@modern-js/module-tools-docs 2.0.2 → 2.2.0
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/doc_build/api/config/build-config.html +332 -0
- package/doc_build/api/config/build-preset.html +43 -0
- package/doc_build/api/config/design-system.html +103 -0
- package/doc_build/api/config/plugins.html +7 -0
- package/doc_build/api/config/testing.html +21 -0
- package/doc_build/api/index.html +1 -0
- package/doc_build/api/plugin-api/plugin-hooks.html +113 -0
- package/doc_build/en/api/config/build-config.html +316 -0
- package/doc_build/en/api/config/build-preset.html +43 -0
- package/doc_build/en/api/config/design-system.html +117 -0
- package/doc_build/en/api/config/plugins.html +7 -0
- package/doc_build/en/api/config/testing.html +21 -0
- package/doc_build/en/api/index.html +1 -0
- package/doc_build/en/api/plugin-api/plugin-hooks.html +113 -0
- package/doc_build/en/guide/advance/asset.html +25 -0
- package/doc_build/en/guide/advance/build-umd.html +32 -0
- package/doc_build/en/guide/advance/copy.html +42 -0
- package/doc_build/en/guide/advance/external-dependency.html +31 -0
- package/doc_build/en/guide/advance/in-depth-about-build.html +112 -0
- package/doc_build/en/guide/advance/in-depth-about-dev-command.html +12 -0
- package/doc_build/en/guide/advance/theme-config.html +29 -0
- package/doc_build/en/guide/basic/before-getting-started.html +89 -0
- package/doc_build/en/guide/basic/command-preview.html +63 -0
- package/doc_build/en/guide/basic/modify-output-product.html +98 -0
- package/doc_build/en/guide/basic/publish-your-project.html +50 -0
- package/doc_build/en/guide/basic/test-your-project.html +31 -0
- package/doc_build/en/guide/basic/use-micro-generator.html +29 -0
- package/doc_build/en/guide/basic/using-storybook.html +66 -0
- package/doc_build/en/guide/best-practices/components.html +111 -0
- package/doc_build/en/guide/intro/getting-started.html +36 -0
- package/doc_build/en/guide/intro/welcome.html +13 -0
- package/doc_build/en/guide/intro/why-module-engineering-solution.html +9 -0
- package/doc_build/en/index.html +1 -0
- package/doc_build/en/plugins/guide/getting-started.html +15 -0
- package/doc_build/en/plugins/guide/plugin-object.html +14 -0
- package/doc_build/en/plugins/guide/setup-function.html +30 -0
- package/doc_build/en/plugins/official-list/overview.html +3 -0
- package/doc_build/guide/advance/asset.html +25 -0
- package/doc_build/guide/advance/build-umd.html +32 -0
- package/doc_build/guide/advance/copy.html +42 -0
- package/doc_build/guide/advance/external-dependency.html +31 -0
- package/doc_build/guide/advance/in-depth-about-build.html +112 -0
- package/doc_build/guide/advance/in-depth-about-dev-command.html +14 -0
- package/doc_build/guide/advance/theme-config.html +28 -0
- package/doc_build/guide/basic/before-getting-started.html +89 -0
- package/doc_build/guide/basic/command-preview.html +63 -0
- package/doc_build/guide/basic/modify-output-product.html +97 -0
- package/doc_build/guide/basic/publish-your-project.html +52 -0
- package/doc_build/guide/basic/test-your-project.html +32 -0
- package/doc_build/guide/basic/use-micro-generator.html +27 -0
- package/doc_build/guide/basic/using-storybook.html +67 -0
- package/doc_build/guide/best-practices/components.html +111 -0
- package/doc_build/guide/intro/getting-started.html +39 -0
- package/doc_build/guide/intro/welcome.html +13 -0
- package/doc_build/guide/intro/why-module-engineering-solution.html +9 -0
- package/doc_build/index.html +1 -0
- package/doc_build/plugins/guide/getting-started.html +15 -0
- package/doc_build/plugins/guide/plugin-object.html +14 -0
- package/doc_build/plugins/guide/setup-function.html +30 -0
- package/doc_build/plugins/official-list/overview.html +3 -0
- package/doc_build/static/css/main.edaad072.css +1 -0
- package/doc_build/static/js/1607.70af642a.js +2 -0
- package/doc_build/static/js/1607.70af642a.js.LICENSE.txt +23 -0
- package/doc_build/static/js/async/3799.e31e8293.js +1 -0
- package/doc_build/static/js/async/8652.6fbf1cb7.js +1 -0
- package/doc_build/static/js/async/en_api_config_build-config.367a5701.js +1 -0
- package/doc_build/static/js/async/en_api_config_build-preset.0d78b268.js +1 -0
- package/doc_build/static/js/async/en_api_config_design-system.b28d6723.js +1 -0
- package/doc_build/static/js/async/en_api_config_plugins.fc95fb77.js +1 -0
- package/doc_build/static/js/async/en_api_config_testing.8bc7f316.js +1 -0
- package/doc_build/static/js/async/en_api_index.669f0a56.js +1 -0
- package/doc_build/static/js/async/en_api_plugin-api_plugin-hooks.60d0260c.js +1 -0
- package/doc_build/static/js/async/en_guide_advance_asset.5ff1d623.js +1 -0
- package/doc_build/static/js/async/en_guide_advance_build-umd.c254ed46.js +1 -0
- package/doc_build/static/js/async/en_guide_advance_copy.45c0a51d.js +1 -0
- package/doc_build/static/js/async/en_guide_advance_external-dependency.a52d3247.js +1 -0
- package/doc_build/static/js/async/en_guide_advance_in-depth-about-build.51bf3569.js +1 -0
- package/doc_build/static/js/async/en_guide_advance_in-depth-about-dev-command.aec0b4e1.js +1 -0
- package/doc_build/static/js/async/en_guide_advance_theme-config.db0ad9fc.js +1 -0
- package/doc_build/static/js/async/en_guide_basic_before-getting-started.a22fc49a.js +1 -0
- package/doc_build/static/js/async/en_guide_basic_command-preview.1707ed29.js +1 -0
- package/doc_build/static/js/async/en_guide_basic_modify-output-product.ad453d13.js +1 -0
- package/doc_build/static/js/async/en_guide_basic_publish-your-project.08c5112f.js +1 -0
- package/doc_build/static/js/async/en_guide_basic_test-your-project.f5f6b204.js +1 -0
- package/doc_build/static/js/async/en_guide_basic_use-micro-generator.56325139.js +1 -0
- package/doc_build/static/js/async/en_guide_basic_using-storybook.9d721554.js +1 -0
- package/doc_build/static/js/async/en_guide_best-practices_components.45155af9.js +1 -0
- package/doc_build/static/js/async/en_guide_intro_getting-started.f8682be3.js +1 -0
- package/doc_build/static/js/async/en_guide_intro_welcome.9cc45924.js +1 -0
- package/doc_build/static/js/async/en_guide_intro_why-module-engineering-solution.7f2dae5c.js +1 -0
- package/doc_build/static/js/async/en_index.7bd869c4.js +1 -0
- package/doc_build/static/js/async/en_plugins_guide_getting-started.b850249c.js +1 -0
- package/doc_build/static/js/async/en_plugins_guide_plugin-object.bf6c6221.js +1 -0
- package/doc_build/static/js/async/en_plugins_guide_setup-function.80a2bd97.js +1 -0
- package/doc_build/static/js/async/en_plugins_official-list_overview.84e5cea0.js +1 -0
- package/doc_build/static/js/async/zh_api_config_build-config.048fd5ec.js +1 -0
- package/doc_build/static/js/async/zh_api_config_build-preset.7c13584d.js +1 -0
- package/doc_build/static/js/async/zh_api_config_design-system.1eecd474.js +1 -0
- package/doc_build/static/js/async/zh_api_config_plugins.c22dc4be.js +1 -0
- package/doc_build/static/js/async/zh_api_config_testing.a9888eed.js +1 -0
- package/doc_build/static/js/async/zh_api_index.22957707.js +1 -0
- package/doc_build/static/js/async/zh_api_plugin-api_plugin-hooks.a4d81bf6.js +1 -0
- package/doc_build/static/js/async/zh_guide_advance_asset.5b936003.js +1 -0
- package/doc_build/static/js/async/zh_guide_advance_build-umd.b6d541ff.js +1 -0
- package/doc_build/static/js/async/zh_guide_advance_copy.21a1aea4.js +1 -0
- package/doc_build/static/js/async/zh_guide_advance_external-dependency.c7cf5d4b.js +1 -0
- package/doc_build/static/js/async/zh_guide_advance_in-depth-about-build.64e795f3.js +1 -0
- package/doc_build/static/js/async/zh_guide_advance_in-depth-about-dev-command.168ce7dd.js +1 -0
- package/doc_build/static/js/async/zh_guide_advance_theme-config.b9570109.js +1 -0
- package/doc_build/static/js/async/zh_guide_basic_before-getting-started.6b06b54a.js +1 -0
- package/doc_build/static/js/async/zh_guide_basic_command-preview.1199124a.js +1 -0
- package/doc_build/static/js/async/zh_guide_basic_modify-output-product.8ccbc8d1.js +1 -0
- package/doc_build/static/js/async/zh_guide_basic_publish-your-project.bf11b1c4.js +1 -0
- package/doc_build/static/js/async/zh_guide_basic_test-your-project.ae52c47a.js +1 -0
- package/doc_build/static/js/async/zh_guide_basic_use-micro-generator.a091d57d.js +1 -0
- package/doc_build/static/js/async/zh_guide_basic_using-storybook.27829e44.js +1 -0
- package/doc_build/static/js/async/zh_guide_best-practices_components.7454d916.js +1 -0
- package/doc_build/static/js/async/zh_guide_intro_getting-started.a4c00d9a.js +1 -0
- package/doc_build/static/js/async/zh_guide_intro_welcome.71c3fe16.js +1 -0
- package/doc_build/static/js/async/zh_guide_intro_why-module-engineering-solution.6f8b5ff6.js +1 -0
- package/doc_build/static/js/async/zh_index.c19f9dcf.js +1 -0
- package/doc_build/static/js/async/zh_plugins_guide_getting-started.099dfaea.js +1 -0
- package/doc_build/static/js/async/zh_plugins_guide_plugin-object.963289d5.js +1 -0
- package/doc_build/static/js/async/zh_plugins_guide_setup-function.67d07b91.js +1 -0
- package/doc_build/static/js/async/zh_plugins_official-list_overview.a7635714.js +1 -0
- package/doc_build/static/js/lib-lodash.c5845536.js +1 -0
- package/doc_build/static/js/lib-polyfill.b3038509.js +1 -0
- package/doc_build/static/js/lib-react.d41ace5e.js +2 -0
- package/doc_build/static/js/lib-react.d41ace5e.js.LICENSE.txt +29 -0
- package/doc_build/static/js/main.2d3257a4.js +1 -0
- package/doc_build/static/search_index.json +1 -0
- package/docs/en/api/config/build-config.md +15 -5
- package/docs/en/api/config/build-preset.md +3 -2
- package/docs/en/api/config/design-system.md +623 -615
- package/docs/en/api/config/plugins.md +2 -2
- package/docs/en/api/config/testing.md +2 -1
- package/docs/en/guide/advance/asset.mdx +0 -4
- package/docs/en/guide/advance/build-umd.mdx +3 -3
- package/docs/en/guide/advance/in-depth-about-build.md +14 -13
- package/docs/en/guide/advance/in-depth-about-dev-command.md +2 -1
- package/docs/en/guide/basic/before-getting-started.md +16 -9
- package/docs/en/guide/basic/command-preview.md +2 -2
- package/docs/en/guide/basic/modify-output-product.md +65 -69
- package/docs/en/guide/basic/test-your-project.mdx +1 -3
- package/docs/en/guide/basic/use-micro-generator.md +4 -0
- package/docs/en/guide/basic/using-storybook.mdx +1 -13
- package/docs/en/plugins/guide/getting-started.mdx +2 -2
- package/docs/en/plugins/guide/plugin-object.mdx +5 -5
- package/docs/zh/api/config/build-config.md +18 -6
- package/docs/zh/api/config/build-preset.md +3 -2
- package/docs/zh/api/config/design-system.md +2 -2
- package/docs/zh/api/config/plugins.md +2 -2
- package/docs/zh/api/config/testing.md +3 -2
- package/docs/zh/guide/advance/asset.mdx +0 -5
- package/docs/zh/guide/advance/build-umd.mdx +3 -3
- package/docs/zh/guide/advance/in-depth-about-build.md +14 -13
- package/docs/zh/guide/advance/in-depth-about-dev-command.md +2 -1
- package/docs/zh/guide/basic/before-getting-started.md +15 -8
- package/docs/zh/guide/basic/command-preview.md +2 -2
- package/docs/zh/guide/basic/modify-output-product.md +17 -19
- package/docs/zh/guide/basic/test-your-project.mdx +1 -3
- package/docs/zh/guide/basic/use-micro-generator.md +5 -1
- package/docs/zh/guide/basic/using-storybook.mdx +9 -19
- package/docs/zh/guide/intro/getting-started.md +1 -1
- package/docs/zh/plugins/guide/getting-started.mdx +2 -2
- package/docs/zh/plugins/guide/plugin-object.mdx +5 -5
- package/modern.config.ts +11 -5
- package/package.json +3 -3
- package/LICENSE +0 -144
- package/doc_build/html/main/index.html +0 -16
- package/doc_build/route.json +0 -10
- package/doc_build/static/css/main.css +0 -3370
- package/doc_build/static/css/main.css.map +0 -1
- package/doc_build/static/css/vendors-node_modules_pnpm_remix-run_router_1_2_0_node_modules_remix-run_router_dist_router_js-9d5e9c.css +0 -85
- package/doc_build/static/css/vendors-node_modules_pnpm_remix-run_router_1_2_0_node_modules_remix-run_router_dist_router_js-9d5e9c.css.map +0 -1
- package/doc_build/static/js/async/api_.js +0 -56
- package/doc_build/static/js/async/api_.js.map +0 -1
- package/doc_build/static/js/async/api_config_build-config.js +0 -11309
- package/doc_build/static/js/async/api_config_build-config.js.map +0 -1
- package/doc_build/static/js/async/api_config_build-preset.js +0 -7849
- package/doc_build/static/js/async/api_config_build-preset.js.map +0 -1
- package/doc_build/static/js/async/api_config_design-system.js +0 -48708
- package/doc_build/static/js/async/api_config_design-system.js.map +0 -1
- package/doc_build/static/js/async/api_config_plugins.js +0 -1492
- package/doc_build/static/js/async/api_config_plugins.js.map +0 -1
- package/doc_build/static/js/async/api_config_testing.js +0 -2130
- package/doc_build/static/js/async/api_config_testing.js.map +0 -1
- package/doc_build/static/js/async/api_plugin-api_plugin-hooks.js +0 -14394
- package/doc_build/static/js/async/api_plugin-api_plugin-hooks.js.map +0 -1
- package/doc_build/static/js/async/en_.js +0 -85
- package/doc_build/static/js/async/en_.js.map +0 -1
- package/doc_build/static/js/async/en_api_.js +0 -55
- package/doc_build/static/js/async/en_api_.js.map +0 -1
- package/doc_build/static/js/async/en_api_config_build-config.js +0 -8363
- package/doc_build/static/js/async/en_api_config_build-config.js.map +0 -1
- package/doc_build/static/js/async/en_api_config_build-preset.js +0 -7845
- package/doc_build/static/js/async/en_api_config_build-preset.js.map +0 -1
- package/doc_build/static/js/async/en_api_config_design-system.js +0 -16345
- package/doc_build/static/js/async/en_api_config_design-system.js.map +0 -1
- package/doc_build/static/js/async/en_api_config_plugins.js +0 -1492
- package/doc_build/static/js/async/en_api_config_plugins.js.map +0 -1
- package/doc_build/static/js/async/en_api_config_testing.js +0 -2137
- package/doc_build/static/js/async/en_api_config_testing.js.map +0 -1
- package/doc_build/static/js/async/en_api_plugin-api_plugin-hooks.js +0 -14362
- package/doc_build/static/js/async/en_api_plugin-api_plugin-hooks.js.map +0 -1
- package/doc_build/static/js/async/en_guide_advance_asset.js +0 -3997
- package/doc_build/static/js/async/en_guide_advance_asset.js.map +0 -1
- package/doc_build/static/js/async/en_guide_advance_build-umd.js +0 -9861
- package/doc_build/static/js/async/en_guide_advance_build-umd.js.map +0 -1
- package/doc_build/static/js/async/en_guide_advance_copy.js +0 -6539
- package/doc_build/static/js/async/en_guide_advance_copy.js.map +0 -1
- package/doc_build/static/js/async/en_guide_advance_external-dependency.js +0 -3810
- package/doc_build/static/js/async/en_guide_advance_external-dependency.js.map +0 -1
- package/doc_build/static/js/async/en_guide_advance_in-depth-about-build.js +0 -5046
- package/doc_build/static/js/async/en_guide_advance_in-depth-about-build.js.map +0 -1
- package/doc_build/static/js/async/en_guide_advance_in-depth-about-dev-command.js +0 -150
- package/doc_build/static/js/async/en_guide_advance_in-depth-about-dev-command.js.map +0 -1
- package/doc_build/static/js/async/en_guide_advance_theme-config.js +0 -2484
- package/doc_build/static/js/async/en_guide_advance_theme-config.js.map +0 -1
- package/doc_build/static/js/async/en_guide_basic_before-getting-started.js +0 -3671
- package/doc_build/static/js/async/en_guide_basic_before-getting-started.js.map +0 -1
- package/doc_build/static/js/async/en_guide_basic_command-preview.js +0 -3961
- package/doc_build/static/js/async/en_guide_basic_command-preview.js.map +0 -1
- package/doc_build/static/js/async/en_guide_basic_modify-output-product.js +0 -2970
- package/doc_build/static/js/async/en_guide_basic_modify-output-product.js.map +0 -1
- package/doc_build/static/js/async/en_guide_basic_publish-your-project.js +0 -2182
- package/doc_build/static/js/async/en_guide_basic_publish-your-project.js.map +0 -1
- package/doc_build/static/js/async/en_guide_basic_test-your-project.js +0 -3892
- package/doc_build/static/js/async/en_guide_basic_test-your-project.js.map +0 -1
- package/doc_build/static/js/async/en_guide_basic_use-micro-generator.js +0 -168
- package/doc_build/static/js/async/en_guide_basic_use-micro-generator.js.map +0 -1
- package/doc_build/static/js/async/en_guide_basic_using-storybook.js +0 -4762
- package/doc_build/static/js/async/en_guide_basic_using-storybook.js.map +0 -1
- package/doc_build/static/js/async/en_guide_best-practices_components.js +0 -21388
- package/doc_build/static/js/async/en_guide_best-practices_components.js.map +0 -1
- package/doc_build/static/js/async/en_guide_intro_getting-started.js +0 -1906
- package/doc_build/static/js/async/en_guide_intro_getting-started.js.map +0 -1
- package/doc_build/static/js/async/en_guide_intro_welcome.js +0 -148
- package/doc_build/static/js/async/en_guide_intro_welcome.js.map +0 -1
- package/doc_build/static/js/async/en_guide_intro_why-module-engineering-solution.js +0 -92
- package/doc_build/static/js/async/en_guide_intro_why-module-engineering-solution.js.map +0 -1
- package/doc_build/static/js/async/en_plugins_guide_getting-started.js +0 -2560
- package/doc_build/static/js/async/en_plugins_guide_getting-started.js.map +0 -1
- package/doc_build/static/js/async/en_plugins_guide_plugin-object.js +0 -4177
- package/doc_build/static/js/async/en_plugins_guide_plugin-object.js.map +0 -1
- package/doc_build/static/js/async/en_plugins_guide_setup-function.js +0 -3819
- package/doc_build/static/js/async/en_plugins_guide_setup-function.js.map +0 -1
- package/doc_build/static/js/async/en_plugins_official-list_overview.js +0 -70
- package/doc_build/static/js/async/en_plugins_official-list_overview.js.map +0 -1
- package/doc_build/static/js/async/guide_advance_asset.js +0 -3997
- package/doc_build/static/js/async/guide_advance_asset.js.map +0 -1
- package/doc_build/static/js/async/guide_advance_build-umd.js +0 -9863
- package/doc_build/static/js/async/guide_advance_build-umd.js.map +0 -1
- package/doc_build/static/js/async/guide_advance_copy.js +0 -6539
- package/doc_build/static/js/async/guide_advance_copy.js.map +0 -1
- package/doc_build/static/js/async/guide_advance_external-dependency.js +0 -3812
- package/doc_build/static/js/async/guide_advance_external-dependency.js.map +0 -1
- package/doc_build/static/js/async/guide_advance_in-depth-about-build.js +0 -5046
- package/doc_build/static/js/async/guide_advance_in-depth-about-build.js.map +0 -1
- package/doc_build/static/js/async/guide_advance_in-depth-about-dev-command.js +0 -152
- package/doc_build/static/js/async/guide_advance_in-depth-about-dev-command.js.map +0 -1
- package/doc_build/static/js/async/guide_advance_theme-config.js +0 -2475
- package/doc_build/static/js/async/guide_advance_theme-config.js.map +0 -1
- package/doc_build/static/js/async/guide_basic_before-getting-started.js +0 -3662
- package/doc_build/static/js/async/guide_basic_before-getting-started.js.map +0 -1
- package/doc_build/static/js/async/guide_basic_command-preview.js +0 -3793
- package/doc_build/static/js/async/guide_basic_command-preview.js.map +0 -1
- package/doc_build/static/js/async/guide_basic_modify-output-product.js +0 -2949
- package/doc_build/static/js/async/guide_basic_modify-output-product.js.map +0 -1
- package/doc_build/static/js/async/guide_basic_publish-your-project.js +0 -2243
- package/doc_build/static/js/async/guide_basic_publish-your-project.js.map +0 -1
- package/doc_build/static/js/async/guide_basic_test-your-project.js +0 -3892
- package/doc_build/static/js/async/guide_basic_test-your-project.js.map +0 -1
- package/doc_build/static/js/async/guide_basic_use-micro-generator.js +0 -172
- package/doc_build/static/js/async/guide_basic_use-micro-generator.js.map +0 -1
- package/doc_build/static/js/async/guide_basic_using-storybook.js +0 -4762
- package/doc_build/static/js/async/guide_basic_using-storybook.js.map +0 -1
- package/doc_build/static/js/async/guide_best-practices_components.js +0 -21088
- package/doc_build/static/js/async/guide_best-practices_components.js.map +0 -1
- package/doc_build/static/js/async/guide_intro_getting-started.js +0 -1782
- package/doc_build/static/js/async/guide_intro_getting-started.js.map +0 -1
- package/doc_build/static/js/async/guide_intro_welcome.js +0 -148
- package/doc_build/static/js/async/guide_intro_welcome.js.map +0 -1
- package/doc_build/static/js/async/guide_intro_why-module-engineering-solution.js +0 -92
- package/doc_build/static/js/async/guide_intro_why-module-engineering-solution.js.map +0 -1
- package/doc_build/static/js/async/index.js +0 -85
- package/doc_build/static/js/async/index.js.map +0 -1
- package/doc_build/static/js/async/packages_cli_doc-core_src_theme-default_components_Search_logic_search_ts.js +0 -447
- package/doc_build/static/js/async/packages_cli_doc-core_src_theme-default_components_Search_logic_search_ts.js.map +0 -1
- package/doc_build/static/js/async/plugins_guide_getting-started.js +0 -2608
- package/doc_build/static/js/async/plugins_guide_getting-started.js.map +0 -1
- package/doc_build/static/js/async/plugins_guide_plugin-object.js +0 -4173
- package/doc_build/static/js/async/plugins_guide_plugin-object.js.map +0 -1
- package/doc_build/static/js/async/plugins_guide_setup-function.js +0 -3819
- package/doc_build/static/js/async/plugins_guide_setup-function.js.map +0 -1
- package/doc_build/static/js/async/plugins_official-list_overview.js +0 -70
- package/doc_build/static/js/async/plugins_official-list_overview.js.map +0 -1
- package/doc_build/static/js/async/vendors-node_modules_pnpm_code-hike_mdx_0_7_4_react_18_2_0_node_modules_code-hike_mdx_dist_co-06dd41.js +0 -6656
- package/doc_build/static/js/async/vendors-node_modules_pnpm_code-hike_mdx_0_7_4_react_18_2_0_node_modules_code-hike_mdx_dist_co-06dd41.js.map +0 -1
- package/doc_build/static/js/async/vendors-node_modules_pnpm_flexsearch_0_6_32_node_modules_flexsearch_dist_flexsearch_min_js.js +0 -54
- package/doc_build/static/js/async/vendors-node_modules_pnpm_flexsearch_0_6_32_node_modules_flexsearch_dist_flexsearch_min_js.js.map +0 -1
- package/doc_build/static/js/builder-runtime.js +0 -1375
- package/doc_build/static/js/builder-runtime.js.map +0 -1
- package/doc_build/static/js/lib-lodash.js +0 -4907
- package/doc_build/static/js/lib-lodash.js.map +0 -1
- package/doc_build/static/js/lib-polyfill.js +0 -24769
- package/doc_build/static/js/lib-polyfill.js.map +0 -1
- package/doc_build/static/js/lib-react.js +0 -39510
- package/doc_build/static/js/lib-react.js.map +0 -1
- package/doc_build/static/js/main.js +0 -9237
- package/doc_build/static/js/main.js.map +0 -1
- package/doc_build/static/js/vendors-node_modules_pnpm_remix-run_router_1_2_0_node_modules_remix-run_router_dist_router_js-9d5e9c.js +0 -8532
- package/doc_build/static/js/vendors-node_modules_pnpm_remix-run_router_1_2_0_node_modules_remix-run_router_dist_router_js-9d5e9c.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_modern_js_module_tools_docs=self.webpackChunk_modern_js_module_tools_docs||[]).push([[179],{70334:function(e,t,n){var r=n(52983);const s=(0,r.createContext)({});function i(){return(0,r.useContext)(s).data}var a=n(97458);var l=n(40600),o=(n(33906),n(63744)),c=n(23517),d=n(67933),u=n(86724),m=n.n(u);var h=n(60205);function x(e,t){const n=parseInt(window.getComputedStyle(e).paddingTop,10),r=window.scrollY+e.getBoundingClientRect().top-56+n;window.scrollTo((0,l.Z)({left:0,top:r},t?{behavior:"smooth"}:{}))}function p(){window.addEventListener("click",(e=>{const t=e.target.closest("a");if(t){const{origin:n,hash:r,target:s,pathname:i,search:a}=t,l=window.location;r&&"_blank"!==s&&n===l.origin&&i===l.pathname&&a===l.search&&r&&r!==l.hash&&t.classList.contains("header-anchor")&&(e.preventDefault(),history.pushState(null,"",r),function(t,n,r=!1){let s=null;try{s=t.classList.contains("header-anchor")?t:document.getElementById(decodeURIComponent(n.slice(1)))}catch(e){console.warn(e)}s&&x(s,r)}(t,r,!0),window.dispatchEvent(new Event("hashchange")))}}),{capture:!0}),window.addEventListener("hashchange",(e=>{e.preventDefault()}))}function v(){const e=document.getElementById("aside-marker"),t=document.getElementById("aside-container"),n=Array.from(document.querySelectorAll(".modern-doc .header-anchor")).filter((e=>{var t;return"H1"!==(null===(t=e.parentElement)||void 0===t?void 0:t.tagName)}));if(!t||!n.length)return;let r=null;const s=Array.from((null==t?void 0:t.getElementsByTagName("a"))||[]).map((e=>decodeURIComponent(e.hash)));if(e&&!s.length)return void(e.style.opacity="0");const i=(n,i)=>{if(r&&r.classList.remove("aside-active"),n[i]){n[i].classList.add("aside-active");const a=n[i].getAttribute("href"),l=s.findIndex((e=>e===a)),o=null==t?void 0:t.querySelector(`a[href="#${null==a?void 0:a.slice(1)}"]`);o&&(r=o,r.classList.add("aside-active"),e.style.top=33+28*l+"px",e.style.opacity="1")}},a=(0,d.Z)((()=>{if(document.documentElement.scrollTop+window.innerHeight>=document.documentElement.scrollHeight)i(n,n.length-1);else for(let e=0;e<n.length;e++){const t=n[e],r=n[e+1],s=Math.ceil(window.scrollY),a=t.parentElement.offsetTop-56;if(0===e&&s<a||0===s){i(n,0);break}if(!r){i(n,e);break}const l=r.parentElement.offsetTop-56;if(s>=a&&s<l){i(n,e);break}}}),200);return window.addEventListener("scroll",a),()=>{window.removeEventListener("scroll",a)}}function f(e){var t;const{headers:n}=e,s=n.length>0,i=(0,r.useRef)(null),l=(null===(t=n[0])||void 0===t?void 0:t.depth)||2;(0,r.useEffect)((()=>{let e;i.current&&(i.current.style.opacity="0"),setTimeout((()=>{e=v()}),100);const t=decodeURIComponent(window.location.hash);if(t){const e=document.getElementById(t.slice(1));e&&x(e,!1)}else window.scrollTo(0,0);return()=>{e&&e()}}),[n]);return(0,a.jsx)("div",{flex:"~ col",children:(0,a.jsx)("div",{className:s?"<lg:hidden":"hidden",children:(0,a.jsxs)("div",{p:"l-4",text:"sm","font-medium":"~",id:"aside-container",style:{borderLeft:"1px solid var(--modern-c-divider-light)"},className:"relative",children:[(0,a.jsx)("div",{className:"absolute",opacity:"0",w:"1px",h:"18px",bg:"brand",ref:i,style:{top:"33px",left:"-1px",transition:"top 0.25s cubic-bezier(0, 1, 0.5, 1), background-color 0.5s, opacity 0.25s"},id:"aside-marker"}),(0,a.jsx)("div",{block:"~",className:"leading-7",text:"sm",font:"semibold",children:e.outlineTitle}),(0,a.jsx)("nav",{children:(0,a.jsx)("ul",{className:"relative",children:n.map((e=>(0,a.jsx)("li",{children:(0,a.jsx)("a",{href:`#${e.id}`,block:"~",text:"text-2",hover:"text-text-1",transition:"color duration-300",className:"leading-7",style:{fontSize:"13px",paddingLeft:12*(e.depth-l),whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},onClick:t=>{t.preventDefault(),window.location.hash=e.id;const n=document.getElementById(e.id);n&&x(n,!1)},children:e.text})},e.id)))})})]})})})}var g=n(71837);function j(){var e,t,n;const r=i(),{pathname:s}=(0,c.TH)(),a=null!==(e=null==r||null===(t=r.siteData)||void 0===t?void 0:t.themeConfig)&&void 0!==e?e:{},o=null!==(n=r.siteData.lang)&&void 0!==n?n:"zh",d=null==a?void 0:a.locales;if(!d||0===d.length)return{nav:a.nav,sidebar:a.sidebar,prevPageText:a.prevPageText,nextPageText:a.nextPageText};const u=d.map((e=>e.lang)),m=u.find((e=>{const t=(0,g.pJ)((0,h.Kw)(e));return s.startsWith(t)}))||u[0],x=d.find((e=>e.lang===m));return(0,l.Z)((0,l.Z)({},x),{},{langRoutePrefix:m===o?"/":m})}function w(e,t){return(0,g.pJ)((0,h.yc)(e))===(0,g.pJ)((0,h.yc)(t))}var b=n(29133),y=n(63610),k=n(66567),N=n.n(k),z="R5q4o";N().configure({showSpinner:!1});const E=/^(https?:)?\/\//;function M(e){const{href:t="/",children:n,className:r=""}=e,s=E.test(t),i=s?"_blank":"",l=s?"noopener noreferrer":void 0,o=s?t:(0,g.pJ)(t),d=(0,c.s0)(),u=async e=>{e.preventDefault();const t=(0,b.fp)(y._,(0,g.Tm)(o));if(null!=t&&t.length){const e=setTimeout((()=>{N().start()}),200);await t[0].route.preload(),clearTimeout(e),N().done()}d(o,{replace:!1})};return s?(0,a.jsx)("a",{href:o,target:i,rel:l,className:`${z} ${r}`,children:n}):(0,a.jsx)("a",{className:`${z} ${r}`,rel:l,target:i,onClick:u,cursor:"pointer",href:o,children:n})}var C,S="ajVjQ",L="A2aco",O="pAnzs",$="jr5Zr",D="rVEMI";function T(){const{prevPage:e,nextPage:t}=function(){const{pathname:e}=(0,c.TH)(),t=j().sidebar||{},n=[];(e=>{const t=e=>{"items"in e?(e.link&&n.push({text:e.text,link:e.link}),e.items.forEach((e=>{t(e)}))):n.push(e)};Object.values(e).forEach((e=>{e.forEach((e=>{t(e)}))}))})(t);const r=n.findIndex((t=>w((0,g.pJ)(t.link),e)));return{prevPage:n[r-1]||null,nextPage:n[r+1]||null}}(),{prevPageText:n="Previous Page",nextPageText:r="Next page"}=j();return(0,a.jsx)("footer",{m:"t-8",children:(0,a.jsxs)("div",{flex:"~ col sm:row",justify:"sm:around",gap:"2",p:"t-6",children:[(0,a.jsx)("div",{flex:"~ col",className:S,children:e?(0,a.jsxs)(M,{href:(0,h.yc)(e.link),className:O,children:[(0,a.jsx)("span",{className:D,children:n}),(0,a.jsx)("span",{className:$,children:e.text})]}):null}),(0,a.jsx)("div",{flex:"~ col",className:L,children:t?(0,a.jsxs)(M,{href:(0,h.yc)(t.link),className:`${O} ${L}`,children:[(0,a.jsx)("span",{className:D,children:r}),(0,a.jsx)("span",{className:$,children:t.text})]}):null})]})})}function P(){var e;const t=null!==(e=j().sidebar)&&void 0!==e?e:{},n=(0,c.TH)(),s=()=>{const e=n.pathname;for(const n of Object.keys(t)){if(w((0,g.pJ)(n),e))return{group:"",items:t[n]};const r=t[n].find((t=>{const n=t=>{const r=()=>w((0,g.pJ)(t.link),e);return"items"in t?!!r()||t.items.some((e=>n(e))):r()};return n(t)}));if(r){const e=t[n];return{group:r.text||"",items:e}}}return{group:"",items:[]}},[i,a]=(0,r.useState)(s());return(0,r.useEffect)((()=>{a(s())}),[n.pathname]),i}function A(){return A=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},A.apply(this,arguments)}var B=function(e){return r.createElement("svg",A({width:"1em",height:"1em",viewBox:"0 0 32 32"},e),C||(C=r.createElement("path",{fill:"currentColor",d:"M22 16L12 26l-1.4-1.4l8.6-8.6l-8.6-8.6L12 6z"})))},H="UroNu",I="ackUn",R="EZlU3",Z="r3Oz1",_="BgJSm",V="Emnh1",F="RCb_U";const J=e=>"items"in e?e.collapsed?32:32+e.items.reduce(((e,t)=>e+J(t)),0):32;function U(e){const{item:t,depth:n=0,activeMatcher:r,id:s,setSidebarData:i}=e,l=t.link&&r(t.link);return"items"in t?(0,a.jsx)(W,{id:s,item:t,depth:n,activeMatcher:r,collapsed:t.collapsed,setSidebarData:i,preloadLink:e.preloadLink},t.text):(0,a.jsx)(M,{href:(0,h.yc)(t.link),className:R,children:(0,a.jsx)("div",{m:"t-1",p:"y-1 x-2",block:"~",border:"rounded-sm","font-medium":"~",onMouseEnter:()=>e.preloadLink(t.link),className:l?F:Z,style:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:t.text})})}function W(e){var t;const{item:n,depth:s=0,activeMatcher:i,id:o,setSidebarData:d}=e,u=(0,c.s0)(),m=(0,r.useRef)(null),x=n.link&&i(n.link),{collapsed:p,collapsible:v=!0}=n,f=(0,a.jsx)("div",{"cursor-pointer":"~",style:{transition:"transform 0.2s ease-out",transform:p?"rotate(0deg)":"rotate(90deg)"},children:(0,a.jsx)(B,{})}),g=e=>{e.stopPropagation(),d((e=>{const t=[...e],n=o.split("-").map(Number);let r=t[n.shift()];for(const s of n)r=r.items[s];return"items"in r&&(r.collapsed=!r.collapsed),t}))};return(0,a.jsxs)("section",{block:"~",className:"mt-1",children:[(0,a.jsxs)("div",{flex:"~",justify:"between","items-start":"~",cursor:v?"pointer":"none",className:`items-center ${x?F:v?Z:V}`,onMouseEnter:()=>n.link&&e.preloadLink(n.link),onClick:e=>{n.link?(u((0,h.yc)(n.link)),p&&g(e)):v&&g(e)},children:[(0,a.jsx)("h2",{p:"y-1 x-2",text:"sm",font:"semibold",children:n.text}),v&&(0,a.jsx)("div",{p:"2",className:_,onClick:g,children:f})]}),(0,a.jsx)("div",{ref:m,style:{transition:"height 0.2s ease-in-out",overflow:"hidden",height:p&&v?"0px":J(n)-32+"px"},children:null==n||null===(t=n.items)||void 0===t?void 0:t.map(((t,n)=>(0,a.jsx)("div",{m:"last:b-0.5 l-4",children:(0,a.jsx)(U,(0,l.Z)((0,l.Z)({},e),{},{item:t,depth:s+1,id:`${o}-${n}`,preloadLink:e.preloadLink}))},t.link)))})]},n.text)}function q(e){const{isSidebarOpen:t,langRoutePrefix:n,pathname:s,sidebarData:i}=e,[l,o]=(0,r.useState)(i.filter(Boolean).flat());(0,r.useEffect)((()=>{const e=new WeakMap,t=n=>{if(e.has(n))return e.get(n);if(n.link&&d(n.link))return e.set(n,!0),!0;if("items"in n){if(n.items.some((e=>t(e))))return e.set(n,!0),!0}return e.set(n,!1),!1},n=e=>{"items"in e&&(e.items.forEach(n),t(e)&&(e.collapsed=!1))};l.forEach(n),o(i.filter(Boolean).flat())}),[e.sidebarData]);const c=e=>e.replace(n,""),d=e=>function(e,t,n=!1){return!!t&&(n?w(e,t):w(e,t)||e.startsWith(t))}((0,g.E9)(c(s)),c(e),!0),u=e=>{const t=(0,b.fp)(y._,e);if(null!=t&&t.length){const{route:e}=t[0];e.preload()}};return(0,a.jsx)("aside",{className:`${H} ${t?I:""}`,children:(0,a.jsx)("nav",{m:"t-1",children:l.map(((e,t)=>{var n;return(0,a.jsx)(U,{id:String(t),item:e,depth:0,activeMatcher:d,collapsed:null===(n=e.collapsed)||void 0===n||n,setSidebarData:o,preloadLink:u},e.text)}))})})}var G;function Y(){return Y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Y.apply(this,arguments)}var K=function(e){return r.createElement("svg",Y({width:"1em",height:"1em",viewBox:"0 0 32 32"},e),G||(G=r.createElement("path",{fill:"currentColor",d:"M4 6h24v2H4zm0 18h24v2H4zm0-12h24v2H4zm0 6h24v2H4z"})))},Q="_aGGP",X="wNUbj",ee="wvTRL";function te(e){const{langRoutePrefix:t,pathname:n,sidebarData:s}=e,[i,l]=(0,r.useState)(!1);return(0,a.jsxs)(r.Fragment,{children:[(0,a.jsx)("div",{className:Q,children:(0,a.jsxs)("button",{flex:"~ center",onClick:function(){l(!0)},className:X,children:[(0,a.jsx)("div",{text:"md",m:"r-2",children:(0,a.jsx)(K,{})}),(0,a.jsx)("span",{text:"sm",children:"Menu"})]})}),(0,a.jsx)(q,{langRoutePrefix:t,pathname:n,sidebarData:s,isSidebarOpen:i}),i?(0,a.jsx)("div",{onClick:function(){l(!1)},className:ee}):null]})}var ne={"header-anchor":"mPqs2",headerAnchor:"mPqs2","overview-groups":"_ecV6",overviewGroups:"_ecV6","overview-group-li":"AhQcS",overviewGroupLi:"AhQcS","level-2":"EdouY",level2:"EdouY","overview-group":"mLD5f",overviewGroup:"mLD5f",header:"GBUJO"};function re(){const{siteData:e,routePath:t}=i(),{pages:n}=e,s=n.filter((e=>e.routePath.startsWith(t.replace(/overview$/,""))&&e.routePath!==t)),{items:o}=P(),c=(0,r.useMemo)((()=>o.filter((e=>"items"in e)).map((e=>({name:e.text||"",items:e.items.map((e=>{var t;const n=s.find((t=>w(t.routePath,(0,g.pJ)(e.link||"")))),r=e=>e.link?e.link:"items"in e?r(e.items[0]):"",i=r(e);return(0,l.Z)((0,l.Z)({},e),{},{link:i,headers:(null==n||null===(t=n.toc)||void 0===t?void 0:t.filter((e=>2===e.depth)))||[]})}))})))),[o]);return(0,a.jsxs)("div",{className:"overview-index",m:"x-auto",p:"y-8 x-8",children:[(0,a.jsx)("div",{flex:"~","align-items-center":"~",justify:"between",children:(0,a.jsx)("h1",{children:"Overview"})}),c.map((e=>(0,a.jsxs)("div",{m:"b-16",children:[(0,a.jsx)("h2",{children:e.name}),(0,a.jsx)("div",{className:ne.overviewGroups,children:e.items.map((e=>{var t;return(0,a.jsxs)("div",{className:ne.overviewGroup,children:[(0,a.jsx)("div",{flex:"~",children:(0,a.jsx)("h3",{style:{marginBottom:8},children:(0,a.jsx)(M,{href:(0,h.yc)(e.link),children:e.text})})}),(0,a.jsx)("ul",{list:"none",children:null===(t=e.headers)||void 0===t?void 0:t.map((t=>(0,a.jsx)("li",{m:"first:t-2",className:`${ne.overviewGroupLi} ${ne[`level${t.depth}`]}`,children:(0,a.jsx)(M,{href:`${(0,h.yc)(e.link)}#${t.id}`,children:t.text})},t.id)))})]},e.link)}))})]},e.name)))]})}var se="RsCtL",ie="Q34AI",ae="TP8A7";const le=()=>{const{pathname:e}=(0,c.TH)(),t=(0,b.fp)(y._,(0,g.Tm)(e));if(!t)return(0,a.jsx)("div",{});const n=t[0].route.element;return(0,a.jsx)(r.Suspense,{children:n})};function oe(e){var t,n,r;const{beforeDocFooter:s,beforeDoc:l,afterDoc:o,beforeOutline:d,afterOutline:u}=e,{toc:m=[],siteData:x,frontmatter:p}=i(),v=m,{themeConfig:g}=x,w=j(),b=w.sidebar||[],{pathname:y}=(0,c.TH)(),{items:k}=P(),N=(0,h.Kw)(w.langRoutePrefix||""),z=!1!==(null==p?void 0:p.sidebar)&&Object.keys(b).length>0,E=(null==w?void 0:w.outlineTitle)||(null==g?void 0:g.outlineTitle)||"ON THIS PAGE",M=v.length>0&&(null===(t=null!==(n=null==p?void 0:p.outline)&&void 0!==n?n:null==g?void 0:g.outline)||void 0===t||t),C=null!==(r=null==p?void 0:p.overview)&&void 0!==r&&r;return(0,a.jsxs)("div",{p:"t-0",m:"md:t-14",className:ie,children:[l,z?(0,a.jsx)(te,{pathname:y,langRoutePrefix:N,sidebarData:k}):null,(0,a.jsxs)("div",{flex:"~ shrink-0",className:`${ae}`,children:[(0,a.jsx)("div",{w:"full",children:C?(0,a.jsx)(re,{}):(0,a.jsxs)("div",{className:"modern-doc",children:[(0,a.jsx)(le,{}),(0,a.jsxs)("div",{children:[s,(0,a.jsx)(T,{})]})]})}),M?(0,a.jsx)("div",{className:se,style:{minHeight:"calc(100vh - (var(--modern-nav-height) + 32px))"},children:(0,a.jsxs)("div",{children:[d,(0,a.jsx)(f,{headers:v,outlineTitle:E}),u]})}):null]}),o]})}var ce={button:"B0JQV",medium:"WNEsY",big:"U1msm",brand:"zXehA",alt:"ZSwJp"};function de(e){var t;const{theme:n="brand",size:s="big",href:i="/",external:a=!1,className:l=""}=e;let o=null;return"button"===e.type?o="button":"a"===e.type&&(o=a?"a":M),r.createElement(null!==(t=o)&&void 0!==t?t:"a",{className:`${ce.button} ${ce[n]} ${ce[s]} ${l}`,href:i},e.text)}var ue="QG9Rc";const me={name:"modern",text:"modern ssg",tagline:"modern ssg",actions:[],image:void 0};function he(){var e,t;const{frontmatter:n}=i(),r=(null==n?void 0:n.hero)||me,s=void 0!==r.image;return(0,a.jsx)("div",{m:"auto",p:"t-12 x-6 b-12 sm:t-0 sm:x-8 sm:x-16 md:t-20 md:x-16 md:b-16",children:(0,a.jsxs)("div",{className:"max-w-1152px",m:"auto",flex:"~ col md:row",children:[(0,a.jsxs)("div",{m:"auto md:0",order:"2 md:1",text:"center md:left",flex:"~ col lt-sm:c",className:"max-w-592px",children:[(0,a.jsx)("h1",{font:"bold",text:"3xl sm:5xl md:6xl",m:"auto md:0",p:"b-3",className:"max-w-392px sm:max-w-576px",children:(0,a.jsx)("span",{className:ue,children:r.name})}),(0,a.jsx)("p",{m:"x-auto md:0",text:"3xl sm:5xl md:6xl",font:"bold",className:"max-w-392px sm:max-w-576px",children:r.text}),(0,a.jsx)("p",{p:"t-4",m:"auto md:0",text:"sm sm:xl md:2xl text-2",font:"medium",className:"whitespace-pre-wrap max-w-392px sm:max-w-576px",children:r.tagline}),(0,a.jsx)("div",{flex:"~ wrap",justify:"center md:start",m:"-1.5",p:"t-8",children:r.actions.map((e=>(0,a.jsx)("div",{p:"1",flex:"shrink-0",children:(0,a.jsx)(de,{type:"a",text:e.text,href:(0,h.yc)(e.link),theme:e.theme})},e.link)))})]}),s?(0,a.jsx)("div",{w:"sm:max-60",h:"sm:max-60",flex:"md:center",m:"auto",order:"1 md:2",display:"flex sm:flex md:none lg:flex",children:(0,a.jsx)("img",{src:null===(e=r.image)||void 0===e?void 0:e.src,alt:null===(t=r.image)||void 0===t?void 0:t.alt})}):null]})})}var xe={"grid-2":"m2JAU",grid2:"m2JAU","grid-4":"cKq0u",grid4:"cKq0u","grid-6":"zyyfo",grid6:"zyyfo","grid-3":"FTep1",grid3:"FTep1"};const pe=[2,3,4];function ve(){const{frontmatter:e}=i(),t=null==e?void 0:e.features,n=(r=null==t?void 0:t.length)?pe.includes(r)?"grid-"+12/r:r%3==0?"grid-4":r%2==0?"grid-6":"":"";var r;return(0,a.jsx)("div",{className:"max-w-1152px",m:"auto",flex:"~ wrap",justify:"between",children:null==t?void 0:t.map((e=>{const{icon:t,title:r,details:s}=e;return(0,a.jsx)("div",{border:"rounded-md",p:"r-0 md:r-4 b-4",className:`${n?xe[n]:"w-full"}`,children:(0,a.jsxs)("article",{h:"full",p:"6",bg:"soft",border:"~ bg-soft solid rounded-xl",children:[(0,a.jsx)("div",{flex:"~ center",m:"b-5",w:"12",h:"12",text:"3xl",bg:"gray-light-4 dark:bg-white",border:"rounded-md",children:t}),(0,a.jsx)("h2",{font:"bold",children:r}),(0,a.jsx)("p",{p:"t-2",text:"sm text-2",font:"medium",className:"leading-6",children:s})]},r)},r)}))})}function fe(){const{siteData:e}=i(),{message:t}=e.themeConfig.footer||{};return(0,a.jsx)("footer",{p:"y-8 x-6 sm:8",bg:"white",pos:"relative",border:"t-1 b-0 solid divider-light",children:(0,a.jsx)("div",{m:"auto",w:"full",text:"center",children:t&&(0,a.jsx)("div",{font:"medium",text:"sm text-2",children:t})})})}var ge,je,we,be,ye,ke,Ne,ze,Ee,Me="DdK0_",Ce="WLpap",Se="Q_Ula";function Le(e){var t;return(0,a.jsx)("button",(0,l.Z)((0,l.Z)({className:`${Me} ${e.className}`,id:null!==(t=e.id)&&void 0!==t?t:"",type:"button",role:"switch"},e.onClick?{onClick:e.onClick}:{}),{},{children:(0,a.jsx)("span",{className:Ce,children:(0,a.jsx)("span",{className:Se,children:e.children})})}))}function Oe(){return Oe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Oe.apply(this,arguments)}var $e,De=function(e){return r.createElement("svg",Oe({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},e),ge||(ge=r.createElement("path",{d:"M12,18c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6S15.3,18,12,18zM12,8c-2.2,0-4,1.8-4,4c0,2.2,1.8,4,4,4c2.2,0,4-1.8,4-4C16,9.8,14.2,8,12,8z"})),je||(je=r.createElement("path",{d:"M12,4c-0.6,0-1-0.4-1-1V1c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,3.6,12.6,4,12,4z"})),we||(we=r.createElement("path",{d:"M12,24c-0.6,0-1-0.4-1-1v-2c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,23.6,12.6,24,12,24z"})),be||(be=r.createElement("path",{d:"M5.6,6.6c-0.3,0-0.5-0.1-0.7-0.3L3.5,4.9c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C6.2,6.5,5.9,6.6,5.6,6.6z"})),ye||(ye=r.createElement("path",{d:"M19.8,20.8c-0.3,0-0.5-0.1-0.7-0.3l-1.4-1.4c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C20.3,20.7,20,20.8,19.8,20.8z"})),ke||(ke=r.createElement("path",{d:"M3,13H1c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S3.6,13,3,13z"})),Ne||(Ne=r.createElement("path",{d:"M23,13h-2c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S23.6,13,23,13z"})),ze||(ze=r.createElement("path",{d:"M4.2,20.8c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C4.7,20.7,4.5,20.8,4.2,20.8z"})),Ee||(Ee=r.createElement("path",{d:"M18.4,6.6c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C18.9,6.5,18.6,6.6,18.4,6.6z"})))};function Te(){return Te=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Te.apply(this,arguments)}var Pe=function(e){return r.createElement("svg",Te({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},e),$e||($e=r.createElement("path",{d:"M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"})))};const Ae="modern-theme-appearance";let Be,He,Ie;const Re=e=>{Be[e?"add":"remove"]("dark")},Ze=()=>{const e=localStorage.getItem(Ae)||"auto";Ie=window.matchMedia("(prefers-color-scheme: dark)"),Re("auto"===e?Ie.matches:"dark"===e)};"undefined"!=typeof window&&"undefined"!=typeof localStorage&&(Be=document.documentElement.classList,Ze());var _e="JMkpU",Ve="tgdgB";function Fe(){const e=("undefined"!=typeof window&&window.addEventListener("storage",Ze),()=>{const e=Be.contains("dark");"undefined"!=typeof window&&"undefined"!=typeof localStorage&&(Re(!e),He=e?"light":"dark",localStorage.setItem(Ae,He))});return(0,a.jsxs)(Le,{onClick:e,children:[(0,a.jsx)(De,{className:_e}),(0,a.jsx)(Pe,{className:Ve})]})}var Je,Ue=n(35274);function We(){return We=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},We.apply(this,arguments)}var qe,Ge=function(e){return r.createElement("svg",We({width:"1em",height:"1em",viewBox:"0 0 32 32"},e),Je||(Je=r.createElement("path",{fill:"currentColor",d:"M16 22L6 12l1.4-1.4l8.6 8.6l8.6-8.6L26 12z"})))};function Ye(){return Ye=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ye.apply(this,arguments)}var Ke,Qe=function(e){return r.createElement("svg",Ye({width:32,height:32,viewBox:"0 0 32 32"},e),qe||(qe=r.createElement("path",{fill:"currentColor",d:"M10 6v2h12.59L6 24.59L7.41 26L24 9.41V22h2V6H10z"})))},Xe="Tk5bz",et="SenqS",tt="X7ejb",nt="IOfpr",rt="ciUdc",st="uavm2";function it(e){const{activeIndex:t}=e,[n,s]=(0,r.useState)(!1);return(0,a.jsxs)("div",{pos:"relative",className:`${n?et:""} ${Xe}`,children:[(0,a.jsxs)("button",{className:tt,onClick:()=>{s(!n)},children:[(0,a.jsx)("span",{className:nt,children:e.text}),(0,a.jsx)(Ge,{className:`${n?et:""} ${st} `})]}),(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:rt,children:e.items.map(((e,n)=>n===t?(0,a.jsx)("div",{className:"pa-1",children:(0,a.jsx)("span",{m:"r-1",text:"brand",children:e.text})},e.link):(0,a.jsx)("div",{className:"pa-1",font:"medium",children:(0,a.jsx)(M,{href:e.link,children:(0,a.jsx)("div",{children:(0,a.jsxs)("div",{flex:"~",children:[(0,a.jsx)("span",{m:"r-1",children:e.text}),(0,a.jsx)(Qe,{w:"11px",h:"11px",text:"text-3",m:"t-1 r-1"})]})})})},e.link)))})})]})}function at(e){const{pathname:t,base:n,langs:r}=e,s=new RegExp(e.activeMatch||e.link).test((0,h.FH)((0,h.tz)(t,n),r));return(0,a.jsx)("div",{text:"sm",font:"medium",m:"x-3",className:""+(s?"text-brand":""),children:(0,a.jsx)(M,{href:(0,h.yc)(e.link),children:e.text})},e.text)}function lt(){return lt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lt.apply(this,arguments)}var ot,ct=function(e){return r.createElement("svg",lt({width:32,height:32,viewBox:"0 0 32 32"},e),Ke||(Ke=r.createElement("path",{fill:"currentColor",d:"M27.85 29H30l-6-15h-2.35l-6 15h2.15l1.6-4h6.85zm-7.65-6l2.62-6.56L25.45 23zM18 7V5h-7V2H9v3H2v2h10.74a14.71 14.71 0 0 1-3.19 6.18A13.5 13.5 0 0 1 7.26 9h-2.1a16.47 16.47 0 0 0 3 5.58A16.84 16.84 0 0 1 3 18l.75 1.86A18.47 18.47 0 0 0 9.53 16a16.92 16.92 0 0 0 5.76 3.84L16 18a14.48 14.48 0 0 1-5.12-3.37A17.64 17.64 0 0 0 14.8 7z"})))};function dt(){return dt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dt.apply(this,arguments)}var ut=function(e){return r.createElement("svg",dt({width:"1em",height:"1em",viewBox:"0 0 32 32"},e),ot||(ot=r.createElement("path",{fill:"currentColor",d:"M16 22L6 12l1.4-1.4l8.6 8.6l8.6-8.6L26 12z"})))},mt="_8YjQ",ht="FU7nx",xt={discord:(0,a.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("title",{children:"Discord"}),(0,a.jsx)("path",{d:"M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z"})]}),facebook:(0,a.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("title",{children:"Facebook"}),(0,a.jsx)("path",{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"})]}),github:(0,a.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("title",{children:"GitHub"}),(0,a.jsx)("path",{d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"})]}),instagram:(0,a.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("title",{children:"Instagram"}),(0,a.jsx)("path",{d:"M12 0C8.74 0 8.333.015 7.053.072 5.775.132 4.905.333 4.14.63c-.789.306-1.459.717-2.126 1.384S.935 3.35.63 4.14C.333 4.905.131 5.775.072 7.053.012 8.333 0 8.74 0 12s.015 3.667.072 4.947c.06 1.277.261 2.148.558 2.913.306.788.717 1.459 1.384 2.126.667.666 1.336 1.079 2.126 1.384.766.296 1.636.499 2.913.558C8.333 23.988 8.74 24 12 24s3.667-.015 4.947-.072c1.277-.06 2.148-.262 2.913-.558.788-.306 1.459-.718 2.126-1.384.666-.667 1.079-1.335 1.384-2.126.296-.765.499-1.636.558-2.913.06-1.28.072-1.687.072-4.947s-.015-3.667-.072-4.947c-.06-1.277-.262-2.149-.558-2.913-.306-.789-.718-1.459-1.384-2.126C21.319 1.347 20.651.935 19.86.63c-.765-.297-1.636-.499-2.913-.558C15.667.012 15.26 0 12 0zm0 2.16c3.203 0 3.585.016 4.85.071 1.17.055 1.805.249 2.227.415.562.217.96.477 1.382.896.419.42.679.819.896 1.381.164.422.36 1.057.413 2.227.057 1.266.07 1.646.07 4.85s-.015 3.585-.074 4.85c-.061 1.17-.256 1.805-.421 2.227-.224.562-.479.96-.899 1.382-.419.419-.824.679-1.38.896-.42.164-1.065.36-2.235.413-1.274.057-1.649.07-4.859.07-3.211 0-3.586-.015-4.859-.074-1.171-.061-1.816-.256-2.236-.421-.569-.224-.96-.479-1.379-.899-.421-.419-.69-.824-.9-1.38-.165-.42-.359-1.065-.42-2.235-.045-1.26-.061-1.649-.061-4.844 0-3.196.016-3.586.061-4.861.061-1.17.255-1.814.42-2.234.21-.57.479-.96.9-1.381.419-.419.81-.689 1.379-.898.42-.166 1.051-.361 2.221-.421 1.275-.045 1.65-.06 4.859-.06l.045.03zm0 3.678c-3.405 0-6.162 2.76-6.162 6.162 0 3.405 2.76 6.162 6.162 6.162 3.405 0 6.162-2.76 6.162-6.162 0-3.405-2.76-6.162-6.162-6.162zM12 16c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm7.846-10.405c0 .795-.646 1.44-1.44 1.44-.795 0-1.44-.646-1.44-1.44 0-.794.646-1.439 1.44-1.439.793-.001 1.44.645 1.44 1.439z"})]}),linkedin:(0,a.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("title",{children:"LinkedIn"}),(0,a.jsx)("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})]}),slack:(0,a.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("title",{children:"Slack"}),(0,a.jsx)("path",{d:"M5.042 15.165a2.528 2.528 0 0 1-2.52 2.523A2.528 2.528 0 0 1 0 15.165a2.527 2.527 0 0 1 2.522-2.52h2.52v2.52zM6.313 15.165a2.527 2.527 0 0 1 2.521-2.52 2.527 2.527 0 0 1 2.521 2.52v6.313A2.528 2.528 0 0 1 8.834 24a2.528 2.528 0 0 1-2.521-2.522v-6.313zM8.834 5.042a2.528 2.528 0 0 1-2.521-2.52A2.528 2.528 0 0 1 8.834 0a2.528 2.528 0 0 1 2.521 2.522v2.52H8.834zM8.834 6.313a2.528 2.528 0 0 1 2.521 2.521 2.528 2.528 0 0 1-2.521 2.521H2.522A2.528 2.528 0 0 1 0 8.834a2.528 2.528 0 0 1 2.522-2.521h6.312zM18.956 8.834a2.528 2.528 0 0 1 2.522-2.521A2.528 2.528 0 0 1 24 8.834a2.528 2.528 0 0 1-2.522 2.521h-2.522V8.834zM17.688 8.834a2.528 2.528 0 0 1-2.523 2.521 2.527 2.527 0 0 1-2.52-2.521V2.522A2.527 2.527 0 0 1 15.165 0a2.528 2.528 0 0 1 2.523 2.522v6.312zM15.165 18.956a2.528 2.528 0 0 1 2.523 2.522A2.528 2.528 0 0 1 15.165 24a2.527 2.527 0 0 1-2.52-2.522v-2.522h2.52zM15.165 17.688a2.527 2.527 0 0 1-2.52-2.523 2.526 2.526 0 0 1 2.52-2.52h6.313A2.527 2.527 0 0 1 24 15.165a2.528 2.528 0 0 1-2.522 2.523h-6.313z"})]}),twitter:(0,a.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("title",{children:"Twitter"}),(0,a.jsx)("path",{d:"M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z"})]}),youtube:(0,a.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("title",{children:"YouTube"}),(0,a.jsx)("path",{d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"})]}),juejin:(0,a.jsxs)("svg",{t:"1666949308602",className:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1858","data-spm-anchor-id":"a313x.7781069.0.i5",children:[(0,a.jsx)("path",{d:"M465.189 161.792c-22.967 18.14-44.325 35.109-47.397 37.742l-5.851 4.68 10.971 8.632c5.998 4.827 11.85 9.508 13.02 10.532 1.17 1.024 17.993 14.336 37.156 29.696l34.962 27.795 5.267-3.95c2.925-2.194 23.259-18.432 45.348-35.986 21.943-17.555 41.253-32.768 42.716-33.646 1.609-1.024 2.779-2.194 2.779-2.78 0-0.438-9.655-8.63-21.504-17.846-11.995-9.363-22.674-17.847-23.845-18.871-15.945-13.02-49.737-39.059-50.76-39.059-0.586 0.147-19.896 14.922-42.862 33.061z m233.325 180.37C507.465 493.275 508.928 492.105 505.417 489.911c-3.072-1.902-11.556-8.485-64.073-50.03-9.07-7.168-18.578-14.775-21.358-16.823-2.78-2.194-8.777-6.875-13.312-10.532-4.68-3.657-10.679-8.339-13.312-10.533-13.165-10.24-71.095-56.027-102.107-80.457-5.852-4.681-11.41-8.485-12.142-8.485-0.731 0-10.971 7.754-22.674 17.116-11.703 9.508-22.674 18.286-24.284 19.456-1.755 1.17-5.12 3.95-7.46 6.144-2.34 2.34-4.828 4.096-5.413 4.096-3.072 0-0.731 3.072 6.437 8.777 4.096 3.218 8.777 6.875 10.094 8.046 1.316 1.024 10.24 8.045 19.748 15.506s23.26 18.286 30.428 23.99c19.31 15.215 31.89 25.308 127.853 101.084 47.836 37.742 88.796 69.779 90.844 71.095 3.657 2.487 3.95 2.487 7.46-0.292a1041.42 1041.42 0 0 0 16.092-12.727c6.875-5.413 14.775-11.703 17.554-13.897 30.135-23.699 80.018-63.05 81.774-64.512 1.17-1.024 12.434-9.802 24.868-19.603s37.888-29.696 56.32-44.324c18.579-14.629 46.227-36.425 61.733-48.567 15.506-12.142 27.794-22.528 27.502-23.26-0.878-1.17-57.637-47.104-59.978-48.274-0.731-0.439-18.578 12.727-39.497 29.257z","p-id":"1859","data-spm-anchor-id":"a313x.7781069.0.i2"}),(0,a.jsx)("path",{d:"M57.93 489.326c-15.215 12.288-28.527 23.405-29.697 24.576-2.34 2.194-5.412-0.44 80.018 66.852 33.207 26.185 32.622 25.747 57.637 45.495 10.386 8.192 36.279 28.672 57.783 45.495 38.18 30.135 44.91 35.401 52.663 41.545 2.048 1.756 22.967 18.14 46.372 36.572 23.26 18.432 74.167 58.514 112.933 89.088 38.912 30.573 71.095 55.734 71.826 56.027 0.732 0.293 7.46-4.389 14.921-10.386 21.797-16.97 90.259-70.949 101.523-79.872 5.705-4.535 12.873-10.24 15.945-12.58 3.072-2.488 6.436-5.12 7.314-5.852 0.878-0.878 11.85-9.509 24.283-19.31 20.773-16.091 59.1-46.226 64.366-50.615 1.17-1.024 5.12-4.096 8.777-6.875 3.657-2.78 7.9-6.29 9.509-7.607 1.609-1.317 14.775-11.703 29.257-23.113 29.11-22.82 42.277-33.207 88.503-69.632 17.262-13.605 32.475-25.454 33.646-26.478 2.486-2.048 31.451-24.869 44.617-35.255 4.827-3.657 9.07-7.168 9.508-7.607 0.44-0.585 5.998-4.827 12.435-9.8 6.436-4.828 13.165-10.24 15.067-11.85l3.365-2.926-9.948-7.753c-5.412-4.388-10.24-8.192-10.679-8.63-1.17-1.317-22.381-18.433-30.135-24.284-3.95-3.072-7.314-5.998-7.606-6.73-1.317-3.071-6.73 0.147-29.258 17.994-13.458 10.532-25.746 20.187-27.355 21.504-1.61 1.463-10.533 8.338-19.749 15.652-9.216 7.168-17.115 13.459-17.554 13.898-0.439 0.438-6.583 5.412-13.897 10.971-7.168 5.559-15.214 11.703-17.7 13.75-4.974 4.097-5.413 4.39-20.334 16.239-5.56 4.388-11.264 8.777-12.435 9.8-1.17 1.025-20.333 16.092-42.422 33.354-22.09 17.408-41.546 32.768-43.155 34.084-1.609 1.463-14.482 11.557-28.525 22.528s-40.814 32.037-59.539 46.812c-18.578 14.775-42.276 33.353-52.516 41.399s-23.26 18.285-28.965 22.82l-10.386 8.339-4.389-3.072c-2.34-1.756-4.68-3.511-5.12-3.95-0.439-0.439-4.973-4.096-10.24-8.046-11.849-9.216-14.482-11.264-16.676-13.166-0.878-0.877-4.243-3.51-7.46-5.851-3.22-2.487-6.145-4.681-6.584-5.12-0.439-0.439-6.875-5.705-14.482-11.703-7.607-5.851-14.921-11.556-16.091-12.58-1.317-1.17-17.116-13.605-35.255-27.795-17.993-14.19-35.109-27.648-38.035-29.842-5.705-4.681-33.499-26.624-125.074-98.743-34.523-27.209-72.704-57.344-84.846-66.852-49.737-39.498-55.15-43.594-56.905-43.447-0.877 0-14.043 10.24-29.257 22.528z","p-id":"1860","data-spm-anchor-id":"a313x.7781069.0.i3"})]}),qq:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",className:"iconify iconify--ri",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{fill:"currentColor",d:"M19.913 14.529a31.977 31.977 0 0 0-.675-1.886l-.91-2.246c0-.026.012-.468.012-.696C18.34 5.86 16.507 2 12 2S5.66 5.86 5.66 9.7c0 .229.011.671.012.697l-.91 2.246a32.777 32.777 0 0 0-.675 1.886c-.86 2.737-.581 3.87-.369 3.895c.455.054 1.771-2.06 1.771-2.06c0 1.224.637 2.822 2.016 3.976c-.515.157-1.147.399-1.554.695c-.365.267-.319.54-.253.65c.289.481 4.955.307 6.303.157c1.347.15 6.014.324 6.302-.158c.066-.11.112-.382-.253-.649c-.407-.296-1.039-.538-1.555-.696c1.379-1.153 2.016-2.751 2.016-3.976c0 0 1.316 2.115 1.771 2.06c.212-.025.49-1.157-.37-3.894"})}),wechat:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",className:"iconify iconify--ri",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{fill:"currentColor",d:"M18.574 13.711a.91.91 0 0 0 .898-.898c0-.498-.399-.898-.898-.898s-.898.4-.898.898c0 .5.4.898.898.898zm-4.425 0a.91.91 0 0 0 .898-.898c0-.498-.4-.898-.898-.898c-.5 0-.898.4-.898.898c0 .5.399.898.898.898zm6.567 5.04a.347.347 0 0 0-.172.37c0 .048 0 .097.025.147c.098.417.294 1.081.294 1.106c0 .073.025.122.025.172a.22.22 0 0 1-.221.22c-.05 0-.074-.024-.123-.048l-1.449-.836a.799.799 0 0 0-.344-.098c-.073 0-.147 0-.196.024c-.688.197-1.4.295-2.161.295c-3.66 0-6.607-2.457-6.607-5.505c0-3.047 2.947-5.505 6.607-5.505c3.659 0 6.606 2.458 6.606 5.505c0 1.647-.884 3.146-2.284 4.154zM16.673 8.099a9.105 9.105 0 0 0-.28-.005c-4.174 0-7.606 2.86-7.606 6.505c0 .554.08 1.09.228 1.6h-.089a9.963 9.963 0 0 1-2.584-.368c-.074-.025-.148-.025-.222-.025a.832.832 0 0 0-.418.123l-1.748 1.005c-.05.025-.099.05-.148.05a.273.273 0 0 1-.27-.27c0-.074.024-.123.049-.197c.024-.024.246-.834.369-1.324c0-.05.024-.123.024-.172a.556.556 0 0 0-.221-.442C2.058 13.376 1 11.586 1 9.598C1 5.945 4.57 3 8.95 3c3.765 0 6.93 2.169 7.723 5.098zm-5.154.418c.573 0 1.026-.477 1.026-1.026c0-.573-.453-1.026-1.026-1.026s-1.026.453-1.026 1.026s.453 1.026 1.026 1.026zm-5.26 0c.573 0 1.027-.477 1.027-1.026c0-.573-.454-1.026-1.027-1.026c-.572 0-1.026.453-1.026 1.026s.454 1.026 1.026 1.026z"})}),weibo:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",className:"iconify iconify--ri",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{fill:"currentColor",d:"M17.525 11.378c1.263.392 2.669 1.336 2.669 3.004c0 2.763-3.98 6.239-9.964 6.239c-4.565 0-9.23-2.213-9.23-5.852c0-1.902 1.204-4.102 3.277-6.177c2.773-2.77 6.004-4.033 7.219-2.816c.537.537.588 1.464.244 2.572c-.178.557.525.25.525.25c2.24-.938 4.196-.994 4.909.027c.38.543.343 1.306-.008 2.19c-.163.407.048.471.36.563zm-7.282 7.939c3.641-.362 6.401-2.592 6.167-4.983c-.237-2.391-3.382-4.038-7.023-3.677c-3.64.36-6.403 2.59-6.167 4.98c.237 2.394 3.382 4.039 7.023 3.68zM6.16 14.438c.754-1.527 2.712-2.39 4.446-1.94c1.793.463 2.707 2.154 1.976 3.8c-.744 1.682-2.882 2.578-4.695 1.993c-1.752-.566-2.493-2.294-1.727-3.853zm1.446 2.587c.568.257 1.325.013 1.676-.55c.346-.568.163-1.217-.407-1.459c-.563-.237-1.291.008-1.64.553c-.354.547-.189 1.202.371 1.456zm2.206-1.808c.219.092.501-.012.628-.231c.123-.22.044-.466-.178-.548c-.216-.084-.486.018-.613.232c-.123.214-.054.458.163.547zM19.873 9.5a.725.725 0 1 1-1.378-.451a1.38 1.38 0 0 0-.288-1.357a1.395 1.395 0 0 0-1.321-.425a.723.723 0 1 1-.303-1.416a2.836 2.836 0 0 1 3.29 3.649zm-3.916-6.575A5.831 5.831 0 0 1 21.5 4.72a5.836 5.836 0 0 1 1.22 5.704a.838.838 0 0 1-1.06.54a.844.844 0 0 1-.542-1.062a4.143 4.143 0 0 0-4.807-5.327a.845.845 0 0 1-.354-1.65z"})}),zhihu:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",className:"iconify iconify--ri",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{fill:"currentColor",d:"m12.344 17.963l-1.688 1.074l-2.131-3.35c-.44 1.402-1.172 2.665-2.139 3.825c-.402.483-.82.918-1.301 1.375c-.155.147-.775.717-.878.82l-1.414-1.414c.139-.139.787-.735.915-.856c.43-.408.795-.79 1.142-1.206c1.266-1.518 2.03-3.21 2.137-5.231H3v-2h4V7h-.868c-.689 1.266-1.558 2.222-2.618 2.857L2.486 8.143c1.395-.838 2.425-2.604 3.038-5.36l1.952.434c-.14.633-.303 1.227-.489 1.783H11.5v2H9v4h2.5v2H9.185l3.159 4.963zm3.838-.07L17.298 17H19V7h-4v10h.736l.446.893zM13 5h8v14h-3l-2.5 2l-1-2H13V5z"})}),bilibili:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",className:"iconify iconify--ri",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{fill:"currentColor",d:"M18.223 3.086a1.25 1.25 0 0 1 0 1.768L17.08 5.996h1.17A3.75 3.75 0 0 1 22 9.747v7.5a3.75 3.75 0 0 1-3.75 3.75H5.75A3.75 3.75 0 0 1 2 17.247v-7.5a3.75 3.75 0 0 1 3.75-3.75h1.166L5.775 4.855a1.25 1.25 0 1 1 1.767-1.768l2.652 2.652c.079.079.145.165.198.257h3.213c.053-.092.12-.18.199-.258l2.651-2.652a1.25 1.25 0 0 1 1.768 0zm.027 5.42H5.75a1.25 1.25 0 0 0-1.247 1.157l-.003.094v7.5c0 .659.51 1.199 1.157 1.246l.093.004h12.5a1.25 1.25 0 0 0 1.247-1.157l.003-.093v-7.5c0-.69-.56-1.25-1.25-1.25zm-10 2.5c.69 0 1.25.56 1.25 1.25v1.25a1.25 1.25 0 1 1-2.5 0v-1.25c0-.69.56-1.25 1.25-1.25zm7.5 0c.69 0 1.25.56 1.25 1.25v1.25a1.25 1.25 0 1 1-2.5 0v-1.25c0-.69.56-1.25 1.25-1.25z"})})};const pt=e=>{const{link:t,popperStyle:n={}}=e,{icon:s,mode:i="link",content:o}=t,c="object"==typeof s?(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:s.svg}}):xt[s],[d,u]=(0,r.useState)(!1),m=()=>{u(!0)},h=()=>{u(!1)};return"link"===i?(0,a.jsx)("a",{href:o,target:"_blank",rel:"noopener noreferrer",children:(0,a.jsx)("div",{className:`${mt}`,children:c})},o):"text"===i?(0,a.jsxs)("div",{className:`${mt}`,cursor:"pointer",pos:"relative",onMouseEnter:m,onMouseLeave:h,children:[c,d?(0,a.jsx)("div",{z:"1",p:"3",w:"50",pos:"absolute right-0",border:"rounded-xl",bg:"white",style:(0,l.Z)({boxShadow:"var(--modern-shadow-3)",border:"1px solid var(--modern-c-divider-light)"},n),children:(0,a.jsx)("div",{text:"ml",children:o})}):null]}):"img"===i?(0,a.jsxs)("div",{className:`${mt}`,cursor:"pointer",pos:"relative",onMouseEnter:m,onMouseLeave:h,children:[c,d?(0,a.jsx)("div",{z:"1",p:"3",w:"50",pos:"absolute right-0",border:"rounded-xl",bg:"white",className:"break-all",style:(0,l.Z)({boxShadow:"var(--modern-shadow-3)"},n),children:(0,a.jsx)("img",{src:o,alt:"img"})}):null]}):(0,a.jsx)("div",{})},vt=e=>{const{links:t,moreIconVisible:n=!1,mouseEnter:r}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{h:"full",flex:"~",gap:"x-4","align-items-center":"~",transition:"color duration-300",children:t.map(((e,t)=>(0,a.jsx)(pt,{link:e,popperStyle:{top:"2.5rem"}},t)))}),n?(0,a.jsx)("div",{className:"ml-1",onMouseEnter:r,children:(0,a.jsx)(ut,{})}):null]})},ft=e=>{const{links:t}=e;return(0,a.jsx)("div",{pos:"absolute top-13 right-0",z:"1",p:"3",w:"32",border:"rounded-xl",bg:"white",style:{boxShadow:"var(--modern-shadow-3)",marginRight:"-2px",border:"1px solid var(--modern-c-divider-light)"},flex:"~ wrap",gap:"4",children:t.map((e=>(0,a.jsx)(pt,{link:e,popperStyle:{top:"1.25rem"}},e.content)))})},gt=({socialLinks:e})=>{const t=e.length>3,n=[],s=[];e.forEach(((e,t)=>{t<3?n.push(e):s.push(e)}));const[i,l]=(0,r.useState)(!1);return(0,a.jsxs)("div",{className:`social-links ${ht}`,"nav-h":"mobile sm:desktop",flex:"~","align-items-center":"~",pos:"relative",onMouseLeave:()=>l(!1),children:[(0,a.jsx)(vt,{links:n,moreIconVisible:t,mouseEnter:()=>l(!0)}),i?(0,a.jsx)(ft,{links:s}):null]})};var jt={navScreen:"NeczB",active:"qQFFd",container:"WLObZ",navMenu:"_3YuLy",navMenuItem:"osgV9",navAppearance:"ctzdQ",socialAndAppearance:"rp9pY"};const wt=({translationMenuData:e})=>(0,a.jsx)("div",{className:jt.navTranslations,flex:"~",text:"sm",font:"bold",justify:"center",children:(0,a.jsx)("div",{m:"x-1.5",children:(0,a.jsx)(it,(0,l.Z)({},e))})});function bt(e){var t;const{isScreenOpen:n,localeData:s,siteData:i,pathname:o}=e,c=(0,r.useRef)(null),d=i.themeConfig.locales||[],u=d.length>1,m=s.nav||[],h=!1!==i.themeConfig.darkMode,x=(null==i||null===(t=i.themeConfig)||void 0===t?void 0:t.socialLinks)||[],p=x.length>0,v=d.map((e=>e.lang||"zh"))||[],{base:f}=i,g=u?{text:(0,a.jsx)(ct,{w:"18px",h:"18px"}),items:d.map((e=>({text:e.label,link:`/${e.lang}`}))),activeIndex:d.findIndex((e=>e.lang===s.lang))}:null,j=()=>(0,a.jsx)("div",{className:`align-items-center appearance pa-2 ${jt.navAppearance}`,flex:"~",justify:"center",children:(0,a.jsx)(Fe,{})}),w=({menuItems:e})=>(0,a.jsx)("div",{className:jt.navMenu,children:e.map(((e,t)=>(0,a.jsx)("div",{w:"full",className:jt.navMenuItem,children:"link"in e?(0,a.jsx)(at,(0,l.Z)({pathname:o,base:f,langs:v},e),t):(0,a.jsx)("div",{m:"x-3",last:"mr-0",children:(0,a.jsx)(it,(0,l.Z)({},e))},t)},t)))});return(0,r.useEffect)((()=>(c.current&&n&&(0,Ue.Qp)(c.current,{reserveScrollBarGap:!0}),()=>{(0,Ue.tP)()})),[n]),(0,a.jsx)("div",{className:`${jt.navScreen} ${n?jt.active:""}`,ref:c,id:"navScreen",children:(0,a.jsxs)("div",{className:jt.container,children:[(0,a.jsx)(w,{menuItems:m}),(0,a.jsx)("div",{className:jt.socialAndAppearance,flex:"~",justify:"center","align-items-center":"center",children:h&&(0,a.jsx)(j,{})}),u&&(0,a.jsx)(wt,{translationMenuData:g}),p&&(0,a.jsx)(gt,{socialLinks:x})]})})}var yt="wzxr1",kt="kECx4",Nt="wzOB6",zt="coO8e",Et="RrwJk",Mt="hb8AN";function Ct(e){const{localeData:t,siteData:n,pathname:s}=e,{isScreenOpen:i,toggleScreen:l}=function(){const[e,t]=(0,r.useState)(!1);function n(){t(!0),window.addEventListener("resize",i)}function s(){t(!1),window.removeEventListener("resize",i)}function i(){window.outerWidth>=768&&s()}return{isScreenOpen:e,openScreen:n,closeScreen:s,toggleScreen:function(){e?s():n()}}}();return(0,a.jsxs)(r.Fragment,{children:[(0,a.jsx)("button",{onClick:l,className:`${i?Mt:""} ${yt}`,children:(0,a.jsxs)("span",{className:kt,children:[(0,a.jsx)("span",{className:Nt}),(0,a.jsx)("span",{className:zt}),(0,a.jsx)("span",{className:Et})]})}),(0,a.jsx)(bt,{isScreenOpen:i,localeData:t,siteData:n,pathname:s})]})}function St(e){const{activeIndex:t,isTranslation:n}=e,[s,i]=(0,r.useState)(!1);return(0,a.jsxs)("div",{h:"14",className:"relative",flex:"~ center",onMouseLeave:()=>i(!1),children:[(0,a.jsxs)("button",{onMouseEnter:()=>i(!0),flex:"~ center",align:"items-center",font:"medium",text:"sm text-1 hover:text-2",transition:"color duration-200",className:"nav-menu-group-button",children:[(0,a.jsx)("span",{m:"r-1",text:"sm",font:"medium",children:n?(0,a.jsx)(ct,{w:"18px",h:"18px"}):e.text}),(0,a.jsx)(Ge,{})]}),(0,a.jsx)("div",{pos:"top-13 right-0",m:"x-0.8",transition:"opacity duration-300",className:"nav-menu-group-content absolute",style:{opacity:s?1:0,visibility:s?"visible":"hidden"},children:(0,a.jsx)("div",{p:"3",w:"full",h:"full",className:"min-w-128px max-h-100vh rounded-xl whitespace-nowrap",bg:"white",style:{boxShadow:"var(--modern-shadow-3)",marginRight:"-1.5rem",zIndex:100,border:"1px solid var(--modern-c-divider-light)"},children:e.items.map(((e,n)=>n===t?(0,a.jsx)("div",{className:"rounded-md",p:"y-1.6 l-3",children:(0,a.jsx)("span",{m:"r-1",text:"brand",children:e.text})},e.link):(0,a.jsx)("div",{font:"medium",children:(0,a.jsx)(M,{href:e.link,children:(0,a.jsx)("div",{className:"rounded-md",hover:"bg-mute",p:"y-1.6 l-3 r-6",children:(0,a.jsx)("div",{flex:"~",children:(0,a.jsxs)("span",{m:"r-1",children:[e.text,(0,a.jsx)(Qe,{w:"11px",h:"11px",text:"text-3",m:"t-1 r-1 l-1",className:"inline-block align-text-top"})]})})})})},e.link)))})})]})}var Lt={container:"Be7Bu",rightNav:"fxz4T",navContainer:"J5RhI","social-links-icon":"aVv_y",socialLinksIcon:"aVv_y","menu-item":"WjR05",menuItem:"WjR05"};const Ot=({title:e,langRoutePrefix:t,logo:n})=>(0,a.jsx)("div",{className:`${Lt.navBarTitle}`,children:(0,a.jsx)("a",{href:(0,g.pJ)(t),w:"full",h:"full",text:"1rem",font:"semibold",transition:"opacity duration-300",hover:"opacity-60",className:"flex items-center",children:n?(0,a.jsx)("img",{src:n,alt:"logo",id:"logo",m:"r-4",className:"w-24 modern-doc-logo"}):(0,a.jsx)("span",{children:e})})}),$t=({translationMenuData:e})=>(0,a.jsx)("div",{flex:"~",text:"sm",font:"bold",align:"items-center",className:`translation ${Lt.menuItem}`,children:(0,a.jsx)("div",{m:"x-1.5",children:(0,a.jsx)(St,(0,l.Z)((0,l.Z)({},e),{},{isTranslation:!0}))})});function Dt(e){var t,n,r;const{beforeNavTitle:s,afterNavTitle:o}=e,{siteData:d}=i(),{pathname:u}=(0,c.TH)(),m=!1!==d.themeConfig.darkMode,x=j(),p=Object.values(d.themeConfig.locales||{}),v=p.length>1,f=(null==d||null===(t=d.themeConfig)||void 0===t?void 0:t.socialLinks)||[],g=f.length>0,w=d.lang||"zh",b=p.map((e=>e.lang||"zh"))||[],{logo:y,base:k}=d,N=v?{items:p.map((e=>({text:e.label,link:(0,h.$U)(u,e.lang,w,b,k)}))),activeIndex:p.findIndex((e=>e.lang===x.lang))}:null,z=()=>(0,a.jsx)("div",{className:`${Lt.menuItem} modern-doc-appearance`,display:"none sm:flex","align-items-center":"center",children:(0,a.jsx)(Fe,{})}),E=({menuItems:e})=>(0,a.jsx)("div",{className:"menu",h:"14",children:e.map((e=>"items"in e?(0,a.jsx)("div",{m:"x-3",last:"mr-0",children:(0,a.jsx)(St,(0,l.Z)({},e))},e.text):(0,a.jsx)(at,(0,l.Z)({pathname:u,langs:b,base:k},e),e.link)))}),M=x.nav||[],C=!1!==(null==d||null===(n=d.themeConfig)||void 0===n?void 0:n.search),S=null!==(r=x.title)&&void 0!==r?r:d.title;return(0,a.jsx)("header",{className:"top-0 left-0 relative md:fixed w-full",style:{borderBottom:"1px solid var(--modern-c-divider-light)",zIndex:"var(--modern-z-index-nav)"},children:(0,a.jsx)("div",{className:`${Lt.navContainer} modern-doc-nav`,p:"x-6",children:(0,a.jsxs)("div",{flex:"~",justify:"between",align:"items-center",h:"full",className:`${Lt.container}`,children:[s,(0,a.jsx)(Ot,{title:S,langRoutePrefix:x.langRoutePrefix||"/",logo:y}),o,(0,a.jsxs)("div",{className:Lt.content,flex:"~ 1",justify:"end","align-items-center":"~",children:[(0,a.jsxs)("div",{className:Lt.rightNav,children:[C&&(0,a.jsx)("div",{className:"search",flex:"sm:1",p:"sm:l-8",children:(0,a.jsx)(Kt,{langRoutePrefix:x.langRoutePrefix||"",defaultLang:w,langs:b})}),(0,a.jsx)(E,{menuItems:M}),v&&(0,a.jsx)($t,{translationMenuData:N}),m&&(0,a.jsx)(z,{}),g&&(0,a.jsx)(gt,{socialLinks:f})]}),(0,a.jsx)(Ct,{localeData:x,siteData:d,pathname:u})]})]})})})}var Tt;function Pt(){return Pt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Pt.apply(this,arguments)}var At,Bt=function(e){return r.createElement("svg",Pt({width:32,height:32,viewBox:"0 0 32 32"},e),Tt||(Tt=r.createElement("path",{fill:"#888888",d:"m29 27.586l-7.552-7.552a11.018 11.018 0 1 0-1.414 1.414L27.586 29ZM4 13a9 9 0 1 1 9 9a9.01 9.01 0 0 1-9-9Z"})))};function Ht(){return Ht=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ht.apply(this,arguments)}var It=function(e){return r.createElement("svg",Ht({width:32,height:32,viewBox:"0 0 24 24"},e),At||(At=r.createElement("g",{fill:"none",stroke:"var(--modern-c-brand)",strokeLinecap:"round",strokeWidth:2},r.createElement("path",{strokeDasharray:60,strokeDashoffset:60,strokeOpacity:.3,d:"M12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3Z"},r.createElement("animate",{fill:"freeze",attributeName:"stroke-dashoffset",dur:"1.3s",values:"60;0"})),r.createElement("path",{strokeDasharray:15,strokeDashoffset:15,d:"M12 3C16.9706 3 21 7.02944 21 12"},r.createElement("animate",{fill:"freeze",attributeName:"stroke-dashoffset",dur:"0.3s",values:"15;0"}),r.createElement("animateTransform",{attributeName:"transform",dur:"1.5s",repeatCount:"indefinite",type:"rotate",values:"0 12 12;360 12 12"})))))},Rt="SjSZ2",Zt="ahvvD",_t="Xu405",Vt="iUJv9",Ft="HZkzZ";function Jt(e){const{suggestion:t,query:n}=e;return(0,a.jsxs)("div",{"table-cell":"~",p:"x-3 y-2",text:"#2c3e50",className:`${e.isCurrent?"bg-[#f3f4f5]":"bg-white"} ${Zt} ${e.isFirst?_t:""}`,transition:"bg duration-200",children:[(0,a.jsx)("div",{font:"medium",text:"sm",children:(()=>{if("header"===t.type){const{header:e,headerHighlightIndex:r}=t,s=e.slice(0,r),i=e.slice(r+n.length);return(0,a.jsxs)("div",{font:"medium",children:[(0,a.jsx)("span",{children:s}),(0,a.jsx)("span",{text:"brand-light",children:n}),(0,a.jsx)("span",{children:i})]})}return(0,a.jsx)("div",{font:"medium",children:t.header})})()}),"content"===t.type&&(()=>{if("content"!==t.type)return(0,a.jsx)("div",{});const{statementHighlightIndex:e,statement:r}=t,s=r.slice(0,e),i=r.slice(e+n.length);return(0,a.jsxs)("div",{font:"normal",text:"sm gray-light",w:"full",children:[(0,a.jsx)("span",{children:s}),(0,a.jsx)("span",{text:"brand-light",children:n}),(0,a.jsx)("span",{children:i})]})})()]})}var Ut=n(96934);const Wt="ArrowUp",qt="ArrowDown",Gt="Enter",Yt="KeyK";function Kt(e){const[t,s]=(0,r.useState)(""),[i,l]=(0,r.useState)([]),[o,c]=(0,r.useState)(!1),[d,u]=(0,r.useState)(!1),[m,h]=(0,r.useState)(!1),[x,p]=(0,r.useState)(-1),v=(0,r.useRef)(),f=(0,r.useRef)(),[g,j]=(0,r.useState)(!0),w=(0,r.useRef)(null),b=!o||d,y=!b&&0===i.length,k=(0,r.useCallback)((async()=>{if(v.current)return Promise.resolve();{const{PageSearcher:t}=await Promise.all([n.e(2986),n.e(7991),n.e(8652)]).then(n.bind(n,48652)),{defaultLang:r,langs:s,langRoutePrefix:i}=e;v.current=new t({defaultLang:r,langs:s,langRoutePrefix:i}),await v.current.init(),c(!0)}}),[e.langRoutePrefix]),N=(0,r.useCallback)((async e=>{const t=e.target.value;s(t),f.current=f.current||k(),await f.current,u(!0);const n=await v.current.match(t);u(!1),l(n)}),[k]);return(0,r.useEffect)((()=>{const e=e=>{switch(e.code){case Yt:(e.ctrlKey||e.metaKey)&&w.current&&(e.preventDefault(),m?(h(!1),w.current.blur()):(h(!0),w.current.focus()));break;case qt:e.preventDefault(),p((x+1)%i.length);break;case Wt:e.preventDefault(),p((x-1+i.length)%i.length);break;case Gt:if(x>=0){const e=i[x];window.location.href=e.link}}};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[x,m,i]),(0,r.useEffect)((()=>{j(!1)}),[]),(0,a.jsxs)("div",{flex:"~",align:"items-center",pos:"relative",m:"r-2",font:"semibold",children:[(0,a.jsx)(Bt,{w:"5",h:"5",fill:"currentColor",onClick:()=>{var e;h(!0),null===(e=w.current)||void 0===e||e.focus()}}),(0,a.jsx)("input",{disabled:g,cursor:"text focus:auto",placeholder:"Search",height:"8",border:"none",type:"text",text:"sm",p:"t-0 r-2 b-0 l-2",transition:"all duration-200 ease",className:`rounded-sm ${Rt} ${m?Ft:""}`,"aria-label":"Search",autoComplete:"off",onChange:N,onBlur:()=>setTimeout((()=>h(!1)),200),onFocus:()=>{h(!0),f.current=k()},ref:w}),(0,a.jsxs)("div",{m:"r-3",w:"10",h:"6",p:"x-1.5",border:"1px solid gray-light-3 rounded-md",text:"xs gray-light-3",flex:"~",align:"items-center",justify:"around",className:`${Vt}`,children:[(0,a.jsx)("span",{children:"\u2318"}),(0,a.jsx)("span",{children:"K"})]}),m&&t&&(0,a.jsxs)("ul",{pos:"fixed sm:absolute top-12 sm:top-8 right--10",z:"60",p:"2",list:"none",bg:"white",className:"w-full sm:min-w-600px sm:max-w-800px",style:{border:"1px solid var(--modern-c-divider-light)"},children:[i.map(((e,n)=>(0,a.jsx)("li",{cursor:"pointer",w:"full",className:"border-collapse rounded-sm",children:(0,a.jsx)("a",{block:"~",href:e.link,className:"whitespace-normal",children:(0,a.jsxs)("div",{table:"~",w:"full",className:"border-collapse",children:[(0,a.jsx)("div",{"border-left":"none",display:"table-cell",p:"1.2",text:"sm right",font:"semibold",className:"align-middle",style:{borderBottom:"1px solid var(--modern-c-divider-light)",width:"35%"},children:(0,Ut.RZ)(e.title)}),(0,a.jsx)(Jt,{suggestion:e,query:t,isCurrent:n===x,isFirst:0===n})]})})},e.link))),y&&(0,a.jsx)("li",{flex:"~ center",children:(0,a.jsx)("div",{p:"2",text:"sm #2c3e50",children:"No results found"})}),b&&(0,a.jsx)("li",{flex:"~ center",children:(0,a.jsx)("div",{p:"2",text:"sm",children:(0,a.jsx)(It,{})})})]})]})}var Qt={Layout:e=>{var t;const{top:n,bottom:r,beforeDocFooter:s,beforeDoc:c,afterDoc:d,beforeOutline:u,afterOutline:m,beforeNavTitle:h,afterNavTitle:x}=e,p={beforeDocFooter:s,beforeDoc:c,afterDoc:d,beforeOutline:u,afterOutline:m},{title:v,frontmatter:f,siteData:g,pageType:w}=i(),b=j();let y=null!==(t=null==f?void 0:f.title)&&void 0!==t?t:v;const k=g.title||b.title;y=y?`${y} - ${k}`:k;const N=(null==f?void 0:f.description)||g.description||b.description;return(0,a.jsxs)("div",{style:{height:"100%"},children:[(0,a.jsxs)(o.ql,{children:[y?(0,a.jsx)("title",{children:y}):null,N?(0,a.jsx)("meta",{name:"description",content:N}):null]}),n,(0,a.jsx)(Dt,{beforeNavTitle:h,afterNavTitle:x}),(0,a.jsx)("section",{children:(()=>{switch(w){case"home":return(0,a.jsx)(Qt.HomeLayout,{});case"doc":default:return(0,a.jsx)(oe,(0,l.Z)({},p));case"404":return(0,a.jsx)(Qt.NotFoundLayout,{});case"custom":return(0,a.jsx)(le,{})}})()}),r]})},NotFoundLayout:function(){const{siteData:e}=i(),t=e.lang;if(!t||!location.pathname.includes(`/${t}/`)||"undefined"==typeof window)return(0,a.jsxs)("div",{m:"auto t-50",p:"t-16 x-6 b-24 sm:t-24 x-8 b-40",text:"center",flex:"center col",children:[(0,a.jsx)("p",{text:"6xl",font:"semibold",children:"404"}),(0,a.jsx)("h1",{p:"t-3",text:"xl",className:"leading-5",font:"bold",children:"PAGE NOT FOUND"}),(0,a.jsx)("div",{m:"t-6 x-auto b-4.5",w:"16",style:{height:"1px"},bg:"gray-light-1"}),(0,a.jsx)("div",{p:"t-5",children:(0,a.jsx)("a",{"inline-block":"~",border:"1px solid brand",className:"rounded-2xl",p:"y-2 x-4",text:"sm brand","font-medium":"~",transition:"border-color duration-300 color duration-300",hover:"border-color-brand-dark color-brand-dark",href:e.base,"aria-label":"go to home",children:"Take me home"})})]});{const e=location.pathname.replace(`/${t}/`,"/");window.location.replace(e)}},HomeLayout:function(e){const{beforeHero:t,afterHero:n,beforeFeatures:r,afterFeatures:s}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"mt-14 pb-12",children:[t,(0,a.jsx)(he,{}),n,r,(0,a.jsx)(ve,{}),s]}),(0,a.jsx)(fe,{})]})},setup:function(){(0,h._f)()&&(p(),function(){const e=new Map;window.addEventListener("click",(t=>{const n=t.target;if(n.matches('div[class*="language-"] .modern-code-content > button.copy')){const t=n.parentElement,r=n.nextElementSibling;if(!t||!r)return;const{innerText:s=""}=r;if(m()(s)){n.style.transform="scale(0.33)",n.classList.add("copied"),setTimeout((()=>{n.style.transform="scale(1)"}),160),clearTimeout(e.get(n));const t=setTimeout((()=>{n.classList.remove("copied"),n.style.transform="scale(1)",n.blur(),e.delete(n)}),2e3);e.set(n,t)}}}))}())}},Xt=n(78520),en=n(56564),tn=n(68548);async function nn(e){const t=(0,b.fp)(y._,e);if(t){var n;const r=t[0].route,s=await r.preload(),i=(0,h.bw)(t[0].route.filePath),a=(0,g.L3)(e,i,(null===tn.Z||void 0===tn.Z?void 0:tn.Z.base)||"/");return(0,l.Z)((0,l.Z)({siteData:tn.Z,pagePath:i,relativePagePath:a},(0,h.CE)(s,["default"])),{},{pageType:(null==s||null===(n=s.frontmatter)||void 0===n?void 0:n.pageType)||"doc",routePath:e})}return{siteData:tn.Z,pagePath:"",relativePagePath:"",pageType:"404",routePath:"/404"}}function rn({helmetContext:e}){const{setData:t}=(0,r.useContext)(s),{pathname:n}=(0,c.TH)();return(0,r.useLayoutEffect)((()=>{!async function(){try{const e=await nn((0,g.Tm)(n));t(e)}catch(e){console.log(e)}}()}),[n,t]),(0,a.jsx)(o.B6,{context:e,children:(0,a.jsx)(Qt.Layout,{})})}(async function(){const e=document.getElementById("root"),t=await(async()=>{const e=await nn((0,g.Tm)(window.location.pathname));return function(){const[t,n]=(0,r.useState)(e);return(0,a.jsx)(s.Provider,{value:{data:t,setData:n},children:(0,a.jsx)(en.VK,{children:(0,a.jsx)(rn,{})})})}})();(0,h.yv)()?(0,Xt.a)(e,(0,a.jsx)(t,{})):(0,Xt.s)(e).render((0,a.jsx)(t,{}))})().then((()=>{Qt.setup()}))},71837:function(e,t,n){n.d(t,{E9:function(){return o},L3:function(){return i},Tm:function(){return a},pJ:function(){return l}});var r=n(68548),s=n(60205);const i=(e,t,n)=>{const r=t.split(".").pop();let i=(0,s.bw)(e);return i.startsWith(n)&&(i=i.slice(n.length)),r&&(i+=`.${r}`),i.replace(/^\//,"")};function a(e){return e.replace(/\.html$/,"").replace(/\/index$/,"/")}function l(e="/"){return(0,s.pJ)(e,r.Z.base)}function o(e){return(0,s.E9)(e,r.Z.base)}},60205:function(e,t,n){n.d(t,{$U:function(){return m},CE:function(){return h},E9:function(){return g},FH:function(){return p},Kw:function(){return u},Zi:function(){return a},_f:function(){return c},bw:function(){return o},pJ:function(){return f},tz:function(){return v},yc:function(){return x},yv:function(){return l}});var r=n(40600);const s=/\?[\s\S]*$/,i=/#[\s\S]*$/,a="search_index.json",l=()=>!0,o=e=>e.replace(i,"").replace(s,""),c=()=>"undefined"!=typeof window;function d(e){return"/"===e.charAt(0)||e.startsWith("https")?e:`/${e}`}function u(e){return function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}(d(e))}function m(e,t,n,r,s=""){const i=g(e,s),a=i.split("/")[1];let l;return l=!r.includes(a)?t===n?i:d(`${t}${i}`):t===n?i.replace(`/${a}`,""):i.replace(a,t),f(l,s)}const h=(e,t)=>{const n=(0,r.Z)({},e);for(const r of t)delete n[r];return n};function x(e){if(!e)return"/";let t=e;return t.endsWith(".html")||(t.endsWith("/")?t+="index.html":t+=".html"),d(t)}function p(e,t){const n=new RegExp(`^\\/(${t.join("|")})`);return d(e).replace(n,"")}function v(e,t=""){return d(e).replace(u(t),"")}function f(e="/",t=""){const n=d(e),r=u(t);return n.startsWith(r)?n:`${r}${n}`}function g(e,t){return d(e).replace(u(t),"")}},96934:function(e,t,n){n.d(t,{RZ:function(){return i},gS:function(){return s},is:function(){return r}});function r(e,t){let n=e[t],r=t;const s=[n];for(;n&&n.depth>2;){let t=!1;for(let i=r-1;i>=0;i--){const a=e[i];if(a.depth>1&&a.depth===n.depth-1){n=a,r=i,s.unshift(n),t=!0;break}}if(!t)break}return s}function s(e){return e.replace(/```([\s\S]*?)```/gm,"").replace(/\x2D\x2D\x2D([\s\S]*?)\x2D\x2D\x2D/gm,"")}function i(e){return e.length>20?`${e.slice(0,20)}...`:e}},76645:function(e,t,n){n(47306),n(17818),n(39661),n(29223),n(13591),n(18868),n(54095),n(24661),n(91876),n(22943),n(35078),n(87464),n(54297),n(57640),n(18253),n(94841),n(78062),n(71920),n(89909),n(5425),n(59882),n(75715),n(24560),n(14137),n(85289),n(2048),n(51072),n(90967),n(20704),n(91609),n(80742),n(30403),n(79681),n(63411),n(19658),n(47657),n(31732),n(22741),n(7116),n(70769),n(25679),n(93167),n(94457),n(15371),n(77293),n(46933),n(79010),n(9883),n(76618),n(32765),n(16784),n(22424),n(46073),n(9944),n(8258),n(2450),n(29),n(50838),n(71867),n(64469),n(40387),n(58521),n(19280),n(62108),n(11662),n(78598),n(55806),n(27999),n(30146),n(44160),n(21887),n(17507),n(22894),n(13222),n(61066),n(92828),n(96118),n(58528),n(74273),n(51850),n(72726),n(31368),n(93331),n(18825),n(4071),n(42873),n(89383),n(47675),n(63779),n(50665),n(50451),n(28935),n(9248),n(89973),n(22876),n(65041),n(57843),n(78713),n(98747),n(15784),n(1988),n(94818),n(60315),n(6266),n(38296),n(69989),n(66110),n(25514),n(14974),n(75724),n(26444),n(52112),n(45595),n(68547),n(15603),n(95107),n(20604),n(41099),n(32778),n(85648),n(11227),n(75773),n(95236),n(62554),n(49065),n(36987),n(6716),n(57029),n(76303),n(21600),n(18549),n(2892),n(90825),n(12477),n(78296),n(166),n(74566),n(99652),n(63594),n(2653),n(91559),n(21686),n(12881),n(85e3),n(74546),n(61238),n(82493),n(93129),n(96310),n(13078),n(35295),n(64379),n(92370),n(32247),n(12600),n(17124),n(78140),n(49758),n(37804),n(91212),n(74271),n(11327),n(88991),n(92488),n(68066),n(21542),n(64183),n(20753),n(23719),n(12287),n(25927),n(67182),n(71496),n(15982),n(73837),n(16044),n(55065),n(26099),n(73867),n(45335),n(76375),n(82454),n(77289),n(54185),n(39943),n(57305),n(31359),n(59258),n(27030),n(70344),n(16638),n(69157),n(96048),n(6454),n(4794),n(36166),n(16343),n(33391),n(28754),n(73321),n(40705),n(29065),n(27765),n(66257),n(53269),n(3042),n(53492),n(71745),n(3252),n(14965),n(27527),n(96400),n(9978),n(41647),n(98164),n(81329),n(71607),n(39837),n(4708),n(98415),n(73330),n(24868),n(87486),n(41583),n(36540),n(25651),n(56388),n(7294),n(61795),n(70039),n(80676),n(78889),n(3346),n(56054),n(6885),n(41050),n(98720),n(39853),n(23821),n(72125),n(57307),n(8711),n(73397)}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[2986,7991,8193,1607],(function(){return t(76645),t(70334)}));e.O()}]);
|