From d71360ed38d6bd0166558c9def0ac091f9208b4c Mon Sep 17 00:00:00 2001 From: gh-pages-bot <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 27 Feb 2024 08:48:17 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20main=20from=20@=20web-infra-de?= =?UTF-8?q?v/modern.js@67cde9b31f80a4b7db83e9c958eaa4e38df36537=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modern-js/module-tools/api/config/build-config.html | 2 +- modern-js/module-tools/api/config/build-preset.html | 2 +- modern-js/module-tools/api/config/dev.html | 2 +- modern-js/module-tools/api/config/plugins.html | 2 +- modern-js/module-tools/api/config/testing.html | 2 +- modern-js/module-tools/api/index.html | 2 +- modern-js/module-tools/api/plugin-api/plugin-hooks.html | 2 +- .../module-tools/components/faq-build-exception.html | 2 +- modern-js/module-tools/components/faq-build-other.html | 2 +- modern-js/module-tools/components/faq-build-product.html | 2 +- modern-js/module-tools/components/faq-storybook.html | 2 +- modern-js/module-tools/components/faq-test.html | 2 +- modern-js/module-tools/components/publish-emo.html | 2 +- .../module-tools/components/register-esbuild-plugin.html | 2 +- .../module-tools/components/release-module-doc.html | 2 +- modern-js/module-tools/en/api/config/build-config.html | 2 +- modern-js/module-tools/en/api/config/build-preset.html | 2 +- modern-js/module-tools/en/api/config/dev.html | 2 +- modern-js/module-tools/en/api/config/plugins.html | 2 +- modern-js/module-tools/en/api/config/testing.html | 2 +- modern-js/module-tools/en/api/index.html | 2 +- .../module-tools/en/api/plugin-api/plugin-hooks.html | 2 +- .../module-tools/en/components/faq-build-exception.html | 2 +- .../module-tools/en/components/faq-build-other.html | 2 +- .../module-tools/en/components/faq-build-product.html | 2 +- modern-js/module-tools/en/components/faq-storybook.html | 2 +- modern-js/module-tools/en/components/faq-test.html | 2 +- modern-js/module-tools/en/components/publish-emo.html | 2 +- .../en/components/register-esbuild-plugin.html | 2 +- .../module-tools/en/components/release-module-doc.html | 2 +- modern-js/module-tools/en/guide/advance/asset.html | 2 +- modern-js/module-tools/en/guide/advance/build-umd.html | 2 +- modern-js/module-tools/en/guide/advance/copy.html | 2 +- .../en/guide/advance/external-dependency.html | 2 +- .../en/guide/advance/in-depth-about-build.html | 2 +- .../en/guide/advance/in-depth-about-dev-command.html | 2 +- .../en/guide/basic/before-getting-started.html | 2 +- .../module-tools/en/guide/basic/command-preview.html | 2 +- .../en/guide/basic/modify-output-product.html | 2 +- .../en/guide/basic/publish-your-project.html | 2 +- .../module-tools/en/guide/basic/test-your-project.html | 2 +- .../module-tools/en/guide/basic/use-micro-generator.html | 2 +- .../module-tools/en/guide/basic/use-module-doc.html | 2 +- .../module-tools/en/guide/basic/using-storybook.html | 2 +- .../module-tools/en/guide/best-practices/components.html | 2 +- .../en/guide/best-practices/use-tailwindcss.html | 2 +- modern-js/module-tools/en/guide/faq/basic.html | 2 +- modern-js/module-tools/en/guide/faq/build.html | 2 +- modern-js/module-tools/en/guide/faq/index.html | 2 +- modern-js/module-tools/en/guide/faq/storybook.html | 2 +- modern-js/module-tools/en/guide/faq/test.html | 5 +++-- .../module-tools/en/guide/intro/getting-started.html | 2 +- modern-js/module-tools/en/guide/intro/welcome.html | 2 +- .../en/guide/intro/why-module-engineering-solution.html | 2 +- modern-js/module-tools/en/index.html | 2 +- .../module-tools/en/plugins/guide/getting-started.html | 2 +- .../module-tools/en/plugins/guide/plugin-object.html | 2 +- .../module-tools/en/plugins/guide/setup-function.html | 2 +- .../module-tools/en/plugins/official-list/overview.html | 2 +- .../en/plugins/official-list/plugin-babel.html | 2 +- .../en/plugins/official-list/plugin-banner.html | 2 +- .../en/plugins/official-list/plugin-import.html | 2 +- .../en/plugins/official-list/plugin-node-polyfill.html | 2 +- .../en/plugins/official-list/plugin-polyfill.html | 2 +- .../en/plugins/official-list/plugin-vue.html | 2 +- modern-js/module-tools/guide/advance/asset.html | 2 +- modern-js/module-tools/guide/advance/build-umd.html | 2 +- modern-js/module-tools/guide/advance/copy.html | 2 +- .../module-tools/guide/advance/external-dependency.html | 2 +- .../module-tools/guide/advance/in-depth-about-build.html | 2 +- .../guide/advance/in-depth-about-dev-command.html | 2 +- .../module-tools/guide/basic/before-getting-started.html | 2 +- modern-js/module-tools/guide/basic/command-preview.html | 2 +- .../module-tools/guide/basic/modify-output-product.html | 2 +- .../module-tools/guide/basic/publish-your-project.html | 2 +- .../module-tools/guide/basic/test-your-project.html | 2 +- .../module-tools/guide/basic/use-micro-generator.html | 2 +- modern-js/module-tools/guide/basic/use-module-doc.html | 2 +- modern-js/module-tools/guide/basic/using-storybook.html | 2 +- .../module-tools/guide/best-practices/components.html | 2 +- .../guide/best-practices/use-tailwindcss.html | 2 +- modern-js/module-tools/guide/faq/basic.html | 2 +- modern-js/module-tools/guide/faq/build.html | 2 +- modern-js/module-tools/guide/faq/index.html | 2 +- modern-js/module-tools/guide/faq/storybook.html | 5 ++--- modern-js/module-tools/guide/faq/test.html | 5 +++-- modern-js/module-tools/guide/intro/getting-started.html | 2 +- modern-js/module-tools/guide/intro/welcome.html | 2 +- .../guide/intro/why-module-engineering-solution.html | 2 +- modern-js/module-tools/index.html | 2 +- .../module-tools/plugins/guide/getting-started.html | 2 +- modern-js/module-tools/plugins/guide/plugin-object.html | 2 +- modern-js/module-tools/plugins/guide/setup-function.html | 2 +- .../module-tools/plugins/official-list/overview.html | 2 +- .../module-tools/plugins/official-list/plugin-babel.html | 2 +- .../plugins/official-list/plugin-banner.html | 2 +- .../plugins/official-list/plugin-import.html | 2 +- .../plugins/official-list/plugin-node-polyfill.html | 2 +- .../plugins/official-list/plugin-polyfill.html | 2 +- .../module-tools/plugins/official-list/plugin-vue.html | 2 +- .../static/js/{9376.2547934e.js => 9376.2d43852f.js} | 4 ++-- ...7934e.js.LICENSE.txt => 9376.2d43852f.js.LICENSE.txt} | 0 modern-js/module-tools/static/js/async/1968.60d28f81.js | 2 ++ .../static/js/async/1968.60d28f81.js.LICENSE.txt | 3 +++ modern-js/module-tools/static/js/async/1968.d9298c6c.js | 2 -- .../static/js/async/1968.d9298c6c.js.LICENSE.txt | 9 --------- .../static/js/{index.5666b887.js => index.c7cd840e.js} | 4 ++-- ...b887.js.LICENSE.txt => index.c7cd840e.js.LICENSE.txt} | 0 108 files changed, 114 insertions(+), 119 deletions(-) rename modern-js/module-tools/static/js/{9376.2547934e.js => 9376.2d43852f.js} (99%) rename modern-js/module-tools/static/js/{9376.2547934e.js.LICENSE.txt => 9376.2d43852f.js.LICENSE.txt} (100%) create mode 100644 modern-js/module-tools/static/js/async/1968.60d28f81.js create mode 100644 modern-js/module-tools/static/js/async/1968.60d28f81.js.LICENSE.txt delete mode 100644 modern-js/module-tools/static/js/async/1968.d9298c6c.js delete mode 100644 modern-js/module-tools/static/js/async/1968.d9298c6c.js.LICENSE.txt rename modern-js/module-tools/static/js/{index.5666b887.js => index.c7cd840e.js} (98%) rename modern-js/module-tools/static/js/{index.5666b887.js.LICENSE.txt => index.c7cd840e.js.LICENSE.txt} (100%) diff --git a/modern-js/module-tools/api/config/build-config.html b/modern-js/module-tools/api/config/build-config.html index d6ec9d9606..577cddbc20 100644 --- a/modern-js/module-tools/api/config/build-config.html +++ b/modern-js/module-tools/api/config/build-config.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

buildConfig

+Modern.js Module

buildConfig

buildConfig 是一个用来描述如何编译、生成构建产物的配置项,它包含了构建的所有配置。

  • 类型:object | object[]
  • diff --git a/modern-js/module-tools/api/config/build-preset.html b/modern-js/module-tools/api/config/build-preset.html index 6ccb01a3ae..74a1cc978a 100644 --- a/modern-js/module-tools/api/config/build-preset.html +++ b/modern-js/module-tools/api/config/build-preset.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

    buildPreset

    +Modern.js Module

    buildPreset

    构建的预设字符串或者预设函数。提供开箱即用的构建配置。

    • diff --git a/modern-js/module-tools/api/config/dev.html b/modern-js/module-tools/api/config/dev.html index 4d1eb28b4f..c7335293a6 100644 --- a/modern-js/module-tools/api/config/dev.html +++ b/modern-js/module-tools/api/config/dev.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

      dev

      +Modern.js Module

      dev

      本章节描述了 Modern.js Module 关于调试工具相关的所有配置。

      storybook

      WARNING

      Deprecated:该配置已过时,只适用于 StorybookV6,详情请看使用Storybook。 diff --git a/modern-js/module-tools/api/config/plugins.html b/modern-js/module-tools/api/config/plugins.html index 2dd70b2586..6085b3b322 100644 --- a/modern-js/module-tools/api/config/plugins.html +++ b/modern-js/module-tools/api/config/plugins.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

      plugins

      +Modern.js Module

      plugins

      本章介绍注册 Modern.js Module 插件的配置。

      • 类型:ModuleToolsPlugin[]
      • diff --git a/modern-js/module-tools/api/config/testing.html b/modern-js/module-tools/api/config/testing.html index d63733df84..3edad7c349 100644 --- a/modern-js/module-tools/api/config/testing.html +++ b/modern-js/module-tools/api/config/testing.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

        testing

        +Modern.js Module

        testing

        本章描述了测试相关的配置。

        TIP

        需要先通过 pnpm run new 启用 单元测试 功能。

        diff --git a/modern-js/module-tools/api/index.html b/modern-js/module-tools/api/index.html index f5459bf2a4..274d178846 100644 --- a/modern-js/module-tools/api/index.html +++ b/modern-js/module-tools/api/index.html @@ -8,4 +8,4 @@ } })() -Modern.js Module
        \ No newline at end of file +Modern.js Module
        \ No newline at end of file diff --git a/modern-js/module-tools/api/plugin-api/plugin-hooks.html b/modern-js/module-tools/api/plugin-api/plugin-hooks.html index 67bebdca74..3c2e676686 100644 --- a/modern-js/module-tools/api/plugin-api/plugin-hooks.html +++ b/modern-js/module-tools/api/plugin-api/plugin-hooks.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

        Plugin Hooks

        +Modern.js Module

        Plugin Hooks

        本章介绍关于 Modern.js Module 支持的生命周期钩子。

        目前主要包含以下几类生命周期钩子:

          diff --git a/modern-js/module-tools/components/faq-build-exception.html b/modern-js/module-tools/components/faq-build-exception.html index edc456f722..0d10ea4ceb 100644 --- a/modern-js/module-tools/components/faq-build-exception.html +++ b/modern-js/module-tools/components/faq-build-exception.html @@ -8,4 +8,4 @@ } })() -Modern.js Module
          \ No newline at end of file +Modern.js Module
          \ No newline at end of file diff --git a/modern-js/module-tools/components/faq-build-other.html b/modern-js/module-tools/components/faq-build-other.html index 2ff67119ec..3bebd4726f 100644 --- a/modern-js/module-tools/components/faq-build-other.html +++ b/modern-js/module-tools/components/faq-build-other.html @@ -8,4 +8,4 @@ } })() -Modern.js Module
          \ No newline at end of file +Modern.js Module
          \ No newline at end of file diff --git a/modern-js/module-tools/components/faq-build-product.html b/modern-js/module-tools/components/faq-build-product.html index 8e312d8d81..20e3b94a7b 100644 --- a/modern-js/module-tools/components/faq-build-product.html +++ b/modern-js/module-tools/components/faq-build-product.html @@ -8,4 +8,4 @@ } })() -Modern.js Module
          \ No newline at end of file +Modern.js Module
          \ No newline at end of file diff --git a/modern-js/module-tools/components/faq-storybook.html b/modern-js/module-tools/components/faq-storybook.html index 8382c7e8b9..728f2c5bcc 100644 --- a/modern-js/module-tools/components/faq-storybook.html +++ b/modern-js/module-tools/components/faq-storybook.html @@ -8,4 +8,4 @@ } })() -Modern.js Module
          \ No newline at end of file +Modern.js Module
          \ No newline at end of file diff --git a/modern-js/module-tools/components/faq-test.html b/modern-js/module-tools/components/faq-test.html index 0714e7b192..5894a6b191 100644 --- a/modern-js/module-tools/components/faq-test.html +++ b/modern-js/module-tools/components/faq-test.html @@ -8,4 +8,4 @@ } })() -Modern.js Module
          \ No newline at end of file +Modern.js Module
          \ No newline at end of file diff --git a/modern-js/module-tools/components/publish-emo.html b/modern-js/module-tools/components/publish-emo.html index a84ae2895c..f0ea10e2ae 100644 --- a/modern-js/module-tools/components/publish-emo.html +++ b/modern-js/module-tools/components/publish-emo.html @@ -8,4 +8,4 @@ } })() -Modern.js Module
          \ No newline at end of file +Modern.js Module
          \ No newline at end of file diff --git a/modern-js/module-tools/components/register-esbuild-plugin.html b/modern-js/module-tools/components/register-esbuild-plugin.html index e228b4b99a..5d5f586d56 100644 --- a/modern-js/module-tools/components/register-esbuild-plugin.html +++ b/modern-js/module-tools/components/register-esbuild-plugin.html @@ -8,7 +8,7 @@ } })() -Modern.js Module
          modern.config.ts
          import { myEsbuildPlugin } from './myEsbuildPlugin';
          +Modern.js Module
          modern.config.ts
          import { myEsbuildPlugin } from './myEsbuildPlugin';
           
           export default defineConfig({
             buildConfig: {
          diff --git a/modern-js/module-tools/components/release-module-doc.html b/modern-js/module-tools/components/release-module-doc.html
          index 87ef3490b3..d6d3e7accf 100644
          --- a/modern-js/module-tools/components/release-module-doc.html
          +++ b/modern-js/module-tools/components/release-module-doc.html
          @@ -8,4 +8,4 @@
             }
           })()
           
          -Modern.js Module
          \ No newline at end of file +Modern.js Module
          \ No newline at end of file diff --git a/modern-js/module-tools/en/api/config/build-config.html b/modern-js/module-tools/en/api/config/build-config.html index 01f70cec73..6efeb39c97 100644 --- a/modern-js/module-tools/en/api/config/build-config.html +++ b/modern-js/module-tools/en/api/config/build-config.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

          buildConfig

          +Modern.js Module

          buildConfig

          buildConfig is a configuration option that describes how to compile and generate build artifacts. It contains all the configurations related to the build process.

          • Type: object | object[]
          • diff --git a/modern-js/module-tools/en/api/config/build-preset.html b/modern-js/module-tools/en/api/config/build-preset.html index c2464a5489..4fdb2f56a4 100644 --- a/modern-js/module-tools/en/api/config/build-preset.html +++ b/modern-js/module-tools/en/api/config/build-preset.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

            buildPreset

            +Modern.js Module

            buildPreset

            A build preset string or preset function. Provides out-of-the-box build configuration

            • Type: string | Function
            • diff --git a/modern-js/module-tools/en/api/config/dev.html b/modern-js/module-tools/en/api/config/dev.html index 265fd905eb..9a6f5cd5e5 100644 --- a/modern-js/module-tools/en/api/config/dev.html +++ b/modern-js/module-tools/en/api/config/dev.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

              dev

              +Modern.js Module

              dev

              This section describes all configuration of Modern.js Module related to debugging tools.

              storybook

              WARNING

              Deprecated: This configuration is deprecated and only applicable to Storybook V6. Please see 使用Storybook to get more info. diff --git a/modern-js/module-tools/en/api/config/plugins.html b/modern-js/module-tools/en/api/config/plugins.html index e4ec4fe1f1..14d38e028c 100644 --- a/modern-js/module-tools/en/api/config/plugins.html +++ b/modern-js/module-tools/en/api/config/plugins.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

              plugins

              +Modern.js Module

              plugins

              This chapter describes the configuration of the registered Modern.js Module plugin.

              • Type: ModuleToolsPlugin[]
              • diff --git a/modern-js/module-tools/en/api/config/testing.html b/modern-js/module-tools/en/api/config/testing.html index 29364c1291..b2efa8b6eb 100644 --- a/modern-js/module-tools/en/api/config/testing.html +++ b/modern-js/module-tools/en/api/config/testing.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                testing

                +Modern.js Module

                testing

                This chapter describes the test-related configuration

                TIP

                You need to enable the unit testing feature with pnpm run new first.

                diff --git a/modern-js/module-tools/en/api/index.html b/modern-js/module-tools/en/api/index.html index 5327b7cf5a..7234f37d74 100644 --- a/modern-js/module-tools/en/api/index.html +++ b/modern-js/module-tools/en/api/index.html @@ -8,4 +8,4 @@ } })() -Modern.js Module
                \ No newline at end of file +Modern.js Module
                \ No newline at end of file diff --git a/modern-js/module-tools/en/api/plugin-api/plugin-hooks.html b/modern-js/module-tools/en/api/plugin-api/plugin-hooks.html index c07d926604..decf19ae9f 100644 --- a/modern-js/module-tools/en/api/plugin-api/plugin-hooks.html +++ b/modern-js/module-tools/en/api/plugin-api/plugin-hooks.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                Plugin Hooks

                +Modern.js Module

                Plugin Hooks

                This chapter describes the lifecycle hooks supported by module-tools.

                Currently there are following main types of lifecycle hooks.

                  diff --git a/modern-js/module-tools/en/components/faq-build-exception.html b/modern-js/module-tools/en/components/faq-build-exception.html index 69fcdd8209..9d2222e77b 100644 --- a/modern-js/module-tools/en/components/faq-build-exception.html +++ b/modern-js/module-tools/en/components/faq-build-exception.html @@ -8,4 +8,4 @@ } })() -Modern.js Module
                  \ No newline at end of file +Modern.js Module
                  \ No newline at end of file diff --git a/modern-js/module-tools/en/components/faq-build-other.html b/modern-js/module-tools/en/components/faq-build-other.html index 751ad7e8a7..694dfe21ef 100644 --- a/modern-js/module-tools/en/components/faq-build-other.html +++ b/modern-js/module-tools/en/components/faq-build-other.html @@ -8,4 +8,4 @@ } })() -Modern.js Module
                  \ No newline at end of file +Modern.js Module
                  \ No newline at end of file diff --git a/modern-js/module-tools/en/components/faq-build-product.html b/modern-js/module-tools/en/components/faq-build-product.html index 1e55afccb1..4edf613805 100644 --- a/modern-js/module-tools/en/components/faq-build-product.html +++ b/modern-js/module-tools/en/components/faq-build-product.html @@ -8,4 +8,4 @@ } })() -Modern.js Module
                  \ No newline at end of file +Modern.js Module
                  \ No newline at end of file diff --git a/modern-js/module-tools/en/components/faq-storybook.html b/modern-js/module-tools/en/components/faq-storybook.html index 18878bb7c1..75d30a510c 100644 --- a/modern-js/module-tools/en/components/faq-storybook.html +++ b/modern-js/module-tools/en/components/faq-storybook.html @@ -8,4 +8,4 @@ } })() -Modern.js Module
                  \ No newline at end of file +Modern.js Module
                  \ No newline at end of file diff --git a/modern-js/module-tools/en/components/faq-test.html b/modern-js/module-tools/en/components/faq-test.html index 86bb5ca417..0b22ae282c 100644 --- a/modern-js/module-tools/en/components/faq-test.html +++ b/modern-js/module-tools/en/components/faq-test.html @@ -8,4 +8,4 @@ } })() -Modern.js Module
                  \ No newline at end of file +Modern.js Module
                  \ No newline at end of file diff --git a/modern-js/module-tools/en/components/publish-emo.html b/modern-js/module-tools/en/components/publish-emo.html index 09ebeb4714..abc26afa6e 100644 --- a/modern-js/module-tools/en/components/publish-emo.html +++ b/modern-js/module-tools/en/components/publish-emo.html @@ -8,4 +8,4 @@ } })() -Modern.js Module
                  \ No newline at end of file +Modern.js Module
                  \ No newline at end of file diff --git a/modern-js/module-tools/en/components/register-esbuild-plugin.html b/modern-js/module-tools/en/components/register-esbuild-plugin.html index 19ef3288d7..5628f38a66 100644 --- a/modern-js/module-tools/en/components/register-esbuild-plugin.html +++ b/modern-js/module-tools/en/components/register-esbuild-plugin.html @@ -8,7 +8,7 @@ } })() -Modern.js Module
                  modern.config.ts
                  import { myEsbuildPlugin } from './myEsbuildPlugin';
                  +Modern.js Module
                  modern.config.ts
                  import { myEsbuildPlugin } from './myEsbuildPlugin';
                   
                   export default defineConfig({
                     buildConfig: {
                  diff --git a/modern-js/module-tools/en/components/release-module-doc.html b/modern-js/module-tools/en/components/release-module-doc.html
                  index 083266b084..4c3a8d910e 100644
                  --- a/modern-js/module-tools/en/components/release-module-doc.html
                  +++ b/modern-js/module-tools/en/components/release-module-doc.html
                  @@ -8,4 +8,4 @@
                     }
                   })()
                   
                  -Modern.js Module
                  \ No newline at end of file +Modern.js Module
                  \ No newline at end of file diff --git a/modern-js/module-tools/en/guide/advance/asset.html b/modern-js/module-tools/en/guide/advance/asset.html index 58c5d638ba..a8b62a03ca 100644 --- a/modern-js/module-tools/en/guide/advance/asset.html +++ b/modern-js/module-tools/en/guide/advance/asset.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                  Handle static assets

                  +Modern.js Module

                  Handle static assets

                  Modern.js Module will handle static assets used in the code. If configuration is required, then the buildConfig.asset API can be used.

                  Default behavior

                  By default, Modern.js Module handles the following static assets:

                  diff --git a/modern-js/module-tools/en/guide/advance/build-umd.html b/modern-js/module-tools/en/guide/advance/build-umd.html index 07fe55e699..3b03ec8515 100644 --- a/modern-js/module-tools/en/guide/advance/build-umd.html +++ b/modern-js/module-tools/en/guide/advance/build-umd.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                  Build umd artifacts

                  +Modern.js Module

                  Build umd artifacts

                  The full name of umd is Universal Module Definition, and JS files in this format can run in multiple runtime environments: the

                  • Browser environment: module loading based on AMD specification
                  • diff --git a/modern-js/module-tools/en/guide/advance/copy.html b/modern-js/module-tools/en/guide/advance/copy.html index d035b18958..3d925a5531 100644 --- a/modern-js/module-tools/en/guide/advance/copy.html +++ b/modern-js/module-tools/en/guide/advance/copy.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                    Use the Copy Tools

                    +Modern.js Module

                    Use the Copy Tools

                    Modern.js Module provides the Copy utility for copying already existing individual files or entire directories into the output directory. Next we learn how to use it.

                    Understanding the Copy API

                    We can use the Copy tool via the buildConfig.copy API, which contains the following two main configurations.

                    diff --git a/modern-js/module-tools/en/guide/advance/external-dependency.html b/modern-js/module-tools/en/guide/advance/external-dependency.html index c89ef3950a..19223e28a3 100644 --- a/modern-js/module-tools/en/guide/advance/external-dependency.html +++ b/modern-js/module-tools/en/guide/advance/external-dependency.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                    Handle third-party dependencies

                    +Modern.js Module

                    Handle third-party dependencies

                    Generally, third-party dependencies required by a project can be installed via the install command in the package manager. After the third-party dependencies are successfully installed, they will generally appear under dependencies and devDependencies in the project package.json.

                    pacakge.json
                    {
                       "dependencies": {},
                    diff --git a/modern-js/module-tools/en/guide/advance/in-depth-about-build.html b/modern-js/module-tools/en/guide/advance/in-depth-about-build.html
                    index 72c017a3c3..b99a68cce6 100644
                    --- a/modern-js/module-tools/en/guide/advance/in-depth-about-build.html
                    +++ b/modern-js/module-tools/en/guide/advance/in-depth-about-build.html
                    @@ -8,7 +8,7 @@
                       }
                     })()
                     
                    -Modern.js Module

                    In-depth understanding of build

                    +Modern.js Module

                    In-depth understanding of build

                    In the "Basic Usage" section, we already knew that you can modify the output files of a project through the buildConfig configuration. buildConfig not only describes some of the features of the product, but also provides some functionality for building the product.

                    TIP

                    If you are not familiar with buildConfig, please read modify-output-product.

                    diff --git a/modern-js/module-tools/en/guide/advance/in-depth-about-dev-command.html b/modern-js/module-tools/en/guide/advance/in-depth-about-dev-command.html index d5d20a97de..2e18a6e251 100644 --- a/modern-js/module-tools/en/guide/advance/in-depth-about-dev-command.html +++ b/modern-js/module-tools/en/guide/advance/in-depth-about-dev-command.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                    In-depth understanding of the dev command

                    +Modern.js Module

                    In-depth understanding of the dev command

                    The dev command provided by the Modern.js Module is mainly used for debugging the code.

                    The overall flow of the command run

                      diff --git a/modern-js/module-tools/en/guide/basic/before-getting-started.html b/modern-js/module-tools/en/guide/basic/before-getting-started.html index 4925655b6a..f638b23fe9 100644 --- a/modern-js/module-tools/en/guide/basic/before-getting-started.html +++ b/modern-js/module-tools/en/guide/basic/before-getting-started.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                      Before you start

                      +Modern.js Module

                      Before you start

                      Environment preparation

                      In order to use the Modern.js Module, you first need NodeJS engine, we recommend the latest LTS version, and make sure the Node version is >=16.0.0. because non-stable NodeJS releases frequently have bugs. You might consider installing via nvm-windows and nvm (Mac / Linux), so you can easily switch to different NodeJS versions that might be required for different projects that you work on.

                      Getting Started with npm

                      diff --git a/modern-js/module-tools/en/guide/basic/command-preview.html b/modern-js/module-tools/en/guide/basic/command-preview.html index 15f53d2973..cb68deb4f7 100644 --- a/modern-js/module-tools/en/guide/basic/command-preview.html +++ b/modern-js/module-tools/en/guide/basic/command-preview.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                      CLI Commands

                      +Modern.js Module

                      CLI Commands

                      CLI Commands available for Modern.js Module projects are as follows:

                      modern build

                      Usage: modern build [options]
                      diff --git a/modern-js/module-tools/en/guide/basic/modify-output-product.html b/modern-js/module-tools/en/guide/basic/modify-output-product.html
                      index 18ad508cb7..be2819cf7a 100644
                      --- a/modern-js/module-tools/en/guide/basic/modify-output-product.html
                      +++ b/modern-js/module-tools/en/guide/basic/modify-output-product.html
                      @@ -8,7 +8,7 @@
                         }
                       })()
                       
                      -Modern.js Module

                      Modify the output

                      +Modern.js Module

                      Modify the output

                      Default output artifacts

                      When you use the modern build command in an initialized project, Modern.js Module will generate corresponding build artifacts based on the current configuration.

                      The default configuration is as follows:

                      diff --git a/modern-js/module-tools/en/guide/basic/publish-your-project.html b/modern-js/module-tools/en/guide/basic/publish-your-project.html index 9af91249ea..9bc96266f1 100644 --- a/modern-js/module-tools/en/guide/basic/publish-your-project.html +++ b/modern-js/module-tools/en/guide/basic/publish-your-project.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                      Versioning and Publishing

                      +Modern.js Module

                      Versioning and Publishing

                      An npm-type module project release process consists of two phases.

                      • The first phase is during development, where the developer needs to provide a change file to record changes that need to be released.
                      • diff --git a/modern-js/module-tools/en/guide/basic/test-your-project.html b/modern-js/module-tools/en/guide/basic/test-your-project.html index 841badfa4c..7332018e9c 100644 --- a/modern-js/module-tools/en/guide/basic/test-your-project.html +++ b/modern-js/module-tools/en/guide/basic/test-your-project.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                        Testing Projects

                        +Modern.js Module

                        Testing Projects

                        This chapter will describe how to test modules.

                        Prerequisites and conventions

                        To use the testing features of the project, you need to make sure that the project contains the dependency: "@modern-js/plugin-testing" , which can be done with modern new.

                        diff --git a/modern-js/module-tools/en/guide/basic/use-micro-generator.html b/modern-js/module-tools/en/guide/basic/use-micro-generator.html index cff9a05978..3207cd648a 100644 --- a/modern-js/module-tools/en/guide/basic/use-micro-generator.html +++ b/modern-js/module-tools/en/guide/basic/use-micro-generator.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                        Using the Microgenerator

                        +Modern.js Module

                        Using the Microgenerator

                        Modern.js Module provides the Microgenerator tool, which allows for the current project to.

                        • add new directories and files
                        • diff --git a/modern-js/module-tools/en/guide/basic/use-module-doc.html b/modern-js/module-tools/en/guide/basic/use-module-doc.html index 755e61e364..3b8734cae4 100644 --- a/modern-js/module-tools/en/guide/basic/use-module-doc.html +++ b/modern-js/module-tools/en/guide/basic/use-module-doc.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                          Developing Module documentation

                          +Modern.js Module

                          Developing Module documentation

                          This chapter describes how to quickly build a static documentation site for a module project.

                          Before we start

                          Why we need to build a documentation site for a module

                          diff --git a/modern-js/module-tools/en/guide/basic/using-storybook.html b/modern-js/module-tools/en/guide/basic/using-storybook.html index 416b63e378..edb33a310c 100644 --- a/modern-js/module-tools/en/guide/basic/using-storybook.html +++ b/modern-js/module-tools/en/guide/basic/using-storybook.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                          Using Storybook

                          +Modern.js Module

                          Using Storybook

                          Storybook is a tool dedicated to component debugging, providing around component development.

                          • Develop UIs that are more durable
                          • diff --git a/modern-js/module-tools/en/guide/best-practices/components.html b/modern-js/module-tools/en/guide/best-practices/components.html index 0b362a57d2..69f7cdd6d3 100644 --- a/modern-js/module-tools/en/guide/best-practices/components.html +++ b/modern-js/module-tools/en/guide/best-practices/components.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                            Developing Components

                            +Modern.js Module

                            Developing Components

                            This chapter will describe how to develop component projects using the Modern.js Module.

                            Initialize the project

                              diff --git a/modern-js/module-tools/en/guide/best-practices/use-tailwindcss.html b/modern-js/module-tools/en/guide/best-practices/use-tailwindcss.html index cfb38f7a08..891a0d000f 100644 --- a/modern-js/module-tools/en/guide/best-practices/use-tailwindcss.html +++ b/modern-js/module-tools/en/guide/best-practices/use-tailwindcss.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                              Using Tailwind CSS

                              +Modern.js Module

                              Using Tailwind CSS

                              Tailwind CSS is a CSS framework and design system based on Utility Class, which can quickly add common styles to components, and support flexible extension of theme styles.

                              Modern.js Module supports developing component styles using Tailwind CSS.

                              Enabling Tailwind CSS

                              diff --git a/modern-js/module-tools/en/guide/faq/basic.html b/modern-js/module-tools/en/guide/faq/basic.html index 461efc4c6c..feef184b1e 100644 --- a/modern-js/module-tools/en/guide/faq/basic.html +++ b/modern-js/module-tools/en/guide/faq/basic.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                              General Questions

                              +Modern.js Module

                              General Questions

                              What is the relationship between Modern.js Module and Rsbuild?

                              Modern.js Module uses esbuild to build toolkits and component libraries, and Rsbuild focuses on solving web application building scenarios.

                              Can Modern.js Module use webpack plugins or loaders?

                              diff --git a/modern-js/module-tools/en/guide/faq/build.html b/modern-js/module-tools/en/guide/faq/build.html index cb84867cc5..3192df4d7c 100644 --- a/modern-js/module-tools/en/guide/faq/build.html +++ b/modern-js/module-tools/en/guide/faq/build.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                              Build FAQ

                              +Modern.js Module

                              Build FAQ

                              Here only some common problems and bad cases are recorded.

                              If the build products do not meet expectations, especially when buildPreset is configured, please first understand what configuration items buildPreset represents, and then check each configuration item based on all configuration items.

                              diff --git a/modern-js/module-tools/en/guide/faq/index.html b/modern-js/module-tools/en/guide/faq/index.html index 9f76265aaf..c8eb92e563 100644 --- a/modern-js/module-tools/en/guide/faq/index.html +++ b/modern-js/module-tools/en/guide/faq/index.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                              FAQ

                              +Modern.js Module

                              FAQ

                              Here is a list of all frequently asked questions about Modern.js Module.

                              • General FAQ
                              • diff --git a/modern-js/module-tools/en/guide/faq/storybook.html b/modern-js/module-tools/en/guide/faq/storybook.html index 9185266a7b..b28abf55a3 100644 --- a/modern-js/module-tools/en/guide/faq/storybook.html +++ b/modern-js/module-tools/en/guide/faq/storybook.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                Storybook FAQ

                                +Modern.js Module

                                Storybook FAQ

                                ;

                                Storybook v7 Support

                                Storybook v7 is now fully supported and has become our recommended version.

                                diff --git a/modern-js/module-tools/en/guide/faq/test.html b/modern-js/module-tools/en/guide/faq/test.html index 471d06323b..73b81cc2a6 100644 --- a/modern-js/module-tools/en/guide/faq/test.html +++ b/modern-js/module-tools/en/guide/faq/test.html @@ -8,8 +8,9 @@ } })() -Modern.js Module

                                Test FAQ

                                -

                                ;

                                +Modern.js Module
                                \ No newline at end of file diff --git a/modern-js/module-tools/en/guide/intro/getting-started.html b/modern-js/module-tools/en/guide/intro/getting-started.html index 6982ed4237..7034dab827 100644 --- a/modern-js/module-tools/en/guide/intro/getting-started.html +++ b/modern-js/module-tools/en/guide/intro/getting-started.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                Quick Start

                                +Modern.js Module

                                Quick Start

                                3 minute demo

                                Want to experience Modern.js Module in action? The only prerequisite you need is Node.js LTS and make sure your Node version is >= 16.0.0.We recommend using the LTS version of Node.js 18.

                                Create new project

                                diff --git a/modern-js/module-tools/en/guide/intro/welcome.html b/modern-js/module-tools/en/guide/intro/welcome.html index a7ac0b0aa8..f65853c8ec 100644 --- a/modern-js/module-tools/en/guide/intro/welcome.html +++ b/modern-js/module-tools/en/guide/intro/welcome.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                Welcome to Modern.js Module

                                +Modern.js Module

                                Welcome to Modern.js Module

                                Modern.js Module is a modules engineering solution for Modern.js, as well as a core dependency. It allows developers to build, debug, and publish module type project more easily. A module type project can mostly be thought of as an npm package type project, which may be a component, component library or tool library project.

                                If you are planning to develop a project of the npm package type, then you came to the right place! Modern.js provides a professional Modern.js Module. It gives you:

                                  diff --git a/modern-js/module-tools/en/guide/intro/why-module-engineering-solution.html b/modern-js/module-tools/en/guide/intro/why-module-engineering-solution.html index 66ce1d71f9..2f53abb099 100644 --- a/modern-js/module-tools/en/guide/intro/why-module-engineering-solution.html +++ b/modern-js/module-tools/en/guide/intro/why-module-engineering-solution.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                  Why you need Modern.js Module

                                  +Modern.js Module

                                  Why you need Modern.js Module

                                  You've probably all experienced it: when developing a component library or tool library from scratch, we have to consider not only how to write the code logic of the project itself, but also how to build, debug, test, format the code, and other things that have nothing to do with the code logic.

                                  For example, when we consider which builder is used to build the code for a module project, we might previously consider webpack or Rollup, but now we might also consider esbuild or SWC.

                                  Regardless of which builder is chosen, this is going to be a costly learning curve for developers who are not skilled in the use of these build tools. Even if you want to use them quickly, it will take a lot of time and effort.

                                  diff --git a/modern-js/module-tools/en/index.html b/modern-js/module-tools/en/index.html index 1200368ea6..50a42b1220 100644 --- a/modern-js/module-tools/en/index.html +++ b/modern-js/module-tools/en/index.html @@ -8,4 +8,4 @@ } })() -Modern.js Module

                                  Modern.js Module

                                  Module engineering solutions

                                  simple, powerful, high-performance modern npm package development solution

                                  🚀

                                  esbuild: The High Performance JS Bundler

                                  Built on esbuild, the build is extremely fast and gives you the ultimate development experience.

                                  Two build modes

                                  Both bundle and bundleless build modes are supported.

                                  🛠️

                                  Out of the box

                                  Develop your npm packages without too much configuration, with built-in presets covering a wide range of scenarios.

                                  🎨

                                  Extensible: Provides a powerful plugin mechanism

                                  With its plugin extension mechanism, you can easily extend the capabilities of Modern.js Module.

                                  📦

                                  Storybook: The community popular UI development tool

                                  Integrated with Storybook, you can use it to debug UI.

                                  📐

                                  Jest: Delightful Testing Framework

                                  Jest integration makes it easier to test code。

                                  Copyright © 2023 ByteDance.
                                  \ No newline at end of file +Modern.js Module

                                  Modern.js Module

                                  Module engineering solutions

                                  simple, powerful, high-performance modern npm package development solution

                                  🚀

                                  esbuild: The High Performance JS Bundler

                                  Built on esbuild, the build is extremely fast and gives you the ultimate development experience.

                                  Two build modes

                                  Both bundle and bundleless build modes are supported.

                                  🛠️

                                  Out of the box

                                  Develop your npm packages without too much configuration, with built-in presets covering a wide range of scenarios.

                                  🎨

                                  Extensible: Provides a powerful plugin mechanism

                                  With its plugin extension mechanism, you can easily extend the capabilities of Modern.js Module.

                                  📦

                                  Storybook: The community popular UI development tool

                                  Integrated with Storybook, you can use it to debug UI.

                                  📐

                                  Jest: Delightful Testing Framework

                                  Jest integration makes it easier to test code。

                                  Copyright © 2023 ByteDance.
                                  \ No newline at end of file diff --git a/modern-js/module-tools/en/plugins/guide/getting-started.html b/modern-js/module-tools/en/plugins/guide/getting-started.html index 9b07ac032b..f453a462b5 100644 --- a/modern-js/module-tools/en/plugins/guide/getting-started.html +++ b/modern-js/module-tools/en/plugins/guide/getting-started.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                  Quick Start

                                  +Modern.js Module

                                  Quick Start

                                  Modern.js Module not only provides a rich set of features, but also supports extending the capabilities of the current project by way of plugins.

                                  We can quickly see how to write a Modern.js Module plugin by using the following example.

                                    diff --git a/modern-js/module-tools/en/plugins/guide/plugin-object.html b/modern-js/module-tools/en/plugins/guide/plugin-object.html index 29bf6326c1..afef8af174 100644 --- a/modern-js/module-tools/en/plugins/guide/plugin-object.html +++ b/modern-js/module-tools/en/plugins/guide/plugin-object.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                    Plugin Object

                                    +Modern.js Module

                                    Plugin Object

                                    The Modern.js Module plugin is an object, and the object contains the following properties.

                                    • name: The name of the plugin, a unique identifier.
                                    • diff --git a/modern-js/module-tools/en/plugins/guide/setup-function.html b/modern-js/module-tools/en/plugins/guide/setup-function.html index 4a567026f5..c1946d5b2d 100644 --- a/modern-js/module-tools/en/plugins/guide/setup-function.html +++ b/modern-js/module-tools/en/plugins/guide/setup-function.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                      Setup function

                                      +Modern.js Module

                                      Setup function

                                      In the "Plugin object" section we know that the plugin object contains a setup function that not only contains an api object parameter, but also returns a Hooks object.

                                      Plugin API objects

                                      The setup function of the plugin will provide an api object parameter, and you can call some of the methods provided on this object to get information about the configuration, project context, etc.

                                      diff --git a/modern-js/module-tools/en/plugins/official-list/overview.html b/modern-js/module-tools/en/plugins/official-list/overview.html index 76ff4f3b9f..1a654f08c1 100644 --- a/modern-js/module-tools/en/plugins/official-list/overview.html +++ b/modern-js/module-tools/en/plugins/official-list/overview.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                      Overview

                                      +Modern.js Module

                                      Overview

                                      Official Plugins

                                      • @modern-js/plugin-module-import:Use SWC to provide the same ability as babel-plugin-import.
                                      • diff --git a/modern-js/module-tools/en/plugins/official-list/plugin-babel.html b/modern-js/module-tools/en/plugins/official-list/plugin-babel.html index 3aab5bbc7a..16093f2ca3 100644 --- a/modern-js/module-tools/en/plugins/official-list/plugin-babel.html +++ b/modern-js/module-tools/en/plugins/official-list/plugin-babel.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                        Babel Plugin

                                        +Modern.js Module

                                        Babel Plugin

                                        TIP

                                        Normally, we don't need to use Babel to transform our code, this plugin is only used as a downgrade.

                                        Quick start

                                        Install

                                        diff --git a/modern-js/module-tools/en/plugins/official-list/plugin-banner.html b/modern-js/module-tools/en/plugins/official-list/plugin-banner.html index db4983753a..6d2b99a7e1 100644 --- a/modern-js/module-tools/en/plugins/official-list/plugin-banner.html +++ b/modern-js/module-tools/en/plugins/official-list/plugin-banner.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                        Banner Plugin

                                        +Modern.js Module

                                        Banner Plugin

                                        Provide the ability to inject content at the top and bottom of each JS and CSS file.

                                        Quick Start

                                        Install

                                        diff --git a/modern-js/module-tools/en/plugins/official-list/plugin-import.html b/modern-js/module-tools/en/plugins/official-list/plugin-import.html index 7eb0962055..ba0244a187 100644 --- a/modern-js/module-tools/en/plugins/official-list/plugin-import.html +++ b/modern-js/module-tools/en/plugins/official-list/plugin-import.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                        Import Plugin

                                        +Modern.js Module

                                        Import Plugin

                                        Using SWC provides the same ability and configuration as babel-plugin-import.

                                        TIP

                                        Since @modern-js/module-tools version >= 2.16.0, this plugin functionality is built into Modern.js Module and is provided by transformImport.

                                        diff --git a/modern-js/module-tools/en/plugins/official-list/plugin-node-polyfill.html b/modern-js/module-tools/en/plugins/official-list/plugin-node-polyfill.html index 8074ab737e..e3e4681194 100644 --- a/modern-js/module-tools/en/plugins/official-list/plugin-node-polyfill.html +++ b/modern-js/module-tools/en/plugins/official-list/plugin-node-polyfill.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                        Node Polyfill Plugin

                                        +Modern.js Module

                                        Node Polyfill Plugin

                                        About Node Polyfill

                                        Normally, we don't need to use Node libs on the browser side. However, it is possible to use some Node libs when the code will run on both the Node side and the browser side, and Node Polyfill provides browser versions of polyfills for these Node libs.

                                        By using the Node Polyfill plugin, Node core libs polyfills are automatically injected into the browser-side, allowing you to use these modules on the browser side with confidence.

                                        Quick Start

                                        diff --git a/modern-js/module-tools/en/plugins/official-list/plugin-polyfill.html b/modern-js/module-tools/en/plugins/official-list/plugin-polyfill.html index c0aa6b897b..35a3273016 100644 --- a/modern-js/module-tools/en/plugins/official-list/plugin-polyfill.html +++ b/modern-js/module-tools/en/plugins/official-list/plugin-polyfill.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                        Polyfill Plugin

                                        +Modern.js Module

                                        Polyfill Plugin

                                        TIP

                                        Normally, we don't need to inject polyfill for npm packages, this step should be done on the web application framework side, but in some scenarios we need to inject polyfill in order to make our library run directly in low version browsers.

                                        Note that this plugin does not transform your code syntax, it only injects polyfill for unsupported functions used in your code, importing them as normal functions instead of polluting the global. You need to install the core-js-pure dependency.

                                        diff --git a/modern-js/module-tools/en/plugins/official-list/plugin-vue.html b/modern-js/module-tools/en/plugins/official-list/plugin-vue.html index a60a1d8e4d..e13545b384 100644 --- a/modern-js/module-tools/en/plugins/official-list/plugin-vue.html +++ b/modern-js/module-tools/en/plugins/official-list/plugin-vue.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                        Vue Plugin

                                        +Modern.js Module

                                        Vue Plugin

                                        The Vue plugin provides support for building Vue 3 components. The plugin internally integrates esbuild-plugin-vue3 and @vue/babel-plugin-jsx

                                        WARNING

                                        Notice that we have some limitation:

                                          diff --git a/modern-js/module-tools/guide/advance/asset.html b/modern-js/module-tools/guide/advance/asset.html index 2719b18f0e..a6bbdd12c8 100644 --- a/modern-js/module-tools/guide/advance/asset.html +++ b/modern-js/module-tools/guide/advance/asset.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                          处理静态资源

                                          +Modern.js Module

                                          处理静态资源

                                          Modern.js Module 会对代码中使用的静态资源进行处理。如果需要配置,则可以使用 buildConfig.asset API。

                                          默认行为

                                          默认情况下,Modern.js Module 会处理以下静态资源:

                                          diff --git a/modern-js/module-tools/guide/advance/build-umd.html b/modern-js/module-tools/guide/advance/build-umd.html index 95ce92ac3f..a7b16a0ab9 100644 --- a/modern-js/module-tools/guide/advance/build-umd.html +++ b/modern-js/module-tools/guide/advance/build-umd.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                          构建 umd 产物

                                          +Modern.js Module

                                          构建 umd 产物

                                          umd 全称为 Universal Module Definition,这种格式的 JS 文件可以运行在多个运行环境:

                                          • 浏览器环境:基于 AMD 规范进行模块加载
                                          • diff --git a/modern-js/module-tools/guide/advance/copy.html b/modern-js/module-tools/guide/advance/copy.html index 710bd3d730..e170d34901 100644 --- a/modern-js/module-tools/guide/advance/copy.html +++ b/modern-js/module-tools/guide/advance/copy.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                            使用 Copy 工具

                                            +Modern.js Module

                                            使用 Copy 工具

                                            Modern.js Module 提供了 Copy 工具用于将已经存在的单个文件或整个目录复制到产物目录中。接下来我们学习如何使用它。

                                            了解 Copy API

                                            我们可以通过 buildConfig.copy API 来使用 Copy 工具,它包含以下两个主要配置:

                                            diff --git a/modern-js/module-tools/guide/advance/external-dependency.html b/modern-js/module-tools/guide/advance/external-dependency.html index cce60ec143..91b7733dcc 100644 --- a/modern-js/module-tools/guide/advance/external-dependency.html +++ b/modern-js/module-tools/guide/advance/external-dependency.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                            处理三方依赖

                                            +Modern.js Module

                                            处理三方依赖

                                            一般来说,项目所需要的第三方依赖可以通过包管理器的 install 命令安装,在安装第三方依赖成功后,这些第三方依赖一般会出现在项目 package.jsondependenciesdevDependencies 下。

                                            pacakge.json
                                            {
                                               "dependencies": {},
                                            diff --git a/modern-js/module-tools/guide/advance/in-depth-about-build.html b/modern-js/module-tools/guide/advance/in-depth-about-build.html
                                            index 384b81fa57..cf6750646f 100644
                                            --- a/modern-js/module-tools/guide/advance/in-depth-about-build.html
                                            +++ b/modern-js/module-tools/guide/advance/in-depth-about-build.html
                                            @@ -8,7 +8,7 @@
                                               }
                                             })()
                                             
                                            -Modern.js Module

                                            深入理解构建

                                            +Modern.js Module

                                            深入理解构建

                                            在 "基础使用" 的部分,我们已经知道可以通过 buildConfig 配置对项目的输出产物进行修改。buildConfig 不仅描述了产物的一些特性,同时还为构建产物提供了一些功能。

                                            TIP

                                            如果你还不了解 buildConfig 的作用,请先阅读 修改输出产物

                                            diff --git a/modern-js/module-tools/guide/advance/in-depth-about-dev-command.html b/modern-js/module-tools/guide/advance/in-depth-about-dev-command.html index 8b9cc3672c..8b7f421ca8 100644 --- a/modern-js/module-tools/guide/advance/in-depth-about-dev-command.html +++ b/modern-js/module-tools/guide/advance/in-depth-about-dev-command.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                            深入理解 dev 命令

                                            +Modern.js Module

                                            深入理解 dev 命令

                                            Modern.js Module 提供的 dev 命令主要用于代码的调试。

                                            命令运行的整体流程

                                              diff --git a/modern-js/module-tools/guide/basic/before-getting-started.html b/modern-js/module-tools/guide/basic/before-getting-started.html index cb258b813b..0b3ec012d3 100644 --- a/modern-js/module-tools/guide/basic/before-getting-started.html +++ b/modern-js/module-tools/guide/basic/before-getting-started.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                              开始之前

                                              +Modern.js Module

                                              开始之前

                                              环境准备

                                              为了使用 Modern.js Module,首先需要 NodeJS,我们推荐最新的长期维护版本,并确保 Node 版本大于等于 16.0.0。因为非稳定的 NodeJS 时常有一些 Bug,你可以使用 nvm-windowsnvm(Mac / Linux)安装,这样你就可以方便地切换到不同的 NodeJS 版本,这些版本可能会用于不同的项目。

                                              初识 npm

                                              diff --git a/modern-js/module-tools/guide/basic/command-preview.html b/modern-js/module-tools/guide/basic/command-preview.html index 1059be32d1..d1efb33836 100644 --- a/modern-js/module-tools/guide/basic/command-preview.html +++ b/modern-js/module-tools/guide/basic/command-preview.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                              CLI 命令

                                              +Modern.js Module

                                              CLI 命令

                                              Modern.js Module 项目可以使用的 CLI 命令如下:

                                              modern build

                                              Usage: modern build [options]
                                              diff --git a/modern-js/module-tools/guide/basic/modify-output-product.html b/modern-js/module-tools/guide/basic/modify-output-product.html
                                              index 017c638043..679494e8c0 100644
                                              --- a/modern-js/module-tools/guide/basic/modify-output-product.html
                                              +++ b/modern-js/module-tools/guide/basic/modify-output-product.html
                                              @@ -8,7 +8,7 @@
                                                 }
                                               })()
                                               
                                              -Modern.js Module

                                              修改输出产物

                                              +Modern.js Module

                                              修改输出产物

                                              默认输出产物

                                              当你在初始化的项目里使用 modern build 命令的时候,Modern.js Module 会根据当前配置内容,生成相应的构建产物。

                                              模板创建的默认配置内容如下:

                                              diff --git a/modern-js/module-tools/guide/basic/publish-your-project.html b/modern-js/module-tools/guide/basic/publish-your-project.html index 6d533e855a..46fc383cb3 100644 --- a/modern-js/module-tools/guide/basic/publish-your-project.html +++ b/modern-js/module-tools/guide/basic/publish-your-project.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                              版本管理与发布

                                              +Modern.js Module

                                              版本管理与发布

                                              一个 npm 类型的模块项目发布流程包含了两个阶段:

                                              • 第一阶段是在开发期间,开发者需要提供变更文件,该文件记录了在发布期间需要的变更内容;
                                              • diff --git a/modern-js/module-tools/guide/basic/test-your-project.html b/modern-js/module-tools/guide/basic/test-your-project.html index 3cf9dbf056..e6f2b37202 100644 --- a/modern-js/module-tools/guide/basic/test-your-project.html +++ b/modern-js/module-tools/guide/basic/test-your-project.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                                测试项目

                                                +Modern.js Module

                                                测试项目

                                                本章将要介绍如何测试可复用模块。

                                                先决条件和约定

                                                想要使用项目的测试功能,需要确保项目中包含依赖:"@modern-js/plugin-testing",以及按照类似下面的内容进行配置:

                                                diff --git a/modern-js/module-tools/guide/basic/use-micro-generator.html b/modern-js/module-tools/guide/basic/use-micro-generator.html index 7ff9615869..4f438dc5b5 100644 --- a/modern-js/module-tools/guide/basic/use-micro-generator.html +++ b/modern-js/module-tools/guide/basic/use-micro-generator.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                                使用微生成器

                                                +Modern.js Module

                                                使用微生成器

                                                Modern.js Module 提供了微生成器工具,它可以为当前项目:

                                                • 新增目录和文件
                                                • diff --git a/modern-js/module-tools/guide/basic/use-module-doc.html b/modern-js/module-tools/guide/basic/use-module-doc.html index fe2586270a..daaa8dcd41 100644 --- a/modern-js/module-tools/guide/basic/use-module-doc.html +++ b/modern-js/module-tools/guide/basic/use-module-doc.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                                  开发模块文档

                                                  +Modern.js Module

                                                  开发模块文档

                                                  本章介绍如何为模块项目快速搭建一个静态文档站点。

                                                  开始之前

                                                  为什么我们需要为模块搭建一个文档站点

                                                  diff --git a/modern-js/module-tools/guide/basic/using-storybook.html b/modern-js/module-tools/guide/basic/using-storybook.html index 36c2ba9633..6ad5f7f7f7 100644 --- a/modern-js/module-tools/guide/basic/using-storybook.html +++ b/modern-js/module-tools/guide/basic/using-storybook.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                                  使用 Storybook

                                                  +Modern.js Module

                                                  使用 Storybook

                                                  Storybook 是一个专门用于组件调试的工具,它围绕着组件开发提供了:

                                                  • 丰富多样的调试能力
                                                  • diff --git a/modern-js/module-tools/guide/best-practices/components.html b/modern-js/module-tools/guide/best-practices/components.html index 408e71cb48..a278555cd1 100644 --- a/modern-js/module-tools/guide/best-practices/components.html +++ b/modern-js/module-tools/guide/best-practices/components.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                                    开发组件

                                                    +Modern.js Module

                                                    开发组件

                                                    本章将要介绍如何使用 Modern.js Module 开发组件项目。

                                                    初始化项目

                                                      diff --git a/modern-js/module-tools/guide/best-practices/use-tailwindcss.html b/modern-js/module-tools/guide/best-practices/use-tailwindcss.html index bd9aad1d88..6f65b6f49b 100644 --- a/modern-js/module-tools/guide/best-practices/use-tailwindcss.html +++ b/modern-js/module-tools/guide/best-practices/use-tailwindcss.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                                      使用 Tailwind CSS

                                                      +Modern.js Module

                                                      使用 Tailwind CSS

                                                      Tailwind CSS 是一个以 Utility Class 为基础的 CSS 框架和设计系统,可以快速地为组件添加常用样式,同时支持主题样式的灵活扩展。

                                                      Modern.js Module 支持使用 Tailwind CSS 开发组件样式。

                                                      启用 Tailwind CSS

                                                      diff --git a/modern-js/module-tools/guide/faq/basic.html b/modern-js/module-tools/guide/faq/basic.html index fdaa6662b6..508743ff54 100644 --- a/modern-js/module-tools/guide/faq/basic.html +++ b/modern-js/module-tools/guide/faq/basic.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                                      通用类问题

                                                      +Modern.js Module

                                                      通用类问题

                                                      Modern.js Module 和 Rsbuild 的关系?

                                                      Modern.js Module 使用 esbuild 构建工具库和组件库,Rsbuild 专注于解决 Web 应用构建场景。

                                                      Modern.js Module 是否可以使用 webpack plugin 或者 loader?

                                                      diff --git a/modern-js/module-tools/guide/faq/build.html b/modern-js/module-tools/guide/faq/build.html index 7a20038b4f..e1d6ec0260 100644 --- a/modern-js/module-tools/guide/faq/build.html +++ b/modern-js/module-tools/guide/faq/build.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                                      构建相关问题

                                                      +Modern.js Module

                                                      构建相关问题

                                                      这里只记录了一些常见问题和 bad case。

                                                      如果是构建产物不符合预期的场景,尤其是配置了 buildPreset 的情况下, 请先了解 buildPreset 代表了哪些配置项,再根据所有的配置项逐个检查

                                                      diff --git a/modern-js/module-tools/guide/faq/index.html b/modern-js/module-tools/guide/faq/index.html index d548063e90..55249d23b6 100644 --- a/modern-js/module-tools/guide/faq/index.html +++ b/modern-js/module-tools/guide/faq/index.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                                      常见问题

                                                      +Modern.js Module

                                                      常见问题

                                                      这里是 Modern.js Module 常见问题分类列表:

                                                      • 通用类问题
                                                      • diff --git a/modern-js/module-tools/guide/faq/storybook.html b/modern-js/module-tools/guide/faq/storybook.html index 18f8869cca..d7fc217dc4 100644 --- a/modern-js/module-tools/guide/faq/storybook.html +++ b/modern-js/module-tools/guide/faq/storybook.html @@ -8,9 +8,8 @@ } })() -Modern.js Module

                                                        Storybook 相关问题

                                                        - - +Modern.js Module

                                                        Storybook 相关问题

                                                        +

                                                        ;

                                                        支持 Storybook v7

                                                        Storybook v7 目前已全面支持并已成为我们的推荐使用版本。

                                                        使用 Storybook Addon 或者其他配置不生效

                                                        diff --git a/modern-js/module-tools/guide/faq/test.html b/modern-js/module-tools/guide/faq/test.html index 7591e09098..e178441b82 100644 --- a/modern-js/module-tools/guide/faq/test.html +++ b/modern-js/module-tools/guide/faq/test.html @@ -8,8 +8,9 @@ } })() -Modern.js Module

                                                        测试相关问题

                                                        -

                                                        ;

                                                        +Modern.js Module
                                                        \ No newline at end of file diff --git a/modern-js/module-tools/guide/intro/getting-started.html b/modern-js/module-tools/guide/intro/getting-started.html index 9a1804dc5d..a94527ed1e 100644 --- a/modern-js/module-tools/guide/intro/getting-started.html +++ b/modern-js/module-tools/guide/intro/getting-started.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                                        快速开始

                                                        +Modern.js Module

                                                        快速开始

                                                        三分钟快速上手

                                                        想要实际体验 Modern.js Module?首先你需要安装 Node.js LTS,并确保 Node 版本大于等于 16.0.0。我们推荐使用 Node.js 18 的 LTS 版本。

                                                        创建新项目

                                                        diff --git a/modern-js/module-tools/guide/intro/welcome.html b/modern-js/module-tools/guide/intro/welcome.html index 92abf8f285..efb68e9bf1 100644 --- a/modern-js/module-tools/guide/intro/welcome.html +++ b/modern-js/module-tools/guide/intro/welcome.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                                        欢迎使用

                                                        +Modern.js Module

                                                        欢迎使用

                                                        Modern.js Module 是 Modern.js 的模块工程解决方案,同时也是核心依赖。它可以让开发者更轻松地构建、调试、发布模块类型的项目。模块类型的项目大多数情况可以认为是 npm 包类型的项目,它可能是一个组件、组件库或者工具库项目。

                                                        如果你正打算开发一个 npm 包类型的项目,那么你就来对地方了!Modern.js 提供了专业的模块工程解决方案。它带来了:

                                                          diff --git a/modern-js/module-tools/guide/intro/why-module-engineering-solution.html b/modern-js/module-tools/guide/intro/why-module-engineering-solution.html index a643edf0d9..55cbac576a 100644 --- a/modern-js/module-tools/guide/intro/why-module-engineering-solution.html +++ b/modern-js/module-tools/guide/intro/why-module-engineering-solution.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                                          为什么需要 Modern.js Module

                                                          +Modern.js Module

                                                          为什么需要 Modern.js Module

                                                          大家可能都经历过:从零开始开发一个组件库或者工具库的过程中,我们不仅要考虑项目本身的代码逻辑如何编写,还要考虑项目的构建、调试、测试、代码格式化等等和代码逻辑无关的事情。

                                                          比如说,当我们考虑构建模块项目的代码是使用什么构建工具的时候,在之前我们可能会考虑使用 webpack 还是 Rollup,然而现在的话,也许还会考虑是使用 esbuild 还是 SWC

                                                          无论选择哪个构建工具,这对于没有熟练掌握这些构建工具使用方式的开发者来说,是需要一定的成本去学习的。即使想要快速使用,也会需要花费大量的时间和精力。

                                                          diff --git a/modern-js/module-tools/index.html b/modern-js/module-tools/index.html index 071762da47..38b50f2d18 100644 --- a/modern-js/module-tools/index.html +++ b/modern-js/module-tools/index.html @@ -8,4 +8,4 @@ } })() -Modern.js Module

                                                          Modern.js Module

                                                          模块工程解决方案

                                                          简单、强大、高性能的现代化 npm 包开发方案

                                                          🚀

                                                          esbuild: 高性能的 JS Bundler

                                                          基于 esbuild 构建,构建速度极快,带给你极致的开发体验。

                                                          双构建模式

                                                          支持 Bundle 和 Bundleless 两种构建模式。

                                                          🛠️

                                                          开箱即用

                                                          无需过多配置即可开发你的 npm 包,内置预设覆盖多种场景。

                                                          🎨

                                                          扩展性强: 提供强大的插件机制

                                                          通过其插件扩展机制,你可以轻松的扩展 Modern.js Module 的各项能力。

                                                          📦

                                                          Storybook: 社区流行的 UI 开发工具

                                                          集成了 Storybook,你可以使用它调试 UI。

                                                          📐

                                                          Jest: 令人愉快的测试框架

                                                          集成了 Jest,使得代码测试更加容易。

                                                          Copyright © 2023 ByteDance.
                                                          \ No newline at end of file +Modern.js Module

                                                          Modern.js Module

                                                          模块工程解决方案

                                                          简单、强大、高性能的现代化 npm 包开发方案

                                                          🚀

                                                          esbuild: 高性能的 JS Bundler

                                                          基于 esbuild 构建,构建速度极快,带给你极致的开发体验。

                                                          双构建模式

                                                          支持 Bundle 和 Bundleless 两种构建模式。

                                                          🛠️

                                                          开箱即用

                                                          无需过多配置即可开发你的 npm 包,内置预设覆盖多种场景。

                                                          🎨

                                                          扩展性强: 提供强大的插件机制

                                                          通过其插件扩展机制,你可以轻松的扩展 Modern.js Module 的各项能力。

                                                          📦

                                                          Storybook: 社区流行的 UI 开发工具

                                                          集成了 Storybook,你可以使用它调试 UI。

                                                          📐

                                                          Jest: 令人愉快的测试框架

                                                          集成了 Jest,使得代码测试更加容易。

                                                          Copyright © 2023 ByteDance.
                                                          \ No newline at end of file diff --git a/modern-js/module-tools/plugins/guide/getting-started.html b/modern-js/module-tools/plugins/guide/getting-started.html index 87680ab9e9..956e9792e8 100644 --- a/modern-js/module-tools/plugins/guide/getting-started.html +++ b/modern-js/module-tools/plugins/guide/getting-started.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                                          快速开始

                                                          +Modern.js Module

                                                          快速开始

                                                          Modern.js Module 不仅提供了丰富的功能,同时也支持通过插件的方式为当前项目扩展能力。

                                                          我们可以通过下面的例子来快速了解如何编写一个 Modern.js Module 插件:

                                                            diff --git a/modern-js/module-tools/plugins/guide/plugin-object.html b/modern-js/module-tools/plugins/guide/plugin-object.html index 28d7a0cdc0..abef0d784f 100644 --- a/modern-js/module-tools/plugins/guide/plugin-object.html +++ b/modern-js/module-tools/plugins/guide/plugin-object.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                                            插件对象

                                                            +Modern.js Module

                                                            插件对象

                                                            Modern.js Module 的插件是一个对象,对象包含以下属性:

                                                            • name:插件的名称,唯一标识符。
                                                            • diff --git a/modern-js/module-tools/plugins/guide/setup-function.html b/modern-js/module-tools/plugins/guide/setup-function.html index 222c020245..5774edb10b 100644 --- a/modern-js/module-tools/plugins/guide/setup-function.html +++ b/modern-js/module-tools/plugins/guide/setup-function.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                                              Setup 函数

                                                              +Modern.js Module

                                                              Setup 函数

                                                              「插件对象」 部分我们知道插件对象包含了一个 setup 函数,该函数不仅包含了一个 api 对象参数,同时还可以返回一个 Hooks 对象。

                                                              插件 API 对象

                                                              插件的 setup 函数会提供一个 api 对象参数,你可以调用该对象上提供的一些方法来获取到配置、项目上下文等信息。

                                                              diff --git a/modern-js/module-tools/plugins/official-list/overview.html b/modern-js/module-tools/plugins/official-list/overview.html index 9273faf9aa..98719d4deb 100644 --- a/modern-js/module-tools/plugins/official-list/overview.html +++ b/modern-js/module-tools/plugins/official-list/overview.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                                              总览

                                                              +Modern.js Module

                                                              总览

                                                              官方插件

                                                              • @modern-js/plugin-module-import:使用 SWC 提供与 babel-plugin-import 一样的能力。
                                                              • diff --git a/modern-js/module-tools/plugins/official-list/plugin-babel.html b/modern-js/module-tools/plugins/official-list/plugin-babel.html index c53d93a891..da04738ae6 100644 --- a/modern-js/module-tools/plugins/official-list/plugin-babel.html +++ b/modern-js/module-tools/plugins/official-list/plugin-babel.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                                                Babel 插件

                                                                +Modern.js Module

                                                                Babel 插件

                                                                TIP

                                                                通常情况下,我们无需使用 Babel 转换我们的代码,此插件仅作为一种降级方式。

                                                                快速开始

                                                                安装

                                                                diff --git a/modern-js/module-tools/plugins/official-list/plugin-banner.html b/modern-js/module-tools/plugins/official-list/plugin-banner.html index 452994201c..d45873f86b 100644 --- a/modern-js/module-tools/plugins/official-list/plugin-banner.html +++ b/modern-js/module-tools/plugins/official-list/plugin-banner.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                                                Banner 插件

                                                                +Modern.js Module

                                                                Banner 插件

                                                                提供为每个 JS 和 CSS 文件的顶部和底部注入内容的能力。

                                                                TIP

                                                                @modern-js/module-tools 2.36.0 版本开始,该插件功能内置在 Modern.js Module 中,由 bannerfooter 配置提供。 diff --git a/modern-js/module-tools/plugins/official-list/plugin-import.html b/modern-js/module-tools/plugins/official-list/plugin-import.html index 8985d5d305..73b76ece2d 100644 --- a/modern-js/module-tools/plugins/official-list/plugin-import.html +++ b/modern-js/module-tools/plugins/official-list/plugin-import.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                                                Import 插件

                                                                +Modern.js Module

                                                                Import 插件

                                                                提供与 babel-plugin-import 等价的能力和配置,基于 SWC 实现。

                                                                TIP

                                                                @modern-js/module-tools 2.16.0 版本开始,该插件功能内置在 Modern.js Module 中,由 transformImport 配置提供。 diff --git a/modern-js/module-tools/plugins/official-list/plugin-node-polyfill.html b/modern-js/module-tools/plugins/official-list/plugin-node-polyfill.html index a3cc4cb815..a7156dd75b 100644 --- a/modern-js/module-tools/plugins/official-list/plugin-node-polyfill.html +++ b/modern-js/module-tools/plugins/official-list/plugin-node-polyfill.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                                                Node Polyfill 插件

                                                                +Modern.js Module

                                                                Node Polyfill 插件

                                                                Node Polyfill 介绍

                                                                通常情况下,我们不会在浏览器端使用 Node 模块。但在当前代码需要同时在 Node 端和浏览器端运行时,用到一些 Node 模块是有可能的。Node Polyfill 为这些 Node 模块提供了浏览器版本的 polyfills。

                                                                通过使用 Node Polyfill 插件,会自动注入 Node 核心模块在浏览器端的 polyfills,让你可以在浏览器端放心使用这些模块。

                                                                快速开始

                                                                diff --git a/modern-js/module-tools/plugins/official-list/plugin-polyfill.html b/modern-js/module-tools/plugins/official-list/plugin-polyfill.html index 655a48b5f7..a62f78adfc 100644 --- a/modern-js/module-tools/plugins/official-list/plugin-polyfill.html +++ b/modern-js/module-tools/plugins/official-list/plugin-polyfill.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                                                Polyfill 插件

                                                                +Modern.js Module

                                                                Polyfill 插件

                                                                TIP

                                                                通常情况下,我们不需要为 npm 包注入 polyfill,这一步应该在 Web 应用的框架侧完成,但是在某些场景,为了让我们的库能够直接运行在低版本浏览器里,我们需要注入 polyfill。

                                                                请注意,此插件并不会转化你的代码语法,只会为你的代码中使用到的不支持的功能注入 polyfill,把它们作为普通函数导入而不是污染全局。你需要安装 core-js-pure 依赖

                                                                diff --git a/modern-js/module-tools/plugins/official-list/plugin-vue.html b/modern-js/module-tools/plugins/official-list/plugin-vue.html index b206e34abb..cb8928cbc1 100644 --- a/modern-js/module-tools/plugins/official-list/plugin-vue.html +++ b/modern-js/module-tools/plugins/official-list/plugin-vue.html @@ -8,7 +8,7 @@ } })() -Modern.js Module

                                                                Vue 插件

                                                                +Modern.js Module

                                                                Vue 插件

                                                                Vue 插件提供了对 Vue 3 组件构建的支持,插件内部集成了 esbuild-plugin-vue3@vue/babel-plugin-jsx

                                                                WARNING

                                                                请注意,此插件仍有一些用法限制:

                                                                  diff --git a/modern-js/module-tools/static/js/9376.2547934e.js b/modern-js/module-tools/static/js/9376.2d43852f.js similarity index 99% rename from modern-js/module-tools/static/js/9376.2547934e.js rename to modern-js/module-tools/static/js/9376.2d43852f.js index 8419e2371b..b1515529cc 100644 --- a/modern-js/module-tools/static/js/9376.2547934e.js +++ b/modern-js/module-tools/static/js/9376.2d43852f.js @@ -1,2 +1,2 @@ -/*! For license information please see 9376.2547934e.js.LICENSE.txt */ -(self.webpackChunk_modern_js_module_tools_docs=self.webpackChunk_modern_js_module_tools_docs||[]).push([["9376"],{94:function(e,t,n){"use strict";n.r(t),n.d(t,{Content:function(){return u}});var i=n("39980"),r=n("2363"),a=n("35383"),o=n("13328"),l=n("68347"),s=n("59030");let{routes:d}=n("99593"),c=(0,r.memo)(function(e){let t=e.el;return o.default?.themeConfig?.enableContentAnimation&&(t=(0,s.useViewTransition)(e.el)),t},(e,t)=>e.el===t.el),u=({fallback:e=(0,i.jsx)(i.Fragment,{})})=>{let{pathname:t}=(0,a.useLocation)(),n=(0,a.matchRoutes)(d,(0,l.normalizeRoutePath)(t));if(!n)return(0,i.jsx)("div",{});let o=n[0].route.element;return(0,i.jsx)(r.Suspense,{fallback:e,children:(0,i.jsx)(c,{el:o})})}},99618:function(e,t,n){"use strict";n.r(t),n.d(t,{NoSSR:function(){return a}});var i=n("39980"),r=n("2363");function a(e){let{children:t}=e,[n,a]=(0,r.useState)(!1);return((0,r.useEffect)(()=>{a(!0)},[]),n)?(0,i.jsx)(i.Fragment,{children:t}):null}},59030:function(e,t,n){"use strict";n.r(t),n.d(t,{DataContext:function(){return a},ThemeContext:function(){return o},useLang:function(){return s},usePageData:function(){return l},useVersion:function(){return d},useViewTransition:function(){return c}});var i=n("2363"),r=n("61850");let a=(0,i.createContext)({}),o=(0,i.createContext)({});function l(){return(0,i.useContext)(a).data}function s(){return(0,i.useContext)(a).data.page.lang||""}function d(){return(0,i.useContext)(a).data.page.version||""}function c(e){let[t,n]=(0,i.useState)(e);return(0,i.useLayoutEffect)(()=>{document.startViewTransition&&t!==e?document.startViewTransition(()=>{(0,r.flushSync)(()=>{n(e)}),window.dispatchEvent(new Event("RspressReloadContent"))}):((0,r.flushSync)(()=>{n(e)}),window.dispatchEvent(new Event("RspressReloadContent")))},[e]),t}},59350:function(e,t,n){"use strict";n.r(t),n.d(t,{BrowserRouter:function(){return o.BrowserRouter},NoSSR:function(){return l.NoSSR},isEqualPath:function(){return a.isEqualPath},isProduction:function(){return a.isProduction},matchRoutes:function(){return o.matchRoutes},normalizeHrefInRuntime:function(){return a.normalizeHrefInRuntime},normalizeImagePath:function(){return a.normalizeImagePath},normalizeRoutePath:function(){return a.normalizeRoutePath},removeBase:function(){return a.removeBase},useLocation:function(){return o.useLocation},useNavigate:function(){return o.useNavigate},withBase:function(){return a.withBase}});var i=n("59030");n.es(i,t);var r=n("94");n.es(r,t);var a=n("68347"),o=n("35383");n("20288");var l=n("99618")},68347:function(e,t,n){"use strict";n.r(t),n.d(t,{isEqualPath:function(){return s},isProduction:function(){return r.isProduction},normalizeHrefInRuntime:function(){return d},normalizeImagePath:function(){return c},normalizeRoutePath:function(){return a},removeBase:function(){return l},withBase:function(){return o}});var i=n("13328"),r=n("56195");function a(e){return decodeURIComponent(e).replace(/\.html$/,"").replace(/\/index$/,"/")}function o(e="/"){return(0,r.withBase)(e,i.default.base)}function l(e){return(0,r.removeBase)(e,i.default.base)}function s(e,t){return o(d((0,r.removeHash)(e)))===o(d((0,r.removeHash)(t)))}function d(e){let t=!!i.default?.route?.cleanUrls;return(0,r.normalizeHref)(e,t)}function c(e){return!(0,r.isProduction)()||(0,r.isExternalUrl)(e)||(0,r.isDataUrl)(e)?e:o(e)}},12555:function(e,t,n){"use strict";n.r(t),n.d(t,{clearAllBodyScrollLocks:function(){return b},disableBodyScroll:function(){return v}});var i=!1;if("undefined"!=typeof window){var r={get passive(){i=!0;return}};window.addEventListener("testPassive",null,r),window.removeEventListener("testPassive",null,r)}var a="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),o=[],l=!1,s=-1,d=void 0,c=void 0,u=void 0,h=function(e){return o.some(function(t){return!!(t.options.allowTouchMove&&t.options.allowTouchMove(e))||!1})},p=function(e){var t=e||window.event;return!!h(t.target)||!!(t.touches.length>1)||(t.preventDefault&&t.preventDefault(),!1)},m=function(e){if(void 0===u){var t=!!e&&!0===e.reserveScrollBarGap,n=window.innerWidth-document.documentElement.clientWidth;if(t&&n>0){var i=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"),10);u=document.body.style.paddingRight,document.body.style.paddingRight=i+n+"px"}}void 0===d&&(d=document.body.style.overflow,document.body.style.overflow="hidden")},f=function(){void 0!==u&&(document.body.style.paddingRight=u,u=void 0),void 0!==d&&(document.body.style.overflow=d,d=void 0)},g=function(){if(void 0!==c){var e=-parseInt(document.body.style.top,10),t=-parseInt(document.body.style.left,10);document.body.style.position=c.position,document.body.style.top=c.top,document.body.style.left=c.left,window.scrollTo(t,e),c=void 0}},x=function(e,t){var n,i=e.targetTouches[0].clientY-s;if(h(e.target))return!1;if(t&&0===t.scrollTop&&i>0)return p(e);return(n=t)&&n.scrollHeight-n.scrollTop<=n.clientHeight&&i<0?p(e):(e.stopPropagation(),!0)},v=function(e,t){if(!e){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}!o.some(function(t){return t.targetElement===e})&&(o=[].concat(function(e){if(!Array.isArray(e))return Array.from(e);for(var t=0,n=Array(e.length);t=i&&(document.body.style.top=-(t+e))})},300)}}):m(t),a&&(e.ontouchstart=function(e){1===e.targetTouches.length&&(s=e.targetTouches[0].clientY)},e.ontouchmove=function(t){1===t.targetTouches.length&&x(t,e)},!l&&(document.addEventListener("touchmove",p,i?{passive:!1}:void 0),l=!0)))},b=function(){a&&(o.forEach(function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null}),l&&(document.removeEventListener("touchmove",p,i?{passive:!1}:void 0),l=!1),s=-1),a?g():f(),o=[]}},429:function(e,t){"use strict";t.parse=function(e){for(var t,n=[],i=String(e||""),r=i.indexOf(","),a=0,o=!1;!o;)-1===r&&(r=i.length,o=!0),((t=i.slice(a,r).trim())||!o)&&n.push(t),a=r+1,r=i.indexOf(",",a);return n},t.stringify=function(e,t){var n=t||{},i=!1===n.padLeft?"":" ",r=n.padRight?" ":"";return""===e[e.length-1]&&(e=e.concat("")),e.join(r+","+i).trim()}},79522:function(e,t,n){"use strict";var i=n("48456"),r={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,a,o,l,s,d,c,u,h=!1;!t&&(t={}),o=t.debug||!1;try{if(s=i(),d=document.createRange(),c=document.getSelection(),(u=document.createElement("span")).textContent=e,u.ariaHidden="true",u.style.all="unset",u.style.position="fixed",u.style.top=0,u.style.clip="rect(0, 0, 0, 0)",u.style.whiteSpace="pre",u.style.webkitUserSelect="text",u.style.MozUserSelect="text",u.style.msUserSelect="text",u.style.userSelect="text",u.addEventListener("copy",function(n){if(n.stopPropagation(),t.format){if(n.preventDefault(),void 0===n.clipboardData){o&&console.warn("unable to use e.clipboardData"),o&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=r[t.format]||r.default;window.clipboardData.setData(i,e)}else n.clipboardData.clearData(),n.clipboardData.setData(t.format,e)}t.onCopy&&(n.preventDefault(),t.onCopy(n.clipboardData))}),document.body.appendChild(u),d.selectNodeContents(u),c.addRange(d),!document.execCommand("copy"))throw Error("copy command was unsuccessful");h=!0}catch(i){o&&console.error("unable to copy using execCommand: ",i),o&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),h=!0}catch(i){;o&&console.error("unable to copy using clipboardData: ",i),o&&console.error("falling back to prompt"),n="message"in t?t.message:"Copy to clipboard: #{key}, Enter",a=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C",l=n.replace(/#{\s*key\s*}/g,a),window.prompt(l,e)}}finally{c&&("function"==typeof c.removeRange?c.removeRange(d):c.removeAllRanges()),u&&document.body.removeChild(u),s()}return h}},85653:function(e,t){"use strict";(function(n,i,r){let a;(a=r.define)&&a.amd?a([],function(){return i}):(a=r.modules)?a[n.toLowerCase()]=i:"object"==typeof t?e.exports=i:r[n]=i})("FlexSearch",function e(t){let n;function i(e,t){let n=t?t.id:e&&e.id;this.id=n||0===n?n:z++,this.init(e,t),l(this,"index",function(){return this.a?Object.keys(this.a.index[this.a.keys[0]].c):Object.keys(this.c)}),l(this,"length",function(){return this.index.length})}function r(e,t,n,i){return this.u!==this.g&&(this.o=this.o.concat(n),this.u++,i&&this.o.length>=i&&(this.u=this.g),this.u===this.g&&(this.cache&&this.j.set(t,this.o),this.F&&this.F(this.o))),this}function a(e,t){let n=e.length,i=y(t),r=[];for(let a=0,o=0;a=o&&((e=(e=e[l-(r+.5>>0)])[n]||(e[n]=[]))[e.length]=i),r)}function u(e,t){if(e){let n=Object.keys(e);for(let i=0,r=n.length;i(e=e.length-t.length)?1:e?-1:0}function m(e,t){return e=e[n],e<(t=t[n])?-1:e>t?1:0}function f(e,t){let i=n.length;for(let r=0;rt?1:0}function g(e,t,n){return e?{page:e,next:t?""+t:null,result:n}:n}function x(e,t,n,i,r,a,o){let l,s=[];if(!0===n){n="0";var d=""}else d=n&&n.split(":");let c=e.length;if(1o&&(d=0),(l=(d=d||0)+t)=this.m.length&&(this.C=0),this.m[this.C].postMessage({add:!0,id:e,content:t}),this.c[o]=""+this.C,n&&n(),this;if(!r){if(this.async&&"function"!=typeof importScripts){let r=this;return(o=new Promise(function(n){setTimeout(function(){r.add(e,t,null,i,!0),r=null,n()})}),n)?(o.then(n),this):o}if(n)return this.add(e,t,null,i,!0),n(),this}if(!(t=this.encode(t)).length)return this;r=y(n=this.f)?n(t):t.split(this.split),this.filter&&(r=a(r,this.filter));let p=j();p._ctx=j();let m=r.length,f=this.threshold,g=this.depth,x=this.b,v=this.i,b=this.D;for(let t=0;th;n--)c(v,p,u=l.substring(h,n),e,t,d,f,x-1)}break;default:if(s=c(v,p,l,e,1,d,f,x-1),g&&1=f)for(s=p._ctx[l]||(p._ctx[l]=j()),l=this.h[l]||(this.h[l]=I(x-(f||0))),0>(d=t-g)&&(d=0),(u=t+g+1)>m&&(u=m);dr;n--)i=a[n-1],a[n]=i,t[i]=n;a[r]=e,t[e]=r}}}return t},e}();return i}(function(){let e={},t="undefined"!=typeof Blob&&"undefined"!=typeof URL&&URL.createObjectURL;return function(n,i,r,a,o){return r=t?URL.createObjectURL(new Blob(["("+r.toString()+")()"],{type:"text/javascript"})):n+".min.js",e[n+="-"+i]||(e[n]=[]),e[n][o]=new Worker(r),e[n][o].onmessage=a,e[n][o]}}()),this)},43451:function(e){"use strict";e.exports=function(e,n){for(var i,r,a,o=e||"",l=n||"div",s={},d=0;d-1}var o=["itemScope"];function l(t,n,i,r){void 0===r&&(r=null);var a=i[t],o=i._;return a?e.createElement(a,n,r):o?o(t,n,r):e.createElement(t,n,r)}return function(e,i){if(void 0===i&&(i={}),"string"!=typeof e)throw TypeError("Expected HTML string");var a=document.createElement("div");a.innerHTML=e.trim();var o=Array.from(a.childNodes).map(function(e,a){return function e(i,a,o){var s,d,c,u,h=o.transform||{},p=o.preserveAttributes||[],m=o.dangerouslySetChildren||["style"],f=h._;if(8===i.nodeType)return null;if(3===i.nodeType){var g=i.textContent;return f?f(g):g}for(var x={},v=i.attributes,b=0;b1){var r,o=(r=i[0].trim(),/^-ms-/.test(r)&&(r=r.substr(1)),r.startsWith("--")?r:t(r)),l=(n=i.slice(1).join(":").trim(),/^\d+$/.test(n)?Number(n):n.replace(/'/g,'"'));a[o]=l}}),a);else{var l=d[n],h=""===l||String(l).toLowerCase()===i.toLowerCase();e[o.name]=o.isBoolean?h:l}return e},{})),k=Array.from(i.childNodes).map(function(t,i){return n.indexOf(y)>-1&&3===t.nodeType&&(t.textContent=t.textContent.trim(),""===t.textContent)?null:e(t,a+"."+i,o)}).filter(Boolean);if(m.indexOf(y)>-1){var I=i.innerHTML;return I&&("style"!==y&&"script"!==y&&(I=I.replace(/"/g,""")),w.dangerouslySetInnerHTML={__html:I.trim()}),l(y,w,h)}return l(y,w,h,0===k.length?null:k)}(e,String(a),i)}).filter(Boolean);return 1===o.length?o[0]:o}},"object"==typeof t?e.exports=r(n("2363")):"function"==typeof define&&define.amd?define(["react"],r):(i=i||self).htmr=r(i.React)},24546:function(e){"use strict";e.exports=function(e,t,n,i,r,a,o,l){if(!e){var s;if(void 0===t)s=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var d=[n,i,r,a,o,l],c=0;(s=Error(t.replace(/%s/g,function(){return d[c++]}))).name="Invariant Violation"}throw s.framesToPop=1,s}}},54761:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}},29975:function(e,t,n){"use strict";var i=n("54761"),r=n("67525");e.exports=function(e){return i(e)||r(e)}},67525:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},72201:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},60366:function(e,t,n){"use strict";n.r(t);var i=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},r=window.Promise||function(e){function t(){}e(t,t)},u=function(){for(var e=arguments.length,t=Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=e.target,n=function(){var e={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},t=void 0,n=void 0;if(b.container){if(b.container instanceof Object)t=(e=i({},e,b.container)).width-e.left-e.right-2*b.margin,n=e.height-e.top-e.bottom-2*b.margin;else{var r=(a(b.container)?b.container:document.querySelector(b.container)).getBoundingClientRect();e=i({},e,{width:r.width,height:r.height,left:r.left,top:r.top})}}t=t||e.width-2*b.margin,n=n||e.height-2*b.margin;var l=y.zoomedHd||y.original,s=o(l)?t:l.naturalWidth||t,d=o(l)?n:l.naturalHeight||n,c=l.getBoundingClientRect(),u=c.top,h=c.left,p=c.width,m=c.height,f=Math.min(Math.min(Math.max(p,s),t)/p,Math.min(Math.max(m,d),n)/m),g=(-h+(t-p)/2+b.margin+e.left)/f,x=(-u+(n-m)/2+b.margin+e.top)/f,v="scale("+f+") translate3d("+g+"px, "+x+"px, 0)";y.zoomed.style.transform=v,y.zoomedHd&&(y.zoomedHd.style.transform=v)};return new r(function(e){if(t&&-1===f.indexOf(t)){e(k);return}if(y.zoomed){e(k);return}if(t)y.original=t;else if(f.length>0){var i=f;y.original=i[0]}else{e(k);return}if(y.original.dispatchEvent(c("medium-zoom:open",{detail:{zoom:k}})),v=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,x=!0,y.zoomed=d(y.original),document.body.appendChild(w),b.template){var r=a(b.template)?b.template:document.querySelector(b.template);y.template=document.createElement("div"),y.template.appendChild(r.content.cloneNode(!0)),document.body.appendChild(y.template)}if(y.original.parentElement&&"PICTURE"===y.original.parentElement.tagName&&y.original.currentSrc&&(y.zoomed.src=y.original.currentSrc),document.body.appendChild(y.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),y.original.classList.add("medium-zoom-image--hidden"),y.zoomed.classList.add("medium-zoom-image--opened"),y.zoomed.addEventListener("click",p),y.zoomed.addEventListener("transitionend",function t(){x=!1,y.zoomed.removeEventListener("transitionend",t),y.original.dispatchEvent(c("medium-zoom:opened",{detail:{zoom:k}})),e(k)}),y.original.getAttribute("data-zoom-src")){y.zoomedHd=y.zoomed.cloneNode(),y.zoomedHd.removeAttribute("srcset"),y.zoomedHd.removeAttribute("sizes"),y.zoomedHd.removeAttribute("loading"),y.zoomedHd.src=y.zoomed.getAttribute("data-zoom-src"),y.zoomedHd.onerror=function(){clearInterval(o),console.warn("Unable to reach the zoom image target "+y.zoomedHd.src),y.zoomedHd=null,n()};var o=setInterval(function(){y.zoomedHd.complete&&(clearInterval(o),y.zoomedHd.classList.add("medium-zoom-image--opened"),y.zoomedHd.addEventListener("click",p),document.body.appendChild(y.zoomedHd),n())},10)}else if(y.original.hasAttribute("srcset")){y.zoomedHd=y.zoomed.cloneNode(),y.zoomedHd.removeAttribute("sizes"),y.zoomedHd.removeAttribute("loading");var l=y.zoomedHd.addEventListener("load",function(){y.zoomedHd.removeEventListener("load",l),y.zoomedHd.classList.add("medium-zoom-image--opened"),y.zoomedHd.addEventListener("click",p),document.body.appendChild(y.zoomedHd),n()})}else n()})},p=function(){return new r(function(e){if(x||!y.original){e(k);return}x=!0,document.body.classList.remove("medium-zoom--opened"),y.zoomed.style.transform="",y.zoomedHd&&(y.zoomedHd.style.transform=""),y.template&&(y.template.style.transition="opacity 150ms",y.template.style.opacity=0),y.original.dispatchEvent(c("medium-zoom:close",{detail:{zoom:k}})),y.zoomed.addEventListener("transitionend",function t(){y.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(y.zoomed),y.zoomedHd&&document.body.removeChild(y.zoomedHd),document.body.removeChild(w),y.zoomed.classList.remove("medium-zoom-image--opened"),y.template&&document.body.removeChild(y.template),x=!1,y.zoomed.removeEventListener("transitionend",t),y.original.dispatchEvent(c("medium-zoom:closed",{detail:{zoom:k}})),y.original=null,y.zoomed=null,y.zoomedHd=null,y.template=null,e(k)})})},m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.target;return y.original?p():h({target:t})},f=[],g=[],x=!1,v=0,b=n,y={original:null,zoomed:null,zoomedHd:null,template:null};"[object Object]"===Object.prototype.toString.call(t)?b=t:(t||"string"==typeof t)&&u(t);var w=s((b=i({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},b)).background);document.addEventListener("click",function(e){var t=e.target;if(t===w){p();return}-1!==f.indexOf(t)&&m({target:t})}),document.addEventListener("keyup",function(e){var t=e.key||e.keyCode;("Escape"===t||"Esc"===t||27===t)&&p()}),document.addEventListener("scroll",function(){if(!x&&y.original){var e=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(v-e)>b.scrollOffset&&setTimeout(p,150)}}),window.addEventListener("resize",p);var k={open:h,close:p,toggle:m,update:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.background&&(w.style.background=e.background),e.container&&e.container instanceof Object&&(e.container=i({},b.container,e.container)),e.template){var t=a(e.template)?e.template:document.querySelector(e.template);e.template=t}return b=i({},b,e),f.forEach(function(e){e.dispatchEvent(c("medium-zoom:update",{detail:{zoom:k}}))}),k},clone:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e(i({},b,t))},attach:u,detach:function(){for(var e=arguments.length,t=Array(e),n=0;n0?t.reduce(function(e,t){return[].concat(e,l(t))},[]):f;return i.forEach(function(e){e.classList.remove("medium-zoom-image"),e.dispatchEvent(c("medium-zoom:detach",{detail:{zoom:k}}))}),f=f.filter(function(e){return -1===i.indexOf(e)}),k},on:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return f.forEach(function(i){i.addEventListener("medium-zoom:"+e,t,n)}),g.push({type:"medium-zoom:"+e,listener:t,options:n}),k},off:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return f.forEach(function(i){i.removeEventListener("medium-zoom:"+e,t,n)}),g=g.filter(function(n){return!(n.type==="medium-zoom:"+e&&n.listener.toString()===t.toString())}),k},getOptions:function(){return b},getImages:function(){return f},getZoomedImage:function(){return y.original}};return k}},47841:function(e,t){(function(n,i){"function"==typeof define&&define.amd?define(i):"object"==typeof t?e.exports=i():n.NProgress=i()})(this,function(){var e,t={};t.version="0.2.0";var n=t.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
                                                                  '};function i(e,t,n){return en?n:e}function r(e){return(-1+e)*100}t.configure=function(e){var t,i;for(t in e)void 0!==(i=e[t])&&e.hasOwnProperty(t)&&(n[t]=i);return this},t.status=null,t.set=function(e){var l=t.isStarted();e=i(e,n.minimum,1),t.status=1===e?null:e;var s=t.render(!l),d=s.querySelector(n.barSelector),c=n.speed,u=n.easing;return s.offsetWidth,a(function(i){""===n.positionUsing&&(n.positionUsing=t.getPositioningCSS()),o(d,function(e,t,i){var a;return(a="translate3d"===n.positionUsing?{transform:"translate3d("+r(e)+"%,0,0)"}:"translate"===n.positionUsing?{transform:"translate("+r(e)+"%,0)"}:{"margin-left":r(e)+"%"}).transition="all "+t+"ms "+i,a}(e,c,u)),1===e?(o(s,{transition:"none",opacity:1}),s.offsetWidth,setTimeout(function(){o(s,{transition:"all "+c+"ms linear",opacity:0}),setTimeout(function(){t.remove(),i()},c)},c)):setTimeout(i,c)}),this},t.isStarted=function(){return"number"==typeof t.status},t.start=function(){!t.status&&t.set(0);var e=function(){setTimeout(function(){t.status&&(t.trickle(),e())},n.trickleSpeed)};return n.trickle&&e(),this},t.done=function(e){return e||t.status?t.inc(.3+.5*Math.random()).set(1):this},t.inc=function(e){var n=t.status;return n?("number"!=typeof e&&(e=(1-n)*i(Math.random()*n,.1,.95)),n=i(n+e,0,.994),t.set(n)):t.start()},t.trickle=function(){return t.inc(Math.random()*n.trickleRate)},function(){var e=0,n=0;t.promise=function(i){return i&&"resolved"!==i.state()?(0===n&&t.start(),e++,n++,i.always(function(){0==--n?(e=0,t.done()):t.set((e-n)/e)}),this):this}}(),t.render=function(e){if(t.isRendered())return document.getElementById("nprogress");s(document.documentElement,"nprogress-busy");var i=document.createElement("div");i.id="nprogress",i.innerHTML=n.template;var a,l=i.querySelector(n.barSelector),d=e?"-100":r(t.status||0),c=document.querySelector(n.parent);return o(l,{transition:"all 0 linear",transform:"translate3d("+d+"%,0,0)"}),!n.showSpinner&&(a=i.querySelector(n.spinnerSelector))&&u(a),c!=document.body&&s(c,"nprogress-custom-parent"),c.appendChild(i),i},t.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(n.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&u(e)},t.isRendered=function(){return!!document.getElementById("nprogress")},t.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective" in e?"translate3d":t+"Transform" in e?"translate":"margin"};var a=(e=[],function(t){e.push(t),1==e.length&&!function t(){var n=e.shift();n&&n(t)}()}),o=function(){var e=["Webkit","O","Moz","ms"],t={};function n(n,i,r){i=function(n){return t[n=n.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})]||(t[n]=function(t){var n=document.body.style;if(t in n)return t;for(var i,r=e.length,a=t.charAt(0).toUpperCase()+t.slice(1);r--;)if((i=e[r]+a)in n)return i;return t}(n))}(i),n.style[i]=r}return function(e,t){var i,r,a=arguments;if(2==a.length)for(i in t)void 0!==(r=t[i])&&t.hasOwnProperty(i)&&n(e,i,r);else n(e,a[1],a[2])}}();function l(e,t){return("string"==typeof e?e:c(e)).indexOf(" "+t+" ")>=0}function s(e,t){var n=c(e),i=n+t;!l(n,t)&&(e.className=i.substring(1))}function d(e,t){var n,i=c(e);l(e,t)&&(n=i.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function c(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function u(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return t})},55144:function(e){"use strict";var t;e.exports=function(e){var n,i="&"+e+";";return(t=t||document.createElement("i")).innerHTML=i,(59!==(n=t.textContent).charCodeAt(n.length-1)||"semi"===e)&&n!==i&&n}},82668:function(e,t,n){"use strict";var i=n("10924"),r=n("33222"),a=n("67525"),o=n("72201"),l=n("29975"),s=n("55144");e.exports=function(e,t){var n,a,o={};for(a in!t&&(t={}),h)n=t[a],o[a]=null==n?h[a]:n;return(o.position.indent||o.position.start)&&(o.indent=o.position.indent||[],o.position=o.position.start),function(e,t){var n,a,o,h,b,y,w,k,I,j,P,S,E,C,z,_,N,A,T,L=t.additional,O=t.nonTerminated,M=t.text,D=t.reference,R=t.warning,B=t.textContext,H=t.referenceContext,$=t.warningContext,F=t.position,W=t.indent||[],q=e.length,U=0,V=-1,G=F.column||1,Z=F.line||1,Y="",K=[];for("string"==typeof L&&(L=L.charCodeAt(0)),_=X(),k=R?function(e,t){var n=X();n.column+=t,n.offset+=t,R.call($,v[e],n,e)}:u,U--,q++;++U=55296&&e<=57343||e>1114111}(y=parseInt(h,g[C]))?(k(7,A),y=c(65533)):y in r?(k(6,A),y=r[y]):(j="",function(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||(65535&e)===65535||(65535&e)===65534}(y)&&k(6,A),y>65535&&(y-=65536,j+=c(y>>>10|55296),y=56320|1023&y),y=j+c(y))):C!==p&&k(4,A);y?(Q(),_=X(),U=T-1,G+=T-E+1,K.push(y),N=X(),N.offset++,D&&D.call(H,y,{start:_,end:N},e.slice(E-1,T)),_=N):(h=e.slice(E-1,T),Y+=h,G+=h.length,U=T-1)}else 10===b&&(Z++,V++,G=0),b==b?(Y+=c(b),G++):Q();return K.join("");function X(){return{line:Z,column:G,offset:U+(F.offset||0)}}function Q(){Y&&(K.push(Y),M&&M.call(B,Y,{start:_,end:X()}),Y="")}}(e,o)};var d={}.hasOwnProperty,c=String.fromCharCode,u=Function.prototype,h={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},p="named",m="hexadecimal",f="decimal",g={};g[m]=16,g[f]=10;var x={};x[p]=l,x[f]=a,x[m]=o;var v={};v[1]="Named character references must be terminated by a semicolon",v[2]="Numeric character references must be terminated by a semicolon",v[3]="Named character references cannot be empty",v[4]="Numeric character references cannot be empty",v[5]="Named character references must be known",v[6]="Numeric character references cannot be disallowed",v[7]="Numeric character references cannot be outside the permissible Unicode range"},3921:function(e,t,n){var i=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,i={},r={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=c.reach));k+=w.value.length,w=w.next){var I,j=w.value;if(n.length>t.length)return;if(!(j instanceof a)){var P=1;if(x){if(!(I=o(y,k,t,g))||I.index>=t.length)break;var S=I.index,E=I.index+I[0].length,C=k;for(C+=w.value.length;S>=C;)C+=(w=w.next).value.length;if(C-=w.value.length,k=C,w.value instanceof a)continue;for(var z=w;z!==n.tail&&(Cc.reach&&(c.reach=T);var L=w.prev;if(N&&(L=s(n,L,N),k+=N.length),function(e,t,n){for(var i=t.next,r=0;r1){var O={cause:u+","+p,reach:T};e(t,n,i,w.prev,k,O),c&&O.reach>c.reach&&(c.reach=O.reach)}}}}}}(e,d,t,d.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(d)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var i,a=0;i=n[a++];)i(t)}},Token:a};function a(e,t,n,i){this.type=e,this.content=t,this.alias=n,this.length=0|(i||"").length}function o(e,t,n,i){e.lastIndex=t;var r=e.exec(n);if(r&&i&&r[1]){var a=r[1].length;r.index+=a,r[0]=r[0].slice(a)}return r}e.Prism=r,a.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var i="";return t.forEach(function(t){i+=e(t,n)}),i}var a={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(a.classes,o):a.classes.push(o)),r.hooks.run("wrap",a);var l="";for(var s in a.attributes)l+=" "+s+'="'+(a.attributes[s]||"").replace(/"/g,""")+'"';return"<"+a.tag+' class="'+a.classes.join(" ")+'"'+l+">"+a.content+""};function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function s(e,t,n){var i=t.next,r={value:n,prev:t,next:i};return t.next=r,i.prev=r,e.length++,r}if(!e.document)return e.addEventListener?(!r.disableWorkerMessageHandler&&e.addEventListener("message",function(t){var n=JSON.parse(t.data),i=n.language,a=n.code,o=n.immediateClose;e.postMessage(r.highlight(a,r.languages[i],i)),o&&e.close()},!1),r):r;var d=r.util.currentScript();function c(){!r.manual&&r.highlightAll()}if(d&&(r.filename=d.src,d.hasAttribute("data-manual")&&(r.manual=!0)),!r.manual){var u=document.readyState;"loading"===u||"interactive"===u&&d&&d.defer?document.addEventListener("DOMContentLoaded",c):window.requestAnimationFrame?window.requestAnimationFrame(c):window.setTimeout(c,16)}return r}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=i),void 0!==n.g&&(n.g.Prism=i)},52504:function(e,t,n){"use strict";var i=n("62265");function r(){}function a(){}a.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,a,o){if(o!==i){var l=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:r};return n.PropTypes=n,n}},23698:function(e,t,n){e.exports=n("52504")()},62265:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},62616:function(e,t,n){"use strict";var i=n("22275"),r=n("6492"),a=n("23811"),o="data";e.exports=function(e,t){var n=i(t),h=t,p=a;return n in e.normal?e.property[e.normal[n]]:(n.length>4&&n.slice(0,4)===o&&l.test(t)&&("-"===t.charAt(4)?h=function(e){var t=e.slice(5).replace(s,u);return o+t.charAt(0).toUpperCase()+t.slice(1)}(t):t=function(e){var t=e.slice(4);return s.test(t)?e:("-"!==(t=t.replace(d,c)).charAt(0)&&(t="-"+t),o+t)}(t),p=r),new p(h,t))};var l=/^data[-\w.:]+$/i,s=/-[a-z]/g,d=/[A-Z]/g;function c(e){return"-"+e.toLowerCase()}function u(e){return e.charAt(1).toUpperCase()}},46093:function(e,t,n){"use strict";var i=n("96399"),r=n("59283"),a=n("87430"),o=n("62376"),l=n("35531"),s=n("11006");e.exports=i([a,r,o,l,s])},35531:function(e,t,n){"use strict";var i=n("13077"),r=n("79469"),a=i.booleanish,o=i.number,l=i.spaceSeparated;e.exports=r({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:a,ariaAutoComplete:null,ariaBusy:a,ariaChecked:a,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:l,ariaCurrent:null,ariaDescribedBy:l,ariaDetails:null,ariaDisabled:a,ariaDropEffect:l,ariaErrorMessage:null,ariaExpanded:a,ariaFlowTo:l,ariaGrabbed:a,ariaHasPopup:null,ariaHidden:a,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:l,ariaLevel:o,ariaLive:null,ariaModal:a,ariaMultiLine:a,ariaMultiSelectable:a,ariaOrientation:null,ariaOwns:l,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:a,ariaReadOnly:a,ariaRelevant:null,ariaRequired:a,ariaRoleDescription:l,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:a,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}})},11006:function(e,t,n){"use strict";var i=n("13077"),r=n("79469"),a=n("12561"),o=i.boolean,l=i.overloadedBoolean,s=i.booleanish,d=i.number,c=i.spaceSeparated,u=i.commaSeparated;e.exports=r({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:a,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:u,acceptCharset:c,accessKey:c,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:c,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:c,cols:d,colSpan:null,content:null,contentEditable:s,controls:o,controlsList:c,coords:d|u,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:l,draggable:s,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:c,height:d,hidden:o,high:d,href:null,hrefLang:null,htmlFor:c,httpEquiv:c,id:null,imageSizes:null,imageSrcSet:u,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:c,itemRef:c,itemScope:o,itemType:c,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:o,low:d,manifest:null,max:null,maxLength:d,media:null,method:null,min:null,minLength:d,multiple:o,muted:o,name:null,nonce:null,noModule:o,noValidate:o,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:o,optimum:d,pattern:null,ping:c,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:c,required:o,reversed:o,rows:d,rowSpan:d,sandbox:c,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:d,sizes:null,slot:null,span:d,spellCheck:s,src:null,srcDoc:null,srcLang:null,srcSet:u,start:d,step:null,style:null,tabIndex:d,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:s,width:d,wrap:null,align:null,aLink:null,archive:c,axis:null,background:null,bgColor:null,border:d,borderColor:null,bottomMargin:d,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:o,declare:o,event:null,face:null,frame:null,frameBorder:null,hSpace:d,leftMargin:d,link:null,longDesc:null,lowSrc:null,marginHeight:d,marginWidth:d,noResize:o,noHref:o,noShade:o,noWrap:o,object:null,profile:null,prompt:null,rev:null,rightMargin:d,rules:null,scheme:null,scrolling:s,standby:null,summary:null,text:null,topMargin:d,valueType:null,version:null,vAlign:null,vLink:null,vSpace:d,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:o,disableRemotePlayback:o,prefix:null,property:null,results:d,security:null,unselectable:null}})},12561:function(e,t,n){"use strict";var i=n("56073");e.exports=function(e,t){return i(e,t.toLowerCase())}},56073:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},79469:function(e,t,n){"use strict";var i=n("22275"),r=n("23673"),a=n("6492");e.exports=function(e){var t,n,o=e.space,l=e.mustUseProperty||[],s=e.attributes||{},d=e.properties,c=e.transform,u={},h={};for(t in d)n=new a(t,c(s,t),d[t],o),-1!==l.indexOf(t)&&(n.mustUseProperty=!0),u[t]=n,h[i(t)]=t,h[i(n.attribute)]=t;return new r(u,h,o)}},6492:function(e,t,n){"use strict";var i=n("23811"),r=n("13077");e.exports=l,l.prototype=new i,l.prototype.defined=!0;var a=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=a.length;function l(e,t,n,l){var s,d=-1;for(function(e,t,n){n&&(e[t]=n)}(this,"space",l),i.call(this,e,t);++d=0||(r[n]=e[n]);return r}var x={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},v={rel:["amphtml","canonical","alternate"]},b={type:["application/ld+json"]},y={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},w=Object.keys(x).map(function(e){return x[e]}),k={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},I=Object.keys(k).reduce(function(e,t){return e[k[t]]=t,e},{}),j=function(e,t){for(var n=e.length-1;n>=0;n-=1){var i=e[n];if(Object.prototype.hasOwnProperty.call(i,t))return i[t]}return null},P=function(e){var t=j(e,x.TITLE),n=j(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,function(){return t});var i=j(e,"defaultTitle");return t||i||void 0},S=function(e,t){return t.filter(function(t){return void 0!==t[e]}).map(function(t){return t[e]}).reduce(function(e,t){return p({},e,t)},{})},E=function(e,t,n){var i={};return n.filter(function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)}).map(function(t){return t[e]}).reverse().reduce(function(e,n){var r={};n.filter(function(e){for(var n,a=Object.keys(e),o=0;o/g,">").replace(/"/g,""").replace(/'/g,"'")},L=function(e){return Object.keys(e).reduce(function(t,n){var i=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+i:i},"")},O=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce(function(t,n){return t[k[n]||n]=e[n],t},t)},M=function(e,t){return t.map(function(t,n){var i,a=((i={key:n})["data-rh"]=!0,i);return Object.keys(t).forEach(function(e){var n=k[e]||e;"innerHTML"===n||"cssText"===n?a.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:a[n]=t[e]}),r().createElement(e,a)})},D=function(e,t,n){switch(e){case x.TITLE:return{toComponent:function(){var e,n,i,a;return n=t.titleAttributes,(i={key:e=t.title})["data-rh"]=!0,a=O(n,i),[r().createElement(x.TITLE,a,e)]},toString:function(){var i,r,a,o,l,s;return i=e,r=t.title,a=t.titleAttributes,o=n,l=L(a),s=z(r),l?"<"+i+' data-rh="true" '+l+">"+T(s,o)+"":"<"+i+' data-rh="true">'+T(s,o)+""}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return O(t)},toString:function(){return L(t)}};default:return{toComponent:function(){return M(e,t)},toString:function(){var i,r,a;return i=e,r=t,a=n,r.reduce(function(e,t){var n=Object.keys(t).filter(function(e){return!("innerHTML"===e||"cssText"===e)}).reduce(function(e,n){var i=void 0===t[n]?n:n+'="'+T(t[n],a)+'"';return e?e+" "+i:i},""),r=t.innerHTML||t.cssText||"",o=-1===A.indexOf(i);return e+"<"+i+' data-rh="true" '+n+(o?"/>":">"+r+"")},"")}}}},R=function(e){var t=e.baseTag,n=e.bodyAttributes,i=e.encode,r=e.htmlAttributes,a=e.noscriptTags,o=e.styleTags,l=e.title,s=e.titleAttributes,d=e.linkTags,c=e.metaTags,u=e.scriptTags,h={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var p,m,f,g,w,k,I,j=(m=(p=e).linkTags,f=p.scriptTags,g=p.encode,w=_(p.metaTags,y),k=_(m,v),I=_(f,b),{priorityMethods:{toComponent:function(){return[].concat(M(x.META,w.priority),M(x.LINK,k.priority),M(x.SCRIPT,I.priority))},toString:function(){return D(x.META,w.priority,g)+" "+D(x.LINK,k.priority,g)+" "+D(x.SCRIPT,I.priority,g)}},metaTags:w.default,linkTags:k.default,scriptTags:I.default});h=j.priorityMethods,d=j.linkTags,c=j.metaTags,u=j.scriptTags}return{priority:h,base:D(x.BASE,t,i),bodyAttributes:D("bodyAttributes",n,i),htmlAttributes:D("htmlAttributes",r,i),link:D(x.LINK,d,i),meta:D(x.META,c,i),noscript:D(x.NOSCRIPT,a,i),script:D(x.SCRIPT,u,i),style:D(x.STYLE,o,i),title:D(x.TITLE,{title:void 0===l?"":l,titleAttributes:s},i)}},B=[],H=function(e,t){var n=this;void 0===t&&(t="undefined"!=typeof document),this.instances=[],this.value={setHelmet:function(e){n.context.helmet=e},helmetInstances:{get:function(){return n.canUseDOM?B:n.instances},add:function(e){(n.canUseDOM?B:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?B:n.instances).indexOf(e);(n.canUseDOM?B:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=R({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},$=r().createContext({}),F=o().shape({setHelmet:o().func,helmetInstances:o().shape({get:o().func,add:o().func,remove:o().func})}),W=function(e){function t(n){var i;return(i=e.call(this,n)||this).helmetData=new H(i.props.context,t.canUseDOM),i}return m(t,e),t.prototype.render=function(){return r().createElement($.Provider,{value:this.helmetData.value},this.props.children)},t}(i.Component);W.canUseDOM="undefined"!=typeof document,W.propTypes={context:o().shape({helmet:o().shape()}),children:o().node.isRequired},W.defaultProps={context:{}},W.displayName="HelmetProvider";var q=function(e,t){var n,i=document.head||document.querySelector(x.HEAD),r=i.querySelectorAll(e+"[data-rh]"),a=[].slice.call(r),o=[];return t&&t.length&&t.forEach(function(t){var i=document.createElement(e);for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&("innerHTML"===r?i.innerHTML=t.innerHTML:"cssText"===r?i.styleSheet?i.styleSheet.cssText=t.cssText:i.appendChild(document.createTextNode(t.cssText)):i.setAttribute(r,void 0===t[r]?"":t[r]));i.setAttribute("data-rh","true"),a.some(function(e,t){return n=t,i.isEqualNode(e)})?a.splice(n,1):o.push(i)}),a.forEach(function(e){return e.parentNode.removeChild(e)}),o.forEach(function(e){return i.appendChild(e)}),{oldTags:a,newTags:o}},U=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var i=n.getAttribute("data-rh"),r=i?i.split(","):[],a=[].concat(r),o=Object.keys(t),l=0;l=0;u-=1)n.removeAttribute(a[u]);r.length===a.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==o.join(",")&&n.setAttribute("data-rh",o.join(","))}},V=function(e,t){var n,i,r=e.baseTag,a=e.htmlAttributes,o=e.linkTags,l=e.metaTags,s=e.noscriptTags,d=e.onChangeClientState,c=e.scriptTags,u=e.styleTags,h=e.title,p=e.titleAttributes;U(x.BODY,e.bodyAttributes),U(x.HTML,a),n=h,i=p,void 0!==n&&document.title!==n&&(document.title=z(n)),U(x.TITLE,i);var m={baseTag:q(x.BASE,r),linkTags:q(x.LINK,o),metaTags:q(x.META,l),noscriptTags:q(x.NOSCRIPT,s),scriptTags:q(x.SCRIPT,c),styleTags:q(x.STYLE,u)},f={},g={};Object.keys(m).forEach(function(e){var t=m[e],n=t.newTags,i=t.oldTags;n.length&&(f[e]=n),i.length&&(g[e]=m[e].oldTags)}),t&&t(),d(e,f,g)},G=null,Z=function(e){function t(){for(var t,n=arguments.length,i=Array(n),r=0;r elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(e){var t,n=e.child,i=e.arrayTypeChildren;return p({},i,((t={})[n.type]=[].concat(i[n.type]||[],[p({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.mapObjectTypeChildren=function(e){var t,n,i=e.child,r=e.newProps,a=e.newChildProps,o=e.nestedChildren;switch(i.type){case x.TITLE:return p({},r,((t={})[i.type]=o,t.titleAttributes=p({},a),t));case x.BODY:return p({},r,{bodyAttributes:p({},a)});case x.HTML:return p({},r,{htmlAttributes:p({},a)});default:return p({},r,((n={})[i.type]=p({},a),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=p({},t);return Object.keys(e).forEach(function(t){var i;n=p({},n,((i={})[t]=e[t],i))}),n},n.warnOnInvalidChildren=function(e,t){return c()(w.some(function(t){return e.type===t}),"function"==typeof e.type?"You may be attempting to nest components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+w.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),c()(!t||"string"==typeof t||Array.isArray(t)&&!t.some(function(e){return"string"!=typeof e}),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``} ) Refer to our API for more information."),!0},n.mapChildrenToProps=function(e,t){var n=this,i={};return r().Children.forEach(e,function(e){if(e&&e.props){var r=e.props,a=r.children,o=g(r,Y),l=Object.keys(o).reduce(function(e,t){return e[I[t]||t]=o[t],e},{}),s=e.type;switch("symbol"==typeof s?s=s.toString():n.warnOnInvalidChildren(e,a),s){case x.FRAGMENT:t=n.mapChildrenToProps(a,t);break;case x.LINK:case x.META:case x.NOSCRIPT:case x.SCRIPT:case x.STYLE:i=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:i,newChildProps:l,nestedChildren:a});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:l,nestedChildren:a})}}}),this.mapArrayTypeChildrenToProps(i,t)},n.render=function(){var e=this.props,t=e.children,n=g(e,K),i=p({},n),a=n.helmetData;return t&&(i=this.mapChildrenToProps(t,i)),!a||a instanceof H||(a=new H(a.context,a.instances)),a?r().createElement(Z,p({},i,{context:a.value,helmetData:void 0})):r().createElement($.Consumer,null,function(e){return r().createElement(Z,p({},i,{context:e}))})},t}(i.Component);X.propTypes={base:o().object,bodyAttributes:o().object,children:o().oneOfType([o().arrayOf(o().node),o().node]),defaultTitle:o().string,defer:o().bool,encodeSpecialCharacters:o().bool,htmlAttributes:o().object,link:o().arrayOf(o().object),meta:o().arrayOf(o().object),noscript:o().arrayOf(o().object),onChangeClientState:o().func,script:o().arrayOf(o().object),style:o().arrayOf(o().object),title:o().string,titleAttributes:o().object,titleTemplate:o().string,prioritizeSeoTags:o().bool,helmetData:o().object},X.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},X.displayName="Helmet"},22897:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lazyWithPreload=void 0;var i=n("2363");function r(e){var t,n,r=(0,i.lazy)(e),a=(0,i.forwardRef)(function(e,n){var a=(0,i.useRef)(null!=t?t:r);return(0,i.createElement)(a.current,Object.assign(n?{ref:n}:{},e))});return a.preload=function(){return!n&&(n=e().then(function(e){return t=e.default})),n},a}t.lazyWithPreload=r,t.default=r},68965:function(e,t,n){"use strict";function i(e,t){return -1!==e.listLanguages().indexOf(t)}n.r(t),n.d(t,{default:function(){return i}})},51414:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return u}});var i=n("27141"),r=n("99553"),a=n("2363"),o=n.n(a);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function s(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return(function(e){if(0===e.length||1===e.length)return e;var t,n,i=e.join(".");if(!d[i]){;d[i]=0===(n=(t=e).length)||1===n?t:2===n?[t[0],t[1],"".concat(t[0],".").concat(t[1]),"".concat(t[1],".").concat(t[0])]:3===n?[t[0],t[1],t[2],"".concat(t[0],".").concat(t[1]),"".concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[0]),"".concat(t[1],".").concat(t[2]),"".concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[1],".").concat(t[0])]:n>=4?[t[0],t[1],t[2],t[3],"".concat(t[0],".").concat(t[1]),"".concat(t[0],".").concat(t[2]),"".concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[0]),"".concat(t[1],".").concat(t[2]),"".concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[1]),"".concat(t[2],".").concat(t[3]),"".concat(t[3],".").concat(t[0]),"".concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[0]),"".concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[1],".").concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[2],".").concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[3],".").concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[2],".").concat(t[1],".").concat(t[0])]:void 0}return d[i]})(e.filter(function(e){return"token"!==e})).reduce(function(e,t){return s(s({},e),n[t])},t)}(c.className,Object.assign({},c.style,void 0===r?{}:r),n)})}else v=s(s({},c),{},{className:c.className.join(" ")});var I=b(t.children);return o().createElement(p,(0,i.default)({key:l},v),I)}}},40458:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return y}});var i=n("86608"),r=n("31476"),a=n("99553"),o=n("2363"),l=n.n(o),s=n("51414"),d=n("68965"),c=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function h(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:[],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=0;a2&&void 0!==arguments[2]?arguments[2]:[];return t||o.length>0?function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return x({children:e,lineNumber:t,lineNumberStyle:s,largestLineNumber:l,showInlineLineNumbers:a,lineProps:n,className:r,showLineNumbers:i,wrapLongLines:d})}(e,r,o):function(e,t){if(i&&t&&a){var n=g(s,t,l);e.unshift(f(t,n))}return e}(e,r)}for(;v>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:i},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:i},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:i.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:i.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var r=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=i.variable[1].inside,o=0;o]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="clike",t.aliases=[]},17520:function(e){"use strict";function t(e){(function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))})(e)}e.exports=t,t.displayName="css",t.aliases=[]},63610:function(e){"use strict";function t(e){(function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach(function(n){var i=t[n],r=[];!/^\w+$/.test(n)&&r.push(/\w+/.exec(n)[0]),"diff"===n&&r.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+i+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:r,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}}),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})})(e)}e.exports=t,t.displayName="diff",t.aliases=[]},59551:function(e){"use strict";function t(e){e.languages.javascript=e.languages.extend("clike",{"class-name":[e.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript}e.exports=t,t.displayName="javascript",t.aliases=["js"]},7091:function(e){"use strict";function t(e){e.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},e.languages.webmanifest=e.languages.json}e.exports=t,t.displayName="json",t.aliases=["webmanifest"]},17942:function(e){"use strict";function t(e){(function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,i=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,r=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function a(e,t){return RegExp(e=e.replace(//g,function(){return n}).replace(//g,function(){return i}).replace(//g,function(){return r}),t)}r=a(r).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=a(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:a(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:a(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var o=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(o).join(""):""},l=function(t){for(var n=[],i=0;i0&&n[n.length-1].tagName===o(r.content[0].content[1])&&n.pop():"/>"===r.content[r.content.length-1].content||n.push({tagName:o(r.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===r.type&&"{"===r.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===r.type&&"}"===r.content?n[n.length-1].openedBraces--:a=!0),(a||"string"==typeof r)&&n.length>0&&0===n[n.length-1].openedBraces){var s=o(r);i0&&("string"==typeof t[i-1]||"plain-text"===t[i-1].type)&&(s=o(t[i-1])+s,t.splice(i-1,1),i--),t[i]=new e.Token("plain-text",s,null,s)}r.content&&"string"!=typeof r.content&&l(r.content)}};e.hooks.add("after-tokenize",function(e){("jsx"===e.language||"tsx"===e.language)&&l(e.tokens)})})(e)}e.exports=t,t.displayName="jsx",t.aliases=[]},89693:function(e){"use strict";function t(e){e.languages.less=e.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),e.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}e.exports=t,t.displayName="less",t.aliases=[]},19463:function(e){"use strict";function t(e){(function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(//g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var i=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,r=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return i}),a=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+r+a+"(?:"+r+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+r+a+")(?:"+r+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(i),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+r+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+r+"$"),inside:{"table-header":{pattern:RegExp(i),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(t){["url","bold","italic","strike","code-snippet"].forEach(function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])})}),e.hooks.add("after-tokenize",function(e){("markdown"===e.language||"md"===e.language)&&function e(t){if(t&&"string"!=typeof t)for(var n=0,i=t.length;n",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown})(e)}e.exports=t,t.displayName="markdown",t.aliases=["md"]},47264:function(e){"use strict";function t(e){e.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.value.replace(/&/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(t,n){var i={};i["language-"+n]={pattern:/(^$)/i,lookbehind:!0,inside:e.languages[n]},i.cdata=/^$/i;var r={"included-cdata":{pattern://i,inside:i}};r["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var a={};a[t]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:r},e.languages.insertBefore("markup","cdata",a)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}e.exports=t,t.displayName="markup",t.aliases=["html","mathml","svg","xml","ssml","atom","rss"]},31337:function(e){"use strict";function t(e){e.languages.scss=e.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),e.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),e.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),e.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),e.languages.scss.atrule.inside.rest=e.languages.scss}e.exports=t,t.displayName="scss",t.aliases=[]},89455:function(e,t,n){"use strict";var i=n("17942"),r=n("63847");function a(e){e.register(i),e.register(r),function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var n=e.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}(e)}e.exports=a,a.displayName="tsx",a.aliases=[]},63847:function(e){"use strict";function t(e){(function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript})(e)}e.exports=t,t.displayName="typescript",t.aliases=["ts"]},14646:function(e){"use strict";function t(e){(function(e){function t(t,n){e.languages[t]&&e.languages.insertBefore(t,"comment",{"doc-comment":n})}var n=e.languages.markup.tag,i={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:n}};t("csharp",i),t("fsharp",i),t("vbnet",{pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:n}})})(e)}e.exports=t,t.displayName="xmlDoc",t.aliases=[]},70660:function(e){"use strict";function t(e){(function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,i="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",r=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),a=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function o(e,t){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return i}).replace(/<>/g,function(){return e}),t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return i})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return i}).replace(/<>/g,function(){return"(?:"+r+"|"+a+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:o(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:o(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:o(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:o(a),lookbehind:!0,greedy:!0},number:{pattern:o(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml})(e)}e.exports=t,t.displayName="yaml",t.aliases=["yml"]},65241:function(e){e.exports=function(e,t,n,i){var r=n?n.call(i,e,t):void 0;if(void 0!==r)return!!r;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),o=Object.keys(t);if(a.length!==o.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(t),s=0;s(e.Show="1",e.Hide="0",e))(h||{});async function p(e){let{routes:t}=n("99593"),i=(0,a.matchRoutes)(t,e);if(!i)return{siteData:r.default,page:{pagePath:"",pageType:"404",routePath:"/404",lang:r.default.lang||"",frontmatter:{},title:"404",toc:[],version:"",_filepath:"",_relativePath:""}};{var o;let t=i[0].route,n=await t.preload(),l=(0,d.cleanUrl)(i[0].route.filePath),s=r.default.pages.find(t=>{let n=e=>e.replace(/\/$/,"").toLowerCase();return(0,a.isEqualPath)(n(t.routePath),n(e))}),c=((o=n.default.__RSPRESS_PAGE_META)===null||void 0===o?void 0:o[encodeURIComponent(l)])||{},{toc:u=[],title:h="",frontmatter:p={}}=d.MDX_REGEXP.test(t.filePath)?c:n;return{siteData:r.default,page:{pagePath:l,...s,pageType:(null==p?void 0:p.pageType)||"doc",title:h,frontmatter:p,toc:u}}}}function m(e){let{helmetContext:t}=e,{setData:n,data:r}=(0,l.useContext)(a.DataContext),d=r.page.frontmatter||{},{pathname:h,search:m}=(0,a.useLocation)(),f=new URLSearchParams(m),g="globalUIComponents",x=!1===d[g]||"0"===f.get(g);return(0,l.useLayoutEffect)(()=>{(async function e(){try{let e=await p((0,a.normalizeRoutePath)(h));n(e)}catch(e){console.log(e)}})()},[h,n]),(0,i.jsxs)(o.HelmetProvider,{context:t,children:[(0,i.jsx)(u.Layout,{}),!x&&c.default.map((e,t)=>{if(!Array.isArray(e))return s().createElement(e,{key:t});{let[n,i]=e;return s().createElement(n,{key:t,...i})}})]})}},5565:function(e,t,n){"use strict";n.r(t),n.d(t,{renderInBrowser:function(){return u}});var i=n("39980"),r=n("2363"),a=n("56195"),o=n("13328"),l=n("59350"),s=n("60355");let d=o.default.ssg,{default:c}=n("92919");async function u(){let e=document.getElementById("root"),t=async()=>{let e=await (0,s.initPageData)((0,l.normalizeRoutePath)(window.location.pathname));return function(){let[t,n]=(0,r.useState)(e),[a,o]=(0,r.useState)("light");return(0,i.jsx)(l.ThemeContext.Provider,{value:{theme:a,setTheme:o},children:(0,i.jsx)(l.DataContext.Provider,{value:{data:t,setData:n},children:(0,i.jsx)(l.BrowserRouter,{children:(0,i.jsx)(s.App,{})})})})}},o=await t();{let{createRoot:t,hydrateRoot:r}=n("30417");(0,a.isProduction)()&&d?r(e,(0,i.jsx)(o,{})):t(e).render((0,i.jsx)(o,{}))}}u().then(()=>{c.setup()})},20268:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i.default}});var i=n("44394");n.es(i,t)},6772:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return o}});var i=n("59350"),r=n("60366"),a=n("2363");function o(e){let{pathname:t}=(0,i.useLocation)(),{selector:n=".rspress-doc img",options:o={}}=e;return(0,a.useEffect)(()=>{setTimeout(()=>{let e=document.querySelectorAll(n);(0,r.default)(e,o)},100)},[t]),null}n("98349")},74930:function(e,t,n){"use strict";n.r(t),n.d(t,{Link:function(){return u}});var i=n("39980");n("2363");var r=n("59350"),a=n("47841"),o=n.n(a),l=n("99593"),s=n("56195"),d=n("3713"),c=n("26281");function u(e){let{href:t="/",children:n,className:a="",onNavigate:u,...h}=e,p=(0,s.isExternalUrl)(t),m=p?"_blank":"",f=p?"noopener noreferrer":void 0,g=p?t:(0,r.withBase)((0,r.normalizeHrefInRuntime)(t)),x=(0,r.useNavigate)(),{pathname:v}=(0,r.useLocation)(),b=(0,r.isEqualPath)(v,g),y=async e=>{if(0!==e.button||e.currentTarget.target&&"_self"!==e.currentTarget.target||e.metaKey||e.shiftKey||e.altKey||e.ctrlKey)return;e.preventDefault();let t=g.split("#")[1];if(!p&&b&&t){let e=document.getElementById(t);e&&(0,c.scrollToTarget)(e,!0);return}if(!b){let e=(0,r.matchRoutes)(l.routes,(0,r.normalizeRoutePath)(g));if(null==e?void 0:e.length){let t=setTimeout(()=>{o().start()},200);await e[0].route.preload(),clearTimeout(t),o().done()}null==u||u(),x(g,{replace:!1})}};return p?(0,i.jsx)("a",{...h,href:g,target:m,rel:f,className:`${d.link} ${a}`,children:n}):(0,i.jsx)("a",{...h,className:`${d.link} ${a} cursor-pointer`,rel:f,target:m,onClick:y,href:g,children:n})}o().configure({showSpinner:!1})},26281:function(e,t,n){"use strict";n.r(t),n.d(t,{scrollToTarget:function(){return r.scrollToTarget},useLocaleSiteData:function(){return i.useLocaleSiteData},usePathUtils:function(){return a.usePathUtils}});var i=n("71786"),r=n("15559"),a=n("99183"),o=n("15372");n.es(o,t)},15559:function(e,t,n){"use strict";n.r(t),n.d(t,{DEFAULT_NAV_HEIGHT:function(){return i},scrollToTarget:function(){return r}}),n("59186"),n("78394"),n("64667"),n("6868"),n("4331");let i=72;function r(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i,r=parseInt(window.getComputedStyle(e).paddingTop,10),a=window.scrollY+e.getBoundingClientRect().top-n-r;window.scrollTo({left:0,top:Math.round(a),...t?{behavior:"smooth"}:{}})}},5146:function(e,t,n){"use strict";n.r(t),n.d(t,{useEnableNav:function(){return a}});var i=n("2363"),r=n("59350");function a(){let{siteData:{themeConfig:e},page:{frontmatter:t={}}}=(0,r.usePageData)(),n=((null==t?void 0:t.navbar)??!0)&&(null==e?void 0:e.hideNavbar)!=="always",[a,o]=(0,i.useState)(n);return[a,o]}},71786:function(e,t,n){"use strict";n.r(t),n.d(t,{useLocaleSiteData:function(){return r}}),n("81660"),n("71874"),n("64667");var i=n("59350");function r(){var e;let t=(0,i.usePageData)(),{page:{lang:n}}=t,r=(null==t?void 0:(e=t.siteData)===null||void 0===e?void 0:e.themeConfig)??{},a=t.siteData.lang??"",o=null==r?void 0:r.locales;return o&&0!==o.length?{...o.find(e=>e.lang===n),langRoutePrefix:n===a?"/":n}:{nav:r.nav,sidebar:r.sidebar,prevPageText:r.prevPageText,nextPageText:r.nextPageText,sourceCodeText:r.sourceCodeText,searchPlaceholderText:r.searchPlaceholderText}}},168:function(e,t,n){"use strict";n.r(t),n.d(t,{useNavData:function(){return a}}),n("2363");var i=n("59350"),r=n("71786");function a(){let{nav:e}=(0,r.useLocaleSiteData)(),t=(0,i.useVersion)();return Array.isArray(e)?e:[...e[t.length>0?t:"default"]]}},99183:function(e,t,n){"use strict";n.r(t),n.d(t,{usePathUtils:function(){return a}}),n("59186"),n("78394"),n("64667");var i=n("56195"),r=n("59350");function a(){let e=(0,r.useLang)(),t=(0,r.useVersion)(),n=(0,r.usePageData)(),a=n.siteData.lang,o=n.siteData.multiVersion.default;return{normalizeLinkHref:n=>{let l=n;if(!(a||o)||(0,i.isExternalUrl)(l)||l.startsWith("#"))return l;{let n=(l=(0,r.removeBase)(l)).split("/").filter(Boolean),i="",s="",d="";return o&&(t!==o?(i=t,n[0]===t&&n.shift()):n[0]===o&&n.shift()),a&&(e!==a?(s=e,n[0]===e&&n.shift()):n[0]===a&&n.shift()),d=n.join("/"),(0,r.normalizeHrefInRuntime)((0,r.withBase)([i,s,d].filter(Boolean).join("/")))}}}}},56159:function(e,t,n){"use strict";n.r(t),n.d(t,{useRedirect4FirstVisit:function(){return a}}),n("6868"),n("4331"),n("20964");var i=n("59350"),r=n("2363");function a(){let{siteData:e,page:t}=(0,i.usePageData)(),n=e.lang||"",a=Object.values(e.themeConfig.locales||{}).map(e=>e.lang)||[],o=t.lang;(0,r.useEffect)(()=>{if(!n)return;let{pathname:e}=window.location,t=(0,i.removeBase)(e),r="rspress-visited";if(localStorage.getItem(r))return;localStorage.setItem(r,"1");let l=window.navigator.language.split("-")[0];a.includes(l)&&l!==o&&(l===n?window.location.replace(e.replace(`/${o}`,"")):o===n?window.location.replace((0,i.withBase)(`/${l}${t}`)):window.location.replace(e.replace(`/${o}`,`/${l}`)))},[])}},74830:function(e,t,n){"use strict";n.r(t),n.d(t,{useUISwitch:function(){return s}}),n("72104"),n("1676"),n("50882");var i,r=n("2363"),a=n("59350"),o=n("5146"),l=n("71786");function s(){let{page:e,siteData:t}=(0,a.usePageData)(),{frontmatter:n}=e,{themeConfig:i}=t,s=(0,l.useLocaleSiteData)(),d=(0,a.useLocation)(),c=(null==n?void 0:n.overview)??!1,u=()=>((null==n?void 0:n.outline)??(null==i?void 0:i.outline)??("undefined"==typeof window||window.top===window.self))&&!c,[h,p]=(0,o.useEnableNav)(),[m,f]=(0,r.useState)(u()),[g,x]=(0,r.useState)((null==n?void 0:n.footer)??!0),v=s.sidebar||{},b=(null==n?void 0:n.sidebar)!==!1&&Object.keys(v).length>0;return(0,r.useEffect)(()=>{f(u())},[e,t]),(0,r.useEffect)(()=>{let e=new URLSearchParams(d.search),t=document.documentElement.style,n=t.getPropertyValue("--rp-sidebar-width"),i=t.getPropertyValue("--rp-aside-width"),r=e.get("navbar"),a=e.get("sidebar"),o=e.get("outline"),l=e.get("footer");return"0"===r&&p(!1),"0"===a&&document.documentElement.style.setProperty("--rp-sidebar-width","0px"),"0"===o&&document.documentElement.style.setProperty("--rp-aside-width","0px"),"0"===l&&x(!1),()=>{document.documentElement.style.setProperty("--rp-sidebar-width",n),document.documentElement.style.setProperty("--rp-aside-width",i),p(h),x(g)}},[d.search]),{showAside:m,showNavbar:h,showSidebar:b,showDocFooter:g}}(function(e){e.Show="1",e.Hide="0"})(i||(i={}))},15372:function(e,t,n){"use strict";n.r(t),n.d(t,{getLogoUrl:function(){return l},renderHtmlOrText:function(){return s}}),n("2363");var i=n("93371"),r=n.n(i),a=n("49555"),o=n("71082");function l(e,t){return"string"==typeof e?e:"dark"===t?e.dark:e.light}function s(e){return e?(0,o.isNumber)(e)?e:(0,a.default)(e)?r()(e):e:""}},83197:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i.default}});var i=n("20268");n.es(i,t)},49915:function(e,t,n){"use strict";n.r(t);var i=n("6772");t.default=[[i.default,{}]]},16288:function(e,t,n){"use strict";n.r(t);var i=n("68450"),r=n("78036"),a=n("35009"),o=n("69611"),l=n("41143"),s=n("51088"),d=n("89648"),c=n("94744"),u=n("12417"),h=n("61691"),p=n("29027"),m=n("5646");t.default={js:i.default,ts:r.default,jsx:a.default,tsx:a.default,json:o.default,css:l.default,scss:s.default,less:d.default,xml:c.default,diff:u.default,yaml:h.default,md:p.default,mdx:a.default,bash:m.default}},99593:function(e,t,n){"use strict";n.r(t),n.d(t,{routes:function(){return eQ}});var i=n("2363"),r=n.n(i),a=n("22897");let o=(0,a.lazyWithPreload)(()=>n.e("5765").then(n.bind(n,"98501"))),l=(0,a.lazyWithPreload)(()=>n.e("7626").then(n.bind(n,"12784"))),s=(0,a.lazyWithPreload)(()=>n.e("7146").then(n.bind(n,"14530"))),d=(0,a.lazyWithPreload)(()=>n.e("3854").then(n.bind(n,"95791"))),c=(0,a.lazyWithPreload)(()=>n.e("5671").then(n.bind(n,"79470"))),u=(0,a.lazyWithPreload)(()=>n.e("7474").then(n.bind(n,"40152"))),h=(0,a.lazyWithPreload)(()=>n.e("9665").then(n.bind(n,"45318"))),p=(0,a.lazyWithPreload)(()=>n.e("161").then(n.bind(n,"63712"))),m=(0,a.lazyWithPreload)(()=>n.e("5217").then(n.bind(n,"48090"))),f=(0,a.lazyWithPreload)(()=>n.e("8113").then(n.bind(n,"49922"))),g=(0,a.lazyWithPreload)(()=>n.e("9143").then(n.bind(n,"9622"))),x=(0,a.lazyWithPreload)(()=>n.e("845").then(n.bind(n,"55186"))),v=(0,a.lazyWithPreload)(()=>n.e("2230").then(n.bind(n,"27223"))),b=(0,a.lazyWithPreload)(()=>n.e("8957").then(n.bind(n,"68870"))),y=(0,a.lazyWithPreload)(()=>n.e("6734").then(n.bind(n,"90761"))),w=(0,a.lazyWithPreload)(()=>n.e("822").then(n.bind(n,"10039"))),k=(0,a.lazyWithPreload)(()=>n.e("2721").then(n.bind(n,"83652"))),I=(0,a.lazyWithPreload)(()=>n.e("7858").then(n.bind(n,"77903"))),j=(0,a.lazyWithPreload)(()=>n.e("7306").then(n.bind(n,"18727"))),P=(0,a.lazyWithPreload)(()=>n.e("3652").then(n.bind(n,"62542"))),S=(0,a.lazyWithPreload)(()=>n.e("5221").then(n.bind(n,"685"))),E=(0,a.lazyWithPreload)(()=>n.e("666").then(n.bind(n,"24635"))),C=(0,a.lazyWithPreload)(()=>n.e("2961").then(n.bind(n,"53139"))),z=(0,a.lazyWithPreload)(()=>n.e("8293").then(n.bind(n,"45516"))),_=(0,a.lazyWithPreload)(()=>n.e("1968").then(n.bind(n,"68635"))),N=(0,a.lazyWithPreload)(()=>n.e("2215").then(n.bind(n,"99246"))),A=(0,a.lazyWithPreload)(()=>n.e("8274").then(n.bind(n,"27224"))),T=(0,a.lazyWithPreload)(()=>n.e("8764").then(n.bind(n,"63841"))),L=(0,a.lazyWithPreload)(()=>n.e("1626").then(n.bind(n,"15101"))),O=(0,a.lazyWithPreload)(()=>n.e("3169").then(n.bind(n,"41106"))),M=(0,a.lazyWithPreload)(()=>n.e("9513").then(n.bind(n,"14847"))),D=(0,a.lazyWithPreload)(()=>n.e("506").then(n.bind(n,"90512"))),R=(0,a.lazyWithPreload)(()=>n.e("9776").then(n.bind(n,"73703"))),B=(0,a.lazyWithPreload)(()=>n.e("1841").then(n.bind(n,"98517"))),H=(0,a.lazyWithPreload)(()=>n.e("623").then(n.bind(n,"19226"))),$=(0,a.lazyWithPreload)(()=>n.e("4202").then(n.bind(n,"42554"))),F=(0,a.lazyWithPreload)(()=>n.e("7802").then(n.bind(n,"4914"))),W=(0,a.lazyWithPreload)(()=>n.e("3046").then(n.bind(n,"17816"))),q=(0,a.lazyWithPreload)(()=>n.e("6448").then(n.bind(n,"57381"))),U=(0,a.lazyWithPreload)(()=>n.e("2758").then(n.bind(n,"76081"))),V=(0,a.lazyWithPreload)(()=>n.e("1212").then(n.bind(n,"59415"))),G=(0,a.lazyWithPreload)(()=>n.e("8429").then(n.bind(n,"90549"))),Z=(0,a.lazyWithPreload)(()=>n.e("195").then(n.bind(n,"25986"))),Y=(0,a.lazyWithPreload)(()=>n.e("2218").then(n.bind(n,"49196"))),K=(0,a.lazyWithPreload)(()=>n.e("2864").then(n.bind(n,"23948"))),X=(0,a.lazyWithPreload)(()=>n.e("3291").then(n.bind(n,"92118"))),Q=(0,a.lazyWithPreload)(()=>n.e("5520").then(n.bind(n,"44506"))),J=(0,a.lazyWithPreload)(()=>n.e("76").then(n.bind(n,"74986"))),ee=(0,a.lazyWithPreload)(()=>n.e("5775").then(n.bind(n,"41628"))),et=(0,a.lazyWithPreload)(()=>n.e("9576").then(n.bind(n,"21474"))),en=(0,a.lazyWithPreload)(()=>n.e("3405").then(n.bind(n,"93463"))),ei=(0,a.lazyWithPreload)(()=>n.e("6402").then(n.bind(n,"99413"))),er=(0,a.lazyWithPreload)(()=>n.e("1738").then(n.bind(n,"48644"))),ea=(0,a.lazyWithPreload)(()=>n.e("4707").then(n.bind(n,"61667"))),eo=(0,a.lazyWithPreload)(()=>n.e("4142").then(n.bind(n,"99497"))),el=(0,a.lazyWithPreload)(()=>n.e("5946").then(n.bind(n,"9387"))),es=(0,a.lazyWithPreload)(()=>n.e("2847").then(n.bind(n,"94095"))),ed=(0,a.lazyWithPreload)(()=>n.e("7991").then(n.bind(n,"17540"))),ec=(0,a.lazyWithPreload)(()=>n.e("2542").then(n.bind(n,"75014"))),eu=(0,a.lazyWithPreload)(()=>n.e("2059").then(n.bind(n,"3058"))),eh=(0,a.lazyWithPreload)(()=>n.e("5665").then(n.bind(n,"78658"))),ep=(0,a.lazyWithPreload)(()=>n.e("9788").then(n.bind(n,"47487"))),em=(0,a.lazyWithPreload)(()=>n.e("6005").then(n.bind(n,"98221"))),ef=(0,a.lazyWithPreload)(()=>n.e("4554").then(n.bind(n,"16398"))),eg=(0,a.lazyWithPreload)(()=>n.e("8287").then(n.bind(n,"75502"))),ex=(0,a.lazyWithPreload)(()=>n.e("1681").then(n.bind(n,"53671"))),ev=(0,a.lazyWithPreload)(()=>n.e("2520").then(n.bind(n,"83348"))),eb=(0,a.lazyWithPreload)(()=>n.e("6777").then(n.bind(n,"11519"))),ey=(0,a.lazyWithPreload)(()=>n.e("6683").then(n.bind(n,"33115"))),ew=(0,a.lazyWithPreload)(()=>n.e("4438").then(n.bind(n,"69470"))),ek=(0,a.lazyWithPreload)(()=>n.e("5337").then(n.bind(n,"82469"))),eI=(0,a.lazyWithPreload)(()=>n.e("5023").then(n.bind(n,"97306"))),ej=(0,a.lazyWithPreload)(()=>n.e("6071").then(n.bind(n,"53212"))),eP=(0,a.lazyWithPreload)(()=>n.e("6379").then(n.bind(n,"2244"))),eS=(0,a.lazyWithPreload)(()=>n.e("7113").then(n.bind(n,"85010"))),eE=(0,a.lazyWithPreload)(()=>n.e("8323").then(n.bind(n,"60458"))),eC=(0,a.lazyWithPreload)(()=>n.e("2391").then(n.bind(n,"19896"))),ez=(0,a.lazyWithPreload)(()=>n.e("1836").then(n.bind(n,"76976"))),e_=(0,a.lazyWithPreload)(()=>n.e("4858").then(n.bind(n,"65386"))),eN=(0,a.lazyWithPreload)(()=>n.e("7021").then(n.bind(n,"60938"))),eA=(0,a.lazyWithPreload)(()=>n.e("6544").then(n.bind(n,"19566"))),eT=(0,a.lazyWithPreload)(()=>n.e("8259").then(n.bind(n,"48848"))),eL=(0,a.lazyWithPreload)(()=>n.e("8445").then(n.bind(n,"96380"))),eO=(0,a.lazyWithPreload)(()=>n.e("6797").then(n.bind(n,"64738"))),eM=(0,a.lazyWithPreload)(()=>n.e("137").then(n.bind(n,"72346"))),eD=(0,a.lazyWithPreload)(()=>n.e("9587").then(n.bind(n,"6131"))),eR=(0,a.lazyWithPreload)(()=>n.e("3171").then(n.bind(n,"78340"))),eB=(0,a.lazyWithPreload)(()=>n.e("4153").then(n.bind(n,"88248"))),eH=(0,a.lazyWithPreload)(()=>n.e("8626").then(n.bind(n,"97948"))),e$=(0,a.lazyWithPreload)(()=>n.e("8234").then(n.bind(n,"98902"))),eF=(0,a.lazyWithPreload)(()=>n.e("4413").then(n.bind(n,"33322"))),eW=(0,a.lazyWithPreload)(()=>n.e("426").then(n.bind(n,"58716"))),eq=(0,a.lazyWithPreload)(()=>n.e("5442").then(n.bind(n,"77288"))),eU=(0,a.lazyWithPreload)(()=>n.e("9190").then(n.bind(n,"47865"))),eV=(0,a.lazyWithPreload)(()=>n.e("1488").then(n.bind(n,"39742"))),eG=(0,a.lazyWithPreload)(()=>n.e("8834").then(n.bind(n,"41761"))),eZ=(0,a.lazyWithPreload)(()=>n.e("3325").then(n.bind(n,"45054"))),eY=(0,a.lazyWithPreload)(()=>n.e("881").then(n.bind(n,"73911"))),eK=(0,a.lazyWithPreload)(()=>n.e("3852").then(n.bind(n,"20655"))),eX=(0,a.lazyWithPreload)(()=>n.e("4445").then(n.bind(n,"67204"))),eQ=[{path:"/module-tools/en/api/config/build-config",element:r().createElement(o),filePath:"en/api/config/build-config.mdx",preload:async()=>(await o.preload(),n.e("5765").then(n.bind(n,"98501"))),lang:"en",version:""},{path:"/module-tools/en/api/config/build-preset",element:r().createElement(l),filePath:"en/api/config/build-preset.mdx",preload:async()=>(await l.preload(),n.e("7626").then(n.bind(n,"12784"))),lang:"en",version:""},{path:"/module-tools/en/api/config/dev",element:r().createElement(s),filePath:"en/api/config/dev.md",preload:async()=>(await s.preload(),n.e("7146").then(n.bind(n,"14530"))),lang:"en",version:""},{path:"/module-tools/en/api/config/plugins",element:r().createElement(d),filePath:"en/api/config/plugins.md",preload:async()=>(await d.preload(),n.e("3854").then(n.bind(n,"95791"))),lang:"en",version:""},{path:"/module-tools/en/api/config/testing",element:r().createElement(c),filePath:"en/api/config/testing.md",preload:async()=>(await c.preload(),n.e("5671").then(n.bind(n,"79470"))),lang:"en",version:""},{path:"/module-tools/en/api/",element:r().createElement(u),filePath:"en/api/index.md",preload:async()=>(await u.preload(),n.e("7474").then(n.bind(n,"40152"))),lang:"en",version:""},{path:"/module-tools/en/api/plugin-api/plugin-hooks",element:r().createElement(h),filePath:"en/api/plugin-api/plugin-hooks.md",preload:async()=>(await h.preload(),n.e("9665").then(n.bind(n,"45318"))),lang:"en",version:""},{path:"/module-tools/en/components/faq-build-exception",element:r().createElement(p),filePath:"en/components/faq-build-exception.mdx",preload:async()=>(await p.preload(),n.e("161").then(n.bind(n,"63712"))),lang:"en",version:""},{path:"/module-tools/en/components/faq-build-other",element:r().createElement(m),filePath:"en/components/faq-build-other.mdx",preload:async()=>(await m.preload(),n.e("5217").then(n.bind(n,"48090"))),lang:"en",version:""},{path:"/module-tools/en/components/faq-build-product",element:r().createElement(f),filePath:"en/components/faq-build-product.mdx",preload:async()=>(await f.preload(),n.e("8113").then(n.bind(n,"49922"))),lang:"en",version:""},{path:"/module-tools/en/components/faq-storybook",element:r().createElement(g),filePath:"en/components/faq-storybook.mdx",preload:async()=>(await g.preload(),n.e("9143").then(n.bind(n,"9622"))),lang:"en",version:""},{path:"/module-tools/en/components/faq-test",element:r().createElement(x),filePath:"en/components/faq-test.mdx",preload:async()=>(await x.preload(),n.e("845").then(n.bind(n,"55186"))),lang:"en",version:""},{path:"/module-tools/en/components/publish-emo",element:r().createElement(v),filePath:"en/components/publish-emo.mdx",preload:async()=>(await v.preload(),n.e("2230").then(n.bind(n,"27223"))),lang:"en",version:""},{path:"/module-tools/en/components/register-esbuild-plugin",element:r().createElement(b),filePath:"en/components/register-esbuild-plugin.mdx",preload:async()=>(await b.preload(),n.e("8957").then(n.bind(n,"68870"))),lang:"en",version:""},{path:"/module-tools/en/components/release-module-doc",element:r().createElement(y),filePath:"en/components/release-module-doc.mdx",preload:async()=>(await y.preload(),n.e("6734").then(n.bind(n,"90761"))),lang:"en",version:""},{path:"/module-tools/en/guide/advance/asset",element:r().createElement(w),filePath:"en/guide/advance/asset.mdx",preload:async()=>(await w.preload(),n.e("822").then(n.bind(n,"10039"))),lang:"en",version:""},{path:"/module-tools/en/guide/advance/build-umd",element:r().createElement(k),filePath:"en/guide/advance/build-umd.mdx",preload:async()=>(await k.preload(),n.e("2721").then(n.bind(n,"83652"))),lang:"en",version:""},{path:"/module-tools/en/guide/advance/copy",element:r().createElement(I),filePath:"en/guide/advance/copy.md",preload:async()=>(await I.preload(),n.e("7858").then(n.bind(n,"77903"))),lang:"en",version:""},{path:"/module-tools/en/guide/advance/external-dependency",element:r().createElement(j),filePath:"en/guide/advance/external-dependency.mdx",preload:async()=>(await j.preload(),n.e("7306").then(n.bind(n,"18727"))),lang:"en",version:""},{path:"/module-tools/en/guide/advance/in-depth-about-build",element:r().createElement(P),filePath:"en/guide/advance/in-depth-about-build.md",preload:async()=>(await P.preload(),n.e("3652").then(n.bind(n,"62542"))),lang:"en",version:""},{path:"/module-tools/en/guide/advance/in-depth-about-dev-command",element:r().createElement(S),filePath:"en/guide/advance/in-depth-about-dev-command.md",preload:async()=>(await S.preload(),n.e("5221").then(n.bind(n,"685"))),lang:"en",version:""},{path:"/module-tools/en/guide/basic/before-getting-started",element:r().createElement(E),filePath:"en/guide/basic/before-getting-started.md",preload:async()=>(await E.preload(),n.e("666").then(n.bind(n,"24635"))),lang:"en",version:""},{path:"/module-tools/en/guide/basic/command-preview",element:r().createElement(C),filePath:"en/guide/basic/command-preview.md",preload:async()=>(await C.preload(),n.e("2961").then(n.bind(n,"53139"))),lang:"en",version:""},{path:"/module-tools/en/guide/basic/modify-output-product",element:r().createElement(z),filePath:"en/guide/basic/modify-output-product.md",preload:async()=>(await z.preload(),n.e("8293").then(n.bind(n,"45516"))),lang:"en",version:""},{path:"/module-tools/en/guide/basic/publish-your-project",element:r().createElement(_),filePath:"en/guide/basic/publish-your-project.mdx",preload:async()=>(await _.preload(),n.e("1968").then(n.bind(n,"68635"))),lang:"en",version:""},{path:"/module-tools/en/guide/basic/test-your-project",element:r().createElement(N),filePath:"en/guide/basic/test-your-project.mdx",preload:async()=>(await N.preload(),n.e("2215").then(n.bind(n,"99246"))),lang:"en",version:""},{path:"/module-tools/en/guide/basic/use-micro-generator",element:r().createElement(A),filePath:"en/guide/basic/use-micro-generator.md",preload:async()=>(await A.preload(),n.e("8274").then(n.bind(n,"27224"))),lang:"en",version:""},{path:"/module-tools/en/guide/basic/use-module-doc",element:r().createElement(T),filePath:"en/guide/basic/use-module-doc.mdx",preload:async()=>(await T.preload(),n.e("8764").then(n.bind(n,"63841"))),lang:"en",version:""},{path:"/module-tools/en/guide/basic/using-storybook",element:r().createElement(L),filePath:"en/guide/basic/using-storybook.mdx",preload:async()=>(await L.preload(),n.e("1626").then(n.bind(n,"15101"))),lang:"en",version:""},{path:"/module-tools/en/guide/best-practices/components",element:r().createElement(O),filePath:"en/guide/best-practices/components.mdx",preload:async()=>(await O.preload(),n.e("3169").then(n.bind(n,"41106"))),lang:"en",version:""},{path:"/module-tools/en/guide/best-practices/use-tailwindcss",element:r().createElement(M),filePath:"en/guide/best-practices/use-tailwindcss.mdx",preload:async()=>(await M.preload(),n.e("9513").then(n.bind(n,"14847"))),lang:"en",version:""},{path:"/module-tools/en/guide/faq/basic",element:r().createElement(D),filePath:"en/guide/faq/basic.mdx",preload:async()=>(await D.preload(),n.e("506").then(n.bind(n,"90512"))),lang:"en",version:""},{path:"/module-tools/en/guide/faq/build",element:r().createElement(R),filePath:"en/guide/faq/build.mdx",preload:async()=>(await R.preload(),n.e("9776").then(n.bind(n,"73703"))),lang:"en",version:""},{path:"/module-tools/en/guide/faq/",element:r().createElement(B),filePath:"en/guide/faq/index.md",preload:async()=>(await B.preload(),n.e("1841").then(n.bind(n,"98517"))),lang:"en",version:""},{path:"/module-tools/en/guide/faq/storybook",element:r().createElement(H),filePath:"en/guide/faq/storybook.mdx",preload:async()=>(await H.preload(),n.e("623").then(n.bind(n,"19226"))),lang:"en",version:""},{path:"/module-tools/en/guide/faq/test",element:r().createElement($),filePath:"en/guide/faq/test.mdx",preload:async()=>(await $.preload(),n.e("4202").then(n.bind(n,"42554"))),lang:"en",version:""},{path:"/module-tools/en/guide/intro/getting-started",element:r().createElement(F),filePath:"en/guide/intro/getting-started.mdx",preload:async()=>(await F.preload(),n.e("7802").then(n.bind(n,"4914"))),lang:"en",version:""},{path:"/module-tools/en/guide/intro/welcome",element:r().createElement(W),filePath:"en/guide/intro/welcome.md",preload:async()=>(await W.preload(),n.e("3046").then(n.bind(n,"17816"))),lang:"en",version:""},{path:"/module-tools/en/guide/intro/why-module-engineering-solution",element:r().createElement(q),filePath:"en/guide/intro/why-module-engineering-solution.md",preload:async()=>(await q.preload(),n.e("6448").then(n.bind(n,"57381"))),lang:"en",version:""},{path:"/module-tools/en/",element:r().createElement(U),filePath:"en/index.md",preload:async()=>(await U.preload(),n.e("2758").then(n.bind(n,"76081"))),lang:"en",version:""},{path:"/module-tools/en/plugins/guide/getting-started",element:r().createElement(V),filePath:"en/plugins/guide/getting-started.mdx",preload:async()=>(await V.preload(),n.e("1212").then(n.bind(n,"59415"))),lang:"en",version:""},{path:"/module-tools/en/plugins/guide/plugin-object",element:r().createElement(G),filePath:"en/plugins/guide/plugin-object.mdx",preload:async()=>(await G.preload(),n.e("8429").then(n.bind(n,"90549"))),lang:"en",version:""},{path:"/module-tools/en/plugins/guide/setup-function",element:r().createElement(Z),filePath:"en/plugins/guide/setup-function.mdx",preload:async()=>(await Z.preload(),n.e("195").then(n.bind(n,"25986"))),lang:"en",version:""},{path:"/module-tools/en/plugins/official-list/overview",element:r().createElement(Y),filePath:"en/plugins/official-list/overview.md",preload:async()=>(await Y.preload(),n.e("2218").then(n.bind(n,"49196"))),lang:"en",version:""},{path:"/module-tools/en/plugins/official-list/plugin-babel",element:r().createElement(K),filePath:"en/plugins/official-list/plugin-babel.mdx",preload:async()=>(await K.preload(),n.e("2864").then(n.bind(n,"23948"))),lang:"en",version:""},{path:"/module-tools/en/plugins/official-list/plugin-banner",element:r().createElement(X),filePath:"en/plugins/official-list/plugin-banner.mdx",preload:async()=>(await X.preload(),n.e("3291").then(n.bind(n,"92118"))),lang:"en",version:""},{path:"/module-tools/en/plugins/official-list/plugin-import",element:r().createElement(Q),filePath:"en/plugins/official-list/plugin-import.mdx",preload:async()=>(await Q.preload(),n.e("5520").then(n.bind(n,"44506"))),lang:"en",version:""},{path:"/module-tools/en/plugins/official-list/plugin-node-polyfill",element:r().createElement(J),filePath:"en/plugins/official-list/plugin-node-polyfill.mdx",preload:async()=>(await J.preload(),n.e("76").then(n.bind(n,"74986"))),lang:"en",version:""},{path:"/module-tools/en/plugins/official-list/plugin-polyfill",element:r().createElement(ee),filePath:"en/plugins/official-list/plugin-polyfill.mdx",preload:async()=>(await ee.preload(),n.e("5775").then(n.bind(n,"41628"))),lang:"en",version:""},{path:"/module-tools/en/plugins/official-list/plugin-vue",element:r().createElement(et),filePath:"en/plugins/official-list/plugin-vue.mdx",preload:async()=>(await et.preload(),n.e("9576").then(n.bind(n,"21474"))),lang:"en",version:""},{path:"/module-tools/api/config/build-config",element:r().createElement(en),filePath:"zh/api/config/build-config.mdx",preload:async()=>(await en.preload(),n.e("3405").then(n.bind(n,"93463"))),lang:"zh",version:""},{path:"/module-tools/api/config/build-preset",element:r().createElement(ei),filePath:"zh/api/config/build-preset.mdx",preload:async()=>(await ei.preload(),n.e("6402").then(n.bind(n,"99413"))),lang:"zh",version:""},{path:"/module-tools/api/config/dev",element:r().createElement(er),filePath:"zh/api/config/dev.md",preload:async()=>(await er.preload(),n.e("1738").then(n.bind(n,"48644"))),lang:"zh",version:""},{path:"/module-tools/api/config/plugins",element:r().createElement(ea),filePath:"zh/api/config/plugins.md",preload:async()=>(await ea.preload(),n.e("4707").then(n.bind(n,"61667"))),lang:"zh",version:""},{path:"/module-tools/api/config/testing",element:r().createElement(eo),filePath:"zh/api/config/testing.md",preload:async()=>(await eo.preload(),n.e("4142").then(n.bind(n,"99497"))),lang:"zh",version:""},{path:"/module-tools/api/",element:r().createElement(el),filePath:"zh/api/index.md",preload:async()=>(await el.preload(),n.e("5946").then(n.bind(n,"9387"))),lang:"zh",version:""},{path:"/module-tools/api/plugin-api/plugin-hooks",element:r().createElement(es),filePath:"zh/api/plugin-api/plugin-hooks.md",preload:async()=>(await es.preload(),n.e("2847").then(n.bind(n,"94095"))),lang:"zh",version:""},{path:"/module-tools/components/faq-build-exception",element:r().createElement(ed),filePath:"zh/components/faq-build-exception.mdx",preload:async()=>(await ed.preload(),n.e("7991").then(n.bind(n,"17540"))),lang:"zh",version:""},{path:"/module-tools/components/faq-build-other",element:r().createElement(ec),filePath:"zh/components/faq-build-other.mdx",preload:async()=>(await ec.preload(),n.e("2542").then(n.bind(n,"75014"))),lang:"zh",version:""},{path:"/module-tools/components/faq-build-product",element:r().createElement(eu),filePath:"zh/components/faq-build-product.mdx",preload:async()=>(await eu.preload(),n.e("2059").then(n.bind(n,"3058"))),lang:"zh",version:""},{path:"/module-tools/components/faq-storybook",element:r().createElement(eh),filePath:"zh/components/faq-storybook.mdx",preload:async()=>(await eh.preload(),n.e("5665").then(n.bind(n,"78658"))),lang:"zh",version:""},{path:"/module-tools/components/faq-test",element:r().createElement(ep),filePath:"zh/components/faq-test.mdx",preload:async()=>(await ep.preload(),n.e("9788").then(n.bind(n,"47487"))),lang:"zh",version:""},{path:"/module-tools/components/publish-emo",element:r().createElement(em),filePath:"zh/components/publish-emo.mdx",preload:async()=>(await em.preload(),n.e("6005").then(n.bind(n,"98221"))),lang:"zh",version:""},{path:"/module-tools/components/register-esbuild-plugin",element:r().createElement(ef),filePath:"zh/components/register-esbuild-plugin.mdx",preload:async()=>(await ef.preload(),n.e("4554").then(n.bind(n,"16398"))),lang:"zh",version:""},{path:"/module-tools/components/release-module-doc",element:r().createElement(eg),filePath:"zh/components/release-module-doc.mdx",preload:async()=>(await eg.preload(),n.e("8287").then(n.bind(n,"75502"))),lang:"zh",version:""},{path:"/module-tools/guide/advance/asset",element:r().createElement(ex),filePath:"zh/guide/advance/asset.mdx",preload:async()=>(await ex.preload(),n.e("1681").then(n.bind(n,"53671"))),lang:"zh",version:""},{path:"/module-tools/guide/advance/build-umd",element:r().createElement(ev),filePath:"zh/guide/advance/build-umd.mdx",preload:async()=>(await ev.preload(),n.e("2520").then(n.bind(n,"83348"))),lang:"zh",version:""},{path:"/module-tools/guide/advance/copy",element:r().createElement(eb),filePath:"zh/guide/advance/copy.md",preload:async()=>(await eb.preload(),n.e("6777").then(n.bind(n,"11519"))),lang:"zh",version:""},{path:"/module-tools/guide/advance/external-dependency",element:r().createElement(ey),filePath:"zh/guide/advance/external-dependency.mdx",preload:async()=>(await ey.preload(),n.e("6683").then(n.bind(n,"33115"))),lang:"zh",version:""},{path:"/module-tools/guide/advance/in-depth-about-build",element:r().createElement(ew),filePath:"zh/guide/advance/in-depth-about-build.md",preload:async()=>(await ew.preload(),n.e("4438").then(n.bind(n,"69470"))),lang:"zh",version:""},{path:"/module-tools/guide/advance/in-depth-about-dev-command",element:r().createElement(ek),filePath:"zh/guide/advance/in-depth-about-dev-command.md",preload:async()=>(await ek.preload(),n.e("5337").then(n.bind(n,"82469"))),lang:"zh",version:""},{path:"/module-tools/guide/basic/before-getting-started",element:r().createElement(eI),filePath:"zh/guide/basic/before-getting-started.md",preload:async()=>(await eI.preload(),n.e("5023").then(n.bind(n,"97306"))),lang:"zh",version:""},{path:"/module-tools/guide/basic/command-preview",element:r().createElement(ej),filePath:"zh/guide/basic/command-preview.md",preload:async()=>(await ej.preload(),n.e("6071").then(n.bind(n,"53212"))),lang:"zh",version:""},{path:"/module-tools/guide/basic/modify-output-product",element:r().createElement(eP),filePath:"zh/guide/basic/modify-output-product.md",preload:async()=>(await eP.preload(),n.e("6379").then(n.bind(n,"2244"))),lang:"zh",version:""},{path:"/module-tools/guide/basic/publish-your-project",element:r().createElement(eS),filePath:"zh/guide/basic/publish-your-project.mdx",preload:async()=>(await eS.preload(),n.e("7113").then(n.bind(n,"85010"))),lang:"zh",version:""},{path:"/module-tools/guide/basic/test-your-project",element:r().createElement(eE),filePath:"zh/guide/basic/test-your-project.mdx",preload:async()=>(await eE.preload(),n.e("8323").then(n.bind(n,"60458"))),lang:"zh",version:""},{path:"/module-tools/guide/basic/use-micro-generator",element:r().createElement(eC),filePath:"zh/guide/basic/use-micro-generator.md",preload:async()=>(await eC.preload(),n.e("2391").then(n.bind(n,"19896"))),lang:"zh",version:""},{path:"/module-tools/guide/basic/use-module-doc",element:r().createElement(ez),filePath:"zh/guide/basic/use-module-doc.mdx",preload:async()=>(await ez.preload(),n.e("1836").then(n.bind(n,"76976"))),lang:"zh",version:""},{path:"/module-tools/guide/basic/using-storybook",element:r().createElement(e_),filePath:"zh/guide/basic/using-storybook.mdx",preload:async()=>(await e_.preload(),n.e("4858").then(n.bind(n,"65386"))),lang:"zh",version:""},{path:"/module-tools/guide/best-practices/components",element:r().createElement(eN),filePath:"zh/guide/best-practices/components.mdx",preload:async()=>(await eN.preload(),n.e("7021").then(n.bind(n,"60938"))),lang:"zh",version:""},{path:"/module-tools/guide/best-practices/use-tailwindcss",element:r().createElement(eA),filePath:"zh/guide/best-practices/use-tailwindcss.mdx",preload:async()=>(await eA.preload(),n.e("6544").then(n.bind(n,"19566"))),lang:"zh",version:""},{path:"/module-tools/guide/faq/basic",element:r().createElement(eT),filePath:"zh/guide/faq/basic.mdx",preload:async()=>(await eT.preload(),n.e("8259").then(n.bind(n,"48848"))),lang:"zh",version:""},{path:"/module-tools/guide/faq/build",element:r().createElement(eL),filePath:"zh/guide/faq/build.mdx",preload:async()=>(await eL.preload(),n.e("8445").then(n.bind(n,"96380"))),lang:"zh",version:""},{path:"/module-tools/guide/faq/",element:r().createElement(eO),filePath:"zh/guide/faq/index.md",preload:async()=>(await eO.preload(),n.e("6797").then(n.bind(n,"64738"))),lang:"zh",version:""},{path:"/module-tools/guide/faq/storybook",element:r().createElement(eM),filePath:"zh/guide/faq/storybook.mdx",preload:async()=>(await eM.preload(),n.e("137").then(n.bind(n,"72346"))),lang:"zh",version:""},{path:"/module-tools/guide/faq/test",element:r().createElement(eD),filePath:"zh/guide/faq/test.mdx",preload:async()=>(await eD.preload(),n.e("9587").then(n.bind(n,"6131"))),lang:"zh",version:""},{path:"/module-tools/guide/intro/getting-started",element:r().createElement(eR),filePath:"zh/guide/intro/getting-started.mdx",preload:async()=>(await eR.preload(),n.e("3171").then(n.bind(n,"78340"))),lang:"zh",version:""},{path:"/module-tools/guide/intro/welcome",element:r().createElement(eB),filePath:"zh/guide/intro/welcome.md",preload:async()=>(await eB.preload(),n.e("4153").then(n.bind(n,"88248"))),lang:"zh",version:""},{path:"/module-tools/guide/intro/why-module-engineering-solution",element:r().createElement(eH),filePath:"zh/guide/intro/why-module-engineering-solution.md",preload:async()=>(await eH.preload(),n.e("8626").then(n.bind(n,"97948"))),lang:"zh",version:""},{path:"/module-tools/",element:r().createElement(e$),filePath:"zh/index.md",preload:async()=>(await e$.preload(),n.e("8234").then(n.bind(n,"98902"))),lang:"zh",version:""},{path:"/module-tools/plugins/guide/getting-started",element:r().createElement(eF),filePath:"zh/plugins/guide/getting-started.mdx",preload:async()=>(await eF.preload(),n.e("4413").then(n.bind(n,"33322"))),lang:"zh",version:""},{path:"/module-tools/plugins/guide/plugin-object",element:r().createElement(eW),filePath:"zh/plugins/guide/plugin-object.mdx",preload:async()=>(await eW.preload(),n.e("426").then(n.bind(n,"58716"))),lang:"zh",version:""},{path:"/module-tools/plugins/guide/setup-function",element:r().createElement(eq),filePath:"zh/plugins/guide/setup-function.mdx",preload:async()=>(await eq.preload(),n.e("5442").then(n.bind(n,"77288"))),lang:"zh",version:""},{path:"/module-tools/plugins/official-list/overview",element:r().createElement(eU),filePath:"zh/plugins/official-list/overview.md",preload:async()=>(await eU.preload(),n.e("9190").then(n.bind(n,"47865"))),lang:"zh",version:""},{path:"/module-tools/plugins/official-list/plugin-babel",element:r().createElement(eV),filePath:"zh/plugins/official-list/plugin-babel.mdx",preload:async()=>(await eV.preload(),n.e("1488").then(n.bind(n,"39742"))),lang:"zh",version:""},{path:"/module-tools/plugins/official-list/plugin-banner",element:r().createElement(eG),filePath:"zh/plugins/official-list/plugin-banner.mdx",preload:async()=>(await eG.preload(),n.e("8834").then(n.bind(n,"41761"))),lang:"zh",version:""},{path:"/module-tools/plugins/official-list/plugin-import",element:r().createElement(eZ),filePath:"zh/plugins/official-list/plugin-import.mdx",preload:async()=>(await eZ.preload(),n.e("3325").then(n.bind(n,"45054"))),lang:"zh",version:""},{path:"/module-tools/plugins/official-list/plugin-node-polyfill",element:r().createElement(eY),filePath:"zh/plugins/official-list/plugin-node-polyfill.mdx",preload:async()=>(await eY.preload(),n.e("881").then(n.bind(n,"73911"))),lang:"zh",version:""},{path:"/module-tools/plugins/official-list/plugin-polyfill",element:r().createElement(eK),filePath:"zh/plugins/official-list/plugin-polyfill.mdx",preload:async()=>(await eK.preload(),n.e("3852").then(n.bind(n,"20655"))),lang:"zh",version:""},{path:"/module-tools/plugins/official-list/plugin-vue",element:r().createElement(eX),filePath:"zh/plugins/official-list/plugin-vue.mdx",preload:async()=>(await eX.preload(),n.e("4445").then(n.bind(n,"67204"))),lang:"zh",version:""}]},51801:function(e,t,n){"use strict";n.r(t),n.d(t,{onSearch:function(){return i}});let i=()=>{}},25756:function(e,t,n){"use strict";n.r(t),t.default={en:"a1c89103",zh:"1cdbb15b"}},13328:function(e,t,n){"use strict";n.r(t),t.default={title:"Modern.js Module",description:"",icon:"https://lf3-static.bytednsdoc.com/obj/eden-cn/zq-uylkvT/ljhwZthlaukjlkulzlp/logo-1x-0104.png",themeConfig:{footer:{message:"Copyright \xa9 2023 ByteDance."},socialLinks:[{icon:"github",mode:"link",content:"https://github.com/web-infra-dev/modern.js/tree/main/packages/solutions/module-tools"}],locales:[{lang:"zh",label:"\u7B80\u4F53\u4E2D\u6587",nav:[{text:"\u6307\u5357",link:"/guide/intro/welcome",activeMatch:"^/guide/"},{text:"API",link:"/api/",activeMatch:"^/api/"},{text:"\u63D2\u4EF6",link:"/plugins/guide/getting-started",activeMatch:"^/plugins/"},{text:"v2.47.0",items:[{text:"\u66F4\u65B0\u65E5\u5FD7",link:"https://github.com/web-infra-dev/modern.js/tree/main/packages/solutions/module-tools/CHANGELOG.md"},{text:"\u8D21\u732E\u6307\u5357",link:"https://modernjs.dev/en/community/contributing-guide.html"}]}],title:"Modern.js Module",outlineTitle:"\u76EE\u5F55",prevPageText:"\u4E0A\u4E00\u9875",nextPageText:"\u4E0B\u4E00\u9875",description:"\u6A21\u5757\u5DE5\u7A0B\u89E3\u51B3\u65B9\u6848",sidebar:{"/api/":[{text:"\u6982\u89C8",link:"/module-tools/api/"},{text:"\u914D\u7F6E\u9879",link:"",items:[{text:"buildConfig",link:"/module-tools/api/config/build-config"},{text:"buildPreset",link:"/module-tools/api/config/build-preset"},{text:"dev",link:"/module-tools/api/config/dev"},{text:"plugins",link:"/module-tools/api/config/plugins"},{text:"testing",link:"/module-tools/api/config/testing"}],collapsed:!1,collapsible:!0},{text:"Plugin API",link:"",items:[{text:"Plugin Hooks",link:"/module-tools/api/plugin-api/plugin-hooks"}],collapsed:!1,collapsible:!0}],"/guide/":[{text:"\u4ECB\u7ECD",link:"",items:[{text:"\u6B22\u8FCE\u4F7F\u7528",link:"/module-tools/guide/intro/welcome"},{text:"\u4E3A\u4EC0\u4E48\u9700\u8981 Modern.js Module",link:"/module-tools/guide/intro/why-module-engineering-solution"},{text:"\u5FEB\u901F\u5F00\u59CB",link:"/module-tools/guide/intro/getting-started"}],collapsed:!1,collapsible:!0},{text:"\u57FA\u7840\u4F7F\u7528",link:"",items:[{text:"\u5F00\u59CB\u4E4B\u524D",link:"/module-tools/guide/basic/before-getting-started"},{text:"CLI \u547D\u4EE4",link:"/module-tools/guide/basic/command-preview"},{text:"\u4FEE\u6539\u8F93\u51FA\u4EA7\u7269",link:"/module-tools/guide/basic/modify-output-product"},{text:"\u4F7F\u7528\u5FAE\u751F\u6210\u5668",link:"/module-tools/guide/basic/use-micro-generator"},{text:"\u5F00\u53D1\u6A21\u5757\u6587\u6863",link:"/module-tools/guide/basic/use-module-doc"},{text:"\u4F7F\u7528 Storybook",link:"/module-tools/guide/basic/using-storybook"},{text:"\u6D4B\u8BD5\u9879\u76EE",link:"/module-tools/guide/basic/test-your-project"},{text:"\u7248\u672C\u7BA1\u7406\u4E0E\u53D1\u5E03",link:"/module-tools/guide/basic/publish-your-project"}],collapsed:!1,collapsible:!0},{text:"\u8FDB\u9636\u6307\u5357",link:"",items:[{text:"\u6DF1\u5165\u7406\u89E3\u6784\u5EFA",link:"/module-tools/guide/advance/in-depth-about-build"},{text:"\u6DF1\u5165\u7406\u89E3 dev \u547D\u4EE4",link:"/module-tools/guide/advance/in-depth-about-dev-command"},{text:"\u4F7F\u7528 Copy \u5DE5\u5177",link:"/module-tools/guide/advance/copy"},{text:"\u5904\u7406\u4E09\u65B9\u4F9D\u8D56",link:"/module-tools/guide/advance/external-dependency"},{text:"\u6784\u5EFA umd \u4EA7\u7269",link:"/module-tools/guide/advance/build-umd"},{text:"\u5904\u7406\u9759\u6001\u8D44\u6E90",link:"/module-tools/guide/advance/asset"}],collapsed:!1,collapsible:!0},{text:"\u6700\u4F73\u5B9E\u8DF5",link:"",items:[{text:"\u5F00\u53D1\u7EC4\u4EF6",link:"/module-tools/guide/best-practices/components"},{text:"\u4F7F\u7528 Tailwind CSS",link:"/module-tools/guide/best-practices/use-tailwindcss"}],collapsed:!1,collapsible:!0},{text:"\u5E38\u89C1\u95EE\u9898",link:"/module-tools/guide/faq/",items:[{text:"\u901A\u7528\u7C7B\u95EE\u9898",link:"/module-tools/guide/faq/basic"},{text:"\u6784\u5EFA\u76F8\u5173\u95EE\u9898",link:"/module-tools/guide/faq/build"},{text:"Storybook \u76F8\u5173\u95EE\u9898",link:"/module-tools/guide/faq/storybook"},{text:"\u6D4B\u8BD5\u76F8\u5173\u95EE\u9898",link:"/module-tools/guide/faq/test"}],collapsed:!1,collapsible:!0}],"/plugins/":[{text:"\u6307\u5357",link:"",items:[{text:"\u5FEB\u901F\u5F00\u59CB",link:"/module-tools/plugins/guide/getting-started"},{text:"\u63D2\u4EF6\u5BF9\u8C61",link:"/module-tools/plugins/guide/plugin-object"},{text:"Setup \u51FD\u6570",link:"/module-tools/plugins/guide/setup-function"}],collapsed:!1,collapsible:!0},{text:"\u63D2\u4EF6\u5217\u8868",link:"",items:[{text:"\u603B\u89C8",link:"/module-tools/plugins/official-list/overview"},{text:"Babel \u63D2\u4EF6",link:"/module-tools/plugins/official-list/plugin-babel"},{text:"Banner \u63D2\u4EF6",link:"/module-tools/plugins/official-list/plugin-banner"},{text:"Import \u63D2\u4EF6",link:"/module-tools/plugins/official-list/plugin-import"},{text:"Node Polyfill \u63D2\u4EF6",link:"/module-tools/plugins/official-list/plugin-node-polyfill"},{text:"Polyfill \u63D2\u4EF6",link:"/module-tools/plugins/official-list/plugin-polyfill"},{text:"Vue \u63D2\u4EF6",link:"/module-tools/plugins/official-list/plugin-vue"}],collapsed:!1,collapsible:!0}]}},{lang:"en",label:"English",nav:[{text:"Guide",link:"/en/guide/intro/welcome",activeMatch:"^/guide/"},{text:"API",link:"/en/api/",activeMatch:"^/api/"},{text:"Plugins",link:"/en/plugins/guide/getting-started",activeMatch:"^/plugins/"},{text:"v2.47.0",items:[{text:"Changelog",link:"https://github.com/web-infra-dev/modern.js/tree/main/packages/solutions/module-tools/CHANGELOG.md"},{text:"Contributing",link:"https://modernjs.dev/en/community/contributing-guide.html"}]}],title:"Modern.js Module",description:"Module Engineering Solutions",sidebar:{"/en/api/":[{text:"Overview",link:"/module-tools/en/api/"},{text:"Config",link:"",items:[{text:"buildConfig",link:"/module-tools/en/api/config/build-config"},{text:"buildPreset",link:"/module-tools/en/api/config/build-preset"},{text:"dev",link:"/module-tools/en/api/config/dev"},{text:"plugins",link:"/module-tools/en/api/config/plugins"},{text:"testing",link:"/module-tools/en/api/config/testing"}],collapsed:!1,collapsible:!0},{text:"Plugin API",link:"",items:[{text:"Plugin Hooks",link:"/module-tools/en/api/plugin-api/plugin-hooks"}],collapsed:!1,collapsible:!0}],"/en/guide/":[{text:"Introduction",link:"",items:[{text:"Welcome to Modern.js Module",link:"/module-tools/en/guide/intro/welcome"},{text:"Why you need Modern.js Module",link:"/module-tools/en/guide/intro/why-module-engineering-solution"},{text:"Quick Start",link:"/module-tools/en/guide/intro/getting-started"}],collapsed:!1,collapsible:!0},{text:"Basic Guide",link:"",items:[{text:"Before you start",link:"/module-tools/en/guide/basic/before-getting-started"},{text:"CLI Commands",link:"/module-tools/en/guide/basic/command-preview"},{text:"Modify the output",link:"/module-tools/en/guide/basic/modify-output-product"},{text:"Using the Microgenerator",link:"/module-tools/en/guide/basic/use-micro-generator"},{text:"Developing Module documentation",link:"/module-tools/en/guide/basic/use-module-doc"},{text:"Using Storybook",link:"/module-tools/en/guide/basic/using-storybook"},{text:"Testing Projects",link:"/module-tools/en/guide/basic/test-your-project"},{text:"Versioning and Publishing",link:"/module-tools/en/guide/basic/publish-your-project"}],collapsed:!1,collapsible:!0},{text:"Advanced Guide",link:"",items:[{text:"In-depth understanding of build",link:"/module-tools/en/guide/advance/in-depth-about-build"},{text:"In-depth understanding of the dev command",link:"/module-tools/en/guide/advance/in-depth-about-dev-command"},{text:"Use the Copy Tools",link:"/module-tools/en/guide/advance/copy"},{text:"Handle third-party dependencies",link:"/module-tools/en/guide/advance/external-dependency"},{text:"Build umd artifacts",link:"/module-tools/en/guide/advance/build-umd"},{text:"Handle static assets",link:"/module-tools/en/guide/advance/asset"}],collapsed:!1,collapsible:!0},{text:"Best practices",link:"",items:[{text:"Developing Components",link:"/module-tools/en/guide/best-practices/components"},{text:"Using Tailwind CSS",link:"/module-tools/en/guide/best-practices/use-tailwindcss"}],collapsed:!1,collapsible:!0},{text:"FAQ",link:"/module-tools/en/guide/faq/",items:[{text:"General Questions",link:"/module-tools/en/guide/faq/basic"},{text:"Build FAQ",link:"/module-tools/en/guide/faq/build"},{text:"Storybook FAQ",link:"/module-tools/en/guide/faq/storybook"},{text:"Test FAQ",link:"/module-tools/en/guide/faq/test"}],collapsed:!1,collapsible:!0}],"/en/plugins/":[{text:"Guide",link:"",items:[{text:"Quick Start",link:"/module-tools/en/plugins/guide/getting-started"},{text:"Plugin Object",link:"/module-tools/en/plugins/guide/plugin-object"},{text:"Setup function",link:"/module-tools/en/plugins/guide/setup-function"}],collapsed:!1,collapsible:!0},{text:"Plugins List",link:"",items:[{text:"Overview",link:"/module-tools/en/plugins/official-list/overview"},{text:"Babel Plugin",link:"/module-tools/en/plugins/official-list/plugin-babel"},{text:"Banner Plugin",link:"/module-tools/en/plugins/official-list/plugin-banner"},{text:"Import Plugin",link:"/module-tools/en/plugins/official-list/plugin-import"},{text:"Node Polyfill Plugin",link:"/module-tools/en/plugins/official-list/plugin-node-polyfill"},{text:"Polyfill Plugin",link:"/module-tools/en/plugins/official-list/plugin-polyfill"},{text:"Vue Plugin",link:"/module-tools/en/plugins/official-list/plugin-vue"}],collapsed:!1,collapsible:!0}]}}],editLink:{docRepoBaseUrl:"https://github.com/web-infra-dev/modern.js/tree/main/packages/document/module-doc/docs",text:"Edit this page on GitHub"}},base:"/module-tools/",lang:"zh",locales:[{lang:"zh",label:"\u7B80\u4F53\u4E2D\u6587",nav:[{text:"\u6307\u5357",link:"/guide/intro/welcome",activeMatch:"^/guide/"},{text:"API",link:"/api/",activeMatch:"^/api/"},{text:"\u63D2\u4EF6",link:"/plugins/guide/getting-started",activeMatch:"^/plugins/"},{text:"v2.47.0",items:[{text:"\u66F4\u65B0\u65E5\u5FD7",link:"https://github.com/web-infra-dev/modern.js/tree/main/packages/solutions/module-tools/CHANGELOG.md"},{text:"\u8D21\u732E\u6307\u5357",link:"https://modernjs.dev/en/community/contributing-guide.html"}]}],title:"Modern.js Module",outlineTitle:"\u76EE\u5F55",prevPageText:"\u4E0A\u4E00\u9875",nextPageText:"\u4E0B\u4E00\u9875",description:"\u6A21\u5757\u5DE5\u7A0B\u89E3\u51B3\u65B9\u6848",sidebar:{"/api/":[{text:"\u6982\u89C8",link:"/module-tools/api/"},{text:"\u914D\u7F6E\u9879",link:"",items:[{text:"buildConfig",link:"/module-tools/api/config/build-config"},{text:"buildPreset",link:"/module-tools/api/config/build-preset"},{text:"dev",link:"/module-tools/api/config/dev"},{text:"plugins",link:"/module-tools/api/config/plugins"},{text:"testing",link:"/module-tools/api/config/testing"}],collapsed:!1,collapsible:!0},{text:"Plugin API",link:"",items:[{text:"Plugin Hooks",link:"/module-tools/api/plugin-api/plugin-hooks"}],collapsed:!1,collapsible:!0}],"/guide/":[{text:"\u4ECB\u7ECD",link:"",items:[{text:"\u6B22\u8FCE\u4F7F\u7528",link:"/module-tools/guide/intro/welcome"},{text:"\u4E3A\u4EC0\u4E48\u9700\u8981 Modern.js Module",link:"/module-tools/guide/intro/why-module-engineering-solution"},{text:"\u5FEB\u901F\u5F00\u59CB",link:"/module-tools/guide/intro/getting-started"}],collapsed:!1,collapsible:!0},{text:"\u57FA\u7840\u4F7F\u7528",link:"",items:[{text:"\u5F00\u59CB\u4E4B\u524D",link:"/module-tools/guide/basic/before-getting-started"},{text:"CLI \u547D\u4EE4",link:"/module-tools/guide/basic/command-preview"},{text:"\u4FEE\u6539\u8F93\u51FA\u4EA7\u7269",link:"/module-tools/guide/basic/modify-output-product"},{text:"\u4F7F\u7528\u5FAE\u751F\u6210\u5668",link:"/module-tools/guide/basic/use-micro-generator"},{text:"\u5F00\u53D1\u6A21\u5757\u6587\u6863",link:"/module-tools/guide/basic/use-module-doc"},{text:"\u4F7F\u7528 Storybook",link:"/module-tools/guide/basic/using-storybook"},{text:"\u6D4B\u8BD5\u9879\u76EE",link:"/module-tools/guide/basic/test-your-project"},{text:"\u7248\u672C\u7BA1\u7406\u4E0E\u53D1\u5E03",link:"/module-tools/guide/basic/publish-your-project"}],collapsed:!1,collapsible:!0},{text:"\u8FDB\u9636\u6307\u5357",link:"",items:[{text:"\u6DF1\u5165\u7406\u89E3\u6784\u5EFA",link:"/module-tools/guide/advance/in-depth-about-build"},{text:"\u6DF1\u5165\u7406\u89E3 dev \u547D\u4EE4",link:"/module-tools/guide/advance/in-depth-about-dev-command"},{text:"\u4F7F\u7528 Copy \u5DE5\u5177",link:"/module-tools/guide/advance/copy"},{text:"\u5904\u7406\u4E09\u65B9\u4F9D\u8D56",link:"/module-tools/guide/advance/external-dependency"},{text:"\u6784\u5EFA umd \u4EA7\u7269",link:"/module-tools/guide/advance/build-umd"},{text:"\u5904\u7406\u9759\u6001\u8D44\u6E90",link:"/module-tools/guide/advance/asset"}],collapsed:!1,collapsible:!0},{text:"\u6700\u4F73\u5B9E\u8DF5",link:"",items:[{text:"\u5F00\u53D1\u7EC4\u4EF6",link:"/module-tools/guide/best-practices/components"},{text:"\u4F7F\u7528 Tailwind CSS",link:"/module-tools/guide/best-practices/use-tailwindcss"}],collapsed:!1,collapsible:!0},{text:"\u5E38\u89C1\u95EE\u9898",link:"/module-tools/guide/faq/",items:[{text:"\u901A\u7528\u7C7B\u95EE\u9898",link:"/module-tools/guide/faq/basic"},{text:"\u6784\u5EFA\u76F8\u5173\u95EE\u9898",link:"/module-tools/guide/faq/build"},{text:"Storybook \u76F8\u5173\u95EE\u9898",link:"/module-tools/guide/faq/storybook"},{text:"\u6D4B\u8BD5\u76F8\u5173\u95EE\u9898",link:"/module-tools/guide/faq/test"}],collapsed:!1,collapsible:!0}],"/plugins/":[{text:"\u6307\u5357",link:"",items:[{text:"\u5FEB\u901F\u5F00\u59CB",link:"/module-tools/plugins/guide/getting-started"},{text:"\u63D2\u4EF6\u5BF9\u8C61",link:"/module-tools/plugins/guide/plugin-object"},{text:"Setup \u51FD\u6570",link:"/module-tools/plugins/guide/setup-function"}],collapsed:!1,collapsible:!0},{text:"\u63D2\u4EF6\u5217\u8868",link:"",items:[{text:"\u603B\u89C8",link:"/module-tools/plugins/official-list/overview"},{text:"Babel \u63D2\u4EF6",link:"/module-tools/plugins/official-list/plugin-babel"},{text:"Banner \u63D2\u4EF6",link:"/module-tools/plugins/official-list/plugin-banner"},{text:"Import \u63D2\u4EF6",link:"/module-tools/plugins/official-list/plugin-import"},{text:"Node Polyfill \u63D2\u4EF6",link:"/module-tools/plugins/official-list/plugin-node-polyfill"},{text:"Polyfill \u63D2\u4EF6",link:"/module-tools/plugins/official-list/plugin-polyfill"},{text:"Vue \u63D2\u4EF6",link:"/module-tools/plugins/official-list/plugin-vue"}],collapsed:!1,collapsible:!0}]}},{lang:"en",label:"English",nav:[{text:"Guide",link:"/en/guide/intro/welcome",activeMatch:"^/guide/"},{text:"API",link:"/en/api/",activeMatch:"^/api/"},{text:"Plugins",link:"/en/plugins/guide/getting-started",activeMatch:"^/plugins/"},{text:"v2.47.0",items:[{text:"Changelog",link:"https://github.com/web-infra-dev/modern.js/tree/main/packages/solutions/module-tools/CHANGELOG.md"},{text:"Contributing",link:"https://modernjs.dev/en/community/contributing-guide.html"}]}],title:"Modern.js Module",description:"Module Engineering Solutions",sidebar:{"/en/api/":[{text:"Overview",link:"/module-tools/en/api/"},{text:"Config",link:"",items:[{text:"buildConfig",link:"/module-tools/en/api/config/build-config"},{text:"buildPreset",link:"/module-tools/en/api/config/build-preset"},{text:"dev",link:"/module-tools/en/api/config/dev"},{text:"plugins",link:"/module-tools/en/api/config/plugins"},{text:"testing",link:"/module-tools/en/api/config/testing"}],collapsed:!1,collapsible:!0},{text:"Plugin API",link:"",items:[{text:"Plugin Hooks",link:"/module-tools/en/api/plugin-api/plugin-hooks"}],collapsed:!1,collapsible:!0}],"/en/guide/":[{text:"Introduction",link:"",items:[{text:"Welcome to Modern.js Module",link:"/module-tools/en/guide/intro/welcome"},{text:"Why you need Modern.js Module",link:"/module-tools/en/guide/intro/why-module-engineering-solution"},{text:"Quick Start",link:"/module-tools/en/guide/intro/getting-started"}],collapsed:!1,collapsible:!0},{text:"Basic Guide",link:"",items:[{text:"Before you start",link:"/module-tools/en/guide/basic/before-getting-started"},{text:"CLI Commands",link:"/module-tools/en/guide/basic/command-preview"},{text:"Modify the output",link:"/module-tools/en/guide/basic/modify-output-product"},{text:"Using the Microgenerator",link:"/module-tools/en/guide/basic/use-micro-generator"},{text:"Developing Module documentation",link:"/module-tools/en/guide/basic/use-module-doc"},{text:"Using Storybook",link:"/module-tools/en/guide/basic/using-storybook"},{text:"Testing Projects",link:"/module-tools/en/guide/basic/test-your-project"},{text:"Versioning and Publishing",link:"/module-tools/en/guide/basic/publish-your-project"}],collapsed:!1,collapsible:!0},{text:"Advanced Guide",link:"",items:[{text:"In-depth understanding of build",link:"/module-tools/en/guide/advance/in-depth-about-build"},{text:"In-depth understanding of the dev command",link:"/module-tools/en/guide/advance/in-depth-about-dev-command"},{text:"Use the Copy Tools",link:"/module-tools/en/guide/advance/copy"},{text:"Handle third-party dependencies",link:"/module-tools/en/guide/advance/external-dependency"},{text:"Build umd artifacts",link:"/module-tools/en/guide/advance/build-umd"},{text:"Handle static assets",link:"/module-tools/en/guide/advance/asset"}],collapsed:!1,collapsible:!0},{text:"Best practices",link:"",items:[{text:"Developing Components",link:"/module-tools/en/guide/best-practices/components"},{text:"Using Tailwind CSS",link:"/module-tools/en/guide/best-practices/use-tailwindcss"}],collapsed:!1,collapsible:!0},{text:"FAQ",link:"/module-tools/en/guide/faq/",items:[{text:"General Questions",link:"/module-tools/en/guide/faq/basic"},{text:"Build FAQ",link:"/module-tools/en/guide/faq/build"},{text:"Storybook FAQ",link:"/module-tools/en/guide/faq/storybook"},{text:"Test FAQ",link:"/module-tools/en/guide/faq/test"}],collapsed:!1,collapsible:!0}],"/en/plugins/":[{text:"Guide",link:"",items:[{text:"Quick Start",link:"/module-tools/en/plugins/guide/getting-started"},{text:"Plugin Object",link:"/module-tools/en/plugins/guide/plugin-object"},{text:"Setup function",link:"/module-tools/en/plugins/guide/setup-function"}],collapsed:!1,collapsible:!0},{text:"Plugins List",link:"",items:[{text:"Overview",link:"/module-tools/en/plugins/official-list/overview"},{text:"Babel Plugin",link:"/module-tools/en/plugins/official-list/plugin-babel"},{text:"Banner Plugin",link:"/module-tools/en/plugins/official-list/plugin-banner"},{text:"Import Plugin",link:"/module-tools/en/plugins/official-list/plugin-import"},{text:"Node Polyfill Plugin",link:"/module-tools/en/plugins/official-list/plugin-node-polyfill"},{text:"Polyfill Plugin",link:"/module-tools/en/plugins/official-list/plugin-polyfill"},{text:"Vue Plugin",link:"/module-tools/en/plugins/official-list/plugin-vue"}],collapsed:!1,collapsible:!0}]}}],logo:"",ssg:!0,multiVersion:{default:"",versions:[]},search:{mode:"local"},pages:[{title:"buildConfig",routePath:"/module-tools/en/api/config/build-config",lang:"en",toc:[{text:"alias",id:"alias",depth:2,charIndex:378},{text:"asset",id:"asset",depth:2,charIndex:1054},{text:"asset.path",id:"assetpath",depth:2,charIndex:1113},{text:"asset.limit",id:"assetlimit",depth:2,charIndex:1217},{text:"asset.publicPath",id:"assetpublicpath",depth:2,charIndex:1691},{text:"asset.svgr",id:"assetsvgr",depth:2,charIndex:1878},{text:"asset.svgr.include",id:"assetsvgrinclude",depth:2,charIndex:2325},{text:"asset.svgr.exclude",id:"assetsvgrexclude",depth:2,charIndex:2443},{text:"asset.svgr.exportType",id:"assetsvgrexporttype",depth:2,charIndex:2560},{text:"autoExtension",id:"autoextension",depth:2,charIndex:2841},{text:"autoExternal",id:"autoexternal",depth:2,charIndex:4040},{text:"autoExternal.dependencies",id:"autoexternaldependencies",depth:2,charIndex:4548},{text:"autoExternal.peerDependencies",id:"autoexternalpeerdependencies",depth:2,charIndex:4684},{text:"banner",id:"banner",depth:2,charIndex:4815},{text:"buildType",id:"buildtype",depth:2,charIndex:5056},{text:"copy",id:"copy",depth:2,charIndex:5216},{text:"copy.patterns",id:"copypatterns",depth:2,charIndex:5392},{text:"copy.options",id:"copyoptions",depth:2,charIndex:5450},{text:"define",id:"define",depth:2,charIndex:5675},{text:"dts",id:"dts",depth:2,charIndex:6655},{text:"dts.abortOnError",id:"dtsabortonerror",depth:2,charIndex:6778},{text:"dts.distPath",id:"dtsdistpath",depth:2,charIndex:7262},{text:"dts.enableTscBuild",id:"dtsenabletscbuild",depth:2,charIndex:7424},{text:"dts.only",id:"dtsonly",depth:2,charIndex:7851},{text:"dts.tsconfigPath",id:"dtstsconfigpath",depth:2,charIndex:8007},{text:"dts.respectExternal",id:"dtsrespectexternal",depth:2,charIndex:8136},{text:"esbuildOptions",id:"esbuildoptions",depth:2,charIndex:8568},{text:"externalHelpers",id:"externalhelpers",depth:2,charIndex:9747},{text:"externals",id:"externals",depth:2,charIndex:10269},{text:"footer",id:"footer",depth:2,charIndex:10459},{text:"format",id:"format",depth:2,charIndex:10555},{text:"format: esm",id:"format-esm",depth:3,charIndex:10742},{text:"format: cjs",id:"format-cjs",depth:3,charIndex:10882},{text:"format: iife",id:"format-iife",depth:3,charIndex:11078},{text:"format: umd",id:"format-umd",depth:3,charIndex:11372},{text:"hooks",id:"hooks",depth:2,charIndex:11675},{text:"input",id:"input",depth:2,charIndex:12162},{text:"jsx",id:"jsx",depth:2,charIndex:13191},{text:"metafile",id:"metafile",depth:2,charIndex:13726},{text:"minify",id:"minify",depth:2,charIndex:14155},{text:"outDir",id:"outdir",depth:2,charIndex:14298},{text:"platform",id:"platform",depth:2,charIndex:14392},{text:"redirect",id:"redirect",depth:2,charIndex:14623},{text:"resolve",id:"resolve",depth:2,charIndex:15139},{text:"resolve.mainFields",id:"resolvemainfields",depth:3,charIndex:15184},{text:"resolve.jsExtentions",id:"resolvejsextentions",depth:3,charIndex:15679},{text:"shims",id:"shims",depth:2,charIndex:16144},{text:"sideEffects",id:"sideeffects",depth:2,charIndex:16565},{text:"sourceDir",id:"sourcedir",depth:2,charIndex:17414},{text:"sourceMap",id:"sourcemap",depth:2,charIndex:17672},{text:"sourceType",id:"sourcetype",depth:2,charIndex:17783},{text:"splitting",id:"splitting",depth:2,charIndex:18010},{text:"style",id:"style",depth:2,charIndex:18173},{text:"style.less",id:"styleless",depth:2,charIndex:18221},{text:"style.less.lessOptions",id:"stylelesslessoptions",depth:2,charIndex:18263},{text:"style.less.additionalData",id:"stylelessadditionaldata",depth:2,charIndex:18388},{text:"style.less.implementation",id:"stylelessimplementation",depth:2,charIndex:18509},{text:"style.sass",id:"stylesass",depth:2,charIndex:18854},{text:"style.sass.sassOptions",id:"stylesasssassoptions",depth:2,charIndex:18897},{text:"style.sass.additionalData",id:"stylesassadditionaldata",depth:2,charIndex:19003},{text:"style.sass.implementation",id:"stylesassimplementation",depth:2,charIndex:19135},{text:"style.postcss",id:"stylepostcss",depth:2,charIndex:19475},{text:"style.inject",id:"styleinject",depth:2,charIndex:19823},{text:"style.autoModules",id:"styleautomodules",depth:2,charIndex:20836},{text:"style.modules",id:"stylemodules",depth:2,charIndex:21183},{text:"style.tailwindcss",id:"styletailwindcss",depth:2,charIndex:21483},{text:"Enabling Tailwind CSS",id:"enabling-tailwind-css",depth:3,charIndex:21597},{text:"Type",id:"type",depth:3,charIndex:21806},{text:"Notes",id:"notes",depth:3,charIndex:22111},{text:"target",id:"target",depth:2,charIndex:22694},{text:"transformImport",id:"transformimport",depth:2,charIndex:23058},{text:"transformLodash",id:"transformlodash",depth:2,charIndex:23414},{text:"tsconfig",id:"tsconfig",depth:2,charIndex:23915},{text:"umdGlobals",id:"umdglobals",depth:2,charIndex:24020},{text:"umdModuleName",id:"umdmodulename",depth:2,charIndex:24331}],frontmatter:{sidebar_position:1},version:"",_relativePath:"en/api/config/build-config.mdx"},{title:"buildPreset",routePath:"/module-tools/en/api/config/build-preset",lang:"en",toc:[{text:"npm-library",id:"npm-library",depth:3,charIndex:118},{text:"npm-library-with-umd",id:"npm-library-with-umd",depth:3,charIndex:392},{text:"npm-component",id:"npm-component",depth:3,charIndex:646},{text:"npm-component-with-umd",id:"npm-component-with-umd",depth:3,charIndex:1084},{text:"npm-library-{es5...esnext}",id:"npm-library-es5esnext",depth:3,charIndex:1289},{text:"string / function",id:"string--function",depth:2,charIndex:1651}],frontmatter:{sidebar_position:2},version:"",_relativePath:"en/api/config/build-preset.mdx"},{title:"dev",routePath:"/module-tools/en/api/config/dev",lang:"en",toc:[{text:"storybook",id:"storybook",depth:2,charIndex:93},{text:"storybook.webpack",id:"storybookwebpack",depth:3,charIndex:239},{text:"Configure Manager App",id:"configure-manager-app",depth:4,charIndex:506},{text:"storybook.webpackChain",id:"storybookwebpackchain",depth:3,charIndex:686}],frontmatter:{sidebar_position:3},version:"",_relativePath:"en/api/config/dev.md"},{title:"plugins",routePath:"/module-tools/en/api/config/plugins",lang:"en",toc:[{text:"Plugin Execution Order",id:"plugin-execution-order",depth:2,charIndex:140},{text:"Developing Plugins",id:"developing-plugins",depth:2,charIndex:584},{text:"Example",id:"example",depth:2,charIndex:680},{text:"Using Plugins from npm",id:"using-plugins-from-npm",depth:3,charIndex:691},{text:"Using Local Plugins",id:"using-local-plugins",depth:4,charIndex:837},{text:"Plugin Configuration",id:"plugin-configuration",depth:3,charIndex:960}],frontmatter:{sidebar_position:4},version:"",_relativePath:"en/api/config/plugins.md"},{title:"testing",routePath:"/module-tools/en/api/config/testing",lang:"en",toc:[{text:"jest",id:"jest",depth:2,charIndex:133},{text:"transformer",id:"transformer",depth:2,charIndex:482}],frontmatter:{sidebar_position:5},version:"",_relativePath:"en/api/config/testing.md"},{title:"Overview",routePath:"/module-tools/en/api/",lang:"en",toc:[],frontmatter:{overview:!0,sidebar_label:"Overview",sidebar_position:1},version:"",_relativePath:"en/api/index.md"},{title:"Plugin Hooks",routePath:"/module-tools/en/api/plugin-api/plugin-hooks",lang:"en",toc:[{text:"Config hooks",id:"config-hooks",depth:2,charIndex:509},{text:"resolveModuleUserConfig",id:"resolvemoduleuserconfig",depth:3,charIndex:525},{text:"build hooks",id:"build-hooks",depth:2,charIndex:596},{text:"beforeBuild",id:"beforebuild",depth:3,charIndex:758},{text:"beforeBuildTask",id:"beforebuildtask",depth:3,charIndex:936},{text:"afterBuildTask",id:"afterbuildtask",depth:3,charIndex:1231},{text:"afterBuild",id:"afterbuild",depth:3,charIndex:1361},{text:"buildPlatform hooks",id:"buildplatform-hooks",depth:2,charIndex:1494},{text:"registerBuildPlatform",id:"registerbuildplatform",depth:3,charIndex:1908},{text:"beforeBuildPlatform",id:"beforebuildplatform",depth:3,charIndex:2079},{text:"buildPlatform",id:"buildplatform",depth:3,charIndex:2319},{text:"afterBuildPlatform",id:"afterbuildplatform",depth:3,charIndex:2545},{text:"Dev Hooks",id:"dev-hooks",depth:2,charIndex:2796},{text:"registerDev",id:"registerdev",depth:3,charIndex:3271},{text:"beforeDev",id:"beforedev",depth:3,charIndex:3646},{text:"(before|after)DevMenu",id:"beforeafterdevmenu",depth:3,charIndex:3797},{text:"beforeDevTask",id:"beforedevtask",depth:3,charIndex:4054},{text:"afterDev",id:"afterdev",depth:3,charIndex:4162}],frontmatter:{},version:"",_relativePath:"en/api/plugin-api/plugin-hooks.md"},{title:"",routePath:"/module-tools/en/components/faq-build-exception",lang:"en",toc:[],frontmatter:{},version:"",_relativePath:"en/components/faq-build-exception.mdx"},{title:"",routePath:"/module-tools/en/components/faq-build-other",lang:"en",toc:[],frontmatter:{},version:"",_relativePath:"en/components/faq-build-other.mdx"},{title:"",routePath:"/module-tools/en/components/faq-build-product",lang:"en",toc:[],frontmatter:{},version:"",_relativePath:"en/components/faq-build-product.mdx"},{title:"",routePath:"/module-tools/en/components/faq-storybook",lang:"en",toc:[],frontmatter:{},version:"",_relativePath:"en/components/faq-storybook.mdx"},{title:"",routePath:"/module-tools/en/components/faq-test",lang:"en",toc:[],frontmatter:{},version:"",_relativePath:"en/components/faq-test.mdx"},{title:"",routePath:"/module-tools/en/components/publish-emo",lang:"en",toc:[],frontmatter:{},version:"",_relativePath:"en/components/publish-emo.mdx"},{title:"",routePath:"/module-tools/en/components/register-esbuild-plugin",lang:"en",toc:[],frontmatter:{},version:"",_relativePath:"en/components/register-esbuild-plugin.mdx"},{title:"",routePath:"/module-tools/en/components/release-module-doc",lang:"en",toc:[],frontmatter:{},version:"",_relativePath:"en/components/release-module-doc.mdx"},{title:"Handle static assets",routePath:"/module-tools/en/guide/advance/asset",lang:"en",toc:[{text:"Default behavior",id:"default-behavior",depth:2,charIndex:139},{text:"Example",id:"example",depth:2,charIndex:571}],frontmatter:{sidebar_position:6},version:"",_relativePath:"en/guide/advance/asset.mdx"},{title:"Build umd artifacts",routePath:"/module-tools/en/guide/advance/build-umd",lang:"en",toc:[{text:"Third-party dependency handling for umd artifacts",id:"third-party-dependency-handling-for-umd-artifacts",depth:2,charIndex:412},{text:"Example",id:"example",depth:3,charIndex:716},{text:"Global variable names of third-party dependencies",id:"global-variable-names-of-third-party-dependencies",depth:3,charIndex:1171},{text:"Changing the name of a global variable in a project",id:"changing-the-name-of-a-global-variable-in-a-project",depth:2,charIndex:1831}],frontmatter:{sidebar_position:5},version:"",_relativePath:"en/guide/advance/build-umd.mdx"},{title:"Use the Copy Tools",routePath:"/module-tools/en/guide/advance/copy",lang:"en",toc:[{text:"Understanding the Copy API",id:"understanding-the-copy-api",depth:2,charIndex:171},{text:"API Description",id:"api-description",depth:2,charIndex:335},{text:"Examples of Different Scenarios",id:"examples-of-different-scenarios",depth:2,charIndex:1783},{text:"Copying Files",id:"copying-files",depth:3,charIndex:1818},{text:"Copying Files to a Directory",id:"copying-files-to-a-directory",depth:3,charIndex:1837},{text:"Copying from Directory to Directory",id:"copying-from-directory-to-directory",depth:3,charIndex:1871},{text:"Copying from Directory to File",id:"copying-from-directory-to-file",depth:3,charIndex:1912},{text:"Using Glob",id:"using-glob",depth:3,charIndex:1948}],frontmatter:{sidebar_position:3},version:"",_relativePath:"en/guide/advance/copy.md"},{title:"Handle third-party dependencies",routePath:"/module-tools/en/guide/advance/external-dependency",lang:"en",toc:[{text:"Default handling of third-party dependencies",id:"default-handling-of-third-party-dependencies",depth:2,charIndex:811},{text:"Example",id:"example",depth:3,charIndex:1373},{text:"Exclude specified third-party dependencies",id:"exclude-specified-third-party-dependencies",depth:2,charIndex:1643}],frontmatter:{sidebar_position:4},version:"",_relativePath:"en/guide/advance/external-dependency.mdx"},{title:"In-depth understanding of build",routePath:"/module-tools/en/guide/advance/in-depth-about-build",lang:"en",toc:[{text:"bundle / bundleless",id:"bundle--bundleless",depth:2,charIndex:497},{text:"input / sourceDir",id:"input--sourcedir",depth:2,charIndex:1681},{text:"use swc",id:"use-swc",depth:2,charIndex:2845},{text:"Using Hooks to Intervene in the Build Process",id:"using-hooks-to-intervene-in-the-build-process",depth:2,charIndex:3803},{text:"Hook type",id:"hook-type",depth:3,charIndex:4183},{text:"AsyncSeriesBailHook",id:"asyncseriesbailhook",depth:4,charIndex:4195},{text:"AsyncSeriesWaterFallHooks",id:"asyncserieswaterfallhooks",depth:4,charIndex:4334},{text:"Hook API",id:"hook-api",depth:3,charIndex:4431},{text:"load",id:"load",depth:4,charIndex:4442},{text:"transform",id:"transform",depth:4,charIndex:4626},{text:"renderChunk",id:"renderchunk",depth:4,charIndex:4837},{text:"dts",id:"dts",depth:2,charIndex:5071},{text:"Turn off type generation",id:"turn-off-type-generation",depth:3,charIndex:5154},{text:"Build type files",id:"build-type-files",depth:3,charIndex:5357},{text:"Alias Conversion",id:"alias-conversion",depth:3,charIndex:6424},{text:"Some examples of the use of dts",id:"some-examples-of-the-use-of-dts",depth:3,charIndex:6683},{text:"Build process",id:"build-process",depth:2,charIndex:6764},{text:"Build errors",id:"build-errors",depth:2,charIndex:7057},{text:"Debug mode",id:"debug-mode",depth:2,charIndex:7582}],frontmatter:{sidebar_position:1},version:"",_relativePath:"en/guide/advance/in-depth-about-build.md"},{title:"In-depth understanding of the dev command",routePath:"/module-tools/en/guide/advance/in-depth-about-dev-command",lang:"en",toc:[{text:"The overall flow of the command run",id:"the-overall-flow-of-the-command-run",depth:2,charIndex:92},{text:"Extending the dev command",id:"extending-the-dev-command",depth:2,charIndex:806}],frontmatter:{sidebar_position:2},version:"",_relativePath:"en/guide/advance/in-depth-about-dev-command.md"},{title:"Before you start",routePath:"/module-tools/en/guide/basic/before-getting-started",lang:"en",toc:[{text:"Environment preparation",id:"environment-preparation",depth:2,charIndex:3},{text:"Getting Started with npm",id:"getting-started-with-npm",depth:2,charIndex:424},{text:"npm package type project",id:"npm-package-type-project",depth:2,charIndex:906},{text:"Using third-party npm packages",id:"using-third-party-npm-packages",depth:2,charIndex:1922},{text:"Other npm bits and pieces to know",id:"other-npm-bits-and-pieces-to-know",depth:2,charIndex:3606},{text:"Program entry for npm packages",id:"program-entry-for-npm-packages",depth:3,charIndex:3643},{text:"scripts",id:"scripts",depth:3,charIndex:4528},{text:"npm install",id:"npm-install",depth:4,charIndex:5252},{text:"npm publish",id:"npm-publish",depth:4,charIndex:5613},{text:"peerDependencies",id:"peerdependencies",depth:3,charIndex:5883},{text:"npm package manager",id:"npm-package-manager",depth:2,charIndex:6585},{text:"Modern.js Module configuration file",id:"modernjs-module-configuration-file",depth:2,charIndex:6850}],frontmatter:{sidebar_position:1},version:"",_relativePath:"en/guide/basic/before-getting-started.md"},{title:"CLI Commands",routePath:"/module-tools/en/guide/basic/command-preview",lang:"en",toc:[{text:"modern build",id:"modern-build",depth:2,charIndex:73},{text:"modern new",id:"modern-new",depth:2,charIndex:372},{text:"modern dev",id:"modern-dev",depth:2,charIndex:754},{text:"modern test",id:"modern-test",depth:2,charIndex:1181},{text:"modern lint",id:"modern-lint",depth:2,charIndex:1412},{text:"modern change",id:"modern-change",depth:2,charIndex:1693},{text:"modern pre",id:"modern-pre",depth:2,charIndex:1802},{text:"modern bump",id:"modern-bump",depth:2,charIndex:1908},{text:"modern release",id:"modern-release",depth:2,charIndex:2077},{text:"modern gen-release-note",id:"modern-gen-release-note",depth:2,charIndex:2253},{text:"modern upgrade",id:"modern-upgrade",depth:2,charIndex:2433}],frontmatter:{sidebar_position:2},version:"",_relativePath:"en/guide/basic/command-preview.md"},{title:"Modify the output",routePath:"/module-tools/en/guide/basic/modify-output-product",lang:"en",toc:[{text:"Default output artifacts",id:"default-output-artifacts",depth:2,charIndex:3},{text:"buildPreset",id:"buildpreset",depth:2,charIndex:818},{text:"buildConfig",id:"buildconfig",depth:2,charIndex:1639},{text:"Combining Configuration and Presets",id:"combining-configuration-and-presets",depth:2,charIndex:4390}],frontmatter:{sidebar_position:3},version:"",_relativePath:"en/guide/basic/modify-output-product.md"},{title:"Versioning and Publishing",routePath:"/module-tools/en/guide/basic/publish-your-project",lang:"en",toc:[{text:"Tracking changes",id:"tracking-changes",depth:2,charIndex:613},{text:"Version update",id:"version-update",depth:2,charIndex:1358},{text:"Publish",id:"publish",depth:2,charIndex:1783},{text:"Pre-releases",id:"pre-releases",depth:2,charIndex:2471}],frontmatter:{sidebar_position:7},version:"",_relativePath:"en/guide/basic/publish-your-project.mdx"},{title:"Testing Projects",routePath:"/module-tools/en/guide/basic/test-your-project",lang:"en",toc:[{text:"Prerequisites and conventions",id:"prerequisites-and-conventions",depth:2,charIndex:52},{text:"Run the tests",id:"run-the-tests",depth:2,charIndex:745},{text:"Usage Configuration",id:"usage-configuration",depth:2,charIndex:954},{text:"Test example",id:"test-example",depth:2,charIndex:1099},{text:"Common modules",id:"common-modules",depth:3,charIndex:1115},{text:"Components",id:"components",depth:3,charIndex:1461}],frontmatter:{sidebar_position:6},version:"",_relativePath:"en/guide/basic/test-your-project.mdx"},{title:"Using the Microgenerator",routePath:"/module-tools/en/guide/basic/use-micro-generator",lang:"en",toc:[{text:"Develop Module Doc",id:"develop-module-doc",depth:2,charIndex:431},{text:"Test",id:"test",depth:2,charIndex:895},{text:"Storybook",id:"storybook",depth:2,charIndex:1319},{text:"Tailwind CSS Support",id:"tailwind-css-support",depth:2,charIndex:1667},{text:"Modern.js Runtime API",id:"modernjs-runtime-api",depth:2,charIndex:1952}],frontmatter:{sidebar_position:4},version:"",_relativePath:"en/guide/basic/use-micro-generator.md"},{title:"Developing Module documentation",routePath:"/module-tools/en/guide/basic/use-module-doc",lang:"en",toc:[{text:"Before we start",id:"before-we-start",depth:2,charIndex:98},{text:"Why we need to build a documentation site for a module",id:"why-we-need-to-build-a-documentation-site-for-a-module",depth:3,charIndex:117},{text:"Preliminary preparation",id:"preliminary-preparation",depth:3,charIndex:451},{text:"Basic site structure",id:"basic-site-structure",depth:2,charIndex:686},{text:"Configure sidebar",id:"configure-sidebar",depth:3,charIndex:1493},{text:"Writing Documentation",id:"writing-documentation",depth:2,charIndex:2109},{text:"Component preview",id:"component-preview",depth:2,charIndex:2329},{text:"Example",id:"example",depth:3,charIndex:2514},{text:"Mobile Preview",id:"mobile-preview",depth:3,charIndex:3122},{text:"Using external demos",id:"using-external-demos",depth:3,charIndex:3452},{text:"Using built-in components",id:"using-built-in-components",depth:2,charIndex:3692},{text:"API",id:"api",depth:3,charIndex:3838},{text:"Parse file",id:"parse-file",depth:4,charIndex:3884},{text:"Content generation",id:"content-generation",depth:4,charIndex:3982},{text:"Using the component",id:"using-the-component",depth:4,charIndex:5006},{text:"Overview",id:"overview",depth:3,charIndex:5155},{text:"Plugin options",id:"plugin-options",depth:2,charIndex:5676},{text:"apiParseTool",id:"apiparsetool",depth:3,charIndex:5694},{text:"doc",id:"doc",depth:3,charIndex:5818},{text:"entries",id:"entries",depth:3,charIndex:5834},{text:"iframePosition",id:"iframeposition",depth:3,charIndex:6041},{text:"parseToolOptions",id:"parsetooloptions",depth:3,charIndex:6321},{text:"previewMode",id:"previewmode",depth:3,charIndex:6409},{text:"deprecated: languages",id:"deprecated-languages",depth:3,charIndex:6600},{text:"deprecated: useModuleSidebar",id:"deprecated-usemodulesidebar",depth:3,charIndex:6747},{text:"Scripts",id:"scripts",depth:2,charIndex:6968},{text:"Advanced guide",id:"advanced-guide",depth:2,charIndex:7131}],frontmatter:{sidebar_position:5},version:"",_relativePath:"en/guide/basic/use-module-doc.mdx"},{title:"Using Storybook",routePath:"/module-tools/en/guide/basic/using-storybook",lang:"en",toc:[{text:"V7 (Recommended)",id:"v7-recommended",depth:2,charIndex:511},{text:"Enable Storybook",id:"enable-storybook",depth:3,charIndex:531},{text:"Enable Debug output",id:"enable-debug-output",depth:3,charIndex:985},{text:"Enable Rspack build",id:"enable-rspack-build",depth:3,charIndex:2036},{text:"Configurations",id:"configurations",depth:3,charIndex:2361},{text:"bundler",id:"bundler",depth:4,charIndex:2441},{text:"builderConfig",id:"builderconfig",depth:4,charIndex:2579},{text:"Command",id:"command",depth:3,charIndex:2782},{text:"storybook dev",id:"storybook-dev",depth:4,charIndex:2850},{text:"storybook build",id:"storybook-build",depth:4,charIndex:2890},{text:"Migrate from V6 to V7",id:"migrate-from-v6-to-v7",depth:2,charIndex:2948},{text:"V6 (legacy)",id:"v6-legacy",depth:2,charIndex:3767},{text:"Start Storybook",id:"start-storybook",depth:3,charIndex:4013},{text:"Configure Storybook",id:"configure-storybook",depth:3,charIndex:4352},{text:"Build Storybook Output",id:"build-storybook-output",depth:3,charIndex:5092}],frontmatter:{sidebar_position:5},version:"",_relativePath:"en/guide/basic/using-storybook.mdx"},{title:"Developing Components",routePath:"/module-tools/en/guide/best-practices/components",lang:"en",toc:[{text:"Initialize the project",id:"initialize-the-project",depth:2,charIndex:93},{text:"Debugging code with Storybook",id:"debugging-code-with-storybook",depth:2,charIndex:406},{text:"Developing Styles",id:"developing-styles",depth:2,charIndex:505},{text:"CSS/PostCSS",id:"csspostcss",depth:3,charIndex:711},{text:"Less",id:"less",depth:3,charIndex:1098},{text:"Sass/Scss",id:"sassscss",depth:3,charIndex:1251},{text:"Tailwind CSS",id:"tailwind-css",depth:3,charIndex:1414},{text:"CSS Modules",id:"css-modules",depth:3,charIndex:1488},{text:"Configuring build artifacts",id:"configuring-build-artifacts",depth:2,charIndex:1852},{text:"Testing components",id:"testing-components",depth:2,charIndex:2666},{text:"Releasing components",id:"releasing-components",depth:2,charIndex:2769}],frontmatter:{sidebar_position:1},version:"",_relativePath:"en/guide/best-practices/components.mdx"},{title:"Using Tailwind CSS",routePath:"/module-tools/en/guide/best-practices/use-tailwindcss",lang:"en",toc:[{text:"Enabling Tailwind CSS",id:"enabling-tailwind-css",depth:2,charIndex:252},{text:"Configuring Tailwind CSS",id:"configuring-tailwind-css",depth:2,charIndex:1105},{text:"Tailwind CSS Autocomplete",id:"tailwind-css-autocomplete",depth:3,charIndex:1889},{text:"Build Modes",id:"build-modes",depth:2,charIndex:2460},{text:"Bundle Mode",id:"bundle-mode",depth:3,charIndex:2728},{text:"Bundleless Mode",id:"bundleless-mode",depth:3,charIndex:3091},{text:"Class Name Prefix",id:"class-name-prefix",depth:2,charIndex:3254},{text:"Usage Guide",id:"usage-guide",depth:2,charIndex:3641},{text:"HTML Class Names",id:"html-class-names",depth:3,charIndex:3703},{text:"@apply",id:"apply",depth:3,charIndex:3954},{text:"Sass",id:"sass",depth:4,charIndex:4211},{text:"Less",id:"less",depth:4,charIndex:4413},{text:"About designSystem config",id:"about-designsystem-config",depth:2,charIndex:4679}],frontmatter:{sidebar_position:2},version:"",_relativePath:"en/guide/best-practices/use-tailwindcss.mdx"},{title:"General Questions",routePath:"/module-tools/en/guide/faq/basic",lang:"en",toc:[{text:"What is the relationship between Modern.js Module and Rsbuild?",id:"what-is-the-relationship-between-modernjs-module-and-rsbuild",depth:2,charIndex:3},{text:"Can Modern.js Module use webpack plugins or loaders?",id:"can-modernjs-module-use-webpack-plugins-or-loaders",depth:2,charIndex:210}],frontmatter:{},version:"",_relativePath:"en/guide/faq/basic.mdx"},{title:"Build FAQ",routePath:"/module-tools/en/guide/faq/build",lang:"en",toc:[{text:"Product FAQ",id:"product-faq",depth:2,charIndex:301},{text:"Initialization of Class Fields",id:"initialization-of-class-fields",depth:3,charIndex:319},{text:"babel-plugin-lodash treats the introduced lodash as undefined",id:"babel-plugin-lodash-treats-the-introduced-lodash-as-undefined",depth:3,charIndex:1973},{text:"Cannot find module http",id:"cannot-find-module-http",depth:3,charIndex:2581},{text:"Exceptions FAQ",id:"exceptions-faq",depth:2,charIndex:2996},{text:'Dynamic require of \\"react\\" is not supported',id:"dynamic-require-of-react-is-not-supported",depth:3,charIndex:3017},{text:"Problem Description",id:"problem-description",depth:4,charIndex:3065},{text:"Solution",id:"solution",depth:4,charIndex:3293},{text:"Reference Links",id:"reference-links",depth:4,charIndex:3798},{text:"During compilation, an error was reported in the less file of a component library:'Operation on an invalid type'",id:"during-compilation-an-error-was-reported-in-the-less-file-of-a-component-libraryoperation-on-an-invalid-type",depth:3,charIndex:-1},{text:"Bundleless DTS failed",id:"bundleless-dts-failed",depth:3,charIndex:4566},{text:"Bundle DTS failed",id:"bundle-dts-failed",depth:3,charIndex:5212},{text:'Error reported for defineConfig function type: If there is no reference to "..." then the inferred type of "default" cannot be named',id:"error-reported-for-defineconfig-function-type-if-there-is-no-reference-to--then-the-inferred-type-of-default-cannot-be-named",depth:3,charIndex:-1},{text:"Other FAQ",id:"other-faq",depth:2,charIndex:5964},{text:"How to skip the pre-processing of less/scss files with bundleless",id:"how-to-skip-the-pre-processing-of-lessscss-files-with-bundleless",depth:3,charIndex:5980},{text:"Add additional compilation feature",id:"add-additional-compilation-feature",depth:3,charIndex:6454},{text:"Support for generating TypeScript declaration files for CSS Modules",id:"support-for-generating-typescript-declaration-files-for-css-modules",depth:3,charIndex:7185}],frontmatter:{},version:"",_relativePath:"en/guide/faq/build.mdx"},{title:"FAQ",routePath:"/module-tools/en/guide/faq/",lang:"en",toc:[],frontmatter:{},version:"",_relativePath:"en/guide/faq/index.md"},{title:"Storybook FAQ",routePath:"/module-tools/en/guide/faq/storybook",lang:"en",toc:[{text:"Storybook v7 Support",id:"storybook-v7-support",depth:2,charIndex:6},{text:"Using Storybook Addon or other configurations does not work",id:"using-storybook-addon-or-other-configurations-does-not-work",depth:2,charIndex:107},{text:"Cannot find module \\'react-dom/package.json",id:"cannot-find-module-react-dompackagejson",depth:2,charIndex:522},{text:"Unable to locate the specific error message",id:"unable-to-locate-the-specific-error-message",depth:2,charIndex:684},{text:"Can`t find any stories is your Storybook",id:"cant-find-any-stories-is-your-storybook",depth:2,charIndex:903},{text:"Storybook Adds Proxy Functionality",id:"storybook-adds-proxy-functionality",depth:2,charIndex:1203}],frontmatter:{},version:"",_relativePath:"en/guide/faq/storybook.mdx"},{title:"Test FAQ",routePath:"/module-tools/en/guide/faq/test",lang:"en",toc:[{text:"Execute test command with an error TypeError: Cannot read property 'testEnvironmentOptions' of undefined",id:"execute-test-command-with-an-error-typeerror-cannot-read-property-testenvironmentoptions-of-undefined",depth:3,charIndex:-1}],frontmatter:{},version:"",_relativePath:"en/guide/faq/test.mdx"},{title:"Quick Start",routePath:"/module-tools/en/guide/intro/getting-started",lang:"en",toc:[{text:"3 minute demo",id:"3-minute-demo",depth:2,charIndex:3},{text:"Create new project",id:"create-new-project",depth:3,charIndex:209},{text:"Add to an existing project",id:"add-to-an-existing-project",depth:3,charIndex:855},{text:"Core npm Package",id:"core-npm-package",depth:3,charIndex:1577},{text:"View official example",id:"view-official-example",depth:3,charIndex:2272},{text:"Let\\'s get started",id:"lets-get-started",depth:2,charIndex:2407}],frontmatter:{sidebar_position:3},version:"",_relativePath:"en/guide/intro/getting-started.mdx"},{title:"Welcome to Modern.js Module",routePath:"/module-tools/en/guide/intro/welcome",lang:"en",toc:[],frontmatter:{sidebar_position:1},version:"",_relativePath:"en/guide/intro/welcome.md"},{title:"Why you need Modern.js Module",routePath:"/module-tools/en/guide/intro/why-module-engineering-solution",lang:"en",toc:[],frontmatter:{sidebar_position:2},version:"",_relativePath:"en/guide/intro/why-module-engineering-solution.md"},{title:"index",routePath:"/module-tools/en/",lang:"en",toc:[],frontmatter:{pageType:"home",hero:{name:"Modern.js Module",text:"Module engineering solutions",tagline:"simple, powerful, high-performance modern npm package development solution",actions:[{theme:"brand",text:"Welcome",link:"/en/guide/intro/welcome"},{theme:"alt",text:"Quick Start",link:"/en/guide/intro/getting-started"}]},features:[{title:"esbuild: The High Performance JS Bundler",details:"Built on esbuild, the build is extremely fast and gives you the ultimate development experience.",icon:"\uD83D\uDE80"},{title:"Two build modes",details:"Both bundle and bundleless build modes are supported.",icon:"\u2728"},{title:"Out of the box",details:"Develop your npm packages without too much configuration, with built-in presets covering a wide range of scenarios.",icon:"\uD83D\uDEE0\uFE0F"},{title:"Extensible: Provides a powerful plugin mechanism",details:"With its plugin extension mechanism, you can easily extend the capabilities of Modern.js Module.",icon:"\uD83C\uDFA8"},{title:"Storybook: The community popular UI development tool",details:"Integrated with Storybook, you can use it to debug UI.",icon:"\uD83D\uDCE6"},{title:"Jest: Delightful Testing Framework",details:"Jest integration makes it easier to test code\u3002",icon:"\uD83D\uDCD0"}]},version:"",_relativePath:"en/index.md"},{title:"Quick Start",routePath:"/module-tools/en/plugins/guide/getting-started",lang:"en",toc:[],frontmatter:{sidebar_position:1},version:"",_relativePath:"en/plugins/guide/getting-started.mdx"},{title:"Plugin Object",routePath:"/module-tools/en/plugins/guide/plugin-object",lang:"en",toc:[{text:"Plugin type definitions",id:"plugin-type-definitions",depth:2,charIndex:570},{text:"Plugin configuration options",id:"plugin-configuration-options",depth:2,charIndex:741}],frontmatter:{sidebar_position:2},version:"",_relativePath:"en/plugins/guide/plugin-object.mdx"},{title:"Setup function",routePath:"/module-tools/en/plugins/guide/setup-function",lang:"en",toc:[{text:"Plugin API objects",id:"plugin-api-objects",depth:2,charIndex:173},{text:"api.useAppContext",id:"apiuseappcontext",depth:3,charIndex:396},{text:"api.useResolvedConfigContext",id:"apiuseresolvedconfigcontext",depth:3,charIndex:698},{text:"api.useHookRunners",id:"apiusehookrunners",depth:3,charIndex:887},{text:"Asynchronous setup",id:"asynchronous-setup",depth:2,charIndex:993},{text:"Life cycle hooks",id:"life-cycle-hooks",depth:2,charIndex:1434}],frontmatter:{sidebar_position:3},version:"",_relativePath:"en/plugins/guide/setup-function.mdx"},{title:"Overview",routePath:"/module-tools/en/plugins/official-list/overview",lang:"en",toc:[{text:"Official Plugins",id:"official-plugins",depth:2,charIndex:3}],frontmatter:{},version:"",_relativePath:"en/plugins/official-list/overview.md"},{title:"Babel Plugin",routePath:"/module-tools/en/plugins/official-list/plugin-babel",lang:"en",toc:[{text:"Quick start",id:"quick-start",depth:2,charIndex:110},{text:"Install",id:"install",depth:3,charIndex:125},{text:"Register",id:"register",depth:3,charIndex:136},{text:"Config",id:"config",depth:2,charIndex:372}],frontmatter:{},version:"",_relativePath:"en/plugins/official-list/plugin-babel.mdx"},{title:"Banner Plugin",routePath:"/module-tools/en/plugins/official-list/plugin-banner",lang:"en",toc:[{text:"Quick Start",id:"quick-start",depth:2,charIndex:89},{text:"Install",id:"install",depth:3,charIndex:104},{text:"Register",id:"register",depth:3,charIndex:115},{text:"Example",id:"example",depth:2,charIndex:271},{text:"Add copyright information at the top of a JS file",id:"add-copyright-information-at-the-top-of-a-js-file",depth:3,charIndex:282},{text:"Configuration",id:"configuration",depth:2,charIndex:337},{text:"banner",id:"banner",depth:3,charIndex:365},{text:"footer",id:"footer",depth:3,charIndex:505}],frontmatter:{},version:"",_relativePath:"en/plugins/official-list/plugin-banner.mdx"},{title:"Import Plugin",routePath:"/module-tools/en/plugins/official-list/plugin-import",lang:"en",toc:[{text:"Quick Start",id:"quick-start",depth:2,charIndex:230},{text:"Install",id:"install",depth:3,charIndex:245},{text:"Register",id:"register",depth:3,charIndex:256},{text:"Configurations",id:"configurations",depth:2,charIndex:413},{text:"pluginImport",id:"pluginimport",depth:3,charIndex:443},{text:"Notes",id:"notes",depth:2,charIndex:602}],frontmatter:{},version:"",_relativePath:"en/plugins/official-list/plugin-import.mdx"},{title:"Node Polyfill Plugin",routePath:"/module-tools/en/plugins/official-list/plugin-node-polyfill",lang:"en",toc:[{text:"Quick Start",id:"quick-start",depth:2,charIndex:460},{text:"Install",id:"install",depth:3,charIndex:475},{text:"Register",id:"register",depth:3,charIndex:486},{text:"Configurations",id:"configurations",depth:2,charIndex:569},{text:"exclude",id:"exclude",depth:3,charIndex:599},{text:"overrides",id:"overrides",depth:3,charIndex:655},{text:"Node Polyfills",id:"node-polyfills",depth:2,charIndex:708},{text:"Globals",id:"globals",depth:3,charIndex:726},{text:"Modules",id:"modules",depth:3,charIndex:877},{text:"Fallbacks",id:"fallbacks",depth:3,charIndex:1336}],frontmatter:{},version:"",_relativePath:"en/plugins/official-list/plugin-node-polyfill.mdx"},{title:"Polyfill Plugin",routePath:"/module-tools/en/plugins/official-list/plugin-polyfill",lang:"en",toc:[{text:"Quick start",id:"quick-start",depth:2,charIndex:497},{text:"Install",id:"install",depth:3,charIndex:512},{text:"Register",id:"register",depth:3,charIndex:523},{text:"Config",id:"config",depth:2,charIndex:778},{text:"targets",id:"targets",depth:3,charIndex:799}],frontmatter:{},version:"",_relativePath:"en/plugins/official-list/plugin-polyfill.mdx"},{title:"Vue Plugin",routePath:"/module-tools/en/plugins/official-list/plugin-vue",lang:"en",toc:[{text:"Quick start",id:"quick-start",depth:2,charIndex:547},{text:"Install",id:"install",depth:3,charIndex:562},{text:"Register",id:"register",depth:3,charIndex:573},{text:"Options",id:"options",depth:2,charIndex:656},{text:"vueJsxPluginOptions",id:"vuejsxpluginoptions",depth:3,charIndex:667}],frontmatter:{},version:"",_relativePath:"en/plugins/official-list/plugin-vue.mdx"},{title:"buildConfig",routePath:"/module-tools/api/config/build-config",lang:"zh",toc:[{text:"alias",id:"alias",depth:2,charIndex:141},{text:"asset",id:"asset",depth:2,charIndex:483},{text:"asset.path",id:"assetpath",depth:2,charIndex:506},{text:"asset.limit",id:"assetlimit",depth:2,charIndex:577},{text:"asset.publicPath",id:"assetpublicpath",depth:2,charIndex:805},{text:"asset.svgr",id:"assetsvgr",depth:2,charIndex:912},{text:"asset.svgr.include",id:"assetsvgrinclude",depth:2,charIndex:1164},{text:"asset.svgr.exclude",id:"assetsvgrexclude",depth:2,charIndex:1263},{text:"asset.svgr.exportType",id:"assetsvgrexporttype",depth:2,charIndex:1364},{text:"autoExtension",id:"autoextension",depth:2,charIndex:1555},{text:"autoExternal",id:"autoexternal",depth:2,charIndex:2146},{text:"autoExternal.dependencies",id:"autoexternaldependencies",depth:2,charIndex:2423},{text:"autoExternal.peerDependencies",id:"autoexternalpeerdependencies",depth:2,charIndex:2511},{text:"banner",id:"banner",depth:2,charIndex:2607},{text:"buildType",id:"buildtype",depth:2,charIndex:2737},{text:"copy",id:"copy",depth:2,charIndex:2840},{text:"copy.patterns",id:"copypatterns",depth:2,charIndex:2881},{text:"copy.options",id:"copyoptions",depth:2,charIndex:2933},{text:"define",id:"define",depth:2,charIndex:3094},{text:"dts",id:"dts",depth:2,charIndex:3488},{text:"dts.abortOnError",id:"dtsabortonerror",depth:2,charIndex:3550},{text:"dts.distPath",id:"dtsdistpath",depth:2,charIndex:3783},{text:"dts.enableTscBuild",id:"dtsenabletscbuild",depth:2,charIndex:3882},{text:"dts.only",id:"dtsonly",depth:2,charIndex:4105},{text:"dts.respectExternal",id:"dtsrespectexternal",depth:2,charIndex:4185},{text:"dts.tsconfigPath",id:"dtstsconfigpath",depth:2,charIndex:4404},{text:"esbuildOptions",id:"esbuildoptions",depth:2,charIndex:4476},{text:"externalHelpers",id:"externalhelpers",depth:2,charIndex:4982},{text:"externals",id:"externals",depth:2,charIndex:5190},{text:"footer",id:"footer",depth:2,charIndex:5306},{text:"format",id:"format",depth:2,charIndex:5344},{text:"format: esm",id:"format-esm",depth:3,charIndex:5469},{text:"format: cjs",id:"format-cjs",depth:3,charIndex:5548},{text:"format: iife",id:"format-iife",depth:3,charIndex:5646},{text:"format: umd",id:"format-umd",depth:3,charIndex:5747},{text:"hooks",id:"hooks",depth:2,charIndex:5900},{text:"input",id:"input",depth:2,charIndex:6048},{text:"jsx",id:"jsx",depth:2,charIndex:6513},{text:"metafile",id:"metafile",depth:2,charIndex:6836},{text:"minify",id:"minify",depth:2,charIndex:7074},{text:"outDir",id:"outdir",depth:2,charIndex:7194},{text:"platform",id:"platform",depth:2,charIndex:7248},{text:"redirect",id:"redirect",depth:2,charIndex:7382},{text:"resolve",id:"resolve",depth:2,charIndex:7613},{text:"resolve.mainFields",id:"resolvemainfields",depth:3,charIndex:7635},{text:"resolve.jsExtentions",id:"resolvejsextentions",depth:3,charIndex:7952},{text:"shims",id:"shims",depth:2,charIndex:8209},{text:"sideEffects",id:"sideeffects",depth:2,charIndex:8476},{text:"sourceDir",id:"sourcedir",depth:2,charIndex:8918},{text:"sourceMap",id:"sourcemap",depth:2,charIndex:9034},{text:"sourceType",id:"sourcetype",depth:2,charIndex:9121},{text:"splitting",id:"splitting",depth:2,charIndex:9279},{text:"style",id:"style",depth:2,charIndex:9392},{text:"style.less",id:"styleless",depth:2,charIndex:9413},{text:"style.less.lessOptions",id:"stylelesslessoptions",depth:2,charIndex:9439},{text:"style.less.additionalData",id:"stylelessadditionaldata",depth:2,charIndex:9530},{text:"style.less.implementation",id:"stylelessimplementation",depth:2,charIndex:9614},{text:"sass",id:"sass",depth:2,charIndex:9789},{text:"style.sass.sassOptions",id:"stylesasssassoptions",depth:2,charIndex:9809},{text:"style.sass.additionalData",id:"stylesassadditionaldata",depth:2,charIndex:9879},{text:"style.sass.implementation",id:"stylesassimplementation",depth:2,charIndex:9974},{text:"style.postcss",id:"stylepostcss",depth:2,charIndex:10150},{text:"style.inject",id:"styleinject",depth:2,charIndex:10309},{text:"style.autoModules",id:"styleautomodules",depth:2,charIndex:10805},{text:"style.modules",id:"stylemodules",depth:2,charIndex:11039},{text:"style.tailwindcss",id:"styletailwindcss",depth:2,charIndex:11218},{text:"\u542F\u7528 Tailwind CSS",id:"\u542F\u7528-tailwind-css",depth:3,charIndex:11300},{text:"\u7C7B\u578B",id:"\u7C7B\u578B",depth:3,charIndex:11420},{text:"\u6CE8\u610F\u4E8B\u9879",id:"\u6CE8\u610F\u4E8B\u9879",depth:3,charIndex:11551},{text:"target",id:"target",depth:2,charIndex:11841},{text:"transformImport",id:"transformimport",depth:2,charIndex:12007},{text:"transformLodash",id:"transformlodash",depth:2,charIndex:12203},{text:"tsconfig",id:"tsconfig",depth:2,charIndex:12445},{text:"umdGlobals",id:"umdglobals",depth:2,charIndex:12533},{text:"umdModuleName",id:"umdmodulename",depth:2,charIndex:12693}],frontmatter:{sidebar_position:1},version:"",_relativePath:"zh/api/config/build-config.mdx"},{title:"buildPreset",routePath:"/module-tools/api/config/build-preset",lang:"zh",toc:[{text:"npm-library",id:"npm-library",depth:2,charIndex:76},{text:"npm-library-with-umd",id:"npm-library-with-umd",depth:2,charIndex:222},{text:"npm-component",id:"npm-component",depth:2,charIndex:343},{text:"npm-component-with-umd",id:"npm-component-with-umd",depth:2,charIndex:503},{text:"npm-library-{es5...esnext}",id:"npm-library-es5esnext",depth:2,charIndex:610},{text:"string / function",id:"string--function",depth:2,charIndex:835}],frontmatter:{sidebar_position:2},version:"",_relativePath:"zh/api/config/build-preset.mdx"},{title:"dev",routePath:"/module-tools/api/config/dev",lang:"zh",toc:[{text:"storybook",id:"storybook",depth:2,charIndex:43},{text:"storybook.webpack",id:"storybookwebpack",depth:3,charIndex:118},{text:"\u914D\u7F6E Manager App",id:"\u914D\u7F6E-manager-app",depth:4,charIndex:314},{text:"storybook.webpackChain",id:"storybookwebpackchain",depth:3,charIndex:417}],frontmatter:{sidebar_position:3},version:"",_relativePath:"zh/api/config/dev.md"},{title:"plugins",routePath:"/module-tools/api/config/plugins",lang:"zh",toc:[{text:"\u63D2\u4EF6\u6267\u884C\u987A\u5E8F",id:"\u63D2\u4EF6\u6267\u884C\u987A\u5E8F",depth:2,charIndex:79},{text:"\u5F00\u53D1\u63D2\u4EF6",id:"\u5F00\u53D1\u63D2\u4EF6",depth:2,charIndex:221},{text:"\u793A\u4F8B",id:"\u793A\u4F8B",depth:2,charIndex:253},{text:"\u4F7F\u7528 npm \u4E0A\u7684\u63D2\u4EF6",id:"\u4F7F\u7528-npm-\u4E0A\u7684\u63D2\u4EF6",depth:3,charIndex:259},{text:"\u4F7F\u7528\u672C\u5730\u63D2\u4EF6",id:"\u4F7F\u7528\u672C\u5730\u63D2\u4EF6",depth:4,charIndex:316},{text:"\u63D2\u4EF6\u914D\u7F6E\u9879",id:"\u63D2\u4EF6\u914D\u7F6E\u9879",depth:3,charIndex:364}],frontmatter:{sidebar_position:4},version:"",_relativePath:"zh/api/config/plugins.md"},{title:"testing",routePath:"/module-tools/api/config/testing",lang:"zh",toc:[{text:"jest",id:"jest",depth:2,charIndex:55},{text:"transformer",id:"transformer",depth:2,charIndex:202}],frontmatter:{sidebar_position:5},version:"",_relativePath:"zh/api/config/testing.md"},{title:"\u6982\u89C8",routePath:"/module-tools/api/",lang:"zh",toc:[],frontmatter:{overview:!0,sidebar_label:"\u6982\u89C8",sidebar_position:1},version:"",_relativePath:"zh/api/index.md"},{title:"Plugin Hooks",routePath:"/module-tools/api/plugin-api/plugin-hooks",lang:"zh",toc:[{text:"\u914D\u7F6E\u94A9\u5B50",id:"\u914D\u7F6E\u94A9\u5B50",depth:2,charIndex:209},{text:"resolveModuleUserConfig",id:"resolvemoduleuserconfig",depth:3,charIndex:217},{text:"\u6784\u5EFA\u94A9\u5B50",id:"\u6784\u5EFA\u94A9\u5B50",depth:2,charIndex:276},{text:"beforeBuild",id:"beforebuild",depth:3,charIndex:385},{text:"beforeBuildTask",id:"beforebuildtask",depth:3,charIndex:474},{text:"afterBuildTask",id:"afterbuildtask",depth:3,charIndex:579},{text:"afterBuild",id:"afterbuild",depth:3,charIndex:649},{text:"buildPlatform \u94A9\u5B50",id:"buildplatform-\u94A9\u5B50",depth:2,charIndex:713},{text:"registerBuildPlatform",id:"registerbuildplatform",depth:3,charIndex:1028},{text:"beforeBuildPlatform",id:"beforebuildplatform",depth:3,charIndex:1109},{text:"buildPlatform",id:"buildplatform",depth:3,charIndex:1228},{text:"afterBuildPlatform",id:"afterbuildplatform",depth:3,charIndex:1334},{text:"\u8C03\u8BD5\u94A9\u5B50",id:"\u8C03\u8BD5\u94A9\u5B50",depth:2,charIndex:1459},{text:"registerDev",id:"registerdev",depth:3,charIndex:1688},{text:"beforeDev",id:"beforedev",depth:3,charIndex:1825},{text:"(before|after)DevMenu",id:"beforeafterdevmenu",depth:3,charIndex:1886},{text:"beforeDevTask",id:"beforedevtask",depth:3,charIndex:2022},{text:"afterDev",id:"afterdev",depth:3,charIndex:2069}],frontmatter:{},version:"",_relativePath:"zh/api/plugin-api/plugin-hooks.md"},{title:"",routePath:"/module-tools/components/faq-build-exception",lang:"zh",toc:[],frontmatter:{},version:"",_relativePath:"zh/components/faq-build-exception.mdx"},{title:"",routePath:"/module-tools/components/faq-build-other",lang:"zh",toc:[],frontmatter:{},version:"",_relativePath:"zh/components/faq-build-other.mdx"},{title:"",routePath:"/module-tools/components/faq-build-product",lang:"zh",toc:[],frontmatter:{},version:"",_relativePath:"zh/components/faq-build-product.mdx"},{title:"",routePath:"/module-tools/components/faq-storybook",lang:"zh",toc:[],frontmatter:{},version:"",_relativePath:"zh/components/faq-storybook.mdx"},{title:"",routePath:"/module-tools/components/faq-test",lang:"zh",toc:[],frontmatter:{},version:"",_relativePath:"zh/components/faq-test.mdx"},{title:"",routePath:"/module-tools/components/publish-emo",lang:"zh",toc:[],frontmatter:{},version:"",_relativePath:"zh/components/publish-emo.mdx"},{title:"",routePath:"/module-tools/components/register-esbuild-plugin",lang:"zh",toc:[],frontmatter:{},version:"",_relativePath:"zh/components/register-esbuild-plugin.mdx"},{title:"",routePath:"/module-tools/components/release-module-doc",lang:"zh",toc:[],frontmatter:{},version:"",_relativePath:"zh/components/release-module-doc.mdx"},{title:"\u5904\u7406\u9759\u6001\u8D44\u6E90",routePath:"/module-tools/guide/advance/asset",lang:"zh",toc:[{text:"\u9ED8\u8BA4\u884C\u4E3A",id:"\u9ED8\u8BA4\u884C\u4E3A",depth:2,charIndex:74},{text:"\u793A\u4F8B",id:"\u793A\u4F8B",depth:2,charIndex:355}],frontmatter:{sidebar_position:7},version:"",_relativePath:"zh/guide/advance/asset.mdx"},{title:"\u6784\u5EFA umd \u4EA7\u7269",routePath:"/module-tools/guide/advance/build-umd",lang:"zh",toc:[{text:"umd \u4EA7\u7269\u7684\u7B2C\u4E09\u65B9\u4F9D\u8D56\u5904\u7406",id:"umd-\u4EA7\u7269\u7684\u7B2C\u4E09\u65B9\u4F9D\u8D56\u5904\u7406",depth:2,charIndex:181},{text:"\u793A\u4F8B",id:"\u793A\u4F8B",depth:3,charIndex:302},{text:"\u4E09\u65B9\u4F9D\u8D56\u7684\u5168\u5C40\u53D8\u91CF\u540D\u79F0",id:"\u4E09\u65B9\u4F9D\u8D56\u7684\u5168\u5C40\u53D8\u91CF\u540D\u79F0",depth:3,charIndex:556},{text:"\u66F4\u6539\u9879\u76EE\u7684\u5168\u5C40\u53D8\u91CF\u540D\u79F0",id:"\u66F4\u6539\u9879\u76EE\u7684\u5168\u5C40\u53D8\u91CF\u540D\u79F0",depth:2,charIndex:836}],frontmatter:{sidebar_position:5},version:"",_relativePath:"zh/guide/advance/build-umd.mdx"},{title:"\u4F7F\u7528 Copy \u5DE5\u5177",routePath:"/module-tools/guide/advance/copy",lang:"zh",toc:[{text:"\u4E86\u89E3 Copy API",id:"\u4E86\u89E3-copy-api",depth:2,charIndex:72},{text:"API \u8BE6\u89E3",id:"api-\u8BE6\u89E3",depth:2,charIndex:165},{text:"\u4E0D\u540C\u573A\u666F\u4F7F\u7528\u793A\u4F8B",id:"\u4E0D\u540C\u573A\u666F\u4F7F\u7528\u793A\u4F8B",depth:2,charIndex:826},{text:"\u5C06\u6587\u4EF6\u590D\u5236\u6587\u4EF6",id:"\u5C06\u6587\u4EF6\u590D\u5236\u6587\u4EF6",depth:3,charIndex:838},{text:"\u5C06\u6587\u4EF6\u590D\u5236\u5230\u76EE\u5F55",id:"\u5C06\u6587\u4EF6\u590D\u5236\u5230\u76EE\u5F55",depth:3,charIndex:851},{text:"\u4ECE\u76EE\u5F55\u590D\u5236\u5230\u76EE\u5F55",id:"\u4ECE\u76EE\u5F55\u590D\u5236\u5230\u76EE\u5F55",depth:3,charIndex:865},{text:"\u4ECE\u76EE\u5F55\u5230\u6587\u4EF6",id:"\u4ECE\u76EE\u5F55\u5230\u6587\u4EF6",depth:3,charIndex:879},{text:"\u4F7F\u7528 Glob",id:"\u4F7F\u7528-glob",depth:3,charIndex:891}],frontmatter:{sidebar_position:3},version:"",_relativePath:"zh/guide/advance/copy.md"},{title:"\u5904\u7406\u4E09\u65B9\u4F9D\u8D56",routePath:"/module-tools/guide/advance/external-dependency",lang:"zh",toc:[{text:"\u7B2C\u4E09\u65B9\u4F9D\u8D56\u7684\u9ED8\u8BA4\u5904\u7406",id:"\u7B2C\u4E09\u65B9\u4F9D\u8D56\u7684\u9ED8\u8BA4\u5904\u7406",depth:2,charIndex:264},{text:"\u793A\u4F8B",id:"\u793A\u4F8B",depth:3,charIndex:521},{text:"\u6392\u9664\u6307\u5B9A\u7B2C\u4E09\u65B9\u4F9D\u8D56",id:"\u6392\u9664\u6307\u5B9A\u7B2C\u4E09\u65B9\u4F9D\u8D56",depth:2,charIndex:652}],frontmatter:{sidebar_position:4},version:"",_relativePath:"zh/guide/advance/external-dependency.mdx"},{title:"\u6DF1\u5165\u7406\u89E3\u6784\u5EFA",routePath:"/module-tools/guide/advance/in-depth-about-build",lang:"zh",toc:[{text:"bundle / bundleless",id:"bundle--bundleless",depth:2,charIndex:195},{text:"input / sourceDir",id:"input--sourcedir",depth:2,charIndex:732},{text:"\u4F7F\u7528 swc",id:"\u4F7F\u7528-swc",depth:2,charIndex:1281},{text:"\u4F7F\u7528 Hook \u4ECB\u5165\u6784\u5EFA\u6D41\u7A0B",id:"\u4F7F\u7528-hook-\u4ECB\u5165\u6784\u5EFA\u6D41\u7A0B",depth:2,charIndex:1762},{text:"Hook \u7C7B\u578B",id:"hook-\u7C7B\u578B",depth:3,charIndex:1936},{text:"AsyncSeriesBailHook",id:"asyncseriesbailhook",depth:4,charIndex:1946},{text:"AsyncSeriesWaterFallHooks",id:"asyncserieswaterfallhooks",depth:4,charIndex:2048},{text:"Hook API",id:"hook-api",depth:3,charIndex:2117},{text:"load",id:"load",depth:4,charIndex:2128},{text:"transform",id:"transform",depth:4,charIndex:2236},{text:"renderChunk",id:"renderchunk",depth:4,charIndex:2358},{text:"\u7C7B\u578B\u6587\u4EF6\u751F\u6210",id:"\u7C7B\u578B\u6587\u4EF6\u751F\u6210",depth:2,charIndex:2500},{text:"\u5173\u95ED\u7C7B\u578B\u751F\u6210",id:"\u5173\u95ED\u7C7B\u578B\u751F\u6210",depth:3,charIndex:2542},{text:"\u6253\u5305\u7C7B\u578B\u6587\u4EF6",id:"\u6253\u5305\u7C7B\u578B\u6587\u4EF6",depth:3,charIndex:2619},{text:"\u522B\u540D\u8F6C\u6362",id:"\u522B\u540D\u8F6C\u6362",depth:3,charIndex:3090},{text:"\u4E00\u4E9B\u793A\u4F8B",id:"\u4E00\u4E9B\u793A\u4F8B",depth:3,charIndex:3208},{text:"\u6784\u5EFA\u8FC7\u7A0B",id:"\u6784\u5EFA\u8FC7\u7A0B",depth:2,charIndex:3220},{text:"\u6784\u5EFA\u62A5\u9519",id:"\u6784\u5EFA\u62A5\u9519",depth:2,charIndex:3394},{text:"\u8C03\u8BD5\u6A21\u5F0F",id:"\u8C03\u8BD5\u6A21\u5F0F",depth:2,charIndex:3567}],frontmatter:{sidebar_position:1},version:"",_relativePath:"zh/guide/advance/in-depth-about-build.md"},{title:"\u6DF1\u5165\u7406\u89E3 dev \u547D\u4EE4",routePath:"/module-tools/guide/advance/in-depth-about-dev-command",lang:"zh",toc:[{text:"\u547D\u4EE4\u8FD0\u884C\u7684\u6574\u4F53\u6D41\u7A0B",id:"\u547D\u4EE4\u8FD0\u884C\u7684\u6574\u4F53\u6D41\u7A0B",depth:2,charIndex:42},{text:"\u6269\u5C55 dev \u547D\u4EE4",id:"\u6269\u5C55-dev-\u547D\u4EE4",depth:2,charIndex:333}],frontmatter:{sidebar_position:2},version:"",_relativePath:"zh/guide/advance/in-depth-about-dev-command.md"},{title:"\u5F00\u59CB\u4E4B\u524D",routePath:"/module-tools/guide/basic/before-getting-started",lang:"zh",toc:[{text:"\u73AF\u5883\u51C6\u5907",id:"\u73AF\u5883\u51C6\u5907",depth:2,charIndex:3},{text:"\u521D\u8BC6 npm",id:"\u521D\u8BC6-npm",depth:2,charIndex:188},{text:"npm \u5305\u7C7B\u578B\u9879\u76EE",id:"npm-\u5305\u7C7B\u578B\u9879\u76EE",depth:2,charIndex:391},{text:"\u4F7F\u7528\u7B2C\u4E09\u65B9 npm \u5305",id:"\u4F7F\u7528\u7B2C\u4E09\u65B9-npm-\u5305",depth:2,charIndex:818},{text:"\u8FD8\u9700\u8981\u4E86\u89E3\u7684 npm \u96F6\u788E\u77E5\u8BC6",id:"\u8FD8\u9700\u8981\u4E86\u89E3\u7684-npm-\u96F6\u788E\u77E5\u8BC6",depth:2,charIndex:1602},{text:"npm \u5305\u7684\u7A0B\u5E8F\u5165\u53E3",id:"npm-\u5305\u7684\u7A0B\u5E8F\u5165\u53E3",depth:3,charIndex:1621},{text:'\\"scripts\\"',id:"scripts",depth:3,charIndex:2042},{text:"npm install",id:"npm-install",depth:4,charIndex:2403},{text:"npm publish",id:"npm-publish",depth:4,charIndex:2667},{text:"peerDependencies",id:"peerdependencies",depth:3,charIndex:2827},{text:"npm \u5305\u7BA1\u7406\u5668",id:"npm-\u5305\u7BA1\u7406\u5668",depth:2,charIndex:3141},{text:"Modern.js Module \u914D\u7F6E\u6587\u4EF6",id:"modernjs-module-\u914D\u7F6E\u6587\u4EF6",depth:2,charIndex:3249}],frontmatter:{sidebar_position:1},version:"",_relativePath:"zh/guide/basic/before-getting-started.md"},{title:"CLI \u547D\u4EE4",routePath:"/module-tools/guide/basic/command-preview",lang:"zh",toc:[{text:"modern build",id:"modern-build",depth:2,charIndex:39},{text:"modern new",id:"modern-new",depth:2,charIndex:183},{text:"modern dev",id:"modern-dev",depth:2,charIndex:357},{text:"modern test",id:"modern-test",depth:2,charIndex:594},{text:"modern lint",id:"modern-lint",depth:2,charIndex:720},{text:"modern change",id:"modern-change",depth:2,charIndex:854},{text:"modern pre",id:"modern-pre",depth:2,charIndex:923},{text:"modern bump",id:"modern-bump",depth:2,charIndex:973},{text:"modern release",id:"modern-release",depth:2,charIndex:1070},{text:"modern gen-release-note",id:"modern-gen-release-note",depth:2,charIndex:1167},{text:"modern upgrade",id:"modern-upgrade",depth:2,charIndex:1259}],frontmatter:{sidebar_position:2},version:"",_relativePath:"zh/guide/basic/command-preview.md"},{title:"\u4FEE\u6539\u8F93\u51FA\u4EA7\u7269",routePath:"/module-tools/guide/basic/modify-output-product",lang:"zh",toc:[{text:"\u9ED8\u8BA4\u8F93\u51FA\u4EA7\u7269",id:"\u9ED8\u8BA4\u8F93\u51FA\u4EA7\u7269",depth:2,charIndex:3},{text:"\u6784\u5EFA\u9884\u8BBE",id:"\u6784\u5EFA\u9884\u8BBE",depth:2,charIndex:344},{text:"\u6784\u5EFA\u914D\u7F6E",id:"\u6784\u5EFA\u914D\u7F6E",depth:2,charIndex:662},{text:"\u7ED3\u5408\u914D\u7F6E\u4E0E\u9884\u8BBE",id:"\u7ED3\u5408\u914D\u7F6E\u4E0E\u9884\u8BBE",depth:2,charIndex:1950}],frontmatter:{sidebar_position:3},version:"",_relativePath:"zh/guide/basic/modify-output-product.md"},{title:"\u7248\u672C\u7BA1\u7406\u4E0E\u53D1\u5E03",routePath:"/module-tools/guide/basic/publish-your-project",lang:"zh",toc:[{text:"\u8DDF\u8E2A\u53D8\u66F4",id:"\u8DDF\u8E2A\u53D8\u66F4",depth:2,charIndex:234},{text:"\u7248\u672C\u66F4\u65B0",id:"\u7248\u672C\u66F4\u65B0",depth:2,charIndex:522},{text:"\u53D1\u5E03",id:"\u53D1\u5E03",depth:2,charIndex:731},{text:"\u9884\u53D1\u5E03",id:"\u9884\u53D1\u5E03",depth:2,charIndex:1043}],frontmatter:{sidebar_position:7},version:"",_relativePath:"zh/guide/basic/publish-your-project.mdx"},{title:"\u6D4B\u8BD5\u9879\u76EE",routePath:"/module-tools/guide/basic/test-your-project",lang:"zh",toc:[{text:"\u5148\u51B3\u6761\u4EF6\u548C\u7EA6\u5B9A",id:"\u5148\u51B3\u6761\u4EF6\u548C\u7EA6\u5B9A",depth:2,charIndex:21},{text:"\u8FD0\u884C\u6D4B\u8BD5",id:"\u8FD0\u884C\u6D4B\u8BD5",depth:2,charIndex:322},{text:"\u4F7F\u7528\u914D\u7F6E",id:"\u4F7F\u7528\u914D\u7F6E",depth:2,charIndex:399},{text:"\u6D4B\u8BD5\u793A\u4F8B",id:"\u6D4B\u8BD5\u793A\u4F8B",depth:2,charIndex:481},{text:"\u666E\u901A\u6A21\u5757",id:"\u666E\u901A\u6A21\u5757",depth:3,charIndex:489},{text:"\u7EC4\u4EF6",id:"\u7EC4\u4EF6",depth:3,charIndex:650}],frontmatter:{sidebar_position:6},version:"",_relativePath:"zh/guide/basic/test-your-project.mdx"},{title:"\u4F7F\u7528\u5FAE\u751F\u6210\u5668",routePath:"/module-tools/guide/basic/use-micro-generator",lang:"zh",toc:[{text:"\u5F00\u53D1\u6A21\u5757\u6587\u6863",id:"\u5F00\u53D1\u6A21\u5757\u6587\u6863",depth:2,charIndex:166},{text:"Test \u6D4B\u8BD5",id:"test-\u6D4B\u8BD5",depth:2,charIndex:370},{text:"Storybook \u8C03\u8BD5",id:"storybook-\u8C03\u8BD5",depth:2,charIndex:552},{text:"Tailwind CSS \u652F\u6301",id:"tailwind-css-\u652F\u6301",depth:2,charIndex:743},{text:"Modern.js Runtime API \u652F\u6301",id:"modernjs-runtime-api-\u652F\u6301",depth:2,charIndex:891}],frontmatter:{sidebar_position:4},version:"",_relativePath:"zh/guide/basic/use-micro-generator.md"},{title:"\u5F00\u53D1\u6A21\u5757\u6587\u6863",routePath:"/module-tools/guide/basic/use-module-doc",lang:"zh",toc:[{text:"\u5F00\u59CB\u4E4B\u524D",id:"\u5F00\u59CB\u4E4B\u524D",depth:2,charIndex:29},{text:"\u4E3A\u4EC0\u4E48\u6211\u4EEC\u9700\u8981\u4E3A\u6A21\u5757\u642D\u5EFA\u4E00\u4E2A\u6587\u6863\u7AD9\u70B9",id:"\u4E3A\u4EC0\u4E48\u6211\u4EEC\u9700\u8981\u4E3A\u6A21\u5757\u642D\u5EFA\u4E00\u4E2A\u6587\u6863\u7AD9\u70B9",depth:3,charIndex:37},{text:"\u524D\u7F6E\u51C6\u5907",id:"\u524D\u7F6E\u51C6\u5907",depth:3,charIndex:146},{text:"\u7AD9\u70B9\u57FA\u672C\u7ED3\u6784",id:"\u7AD9\u70B9\u57FA\u672C\u7ED3\u6784",depth:2,charIndex:233},{text:"\u914D\u7F6E\u4FA7\u8FB9\u680F",id:"\u914D\u7F6E\u4FA7\u8FB9\u680F",depth:3,charIndex:625},{text:"\u7F16\u5199\u6587\u6863",id:"\u7F16\u5199\u6587\u6863",depth:2,charIndex:830},{text:"\u7EC4\u4EF6\u9884\u89C8",id:"\u7EC4\u4EF6\u9884\u89C8",depth:2,charIndex:916},{text:"\u793A\u4F8B",id:"\u793A\u4F8B",depth:3,charIndex:973},{text:"\u79FB\u52A8\u7AEF\u9884\u89C8",id:"\u79FB\u52A8\u7AEF\u9884\u89C8",depth:3,charIndex:1217},{text:"\u4F7F\u7528\u5916\u90E8 demo",id:"\u4F7F\u7528\u5916\u90E8-demo",depth:3,charIndex:1370},{text:"\u4F7F\u7528\u5185\u7F6E\u7EC4\u4EF6",id:"\u4F7F\u7528\u5185\u7F6E\u7EC4\u4EF6",depth:2,charIndex:1462},{text:"API",id:"api",depth:3,charIndex:1506},{text:"\u89E3\u6790\u6587\u4EF6",id:"\u89E3\u6790\u6587\u4EF6",depth:4,charIndex:1526},{text:"\u5185\u5BB9\u751F\u6210",id:"\u5185\u5BB9\u751F\u6210",depth:4,charIndex:1564},{text:"\u7EC4\u4EF6\u4F7F\u7528",id:"\u7EC4\u4EF6\u4F7F\u7528",depth:4,charIndex:2033},{text:"Overview",id:"overview",depth:3,charIndex:2093},{text:"\u63D2\u4EF6\u914D\u7F6E",id:"\u63D2\u4EF6\u914D\u7F6E",depth:2,charIndex:2361},{text:"apiParseTool",id:"apiparsetool",depth:3,charIndex:2369},{text:"doc",id:"doc",depth:3,charIndex:2479},{text:"entries",id:"entries",depth:3,charIndex:2494},{text:"iframePosition",id:"iframeposition",depth:3,charIndex:2597},{text:"parseToolOptions",id:"parsetooloptions",depth:3,charIndex:2750},{text:"previewMode",id:"previewmode",depth:3,charIndex:2819},{text:"deprecated: languages",id:"deprecated-languages",depth:3,charIndex:2937},{text:"deprecated: useModuleSidebar",id:"deprecated-usemodulesidebar",depth:3,charIndex:3004},{text:"\u547D\u4EE4\u884C",id:"\u547D\u4EE4\u884C",depth:2,charIndex:3113},{text:"\u8FDB\u9636\u6307\u5357",id:"\u8FDB\u9636\u6307\u5357",depth:2,charIndex:3185}],frontmatter:{sidebar_position:5},version:"",_relativePath:"zh/guide/basic/use-module-doc.mdx"},{title:"\u4F7F\u7528 Storybook",routePath:"/module-tools/guide/basic/using-storybook",lang:"zh",toc:[{text:"V7 (\u63A8\u8350)",id:"v7-\u63A8\u8350",depth:2,charIndex:239},{text:"\u5F00\u542F Storybook",id:"\u5F00\u542F-storybook",depth:3,charIndex:250},{text:"\u5F00\u542F\u4EA7\u7269\u8C03\u8BD5",id:"\u5F00\u542F\u4EA7\u7269\u8C03\u8BD5",depth:3,charIndex:492},{text:"\u5F00\u542F Rspack \u6784\u5EFA",id:"\u5F00\u542F-rspack-\u6784\u5EFA",depth:3,charIndex:946},{text:"\u914D\u7F6E",id:"\u914D\u7F6E",depth:3,charIndex:1095},{text:"bundler",id:"bundler",depth:4,charIndex:1134},{text:"builderConfig",id:"builderconfig",depth:4,charIndex:1222},{text:"\u547D\u4EE4\u884C",id:"\u547D\u4EE4\u884C",depth:3,charIndex:1356},{text:"storybook dev",id:"storybook-dev",depth:4,charIndex:1409},{text:"storybook build",id:"storybook-build",depth:4,charIndex:1444},{text:"\u914D\u7F6E\u6587\u4EF6",id:"\u914D\u7F6E\u6587\u4EF6",depth:3,charIndex:1490},{text:"\u4ECE V6 \u8FC1\u79FB\u81F3 V7",id:"\u4ECE-v6-\u8FC1\u79FB\u81F3-v7",depth:2,charIndex:1574},{text:"V6 (legacy)",id:"v6-legacy",depth:2,charIndex:2037},{text:"\u5F00\u542F Storybook",id:"\u5F00\u542F-storybook-1",depth:3,charIndex:2178},{text:"\u914D\u7F6E Storybook",id:"\u914D\u7F6E-storybook",depth:3,charIndex:2358},{text:"\u6784\u5EFA Storybook \u4EA7\u7269",id:"\u6784\u5EFA-storybook-\u4EA7\u7269",depth:3,charIndex:2705}],frontmatter:{sidebar_position:5},version:"",_relativePath:"zh/guide/basic/using-storybook.mdx"},{title:"\u5F00\u53D1\u7EC4\u4EF6",routePath:"/module-tools/guide/best-practices/components",lang:"zh",toc:[{text:"\u521D\u59CB\u5316\u9879\u76EE",id:"\u521D\u59CB\u5316\u9879\u76EE",depth:2,charIndex:40},{text:"\u4F7F\u7528 Storybook \u8C03\u8BD5\u4EE3\u7801",id:"\u4F7F\u7528-storybook-\u8C03\u8BD5\u4EE3\u7801",depth:2,charIndex:166},{text:"\u5F00\u53D1\u6837\u5F0F",id:"\u5F00\u53D1\u6837\u5F0F",depth:2,charIndex:227},{text:"CSS/PostCSS",id:"csspostcss",depth:3,charIndex:335},{text:"Less",id:"less",depth:3,charIndex:587},{text:"Sass/Scss",id:"sassscss",depth:3,charIndex:680},{text:"Tailwind CSS",id:"tailwind-css",depth:3,charIndex:784},{text:"CSS Modules",id:"css-modules",depth:3,charIndex:832},{text:"\u914D\u7F6E\u6784\u5EFA\u4EA7\u7269",id:"\u914D\u7F6E\u6784\u5EFA\u4EA7\u7269",depth:2,charIndex:1071},{text:"\u6D4B\u8BD5\u7EC4\u4EF6",id:"\u6D4B\u8BD5\u7EC4\u4EF6",depth:2,charIndex:1431},{text:"\u53D1\u5E03\u7EC4\u4EF6",id:"\u53D1\u5E03\u7EC4\u4EF6",depth:2,charIndex:1465}],frontmatter:{sidebar_position:1},version:"",_relativePath:"zh/guide/best-practices/components.mdx"},{title:"\u4F7F\u7528 Tailwind CSS",routePath:"/module-tools/guide/best-practices/use-tailwindcss",lang:"zh",toc:[{text:"\u542F\u7528 Tailwind CSS",id:"\u542F\u7528-tailwind-css",depth:2,charIndex:127},{text:"\u914D\u7F6E Tailwind CSS",id:"\u914D\u7F6E-tailwind-css",depth:2,charIndex:585},{text:"Tailwind CSS \u81EA\u52A8\u8865\u5168",id:"tailwind-css-\u81EA\u52A8\u8865\u5168",depth:2,charIndex:1047},{text:"\u6784\u5EFA\u6A21\u5F0F",id:"\u6784\u5EFA\u6A21\u5F0F",depth:2,charIndex:1360},{text:"Bundle \u6A21\u5F0F",id:"bundle-\u6A21\u5F0F",depth:3,charIndex:1477},{text:"Bundleless \u6A21\u5F0F",id:"bundleless-\u6A21\u5F0F",depth:3,charIndex:1660},{text:"\u7C7B\u540D\u524D\u7F00",id:"\u7C7B\u540D\u524D\u7F00",depth:2,charIndex:1732},{text:"\u7528\u6CD5\u4ECB\u7ECD",id:"\u7528\u6CD5\u4ECB\u7ECD",depth:2,charIndex:1890},{text:"HTML \u7C7B\u540D",id:"html-\u7C7B\u540D",depth:3,charIndex:1925},{text:"@apply",id:"apply",depth:3,charIndex:2051},{text:"Sass",id:"sass",depth:4,charIndex:2192},{text:"Less",id:"less",depth:4,charIndex:2300},{text:"\u5173\u4E8E designSystem \u914D\u7F6E",id:"\u5173\u4E8E-designsystem-\u914D\u7F6E",depth:2,charIndex:2441}],frontmatter:{sidebar_position:2},version:"",_relativePath:"zh/guide/best-practices/use-tailwindcss.mdx"},{title:"\u901A\u7528\u7C7B\u95EE\u9898",routePath:"/module-tools/guide/faq/basic",lang:"zh",toc:[{text:"Modern.js Module \u548C Rsbuild \u7684\u5173\u7CFB\uFF1F",id:"modernjs-module-\u548C-rsbuild-\u7684\u5173\u7CFB",depth:2,charIndex:3},{text:"Modern.js Module \u662F\u5426\u53EF\u4EE5\u4F7F\u7528 webpack plugin \u6216\u8005 loader?",id:"modernjs-module-\u662F\u5426\u53EF\u4EE5\u4F7F\u7528-webpack-plugin-\u6216\u8005-loader",depth:2,charIndex:103}],frontmatter:{},version:"",_relativePath:"zh/guide/faq/basic.mdx"},{title:"\u6784\u5EFA\u76F8\u5173\u95EE\u9898",routePath:"/module-tools/guide/faq/build",lang:"zh",toc:[{text:"\u4EA7\u7269\u95EE\u9898",id:"\u4EA7\u7269\u95EE\u9898",depth:2,charIndex:110},{text:"Class Fields \u7684\u521D\u59CB\u5316\u5904\u7406",id:"class-fields-\u7684\u521D\u59CB\u5316\u5904\u7406",depth:3,charIndex:121},{text:"babel-plugin-lodash \u5C06\u5F15\u5165\u7684 lodash \u5904\u7406\u6210 undefined",id:"babel-plugin-lodash-\u5C06\u5F15\u5165\u7684-lodash-\u5904\u7406\u6210-undefined",depth:3,charIndex:1016},{text:"Cannot find module http",id:"cannot-find-module-http",depth:3,charIndex:1340},{text:"\u5F02\u5E38\u7C7B\u95EE\u9898",id:"\u5F02\u5E38\u7C7B\u95EE\u9898",depth:2,charIndex:1560},{text:'Dynamic require of \\"react\\" is not supported',id:"dynamic-require-of-react-is-not-supported",depth:3,charIndex:1572},{text:"\u95EE\u9898\u63CF\u8FF0",id:"\u95EE\u9898\u63CF\u8FF0",depth:4,charIndex:1620},{text:"\u89E3\u51B3\u529E\u6CD5",id:"\u89E3\u51B3\u529E\u6CD5",depth:4,charIndex:1720},{text:"\u53C2\u8003\u94FE\u63A5",id:"\u53C2\u8003\u94FE\u63A5",depth:4,charIndex:1922},{text:"\u7F16\u8BD1\u8FC7\u7A0B\u4E2D\uFF0C\u56E0\u4E3A\u67D0\u4E2A\u7EC4\u4EF6\u5E93\u7684 less \u6587\u4EF6\u62A5\u9519\uFF1A'Operation on an invalid type'",id:"\u7F16\u8BD1\u8FC7\u7A0B\u4E2D\u56E0\u4E3A\u67D0\u4E2A\u7EC4\u4EF6\u5E93\u7684-less-\u6587\u4EF6\u62A5\u9519operation-on-an-invalid-type",depth:3,charIndex:2026},{text:"Bundleless DTS failed",id:"bundleless-dts-failed",depth:3,charIndex:2344},{text:"Bundle DTS failed",id:"bundle-dts-failed",depth:3,charIndex:2601},{text:'defineConfig \u51FD\u6570\u7C7B\u578B\u62A5\u9519\uFF1A\u5982\u679C\u6CA1\u6709\u5F15\u7528 "..."\uFF0C\u5219\u65E0\u6CD5\u547D\u540D "default" \u7684\u63A8\u65AD\u7C7B\u578B',id:"defineconfig-\u51FD\u6570\u7C7B\u578B\u62A5\u9519\u5982\u679C\u6CA1\u6709\u5F15\u7528-\u5219\u65E0\u6CD5\u547D\u540D-default-\u7684\u63A8\u65AD\u7C7B\u578B",depth:3,charIndex:2829},{text:"\u5176\u4ED6",id:"\u5176\u4ED6",depth:2,charIndex:2946},{text:"bundleless \u5982\u4F55\u8DF3\u8FC7\u5BF9 less / scss \u6587\u4EF6\u7684\u9884\u5904\u7406",id:"bundleless-\u5982\u4F55\u8DF3\u8FC7\u5BF9-less--scss-\u6587\u4EF6\u7684\u9884\u5904\u7406",depth:3,charIndex:2955},{text:"\u589E\u52A0\u989D\u5916\u7684\u7F16\u8BD1\u80FD\u529B",id:"\u589E\u52A0\u989D\u5916\u7684\u7F16\u8BD1\u80FD\u529B",depth:3,charIndex:3193},{text:"\u652F\u6301\u751F\u6210 CSS Modules \u7684 TypeScript \u58F0\u660E\u6587\u4EF6",id:"\u652F\u6301\u751F\u6210-css-modules-\u7684-typescript-\u58F0\u660E\u6587\u4EF6",depth:3,charIndex:3504}],frontmatter:{},version:"",_relativePath:"zh/guide/faq/build.mdx"},{title:"\u5E38\u89C1\u95EE\u9898",routePath:"/module-tools/guide/faq/",lang:"zh",toc:[],frontmatter:{},version:"",_relativePath:"zh/guide/faq/index.md"},{title:"Storybook \u76F8\u5173\u95EE\u9898",routePath:"/module-tools/guide/faq/storybook",lang:"zh",toc:[{text:"\u652F\u6301 Storybook v7",id:"\u652F\u6301-storybook-v7",depth:2,charIndex:6},{text:"\u4F7F\u7528 Storybook Addon \u6216\u8005\u5176\u4ED6\u914D\u7F6E\u4E0D\u751F\u6548",id:"\u4F7F\u7528-storybook-addon-\u6216\u8005\u5176\u4ED6\u914D\u7F6E\u4E0D\u751F\u6548",depth:2,charIndex:61},{text:"Cannot find module \\'react-dom/package.json",id:"cannot-find-module-react-dompackagejson",depth:2,charIndex:266},{text:"\u62A5\u9519\u540E\uFF0C\u770B\u4E0D\u5230\u5177\u4F53\u62A5\u9519\u4FE1\u606F",id:"\u62A5\u9519\u540E\u770B\u4E0D\u5230\u5177\u4F53\u62A5\u9519\u4FE1\u606F",depth:2,charIndex:376},{text:"Couldn\\'t find any stories is your Storybook",id:"couldnt-find-any-stories-is-your-storybook",depth:2,charIndex:541},{text:"Storybook \u6DFB\u52A0 Proxy \u529F\u80FD",id:"storybook-\u6DFB\u52A0-proxy-\u529F\u80FD",depth:2,charIndex:700}],frontmatter:{},version:"",_relativePath:"zh/guide/faq/storybook.mdx"},{title:"\u6D4B\u8BD5\u76F8\u5173\u95EE\u9898",routePath:"/module-tools/guide/faq/test",lang:"zh",toc:[{text:"\u6267\u884C test \u547D\u4EE4\u62A5\u9519 TypeError: Cannot read property 'testEnvironmentOptions' of undefined",id:"\u6267\u884C-test-\u547D\u4EE4\u62A5\u9519-typeerror-cannot-read-property-testenvironmentoptions-of-undefined",depth:2,charIndex:-1}],frontmatter:{},version:"",_relativePath:"zh/guide/faq/test.mdx"},{title:"\u5FEB\u901F\u5F00\u59CB",routePath:"/module-tools/guide/intro/getting-started",lang:"zh",toc:[{text:"\u4E09\u5206\u949F\u5FEB\u901F\u4E0A\u624B",id:"\u4E09\u5206\u949F\u5FEB\u901F\u4E0A\u624B",depth:2,charIndex:3},{text:"\u521B\u5EFA\u65B0\u9879\u76EE",id:"\u521B\u5EFA\u65B0\u9879\u76EE",depth:3,charIndex:110},{text:"\u63A5\u5165\u5DF2\u6709\u9879\u76EE",id:"\u63A5\u5165\u5DF2\u6709\u9879\u76EE",depth:3,charIndex:402},{text:"\u6838\u5FC3 npm \u5305",id:"\u6838\u5FC3-npm-\u5305",depth:3,charIndex:784},{text:"\u67E5\u770B\u5B98\u65B9\u793A\u4F8B",id:"\u67E5\u770B\u5B98\u65B9\u793A\u4F8B",depth:3,charIndex:1118},{text:"\u8BA9\u6211\u4EEC\u5F00\u59CB\u5427",id:"\u8BA9\u6211\u4EEC\u5F00\u59CB\u5427",depth:2,charIndex:1175}],frontmatter:{sidebar_position:3},version:"",_relativePath:"zh/guide/intro/getting-started.mdx"},{title:"\u6B22\u8FCE\u4F7F\u7528",routePath:"/module-tools/guide/intro/welcome",lang:"zh",toc:[],frontmatter:{sidebar_position:1},version:"",_relativePath:"zh/guide/intro/welcome.md"},{title:"\u4E3A\u4EC0\u4E48\u9700\u8981 Modern.js Module",routePath:"/module-tools/guide/intro/why-module-engineering-solution",lang:"zh",toc:[],frontmatter:{sidebar_position:2},version:"",_relativePath:"zh/guide/intro/why-module-engineering-solution.md"},{title:"index",routePath:"/module-tools/",lang:"zh",toc:[],frontmatter:{pageType:"home",hero:{name:"Modern.js Module",text:"\u6A21\u5757\u5DE5\u7A0B\u89E3\u51B3\u65B9\u6848",tagline:"\u7B80\u5355\u3001\u5F3A\u5927\u3001\u9AD8\u6027\u80FD\u7684\u73B0\u4EE3\u5316 npm \u5305\u5F00\u53D1\u65B9\u6848",actions:[{theme:"brand",text:"\u6B22\u8FCE\u4F7F\u7528",link:"/guide/intro/welcome"},{theme:"alt",text:"\u5FEB\u901F\u4E0A\u624B",link:"/guide/intro/getting-started"}]},features:[{title:"esbuild: \u9AD8\u6027\u80FD\u7684 JS Bundler",details:"\u57FA\u4E8E esbuild \u6784\u5EFA\uFF0C\u6784\u5EFA\u901F\u5EA6\u6781\u5FEB\uFF0C\u5E26\u7ED9\u4F60\u6781\u81F4\u7684\u5F00\u53D1\u4F53\u9A8C\u3002",icon:"\uD83D\uDE80"},{title:"\u53CC\u6784\u5EFA\u6A21\u5F0F",details:"\u652F\u6301 Bundle \u548C Bundleless \u4E24\u79CD\u6784\u5EFA\u6A21\u5F0F\u3002",icon:"\u2728"},{title:"\u5F00\u7BB1\u5373\u7528",details:"\u65E0\u9700\u8FC7\u591A\u914D\u7F6E\u5373\u53EF\u5F00\u53D1\u4F60\u7684 npm \u5305\uFF0C\u5185\u7F6E\u9884\u8BBE\u8986\u76D6\u591A\u79CD\u573A\u666F\u3002",icon:"\uD83D\uDEE0\uFE0F"},{title:"\u6269\u5C55\u6027\u5F3A: \u63D0\u4F9B\u5F3A\u5927\u7684\u63D2\u4EF6\u673A\u5236",details:"\u901A\u8FC7\u5176\u63D2\u4EF6\u6269\u5C55\u673A\u5236\uFF0C\u4F60\u53EF\u4EE5\u8F7B\u677E\u7684\u6269\u5C55 Modern.js Module \u7684\u5404\u9879\u80FD\u529B\u3002",icon:"\uD83C\uDFA8"},{title:"Storybook: \u793E\u533A\u6D41\u884C\u7684 UI \u5F00\u53D1\u5DE5\u5177",details:"\u96C6\u6210\u4E86 Storybook\uFF0C\u4F60\u53EF\u4EE5\u4F7F\u7528\u5B83\u8C03\u8BD5 UI\u3002",icon:"\uD83D\uDCE6"},{title:"Jest: \u4EE4\u4EBA\u6109\u5FEB\u7684\u6D4B\u8BD5\u6846\u67B6",details:"\u96C6\u6210\u4E86 Jest\uFF0C\u4F7F\u5F97\u4EE3\u7801\u6D4B\u8BD5\u66F4\u52A0\u5BB9\u6613\u3002",icon:"\uD83D\uDCD0"}]},version:"",_relativePath:"zh/index.md"},{title:"\u5FEB\u901F\u5F00\u59CB",routePath:"/module-tools/plugins/guide/getting-started",lang:"zh",toc:[],frontmatter:{sidebar_position:1},version:"",_relativePath:"zh/plugins/guide/getting-started.mdx"},{title:"\u63D2\u4EF6\u5BF9\u8C61",routePath:"/module-tools/plugins/guide/plugin-object",lang:"zh",toc:[{text:"\u63D2\u4EF6\u7C7B\u578B\u5B9A\u4E49",id:"\u63D2\u4EF6\u7C7B\u578B\u5B9A\u4E49",depth:2,charIndex:245},{text:"\u63D2\u4EF6\u914D\u7F6E\u9879",id:"\u63D2\u4EF6\u914D\u7F6E\u9879",depth:2,charIndex:323}],frontmatter:{sidebar_position:2},version:"",_relativePath:"zh/plugins/guide/plugin-object.mdx"},{title:"Setup \u51FD\u6570",routePath:"/module-tools/plugins/guide/setup-function",lang:"zh",toc:[{text:"\u63D2\u4EF6 API \u5BF9\u8C61",id:"\u63D2\u4EF6-api-\u5BF9\u8C61",depth:2,charIndex:77},{text:"api.useAppContext",id:"apiuseappcontext",depth:3,charIndex:153},{text:"api.useResolvedConfigContext",id:"apiuseresolvedconfigcontext",depth:3,charIndex:277},{text:"api.useHookRunners",id:"apiusehookrunners",depth:3,charIndex:373},{text:"\u5F02\u6B65 setup",id:"\u5F02\u6B65-setup",depth:2,charIndex:430},{text:"\u751F\u547D\u5468\u671F\u94A9\u5B50",id:"\u751F\u547D\u5468\u671F\u94A9\u5B50",depth:2,charIndex:579}],frontmatter:{sidebar_position:3},version:"",_relativePath:"zh/plugins/guide/setup-function.mdx"},{title:"\u603B\u89C8",routePath:"/module-tools/plugins/official-list/overview",lang:"zh",toc:[{text:"\u5B98\u65B9\u63D2\u4EF6",id:"\u5B98\u65B9\u63D2\u4EF6",depth:2,charIndex:3}],frontmatter:{},version:"",_relativePath:"zh/plugins/official-list/overview.md"},{title:"Babel \u63D2\u4EF6",routePath:"/module-tools/plugins/official-list/plugin-babel",lang:"zh",toc:[{text:"\u5FEB\u901F\u5F00\u59CB",id:"\u5FEB\u901F\u5F00\u59CB",depth:2,charIndex:50},{text:"\u5B89\u88C5",id:"\u5B89\u88C5",depth:3,charIndex:58},{text:"\u6CE8\u518C\u63D2\u4EF6",id:"\u6CE8\u518C\u63D2\u4EF6",depth:3,charIndex:64},{text:"\u914D\u7F6E",id:"\u914D\u7F6E",depth:2,charIndex:172}],frontmatter:{},version:"",_relativePath:"zh/plugins/official-list/plugin-babel.mdx"},{title:"Banner \u63D2\u4EF6",routePath:"/module-tools/plugins/official-list/plugin-banner",lang:"zh",toc:[{text:"\u5FEB\u901F\u5F00\u59CB",id:"\u5FEB\u901F\u5F00\u59CB",depth:2,charIndex:132},{text:"\u5B89\u88C5",id:"\u5B89\u88C5",depth:3,charIndex:140},{text:"\u6CE8\u518C\u63D2\u4EF6",id:"\u6CE8\u518C\u63D2\u4EF6",depth:3,charIndex:146},{text:"\u793A\u4F8B",id:"\u793A\u4F8B",depth:2,charIndex:240},{text:"\u5728 JS \u6587\u4EF6\u9876\u90E8\u589E\u52A0\u7248\u6743\u4FE1\u606F",id:"\u5728-js-\u6587\u4EF6\u9876\u90E8\u589E\u52A0\u7248\u6743\u4FE1\u606F",depth:3,charIndex:246},{text:"\u914D\u7F6E",id:"\u914D\u7F6E",depth:2,charIndex:267},{text:"banner",id:"banner",depth:3,charIndex:283},{text:"footer",id:"footer",depth:3,charIndex:362}],frontmatter:{},version:"",_relativePath:"zh/plugins/official-list/plugin-banner.mdx"},{title:"Import \u63D2\u4EF6",routePath:"/module-tools/plugins/official-list/plugin-import",lang:"zh",toc:[{text:"\u5FEB\u901F\u5F00\u59CB",id:"\u5FEB\u901F\u5F00\u59CB",depth:2,charIndex:144},{text:"\u5B89\u88C5",id:"\u5B89\u88C5",depth:3,charIndex:152},{text:"\u6CE8\u518C\u63D2\u4EF6",id:"\u6CE8\u518C\u63D2\u4EF6",depth:3,charIndex:158},{text:"\u914D\u7F6E",id:"\u914D\u7F6E",depth:2,charIndex:245},{text:"pluginImport",id:"pluginimport",depth:3,charIndex:261},{text:"\u6CE8\u610F\u4E8B\u9879",id:"\u6CE8\u610F\u4E8B\u9879",depth:2,charIndex:357}],frontmatter:{},version:"",_relativePath:"zh/plugins/official-list/plugin-import.mdx"},{title:"Node Polyfill \u63D2\u4EF6",routePath:"/module-tools/plugins/official-list/plugin-node-polyfill",lang:"zh",toc:[{text:"\u5FEB\u901F\u5F00\u59CB",id:"\u5FEB\u901F\u5F00\u59CB",depth:2,charIndex:213},{text:"\u5B89\u88C5",id:"\u5B89\u88C5",depth:3,charIndex:221},{text:"\u6CE8\u518C\u63D2\u4EF6",id:"\u6CE8\u518C\u63D2\u4EF6",depth:3,charIndex:227},{text:"\u914D\u7F6E",id:"\u914D\u7F6E",depth:2,charIndex:274},{text:"exclude",id:"exclude",depth:3,charIndex:290},{text:"overrides",id:"overrides",depth:3,charIndex:326},{text:"Node Polyfills",id:"node-polyfills",depth:2,charIndex:363},{text:"Globals",id:"globals",depth:3,charIndex:381},{text:"Modules",id:"modules",depth:3,charIndex:464},{text:"Fallbacks",id:"fallbacks",depth:3,charIndex:860}],frontmatter:{},version:"",_relativePath:"zh/plugins/official-list/plugin-node-polyfill.mdx"},{title:"Polyfill \u63D2\u4EF6",routePath:"/module-tools/plugins/official-list/plugin-polyfill",lang:"zh",toc:[{text:"\u5FEB\u901F\u5F00\u59CB",id:"\u5FEB\u901F\u5F00\u59CB",depth:2,charIndex:197},{text:"\u5B89\u88C5",id:"\u5B89\u88C5",depth:3,charIndex:205},{text:"\u6CE8\u518C\u63D2\u4EF6",id:"\u6CE8\u518C\u63D2\u4EF6",depth:3,charIndex:211},{text:"\u914D\u7F6E",id:"\u914D\u7F6E",depth:2,charIndex:322},{text:"targets",id:"targets",depth:3,charIndex:338}],frontmatter:{},version:"",_relativePath:"zh/plugins/official-list/plugin-polyfill.mdx"},{title:"Vue \u63D2\u4EF6",routePath:"/module-tools/plugins/official-list/plugin-vue",lang:"zh",toc:[{text:"\u5FEB\u901F\u5F00\u59CB",id:"\u5FEB\u901F\u5F00\u59CB",depth:2,charIndex:256},{text:"\u5B89\u88C5",id:"\u5B89\u88C5",depth:3,charIndex:264},{text:"\u6CE8\u518C\u63D2\u4EF6",id:"\u6CE8\u518C\u63D2\u4EF6",depth:3,charIndex:270},{text:"\u914D\u7F6E",id:"\u914D\u7F6E",depth:2,charIndex:317},{text:"vueJsxPluginOptions",id:"vuejsxpluginoptions",depth:3,charIndex:323}],frontmatter:{},version:"",_relativePath:"zh/plugins/official-list/plugin-vue.mdx"}],markdown:{showLineNumbers:!1,defaultWrapCode:!1,codeHighlighter:"prism"}}},3713:function(e){"use strict";e.exports={link:"link-_76194"}},98349:function(e){},35850:function(e){},12558:function(e){},96954:function(e,t,n){"use strict";n.r(t),n.d(t,{MDXProvider:function(){return i.MDXProvider},useMDXComponents:function(){return i.useMDXComponents}});var i=n("61162")},61162:function(e,t,n){"use strict";n.r(t),n.d(t,{MDXProvider:function(){return l},useMDXComponents:function(){return a}});var i=n("2363");let r=i.createContext({});function a(e){let t=i.useContext(r);return i.useMemo(()=>"function"==typeof e?e(t):{...t,...e},[t,e])}let o={};function l({components:e,children:t,disableParentContext:n}){let l=a(e);return n&&(l=e||o),i.createElement(r.Provider,{value:l},t)}},56195:function(e,t,n){"use strict";n.r(t),n.d(t,{APPEARANCE_KEY:function(){return tt},MDX_REGEXP:function(){return te},SEARCH_INDEX_NAME:function(){return tn},addTrailingSlash:function(){return ts},cleanUrl:function(){return tr},inBrowser:function(){return to},isDataUrl:function(){return tu},isExternalUrl:function(){return tc},isProduction:function(){return ti},normalizeHref:function(){return tf},normalizeSlash:function(){return td},removeBase:function(){return tv},removeHash:function(){return ta},replaceLang:function(){return th},replaceVersion:function(){return tp},withBase:function(){return tx},withoutBase:function(){return tg}});var i,r,a,o,l,s,d,c,u,h="object"==typeof global&&global&&global.Object===Object&&global,p="object"==typeof self&&self&&self.Object===Object&&self,m=h||p||Function("return this")(),f=m.Symbol,g=Object.prototype,x=g.hasOwnProperty,v=g.toString,b=f?f.toStringTag:void 0,y=function(e){var t=x.call(e,b),n=e[b];try{e[b]=void 0;var i=!0}catch(e){}var r=v.call(e);return i&&(t?e[b]=n:delete e[b]),r},w=Object.prototype.toString,k=f?f.toStringTag:void 0,I=function(e){var t;if(null==e)return void 0===e?"[object Undefined]":"[object Null]";return k&&k in Object(e)?y(e):(t=e,w.call(t))},j=function(e){return null!=e&&"object"==typeof e},P=Array.isArray,S=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},E=function(e){return e},C=function(e){if(!S(e))return!1;var t=I(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},z=m["__core-js_shared__"];var _=(i=/[^.]+$/.exec(z&&z.keys&&z.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"",N=Function.prototype.toString,A=function(e){if(null!=e){try{return N.call(e)}catch(e){}try{return e+""}catch(e){}}return""},T=/^\[object .+?Constructor\]$/,L=Object.prototype,O=Function.prototype.toString,M=L.hasOwnProperty,D=RegExp("^"+O.call(M).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),R=function(e){var t;return!!S(e)&&(t=e,!_||!(_ in t))&&(C(e)?D:T).test(A(e))},B=function(e,t){var n,i,r=(n=e,i=t,null==n?void 0:n[i]);return R(r)?r:void 0},H=Object.create,$=function(){function e(){}return function(t){if(!S(t))return{};if(H)return H(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),F=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)},W=function(e,t){var n=-1,i=e.length;for(t||(t=Array(i));++n0){if(++a>=800)return arguments[0]}else a=0;return r.apply(void 0,arguments)}),G=/^(?:0|[1-9]\d*)$/,Z=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&G.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991},ei=function(e){return null!=e&&en(e.length)&&!C(e)},er=function(e,t,n){if(!S(n))return!1;var i=typeof t;return("number"==i?!!(ei(n)&&Z(t,n.length)):"string"==i&&t in n)&&K(n[t],e)},ea=Object.prototype,eo=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||ea)},el=function(e,t){for(var n=-1,i=Array(e);++n-1},eD.prototype.set=function(e,t){var n=this.__data__,i=eO(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this};var eR=B(m,"Map"),eB=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},eH=function(e,t){var n=e.__data__;return eB(t)?n["string"==typeof t?"string":"hash"]:n.map};function e$(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t1?t[i-1]:void 0,a=i>2?t[2]:void 0;for(r=u.length>3&&"function"==typeof r?(i--,r):void 0,a&&er(t[0],t[1],a)&&(r=i<3?void 0:r,i=1),e=Object(e);++n!0,tr=e=>e.replace(e9,"").replace(e8,"");function ta(e){return e.replace(/#.*$/,"")}var to=()=>!0;function tl(e){return"/"===e.charAt(0)||e.startsWith("https")?e:`/${e}`}function ts(e){return"/"===e.charAt(e.length-1)?e:`${e}/`}function td(e){var t;return"/"===(t=tl(function(e){let t=e.replace(/\\/g,"/"),n=t.startsWith("/"),i=t.split("/"),r=[];for(let e of i){if("."!==e&&""!==e)".."===e?r.length>0&&".."!==r[r.length-1]?r.pop():n&&r.push(".."):r.push(e)}let a=r.join("/");return n&&(a=`/${a}`),a}(e))).charAt(t.length-1)?t.slice(0,-1):t}function tc(e=""){return e.startsWith("http://")||e.startsWith("https://")||e.startsWith("mailto:")||e.startsWith("tel:")}function tu(e=""){return/^\s*data:/i.test(e)}function th(e,t,n,i="",r=!1){let a=tv(e,i);!a&&(a=r?"/index":"/index.html"),a.endsWith("/")&&(a+=r?"/index":"/index.html");let o="",l="",s="",d=a.split("/").filter(Boolean);return n.current&&n.current!==n.default&&(o=d.shift()||""),t.target!==t.default?(l=t.target,t.current!==t.default&&d.shift()):d.shift(),s=d.join("/")||"",(o||l)&&!s&&(s=r?"index":"index.html"),tx(tl([o,l,s].filter(Boolean).join("/")),i)}function tp(e,t,n="",i=!1){let r=tv(e,n);!r&&(r=i?"/index":"/index.html");let a="",o=r.split("/").filter(Boolean);t.target!==t.default?(a=t.target,t.current!==t.default&&o.shift()):o.shift();let l=o.join("/")||"";return a&&!l&&(l=i?"index":"index.html"),tx(tl([a,l].filter(Boolean).join("/")),n)}var tm=e=>{let[t,n=""]=e.split("#");return{url:t,hash:n}};function tf(e,t=!1){if(!e)return"/";if(tc(e))return e;let{url:n,hash:i}=tm(decodeURIComponent(e)),r=n.split("/").pop()?.includes(".");return!t&&!n.endsWith(".html")&&!r&&(n.endsWith("/")?n+="index.html":n+=".html"),t&&n.endsWith("/")&&(n+="index"),tl(i?`${n}#${i}`:n)}function tg(e,t=""){return tl(e).replace(td(t),"")}function tx(e="/",t=""){let n=tl(e),i=td(t);return n.startsWith(i)?n:`${i}${n}`}function tv(e,t){return tl(e).replace(RegExp(`^${td(t)}`),"")}},81725:function(e,t,n){"use strict";n.r(t),n.d(t,{Button:function(){return tv},DocLayout:function(){return tf},HomeFooter:function(){return nu},HomeLayout:function(){return tP},LastUpdated:function(){return eY},Layout:function(){return tg},Link:function(){return eX},Nav:function(){return t4},NotFoundLayout:function(){return ef},PackageManagerTabs:function(){return nz},PrevNextPage:function(){return eJ},RenderType:function(){return eR},Search:function(){return nc},SearchPanel:function(){return nd},SourceCode:function(){return nT},Tab:function(){return ne},Tabs:function(){return t9},Toc:function(){return to},bindingAsideScroll:function(){return ej},default:function(){return n1},getCustomMDXComponent:function(){return n0},getLogoUrl:function(){return eW},isActive:function(){return eF},isMobileDevice:function(){return eq},renderHtmlOrText:function(){return eU},scrollToTarget:function(){return eI},setup:function(){return eP},useEditLink:function(){return ey},useEnableNav:function(){return ew},useFullTextSearch:function(){return eH},useHiddenNav:function(){return ek},useLocaleSiteData:function(){return eg},usePathUtils:function(){return eS},usePrevNextPage:function(){return eb},useRedirect4FirstVisit:function(){return e$},useSidebarData:function(){return ev}});var i,r,a,o,l,s,d,c,u,h,p,m,f,g,x,v,b,y,w,k,I,j,P,S=n("59350"),E=n("39980");n("12558");var C=n("20288"),z=n("92919"),_=n("2363"),N=n("96954"),A=n("56195"),T=n("71082"),L=n("85653"),O=n("25756"),M=n("93371"),D=n("49555"),R=n("15559"),B=n("47841"),H=n("99593"),$=n("26281"),F=n("56159"),W=n("74830"),q=n("12555"),U=n("13328"),V=n("168"),G=n("61850"),Z=n("51801"),Y=n("16288"),K=n("52305"),X=n("79522"),Q=n("74930"),J=Object.defineProperty,ee=Object.defineProperties,et=Object.getOwnPropertyDescriptors,en=Object.getOwnPropertySymbols,ei=Object.prototype.hasOwnProperty,er=Object.prototype.propertyIsEnumerable,ea=(e,t,n)=>t in e?J(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,eo=(e,t)=>{for(var n in t||(t={}))ei.call(t,n)&&ea(e,n,t[n]);if(en)for(var n of en(t))er.call(t,n)&&ea(e,n,t[n]);return e},el=(e,t)=>ee(e,et(t)),es=(e,t)=>{var n={};for(var i in e)ei.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&en)for(var i of en(e))0>t.indexOf(i)&&er.call(e,i)&&(n[i]=e[i]);return n},ed=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},ec=(e,t,n)=>(ed(e,t,"read from private field"),n?n.call(e):t.get(e)),eu=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},eh=(e,t,n,i)=>(ed(e,t,"write to private field"),i?i.call(e,n):t.set(e,n),n),ep=(e,t,n)=>(ed(e,t,"access private method"),n),em=(e,t,n)=>new Promise((i,r)=>{var a=e=>{try{l(n.next(e))}catch(e){r(e)}},o=e=>{try{l(n.throw(e))}catch(e){r(e)}},l=e=>e.done?i(e.value):Promise.resolve(e.value).then(a,o);l((n=n.apply(e,t)).next())});function ef(){let{siteData:e}=(0,S.usePageData)(),t=e.lang;if(!(t&&"undefined"!=typeof window&&location.pathname.includes(`/${t}/`)))return(0,E.jsxs)("div",{className:"m-auto mt-50 p-16 sm:p-8 sm:pt-24 sm:pb-40 text-center flex-center flex-col",children:[(0,E.jsx)("p",{className:"text-6xl font-semibold",children:"404"}),(0,E.jsx)("h1",{className:"leading-5 pt-3 text-xl font-bold",children:"PAGE NOT FOUND"}),(0,E.jsx)("div",{style:{height:"1px"},className:"mt-6 mx-auto mb-4.5 w-16 bg-gray-light-1"}),(0,E.jsx)("div",{className:"pt-5",children:(0,E.jsx)("a",{className:"py-2 px-4 rounded-2xl inline-block border-solid border-brand text-brand font-medium hover:border-brand-dark hover:text-brand-dark transition-colors duration-300",href:e.base,"aria-label":"go to home",children:"Take me home"})})]});{let e=location.pathname.replace(`/${t}/`,"/");return window.location.replace(e),(0,E.jsx)(E.Fragment,{})}}function eg(){var e,t,n;let i=(0,S.usePageData)(),{page:{lang:r}}=i,a=(t=(e=null==i?void 0:i.siteData)==null?void 0:e.themeConfig)!=null?t:{},o=(n=i.siteData.lang)!=null?n:"",l=null==a?void 0:a.locales;return l&&0!==l.length?el(eo({},l.find(e=>e.lang===r)),{langRoutePrefix:r===o?"/":r}):{nav:a.nav,sidebar:a.sidebar,prevPageText:a.prevPageText,nextPageText:a.nextPageText,sourceCodeText:a.sourceCodeText,searchPlaceholderText:a.searchPlaceholderText}}var ex=(e,t)=>{let n;for(let i of Object.keys(e)){if(n&&n!==i)continue;if((0,S.isEqualPath)((0,S.withBase)(i),t))return{group:"Documentation",items:e[i]};let r=e[i].find(r=>{let a=r=>{if(!t.startsWith((0,S.withBase)(i))){for(let r of Object.keys(e))if(r!==i&&t.startsWith((0,A.addTrailingSlash)((0,S.withBase)(r))))return n=r,!1}let o=()=>"link"in r&&(0,S.isEqualPath)((0,S.withBase)(r.link),t);return"items"in r?!!o()||r.items.some(e=>a(e)):o()};return a(r)});if(r){let t=e[i];return{group:"text"in r&&r.text||"",items:t}}}return{group:"Documentation",items:[]}};function ev(){var e;let t=eg(),n=(e=t.sidebar)!=null?e:{},{pathname:i}=(0,S.useLocation)(),r=decodeURIComponent(i),[a,o]=(0,_.useState)(ex(n,r));return(0,_.useEffect)(()=>{o(ex(n,r))},[r,t.lang]),a}function eb(){let{pathname:e}=(0,S.useLocation)(),{items:t}=ev(),n=[],i=e=>{"items"in e?(e.link&&n.push({text:e.text,link:e.link}),e.items.forEach(e=>{"dividerType"in e||i(e)})):n.push(e)};t.forEach(e=>!("dividerType"in e)&&i(e));let r=n.findIndex(t=>(0,S.isEqualPath)((0,S.withBase)(t.link),e)),a=n[r-1]||null;return{prevPage:a,nextPage:n[r+1]||null}}function ey(){var e,t,n;let{siteData:i,page:r}=(0,S.usePageData)(),a=(n=(t=eg().editLink)!=null?t:(e=i.themeConfig)==null?void 0:e.editLink)!=null?n:{};if(!a.docRepoBaseUrl||!a.text)return null;let{docRepoBaseUrl:o}=a;!o.endsWith("/")&&(o+="/");let l=r._relativePath.replace(/\\/g,"/"),s=`${o}${l}`;return{text:a.text,link:s}}function ew(){var e;let{siteData:{themeConfig:t},page:{frontmatter:n={}}}=(0,S.usePageData)(),i=((e=null==n?void 0:n.navbar)==null||e)&&(null==t?void 0:t.hideNavbar)!=="always",[r,a]=(0,_.useState)(i);return[r,a]}function ek(){var e;let{siteData:{themeConfig:t}}=(0,S.usePageData)(),n=(e=t.hideNavbar)!=null?e:"never",[i,r]=(0,_.useState)(!1),{pathname:a}=(0,S.useLocation)(),o=(0,_.useRef)(0);return"never"!==n&&("always"===n||((0,_.useEffect)(()=>{r(!1);let e=(0,T.throttle)(()=>{let{scrollTop:e}=document.documentElement;if(e!==o.current)r(o.current>0&&e-o.current>0),o.current=e<=0?0:e},200);return window.addEventListener("mousewheel",e),window.addEventListener("touchmove",e),()=>{window.removeEventListener("mousewheel",e),window.removeEventListener("touchmove",e)}},[a]),i))}function eI(e,t,n=72){let i=parseInt(window.getComputedStyle(e).paddingTop,10),r=window.scrollY+e.getBoundingClientRect().top-n-i;window.scrollTo(eo({left:0,top:Math.round(r)},t?{behavior:"smooth"}:{}))}function ej(){let e=document.getElementById("aside-container"),t=Array.from(document.querySelectorAll(".rspress-doc .header-anchor")).filter(e=>{var t;return((t=e.parentElement)==null?void 0:t.tagName)!=="H1"});if(!e||!t.length)return;let n=null;if(!Array.from((null==e?void 0:e.getElementsByTagName("a"))||[]).map(e=>decodeURIComponent(e.hash)).length)return;let i=(t,i)=>{if(t[i]){let r=t[i].getAttribute("href"),a=null==e?void 0:e.querySelector(`a[href="#${null==r?void 0:r.slice(1)}"] > span`);a&&(n&&n.classList.remove("aside-active"),(n=a).classList.add("aside-active"))}},r=()=>{if(document.documentElement.scrollTop+window.innerHeight>=document.documentElement.scrollHeight)i(t,t.length-1);else for(let e=0;e=o&&a{n&&n.classList.remove("aside-active"),window.removeEventListener("scroll",a)}}function eP(){(0,A.inBrowser)()&&(window.addEventListener("click",e=>{let t=e.target.closest("a");if(t){let{origin:n,hash:i,target:r,pathname:a,search:o}=t,l=window.location;i&&"_blank"!==r&&n===l.origin&&(a===l.pathname&&o===l.search&&i&&t.classList.contains("header-anchor")?(e.preventDefault(),history.pushState(null,"",i),!function(e,t,n=!1){let i=null;try{i=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t.slice(1)))}catch(e){console.warn(e)}i&&eI(i,n)}(t,i,!0),window.dispatchEvent(new Event("hashchange"))):window.addEventListener("RspressReloadContent",()=>{location.hash.length>1&&eI(document.getElementById(location.hash.slice(1)),!1)}))}},{capture:!0}),window.addEventListener("hashchange",e=>{e.preventDefault()}))}function eS(){let e=(0,S.useLang)(),t=(0,S.useVersion)(),n=(0,S.usePageData)(),i=n.siteData.lang,r=n.siteData.multiVersion.default;return{normalizeLinkHref:n=>{let a=n;if(!(i||r)||(0,A.isExternalUrl)(a)||a.startsWith("#"))return a;{let n=(a=(0,S.removeBase)(a)).split("/").filter(Boolean),o="",l="",s="";return r&&(t!==r?(o=t,n[0]===t&&n.shift()):n[0]===r&&n.shift()),i&&(e!==i?(l=e,n[0]===e&&n.shift()):n[0]===i&&n.shift()),s=n.join("/"),(0,S.normalizeHrefInRuntime)((0,S.withBase)([o,l,s].filter(Boolean).join("/")))}}}}var eE="default",eC=/[\u3131-\u314e|\u314f-\u3163|\uac00-\ud7a3]/u;function ez(e){let t=e.toString().toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"");return eC.test(String(e))?t.normalize("NFC"):t}function e_(e){return e.replace(/https?:\/\/[^/]+/,"")}function eN(e){return e.charCodeAt(0)>255?3:1}var eA=e=>e.map(e=>"string"==typeof e?{value:e,label:e}:e);function eT(e,t){let n=0,i=0;for(let r=0;r=t);r++)i+=eN(e.charAt(r)),n++;return n}function eL(e){let t=0;for(let n=0;ne.lang===t).map(e=>el(eo({},e),{normalizedContent:ez(e.content),headers:e.toc.map(e=>ez(e.text)).join(" "),normalizedTitle:ez(e.title)})),l={tokenize:"full",async:!0,doc:{id:"routePath",field:["normalizedTitle","headers","normalizedContent"]},cache:100,split:/\W+/};eh(this,i,L.create(l)),eh(this,r,L.create(el(eo({},l),{tokenize(e){let t=[],n=null;do(n=eO.exec(e))&&t.push(n[0]);while(n);return t}}))),ec(this,i).add(n),ec(this,r).add(n)})}search(e){return em(this,null,function*(){var t,n;let{keyword:a,limit:o}=e,l={query:a,limit:o,field:["normalizedTitle","headers","normalizedContent"]};return[{index:eE,hits:(yield Promise.all([(t=ec(this,i))==null?void 0:t.search(l),(n=ec(this,r))==null?void 0:n.search(l)])).flat(2).filter(Boolean)}]})}};i=new WeakMap,r=new WeakMap,a=new WeakSet,o=function(e){return em(this,null,function*(){return(yield fetch(`/module-tools/static/${A.SEARCH_INDEX_NAME}${e?`.${e}`:""}.${O.default[e]}.json`)).json()})};var eD=class{constructor(){eu(this,l,void 0)}init(e){return em(this,null,function*(){eh(this,l,e)})}search(e){return em(this,null,function*(){let{apiUrl:t,searchIndexes:n}=ec(this,l),{keyword:i,limit:r}=e,a=Object.entries({keyword:i,limit:r.toString(),searchIndexes:(null==n?void 0:n.map(e=>"string"==typeof e?e:e.value).join(","))||"",lang:ec(this,l).currentLang}).map(e=>e.map(encodeURIComponent).join("=")).join("&");try{return(yield fetch(`${t}?${a}`)).json()}catch(e){return console.error(e),[]}})}};l=new WeakMap;var eR=(e=>(e.Default="default",e.Custom="custom",e))(eR||{}),eB=class{constructor(e){if(eu(this,u),eu(this,p),eu(this,f),eu(this,x),eu(this,b),eu(this,w),eu(this,s,void 0),eu(this,d,eE),eu(this,c,void 0),eh(this,s,e),eh(this,d,e.indexName),"remote"===e.mode)eh(this,c,new eD);else eh(this,c,new eM)}init(){return em(this,null,function*(){var e;yield(e=ec(this,c))==null?void 0:e.init(ec(this,s))})}match(e,t=7){return em(this,null,function*(){var n;let i=yield(n=ec(this,c))==null?void 0:n.search({keyword:e,limit:t}),r=ez(e),a=(null==i?void 0:i.find(e=>ep(this,w,k).call(this,e.index)))||{index:eE,renderType:"default",hits:[]};return[{group:ec(this,d),renderType:"default",result:ep(this,u,h).call(this,r,a)},...((null==i?void 0:i.filter(e=>!ep(this,w,k).call(this,e.index)))||[]).map(e=>({group:e.index,renderType:"default",result:ep(this,u,h).call(this,r,e)}))]})}};function eH(){let e=(0,S.useLang)(),[t,n]=(0,_.useState)(!1),{sidebar:i}=eg(),r=new eB({mode:"local",currentLang:e,extractGroupName:e=>ex(i,e).group});return(0,_.useEffect)(()=>{!function(){em(this,null,function*(){!t&&(yield r.init(),n(!0))})}()}),{initialized:t,search:r.match.bind(r)}}function e$(){let{siteData:e,page:t}=(0,S.usePageData)(),n=e.lang||"",i=Object.values(e.themeConfig.locales||{}).map(e=>e.lang)||[],r=t.lang;(0,_.useEffect)(()=>{if(!n)return;let{pathname:e}=window.location,t=(0,S.removeBase)(e),a="rspress-visited";if(localStorage.getItem(a))return;localStorage.setItem(a,"1");let o=window.navigator.language.split("-")[0];i.includes(o)&&o!==r&&(o===n?window.location.replace(e.replace(`/${r}`,"")):r===n?window.location.replace((0,S.withBase)(`/${o}${t}`)):window.location.replace(e.replace(`/${r}`,`/${o}`)))},[])}function eF(e,t,n=!1){return!!t&&(n?(0,S.isEqualPath)(e,t):(0,S.isEqualPath)(e,t)||e.startsWith(t))}function eW(e,t){return"string"==typeof e?e:"dark"===t?e.dark:e.light}function eq(){return window.innerWidth<768}function eU(e){return e?(0,T.isNumber)(e)?e:(0,D.default)(e)?M(e):e:""}function eV(e){var t;let{headers:n}=e,i=n.length>0,r=((t=n[0])==null?void 0:t.depth)||2,a=ek();return(0,_.useEffect)(()=>{let e;setTimeout(()=>{e=ej()},100);let t=decodeURIComponent(window.location.hash);if(t){let e=document.getElementById(t.slice(1));e&&eI(e,!1,a?0:R.DEFAULT_NAV_HEIGHT)}else window.scrollTo(0,0);return()=>{e&&e()}},[n]),(0,E.jsx)("div",{className:"flex flex-col",children:(0,E.jsx)("div",{className:i?"(0,E.jsx)("li",{children:(0,E.jsx)("a",{href:`#${e.id}`,className:"aside-link transition-all duration-300 hover:text-text-1 text-text-2 block",style:{paddingLeft:(e.depth-r)*12,fontWeight:"semibold"},onClick:t=>{t.preventDefault(),window.location.hash=e.id;let n=document.getElementById(e.id);n&&eI(n,!1,a?0:R.DEFAULT_NAV_HEIGHT)},children:(0,E.jsx)("span",{className:"aside-link-text block",children:e.text})})},e.id))})})]})})})}s=new WeakMap,d=new WeakMap,c=new WeakMap,u=new WeakSet,h=function(e,t){let n=[];return null==t||t.hits.forEach(t=>{ep(this,p,m).call(this,t,e,n),!ep(this,f,g).call(this,t,e,n)&&ep(this,x,v).call(this,t,e,n)}),n},p=new WeakSet,m=function(e,t,n){let{title:i=""}=e,r=ez(i);return!!r.includes(t)&&(n.push({type:"title",title:i,header:i,link:`${e.domain}${(0,S.normalizeHrefInRuntime)(e.routePath)}`,query:t,highlightInfoList:[{start:r.indexOf(t),length:eL(t)}],group:ec(this,s).extractGroupName(e.routePath)}),!0)},f=new WeakSet,g=function(e,t,n){let{toc:i=[],domain:r="",title:a=""}=e;for(let[o,l]of i.entries())if(ez(l.text).includes(t)){let d=(function(e,t){let n=e[t],i=t,r=[n];for(;n&&n.depth>2;){let t=!1;for(let a=i-1;a>=0;a--){let o=e[a];if(o.depth>1&&o.depth===n.depth-1){n=o,i=a,r.unshift(n),t=!0;break}}if(!t)break}return r})(i,o).map(e=>e.text).join(" > "),c=ez(d).indexOf(t),u=`${a} > `;return n.push({type:"header",title:e.title,header:`${u}${d}`,highlightInfoList:[{start:c+u.length,length:eL(t)}],link:`${r}${(0,S.normalizeHrefInRuntime)(e.routePath)}#${l.id}`,query:t,group:ec(this,s).extractGroupName(e.routePath)}),!0}return!1},x=new WeakSet,v=function(e,t,n){var i,r,a;let{content:o,toc:l,domain:d}=e;if(!o.length)return;let c=ez(o),u=c.indexOf(t),h=l.map(e=>e.charIndex),p=e=>l[h.findIndex((t,n)=>{if(!(n=e)return!0}return!1})];if(-1===u){let a=(i=e._matchesPosition)==null?void 0:i.content;if(!(null==a?void 0:a.length))return;let l=e._matchesPosition.content[0].start,c=p(l),u=eT(o,l),h=eT(o,l+100),m=o.slice(u,h),f=e._matchesPosition.content.filter(e=>e.start>=l&&e.start+e.length<=l+100).map(e=>({start:eT(o,e.start)-u+3,length:e.length}));n.push({type:"content",title:e.title,header:(r=null==c?void 0:c.text)!=null?r:e.title,link:`${d}${(0,S.normalizeHrefInRuntime)(e.routePath)}${c?`#${c.id}`:""}`,query:t,highlightInfoList:f,group:ec(this,s).extractGroupName(e.routePath),statement:`...${m}...`});return}for(;-1!==u;){let i=p(u),r=o.slice(0,u).lastIndexOf("\n");r=-1===r?0:r;let l=o.indexOf("\n\n",u+t.length),h=o.slice(r,l);h.length>100&&(h=ep(this,b,y).call(this,h,t));let m=ez(h).indexOf(t),f=[{start:m,length:eL(t)}];n.push({type:"content",title:e.title,header:(a=null==i?void 0:i.text)!=null?a:e.title,statement:h,highlightInfoList:f,link:`${d}${(0,S.normalizeHrefInRuntime)(e.routePath)}${i?`#${i.id}`:""}`,query:t,group:ec(this,s).extractGroupName(e.routePath)}),u=c.indexOf(t,u+h.length-m)}},b=new WeakSet,y=function(e,t){let n=ez(e).indexOf(ez(t)),i=Math.floor((100-t.length)/2),r=e.slice(0,n);r.length>i&&(r=`...${e.slice(n-i+3,n)}`);let a=e.slice(n+t.length);return a.length>i&&(a=`${e.slice(n+t.length,n+i-3)}...`),r+t+a},w=new WeakSet,k=function(e){return e===ec(this,d)||e===eE};var eG={editLink:"editLink_2a169"};function eZ(){let e=ey();if(!e)return null;let{text:t,link:n}=e;return(0,E.jsx)("a",{href:n,target:"_blank",className:eG.editLink,children:t})}function eY(){let{lastUpdatedText:e="Last Updated"}=eg(),{page:{lastUpdatedTime:t},siteData:n}=(0,S.usePageData)(),{themeConfig:i}=n,r=(null==i?void 0:i.lastUpdatedText)||e;return(0,E.jsx)("div",{className:"flex text-sm text-text-2 leading-6 sm:leading-8 font-medium",children:(0,E.jsxs)("p",{children:[r,": ",(0,E.jsx)("span",{children:t})]})})}var eK={link:"link_03735"};function eX(e){let{href:t="/",children:n,className:i="",onNavigate:r}=e,a=es(e,["href","children","className","onNavigate"]),o=(0,A.isExternalUrl)(t),l=o?"_blank":"",s=o?"noopener noreferrer":void 0,d=o?t:(0,S.withBase)((0,S.normalizeHrefInRuntime)(t)),c=(0,S.useNavigate)(),{pathname:u}=(0,S.useLocation)(),h=(0,S.isEqualPath)(u,d);return o?(0,E.jsx)("a",el(eo({},a),{href:d,target:l,rel:s,className:`${eK.link} ${i}`,children:n})):(0,E.jsx)("a",el(eo({},a),{className:`${eK.link} ${i} cursor-pointer`,rel:s,target:l,onClick:e=>em(this,null,function*(){if(0!==e.button||e.currentTarget.target&&"_self"!==e.currentTarget.target||e.metaKey||e.shiftKey||e.altKey||e.ctrlKey)return;e.preventDefault();let t=d.split("#")[1];if(!o&&h&&t){let e=document.getElementById(t);e&&(0,$.scrollToTarget)(e,!0);return}if(!h){let e=(0,S.matchRoutes)(H.routes,(0,S.normalizeRoutePath)(d));if(null==e?void 0:e.length){let t=setTimeout(()=>{B.start()},200);yield e[0].route.preload(),clearTimeout(t),B.done()}null==r||r(),c(d,{replace:!1})}}),href:d,children:n}))}B.configure({showSpinner:!1});var eQ={pagerLink:"pager-link_9b9a7",title:"title_9b9a7",next:"next_9b9a7",desc:"desc_9b9a7"};function eJ(e){let{type:t,text:n,href:i}=e,{prevPageText:r="Previous Page",nextPageText:a="Next page"}=eg(),o="prev"===t?eQ.pagerLink:`${eQ.pagerLink} ${eQ.next}`;return(0,E.jsxs)(eX,{href:i,className:o,children:[(0,E.jsx)("span",{className:eQ.desc,children:"prev"===t?r:a}),(0,E.jsx)("span",{className:eQ.title,children:n})]})}var e0={prev:"prev_e7091",next:"next_e7091"};function e1(){let{prevPage:e,nextPage:t}=eb(),{lastUpdated:n=!1}=eg(),{siteData:i}=(0,S.usePageData)(),{themeConfig:r}=i,a=r.lastUpdated||n;return(0,E.jsxs)("footer",{className:"mt-8",children:[(0,E.jsx)("div",{className:"xs:flex pb-5 px-2 justify-end items-center",children:a&&(0,E.jsx)(eY,{})}),(0,E.jsx)("div",{className:"flex flex-col",children:(0,E.jsx)(eZ,{})}),(0,E.jsxs)("div",{className:"flex flex-col sm:flex-row sm:justify-around gap-4 pt-6",children:[(0,E.jsx)("div",{className:"prev_e7091 flex flex-col",children:e?(0,E.jsx)(eJ,{type:"prev",text:e.text,href:(0,S.normalizeHrefInRuntime)(e.link)}):null}),(0,E.jsx)("div",{className:"next_e7091 flex flex-col",children:t?(0,E.jsx)(eJ,{type:"next",text:t.text,href:(0,S.normalizeHrefInRuntime)(t.link)}):null})]})]})}var e2=e=>(0,E.jsx)("svg",el(eo({width:"1em",height:"1em",viewBox:"0 0 32 32"},e),{children:(0,E.jsx)("path",{fill:"currentColor",d:"M4 6h24v2H4zm0 18h24v2H4zm0-12h24v2H4zm0 6h24v2H4z"})})),e3=e=>(0,E.jsx)("svg",el(eo({width:"1em",height:"1em",viewBox:"0 0 32 32"},e),{children:(0,E.jsx)("path",{fill:"currentColor",d:"M22 16 12 26l-1.4-1.4 8.6-8.6-8.6-8.6L12 6z"})})),e4={hidden:"hidden_f6cde",container:"container_f6cde",navContainer:"navContainer_f6cde",leftNav:"leftNav_f6cde",rightNav:"rightNav_f6cde",singleItem:"singleItem_f6cde",activeItem:"activeItem_f6cde",navBarTitle:"navBarTitle_f6cde",menuItem:"menu-item_f6cde",mobileNavMenu:"mobileNavMenu_f6cde"},e5=()=>{var e;let{siteData:t}=(0,S.usePageData)(),n=(0,$.useLocaleSiteData)(),{logo:i}=t,r=(e=n.title)!=null?e:t.title,{theme:a}=(0,_.useContext)(S.ThemeContext),[o,l]=(0,_.useState)((0,$.getLogoUrl)(i,a));return(0,_.useEffect)(()=>{l((0,$.getLogoUrl)(i,a))},[a]),(0,E.jsx)("div",{className:`${e4.navBarTitle}`,children:(0,E.jsx)("a",{href:(0,S.withBase)(n.langRoutePrefix||"/"),className:"flex items-center w-full h-full text-base font-semibold transition-opacity duration-300 hover:opacity-60",children:o?(0,E.jsx)("img",{src:(0,S.normalizeImagePath)(o),alt:"logo",id:"logo",className:"mr-4 rspress-logo"}):(0,E.jsx)("span",{children:r})})})},e6={navTitleMask:"navTitleMask_71eca",sidebar:"sidebar_71eca",sidebarContainer:"sidebarContainer_71eca",sidebarContent:"sidebarContent_71eca",open:"open_71eca",menuLink:"menuLink_71eca",menuItem:"menuItem_71eca",collapseContainer:"collapseContainer_71eca",menuItemStatic:"menuItemStatic_71eca",menuItemActive:"menuItemActive_71eca",menuGroupActive:"menuGroupActive_71eca"},e7=({tag:e})=>e?e.trim().startsWith("{if(h.current||!d.current||!u.current)return;c.current&&clearTimeout(c.current);let e=d.current,t=u.current,n=t.clientHeight+4;f?(e.style.maxHeight=`${n}px`,e.style.transitionDuration="0.5s",t.style.opacity="0",c.current=setTimeout(()=>{d.current&&(d.current.style.maxHeight="0px")},0)):(e.style.maxHeight=`${n}px`,e.style.transitionDuration="0.3s",t.style.opacity="1",c.current=setTimeout(()=>{d.current&&d.current.style.removeProperty("max-height")},300))},[f]),(0,_.useEffect)(()=>{h.current=!1},[]);let v=e=>{e.stopPropagation(),o(e=>{let t=[...e],n=a.split("-").map(Number),i=t[n.shift()];for(let e of n)i=i.items[e];return"items"in i&&(i.collapsed=!i.collapsed),t})};return(0,E.jsxs)("section",{className:"mt-0.5 block",style:{marginLeft:0===i?0:"18px"},children:[(0,E.jsxs)("div",{className:`flex justify-between items-center ${s&&!m?e6.menuGroupActive:""} ${m?e6.menuItemActive:g||n.link?e6.menuItem:e6.menuItemStatic}`,onMouseEnter:()=>n.link&&e.preloadLink(n.link),onClick:e=>{n.link?(l((0,S.withBase)((0,S.normalizeHrefInRuntime)(n.link))),f&&v(e)):g&&v(e)},style:{borderRadius:0===i?"0 var(--rp-radius) var(--rp-radius) 0":void 0,cursor:g||n.link?"pointer":"normal"},children:[(0,E.jsxs)("h2",{className:"py-2 px-3 text-sm font-medium flex",style:eo({},0===i?tn:{}),children:[(0,E.jsx)(e7,{tag:n.tag}),n.text]}),g&&(0,E.jsx)("div",{className:`${e6.collapseContainer} p-2 rounded-xl`,onClick:v,children:x})]}),(0,E.jsx)("div",{ref:d,className:"transition-all duration-300 ease-in-out",style:{overflow:"hidden",maxHeight:p.current?0:void 0},children:(0,E.jsx)("div",{ref:u,className:"rspress-sidebar-group transition-opacity duration-500 ease-in-out",style:{opacity:p.current?0:1,marginLeft:0===i?"12px":0},children:(t=null==n?void 0:n.items)==null?void 0:t.map((t,n)=>"dividerType"in t?(0,E.jsx)(e8,{depth:i+1,dividerType:t.dividerType},n):(0,E.jsx)("div",{children:(0,E.jsx)(tt,el(eo({},e),{item:t,depth:i+1,id:`${a}-${n}`,preloadLink:e.preloadLink}))},n))})})]},a)}var te=e=>e.replace(/\.(mdx?)$/,"");function tt(e){let{item:t,depth:n=0,activeMatcher:i,id:r,setSidebarData:a}=e,o="link"in t&&t.link&&i(t.link),{page:l}=(0,S.usePageData)(),s=(0,_.useRef)(null);(0,_.useEffect)(()=>{var e;o&&((e=s.current)==null||e.scrollIntoView({block:"center"}))},[]);let{text:d}=t;return(t._fileKey===te(l.pagePath)&&l.title&&(d=l.title),"items"in t)?(0,E.jsx)(e9,{id:r,item:t,depth:n,activeMatcher:i,collapsed:t.collapsed,setSidebarData:a,preloadLink:e.preloadLink},`${t.text}-${r}`):(0,E.jsx)(eX,{href:(0,S.normalizeHrefInRuntime)(t.link),className:e6.menuLink,children:(0,E.jsxs)("div",{ref:s,onMouseEnter:()=>e.preloadLink(t.link),className:`${o?e6.menuItemActive:e6.menuItem} mt-0.5 py-2 px-3 font-medium flex`,style:eo(eo({fontSize:0===n?"14px":"13px",marginLeft:0===n?0:"18px",borderRadius:"0 var(--rp-radius) var(--rp-radius) 0"},0===n?tn:{}),o?{color:"var(--rp-c-brand)"}:{}),children:[(0,E.jsx)(e7,{tag:t.tag}),d]})})}var tn={fontSize:"14px",paddingLeft:"24px",fontWeight:"bold"},ti=new WeakMap;function tr(e){let{isSidebarOpen:t,beforeSidebar:n,afterSidebar:i,uiSwitch:r}=e,{items:a}=ev(),o=eg(),{pathname:l}=(0,S.useLocation)(),s=(0,A.normalizeSlash)(o.langRoutePrefix||""),[d,c]=(0,_.useState)(a.filter(Boolean).flat()),u=decodeURIComponent(l);(0,_.useEffect)(()=>{if(a===d)return;ti=new WeakMap;let e=t=>ti.has(t)?ti.get(t):"link"in t&&t.link&&p(t.link)||"items"in t&&t.items.some(t=>e(t))?(ti.set(t,!0),!0):(ti.set(t,!1),!1),t=n=>{"items"in n&&(n.items.forEach(t),e(n)&&(n.collapsed=!1))},n=a.filter(Boolean).flat();n.forEach(t),c(n)},[a,u]);let h=e=>e.replace(s,""),p=e=>eF((0,S.removeBase)(h(u)),h(e),!0),m=e=>{let t=(0,S.matchRoutes)(H.routes,e);if(null==t?void 0:t.length){let{route:e}=t[0];e.preload()}};return(0,E.jsx)("aside",{className:`${e6.sidebar} rspress-sidebar ${t?e6.open:""}`,children:(0,E.jsxs)("div",{className:`${e6.sidebarContainer}`,children:[r.showNavbar?(0,E.jsx)("div",{className:e6.navTitleMask,children:(0,E.jsx)(e5,{})}):null,(0,E.jsx)("div",{className:`mt-1 ${e6.sidebarContent}`,children:(0,E.jsx)("div",{className:"rspress-scrollbar",style:{maxHeight:"calc(100vh - var(--rp-nav-height) - 8px)",overflow:"auto"},children:(0,E.jsxs)("nav",{className:"pb-2",children:[n,d.map((e,t)=>{var n;return"dividerType"in e?(0,E.jsx)(e8,{depth:0,dividerType:e.dividerType},t):(0,E.jsx)(tt,{id:String(t),item:e,depth:0,activeMatcher:p,collapsed:(n=e.collapsed)==null||n,setSidebarData:c,preloadLink:m},t)}),i]})})})]})})}var ta=e=>(0,E.jsx)("li",{children:(0,E.jsx)("a",{href:`#${e.id}`,className:"rspress-toc-link sm:text-normal text-sm",style:{marginLeft:(e.depth-2)*12},onClick:t=>{t.preventDefault(),window.location.hash=e.id;let n=document.getElementById(e.id);n&&(0,$.scrollToTarget)(n,!1)},children:(0,E.jsx)("span",{className:"rspress-toc-link-text block",children:e.text})})},e.id);function to(){let{page:e}=(0,S.usePageData)();return(0,E.jsx)("ul",{children:e.toc.map(e=>(0,E.jsx)(ta,eo({},e),e.id))})}function tl({beforeSidebar:e,afterSidebar:t,uiSwitch:n}){let[i,r]=(0,_.useState)(!1),[a,o]=(0,_.useState)(!1),l=(0,_.useRef)(),{pathname:s}=(0,S.useLocation)();(0,_.useEffect)(()=>{r(!1)},[s]),(0,_.useEffect)(()=>(document.addEventListener("mouseup",d),document.addEventListener("touchend",d),()=>{document.addEventListener("mouseup",d),document.removeEventListener("touchend",d)}),[]);let d=e=>{let{current:t}=l;t&&!t.contains(e.target)&&o(!1)};return(0,E.jsxs)(_.Fragment,{children:[(0,E.jsxs)("div",{className:"rspress-sidebar-menu",children:[(0,E.jsxs)("button",{onClick:function(){r(!0)},className:"flex-center",children:[(0,E.jsx)("div",{className:"text-md mr-2",children:(0,E.jsx)(e2,{})}),(0,E.jsx)("span",{className:"text-sm",children:"Menu"})]}),(0,E.jsxs)("button",{onClick:()=>o(e=>!e),className:"flex-center",children:[(0,E.jsx)("span",{className:"text-sm",children:"On this page"}),(0,E.jsx)("div",{className:"text-md mr-2",children:(0,E.jsx)(e3,{})})]}),(0,E.jsx)("div",{className:"rspress-local-toc-container",style:{display:a?"block":"none"},ref:l,children:(0,E.jsx)(to,{})})]}),(0,E.jsx)(tr,{isSidebarOpen:i,beforeSidebar:e,afterSidebar:t,uiSwitch:n}),i?(0,E.jsx)("div",{onClick:function(){r(!1)},className:"rspress-sidebar-back-drop",style:{background:"rgba(0, 0, 0, 0.6)"}}):null]})}var ts={"header-anchor":"header-anchor_8f375",headerAnchor:"header-anchor_8f375","overview-groups":"overview-groups_8f375",overviewGroups:"overview-groups_8f375","overview-group-li":"overview-group-li_8f375",overviewGroupLi:"overview-group-li_8f375","level-2":"level-2_8f375",level2:"level-2_8f375","overview-group":"overview-group_8f375",overviewGroup:"overview-group_8f375",header:"header_8f375"},td="Others";function tc(e){let{siteData:t,page:{routePath:n,title:i}}=(0,S.usePageData)(),{pages:r}=t,a=r.filter(e=>e.routePath.startsWith(n.replace(/overview$/,""))&&e.routePath!==n),{items:o}=ev();function l(e){var t;let n=a.find(t=>(0,S.isEqualPath)(t.routePath,(0,S.withBase)(e.link||""))),i=e=>"link"in e&&e.link?e.link:"items"in e?i(e.items[0]):"",r=i(e);return el(eo({},e),{link:r,headers:((t=null==n?void 0:n.toc)==null?void 0:t.filter(e=>2===e.depth))||[]})}let s=(0,_.useMemo)(()=>{let e=o.filter(e=>"items"in e).map(e=>({name:e.text||"",items:e.items.map(l).filter(Boolean)})),t=o.filter(e=>!("items"in e)&&!(0,S.isEqualPath)(e.link||"",n));return[...e,...t.length>0?[{name:td,items:t.map(l)}]:[]]},[o]);return(0,E.jsxs)("div",{className:"overview-index mx-auto px-8",children:[(0,E.jsx)("div",{className:"flex items-center justify-between",children:!i&&(0,E.jsx)("h1",{className:"text-3xl leading-10 tracking-tight",children:"Overview"})}),e.content,s.map(e=>(0,E.jsxs)("div",{className:"mb-16",children:[e.name===td&&1===s.length?(0,E.jsx)("h2",{style:{paddingTop:0}}):(0,E.jsx)("h2",{children:e.name}),(0,E.jsx)("div",{className:ts.overviewGroups,children:e.items.map(e=>{var t;return(0,E.jsxs)("div",{className:ts.overviewGroup,children:[(0,E.jsx)("div",{className:"flex",children:(0,E.jsx)("h3",{style:{marginBottom:8},children:(0,E.jsx)(eX,{href:(0,S.normalizeHrefInRuntime)(e.link),children:e.text})})}),(0,E.jsx)("ul",{className:"list-none",children:(t=e.headers)==null?void 0:t.map(t=>(0,E.jsx)("li",{className:`${ts.overviewGroupLi} ${ts[`level${t.depth}`]} first:mt-2`,children:(0,E.jsx)(eX,{href:`${(0,S.normalizeHrefInRuntime)(e.link)}#${t.id}`,children:t.text})},t.id))})]},e.link)})})]},e.name))]})}var tu=(0,_.createContext)({}),th={scrollToTop:"scroll-to-top_1a167",entered:"entered_1a167"};function tp(){let[e,t]=(0,_.useState)(!1),n=()=>{t((window.scrollY||document.documentElement.scrollTop)>0)};return(0,_.useEffect)(()=>{window.addEventListener("scroll",n)},[]),(0,E.jsx)("button",{className:`${th.scrollToTop} ${e?th.entered:""}`,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},children:(0,E.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"w-6 h-6",children:(0,E.jsx)("path",{fillRule:"evenodd",d:"M11.47 2.47a.75.75 0 0 1 1.06 0l7.5 7.5a.75.75 0 1 1-1.06 1.06l-6.22-6.22V21a.75.75 0 0 1-1.5 0V4.81l-6.22 6.22a.75.75 0 1 1-1.06-1.06l7.5-7.5Z",clipRule:"evenodd"})})})}var tm={asideContainer:"aside-container_edeb4",docLayout:"docLayout_edeb4",content:"content_edeb4"};function tf(e){var t,n;let{beforeDocFooter:i,afterDocFooter:r,beforeDoc:a,afterDoc:o,beforeOutline:l,afterOutline:s,beforeSidebar:d,afterSidebar:c,uiSwitch:u}=e,{siteData:h,page:p}=(0,S.usePageData)(),{toc:m=[],frontmatter:f}=p,[g,x]=(0,_.useState)({}),{themeConfig:v}=h,b=(t=v.enableScrollToTop)!=null&&t,y=eg(),w=(null==y?void 0:y.outlineTitle)||(null==v?void 0:v.outlineTitle)||"ON THIS PAGE",k=(n=null==f?void 0:f.overview)!=null&&n,I=(0,E.jsx)(tu.Provider,{value:{tabData:g,setTabData:x},children:(0,E.jsx)(N.MDXProvider,{components:(0,z.getCustomMDXComponent)(),children:(0,E.jsx)(S.Content,{})})});return(0,E.jsxs)("div",{className:`${tm.docLayout} pt-0`,style:eo({},u.showNavbar?{}:{marginTop:0}),children:[a,u.showSidebar?(0,E.jsx)(tl,{beforeSidebar:d,afterSidebar:c,uiSwitch:u}):null,(0,E.jsxs)("div",{className:`${tm.content} rspress-doc-container flex flex-shrink-0 mx-auto`,children:[(0,E.jsx)("div",{className:"w-full",children:k?(0,E.jsx)(tc,{content:I}):(0,E.jsxs)("div",{children:[(0,E.jsx)("div",{className:"rspress-doc",children:I}),(0,E.jsxs)("div",{className:"rspress-doc-footer",children:[i,u.showDocFooter&&(0,E.jsx)(e1,{}),r]})]})}),b&&(0,E.jsx)(S.NoSSR,{children:(0,E.jsx)(tp,{})}),u.showAside?(0,E.jsx)("div",{className:tm.asideContainer,style:eo({},u.showNavbar?{}:{marginTop:0,paddingTop:"32px"}),children:(0,E.jsxs)("div",{children:[l,(0,E.jsx)(eV,{headers:m,outlineTitle:w}),s]})}):null]}),o]})}var tg=e=>{var t;let{top:n,bottom:i,beforeDocFooter:r,afterDocFooter:a,beforeDoc:o,afterDoc:l,beforeSidebar:s,afterSidebar:d,beforeOutline:c,afterOutline:u,beforeNavTitle:h,afterNavTitle:p,beforeNav:m,beforeHero:f,afterHero:g,beforeFeatures:x,afterFeatures:v,afterNavMenu:b}=e,y={beforeDocFooter:r,afterDocFooter:a,beforeDoc:o,afterDoc:l,beforeSidebar:s,afterSidebar:d,beforeOutline:c,afterOutline:u},w={beforeHero:f,afterHero:g,beforeFeatures:x,afterFeatures:v},{siteData:k,page:I}=(0,S.usePageData)(),{pageType:j,lang:P,title:_,frontmatter:N}=I,A=(0,$.useLocaleSiteData)();(0,F.useRedirect4FirstVisit)();let T=(t=null==N?void 0:N.title)!=null?t:_,L=k.title||A.title;T=T&&"doc"===j?`${T} - ${L}`:L;let O=(null==N?void 0:N.description)||k.description||A.description,M=(0,W.useUISwitch)();return(0,E.jsxs)("div",{children:[(0,E.jsxs)(C.Helmet,{htmlAttributes:{lang:P||"en"},children:[T?(0,E.jsx)("title",{children:T}):null,O?(0,E.jsx)("meta",{name:"description",content:O}):null]}),n,"blank"!==j&&M.showNavbar&&(0,E.jsx)(z.Nav,{beforeNavTitle:h,afterNavTitle:p,beforeNav:m,afterNavMenu:b}),(0,E.jsx)("section",{children:(()=>{switch(j){case"home":return(0,E.jsx)(z.default.HomeLayout,eo({},w));case"doc":return(0,E.jsx)(tf,el(eo({},y),{uiSwitch:M}));case"404":return(0,E.jsx)(z.default.NotFoundLayout,{});case"custom":case"blank":return(0,E.jsx)(S.Content,{});default:return(0,E.jsx)(tf,eo({},y))}})()}),i]})},tx={button:"button_72e53",medium:"medium_72e53",big:"big_72e53",brand:"brand_72e53",alt:"alt_72e53"};function tv(e){let{theme:t="brand",size:n="big",href:i="/",external:r=!1,className:a=""}=e,o=null;return"button"===e.type?o="button":"a"===e.type&&(o=r?"a":eX),_.createElement(null!=o?o:"a",{className:`button_72e53 ${tx[t]} ${tx[n]} ${a}`,href:i},e.text)}var tb={clip:"clip_c867a",mask:"mask_c867a"},ty={name:"modern",text:"modern ssg",tagline:"modern ssg",actions:[],image:void 0};function tw({frontmatter:e}){var t,n,i;let r=(null==e?void 0:e.hero)||ty,a=void 0!==r.image,o=a?"sm:max-w-xl":"sm:max-w-4xl",l=r.text?r.text.toString().split(/\n/g).filter(e=>""!==e):[];return(0,E.jsxs)("div",{className:"m-auto pt-0 px-6 pb-12 sm:pt-10 sm:px-16 md:pt-16 md:px-16 md:pb-16",children:[(0,E.jsx)("div",{className:"mask_c867a",style:{left:a?"75%":"50%"}}),(0,E.jsxs)("div",{className:"m-auto flex flex-col md:flex-row max-w-6xl min-h-[50vh] mt-12 sm:mt-0",children:[(0,E.jsxs)("div",{className:"flex flex-col justify-center text-center max-w-xl sm:max-w-4xl m-auto order-2 md:order-1",children:[(0,E.jsx)("h1",{className:"font-bold text-3xl pb-2 sm:text-6xl md:text-7xl m-auto sm:m-4 md:m-0 md:pb-3 lg:pb-2 leading-tight z-10",children:(0,E.jsx)("span",{className:"clip_c867a",style:{lineHeight:"1.3"},children:eU(r.name)})}),0!==l.length&&l.map(e=>(0,E.jsx)("p",{className:`rspress-home-hero-text mx-auto md:m-0 text-3xl sm:text-5xl md:text-6xl sm:pb-2 font-bold z-10 ${o}`,style:{lineHeight:"1.2"},children:eU(e)},e)),(0,E.jsx)("p",{className:`rspress-home-hero-tagline whitespace-pre-wrap pt-4 m-auto md:m-0 text-sm sm:tex-xl md:text-2xl text-text-2 font-medium z-10 ${o}`,children:eU(r.tagline)}),((t=r.actions)==null?void 0:t.length)&&(0,E.jsx)("div",{className:"grid md:flex md:flex-wrap md:justify-center gap-3 m--1.5 pt-6 sm:pt-8 z-10",children:r.actions.map(e=>(0,E.jsx)("div",{className:"flex flex-shrink-0 p-1",children:(0,E.jsx)(tv,{type:"a",text:eU(e.text),href:(0,S.normalizeHrefInRuntime)(e.link),theme:e.theme,className:"w-full"})},e.link))})]}),a?(0,E.jsx)("div",{className:"rspress-home-hero-image md:flex-center m-auto order-1 md:order-2 sm:flex md:none lg:flex",children:(0,E.jsx)("img",{src:(0,S.normalizeImagePath)((n=r.image)==null?void 0:n.src),alt:(i=r.image)==null?void 0:i.alt,width:375,height:375})}):null]})]})}var tk={"grid-2":"grid-2_ffda3",grid2:"grid-2_ffda3","grid-4":"grid-4_ffda3",grid4:"grid-4_ffda3","grid-6":"grid-6_ffda3",grid6:"grid-6_ffda3","grid-3":"grid-3_ffda3",grid3:"grid-3_ffda3",featureCard:"featureCard_ffda3"},tI=e=>{let{span:t}=e;return`grid-${t||4}`};function tj({frontmatter:e}){let t=null==e?void 0:e.features;return(0,E.jsx)("div",{className:"overflow-hidden m-auto flex flex-wrap max-w-6xl",children:null==t?void 0:t.map(e=>{let{icon:t,title:n,details:i,link:r}=e;return(0,E.jsx)("div",{className:`${tk[tI(e)]} rounded hover:var(--rp-c-brand)`,children:(0,E.jsx)("div",{className:"h-full p-2",children:(0,E.jsxs)("article",{className:`rspress-home-feature-card ${tk.featureCard} h-full p-8 rounded-4xl border-transparent`,style:{cursor:r?"pointer":"auto"},onClick:()=>{r&&(window.location.href=r)},children:[t?(0,E.jsx)("div",{className:"flex-center",children:(0,E.jsx)("div",{className:"rspress-home-feature-icon w-12 h-12 text-3xl text-center",children:t})}):null,(0,E.jsx)("h2",{className:"rspress-home-feature-title font-bold text-center",children:n}),(0,E.jsx)("p",{className:"rspress-home-feature-detail leading-6 pt-2 text-sm text-text-2 font-medium",children:(0,$.renderHtmlOrText)(i)})]},n)})},n)})})}function tP(e){let{beforeHero:t,afterHero:n,beforeFeatures:i,afterFeatures:r}=e,{page:{frontmatter:a}}=(0,S.usePageData)();return(0,E.jsxs)("div",{className:"relative",style:{minHeight:"calc(100vh - var(--rp-nav-height))",paddingBottom:"80px"},children:[(0,E.jsxs)("div",{className:"pb-12",children:[t,(0,E.jsx)(tw,{frontmatter:a}),n,i,(0,E.jsx)(tj,{frontmatter:a}),r]}),(0,E.jsx)(z.HomeFooter,{})]})}function tS(e){let{pathname:t,base:n}=e,i=new RegExp(e.activeMatch||e.link).test((0,A.withoutBase)(t,n));return(0,E.jsx)(eX,{href:(0,S.normalizeHrefInRuntime)(e.link),children:(0,E.jsxs)("div",{className:`rspress-nav-menu-item ${e4.singleItem} ${i?e4.activeItem:""} text-sm font-medium mx-1.5 px-3 py-2 flex items-center`,children:[(0,E.jsx)(e7,{tag:e.tag}),e.text,e.rightIcon]},e.text)})}var tE=e=>(0,E.jsx)("svg",el(eo({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),{children:(0,E.jsx)("path",{d:"M12 18c-3.3 0-6-2.7-6-6s2.7-6 6-6 6 2.7 6 6-2.7 6-6 6zm0-10c-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4zM12 4c-.6 0-1-.4-1-1V1c0-.6.4-1 1-1s1 .4 1 1v2c0 .6-.4 1-1 1zM12 24c-.6 0-1-.4-1-1v-2c0-.6.4-1 1-1s1 .4 1 1v2c0 .6-.4 1-1 1zM5.6 6.6c-.3 0-.5-.1-.7-.3L3.5 4.9c-.4-.4-.4-1 0-1.4s1-.4 1.4 0l1.4 1.4c.4.4.4 1 0 1.4-.1.2-.4.3-.7.3zM19.8 20.8c-.3 0-.5-.1-.7-.3l-1.4-1.4c-.4-.4-.4-1 0-1.4s1-.4 1.4 0l1.4 1.4c.4.4.4 1 0 1.4-.2.2-.5.3-.7.3zM3 13H1c-.6 0-1-.4-1-1s.4-1 1-1h2c.6 0 1 .4 1 1s-.4 1-1 1zM23 13h-2c-.6 0-1-.4-1-1s.4-1 1-1h2c.6 0 1 .4 1 1s-.4 1-1 1zM4.2 20.8c-.3 0-.5-.1-.7-.3-.4-.4-.4-1 0-1.4l1.4-1.4c.4-.4 1-.4 1.4 0s.4 1 0 1.4l-1.4 1.4c-.2.2-.4.3-.7.3zM18.4 6.6c-.3 0-.5-.1-.7-.3-.4-.4-.4-1 0-1.4l1.4-1.4c.4-.4 1-.4 1.4 0s.4 1 0 1.4l-1.4 1.4c-.2.2-.5.3-.7.3z"})})),tC=e=>(0,E.jsx)("svg",el(eo({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),{children:(0,E.jsx)("path",{d:"M12.1 22h-.9c-5.5-.5-9.5-5.4-9-10.9.4-4.8 4.2-8.6 9-9 .4 0 .8.2 1 .5.2.3.2.8-.1 1.1-2 2.7-1.4 6.4 1.3 8.4 2.1 1.6 5 1.6 7.1 0 .3-.2.7-.3 1.1-.1.3.2.5.6.5 1-.2 2.7-1.5 5.1-3.6 6.8-1.9 1.4-4.1 2.2-6.4 2.2zM9.3 4.4c-2.9 1-5 3.6-5.2 6.8-.4 4.4 2.8 8.3 7.2 8.7 2.1.2 4.2-.4 5.8-1.8 1.1-.9 1.9-2.1 2.4-3.4-2.5.9-5.3.5-7.5-1.1-2.8-2.2-3.9-5.9-2.7-9.2z"})})),tz=e=>{null==I||I[e?"add":"remove"]("dark")},t_=()=>{var e;let t=!1===U.default.themeConfig.darkMode,n=(e=window.RSPRESS_THEME)!=null?e:window.MODERN_THEME;if(n){tz("dark"===n);return}if(t)return;let i=localStorage.getItem(A.APPEARANCE_KEY)||"auto";P=window.matchMedia("(prefers-color-scheme: dark)"),tz("auto"===i?P.matches:"dark"===i)};"undefined"!=typeof window&&"undefined"!=typeof localStorage&&(I=document.documentElement.classList,t_());var tN=()=>null==I?void 0:I.contains("dark"),tA=()=>("undefined"!=typeof window&&window.addEventListener("storage",t_),()=>{let e=tN();"undefined"!=typeof window&&"undefined"!=typeof localStorage&&(tz(!e),j=e?"light":"dark",localStorage.setItem(A.APPEARANCE_KEY,j))});function tT({onClick:e}){let{theme:t,setTheme:n}=(0,_.useContext)(S.ThemeContext),i=tA();return(0,_.useEffect)(()=>{tN()&&n("dark")},[]),(0,E.jsx)("div",{onClick:()=>{n("dark"===t?"light":"dark"),i(),null==e||e()},className:"md:mr-2 rspress-nav-appearance",children:(0,E.jsx)("div",{className:"p-1 border border-solid border-gray-300 text-gray-400 cursor-pointer rounded-md hover:border-gray-600 hover:text-gray-600 dark:hover:border-gray-200 dark:hover:text-gray-200 transition-all duration-300",children:"light"===t?(0,E.jsx)(tE,{width:"18",height:"18",fill:"currentColor"}):(0,E.jsx)(tC,{width:"18",height:"18",fill:"currentColor"})})})}var tL=e=>(0,E.jsx)("svg",el(eo({width:"1em",height:"1em",viewBox:"0 0 32 32"},e),{children:(0,E.jsx)("path",{fill:"currentColor",d:"M16 22 6 12l1.4-1.4 8.6 8.6 8.6-8.6L26 12z"})})),tO={socialLinksIcon:"social-links-icon_93d67",menuItem:"menu-item_93d67"},tM={discord:(0,E.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,E.jsx)("title",{children:"Discord"}),(0,E.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,E.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,E.jsx)("title",{children:"Facebook"}),(0,E.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,E.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,E.jsx)("title",{children:"GitHub"}),(0,E.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"})]}),gitlab:(0,E.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,E.jsx)("title",{children:"GitLab"}),(0,E.jsx)("path",{fill:"currentColor",d:"m21.94 13.11l-1.05-3.22c0-.03-.01-.06-.02-.09l-2.11-6.48a.859.859 0 0 0-.8-.57c-.36 0-.68.25-.79.58l-2 6.17H8.84L6.83 3.33a.851.851 0 0 0-.79-.58c-.37 0-.69.25-.8.58L3.13 9.82v.01l-1.07 3.28c-.16.5.01 1.04.44 1.34l9.22 6.71c.17.12.39.12.56-.01l9.22-6.7c.43-.3.6-.84.44-1.34M8.15 10.45l2.57 7.91l-6.17-7.91m8.73 7.92l2.47-7.59l.1-.33h3.61l-5.59 7.16m4.1-13.67l1.81 5.56h-3.62m-1.3.95l-1.79 5.51L12 19.24l-2.86-8.79M6.03 3.94L7.84 9.5H4.23m-1.18 4.19c-.09-.07-.13-.19-.09-.29l.79-2.43l5.82 7.45m11.38-4.73l-6.51 4.73l.02-.03l5.79-7.42l.79 2.43c.04.1 0 .22-.09.29"})]}),instagram:(0,E.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,E.jsx)("title",{children:"Instagram"}),(0,E.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,E.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,E.jsx)("title",{children:"LinkedIn"}),(0,E.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,E.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,E.jsx)("title",{children:"Slack"}),(0,E.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,E.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,E.jsx)("title",{children:"Twitter"}),(0,E.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,E.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,E.jsx)("title",{children:"YouTube"}),(0,E.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,E.jsxs)("svg",{className:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","data-spm-anchor-id":"a313x.7781069.0.i5",children:[(0,E.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","data-spm-anchor-id":"a313x.7781069.0.i2"}),(0,E.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","data-spm-anchor-id":"a313x.7781069.0.i3"})]}),qq:(0,E.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,E.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,E.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,E.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,E.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,E.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,E.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,E.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,E.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,E.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"})}),lark:(0,E.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",children:(0,E.jsxs)("g",{fillRule:"evenodd",clipRule:"evenodd",children:[(0,E.jsx)("path",{d:"M41.0716 5.99409L3.31071 16.5187L12.3856 25.8126L20.7998 25.9594L30.4827 16.5187C30.2266 15.9943 30.0985 15.5552 30.0985 15.2013C30.0985 14.4074 30.4104 13.7786 30.8947 13.333C31.7241 12.57 32.7222 12.4558 33.8889 12.9905L41.0716 5.99409Z"}),(0,E.jsx)("path",{d:"M42.1021 6.72842L31.5775 44.4893L22.2836 35.4144L22.1367 27.0002L31.5115 17.4816C32.0195 17.8454 32.5743 18.0105 33.1759 17.9769C34.0784 17.9264 34.6614 17.3813 34.9349 17.0602C35.2083 16.7392 35.5293 16.2051 35.5025 15.4113C35.4847 14.8821 35.3109 14.3941 34.9812 13.9472L42.1021 6.72842Z"})]})}),x:(0,E.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,E.jsx)("title",{children:"X"}),(0,E.jsx)("path",{d:"M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z"})]})},tD=e=>{let{link:t,popperStyle:n={}}=e,{icon:i,mode:r="link",content:a}=t,o="object"==typeof i?(0,E.jsx)("div",{dangerouslySetInnerHTML:{__html:i.svg}}):tM[i],[l,s]=(0,_.useState)(!1),d=()=>{s(!0)},c=()=>{s(!1)};return"link"===r?(0,E.jsx)("a",{href:a,target:"_blank",rel:"noopener noreferrer",className:"social-links",children:(0,E.jsx)("div",{className:`${tO.socialLinksIcon}`,children:o})},a):"text"===r?(0,E.jsxs)("div",{className:`${tO.socialLinksIcon} cursor-pointer relative mx-3`,onMouseEnter:d,onMouseLeave:c,children:[o,l?(0,E.jsx)("div",{style:eo({boxShadow:"var(--rp-shadow-3)",border:"1px solid var(--rp-c-divider-light)"},n),className:"z-[1] p-3 w-50 absolute right-0 bg-white dark:bg-dark",children:(0,E.jsx)("div",{className:"text-md",children:a})}):null]}):"img"===r?(0,E.jsxs)("div",{className:`${tO.socialLinksIcon} cursor-pointer relative`,onMouseEnter:d,onMouseLeave:c,children:[o,l?(0,E.jsx)("div",{className:"break-all z-[1] p-3 w-[50px] h-[50px] absolute right-0 bg-white dark:bg-dark rounded-xl",style:eo({boxShadow:"var(--rp-shadow-3)"},n),children:(0,E.jsx)("img",{src:a,alt:"img"})}):null]}):(0,E.jsx)("div",{})},tR=e=>{let{links:t,moreIconVisible:n=!1,mouseEnter:i}=e;return(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)("div",{className:"flex-center h-full gap-x-4 transition-colors duration-300 md:mr-2",children:t.map((e,t)=>(0,E.jsx)(tD,{link:e,popperStyle:{top:"2.5rem"}},t))}),n?(0,E.jsx)("div",{className:"md:ml-1 p-2",onMouseEnter:i,children:(0,E.jsx)(tL,{})}):null]})},tB=e=>{let{links:t}=e;return(0,E.jsx)("div",{style:{boxShadow:"var(--rp-shadow-3)",marginRight:"-2px",border:"1px solid var(--rp-c-divider-light)",background:"var(--rp-c-bg)"},className:"absolute top-8 right-0 z-1 p-3 w-32 rounded-2xl flex flex-wrap gap-4",children:t.map(e=>(0,E.jsx)(tD,{link:e,popperStyle:{top:"1.25rem"}},e.content))})},tH=({socialLinks:e})=>{let t=e.length>3,n=[],i=[];e.forEach((e,t)=>{t<3?n.push(e):i.push(e)});let[r,a]=(0,_.useState)(!1);return(0,E.jsxs)("div",{className:`social-links ${tO.menuItem} flex-center relative`,onMouseLeave:()=>a(!1),children:[(0,E.jsx)(tR,{links:n,moreIconVisible:t,mouseEnter:()=>a(!0)}),r?(0,E.jsx)(tB,{links:i}):null]})},t$=e=>(0,E.jsx)("svg",el(eo({width:18,height:18,viewBox:"0 0 32 32"},e),{children:(0,E.jsx)("path",{fill:"currentColor",d:"M27.85 29H30l-6-15h-2.35l-6 15h2.15l1.6-4h6.85zm-7.65-6 2.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 tF(){var e,t;let{siteData:n,page:i}=(0,S.usePageData)(),r=(0,S.useVersion)(),{pathname:a}=(0,S.useLocation)(),o=n.lang||"",l=n.multiVersion.default||"",s=Object.values(n.locales||n.themeConfig.locales||{}),d=((e=n.route)==null?void 0:e.cleanUrls)||!1,c=s.length>1,{lang:u}=i,{base:h}=n;return c?{text:(0,E.jsx)(t$,{style:{width:"18px",height:"18px"}}),items:s.map(e=>({text:null==e?void 0:e.label,link:(0,A.replaceLang)(a,{current:u,target:e.lang,default:o},{current:r,default:l},h,d)})),activeValue:(t=s.find(e=>u===e.lang))==null?void 0:t.label}:null}function tW(){var e;let{siteData:t}=(0,S.usePageData)(),n=(0,S.useVersion)(),{pathname:i}=(0,S.useLocation)(),r=((e=t.route)==null?void 0:e.cleanUrls)||!1,a=t.multiVersion.default||"",o=t.multiVersion.versions||[],{base:l}=t;return{items:o.map(e=>({text:e,link:(0,A.replaceVersion)(i,{current:n,target:e,default:a},l,r)})),text:n,activeValue:n}}var tq=e=>(0,E.jsx)("svg",el(eo({width:"1em",height:"1em",viewBox:"0 0 32 32"},e),{children:(0,E.jsx)("path",{fill:"currentColor",d:"M16 22 6 12l1.4-1.4 8.6 8.6 8.6-8.6L26 12z"})})),tU={navScreen:"navScreen_457e8",active:"active_457e8",container:"container_457e8",navMenu:"navMenu_457e8",navMenuItem:"navMenuItem_457e8",navAppearance:"navAppearance_457e8",navScreenMenuGroup:"navScreenMenuGroup_457e8",open:"open_457e8",button:"button_457e8",buttonSpan:"buttonSpan_457e8",items:"items_457e8",down:"down_457e8"};function tV(e){let{activeValue:t}=e,[n,i]=(0,_.useState)(!1);function r({item:e}){return(0,E.jsx)("div",{className:"p-1 text-center",children:(0,E.jsx)("span",{className:"text-brand",children:e.text})})}function a({item:e}){return(0,E.jsx)("div",{className:"py-1 font-medium",children:(0,E.jsx)(eX,{href:e.link,children:(0,E.jsx)("div",{children:(0,E.jsx)("div",{className:"flex justify-center",children:(0,E.jsx)("span",{children:e.text})})})})})}let o=e=>t===e.text?(0,E.jsx)(r,{item:e},e.link):(0,E.jsx)(a,{item:e},e.link),l=e=>(0,E.jsxs)("div",{children:["link"in e?o(e):(0,E.jsx)("p",{className:"font-bold text-gray-400 my-1 not:first:border",children:e.text}),e.items.map(o)]});return(0,E.jsxs)("div",{className:`${n?tU.open:""} ${tU.navScreenMenuGroup} relative`,children:[(0,E.jsxs)("button",{className:tU.button,onClick:()=>{i(!n)},children:[(0,E.jsx)("span",{className:tU.buttonSpan,children:e.text}),(0,E.jsx)(tq,{className:`${n?tU.open:""} ${tU.down} `})]}),(0,E.jsx)("div",{children:(0,E.jsx)("div",{className:tU.items,children:e.items.map(e=>(0,E.jsx)("div",{children:"items"in e?l(e):o(e)},e.text))})})]})}var tG=()=>{let e=tF();return(0,E.jsx)("div",{className:`${tU.navTranslations} flex text-sm font-bold justify-center`,children:(0,E.jsx)("div",{className:"mx-1.5 my-1",children:(0,E.jsx)(tV,eo({},e))})})},tZ=()=>{let e=tW();return(0,E.jsx)("div",{className:`${tU.navTranslations} flex text-sm font-bold justify-center`,children:(0,E.jsx)("div",{className:"mx-1.5 my-1",children:(0,E.jsx)(tV,eo({},e))})})};function tY(e){var t;let{isScreenOpen:n,siteData:i,pathname:r}=e,a=(0,_.useRef)(null),o=i.themeConfig.locales||[],l=o.length>1,s=i.multiVersion.versions.length>1,d=(0,V.useNavData)(),c=!1!==i.themeConfig.darkMode,u=((t=null==i?void 0:i.themeConfig)==null?void 0:t.socialLinks)||[],h=u.length>0,p=o.map(e=>e.lang||"zh")||[],{base:m}=i;return(0,_.useEffect)(()=>(a.current&&n&&(0,q.disableBodyScroll)(a.current,{reserveScrollBarGap:!0}),()=>{(0,q.clearAllBodyScrollLocks)()}),[n]),(0,E.jsx)("div",{className:`${tU.navScreen} ${n?tU.active:""}`,ref:a,id:"navScreen",children:(0,E.jsxs)("div",{className:tU.container,children:[(0,E.jsx)(({menuItems:e})=>(0,E.jsx)("div",{className:tU.navMenu,children:e.map(e=>(0,E.jsx)("div",{className:`${tU.navMenuItem} w-full`,children:"link"in e?(0,E.jsx)(tS,eo({pathname:r,base:m,langs:p},e),e.text):(0,E.jsx)("div",{className:"mx-3 last:mr-0",children:(0,E.jsx)(tV,el(eo({},e),{items:"items"in e?e.items:e}))},e.text)},e.text))}),{menuItems:d}),(0,E.jsxs)("div",{className:"flex-center flex-col gap-2",children:[c&&(0,E.jsx)(()=>(0,E.jsx)("div",{className:`mt-2 ${tU.navAppearance} flex justify-center`,children:(0,E.jsx)(S.NoSSR,{children:(0,E.jsx)(tT,{})})}),{}),l&&(0,E.jsx)(tG,{}),s&&(0,E.jsx)(tZ,{}),h&&(0,E.jsx)(tH,{socialLinks:u})]})]})})}var tK=e=>(0,E.jsxs)("svg",el(eo({xmlns:"http://www.w3.org/2000/svg",width:32,height:32,viewBox:"0 0 32 32"},e),{children:[(0,E.jsx)("circle",{cx:8,cy:16,r:2,fill:"currentColor"}),(0,E.jsx)("circle",{cx:16,cy:16,r:2,fill:"currentColor"}),(0,E.jsx)("circle",{cx:24,cy:16,r:2,fill:"currentColor"})]})),tX={navHamburger:"navHamburger_e7b06",active:"active_e7b06"};function tQ(e){let{siteData:t,pathname:n}=e,{isScreenOpen:i,toggleScreen:r}=function(){let{pathname:e}=(0,S.useLocation)(),[t,n]=(0,_.useState)(!1);function i(){n(!0),window.addEventListener("resize",a)}function r(){n(!1),window.removeEventListener("resize",a)}function a(){window.outerWidth>=768&&r()}return(0,_.useEffect)(()=>{r()},[e]),{isScreenOpen:t,openScreen:i,closeScreen:r,toggleScreen:function(){t?r():i()}}}();return(0,E.jsxs)(_.Fragment,{children:[(0,E.jsx)(tY,{isScreenOpen:i,siteData:t,pathname:n}),(0,E.jsx)("button",{onClick:r,"aria-label":"mobile hamburger",className:`${i?tX.active:""} ${tX.navHamburger} text-gray-500`,children:(0,E.jsx)(tK,{fill:"currentColor"})})]})}function tJ({item:e}){return(0,E.jsxs)("div",{className:"rounded-2xl my-1 flex",style:{padding:"0.4rem 1.5rem 0.4rem 0.75rem"},children:[e.tag&&(0,E.jsx)(e7,{tag:e.tag}),(0,E.jsx)("span",{className:"text-brand",children:e.text})]},e.link)}function t0({item:e}){return(0,E.jsx)("div",{className:"font-medium my-1",children:(0,E.jsx)(eX,{href:e.link,children:(0,E.jsx)("div",{className:"rounded-2xl hover:bg-mute",style:{padding:"0.4rem 1.5rem 0.4rem 0.75rem"},children:(0,E.jsxs)("div",{className:"flex",children:[e.tag&&(0,E.jsx)(e7,{tag:e.tag}),(0,E.jsx)("span",{children:e.text})]})})})},e.link)}function t1(e){let{activeValue:t,items:n,base:i="",link:r="",pathname:a=""}=e,[o,l]=(0,_.useState)(!1),s=e=>{let n=new RegExp(e.activeMatch||e.link).test((0,A.withoutBase)(a,i));return t===e.text||!t&&n?(0,E.jsx)(tJ,{item:e},e.link):(0,E.jsx)(t0,{item:e},e.link)},d=e=>(0,E.jsxs)("div",{children:["link"in e?s(e):(0,E.jsx)("p",{className:"font-bold text-gray-400 my-1 not:first:border",children:e.text}),e.items.map(s)]});return(0,E.jsxs)("div",{className:"relative flex-center h-14",onMouseLeave:()=>l(!1),children:[(0,E.jsx)("button",{onMouseEnter:()=>l(!0),className:"rspress-nav-menu-group-button flex-center items-center font-medium text-sm text-text-1 hover:text-text-2 transition-colors duration-200",children:r?(0,E.jsx)(tS,el(eo({},e),{rightIcon:(0,E.jsx)(tq,{})})):(0,E.jsxs)(E.Fragment,{children:[(0,E.jsxs)("span",{className:"text-sm font-medium flex",style:{marginRight:"2px"},children:[(0,E.jsx)(e7,{tag:e.tag}),e.text]}),(0,E.jsx)(tq,{})]})}),(0,E.jsx)("div",{className:"rspress-nav-menu-group-content absolute mx-0.8 transition-opacity duration-300",style:{opacity:o?1:0,visibility:o?"visible":"hidden",right:0,top:"52px"},children:(0,E.jsx)("div",{className:"p-3 pr-2 w-full h-full max-h-100vh whitespace-nowrap",style:{boxShadow:"var(--rp-shadow-3)",zIndex:100,border:"1px solid var(--rp-c-divider-light)",borderRadius:"var(--rp-radius-large)",background:"var(--rp-c-bg)"},children:n.map(e=>(0,E.jsx)("div",{children:"items"in e?d(e):s(e)},e.text))})})]})}function t2(){let e=tF();return(0,E.jsx)("div",{className:`translation ${e4.menuItem} flex text-sm font-bold items-center px-3 py-2`,children:(0,E.jsx)("div",{children:(0,E.jsx)(t1,eo({},e))})})}function t3(){let e=tW();return(0,E.jsx)("div",{className:`translation ${e4.menuItem} flex text-sm font-bold items-center px-3 py-2`,children:(0,E.jsx)("div",{children:(0,E.jsx)(t1,eo({},e))})})}function t4(e){var t;let{beforeNavTitle:n,afterNavTitle:i,beforeNav:r,afterNavMenu:a}=e,{siteData:o}=(0,S.usePageData)(),{base:l}=o,{pathname:s}=(0,S.useLocation)(),[d,c]=(0,_.useState)(!1),u=ek(),h=Object.values(o.locales||o.themeConfig.locales||{}),p=h.length>1,m=o.multiVersion.versions.length>1,f=o.themeConfig.socialLinks||[],g=f.length>0,x=h.map(e=>e.lang||"")||[];(0,_.useEffect)(()=>{c(eq())},[]);let v=({menuItems:e})=>(0,E.jsx)("div",{className:"rspress-nav-menu menu h-14",children:e.map(e=>"items"in e||Array.isArray(e)?(0,E.jsx)("div",{className:"mx-3 last:mr-0",children:(0,E.jsx)(t1,el(eo({},e),{base:l,pathname:s,langs:x,items:"items"in e?e.items:e}))},e.text):(0,E.jsx)(tS,eo({pathname:s,langs:x,base:l},e),e.link))}),b=(0,V.useNavData)(),y=e=>{var t;return(t=e.position)!=null?t:"right"},w=b.filter(e=>"left"===y(e)),k=b.filter(e=>"right"===y(e)),I=((t=null==o?void 0:o.themeConfig)==null?void 0:t.search)!==!1,j=!1!==o.themeConfig.darkMode;return(0,E.jsxs)(E.Fragment,{children:[r,(0,E.jsx)("div",{className:`${e4.navContainer} sticky rspress-nav px-6 ${u?e4.hidden:""}`,children:(0,E.jsxs)("div",{className:`${e4.container} flex justify-between items-center h-full`,children:[n,(0,E.jsx)(e5,{}),i,(0,E.jsxs)("div",{className:`${e4.content} flex flex-1 justify-end items-center`,children:[w.length>0?(0,E.jsx)("div",{className:e4.leftNav,children:(0,E.jsx)(v,{menuItems:w})}):null,(0,E.jsxs)("div",{className:e4.rightNav,children:[I&&(0,E.jsx)("div",{className:"flex sm:flex-1 items-center sm:pl-4 sm:pr-2",children:(0,E.jsx)(z.Search,{})}),(0,E.jsx)(v,{menuItems:k}),(0,E.jsxs)("div",{className:"flex-center flex-row",children:[p&&(0,E.jsx)(t2,{}),m&&(0,E.jsx)(t3,{}),j&&(0,E.jsx)("div",{className:"mx-2",children:(0,E.jsx)(tT,{})}),g&&(0,E.jsx)(tH,{socialLinks:f})]})]}),a,(0,E.jsxs)("div",{className:e4.mobileNavMenu,children:[d&&(0,E.jsx)(z.Search,{}),(0,E.jsx)(tQ,{siteData:o,pathname:s})]})]})]})})]})}var t5=e=>(0,E.jsx)("svg",el(eo({width:24,height:24,viewBox:"0 0 32 32"},e),{children:(0,E.jsx)("path",{fill:"var(--rp-c-gray)",d:"m29 27.586-7.552-7.552a11.018 11.018 0 1 0-1.414 1.414L27.586 29ZM4 13a9 9 0 1 1 9 9 9.01 9.01 0 0 1-9-9Z"})})),t6={mask:"mask_6e282",modal:"modal_6e282",inputForm:"inputForm_6e282",input:"input_6e282",close:"close_6e282",searchHits:"searchHits_6e282",navSearchButton:"navSearchButton_6e282",searchWord:"searchWord_6e282",suggestItem:"suggestItem_6e282",suggestItemContainer:"suggestItemContainer_6e282",contentWrapper:"contentWrapper_6e282",mark:"mark_6e282",titleForContent:"titleForContent_6e282",actionIcon:"actionIcon_6e282",current:"current_6e282",tabClassName:"tabClassName_6e282",mobileNavSearchButton:"mobileNavSearchButton_6e282"},t7={container:"container_fa768",tabList:"tab-list_fa768",tab:"tab_fa768",notSelected:"not-selected_fa768",selected:"selected_fa768",noScrollbar:"no-scrollbar_fa768"},t8=e=>{var t;return(t=e)&&"object"==typeof t&&"label"in t?e.label||e.value:e};function t9(e){let{values:t,defaultValue:n,onChange:i,children:r,groupId:a,tabPosition:o="left",tabContainerClassName:l}=e,s=t||[];0===s.length&&(s=r.map(e=>{var t,n,i;return{label:(t=e.props)==null?void 0:t.label,value:((n=e.props)==null?void 0:n.value)||((i=e.props)==null?void 0:i.label)}}));let{tabData:d,setTabData:c}=(0,_.useContext)(tu),u=0;a&&void 0!==d[a]?u=d[a]:n&&(u=s.findIndex(e=>"string"==typeof e?e===n:!!e&&"object"==typeof e&&"value"in e&&e.value===n));let[h,p]=(0,_.useState)(u);return(0,E.jsxs)("div",{className:t7.container,children:[(0,E.jsx)("div",{className:l,children:s.length?(0,E.jsx)("div",{className:`${t7.tabList} ${t7.noScrollbar}`,style:{justifyContent:"center"===o?"center":"flex-start"},children:s.map((e,t)=>(0,E.jsx)("div",{className:`${t7.tab} ${h===t?t7.selected:t7.notSelected}`,onClick:()=>{null==i||i(t),p(t),a&&c(el(eo({},d),{[a]:t}))},children:t8(e)},t))}):null}),(0,E.jsx)("div",{children:r[h]})]})}function ne(e){var{children:t}=e,n=es(e,["children"]);return(0,E.jsx)("div",el(eo({},n),{className:"rounded px-2",children:t}))}var nt=e=>(0,E.jsxs)("svg",el(eo({xmlns:"http://www.w3.org/2000/svg",width:48,height:48,fill:"none",viewBox:"0 0 48 48"},e),{children:[(0,E.jsx)("path",{stroke:"currentColor",strokeWidth:4,d:"M24 5v6m7 1 4-4m-18 4-4-4m27 33H8a2 2 0 0 1-2-2v-8.46a2 2 0 0 1 .272-1.007l6.15-10.54A2 2 0 0 1 14.148 18H33.85a2 2 0 0 1 1.728.992l6.149 10.541A2 2 0 0 1 42 30.541V39a2 2 0 0 1-2 2Z"}),(0,E.jsx)("path",{stroke:"currentColor",strokeWidth:4,d:"M41.5 30H28s-1 3-4 3-4-3-4-3H6.5"})]}));function nn({query:e}){return(0,E.jsxs)("div",{className:"flex flex-col items-center pt-8 pb-2",children:[(0,E.jsx)(nt,{className:"mb-4 opacity-80"}),(0,E.jsxs)("p",{className:"mb-2",children:["No results for ",(0,E.jsxs)("b",{children:['"',e,'"']}),"."]}),(0,E.jsx)("p",{children:"Please try again with a different keyword."})]})}var ni=e=>(0,E.jsx)("svg",el(eo({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 32 32"},e),{children:(0,E.jsx)("path",{fill:"currentColor",d:"M13.414 17.586 18 22.172V8H8V6h10a2.002 2.002 0 0 1 2 2v14.172l4.586-4.586L26 19l-7 7-7-7Z"})})),nr={title:e=>(0,E.jsx)("svg",el(eo({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24"},e),{children:(0,E.jsx)("path",{fill:"currentColor",d:"M4 4a2 2 0 0 1 2-2h8a1 1 0 0 1 .707.293l5 5A1 1 0 0 1 20 8v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4zm13.586 4L14 4.414V8h3.586zM12 4H6v16h12V10h-5a1 1 0 0 1-1-1V4z"})})),header:e=>(0,E.jsx)("svg",el(eo({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 32 32"},e),{children:(0,E.jsx)("path",{fill:"currentColor",d:"M28 12v-2h-6V4h-2v6h-8V4h-2v6H4v2h6v8H4v2h6v6h2v-6h8v6h2v-6h6v-2h-6v-8Zm-8 8h-8v-8h8Z"})})),content:e=>(0,E.jsxs)("svg",el(eo({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 32 32"},e),{children:[(0,E.jsx)("circle",{cx:22,cy:24,r:2,fill:"currentColor"}),(0,E.jsx)("path",{fill:"none",d:"M22 28a4 4 0 1 1 4-4 4.004 4.004 0 0 1-4 4Zm0-6a2 2 0 1 0 2 2 2.003 2.003 0 0 0-2-2Z"}),(0,E.jsx)("path",{fill:"currentColor",d:"M29.777 23.479A8.64 8.64 0 0 0 22 18a8.64 8.64 0 0 0-7.777 5.479L14 24l.223.521A8.64 8.64 0 0 0 22 30a8.64 8.64 0 0 0 7.777-5.479L30 24ZM22 28a4 4 0 1 1 4-4 4.005 4.005 0 0 1-4 4Z"}),(0,E.jsx)("path",{fill:"currentColor",d:"M12 28H8V4h8v6a2.006 2.006 0 0 0 2 2h6v4h2v-6a.91.91 0 0 0-.3-.7l-7-7A.909.909 0 0 0 18 2H8a2.006 2.006 0 0 0-2 2v24a2.006 2.006 0 0 0 2 2h4Zm6-23.6 5.6 5.6H18Z"})]}))};function na({suggestion:e,closeSearch:t,isCurrent:n,setCurrentSuggestionIndex:i,inCurrentDocIndex:r}){let a=nr[e.type],o=r&&!(0,S.isProduction)()?e_(e.link):e.link,l=(e,t)=>{let n=[],i=0;for(let l of t){var r,a,o;let{start:t,length:s}=l,d=e.slice(i,t);let c=(r=e,a=t,o=s,function(e,t,n){let i="",r=0,a=e.length;for(let o=0;ot+n);o++){;r>t&&(i+=e.charAt(o))}return i}(r.slice(a),0,o));n.push(d),n.push((0,E.jsx)("span",{className:t6.mark,children:c},t)),i=t+c.length}return i{if("header"!==e.type&&"title"!==e.type)return(0,E.jsx)("div",{className:"font-medium",children:e.header});{let{header:t,highlightInfoList:n}=e;return(0,E.jsx)("div",{className:"font-medium",children:l(t,n)})}})();break;case"content":s=(0,E.jsxs)(E.Fragment,{children:[(()=>{if("content"!==e.type)return(0,E.jsx)("div",{});let{statement:t,highlightInfoList:n}=e;return(0,E.jsx)("div",{className:"text-sm text-gray-light w-full",children:l(t,n)})})(),(0,E.jsx)("p",{className:t6.titleForContent,children:e.title})]})}return(0,E.jsx)("li",{className:`${t6.suggestItem} ${n?t6.current:""}`,onMouseEnter:i,children:(0,E.jsx)("a",{href:o,onClick:e=>{t(),e.stopPropagation()},target:r?"_self":"_blank",children:(0,E.jsxs)("div",{className:t6.suggestItemContainer,children:[(0,E.jsx)("div",{className:t6.hitIcon,children:(0,E.jsx)(a,{})}),(0,E.jsx)("div",{className:t6.contentWrapper,children:(0,E.jsx)("span",{children:s})}),(0,E.jsx)("div",{className:t6.actionIcon,children:(0,E.jsx)(ni,{})})]})})},e.link)}var no=e=>(0,E.jsx)("svg",el(eo({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 32 32"},e),{children:(0,E.jsx)("path",{fill:"currentColor",d:"M24 9.4 22.6 8 16 14.6 9.4 8 8 9.4l6.6 6.6L8 22.6 9.4 24l6.6-6.6 6.6 6.6 1.4-1.4-6.6-6.6L24 9.4z"})})),nl=e=>(0,E.jsx)("svg",el(eo({width:32,height:32,viewBox:"0 0 24 24"},e),{children:(0,E.jsxs)("g",{fill:"none",stroke:"var(--rp-c-brand)",strokeLinecap:"round",strokeWidth:2,children:[(0,E.jsx)("path",{strokeDasharray:60,strokeDashoffset:60,strokeOpacity:.3,d:"M12 3a9 9 0 1 1 0 18 9 9 0 0 1 0-18Z",children:(0,E.jsx)("animate",{fill:"freeze",attributeName:"stroke-dashoffset",dur:"1.3s",values:"60;0"})}),(0,E.jsxs)("path",{strokeDasharray:15,strokeDashoffset:15,d:"M12 3a9 9 0 0 1 9 9",children:[(0,E.jsx)("animate",{fill:"freeze",attributeName:"stroke-dashoffset",dur:"0.3s",values:"15;0"}),(0,E.jsx)("animateTransform",{attributeName:"transform",dur:"1.5s",repeatCount:"indefinite",type:"rotate",values:"0 12 12;360 12 12"})]})]})})),ns={ARROW_UP:"ArrowUp",ARROW_DOWN:"ArrowDown",ENTER:"Enter",SEARCH:"KeyK",ESC:"Escape"};function nd({focused:e,setFocused:t}){let[n,i]=(0,_.useState)(""),[r,a]=(0,_.useState)([]),o=(0,_.useRef)(null),[l,s]=(0,_.useState)(!0),[d,c]=(0,_.useState)(0),u=(0,_.useRef)(null),{siteData:h,page:{lang:p}}=(0,S.usePageData)(),{sidebar:m}=eg(),{search:f,title:g}=h,x=[{group:g,result:[],renderType:"default"}],[v,b]=(0,_.useState)([]),[y,w]=(0,_.useState)("default"),k=e=>ex(m,e).group;function I(){return em(this,null,function*(){var e,t;if(!1===f)return;let n=new eB(el(eo({indexName:g},f),{currentLang:p,extractGroupName:k}));u.current=n,yield Promise.all([u.current.init(),new Promise(e=>setTimeout(e,1e3))]),s(!1);let i=(e=o.current)==null?void 0:e.value;i&&a((yield(t=u.current)==null?void 0:t.match(i))||x)})}(0,_.useEffect)(()=>{let n=n=>{switch(n.code){case ns.SEARCH:(n.ctrlKey||n.metaKey)&&(n.preventDefault(),t(!e));break;case ns.ARROW_DOWN:e&&(n.preventDefault(),v&&"default"===y&&c((d+1)%v.length));break;case ns.ARROW_UP:if(e&&(n.preventDefault(),"default"===y)){let e=v.length;c((d-1+e)%e)}break;case ns.ENTER:if(d>=0&&"default"===y){let e=v[d];v===r[0].result?(window.location.href=(0,A.isProduction)()?e.link:e_(e.link),t(!1)):window.open(e.link)}break;case ns.ESC:t(!1)}};return document.addEventListener("keydown",n),()=>{document.removeEventListener("keydown",n)}},[c,t,v,d]),(0,_.useEffect)(()=>{e?(a(x),!u.current&&I()):i("")},[e]),(0,_.useEffect)(()=>{l||I()},[p]);let j=e=>em(this,null,function*(){var t;let n=e;if(i(n),n){let e=[];if(Z.beforeSearch){let e=yield Z.beforeSearch(n);e&&(n=e)}let i=yield(t=u.current)==null?void 0:t.match(n);if(i&&e.push(...i),Z.onSearch){let t=yield Z.onSearch(n,e);t&&e.push(...t.map(e=>eo({renderType:"custom"},e)))}a(e||x),Z.afterSearch&&(yield Z.afterSearch(n,e)),e.length>0&&b(e[0].result)}}),P=(0,_.useMemo)(()=>(0,T.debounce)(j,150),[]),C=e=>(0,T.groupBy)(e,"group"),z=-1,N=e=>{if(0===e.length&&!l)return(0,E.jsx)("div",{className:"mt-4 flex-center",children:(0,E.jsx)("div",{className:"p-2 font-bold text-md",style:{color:"#2c3e50"},children:"No results found"})});let n=C(e);return(0,E.jsx)("ul",{className:t6.suggestList,children:Object.keys(n).map(e=>{let i=n[e]||[];return(0,E.jsx)("li",{children:(0,E.jsx)("ul",{className:"pb-2",children:i.map(e=>{let n=++z;return(0,E.jsx)(na,{suggestion:e,isCurrent:n===d,setCurrentSuggestionIndex:()=>{c(n)},closeSearch:()=>t(!1),inCurrentDocIndex:v===r[0].result},`${e.title}-${n}`)})})},e)})})};return(0,E.jsx)(E.Fragment,{children:e&&(0,G.createPortal)((0,E.jsx)("div",{className:t6.mask,onClick:()=>t(!1),children:(0,E.jsxs)("div",{className:`${t6.modal}`,onClick:e=>{t(!0),e.stopPropagation()},children:[(0,E.jsxs)("div",{className:"flex items-center",children:[(0,E.jsxs)("div",{className:t6.inputForm,children:[(0,E.jsx)("label",{children:(0,E.jsx)(t5,{})}),(0,E.jsx)("input",{className:t6.input,ref:o,placeholder:"Search Docs","aria-label":"Search",autoComplete:"off",autoFocus:!0,onChange:e=>P(e.target.value)}),(0,E.jsx)("label",{children:(0,E.jsx)(no,{className:t6.close,onClick:e=>{o.current&&(e.stopPropagation(),n?(o.current.value="",i("")):t(!1))}})})]}),(0,E.jsx)("h2",{className:"text-brand ml-2 sm:hidden cursor-pointer",onClick:e=>{e.stopPropagation(),t(!1)},children:"Cancel"})]}),n?(0,E.jsx)("div",{className:`${t6.searchHits} rspress-scrollbar`,children:((e,t)=>{if(1===e.length){let t=e[0].result;return 0===t.length?(0,E.jsx)(nn,{query:n}):(0,E.jsx)("div",{children:N(t)})}let i=e.map(e=>t&&"remote"===t.mode?eA(t.searchIndexes||[]).find(t=>t.value===e.group).label:e.group);return(0,E.jsx)(t9,{values:i,tabContainerClassName:t6.tabClassName,onChange:t=>{b(e[t].result),c(0),w(e[t].renderType)},children:e.map(e=>(0,E.jsxs)(ne,{children:["default"===e.renderType&&N(e.result),"custom"===e.renderType&&Z.render(e.result)]},e.group))})})(r,f)}):null,l&&(0,E.jsx)("div",{className:"flex-center",children:(0,E.jsx)("div",{className:"p-2 text-sm",children:(0,E.jsx)(nl,{})})})]})}),document.getElementById("search-container"))})}function nc(){let[e,t]=(0,_.useState)(!1),[n,i]=(0,_.useState)(null),{searchPlaceholderText:r="Search Docs"}=(0,$.useLocaleSiteData)();return(0,_.useEffect)(()=>{i(/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?"\u2318":"Ctrl")},[]),(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)("div",{className:`rspress-nav-search-button ${t6.navSearchButton}`,onClick:()=>t(!0),children:(0,E.jsxs)("button",{children:[(0,E.jsx)(t5,{width:"18",hight:"18"}),(0,E.jsx)("p",{className:t6.searchWord,children:r}),(0,E.jsxs)("div",{style:{opacity:n?1:0},children:[(0,E.jsx)("span",{children:n}),(0,E.jsx)("span",{children:"K"})]})]})}),(0,E.jsx)("div",{className:t6.mobileNavSearchButton,onClick:()=>t(!0),children:(0,E.jsx)(t5,{})}),(0,E.jsx)(nd,{focused:e,setFocused:t})]})}function nu(){let{siteData:e}=(0,S.usePageData)(),{message:t}=e.themeConfig.footer||{};return(0,E.jsx)("footer",{className:"absolute bottom-0 mt-12 py-8 px-6 sm:p-8 w-full border-t border-solid border-divider-light",children:(0,E.jsx)("div",{className:"m-auto w-full text-center",children:t&&(0,E.jsx)("div",{className:"font-meduim text-sm text-text-2",children:t})})})}function nh({children:e}){if(Array.isArray(e))return(0,E.jsx)("pre",{children:e});let{className:t,meta:n}=e.props,i=function(e){var t,n;if(!e)return"";let i=e,r=/{[\d,-]*}/i;return((t=r.exec(e))==null?void 0:t[0])&&(i=e.replace(r,"").trim()),null==(i=(n=i.split("=")[1])!=null?n:"")?void 0:i.replace(/["'`]/g,"")}(n);return(0,E.jsxs)("div",{className:t||"language-bash",children:[i&&(0,E.jsx)("div",{className:"rspress-code-title",children:i}),(0,E.jsx)("div",{className:"rspress-code-content rspress-scrollbar",children:e})]})}var np=e=>(0,E.jsx)("svg",el(eo({xmlns:"http://www.w3.org/2000/svg",width:32,height:32,viewBox:"0 0 24 24"},e),{children:(0,E.jsx)("path",{fill:"currentColor",d:"M16 7H3V5h13v2M3 19h13v-2H3v2m19-7-4-3v2H3v2h15v2l4-3Z"})})),nm=e=>(0,E.jsx)("svg",el(eo({xmlns:"http://www.w3.org/2000/svg",width:32,height:32,viewBox:"0 0 24 24"},e),{children:(0,E.jsx)("path",{fill:"#22a041",d:"M21 5H3v2h18zM3 19h7v-2H3zm0-6h15c1 0 2 .43 2 2s-1 2-2 2h-2v-2l-4 3 4 3v-2h2c2.95 0 4-1.27 4-4 0-2.72-1-4-4-4H3z"})})),nf={codeButtonGroup:"code-button-group_15153",codeCopyButton:"code-copy-button_15153",iconSuccess:"icon-success_15153",codeCopied:"code-copied_15153",iconCopy:"icon-copy_15153",iconWrapped:"icon-wrapped_15153",wrappedBtn:"wrapped-btn_15153",iconWrap:"icon-wrap_15153"},ng={doctype:{color:"var(--code-token-text)",fontStyle:"italic"},token:{color:"var(--code-token-text)"},comment:{color:"var(--code-token-comment)"},punctuation:{color:"var(--code-token-punctuation)"},property:{color:"var(--code-token-parameter)"},constant:{color:"var(--code-token-constant)"},string:{color:"var(--code-token-string)"},symbol:{color:"var(--code-token-symbol)"},variable:{color:"var(--code-token-variable)"},"attr-name":{color:"var(--code-token-symbol)"},"attr-value":{color:"var(--code-token-string-expression)"},builtin:{color:"var(--code-token-symbol)"},function:{color:"var(--code-token-function)"},keyword:{color:"var(--code-token-keyword)"},tag:{color:"var(--code-token-function)"},inserted:{color:"#22863a"},deleted:{color:"#b31d28"},regex:{color:"var(--code-token-keyword)"},key:{color:"var(--code-token-variable)"},title:{color:"var(--code-token-keyword)"},important:{color:"#EBCB8B",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},table:{display:"content"}},nx=!1;function nv(e){var t;let{siteData:n}=(0,S.usePageData)(),{meta:i,language:r,codeWrap:a}=e,{showLineNumbers:o}=n.markdown,l="",s=[];return i&&(l=((t=/{[\d,-]*}/i.exec(i))==null?void 0:t[0])||"")&&(s=l.replace(/[{}]/g,"").split(",").map(e=>{let[t,n]=e.split("-");return n?Array.from({length:Number(n)-Number(t)+1},(e,n)=>n+Number(t)):Number(t)}).flat()),!nx&&(Object.keys(Y.default).forEach(e=>{K.PrismLight.registerLanguage(e,Y.default[e])}),nx=!0),(0,E.jsx)(K.PrismLight,{language:r,style:ng,wrapLines:!0,className:"code",wrapLongLines:a,customStyle:{backgroundColor:"inherit"},showLineNumbers:o||s.length>0,lineProps:e=>({style:el(eo({},s.includes(e)?{backgroundColor:"var(--rp-code-line-highlight-color)"}:{}),{display:"block",padding:"0 1.25rem"})}),children:String(e.children).trim()})}var nb=e=>(0,E.jsxs)("svg",el(eo({xmlns:"http://www.w3.org/2000/svg",width:32,height:32,viewBox:"0 0 30 30"},e),{children:[(0,E.jsx)("path",{fill:"currentColor",d:"M28 10v18H10V10h18m0-2H10a2 2 0 0 0-2 2v18a2 2 0 0 0 2 2h18a2 2 0 0 0 2-2V10a2 2 0 0 0-2-2Z"}),(0,E.jsx)("path",{fill:"currentColor",d:"M4 18H2V4a2 2 0 0 1 2-2h14v2H4Z"})]})),ny=e=>(0,E.jsx)("svg",el(eo({width:32,height:32,viewBox:"0 0 30 30"},e),{children:(0,E.jsx)("path",{fill:"#49cd37",d:"m13 24-9-9 1.414-1.414L13 21.171 26.586 7.586 28 9 13 24z"})})),nw=new Map;function nk({codeBlockRef:e}){let t=(0,_.useRef)(null);return(0,E.jsxs)("button",{className:nf.codeCopyButton,onClick:()=>(function(e,t){let n="",i=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,null),r=i.nextNode();for(;r;)!r.parentElement.classList.contains("linenumber")&&(n+=r.nodeValue),r=i.nextNode();if(X(n)&&t){t.classList.add(nf.codeCopied),clearTimeout(nw.get(t));let e=setTimeout(()=>{t.classList.remove(nf.codeCopied),t.blur(),nw.delete(t)},2e3);nw.set(t,e)}})(e.current,t.current),ref:t,children:[(0,E.jsx)(nb,{className:nf.iconCopy}),(0,E.jsx)(ny,{className:nf.iconSuccess})]})}function nI(e){let{siteData:t}=(0,S.usePageData)(),{defaultWrapCode:n,codeHighlighter:i}=t.markdown,[r,a]=(0,_.useState)(n),o=(0,_.useRef)(null),l=(0,_.useRef)(),{className:s}=e,d=null==s?void 0:s.replace(/language-/,"");if(!d)return(0,E.jsx)("code",eo({},e));let c=e=>{r?null==e||e.classList.remove(nf.wrappedBtn):null==e||e.classList.add(nf.wrappedBtn),a(!r)};return(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)("div",{ref:l,children:(()=>{if("prism"===i)return(0,E.jsx)(nv,el(eo({},e),{language:d,codeWrap:r}));return(0,E.jsx)("code",eo({},e))})()}),(0,E.jsxs)("div",{className:nf.codeButtonGroup,children:[(0,E.jsxs)("button",{ref:o,className:nf.codeWrapButton,onClick:()=>c(o.current),children:[(0,E.jsx)(nm,{className:nf.iconWrapped}),(0,E.jsx)(np,{className:nf.iconWrap})]}),(0,E.jsx)(nk,{codeBlockRef:l})]})]})}function nj(e){return(0,E.jsxs)("svg",el(eo({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 256 256"},e),{children:[(0,E.jsx)("path",{fill:"#C12127",d:"M0 256V0h256v256z"}),(0,E.jsx)("path",{fill:"#FFF",d:"M48 48h160v160h-32V80h-48v128H48z"})]}))}function nP(e){return(0,E.jsx)("svg",el(eo({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 128 128"},e),{children:(0,E.jsxs)("g",{fill:"#2c8ebb",children:[(0,E.jsx)("path",{d:"M99.24 80.71C94.9 80.76 91.1 83 87.89 85c-6 3.71-9 3.47-9 3.47l-.1-.17c-.41-.67 1.92-6.68-.69-13.84c-2.82-7.83-7.3-9.72-6.94-10.32c1.53-2.59 5.36-6.7 6.89-14.36c.91-4.64.67-12.28-1.39-16.28c-.38-.74-3.78 1.24-3.78 1.24s-3.18-7.09-4.07-7.66c-2.87-1.84-6 7.61-6 7.61a14 14 0 0 0-11.71 4.5a9.64 9.64 0 0 1-3.85 2.27c-.41.14-.91.12-2.15 3.47c-1.9 5.07 3.24 10.81 3.24 10.81s-6.13 4.33-8.4 9.72a24.78 24.78 0 0 0-1.75 11.68s-4.36 3.78-4.64 7.68a12.87 12.87 0 0 0 1.77 7.83a1.94 1.94 0 0 0 2.63.91s-2.9 3.38-.19 4.81c2.47 1.29 6.63 2 8.83-.19c1.6-1.6 1.92-5.17 2.51-6.63c.14-.34.62.57 1.08 1a10 10 0 0 0 1.36 1s-3.9 1.68-2.3 5.51c.53 1.27 2.42 2.08 5.51 2.06c1.15 0 13.76-.72 17.12-1.53a4.33 4.33 0 0 0 2.61-1.46a63 63 0 0 0 15.49-7c4.74-3.09 6.68-3.93 10.51-4.84c3.16-.75 2.95-5.65-1.24-5.58z"}),(0,E.jsx)("path",{d:"M64 2a62 62 0 1 0 62 62A62 62 0 0 0 64 2zm37.3 87.83c-3.35.81-4.91 1.44-9.41 4.36a67 67 0 0 1-15.56 7.18a8.71 8.71 0 0 1-3.64 1.77c-3.81.93-16.88 1.63-17.91 1.63h-.24c-4 0-6.27-1.24-7.49-2.54c-3.4 1.7-7.8 1-11-.69a5.55 5.55 0 0 1-3-3.9a6 6 0 0 1 0-2.06a6.66 6.66 0 0 1-.79-1A16.38 16.38 0 0 1 30 84.52c.29-3.73 2.87-7.06 4.55-8.83A28.56 28.56 0 0 1 36.61 64a26.82 26.82 0 0 1 6.82-9c-1.65-2.78-3.33-7.06-1.7-11.42c1.17-3.11 2.13-4.84 4.24-5.58a6.84 6.84 0 0 0 2.51-1.34A17.65 17.65 0 0 1 60.34 31c.19-.48.41-1 .65-1.46c1.6-3.4 3.3-5.31 5.29-6a4.88 4.88 0 0 1 4.4.5c.65.43 1.48 1 3.9 6a4.69 4.69 0 0 1 2.85-.1a3.81 3.81 0 0 1 2.39 1.94c2.47 4.74 2.8 13.19 1.72 18.62a33.8 33.8 0 0 1-5.84 13.31a25.73 25.73 0 0 1 5.77 9.43a25.42 25.42 0 0 1 1.41 10.41A28.7 28.7 0 0 0 86 81.91c3.06-1.89 7.68-4.74 13.19-4.81a6.62 6.62 0 0 1 7 5.7a6.35 6.35 0 0 1-4.89 7.03z"})]})}))}function nS(e){return(0,E.jsxs)("svg",el(eo({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 128 128"},e),{children:[(0,E.jsx)("path",{fill:"#f8ab00",d:"M0 .004V40h39.996V.004Zm43.996 0V40h40V.004Zm44.008 0V40H128V.004Zm0 43.996v39.996H128V44Z"}),(0,E.jsx)("path",{fill:"#4c4c4c",d:"M43.996 44v39.996h40V44ZM0 87.996v40h39.996v-40Zm43.996 0v40h40v-40Zm44.008 0v40H128v-40Z"})]}))}function nE(e){return(0,E.jsxs)("svg",el(eo({id:"Bun",width:"1.2em",height:"1.2em",viewBox:"0 0 80 70"},e),{children:[(0,E.jsx)("path",{id:"Shadow",d:"M71.09,20.74c-.16-.17-.33-.34-.5-.5s-.33-.34-.5-.5-.33-.34-.5-.5-.33-.34-.5-.5-.33-.34-.5-.5-.33-.34-.5-.5-.33-.34-.5-.5A26.46,26.46,0,0,1,75.5,35.7c0,16.57-16.82,30.05-37.5,30.05-11.58,0-21.94-4.23-28.83-10.86l.5.5.5.5.5.5.5.5.5.5.5.5.5.5C19.55,65.3,30.14,69.75,42,69.75c20.68,0,37.5-13.48,37.5-30C79.5,32.69,76.46,26,71.09,20.74Z"}),(0,E.jsxs)("g",{id:"Body",children:[(0,E.jsx)("path",{id:"Background",d:"M73,35.7c0,15.21-15.67,27.54-35,27.54S3,50.91,3,35.7C3,26.27,9,17.94,18.22,13S33.18,3,38,3s8.94,4.13,19.78,10C67,17.94,73,26.27,73,35.7Z",style:{fill:"#fbf0df"}}),(0,E.jsx)("path",{id:"Bottom_Shadow","data-name":"Bottom Shadow",d:"M73,35.7a21.67,21.67,0,0,0-.8-5.78c-2.73,33.3-43.35,34.9-59.32,24.94A40,40,0,0,0,38,63.24C57.3,63.24,73,50.89,73,35.7Z",style:{fill:"#f6dece"}}),(0,E.jsx)("path",{id:"Light_Shine","data-name":"Light Shine",d:"M24.53,11.17C29,8.49,34.94,3.46,40.78,3.45A9.29,9.29,0,0,0,38,3c-2.42,0-5,1.25-8.25,3.13-1.13.66-2.3,1.39-3.54,2.15-2.33,1.44-5,3.07-8,4.7C8.69,18.13,3,26.62,3,35.7c0,.4,0,.8,0,1.19C9.06,15.48,20.07,13.85,24.53,11.17Z",style:{fill:"#fffefc"}}),(0,E.jsx)("path",{id:"Top",d:"M35.12,5.53A16.41,16.41,0,0,1,29.49,18c-.28.25-.06.73.3.59,3.37-1.31,7.92-5.23,6-13.14C35.71,5,35.12,5.12,35.12,5.53Zm2.27,0A16.24,16.24,0,0,1,39,19c-.12.35.31.65.55.36C41.74,16.56,43.65,11,37.93,5,37.64,4.74,37.19,5.14,37.39,5.49Zm2.76-.17A16.42,16.42,0,0,1,47,17.12a.33.33,0,0,0,.65.11c.92-3.49.4-9.44-7.17-12.53C40.08,4.54,39.82,5.08,40.15,5.32ZM21.69,15.76a16.94,16.94,0,0,0,10.47-9c.18-.36.75-.22.66.18-1.73,8-7.52,9.67-11.12,9.45C21.32,16.4,21.33,15.87,21.69,15.76Z",style:{fill:"#ccbea7",fillRule:"evenodd"}}),(0,E.jsx)("path",{id:"Outline",d:"M38,65.75C17.32,65.75.5,52.27.5,35.7c0-10,6.18-19.33,16.53-24.92,3-1.6,5.57-3.21,7.86-4.62,1.26-.78,2.45-1.51,3.6-2.19C32,1.89,35,.5,38,.5s5.62,1.2,8.9,3.14c1,.57,2,1.19,3.07,1.87,2.49,1.54,5.3,3.28,9,5.27C69.32,16.37,75.5,25.69,75.5,35.7,75.5,52.27,58.68,65.75,38,65.75ZM38,3c-2.42,0-5,1.25-8.25,3.13-1.13.66-2.3,1.39-3.54,2.15-2.33,1.44-5,3.07-8,4.7C8.69,18.13,3,26.62,3,35.7,3,50.89,18.7,63.25,38,63.25S73,50.89,73,35.7C73,26.62,67.31,18.13,57.78,13,54,11,51.05,9.12,48.66,7.64c-1.09-.67-2.09-1.29-3-1.84C42.63,4,40.42,3,38,3Z"})]}),(0,E.jsxs)("g",{id:"Mouth",children:[(0,E.jsx)("g",{id:"Background-2","data-name":"Background",children:(0,E.jsx)("path",{d:"M45.05,43a8.93,8.93,0,0,1-2.92,4.71,6.81,6.81,0,0,1-4,1.88A6.84,6.84,0,0,1,34,47.71,8.93,8.93,0,0,1,31.12,43a.72.72,0,0,1,.8-.81H44.26A.72.72,0,0,1,45.05,43Z",style:{fill:"#b71422"}})}),(0,E.jsxs)("g",{id:"Tongue",children:[(0,E.jsx)("path",{id:"Background-3","data-name":"Background",d:"M34,47.79a6.91,6.91,0,0,0,4.12,1.9,6.91,6.91,0,0,0,4.11-1.9,10.63,10.63,0,0,0,1-1.07,6.83,6.83,0,0,0-4.9-2.31,6.15,6.15,0,0,0-5,2.78C33.56,47.4,33.76,47.6,34,47.79Z",style:{fill:"#ff6164"}}),(0,E.jsx)("path",{id:"Outline-2","data-name":"Outline",d:"M34.16,47a5.36,5.36,0,0,1,4.19-2.08,6,6,0,0,1,4,1.69c.23-.25.45-.51.66-.77a7,7,0,0,0-4.71-1.93,6.36,6.36,0,0,0-4.89,2.36A9.53,9.53,0,0,0,34.16,47Z"})]}),(0,E.jsx)("path",{id:"Outline-3","data-name":"Outline",d:"M38.09,50.19a7.42,7.42,0,0,1-4.45-2,9.52,9.52,0,0,1-3.11-5.05,1.2,1.2,0,0,1,.26-1,1.41,1.41,0,0,1,1.13-.51H44.26a1.44,1.44,0,0,1,1.13.51,1.19,1.19,0,0,1,.25,1h0a9.52,9.52,0,0,1-3.11,5.05A7.42,7.42,0,0,1,38.09,50.19Zm-6.17-7.4c-.16,0-.2.07-.21.09a8.29,8.29,0,0,0,2.73,4.37A6.23,6.23,0,0,0,38.09,49a6.28,6.28,0,0,0,3.65-1.73,8.3,8.3,0,0,0,2.72-4.37.21.21,0,0,0-.2-.09Z"})]}),(0,E.jsxs)("g",{id:"Face",children:[(0,E.jsx)("ellipse",{id:"Right_Blush","data-name":"Right Blush",cx:"53.22",cy:"40.18",rx:"5.85",ry:"3.44",style:{fill:"#febbd0"}}),(0,E.jsx)("ellipse",{id:"Left_Bluch","data-name":"Left Bluch",cx:"22.95",cy:"40.18",rx:"5.85",ry:"3.44",style:{fill:"#febbd0"}}),(0,E.jsx)("path",{id:"Eyes",d:"M25.7,38.8a5.51,5.51,0,1,0-5.5-5.51A5.51,5.51,0,0,0,25.7,38.8Zm24.77,0A5.51,5.51,0,1,0,45,33.29,5.5,5.5,0,0,0,50.47,38.8Z",style:{fillRule:"evenodd"}}),(0,E.jsx)("path",{id:"Iris",d:"M24,33.64a2.07,2.07,0,1,0-2.06-2.07A2.07,2.07,0,0,0,24,33.64Zm24.77,0a2.07,2.07,0,1,0-2.06-2.07A2.07,2.07,0,0,0,48.75,33.64Z",style:{fill:"#fff",fillRule:"evenodd"}})]})]}))}function nC(e){if(!(null==e?void 0:e.includes("install")))return e;let t=e.split(" ").filter(e=>!e.startsWith("-")&&!e.startsWith("--")).join(" ");return"yarn install"===t||"bun install"===t?e:e.replace("install","add")}function nz({command:e,additionalTabs:t=[]}){let n;let i={npm:(0,E.jsx)(nj,{}),yarn:(0,E.jsx)(nP,{}),pnpm:(0,E.jsx)(nS,{}),bun:(0,E.jsx)(nE,{})};return t.forEach(e=>{i[e.tool]=e.icon}),"string"==typeof e?(n={npm:`npm ${e}`,yarn:`yarn ${e}`,pnpm:`pnpm ${e}`,bun:`bun ${e}`},t.forEach(t=>{n[t.tool]=`${t.tool} ${e}`})):n=e,n.yarn&&(n.yarn=nC(n.yarn)),n.bun&&(n.bun=nC(n.bun)),(0,E.jsx)(t9,{values:Object.entries(n).map(([e])=>(0,E.jsxs)("div",{style:{display:"flex",alignItems:"center",fontSize:15},children:[i[e],(0,E.jsx)("span",{style:{marginLeft:6,marginBottom:2},children:e})]},e)),children:Object.entries(n).map(([e,t])=>(0,E.jsx)(ne,{children:(0,E.jsx)(nh,{children:(0,E.jsx)(nI,{className:"language-js",children:t})})},e))})}var n_=e=>(0,E.jsx)("svg",el(eo({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),{children:(0,E.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"})})),nN=e=>(0,E.jsx)("svg",el(eo({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),{children:(0,E.jsx)("path",{fill:"currentColor",d:"m21.94 13.11-1.05-3.22c0-.03-.01-.06-.02-.09l-2.11-6.48a.859.859 0 0 0-.8-.57c-.36 0-.68.25-.79.58l-2 6.17H8.84L6.83 3.33a.851.851 0 0 0-.79-.58c-.37 0-.69.25-.8.58L3.13 9.82v.01l-1.07 3.28c-.16.5.01 1.04.44 1.34l9.22 6.71c.17.12.39.12.56-.01l9.22-6.7c.43-.3.6-.84.44-1.34M8.15 10.45l2.57 7.91-6.17-7.91m8.73 7.92 2.47-7.59.1-.33h3.61l-5.59 7.16m4.1-13.67 1.81 5.56h-3.62m-1.3.95-1.79 5.51L12 19.24l-2.86-8.79M6.03 3.94 7.84 9.5H4.23m-1.18 4.19c-.09-.07-.13-.19-.09-.29l.79-2.43 5.82 7.45m11.38-4.73-6.51 4.73.02-.03 5.79-7.42.79 2.43c.04.1 0 .22-.09.29"})})),nA={sourceCode:"sourceCode_bf1b0"};function nT(e){let{href:t,platform:n="github"}=e,{sourceCodeText:i="Source"}=eg();return(0,E.jsx)("div",{className:"inline-block rounded border border-solid border-gray-300 text-gray-400 sourceCode_bf1b0",children:(0,E.jsxs)("a",{href:t,target:"_blank",className:"flex items-center content-center transition-all duration-300 text-xs block px-2 py-1 ",children:[(0,E.jsx)("span",{className:"mr-2 inline-flex w-4 h-4",children:"gitlab"===n?(0,E.jsx)(nN,{}):(0,E.jsx)(n_,{})}),(0,E.jsx)("span",{children:i})]})})}var nL={title:"title_3b154",blockquote:"blockquote_3b154",link:"link_3b154","inline-link":"inline-link_3b154",inlineLink:"inline-link_3b154"},nO=e=>(0,E.jsx)("h1",el(eo({},e),{className:`text-3xl mb-10 leading-10 tracking-tight ${nL.title}`})),nM=e=>(0,E.jsx)("h2",el(eo({},e),{className:`mt-14 mb-6 text-2xl tracking-tight ${nL.title}`})),nD=e=>(0,E.jsx)("h3",el(eo({},e),{className:`mt-10 mb-2 leading-7 text-xl ${nL.title}`})),nR=e=>(0,E.jsx)("h4",el(eo({},e),{className:`mt-8 leading-6 text-base ${nL.title}`})),nB=e=>(0,E.jsx)("h5",el(eo({},e),{className:nL.title})),nH=e=>(0,E.jsx)("h6",el(eo({},e),{className:nL.title})),n$=e=>(0,E.jsx)("ol",el(eo({},e),{className:"list-decimal pl-5 my-4 leading-7"})),nF=e=>(0,E.jsx)("ul",el(eo({},e),{className:"list-disc pl-5 my-4 leading-7"})),nW=e=>(0,E.jsx)("li",el(eo({},e),{className:"[&:not(:first-child)]:mt-2"})),nq=e=>(0,E.jsx)("table",el(eo({},e),{className:"block border-collapse text-base my-5 overflow-x-auto leading-7 border-gray-light-2"})),nU=e=>(0,E.jsx)("tr",el(eo({},e),{className:"border border-solid transition-colors duration-500 even:bg-soft border-gray-light-2"})),nV=e=>(0,E.jsx)("td",el(eo({},e),{className:"border border-solid px-4 py-2 border-gray-light-2"})),nG=e=>(0,E.jsx)("th",el(eo({},e),{className:"border border-solid px-4 py-2 text-text-1 text-base font-semibold border-gray-light-2"})),nZ=e=>(0,E.jsx)("hr",el(eo({},e),{className:"my-12 border-t bordder-solid border-divider-light"})),nY=e=>{let{href:t="",className:n=""}=e,{normalizeLinkHref:i}=(0,$.usePathUtils)();return n.includes("header-anchor")||t.startsWith("#")?(0,E.jsx)("a",el(eo({},e),{className:`${nL.link} ${n}`})):(0,E.jsx)(Q.Link,el(eo({},e),{className:`${n} ${nL.link} ${nL["inline-link"]}`,href:i(t)}))},nK=e=>(0,E.jsx)("p",el(eo({},e),{className:"my-4 leading-7"})),nX=e=>(0,E.jsx)("blockquote",el(eo({},e),{className:`border-l-2 border-solid border-divider pl-4 my-6 transition-colors duration-500 ${nL.blockquote}`})),nQ=e=>(0,E.jsx)("strong",el(eo({},e),{className:"font-semibold"})),nJ=e=>(0,E.jsx)("img",el(eo({},e),{src:(0,S.normalizeImagePath)(e.src||"")}));function n0(){return{h1:nO,h2:nM,h3:nD,h4:nR,h5:nB,h6:nH,ul:nF,ol:n$,li:nW,table:nq,td:nV,th:nG,tr:nU,hr:nZ,p:nK,blockquote:nX,strong:nQ,a:nY,code:nI,pre:nh,img:nJ}}var n1={Layout:tg,NotFoundLayout:ef,HomeLayout:tP,setup:eP}},44394:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i.default}}),n("35850");var i=n("81725");n.es(i,t)},49555:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return o}});var i=n("13393");let r=/\s?|(]*>|]*>|]+>)+/i,a=RegExp(i.map(e=>`<${e}\\b[^>]*>`).join("|"),"i");function o(e){return e=e.trim().slice(0,1e3),r.test(e)||a.test(e)}},10924:function(e){"use strict";e.exports=JSON.parse('{"AElig":"\xc6","AMP":"&","Aacute":"\xc1","Acirc":"\xc2","Agrave":"\xc0","Aring":"\xc5","Atilde":"\xc3","Auml":"\xc4","COPY":"\xa9","Ccedil":"\xc7","ETH":"\xd0","Eacute":"\xc9","Ecirc":"\xca","Egrave":"\xc8","Euml":"\xcb","GT":">","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')},33222:function(e){"use strict";e.exports=JSON.parse('{"0":"\uFFFD","128":"\u20AC","130":"\u201A","131":"\u0192","132":"\u201E","133":"\u2026","134":"\u2020","135":"\u2021","136":"\u02C6","137":"\u2030","138":"\u0160","139":"\u2039","140":"\u0152","142":"\u017D","145":"\u2018","146":"\u2019","147":"\u201C","148":"\u201D","149":"\u2022","150":"\u2013","151":"\u2014","152":"\u02DC","153":"\u2122","154":"\u0161","155":"\u203A","156":"\u0153","158":"\u017E","159":"\u0178"}')},48606:function(e){"use strict";e.exports=JSON.parse('["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","search","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"]')}}]); \ No newline at end of file +/*! For license information please see 9376.2d43852f.js.LICENSE.txt */ +(self.webpackChunk_modern_js_module_tools_docs=self.webpackChunk_modern_js_module_tools_docs||[]).push([["9376"],{94:function(e,t,n){"use strict";n.r(t),n.d(t,{Content:function(){return u}});var i=n("39980"),r=n("2363"),a=n("35383"),o=n("13328"),l=n("68347"),s=n("59030");let{routes:d}=n("99593"),c=(0,r.memo)(function(e){let t=e.el;return o.default?.themeConfig?.enableContentAnimation&&(t=(0,s.useViewTransition)(e.el)),t},(e,t)=>e.el===t.el),u=({fallback:e=(0,i.jsx)(i.Fragment,{})})=>{let{pathname:t}=(0,a.useLocation)(),n=(0,a.matchRoutes)(d,(0,l.normalizeRoutePath)(t));if(!n)return(0,i.jsx)("div",{});let o=n[0].route.element;return(0,i.jsx)(r.Suspense,{fallback:e,children:(0,i.jsx)(c,{el:o})})}},99618:function(e,t,n){"use strict";n.r(t),n.d(t,{NoSSR:function(){return a}});var i=n("39980"),r=n("2363");function a(e){let{children:t}=e,[n,a]=(0,r.useState)(!1);return((0,r.useEffect)(()=>{a(!0)},[]),n)?(0,i.jsx)(i.Fragment,{children:t}):null}},59030:function(e,t,n){"use strict";n.r(t),n.d(t,{DataContext:function(){return a},ThemeContext:function(){return o},useLang:function(){return s},usePageData:function(){return l},useVersion:function(){return d},useViewTransition:function(){return c}});var i=n("2363"),r=n("61850");let a=(0,i.createContext)({}),o=(0,i.createContext)({});function l(){return(0,i.useContext)(a).data}function s(){return(0,i.useContext)(a).data.page.lang||""}function d(){return(0,i.useContext)(a).data.page.version||""}function c(e){let[t,n]=(0,i.useState)(e);return(0,i.useLayoutEffect)(()=>{document.startViewTransition&&t!==e?document.startViewTransition(()=>{(0,r.flushSync)(()=>{n(e)}),window.dispatchEvent(new Event("RspressReloadContent"))}):((0,r.flushSync)(()=>{n(e)}),window.dispatchEvent(new Event("RspressReloadContent")))},[e]),t}},59350:function(e,t,n){"use strict";n.r(t),n.d(t,{BrowserRouter:function(){return o.BrowserRouter},NoSSR:function(){return l.NoSSR},isEqualPath:function(){return a.isEqualPath},isProduction:function(){return a.isProduction},matchRoutes:function(){return o.matchRoutes},normalizeHrefInRuntime:function(){return a.normalizeHrefInRuntime},normalizeImagePath:function(){return a.normalizeImagePath},normalizeRoutePath:function(){return a.normalizeRoutePath},removeBase:function(){return a.removeBase},useLocation:function(){return o.useLocation},useNavigate:function(){return o.useNavigate},withBase:function(){return a.withBase}});var i=n("59030");n.es(i,t);var r=n("94");n.es(r,t);var a=n("68347"),o=n("35383");n("20288");var l=n("99618")},68347:function(e,t,n){"use strict";n.r(t),n.d(t,{isEqualPath:function(){return s},isProduction:function(){return r.isProduction},normalizeHrefInRuntime:function(){return d},normalizeImagePath:function(){return c},normalizeRoutePath:function(){return a},removeBase:function(){return l},withBase:function(){return o}});var i=n("13328"),r=n("56195");function a(e){return decodeURIComponent(e).replace(/\.html$/,"").replace(/\/index$/,"/")}function o(e="/"){return(0,r.withBase)(e,i.default.base)}function l(e){return(0,r.removeBase)(e,i.default.base)}function s(e,t){return o(d((0,r.removeHash)(e)))===o(d((0,r.removeHash)(t)))}function d(e){let t=!!i.default?.route?.cleanUrls;return(0,r.normalizeHref)(e,t)}function c(e){return!(0,r.isProduction)()||(0,r.isExternalUrl)(e)||(0,r.isDataUrl)(e)?e:o(e)}},12555:function(e,t,n){"use strict";n.r(t),n.d(t,{clearAllBodyScrollLocks:function(){return b},disableBodyScroll:function(){return v}});var i=!1;if("undefined"!=typeof window){var r={get passive(){i=!0;return}};window.addEventListener("testPassive",null,r),window.removeEventListener("testPassive",null,r)}var a="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),o=[],l=!1,s=-1,d=void 0,c=void 0,u=void 0,h=function(e){return o.some(function(t){return!!(t.options.allowTouchMove&&t.options.allowTouchMove(e))||!1})},p=function(e){var t=e||window.event;return!!h(t.target)||!!(t.touches.length>1)||(t.preventDefault&&t.preventDefault(),!1)},m=function(e){if(void 0===u){var t=!!e&&!0===e.reserveScrollBarGap,n=window.innerWidth-document.documentElement.clientWidth;if(t&&n>0){var i=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"),10);u=document.body.style.paddingRight,document.body.style.paddingRight=i+n+"px"}}void 0===d&&(d=document.body.style.overflow,document.body.style.overflow="hidden")},f=function(){void 0!==u&&(document.body.style.paddingRight=u,u=void 0),void 0!==d&&(document.body.style.overflow=d,d=void 0)},g=function(){if(void 0!==c){var e=-parseInt(document.body.style.top,10),t=-parseInt(document.body.style.left,10);document.body.style.position=c.position,document.body.style.top=c.top,document.body.style.left=c.left,window.scrollTo(t,e),c=void 0}},x=function(e,t){var n,i=e.targetTouches[0].clientY-s;if(h(e.target))return!1;if(t&&0===t.scrollTop&&i>0)return p(e);return(n=t)&&n.scrollHeight-n.scrollTop<=n.clientHeight&&i<0?p(e):(e.stopPropagation(),!0)},v=function(e,t){if(!e){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}!o.some(function(t){return t.targetElement===e})&&(o=[].concat(function(e){if(!Array.isArray(e))return Array.from(e);for(var t=0,n=Array(e.length);t=i&&(document.body.style.top=-(t+e))})},300)}}):m(t),a&&(e.ontouchstart=function(e){1===e.targetTouches.length&&(s=e.targetTouches[0].clientY)},e.ontouchmove=function(t){1===t.targetTouches.length&&x(t,e)},!l&&(document.addEventListener("touchmove",p,i?{passive:!1}:void 0),l=!0)))},b=function(){a&&(o.forEach(function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null}),l&&(document.removeEventListener("touchmove",p,i?{passive:!1}:void 0),l=!1),s=-1),a?g():f(),o=[]}},429:function(e,t){"use strict";t.parse=function(e){for(var t,n=[],i=String(e||""),r=i.indexOf(","),a=0,o=!1;!o;)-1===r&&(r=i.length,o=!0),((t=i.slice(a,r).trim())||!o)&&n.push(t),a=r+1,r=i.indexOf(",",a);return n},t.stringify=function(e,t){var n=t||{},i=!1===n.padLeft?"":" ",r=n.padRight?" ":"";return""===e[e.length-1]&&(e=e.concat("")),e.join(r+","+i).trim()}},79522:function(e,t,n){"use strict";var i=n("48456"),r={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,a,o,l,s,d,c,u,h=!1;!t&&(t={}),o=t.debug||!1;try{if(s=i(),d=document.createRange(),c=document.getSelection(),(u=document.createElement("span")).textContent=e,u.ariaHidden="true",u.style.all="unset",u.style.position="fixed",u.style.top=0,u.style.clip="rect(0, 0, 0, 0)",u.style.whiteSpace="pre",u.style.webkitUserSelect="text",u.style.MozUserSelect="text",u.style.msUserSelect="text",u.style.userSelect="text",u.addEventListener("copy",function(n){if(n.stopPropagation(),t.format){if(n.preventDefault(),void 0===n.clipboardData){o&&console.warn("unable to use e.clipboardData"),o&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=r[t.format]||r.default;window.clipboardData.setData(i,e)}else n.clipboardData.clearData(),n.clipboardData.setData(t.format,e)}t.onCopy&&(n.preventDefault(),t.onCopy(n.clipboardData))}),document.body.appendChild(u),d.selectNodeContents(u),c.addRange(d),!document.execCommand("copy"))throw Error("copy command was unsuccessful");h=!0}catch(i){o&&console.error("unable to copy using execCommand: ",i),o&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),h=!0}catch(i){;o&&console.error("unable to copy using clipboardData: ",i),o&&console.error("falling back to prompt"),n="message"in t?t.message:"Copy to clipboard: #{key}, Enter",a=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C",l=n.replace(/#{\s*key\s*}/g,a),window.prompt(l,e)}}finally{c&&("function"==typeof c.removeRange?c.removeRange(d):c.removeAllRanges()),u&&document.body.removeChild(u),s()}return h}},85653:function(e,t){"use strict";(function(n,i,r){let a;(a=r.define)&&a.amd?a([],function(){return i}):(a=r.modules)?a[n.toLowerCase()]=i:"object"==typeof t?e.exports=i:r[n]=i})("FlexSearch",function e(t){let n;function i(e,t){let n=t?t.id:e&&e.id;this.id=n||0===n?n:z++,this.init(e,t),l(this,"index",function(){return this.a?Object.keys(this.a.index[this.a.keys[0]].c):Object.keys(this.c)}),l(this,"length",function(){return this.index.length})}function r(e,t,n,i){return this.u!==this.g&&(this.o=this.o.concat(n),this.u++,i&&this.o.length>=i&&(this.u=this.g),this.u===this.g&&(this.cache&&this.j.set(t,this.o),this.F&&this.F(this.o))),this}function a(e,t){let n=e.length,i=y(t),r=[];for(let a=0,o=0;a=o&&((e=(e=e[l-(r+.5>>0)])[n]||(e[n]=[]))[e.length]=i),r)}function u(e,t){if(e){let n=Object.keys(e);for(let i=0,r=n.length;i(e=e.length-t.length)?1:e?-1:0}function m(e,t){return e=e[n],e<(t=t[n])?-1:e>t?1:0}function f(e,t){let i=n.length;for(let r=0;rt?1:0}function g(e,t,n){return e?{page:e,next:t?""+t:null,result:n}:n}function x(e,t,n,i,r,a,o){let l,s=[];if(!0===n){n="0";var d=""}else d=n&&n.split(":");let c=e.length;if(1o&&(d=0),(l=(d=d||0)+t)=this.m.length&&(this.C=0),this.m[this.C].postMessage({add:!0,id:e,content:t}),this.c[o]=""+this.C,n&&n(),this;if(!r){if(this.async&&"function"!=typeof importScripts){let r=this;return(o=new Promise(function(n){setTimeout(function(){r.add(e,t,null,i,!0),r=null,n()})}),n)?(o.then(n),this):o}if(n)return this.add(e,t,null,i,!0),n(),this}if(!(t=this.encode(t)).length)return this;r=y(n=this.f)?n(t):t.split(this.split),this.filter&&(r=a(r,this.filter));let p=j();p._ctx=j();let m=r.length,f=this.threshold,g=this.depth,x=this.b,v=this.i,b=this.D;for(let t=0;th;n--)c(v,p,u=l.substring(h,n),e,t,d,f,x-1)}break;default:if(s=c(v,p,l,e,1,d,f,x-1),g&&1=f)for(s=p._ctx[l]||(p._ctx[l]=j()),l=this.h[l]||(this.h[l]=I(x-(f||0))),0>(d=t-g)&&(d=0),(u=t+g+1)>m&&(u=m);dr;n--)i=a[n-1],a[n]=i,t[i]=n;a[r]=e,t[e]=r}}}return t},e}();return i}(function(){let e={},t="undefined"!=typeof Blob&&"undefined"!=typeof URL&&URL.createObjectURL;return function(n,i,r,a,o){return r=t?URL.createObjectURL(new Blob(["("+r.toString()+")()"],{type:"text/javascript"})):n+".min.js",e[n+="-"+i]||(e[n]=[]),e[n][o]=new Worker(r),e[n][o].onmessage=a,e[n][o]}}()),this)},43451:function(e){"use strict";e.exports=function(e,n){for(var i,r,a,o=e||"",l=n||"div",s={},d=0;d-1}var o=["itemScope"];function l(t,n,i,r){void 0===r&&(r=null);var a=i[t],o=i._;return a?e.createElement(a,n,r):o?o(t,n,r):e.createElement(t,n,r)}return function(e,i){if(void 0===i&&(i={}),"string"!=typeof e)throw TypeError("Expected HTML string");var a=document.createElement("div");a.innerHTML=e.trim();var o=Array.from(a.childNodes).map(function(e,a){return function e(i,a,o){var s,d,c,u,h=o.transform||{},p=o.preserveAttributes||[],m=o.dangerouslySetChildren||["style"],f=h._;if(8===i.nodeType)return null;if(3===i.nodeType){var g=i.textContent;return f?f(g):g}for(var x={},v=i.attributes,b=0;b1){var r,o=(r=i[0].trim(),/^-ms-/.test(r)&&(r=r.substr(1)),r.startsWith("--")?r:t(r)),l=(n=i.slice(1).join(":").trim(),/^\d+$/.test(n)?Number(n):n.replace(/'/g,'"'));a[o]=l}}),a);else{var l=d[n],h=""===l||String(l).toLowerCase()===i.toLowerCase();e[o.name]=o.isBoolean?h:l}return e},{})),k=Array.from(i.childNodes).map(function(t,i){return n.indexOf(y)>-1&&3===t.nodeType&&(t.textContent=t.textContent.trim(),""===t.textContent)?null:e(t,a+"."+i,o)}).filter(Boolean);if(m.indexOf(y)>-1){var I=i.innerHTML;return I&&("style"!==y&&"script"!==y&&(I=I.replace(/"/g,""")),w.dangerouslySetInnerHTML={__html:I.trim()}),l(y,w,h)}return l(y,w,h,0===k.length?null:k)}(e,String(a),i)}).filter(Boolean);return 1===o.length?o[0]:o}},"object"==typeof t?e.exports=r(n("2363")):"function"==typeof define&&define.amd?define(["react"],r):(i=i||self).htmr=r(i.React)},24546:function(e){"use strict";e.exports=function(e,t,n,i,r,a,o,l){if(!e){var s;if(void 0===t)s=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var d=[n,i,r,a,o,l],c=0;(s=Error(t.replace(/%s/g,function(){return d[c++]}))).name="Invariant Violation"}throw s.framesToPop=1,s}}},54761:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}},29975:function(e,t,n){"use strict";var i=n("54761"),r=n("67525");e.exports=function(e){return i(e)||r(e)}},67525:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},72201:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},60366:function(e,t,n){"use strict";n.r(t);var i=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},r=window.Promise||function(e){function t(){}e(t,t)},u=function(){for(var e=arguments.length,t=Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=e.target,n=function(){var e={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},t=void 0,n=void 0;if(b.container){if(b.container instanceof Object)t=(e=i({},e,b.container)).width-e.left-e.right-2*b.margin,n=e.height-e.top-e.bottom-2*b.margin;else{var r=(a(b.container)?b.container:document.querySelector(b.container)).getBoundingClientRect();e=i({},e,{width:r.width,height:r.height,left:r.left,top:r.top})}}t=t||e.width-2*b.margin,n=n||e.height-2*b.margin;var l=y.zoomedHd||y.original,s=o(l)?t:l.naturalWidth||t,d=o(l)?n:l.naturalHeight||n,c=l.getBoundingClientRect(),u=c.top,h=c.left,p=c.width,m=c.height,f=Math.min(Math.min(Math.max(p,s),t)/p,Math.min(Math.max(m,d),n)/m),g=(-h+(t-p)/2+b.margin+e.left)/f,x=(-u+(n-m)/2+b.margin+e.top)/f,v="scale("+f+") translate3d("+g+"px, "+x+"px, 0)";y.zoomed.style.transform=v,y.zoomedHd&&(y.zoomedHd.style.transform=v)};return new r(function(e){if(t&&-1===f.indexOf(t)){e(k);return}if(y.zoomed){e(k);return}if(t)y.original=t;else if(f.length>0){var i=f;y.original=i[0]}else{e(k);return}if(y.original.dispatchEvent(c("medium-zoom:open",{detail:{zoom:k}})),v=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,x=!0,y.zoomed=d(y.original),document.body.appendChild(w),b.template){var r=a(b.template)?b.template:document.querySelector(b.template);y.template=document.createElement("div"),y.template.appendChild(r.content.cloneNode(!0)),document.body.appendChild(y.template)}if(y.original.parentElement&&"PICTURE"===y.original.parentElement.tagName&&y.original.currentSrc&&(y.zoomed.src=y.original.currentSrc),document.body.appendChild(y.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),y.original.classList.add("medium-zoom-image--hidden"),y.zoomed.classList.add("medium-zoom-image--opened"),y.zoomed.addEventListener("click",p),y.zoomed.addEventListener("transitionend",function t(){x=!1,y.zoomed.removeEventListener("transitionend",t),y.original.dispatchEvent(c("medium-zoom:opened",{detail:{zoom:k}})),e(k)}),y.original.getAttribute("data-zoom-src")){y.zoomedHd=y.zoomed.cloneNode(),y.zoomedHd.removeAttribute("srcset"),y.zoomedHd.removeAttribute("sizes"),y.zoomedHd.removeAttribute("loading"),y.zoomedHd.src=y.zoomed.getAttribute("data-zoom-src"),y.zoomedHd.onerror=function(){clearInterval(o),console.warn("Unable to reach the zoom image target "+y.zoomedHd.src),y.zoomedHd=null,n()};var o=setInterval(function(){y.zoomedHd.complete&&(clearInterval(o),y.zoomedHd.classList.add("medium-zoom-image--opened"),y.zoomedHd.addEventListener("click",p),document.body.appendChild(y.zoomedHd),n())},10)}else if(y.original.hasAttribute("srcset")){y.zoomedHd=y.zoomed.cloneNode(),y.zoomedHd.removeAttribute("sizes"),y.zoomedHd.removeAttribute("loading");var l=y.zoomedHd.addEventListener("load",function(){y.zoomedHd.removeEventListener("load",l),y.zoomedHd.classList.add("medium-zoom-image--opened"),y.zoomedHd.addEventListener("click",p),document.body.appendChild(y.zoomedHd),n()})}else n()})},p=function(){return new r(function(e){if(x||!y.original){e(k);return}x=!0,document.body.classList.remove("medium-zoom--opened"),y.zoomed.style.transform="",y.zoomedHd&&(y.zoomedHd.style.transform=""),y.template&&(y.template.style.transition="opacity 150ms",y.template.style.opacity=0),y.original.dispatchEvent(c("medium-zoom:close",{detail:{zoom:k}})),y.zoomed.addEventListener("transitionend",function t(){y.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(y.zoomed),y.zoomedHd&&document.body.removeChild(y.zoomedHd),document.body.removeChild(w),y.zoomed.classList.remove("medium-zoom-image--opened"),y.template&&document.body.removeChild(y.template),x=!1,y.zoomed.removeEventListener("transitionend",t),y.original.dispatchEvent(c("medium-zoom:closed",{detail:{zoom:k}})),y.original=null,y.zoomed=null,y.zoomedHd=null,y.template=null,e(k)})})},m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.target;return y.original?p():h({target:t})},f=[],g=[],x=!1,v=0,b=n,y={original:null,zoomed:null,zoomedHd:null,template:null};"[object Object]"===Object.prototype.toString.call(t)?b=t:(t||"string"==typeof t)&&u(t);var w=s((b=i({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},b)).background);document.addEventListener("click",function(e){var t=e.target;if(t===w){p();return}-1!==f.indexOf(t)&&m({target:t})}),document.addEventListener("keyup",function(e){var t=e.key||e.keyCode;("Escape"===t||"Esc"===t||27===t)&&p()}),document.addEventListener("scroll",function(){if(!x&&y.original){var e=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(v-e)>b.scrollOffset&&setTimeout(p,150)}}),window.addEventListener("resize",p);var k={open:h,close:p,toggle:m,update:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.background&&(w.style.background=e.background),e.container&&e.container instanceof Object&&(e.container=i({},b.container,e.container)),e.template){var t=a(e.template)?e.template:document.querySelector(e.template);e.template=t}return b=i({},b,e),f.forEach(function(e){e.dispatchEvent(c("medium-zoom:update",{detail:{zoom:k}}))}),k},clone:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e(i({},b,t))},attach:u,detach:function(){for(var e=arguments.length,t=Array(e),n=0;n0?t.reduce(function(e,t){return[].concat(e,l(t))},[]):f;return i.forEach(function(e){e.classList.remove("medium-zoom-image"),e.dispatchEvent(c("medium-zoom:detach",{detail:{zoom:k}}))}),f=f.filter(function(e){return -1===i.indexOf(e)}),k},on:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return f.forEach(function(i){i.addEventListener("medium-zoom:"+e,t,n)}),g.push({type:"medium-zoom:"+e,listener:t,options:n}),k},off:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return f.forEach(function(i){i.removeEventListener("medium-zoom:"+e,t,n)}),g=g.filter(function(n){return!(n.type==="medium-zoom:"+e&&n.listener.toString()===t.toString())}),k},getOptions:function(){return b},getImages:function(){return f},getZoomedImage:function(){return y.original}};return k}},47841:function(e,t){(function(n,i){"function"==typeof define&&define.amd?define(i):"object"==typeof t?e.exports=i():n.NProgress=i()})(this,function(){var e,t={};t.version="0.2.0";var n=t.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
                                                                  '};function i(e,t,n){return en?n:e}function r(e){return(-1+e)*100}t.configure=function(e){var t,i;for(t in e)void 0!==(i=e[t])&&e.hasOwnProperty(t)&&(n[t]=i);return this},t.status=null,t.set=function(e){var l=t.isStarted();e=i(e,n.minimum,1),t.status=1===e?null:e;var s=t.render(!l),d=s.querySelector(n.barSelector),c=n.speed,u=n.easing;return s.offsetWidth,a(function(i){""===n.positionUsing&&(n.positionUsing=t.getPositioningCSS()),o(d,function(e,t,i){var a;return(a="translate3d"===n.positionUsing?{transform:"translate3d("+r(e)+"%,0,0)"}:"translate"===n.positionUsing?{transform:"translate("+r(e)+"%,0)"}:{"margin-left":r(e)+"%"}).transition="all "+t+"ms "+i,a}(e,c,u)),1===e?(o(s,{transition:"none",opacity:1}),s.offsetWidth,setTimeout(function(){o(s,{transition:"all "+c+"ms linear",opacity:0}),setTimeout(function(){t.remove(),i()},c)},c)):setTimeout(i,c)}),this},t.isStarted=function(){return"number"==typeof t.status},t.start=function(){!t.status&&t.set(0);var e=function(){setTimeout(function(){t.status&&(t.trickle(),e())},n.trickleSpeed)};return n.trickle&&e(),this},t.done=function(e){return e||t.status?t.inc(.3+.5*Math.random()).set(1):this},t.inc=function(e){var n=t.status;return n?("number"!=typeof e&&(e=(1-n)*i(Math.random()*n,.1,.95)),n=i(n+e,0,.994),t.set(n)):t.start()},t.trickle=function(){return t.inc(Math.random()*n.trickleRate)},function(){var e=0,n=0;t.promise=function(i){return i&&"resolved"!==i.state()?(0===n&&t.start(),e++,n++,i.always(function(){0==--n?(e=0,t.done()):t.set((e-n)/e)}),this):this}}(),t.render=function(e){if(t.isRendered())return document.getElementById("nprogress");s(document.documentElement,"nprogress-busy");var i=document.createElement("div");i.id="nprogress",i.innerHTML=n.template;var a,l=i.querySelector(n.barSelector),d=e?"-100":r(t.status||0),c=document.querySelector(n.parent);return o(l,{transition:"all 0 linear",transform:"translate3d("+d+"%,0,0)"}),!n.showSpinner&&(a=i.querySelector(n.spinnerSelector))&&u(a),c!=document.body&&s(c,"nprogress-custom-parent"),c.appendChild(i),i},t.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(n.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&u(e)},t.isRendered=function(){return!!document.getElementById("nprogress")},t.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective" in e?"translate3d":t+"Transform" in e?"translate":"margin"};var a=(e=[],function(t){e.push(t),1==e.length&&!function t(){var n=e.shift();n&&n(t)}()}),o=function(){var e=["Webkit","O","Moz","ms"],t={};function n(n,i,r){i=function(n){return t[n=n.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})]||(t[n]=function(t){var n=document.body.style;if(t in n)return t;for(var i,r=e.length,a=t.charAt(0).toUpperCase()+t.slice(1);r--;)if((i=e[r]+a)in n)return i;return t}(n))}(i),n.style[i]=r}return function(e,t){var i,r,a=arguments;if(2==a.length)for(i in t)void 0!==(r=t[i])&&t.hasOwnProperty(i)&&n(e,i,r);else n(e,a[1],a[2])}}();function l(e,t){return("string"==typeof e?e:c(e)).indexOf(" "+t+" ")>=0}function s(e,t){var n=c(e),i=n+t;!l(n,t)&&(e.className=i.substring(1))}function d(e,t){var n,i=c(e);l(e,t)&&(n=i.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function c(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function u(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return t})},55144:function(e){"use strict";var t;e.exports=function(e){var n,i="&"+e+";";return(t=t||document.createElement("i")).innerHTML=i,(59!==(n=t.textContent).charCodeAt(n.length-1)||"semi"===e)&&n!==i&&n}},82668:function(e,t,n){"use strict";var i=n("10924"),r=n("33222"),a=n("67525"),o=n("72201"),l=n("29975"),s=n("55144");e.exports=function(e,t){var n,a,o={};for(a in!t&&(t={}),h)n=t[a],o[a]=null==n?h[a]:n;return(o.position.indent||o.position.start)&&(o.indent=o.position.indent||[],o.position=o.position.start),function(e,t){var n,a,o,h,b,y,w,k,I,j,P,S,E,C,z,_,N,A,T,L=t.additional,O=t.nonTerminated,M=t.text,D=t.reference,R=t.warning,B=t.textContext,H=t.referenceContext,$=t.warningContext,F=t.position,W=t.indent||[],q=e.length,U=0,V=-1,G=F.column||1,Z=F.line||1,Y="",K=[];for("string"==typeof L&&(L=L.charCodeAt(0)),_=X(),k=R?function(e,t){var n=X();n.column+=t,n.offset+=t,R.call($,v[e],n,e)}:u,U--,q++;++U=55296&&e<=57343||e>1114111}(y=parseInt(h,g[C]))?(k(7,A),y=c(65533)):y in r?(k(6,A),y=r[y]):(j="",function(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||(65535&e)===65535||(65535&e)===65534}(y)&&k(6,A),y>65535&&(y-=65536,j+=c(y>>>10|55296),y=56320|1023&y),y=j+c(y))):C!==p&&k(4,A);y?(Q(),_=X(),U=T-1,G+=T-E+1,K.push(y),N=X(),N.offset++,D&&D.call(H,y,{start:_,end:N},e.slice(E-1,T)),_=N):(h=e.slice(E-1,T),Y+=h,G+=h.length,U=T-1)}else 10===b&&(Z++,V++,G=0),b==b?(Y+=c(b),G++):Q();return K.join("");function X(){return{line:Z,column:G,offset:U+(F.offset||0)}}function Q(){Y&&(K.push(Y),M&&M.call(B,Y,{start:_,end:X()}),Y="")}}(e,o)};var d={}.hasOwnProperty,c=String.fromCharCode,u=Function.prototype,h={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},p="named",m="hexadecimal",f="decimal",g={};g[m]=16,g[f]=10;var x={};x[p]=l,x[f]=a,x[m]=o;var v={};v[1]="Named character references must be terminated by a semicolon",v[2]="Numeric character references must be terminated by a semicolon",v[3]="Named character references cannot be empty",v[4]="Numeric character references cannot be empty",v[5]="Named character references must be known",v[6]="Numeric character references cannot be disallowed",v[7]="Numeric character references cannot be outside the permissible Unicode range"},3921:function(e,t,n){var i=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,i={},r={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=c.reach));k+=w.value.length,w=w.next){var I,j=w.value;if(n.length>t.length)return;if(!(j instanceof a)){var P=1;if(x){if(!(I=o(y,k,t,g))||I.index>=t.length)break;var S=I.index,E=I.index+I[0].length,C=k;for(C+=w.value.length;S>=C;)C+=(w=w.next).value.length;if(C-=w.value.length,k=C,w.value instanceof a)continue;for(var z=w;z!==n.tail&&(Cc.reach&&(c.reach=T);var L=w.prev;if(N&&(L=s(n,L,N),k+=N.length),function(e,t,n){for(var i=t.next,r=0;r1){var O={cause:u+","+p,reach:T};e(t,n,i,w.prev,k,O),c&&O.reach>c.reach&&(c.reach=O.reach)}}}}}}(e,d,t,d.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(d)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var i,a=0;i=n[a++];)i(t)}},Token:a};function a(e,t,n,i){this.type=e,this.content=t,this.alias=n,this.length=0|(i||"").length}function o(e,t,n,i){e.lastIndex=t;var r=e.exec(n);if(r&&i&&r[1]){var a=r[1].length;r.index+=a,r[0]=r[0].slice(a)}return r}e.Prism=r,a.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var i="";return t.forEach(function(t){i+=e(t,n)}),i}var a={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(a.classes,o):a.classes.push(o)),r.hooks.run("wrap",a);var l="";for(var s in a.attributes)l+=" "+s+'="'+(a.attributes[s]||"").replace(/"/g,""")+'"';return"<"+a.tag+' class="'+a.classes.join(" ")+'"'+l+">"+a.content+""};function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function s(e,t,n){var i=t.next,r={value:n,prev:t,next:i};return t.next=r,i.prev=r,e.length++,r}if(!e.document)return e.addEventListener?(!r.disableWorkerMessageHandler&&e.addEventListener("message",function(t){var n=JSON.parse(t.data),i=n.language,a=n.code,o=n.immediateClose;e.postMessage(r.highlight(a,r.languages[i],i)),o&&e.close()},!1),r):r;var d=r.util.currentScript();function c(){!r.manual&&r.highlightAll()}if(d&&(r.filename=d.src,d.hasAttribute("data-manual")&&(r.manual=!0)),!r.manual){var u=document.readyState;"loading"===u||"interactive"===u&&d&&d.defer?document.addEventListener("DOMContentLoaded",c):window.requestAnimationFrame?window.requestAnimationFrame(c):window.setTimeout(c,16)}return r}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=i),void 0!==n.g&&(n.g.Prism=i)},52504:function(e,t,n){"use strict";var i=n("62265");function r(){}function a(){}a.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,a,o){if(o!==i){var l=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:r};return n.PropTypes=n,n}},23698:function(e,t,n){e.exports=n("52504")()},62265:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},62616:function(e,t,n){"use strict";var i=n("22275"),r=n("6492"),a=n("23811"),o="data";e.exports=function(e,t){var n=i(t),h=t,p=a;return n in e.normal?e.property[e.normal[n]]:(n.length>4&&n.slice(0,4)===o&&l.test(t)&&("-"===t.charAt(4)?h=function(e){var t=e.slice(5).replace(s,u);return o+t.charAt(0).toUpperCase()+t.slice(1)}(t):t=function(e){var t=e.slice(4);return s.test(t)?e:("-"!==(t=t.replace(d,c)).charAt(0)&&(t="-"+t),o+t)}(t),p=r),new p(h,t))};var l=/^data[-\w.:]+$/i,s=/-[a-z]/g,d=/[A-Z]/g;function c(e){return"-"+e.toLowerCase()}function u(e){return e.charAt(1).toUpperCase()}},46093:function(e,t,n){"use strict";var i=n("96399"),r=n("59283"),a=n("87430"),o=n("62376"),l=n("35531"),s=n("11006");e.exports=i([a,r,o,l,s])},35531:function(e,t,n){"use strict";var i=n("13077"),r=n("79469"),a=i.booleanish,o=i.number,l=i.spaceSeparated;e.exports=r({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:a,ariaAutoComplete:null,ariaBusy:a,ariaChecked:a,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:l,ariaCurrent:null,ariaDescribedBy:l,ariaDetails:null,ariaDisabled:a,ariaDropEffect:l,ariaErrorMessage:null,ariaExpanded:a,ariaFlowTo:l,ariaGrabbed:a,ariaHasPopup:null,ariaHidden:a,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:l,ariaLevel:o,ariaLive:null,ariaModal:a,ariaMultiLine:a,ariaMultiSelectable:a,ariaOrientation:null,ariaOwns:l,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:a,ariaReadOnly:a,ariaRelevant:null,ariaRequired:a,ariaRoleDescription:l,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:a,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}})},11006:function(e,t,n){"use strict";var i=n("13077"),r=n("79469"),a=n("12561"),o=i.boolean,l=i.overloadedBoolean,s=i.booleanish,d=i.number,c=i.spaceSeparated,u=i.commaSeparated;e.exports=r({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:a,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:u,acceptCharset:c,accessKey:c,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:c,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:c,cols:d,colSpan:null,content:null,contentEditable:s,controls:o,controlsList:c,coords:d|u,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:l,draggable:s,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:c,height:d,hidden:o,high:d,href:null,hrefLang:null,htmlFor:c,httpEquiv:c,id:null,imageSizes:null,imageSrcSet:u,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:c,itemRef:c,itemScope:o,itemType:c,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:o,low:d,manifest:null,max:null,maxLength:d,media:null,method:null,min:null,minLength:d,multiple:o,muted:o,name:null,nonce:null,noModule:o,noValidate:o,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:o,optimum:d,pattern:null,ping:c,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:c,required:o,reversed:o,rows:d,rowSpan:d,sandbox:c,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:d,sizes:null,slot:null,span:d,spellCheck:s,src:null,srcDoc:null,srcLang:null,srcSet:u,start:d,step:null,style:null,tabIndex:d,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:s,width:d,wrap:null,align:null,aLink:null,archive:c,axis:null,background:null,bgColor:null,border:d,borderColor:null,bottomMargin:d,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:o,declare:o,event:null,face:null,frame:null,frameBorder:null,hSpace:d,leftMargin:d,link:null,longDesc:null,lowSrc:null,marginHeight:d,marginWidth:d,noResize:o,noHref:o,noShade:o,noWrap:o,object:null,profile:null,prompt:null,rev:null,rightMargin:d,rules:null,scheme:null,scrolling:s,standby:null,summary:null,text:null,topMargin:d,valueType:null,version:null,vAlign:null,vLink:null,vSpace:d,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:o,disableRemotePlayback:o,prefix:null,property:null,results:d,security:null,unselectable:null}})},12561:function(e,t,n){"use strict";var i=n("56073");e.exports=function(e,t){return i(e,t.toLowerCase())}},56073:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},79469:function(e,t,n){"use strict";var i=n("22275"),r=n("23673"),a=n("6492");e.exports=function(e){var t,n,o=e.space,l=e.mustUseProperty||[],s=e.attributes||{},d=e.properties,c=e.transform,u={},h={};for(t in d)n=new a(t,c(s,t),d[t],o),-1!==l.indexOf(t)&&(n.mustUseProperty=!0),u[t]=n,h[i(t)]=t,h[i(n.attribute)]=t;return new r(u,h,o)}},6492:function(e,t,n){"use strict";var i=n("23811"),r=n("13077");e.exports=l,l.prototype=new i,l.prototype.defined=!0;var a=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=a.length;function l(e,t,n,l){var s,d=-1;for(function(e,t,n){n&&(e[t]=n)}(this,"space",l),i.call(this,e,t);++d=0||(r[n]=e[n]);return r}var x={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},v={rel:["amphtml","canonical","alternate"]},b={type:["application/ld+json"]},y={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},w=Object.keys(x).map(function(e){return x[e]}),k={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},I=Object.keys(k).reduce(function(e,t){return e[k[t]]=t,e},{}),j=function(e,t){for(var n=e.length-1;n>=0;n-=1){var i=e[n];if(Object.prototype.hasOwnProperty.call(i,t))return i[t]}return null},P=function(e){var t=j(e,x.TITLE),n=j(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,function(){return t});var i=j(e,"defaultTitle");return t||i||void 0},S=function(e,t){return t.filter(function(t){return void 0!==t[e]}).map(function(t){return t[e]}).reduce(function(e,t){return p({},e,t)},{})},E=function(e,t,n){var i={};return n.filter(function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)}).map(function(t){return t[e]}).reverse().reduce(function(e,n){var r={};n.filter(function(e){for(var n,a=Object.keys(e),o=0;o/g,">").replace(/"/g,""").replace(/'/g,"'")},L=function(e){return Object.keys(e).reduce(function(t,n){var i=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+i:i},"")},O=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce(function(t,n){return t[k[n]||n]=e[n],t},t)},M=function(e,t){return t.map(function(t,n){var i,a=((i={key:n})["data-rh"]=!0,i);return Object.keys(t).forEach(function(e){var n=k[e]||e;"innerHTML"===n||"cssText"===n?a.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:a[n]=t[e]}),r().createElement(e,a)})},D=function(e,t,n){switch(e){case x.TITLE:return{toComponent:function(){var e,n,i,a;return n=t.titleAttributes,(i={key:e=t.title})["data-rh"]=!0,a=O(n,i),[r().createElement(x.TITLE,a,e)]},toString:function(){var i,r,a,o,l,s;return i=e,r=t.title,a=t.titleAttributes,o=n,l=L(a),s=z(r),l?"<"+i+' data-rh="true" '+l+">"+T(s,o)+"":"<"+i+' data-rh="true">'+T(s,o)+""}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return O(t)},toString:function(){return L(t)}};default:return{toComponent:function(){return M(e,t)},toString:function(){var i,r,a;return i=e,r=t,a=n,r.reduce(function(e,t){var n=Object.keys(t).filter(function(e){return!("innerHTML"===e||"cssText"===e)}).reduce(function(e,n){var i=void 0===t[n]?n:n+'="'+T(t[n],a)+'"';return e?e+" "+i:i},""),r=t.innerHTML||t.cssText||"",o=-1===A.indexOf(i);return e+"<"+i+' data-rh="true" '+n+(o?"/>":">"+r+"")},"")}}}},R=function(e){var t=e.baseTag,n=e.bodyAttributes,i=e.encode,r=e.htmlAttributes,a=e.noscriptTags,o=e.styleTags,l=e.title,s=e.titleAttributes,d=e.linkTags,c=e.metaTags,u=e.scriptTags,h={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var p,m,f,g,w,k,I,j=(m=(p=e).linkTags,f=p.scriptTags,g=p.encode,w=_(p.metaTags,y),k=_(m,v),I=_(f,b),{priorityMethods:{toComponent:function(){return[].concat(M(x.META,w.priority),M(x.LINK,k.priority),M(x.SCRIPT,I.priority))},toString:function(){return D(x.META,w.priority,g)+" "+D(x.LINK,k.priority,g)+" "+D(x.SCRIPT,I.priority,g)}},metaTags:w.default,linkTags:k.default,scriptTags:I.default});h=j.priorityMethods,d=j.linkTags,c=j.metaTags,u=j.scriptTags}return{priority:h,base:D(x.BASE,t,i),bodyAttributes:D("bodyAttributes",n,i),htmlAttributes:D("htmlAttributes",r,i),link:D(x.LINK,d,i),meta:D(x.META,c,i),noscript:D(x.NOSCRIPT,a,i),script:D(x.SCRIPT,u,i),style:D(x.STYLE,o,i),title:D(x.TITLE,{title:void 0===l?"":l,titleAttributes:s},i)}},B=[],H=function(e,t){var n=this;void 0===t&&(t="undefined"!=typeof document),this.instances=[],this.value={setHelmet:function(e){n.context.helmet=e},helmetInstances:{get:function(){return n.canUseDOM?B:n.instances},add:function(e){(n.canUseDOM?B:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?B:n.instances).indexOf(e);(n.canUseDOM?B:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=R({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},$=r().createContext({}),F=o().shape({setHelmet:o().func,helmetInstances:o().shape({get:o().func,add:o().func,remove:o().func})}),W=function(e){function t(n){var i;return(i=e.call(this,n)||this).helmetData=new H(i.props.context,t.canUseDOM),i}return m(t,e),t.prototype.render=function(){return r().createElement($.Provider,{value:this.helmetData.value},this.props.children)},t}(i.Component);W.canUseDOM="undefined"!=typeof document,W.propTypes={context:o().shape({helmet:o().shape()}),children:o().node.isRequired},W.defaultProps={context:{}},W.displayName="HelmetProvider";var q=function(e,t){var n,i=document.head||document.querySelector(x.HEAD),r=i.querySelectorAll(e+"[data-rh]"),a=[].slice.call(r),o=[];return t&&t.length&&t.forEach(function(t){var i=document.createElement(e);for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&("innerHTML"===r?i.innerHTML=t.innerHTML:"cssText"===r?i.styleSheet?i.styleSheet.cssText=t.cssText:i.appendChild(document.createTextNode(t.cssText)):i.setAttribute(r,void 0===t[r]?"":t[r]));i.setAttribute("data-rh","true"),a.some(function(e,t){return n=t,i.isEqualNode(e)})?a.splice(n,1):o.push(i)}),a.forEach(function(e){return e.parentNode.removeChild(e)}),o.forEach(function(e){return i.appendChild(e)}),{oldTags:a,newTags:o}},U=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var i=n.getAttribute("data-rh"),r=i?i.split(","):[],a=[].concat(r),o=Object.keys(t),l=0;l=0;u-=1)n.removeAttribute(a[u]);r.length===a.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==o.join(",")&&n.setAttribute("data-rh",o.join(","))}},V=function(e,t){var n,i,r=e.baseTag,a=e.htmlAttributes,o=e.linkTags,l=e.metaTags,s=e.noscriptTags,d=e.onChangeClientState,c=e.scriptTags,u=e.styleTags,h=e.title,p=e.titleAttributes;U(x.BODY,e.bodyAttributes),U(x.HTML,a),n=h,i=p,void 0!==n&&document.title!==n&&(document.title=z(n)),U(x.TITLE,i);var m={baseTag:q(x.BASE,r),linkTags:q(x.LINK,o),metaTags:q(x.META,l),noscriptTags:q(x.NOSCRIPT,s),scriptTags:q(x.SCRIPT,c),styleTags:q(x.STYLE,u)},f={},g={};Object.keys(m).forEach(function(e){var t=m[e],n=t.newTags,i=t.oldTags;n.length&&(f[e]=n),i.length&&(g[e]=m[e].oldTags)}),t&&t(),d(e,f,g)},G=null,Z=function(e){function t(){for(var t,n=arguments.length,i=Array(n),r=0;r elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(e){var t,n=e.child,i=e.arrayTypeChildren;return p({},i,((t={})[n.type]=[].concat(i[n.type]||[],[p({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.mapObjectTypeChildren=function(e){var t,n,i=e.child,r=e.newProps,a=e.newChildProps,o=e.nestedChildren;switch(i.type){case x.TITLE:return p({},r,((t={})[i.type]=o,t.titleAttributes=p({},a),t));case x.BODY:return p({},r,{bodyAttributes:p({},a)});case x.HTML:return p({},r,{htmlAttributes:p({},a)});default:return p({},r,((n={})[i.type]=p({},a),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=p({},t);return Object.keys(e).forEach(function(t){var i;n=p({},n,((i={})[t]=e[t],i))}),n},n.warnOnInvalidChildren=function(e,t){return c()(w.some(function(t){return e.type===t}),"function"==typeof e.type?"You may be attempting to nest components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+w.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),c()(!t||"string"==typeof t||Array.isArray(t)&&!t.some(function(e){return"string"!=typeof e}),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``} ) Refer to our API for more information."),!0},n.mapChildrenToProps=function(e,t){var n=this,i={};return r().Children.forEach(e,function(e){if(e&&e.props){var r=e.props,a=r.children,o=g(r,Y),l=Object.keys(o).reduce(function(e,t){return e[I[t]||t]=o[t],e},{}),s=e.type;switch("symbol"==typeof s?s=s.toString():n.warnOnInvalidChildren(e,a),s){case x.FRAGMENT:t=n.mapChildrenToProps(a,t);break;case x.LINK:case x.META:case x.NOSCRIPT:case x.SCRIPT:case x.STYLE:i=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:i,newChildProps:l,nestedChildren:a});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:l,nestedChildren:a})}}}),this.mapArrayTypeChildrenToProps(i,t)},n.render=function(){var e=this.props,t=e.children,n=g(e,K),i=p({},n),a=n.helmetData;return t&&(i=this.mapChildrenToProps(t,i)),!a||a instanceof H||(a=new H(a.context,a.instances)),a?r().createElement(Z,p({},i,{context:a.value,helmetData:void 0})):r().createElement($.Consumer,null,function(e){return r().createElement(Z,p({},i,{context:e}))})},t}(i.Component);X.propTypes={base:o().object,bodyAttributes:o().object,children:o().oneOfType([o().arrayOf(o().node),o().node]),defaultTitle:o().string,defer:o().bool,encodeSpecialCharacters:o().bool,htmlAttributes:o().object,link:o().arrayOf(o().object),meta:o().arrayOf(o().object),noscript:o().arrayOf(o().object),onChangeClientState:o().func,script:o().arrayOf(o().object),style:o().arrayOf(o().object),title:o().string,titleAttributes:o().object,titleTemplate:o().string,prioritizeSeoTags:o().bool,helmetData:o().object},X.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},X.displayName="Helmet"},22897:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lazyWithPreload=void 0;var i=n("2363");function r(e){var t,n,r=(0,i.lazy)(e),a=(0,i.forwardRef)(function(e,n){var a=(0,i.useRef)(null!=t?t:r);return(0,i.createElement)(a.current,Object.assign(n?{ref:n}:{},e))});return a.preload=function(){return!n&&(n=e().then(function(e){return t=e.default})),n},a}t.lazyWithPreload=r,t.default=r},68965:function(e,t,n){"use strict";function i(e,t){return -1!==e.listLanguages().indexOf(t)}n.r(t),n.d(t,{default:function(){return i}})},51414:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return u}});var i=n("27141"),r=n("99553"),a=n("2363"),o=n.n(a);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function s(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return(function(e){if(0===e.length||1===e.length)return e;var t,n,i=e.join(".");if(!d[i]){;d[i]=0===(n=(t=e).length)||1===n?t:2===n?[t[0],t[1],"".concat(t[0],".").concat(t[1]),"".concat(t[1],".").concat(t[0])]:3===n?[t[0],t[1],t[2],"".concat(t[0],".").concat(t[1]),"".concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[0]),"".concat(t[1],".").concat(t[2]),"".concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[1],".").concat(t[0])]:n>=4?[t[0],t[1],t[2],t[3],"".concat(t[0],".").concat(t[1]),"".concat(t[0],".").concat(t[2]),"".concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[0]),"".concat(t[1],".").concat(t[2]),"".concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[1]),"".concat(t[2],".").concat(t[3]),"".concat(t[3],".").concat(t[0]),"".concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[0]),"".concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[1],".").concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[2],".").concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[3],".").concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[2],".").concat(t[1],".").concat(t[0])]:void 0}return d[i]})(e.filter(function(e){return"token"!==e})).reduce(function(e,t){return s(s({},e),n[t])},t)}(c.className,Object.assign({},c.style,void 0===r?{}:r),n)})}else v=s(s({},c),{},{className:c.className.join(" ")});var I=b(t.children);return o().createElement(p,(0,i.default)({key:l},v),I)}}},40458:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return y}});var i=n("86608"),r=n("31476"),a=n("99553"),o=n("2363"),l=n.n(o),s=n("51414"),d=n("68965"),c=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function h(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:[],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=0;a2&&void 0!==arguments[2]?arguments[2]:[];return t||o.length>0?function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return x({children:e,lineNumber:t,lineNumberStyle:s,largestLineNumber:l,showInlineLineNumbers:a,lineProps:n,className:r,showLineNumbers:i,wrapLongLines:d})}(e,r,o):function(e,t){if(i&&t&&a){var n=g(s,t,l);e.unshift(f(t,n))}return e}(e,r)}for(;v>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:i},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:i},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:i.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:i.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var r=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=i.variable[1].inside,o=0;o]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="clike",t.aliases=[]},17520:function(e){"use strict";function t(e){(function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))})(e)}e.exports=t,t.displayName="css",t.aliases=[]},63610:function(e){"use strict";function t(e){(function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach(function(n){var i=t[n],r=[];!/^\w+$/.test(n)&&r.push(/\w+/.exec(n)[0]),"diff"===n&&r.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+i+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:r,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}}),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})})(e)}e.exports=t,t.displayName="diff",t.aliases=[]},59551:function(e){"use strict";function t(e){e.languages.javascript=e.languages.extend("clike",{"class-name":[e.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript}e.exports=t,t.displayName="javascript",t.aliases=["js"]},7091:function(e){"use strict";function t(e){e.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},e.languages.webmanifest=e.languages.json}e.exports=t,t.displayName="json",t.aliases=["webmanifest"]},17942:function(e){"use strict";function t(e){(function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,i=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,r=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function a(e,t){return RegExp(e=e.replace(//g,function(){return n}).replace(//g,function(){return i}).replace(//g,function(){return r}),t)}r=a(r).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=a(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:a(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:a(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var o=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(o).join(""):""},l=function(t){for(var n=[],i=0;i0&&n[n.length-1].tagName===o(r.content[0].content[1])&&n.pop():"/>"===r.content[r.content.length-1].content||n.push({tagName:o(r.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===r.type&&"{"===r.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===r.type&&"}"===r.content?n[n.length-1].openedBraces--:a=!0),(a||"string"==typeof r)&&n.length>0&&0===n[n.length-1].openedBraces){var s=o(r);i0&&("string"==typeof t[i-1]||"plain-text"===t[i-1].type)&&(s=o(t[i-1])+s,t.splice(i-1,1),i--),t[i]=new e.Token("plain-text",s,null,s)}r.content&&"string"!=typeof r.content&&l(r.content)}};e.hooks.add("after-tokenize",function(e){("jsx"===e.language||"tsx"===e.language)&&l(e.tokens)})})(e)}e.exports=t,t.displayName="jsx",t.aliases=[]},89693:function(e){"use strict";function t(e){e.languages.less=e.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),e.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}e.exports=t,t.displayName="less",t.aliases=[]},19463:function(e){"use strict";function t(e){(function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(//g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var i=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,r=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return i}),a=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+r+a+"(?:"+r+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+r+a+")(?:"+r+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(i),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+r+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+r+"$"),inside:{"table-header":{pattern:RegExp(i),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(t){["url","bold","italic","strike","code-snippet"].forEach(function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])})}),e.hooks.add("after-tokenize",function(e){("markdown"===e.language||"md"===e.language)&&function e(t){if(t&&"string"!=typeof t)for(var n=0,i=t.length;n",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown})(e)}e.exports=t,t.displayName="markdown",t.aliases=["md"]},47264:function(e){"use strict";function t(e){e.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.value.replace(/&/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(t,n){var i={};i["language-"+n]={pattern:/(^$)/i,lookbehind:!0,inside:e.languages[n]},i.cdata=/^$/i;var r={"included-cdata":{pattern://i,inside:i}};r["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var a={};a[t]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:r},e.languages.insertBefore("markup","cdata",a)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}e.exports=t,t.displayName="markup",t.aliases=["html","mathml","svg","xml","ssml","atom","rss"]},31337:function(e){"use strict";function t(e){e.languages.scss=e.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),e.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),e.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),e.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),e.languages.scss.atrule.inside.rest=e.languages.scss}e.exports=t,t.displayName="scss",t.aliases=[]},89455:function(e,t,n){"use strict";var i=n("17942"),r=n("63847");function a(e){e.register(i),e.register(r),function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var n=e.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}(e)}e.exports=a,a.displayName="tsx",a.aliases=[]},63847:function(e){"use strict";function t(e){(function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript})(e)}e.exports=t,t.displayName="typescript",t.aliases=["ts"]},14646:function(e){"use strict";function t(e){(function(e){function t(t,n){e.languages[t]&&e.languages.insertBefore(t,"comment",{"doc-comment":n})}var n=e.languages.markup.tag,i={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:n}};t("csharp",i),t("fsharp",i),t("vbnet",{pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:n}})})(e)}e.exports=t,t.displayName="xmlDoc",t.aliases=[]},70660:function(e){"use strict";function t(e){(function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,i="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",r=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),a=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function o(e,t){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return i}).replace(/<>/g,function(){return e}),t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return i})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return i}).replace(/<>/g,function(){return"(?:"+r+"|"+a+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:o(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:o(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:o(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:o(a),lookbehind:!0,greedy:!0},number:{pattern:o(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml})(e)}e.exports=t,t.displayName="yaml",t.aliases=["yml"]},65241:function(e){e.exports=function(e,t,n,i){var r=n?n.call(i,e,t):void 0;if(void 0!==r)return!!r;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),o=Object.keys(t);if(a.length!==o.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(t),s=0;s(e.Show="1",e.Hide="0",e))(h||{});async function p(e){let{routes:t}=n("99593"),i=(0,a.matchRoutes)(t,e);if(!i)return{siteData:r.default,page:{pagePath:"",pageType:"404",routePath:"/404",lang:r.default.lang||"",frontmatter:{},title:"404",toc:[],version:"",_filepath:"",_relativePath:""}};{var o;let t=i[0].route,n=await t.preload(),l=(0,d.cleanUrl)(i[0].route.filePath),s=r.default.pages.find(t=>{let n=e=>e.replace(/\/$/,"").toLowerCase();return(0,a.isEqualPath)(n(t.routePath),n(e))}),c=((o=n.default.__RSPRESS_PAGE_META)===null||void 0===o?void 0:o[encodeURIComponent(l)])||{},{toc:u=[],title:h="",frontmatter:p={}}=d.MDX_REGEXP.test(t.filePath)?c:n;return{siteData:r.default,page:{pagePath:l,...s,pageType:(null==p?void 0:p.pageType)||"doc",title:h,frontmatter:p,toc:u}}}}function m(e){let{helmetContext:t}=e,{setData:n,data:r}=(0,l.useContext)(a.DataContext),d=r.page.frontmatter||{},{pathname:h,search:m}=(0,a.useLocation)(),f=new URLSearchParams(m),g="globalUIComponents",x=!1===d[g]||"0"===f.get(g);return(0,l.useLayoutEffect)(()=>{(async function e(){try{let e=await p((0,a.normalizeRoutePath)(h));n(e)}catch(e){console.log(e)}})()},[h,n]),(0,i.jsxs)(o.HelmetProvider,{context:t,children:[(0,i.jsx)(u.Layout,{}),!x&&c.default.map((e,t)=>{if(!Array.isArray(e))return s().createElement(e,{key:t});{let[n,i]=e;return s().createElement(n,{key:t,...i})}})]})}},5565:function(e,t,n){"use strict";n.r(t),n.d(t,{renderInBrowser:function(){return u}});var i=n("39980"),r=n("2363"),a=n("56195"),o=n("13328"),l=n("59350"),s=n("60355");let d=o.default.ssg,{default:c}=n("92919");async function u(){let e=document.getElementById("root"),t=async()=>{let e=await (0,s.initPageData)((0,l.normalizeRoutePath)(window.location.pathname));return function(){let[t,n]=(0,r.useState)(e),[a,o]=(0,r.useState)("light");return(0,i.jsx)(l.ThemeContext.Provider,{value:{theme:a,setTheme:o},children:(0,i.jsx)(l.DataContext.Provider,{value:{data:t,setData:n},children:(0,i.jsx)(l.BrowserRouter,{children:(0,i.jsx)(s.App,{})})})})}},o=await t();{let{createRoot:t,hydrateRoot:r}=n("30417");(0,a.isProduction)()&&d?r(e,(0,i.jsx)(o,{})):t(e).render((0,i.jsx)(o,{}))}}u().then(()=>{c.setup()})},20268:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i.default}});var i=n("44394");n.es(i,t)},6772:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return o}});var i=n("59350"),r=n("60366"),a=n("2363");function o(e){let{pathname:t}=(0,i.useLocation)(),{selector:n=".rspress-doc img",options:o={}}=e;return(0,a.useEffect)(()=>{setTimeout(()=>{let e=document.querySelectorAll(n);(0,r.default)(e,o)},100)},[t]),null}n("98349")},74930:function(e,t,n){"use strict";n.r(t),n.d(t,{Link:function(){return u}});var i=n("39980");n("2363");var r=n("59350"),a=n("47841"),o=n.n(a),l=n("99593"),s=n("56195"),d=n("3713"),c=n("26281");function u(e){let{href:t="/",children:n,className:a="",onNavigate:u,...h}=e,p=(0,s.isExternalUrl)(t),m=p?"_blank":"",f=p?"noopener noreferrer":void 0,g=p?t:(0,r.withBase)((0,r.normalizeHrefInRuntime)(t)),x=(0,r.useNavigate)(),{pathname:v}=(0,r.useLocation)(),b=(0,r.isEqualPath)(v,g),y=async e=>{if(0!==e.button||e.currentTarget.target&&"_self"!==e.currentTarget.target||e.metaKey||e.shiftKey||e.altKey||e.ctrlKey)return;e.preventDefault();let t=g.split("#")[1];if(!p&&b&&t){let e=document.getElementById(t);e&&(0,c.scrollToTarget)(e,!0);return}if(!b){let e=(0,r.matchRoutes)(l.routes,(0,r.normalizeRoutePath)(g));if(null==e?void 0:e.length){let t=setTimeout(()=>{o().start()},200);await e[0].route.preload(),clearTimeout(t),o().done()}null==u||u(),x(g,{replace:!1})}};return p?(0,i.jsx)("a",{...h,href:g,target:m,rel:f,className:`${d.link} ${a}`,children:n}):(0,i.jsx)("a",{...h,className:`${d.link} ${a} cursor-pointer`,rel:f,target:m,onClick:y,href:g,children:n})}o().configure({showSpinner:!1})},26281:function(e,t,n){"use strict";n.r(t),n.d(t,{scrollToTarget:function(){return r.scrollToTarget},useLocaleSiteData:function(){return i.useLocaleSiteData},usePathUtils:function(){return a.usePathUtils}});var i=n("71786"),r=n("15559"),a=n("99183"),o=n("15372");n.es(o,t)},15559:function(e,t,n){"use strict";n.r(t),n.d(t,{DEFAULT_NAV_HEIGHT:function(){return i},scrollToTarget:function(){return r}}),n("59186"),n("78394"),n("64667"),n("6868"),n("4331");let i=72;function r(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i,r=parseInt(window.getComputedStyle(e).paddingTop,10),a=window.scrollY+e.getBoundingClientRect().top-n-r;window.scrollTo({left:0,top:Math.round(a),...t?{behavior:"smooth"}:{}})}},5146:function(e,t,n){"use strict";n.r(t),n.d(t,{useEnableNav:function(){return a}});var i=n("2363"),r=n("59350");function a(){let{siteData:{themeConfig:e},page:{frontmatter:t={}}}=(0,r.usePageData)(),n=((null==t?void 0:t.navbar)??!0)&&(null==e?void 0:e.hideNavbar)!=="always",[a,o]=(0,i.useState)(n);return[a,o]}},71786:function(e,t,n){"use strict";n.r(t),n.d(t,{useLocaleSiteData:function(){return r}}),n("81660"),n("71874"),n("64667");var i=n("59350");function r(){var e;let t=(0,i.usePageData)(),{page:{lang:n}}=t,r=(null==t?void 0:(e=t.siteData)===null||void 0===e?void 0:e.themeConfig)??{},a=t.siteData.lang??"",o=null==r?void 0:r.locales;return o&&0!==o.length?{...o.find(e=>e.lang===n),langRoutePrefix:n===a?"/":n}:{nav:r.nav,sidebar:r.sidebar,prevPageText:r.prevPageText,nextPageText:r.nextPageText,sourceCodeText:r.sourceCodeText,searchPlaceholderText:r.searchPlaceholderText}}},168:function(e,t,n){"use strict";n.r(t),n.d(t,{useNavData:function(){return a}}),n("2363");var i=n("59350"),r=n("71786");function a(){let{nav:e}=(0,r.useLocaleSiteData)(),t=(0,i.useVersion)();return Array.isArray(e)?e:[...e[t.length>0?t:"default"]]}},99183:function(e,t,n){"use strict";n.r(t),n.d(t,{usePathUtils:function(){return a}}),n("59186"),n("78394"),n("64667");var i=n("56195"),r=n("59350");function a(){let e=(0,r.useLang)(),t=(0,r.useVersion)(),n=(0,r.usePageData)(),a=n.siteData.lang,o=n.siteData.multiVersion.default;return{normalizeLinkHref:n=>{let l=n;if(!(a||o)||(0,i.isExternalUrl)(l)||l.startsWith("#"))return l;{let n=(l=(0,r.removeBase)(l)).split("/").filter(Boolean),i="",s="",d="";return o&&(t!==o?(i=t,n[0]===t&&n.shift()):n[0]===o&&n.shift()),a&&(e!==a?(s=e,n[0]===e&&n.shift()):n[0]===a&&n.shift()),d=n.join("/"),(0,r.normalizeHrefInRuntime)((0,r.withBase)([i,s,d].filter(Boolean).join("/")))}}}}},56159:function(e,t,n){"use strict";n.r(t),n.d(t,{useRedirect4FirstVisit:function(){return a}}),n("6868"),n("4331"),n("20964");var i=n("59350"),r=n("2363");function a(){let{siteData:e,page:t}=(0,i.usePageData)(),n=e.lang||"",a=Object.values(e.themeConfig.locales||{}).map(e=>e.lang)||[],o=t.lang;(0,r.useEffect)(()=>{if(!n)return;let{pathname:e}=window.location,t=(0,i.removeBase)(e),r="rspress-visited";if(localStorage.getItem(r))return;localStorage.setItem(r,"1");let l=window.navigator.language.split("-")[0];a.includes(l)&&l!==o&&(l===n?window.location.replace(e.replace(`/${o}`,"")):o===n?window.location.replace((0,i.withBase)(`/${l}${t}`)):window.location.replace(e.replace(`/${o}`,`/${l}`)))},[])}},74830:function(e,t,n){"use strict";n.r(t),n.d(t,{useUISwitch:function(){return s}}),n("72104"),n("1676"),n("50882");var i,r=n("2363"),a=n("59350"),o=n("5146"),l=n("71786");function s(){let{page:e,siteData:t}=(0,a.usePageData)(),{frontmatter:n}=e,{themeConfig:i}=t,s=(0,l.useLocaleSiteData)(),d=(0,a.useLocation)(),c=(null==n?void 0:n.overview)??!1,u=()=>((null==n?void 0:n.outline)??(null==i?void 0:i.outline)??("undefined"==typeof window||window.top===window.self))&&!c,[h,p]=(0,o.useEnableNav)(),[m,f]=(0,r.useState)(u()),[g,x]=(0,r.useState)((null==n?void 0:n.footer)??!0),v=s.sidebar||{},b=(null==n?void 0:n.sidebar)!==!1&&Object.keys(v).length>0;return(0,r.useEffect)(()=>{f(u())},[e,t]),(0,r.useEffect)(()=>{let e=new URLSearchParams(d.search),t=document.documentElement.style,n=t.getPropertyValue("--rp-sidebar-width"),i=t.getPropertyValue("--rp-aside-width"),r=e.get("navbar"),a=e.get("sidebar"),o=e.get("outline"),l=e.get("footer");return"0"===r&&p(!1),"0"===a&&document.documentElement.style.setProperty("--rp-sidebar-width","0px"),"0"===o&&document.documentElement.style.setProperty("--rp-aside-width","0px"),"0"===l&&x(!1),()=>{document.documentElement.style.setProperty("--rp-sidebar-width",n),document.documentElement.style.setProperty("--rp-aside-width",i),p(h),x(g)}},[d.search]),{showAside:m,showNavbar:h,showSidebar:b,showDocFooter:g}}(function(e){e.Show="1",e.Hide="0"})(i||(i={}))},15372:function(e,t,n){"use strict";n.r(t),n.d(t,{getLogoUrl:function(){return l},renderHtmlOrText:function(){return s}}),n("2363");var i=n("93371"),r=n.n(i),a=n("49555"),o=n("71082");function l(e,t){return"string"==typeof e?e:"dark"===t?e.dark:e.light}function s(e){return e?(0,o.isNumber)(e)?e:(0,a.default)(e)?r()(e):e:""}},83197:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i.default}});var i=n("20268");n.es(i,t)},49915:function(e,t,n){"use strict";n.r(t);var i=n("6772");t.default=[[i.default,{}]]},16288:function(e,t,n){"use strict";n.r(t);var i=n("68450"),r=n("78036"),a=n("35009"),o=n("69611"),l=n("41143"),s=n("51088"),d=n("89648"),c=n("94744"),u=n("12417"),h=n("61691"),p=n("29027"),m=n("5646");t.default={js:i.default,ts:r.default,jsx:a.default,tsx:a.default,json:o.default,css:l.default,scss:s.default,less:d.default,xml:c.default,diff:u.default,yaml:h.default,md:p.default,mdx:a.default,bash:m.default}},99593:function(e,t,n){"use strict";n.r(t),n.d(t,{routes:function(){return eQ}});var i=n("2363"),r=n.n(i),a=n("22897");let o=(0,a.lazyWithPreload)(()=>n.e("5765").then(n.bind(n,"98501"))),l=(0,a.lazyWithPreload)(()=>n.e("7626").then(n.bind(n,"12784"))),s=(0,a.lazyWithPreload)(()=>n.e("7146").then(n.bind(n,"14530"))),d=(0,a.lazyWithPreload)(()=>n.e("3854").then(n.bind(n,"95791"))),c=(0,a.lazyWithPreload)(()=>n.e("5671").then(n.bind(n,"79470"))),u=(0,a.lazyWithPreload)(()=>n.e("7474").then(n.bind(n,"40152"))),h=(0,a.lazyWithPreload)(()=>n.e("9665").then(n.bind(n,"45318"))),p=(0,a.lazyWithPreload)(()=>n.e("161").then(n.bind(n,"63712"))),m=(0,a.lazyWithPreload)(()=>n.e("5217").then(n.bind(n,"48090"))),f=(0,a.lazyWithPreload)(()=>n.e("8113").then(n.bind(n,"49922"))),g=(0,a.lazyWithPreload)(()=>n.e("9143").then(n.bind(n,"9622"))),x=(0,a.lazyWithPreload)(()=>n.e("845").then(n.bind(n,"55186"))),v=(0,a.lazyWithPreload)(()=>n.e("2230").then(n.bind(n,"27223"))),b=(0,a.lazyWithPreload)(()=>n.e("8957").then(n.bind(n,"68870"))),y=(0,a.lazyWithPreload)(()=>n.e("6734").then(n.bind(n,"90761"))),w=(0,a.lazyWithPreload)(()=>n.e("822").then(n.bind(n,"10039"))),k=(0,a.lazyWithPreload)(()=>n.e("2721").then(n.bind(n,"83652"))),I=(0,a.lazyWithPreload)(()=>n.e("7858").then(n.bind(n,"77903"))),j=(0,a.lazyWithPreload)(()=>n.e("7306").then(n.bind(n,"18727"))),P=(0,a.lazyWithPreload)(()=>n.e("3652").then(n.bind(n,"62542"))),S=(0,a.lazyWithPreload)(()=>n.e("5221").then(n.bind(n,"685"))),E=(0,a.lazyWithPreload)(()=>n.e("666").then(n.bind(n,"24635"))),C=(0,a.lazyWithPreload)(()=>n.e("2961").then(n.bind(n,"53139"))),z=(0,a.lazyWithPreload)(()=>n.e("8293").then(n.bind(n,"45516"))),_=(0,a.lazyWithPreload)(()=>n.e("1968").then(n.bind(n,"68635"))),N=(0,a.lazyWithPreload)(()=>n.e("2215").then(n.bind(n,"99246"))),A=(0,a.lazyWithPreload)(()=>n.e("8274").then(n.bind(n,"27224"))),T=(0,a.lazyWithPreload)(()=>n.e("8764").then(n.bind(n,"63841"))),L=(0,a.lazyWithPreload)(()=>n.e("1626").then(n.bind(n,"15101"))),O=(0,a.lazyWithPreload)(()=>n.e("3169").then(n.bind(n,"41106"))),M=(0,a.lazyWithPreload)(()=>n.e("9513").then(n.bind(n,"14847"))),D=(0,a.lazyWithPreload)(()=>n.e("506").then(n.bind(n,"90512"))),R=(0,a.lazyWithPreload)(()=>n.e("9776").then(n.bind(n,"73703"))),B=(0,a.lazyWithPreload)(()=>n.e("1841").then(n.bind(n,"98517"))),H=(0,a.lazyWithPreload)(()=>n.e("623").then(n.bind(n,"19226"))),$=(0,a.lazyWithPreload)(()=>n.e("4202").then(n.bind(n,"42554"))),F=(0,a.lazyWithPreload)(()=>n.e("7802").then(n.bind(n,"4914"))),W=(0,a.lazyWithPreload)(()=>n.e("3046").then(n.bind(n,"17816"))),q=(0,a.lazyWithPreload)(()=>n.e("6448").then(n.bind(n,"57381"))),U=(0,a.lazyWithPreload)(()=>n.e("2758").then(n.bind(n,"76081"))),V=(0,a.lazyWithPreload)(()=>n.e("1212").then(n.bind(n,"59415"))),G=(0,a.lazyWithPreload)(()=>n.e("8429").then(n.bind(n,"90549"))),Z=(0,a.lazyWithPreload)(()=>n.e("195").then(n.bind(n,"25986"))),Y=(0,a.lazyWithPreload)(()=>n.e("2218").then(n.bind(n,"49196"))),K=(0,a.lazyWithPreload)(()=>n.e("2864").then(n.bind(n,"23948"))),X=(0,a.lazyWithPreload)(()=>n.e("3291").then(n.bind(n,"92118"))),Q=(0,a.lazyWithPreload)(()=>n.e("5520").then(n.bind(n,"44506"))),J=(0,a.lazyWithPreload)(()=>n.e("76").then(n.bind(n,"74986"))),ee=(0,a.lazyWithPreload)(()=>n.e("5775").then(n.bind(n,"41628"))),et=(0,a.lazyWithPreload)(()=>n.e("9576").then(n.bind(n,"21474"))),en=(0,a.lazyWithPreload)(()=>n.e("3405").then(n.bind(n,"93463"))),ei=(0,a.lazyWithPreload)(()=>n.e("6402").then(n.bind(n,"99413"))),er=(0,a.lazyWithPreload)(()=>n.e("1738").then(n.bind(n,"48644"))),ea=(0,a.lazyWithPreload)(()=>n.e("4707").then(n.bind(n,"61667"))),eo=(0,a.lazyWithPreload)(()=>n.e("4142").then(n.bind(n,"99497"))),el=(0,a.lazyWithPreload)(()=>n.e("5946").then(n.bind(n,"9387"))),es=(0,a.lazyWithPreload)(()=>n.e("2847").then(n.bind(n,"94095"))),ed=(0,a.lazyWithPreload)(()=>n.e("7991").then(n.bind(n,"17540"))),ec=(0,a.lazyWithPreload)(()=>n.e("2542").then(n.bind(n,"75014"))),eu=(0,a.lazyWithPreload)(()=>n.e("2059").then(n.bind(n,"3058"))),eh=(0,a.lazyWithPreload)(()=>n.e("5665").then(n.bind(n,"78658"))),ep=(0,a.lazyWithPreload)(()=>n.e("9788").then(n.bind(n,"47487"))),em=(0,a.lazyWithPreload)(()=>n.e("6005").then(n.bind(n,"98221"))),ef=(0,a.lazyWithPreload)(()=>n.e("4554").then(n.bind(n,"16398"))),eg=(0,a.lazyWithPreload)(()=>n.e("8287").then(n.bind(n,"75502"))),ex=(0,a.lazyWithPreload)(()=>n.e("1681").then(n.bind(n,"53671"))),ev=(0,a.lazyWithPreload)(()=>n.e("2520").then(n.bind(n,"83348"))),eb=(0,a.lazyWithPreload)(()=>n.e("6777").then(n.bind(n,"11519"))),ey=(0,a.lazyWithPreload)(()=>n.e("6683").then(n.bind(n,"33115"))),ew=(0,a.lazyWithPreload)(()=>n.e("4438").then(n.bind(n,"69470"))),ek=(0,a.lazyWithPreload)(()=>n.e("5337").then(n.bind(n,"82469"))),eI=(0,a.lazyWithPreload)(()=>n.e("5023").then(n.bind(n,"97306"))),ej=(0,a.lazyWithPreload)(()=>n.e("6071").then(n.bind(n,"53212"))),eP=(0,a.lazyWithPreload)(()=>n.e("6379").then(n.bind(n,"2244"))),eS=(0,a.lazyWithPreload)(()=>n.e("7113").then(n.bind(n,"85010"))),eE=(0,a.lazyWithPreload)(()=>n.e("8323").then(n.bind(n,"60458"))),eC=(0,a.lazyWithPreload)(()=>n.e("2391").then(n.bind(n,"19896"))),ez=(0,a.lazyWithPreload)(()=>n.e("1836").then(n.bind(n,"76976"))),e_=(0,a.lazyWithPreload)(()=>n.e("4858").then(n.bind(n,"65386"))),eN=(0,a.lazyWithPreload)(()=>n.e("7021").then(n.bind(n,"60938"))),eA=(0,a.lazyWithPreload)(()=>n.e("6544").then(n.bind(n,"19566"))),eT=(0,a.lazyWithPreload)(()=>n.e("8259").then(n.bind(n,"48848"))),eL=(0,a.lazyWithPreload)(()=>n.e("8445").then(n.bind(n,"96380"))),eO=(0,a.lazyWithPreload)(()=>n.e("6797").then(n.bind(n,"64738"))),eM=(0,a.lazyWithPreload)(()=>n.e("137").then(n.bind(n,"72346"))),eD=(0,a.lazyWithPreload)(()=>n.e("9587").then(n.bind(n,"6131"))),eR=(0,a.lazyWithPreload)(()=>n.e("3171").then(n.bind(n,"78340"))),eB=(0,a.lazyWithPreload)(()=>n.e("4153").then(n.bind(n,"88248"))),eH=(0,a.lazyWithPreload)(()=>n.e("8626").then(n.bind(n,"97948"))),e$=(0,a.lazyWithPreload)(()=>n.e("8234").then(n.bind(n,"98902"))),eF=(0,a.lazyWithPreload)(()=>n.e("4413").then(n.bind(n,"33322"))),eW=(0,a.lazyWithPreload)(()=>n.e("426").then(n.bind(n,"58716"))),eq=(0,a.lazyWithPreload)(()=>n.e("5442").then(n.bind(n,"77288"))),eU=(0,a.lazyWithPreload)(()=>n.e("9190").then(n.bind(n,"47865"))),eV=(0,a.lazyWithPreload)(()=>n.e("1488").then(n.bind(n,"39742"))),eG=(0,a.lazyWithPreload)(()=>n.e("8834").then(n.bind(n,"41761"))),eZ=(0,a.lazyWithPreload)(()=>n.e("3325").then(n.bind(n,"45054"))),eY=(0,a.lazyWithPreload)(()=>n.e("881").then(n.bind(n,"73911"))),eK=(0,a.lazyWithPreload)(()=>n.e("3852").then(n.bind(n,"20655"))),eX=(0,a.lazyWithPreload)(()=>n.e("4445").then(n.bind(n,"67204"))),eQ=[{path:"/module-tools/en/api/config/build-config",element:r().createElement(o),filePath:"en/api/config/build-config.mdx",preload:async()=>(await o.preload(),n.e("5765").then(n.bind(n,"98501"))),lang:"en",version:""},{path:"/module-tools/en/api/config/build-preset",element:r().createElement(l),filePath:"en/api/config/build-preset.mdx",preload:async()=>(await l.preload(),n.e("7626").then(n.bind(n,"12784"))),lang:"en",version:""},{path:"/module-tools/en/api/config/dev",element:r().createElement(s),filePath:"en/api/config/dev.md",preload:async()=>(await s.preload(),n.e("7146").then(n.bind(n,"14530"))),lang:"en",version:""},{path:"/module-tools/en/api/config/plugins",element:r().createElement(d),filePath:"en/api/config/plugins.md",preload:async()=>(await d.preload(),n.e("3854").then(n.bind(n,"95791"))),lang:"en",version:""},{path:"/module-tools/en/api/config/testing",element:r().createElement(c),filePath:"en/api/config/testing.md",preload:async()=>(await c.preload(),n.e("5671").then(n.bind(n,"79470"))),lang:"en",version:""},{path:"/module-tools/en/api/",element:r().createElement(u),filePath:"en/api/index.md",preload:async()=>(await u.preload(),n.e("7474").then(n.bind(n,"40152"))),lang:"en",version:""},{path:"/module-tools/en/api/plugin-api/plugin-hooks",element:r().createElement(h),filePath:"en/api/plugin-api/plugin-hooks.md",preload:async()=>(await h.preload(),n.e("9665").then(n.bind(n,"45318"))),lang:"en",version:""},{path:"/module-tools/en/components/faq-build-exception",element:r().createElement(p),filePath:"en/components/faq-build-exception.mdx",preload:async()=>(await p.preload(),n.e("161").then(n.bind(n,"63712"))),lang:"en",version:""},{path:"/module-tools/en/components/faq-build-other",element:r().createElement(m),filePath:"en/components/faq-build-other.mdx",preload:async()=>(await m.preload(),n.e("5217").then(n.bind(n,"48090"))),lang:"en",version:""},{path:"/module-tools/en/components/faq-build-product",element:r().createElement(f),filePath:"en/components/faq-build-product.mdx",preload:async()=>(await f.preload(),n.e("8113").then(n.bind(n,"49922"))),lang:"en",version:""},{path:"/module-tools/en/components/faq-storybook",element:r().createElement(g),filePath:"en/components/faq-storybook.mdx",preload:async()=>(await g.preload(),n.e("9143").then(n.bind(n,"9622"))),lang:"en",version:""},{path:"/module-tools/en/components/faq-test",element:r().createElement(x),filePath:"en/components/faq-test.mdx",preload:async()=>(await x.preload(),n.e("845").then(n.bind(n,"55186"))),lang:"en",version:""},{path:"/module-tools/en/components/publish-emo",element:r().createElement(v),filePath:"en/components/publish-emo.mdx",preload:async()=>(await v.preload(),n.e("2230").then(n.bind(n,"27223"))),lang:"en",version:""},{path:"/module-tools/en/components/register-esbuild-plugin",element:r().createElement(b),filePath:"en/components/register-esbuild-plugin.mdx",preload:async()=>(await b.preload(),n.e("8957").then(n.bind(n,"68870"))),lang:"en",version:""},{path:"/module-tools/en/components/release-module-doc",element:r().createElement(y),filePath:"en/components/release-module-doc.mdx",preload:async()=>(await y.preload(),n.e("6734").then(n.bind(n,"90761"))),lang:"en",version:""},{path:"/module-tools/en/guide/advance/asset",element:r().createElement(w),filePath:"en/guide/advance/asset.mdx",preload:async()=>(await w.preload(),n.e("822").then(n.bind(n,"10039"))),lang:"en",version:""},{path:"/module-tools/en/guide/advance/build-umd",element:r().createElement(k),filePath:"en/guide/advance/build-umd.mdx",preload:async()=>(await k.preload(),n.e("2721").then(n.bind(n,"83652"))),lang:"en",version:""},{path:"/module-tools/en/guide/advance/copy",element:r().createElement(I),filePath:"en/guide/advance/copy.md",preload:async()=>(await I.preload(),n.e("7858").then(n.bind(n,"77903"))),lang:"en",version:""},{path:"/module-tools/en/guide/advance/external-dependency",element:r().createElement(j),filePath:"en/guide/advance/external-dependency.mdx",preload:async()=>(await j.preload(),n.e("7306").then(n.bind(n,"18727"))),lang:"en",version:""},{path:"/module-tools/en/guide/advance/in-depth-about-build",element:r().createElement(P),filePath:"en/guide/advance/in-depth-about-build.md",preload:async()=>(await P.preload(),n.e("3652").then(n.bind(n,"62542"))),lang:"en",version:""},{path:"/module-tools/en/guide/advance/in-depth-about-dev-command",element:r().createElement(S),filePath:"en/guide/advance/in-depth-about-dev-command.md",preload:async()=>(await S.preload(),n.e("5221").then(n.bind(n,"685"))),lang:"en",version:""},{path:"/module-tools/en/guide/basic/before-getting-started",element:r().createElement(E),filePath:"en/guide/basic/before-getting-started.md",preload:async()=>(await E.preload(),n.e("666").then(n.bind(n,"24635"))),lang:"en",version:""},{path:"/module-tools/en/guide/basic/command-preview",element:r().createElement(C),filePath:"en/guide/basic/command-preview.md",preload:async()=>(await C.preload(),n.e("2961").then(n.bind(n,"53139"))),lang:"en",version:""},{path:"/module-tools/en/guide/basic/modify-output-product",element:r().createElement(z),filePath:"en/guide/basic/modify-output-product.md",preload:async()=>(await z.preload(),n.e("8293").then(n.bind(n,"45516"))),lang:"en",version:""},{path:"/module-tools/en/guide/basic/publish-your-project",element:r().createElement(_),filePath:"en/guide/basic/publish-your-project.mdx",preload:async()=>(await _.preload(),n.e("1968").then(n.bind(n,"68635"))),lang:"en",version:""},{path:"/module-tools/en/guide/basic/test-your-project",element:r().createElement(N),filePath:"en/guide/basic/test-your-project.mdx",preload:async()=>(await N.preload(),n.e("2215").then(n.bind(n,"99246"))),lang:"en",version:""},{path:"/module-tools/en/guide/basic/use-micro-generator",element:r().createElement(A),filePath:"en/guide/basic/use-micro-generator.md",preload:async()=>(await A.preload(),n.e("8274").then(n.bind(n,"27224"))),lang:"en",version:""},{path:"/module-tools/en/guide/basic/use-module-doc",element:r().createElement(T),filePath:"en/guide/basic/use-module-doc.mdx",preload:async()=>(await T.preload(),n.e("8764").then(n.bind(n,"63841"))),lang:"en",version:""},{path:"/module-tools/en/guide/basic/using-storybook",element:r().createElement(L),filePath:"en/guide/basic/using-storybook.mdx",preload:async()=>(await L.preload(),n.e("1626").then(n.bind(n,"15101"))),lang:"en",version:""},{path:"/module-tools/en/guide/best-practices/components",element:r().createElement(O),filePath:"en/guide/best-practices/components.mdx",preload:async()=>(await O.preload(),n.e("3169").then(n.bind(n,"41106"))),lang:"en",version:""},{path:"/module-tools/en/guide/best-practices/use-tailwindcss",element:r().createElement(M),filePath:"en/guide/best-practices/use-tailwindcss.mdx",preload:async()=>(await M.preload(),n.e("9513").then(n.bind(n,"14847"))),lang:"en",version:""},{path:"/module-tools/en/guide/faq/basic",element:r().createElement(D),filePath:"en/guide/faq/basic.mdx",preload:async()=>(await D.preload(),n.e("506").then(n.bind(n,"90512"))),lang:"en",version:""},{path:"/module-tools/en/guide/faq/build",element:r().createElement(R),filePath:"en/guide/faq/build.mdx",preload:async()=>(await R.preload(),n.e("9776").then(n.bind(n,"73703"))),lang:"en",version:""},{path:"/module-tools/en/guide/faq/",element:r().createElement(B),filePath:"en/guide/faq/index.md",preload:async()=>(await B.preload(),n.e("1841").then(n.bind(n,"98517"))),lang:"en",version:""},{path:"/module-tools/en/guide/faq/storybook",element:r().createElement(H),filePath:"en/guide/faq/storybook.mdx",preload:async()=>(await H.preload(),n.e("623").then(n.bind(n,"19226"))),lang:"en",version:""},{path:"/module-tools/en/guide/faq/test",element:r().createElement($),filePath:"en/guide/faq/test.mdx",preload:async()=>(await $.preload(),n.e("4202").then(n.bind(n,"42554"))),lang:"en",version:""},{path:"/module-tools/en/guide/intro/getting-started",element:r().createElement(F),filePath:"en/guide/intro/getting-started.mdx",preload:async()=>(await F.preload(),n.e("7802").then(n.bind(n,"4914"))),lang:"en",version:""},{path:"/module-tools/en/guide/intro/welcome",element:r().createElement(W),filePath:"en/guide/intro/welcome.md",preload:async()=>(await W.preload(),n.e("3046").then(n.bind(n,"17816"))),lang:"en",version:""},{path:"/module-tools/en/guide/intro/why-module-engineering-solution",element:r().createElement(q),filePath:"en/guide/intro/why-module-engineering-solution.md",preload:async()=>(await q.preload(),n.e("6448").then(n.bind(n,"57381"))),lang:"en",version:""},{path:"/module-tools/en/",element:r().createElement(U),filePath:"en/index.md",preload:async()=>(await U.preload(),n.e("2758").then(n.bind(n,"76081"))),lang:"en",version:""},{path:"/module-tools/en/plugins/guide/getting-started",element:r().createElement(V),filePath:"en/plugins/guide/getting-started.mdx",preload:async()=>(await V.preload(),n.e("1212").then(n.bind(n,"59415"))),lang:"en",version:""},{path:"/module-tools/en/plugins/guide/plugin-object",element:r().createElement(G),filePath:"en/plugins/guide/plugin-object.mdx",preload:async()=>(await G.preload(),n.e("8429").then(n.bind(n,"90549"))),lang:"en",version:""},{path:"/module-tools/en/plugins/guide/setup-function",element:r().createElement(Z),filePath:"en/plugins/guide/setup-function.mdx",preload:async()=>(await Z.preload(),n.e("195").then(n.bind(n,"25986"))),lang:"en",version:""},{path:"/module-tools/en/plugins/official-list/overview",element:r().createElement(Y),filePath:"en/plugins/official-list/overview.md",preload:async()=>(await Y.preload(),n.e("2218").then(n.bind(n,"49196"))),lang:"en",version:""},{path:"/module-tools/en/plugins/official-list/plugin-babel",element:r().createElement(K),filePath:"en/plugins/official-list/plugin-babel.mdx",preload:async()=>(await K.preload(),n.e("2864").then(n.bind(n,"23948"))),lang:"en",version:""},{path:"/module-tools/en/plugins/official-list/plugin-banner",element:r().createElement(X),filePath:"en/plugins/official-list/plugin-banner.mdx",preload:async()=>(await X.preload(),n.e("3291").then(n.bind(n,"92118"))),lang:"en",version:""},{path:"/module-tools/en/plugins/official-list/plugin-import",element:r().createElement(Q),filePath:"en/plugins/official-list/plugin-import.mdx",preload:async()=>(await Q.preload(),n.e("5520").then(n.bind(n,"44506"))),lang:"en",version:""},{path:"/module-tools/en/plugins/official-list/plugin-node-polyfill",element:r().createElement(J),filePath:"en/plugins/official-list/plugin-node-polyfill.mdx",preload:async()=>(await J.preload(),n.e("76").then(n.bind(n,"74986"))),lang:"en",version:""},{path:"/module-tools/en/plugins/official-list/plugin-polyfill",element:r().createElement(ee),filePath:"en/plugins/official-list/plugin-polyfill.mdx",preload:async()=>(await ee.preload(),n.e("5775").then(n.bind(n,"41628"))),lang:"en",version:""},{path:"/module-tools/en/plugins/official-list/plugin-vue",element:r().createElement(et),filePath:"en/plugins/official-list/plugin-vue.mdx",preload:async()=>(await et.preload(),n.e("9576").then(n.bind(n,"21474"))),lang:"en",version:""},{path:"/module-tools/api/config/build-config",element:r().createElement(en),filePath:"zh/api/config/build-config.mdx",preload:async()=>(await en.preload(),n.e("3405").then(n.bind(n,"93463"))),lang:"zh",version:""},{path:"/module-tools/api/config/build-preset",element:r().createElement(ei),filePath:"zh/api/config/build-preset.mdx",preload:async()=>(await ei.preload(),n.e("6402").then(n.bind(n,"99413"))),lang:"zh",version:""},{path:"/module-tools/api/config/dev",element:r().createElement(er),filePath:"zh/api/config/dev.md",preload:async()=>(await er.preload(),n.e("1738").then(n.bind(n,"48644"))),lang:"zh",version:""},{path:"/module-tools/api/config/plugins",element:r().createElement(ea),filePath:"zh/api/config/plugins.md",preload:async()=>(await ea.preload(),n.e("4707").then(n.bind(n,"61667"))),lang:"zh",version:""},{path:"/module-tools/api/config/testing",element:r().createElement(eo),filePath:"zh/api/config/testing.md",preload:async()=>(await eo.preload(),n.e("4142").then(n.bind(n,"99497"))),lang:"zh",version:""},{path:"/module-tools/api/",element:r().createElement(el),filePath:"zh/api/index.md",preload:async()=>(await el.preload(),n.e("5946").then(n.bind(n,"9387"))),lang:"zh",version:""},{path:"/module-tools/api/plugin-api/plugin-hooks",element:r().createElement(es),filePath:"zh/api/plugin-api/plugin-hooks.md",preload:async()=>(await es.preload(),n.e("2847").then(n.bind(n,"94095"))),lang:"zh",version:""},{path:"/module-tools/components/faq-build-exception",element:r().createElement(ed),filePath:"zh/components/faq-build-exception.mdx",preload:async()=>(await ed.preload(),n.e("7991").then(n.bind(n,"17540"))),lang:"zh",version:""},{path:"/module-tools/components/faq-build-other",element:r().createElement(ec),filePath:"zh/components/faq-build-other.mdx",preload:async()=>(await ec.preload(),n.e("2542").then(n.bind(n,"75014"))),lang:"zh",version:""},{path:"/module-tools/components/faq-build-product",element:r().createElement(eu),filePath:"zh/components/faq-build-product.mdx",preload:async()=>(await eu.preload(),n.e("2059").then(n.bind(n,"3058"))),lang:"zh",version:""},{path:"/module-tools/components/faq-storybook",element:r().createElement(eh),filePath:"zh/components/faq-storybook.mdx",preload:async()=>(await eh.preload(),n.e("5665").then(n.bind(n,"78658"))),lang:"zh",version:""},{path:"/module-tools/components/faq-test",element:r().createElement(ep),filePath:"zh/components/faq-test.mdx",preload:async()=>(await ep.preload(),n.e("9788").then(n.bind(n,"47487"))),lang:"zh",version:""},{path:"/module-tools/components/publish-emo",element:r().createElement(em),filePath:"zh/components/publish-emo.mdx",preload:async()=>(await em.preload(),n.e("6005").then(n.bind(n,"98221"))),lang:"zh",version:""},{path:"/module-tools/components/register-esbuild-plugin",element:r().createElement(ef),filePath:"zh/components/register-esbuild-plugin.mdx",preload:async()=>(await ef.preload(),n.e("4554").then(n.bind(n,"16398"))),lang:"zh",version:""},{path:"/module-tools/components/release-module-doc",element:r().createElement(eg),filePath:"zh/components/release-module-doc.mdx",preload:async()=>(await eg.preload(),n.e("8287").then(n.bind(n,"75502"))),lang:"zh",version:""},{path:"/module-tools/guide/advance/asset",element:r().createElement(ex),filePath:"zh/guide/advance/asset.mdx",preload:async()=>(await ex.preload(),n.e("1681").then(n.bind(n,"53671"))),lang:"zh",version:""},{path:"/module-tools/guide/advance/build-umd",element:r().createElement(ev),filePath:"zh/guide/advance/build-umd.mdx",preload:async()=>(await ev.preload(),n.e("2520").then(n.bind(n,"83348"))),lang:"zh",version:""},{path:"/module-tools/guide/advance/copy",element:r().createElement(eb),filePath:"zh/guide/advance/copy.md",preload:async()=>(await eb.preload(),n.e("6777").then(n.bind(n,"11519"))),lang:"zh",version:""},{path:"/module-tools/guide/advance/external-dependency",element:r().createElement(ey),filePath:"zh/guide/advance/external-dependency.mdx",preload:async()=>(await ey.preload(),n.e("6683").then(n.bind(n,"33115"))),lang:"zh",version:""},{path:"/module-tools/guide/advance/in-depth-about-build",element:r().createElement(ew),filePath:"zh/guide/advance/in-depth-about-build.md",preload:async()=>(await ew.preload(),n.e("4438").then(n.bind(n,"69470"))),lang:"zh",version:""},{path:"/module-tools/guide/advance/in-depth-about-dev-command",element:r().createElement(ek),filePath:"zh/guide/advance/in-depth-about-dev-command.md",preload:async()=>(await ek.preload(),n.e("5337").then(n.bind(n,"82469"))),lang:"zh",version:""},{path:"/module-tools/guide/basic/before-getting-started",element:r().createElement(eI),filePath:"zh/guide/basic/before-getting-started.md",preload:async()=>(await eI.preload(),n.e("5023").then(n.bind(n,"97306"))),lang:"zh",version:""},{path:"/module-tools/guide/basic/command-preview",element:r().createElement(ej),filePath:"zh/guide/basic/command-preview.md",preload:async()=>(await ej.preload(),n.e("6071").then(n.bind(n,"53212"))),lang:"zh",version:""},{path:"/module-tools/guide/basic/modify-output-product",element:r().createElement(eP),filePath:"zh/guide/basic/modify-output-product.md",preload:async()=>(await eP.preload(),n.e("6379").then(n.bind(n,"2244"))),lang:"zh",version:""},{path:"/module-tools/guide/basic/publish-your-project",element:r().createElement(eS),filePath:"zh/guide/basic/publish-your-project.mdx",preload:async()=>(await eS.preload(),n.e("7113").then(n.bind(n,"85010"))),lang:"zh",version:""},{path:"/module-tools/guide/basic/test-your-project",element:r().createElement(eE),filePath:"zh/guide/basic/test-your-project.mdx",preload:async()=>(await eE.preload(),n.e("8323").then(n.bind(n,"60458"))),lang:"zh",version:""},{path:"/module-tools/guide/basic/use-micro-generator",element:r().createElement(eC),filePath:"zh/guide/basic/use-micro-generator.md",preload:async()=>(await eC.preload(),n.e("2391").then(n.bind(n,"19896"))),lang:"zh",version:""},{path:"/module-tools/guide/basic/use-module-doc",element:r().createElement(ez),filePath:"zh/guide/basic/use-module-doc.mdx",preload:async()=>(await ez.preload(),n.e("1836").then(n.bind(n,"76976"))),lang:"zh",version:""},{path:"/module-tools/guide/basic/using-storybook",element:r().createElement(e_),filePath:"zh/guide/basic/using-storybook.mdx",preload:async()=>(await e_.preload(),n.e("4858").then(n.bind(n,"65386"))),lang:"zh",version:""},{path:"/module-tools/guide/best-practices/components",element:r().createElement(eN),filePath:"zh/guide/best-practices/components.mdx",preload:async()=>(await eN.preload(),n.e("7021").then(n.bind(n,"60938"))),lang:"zh",version:""},{path:"/module-tools/guide/best-practices/use-tailwindcss",element:r().createElement(eA),filePath:"zh/guide/best-practices/use-tailwindcss.mdx",preload:async()=>(await eA.preload(),n.e("6544").then(n.bind(n,"19566"))),lang:"zh",version:""},{path:"/module-tools/guide/faq/basic",element:r().createElement(eT),filePath:"zh/guide/faq/basic.mdx",preload:async()=>(await eT.preload(),n.e("8259").then(n.bind(n,"48848"))),lang:"zh",version:""},{path:"/module-tools/guide/faq/build",element:r().createElement(eL),filePath:"zh/guide/faq/build.mdx",preload:async()=>(await eL.preload(),n.e("8445").then(n.bind(n,"96380"))),lang:"zh",version:""},{path:"/module-tools/guide/faq/",element:r().createElement(eO),filePath:"zh/guide/faq/index.md",preload:async()=>(await eO.preload(),n.e("6797").then(n.bind(n,"64738"))),lang:"zh",version:""},{path:"/module-tools/guide/faq/storybook",element:r().createElement(eM),filePath:"zh/guide/faq/storybook.mdx",preload:async()=>(await eM.preload(),n.e("137").then(n.bind(n,"72346"))),lang:"zh",version:""},{path:"/module-tools/guide/faq/test",element:r().createElement(eD),filePath:"zh/guide/faq/test.mdx",preload:async()=>(await eD.preload(),n.e("9587").then(n.bind(n,"6131"))),lang:"zh",version:""},{path:"/module-tools/guide/intro/getting-started",element:r().createElement(eR),filePath:"zh/guide/intro/getting-started.mdx",preload:async()=>(await eR.preload(),n.e("3171").then(n.bind(n,"78340"))),lang:"zh",version:""},{path:"/module-tools/guide/intro/welcome",element:r().createElement(eB),filePath:"zh/guide/intro/welcome.md",preload:async()=>(await eB.preload(),n.e("4153").then(n.bind(n,"88248"))),lang:"zh",version:""},{path:"/module-tools/guide/intro/why-module-engineering-solution",element:r().createElement(eH),filePath:"zh/guide/intro/why-module-engineering-solution.md",preload:async()=>(await eH.preload(),n.e("8626").then(n.bind(n,"97948"))),lang:"zh",version:""},{path:"/module-tools/",element:r().createElement(e$),filePath:"zh/index.md",preload:async()=>(await e$.preload(),n.e("8234").then(n.bind(n,"98902"))),lang:"zh",version:""},{path:"/module-tools/plugins/guide/getting-started",element:r().createElement(eF),filePath:"zh/plugins/guide/getting-started.mdx",preload:async()=>(await eF.preload(),n.e("4413").then(n.bind(n,"33322"))),lang:"zh",version:""},{path:"/module-tools/plugins/guide/plugin-object",element:r().createElement(eW),filePath:"zh/plugins/guide/plugin-object.mdx",preload:async()=>(await eW.preload(),n.e("426").then(n.bind(n,"58716"))),lang:"zh",version:""},{path:"/module-tools/plugins/guide/setup-function",element:r().createElement(eq),filePath:"zh/plugins/guide/setup-function.mdx",preload:async()=>(await eq.preload(),n.e("5442").then(n.bind(n,"77288"))),lang:"zh",version:""},{path:"/module-tools/plugins/official-list/overview",element:r().createElement(eU),filePath:"zh/plugins/official-list/overview.md",preload:async()=>(await eU.preload(),n.e("9190").then(n.bind(n,"47865"))),lang:"zh",version:""},{path:"/module-tools/plugins/official-list/plugin-babel",element:r().createElement(eV),filePath:"zh/plugins/official-list/plugin-babel.mdx",preload:async()=>(await eV.preload(),n.e("1488").then(n.bind(n,"39742"))),lang:"zh",version:""},{path:"/module-tools/plugins/official-list/plugin-banner",element:r().createElement(eG),filePath:"zh/plugins/official-list/plugin-banner.mdx",preload:async()=>(await eG.preload(),n.e("8834").then(n.bind(n,"41761"))),lang:"zh",version:""},{path:"/module-tools/plugins/official-list/plugin-import",element:r().createElement(eZ),filePath:"zh/plugins/official-list/plugin-import.mdx",preload:async()=>(await eZ.preload(),n.e("3325").then(n.bind(n,"45054"))),lang:"zh",version:""},{path:"/module-tools/plugins/official-list/plugin-node-polyfill",element:r().createElement(eY),filePath:"zh/plugins/official-list/plugin-node-polyfill.mdx",preload:async()=>(await eY.preload(),n.e("881").then(n.bind(n,"73911"))),lang:"zh",version:""},{path:"/module-tools/plugins/official-list/plugin-polyfill",element:r().createElement(eK),filePath:"zh/plugins/official-list/plugin-polyfill.mdx",preload:async()=>(await eK.preload(),n.e("3852").then(n.bind(n,"20655"))),lang:"zh",version:""},{path:"/module-tools/plugins/official-list/plugin-vue",element:r().createElement(eX),filePath:"zh/plugins/official-list/plugin-vue.mdx",preload:async()=>(await eX.preload(),n.e("4445").then(n.bind(n,"67204"))),lang:"zh",version:""}]},51801:function(e,t,n){"use strict";n.r(t),n.d(t,{onSearch:function(){return i}});let i=()=>{}},25756:function(e,t,n){"use strict";n.r(t),t.default={en:"a1c89103",zh:"1cdbb15b"}},13328:function(e,t,n){"use strict";n.r(t),t.default={title:"Modern.js Module",description:"",icon:"https://lf3-static.bytednsdoc.com/obj/eden-cn/zq-uylkvT/ljhwZthlaukjlkulzlp/logo-1x-0104.png",themeConfig:{footer:{message:"Copyright \xa9 2023 ByteDance."},socialLinks:[{icon:"github",mode:"link",content:"https://github.com/web-infra-dev/modern.js/tree/main/packages/solutions/module-tools"}],locales:[{lang:"zh",label:"\u7B80\u4F53\u4E2D\u6587",nav:[{text:"\u6307\u5357",link:"/guide/intro/welcome",activeMatch:"^/guide/"},{text:"API",link:"/api/",activeMatch:"^/api/"},{text:"\u63D2\u4EF6",link:"/plugins/guide/getting-started",activeMatch:"^/plugins/"},{text:"v2.47.1",items:[{text:"\u66F4\u65B0\u65E5\u5FD7",link:"https://github.com/web-infra-dev/modern.js/tree/main/packages/solutions/module-tools/CHANGELOG.md"},{text:"\u8D21\u732E\u6307\u5357",link:"https://modernjs.dev/en/community/contributing-guide.html"}]}],title:"Modern.js Module",outlineTitle:"\u76EE\u5F55",prevPageText:"\u4E0A\u4E00\u9875",nextPageText:"\u4E0B\u4E00\u9875",description:"\u6A21\u5757\u5DE5\u7A0B\u89E3\u51B3\u65B9\u6848",sidebar:{"/api/":[{text:"\u6982\u89C8",link:"/module-tools/api/"},{text:"\u914D\u7F6E\u9879",link:"",items:[{text:"buildConfig",link:"/module-tools/api/config/build-config"},{text:"buildPreset",link:"/module-tools/api/config/build-preset"},{text:"dev",link:"/module-tools/api/config/dev"},{text:"plugins",link:"/module-tools/api/config/plugins"},{text:"testing",link:"/module-tools/api/config/testing"}],collapsed:!1,collapsible:!0},{text:"Plugin API",link:"",items:[{text:"Plugin Hooks",link:"/module-tools/api/plugin-api/plugin-hooks"}],collapsed:!1,collapsible:!0}],"/guide/":[{text:"\u4ECB\u7ECD",link:"",items:[{text:"\u6B22\u8FCE\u4F7F\u7528",link:"/module-tools/guide/intro/welcome"},{text:"\u4E3A\u4EC0\u4E48\u9700\u8981 Modern.js Module",link:"/module-tools/guide/intro/why-module-engineering-solution"},{text:"\u5FEB\u901F\u5F00\u59CB",link:"/module-tools/guide/intro/getting-started"}],collapsed:!1,collapsible:!0},{text:"\u57FA\u7840\u4F7F\u7528",link:"",items:[{text:"\u5F00\u59CB\u4E4B\u524D",link:"/module-tools/guide/basic/before-getting-started"},{text:"CLI \u547D\u4EE4",link:"/module-tools/guide/basic/command-preview"},{text:"\u4FEE\u6539\u8F93\u51FA\u4EA7\u7269",link:"/module-tools/guide/basic/modify-output-product"},{text:"\u4F7F\u7528\u5FAE\u751F\u6210\u5668",link:"/module-tools/guide/basic/use-micro-generator"},{text:"\u5F00\u53D1\u6A21\u5757\u6587\u6863",link:"/module-tools/guide/basic/use-module-doc"},{text:"\u4F7F\u7528 Storybook",link:"/module-tools/guide/basic/using-storybook"},{text:"\u6D4B\u8BD5\u9879\u76EE",link:"/module-tools/guide/basic/test-your-project"},{text:"\u7248\u672C\u7BA1\u7406\u4E0E\u53D1\u5E03",link:"/module-tools/guide/basic/publish-your-project"}],collapsed:!1,collapsible:!0},{text:"\u8FDB\u9636\u6307\u5357",link:"",items:[{text:"\u6DF1\u5165\u7406\u89E3\u6784\u5EFA",link:"/module-tools/guide/advance/in-depth-about-build"},{text:"\u6DF1\u5165\u7406\u89E3 dev \u547D\u4EE4",link:"/module-tools/guide/advance/in-depth-about-dev-command"},{text:"\u4F7F\u7528 Copy \u5DE5\u5177",link:"/module-tools/guide/advance/copy"},{text:"\u5904\u7406\u4E09\u65B9\u4F9D\u8D56",link:"/module-tools/guide/advance/external-dependency"},{text:"\u6784\u5EFA umd \u4EA7\u7269",link:"/module-tools/guide/advance/build-umd"},{text:"\u5904\u7406\u9759\u6001\u8D44\u6E90",link:"/module-tools/guide/advance/asset"}],collapsed:!1,collapsible:!0},{text:"\u6700\u4F73\u5B9E\u8DF5",link:"",items:[{text:"\u5F00\u53D1\u7EC4\u4EF6",link:"/module-tools/guide/best-practices/components"},{text:"\u4F7F\u7528 Tailwind CSS",link:"/module-tools/guide/best-practices/use-tailwindcss"}],collapsed:!1,collapsible:!0},{text:"\u5E38\u89C1\u95EE\u9898",link:"/module-tools/guide/faq/",items:[{text:"\u901A\u7528\u7C7B\u95EE\u9898",link:"/module-tools/guide/faq/basic"},{text:"\u6784\u5EFA\u76F8\u5173\u95EE\u9898",link:"/module-tools/guide/faq/build"},{text:"Storybook \u76F8\u5173\u95EE\u9898",link:"/module-tools/guide/faq/storybook"},{text:"\u6D4B\u8BD5\u76F8\u5173\u95EE\u9898",link:"/module-tools/guide/faq/test"}],collapsed:!1,collapsible:!0}],"/plugins/":[{text:"\u6307\u5357",link:"",items:[{text:"\u5FEB\u901F\u5F00\u59CB",link:"/module-tools/plugins/guide/getting-started"},{text:"\u63D2\u4EF6\u5BF9\u8C61",link:"/module-tools/plugins/guide/plugin-object"},{text:"Setup \u51FD\u6570",link:"/module-tools/plugins/guide/setup-function"}],collapsed:!1,collapsible:!0},{text:"\u63D2\u4EF6\u5217\u8868",link:"",items:[{text:"\u603B\u89C8",link:"/module-tools/plugins/official-list/overview"},{text:"Babel \u63D2\u4EF6",link:"/module-tools/plugins/official-list/plugin-babel"},{text:"Banner \u63D2\u4EF6",link:"/module-tools/plugins/official-list/plugin-banner"},{text:"Import \u63D2\u4EF6",link:"/module-tools/plugins/official-list/plugin-import"},{text:"Node Polyfill \u63D2\u4EF6",link:"/module-tools/plugins/official-list/plugin-node-polyfill"},{text:"Polyfill \u63D2\u4EF6",link:"/module-tools/plugins/official-list/plugin-polyfill"},{text:"Vue \u63D2\u4EF6",link:"/module-tools/plugins/official-list/plugin-vue"}],collapsed:!1,collapsible:!0}]}},{lang:"en",label:"English",nav:[{text:"Guide",link:"/en/guide/intro/welcome",activeMatch:"^/guide/"},{text:"API",link:"/en/api/",activeMatch:"^/api/"},{text:"Plugins",link:"/en/plugins/guide/getting-started",activeMatch:"^/plugins/"},{text:"v2.47.1",items:[{text:"Changelog",link:"https://github.com/web-infra-dev/modern.js/tree/main/packages/solutions/module-tools/CHANGELOG.md"},{text:"Contributing",link:"https://modernjs.dev/en/community/contributing-guide.html"}]}],title:"Modern.js Module",description:"Module Engineering Solutions",sidebar:{"/en/api/":[{text:"Overview",link:"/module-tools/en/api/"},{text:"Config",link:"",items:[{text:"buildConfig",link:"/module-tools/en/api/config/build-config"},{text:"buildPreset",link:"/module-tools/en/api/config/build-preset"},{text:"dev",link:"/module-tools/en/api/config/dev"},{text:"plugins",link:"/module-tools/en/api/config/plugins"},{text:"testing",link:"/module-tools/en/api/config/testing"}],collapsed:!1,collapsible:!0},{text:"Plugin API",link:"",items:[{text:"Plugin Hooks",link:"/module-tools/en/api/plugin-api/plugin-hooks"}],collapsed:!1,collapsible:!0}],"/en/guide/":[{text:"Introduction",link:"",items:[{text:"Welcome to Modern.js Module",link:"/module-tools/en/guide/intro/welcome"},{text:"Why you need Modern.js Module",link:"/module-tools/en/guide/intro/why-module-engineering-solution"},{text:"Quick Start",link:"/module-tools/en/guide/intro/getting-started"}],collapsed:!1,collapsible:!0},{text:"Basic Guide",link:"",items:[{text:"Before you start",link:"/module-tools/en/guide/basic/before-getting-started"},{text:"CLI Commands",link:"/module-tools/en/guide/basic/command-preview"},{text:"Modify the output",link:"/module-tools/en/guide/basic/modify-output-product"},{text:"Using the Microgenerator",link:"/module-tools/en/guide/basic/use-micro-generator"},{text:"Developing Module documentation",link:"/module-tools/en/guide/basic/use-module-doc"},{text:"Using Storybook",link:"/module-tools/en/guide/basic/using-storybook"},{text:"Testing Projects",link:"/module-tools/en/guide/basic/test-your-project"},{text:"Versioning and Publishing",link:"/module-tools/en/guide/basic/publish-your-project"}],collapsed:!1,collapsible:!0},{text:"Advanced Guide",link:"",items:[{text:"In-depth understanding of build",link:"/module-tools/en/guide/advance/in-depth-about-build"},{text:"In-depth understanding of the dev command",link:"/module-tools/en/guide/advance/in-depth-about-dev-command"},{text:"Use the Copy Tools",link:"/module-tools/en/guide/advance/copy"},{text:"Handle third-party dependencies",link:"/module-tools/en/guide/advance/external-dependency"},{text:"Build umd artifacts",link:"/module-tools/en/guide/advance/build-umd"},{text:"Handle static assets",link:"/module-tools/en/guide/advance/asset"}],collapsed:!1,collapsible:!0},{text:"Best practices",link:"",items:[{text:"Developing Components",link:"/module-tools/en/guide/best-practices/components"},{text:"Using Tailwind CSS",link:"/module-tools/en/guide/best-practices/use-tailwindcss"}],collapsed:!1,collapsible:!0},{text:"FAQ",link:"/module-tools/en/guide/faq/",items:[{text:"General Questions",link:"/module-tools/en/guide/faq/basic"},{text:"Build FAQ",link:"/module-tools/en/guide/faq/build"},{text:"Storybook FAQ",link:"/module-tools/en/guide/faq/storybook"},{text:"Test FAQ",link:"/module-tools/en/guide/faq/test"}],collapsed:!1,collapsible:!0}],"/en/plugins/":[{text:"Guide",link:"",items:[{text:"Quick Start",link:"/module-tools/en/plugins/guide/getting-started"},{text:"Plugin Object",link:"/module-tools/en/plugins/guide/plugin-object"},{text:"Setup function",link:"/module-tools/en/plugins/guide/setup-function"}],collapsed:!1,collapsible:!0},{text:"Plugins List",link:"",items:[{text:"Overview",link:"/module-tools/en/plugins/official-list/overview"},{text:"Babel Plugin",link:"/module-tools/en/plugins/official-list/plugin-babel"},{text:"Banner Plugin",link:"/module-tools/en/plugins/official-list/plugin-banner"},{text:"Import Plugin",link:"/module-tools/en/plugins/official-list/plugin-import"},{text:"Node Polyfill Plugin",link:"/module-tools/en/plugins/official-list/plugin-node-polyfill"},{text:"Polyfill Plugin",link:"/module-tools/en/plugins/official-list/plugin-polyfill"},{text:"Vue Plugin",link:"/module-tools/en/plugins/official-list/plugin-vue"}],collapsed:!1,collapsible:!0}]}}],editLink:{docRepoBaseUrl:"https://github.com/web-infra-dev/modern.js/tree/main/packages/document/module-doc/docs",text:"Edit this page on GitHub"}},base:"/module-tools/",lang:"zh",locales:[{lang:"zh",label:"\u7B80\u4F53\u4E2D\u6587",nav:[{text:"\u6307\u5357",link:"/guide/intro/welcome",activeMatch:"^/guide/"},{text:"API",link:"/api/",activeMatch:"^/api/"},{text:"\u63D2\u4EF6",link:"/plugins/guide/getting-started",activeMatch:"^/plugins/"},{text:"v2.47.1",items:[{text:"\u66F4\u65B0\u65E5\u5FD7",link:"https://github.com/web-infra-dev/modern.js/tree/main/packages/solutions/module-tools/CHANGELOG.md"},{text:"\u8D21\u732E\u6307\u5357",link:"https://modernjs.dev/en/community/contributing-guide.html"}]}],title:"Modern.js Module",outlineTitle:"\u76EE\u5F55",prevPageText:"\u4E0A\u4E00\u9875",nextPageText:"\u4E0B\u4E00\u9875",description:"\u6A21\u5757\u5DE5\u7A0B\u89E3\u51B3\u65B9\u6848",sidebar:{"/api/":[{text:"\u6982\u89C8",link:"/module-tools/api/"},{text:"\u914D\u7F6E\u9879",link:"",items:[{text:"buildConfig",link:"/module-tools/api/config/build-config"},{text:"buildPreset",link:"/module-tools/api/config/build-preset"},{text:"dev",link:"/module-tools/api/config/dev"},{text:"plugins",link:"/module-tools/api/config/plugins"},{text:"testing",link:"/module-tools/api/config/testing"}],collapsed:!1,collapsible:!0},{text:"Plugin API",link:"",items:[{text:"Plugin Hooks",link:"/module-tools/api/plugin-api/plugin-hooks"}],collapsed:!1,collapsible:!0}],"/guide/":[{text:"\u4ECB\u7ECD",link:"",items:[{text:"\u6B22\u8FCE\u4F7F\u7528",link:"/module-tools/guide/intro/welcome"},{text:"\u4E3A\u4EC0\u4E48\u9700\u8981 Modern.js Module",link:"/module-tools/guide/intro/why-module-engineering-solution"},{text:"\u5FEB\u901F\u5F00\u59CB",link:"/module-tools/guide/intro/getting-started"}],collapsed:!1,collapsible:!0},{text:"\u57FA\u7840\u4F7F\u7528",link:"",items:[{text:"\u5F00\u59CB\u4E4B\u524D",link:"/module-tools/guide/basic/before-getting-started"},{text:"CLI \u547D\u4EE4",link:"/module-tools/guide/basic/command-preview"},{text:"\u4FEE\u6539\u8F93\u51FA\u4EA7\u7269",link:"/module-tools/guide/basic/modify-output-product"},{text:"\u4F7F\u7528\u5FAE\u751F\u6210\u5668",link:"/module-tools/guide/basic/use-micro-generator"},{text:"\u5F00\u53D1\u6A21\u5757\u6587\u6863",link:"/module-tools/guide/basic/use-module-doc"},{text:"\u4F7F\u7528 Storybook",link:"/module-tools/guide/basic/using-storybook"},{text:"\u6D4B\u8BD5\u9879\u76EE",link:"/module-tools/guide/basic/test-your-project"},{text:"\u7248\u672C\u7BA1\u7406\u4E0E\u53D1\u5E03",link:"/module-tools/guide/basic/publish-your-project"}],collapsed:!1,collapsible:!0},{text:"\u8FDB\u9636\u6307\u5357",link:"",items:[{text:"\u6DF1\u5165\u7406\u89E3\u6784\u5EFA",link:"/module-tools/guide/advance/in-depth-about-build"},{text:"\u6DF1\u5165\u7406\u89E3 dev \u547D\u4EE4",link:"/module-tools/guide/advance/in-depth-about-dev-command"},{text:"\u4F7F\u7528 Copy \u5DE5\u5177",link:"/module-tools/guide/advance/copy"},{text:"\u5904\u7406\u4E09\u65B9\u4F9D\u8D56",link:"/module-tools/guide/advance/external-dependency"},{text:"\u6784\u5EFA umd \u4EA7\u7269",link:"/module-tools/guide/advance/build-umd"},{text:"\u5904\u7406\u9759\u6001\u8D44\u6E90",link:"/module-tools/guide/advance/asset"}],collapsed:!1,collapsible:!0},{text:"\u6700\u4F73\u5B9E\u8DF5",link:"",items:[{text:"\u5F00\u53D1\u7EC4\u4EF6",link:"/module-tools/guide/best-practices/components"},{text:"\u4F7F\u7528 Tailwind CSS",link:"/module-tools/guide/best-practices/use-tailwindcss"}],collapsed:!1,collapsible:!0},{text:"\u5E38\u89C1\u95EE\u9898",link:"/module-tools/guide/faq/",items:[{text:"\u901A\u7528\u7C7B\u95EE\u9898",link:"/module-tools/guide/faq/basic"},{text:"\u6784\u5EFA\u76F8\u5173\u95EE\u9898",link:"/module-tools/guide/faq/build"},{text:"Storybook \u76F8\u5173\u95EE\u9898",link:"/module-tools/guide/faq/storybook"},{text:"\u6D4B\u8BD5\u76F8\u5173\u95EE\u9898",link:"/module-tools/guide/faq/test"}],collapsed:!1,collapsible:!0}],"/plugins/":[{text:"\u6307\u5357",link:"",items:[{text:"\u5FEB\u901F\u5F00\u59CB",link:"/module-tools/plugins/guide/getting-started"},{text:"\u63D2\u4EF6\u5BF9\u8C61",link:"/module-tools/plugins/guide/plugin-object"},{text:"Setup \u51FD\u6570",link:"/module-tools/plugins/guide/setup-function"}],collapsed:!1,collapsible:!0},{text:"\u63D2\u4EF6\u5217\u8868",link:"",items:[{text:"\u603B\u89C8",link:"/module-tools/plugins/official-list/overview"},{text:"Babel \u63D2\u4EF6",link:"/module-tools/plugins/official-list/plugin-babel"},{text:"Banner \u63D2\u4EF6",link:"/module-tools/plugins/official-list/plugin-banner"},{text:"Import \u63D2\u4EF6",link:"/module-tools/plugins/official-list/plugin-import"},{text:"Node Polyfill \u63D2\u4EF6",link:"/module-tools/plugins/official-list/plugin-node-polyfill"},{text:"Polyfill \u63D2\u4EF6",link:"/module-tools/plugins/official-list/plugin-polyfill"},{text:"Vue \u63D2\u4EF6",link:"/module-tools/plugins/official-list/plugin-vue"}],collapsed:!1,collapsible:!0}]}},{lang:"en",label:"English",nav:[{text:"Guide",link:"/en/guide/intro/welcome",activeMatch:"^/guide/"},{text:"API",link:"/en/api/",activeMatch:"^/api/"},{text:"Plugins",link:"/en/plugins/guide/getting-started",activeMatch:"^/plugins/"},{text:"v2.47.1",items:[{text:"Changelog",link:"https://github.com/web-infra-dev/modern.js/tree/main/packages/solutions/module-tools/CHANGELOG.md"},{text:"Contributing",link:"https://modernjs.dev/en/community/contributing-guide.html"}]}],title:"Modern.js Module",description:"Module Engineering Solutions",sidebar:{"/en/api/":[{text:"Overview",link:"/module-tools/en/api/"},{text:"Config",link:"",items:[{text:"buildConfig",link:"/module-tools/en/api/config/build-config"},{text:"buildPreset",link:"/module-tools/en/api/config/build-preset"},{text:"dev",link:"/module-tools/en/api/config/dev"},{text:"plugins",link:"/module-tools/en/api/config/plugins"},{text:"testing",link:"/module-tools/en/api/config/testing"}],collapsed:!1,collapsible:!0},{text:"Plugin API",link:"",items:[{text:"Plugin Hooks",link:"/module-tools/en/api/plugin-api/plugin-hooks"}],collapsed:!1,collapsible:!0}],"/en/guide/":[{text:"Introduction",link:"",items:[{text:"Welcome to Modern.js Module",link:"/module-tools/en/guide/intro/welcome"},{text:"Why you need Modern.js Module",link:"/module-tools/en/guide/intro/why-module-engineering-solution"},{text:"Quick Start",link:"/module-tools/en/guide/intro/getting-started"}],collapsed:!1,collapsible:!0},{text:"Basic Guide",link:"",items:[{text:"Before you start",link:"/module-tools/en/guide/basic/before-getting-started"},{text:"CLI Commands",link:"/module-tools/en/guide/basic/command-preview"},{text:"Modify the output",link:"/module-tools/en/guide/basic/modify-output-product"},{text:"Using the Microgenerator",link:"/module-tools/en/guide/basic/use-micro-generator"},{text:"Developing Module documentation",link:"/module-tools/en/guide/basic/use-module-doc"},{text:"Using Storybook",link:"/module-tools/en/guide/basic/using-storybook"},{text:"Testing Projects",link:"/module-tools/en/guide/basic/test-your-project"},{text:"Versioning and Publishing",link:"/module-tools/en/guide/basic/publish-your-project"}],collapsed:!1,collapsible:!0},{text:"Advanced Guide",link:"",items:[{text:"In-depth understanding of build",link:"/module-tools/en/guide/advance/in-depth-about-build"},{text:"In-depth understanding of the dev command",link:"/module-tools/en/guide/advance/in-depth-about-dev-command"},{text:"Use the Copy Tools",link:"/module-tools/en/guide/advance/copy"},{text:"Handle third-party dependencies",link:"/module-tools/en/guide/advance/external-dependency"},{text:"Build umd artifacts",link:"/module-tools/en/guide/advance/build-umd"},{text:"Handle static assets",link:"/module-tools/en/guide/advance/asset"}],collapsed:!1,collapsible:!0},{text:"Best practices",link:"",items:[{text:"Developing Components",link:"/module-tools/en/guide/best-practices/components"},{text:"Using Tailwind CSS",link:"/module-tools/en/guide/best-practices/use-tailwindcss"}],collapsed:!1,collapsible:!0},{text:"FAQ",link:"/module-tools/en/guide/faq/",items:[{text:"General Questions",link:"/module-tools/en/guide/faq/basic"},{text:"Build FAQ",link:"/module-tools/en/guide/faq/build"},{text:"Storybook FAQ",link:"/module-tools/en/guide/faq/storybook"},{text:"Test FAQ",link:"/module-tools/en/guide/faq/test"}],collapsed:!1,collapsible:!0}],"/en/plugins/":[{text:"Guide",link:"",items:[{text:"Quick Start",link:"/module-tools/en/plugins/guide/getting-started"},{text:"Plugin Object",link:"/module-tools/en/plugins/guide/plugin-object"},{text:"Setup function",link:"/module-tools/en/plugins/guide/setup-function"}],collapsed:!1,collapsible:!0},{text:"Plugins List",link:"",items:[{text:"Overview",link:"/module-tools/en/plugins/official-list/overview"},{text:"Babel Plugin",link:"/module-tools/en/plugins/official-list/plugin-babel"},{text:"Banner Plugin",link:"/module-tools/en/plugins/official-list/plugin-banner"},{text:"Import Plugin",link:"/module-tools/en/plugins/official-list/plugin-import"},{text:"Node Polyfill Plugin",link:"/module-tools/en/plugins/official-list/plugin-node-polyfill"},{text:"Polyfill Plugin",link:"/module-tools/en/plugins/official-list/plugin-polyfill"},{text:"Vue Plugin",link:"/module-tools/en/plugins/official-list/plugin-vue"}],collapsed:!1,collapsible:!0}]}}],logo:"",ssg:!0,multiVersion:{default:"",versions:[]},search:{mode:"local"},pages:[{title:"buildConfig",routePath:"/module-tools/en/api/config/build-config",lang:"en",toc:[{text:"alias",id:"alias",depth:2,charIndex:378},{text:"asset",id:"asset",depth:2,charIndex:1054},{text:"asset.path",id:"assetpath",depth:2,charIndex:1113},{text:"asset.limit",id:"assetlimit",depth:2,charIndex:1217},{text:"asset.publicPath",id:"assetpublicpath",depth:2,charIndex:1691},{text:"asset.svgr",id:"assetsvgr",depth:2,charIndex:1878},{text:"asset.svgr.include",id:"assetsvgrinclude",depth:2,charIndex:2325},{text:"asset.svgr.exclude",id:"assetsvgrexclude",depth:2,charIndex:2443},{text:"asset.svgr.exportType",id:"assetsvgrexporttype",depth:2,charIndex:2560},{text:"autoExtension",id:"autoextension",depth:2,charIndex:2841},{text:"autoExternal",id:"autoexternal",depth:2,charIndex:4040},{text:"autoExternal.dependencies",id:"autoexternaldependencies",depth:2,charIndex:4548},{text:"autoExternal.peerDependencies",id:"autoexternalpeerdependencies",depth:2,charIndex:4684},{text:"banner",id:"banner",depth:2,charIndex:4815},{text:"buildType",id:"buildtype",depth:2,charIndex:5056},{text:"copy",id:"copy",depth:2,charIndex:5216},{text:"copy.patterns",id:"copypatterns",depth:2,charIndex:5392},{text:"copy.options",id:"copyoptions",depth:2,charIndex:5450},{text:"define",id:"define",depth:2,charIndex:5675},{text:"dts",id:"dts",depth:2,charIndex:6655},{text:"dts.abortOnError",id:"dtsabortonerror",depth:2,charIndex:6778},{text:"dts.distPath",id:"dtsdistpath",depth:2,charIndex:7262},{text:"dts.enableTscBuild",id:"dtsenabletscbuild",depth:2,charIndex:7424},{text:"dts.only",id:"dtsonly",depth:2,charIndex:7851},{text:"dts.tsconfigPath",id:"dtstsconfigpath",depth:2,charIndex:8007},{text:"dts.respectExternal",id:"dtsrespectexternal",depth:2,charIndex:8136},{text:"esbuildOptions",id:"esbuildoptions",depth:2,charIndex:8568},{text:"externalHelpers",id:"externalhelpers",depth:2,charIndex:9747},{text:"externals",id:"externals",depth:2,charIndex:10269},{text:"footer",id:"footer",depth:2,charIndex:10459},{text:"format",id:"format",depth:2,charIndex:10555},{text:"format: esm",id:"format-esm",depth:3,charIndex:10742},{text:"format: cjs",id:"format-cjs",depth:3,charIndex:10882},{text:"format: iife",id:"format-iife",depth:3,charIndex:11078},{text:"format: umd",id:"format-umd",depth:3,charIndex:11372},{text:"hooks",id:"hooks",depth:2,charIndex:11675},{text:"input",id:"input",depth:2,charIndex:12162},{text:"jsx",id:"jsx",depth:2,charIndex:13191},{text:"metafile",id:"metafile",depth:2,charIndex:13726},{text:"minify",id:"minify",depth:2,charIndex:14155},{text:"outDir",id:"outdir",depth:2,charIndex:14298},{text:"platform",id:"platform",depth:2,charIndex:14392},{text:"redirect",id:"redirect",depth:2,charIndex:14623},{text:"resolve",id:"resolve",depth:2,charIndex:15139},{text:"resolve.mainFields",id:"resolvemainfields",depth:3,charIndex:15184},{text:"resolve.jsExtentions",id:"resolvejsextentions",depth:3,charIndex:15679},{text:"shims",id:"shims",depth:2,charIndex:16144},{text:"sideEffects",id:"sideeffects",depth:2,charIndex:16565},{text:"sourceDir",id:"sourcedir",depth:2,charIndex:17414},{text:"sourceMap",id:"sourcemap",depth:2,charIndex:17672},{text:"sourceType",id:"sourcetype",depth:2,charIndex:17783},{text:"splitting",id:"splitting",depth:2,charIndex:18010},{text:"style",id:"style",depth:2,charIndex:18173},{text:"style.less",id:"styleless",depth:2,charIndex:18221},{text:"style.less.lessOptions",id:"stylelesslessoptions",depth:2,charIndex:18263},{text:"style.less.additionalData",id:"stylelessadditionaldata",depth:2,charIndex:18388},{text:"style.less.implementation",id:"stylelessimplementation",depth:2,charIndex:18509},{text:"style.sass",id:"stylesass",depth:2,charIndex:18854},{text:"style.sass.sassOptions",id:"stylesasssassoptions",depth:2,charIndex:18897},{text:"style.sass.additionalData",id:"stylesassadditionaldata",depth:2,charIndex:19003},{text:"style.sass.implementation",id:"stylesassimplementation",depth:2,charIndex:19135},{text:"style.postcss",id:"stylepostcss",depth:2,charIndex:19475},{text:"style.inject",id:"styleinject",depth:2,charIndex:19823},{text:"style.autoModules",id:"styleautomodules",depth:2,charIndex:20836},{text:"style.modules",id:"stylemodules",depth:2,charIndex:21183},{text:"style.tailwindcss",id:"styletailwindcss",depth:2,charIndex:21483},{text:"Enabling Tailwind CSS",id:"enabling-tailwind-css",depth:3,charIndex:21597},{text:"Type",id:"type",depth:3,charIndex:21806},{text:"Notes",id:"notes",depth:3,charIndex:22111},{text:"target",id:"target",depth:2,charIndex:22694},{text:"transformImport",id:"transformimport",depth:2,charIndex:23058},{text:"transformLodash",id:"transformlodash",depth:2,charIndex:23414},{text:"tsconfig",id:"tsconfig",depth:2,charIndex:23915},{text:"umdGlobals",id:"umdglobals",depth:2,charIndex:24020},{text:"umdModuleName",id:"umdmodulename",depth:2,charIndex:24331}],frontmatter:{sidebar_position:1},version:"",_relativePath:"en/api/config/build-config.mdx"},{title:"buildPreset",routePath:"/module-tools/en/api/config/build-preset",lang:"en",toc:[{text:"npm-library",id:"npm-library",depth:3,charIndex:118},{text:"npm-library-with-umd",id:"npm-library-with-umd",depth:3,charIndex:392},{text:"npm-component",id:"npm-component",depth:3,charIndex:646},{text:"npm-component-with-umd",id:"npm-component-with-umd",depth:3,charIndex:1084},{text:"npm-library-{es5...esnext}",id:"npm-library-es5esnext",depth:3,charIndex:1289},{text:"string / function",id:"string--function",depth:2,charIndex:1651}],frontmatter:{sidebar_position:2},version:"",_relativePath:"en/api/config/build-preset.mdx"},{title:"dev",routePath:"/module-tools/en/api/config/dev",lang:"en",toc:[{text:"storybook",id:"storybook",depth:2,charIndex:93},{text:"storybook.webpack",id:"storybookwebpack",depth:3,charIndex:239},{text:"Configure Manager App",id:"configure-manager-app",depth:4,charIndex:506},{text:"storybook.webpackChain",id:"storybookwebpackchain",depth:3,charIndex:686}],frontmatter:{sidebar_position:3},version:"",_relativePath:"en/api/config/dev.md"},{title:"plugins",routePath:"/module-tools/en/api/config/plugins",lang:"en",toc:[{text:"Plugin Execution Order",id:"plugin-execution-order",depth:2,charIndex:140},{text:"Developing Plugins",id:"developing-plugins",depth:2,charIndex:584},{text:"Example",id:"example",depth:2,charIndex:680},{text:"Using Plugins from npm",id:"using-plugins-from-npm",depth:3,charIndex:691},{text:"Using Local Plugins",id:"using-local-plugins",depth:4,charIndex:837},{text:"Plugin Configuration",id:"plugin-configuration",depth:3,charIndex:960}],frontmatter:{sidebar_position:4},version:"",_relativePath:"en/api/config/plugins.md"},{title:"testing",routePath:"/module-tools/en/api/config/testing",lang:"en",toc:[{text:"jest",id:"jest",depth:2,charIndex:133},{text:"transformer",id:"transformer",depth:2,charIndex:482}],frontmatter:{sidebar_position:5},version:"",_relativePath:"en/api/config/testing.md"},{title:"Overview",routePath:"/module-tools/en/api/",lang:"en",toc:[],frontmatter:{overview:!0,sidebar_label:"Overview",sidebar_position:1},version:"",_relativePath:"en/api/index.md"},{title:"Plugin Hooks",routePath:"/module-tools/en/api/plugin-api/plugin-hooks",lang:"en",toc:[{text:"Config hooks",id:"config-hooks",depth:2,charIndex:509},{text:"resolveModuleUserConfig",id:"resolvemoduleuserconfig",depth:3,charIndex:525},{text:"build hooks",id:"build-hooks",depth:2,charIndex:596},{text:"beforeBuild",id:"beforebuild",depth:3,charIndex:758},{text:"beforeBuildTask",id:"beforebuildtask",depth:3,charIndex:936},{text:"afterBuildTask",id:"afterbuildtask",depth:3,charIndex:1231},{text:"afterBuild",id:"afterbuild",depth:3,charIndex:1361},{text:"buildPlatform hooks",id:"buildplatform-hooks",depth:2,charIndex:1494},{text:"registerBuildPlatform",id:"registerbuildplatform",depth:3,charIndex:1908},{text:"beforeBuildPlatform",id:"beforebuildplatform",depth:3,charIndex:2079},{text:"buildPlatform",id:"buildplatform",depth:3,charIndex:2319},{text:"afterBuildPlatform",id:"afterbuildplatform",depth:3,charIndex:2545},{text:"Dev Hooks",id:"dev-hooks",depth:2,charIndex:2796},{text:"registerDev",id:"registerdev",depth:3,charIndex:3271},{text:"beforeDev",id:"beforedev",depth:3,charIndex:3646},{text:"(before|after)DevMenu",id:"beforeafterdevmenu",depth:3,charIndex:3797},{text:"beforeDevTask",id:"beforedevtask",depth:3,charIndex:4054},{text:"afterDev",id:"afterdev",depth:3,charIndex:4162}],frontmatter:{},version:"",_relativePath:"en/api/plugin-api/plugin-hooks.md"},{title:"",routePath:"/module-tools/en/components/faq-build-exception",lang:"en",toc:[],frontmatter:{},version:"",_relativePath:"en/components/faq-build-exception.mdx"},{title:"",routePath:"/module-tools/en/components/faq-build-other",lang:"en",toc:[],frontmatter:{},version:"",_relativePath:"en/components/faq-build-other.mdx"},{title:"",routePath:"/module-tools/en/components/faq-build-product",lang:"en",toc:[],frontmatter:{},version:"",_relativePath:"en/components/faq-build-product.mdx"},{title:"",routePath:"/module-tools/en/components/faq-storybook",lang:"en",toc:[],frontmatter:{},version:"",_relativePath:"en/components/faq-storybook.mdx"},{title:"",routePath:"/module-tools/en/components/faq-test",lang:"en",toc:[],frontmatter:{},version:"",_relativePath:"en/components/faq-test.mdx"},{title:"",routePath:"/module-tools/en/components/publish-emo",lang:"en",toc:[],frontmatter:{},version:"",_relativePath:"en/components/publish-emo.mdx"},{title:"",routePath:"/module-tools/en/components/register-esbuild-plugin",lang:"en",toc:[],frontmatter:{},version:"",_relativePath:"en/components/register-esbuild-plugin.mdx"},{title:"",routePath:"/module-tools/en/components/release-module-doc",lang:"en",toc:[],frontmatter:{},version:"",_relativePath:"en/components/release-module-doc.mdx"},{title:"Handle static assets",routePath:"/module-tools/en/guide/advance/asset",lang:"en",toc:[{text:"Default behavior",id:"default-behavior",depth:2,charIndex:139},{text:"Example",id:"example",depth:2,charIndex:571}],frontmatter:{sidebar_position:6},version:"",_relativePath:"en/guide/advance/asset.mdx"},{title:"Build umd artifacts",routePath:"/module-tools/en/guide/advance/build-umd",lang:"en",toc:[{text:"Third-party dependency handling for umd artifacts",id:"third-party-dependency-handling-for-umd-artifacts",depth:2,charIndex:412},{text:"Example",id:"example",depth:3,charIndex:716},{text:"Global variable names of third-party dependencies",id:"global-variable-names-of-third-party-dependencies",depth:3,charIndex:1171},{text:"Changing the name of a global variable in a project",id:"changing-the-name-of-a-global-variable-in-a-project",depth:2,charIndex:1831}],frontmatter:{sidebar_position:5},version:"",_relativePath:"en/guide/advance/build-umd.mdx"},{title:"Use the Copy Tools",routePath:"/module-tools/en/guide/advance/copy",lang:"en",toc:[{text:"Understanding the Copy API",id:"understanding-the-copy-api",depth:2,charIndex:171},{text:"API Description",id:"api-description",depth:2,charIndex:335},{text:"Examples of Different Scenarios",id:"examples-of-different-scenarios",depth:2,charIndex:1783},{text:"Copying Files",id:"copying-files",depth:3,charIndex:1818},{text:"Copying Files to a Directory",id:"copying-files-to-a-directory",depth:3,charIndex:1837},{text:"Copying from Directory to Directory",id:"copying-from-directory-to-directory",depth:3,charIndex:1871},{text:"Copying from Directory to File",id:"copying-from-directory-to-file",depth:3,charIndex:1912},{text:"Using Glob",id:"using-glob",depth:3,charIndex:1948}],frontmatter:{sidebar_position:3},version:"",_relativePath:"en/guide/advance/copy.md"},{title:"Handle third-party dependencies",routePath:"/module-tools/en/guide/advance/external-dependency",lang:"en",toc:[{text:"Default handling of third-party dependencies",id:"default-handling-of-third-party-dependencies",depth:2,charIndex:811},{text:"Example",id:"example",depth:3,charIndex:1373},{text:"Exclude specified third-party dependencies",id:"exclude-specified-third-party-dependencies",depth:2,charIndex:1643}],frontmatter:{sidebar_position:4},version:"",_relativePath:"en/guide/advance/external-dependency.mdx"},{title:"In-depth understanding of build",routePath:"/module-tools/en/guide/advance/in-depth-about-build",lang:"en",toc:[{text:"bundle / bundleless",id:"bundle--bundleless",depth:2,charIndex:497},{text:"input / sourceDir",id:"input--sourcedir",depth:2,charIndex:1681},{text:"use swc",id:"use-swc",depth:2,charIndex:2845},{text:"Using Hooks to Intervene in the Build Process",id:"using-hooks-to-intervene-in-the-build-process",depth:2,charIndex:3803},{text:"Hook type",id:"hook-type",depth:3,charIndex:4183},{text:"AsyncSeriesBailHook",id:"asyncseriesbailhook",depth:4,charIndex:4195},{text:"AsyncSeriesWaterFallHooks",id:"asyncserieswaterfallhooks",depth:4,charIndex:4334},{text:"Hook API",id:"hook-api",depth:3,charIndex:4431},{text:"load",id:"load",depth:4,charIndex:4442},{text:"transform",id:"transform",depth:4,charIndex:4626},{text:"renderChunk",id:"renderchunk",depth:4,charIndex:4837},{text:"dts",id:"dts",depth:2,charIndex:5071},{text:"Turn off type generation",id:"turn-off-type-generation",depth:3,charIndex:5154},{text:"Build type files",id:"build-type-files",depth:3,charIndex:5357},{text:"Alias Conversion",id:"alias-conversion",depth:3,charIndex:6424},{text:"Some examples of the use of dts",id:"some-examples-of-the-use-of-dts",depth:3,charIndex:6683},{text:"Build process",id:"build-process",depth:2,charIndex:6764},{text:"Build errors",id:"build-errors",depth:2,charIndex:7057},{text:"Debug mode",id:"debug-mode",depth:2,charIndex:7582}],frontmatter:{sidebar_position:1},version:"",_relativePath:"en/guide/advance/in-depth-about-build.md"},{title:"In-depth understanding of the dev command",routePath:"/module-tools/en/guide/advance/in-depth-about-dev-command",lang:"en",toc:[{text:"The overall flow of the command run",id:"the-overall-flow-of-the-command-run",depth:2,charIndex:92},{text:"Extending the dev command",id:"extending-the-dev-command",depth:2,charIndex:806}],frontmatter:{sidebar_position:2},version:"",_relativePath:"en/guide/advance/in-depth-about-dev-command.md"},{title:"Before you start",routePath:"/module-tools/en/guide/basic/before-getting-started",lang:"en",toc:[{text:"Environment preparation",id:"environment-preparation",depth:2,charIndex:3},{text:"Getting Started with npm",id:"getting-started-with-npm",depth:2,charIndex:424},{text:"npm package type project",id:"npm-package-type-project",depth:2,charIndex:906},{text:"Using third-party npm packages",id:"using-third-party-npm-packages",depth:2,charIndex:1922},{text:"Other npm bits and pieces to know",id:"other-npm-bits-and-pieces-to-know",depth:2,charIndex:3606},{text:"Program entry for npm packages",id:"program-entry-for-npm-packages",depth:3,charIndex:3643},{text:"scripts",id:"scripts",depth:3,charIndex:4528},{text:"npm install",id:"npm-install",depth:4,charIndex:5252},{text:"npm publish",id:"npm-publish",depth:4,charIndex:5613},{text:"peerDependencies",id:"peerdependencies",depth:3,charIndex:5883},{text:"npm package manager",id:"npm-package-manager",depth:2,charIndex:6585},{text:"Modern.js Module configuration file",id:"modernjs-module-configuration-file",depth:2,charIndex:6850}],frontmatter:{sidebar_position:1},version:"",_relativePath:"en/guide/basic/before-getting-started.md"},{title:"CLI Commands",routePath:"/module-tools/en/guide/basic/command-preview",lang:"en",toc:[{text:"modern build",id:"modern-build",depth:2,charIndex:73},{text:"modern new",id:"modern-new",depth:2,charIndex:372},{text:"modern dev",id:"modern-dev",depth:2,charIndex:754},{text:"modern test",id:"modern-test",depth:2,charIndex:1181},{text:"modern lint",id:"modern-lint",depth:2,charIndex:1412},{text:"modern change",id:"modern-change",depth:2,charIndex:1693},{text:"modern pre",id:"modern-pre",depth:2,charIndex:1802},{text:"modern bump",id:"modern-bump",depth:2,charIndex:1908},{text:"modern release",id:"modern-release",depth:2,charIndex:2077},{text:"modern gen-release-note",id:"modern-gen-release-note",depth:2,charIndex:2253},{text:"modern upgrade",id:"modern-upgrade",depth:2,charIndex:2433}],frontmatter:{sidebar_position:2},version:"",_relativePath:"en/guide/basic/command-preview.md"},{title:"Modify the output",routePath:"/module-tools/en/guide/basic/modify-output-product",lang:"en",toc:[{text:"Default output artifacts",id:"default-output-artifacts",depth:2,charIndex:3},{text:"buildPreset",id:"buildpreset",depth:2,charIndex:818},{text:"buildConfig",id:"buildconfig",depth:2,charIndex:1639},{text:"Combining Configuration and Presets",id:"combining-configuration-and-presets",depth:2,charIndex:4390}],frontmatter:{sidebar_position:3},version:"",_relativePath:"en/guide/basic/modify-output-product.md"},{title:"Versioning and Publishing",routePath:"/module-tools/en/guide/basic/publish-your-project",lang:"en",toc:[{text:"Tracking changes",id:"tracking-changes",depth:2,charIndex:613},{text:"Version update",id:"version-update",depth:2,charIndex:1358},{text:"Publish",id:"publish",depth:2,charIndex:1783},{text:"Pre-releases",id:"pre-releases",depth:2,charIndex:2471}],frontmatter:{sidebar_position:7},version:"",_relativePath:"en/guide/basic/publish-your-project.mdx"},{title:"Testing Projects",routePath:"/module-tools/en/guide/basic/test-your-project",lang:"en",toc:[{text:"Prerequisites and conventions",id:"prerequisites-and-conventions",depth:2,charIndex:52},{text:"Run the tests",id:"run-the-tests",depth:2,charIndex:745},{text:"Usage Configuration",id:"usage-configuration",depth:2,charIndex:954},{text:"Test example",id:"test-example",depth:2,charIndex:1099},{text:"Common modules",id:"common-modules",depth:3,charIndex:1115},{text:"Components",id:"components",depth:3,charIndex:1461}],frontmatter:{sidebar_position:6},version:"",_relativePath:"en/guide/basic/test-your-project.mdx"},{title:"Using the Microgenerator",routePath:"/module-tools/en/guide/basic/use-micro-generator",lang:"en",toc:[{text:"Develop Module Doc",id:"develop-module-doc",depth:2,charIndex:431},{text:"Test",id:"test",depth:2,charIndex:895},{text:"Storybook",id:"storybook",depth:2,charIndex:1319},{text:"Tailwind CSS Support",id:"tailwind-css-support",depth:2,charIndex:1667},{text:"Modern.js Runtime API",id:"modernjs-runtime-api",depth:2,charIndex:1952}],frontmatter:{sidebar_position:4},version:"",_relativePath:"en/guide/basic/use-micro-generator.md"},{title:"Developing Module documentation",routePath:"/module-tools/en/guide/basic/use-module-doc",lang:"en",toc:[{text:"Before we start",id:"before-we-start",depth:2,charIndex:98},{text:"Why we need to build a documentation site for a module",id:"why-we-need-to-build-a-documentation-site-for-a-module",depth:3,charIndex:117},{text:"Preliminary preparation",id:"preliminary-preparation",depth:3,charIndex:451},{text:"Basic site structure",id:"basic-site-structure",depth:2,charIndex:686},{text:"Configure sidebar",id:"configure-sidebar",depth:3,charIndex:1493},{text:"Writing Documentation",id:"writing-documentation",depth:2,charIndex:2109},{text:"Component preview",id:"component-preview",depth:2,charIndex:2329},{text:"Example",id:"example",depth:3,charIndex:2514},{text:"Mobile Preview",id:"mobile-preview",depth:3,charIndex:3122},{text:"Using external demos",id:"using-external-demos",depth:3,charIndex:3452},{text:"Using built-in components",id:"using-built-in-components",depth:2,charIndex:3692},{text:"API",id:"api",depth:3,charIndex:3838},{text:"Parse file",id:"parse-file",depth:4,charIndex:3884},{text:"Content generation",id:"content-generation",depth:4,charIndex:3982},{text:"Using the component",id:"using-the-component",depth:4,charIndex:5006},{text:"Overview",id:"overview",depth:3,charIndex:5155},{text:"Plugin options",id:"plugin-options",depth:2,charIndex:5676},{text:"apiParseTool",id:"apiparsetool",depth:3,charIndex:5694},{text:"doc",id:"doc",depth:3,charIndex:5818},{text:"entries",id:"entries",depth:3,charIndex:5834},{text:"iframePosition",id:"iframeposition",depth:3,charIndex:6041},{text:"parseToolOptions",id:"parsetooloptions",depth:3,charIndex:6321},{text:"previewMode",id:"previewmode",depth:3,charIndex:6409},{text:"deprecated: languages",id:"deprecated-languages",depth:3,charIndex:6600},{text:"deprecated: useModuleSidebar",id:"deprecated-usemodulesidebar",depth:3,charIndex:6747},{text:"Scripts",id:"scripts",depth:2,charIndex:6968},{text:"Advanced guide",id:"advanced-guide",depth:2,charIndex:7131}],frontmatter:{sidebar_position:5},version:"",_relativePath:"en/guide/basic/use-module-doc.mdx"},{title:"Using Storybook",routePath:"/module-tools/en/guide/basic/using-storybook",lang:"en",toc:[{text:"V7 (Recommended)",id:"v7-recommended",depth:2,charIndex:511},{text:"Enable Storybook",id:"enable-storybook",depth:3,charIndex:531},{text:"Enable Debug output",id:"enable-debug-output",depth:3,charIndex:985},{text:"Enable Rspack build",id:"enable-rspack-build",depth:3,charIndex:2036},{text:"Configurations",id:"configurations",depth:3,charIndex:2361},{text:"bundler",id:"bundler",depth:4,charIndex:2441},{text:"builderConfig",id:"builderconfig",depth:4,charIndex:2579},{text:"Command",id:"command",depth:3,charIndex:2782},{text:"storybook dev",id:"storybook-dev",depth:4,charIndex:2850},{text:"storybook build",id:"storybook-build",depth:4,charIndex:2890},{text:"Migrate from V6 to V7",id:"migrate-from-v6-to-v7",depth:2,charIndex:2948},{text:"V6 (legacy)",id:"v6-legacy",depth:2,charIndex:3767},{text:"Start Storybook",id:"start-storybook",depth:3,charIndex:4013},{text:"Configure Storybook",id:"configure-storybook",depth:3,charIndex:4352},{text:"Build Storybook Output",id:"build-storybook-output",depth:3,charIndex:5092}],frontmatter:{sidebar_position:5},version:"",_relativePath:"en/guide/basic/using-storybook.mdx"},{title:"Developing Components",routePath:"/module-tools/en/guide/best-practices/components",lang:"en",toc:[{text:"Initialize the project",id:"initialize-the-project",depth:2,charIndex:93},{text:"Debugging code with Storybook",id:"debugging-code-with-storybook",depth:2,charIndex:406},{text:"Developing Styles",id:"developing-styles",depth:2,charIndex:505},{text:"CSS/PostCSS",id:"csspostcss",depth:3,charIndex:711},{text:"Less",id:"less",depth:3,charIndex:1098},{text:"Sass/Scss",id:"sassscss",depth:3,charIndex:1251},{text:"Tailwind CSS",id:"tailwind-css",depth:3,charIndex:1414},{text:"CSS Modules",id:"css-modules",depth:3,charIndex:1488},{text:"Configuring build artifacts",id:"configuring-build-artifacts",depth:2,charIndex:1852},{text:"Testing components",id:"testing-components",depth:2,charIndex:2666},{text:"Releasing components",id:"releasing-components",depth:2,charIndex:2769}],frontmatter:{sidebar_position:1},version:"",_relativePath:"en/guide/best-practices/components.mdx"},{title:"Using Tailwind CSS",routePath:"/module-tools/en/guide/best-practices/use-tailwindcss",lang:"en",toc:[{text:"Enabling Tailwind CSS",id:"enabling-tailwind-css",depth:2,charIndex:252},{text:"Configuring Tailwind CSS",id:"configuring-tailwind-css",depth:2,charIndex:1105},{text:"Tailwind CSS Autocomplete",id:"tailwind-css-autocomplete",depth:3,charIndex:1889},{text:"Build Modes",id:"build-modes",depth:2,charIndex:2460},{text:"Bundle Mode",id:"bundle-mode",depth:3,charIndex:2728},{text:"Bundleless Mode",id:"bundleless-mode",depth:3,charIndex:3091},{text:"Class Name Prefix",id:"class-name-prefix",depth:2,charIndex:3254},{text:"Usage Guide",id:"usage-guide",depth:2,charIndex:3641},{text:"HTML Class Names",id:"html-class-names",depth:3,charIndex:3703},{text:"@apply",id:"apply",depth:3,charIndex:3954},{text:"Sass",id:"sass",depth:4,charIndex:4211},{text:"Less",id:"less",depth:4,charIndex:4413},{text:"About designSystem config",id:"about-designsystem-config",depth:2,charIndex:4679}],frontmatter:{sidebar_position:2},version:"",_relativePath:"en/guide/best-practices/use-tailwindcss.mdx"},{title:"General Questions",routePath:"/module-tools/en/guide/faq/basic",lang:"en",toc:[{text:"What is the relationship between Modern.js Module and Rsbuild?",id:"what-is-the-relationship-between-modernjs-module-and-rsbuild",depth:2,charIndex:3},{text:"Can Modern.js Module use webpack plugins or loaders?",id:"can-modernjs-module-use-webpack-plugins-or-loaders",depth:2,charIndex:210}],frontmatter:{},version:"",_relativePath:"en/guide/faq/basic.mdx"},{title:"Build FAQ",routePath:"/module-tools/en/guide/faq/build",lang:"en",toc:[{text:"Product FAQ",id:"product-faq",depth:2,charIndex:301},{text:"Initialization of Class Fields",id:"initialization-of-class-fields",depth:3,charIndex:319},{text:"babel-plugin-lodash treats the introduced lodash as undefined",id:"babel-plugin-lodash-treats-the-introduced-lodash-as-undefined",depth:3,charIndex:1973},{text:"Cannot find module http",id:"cannot-find-module-http",depth:3,charIndex:2581},{text:"Exceptions FAQ",id:"exceptions-faq",depth:2,charIndex:2996},{text:'Dynamic require of \\"react\\" is not supported',id:"dynamic-require-of-react-is-not-supported",depth:3,charIndex:3017},{text:"Problem Description",id:"problem-description",depth:4,charIndex:3065},{text:"Solution",id:"solution",depth:4,charIndex:3293},{text:"Reference Links",id:"reference-links",depth:4,charIndex:3798},{text:"During compilation, an error was reported in the less file of a component library:'Operation on an invalid type'",id:"during-compilation-an-error-was-reported-in-the-less-file-of-a-component-libraryoperation-on-an-invalid-type",depth:3,charIndex:-1},{text:"Bundleless DTS failed",id:"bundleless-dts-failed",depth:3,charIndex:4566},{text:"Bundle DTS failed",id:"bundle-dts-failed",depth:3,charIndex:5212},{text:'Error reported for defineConfig function type: If there is no reference to "..." then the inferred type of "default" cannot be named',id:"error-reported-for-defineconfig-function-type-if-there-is-no-reference-to--then-the-inferred-type-of-default-cannot-be-named",depth:3,charIndex:-1},{text:"Other FAQ",id:"other-faq",depth:2,charIndex:5964},{text:"How to skip the pre-processing of less/scss files with bundleless",id:"how-to-skip-the-pre-processing-of-lessscss-files-with-bundleless",depth:3,charIndex:5980},{text:"Add additional compilation feature",id:"add-additional-compilation-feature",depth:3,charIndex:6454},{text:"Support for generating TypeScript declaration files for CSS Modules",id:"support-for-generating-typescript-declaration-files-for-css-modules",depth:3,charIndex:7185}],frontmatter:{},version:"",_relativePath:"en/guide/faq/build.mdx"},{title:"FAQ",routePath:"/module-tools/en/guide/faq/",lang:"en",toc:[],frontmatter:{},version:"",_relativePath:"en/guide/faq/index.md"},{title:"Storybook FAQ",routePath:"/module-tools/en/guide/faq/storybook",lang:"en",toc:[{text:"Storybook v7 Support",id:"storybook-v7-support",depth:2,charIndex:6},{text:"Using Storybook Addon or other configurations does not work",id:"using-storybook-addon-or-other-configurations-does-not-work",depth:2,charIndex:107},{text:"Cannot find module \\'react-dom/package.json",id:"cannot-find-module-react-dompackagejson",depth:2,charIndex:522},{text:"Unable to locate the specific error message",id:"unable-to-locate-the-specific-error-message",depth:2,charIndex:684},{text:"Can`t find any stories is your Storybook",id:"cant-find-any-stories-is-your-storybook",depth:2,charIndex:903},{text:"Storybook Adds Proxy Functionality",id:"storybook-adds-proxy-functionality",depth:2,charIndex:1203}],frontmatter:{},version:"",_relativePath:"en/guide/faq/storybook.mdx"},{title:"Test FAQ",routePath:"/module-tools/en/guide/faq/test",lang:"en",toc:[{text:"Execute test command with an error TypeError: Cannot read property 'testEnvironmentOptions' of undefined",id:"execute-test-command-with-an-error-typeerror-cannot-read-property-testenvironmentoptions-of-undefined",depth:3,charIndex:-1}],frontmatter:{},version:"",_relativePath:"en/guide/faq/test.mdx"},{title:"Quick Start",routePath:"/module-tools/en/guide/intro/getting-started",lang:"en",toc:[{text:"3 minute demo",id:"3-minute-demo",depth:2,charIndex:3},{text:"Create new project",id:"create-new-project",depth:3,charIndex:209},{text:"Add to an existing project",id:"add-to-an-existing-project",depth:3,charIndex:855},{text:"Core npm Package",id:"core-npm-package",depth:3,charIndex:1577},{text:"View official example",id:"view-official-example",depth:3,charIndex:2272},{text:"Let\\'s get started",id:"lets-get-started",depth:2,charIndex:2407}],frontmatter:{sidebar_position:3},version:"",_relativePath:"en/guide/intro/getting-started.mdx"},{title:"Welcome to Modern.js Module",routePath:"/module-tools/en/guide/intro/welcome",lang:"en",toc:[],frontmatter:{sidebar_position:1},version:"",_relativePath:"en/guide/intro/welcome.md"},{title:"Why you need Modern.js Module",routePath:"/module-tools/en/guide/intro/why-module-engineering-solution",lang:"en",toc:[],frontmatter:{sidebar_position:2},version:"",_relativePath:"en/guide/intro/why-module-engineering-solution.md"},{title:"index",routePath:"/module-tools/en/",lang:"en",toc:[],frontmatter:{pageType:"home",hero:{name:"Modern.js Module",text:"Module engineering solutions",tagline:"simple, powerful, high-performance modern npm package development solution",actions:[{theme:"brand",text:"Welcome",link:"/en/guide/intro/welcome"},{theme:"alt",text:"Quick Start",link:"/en/guide/intro/getting-started"}]},features:[{title:"esbuild: The High Performance JS Bundler",details:"Built on esbuild, the build is extremely fast and gives you the ultimate development experience.",icon:"\uD83D\uDE80"},{title:"Two build modes",details:"Both bundle and bundleless build modes are supported.",icon:"\u2728"},{title:"Out of the box",details:"Develop your npm packages without too much configuration, with built-in presets covering a wide range of scenarios.",icon:"\uD83D\uDEE0\uFE0F"},{title:"Extensible: Provides a powerful plugin mechanism",details:"With its plugin extension mechanism, you can easily extend the capabilities of Modern.js Module.",icon:"\uD83C\uDFA8"},{title:"Storybook: The community popular UI development tool",details:"Integrated with Storybook, you can use it to debug UI.",icon:"\uD83D\uDCE6"},{title:"Jest: Delightful Testing Framework",details:"Jest integration makes it easier to test code\u3002",icon:"\uD83D\uDCD0"}]},version:"",_relativePath:"en/index.md"},{title:"Quick Start",routePath:"/module-tools/en/plugins/guide/getting-started",lang:"en",toc:[],frontmatter:{sidebar_position:1},version:"",_relativePath:"en/plugins/guide/getting-started.mdx"},{title:"Plugin Object",routePath:"/module-tools/en/plugins/guide/plugin-object",lang:"en",toc:[{text:"Plugin type definitions",id:"plugin-type-definitions",depth:2,charIndex:570},{text:"Plugin configuration options",id:"plugin-configuration-options",depth:2,charIndex:741}],frontmatter:{sidebar_position:2},version:"",_relativePath:"en/plugins/guide/plugin-object.mdx"},{title:"Setup function",routePath:"/module-tools/en/plugins/guide/setup-function",lang:"en",toc:[{text:"Plugin API objects",id:"plugin-api-objects",depth:2,charIndex:173},{text:"api.useAppContext",id:"apiuseappcontext",depth:3,charIndex:396},{text:"api.useResolvedConfigContext",id:"apiuseresolvedconfigcontext",depth:3,charIndex:698},{text:"api.useHookRunners",id:"apiusehookrunners",depth:3,charIndex:887},{text:"Asynchronous setup",id:"asynchronous-setup",depth:2,charIndex:993},{text:"Life cycle hooks",id:"life-cycle-hooks",depth:2,charIndex:1434}],frontmatter:{sidebar_position:3},version:"",_relativePath:"en/plugins/guide/setup-function.mdx"},{title:"Overview",routePath:"/module-tools/en/plugins/official-list/overview",lang:"en",toc:[{text:"Official Plugins",id:"official-plugins",depth:2,charIndex:3}],frontmatter:{},version:"",_relativePath:"en/plugins/official-list/overview.md"},{title:"Babel Plugin",routePath:"/module-tools/en/plugins/official-list/plugin-babel",lang:"en",toc:[{text:"Quick start",id:"quick-start",depth:2,charIndex:110},{text:"Install",id:"install",depth:3,charIndex:125},{text:"Register",id:"register",depth:3,charIndex:136},{text:"Config",id:"config",depth:2,charIndex:372}],frontmatter:{},version:"",_relativePath:"en/plugins/official-list/plugin-babel.mdx"},{title:"Banner Plugin",routePath:"/module-tools/en/plugins/official-list/plugin-banner",lang:"en",toc:[{text:"Quick Start",id:"quick-start",depth:2,charIndex:89},{text:"Install",id:"install",depth:3,charIndex:104},{text:"Register",id:"register",depth:3,charIndex:115},{text:"Example",id:"example",depth:2,charIndex:271},{text:"Add copyright information at the top of a JS file",id:"add-copyright-information-at-the-top-of-a-js-file",depth:3,charIndex:282},{text:"Configuration",id:"configuration",depth:2,charIndex:337},{text:"banner",id:"banner",depth:3,charIndex:365},{text:"footer",id:"footer",depth:3,charIndex:505}],frontmatter:{},version:"",_relativePath:"en/plugins/official-list/plugin-banner.mdx"},{title:"Import Plugin",routePath:"/module-tools/en/plugins/official-list/plugin-import",lang:"en",toc:[{text:"Quick Start",id:"quick-start",depth:2,charIndex:230},{text:"Install",id:"install",depth:3,charIndex:245},{text:"Register",id:"register",depth:3,charIndex:256},{text:"Configurations",id:"configurations",depth:2,charIndex:413},{text:"pluginImport",id:"pluginimport",depth:3,charIndex:443},{text:"Notes",id:"notes",depth:2,charIndex:602}],frontmatter:{},version:"",_relativePath:"en/plugins/official-list/plugin-import.mdx"},{title:"Node Polyfill Plugin",routePath:"/module-tools/en/plugins/official-list/plugin-node-polyfill",lang:"en",toc:[{text:"Quick Start",id:"quick-start",depth:2,charIndex:460},{text:"Install",id:"install",depth:3,charIndex:475},{text:"Register",id:"register",depth:3,charIndex:486},{text:"Configurations",id:"configurations",depth:2,charIndex:569},{text:"exclude",id:"exclude",depth:3,charIndex:599},{text:"overrides",id:"overrides",depth:3,charIndex:655},{text:"Node Polyfills",id:"node-polyfills",depth:2,charIndex:708},{text:"Globals",id:"globals",depth:3,charIndex:726},{text:"Modules",id:"modules",depth:3,charIndex:877},{text:"Fallbacks",id:"fallbacks",depth:3,charIndex:1336}],frontmatter:{},version:"",_relativePath:"en/plugins/official-list/plugin-node-polyfill.mdx"},{title:"Polyfill Plugin",routePath:"/module-tools/en/plugins/official-list/plugin-polyfill",lang:"en",toc:[{text:"Quick start",id:"quick-start",depth:2,charIndex:497},{text:"Install",id:"install",depth:3,charIndex:512},{text:"Register",id:"register",depth:3,charIndex:523},{text:"Config",id:"config",depth:2,charIndex:778},{text:"targets",id:"targets",depth:3,charIndex:799}],frontmatter:{},version:"",_relativePath:"en/plugins/official-list/plugin-polyfill.mdx"},{title:"Vue Plugin",routePath:"/module-tools/en/plugins/official-list/plugin-vue",lang:"en",toc:[{text:"Quick start",id:"quick-start",depth:2,charIndex:547},{text:"Install",id:"install",depth:3,charIndex:562},{text:"Register",id:"register",depth:3,charIndex:573},{text:"Options",id:"options",depth:2,charIndex:656},{text:"vueJsxPluginOptions",id:"vuejsxpluginoptions",depth:3,charIndex:667}],frontmatter:{},version:"",_relativePath:"en/plugins/official-list/plugin-vue.mdx"},{title:"buildConfig",routePath:"/module-tools/api/config/build-config",lang:"zh",toc:[{text:"alias",id:"alias",depth:2,charIndex:141},{text:"asset",id:"asset",depth:2,charIndex:483},{text:"asset.path",id:"assetpath",depth:2,charIndex:506},{text:"asset.limit",id:"assetlimit",depth:2,charIndex:577},{text:"asset.publicPath",id:"assetpublicpath",depth:2,charIndex:805},{text:"asset.svgr",id:"assetsvgr",depth:2,charIndex:912},{text:"asset.svgr.include",id:"assetsvgrinclude",depth:2,charIndex:1164},{text:"asset.svgr.exclude",id:"assetsvgrexclude",depth:2,charIndex:1263},{text:"asset.svgr.exportType",id:"assetsvgrexporttype",depth:2,charIndex:1364},{text:"autoExtension",id:"autoextension",depth:2,charIndex:1555},{text:"autoExternal",id:"autoexternal",depth:2,charIndex:2146},{text:"autoExternal.dependencies",id:"autoexternaldependencies",depth:2,charIndex:2423},{text:"autoExternal.peerDependencies",id:"autoexternalpeerdependencies",depth:2,charIndex:2511},{text:"banner",id:"banner",depth:2,charIndex:2607},{text:"buildType",id:"buildtype",depth:2,charIndex:2737},{text:"copy",id:"copy",depth:2,charIndex:2840},{text:"copy.patterns",id:"copypatterns",depth:2,charIndex:2881},{text:"copy.options",id:"copyoptions",depth:2,charIndex:2933},{text:"define",id:"define",depth:2,charIndex:3094},{text:"dts",id:"dts",depth:2,charIndex:3488},{text:"dts.abortOnError",id:"dtsabortonerror",depth:2,charIndex:3550},{text:"dts.distPath",id:"dtsdistpath",depth:2,charIndex:3783},{text:"dts.enableTscBuild",id:"dtsenabletscbuild",depth:2,charIndex:3882},{text:"dts.only",id:"dtsonly",depth:2,charIndex:4105},{text:"dts.respectExternal",id:"dtsrespectexternal",depth:2,charIndex:4185},{text:"dts.tsconfigPath",id:"dtstsconfigpath",depth:2,charIndex:4404},{text:"esbuildOptions",id:"esbuildoptions",depth:2,charIndex:4476},{text:"externalHelpers",id:"externalhelpers",depth:2,charIndex:4982},{text:"externals",id:"externals",depth:2,charIndex:5190},{text:"footer",id:"footer",depth:2,charIndex:5306},{text:"format",id:"format",depth:2,charIndex:5344},{text:"format: esm",id:"format-esm",depth:3,charIndex:5469},{text:"format: cjs",id:"format-cjs",depth:3,charIndex:5548},{text:"format: iife",id:"format-iife",depth:3,charIndex:5646},{text:"format: umd",id:"format-umd",depth:3,charIndex:5747},{text:"hooks",id:"hooks",depth:2,charIndex:5900},{text:"input",id:"input",depth:2,charIndex:6048},{text:"jsx",id:"jsx",depth:2,charIndex:6513},{text:"metafile",id:"metafile",depth:2,charIndex:6836},{text:"minify",id:"minify",depth:2,charIndex:7074},{text:"outDir",id:"outdir",depth:2,charIndex:7194},{text:"platform",id:"platform",depth:2,charIndex:7248},{text:"redirect",id:"redirect",depth:2,charIndex:7382},{text:"resolve",id:"resolve",depth:2,charIndex:7613},{text:"resolve.mainFields",id:"resolvemainfields",depth:3,charIndex:7635},{text:"resolve.jsExtentions",id:"resolvejsextentions",depth:3,charIndex:7952},{text:"shims",id:"shims",depth:2,charIndex:8209},{text:"sideEffects",id:"sideeffects",depth:2,charIndex:8476},{text:"sourceDir",id:"sourcedir",depth:2,charIndex:8918},{text:"sourceMap",id:"sourcemap",depth:2,charIndex:9034},{text:"sourceType",id:"sourcetype",depth:2,charIndex:9121},{text:"splitting",id:"splitting",depth:2,charIndex:9279},{text:"style",id:"style",depth:2,charIndex:9392},{text:"style.less",id:"styleless",depth:2,charIndex:9413},{text:"style.less.lessOptions",id:"stylelesslessoptions",depth:2,charIndex:9439},{text:"style.less.additionalData",id:"stylelessadditionaldata",depth:2,charIndex:9530},{text:"style.less.implementation",id:"stylelessimplementation",depth:2,charIndex:9614},{text:"sass",id:"sass",depth:2,charIndex:9789},{text:"style.sass.sassOptions",id:"stylesasssassoptions",depth:2,charIndex:9809},{text:"style.sass.additionalData",id:"stylesassadditionaldata",depth:2,charIndex:9879},{text:"style.sass.implementation",id:"stylesassimplementation",depth:2,charIndex:9974},{text:"style.postcss",id:"stylepostcss",depth:2,charIndex:10150},{text:"style.inject",id:"styleinject",depth:2,charIndex:10309},{text:"style.autoModules",id:"styleautomodules",depth:2,charIndex:10805},{text:"style.modules",id:"stylemodules",depth:2,charIndex:11039},{text:"style.tailwindcss",id:"styletailwindcss",depth:2,charIndex:11218},{text:"\u542F\u7528 Tailwind CSS",id:"\u542F\u7528-tailwind-css",depth:3,charIndex:11300},{text:"\u7C7B\u578B",id:"\u7C7B\u578B",depth:3,charIndex:11420},{text:"\u6CE8\u610F\u4E8B\u9879",id:"\u6CE8\u610F\u4E8B\u9879",depth:3,charIndex:11551},{text:"target",id:"target",depth:2,charIndex:11841},{text:"transformImport",id:"transformimport",depth:2,charIndex:12007},{text:"transformLodash",id:"transformlodash",depth:2,charIndex:12203},{text:"tsconfig",id:"tsconfig",depth:2,charIndex:12445},{text:"umdGlobals",id:"umdglobals",depth:2,charIndex:12533},{text:"umdModuleName",id:"umdmodulename",depth:2,charIndex:12693}],frontmatter:{sidebar_position:1},version:"",_relativePath:"zh/api/config/build-config.mdx"},{title:"buildPreset",routePath:"/module-tools/api/config/build-preset",lang:"zh",toc:[{text:"npm-library",id:"npm-library",depth:2,charIndex:76},{text:"npm-library-with-umd",id:"npm-library-with-umd",depth:2,charIndex:222},{text:"npm-component",id:"npm-component",depth:2,charIndex:343},{text:"npm-component-with-umd",id:"npm-component-with-umd",depth:2,charIndex:503},{text:"npm-library-{es5...esnext}",id:"npm-library-es5esnext",depth:2,charIndex:610},{text:"string / function",id:"string--function",depth:2,charIndex:835}],frontmatter:{sidebar_position:2},version:"",_relativePath:"zh/api/config/build-preset.mdx"},{title:"dev",routePath:"/module-tools/api/config/dev",lang:"zh",toc:[{text:"storybook",id:"storybook",depth:2,charIndex:43},{text:"storybook.webpack",id:"storybookwebpack",depth:3,charIndex:118},{text:"\u914D\u7F6E Manager App",id:"\u914D\u7F6E-manager-app",depth:4,charIndex:314},{text:"storybook.webpackChain",id:"storybookwebpackchain",depth:3,charIndex:417}],frontmatter:{sidebar_position:3},version:"",_relativePath:"zh/api/config/dev.md"},{title:"plugins",routePath:"/module-tools/api/config/plugins",lang:"zh",toc:[{text:"\u63D2\u4EF6\u6267\u884C\u987A\u5E8F",id:"\u63D2\u4EF6\u6267\u884C\u987A\u5E8F",depth:2,charIndex:79},{text:"\u5F00\u53D1\u63D2\u4EF6",id:"\u5F00\u53D1\u63D2\u4EF6",depth:2,charIndex:221},{text:"\u793A\u4F8B",id:"\u793A\u4F8B",depth:2,charIndex:253},{text:"\u4F7F\u7528 npm \u4E0A\u7684\u63D2\u4EF6",id:"\u4F7F\u7528-npm-\u4E0A\u7684\u63D2\u4EF6",depth:3,charIndex:259},{text:"\u4F7F\u7528\u672C\u5730\u63D2\u4EF6",id:"\u4F7F\u7528\u672C\u5730\u63D2\u4EF6",depth:4,charIndex:316},{text:"\u63D2\u4EF6\u914D\u7F6E\u9879",id:"\u63D2\u4EF6\u914D\u7F6E\u9879",depth:3,charIndex:364}],frontmatter:{sidebar_position:4},version:"",_relativePath:"zh/api/config/plugins.md"},{title:"testing",routePath:"/module-tools/api/config/testing",lang:"zh",toc:[{text:"jest",id:"jest",depth:2,charIndex:55},{text:"transformer",id:"transformer",depth:2,charIndex:202}],frontmatter:{sidebar_position:5},version:"",_relativePath:"zh/api/config/testing.md"},{title:"\u6982\u89C8",routePath:"/module-tools/api/",lang:"zh",toc:[],frontmatter:{overview:!0,sidebar_label:"\u6982\u89C8",sidebar_position:1},version:"",_relativePath:"zh/api/index.md"},{title:"Plugin Hooks",routePath:"/module-tools/api/plugin-api/plugin-hooks",lang:"zh",toc:[{text:"\u914D\u7F6E\u94A9\u5B50",id:"\u914D\u7F6E\u94A9\u5B50",depth:2,charIndex:209},{text:"resolveModuleUserConfig",id:"resolvemoduleuserconfig",depth:3,charIndex:217},{text:"\u6784\u5EFA\u94A9\u5B50",id:"\u6784\u5EFA\u94A9\u5B50",depth:2,charIndex:276},{text:"beforeBuild",id:"beforebuild",depth:3,charIndex:385},{text:"beforeBuildTask",id:"beforebuildtask",depth:3,charIndex:474},{text:"afterBuildTask",id:"afterbuildtask",depth:3,charIndex:579},{text:"afterBuild",id:"afterbuild",depth:3,charIndex:649},{text:"buildPlatform \u94A9\u5B50",id:"buildplatform-\u94A9\u5B50",depth:2,charIndex:713},{text:"registerBuildPlatform",id:"registerbuildplatform",depth:3,charIndex:1028},{text:"beforeBuildPlatform",id:"beforebuildplatform",depth:3,charIndex:1109},{text:"buildPlatform",id:"buildplatform",depth:3,charIndex:1228},{text:"afterBuildPlatform",id:"afterbuildplatform",depth:3,charIndex:1334},{text:"\u8C03\u8BD5\u94A9\u5B50",id:"\u8C03\u8BD5\u94A9\u5B50",depth:2,charIndex:1459},{text:"registerDev",id:"registerdev",depth:3,charIndex:1688},{text:"beforeDev",id:"beforedev",depth:3,charIndex:1825},{text:"(before|after)DevMenu",id:"beforeafterdevmenu",depth:3,charIndex:1886},{text:"beforeDevTask",id:"beforedevtask",depth:3,charIndex:2022},{text:"afterDev",id:"afterdev",depth:3,charIndex:2069}],frontmatter:{},version:"",_relativePath:"zh/api/plugin-api/plugin-hooks.md"},{title:"",routePath:"/module-tools/components/faq-build-exception",lang:"zh",toc:[],frontmatter:{},version:"",_relativePath:"zh/components/faq-build-exception.mdx"},{title:"",routePath:"/module-tools/components/faq-build-other",lang:"zh",toc:[],frontmatter:{},version:"",_relativePath:"zh/components/faq-build-other.mdx"},{title:"",routePath:"/module-tools/components/faq-build-product",lang:"zh",toc:[],frontmatter:{},version:"",_relativePath:"zh/components/faq-build-product.mdx"},{title:"",routePath:"/module-tools/components/faq-storybook",lang:"zh",toc:[],frontmatter:{},version:"",_relativePath:"zh/components/faq-storybook.mdx"},{title:"",routePath:"/module-tools/components/faq-test",lang:"zh",toc:[],frontmatter:{},version:"",_relativePath:"zh/components/faq-test.mdx"},{title:"",routePath:"/module-tools/components/publish-emo",lang:"zh",toc:[],frontmatter:{},version:"",_relativePath:"zh/components/publish-emo.mdx"},{title:"",routePath:"/module-tools/components/register-esbuild-plugin",lang:"zh",toc:[],frontmatter:{},version:"",_relativePath:"zh/components/register-esbuild-plugin.mdx"},{title:"",routePath:"/module-tools/components/release-module-doc",lang:"zh",toc:[],frontmatter:{},version:"",_relativePath:"zh/components/release-module-doc.mdx"},{title:"\u5904\u7406\u9759\u6001\u8D44\u6E90",routePath:"/module-tools/guide/advance/asset",lang:"zh",toc:[{text:"\u9ED8\u8BA4\u884C\u4E3A",id:"\u9ED8\u8BA4\u884C\u4E3A",depth:2,charIndex:74},{text:"\u793A\u4F8B",id:"\u793A\u4F8B",depth:2,charIndex:355}],frontmatter:{sidebar_position:7},version:"",_relativePath:"zh/guide/advance/asset.mdx"},{title:"\u6784\u5EFA umd \u4EA7\u7269",routePath:"/module-tools/guide/advance/build-umd",lang:"zh",toc:[{text:"umd \u4EA7\u7269\u7684\u7B2C\u4E09\u65B9\u4F9D\u8D56\u5904\u7406",id:"umd-\u4EA7\u7269\u7684\u7B2C\u4E09\u65B9\u4F9D\u8D56\u5904\u7406",depth:2,charIndex:181},{text:"\u793A\u4F8B",id:"\u793A\u4F8B",depth:3,charIndex:302},{text:"\u4E09\u65B9\u4F9D\u8D56\u7684\u5168\u5C40\u53D8\u91CF\u540D\u79F0",id:"\u4E09\u65B9\u4F9D\u8D56\u7684\u5168\u5C40\u53D8\u91CF\u540D\u79F0",depth:3,charIndex:556},{text:"\u66F4\u6539\u9879\u76EE\u7684\u5168\u5C40\u53D8\u91CF\u540D\u79F0",id:"\u66F4\u6539\u9879\u76EE\u7684\u5168\u5C40\u53D8\u91CF\u540D\u79F0",depth:2,charIndex:836}],frontmatter:{sidebar_position:5},version:"",_relativePath:"zh/guide/advance/build-umd.mdx"},{title:"\u4F7F\u7528 Copy \u5DE5\u5177",routePath:"/module-tools/guide/advance/copy",lang:"zh",toc:[{text:"\u4E86\u89E3 Copy API",id:"\u4E86\u89E3-copy-api",depth:2,charIndex:72},{text:"API \u8BE6\u89E3",id:"api-\u8BE6\u89E3",depth:2,charIndex:165},{text:"\u4E0D\u540C\u573A\u666F\u4F7F\u7528\u793A\u4F8B",id:"\u4E0D\u540C\u573A\u666F\u4F7F\u7528\u793A\u4F8B",depth:2,charIndex:826},{text:"\u5C06\u6587\u4EF6\u590D\u5236\u6587\u4EF6",id:"\u5C06\u6587\u4EF6\u590D\u5236\u6587\u4EF6",depth:3,charIndex:838},{text:"\u5C06\u6587\u4EF6\u590D\u5236\u5230\u76EE\u5F55",id:"\u5C06\u6587\u4EF6\u590D\u5236\u5230\u76EE\u5F55",depth:3,charIndex:851},{text:"\u4ECE\u76EE\u5F55\u590D\u5236\u5230\u76EE\u5F55",id:"\u4ECE\u76EE\u5F55\u590D\u5236\u5230\u76EE\u5F55",depth:3,charIndex:865},{text:"\u4ECE\u76EE\u5F55\u5230\u6587\u4EF6",id:"\u4ECE\u76EE\u5F55\u5230\u6587\u4EF6",depth:3,charIndex:879},{text:"\u4F7F\u7528 Glob",id:"\u4F7F\u7528-glob",depth:3,charIndex:891}],frontmatter:{sidebar_position:3},version:"",_relativePath:"zh/guide/advance/copy.md"},{title:"\u5904\u7406\u4E09\u65B9\u4F9D\u8D56",routePath:"/module-tools/guide/advance/external-dependency",lang:"zh",toc:[{text:"\u7B2C\u4E09\u65B9\u4F9D\u8D56\u7684\u9ED8\u8BA4\u5904\u7406",id:"\u7B2C\u4E09\u65B9\u4F9D\u8D56\u7684\u9ED8\u8BA4\u5904\u7406",depth:2,charIndex:264},{text:"\u793A\u4F8B",id:"\u793A\u4F8B",depth:3,charIndex:521},{text:"\u6392\u9664\u6307\u5B9A\u7B2C\u4E09\u65B9\u4F9D\u8D56",id:"\u6392\u9664\u6307\u5B9A\u7B2C\u4E09\u65B9\u4F9D\u8D56",depth:2,charIndex:652}],frontmatter:{sidebar_position:4},version:"",_relativePath:"zh/guide/advance/external-dependency.mdx"},{title:"\u6DF1\u5165\u7406\u89E3\u6784\u5EFA",routePath:"/module-tools/guide/advance/in-depth-about-build",lang:"zh",toc:[{text:"bundle / bundleless",id:"bundle--bundleless",depth:2,charIndex:195},{text:"input / sourceDir",id:"input--sourcedir",depth:2,charIndex:732},{text:"\u4F7F\u7528 swc",id:"\u4F7F\u7528-swc",depth:2,charIndex:1281},{text:"\u4F7F\u7528 Hook \u4ECB\u5165\u6784\u5EFA\u6D41\u7A0B",id:"\u4F7F\u7528-hook-\u4ECB\u5165\u6784\u5EFA\u6D41\u7A0B",depth:2,charIndex:1762},{text:"Hook \u7C7B\u578B",id:"hook-\u7C7B\u578B",depth:3,charIndex:1936},{text:"AsyncSeriesBailHook",id:"asyncseriesbailhook",depth:4,charIndex:1946},{text:"AsyncSeriesWaterFallHooks",id:"asyncserieswaterfallhooks",depth:4,charIndex:2048},{text:"Hook API",id:"hook-api",depth:3,charIndex:2117},{text:"load",id:"load",depth:4,charIndex:2128},{text:"transform",id:"transform",depth:4,charIndex:2236},{text:"renderChunk",id:"renderchunk",depth:4,charIndex:2358},{text:"\u7C7B\u578B\u6587\u4EF6\u751F\u6210",id:"\u7C7B\u578B\u6587\u4EF6\u751F\u6210",depth:2,charIndex:2500},{text:"\u5173\u95ED\u7C7B\u578B\u751F\u6210",id:"\u5173\u95ED\u7C7B\u578B\u751F\u6210",depth:3,charIndex:2542},{text:"\u6253\u5305\u7C7B\u578B\u6587\u4EF6",id:"\u6253\u5305\u7C7B\u578B\u6587\u4EF6",depth:3,charIndex:2619},{text:"\u522B\u540D\u8F6C\u6362",id:"\u522B\u540D\u8F6C\u6362",depth:3,charIndex:3090},{text:"\u4E00\u4E9B\u793A\u4F8B",id:"\u4E00\u4E9B\u793A\u4F8B",depth:3,charIndex:3208},{text:"\u6784\u5EFA\u8FC7\u7A0B",id:"\u6784\u5EFA\u8FC7\u7A0B",depth:2,charIndex:3220},{text:"\u6784\u5EFA\u62A5\u9519",id:"\u6784\u5EFA\u62A5\u9519",depth:2,charIndex:3394},{text:"\u8C03\u8BD5\u6A21\u5F0F",id:"\u8C03\u8BD5\u6A21\u5F0F",depth:2,charIndex:3567}],frontmatter:{sidebar_position:1},version:"",_relativePath:"zh/guide/advance/in-depth-about-build.md"},{title:"\u6DF1\u5165\u7406\u89E3 dev \u547D\u4EE4",routePath:"/module-tools/guide/advance/in-depth-about-dev-command",lang:"zh",toc:[{text:"\u547D\u4EE4\u8FD0\u884C\u7684\u6574\u4F53\u6D41\u7A0B",id:"\u547D\u4EE4\u8FD0\u884C\u7684\u6574\u4F53\u6D41\u7A0B",depth:2,charIndex:42},{text:"\u6269\u5C55 dev \u547D\u4EE4",id:"\u6269\u5C55-dev-\u547D\u4EE4",depth:2,charIndex:333}],frontmatter:{sidebar_position:2},version:"",_relativePath:"zh/guide/advance/in-depth-about-dev-command.md"},{title:"\u5F00\u59CB\u4E4B\u524D",routePath:"/module-tools/guide/basic/before-getting-started",lang:"zh",toc:[{text:"\u73AF\u5883\u51C6\u5907",id:"\u73AF\u5883\u51C6\u5907",depth:2,charIndex:3},{text:"\u521D\u8BC6 npm",id:"\u521D\u8BC6-npm",depth:2,charIndex:188},{text:"npm \u5305\u7C7B\u578B\u9879\u76EE",id:"npm-\u5305\u7C7B\u578B\u9879\u76EE",depth:2,charIndex:391},{text:"\u4F7F\u7528\u7B2C\u4E09\u65B9 npm \u5305",id:"\u4F7F\u7528\u7B2C\u4E09\u65B9-npm-\u5305",depth:2,charIndex:818},{text:"\u8FD8\u9700\u8981\u4E86\u89E3\u7684 npm \u96F6\u788E\u77E5\u8BC6",id:"\u8FD8\u9700\u8981\u4E86\u89E3\u7684-npm-\u96F6\u788E\u77E5\u8BC6",depth:2,charIndex:1602},{text:"npm \u5305\u7684\u7A0B\u5E8F\u5165\u53E3",id:"npm-\u5305\u7684\u7A0B\u5E8F\u5165\u53E3",depth:3,charIndex:1621},{text:'\\"scripts\\"',id:"scripts",depth:3,charIndex:2042},{text:"npm install",id:"npm-install",depth:4,charIndex:2403},{text:"npm publish",id:"npm-publish",depth:4,charIndex:2667},{text:"peerDependencies",id:"peerdependencies",depth:3,charIndex:2827},{text:"npm \u5305\u7BA1\u7406\u5668",id:"npm-\u5305\u7BA1\u7406\u5668",depth:2,charIndex:3141},{text:"Modern.js Module \u914D\u7F6E\u6587\u4EF6",id:"modernjs-module-\u914D\u7F6E\u6587\u4EF6",depth:2,charIndex:3249}],frontmatter:{sidebar_position:1},version:"",_relativePath:"zh/guide/basic/before-getting-started.md"},{title:"CLI \u547D\u4EE4",routePath:"/module-tools/guide/basic/command-preview",lang:"zh",toc:[{text:"modern build",id:"modern-build",depth:2,charIndex:39},{text:"modern new",id:"modern-new",depth:2,charIndex:183},{text:"modern dev",id:"modern-dev",depth:2,charIndex:357},{text:"modern test",id:"modern-test",depth:2,charIndex:594},{text:"modern lint",id:"modern-lint",depth:2,charIndex:720},{text:"modern change",id:"modern-change",depth:2,charIndex:854},{text:"modern pre",id:"modern-pre",depth:2,charIndex:923},{text:"modern bump",id:"modern-bump",depth:2,charIndex:973},{text:"modern release",id:"modern-release",depth:2,charIndex:1070},{text:"modern gen-release-note",id:"modern-gen-release-note",depth:2,charIndex:1167},{text:"modern upgrade",id:"modern-upgrade",depth:2,charIndex:1259}],frontmatter:{sidebar_position:2},version:"",_relativePath:"zh/guide/basic/command-preview.md"},{title:"\u4FEE\u6539\u8F93\u51FA\u4EA7\u7269",routePath:"/module-tools/guide/basic/modify-output-product",lang:"zh",toc:[{text:"\u9ED8\u8BA4\u8F93\u51FA\u4EA7\u7269",id:"\u9ED8\u8BA4\u8F93\u51FA\u4EA7\u7269",depth:2,charIndex:3},{text:"\u6784\u5EFA\u9884\u8BBE",id:"\u6784\u5EFA\u9884\u8BBE",depth:2,charIndex:344},{text:"\u6784\u5EFA\u914D\u7F6E",id:"\u6784\u5EFA\u914D\u7F6E",depth:2,charIndex:662},{text:"\u7ED3\u5408\u914D\u7F6E\u4E0E\u9884\u8BBE",id:"\u7ED3\u5408\u914D\u7F6E\u4E0E\u9884\u8BBE",depth:2,charIndex:1950}],frontmatter:{sidebar_position:3},version:"",_relativePath:"zh/guide/basic/modify-output-product.md"},{title:"\u7248\u672C\u7BA1\u7406\u4E0E\u53D1\u5E03",routePath:"/module-tools/guide/basic/publish-your-project",lang:"zh",toc:[{text:"\u8DDF\u8E2A\u53D8\u66F4",id:"\u8DDF\u8E2A\u53D8\u66F4",depth:2,charIndex:234},{text:"\u7248\u672C\u66F4\u65B0",id:"\u7248\u672C\u66F4\u65B0",depth:2,charIndex:522},{text:"\u53D1\u5E03",id:"\u53D1\u5E03",depth:2,charIndex:731},{text:"\u9884\u53D1\u5E03",id:"\u9884\u53D1\u5E03",depth:2,charIndex:1043}],frontmatter:{sidebar_position:7},version:"",_relativePath:"zh/guide/basic/publish-your-project.mdx"},{title:"\u6D4B\u8BD5\u9879\u76EE",routePath:"/module-tools/guide/basic/test-your-project",lang:"zh",toc:[{text:"\u5148\u51B3\u6761\u4EF6\u548C\u7EA6\u5B9A",id:"\u5148\u51B3\u6761\u4EF6\u548C\u7EA6\u5B9A",depth:2,charIndex:21},{text:"\u8FD0\u884C\u6D4B\u8BD5",id:"\u8FD0\u884C\u6D4B\u8BD5",depth:2,charIndex:322},{text:"\u4F7F\u7528\u914D\u7F6E",id:"\u4F7F\u7528\u914D\u7F6E",depth:2,charIndex:399},{text:"\u6D4B\u8BD5\u793A\u4F8B",id:"\u6D4B\u8BD5\u793A\u4F8B",depth:2,charIndex:481},{text:"\u666E\u901A\u6A21\u5757",id:"\u666E\u901A\u6A21\u5757",depth:3,charIndex:489},{text:"\u7EC4\u4EF6",id:"\u7EC4\u4EF6",depth:3,charIndex:650}],frontmatter:{sidebar_position:6},version:"",_relativePath:"zh/guide/basic/test-your-project.mdx"},{title:"\u4F7F\u7528\u5FAE\u751F\u6210\u5668",routePath:"/module-tools/guide/basic/use-micro-generator",lang:"zh",toc:[{text:"\u5F00\u53D1\u6A21\u5757\u6587\u6863",id:"\u5F00\u53D1\u6A21\u5757\u6587\u6863",depth:2,charIndex:166},{text:"Test \u6D4B\u8BD5",id:"test-\u6D4B\u8BD5",depth:2,charIndex:370},{text:"Storybook \u8C03\u8BD5",id:"storybook-\u8C03\u8BD5",depth:2,charIndex:552},{text:"Tailwind CSS \u652F\u6301",id:"tailwind-css-\u652F\u6301",depth:2,charIndex:743},{text:"Modern.js Runtime API \u652F\u6301",id:"modernjs-runtime-api-\u652F\u6301",depth:2,charIndex:891}],frontmatter:{sidebar_position:4},version:"",_relativePath:"zh/guide/basic/use-micro-generator.md"},{title:"\u5F00\u53D1\u6A21\u5757\u6587\u6863",routePath:"/module-tools/guide/basic/use-module-doc",lang:"zh",toc:[{text:"\u5F00\u59CB\u4E4B\u524D",id:"\u5F00\u59CB\u4E4B\u524D",depth:2,charIndex:29},{text:"\u4E3A\u4EC0\u4E48\u6211\u4EEC\u9700\u8981\u4E3A\u6A21\u5757\u642D\u5EFA\u4E00\u4E2A\u6587\u6863\u7AD9\u70B9",id:"\u4E3A\u4EC0\u4E48\u6211\u4EEC\u9700\u8981\u4E3A\u6A21\u5757\u642D\u5EFA\u4E00\u4E2A\u6587\u6863\u7AD9\u70B9",depth:3,charIndex:37},{text:"\u524D\u7F6E\u51C6\u5907",id:"\u524D\u7F6E\u51C6\u5907",depth:3,charIndex:146},{text:"\u7AD9\u70B9\u57FA\u672C\u7ED3\u6784",id:"\u7AD9\u70B9\u57FA\u672C\u7ED3\u6784",depth:2,charIndex:233},{text:"\u914D\u7F6E\u4FA7\u8FB9\u680F",id:"\u914D\u7F6E\u4FA7\u8FB9\u680F",depth:3,charIndex:625},{text:"\u7F16\u5199\u6587\u6863",id:"\u7F16\u5199\u6587\u6863",depth:2,charIndex:830},{text:"\u7EC4\u4EF6\u9884\u89C8",id:"\u7EC4\u4EF6\u9884\u89C8",depth:2,charIndex:916},{text:"\u793A\u4F8B",id:"\u793A\u4F8B",depth:3,charIndex:973},{text:"\u79FB\u52A8\u7AEF\u9884\u89C8",id:"\u79FB\u52A8\u7AEF\u9884\u89C8",depth:3,charIndex:1217},{text:"\u4F7F\u7528\u5916\u90E8 demo",id:"\u4F7F\u7528\u5916\u90E8-demo",depth:3,charIndex:1370},{text:"\u4F7F\u7528\u5185\u7F6E\u7EC4\u4EF6",id:"\u4F7F\u7528\u5185\u7F6E\u7EC4\u4EF6",depth:2,charIndex:1462},{text:"API",id:"api",depth:3,charIndex:1506},{text:"\u89E3\u6790\u6587\u4EF6",id:"\u89E3\u6790\u6587\u4EF6",depth:4,charIndex:1526},{text:"\u5185\u5BB9\u751F\u6210",id:"\u5185\u5BB9\u751F\u6210",depth:4,charIndex:1564},{text:"\u7EC4\u4EF6\u4F7F\u7528",id:"\u7EC4\u4EF6\u4F7F\u7528",depth:4,charIndex:2033},{text:"Overview",id:"overview",depth:3,charIndex:2093},{text:"\u63D2\u4EF6\u914D\u7F6E",id:"\u63D2\u4EF6\u914D\u7F6E",depth:2,charIndex:2361},{text:"apiParseTool",id:"apiparsetool",depth:3,charIndex:2369},{text:"doc",id:"doc",depth:3,charIndex:2479},{text:"entries",id:"entries",depth:3,charIndex:2494},{text:"iframePosition",id:"iframeposition",depth:3,charIndex:2597},{text:"parseToolOptions",id:"parsetooloptions",depth:3,charIndex:2750},{text:"previewMode",id:"previewmode",depth:3,charIndex:2819},{text:"deprecated: languages",id:"deprecated-languages",depth:3,charIndex:2937},{text:"deprecated: useModuleSidebar",id:"deprecated-usemodulesidebar",depth:3,charIndex:3004},{text:"\u547D\u4EE4\u884C",id:"\u547D\u4EE4\u884C",depth:2,charIndex:3113},{text:"\u8FDB\u9636\u6307\u5357",id:"\u8FDB\u9636\u6307\u5357",depth:2,charIndex:3185}],frontmatter:{sidebar_position:5},version:"",_relativePath:"zh/guide/basic/use-module-doc.mdx"},{title:"\u4F7F\u7528 Storybook",routePath:"/module-tools/guide/basic/using-storybook",lang:"zh",toc:[{text:"V7 (\u63A8\u8350)",id:"v7-\u63A8\u8350",depth:2,charIndex:239},{text:"\u5F00\u542F Storybook",id:"\u5F00\u542F-storybook",depth:3,charIndex:250},{text:"\u5F00\u542F\u4EA7\u7269\u8C03\u8BD5",id:"\u5F00\u542F\u4EA7\u7269\u8C03\u8BD5",depth:3,charIndex:492},{text:"\u5F00\u542F Rspack \u6784\u5EFA",id:"\u5F00\u542F-rspack-\u6784\u5EFA",depth:3,charIndex:946},{text:"\u914D\u7F6E",id:"\u914D\u7F6E",depth:3,charIndex:1095},{text:"bundler",id:"bundler",depth:4,charIndex:1134},{text:"builderConfig",id:"builderconfig",depth:4,charIndex:1222},{text:"\u547D\u4EE4\u884C",id:"\u547D\u4EE4\u884C",depth:3,charIndex:1356},{text:"storybook dev",id:"storybook-dev",depth:4,charIndex:1409},{text:"storybook build",id:"storybook-build",depth:4,charIndex:1444},{text:"\u914D\u7F6E\u6587\u4EF6",id:"\u914D\u7F6E\u6587\u4EF6",depth:3,charIndex:1490},{text:"\u4ECE V6 \u8FC1\u79FB\u81F3 V7",id:"\u4ECE-v6-\u8FC1\u79FB\u81F3-v7",depth:2,charIndex:1574},{text:"V6 (legacy)",id:"v6-legacy",depth:2,charIndex:2037},{text:"\u5F00\u542F Storybook",id:"\u5F00\u542F-storybook-1",depth:3,charIndex:2178},{text:"\u914D\u7F6E Storybook",id:"\u914D\u7F6E-storybook",depth:3,charIndex:2358},{text:"\u6784\u5EFA Storybook \u4EA7\u7269",id:"\u6784\u5EFA-storybook-\u4EA7\u7269",depth:3,charIndex:2705}],frontmatter:{sidebar_position:5},version:"",_relativePath:"zh/guide/basic/using-storybook.mdx"},{title:"\u5F00\u53D1\u7EC4\u4EF6",routePath:"/module-tools/guide/best-practices/components",lang:"zh",toc:[{text:"\u521D\u59CB\u5316\u9879\u76EE",id:"\u521D\u59CB\u5316\u9879\u76EE",depth:2,charIndex:40},{text:"\u4F7F\u7528 Storybook \u8C03\u8BD5\u4EE3\u7801",id:"\u4F7F\u7528-storybook-\u8C03\u8BD5\u4EE3\u7801",depth:2,charIndex:166},{text:"\u5F00\u53D1\u6837\u5F0F",id:"\u5F00\u53D1\u6837\u5F0F",depth:2,charIndex:227},{text:"CSS/PostCSS",id:"csspostcss",depth:3,charIndex:335},{text:"Less",id:"less",depth:3,charIndex:587},{text:"Sass/Scss",id:"sassscss",depth:3,charIndex:680},{text:"Tailwind CSS",id:"tailwind-css",depth:3,charIndex:784},{text:"CSS Modules",id:"css-modules",depth:3,charIndex:832},{text:"\u914D\u7F6E\u6784\u5EFA\u4EA7\u7269",id:"\u914D\u7F6E\u6784\u5EFA\u4EA7\u7269",depth:2,charIndex:1071},{text:"\u6D4B\u8BD5\u7EC4\u4EF6",id:"\u6D4B\u8BD5\u7EC4\u4EF6",depth:2,charIndex:1431},{text:"\u53D1\u5E03\u7EC4\u4EF6",id:"\u53D1\u5E03\u7EC4\u4EF6",depth:2,charIndex:1465}],frontmatter:{sidebar_position:1},version:"",_relativePath:"zh/guide/best-practices/components.mdx"},{title:"\u4F7F\u7528 Tailwind CSS",routePath:"/module-tools/guide/best-practices/use-tailwindcss",lang:"zh",toc:[{text:"\u542F\u7528 Tailwind CSS",id:"\u542F\u7528-tailwind-css",depth:2,charIndex:127},{text:"\u914D\u7F6E Tailwind CSS",id:"\u914D\u7F6E-tailwind-css",depth:2,charIndex:585},{text:"Tailwind CSS \u81EA\u52A8\u8865\u5168",id:"tailwind-css-\u81EA\u52A8\u8865\u5168",depth:2,charIndex:1047},{text:"\u6784\u5EFA\u6A21\u5F0F",id:"\u6784\u5EFA\u6A21\u5F0F",depth:2,charIndex:1360},{text:"Bundle \u6A21\u5F0F",id:"bundle-\u6A21\u5F0F",depth:3,charIndex:1477},{text:"Bundleless \u6A21\u5F0F",id:"bundleless-\u6A21\u5F0F",depth:3,charIndex:1660},{text:"\u7C7B\u540D\u524D\u7F00",id:"\u7C7B\u540D\u524D\u7F00",depth:2,charIndex:1732},{text:"\u7528\u6CD5\u4ECB\u7ECD",id:"\u7528\u6CD5\u4ECB\u7ECD",depth:2,charIndex:1890},{text:"HTML \u7C7B\u540D",id:"html-\u7C7B\u540D",depth:3,charIndex:1925},{text:"@apply",id:"apply",depth:3,charIndex:2051},{text:"Sass",id:"sass",depth:4,charIndex:2192},{text:"Less",id:"less",depth:4,charIndex:2300},{text:"\u5173\u4E8E designSystem \u914D\u7F6E",id:"\u5173\u4E8E-designsystem-\u914D\u7F6E",depth:2,charIndex:2441}],frontmatter:{sidebar_position:2},version:"",_relativePath:"zh/guide/best-practices/use-tailwindcss.mdx"},{title:"\u901A\u7528\u7C7B\u95EE\u9898",routePath:"/module-tools/guide/faq/basic",lang:"zh",toc:[{text:"Modern.js Module \u548C Rsbuild \u7684\u5173\u7CFB\uFF1F",id:"modernjs-module-\u548C-rsbuild-\u7684\u5173\u7CFB",depth:2,charIndex:3},{text:"Modern.js Module \u662F\u5426\u53EF\u4EE5\u4F7F\u7528 webpack plugin \u6216\u8005 loader?",id:"modernjs-module-\u662F\u5426\u53EF\u4EE5\u4F7F\u7528-webpack-plugin-\u6216\u8005-loader",depth:2,charIndex:103}],frontmatter:{},version:"",_relativePath:"zh/guide/faq/basic.mdx"},{title:"\u6784\u5EFA\u76F8\u5173\u95EE\u9898",routePath:"/module-tools/guide/faq/build",lang:"zh",toc:[{text:"\u4EA7\u7269\u95EE\u9898",id:"\u4EA7\u7269\u95EE\u9898",depth:2,charIndex:110},{text:"Class Fields \u7684\u521D\u59CB\u5316\u5904\u7406",id:"class-fields-\u7684\u521D\u59CB\u5316\u5904\u7406",depth:3,charIndex:121},{text:"babel-plugin-lodash \u5C06\u5F15\u5165\u7684 lodash \u5904\u7406\u6210 undefined",id:"babel-plugin-lodash-\u5C06\u5F15\u5165\u7684-lodash-\u5904\u7406\u6210-undefined",depth:3,charIndex:1016},{text:"Cannot find module http",id:"cannot-find-module-http",depth:3,charIndex:1340},{text:"\u5F02\u5E38\u7C7B\u95EE\u9898",id:"\u5F02\u5E38\u7C7B\u95EE\u9898",depth:2,charIndex:1560},{text:'Dynamic require of \\"react\\" is not supported',id:"dynamic-require-of-react-is-not-supported",depth:3,charIndex:1572},{text:"\u95EE\u9898\u63CF\u8FF0",id:"\u95EE\u9898\u63CF\u8FF0",depth:4,charIndex:1620},{text:"\u89E3\u51B3\u529E\u6CD5",id:"\u89E3\u51B3\u529E\u6CD5",depth:4,charIndex:1720},{text:"\u53C2\u8003\u94FE\u63A5",id:"\u53C2\u8003\u94FE\u63A5",depth:4,charIndex:1922},{text:"\u7F16\u8BD1\u8FC7\u7A0B\u4E2D\uFF0C\u56E0\u4E3A\u67D0\u4E2A\u7EC4\u4EF6\u5E93\u7684 less \u6587\u4EF6\u62A5\u9519\uFF1A'Operation on an invalid type'",id:"\u7F16\u8BD1\u8FC7\u7A0B\u4E2D\u56E0\u4E3A\u67D0\u4E2A\u7EC4\u4EF6\u5E93\u7684-less-\u6587\u4EF6\u62A5\u9519operation-on-an-invalid-type",depth:3,charIndex:2026},{text:"Bundleless DTS failed",id:"bundleless-dts-failed",depth:3,charIndex:2344},{text:"Bundle DTS failed",id:"bundle-dts-failed",depth:3,charIndex:2601},{text:'defineConfig \u51FD\u6570\u7C7B\u578B\u62A5\u9519\uFF1A\u5982\u679C\u6CA1\u6709\u5F15\u7528 "..."\uFF0C\u5219\u65E0\u6CD5\u547D\u540D "default" \u7684\u63A8\u65AD\u7C7B\u578B',id:"defineconfig-\u51FD\u6570\u7C7B\u578B\u62A5\u9519\u5982\u679C\u6CA1\u6709\u5F15\u7528-\u5219\u65E0\u6CD5\u547D\u540D-default-\u7684\u63A8\u65AD\u7C7B\u578B",depth:3,charIndex:2829},{text:"\u5176\u4ED6",id:"\u5176\u4ED6",depth:2,charIndex:2946},{text:"bundleless \u5982\u4F55\u8DF3\u8FC7\u5BF9 less / scss \u6587\u4EF6\u7684\u9884\u5904\u7406",id:"bundleless-\u5982\u4F55\u8DF3\u8FC7\u5BF9-less--scss-\u6587\u4EF6\u7684\u9884\u5904\u7406",depth:3,charIndex:2955},{text:"\u589E\u52A0\u989D\u5916\u7684\u7F16\u8BD1\u80FD\u529B",id:"\u589E\u52A0\u989D\u5916\u7684\u7F16\u8BD1\u80FD\u529B",depth:3,charIndex:3193},{text:"\u652F\u6301\u751F\u6210 CSS Modules \u7684 TypeScript \u58F0\u660E\u6587\u4EF6",id:"\u652F\u6301\u751F\u6210-css-modules-\u7684-typescript-\u58F0\u660E\u6587\u4EF6",depth:3,charIndex:3504}],frontmatter:{},version:"",_relativePath:"zh/guide/faq/build.mdx"},{title:"\u5E38\u89C1\u95EE\u9898",routePath:"/module-tools/guide/faq/",lang:"zh",toc:[],frontmatter:{},version:"",_relativePath:"zh/guide/faq/index.md"},{title:"Storybook \u76F8\u5173\u95EE\u9898",routePath:"/module-tools/guide/faq/storybook",lang:"zh",toc:[{text:"\u652F\u6301 Storybook v7",id:"\u652F\u6301-storybook-v7",depth:2,charIndex:6},{text:"\u4F7F\u7528 Storybook Addon \u6216\u8005\u5176\u4ED6\u914D\u7F6E\u4E0D\u751F\u6548",id:"\u4F7F\u7528-storybook-addon-\u6216\u8005\u5176\u4ED6\u914D\u7F6E\u4E0D\u751F\u6548",depth:2,charIndex:61},{text:"Cannot find module \\'react-dom/package.json",id:"cannot-find-module-react-dompackagejson",depth:2,charIndex:266},{text:"\u62A5\u9519\u540E\uFF0C\u770B\u4E0D\u5230\u5177\u4F53\u62A5\u9519\u4FE1\u606F",id:"\u62A5\u9519\u540E\u770B\u4E0D\u5230\u5177\u4F53\u62A5\u9519\u4FE1\u606F",depth:2,charIndex:376},{text:"Couldn\\'t find any stories is your Storybook",id:"couldnt-find-any-stories-is-your-storybook",depth:2,charIndex:541},{text:"Storybook \u6DFB\u52A0 Proxy \u529F\u80FD",id:"storybook-\u6DFB\u52A0-proxy-\u529F\u80FD",depth:2,charIndex:700}],frontmatter:{},version:"",_relativePath:"zh/guide/faq/storybook.mdx"},{title:"\u6D4B\u8BD5\u76F8\u5173\u95EE\u9898",routePath:"/module-tools/guide/faq/test",lang:"zh",toc:[{text:"\u6267\u884C test \u547D\u4EE4\u62A5\u9519 TypeError: Cannot read property 'testEnvironmentOptions' of undefined",id:"\u6267\u884C-test-\u547D\u4EE4\u62A5\u9519-typeerror-cannot-read-property-testenvironmentoptions-of-undefined",depth:2,charIndex:-1}],frontmatter:{},version:"",_relativePath:"zh/guide/faq/test.mdx"},{title:"\u5FEB\u901F\u5F00\u59CB",routePath:"/module-tools/guide/intro/getting-started",lang:"zh",toc:[{text:"\u4E09\u5206\u949F\u5FEB\u901F\u4E0A\u624B",id:"\u4E09\u5206\u949F\u5FEB\u901F\u4E0A\u624B",depth:2,charIndex:3},{text:"\u521B\u5EFA\u65B0\u9879\u76EE",id:"\u521B\u5EFA\u65B0\u9879\u76EE",depth:3,charIndex:110},{text:"\u63A5\u5165\u5DF2\u6709\u9879\u76EE",id:"\u63A5\u5165\u5DF2\u6709\u9879\u76EE",depth:3,charIndex:402},{text:"\u6838\u5FC3 npm \u5305",id:"\u6838\u5FC3-npm-\u5305",depth:3,charIndex:784},{text:"\u67E5\u770B\u5B98\u65B9\u793A\u4F8B",id:"\u67E5\u770B\u5B98\u65B9\u793A\u4F8B",depth:3,charIndex:1118},{text:"\u8BA9\u6211\u4EEC\u5F00\u59CB\u5427",id:"\u8BA9\u6211\u4EEC\u5F00\u59CB\u5427",depth:2,charIndex:1175}],frontmatter:{sidebar_position:3},version:"",_relativePath:"zh/guide/intro/getting-started.mdx"},{title:"\u6B22\u8FCE\u4F7F\u7528",routePath:"/module-tools/guide/intro/welcome",lang:"zh",toc:[],frontmatter:{sidebar_position:1},version:"",_relativePath:"zh/guide/intro/welcome.md"},{title:"\u4E3A\u4EC0\u4E48\u9700\u8981 Modern.js Module",routePath:"/module-tools/guide/intro/why-module-engineering-solution",lang:"zh",toc:[],frontmatter:{sidebar_position:2},version:"",_relativePath:"zh/guide/intro/why-module-engineering-solution.md"},{title:"index",routePath:"/module-tools/",lang:"zh",toc:[],frontmatter:{pageType:"home",hero:{name:"Modern.js Module",text:"\u6A21\u5757\u5DE5\u7A0B\u89E3\u51B3\u65B9\u6848",tagline:"\u7B80\u5355\u3001\u5F3A\u5927\u3001\u9AD8\u6027\u80FD\u7684\u73B0\u4EE3\u5316 npm \u5305\u5F00\u53D1\u65B9\u6848",actions:[{theme:"brand",text:"\u6B22\u8FCE\u4F7F\u7528",link:"/guide/intro/welcome"},{theme:"alt",text:"\u5FEB\u901F\u4E0A\u624B",link:"/guide/intro/getting-started"}]},features:[{title:"esbuild: \u9AD8\u6027\u80FD\u7684 JS Bundler",details:"\u57FA\u4E8E esbuild \u6784\u5EFA\uFF0C\u6784\u5EFA\u901F\u5EA6\u6781\u5FEB\uFF0C\u5E26\u7ED9\u4F60\u6781\u81F4\u7684\u5F00\u53D1\u4F53\u9A8C\u3002",icon:"\uD83D\uDE80"},{title:"\u53CC\u6784\u5EFA\u6A21\u5F0F",details:"\u652F\u6301 Bundle \u548C Bundleless \u4E24\u79CD\u6784\u5EFA\u6A21\u5F0F\u3002",icon:"\u2728"},{title:"\u5F00\u7BB1\u5373\u7528",details:"\u65E0\u9700\u8FC7\u591A\u914D\u7F6E\u5373\u53EF\u5F00\u53D1\u4F60\u7684 npm \u5305\uFF0C\u5185\u7F6E\u9884\u8BBE\u8986\u76D6\u591A\u79CD\u573A\u666F\u3002",icon:"\uD83D\uDEE0\uFE0F"},{title:"\u6269\u5C55\u6027\u5F3A: \u63D0\u4F9B\u5F3A\u5927\u7684\u63D2\u4EF6\u673A\u5236",details:"\u901A\u8FC7\u5176\u63D2\u4EF6\u6269\u5C55\u673A\u5236\uFF0C\u4F60\u53EF\u4EE5\u8F7B\u677E\u7684\u6269\u5C55 Modern.js Module \u7684\u5404\u9879\u80FD\u529B\u3002",icon:"\uD83C\uDFA8"},{title:"Storybook: \u793E\u533A\u6D41\u884C\u7684 UI \u5F00\u53D1\u5DE5\u5177",details:"\u96C6\u6210\u4E86 Storybook\uFF0C\u4F60\u53EF\u4EE5\u4F7F\u7528\u5B83\u8C03\u8BD5 UI\u3002",icon:"\uD83D\uDCE6"},{title:"Jest: \u4EE4\u4EBA\u6109\u5FEB\u7684\u6D4B\u8BD5\u6846\u67B6",details:"\u96C6\u6210\u4E86 Jest\uFF0C\u4F7F\u5F97\u4EE3\u7801\u6D4B\u8BD5\u66F4\u52A0\u5BB9\u6613\u3002",icon:"\uD83D\uDCD0"}]},version:"",_relativePath:"zh/index.md"},{title:"\u5FEB\u901F\u5F00\u59CB",routePath:"/module-tools/plugins/guide/getting-started",lang:"zh",toc:[],frontmatter:{sidebar_position:1},version:"",_relativePath:"zh/plugins/guide/getting-started.mdx"},{title:"\u63D2\u4EF6\u5BF9\u8C61",routePath:"/module-tools/plugins/guide/plugin-object",lang:"zh",toc:[{text:"\u63D2\u4EF6\u7C7B\u578B\u5B9A\u4E49",id:"\u63D2\u4EF6\u7C7B\u578B\u5B9A\u4E49",depth:2,charIndex:245},{text:"\u63D2\u4EF6\u914D\u7F6E\u9879",id:"\u63D2\u4EF6\u914D\u7F6E\u9879",depth:2,charIndex:323}],frontmatter:{sidebar_position:2},version:"",_relativePath:"zh/plugins/guide/plugin-object.mdx"},{title:"Setup \u51FD\u6570",routePath:"/module-tools/plugins/guide/setup-function",lang:"zh",toc:[{text:"\u63D2\u4EF6 API \u5BF9\u8C61",id:"\u63D2\u4EF6-api-\u5BF9\u8C61",depth:2,charIndex:77},{text:"api.useAppContext",id:"apiuseappcontext",depth:3,charIndex:153},{text:"api.useResolvedConfigContext",id:"apiuseresolvedconfigcontext",depth:3,charIndex:277},{text:"api.useHookRunners",id:"apiusehookrunners",depth:3,charIndex:373},{text:"\u5F02\u6B65 setup",id:"\u5F02\u6B65-setup",depth:2,charIndex:430},{text:"\u751F\u547D\u5468\u671F\u94A9\u5B50",id:"\u751F\u547D\u5468\u671F\u94A9\u5B50",depth:2,charIndex:579}],frontmatter:{sidebar_position:3},version:"",_relativePath:"zh/plugins/guide/setup-function.mdx"},{title:"\u603B\u89C8",routePath:"/module-tools/plugins/official-list/overview",lang:"zh",toc:[{text:"\u5B98\u65B9\u63D2\u4EF6",id:"\u5B98\u65B9\u63D2\u4EF6",depth:2,charIndex:3}],frontmatter:{},version:"",_relativePath:"zh/plugins/official-list/overview.md"},{title:"Babel \u63D2\u4EF6",routePath:"/module-tools/plugins/official-list/plugin-babel",lang:"zh",toc:[{text:"\u5FEB\u901F\u5F00\u59CB",id:"\u5FEB\u901F\u5F00\u59CB",depth:2,charIndex:50},{text:"\u5B89\u88C5",id:"\u5B89\u88C5",depth:3,charIndex:58},{text:"\u6CE8\u518C\u63D2\u4EF6",id:"\u6CE8\u518C\u63D2\u4EF6",depth:3,charIndex:64},{text:"\u914D\u7F6E",id:"\u914D\u7F6E",depth:2,charIndex:172}],frontmatter:{},version:"",_relativePath:"zh/plugins/official-list/plugin-babel.mdx"},{title:"Banner \u63D2\u4EF6",routePath:"/module-tools/plugins/official-list/plugin-banner",lang:"zh",toc:[{text:"\u5FEB\u901F\u5F00\u59CB",id:"\u5FEB\u901F\u5F00\u59CB",depth:2,charIndex:132},{text:"\u5B89\u88C5",id:"\u5B89\u88C5",depth:3,charIndex:140},{text:"\u6CE8\u518C\u63D2\u4EF6",id:"\u6CE8\u518C\u63D2\u4EF6",depth:3,charIndex:146},{text:"\u793A\u4F8B",id:"\u793A\u4F8B",depth:2,charIndex:240},{text:"\u5728 JS \u6587\u4EF6\u9876\u90E8\u589E\u52A0\u7248\u6743\u4FE1\u606F",id:"\u5728-js-\u6587\u4EF6\u9876\u90E8\u589E\u52A0\u7248\u6743\u4FE1\u606F",depth:3,charIndex:246},{text:"\u914D\u7F6E",id:"\u914D\u7F6E",depth:2,charIndex:267},{text:"banner",id:"banner",depth:3,charIndex:283},{text:"footer",id:"footer",depth:3,charIndex:362}],frontmatter:{},version:"",_relativePath:"zh/plugins/official-list/plugin-banner.mdx"},{title:"Import \u63D2\u4EF6",routePath:"/module-tools/plugins/official-list/plugin-import",lang:"zh",toc:[{text:"\u5FEB\u901F\u5F00\u59CB",id:"\u5FEB\u901F\u5F00\u59CB",depth:2,charIndex:144},{text:"\u5B89\u88C5",id:"\u5B89\u88C5",depth:3,charIndex:152},{text:"\u6CE8\u518C\u63D2\u4EF6",id:"\u6CE8\u518C\u63D2\u4EF6",depth:3,charIndex:158},{text:"\u914D\u7F6E",id:"\u914D\u7F6E",depth:2,charIndex:245},{text:"pluginImport",id:"pluginimport",depth:3,charIndex:261},{text:"\u6CE8\u610F\u4E8B\u9879",id:"\u6CE8\u610F\u4E8B\u9879",depth:2,charIndex:357}],frontmatter:{},version:"",_relativePath:"zh/plugins/official-list/plugin-import.mdx"},{title:"Node Polyfill \u63D2\u4EF6",routePath:"/module-tools/plugins/official-list/plugin-node-polyfill",lang:"zh",toc:[{text:"\u5FEB\u901F\u5F00\u59CB",id:"\u5FEB\u901F\u5F00\u59CB",depth:2,charIndex:213},{text:"\u5B89\u88C5",id:"\u5B89\u88C5",depth:3,charIndex:221},{text:"\u6CE8\u518C\u63D2\u4EF6",id:"\u6CE8\u518C\u63D2\u4EF6",depth:3,charIndex:227},{text:"\u914D\u7F6E",id:"\u914D\u7F6E",depth:2,charIndex:274},{text:"exclude",id:"exclude",depth:3,charIndex:290},{text:"overrides",id:"overrides",depth:3,charIndex:326},{text:"Node Polyfills",id:"node-polyfills",depth:2,charIndex:363},{text:"Globals",id:"globals",depth:3,charIndex:381},{text:"Modules",id:"modules",depth:3,charIndex:464},{text:"Fallbacks",id:"fallbacks",depth:3,charIndex:860}],frontmatter:{},version:"",_relativePath:"zh/plugins/official-list/plugin-node-polyfill.mdx"},{title:"Polyfill \u63D2\u4EF6",routePath:"/module-tools/plugins/official-list/plugin-polyfill",lang:"zh",toc:[{text:"\u5FEB\u901F\u5F00\u59CB",id:"\u5FEB\u901F\u5F00\u59CB",depth:2,charIndex:197},{text:"\u5B89\u88C5",id:"\u5B89\u88C5",depth:3,charIndex:205},{text:"\u6CE8\u518C\u63D2\u4EF6",id:"\u6CE8\u518C\u63D2\u4EF6",depth:3,charIndex:211},{text:"\u914D\u7F6E",id:"\u914D\u7F6E",depth:2,charIndex:322},{text:"targets",id:"targets",depth:3,charIndex:338}],frontmatter:{},version:"",_relativePath:"zh/plugins/official-list/plugin-polyfill.mdx"},{title:"Vue \u63D2\u4EF6",routePath:"/module-tools/plugins/official-list/plugin-vue",lang:"zh",toc:[{text:"\u5FEB\u901F\u5F00\u59CB",id:"\u5FEB\u901F\u5F00\u59CB",depth:2,charIndex:256},{text:"\u5B89\u88C5",id:"\u5B89\u88C5",depth:3,charIndex:264},{text:"\u6CE8\u518C\u63D2\u4EF6",id:"\u6CE8\u518C\u63D2\u4EF6",depth:3,charIndex:270},{text:"\u914D\u7F6E",id:"\u914D\u7F6E",depth:2,charIndex:317},{text:"vueJsxPluginOptions",id:"vuejsxpluginoptions",depth:3,charIndex:323}],frontmatter:{},version:"",_relativePath:"zh/plugins/official-list/plugin-vue.mdx"}],markdown:{showLineNumbers:!1,defaultWrapCode:!1,codeHighlighter:"prism"}}},3713:function(e){"use strict";e.exports={link:"link-_76194"}},98349:function(e){},35850:function(e){},12558:function(e){},96954:function(e,t,n){"use strict";n.r(t),n.d(t,{MDXProvider:function(){return i.MDXProvider},useMDXComponents:function(){return i.useMDXComponents}});var i=n("61162")},61162:function(e,t,n){"use strict";n.r(t),n.d(t,{MDXProvider:function(){return l},useMDXComponents:function(){return a}});var i=n("2363");let r=i.createContext({});function a(e){let t=i.useContext(r);return i.useMemo(()=>"function"==typeof e?e(t):{...t,...e},[t,e])}let o={};function l({components:e,children:t,disableParentContext:n}){let l=a(e);return n&&(l=e||o),i.createElement(r.Provider,{value:l},t)}},56195:function(e,t,n){"use strict";n.r(t),n.d(t,{APPEARANCE_KEY:function(){return tt},MDX_REGEXP:function(){return te},SEARCH_INDEX_NAME:function(){return tn},addTrailingSlash:function(){return ts},cleanUrl:function(){return tr},inBrowser:function(){return to},isDataUrl:function(){return tu},isExternalUrl:function(){return tc},isProduction:function(){return ti},normalizeHref:function(){return tf},normalizeSlash:function(){return td},removeBase:function(){return tv},removeHash:function(){return ta},replaceLang:function(){return th},replaceVersion:function(){return tp},withBase:function(){return tx},withoutBase:function(){return tg}});var i,r,a,o,l,s,d,c,u,h="object"==typeof global&&global&&global.Object===Object&&global,p="object"==typeof self&&self&&self.Object===Object&&self,m=h||p||Function("return this")(),f=m.Symbol,g=Object.prototype,x=g.hasOwnProperty,v=g.toString,b=f?f.toStringTag:void 0,y=function(e){var t=x.call(e,b),n=e[b];try{e[b]=void 0;var i=!0}catch(e){}var r=v.call(e);return i&&(t?e[b]=n:delete e[b]),r},w=Object.prototype.toString,k=f?f.toStringTag:void 0,I=function(e){var t;if(null==e)return void 0===e?"[object Undefined]":"[object Null]";return k&&k in Object(e)?y(e):(t=e,w.call(t))},j=function(e){return null!=e&&"object"==typeof e},P=Array.isArray,S=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},E=function(e){return e},C=function(e){if(!S(e))return!1;var t=I(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},z=m["__core-js_shared__"];var _=(i=/[^.]+$/.exec(z&&z.keys&&z.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"",N=Function.prototype.toString,A=function(e){if(null!=e){try{return N.call(e)}catch(e){}try{return e+""}catch(e){}}return""},T=/^\[object .+?Constructor\]$/,L=Object.prototype,O=Function.prototype.toString,M=L.hasOwnProperty,D=RegExp("^"+O.call(M).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),R=function(e){var t;return!!S(e)&&(t=e,!_||!(_ in t))&&(C(e)?D:T).test(A(e))},B=function(e,t){var n,i,r=(n=e,i=t,null==n?void 0:n[i]);return R(r)?r:void 0},H=Object.create,$=function(){function e(){}return function(t){if(!S(t))return{};if(H)return H(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),F=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)},W=function(e,t){var n=-1,i=e.length;for(t||(t=Array(i));++n0){if(++a>=800)return arguments[0]}else a=0;return r.apply(void 0,arguments)}),G=/^(?:0|[1-9]\d*)$/,Z=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&G.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991},ei=function(e){return null!=e&&en(e.length)&&!C(e)},er=function(e,t,n){if(!S(n))return!1;var i=typeof t;return("number"==i?!!(ei(n)&&Z(t,n.length)):"string"==i&&t in n)&&K(n[t],e)},ea=Object.prototype,eo=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||ea)},el=function(e,t){for(var n=-1,i=Array(e);++n-1},eD.prototype.set=function(e,t){var n=this.__data__,i=eO(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this};var eR=B(m,"Map"),eB=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},eH=function(e,t){var n=e.__data__;return eB(t)?n["string"==typeof t?"string":"hash"]:n.map};function e$(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t1?t[i-1]:void 0,a=i>2?t[2]:void 0;for(r=u.length>3&&"function"==typeof r?(i--,r):void 0,a&&er(t[0],t[1],a)&&(r=i<3?void 0:r,i=1),e=Object(e);++n!0,tr=e=>e.replace(e9,"").replace(e8,"");function ta(e){return e.replace(/#.*$/,"")}var to=()=>!0;function tl(e){return"/"===e.charAt(0)||e.startsWith("https")?e:`/${e}`}function ts(e){return"/"===e.charAt(e.length-1)?e:`${e}/`}function td(e){var t;return"/"===(t=tl(function(e){let t=e.replace(/\\/g,"/"),n=t.startsWith("/"),i=t.split("/"),r=[];for(let e of i){if("."!==e&&""!==e)".."===e?r.length>0&&".."!==r[r.length-1]?r.pop():n&&r.push(".."):r.push(e)}let a=r.join("/");return n&&(a=`/${a}`),a}(e))).charAt(t.length-1)?t.slice(0,-1):t}function tc(e=""){return e.startsWith("http://")||e.startsWith("https://")||e.startsWith("mailto:")||e.startsWith("tel:")}function tu(e=""){return/^\s*data:/i.test(e)}function th(e,t,n,i="",r=!1){let a=tv(e,i);!a&&(a=r?"/index":"/index.html"),a.endsWith("/")&&(a+=r?"/index":"/index.html");let o="",l="",s="",d=a.split("/").filter(Boolean);return n.current&&n.current!==n.default&&(o=d.shift()||""),t.target!==t.default?(l=t.target,t.current!==t.default&&d.shift()):d.shift(),s=d.join("/")||"",(o||l)&&!s&&(s=r?"index":"index.html"),tx(tl([o,l,s].filter(Boolean).join("/")),i)}function tp(e,t,n="",i=!1){let r=tv(e,n);!r&&(r=i?"/index":"/index.html");let a="",o=r.split("/").filter(Boolean);t.target!==t.default?(a=t.target,t.current!==t.default&&o.shift()):o.shift();let l=o.join("/")||"";return a&&!l&&(l=i?"index":"index.html"),tx(tl([a,l].filter(Boolean).join("/")),n)}var tm=e=>{let[t,n=""]=e.split("#");return{url:t,hash:n}};function tf(e,t=!1){if(!e)return"/";if(tc(e))return e;let{url:n,hash:i}=tm(decodeURIComponent(e)),r=n.split("/").pop()?.includes(".");return!t&&!n.endsWith(".html")&&!r&&(n.endsWith("/")?n+="index.html":n+=".html"),t&&n.endsWith("/")&&(n+="index"),tl(i?`${n}#${i}`:n)}function tg(e,t=""){return tl(e).replace(td(t),"")}function tx(e="/",t=""){let n=tl(e),i=td(t);return n.startsWith(i)?n:`${i}${n}`}function tv(e,t){return tl(e).replace(RegExp(`^${td(t)}`),"")}},81725:function(e,t,n){"use strict";n.r(t),n.d(t,{Button:function(){return tv},DocLayout:function(){return tf},HomeFooter:function(){return nu},HomeLayout:function(){return tP},LastUpdated:function(){return eY},Layout:function(){return tg},Link:function(){return eX},Nav:function(){return t4},NotFoundLayout:function(){return ef},PackageManagerTabs:function(){return nz},PrevNextPage:function(){return eJ},RenderType:function(){return eR},Search:function(){return nc},SearchPanel:function(){return nd},SourceCode:function(){return nT},Tab:function(){return ne},Tabs:function(){return t9},Toc:function(){return to},bindingAsideScroll:function(){return ej},default:function(){return n1},getCustomMDXComponent:function(){return n0},getLogoUrl:function(){return eW},isActive:function(){return eF},isMobileDevice:function(){return eq},renderHtmlOrText:function(){return eU},scrollToTarget:function(){return eI},setup:function(){return eP},useEditLink:function(){return ey},useEnableNav:function(){return ew},useFullTextSearch:function(){return eH},useHiddenNav:function(){return ek},useLocaleSiteData:function(){return eg},usePathUtils:function(){return eS},usePrevNextPage:function(){return eb},useRedirect4FirstVisit:function(){return e$},useSidebarData:function(){return ev}});var i,r,a,o,l,s,d,c,u,h,p,m,f,g,x,v,b,y,w,k,I,j,P,S=n("59350"),E=n("39980");n("12558");var C=n("20288"),z=n("92919"),_=n("2363"),N=n("96954"),A=n("56195"),T=n("71082"),L=n("85653"),O=n("25756"),M=n("93371"),D=n("49555"),R=n("15559"),B=n("47841"),H=n("99593"),$=n("26281"),F=n("56159"),W=n("74830"),q=n("12555"),U=n("13328"),V=n("168"),G=n("61850"),Z=n("51801"),Y=n("16288"),K=n("52305"),X=n("79522"),Q=n("74930"),J=Object.defineProperty,ee=Object.defineProperties,et=Object.getOwnPropertyDescriptors,en=Object.getOwnPropertySymbols,ei=Object.prototype.hasOwnProperty,er=Object.prototype.propertyIsEnumerable,ea=(e,t,n)=>t in e?J(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,eo=(e,t)=>{for(var n in t||(t={}))ei.call(t,n)&&ea(e,n,t[n]);if(en)for(var n of en(t))er.call(t,n)&&ea(e,n,t[n]);return e},el=(e,t)=>ee(e,et(t)),es=(e,t)=>{var n={};for(var i in e)ei.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&en)for(var i of en(e))0>t.indexOf(i)&&er.call(e,i)&&(n[i]=e[i]);return n},ed=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},ec=(e,t,n)=>(ed(e,t,"read from private field"),n?n.call(e):t.get(e)),eu=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},eh=(e,t,n,i)=>(ed(e,t,"write to private field"),i?i.call(e,n):t.set(e,n),n),ep=(e,t,n)=>(ed(e,t,"access private method"),n),em=(e,t,n)=>new Promise((i,r)=>{var a=e=>{try{l(n.next(e))}catch(e){r(e)}},o=e=>{try{l(n.throw(e))}catch(e){r(e)}},l=e=>e.done?i(e.value):Promise.resolve(e.value).then(a,o);l((n=n.apply(e,t)).next())});function ef(){let{siteData:e}=(0,S.usePageData)(),t=e.lang;if(!(t&&"undefined"!=typeof window&&location.pathname.includes(`/${t}/`)))return(0,E.jsxs)("div",{className:"m-auto mt-50 p-16 sm:p-8 sm:pt-24 sm:pb-40 text-center flex-center flex-col",children:[(0,E.jsx)("p",{className:"text-6xl font-semibold",children:"404"}),(0,E.jsx)("h1",{className:"leading-5 pt-3 text-xl font-bold",children:"PAGE NOT FOUND"}),(0,E.jsx)("div",{style:{height:"1px"},className:"mt-6 mx-auto mb-4.5 w-16 bg-gray-light-1"}),(0,E.jsx)("div",{className:"pt-5",children:(0,E.jsx)("a",{className:"py-2 px-4 rounded-2xl inline-block border-solid border-brand text-brand font-medium hover:border-brand-dark hover:text-brand-dark transition-colors duration-300",href:e.base,"aria-label":"go to home",children:"Take me home"})})]});{let e=location.pathname.replace(`/${t}/`,"/");return window.location.replace(e),(0,E.jsx)(E.Fragment,{})}}function eg(){var e,t,n;let i=(0,S.usePageData)(),{page:{lang:r}}=i,a=(t=(e=null==i?void 0:i.siteData)==null?void 0:e.themeConfig)!=null?t:{},o=(n=i.siteData.lang)!=null?n:"",l=null==a?void 0:a.locales;return l&&0!==l.length?el(eo({},l.find(e=>e.lang===r)),{langRoutePrefix:r===o?"/":r}):{nav:a.nav,sidebar:a.sidebar,prevPageText:a.prevPageText,nextPageText:a.nextPageText,sourceCodeText:a.sourceCodeText,searchPlaceholderText:a.searchPlaceholderText}}var ex=(e,t)=>{let n;for(let i of Object.keys(e)){if(n&&n!==i)continue;if((0,S.isEqualPath)((0,S.withBase)(i),t))return{group:"Documentation",items:e[i]};let r=e[i].find(r=>{let a=r=>{if(!t.startsWith((0,S.withBase)(i))){for(let r of Object.keys(e))if(r!==i&&t.startsWith((0,A.addTrailingSlash)((0,S.withBase)(r))))return n=r,!1}let o=()=>"link"in r&&(0,S.isEqualPath)((0,S.withBase)(r.link),t);return"items"in r?!!o()||r.items.some(e=>a(e)):o()};return a(r)});if(r){let t=e[i];return{group:"text"in r&&r.text||"",items:t}}}return{group:"Documentation",items:[]}};function ev(){var e;let t=eg(),n=(e=t.sidebar)!=null?e:{},{pathname:i}=(0,S.useLocation)(),r=decodeURIComponent(i),[a,o]=(0,_.useState)(ex(n,r));return(0,_.useEffect)(()=>{o(ex(n,r))},[r,t.lang]),a}function eb(){let{pathname:e}=(0,S.useLocation)(),{items:t}=ev(),n=[],i=e=>{"items"in e?(e.link&&n.push({text:e.text,link:e.link}),e.items.forEach(e=>{"dividerType"in e||i(e)})):n.push(e)};t.forEach(e=>!("dividerType"in e)&&i(e));let r=n.findIndex(t=>(0,S.isEqualPath)((0,S.withBase)(t.link),e)),a=n[r-1]||null;return{prevPage:a,nextPage:n[r+1]||null}}function ey(){var e,t,n;let{siteData:i,page:r}=(0,S.usePageData)(),a=(n=(t=eg().editLink)!=null?t:(e=i.themeConfig)==null?void 0:e.editLink)!=null?n:{};if(!a.docRepoBaseUrl||!a.text)return null;let{docRepoBaseUrl:o}=a;!o.endsWith("/")&&(o+="/");let l=r._relativePath.replace(/\\/g,"/"),s=`${o}${l}`;return{text:a.text,link:s}}function ew(){var e;let{siteData:{themeConfig:t},page:{frontmatter:n={}}}=(0,S.usePageData)(),i=((e=null==n?void 0:n.navbar)==null||e)&&(null==t?void 0:t.hideNavbar)!=="always",[r,a]=(0,_.useState)(i);return[r,a]}function ek(){var e;let{siteData:{themeConfig:t}}=(0,S.usePageData)(),n=(e=t.hideNavbar)!=null?e:"never",[i,r]=(0,_.useState)(!1),{pathname:a}=(0,S.useLocation)(),o=(0,_.useRef)(0);return"never"!==n&&("always"===n||((0,_.useEffect)(()=>{r(!1);let e=(0,T.throttle)(()=>{let{scrollTop:e}=document.documentElement;if(e!==o.current)r(o.current>0&&e-o.current>0),o.current=e<=0?0:e},200);return window.addEventListener("mousewheel",e),window.addEventListener("touchmove",e),()=>{window.removeEventListener("mousewheel",e),window.removeEventListener("touchmove",e)}},[a]),i))}function eI(e,t,n=72){let i=parseInt(window.getComputedStyle(e).paddingTop,10),r=window.scrollY+e.getBoundingClientRect().top-n-i;window.scrollTo(eo({left:0,top:Math.round(r)},t?{behavior:"smooth"}:{}))}function ej(){let e=document.getElementById("aside-container"),t=Array.from(document.querySelectorAll(".rspress-doc .header-anchor")).filter(e=>{var t;return((t=e.parentElement)==null?void 0:t.tagName)!=="H1"});if(!e||!t.length)return;let n=null;if(!Array.from((null==e?void 0:e.getElementsByTagName("a"))||[]).map(e=>decodeURIComponent(e.hash)).length)return;let i=(t,i)=>{if(t[i]){let r=t[i].getAttribute("href"),a=null==e?void 0:e.querySelector(`a[href="#${null==r?void 0:r.slice(1)}"] > span`);a&&(n&&n.classList.remove("aside-active"),(n=a).classList.add("aside-active"))}},r=()=>{if(document.documentElement.scrollTop+window.innerHeight>=document.documentElement.scrollHeight)i(t,t.length-1);else for(let e=0;e=o&&a{n&&n.classList.remove("aside-active"),window.removeEventListener("scroll",a)}}function eP(){(0,A.inBrowser)()&&(window.addEventListener("click",e=>{let t=e.target.closest("a");if(t){let{origin:n,hash:i,target:r,pathname:a,search:o}=t,l=window.location;i&&"_blank"!==r&&n===l.origin&&(a===l.pathname&&o===l.search&&i&&t.classList.contains("header-anchor")?(e.preventDefault(),history.pushState(null,"",i),!function(e,t,n=!1){let i=null;try{i=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t.slice(1)))}catch(e){console.warn(e)}i&&eI(i,n)}(t,i,!0),window.dispatchEvent(new Event("hashchange"))):window.addEventListener("RspressReloadContent",()=>{location.hash.length>1&&eI(document.getElementById(location.hash.slice(1)),!1)}))}},{capture:!0}),window.addEventListener("hashchange",e=>{e.preventDefault()}))}function eS(){let e=(0,S.useLang)(),t=(0,S.useVersion)(),n=(0,S.usePageData)(),i=n.siteData.lang,r=n.siteData.multiVersion.default;return{normalizeLinkHref:n=>{let a=n;if(!(i||r)||(0,A.isExternalUrl)(a)||a.startsWith("#"))return a;{let n=(a=(0,S.removeBase)(a)).split("/").filter(Boolean),o="",l="",s="";return r&&(t!==r?(o=t,n[0]===t&&n.shift()):n[0]===r&&n.shift()),i&&(e!==i?(l=e,n[0]===e&&n.shift()):n[0]===i&&n.shift()),s=n.join("/"),(0,S.normalizeHrefInRuntime)((0,S.withBase)([o,l,s].filter(Boolean).join("/")))}}}}var eE="default",eC=/[\u3131-\u314e|\u314f-\u3163|\uac00-\ud7a3]/u;function ez(e){let t=e.toString().toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"");return eC.test(String(e))?t.normalize("NFC"):t}function e_(e){return e.replace(/https?:\/\/[^/]+/,"")}function eN(e){return e.charCodeAt(0)>255?3:1}var eA=e=>e.map(e=>"string"==typeof e?{value:e,label:e}:e);function eT(e,t){let n=0,i=0;for(let r=0;r=t);r++)i+=eN(e.charAt(r)),n++;return n}function eL(e){let t=0;for(let n=0;ne.lang===t).map(e=>el(eo({},e),{normalizedContent:ez(e.content),headers:e.toc.map(e=>ez(e.text)).join(" "),normalizedTitle:ez(e.title)})),l={tokenize:"full",async:!0,doc:{id:"routePath",field:["normalizedTitle","headers","normalizedContent"]},cache:100,split:/\W+/};eh(this,i,L.create(l)),eh(this,r,L.create(el(eo({},l),{tokenize(e){let t=[],n=null;do(n=eO.exec(e))&&t.push(n[0]);while(n);return t}}))),ec(this,i).add(n),ec(this,r).add(n)})}search(e){return em(this,null,function*(){var t,n;let{keyword:a,limit:o}=e,l={query:a,limit:o,field:["normalizedTitle","headers","normalizedContent"]};return[{index:eE,hits:(yield Promise.all([(t=ec(this,i))==null?void 0:t.search(l),(n=ec(this,r))==null?void 0:n.search(l)])).flat(2).filter(Boolean)}]})}};i=new WeakMap,r=new WeakMap,a=new WeakSet,o=function(e){return em(this,null,function*(){return(yield fetch(`/module-tools/static/${A.SEARCH_INDEX_NAME}${e?`.${e}`:""}.${O.default[e]}.json`)).json()})};var eD=class{constructor(){eu(this,l,void 0)}init(e){return em(this,null,function*(){eh(this,l,e)})}search(e){return em(this,null,function*(){let{apiUrl:t,searchIndexes:n}=ec(this,l),{keyword:i,limit:r}=e,a=Object.entries({keyword:i,limit:r.toString(),searchIndexes:(null==n?void 0:n.map(e=>"string"==typeof e?e:e.value).join(","))||"",lang:ec(this,l).currentLang}).map(e=>e.map(encodeURIComponent).join("=")).join("&");try{return(yield fetch(`${t}?${a}`)).json()}catch(e){return console.error(e),[]}})}};l=new WeakMap;var eR=(e=>(e.Default="default",e.Custom="custom",e))(eR||{}),eB=class{constructor(e){if(eu(this,u),eu(this,p),eu(this,f),eu(this,x),eu(this,b),eu(this,w),eu(this,s,void 0),eu(this,d,eE),eu(this,c,void 0),eh(this,s,e),eh(this,d,e.indexName),"remote"===e.mode)eh(this,c,new eD);else eh(this,c,new eM)}init(){return em(this,null,function*(){var e;yield(e=ec(this,c))==null?void 0:e.init(ec(this,s))})}match(e,t=7){return em(this,null,function*(){var n;let i=yield(n=ec(this,c))==null?void 0:n.search({keyword:e,limit:t}),r=ez(e),a=(null==i?void 0:i.find(e=>ep(this,w,k).call(this,e.index)))||{index:eE,renderType:"default",hits:[]};return[{group:ec(this,d),renderType:"default",result:ep(this,u,h).call(this,r,a)},...((null==i?void 0:i.filter(e=>!ep(this,w,k).call(this,e.index)))||[]).map(e=>({group:e.index,renderType:"default",result:ep(this,u,h).call(this,r,e)}))]})}};function eH(){let e=(0,S.useLang)(),[t,n]=(0,_.useState)(!1),{sidebar:i}=eg(),r=new eB({mode:"local",currentLang:e,extractGroupName:e=>ex(i,e).group});return(0,_.useEffect)(()=>{!function(){em(this,null,function*(){!t&&(yield r.init(),n(!0))})}()}),{initialized:t,search:r.match.bind(r)}}function e$(){let{siteData:e,page:t}=(0,S.usePageData)(),n=e.lang||"",i=Object.values(e.themeConfig.locales||{}).map(e=>e.lang)||[],r=t.lang;(0,_.useEffect)(()=>{if(!n)return;let{pathname:e}=window.location,t=(0,S.removeBase)(e),a="rspress-visited";if(localStorage.getItem(a))return;localStorage.setItem(a,"1");let o=window.navigator.language.split("-")[0];i.includes(o)&&o!==r&&(o===n?window.location.replace(e.replace(`/${r}`,"")):r===n?window.location.replace((0,S.withBase)(`/${o}${t}`)):window.location.replace(e.replace(`/${r}`,`/${o}`)))},[])}function eF(e,t,n=!1){return!!t&&(n?(0,S.isEqualPath)(e,t):(0,S.isEqualPath)(e,t)||e.startsWith(t))}function eW(e,t){return"string"==typeof e?e:"dark"===t?e.dark:e.light}function eq(){return window.innerWidth<768}function eU(e){return e?(0,T.isNumber)(e)?e:(0,D.default)(e)?M(e):e:""}function eV(e){var t;let{headers:n}=e,i=n.length>0,r=((t=n[0])==null?void 0:t.depth)||2,a=ek();return(0,_.useEffect)(()=>{let e;setTimeout(()=>{e=ej()},100);let t=decodeURIComponent(window.location.hash);if(t){let e=document.getElementById(t.slice(1));e&&eI(e,!1,a?0:R.DEFAULT_NAV_HEIGHT)}else window.scrollTo(0,0);return()=>{e&&e()}},[n]),(0,E.jsx)("div",{className:"flex flex-col",children:(0,E.jsx)("div",{className:i?"(0,E.jsx)("li",{children:(0,E.jsx)("a",{href:`#${e.id}`,className:"aside-link transition-all duration-300 hover:text-text-1 text-text-2 block",style:{paddingLeft:(e.depth-r)*12,fontWeight:"semibold"},onClick:t=>{t.preventDefault(),window.location.hash=e.id;let n=document.getElementById(e.id);n&&eI(n,!1,a?0:R.DEFAULT_NAV_HEIGHT)},children:(0,E.jsx)("span",{className:"aside-link-text block",children:e.text})})},e.id))})})]})})})}s=new WeakMap,d=new WeakMap,c=new WeakMap,u=new WeakSet,h=function(e,t){let n=[];return null==t||t.hits.forEach(t=>{ep(this,p,m).call(this,t,e,n),!ep(this,f,g).call(this,t,e,n)&&ep(this,x,v).call(this,t,e,n)}),n},p=new WeakSet,m=function(e,t,n){let{title:i=""}=e,r=ez(i);return!!r.includes(t)&&(n.push({type:"title",title:i,header:i,link:`${e.domain}${(0,S.normalizeHrefInRuntime)(e.routePath)}`,query:t,highlightInfoList:[{start:r.indexOf(t),length:eL(t)}],group:ec(this,s).extractGroupName(e.routePath)}),!0)},f=new WeakSet,g=function(e,t,n){let{toc:i=[],domain:r="",title:a=""}=e;for(let[o,l]of i.entries())if(ez(l.text).includes(t)){let d=(function(e,t){let n=e[t],i=t,r=[n];for(;n&&n.depth>2;){let t=!1;for(let a=i-1;a>=0;a--){let o=e[a];if(o.depth>1&&o.depth===n.depth-1){n=o,i=a,r.unshift(n),t=!0;break}}if(!t)break}return r})(i,o).map(e=>e.text).join(" > "),c=ez(d).indexOf(t),u=`${a} > `;return n.push({type:"header",title:e.title,header:`${u}${d}`,highlightInfoList:[{start:c+u.length,length:eL(t)}],link:`${r}${(0,S.normalizeHrefInRuntime)(e.routePath)}#${l.id}`,query:t,group:ec(this,s).extractGroupName(e.routePath)}),!0}return!1},x=new WeakSet,v=function(e,t,n){var i,r,a;let{content:o,toc:l,domain:d}=e;if(!o.length)return;let c=ez(o),u=c.indexOf(t),h=l.map(e=>e.charIndex),p=e=>l[h.findIndex((t,n)=>{if(!(n=e)return!0}return!1})];if(-1===u){let a=(i=e._matchesPosition)==null?void 0:i.content;if(!(null==a?void 0:a.length))return;let l=e._matchesPosition.content[0].start,c=p(l),u=eT(o,l),h=eT(o,l+100),m=o.slice(u,h),f=e._matchesPosition.content.filter(e=>e.start>=l&&e.start+e.length<=l+100).map(e=>({start:eT(o,e.start)-u+3,length:e.length}));n.push({type:"content",title:e.title,header:(r=null==c?void 0:c.text)!=null?r:e.title,link:`${d}${(0,S.normalizeHrefInRuntime)(e.routePath)}${c?`#${c.id}`:""}`,query:t,highlightInfoList:f,group:ec(this,s).extractGroupName(e.routePath),statement:`...${m}...`});return}for(;-1!==u;){let i=p(u),r=o.slice(0,u).lastIndexOf("\n");r=-1===r?0:r;let l=o.indexOf("\n\n",u+t.length),h=o.slice(r,l);h.length>100&&(h=ep(this,b,y).call(this,h,t));let m=ez(h).indexOf(t),f=[{start:m,length:eL(t)}];n.push({type:"content",title:e.title,header:(a=null==i?void 0:i.text)!=null?a:e.title,statement:h,highlightInfoList:f,link:`${d}${(0,S.normalizeHrefInRuntime)(e.routePath)}${i?`#${i.id}`:""}`,query:t,group:ec(this,s).extractGroupName(e.routePath)}),u=c.indexOf(t,u+h.length-m)}},b=new WeakSet,y=function(e,t){let n=ez(e).indexOf(ez(t)),i=Math.floor((100-t.length)/2),r=e.slice(0,n);r.length>i&&(r=`...${e.slice(n-i+3,n)}`);let a=e.slice(n+t.length);return a.length>i&&(a=`${e.slice(n+t.length,n+i-3)}...`),r+t+a},w=new WeakSet,k=function(e){return e===ec(this,d)||e===eE};var eG={editLink:"editLink_2a169"};function eZ(){let e=ey();if(!e)return null;let{text:t,link:n}=e;return(0,E.jsx)("a",{href:n,target:"_blank",className:eG.editLink,children:t})}function eY(){let{lastUpdatedText:e="Last Updated"}=eg(),{page:{lastUpdatedTime:t},siteData:n}=(0,S.usePageData)(),{themeConfig:i}=n,r=(null==i?void 0:i.lastUpdatedText)||e;return(0,E.jsx)("div",{className:"flex text-sm text-text-2 leading-6 sm:leading-8 font-medium",children:(0,E.jsxs)("p",{children:[r,": ",(0,E.jsx)("span",{children:t})]})})}var eK={link:"link_03735"};function eX(e){let{href:t="/",children:n,className:i="",onNavigate:r}=e,a=es(e,["href","children","className","onNavigate"]),o=(0,A.isExternalUrl)(t),l=o?"_blank":"",s=o?"noopener noreferrer":void 0,d=o?t:(0,S.withBase)((0,S.normalizeHrefInRuntime)(t)),c=(0,S.useNavigate)(),{pathname:u}=(0,S.useLocation)(),h=(0,S.isEqualPath)(u,d);return o?(0,E.jsx)("a",el(eo({},a),{href:d,target:l,rel:s,className:`${eK.link} ${i}`,children:n})):(0,E.jsx)("a",el(eo({},a),{className:`${eK.link} ${i} cursor-pointer`,rel:s,target:l,onClick:e=>em(this,null,function*(){if(0!==e.button||e.currentTarget.target&&"_self"!==e.currentTarget.target||e.metaKey||e.shiftKey||e.altKey||e.ctrlKey)return;e.preventDefault();let t=d.split("#")[1];if(!o&&h&&t){let e=document.getElementById(t);e&&(0,$.scrollToTarget)(e,!0);return}if(!h){let e=(0,S.matchRoutes)(H.routes,(0,S.normalizeRoutePath)(d));if(null==e?void 0:e.length){let t=setTimeout(()=>{B.start()},200);yield e[0].route.preload(),clearTimeout(t),B.done()}null==r||r(),c(d,{replace:!1})}}),href:d,children:n}))}B.configure({showSpinner:!1});var eQ={pagerLink:"pager-link_9b9a7",title:"title_9b9a7",next:"next_9b9a7",desc:"desc_9b9a7"};function eJ(e){let{type:t,text:n,href:i}=e,{prevPageText:r="Previous Page",nextPageText:a="Next page"}=eg(),o="prev"===t?eQ.pagerLink:`${eQ.pagerLink} ${eQ.next}`;return(0,E.jsxs)(eX,{href:i,className:o,children:[(0,E.jsx)("span",{className:eQ.desc,children:"prev"===t?r:a}),(0,E.jsx)("span",{className:eQ.title,children:n})]})}var e0={prev:"prev_e7091",next:"next_e7091"};function e1(){let{prevPage:e,nextPage:t}=eb(),{lastUpdated:n=!1}=eg(),{siteData:i}=(0,S.usePageData)(),{themeConfig:r}=i,a=r.lastUpdated||n;return(0,E.jsxs)("footer",{className:"mt-8",children:[(0,E.jsx)("div",{className:"xs:flex pb-5 px-2 justify-end items-center",children:a&&(0,E.jsx)(eY,{})}),(0,E.jsx)("div",{className:"flex flex-col",children:(0,E.jsx)(eZ,{})}),(0,E.jsxs)("div",{className:"flex flex-col sm:flex-row sm:justify-around gap-4 pt-6",children:[(0,E.jsx)("div",{className:"prev_e7091 flex flex-col",children:e?(0,E.jsx)(eJ,{type:"prev",text:e.text,href:(0,S.normalizeHrefInRuntime)(e.link)}):null}),(0,E.jsx)("div",{className:"next_e7091 flex flex-col",children:t?(0,E.jsx)(eJ,{type:"next",text:t.text,href:(0,S.normalizeHrefInRuntime)(t.link)}):null})]})]})}var e2=e=>(0,E.jsx)("svg",el(eo({width:"1em",height:"1em",viewBox:"0 0 32 32"},e),{children:(0,E.jsx)("path",{fill:"currentColor",d:"M4 6h24v2H4zm0 18h24v2H4zm0-12h24v2H4zm0 6h24v2H4z"})})),e3=e=>(0,E.jsx)("svg",el(eo({width:"1em",height:"1em",viewBox:"0 0 32 32"},e),{children:(0,E.jsx)("path",{fill:"currentColor",d:"M22 16 12 26l-1.4-1.4 8.6-8.6-8.6-8.6L12 6z"})})),e4={hidden:"hidden_f6cde",container:"container_f6cde",navContainer:"navContainer_f6cde",leftNav:"leftNav_f6cde",rightNav:"rightNav_f6cde",singleItem:"singleItem_f6cde",activeItem:"activeItem_f6cde",navBarTitle:"navBarTitle_f6cde",menuItem:"menu-item_f6cde",mobileNavMenu:"mobileNavMenu_f6cde"},e5=()=>{var e;let{siteData:t}=(0,S.usePageData)(),n=(0,$.useLocaleSiteData)(),{logo:i}=t,r=(e=n.title)!=null?e:t.title,{theme:a}=(0,_.useContext)(S.ThemeContext),[o,l]=(0,_.useState)((0,$.getLogoUrl)(i,a));return(0,_.useEffect)(()=>{l((0,$.getLogoUrl)(i,a))},[a]),(0,E.jsx)("div",{className:`${e4.navBarTitle}`,children:(0,E.jsx)("a",{href:(0,S.withBase)(n.langRoutePrefix||"/"),className:"flex items-center w-full h-full text-base font-semibold transition-opacity duration-300 hover:opacity-60",children:o?(0,E.jsx)("img",{src:(0,S.normalizeImagePath)(o),alt:"logo",id:"logo",className:"mr-4 rspress-logo"}):(0,E.jsx)("span",{children:r})})})},e6={navTitleMask:"navTitleMask_71eca",sidebar:"sidebar_71eca",sidebarContainer:"sidebarContainer_71eca",sidebarContent:"sidebarContent_71eca",open:"open_71eca",menuLink:"menuLink_71eca",menuItem:"menuItem_71eca",collapseContainer:"collapseContainer_71eca",menuItemStatic:"menuItemStatic_71eca",menuItemActive:"menuItemActive_71eca",menuGroupActive:"menuGroupActive_71eca"},e7=({tag:e})=>e?e.trim().startsWith("{if(h.current||!d.current||!u.current)return;c.current&&clearTimeout(c.current);let e=d.current,t=u.current,n=t.clientHeight+4;f?(e.style.maxHeight=`${n}px`,e.style.transitionDuration="0.5s",t.style.opacity="0",c.current=setTimeout(()=>{d.current&&(d.current.style.maxHeight="0px")},0)):(e.style.maxHeight=`${n}px`,e.style.transitionDuration="0.3s",t.style.opacity="1",c.current=setTimeout(()=>{d.current&&d.current.style.removeProperty("max-height")},300))},[f]),(0,_.useEffect)(()=>{h.current=!1},[]);let v=e=>{e.stopPropagation(),o(e=>{let t=[...e],n=a.split("-").map(Number),i=t[n.shift()];for(let e of n)i=i.items[e];return"items"in i&&(i.collapsed=!i.collapsed),t})};return(0,E.jsxs)("section",{className:"mt-0.5 block",style:{marginLeft:0===i?0:"18px"},children:[(0,E.jsxs)("div",{className:`flex justify-between items-center ${s&&!m?e6.menuGroupActive:""} ${m?e6.menuItemActive:g||n.link?e6.menuItem:e6.menuItemStatic}`,onMouseEnter:()=>n.link&&e.preloadLink(n.link),onClick:e=>{n.link?(l((0,S.withBase)((0,S.normalizeHrefInRuntime)(n.link))),f&&v(e)):g&&v(e)},style:{borderRadius:0===i?"0 var(--rp-radius) var(--rp-radius) 0":void 0,cursor:g||n.link?"pointer":"normal"},children:[(0,E.jsxs)("h2",{className:"py-2 px-3 text-sm font-medium flex",style:eo({},0===i?tn:{}),children:[(0,E.jsx)(e7,{tag:n.tag}),n.text]}),g&&(0,E.jsx)("div",{className:`${e6.collapseContainer} p-2 rounded-xl`,onClick:v,children:x})]}),(0,E.jsx)("div",{ref:d,className:"transition-all duration-300 ease-in-out",style:{overflow:"hidden",maxHeight:p.current?0:void 0},children:(0,E.jsx)("div",{ref:u,className:"rspress-sidebar-group transition-opacity duration-500 ease-in-out",style:{opacity:p.current?0:1,marginLeft:0===i?"12px":0},children:(t=null==n?void 0:n.items)==null?void 0:t.map((t,n)=>"dividerType"in t?(0,E.jsx)(e8,{depth:i+1,dividerType:t.dividerType},n):(0,E.jsx)("div",{children:(0,E.jsx)(tt,el(eo({},e),{item:t,depth:i+1,id:`${a}-${n}`,preloadLink:e.preloadLink}))},n))})})]},a)}var te=e=>e.replace(/\.(mdx?)$/,"");function tt(e){let{item:t,depth:n=0,activeMatcher:i,id:r,setSidebarData:a}=e,o="link"in t&&t.link&&i(t.link),{page:l}=(0,S.usePageData)(),s=(0,_.useRef)(null);(0,_.useEffect)(()=>{var e;o&&((e=s.current)==null||e.scrollIntoView({block:"center"}))},[]);let{text:d}=t;return(t._fileKey===te(l.pagePath)&&l.title&&(d=l.title),"items"in t)?(0,E.jsx)(e9,{id:r,item:t,depth:n,activeMatcher:i,collapsed:t.collapsed,setSidebarData:a,preloadLink:e.preloadLink},`${t.text}-${r}`):(0,E.jsx)(eX,{href:(0,S.normalizeHrefInRuntime)(t.link),className:e6.menuLink,children:(0,E.jsxs)("div",{ref:s,onMouseEnter:()=>e.preloadLink(t.link),className:`${o?e6.menuItemActive:e6.menuItem} mt-0.5 py-2 px-3 font-medium flex`,style:eo(eo({fontSize:0===n?"14px":"13px",marginLeft:0===n?0:"18px",borderRadius:"0 var(--rp-radius) var(--rp-radius) 0"},0===n?tn:{}),o?{color:"var(--rp-c-brand)"}:{}),children:[(0,E.jsx)(e7,{tag:t.tag}),d]})})}var tn={fontSize:"14px",paddingLeft:"24px",fontWeight:"bold"},ti=new WeakMap;function tr(e){let{isSidebarOpen:t,beforeSidebar:n,afterSidebar:i,uiSwitch:r}=e,{items:a}=ev(),o=eg(),{pathname:l}=(0,S.useLocation)(),s=(0,A.normalizeSlash)(o.langRoutePrefix||""),[d,c]=(0,_.useState)(a.filter(Boolean).flat()),u=decodeURIComponent(l);(0,_.useEffect)(()=>{if(a===d)return;ti=new WeakMap;let e=t=>ti.has(t)?ti.get(t):"link"in t&&t.link&&p(t.link)||"items"in t&&t.items.some(t=>e(t))?(ti.set(t,!0),!0):(ti.set(t,!1),!1),t=n=>{"items"in n&&(n.items.forEach(t),e(n)&&(n.collapsed=!1))},n=a.filter(Boolean).flat();n.forEach(t),c(n)},[a,u]);let h=e=>e.replace(s,""),p=e=>eF((0,S.removeBase)(h(u)),h(e),!0),m=e=>{let t=(0,S.matchRoutes)(H.routes,e);if(null==t?void 0:t.length){let{route:e}=t[0];e.preload()}};return(0,E.jsx)("aside",{className:`${e6.sidebar} rspress-sidebar ${t?e6.open:""}`,children:(0,E.jsxs)("div",{className:`${e6.sidebarContainer}`,children:[r.showNavbar?(0,E.jsx)("div",{className:e6.navTitleMask,children:(0,E.jsx)(e5,{})}):null,(0,E.jsx)("div",{className:`mt-1 ${e6.sidebarContent}`,children:(0,E.jsx)("div",{className:"rspress-scrollbar",style:{maxHeight:"calc(100vh - var(--rp-nav-height) - 8px)",overflow:"auto"},children:(0,E.jsxs)("nav",{className:"pb-2",children:[n,d.map((e,t)=>{var n;return"dividerType"in e?(0,E.jsx)(e8,{depth:0,dividerType:e.dividerType},t):(0,E.jsx)(tt,{id:String(t),item:e,depth:0,activeMatcher:p,collapsed:(n=e.collapsed)==null||n,setSidebarData:c,preloadLink:m},t)}),i]})})})]})})}var ta=e=>(0,E.jsx)("li",{children:(0,E.jsx)("a",{href:`#${e.id}`,className:"rspress-toc-link sm:text-normal text-sm",style:{marginLeft:(e.depth-2)*12},onClick:t=>{t.preventDefault(),window.location.hash=e.id;let n=document.getElementById(e.id);n&&(0,$.scrollToTarget)(n,!1)},children:(0,E.jsx)("span",{className:"rspress-toc-link-text block",children:e.text})})},e.id);function to(){let{page:e}=(0,S.usePageData)();return(0,E.jsx)("ul",{children:e.toc.map(e=>(0,E.jsx)(ta,eo({},e),e.id))})}function tl({beforeSidebar:e,afterSidebar:t,uiSwitch:n}){let[i,r]=(0,_.useState)(!1),[a,o]=(0,_.useState)(!1),l=(0,_.useRef)(),{pathname:s}=(0,S.useLocation)();(0,_.useEffect)(()=>{r(!1)},[s]),(0,_.useEffect)(()=>(document.addEventListener("mouseup",d),document.addEventListener("touchend",d),()=>{document.addEventListener("mouseup",d),document.removeEventListener("touchend",d)}),[]);let d=e=>{let{current:t}=l;t&&!t.contains(e.target)&&o(!1)};return(0,E.jsxs)(_.Fragment,{children:[(0,E.jsxs)("div",{className:"rspress-sidebar-menu",children:[(0,E.jsxs)("button",{onClick:function(){r(!0)},className:"flex-center",children:[(0,E.jsx)("div",{className:"text-md mr-2",children:(0,E.jsx)(e2,{})}),(0,E.jsx)("span",{className:"text-sm",children:"Menu"})]}),(0,E.jsxs)("button",{onClick:()=>o(e=>!e),className:"flex-center",children:[(0,E.jsx)("span",{className:"text-sm",children:"On this page"}),(0,E.jsx)("div",{className:"text-md mr-2",children:(0,E.jsx)(e3,{})})]}),(0,E.jsx)("div",{className:"rspress-local-toc-container",style:{display:a?"block":"none"},ref:l,children:(0,E.jsx)(to,{})})]}),(0,E.jsx)(tr,{isSidebarOpen:i,beforeSidebar:e,afterSidebar:t,uiSwitch:n}),i?(0,E.jsx)("div",{onClick:function(){r(!1)},className:"rspress-sidebar-back-drop",style:{background:"rgba(0, 0, 0, 0.6)"}}):null]})}var ts={"header-anchor":"header-anchor_8f375",headerAnchor:"header-anchor_8f375","overview-groups":"overview-groups_8f375",overviewGroups:"overview-groups_8f375","overview-group-li":"overview-group-li_8f375",overviewGroupLi:"overview-group-li_8f375","level-2":"level-2_8f375",level2:"level-2_8f375","overview-group":"overview-group_8f375",overviewGroup:"overview-group_8f375",header:"header_8f375"},td="Others";function tc(e){let{siteData:t,page:{routePath:n,title:i}}=(0,S.usePageData)(),{pages:r}=t,a=r.filter(e=>e.routePath.startsWith(n.replace(/overview$/,""))&&e.routePath!==n),{items:o}=ev();function l(e){var t;let n=a.find(t=>(0,S.isEqualPath)(t.routePath,(0,S.withBase)(e.link||""))),i=e=>"link"in e&&e.link?e.link:"items"in e?i(e.items[0]):"",r=i(e);return el(eo({},e),{link:r,headers:((t=null==n?void 0:n.toc)==null?void 0:t.filter(e=>2===e.depth))||[]})}let s=(0,_.useMemo)(()=>{let e=o.filter(e=>"items"in e).map(e=>({name:e.text||"",items:e.items.map(l).filter(Boolean)})),t=o.filter(e=>!("items"in e)&&!(0,S.isEqualPath)(e.link||"",n));return[...e,...t.length>0?[{name:td,items:t.map(l)}]:[]]},[o]);return(0,E.jsxs)("div",{className:"overview-index mx-auto px-8",children:[(0,E.jsx)("div",{className:"flex items-center justify-between",children:!i&&(0,E.jsx)("h1",{className:"text-3xl leading-10 tracking-tight",children:"Overview"})}),e.content,s.map(e=>(0,E.jsxs)("div",{className:"mb-16",children:[e.name===td&&1===s.length?(0,E.jsx)("h2",{style:{paddingTop:0}}):(0,E.jsx)("h2",{children:e.name}),(0,E.jsx)("div",{className:ts.overviewGroups,children:e.items.map(e=>{var t;return(0,E.jsxs)("div",{className:ts.overviewGroup,children:[(0,E.jsx)("div",{className:"flex",children:(0,E.jsx)("h3",{style:{marginBottom:8},children:(0,E.jsx)(eX,{href:(0,S.normalizeHrefInRuntime)(e.link),children:e.text})})}),(0,E.jsx)("ul",{className:"list-none",children:(t=e.headers)==null?void 0:t.map(t=>(0,E.jsx)("li",{className:`${ts.overviewGroupLi} ${ts[`level${t.depth}`]} first:mt-2`,children:(0,E.jsx)(eX,{href:`${(0,S.normalizeHrefInRuntime)(e.link)}#${t.id}`,children:t.text})},t.id))})]},e.link)})})]},e.name))]})}var tu=(0,_.createContext)({}),th={scrollToTop:"scroll-to-top_1a167",entered:"entered_1a167"};function tp(){let[e,t]=(0,_.useState)(!1),n=()=>{t((window.scrollY||document.documentElement.scrollTop)>0)};return(0,_.useEffect)(()=>{window.addEventListener("scroll",n)},[]),(0,E.jsx)("button",{className:`${th.scrollToTop} ${e?th.entered:""}`,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},children:(0,E.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"w-6 h-6",children:(0,E.jsx)("path",{fillRule:"evenodd",d:"M11.47 2.47a.75.75 0 0 1 1.06 0l7.5 7.5a.75.75 0 1 1-1.06 1.06l-6.22-6.22V21a.75.75 0 0 1-1.5 0V4.81l-6.22 6.22a.75.75 0 1 1-1.06-1.06l7.5-7.5Z",clipRule:"evenodd"})})})}var tm={asideContainer:"aside-container_edeb4",docLayout:"docLayout_edeb4",content:"content_edeb4"};function tf(e){var t,n;let{beforeDocFooter:i,afterDocFooter:r,beforeDoc:a,afterDoc:o,beforeOutline:l,afterOutline:s,beforeSidebar:d,afterSidebar:c,uiSwitch:u}=e,{siteData:h,page:p}=(0,S.usePageData)(),{toc:m=[],frontmatter:f}=p,[g,x]=(0,_.useState)({}),{themeConfig:v}=h,b=(t=v.enableScrollToTop)!=null&&t,y=eg(),w=(null==y?void 0:y.outlineTitle)||(null==v?void 0:v.outlineTitle)||"ON THIS PAGE",k=(n=null==f?void 0:f.overview)!=null&&n,I=(0,E.jsx)(tu.Provider,{value:{tabData:g,setTabData:x},children:(0,E.jsx)(N.MDXProvider,{components:(0,z.getCustomMDXComponent)(),children:(0,E.jsx)(S.Content,{})})});return(0,E.jsxs)("div",{className:`${tm.docLayout} pt-0`,style:eo({},u.showNavbar?{}:{marginTop:0}),children:[a,u.showSidebar?(0,E.jsx)(tl,{beforeSidebar:d,afterSidebar:c,uiSwitch:u}):null,(0,E.jsxs)("div",{className:`${tm.content} rspress-doc-container flex flex-shrink-0 mx-auto`,children:[(0,E.jsx)("div",{className:"w-full",children:k?(0,E.jsx)(tc,{content:I}):(0,E.jsxs)("div",{children:[(0,E.jsx)("div",{className:"rspress-doc",children:I}),(0,E.jsxs)("div",{className:"rspress-doc-footer",children:[i,u.showDocFooter&&(0,E.jsx)(e1,{}),r]})]})}),b&&(0,E.jsx)(S.NoSSR,{children:(0,E.jsx)(tp,{})}),u.showAside?(0,E.jsx)("div",{className:tm.asideContainer,style:eo({},u.showNavbar?{}:{marginTop:0,paddingTop:"32px"}),children:(0,E.jsxs)("div",{children:[l,(0,E.jsx)(eV,{headers:m,outlineTitle:w}),s]})}):null]}),o]})}var tg=e=>{var t;let{top:n,bottom:i,beforeDocFooter:r,afterDocFooter:a,beforeDoc:o,afterDoc:l,beforeSidebar:s,afterSidebar:d,beforeOutline:c,afterOutline:u,beforeNavTitle:h,afterNavTitle:p,beforeNav:m,beforeHero:f,afterHero:g,beforeFeatures:x,afterFeatures:v,afterNavMenu:b}=e,y={beforeDocFooter:r,afterDocFooter:a,beforeDoc:o,afterDoc:l,beforeSidebar:s,afterSidebar:d,beforeOutline:c,afterOutline:u},w={beforeHero:f,afterHero:g,beforeFeatures:x,afterFeatures:v},{siteData:k,page:I}=(0,S.usePageData)(),{pageType:j,lang:P,title:_,frontmatter:N}=I,A=(0,$.useLocaleSiteData)();(0,F.useRedirect4FirstVisit)();let T=(t=null==N?void 0:N.title)!=null?t:_,L=k.title||A.title;T=T&&"doc"===j?`${T} - ${L}`:L;let O=(null==N?void 0:N.description)||k.description||A.description,M=(0,W.useUISwitch)();return(0,E.jsxs)("div",{children:[(0,E.jsxs)(C.Helmet,{htmlAttributes:{lang:P||"en"},children:[T?(0,E.jsx)("title",{children:T}):null,O?(0,E.jsx)("meta",{name:"description",content:O}):null]}),n,"blank"!==j&&M.showNavbar&&(0,E.jsx)(z.Nav,{beforeNavTitle:h,afterNavTitle:p,beforeNav:m,afterNavMenu:b}),(0,E.jsx)("section",{children:(()=>{switch(j){case"home":return(0,E.jsx)(z.default.HomeLayout,eo({},w));case"doc":return(0,E.jsx)(tf,el(eo({},y),{uiSwitch:M}));case"404":return(0,E.jsx)(z.default.NotFoundLayout,{});case"custom":case"blank":return(0,E.jsx)(S.Content,{});default:return(0,E.jsx)(tf,eo({},y))}})()}),i]})},tx={button:"button_72e53",medium:"medium_72e53",big:"big_72e53",brand:"brand_72e53",alt:"alt_72e53"};function tv(e){let{theme:t="brand",size:n="big",href:i="/",external:r=!1,className:a=""}=e,o=null;return"button"===e.type?o="button":"a"===e.type&&(o=r?"a":eX),_.createElement(null!=o?o:"a",{className:`button_72e53 ${tx[t]} ${tx[n]} ${a}`,href:i},e.text)}var tb={clip:"clip_c867a",mask:"mask_c867a"},ty={name:"modern",text:"modern ssg",tagline:"modern ssg",actions:[],image:void 0};function tw({frontmatter:e}){var t,n,i;let r=(null==e?void 0:e.hero)||ty,a=void 0!==r.image,o=a?"sm:max-w-xl":"sm:max-w-4xl",l=r.text?r.text.toString().split(/\n/g).filter(e=>""!==e):[];return(0,E.jsxs)("div",{className:"m-auto pt-0 px-6 pb-12 sm:pt-10 sm:px-16 md:pt-16 md:px-16 md:pb-16",children:[(0,E.jsx)("div",{className:"mask_c867a",style:{left:a?"75%":"50%"}}),(0,E.jsxs)("div",{className:"m-auto flex flex-col md:flex-row max-w-6xl min-h-[50vh] mt-12 sm:mt-0",children:[(0,E.jsxs)("div",{className:"flex flex-col justify-center text-center max-w-xl sm:max-w-4xl m-auto order-2 md:order-1",children:[(0,E.jsx)("h1",{className:"font-bold text-3xl pb-2 sm:text-6xl md:text-7xl m-auto sm:m-4 md:m-0 md:pb-3 lg:pb-2 leading-tight z-10",children:(0,E.jsx)("span",{className:"clip_c867a",style:{lineHeight:"1.3"},children:eU(r.name)})}),0!==l.length&&l.map(e=>(0,E.jsx)("p",{className:`rspress-home-hero-text mx-auto md:m-0 text-3xl sm:text-5xl md:text-6xl sm:pb-2 font-bold z-10 ${o}`,style:{lineHeight:"1.2"},children:eU(e)},e)),(0,E.jsx)("p",{className:`rspress-home-hero-tagline whitespace-pre-wrap pt-4 m-auto md:m-0 text-sm sm:tex-xl md:text-2xl text-text-2 font-medium z-10 ${o}`,children:eU(r.tagline)}),((t=r.actions)==null?void 0:t.length)&&(0,E.jsx)("div",{className:"grid md:flex md:flex-wrap md:justify-center gap-3 m--1.5 pt-6 sm:pt-8 z-10",children:r.actions.map(e=>(0,E.jsx)("div",{className:"flex flex-shrink-0 p-1",children:(0,E.jsx)(tv,{type:"a",text:eU(e.text),href:(0,S.normalizeHrefInRuntime)(e.link),theme:e.theme,className:"w-full"})},e.link))})]}),a?(0,E.jsx)("div",{className:"rspress-home-hero-image md:flex-center m-auto order-1 md:order-2 sm:flex md:none lg:flex",children:(0,E.jsx)("img",{src:(0,S.normalizeImagePath)((n=r.image)==null?void 0:n.src),alt:(i=r.image)==null?void 0:i.alt,width:375,height:375})}):null]})]})}var tk={"grid-2":"grid-2_ffda3",grid2:"grid-2_ffda3","grid-4":"grid-4_ffda3",grid4:"grid-4_ffda3","grid-6":"grid-6_ffda3",grid6:"grid-6_ffda3","grid-3":"grid-3_ffda3",grid3:"grid-3_ffda3",featureCard:"featureCard_ffda3"},tI=e=>{let{span:t}=e;return`grid-${t||4}`};function tj({frontmatter:e}){let t=null==e?void 0:e.features;return(0,E.jsx)("div",{className:"overflow-hidden m-auto flex flex-wrap max-w-6xl",children:null==t?void 0:t.map(e=>{let{icon:t,title:n,details:i,link:r}=e;return(0,E.jsx)("div",{className:`${tk[tI(e)]} rounded hover:var(--rp-c-brand)`,children:(0,E.jsx)("div",{className:"h-full p-2",children:(0,E.jsxs)("article",{className:`rspress-home-feature-card ${tk.featureCard} h-full p-8 rounded-4xl border-transparent`,style:{cursor:r?"pointer":"auto"},onClick:()=>{r&&(window.location.href=r)},children:[t?(0,E.jsx)("div",{className:"flex-center",children:(0,E.jsx)("div",{className:"rspress-home-feature-icon w-12 h-12 text-3xl text-center",children:t})}):null,(0,E.jsx)("h2",{className:"rspress-home-feature-title font-bold text-center",children:n}),(0,E.jsx)("p",{className:"rspress-home-feature-detail leading-6 pt-2 text-sm text-text-2 font-medium",children:(0,$.renderHtmlOrText)(i)})]},n)})},n)})})}function tP(e){let{beforeHero:t,afterHero:n,beforeFeatures:i,afterFeatures:r}=e,{page:{frontmatter:a}}=(0,S.usePageData)();return(0,E.jsxs)("div",{className:"relative",style:{minHeight:"calc(100vh - var(--rp-nav-height))",paddingBottom:"80px"},children:[(0,E.jsxs)("div",{className:"pb-12",children:[t,(0,E.jsx)(tw,{frontmatter:a}),n,i,(0,E.jsx)(tj,{frontmatter:a}),r]}),(0,E.jsx)(z.HomeFooter,{})]})}function tS(e){let{pathname:t,base:n}=e,i=new RegExp(e.activeMatch||e.link).test((0,A.withoutBase)(t,n));return(0,E.jsx)(eX,{href:(0,S.normalizeHrefInRuntime)(e.link),children:(0,E.jsxs)("div",{className:`rspress-nav-menu-item ${e4.singleItem} ${i?e4.activeItem:""} text-sm font-medium mx-1.5 px-3 py-2 flex items-center`,children:[(0,E.jsx)(e7,{tag:e.tag}),e.text,e.rightIcon]},e.text)})}var tE=e=>(0,E.jsx)("svg",el(eo({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),{children:(0,E.jsx)("path",{d:"M12 18c-3.3 0-6-2.7-6-6s2.7-6 6-6 6 2.7 6 6-2.7 6-6 6zm0-10c-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4zM12 4c-.6 0-1-.4-1-1V1c0-.6.4-1 1-1s1 .4 1 1v2c0 .6-.4 1-1 1zM12 24c-.6 0-1-.4-1-1v-2c0-.6.4-1 1-1s1 .4 1 1v2c0 .6-.4 1-1 1zM5.6 6.6c-.3 0-.5-.1-.7-.3L3.5 4.9c-.4-.4-.4-1 0-1.4s1-.4 1.4 0l1.4 1.4c.4.4.4 1 0 1.4-.1.2-.4.3-.7.3zM19.8 20.8c-.3 0-.5-.1-.7-.3l-1.4-1.4c-.4-.4-.4-1 0-1.4s1-.4 1.4 0l1.4 1.4c.4.4.4 1 0 1.4-.2.2-.5.3-.7.3zM3 13H1c-.6 0-1-.4-1-1s.4-1 1-1h2c.6 0 1 .4 1 1s-.4 1-1 1zM23 13h-2c-.6 0-1-.4-1-1s.4-1 1-1h2c.6 0 1 .4 1 1s-.4 1-1 1zM4.2 20.8c-.3 0-.5-.1-.7-.3-.4-.4-.4-1 0-1.4l1.4-1.4c.4-.4 1-.4 1.4 0s.4 1 0 1.4l-1.4 1.4c-.2.2-.4.3-.7.3zM18.4 6.6c-.3 0-.5-.1-.7-.3-.4-.4-.4-1 0-1.4l1.4-1.4c.4-.4 1-.4 1.4 0s.4 1 0 1.4l-1.4 1.4c-.2.2-.5.3-.7.3z"})})),tC=e=>(0,E.jsx)("svg",el(eo({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),{children:(0,E.jsx)("path",{d:"M12.1 22h-.9c-5.5-.5-9.5-5.4-9-10.9.4-4.8 4.2-8.6 9-9 .4 0 .8.2 1 .5.2.3.2.8-.1 1.1-2 2.7-1.4 6.4 1.3 8.4 2.1 1.6 5 1.6 7.1 0 .3-.2.7-.3 1.1-.1.3.2.5.6.5 1-.2 2.7-1.5 5.1-3.6 6.8-1.9 1.4-4.1 2.2-6.4 2.2zM9.3 4.4c-2.9 1-5 3.6-5.2 6.8-.4 4.4 2.8 8.3 7.2 8.7 2.1.2 4.2-.4 5.8-1.8 1.1-.9 1.9-2.1 2.4-3.4-2.5.9-5.3.5-7.5-1.1-2.8-2.2-3.9-5.9-2.7-9.2z"})})),tz=e=>{null==I||I[e?"add":"remove"]("dark")},t_=()=>{var e;let t=!1===U.default.themeConfig.darkMode,n=(e=window.RSPRESS_THEME)!=null?e:window.MODERN_THEME;if(n){tz("dark"===n);return}if(t)return;let i=localStorage.getItem(A.APPEARANCE_KEY)||"auto";P=window.matchMedia("(prefers-color-scheme: dark)"),tz("auto"===i?P.matches:"dark"===i)};"undefined"!=typeof window&&"undefined"!=typeof localStorage&&(I=document.documentElement.classList,t_());var tN=()=>null==I?void 0:I.contains("dark"),tA=()=>("undefined"!=typeof window&&window.addEventListener("storage",t_),()=>{let e=tN();"undefined"!=typeof window&&"undefined"!=typeof localStorage&&(tz(!e),j=e?"light":"dark",localStorage.setItem(A.APPEARANCE_KEY,j))});function tT({onClick:e}){let{theme:t,setTheme:n}=(0,_.useContext)(S.ThemeContext),i=tA();return(0,_.useEffect)(()=>{tN()&&n("dark")},[]),(0,E.jsx)("div",{onClick:()=>{n("dark"===t?"light":"dark"),i(),null==e||e()},className:"md:mr-2 rspress-nav-appearance",children:(0,E.jsx)("div",{className:"p-1 border border-solid border-gray-300 text-gray-400 cursor-pointer rounded-md hover:border-gray-600 hover:text-gray-600 dark:hover:border-gray-200 dark:hover:text-gray-200 transition-all duration-300",children:"light"===t?(0,E.jsx)(tE,{width:"18",height:"18",fill:"currentColor"}):(0,E.jsx)(tC,{width:"18",height:"18",fill:"currentColor"})})})}var tL=e=>(0,E.jsx)("svg",el(eo({width:"1em",height:"1em",viewBox:"0 0 32 32"},e),{children:(0,E.jsx)("path",{fill:"currentColor",d:"M16 22 6 12l1.4-1.4 8.6 8.6 8.6-8.6L26 12z"})})),tO={socialLinksIcon:"social-links-icon_93d67",menuItem:"menu-item_93d67"},tM={discord:(0,E.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,E.jsx)("title",{children:"Discord"}),(0,E.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,E.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,E.jsx)("title",{children:"Facebook"}),(0,E.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,E.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,E.jsx)("title",{children:"GitHub"}),(0,E.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"})]}),gitlab:(0,E.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,E.jsx)("title",{children:"GitLab"}),(0,E.jsx)("path",{fill:"currentColor",d:"m21.94 13.11l-1.05-3.22c0-.03-.01-.06-.02-.09l-2.11-6.48a.859.859 0 0 0-.8-.57c-.36 0-.68.25-.79.58l-2 6.17H8.84L6.83 3.33a.851.851 0 0 0-.79-.58c-.37 0-.69.25-.8.58L3.13 9.82v.01l-1.07 3.28c-.16.5.01 1.04.44 1.34l9.22 6.71c.17.12.39.12.56-.01l9.22-6.7c.43-.3.6-.84.44-1.34M8.15 10.45l2.57 7.91l-6.17-7.91m8.73 7.92l2.47-7.59l.1-.33h3.61l-5.59 7.16m4.1-13.67l1.81 5.56h-3.62m-1.3.95l-1.79 5.51L12 19.24l-2.86-8.79M6.03 3.94L7.84 9.5H4.23m-1.18 4.19c-.09-.07-.13-.19-.09-.29l.79-2.43l5.82 7.45m11.38-4.73l-6.51 4.73l.02-.03l5.79-7.42l.79 2.43c.04.1 0 .22-.09.29"})]}),instagram:(0,E.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,E.jsx)("title",{children:"Instagram"}),(0,E.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,E.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,E.jsx)("title",{children:"LinkedIn"}),(0,E.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,E.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,E.jsx)("title",{children:"Slack"}),(0,E.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,E.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,E.jsx)("title",{children:"Twitter"}),(0,E.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,E.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,E.jsx)("title",{children:"YouTube"}),(0,E.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,E.jsxs)("svg",{className:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","data-spm-anchor-id":"a313x.7781069.0.i5",children:[(0,E.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","data-spm-anchor-id":"a313x.7781069.0.i2"}),(0,E.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","data-spm-anchor-id":"a313x.7781069.0.i3"})]}),qq:(0,E.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,E.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,E.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,E.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,E.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,E.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,E.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,E.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,E.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,E.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"})}),lark:(0,E.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",children:(0,E.jsxs)("g",{fillRule:"evenodd",clipRule:"evenodd",children:[(0,E.jsx)("path",{d:"M41.0716 5.99409L3.31071 16.5187L12.3856 25.8126L20.7998 25.9594L30.4827 16.5187C30.2266 15.9943 30.0985 15.5552 30.0985 15.2013C30.0985 14.4074 30.4104 13.7786 30.8947 13.333C31.7241 12.57 32.7222 12.4558 33.8889 12.9905L41.0716 5.99409Z"}),(0,E.jsx)("path",{d:"M42.1021 6.72842L31.5775 44.4893L22.2836 35.4144L22.1367 27.0002L31.5115 17.4816C32.0195 17.8454 32.5743 18.0105 33.1759 17.9769C34.0784 17.9264 34.6614 17.3813 34.9349 17.0602C35.2083 16.7392 35.5293 16.2051 35.5025 15.4113C35.4847 14.8821 35.3109 14.3941 34.9812 13.9472L42.1021 6.72842Z"})]})}),x:(0,E.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,E.jsx)("title",{children:"X"}),(0,E.jsx)("path",{d:"M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z"})]})},tD=e=>{let{link:t,popperStyle:n={}}=e,{icon:i,mode:r="link",content:a}=t,o="object"==typeof i?(0,E.jsx)("div",{dangerouslySetInnerHTML:{__html:i.svg}}):tM[i],[l,s]=(0,_.useState)(!1),d=()=>{s(!0)},c=()=>{s(!1)};return"link"===r?(0,E.jsx)("a",{href:a,target:"_blank",rel:"noopener noreferrer",className:"social-links",children:(0,E.jsx)("div",{className:`${tO.socialLinksIcon}`,children:o})},a):"text"===r?(0,E.jsxs)("div",{className:`${tO.socialLinksIcon} cursor-pointer relative mx-3`,onMouseEnter:d,onMouseLeave:c,children:[o,l?(0,E.jsx)("div",{style:eo({boxShadow:"var(--rp-shadow-3)",border:"1px solid var(--rp-c-divider-light)"},n),className:"z-[1] p-3 w-50 absolute right-0 bg-white dark:bg-dark",children:(0,E.jsx)("div",{className:"text-md",children:a})}):null]}):"img"===r?(0,E.jsxs)("div",{className:`${tO.socialLinksIcon} cursor-pointer relative`,onMouseEnter:d,onMouseLeave:c,children:[o,l?(0,E.jsx)("div",{className:"break-all z-[1] p-3 w-[50px] h-[50px] absolute right-0 bg-white dark:bg-dark rounded-xl",style:eo({boxShadow:"var(--rp-shadow-3)"},n),children:(0,E.jsx)("img",{src:a,alt:"img"})}):null]}):(0,E.jsx)("div",{})},tR=e=>{let{links:t,moreIconVisible:n=!1,mouseEnter:i}=e;return(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)("div",{className:"flex-center h-full gap-x-4 transition-colors duration-300 md:mr-2",children:t.map((e,t)=>(0,E.jsx)(tD,{link:e,popperStyle:{top:"2.5rem"}},t))}),n?(0,E.jsx)("div",{className:"md:ml-1 p-2",onMouseEnter:i,children:(0,E.jsx)(tL,{})}):null]})},tB=e=>{let{links:t}=e;return(0,E.jsx)("div",{style:{boxShadow:"var(--rp-shadow-3)",marginRight:"-2px",border:"1px solid var(--rp-c-divider-light)",background:"var(--rp-c-bg)"},className:"absolute top-8 right-0 z-1 p-3 w-32 rounded-2xl flex flex-wrap gap-4",children:t.map(e=>(0,E.jsx)(tD,{link:e,popperStyle:{top:"1.25rem"}},e.content))})},tH=({socialLinks:e})=>{let t=e.length>3,n=[],i=[];e.forEach((e,t)=>{t<3?n.push(e):i.push(e)});let[r,a]=(0,_.useState)(!1);return(0,E.jsxs)("div",{className:`social-links ${tO.menuItem} flex-center relative`,onMouseLeave:()=>a(!1),children:[(0,E.jsx)(tR,{links:n,moreIconVisible:t,mouseEnter:()=>a(!0)}),r?(0,E.jsx)(tB,{links:i}):null]})},t$=e=>(0,E.jsx)("svg",el(eo({width:18,height:18,viewBox:"0 0 32 32"},e),{children:(0,E.jsx)("path",{fill:"currentColor",d:"M27.85 29H30l-6-15h-2.35l-6 15h2.15l1.6-4h6.85zm-7.65-6 2.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 tF(){var e,t;let{siteData:n,page:i}=(0,S.usePageData)(),r=(0,S.useVersion)(),{pathname:a}=(0,S.useLocation)(),o=n.lang||"",l=n.multiVersion.default||"",s=Object.values(n.locales||n.themeConfig.locales||{}),d=((e=n.route)==null?void 0:e.cleanUrls)||!1,c=s.length>1,{lang:u}=i,{base:h}=n;return c?{text:(0,E.jsx)(t$,{style:{width:"18px",height:"18px"}}),items:s.map(e=>({text:null==e?void 0:e.label,link:(0,A.replaceLang)(a,{current:u,target:e.lang,default:o},{current:r,default:l},h,d)})),activeValue:(t=s.find(e=>u===e.lang))==null?void 0:t.label}:null}function tW(){var e;let{siteData:t}=(0,S.usePageData)(),n=(0,S.useVersion)(),{pathname:i}=(0,S.useLocation)(),r=((e=t.route)==null?void 0:e.cleanUrls)||!1,a=t.multiVersion.default||"",o=t.multiVersion.versions||[],{base:l}=t;return{items:o.map(e=>({text:e,link:(0,A.replaceVersion)(i,{current:n,target:e,default:a},l,r)})),text:n,activeValue:n}}var tq=e=>(0,E.jsx)("svg",el(eo({width:"1em",height:"1em",viewBox:"0 0 32 32"},e),{children:(0,E.jsx)("path",{fill:"currentColor",d:"M16 22 6 12l1.4-1.4 8.6 8.6 8.6-8.6L26 12z"})})),tU={navScreen:"navScreen_457e8",active:"active_457e8",container:"container_457e8",navMenu:"navMenu_457e8",navMenuItem:"navMenuItem_457e8",navAppearance:"navAppearance_457e8",navScreenMenuGroup:"navScreenMenuGroup_457e8",open:"open_457e8",button:"button_457e8",buttonSpan:"buttonSpan_457e8",items:"items_457e8",down:"down_457e8"};function tV(e){let{activeValue:t}=e,[n,i]=(0,_.useState)(!1);function r({item:e}){return(0,E.jsx)("div",{className:"p-1 text-center",children:(0,E.jsx)("span",{className:"text-brand",children:e.text})})}function a({item:e}){return(0,E.jsx)("div",{className:"py-1 font-medium",children:(0,E.jsx)(eX,{href:e.link,children:(0,E.jsx)("div",{children:(0,E.jsx)("div",{className:"flex justify-center",children:(0,E.jsx)("span",{children:e.text})})})})})}let o=e=>t===e.text?(0,E.jsx)(r,{item:e},e.link):(0,E.jsx)(a,{item:e},e.link),l=e=>(0,E.jsxs)("div",{children:["link"in e?o(e):(0,E.jsx)("p",{className:"font-bold text-gray-400 my-1 not:first:border",children:e.text}),e.items.map(o)]});return(0,E.jsxs)("div",{className:`${n?tU.open:""} ${tU.navScreenMenuGroup} relative`,children:[(0,E.jsxs)("button",{className:tU.button,onClick:()=>{i(!n)},children:[(0,E.jsx)("span",{className:tU.buttonSpan,children:e.text}),(0,E.jsx)(tq,{className:`${n?tU.open:""} ${tU.down} `})]}),(0,E.jsx)("div",{children:(0,E.jsx)("div",{className:tU.items,children:e.items.map(e=>(0,E.jsx)("div",{children:"items"in e?l(e):o(e)},e.text))})})]})}var tG=()=>{let e=tF();return(0,E.jsx)("div",{className:`${tU.navTranslations} flex text-sm font-bold justify-center`,children:(0,E.jsx)("div",{className:"mx-1.5 my-1",children:(0,E.jsx)(tV,eo({},e))})})},tZ=()=>{let e=tW();return(0,E.jsx)("div",{className:`${tU.navTranslations} flex text-sm font-bold justify-center`,children:(0,E.jsx)("div",{className:"mx-1.5 my-1",children:(0,E.jsx)(tV,eo({},e))})})};function tY(e){var t;let{isScreenOpen:n,siteData:i,pathname:r}=e,a=(0,_.useRef)(null),o=i.themeConfig.locales||[],l=o.length>1,s=i.multiVersion.versions.length>1,d=(0,V.useNavData)(),c=!1!==i.themeConfig.darkMode,u=((t=null==i?void 0:i.themeConfig)==null?void 0:t.socialLinks)||[],h=u.length>0,p=o.map(e=>e.lang||"zh")||[],{base:m}=i;return(0,_.useEffect)(()=>(a.current&&n&&(0,q.disableBodyScroll)(a.current,{reserveScrollBarGap:!0}),()=>{(0,q.clearAllBodyScrollLocks)()}),[n]),(0,E.jsx)("div",{className:`${tU.navScreen} ${n?tU.active:""}`,ref:a,id:"navScreen",children:(0,E.jsxs)("div",{className:tU.container,children:[(0,E.jsx)(({menuItems:e})=>(0,E.jsx)("div",{className:tU.navMenu,children:e.map(e=>(0,E.jsx)("div",{className:`${tU.navMenuItem} w-full`,children:"link"in e?(0,E.jsx)(tS,eo({pathname:r,base:m,langs:p},e),e.text):(0,E.jsx)("div",{className:"mx-3 last:mr-0",children:(0,E.jsx)(tV,el(eo({},e),{items:"items"in e?e.items:e}))},e.text)},e.text))}),{menuItems:d}),(0,E.jsxs)("div",{className:"flex-center flex-col gap-2",children:[c&&(0,E.jsx)(()=>(0,E.jsx)("div",{className:`mt-2 ${tU.navAppearance} flex justify-center`,children:(0,E.jsx)(S.NoSSR,{children:(0,E.jsx)(tT,{})})}),{}),l&&(0,E.jsx)(tG,{}),s&&(0,E.jsx)(tZ,{}),h&&(0,E.jsx)(tH,{socialLinks:u})]})]})})}var tK=e=>(0,E.jsxs)("svg",el(eo({xmlns:"http://www.w3.org/2000/svg",width:32,height:32,viewBox:"0 0 32 32"},e),{children:[(0,E.jsx)("circle",{cx:8,cy:16,r:2,fill:"currentColor"}),(0,E.jsx)("circle",{cx:16,cy:16,r:2,fill:"currentColor"}),(0,E.jsx)("circle",{cx:24,cy:16,r:2,fill:"currentColor"})]})),tX={navHamburger:"navHamburger_e7b06",active:"active_e7b06"};function tQ(e){let{siteData:t,pathname:n}=e,{isScreenOpen:i,toggleScreen:r}=function(){let{pathname:e}=(0,S.useLocation)(),[t,n]=(0,_.useState)(!1);function i(){n(!0),window.addEventListener("resize",a)}function r(){n(!1),window.removeEventListener("resize",a)}function a(){window.outerWidth>=768&&r()}return(0,_.useEffect)(()=>{r()},[e]),{isScreenOpen:t,openScreen:i,closeScreen:r,toggleScreen:function(){t?r():i()}}}();return(0,E.jsxs)(_.Fragment,{children:[(0,E.jsx)(tY,{isScreenOpen:i,siteData:t,pathname:n}),(0,E.jsx)("button",{onClick:r,"aria-label":"mobile hamburger",className:`${i?tX.active:""} ${tX.navHamburger} text-gray-500`,children:(0,E.jsx)(tK,{fill:"currentColor"})})]})}function tJ({item:e}){return(0,E.jsxs)("div",{className:"rounded-2xl my-1 flex",style:{padding:"0.4rem 1.5rem 0.4rem 0.75rem"},children:[e.tag&&(0,E.jsx)(e7,{tag:e.tag}),(0,E.jsx)("span",{className:"text-brand",children:e.text})]},e.link)}function t0({item:e}){return(0,E.jsx)("div",{className:"font-medium my-1",children:(0,E.jsx)(eX,{href:e.link,children:(0,E.jsx)("div",{className:"rounded-2xl hover:bg-mute",style:{padding:"0.4rem 1.5rem 0.4rem 0.75rem"},children:(0,E.jsxs)("div",{className:"flex",children:[e.tag&&(0,E.jsx)(e7,{tag:e.tag}),(0,E.jsx)("span",{children:e.text})]})})})},e.link)}function t1(e){let{activeValue:t,items:n,base:i="",link:r="",pathname:a=""}=e,[o,l]=(0,_.useState)(!1),s=e=>{let n=new RegExp(e.activeMatch||e.link).test((0,A.withoutBase)(a,i));return t===e.text||!t&&n?(0,E.jsx)(tJ,{item:e},e.link):(0,E.jsx)(t0,{item:e},e.link)},d=e=>(0,E.jsxs)("div",{children:["link"in e?s(e):(0,E.jsx)("p",{className:"font-bold text-gray-400 my-1 not:first:border",children:e.text}),e.items.map(s)]});return(0,E.jsxs)("div",{className:"relative flex-center h-14",onMouseLeave:()=>l(!1),children:[(0,E.jsx)("button",{onMouseEnter:()=>l(!0),className:"rspress-nav-menu-group-button flex-center items-center font-medium text-sm text-text-1 hover:text-text-2 transition-colors duration-200",children:r?(0,E.jsx)(tS,el(eo({},e),{rightIcon:(0,E.jsx)(tq,{})})):(0,E.jsxs)(E.Fragment,{children:[(0,E.jsxs)("span",{className:"text-sm font-medium flex",style:{marginRight:"2px"},children:[(0,E.jsx)(e7,{tag:e.tag}),e.text]}),(0,E.jsx)(tq,{})]})}),(0,E.jsx)("div",{className:"rspress-nav-menu-group-content absolute mx-0.8 transition-opacity duration-300",style:{opacity:o?1:0,visibility:o?"visible":"hidden",right:0,top:"52px"},children:(0,E.jsx)("div",{className:"p-3 pr-2 w-full h-full max-h-100vh whitespace-nowrap",style:{boxShadow:"var(--rp-shadow-3)",zIndex:100,border:"1px solid var(--rp-c-divider-light)",borderRadius:"var(--rp-radius-large)",background:"var(--rp-c-bg)"},children:n.map(e=>(0,E.jsx)("div",{children:"items"in e?d(e):s(e)},e.text))})})]})}function t2(){let e=tF();return(0,E.jsx)("div",{className:`translation ${e4.menuItem} flex text-sm font-bold items-center px-3 py-2`,children:(0,E.jsx)("div",{children:(0,E.jsx)(t1,eo({},e))})})}function t3(){let e=tW();return(0,E.jsx)("div",{className:`translation ${e4.menuItem} flex text-sm font-bold items-center px-3 py-2`,children:(0,E.jsx)("div",{children:(0,E.jsx)(t1,eo({},e))})})}function t4(e){var t;let{beforeNavTitle:n,afterNavTitle:i,beforeNav:r,afterNavMenu:a}=e,{siteData:o}=(0,S.usePageData)(),{base:l}=o,{pathname:s}=(0,S.useLocation)(),[d,c]=(0,_.useState)(!1),u=ek(),h=Object.values(o.locales||o.themeConfig.locales||{}),p=h.length>1,m=o.multiVersion.versions.length>1,f=o.themeConfig.socialLinks||[],g=f.length>0,x=h.map(e=>e.lang||"")||[];(0,_.useEffect)(()=>{c(eq())},[]);let v=({menuItems:e})=>(0,E.jsx)("div",{className:"rspress-nav-menu menu h-14",children:e.map(e=>"items"in e||Array.isArray(e)?(0,E.jsx)("div",{className:"mx-3 last:mr-0",children:(0,E.jsx)(t1,el(eo({},e),{base:l,pathname:s,langs:x,items:"items"in e?e.items:e}))},e.text):(0,E.jsx)(tS,eo({pathname:s,langs:x,base:l},e),e.link))}),b=(0,V.useNavData)(),y=e=>{var t;return(t=e.position)!=null?t:"right"},w=b.filter(e=>"left"===y(e)),k=b.filter(e=>"right"===y(e)),I=((t=null==o?void 0:o.themeConfig)==null?void 0:t.search)!==!1,j=!1!==o.themeConfig.darkMode;return(0,E.jsxs)(E.Fragment,{children:[r,(0,E.jsx)("div",{className:`${e4.navContainer} sticky rspress-nav px-6 ${u?e4.hidden:""}`,children:(0,E.jsxs)("div",{className:`${e4.container} flex justify-between items-center h-full`,children:[n,(0,E.jsx)(e5,{}),i,(0,E.jsxs)("div",{className:`${e4.content} flex flex-1 justify-end items-center`,children:[w.length>0?(0,E.jsx)("div",{className:e4.leftNav,children:(0,E.jsx)(v,{menuItems:w})}):null,(0,E.jsxs)("div",{className:e4.rightNav,children:[I&&(0,E.jsx)("div",{className:"flex sm:flex-1 items-center sm:pl-4 sm:pr-2",children:(0,E.jsx)(z.Search,{})}),(0,E.jsx)(v,{menuItems:k}),(0,E.jsxs)("div",{className:"flex-center flex-row",children:[p&&(0,E.jsx)(t2,{}),m&&(0,E.jsx)(t3,{}),j&&(0,E.jsx)("div",{className:"mx-2",children:(0,E.jsx)(tT,{})}),g&&(0,E.jsx)(tH,{socialLinks:f})]})]}),a,(0,E.jsxs)("div",{className:e4.mobileNavMenu,children:[d&&(0,E.jsx)(z.Search,{}),(0,E.jsx)(tQ,{siteData:o,pathname:s})]})]})]})})]})}var t5=e=>(0,E.jsx)("svg",el(eo({width:24,height:24,viewBox:"0 0 32 32"},e),{children:(0,E.jsx)("path",{fill:"var(--rp-c-gray)",d:"m29 27.586-7.552-7.552a11.018 11.018 0 1 0-1.414 1.414L27.586 29ZM4 13a9 9 0 1 1 9 9 9.01 9.01 0 0 1-9-9Z"})})),t6={mask:"mask_6e282",modal:"modal_6e282",inputForm:"inputForm_6e282",input:"input_6e282",close:"close_6e282",searchHits:"searchHits_6e282",navSearchButton:"navSearchButton_6e282",searchWord:"searchWord_6e282",suggestItem:"suggestItem_6e282",suggestItemContainer:"suggestItemContainer_6e282",contentWrapper:"contentWrapper_6e282",mark:"mark_6e282",titleForContent:"titleForContent_6e282",actionIcon:"actionIcon_6e282",current:"current_6e282",tabClassName:"tabClassName_6e282",mobileNavSearchButton:"mobileNavSearchButton_6e282"},t7={container:"container_fa768",tabList:"tab-list_fa768",tab:"tab_fa768",notSelected:"not-selected_fa768",selected:"selected_fa768",noScrollbar:"no-scrollbar_fa768"},t8=e=>{var t;return(t=e)&&"object"==typeof t&&"label"in t?e.label||e.value:e};function t9(e){let{values:t,defaultValue:n,onChange:i,children:r,groupId:a,tabPosition:o="left",tabContainerClassName:l}=e,s=t||[];0===s.length&&(s=r.map(e=>{var t,n,i;return{label:(t=e.props)==null?void 0:t.label,value:((n=e.props)==null?void 0:n.value)||((i=e.props)==null?void 0:i.label)}}));let{tabData:d,setTabData:c}=(0,_.useContext)(tu),u=0;a&&void 0!==d[a]?u=d[a]:n&&(u=s.findIndex(e=>"string"==typeof e?e===n:!!e&&"object"==typeof e&&"value"in e&&e.value===n));let[h,p]=(0,_.useState)(u);return(0,E.jsxs)("div",{className:t7.container,children:[(0,E.jsx)("div",{className:l,children:s.length?(0,E.jsx)("div",{className:`${t7.tabList} ${t7.noScrollbar}`,style:{justifyContent:"center"===o?"center":"flex-start"},children:s.map((e,t)=>(0,E.jsx)("div",{className:`${t7.tab} ${h===t?t7.selected:t7.notSelected}`,onClick:()=>{null==i||i(t),p(t),a&&c(el(eo({},d),{[a]:t}))},children:t8(e)},t))}):null}),(0,E.jsx)("div",{children:r[h]})]})}function ne(e){var{children:t}=e,n=es(e,["children"]);return(0,E.jsx)("div",el(eo({},n),{className:"rounded px-2",children:t}))}var nt=e=>(0,E.jsxs)("svg",el(eo({xmlns:"http://www.w3.org/2000/svg",width:48,height:48,fill:"none",viewBox:"0 0 48 48"},e),{children:[(0,E.jsx)("path",{stroke:"currentColor",strokeWidth:4,d:"M24 5v6m7 1 4-4m-18 4-4-4m27 33H8a2 2 0 0 1-2-2v-8.46a2 2 0 0 1 .272-1.007l6.15-10.54A2 2 0 0 1 14.148 18H33.85a2 2 0 0 1 1.728.992l6.149 10.541A2 2 0 0 1 42 30.541V39a2 2 0 0 1-2 2Z"}),(0,E.jsx)("path",{stroke:"currentColor",strokeWidth:4,d:"M41.5 30H28s-1 3-4 3-4-3-4-3H6.5"})]}));function nn({query:e}){return(0,E.jsxs)("div",{className:"flex flex-col items-center pt-8 pb-2",children:[(0,E.jsx)(nt,{className:"mb-4 opacity-80"}),(0,E.jsxs)("p",{className:"mb-2",children:["No results for ",(0,E.jsxs)("b",{children:['"',e,'"']}),"."]}),(0,E.jsx)("p",{children:"Please try again with a different keyword."})]})}var ni=e=>(0,E.jsx)("svg",el(eo({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 32 32"},e),{children:(0,E.jsx)("path",{fill:"currentColor",d:"M13.414 17.586 18 22.172V8H8V6h10a2.002 2.002 0 0 1 2 2v14.172l4.586-4.586L26 19l-7 7-7-7Z"})})),nr={title:e=>(0,E.jsx)("svg",el(eo({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24"},e),{children:(0,E.jsx)("path",{fill:"currentColor",d:"M4 4a2 2 0 0 1 2-2h8a1 1 0 0 1 .707.293l5 5A1 1 0 0 1 20 8v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4zm13.586 4L14 4.414V8h3.586zM12 4H6v16h12V10h-5a1 1 0 0 1-1-1V4z"})})),header:e=>(0,E.jsx)("svg",el(eo({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 32 32"},e),{children:(0,E.jsx)("path",{fill:"currentColor",d:"M28 12v-2h-6V4h-2v6h-8V4h-2v6H4v2h6v8H4v2h6v6h2v-6h8v6h2v-6h6v-2h-6v-8Zm-8 8h-8v-8h8Z"})})),content:e=>(0,E.jsxs)("svg",el(eo({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 32 32"},e),{children:[(0,E.jsx)("circle",{cx:22,cy:24,r:2,fill:"currentColor"}),(0,E.jsx)("path",{fill:"none",d:"M22 28a4 4 0 1 1 4-4 4.004 4.004 0 0 1-4 4Zm0-6a2 2 0 1 0 2 2 2.003 2.003 0 0 0-2-2Z"}),(0,E.jsx)("path",{fill:"currentColor",d:"M29.777 23.479A8.64 8.64 0 0 0 22 18a8.64 8.64 0 0 0-7.777 5.479L14 24l.223.521A8.64 8.64 0 0 0 22 30a8.64 8.64 0 0 0 7.777-5.479L30 24ZM22 28a4 4 0 1 1 4-4 4.005 4.005 0 0 1-4 4Z"}),(0,E.jsx)("path",{fill:"currentColor",d:"M12 28H8V4h8v6a2.006 2.006 0 0 0 2 2h6v4h2v-6a.91.91 0 0 0-.3-.7l-7-7A.909.909 0 0 0 18 2H8a2.006 2.006 0 0 0-2 2v24a2.006 2.006 0 0 0 2 2h4Zm6-23.6 5.6 5.6H18Z"})]}))};function na({suggestion:e,closeSearch:t,isCurrent:n,setCurrentSuggestionIndex:i,inCurrentDocIndex:r}){let a=nr[e.type],o=r&&!(0,S.isProduction)()?e_(e.link):e.link,l=(e,t)=>{let n=[],i=0;for(let l of t){var r,a,o;let{start:t,length:s}=l,d=e.slice(i,t);let c=(r=e,a=t,o=s,function(e,t,n){let i="",r=0,a=e.length;for(let o=0;ot+n);o++){;r>t&&(i+=e.charAt(o))}return i}(r.slice(a),0,o));n.push(d),n.push((0,E.jsx)("span",{className:t6.mark,children:c},t)),i=t+c.length}return i{if("header"!==e.type&&"title"!==e.type)return(0,E.jsx)("div",{className:"font-medium",children:e.header});{let{header:t,highlightInfoList:n}=e;return(0,E.jsx)("div",{className:"font-medium",children:l(t,n)})}})();break;case"content":s=(0,E.jsxs)(E.Fragment,{children:[(()=>{if("content"!==e.type)return(0,E.jsx)("div",{});let{statement:t,highlightInfoList:n}=e;return(0,E.jsx)("div",{className:"text-sm text-gray-light w-full",children:l(t,n)})})(),(0,E.jsx)("p",{className:t6.titleForContent,children:e.title})]})}return(0,E.jsx)("li",{className:`${t6.suggestItem} ${n?t6.current:""}`,onMouseEnter:i,children:(0,E.jsx)("a",{href:o,onClick:e=>{t(),e.stopPropagation()},target:r?"_self":"_blank",children:(0,E.jsxs)("div",{className:t6.suggestItemContainer,children:[(0,E.jsx)("div",{className:t6.hitIcon,children:(0,E.jsx)(a,{})}),(0,E.jsx)("div",{className:t6.contentWrapper,children:(0,E.jsx)("span",{children:s})}),(0,E.jsx)("div",{className:t6.actionIcon,children:(0,E.jsx)(ni,{})})]})})},e.link)}var no=e=>(0,E.jsx)("svg",el(eo({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 32 32"},e),{children:(0,E.jsx)("path",{fill:"currentColor",d:"M24 9.4 22.6 8 16 14.6 9.4 8 8 9.4l6.6 6.6L8 22.6 9.4 24l6.6-6.6 6.6 6.6 1.4-1.4-6.6-6.6L24 9.4z"})})),nl=e=>(0,E.jsx)("svg",el(eo({width:32,height:32,viewBox:"0 0 24 24"},e),{children:(0,E.jsxs)("g",{fill:"none",stroke:"var(--rp-c-brand)",strokeLinecap:"round",strokeWidth:2,children:[(0,E.jsx)("path",{strokeDasharray:60,strokeDashoffset:60,strokeOpacity:.3,d:"M12 3a9 9 0 1 1 0 18 9 9 0 0 1 0-18Z",children:(0,E.jsx)("animate",{fill:"freeze",attributeName:"stroke-dashoffset",dur:"1.3s",values:"60;0"})}),(0,E.jsxs)("path",{strokeDasharray:15,strokeDashoffset:15,d:"M12 3a9 9 0 0 1 9 9",children:[(0,E.jsx)("animate",{fill:"freeze",attributeName:"stroke-dashoffset",dur:"0.3s",values:"15;0"}),(0,E.jsx)("animateTransform",{attributeName:"transform",dur:"1.5s",repeatCount:"indefinite",type:"rotate",values:"0 12 12;360 12 12"})]})]})})),ns={ARROW_UP:"ArrowUp",ARROW_DOWN:"ArrowDown",ENTER:"Enter",SEARCH:"KeyK",ESC:"Escape"};function nd({focused:e,setFocused:t}){let[n,i]=(0,_.useState)(""),[r,a]=(0,_.useState)([]),o=(0,_.useRef)(null),[l,s]=(0,_.useState)(!0),[d,c]=(0,_.useState)(0),u=(0,_.useRef)(null),{siteData:h,page:{lang:p}}=(0,S.usePageData)(),{sidebar:m}=eg(),{search:f,title:g}=h,x=[{group:g,result:[],renderType:"default"}],[v,b]=(0,_.useState)([]),[y,w]=(0,_.useState)("default"),k=e=>ex(m,e).group;function I(){return em(this,null,function*(){var e,t;if(!1===f)return;let n=new eB(el(eo({indexName:g},f),{currentLang:p,extractGroupName:k}));u.current=n,yield Promise.all([u.current.init(),new Promise(e=>setTimeout(e,1e3))]),s(!1);let i=(e=o.current)==null?void 0:e.value;i&&a((yield(t=u.current)==null?void 0:t.match(i))||x)})}(0,_.useEffect)(()=>{let n=n=>{switch(n.code){case ns.SEARCH:(n.ctrlKey||n.metaKey)&&(n.preventDefault(),t(!e));break;case ns.ARROW_DOWN:e&&(n.preventDefault(),v&&"default"===y&&c((d+1)%v.length));break;case ns.ARROW_UP:if(e&&(n.preventDefault(),"default"===y)){let e=v.length;c((d-1+e)%e)}break;case ns.ENTER:if(d>=0&&"default"===y){let e=v[d];v===r[0].result?(window.location.href=(0,A.isProduction)()?e.link:e_(e.link),t(!1)):window.open(e.link)}break;case ns.ESC:t(!1)}};return document.addEventListener("keydown",n),()=>{document.removeEventListener("keydown",n)}},[c,t,v,d]),(0,_.useEffect)(()=>{e?(a(x),!u.current&&I()):i("")},[e]),(0,_.useEffect)(()=>{l||I()},[p]);let j=e=>em(this,null,function*(){var t;let n=e;if(i(n),n){let e=[];if(Z.beforeSearch){let e=yield Z.beforeSearch(n);e&&(n=e)}let i=yield(t=u.current)==null?void 0:t.match(n);if(i&&e.push(...i),Z.onSearch){let t=yield Z.onSearch(n,e);t&&e.push(...t.map(e=>eo({renderType:"custom"},e)))}a(e||x),Z.afterSearch&&(yield Z.afterSearch(n,e)),e.length>0&&b(e[0].result)}}),P=(0,_.useMemo)(()=>(0,T.debounce)(j,150),[]),C=e=>(0,T.groupBy)(e,"group"),z=-1,N=e=>{if(0===e.length&&!l)return(0,E.jsx)("div",{className:"mt-4 flex-center",children:(0,E.jsx)("div",{className:"p-2 font-bold text-md",style:{color:"#2c3e50"},children:"No results found"})});let n=C(e);return(0,E.jsx)("ul",{className:t6.suggestList,children:Object.keys(n).map(e=>{let i=n[e]||[];return(0,E.jsx)("li",{children:(0,E.jsx)("ul",{className:"pb-2",children:i.map(e=>{let n=++z;return(0,E.jsx)(na,{suggestion:e,isCurrent:n===d,setCurrentSuggestionIndex:()=>{c(n)},closeSearch:()=>t(!1),inCurrentDocIndex:v===r[0].result},`${e.title}-${n}`)})})},e)})})};return(0,E.jsx)(E.Fragment,{children:e&&(0,G.createPortal)((0,E.jsx)("div",{className:t6.mask,onClick:()=>t(!1),children:(0,E.jsxs)("div",{className:`${t6.modal}`,onClick:e=>{t(!0),e.stopPropagation()},children:[(0,E.jsxs)("div",{className:"flex items-center",children:[(0,E.jsxs)("div",{className:t6.inputForm,children:[(0,E.jsx)("label",{children:(0,E.jsx)(t5,{})}),(0,E.jsx)("input",{className:t6.input,ref:o,placeholder:"Search Docs","aria-label":"Search",autoComplete:"off",autoFocus:!0,onChange:e=>P(e.target.value)}),(0,E.jsx)("label",{children:(0,E.jsx)(no,{className:t6.close,onClick:e=>{o.current&&(e.stopPropagation(),n?(o.current.value="",i("")):t(!1))}})})]}),(0,E.jsx)("h2",{className:"text-brand ml-2 sm:hidden cursor-pointer",onClick:e=>{e.stopPropagation(),t(!1)},children:"Cancel"})]}),n?(0,E.jsx)("div",{className:`${t6.searchHits} rspress-scrollbar`,children:((e,t)=>{if(1===e.length){let t=e[0].result;return 0===t.length?(0,E.jsx)(nn,{query:n}):(0,E.jsx)("div",{children:N(t)})}let i=e.map(e=>t&&"remote"===t.mode?eA(t.searchIndexes||[]).find(t=>t.value===e.group).label:e.group);return(0,E.jsx)(t9,{values:i,tabContainerClassName:t6.tabClassName,onChange:t=>{b(e[t].result),c(0),w(e[t].renderType)},children:e.map(e=>(0,E.jsxs)(ne,{children:["default"===e.renderType&&N(e.result),"custom"===e.renderType&&Z.render(e.result)]},e.group))})})(r,f)}):null,l&&(0,E.jsx)("div",{className:"flex-center",children:(0,E.jsx)("div",{className:"p-2 text-sm",children:(0,E.jsx)(nl,{})})})]})}),document.getElementById("search-container"))})}function nc(){let[e,t]=(0,_.useState)(!1),[n,i]=(0,_.useState)(null),{searchPlaceholderText:r="Search Docs"}=(0,$.useLocaleSiteData)();return(0,_.useEffect)(()=>{i(/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?"\u2318":"Ctrl")},[]),(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)("div",{className:`rspress-nav-search-button ${t6.navSearchButton}`,onClick:()=>t(!0),children:(0,E.jsxs)("button",{children:[(0,E.jsx)(t5,{width:"18",hight:"18"}),(0,E.jsx)("p",{className:t6.searchWord,children:r}),(0,E.jsxs)("div",{style:{opacity:n?1:0},children:[(0,E.jsx)("span",{children:n}),(0,E.jsx)("span",{children:"K"})]})]})}),(0,E.jsx)("div",{className:t6.mobileNavSearchButton,onClick:()=>t(!0),children:(0,E.jsx)(t5,{})}),(0,E.jsx)(nd,{focused:e,setFocused:t})]})}function nu(){let{siteData:e}=(0,S.usePageData)(),{message:t}=e.themeConfig.footer||{};return(0,E.jsx)("footer",{className:"absolute bottom-0 mt-12 py-8 px-6 sm:p-8 w-full border-t border-solid border-divider-light",children:(0,E.jsx)("div",{className:"m-auto w-full text-center",children:t&&(0,E.jsx)("div",{className:"font-meduim text-sm text-text-2",children:t})})})}function nh({children:e}){if(Array.isArray(e))return(0,E.jsx)("pre",{children:e});let{className:t,meta:n}=e.props,i=function(e){var t,n;if(!e)return"";let i=e,r=/{[\d,-]*}/i;return((t=r.exec(e))==null?void 0:t[0])&&(i=e.replace(r,"").trim()),null==(i=(n=i.split("=")[1])!=null?n:"")?void 0:i.replace(/["'`]/g,"")}(n);return(0,E.jsxs)("div",{className:t||"language-bash",children:[i&&(0,E.jsx)("div",{className:"rspress-code-title",children:i}),(0,E.jsx)("div",{className:"rspress-code-content rspress-scrollbar",children:e})]})}var np=e=>(0,E.jsx)("svg",el(eo({xmlns:"http://www.w3.org/2000/svg",width:32,height:32,viewBox:"0 0 24 24"},e),{children:(0,E.jsx)("path",{fill:"currentColor",d:"M16 7H3V5h13v2M3 19h13v-2H3v2m19-7-4-3v2H3v2h15v2l4-3Z"})})),nm=e=>(0,E.jsx)("svg",el(eo({xmlns:"http://www.w3.org/2000/svg",width:32,height:32,viewBox:"0 0 24 24"},e),{children:(0,E.jsx)("path",{fill:"#22a041",d:"M21 5H3v2h18zM3 19h7v-2H3zm0-6h15c1 0 2 .43 2 2s-1 2-2 2h-2v-2l-4 3 4 3v-2h2c2.95 0 4-1.27 4-4 0-2.72-1-4-4-4H3z"})})),nf={codeButtonGroup:"code-button-group_15153",codeCopyButton:"code-copy-button_15153",iconSuccess:"icon-success_15153",codeCopied:"code-copied_15153",iconCopy:"icon-copy_15153",iconWrapped:"icon-wrapped_15153",wrappedBtn:"wrapped-btn_15153",iconWrap:"icon-wrap_15153"},ng={doctype:{color:"var(--code-token-text)",fontStyle:"italic"},token:{color:"var(--code-token-text)"},comment:{color:"var(--code-token-comment)"},punctuation:{color:"var(--code-token-punctuation)"},property:{color:"var(--code-token-parameter)"},constant:{color:"var(--code-token-constant)"},string:{color:"var(--code-token-string)"},symbol:{color:"var(--code-token-symbol)"},variable:{color:"var(--code-token-variable)"},"attr-name":{color:"var(--code-token-symbol)"},"attr-value":{color:"var(--code-token-string-expression)"},builtin:{color:"var(--code-token-symbol)"},function:{color:"var(--code-token-function)"},keyword:{color:"var(--code-token-keyword)"},tag:{color:"var(--code-token-function)"},inserted:{color:"#22863a"},deleted:{color:"#b31d28"},regex:{color:"var(--code-token-keyword)"},key:{color:"var(--code-token-variable)"},title:{color:"var(--code-token-keyword)"},important:{color:"#EBCB8B",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},table:{display:"content"}},nx=!1;function nv(e){var t;let{siteData:n}=(0,S.usePageData)(),{meta:i,language:r,codeWrap:a}=e,{showLineNumbers:o}=n.markdown,l="",s=[];return i&&(l=((t=/{[\d,-]*}/i.exec(i))==null?void 0:t[0])||"")&&(s=l.replace(/[{}]/g,"").split(",").map(e=>{let[t,n]=e.split("-");return n?Array.from({length:Number(n)-Number(t)+1},(e,n)=>n+Number(t)):Number(t)}).flat()),!nx&&(Object.keys(Y.default).forEach(e=>{K.PrismLight.registerLanguage(e,Y.default[e])}),nx=!0),(0,E.jsx)(K.PrismLight,{language:r,style:ng,wrapLines:!0,className:"code",wrapLongLines:a,customStyle:{backgroundColor:"inherit"},showLineNumbers:o||s.length>0,lineProps:e=>({style:el(eo({},s.includes(e)?{backgroundColor:"var(--rp-code-line-highlight-color)"}:{}),{display:"block",padding:"0 1.25rem"})}),children:String(e.children).trim()})}var nb=e=>(0,E.jsxs)("svg",el(eo({xmlns:"http://www.w3.org/2000/svg",width:32,height:32,viewBox:"0 0 30 30"},e),{children:[(0,E.jsx)("path",{fill:"currentColor",d:"M28 10v18H10V10h18m0-2H10a2 2 0 0 0-2 2v18a2 2 0 0 0 2 2h18a2 2 0 0 0 2-2V10a2 2 0 0 0-2-2Z"}),(0,E.jsx)("path",{fill:"currentColor",d:"M4 18H2V4a2 2 0 0 1 2-2h14v2H4Z"})]})),ny=e=>(0,E.jsx)("svg",el(eo({width:32,height:32,viewBox:"0 0 30 30"},e),{children:(0,E.jsx)("path",{fill:"#49cd37",d:"m13 24-9-9 1.414-1.414L13 21.171 26.586 7.586 28 9 13 24z"})})),nw=new Map;function nk({codeBlockRef:e}){let t=(0,_.useRef)(null);return(0,E.jsxs)("button",{className:nf.codeCopyButton,onClick:()=>(function(e,t){let n="",i=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,null),r=i.nextNode();for(;r;)!r.parentElement.classList.contains("linenumber")&&(n+=r.nodeValue),r=i.nextNode();if(X(n)&&t){t.classList.add(nf.codeCopied),clearTimeout(nw.get(t));let e=setTimeout(()=>{t.classList.remove(nf.codeCopied),t.blur(),nw.delete(t)},2e3);nw.set(t,e)}})(e.current,t.current),ref:t,children:[(0,E.jsx)(nb,{className:nf.iconCopy}),(0,E.jsx)(ny,{className:nf.iconSuccess})]})}function nI(e){let{siteData:t}=(0,S.usePageData)(),{defaultWrapCode:n,codeHighlighter:i}=t.markdown,[r,a]=(0,_.useState)(n),o=(0,_.useRef)(null),l=(0,_.useRef)(),{className:s}=e,d=null==s?void 0:s.replace(/language-/,"");if(!d)return(0,E.jsx)("code",eo({},e));let c=e=>{r?null==e||e.classList.remove(nf.wrappedBtn):null==e||e.classList.add(nf.wrappedBtn),a(!r)};return(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)("div",{ref:l,children:(()=>{if("prism"===i)return(0,E.jsx)(nv,el(eo({},e),{language:d,codeWrap:r}));return(0,E.jsx)("code",eo({},e))})()}),(0,E.jsxs)("div",{className:nf.codeButtonGroup,children:[(0,E.jsxs)("button",{ref:o,className:nf.codeWrapButton,onClick:()=>c(o.current),children:[(0,E.jsx)(nm,{className:nf.iconWrapped}),(0,E.jsx)(np,{className:nf.iconWrap})]}),(0,E.jsx)(nk,{codeBlockRef:l})]})]})}function nj(e){return(0,E.jsxs)("svg",el(eo({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 256 256"},e),{children:[(0,E.jsx)("path",{fill:"#C12127",d:"M0 256V0h256v256z"}),(0,E.jsx)("path",{fill:"#FFF",d:"M48 48h160v160h-32V80h-48v128H48z"})]}))}function nP(e){return(0,E.jsx)("svg",el(eo({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 128 128"},e),{children:(0,E.jsxs)("g",{fill:"#2c8ebb",children:[(0,E.jsx)("path",{d:"M99.24 80.71C94.9 80.76 91.1 83 87.89 85c-6 3.71-9 3.47-9 3.47l-.1-.17c-.41-.67 1.92-6.68-.69-13.84c-2.82-7.83-7.3-9.72-6.94-10.32c1.53-2.59 5.36-6.7 6.89-14.36c.91-4.64.67-12.28-1.39-16.28c-.38-.74-3.78 1.24-3.78 1.24s-3.18-7.09-4.07-7.66c-2.87-1.84-6 7.61-6 7.61a14 14 0 0 0-11.71 4.5a9.64 9.64 0 0 1-3.85 2.27c-.41.14-.91.12-2.15 3.47c-1.9 5.07 3.24 10.81 3.24 10.81s-6.13 4.33-8.4 9.72a24.78 24.78 0 0 0-1.75 11.68s-4.36 3.78-4.64 7.68a12.87 12.87 0 0 0 1.77 7.83a1.94 1.94 0 0 0 2.63.91s-2.9 3.38-.19 4.81c2.47 1.29 6.63 2 8.83-.19c1.6-1.6 1.92-5.17 2.51-6.63c.14-.34.62.57 1.08 1a10 10 0 0 0 1.36 1s-3.9 1.68-2.3 5.51c.53 1.27 2.42 2.08 5.51 2.06c1.15 0 13.76-.72 17.12-1.53a4.33 4.33 0 0 0 2.61-1.46a63 63 0 0 0 15.49-7c4.74-3.09 6.68-3.93 10.51-4.84c3.16-.75 2.95-5.65-1.24-5.58z"}),(0,E.jsx)("path",{d:"M64 2a62 62 0 1 0 62 62A62 62 0 0 0 64 2zm37.3 87.83c-3.35.81-4.91 1.44-9.41 4.36a67 67 0 0 1-15.56 7.18a8.71 8.71 0 0 1-3.64 1.77c-3.81.93-16.88 1.63-17.91 1.63h-.24c-4 0-6.27-1.24-7.49-2.54c-3.4 1.7-7.8 1-11-.69a5.55 5.55 0 0 1-3-3.9a6 6 0 0 1 0-2.06a6.66 6.66 0 0 1-.79-1A16.38 16.38 0 0 1 30 84.52c.29-3.73 2.87-7.06 4.55-8.83A28.56 28.56 0 0 1 36.61 64a26.82 26.82 0 0 1 6.82-9c-1.65-2.78-3.33-7.06-1.7-11.42c1.17-3.11 2.13-4.84 4.24-5.58a6.84 6.84 0 0 0 2.51-1.34A17.65 17.65 0 0 1 60.34 31c.19-.48.41-1 .65-1.46c1.6-3.4 3.3-5.31 5.29-6a4.88 4.88 0 0 1 4.4.5c.65.43 1.48 1 3.9 6a4.69 4.69 0 0 1 2.85-.1a3.81 3.81 0 0 1 2.39 1.94c2.47 4.74 2.8 13.19 1.72 18.62a33.8 33.8 0 0 1-5.84 13.31a25.73 25.73 0 0 1 5.77 9.43a25.42 25.42 0 0 1 1.41 10.41A28.7 28.7 0 0 0 86 81.91c3.06-1.89 7.68-4.74 13.19-4.81a6.62 6.62 0 0 1 7 5.7a6.35 6.35 0 0 1-4.89 7.03z"})]})}))}function nS(e){return(0,E.jsxs)("svg",el(eo({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 128 128"},e),{children:[(0,E.jsx)("path",{fill:"#f8ab00",d:"M0 .004V40h39.996V.004Zm43.996 0V40h40V.004Zm44.008 0V40H128V.004Zm0 43.996v39.996H128V44Z"}),(0,E.jsx)("path",{fill:"#4c4c4c",d:"M43.996 44v39.996h40V44ZM0 87.996v40h39.996v-40Zm43.996 0v40h40v-40Zm44.008 0v40H128v-40Z"})]}))}function nE(e){return(0,E.jsxs)("svg",el(eo({id:"Bun",width:"1.2em",height:"1.2em",viewBox:"0 0 80 70"},e),{children:[(0,E.jsx)("path",{id:"Shadow",d:"M71.09,20.74c-.16-.17-.33-.34-.5-.5s-.33-.34-.5-.5-.33-.34-.5-.5-.33-.34-.5-.5-.33-.34-.5-.5-.33-.34-.5-.5-.33-.34-.5-.5A26.46,26.46,0,0,1,75.5,35.7c0,16.57-16.82,30.05-37.5,30.05-11.58,0-21.94-4.23-28.83-10.86l.5.5.5.5.5.5.5.5.5.5.5.5.5.5C19.55,65.3,30.14,69.75,42,69.75c20.68,0,37.5-13.48,37.5-30C79.5,32.69,76.46,26,71.09,20.74Z"}),(0,E.jsxs)("g",{id:"Body",children:[(0,E.jsx)("path",{id:"Background",d:"M73,35.7c0,15.21-15.67,27.54-35,27.54S3,50.91,3,35.7C3,26.27,9,17.94,18.22,13S33.18,3,38,3s8.94,4.13,19.78,10C67,17.94,73,26.27,73,35.7Z",style:{fill:"#fbf0df"}}),(0,E.jsx)("path",{id:"Bottom_Shadow","data-name":"Bottom Shadow",d:"M73,35.7a21.67,21.67,0,0,0-.8-5.78c-2.73,33.3-43.35,34.9-59.32,24.94A40,40,0,0,0,38,63.24C57.3,63.24,73,50.89,73,35.7Z",style:{fill:"#f6dece"}}),(0,E.jsx)("path",{id:"Light_Shine","data-name":"Light Shine",d:"M24.53,11.17C29,8.49,34.94,3.46,40.78,3.45A9.29,9.29,0,0,0,38,3c-2.42,0-5,1.25-8.25,3.13-1.13.66-2.3,1.39-3.54,2.15-2.33,1.44-5,3.07-8,4.7C8.69,18.13,3,26.62,3,35.7c0,.4,0,.8,0,1.19C9.06,15.48,20.07,13.85,24.53,11.17Z",style:{fill:"#fffefc"}}),(0,E.jsx)("path",{id:"Top",d:"M35.12,5.53A16.41,16.41,0,0,1,29.49,18c-.28.25-.06.73.3.59,3.37-1.31,7.92-5.23,6-13.14C35.71,5,35.12,5.12,35.12,5.53Zm2.27,0A16.24,16.24,0,0,1,39,19c-.12.35.31.65.55.36C41.74,16.56,43.65,11,37.93,5,37.64,4.74,37.19,5.14,37.39,5.49Zm2.76-.17A16.42,16.42,0,0,1,47,17.12a.33.33,0,0,0,.65.11c.92-3.49.4-9.44-7.17-12.53C40.08,4.54,39.82,5.08,40.15,5.32ZM21.69,15.76a16.94,16.94,0,0,0,10.47-9c.18-.36.75-.22.66.18-1.73,8-7.52,9.67-11.12,9.45C21.32,16.4,21.33,15.87,21.69,15.76Z",style:{fill:"#ccbea7",fillRule:"evenodd"}}),(0,E.jsx)("path",{id:"Outline",d:"M38,65.75C17.32,65.75.5,52.27.5,35.7c0-10,6.18-19.33,16.53-24.92,3-1.6,5.57-3.21,7.86-4.62,1.26-.78,2.45-1.51,3.6-2.19C32,1.89,35,.5,38,.5s5.62,1.2,8.9,3.14c1,.57,2,1.19,3.07,1.87,2.49,1.54,5.3,3.28,9,5.27C69.32,16.37,75.5,25.69,75.5,35.7,75.5,52.27,58.68,65.75,38,65.75ZM38,3c-2.42,0-5,1.25-8.25,3.13-1.13.66-2.3,1.39-3.54,2.15-2.33,1.44-5,3.07-8,4.7C8.69,18.13,3,26.62,3,35.7,3,50.89,18.7,63.25,38,63.25S73,50.89,73,35.7C73,26.62,67.31,18.13,57.78,13,54,11,51.05,9.12,48.66,7.64c-1.09-.67-2.09-1.29-3-1.84C42.63,4,40.42,3,38,3Z"})]}),(0,E.jsxs)("g",{id:"Mouth",children:[(0,E.jsx)("g",{id:"Background-2","data-name":"Background",children:(0,E.jsx)("path",{d:"M45.05,43a8.93,8.93,0,0,1-2.92,4.71,6.81,6.81,0,0,1-4,1.88A6.84,6.84,0,0,1,34,47.71,8.93,8.93,0,0,1,31.12,43a.72.72,0,0,1,.8-.81H44.26A.72.72,0,0,1,45.05,43Z",style:{fill:"#b71422"}})}),(0,E.jsxs)("g",{id:"Tongue",children:[(0,E.jsx)("path",{id:"Background-3","data-name":"Background",d:"M34,47.79a6.91,6.91,0,0,0,4.12,1.9,6.91,6.91,0,0,0,4.11-1.9,10.63,10.63,0,0,0,1-1.07,6.83,6.83,0,0,0-4.9-2.31,6.15,6.15,0,0,0-5,2.78C33.56,47.4,33.76,47.6,34,47.79Z",style:{fill:"#ff6164"}}),(0,E.jsx)("path",{id:"Outline-2","data-name":"Outline",d:"M34.16,47a5.36,5.36,0,0,1,4.19-2.08,6,6,0,0,1,4,1.69c.23-.25.45-.51.66-.77a7,7,0,0,0-4.71-1.93,6.36,6.36,0,0,0-4.89,2.36A9.53,9.53,0,0,0,34.16,47Z"})]}),(0,E.jsx)("path",{id:"Outline-3","data-name":"Outline",d:"M38.09,50.19a7.42,7.42,0,0,1-4.45-2,9.52,9.52,0,0,1-3.11-5.05,1.2,1.2,0,0,1,.26-1,1.41,1.41,0,0,1,1.13-.51H44.26a1.44,1.44,0,0,1,1.13.51,1.19,1.19,0,0,1,.25,1h0a9.52,9.52,0,0,1-3.11,5.05A7.42,7.42,0,0,1,38.09,50.19Zm-6.17-7.4c-.16,0-.2.07-.21.09a8.29,8.29,0,0,0,2.73,4.37A6.23,6.23,0,0,0,38.09,49a6.28,6.28,0,0,0,3.65-1.73,8.3,8.3,0,0,0,2.72-4.37.21.21,0,0,0-.2-.09Z"})]}),(0,E.jsxs)("g",{id:"Face",children:[(0,E.jsx)("ellipse",{id:"Right_Blush","data-name":"Right Blush",cx:"53.22",cy:"40.18",rx:"5.85",ry:"3.44",style:{fill:"#febbd0"}}),(0,E.jsx)("ellipse",{id:"Left_Bluch","data-name":"Left Bluch",cx:"22.95",cy:"40.18",rx:"5.85",ry:"3.44",style:{fill:"#febbd0"}}),(0,E.jsx)("path",{id:"Eyes",d:"M25.7,38.8a5.51,5.51,0,1,0-5.5-5.51A5.51,5.51,0,0,0,25.7,38.8Zm24.77,0A5.51,5.51,0,1,0,45,33.29,5.5,5.5,0,0,0,50.47,38.8Z",style:{fillRule:"evenodd"}}),(0,E.jsx)("path",{id:"Iris",d:"M24,33.64a2.07,2.07,0,1,0-2.06-2.07A2.07,2.07,0,0,0,24,33.64Zm24.77,0a2.07,2.07,0,1,0-2.06-2.07A2.07,2.07,0,0,0,48.75,33.64Z",style:{fill:"#fff",fillRule:"evenodd"}})]})]}))}function nC(e){if(!(null==e?void 0:e.includes("install")))return e;let t=e.split(" ").filter(e=>!e.startsWith("-")&&!e.startsWith("--")).join(" ");return"yarn install"===t||"bun install"===t?e:e.replace("install","add")}function nz({command:e,additionalTabs:t=[]}){let n;let i={npm:(0,E.jsx)(nj,{}),yarn:(0,E.jsx)(nP,{}),pnpm:(0,E.jsx)(nS,{}),bun:(0,E.jsx)(nE,{})};return t.forEach(e=>{i[e.tool]=e.icon}),"string"==typeof e?(n={npm:`npm ${e}`,yarn:`yarn ${e}`,pnpm:`pnpm ${e}`,bun:`bun ${e}`},t.forEach(t=>{n[t.tool]=`${t.tool} ${e}`})):n=e,n.yarn&&(n.yarn=nC(n.yarn)),n.bun&&(n.bun=nC(n.bun)),(0,E.jsx)(t9,{values:Object.entries(n).map(([e])=>(0,E.jsxs)("div",{style:{display:"flex",alignItems:"center",fontSize:15},children:[i[e],(0,E.jsx)("span",{style:{marginLeft:6,marginBottom:2},children:e})]},e)),children:Object.entries(n).map(([e,t])=>(0,E.jsx)(ne,{children:(0,E.jsx)(nh,{children:(0,E.jsx)(nI,{className:"language-js",children:t})})},e))})}var n_=e=>(0,E.jsx)("svg",el(eo({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),{children:(0,E.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"})})),nN=e=>(0,E.jsx)("svg",el(eo({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),{children:(0,E.jsx)("path",{fill:"currentColor",d:"m21.94 13.11-1.05-3.22c0-.03-.01-.06-.02-.09l-2.11-6.48a.859.859 0 0 0-.8-.57c-.36 0-.68.25-.79.58l-2 6.17H8.84L6.83 3.33a.851.851 0 0 0-.79-.58c-.37 0-.69.25-.8.58L3.13 9.82v.01l-1.07 3.28c-.16.5.01 1.04.44 1.34l9.22 6.71c.17.12.39.12.56-.01l9.22-6.7c.43-.3.6-.84.44-1.34M8.15 10.45l2.57 7.91-6.17-7.91m8.73 7.92 2.47-7.59.1-.33h3.61l-5.59 7.16m4.1-13.67 1.81 5.56h-3.62m-1.3.95-1.79 5.51L12 19.24l-2.86-8.79M6.03 3.94 7.84 9.5H4.23m-1.18 4.19c-.09-.07-.13-.19-.09-.29l.79-2.43 5.82 7.45m11.38-4.73-6.51 4.73.02-.03 5.79-7.42.79 2.43c.04.1 0 .22-.09.29"})})),nA={sourceCode:"sourceCode_bf1b0"};function nT(e){let{href:t,platform:n="github"}=e,{sourceCodeText:i="Source"}=eg();return(0,E.jsx)("div",{className:"inline-block rounded border border-solid border-gray-300 text-gray-400 sourceCode_bf1b0",children:(0,E.jsxs)("a",{href:t,target:"_blank",className:"flex items-center content-center transition-all duration-300 text-xs block px-2 py-1 ",children:[(0,E.jsx)("span",{className:"mr-2 inline-flex w-4 h-4",children:"gitlab"===n?(0,E.jsx)(nN,{}):(0,E.jsx)(n_,{})}),(0,E.jsx)("span",{children:i})]})})}var nL={title:"title_3b154",blockquote:"blockquote_3b154",link:"link_3b154","inline-link":"inline-link_3b154",inlineLink:"inline-link_3b154"},nO=e=>(0,E.jsx)("h1",el(eo({},e),{className:`text-3xl mb-10 leading-10 tracking-tight ${nL.title}`})),nM=e=>(0,E.jsx)("h2",el(eo({},e),{className:`mt-14 mb-6 text-2xl tracking-tight ${nL.title}`})),nD=e=>(0,E.jsx)("h3",el(eo({},e),{className:`mt-10 mb-2 leading-7 text-xl ${nL.title}`})),nR=e=>(0,E.jsx)("h4",el(eo({},e),{className:`mt-8 leading-6 text-base ${nL.title}`})),nB=e=>(0,E.jsx)("h5",el(eo({},e),{className:nL.title})),nH=e=>(0,E.jsx)("h6",el(eo({},e),{className:nL.title})),n$=e=>(0,E.jsx)("ol",el(eo({},e),{className:"list-decimal pl-5 my-4 leading-7"})),nF=e=>(0,E.jsx)("ul",el(eo({},e),{className:"list-disc pl-5 my-4 leading-7"})),nW=e=>(0,E.jsx)("li",el(eo({},e),{className:"[&:not(:first-child)]:mt-2"})),nq=e=>(0,E.jsx)("table",el(eo({},e),{className:"block border-collapse text-base my-5 overflow-x-auto leading-7 border-gray-light-2"})),nU=e=>(0,E.jsx)("tr",el(eo({},e),{className:"border border-solid transition-colors duration-500 even:bg-soft border-gray-light-2"})),nV=e=>(0,E.jsx)("td",el(eo({},e),{className:"border border-solid px-4 py-2 border-gray-light-2"})),nG=e=>(0,E.jsx)("th",el(eo({},e),{className:"border border-solid px-4 py-2 text-text-1 text-base font-semibold border-gray-light-2"})),nZ=e=>(0,E.jsx)("hr",el(eo({},e),{className:"my-12 border-t bordder-solid border-divider-light"})),nY=e=>{let{href:t="",className:n=""}=e,{normalizeLinkHref:i}=(0,$.usePathUtils)();return n.includes("header-anchor")||t.startsWith("#")?(0,E.jsx)("a",el(eo({},e),{className:`${nL.link} ${n}`})):(0,E.jsx)(Q.Link,el(eo({},e),{className:`${n} ${nL.link} ${nL["inline-link"]}`,href:i(t)}))},nK=e=>(0,E.jsx)("p",el(eo({},e),{className:"my-4 leading-7"})),nX=e=>(0,E.jsx)("blockquote",el(eo({},e),{className:`border-l-2 border-solid border-divider pl-4 my-6 transition-colors duration-500 ${nL.blockquote}`})),nQ=e=>(0,E.jsx)("strong",el(eo({},e),{className:"font-semibold"})),nJ=e=>(0,E.jsx)("img",el(eo({},e),{src:(0,S.normalizeImagePath)(e.src||"")}));function n0(){return{h1:nO,h2:nM,h3:nD,h4:nR,h5:nB,h6:nH,ul:nF,ol:n$,li:nW,table:nq,td:nV,th:nG,tr:nU,hr:nZ,p:nK,blockquote:nX,strong:nQ,a:nY,code:nI,pre:nh,img:nJ}}var n1={Layout:tg,NotFoundLayout:ef,HomeLayout:tP,setup:eP}},44394:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i.default}}),n("35850");var i=n("81725");n.es(i,t)},49555:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return o}});var i=n("13393");let r=/\s?|(]*>|]*>|]+>)+/i,a=RegExp(i.map(e=>`<${e}\\b[^>]*>`).join("|"),"i");function o(e){return e=e.trim().slice(0,1e3),r.test(e)||a.test(e)}},10924:function(e){"use strict";e.exports=JSON.parse('{"AElig":"\xc6","AMP":"&","Aacute":"\xc1","Acirc":"\xc2","Agrave":"\xc0","Aring":"\xc5","Atilde":"\xc3","Auml":"\xc4","COPY":"\xa9","Ccedil":"\xc7","ETH":"\xd0","Eacute":"\xc9","Ecirc":"\xca","Egrave":"\xc8","Euml":"\xcb","GT":">","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')},33222:function(e){"use strict";e.exports=JSON.parse('{"0":"\uFFFD","128":"\u20AC","130":"\u201A","131":"\u0192","132":"\u201E","133":"\u2026","134":"\u2020","135":"\u2021","136":"\u02C6","137":"\u2030","138":"\u0160","139":"\u2039","140":"\u0152","142":"\u017D","145":"\u2018","146":"\u2019","147":"\u201C","148":"\u201D","149":"\u2022","150":"\u2013","151":"\u2014","152":"\u02DC","153":"\u2122","154":"\u0161","155":"\u203A","156":"\u0153","158":"\u017E","159":"\u0178"}')},48606:function(e){"use strict";e.exports=JSON.parse('["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","search","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"]')}}]); \ No newline at end of file diff --git a/modern-js/module-tools/static/js/9376.2547934e.js.LICENSE.txt b/modern-js/module-tools/static/js/9376.2d43852f.js.LICENSE.txt similarity index 100% rename from modern-js/module-tools/static/js/9376.2547934e.js.LICENSE.txt rename to modern-js/module-tools/static/js/9376.2d43852f.js.LICENSE.txt diff --git a/modern-js/module-tools/static/js/async/1968.60d28f81.js b/modern-js/module-tools/static/js/async/1968.60d28f81.js new file mode 100644 index 0000000000..fa7969edd0 --- /dev/null +++ b/modern-js/module-tools/static/js/async/1968.60d28f81.js @@ -0,0 +1,2 @@ +/*! For license information please see 1968.60d28f81.js.LICENSE.txt */ +(self.webpackChunk_modern_js_module_tools_docs=self.webpackChunk_modern_js_module_tools_docs||[]).push([["1968"],{68635:function(e,n,s){"use strict";s.r(n);var r=s("39980"),a=s("96954");function i(e){let n=Object.assign({h1:"h1",a:"a",p:"p",ul:"ul",li:"li",h2:"h2",strong:"strong",code:"code",pre:"pre",blockquote:"blockquote"},(0,a.useMDXComponents)(),e.components);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(n.h1,{id:"versioning-and-publishing",children:["Versioning and Publishing",(0,r.jsx)(n.a,{className:"header-anchor","aria-hidden":"true",href:"#versioning-and-publishing",children:"#"})]}),"\n",(0,r.jsx)(n.p,{children:"An npm-type module project release process consists of two phases."}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"The first phase is during development, where the developer needs to provide a change file to record changes that need to be released."}),"\n",(0,r.jsxs)(n.li,{children:["The second phase is during release, collect all the change files to update the version, update the release log, and release new packages to the ",(0,r.jsx)(n.a,{href:"https://www.npmjs.com/",target:"_blank",rel:"noopener noreferrer",children:"npm Registry"}),"."]}),"\n"]}),"\n",(0,r.jsx)(n.p,{children:"Modern.js Module provides a set of version management and release solutions, which are suitable for single-package scenarios. For npm packages in monorepo, you need to follow the strategies provided by various monorepo solutions."}),"\n",(0,r.jsx)(n.p,{children:";"}),"\n",(0,r.jsxs)(n.h2,{id:"tracking-changes",children:["Tracking changes",(0,r.jsx)(n.a,{className:"header-anchor","aria-hidden":"true",href:"#tracking-changes",children:"#"})]}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"Changes need to be logged when they happen to the project"}),". Changes that occur in a project are typically."]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"New features"}),"\n",(0,r.jsx)(n.li,{children:"Fixes to issues"}),"\n",(0,r.jsx)(n.li,{children:"Configuration file changes"}),"\n",(0,r.jsx)(n.li,{children:"..."}),"\n"]}),"\n",(0,r.jsx)(n.p,{children:"Once these changes have been made, the current changes need to be documented with the following command."}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:(0,r.jsx)(n.a,{href:"/guide/basic/command-preview#modern-change",children:(0,r.jsx)(n.code,{children:"modern change"})})}),"\n"]}),"\n",(0,r.jsxs)(n.p,{children:["Executing the ",(0,r.jsx)(n.code,{children:"modern change"})," command asks the developer several questions and generates a change log based on the developer's answers. The changelog file contains the type of change and its description, and is committed to the git repository."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"$ npx modern change\n\uD83E\uDD8B What kind of change is this for module-example? (current version is 0.1.0) - patch\n\uD83E\uDD8B Please enter a summary for this change (this will be in the changelogs). Submit empty line to open external editor\n\uD83E\uDD8B Summary - publish test\n\uD83E\uDD8B === Releasing the following packages ===\n\uD83E\uDD8B [Patch]\n\uD83E\uDD8B module\n\uD83E\uDD8B Is this your desired changeset? (Y/n) - true\n\uD83E\uDD8B Changeset added! - you can now commit it\n\uD83E\uDD8B\n\uD83E\uDD8B If you want to modify or expand on the changeset summary, you can find it here\n\uD83E\uDD8B info /xxxxxx/module/.changeset/brave-dryers-agree.md\n"})}),"\n",(0,r.jsxs)(n.p,{children:["When executed successfully, the resulting Markdown file containing the change log is saved in the project's ",(0,r.jsx)(n.code,{children:".changeset"})," directory. The contents will look like the following."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-markdown",meta:'title=".changeset/brave-dryers-agree.md"',children:"---\n\"``module-example'': patch\n---\n\npublish test\n"})}),"\n",(0,r.jsxs)(n.h2,{id:"version-update",children:["Version update",(0,r.jsx)(n.a,{className:"header-anchor","aria-hidden":"true",href:"#version-update",children:"#"})]}),"\n",(0,r.jsx)(n.p,{children:"When the project version needs to be updated, execute the following command."}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:(0,r.jsx)(n.a,{href:"/guide/basic/command-preview#modern-bump",children:(0,r.jsx)(n.code,{children:"modern bump"})})}),"\n"]}),"\n",(0,r.jsxs)(n.p,{children:["Executing ",(0,r.jsx)(n.code,{children:"modern bump"})," will modify the version number in ",(0,r.jsx)(n.code,{children:"package.json"})," based on the contents of the Markdown file in the ",(0,r.jsx)(n.code,{children:".changeset/"})," directory where the changes were recorded, and generate the ",(0,r.jsx)(n.code,{children:"CHANGELOG.md"})," file. ",(0,r.jsx)(n.strong,{children:'These Markdown files are also deleted when the version update is complete, so they are "consumed "'}),"."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-markdown",meta:'title="CHANGELOG.md"',children:"# module\n\n## 0.1.1\n\n### Patch Changes\n\n- publish test\n"})}),"\n",(0,r.jsxs)(n.h2,{id:"publish",children:["Publish",(0,r.jsx)(n.a,{className:"header-anchor","aria-hidden":"true",href:"#publish",children:"#"})]}),"\n",(0,r.jsx)(n.p,{children:"To publish a project, you can execute the following command."}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:(0,r.jsx)(n.a,{href:"/guide/basic/command-preview#modern-release",children:(0,r.jsx)(n.code,{children:"modern publish"})})}),"\n"]}),"\n",(0,r.jsxs)(n.p,{children:["The ",(0,r.jsx)(n.code,{children:"modern release"})," command publishes the project to the npm Registry."]}),"\n",(0,r.jsxs)(n.p,{children:["The release is the ",(0,r.jsx)(n.code,{children:"latest"})," version, which is also the official version. If you want to change the ",(0,r.jsx)(n.code,{children:"dist-tag"}),", you can specify it with the ",(0,r.jsx)(n.code,{children:"modern release --tag"})," command. For example."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"modern release --tag beta\n"})}),"\n",(0,r.jsxs)(n.p,{children:["However, if you want to change the version number of the current project to a pre-release as well, you need to use the ",(0,r.jsx)(n.code,{children:"modern pre"})," command."]}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.code,{children:"dist-tag"})," can be understood as: tagging the current release. Generally speaking, the ",(0,r.jsx)(n.code,{children:"dist-tag"})," for the default release is ",(0,r.jsx)(n.code,{children:"latest"}),", so you can consider ",(0,r.jsx)(n.code,{children:"latest"})," as the ",(0,r.jsx)(n.code,{children:"dist-tag"})," for the official release."]}),"\n"]}),"\n",(0,r.jsxs)(n.h2,{id:"pre-releases",children:["Pre-releases",(0,r.jsx)(n.a,{className:"header-anchor","aria-hidden":"true",href:"#pre-releases",children:"#"})]}),"\n",(0,r.jsx)(n.p,{children:"When a pre-release is needed before the official release, the following command is executed."}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:(0,r.jsx)(n.a,{href:"/guide/basic/command-preview#modern-pre",children:(0,r.jsx)(n.code,{children:"modern pre"})})}),"\n"]}),"\n",(0,r.jsxs)(n.p,{children:["First ",(0,r.jsx)(n.code,{children:"modern pre enter "})," to enter pre-release mode, ",(0,r.jsx)(n.code,{children:""})," can be the same as the ",(0,r.jsx)(n.code,{children:"tag"})," specified with the ",(0,r.jsx)(n.code,{children:"modern release --tag"})," command when releasing the project."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"$ npx modern pre enter next\n\uD83E\uDD8B success Entered pre mode with tag next\n\uD83E\uDD8B info Run `changeset version` to version packages with prerelease versions\n\u2728 Done in 5.30s.\nDone in 5.30s.\n"})}),"\n",(0,r.jsxs)(n.p,{children:["Then you can update the specific version number with the ",(0,r.jsx)(n.code,{children:"modern bump"})," command, ",(0,r.jsx)(n.strong,{children:'which doesn\'t actually "consume" the Markdown file that records the changes'}),":"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"$ npx modern bump\n\uD83E\uDD8B warn ===============================IMPORTANT!===============================\n\uD83E\uDD8B warn You are in prerelease mode\n\uD83E\uDD8B warn If you meant to do a normal release you should revert these changes and run `changeset pre exit`\n\uD83E\uDD8B warn You can then run `changeset version` again to do a normal release\n\uD83E\uDD8B warn ----------------------------------------------------------------------\n\uD83E\uDD8B All files have been updated. review them and commit at your leisure\n"})}),"\n",(0,r.jsxs)(n.p,{children:["Then you can see that the updated version number in ",(0,r.jsx)(n.code,{children:"package.json"})," will look like this: ",(0,r.jsx)(n.code,{children:"0.1.2-next.0"}),"."]}),"\n",(0,r.jsxs)(n.p,{children:["Finally, ",(0,r.jsxs)(n.strong,{children:["if you don't need to do a pre-release anymore, be sure to run the ",(0,r.jsx)(n.code,{children:"modern pre exit"})," command"]})," to exit the pre-release state and to release the official version when you run the ",(0,r.jsx)(n.code,{children:"modern bump"})," command again."]})]})}function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{wrapper:n}=Object.assign({},(0,a.useMDXComponents)(),e.components);return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(i,{...e})}):i(e)}n.default=o,o.__RSPRESS_PAGE_META={},o.__RSPRESS_PAGE_META["en%2Fguide%2Fbasic%2Fpublish-your-project.mdx"]={toc:[{text:"Tracking changes",id:"tracking-changes",depth:2},{text:"Version update",id:"version-update",depth:2},{text:"Publish",id:"publish",depth:2},{text:"Pre-releases",id:"pre-releases",depth:2}],title:"Versioning and Publishing",frontmatter:{sidebar_position:7}}}}]); \ No newline at end of file diff --git a/modern-js/module-tools/static/js/async/1968.60d28f81.js.LICENSE.txt b/modern-js/module-tools/static/js/async/1968.60d28f81.js.LICENSE.txt new file mode 100644 index 0000000000..365fe27962 --- /dev/null +++ b/modern-js/module-tools/static/js/async/1968.60d28f81.js.LICENSE.txt @@ -0,0 +1,3 @@ +/*! react/jsx-runtime */ + +/*! @mdx-js/react */ \ No newline at end of file diff --git a/modern-js/module-tools/static/js/async/1968.d9298c6c.js b/modern-js/module-tools/static/js/async/1968.d9298c6c.js deleted file mode 100644 index c3e3088ebc..0000000000 --- a/modern-js/module-tools/static/js/async/1968.d9298c6c.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 1968.d9298c6c.js.LICENSE.txt */ -(self.webpackChunk_modern_js_module_tools_docs=self.webpackChunk_modern_js_module_tools_docs||[]).push([["1968"],{68635:function(e,n,s){"use strict";s.r(n);var r=s("39980"),a=s("96954"),i=s("98221");function o(e){let n=Object.assign({h1:"h1",a:"a",p:"p",ul:"ul",li:"li",h2:"h2",strong:"strong",code:"code",pre:"pre",blockquote:"blockquote"},(0,a.useMDXComponents)(),e.components);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(n.h1,{id:"versioning-and-publishing",children:["Versioning and Publishing",(0,r.jsx)(n.a,{className:"header-anchor","aria-hidden":"true",href:"#versioning-and-publishing",children:"#"})]}),"\n",(0,r.jsx)(n.p,{children:"An npm-type module project release process consists of two phases."}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"The first phase is during development, where the developer needs to provide a change file to record changes that need to be released."}),"\n",(0,r.jsxs)(n.li,{children:["The second phase is during release, collect all the change files to update the version, update the release log, and release new packages to the ",(0,r.jsx)(n.a,{href:"https://www.npmjs.com/",target:"_blank",rel:"noopener noreferrer",children:"npm Registry"}),"."]}),"\n"]}),"\n",(0,r.jsx)(n.p,{children:"Modern.js Module provides a set of version management and release solutions, which are suitable for single-package scenarios. For npm packages in monorepo, you need to follow the strategies provided by various monorepo solutions."}),"\n","\n",(0,r.jsx)(i.default,{}),"\n",(0,r.jsxs)(n.h2,{id:"tracking-changes",children:["Tracking changes",(0,r.jsx)(n.a,{className:"header-anchor","aria-hidden":"true",href:"#tracking-changes",children:"#"})]}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"Changes need to be logged when they happen to the project"}),". Changes that occur in a project are typically."]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"New features"}),"\n",(0,r.jsx)(n.li,{children:"Fixes to issues"}),"\n",(0,r.jsx)(n.li,{children:"Configuration file changes"}),"\n",(0,r.jsx)(n.li,{children:"..."}),"\n"]}),"\n",(0,r.jsx)(n.p,{children:"Once these changes have been made, the current changes need to be documented with the following command."}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:(0,r.jsx)(n.a,{href:"/guide/basic/command-preview#modern-change",children:(0,r.jsx)(n.code,{children:"modern change"})})}),"\n"]}),"\n",(0,r.jsxs)(n.p,{children:["Executing the ",(0,r.jsx)(n.code,{children:"modern change"})," command asks the developer several questions and generates a change log based on the developer's answers. The changelog file contains the type of change and its description, and is committed to the git repository."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"$ npx modern change\n\uD83E\uDD8B What kind of change is this for module-example? (current version is 0.1.0) - patch\n\uD83E\uDD8B Please enter a summary for this change (this will be in the changelogs). Submit empty line to open external editor\n\uD83E\uDD8B Summary - publish test\n\uD83E\uDD8B === Releasing the following packages ===\n\uD83E\uDD8B [Patch]\n\uD83E\uDD8B module\n\uD83E\uDD8B Is this your desired changeset? (Y/n) - true\n\uD83E\uDD8B Changeset added! - you can now commit it\n\uD83E\uDD8B\n\uD83E\uDD8B If you want to modify or expand on the changeset summary, you can find it here\n\uD83E\uDD8B info /xxxxxx/module/.changeset/brave-dryers-agree.md\n"})}),"\n",(0,r.jsxs)(n.p,{children:["When executed successfully, the resulting Markdown file containing the change log is saved in the project's ",(0,r.jsx)(n.code,{children:".changeset"})," directory. The contents will look like the following."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-markdown",meta:'title=".changeset/brave-dryers-agree.md"',children:"---\n\"``module-example'': patch\n---\n\npublish test\n"})}),"\n",(0,r.jsxs)(n.h2,{id:"version-update",children:["Version update",(0,r.jsx)(n.a,{className:"header-anchor","aria-hidden":"true",href:"#version-update",children:"#"})]}),"\n",(0,r.jsx)(n.p,{children:"When the project version needs to be updated, execute the following command."}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:(0,r.jsx)(n.a,{href:"/guide/basic/command-preview#modern-bump",children:(0,r.jsx)(n.code,{children:"modern bump"})})}),"\n"]}),"\n",(0,r.jsxs)(n.p,{children:["Executing ",(0,r.jsx)(n.code,{children:"modern bump"})," will modify the version number in ",(0,r.jsx)(n.code,{children:"package.json"})," based on the contents of the Markdown file in the ",(0,r.jsx)(n.code,{children:".changeset/"})," directory where the changes were recorded, and generate the ",(0,r.jsx)(n.code,{children:"CHANGELOG.md"})," file. ",(0,r.jsx)(n.strong,{children:'These Markdown files are also deleted when the version update is complete, so they are "consumed "'}),"."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-markdown",meta:'title="CHANGELOG.md"',children:"# module\n\n## 0.1.1\n\n### Patch Changes\n\n- publish test\n"})}),"\n",(0,r.jsxs)(n.h2,{id:"publish",children:["Publish",(0,r.jsx)(n.a,{className:"header-anchor","aria-hidden":"true",href:"#publish",children:"#"})]}),"\n",(0,r.jsx)(n.p,{children:"To publish a project, you can execute the following command."}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:(0,r.jsx)(n.a,{href:"/guide/basic/command-preview#modern-release",children:(0,r.jsx)(n.code,{children:"modern publish"})})}),"\n"]}),"\n",(0,r.jsxs)(n.p,{children:["The ",(0,r.jsx)(n.code,{children:"modern release"})," command publishes the project to the npm Registry."]}),"\n",(0,r.jsxs)(n.p,{children:["The release is the ",(0,r.jsx)(n.code,{children:"latest"})," version, which is also the official version. If you want to change the ",(0,r.jsx)(n.code,{children:"dist-tag"}),", you can specify it with the ",(0,r.jsx)(n.code,{children:"modern release --tag"})," command. For example."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"modern release --tag beta\n"})}),"\n",(0,r.jsxs)(n.p,{children:["However, if you want to change the version number of the current project to a pre-release as well, you need to use the ",(0,r.jsx)(n.code,{children:"modern pre"})," command."]}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.code,{children:"dist-tag"})," can be understood as: tagging the current release. Generally speaking, the ",(0,r.jsx)(n.code,{children:"dist-tag"})," for the default release is ",(0,r.jsx)(n.code,{children:"latest"}),", so you can consider ",(0,r.jsx)(n.code,{children:"latest"})," as the ",(0,r.jsx)(n.code,{children:"dist-tag"})," for the official release."]}),"\n"]}),"\n",(0,r.jsxs)(n.h2,{id:"pre-releases",children:["Pre-releases",(0,r.jsx)(n.a,{className:"header-anchor","aria-hidden":"true",href:"#pre-releases",children:"#"})]}),"\n",(0,r.jsx)(n.p,{children:"When a pre-release is needed before the official release, the following command is executed."}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:(0,r.jsx)(n.a,{href:"/guide/basic/command-preview#modern-pre",children:(0,r.jsx)(n.code,{children:"modern pre"})})}),"\n"]}),"\n",(0,r.jsxs)(n.p,{children:["First ",(0,r.jsx)(n.code,{children:"modern pre enter "})," to enter pre-release mode, ",(0,r.jsx)(n.code,{children:""})," can be the same as the ",(0,r.jsx)(n.code,{children:"tag"})," specified with the ",(0,r.jsx)(n.code,{children:"modern release --tag"})," command when releasing the project."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"$ npx modern pre enter next\n\uD83E\uDD8B success Entered pre mode with tag next\n\uD83E\uDD8B info Run `changeset version` to version packages with prerelease versions\n\u2728 Done in 5.30s.\nDone in 5.30s.\n"})}),"\n",(0,r.jsxs)(n.p,{children:["Then you can update the specific version number with the ",(0,r.jsx)(n.code,{children:"modern bump"})," command, ",(0,r.jsx)(n.strong,{children:'which doesn\'t actually "consume" the Markdown file that records the changes'}),":"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-bash",children:"$ npx modern bump\n\uD83E\uDD8B warn ===============================IMPORTANT!===============================\n\uD83E\uDD8B warn You are in prerelease mode\n\uD83E\uDD8B warn If you meant to do a normal release you should revert these changes and run `changeset pre exit`\n\uD83E\uDD8B warn You can then run `changeset version` again to do a normal release\n\uD83E\uDD8B warn ----------------------------------------------------------------------\n\uD83E\uDD8B All files have been updated. review them and commit at your leisure\n"})}),"\n",(0,r.jsxs)(n.p,{children:["Then you can see that the updated version number in ",(0,r.jsx)(n.code,{children:"package.json"})," will look like this: ",(0,r.jsx)(n.code,{children:"0.1.2-next.0"}),"."]}),"\n",(0,r.jsxs)(n.p,{children:["Finally, ",(0,r.jsxs)(n.strong,{children:["if you don't need to do a pre-release anymore, be sure to run the ",(0,r.jsx)(n.code,{children:"modern pre exit"})," command"]})," to exit the pre-release state and to release the official version when you run the ",(0,r.jsx)(n.code,{children:"modern bump"})," command again."]})]})}function t(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{wrapper:n}=Object.assign({},(0,a.useMDXComponents)(),e.components);return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(o,{...e})}):o(e)}n.default=t,t.__RSPRESS_PAGE_META={},t.__RSPRESS_PAGE_META["en%2Fguide%2Fbasic%2Fpublish-your-project.mdx"]={toc:[{text:"Tracking changes",id:"tracking-changes",depth:2},{text:"Version update",id:"version-update",depth:2},{text:"Publish",id:"publish",depth:2},{text:"Pre-releases",id:"pre-releases",depth:2}],title:"Versioning and Publishing",frontmatter:{sidebar_position:7}}},98221:function(e,n,s){"use strict";s.r(n);var r=s("39980"),a=s("96954");function i(e){return(0,r.jsx)(r.Fragment,{})}function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{wrapper:n}=Object.assign({},(0,a.useMDXComponents)(),e.components);return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(i,{...e})}):i(e)}n.default=o,o.__RSPRESS_PAGE_META={},o.__RSPRESS_PAGE_META["zh%2Fcomponents%2Fpublish-emo.mdx"]={toc:[],title:"",frontmatter:{}}}}]); \ No newline at end of file diff --git a/modern-js/module-tools/static/js/async/1968.d9298c6c.js.LICENSE.txt b/modern-js/module-tools/static/js/async/1968.d9298c6c.js.LICENSE.txt deleted file mode 100644 index 415aed91a0..0000000000 --- a/modern-js/module-tools/static/js/async/1968.d9298c6c.js.LICENSE.txt +++ /dev/null @@ -1,9 +0,0 @@ -/*! @site-docs/components/publish-emo */ - -/*! react/jsx-runtime */ - -/*! react/jsx-runtime */ - -/*! @mdx-js/react */ - -/*! @mdx-js/react */ \ No newline at end of file diff --git a/modern-js/module-tools/static/js/index.5666b887.js b/modern-js/module-tools/static/js/index.c7cd840e.js similarity index 98% rename from modern-js/module-tools/static/js/index.5666b887.js rename to modern-js/module-tools/static/js/index.c7cd840e.js index f59947622f..45c6d7b4bb 100644 --- a/modern-js/module-tools/static/js/index.5666b887.js +++ b/modern-js/module-tools/static/js/index.c7cd840e.js @@ -1,2 +1,2 @@ -/*! For license information please see index.5666b887.js.LICENSE.txt */ -(function(){var e,t,r,n,o,a,f,c,u,d,i,l,s,b,p={92919:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n.default}});var n=r("83197");r.es(n,t)}},h={};function v(e){var t=h[e];if(void 0!==t)return t.exports;var r=h[e]={exports:{}};return p[e].call(r.exports,r,r.exports,v),r.exports}v.m=p,v.es=function(e,t){return Object.keys(e).forEach(function(r){"default"!==r&&!Object.prototype.hasOwnProperty.call(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})}),e},v.f={},v.e=function(e){return Promise.all(Object.keys(v.f).reduce(function(t,r){return v.f[r](e,t),t},[]))},e=[],v.O=function(t,r,n,o){if(r){o=o||0;for(var a=e.length;a>0&&e[a-1][2]>o;a--)e[a]=e[a-1];e[a]=[r,n,o];return}for(var f=1/0,a=0;a=o&&Object.keys(v.O).every(function(e){return v.O[e](r[u])})?r.splice(u--,1):(c=!1,o0&&e[a-1][2]>o;a--)e[a]=e[a-1];e[a]=[r,n,o];return}for(var f=1/0,a=0;a=o&&Object.keys(v.O).every(function(e){return v.O[e](r[u])})?r.splice(u--,1):(c=!1,o