From ab6872dcbdcb671e135df2134454e9160d551885 Mon Sep 17 00:00:00 2001 From: gh-pages-bot <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 27 Jun 2024 07:15:55 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20main=20from=20@=20web-infra-de?= =?UTF-8?q?v/modern.js@ea60c808ac26ee6c75a2bb9dba032ae94b5e7998=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/index.html | 2 +- modern-js/module-tools/api/plugin-api/plugin-hooks.html | 2 +- modern-js/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/publish-emo.html | 2 +- .../module-tools/components/register-esbuild-plugin.html | 2 +- modern-js/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/index.html | 2 +- modern-js/module-tools/en/api/plugin-api/plugin-hooks.html | 2 +- modern-js/module-tools/en/components/faq-build-exception.html | 2 +- modern-js/module-tools/en/components/faq-build-other.html | 2 +- modern-js/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/publish-emo.html | 2 +- .../module-tools/en/components/register-esbuild-plugin.html | 2 +- modern-js/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 +- .../module-tools/en/guide/advance/external-dependency.html | 2 +- .../module-tools/en/guide/advance/in-depth-about-build.html | 2 +- .../en/guide/advance/in-depth-about-dev-command.html | 2 +- .../module-tools/en/guide/basic/before-getting-started.html | 2 +- modern-js/module-tools/en/guide/basic/command-preview.html | 2 +- .../module-tools/en/guide/basic/modify-output-product.html | 2 +- .../module-tools/en/guide/basic/publish-your-project.html | 2 +- .../module-tools/en/guide/basic/use-micro-generator.html | 2 +- modern-js/module-tools/en/guide/basic/use-module-doc.html | 2 +- modern-js/module-tools/en/guide/basic/using-storybook.html | 2 +- .../module-tools/en/guide/best-practices/components.html | 2 +- .../module-tools/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/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 +- modern-js/module-tools/en/plugins/guide/getting-started.html | 2 +- modern-js/module-tools/en/plugins/guide/plugin-object.html | 2 +- modern-js/module-tools/en/plugins/guide/setup-function.html | 2 +- modern-js/module-tools/en/plugins/official-list/overview.html | 2 +- .../module-tools/en/plugins/official-list/plugin-babel.html | 2 +- .../module-tools/en/plugins/official-list/plugin-banner.html | 2 +- .../module-tools/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 +- .../module-tools/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 +- modern-js/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 +- modern-js/module-tools/guide/basic/modify-output-product.html | 2 +- modern-js/module-tools/guide/basic/publish-your-project.html | 2 +- modern-js/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 +- modern-js/module-tools/guide/best-practices/components.html | 2 +- .../module-tools/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 | 2 +- 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 +- modern-js/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 +- modern-js/module-tools/plugins/official-list/overview.html | 2 +- .../module-tools/plugins/official-list/plugin-babel.html | 2 +- .../module-tools/plugins/official-list/plugin-banner.html | 2 +- .../module-tools/plugins/official-list/plugin-import.html | 2 +- .../plugins/official-list/plugin-node-polyfill.html | 2 +- .../module-tools/plugins/official-list/plugin-polyfill.html | 2 +- modern-js/module-tools/plugins/official-list/plugin-vue.html | 2 +- .../static/js/{1362.ac7094fc.js => 1362.83ba4458.js} | 4 ++-- ...2.ac7094fc.js.LICENSE.txt => 1362.83ba4458.js.LICENSE.txt} | 0 94 files changed, 94 insertions(+), 94 deletions(-) rename modern-js/module-tools/static/js/{1362.ac7094fc.js => 1362.83ba4458.js} (99%) rename modern-js/module-tools/static/js/{1362.ac7094fc.js.LICENSE.txt => 1362.83ba4458.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 7e037acaf8..d9f625c175 100644 --- a/modern-js/module-tools/api/config/build-config.html +++ b/modern-js/module-tools/api/config/build-config.html @@ -1,4 +1,4 @@ -buildConfig - Modern.js ModuleModern.js Module

buildConfig

+buildConfig - Modern.js ModuleModern.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 ebb570e164..018e5c9e7b 100644 --- a/modern-js/module-tools/api/config/build-preset.html +++ b/modern-js/module-tools/api/config/build-preset.html @@ -1,4 +1,4 @@ -buildPreset - Modern.js ModuleModern.js Module

    buildPreset

    +buildPreset - Modern.js ModuleModern.js Module

    buildPreset

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

    • diff --git a/modern-js/module-tools/api/config/dev.html b/modern-js/module-tools/api/config/dev.html index d4070756b9..81ad4c6eb9 100644 --- a/modern-js/module-tools/api/config/dev.html +++ b/modern-js/module-tools/api/config/dev.html @@ -1,4 +1,4 @@ -dev - Modern.js ModuleModern.js Module

      dev

      +dev - Modern.js ModuleModern.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 bc532390d6..5b937ca33c 100644 --- a/modern-js/module-tools/api/config/plugins.html +++ b/modern-js/module-tools/api/config/plugins.html @@ -1,4 +1,4 @@ -plugins - Modern.js ModuleModern.js Module

      plugins

      +plugins - Modern.js ModuleModern.js Module

      plugins

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

      • 类型:ModuleToolsPlugin[]
      • diff --git a/modern-js/module-tools/api/index.html b/modern-js/module-tools/api/index.html index 9503ade5c1..3342792977 100644 --- a/modern-js/module-tools/api/index.html +++ b/modern-js/module-tools/api/index.html @@ -1 +1 @@ -概览 - Modern.js ModuleModern.js Module
        \ No newline at end of file +概览 - Modern.js ModuleModern.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 94f3d16725..5b4e805429 100644 --- a/modern-js/module-tools/api/plugin-api/plugin-hooks.html +++ b/modern-js/module-tools/api/plugin-api/plugin-hooks.html @@ -1,4 +1,4 @@ -Plugin Hooks - Modern.js ModuleModern.js Module

        Plugin Hooks

        +Plugin Hooks - Modern.js ModuleModern.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 219ee85fc8..4226bf5e34 100644 --- a/modern-js/module-tools/components/faq-build-exception.html +++ b/modern-js/module-tools/components/faq-build-exception.html @@ -1 +1 @@ -Modern.js ModuleModern.js Module
          \ No newline at end of file +Modern.js ModuleModern.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 440adb2af3..2982bb9560 100644 --- a/modern-js/module-tools/components/faq-build-other.html +++ b/modern-js/module-tools/components/faq-build-other.html @@ -1 +1 @@ -Modern.js ModuleModern.js Module
          \ No newline at end of file +Modern.js ModuleModern.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 e58b2b2dd8..22d1a95216 100644 --- a/modern-js/module-tools/components/faq-build-product.html +++ b/modern-js/module-tools/components/faq-build-product.html @@ -1 +1 @@ -Modern.js ModuleModern.js Module
          \ No newline at end of file +Modern.js ModuleModern.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 ea86e7c447..a5fc46c2ef 100644 --- a/modern-js/module-tools/components/faq-storybook.html +++ b/modern-js/module-tools/components/faq-storybook.html @@ -1 +1 @@ -Modern.js ModuleModern.js Module
          \ No newline at end of file +Modern.js ModuleModern.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 f93d0b90e1..fda2a26433 100644 --- a/modern-js/module-tools/components/publish-emo.html +++ b/modern-js/module-tools/components/publish-emo.html @@ -1 +1 @@ -Modern.js ModuleModern.js Module
          \ No newline at end of file +Modern.js ModuleModern.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 5b0404f53a..26fd12f99a 100644 --- a/modern-js/module-tools/components/register-esbuild-plugin.html +++ b/modern-js/module-tools/components/register-esbuild-plugin.html @@ -1,4 +1,4 @@ -Modern.js ModuleModern.js Module
          modern.config.ts
          import { myEsbuildPlugin } from './myEsbuildPlugin';
          +Modern.js ModuleModern.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 a434a2e3a2..ce5ec68bc4 100644
          --- a/modern-js/module-tools/components/release-module-doc.html
          +++ b/modern-js/module-tools/components/release-module-doc.html
          @@ -1 +1 @@
          -Modern.js ModuleModern.js Module
          \ No newline at end of file +Modern.js ModuleModern.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 3543fc3fbc..02dfa18db1 100644 --- a/modern-js/module-tools/en/api/config/build-config.html +++ b/modern-js/module-tools/en/api/config/build-config.html @@ -1,4 +1,4 @@ -buildConfig - Modern.js ModuleModern.js Module

          buildConfig

          +buildConfig - Modern.js ModuleModern.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 7989e00937..9fe1d10986 100644 --- a/modern-js/module-tools/en/api/config/build-preset.html +++ b/modern-js/module-tools/en/api/config/build-preset.html @@ -1,4 +1,4 @@ -buildPreset - Modern.js ModuleModern.js Module

            buildPreset

            +buildPreset - Modern.js ModuleModern.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 f00a7dd633..0a711f37b6 100644 --- a/modern-js/module-tools/en/api/config/dev.html +++ b/modern-js/module-tools/en/api/config/dev.html @@ -1,4 +1,4 @@ -dev - Modern.js ModuleModern.js Module

              dev

              +dev - Modern.js ModuleModern.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 8d3c17cebf..70818a030a 100644 --- a/modern-js/module-tools/en/api/config/plugins.html +++ b/modern-js/module-tools/en/api/config/plugins.html @@ -1,4 +1,4 @@ -plugins - Modern.js ModuleModern.js Module

              plugins

              +plugins - Modern.js ModuleModern.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/index.html b/modern-js/module-tools/en/api/index.html index 6ae89895ec..697c739750 100644 --- a/modern-js/module-tools/en/api/index.html +++ b/modern-js/module-tools/en/api/index.html @@ -1 +1 @@ -Overview - Modern.js ModuleModern.js Module
                \ No newline at end of file +Overview - Modern.js ModuleModern.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 8a3aff3ca2..f52fa47f39 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 @@ -1,4 +1,4 @@ -Plugin Hooks - Modern.js ModuleModern.js Module

                Plugin Hooks

                +Plugin Hooks - Modern.js ModuleModern.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 7504963e67..63af5ad845 100644 --- a/modern-js/module-tools/en/components/faq-build-exception.html +++ b/modern-js/module-tools/en/components/faq-build-exception.html @@ -1 +1 @@ -Modern.js ModuleModern.js Module
                  \ No newline at end of file +Modern.js ModuleModern.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 e1895dd05b..e0c06b3fe4 100644 --- a/modern-js/module-tools/en/components/faq-build-other.html +++ b/modern-js/module-tools/en/components/faq-build-other.html @@ -1 +1 @@ -Modern.js ModuleModern.js Module
                  \ No newline at end of file +Modern.js ModuleModern.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 74b6a295f0..8a05f71756 100644 --- a/modern-js/module-tools/en/components/faq-build-product.html +++ b/modern-js/module-tools/en/components/faq-build-product.html @@ -1 +1 @@ -Modern.js ModuleModern.js Module
                  \ No newline at end of file +Modern.js ModuleModern.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 4eeeb55a5d..c502fce78a 100644 --- a/modern-js/module-tools/en/components/faq-storybook.html +++ b/modern-js/module-tools/en/components/faq-storybook.html @@ -1 +1 @@ -Modern.js ModuleModern.js Module
                  \ No newline at end of file +Modern.js ModuleModern.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 86a4c4cbc5..48d8bb3f2d 100644 --- a/modern-js/module-tools/en/components/publish-emo.html +++ b/modern-js/module-tools/en/components/publish-emo.html @@ -1 +1 @@ -Modern.js ModuleModern.js Module
                  \ No newline at end of file +Modern.js ModuleModern.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 466c561c26..5c4f3e2af0 100644 --- a/modern-js/module-tools/en/components/register-esbuild-plugin.html +++ b/modern-js/module-tools/en/components/register-esbuild-plugin.html @@ -1,4 +1,4 @@ -Modern.js ModuleModern.js Module
                  modern.config.ts
                  import { myEsbuildPlugin } from './myEsbuildPlugin';
                  +Modern.js ModuleModern.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 d5760e123c..a7ee8bf330 100644
                  --- a/modern-js/module-tools/en/components/release-module-doc.html
                  +++ b/modern-js/module-tools/en/components/release-module-doc.html
                  @@ -1 +1 @@
                  -Modern.js ModuleModern.js Module
                  \ No newline at end of file +Modern.js ModuleModern.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 20da90bc9e..e0fc4e9aa0 100644 --- a/modern-js/module-tools/en/guide/advance/asset.html +++ b/modern-js/module-tools/en/guide/advance/asset.html @@ -1,4 +1,4 @@ -Handle static assets - Modern.js ModuleModern.js Module

                  Handle static assets

                  +Handle static assets - Modern.js ModuleModern.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 19b489b064..7675434770 100644 --- a/modern-js/module-tools/en/guide/advance/build-umd.html +++ b/modern-js/module-tools/en/guide/advance/build-umd.html @@ -1,4 +1,4 @@ -Build umd artifacts - Modern.js ModuleModern.js Module

                  Build umd artifacts

                  +Build umd artifacts - Modern.js ModuleModern.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 adc2c92d6c..02f120912b 100644 --- a/modern-js/module-tools/en/guide/advance/copy.html +++ b/modern-js/module-tools/en/guide/advance/copy.html @@ -1,4 +1,4 @@ -Use the Copy Tools - Modern.js ModuleModern.js Module

                    Use the Copy Tools

                    +Use the Copy Tools - Modern.js ModuleModern.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 3a146ec95a..128a0eb42a 100644 --- a/modern-js/module-tools/en/guide/advance/external-dependency.html +++ b/modern-js/module-tools/en/guide/advance/external-dependency.html @@ -1,4 +1,4 @@ -Handle third-party dependencies - Modern.js ModuleModern.js Module

                    Handle third-party dependencies

                    +Handle third-party dependencies - Modern.js ModuleModern.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 7e3833e431..e37343c904 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
                    @@ -1,4 +1,4 @@
                    -In-depth understanding of build - Modern.js ModuleModern.js Module

                    In-depth understanding of build

                    +In-depth understanding of build - Modern.js ModuleModern.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 3eecc7dc35..6ebb172921 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 @@ -1,4 +1,4 @@ -In-depth understanding of the dev command - Modern.js ModuleModern.js Module

                    In-depth understanding of the dev command

                    +In-depth understanding of the dev command - Modern.js ModuleModern.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 c4ec89f138..0de76a1026 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 @@ -1,4 +1,4 @@ -Before you start - Modern.js ModuleModern.js Module

                      Before you start

                      +Before you start - Modern.js ModuleModern.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 3c71bfb78e..35efcaa39d 100644 --- a/modern-js/module-tools/en/guide/basic/command-preview.html +++ b/modern-js/module-tools/en/guide/basic/command-preview.html @@ -1,4 +1,4 @@ -CLI Commands - Modern.js ModuleModern.js Module

                      CLI Commands

                      +CLI Commands - Modern.js ModuleModern.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 faac25a55f..5dc5fdd694 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
                      @@ -1,4 +1,4 @@
                      -Modify the output - Modern.js ModuleModern.js Module

                      Modify the output

                      +Modify the output - Modern.js ModuleModern.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 b17e1a2544..a14b0063a5 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 @@ -1,4 +1,4 @@ -Versioning and Publishing - Modern.js ModuleModern.js Module

                      Versioning and Publishing

                      +Versioning and Publishing - Modern.js ModuleModern.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/use-micro-generator.html b/modern-js/module-tools/en/guide/basic/use-micro-generator.html index 71c31b1525..6d3bbe409e 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 @@ -1,4 +1,4 @@ -Using the Microgenerator - Modern.js ModuleModern.js Module

                        Using the Microgenerator

                        +Using the Microgenerator - Modern.js ModuleModern.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 49b308d590..acedc41cbc 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 @@ -1,4 +1,4 @@ -Developing Module documentation - Modern.js ModuleModern.js Module

                          Developing Module documentation

                          +Developing Module documentation - Modern.js ModuleModern.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 ce5e57b7dd..e08b5a5cd6 100644 --- a/modern-js/module-tools/en/guide/basic/using-storybook.html +++ b/modern-js/module-tools/en/guide/basic/using-storybook.html @@ -1,4 +1,4 @@ -Using Storybook - Modern.js ModuleModern.js Module

                          Using Storybook

                          +Using Storybook - Modern.js ModuleModern.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 a490866bf8..6cbf41c5a8 100644 --- a/modern-js/module-tools/en/guide/best-practices/components.html +++ b/modern-js/module-tools/en/guide/best-practices/components.html @@ -1,4 +1,4 @@ -Developing Components - Modern.js ModuleModern.js Module

                            Developing Components

                            +Developing Components - Modern.js ModuleModern.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 c9e19ffe4d..de07ed4a77 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 @@ -1,4 +1,4 @@ -Using Tailwind CSS - Modern.js ModuleModern.js Module

                              Using Tailwind CSS

                              +Using Tailwind CSS - Modern.js ModuleModern.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 e8f85ddf92..2c106b4bbb 100644 --- a/modern-js/module-tools/en/guide/faq/basic.html +++ b/modern-js/module-tools/en/guide/faq/basic.html @@ -1,4 +1,4 @@ -General Questions - Modern.js ModuleModern.js Module

                              General Questions

                              +General Questions - Modern.js ModuleModern.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 1ea099aefb..9e7d96c67b 100644 --- a/modern-js/module-tools/en/guide/faq/build.html +++ b/modern-js/module-tools/en/guide/faq/build.html @@ -1,4 +1,4 @@ -Build FAQ - Modern.js ModuleModern.js Module

                              Build FAQ

                              +Build FAQ - Modern.js ModuleModern.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 1e4c09fa76..ddced3fb96 100644 --- a/modern-js/module-tools/en/guide/faq/index.html +++ b/modern-js/module-tools/en/guide/faq/index.html @@ -1,4 +1,4 @@ -FAQ - Modern.js ModuleModern.js Module

                              FAQ

                              +FAQ - Modern.js ModuleModern.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 4192debba2..3870cbf87f 100644 --- a/modern-js/module-tools/en/guide/faq/storybook.html +++ b/modern-js/module-tools/en/guide/faq/storybook.html @@ -1,4 +1,4 @@ -Storybook FAQ - Modern.js ModuleModern.js Module

                                Storybook FAQ

                                +Storybook FAQ - Modern.js ModuleModern.js Module

                                Storybook FAQ

                                Storybook v7 Support

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

                                Using Storybook Addon or other configurations does not work

                                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 6ca095f684..b30a0a7dd6 100644 --- a/modern-js/module-tools/en/guide/intro/getting-started.html +++ b/modern-js/module-tools/en/guide/intro/getting-started.html @@ -1,4 +1,4 @@ -Quick Start - Modern.js ModuleModern.js Module

                                Quick Start

                                +Quick Start - Modern.js ModuleModern.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 defacc243a..ce1300d253 100644 --- a/modern-js/module-tools/en/guide/intro/welcome.html +++ b/modern-js/module-tools/en/guide/intro/welcome.html @@ -1,4 +1,4 @@ -Welcome to Modern.js Module - Modern.js ModuleModern.js Module

                                Welcome to Modern.js Module

                                +Welcome to Modern.js Module - Modern.js ModuleModern.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 a0b7231339..56e23dbe4f 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 @@ -1,4 +1,4 @@ -Why you need Modern.js Module - Modern.js ModuleModern.js Module

                                  Why you need Modern.js Module

                                  +Why you need Modern.js Module - Modern.js ModuleModern.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 09d64f7b05..12d91fafe5 100644 --- a/modern-js/module-tools/en/index.html +++ b/modern-js/module-tools/en/index.html @@ -1 +1 @@ -Modern.js ModuleModern.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.

                                  📐

                                  Lint: Code Formatting

                                  Built-in ESLint rules for rich scenarios.

                                  Copyright © 2023 ByteDance.
                                  \ No newline at end of file +Modern.js ModuleModern.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.

                                  📐

                                  Lint: Code Formatting

                                  Built-in ESLint rules for rich scenarios.

                                  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 63fb11f801..6f56e0a9c1 100644 --- a/modern-js/module-tools/en/plugins/guide/getting-started.html +++ b/modern-js/module-tools/en/plugins/guide/getting-started.html @@ -1,4 +1,4 @@ -Quick Start - Modern.js ModuleModern.js Module

                                  Quick Start

                                  +Quick Start - Modern.js ModuleModern.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 8a7288de86..dcff63a930 100644 --- a/modern-js/module-tools/en/plugins/guide/plugin-object.html +++ b/modern-js/module-tools/en/plugins/guide/plugin-object.html @@ -1,4 +1,4 @@ -Plugin Object - Modern.js ModuleModern.js Module

                                    Plugin Object

                                    +Plugin Object - Modern.js ModuleModern.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 26c0779879..d8f0d68c42 100644 --- a/modern-js/module-tools/en/plugins/guide/setup-function.html +++ b/modern-js/module-tools/en/plugins/guide/setup-function.html @@ -1,4 +1,4 @@ -Setup function - Modern.js ModuleModern.js Module

                                      Setup function

                                      +Setup function - Modern.js ModuleModern.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 8fd9b40b23..d405c71144 100644 --- a/modern-js/module-tools/en/plugins/official-list/overview.html +++ b/modern-js/module-tools/en/plugins/official-list/overview.html @@ -1,4 +1,4 @@ -Overview - Modern.js ModuleModern.js Module

                                      Overview

                                      +Overview - Modern.js ModuleModern.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 2fb317cbe8..5d91542772 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 @@ -1,4 +1,4 @@ -Babel Plugin - Modern.js ModuleModern.js Module

                                        Babel Plugin

                                        +Babel Plugin - Modern.js ModuleModern.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 149f7abec2..63d36d49f7 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 @@ -1,4 +1,4 @@ -Banner Plugin - Modern.js ModuleModern.js Module

                                        Banner Plugin

                                        +Banner Plugin - Modern.js ModuleModern.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 30a4db3fce..0036dc4a34 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 @@ -1,4 +1,4 @@ -Import Plugin - Modern.js ModuleModern.js Module

                                        Import Plugin

                                        +Import Plugin - Modern.js ModuleModern.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 a98417ccd3..5845e000ac 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 @@ -1,4 +1,4 @@ -Node Polyfill Plugin - Modern.js ModuleModern.js Module

                                        Node Polyfill Plugin

                                        +Node Polyfill Plugin - Modern.js ModuleModern.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 5189153796..999eddca75 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 @@ -1,4 +1,4 @@ -Polyfill Plugin - Modern.js ModuleModern.js Module

                                        Polyfill Plugin

                                        +Polyfill Plugin - Modern.js ModuleModern.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 fac39e0598..cd035a7629 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 @@ -1,4 +1,4 @@ -Vue Plugin - Modern.js ModuleModern.js Module

                                        Vue Plugin

                                        +Vue Plugin - Modern.js ModuleModern.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 cbebe0a2da..8bcf2784e1 100644 --- a/modern-js/module-tools/guide/advance/asset.html +++ b/modern-js/module-tools/guide/advance/asset.html @@ -1,4 +1,4 @@ -处理静态资源 - Modern.js ModuleModern.js Module

                                          处理静态资源

                                          +处理静态资源 - Modern.js ModuleModern.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 d523b954d5..832b61e115 100644 --- a/modern-js/module-tools/guide/advance/build-umd.html +++ b/modern-js/module-tools/guide/advance/build-umd.html @@ -1,4 +1,4 @@ -构建 umd 产物 - Modern.js ModuleModern.js Module

                                          构建 umd 产物

                                          +构建 umd 产物 - Modern.js ModuleModern.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 fb2f479f74..37ff8f0f36 100644 --- a/modern-js/module-tools/guide/advance/copy.html +++ b/modern-js/module-tools/guide/advance/copy.html @@ -1,4 +1,4 @@ -使用 Copy 工具 - Modern.js ModuleModern.js Module

                                            使用 Copy 工具

                                            +使用 Copy 工具 - Modern.js ModuleModern.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 5618fedc99..922cbcca2e 100644 --- a/modern-js/module-tools/guide/advance/external-dependency.html +++ b/modern-js/module-tools/guide/advance/external-dependency.html @@ -1,4 +1,4 @@ -处理三方依赖 - Modern.js ModuleModern.js Module

                                            处理三方依赖

                                            +处理三方依赖 - Modern.js ModuleModern.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 0dc950b13e..0106a5c4ff 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
                                            @@ -1,4 +1,4 @@
                                            -深入理解构建 - Modern.js ModuleModern.js Module

                                            深入理解构建

                                            +深入理解构建 - Modern.js ModuleModern.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 0fa0ea5299..7a5bbb4544 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 @@ -1,4 +1,4 @@ -深入理解 dev 命令 - Modern.js ModuleModern.js Module

                                            深入理解 dev 命令

                                            +深入理解 dev 命令 - Modern.js ModuleModern.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 7b69cbc9da..fd4ffc87f3 100644 --- a/modern-js/module-tools/guide/basic/before-getting-started.html +++ b/modern-js/module-tools/guide/basic/before-getting-started.html @@ -1,4 +1,4 @@ -开始之前 - Modern.js ModuleModern.js Module

                                              开始之前

                                              +开始之前 - Modern.js ModuleModern.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 6d4c736bf8..67be8359f8 100644 --- a/modern-js/module-tools/guide/basic/command-preview.html +++ b/modern-js/module-tools/guide/basic/command-preview.html @@ -1,4 +1,4 @@ -CLI 命令 - Modern.js ModuleModern.js Module

                                              CLI 命令

                                              +CLI 命令 - Modern.js ModuleModern.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 ecae620ea0..39cfe26fb9 100644
                                              --- a/modern-js/module-tools/guide/basic/modify-output-product.html
                                              +++ b/modern-js/module-tools/guide/basic/modify-output-product.html
                                              @@ -1,4 +1,4 @@
                                              -修改输出产物 - Modern.js ModuleModern.js Module

                                              修改输出产物

                                              +修改输出产物 - Modern.js ModuleModern.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 e10627d2ef..64952355b5 100644 --- a/modern-js/module-tools/guide/basic/publish-your-project.html +++ b/modern-js/module-tools/guide/basic/publish-your-project.html @@ -1,4 +1,4 @@ -版本管理与发布 - Modern.js ModuleModern.js Module

                                              版本管理与发布

                                              +版本管理与发布 - Modern.js ModuleModern.js Module

                                              版本管理与发布

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

                                              • 第一阶段是在开发期间,开发者需要提供变更文件,该文件记录了在发布期间需要的变更内容;
                                              • 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 56093b634f..6184536202 100644 --- a/modern-js/module-tools/guide/basic/use-micro-generator.html +++ b/modern-js/module-tools/guide/basic/use-micro-generator.html @@ -1,4 +1,4 @@ -使用微生成器 - Modern.js ModuleModern.js Module

                                                使用微生成器

                                                +使用微生成器 - Modern.js ModuleModern.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 8e64607ac9..e7345fd1c4 100644 --- a/modern-js/module-tools/guide/basic/use-module-doc.html +++ b/modern-js/module-tools/guide/basic/use-module-doc.html @@ -1,4 +1,4 @@ -开发模块文档 - Modern.js ModuleModern.js Module

                                                  开发模块文档

                                                  +开发模块文档 - Modern.js ModuleModern.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 98f0ae5dcf..19ddb806fc 100644 --- a/modern-js/module-tools/guide/basic/using-storybook.html +++ b/modern-js/module-tools/guide/basic/using-storybook.html @@ -1,4 +1,4 @@ -使用 Storybook - Modern.js ModuleModern.js Module

                                                  使用 Storybook

                                                  +使用 Storybook - Modern.js ModuleModern.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 2c0a5e7768..cf68ab484e 100644 --- a/modern-js/module-tools/guide/best-practices/components.html +++ b/modern-js/module-tools/guide/best-practices/components.html @@ -1,4 +1,4 @@ -开发组件 - Modern.js ModuleModern.js Module

                                                    开发组件

                                                    +开发组件 - Modern.js ModuleModern.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 dc7e865390..b4f6a00171 100644 --- a/modern-js/module-tools/guide/best-practices/use-tailwindcss.html +++ b/modern-js/module-tools/guide/best-practices/use-tailwindcss.html @@ -1,4 +1,4 @@ -使用 Tailwind CSS - Modern.js ModuleModern.js Module

                                                      使用 Tailwind CSS

                                                      +使用 Tailwind CSS - Modern.js ModuleModern.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 ba1c857d44..18b4d05fe7 100644 --- a/modern-js/module-tools/guide/faq/basic.html +++ b/modern-js/module-tools/guide/faq/basic.html @@ -1,4 +1,4 @@ -通用类问题 - Modern.js ModuleModern.js Module

                                                      通用类问题

                                                      +通用类问题 - Modern.js ModuleModern.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 495228be6e..873e1b7cdd 100644 --- a/modern-js/module-tools/guide/faq/build.html +++ b/modern-js/module-tools/guide/faq/build.html @@ -1,4 +1,4 @@ -构建相关问题 - Modern.js ModuleModern.js Module

                                                      构建相关问题

                                                      +构建相关问题 - Modern.js ModuleModern.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 0826954649..1a4b17382e 100644 --- a/modern-js/module-tools/guide/faq/index.html +++ b/modern-js/module-tools/guide/faq/index.html @@ -1,4 +1,4 @@ -常见问题 - Modern.js ModuleModern.js Module

                                                      常见问题

                                                      +常见问题 - Modern.js ModuleModern.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 1c18d5ce0e..f06d23e9a4 100644 --- a/modern-js/module-tools/guide/faq/storybook.html +++ b/modern-js/module-tools/guide/faq/storybook.html @@ -1,4 +1,4 @@ -Storybook 相关问题 - Modern.js ModuleModern.js Module

                                                        Storybook 相关问题

                                                        +Storybook 相关问题 - Modern.js ModuleModern.js Module

                                                        Storybook 相关问题

                                                        支持 Storybook v7

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

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

                                                        diff --git a/modern-js/module-tools/guide/intro/getting-started.html b/modern-js/module-tools/guide/intro/getting-started.html index 8de82b6673..776da03b1e 100644 --- a/modern-js/module-tools/guide/intro/getting-started.html +++ b/modern-js/module-tools/guide/intro/getting-started.html @@ -1,4 +1,4 @@ -快速开始 - Modern.js ModuleModern.js Module

                                                        快速开始

                                                        +快速开始 - Modern.js ModuleModern.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 3551d6fe5b..00e49e3925 100644 --- a/modern-js/module-tools/guide/intro/welcome.html +++ b/modern-js/module-tools/guide/intro/welcome.html @@ -1,4 +1,4 @@ -欢迎使用 - Modern.js ModuleModern.js Module

                                                        欢迎使用

                                                        +欢迎使用 - Modern.js ModuleModern.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 263b5c1f81..babd0d22cf 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 @@ -1,4 +1,4 @@ -为什么需要 Modern.js Module - Modern.js ModuleModern.js Module

                                                          为什么需要 Modern.js Module

                                                          +为什么需要 Modern.js Module - Modern.js ModuleModern.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 1e85707c47..1180ba2c5c 100644 --- a/modern-js/module-tools/index.html +++ b/modern-js/module-tools/index.html @@ -1 +1 @@ -Modern.js ModuleModern.js Module

                                                          Modern.js Module

                                                          模块工程解决方案

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

                                                          🚀

                                                          esbuild: 高性能的 JS Bundler

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

                                                          双构建模式

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

                                                          🛠️

                                                          开箱即用

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

                                                          🎨

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

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

                                                          📦

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

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

                                                          📐

                                                          Lint: 代码格式化

                                                          丰富场景的内置 ESLint 规则。

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

                                                          Modern.js Module

                                                          模块工程解决方案

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

                                                          🚀

                                                          esbuild: 高性能的 JS Bundler

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

                                                          双构建模式

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

                                                          🛠️

                                                          开箱即用

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

                                                          🎨

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

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

                                                          📦

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

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

                                                          📐

                                                          Lint: 代码格式化

                                                          丰富场景的内置 ESLint 规则。

                                                          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 e4515dfeda..442d0a7c2b 100644 --- a/modern-js/module-tools/plugins/guide/getting-started.html +++ b/modern-js/module-tools/plugins/guide/getting-started.html @@ -1,4 +1,4 @@ -快速开始 - Modern.js ModuleModern.js Module

                                                          快速开始

                                                          +快速开始 - Modern.js ModuleModern.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 b49af54aea..ac91136fa7 100644 --- a/modern-js/module-tools/plugins/guide/plugin-object.html +++ b/modern-js/module-tools/plugins/guide/plugin-object.html @@ -1,4 +1,4 @@ -插件对象 - Modern.js ModuleModern.js Module

                                                            插件对象

                                                            +插件对象 - Modern.js ModuleModern.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 6a21a171fb..ac8f16158d 100644 --- a/modern-js/module-tools/plugins/guide/setup-function.html +++ b/modern-js/module-tools/plugins/guide/setup-function.html @@ -1,4 +1,4 @@ -Setup 函数 - Modern.js ModuleModern.js Module

                                                              Setup 函数

                                                              +Setup 函数 - Modern.js ModuleModern.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 ff9bb1ecf8..8e5ffc26ca 100644 --- a/modern-js/module-tools/plugins/official-list/overview.html +++ b/modern-js/module-tools/plugins/official-list/overview.html @@ -1,4 +1,4 @@ -总览 - Modern.js ModuleModern.js Module

                                                              总览

                                                              +总览 - Modern.js ModuleModern.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 f6f25cc2e4..ffca110b53 100644 --- a/modern-js/module-tools/plugins/official-list/plugin-babel.html +++ b/modern-js/module-tools/plugins/official-list/plugin-babel.html @@ -1,4 +1,4 @@ -Babel 插件 - Modern.js ModuleModern.js Module

                                                                Babel 插件

                                                                +Babel 插件 - Modern.js ModuleModern.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 6ada5efbd1..b786943469 100644 --- a/modern-js/module-tools/plugins/official-list/plugin-banner.html +++ b/modern-js/module-tools/plugins/official-list/plugin-banner.html @@ -1,4 +1,4 @@ -Banner 插件 - Modern.js ModuleModern.js Module

                                                                Banner 插件

                                                                +Banner 插件 - Modern.js ModuleModern.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 76c45d3750..337385f70d 100644 --- a/modern-js/module-tools/plugins/official-list/plugin-import.html +++ b/modern-js/module-tools/plugins/official-list/plugin-import.html @@ -1,4 +1,4 @@ -Import 插件 - Modern.js ModuleModern.js Module

                                                                Import 插件

                                                                +Import 插件 - Modern.js ModuleModern.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 0c275fba3c..7636cdc006 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 @@ -1,4 +1,4 @@ -Node Polyfill 插件 - Modern.js ModuleModern.js Module

                                                                Node Polyfill 插件

                                                                +Node Polyfill 插件 - Modern.js ModuleModern.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 8f7eb1f7aa..0894207ec3 100644 --- a/modern-js/module-tools/plugins/official-list/plugin-polyfill.html +++ b/modern-js/module-tools/plugins/official-list/plugin-polyfill.html @@ -1,4 +1,4 @@ -Polyfill 插件 - Modern.js ModuleModern.js Module

                                                                Polyfill 插件

                                                                +Polyfill 插件 - Modern.js ModuleModern.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 91007dafe5..7d2220bc96 100644 --- a/modern-js/module-tools/plugins/official-list/plugin-vue.html +++ b/modern-js/module-tools/plugins/official-list/plugin-vue.html @@ -1,4 +1,4 @@ -Vue 插件 - Modern.js ModuleModern.js Module

                                                                Vue 插件

                                                                +Vue 插件 - Modern.js ModuleModern.js Module

                                                                Vue 插件

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

                                                                WARNING

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

                                                                  diff --git a/modern-js/module-tools/static/js/1362.ac7094fc.js b/modern-js/module-tools/static/js/1362.83ba4458.js similarity index 99% rename from modern-js/module-tools/static/js/1362.ac7094fc.js rename to modern-js/module-tools/static/js/1362.83ba4458.js index 14edd73ad1..717d14dfd6 100644 --- a/modern-js/module-tools/static/js/1362.ac7094fc.js +++ b/modern-js/module-tools/static/js/1362.83ba4458.js @@ -1,2 +1,2 @@ -/*! For license information please see 1362.ac7094fc.js.LICENSE.txt */ -(self.webpackChunk_modern_js_module_tools_docs=self.webpackChunk_modern_js_module_tools_docs||[]).push([["1362"],{5929:function(e,t,n){"use strict";n.d(t,{V:function(){return h}});var i=n("9980"),r=n("2363"),o=n("8319"),a=n("1207"),l=n("3328"),s=n("2688"),d=n("1812");let{routes:c}=n("9593"),u=(0,r.memo)(function(e){let t=e.el;return l.Z?.themeConfig?.enableContentAnimation&&(t=(0,d.n_)(e.el)),t},(e,t)=>e.el===t.el),h=({fallback:e=(0,i.jsx)(i.Fragment,{})})=>{let{pathname:t}=(0,o.TH)(),n=(0,a.fp)(c,(0,s.Tm)(t));if(!n)return(0,i.jsx)("div",{});let l=n[0].route.element;return(0,i.jsx)(r.Suspense,{fallback:e,children:(0,i.jsx)(u,{el:l})})}},741:function(e,t,n){"use strict";n.d(t,{r:function(){return o}});var i=n("9980"),r=n("2363");function o(e){let{children:t}=e,[n,o]=(0,r.useState)(!1);return((0,r.useEffect)(()=>{o(!0)},[]),n)?(0,i.jsx)(i.Fragment,{children:t}):null}},1812:function(e,t,n){"use strict";n.d(t,{Jr:function(){return s},Ni:function(){return a},R0:function(){return o},Vi:function(){return l},aw:function(){return d},n_:function(){return c}});var i=n("2363"),r=n("1850");let o=(0,i.createContext)({}),a=(0,i.createContext)({});function l(){return(0,i.useContext)(o).data}function s(){return(0,i.useContext)(o).data.page.lang||""}function d(){return(0,i.useContext)(o).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}},2688:function(e,t,n){"use strict";n.d(t,{AP:function(){return d},E9:function(){return l},Tm:function(){return o},i6:function(){return c},pJ:function(){return a},pV:function(){return s}});var i=n("3328"),r=n("2855");function o(e){return decodeURIComponent(e).replace(/\.html$/,"").replace(/\/index$/,"/")}function a(e="/"){return(0,r.pJ)(e,i.Z.base)}function l(e){return(0,r.E9)(e,i.Z.base)}function s(e,t){return a(d((0,r.lm)(e)))===a(d((0,r.lm)(t)))}function d(e){let t=!!i.Z?.route?.cleanUrls;return(0,r.yc)(e,t)}function c(e){return!(0,r.yv)()||(0,r.xf)(e)||(0,r.pZ)(e)?e:a(e)}},2555:function(e,t,n){"use strict";n.d(t,{Qp:function(){return v},tP:function(){return b}});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 o="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),a=[],l=!1,s=-1,d=void 0,c=void 0,u=void 0,h=function(e){return a.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}!a.some(function(t){return t.targetElement===e})&&(a=[].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),o&&(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(){o&&(a.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),o?g():f(),a=[]}},429:function(e,t){"use strict";t.parse=function(e){for(var t,n=[],i=String(e||""),r=i.indexOf(","),o=0,a=!1;!a;)-1===r&&(r=i.length,a=!0),((t=i.slice(o,r).trim())||!a)&&n.push(t),o=r+1,r=i.indexOf(",",o);return n};function n(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()}},9522:function(e,t,n){"use strict";var i=n("8456"),r={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,o,a,l,s,d,c,u,h=!1;!t&&(t={}),a=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){a&&console.warn("unable to use e.clipboardData"),a&&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){a&&console.error("unable to copy using execCommand: ",i),a&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),h=!0}catch(i){;a&&console.error("unable to copy using clipboardData: ",i),a&&console.error("falling back to prompt"),n="message"in t?t.message:"Copy to clipboard: #{key}, Enter",o=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C",l=n.replace(/#{\s*key\s*}/g,o),window.prompt(l,e)}}finally{c&&("function"==typeof c.removeRange?c.removeRange(d):c.removeAllRanges()),u&&document.body.removeChild(u),s()}return h}},4532:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var i=n("7302");function r(e,t){e.classList?e.classList.add(t):!(0,i.Z)(e,t)&&("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}},7302:function(e,t,n){"use strict";function i(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}n.d(t,{Z:function(){return i}})},2523:function(e,t,n){"use strict";function i(e,t){return e.replace(RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function r(e,t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=i(e.className,t):e.setAttribute("class",i(e.className&&e.className.baseVal||"",t))}n.d(t,{Z:function(){return r}})},5653:function(e,t){"use strict";var n,i,r;let o;n="FlexSearch",i=function e(t){let n;function i(e,t){let n=t?t.id:e&&e.id;this.id=n||0===n?n:N++,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 o(e,t){let n=e.length,i=y(t),r=[];for(let o=0,a=0;o=a&&((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,o,a){let l,s=[];if(!0===n){n="0";var d=""}else d=n&&n.split(":");let c=e.length;if(1a&&(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[a]=""+this.C,n&&n(),this;if(!r){if(this.async&&"function"!=typeof importScripts){let r=this;return(a=new Promise(function(n){setTimeout(function(){r.add(e,t,null,i,!0),r=null,n()})}),n)?(a.then(n),this):a}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=o(r,this.filter));let p=I();p._ctx=I();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]=I()),l=this.h[l]||(this.h[l]=j(x-(f||0))),0>(d=t-g)&&(d=0),(u=t+g+1)>m&&(u=m);dr;n--)i=o[n-1],o[n]=i,t[i]=n;o[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,o,a){return r=t?URL.createObjectURL(new Blob(["("+r.toString()+")()"],{type:"text/javascript"})):n+".min.js",e[n+="-"+i]||(e[n]=[]),e[n][a]=new Worker(r),e[n][a].onmessage=o,e[n][a]}}()),r=this,(o=r.define)&&o.amd?o([],function(){return i}):(o=r.modules)?o[n.toLowerCase()]=i:"object"==typeof t?e.exports=i:r[n]=i},3451:function(e){"use strict";e.exports=function(e,n){for(var i,r,o,a=e||"",l=n||"div",s={},d=0;d-1}var a=["itemScope"];function l(t,n,i,r){void 0===r&&(r=null);var o=i[t],a=i._;return o?e.createElement(o,n,r):a?a(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 o=document.createElement("div");o.innerHTML=e.trim();var a=Array.from(o.childNodes).map(function(e,o){return function e(i,o,a){var s,d,c,u,h=a.transform||{},p=a.preserveAttributes||[],m=a.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,a=(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,'"'));o[a]=l}}),o);else{var l=d[n],h=""===l||String(l).toLowerCase()===i.toLowerCase();e[a.name]=a.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,o+"."+i,a)}).filter(Boolean);if(m.indexOf(y)>-1){var j=i.innerHTML;return j&&("style"!==y&&"script"!==y&&(j=j.replace(/"/g,""")),w.dangerouslySetInnerHTML={__html:j.trim()}),l(y,w,h)}return l(y,w,h,0===k.length?null:k)}(e,String(o),i)}).filter(Boolean);return 1===a.length?a[0]:a}},"object"==typeof t?e.exports=r(n("2363")):"function"==typeof define&&define.amd?define(["react"],r):(i=i||self).htmr=r(i.React)},4546:function(e){"use strict";e.exports=function(e,t,n,i,r,o,a,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,o,a,l],c=0;(s=Error(t.replace(/%s/g,function(){return d[c++]}))).name="Invariant Violation"}throw s.framesToPop=1,s}}},4761: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}},9975:function(e,t,n){"use strict";var i=n("4761"),r=n("7525");e.exports=function(e){return i(e)||r(e)}},7525:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},2201: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}},366:function(e,t){"use strict";var n=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},c=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,i=function(){var e={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},t=void 0,i=void 0;if(b.container){if(b.container instanceof Object)t=(e=n({},e,b.container)).width-e.left-e.right-2*b.margin,i=e.height-e.top-e.bottom-2*b.margin;else{var a=(r(b.container)?b.container:document.querySelector(b.container)).getBoundingClientRect();e=n({},e,{width:a.width,height:a.height,left:a.left,top:a.top})}}t=t||e.width-2*b.margin,i=i||e.height-2*b.margin;var l=y.zoomedHd||y.original,s=o(l)?t:l.naturalWidth||t,d=o(l)?i:l.naturalHeight||i,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),i)/m),g=(-h+(t-p)/2+b.margin+e.left)/f,x=(-u+(i-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 c(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 n=f;y.original=n[0]}else{e(k);return}if(y.original.dispatchEvent(d("medium-zoom:open",{detail:{zoom:k}})),v=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,x=!0,y.zoomed=s(y.original),document.body.appendChild(w),b.template){var o=r(b.template)?b.template:document.querySelector(b.template);y.template=document.createElement("div"),y.template.appendChild(o.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(d("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(a),console.warn("Unable to reach the zoom image target "+y.zoomedHd.src),y.zoomedHd=null,i()};var a=setInterval(function(){y.zoomedHd.complete&&(clearInterval(a),y.zoomedHd.classList.add("medium-zoom-image--opened"),y.zoomedHd.addEventListener("click",p),document.body.appendChild(y.zoomedHd),i())},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),i()})}else i()})},p=function(){return new c(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(d("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(d("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=i,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=l((b=n({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=n({},b.container,e.container)),e.template){var t=r(e.template)?e.template:document.querySelector(e.template);e.template=t}return b=n({},b,e),f.forEach(function(e){e.dispatchEvent(d("medium-zoom:update",{detail:{zoom:k}}))}),k},clone:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e(n({},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,a(t))},[]):f;return i.forEach(function(e){e.classList.remove("medium-zoom-image"),e.dispatchEvent(d("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}},7841:function(e,t){var n,i;n=this,i=function(){var e,t,n,i={};i.version="0.2.0";var r=i.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 o(e,t,n){return en?n:e}function a(e){return(-1+e)*100}i.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},i.status=null,i.set=function(e){var t=i.isStarted();e=o(e,r.minimum,1),i.status=1===e?null:e;var n=i.render(!t),a=n.querySelector(r.barSelector),d=r.speed,c=r.easing;return n.offsetWidth,l(function(t){""===r.positionUsing&&(r.positionUsing=i.getPositioningCSS()),s(a,function(e,t,n){var i;if("translate3d"===r.positionUsing)i={transform:"translate3d("+(-1+e)*100+"%,0,0)"};else if("translate"===r.positionUsing)i={transform:"translate("+(-1+e)*100+"%,0)"};else i={"margin-left":(-1+e)*100+"%"};return i.transition="all "+t+"ms "+n,i}(e,d,c)),1===e?(s(n,{transition:"none",opacity:1}),n.offsetWidth,setTimeout(function(){s(n,{transition:"all "+d+"ms linear",opacity:0}),setTimeout(function(){i.remove(),t()},d)},d)):setTimeout(t,d)}),this},i.isStarted=function(){return"number"==typeof i.status},i.start=function(){!i.status&&i.set(0);var e=function(){setTimeout(function(){i.status&&(i.trickle(),e())},r.trickleSpeed)};return r.trickle&&e(),this},i.done=function(e){return e||i.status?i.inc(.3+.5*Math.random()).set(1):this},i.inc=function(e){var t=i.status;return t?("number"!=typeof e&&(e=(1-t)*o(Math.random()*t,.1,.95)),t=o(t+e,0,.994),i.set(t)):i.start()},i.trickle=function(){return i.inc(Math.random()*r.trickleRate)},e=0,t=0,i.promise=function(n){return n&&"resolved"!==n.state()?(0===t&&i.start(),e++,t++,n.always(function(){0==--t?(e=0,i.done()):i.set((e-t)/e)}),this):this},i.render=function(e){if(i.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var n,o=t.querySelector(r.barSelector),a=e?"-100":function(e){return(-1+e)*100}(i.status||0),l=document.querySelector(r.parent);return s(o,{transition:"all 0 linear",transform:"translate3d("+a+"%,0,0)"}),!r.showSpinner&&(n=t.querySelector(r.spinnerSelector))&&p(n),l!=document.body&&c(l,"nprogress-custom-parent"),l.appendChild(t),t},i.remove=function(){u(document.documentElement,"nprogress-busy"),u(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&p(e)},i.isRendered=function(){return!!document.getElementById("nprogress")},i.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 l=(n=[],function(e){n.push(e),1==n.length&&!function e(){var t=n.shift();t&&t(e)}()}),s=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,o=t.charAt(0).toUpperCase()+t.slice(1);r--;)if((i=e[r]+o)in n)return i;return t}(n))}(i),n.style[i]=r}return function(e,t){var i,r,o=arguments;if(2==o.length)for(i in t)void 0!==(r=t[i])&&t.hasOwnProperty(i)&&n(e,i,r);else n(e,o[1],o[2])}}();function d(e,t){return("string"==typeof e?e:h(e)).indexOf(" "+t+" ")>=0}function c(e,t){var n=h(e),i=n+t;!d(n,t)&&(e.className=i.substring(1))}function u(e,t){var n,i=h(e);d(e,t)&&(n=i.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function h(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function p(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return i},"function"==typeof define&&define.amd?define(i):"object"==typeof t?e.exports=i():n.NProgress=i()},5144: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}},2668:function(e,t,n){"use strict";var i=n("924"),r=n("3222"),o=n("7525"),a=n("2201"),l=n("9975"),s=n("5144");e.exports=function(e,t){var n,o,a={};for(o in!t&&(t={}),h)n=t[o],a[o]=null==n?h[o]:n;return(a.position.indent||a.position.start)&&(a.indent=a.position.indent||[],a.position=a.position.start),function(e,t){var n,o,a,h,b,y,w,k,j,I,P,S,E,C,N,z,_,A,T,O=t.additional,M=t.nonTerminated,L=t.text,D=t.reference,R=t.warning,B=t.textContext,$=t.referenceContext,F=t.warningContext,H=t.position,Z=t.indent||[],W=e.length,U=0,V=-1,q=H.column||1,G=H.line||1,Y="",Q=[];for("string"==typeof O&&(O=O.charCodeAt(0)),z=K(),k=R?function(e,t){var n=K();n.column+=t,n.offset+=t,R.call(F,v[e],n,e)}:u,U--,W++;++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]):(I="",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,I+=c(y>>>10|55296),y=56320|1023&y),y=I+c(y))):C!==p&&k(4,A);y?(J(),z=K(),U=T-1,q+=T-E+1,Q.push(y),_=K(),_.offset++,D&&D.call($,y,{start:z,end:_},e.slice(E-1,T)),z=_):(h=e.slice(E-1,T),Y+=h,q+=h.length,U=T-1)}else 10===b&&(G++,V++,q=0),b==b?(Y+=c(b),q++):J();return Q.join("");function K(){return{line:G,column:q,offset:U+(H.offset||0)}}function J(){Y&&(Q.push(Y),L&&L.call(B,Y,{start:z,end:K()}),Y="")}}(e,a)};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]=o,x[m]=a;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 o?new o(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 j,I=w.value;if(n.length>t.length)return;if(!(I instanceof o)){var P=1;if(x){if(!(j=a(y,k,t,g))||j.index>=t.length)break;var S=j.index,E=j.index+j[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 o)continue;for(var N=w;N!==n.tail&&(Cc.reach&&(c.reach=T);var O=w.prev;if(_&&(O=s(n,O,_),k+=_.length),function(e,t,n){for(var i=t.next,r=0;r1){var M={cause:u+","+p,reach:T};e(t,n,i,w.prev,k,M),c&&M.reach>c.reach&&(c.reach=M.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,o=0;i=n[o++];)i(t)}},Token:o};function o(e,t,n,i){this.type=e,this.content=t,this.alias=n,this.length=0|(i||"").length}function a(e,t,n,i){e.lastIndex=t;var r=e.exec(n);if(r&&i&&r[1]){var o=r[1].length;r.index+=o,r[0]=r[0].slice(o)}return r}e.Prism=r,o.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 o={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},a=t.alias;a&&(Array.isArray(a)?Array.prototype.push.apply(o.classes,a):o.classes.push(a)),r.hooks.run("wrap",o);var l="";for(var s in o.attributes)l+=" "+s+'="'+(o.attributes[s]||"").replace(/"/g,""")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+l+">"+o.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,o=n.code,a=n.immediateClose;e.postMessage(r.highlight(o,r.languages[i],i)),a&&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)},2504:function(e,t,n){"use strict";var i=n("2265");function r(){}function o(){}o.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,o,a){if(a!==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:o,resetWarningCache:r};return n.PropTypes=n,n}},3698:function(e,t,n){e.exports=n("2504")()},2265:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},2616:function(e,t,n){"use strict";var i=n("2275"),r=n("6492"),o=n("3811"),a="data";e.exports=function(e,t){var n=i(t),h=t,p=o;return n in e.normal?e.property[e.normal[n]]:(n.length>4&&n.slice(0,4)===a&&l.test(t)&&("-"===t.charAt(4)?h=function(e){var t=e.slice(5).replace(s,u);return a+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),a+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()}},6093:function(e,t,n){"use strict";var i=n("6399"),r=n("9283"),o=n("7430"),a=n("2376"),l=n("5531"),s=n("1581");e.exports=i([o,r,a,l,s])},5531:function(e,t,n){"use strict";var i=n("3077"),r=n("9469"),o=i.booleanish,a=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:o,ariaAutoComplete:null,ariaBusy:o,ariaChecked:o,ariaColCount:a,ariaColIndex:a,ariaColSpan:a,ariaControls:l,ariaCurrent:null,ariaDescribedBy:l,ariaDetails:null,ariaDisabled:o,ariaDropEffect:l,ariaErrorMessage:null,ariaExpanded:o,ariaFlowTo:l,ariaGrabbed:o,ariaHasPopup:null,ariaHidden:o,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:l,ariaLevel:a,ariaLive:null,ariaModal:o,ariaMultiLine:o,ariaMultiSelectable:o,ariaOrientation:null,ariaOwns:l,ariaPlaceholder:null,ariaPosInSet:a,ariaPressed:o,ariaReadOnly:o,ariaRelevant:null,ariaRequired:o,ariaRoleDescription:l,ariaRowCount:a,ariaRowIndex:a,ariaRowSpan:a,ariaSelected:o,ariaSetSize:a,ariaSort:null,ariaValueMax:a,ariaValueMin:a,ariaValueNow:a,ariaValueText:null,role:null}})},1581:function(e,t,n){"use strict";var i=n("3077"),r=n("9469"),o=n("2561"),a=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:o,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:u,acceptCharset:c,accessKey:c,action:null,allow:null,allowFullScreen:a,allowPaymentRequest:a,allowUserMedia:a,alt:null,as:null,async:a,autoCapitalize:null,autoComplete:c,autoFocus:a,autoPlay:a,capture:a,charSet:null,checked:a,cite:null,className:c,cols:d,colSpan:null,content:null,contentEditable:s,controls:a,controlsList:c,coords:d|u,crossOrigin:null,data:null,dateTime:null,decoding:null,default:a,defer:a,dir:null,dirName:null,disabled:a,download:l,draggable:s,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:a,formTarget:null,headers:c,height:d,hidden:a,high:d,href:null,hrefLang:null,htmlFor:c,httpEquiv:c,id:null,imageSizes:null,imageSrcSet:u,inputMode:null,integrity:null,is:null,isMap:a,itemId:null,itemProp:c,itemRef:c,itemScope:a,itemType:c,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:a,low:d,manifest:null,max:null,maxLength:d,media:null,method:null,min:null,minLength:d,multiple:a,muted:a,name:null,nonce:null,noModule:a,noValidate:a,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:a,optimum:d,pattern:null,ping:c,placeholder:null,playsInline:a,poster:null,preload:null,readOnly:a,referrerPolicy:null,rel:c,required:a,reversed:a,rows:d,rowSpan:d,sandbox:c,scope:null,scoped:a,seamless:a,selected:a,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:a,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:a,declare:a,event:null,face:null,frame:null,frameBorder:null,hSpace:d,leftMargin:d,link:null,longDesc:null,lowSrc:null,marginHeight:d,marginWidth:d,noResize:a,noHref:a,noShade:a,noWrap:a,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:a,disableRemotePlayback:a,prefix:null,property:null,results:d,security:null,unselectable:null}})},2561:function(e,t,n){"use strict";var i=n("6073");e.exports=function(e,t){return i(e,t.toLowerCase())}},6073:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},9469:function(e,t,n){"use strict";var i=n("2275"),r=n("3673"),o=n("6492");e.exports=function(e){var t,n,a=e.space,l=e.mustUseProperty||[],s=e.attributes||{},d=e.properties,c=e.transform,u={},h={};for(t in d)n=new o(t,c(s,t),d[t],a),-1!==l.indexOf(t)&&(n.mustUseProperty=!0),u[t]=n,h[i(t)]=t,h[i(n.attribute)]=t;return new r(u,h,a)}},6492:function(e,t,n){"use strict";var i=n("3811"),r=n("3077");e.exports=l,l.prototype=new i,l.prototype.defined=!0;var o=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],a=o.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 g={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},x={rel:["amphtml","canonical","alternate"]},v={type:["application/ld+json"]},b={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"]},y=Object.keys(g).map(function(e){return g[e]}),w={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},k=Object.keys(w).reduce(function(e,t){return e[w[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},I=function(e){var t=j(e,g.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},P=function(e,t){return t.filter(function(t){return void 0!==t[e]}).map(function(t){return t[e]}).reduce(function(e,t){return h({},e,t)},{})},S=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,o=Object.keys(e),a=0;a/g,">").replace(/"/g,""").replace(/'/g,"'")},T=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[w[n]||n]=e[n],t},t)},M=function(e,t){return t.map(function(t,n){var r,o=((r={key:n})["data-rh"]=!0,r);return Object.keys(t).forEach(function(e){var n=w[e]||e;"innerHTML"===n||"cssText"===n?o.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:o[n]=t[e]}),i.createElement(e,o)})},L=function(e,t,n){switch(e){case g.TITLE:return{toComponent:function(){var e,n,r,o;return n=t.titleAttributes,(r={key:e=t.title})["data-rh"]=!0,o=O(n,r),[i.createElement(g.TITLE,o,e)]},toString:function(){var i,r,o,a,l,s;return i=e,r=t.title,o=t.titleAttributes,a=n,l=T(o),s=C(r),l?"<"+i+' data-rh="true" '+l+">"+A(s,a)+"":"<"+i+' data-rh="true">'+A(s,a)+""}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return O(t)},toString:function(){return T(t)}};default:return{toComponent:function(){return M(e,t)},toString:function(){var i,r,o;return i=e,r=t,o=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+'="'+A(t[n],o)+'"';return e?e+" "+i:i},""),r=t.innerHTML||t.cssText||"",a=-1===_.indexOf(i);return e+"<"+i+' data-rh="true" '+n+(a?"/>":">"+r+"")},"")}}}},D=function(e){var t=e.baseTag,n=e.bodyAttributes,i=e.encode,r=e.htmlAttributes,o=e.noscriptTags,a=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,y,w,k,j,I=(m=(p=e).linkTags,f=p.scriptTags,y=p.encode,w=N(p.metaTags,b),k=N(m,x),j=N(f,v),{priorityMethods:{toComponent:function(){return[].concat(M(g.META,w.priority),M(g.LINK,k.priority),M(g.SCRIPT,j.priority))},toString:function(){return L(g.META,w.priority,y)+" "+L(g.LINK,k.priority,y)+" "+L(g.SCRIPT,j.priority,y)}},metaTags:w.default,linkTags:k.default,scriptTags:j.default});h=I.priorityMethods,d=I.linkTags,c=I.metaTags,u=I.scriptTags}return{priority:h,base:L(g.BASE,t,i),bodyAttributes:L("bodyAttributes",n,i),htmlAttributes:L("htmlAttributes",r,i),link:L(g.LINK,d,i),meta:L(g.META,c,i),noscript:L(g.NOSCRIPT,o,i),script:L(g.SCRIPT,u,i),style:L(g.STYLE,a,i),title:L(g.TITLE,{title:void 0===l?"":l,titleAttributes:s},i)}},R=[],B=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?R:n.instances},add:function(e){(n.canUseDOM?R:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?R:n.instances).indexOf(e);(n.canUseDOM?R:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=D({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},$=i.createContext({}),F=o().shape({setHelmet:o().func,helmetInstances:o().shape({get:o().func,add:o().func,remove:o().func})}),H=function(e){function t(n){var i;return(i=e.call(this,n)||this).helmetData=new B(i.props.context,t.canUseDOM),i}return p(t,e),t.prototype.render=function(){return i.createElement($.Provider,{value:this.helmetData.value},this.props.children)},t}(i.Component);H.canUseDOM="undefined"!=typeof document,H.propTypes={context:o().shape({helmet:o().shape()}),children:o().node.isRequired},H.defaultProps={context:{}},H.displayName="HelmetProvider";var Z=function(e,t){var n,i=document.head||document.querySelector(g.HEAD),r=i.querySelectorAll(e+"[data-rh]"),o=[].slice.call(r),a=[];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"),o.some(function(e,t){return n=t,i.isEqualNode(e)})?o.splice(n,1):a.push(i)}),o.forEach(function(e){return e.parentNode.removeChild(e)}),a.forEach(function(e){return i.appendChild(e)}),{oldTags:o,newTags:a}},W=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var i=n.getAttribute("data-rh"),r=i?i.split(","):[],o=[].concat(r),a=Object.keys(t),l=0;l=0;u-=1)n.removeAttribute(o[u]);r.length===o.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==a.join(",")&&n.setAttribute("data-rh",a.join(","))}},U=function(e,t){var n,i,r=e.baseTag,o=e.htmlAttributes,a=e.linkTags,l=e.metaTags,s=e.noscriptTags,d=e.onChangeClientState,c=e.scriptTags,u=e.styleTags,h=e.title,p=e.titleAttributes;W(g.BODY,e.bodyAttributes),W(g.HTML,o),n=h,i=p,void 0!==n&&document.title!==n&&(document.title=C(n)),W(g.TITLE,i);var m={baseTag:Z(g.BASE,r),linkTags:Z(g.LINK,a),metaTags:Z(g.META,l),noscriptTags:Z(g.NOSCRIPT,s),scriptTags:Z(g.SCRIPT,c),styleTags:Z(g.STYLE,u)},f={},x={};Object.keys(m).forEach(function(e){var t=m[e],n=t.newTags,i=t.oldTags;n.length&&(f[e]=n),i.length&&(x[e]=m[e].oldTags)}),t&&t(),d(e,f,x)},V=null,q=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 h({},i,((t={})[n.type]=[].concat(i[n.type]||[],[h({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.mapObjectTypeChildren=function(e){var t,n,i=e.child,r=e.newProps,o=e.newChildProps,a=e.nestedChildren;switch(i.type){case g.TITLE:return h({},r,((t={})[i.type]=a,t.titleAttributes=h({},o),t));case g.BODY:return h({},r,{bodyAttributes:h({},o)});case g.HTML:return h({},r,{htmlAttributes:h({},o)});default:return h({},r,((n={})[i.type]=h({},o),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=h({},t);return Object.keys(e).forEach(function(t){var i;n=h({},n,((i={})[t]=e[t],i))}),n},n.warnOnInvalidChildren=function(e,t){return d()(y.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 "+y.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),d()(!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,r={};return i.Children.forEach(e,function(e){if(e&&e.props){var i=e.props,o=i.children,a=f(i,G),l=Object.keys(a).reduce(function(e,t){return e[k[t]||t]=a[t],e},{}),s=e.type;switch("symbol"==typeof s?s=s.toString():n.warnOnInvalidChildren(e,o),s){case g.FRAGMENT:t=n.mapChildrenToProps(o,t);break;case g.LINK:case g.META:case g.NOSCRIPT:case g.SCRIPT:case g.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:l,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:l,nestedChildren:o})}}}),this.mapArrayTypeChildrenToProps(r,t)},n.render=function(){var e=this.props,t=e.children,n=f(e,Y),r=h({},n),o=n.helmetData;return t&&(r=this.mapChildrenToProps(t,r)),!o||o instanceof B||(o=new B(o.context,o.instances)),o?i.createElement(q,h({},r,{context:o.value,helmetData:void 0})):i.createElement($.Consumer,null,function(e){return i.createElement(q,h({},r,{context:e}))})},t}(i.Component);Q.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},Q.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},Q.displayName="Helmet"},2897:function(e,t,n){"use strict";t.lazyWithPreload=void 0;var i,r=n("2363");function o(e){var t,n,i=(0,r.lazy)(e),o=(0,r.forwardRef)(function(e,n){var o=(0,r.useRef)(null!=t?t:i);return(0,r.createElement)(o.current,Object.assign(n?{ref:n}:{},e))});return o.preload=function(){return!n&&(n=e().then(function(e){return t=e.default})),n},o}t.lazyWithPreload=o},8965:function(e,t,n){"use strict";function i(e,t){return -1!==e.listLanguages().indexOf(t)}n.d(t,{Z:function(){return i}})},1414:function(e,t,n){"use strict";n.d(t,{ZP:function(){return c}});var i=n("946"),r=n("9314"),o=n("2363");function a(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 l(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(!s[i]){;s[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 s[i]})(e.filter(function(e){return"token"!==e})).reduce(function(e,t){return l(l({},e),n[t])},t)}(u.className,Object.assign({},u.style,void 0===r?{}:r),n)})}else v=l(l({},u),{},{className:u.className.join(" ")});var j=b(t.children);return o.createElement(p,(0,i.Z)({key:d},v),j)}}},458:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var i=n("3516"),r=n("346"),o=n("9314"),a=n("2363"),l=n("1414"),s=n("8965"),d=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function c(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 u(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:[],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=0;o2&&void 0!==arguments[2]?arguments[2]:[];return t||a.length>0?function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return g({children:e,lineNumber:t,lineNumberStyle:s,largestLineNumber:l,showInlineLineNumbers:o,lineProps:n,className:r,showLineNumbers:i,wrapLongLines:d})}(e,r,a):function(e,t){if(i&&t&&o){var n=f(s,t,l);e.unshift(m(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"],o=i.variable[1].inside,a=0;a]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="clike",t.aliases=[]},7520:function(e){"use strict";function t(e){var t,n,i;n=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,(t=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\\((?:"+n.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+n.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+n.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:n,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:/[(){};:,]/},t.languages.css.atrule.inside.rest=t.languages.css,(i=t.languages.markup)&&(i.tag.addInlined("style","css"),i.tag.addAttribute("style","css"))}e.exports=t,t.displayName="css",t.aliases=[]},3610:function(e){"use strict";function t(e){var t,n;(t=e).languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]},Object.keys(n={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"}).forEach(function(e){var i=n[e],r=[];!/^\w+$/.test(e)&&r.push(/\w+/.exec(e)[0]),"diff"===e&&r.push("bold"),t.languages.diff[e]={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(e)[0]}}}}),Object.defineProperty(t.languages.diff,"PREFIXES",{value:n})}e.exports=t,t.displayName="diff",t.aliases=[]},9551: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"]},7942: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 o(e,t){return RegExp(e=e.replace(//g,function(){return n}).replace(//g,function(){return i}).replace(//g,function(){return r}),t)}r=o(r).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\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:o(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var a=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(a).join(""):""},l=function(t){for(var n=[],i=0;i0&&n[n.length-1].tagName===a(r.content[0].content[1])&&n.pop():"/>"===r.content[r.content.length-1].content||n.push({tagName:a(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--:o=!0),(o||"string"==typeof r)&&n.length>0&&0===n[n.length-1].openedBraces){var s=a(r);i0&&("string"==typeof t[i-1]||"plain-text"===t[i-1].type)&&(s=a(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=[]},9693: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=[]},9463: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}),o=/\|?[ \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+o+"(?:"+r+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+r+o+")(?:"+r+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(i),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+r+")"+o+"$"),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"]},7264: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 o={};o[t]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:r},e.languages.insertBefore("markup","cdata",o)}}),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"]},1337: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=[]},9455:function(e,t,n){"use strict";var i=n("7942"),r=n("3847");function o(e){var t,n,o;e.register(i),e.register(r),n=(t=e).util.clone(t.languages.typescript),t.languages.tsx=t.languages.extend("jsx",n),delete t.languages.tsx.parameter,delete t.languages.tsx["literal-property"],(o=t.languages.tsx.tag).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+o.pattern.source+")",o.pattern.flags),o.lookbehind=!0}e.exports=o,o.displayName="tsx",o.aliases=[]},3847:function(e){"use strict";function t(e){var t,n;(t=e).languages.typescript=t.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/}),t.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 t.languages.typescript.parameter,delete t.languages.typescript["literal-property"],n=t.languages.extend("typescript",{}),delete n["class-name"],t.languages.typescript["class-name"].inside=n,t.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:n}}}}),t.languages.ts=t.languages.typescript}e.exports=t,t.displayName="typescript",t.aliases=["ts"]},4646: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=[]},660: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}),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function a(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+"|"+o+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:a(/\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:a(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:a(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:a(o),lookbehind:!0,greedy:!0},number:{pattern:a(/[+-]?(?: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"]},5241: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 o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(t),s=0;s{let n=e=>e.replace(/\/$/,"").toLowerCase();return(0,l.pV)(n(t.routePath),n(e))}),d=encodeURIComponent(a),c=(null===(r=n.default.__RSPRESS_PAGE_META)||void 0===r?void 0:r[d])||{},{toc:u=[],title:p="",frontmatter:m={},...f}=h.kv.test(t.filePath)?c:n;return{siteData:o.Z,page:{...f,pagePath:a,...s,pageType:(null==m?void 0:m.pageType)||"doc",title:p,frontmatter:m,toc:u}}}return{siteData:o.Z,page:{pagePath:"",pageType:"404",routePath:"/404",lang:o.Z.lang||"",frontmatter:{},title:"404",toc:[],version:"",_filepath:"",_relativePath:""}}}function x(e){let{helmetContext:t}=e,{setData:n,data:i}=(0,u.useContext)(s.R0),o=i.page.frontmatter||{},{pathname:a,search:h}=(0,d.TH)(),f=new URLSearchParams(h),x="globalUIComponents",v=!1===o[x]||"0"===f.get(x);return(0,u.useLayoutEffect)(()=>{(async function e(){try{let e=await g((0,l.Tm)(a));n(e)}catch(e){console.log(e)}})()},[a,n]),(0,r.jsxs)(c.B6,{context:t,children:[(0,r.jsx)(m.ZP.Layout,{}),!v&&p.Z.map((e,t)=>{if(Array.isArray(e)){let[n,i]=e;return u.createElement(n,{key:t,...i})}return u.createElement(e,{key:t})})]})}},6411:function(e,t,n){"use strict";var i=n("9980"),r=n("2363"),o=n("2855"),a=n("3328"),l=n("2688"),s=n("1812"),d=n("5383"),c=n("2493");let u=a.Z.ssg,{default:h,useThemeState:p}=n("2919");(async function e(){let e=document.getElementById("root"),t=async()=>{let e=await (0,c.$X)((0,l.Tm)(window.location.pathname));return function(){let[t,n]=(0,r.useState)(e),[o,a]=p();return(0,i.jsx)(s.Ni.Provider,{value:(0,r.useMemo)(()=>({theme:o,setTheme:a}),[o,a]),children:(0,i.jsx)(s.R0.Provider,{value:(0,r.useMemo)(()=>({data:t,setData:n}),[t,n]),children:(0,i.jsx)(d.VK,{children:(0,i.jsx)(c.gV,{})})})})}},a=await t();{let{createRoot:t,hydrateRoot:r}=n("417");(0,o.yv)()&&u?r(e,(0,i.jsx)(a,{})):t(e).render((0,i.jsx)(a,{}))}})().then(()=>{h.setup()})},7974:function(e,t,n){"use strict";n.d(t,{AV:function(){return i.AV},Ar:function(){return i.Ar},BZ:function(){return i.BZ},CF:function(){return i.CF},CU:function(){return i.CU},Ct:function(){return i.Ct},EG:function(){return i.EG},JL:function(){return i.JL},KO:function(){return i.KO},M4:function(){return i.M4},NG:function(){return i.NG},O9:function(){return i.O9},OK:function(){return i.OK},Os:function(){return i.Os},Qe:function(){return i.Qe},Qn:function(){return i.Qn},RY:function(){return i.RY},Rg:function(){return i.Rg},SU:function(){return i.SU},TJ:function(){return i.TJ},UQ:function(){return i.UQ},VA:function(){return i.VA},Vl:function(){return i.Vl},Vp:function(){return i.Vp},WG:function(){return i.WG},WS:function(){return i.WS},YE:function(){return i.YE},YS:function(){return i.YS},ZB:function(){return i.ZB},ZP:function(){return i.ZP},cY:function(){return i.cY},eE:function(){return i.eE},eF:function(){return i.eF},g2:function(){return i.g2},ls:function(){return i.ls},mQ:function(){return i.mQ},mi:function(){return i.mi},of:function(){return i.of},ol:function(){return i.ol},pU:function(){return i.pU},qx:function(){return i.qx},rU:function(){return i.rU},s2:function(){return i.s2},tx:function(){return i.tx},xB:function(){return i.xB},xK:function(){return i.xK},xN:function(){return i.xN},y2:function(){return i.y2},zh:function(){return i.zh},zx:function(){return i.zx}});var i=n("1895")},8951:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n("8319"),r=n("366"),o=n("2363");function a(e){let{pathname:t}=(0,i.TH)(),{selector:n=".rspress-doc img",options:a={}}=e;return(0,o.useEffect)(()=>{let e;let t=setTimeout(()=>{let t=document.querySelectorAll(n);e=(0,r.Z)(t,{...a,background:"var(--rp-c-bg)"})},100);return()=>{clearTimeout(t),null==e||e.detach(),null==e||e.close()}},[t]),null}n("8097")},8958:function(e,t,n){"use strict";n.d(t,{AV:function(){return i.AV},Ar:function(){return i.Ar},BZ:function(){return i.BZ},CF:function(){return i.CF},CU:function(){return i.CU},Ct:function(){return i.Ct},EG:function(){return i.EG},JL:function(){return i.JL},KO:function(){return i.KO},M4:function(){return i.M4},NG:function(){return i.NG},O9:function(){return i.O9},OK:function(){return i.OK},Os:function(){return i.Os},Qe:function(){return i.Qe},Qn:function(){return i.Qn},RY:function(){return i.RY},Rg:function(){return i.Rg},SU:function(){return i.SU},TJ:function(){return i.TJ},UQ:function(){return i.UQ},VA:function(){return i.VA},Vl:function(){return i.Vl},Vp:function(){return i.Vp},WG:function(){return i.WG},WS:function(){return i.WS},YE:function(){return i.YE},YS:function(){return i.YS},ZB:function(){return i.ZB},ZP:function(){return i.ZP},cY:function(){return i.cY},eE:function(){return i.eE},eF:function(){return i.eF},g2:function(){return i.g2},ls:function(){return i.ls},mQ:function(){return i.mQ},mi:function(){return i.mi},of:function(){return i.of},ol:function(){return i.ol},pU:function(){return i.pU},qx:function(){return i.qx},rU:function(){return i.rU},s2:function(){return i.s2},tx:function(){return i.tx},xB:function(){return i.xB},xK:function(){return i.xK},xN:function(){return i.xN},y2:function(){return i.y2},zh:function(){return i.zh},zx:function(){return i.zx}});var i=n("7974")},9915:function(e,t,n){"use strict";var i=n("8951");t.Z=[[i.Z,{}]]},4345:function(e,t,n){"use strict";n("817")},6288:function(e,t,n){"use strict";var i=n("8450"),r=n("8036"),o=n("5009"),a=n("9611"),l=n("1143"),s=n("1088"),d=n("9648"),c=n("4744"),u=n("2417"),h=n("1691"),p=n("9027"),m=n("5646");t.Z={js:i.Z,ts:r.Z,jsx:o.Z,tsx:o.Z,json:a.Z,css:l.Z,scss:s.Z,less:d.Z,xml:c.Z,diff:u.Z,yaml:h.Z,md:p.Z,mdx:o.Z,bash:m.Z}},9593:function(e,t,n){"use strict";n.r(t),n.d(t,{routes:function(){return eZ}});var i=n("2363"),r=n("2897");let o=(0,r.lazyWithPreload)(()=>n.e("7947").then(n.bind(n,"1699"))),a=(0,r.lazyWithPreload)(()=>n.e("7664").then(n.bind(n,"5048"))),l=(0,r.lazyWithPreload)(()=>n.e("270").then(n.bind(n,"9198"))),s=(0,r.lazyWithPreload)(()=>n.e("7565").then(n.bind(n,"5511"))),d=(0,r.lazyWithPreload)(()=>n.e("330").then(n.bind(n,"9324"))),c=(0,r.lazyWithPreload)(()=>n.e("4523").then(n.bind(n,"712"))),u=(0,r.lazyWithPreload)(()=>n.e("2814").then(n.bind(n,"5783"))),h=(0,r.lazyWithPreload)(()=>n.e("4887").then(n.bind(n,"9845"))),p=(0,r.lazyWithPreload)(()=>n.e("2551").then(n.bind(n,"2576"))),m=(0,r.lazyWithPreload)(()=>n.e("5305").then(n.bind(n,"5407"))),f=(0,r.lazyWithPreload)(()=>n.e("9549").then(n.bind(n,"4878"))),g=(0,r.lazyWithPreload)(()=>n.e("6201").then(n.bind(n,"728"))),x=(0,r.lazyWithPreload)(()=>n.e("4344").then(n.bind(n,"6795"))),v=(0,r.lazyWithPreload)(()=>n.e("6800").then(n.bind(n,"8182"))),b=(0,r.lazyWithPreload)(()=>n.e("6658").then(n.bind(n,"5722"))),y=(0,r.lazyWithPreload)(()=>n.e("8612").then(n.bind(n,"9959"))),w=(0,r.lazyWithPreload)(()=>n.e("3104").then(n.bind(n,"2397"))),k=(0,r.lazyWithPreload)(()=>n.e("6573").then(n.bind(n,"6850"))),j=(0,r.lazyWithPreload)(()=>n.e("7334").then(n.bind(n,"7705"))),I=(0,r.lazyWithPreload)(()=>n.e("737").then(n.bind(n,"72"))),P=(0,r.lazyWithPreload)(()=>n.e("7287").then(n.bind(n,"2632"))),S=(0,r.lazyWithPreload)(()=>n.e("8409").then(n.bind(n,"6939"))),E=(0,r.lazyWithPreload)(()=>n.e("972").then(n.bind(n,"9032"))),C=(0,r.lazyWithPreload)(()=>n.e("2259").then(n.bind(n,"9592"))),N=(0,r.lazyWithPreload)(()=>n.e("8058").then(n.bind(n,"5227"))),z=(0,r.lazyWithPreload)(()=>n.e("7929").then(n.bind(n,"9234"))),_=(0,r.lazyWithPreload)(()=>n.e("8975").then(n.bind(n,"726"))),A=(0,r.lazyWithPreload)(()=>n.e("2913").then(n.bind(n,"3566"))),T=(0,r.lazyWithPreload)(()=>n.e("803").then(n.bind(n,"1048"))),O=(0,r.lazyWithPreload)(()=>n.e("1005").then(n.bind(n,"5947"))),M=(0,r.lazyWithPreload)(()=>n.e("8746").then(n.bind(n,"4378"))),L=(0,r.lazyWithPreload)(()=>n.e("1819").then(n.bind(n,"6290"))),D=(0,r.lazyWithPreload)(()=>n.e("4306").then(n.bind(n,"8041"))),R=(0,r.lazyWithPreload)(()=>n.e("6167").then(n.bind(n,"8571"))),B=(0,r.lazyWithPreload)(()=>n.e("6566").then(n.bind(n,"1517"))),$=(0,r.lazyWithPreload)(()=>n.e("8571").then(n.bind(n,"8029"))),F=(0,r.lazyWithPreload)(()=>n.e("2263").then(n.bind(n,"3855"))),H=(0,r.lazyWithPreload)(()=>n.e("1867").then(n.bind(n,"5572"))),Z=(0,r.lazyWithPreload)(()=>n.e("6512").then(n.bind(n,"1919"))),W=(0,r.lazyWithPreload)(()=>n.e("3969").then(n.bind(n,"9641"))),U=(0,r.lazyWithPreload)(()=>n.e("8741").then(n.bind(n,"7880"))),V=(0,r.lazyWithPreload)(()=>n.e("8528").then(n.bind(n,"1458"))),q=(0,r.lazyWithPreload)(()=>n.e("8914").then(n.bind(n,"399"))),G=(0,r.lazyWithPreload)(()=>n.e("9931").then(n.bind(n,"5719"))),Y=(0,r.lazyWithPreload)(()=>n.e("6051").then(n.bind(n,"3692"))),Q=(0,r.lazyWithPreload)(()=>n.e("1563").then(n.bind(n,"9875"))),K=(0,r.lazyWithPreload)(()=>n.e("1684").then(n.bind(n,"2584"))),J=(0,r.lazyWithPreload)(()=>n.e("4607").then(n.bind(n,"5543"))),X=(0,r.lazyWithPreload)(()=>n.e("62").then(n.bind(n,"7503"))),ee=(0,r.lazyWithPreload)(()=>n.e("3535").then(n.bind(n,"1485"))),et=(0,r.lazyWithPreload)(()=>n.e("8067").then(n.bind(n,"6498"))),en=(0,r.lazyWithPreload)(()=>n.e("4575").then(n.bind(n,"5466"))),ei=(0,r.lazyWithPreload)(()=>n.e("9475").then(n.bind(n,"8747"))),er=(0,r.lazyWithPreload)(()=>n.e("7426").then(n.bind(n,"3757"))),eo=(0,r.lazyWithPreload)(()=>n.e("7115").then(n.bind(n,"1882"))),ea=(0,r.lazyWithPreload)(()=>n.e("7698").then(n.bind(n,"7904"))),el=(0,r.lazyWithPreload)(()=>n.e("958").then(n.bind(n,"2978"))),es=(0,r.lazyWithPreload)(()=>n.e("8580").then(n.bind(n,"5612"))),ed=(0,r.lazyWithPreload)(()=>n.e("538").then(n.bind(n,"9130"))),ec=(0,r.lazyWithPreload)(()=>n.e("1800").then(n.bind(n,"5293"))),eu=(0,r.lazyWithPreload)(()=>n.e("3635").then(n.bind(n,"2076"))),eh=(0,r.lazyWithPreload)(()=>n.e("9460").then(n.bind(n,"2966"))),ep=(0,r.lazyWithPreload)(()=>n.e("4699").then(n.bind(n,"5449"))),em=(0,r.lazyWithPreload)(()=>n.e("131").then(n.bind(n,"7321"))),ef=(0,r.lazyWithPreload)(()=>n.e("4131").then(n.bind(n,"9990"))),eg=(0,r.lazyWithPreload)(()=>n.e("310").then(n.bind(n,"1003"))),ex=(0,r.lazyWithPreload)(()=>n.e("9176").then(n.bind(n,"8393"))),ev=(0,r.lazyWithPreload)(()=>n.e("1310").then(n.bind(n,"8970"))),eb=(0,r.lazyWithPreload)(()=>n.e("4191").then(n.bind(n,"894"))),ey=(0,r.lazyWithPreload)(()=>n.e("2414").then(n.bind(n,"4069"))),ew=(0,r.lazyWithPreload)(()=>n.e("9697").then(n.bind(n,"5892"))),ek=(0,r.lazyWithPreload)(()=>n.e("7534").then(n.bind(n,"5130"))),ej=(0,r.lazyWithPreload)(()=>n.e("3937").then(n.bind(n,"4266"))),eI=(0,r.lazyWithPreload)(()=>n.e("5269").then(n.bind(n,"4605"))),eP=(0,r.lazyWithPreload)(()=>n.e("9016").then(n.bind(n,"934"))),eS=(0,r.lazyWithPreload)(()=>n.e("187").then(n.bind(n,"5884"))),eE=(0,r.lazyWithPreload)(()=>n.e("6275").then(n.bind(n,"4075"))),eC=(0,r.lazyWithPreload)(()=>n.e("5898").then(n.bind(n,"9168"))),eN=(0,r.lazyWithPreload)(()=>n.e("9675").then(n.bind(n,"4257"))),ez=(0,r.lazyWithPreload)(()=>n.e("705").then(n.bind(n,"7530"))),e_=(0,r.lazyWithPreload)(()=>n.e("7782").then(n.bind(n,"5840"))),eA=(0,r.lazyWithPreload)(()=>n.e("1166").then(n.bind(n,"6869"))),eT=(0,r.lazyWithPreload)(()=>n.e("1297").then(n.bind(n,"380"))),eO=(0,r.lazyWithPreload)(()=>n.e("19").then(n.bind(n,"4132"))),eM=(0,r.lazyWithPreload)(()=>n.e("1877").then(n.bind(n,"85"))),eL=(0,r.lazyWithPreload)(()=>n.e("8269").then(n.bind(n,"7482"))),eD=(0,r.lazyWithPreload)(()=>n.e("4764").then(n.bind(n,"3889"))),eR=(0,r.lazyWithPreload)(()=>n.e("347").then(n.bind(n,"9602"))),eB=(0,r.lazyWithPreload)(()=>n.e("1600").then(n.bind(n,"6166"))),e$=(0,r.lazyWithPreload)(()=>n.e("1711").then(n.bind(n,"1696"))),eF=(0,r.lazyWithPreload)(()=>n.e("8104").then(n.bind(n,"1456"))),eH=(0,r.lazyWithPreload)(()=>n.e("1960").then(n.bind(n,"5351"))),eZ=[{path:"/module-tools/en/api/config/build-config",element:i.createElement(o),filePath:"en/api/config/build-config.mdx",preload:async()=>(await o.preload(),n.e("7947").then(n.bind(n,"1699"))),lang:"en",version:""},{path:"/module-tools/en/api/config/build-preset",element:i.createElement(a),filePath:"en/api/config/build-preset.mdx",preload:async()=>(await a.preload(),n.e("7664").then(n.bind(n,"5048"))),lang:"en",version:""},{path:"/module-tools/en/api/config/dev",element:i.createElement(l),filePath:"en/api/config/dev.md",preload:async()=>(await l.preload(),n.e("270").then(n.bind(n,"9198"))),lang:"en",version:""},{path:"/module-tools/en/api/config/plugins",element:i.createElement(s),filePath:"en/api/config/plugins.md",preload:async()=>(await s.preload(),n.e("7565").then(n.bind(n,"5511"))),lang:"en",version:""},{path:"/module-tools/en/api/",element:i.createElement(d),filePath:"en/api/index.md",preload:async()=>(await d.preload(),n.e("330").then(n.bind(n,"9324"))),lang:"en",version:""},{path:"/module-tools/en/api/plugin-api/plugin-hooks",element:i.createElement(c),filePath:"en/api/plugin-api/plugin-hooks.md",preload:async()=>(await c.preload(),n.e("4523").then(n.bind(n,"712"))),lang:"en",version:""},{path:"/module-tools/en/components/faq-build-exception",element:i.createElement(u),filePath:"en/components/faq-build-exception.mdx",preload:async()=>(await u.preload(),n.e("2814").then(n.bind(n,"5783"))),lang:"en",version:""},{path:"/module-tools/en/components/faq-build-other",element:i.createElement(h),filePath:"en/components/faq-build-other.mdx",preload:async()=>(await h.preload(),n.e("4887").then(n.bind(n,"9845"))),lang:"en",version:""},{path:"/module-tools/en/components/faq-build-product",element:i.createElement(p),filePath:"en/components/faq-build-product.mdx",preload:async()=>(await p.preload(),n.e("2551").then(n.bind(n,"2576"))),lang:"en",version:""},{path:"/module-tools/en/components/faq-storybook",element:i.createElement(m),filePath:"en/components/faq-storybook.mdx",preload:async()=>(await m.preload(),n.e("5305").then(n.bind(n,"5407"))),lang:"en",version:""},{path:"/module-tools/en/components/publish-emo",element:i.createElement(f),filePath:"en/components/publish-emo.mdx",preload:async()=>(await f.preload(),n.e("9549").then(n.bind(n,"4878"))),lang:"en",version:""},{path:"/module-tools/en/components/register-esbuild-plugin",element:i.createElement(g),filePath:"en/components/register-esbuild-plugin.mdx",preload:async()=>(await g.preload(),n.e("6201").then(n.bind(n,"728"))),lang:"en",version:""},{path:"/module-tools/en/components/release-module-doc",element:i.createElement(x),filePath:"en/components/release-module-doc.mdx",preload:async()=>(await x.preload(),n.e("4344").then(n.bind(n,"6795"))),lang:"en",version:""},{path:"/module-tools/en/guide/advance/asset",element:i.createElement(v),filePath:"en/guide/advance/asset.mdx",preload:async()=>(await v.preload(),n.e("6800").then(n.bind(n,"8182"))),lang:"en",version:""},{path:"/module-tools/en/guide/advance/build-umd",element:i.createElement(b),filePath:"en/guide/advance/build-umd.mdx",preload:async()=>(await b.preload(),n.e("6658").then(n.bind(n,"5722"))),lang:"en",version:""},{path:"/module-tools/en/guide/advance/copy",element:i.createElement(y),filePath:"en/guide/advance/copy.md",preload:async()=>(await y.preload(),n.e("8612").then(n.bind(n,"9959"))),lang:"en",version:""},{path:"/module-tools/en/guide/advance/external-dependency",element:i.createElement(w),filePath:"en/guide/advance/external-dependency.mdx",preload:async()=>(await w.preload(),n.e("3104").then(n.bind(n,"2397"))),lang:"en",version:""},{path:"/module-tools/en/guide/advance/in-depth-about-build",element:i.createElement(k),filePath:"en/guide/advance/in-depth-about-build.md",preload:async()=>(await k.preload(),n.e("6573").then(n.bind(n,"6850"))),lang:"en",version:""},{path:"/module-tools/en/guide/advance/in-depth-about-dev-command",element:i.createElement(j),filePath:"en/guide/advance/in-depth-about-dev-command.md",preload:async()=>(await j.preload(),n.e("7334").then(n.bind(n,"7705"))),lang:"en",version:""},{path:"/module-tools/en/guide/basic/before-getting-started",element:i.createElement(I),filePath:"en/guide/basic/before-getting-started.md",preload:async()=>(await I.preload(),n.e("737").then(n.bind(n,"72"))),lang:"en",version:""},{path:"/module-tools/en/guide/basic/command-preview",element:i.createElement(P),filePath:"en/guide/basic/command-preview.md",preload:async()=>(await P.preload(),n.e("7287").then(n.bind(n,"2632"))),lang:"en",version:""},{path:"/module-tools/en/guide/basic/modify-output-product",element:i.createElement(S),filePath:"en/guide/basic/modify-output-product.md",preload:async()=>(await S.preload(),n.e("8409").then(n.bind(n,"6939"))),lang:"en",version:""},{path:"/module-tools/en/guide/basic/publish-your-project",element:i.createElement(E),filePath:"en/guide/basic/publish-your-project.mdx",preload:async()=>(await E.preload(),n.e("972").then(n.bind(n,"9032"))),lang:"en",version:""},{path:"/module-tools/en/guide/basic/use-micro-generator",element:i.createElement(C),filePath:"en/guide/basic/use-micro-generator.md",preload:async()=>(await C.preload(),n.e("2259").then(n.bind(n,"9592"))),lang:"en",version:""},{path:"/module-tools/en/guide/basic/use-module-doc",element:i.createElement(N),filePath:"en/guide/basic/use-module-doc.mdx",preload:async()=>(await N.preload(),n.e("8058").then(n.bind(n,"5227"))),lang:"en",version:""},{path:"/module-tools/en/guide/basic/using-storybook",element:i.createElement(z),filePath:"en/guide/basic/using-storybook.mdx",preload:async()=>(await z.preload(),n.e("7929").then(n.bind(n,"9234"))),lang:"en",version:""},{path:"/module-tools/en/guide/best-practices/components",element:i.createElement(_),filePath:"en/guide/best-practices/components.mdx",preload:async()=>(await _.preload(),n.e("8975").then(n.bind(n,"726"))),lang:"en",version:""},{path:"/module-tools/en/guide/best-practices/use-tailwindcss",element:i.createElement(A),filePath:"en/guide/best-practices/use-tailwindcss.mdx",preload:async()=>(await A.preload(),n.e("2913").then(n.bind(n,"3566"))),lang:"en",version:""},{path:"/module-tools/en/guide/faq/basic",element:i.createElement(T),filePath:"en/guide/faq/basic.mdx",preload:async()=>(await T.preload(),n.e("803").then(n.bind(n,"1048"))),lang:"en",version:""},{path:"/module-tools/en/guide/faq/build",element:i.createElement(O),filePath:"en/guide/faq/build.mdx",preload:async()=>(await O.preload(),n.e("1005").then(n.bind(n,"5947"))),lang:"en",version:""},{path:"/module-tools/en/guide/faq/",element:i.createElement(M),filePath:"en/guide/faq/index.md",preload:async()=>(await M.preload(),n.e("8746").then(n.bind(n,"4378"))),lang:"en",version:""},{path:"/module-tools/en/guide/faq/storybook",element:i.createElement(L),filePath:"en/guide/faq/storybook.mdx",preload:async()=>(await L.preload(),n.e("1819").then(n.bind(n,"6290"))),lang:"en",version:""},{path:"/module-tools/en/guide/intro/getting-started",element:i.createElement(D),filePath:"en/guide/intro/getting-started.mdx",preload:async()=>(await D.preload(),n.e("4306").then(n.bind(n,"8041"))),lang:"en",version:""},{path:"/module-tools/en/guide/intro/welcome",element:i.createElement(R),filePath:"en/guide/intro/welcome.md",preload:async()=>(await R.preload(),n.e("6167").then(n.bind(n,"8571"))),lang:"en",version:""},{path:"/module-tools/en/guide/intro/why-module-engineering-solution",element:i.createElement(B),filePath:"en/guide/intro/why-module-engineering-solution.md",preload:async()=>(await B.preload(),n.e("6566").then(n.bind(n,"1517"))),lang:"en",version:""},{path:"/module-tools/en/",element:i.createElement($),filePath:"en/index.md",preload:async()=>(await $.preload(),n.e("8571").then(n.bind(n,"8029"))),lang:"en",version:""},{path:"/module-tools/en/plugins/guide/getting-started",element:i.createElement(F),filePath:"en/plugins/guide/getting-started.mdx",preload:async()=>(await F.preload(),n.e("2263").then(n.bind(n,"3855"))),lang:"en",version:""},{path:"/module-tools/en/plugins/guide/plugin-object",element:i.createElement(H),filePath:"en/plugins/guide/plugin-object.mdx",preload:async()=>(await H.preload(),n.e("1867").then(n.bind(n,"5572"))),lang:"en",version:""},{path:"/module-tools/en/plugins/guide/setup-function",element:i.createElement(Z),filePath:"en/plugins/guide/setup-function.mdx",preload:async()=>(await Z.preload(),n.e("6512").then(n.bind(n,"1919"))),lang:"en",version:""},{path:"/module-tools/en/plugins/official-list/overview",element:i.createElement(W),filePath:"en/plugins/official-list/overview.md",preload:async()=>(await W.preload(),n.e("3969").then(n.bind(n,"9641"))),lang:"en",version:""},{path:"/module-tools/en/plugins/official-list/plugin-babel",element:i.createElement(U),filePath:"en/plugins/official-list/plugin-babel.mdx",preload:async()=>(await U.preload(),n.e("8741").then(n.bind(n,"7880"))),lang:"en",version:""},{path:"/module-tools/en/plugins/official-list/plugin-banner",element:i.createElement(V),filePath:"en/plugins/official-list/plugin-banner.mdx",preload:async()=>(await V.preload(),n.e("8528").then(n.bind(n,"1458"))),lang:"en",version:""},{path:"/module-tools/en/plugins/official-list/plugin-import",element:i.createElement(q),filePath:"en/plugins/official-list/plugin-import.mdx",preload:async()=>(await q.preload(),n.e("8914").then(n.bind(n,"399"))),lang:"en",version:""},{path:"/module-tools/en/plugins/official-list/plugin-node-polyfill",element:i.createElement(G),filePath:"en/plugins/official-list/plugin-node-polyfill.mdx",preload:async()=>(await G.preload(),n.e("9931").then(n.bind(n,"5719"))),lang:"en",version:""},{path:"/module-tools/en/plugins/official-list/plugin-polyfill",element:i.createElement(Y),filePath:"en/plugins/official-list/plugin-polyfill.mdx",preload:async()=>(await Y.preload(),n.e("6051").then(n.bind(n,"3692"))),lang:"en",version:""},{path:"/module-tools/en/plugins/official-list/plugin-vue",element:i.createElement(Q),filePath:"en/plugins/official-list/plugin-vue.mdx",preload:async()=>(await Q.preload(),n.e("1563").then(n.bind(n,"9875"))),lang:"en",version:""},{path:"/module-tools/api/config/build-config",element:i.createElement(K),filePath:"zh/api/config/build-config.mdx",preload:async()=>(await K.preload(),n.e("1684").then(n.bind(n,"2584"))),lang:"zh",version:""},{path:"/module-tools/api/config/build-preset",element:i.createElement(J),filePath:"zh/api/config/build-preset.mdx",preload:async()=>(await J.preload(),n.e("4607").then(n.bind(n,"5543"))),lang:"zh",version:""},{path:"/module-tools/api/config/dev",element:i.createElement(X),filePath:"zh/api/config/dev.md",preload:async()=>(await X.preload(),n.e("62").then(n.bind(n,"7503"))),lang:"zh",version:""},{path:"/module-tools/api/config/plugins",element:i.createElement(ee),filePath:"zh/api/config/plugins.md",preload:async()=>(await ee.preload(),n.e("3535").then(n.bind(n,"1485"))),lang:"zh",version:""},{path:"/module-tools/api/",element:i.createElement(et),filePath:"zh/api/index.md",preload:async()=>(await et.preload(),n.e("8067").then(n.bind(n,"6498"))),lang:"zh",version:""},{path:"/module-tools/api/plugin-api/plugin-hooks",element:i.createElement(en),filePath:"zh/api/plugin-api/plugin-hooks.md",preload:async()=>(await en.preload(),n.e("4575").then(n.bind(n,"5466"))),lang:"zh",version:""},{path:"/module-tools/components/faq-build-exception",element:i.createElement(ei),filePath:"zh/components/faq-build-exception.mdx",preload:async()=>(await ei.preload(),n.e("9475").then(n.bind(n,"8747"))),lang:"zh",version:""},{path:"/module-tools/components/faq-build-other",element:i.createElement(er),filePath:"zh/components/faq-build-other.mdx",preload:async()=>(await er.preload(),n.e("7426").then(n.bind(n,"3757"))),lang:"zh",version:""},{path:"/module-tools/components/faq-build-product",element:i.createElement(eo),filePath:"zh/components/faq-build-product.mdx",preload:async()=>(await eo.preload(),n.e("7115").then(n.bind(n,"1882"))),lang:"zh",version:""},{path:"/module-tools/components/faq-storybook",element:i.createElement(ea),filePath:"zh/components/faq-storybook.mdx",preload:async()=>(await ea.preload(),n.e("7698").then(n.bind(n,"7904"))),lang:"zh",version:""},{path:"/module-tools/components/publish-emo",element:i.createElement(el),filePath:"zh/components/publish-emo.mdx",preload:async()=>(await el.preload(),n.e("958").then(n.bind(n,"2978"))),lang:"zh",version:""},{path:"/module-tools/components/register-esbuild-plugin",element:i.createElement(es),filePath:"zh/components/register-esbuild-plugin.mdx",preload:async()=>(await es.preload(),n.e("8580").then(n.bind(n,"5612"))),lang:"zh",version:""},{path:"/module-tools/components/release-module-doc",element:i.createElement(ed),filePath:"zh/components/release-module-doc.mdx",preload:async()=>(await ed.preload(),n.e("538").then(n.bind(n,"9130"))),lang:"zh",version:""},{path:"/module-tools/guide/advance/asset",element:i.createElement(ec),filePath:"zh/guide/advance/asset.mdx",preload:async()=>(await ec.preload(),n.e("1800").then(n.bind(n,"5293"))),lang:"zh",version:""},{path:"/module-tools/guide/advance/build-umd",element:i.createElement(eu),filePath:"zh/guide/advance/build-umd.mdx",preload:async()=>(await eu.preload(),n.e("3635").then(n.bind(n,"2076"))),lang:"zh",version:""},{path:"/module-tools/guide/advance/copy",element:i.createElement(eh),filePath:"zh/guide/advance/copy.md",preload:async()=>(await eh.preload(),n.e("9460").then(n.bind(n,"2966"))),lang:"zh",version:""},{path:"/module-tools/guide/advance/external-dependency",element:i.createElement(ep),filePath:"zh/guide/advance/external-dependency.mdx",preload:async()=>(await ep.preload(),n.e("4699").then(n.bind(n,"5449"))),lang:"zh",version:""},{path:"/module-tools/guide/advance/in-depth-about-build",element:i.createElement(em),filePath:"zh/guide/advance/in-depth-about-build.md",preload:async()=>(await em.preload(),n.e("131").then(n.bind(n,"7321"))),lang:"zh",version:""},{path:"/module-tools/guide/advance/in-depth-about-dev-command",element:i.createElement(ef),filePath:"zh/guide/advance/in-depth-about-dev-command.md",preload:async()=>(await ef.preload(),n.e("4131").then(n.bind(n,"9990"))),lang:"zh",version:""},{path:"/module-tools/guide/basic/before-getting-started",element:i.createElement(eg),filePath:"zh/guide/basic/before-getting-started.md",preload:async()=>(await eg.preload(),n.e("310").then(n.bind(n,"1003"))),lang:"zh",version:""},{path:"/module-tools/guide/basic/command-preview",element:i.createElement(ex),filePath:"zh/guide/basic/command-preview.md",preload:async()=>(await ex.preload(),n.e("9176").then(n.bind(n,"8393"))),lang:"zh",version:""},{path:"/module-tools/guide/basic/modify-output-product",element:i.createElement(ev),filePath:"zh/guide/basic/modify-output-product.md",preload:async()=>(await ev.preload(),n.e("1310").then(n.bind(n,"8970"))),lang:"zh",version:""},{path:"/module-tools/guide/basic/publish-your-project",element:i.createElement(eb),filePath:"zh/guide/basic/publish-your-project.mdx",preload:async()=>(await eb.preload(),n.e("4191").then(n.bind(n,"894"))),lang:"zh",version:""},{path:"/module-tools/guide/basic/use-micro-generator",element:i.createElement(ey),filePath:"zh/guide/basic/use-micro-generator.md",preload:async()=>(await ey.preload(),n.e("2414").then(n.bind(n,"4069"))),lang:"zh",version:""},{path:"/module-tools/guide/basic/use-module-doc",element:i.createElement(ew),filePath:"zh/guide/basic/use-module-doc.mdx",preload:async()=>(await ew.preload(),n.e("9697").then(n.bind(n,"5892"))),lang:"zh",version:""},{path:"/module-tools/guide/basic/using-storybook",element:i.createElement(ek),filePath:"zh/guide/basic/using-storybook.mdx",preload:async()=>(await ek.preload(),n.e("7534").then(n.bind(n,"5130"))),lang:"zh",version:""},{path:"/module-tools/guide/best-practices/components",element:i.createElement(ej),filePath:"zh/guide/best-practices/components.mdx",preload:async()=>(await ej.preload(),n.e("3937").then(n.bind(n,"4266"))),lang:"zh",version:""},{path:"/module-tools/guide/best-practices/use-tailwindcss",element:i.createElement(eI),filePath:"zh/guide/best-practices/use-tailwindcss.mdx",preload:async()=>(await eI.preload(),n.e("5269").then(n.bind(n,"4605"))),lang:"zh",version:""},{path:"/module-tools/guide/faq/basic",element:i.createElement(eP),filePath:"zh/guide/faq/basic.mdx",preload:async()=>(await eP.preload(),n.e("9016").then(n.bind(n,"934"))),lang:"zh",version:""},{path:"/module-tools/guide/faq/build",element:i.createElement(eS),filePath:"zh/guide/faq/build.mdx",preload:async()=>(await eS.preload(),n.e("187").then(n.bind(n,"5884"))),lang:"zh",version:""},{path:"/module-tools/guide/faq/",element:i.createElement(eE),filePath:"zh/guide/faq/index.md",preload:async()=>(await eE.preload(),n.e("6275").then(n.bind(n,"4075"))),lang:"zh",version:""},{path:"/module-tools/guide/faq/storybook",element:i.createElement(eC),filePath:"zh/guide/faq/storybook.mdx",preload:async()=>(await eC.preload(),n.e("5898").then(n.bind(n,"9168"))),lang:"zh",version:""},{path:"/module-tools/guide/intro/getting-started",element:i.createElement(eN),filePath:"zh/guide/intro/getting-started.mdx",preload:async()=>(await eN.preload(),n.e("9675").then(n.bind(n,"4257"))),lang:"zh",version:""},{path:"/module-tools/guide/intro/welcome",element:i.createElement(ez),filePath:"zh/guide/intro/welcome.md",preload:async()=>(await ez.preload(),n.e("705").then(n.bind(n,"7530"))),lang:"zh",version:""},{path:"/module-tools/guide/intro/why-module-engineering-solution",element:i.createElement(e_),filePath:"zh/guide/intro/why-module-engineering-solution.md",preload:async()=>(await e_.preload(),n.e("7782").then(n.bind(n,"5840"))),lang:"zh",version:""},{path:"/module-tools/",element:i.createElement(eA),filePath:"zh/index.md",preload:async()=>(await eA.preload(),n.e("1166").then(n.bind(n,"6869"))),lang:"zh",version:""},{path:"/module-tools/plugins/guide/getting-started",element:i.createElement(eT),filePath:"zh/plugins/guide/getting-started.mdx",preload:async()=>(await eT.preload(),n.e("1297").then(n.bind(n,"380"))),lang:"zh",version:""},{path:"/module-tools/plugins/guide/plugin-object",element:i.createElement(eO),filePath:"zh/plugins/guide/plugin-object.mdx",preload:async()=>(await eO.preload(),n.e("19").then(n.bind(n,"4132"))),lang:"zh",version:""},{path:"/module-tools/plugins/guide/setup-function",element:i.createElement(eM),filePath:"zh/plugins/guide/setup-function.mdx",preload:async()=>(await eM.preload(),n.e("1877").then(n.bind(n,"85"))),lang:"zh",version:""},{path:"/module-tools/plugins/official-list/overview",element:i.createElement(eL),filePath:"zh/plugins/official-list/overview.md",preload:async()=>(await eL.preload(),n.e("8269").then(n.bind(n,"7482"))),lang:"zh",version:""},{path:"/module-tools/plugins/official-list/plugin-babel",element:i.createElement(eD),filePath:"zh/plugins/official-list/plugin-babel.mdx",preload:async()=>(await eD.preload(),n.e("4764").then(n.bind(n,"3889"))),lang:"zh",version:""},{path:"/module-tools/plugins/official-list/plugin-banner",element:i.createElement(eR),filePath:"zh/plugins/official-list/plugin-banner.mdx",preload:async()=>(await eR.preload(),n.e("347").then(n.bind(n,"9602"))),lang:"zh",version:""},{path:"/module-tools/plugins/official-list/plugin-import",element:i.createElement(eB),filePath:"zh/plugins/official-list/plugin-import.mdx",preload:async()=>(await eB.preload(),n.e("1600").then(n.bind(n,"6166"))),lang:"zh",version:""},{path:"/module-tools/plugins/official-list/plugin-node-polyfill",element:i.createElement(e$),filePath:"zh/plugins/official-list/plugin-node-polyfill.mdx",preload:async()=>(await e$.preload(),n.e("1711").then(n.bind(n,"1696"))),lang:"zh",version:""},{path:"/module-tools/plugins/official-list/plugin-polyfill",element:i.createElement(eF),filePath:"zh/plugins/official-list/plugin-polyfill.mdx",preload:async()=>(await eF.preload(),n.e("8104").then(n.bind(n,"1456"))),lang:"zh",version:""},{path:"/module-tools/plugins/official-list/plugin-vue",element:i.createElement(eH),filePath:"zh/plugins/official-list/plugin-vue.mdx",preload:async()=>(await eH.preload(),n.e("1960").then(n.bind(n,"5351"))),lang:"zh",version:""}]},1801:function(e,t,n){"use strict";n.d(t,{H:function(){return i}});let i=()=>{}},5756:function(e,t){"use strict";t.Z={"###en":"990cdff7","###zh":"4350d286"}},3328:function(e,t){"use strict";t.Z={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.54.3",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"}],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:"\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"}],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.54.3",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"}],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:"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"}],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.54.3",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"}],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:"\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"}],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.54.3",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"}],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:"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"}],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:"",logoText:"",ssg:!0,multiVersion:{default:"",versions:[]},search:{},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.name",id:"assetname",depth:2,charIndex:1113},{text:"asset.limit",id:"assetlimit",depth:2,charIndex:1571},{text:"asset.path",id:"assetpath",depth:2,charIndex:2045},{text:"asset.publicPath",id:"assetpublicpath",depth:2,charIndex:2149},{text:"asset.svgr",id:"assetsvgr",depth:2,charIndex:2336},{text:"asset.svgr.include",id:"assetsvgrinclude",depth:2,charIndex:2783},{text:"asset.svgr.exclude",id:"assetsvgrexclude",depth:2,charIndex:2901},{text:"asset.svgr.exportType",id:"assetsvgrexporttype",depth:2,charIndex:3018},{text:"autoExtension",id:"autoextension",depth:2,charIndex:3299},{text:"autoExternal",id:"autoexternal",depth:2,charIndex:4498},{text:"autoExternal.dependencies",id:"autoexternaldependencies",depth:2,charIndex:5006},{text:"autoExternal.peerDependencies",id:"autoexternalpeerdependencies",depth:2,charIndex:5142},{text:"banner",id:"banner",depth:2,charIndex:5273},{text:"buildType",id:"buildtype",depth:2,charIndex:5514},{text:"copy",id:"copy",depth:2,charIndex:5674},{text:"copy.patterns",id:"copypatterns",depth:2,charIndex:5850},{text:"copy.options",id:"copyoptions",depth:2,charIndex:5908},{text:"define",id:"define",depth:2,charIndex:6133},{text:"dts",id:"dts",depth:2,charIndex:7312},{text:"dts.abortOnError",id:"dtsabortonerror",depth:2,charIndex:7435},{text:"dts.distPath",id:"dtsdistpath",depth:2,charIndex:7919},{text:"dts.enableTscBuild",id:"dtsenabletscbuild",depth:2,charIndex:8081},{text:"dts.only",id:"dtsonly",depth:2,charIndex:8508},{text:"dts.tsconfigPath",id:"dtstsconfigpath",depth:2,charIndex:8664},{text:"dts.respectExternal",id:"dtsrespectexternal",depth:2,charIndex:8793},{text:"esbuildOptions",id:"esbuildoptions",depth:2,charIndex:9225},{text:"externalHelpers",id:"externalhelpers",depth:2,charIndex:10401},{text:"externals",id:"externals",depth:2,charIndex:10923},{text:"footer",id:"footer",depth:2,charIndex:11113},{text:"format",id:"format",depth:2,charIndex:11209},{text:"format: esm",id:"format-esm",depth:3,charIndex:11396},{text:"format: cjs",id:"format-cjs",depth:3,charIndex:11536},{text:"format: iife",id:"format-iife",depth:3,charIndex:11732},{text:"format: umd",id:"format-umd",depth:3,charIndex:12026},{text:"hooks",id:"hooks",depth:2,charIndex:12329},{text:"input",id:"input",depth:2,charIndex:12816},{text:"jsx",id:"jsx",depth:2,charIndex:13845},{text:"metafile",id:"metafile",depth:2,charIndex:14380},{text:"minify",id:"minify",depth:2,charIndex:14809},{text:"outDir",id:"outdir",depth:2,charIndex:14952},{text:"platform",id:"platform",depth:2,charIndex:15046},{text:"redirect",id:"redirect",depth:2,charIndex:15277},{text:"resolve",id:"resolve",depth:2,charIndex:15793},{text:"resolve.mainFields",id:"resolvemainfields",depth:3,charIndex:15838},{text:"resolve.jsExtentions",id:"resolvejsextentions",depth:3,charIndex:16333},{text:"shims",id:"shims",depth:2,charIndex:16798},{text:"sideEffects",id:"sideeffects",depth:2,charIndex:17219},{text:"sourceDir",id:"sourcedir",depth:2,charIndex:18068},{text:"sourceMap",id:"sourcemap",depth:2,charIndex:18326},{text:"sourceType",id:"sourcetype",depth:2,charIndex:18437},{text:"splitting",id:"splitting",depth:2,charIndex:18664},{text:"style",id:"style",depth:2,charIndex:18827},{text:"style.less",id:"styleless",depth:2,charIndex:18875},{text:"style.less.lessOptions",id:"stylelesslessoptions",depth:2,charIndex:18917},{text:"style.less.additionalData",id:"stylelessadditionaldata",depth:2,charIndex:19042},{text:"style.less.implementation",id:"stylelessimplementation",depth:2,charIndex:19163},{text:"style.sass",id:"stylesass",depth:2,charIndex:19508},{text:"style.sass.sassOptions",id:"stylesasssassoptions",depth:2,charIndex:19551},{text:"style.sass.additionalData",id:"stylesassadditionaldata",depth:2,charIndex:19657},{text:"style.sass.implementation",id:"stylesassimplementation",depth:2,charIndex:19789},{text:"style.postcss",id:"stylepostcss",depth:2,charIndex:20129},{text:"style.inject",id:"styleinject",depth:2,charIndex:20477},{text:"style.autoModules",id:"styleautomodules",depth:2,charIndex:21490},{text:"style.modules",id:"stylemodules",depth:2,charIndex:21837},{text:"style.tailwindcss",id:"styletailwindcss",depth:2,charIndex:22137},{text:"Enabling Tailwind CSS",id:"enabling-tailwind-css",depth:3,charIndex:22251},{text:"Type",id:"type",depth:3,charIndex:22460},{text:"Notes",id:"notes",depth:3,charIndex:22765},{text:"target",id:"target",depth:2,charIndex:23348},{text:"transformImport",id:"transformimport",depth:2,charIndex:23712},{text:"transformLodash",id:"transformlodash",depth:2,charIndex:24068},{text:"tsconfig",id:"tsconfig",depth:2,charIndex:24569},{text:"umdGlobals",id:"umdglobals",depth:2,charIndex:24674},{text:"umdModuleName",id:"umdmodulename",depth:2,charIndex:24985}],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:-1},{text:"`npm-library-with-umd`",id:"npm-library-with-umd",depth:3,charIndex:-1},{text:"`npm-component`",id:"npm-component",depth:3,charIndex:-1},{text:"`npm-component-with-umd`",id:"npm-component-with-umd",depth:3,charIndex:-1},{text:"`npm-library-{es5...esnext}`",id:"npm-library-es5esnext",depth:3,charIndex:-1},{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:"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:-1},{text:"build hooks",id:"build-hooks",depth:2,charIndex:596},{text:"`beforeBuild`",id:"beforebuild",depth:3,charIndex:-1},{text:"`beforeBuildTask`",id:"beforebuildtask",depth:3,charIndex:-1},{text:"`afterBuildTask`",id:"afterbuildtask",depth:3,charIndex:-1},{text:"`afterBuild`",id:"afterbuild",depth:3,charIndex:-1},{text:"buildPlatform hooks",id:"buildplatform-hooks",depth:2,charIndex:1494},{text:"`registerBuildPlatform`",id:"registerbuildplatform",depth:3,charIndex:-1},{text:"`beforeBuildPlatform`",id:"beforebuildplatform",depth:3,charIndex:-1},{text:"`buildPlatform`",id:"buildplatform",depth:3,charIndex:-1},{text:"`afterBuildPlatform`",id:"afterbuildplatform",depth:3,charIndex:-1},{text:"Dev Hooks",id:"dev-hooks",depth:2,charIndex:2796},{text:"`registerDev`",id:"registerdev",depth:3,charIndex:-1},{text:"`beforeDev`",id:"beforedev",depth:3,charIndex:-1},{text:"`(before|after)DevMenu`",id:"beforeafterdevmenu",depth:3,charIndex:-1},{text:"`beforeDevTask`",id:"beforedevtask",depth:3,charIndex:-1},{text:"`afterDev`",id:"afterdev",depth:3,charIndex:-1}],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/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:-1},{text:"`input` / `sourceDir`",id:"input--sourcedir",depth:2,charIndex:-1},{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:-1},{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:-1},{text:"`npm install`",id:"npm-install",depth:4,charIndex:-1},{text:"`npm publish`",id:"npm-publish",depth:4,charIndex:-1},{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:-1},{text:"`modern new`",id:"modern-new",depth:2,charIndex:-1},{text:"`modern dev`",id:"modern-dev",depth:2,charIndex:-1},{text:"`modern lint`",id:"modern-lint",depth:2,charIndex:-1},{text:"`modern change`",id:"modern-change",depth:2,charIndex:-1},{text:"`modern pre`",id:"modern-pre",depth:2,charIndex:-1},{text:"`modern bump`",id:"modern-bump",depth:2,charIndex:-1},{text:"`modern release`",id:"modern-release",depth:2,charIndex:-1},{text:"`modern gen-release-note`",id:"modern-gen-release-note",depth:2,charIndex:-1},{text:"`modern upgrade`",id:"modern-upgrade",depth:2,charIndex:-1}],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:610},{text:"Version update",id:"version-update",depth:2,charIndex:1355},{text:"Publish",id:"publish",depth:2,charIndex:1780},{text:"Pre-releases",id:"pre-releases",depth:2,charIndex:2468}],frontmatter:{sidebar_position:7},version:"",_relativePath:"en/guide/basic/publish-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:"Storybook",id:"storybook",depth:2,charIndex:895},{text:"Tailwind CSS Support",id:"tailwind-css-support",depth:2,charIndex:1243},{text:"Modern.js Runtime API",id:"modernjs-runtime-api",depth:2,charIndex:1528}],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:3121},{text:"Using external demos",id:"using-external-demos",depth:3,charIndex:3451},{text:"Using built-in components",id:"using-built-in-components",depth:2,charIndex:3691},{text:"API",id:"api",depth:3,charIndex:3837},{text:"Parse file",id:"parse-file",depth:4,charIndex:3883},{text:"Content generation",id:"content-generation",depth:4,charIndex:3981},{text:"Using the component",id:"using-the-component",depth:4,charIndex:5005},{text:"Overview",id:"overview",depth:3,charIndex:5154},{text:"Plugin options",id:"plugin-options",depth:2,charIndex:5675},{text:"apiParseTool",id:"apiparsetool",depth:3,charIndex:5693},{text:"doc",id:"doc",depth:3,charIndex:5817},{text:"entries",id:"entries",depth:3,charIndex:5833},{text:"iframePosition",id:"iframeposition",depth:3,charIndex:6040},{text:"parseToolOptions",id:"parsetooloptions",depth:3,charIndex:6320},{text:"previewMode",id:"previewmode",depth:3,charIndex:6408},{text:"deprecated: languages",id:"deprecated-languages",depth:3,charIndex:6599},{text:"deprecated: useModuleSidebar",id:"deprecated-usemodulesidebar",depth:3,charIndex:6746},{text:"Scripts",id:"scripts",depth:2,charIndex:6967},{text:"Advanced guide",id:"advanced-guide",depth:2,charIndex:7130}],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:"Releasing components",id:"releasing-components",depth:2,charIndex:2666}],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:-1},{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:-1}],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:316},{text:"babel-plugin-lodash treats the introduced lodash as `undefined`",id:"babel-plugin-lodash-treats-the-introduced-lodash-as-undefined",depth:3,charIndex:-1},{text:"Cannot find module 'http'",id:"cannot-find-module-http",depth:3,charIndex:2578},{text:"Exceptions FAQ",id:"exceptions-faq",depth:2,charIndex:2995},{text:'Dynamic require of "react" is not supported',id:"dynamic-require-of-react-is-not-supported",depth:3,charIndex:3013},{text:"Problem Description",id:"problem-description",depth:4,charIndex:3059},{text:"Solution",id:"solution",depth:4,charIndex:3287},{text:"Reference Links",id:"reference-links",depth:4,charIndex:3792},{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:4560},{text:"Bundle DTS failed",id:"bundle-dts-failed",depth:3,charIndex:5206},{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:5958},{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:5971},{text:"Add additional compilation feature",id:"add-additional-compilation-feature",depth:3,charIndex:6445},{text:"Support for generating TypeScript declaration files for CSS Modules",id:"support-for-generating-typescript-declaration-files-for-css-modules",depth:3,charIndex:7173}],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:3},{text:"Using Storybook Addon or other configurations does not work",id:"using-storybook-addon-or-other-configurations-does-not-work",depth:2,charIndex:104},{text:"Cannot find module 'react-dom/package.json'",id:"cannot-find-module-react-dompackagejson",depth:2,charIndex:519},{text:"Unable to locate the specific error message",id:"unable-to-locate-the-specific-error-message",depth:2,charIndex:681},{text:"Can`t find any stories is your Storybook",id:"cant-find-any-stories-is-your-storybook",depth:2,charIndex:900},{text:"Storybook Adds Proxy Functionality",id:"storybook-adds-proxy-functionality",depth:2,charIndex:1200},{text:"Tailwind CSS doesn't work in Storybook",id:"tailwind-css-doesnt-work-in-storybook",depth:2,charIndex:1585}],frontmatter:{},version:"",_relativePath:"en/guide/faq/storybook.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:"Lint: Code Formatting",details:"Built-in ESLint rules for rich scenarios.",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:-1},{text:"`api.useResolvedConfigContext`",id:"apiuseresolvedconfigcontext",depth:3,charIndex:-1},{text:"`api.useHookRunners`",id:"apiusehookrunners",depth:3,charIndex:-1},{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.name",id:"assetname",depth:2,charIndex:506},{text:"asset.limit",id:"assetlimit",depth:2,charIndex:753},{text:"asset.path",id:"assetpath",depth:2,charIndex:981},{text:"asset.publicPath",id:"assetpublicpath",depth:2,charIndex:1052},{text:"asset.svgr",id:"assetsvgr",depth:2,charIndex:1159},{text:"asset.svgr.include",id:"assetsvgrinclude",depth:2,charIndex:1411},{text:"asset.svgr.exclude",id:"assetsvgrexclude",depth:2,charIndex:1510},{text:"asset.svgr.exportType",id:"assetsvgrexporttype",depth:2,charIndex:1611},{text:"autoExtension",id:"autoextension",depth:2,charIndex:1802},{text:"autoExternal",id:"autoexternal",depth:2,charIndex:2393},{text:"autoExternal.dependencies",id:"autoexternaldependencies",depth:2,charIndex:2670},{text:"autoExternal.peerDependencies",id:"autoexternalpeerdependencies",depth:2,charIndex:2758},{text:"banner",id:"banner",depth:2,charIndex:2854},{text:"buildType",id:"buildtype",depth:2,charIndex:2984},{text:"copy",id:"copy",depth:2,charIndex:3087},{text:"copy.patterns",id:"copypatterns",depth:2,charIndex:3128},{text:"copy.options",id:"copyoptions",depth:2,charIndex:3180},{text:"define",id:"define",depth:2,charIndex:3341},{text:"dts",id:"dts",depth:2,charIndex:3802},{text:"dts.abortOnError",id:"dtsabortonerror",depth:2,charIndex:3864},{text:"dts.distPath",id:"dtsdistpath",depth:2,charIndex:4097},{text:"dts.enableTscBuild",id:"dtsenabletscbuild",depth:2,charIndex:4196},{text:"dts.only",id:"dtsonly",depth:2,charIndex:4419},{text:"dts.respectExternal",id:"dtsrespectexternal",depth:2,charIndex:4499},{text:"dts.tsconfigPath",id:"dtstsconfigpath",depth:2,charIndex:4718},{text:"esbuildOptions",id:"esbuildoptions",depth:2,charIndex:4790},{text:"externalHelpers",id:"externalhelpers",depth:2,charIndex:5293},{text:"externals",id:"externals",depth:2,charIndex:5501},{text:"footer",id:"footer",depth:2,charIndex:5617},{text:"format",id:"format",depth:2,charIndex:5655},{text:"format: esm",id:"format-esm",depth:3,charIndex:5780},{text:"format: cjs",id:"format-cjs",depth:3,charIndex:5859},{text:"format: iife",id:"format-iife",depth:3,charIndex:5957},{text:"format: umd",id:"format-umd",depth:3,charIndex:6058},{text:"hooks",id:"hooks",depth:2,charIndex:6211},{text:"input",id:"input",depth:2,charIndex:6359},{text:"jsx",id:"jsx",depth:2,charIndex:6824},{text:"metafile",id:"metafile",depth:2,charIndex:7147},{text:"minify",id:"minify",depth:2,charIndex:7385},{text:"outDir",id:"outdir",depth:2,charIndex:7505},{text:"platform",id:"platform",depth:2,charIndex:7559},{text:"redirect",id:"redirect",depth:2,charIndex:7693},{text:"resolve",id:"resolve",depth:2,charIndex:7924},{text:"resolve.mainFields",id:"resolvemainfields",depth:3,charIndex:7946},{text:"resolve.jsExtentions",id:"resolvejsextentions",depth:3,charIndex:8263},{text:"shims",id:"shims",depth:2,charIndex:8520},{text:"sideEffects",id:"sideeffects",depth:2,charIndex:8787},{text:"sourceDir",id:"sourcedir",depth:2,charIndex:9229},{text:"sourceMap",id:"sourcemap",depth:2,charIndex:9345},{text:"sourceType",id:"sourcetype",depth:2,charIndex:9432},{text:"splitting",id:"splitting",depth:2,charIndex:9590},{text:"style",id:"style",depth:2,charIndex:9703},{text:"style.less",id:"styleless",depth:2,charIndex:9724},{text:"style.less.lessOptions",id:"stylelesslessoptions",depth:2,charIndex:9750},{text:"style.less.additionalData",id:"stylelessadditionaldata",depth:2,charIndex:9841},{text:"style.less.implementation",id:"stylelessimplementation",depth:2,charIndex:9925},{text:"sass",id:"sass",depth:2,charIndex:10100},{text:"style.sass.sassOptions",id:"stylesasssassoptions",depth:2,charIndex:10120},{text:"style.sass.additionalData",id:"stylesassadditionaldata",depth:2,charIndex:10190},{text:"style.sass.implementation",id:"stylesassimplementation",depth:2,charIndex:10285},{text:"style.postcss",id:"stylepostcss",depth:2,charIndex:10461},{text:"style.inject",id:"styleinject",depth:2,charIndex:10620},{text:"style.autoModules",id:"styleautomodules",depth:2,charIndex:11116},{text:"style.modules",id:"stylemodules",depth:2,charIndex:11350},{text:"style.tailwindcss",id:"styletailwindcss",depth:2,charIndex:11529},{text:"\u542F\u7528 Tailwind CSS",id:"\u542F\u7528-tailwind-css",depth:3,charIndex:11611},{text:"\u7C7B\u578B",id:"\u7C7B\u578B",depth:3,charIndex:11731},{text:"\u6CE8\u610F\u4E8B\u9879",id:"\u6CE8\u610F\u4E8B\u9879",depth:3,charIndex:11862},{text:"target",id:"target",depth:2,charIndex:12152},{text:"transformImport",id:"transformimport",depth:2,charIndex:12318},{text:"transformLodash",id:"transformlodash",depth:2,charIndex:12514},{text:"tsconfig",id:"tsconfig",depth:2,charIndex:12756},{text:"umdGlobals",id:"umdglobals",depth:2,charIndex:12844},{text:"umdModuleName",id:"umdmodulename",depth:2,charIndex:13004}],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:-1},{text:"`npm-library-with-umd`",id:"npm-library-with-umd",depth:2,charIndex:-1},{text:"`npm-component`",id:"npm-component",depth:2,charIndex:-1},{text:"`npm-component-with-umd`",id:"npm-component-with-umd",depth:2,charIndex:-1},{text:"`npm-library-{es5...esnext}`",id:"npm-library-es5esnext",depth:2,charIndex:-1},{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:"\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:-1},{text:"\u6784\u5EFA\u94A9\u5B50",id:"\u6784\u5EFA\u94A9\u5B50",depth:2,charIndex:276},{text:"`beforeBuild`",id:"beforebuild",depth:3,charIndex:-1},{text:"`beforeBuildTask`",id:"beforebuildtask",depth:3,charIndex:-1},{text:"`afterBuildTask`",id:"afterbuildtask",depth:3,charIndex:-1},{text:"`afterBuild`",id:"afterbuild",depth:3,charIndex:-1},{text:"buildPlatform \u94A9\u5B50",id:"buildplatform-\u94A9\u5B50",depth:2,charIndex:713},{text:"`registerBuildPlatform`",id:"registerbuildplatform",depth:3,charIndex:-1},{text:"`beforeBuildPlatform`",id:"beforebuildplatform",depth:3,charIndex:-1},{text:"`buildPlatform`",id:"buildplatform",depth:3,charIndex:-1},{text:"`afterBuildPlatform`",id:"afterbuildplatform",depth:3,charIndex:-1},{text:"\u8C03\u8BD5\u94A9\u5B50",id:"\u8C03\u8BD5\u94A9\u5B50",depth:2,charIndex:1459},{text:"`registerDev`",id:"registerdev",depth:3,charIndex:-1},{text:"`beforeDev`",id:"beforedev",depth:3,charIndex:-1},{text:"`(before|after)DevMenu`",id:"beforeafterdevmenu",depth:3,charIndex:-1},{text:"`beforeDevTask`",id:"beforedevtask",depth:3,charIndex:-1},{text:"`afterDev`",id:"afterdev",depth:3,charIndex:-1}],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/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:-1},{text:"`input` / `sourceDir`",id:"input--sourcedir",depth:2,charIndex:-1},{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:-1},{text:"`npm publish`",id:"npm-publish",depth:4,charIndex:-1},{text:"peerDependencies",id:"peerdependencies",depth:3,charIndex:2825},{text:"npm \u5305\u7BA1\u7406\u5668",id:"npm-\u5305\u7BA1\u7406\u5668",depth:2,charIndex:3139},{text:"Modern.js Module \u914D\u7F6E\u6587\u4EF6",id:"modernjs-module-\u914D\u7F6E\u6587\u4EF6",depth:2,charIndex:3247}],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:-1},{text:"`modern new`",id:"modern-new",depth:2,charIndex:-1},{text:"`modern dev`",id:"modern-dev",depth:2,charIndex:-1},{text:"`modern lint`",id:"modern-lint",depth:2,charIndex:-1},{text:"`modern change`",id:"modern-change",depth:2,charIndex:-1},{text:"`modern pre`",id:"modern-pre",depth:2,charIndex:-1},{text:"`modern bump`",id:"modern-bump",depth:2,charIndex:-1},{text:"`modern release`",id:"modern-release",depth:2,charIndex:-1},{text:"`modern gen-release-note`",id:"modern-gen-release-note",depth:2,charIndex:-1},{text:"`modern upgrade`",id:"modern-upgrade",depth:2,charIndex:-1}],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:664},{text:"\u7ED3\u5408\u914D\u7F6E\u4E0E\u9884\u8BBE",id:"\u7ED3\u5408\u914D\u7F6E\u4E0E\u9884\u8BBE",depth:2,charIndex:1952}],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:231},{text:"\u7248\u672C\u66F4\u65B0",id:"\u7248\u672C\u66F4\u65B0",depth:2,charIndex:519},{text:"\u53D1\u5E03",id:"\u53D1\u5E03",depth:2,charIndex:728},{text:"\u9884\u53D1\u5E03",id:"\u9884\u53D1\u5E03",depth:2,charIndex:1040}],frontmatter:{sidebar_position:7},version:"",_relativePath:"zh/guide/basic/publish-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:"Storybook \u8C03\u8BD5",id:"storybook-\u8C03\u8BD5",depth:2,charIndex:370},{text:"Tailwind CSS \u652F\u6301",id:"tailwind-css-\u652F\u6301",depth:2,charIndex:561},{text:"Modern.js Runtime API \u652F\u6301",id:"modernjs-runtime-api-\u652F\u6301",depth:2,charIndex:709}],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:1216},{text:"\u4F7F\u7528\u5916\u90E8 demo",id:"\u4F7F\u7528\u5916\u90E8-demo",depth:3,charIndex:1369},{text:"\u4F7F\u7528\u5185\u7F6E\u7EC4\u4EF6",id:"\u4F7F\u7528\u5185\u7F6E\u7EC4\u4EF6",depth:2,charIndex:1461},{text:"API",id:"api",depth:3,charIndex:1505},{text:"\u89E3\u6790\u6587\u4EF6",id:"\u89E3\u6790\u6587\u4EF6",depth:4,charIndex:1525},{text:"\u5185\u5BB9\u751F\u6210",id:"\u5185\u5BB9\u751F\u6210",depth:4,charIndex:1563},{text:"\u7EC4\u4EF6\u4F7F\u7528",id:"\u7EC4\u4EF6\u4F7F\u7528",depth:4,charIndex:2032},{text:"Overview",id:"overview",depth:3,charIndex:2092},{text:"\u63D2\u4EF6\u914D\u7F6E",id:"\u63D2\u4EF6\u914D\u7F6E",depth:2,charIndex:2360},{text:"apiParseTool",id:"apiparsetool",depth:3,charIndex:2368},{text:"doc",id:"doc",depth:3,charIndex:2478},{text:"entries",id:"entries",depth:3,charIndex:2493},{text:"iframePosition",id:"iframeposition",depth:3,charIndex:2596},{text:"parseToolOptions",id:"parsetooloptions",depth:3,charIndex:2749},{text:"previewMode",id:"previewmode",depth:3,charIndex:2818},{text:"deprecated: languages",id:"deprecated-languages",depth:3,charIndex:2936},{text:"deprecated: useModuleSidebar",id:"deprecated-usemodulesidebar",depth:3,charIndex:3003},{text:"\u547D\u4EE4\u884C",id:"\u547D\u4EE4\u884C",depth:2,charIndex:3112},{text:"\u8FDB\u9636\u6307\u5357",id:"\u8FDB\u9636\u6307\u5357",depth:2,charIndex:3184}],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:"\u53D1\u5E03\u7EC4\u4EF6",id:"\u53D1\u5E03\u7EC4\u4EF6",depth:2,charIndex:1431}],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:-1},{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:-1}],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:118},{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:-1},{text:"Cannot find module 'http'",id:"cannot-find-module-http",depth:3,charIndex:1337},{text:"\u5F02\u5E38\u7C7B\u95EE\u9898",id:"\u5F02\u5E38\u7C7B\u95EE\u9898",depth:2,charIndex:1559},{text:'Dynamic require of "react" is not supported',id:"dynamic-require-of-react-is-not-supported",depth:3,charIndex:1568},{text:"\u95EE\u9898\u63CF\u8FF0",id:"\u95EE\u9898\u63CF\u8FF0",depth:4,charIndex:1614},{text:"\u89E3\u51B3\u529E\u6CD5",id:"\u89E3\u51B3\u529E\u6CD5",depth:4,charIndex:1714},{text:"\u53C2\u8003\u94FE\u63A5",id:"\u53C2\u8003\u94FE\u63A5",depth:4,charIndex:1916},{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:-1},{text:"Bundleless DTS failed",id:"bundleless-dts-failed",depth:3,charIndex:2338},{text:"Bundle DTS failed",id:"bundle-dts-failed",depth:3,charIndex:2595},{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:-1},{text:"\u5176\u4ED6",id:"\u5176\u4ED6",depth:2,charIndex:2940},{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:2946},{text:"\u589E\u52A0\u989D\u5916\u7684\u7F16\u8BD1\u80FD\u529B",id:"\u589E\u52A0\u989D\u5916\u7684\u7F16\u8BD1\u80FD\u529B",depth:3,charIndex:3184},{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:3492}],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:3},{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:58},{text:"Cannot find module 'react-dom/package.json'",id:"cannot-find-module-react-dompackagejson",depth:2,charIndex:263},{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:373},{text:"Couldn't find any stories is your Storybook",id:"couldnt-find-any-stories-is-your-storybook",depth:2,charIndex:538},{text:"Storybook \u6DFB\u52A0 Proxy \u529F\u80FD",id:"storybook-\u6DFB\u52A0-proxy-\u529F\u80FD",depth:2,charIndex:696},{text:"Tailwind CSS \u5728 Storybook \u4E2D\u4E0D\u751F\u6548",id:"tailwind-css-\u5728-storybook-\u4E2D\u4E0D\u751F\u6548",depth:2,charIndex:918}],frontmatter:{},version:"",_relativePath:"zh/guide/faq/storybook.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:"Lint: \u4EE3\u7801\u683C\u5F0F\u5316",details:"\u4E30\u5BCC\u573A\u666F\u7684\u5185\u7F6E ESLint \u89C4\u5219\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:-1},{text:"`api.useResolvedConfigContext`",id:"apiuseresolvedconfigcontext",depth:3,charIndex:-1},{text:"`api.useHookRunners`",id:"apiusehookrunners",depth:3,charIndex:-1},{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"}}},9580:function(e,t,n){"use strict";n.d(t,{Zo:function(){return l},ah:function(){return o}});var i=n("2363");let r=i.createContext({});function o(e){let t=i.useContext(r);return i.useMemo(()=>"function"==typeof e?e(t):{...t,...e},[t,e])}let a={};function l({components:e,children:t,disableParentContext:n}){let l;return l=n?"function"==typeof e?e({}):e||a:o(e),i.createElement(r.Provider,{value:l},t)}},2855:function(e,t,n){"use strict";n.d(t,{$U:function(){return th},E9:function(){return tv},Kw:function(){return td},_f:function(){return ta},bw:function(){return tr},kv:function(){return te},lm:function(){return to},mi:function(){return ts},pJ:function(){return tx},pZ:function(){return tu},rp:function(){return tt},t6:function(){return tn},tz:function(){return tg},xM:function(){return tp},xf:function(){return tc},yc:function(){return tf},yv:function(){return ti}});var i,r,o,a,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,j=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))},I=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=j(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},N=m["__core-js_shared__"];var z=(i=/[^.]+$/.exec(N&&N.keys&&N.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"",_=Function.prototype.toString,A=function(e){if(null!=e){try{return _.call(e)}catch(e){}try{return e+""}catch(e){}}return""},T=/^\[object .+?Constructor\]$/,O=Object.prototype,M=Function.prototype.toString,L=O.hasOwnProperty,D=RegExp("^"+M.call(L).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),R=function(e){var t;return!!S(e)&&(t=e,!z||!(z 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},$=Object.create,F=function(){function e(){}return function(t){if(!S(t))return{};if($)return $(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),H=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)},Z=function(e,t){var n=-1,i=e.length;for(t||(t=Array(i));++n0){if(++o>=800)return arguments[0]}else o=0;return r.apply(void 0,arguments)}),q=/^(?:0|[1-9]\d*)$/,G=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&q.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)&&G(t,n.length)):"string"==i&&t in n)&&Q(n[t],e)},eo=Object.prototype,ea=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||eo)},el=function(e,t){for(var n=-1,i=Array(e);++n-1},eD.prototype.set=function(e,t){var n=this.__data__,i=eM(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},e$=function(e,t){var n=e.__data__;return eB(t)?n["string"==typeof t?"string":"hash"]:n.map};function eF(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t1?t[i-1]:void 0,o=i>2?t[2]:void 0;for(r=u.length>3&&"function"==typeof r?(i--,r):void 0,o&&er(t[0],t[1],o)&&(r=i<3?void 0:r,i=1),e=Object(e);++n!0,tr=e=>e.replace(e9,"").replace(e8,"");function to(e){return e.replace(/#.*$/,"")}var ta=()=>!0;function tl(e){return"/"===e.charAt(0)||tc(e)?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)"."===e||""===e||(".."===e?r.length>0&&".."!==r[r.length-1]?r.pop():n&&r.push(".."):r.push(e));let o=r.join("/");return n&&(o=`/${o}`),o}(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 o=tv(e,i);!o&&(o=r?"/index":"/index.html"),o.endsWith("/")&&(o+=r?"/index":"/index.html");let a="",l="",s="",d=o.split("/").filter(Boolean);return n.current&&n.current!==n.default&&(a=d.shift()||""),t.target!==t.default?(l=t.target,t.current!==t.default&&d.shift()):d.shift(),s=d.join("/")||"",(a||l)&&!s&&(s=r?"index":"index.html"),tx(tl([a,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 o="",a=r.split("/").filter(Boolean);t.target!==t.default?(o=t.target,t.current!==t.default&&a.shift()):a.shift();let l=a.join("/")||"";return o&&!l&&(l=i?"index":"index.html"),tx(tl([o,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));return!t&&!n.endsWith(".html")&&(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)}`),"")}},125:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 32 32",...e,children:(0,i.jsx)("path",{fill:"currentColor",d:"M16 22 6 12l1.4-1.4 8.6 8.6 8.6-8.6L26 12z"})})},2247:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 32 32",...e,children:(0,i.jsx)("path",{fill:"currentColor",d:"M22 16 12 26l-1.4-1.4 8.6-8.6-8.6-8.6L12 6z"})})},5329:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 32 32",...e,children:(0,i.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"})})},2313:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:32,height:32,viewBox:"0 0 30 30",...e,children:[(0,i.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,i.jsx)("path",{fill:"currentColor",d:"M4 18H2V4a2 2 0 0 1 2-2h14v2H4Z"})]})},3388:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 32 32",...e,children:(0,i.jsx)("path",{fill:"currentColor",d:"M16 22 6 12l1.4-1.4 8.6 8.6 8.6-8.6L26 12z"})})},8009:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:48,height:48,fill:"none",viewBox:"0 0 48 48",...e,children:[(0,i.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,i.jsx)("path",{stroke:"currentColor",strokeWidth:4,d:"M41.5 30H28s-1 3-4 3-4-3-4-3H6.5"})]})},6433:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 32 32",...e,children:[(0,i.jsx)("circle",{cx:22,cy:24,r:2,fill:"currentColor"}),(0,i.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,i.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,i.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"})]})},6113:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:(0,i.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"})})},4788:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:(0,i.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"})})},8640:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 32 32",...e,children:(0,i.jsx)("path",{fill:"currentColor",d:"M28 12v-2h-6V4h-2v6h-8V4h-2v6H4v2h6v8H4v2h6v6h2v-6h8v6h2v-6h6v-2h-6v-8Zm-8 8h-8v-8h8Z"})})},4820:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 32 32",...e,children:(0,i.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"})})},4400:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsx)("svg",{width:32,height:32,viewBox:"0 0 24 24",...e,children:(0,i.jsxs)("g",{fill:"none",stroke:"var(--rp-c-brand)",strokeLinecap:"round",strokeWidth:2,children:[(0,i.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,i.jsx)("animate",{fill:"freeze",attributeName:"stroke-dashoffset",dur:"1.3s",values:"60;0"})}),(0,i.jsxs)("path",{strokeDasharray:15,strokeDashoffset:15,d:"M12 3a9 9 0 0 1 9 9",children:[(0,i.jsx)("animate",{fill:"freeze",attributeName:"stroke-dashoffset",dur:"0.3s",values:"15;0"}),(0,i.jsx)("animateTransform",{attributeName:"transform",dur:"1.5s",repeatCount:"indefinite",type:"rotate",values:"0 12 12;360 12 12"})]})]})})},3614:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 32 32",...e,children:(0,i.jsx)("path",{fill:"currentColor",d:"M4 6h24v2H4zm0 18h24v2H4zm0-12h24v2H4zm0 6h24v2H4z"})})},1457:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24",...e,children:(0,i.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"})})},7617:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsx)("svg",{width:24,height:24,viewBox:"0 0 32 32",...e,children:(0,i.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"})})},4992:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:32,height:32,viewBox:"0 0 32 32",...e,children:[(0,i.jsx)("circle",{cx:8,cy:16,r:2,fill:"currentColor"}),(0,i.jsx)("circle",{cx:16,cy:16,r:2,fill:"currentColor"}),(0,i.jsx)("circle",{cx:24,cy:16,r:2,fill:"currentColor"})]})},4226:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsx)("svg",{width:32,height:32,viewBox:"0 0 30 30",...e,children:(0,i.jsx)("path",{fill:"#49cd37",d:"m13 24-9-9 1.414-1.414L13 21.171 26.586 7.586 28 9 13 24z"})})},1505:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24",...e,children:(0,i.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"})})},1188:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:(0,i.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"})})},6255:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsx)("svg",{width:18,height:18,viewBox:"0 0 32 32",...e,children:(0,i.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"})})},5687:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:32,height:32,viewBox:"0 0 24 24",...e,children:(0,i.jsx)("path",{fill:"currentColor",d:"M16 7H3V5h13v2M3 19h13v-2H3v2m19-7-4-3v2H3v2h15v2l4-3Z"})})},3211:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:32,height:32,viewBox:"0 0 24 24",...e,children:(0,i.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"})})},3657:function(e,t,n){"use strict";n.d(t,{AV:function(){return tr},Ar:function(){return tI},BZ:function(){return t9},CF:function(){return eU},CU:function(){return eW},Ct:function(){return t2},EG:function(){return n2},JL:function(){return nO},KO:function(){return nu},M4:function(){return e$},NG:function(){return tp},O9:function(){return na},OK:function(){return nK},Os:function(){return tP},Qe:function(){return nW},Qn:function(){return tv},RY:function(){return tj},Rg:function(){return id},SU:function(){return nH},TJ:function(){return t0},UQ:function(){return eG},VA:function(){return tm},Vl:function(){return eV},Vp:function(){return ic},WG:function(){return nx},WS:function(){return eZ},YE:function(){return io},YS:function(){return ti},ZB:function(){return il},ZP:function(){return ip},cY:function(){return eY},eE:function(){return eQ},eF:function(){return eq},g2:function(){return nL},ls:function(){return tc},mQ:function(){return nQ},mi:function(){return t6},of:function(){return ih},ol:function(){return n3},pU:function(){return nV},qx:function(){return eB},rU:function(){return ns},s2:function(){return th},tx:function(){return eH},xB:function(){return nr},xK:function(){return ne},xN:function(){return tf},y2:function(){return tt},zh:function(){return tu},zx:function(){return t4}});var i,r,o,a,l,s,d,c,u,h,p,m,f,g,x,v,b,y,w,k,j,I,P=n("1812"),S=n("9980");n("1642");var E=n("288"),C=n("3657"),N=n("5929"),z=n("2363"),_=n("9580"),A=n("741"),T=n("8319"),O=n("2688"),M=n("2855"),L=n("5187"),D=n("5653"),R=n("5756"),B=n("3328"),$=n("3371"),F=n("9555"),H=n("4520"),Z=n("3614"),W=n("2247"),U=n("5394"),V=n("5687"),q=n("3211"),G=n("6288"),Y=n("8271"),Q=n("9522"),K=n("2313"),J=n("4226"),X=n("1207"),ee=n("7841"),et=n("9593"),en=n("4992"),ei=n("2555"),er=n("1505"),eo=n("1457"),ea=n("125"),el=n("6255"),es=n("3388"),ed=n("7617"),ec=n("1593"),eu=n("9157"),eh=n("1850"),ep=n("1801"),em=n("5329"),ef=n("4400"),eg=n("8009"),ex=n("6433"),ev=n("4820"),eb=n("8640"),ey=n("1188"),ew=n("6113"),ek=n("4788"),ej=Object.defineProperty,eI=Object.defineProperties,eP=Object.getOwnPropertyDescriptors,eS=Object.getOwnPropertySymbols,eE=Object.prototype.hasOwnProperty,eC=Object.prototype.propertyIsEnumerable,eN=(e,t,n)=>t in e?ej(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ez=(e,t)=>{for(var n in t||(t={}))eE.call(t,n)&&eN(e,n,t[n]);if(eS)for(var n of eS(t))eC.call(t,n)&&eN(e,n,t[n]);return e},e_=(e,t)=>eI(e,eP(t)),eA=(e,t)=>{var n={};for(var i in e)eE.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&eS)for(var i of eS(e))0>t.indexOf(i)&&eC.call(e,i)&&(n[i]=e[i]);return n},eT=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},eO=(e,t,n)=>(eT(e,t,"read from private field"),n?n.call(e):t.get(e)),eM=(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)},eL=(e,t,n,i)=>(eT(e,t,"write to private field"),i?i.call(e,n):t.set(e,n),n),eD=(e,t,n)=>(eT(e,t,"access private method"),n),eR=(e,t,n)=>new Promise((i,r)=>{var o=e=>{try{l(n.next(e))}catch(e){r(e)}},a=e=>{try{l(n.throw(e))}catch(e){r(e)}},l=e=>e.done?i(e.value):Promise.resolve(e.value).then(o,a);l((n=n.apply(e,t)).next())});function eB(){let{siteData:e}=(0,P.Vi)(),t=e.lang;if(t&&"undefined"!=typeof window&&location.pathname.includes(`/${t}/`)){let e=location.pathname.replace(`/${t}/`,"/");return window.location.replace(e),(0,S.jsx)(S.Fragment,{})}return(0,S.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,S.jsx)("p",{className:"text-6xl font-semibold",children:"404"}),(0,S.jsx)("h1",{className:"leading-5 pt-3 text-xl font-bold",children:"PAGE NOT FOUND"}),(0,S.jsx)("div",{style:{height:"1px"},className:"mt-6 mx-auto mb-4.5 w-16 bg-gray-light-1"}),(0,S.jsx)("div",{className:"pt-5",children:(0,S.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"})})]})}function e$(){var e,t,n;let i=(0,P.Vi)(),{page:{lang:r}}=i,o=null!=(t=null==(e=null==i?void 0:i.siteData)?void 0:e.themeConfig)?t:{},a=null!=(n=i.siteData.lang)?n:"",l=null==o?void 0:o.locales;return l&&0!==l.length?e_(ez({},l.find(e=>e.lang===r)),{langRoutePrefix:r===a?"/":r}):{nav:o.nav,sidebar:o.sidebar,prevPageText:o.prevPageText,nextPageText:o.nextPageText,sourceCodeText:o.sourceCodeText,searchPlaceholderText:o.searchPlaceholderText}}var eF=(e,t)=>{let n;for(let i of Object.keys(e)){if(n&&n!==i)continue;if((0,O.pV)((0,O.pJ)(i),t))return{group:"Documentation",items:e[i]};let r=e[i].find(r=>{let o=r=>{if(!t.startsWith((0,O.pJ)(i))){for(let r of Object.keys(e))if(r!==i&&t.startsWith((0,M.mi)((0,O.pJ)(r))))return n=r,!1}let a=()=>"link"in r&&(0,O.pV)((0,O.pJ)(r.link),t);if("items"in r)return!!a()||r.items.some(e=>o(e));return a()};return o(r)});if(r){let t=e[i];return{group:"text"in r&&r.text||"",items:t}}}return{group:"Documentation",items:[]}};function eH(){var e;let t=e$(),n=null!=(e=t.sidebar)?e:{},{pathname:i}=(0,T.TH)(),r=decodeURIComponent(i),[o,a]=(0,z.useState)(eF(n,r));return(0,z.useEffect)(()=>{a(eF(n,r))},[r,t.lang]),o}function eZ(){let{pathname:e}=(0,T.TH)(),{items:t}=eH(),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,O.pV)((0,O.pJ)(t.link),e)),o=n[r-1]||null;return{prevPage:o,nextPage:n[r+1]||null}}function eW(){var e,t,n;let{siteData:i,page:r}=(0,P.Vi)(),o=null!=(n=null!=(t=e$().editLink)?t:null==(e=i.themeConfig)?void 0:e.editLink)?n:{};if(!o.docRepoBaseUrl||!o.text)return null;let{docRepoBaseUrl:a}=o;!a.endsWith("/")&&(a+="/");let l=r._relativePath.replace(/\\/g,"/"),s=`${a}${l}`;return{text:o.text,link:s}}function eU(){var e;let{siteData:{themeConfig:t},page:{frontmatter:n={}}}=(0,P.Vi)(),i=(null==(e=null==n?void 0:n.navbar)||e)&&(null==t?void 0:t.hideNavbar)!=="always",[r,o]=(0,z.useState)(i);return[r,o]}function eV(){var e;let{siteData:{themeConfig:t}}=(0,P.Vi)(),n=null!=(e=t.hideNavbar)?e:"never",[i,r]=(0,z.useState)(!1),{pathname:o}=(0,T.TH)(),a=(0,z.useRef)(0);return"never"!==n&&("always"===n||((0,z.useEffect)(()=>{r(!1);let e=(0,L.Z)(()=>{let{scrollTop:e}=document.documentElement;if(e!==a.current)r(a.current>0&&e-a.current>0),a.current=e<=0?0:e},200);return window.addEventListener("mousewheel",e),window.addEventListener("touchmove",e),()=>{window.removeEventListener("mousewheel",e),window.removeEventListener("touchmove",e)}},[o]),i))}function eq(e,t,n=72){let i=parseInt(window.getComputedStyle(e).paddingTop,10),r=window.scrollY+e.getBoundingClientRect().top-n-i;window.scrollTo(ez({left:0,top:Math.round(r)},t?{behavior:"smooth"}:{}))}function eG(){let e=document.getElementById("aside-container"),t=Array.from(document.querySelectorAll(".rspress-doc .header-anchor")).filter(e=>{var t;return(null==(t=e.parentElement)?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"),o=null==e?void 0:e.querySelector(`a[href="#${null==r?void 0:r.slice(1)}"] > span`);o&&(n&&n.classList.remove("aside-active"),(n=o).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=a&&o{n&&n.classList.remove("aside-active"),window.removeEventListener("scroll",o)}}function eY(){(0,M._f)()&&(window.addEventListener("click",e=>{let t=e.target.closest("a");if(t){let{origin:n,hash:i,target:r,pathname:o,search:a}=t,l=window.location;i&&"_blank"!==r&&n===l.origin&&(o===l.pathname&&a===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&&eq(i,n)}(t,i,!0),window.dispatchEvent(new Event("hashchange"))):window.addEventListener("RspressReloadContent",()=>{location.hash.length>1&&eq(document.getElementById(location.hash.slice(1)),!1)}))}},{capture:!0}),window.addEventListener("hashchange",e=>{e.preventDefault()}))}function eQ(){let e=(0,P.Jr)(),t=(0,P.aw)(),n=(0,P.Vi)(),i=n.siteData.lang,r=n.siteData.multiVersion.default;return{normalizeLinkHref:n=>{let o=n;if((i||r)&&!(0,M.xf)(o)&&!o.startsWith("#")){let n=(o=(0,O.E9)(o)).split("/").filter(Boolean),a="",l="",s="";return r&&(t!==r?(a=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,O.AP)((0,O.pJ)([a,l,s].filter(Boolean).join("/")))}return o}}}var eK="default",eJ=/[\u3131-\u314e|\u314f-\u3163|\uac00-\ud7a3]/u,eX=/[\u0400-\u04FF]/u;function e0(e){let t=e.toString().toLowerCase().normalize("NFD"),n=t.replace(/[\u0300-\u036f]/g,"");return eX.test(String(e))?t.normalize("NFC"):eJ.test(String(e))?n.normalize("NFC"):n}function e1(e){return e.replace(/https?:\/\/[^/]+/,"")}function e2(e){return e.charCodeAt(0)>255?3:1}var e3=e=>e.map(e=>"string"==typeof e?{value:e,label:e}:e);function e4(e,t){let n=0,i=0;for(let r=0;r=t);r++)i+=e2(e.charAt(r)),n++;return n}function e5(e){let t=0;for(let n=0;ne_(ez({},e),{normalizedContent:e0(e.content),headers:e.toc.map(e=>e0(e.text)).join(" "),normalizedTitle:e0(e.title)})),c={tokenize:"full",async:!0,doc:{id:"routePath",field:["normalizedTitle","headers","normalizedContent"]},cache:100,split:/\W+/};eL(this,r,D.create(c)),eL(this,o,D.create(e_(ez({},c),{tokenize:e=>e8(e,e6)}))),eL(this,a,D.create(e_(ez({},c),{tokenize:e=>e8(e,e7)}))),eO(this,r).add(d),eO(this,o).add(d),eO(this,a).add(d)})}search(e){return eR(this,null,function*(){var t,n;let{keyword:i,limit:l}=e,s={query:i,limit:l,field:["normalizedTitle","headers","normalizedContent"]};return[{index:eK,hits:(yield Promise.all([null==(t=eO(this,r))?void 0:t.search(s),null==(n=eO(this,o))?void 0:n.search(s),eO(this,a).search(s)])).flat(2).filter(Boolean)}]})}};r=new WeakMap,o=new WeakMap,a=new WeakMap,l=new WeakSet,s=function(e,t){return eR(this,null,function*(){let n=`${t}###${e}`,i=t?`.${t.replace(".","_")}`:"",r=e?`.${e}`:"";return(yield fetch(`/module-tools/static/${M.t6}${i}${r}.${R.Z[n]}.json`)).json()})};var te=class{constructor(){eM(this,d,void 0)}init(e){return eR(this,null,function*(){eL(this,d,e)})}search(e){return eR(this,null,function*(){let{apiUrl:t,searchIndexes:n}=eO(this,d),{keyword:i,limit:r}=e,o=Object.entries({keyword:i,limit:r.toString(),searchIndexes:(null==n?void 0:n.map(e=>"string"==typeof e?e:e.value).join(","))||"",lang:eO(this,d).currentLang}).map(e=>e.map(encodeURIComponent).join("=")).join("&");try{return(yield fetch(`${t}?${o}`)).json()}catch(e){return console.error(e),[]}})}};d=new WeakMap;var tt=((i=tt||{}).Default="default",i.Custom="custom",i),tn=class{constructor(e){if(eM(this,p),eM(this,f),eM(this,x),eM(this,b),eM(this,w),eM(this,j),eM(this,c,void 0),eM(this,u,eK),eM(this,h,void 0),eL(this,c,e),eL(this,u,e.indexName),"remote"===e.mode)eL(this,h,new te);else eL(this,h,new e9)}init(){return eR(this,null,function*(){var e;yield null==(e=eO(this,h))?void 0:e.init(eO(this,c))})}match(e,t=7){return eR(this,null,function*(){var n;let i=yield null==(n=eO(this,h))?void 0:n.search({keyword:e,limit:t}),r=e0(e),o=(null==i?void 0:i.find(e=>eD(this,j,I).call(this,e.index)))||{index:eK,renderType:"default",hits:[]};return[{group:eO(this,u),renderType:"default",result:eD(this,p,m).call(this,r,o)},...((null==i?void 0:i.filter(e=>!eD(this,j,I).call(this,e.index)))||[]).map(e=>({group:e.index,renderType:"default",result:eD(this,p,m).call(this,r,e)}))]})}};function ti(){var e;let{siteData:t,page:n}=(0,P.Vi)(),[i,r]=(0,z.useState)(!1),{sidebar:o}=e$(),a=e=>eF(o,e).group,l=(0,z.useRef)(null);return(0,z.useEffect)(()=>{!function(){eR(this,null,function*(){if(!i){let e=new tn(e_(ez({},t.search),{mode:"local",currentLang:n.lang,currentVersion:n.version,extractGroupName:a}));l.current=e,yield e.init(),r(!0)}})}()},[]),{initialized:i,search:null==(e=l.current)?void 0:e.match.bind(l.current)}}function tr(){let{siteData:e,page:t}=(0,P.Vi)(),n=e.lang||"",i=Object.values(e.themeConfig.locales||{}).map(e=>e.lang)||[],r=t.lang;(0,z.useEffect)(()=>{var t;let o;if("auto"!==(null!=(t=e.themeConfig.localeRedirect)?t:"auto")||!n)return;let{pathname:a,search:l}=window.location,s=(0,O.E9)(a),d="rspress-visited";if(localStorage.getItem(d))return;localStorage.setItem(d,"1");let c=window.navigator.language.split("-")[0];if(!!i.includes(c))c!==r&&(o=c===n?a.replace(`/${r}`,""):r===n?(0,O.pJ)(`/${c}${s}`):a.replace(`/${r}`,`/${c}`))&&window.location.replace(o+l)},[])}c=new WeakMap,u=new WeakMap,h=new WeakMap,p=new WeakSet,m=function(e,t){let n=[];return null==t||t.hits.forEach(t=>{eD(this,f,g).call(this,t,e,n),!eD(this,x,v).call(this,t,e,n)&&eD(this,b,y).call(this,t,e,n)}),n},f=new WeakSet,g=function(e,t,n){let{title:i=""}=e,r=e0(i);return!!r.includes(t)&&(n.push({type:"title",title:i,header:i,link:`${e.domain}${(0,O.AP)(e.routePath)}`,query:t,highlightInfoList:[{start:r.indexOf(t),length:e5(t)}],group:eO(this,c).extractGroupName(e.routePath)}),!0)},x=new WeakSet,v=function(e,t,n){let{toc:i=[],domain:r="",title:o=""}=e;for(let[a,l]of i.entries())if(e0(l.text).includes(t)){let s=(function(e,t){let n=e[t],i=t,r=[n];for(;n&&n.depth>2;){let t=!1;for(let o=i-1;o>=0;o--){let a=e[o];if(a.depth>1&&a.depth===n.depth-1){n=a,i=o,r.unshift(n),t=!0;break}}if(!t)break}return r})(i,a).map(e=>e.text).join(" > "),d=e0(s).indexOf(t),u=`${o} > `;return n.push({type:"header",title:e.title,header:`${u}${s}`,highlightInfoList:[{start:d+u.length,length:e5(t)}],link:`${r}${(0,O.AP)(e.routePath)}#${l.id}`,query:t,group:eO(this,c).extractGroupName(e.routePath)}),!0}return!1},b=new WeakSet,y=function(e,t,n){var i,r,o;let{content:a,toc:l,domain:s}=e;if(!a.length)return;let d=e0(a),u=d.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 o=null==(i=e._matchesPosition)?void 0:i.content;if(!(null==o?void 0:o.length))return;let l=e._matchesPosition.content[0].start,d=p(l),u=e4(a,l),h=e4(a,l+100),m=a.slice(u,h),f=e._matchesPosition.content.filter(e=>e.start>=l&&e.start+e.length<=l+100).map(e=>({start:e4(a,e.start)-u+3,length:e.length}));n.push({type:"content",title:e.title,header:null!=(r=null==d?void 0:d.text)?r:e.title,link:`${s}${(0,O.AP)(e.routePath)}${d?`#${d.id}`:""}`,query:t,highlightInfoList:f,group:eO(this,c).extractGroupName(e.routePath),statement:`...${m}...`});return}for(;-1!==u;){let i=p(u),r=a.slice(0,u).lastIndexOf("\n");r=-1===r?0:r;let l=a.indexOf("\n\n",u+t.length),h=a.slice(r,l);h.length>100&&(h=eD(this,w,k).call(this,h,t));let m=e0(h).indexOf(t),f=[{start:m,length:e5(t)}];n.push({type:"content",title:e.title,header:null!=(o=null==i?void 0:i.text)?o:e.title,statement:h,highlightInfoList:f,link:`${s}${(0,O.AP)(e.routePath)}${i?`#${i.id}`:""}`,query:t,group:eO(this,c).extractGroupName(e.routePath)}),u=d.indexOf(t,u+h.length-m)}},w=new WeakSet,k=function(e,t){let n=e0(e).indexOf(e0(t)),i=Math.floor((100-t.length)/2),r=e.slice(0,n);r.length>i&&(r=`...${e.slice(n-i+3,n)}`);let o=e.slice(n+t.length);return o.length>i&&(o=`${e.slice(n+t.length,n+i-3)}...`),r+t+o},j=new WeakSet,I=function(e){return e===eO(this,u)||e===eK};var to=e=>{let t=(0,z.useRef)(e);return t.current=e,(0,z.useRef)((...e)=>t.current(...e)).current},ta=e=>{let[t,n]=(0,z.useState)(()=>"undefined"!=typeof window&&window.matchMedia(e).matches);return(0,z.useEffect)(()=>{let t=window.matchMedia(e),i=e=>n(e.matches);return t.addEventListener("change",i),()=>t.removeEventListener("change",i)},[e]),t},tl=(e,t=null)=>{let[n,i]=(0,z.useState)(()=>{var n;return"undefined"==typeof window?t:null!=(n=localStorage.getItem(e))?n:t}),r=(0,z.useCallback)(t=>{i(n=>{let i="function"==typeof t?t(n):t;return null==i?localStorage.removeItem(e):localStorage.setItem(e,i),i})},[e]);return(0,z.useEffect)(()=>{let n=n=>{var r;n.key===e&&i(null!=(r=localStorage.getItem(e))?r:t)};return window.addEventListener("storage",n),()=>{window.removeEventListener("storage",n)}},[e,t]),[n,r]},ts=e=>["light","dark","auto"].includes(e)?e:"auto",td=!1===B.Z.themeConfig.darkMode,tc=()=>{let e=ta("(prefers-color-scheme: dark)"),[t,n]=tl(M.rp),i=to(()=>{if(td)return"light";let n=ts(t);return"auto"===n?e?"dark":"light":n}),[r,o]=(0,z.useState)(()=>{var e;if("undefined"==typeof window)return"light";let t=null!=(e=window.RSPRESS_THEME)?e:window.MODERN_THEME;return t?"dark"===t?"dark":"light":i()}),a=(0,z.useCallback)((e,t=e)=>{!td&&(o(e),n(t),s(!0))},[]);(0,z.useEffect)(()=>{document.documentElement.classList.toggle("dark","dark"===r),document.documentElement.style.colorScheme=r},[r]);let[l,s]=(0,z.useState)(!0);return(0,z.useEffect)(()=>{s(!1)},[l]),(0,z.useEffect)(()=>{!l&&a(i(),ts(t))},[t]),(0,z.useEffect)(()=>{!l&&a(e?"dark":"light","auto")},[e]),[r,a]};function tu(e,t,n=!1){return!!t&&(n?(0,O.pV)(e,t):(0,O.pV)(e,t)||e.startsWith(t))}function th(){return window.innerWidth<=1024}function tp(e){return e?(0,H.Z)(e)?e:(0,F.Z)(e)?$(e):e:""}function tm(e){return tp(e.replace(/$1").replace(/`(.*?)`/g,"$1"))}function tf(e){var t;let{headers:n}=e,i=n.length>0,r=(null==(t=n[0])?void 0:t.depth)||2,o=eV();return(0,z.useEffect)(()=>{let e;setTimeout(()=>{e=eG()},100);let t=decodeURIComponent(window.location.hash);if(t){let e=document.getElementById(t.slice(1));e&&eq(e,!1,o?0:72)}else window.scrollTo(0,0);return()=>{e&&e()}},[n]),(0,S.jsx)("div",{className:"flex flex-col",children:(0,S.jsx)("div",{className:i?"(0,S.jsx)("li",{children:(0,S.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&&eq(n,!1,o?0:72)},children:(0,S.jsx)("span",{className:"aside-link-text block",children:tm(e.text)})})},e.id))})})]})})})}var tg="prev_e7091",tx="next_e7091";function tv(){let{prevPage:e,nextPage:t}=eZ(),{lastUpdated:n=!1}=e$(),{siteData:i}=(0,P.Vi)(),{themeConfig:r}=i,o=r.lastUpdated||n;return(0,S.jsxs)("footer",{className:"mt-8",children:[(0,S.jsx)("div",{className:"xs:flex pb-5 px-2 justify-end items-center",children:o&&(0,S.jsx)(C.O9,{})}),(0,S.jsx)("div",{className:"flex flex-col",children:(0,S.jsx)(C.mi,{})}),(0,S.jsxs)("div",{className:"flex flex-col sm:flex-row sm:justify-around gap-4 pt-6",children:[(0,S.jsx)("div",{className:`${tg} flex flex-col`,children:e?(0,S.jsx)(C.Qe,{type:"prev",text:e.text,href:(0,O.AP)(e.link)}):null}),(0,S.jsx)("div",{className:`${tx} flex flex-col`,children:t?(0,S.jsx)(C.Qe,{type:"next",text:t.text,href:(0,O.AP)(t.link)}):null})]})]})}function tb(e){var{icon:t}=e,n=eA(e,["icon"]);return t?"string"==typeof t?(0,S.jsx)("img",ez({src:t,alt:""},n)):(0,S.jsx)(t,ez({},n)):null}function ty({outlineTitle:e,beforeSidebar:t,afterSidebar:n,uiSwitch:i}){let[r,o]=(0,z.useState)(!1),[a,l]=(0,z.useState)(!1),s=(0,z.useRef)(),d=(0,z.useRef)(),{pathname:c}=(0,T.TH)();(0,z.useEffect)(()=>{o(!1)},[c]),(0,z.useEffect)(()=>(document.addEventListener("mouseup",u),document.addEventListener("touchend",u),()=>{document.addEventListener("mouseup",u),document.removeEventListener("touchend",u)}),[]);let u=e=>{let{current:t}=d;if(null==t?void 0:t.contains(e.target))return;let{current:n}=s;n&&!n.contains(e.target)&&l(!1)};return(0,S.jsxs)(z.Fragment,{children:[(0,S.jsxs)("div",{className:"rspress-sidebar-menu",children:[i.showSidebar?(0,S.jsxs)("button",{onClick:function(){o(!0)},className:"flex-center mr-auto",children:[(0,S.jsx)("div",{className:"text-md mr-2",children:(0,S.jsx)(tb,{icon:Z.Z})}),(0,S.jsx)("span",{className:"text-sm",children:"Menu"})]}):null,i.showAside?(0,S.jsxs)(z.Fragment,{children:[(0,S.jsxs)("button",{onClick:()=>l(e=>!e),className:"flex-center ml-auto",ref:d,children:[(0,S.jsx)("span",{className:"text-sm",children:e}),(0,S.jsx)("div",{className:"text-md mr-2",style:{transform:a?"rotate(90deg)":"rotate(0deg)",transition:"transform 0.2s ease-out",marginTop:"2px"},children:(0,S.jsx)(tb,{icon:W.Z})})]}),(0,S.jsx)(U.Z,{in:a,timeout:300,unmountOnExit:!0,classNames:"fly-in",nodeRef:s,children:(0,S.jsx)("div",{className:"rspress-local-toc-container",ref:s,children:(0,S.jsx)(C.of,{onItemClick:()=>{l(!1)}})})})]}):null]}),i.showSidebar?(0,S.jsxs)(z.Fragment,{children:[(0,S.jsx)(C.YE,{isSidebarOpen:r,beforeSidebar:t,afterSidebar:n,uiSwitch:i}),r?(0,S.jsx)("div",{onClick:function(){o(!1)},className:"rspress-sidebar-back-drop",style:{background:"rgba(0, 0, 0, 0.6)"}}):null]}):null]})}var tw=(0,z.createContext)({}),tk={asideContainer:"aside-container_edeb4",docLayout:"docLayout_edeb4",content:"content_edeb4"};function tj(e){var t,n;let{beforeDocFooter:i,afterDocFooter:r,beforeDoc:o,afterDoc:a,beforeOutline:l,afterOutline:s,beforeSidebar:d,afterSidebar:c,uiSwitch:u}=e,{siteData:h,page:p}=(0,P.Vi)(),{toc:m=[],frontmatter:f}=p,[g,x]=(0,z.useState)({}),{themeConfig:v}=h,b=null!=(t=v.enableScrollToTop)&&t,y=e$(),w=(null==y?void 0:y.outlineTitle)||(null==v?void 0:v.outlineTitle)||"ON THIS PAGE",k=null!=(n=null==f?void 0:f.overview)&&n,j=(0,S.jsx)(tw.Provider,{value:{tabData:g,setTabData:x},children:(0,S.jsx)(_.Zo,{components:(0,C.TJ)(),children:(0,S.jsx)(N.V,{})})});return(0,S.jsxs)("div",{className:`${tk.docLayout} pt-0`,style:ez({},u.showNavbar?{}:{marginTop:0}),children:[o,(0,S.jsx)(ty,{outlineTitle:w,beforeSidebar:d,afterSidebar:c,uiSwitch:u}),(0,S.jsxs)("div",{className:`${tk.content} rspress-doc-container flex flex-shrink-0 mx-auto`,children:[(0,S.jsx)("div",{className:"w-full flex-1",children:k?(0,S.jsx)(C.g2,{content:j}):(0,S.jsxs)("div",{children:[(0,S.jsx)("div",{className:"rspress-doc",children:j}),(0,S.jsxs)("div",{className:"rspress-doc-footer",children:[i,u.showDocFooter&&(0,S.jsx)(tv,{}),r]})]})}),b&&(0,S.jsx)(A.r,{children:(0,S.jsx)(C.pU,{})}),u.showAside?(0,S.jsx)("div",{className:tk.asideContainer,style:ez({},u.showNavbar?{}:{marginTop:0,paddingTop:"32px"}),children:(0,S.jsxs)("div",{children:[l,(0,S.jsx)(tf,{headers:m,outlineTitle:w}),s]})}):null]}),a]})}var tI=e=>{var t;let{top:n,bottom:i,beforeDocFooter:r,afterDocFooter:o,beforeDoc:a,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:o,beforeDoc:a,afterDoc:l,beforeSidebar:s,afterSidebar:d,beforeOutline:c,afterOutline:u},w={beforeHero:f,afterHero:g,beforeFeatures:x,afterFeatures:v},{siteData:k,page:j}=(0,P.Vi)(),{pageType:I,lang:_,title:A,frontmatter:O}=j,M=e$();tr();let L=null!=(t=null==O?void 0:O.title)?t:A,D=k.title||M.title;L=L&&"doc"===I?`${L} - ${D}`:D;let R=(null==O?void 0:O.description)||k.description||M.description,B=function(){var e,t;let{page:n,siteData:i}=(0,P.Vi)(),{frontmatter:r}=n,{themeConfig:o}=i,a=e$(),l=(0,T.TH)(),s=null!=(e=null==r?void 0:r.overview)&&e,d=()=>{var e,t;let n="undefined"==typeof window||window.top===window.self;return(null!=(t=null!=(e=null==r?void 0:r.outline)?e:null==o?void 0:o.outline)?t:n)&&!s},[c,u]=eU(),[h,p]=(0,z.useState)(d()),[m,f]=(0,z.useState)(null==(t=null==r?void 0:r.footer)||t),g=a.sidebar||{},x=(null==r?void 0:r.sidebar)!==!1&&Object.keys(g).length>0;return(0,z.useEffect)(()=>{p(d())},[n,i]),(0,z.useEffect)(()=>{let e=new URLSearchParams(l.search),t=document.documentElement.style,n=t.getPropertyValue("--rp-sidebar-width"),i=t.getPropertyValue("--rp-aside-width"),r=e.get("navbar"),o=e.get("sidebar"),a=e.get("outline"),s=e.get("footer");return"0"===r&&u(!1),"0"===o&&document.documentElement.style.setProperty("--rp-sidebar-width","0px"),"0"===a&&document.documentElement.style.setProperty("--rp-aside-width","0px"),"0"===s&&f(!1),()=>{document.documentElement.style.setProperty("--rp-sidebar-width",n),document.documentElement.style.setProperty("--rp-aside-width",i),u(c),f(m)}},[l.search]),{showAside:h,showNavbar:c,showSidebar:x,showDocFooter:m}}();return(0,S.jsxs)("div",{children:[(0,S.jsxs)(E.ql,{htmlAttributes:{lang:_||"en"},children:[L?(0,S.jsx)("title",{children:L}):null,R?(0,S.jsx)("meta",{name:"description",content:R}):null]}),n,"blank"!==I&&B.showNavbar&&(0,S.jsx)(C.JL,{beforeNavTitle:h,afterNavTitle:p,beforeNav:m,afterNavMenu:b}),(0,S.jsx)("section",{children:(()=>{switch(I){case"home":return(0,S.jsx)(C.ZP.HomeLayout,ez({},w));case"doc":return(0,S.jsx)(tj,e_(ez({},y),{uiSwitch:B}));case"404":return(0,S.jsx)(C.ZP.NotFoundLayout,{});case"custom":case"blank":return(0,S.jsx)(N.V,{});default:return(0,S.jsx)(tj,ez({},y))}})()}),i]})};function tP(e){let{beforeHero:t,afterHero:n,beforeFeatures:i,afterFeatures:r}=e,{page:{frontmatter:o}}=(0,P.Vi)();return(0,S.jsxs)("div",{className:"relative",style:{minHeight:"calc(100vh - var(--rp-nav-height))",paddingBottom:"80px"},children:[(0,S.jsxs)("div",{className:"pb-12",children:[t,(0,S.jsx)(C.xB,{frontmatter:o}),n,i,(0,S.jsx)(C.BZ,{frontmatter:o}),r]}),(0,S.jsx)(C.xK,{})]})}var tS={title:"title_3b154",blockquote:"blockquote_3b154",link:"link_3b154","inline-link":"inline-link_3b154"},tE=e=>(0,S.jsx)("h1",e_(ez({},e),{className:`text-3xl mb-10 leading-10 tracking-tight ${tS.title}`})),tC=e=>(0,S.jsx)("h2",e_(ez({},e),{className:`mt-12 mb-6 pt-8 text-2xl tracking-tight border-t-[1px] border-divider-light ${tS.title}`})),tN=e=>(0,S.jsx)("h3",e_(ez({},e),{className:`mt-10 mb-2 leading-7 text-xl ${tS.title}`})),tz=e=>(0,S.jsx)("h4",e_(ez({},e),{className:`mt-8 leading-6 text-base ${tS.title}`})),t_=e=>(0,S.jsx)("h5",e_(ez({},e),{className:tS.title})),tA=e=>(0,S.jsx)("h6",e_(ez({},e),{className:tS.title})),tT=e=>(0,S.jsx)("ol",e_(ez({},e),{className:"list-decimal pl-5 my-4 leading-7"})),tO=e=>(0,S.jsx)("ul",e_(ez({},e),{className:"list-disc pl-5 my-4 leading-7"})),tM=e=>(0,S.jsx)("li",e_(ez({},e),{className:"[&:not(:first-child)]:mt-2"})),tL=e=>(0,S.jsx)("table",e_(ez({},e),{className:"block border-collapse text-base my-5 overflow-x-auto leading-7 border-gray-light-2"})),tD=e=>(0,S.jsx)("tr",e_(ez({},e),{className:"border border-solid transition-colors duration-500 even:bg-soft border-gray-light-2"})),tR=e=>(0,S.jsx)("td",e_(ez({},e),{className:"border border-solid px-4 py-2 border-gray-light-2"})),tB=e=>(0,S.jsx)("th",e_(ez({},e),{className:"border border-solid px-4 py-2 text-text-1 text-base font-semibold border-gray-light-2"})),t$=e=>(0,S.jsx)("hr",e_(ez({},e),{className:"my-12 border-t border-solid border-divider-light"})),tF=e=>{let{href:t="",className:n=""}=e,{normalizeLinkHref:i}=eQ();return n.includes("header-anchor")||t.startsWith("#")?(0,S.jsx)("a",e_(ez({},e),{className:`${tS.link} ${n}`})):(0,S.jsx)(C.rU,e_(ez({},e),{className:`${n} ${tS.link} ${tS["inline-link"]}`,href:i(t)}))},tH=e=>(0,S.jsx)("p",e_(ez({},e),{className:"my-4 leading-7"})),tZ=e=>(0,S.jsx)("blockquote",e_(ez({},e),{className:`border-l-2 border-solid border-divider pl-4 my-6 transition-colors duration-500 ${tS.blockquote}`})),tW=e=>(0,S.jsx)("strong",e_(ez({},e),{className:"font-semibold"})),tU={"code-button-group":"code-button-group_15153",codeButtonGroup:"code-button-group_15153","code-copy-button":"code-copy-button_15153",codeCopyButton:"code-copy-button_15153","icon-success":"icon-success_15153",iconSuccess:"icon-success_15153","code-copied":"code-copied_15153",codeCopied:"code-copied_15153","icon-copy":"icon-copy_15153",iconCopy:"icon-copy_15153","icon-wrapped":"icon-wrapped_15153",iconWrapped:"icon-wrapped_15153","wrapped-btn":"wrapped-btn_15153",wrappedBtn:"wrapped-btn_15153","icon-wrap":"icon-wrap_15153",iconWrap:"icon-wrap_15153"},tV={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"}},tq=!1;function tG(e){var t;let{siteData:n}=(0,P.Vi)(),{meta:i,language:r,codeWrap:o}=e,{showLineNumbers:a}=n.markdown,l="",s=[];return i&&(l=(null==(t=/{[\d,-]*}/i.exec(i))?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()),!tq&&(Object.keys(G.Z).forEach(e=>{Y.Z.registerLanguage(e,G.Z[e])}),tq=!0),(0,S.jsx)(Y.Z,{language:r,style:tV,wrapLines:!0,className:"code",wrapLongLines:o,customStyle:{backgroundColor:"inherit"},showLineNumbers:a||s.length>0,lineProps:e=>({style:e_(ez({},s.includes(e)?{backgroundColor:"var(--rp-code-line-highlight-color)"}:{}),{display:"block",padding:"0 1.25rem"})}),children:String(e.children).trim()})}var tY=new Map;function tQ({codeBlockRef:e}){let t=(0,z.useRef)(null);return(0,S.jsxs)("button",{className:tU.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(Q(n)&&t){t.classList.add(tU.codeCopied),clearTimeout(tY.get(t));let e=setTimeout(()=>{t.classList.remove(tU.codeCopied),t.blur(),tY.delete(t)},2e3);tY.set(t,e)}})(e.current,t.current),ref:t,children:[(0,S.jsx)(tb,{icon:K.Z,className:tU.iconCopy}),(0,S.jsx)(tb,{icon:J.Z,className:tU.iconSuccess})]})}function tK(e){var t;let{siteData:n}=(0,P.Vi)(),i=null!=(t=e.codeHighlighter)?t:n.markdown.codeHighlighter,{defaultWrapCode:r}=n.markdown,[o,a]=(0,z.useState)(r),l=(0,z.useRef)(null),s=(0,z.useRef)(),{className:d}=e,c=null==d?void 0:d.replace(/language-/,"");if(!c)return(0,S.jsx)("code",ez({},e));let u=e=>{o?null==e||e.classList.remove(tU.wrappedBtn):null==e||e.classList.add(tU.wrappedBtn),a(!o)};return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)("div",{ref:s,children:(()=>{if("prism"===i)return(0,S.jsx)(tG,e_(ez({},e),{language:c,codeWrap:o}));return(0,S.jsx)("code",ez({},e))})()}),(0,S.jsxs)("div",{className:tU.codeButtonGroup,children:[(0,S.jsxs)("button",{ref:l,className:tU.codeWrapButton,onClick:()=>u(l.current),children:[(0,S.jsx)(tb,{icon:q.Z,className:tU.iconWrapped}),(0,S.jsx)(tb,{icon:V.Z,className:tU.iconWrap})]}),(0,S.jsx)(tQ,{codeBlockRef:s})]})]})}function tJ({children:e}){let t=e=>{let{className:t,meta:n}=e.props,i=function(e){var t,n;if(!e)return"";let i=e,r=/{[\d,-]*}/i;return(null==(t=r.exec(e))?void 0:t[0])&&(i=e.replace(r,"").trim()),null==(i=null!=(n=i.split("=")[1])?n:"")?void 0:i.replace(/["'`]/g,"")}(n);return(0,S.jsxs)("div",{className:t||"language-bash",children:[i&&(0,S.jsx)("div",{className:"rspress-code-title",children:i}),(0,S.jsx)("div",{className:"rspress-code-content rspress-scrollbar",children:e})]})};return Array.isArray(e)?(0,S.jsx)("div",{children:e.map(e=>t(e))}):t(e)}var tX=e=>(0,S.jsx)("img",e_(ez({},e),{src:(0,O.i6)(e.src||"")}));function t0(){return{h1:tE,h2:tC,h3:tN,h4:tz,h5:t_,h6:tA,ul:tO,ol:tT,li:tM,table:tL,td:tR,th:tB,tr:tD,hr:t$,p:tH,blockquote:tZ,strong:tW,a:tF,code:tK,pre:tJ,img:tX}}var t1={badge:"badge_99dcf",info:"info_99dcf",warning:"warning_99dcf",danger:"danger_99dcf"};function t2(e){let{text:t,type:n="info"}=e;return(0,S.jsx)("span",{className:`inline-block rounded-full border border-solid border-transparent font-medium ${t1.badge} ${t1[n]}`,children:t})}var t3={button:"button_72e53",medium:"medium_72e53",big:"big_72e53",brand:"brand_72e53",alt:"alt_72e53"};function t4(e){let{theme:t="brand",size:n="big",href:i="/",external:r=!1,className:o=""}=e,a=null;return"button"===e.type?a="button":"a"===e.type&&(a=r?"a":C.rU),z.createElement(null!=a?a:"a",{className:`${t3.button} ${t3[t]} ${t3[n]} ${o}`,href:i},e.text)}var t5={editLink:"editLink_2a169"};function t6(){let e=eW();if(!e)return null;let{text:t,link:n}=e;return(0,S.jsx)("a",{href:n,target:"_blank",className:t5.editLink,children:t})}var t7={"grid-2":"grid-2_d48e3",grid2:"grid-2_d48e3","grid-4":"grid-4_d48e3",grid4:"grid-4_d48e3","grid-6":"grid-6_d48e3",grid6:"grid-6_d48e3","grid-3":"grid-3_d48e3",grid3:"grid-3_d48e3",featureCard:"featureCard_d48e3"},t8=e=>{let{span:t}=e;return`grid-${t||4}`};function t9({frontmatter:e}){let t=null==e?void 0:e.features;return(0,S.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,S.jsx)("div",{className:`${t7[t8(e)]} rounded hover:var(--rp-c-brand)`,children:(0,S.jsx)("div",{className:"h-full p-2",children:(0,S.jsxs)("article",{className:`rspress-home-feature-card ${t7.featureCard} h-full p-8 rounded-4xl border-transparent`,style:{cursor:r?"pointer":"auto"},onClick:()=>{r&&(window.location.href=r)},children:[t?(0,S.jsx)("div",{className:"flex-center",children:(0,S.jsx)("div",{className:"rspress-home-feature-icon w-12 h-12 text-3xl text-center",children:t})}):null,(0,S.jsx)("h2",{className:"rspress-home-feature-title font-bold text-center",children:n}),(0,S.jsx)("p",{className:"rspress-home-feature-detail leading-6 pt-2 text-sm text-text-2 font-medium",children:tp(i)})]},n)})},n)})})}function ne(){let{siteData:e}=(0,P.Vi)(),{message:t}=e.themeConfig.footer||{};return(0,S.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,S.jsx)("div",{className:"m-auto w-full text-center",children:t&&(0,S.jsx)("div",{className:"font-meduim text-sm text-text-2",children:t})})})}var nt="clip_c867a",nn="mask_c867a",ni={name:"modern",text:"modern ssg",tagline:"modern ssg",actions:[],image:void 0};function nr({frontmatter:e}){var t,n,i,r,o;let a=(null==e?void 0:e.hero)||ni,l=void 0!==a.image,s=l?"sm:max-w-xl":"sm:max-w-4xl",d=a.text?a.text.toString().split(/\n/g).filter(e=>""!==e):[];return(0,S.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 relative",children:[(0,S.jsx)("div",{className:nn,style:{left:l?"75%":"50%"}}),(0,S.jsxs)("div",{className:"m-auto flex flex-col md:flex-row max-w-6xl min-h-[50vh] mt-12 sm:mt-0",children:[(0,S.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,S.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,S.jsx)("span",{className:nt,style:{lineHeight:"1.3"},children:tp(a.name)})}),0!==d.length&&d.map(e=>(0,S.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 ${s}`,style:{lineHeight:"1.2"},children:tp(e)},e)),(0,S.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 ${s}`,children:tp(a.tagline)}),(null==(t=a.actions)?void 0:t.length)&&(0,S.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:a.actions.map(e=>(0,S.jsx)("div",{className:"flex flex-shrink-0 p-1",children:(0,S.jsx)(C.zx,{type:"a",text:tp(e.text),href:(0,O.AP)(e.link),theme:e.theme,className:"w-full"})},e.link))})]}),l?(0,S.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,S.jsx)("img",{src:(0,O.i6)(null==(n=a.image)?void 0:n.src),alt:null==(i=a.image)?void 0:i.alt,srcSet:no(null==(r=a.image)?void 0:r.srcset),sizes:no(null==(o=a.image)?void 0:o.sizes),width:375,height:375})}):null]})]})}function no(e){return(Array.isArray(e)?e:[e]).filter(Boolean).join(", ")||void 0}function na(){let{lastUpdatedText:e="Last Updated"}=e$(),{page:{lastUpdatedTime:t},siteData:n}=(0,P.Vi)(),{themeConfig:i}=n,r=(null==i?void 0:i.lastUpdatedText)||e;return(0,S.jsx)("div",{className:"flex text-sm text-text-2 leading-6 sm:leading-8 font-medium",children:(0,S.jsxs)("p",{children:[r,": ",(0,S.jsx)("span",{children:t})]})})}var nl={link:"link_03735"};function ns(e){let{href:t="/",children:n,className:i="",onNavigate:r,keepCurrentParams:o=!1}=e,a=eA(e,["href","children","className","onNavigate","keepCurrentParams"]),l=(0,M.xf)(t),s=l?"_blank":"",d=l?"noopener noreferrer":void 0,c=l?t:(0,O.pJ)((0,O.AP)(t)),u=(0,T.s0)(),{pathname:h,search:p}=(0,T.TH)(),m=o?c+p:c,f=(0,O.pV)(h,c);return l?(0,S.jsx)("a",e_(ez({},a),{href:c,target:s,rel:d,className:`${nl.link} ${i}`,children:n})):(0,S.jsx)("a",e_(ez({},a),{className:`${nl.link} ${i} cursor-pointer`,rel:d,target:s,onClick:e=>eR(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=c.split("#")[1];if(!l&&f&&t){let e=document.getElementById(t);e&&eq(e,!0);return}if(!f){let e=(0,X.fp)(et.routes,(0,O.Tm)(c));if(null==e?void 0:e.length){let t=setTimeout(()=>{ee.start()},200);yield e[0].route.preload(),clearTimeout(t),ee.done()}null==r||r(),u(m,{replace:!1})}}),href:c,children:n}))}ee.configure({showSpinner:!1});var nd={hidden:"hidden_f6cde",container:"container_f6cde",navContainer:"navContainer_f6cde",leftNav:"leftNav_f6cde",rightNav:"rightNav_f6cde",singleItem:"singleItem_f6cde",activeItem:"activeItem_f6cde",navBarTitle:"navBarTitle_f6cde","social-links-icon":"social-links-icon_f6cde",socialLinksIcon:"social-links-icon_f6cde","menu-item":"menu-item_f6cde",menuItem:"menu-item_f6cde",mobileNavMenu:"mobileNavMenu_f6cde",mask:"mask_f6cde",docPage:"docPage_f6cde"};function nc(e){let{pathname:t,base:n}=e,i=new RegExp(e.activeMatch||e.link).test((0,M.tz)(t,n));return(0,S.jsx)(C.rU,{href:(0,O.AP)(e.link),children:(0,S.jsxs)("div",{className:`rspress-nav-menu-item ${nd.singleItem} ${i?nd.activeItem:""} text-sm font-medium mx-1.5 px-3 py-2 flex items-center`,children:[(0,S.jsx)(C.Vp,{tag:e.tag}),e.text,e.rightIcon]},e.text)})}function nu({onClick:e}){let{theme:t,setTheme:n}=(0,z.useContext)(P.Ni);return(0,S.jsx)("div",{onClick:()=>{n("dark"===t?"light":"dark"),null==e||e()},className:"md:mr-2 rspress-nav-appearance",children:(0,S.jsxs)("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 w-7 h-7",children:[(0,S.jsx)(tb,{className:"dark:hidden",icon:er.Z,width:"18",height:"18",fill:"currentColor"}),(0,S.jsx)(tb,{className:"hidden dark:block",icon:eo.Z,width:"18",height:"18",fill:"currentColor"})]})})}var nh={socialLinksIcon:"social-links-icon_93d67",menuItem:"menu-item_93d67"},np={discord:(0,S.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,S.jsx)("title",{children:"Discord"}),(0,S.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,S.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,S.jsx)("title",{children:"Facebook"}),(0,S.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,S.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,S.jsx)("title",{children:"GitHub"}),(0,S.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,S.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,S.jsx)("title",{children:"GitLab"}),(0,S.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,S.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,S.jsx)("title",{children:"Instagram"}),(0,S.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,S.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,S.jsx)("title",{children:"LinkedIn"}),(0,S.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,S.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,S.jsx)("title",{children:"Slack"}),(0,S.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,S.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,S.jsx)("title",{children:"Twitter"}),(0,S.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,S.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,S.jsx)("title",{children:"YouTube"}),(0,S.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,S.jsxs)("svg",{className:"icon",viewBox:"0 0 1024 1024",version:"1.1",width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg","data-spm-anchor-id":"a313x.7781069.0.i5",children:[(0,S.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,S.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,S.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",width:"24",height:"24",children:(0,S.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,S.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",width:"24",height:"24",children:(0,S.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,S.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",width:"24",height:"24",children:(0,S.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,S.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",width:"24",height:"24",children:(0,S.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,S.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",width:"24",height:"24",children:(0,S.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,S.jsxs)("svg",{viewBox:"0 0 24 24",width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,S.jsx)("title",{children:"Lark"}),(0,S.jsx)("path",{d:"M8.813 5.477c1.038.836 2.286 2.045 3.3 3.495.171.23.377.576.457.71l.034.056a8.803 8.803 0 0 0-.922 1.3l-.271-.494C9.655 7.53 6.3 5.477 6.137 5.377a.447.447 0 0 1-.006-.004l-.666-.393-.107-.086a.499.499 0 0 1 .306-.885L6.084 4h7.997c.159.006.318.037.47.092.174.064.317.174.458.308.134.143.272.296.403.448.622.675 1.324 1.688 1.324 1.688-.573.193-1.349.736-1.349.736a5.095 5.095 0 0 0-.348-.54 20.665 20.665 0 0 0-1.037-1.255H8.813Z",fill:"currentColor"}),(0,S.jsx)("path",{d:"M18.482 7.507a5.42 5.42 0 0 1 4.04.717c.248.168.788.635.242 1.233-1.7 1.67-2.194 3.225-2.63 4.599-.278.873-.541 1.697-1.066 2.424-1.813 2.508-4.114 4-6.837 4.434-.561.089-1.132.131-1.7.131-3.958 0-7.498-2.035-8.75-2.844h.003l-.161-.107c-.534-.378-.61-.723-.623-.989V7.055a.486.486 0 0 1 .827-.317l.482.589c5.082 6.201 9.126 8.063 11.626 8.53 2.246.424 3.631-.165 4.022-.37.333-.51.534-1.143.764-1.865l.006-.021c.406-1.276.898-2.821 2.322-4.477a3.93 3.93 0 0 0-2.28-.168c-1.761.394-3.403 1.96-4.89 4.643a8.27 8.27 0 0 0-.341.671c-.724-.107-1.334-.65-1.334-.65.128-.269.22-.455.345-.672 1.718-3.125 3.714-4.962 5.933-5.441ZM2.477 16.889c1.145.744 5.341 3.232 9.532 2.563 1.56-.247 2.963-.915 4.196-1.99-2.771.254-7.557-.753-13.728-7.666v7.093Z",fill:"currentColor"})]}),X:(0,S.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,S.jsx)("title",{children:"X"}),(0,S.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"})]})},nm=e=>{let{link:t,popperStyle:n={}}=e,{icon:i,mode:r="link",content:o}=t,a="object"==typeof i?(0,S.jsx)("div",{dangerouslySetInnerHTML:{__html:i.svg}}):np[i],[l,s]=(0,z.useState)(!1),d=()=>{s(!0)},c=()=>{s(!1)};return"link"===r?(0,S.jsx)("a",{href:o,target:"_blank",rel:"noopener noreferrer",className:"social-links",children:(0,S.jsx)("div",{className:`${nh.socialLinksIcon}`,children:a})},o):"text"===r?(0,S.jsxs)("div",{className:`${nh.socialLinksIcon} cursor-pointer relative mx-3`,onMouseEnter:d,onMouseLeave:c,children:[a,l?(0,S.jsx)("div",{style:ez({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,S.jsx)("div",{className:"text-md",children:o})}):null]}):"img"===r?(0,S.jsxs)("div",{className:`${nh.socialLinksIcon} cursor-pointer relative`,onMouseEnter:d,onMouseLeave:c,children:[a,l?(0,S.jsx)("div",{className:"break-all z-[1] p-3 w-[50px] h-[50px] absolute right-0 bg-white dark:bg-dark rounded-xl",style:ez({boxShadow:"var(--rp-shadow-3)"},n),children:(0,S.jsx)("img",{src:o,alt:"img"})}):null]}):(0,S.jsx)("div",{})},nf=e=>{let{links:t,moreIconVisible:n=!1,mouseEnter:i}=e;return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)("div",{className:"flex-center h-full gap-x-4 transition-colors duration-300 md:mr-2",children:t.map((e,t)=>(0,S.jsx)(nm,{link:e,popperStyle:{top:"2.5rem"}},t))}),n?(0,S.jsx)("div",{className:"md:ml-1 p-2",onMouseEnter:i,children:(0,S.jsx)(tb,{icon:ea.Z})}):null]})},ng=e=>{let{links:t}=e;return(0,S.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,S.jsx)(nm,{link:e,popperStyle:{top:"1.25rem"}},e.content))})},nx=({socialLinks:e})=>{let t=e.length>3,n=[],i=[];e.forEach((e,t)=>{t<3?n.push(e):i.push(e)});let[r,o]=(0,z.useState)(!1);return(0,S.jsxs)("div",{className:`social-links ${nh.menuItem} flex-center relative`,onMouseLeave:()=>o(!1),children:[(0,S.jsx)(nf,{links:n,moreIconVisible:t,mouseEnter:()=>o(!0)}),r?(0,S.jsx)(ng,{links:i}):null]})};function nv(){var e,t;let{siteData:n,page:i}=(0,P.Vi)(),r=(0,P.aw)(),{pathname:o,search:a}=(0,T.TH)(),l=n.lang||"",s=n.multiVersion.default||"",d=Object.values(n.locales||n.themeConfig.locales||{}),c=(null==(e=n.route)?void 0:e.cleanUrls)||!1,u=d.length>1,{lang:h}=i,{base:p}=n;return u?{text:(0,S.jsx)(tb,{icon:el.Z,style:{width:"18px",height:"18px"}}),items:d.map(e=>({text:null==e?void 0:e.label,link:(0,M.$U)(o+a,{current:h,target:e.lang,default:l},{current:r,default:s},p,c)})),activeValue:null==(t=d.find(e=>h===e.lang))?void 0:t.label}:null}function nb(){var e;let{siteData:t}=(0,P.Vi)(),n=(0,P.aw)(),{pathname:i}=(0,T.TH)(),r=(null==(e=t.route)?void 0:e.cleanUrls)||!1,o=t.multiVersion.default||"",a=t.multiVersion.versions||[],{base:l}=t;return{items:a.map(e=>({text:e,link:(0,M.xM)(i,{current:n,target:e,default:o},l,r)})),text:n,activeValue:n}}var ny={navScreen:"navScreen_457e8",active:"active_457e8",container:"container_457e8",navMenu:"navMenu_457e8",navMenuItem:"navMenuItem_457e8",navAppearance:"navAppearance_457e8",socialAndAppearance:"socialAndAppearance_457e8",navScreenMenuGroup:"navScreenMenuGroup_457e8",open:"open_457e8",button:"button_457e8",buttonSpan:"buttonSpan_457e8",items:"items_457e8",down:"down_457e8"};function nw(e){let{activeValue:t}=e,[n,i]=(0,z.useState)(!1);function r({item:e}){return(0,S.jsx)("div",{className:"p-1 text-center",children:(0,S.jsx)("span",{className:"text-brand",children:e.text})})}function o({item:e}){return(0,S.jsx)("div",{className:"py-1 font-medium",children:(0,S.jsx)(C.rU,{href:e.link,children:(0,S.jsx)("div",{children:(0,S.jsx)("div",{className:"flex justify-center",children:(0,S.jsx)("span",{children:e.text})})})})})}let a=e=>t===e.text?(0,S.jsx)(r,{item:e},e.link):(0,S.jsx)(o,{item:e},e.link),l=e=>(0,S.jsxs)("div",{children:["link"in e?a(e):(0,S.jsx)("p",{className:"font-bold text-gray-400 my-1 not:first:border",children:e.text}),e.items.map(a)]});return(0,S.jsxs)("div",{className:`${n?ny.open:""} ${ny.navScreenMenuGroup} relative`,children:[(0,S.jsxs)("button",{className:ny.button,onClick:()=>{i(!n)},children:[(0,S.jsx)("span",{className:ny.buttonSpan,children:e.text}),(0,S.jsx)(es.Z,{className:`${n?ny.open:""} ${ny.down} `})]}),(0,S.jsx)("div",{children:(0,S.jsx)("div",{className:ny.items,children:e.items.map(e=>(0,S.jsx)("div",{children:"items"in e?l(e):a(e)},e.text))})})]})}function nk(){let{nav:e}=e$(),t=(0,P.aw)();return Array.isArray(e)?e:[...e[t.length>0?t:"default"]]}var nj=()=>{let e=nv();return(0,S.jsx)("div",{className:`${ny.navTranslations} flex text-sm font-bold justify-center`,children:(0,S.jsx)("div",{className:"mx-1.5 my-1",children:(0,S.jsx)(nw,ez({},e))})})},nI=()=>{let e=nb();return(0,S.jsx)("div",{className:`${ny.navTranslations} flex text-sm font-bold justify-center`,children:(0,S.jsx)("div",{className:"mx-1.5 my-1",children:(0,S.jsx)(nw,ez({},e))})})};function nP(e){var t;let{isScreenOpen:n,siteData:i,pathname:r}=e,o=(0,z.useRef)(null),a=i.themeConfig.locales||[],l=a.length>1,s=i.multiVersion.versions.length>1,d=nk(),c=!1!==i.themeConfig.darkMode,u=(null==(t=null==i?void 0:i.themeConfig)?void 0:t.socialLinks)||[],h=u.length>0,p=a.map(e=>e.lang||"zh")||[],{base:m}=i;return(0,z.useEffect)(()=>(o.current&&n&&(0,ei.Qp)(o.current,{reserveScrollBarGap:!0}),()=>{(0,ei.tP)()}),[n]),(0,S.jsx)("div",{className:`${ny.navScreen} ${n?ny.active:""}`,ref:o,id:"navScreen",children:(0,S.jsxs)("div",{className:ny.container,children:[(0,S.jsx)(({menuItems:e})=>(0,S.jsx)("div",{className:ny.navMenu,children:e.map(e=>(0,S.jsx)("div",{className:`${ny.navMenuItem} w-full`,children:"link"in e?(0,S.jsx)(nc,ez({pathname:r,base:m,langs:p},e),e.text):(0,S.jsx)("div",{className:"mx-3 last:mr-0",children:(0,S.jsx)(nw,e_(ez({},e),{items:"items"in e?e.items:e}))},e.text)},e.text))}),{menuItems:d}),(0,S.jsxs)("div",{className:"flex-center flex-col gap-2",children:[c&&(0,S.jsx)(()=>(0,S.jsx)("div",{className:`mt-2 ${ny.navAppearance} flex justify-center`,children:(0,S.jsx)(A.r,{children:(0,S.jsx)(nu,{})})}),{}),l&&(0,S.jsx)(nj,{}),s&&(0,S.jsx)(nI,{}),h&&(0,S.jsx)(nx,{socialLinks:u})]})]})})}var nS={navHamburger:"navHamburger_e7b06",active:"active_e7b06"};function nE(e){let{siteData:t,pathname:n}=e,{isScreenOpen:i,toggleScreen:r}=function(){let{pathname:e}=(0,T.TH)(),[t,n]=(0,z.useState)(!1);function i(){n(!0),window.addEventListener("resize",o)}function r(){n(!1),window.removeEventListener("resize",o)}function o(){window.outerWidth>=768&&r()}return(0,z.useEffect)(()=>{r()},[e]),{isScreenOpen:t,openScreen:i,closeScreen:r,toggleScreen:function(){t?r():i()}}}();return(0,S.jsxs)(z.Fragment,{children:[(0,S.jsx)(nP,{isScreenOpen:i,siteData:t,pathname:n}),(0,S.jsx)("button",{onClick:r,"aria-label":"mobile hamburger",className:`${i?nS.active:""} ${nS.navHamburger} text-gray-500`,children:(0,S.jsx)(tb,{icon:en.Z,fill:"currentColor"})})]})}function nC({item:e}){return(0,S.jsxs)("div",{className:"rounded-2xl my-1 flex",style:{padding:"0.4rem 1.5rem 0.4rem 0.75rem"},children:[e.tag&&(0,S.jsx)(C.Vp,{tag:e.tag}),(0,S.jsx)("span",{className:"text-brand",children:e.text})]},e.link)}function nN({item:e}){return(0,S.jsx)("div",{className:"font-medium my-1",children:(0,S.jsx)(C.rU,{href:e.link,children:(0,S.jsx)("div",{className:"rounded-2xl hover:bg-mute",style:{padding:"0.4rem 1.5rem 0.4rem 0.75rem"},children:(0,S.jsxs)("div",{className:"flex",children:[e.tag&&(0,S.jsx)(C.Vp,{tag:e.tag}),(0,S.jsx)("span",{children:e.text})]})})})},e.link)}function nz(e){let{activeValue:t,items:n,base:i="",link:r="",pathname:o=""}=e,[a,l]=(0,z.useState)(!1),s=e=>{let n=new RegExp(e.activeMatch||e.link).test((0,M.tz)(o,i));return t===e.text||!t&&n?(0,S.jsx)(nC,{item:e},e.link):(0,S.jsx)(nN,{item:e},e.link)},d=e=>(0,S.jsxs)("div",{children:["link"in e?s(e):(0,S.jsx)("p",{className:"font-bold text-gray-400 my-1 not:first:border",children:e.text}),e.items.map(s)]});return(0,S.jsxs)("div",{className:"relative flex-center h-14",onMouseLeave:()=>l(!1),children:[(0,S.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,S.jsx)(nc,e_(ez({},e),{rightIcon:(0,S.jsx)(tb,{icon:es.Z})})):(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("span",{className:"text-sm font-medium flex",style:{marginRight:"2px"},children:[(0,S.jsx)(C.Vp,{tag:e.tag}),e.text]}),(0,S.jsx)(tb,{icon:es.Z})]})}),(0,S.jsx)("div",{className:"rspress-nav-menu-group-content absolute mx-0.8 transition-opacity duration-300",style:{opacity:a?1:0,visibility:a?"visible":"hidden",right:0,top:"52px"},children:(0,S.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,S.jsx)("div",{children:"items"in e?d(e):s(e)},e.text))})})]})}var n_=()=>{var e;let{siteData:t}=(0,P.Vi)(),n=e$(),{logo:i,logoText:r}=t,o=null!=(e=n.title)?e:t.title,a=(0,z.useMemo)(()=>i?"string"==typeof i?(0,S.jsx)("img",{src:(0,O.i6)(i),alt:"logo",id:"logo",className:"mr-4 rspress-logo"}):(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)("img",{src:(0,O.i6)(i.light),alt:"logo",id:"logo",className:"mr-4 rspress-logo dark:hidden"}),(0,S.jsx)("img",{src:(0,O.i6)(i.dark),alt:"logo",id:"logo",className:"mr-4 rspress-logo hidden dark:block"})]}):null,[i]);return(0,S.jsx)("div",{className:`${nd.navBarTitle}`,children:(0,S.jsxs)("a",{href:(0,O.pJ)(n.langRoutePrefix||"/"),className:"flex items-center w-full h-full text-base font-semibold transition-opacity duration-300 hover:opacity-60",children:[a,r&&(0,S.jsx)("span",{children:r}),!a&&!r&&(0,S.jsx)("span",{children:o})]})})};function nA(){let e=nv();return(0,S.jsx)("div",{className:`translation ${nd.menuItem} flex text-sm font-bold items-center px-3 py-2`,children:(0,S.jsx)("div",{children:(0,S.jsx)(nz,ez({},e))})})}function nT(){let e=nb();return(0,S.jsx)("div",{className:`translation ${nd.menuItem} flex text-sm font-bold items-center px-3 py-2`,children:(0,S.jsx)("div",{children:(0,S.jsx)(nz,ez({},e))})})}function nO(e){var t;let{beforeNavTitle:n,afterNavTitle:i,beforeNav:r,afterNavMenu:o}=e,{siteData:a}=(0,P.Vi)(),{base:l}=a,{pathname:s}=(0,T.TH)(),[d,c]=(0,z.useState)(!1),u=eV(),h=Object.values(a.locales||a.themeConfig.locales||{}),p=h.length>1,m=a.multiVersion.versions.length>1,f=a.themeConfig.socialLinks||[],g=f.length>0,x=h.map(e=>e.lang||"")||[],v=()=>{c(th())};(0,z.useEffect)(()=>(window.addEventListener("resize",v),c(th()),()=>{window.removeEventListener("resize",v)}),[]);let b=({menuItems:e})=>(0,S.jsx)("div",{className:"rspress-nav-menu menu h-14",children:e.map(e=>"items"in e||Array.isArray(e)?(0,S.jsx)("div",{className:"mx-3 last:mr-0",children:(0,S.jsx)(nz,e_(ez({},e),{base:l,pathname:s,langs:x,items:"items"in e?e.items:e}))},e.text):(0,S.jsx)(nc,ez({pathname:s,langs:x,base:l},e),e.link))}),y=nk(),w=e=>{var t;return null!=(t=e.position)?t:"right"},k=y.filter(e=>"left"===w(e)),j=y.filter(e=>"right"===w(e)),I=(null==(t=null==a?void 0:a.themeConfig)?void 0:t.search)!==!1,E=!1!==a.themeConfig.darkMode;return(0,S.jsxs)(S.Fragment,{children:[r,(0,S.jsx)("div",{className:`${nd.navContainer} rspress-nav px-6 ${u&&!d?nd.hidden:""}`,style:{position:d?"relative":"sticky"},children:(0,S.jsxs)("div",{className:`${nd.container} flex justify-between items-center h-full`,children:[n,(0,S.jsx)(n_,{}),i,(0,S.jsxs)("div",{className:`${nd.content} flex flex-1 justify-end items-center`,children:[k.length>0?(0,S.jsx)("div",{className:nd.leftNav,children:(0,S.jsx)(b,{menuItems:k})}):null,(0,S.jsxs)("div",{className:nd.rightNav,children:[I&&(0,S.jsx)("div",{className:"flex sm:flex-1 items-center sm:pl-4 sm:pr-2",children:(0,S.jsx)(C.ol,{})}),(0,S.jsx)(b,{menuItems:j}),(0,S.jsxs)("div",{className:"flex-center flex-row",children:[p&&(0,S.jsx)(nA,{}),m&&(0,S.jsx)(nT,{}),E&&(0,S.jsx)("div",{className:"mx-2",children:(0,S.jsx)(nu,{})}),g&&(0,S.jsx)(nx,{socialLinks:f})]})]}),o,(0,S.jsxs)("div",{className:nd.mobileNavMenu,children:[d&&I&&(0,S.jsx)(C.ol,{}),(0,S.jsx)(nE,{siteData:a,pathname:s})]})]})]})})]})}var nM={"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","level-3":"level-3_8f375",level3:"level-3_8f375","level-4":"level-4_8f375",level4:"level-4_8f375","overview-group":"overview-group_8f375",overviewGroup:"overview-group_8f375",header:"header_8f375"};function nL(e){let{siteData:t,page:{routePath:n,title:i,frontmatter:r}}=(0,P.Vi)(),{content:o,groups:a,defaultGroupTitle:l="Others"}=e,s=e=>(0,O.pJ)(e).startsWith(n.replace(/overview$/,""))&&!(0,O.pV)((0,O.pJ)(e),n),d=e=>"link"in e&&e.link?e.link:"items"in e?d(e.items[0]):"",c=(e,t,n)=>{for(let i of e){if((0,O.pJ)(i.link)===t)return[i];if(i.items){let e=c(i.items,t,n);if(e)return e}}return n},{pages:u}=t,h=u.filter(e=>s(e.routePath)),{items:p}=eH();function m(t,i,r){var o,a,l,s,c;if("dividerType"in t)return t;if((0,O.pJ)(t.link)===`${n}index`&&(null==r?void 0:r.overview)===!0)return!1;let u=null!=(s=null!=(l=null!=(a=null!=(o=null==e?void 0:e.overviewHeaders)?o:t.overviewHeaders)?a:null==r?void 0:r.overviewHeaders)?l:null==i?void 0:i.overviewHeaders)?s:[2],p=h.find(e=>(0,O.pV)(e.routePath,(0,O.pJ)(t.link||""))),m=d(t);return e_(ez({},t),{link:m,headers:(null==(c=null==p?void 0:p.toc)?void 0:c.filter(e=>u.some(t=>e.depth===t)))||[]})}p=c(p,n,p);let f=null!=a?a:(0,z.useMemo)(()=>{let e=p.filter(e=>"items"in e&&!!e.items&&e.items.filter(e=>s(d(e))).length>0).map(e=>({name:e.text||"",items:e.items.map(t=>m(t,e,r)).filter(Boolean)})),t=p.filter(e=>!("items"in e)&&s(e.link));return[...e,...t.length>0?[{name:l,items:t.map(e=>m(e))}]:[]]},[p,n,r]);return(0,S.jsxs)("div",{className:"overview-index mx-auto px-8",children:[(0,S.jsx)("div",{className:"flex items-center justify-between",children:!i&&(0,S.jsx)("h1",{className:"text-3xl leading-10 tracking-tight",children:"Overview"})}),o,f.map(e=>(0,S.jsxs)("div",{className:"mb-16",children:[e.name===l&&1===f.length?(0,S.jsx)("h2",{style:{paddingTop:0}}):(0,S.jsx)("h2",{children:tm(e.name)}),(0,S.jsx)("div",{className:nM.overviewGroups,children:e.items.map(e=>{var t;return(0,S.jsxs)("div",{className:nM.overviewGroup,children:[(0,S.jsx)("div",{className:"flex",children:(0,S.jsx)("h3",{style:{marginBottom:8},children:(0,S.jsx)(C.rU,{href:(0,O.AP)(e.link),children:tm(e.text)})})}),(0,S.jsx)("ul",{className:"list-none",children:null==(t=e.headers)?void 0:t.map(t=>(0,S.jsx)("li",{className:`${nM.overviewGroupLi} ${nM[`level${t.depth}`]} first:mt-2`,children:(0,S.jsx)(C.rU,{href:`${(0,O.AP)(e.link)}#${t.id}`,children:tm(t.text)})},t.id))})]},e.link)})})]},e.name))]})}function nD(e){return(0,S.jsxs)("svg",e_(ez({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 256 256"},e),{children:[(0,S.jsx)("path",{fill:"#C12127",d:"M0 256V0h256v256z"}),(0,S.jsx)("path",{fill:"#FFF",d:"M48 48h160v160h-32V80h-48v128H48z"})]}))}function nR(e){return(0,S.jsx)("svg",e_(ez({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 128 128"},e),{children:(0,S.jsxs)("g",{fill:"#2c8ebb",children:[(0,S.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,S.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 nB(e){return(0,S.jsxs)("svg",e_(ez({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 128 128"},e),{children:[(0,S.jsx)("path",{fill:"#f8ab00",d:"M0 .004V40h39.996V.004Zm43.996 0V40h40V.004Zm44.008 0V40H128V.004Zm0 43.996v39.996H128V44Z"}),(0,S.jsx)("path",{fill:"#4c4c4c",d:"M43.996 44v39.996h40V44ZM0 87.996v40h39.996v-40Zm43.996 0v40h40v-40Zm44.008 0v40H128v-40Z"})]}))}function n$(e){return(0,S.jsxs)("svg",e_(ez({id:"Bun",width:"1.2em",height:"1.2em",viewBox:"0 0 80 70"},e),{children:[(0,S.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,S.jsxs)("g",{id:"Body",children:[(0,S.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,S.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,S.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,S.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,S.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,S.jsxs)("g",{id:"Mouth",children:[(0,S.jsx)("g",{id:"Background-2","data-name":"Background",children:(0,S.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,S.jsxs)("g",{id:"Tongue",children:[(0,S.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,S.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,S.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,S.jsxs)("g",{id:"Face",children:[(0,S.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,S.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,S.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,S.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 nF(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 nH({command:e,additionalTabs:t=[]}){let n;let i={npm:(0,S.jsx)(nD,{}),yarn:(0,S.jsx)(nR,{}),pnpm:(0,S.jsx)(nB,{}),bun:(0,S.jsx)(n$,{})};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=nF(n.yarn)),n.bun&&(n.bun=nF(n.bun)),(0,S.jsx)(C.mQ,{values:Object.entries(n).map(([e])=>(0,S.jsxs)("div",{style:{display:"flex",alignItems:"center",fontSize:15},children:[i[e],(0,S.jsx)("span",{style:{marginLeft:6,marginBottom:2},children:e})]},e)),children:Object.entries(n).map(([e,t])=>(0,S.jsx)(C.OK,{children:(0,S.jsx)(tJ,{children:(0,S.jsx)(tK,{className:"language-js",codeHighlighter:"prism",children:t})})},e))})}var nZ={pagerLink:"pager-link_9b9a7",title:"title_9b9a7",next:"next_9b9a7",desc:"desc_9b9a7"};function nW(e){let{type:t,text:n,href:i}=e,{prevPageText:r="Previous Page",nextPageText:o="Next page"}=e$(),a="prev"===t?nZ.pagerLink:`${nZ.pagerLink} ${nZ.next}`;return(0,S.jsxs)(C.rU,{href:i,className:a,children:[(0,S.jsx)("span",{className:nZ.desc,children:"prev"===t?r:o}),(0,S.jsx)("span",{className:nZ.title,children:n})]})}var nU={scrollToTop:"scroll-to-top_1a167",entered:"entered_1a167"};function nV(){let[e,t]=(0,z.useState)(!1),n=()=>{t((window.scrollY||document.documentElement.scrollTop)>0)};return(0,z.useEffect)(()=>{window.addEventListener("scroll",n)},[]),(0,S.jsx)("button",{className:`${nU.scrollToTop} ${e?nU.entered:""}`,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},children:(0,S.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"w-6 h-6",children:(0,S.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 nq={mask:"mask_6e282",modal:"modal_6e282",inputForm:"inputForm_6e282",input:"input_6e282",close:"close_6e282",searchHits:"searchHits_6e282",groupTitle:"groupTitle_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"},nG={container:"container_fa768",tabList:"tab-list_fa768",tab:"tab_fa768",notSelected:"not-selected_fa768",selected:"selected_fa768",noScrollbar:"no-scrollbar_fa768"},nY=e=>{var t;return(t=e)&&"object"==typeof t&&"label"in t?e.label||e.value:e},nQ=(0,z.forwardRef)((e,t)=>{let{values:n,defaultValue:i,onChange:r,children:o,groupId:a,tabPosition:l="left",tabContainerClassName:s}=e,d=z.Children.toArray(o).filter(e=>!("string"==typeof e&&""===e.trim())),c=n||[];0===c.length&&(c=z.Children.map(d,e=>{var t,n,i;return(0,z.isValidElement)(e)?{label:null==(t=e.props)?void 0:t.label,value:(null==(n=e.props)?void 0:n.value)||(null==(i=e.props)?void 0:i.label)}:{label:void 0,value:void 0}}));let{tabData:u,setTabData:h}=(0,z.useContext)(tw),p=0;a&&void 0!==u[a]?p=u[a]:i&&(p=c.findIndex(e=>"string"==typeof e?e===i:!!e&&"object"==typeof e&&"value"in e&&e.value===i));let[m,f]=(0,z.useState)(p);return(0,S.jsxs)("div",{className:nG.container,ref:t,children:[(0,S.jsx)("div",{className:s,children:c.length?(0,S.jsx)("div",{className:`${nG.tabList} ${nG.noScrollbar}`,style:{justifyContent:"center"===l?"center":"flex-start"},children:c.map((e,t)=>(0,S.jsx)("div",{className:`${nG.tab} ${m===t?nG.selected:nG.notSelected}`,onClick:()=>{null==r||r(t),f(t),a&&h(e_(ez({},u),{[a]:t}))},children:nY(e)},t))}):null}),(0,S.jsx)("div",{children:z.Children.toArray(d)[m]})]})});function nK(e){var{children:t}=e,n=eA(e,["children"]);return(0,S.jsx)("div",e_(ez({},n),{className:"rounded px-2",children:t}))}function nJ({query:e}){return(0,S.jsxs)("div",{className:"flex flex-col items-center pt-8 pb-2",children:[(0,S.jsx)(tb,{icon:eg.Z,className:"mb-4 opacity-80"}),(0,S.jsxs)("p",{className:"mb-2",children:["No results for ",(0,S.jsxs)("b",{children:['"',e,'"']}),"."]}),(0,S.jsx)("p",{children:"Please try again with a different keyword."})]})}var nX={title:ey.Z,header:eb.Z,content:ex.Z};function n0({suggestion:e,closeSearch:t,isCurrent:n,setCurrentSuggestionIndex:i,inCurrentDocIndex:r,scrollTo:o}){var a,l;let s=nX[e.type],d=r&&!(0,M.yv)()?e1(e.link):e.link,c=(0,z.useRef)(null);n&&o(null==(a=null==c?void 0:c.current)?void 0:a.offsetTop,null==(l=null==c?void 0:c.current)?void 0:l.offsetHeight);let u=(e,t)=>{let n=[],i=0;for(let l of t){var r,o,a;let{start:t,length:s}=l,d=e.slice(i,t);let c=(r=e,o=t,a=s,function(e,t,n){let i="",r=0,o=e.length;for(let a=0;a0+n);a++){;r>t&&(i+=e.charAt(a))}return i}(r.slice(o),0,a));n.push(d),n.push((0,S.jsx)("span",{className:nq.mark,children:c},t)),i=t+c.length}return i{if("header"===e.type||"title"===e.type){let{header:t,highlightInfoList:n}=e;return(0,S.jsx)("div",{className:"font-medium",children:u(t,n)})}return(0,S.jsx)("div",{className:"font-medium",children:e.header})})();break;case"content":h=(0,S.jsxs)(S.Fragment,{children:[(()=>{if("content"!==e.type)return(0,S.jsx)("div",{});let{statement:t,highlightInfoList:n}=e;return(0,S.jsx)("div",{className:"text-sm text-gray-light w-full",children:u(t,n)})})(),(0,S.jsx)("p",{className:nq.titleForContent,children:e.title})]})}return(0,S.jsx)("li",{className:`${nq.suggestItem} ${n?nq.current:""}`,onMouseEnter:i,ref:c,children:(0,S.jsx)("a",{href:d,onClick:e=>{t(),e.stopPropagation()},target:r?"_self":"_blank",children:(0,S.jsxs)("div",{className:nq.suggestItemContainer,children:[(0,S.jsx)("div",{className:nq.hitIcon,children:(0,S.jsx)(tb,{icon:s})}),(0,S.jsx)("div",{className:nq.contentWrapper,children:(0,S.jsx)("span",{children:h})}),(0,S.jsx)("div",{className:nq.actionIcon,children:(0,S.jsx)(tb,{icon:ev.Z})})]})})},e.link)}var n1={ARROW_UP:"ArrowUp",ARROW_DOWN:"ArrowDown",ENTER:"Enter",SEARCH:"KeyK",ESC:"Escape"};function n2({focused:e,setFocused:t}){let[n,i]=(0,z.useState)(""),[r,o]=(0,z.useState)([]),a=(0,z.useRef)(null),[l,s]=(0,z.useState)(!0),[d,c]=(0,z.useState)(0),u=(0,z.useRef)(null),h=(0,z.useRef)(null),p=(0,z.useRef)(null),m=(0,z.useRef)(null),[f,g]=(0,z.useState)(!1),x=(e,t)=>{var n,i,o,a,l;if(f){let s=e+t-(null==(n=null==p?void 0:p.current)?void 0:n.offsetHeight)-(1===r.length?50:-10);s>(null==(i=null==p?void 0:p.current)?void 0:i.scrollTop)&&(null==(o=null==p?void 0:p.current)||o.scrollTo({top:s}));let d=1===r.length?e-70:e-10;d<(null==(a=null==p?void 0:p.current)?void 0:a.scrollTop)&&(null==(l=null==p?void 0:p.current)||l.scrollTo({top:d}))}},{siteData:v,page:{lang:b,version:y}}=(0,P.Vi)(),{sidebar:w}=e$(),{search:k,title:j}=v,I=k&&"remote"!==k.mode&&k.versioned,E=[{group:j,result:[],renderType:"default"}],[C,N]=(0,z.useState)([]),[_,A]=(0,z.useState)("default"),T=e=>eF(w,e).group;function O(){return eR(this,null,function*(){var e,t;if(!1===k)return;let n={currentLang:b,currentVersion:y,extractGroupName:T},i=new tn(ez(ez({indexName:j},k),n));u.current=i,h.current=n,yield Promise.all([u.current.init(),new Promise(e=>setTimeout(e,1e3))]),s(!1);let r=null==(e=a.current)?void 0:e.value;r&&o((yield null==(t=u.current)?void 0:t.match(r))||E)})}(0,z.useEffect)(()=>{let n=n=>{switch(n.code){case n1.SEARCH:(n.ctrlKey||n.metaKey)&&(n.preventDefault(),t(!e));break;case n1.ARROW_DOWN:e&&(n.preventDefault(),C&&"default"===_&&(g(!0),c((d+1)%C.length)));break;case n1.ARROW_UP:if(e&&(n.preventDefault(),"default"===_)){let e=C.length;g(!0),c((d-1+e)%e)}break;case n1.ENTER:if(d>=0&&"default"===_){let e=C[d];C===r[0].result?(window.location.href=(0,M.yv)()?e.link:e1(e.link),t(!1)):window.open(e.link)}break;case n1.ESC:t(!1)}};return document.addEventListener("keydown",n),()=>{document.removeEventListener("keydown",n)}},[c,t,C,d]),(0,z.useEffect)(()=>{e?(o(E),!u.current&&O()):i("")},[e]),(0,z.useEffect)(()=>{var e;let{currentLang:t,currentVersion:n}=null!=(e=h.current)?e:{},i=b!==t,r=I&&y!==n;!l&&(i||r)&&O()},[b,y,I]);let L=e=>eR(this,null,function*(){var t;let n=e;if(i(n),n){let e=[];if(ep.beforeSearch){let e=yield ep.beforeSearch(n);e&&(n=e)}let i=yield null==(t=u.current)?void 0:t.match(n);if(i&&e.push(...i),ep.H){let t=yield ep.H(n,e);t&&e.push(...t.map(e=>ez({renderType:"custom"},e)))}o(e||E),ep.afterSearch&&(yield ep.afterSearch(n,e)),e.length>0&&N(e[0].result)}}),D=(0,z.useMemo)(()=>(0,ec.Z)(L,150),[]),R=e=>(0,eu.Z)(e,"group"),B=-1,$=e=>{if(0===e.length&&!l)return(0,S.jsx)("div",{className:"mt-4 flex-center",children:(0,S.jsx)("div",{className:"p-2 font-bold text-md",style:{color:"#2c3e50"},children:"No results found"})});let n=R(e);return(0,S.jsx)("ul",{className:nq.suggestList,children:Object.keys(n).map(e=>{let i=n[e]||[];return(0,S.jsx)("li",{children:(0,S.jsx)("ul",{className:"pb-2",children:i.map(e=>{let n=++B;return(0,S.jsx)(n0,{suggestion:e,isCurrent:n===d,setCurrentSuggestionIndex:()=>{g(!1),c(n)},closeSearch:()=>t(!1),inCurrentDocIndex:C===r[0].result,scrollTo:x},`${e.title}-${n}`)})})},e)})})};return(0,S.jsx)(S.Fragment,{children:e&&(0,eh.createPortal)((0,S.jsx)("div",{className:nq.mask,onClick:()=>t(!1),children:(0,S.jsxs)("div",{className:`${nq.modal}`,onClick:e=>{t(!0),e.stopPropagation()},children:[(0,S.jsxs)("div",{className:"flex items-center",children:[(0,S.jsxs)("div",{className:nq.inputForm,children:[(0,S.jsx)("label",{children:(0,S.jsx)(tb,{icon:ed.Z})}),(0,S.jsx)("input",{className:nq.input,ref:a,placeholder:"Search Docs","aria-label":"Search",autoComplete:"off",autoFocus:!0,onChange:e=>D(e.target.value)}),(0,S.jsx)("label",{children:(0,S.jsx)(tb,{icon:em.Z,className:nq.close,onClick:e=>{a.current&&(e.stopPropagation(),n?(a.current.value="",i("")):t(!1))}})})]}),(0,S.jsx)("h2",{className:"text-brand ml-2 sm:hidden cursor-pointer",onClick:e=>{e.stopPropagation(),t(!1)},children:"Cancel"})]}),n?(0,S.jsx)("div",{className:`${nq.searchHits} rspress-scrollbar`,ref:p,children:((e,t)=>{if(1===e.length){let t=e[0].result;return 0===t.length?(0,S.jsx)(nJ,{query:n}):(0,S.jsx)("div",{ref:m,children:$(t)})}let i=e.map(e=>t&&"remote"===t.mode?e3(t.searchIndexes||[]).find(t=>t.value===e.group).label:e.group);return(0,S.jsx)(nQ,{values:i,tabContainerClassName:nq.tabClassName,onChange:t=>{N(e[t].result),c(0),A(e[t].renderType)},ref:m,children:e.map(e=>(0,S.jsxs)(nK,{children:["default"===e.renderType&&$(e.result),"custom"===e.renderType&&ep.render(e.result)]},e.group))})})(r,k)}):null,l&&(0,S.jsx)("div",{className:"flex-center",children:(0,S.jsx)("div",{className:"p-2 text-sm",children:(0,S.jsx)(tb,{icon:ef.Z})})})]})}),document.getElementById("search-container"))})}function n3(){let[e,t]=(0,z.useState)(!1),[n,i]=(0,z.useState)(null),{searchPlaceholderText:r="Search Docs"}=e$();return(0,z.useEffect)(()=>{i(/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?"\u2318":"Ctrl")},[]),(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)("div",{className:`rspress-nav-search-button ${nq.navSearchButton}`,onClick:()=>t(!0),children:(0,S.jsxs)("button",{children:[(0,S.jsx)(tb,{icon:ed.Z,width:"18",height:"18"}),(0,S.jsx)("p",{className:nq.searchWord,children:r}),(0,S.jsxs)("div",{style:{opacity:n?1:0},children:[(0,S.jsx)("span",{children:n}),(0,S.jsx)("span",{children:"K"})]})]})}),(0,S.jsx)("div",{className:nq.mobileNavSearchButton,onClick:()=>t(!0),children:(0,S.jsx)(tb,{icon:ed.Z})}),(0,S.jsx)(n2,{focused:e,setFocused:t})]})}var n4={navTitleMask:"navTitleMask_71eca",sidebar:"sidebar_71eca",sidebarContainer:"sidebarContainer_71eca",sidebarContent:"sidebarContent_71eca",open:"open_71eca",menuLink:"menuLink_71eca",menuItem:"menuItem_71eca",collapseContainer:"collapseContainer_71eca",menuItemActive:"menuItemActive_71eca"};function n5(e){let{depth:t,dividerType:n}=e;return(0,S.jsx)("div",{className:`${"dashed"===n?"border-dashed":"border-solid"} border-t border-divider-light my-3`,style:{marginLeft:0===t?0:"18px"}})}function n6(e){var t;let{item:n,depth:i=0,activeMatcher:r,id:o,setSidebarData:a}=e,l=(0,T.s0)(),s=(0,z.useRef)(null),d=(0,z.useRef)(null),c=(0,z.useRef)(null),u=(0,z.useRef)(!0),h=(0,z.useRef)(n.collapsed),p=n.link&&r(n.link),{collapsed:m,collapsible:f=!0}=n,g=(0,S.jsx)("div",{style:{cursor:"pointer",transition:"transform 0.2s ease-out",transform:m?"rotate(0deg)":"rotate(90deg)"},children:(0,S.jsx)(tb,{icon:W.Z})});(0,z.useEffect)(()=>{if(u.current||!s.current||!c.current)return;d.current&&clearTimeout(d.current);let e=s.current,t=c.current,n=t.clientHeight+4;m?(e.style.maxHeight=`${n}px`,e.style.transitionDuration="0.5s",t.style.opacity="0",d.current=setTimeout(()=>{s.current&&(s.current.style.maxHeight="0px")},0)):(e.style.maxHeight=`${n}px`,e.style.transitionDuration="0.3s",t.style.opacity="1",d.current=setTimeout(()=>{s.current&&s.current.style.removeProperty("max-height")},300))},[m]),(0,z.useEffect)(()=>{u.current=!1},[]);let x=e=>{e.stopPropagation(),a(e=>{let t=[...e],n=o.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,S.jsxs)("section",{className:"mt-0.5 block",style:{marginLeft:0===i?0:"18px"},children:[(0,S.jsxs)("div",{className:`flex justify-between items-center ${p?n4.menuItemActive:n4.menuItem}`,onMouseEnter:()=>n.link&&e.preloadLink(n.link),onClick:e=>{n.link?(l((0,O.pJ)((0,O.AP)(n.link))),m&&x(e)):f&&x(e)},style:{borderRadius:0===i?"0 var(--rp-radius) var(--rp-radius) 0":void 0,cursor:f||n.link?"pointer":"normal"},children:[(0,S.jsxs)("h2",{className:"py-2 px-3 text-sm font-medium flex",style:ez({},0===i?ii:{}),children:[(0,S.jsx)(C.Vp,{tag:n.tag}),(0,S.jsx)("span",{className:"flex-center",children:tm(n.text)})]}),f&&(0,S.jsx)("div",{className:`${n4.collapseContainer} p-2 rounded-xl`,onClick:x,children:g})]}),(0,S.jsx)("div",{ref:s,className:"transition-all duration-300 ease-in-out",style:{overflow:"hidden",maxHeight:h.current?0:void 0},children:(0,S.jsx)("div",{ref:c,className:"rspress-sidebar-group transition-opacity duration-500 ease-in-out",style:{opacity:h.current?0:1,marginLeft:0===i?"12px":0},children:null==(t=null==n?void 0:n.items)?void 0:t.map((t,n)=>"dividerType"in t?(0,S.jsx)(n5,{depth:i+1,dividerType:t.dividerType},n):(0,S.jsx)("div",{children:(0,S.jsx)(n8,e_(ez({},e),{item:t,depth:i+1,id:`${o}-${n}`,preloadLink:e.preloadLink}))},n))})})]},o)}var n7=e=>e.replace(/\.(mdx?)$/,"");function n8(e){let{item:t,depth:n=0,activeMatcher:i,id:r,setSidebarData:o}=e,a="link"in t&&t.link&&i(t.link),{page:l}=(0,P.Vi)(),s=(0,z.useRef)(null),d=(0,z.useRef)(t.text),c=function(){let[,e]=(0,z.useState)(0);return()=>{e(e=>e+1)}}();return((0,z.useEffect)(()=>{var e;a&&(null==(e=s.current)||e.scrollIntoView({block:"center"}))},[]),!(0,M.yv)()&&t._fileKey===n7(l.pagePath)&&l.title&&(d.current=l.title),(0,z.useEffect)(()=>{t.text!==d.current&&(d.current=t.text,c())},[t.text]),"items"in t)?(0,S.jsx)(n6,{id:r,item:t,depth:n,activeMatcher:i,collapsed:t.collapsed,setSidebarData:o,preloadLink:e.preloadLink},`${t.text}-${r}`):(0,S.jsx)(C.rU,{href:(0,O.AP)(t.link),className:n4.menuLink,children:(0,S.jsxs)("div",{ref:s,onMouseEnter:()=>e.preloadLink(t.link),className:`${a?n4.menuItemActive:n4.menuItem} mt-0.5 py-2 px-3 font-medium flex`,style:ez(ez({fontSize:0===n?"14px":"13px",marginLeft:0===n?0:"18px",borderRadius:"0 var(--rp-radius) var(--rp-radius) 0"},0===n?ii:{}),a?{color:"var(--rp-c-brand)"}:{}),children:[(0,S.jsx)(C.Vp,{tag:t.tag}),(0,S.jsx)("span",{children:tm(d.current)})]})})}function n9({sectionHeaderText:e,tag:t}){return(0,S.jsxs)("div",{className:"rspress-sidebar-section-header",children:[(0,S.jsx)(C.Vp,{tag:t}),(0,S.jsx)("span",{children:tm(e)})]})}var ie=e=>"dividerType"in e,it=e=>"sectionHeaderText"in e,ii={fontSize:"14px",paddingLeft:"24px",fontWeight:"bold"},ir=new WeakMap;function io(e){let{isSidebarOpen:t,beforeSidebar:n,afterSidebar:i,uiSwitch:r}=e,{items:o}=eH(),a=e$(),{pathname:l}=(0,T.TH)(),s=(0,M.Kw)(a.langRoutePrefix||""),[d,c]=(0,z.useState)(o.filter(Boolean).flat()),u=decodeURIComponent(l);(0,z.useEffect)(()=>{if(o===d)return;ir=new WeakMap;let e=t=>ir.has(t)?ir.get(t):"link"in t&&t.link&&p(t.link)||"items"in t&&t.items.some(t=>e(t))?(ir.set(t,!0),!0):(ir.set(t,!1),!1),t=n=>{"items"in n&&(n.items.forEach(t),e(n)&&(n.collapsed=!1))},n=o.filter(Boolean).flat();n.forEach(t),c(n)},[o,u]);let h=e=>e.replace(s,""),p=e=>tu((0,O.E9)(h(u)),h(e),!0),m=e=>{let t=(0,X.fp)(et.routes,e);if(null==t?void 0:t.length){let{route:e}=t[0];e.preload()}};return(0,S.jsx)("aside",{className:`${n4.sidebar} rspress-sidebar ${t?n4.open:""}`,children:(0,S.jsxs)("div",{className:`${n4.sidebarContainer}`,children:[r.showNavbar?(0,S.jsx)("div",{className:n4.navTitleMask,children:(0,S.jsx)(n_,{})}):null,(0,S.jsx)("div",{className:`mt-1 ${n4.sidebarContent}`,children:(0,S.jsx)("div",{className:"rspress-scrollbar",style:{maxHeight:"calc(100vh - var(--rp-nav-height) - 8px)",overflow:"auto"},children:(0,S.jsxs)("nav",{className:"pb-2",children:[n,d.map((e,t)=>{var n;return ie(e)?(0,S.jsx)(n5,{depth:0,dividerType:e.dividerType},t):it(e)?(0,S.jsx)(n9,{sectionHeaderText:e.sectionHeaderText,tag:e.tag},t):(0,S.jsx)(n8,{id:String(t),item:e,depth:0,activeMatcher:p,collapsed:null==(n=e.collapsed)||n,setSidebarData:c,preloadLink:m},t)}),i]})})})]})})}var ia="sourceCode_bf1b0";function il(e){let{href:t,platform:n="github"}=e,{sourceCodeText:i="Source"}=e$();return(0,S.jsx)("div",{className:`inline-block rounded border border-solid border-gray-300 text-gray-400 ${ia}`,children:(0,S.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,S.jsx)("span",{className:"mr-2 inline-flex w-4 h-4",children:(0,S.jsx)(tb,{icon:"gitlab"===n?ek.Z:ew.Z})}),(0,S.jsx)("span",{children:i})]})})}var is="rspressSteps_38f64";function id({children:e}){return(0,S.jsx)("div",{className:`ml-4 mb-11 border-l pl-6 ${is} [counter-reset:step]`,children:e})}var ic=({tag:e})=>e?e.trim().startsWith("(0,S.jsx)("li",{children:(0,S.jsx)("a",{href:`#${e.id}`,className:"rspress-toc-link sm:text-normal text-sm",style:{marginLeft:(e.depth-2)*12},onClick:n=>{n.preventDefault(),window.location.hash=e.id;let i=document.getElementById(e.id);i&&eq(i,!1),null==t||t(e)},children:(0,S.jsx)("span",{className:"rspress-toc-link-text block",children:tm(e.text)})})},e.id);function ih({onItemClick:e}){let{page:t}=(0,P.Vi)();return(0,S.jsx)("ul",{children:t.toc.map(t=>(0,S.jsx)(iu,{header:t,onItemClick:e},t.id))})}var ip={Layout:tI,NotFoundLayout:eB,HomeLayout:tP,setup:eY}},1895:function(e,t,n){"use strict";n.d(t,{AV:function(){return i.AV},Ar:function(){return i.Ar},BZ:function(){return i.BZ},CF:function(){return i.CF},CU:function(){return i.CU},Ct:function(){return i.Ct},EG:function(){return i.EG},JL:function(){return i.JL},KO:function(){return i.KO},M4:function(){return i.M4},NG:function(){return i.NG},O9:function(){return i.O9},OK:function(){return i.OK},Os:function(){return i.Os},Qe:function(){return i.Qe},Qn:function(){return i.Qn},RY:function(){return i.RY},Rg:function(){return i.Rg},SU:function(){return i.SU},TJ:function(){return i.TJ},UQ:function(){return i.UQ},VA:function(){return i.VA},Vl:function(){return i.Vl},Vp:function(){return i.Vp},WG:function(){return i.WG},WS:function(){return i.WS},YE:function(){return i.YE},YS:function(){return i.YS},ZB:function(){return i.ZB},ZP:function(){return i.ZP},cY:function(){return i.cY},eE:function(){return i.eE},eF:function(){return i.eF},g2:function(){return i.g2},ls:function(){return i.ls},mQ:function(){return i.mQ},mi:function(){return i.mi},of:function(){return i.of},ol:function(){return i.ol},pU:function(){return i.pU},qx:function(){return i.qx},rU:function(){return i.rU},s2:function(){return i.s2},tx:function(){return i.tx},xB:function(){return i.xB},xK:function(){return i.xK},xN:function(){return i.xN},y2:function(){return i.y2},zh:function(){return i.zh},zx:function(){return i.zx}}),n("3201");var i=n("3657")},9555:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n("3393");let r=/\s?|(]*>|]*>|]+>)+/i,o=RegExp(i.map(e=>`<${e}\\b[^>]*>`).join("|"),"i");function a(e){return e=e.trim().slice(0,1e3),r.test(e)||o.test(e)}},924: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"}')},3222: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"}')},8606: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 1362.83ba4458.js.LICENSE.txt */ +(self.webpackChunk_modern_js_module_tools_docs=self.webpackChunk_modern_js_module_tools_docs||[]).push([["1362"],{5929:function(e,t,n){"use strict";n.d(t,{V:function(){return h}});var i=n("9980"),r=n("2363"),o=n("8319"),a=n("1207"),l=n("3328"),s=n("2688"),d=n("1812");let{routes:c}=n("9593"),u=(0,r.memo)(function(e){let t=e.el;return l.Z?.themeConfig?.enableContentAnimation&&(t=(0,d.n_)(e.el)),t},(e,t)=>e.el===t.el),h=({fallback:e=(0,i.jsx)(i.Fragment,{})})=>{let{pathname:t}=(0,o.TH)(),n=(0,a.fp)(c,(0,s.Tm)(t));if(!n)return(0,i.jsx)("div",{});let l=n[0].route.element;return(0,i.jsx)(r.Suspense,{fallback:e,children:(0,i.jsx)(u,{el:l})})}},741:function(e,t,n){"use strict";n.d(t,{r:function(){return o}});var i=n("9980"),r=n("2363");function o(e){let{children:t}=e,[n,o]=(0,r.useState)(!1);return((0,r.useEffect)(()=>{o(!0)},[]),n)?(0,i.jsx)(i.Fragment,{children:t}):null}},1812:function(e,t,n){"use strict";n.d(t,{Jr:function(){return s},Ni:function(){return a},R0:function(){return o},Vi:function(){return l},aw:function(){return d},n_:function(){return c}});var i=n("2363"),r=n("1850");let o=(0,i.createContext)({}),a=(0,i.createContext)({});function l(){return(0,i.useContext)(o).data}function s(){return(0,i.useContext)(o).data.page.lang||""}function d(){return(0,i.useContext)(o).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}},2688:function(e,t,n){"use strict";n.d(t,{AP:function(){return d},E9:function(){return l},Tm:function(){return o},i6:function(){return c},pJ:function(){return a},pV:function(){return s}});var i=n("3328"),r=n("2855");function o(e){return decodeURIComponent(e).replace(/\.html$/,"").replace(/\/index$/,"/")}function a(e="/"){return(0,r.pJ)(e,i.Z.base)}function l(e){return(0,r.E9)(e,i.Z.base)}function s(e,t){return a(d((0,r.lm)(e)))===a(d((0,r.lm)(t)))}function d(e){let t=!!i.Z?.route?.cleanUrls;return(0,r.yc)(e,t)}function c(e){return!(0,r.yv)()||(0,r.xf)(e)||(0,r.pZ)(e)?e:a(e)}},2555:function(e,t,n){"use strict";n.d(t,{Qp:function(){return v},tP:function(){return b}});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 o="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),a=[],l=!1,s=-1,d=void 0,c=void 0,u=void 0,h=function(e){return a.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}!a.some(function(t){return t.targetElement===e})&&(a=[].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),o&&(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(){o&&(a.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),o?g():f(),a=[]}},429:function(e,t){"use strict";t.parse=function(e){for(var t,n=[],i=String(e||""),r=i.indexOf(","),o=0,a=!1;!a;)-1===r&&(r=i.length,a=!0),((t=i.slice(o,r).trim())||!a)&&n.push(t),o=r+1,r=i.indexOf(",",o);return n};function n(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()}},9522:function(e,t,n){"use strict";var i=n("8456"),r={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,o,a,l,s,d,c,u,h=!1;!t&&(t={}),a=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){a&&console.warn("unable to use e.clipboardData"),a&&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){a&&console.error("unable to copy using execCommand: ",i),a&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),h=!0}catch(i){;a&&console.error("unable to copy using clipboardData: ",i),a&&console.error("falling back to prompt"),n="message"in t?t.message:"Copy to clipboard: #{key}, Enter",o=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C",l=n.replace(/#{\s*key\s*}/g,o),window.prompt(l,e)}}finally{c&&("function"==typeof c.removeRange?c.removeRange(d):c.removeAllRanges()),u&&document.body.removeChild(u),s()}return h}},4532:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var i=n("7302");function r(e,t){e.classList?e.classList.add(t):!(0,i.Z)(e,t)&&("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}},7302:function(e,t,n){"use strict";function i(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}n.d(t,{Z:function(){return i}})},2523:function(e,t,n){"use strict";function i(e,t){return e.replace(RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function r(e,t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=i(e.className,t):e.setAttribute("class",i(e.className&&e.className.baseVal||"",t))}n.d(t,{Z:function(){return r}})},5653:function(e,t){"use strict";var n,i,r;let o;n="FlexSearch",i=function e(t){let n;function i(e,t){let n=t?t.id:e&&e.id;this.id=n||0===n?n:N++,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 o(e,t){let n=e.length,i=y(t),r=[];for(let o=0,a=0;o=a&&((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,o,a){let l,s=[];if(!0===n){n="0";var d=""}else d=n&&n.split(":");let c=e.length;if(1a&&(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[a]=""+this.C,n&&n(),this;if(!r){if(this.async&&"function"!=typeof importScripts){let r=this;return(a=new Promise(function(n){setTimeout(function(){r.add(e,t,null,i,!0),r=null,n()})}),n)?(a.then(n),this):a}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=o(r,this.filter));let p=I();p._ctx=I();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]=I()),l=this.h[l]||(this.h[l]=j(x-(f||0))),0>(d=t-g)&&(d=0),(u=t+g+1)>m&&(u=m);dr;n--)i=o[n-1],o[n]=i,t[i]=n;o[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,o,a){return r=t?URL.createObjectURL(new Blob(["("+r.toString()+")()"],{type:"text/javascript"})):n+".min.js",e[n+="-"+i]||(e[n]=[]),e[n][a]=new Worker(r),e[n][a].onmessage=o,e[n][a]}}()),r=this,(o=r.define)&&o.amd?o([],function(){return i}):(o=r.modules)?o[n.toLowerCase()]=i:"object"==typeof t?e.exports=i:r[n]=i},3451:function(e){"use strict";e.exports=function(e,n){for(var i,r,o,a=e||"",l=n||"div",s={},d=0;d-1}var a=["itemScope"];function l(t,n,i,r){void 0===r&&(r=null);var o=i[t],a=i._;return o?e.createElement(o,n,r):a?a(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 o=document.createElement("div");o.innerHTML=e.trim();var a=Array.from(o.childNodes).map(function(e,o){return function e(i,o,a){var s,d,c,u,h=a.transform||{},p=a.preserveAttributes||[],m=a.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,a=(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,'"'));o[a]=l}}),o);else{var l=d[n],h=""===l||String(l).toLowerCase()===i.toLowerCase();e[a.name]=a.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,o+"."+i,a)}).filter(Boolean);if(m.indexOf(y)>-1){var j=i.innerHTML;return j&&("style"!==y&&"script"!==y&&(j=j.replace(/"/g,""")),w.dangerouslySetInnerHTML={__html:j.trim()}),l(y,w,h)}return l(y,w,h,0===k.length?null:k)}(e,String(o),i)}).filter(Boolean);return 1===a.length?a[0]:a}},"object"==typeof t?e.exports=r(n("2363")):"function"==typeof define&&define.amd?define(["react"],r):(i=i||self).htmr=r(i.React)},4546:function(e){"use strict";e.exports=function(e,t,n,i,r,o,a,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,o,a,l],c=0;(s=Error(t.replace(/%s/g,function(){return d[c++]}))).name="Invariant Violation"}throw s.framesToPop=1,s}}},4761: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}},9975:function(e,t,n){"use strict";var i=n("4761"),r=n("7525");e.exports=function(e){return i(e)||r(e)}},7525:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},2201: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}},366:function(e,t){"use strict";var n=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},c=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,i=function(){var e={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},t=void 0,i=void 0;if(b.container){if(b.container instanceof Object)t=(e=n({},e,b.container)).width-e.left-e.right-2*b.margin,i=e.height-e.top-e.bottom-2*b.margin;else{var a=(r(b.container)?b.container:document.querySelector(b.container)).getBoundingClientRect();e=n({},e,{width:a.width,height:a.height,left:a.left,top:a.top})}}t=t||e.width-2*b.margin,i=i||e.height-2*b.margin;var l=y.zoomedHd||y.original,s=o(l)?t:l.naturalWidth||t,d=o(l)?i:l.naturalHeight||i,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),i)/m),g=(-h+(t-p)/2+b.margin+e.left)/f,x=(-u+(i-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 c(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 n=f;y.original=n[0]}else{e(k);return}if(y.original.dispatchEvent(d("medium-zoom:open",{detail:{zoom:k}})),v=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,x=!0,y.zoomed=s(y.original),document.body.appendChild(w),b.template){var o=r(b.template)?b.template:document.querySelector(b.template);y.template=document.createElement("div"),y.template.appendChild(o.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(d("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(a),console.warn("Unable to reach the zoom image target "+y.zoomedHd.src),y.zoomedHd=null,i()};var a=setInterval(function(){y.zoomedHd.complete&&(clearInterval(a),y.zoomedHd.classList.add("medium-zoom-image--opened"),y.zoomedHd.addEventListener("click",p),document.body.appendChild(y.zoomedHd),i())},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),i()})}else i()})},p=function(){return new c(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(d("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(d("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=i,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=l((b=n({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=n({},b.container,e.container)),e.template){var t=r(e.template)?e.template:document.querySelector(e.template);e.template=t}return b=n({},b,e),f.forEach(function(e){e.dispatchEvent(d("medium-zoom:update",{detail:{zoom:k}}))}),k},clone:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e(n({},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,a(t))},[]):f;return i.forEach(function(e){e.classList.remove("medium-zoom-image"),e.dispatchEvent(d("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}},7841:function(e,t){var n,i;n=this,i=function(){var e,t,n,i={};i.version="0.2.0";var r=i.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 o(e,t,n){return en?n:e}function a(e){return(-1+e)*100}i.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},i.status=null,i.set=function(e){var t=i.isStarted();e=o(e,r.minimum,1),i.status=1===e?null:e;var n=i.render(!t),a=n.querySelector(r.barSelector),d=r.speed,c=r.easing;return n.offsetWidth,l(function(t){""===r.positionUsing&&(r.positionUsing=i.getPositioningCSS()),s(a,function(e,t,n){var i;if("translate3d"===r.positionUsing)i={transform:"translate3d("+(-1+e)*100+"%,0,0)"};else if("translate"===r.positionUsing)i={transform:"translate("+(-1+e)*100+"%,0)"};else i={"margin-left":(-1+e)*100+"%"};return i.transition="all "+t+"ms "+n,i}(e,d,c)),1===e?(s(n,{transition:"none",opacity:1}),n.offsetWidth,setTimeout(function(){s(n,{transition:"all "+d+"ms linear",opacity:0}),setTimeout(function(){i.remove(),t()},d)},d)):setTimeout(t,d)}),this},i.isStarted=function(){return"number"==typeof i.status},i.start=function(){!i.status&&i.set(0);var e=function(){setTimeout(function(){i.status&&(i.trickle(),e())},r.trickleSpeed)};return r.trickle&&e(),this},i.done=function(e){return e||i.status?i.inc(.3+.5*Math.random()).set(1):this},i.inc=function(e){var t=i.status;return t?("number"!=typeof e&&(e=(1-t)*o(Math.random()*t,.1,.95)),t=o(t+e,0,.994),i.set(t)):i.start()},i.trickle=function(){return i.inc(Math.random()*r.trickleRate)},e=0,t=0,i.promise=function(n){return n&&"resolved"!==n.state()?(0===t&&i.start(),e++,t++,n.always(function(){0==--t?(e=0,i.done()):i.set((e-t)/e)}),this):this},i.render=function(e){if(i.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var n,o=t.querySelector(r.barSelector),a=e?"-100":function(e){return(-1+e)*100}(i.status||0),l=document.querySelector(r.parent);return s(o,{transition:"all 0 linear",transform:"translate3d("+a+"%,0,0)"}),!r.showSpinner&&(n=t.querySelector(r.spinnerSelector))&&p(n),l!=document.body&&c(l,"nprogress-custom-parent"),l.appendChild(t),t},i.remove=function(){u(document.documentElement,"nprogress-busy"),u(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&p(e)},i.isRendered=function(){return!!document.getElementById("nprogress")},i.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 l=(n=[],function(e){n.push(e),1==n.length&&!function e(){var t=n.shift();t&&t(e)}()}),s=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,o=t.charAt(0).toUpperCase()+t.slice(1);r--;)if((i=e[r]+o)in n)return i;return t}(n))}(i),n.style[i]=r}return function(e,t){var i,r,o=arguments;if(2==o.length)for(i in t)void 0!==(r=t[i])&&t.hasOwnProperty(i)&&n(e,i,r);else n(e,o[1],o[2])}}();function d(e,t){return("string"==typeof e?e:h(e)).indexOf(" "+t+" ")>=0}function c(e,t){var n=h(e),i=n+t;!d(n,t)&&(e.className=i.substring(1))}function u(e,t){var n,i=h(e);d(e,t)&&(n=i.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function h(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function p(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return i},"function"==typeof define&&define.amd?define(i):"object"==typeof t?e.exports=i():n.NProgress=i()},5144: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}},2668:function(e,t,n){"use strict";var i=n("924"),r=n("3222"),o=n("7525"),a=n("2201"),l=n("9975"),s=n("5144");e.exports=function(e,t){var n,o,a={};for(o in!t&&(t={}),h)n=t[o],a[o]=null==n?h[o]:n;return(a.position.indent||a.position.start)&&(a.indent=a.position.indent||[],a.position=a.position.start),function(e,t){var n,o,a,h,b,y,w,k,j,I,P,S,E,C,N,z,_,A,T,O=t.additional,M=t.nonTerminated,L=t.text,D=t.reference,R=t.warning,B=t.textContext,$=t.referenceContext,F=t.warningContext,H=t.position,Z=t.indent||[],W=e.length,U=0,V=-1,q=H.column||1,G=H.line||1,Y="",Q=[];for("string"==typeof O&&(O=O.charCodeAt(0)),z=K(),k=R?function(e,t){var n=K();n.column+=t,n.offset+=t,R.call(F,v[e],n,e)}:u,U--,W++;++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]):(I="",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,I+=c(y>>>10|55296),y=56320|1023&y),y=I+c(y))):C!==p&&k(4,A);y?(J(),z=K(),U=T-1,q+=T-E+1,Q.push(y),_=K(),_.offset++,D&&D.call($,y,{start:z,end:_},e.slice(E-1,T)),z=_):(h=e.slice(E-1,T),Y+=h,q+=h.length,U=T-1)}else 10===b&&(G++,V++,q=0),b==b?(Y+=c(b),q++):J();return Q.join("");function K(){return{line:G,column:q,offset:U+(H.offset||0)}}function J(){Y&&(Q.push(Y),L&&L.call(B,Y,{start:z,end:K()}),Y="")}}(e,a)};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]=o,x[m]=a;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 o?new o(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 j,I=w.value;if(n.length>t.length)return;if(!(I instanceof o)){var P=1;if(x){if(!(j=a(y,k,t,g))||j.index>=t.length)break;var S=j.index,E=j.index+j[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 o)continue;for(var N=w;N!==n.tail&&(Cc.reach&&(c.reach=T);var O=w.prev;if(_&&(O=s(n,O,_),k+=_.length),function(e,t,n){for(var i=t.next,r=0;r1){var M={cause:u+","+p,reach:T};e(t,n,i,w.prev,k,M),c&&M.reach>c.reach&&(c.reach=M.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,o=0;i=n[o++];)i(t)}},Token:o};function o(e,t,n,i){this.type=e,this.content=t,this.alias=n,this.length=0|(i||"").length}function a(e,t,n,i){e.lastIndex=t;var r=e.exec(n);if(r&&i&&r[1]){var o=r[1].length;r.index+=o,r[0]=r[0].slice(o)}return r}e.Prism=r,o.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 o={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},a=t.alias;a&&(Array.isArray(a)?Array.prototype.push.apply(o.classes,a):o.classes.push(a)),r.hooks.run("wrap",o);var l="";for(var s in o.attributes)l+=" "+s+'="'+(o.attributes[s]||"").replace(/"/g,""")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+l+">"+o.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,o=n.code,a=n.immediateClose;e.postMessage(r.highlight(o,r.languages[i],i)),a&&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)},2504:function(e,t,n){"use strict";var i=n("2265");function r(){}function o(){}o.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,o,a){if(a!==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:o,resetWarningCache:r};return n.PropTypes=n,n}},3698:function(e,t,n){e.exports=n("2504")()},2265:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},2616:function(e,t,n){"use strict";var i=n("2275"),r=n("6492"),o=n("3811"),a="data";e.exports=function(e,t){var n=i(t),h=t,p=o;return n in e.normal?e.property[e.normal[n]]:(n.length>4&&n.slice(0,4)===a&&l.test(t)&&("-"===t.charAt(4)?h=function(e){var t=e.slice(5).replace(s,u);return a+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),a+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()}},6093:function(e,t,n){"use strict";var i=n("6399"),r=n("9283"),o=n("7430"),a=n("2376"),l=n("5531"),s=n("1581");e.exports=i([o,r,a,l,s])},5531:function(e,t,n){"use strict";var i=n("3077"),r=n("9469"),o=i.booleanish,a=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:o,ariaAutoComplete:null,ariaBusy:o,ariaChecked:o,ariaColCount:a,ariaColIndex:a,ariaColSpan:a,ariaControls:l,ariaCurrent:null,ariaDescribedBy:l,ariaDetails:null,ariaDisabled:o,ariaDropEffect:l,ariaErrorMessage:null,ariaExpanded:o,ariaFlowTo:l,ariaGrabbed:o,ariaHasPopup:null,ariaHidden:o,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:l,ariaLevel:a,ariaLive:null,ariaModal:o,ariaMultiLine:o,ariaMultiSelectable:o,ariaOrientation:null,ariaOwns:l,ariaPlaceholder:null,ariaPosInSet:a,ariaPressed:o,ariaReadOnly:o,ariaRelevant:null,ariaRequired:o,ariaRoleDescription:l,ariaRowCount:a,ariaRowIndex:a,ariaRowSpan:a,ariaSelected:o,ariaSetSize:a,ariaSort:null,ariaValueMax:a,ariaValueMin:a,ariaValueNow:a,ariaValueText:null,role:null}})},1581:function(e,t,n){"use strict";var i=n("3077"),r=n("9469"),o=n("2561"),a=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:o,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:u,acceptCharset:c,accessKey:c,action:null,allow:null,allowFullScreen:a,allowPaymentRequest:a,allowUserMedia:a,alt:null,as:null,async:a,autoCapitalize:null,autoComplete:c,autoFocus:a,autoPlay:a,capture:a,charSet:null,checked:a,cite:null,className:c,cols:d,colSpan:null,content:null,contentEditable:s,controls:a,controlsList:c,coords:d|u,crossOrigin:null,data:null,dateTime:null,decoding:null,default:a,defer:a,dir:null,dirName:null,disabled:a,download:l,draggable:s,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:a,formTarget:null,headers:c,height:d,hidden:a,high:d,href:null,hrefLang:null,htmlFor:c,httpEquiv:c,id:null,imageSizes:null,imageSrcSet:u,inputMode:null,integrity:null,is:null,isMap:a,itemId:null,itemProp:c,itemRef:c,itemScope:a,itemType:c,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:a,low:d,manifest:null,max:null,maxLength:d,media:null,method:null,min:null,minLength:d,multiple:a,muted:a,name:null,nonce:null,noModule:a,noValidate:a,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:a,optimum:d,pattern:null,ping:c,placeholder:null,playsInline:a,poster:null,preload:null,readOnly:a,referrerPolicy:null,rel:c,required:a,reversed:a,rows:d,rowSpan:d,sandbox:c,scope:null,scoped:a,seamless:a,selected:a,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:a,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:a,declare:a,event:null,face:null,frame:null,frameBorder:null,hSpace:d,leftMargin:d,link:null,longDesc:null,lowSrc:null,marginHeight:d,marginWidth:d,noResize:a,noHref:a,noShade:a,noWrap:a,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:a,disableRemotePlayback:a,prefix:null,property:null,results:d,security:null,unselectable:null}})},2561:function(e,t,n){"use strict";var i=n("6073");e.exports=function(e,t){return i(e,t.toLowerCase())}},6073:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},9469:function(e,t,n){"use strict";var i=n("2275"),r=n("3673"),o=n("6492");e.exports=function(e){var t,n,a=e.space,l=e.mustUseProperty||[],s=e.attributes||{},d=e.properties,c=e.transform,u={},h={};for(t in d)n=new o(t,c(s,t),d[t],a),-1!==l.indexOf(t)&&(n.mustUseProperty=!0),u[t]=n,h[i(t)]=t,h[i(n.attribute)]=t;return new r(u,h,a)}},6492:function(e,t,n){"use strict";var i=n("3811"),r=n("3077");e.exports=l,l.prototype=new i,l.prototype.defined=!0;var o=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],a=o.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 g={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},x={rel:["amphtml","canonical","alternate"]},v={type:["application/ld+json"]},b={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"]},y=Object.keys(g).map(function(e){return g[e]}),w={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},k=Object.keys(w).reduce(function(e,t){return e[w[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},I=function(e){var t=j(e,g.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},P=function(e,t){return t.filter(function(t){return void 0!==t[e]}).map(function(t){return t[e]}).reduce(function(e,t){return h({},e,t)},{})},S=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,o=Object.keys(e),a=0;a/g,">").replace(/"/g,""").replace(/'/g,"'")},T=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[w[n]||n]=e[n],t},t)},M=function(e,t){return t.map(function(t,n){var r,o=((r={key:n})["data-rh"]=!0,r);return Object.keys(t).forEach(function(e){var n=w[e]||e;"innerHTML"===n||"cssText"===n?o.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:o[n]=t[e]}),i.createElement(e,o)})},L=function(e,t,n){switch(e){case g.TITLE:return{toComponent:function(){var e,n,r,o;return n=t.titleAttributes,(r={key:e=t.title})["data-rh"]=!0,o=O(n,r),[i.createElement(g.TITLE,o,e)]},toString:function(){var i,r,o,a,l,s;return i=e,r=t.title,o=t.titleAttributes,a=n,l=T(o),s=C(r),l?"<"+i+' data-rh="true" '+l+">"+A(s,a)+"":"<"+i+' data-rh="true">'+A(s,a)+""}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return O(t)},toString:function(){return T(t)}};default:return{toComponent:function(){return M(e,t)},toString:function(){var i,r,o;return i=e,r=t,o=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+'="'+A(t[n],o)+'"';return e?e+" "+i:i},""),r=t.innerHTML||t.cssText||"",a=-1===_.indexOf(i);return e+"<"+i+' data-rh="true" '+n+(a?"/>":">"+r+"")},"")}}}},D=function(e){var t=e.baseTag,n=e.bodyAttributes,i=e.encode,r=e.htmlAttributes,o=e.noscriptTags,a=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,y,w,k,j,I=(m=(p=e).linkTags,f=p.scriptTags,y=p.encode,w=N(p.metaTags,b),k=N(m,x),j=N(f,v),{priorityMethods:{toComponent:function(){return[].concat(M(g.META,w.priority),M(g.LINK,k.priority),M(g.SCRIPT,j.priority))},toString:function(){return L(g.META,w.priority,y)+" "+L(g.LINK,k.priority,y)+" "+L(g.SCRIPT,j.priority,y)}},metaTags:w.default,linkTags:k.default,scriptTags:j.default});h=I.priorityMethods,d=I.linkTags,c=I.metaTags,u=I.scriptTags}return{priority:h,base:L(g.BASE,t,i),bodyAttributes:L("bodyAttributes",n,i),htmlAttributes:L("htmlAttributes",r,i),link:L(g.LINK,d,i),meta:L(g.META,c,i),noscript:L(g.NOSCRIPT,o,i),script:L(g.SCRIPT,u,i),style:L(g.STYLE,a,i),title:L(g.TITLE,{title:void 0===l?"":l,titleAttributes:s},i)}},R=[],B=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?R:n.instances},add:function(e){(n.canUseDOM?R:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?R:n.instances).indexOf(e);(n.canUseDOM?R:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=D({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},$=i.createContext({}),F=o().shape({setHelmet:o().func,helmetInstances:o().shape({get:o().func,add:o().func,remove:o().func})}),H=function(e){function t(n){var i;return(i=e.call(this,n)||this).helmetData=new B(i.props.context,t.canUseDOM),i}return p(t,e),t.prototype.render=function(){return i.createElement($.Provider,{value:this.helmetData.value},this.props.children)},t}(i.Component);H.canUseDOM="undefined"!=typeof document,H.propTypes={context:o().shape({helmet:o().shape()}),children:o().node.isRequired},H.defaultProps={context:{}},H.displayName="HelmetProvider";var Z=function(e,t){var n,i=document.head||document.querySelector(g.HEAD),r=i.querySelectorAll(e+"[data-rh]"),o=[].slice.call(r),a=[];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"),o.some(function(e,t){return n=t,i.isEqualNode(e)})?o.splice(n,1):a.push(i)}),o.forEach(function(e){return e.parentNode.removeChild(e)}),a.forEach(function(e){return i.appendChild(e)}),{oldTags:o,newTags:a}},W=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var i=n.getAttribute("data-rh"),r=i?i.split(","):[],o=[].concat(r),a=Object.keys(t),l=0;l=0;u-=1)n.removeAttribute(o[u]);r.length===o.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==a.join(",")&&n.setAttribute("data-rh",a.join(","))}},U=function(e,t){var n,i,r=e.baseTag,o=e.htmlAttributes,a=e.linkTags,l=e.metaTags,s=e.noscriptTags,d=e.onChangeClientState,c=e.scriptTags,u=e.styleTags,h=e.title,p=e.titleAttributes;W(g.BODY,e.bodyAttributes),W(g.HTML,o),n=h,i=p,void 0!==n&&document.title!==n&&(document.title=C(n)),W(g.TITLE,i);var m={baseTag:Z(g.BASE,r),linkTags:Z(g.LINK,a),metaTags:Z(g.META,l),noscriptTags:Z(g.NOSCRIPT,s),scriptTags:Z(g.SCRIPT,c),styleTags:Z(g.STYLE,u)},f={},x={};Object.keys(m).forEach(function(e){var t=m[e],n=t.newTags,i=t.oldTags;n.length&&(f[e]=n),i.length&&(x[e]=m[e].oldTags)}),t&&t(),d(e,f,x)},V=null,q=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 h({},i,((t={})[n.type]=[].concat(i[n.type]||[],[h({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.mapObjectTypeChildren=function(e){var t,n,i=e.child,r=e.newProps,o=e.newChildProps,a=e.nestedChildren;switch(i.type){case g.TITLE:return h({},r,((t={})[i.type]=a,t.titleAttributes=h({},o),t));case g.BODY:return h({},r,{bodyAttributes:h({},o)});case g.HTML:return h({},r,{htmlAttributes:h({},o)});default:return h({},r,((n={})[i.type]=h({},o),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=h({},t);return Object.keys(e).forEach(function(t){var i;n=h({},n,((i={})[t]=e[t],i))}),n},n.warnOnInvalidChildren=function(e,t){return d()(y.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 "+y.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),d()(!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,r={};return i.Children.forEach(e,function(e){if(e&&e.props){var i=e.props,o=i.children,a=f(i,G),l=Object.keys(a).reduce(function(e,t){return e[k[t]||t]=a[t],e},{}),s=e.type;switch("symbol"==typeof s?s=s.toString():n.warnOnInvalidChildren(e,o),s){case g.FRAGMENT:t=n.mapChildrenToProps(o,t);break;case g.LINK:case g.META:case g.NOSCRIPT:case g.SCRIPT:case g.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:l,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:l,nestedChildren:o})}}}),this.mapArrayTypeChildrenToProps(r,t)},n.render=function(){var e=this.props,t=e.children,n=f(e,Y),r=h({},n),o=n.helmetData;return t&&(r=this.mapChildrenToProps(t,r)),!o||o instanceof B||(o=new B(o.context,o.instances)),o?i.createElement(q,h({},r,{context:o.value,helmetData:void 0})):i.createElement($.Consumer,null,function(e){return i.createElement(q,h({},r,{context:e}))})},t}(i.Component);Q.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},Q.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},Q.displayName="Helmet"},2897:function(e,t,n){"use strict";t.lazyWithPreload=void 0;var i,r=n("2363");function o(e){var t,n,i=(0,r.lazy)(e),o=(0,r.forwardRef)(function(e,n){var o=(0,r.useRef)(null!=t?t:i);return(0,r.createElement)(o.current,Object.assign(n?{ref:n}:{},e))});return o.preload=function(){return!n&&(n=e().then(function(e){return t=e.default})),n},o}t.lazyWithPreload=o},8965:function(e,t,n){"use strict";function i(e,t){return -1!==e.listLanguages().indexOf(t)}n.d(t,{Z:function(){return i}})},1414:function(e,t,n){"use strict";n.d(t,{ZP:function(){return c}});var i=n("946"),r=n("9314"),o=n("2363");function a(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 l(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(!s[i]){;s[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 s[i]})(e.filter(function(e){return"token"!==e})).reduce(function(e,t){return l(l({},e),n[t])},t)}(u.className,Object.assign({},u.style,void 0===r?{}:r),n)})}else v=l(l({},u),{},{className:u.className.join(" ")});var j=b(t.children);return o.createElement(p,(0,i.Z)({key:d},v),j)}}},458:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var i=n("3516"),r=n("346"),o=n("9314"),a=n("2363"),l=n("1414"),s=n("8965"),d=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function c(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 u(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:[],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=0;o2&&void 0!==arguments[2]?arguments[2]:[];return t||a.length>0?function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return g({children:e,lineNumber:t,lineNumberStyle:s,largestLineNumber:l,showInlineLineNumbers:o,lineProps:n,className:r,showLineNumbers:i,wrapLongLines:d})}(e,r,a):function(e,t){if(i&&t&&o){var n=f(s,t,l);e.unshift(m(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"],o=i.variable[1].inside,a=0;a]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="clike",t.aliases=[]},7520:function(e){"use strict";function t(e){var t,n,i;n=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,(t=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\\((?:"+n.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+n.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+n.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:n,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:/[(){};:,]/},t.languages.css.atrule.inside.rest=t.languages.css,(i=t.languages.markup)&&(i.tag.addInlined("style","css"),i.tag.addAttribute("style","css"))}e.exports=t,t.displayName="css",t.aliases=[]},3610:function(e){"use strict";function t(e){var t,n;(t=e).languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]},Object.keys(n={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"}).forEach(function(e){var i=n[e],r=[];!/^\w+$/.test(e)&&r.push(/\w+/.exec(e)[0]),"diff"===e&&r.push("bold"),t.languages.diff[e]={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(e)[0]}}}}),Object.defineProperty(t.languages.diff,"PREFIXES",{value:n})}e.exports=t,t.displayName="diff",t.aliases=[]},9551: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"]},7942: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 o(e,t){return RegExp(e=e.replace(//g,function(){return n}).replace(//g,function(){return i}).replace(//g,function(){return r}),t)}r=o(r).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\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:o(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var a=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(a).join(""):""},l=function(t){for(var n=[],i=0;i0&&n[n.length-1].tagName===a(r.content[0].content[1])&&n.pop():"/>"===r.content[r.content.length-1].content||n.push({tagName:a(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--:o=!0),(o||"string"==typeof r)&&n.length>0&&0===n[n.length-1].openedBraces){var s=a(r);i0&&("string"==typeof t[i-1]||"plain-text"===t[i-1].type)&&(s=a(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=[]},9693: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=[]},9463: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}),o=/\|?[ \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+o+"(?:"+r+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+r+o+")(?:"+r+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(i),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+r+")"+o+"$"),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"]},7264: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 o={};o[t]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:r},e.languages.insertBefore("markup","cdata",o)}}),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"]},1337: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=[]},9455:function(e,t,n){"use strict";var i=n("7942"),r=n("3847");function o(e){var t,n,o;e.register(i),e.register(r),n=(t=e).util.clone(t.languages.typescript),t.languages.tsx=t.languages.extend("jsx",n),delete t.languages.tsx.parameter,delete t.languages.tsx["literal-property"],(o=t.languages.tsx.tag).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+o.pattern.source+")",o.pattern.flags),o.lookbehind=!0}e.exports=o,o.displayName="tsx",o.aliases=[]},3847:function(e){"use strict";function t(e){var t,n;(t=e).languages.typescript=t.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/}),t.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 t.languages.typescript.parameter,delete t.languages.typescript["literal-property"],n=t.languages.extend("typescript",{}),delete n["class-name"],t.languages.typescript["class-name"].inside=n,t.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:n}}}}),t.languages.ts=t.languages.typescript}e.exports=t,t.displayName="typescript",t.aliases=["ts"]},4646: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=[]},660: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}),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function a(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+"|"+o+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:a(/\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:a(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:a(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:a(o),lookbehind:!0,greedy:!0},number:{pattern:a(/[+-]?(?: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"]},5241: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 o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(t),s=0;s{let n=e=>e.replace(/\/$/,"").toLowerCase();return(0,l.pV)(n(t.routePath),n(e))}),d=encodeURIComponent(a),c=(null===(r=n.default.__RSPRESS_PAGE_META)||void 0===r?void 0:r[d])||{},{toc:u=[],title:p="",frontmatter:m={},...f}=h.kv.test(t.filePath)?c:n;return{siteData:o.Z,page:{...f,pagePath:a,...s,pageType:(null==m?void 0:m.pageType)||"doc",title:p,frontmatter:m,toc:u}}}return{siteData:o.Z,page:{pagePath:"",pageType:"404",routePath:"/404",lang:o.Z.lang||"",frontmatter:{},title:"404",toc:[],version:"",_filepath:"",_relativePath:""}}}function x(e){let{helmetContext:t}=e,{setData:n,data:i}=(0,u.useContext)(s.R0),o=i.page.frontmatter||{},{pathname:a,search:h}=(0,d.TH)(),f=new URLSearchParams(h),x="globalUIComponents",v=!1===o[x]||"0"===f.get(x);return(0,u.useLayoutEffect)(()=>{(async function e(){try{let e=await g((0,l.Tm)(a));n(e)}catch(e){console.log(e)}})()},[a,n]),(0,r.jsxs)(c.B6,{context:t,children:[(0,r.jsx)(m.ZP.Layout,{}),!v&&p.Z.map((e,t)=>{if(Array.isArray(e)){let[n,i]=e;return u.createElement(n,{key:t,...i})}return u.createElement(e,{key:t})})]})}},6411:function(e,t,n){"use strict";var i=n("9980"),r=n("2363"),o=n("2855"),a=n("3328"),l=n("2688"),s=n("1812"),d=n("5383"),c=n("2493");let u=a.Z.ssg,{default:h,useThemeState:p}=n("2919");(async function e(){let e=document.getElementById("root"),t=async()=>{let e=await (0,c.$X)((0,l.Tm)(window.location.pathname));return function(){let[t,n]=(0,r.useState)(e),[o,a]=p();return(0,i.jsx)(s.Ni.Provider,{value:(0,r.useMemo)(()=>({theme:o,setTheme:a}),[o,a]),children:(0,i.jsx)(s.R0.Provider,{value:(0,r.useMemo)(()=>({data:t,setData:n}),[t,n]),children:(0,i.jsx)(d.VK,{children:(0,i.jsx)(c.gV,{})})})})}},a=await t();{let{createRoot:t,hydrateRoot:r}=n("417");(0,o.yv)()&&u?r(e,(0,i.jsx)(a,{})):t(e).render((0,i.jsx)(a,{}))}})().then(()=>{h.setup()})},7974:function(e,t,n){"use strict";n.d(t,{AV:function(){return i.AV},Ar:function(){return i.Ar},BZ:function(){return i.BZ},CF:function(){return i.CF},CU:function(){return i.CU},Ct:function(){return i.Ct},EG:function(){return i.EG},JL:function(){return i.JL},KO:function(){return i.KO},M4:function(){return i.M4},NG:function(){return i.NG},O9:function(){return i.O9},OK:function(){return i.OK},Os:function(){return i.Os},Qe:function(){return i.Qe},Qn:function(){return i.Qn},RY:function(){return i.RY},Rg:function(){return i.Rg},SU:function(){return i.SU},TJ:function(){return i.TJ},UQ:function(){return i.UQ},VA:function(){return i.VA},Vl:function(){return i.Vl},Vp:function(){return i.Vp},WG:function(){return i.WG},WS:function(){return i.WS},YE:function(){return i.YE},YS:function(){return i.YS},ZB:function(){return i.ZB},ZP:function(){return i.ZP},cY:function(){return i.cY},eE:function(){return i.eE},eF:function(){return i.eF},g2:function(){return i.g2},ls:function(){return i.ls},mQ:function(){return i.mQ},mi:function(){return i.mi},of:function(){return i.of},ol:function(){return i.ol},pU:function(){return i.pU},qx:function(){return i.qx},rU:function(){return i.rU},s2:function(){return i.s2},tx:function(){return i.tx},xB:function(){return i.xB},xK:function(){return i.xK},xN:function(){return i.xN},y2:function(){return i.y2},zh:function(){return i.zh},zx:function(){return i.zx}});var i=n("1895")},8951:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n("8319"),r=n("366"),o=n("2363");function a(e){let{pathname:t}=(0,i.TH)(),{selector:n=".rspress-doc img",options:a={}}=e;return(0,o.useEffect)(()=>{let e;let t=setTimeout(()=>{let t=document.querySelectorAll(n);e=(0,r.Z)(t,{...a,background:"var(--rp-c-bg)"})},100);return()=>{clearTimeout(t),null==e||e.detach(),null==e||e.close()}},[t]),null}n("8097")},8958:function(e,t,n){"use strict";n.d(t,{AV:function(){return i.AV},Ar:function(){return i.Ar},BZ:function(){return i.BZ},CF:function(){return i.CF},CU:function(){return i.CU},Ct:function(){return i.Ct},EG:function(){return i.EG},JL:function(){return i.JL},KO:function(){return i.KO},M4:function(){return i.M4},NG:function(){return i.NG},O9:function(){return i.O9},OK:function(){return i.OK},Os:function(){return i.Os},Qe:function(){return i.Qe},Qn:function(){return i.Qn},RY:function(){return i.RY},Rg:function(){return i.Rg},SU:function(){return i.SU},TJ:function(){return i.TJ},UQ:function(){return i.UQ},VA:function(){return i.VA},Vl:function(){return i.Vl},Vp:function(){return i.Vp},WG:function(){return i.WG},WS:function(){return i.WS},YE:function(){return i.YE},YS:function(){return i.YS},ZB:function(){return i.ZB},ZP:function(){return i.ZP},cY:function(){return i.cY},eE:function(){return i.eE},eF:function(){return i.eF},g2:function(){return i.g2},ls:function(){return i.ls},mQ:function(){return i.mQ},mi:function(){return i.mi},of:function(){return i.of},ol:function(){return i.ol},pU:function(){return i.pU},qx:function(){return i.qx},rU:function(){return i.rU},s2:function(){return i.s2},tx:function(){return i.tx},xB:function(){return i.xB},xK:function(){return i.xK},xN:function(){return i.xN},y2:function(){return i.y2},zh:function(){return i.zh},zx:function(){return i.zx}});var i=n("7974")},9915:function(e,t,n){"use strict";var i=n("8951");t.Z=[[i.Z,{}]]},4345:function(e,t,n){"use strict";n("817")},6288:function(e,t,n){"use strict";var i=n("8450"),r=n("8036"),o=n("5009"),a=n("9611"),l=n("1143"),s=n("1088"),d=n("9648"),c=n("4744"),u=n("2417"),h=n("1691"),p=n("9027"),m=n("5646");t.Z={js:i.Z,ts:r.Z,jsx:o.Z,tsx:o.Z,json:a.Z,css:l.Z,scss:s.Z,less:d.Z,xml:c.Z,diff:u.Z,yaml:h.Z,md:p.Z,mdx:o.Z,bash:m.Z}},9593:function(e,t,n){"use strict";n.r(t),n.d(t,{routes:function(){return eZ}});var i=n("2363"),r=n("2897");let o=(0,r.lazyWithPreload)(()=>n.e("7947").then(n.bind(n,"1699"))),a=(0,r.lazyWithPreload)(()=>n.e("7664").then(n.bind(n,"5048"))),l=(0,r.lazyWithPreload)(()=>n.e("270").then(n.bind(n,"9198"))),s=(0,r.lazyWithPreload)(()=>n.e("7565").then(n.bind(n,"5511"))),d=(0,r.lazyWithPreload)(()=>n.e("330").then(n.bind(n,"9324"))),c=(0,r.lazyWithPreload)(()=>n.e("4523").then(n.bind(n,"712"))),u=(0,r.lazyWithPreload)(()=>n.e("2814").then(n.bind(n,"5783"))),h=(0,r.lazyWithPreload)(()=>n.e("4887").then(n.bind(n,"9845"))),p=(0,r.lazyWithPreload)(()=>n.e("2551").then(n.bind(n,"2576"))),m=(0,r.lazyWithPreload)(()=>n.e("5305").then(n.bind(n,"5407"))),f=(0,r.lazyWithPreload)(()=>n.e("9549").then(n.bind(n,"4878"))),g=(0,r.lazyWithPreload)(()=>n.e("6201").then(n.bind(n,"728"))),x=(0,r.lazyWithPreload)(()=>n.e("4344").then(n.bind(n,"6795"))),v=(0,r.lazyWithPreload)(()=>n.e("6800").then(n.bind(n,"8182"))),b=(0,r.lazyWithPreload)(()=>n.e("6658").then(n.bind(n,"5722"))),y=(0,r.lazyWithPreload)(()=>n.e("8612").then(n.bind(n,"9959"))),w=(0,r.lazyWithPreload)(()=>n.e("3104").then(n.bind(n,"2397"))),k=(0,r.lazyWithPreload)(()=>n.e("6573").then(n.bind(n,"6850"))),j=(0,r.lazyWithPreload)(()=>n.e("7334").then(n.bind(n,"7705"))),I=(0,r.lazyWithPreload)(()=>n.e("737").then(n.bind(n,"72"))),P=(0,r.lazyWithPreload)(()=>n.e("7287").then(n.bind(n,"2632"))),S=(0,r.lazyWithPreload)(()=>n.e("8409").then(n.bind(n,"6939"))),E=(0,r.lazyWithPreload)(()=>n.e("972").then(n.bind(n,"9032"))),C=(0,r.lazyWithPreload)(()=>n.e("2259").then(n.bind(n,"9592"))),N=(0,r.lazyWithPreload)(()=>n.e("8058").then(n.bind(n,"5227"))),z=(0,r.lazyWithPreload)(()=>n.e("7929").then(n.bind(n,"9234"))),_=(0,r.lazyWithPreload)(()=>n.e("8975").then(n.bind(n,"726"))),A=(0,r.lazyWithPreload)(()=>n.e("2913").then(n.bind(n,"3566"))),T=(0,r.lazyWithPreload)(()=>n.e("803").then(n.bind(n,"1048"))),O=(0,r.lazyWithPreload)(()=>n.e("1005").then(n.bind(n,"5947"))),M=(0,r.lazyWithPreload)(()=>n.e("8746").then(n.bind(n,"4378"))),L=(0,r.lazyWithPreload)(()=>n.e("1819").then(n.bind(n,"6290"))),D=(0,r.lazyWithPreload)(()=>n.e("4306").then(n.bind(n,"8041"))),R=(0,r.lazyWithPreload)(()=>n.e("6167").then(n.bind(n,"8571"))),B=(0,r.lazyWithPreload)(()=>n.e("6566").then(n.bind(n,"1517"))),$=(0,r.lazyWithPreload)(()=>n.e("8571").then(n.bind(n,"8029"))),F=(0,r.lazyWithPreload)(()=>n.e("2263").then(n.bind(n,"3855"))),H=(0,r.lazyWithPreload)(()=>n.e("1867").then(n.bind(n,"5572"))),Z=(0,r.lazyWithPreload)(()=>n.e("6512").then(n.bind(n,"1919"))),W=(0,r.lazyWithPreload)(()=>n.e("3969").then(n.bind(n,"9641"))),U=(0,r.lazyWithPreload)(()=>n.e("8741").then(n.bind(n,"7880"))),V=(0,r.lazyWithPreload)(()=>n.e("8528").then(n.bind(n,"1458"))),q=(0,r.lazyWithPreload)(()=>n.e("8914").then(n.bind(n,"399"))),G=(0,r.lazyWithPreload)(()=>n.e("9931").then(n.bind(n,"5719"))),Y=(0,r.lazyWithPreload)(()=>n.e("6051").then(n.bind(n,"3692"))),Q=(0,r.lazyWithPreload)(()=>n.e("1563").then(n.bind(n,"9875"))),K=(0,r.lazyWithPreload)(()=>n.e("1684").then(n.bind(n,"2584"))),J=(0,r.lazyWithPreload)(()=>n.e("4607").then(n.bind(n,"5543"))),X=(0,r.lazyWithPreload)(()=>n.e("62").then(n.bind(n,"7503"))),ee=(0,r.lazyWithPreload)(()=>n.e("3535").then(n.bind(n,"1485"))),et=(0,r.lazyWithPreload)(()=>n.e("8067").then(n.bind(n,"6498"))),en=(0,r.lazyWithPreload)(()=>n.e("4575").then(n.bind(n,"5466"))),ei=(0,r.lazyWithPreload)(()=>n.e("9475").then(n.bind(n,"8747"))),er=(0,r.lazyWithPreload)(()=>n.e("7426").then(n.bind(n,"3757"))),eo=(0,r.lazyWithPreload)(()=>n.e("7115").then(n.bind(n,"1882"))),ea=(0,r.lazyWithPreload)(()=>n.e("7698").then(n.bind(n,"7904"))),el=(0,r.lazyWithPreload)(()=>n.e("958").then(n.bind(n,"2978"))),es=(0,r.lazyWithPreload)(()=>n.e("8580").then(n.bind(n,"5612"))),ed=(0,r.lazyWithPreload)(()=>n.e("538").then(n.bind(n,"9130"))),ec=(0,r.lazyWithPreload)(()=>n.e("1800").then(n.bind(n,"5293"))),eu=(0,r.lazyWithPreload)(()=>n.e("3635").then(n.bind(n,"2076"))),eh=(0,r.lazyWithPreload)(()=>n.e("9460").then(n.bind(n,"2966"))),ep=(0,r.lazyWithPreload)(()=>n.e("4699").then(n.bind(n,"5449"))),em=(0,r.lazyWithPreload)(()=>n.e("131").then(n.bind(n,"7321"))),ef=(0,r.lazyWithPreload)(()=>n.e("4131").then(n.bind(n,"9990"))),eg=(0,r.lazyWithPreload)(()=>n.e("310").then(n.bind(n,"1003"))),ex=(0,r.lazyWithPreload)(()=>n.e("9176").then(n.bind(n,"8393"))),ev=(0,r.lazyWithPreload)(()=>n.e("1310").then(n.bind(n,"8970"))),eb=(0,r.lazyWithPreload)(()=>n.e("4191").then(n.bind(n,"894"))),ey=(0,r.lazyWithPreload)(()=>n.e("2414").then(n.bind(n,"4069"))),ew=(0,r.lazyWithPreload)(()=>n.e("9697").then(n.bind(n,"5892"))),ek=(0,r.lazyWithPreload)(()=>n.e("7534").then(n.bind(n,"5130"))),ej=(0,r.lazyWithPreload)(()=>n.e("3937").then(n.bind(n,"4266"))),eI=(0,r.lazyWithPreload)(()=>n.e("5269").then(n.bind(n,"4605"))),eP=(0,r.lazyWithPreload)(()=>n.e("9016").then(n.bind(n,"934"))),eS=(0,r.lazyWithPreload)(()=>n.e("187").then(n.bind(n,"5884"))),eE=(0,r.lazyWithPreload)(()=>n.e("6275").then(n.bind(n,"4075"))),eC=(0,r.lazyWithPreload)(()=>n.e("5898").then(n.bind(n,"9168"))),eN=(0,r.lazyWithPreload)(()=>n.e("9675").then(n.bind(n,"4257"))),ez=(0,r.lazyWithPreload)(()=>n.e("705").then(n.bind(n,"7530"))),e_=(0,r.lazyWithPreload)(()=>n.e("7782").then(n.bind(n,"5840"))),eA=(0,r.lazyWithPreload)(()=>n.e("1166").then(n.bind(n,"6869"))),eT=(0,r.lazyWithPreload)(()=>n.e("1297").then(n.bind(n,"380"))),eO=(0,r.lazyWithPreload)(()=>n.e("19").then(n.bind(n,"4132"))),eM=(0,r.lazyWithPreload)(()=>n.e("1877").then(n.bind(n,"85"))),eL=(0,r.lazyWithPreload)(()=>n.e("8269").then(n.bind(n,"7482"))),eD=(0,r.lazyWithPreload)(()=>n.e("4764").then(n.bind(n,"3889"))),eR=(0,r.lazyWithPreload)(()=>n.e("347").then(n.bind(n,"9602"))),eB=(0,r.lazyWithPreload)(()=>n.e("1600").then(n.bind(n,"6166"))),e$=(0,r.lazyWithPreload)(()=>n.e("1711").then(n.bind(n,"1696"))),eF=(0,r.lazyWithPreload)(()=>n.e("8104").then(n.bind(n,"1456"))),eH=(0,r.lazyWithPreload)(()=>n.e("1960").then(n.bind(n,"5351"))),eZ=[{path:"/module-tools/en/api/config/build-config",element:i.createElement(o),filePath:"en/api/config/build-config.mdx",preload:async()=>(await o.preload(),n.e("7947").then(n.bind(n,"1699"))),lang:"en",version:""},{path:"/module-tools/en/api/config/build-preset",element:i.createElement(a),filePath:"en/api/config/build-preset.mdx",preload:async()=>(await a.preload(),n.e("7664").then(n.bind(n,"5048"))),lang:"en",version:""},{path:"/module-tools/en/api/config/dev",element:i.createElement(l),filePath:"en/api/config/dev.md",preload:async()=>(await l.preload(),n.e("270").then(n.bind(n,"9198"))),lang:"en",version:""},{path:"/module-tools/en/api/config/plugins",element:i.createElement(s),filePath:"en/api/config/plugins.md",preload:async()=>(await s.preload(),n.e("7565").then(n.bind(n,"5511"))),lang:"en",version:""},{path:"/module-tools/en/api/",element:i.createElement(d),filePath:"en/api/index.md",preload:async()=>(await d.preload(),n.e("330").then(n.bind(n,"9324"))),lang:"en",version:""},{path:"/module-tools/en/api/plugin-api/plugin-hooks",element:i.createElement(c),filePath:"en/api/plugin-api/plugin-hooks.md",preload:async()=>(await c.preload(),n.e("4523").then(n.bind(n,"712"))),lang:"en",version:""},{path:"/module-tools/en/components/faq-build-exception",element:i.createElement(u),filePath:"en/components/faq-build-exception.mdx",preload:async()=>(await u.preload(),n.e("2814").then(n.bind(n,"5783"))),lang:"en",version:""},{path:"/module-tools/en/components/faq-build-other",element:i.createElement(h),filePath:"en/components/faq-build-other.mdx",preload:async()=>(await h.preload(),n.e("4887").then(n.bind(n,"9845"))),lang:"en",version:""},{path:"/module-tools/en/components/faq-build-product",element:i.createElement(p),filePath:"en/components/faq-build-product.mdx",preload:async()=>(await p.preload(),n.e("2551").then(n.bind(n,"2576"))),lang:"en",version:""},{path:"/module-tools/en/components/faq-storybook",element:i.createElement(m),filePath:"en/components/faq-storybook.mdx",preload:async()=>(await m.preload(),n.e("5305").then(n.bind(n,"5407"))),lang:"en",version:""},{path:"/module-tools/en/components/publish-emo",element:i.createElement(f),filePath:"en/components/publish-emo.mdx",preload:async()=>(await f.preload(),n.e("9549").then(n.bind(n,"4878"))),lang:"en",version:""},{path:"/module-tools/en/components/register-esbuild-plugin",element:i.createElement(g),filePath:"en/components/register-esbuild-plugin.mdx",preload:async()=>(await g.preload(),n.e("6201").then(n.bind(n,"728"))),lang:"en",version:""},{path:"/module-tools/en/components/release-module-doc",element:i.createElement(x),filePath:"en/components/release-module-doc.mdx",preload:async()=>(await x.preload(),n.e("4344").then(n.bind(n,"6795"))),lang:"en",version:""},{path:"/module-tools/en/guide/advance/asset",element:i.createElement(v),filePath:"en/guide/advance/asset.mdx",preload:async()=>(await v.preload(),n.e("6800").then(n.bind(n,"8182"))),lang:"en",version:""},{path:"/module-tools/en/guide/advance/build-umd",element:i.createElement(b),filePath:"en/guide/advance/build-umd.mdx",preload:async()=>(await b.preload(),n.e("6658").then(n.bind(n,"5722"))),lang:"en",version:""},{path:"/module-tools/en/guide/advance/copy",element:i.createElement(y),filePath:"en/guide/advance/copy.md",preload:async()=>(await y.preload(),n.e("8612").then(n.bind(n,"9959"))),lang:"en",version:""},{path:"/module-tools/en/guide/advance/external-dependency",element:i.createElement(w),filePath:"en/guide/advance/external-dependency.mdx",preload:async()=>(await w.preload(),n.e("3104").then(n.bind(n,"2397"))),lang:"en",version:""},{path:"/module-tools/en/guide/advance/in-depth-about-build",element:i.createElement(k),filePath:"en/guide/advance/in-depth-about-build.md",preload:async()=>(await k.preload(),n.e("6573").then(n.bind(n,"6850"))),lang:"en",version:""},{path:"/module-tools/en/guide/advance/in-depth-about-dev-command",element:i.createElement(j),filePath:"en/guide/advance/in-depth-about-dev-command.md",preload:async()=>(await j.preload(),n.e("7334").then(n.bind(n,"7705"))),lang:"en",version:""},{path:"/module-tools/en/guide/basic/before-getting-started",element:i.createElement(I),filePath:"en/guide/basic/before-getting-started.md",preload:async()=>(await I.preload(),n.e("737").then(n.bind(n,"72"))),lang:"en",version:""},{path:"/module-tools/en/guide/basic/command-preview",element:i.createElement(P),filePath:"en/guide/basic/command-preview.md",preload:async()=>(await P.preload(),n.e("7287").then(n.bind(n,"2632"))),lang:"en",version:""},{path:"/module-tools/en/guide/basic/modify-output-product",element:i.createElement(S),filePath:"en/guide/basic/modify-output-product.md",preload:async()=>(await S.preload(),n.e("8409").then(n.bind(n,"6939"))),lang:"en",version:""},{path:"/module-tools/en/guide/basic/publish-your-project",element:i.createElement(E),filePath:"en/guide/basic/publish-your-project.mdx",preload:async()=>(await E.preload(),n.e("972").then(n.bind(n,"9032"))),lang:"en",version:""},{path:"/module-tools/en/guide/basic/use-micro-generator",element:i.createElement(C),filePath:"en/guide/basic/use-micro-generator.md",preload:async()=>(await C.preload(),n.e("2259").then(n.bind(n,"9592"))),lang:"en",version:""},{path:"/module-tools/en/guide/basic/use-module-doc",element:i.createElement(N),filePath:"en/guide/basic/use-module-doc.mdx",preload:async()=>(await N.preload(),n.e("8058").then(n.bind(n,"5227"))),lang:"en",version:""},{path:"/module-tools/en/guide/basic/using-storybook",element:i.createElement(z),filePath:"en/guide/basic/using-storybook.mdx",preload:async()=>(await z.preload(),n.e("7929").then(n.bind(n,"9234"))),lang:"en",version:""},{path:"/module-tools/en/guide/best-practices/components",element:i.createElement(_),filePath:"en/guide/best-practices/components.mdx",preload:async()=>(await _.preload(),n.e("8975").then(n.bind(n,"726"))),lang:"en",version:""},{path:"/module-tools/en/guide/best-practices/use-tailwindcss",element:i.createElement(A),filePath:"en/guide/best-practices/use-tailwindcss.mdx",preload:async()=>(await A.preload(),n.e("2913").then(n.bind(n,"3566"))),lang:"en",version:""},{path:"/module-tools/en/guide/faq/basic",element:i.createElement(T),filePath:"en/guide/faq/basic.mdx",preload:async()=>(await T.preload(),n.e("803").then(n.bind(n,"1048"))),lang:"en",version:""},{path:"/module-tools/en/guide/faq/build",element:i.createElement(O),filePath:"en/guide/faq/build.mdx",preload:async()=>(await O.preload(),n.e("1005").then(n.bind(n,"5947"))),lang:"en",version:""},{path:"/module-tools/en/guide/faq/",element:i.createElement(M),filePath:"en/guide/faq/index.md",preload:async()=>(await M.preload(),n.e("8746").then(n.bind(n,"4378"))),lang:"en",version:""},{path:"/module-tools/en/guide/faq/storybook",element:i.createElement(L),filePath:"en/guide/faq/storybook.mdx",preload:async()=>(await L.preload(),n.e("1819").then(n.bind(n,"6290"))),lang:"en",version:""},{path:"/module-tools/en/guide/intro/getting-started",element:i.createElement(D),filePath:"en/guide/intro/getting-started.mdx",preload:async()=>(await D.preload(),n.e("4306").then(n.bind(n,"8041"))),lang:"en",version:""},{path:"/module-tools/en/guide/intro/welcome",element:i.createElement(R),filePath:"en/guide/intro/welcome.md",preload:async()=>(await R.preload(),n.e("6167").then(n.bind(n,"8571"))),lang:"en",version:""},{path:"/module-tools/en/guide/intro/why-module-engineering-solution",element:i.createElement(B),filePath:"en/guide/intro/why-module-engineering-solution.md",preload:async()=>(await B.preload(),n.e("6566").then(n.bind(n,"1517"))),lang:"en",version:""},{path:"/module-tools/en/",element:i.createElement($),filePath:"en/index.md",preload:async()=>(await $.preload(),n.e("8571").then(n.bind(n,"8029"))),lang:"en",version:""},{path:"/module-tools/en/plugins/guide/getting-started",element:i.createElement(F),filePath:"en/plugins/guide/getting-started.mdx",preload:async()=>(await F.preload(),n.e("2263").then(n.bind(n,"3855"))),lang:"en",version:""},{path:"/module-tools/en/plugins/guide/plugin-object",element:i.createElement(H),filePath:"en/plugins/guide/plugin-object.mdx",preload:async()=>(await H.preload(),n.e("1867").then(n.bind(n,"5572"))),lang:"en",version:""},{path:"/module-tools/en/plugins/guide/setup-function",element:i.createElement(Z),filePath:"en/plugins/guide/setup-function.mdx",preload:async()=>(await Z.preload(),n.e("6512").then(n.bind(n,"1919"))),lang:"en",version:""},{path:"/module-tools/en/plugins/official-list/overview",element:i.createElement(W),filePath:"en/plugins/official-list/overview.md",preload:async()=>(await W.preload(),n.e("3969").then(n.bind(n,"9641"))),lang:"en",version:""},{path:"/module-tools/en/plugins/official-list/plugin-babel",element:i.createElement(U),filePath:"en/plugins/official-list/plugin-babel.mdx",preload:async()=>(await U.preload(),n.e("8741").then(n.bind(n,"7880"))),lang:"en",version:""},{path:"/module-tools/en/plugins/official-list/plugin-banner",element:i.createElement(V),filePath:"en/plugins/official-list/plugin-banner.mdx",preload:async()=>(await V.preload(),n.e("8528").then(n.bind(n,"1458"))),lang:"en",version:""},{path:"/module-tools/en/plugins/official-list/plugin-import",element:i.createElement(q),filePath:"en/plugins/official-list/plugin-import.mdx",preload:async()=>(await q.preload(),n.e("8914").then(n.bind(n,"399"))),lang:"en",version:""},{path:"/module-tools/en/plugins/official-list/plugin-node-polyfill",element:i.createElement(G),filePath:"en/plugins/official-list/plugin-node-polyfill.mdx",preload:async()=>(await G.preload(),n.e("9931").then(n.bind(n,"5719"))),lang:"en",version:""},{path:"/module-tools/en/plugins/official-list/plugin-polyfill",element:i.createElement(Y),filePath:"en/plugins/official-list/plugin-polyfill.mdx",preload:async()=>(await Y.preload(),n.e("6051").then(n.bind(n,"3692"))),lang:"en",version:""},{path:"/module-tools/en/plugins/official-list/plugin-vue",element:i.createElement(Q),filePath:"en/plugins/official-list/plugin-vue.mdx",preload:async()=>(await Q.preload(),n.e("1563").then(n.bind(n,"9875"))),lang:"en",version:""},{path:"/module-tools/api/config/build-config",element:i.createElement(K),filePath:"zh/api/config/build-config.mdx",preload:async()=>(await K.preload(),n.e("1684").then(n.bind(n,"2584"))),lang:"zh",version:""},{path:"/module-tools/api/config/build-preset",element:i.createElement(J),filePath:"zh/api/config/build-preset.mdx",preload:async()=>(await J.preload(),n.e("4607").then(n.bind(n,"5543"))),lang:"zh",version:""},{path:"/module-tools/api/config/dev",element:i.createElement(X),filePath:"zh/api/config/dev.md",preload:async()=>(await X.preload(),n.e("62").then(n.bind(n,"7503"))),lang:"zh",version:""},{path:"/module-tools/api/config/plugins",element:i.createElement(ee),filePath:"zh/api/config/plugins.md",preload:async()=>(await ee.preload(),n.e("3535").then(n.bind(n,"1485"))),lang:"zh",version:""},{path:"/module-tools/api/",element:i.createElement(et),filePath:"zh/api/index.md",preload:async()=>(await et.preload(),n.e("8067").then(n.bind(n,"6498"))),lang:"zh",version:""},{path:"/module-tools/api/plugin-api/plugin-hooks",element:i.createElement(en),filePath:"zh/api/plugin-api/plugin-hooks.md",preload:async()=>(await en.preload(),n.e("4575").then(n.bind(n,"5466"))),lang:"zh",version:""},{path:"/module-tools/components/faq-build-exception",element:i.createElement(ei),filePath:"zh/components/faq-build-exception.mdx",preload:async()=>(await ei.preload(),n.e("9475").then(n.bind(n,"8747"))),lang:"zh",version:""},{path:"/module-tools/components/faq-build-other",element:i.createElement(er),filePath:"zh/components/faq-build-other.mdx",preload:async()=>(await er.preload(),n.e("7426").then(n.bind(n,"3757"))),lang:"zh",version:""},{path:"/module-tools/components/faq-build-product",element:i.createElement(eo),filePath:"zh/components/faq-build-product.mdx",preload:async()=>(await eo.preload(),n.e("7115").then(n.bind(n,"1882"))),lang:"zh",version:""},{path:"/module-tools/components/faq-storybook",element:i.createElement(ea),filePath:"zh/components/faq-storybook.mdx",preload:async()=>(await ea.preload(),n.e("7698").then(n.bind(n,"7904"))),lang:"zh",version:""},{path:"/module-tools/components/publish-emo",element:i.createElement(el),filePath:"zh/components/publish-emo.mdx",preload:async()=>(await el.preload(),n.e("958").then(n.bind(n,"2978"))),lang:"zh",version:""},{path:"/module-tools/components/register-esbuild-plugin",element:i.createElement(es),filePath:"zh/components/register-esbuild-plugin.mdx",preload:async()=>(await es.preload(),n.e("8580").then(n.bind(n,"5612"))),lang:"zh",version:""},{path:"/module-tools/components/release-module-doc",element:i.createElement(ed),filePath:"zh/components/release-module-doc.mdx",preload:async()=>(await ed.preload(),n.e("538").then(n.bind(n,"9130"))),lang:"zh",version:""},{path:"/module-tools/guide/advance/asset",element:i.createElement(ec),filePath:"zh/guide/advance/asset.mdx",preload:async()=>(await ec.preload(),n.e("1800").then(n.bind(n,"5293"))),lang:"zh",version:""},{path:"/module-tools/guide/advance/build-umd",element:i.createElement(eu),filePath:"zh/guide/advance/build-umd.mdx",preload:async()=>(await eu.preload(),n.e("3635").then(n.bind(n,"2076"))),lang:"zh",version:""},{path:"/module-tools/guide/advance/copy",element:i.createElement(eh),filePath:"zh/guide/advance/copy.md",preload:async()=>(await eh.preload(),n.e("9460").then(n.bind(n,"2966"))),lang:"zh",version:""},{path:"/module-tools/guide/advance/external-dependency",element:i.createElement(ep),filePath:"zh/guide/advance/external-dependency.mdx",preload:async()=>(await ep.preload(),n.e("4699").then(n.bind(n,"5449"))),lang:"zh",version:""},{path:"/module-tools/guide/advance/in-depth-about-build",element:i.createElement(em),filePath:"zh/guide/advance/in-depth-about-build.md",preload:async()=>(await em.preload(),n.e("131").then(n.bind(n,"7321"))),lang:"zh",version:""},{path:"/module-tools/guide/advance/in-depth-about-dev-command",element:i.createElement(ef),filePath:"zh/guide/advance/in-depth-about-dev-command.md",preload:async()=>(await ef.preload(),n.e("4131").then(n.bind(n,"9990"))),lang:"zh",version:""},{path:"/module-tools/guide/basic/before-getting-started",element:i.createElement(eg),filePath:"zh/guide/basic/before-getting-started.md",preload:async()=>(await eg.preload(),n.e("310").then(n.bind(n,"1003"))),lang:"zh",version:""},{path:"/module-tools/guide/basic/command-preview",element:i.createElement(ex),filePath:"zh/guide/basic/command-preview.md",preload:async()=>(await ex.preload(),n.e("9176").then(n.bind(n,"8393"))),lang:"zh",version:""},{path:"/module-tools/guide/basic/modify-output-product",element:i.createElement(ev),filePath:"zh/guide/basic/modify-output-product.md",preload:async()=>(await ev.preload(),n.e("1310").then(n.bind(n,"8970"))),lang:"zh",version:""},{path:"/module-tools/guide/basic/publish-your-project",element:i.createElement(eb),filePath:"zh/guide/basic/publish-your-project.mdx",preload:async()=>(await eb.preload(),n.e("4191").then(n.bind(n,"894"))),lang:"zh",version:""},{path:"/module-tools/guide/basic/use-micro-generator",element:i.createElement(ey),filePath:"zh/guide/basic/use-micro-generator.md",preload:async()=>(await ey.preload(),n.e("2414").then(n.bind(n,"4069"))),lang:"zh",version:""},{path:"/module-tools/guide/basic/use-module-doc",element:i.createElement(ew),filePath:"zh/guide/basic/use-module-doc.mdx",preload:async()=>(await ew.preload(),n.e("9697").then(n.bind(n,"5892"))),lang:"zh",version:""},{path:"/module-tools/guide/basic/using-storybook",element:i.createElement(ek),filePath:"zh/guide/basic/using-storybook.mdx",preload:async()=>(await ek.preload(),n.e("7534").then(n.bind(n,"5130"))),lang:"zh",version:""},{path:"/module-tools/guide/best-practices/components",element:i.createElement(ej),filePath:"zh/guide/best-practices/components.mdx",preload:async()=>(await ej.preload(),n.e("3937").then(n.bind(n,"4266"))),lang:"zh",version:""},{path:"/module-tools/guide/best-practices/use-tailwindcss",element:i.createElement(eI),filePath:"zh/guide/best-practices/use-tailwindcss.mdx",preload:async()=>(await eI.preload(),n.e("5269").then(n.bind(n,"4605"))),lang:"zh",version:""},{path:"/module-tools/guide/faq/basic",element:i.createElement(eP),filePath:"zh/guide/faq/basic.mdx",preload:async()=>(await eP.preload(),n.e("9016").then(n.bind(n,"934"))),lang:"zh",version:""},{path:"/module-tools/guide/faq/build",element:i.createElement(eS),filePath:"zh/guide/faq/build.mdx",preload:async()=>(await eS.preload(),n.e("187").then(n.bind(n,"5884"))),lang:"zh",version:""},{path:"/module-tools/guide/faq/",element:i.createElement(eE),filePath:"zh/guide/faq/index.md",preload:async()=>(await eE.preload(),n.e("6275").then(n.bind(n,"4075"))),lang:"zh",version:""},{path:"/module-tools/guide/faq/storybook",element:i.createElement(eC),filePath:"zh/guide/faq/storybook.mdx",preload:async()=>(await eC.preload(),n.e("5898").then(n.bind(n,"9168"))),lang:"zh",version:""},{path:"/module-tools/guide/intro/getting-started",element:i.createElement(eN),filePath:"zh/guide/intro/getting-started.mdx",preload:async()=>(await eN.preload(),n.e("9675").then(n.bind(n,"4257"))),lang:"zh",version:""},{path:"/module-tools/guide/intro/welcome",element:i.createElement(ez),filePath:"zh/guide/intro/welcome.md",preload:async()=>(await ez.preload(),n.e("705").then(n.bind(n,"7530"))),lang:"zh",version:""},{path:"/module-tools/guide/intro/why-module-engineering-solution",element:i.createElement(e_),filePath:"zh/guide/intro/why-module-engineering-solution.md",preload:async()=>(await e_.preload(),n.e("7782").then(n.bind(n,"5840"))),lang:"zh",version:""},{path:"/module-tools/",element:i.createElement(eA),filePath:"zh/index.md",preload:async()=>(await eA.preload(),n.e("1166").then(n.bind(n,"6869"))),lang:"zh",version:""},{path:"/module-tools/plugins/guide/getting-started",element:i.createElement(eT),filePath:"zh/plugins/guide/getting-started.mdx",preload:async()=>(await eT.preload(),n.e("1297").then(n.bind(n,"380"))),lang:"zh",version:""},{path:"/module-tools/plugins/guide/plugin-object",element:i.createElement(eO),filePath:"zh/plugins/guide/plugin-object.mdx",preload:async()=>(await eO.preload(),n.e("19").then(n.bind(n,"4132"))),lang:"zh",version:""},{path:"/module-tools/plugins/guide/setup-function",element:i.createElement(eM),filePath:"zh/plugins/guide/setup-function.mdx",preload:async()=>(await eM.preload(),n.e("1877").then(n.bind(n,"85"))),lang:"zh",version:""},{path:"/module-tools/plugins/official-list/overview",element:i.createElement(eL),filePath:"zh/plugins/official-list/overview.md",preload:async()=>(await eL.preload(),n.e("8269").then(n.bind(n,"7482"))),lang:"zh",version:""},{path:"/module-tools/plugins/official-list/plugin-babel",element:i.createElement(eD),filePath:"zh/plugins/official-list/plugin-babel.mdx",preload:async()=>(await eD.preload(),n.e("4764").then(n.bind(n,"3889"))),lang:"zh",version:""},{path:"/module-tools/plugins/official-list/plugin-banner",element:i.createElement(eR),filePath:"zh/plugins/official-list/plugin-banner.mdx",preload:async()=>(await eR.preload(),n.e("347").then(n.bind(n,"9602"))),lang:"zh",version:""},{path:"/module-tools/plugins/official-list/plugin-import",element:i.createElement(eB),filePath:"zh/plugins/official-list/plugin-import.mdx",preload:async()=>(await eB.preload(),n.e("1600").then(n.bind(n,"6166"))),lang:"zh",version:""},{path:"/module-tools/plugins/official-list/plugin-node-polyfill",element:i.createElement(e$),filePath:"zh/plugins/official-list/plugin-node-polyfill.mdx",preload:async()=>(await e$.preload(),n.e("1711").then(n.bind(n,"1696"))),lang:"zh",version:""},{path:"/module-tools/plugins/official-list/plugin-polyfill",element:i.createElement(eF),filePath:"zh/plugins/official-list/plugin-polyfill.mdx",preload:async()=>(await eF.preload(),n.e("8104").then(n.bind(n,"1456"))),lang:"zh",version:""},{path:"/module-tools/plugins/official-list/plugin-vue",element:i.createElement(eH),filePath:"zh/plugins/official-list/plugin-vue.mdx",preload:async()=>(await eH.preload(),n.e("1960").then(n.bind(n,"5351"))),lang:"zh",version:""}]},1801:function(e,t,n){"use strict";n.d(t,{H:function(){return i}});let i=()=>{}},5756:function(e,t){"use strict";t.Z={"###en":"990cdff7","###zh":"4350d286"}},3328:function(e,t){"use strict";t.Z={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.54.4",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"}],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:"\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"}],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.54.4",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"}],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:"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"}],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.54.4",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"}],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:"\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"}],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.54.4",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"}],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:"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"}],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:"",logoText:"",ssg:!0,multiVersion:{default:"",versions:[]},search:{},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.name",id:"assetname",depth:2,charIndex:1113},{text:"asset.limit",id:"assetlimit",depth:2,charIndex:1571},{text:"asset.path",id:"assetpath",depth:2,charIndex:2045},{text:"asset.publicPath",id:"assetpublicpath",depth:2,charIndex:2149},{text:"asset.svgr",id:"assetsvgr",depth:2,charIndex:2336},{text:"asset.svgr.include",id:"assetsvgrinclude",depth:2,charIndex:2783},{text:"asset.svgr.exclude",id:"assetsvgrexclude",depth:2,charIndex:2901},{text:"asset.svgr.exportType",id:"assetsvgrexporttype",depth:2,charIndex:3018},{text:"autoExtension",id:"autoextension",depth:2,charIndex:3299},{text:"autoExternal",id:"autoexternal",depth:2,charIndex:4498},{text:"autoExternal.dependencies",id:"autoexternaldependencies",depth:2,charIndex:5006},{text:"autoExternal.peerDependencies",id:"autoexternalpeerdependencies",depth:2,charIndex:5142},{text:"banner",id:"banner",depth:2,charIndex:5273},{text:"buildType",id:"buildtype",depth:2,charIndex:5514},{text:"copy",id:"copy",depth:2,charIndex:5674},{text:"copy.patterns",id:"copypatterns",depth:2,charIndex:5850},{text:"copy.options",id:"copyoptions",depth:2,charIndex:5908},{text:"define",id:"define",depth:2,charIndex:6133},{text:"dts",id:"dts",depth:2,charIndex:7312},{text:"dts.abortOnError",id:"dtsabortonerror",depth:2,charIndex:7435},{text:"dts.distPath",id:"dtsdistpath",depth:2,charIndex:7919},{text:"dts.enableTscBuild",id:"dtsenabletscbuild",depth:2,charIndex:8081},{text:"dts.only",id:"dtsonly",depth:2,charIndex:8508},{text:"dts.tsconfigPath",id:"dtstsconfigpath",depth:2,charIndex:8664},{text:"dts.respectExternal",id:"dtsrespectexternal",depth:2,charIndex:8793},{text:"esbuildOptions",id:"esbuildoptions",depth:2,charIndex:9225},{text:"externalHelpers",id:"externalhelpers",depth:2,charIndex:10401},{text:"externals",id:"externals",depth:2,charIndex:10923},{text:"footer",id:"footer",depth:2,charIndex:11113},{text:"format",id:"format",depth:2,charIndex:11209},{text:"format: esm",id:"format-esm",depth:3,charIndex:11396},{text:"format: cjs",id:"format-cjs",depth:3,charIndex:11536},{text:"format: iife",id:"format-iife",depth:3,charIndex:11732},{text:"format: umd",id:"format-umd",depth:3,charIndex:12026},{text:"hooks",id:"hooks",depth:2,charIndex:12329},{text:"input",id:"input",depth:2,charIndex:12816},{text:"jsx",id:"jsx",depth:2,charIndex:13845},{text:"metafile",id:"metafile",depth:2,charIndex:14380},{text:"minify",id:"minify",depth:2,charIndex:14809},{text:"outDir",id:"outdir",depth:2,charIndex:14952},{text:"platform",id:"platform",depth:2,charIndex:15046},{text:"redirect",id:"redirect",depth:2,charIndex:15277},{text:"resolve",id:"resolve",depth:2,charIndex:15793},{text:"resolve.mainFields",id:"resolvemainfields",depth:3,charIndex:15838},{text:"resolve.jsExtentions",id:"resolvejsextentions",depth:3,charIndex:16333},{text:"shims",id:"shims",depth:2,charIndex:16798},{text:"sideEffects",id:"sideeffects",depth:2,charIndex:17219},{text:"sourceDir",id:"sourcedir",depth:2,charIndex:18068},{text:"sourceMap",id:"sourcemap",depth:2,charIndex:18326},{text:"sourceType",id:"sourcetype",depth:2,charIndex:18437},{text:"splitting",id:"splitting",depth:2,charIndex:18664},{text:"style",id:"style",depth:2,charIndex:18827},{text:"style.less",id:"styleless",depth:2,charIndex:18875},{text:"style.less.lessOptions",id:"stylelesslessoptions",depth:2,charIndex:18917},{text:"style.less.additionalData",id:"stylelessadditionaldata",depth:2,charIndex:19042},{text:"style.less.implementation",id:"stylelessimplementation",depth:2,charIndex:19163},{text:"style.sass",id:"stylesass",depth:2,charIndex:19508},{text:"style.sass.sassOptions",id:"stylesasssassoptions",depth:2,charIndex:19551},{text:"style.sass.additionalData",id:"stylesassadditionaldata",depth:2,charIndex:19657},{text:"style.sass.implementation",id:"stylesassimplementation",depth:2,charIndex:19789},{text:"style.postcss",id:"stylepostcss",depth:2,charIndex:20129},{text:"style.inject",id:"styleinject",depth:2,charIndex:20477},{text:"style.autoModules",id:"styleautomodules",depth:2,charIndex:21490},{text:"style.modules",id:"stylemodules",depth:2,charIndex:21837},{text:"style.tailwindcss",id:"styletailwindcss",depth:2,charIndex:22137},{text:"Enabling Tailwind CSS",id:"enabling-tailwind-css",depth:3,charIndex:22251},{text:"Type",id:"type",depth:3,charIndex:22460},{text:"Notes",id:"notes",depth:3,charIndex:22765},{text:"target",id:"target",depth:2,charIndex:23348},{text:"transformImport",id:"transformimport",depth:2,charIndex:23712},{text:"transformLodash",id:"transformlodash",depth:2,charIndex:24068},{text:"tsconfig",id:"tsconfig",depth:2,charIndex:24569},{text:"umdGlobals",id:"umdglobals",depth:2,charIndex:24674},{text:"umdModuleName",id:"umdmodulename",depth:2,charIndex:24985}],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:-1},{text:"`npm-library-with-umd`",id:"npm-library-with-umd",depth:3,charIndex:-1},{text:"`npm-component`",id:"npm-component",depth:3,charIndex:-1},{text:"`npm-component-with-umd`",id:"npm-component-with-umd",depth:3,charIndex:-1},{text:"`npm-library-{es5...esnext}`",id:"npm-library-es5esnext",depth:3,charIndex:-1},{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:"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:-1},{text:"build hooks",id:"build-hooks",depth:2,charIndex:596},{text:"`beforeBuild`",id:"beforebuild",depth:3,charIndex:-1},{text:"`beforeBuildTask`",id:"beforebuildtask",depth:3,charIndex:-1},{text:"`afterBuildTask`",id:"afterbuildtask",depth:3,charIndex:-1},{text:"`afterBuild`",id:"afterbuild",depth:3,charIndex:-1},{text:"buildPlatform hooks",id:"buildplatform-hooks",depth:2,charIndex:1494},{text:"`registerBuildPlatform`",id:"registerbuildplatform",depth:3,charIndex:-1},{text:"`beforeBuildPlatform`",id:"beforebuildplatform",depth:3,charIndex:-1},{text:"`buildPlatform`",id:"buildplatform",depth:3,charIndex:-1},{text:"`afterBuildPlatform`",id:"afterbuildplatform",depth:3,charIndex:-1},{text:"Dev Hooks",id:"dev-hooks",depth:2,charIndex:2796},{text:"`registerDev`",id:"registerdev",depth:3,charIndex:-1},{text:"`beforeDev`",id:"beforedev",depth:3,charIndex:-1},{text:"`(before|after)DevMenu`",id:"beforeafterdevmenu",depth:3,charIndex:-1},{text:"`beforeDevTask`",id:"beforedevtask",depth:3,charIndex:-1},{text:"`afterDev`",id:"afterdev",depth:3,charIndex:-1}],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/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:-1},{text:"`input` / `sourceDir`",id:"input--sourcedir",depth:2,charIndex:-1},{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:-1},{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:-1},{text:"`npm install`",id:"npm-install",depth:4,charIndex:-1},{text:"`npm publish`",id:"npm-publish",depth:4,charIndex:-1},{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:-1},{text:"`modern new`",id:"modern-new",depth:2,charIndex:-1},{text:"`modern dev`",id:"modern-dev",depth:2,charIndex:-1},{text:"`modern lint`",id:"modern-lint",depth:2,charIndex:-1},{text:"`modern change`",id:"modern-change",depth:2,charIndex:-1},{text:"`modern pre`",id:"modern-pre",depth:2,charIndex:-1},{text:"`modern bump`",id:"modern-bump",depth:2,charIndex:-1},{text:"`modern release`",id:"modern-release",depth:2,charIndex:-1},{text:"`modern gen-release-note`",id:"modern-gen-release-note",depth:2,charIndex:-1},{text:"`modern upgrade`",id:"modern-upgrade",depth:2,charIndex:-1}],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:610},{text:"Version update",id:"version-update",depth:2,charIndex:1355},{text:"Publish",id:"publish",depth:2,charIndex:1780},{text:"Pre-releases",id:"pre-releases",depth:2,charIndex:2468}],frontmatter:{sidebar_position:7},version:"",_relativePath:"en/guide/basic/publish-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:"Storybook",id:"storybook",depth:2,charIndex:895},{text:"Tailwind CSS Support",id:"tailwind-css-support",depth:2,charIndex:1243},{text:"Modern.js Runtime API",id:"modernjs-runtime-api",depth:2,charIndex:1528}],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:3121},{text:"Using external demos",id:"using-external-demos",depth:3,charIndex:3451},{text:"Using built-in components",id:"using-built-in-components",depth:2,charIndex:3691},{text:"API",id:"api",depth:3,charIndex:3837},{text:"Parse file",id:"parse-file",depth:4,charIndex:3883},{text:"Content generation",id:"content-generation",depth:4,charIndex:3981},{text:"Using the component",id:"using-the-component",depth:4,charIndex:5005},{text:"Overview",id:"overview",depth:3,charIndex:5154},{text:"Plugin options",id:"plugin-options",depth:2,charIndex:5675},{text:"apiParseTool",id:"apiparsetool",depth:3,charIndex:5693},{text:"doc",id:"doc",depth:3,charIndex:5817},{text:"entries",id:"entries",depth:3,charIndex:5833},{text:"iframePosition",id:"iframeposition",depth:3,charIndex:6040},{text:"parseToolOptions",id:"parsetooloptions",depth:3,charIndex:6320},{text:"previewMode",id:"previewmode",depth:3,charIndex:6408},{text:"deprecated: languages",id:"deprecated-languages",depth:3,charIndex:6599},{text:"deprecated: useModuleSidebar",id:"deprecated-usemodulesidebar",depth:3,charIndex:6746},{text:"Scripts",id:"scripts",depth:2,charIndex:6967},{text:"Advanced guide",id:"advanced-guide",depth:2,charIndex:7130}],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:"Releasing components",id:"releasing-components",depth:2,charIndex:2666}],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:-1},{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:-1}],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:316},{text:"babel-plugin-lodash treats the introduced lodash as `undefined`",id:"babel-plugin-lodash-treats-the-introduced-lodash-as-undefined",depth:3,charIndex:-1},{text:"Cannot find module 'http'",id:"cannot-find-module-http",depth:3,charIndex:2578},{text:"Exceptions FAQ",id:"exceptions-faq",depth:2,charIndex:2995},{text:'Dynamic require of "react" is not supported',id:"dynamic-require-of-react-is-not-supported",depth:3,charIndex:3013},{text:"Problem Description",id:"problem-description",depth:4,charIndex:3059},{text:"Solution",id:"solution",depth:4,charIndex:3287},{text:"Reference Links",id:"reference-links",depth:4,charIndex:3792},{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:4560},{text:"Bundle DTS failed",id:"bundle-dts-failed",depth:3,charIndex:5206},{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:5958},{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:5971},{text:"Add additional compilation feature",id:"add-additional-compilation-feature",depth:3,charIndex:6445},{text:"Support for generating TypeScript declaration files for CSS Modules",id:"support-for-generating-typescript-declaration-files-for-css-modules",depth:3,charIndex:7173}],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:3},{text:"Using Storybook Addon or other configurations does not work",id:"using-storybook-addon-or-other-configurations-does-not-work",depth:2,charIndex:104},{text:"Cannot find module 'react-dom/package.json'",id:"cannot-find-module-react-dompackagejson",depth:2,charIndex:519},{text:"Unable to locate the specific error message",id:"unable-to-locate-the-specific-error-message",depth:2,charIndex:681},{text:"Can`t find any stories is your Storybook",id:"cant-find-any-stories-is-your-storybook",depth:2,charIndex:900},{text:"Storybook Adds Proxy Functionality",id:"storybook-adds-proxy-functionality",depth:2,charIndex:1200},{text:"Tailwind CSS doesn't work in Storybook",id:"tailwind-css-doesnt-work-in-storybook",depth:2,charIndex:1585}],frontmatter:{},version:"",_relativePath:"en/guide/faq/storybook.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:"Lint: Code Formatting",details:"Built-in ESLint rules for rich scenarios.",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:-1},{text:"`api.useResolvedConfigContext`",id:"apiuseresolvedconfigcontext",depth:3,charIndex:-1},{text:"`api.useHookRunners`",id:"apiusehookrunners",depth:3,charIndex:-1},{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.name",id:"assetname",depth:2,charIndex:506},{text:"asset.limit",id:"assetlimit",depth:2,charIndex:753},{text:"asset.path",id:"assetpath",depth:2,charIndex:981},{text:"asset.publicPath",id:"assetpublicpath",depth:2,charIndex:1052},{text:"asset.svgr",id:"assetsvgr",depth:2,charIndex:1159},{text:"asset.svgr.include",id:"assetsvgrinclude",depth:2,charIndex:1411},{text:"asset.svgr.exclude",id:"assetsvgrexclude",depth:2,charIndex:1510},{text:"asset.svgr.exportType",id:"assetsvgrexporttype",depth:2,charIndex:1611},{text:"autoExtension",id:"autoextension",depth:2,charIndex:1802},{text:"autoExternal",id:"autoexternal",depth:2,charIndex:2393},{text:"autoExternal.dependencies",id:"autoexternaldependencies",depth:2,charIndex:2670},{text:"autoExternal.peerDependencies",id:"autoexternalpeerdependencies",depth:2,charIndex:2758},{text:"banner",id:"banner",depth:2,charIndex:2854},{text:"buildType",id:"buildtype",depth:2,charIndex:2984},{text:"copy",id:"copy",depth:2,charIndex:3087},{text:"copy.patterns",id:"copypatterns",depth:2,charIndex:3128},{text:"copy.options",id:"copyoptions",depth:2,charIndex:3180},{text:"define",id:"define",depth:2,charIndex:3341},{text:"dts",id:"dts",depth:2,charIndex:3802},{text:"dts.abortOnError",id:"dtsabortonerror",depth:2,charIndex:3864},{text:"dts.distPath",id:"dtsdistpath",depth:2,charIndex:4097},{text:"dts.enableTscBuild",id:"dtsenabletscbuild",depth:2,charIndex:4196},{text:"dts.only",id:"dtsonly",depth:2,charIndex:4419},{text:"dts.respectExternal",id:"dtsrespectexternal",depth:2,charIndex:4499},{text:"dts.tsconfigPath",id:"dtstsconfigpath",depth:2,charIndex:4718},{text:"esbuildOptions",id:"esbuildoptions",depth:2,charIndex:4790},{text:"externalHelpers",id:"externalhelpers",depth:2,charIndex:5293},{text:"externals",id:"externals",depth:2,charIndex:5501},{text:"footer",id:"footer",depth:2,charIndex:5617},{text:"format",id:"format",depth:2,charIndex:5655},{text:"format: esm",id:"format-esm",depth:3,charIndex:5780},{text:"format: cjs",id:"format-cjs",depth:3,charIndex:5859},{text:"format: iife",id:"format-iife",depth:3,charIndex:5957},{text:"format: umd",id:"format-umd",depth:3,charIndex:6058},{text:"hooks",id:"hooks",depth:2,charIndex:6211},{text:"input",id:"input",depth:2,charIndex:6359},{text:"jsx",id:"jsx",depth:2,charIndex:6824},{text:"metafile",id:"metafile",depth:2,charIndex:7147},{text:"minify",id:"minify",depth:2,charIndex:7385},{text:"outDir",id:"outdir",depth:2,charIndex:7505},{text:"platform",id:"platform",depth:2,charIndex:7559},{text:"redirect",id:"redirect",depth:2,charIndex:7693},{text:"resolve",id:"resolve",depth:2,charIndex:7924},{text:"resolve.mainFields",id:"resolvemainfields",depth:3,charIndex:7946},{text:"resolve.jsExtentions",id:"resolvejsextentions",depth:3,charIndex:8263},{text:"shims",id:"shims",depth:2,charIndex:8520},{text:"sideEffects",id:"sideeffects",depth:2,charIndex:8787},{text:"sourceDir",id:"sourcedir",depth:2,charIndex:9229},{text:"sourceMap",id:"sourcemap",depth:2,charIndex:9345},{text:"sourceType",id:"sourcetype",depth:2,charIndex:9432},{text:"splitting",id:"splitting",depth:2,charIndex:9590},{text:"style",id:"style",depth:2,charIndex:9703},{text:"style.less",id:"styleless",depth:2,charIndex:9724},{text:"style.less.lessOptions",id:"stylelesslessoptions",depth:2,charIndex:9750},{text:"style.less.additionalData",id:"stylelessadditionaldata",depth:2,charIndex:9841},{text:"style.less.implementation",id:"stylelessimplementation",depth:2,charIndex:9925},{text:"sass",id:"sass",depth:2,charIndex:10100},{text:"style.sass.sassOptions",id:"stylesasssassoptions",depth:2,charIndex:10120},{text:"style.sass.additionalData",id:"stylesassadditionaldata",depth:2,charIndex:10190},{text:"style.sass.implementation",id:"stylesassimplementation",depth:2,charIndex:10285},{text:"style.postcss",id:"stylepostcss",depth:2,charIndex:10461},{text:"style.inject",id:"styleinject",depth:2,charIndex:10620},{text:"style.autoModules",id:"styleautomodules",depth:2,charIndex:11116},{text:"style.modules",id:"stylemodules",depth:2,charIndex:11350},{text:"style.tailwindcss",id:"styletailwindcss",depth:2,charIndex:11529},{text:"\u542F\u7528 Tailwind CSS",id:"\u542F\u7528-tailwind-css",depth:3,charIndex:11611},{text:"\u7C7B\u578B",id:"\u7C7B\u578B",depth:3,charIndex:11731},{text:"\u6CE8\u610F\u4E8B\u9879",id:"\u6CE8\u610F\u4E8B\u9879",depth:3,charIndex:11862},{text:"target",id:"target",depth:2,charIndex:12152},{text:"transformImport",id:"transformimport",depth:2,charIndex:12318},{text:"transformLodash",id:"transformlodash",depth:2,charIndex:12514},{text:"tsconfig",id:"tsconfig",depth:2,charIndex:12756},{text:"umdGlobals",id:"umdglobals",depth:2,charIndex:12844},{text:"umdModuleName",id:"umdmodulename",depth:2,charIndex:13004}],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:-1},{text:"`npm-library-with-umd`",id:"npm-library-with-umd",depth:2,charIndex:-1},{text:"`npm-component`",id:"npm-component",depth:2,charIndex:-1},{text:"`npm-component-with-umd`",id:"npm-component-with-umd",depth:2,charIndex:-1},{text:"`npm-library-{es5...esnext}`",id:"npm-library-es5esnext",depth:2,charIndex:-1},{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:"\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:-1},{text:"\u6784\u5EFA\u94A9\u5B50",id:"\u6784\u5EFA\u94A9\u5B50",depth:2,charIndex:276},{text:"`beforeBuild`",id:"beforebuild",depth:3,charIndex:-1},{text:"`beforeBuildTask`",id:"beforebuildtask",depth:3,charIndex:-1},{text:"`afterBuildTask`",id:"afterbuildtask",depth:3,charIndex:-1},{text:"`afterBuild`",id:"afterbuild",depth:3,charIndex:-1},{text:"buildPlatform \u94A9\u5B50",id:"buildplatform-\u94A9\u5B50",depth:2,charIndex:713},{text:"`registerBuildPlatform`",id:"registerbuildplatform",depth:3,charIndex:-1},{text:"`beforeBuildPlatform`",id:"beforebuildplatform",depth:3,charIndex:-1},{text:"`buildPlatform`",id:"buildplatform",depth:3,charIndex:-1},{text:"`afterBuildPlatform`",id:"afterbuildplatform",depth:3,charIndex:-1},{text:"\u8C03\u8BD5\u94A9\u5B50",id:"\u8C03\u8BD5\u94A9\u5B50",depth:2,charIndex:1459},{text:"`registerDev`",id:"registerdev",depth:3,charIndex:-1},{text:"`beforeDev`",id:"beforedev",depth:3,charIndex:-1},{text:"`(before|after)DevMenu`",id:"beforeafterdevmenu",depth:3,charIndex:-1},{text:"`beforeDevTask`",id:"beforedevtask",depth:3,charIndex:-1},{text:"`afterDev`",id:"afterdev",depth:3,charIndex:-1}],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/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:-1},{text:"`input` / `sourceDir`",id:"input--sourcedir",depth:2,charIndex:-1},{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:-1},{text:"`npm publish`",id:"npm-publish",depth:4,charIndex:-1},{text:"peerDependencies",id:"peerdependencies",depth:3,charIndex:2825},{text:"npm \u5305\u7BA1\u7406\u5668",id:"npm-\u5305\u7BA1\u7406\u5668",depth:2,charIndex:3139},{text:"Modern.js Module \u914D\u7F6E\u6587\u4EF6",id:"modernjs-module-\u914D\u7F6E\u6587\u4EF6",depth:2,charIndex:3247}],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:-1},{text:"`modern new`",id:"modern-new",depth:2,charIndex:-1},{text:"`modern dev`",id:"modern-dev",depth:2,charIndex:-1},{text:"`modern lint`",id:"modern-lint",depth:2,charIndex:-1},{text:"`modern change`",id:"modern-change",depth:2,charIndex:-1},{text:"`modern pre`",id:"modern-pre",depth:2,charIndex:-1},{text:"`modern bump`",id:"modern-bump",depth:2,charIndex:-1},{text:"`modern release`",id:"modern-release",depth:2,charIndex:-1},{text:"`modern gen-release-note`",id:"modern-gen-release-note",depth:2,charIndex:-1},{text:"`modern upgrade`",id:"modern-upgrade",depth:2,charIndex:-1}],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:664},{text:"\u7ED3\u5408\u914D\u7F6E\u4E0E\u9884\u8BBE",id:"\u7ED3\u5408\u914D\u7F6E\u4E0E\u9884\u8BBE",depth:2,charIndex:1952}],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:231},{text:"\u7248\u672C\u66F4\u65B0",id:"\u7248\u672C\u66F4\u65B0",depth:2,charIndex:519},{text:"\u53D1\u5E03",id:"\u53D1\u5E03",depth:2,charIndex:728},{text:"\u9884\u53D1\u5E03",id:"\u9884\u53D1\u5E03",depth:2,charIndex:1040}],frontmatter:{sidebar_position:7},version:"",_relativePath:"zh/guide/basic/publish-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:"Storybook \u8C03\u8BD5",id:"storybook-\u8C03\u8BD5",depth:2,charIndex:370},{text:"Tailwind CSS \u652F\u6301",id:"tailwind-css-\u652F\u6301",depth:2,charIndex:561},{text:"Modern.js Runtime API \u652F\u6301",id:"modernjs-runtime-api-\u652F\u6301",depth:2,charIndex:709}],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:1216},{text:"\u4F7F\u7528\u5916\u90E8 demo",id:"\u4F7F\u7528\u5916\u90E8-demo",depth:3,charIndex:1369},{text:"\u4F7F\u7528\u5185\u7F6E\u7EC4\u4EF6",id:"\u4F7F\u7528\u5185\u7F6E\u7EC4\u4EF6",depth:2,charIndex:1461},{text:"API",id:"api",depth:3,charIndex:1505},{text:"\u89E3\u6790\u6587\u4EF6",id:"\u89E3\u6790\u6587\u4EF6",depth:4,charIndex:1525},{text:"\u5185\u5BB9\u751F\u6210",id:"\u5185\u5BB9\u751F\u6210",depth:4,charIndex:1563},{text:"\u7EC4\u4EF6\u4F7F\u7528",id:"\u7EC4\u4EF6\u4F7F\u7528",depth:4,charIndex:2032},{text:"Overview",id:"overview",depth:3,charIndex:2092},{text:"\u63D2\u4EF6\u914D\u7F6E",id:"\u63D2\u4EF6\u914D\u7F6E",depth:2,charIndex:2360},{text:"apiParseTool",id:"apiparsetool",depth:3,charIndex:2368},{text:"doc",id:"doc",depth:3,charIndex:2478},{text:"entries",id:"entries",depth:3,charIndex:2493},{text:"iframePosition",id:"iframeposition",depth:3,charIndex:2596},{text:"parseToolOptions",id:"parsetooloptions",depth:3,charIndex:2749},{text:"previewMode",id:"previewmode",depth:3,charIndex:2818},{text:"deprecated: languages",id:"deprecated-languages",depth:3,charIndex:2936},{text:"deprecated: useModuleSidebar",id:"deprecated-usemodulesidebar",depth:3,charIndex:3003},{text:"\u547D\u4EE4\u884C",id:"\u547D\u4EE4\u884C",depth:2,charIndex:3112},{text:"\u8FDB\u9636\u6307\u5357",id:"\u8FDB\u9636\u6307\u5357",depth:2,charIndex:3184}],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:"\u53D1\u5E03\u7EC4\u4EF6",id:"\u53D1\u5E03\u7EC4\u4EF6",depth:2,charIndex:1431}],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:-1},{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:-1}],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:118},{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:-1},{text:"Cannot find module 'http'",id:"cannot-find-module-http",depth:3,charIndex:1337},{text:"\u5F02\u5E38\u7C7B\u95EE\u9898",id:"\u5F02\u5E38\u7C7B\u95EE\u9898",depth:2,charIndex:1559},{text:'Dynamic require of "react" is not supported',id:"dynamic-require-of-react-is-not-supported",depth:3,charIndex:1568},{text:"\u95EE\u9898\u63CF\u8FF0",id:"\u95EE\u9898\u63CF\u8FF0",depth:4,charIndex:1614},{text:"\u89E3\u51B3\u529E\u6CD5",id:"\u89E3\u51B3\u529E\u6CD5",depth:4,charIndex:1714},{text:"\u53C2\u8003\u94FE\u63A5",id:"\u53C2\u8003\u94FE\u63A5",depth:4,charIndex:1916},{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:-1},{text:"Bundleless DTS failed",id:"bundleless-dts-failed",depth:3,charIndex:2338},{text:"Bundle DTS failed",id:"bundle-dts-failed",depth:3,charIndex:2595},{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:-1},{text:"\u5176\u4ED6",id:"\u5176\u4ED6",depth:2,charIndex:2940},{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:2946},{text:"\u589E\u52A0\u989D\u5916\u7684\u7F16\u8BD1\u80FD\u529B",id:"\u589E\u52A0\u989D\u5916\u7684\u7F16\u8BD1\u80FD\u529B",depth:3,charIndex:3184},{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:3492}],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:3},{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:58},{text:"Cannot find module 'react-dom/package.json'",id:"cannot-find-module-react-dompackagejson",depth:2,charIndex:263},{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:373},{text:"Couldn't find any stories is your Storybook",id:"couldnt-find-any-stories-is-your-storybook",depth:2,charIndex:538},{text:"Storybook \u6DFB\u52A0 Proxy \u529F\u80FD",id:"storybook-\u6DFB\u52A0-proxy-\u529F\u80FD",depth:2,charIndex:696},{text:"Tailwind CSS \u5728 Storybook \u4E2D\u4E0D\u751F\u6548",id:"tailwind-css-\u5728-storybook-\u4E2D\u4E0D\u751F\u6548",depth:2,charIndex:918}],frontmatter:{},version:"",_relativePath:"zh/guide/faq/storybook.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:"Lint: \u4EE3\u7801\u683C\u5F0F\u5316",details:"\u4E30\u5BCC\u573A\u666F\u7684\u5185\u7F6E ESLint \u89C4\u5219\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:-1},{text:"`api.useResolvedConfigContext`",id:"apiuseresolvedconfigcontext",depth:3,charIndex:-1},{text:"`api.useHookRunners`",id:"apiusehookrunners",depth:3,charIndex:-1},{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"}}},9580:function(e,t,n){"use strict";n.d(t,{Zo:function(){return l},ah:function(){return o}});var i=n("2363");let r=i.createContext({});function o(e){let t=i.useContext(r);return i.useMemo(()=>"function"==typeof e?e(t):{...t,...e},[t,e])}let a={};function l({components:e,children:t,disableParentContext:n}){let l;return l=n?"function"==typeof e?e({}):e||a:o(e),i.createElement(r.Provider,{value:l},t)}},2855:function(e,t,n){"use strict";n.d(t,{$U:function(){return th},E9:function(){return tv},Kw:function(){return td},_f:function(){return ta},bw:function(){return tr},kv:function(){return te},lm:function(){return to},mi:function(){return ts},pJ:function(){return tx},pZ:function(){return tu},rp:function(){return tt},t6:function(){return tn},tz:function(){return tg},xM:function(){return tp},xf:function(){return tc},yc:function(){return tf},yv:function(){return ti}});var i,r,o,a,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,j=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))},I=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=j(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},N=m["__core-js_shared__"];var z=(i=/[^.]+$/.exec(N&&N.keys&&N.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"",_=Function.prototype.toString,A=function(e){if(null!=e){try{return _.call(e)}catch(e){}try{return e+""}catch(e){}}return""},T=/^\[object .+?Constructor\]$/,O=Object.prototype,M=Function.prototype.toString,L=O.hasOwnProperty,D=RegExp("^"+M.call(L).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),R=function(e){var t;return!!S(e)&&(t=e,!z||!(z 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},$=Object.create,F=function(){function e(){}return function(t){if(!S(t))return{};if($)return $(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),H=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)},Z=function(e,t){var n=-1,i=e.length;for(t||(t=Array(i));++n0){if(++o>=800)return arguments[0]}else o=0;return r.apply(void 0,arguments)}),q=/^(?:0|[1-9]\d*)$/,G=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&q.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)&&G(t,n.length)):"string"==i&&t in n)&&Q(n[t],e)},eo=Object.prototype,ea=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||eo)},el=function(e,t){for(var n=-1,i=Array(e);++n-1},eD.prototype.set=function(e,t){var n=this.__data__,i=eM(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},e$=function(e,t){var n=e.__data__;return eB(t)?n["string"==typeof t?"string":"hash"]:n.map};function eF(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t1?t[i-1]:void 0,o=i>2?t[2]:void 0;for(r=u.length>3&&"function"==typeof r?(i--,r):void 0,o&&er(t[0],t[1],o)&&(r=i<3?void 0:r,i=1),e=Object(e);++n!0,tr=e=>e.replace(e9,"").replace(e8,"");function to(e){return e.replace(/#.*$/,"")}var ta=()=>!0;function tl(e){return"/"===e.charAt(0)||tc(e)?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)"."===e||""===e||(".."===e?r.length>0&&".."!==r[r.length-1]?r.pop():n&&r.push(".."):r.push(e));let o=r.join("/");return n&&(o=`/${o}`),o}(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 o=tv(e,i);!o&&(o=r?"/index":"/index.html"),o.endsWith("/")&&(o+=r?"/index":"/index.html");let a="",l="",s="",d=o.split("/").filter(Boolean);return n.current&&n.current!==n.default&&(a=d.shift()||""),t.target!==t.default?(l=t.target,t.current!==t.default&&d.shift()):d.shift(),s=d.join("/")||"",(a||l)&&!s&&(s=r?"index":"index.html"),tx(tl([a,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 o="",a=r.split("/").filter(Boolean);t.target!==t.default?(o=t.target,t.current!==t.default&&a.shift()):a.shift();let l=a.join("/")||"";return o&&!l&&(l=i?"index":"index.html"),tx(tl([o,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));return!t&&!n.endsWith(".html")&&(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)}`),"")}},125:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 32 32",...e,children:(0,i.jsx)("path",{fill:"currentColor",d:"M16 22 6 12l1.4-1.4 8.6 8.6 8.6-8.6L26 12z"})})},2247:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 32 32",...e,children:(0,i.jsx)("path",{fill:"currentColor",d:"M22 16 12 26l-1.4-1.4 8.6-8.6-8.6-8.6L12 6z"})})},5329:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 32 32",...e,children:(0,i.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"})})},2313:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:32,height:32,viewBox:"0 0 30 30",...e,children:[(0,i.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,i.jsx)("path",{fill:"currentColor",d:"M4 18H2V4a2 2 0 0 1 2-2h14v2H4Z"})]})},3388:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 32 32",...e,children:(0,i.jsx)("path",{fill:"currentColor",d:"M16 22 6 12l1.4-1.4 8.6 8.6 8.6-8.6L26 12z"})})},8009:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:48,height:48,fill:"none",viewBox:"0 0 48 48",...e,children:[(0,i.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,i.jsx)("path",{stroke:"currentColor",strokeWidth:4,d:"M41.5 30H28s-1 3-4 3-4-3-4-3H6.5"})]})},6433:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 32 32",...e,children:[(0,i.jsx)("circle",{cx:22,cy:24,r:2,fill:"currentColor"}),(0,i.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,i.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,i.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"})]})},6113:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:(0,i.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"})})},4788:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:(0,i.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"})})},8640:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 32 32",...e,children:(0,i.jsx)("path",{fill:"currentColor",d:"M28 12v-2h-6V4h-2v6h-8V4h-2v6H4v2h6v8H4v2h6v6h2v-6h8v6h2v-6h6v-2h-6v-8Zm-8 8h-8v-8h8Z"})})},4820:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 32 32",...e,children:(0,i.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"})})},4400:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsx)("svg",{width:32,height:32,viewBox:"0 0 24 24",...e,children:(0,i.jsxs)("g",{fill:"none",stroke:"var(--rp-c-brand)",strokeLinecap:"round",strokeWidth:2,children:[(0,i.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,i.jsx)("animate",{fill:"freeze",attributeName:"stroke-dashoffset",dur:"1.3s",values:"60;0"})}),(0,i.jsxs)("path",{strokeDasharray:15,strokeDashoffset:15,d:"M12 3a9 9 0 0 1 9 9",children:[(0,i.jsx)("animate",{fill:"freeze",attributeName:"stroke-dashoffset",dur:"0.3s",values:"15;0"}),(0,i.jsx)("animateTransform",{attributeName:"transform",dur:"1.5s",repeatCount:"indefinite",type:"rotate",values:"0 12 12;360 12 12"})]})]})})},3614:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 32 32",...e,children:(0,i.jsx)("path",{fill:"currentColor",d:"M4 6h24v2H4zm0 18h24v2H4zm0-12h24v2H4zm0 6h24v2H4z"})})},1457:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24",...e,children:(0,i.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"})})},7617:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsx)("svg",{width:24,height:24,viewBox:"0 0 32 32",...e,children:(0,i.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"})})},4992:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:32,height:32,viewBox:"0 0 32 32",...e,children:[(0,i.jsx)("circle",{cx:8,cy:16,r:2,fill:"currentColor"}),(0,i.jsx)("circle",{cx:16,cy:16,r:2,fill:"currentColor"}),(0,i.jsx)("circle",{cx:24,cy:16,r:2,fill:"currentColor"})]})},4226:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsx)("svg",{width:32,height:32,viewBox:"0 0 30 30",...e,children:(0,i.jsx)("path",{fill:"#49cd37",d:"m13 24-9-9 1.414-1.414L13 21.171 26.586 7.586 28 9 13 24z"})})},1505:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24",...e,children:(0,i.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"})})},1188:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",...e,children:(0,i.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"})})},6255:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsx)("svg",{width:18,height:18,viewBox:"0 0 32 32",...e,children:(0,i.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"})})},5687:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:32,height:32,viewBox:"0 0 24 24",...e,children:(0,i.jsx)("path",{fill:"currentColor",d:"M16 7H3V5h13v2M3 19h13v-2H3v2m19-7-4-3v2H3v2h15v2l4-3Z"})})},3211:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n("2363");var i=n("9980"),r=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:32,height:32,viewBox:"0 0 24 24",...e,children:(0,i.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"})})},3657:function(e,t,n){"use strict";n.d(t,{AV:function(){return tr},Ar:function(){return tI},BZ:function(){return t9},CF:function(){return eU},CU:function(){return eW},Ct:function(){return t2},EG:function(){return n2},JL:function(){return nO},KO:function(){return nu},M4:function(){return e$},NG:function(){return tp},O9:function(){return na},OK:function(){return nK},Os:function(){return tP},Qe:function(){return nW},Qn:function(){return tv},RY:function(){return tj},Rg:function(){return id},SU:function(){return nH},TJ:function(){return t0},UQ:function(){return eG},VA:function(){return tm},Vl:function(){return eV},Vp:function(){return ic},WG:function(){return nx},WS:function(){return eZ},YE:function(){return io},YS:function(){return ti},ZB:function(){return il},ZP:function(){return ip},cY:function(){return eY},eE:function(){return eQ},eF:function(){return eq},g2:function(){return nL},ls:function(){return tc},mQ:function(){return nQ},mi:function(){return t6},of:function(){return ih},ol:function(){return n3},pU:function(){return nV},qx:function(){return eB},rU:function(){return ns},s2:function(){return th},tx:function(){return eH},xB:function(){return nr},xK:function(){return ne},xN:function(){return tf},y2:function(){return tt},zh:function(){return tu},zx:function(){return t4}});var i,r,o,a,l,s,d,c,u,h,p,m,f,g,x,v,b,y,w,k,j,I,P=n("1812"),S=n("9980");n("1642");var E=n("288"),C=n("3657"),N=n("5929"),z=n("2363"),_=n("9580"),A=n("741"),T=n("8319"),O=n("2688"),M=n("2855"),L=n("5187"),D=n("5653"),R=n("5756"),B=n("3328"),$=n("3371"),F=n("9555"),H=n("4520"),Z=n("3614"),W=n("2247"),U=n("5394"),V=n("5687"),q=n("3211"),G=n("6288"),Y=n("8271"),Q=n("9522"),K=n("2313"),J=n("4226"),X=n("1207"),ee=n("7841"),et=n("9593"),en=n("4992"),ei=n("2555"),er=n("1505"),eo=n("1457"),ea=n("125"),el=n("6255"),es=n("3388"),ed=n("7617"),ec=n("1593"),eu=n("9157"),eh=n("1850"),ep=n("1801"),em=n("5329"),ef=n("4400"),eg=n("8009"),ex=n("6433"),ev=n("4820"),eb=n("8640"),ey=n("1188"),ew=n("6113"),ek=n("4788"),ej=Object.defineProperty,eI=Object.defineProperties,eP=Object.getOwnPropertyDescriptors,eS=Object.getOwnPropertySymbols,eE=Object.prototype.hasOwnProperty,eC=Object.prototype.propertyIsEnumerable,eN=(e,t,n)=>t in e?ej(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ez=(e,t)=>{for(var n in t||(t={}))eE.call(t,n)&&eN(e,n,t[n]);if(eS)for(var n of eS(t))eC.call(t,n)&&eN(e,n,t[n]);return e},e_=(e,t)=>eI(e,eP(t)),eA=(e,t)=>{var n={};for(var i in e)eE.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&eS)for(var i of eS(e))0>t.indexOf(i)&&eC.call(e,i)&&(n[i]=e[i]);return n},eT=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},eO=(e,t,n)=>(eT(e,t,"read from private field"),n?n.call(e):t.get(e)),eM=(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)},eL=(e,t,n,i)=>(eT(e,t,"write to private field"),i?i.call(e,n):t.set(e,n),n),eD=(e,t,n)=>(eT(e,t,"access private method"),n),eR=(e,t,n)=>new Promise((i,r)=>{var o=e=>{try{l(n.next(e))}catch(e){r(e)}},a=e=>{try{l(n.throw(e))}catch(e){r(e)}},l=e=>e.done?i(e.value):Promise.resolve(e.value).then(o,a);l((n=n.apply(e,t)).next())});function eB(){let{siteData:e}=(0,P.Vi)(),t=e.lang;if(t&&"undefined"!=typeof window&&location.pathname.includes(`/${t}/`)){let e=location.pathname.replace(`/${t}/`,"/");return window.location.replace(e),(0,S.jsx)(S.Fragment,{})}return(0,S.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,S.jsx)("p",{className:"text-6xl font-semibold",children:"404"}),(0,S.jsx)("h1",{className:"leading-5 pt-3 text-xl font-bold",children:"PAGE NOT FOUND"}),(0,S.jsx)("div",{style:{height:"1px"},className:"mt-6 mx-auto mb-4.5 w-16 bg-gray-light-1"}),(0,S.jsx)("div",{className:"pt-5",children:(0,S.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"})})]})}function e$(){var e,t,n;let i=(0,P.Vi)(),{page:{lang:r}}=i,o=null!=(t=null==(e=null==i?void 0:i.siteData)?void 0:e.themeConfig)?t:{},a=null!=(n=i.siteData.lang)?n:"",l=null==o?void 0:o.locales;return l&&0!==l.length?e_(ez({},l.find(e=>e.lang===r)),{langRoutePrefix:r===a?"/":r}):{nav:o.nav,sidebar:o.sidebar,prevPageText:o.prevPageText,nextPageText:o.nextPageText,sourceCodeText:o.sourceCodeText,searchPlaceholderText:o.searchPlaceholderText}}var eF=(e,t)=>{let n;for(let i of Object.keys(e)){if(n&&n!==i)continue;if((0,O.pV)((0,O.pJ)(i),t))return{group:"Documentation",items:e[i]};let r=e[i].find(r=>{let o=r=>{if(!t.startsWith((0,O.pJ)(i))){for(let r of Object.keys(e))if(r!==i&&t.startsWith((0,M.mi)((0,O.pJ)(r))))return n=r,!1}let a=()=>"link"in r&&(0,O.pV)((0,O.pJ)(r.link),t);if("items"in r)return!!a()||r.items.some(e=>o(e));return a()};return o(r)});if(r){let t=e[i];return{group:"text"in r&&r.text||"",items:t}}}return{group:"Documentation",items:[]}};function eH(){var e;let t=e$(),n=null!=(e=t.sidebar)?e:{},{pathname:i}=(0,T.TH)(),r=decodeURIComponent(i),[o,a]=(0,z.useState)(eF(n,r));return(0,z.useEffect)(()=>{a(eF(n,r))},[r,t.lang]),o}function eZ(){let{pathname:e}=(0,T.TH)(),{items:t}=eH(),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,O.pV)((0,O.pJ)(t.link),e)),o=n[r-1]||null;return{prevPage:o,nextPage:n[r+1]||null}}function eW(){var e,t,n;let{siteData:i,page:r}=(0,P.Vi)(),o=null!=(n=null!=(t=e$().editLink)?t:null==(e=i.themeConfig)?void 0:e.editLink)?n:{};if(!o.docRepoBaseUrl||!o.text)return null;let{docRepoBaseUrl:a}=o;!a.endsWith("/")&&(a+="/");let l=r._relativePath.replace(/\\/g,"/"),s=`${a}${l}`;return{text:o.text,link:s}}function eU(){var e;let{siteData:{themeConfig:t},page:{frontmatter:n={}}}=(0,P.Vi)(),i=(null==(e=null==n?void 0:n.navbar)||e)&&(null==t?void 0:t.hideNavbar)!=="always",[r,o]=(0,z.useState)(i);return[r,o]}function eV(){var e;let{siteData:{themeConfig:t}}=(0,P.Vi)(),n=null!=(e=t.hideNavbar)?e:"never",[i,r]=(0,z.useState)(!1),{pathname:o}=(0,T.TH)(),a=(0,z.useRef)(0);return"never"!==n&&("always"===n||((0,z.useEffect)(()=>{r(!1);let e=(0,L.Z)(()=>{let{scrollTop:e}=document.documentElement;if(e!==a.current)r(a.current>0&&e-a.current>0),a.current=e<=0?0:e},200);return window.addEventListener("mousewheel",e),window.addEventListener("touchmove",e),()=>{window.removeEventListener("mousewheel",e),window.removeEventListener("touchmove",e)}},[o]),i))}function eq(e,t,n=72){let i=parseInt(window.getComputedStyle(e).paddingTop,10),r=window.scrollY+e.getBoundingClientRect().top-n-i;window.scrollTo(ez({left:0,top:Math.round(r)},t?{behavior:"smooth"}:{}))}function eG(){let e=document.getElementById("aside-container"),t=Array.from(document.querySelectorAll(".rspress-doc .header-anchor")).filter(e=>{var t;return(null==(t=e.parentElement)?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"),o=null==e?void 0:e.querySelector(`a[href="#${null==r?void 0:r.slice(1)}"] > span`);o&&(n&&n.classList.remove("aside-active"),(n=o).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=a&&o{n&&n.classList.remove("aside-active"),window.removeEventListener("scroll",o)}}function eY(){(0,M._f)()&&(window.addEventListener("click",e=>{let t=e.target.closest("a");if(t){let{origin:n,hash:i,target:r,pathname:o,search:a}=t,l=window.location;i&&"_blank"!==r&&n===l.origin&&(o===l.pathname&&a===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&&eq(i,n)}(t,i,!0),window.dispatchEvent(new Event("hashchange"))):window.addEventListener("RspressReloadContent",()=>{location.hash.length>1&&eq(document.getElementById(location.hash.slice(1)),!1)}))}},{capture:!0}),window.addEventListener("hashchange",e=>{e.preventDefault()}))}function eQ(){let e=(0,P.Jr)(),t=(0,P.aw)(),n=(0,P.Vi)(),i=n.siteData.lang,r=n.siteData.multiVersion.default;return{normalizeLinkHref:n=>{let o=n;if((i||r)&&!(0,M.xf)(o)&&!o.startsWith("#")){let n=(o=(0,O.E9)(o)).split("/").filter(Boolean),a="",l="",s="";return r&&(t!==r?(a=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,O.AP)((0,O.pJ)([a,l,s].filter(Boolean).join("/")))}return o}}}var eK="default",eJ=/[\u3131-\u314e|\u314f-\u3163|\uac00-\ud7a3]/u,eX=/[\u0400-\u04FF]/u;function e0(e){let t=e.toString().toLowerCase().normalize("NFD"),n=t.replace(/[\u0300-\u036f]/g,"");return eX.test(String(e))?t.normalize("NFC"):eJ.test(String(e))?n.normalize("NFC"):n}function e1(e){return e.replace(/https?:\/\/[^/]+/,"")}function e2(e){return e.charCodeAt(0)>255?3:1}var e3=e=>e.map(e=>"string"==typeof e?{value:e,label:e}:e);function e4(e,t){let n=0,i=0;for(let r=0;r=t);r++)i+=e2(e.charAt(r)),n++;return n}function e5(e){let t=0;for(let n=0;ne_(ez({},e),{normalizedContent:e0(e.content),headers:e.toc.map(e=>e0(e.text)).join(" "),normalizedTitle:e0(e.title)})),c={tokenize:"full",async:!0,doc:{id:"routePath",field:["normalizedTitle","headers","normalizedContent"]},cache:100,split:/\W+/};eL(this,r,D.create(c)),eL(this,o,D.create(e_(ez({},c),{tokenize:e=>e8(e,e6)}))),eL(this,a,D.create(e_(ez({},c),{tokenize:e=>e8(e,e7)}))),eO(this,r).add(d),eO(this,o).add(d),eO(this,a).add(d)})}search(e){return eR(this,null,function*(){var t,n;let{keyword:i,limit:l}=e,s={query:i,limit:l,field:["normalizedTitle","headers","normalizedContent"]};return[{index:eK,hits:(yield Promise.all([null==(t=eO(this,r))?void 0:t.search(s),null==(n=eO(this,o))?void 0:n.search(s),eO(this,a).search(s)])).flat(2).filter(Boolean)}]})}};r=new WeakMap,o=new WeakMap,a=new WeakMap,l=new WeakSet,s=function(e,t){return eR(this,null,function*(){let n=`${t}###${e}`,i=t?`.${t.replace(".","_")}`:"",r=e?`.${e}`:"";return(yield fetch(`/module-tools/static/${M.t6}${i}${r}.${R.Z[n]}.json`)).json()})};var te=class{constructor(){eM(this,d,void 0)}init(e){return eR(this,null,function*(){eL(this,d,e)})}search(e){return eR(this,null,function*(){let{apiUrl:t,searchIndexes:n}=eO(this,d),{keyword:i,limit:r}=e,o=Object.entries({keyword:i,limit:r.toString(),searchIndexes:(null==n?void 0:n.map(e=>"string"==typeof e?e:e.value).join(","))||"",lang:eO(this,d).currentLang}).map(e=>e.map(encodeURIComponent).join("=")).join("&");try{return(yield fetch(`${t}?${o}`)).json()}catch(e){return console.error(e),[]}})}};d=new WeakMap;var tt=((i=tt||{}).Default="default",i.Custom="custom",i),tn=class{constructor(e){if(eM(this,p),eM(this,f),eM(this,x),eM(this,b),eM(this,w),eM(this,j),eM(this,c,void 0),eM(this,u,eK),eM(this,h,void 0),eL(this,c,e),eL(this,u,e.indexName),"remote"===e.mode)eL(this,h,new te);else eL(this,h,new e9)}init(){return eR(this,null,function*(){var e;yield null==(e=eO(this,h))?void 0:e.init(eO(this,c))})}match(e,t=7){return eR(this,null,function*(){var n;let i=yield null==(n=eO(this,h))?void 0:n.search({keyword:e,limit:t}),r=e0(e),o=(null==i?void 0:i.find(e=>eD(this,j,I).call(this,e.index)))||{index:eK,renderType:"default",hits:[]};return[{group:eO(this,u),renderType:"default",result:eD(this,p,m).call(this,r,o)},...((null==i?void 0:i.filter(e=>!eD(this,j,I).call(this,e.index)))||[]).map(e=>({group:e.index,renderType:"default",result:eD(this,p,m).call(this,r,e)}))]})}};function ti(){var e;let{siteData:t,page:n}=(0,P.Vi)(),[i,r]=(0,z.useState)(!1),{sidebar:o}=e$(),a=e=>eF(o,e).group,l=(0,z.useRef)(null);return(0,z.useEffect)(()=>{!function(){eR(this,null,function*(){if(!i){let e=new tn(e_(ez({},t.search),{mode:"local",currentLang:n.lang,currentVersion:n.version,extractGroupName:a}));l.current=e,yield e.init(),r(!0)}})}()},[]),{initialized:i,search:null==(e=l.current)?void 0:e.match.bind(l.current)}}function tr(){let{siteData:e,page:t}=(0,P.Vi)(),n=e.lang||"",i=Object.values(e.themeConfig.locales||{}).map(e=>e.lang)||[],r=t.lang;(0,z.useEffect)(()=>{var t;let o;if("auto"!==(null!=(t=e.themeConfig.localeRedirect)?t:"auto")||!n)return;let{pathname:a,search:l}=window.location,s=(0,O.E9)(a),d="rspress-visited";if(localStorage.getItem(d))return;localStorage.setItem(d,"1");let c=window.navigator.language.split("-")[0];if(!!i.includes(c))c!==r&&(o=c===n?a.replace(`/${r}`,""):r===n?(0,O.pJ)(`/${c}${s}`):a.replace(`/${r}`,`/${c}`))&&window.location.replace(o+l)},[])}c=new WeakMap,u=new WeakMap,h=new WeakMap,p=new WeakSet,m=function(e,t){let n=[];return null==t||t.hits.forEach(t=>{eD(this,f,g).call(this,t,e,n),!eD(this,x,v).call(this,t,e,n)&&eD(this,b,y).call(this,t,e,n)}),n},f=new WeakSet,g=function(e,t,n){let{title:i=""}=e,r=e0(i);return!!r.includes(t)&&(n.push({type:"title",title:i,header:i,link:`${e.domain}${(0,O.AP)(e.routePath)}`,query:t,highlightInfoList:[{start:r.indexOf(t),length:e5(t)}],group:eO(this,c).extractGroupName(e.routePath)}),!0)},x=new WeakSet,v=function(e,t,n){let{toc:i=[],domain:r="",title:o=""}=e;for(let[a,l]of i.entries())if(e0(l.text).includes(t)){let s=(function(e,t){let n=e[t],i=t,r=[n];for(;n&&n.depth>2;){let t=!1;for(let o=i-1;o>=0;o--){let a=e[o];if(a.depth>1&&a.depth===n.depth-1){n=a,i=o,r.unshift(n),t=!0;break}}if(!t)break}return r})(i,a).map(e=>e.text).join(" > "),d=e0(s).indexOf(t),u=`${o} > `;return n.push({type:"header",title:e.title,header:`${u}${s}`,highlightInfoList:[{start:d+u.length,length:e5(t)}],link:`${r}${(0,O.AP)(e.routePath)}#${l.id}`,query:t,group:eO(this,c).extractGroupName(e.routePath)}),!0}return!1},b=new WeakSet,y=function(e,t,n){var i,r,o;let{content:a,toc:l,domain:s}=e;if(!a.length)return;let d=e0(a),u=d.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 o=null==(i=e._matchesPosition)?void 0:i.content;if(!(null==o?void 0:o.length))return;let l=e._matchesPosition.content[0].start,d=p(l),u=e4(a,l),h=e4(a,l+100),m=a.slice(u,h),f=e._matchesPosition.content.filter(e=>e.start>=l&&e.start+e.length<=l+100).map(e=>({start:e4(a,e.start)-u+3,length:e.length}));n.push({type:"content",title:e.title,header:null!=(r=null==d?void 0:d.text)?r:e.title,link:`${s}${(0,O.AP)(e.routePath)}${d?`#${d.id}`:""}`,query:t,highlightInfoList:f,group:eO(this,c).extractGroupName(e.routePath),statement:`...${m}...`});return}for(;-1!==u;){let i=p(u),r=a.slice(0,u).lastIndexOf("\n");r=-1===r?0:r;let l=a.indexOf("\n\n",u+t.length),h=a.slice(r,l);h.length>100&&(h=eD(this,w,k).call(this,h,t));let m=e0(h).indexOf(t),f=[{start:m,length:e5(t)}];n.push({type:"content",title:e.title,header:null!=(o=null==i?void 0:i.text)?o:e.title,statement:h,highlightInfoList:f,link:`${s}${(0,O.AP)(e.routePath)}${i?`#${i.id}`:""}`,query:t,group:eO(this,c).extractGroupName(e.routePath)}),u=d.indexOf(t,u+h.length-m)}},w=new WeakSet,k=function(e,t){let n=e0(e).indexOf(e0(t)),i=Math.floor((100-t.length)/2),r=e.slice(0,n);r.length>i&&(r=`...${e.slice(n-i+3,n)}`);let o=e.slice(n+t.length);return o.length>i&&(o=`${e.slice(n+t.length,n+i-3)}...`),r+t+o},j=new WeakSet,I=function(e){return e===eO(this,u)||e===eK};var to=e=>{let t=(0,z.useRef)(e);return t.current=e,(0,z.useRef)((...e)=>t.current(...e)).current},ta=e=>{let[t,n]=(0,z.useState)(()=>"undefined"!=typeof window&&window.matchMedia(e).matches);return(0,z.useEffect)(()=>{let t=window.matchMedia(e),i=e=>n(e.matches);return t.addEventListener("change",i),()=>t.removeEventListener("change",i)},[e]),t},tl=(e,t=null)=>{let[n,i]=(0,z.useState)(()=>{var n;return"undefined"==typeof window?t:null!=(n=localStorage.getItem(e))?n:t}),r=(0,z.useCallback)(t=>{i(n=>{let i="function"==typeof t?t(n):t;return null==i?localStorage.removeItem(e):localStorage.setItem(e,i),i})},[e]);return(0,z.useEffect)(()=>{let n=n=>{var r;n.key===e&&i(null!=(r=localStorage.getItem(e))?r:t)};return window.addEventListener("storage",n),()=>{window.removeEventListener("storage",n)}},[e,t]),[n,r]},ts=e=>["light","dark","auto"].includes(e)?e:"auto",td=!1===B.Z.themeConfig.darkMode,tc=()=>{let e=ta("(prefers-color-scheme: dark)"),[t,n]=tl(M.rp),i=to(()=>{if(td)return"light";let n=ts(t);return"auto"===n?e?"dark":"light":n}),[r,o]=(0,z.useState)(()=>{var e;if("undefined"==typeof window)return"light";let t=null!=(e=window.RSPRESS_THEME)?e:window.MODERN_THEME;return t?"dark"===t?"dark":"light":i()}),a=(0,z.useCallback)((e,t=e)=>{!td&&(o(e),n(t),s(!0))},[]);(0,z.useEffect)(()=>{document.documentElement.classList.toggle("dark","dark"===r),document.documentElement.style.colorScheme=r},[r]);let[l,s]=(0,z.useState)(!0);return(0,z.useEffect)(()=>{s(!1)},[l]),(0,z.useEffect)(()=>{!l&&a(i(),ts(t))},[t]),(0,z.useEffect)(()=>{!l&&a(e?"dark":"light","auto")},[e]),[r,a]};function tu(e,t,n=!1){return!!t&&(n?(0,O.pV)(e,t):(0,O.pV)(e,t)||e.startsWith(t))}function th(){return window.innerWidth<=1024}function tp(e){return e?(0,H.Z)(e)?e:(0,F.Z)(e)?$(e):e:""}function tm(e){return tp(e.replace(/$1").replace(/`(.*?)`/g,"$1"))}function tf(e){var t;let{headers:n}=e,i=n.length>0,r=(null==(t=n[0])?void 0:t.depth)||2,o=eV();return(0,z.useEffect)(()=>{let e;setTimeout(()=>{e=eG()},100);let t=decodeURIComponent(window.location.hash);if(t){let e=document.getElementById(t.slice(1));e&&eq(e,!1,o?0:72)}else window.scrollTo(0,0);return()=>{e&&e()}},[n]),(0,S.jsx)("div",{className:"flex flex-col",children:(0,S.jsx)("div",{className:i?"(0,S.jsx)("li",{children:(0,S.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&&eq(n,!1,o?0:72)},children:(0,S.jsx)("span",{className:"aside-link-text block",children:tm(e.text)})})},e.id))})})]})})})}var tg="prev_e7091",tx="next_e7091";function tv(){let{prevPage:e,nextPage:t}=eZ(),{lastUpdated:n=!1}=e$(),{siteData:i}=(0,P.Vi)(),{themeConfig:r}=i,o=r.lastUpdated||n;return(0,S.jsxs)("footer",{className:"mt-8",children:[(0,S.jsx)("div",{className:"xs:flex pb-5 px-2 justify-end items-center",children:o&&(0,S.jsx)(C.O9,{})}),(0,S.jsx)("div",{className:"flex flex-col",children:(0,S.jsx)(C.mi,{})}),(0,S.jsxs)("div",{className:"flex flex-col sm:flex-row sm:justify-around gap-4 pt-6",children:[(0,S.jsx)("div",{className:`${tg} flex flex-col`,children:e?(0,S.jsx)(C.Qe,{type:"prev",text:e.text,href:(0,O.AP)(e.link)}):null}),(0,S.jsx)("div",{className:`${tx} flex flex-col`,children:t?(0,S.jsx)(C.Qe,{type:"next",text:t.text,href:(0,O.AP)(t.link)}):null})]})]})}function tb(e){var{icon:t}=e,n=eA(e,["icon"]);return t?"string"==typeof t?(0,S.jsx)("img",ez({src:t,alt:""},n)):(0,S.jsx)(t,ez({},n)):null}function ty({outlineTitle:e,beforeSidebar:t,afterSidebar:n,uiSwitch:i}){let[r,o]=(0,z.useState)(!1),[a,l]=(0,z.useState)(!1),s=(0,z.useRef)(),d=(0,z.useRef)(),{pathname:c}=(0,T.TH)();(0,z.useEffect)(()=>{o(!1)},[c]),(0,z.useEffect)(()=>(document.addEventListener("mouseup",u),document.addEventListener("touchend",u),()=>{document.addEventListener("mouseup",u),document.removeEventListener("touchend",u)}),[]);let u=e=>{let{current:t}=d;if(null==t?void 0:t.contains(e.target))return;let{current:n}=s;n&&!n.contains(e.target)&&l(!1)};return(0,S.jsxs)(z.Fragment,{children:[(0,S.jsxs)("div",{className:"rspress-sidebar-menu",children:[i.showSidebar?(0,S.jsxs)("button",{onClick:function(){o(!0)},className:"flex-center mr-auto",children:[(0,S.jsx)("div",{className:"text-md mr-2",children:(0,S.jsx)(tb,{icon:Z.Z})}),(0,S.jsx)("span",{className:"text-sm",children:"Menu"})]}):null,i.showAside?(0,S.jsxs)(z.Fragment,{children:[(0,S.jsxs)("button",{onClick:()=>l(e=>!e),className:"flex-center ml-auto",ref:d,children:[(0,S.jsx)("span",{className:"text-sm",children:e}),(0,S.jsx)("div",{className:"text-md mr-2",style:{transform:a?"rotate(90deg)":"rotate(0deg)",transition:"transform 0.2s ease-out",marginTop:"2px"},children:(0,S.jsx)(tb,{icon:W.Z})})]}),(0,S.jsx)(U.Z,{in:a,timeout:300,unmountOnExit:!0,classNames:"fly-in",nodeRef:s,children:(0,S.jsx)("div",{className:"rspress-local-toc-container",ref:s,children:(0,S.jsx)(C.of,{onItemClick:()=>{l(!1)}})})})]}):null]}),i.showSidebar?(0,S.jsxs)(z.Fragment,{children:[(0,S.jsx)(C.YE,{isSidebarOpen:r,beforeSidebar:t,afterSidebar:n,uiSwitch:i}),r?(0,S.jsx)("div",{onClick:function(){o(!1)},className:"rspress-sidebar-back-drop",style:{background:"rgba(0, 0, 0, 0.6)"}}):null]}):null]})}var tw=(0,z.createContext)({}),tk={asideContainer:"aside-container_edeb4",docLayout:"docLayout_edeb4",content:"content_edeb4"};function tj(e){var t,n;let{beforeDocFooter:i,afterDocFooter:r,beforeDoc:o,afterDoc:a,beforeOutline:l,afterOutline:s,beforeSidebar:d,afterSidebar:c,uiSwitch:u}=e,{siteData:h,page:p}=(0,P.Vi)(),{toc:m=[],frontmatter:f}=p,[g,x]=(0,z.useState)({}),{themeConfig:v}=h,b=null!=(t=v.enableScrollToTop)&&t,y=e$(),w=(null==y?void 0:y.outlineTitle)||(null==v?void 0:v.outlineTitle)||"ON THIS PAGE",k=null!=(n=null==f?void 0:f.overview)&&n,j=(0,S.jsx)(tw.Provider,{value:{tabData:g,setTabData:x},children:(0,S.jsx)(_.Zo,{components:(0,C.TJ)(),children:(0,S.jsx)(N.V,{})})});return(0,S.jsxs)("div",{className:`${tk.docLayout} pt-0`,style:ez({},u.showNavbar?{}:{marginTop:0}),children:[o,(0,S.jsx)(ty,{outlineTitle:w,beforeSidebar:d,afterSidebar:c,uiSwitch:u}),(0,S.jsxs)("div",{className:`${tk.content} rspress-doc-container flex flex-shrink-0 mx-auto`,children:[(0,S.jsx)("div",{className:"w-full flex-1",children:k?(0,S.jsx)(C.g2,{content:j}):(0,S.jsxs)("div",{children:[(0,S.jsx)("div",{className:"rspress-doc",children:j}),(0,S.jsxs)("div",{className:"rspress-doc-footer",children:[i,u.showDocFooter&&(0,S.jsx)(tv,{}),r]})]})}),b&&(0,S.jsx)(A.r,{children:(0,S.jsx)(C.pU,{})}),u.showAside?(0,S.jsx)("div",{className:tk.asideContainer,style:ez({},u.showNavbar?{}:{marginTop:0,paddingTop:"32px"}),children:(0,S.jsxs)("div",{children:[l,(0,S.jsx)(tf,{headers:m,outlineTitle:w}),s]})}):null]}),a]})}var tI=e=>{var t;let{top:n,bottom:i,beforeDocFooter:r,afterDocFooter:o,beforeDoc:a,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:o,beforeDoc:a,afterDoc:l,beforeSidebar:s,afterSidebar:d,beforeOutline:c,afterOutline:u},w={beforeHero:f,afterHero:g,beforeFeatures:x,afterFeatures:v},{siteData:k,page:j}=(0,P.Vi)(),{pageType:I,lang:_,title:A,frontmatter:O}=j,M=e$();tr();let L=null!=(t=null==O?void 0:O.title)?t:A,D=k.title||M.title;L=L&&"doc"===I?`${L} - ${D}`:D;let R=(null==O?void 0:O.description)||k.description||M.description,B=function(){var e,t;let{page:n,siteData:i}=(0,P.Vi)(),{frontmatter:r}=n,{themeConfig:o}=i,a=e$(),l=(0,T.TH)(),s=null!=(e=null==r?void 0:r.overview)&&e,d=()=>{var e,t;let n="undefined"==typeof window||window.top===window.self;return(null!=(t=null!=(e=null==r?void 0:r.outline)?e:null==o?void 0:o.outline)?t:n)&&!s},[c,u]=eU(),[h,p]=(0,z.useState)(d()),[m,f]=(0,z.useState)(null==(t=null==r?void 0:r.footer)||t),g=a.sidebar||{},x=(null==r?void 0:r.sidebar)!==!1&&Object.keys(g).length>0;return(0,z.useEffect)(()=>{p(d())},[n,i]),(0,z.useEffect)(()=>{let e=new URLSearchParams(l.search),t=document.documentElement.style,n=t.getPropertyValue("--rp-sidebar-width"),i=t.getPropertyValue("--rp-aside-width"),r=e.get("navbar"),o=e.get("sidebar"),a=e.get("outline"),s=e.get("footer");return"0"===r&&u(!1),"0"===o&&document.documentElement.style.setProperty("--rp-sidebar-width","0px"),"0"===a&&document.documentElement.style.setProperty("--rp-aside-width","0px"),"0"===s&&f(!1),()=>{document.documentElement.style.setProperty("--rp-sidebar-width",n),document.documentElement.style.setProperty("--rp-aside-width",i),u(c),f(m)}},[l.search]),{showAside:h,showNavbar:c,showSidebar:x,showDocFooter:m}}();return(0,S.jsxs)("div",{children:[(0,S.jsxs)(E.ql,{htmlAttributes:{lang:_||"en"},children:[L?(0,S.jsx)("title",{children:L}):null,R?(0,S.jsx)("meta",{name:"description",content:R}):null]}),n,"blank"!==I&&B.showNavbar&&(0,S.jsx)(C.JL,{beforeNavTitle:h,afterNavTitle:p,beforeNav:m,afterNavMenu:b}),(0,S.jsx)("section",{children:(()=>{switch(I){case"home":return(0,S.jsx)(C.ZP.HomeLayout,ez({},w));case"doc":return(0,S.jsx)(tj,e_(ez({},y),{uiSwitch:B}));case"404":return(0,S.jsx)(C.ZP.NotFoundLayout,{});case"custom":case"blank":return(0,S.jsx)(N.V,{});default:return(0,S.jsx)(tj,ez({},y))}})()}),i]})};function tP(e){let{beforeHero:t,afterHero:n,beforeFeatures:i,afterFeatures:r}=e,{page:{frontmatter:o}}=(0,P.Vi)();return(0,S.jsxs)("div",{className:"relative",style:{minHeight:"calc(100vh - var(--rp-nav-height))",paddingBottom:"80px"},children:[(0,S.jsxs)("div",{className:"pb-12",children:[t,(0,S.jsx)(C.xB,{frontmatter:o}),n,i,(0,S.jsx)(C.BZ,{frontmatter:o}),r]}),(0,S.jsx)(C.xK,{})]})}var tS={title:"title_3b154",blockquote:"blockquote_3b154",link:"link_3b154","inline-link":"inline-link_3b154"},tE=e=>(0,S.jsx)("h1",e_(ez({},e),{className:`text-3xl mb-10 leading-10 tracking-tight ${tS.title}`})),tC=e=>(0,S.jsx)("h2",e_(ez({},e),{className:`mt-12 mb-6 pt-8 text-2xl tracking-tight border-t-[1px] border-divider-light ${tS.title}`})),tN=e=>(0,S.jsx)("h3",e_(ez({},e),{className:`mt-10 mb-2 leading-7 text-xl ${tS.title}`})),tz=e=>(0,S.jsx)("h4",e_(ez({},e),{className:`mt-8 leading-6 text-base ${tS.title}`})),t_=e=>(0,S.jsx)("h5",e_(ez({},e),{className:tS.title})),tA=e=>(0,S.jsx)("h6",e_(ez({},e),{className:tS.title})),tT=e=>(0,S.jsx)("ol",e_(ez({},e),{className:"list-decimal pl-5 my-4 leading-7"})),tO=e=>(0,S.jsx)("ul",e_(ez({},e),{className:"list-disc pl-5 my-4 leading-7"})),tM=e=>(0,S.jsx)("li",e_(ez({},e),{className:"[&:not(:first-child)]:mt-2"})),tL=e=>(0,S.jsx)("table",e_(ez({},e),{className:"block border-collapse text-base my-5 overflow-x-auto leading-7 border-gray-light-2"})),tD=e=>(0,S.jsx)("tr",e_(ez({},e),{className:"border border-solid transition-colors duration-500 even:bg-soft border-gray-light-2"})),tR=e=>(0,S.jsx)("td",e_(ez({},e),{className:"border border-solid px-4 py-2 border-gray-light-2"})),tB=e=>(0,S.jsx)("th",e_(ez({},e),{className:"border border-solid px-4 py-2 text-text-1 text-base font-semibold border-gray-light-2"})),t$=e=>(0,S.jsx)("hr",e_(ez({},e),{className:"my-12 border-t border-solid border-divider-light"})),tF=e=>{let{href:t="",className:n=""}=e,{normalizeLinkHref:i}=eQ();return n.includes("header-anchor")||t.startsWith("#")?(0,S.jsx)("a",e_(ez({},e),{className:`${tS.link} ${n}`})):(0,S.jsx)(C.rU,e_(ez({},e),{className:`${n} ${tS.link} ${tS["inline-link"]}`,href:i(t)}))},tH=e=>(0,S.jsx)("p",e_(ez({},e),{className:"my-4 leading-7"})),tZ=e=>(0,S.jsx)("blockquote",e_(ez({},e),{className:`border-l-2 border-solid border-divider pl-4 my-6 transition-colors duration-500 ${tS.blockquote}`})),tW=e=>(0,S.jsx)("strong",e_(ez({},e),{className:"font-semibold"})),tU={"code-button-group":"code-button-group_15153",codeButtonGroup:"code-button-group_15153","code-copy-button":"code-copy-button_15153",codeCopyButton:"code-copy-button_15153","icon-success":"icon-success_15153",iconSuccess:"icon-success_15153","code-copied":"code-copied_15153",codeCopied:"code-copied_15153","icon-copy":"icon-copy_15153",iconCopy:"icon-copy_15153","icon-wrapped":"icon-wrapped_15153",iconWrapped:"icon-wrapped_15153","wrapped-btn":"wrapped-btn_15153",wrappedBtn:"wrapped-btn_15153","icon-wrap":"icon-wrap_15153",iconWrap:"icon-wrap_15153"},tV={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"}},tq=!1;function tG(e){var t;let{siteData:n}=(0,P.Vi)(),{meta:i,language:r,codeWrap:o}=e,{showLineNumbers:a}=n.markdown,l="",s=[];return i&&(l=(null==(t=/{[\d,-]*}/i.exec(i))?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()),!tq&&(Object.keys(G.Z).forEach(e=>{Y.Z.registerLanguage(e,G.Z[e])}),tq=!0),(0,S.jsx)(Y.Z,{language:r,style:tV,wrapLines:!0,className:"code",wrapLongLines:o,customStyle:{backgroundColor:"inherit"},showLineNumbers:a||s.length>0,lineProps:e=>({style:e_(ez({},s.includes(e)?{backgroundColor:"var(--rp-code-line-highlight-color)"}:{}),{display:"block",padding:"0 1.25rem"})}),children:String(e.children).trim()})}var tY=new Map;function tQ({codeBlockRef:e}){let t=(0,z.useRef)(null);return(0,S.jsxs)("button",{className:tU.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(Q(n)&&t){t.classList.add(tU.codeCopied),clearTimeout(tY.get(t));let e=setTimeout(()=>{t.classList.remove(tU.codeCopied),t.blur(),tY.delete(t)},2e3);tY.set(t,e)}})(e.current,t.current),ref:t,children:[(0,S.jsx)(tb,{icon:K.Z,className:tU.iconCopy}),(0,S.jsx)(tb,{icon:J.Z,className:tU.iconSuccess})]})}function tK(e){var t;let{siteData:n}=(0,P.Vi)(),i=null!=(t=e.codeHighlighter)?t:n.markdown.codeHighlighter,{defaultWrapCode:r}=n.markdown,[o,a]=(0,z.useState)(r),l=(0,z.useRef)(null),s=(0,z.useRef)(),{className:d}=e,c=null==d?void 0:d.replace(/language-/,"");if(!c)return(0,S.jsx)("code",ez({},e));let u=e=>{o?null==e||e.classList.remove(tU.wrappedBtn):null==e||e.classList.add(tU.wrappedBtn),a(!o)};return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)("div",{ref:s,children:(()=>{if("prism"===i)return(0,S.jsx)(tG,e_(ez({},e),{language:c,codeWrap:o}));return(0,S.jsx)("code",ez({},e))})()}),(0,S.jsxs)("div",{className:tU.codeButtonGroup,children:[(0,S.jsxs)("button",{ref:l,className:tU.codeWrapButton,onClick:()=>u(l.current),children:[(0,S.jsx)(tb,{icon:q.Z,className:tU.iconWrapped}),(0,S.jsx)(tb,{icon:V.Z,className:tU.iconWrap})]}),(0,S.jsx)(tQ,{codeBlockRef:s})]})]})}function tJ({children:e}){let t=e=>{let{className:t,meta:n}=e.props,i=function(e){var t,n;if(!e)return"";let i=e,r=/{[\d,-]*}/i;return(null==(t=r.exec(e))?void 0:t[0])&&(i=e.replace(r,"").trim()),null==(i=null!=(n=i.split("=")[1])?n:"")?void 0:i.replace(/["'`]/g,"")}(n);return(0,S.jsxs)("div",{className:t||"language-bash",children:[i&&(0,S.jsx)("div",{className:"rspress-code-title",children:i}),(0,S.jsx)("div",{className:"rspress-code-content rspress-scrollbar",children:e})]})};return Array.isArray(e)?(0,S.jsx)("div",{children:e.map(e=>t(e))}):t(e)}var tX=e=>(0,S.jsx)("img",e_(ez({},e),{src:(0,O.i6)(e.src||"")}));function t0(){return{h1:tE,h2:tC,h3:tN,h4:tz,h5:t_,h6:tA,ul:tO,ol:tT,li:tM,table:tL,td:tR,th:tB,tr:tD,hr:t$,p:tH,blockquote:tZ,strong:tW,a:tF,code:tK,pre:tJ,img:tX}}var t1={badge:"badge_99dcf",info:"info_99dcf",warning:"warning_99dcf",danger:"danger_99dcf"};function t2(e){let{text:t,type:n="info"}=e;return(0,S.jsx)("span",{className:`inline-block rounded-full border border-solid border-transparent font-medium ${t1.badge} ${t1[n]}`,children:t})}var t3={button:"button_72e53",medium:"medium_72e53",big:"big_72e53",brand:"brand_72e53",alt:"alt_72e53"};function t4(e){let{theme:t="brand",size:n="big",href:i="/",external:r=!1,className:o=""}=e,a=null;return"button"===e.type?a="button":"a"===e.type&&(a=r?"a":C.rU),z.createElement(null!=a?a:"a",{className:`${t3.button} ${t3[t]} ${t3[n]} ${o}`,href:i},e.text)}var t5={editLink:"editLink_2a169"};function t6(){let e=eW();if(!e)return null;let{text:t,link:n}=e;return(0,S.jsx)("a",{href:n,target:"_blank",className:t5.editLink,children:t})}var t7={"grid-2":"grid-2_d48e3",grid2:"grid-2_d48e3","grid-4":"grid-4_d48e3",grid4:"grid-4_d48e3","grid-6":"grid-6_d48e3",grid6:"grid-6_d48e3","grid-3":"grid-3_d48e3",grid3:"grid-3_d48e3",featureCard:"featureCard_d48e3"},t8=e=>{let{span:t}=e;return`grid-${t||4}`};function t9({frontmatter:e}){let t=null==e?void 0:e.features;return(0,S.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,S.jsx)("div",{className:`${t7[t8(e)]} rounded hover:var(--rp-c-brand)`,children:(0,S.jsx)("div",{className:"h-full p-2",children:(0,S.jsxs)("article",{className:`rspress-home-feature-card ${t7.featureCard} h-full p-8 rounded-4xl border-transparent`,style:{cursor:r?"pointer":"auto"},onClick:()=>{r&&(window.location.href=r)},children:[t?(0,S.jsx)("div",{className:"flex-center",children:(0,S.jsx)("div",{className:"rspress-home-feature-icon w-12 h-12 text-3xl text-center",children:t})}):null,(0,S.jsx)("h2",{className:"rspress-home-feature-title font-bold text-center",children:n}),(0,S.jsx)("p",{className:"rspress-home-feature-detail leading-6 pt-2 text-sm text-text-2 font-medium",children:tp(i)})]},n)})},n)})})}function ne(){let{siteData:e}=(0,P.Vi)(),{message:t}=e.themeConfig.footer||{};return(0,S.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,S.jsx)("div",{className:"m-auto w-full text-center",children:t&&(0,S.jsx)("div",{className:"font-meduim text-sm text-text-2",children:t})})})}var nt="clip_c867a",nn="mask_c867a",ni={name:"modern",text:"modern ssg",tagline:"modern ssg",actions:[],image:void 0};function nr({frontmatter:e}){var t,n,i,r,o;let a=(null==e?void 0:e.hero)||ni,l=void 0!==a.image,s=l?"sm:max-w-xl":"sm:max-w-4xl",d=a.text?a.text.toString().split(/\n/g).filter(e=>""!==e):[];return(0,S.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 relative",children:[(0,S.jsx)("div",{className:nn,style:{left:l?"75%":"50%"}}),(0,S.jsxs)("div",{className:"m-auto flex flex-col md:flex-row max-w-6xl min-h-[50vh] mt-12 sm:mt-0",children:[(0,S.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,S.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,S.jsx)("span",{className:nt,style:{lineHeight:"1.3"},children:tp(a.name)})}),0!==d.length&&d.map(e=>(0,S.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 ${s}`,style:{lineHeight:"1.2"},children:tp(e)},e)),(0,S.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 ${s}`,children:tp(a.tagline)}),(null==(t=a.actions)?void 0:t.length)&&(0,S.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:a.actions.map(e=>(0,S.jsx)("div",{className:"flex flex-shrink-0 p-1",children:(0,S.jsx)(C.zx,{type:"a",text:tp(e.text),href:(0,O.AP)(e.link),theme:e.theme,className:"w-full"})},e.link))})]}),l?(0,S.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,S.jsx)("img",{src:(0,O.i6)(null==(n=a.image)?void 0:n.src),alt:null==(i=a.image)?void 0:i.alt,srcSet:no(null==(r=a.image)?void 0:r.srcset),sizes:no(null==(o=a.image)?void 0:o.sizes),width:375,height:375})}):null]})]})}function no(e){return(Array.isArray(e)?e:[e]).filter(Boolean).join(", ")||void 0}function na(){let{lastUpdatedText:e="Last Updated"}=e$(),{page:{lastUpdatedTime:t},siteData:n}=(0,P.Vi)(),{themeConfig:i}=n,r=(null==i?void 0:i.lastUpdatedText)||e;return(0,S.jsx)("div",{className:"flex text-sm text-text-2 leading-6 sm:leading-8 font-medium",children:(0,S.jsxs)("p",{children:[r,": ",(0,S.jsx)("span",{children:t})]})})}var nl={link:"link_03735"};function ns(e){let{href:t="/",children:n,className:i="",onNavigate:r,keepCurrentParams:o=!1}=e,a=eA(e,["href","children","className","onNavigate","keepCurrentParams"]),l=(0,M.xf)(t),s=l?"_blank":"",d=l?"noopener noreferrer":void 0,c=l?t:(0,O.pJ)((0,O.AP)(t)),u=(0,T.s0)(),{pathname:h,search:p}=(0,T.TH)(),m=o?c+p:c,f=(0,O.pV)(h,c);return l?(0,S.jsx)("a",e_(ez({},a),{href:c,target:s,rel:d,className:`${nl.link} ${i}`,children:n})):(0,S.jsx)("a",e_(ez({},a),{className:`${nl.link} ${i} cursor-pointer`,rel:d,target:s,onClick:e=>eR(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=c.split("#")[1];if(!l&&f&&t){let e=document.getElementById(t);e&&eq(e,!0);return}if(!f){let e=(0,X.fp)(et.routes,(0,O.Tm)(c));if(null==e?void 0:e.length){let t=setTimeout(()=>{ee.start()},200);yield e[0].route.preload(),clearTimeout(t),ee.done()}null==r||r(),u(m,{replace:!1})}}),href:c,children:n}))}ee.configure({showSpinner:!1});var nd={hidden:"hidden_f6cde",container:"container_f6cde",navContainer:"navContainer_f6cde",leftNav:"leftNav_f6cde",rightNav:"rightNav_f6cde",singleItem:"singleItem_f6cde",activeItem:"activeItem_f6cde",navBarTitle:"navBarTitle_f6cde","social-links-icon":"social-links-icon_f6cde",socialLinksIcon:"social-links-icon_f6cde","menu-item":"menu-item_f6cde",menuItem:"menu-item_f6cde",mobileNavMenu:"mobileNavMenu_f6cde",mask:"mask_f6cde",docPage:"docPage_f6cde"};function nc(e){let{pathname:t,base:n}=e,i=new RegExp(e.activeMatch||e.link).test((0,M.tz)(t,n));return(0,S.jsx)(C.rU,{href:(0,O.AP)(e.link),children:(0,S.jsxs)("div",{className:`rspress-nav-menu-item ${nd.singleItem} ${i?nd.activeItem:""} text-sm font-medium mx-1.5 px-3 py-2 flex items-center`,children:[(0,S.jsx)(C.Vp,{tag:e.tag}),e.text,e.rightIcon]},e.text)})}function nu({onClick:e}){let{theme:t,setTheme:n}=(0,z.useContext)(P.Ni);return(0,S.jsx)("div",{onClick:()=>{n("dark"===t?"light":"dark"),null==e||e()},className:"md:mr-2 rspress-nav-appearance",children:(0,S.jsxs)("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 w-7 h-7",children:[(0,S.jsx)(tb,{className:"dark:hidden",icon:er.Z,width:"18",height:"18",fill:"currentColor"}),(0,S.jsx)(tb,{className:"hidden dark:block",icon:eo.Z,width:"18",height:"18",fill:"currentColor"})]})})}var nh={socialLinksIcon:"social-links-icon_93d67",menuItem:"menu-item_93d67"},np={discord:(0,S.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,S.jsx)("title",{children:"Discord"}),(0,S.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,S.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,S.jsx)("title",{children:"Facebook"}),(0,S.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,S.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,S.jsx)("title",{children:"GitHub"}),(0,S.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,S.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,S.jsx)("title",{children:"GitLab"}),(0,S.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,S.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,S.jsx)("title",{children:"Instagram"}),(0,S.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,S.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,S.jsx)("title",{children:"LinkedIn"}),(0,S.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,S.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,S.jsx)("title",{children:"Slack"}),(0,S.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,S.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,S.jsx)("title",{children:"Twitter"}),(0,S.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,S.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,S.jsx)("title",{children:"YouTube"}),(0,S.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,S.jsxs)("svg",{className:"icon",viewBox:"0 0 1024 1024",version:"1.1",width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg","data-spm-anchor-id":"a313x.7781069.0.i5",children:[(0,S.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,S.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,S.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",width:"24",height:"24",children:(0,S.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,S.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",width:"24",height:"24",children:(0,S.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,S.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",width:"24",height:"24",children:(0,S.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,S.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",width:"24",height:"24",children:(0,S.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,S.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",width:"24",height:"24",children:(0,S.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,S.jsxs)("svg",{viewBox:"0 0 24 24",width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,S.jsx)("title",{children:"Lark"}),(0,S.jsx)("path",{d:"M8.813 5.477c1.038.836 2.286 2.045 3.3 3.495.171.23.377.576.457.71l.034.056a8.803 8.803 0 0 0-.922 1.3l-.271-.494C9.655 7.53 6.3 5.477 6.137 5.377a.447.447 0 0 1-.006-.004l-.666-.393-.107-.086a.499.499 0 0 1 .306-.885L6.084 4h7.997c.159.006.318.037.47.092.174.064.317.174.458.308.134.143.272.296.403.448.622.675 1.324 1.688 1.324 1.688-.573.193-1.349.736-1.349.736a5.095 5.095 0 0 0-.348-.54 20.665 20.665 0 0 0-1.037-1.255H8.813Z",fill:"currentColor"}),(0,S.jsx)("path",{d:"M18.482 7.507a5.42 5.42 0 0 1 4.04.717c.248.168.788.635.242 1.233-1.7 1.67-2.194 3.225-2.63 4.599-.278.873-.541 1.697-1.066 2.424-1.813 2.508-4.114 4-6.837 4.434-.561.089-1.132.131-1.7.131-3.958 0-7.498-2.035-8.75-2.844h.003l-.161-.107c-.534-.378-.61-.723-.623-.989V7.055a.486.486 0 0 1 .827-.317l.482.589c5.082 6.201 9.126 8.063 11.626 8.53 2.246.424 3.631-.165 4.022-.37.333-.51.534-1.143.764-1.865l.006-.021c.406-1.276.898-2.821 2.322-4.477a3.93 3.93 0 0 0-2.28-.168c-1.761.394-3.403 1.96-4.89 4.643a8.27 8.27 0 0 0-.341.671c-.724-.107-1.334-.65-1.334-.65.128-.269.22-.455.345-.672 1.718-3.125 3.714-4.962 5.933-5.441ZM2.477 16.889c1.145.744 5.341 3.232 9.532 2.563 1.56-.247 2.963-.915 4.196-1.99-2.771.254-7.557-.753-13.728-7.666v7.093Z",fill:"currentColor"})]}),X:(0,S.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",children:[(0,S.jsx)("title",{children:"X"}),(0,S.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"})]})},nm=e=>{let{link:t,popperStyle:n={}}=e,{icon:i,mode:r="link",content:o}=t,a="object"==typeof i?(0,S.jsx)("div",{dangerouslySetInnerHTML:{__html:i.svg}}):np[i],[l,s]=(0,z.useState)(!1),d=()=>{s(!0)},c=()=>{s(!1)};return"link"===r?(0,S.jsx)("a",{href:o,target:"_blank",rel:"noopener noreferrer",className:"social-links",children:(0,S.jsx)("div",{className:`${nh.socialLinksIcon}`,children:a})},o):"text"===r?(0,S.jsxs)("div",{className:`${nh.socialLinksIcon} cursor-pointer relative mx-3`,onMouseEnter:d,onMouseLeave:c,children:[a,l?(0,S.jsx)("div",{style:ez({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,S.jsx)("div",{className:"text-md",children:o})}):null]}):"img"===r?(0,S.jsxs)("div",{className:`${nh.socialLinksIcon} cursor-pointer relative`,onMouseEnter:d,onMouseLeave:c,children:[a,l?(0,S.jsx)("div",{className:"break-all z-[1] p-3 w-[50px] h-[50px] absolute right-0 bg-white dark:bg-dark rounded-xl",style:ez({boxShadow:"var(--rp-shadow-3)"},n),children:(0,S.jsx)("img",{src:o,alt:"img"})}):null]}):(0,S.jsx)("div",{})},nf=e=>{let{links:t,moreIconVisible:n=!1,mouseEnter:i}=e;return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)("div",{className:"flex-center h-full gap-x-4 transition-colors duration-300 md:mr-2",children:t.map((e,t)=>(0,S.jsx)(nm,{link:e,popperStyle:{top:"2.5rem"}},t))}),n?(0,S.jsx)("div",{className:"md:ml-1 p-2",onMouseEnter:i,children:(0,S.jsx)(tb,{icon:ea.Z})}):null]})},ng=e=>{let{links:t}=e;return(0,S.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,S.jsx)(nm,{link:e,popperStyle:{top:"1.25rem"}},e.content))})},nx=({socialLinks:e})=>{let t=e.length>3,n=[],i=[];e.forEach((e,t)=>{t<3?n.push(e):i.push(e)});let[r,o]=(0,z.useState)(!1);return(0,S.jsxs)("div",{className:`social-links ${nh.menuItem} flex-center relative`,onMouseLeave:()=>o(!1),children:[(0,S.jsx)(nf,{links:n,moreIconVisible:t,mouseEnter:()=>o(!0)}),r?(0,S.jsx)(ng,{links:i}):null]})};function nv(){var e,t;let{siteData:n,page:i}=(0,P.Vi)(),r=(0,P.aw)(),{pathname:o,search:a}=(0,T.TH)(),l=n.lang||"",s=n.multiVersion.default||"",d=Object.values(n.locales||n.themeConfig.locales||{}),c=(null==(e=n.route)?void 0:e.cleanUrls)||!1,u=d.length>1,{lang:h}=i,{base:p}=n;return u?{text:(0,S.jsx)(tb,{icon:el.Z,style:{width:"18px",height:"18px"}}),items:d.map(e=>({text:null==e?void 0:e.label,link:(0,M.$U)(o+a,{current:h,target:e.lang,default:l},{current:r,default:s},p,c)})),activeValue:null==(t=d.find(e=>h===e.lang))?void 0:t.label}:null}function nb(){var e;let{siteData:t}=(0,P.Vi)(),n=(0,P.aw)(),{pathname:i}=(0,T.TH)(),r=(null==(e=t.route)?void 0:e.cleanUrls)||!1,o=t.multiVersion.default||"",a=t.multiVersion.versions||[],{base:l}=t;return{items:a.map(e=>({text:e,link:(0,M.xM)(i,{current:n,target:e,default:o},l,r)})),text:n,activeValue:n}}var ny={navScreen:"navScreen_457e8",active:"active_457e8",container:"container_457e8",navMenu:"navMenu_457e8",navMenuItem:"navMenuItem_457e8",navAppearance:"navAppearance_457e8",socialAndAppearance:"socialAndAppearance_457e8",navScreenMenuGroup:"navScreenMenuGroup_457e8",open:"open_457e8",button:"button_457e8",buttonSpan:"buttonSpan_457e8",items:"items_457e8",down:"down_457e8"};function nw(e){let{activeValue:t}=e,[n,i]=(0,z.useState)(!1);function r({item:e}){return(0,S.jsx)("div",{className:"p-1 text-center",children:(0,S.jsx)("span",{className:"text-brand",children:e.text})})}function o({item:e}){return(0,S.jsx)("div",{className:"py-1 font-medium",children:(0,S.jsx)(C.rU,{href:e.link,children:(0,S.jsx)("div",{children:(0,S.jsx)("div",{className:"flex justify-center",children:(0,S.jsx)("span",{children:e.text})})})})})}let a=e=>t===e.text?(0,S.jsx)(r,{item:e},e.link):(0,S.jsx)(o,{item:e},e.link),l=e=>(0,S.jsxs)("div",{children:["link"in e?a(e):(0,S.jsx)("p",{className:"font-bold text-gray-400 my-1 not:first:border",children:e.text}),e.items.map(a)]});return(0,S.jsxs)("div",{className:`${n?ny.open:""} ${ny.navScreenMenuGroup} relative`,children:[(0,S.jsxs)("button",{className:ny.button,onClick:()=>{i(!n)},children:[(0,S.jsx)("span",{className:ny.buttonSpan,children:e.text}),(0,S.jsx)(es.Z,{className:`${n?ny.open:""} ${ny.down} `})]}),(0,S.jsx)("div",{children:(0,S.jsx)("div",{className:ny.items,children:e.items.map(e=>(0,S.jsx)("div",{children:"items"in e?l(e):a(e)},e.text))})})]})}function nk(){let{nav:e}=e$(),t=(0,P.aw)();return Array.isArray(e)?e:[...e[t.length>0?t:"default"]]}var nj=()=>{let e=nv();return(0,S.jsx)("div",{className:`${ny.navTranslations} flex text-sm font-bold justify-center`,children:(0,S.jsx)("div",{className:"mx-1.5 my-1",children:(0,S.jsx)(nw,ez({},e))})})},nI=()=>{let e=nb();return(0,S.jsx)("div",{className:`${ny.navTranslations} flex text-sm font-bold justify-center`,children:(0,S.jsx)("div",{className:"mx-1.5 my-1",children:(0,S.jsx)(nw,ez({},e))})})};function nP(e){var t;let{isScreenOpen:n,siteData:i,pathname:r}=e,o=(0,z.useRef)(null),a=i.themeConfig.locales||[],l=a.length>1,s=i.multiVersion.versions.length>1,d=nk(),c=!1!==i.themeConfig.darkMode,u=(null==(t=null==i?void 0:i.themeConfig)?void 0:t.socialLinks)||[],h=u.length>0,p=a.map(e=>e.lang||"zh")||[],{base:m}=i;return(0,z.useEffect)(()=>(o.current&&n&&(0,ei.Qp)(o.current,{reserveScrollBarGap:!0}),()=>{(0,ei.tP)()}),[n]),(0,S.jsx)("div",{className:`${ny.navScreen} ${n?ny.active:""}`,ref:o,id:"navScreen",children:(0,S.jsxs)("div",{className:ny.container,children:[(0,S.jsx)(({menuItems:e})=>(0,S.jsx)("div",{className:ny.navMenu,children:e.map(e=>(0,S.jsx)("div",{className:`${ny.navMenuItem} w-full`,children:"link"in e?(0,S.jsx)(nc,ez({pathname:r,base:m,langs:p},e),e.text):(0,S.jsx)("div",{className:"mx-3 last:mr-0",children:(0,S.jsx)(nw,e_(ez({},e),{items:"items"in e?e.items:e}))},e.text)},e.text))}),{menuItems:d}),(0,S.jsxs)("div",{className:"flex-center flex-col gap-2",children:[c&&(0,S.jsx)(()=>(0,S.jsx)("div",{className:`mt-2 ${ny.navAppearance} flex justify-center`,children:(0,S.jsx)(A.r,{children:(0,S.jsx)(nu,{})})}),{}),l&&(0,S.jsx)(nj,{}),s&&(0,S.jsx)(nI,{}),h&&(0,S.jsx)(nx,{socialLinks:u})]})]})})}var nS={navHamburger:"navHamburger_e7b06",active:"active_e7b06"};function nE(e){let{siteData:t,pathname:n}=e,{isScreenOpen:i,toggleScreen:r}=function(){let{pathname:e}=(0,T.TH)(),[t,n]=(0,z.useState)(!1);function i(){n(!0),window.addEventListener("resize",o)}function r(){n(!1),window.removeEventListener("resize",o)}function o(){window.outerWidth>=768&&r()}return(0,z.useEffect)(()=>{r()},[e]),{isScreenOpen:t,openScreen:i,closeScreen:r,toggleScreen:function(){t?r():i()}}}();return(0,S.jsxs)(z.Fragment,{children:[(0,S.jsx)(nP,{isScreenOpen:i,siteData:t,pathname:n}),(0,S.jsx)("button",{onClick:r,"aria-label":"mobile hamburger",className:`${i?nS.active:""} ${nS.navHamburger} text-gray-500`,children:(0,S.jsx)(tb,{icon:en.Z,fill:"currentColor"})})]})}function nC({item:e}){return(0,S.jsxs)("div",{className:"rounded-2xl my-1 flex",style:{padding:"0.4rem 1.5rem 0.4rem 0.75rem"},children:[e.tag&&(0,S.jsx)(C.Vp,{tag:e.tag}),(0,S.jsx)("span",{className:"text-brand",children:e.text})]},e.link)}function nN({item:e}){return(0,S.jsx)("div",{className:"font-medium my-1",children:(0,S.jsx)(C.rU,{href:e.link,children:(0,S.jsx)("div",{className:"rounded-2xl hover:bg-mute",style:{padding:"0.4rem 1.5rem 0.4rem 0.75rem"},children:(0,S.jsxs)("div",{className:"flex",children:[e.tag&&(0,S.jsx)(C.Vp,{tag:e.tag}),(0,S.jsx)("span",{children:e.text})]})})})},e.link)}function nz(e){let{activeValue:t,items:n,base:i="",link:r="",pathname:o=""}=e,[a,l]=(0,z.useState)(!1),s=e=>{let n=new RegExp(e.activeMatch||e.link).test((0,M.tz)(o,i));return t===e.text||!t&&n?(0,S.jsx)(nC,{item:e},e.link):(0,S.jsx)(nN,{item:e},e.link)},d=e=>(0,S.jsxs)("div",{children:["link"in e?s(e):(0,S.jsx)("p",{className:"font-bold text-gray-400 my-1 not:first:border",children:e.text}),e.items.map(s)]});return(0,S.jsxs)("div",{className:"relative flex-center h-14",onMouseLeave:()=>l(!1),children:[(0,S.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,S.jsx)(nc,e_(ez({},e),{rightIcon:(0,S.jsx)(tb,{icon:es.Z})})):(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("span",{className:"text-sm font-medium flex",style:{marginRight:"2px"},children:[(0,S.jsx)(C.Vp,{tag:e.tag}),e.text]}),(0,S.jsx)(tb,{icon:es.Z})]})}),(0,S.jsx)("div",{className:"rspress-nav-menu-group-content absolute mx-0.8 transition-opacity duration-300",style:{opacity:a?1:0,visibility:a?"visible":"hidden",right:0,top:"52px"},children:(0,S.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,S.jsx)("div",{children:"items"in e?d(e):s(e)},e.text))})})]})}var n_=()=>{var e;let{siteData:t}=(0,P.Vi)(),n=e$(),{logo:i,logoText:r}=t,o=null!=(e=n.title)?e:t.title,a=(0,z.useMemo)(()=>i?"string"==typeof i?(0,S.jsx)("img",{src:(0,O.i6)(i),alt:"logo",id:"logo",className:"mr-4 rspress-logo"}):(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)("img",{src:(0,O.i6)(i.light),alt:"logo",id:"logo",className:"mr-4 rspress-logo dark:hidden"}),(0,S.jsx)("img",{src:(0,O.i6)(i.dark),alt:"logo",id:"logo",className:"mr-4 rspress-logo hidden dark:block"})]}):null,[i]);return(0,S.jsx)("div",{className:`${nd.navBarTitle}`,children:(0,S.jsxs)("a",{href:(0,O.pJ)(n.langRoutePrefix||"/"),className:"flex items-center w-full h-full text-base font-semibold transition-opacity duration-300 hover:opacity-60",children:[a,r&&(0,S.jsx)("span",{children:r}),!a&&!r&&(0,S.jsx)("span",{children:o})]})})};function nA(){let e=nv();return(0,S.jsx)("div",{className:`translation ${nd.menuItem} flex text-sm font-bold items-center px-3 py-2`,children:(0,S.jsx)("div",{children:(0,S.jsx)(nz,ez({},e))})})}function nT(){let e=nb();return(0,S.jsx)("div",{className:`translation ${nd.menuItem} flex text-sm font-bold items-center px-3 py-2`,children:(0,S.jsx)("div",{children:(0,S.jsx)(nz,ez({},e))})})}function nO(e){var t;let{beforeNavTitle:n,afterNavTitle:i,beforeNav:r,afterNavMenu:o}=e,{siteData:a}=(0,P.Vi)(),{base:l}=a,{pathname:s}=(0,T.TH)(),[d,c]=(0,z.useState)(!1),u=eV(),h=Object.values(a.locales||a.themeConfig.locales||{}),p=h.length>1,m=a.multiVersion.versions.length>1,f=a.themeConfig.socialLinks||[],g=f.length>0,x=h.map(e=>e.lang||"")||[],v=()=>{c(th())};(0,z.useEffect)(()=>(window.addEventListener("resize",v),c(th()),()=>{window.removeEventListener("resize",v)}),[]);let b=({menuItems:e})=>(0,S.jsx)("div",{className:"rspress-nav-menu menu h-14",children:e.map(e=>"items"in e||Array.isArray(e)?(0,S.jsx)("div",{className:"mx-3 last:mr-0",children:(0,S.jsx)(nz,e_(ez({},e),{base:l,pathname:s,langs:x,items:"items"in e?e.items:e}))},e.text):(0,S.jsx)(nc,ez({pathname:s,langs:x,base:l},e),e.link))}),y=nk(),w=e=>{var t;return null!=(t=e.position)?t:"right"},k=y.filter(e=>"left"===w(e)),j=y.filter(e=>"right"===w(e)),I=(null==(t=null==a?void 0:a.themeConfig)?void 0:t.search)!==!1,E=!1!==a.themeConfig.darkMode;return(0,S.jsxs)(S.Fragment,{children:[r,(0,S.jsx)("div",{className:`${nd.navContainer} rspress-nav px-6 ${u&&!d?nd.hidden:""}`,style:{position:d?"relative":"sticky"},children:(0,S.jsxs)("div",{className:`${nd.container} flex justify-between items-center h-full`,children:[n,(0,S.jsx)(n_,{}),i,(0,S.jsxs)("div",{className:`${nd.content} flex flex-1 justify-end items-center`,children:[k.length>0?(0,S.jsx)("div",{className:nd.leftNav,children:(0,S.jsx)(b,{menuItems:k})}):null,(0,S.jsxs)("div",{className:nd.rightNav,children:[I&&(0,S.jsx)("div",{className:"flex sm:flex-1 items-center sm:pl-4 sm:pr-2",children:(0,S.jsx)(C.ol,{})}),(0,S.jsx)(b,{menuItems:j}),(0,S.jsxs)("div",{className:"flex-center flex-row",children:[p&&(0,S.jsx)(nA,{}),m&&(0,S.jsx)(nT,{}),E&&(0,S.jsx)("div",{className:"mx-2",children:(0,S.jsx)(nu,{})}),g&&(0,S.jsx)(nx,{socialLinks:f})]})]}),o,(0,S.jsxs)("div",{className:nd.mobileNavMenu,children:[d&&I&&(0,S.jsx)(C.ol,{}),(0,S.jsx)(nE,{siteData:a,pathname:s})]})]})]})})]})}var nM={"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","level-3":"level-3_8f375",level3:"level-3_8f375","level-4":"level-4_8f375",level4:"level-4_8f375","overview-group":"overview-group_8f375",overviewGroup:"overview-group_8f375",header:"header_8f375"};function nL(e){let{siteData:t,page:{routePath:n,title:i,frontmatter:r}}=(0,P.Vi)(),{content:o,groups:a,defaultGroupTitle:l="Others"}=e,s=e=>(0,O.pJ)(e).startsWith(n.replace(/overview$/,""))&&!(0,O.pV)((0,O.pJ)(e),n),d=e=>"link"in e&&e.link?e.link:"items"in e?d(e.items[0]):"",c=(e,t,n)=>{for(let i of e){if((0,O.pJ)(i.link)===t)return[i];if(i.items){let e=c(i.items,t,n);if(e)return e}}return n},{pages:u}=t,h=u.filter(e=>s(e.routePath)),{items:p}=eH();function m(t,i,r){var o,a,l,s,c;if("dividerType"in t)return t;if((0,O.pJ)(t.link)===`${n}index`&&(null==r?void 0:r.overview)===!0)return!1;let u=null!=(s=null!=(l=null!=(a=null!=(o=null==e?void 0:e.overviewHeaders)?o:t.overviewHeaders)?a:null==r?void 0:r.overviewHeaders)?l:null==i?void 0:i.overviewHeaders)?s:[2],p=h.find(e=>(0,O.pV)(e.routePath,(0,O.pJ)(t.link||""))),m=d(t);return e_(ez({},t),{link:m,headers:(null==(c=null==p?void 0:p.toc)?void 0:c.filter(e=>u.some(t=>e.depth===t)))||[]})}p=c(p,n,p);let f=null!=a?a:(0,z.useMemo)(()=>{let e=p.filter(e=>"items"in e&&!!e.items&&e.items.filter(e=>s(d(e))).length>0).map(e=>({name:e.text||"",items:e.items.map(t=>m(t,e,r)).filter(Boolean)})),t=p.filter(e=>!("items"in e)&&s(e.link));return[...e,...t.length>0?[{name:l,items:t.map(e=>m(e))}]:[]]},[p,n,r]);return(0,S.jsxs)("div",{className:"overview-index mx-auto px-8",children:[(0,S.jsx)("div",{className:"flex items-center justify-between",children:!i&&(0,S.jsx)("h1",{className:"text-3xl leading-10 tracking-tight",children:"Overview"})}),o,f.map(e=>(0,S.jsxs)("div",{className:"mb-16",children:[e.name===l&&1===f.length?(0,S.jsx)("h2",{style:{paddingTop:0}}):(0,S.jsx)("h2",{children:tm(e.name)}),(0,S.jsx)("div",{className:nM.overviewGroups,children:e.items.map(e=>{var t;return(0,S.jsxs)("div",{className:nM.overviewGroup,children:[(0,S.jsx)("div",{className:"flex",children:(0,S.jsx)("h3",{style:{marginBottom:8},children:(0,S.jsx)(C.rU,{href:(0,O.AP)(e.link),children:tm(e.text)})})}),(0,S.jsx)("ul",{className:"list-none",children:null==(t=e.headers)?void 0:t.map(t=>(0,S.jsx)("li",{className:`${nM.overviewGroupLi} ${nM[`level${t.depth}`]} first:mt-2`,children:(0,S.jsx)(C.rU,{href:`${(0,O.AP)(e.link)}#${t.id}`,children:tm(t.text)})},t.id))})]},e.link)})})]},e.name))]})}function nD(e){return(0,S.jsxs)("svg",e_(ez({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 256 256"},e),{children:[(0,S.jsx)("path",{fill:"#C12127",d:"M0 256V0h256v256z"}),(0,S.jsx)("path",{fill:"#FFF",d:"M48 48h160v160h-32V80h-48v128H48z"})]}))}function nR(e){return(0,S.jsx)("svg",e_(ez({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 128 128"},e),{children:(0,S.jsxs)("g",{fill:"#2c8ebb",children:[(0,S.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,S.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 nB(e){return(0,S.jsxs)("svg",e_(ez({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 128 128"},e),{children:[(0,S.jsx)("path",{fill:"#f8ab00",d:"M0 .004V40h39.996V.004Zm43.996 0V40h40V.004Zm44.008 0V40H128V.004Zm0 43.996v39.996H128V44Z"}),(0,S.jsx)("path",{fill:"#4c4c4c",d:"M43.996 44v39.996h40V44ZM0 87.996v40h39.996v-40Zm43.996 0v40h40v-40Zm44.008 0v40H128v-40Z"})]}))}function n$(e){return(0,S.jsxs)("svg",e_(ez({id:"Bun",width:"1.2em",height:"1.2em",viewBox:"0 0 80 70"},e),{children:[(0,S.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,S.jsxs)("g",{id:"Body",children:[(0,S.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,S.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,S.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,S.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,S.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,S.jsxs)("g",{id:"Mouth",children:[(0,S.jsx)("g",{id:"Background-2","data-name":"Background",children:(0,S.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,S.jsxs)("g",{id:"Tongue",children:[(0,S.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,S.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,S.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,S.jsxs)("g",{id:"Face",children:[(0,S.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,S.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,S.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,S.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 nF(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 nH({command:e,additionalTabs:t=[]}){let n;let i={npm:(0,S.jsx)(nD,{}),yarn:(0,S.jsx)(nR,{}),pnpm:(0,S.jsx)(nB,{}),bun:(0,S.jsx)(n$,{})};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=nF(n.yarn)),n.bun&&(n.bun=nF(n.bun)),(0,S.jsx)(C.mQ,{values:Object.entries(n).map(([e])=>(0,S.jsxs)("div",{style:{display:"flex",alignItems:"center",fontSize:15},children:[i[e],(0,S.jsx)("span",{style:{marginLeft:6,marginBottom:2},children:e})]},e)),children:Object.entries(n).map(([e,t])=>(0,S.jsx)(C.OK,{children:(0,S.jsx)(tJ,{children:(0,S.jsx)(tK,{className:"language-js",codeHighlighter:"prism",children:t})})},e))})}var nZ={pagerLink:"pager-link_9b9a7",title:"title_9b9a7",next:"next_9b9a7",desc:"desc_9b9a7"};function nW(e){let{type:t,text:n,href:i}=e,{prevPageText:r="Previous Page",nextPageText:o="Next page"}=e$(),a="prev"===t?nZ.pagerLink:`${nZ.pagerLink} ${nZ.next}`;return(0,S.jsxs)(C.rU,{href:i,className:a,children:[(0,S.jsx)("span",{className:nZ.desc,children:"prev"===t?r:o}),(0,S.jsx)("span",{className:nZ.title,children:n})]})}var nU={scrollToTop:"scroll-to-top_1a167",entered:"entered_1a167"};function nV(){let[e,t]=(0,z.useState)(!1),n=()=>{t((window.scrollY||document.documentElement.scrollTop)>0)};return(0,z.useEffect)(()=>{window.addEventListener("scroll",n)},[]),(0,S.jsx)("button",{className:`${nU.scrollToTop} ${e?nU.entered:""}`,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},children:(0,S.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"w-6 h-6",children:(0,S.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 nq={mask:"mask_6e282",modal:"modal_6e282",inputForm:"inputForm_6e282",input:"input_6e282",close:"close_6e282",searchHits:"searchHits_6e282",groupTitle:"groupTitle_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"},nG={container:"container_fa768",tabList:"tab-list_fa768",tab:"tab_fa768",notSelected:"not-selected_fa768",selected:"selected_fa768",noScrollbar:"no-scrollbar_fa768"},nY=e=>{var t;return(t=e)&&"object"==typeof t&&"label"in t?e.label||e.value:e},nQ=(0,z.forwardRef)((e,t)=>{let{values:n,defaultValue:i,onChange:r,children:o,groupId:a,tabPosition:l="left",tabContainerClassName:s}=e,d=z.Children.toArray(o).filter(e=>!("string"==typeof e&&""===e.trim())),c=n||[];0===c.length&&(c=z.Children.map(d,e=>{var t,n,i;return(0,z.isValidElement)(e)?{label:null==(t=e.props)?void 0:t.label,value:(null==(n=e.props)?void 0:n.value)||(null==(i=e.props)?void 0:i.label)}:{label:void 0,value:void 0}}));let{tabData:u,setTabData:h}=(0,z.useContext)(tw),p=0;a&&void 0!==u[a]?p=u[a]:i&&(p=c.findIndex(e=>"string"==typeof e?e===i:!!e&&"object"==typeof e&&"value"in e&&e.value===i));let[m,f]=(0,z.useState)(p);return(0,S.jsxs)("div",{className:nG.container,ref:t,children:[(0,S.jsx)("div",{className:s,children:c.length?(0,S.jsx)("div",{className:`${nG.tabList} ${nG.noScrollbar}`,style:{justifyContent:"center"===l?"center":"flex-start"},children:c.map((e,t)=>(0,S.jsx)("div",{className:`${nG.tab} ${m===t?nG.selected:nG.notSelected}`,onClick:()=>{null==r||r(t),f(t),a&&h(e_(ez({},u),{[a]:t}))},children:nY(e)},t))}):null}),(0,S.jsx)("div",{children:z.Children.toArray(d)[m]})]})});function nK(e){var{children:t}=e,n=eA(e,["children"]);return(0,S.jsx)("div",e_(ez({},n),{className:"rounded px-2",children:t}))}function nJ({query:e}){return(0,S.jsxs)("div",{className:"flex flex-col items-center pt-8 pb-2",children:[(0,S.jsx)(tb,{icon:eg.Z,className:"mb-4 opacity-80"}),(0,S.jsxs)("p",{className:"mb-2",children:["No results for ",(0,S.jsxs)("b",{children:['"',e,'"']}),"."]}),(0,S.jsx)("p",{children:"Please try again with a different keyword."})]})}var nX={title:ey.Z,header:eb.Z,content:ex.Z};function n0({suggestion:e,closeSearch:t,isCurrent:n,setCurrentSuggestionIndex:i,inCurrentDocIndex:r,scrollTo:o}){var a,l;let s=nX[e.type],d=r&&!(0,M.yv)()?e1(e.link):e.link,c=(0,z.useRef)(null);n&&o(null==(a=null==c?void 0:c.current)?void 0:a.offsetTop,null==(l=null==c?void 0:c.current)?void 0:l.offsetHeight);let u=(e,t)=>{let n=[],i=0;for(let l of t){var r,o,a;let{start:t,length:s}=l,d=e.slice(i,t);let c=(r=e,o=t,a=s,function(e,t,n){let i="",r=0,o=e.length;for(let a=0;a0+n);a++){;r>t&&(i+=e.charAt(a))}return i}(r.slice(o),0,a));n.push(d),n.push((0,S.jsx)("span",{className:nq.mark,children:c},t)),i=t+c.length}return i{if("header"===e.type||"title"===e.type){let{header:t,highlightInfoList:n}=e;return(0,S.jsx)("div",{className:"font-medium",children:u(t,n)})}return(0,S.jsx)("div",{className:"font-medium",children:e.header})})();break;case"content":h=(0,S.jsxs)(S.Fragment,{children:[(()=>{if("content"!==e.type)return(0,S.jsx)("div",{});let{statement:t,highlightInfoList:n}=e;return(0,S.jsx)("div",{className:"text-sm text-gray-light w-full",children:u(t,n)})})(),(0,S.jsx)("p",{className:nq.titleForContent,children:e.title})]})}return(0,S.jsx)("li",{className:`${nq.suggestItem} ${n?nq.current:""}`,onMouseEnter:i,ref:c,children:(0,S.jsx)("a",{href:d,onClick:e=>{t(),e.stopPropagation()},target:r?"_self":"_blank",children:(0,S.jsxs)("div",{className:nq.suggestItemContainer,children:[(0,S.jsx)("div",{className:nq.hitIcon,children:(0,S.jsx)(tb,{icon:s})}),(0,S.jsx)("div",{className:nq.contentWrapper,children:(0,S.jsx)("span",{children:h})}),(0,S.jsx)("div",{className:nq.actionIcon,children:(0,S.jsx)(tb,{icon:ev.Z})})]})})},e.link)}var n1={ARROW_UP:"ArrowUp",ARROW_DOWN:"ArrowDown",ENTER:"Enter",SEARCH:"KeyK",ESC:"Escape"};function n2({focused:e,setFocused:t}){let[n,i]=(0,z.useState)(""),[r,o]=(0,z.useState)([]),a=(0,z.useRef)(null),[l,s]=(0,z.useState)(!0),[d,c]=(0,z.useState)(0),u=(0,z.useRef)(null),h=(0,z.useRef)(null),p=(0,z.useRef)(null),m=(0,z.useRef)(null),[f,g]=(0,z.useState)(!1),x=(e,t)=>{var n,i,o,a,l;if(f){let s=e+t-(null==(n=null==p?void 0:p.current)?void 0:n.offsetHeight)-(1===r.length?50:-10);s>(null==(i=null==p?void 0:p.current)?void 0:i.scrollTop)&&(null==(o=null==p?void 0:p.current)||o.scrollTo({top:s}));let d=1===r.length?e-70:e-10;d<(null==(a=null==p?void 0:p.current)?void 0:a.scrollTop)&&(null==(l=null==p?void 0:p.current)||l.scrollTo({top:d}))}},{siteData:v,page:{lang:b,version:y}}=(0,P.Vi)(),{sidebar:w}=e$(),{search:k,title:j}=v,I=k&&"remote"!==k.mode&&k.versioned,E=[{group:j,result:[],renderType:"default"}],[C,N]=(0,z.useState)([]),[_,A]=(0,z.useState)("default"),T=e=>eF(w,e).group;function O(){return eR(this,null,function*(){var e,t;if(!1===k)return;let n={currentLang:b,currentVersion:y,extractGroupName:T},i=new tn(ez(ez({indexName:j},k),n));u.current=i,h.current=n,yield Promise.all([u.current.init(),new Promise(e=>setTimeout(e,1e3))]),s(!1);let r=null==(e=a.current)?void 0:e.value;r&&o((yield null==(t=u.current)?void 0:t.match(r))||E)})}(0,z.useEffect)(()=>{let n=n=>{switch(n.code){case n1.SEARCH:(n.ctrlKey||n.metaKey)&&(n.preventDefault(),t(!e));break;case n1.ARROW_DOWN:e&&(n.preventDefault(),C&&"default"===_&&(g(!0),c((d+1)%C.length)));break;case n1.ARROW_UP:if(e&&(n.preventDefault(),"default"===_)){let e=C.length;g(!0),c((d-1+e)%e)}break;case n1.ENTER:if(d>=0&&"default"===_){let e=C[d];C===r[0].result?(window.location.href=(0,M.yv)()?e.link:e1(e.link),t(!1)):window.open(e.link)}break;case n1.ESC:t(!1)}};return document.addEventListener("keydown",n),()=>{document.removeEventListener("keydown",n)}},[c,t,C,d]),(0,z.useEffect)(()=>{e?(o(E),!u.current&&O()):i("")},[e]),(0,z.useEffect)(()=>{var e;let{currentLang:t,currentVersion:n}=null!=(e=h.current)?e:{},i=b!==t,r=I&&y!==n;!l&&(i||r)&&O()},[b,y,I]);let L=e=>eR(this,null,function*(){var t;let n=e;if(i(n),n){let e=[];if(ep.beforeSearch){let e=yield ep.beforeSearch(n);e&&(n=e)}let i=yield null==(t=u.current)?void 0:t.match(n);if(i&&e.push(...i),ep.H){let t=yield ep.H(n,e);t&&e.push(...t.map(e=>ez({renderType:"custom"},e)))}o(e||E),ep.afterSearch&&(yield ep.afterSearch(n,e)),e.length>0&&N(e[0].result)}}),D=(0,z.useMemo)(()=>(0,ec.Z)(L,150),[]),R=e=>(0,eu.Z)(e,"group"),B=-1,$=e=>{if(0===e.length&&!l)return(0,S.jsx)("div",{className:"mt-4 flex-center",children:(0,S.jsx)("div",{className:"p-2 font-bold text-md",style:{color:"#2c3e50"},children:"No results found"})});let n=R(e);return(0,S.jsx)("ul",{className:nq.suggestList,children:Object.keys(n).map(e=>{let i=n[e]||[];return(0,S.jsx)("li",{children:(0,S.jsx)("ul",{className:"pb-2",children:i.map(e=>{let n=++B;return(0,S.jsx)(n0,{suggestion:e,isCurrent:n===d,setCurrentSuggestionIndex:()=>{g(!1),c(n)},closeSearch:()=>t(!1),inCurrentDocIndex:C===r[0].result,scrollTo:x},`${e.title}-${n}`)})})},e)})})};return(0,S.jsx)(S.Fragment,{children:e&&(0,eh.createPortal)((0,S.jsx)("div",{className:nq.mask,onClick:()=>t(!1),children:(0,S.jsxs)("div",{className:`${nq.modal}`,onClick:e=>{t(!0),e.stopPropagation()},children:[(0,S.jsxs)("div",{className:"flex items-center",children:[(0,S.jsxs)("div",{className:nq.inputForm,children:[(0,S.jsx)("label",{children:(0,S.jsx)(tb,{icon:ed.Z})}),(0,S.jsx)("input",{className:nq.input,ref:a,placeholder:"Search Docs","aria-label":"Search",autoComplete:"off",autoFocus:!0,onChange:e=>D(e.target.value)}),(0,S.jsx)("label",{children:(0,S.jsx)(tb,{icon:em.Z,className:nq.close,onClick:e=>{a.current&&(e.stopPropagation(),n?(a.current.value="",i("")):t(!1))}})})]}),(0,S.jsx)("h2",{className:"text-brand ml-2 sm:hidden cursor-pointer",onClick:e=>{e.stopPropagation(),t(!1)},children:"Cancel"})]}),n?(0,S.jsx)("div",{className:`${nq.searchHits} rspress-scrollbar`,ref:p,children:((e,t)=>{if(1===e.length){let t=e[0].result;return 0===t.length?(0,S.jsx)(nJ,{query:n}):(0,S.jsx)("div",{ref:m,children:$(t)})}let i=e.map(e=>t&&"remote"===t.mode?e3(t.searchIndexes||[]).find(t=>t.value===e.group).label:e.group);return(0,S.jsx)(nQ,{values:i,tabContainerClassName:nq.tabClassName,onChange:t=>{N(e[t].result),c(0),A(e[t].renderType)},ref:m,children:e.map(e=>(0,S.jsxs)(nK,{children:["default"===e.renderType&&$(e.result),"custom"===e.renderType&&ep.render(e.result)]},e.group))})})(r,k)}):null,l&&(0,S.jsx)("div",{className:"flex-center",children:(0,S.jsx)("div",{className:"p-2 text-sm",children:(0,S.jsx)(tb,{icon:ef.Z})})})]})}),document.getElementById("search-container"))})}function n3(){let[e,t]=(0,z.useState)(!1),[n,i]=(0,z.useState)(null),{searchPlaceholderText:r="Search Docs"}=e$();return(0,z.useEffect)(()=>{i(/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?"\u2318":"Ctrl")},[]),(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)("div",{className:`rspress-nav-search-button ${nq.navSearchButton}`,onClick:()=>t(!0),children:(0,S.jsxs)("button",{children:[(0,S.jsx)(tb,{icon:ed.Z,width:"18",height:"18"}),(0,S.jsx)("p",{className:nq.searchWord,children:r}),(0,S.jsxs)("div",{style:{opacity:n?1:0},children:[(0,S.jsx)("span",{children:n}),(0,S.jsx)("span",{children:"K"})]})]})}),(0,S.jsx)("div",{className:nq.mobileNavSearchButton,onClick:()=>t(!0),children:(0,S.jsx)(tb,{icon:ed.Z})}),(0,S.jsx)(n2,{focused:e,setFocused:t})]})}var n4={navTitleMask:"navTitleMask_71eca",sidebar:"sidebar_71eca",sidebarContainer:"sidebarContainer_71eca",sidebarContent:"sidebarContent_71eca",open:"open_71eca",menuLink:"menuLink_71eca",menuItem:"menuItem_71eca",collapseContainer:"collapseContainer_71eca",menuItemActive:"menuItemActive_71eca"};function n5(e){let{depth:t,dividerType:n}=e;return(0,S.jsx)("div",{className:`${"dashed"===n?"border-dashed":"border-solid"} border-t border-divider-light my-3`,style:{marginLeft:0===t?0:"18px"}})}function n6(e){var t;let{item:n,depth:i=0,activeMatcher:r,id:o,setSidebarData:a}=e,l=(0,T.s0)(),s=(0,z.useRef)(null),d=(0,z.useRef)(null),c=(0,z.useRef)(null),u=(0,z.useRef)(!0),h=(0,z.useRef)(n.collapsed),p=n.link&&r(n.link),{collapsed:m,collapsible:f=!0}=n,g=(0,S.jsx)("div",{style:{cursor:"pointer",transition:"transform 0.2s ease-out",transform:m?"rotate(0deg)":"rotate(90deg)"},children:(0,S.jsx)(tb,{icon:W.Z})});(0,z.useEffect)(()=>{if(u.current||!s.current||!c.current)return;d.current&&clearTimeout(d.current);let e=s.current,t=c.current,n=t.clientHeight+4;m?(e.style.maxHeight=`${n}px`,e.style.transitionDuration="0.5s",t.style.opacity="0",d.current=setTimeout(()=>{s.current&&(s.current.style.maxHeight="0px")},0)):(e.style.maxHeight=`${n}px`,e.style.transitionDuration="0.3s",t.style.opacity="1",d.current=setTimeout(()=>{s.current&&s.current.style.removeProperty("max-height")},300))},[m]),(0,z.useEffect)(()=>{u.current=!1},[]);let x=e=>{e.stopPropagation(),a(e=>{let t=[...e],n=o.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,S.jsxs)("section",{className:"mt-0.5 block",style:{marginLeft:0===i?0:"18px"},children:[(0,S.jsxs)("div",{className:`flex justify-between items-center ${p?n4.menuItemActive:n4.menuItem}`,onMouseEnter:()=>n.link&&e.preloadLink(n.link),onClick:e=>{n.link?(l((0,O.pJ)((0,O.AP)(n.link))),m&&x(e)):f&&x(e)},style:{borderRadius:0===i?"0 var(--rp-radius) var(--rp-radius) 0":void 0,cursor:f||n.link?"pointer":"normal"},children:[(0,S.jsxs)("h2",{className:"py-2 px-3 text-sm font-medium flex",style:ez({},0===i?ii:{}),children:[(0,S.jsx)(C.Vp,{tag:n.tag}),(0,S.jsx)("span",{className:"flex-center",children:tm(n.text)})]}),f&&(0,S.jsx)("div",{className:`${n4.collapseContainer} p-2 rounded-xl`,onClick:x,children:g})]}),(0,S.jsx)("div",{ref:s,className:"transition-all duration-300 ease-in-out",style:{overflow:"hidden",maxHeight:h.current?0:void 0},children:(0,S.jsx)("div",{ref:c,className:"rspress-sidebar-group transition-opacity duration-500 ease-in-out",style:{opacity:h.current?0:1,marginLeft:0===i?"12px":0},children:null==(t=null==n?void 0:n.items)?void 0:t.map((t,n)=>"dividerType"in t?(0,S.jsx)(n5,{depth:i+1,dividerType:t.dividerType},n):(0,S.jsx)("div",{children:(0,S.jsx)(n8,e_(ez({},e),{item:t,depth:i+1,id:`${o}-${n}`,preloadLink:e.preloadLink}))},n))})})]},o)}var n7=e=>e.replace(/\.(mdx?)$/,"");function n8(e){let{item:t,depth:n=0,activeMatcher:i,id:r,setSidebarData:o}=e,a="link"in t&&t.link&&i(t.link),{page:l}=(0,P.Vi)(),s=(0,z.useRef)(null),d=(0,z.useRef)(t.text),c=function(){let[,e]=(0,z.useState)(0);return()=>{e(e=>e+1)}}();return((0,z.useEffect)(()=>{var e;a&&(null==(e=s.current)||e.scrollIntoView({block:"center"}))},[]),!(0,M.yv)()&&t._fileKey===n7(l.pagePath)&&l.title&&(d.current=l.title),(0,z.useEffect)(()=>{t.text!==d.current&&(d.current=t.text,c())},[t.text]),"items"in t)?(0,S.jsx)(n6,{id:r,item:t,depth:n,activeMatcher:i,collapsed:t.collapsed,setSidebarData:o,preloadLink:e.preloadLink},`${t.text}-${r}`):(0,S.jsx)(C.rU,{href:(0,O.AP)(t.link),className:n4.menuLink,children:(0,S.jsxs)("div",{ref:s,onMouseEnter:()=>e.preloadLink(t.link),className:`${a?n4.menuItemActive:n4.menuItem} mt-0.5 py-2 px-3 font-medium flex`,style:ez(ez({fontSize:0===n?"14px":"13px",marginLeft:0===n?0:"18px",borderRadius:"0 var(--rp-radius) var(--rp-radius) 0"},0===n?ii:{}),a?{color:"var(--rp-c-brand)"}:{}),children:[(0,S.jsx)(C.Vp,{tag:t.tag}),(0,S.jsx)("span",{children:tm(d.current)})]})})}function n9({sectionHeaderText:e,tag:t}){return(0,S.jsxs)("div",{className:"rspress-sidebar-section-header",children:[(0,S.jsx)(C.Vp,{tag:t}),(0,S.jsx)("span",{children:tm(e)})]})}var ie=e=>"dividerType"in e,it=e=>"sectionHeaderText"in e,ii={fontSize:"14px",paddingLeft:"24px",fontWeight:"bold"},ir=new WeakMap;function io(e){let{isSidebarOpen:t,beforeSidebar:n,afterSidebar:i,uiSwitch:r}=e,{items:o}=eH(),a=e$(),{pathname:l}=(0,T.TH)(),s=(0,M.Kw)(a.langRoutePrefix||""),[d,c]=(0,z.useState)(o.filter(Boolean).flat()),u=decodeURIComponent(l);(0,z.useEffect)(()=>{if(o===d)return;ir=new WeakMap;let e=t=>ir.has(t)?ir.get(t):"link"in t&&t.link&&p(t.link)||"items"in t&&t.items.some(t=>e(t))?(ir.set(t,!0),!0):(ir.set(t,!1),!1),t=n=>{"items"in n&&(n.items.forEach(t),e(n)&&(n.collapsed=!1))},n=o.filter(Boolean).flat();n.forEach(t),c(n)},[o,u]);let h=e=>e.replace(s,""),p=e=>tu((0,O.E9)(h(u)),h(e),!0),m=e=>{let t=(0,X.fp)(et.routes,e);if(null==t?void 0:t.length){let{route:e}=t[0];e.preload()}};return(0,S.jsx)("aside",{className:`${n4.sidebar} rspress-sidebar ${t?n4.open:""}`,children:(0,S.jsxs)("div",{className:`${n4.sidebarContainer}`,children:[r.showNavbar?(0,S.jsx)("div",{className:n4.navTitleMask,children:(0,S.jsx)(n_,{})}):null,(0,S.jsx)("div",{className:`mt-1 ${n4.sidebarContent}`,children:(0,S.jsx)("div",{className:"rspress-scrollbar",style:{maxHeight:"calc(100vh - var(--rp-nav-height) - 8px)",overflow:"auto"},children:(0,S.jsxs)("nav",{className:"pb-2",children:[n,d.map((e,t)=>{var n;return ie(e)?(0,S.jsx)(n5,{depth:0,dividerType:e.dividerType},t):it(e)?(0,S.jsx)(n9,{sectionHeaderText:e.sectionHeaderText,tag:e.tag},t):(0,S.jsx)(n8,{id:String(t),item:e,depth:0,activeMatcher:p,collapsed:null==(n=e.collapsed)||n,setSidebarData:c,preloadLink:m},t)}),i]})})})]})})}var ia="sourceCode_bf1b0";function il(e){let{href:t,platform:n="github"}=e,{sourceCodeText:i="Source"}=e$();return(0,S.jsx)("div",{className:`inline-block rounded border border-solid border-gray-300 text-gray-400 ${ia}`,children:(0,S.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,S.jsx)("span",{className:"mr-2 inline-flex w-4 h-4",children:(0,S.jsx)(tb,{icon:"gitlab"===n?ek.Z:ew.Z})}),(0,S.jsx)("span",{children:i})]})})}var is="rspressSteps_38f64";function id({children:e}){return(0,S.jsx)("div",{className:`ml-4 mb-11 border-l pl-6 ${is} [counter-reset:step]`,children:e})}var ic=({tag:e})=>e?e.trim().startsWith("(0,S.jsx)("li",{children:(0,S.jsx)("a",{href:`#${e.id}`,className:"rspress-toc-link sm:text-normal text-sm",style:{marginLeft:(e.depth-2)*12},onClick:n=>{n.preventDefault(),window.location.hash=e.id;let i=document.getElementById(e.id);i&&eq(i,!1),null==t||t(e)},children:(0,S.jsx)("span",{className:"rspress-toc-link-text block",children:tm(e.text)})})},e.id);function ih({onItemClick:e}){let{page:t}=(0,P.Vi)();return(0,S.jsx)("ul",{children:t.toc.map(t=>(0,S.jsx)(iu,{header:t,onItemClick:e},t.id))})}var ip={Layout:tI,NotFoundLayout:eB,HomeLayout:tP,setup:eY}},1895:function(e,t,n){"use strict";n.d(t,{AV:function(){return i.AV},Ar:function(){return i.Ar},BZ:function(){return i.BZ},CF:function(){return i.CF},CU:function(){return i.CU},Ct:function(){return i.Ct},EG:function(){return i.EG},JL:function(){return i.JL},KO:function(){return i.KO},M4:function(){return i.M4},NG:function(){return i.NG},O9:function(){return i.O9},OK:function(){return i.OK},Os:function(){return i.Os},Qe:function(){return i.Qe},Qn:function(){return i.Qn},RY:function(){return i.RY},Rg:function(){return i.Rg},SU:function(){return i.SU},TJ:function(){return i.TJ},UQ:function(){return i.UQ},VA:function(){return i.VA},Vl:function(){return i.Vl},Vp:function(){return i.Vp},WG:function(){return i.WG},WS:function(){return i.WS},YE:function(){return i.YE},YS:function(){return i.YS},ZB:function(){return i.ZB},ZP:function(){return i.ZP},cY:function(){return i.cY},eE:function(){return i.eE},eF:function(){return i.eF},g2:function(){return i.g2},ls:function(){return i.ls},mQ:function(){return i.mQ},mi:function(){return i.mi},of:function(){return i.of},ol:function(){return i.ol},pU:function(){return i.pU},qx:function(){return i.qx},rU:function(){return i.rU},s2:function(){return i.s2},tx:function(){return i.tx},xB:function(){return i.xB},xK:function(){return i.xK},xN:function(){return i.xN},y2:function(){return i.y2},zh:function(){return i.zh},zx:function(){return i.zx}}),n("3201");var i=n("3657")},9555:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n("3393");let r=/\s?|(]*>|]*>|]+>)+/i,o=RegExp(i.map(e=>`<${e}\\b[^>]*>`).join("|"),"i");function a(e){return e=e.trim().slice(0,1e3),r.test(e)||o.test(e)}},924: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"}')},3222: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"}')},8606: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/1362.ac7094fc.js.LICENSE.txt b/modern-js/module-tools/static/js/1362.83ba4458.js.LICENSE.txt similarity index 100% rename from modern-js/module-tools/static/js/1362.ac7094fc.js.LICENSE.txt rename to modern-js/module-tools/static/js/1362.83ba4458.js.LICENSE.txt