zudoku 0.0.0-fix-downgrade-openapi-parser.aac00796 → 0.0.0-fix-firebase-export.2e421fda
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 +91 -1
- package/dist/app/main.js +5 -1
- package/dist/app/main.js.map +1 -1
- package/dist/app/sentry.js +1 -1
- package/dist/config/config.d.ts +15 -46
- package/dist/config/validators/BuildSchema.js +18 -3
- package/dist/config/validators/BuildSchema.js.map +1 -1
- package/dist/config/validators/InputNavigationSchema.d.ts +61 -61
- package/dist/config/validators/NavigationSchema.js +2 -4
- 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 +203 -5
- package/dist/config/validators/validate.js +44 -1
- package/dist/config/validators/validate.js.map +1 -1
- package/dist/config/validators/validate.test.js +43 -0
- package/dist/config/validators/validate.test.js.map +1 -1
- package/dist/flat-config.d.ts +31 -2
- package/dist/lib/auth/issuer.js +3 -0
- package/dist/lib/auth/issuer.js.map +1 -1
- package/dist/lib/authentication/authentication.d.ts +1 -1
- package/dist/lib/authentication/providers/auth0.js +6 -1
- package/dist/lib/authentication/providers/auth0.js.map +1 -1
- package/dist/lib/authentication/providers/firebase.d.ts +4 -0
- package/dist/lib/authentication/providers/firebase.js +215 -0
- package/dist/lib/authentication/providers/firebase.js.map +1 -0
- package/dist/lib/authentication/providers/supabase.js +1 -6
- package/dist/lib/authentication/providers/supabase.js.map +1 -1
- package/dist/lib/authentication/ui/ZudokuAuthUi.d.ts +24 -0
- package/dist/lib/authentication/ui/ZudokuAuthUi.js +124 -0
- package/dist/lib/authentication/ui/ZudokuAuthUi.js.map +1 -0
- package/dist/lib/authentication/ui/icons/Apple.d.ts +3 -0
- package/dist/lib/authentication/ui/icons/Apple.js +4 -0
- package/dist/lib/authentication/ui/icons/Apple.js.map +1 -0
- package/dist/lib/authentication/ui/icons/Facebook.d.ts +3 -0
- package/dist/lib/authentication/ui/icons/Facebook.js +4 -0
- package/dist/lib/authentication/ui/icons/Facebook.js.map +1 -0
- package/dist/lib/authentication/ui/icons/Github.d.ts +3 -0
- package/dist/lib/authentication/ui/icons/Github.js +4 -0
- package/dist/lib/authentication/ui/icons/Github.js.map +1 -0
- package/dist/lib/authentication/ui/icons/Google.d.ts +3 -0
- package/dist/lib/authentication/ui/icons/Google.js +4 -0
- package/dist/lib/authentication/ui/icons/Google.js.map +1 -0
- package/dist/lib/authentication/ui/icons/Microsoft.d.ts +3 -0
- package/dist/lib/authentication/ui/icons/Microsoft.js +4 -0
- package/dist/lib/authentication/ui/icons/Microsoft.js.map +1 -0
- package/dist/lib/authentication/ui/icons/X.d.ts +3 -0
- package/dist/lib/authentication/ui/icons/X.js +4 -0
- package/dist/lib/authentication/ui/icons/X.js.map +1 -0
- package/dist/lib/components/Autocomplete.d.ts +3 -1
- package/dist/lib/components/Autocomplete.js +6 -2
- package/dist/lib/components/Autocomplete.js.map +1 -1
- package/dist/lib/components/Heading.d.ts +1 -1
- package/dist/lib/components/Layout.js +3 -2
- package/dist/lib/components/Layout.js.map +1 -1
- package/dist/lib/components/Mermaid.d.ts +7 -0
- package/dist/lib/components/Mermaid.js +42 -0
- package/dist/lib/components/Mermaid.js.map +1 -0
- package/dist/lib/components/PagefindSearchMeta.d.ts +8 -0
- package/dist/lib/components/PagefindSearchMeta.js +7 -0
- package/dist/lib/components/PagefindSearchMeta.js.map +1 -0
- package/dist/lib/components/Zudoku.js +2 -5
- package/dist/lib/components/Zudoku.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 +7 -7
- package/dist/lib/core/RouteGuard.js.map +1 -1
- package/dist/lib/core/plugins.d.ts +3 -3
- package/dist/lib/errors/ErrorAlert.js +1 -1
- package/dist/lib/errors/RouterError.d.ts +3 -1
- package/dist/lib/errors/RouterError.js +3 -2
- package/dist/lib/errors/RouterError.js.map +1 -1
- package/dist/lib/oas/parser/index.d.ts +1 -0
- package/dist/lib/oas/parser/index.js +7 -3
- package/dist/lib/oas/parser/index.js.map +1 -1
- package/dist/lib/plugins/api-keys/ProtectedRoute.js +4 -1
- package/dist/lib/plugins/api-keys/ProtectedRoute.js.map +1 -1
- package/dist/lib/plugins/openapi/CollapsibleCode.d.ts +1 -0
- package/dist/lib/plugins/openapi/CollapsibleCode.js +2 -1
- package/dist/lib/plugins/openapi/CollapsibleCode.js.map +1 -1
- package/dist/lib/plugins/openapi/DownloadSchemaButton.d.ts +3 -0
- package/dist/lib/plugins/openapi/DownloadSchemaButton.js +47 -0
- package/dist/lib/plugins/openapi/DownloadSchemaButton.js.map +1 -0
- package/dist/lib/plugins/openapi/Endpoint.js +3 -6
- package/dist/lib/plugins/openapi/Endpoint.js.map +1 -1
- package/dist/lib/plugins/openapi/GeneratedExampleSidecarBox.d.ts +5 -0
- package/dist/lib/plugins/openapi/GeneratedExampleSidecarBox.js +10 -0
- package/dist/lib/plugins/openapi/GeneratedExampleSidecarBox.js.map +1 -0
- package/dist/lib/plugins/openapi/OasProvider.js +22 -13
- package/dist/lib/plugins/openapi/OasProvider.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationList.js +16 -6
- package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationListItem.d.ts +2 -1
- package/dist/lib/plugins/openapi/OperationListItem.js +4 -3
- package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/ParameterList.js +7 -4
- package/dist/lib/plugins/openapi/ParameterList.js.map +1 -1
- package/dist/lib/plugins/openapi/ParameterListItem.js +17 -6
- package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
- package/dist/lib/plugins/openapi/RequestBodySidecarBox.d.ts +9 -2
- package/dist/lib/plugins/openapi/RequestBodySidecarBox.js +5 -2
- package/dist/lib/plugins/openapi/RequestBodySidecarBox.js.map +1 -1
- package/dist/lib/plugins/openapi/ResponsesSidecarBox.d.ts +4 -2
- package/dist/lib/plugins/openapi/ResponsesSidecarBox.js +26 -4
- package/dist/lib/plugins/openapi/ResponsesSidecarBox.js.map +1 -1
- package/dist/lib/plugins/openapi/SchemaList.js +2 -1
- package/dist/lib/plugins/openapi/SchemaList.js.map +1 -1
- package/dist/lib/plugins/openapi/Sidecar.d.ts +2 -2
- package/dist/lib/plugins/openapi/Sidecar.js +61 -26
- package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
- package/dist/lib/plugins/openapi/SidecarBox.js +4 -4
- package/dist/lib/plugins/openapi/SidecarBox.js.map +1 -1
- package/dist/lib/plugins/openapi/SidecarExamples.d.ts +9 -2
- package/dist/lib/plugins/openapi/SidecarExamples.js +24 -43
- package/dist/lib/plugins/openapi/SidecarExamples.js.map +1 -1
- package/dist/lib/plugins/openapi/components/ConstValue.js +1 -1
- package/dist/lib/plugins/openapi/components/ConstValue.js.map +1 -1
- package/dist/lib/plugins/openapi/components/EnumValues.js +1 -1
- package/dist/lib/plugins/openapi/components/EnumValues.js.map +1 -1
- package/dist/lib/plugins/openapi/components/NonHighlightedCode.d.ts +4 -0
- package/dist/lib/plugins/openapi/components/NonHighlightedCode.js +5 -0
- package/dist/lib/plugins/openapi/components/NonHighlightedCode.js.map +1 -0
- package/dist/lib/plugins/openapi/components/ResponseContent.js +5 -6
- package/dist/lib/plugins/openapi/components/ResponseContent.js.map +1 -1
- package/dist/lib/plugins/openapi/index.js +11 -5
- package/dist/lib/plugins/openapi/index.js.map +1 -1
- package/dist/lib/plugins/openapi/interfaces.d.ts +29 -13
- package/dist/lib/plugins/openapi/playground/BodyPanel.js +67 -15
- package/dist/lib/plugins/openapi/playground/BodyPanel.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/CollapsibleHeader.js +2 -2
- package/dist/lib/plugins/openapi/playground/CollapsibleHeader.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js +1 -1
- package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/Headers.js +23 -83
- package/dist/lib/plugins/openapi/playground/Headers.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/ParamsGrid.d.ts +10 -2
- package/dist/lib/plugins/openapi/playground/ParamsGrid.js +8 -1
- package/dist/lib/plugins/openapi/playground/ParamsGrid.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/PathParams.js +2 -3
- package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/Playground.d.ts +7 -0
- package/dist/lib/plugins/openapi/playground/Playground.js +58 -26
- package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js +3 -2
- package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/QueryParams.js +16 -40
- package/dist/lib/plugins/openapi/playground/QueryParams.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/request-panel/MultipartField.d.ts +8 -0
- package/dist/lib/plugins/openapi/playground/request-panel/MultipartField.js +19 -0
- package/dist/lib/plugins/openapi/playground/request-panel/MultipartField.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/request-panel/UrlQueryParams.js +1 -1
- package/dist/lib/plugins/openapi/playground/request-panel/UrlQueryParams.js.map +1 -1
- package/dist/lib/plugins/openapi/playground/request-panel/fieldManager/useKeyValueFieldManager.test.d.ts +1 -0
- package/dist/lib/plugins/openapi/playground/request-panel/fieldManager/useKeyValueFieldManager.test.js +540 -0
- package/dist/lib/plugins/openapi/playground/request-panel/fieldManager/useKeyValueFieldManager.test.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/request-panel/useKeyValueFieldManager.d.ts +40 -0
- package/dist/lib/plugins/openapi/playground/request-panel/useKeyValueFieldManager.js +205 -0
- package/dist/lib/plugins/openapi/playground/request-panel/useKeyValueFieldManager.js.map +1 -0
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js +2 -2
- package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.js +1 -1
- package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js +17 -8
- package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/SchemaView.d.ts +1 -1
- package/dist/lib/plugins/openapi/schema/SchemaView.js +31 -16
- package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/UnionView.js +2 -5
- package/dist/lib/plugins/openapi/schema/UnionView.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/union-helpers.js +0 -1
- package/dist/lib/plugins/openapi/schema/union-helpers.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/utils.d.ts +2 -2
- package/dist/lib/plugins/openapi/schema/utils.js.map +1 -1
- package/dist/lib/plugins/openapi/util/generateSchemaExample.js +9 -11
- package/dist/lib/plugins/openapi/util/generateSchemaExample.js.map +1 -1
- package/dist/lib/plugins/openapi/util/getRoutes.d.ts +6 -1
- package/dist/lib/plugins/openapi/util/getRoutes.js +29 -2
- package/dist/lib/plugins/openapi/util/getRoutes.js.map +1 -1
- package/dist/lib/plugins/search-pagefind/IndexingDialog.d.ts +3 -0
- package/dist/lib/plugins/search-pagefind/IndexingDialog.js +64 -0
- package/dist/lib/plugins/search-pagefind/IndexingDialog.js.map +1 -0
- package/dist/lib/plugins/search-pagefind/PagefindSearch.js +22 -5
- package/dist/lib/plugins/search-pagefind/PagefindSearch.js.map +1 -1
- package/dist/lib/plugins/search-pagefind/ResultList.js +5 -4
- package/dist/lib/plugins/search-pagefind/ResultList.js.map +1 -1
- package/dist/lib/shiki.d.ts +1 -1
- package/dist/lib/shiki.js +18 -12
- package/dist/lib/shiki.js.map +1 -1
- package/dist/lib/ui/Badge.d.ts +3 -3
- package/dist/lib/ui/Badge.js +9 -7
- package/dist/lib/ui/Badge.js.map +1 -1
- package/dist/lib/ui/Button.d.ts +2 -2
- package/dist/lib/ui/Button.js +9 -7
- package/dist/lib/ui/Button.js.map +1 -1
- package/dist/lib/ui/ButtonGroup.d.ts +11 -0
- package/dist/lib/ui/ButtonGroup.js +28 -0
- package/dist/lib/ui/ButtonGroup.js.map +1 -0
- package/dist/lib/ui/Checkbox.d.ts +2 -2
- package/dist/lib/ui/Checkbox.js +4 -4
- package/dist/lib/ui/Checkbox.js.map +1 -1
- package/dist/lib/ui/CodeBlock.d.ts +0 -1
- package/dist/lib/ui/CodeBlock.js +1 -1
- package/dist/lib/ui/CodeBlock.js.map +1 -1
- package/dist/lib/ui/Collapsible.d.ts +4 -4
- package/dist/lib/ui/Collapsible.js +11 -4
- package/dist/lib/ui/Collapsible.js.map +1 -1
- package/dist/lib/ui/Command.d.ts +3 -3
- package/dist/lib/ui/Command.js +2 -2
- package/dist/lib/ui/Command.js.map +1 -1
- package/dist/lib/ui/DropdownMenu.d.ts +21 -23
- package/dist/lib/ui/DropdownMenu.js +47 -32
- package/dist/lib/ui/DropdownMenu.js.map +1 -1
- package/dist/lib/ui/EmbeddedCodeBlock.d.ts +0 -1
- package/dist/lib/ui/EmbeddedCodeBlock.js +3 -2
- package/dist/lib/ui/EmbeddedCodeBlock.js.map +1 -1
- package/dist/lib/ui/Frame.d.ts +8 -0
- package/dist/lib/ui/Frame.js +22 -0
- package/dist/lib/ui/Frame.js.map +1 -0
- package/dist/lib/ui/Item.d.ts +23 -0
- package/dist/lib/ui/Item.js +67 -0
- package/dist/lib/ui/Item.js.map +1 -0
- package/dist/lib/ui/Kbd.d.ts +3 -0
- package/dist/lib/ui/Kbd.js +10 -0
- package/dist/lib/ui/Kbd.js.map +1 -0
- package/dist/lib/ui/NativeSelect.d.ts +5 -0
- package/dist/lib/ui/NativeSelect.js +14 -0
- package/dist/lib/ui/NativeSelect.js.map +1 -0
- package/dist/lib/ui/Select.d.ts +13 -11
- package/dist/lib/ui/Select.js +34 -23
- package/dist/lib/ui/Select.js.map +1 -1
- package/dist/lib/ui/Separator.d.ts +4 -0
- package/dist/lib/ui/Separator.js +8 -0
- package/dist/lib/ui/Separator.js.map +1 -0
- package/dist/lib/ui/Tooltip.d.ts +7 -7
- package/dist/lib/ui/Tooltip.js +16 -10
- package/dist/lib/ui/Tooltip.js.map +1 -1
- package/dist/lib/util/MdxComponents.d.ts +1 -0
- package/dist/lib/util/MdxComponents.js +2 -0
- package/dist/lib/util/MdxComponents.js.map +1 -1
- package/dist/lib/util/createVariantComponent.d.ts +5 -2
- package/dist/lib/util/createVariantComponent.js +5 -2
- package/dist/lib/util/createVariantComponent.js.map +1 -1
- package/dist/lib/util/flattenAllOf.d.ts +4 -0
- package/dist/lib/util/flattenAllOf.js +88 -0
- package/dist/lib/util/flattenAllOf.js.map +1 -0
- package/dist/lib/util/flattenAllOf.test.d.ts +1 -0
- package/dist/lib/util/flattenAllOf.test.js +587 -0
- package/dist/lib/util/flattenAllOf.test.js.map +1 -0
- package/dist/lib/util/readFrontmatter.d.ts +6 -0
- package/dist/lib/util/readFrontmatter.js +12 -0
- package/dist/lib/util/readFrontmatter.js.map +1 -0
- package/dist/vite/api/SchemaManager.d.ts +5 -0
- package/dist/vite/api/SchemaManager.js +30 -18
- package/dist/vite/api/SchemaManager.js.map +1 -1
- package/dist/vite/api/SchemaManager.test.js +67 -0
- package/dist/vite/api/SchemaManager.test.js.map +1 -1
- package/dist/vite/config.js +8 -2
- package/dist/vite/config.js.map +1 -1
- package/dist/vite/dev-server.js +25 -0
- package/dist/vite/dev-server.js.map +1 -1
- package/dist/vite/mdx/remark-last-modified.js +57 -3
- package/dist/vite/mdx/remark-last-modified.js.map +1 -1
- package/dist/vite/pagefind-dev-index.d.ts +16 -0
- package/dist/vite/pagefind-dev-index.js +68 -0
- package/dist/vite/pagefind-dev-index.js.map +1 -0
- package/dist/vite/plugin-api.js +41 -3
- package/dist/vite/plugin-api.js.map +1 -1
- package/dist/vite/plugin-frontmatter.js +3 -5
- package/dist/vite/plugin-frontmatter.js.map +1 -1
- package/dist/vite/plugin-markdown-export.js +3 -4
- package/dist/vite/plugin-markdown-export.js.map +1 -1
- package/dist/vite/plugin-theme.js +10 -1
- package/dist/vite/plugin-theme.js.map +1 -1
- package/dist/vite/prerender/prerender.js +1 -19
- package/dist/vite/prerender/prerender.js.map +1 -1
- package/dist/vite/prerender/utils.d.ts +2 -0
- package/dist/vite/prerender/utils.js +24 -0
- package/dist/vite/prerender/utils.js.map +1 -0
- package/lib/ActionButton-DUgvSylL.js +25 -0
- package/lib/ActionButton-DUgvSylL.js.map +1 -0
- package/lib/Button-CynVW1JV.js +53 -0
- package/lib/Button-CynVW1JV.js.map +1 -0
- package/lib/ClaudeLogo-B4Xxt-x_.js +69 -0
- package/lib/ClaudeLogo-B4Xxt-x_.js.map +1 -0
- package/lib/{Command-CUcrW3qs.js → Command-BpT1iBE6.js} +25 -25
- package/lib/Command-BpT1iBE6.js.map +1 -0
- package/lib/Drawer-Ci7XwhqT.js.map +1 -1
- package/lib/DropdownMenu-C8SX_-S_.js +104 -0
- package/lib/DropdownMenu-C8SX_-S_.js.map +1 -0
- package/lib/{ErrorAlert-DE3Sf66a.js → ErrorAlert-DrOR8w3f.js} +475 -456
- package/lib/ErrorAlert-DrOR8w3f.js.map +1 -0
- package/lib/IndexingDialog-B5zCiUKr.js +100 -0
- package/lib/IndexingDialog-B5zCiUKr.js.map +1 -0
- package/lib/MdxPage-BagO2c-n.js +210 -0
- package/lib/MdxPage-BagO2c-n.js.map +1 -0
- package/lib/Mermaid-D_VSX7_Q.js +102 -0
- package/lib/Mermaid-D_VSX7_Q.js.map +1 -0
- package/lib/{OAuthErrorPage-BycMozgn.js → OAuthErrorPage-Fq54RLgt.js} +7 -7
- package/lib/{OAuthErrorPage-BycMozgn.js.map → OAuthErrorPage-Fq54RLgt.js.map} +1 -1
- package/lib/OasProvider-DPH8mwDa.js +40 -0
- package/lib/OasProvider-DPH8mwDa.js.map +1 -0
- package/lib/OperationList-C0jiEaG5.js +5805 -0
- package/lib/OperationList-C0jiEaG5.js.map +1 -0
- package/lib/RouteGuard-9wjejsKm.js +77 -0
- package/lib/RouteGuard-9wjejsKm.js.map +1 -0
- package/lib/RouterError-DSLXagd5.js +42 -0
- package/lib/RouterError-DSLXagd5.js.map +1 -0
- package/lib/{SchemaList-xZSf3IMh.js → SchemaList-BU0zCHn9.js} +28 -27
- package/lib/SchemaList-BU0zCHn9.js.map +1 -0
- package/lib/SchemaView-DVae4RO2.js +597 -0
- package/lib/SchemaView-DVae4RO2.js.map +1 -0
- package/lib/Select-CkxXP5I7.js +243 -0
- package/lib/Select-CkxXP5I7.js.map +1 -0
- package/lib/Separator-CTPSeW1S.js +27 -0
- package/lib/Separator-CTPSeW1S.js.map +1 -0
- package/lib/{SignUp-6SGx9Yyq.js → SignUp-BjS4ozA7.js} +13 -13
- package/lib/{SignUp-6SGx9Yyq.js.map → SignUp-BjS4ozA7.js.map} +1 -1
- package/lib/{SyntaxHighlight-zvlnSnHB.js → SyntaxHighlight-Kdyskw3C.js} +710 -662
- package/lib/{SyntaxHighlight-zvlnSnHB.js.map → SyntaxHighlight-Kdyskw3C.js.map} +1 -1
- package/lib/{Toc-Da9yp7lo.js → Toc-DJxFPfcS.js} +2 -2
- package/lib/{Toc-Da9yp7lo.js.map → Toc-DJxFPfcS.js.map} +1 -1
- package/lib/{ZudokuContext-BUZ5hkWB.js → ZudokuContext-BXldanA8.js} +11 -11
- package/lib/{ZudokuContext-BUZ5hkWB.js.map → ZudokuContext-BXldanA8.js.map} +1 -1
- package/lib/___vite-browser-external_commonjs-proxy-Cga3HsWk.js +9 -0
- package/lib/___vite-browser-external_commonjs-proxy-Cga3HsWk.js.map +1 -0
- package/lib/{chunk-PVWAREVJ-BMhpCH5D.js → chunk-PVWAREVJ-dLIqswPy.js} +5 -5
- package/lib/{chunk-PVWAREVJ-BMhpCH5D.js.map → chunk-PVWAREVJ-dLIqswPy.js.map} +1 -1
- package/lib/{circular-DvuimBGQ.js → circular-CzWF1hj5.js} +6360 -5953
- package/lib/circular-CzWF1hj5.js.map +1 -0
- package/lib/createServer-BIr2_tGn.js +16693 -0
- package/lib/createServer-BIr2_tGn.js.map +1 -0
- package/lib/createVariantComponent-B9_dVBvu.js +35 -0
- package/lib/createVariantComponent-B9_dVBvu.js.map +1 -0
- package/lib/{errors-CuGgh3hf.js → errors-Bs4duWDy.js} +3 -3
- package/lib/{errors-CuGgh3hf.js.map → errors-Bs4duWDy.js.map} +1 -1
- package/lib/firebase-Cax7HPzn.js +7360 -0
- package/lib/firebase-Cax7HPzn.js.map +1 -0
- package/lib/{hook-CMeoxziF.js → hook-BNxidGQq.js} +3 -3
- package/lib/{hook-CMeoxziF.js.map → hook-BNxidGQq.js.map} +1 -1
- package/lib/index-0oT9beQN.js +3676 -0
- package/lib/index-0oT9beQN.js.map +1 -0
- package/lib/{index-rYHsvtTo.js → index-Bh-MffiL.js} +2 -2
- package/lib/{index-rYHsvtTo.js.map → index-Bh-MffiL.js.map} +1 -1
- package/lib/{index-B1rmok4X.js → index-CCmMJp02.js} +10 -10
- package/lib/{index-B1rmok4X.js.map → index-CCmMJp02.js.map} +1 -1
- package/lib/index-CrcNWbel.js.map +1 -1
- package/lib/index-Css56y3F.js +133 -0
- package/lib/index-Css56y3F.js.map +1 -0
- package/lib/index.esm-DDENMN4y.js +32 -0
- package/lib/index.esm-DDENMN4y.js.map +1 -0
- package/lib/{index.esm-BnYHxCYC.js → index.esm-DtzT_KoE.js} +20 -20
- package/lib/{index.esm-BnYHxCYC.js.map → index.esm-DtzT_KoE.js.map} +1 -1
- package/lib/{invariant-Bm-FVUQE.js → invariant-CGOLuIIz.js} +3 -3
- package/lib/{invariant-Bm-FVUQE.js.map → invariant-CGOLuIIz.js.map} +1 -1
- package/lib/{mutation-BSU0xu4m.js → mutation-BoVlx8yA.js} +2 -2
- package/lib/{mutation-BSU0xu4m.js.map → mutation-BoVlx8yA.js.map} +1 -1
- package/lib/ui/ActionButton.js +1 -1
- package/lib/ui/Badge.js +27 -13
- package/lib/ui/Badge.js.map +1 -1
- package/lib/ui/Button.js +26 -24
- package/lib/ui/Button.js.map +1 -1
- package/lib/ui/ButtonGroup.js +77 -0
- package/lib/ui/ButtonGroup.js.map +1 -0
- package/lib/ui/Checkbox.js +29 -26
- package/lib/ui/Checkbox.js.map +1 -1
- package/lib/ui/CodeBlock.js +7 -7
- package/lib/ui/CodeBlock.js.map +1 -1
- package/lib/ui/Collapsible.js +32 -5
- package/lib/ui/Collapsible.js.map +1 -1
- package/lib/ui/Command.js +3 -3
- package/lib/ui/Command.js.map +1 -1
- package/lib/ui/DropdownMenu.js +227 -140
- package/lib/ui/DropdownMenu.js.map +1 -1
- package/lib/ui/EmbeddedCodeBlock.js +26 -25
- package/lib/ui/EmbeddedCodeBlock.js.map +1 -1
- package/lib/ui/Frame.js +81 -0
- package/lib/ui/Frame.js.map +1 -0
- package/lib/ui/Item.js +188 -0
- package/lib/ui/Item.js.map +1 -0
- package/lib/ui/Kbd.js +32 -0
- package/lib/ui/Kbd.js.map +1 -0
- package/lib/ui/NativeSelect.js +57 -0
- package/lib/ui/NativeSelect.js.map +1 -0
- package/lib/ui/Select.js +166 -116
- package/lib/ui/Select.js.map +1 -1
- package/lib/ui/Separator.js +27 -0
- package/lib/ui/Separator.js.map +1 -0
- package/lib/ui/SyntaxHighlight.js +3 -3
- package/lib/ui/Tabs.js +10 -10
- package/lib/ui/Tooltip.js +55 -28
- package/lib/ui/Tooltip.js.map +1 -1
- package/lib/useMutation-C6RqWmTS.js +97 -0
- package/lib/useMutation-C6RqWmTS.js.map +1 -0
- package/lib/zudoku.__internal.js +349 -349
- package/lib/zudoku.__internal.js.map +1 -1
- package/lib/zudoku.auth-auth0.js +7 -7
- package/lib/zudoku.auth-auth0.js.map +1 -1
- package/lib/zudoku.auth-azureb2c.js +4 -4
- package/lib/zudoku.auth-clerk.js +2 -2
- package/lib/zudoku.auth-firebase.js +9 -0
- package/lib/zudoku.auth-firebase.js.map +1 -0
- package/lib/zudoku.auth-openid.js +5 -5
- package/lib/zudoku.auth-supabase.js +31 -34
- package/lib/zudoku.auth-supabase.js.map +1 -1
- package/lib/zudoku.components.js +7 -7
- package/lib/zudoku.hooks.js +11 -24
- package/lib/zudoku.hooks.js.map +1 -1
- package/lib/zudoku.mermaid.js +10 -0
- package/lib/zudoku.mermaid.js.map +1 -0
- package/lib/zudoku.plugin-api-catalog.js +6 -6
- package/lib/zudoku.plugin-api-keys.js +225 -216
- 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 +184 -226
- package/lib/zudoku.plugin-search-pagefind.js.map +1 -1
- package/lib/zudoku.plugins.js.map +1 -1
- package/lib/zudoku.router.js +2 -2
- package/package.json +44 -27
- package/src/app/main.css +1 -1
- package/src/app/main.tsx +5 -1
- package/src/app/sentry.ts +1 -1
- package/src/lib/auth/issuer.ts +3 -0
- package/src/lib/authentication/authentication.ts +1 -1
- package/src/lib/authentication/providers/auth0.tsx +6 -1
- package/src/lib/authentication/providers/firebase.tsx +284 -0
- package/src/lib/authentication/providers/supabase.tsx +2 -7
- package/src/lib/authentication/ui/ZudokuAuthUi.tsx +335 -0
- package/src/lib/authentication/ui/icons/Apple.tsx +10 -0
- package/src/lib/authentication/ui/icons/Facebook.tsx +15 -0
- package/src/lib/authentication/ui/icons/Github.tsx +16 -0
- package/src/lib/authentication/ui/icons/Google.tsx +16 -0
- package/src/lib/authentication/ui/icons/Microsoft.tsx +12 -0
- package/src/lib/authentication/ui/icons/X.tsx +10 -0
- package/src/lib/components/Autocomplete.tsx +11 -2
- package/src/lib/components/Layout.tsx +3 -2
- package/src/lib/components/Mermaid.tsx +68 -0
- package/src/lib/components/PagefindSearchMeta.tsx +14 -0
- package/src/lib/components/Zudoku.tsx +4 -7
- package/src/lib/components/navigation/NavigationItem.tsx +7 -20
- package/src/lib/core/RouteGuard.tsx +9 -9
- package/src/lib/core/plugins.ts +2 -2
- package/src/lib/errors/ErrorAlert.tsx +1 -1
- package/src/lib/errors/RouterError.tsx +7 -2
- package/src/lib/oas/parser/index.ts +10 -3
- package/src/lib/plugins/api-keys/ProtectedRoute.tsx +11 -7
- package/src/lib/plugins/openapi/CollapsibleCode.tsx +5 -3
- package/src/lib/plugins/openapi/DownloadSchemaButton.tsx +115 -0
- package/src/lib/plugins/openapi/Endpoint.tsx +20 -27
- package/src/lib/plugins/openapi/GeneratedExampleSidecarBox.tsx +52 -0
- package/src/lib/plugins/openapi/OasProvider.tsx +30 -17
- package/src/lib/plugins/openapi/OperationList.tsx +46 -21
- package/src/lib/plugins/openapi/OperationListItem.tsx +15 -12
- package/src/lib/plugins/openapi/ParameterList.tsx +37 -23
- package/src/lib/plugins/openapi/ParameterListItem.tsx +105 -54
- package/src/lib/plugins/openapi/RequestBodySidecarBox.tsx +48 -7
- package/src/lib/plugins/openapi/ResponsesSidecarBox.tsx +101 -33
- package/src/lib/plugins/openapi/SchemaList.tsx +4 -0
- package/src/lib/plugins/openapi/Sidecar.tsx +145 -65
- package/src/lib/plugins/openapi/SidecarBox.tsx +26 -4
- package/src/lib/plugins/openapi/SidecarExamples.tsx +91 -79
- package/src/lib/plugins/openapi/components/ConstValue.tsx +1 -1
- package/src/lib/plugins/openapi/components/EnumValues.tsx +2 -2
- package/src/lib/plugins/openapi/components/NonHighlightedCode.tsx +22 -0
- package/src/lib/plugins/openapi/components/ResponseContent.tsx +63 -53
- package/src/lib/plugins/openapi/index.tsx +16 -7
- package/src/lib/plugins/openapi/interfaces.ts +28 -7
- package/src/lib/plugins/openapi/playground/BodyPanel.tsx +246 -30
- package/src/lib/plugins/openapi/playground/CollapsibleHeader.tsx +10 -6
- package/src/lib/plugins/openapi/playground/ExamplesDropdown.tsx +3 -2
- package/src/lib/plugins/openapi/playground/Headers.tsx +103 -219
- package/src/lib/plugins/openapi/playground/ParamsGrid.tsx +33 -1
- package/src/lib/plugins/openapi/playground/PathParams.tsx +26 -34
- package/src/lib/plugins/openapi/playground/Playground.tsx +75 -33
- package/src/lib/plugins/openapi/playground/PlaygroundDialog.tsx +9 -30
- package/src/lib/plugins/openapi/playground/QueryParams.tsx +82 -136
- package/src/lib/plugins/openapi/playground/request-panel/MultipartField.tsx +91 -0
- package/src/lib/plugins/openapi/playground/request-panel/UrlQueryParams.tsx +1 -1
- package/src/lib/plugins/openapi/playground/request-panel/fieldManager/useKeyValueFieldManager.test.tsx +872 -0
- package/src/lib/plugins/openapi/playground/request-panel/useKeyValueFieldManager.ts +349 -0
- package/src/lib/plugins/openapi/playground/result-panel/ResponseTab.tsx +2 -6
- package/src/lib/plugins/openapi/schema/SchemaExampleAndDefault.tsx +1 -1
- package/src/lib/plugins/openapi/schema/SchemaPropertyItem.tsx +89 -55
- package/src/lib/plugins/openapi/schema/SchemaView.tsx +98 -60
- package/src/lib/plugins/openapi/schema/UnionView.tsx +6 -17
- package/src/lib/plugins/openapi/schema/union-helpers.ts +0 -1
- package/src/lib/plugins/openapi/schema/utils.ts +5 -2
- package/src/lib/plugins/openapi/util/generateSchemaExample.ts +11 -11
- package/src/lib/plugins/openapi/util/getRoutes.tsx +35 -3
- package/src/lib/plugins/search-pagefind/IndexingDialog.tsx +163 -0
- package/src/lib/plugins/search-pagefind/PagefindSearch.tsx +61 -22
- package/src/lib/plugins/search-pagefind/ResultList.tsx +8 -3
- package/src/lib/shiki.ts +21 -12
- package/src/lib/ui/Badge.tsx +21 -12
- package/src/lib/ui/Button.tsx +10 -9
- package/src/lib/ui/ButtonGroup.tsx +82 -0
- package/src/lib/ui/Checkbox.tsx +23 -24
- package/src/lib/ui/CodeBlock.tsx +3 -4
- package/src/lib/ui/Collapsible.tsx +26 -4
- package/src/lib/ui/Command.tsx +3 -3
- package/src/lib/ui/DropdownMenu.tsx +226 -170
- package/src/lib/ui/EmbeddedCodeBlock.tsx +21 -19
- package/src/lib/ui/Frame.tsx +81 -0
- package/src/lib/ui/Item.tsx +192 -0
- package/src/lib/ui/Kbd.tsx +28 -0
- package/src/lib/ui/NativeSelect.tsx +47 -0
- package/src/lib/ui/Select.tsx +153 -126
- package/src/lib/ui/Separator.tsx +25 -0
- package/src/lib/ui/Tooltip.tsx +54 -32
- package/src/lib/util/MdxComponents.tsx +2 -0
- package/src/lib/util/createVariantComponent.tsx +31 -5
- package/src/lib/util/flattenAllOf.test.ts +689 -0
- package/src/lib/util/flattenAllOf.ts +122 -0
- package/src/lib/util/readFrontmatter.ts +13 -0
- package/src/shiki/langs/markdown-nix.js +1 -0
- package/src/shiki/langs/openscad.js +1 -0
- package/dist/lib/plugins/openapi/playground/InlineInput.d.ts +0 -4
- package/dist/lib/plugins/openapi/playground/InlineInput.js +0 -3
- package/dist/lib/plugins/openapi/playground/InlineInput.js.map +0 -1
- package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupConnector.d.ts +0 -5
- package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupConnector.js +0 -7
- package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupConnector.js.map +0 -1
- package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupItem.d.ts +0 -4
- package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupItem.js +0 -10
- package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupItem.js.map +0 -1
- package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupView.d.ts +0 -5
- package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupView.js +0 -16
- package/dist/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupView.js.map +0 -1
- package/dist/vite/create-pagefind-index.d.ts +0 -4
- package/dist/vite/create-pagefind-index.js +0 -12
- package/dist/vite/create-pagefind-index.js.map +0 -1
- package/lib/Button-DmS4u8Lj.js +0 -51
- package/lib/Button-DmS4u8Lj.js.map +0 -1
- package/lib/Command-CUcrW3qs.js.map +0 -1
- package/lib/DropdownMenu-BZ2NKQ3K.js +0 -126
- package/lib/DropdownMenu-BZ2NKQ3K.js.map +0 -1
- package/lib/ErrorAlert-DE3Sf66a.js.map +0 -1
- package/lib/MdxPage-DZfeC0QY.js +0 -240
- package/lib/MdxPage-DZfeC0QY.js.map +0 -1
- package/lib/OasProvider-Bf5zBDBY.js +0 -36
- package/lib/OasProvider-Bf5zBDBY.js.map +0 -1
- package/lib/OperationList-Cmiw1xm2.js +0 -5446
- package/lib/OperationList-Cmiw1xm2.js.map +0 -1
- package/lib/Pagination-CJszmeSA.js +0 -37
- package/lib/Pagination-CJszmeSA.js.map +0 -1
- package/lib/RouteGuard-DhU3LRr1.js +0 -81
- package/lib/RouteGuard-DhU3LRr1.js.map +0 -1
- package/lib/RouterError-VDLnrFqF.js +0 -41
- package/lib/RouterError-VDLnrFqF.js.map +0 -1
- package/lib/SchemaList-xZSf3IMh.js.map +0 -1
- package/lib/SchemaView-tHXTm5oM.js +0 -458
- package/lib/SchemaView-tHXTm5oM.js.map +0 -1
- package/lib/Select-C1DeCqKv.js +0 -372
- package/lib/Select-C1DeCqKv.js.map +0 -1
- package/lib/circular-DvuimBGQ.js.map +0 -1
- package/lib/createServer-D9UvCoDf.js +0 -12559
- package/lib/createServer-D9UvCoDf.js.map +0 -1
- package/lib/index-Cr9_YzOZ.js +0 -3364
- package/lib/index-Cr9_YzOZ.js.map +0 -1
- package/lib/useExposedProps-U3pmsHaG.js +0 -113
- package/lib/useExposedProps-U3pmsHaG.js.map +0 -1
- package/src/lib/plugins/openapi/playground/InlineInput.tsx +0 -6
- package/src/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupConnector.tsx +0 -36
- package/src/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupItem.tsx +0 -25
- package/src/lib/plugins/openapi/schema/AllOfGroup/AllOfGroupView.tsx +0 -42
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { g as Us, i as vs, Z as Qr } from "./invariant-Bm-FVUQE.js";
|
|
1
|
+
import { createContext as si, use as oi, useRef as Je, useEffect as et, useCallback as li, useState as sn, useMemo as Ft, memo as cr, Fragment as Es, useId as Ts, useLayoutEffect as gs } from "react";
|
|
2
|
+
import { j as y } from "./jsx-runtime-BzflLqGi.js";
|
|
3
|
+
import { d as bs } from "./index-Css56y3F.js";
|
|
4
|
+
import { P as As, T as en, j as Xn, a as fr, o as _s, U as Cs, V as Is } from "./ZudokuContext-BXldanA8.js";
|
|
5
|
+
import { s as tn, p as qe, a as hr, v as Tn, b as xs, V as Ss, u as Ns, t as ks, c as jr, d as Vr, o as Me, z as ci, e as Os, f as ys, h as Ls, g as fi, i as Rs, j as Wr, E as Ds, S as Ps, H as ws, k as Ms, l as Bs } from "./SyntaxHighlight-Kdyskw3C.js";
|
|
6
|
+
import { a as Fs, i as Hs, Z as Qr } from "./invariant-CGOLuIIz.js";
|
|
8
7
|
import { CodeBlock as hi } from "./ui/CodeBlock.js";
|
|
9
|
-
import { EmbeddedCodeBlock as
|
|
8
|
+
import { EmbeddedCodeBlock as Us } from "./ui/EmbeddedCodeBlock.js";
|
|
10
9
|
import { Callout as Ue } from "./ui/Callout.js";
|
|
11
|
-
import {
|
|
12
|
-
import { ChevronRightIcon as
|
|
13
|
-
import * as
|
|
14
|
-
import {
|
|
15
|
-
import { u as
|
|
10
|
+
import { a as gn, e as vs, ac as dr, aZ as zs } from "./chunk-PVWAREVJ-dLIqswPy.js";
|
|
11
|
+
import { ChevronRightIcon as Ys, ExternalLinkIcon as qs, LinkIcon as js } from "lucide-react";
|
|
12
|
+
import * as ft from "@radix-ui/react-tooltip";
|
|
13
|
+
import { cn as Vs } from "./ui/util.js";
|
|
14
|
+
import { u as Ws } from "./hook-BNxidGQq.js";
|
|
15
|
+
import { c as Te } from "./cn-dYga0KKN.js";
|
|
16
16
|
import * as yn from "@radix-ui/react-collapsible";
|
|
17
|
-
import { B as
|
|
17
|
+
import { B as Qs } from "./Button-CynVW1JV.js";
|
|
18
18
|
import { c as di } from "./index-DI5SPFK9.js";
|
|
19
|
-
import { Slot as
|
|
19
|
+
import { Slot as Gs } from "@radix-ui/react-slot";
|
|
20
|
+
import { M as Xs } from "./Mermaid-D_VSX7_Q.js";
|
|
20
21
|
import { Button as Ks } from "./ui/Button.js";
|
|
21
22
|
import { Stepper as $s } from "./ui/Stepper.js";
|
|
22
23
|
const Ln = {
|
|
@@ -67,7 +68,7 @@ function Gr(e, t, n) {
|
|
|
67
68
|
function Zs(e) {
|
|
68
69
|
return !!(e && typeof e == "object");
|
|
69
70
|
}
|
|
70
|
-
const Xr = typeof document < "u"
|
|
71
|
+
const Xr = typeof document < "u" ? document.createElement("i") : null;
|
|
71
72
|
function pr(e) {
|
|
72
73
|
const t = "&" + e + ";";
|
|
73
74
|
Xr.innerHTML = t;
|
|
@@ -131,10 +132,10 @@ function pi(e, t) {
|
|
|
131
132
|
n > 1114111 ? "�" : String.fromCodePoint(n)
|
|
132
133
|
);
|
|
133
134
|
}
|
|
134
|
-
function
|
|
135
|
+
function ht(e) {
|
|
135
136
|
return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
|
|
136
137
|
}
|
|
137
|
-
const
|
|
138
|
+
const he = je(/[A-Za-z]/), ce = je(/[\dA-Za-z]/), ro = je(/[#-'*+\--9=?A-Z^-~]/);
|
|
138
139
|
function on(e) {
|
|
139
140
|
return (
|
|
140
141
|
// Special whitespace codes (which have negative values), C0 and Control
|
|
@@ -292,12 +293,12 @@ function lo(e) {
|
|
|
292
293
|
}
|
|
293
294
|
function C(D) {
|
|
294
295
|
if (D === null) {
|
|
295
|
-
|
|
296
|
+
L(e.exit("chunkFlow"), !0), x(0), e.consume(D);
|
|
296
297
|
return;
|
|
297
298
|
}
|
|
298
|
-
return H(D) ? (e.consume(D),
|
|
299
|
+
return H(D) ? (e.consume(D), L(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, o) : (e.consume(D), C);
|
|
299
300
|
}
|
|
300
|
-
function
|
|
301
|
+
function L(D, z) {
|
|
301
302
|
const Y = t.sliceStream(D);
|
|
302
303
|
if (z && Y.push(null), D.previous = a, a && (a.next = D), a = D, u.defineSkip(D.start), u.write(Y), t.parser.lazy[D.start.line]) {
|
|
303
304
|
let k = u.events.length;
|
|
@@ -349,7 +350,7 @@ function co(e, t, n) {
|
|
|
349
350
|
this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4
|
|
350
351
|
);
|
|
351
352
|
}
|
|
352
|
-
function
|
|
353
|
+
function mt(e) {
|
|
353
354
|
if (e === null || J(e) || tt(e))
|
|
354
355
|
return 1;
|
|
355
356
|
if (bn(e))
|
|
@@ -428,7 +429,7 @@ function fo(e, t) {
|
|
|
428
429
|
return e;
|
|
429
430
|
}
|
|
430
431
|
function ho(e, t) {
|
|
431
|
-
const n = this.parser.constructs.attentionMarkers.null, r = this.previous, u =
|
|
432
|
+
const n = this.parser.constructs.attentionMarkers.null, r = this.previous, u = mt(r);
|
|
432
433
|
let a;
|
|
433
434
|
return i;
|
|
434
435
|
function i(l) {
|
|
@@ -437,7 +438,7 @@ function ho(e, t) {
|
|
|
437
438
|
function o(l) {
|
|
438
439
|
if (l === a)
|
|
439
440
|
return e.consume(l), o;
|
|
440
|
-
const c = e.exit("attentionSequence"), h =
|
|
441
|
+
const c = e.exit("attentionSequence"), h = mt(l), f = !h || h === 2 && u || n.includes(l), p = !u || u === 2 && h || n.includes(r);
|
|
441
442
|
return c._open = !!(a === 42 ? f : f && (u || !p)), c._close = !!(a === 42 ? p : p && (h || !f)), t(l);
|
|
442
443
|
}
|
|
443
444
|
}
|
|
@@ -455,7 +456,7 @@ function po(e, t, n) {
|
|
|
455
456
|
return e.enter("autolink"), e.enter("autolinkMarker"), e.consume(d), e.exit("autolinkMarker"), e.enter("autolinkProtocol"), a;
|
|
456
457
|
}
|
|
457
458
|
function a(d) {
|
|
458
|
-
return
|
|
459
|
+
return he(d) ? (e.consume(d), i) : c(d);
|
|
459
460
|
}
|
|
460
461
|
function i(d) {
|
|
461
462
|
return d === 43 || d === 45 || d === 46 || ce(d) ? (r = 1, o(d)) : c(d);
|
|
@@ -618,9 +619,9 @@ function Co(e, t, n) {
|
|
|
618
619
|
return k === null || H(k) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), f(k)) : k === 96 && k === o ? n(k) : (e.consume(k), A);
|
|
619
620
|
}
|
|
620
621
|
function C(k) {
|
|
621
|
-
return e.attempt(u, z,
|
|
622
|
+
return e.attempt(u, z, L)(k);
|
|
622
623
|
}
|
|
623
|
-
function
|
|
624
|
+
function L(k) {
|
|
624
625
|
return e.enter("lineEnding"), e.consume(k), e.exit("lineEnding"), x;
|
|
625
626
|
}
|
|
626
627
|
function x(k) {
|
|
@@ -778,7 +779,7 @@ function Ro(e, t) {
|
|
|
778
779
|
let u = t - 1;
|
|
779
780
|
const a = [], i = n._tokenizer || r.parser[n.contentType](n.start), o = i.events, l = [], c = {};
|
|
780
781
|
let h, f, p = -1, d = n, A = 0, C = 0;
|
|
781
|
-
const
|
|
782
|
+
const L = [C];
|
|
782
783
|
for (; d; ) {
|
|
783
784
|
for (; e[++u][1] !== d; )
|
|
784
785
|
;
|
|
@@ -786,9 +787,9 @@ function Ro(e, t) {
|
|
|
786
787
|
}
|
|
787
788
|
for (d = n; ++p < o.length; )
|
|
788
789
|
// Find a void token that includes a break.
|
|
789
|
-
o[p][0] === "exit" && o[p - 1][0] === "enter" && o[p][1].type === o[p - 1][1].type && o[p][1].start.line !== o[p][1].end.line && (C = p + 1,
|
|
790
|
-
for (i.events = [], d ? (d._tokenizer = void 0, d.previous = void 0) :
|
|
791
|
-
const x = o.slice(
|
|
790
|
+
o[p][0] === "exit" && o[p - 1][0] === "enter" && o[p][1].type === o[p - 1][1].type && o[p][1].start.line !== o[p][1].end.line && (C = p + 1, L.push(C), d._tokenizer = void 0, d.previous = void 0, d = d.next);
|
|
791
|
+
for (i.events = [], d ? (d._tokenizer = void 0, d.previous = void 0) : L.pop(), p = L.length; p--; ) {
|
|
792
|
+
const x = o.slice(L[p], L[p + 1]), w = a.pop();
|
|
792
793
|
l.unshift([w, w + x.length - 1]), Oe(e, w, 2, x);
|
|
793
794
|
}
|
|
794
795
|
for (p = -1; ++p < l.length; )
|
|
@@ -864,9 +865,9 @@ function Ai(e, t, n, r, u, a, i, o, l) {
|
|
|
864
865
|
return x === 60 || x === 62 || x === 92 ? (e.consume(x), d) : d(x);
|
|
865
866
|
}
|
|
866
867
|
function C(x) {
|
|
867
|
-
return !h && (x === null || x === 41 || J(x)) ? (e.exit("chunkString"), e.exit(o), e.exit(i), e.exit(r), t(x)) : h < c && x === 40 ? (e.consume(x), h++, C) : x === 41 ? (e.consume(x), h--, C) : x === null || x === 32 || x === 40 || on(x) ? n(x) : (e.consume(x), x === 92 ?
|
|
868
|
+
return !h && (x === null || x === 41 || J(x)) ? (e.exit("chunkString"), e.exit(o), e.exit(i), e.exit(r), t(x)) : h < c && x === 40 ? (e.consume(x), h++, C) : x === 41 ? (e.consume(x), h--, C) : x === null || x === 32 || x === 40 || on(x) ? n(x) : (e.consume(x), x === 92 ? L : C);
|
|
868
869
|
}
|
|
869
|
-
function
|
|
870
|
+
function L(x) {
|
|
870
871
|
return x === 40 || x === 41 || x === 92 ? (e.consume(x), C) : C(x);
|
|
871
872
|
}
|
|
872
873
|
}
|
|
@@ -949,7 +950,7 @@ function Uo(e, t, n) {
|
|
|
949
950
|
)(d);
|
|
950
951
|
}
|
|
951
952
|
function o(d) {
|
|
952
|
-
return u =
|
|
953
|
+
return u = ht(
|
|
953
954
|
r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1)
|
|
954
955
|
), d === 58 ? (e.enter("definitionMarker"), e.consume(d), e.exit("definitionMarker"), l) : n(d);
|
|
955
956
|
}
|
|
@@ -1151,10 +1152,10 @@ function $o(e, t, n) {
|
|
|
1151
1152
|
return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(b), f;
|
|
1152
1153
|
}
|
|
1153
1154
|
function f(b) {
|
|
1154
|
-
return b === 33 ? (e.consume(b), p) : b === 47 ? (e.consume(b), a = !0, C) : b === 63 ? (e.consume(b), u = 3, r.interrupt ? t : g) :
|
|
1155
|
+
return b === 33 ? (e.consume(b), p) : b === 47 ? (e.consume(b), a = !0, C) : b === 63 ? (e.consume(b), u = 3, r.interrupt ? t : g) : he(b) ? (e.consume(b), i = String.fromCharCode(b), L) : n(b);
|
|
1155
1156
|
}
|
|
1156
1157
|
function p(b) {
|
|
1157
|
-
return b === 45 ? (e.consume(b), u = 2, d) : b === 91 ? (e.consume(b), u = 5, o = 0, A) :
|
|
1158
|
+
return b === 45 ? (e.consume(b), u = 2, d) : b === 91 ? (e.consume(b), u = 5, o = 0, A) : he(b) ? (e.consume(b), u = 4, r.interrupt ? t : g) : n(b);
|
|
1158
1159
|
}
|
|
1159
1160
|
function d(b) {
|
|
1160
1161
|
return b === 45 ? (e.consume(b), r.interrupt ? t : g) : n(b);
|
|
@@ -1164,14 +1165,14 @@ function $o(e, t, n) {
|
|
|
1164
1165
|
return b === Ie.charCodeAt(o++) ? (e.consume(b), o === Ie.length ? r.interrupt ? t : F : A) : n(b);
|
|
1165
1166
|
}
|
|
1166
1167
|
function C(b) {
|
|
1167
|
-
return
|
|
1168
|
+
return he(b) ? (e.consume(b), i = String.fromCharCode(b), L) : n(b);
|
|
1168
1169
|
}
|
|
1169
|
-
function
|
|
1170
|
+
function L(b) {
|
|
1170
1171
|
if (b === null || b === 47 || b === 62 || J(b)) {
|
|
1171
1172
|
const Ie = b === 47, We = i.toLowerCase();
|
|
1172
1173
|
return !Ie && !a && tu.includes(We) ? (u = 1, r.interrupt ? t(b) : F(b)) : Wo.includes(i.toLowerCase()) ? (u = 6, Ie ? (e.consume(b), x) : r.interrupt ? t(b) : F(b)) : (u = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(b) : a ? w(b) : D(b));
|
|
1173
1174
|
}
|
|
1174
|
-
return b === 45 || ce(b) ? (e.consume(b), i += String.fromCharCode(b),
|
|
1175
|
+
return b === 45 || ce(b) ? (e.consume(b), i += String.fromCharCode(b), L) : n(b);
|
|
1175
1176
|
}
|
|
1176
1177
|
function x(b) {
|
|
1177
1178
|
return b === 62 ? (e.consume(b), r.interrupt ? t : F) : n(b);
|
|
@@ -1180,7 +1181,7 @@ function $o(e, t, n) {
|
|
|
1180
1181
|
return j(b) ? (e.consume(b), w) : S(b);
|
|
1181
1182
|
}
|
|
1182
1183
|
function D(b) {
|
|
1183
|
-
return b === 47 ? (e.consume(b), S) : b === 58 || b === 95 ||
|
|
1184
|
+
return b === 47 ? (e.consume(b), S) : b === 58 || b === 95 || he(b) ? (e.consume(b), z) : j(b) ? (e.consume(b), D) : S(b);
|
|
1184
1185
|
}
|
|
1185
1186
|
function z(b) {
|
|
1186
1187
|
return b === 45 || b === 46 || b === 58 || b === 95 || ce(b) ? (e.consume(b), z) : Y(b);
|
|
@@ -1237,7 +1238,7 @@ function $o(e, t, n) {
|
|
|
1237
1238
|
const Ie = i.toLowerCase();
|
|
1238
1239
|
return tu.includes(Ie) ? (e.consume(b), Ce) : F(b);
|
|
1239
1240
|
}
|
|
1240
|
-
return
|
|
1241
|
+
return he(b) && i.length < 8 ? (e.consume(b), i += String.fromCharCode(b), _e) : F(b);
|
|
1241
1242
|
}
|
|
1242
1243
|
function Le(b) {
|
|
1243
1244
|
return b === 93 ? (e.consume(b), g) : F(b);
|
|
@@ -1280,10 +1281,10 @@ function tl(e, t, n) {
|
|
|
1280
1281
|
return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(g), l;
|
|
1281
1282
|
}
|
|
1282
1283
|
function l(g) {
|
|
1283
|
-
return g === 33 ? (e.consume(g), c) : g === 47 ? (e.consume(g), Y) : g === 63 ? (e.consume(g), D) :
|
|
1284
|
+
return g === 33 ? (e.consume(g), c) : g === 47 ? (e.consume(g), Y) : g === 63 ? (e.consume(g), D) : he(g) ? (e.consume(g), ee) : n(g);
|
|
1284
1285
|
}
|
|
1285
1286
|
function c(g) {
|
|
1286
|
-
return g === 45 ? (e.consume(g), h) : g === 91 ? (e.consume(g), a = 0, A) :
|
|
1287
|
+
return g === 45 ? (e.consume(g), h) : g === 91 ? (e.consume(g), a = 0, A) : he(g) ? (e.consume(g), w) : n(g);
|
|
1287
1288
|
}
|
|
1288
1289
|
function h(g) {
|
|
1289
1290
|
return g === 45 ? (e.consume(g), d) : n(g);
|
|
@@ -1302,9 +1303,9 @@ function tl(e, t, n) {
|
|
|
1302
1303
|
return g === Ce.charCodeAt(a++) ? (e.consume(g), a === Ce.length ? C : A) : n(g);
|
|
1303
1304
|
}
|
|
1304
1305
|
function C(g) {
|
|
1305
|
-
return g === null ? n(g) : g === 93 ? (e.consume(g),
|
|
1306
|
+
return g === null ? n(g) : g === 93 ? (e.consume(g), L) : H(g) ? (i = C, se(g)) : (e.consume(g), C);
|
|
1306
1307
|
}
|
|
1307
|
-
function
|
|
1308
|
+
function L(g) {
|
|
1308
1309
|
return g === 93 ? (e.consume(g), x) : C(g);
|
|
1309
1310
|
}
|
|
1310
1311
|
function x(g) {
|
|
@@ -1320,7 +1321,7 @@ function tl(e, t, n) {
|
|
|
1320
1321
|
return g === 62 ? le(g) : D(g);
|
|
1321
1322
|
}
|
|
1322
1323
|
function Y(g) {
|
|
1323
|
-
return
|
|
1324
|
+
return he(g) ? (e.consume(g), k) : n(g);
|
|
1324
1325
|
}
|
|
1325
1326
|
function k(g) {
|
|
1326
1327
|
return g === 45 || ce(g) ? (e.consume(g), k) : Q(g);
|
|
@@ -1332,7 +1333,7 @@ function tl(e, t, n) {
|
|
|
1332
1333
|
return g === 45 || ce(g) ? (e.consume(g), ee) : g === 47 || g === 62 || J(g) ? X(g) : n(g);
|
|
1333
1334
|
}
|
|
1334
1335
|
function X(g) {
|
|
1335
|
-
return g === 47 ? (e.consume(g), le) : g === 58 || g === 95 ||
|
|
1336
|
+
return g === 47 ? (e.consume(g), le) : g === 58 || g === 95 || he(g) ? (e.consume(g), S) : H(g) ? (i = X, se(g)) : j(g) ? (e.consume(g), X) : le(g);
|
|
1336
1337
|
}
|
|
1337
1338
|
function S(g) {
|
|
1338
1339
|
return g === 45 || g === 46 || g === 58 || g === 95 || ce(g) ? (e.consume(g), S) : B(g);
|
|
@@ -1444,7 +1445,7 @@ function sl(e, t, n) {
|
|
|
1444
1445
|
return o;
|
|
1445
1446
|
function o(p) {
|
|
1446
1447
|
return a ? a._inactive ? f(p) : (i = r.parser.defined.includes(
|
|
1447
|
-
|
|
1448
|
+
ht(
|
|
1448
1449
|
r.sliceSerialize({
|
|
1449
1450
|
start: a.end,
|
|
1450
1451
|
end: r.now()
|
|
@@ -1537,7 +1538,7 @@ function ll(e, t, n) {
|
|
|
1537
1538
|
}
|
|
1538
1539
|
function a(o) {
|
|
1539
1540
|
return r.parser.defined.includes(
|
|
1540
|
-
|
|
1541
|
+
ht(
|
|
1541
1542
|
r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1)
|
|
1542
1543
|
)
|
|
1543
1544
|
) ? t(o) : n(o);
|
|
@@ -1618,7 +1619,7 @@ function El(e, t, n) {
|
|
|
1618
1619
|
return c === u ? (e.consume(c), r++, l) : (e.exit("thematicBreakSequence"), j(c) ? W(e, o, "whitespace")(c) : o(c));
|
|
1619
1620
|
}
|
|
1620
1621
|
}
|
|
1621
|
-
const
|
|
1622
|
+
const me = {
|
|
1622
1623
|
name: "list",
|
|
1623
1624
|
tokenize: bl,
|
|
1624
1625
|
continuation: {
|
|
@@ -1690,7 +1691,7 @@ function Al(e, t, n) {
|
|
|
1690
1691
|
function i(o) {
|
|
1691
1692
|
return r.containerState._closeFlow = !0, r.interrupt = void 0, W(
|
|
1692
1693
|
e,
|
|
1693
|
-
e.attempt(
|
|
1694
|
+
e.attempt(me, t, n),
|
|
1694
1695
|
"linePrefix",
|
|
1695
1696
|
r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4
|
|
1696
1697
|
)(o);
|
|
@@ -1941,7 +1942,7 @@ function Dl(e, t, n) {
|
|
|
1941
1942
|
let h = t.tokenize.call(c, l);
|
|
1942
1943
|
return t.resolveAll && a.push(t), c;
|
|
1943
1944
|
function f(B) {
|
|
1944
|
-
return i = ge(i, B),
|
|
1945
|
+
return i = ge(i, B), L(), i[i.length - 1] !== null ? [] : (ee(t, 0), c.events = Er(a, c.events, c), c.events);
|
|
1945
1946
|
}
|
|
1946
1947
|
function p(B, F) {
|
|
1947
1948
|
return wl(d(B), F);
|
|
@@ -1962,7 +1963,7 @@ function Dl(e, t, n) {
|
|
|
1962
1963
|
function C(B) {
|
|
1963
1964
|
u[B.line] = B.column, S();
|
|
1964
1965
|
}
|
|
1965
|
-
function
|
|
1966
|
+
function L() {
|
|
1966
1967
|
let B;
|
|
1967
1968
|
for (; r._index < i.length; ) {
|
|
1968
1969
|
const F = i[r._index];
|
|
@@ -2116,19 +2117,19 @@ function wl(e, t) {
|
|
|
2116
2117
|
return r.join("");
|
|
2117
2118
|
}
|
|
2118
2119
|
const Ml = {
|
|
2119
|
-
42:
|
|
2120
|
-
43:
|
|
2121
|
-
45:
|
|
2122
|
-
48:
|
|
2123
|
-
49:
|
|
2124
|
-
50:
|
|
2125
|
-
51:
|
|
2126
|
-
52:
|
|
2127
|
-
53:
|
|
2128
|
-
54:
|
|
2129
|
-
55:
|
|
2130
|
-
56:
|
|
2131
|
-
57:
|
|
2120
|
+
42: me,
|
|
2121
|
+
43: me,
|
|
2122
|
+
45: me,
|
|
2123
|
+
48: me,
|
|
2124
|
+
49: me,
|
|
2125
|
+
50: me,
|
|
2126
|
+
51: me,
|
|
2127
|
+
52: me,
|
|
2128
|
+
53: me,
|
|
2129
|
+
54: me,
|
|
2130
|
+
55: me,
|
|
2131
|
+
56: me,
|
|
2132
|
+
57: me,
|
|
2132
2133
|
62: Ei
|
|
2133
2134
|
}, Bl = {
|
|
2134
2135
|
91: Fo
|
|
@@ -2283,32 +2284,32 @@ function Jl(e) {
|
|
|
2283
2284
|
codeTextData: X,
|
|
2284
2285
|
data: X,
|
|
2285
2286
|
codeFlowValue: X,
|
|
2286
|
-
definition: a(
|
|
2287
|
+
definition: a(os),
|
|
2287
2288
|
definitionDestinationString: i,
|
|
2288
2289
|
definitionLabelString: i,
|
|
2289
2290
|
definitionTitleString: i,
|
|
2290
|
-
emphasis: a(
|
|
2291
|
+
emphasis: a(ls),
|
|
2291
2292
|
hardBreakEscape: a(vr),
|
|
2292
2293
|
hardBreakTrailing: a(vr),
|
|
2293
2294
|
htmlFlow: a(zr, i),
|
|
2294
2295
|
htmlFlowData: X,
|
|
2295
2296
|
htmlText: a(zr, i),
|
|
2296
2297
|
htmlTextData: X,
|
|
2297
|
-
image: a(
|
|
2298
|
+
image: a(cs),
|
|
2298
2299
|
label: i,
|
|
2299
2300
|
link: a(Yr),
|
|
2300
|
-
listItem: a(
|
|
2301
|
+
listItem: a(fs),
|
|
2301
2302
|
listItemValue: p,
|
|
2302
2303
|
listOrdered: a(qr, f),
|
|
2303
2304
|
listUnordered: a(qr),
|
|
2304
|
-
paragraph: a(
|
|
2305
|
+
paragraph: a(hs),
|
|
2305
2306
|
reference: b,
|
|
2306
2307
|
referenceString: i,
|
|
2307
2308
|
resourceDestinationString: i,
|
|
2308
2309
|
resourceTitleString: i,
|
|
2309
2310
|
setextHeading: a(Ur),
|
|
2310
|
-
strong: a(
|
|
2311
|
-
thematicBreak: a(
|
|
2311
|
+
strong: a(ds),
|
|
2312
|
+
thematicBreak: a(ps)
|
|
2312
2313
|
},
|
|
2313
2314
|
exit: {
|
|
2314
2315
|
atxHeading: l(),
|
|
@@ -2321,7 +2322,7 @@ function Jl(e) {
|
|
|
2321
2322
|
characterReferenceMarkerHexadecimal: We,
|
|
2322
2323
|
characterReferenceMarkerNumeric: We,
|
|
2323
2324
|
characterReferenceValue: oe,
|
|
2324
|
-
codeFenced: l(
|
|
2325
|
+
codeFenced: l(L),
|
|
2325
2326
|
codeFencedFence: C,
|
|
2326
2327
|
codeFencedFenceInfo: d,
|
|
2327
2328
|
codeFencedFenceMeta: A,
|
|
@@ -2426,16 +2427,16 @@ function Jl(e) {
|
|
|
2426
2427
|
function u(N, M, U) {
|
|
2427
2428
|
let V = M - 1, K = -1, xe = !1, Ge, De, Ct, It;
|
|
2428
2429
|
for (; ++V <= U; ) {
|
|
2429
|
-
const
|
|
2430
|
-
switch (
|
|
2430
|
+
const pe = N[V];
|
|
2431
|
+
switch (pe[1].type) {
|
|
2431
2432
|
case "listUnordered":
|
|
2432
2433
|
case "listOrdered":
|
|
2433
2434
|
case "blockQuote": {
|
|
2434
|
-
|
|
2435
|
+
pe[0] === "enter" ? K++ : K--, It = void 0;
|
|
2435
2436
|
break;
|
|
2436
2437
|
}
|
|
2437
2438
|
case "lineEndingBlank": {
|
|
2438
|
-
|
|
2439
|
+
pe[0] === "enter" && (Ge && !It && !K && !Ct && (Ct = V), It = void 0);
|
|
2439
2440
|
break;
|
|
2440
2441
|
}
|
|
2441
2442
|
case "linePrefix":
|
|
@@ -2447,7 +2448,7 @@ function Jl(e) {
|
|
|
2447
2448
|
default:
|
|
2448
2449
|
It = void 0;
|
|
2449
2450
|
}
|
|
2450
|
-
if (!K &&
|
|
2451
|
+
if (!K && pe[0] === "enter" && pe[1].type === "listItemPrefix" || K === -1 && pe[0] === "exit" && (pe[1].type === "listUnordered" || pe[1].type === "listOrdered")) {
|
|
2451
2452
|
if (Ge) {
|
|
2452
2453
|
let at = V;
|
|
2453
2454
|
for (De = void 0; at--; ) {
|
|
@@ -2459,18 +2460,18 @@ function Jl(e) {
|
|
|
2459
2460
|
}
|
|
2460
2461
|
Ct && (!De || Ct < De) && (Ge._spread = !0), Ge.end = Object.assign(
|
|
2461
2462
|
{},
|
|
2462
|
-
De ? N[De][1].start :
|
|
2463
|
-
), N.splice(De || V, 0, ["exit", Ge,
|
|
2463
|
+
De ? N[De][1].start : pe[1].end
|
|
2464
|
+
), N.splice(De || V, 0, ["exit", Ge, pe[2]]), V++, U++;
|
|
2464
2465
|
}
|
|
2465
|
-
if (
|
|
2466
|
+
if (pe[1].type === "listItemPrefix") {
|
|
2466
2467
|
const at = {
|
|
2467
2468
|
type: "listItem",
|
|
2468
2469
|
_spread: !1,
|
|
2469
|
-
start: Object.assign({},
|
|
2470
|
+
start: Object.assign({}, pe[1].start),
|
|
2470
2471
|
// @ts-expect-error: we’ll add `end` in a second.
|
|
2471
2472
|
end: void 0
|
|
2472
2473
|
};
|
|
2473
|
-
Ge = at, N.splice(V, 0, ["enter", at,
|
|
2474
|
+
Ge = at, N.splice(V, 0, ["enter", at, pe[2]]), V++, U++, Ct = void 0, It = !0;
|
|
2474
2475
|
}
|
|
2475
2476
|
}
|
|
2476
2477
|
}
|
|
@@ -2536,7 +2537,7 @@ function Jl(e) {
|
|
|
2536
2537
|
function C() {
|
|
2537
2538
|
this.data.flowCodeInside || (this.buffer(), this.data.flowCodeInside = !0);
|
|
2538
2539
|
}
|
|
2539
|
-
function
|
|
2540
|
+
function L() {
|
|
2540
2541
|
const N = this.resume(), M = this.stack[this.stack.length - 1];
|
|
2541
2542
|
M.value = N.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), this.data.flowCodeInside = void 0;
|
|
2542
2543
|
}
|
|
@@ -2546,7 +2547,7 @@ function Jl(e) {
|
|
|
2546
2547
|
}
|
|
2547
2548
|
function w(N) {
|
|
2548
2549
|
const M = this.resume(), U = this.stack[this.stack.length - 1];
|
|
2549
|
-
U.label = M, U.identifier =
|
|
2550
|
+
U.label = M, U.identifier = ht(
|
|
2550
2551
|
this.sliceSerialize(N)
|
|
2551
2552
|
).toLowerCase();
|
|
2552
2553
|
}
|
|
@@ -2578,7 +2579,7 @@ function Jl(e) {
|
|
|
2578
2579
|
function X(N) {
|
|
2579
2580
|
const U = this.stack[this.stack.length - 1].children;
|
|
2580
2581
|
let V = U[U.length - 1];
|
|
2581
|
-
(!V || V.type !== "text") && (V =
|
|
2582
|
+
(!V || V.type !== "text") && (V = ms(), V.position = {
|
|
2582
2583
|
start: He(N.start),
|
|
2583
2584
|
// @ts-expect-error: we’ll add `end` later.
|
|
2584
2585
|
end: void 0
|
|
@@ -2632,7 +2633,7 @@ function Jl(e) {
|
|
|
2632
2633
|
}
|
|
2633
2634
|
function _e(N) {
|
|
2634
2635
|
const M = this.sliceSerialize(N), U = this.stack[this.stack.length - 2];
|
|
2635
|
-
U.label = Xl(M), U.identifier =
|
|
2636
|
+
U.label = Xl(M), U.identifier = ht(M).toLowerCase();
|
|
2636
2637
|
}
|
|
2637
2638
|
function Le() {
|
|
2638
2639
|
const N = this.stack[this.stack.length - 1], M = this.resume(), U = this.stack[this.stack.length - 1];
|
|
@@ -2658,7 +2659,7 @@ function Jl(e) {
|
|
|
2658
2659
|
}
|
|
2659
2660
|
function Ie(N) {
|
|
2660
2661
|
const M = this.resume(), U = this.stack[this.stack.length - 1];
|
|
2661
|
-
U.label = M, U.identifier =
|
|
2662
|
+
U.label = M, U.identifier = ht(
|
|
2662
2663
|
this.sliceSerialize(N)
|
|
2663
2664
|
).toLowerCase(), this.data.referenceType = "full";
|
|
2664
2665
|
}
|
|
@@ -2705,7 +2706,7 @@ function Jl(e) {
|
|
|
2705
2706
|
value: ""
|
|
2706
2707
|
};
|
|
2707
2708
|
}
|
|
2708
|
-
function
|
|
2709
|
+
function os() {
|
|
2709
2710
|
return {
|
|
2710
2711
|
type: "definition",
|
|
2711
2712
|
identifier: "",
|
|
@@ -2714,7 +2715,7 @@ function Jl(e) {
|
|
|
2714
2715
|
url: ""
|
|
2715
2716
|
};
|
|
2716
2717
|
}
|
|
2717
|
-
function
|
|
2718
|
+
function ls() {
|
|
2718
2719
|
return {
|
|
2719
2720
|
type: "emphasis",
|
|
2720
2721
|
children: []
|
|
@@ -2739,7 +2740,7 @@ function Jl(e) {
|
|
|
2739
2740
|
value: ""
|
|
2740
2741
|
};
|
|
2741
2742
|
}
|
|
2742
|
-
function
|
|
2743
|
+
function cs() {
|
|
2743
2744
|
return {
|
|
2744
2745
|
type: "image",
|
|
2745
2746
|
title: null,
|
|
@@ -2764,7 +2765,7 @@ function Jl(e) {
|
|
|
2764
2765
|
children: []
|
|
2765
2766
|
};
|
|
2766
2767
|
}
|
|
2767
|
-
function
|
|
2768
|
+
function fs(N) {
|
|
2768
2769
|
return {
|
|
2769
2770
|
type: "listItem",
|
|
2770
2771
|
spread: N._spread,
|
|
@@ -2772,25 +2773,25 @@ function Jl(e) {
|
|
|
2772
2773
|
children: []
|
|
2773
2774
|
};
|
|
2774
2775
|
}
|
|
2775
|
-
function
|
|
2776
|
+
function hs() {
|
|
2776
2777
|
return {
|
|
2777
2778
|
type: "paragraph",
|
|
2778
2779
|
children: []
|
|
2779
2780
|
};
|
|
2780
2781
|
}
|
|
2781
|
-
function
|
|
2782
|
+
function ds() {
|
|
2782
2783
|
return {
|
|
2783
2784
|
type: "strong",
|
|
2784
2785
|
children: []
|
|
2785
2786
|
};
|
|
2786
2787
|
}
|
|
2787
|
-
function
|
|
2788
|
+
function ms() {
|
|
2788
2789
|
return {
|
|
2789
2790
|
type: "text",
|
|
2790
2791
|
value: ""
|
|
2791
2792
|
};
|
|
2792
2793
|
}
|
|
2793
|
-
function
|
|
2794
|
+
function ps() {
|
|
2794
2795
|
return {
|
|
2795
2796
|
type: "thematicBreak"
|
|
2796
2797
|
};
|
|
@@ -3436,10 +3437,10 @@ function Pc(e) {
|
|
|
3436
3437
|
children: Array.isArray(w) ? w : [w]
|
|
3437
3438
|
});
|
|
3438
3439
|
}
|
|
3439
|
-
const
|
|
3440
|
-
if (
|
|
3441
|
-
const w =
|
|
3442
|
-
w && w.type === "text" ? w.value += " " :
|
|
3440
|
+
const L = h[h.length - 1];
|
|
3441
|
+
if (L && L.type === "element" && L.tagName === "p") {
|
|
3442
|
+
const w = L.children[L.children.length - 1];
|
|
3443
|
+
w && w.type === "text" ? w.value += " " : L.children.push({ type: "text", value: " " }), L.children.push(...A);
|
|
3443
3444
|
} else
|
|
3444
3445
|
h.push(...A);
|
|
3445
3446
|
const x = {
|
|
@@ -3505,7 +3506,7 @@ function Mc(e, t) {
|
|
|
3505
3506
|
return d(o, h, f);
|
|
3506
3507
|
if (o.options.passThrough && o.options.passThrough.includes(p)) {
|
|
3507
3508
|
if ("children" in h) {
|
|
3508
|
-
const { children: C, ...
|
|
3509
|
+
const { children: C, ...L } = h, x = cn(L);
|
|
3509
3510
|
return x.children = o.all(h), x;
|
|
3510
3511
|
}
|
|
3511
3512
|
return cn(h);
|
|
@@ -3532,7 +3533,7 @@ function Mc(e, t) {
|
|
|
3532
3533
|
}
|
|
3533
3534
|
}
|
|
3534
3535
|
function Bc(e, t) {
|
|
3535
|
-
e.position && (t.position =
|
|
3536
|
+
e.position && (t.position = xs(e));
|
|
3536
3537
|
}
|
|
3537
3538
|
function Fc(e, t) {
|
|
3538
3539
|
let n = t;
|
|
@@ -3629,16 +3630,16 @@ function zc() {
|
|
|
3629
3630
|
return c[h];
|
|
3630
3631
|
};
|
|
3631
3632
|
return Pn = function l() {
|
|
3632
|
-
var c, h, f, p, d, A, C = arguments[0],
|
|
3633
|
-
for (typeof C == "boolean" && (w = C, C = arguments[1] || {},
|
|
3634
|
-
if (c = arguments[
|
|
3633
|
+
var c, h, f, p, d, A, C = arguments[0], L = 1, x = arguments.length, w = !1;
|
|
3634
|
+
for (typeof C == "boolean" && (w = C, C = arguments[1] || {}, L = 2), (C == null || typeof C != "object" && typeof C != "function") && (C = {}); L < x; ++L)
|
|
3635
|
+
if (c = arguments[L], c != null)
|
|
3635
3636
|
for (h in c)
|
|
3636
3637
|
f = o(C, h), p = o(c, h), C !== p && (w && p && (a(p) || (d = u(p))) ? (d ? (d = !1, A = f && u(f) ? f : []) : A = f && a(f) ? f : {}, i(C, { name: h, newValue: l(w, A, p) })) : typeof p < "u" && i(C, { name: h, newValue: p }));
|
|
3637
3638
|
return C;
|
|
3638
3639
|
}, Pn;
|
|
3639
3640
|
}
|
|
3640
3641
|
var Yc = zc();
|
|
3641
|
-
const wn = /* @__PURE__ */
|
|
3642
|
+
const wn = /* @__PURE__ */ Fs(Yc);
|
|
3642
3643
|
function Zn(e) {
|
|
3643
3644
|
if (typeof e != "object" || e === null)
|
|
3644
3645
|
return !1;
|
|
@@ -4210,7 +4211,7 @@ class Di {
|
|
|
4210
4211
|
* Message.
|
|
4211
4212
|
*/
|
|
4212
4213
|
message(t, n, r) {
|
|
4213
|
-
const u = new
|
|
4214
|
+
const u = new Ss(
|
|
4214
4215
|
// @ts-expect-error: the overloads are fine.
|
|
4215
4216
|
t,
|
|
4216
4217
|
n,
|
|
@@ -4841,15 +4842,15 @@ function d0(e) {
|
|
|
4841
4842
|
function m0(e, t) {
|
|
4842
4843
|
const n = t.allowedElements, r = t.allowElement, u = t.components, a = t.disallowedElements, i = t.skipHtml, o = t.unwrapDisallowed, l = t.urlTransform || p0;
|
|
4843
4844
|
for (const h of c0)
|
|
4844
|
-
Object.hasOwn(t, h.from) &&
|
|
4845
|
+
Object.hasOwn(t, h.from) && Ns(
|
|
4845
4846
|
"Unexpected `" + h.from + "` prop, " + (h.to ? "use `" + h.to + "` instead" : "remove it") + " (see <" + o0 + "#" + h.id + "> for more info)"
|
|
4846
4847
|
);
|
|
4847
|
-
return Tn(e, c),
|
|
4848
|
-
Fragment:
|
|
4848
|
+
return Tn(e, c), ks(e, {
|
|
4849
|
+
Fragment: y.Fragment,
|
|
4849
4850
|
components: u,
|
|
4850
4851
|
ignoreInvalidStyle: !0,
|
|
4851
|
-
jsx:
|
|
4852
|
-
jsxs:
|
|
4852
|
+
jsx: y.jsx,
|
|
4853
|
+
jsxs: y.jsxs,
|
|
4853
4854
|
passKeys: !0,
|
|
4854
4855
|
passNode: !0
|
|
4855
4856
|
});
|
|
@@ -5077,7 +5078,7 @@ Ae.prototype.commaOrSpaceSeparated = !1;
|
|
|
5077
5078
|
Ae.prototype.mustUseProperty = !1;
|
|
5078
5079
|
Ae.prototype.defined = !1;
|
|
5079
5080
|
let A0 = 0;
|
|
5080
|
-
const v = nt(), ue = nt(), Fi = nt(), P = nt(), Z = nt(),
|
|
5081
|
+
const v = nt(), ue = nt(), Fi = nt(), P = nt(), Z = nt(), dt = nt(), Ee = nt();
|
|
5081
5082
|
function nt() {
|
|
5082
5083
|
return 2 ** ++A0;
|
|
5083
5084
|
}
|
|
@@ -5085,8 +5086,8 @@ const tr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5085
5086
|
__proto__: null,
|
|
5086
5087
|
boolean: v,
|
|
5087
5088
|
booleanish: ue,
|
|
5088
|
-
commaOrSpaceSeparated:
|
|
5089
|
-
commaSeparated:
|
|
5089
|
+
commaOrSpaceSeparated: Ee,
|
|
5090
|
+
commaSeparated: dt,
|
|
5090
5091
|
number: P,
|
|
5091
5092
|
overloadedBoolean: Fi,
|
|
5092
5093
|
spaceSeparated: Z
|
|
@@ -5228,7 +5229,7 @@ const Yi = Tt({
|
|
|
5228
5229
|
properties: {
|
|
5229
5230
|
// Standard Properties.
|
|
5230
5231
|
abbr: null,
|
|
5231
|
-
accept:
|
|
5232
|
+
accept: dt,
|
|
5232
5233
|
acceptCharset: Z,
|
|
5233
5234
|
accessKey: Z,
|
|
5234
5235
|
action: null,
|
|
@@ -5255,7 +5256,7 @@ const Yi = Tt({
|
|
|
5255
5256
|
contentEditable: ue,
|
|
5256
5257
|
controls: v,
|
|
5257
5258
|
controlsList: Z,
|
|
5258
|
-
coords: P |
|
|
5259
|
+
coords: P | dt,
|
|
5259
5260
|
crossOrigin: null,
|
|
5260
5261
|
data: null,
|
|
5261
5262
|
dateTime: null,
|
|
@@ -5755,7 +5756,7 @@ const Yi = Tt({
|
|
|
5755
5756
|
},
|
|
5756
5757
|
transform: vi,
|
|
5757
5758
|
properties: {
|
|
5758
|
-
about:
|
|
5759
|
+
about: Ee,
|
|
5759
5760
|
accentHeight: P,
|
|
5760
5761
|
accumulate: null,
|
|
5761
5762
|
additive: null,
|
|
@@ -5837,9 +5838,9 @@ const Yi = Tt({
|
|
|
5837
5838
|
from: null,
|
|
5838
5839
|
fx: null,
|
|
5839
5840
|
fy: null,
|
|
5840
|
-
g1:
|
|
5841
|
-
g2:
|
|
5842
|
-
glyphName:
|
|
5841
|
+
g1: dt,
|
|
5842
|
+
g2: dt,
|
|
5843
|
+
glyphName: dt,
|
|
5843
5844
|
glyphOrientationHorizontal: null,
|
|
5844
5845
|
glyphOrientationVertical: null,
|
|
5845
5846
|
glyphRef: null,
|
|
@@ -5867,7 +5868,7 @@ const Yi = Tt({
|
|
|
5867
5868
|
k2: P,
|
|
5868
5869
|
k3: P,
|
|
5869
5870
|
k4: P,
|
|
5870
|
-
kernelMatrix:
|
|
5871
|
+
kernelMatrix: Ee,
|
|
5871
5872
|
kernelUnitLength: null,
|
|
5872
5873
|
keyPoints: null,
|
|
5873
5874
|
// SEMI_COLON_SEPARATED
|
|
@@ -6024,21 +6025,21 @@ const Yi = Tt({
|
|
|
6024
6025
|
preserveAspectRatio: null,
|
|
6025
6026
|
primitiveUnits: null,
|
|
6026
6027
|
propagate: null,
|
|
6027
|
-
property:
|
|
6028
|
+
property: Ee,
|
|
6028
6029
|
r: null,
|
|
6029
6030
|
radius: null,
|
|
6030
6031
|
referrerPolicy: null,
|
|
6031
6032
|
refX: null,
|
|
6032
6033
|
refY: null,
|
|
6033
|
-
rel:
|
|
6034
|
-
rev:
|
|
6034
|
+
rel: Ee,
|
|
6035
|
+
rev: Ee,
|
|
6035
6036
|
renderingIntent: null,
|
|
6036
6037
|
repeatCount: null,
|
|
6037
6038
|
repeatDur: null,
|
|
6038
|
-
requiredExtensions:
|
|
6039
|
-
requiredFeatures:
|
|
6040
|
-
requiredFonts:
|
|
6041
|
-
requiredFormats:
|
|
6039
|
+
requiredExtensions: Ee,
|
|
6040
|
+
requiredFeatures: Ee,
|
|
6041
|
+
requiredFonts: Ee,
|
|
6042
|
+
requiredFormats: Ee,
|
|
6042
6043
|
resource: null,
|
|
6043
6044
|
restart: null,
|
|
6044
6045
|
result: null,
|
|
@@ -6066,7 +6067,7 @@ const Yi = Tt({
|
|
|
6066
6067
|
strikethroughThickness: P,
|
|
6067
6068
|
string: null,
|
|
6068
6069
|
stroke: null,
|
|
6069
|
-
strokeDashArray:
|
|
6070
|
+
strokeDashArray: Ee,
|
|
6070
6071
|
strokeDashOffset: null,
|
|
6071
6072
|
strokeLineCap: null,
|
|
6072
6073
|
strokeLineJoin: null,
|
|
@@ -6080,7 +6081,7 @@ const Yi = Tt({
|
|
|
6080
6081
|
syncMaster: null,
|
|
6081
6082
|
syncTolerance: null,
|
|
6082
6083
|
syncToleranceDefault: null,
|
|
6083
|
-
systemLanguage:
|
|
6084
|
+
systemLanguage: Ee,
|
|
6084
6085
|
tabIndex: P,
|
|
6085
6086
|
tableValues: null,
|
|
6086
6087
|
target: null,
|
|
@@ -6094,7 +6095,7 @@ const Yi = Tt({
|
|
|
6094
6095
|
title: null,
|
|
6095
6096
|
transformBehavior: null,
|
|
6096
6097
|
type: null,
|
|
6097
|
-
typeOf:
|
|
6098
|
+
typeOf: Ee,
|
|
6098
6099
|
to: null,
|
|
6099
6100
|
transform: null,
|
|
6100
6101
|
transformOrigin: null,
|
|
@@ -6590,7 +6591,7 @@ function K0(e, t, n) {
|
|
|
6590
6591
|
const r = Or(e, t);
|
|
6591
6592
|
if (n === !1 || n === null || n === void 0 || typeof n == "number" && Number.isNaN(n) || !n && r.boolean)
|
|
6592
6593
|
return;
|
|
6593
|
-
Array.isArray(n) && (n = r.commaSeparated ?
|
|
6594
|
+
Array.isArray(n) && (n = r.commaSeparated ? Os(n) : ys(n));
|
|
6594
6595
|
const u = {
|
|
6595
6596
|
name: r.attribute,
|
|
6596
6597
|
value: n === !0 ? "" : String(n)
|
|
@@ -6662,7 +6663,7 @@ var m;
|
|
|
6662
6663
|
(function(e) {
|
|
6663
6664
|
e[e.EOF = -1] = "EOF", e[e.NULL = 0] = "NULL", e[e.TABULATION = 9] = "TABULATION", e[e.CARRIAGE_RETURN = 13] = "CARRIAGE_RETURN", e[e.LINE_FEED = 10] = "LINE_FEED", e[e.FORM_FEED = 12] = "FORM_FEED", e[e.SPACE = 32] = "SPACE", e[e.EXCLAMATION_MARK = 33] = "EXCLAMATION_MARK", e[e.QUOTATION_MARK = 34] = "QUOTATION_MARK", e[e.AMPERSAND = 38] = "AMPERSAND", e[e.APOSTROPHE = 39] = "APOSTROPHE", e[e.HYPHEN_MINUS = 45] = "HYPHEN_MINUS", e[e.SOLIDUS = 47] = "SOLIDUS", e[e.DIGIT_0 = 48] = "DIGIT_0", e[e.DIGIT_9 = 57] = "DIGIT_9", e[e.SEMICOLON = 59] = "SEMICOLON", e[e.LESS_THAN_SIGN = 60] = "LESS_THAN_SIGN", e[e.EQUALS_SIGN = 61] = "EQUALS_SIGN", e[e.GREATER_THAN_SIGN = 62] = "GREATER_THAN_SIGN", e[e.QUESTION_MARK = 63] = "QUESTION_MARK", e[e.LATIN_CAPITAL_A = 65] = "LATIN_CAPITAL_A", e[e.LATIN_CAPITAL_Z = 90] = "LATIN_CAPITAL_Z", e[e.RIGHT_SQUARE_BRACKET = 93] = "RIGHT_SQUARE_BRACKET", e[e.GRAVE_ACCENT = 96] = "GRAVE_ACCENT", e[e.LATIN_SMALL_A = 97] = "LATIN_SMALL_A", e[e.LATIN_SMALL_Z = 122] = "LATIN_SMALL_Z";
|
|
6664
6665
|
})(m || (m = {}));
|
|
6665
|
-
const
|
|
6666
|
+
const de = {
|
|
6666
6667
|
DASH_DASH: "--",
|
|
6667
6668
|
CDATA_START: "[CDATA[",
|
|
6668
6669
|
DOCTYPE: "doctype",
|
|
@@ -7241,96 +7242,96 @@ function bt(e) {
|
|
|
7241
7242
|
var t;
|
|
7242
7243
|
return (t = hf.get(e)) !== null && t !== void 0 ? t : s.UNKNOWN;
|
|
7243
7244
|
}
|
|
7244
|
-
const
|
|
7245
|
+
const R = s, df = {
|
|
7245
7246
|
[O.HTML]: /* @__PURE__ */ new Set([
|
|
7246
|
-
|
|
7247
|
-
|
|
7248
|
-
|
|
7249
|
-
|
|
7250
|
-
|
|
7251
|
-
|
|
7252
|
-
|
|
7253
|
-
|
|
7254
|
-
|
|
7255
|
-
|
|
7256
|
-
|
|
7257
|
-
|
|
7258
|
-
|
|
7259
|
-
|
|
7260
|
-
|
|
7261
|
-
|
|
7262
|
-
|
|
7263
|
-
|
|
7264
|
-
|
|
7265
|
-
|
|
7266
|
-
|
|
7267
|
-
|
|
7268
|
-
|
|
7269
|
-
|
|
7270
|
-
|
|
7271
|
-
|
|
7272
|
-
|
|
7273
|
-
|
|
7274
|
-
|
|
7275
|
-
|
|
7276
|
-
|
|
7277
|
-
|
|
7278
|
-
|
|
7279
|
-
|
|
7280
|
-
|
|
7281
|
-
|
|
7282
|
-
|
|
7283
|
-
|
|
7284
|
-
|
|
7285
|
-
|
|
7286
|
-
|
|
7287
|
-
|
|
7288
|
-
|
|
7289
|
-
|
|
7290
|
-
|
|
7291
|
-
|
|
7292
|
-
|
|
7293
|
-
|
|
7294
|
-
|
|
7295
|
-
|
|
7296
|
-
|
|
7297
|
-
|
|
7298
|
-
|
|
7299
|
-
|
|
7300
|
-
|
|
7301
|
-
|
|
7302
|
-
|
|
7303
|
-
|
|
7304
|
-
|
|
7305
|
-
|
|
7306
|
-
|
|
7307
|
-
|
|
7308
|
-
|
|
7309
|
-
|
|
7310
|
-
|
|
7311
|
-
|
|
7312
|
-
|
|
7313
|
-
|
|
7314
|
-
|
|
7315
|
-
|
|
7316
|
-
|
|
7317
|
-
|
|
7318
|
-
|
|
7319
|
-
|
|
7320
|
-
|
|
7321
|
-
|
|
7322
|
-
|
|
7323
|
-
|
|
7324
|
-
|
|
7325
|
-
|
|
7326
|
-
|
|
7247
|
+
R.ADDRESS,
|
|
7248
|
+
R.APPLET,
|
|
7249
|
+
R.AREA,
|
|
7250
|
+
R.ARTICLE,
|
|
7251
|
+
R.ASIDE,
|
|
7252
|
+
R.BASE,
|
|
7253
|
+
R.BASEFONT,
|
|
7254
|
+
R.BGSOUND,
|
|
7255
|
+
R.BLOCKQUOTE,
|
|
7256
|
+
R.BODY,
|
|
7257
|
+
R.BR,
|
|
7258
|
+
R.BUTTON,
|
|
7259
|
+
R.CAPTION,
|
|
7260
|
+
R.CENTER,
|
|
7261
|
+
R.COL,
|
|
7262
|
+
R.COLGROUP,
|
|
7263
|
+
R.DD,
|
|
7264
|
+
R.DETAILS,
|
|
7265
|
+
R.DIR,
|
|
7266
|
+
R.DIV,
|
|
7267
|
+
R.DL,
|
|
7268
|
+
R.DT,
|
|
7269
|
+
R.EMBED,
|
|
7270
|
+
R.FIELDSET,
|
|
7271
|
+
R.FIGCAPTION,
|
|
7272
|
+
R.FIGURE,
|
|
7273
|
+
R.FOOTER,
|
|
7274
|
+
R.FORM,
|
|
7275
|
+
R.FRAME,
|
|
7276
|
+
R.FRAMESET,
|
|
7277
|
+
R.H1,
|
|
7278
|
+
R.H2,
|
|
7279
|
+
R.H3,
|
|
7280
|
+
R.H4,
|
|
7281
|
+
R.H5,
|
|
7282
|
+
R.H6,
|
|
7283
|
+
R.HEAD,
|
|
7284
|
+
R.HEADER,
|
|
7285
|
+
R.HGROUP,
|
|
7286
|
+
R.HR,
|
|
7287
|
+
R.HTML,
|
|
7288
|
+
R.IFRAME,
|
|
7289
|
+
R.IMG,
|
|
7290
|
+
R.INPUT,
|
|
7291
|
+
R.LI,
|
|
7292
|
+
R.LINK,
|
|
7293
|
+
R.LISTING,
|
|
7294
|
+
R.MAIN,
|
|
7295
|
+
R.MARQUEE,
|
|
7296
|
+
R.MENU,
|
|
7297
|
+
R.META,
|
|
7298
|
+
R.NAV,
|
|
7299
|
+
R.NOEMBED,
|
|
7300
|
+
R.NOFRAMES,
|
|
7301
|
+
R.NOSCRIPT,
|
|
7302
|
+
R.OBJECT,
|
|
7303
|
+
R.OL,
|
|
7304
|
+
R.P,
|
|
7305
|
+
R.PARAM,
|
|
7306
|
+
R.PLAINTEXT,
|
|
7307
|
+
R.PRE,
|
|
7308
|
+
R.SCRIPT,
|
|
7309
|
+
R.SECTION,
|
|
7310
|
+
R.SELECT,
|
|
7311
|
+
R.SOURCE,
|
|
7312
|
+
R.STYLE,
|
|
7313
|
+
R.SUMMARY,
|
|
7314
|
+
R.TABLE,
|
|
7315
|
+
R.TBODY,
|
|
7316
|
+
R.TD,
|
|
7317
|
+
R.TEMPLATE,
|
|
7318
|
+
R.TEXTAREA,
|
|
7319
|
+
R.TFOOT,
|
|
7320
|
+
R.TH,
|
|
7321
|
+
R.THEAD,
|
|
7322
|
+
R.TITLE,
|
|
7323
|
+
R.TR,
|
|
7324
|
+
R.TRACK,
|
|
7325
|
+
R.UL,
|
|
7326
|
+
R.WBR,
|
|
7327
|
+
R.XMP
|
|
7327
7328
|
]),
|
|
7328
|
-
[O.MATHML]: /* @__PURE__ */ new Set([
|
|
7329
|
-
[O.SVG]: /* @__PURE__ */ new Set([
|
|
7329
|
+
[O.MATHML]: /* @__PURE__ */ new Set([R.MI, R.MO, R.MN, R.MS, R.MTEXT, R.ANNOTATION_XML]),
|
|
7330
|
+
[O.SVG]: /* @__PURE__ */ new Set([R.TITLE, R.FOREIGN_OBJECT, R.DESC]),
|
|
7330
7331
|
[O.XLINK]: /* @__PURE__ */ new Set(),
|
|
7331
7332
|
[O.XML]: /* @__PURE__ */ new Set(),
|
|
7332
7333
|
[O.XMLNS]: /* @__PURE__ */ new Set()
|
|
7333
|
-
}, ir = /* @__PURE__ */ new Set([
|
|
7334
|
+
}, ir = /* @__PURE__ */ new Set([R.H1, R.H2, R.H3, R.H4, R.H5, R.H6]);
|
|
7334
7335
|
_.STYLE, _.SCRIPT, _.XMP, _.IFRAME, _.NOEMBED, _.NOFRAMES, _.PLAINTEXT;
|
|
7335
7336
|
var E;
|
|
7336
7337
|
(function(e) {
|
|
@@ -8248,9 +8249,9 @@ class Tf {
|
|
|
8248
8249
|
// Script data double escape start state
|
|
8249
8250
|
//------------------------------------------------------------------
|
|
8250
8251
|
_stateScriptDataDoubleEscapeStart(t) {
|
|
8251
|
-
if (this.preprocessor.startsWith(
|
|
8252
|
+
if (this.preprocessor.startsWith(de.SCRIPT, !1) && Ru(this.preprocessor.peek(de.SCRIPT.length))) {
|
|
8252
8253
|
this._emitCodePoint(t);
|
|
8253
|
-
for (let n = 0; n <
|
|
8254
|
+
for (let n = 0; n < de.SCRIPT.length; n++)
|
|
8254
8255
|
this._emitCodePoint(this._consume());
|
|
8255
8256
|
this.state = E.SCRIPT_DATA_DOUBLE_ESCAPED;
|
|
8256
8257
|
} else this._ensureHibernation() || (this.state = E.SCRIPT_DATA_ESCAPED, this._stateScriptDataEscaped(t));
|
|
@@ -8339,9 +8340,9 @@ class Tf {
|
|
|
8339
8340
|
// Script data double escape end state
|
|
8340
8341
|
//------------------------------------------------------------------
|
|
8341
8342
|
_stateScriptDataDoubleEscapeEnd(t) {
|
|
8342
|
-
if (this.preprocessor.startsWith(
|
|
8343
|
+
if (this.preprocessor.startsWith(de.SCRIPT, !1) && Ru(this.preprocessor.peek(de.SCRIPT.length))) {
|
|
8343
8344
|
this._emitCodePoint(t);
|
|
8344
|
-
for (let n = 0; n <
|
|
8345
|
+
for (let n = 0; n < de.SCRIPT.length; n++)
|
|
8345
8346
|
this._emitCodePoint(this._consume());
|
|
8346
8347
|
this.state = E.SCRIPT_DATA_ESCAPED;
|
|
8347
8348
|
} else this._ensureHibernation() || (this.state = E.SCRIPT_DATA_DOUBLE_ESCAPED, this._stateScriptDataDoubleEscaped(t));
|
|
@@ -8610,7 +8611,7 @@ class Tf {
|
|
|
8610
8611
|
// Markup declaration open state
|
|
8611
8612
|
//------------------------------------------------------------------
|
|
8612
8613
|
_stateMarkupDeclarationOpen(t) {
|
|
8613
|
-
this._consumeSequenceIfMatch(
|
|
8614
|
+
this._consumeSequenceIfMatch(de.DASH_DASH, !0) ? (this._createCommentToken(de.DASH_DASH.length + 1), this.state = E.COMMENT_START) : this._consumeSequenceIfMatch(de.DOCTYPE, !1) ? (this.currentLocation = this.getCurrentLocation(de.DOCTYPE.length + 1), this.state = E.DOCTYPE) : this._consumeSequenceIfMatch(de.CDATA_START, !0) ? this.inForeignNode ? this.state = E.CDATA_SECTION : (this._err(I.cdataInHtmlContent), this._createCommentToken(de.CDATA_START.length + 1), this.currentToken.data = "[CDATA[", this.state = E.BOGUS_COMMENT) : this._ensureHibernation() || (this._err(I.incorrectlyOpenedComment), this._createCommentToken(2), this.state = E.BOGUS_COMMENT, this._stateBogusComment(t));
|
|
8614
8615
|
}
|
|
8615
8616
|
// Comment start state
|
|
8616
8617
|
//------------------------------------------------------------------
|
|
@@ -8875,7 +8876,7 @@ class Tf {
|
|
|
8875
8876
|
break;
|
|
8876
8877
|
}
|
|
8877
8878
|
default:
|
|
8878
|
-
this._consumeSequenceIfMatch(
|
|
8879
|
+
this._consumeSequenceIfMatch(de.PUBLIC, !1) ? this.state = E.AFTER_DOCTYPE_PUBLIC_KEYWORD : this._consumeSequenceIfMatch(de.SYSTEM, !1) ? this.state = E.AFTER_DOCTYPE_SYSTEM_KEYWORD : this._ensureHibernation() || (this._err(I.invalidCharacterSequenceAfterDoctypeName), n.forceQuirks = !0, this.state = E.BOGUS_DOCTYPE, this._stateBogusDoctype(t));
|
|
8879
8880
|
}
|
|
8880
8881
|
}
|
|
8881
8882
|
// After DOCTYPE public keyword state
|
|
@@ -10680,7 +10681,7 @@ class Uu {
|
|
|
10680
10681
|
break;
|
|
10681
10682
|
}
|
|
10682
10683
|
case T.IN_TABLE: {
|
|
10683
|
-
|
|
10684
|
+
pt(this, t);
|
|
10684
10685
|
break;
|
|
10685
10686
|
}
|
|
10686
10687
|
case T.IN_TABLE_TEXT: {
|
|
@@ -11781,7 +11782,7 @@ function ud(e, t) {
|
|
|
11781
11782
|
function id(e, t) {
|
|
11782
11783
|
!e.formElement && e.openElements.tmplCount === 0 && (e._insertElement(t, O.HTML), e.formElement = e.openElements.current, e.openElements.pop());
|
|
11783
11784
|
}
|
|
11784
|
-
function
|
|
11785
|
+
function pt(e, t) {
|
|
11785
11786
|
switch (t.tagID) {
|
|
11786
11787
|
case s.TD:
|
|
11787
11788
|
case s.TH:
|
|
@@ -11878,7 +11879,7 @@ function kt(e, t) {
|
|
|
11878
11879
|
const Ta = /* @__PURE__ */ new Set([s.CAPTION, s.COL, s.COLGROUP, s.TBODY, s.TD, s.TFOOT, s.TH, s.THEAD, s.TR]);
|
|
11879
11880
|
function ad(e, t) {
|
|
11880
11881
|
const n = t.tagID;
|
|
11881
|
-
Ta.has(n) ? e.openElements.hasInTableScope(s.CAPTION) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(s.CAPTION), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = T.IN_TABLE,
|
|
11882
|
+
Ta.has(n) ? e.openElements.hasInTableScope(s.CAPTION) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(s.CAPTION), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = T.IN_TABLE, pt(e, t)) : fe(e, t);
|
|
11882
11883
|
}
|
|
11883
11884
|
function sd(e, t) {
|
|
11884
11885
|
const n = t.tagID;
|
|
@@ -11957,11 +11958,11 @@ function Nn(e, t) {
|
|
|
11957
11958
|
case s.TBODY:
|
|
11958
11959
|
case s.TFOOT:
|
|
11959
11960
|
case s.THEAD: {
|
|
11960
|
-
e.openElements.hasTableBodyContextInTableScope() && (e.openElements.clearBackToTableBodyContext(), e.openElements.pop(), e.insertionMode = T.IN_TABLE,
|
|
11961
|
+
e.openElements.hasTableBodyContextInTableScope() && (e.openElements.clearBackToTableBodyContext(), e.openElements.pop(), e.insertionMode = T.IN_TABLE, pt(e, t));
|
|
11961
11962
|
break;
|
|
11962
11963
|
}
|
|
11963
11964
|
default:
|
|
11964
|
-
|
|
11965
|
+
pt(e, t);
|
|
11965
11966
|
}
|
|
11966
11967
|
}
|
|
11967
11968
|
function sr(e, t) {
|
|
@@ -12008,7 +12009,7 @@ function kn(e, t) {
|
|
|
12008
12009
|
break;
|
|
12009
12010
|
}
|
|
12010
12011
|
default:
|
|
12011
|
-
|
|
12012
|
+
pt(e, t);
|
|
12012
12013
|
}
|
|
12013
12014
|
}
|
|
12014
12015
|
function ga(e, t) {
|
|
@@ -12151,7 +12152,7 @@ function dd(e, t) {
|
|
|
12151
12152
|
case s.TBODY:
|
|
12152
12153
|
case s.TFOOT:
|
|
12153
12154
|
case s.THEAD: {
|
|
12154
|
-
e.tmplInsertionModeStack[0] = T.IN_TABLE, e.insertionMode = T.IN_TABLE,
|
|
12155
|
+
e.tmplInsertionModeStack[0] = T.IN_TABLE, e.insertionMode = T.IN_TABLE, pt(e, t);
|
|
12155
12156
|
break;
|
|
12156
12157
|
}
|
|
12157
12158
|
case s.COL: {
|
|
@@ -12443,7 +12444,7 @@ function Md(e, t) {
|
|
|
12443
12444
|
}
|
|
12444
12445
|
function Bd(e, t) {
|
|
12445
12446
|
const n = e.tagName.toLowerCase();
|
|
12446
|
-
if (!t.parser.tokenizer.inForeignNode &&
|
|
12447
|
+
if (!t.parser.tokenizer.inForeignNode && Ls.includes(n) || t.parser.tokenizer.state === re.PLAINTEXT) return;
|
|
12447
12448
|
At(t, hr(e));
|
|
12448
12449
|
const r = {
|
|
12449
12450
|
type: q.END_TAG,
|
|
@@ -12503,7 +12504,7 @@ function zd(e, t, n) {
|
|
|
12503
12504
|
const u = fi((n || {}).ignore || []), a = Yd(t);
|
|
12504
12505
|
let i = -1;
|
|
12505
12506
|
for (; ++i < a.length; )
|
|
12506
|
-
|
|
12507
|
+
Rs(e, "text", o);
|
|
12507
12508
|
function o(c, h) {
|
|
12508
12509
|
let f = -1, p;
|
|
12509
12510
|
for (; ++f < h.length; ) {
|
|
@@ -12522,7 +12523,7 @@ function zd(e, t, n) {
|
|
|
12522
12523
|
function l(c, h) {
|
|
12523
12524
|
const f = h[h.length - 1], p = a[i][0], d = a[i][1];
|
|
12524
12525
|
let A = 0;
|
|
12525
|
-
const
|
|
12526
|
+
const L = f.children.indexOf(c);
|
|
12526
12527
|
let x = !1, w = [];
|
|
12527
12528
|
p.lastIndex = 0;
|
|
12528
12529
|
let D = p.exec(c.value);
|
|
@@ -12540,7 +12541,7 @@ function zd(e, t, n) {
|
|
|
12540
12541
|
break;
|
|
12541
12542
|
D = p.exec(c.value);
|
|
12542
12543
|
}
|
|
12543
|
-
return x ? (A < c.value.length && w.push({ type: "text", value: c.value.slice(A) }), f.children.splice(
|
|
12544
|
+
return x ? (A < c.value.length && w.push({ type: "text", value: c.value.slice(A) }), f.children.splice(L, 1, ...w)) : w = [c], L + w.length;
|
|
12544
12545
|
}
|
|
12545
12546
|
}
|
|
12546
12547
|
function Yd(e) {
|
|
@@ -12830,17 +12831,17 @@ function Cm(e, t) {
|
|
|
12830
12831
|
const n = t || {}, r = (n.align || []).concat(), u = n.stringLength || _m, a = [], i = [], o = [], l = [];
|
|
12831
12832
|
let c = 0, h = -1;
|
|
12832
12833
|
for (; ++h < e.length; ) {
|
|
12833
|
-
const C = [],
|
|
12834
|
+
const C = [], L = [];
|
|
12834
12835
|
let x = -1;
|
|
12835
12836
|
for (e[h].length > c && (c = e[h].length); ++x < e[h].length; ) {
|
|
12836
12837
|
const w = Im(e[h][x]);
|
|
12837
12838
|
if (n.alignDelimiters !== !1) {
|
|
12838
12839
|
const D = u(w);
|
|
12839
|
-
|
|
12840
|
+
L[x] = D, (l[x] === void 0 || D > l[x]) && (l[x] = D);
|
|
12840
12841
|
}
|
|
12841
12842
|
C.push(w);
|
|
12842
12843
|
}
|
|
12843
|
-
i[h] = C, o[h] =
|
|
12844
|
+
i[h] = C, o[h] = L;
|
|
12844
12845
|
}
|
|
12845
12846
|
let f = -1;
|
|
12846
12847
|
if (typeof r == "object" && "length" in r)
|
|
@@ -12855,26 +12856,26 @@ function Cm(e, t) {
|
|
|
12855
12856
|
const p = [], d = [];
|
|
12856
12857
|
for (; ++f < c; ) {
|
|
12857
12858
|
const C = a[f];
|
|
12858
|
-
let
|
|
12859
|
-
C === 99 ? (
|
|
12859
|
+
let L = "", x = "";
|
|
12860
|
+
C === 99 ? (L = ":", x = ":") : C === 108 ? L = ":" : C === 114 && (x = ":");
|
|
12860
12861
|
let w = n.alignDelimiters === !1 ? 1 : Math.max(
|
|
12861
12862
|
1,
|
|
12862
|
-
l[f] -
|
|
12863
|
+
l[f] - L.length - x.length
|
|
12863
12864
|
);
|
|
12864
|
-
const D =
|
|
12865
|
-
n.alignDelimiters !== !1 && (w =
|
|
12865
|
+
const D = L + "-".repeat(w) + x;
|
|
12866
|
+
n.alignDelimiters !== !1 && (w = L.length + w + x.length, w > l[f] && (l[f] = w), d[f] = w), p[f] = D;
|
|
12866
12867
|
}
|
|
12867
12868
|
i.splice(1, 0, p), o.splice(1, 0, d), h = -1;
|
|
12868
12869
|
const A = [];
|
|
12869
12870
|
for (; ++h < i.length; ) {
|
|
12870
|
-
const C = i[h],
|
|
12871
|
+
const C = i[h], L = o[h];
|
|
12871
12872
|
f = -1;
|
|
12872
12873
|
const x = [];
|
|
12873
12874
|
for (; ++f < c; ) {
|
|
12874
12875
|
const w = C[f] || "";
|
|
12875
12876
|
let D = "", z = "";
|
|
12876
12877
|
if (n.alignDelimiters !== !1) {
|
|
12877
|
-
const Y = l[f] - (
|
|
12878
|
+
const Y = l[f] - (L[f] || 0), k = a[f];
|
|
12878
12879
|
k === 114 ? D = " ".repeat(Y) : k === 99 ? Y % 2 ? (D = " ".repeat(Y / 2 + 0.5), z = " ".repeat(Y / 2 - 0.5)) : (D = " ".repeat(Y / 2), z = D) : z = " ".repeat(Y);
|
|
12879
12880
|
}
|
|
12880
12881
|
n.delimiterStart !== !1 && !f && x.push("|"), n.padding !== !1 && // Don’t add the opening space if we’re not aligning and the cell is
|
|
@@ -13039,7 +13040,7 @@ function vt(e) {
|
|
|
13039
13040
|
return "&#x" + e.toString(16).toUpperCase() + ";";
|
|
13040
13041
|
}
|
|
13041
13042
|
function En(e, t, n) {
|
|
13042
|
-
const r =
|
|
13043
|
+
const r = mt(e), u = mt(t);
|
|
13043
13044
|
return r === void 0 ? u === void 0 ? (
|
|
13044
13045
|
// Letter inside:
|
|
13045
13046
|
// we have to encode *both* letters for `_` as it is looser.
|
|
@@ -13102,7 +13103,7 @@ function Mm(e, t) {
|
|
|
13102
13103
|
let n = !1;
|
|
13103
13104
|
return Tn(e, function(r) {
|
|
13104
13105
|
if ("value" in r && /\r?\n|\r/.test(r.value) || r.type === "break")
|
|
13105
|
-
return n = !0,
|
|
13106
|
+
return n = !0, Ds;
|
|
13106
13107
|
}), !!((!e.depth || e.depth < 3) && mr(e) && (t.options.setext || n));
|
|
13107
13108
|
}
|
|
13108
13109
|
function Bm(e, t, n, r) {
|
|
@@ -13571,17 +13572,17 @@ function o1(e) {
|
|
|
13571
13572
|
tableRow: o
|
|
13572
13573
|
}
|
|
13573
13574
|
};
|
|
13574
|
-
function i(d, A, C,
|
|
13575
|
-
return c(h(d, C,
|
|
13575
|
+
function i(d, A, C, L) {
|
|
13576
|
+
return c(h(d, C, L), d.align);
|
|
13576
13577
|
}
|
|
13577
|
-
function o(d, A, C,
|
|
13578
|
-
const x = f(d, C,
|
|
13578
|
+
function o(d, A, C, L) {
|
|
13579
|
+
const x = f(d, C, L), w = c([x]);
|
|
13579
13580
|
return w.slice(0, w.indexOf(`
|
|
13580
13581
|
`));
|
|
13581
13582
|
}
|
|
13582
|
-
function l(d, A, C,
|
|
13583
|
+
function l(d, A, C, L) {
|
|
13583
13584
|
const x = C.enter("tableCell"), w = C.enter("phrasing"), D = C.containerPhrasing(d, {
|
|
13584
|
-
...
|
|
13585
|
+
...L,
|
|
13585
13586
|
before: a,
|
|
13586
13587
|
after: a
|
|
13587
13588
|
});
|
|
@@ -13599,24 +13600,24 @@ function o1(e) {
|
|
|
13599
13600
|
});
|
|
13600
13601
|
}
|
|
13601
13602
|
function h(d, A, C) {
|
|
13602
|
-
const
|
|
13603
|
+
const L = d.children;
|
|
13603
13604
|
let x = -1;
|
|
13604
13605
|
const w = [], D = A.enter("table");
|
|
13605
|
-
for (; ++x <
|
|
13606
|
-
w[x] = f(
|
|
13606
|
+
for (; ++x < L.length; )
|
|
13607
|
+
w[x] = f(L[x], A, C);
|
|
13607
13608
|
return D(), w;
|
|
13608
13609
|
}
|
|
13609
13610
|
function f(d, A, C) {
|
|
13610
|
-
const
|
|
13611
|
+
const L = d.children;
|
|
13611
13612
|
let x = -1;
|
|
13612
13613
|
const w = [], D = A.enter("tableRow");
|
|
13613
|
-
for (; ++x <
|
|
13614
|
-
w[x] = l(
|
|
13614
|
+
for (; ++x < L.length; )
|
|
13615
|
+
w[x] = l(L[x], d, A, C);
|
|
13615
13616
|
return D(), w;
|
|
13616
13617
|
}
|
|
13617
13618
|
function p(d, A, C) {
|
|
13618
|
-
let
|
|
13619
|
-
return C.stack.includes("tableCell") && (
|
|
13619
|
+
let L = Ya.inlineCode(d, A, C);
|
|
13620
|
+
return C.stack.includes("tableCell") && (L = L.replace(/\|/g, "\\$&")), L;
|
|
13620
13621
|
}
|
|
13621
13622
|
}
|
|
13622
13623
|
function l1() {
|
|
@@ -13793,7 +13794,7 @@ function _1(e, t, n) {
|
|
|
13793
13794
|
return e.consume(f), u = !0, l;
|
|
13794
13795
|
}
|
|
13795
13796
|
function h(f) {
|
|
13796
|
-
return a && u &&
|
|
13797
|
+
return a && u && he(r.previous) ? (e.exit("literalAutolinkEmail"), e.exit("literalAutolink"), t(f)) : n(f);
|
|
13797
13798
|
}
|
|
13798
13799
|
}
|
|
13799
13800
|
function C1(e, t, n) {
|
|
@@ -13814,7 +13815,7 @@ function I1(e, t, n) {
|
|
|
13814
13815
|
return (f === 72 || f === 104) && Xa.call(r, r.previous) && !Fr(r.events) ? (e.enter("literalAutolink"), e.enter("literalAutolinkHttp"), u += String.fromCodePoint(f), e.consume(f), o) : n(f);
|
|
13815
13816
|
}
|
|
13816
13817
|
function o(f) {
|
|
13817
|
-
if (
|
|
13818
|
+
if (he(f) && u.length < 5)
|
|
13818
13819
|
return u += String.fromCodePoint(f), e.consume(f), o;
|
|
13819
13820
|
if (f === 58) {
|
|
13820
13821
|
const p = u.toLowerCase();
|
|
@@ -13879,10 +13880,10 @@ function k1(e, t, n) {
|
|
|
13879
13880
|
return o === null || o === 40 || o === 91 || J(o) || tt(o) ? t(o) : r(o);
|
|
13880
13881
|
}
|
|
13881
13882
|
function a(o) {
|
|
13882
|
-
return
|
|
13883
|
+
return he(o) ? i(o) : n(o);
|
|
13883
13884
|
}
|
|
13884
13885
|
function i(o) {
|
|
13885
|
-
return o === 59 ? (e.consume(o), r) :
|
|
13886
|
+
return o === 59 ? (e.consume(o), r) : he(o) ? (e.consume(o), i) : n(o);
|
|
13886
13887
|
}
|
|
13887
13888
|
}
|
|
13888
13889
|
function O1(e, t, n) {
|
|
@@ -13898,7 +13899,7 @@ function Ga(e) {
|
|
|
13898
13899
|
return e === null || e === 40 || e === 42 || e === 95 || e === 91 || e === 93 || e === 126 || J(e);
|
|
13899
13900
|
}
|
|
13900
13901
|
function Xa(e) {
|
|
13901
|
-
return !
|
|
13902
|
+
return !he(e);
|
|
13902
13903
|
}
|
|
13903
13904
|
function Ka(e) {
|
|
13904
13905
|
return !(e === 47 || or(e));
|
|
@@ -14180,12 +14181,12 @@ function z1(e) {
|
|
|
14180
14181
|
return c === 126 && h[h.length - 1][1].type !== "characterEscape" ? l(A) : (i.enter("strikethroughSequenceTemporary"), d(A));
|
|
14181
14182
|
}
|
|
14182
14183
|
function d(A) {
|
|
14183
|
-
const C =
|
|
14184
|
+
const C = mt(c);
|
|
14184
14185
|
if (A === 126)
|
|
14185
14186
|
return f > 1 ? l(A) : (i.consume(A), f++, d);
|
|
14186
14187
|
if (f < 2 && !n) return l(A);
|
|
14187
|
-
const
|
|
14188
|
-
return
|
|
14188
|
+
const L = i.exit("strikethroughSequenceTemporary"), x = mt(A);
|
|
14189
|
+
return L._open = !x || x === 2 && !!C, L._close = !C || C === 2 && !!x, o(A);
|
|
14189
14190
|
}
|
|
14190
14191
|
}
|
|
14191
14192
|
}
|
|
@@ -14322,12 +14323,12 @@ function W1(e, t, n) {
|
|
|
14322
14323
|
return r.interrupt = !1, r.parser.lazy[r.now().line] ? n(S) : (e.enter("tableDelimiterRow"), i = !1, j(S) ? W(e, A, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(S) : A(S));
|
|
14323
14324
|
}
|
|
14324
14325
|
function A(S) {
|
|
14325
|
-
return S === 45 || S === 58 ?
|
|
14326
|
+
return S === 45 || S === 58 ? L(S) : S === 124 ? (i = !0, e.enter("tableCellDivider"), e.consume(S), e.exit("tableCellDivider"), C) : Y(S);
|
|
14326
14327
|
}
|
|
14327
14328
|
function C(S) {
|
|
14328
|
-
return j(S) ? W(e,
|
|
14329
|
+
return j(S) ? W(e, L, "whitespace")(S) : L(S);
|
|
14329
14330
|
}
|
|
14330
|
-
function
|
|
14331
|
+
function L(S) {
|
|
14331
14332
|
return S === 58 ? (a += 1, i = !0, e.enter("tableDelimiterMarker"), e.consume(S), e.exit("tableDelimiterMarker"), x) : S === 45 ? (a += 1, x(S)) : S === null || H(S) ? z(S) : Y(S);
|
|
14332
14333
|
}
|
|
14333
14334
|
function x(S) {
|
|
@@ -14489,7 +14490,7 @@ const $a = si({
|
|
|
14489
14490
|
}, [t, n]), { ref: li((u) => {
|
|
14490
14491
|
u && (e.current = u);
|
|
14491
14492
|
}, []) };
|
|
14492
|
-
},
|
|
14493
|
+
}, IE = ({ children: e }) => {
|
|
14493
14494
|
const [t, n] = sn(""), r = Je(null), u = Je(/* @__PURE__ */ new Set()), a = Je(/* @__PURE__ */ new Set());
|
|
14494
14495
|
et(() => (r.current = new IntersectionObserver(
|
|
14495
14496
|
(l) => {
|
|
@@ -14533,26 +14534,54 @@ const $a = si({
|
|
|
14533
14534
|
() => ({ activeAnchor: t, setActiveAnchor: n, ...i }),
|
|
14534
14535
|
[t, i]
|
|
14535
14536
|
);
|
|
14536
|
-
return /* @__PURE__ */
|
|
14537
|
-
}
|
|
14538
|
-
|
|
14539
|
-
|
|
14540
|
-
|
|
14541
|
-
|
|
14542
|
-
|
|
14543
|
-
|
|
14544
|
-
|
|
14545
|
-
|
|
14546
|
-
|
|
14547
|
-
|
|
14548
|
-
|
|
14549
|
-
|
|
14550
|
-
|
|
14551
|
-
|
|
14552
|
-
|
|
14553
|
-
|
|
14554
|
-
));
|
|
14555
|
-
|
|
14537
|
+
return /* @__PURE__ */ y.jsx($a, { value: o, children: e });
|
|
14538
|
+
};
|
|
14539
|
+
function np({
|
|
14540
|
+
delayDuration: e = 0,
|
|
14541
|
+
...t
|
|
14542
|
+
}) {
|
|
14543
|
+
return /* @__PURE__ */ y.jsx(
|
|
14544
|
+
ft.Provider,
|
|
14545
|
+
{
|
|
14546
|
+
"data-slot": "tooltip-provider",
|
|
14547
|
+
delayDuration: e,
|
|
14548
|
+
...t
|
|
14549
|
+
}
|
|
14550
|
+
);
|
|
14551
|
+
}
|
|
14552
|
+
function rp({
|
|
14553
|
+
...e
|
|
14554
|
+
}) {
|
|
14555
|
+
return /* @__PURE__ */ y.jsx(np, { children: /* @__PURE__ */ y.jsx(ft.Root, { "data-slot": "tooltip", ...e }) });
|
|
14556
|
+
}
|
|
14557
|
+
function up({
|
|
14558
|
+
...e
|
|
14559
|
+
}) {
|
|
14560
|
+
return /* @__PURE__ */ y.jsx(ft.Trigger, { "data-slot": "tooltip-trigger", ...e });
|
|
14561
|
+
}
|
|
14562
|
+
function ip({
|
|
14563
|
+
className: e,
|
|
14564
|
+
sideOffset: t = 0,
|
|
14565
|
+
children: n,
|
|
14566
|
+
...r
|
|
14567
|
+
}) {
|
|
14568
|
+
return /* @__PURE__ */ y.jsx(ft.Portal, { children: /* @__PURE__ */ y.jsxs(
|
|
14569
|
+
ft.Content,
|
|
14570
|
+
{
|
|
14571
|
+
"data-slot": "tooltip-content",
|
|
14572
|
+
sideOffset: t,
|
|
14573
|
+
className: Vs(
|
|
14574
|
+
"bg-foreground text-background animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",
|
|
14575
|
+
e
|
|
14576
|
+
),
|
|
14577
|
+
...r,
|
|
14578
|
+
children: [
|
|
14579
|
+
n,
|
|
14580
|
+
/* @__PURE__ */ y.jsx(ft.Arrow, { className: "bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px]" })
|
|
14581
|
+
]
|
|
14582
|
+
}
|
|
14583
|
+
) });
|
|
14584
|
+
}
|
|
14556
14585
|
const ap = {
|
|
14557
14586
|
green: "bg-green-400 dark:bg-green-800",
|
|
14558
14587
|
blue: "bg-sky-400 dark:bg-sky-800",
|
|
@@ -14576,10 +14605,10 @@ const ap = {
|
|
|
14576
14605
|
label: t,
|
|
14577
14606
|
className: n,
|
|
14578
14607
|
invert: r
|
|
14579
|
-
}) => /* @__PURE__ */
|
|
14608
|
+
}) => /* @__PURE__ */ y.jsx(
|
|
14580
14609
|
"span",
|
|
14581
14610
|
{
|
|
14582
|
-
className:
|
|
14611
|
+
className: Te(
|
|
14583
14612
|
"flex items-center duration-200 transition-opacity text-center uppercase text-[0.65rem] leading-5 font-bold rounded-sm text-background dark:text-zinc-50 h-full",
|
|
14584
14613
|
e === "outline" ? "px-3" : "mt-0.5 px-1",
|
|
14585
14614
|
r ? sp[e] : ap[e],
|
|
@@ -14665,7 +14694,7 @@ function Ap(e, t, n) {
|
|
|
14665
14694
|
if (ei(t).length !== u)
|
|
14666
14695
|
return !1;
|
|
14667
14696
|
for (; u-- > 0; )
|
|
14668
|
-
if (!
|
|
14697
|
+
if (!Ja(e, t, n, r[u]))
|
|
14669
14698
|
return !1;
|
|
14670
14699
|
return !0;
|
|
14671
14700
|
}
|
|
@@ -14674,7 +14703,7 @@ function Ot(e, t, n) {
|
|
|
14674
14703
|
if (Ju(t).length !== u)
|
|
14675
14704
|
return !1;
|
|
14676
14705
|
for (var a, i, o; u-- > 0; )
|
|
14677
|
-
if (a = r[u], !
|
|
14706
|
+
if (a = r[u], !Ja(e, t, n, a) || (i = Zu(e, a), o = Zu(t, a), (i || o) && (!i || !o || i.configurable !== o.configurable || i.enumerable !== o.enumerable || i.writable !== o.writable)))
|
|
14678
14707
|
return !1;
|
|
14679
14708
|
return !0;
|
|
14680
14709
|
}
|
|
@@ -14715,13 +14744,13 @@ function Ip(e, t) {
|
|
|
14715
14744
|
function xp(e, t) {
|
|
14716
14745
|
return e.hostname === t.hostname && e.pathname === t.pathname && e.protocol === t.protocol && e.port === t.port && e.hash === t.hash && e.username === t.username && e.password === t.password;
|
|
14717
14746
|
}
|
|
14718
|
-
function
|
|
14747
|
+
function Ja(e, t, n, r) {
|
|
14719
14748
|
return (r === mp || r === dp || r === hp) && (e.$$typeof || t.$$typeof) ? !0 : fp(t, r) && n.equals(e[r], t[r], r, r, e, t, n);
|
|
14720
14749
|
}
|
|
14721
14750
|
var Sp = "[object Arguments]", Np = "[object Boolean]", kp = "[object Date]", Op = "[object Error]", yp = "[object Map]", Lp = "[object Number]", Rp = "[object Object]", Dp = "[object RegExp]", Pp = "[object Set]", wp = "[object String]", Mp = "[object URL]", Bp = Array.isArray, ri = typeof ArrayBuffer == "function" && ArrayBuffer.isView ? ArrayBuffer.isView : null, ui = Object.assign, Fp = Object.prototype.toString.call.bind(Object.prototype.toString);
|
|
14722
14751
|
function Hp(e) {
|
|
14723
14752
|
var t = e.areArraysEqual, n = e.areDatesEqual, r = e.areErrorsEqual, u = e.areFunctionsEqual, a = e.areMapsEqual, i = e.areNumbersEqual, o = e.areObjectsEqual, l = e.arePrimitiveWrappersEqual, c = e.areRegExpsEqual, h = e.areSetsEqual, f = e.areTypedArraysEqual, p = e.areUrlsEqual;
|
|
14724
|
-
return function(A, C,
|
|
14753
|
+
return function(A, C, L) {
|
|
14725
14754
|
if (A === C)
|
|
14726
14755
|
return !0;
|
|
14727
14756
|
if (A == null || C == null)
|
|
@@ -14730,26 +14759,26 @@ function Hp(e) {
|
|
|
14730
14759
|
if (x !== typeof C)
|
|
14731
14760
|
return !1;
|
|
14732
14761
|
if (x !== "object")
|
|
14733
|
-
return x === "number" ? i(A, C,
|
|
14762
|
+
return x === "number" ? i(A, C, L) : x === "function" ? u(A, C, L) : !1;
|
|
14734
14763
|
var w = A.constructor;
|
|
14735
14764
|
if (w !== C.constructor)
|
|
14736
14765
|
return !1;
|
|
14737
14766
|
if (w === Object)
|
|
14738
|
-
return o(A, C,
|
|
14767
|
+
return o(A, C, L);
|
|
14739
14768
|
if (Bp(A))
|
|
14740
|
-
return t(A, C,
|
|
14769
|
+
return t(A, C, L);
|
|
14741
14770
|
if (ri != null && ri(A))
|
|
14742
|
-
return f(A, C,
|
|
14771
|
+
return f(A, C, L);
|
|
14743
14772
|
if (w === Date)
|
|
14744
|
-
return n(A, C,
|
|
14773
|
+
return n(A, C, L);
|
|
14745
14774
|
if (w === RegExp)
|
|
14746
|
-
return c(A, C,
|
|
14775
|
+
return c(A, C, L);
|
|
14747
14776
|
if (w === Map)
|
|
14748
|
-
return a(A, C,
|
|
14777
|
+
return a(A, C, L);
|
|
14749
14778
|
if (w === Set)
|
|
14750
|
-
return h(A, C,
|
|
14779
|
+
return h(A, C, L);
|
|
14751
14780
|
var D = Fp(A);
|
|
14752
|
-
return D === kp ? n(A, C,
|
|
14781
|
+
return D === kp ? n(A, C, L) : D === Dp ? c(A, C, L) : D === yp ? a(A, C, L) : D === Pp ? h(A, C, L) : D === Rp ? typeof A.then != "function" && typeof C.then != "function" && o(A, C, L) : D === Mp ? p(A, C, L) : D === Op ? r(A, C, L) : D === Sp ? o(A, C, L) : D === Np || D === Lp || D === wp ? l(A, C, L) : !1;
|
|
14753
14782
|
};
|
|
14754
14783
|
}
|
|
14755
14784
|
function Up(e) {
|
|
@@ -14854,35 +14883,35 @@ const qp = ({
|
|
|
14854
14883
|
category: e,
|
|
14855
14884
|
onRequestClose: t
|
|
14856
14885
|
}) => {
|
|
14857
|
-
const n =
|
|
14886
|
+
const n = As(e), [r, u] = sn(!1), a = gn(), i = e.collapsible ?? !0, o = e.collapsed ?? !0, l = !!(!i || !o || n), [c, h] = sn(l), f = vs(e.link?.path ?? "");
|
|
14858
14887
|
et(() => {
|
|
14859
14888
|
n && h(!0);
|
|
14860
14889
|
}, [n]);
|
|
14861
|
-
const p = i && /* @__PURE__ */
|
|
14862
|
-
|
|
14890
|
+
const p = i && /* @__PURE__ */ y.jsx(
|
|
14891
|
+
Qs,
|
|
14863
14892
|
{
|
|
14864
14893
|
onClick: (C) => {
|
|
14865
|
-
C.preventDefault(), h((
|
|
14894
|
+
C.preventDefault(), h((L) => !L), u(!0);
|
|
14866
14895
|
},
|
|
14867
14896
|
variant: "ghost",
|
|
14868
14897
|
size: "icon",
|
|
14869
14898
|
className: "size-6 hover:bg-[hsl(from_var(--accent)_h_s_calc(l+6*var(--dark)))]",
|
|
14870
|
-
children: /* @__PURE__ */
|
|
14871
|
-
|
|
14899
|
+
children: /* @__PURE__ */ y.jsx(
|
|
14900
|
+
Ys,
|
|
14872
14901
|
{
|
|
14873
14902
|
size: 16,
|
|
14874
|
-
className:
|
|
14903
|
+
className: Te(
|
|
14875
14904
|
r && "transition",
|
|
14876
14905
|
"shrink-0 group-data-[state=open]:rotate-90 rtl:rotate-180"
|
|
14877
14906
|
)
|
|
14878
14907
|
}
|
|
14879
14908
|
)
|
|
14880
14909
|
}
|
|
14881
|
-
), d = e.icon && /* @__PURE__ */
|
|
14910
|
+
), d = e.icon && /* @__PURE__ */ y.jsx(
|
|
14882
14911
|
e.icon,
|
|
14883
14912
|
{
|
|
14884
14913
|
size: 16,
|
|
14885
|
-
className:
|
|
14914
|
+
className: Te("align-[-0.125em] ", f && "text-primary")
|
|
14886
14915
|
}
|
|
14887
14916
|
), A = en({
|
|
14888
14917
|
className: [
|
|
@@ -14890,7 +14919,7 @@ const qp = ({
|
|
|
14890
14919
|
i || typeof e.link < "u" ? "cursor-pointer" : "cursor-default hover:bg-transparent"
|
|
14891
14920
|
]
|
|
14892
14921
|
});
|
|
14893
|
-
return /* @__PURE__ */
|
|
14922
|
+
return /* @__PURE__ */ y.jsxs(
|
|
14894
14923
|
yn.Root,
|
|
14895
14924
|
{
|
|
14896
14925
|
className: "flex flex-col",
|
|
@@ -14898,7 +14927,7 @@ const qp = ({
|
|
|
14898
14927
|
open: c,
|
|
14899
14928
|
onOpenChange: () => h(!0),
|
|
14900
14929
|
children: [
|
|
14901
|
-
/* @__PURE__ */
|
|
14930
|
+
/* @__PURE__ */ y.jsx(yn.Trigger, { className: "group", asChild: !0, disabled: !i, children: e.link?.type === "doc" ? /* @__PURE__ */ y.jsxs(
|
|
14902
14931
|
dr,
|
|
14903
14932
|
{
|
|
14904
14933
|
to: {
|
|
@@ -14911,15 +14940,15 @@ const qp = ({
|
|
|
14911
14940
|
},
|
|
14912
14941
|
children: [
|
|
14913
14942
|
d,
|
|
14914
|
-
/* @__PURE__ */
|
|
14915
|
-
/* @__PURE__ */
|
|
14943
|
+
/* @__PURE__ */ y.jsxs("div", { className: "flex items-center gap-2 justify-between w-full text-foreground/80 group-aria-[current='page']:text-primary", children: [
|
|
14944
|
+
/* @__PURE__ */ y.jsx("div", { className: "truncate", children: e.label }),
|
|
14916
14945
|
p
|
|
14917
14946
|
] })
|
|
14918
14947
|
]
|
|
14919
14948
|
}
|
|
14920
14949
|
) : (
|
|
14921
14950
|
// biome-ignore lint/a11y/noStaticElementInteractions: This is only to track if the user has interacted
|
|
14922
|
-
/* @__PURE__ */
|
|
14951
|
+
/* @__PURE__ */ y.jsxs(
|
|
14923
14952
|
"div",
|
|
14924
14953
|
{
|
|
14925
14954
|
onClick: () => u(!0),
|
|
@@ -14929,24 +14958,24 @@ const qp = ({
|
|
|
14929
14958
|
className: A,
|
|
14930
14959
|
children: [
|
|
14931
14960
|
d,
|
|
14932
|
-
/* @__PURE__ */
|
|
14933
|
-
/* @__PURE__ */
|
|
14961
|
+
/* @__PURE__ */ y.jsxs("div", { className: "flex items-center justify-between w-full", children: [
|
|
14962
|
+
/* @__PURE__ */ y.jsx("div", { className: "flex gap-2 truncate w-full", children: e.label }),
|
|
14934
14963
|
p
|
|
14935
14964
|
] })
|
|
14936
14965
|
]
|
|
14937
14966
|
}
|
|
14938
14967
|
)
|
|
14939
14968
|
) }),
|
|
14940
|
-
/* @__PURE__ */
|
|
14969
|
+
/* @__PURE__ */ y.jsx(
|
|
14941
14970
|
yn.Content,
|
|
14942
14971
|
{
|
|
14943
|
-
className:
|
|
14972
|
+
className: Te(
|
|
14944
14973
|
// CollapsibleContent class is used to animate and it should only be applied when the user has triggered the toggle
|
|
14945
14974
|
r && "CollapsibleContent",
|
|
14946
14975
|
e.items.length === 0 && "hidden",
|
|
14947
14976
|
"ms-6 my-1"
|
|
14948
14977
|
),
|
|
14949
|
-
children: /* @__PURE__ */
|
|
14978
|
+
children: /* @__PURE__ */ y.jsx("ul", { className: "relative after:absolute after:-start-(--padding-nav-item) after:translate-x-[1.5px] after:top-0 after:bottom-0 after:w-px after:bg-border", children: e.items.map((C) => /* @__PURE__ */ y.jsx(
|
|
14950
14979
|
jp,
|
|
14951
14980
|
{
|
|
14952
14981
|
onRequestClose: t,
|
|
@@ -14959,8 +14988,8 @@ const qp = ({
|
|
|
14959
14988
|
]
|
|
14960
14989
|
}
|
|
14961
14990
|
);
|
|
14962
|
-
},
|
|
14963
|
-
|
|
14991
|
+
}, Za = cr(qp, Yp);
|
|
14992
|
+
Za.displayName = "NavigationCategory";
|
|
14964
14993
|
const ii = ({
|
|
14965
14994
|
label: e,
|
|
14966
14995
|
className: t
|
|
@@ -14968,44 +14997,33 @@ const ii = ({
|
|
|
14968
14997
|
const n = Je(null), [r, u] = sn(!1);
|
|
14969
14998
|
return et(() => {
|
|
14970
14999
|
n.current && n.current.offsetWidth < n.current.scrollWidth && u(!0);
|
|
14971
|
-
}, []), /* @__PURE__ */
|
|
14972
|
-
/* @__PURE__ */
|
|
15000
|
+
}, []), /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
|
|
15001
|
+
/* @__PURE__ */ y.jsx(
|
|
14973
15002
|
"span",
|
|
14974
15003
|
{
|
|
14975
|
-
className:
|
|
15004
|
+
className: Te("truncate flex-1", t),
|
|
14976
15005
|
title: e,
|
|
14977
15006
|
ref: n,
|
|
14978
15007
|
children: e
|
|
14979
15008
|
}
|
|
14980
15009
|
),
|
|
14981
|
-
r && /* @__PURE__ */
|
|
14982
|
-
/* @__PURE__ */
|
|
14983
|
-
/* @__PURE__ */
|
|
14984
|
-
|
|
14985
|
-
{
|
|
14986
|
-
className: "max-w-64 rounded-lg",
|
|
14987
|
-
side: "bottom",
|
|
14988
|
-
align: "center",
|
|
14989
|
-
children: [
|
|
14990
|
-
/* @__PURE__ */ R.jsx(ip, {}),
|
|
14991
|
-
e
|
|
14992
|
-
]
|
|
14993
|
-
}
|
|
14994
|
-
)
|
|
14995
|
-
] }) })
|
|
15010
|
+
r && /* @__PURE__ */ y.jsxs(rp, { disableHoverableContent: !0, children: [
|
|
15011
|
+
/* @__PURE__ */ y.jsx(up, { className: "absolute inset-0 z-10" }),
|
|
15012
|
+
/* @__PURE__ */ y.jsx(ip, { className: "max-w-64", side: "bottom", align: "center", children: e })
|
|
15013
|
+
] })
|
|
14996
15014
|
] });
|
|
14997
|
-
},
|
|
15015
|
+
}, es = "data-anchor", jp = ({
|
|
14998
15016
|
item: e,
|
|
14999
15017
|
onRequestClose: t
|
|
15000
15018
|
}) => {
|
|
15001
|
-
const n = gn(), { activeAnchor: r } = Hr(), u =
|
|
15002
|
-
if (!
|
|
15019
|
+
const n = gn(), { activeAnchor: r } = Hr(), u = Ws(), a = fr();
|
|
15020
|
+
if (!_s(u, a)(e))
|
|
15003
15021
|
return null;
|
|
15004
15022
|
switch (e.type) {
|
|
15005
15023
|
case "category":
|
|
15006
|
-
return /* @__PURE__ */
|
|
15024
|
+
return /* @__PURE__ */ y.jsx(Za, { category: e, onRequestClose: t });
|
|
15007
15025
|
case "doc":
|
|
15008
|
-
return /* @__PURE__ */
|
|
15026
|
+
return /* @__PURE__ */ y.jsxs(
|
|
15009
15027
|
dr,
|
|
15010
15028
|
{
|
|
15011
15029
|
viewTransition: !0,
|
|
@@ -15014,10 +15032,10 @@ const ii = ({
|
|
|
15014
15032
|
onClick: t,
|
|
15015
15033
|
end: !0,
|
|
15016
15034
|
children: [
|
|
15017
|
-
e.icon && /* @__PURE__ */
|
|
15018
|
-
e.badge ? /* @__PURE__ */
|
|
15019
|
-
e.label && /* @__PURE__ */
|
|
15020
|
-
/* @__PURE__ */
|
|
15035
|
+
e.icon && /* @__PURE__ */ y.jsx(e.icon, { size: 16, className: "align-[-0.125em]" }),
|
|
15036
|
+
e.badge ? /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
|
|
15037
|
+
e.label && /* @__PURE__ */ y.jsx(ii, { label: e.label, className: "flex-1" }),
|
|
15038
|
+
/* @__PURE__ */ y.jsx(Ku, { ...e.badge })
|
|
15021
15039
|
] }) : e.label
|
|
15022
15040
|
]
|
|
15023
15041
|
}
|
|
@@ -15025,7 +15043,7 @@ const ii = ({
|
|
|
15025
15043
|
case "link":
|
|
15026
15044
|
case "custom-page": {
|
|
15027
15045
|
const i = e.type === "link" ? e.to : Xn(e.path);
|
|
15028
|
-
return i.startsWith("http") ? /* @__PURE__ */
|
|
15046
|
+
return i.startsWith("http") ? /* @__PURE__ */ y.jsxs(
|
|
15029
15047
|
"a",
|
|
15030
15048
|
{
|
|
15031
15049
|
className: en(),
|
|
@@ -15034,30 +15052,30 @@ const ii = ({
|
|
|
15034
15052
|
rel: "noopener noreferrer",
|
|
15035
15053
|
onClick: t,
|
|
15036
15054
|
children: [
|
|
15037
|
-
e.icon && /* @__PURE__ */
|
|
15038
|
-
/* @__PURE__ */
|
|
15039
|
-
/* @__PURE__ */
|
|
15055
|
+
e.icon && /* @__PURE__ */ y.jsx(e.icon, { size: 16, className: "align-[-0.125em]" }),
|
|
15056
|
+
/* @__PURE__ */ y.jsx("span", { className: "whitespace-normal", children: e.label }),
|
|
15057
|
+
/* @__PURE__ */ y.jsx("span", { className: "whitespace-nowrap", children: /* @__PURE__ */ y.jsx(qs, { className: "inline -translate-y-0.5", size: 12 }) })
|
|
15040
15058
|
]
|
|
15041
15059
|
}
|
|
15042
|
-
) : /* @__PURE__ */
|
|
15043
|
-
|
|
15060
|
+
) : /* @__PURE__ */ y.jsxs(
|
|
15061
|
+
ns,
|
|
15044
15062
|
{
|
|
15045
15063
|
to: {
|
|
15046
15064
|
pathname: i.split("#")[0],
|
|
15047
15065
|
hash: i.split("#")[1],
|
|
15048
15066
|
search: n.search
|
|
15049
15067
|
},
|
|
15050
|
-
[
|
|
15068
|
+
[es]: i.split("#")[1],
|
|
15051
15069
|
className: en({
|
|
15052
15070
|
isActive: i === [n.pathname, r].filter(Boolean).join("#")
|
|
15053
15071
|
}),
|
|
15054
15072
|
onClick: t,
|
|
15055
15073
|
children: [
|
|
15056
|
-
e.icon && /* @__PURE__ */
|
|
15057
|
-
e.badge ? /* @__PURE__ */
|
|
15058
|
-
e.label && /* @__PURE__ */
|
|
15059
|
-
/* @__PURE__ */
|
|
15060
|
-
] }) : /* @__PURE__ */
|
|
15074
|
+
e.icon && /* @__PURE__ */ y.jsx(e.icon, { size: 16, className: "align-[-0.125em]" }),
|
|
15075
|
+
e.badge ? /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
|
|
15076
|
+
e.label && /* @__PURE__ */ y.jsx(ii, { label: e.label }),
|
|
15077
|
+
/* @__PURE__ */ y.jsx(Ku, { ...e.badge })
|
|
15078
|
+
] }) : /* @__PURE__ */ y.jsx("span", { className: "break-all", children: e.label })
|
|
15061
15079
|
]
|
|
15062
15080
|
}
|
|
15063
15081
|
);
|
|
@@ -15067,21 +15085,21 @@ const ii = ({
|
|
|
15067
15085
|
if (!e) return;
|
|
15068
15086
|
const n = e.getBoundingClientRect();
|
|
15069
15087
|
n.top >= 0 && n.left >= 0 && n.bottom <= (window.innerHeight || document.documentElement.clientHeight) && n.right <= (window.innerWidth || document.documentElement.clientWidth) || e.scrollIntoView(t);
|
|
15070
|
-
},
|
|
15088
|
+
}, ts = () => {
|
|
15071
15089
|
const { setActiveAnchor: e } = Hr();
|
|
15072
15090
|
return li(
|
|
15073
15091
|
(n) => {
|
|
15074
15092
|
const r = n.replace(/^#/, ""), u = r.split("/").at(0);
|
|
15075
15093
|
if (!u) return !1;
|
|
15076
15094
|
const a = document.getElementById(decodeURIComponent(r)), i = document.querySelector(
|
|
15077
|
-
`[${
|
|
15095
|
+
`[${es}="${u}"]`
|
|
15078
15096
|
);
|
|
15079
15097
|
return a ? (a.scrollIntoView(), Vp(i), requestIdleCallback(() => e(u)), !0) : !1;
|
|
15080
15098
|
},
|
|
15081
15099
|
[e]
|
|
15082
15100
|
);
|
|
15083
|
-
},
|
|
15084
|
-
const e = gn(), t =
|
|
15101
|
+
}, xE = () => {
|
|
15102
|
+
const e = gn(), t = ts(), n = Je(!1);
|
|
15085
15103
|
et(() => {
|
|
15086
15104
|
!e.hash || !n.current || t(e.hash);
|
|
15087
15105
|
}, [e.hash, t]), et(() => {
|
|
@@ -15094,11 +15112,11 @@ const ii = ({
|
|
|
15094
15112
|
});
|
|
15095
15113
|
return r.observe(document.body, { childList: !0, subtree: !0 }), () => r.disconnect();
|
|
15096
15114
|
}, [e.hash, t]);
|
|
15097
|
-
},
|
|
15098
|
-
const t = gn(), n =
|
|
15115
|
+
}, ns = (e) => {
|
|
15116
|
+
const t = gn(), n = ts(), r = zs(e.to), [u, a] = r.split("#"), i = (o) => {
|
|
15099
15117
|
e.onClick?.(o), !(a !== t.hash.slice(1) || u !== t.pathname) && (o.preventDefault(), n(a));
|
|
15100
15118
|
};
|
|
15101
|
-
return /* @__PURE__ */
|
|
15119
|
+
return /* @__PURE__ */ y.jsx(dr, { ...e, onClick: i });
|
|
15102
15120
|
}, Wp = di("", {
|
|
15103
15121
|
variants: {
|
|
15104
15122
|
size: {
|
|
@@ -15125,9 +15143,9 @@ const ii = ({
|
|
|
15125
15143
|
size: n = "xl",
|
|
15126
15144
|
align: r = "center",
|
|
15127
15145
|
children: u
|
|
15128
|
-
}) => /* @__PURE__ */
|
|
15129
|
-
/* @__PURE__ */
|
|
15130
|
-
e && /* @__PURE__ */
|
|
15146
|
+
}) => /* @__PURE__ */ y.jsxs("figure", { className: Te(Wp({ size: n, align: r }), t), children: [
|
|
15147
|
+
/* @__PURE__ */ y.jsx("div", { className: "relative overflow-hidden rounded-lg border border-border bg-muted/50 p-1 shadow-sm", children: /* @__PURE__ */ y.jsx("div", { className: "not-prose rounded-md [&_img]:rounded-md! relative overflow-hidden bg-background", children: u }) }),
|
|
15148
|
+
e && /* @__PURE__ */ y.jsx("figcaption", { className: "mt-3 text-center text-sm text-muted-foreground", children: e })
|
|
15131
15149
|
] }), Gp = di("group relative", {
|
|
15132
15150
|
variants: {
|
|
15133
15151
|
level: {
|
|
@@ -15167,7 +15185,7 @@ const ii = ({
|
|
|
15167
15185
|
registerNavigationAnchor: u
|
|
15168
15186
|
}) => {
|
|
15169
15187
|
const a = Xp(e ?? 1), { ref: i } = tp();
|
|
15170
|
-
return /* @__PURE__ */
|
|
15188
|
+
return /* @__PURE__ */ y.jsxs(
|
|
15171
15189
|
a,
|
|
15172
15190
|
{
|
|
15173
15191
|
className: Gp({ className: r, level: e }),
|
|
@@ -15175,13 +15193,13 @@ const ii = ({
|
|
|
15175
15193
|
id: n,
|
|
15176
15194
|
children: [
|
|
15177
15195
|
t,
|
|
15178
|
-
n && /* @__PURE__ */
|
|
15196
|
+
n && /* @__PURE__ */ y.jsx(
|
|
15179
15197
|
"a",
|
|
15180
15198
|
{
|
|
15181
15199
|
href: `#${n}`,
|
|
15182
15200
|
className: "ms-[0.33em] rounded text-[0.8em] text-muted-foreground p-0.5 -m-0.5 opacity-0 group-hover:opacity-50 hover:text-primary hover:!opacity-100 transition-opacity duration-200 inline-flex items-center align-middle",
|
|
15183
15201
|
"aria-label": `Link to ${n}`,
|
|
15184
|
-
children: /* @__PURE__ */
|
|
15202
|
+
children: /* @__PURE__ */ y.jsx(js, { className: "size-[0.75em] min-w-4 min-h-4" })
|
|
15185
15203
|
}
|
|
15186
15204
|
)
|
|
15187
15205
|
]
|
|
@@ -15193,8 +15211,8 @@ const ii = ({
|
|
|
15193
15211
|
enabled: n = !0,
|
|
15194
15212
|
...r
|
|
15195
15213
|
}) => {
|
|
15196
|
-
const u = e ?
|
|
15197
|
-
return /* @__PURE__ */
|
|
15214
|
+
const u = e ? Gs : "span";
|
|
15215
|
+
return /* @__PURE__ */ y.jsx(
|
|
15198
15216
|
u,
|
|
15199
15217
|
{
|
|
15200
15218
|
onClick: (a) => {
|
|
@@ -15214,10 +15232,10 @@ const ii = ({
|
|
|
15214
15232
|
children: t,
|
|
15215
15233
|
selectOnClick: n,
|
|
15216
15234
|
onClick: r
|
|
15217
|
-
}) => /* @__PURE__ */
|
|
15235
|
+
}) => /* @__PURE__ */ y.jsx(Kp, { asChild: !0, enabled: n, onClick: r, children: /* @__PURE__ */ y.jsx(
|
|
15218
15236
|
"code",
|
|
15219
15237
|
{
|
|
15220
|
-
className:
|
|
15238
|
+
className: Te(
|
|
15221
15239
|
"font-mono border p-1 py-0.5 rounded-sm bg-border/50 dark:bg-border/70 [overflow-wrap:anywhere]",
|
|
15222
15240
|
e
|
|
15223
15241
|
),
|
|
@@ -15226,7 +15244,7 @@ const ii = ({
|
|
|
15226
15244
|
) }), Jp = {
|
|
15227
15245
|
img: ({ node: e, ...t }) => /\.(mp4|webm|mov|avi)$/.test(t.src ?? "") ? (
|
|
15228
15246
|
// biome-ignore lint/a11y/useMediaCaption: No in control of the caption here
|
|
15229
|
-
/* @__PURE__ */
|
|
15247
|
+
/* @__PURE__ */ y.jsx(
|
|
15230
15248
|
"video",
|
|
15231
15249
|
{
|
|
15232
15250
|
src: t.src,
|
|
@@ -15234,36 +15252,37 @@ const ii = ({
|
|
|
15234
15252
|
playsInline: !0,
|
|
15235
15253
|
autoPlay: !0,
|
|
15236
15254
|
loop: !0,
|
|
15237
|
-
className:
|
|
15255
|
+
className: Te("rounded-lg", t.className)
|
|
15238
15256
|
}
|
|
15239
15257
|
)
|
|
15240
|
-
) : /* @__PURE__ */
|
|
15258
|
+
) : /* @__PURE__ */ y.jsx(
|
|
15241
15259
|
"img",
|
|
15242
15260
|
{
|
|
15243
15261
|
alt: t.alt,
|
|
15244
15262
|
...t,
|
|
15245
|
-
className:
|
|
15263
|
+
className: Te("rounded-lg", t.className)
|
|
15246
15264
|
}
|
|
15247
15265
|
),
|
|
15248
15266
|
Framed: Qp,
|
|
15249
|
-
h1: ({ children: e, id: t }) => /* @__PURE__ */
|
|
15250
|
-
h2: ({ children: e, id: t }) => /* @__PURE__ */
|
|
15251
|
-
h3: ({ children: e, id: t }) => /* @__PURE__ */
|
|
15252
|
-
h4: ({ children: e, id: t }) => /* @__PURE__ */
|
|
15253
|
-
h5: ({ children: e, id: t }) => /* @__PURE__ */
|
|
15254
|
-
h6: ({ children: e, id: t }) => /* @__PURE__ */
|
|
15255
|
-
a: ({ href: e, node: t, ...n }) => e && !e.startsWith("http") ? /* @__PURE__ */
|
|
15267
|
+
h1: ({ children: e, id: t }) => /* @__PURE__ */ y.jsx(Ke, { level: 1, id: t, children: e }),
|
|
15268
|
+
h2: ({ children: e, id: t }) => /* @__PURE__ */ y.jsx(Ke, { level: 2, id: t, children: e }),
|
|
15269
|
+
h3: ({ children: e, id: t }) => /* @__PURE__ */ y.jsx(Ke, { level: 3, id: t, children: e }),
|
|
15270
|
+
h4: ({ children: e, id: t }) => /* @__PURE__ */ y.jsx(Ke, { level: 4, id: t, children: e }),
|
|
15271
|
+
h5: ({ children: e, id: t }) => /* @__PURE__ */ y.jsx(Ke, { level: 5, id: t, children: e }),
|
|
15272
|
+
h6: ({ children: e, id: t }) => /* @__PURE__ */ y.jsx(Ke, { level: 6, id: t, children: e }),
|
|
15273
|
+
a: ({ href: e, node: t, ...n }) => e && !e.startsWith("http") ? /* @__PURE__ */ y.jsx(ns, { to: e, relative: "path", ...n }) : /* @__PURE__ */ y.jsx("a", { href: e, target: "_blank", ...n, rel: "noreferrer" }),
|
|
15256
15274
|
Button: Ks,
|
|
15257
15275
|
Callout: Ue,
|
|
15258
15276
|
Stepper: $s,
|
|
15259
|
-
|
|
15260
|
-
|
|
15261
|
-
|
|
15262
|
-
|
|
15263
|
-
|
|
15264
|
-
|
|
15265
|
-
|
|
15266
|
-
|
|
15277
|
+
Mermaid: Xs,
|
|
15278
|
+
SyntaxHighlight: Ps,
|
|
15279
|
+
tip: (e) => /* @__PURE__ */ y.jsx(Ue, { type: "tip", ...e }),
|
|
15280
|
+
info: (e) => /* @__PURE__ */ y.jsx(Ue, { type: "info", ...e }),
|
|
15281
|
+
note: (e) => /* @__PURE__ */ y.jsx(Ue, { type: "note", ...e }),
|
|
15282
|
+
caution: (e) => /* @__PURE__ */ y.jsx(Ue, { type: "caution", ...e }),
|
|
15283
|
+
warning: (e) => /* @__PURE__ */ y.jsx(Ue, { type: "caution", ...e }),
|
|
15284
|
+
danger: (e) => /* @__PURE__ */ y.jsx(Ue, { type: "danger", ...e }),
|
|
15285
|
+
pre: (e) => /* @__PURE__ */ y.jsx("pre", { className: Te("not-prose my-4", e.className), ...e }),
|
|
15267
15286
|
code: ({
|
|
15268
15287
|
className: e,
|
|
15269
15288
|
node: t,
|
|
@@ -15274,21 +15293,21 @@ const ii = ({
|
|
|
15274
15293
|
...i
|
|
15275
15294
|
}) => {
|
|
15276
15295
|
const o = e?.match(/language?-(\w+)/);
|
|
15277
|
-
return u === "true" || u === !0 ? /* @__PURE__ */
|
|
15296
|
+
return u === "true" || u === !0 ? /* @__PURE__ */ y.jsx($p, { className: Te(e, "inline"), children: n }) : /* @__PURE__ */ y.jsx(
|
|
15278
15297
|
hi,
|
|
15279
15298
|
{
|
|
15280
15299
|
language: o?.[1],
|
|
15281
15300
|
showLanguageIndicator: !0,
|
|
15282
15301
|
showLineNumbers: a,
|
|
15283
15302
|
title: r,
|
|
15284
|
-
children: /* @__PURE__ */
|
|
15303
|
+
children: /* @__PURE__ */ y.jsx("code", { className: Te(e, ws), ...i, children: n })
|
|
15285
15304
|
}
|
|
15286
15305
|
);
|
|
15287
15306
|
}
|
|
15288
|
-
}, Zp = "prose dark:prose-invert prose-neutral typography",
|
|
15307
|
+
}, Zp = "prose dark:prose-invert prose-neutral typography", rs = ({
|
|
15289
15308
|
children: e,
|
|
15290
15309
|
className: t
|
|
15291
|
-
}) => /* @__PURE__ */
|
|
15310
|
+
}) => /* @__PURE__ */ y.jsx("div", { className: Te(Zp, t), children: e }), eE = [ep], us = cr(
|
|
15292
15311
|
({
|
|
15293
15312
|
content: e,
|
|
15294
15313
|
className: t,
|
|
@@ -15297,7 +15316,7 @@ const ii = ({
|
|
|
15297
15316
|
const { syntaxHighlighting: r } = fr().options, u = Ft(
|
|
15298
15317
|
() => [
|
|
15299
15318
|
Ud,
|
|
15300
|
-
...
|
|
15319
|
+
...Ms(
|
|
15301
15320
|
r?.themes,
|
|
15302
15321
|
r?.highlighter
|
|
15303
15322
|
)
|
|
@@ -15307,7 +15326,7 @@ const ii = ({
|
|
|
15307
15326
|
() => ({ ...Jp, ...n }),
|
|
15308
15327
|
[n]
|
|
15309
15328
|
);
|
|
15310
|
-
return /* @__PURE__ */
|
|
15329
|
+
return /* @__PURE__ */ y.jsx(rs, { className: t, children: /* @__PURE__ */ y.jsx(
|
|
15311
15330
|
f0,
|
|
15312
15331
|
{
|
|
15313
15332
|
remarkPlugins: eE,
|
|
@@ -15318,8 +15337,8 @@ const ii = ({
|
|
|
15318
15337
|
) });
|
|
15319
15338
|
}
|
|
15320
15339
|
);
|
|
15321
|
-
|
|
15322
|
-
const
|
|
15340
|
+
us.displayName = "Markdown";
|
|
15341
|
+
const is = ({
|
|
15323
15342
|
slots: e = {}
|
|
15324
15343
|
} = {}) => {
|
|
15325
15344
|
const t = new Map(
|
|
@@ -15328,7 +15347,7 @@ const as = ({
|
|
|
15328
15347
|
[{ id: r, content: u, type: "replace", sequence: 0 }]
|
|
15329
15348
|
])
|
|
15330
15349
|
), n = [];
|
|
15331
|
-
return
|
|
15350
|
+
return Cs()((r, u) => ({
|
|
15332
15351
|
items: t,
|
|
15333
15352
|
sequences: /* @__PURE__ */ new Map(),
|
|
15334
15353
|
getItems: (a) => u().items.get(a) ?? n,
|
|
@@ -15336,7 +15355,7 @@ const as = ({
|
|
|
15336
15355
|
if (o == null) return c;
|
|
15337
15356
|
const h = new Map(c.items), f = new Map(c.sequences), d = (h.get(i) ?? []).filter((x) => x.id !== a), C = (f.get(i) ?? 0) + 1;
|
|
15338
15357
|
f.set(i, C);
|
|
15339
|
-
const
|
|
15358
|
+
const L = {
|
|
15340
15359
|
id: a,
|
|
15341
15360
|
content: o,
|
|
15342
15361
|
type: l,
|
|
@@ -15347,9 +15366,9 @@ const as = ({
|
|
|
15347
15366
|
const x = d.filter(
|
|
15348
15367
|
(w) => w.type !== "replace"
|
|
15349
15368
|
);
|
|
15350
|
-
h.set(i, [...x,
|
|
15369
|
+
h.set(i, [...x, L]);
|
|
15351
15370
|
} else
|
|
15352
|
-
h.set(i, [...d,
|
|
15371
|
+
h.set(i, [...d, L]);
|
|
15353
15372
|
return { items: h, sequences: f };
|
|
15354
15373
|
}),
|
|
15355
15374
|
clearSlot: (a, i) => r((o) => {
|
|
@@ -15357,71 +15376,71 @@ const as = ({
|
|
|
15357
15376
|
return f.length === 0 ? (l.delete(i), c.delete(i)) : l.set(i, f), { items: l, sequences: c };
|
|
15358
15377
|
})
|
|
15359
15378
|
}));
|
|
15360
|
-
},
|
|
15379
|
+
}, as = si(is()), SE = ({
|
|
15361
15380
|
children: e,
|
|
15362
15381
|
slots: t
|
|
15363
15382
|
}) => {
|
|
15364
|
-
const n = Je(
|
|
15365
|
-
return /* @__PURE__ */
|
|
15383
|
+
const n = Je(is({ slots: t })).current;
|
|
15384
|
+
return /* @__PURE__ */ y.jsx(as, { value: n, children: e });
|
|
15366
15385
|
};
|
|
15367
15386
|
function lr(e) {
|
|
15368
|
-
const t = oi(
|
|
15369
|
-
return
|
|
15387
|
+
const t = oi(as);
|
|
15388
|
+
return Is(t, e);
|
|
15370
15389
|
}
|
|
15371
15390
|
const ai = ["prepend", "replace", "append"], tE = (e) => {
|
|
15372
|
-
const t =
|
|
15391
|
+
const t = bs(), n = lr((r) => r.getItems(e));
|
|
15373
15392
|
return Ft(() => n.length === 0 ? [] : n.toSorted((r, u) => {
|
|
15374
15393
|
const a = ai.indexOf(r.type) - ai.indexOf(u.type);
|
|
15375
15394
|
return a !== 0 ? a : r.sequence - u.sequence;
|
|
15376
15395
|
}).map(
|
|
15377
|
-
(r) => typeof r.content == "function" ? /* @__PURE__ */
|
|
15396
|
+
(r) => typeof r.content == "function" ? /* @__PURE__ */ y.jsx(r.content, { ...t }, r.id) : /* @__PURE__ */ y.jsx(Es, { children: r.content }, r.id)
|
|
15378
15397
|
), [n, t]);
|
|
15379
|
-
},
|
|
15398
|
+
}, NE = {
|
|
15380
15399
|
Source: ({
|
|
15381
15400
|
name: e,
|
|
15382
15401
|
children: t,
|
|
15383
15402
|
type: n = "replace"
|
|
15384
15403
|
}) => {
|
|
15385
|
-
const r =
|
|
15386
|
-
return
|
|
15404
|
+
const r = Ts(), u = lr((i) => i.setSlot), a = lr((i) => i.clearSlot);
|
|
15405
|
+
return gs(() => (u(r, e, t, n), () => a(r, e)), [r, e, t, n, u, a]), null;
|
|
15387
15406
|
},
|
|
15388
15407
|
Target: ({ name: e, fallback: t }) => {
|
|
15389
15408
|
const n = tE(e);
|
|
15390
15409
|
return n.length === 0 ? t : n;
|
|
15391
15410
|
}
|
|
15392
|
-
},
|
|
15411
|
+
}, ss = cr(
|
|
15393
15412
|
({ code: e, children: t, embedded: n, ...r }) => {
|
|
15394
15413
|
const { syntaxHighlighting: u } = fr().options;
|
|
15395
|
-
|
|
15396
|
-
const a =
|
|
15414
|
+
Hs(u?.highlighter, "Highlighter not found");
|
|
15415
|
+
const a = Bs(
|
|
15397
15416
|
u.highlighter,
|
|
15398
15417
|
e ?? t,
|
|
15399
15418
|
r.language,
|
|
15400
15419
|
u.themes
|
|
15401
15420
|
);
|
|
15402
|
-
return n ? /* @__PURE__ */
|
|
15421
|
+
return n ? /* @__PURE__ */ y.jsx(Us, { ...r, children: a }) : /* @__PURE__ */ y.jsx(hi, { ...r, children: a });
|
|
15403
15422
|
}
|
|
15404
15423
|
);
|
|
15405
|
-
|
|
15424
|
+
ss.displayName = "SyntaxHighlight";
|
|
15406
15425
|
const nE = ({
|
|
15407
15426
|
children: e,
|
|
15408
15427
|
className: t
|
|
15409
15428
|
}) => {
|
|
15410
15429
|
if (process.env.NODE_ENV === "development")
|
|
15411
|
-
return /* @__PURE__ */
|
|
15412
|
-
typeof e == "string" ? /* @__PURE__ */
|
|
15413
|
-
/* @__PURE__ */
|
|
15430
|
+
return /* @__PURE__ */ y.jsx(Ue, { type: "caution", title: "Developer hint", className: t, children: /* @__PURE__ */ y.jsxs("div", { className: "flex flex-col gap-2", children: [
|
|
15431
|
+
typeof e == "string" ? /* @__PURE__ */ y.jsx(us, { content: e }) : /* @__PURE__ */ y.jsx("div", { children: e }),
|
|
15432
|
+
/* @__PURE__ */ y.jsx("small", { className: "italic", children: "Note: This hint is only shown in development mode." })
|
|
15414
15433
|
] }) });
|
|
15415
15434
|
};
|
|
15416
|
-
function
|
|
15435
|
+
function kE({ error: e }) {
|
|
15417
15436
|
const t = e instanceof Error ? e.message : "Something went wrong", n = e instanceof Qr ? e.developerHint : void 0, r = e instanceof Qr ? e.title : "Something went wrong", u = e instanceof Error ? e.stack : void 0, a = e instanceof Error ? e.cause : void 0, i = a instanceof Error ? String(a.stack) : u;
|
|
15418
|
-
return /* @__PURE__ */
|
|
15419
|
-
/* @__PURE__ */
|
|
15437
|
+
return /* @__PURE__ */ y.jsxs(rs, { className: "grid grid-cols-1 max-w-none! pt-(--padding-content-top)", children: [
|
|
15438
|
+
/* @__PURE__ */ y.jsx(Ke, { level: 1, children: r }),
|
|
15420
15439
|
"Error: ",
|
|
15421
15440
|
t,
|
|
15422
|
-
n && /* @__PURE__ */
|
|
15423
|
-
i && /* @__PURE__ */
|
|
15424
|
-
|
|
15441
|
+
n && /* @__PURE__ */ y.jsx(nE, { className: "mb-4", children: n }),
|
|
15442
|
+
i && /* @__PURE__ */ y.jsx(
|
|
15443
|
+
ss,
|
|
15425
15444
|
{
|
|
15426
15445
|
className: "max-h-[400px] [&>pre]:p-4",
|
|
15427
15446
|
language: "js",
|
|
@@ -15431,28 +15450,28 @@ function SE({ error: e }) {
|
|
|
15431
15450
|
] });
|
|
15432
15451
|
}
|
|
15433
15452
|
export {
|
|
15434
|
-
|
|
15453
|
+
ns as A,
|
|
15435
15454
|
nE as D,
|
|
15436
|
-
|
|
15455
|
+
kE as E,
|
|
15437
15456
|
Ke as H,
|
|
15438
15457
|
$p as I,
|
|
15439
|
-
|
|
15458
|
+
us as M,
|
|
15440
15459
|
jp as N,
|
|
15441
15460
|
Kp as S,
|
|
15442
|
-
|
|
15443
|
-
|
|
15444
|
-
|
|
15461
|
+
rs as T,
|
|
15462
|
+
IE as V,
|
|
15463
|
+
NE as a,
|
|
15445
15464
|
Jp as b,
|
|
15446
|
-
|
|
15465
|
+
SE as c,
|
|
15447
15466
|
Yp as d,
|
|
15448
15467
|
vd as e,
|
|
15449
|
-
|
|
15450
|
-
|
|
15451
|
-
|
|
15452
|
-
|
|
15453
|
-
|
|
15454
|
-
|
|
15468
|
+
xE as f,
|
|
15469
|
+
np as g,
|
|
15470
|
+
rp as h,
|
|
15471
|
+
up as i,
|
|
15472
|
+
ip as j,
|
|
15473
|
+
ss as k,
|
|
15455
15474
|
Vp as s,
|
|
15456
15475
|
Hr as u
|
|
15457
15476
|
};
|
|
15458
|
-
//# sourceMappingURL=ErrorAlert-
|
|
15477
|
+
//# sourceMappingURL=ErrorAlert-DrOR8w3f.js.map
|