@modern-js/module-tools-docs 2.25.2-beta.0 → 2.25.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/docs/en/api/config/build-config.md +9 -9
- package/docs/en/api/config/build-preset.mdx +4 -4
- package/docs/en/guide/advance/asset.mdx +2 -2
- package/docs/en/guide/advance/build-umd.mdx +9 -9
- package/docs/en/guide/advance/copy.md +1 -1
- package/docs/en/guide/advance/external-dependency.mdx +2 -2
- package/docs/en/guide/advance/in-depth-about-build.md +11 -11
- package/docs/en/guide/advance/in-depth-about-dev-command.md +1 -1
- package/docs/en/guide/basic/before-getting-started.md +1 -1
- package/docs/en/guide/basic/command-preview.md +5 -5
- package/docs/en/guide/basic/modify-output-product.md +18 -18
- package/docs/en/guide/basic/using-storybook.mdx +1 -1
- package/docs/en/guide/best-practices/components.mdx +10 -10
- package/docs/en/guide/faq/build.mdx +1 -1
- package/docs/en/guide/intro/welcome.md +2 -2
- package/docs/en/plugins/guide/getting-started.mdx +1 -1
- package/docs/en/plugins/guide/plugin-object.mdx +2 -2
- package/docs/en/plugins/guide/setup-function.mdx +1 -1
- package/docs/zh/guide/faq/build.mdx +1 -1
- package/package.json +3 -3
- package/doc_build/api/config/build-config.html +0 -522
- package/doc_build/api/config/build-preset.html +0 -71
- package/doc_build/api/config/design-system.html +0 -113
- package/doc_build/api/config/dev.html +0 -40
- package/doc_build/api/config/plugins.html +0 -31
- package/doc_build/api/config/testing.html +0 -31
- package/doc_build/api/index.html +0 -11
- package/doc_build/api/plugin-api/plugin-hooks.html +0 -122
- package/doc_build/components/faq-build-exception.html +0 -11
- package/doc_build/components/faq-build-other.html +0 -11
- package/doc_build/components/faq-build-product.html +0 -11
- package/doc_build/components/faq-storybook.html +0 -11
- package/doc_build/components/faq-test.html +0 -11
- package/doc_build/en/api/config/build-config.html +0 -443
- package/doc_build/en/api/config/build-preset.html +0 -71
- package/doc_build/en/api/config/design-system.html +0 -127
- package/doc_build/en/api/config/dev.html +0 -40
- package/doc_build/en/api/config/plugins.html +0 -31
- package/doc_build/en/api/config/testing.html +0 -31
- package/doc_build/en/api/index.html +0 -11
- package/doc_build/en/api/plugin-api/plugin-hooks.html +0 -122
- package/doc_build/en/components/faq-build-exception.html +0 -11
- package/doc_build/en/components/faq-build-other.html +0 -11
- package/doc_build/en/components/faq-build-product.html +0 -11
- package/doc_build/en/components/faq-storybook.html +0 -11
- package/doc_build/en/components/faq-test.html +0 -11
- package/doc_build/en/guide/advance/asset.html +0 -31
- package/doc_build/en/guide/advance/build-umd.html +0 -42
- package/doc_build/en/guide/advance/copy.html +0 -52
- package/doc_build/en/guide/advance/external-dependency.html +0 -32
- package/doc_build/en/guide/advance/in-depth-about-build.html +0 -123
- package/doc_build/en/guide/advance/in-depth-about-dev-command.html +0 -32
- package/doc_build/en/guide/advance/theme-config.html +0 -39
- package/doc_build/en/guide/basic/before-getting-started.html +0 -97
- package/doc_build/en/guide/basic/command-preview.html +0 -73
- package/doc_build/en/guide/basic/modify-output-product.html +0 -113
- package/doc_build/en/guide/basic/publish-your-project.html +0 -60
- package/doc_build/en/guide/basic/test-your-project.html +0 -41
- package/doc_build/en/guide/basic/use-micro-generator.html +0 -47
- package/doc_build/en/guide/basic/using-storybook.html +0 -76
- package/doc_build/en/guide/best-practices/components.html +0 -121
- package/doc_build/en/guide/faq/build.html +0 -91
- package/doc_build/en/guide/faq/index.html +0 -17
- package/doc_build/en/guide/faq/storybook.html +0 -53
- package/doc_build/en/guide/faq/test.html +0 -16
- package/doc_build/en/guide/intro/getting-started.html +0 -53
- package/doc_build/en/guide/intro/welcome.html +0 -23
- package/doc_build/en/guide/intro/why-module-engineering-solution.html +0 -19
- package/doc_build/en/index.html +0 -11
- package/doc_build/en/plugins/guide/getting-started.html +0 -25
- package/doc_build/en/plugins/guide/plugin-object.html +0 -24
- package/doc_build/en/plugins/guide/setup-function.html +0 -40
- package/doc_build/en/plugins/official-list/overview.html +0 -19
- package/doc_build/en/plugins/official-list/plugin-babel.html +0 -23
- package/doc_build/en/plugins/official-list/plugin-banner.html +0 -40
- package/doc_build/en/plugins/official-list/plugin-import.html +0 -44
- package/doc_build/en/plugins/official-list/plugin-node-polyfill.html +0 -88
- package/doc_build/en/plugins/official-list/plugin-polyfill.html +0 -28
- package/doc_build/guide/advance/asset.html +0 -31
- package/doc_build/guide/advance/build-umd.html +0 -42
- package/doc_build/guide/advance/copy.html +0 -52
- package/doc_build/guide/advance/external-dependency.html +0 -31
- package/doc_build/guide/advance/in-depth-about-build.html +0 -123
- package/doc_build/guide/advance/in-depth-about-dev-command.html +0 -32
- package/doc_build/guide/advance/theme-config.html +0 -38
- package/doc_build/guide/basic/before-getting-started.html +0 -97
- package/doc_build/guide/basic/command-preview.html +0 -73
- package/doc_build/guide/basic/modify-output-product.html +0 -110
- package/doc_build/guide/basic/publish-your-project.html +0 -62
- package/doc_build/guide/basic/test-your-project.html +0 -43
- package/doc_build/guide/basic/use-micro-generator.html +0 -45
- package/doc_build/guide/basic/using-storybook.html +0 -74
- package/doc_build/guide/best-practices/components.html +0 -121
- package/doc_build/guide/faq/build.html +0 -91
- package/doc_build/guide/faq/index.html +0 -17
- package/doc_build/guide/faq/storybook.html +0 -53
- package/doc_build/guide/faq/test.html +0 -16
- package/doc_build/guide/intro/getting-started.html +0 -50
- package/doc_build/guide/intro/welcome.html +0 -23
- package/doc_build/guide/intro/why-module-engineering-solution.html +0 -19
- package/doc_build/index.html +0 -11
- package/doc_build/plugins/guide/getting-started.html +0 -25
- package/doc_build/plugins/guide/plugin-object.html +0 -24
- package/doc_build/plugins/guide/setup-function.html +0 -40
- package/doc_build/plugins/official-list/overview.html +0 -19
- package/doc_build/plugins/official-list/plugin-babel.html +0 -23
- package/doc_build/plugins/official-list/plugin-banner.html +0 -40
- package/doc_build/plugins/official-list/plugin-import.html +0 -44
- package/doc_build/plugins/official-list/plugin-node-polyfill.html +0 -88
- package/doc_build/plugins/official-list/plugin-polyfill.html +0 -28
- package/doc_build/route.json +0 -10
- package/doc_build/ssr/bundles/main.js +0 -30
- package/doc_build/ssr/bundles/main.js.LICENSE.txt +0 -103
- package/doc_build/static/css/defaultVendors~docs_en_api_config_build-config_md~docs_en_api_config_build-preset_mdx~docs_en~2cd1be.71af0621.css +0 -1
- package/doc_build/static/css/main.1e1c5ea3.css +0 -17
- package/doc_build/static/js/async/default~docs_en_guide_faq_build_mdx~docs_en_guide_faq_storybook_mdx~docs_en_guide_faq_test_md~931d29.a2443c41.js +0 -1
- package/doc_build/static/js/async/docs_en_api_config_build-config_md.47c13184.js +0 -1
- package/doc_build/static/js/async/docs_en_api_config_build-preset_mdx.240d175b.js +0 -1
- package/doc_build/static/js/async/docs_en_api_config_design-system_md.b2ec1ff7.js +0 -1
- package/doc_build/static/js/async/docs_en_api_config_dev_md.6ad208aa.js +0 -1
- package/doc_build/static/js/async/docs_en_api_config_plugins_md.da21c1a9.js +0 -1
- package/doc_build/static/js/async/docs_en_api_config_testing_md.5655d56b.js +0 -1
- package/doc_build/static/js/async/docs_en_api_index_md.b332bf64.js +0 -1
- package/doc_build/static/js/async/docs_en_api_plugin-api_plugin-hooks_md.b0f73e0d.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_advance_asset_mdx.d302e90c.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_advance_build-umd_mdx.554fa073.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_advance_copy_md.78b33f73.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_advance_external-dependency_mdx.507e4091.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_advance_in-depth-about-build_md.207e8b25.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_advance_in-depth-about-dev-command_md.72d6b6fc.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_advance_theme-config_mdx.168a5eec.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_basic_before-getting-started_md.a00933ab.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_basic_command-preview_md.5e63d7ad.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_basic_modify-output-product_md.abd250e1.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_basic_publish-your-project_md.3b098b03.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_basic_test-your-project_mdx.b86e9b69.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_basic_use-micro-generator_md.e03b16c8.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_basic_using-storybook_mdx.32e9b389.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_best-practices_components_mdx.a56e369b.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_faq_build_mdx.81c243c7.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_faq_index_md.85367f4a.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_faq_storybook_mdx.d6b26cfd.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_faq_test_mdx.a7a1c8b5.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_intro_getting-started_md.7c901798.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_intro_welcome_md.69fe3324.js +0 -1
- package/doc_build/static/js/async/docs_en_guide_intro_why-module-engineering-solution_md.766afaee.js +0 -1
- package/doc_build/static/js/async/docs_en_index_md.32415ad9.js +0 -1
- package/doc_build/static/js/async/docs_en_plugins_guide_getting-started_mdx.c6631fd6.js +0 -1
- package/doc_build/static/js/async/docs_en_plugins_guide_plugin-object_mdx.0971cbdb.js +0 -1
- package/doc_build/static/js/async/docs_en_plugins_guide_setup-function_mdx.388d92b1.js +0 -1
- package/doc_build/static/js/async/docs_en_plugins_official-list_overview_md.9390ed67.js +0 -1
- package/doc_build/static/js/async/docs_en_plugins_official-list_plugin-babel_md.0528b729.js +0 -1
- package/doc_build/static/js/async/docs_en_plugins_official-list_plugin-banner_md.c14f8599.js +0 -1
- package/doc_build/static/js/async/docs_en_plugins_official-list_plugin-import_mdx.67bac7e1.js +0 -1
- package/doc_build/static/js/async/docs_en_plugins_official-list_plugin-node-polyfill_md.19819cf5.js +0 -1
- package/doc_build/static/js/async/docs_en_plugins_official-list_plugin-polyfill_md.473537df.js +0 -1
- package/doc_build/static/js/async/docs_zh_api_config_build-config_md.e52b0287.js +0 -1
- package/doc_build/static/js/async/docs_zh_api_config_build-preset_mdx.8b874378.js +0 -1
- package/doc_build/static/js/async/docs_zh_api_config_design-system_md.ceae6914.js +0 -1
- package/doc_build/static/js/async/docs_zh_api_config_dev_md.033094f8.js +0 -1
- package/doc_build/static/js/async/docs_zh_api_config_plugins_md.ab43b516.js +0 -1
- package/doc_build/static/js/async/docs_zh_api_config_testing_md.2c1f171d.js +0 -1
- package/doc_build/static/js/async/docs_zh_api_index_md.5df1b9d0.js +0 -1
- package/doc_build/static/js/async/docs_zh_api_plugin-api_plugin-hooks_md.9f155180.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_advance_asset_mdx.0b551e5e.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_advance_build-umd_mdx.4c0a741d.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_advance_copy_md.ff70ddd3.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_advance_external-dependency_mdx.64bae82a.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_advance_in-depth-about-build_md.d16f07b4.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_advance_in-depth-about-dev-command_md.2eabb853.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_advance_theme-config_mdx.5670e00b.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_basic_before-getting-started_md.3e23f82e.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_basic_command-preview_md.718669ed.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_basic_modify-output-product_md.bea77add.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_basic_publish-your-project_md.b0c63699.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_basic_test-your-project_mdx.b9ee0af4.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_basic_use-micro-generator_md.ad32d392.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_basic_using-storybook_mdx.2748f6f6.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_best-practices_components_mdx.e4450a3c.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_faq_build_mdx.470ca09d.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_faq_index_md.9c5738a8.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_faq_storybook_mdx.e1fb8e18.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_faq_test_mdx.d332b61f.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_intro_getting-started_md.8af35ffc.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_intro_welcome_md.6169850d.js +0 -1
- package/doc_build/static/js/async/docs_zh_guide_intro_why-module-engineering-solution_md.ff0f5ef0.js +0 -1
- package/doc_build/static/js/async/docs_zh_index_md.bc7e2f02.js +0 -1
- package/doc_build/static/js/async/docs_zh_plugins_guide_getting-started_mdx.6a2c07ee.js +0 -1
- package/doc_build/static/js/async/docs_zh_plugins_guide_plugin-object_mdx.9a665baa.js +0 -1
- package/doc_build/static/js/async/docs_zh_plugins_guide_setup-function_mdx.a614b224.js +0 -1
- package/doc_build/static/js/async/docs_zh_plugins_official-list_overview_md.bf4a7405.js +0 -1
- package/doc_build/static/js/async/docs_zh_plugins_official-list_plugin-babel_md.7107a66b.js +0 -1
- package/doc_build/static/js/async/docs_zh_plugins_official-list_plugin-banner_md.4443ae99.js +0 -1
- package/doc_build/static/js/async/docs_zh_plugins_official-list_plugin-import_mdx.e4923a9a.js +0 -1
- package/doc_build/static/js/async/docs_zh_plugins_official-list_plugin-node-polyfill_md.26c9cb0d.js +0 -1
- package/doc_build/static/js/async/docs_zh_plugins_official-list_plugin-polyfill_md.0bda701d.js +0 -1
- package/doc_build/static/js/defaultVendors~docs_en_api_config_build-config_md~docs_en_api_config_build-preset_mdx~docs_en~2cd1be.7070a8dd.js +0 -1
- package/doc_build/static/js/defaultVendors~docs_en_api_config_build-config_md~docs_en_api_config_build-preset_mdx~docs_en~2cd1be.7070a8dd.js.LICENSE.txt +0 -20
- package/doc_build/static/js/lib-lodash.20527186.js +0 -1
- package/doc_build/static/js/lib-polyfill.a99fdfae.js +0 -1
- package/doc_build/static/js/lib-react.87879e53.js +0 -1
- package/doc_build/static/js/lib-react.87879e53.js.LICENSE.txt +0 -29
- package/doc_build/static/js/lib-router.65b37e4a.js +0 -1
- package/doc_build/static/js/lib-router.65b37e4a.js.LICENSE.txt +0 -32
- package/doc_build/static/js/main.42725889.js +0 -1
- package/doc_build/static/search_index.en.6f4165d1.json +0 -1
- package/doc_build/static/search_index.en.8cd54797.json +0 -1
- package/doc_build/static/search_index.zh.7ed3054c.json +0 -1
- package/doc_build/static/search_index.zh.97edcc6e.json +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_modern_js_module_tools_docs=self.webpackChunk_modern_js_module_tools_docs||[]).push([["main"],{98868:function(e,t,r){e.exports="data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath 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' fill='%23cccccc'/%3E%3Cpath d='M4 18H2V4a2 2 0 0 1 2-2h14v2H4Z' fill='%23cccccc'/%3E%3C/svg%3E"},45038:function(e,t,r){e.exports="data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m13 24l-9-9l1.41-1.41L13 21.17L26.59 7.59L28 9L13 24z' fill='%2360c054'/%3E%3C/svg%3E"},78329:function(e,t,r){},16879:function(e,t,r){},89201:function(e,t,r){},32978:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{HomeFooter:function(){return rZ},Nav:function(){return tB},Search:function(){return rG},default:function(){return rY}});var n,o,i,a=r("20469"),c=r("89393"),l=r("37599"),s=r("28003"),u=r("93160"),d=r("73706"),f=r("9880"),p=r("23447");r("57520");var h=r.ir(r("6171")),m=r("78585"),v=r.ir(r("19730")),b=r.ir(r("52805")),g=r("66811"),j=r("23169"),y=r.ir(r("97150")),x=r.ir(r("42256")),O=r("95558"),w=r("72858"),P=r.ir(r("73846")),k=r.ir(r("4249")),N=r.ir(r("14917")),S=r.ir(r("57077")),_=r.ir(r("81767")),D=r.ir(r("81130")),E=r.ir(r("64227")),C=r.ir(r("68448")),L=r.ir(r("73513")),M=r.ir(r("43184")),z=r.ir(r("33204")),H=r.ir(r("97575")),I=r.ir(r("29385")),A=r.ir(r("53274")),T=r("74007"),B=r.ir(r("73695")),R=r.ir(r("31952")),W=r.ir(r("53816")),F=r("11167"),V=r("26463"),q=r.ir(r("61932")),U=r.ir(r("73427"));function G(){var e,t,r,n,o,i=(0,p.usePageData)(),a=i.page.lang,c=null!==(n=null==i?void 0:null===(r=i.siteData)||void 0===r?void 0:r.themeConfig)&&void 0!==n?n:{},l=null!==(o=i.siteData.lang)&&void 0!==o?o:"",s=null==c?void 0:c.locales;if(!s||0===s.length)return{nav:c.nav,sidebar:c.sidebar,prevPageText:c.prevPageText,nextPageText:c.nextPageText};return e=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,i;n=e,o=t,i=r[t],o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})}return e}({},s.find(function(e){return e.lang===a})),t=(t={langRoutePrefix:a===l?"/":a},t),Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}var Z=function(e,t){var r=!0,n=!1,o=void 0;try{for(var i,a=Object.keys(e)[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var c=i.value;if((0,p.isEqualPath)((0,p.withBase)(c),t))return{group:"Documentation",items:e[c]};var l=e[c].find(function(e){var r=function(e){var n=function(){return(0,p.isEqualPath)((0,p.withBase)(e.link),t)};return"items"in e?!!n()||e.items.some(function(e){return r(e)}):n()};return r(e)});if(l){var s=e[c];return{group:l.text||"",items:s}}}}catch(e){n=!0,o=e}finally{try{!r&&null!=a.return&&a.return()}finally{if(n)throw o}}return{group:"Documentation",items:[]}};function Y(){var e,t=null!==(e=G().sidebar)&&void 0!==e?e:{},r=decodeURIComponent((0,p.useLocation)().pathname),n=s._((0,h.useState)(Z(t,r)),2),o=n[0],i=n[1];return(0,h.useEffect)(function(){i(Z(t,r))},[r,t]),o}RegExp("\\?.*$","s"),RegExp("#.*$","s");var $="modern-theme-appearance";function K(e){return"/"===e.charAt(0)||e.startsWith("https")?e:"/".concat(e)}function X(e){var t;return"/"===(t=K(e)).charAt(t.length-1)?t.slice(0,-1):t}function J(e,t){var r=parseInt(window.getComputedStyle(e).paddingTop,10),n=window.scrollY+e.getBoundingClientRect().top-72+r;window.scrollTo(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,i;n=e,o=t,i=r[t],o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})}return e}({left:0,top:n},t?{behavior:"smooth"}:{}))}function Q(e,t){return"string"==typeof e?e:"dark"===t?e.dark:e.light}function ee(e){var t,r=e.headers,n=r.length>0,o=(0,h.useRef)(null),i=(null===(t=r[0])||void 0===t?void 0:t.depth)||2;return(0,h.useEffect)(function(){o.current&&(o.current.style.opacity="0"),setTimeout(function(){e=function(){var e=document.getElementById("aside-marker"),t=document.getElementById("aside-container"),r=Array.from(document.querySelectorAll(".modern-doc .header-anchor")).filter(function(e){var t;return(null===(t=e.parentElement)||void 0===t?void 0:t.tagName)!=="H1"});if(t&&r.length){var n=null,o=Array.from((null==t?void 0:t.getElementsByTagName("a"))||[]).map(function(e){return decodeURIComponent(e.hash)});if(e&&!o.length){e.style.opacity="0";return}var i=function(e,r){if(e[r]){var o=e[r].getAttribute("href"),i=null==t?void 0:t.querySelector('a[href="#'.concat(null==o?void 0:o.slice(1),'"]'));i&&(n&&n.classList.remove("aside-active"),(n=i).classList.add("aside-active"))}},a=(0,y.default)(function(){if(document.documentElement.scrollTop+window.innerHeight>=document.documentElement.scrollHeight)i(r,r.length-1);else for(var e=0;e<r.length;e++){var t=r[e],n=r[e+1],o=Math.ceil(window.scrollY),a=t.parentElement.offsetTop-72;if(0===e&&o<a||0===o){i(r,0);break}if(!n){i(r,e);break}var c=n.parentElement.offsetTop-72;if(o>=a&&o<c){i(r,e);break}}},200);return window.addEventListener("scroll",a),function(){window.removeEventListener("scroll",a)}}}()},100);var e,t=decodeURIComponent(window.location.hash);if(t){var r=document.getElementById(t.slice(1));r&&J(r,!1)}else window.scrollTo(0,0);return function(){e&&e()}},[r]),(0,f.jsx)("div",{className:"flex flex-col",children:(0,f.jsx)("div",{className:n?"<lg:hidden":"hidden",children:(0,f.jsxs)("div",{id:"aside-container",className:"relative pl-4 text-sm font-medium",children:[(0,f.jsx)("div",{className:"leading-7 block text-sm font-semibold",children:e.outlineTitle}),(0,f.jsx)("nav",{className:"mt-1",children:(0,f.jsx)("ul",{className:"relative",children:r.map(function(e){return(0,f.jsx)("li",{children:(0,f.jsx)("a",{href:"#".concat(e.id),className:"leading-7 transition-all duration-300 hover:text-text-1 text-text-2 block",style:{fontSize:"13px",paddingLeft:(e.depth-i)*12,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",fontWeight:e.depth===i?"semibold":"normal"},onClick:function(t){t.preventDefault(),window.location.hash=e.id;var r=document.getElementById(e.id);r&&J(r,!1)},children:e.text})},e.id)})})})]})})})}var et=function(e){var t,r;return(0,f.jsx)("svg",(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,i;n=e,o=t,i=r[t],o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})}return e}({width:18,height:18,viewBox:"0 0 32 32"},e),r=(r={children:(0,f.jsx)("path",{fill:"currentColor",d:"M2 26h28v2H2zM25.4 9c.8-.8.8-2 0-2.8l-3.6-3.6c-.8-.8-2-.8-2.8 0l-15 15V24h6.4l15-15zm-5-5L24 7.6l-3 3L17.4 7l3-3zM6 22v-3.6l10-10 3.6 3.6-10 10H6z"})},r),Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))},er={editLink:"editLink_469b1"};function en(){var e=function(){var e,t,r=(0,p.usePageData)(),n=null!==(t=null===(e=r.siteData.themeConfig)||void 0===e?void 0:e.editLink)&&void 0!==t?t:{};if(!n.docRepoBaseUrl||!n.text)return null;var o=n.docRepoBaseUrl;!o.endsWith("/")&&(o+="/");var i=r.page._relativePath.replace(/\\/g,"/"),a="".concat(o).concat(i);return{text:n.text,link:a}}();if(!e)return null;var t=e.text,r=e.link;return(0,f.jsxs)("a",{href:r,target:"_blank",className:er.editLink,children:[(0,f.jsx)(et,{className:"h-5.5 mr-2 inline-block",style:{verticalAlign:"-5px"}}),t]})}var eo={link:"link_2a8f5"};function ei(e,t,r,n,o,i,a){try{var c=e[i](a),l=c.value}catch(e){r(e);return}c.done?t(l):Promise.resolve(l).then(n,o)}x.default.configure({showSpinner:!1});var ea=/^(https?:)?\/\//;function ec(e){var t,r,n=e.href,o=void 0===n?"/":n,i=e.children,a=e.className,c=void 0===a?"":a,l=e.onNavigate,s=ea.test(o),u=s?"_blank":"",h=s?"noopener noreferrer":void 0,m=s?o:(0,p.withBase)((0,p.normalizeHref)(o)),v=(0,g.useNavigate)();var b=(r=(t=function(e){var t,r;return d._(this,function(n){switch(n.label){case 0:if(e.preventDefault(),!(null==(t=(0,g.matchRoutes)(O.routes,(0,p.normalizeRoutePath)(m)))?void 0:t.length))return[3,2];return r=setTimeout(function(){x.default.start()},200),[4,t[0].route.preload()];case 1:n.sent(),clearTimeout(r),x.default.done(),n.label=2;case 2:null==l||l(),v(m,{replace:!1}),n.label=3;case 3:return[2]}})},function(){var e=this,r=arguments;return new Promise(function(n,o){var i=t.apply(e,r);function a(e){ei(i,n,o,a,c,"next",e)}function c(e){ei(i,n,o,a,c,"throw",e)}a(void 0)})}),function(e){return r.apply(this,arguments)});return s?(0,f.jsx)("a",{href:m,target:u,rel:h,className:"".concat(eo.link," ").concat(c),children:i}):(0,f.jsx)("a",{className:"".concat(eo.link," ").concat(c," cursor-pointer"),rel:h,target:u,onClick:b,href:m,children:i})}var el={pager:"pager_021f9","has-next":"has-next_021f9",hasNext:"has-next_021f9",prev:"prev_021f9",next:"next_021f9","pager-link":"pager-link_021f9",pagerLink:"pager-link_021f9",title:"title_021f9",desc:"desc_021f9"};function es(){var e,t,r,n,o=(e=(0,g.useLocation)().pathname,t=G().sidebar||{},r=[],!function(e){var t=function(e){"items"in e?(e.link&&r.push({text:e.text,link:e.link}),e.items.forEach(function(e){t(e)})):r.push(e)};Object.values(e).forEach(function(e){e.forEach(function(e){t(e)})})}(t),n=r.findIndex(function(t){return(0,p.isEqualPath)((0,p.withBase)(t.link),e)}),{prevPage:r[n-1]||null,nextPage:r[n+1]||null}),i=o.prevPage,a=o.nextPage,c=G(),l=c.prevPageText,s=c.nextPageText,u=c.lastUpdatedText,d=c.lastUpdated,h=(0,p.usePageData)(),m=h.page.lastUpdatedTime,v=h.siteData.themeConfig,b=(null==v?void 0:v.lastUpdatedText)||(void 0===u?"Last Updated":u),j=v.lastUpdated||void 0!==d&&d;return(0,f.jsxs)("footer",{className:"mt-8",children:[(0,f.jsx)("div",{className:"xs:flex pb-5 px-2 justify-end items-center",children:j&&(0,f.jsxs)("div",{className:"flex text-sm text-text-2 leading-6 sm:leading-8 font-medium",children:[(0,f.jsxs)("p",{children:[b,": "]}),(0,f.jsx)("span",{children:m})]})}),(0,f.jsx)("div",{className:"flex flex-col",children:(0,f.jsx)(en,{})}),(0,f.jsxs)("div",{className:"flex flex-col sm:flex-row sm:justify-around gap-4 pt-6",children:[(0,f.jsx)("div",{className:"".concat(el.prev," flex flex-col"),children:i?(0,f.jsxs)(ec,{href:(0,p.normalizeHref)(i.link),className:el.pagerLink,children:[(0,f.jsx)("span",{className:el.desc,children:void 0===l?"Previous Page":l}),(0,f.jsx)("span",{className:el.title,children:i.text})]}):null}),(0,f.jsx)("div",{className:"".concat(el.next," flex flex-col"),children:a?(0,f.jsxs)(ec,{href:(0,p.normalizeHref)(a.link),className:"".concat(el.pagerLink," ").concat(el.next),children:[(0,f.jsx)("span",{className:el.desc,children:void 0===s?"Next page":s}),(0,f.jsx)("span",{className:el.title,children:a.text})]}):null})]})]})}var eu=function(e){var t,r;return(0,f.jsx)("svg",(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,i;n=e,o=t,i=r[t],o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})}return e}({width:"1em",height:"1em",viewBox:"0 0 32 32"},e),r=(r={children:(0,f.jsx)("path",{fill:"currentColor",d:"M22 16 12 26l-1.4-1.4 8.6-8.6-8.6-8.6L12 6z"})},r),Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))},ed={sidebar:"sidebar_3b941",sidebarContent:"sidebarContent_3b941",open:"open_3b941",menuLink:"menuLink_3b941",menuItem:"menuItem_3b941",collapseContainer:"collapseContainer_3b941",menuItemStatic:"menuItemStatic_3b941",menuItemActive:"menuItemActive_3b941"};function ef(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,i;n=e,o=t,i=r[t],o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})}return e}function ep(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}var eh={whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"};function em(e){var t=e.item,r=e.depth,n=void 0===r?0:r,o=e.activeMatcher,i=e.id,a=e.setSidebarData,c=t.link&&o(t.link),l=(0,h.useRef)(null);(0,h.useEffect)(function(){if(c){var e;null===(e=l.current)||void 0===e||e.scrollIntoView({block:"center"})}},[]);var s=t.text;return"items"in t?(0,f.jsx)(ev,{id:i,item:t,depth:n,activeMatcher:o,collapsed:t.collapsed,setSidebarData:a,preloadLink:e.preloadLink},"".concat(t.text,"-").concat(i)):(0,f.jsx)(ec,{href:(0,p.normalizeHref)(t.link),className:ed.menuLink,children:(0,f.jsx)("div",{ref:l,onMouseEnter:function(){return e.preloadLink(t.link)},className:"".concat(c?ed.menuItemActive:ed.menuItem," mt-1 py-1.5 px-3 block rounded-xl font-medium"),style:ep(ef({},eh),{fontSize:0===n?"14px":"13px",marginLeft:0===n?0:"12px"}),children:s})})}function ev(e){var t,r=e.item,n=e.depth,o=void 0===n?0:n,i=e.activeMatcher,a=e.id,c=e.setSidebarData,l=(0,g.useNavigate)(),s=(0,h.useRef)(null),d=(0,h.useRef)(null),m=(0,h.useRef)(null),v=(0,h.useRef)(!0),b=(0,h.useRef)(r.collapsed),j=r.link&&i(r.link),y=r.collapsed,x=r.collapsible,O=void 0===x||x,w=(0,f.jsx)("div",{style:{cursor:"pointer",transition:"transform 0.2s ease-out",transform:y?"rotate(0deg)":"rotate(90deg)"},children:(0,f.jsx)(eu,{})});(0,h.useEffect)(function(){if(!v.current){if(s.current&&m.current){d.current&&clearTimeout(d.current);var e=s.current,t=m.current,r=t.clientHeight+4;y?(e.style.maxHeight="".concat(r,"px"),e.style.transitionDuration="0.5s",t.style.opacity="0",d.current=setTimeout(function(){s.current&&(s.current.style.maxHeight="0px")},0)):(e.style.maxHeight="".concat(r,"px"),e.style.transitionDuration="0.3s",t.style.opacity="1",d.current=setTimeout(function(){s.current&&s.current.style.removeProperty("max-height")},300))}}},[y]),(0,h.useEffect)(function(){v.current=!1},[]);var P=function(e){e.stopPropagation(),c(function(e){var t=u._(e),r=a.split("-").map(Number),n=t[r.shift()],o=!0,i=!1,c=void 0;try{for(var l,s=r[Symbol.iterator]();!(o=(l=s.next()).done);o=!0){var d=l.value;n=n.items[d]}}catch(e){i=!0,c=e}finally{try{!o&&null!=s.return&&s.return()}finally{if(i)throw c}}return"items"in n&&(n.collapsed=!n.collapsed),t})};return(0,f.jsxs)("section",{className:"mt-1 block",style:{marginLeft:0===o?0:"12px"},children:[(0,f.jsxs)("div",{style:{cursor:O||r.link?"pointer":"normal"},className:"flex justify-between items-center rounded-xl ".concat(j?ed.menuItemActive:O||r.link?ed.menuItem:ed.menuItemStatic),onMouseEnter:function(){return r.link&&e.preloadLink(r.link)},onClick:function(e){r.link?(l((0,p.withBase)((0,p.normalizeHref)(r.link))),y&&P(e)):O&&P(e)},children:[(0,f.jsx)("h2",{className:"py-1 px-2 text-sm font-medium ml-1",style:ef({},eh),children:r.text}),O&&(0,f.jsx)("div",{className:"".concat(ed.collapseContainer," p-2 rounded-xl"),onClick:P,children:w})]}),(0,f.jsx)("div",{ref:s,className:"transition-all duration-300 ease-in-out",style:{overflow:"hidden",maxHeight:b.current?0:void 0},children:(0,f.jsx)("div",{ref:m,className:"transition-opacity duration-500 ease-in-out",style:{opacity:b.current?0:1},children:null==r?void 0:null===(t=r.items)||void 0===t?void 0:t.map(function(t,r){return(0,f.jsx)("div",{children:(0,f.jsx)(em,ep(ef({},e),{item:t,depth:o+1,id:"".concat(a,"-").concat(r),preloadLink:e.preloadLink}))},r)})})})]},a)}function eb(e){var t,r=e.isSidebarOpen,n=e.langRoutePrefix,o=e.pathname,i=e.sidebarData,a=s._((0,h.useState)(i.filter(Boolean).flat()),2),c=a[0],l=a[1],u=decodeURIComponent(o);(0,h.useEffect)(function(){var e=new WeakMap,t=function(r){return e.has(r)?e.get(r):r.link&&m(r.link)||"items"in r&&r.items.some(function(e){return t(e)})?(e.set(r,!0),!0):(e.set(r,!1),!1)},r=function(e){"items"in e&&(e.items.forEach(r),t(e)&&(e.collapsed=!1))};c.forEach(r),l(i.filter(Boolean).flat())},[e.sidebarData,u]);var d=function(e){return e.replace(n,"")},m=function(e){return function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!!t&&(r?(0,p.isEqualPath)(e,t):(0,p.isEqualPath)(e,t)||e.startsWith(t))}((0,p.removeBase)(d(u)),d(e),!0)},v=function(e){var t=(0,g.matchRoutes)(O.routes,e);(null==t?void 0:t.length)&&t[0].route.preload()};return(0,f.jsx)("aside",{className:"".concat(ed.sidebar," modern-sidebar ").concat(r?ed.open:""),children:(0,f.jsx)("div",{className:"mt-1 ".concat(ed.sidebarContent),children:(0,f.jsx)("div",{className:"modern-scrollbar",style:{maxHeight:"calc(100vh - var(--modern-nav-height) - 8px)",overflow:"scroll"},children:(0,f.jsx)("nav",{className:"pb-6",children:c.map(function(e,r){return(0,f.jsx)(em,{id:String(r),item:e,depth:0,activeMatcher:m,collapsed:null===(t=e.collapsed)||void 0===t||t,setSidebarData:l,preloadLink:v},r)})})})})})}var eg=function(e){var t,r;return(0,f.jsx)("svg",(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,i;n=e,o=t,i=r[t],o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})}return e}({width:"1em",height:"1em",viewBox:"0 0 32 32"},e),r=(r={children:(0,f.jsx)("path",{fill:"currentColor",d:"M4 6h24v2H4zm0 18h24v2H4zm0-12h24v2H4zm0 6h24v2H4z"})},r),Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))},ej={localNav:"localNav_159b7",menu:"menu_159b7",backDrop:"backDrop_159b7"};function ey(e){var t=e.langRoutePrefix,r=e.pathname,n=e.sidebarData,o=s._((0,h.useState)(!1),2),i=o[0],a=o[1];return(0,h.useEffect)(function(){a(!1)},[r]),(0,f.jsxs)(h.Fragment,{children:[(0,f.jsx)("div",{className:ej.localNav,children:(0,f.jsxs)("button",{onClick:function(){a(!0)},className:"".concat(ej.menu," flex-center"),children:[(0,f.jsx)("div",{className:"text-md mr-2",children:(0,f.jsx)(eg,{})}),(0,f.jsx)("span",{className:"text-sm",children:"Menu"})]})}),(0,f.jsx)(eb,{langRoutePrefix:t,pathname:r,sidebarData:n,isSidebarOpen:i}),i?(0,f.jsx)("div",{onClick:function(){a(!1)},className:ej.backDrop}):null]})}var ex={"header-anchor":"header-anchor_aa500",headerAnchor:"header-anchor_aa500","overview-groups":"overview-groups_aa500",overviewGroups:"overview-groups_aa500","overview-group-li":"overview-group-li_aa500",overviewGroupLi:"overview-group-li_aa500","level-2":"level-2_aa500",level2:"level-2_aa500","overview-group":"overview-group_aa500",overviewGroup:"overview-group_aa500",header:"header_aa500"},eO="Others";function ew(){var e=function(e){var t,r,n,i=o.find(function(t){return(0,p.isEqualPath)(t.routePath,(0,p.withBase)(e.link||""))}),a=function(e){return e.link?e.link:"items"in e?a(e.items[0]):""},c=a(e);return t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,i;n=e,o=t,i=r[t],o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})}return e}({},e),r=(r={link:c,headers:(null==i?void 0:null===(n=i.toc)||void 0===n?void 0:n.filter(function(e){return 2===e.depth}))||[]},r),Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t},t=(0,p.usePageData)(),r=t.siteData,n=t.page.routePath,o=r.pages.filter(function(e){return e.routePath.startsWith(n.replace(/overview$/,""))&&e.routePath!==n}),i=Y().items,a=(0,h.useMemo)(function(){var t=i.filter(function(e){return"items"in e}).map(function(t){return{name:t.text||"",items:t.items.map(e).filter(Boolean)}}),r=i.filter(function(e){return!("items"in e)&&!(0,p.isEqualPath)(e.link||"",n)});return u._(t).concat(u._(r.length>0?[{name:eO,items:r.map(e)}]:[]))},[i]);return(0,f.jsxs)("div",{className:"overview-index mx-auto px-8",children:[(0,f.jsx)("div",{className:"flex items-center justify-between",children:(0,f.jsx)("h1",{children:"Overview"})}),a.map(function(e){return(0,f.jsxs)("div",{className:"mb-16",children:[e.name===eO&&1===a.length?(0,f.jsx)("h2",{style:{paddingTop:0}}):(0,f.jsx)("h2",{children:e.name}),(0,f.jsx)("div",{className:ex.overviewGroups,children:e.items.map(function(e){var t;return(0,f.jsxs)("div",{className:ex.overviewGroup,children:[(0,f.jsx)("div",{className:"flex",children:(0,f.jsx)("h3",{style:{marginBottom:8},children:(0,f.jsx)(ec,{href:(0,p.normalizeHref)(e.link),children:e.text})})}),(0,f.jsx)("ul",{className:"list-none",children:null===(t=e.headers)||void 0===t?void 0:t.map(function(t){return(0,f.jsx)("li",{className:"".concat(ex.overviewGroupLi," ").concat(ex["level".concat(t.depth)]," first:mt-2"),children:(0,f.jsx)(ec,{href:"".concat((0,p.normalizeHref)(e.link),"#").concat(t.id),children:t.text})},t.id)})})]},e.link)})})]},e.name)})]})}var eP=(0,h.createContext)({}),ek={"aside-container":"aside-container_12c7d",asideContainer:"aside-container_12c7d",docLayout:"docLayout_12c7d",content:"content_12c7d"},eN={title:"title_2d294",blockquote:"blockquote_2d294",link:"link_2d294"};function eS(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,i;n=e,o=t,i=r[t],o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})}return e}function e_(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}var eD=function(e){return(0,f.jsx)("h1",e_(eS({},e),{className:"text-3xl mb-10 leading-10 tracking-tight ".concat(eN.title)}))},eE=function(e){return(0,f.jsx)("h2",e_(eS({},e),{className:"mt-14 mb-6 text-2xl tracking-tight ".concat(eN.title)}))},eC=function(e){return(0,f.jsx)("h3",e_(eS({},e),{className:"mt-10 mb-2 leading-7 text-xl ".concat(eN.title)}))},eL=function(e){return(0,f.jsx)("h4",e_(eS({},e),{className:"mt-8 leading-6 text-base ".concat(eN.title)}))},eM=function(e){return(0,f.jsx)("h5",e_(eS({},e),{className:eN.title}))},ez=function(e){return(0,f.jsx)("h6",e_(eS({},e),{className:eN.title}))};function eH(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,i;n=e,o=t,i=r[t],o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})}return e}function eI(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}var eA=function(e){return(0,f.jsx)("ol",eI(eH({},e),{className:"list-decimal pl-5 my-4 leading-7"}))},eT=function(e){return(0,f.jsx)("ul",eI(eH({},e),{className:"list-disc pl-5 my-4 leading-7"}))},eB=function(e){return(0,f.jsx)("li",eI(eH({},e),{className:"[&:not(:first-child)]:mt-2"}))};function eR(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,i;n=e,o=t,i=r[t],o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})}return e}function eW(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}var eF=function(e){return(0,f.jsx)("table",eW(eR({},e),{className:"table border-collapse text-base my-5 overflow-x-auto leading-7 border-gray-light-2"}))},eV=function(e){return(0,f.jsx)("tr",eW(eR({},e),{className:"border border-solid transition-colors duration-500 even:bg-soft border-gray-light-2"}))},eq=function(e){return(0,f.jsx)("td",eW(eR({},e),{className:"border border-solid px-4 py-2 border-gray-light-2"}))},eU=function(e){return(0,f.jsx)("th",eW(eR({},e),{className:"border border-solid px-4 py-2 text-text-1 text-base font-semibold border-gray-light-2"}))},eG=function(e){var t,r;return(0,f.jsx)("hr",(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,i;n=e,o=t,i=r[t],o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})}return e}({},e),r=(r={className:"my-12 border-t bordder-solid border-divider-light"},r),Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))},eZ=function(e){var t,r,n,o=e.href,i=void 0===o?"":o,a=(0,p.useLang)(),c=(0,p.usePageData)().siteData.lang;if(c&&!((t=i).startsWith("http://")||t.startsWith("https://")||t.startsWith("mailto:")||t.startsWith("tel:"))&&!i.startsWith("#"))i=X(i),a!==c&&!(0,p.removeBase)(i).startsWith("/".concat(a))&&(i="/".concat(a).concat(i)),i=(0,p.withBase)(i||"");return(0,f.jsx)("a",(r=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,i;n=e,o=t,i=r[t],o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})}return e}({},e),n=(n={className:"".concat(eN.link," ").concat(e.className),href:i},n),Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(n)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(n,e))}),r))};function eY(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,i;n=e,o=t,i=r[t],o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})}return e}function e$(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}var eK=function(e){return(0,f.jsx)("p",e$(eY({},e),{className:"my-4 leading-7"}))},eX=function(e){return(0,f.jsx)("blockquote",e$(eY({},e),{className:"border-l-2 border-solid border-divider pl-4 my-6 transition-colors duration-500 ".concat(eN.blockquote)}))},eJ=function(e){return(0,f.jsx)("strong",e$(eY({},e),{className:"font-semibold"}))},eQ={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"}},e0=!1,e1=new Map;function e2(e){var t,r,n=(0,h.useRef)(null),o=(0,p.usePageData)().siteData.markdown.showLineNumbers;!e0&&(w.PrismLight.registerLanguage("jsx",P.default),w.PrismLight.registerLanguage("jsx",S.default),w.PrismLight.registerLanguage("mdx",S.default),w.PrismLight.registerLanguage("js",k.default),w.PrismLight.registerLanguage("ts",N.default),w.PrismLight.registerLanguage("json",_.default),w.PrismLight.registerLanguage("css",D.default),w.PrismLight.registerLanguage("scss",E.default),w.PrismLight.registerLanguage("less",C.default),w.PrismLight.registerLanguage("xml",L.default),w.PrismLight.registerLanguage("yaml",M.default),w.PrismLight.registerLanguage("diff",z.default),w.PrismLight.registerLanguage("bash",H.default),w.PrismLight.registerLanguage("markdown",I.default),e0=!0);var i=e.className,a=e.meta,c=null==i?void 0:i.replace(/language-/,"");if(!c)return(0,f.jsx)("code",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,i;n=e,o=t,i=r[t],o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})}return e}({},e));t="string"==typeof e.children?e.children.trim():Array.isArray(e.children)?e.children[0].trim():"";var l="",u=[];if(a){;(l=(null===(r=/{[\d,-]*}/i.exec(a))||void 0===r?void 0:r[0])||"")&&(u=l.replace(/[{}]/g,"").split(",").map(function(e){var t=s._(e.split("-"),2),r=t[0],n=t[1];return n?Array.from({length:Number(n)-Number(r)+1},function(e,t){return t+Number(r)}):Number(r)}).flat())}return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(w.PrismLight,{language:c,style:eQ,wrapLines:!0,className:"code",showLineNumbers:o||u.length>0,lineProps:function(e){var t=u.includes(e);return{className:t?"line highlighted":"",style:{backgroundColor:t?"var(--modern-code-line-highlight-color)":"",display:"block",padding:"0 1.25rem"}}},children:t}),(0,f.jsx)("button",{className:"copy",onClick:function(){var e=(0,A.default)(t),r=n.current;if(e&&r){r.classList.add("copied"),clearTimeout(e1.get(r));var o=setTimeout(function(){r.classList.remove("copied"),r.blur(),e1.delete(r)},2e3);e1.set(r,o)}},ref:n})]})}function e4(e){var t=e.children;if(Array.isArray(t))return(0,f.jsx)("pre",{children:t});var r=t.props,n=r.className,o=function(e){if(!e)return"";var t,r,n=e,o=/{[\d,-]*}/i;return(null===(t=o.exec(e))||void 0===t?void 0:t[0])&&(n=e.replace(o,"").trim()),null==(n=null!==(r=n.split("=")[1])&&void 0!==r?r:"")?void 0:n.replace(/["'`]/g,"")}(r.meta);return(0,f.jsxs)("div",{className:n||"language-bash",children:[o&&(0,f.jsx)("div",{className:"modern-code-title",children:o}),(0,f.jsx)("div",{className:"modern-code-content",children:t})]})}function e3(e){var t,r,n=e.beforeDocFooter,o=e.beforeDoc,i=e.afterDoc,a=e.beforeOutline,c=e.afterOutline,l=(0,p.usePageData)(),u=l.siteData,d=l.page,m=d.toc,v=d.frontmatter,b=s._((0,h.useState)({}),2),y=b[0],x=b[1],O=void 0===m?[]:m,w=u.themeConfig,P=G(),k=P.sidebar||{},N=(0,g.useLocation)().pathname,S=Y().items,_=(0,p.normalizeSlash)(P.langRoutePrefix||""),D=(null==v?void 0:v.sidebar)!==!1&&Object.keys(k).length>0,E=(null==P?void 0:P.outlineTitle)||(null==w?void 0:w.outlineTitle)||"ON THIS PAGE",C=null!==(t=null==v?void 0:v.overview)&&void 0!==t&&t,L=null===(r=null==v?void 0:v.footer)||void 0===r||r,M=function(){var e,t,r="undefined"==typeof window||window.top===window.self;return(null!==(t=null!==(e=null==v?void 0:v.outline)&&void 0!==e?e:null==w?void 0:w.outline)&&void 0!==t?t:r)&&O.length>0},z=s._((0,h.useState)(M()),2),H=z[0],I=z[1];return(0,h.useEffect)(function(){I(M())},[d,u]),(0,f.jsxs)("div",{className:"".concat(ek.docLayout," pt-0 md:mt-14"),children:[o,D?(0,f.jsx)(ey,{pathname:N,langRoutePrefix:_,sidebarData:S}):null,(0,f.jsxs)("div",{className:"".concat(ek.content," flex flex-shrink-0"),children:[(0,f.jsx)("div",{className:"w-full",children:C?(0,f.jsx)(ew,{}):(0,f.jsxs)("div",{className:"modern-doc",children:[(0,f.jsx)(eP.Provider,{value:{tabData:y,setTabData:x},children:(0,f.jsx)(j.MDXProvider,{components:{h1:eD,h2:eE,h3:eC,h4:eL,h5:eM,h6:ez,ul:eT,ol:eA,li:eB,table:eF,td:eq,th:eU,tr:eV,hr:eG,p:eK,blockquote:eX,strong:eJ,a:eZ,code:e2,pre:e4},children:(0,f.jsx)(p.Content,{})})}),(0,f.jsxs)("div",{children:[n,L&&(0,f.jsx)(es,{})]})]})}),H?(0,f.jsx)("div",{className:ek.asideContainer,style:{maxHeight:"calc(100vh - (var(--modern-nav-height) + 32px))",overflow:"scroll"},children:(0,f.jsxs)("div",{children:[a,(0,f.jsx)(ee,{headers:O,outlineTitle:E}),c]})}):null]}),i]})}function e5(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,i;n=e,o=t,i=r[t],o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})}return e}var e6={button:"button_49e2b",medium:"medium_49e2b",big:"big_49e2b",brand:"brand_49e2b",alt:"alt_49e2b"};function e7(e){var t=e.theme,r=e.size,n=e.href,o=e.external,i=e.className,a=void 0===i?"":i,c=null;return"button"===e.type?c="button":"a"===e.type&&(c=void 0!==o&&o?"a":ec),h.default.createElement(null!=c?c:"a",{className:"".concat(e6.button," ").concat(e6[void 0===t?"brand":t]," ").concat(e6[void 0===r?"big":r]," ").concat(a),href:void 0===n?"/":n},e.text)}var e8={clip:"clip_a57c2",mask:"mask_a57c2"},e9={name:"modern",text:"modern ssg",tagline:"modern ssg",actions:[],image:void 0};function te(e){var t,r,n,o=e.frontmatter,i=(null==o?void 0:o.hero)||e9,a=void 0!==i.image;return(0,f.jsxs)("div",{className:"m-auto pt-0 px-6 pb-12 sm:pt-10 sm:px-16 md:pt-20 md:px-16 md:pb-16",children:[(0,f.jsx)("div",{className:e8.mask,style:{left:a?"75%":"50%"}}),(0,f.jsxs)("div",{className:"m-auto flex flex-col md:flex-row max-w-6xl",children:[(0,f.jsxs)("div",{className:"flex flex-col justify-center text-center max-w-xl sm:max-w-3xl m-auto order-2 md:order-1",children:[(0,f.jsx)("h1",{className:"font-bold text-3xl sm:text-6xl md:text-7xl m-auto sm:m-4 md:m-0 md:pb-3 lg:pb-5 leading-tight z-10",children:(0,f.jsx)("span",{className:e8.clip,style:{lineHeight:"1.15"},children:i.name})}),(null===(t=i.text)||void 0===t?void 0:t.length)&&(0,f.jsx)("p",{className:"mx-auto md:m-0 text-3xl sm:text-5xl md:text-6xl pb-2 font-bold z-10 max-w-392px ".concat(a?"sm:max-w-xl":"sm:max-w-3xl"),style:{lineHeight:"1.15"},children:i.text}),(0,f.jsx)("p",{className:"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",children:i.tagline}),(0,f.jsx)("div",{className:"flex flex-wrap justify-center gap-3 m--1.5 pt-8 z-10",children:i.actions.map(function(e){return(0,f.jsx)("div",{className:"flex flex-shrink-0 p-1",children:(0,f.jsx)(e7,{type:"a",text:e.text,href:(0,p.normalizeHref)(e.link),theme:e.theme})},e.link)})})]}),a?(0,f.jsx)("div",{className:"modern-doc-home-hero-image sm:max-w-60 sm:max-h-60 md:flex-center m-auto order-1 md:order-2 sm:flex md:none lg:flex",children:(0,f.jsx)("img",{src:null===(r=i.image)||void 0===r?void 0:r.src,alt:null===(n=i.image)||void 0===n?void 0:n.alt})}):null]})]})}var tt={"grid-2":"grid-2_73135",grid2:"grid-2_73135","grid-4":"grid-4_73135",grid4:"grid-4_73135","grid-6":"grid-6_73135",grid6:"grid-6_73135","grid-3":"grid-3_73135",grid3:"grid-3_73135",featureCard:"featureCard_73135"},tr=[2,3,4],tn=function(e){if(e){if(tr.includes(e))return"grid-".concat(12/e);else if(e%3==0)return"grid-4";else if(e%2==0)return"grid-6"}else;return""};function to(e){var t=e.frontmatter,r=null==t?void 0:t.features,n=tn(null==r?void 0:r.length);return(0,f.jsx)("div",{className:"overflow-hidden m-auto flex flex-wrap justify-between max-w-6xl",children:null==r?void 0:r.map(function(e){var t=e.icon,r=e.title,o=e.details,i=e.link;return(0,f.jsx)("div",{className:"".concat(n?tt[n]:"w-full"," rounded hover:var(--modern-c-brand)"),children:(0,f.jsx)("div",{className:"h-full p-2",children:(0,f.jsxs)("article",{className:"".concat(tt.featureCard," h-full p-8 rounded-4xl border-transparent"),style:{cursor:i?"pointer":"auto"},onClick:function(){i&&(window.location.href=i)},children:[(0,f.jsx)("div",{className:"flex-center",children:(0,f.jsx)("div",{className:"w-12 h-12 text-3xl text-center",children:t})}),(0,f.jsx)("h2",{className:"font-bold text-center",children:r}),(0,f.jsx)("p",{className:"leading-6 pt-2 text-sm text-text-2 font-medium",children:o})]},r)})},r)})})}var ti=function(e){var t,r;return(0,f.jsx)("svg",(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,i;n=e,o=t,i=r[t],o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})}return e}({width:"1em",height:"1em",viewBox:"0 0 32 32"},e),r=(r={children:(0,f.jsx)("path",{fill:"currentColor",d:"M16 22 6 12l1.4-1.4 8.6 8.6 8.6-8.6L26 12z"})},r),Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))},ta={navScreenMenuGroup:"navScreenMenuGroup_169ad",open:"open_169ad",button:"button_169ad",buttonSpan:"buttonSpan_169ad",items:"items_169ad",down:"down_169ad"};function tc(e){var t=function(e){var t=e.item;return(0,f.jsx)("div",{className:"p-1",children:(0,f.jsx)("span",{className:"text-brand",children:t.text})})},r=function(e){var t=e.item;return(0,f.jsx)("div",{className:"py-1 font-medium",children:(0,f.jsx)(ec,{href:t.link,children:(0,f.jsx)("div",{children:(0,f.jsx)("div",{className:"flex justify-center",children:(0,f.jsx)("span",{children:t.text})})})})})},n=e.activeValue,o=s._((0,h.useState)(!1),2),i=o[0],a=o[1],c=function(e){return n===e.text?(0,f.jsx)(t,{item:e},e.link):(0,f.jsx)(r,{item:e},e.link)};return(0,f.jsxs)("div",{className:"".concat(i?ta.open:""," ").concat(ta.navScreenMenuGroup," relative"),children:[(0,f.jsxs)("button",{className:ta.button,onClick:function(){a(!i)},children:[(0,f.jsx)("span",{className:ta.buttonSpan,children:e.text}),(0,f.jsx)(ti,{className:"".concat(i?ta.open:""," ").concat(ta.down," ")})]}),(0,f.jsx)("div",{children:(0,f.jsx)("div",{className:ta.items,children:e.items.map(function(e){var t;return(0,f.jsx)("div",{children:"link"in e?c(e):(t=e,(0,f.jsxs)("div",{children:[(0,f.jsx)("p",{className:"font-bold text-gray-400 my-1 not:first:border",children:t.text}),t.items.map(c)]}))},e.text)})})})]})}var tl={container:"container_cc721",leftNav:"leftNav_cc721",rightNav:"rightNav_cc721",activeItem:"activeItem_cc721",singleItem:"singleItem_cc721",navContainer:"navContainer_cc721","social-links-icon":"social-links-icon_cc721",socialLinksIcon:"social-links-icon_cc721","menu-item":"menu-item_cc721",menuItem:"menu-item_cc721",mobileNavMenu:"mobileNavMenu_cc721",mask:"mask_cc721",docPage:"docPage_cc721"};function ts(e){var t,r,n,o=e.pathname,i=e.base,a=e.langs;var c=new RegExp(e.activeMatch||e.link).test((t=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return K(e).replace(X(t),"")}(o,i),r=a,n=new RegExp("^\\/(".concat(r.join("|"),")")),K(t.replace(n,""))));return(0,f.jsx)(ec,{href:(0,p.normalizeHref)(e.link),children:(0,f.jsx)("div",{className:"".concat(tl.singleItem," ").concat(c?tl.activeItem:""," text-sm font-medium mx-1.5 px-3 py-2"),children:e.text},e.text)})}var tu=function(e){var t,r;return(0,f.jsx)("svg",(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,i;n=e,o=t,i=r[t],o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})}return e}({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),r=(r={children:(0,f.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"})},r),Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))},td=function(e){var t,r;return(0,f.jsx)("svg",(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,i;n=e,o=t,i=r[t],o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})}return e}({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),r=(r={children:(0,f.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"})},r),Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))},tf=function(e){null==n||n[e?"add":"remove"]("dark")},tp=function(){if(!1===B.default.themeConfig.darkMode){tf(!1);return}if(window.MODERN_THEME){tf("dark"===window.MODERN_THEME);return}var e=localStorage.getItem($)||"auto";i=window.matchMedia("(prefers-color-scheme: dark)"),tf("auto"===e?i.matches:"dark"===e)};"undefined"!=typeof window&&"undefined"!=typeof localStorage&&(n=document.documentElement.classList,tp());var th=function(){return null==n?void 0:n.contains("dark")};function tm(e){var t=e.onClick,r=(0,h.useContext)(p.ThemeContext),n=r.theme,i=r.setTheme,a=("undefined"!=typeof window&&window.addEventListener("storage",tp),function(){var e=th();"undefined"!=typeof window&&"undefined"!=typeof localStorage&&(tf(!e),o=e?"light":"dark",localStorage.setItem($,o))});return(0,h.useEffect)(function(){th()&&i("dark")},[]),(0,f.jsx)("div",{onClick:function(){i("dark"===n?"light":"dark"),a(),null==t||t()},className:"md:mr-2 modern-nav-appearance",children:(0,f.jsx)("div",{className:"p-1 border border-solid border-gray-300 text-gray-400 cursor-pointer rounded-md hover:border-gray-600 hover:text-gray-600 dark:hover:border-gray-200 dark:hover:text-gray-200 transition-all duration-300",children:"light"===n?(0,f.jsx)(tu,{width:"18",height:"18",fill:"currentColor"}):(0,f.jsx)(td,{width:"18",height:"18",fill:"currentColor"})})})}var tv=function(e){var t,r;return(0,f.jsx)("svg",(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,i;n=e,o=t,i=r[t],o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})}return e}({width:18,height:18,viewBox:"0 0 32 32"},e),r=(r={children:(0,f.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"})},r),Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))},tb=function(e){var t,r;return(0,f.jsx)("svg",(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,i;n=e,o=t,i=r[t],o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})}return e}({width:"1em",height:"1em",viewBox:"0 0 32 32"},e),r=(r={children:(0,f.jsx)("path",{fill:"currentColor",d:"M16 22 6 12l1.4-1.4 8.6 8.6 8.6-8.6L26 12z"})},r),Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))},tg={"social-links-icon":"social-links-icon_4e3f0",socialLinksIcon:"social-links-icon_4e3f0","menu-item":"menu-item_4e3f0",menuItem:"menu-item_4e3f0"},tj={discord:(0,f.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,f.jsx)("title",{children:"Discord"}),(0,f.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,f.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,f.jsx)("title",{children:"Facebook"}),(0,f.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,f.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,f.jsx)("title",{children:"GitHub"}),(0,f.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,f.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,f.jsx)("title",{children:"GitLab"}),(0,f.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,f.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,f.jsx)("title",{children:"Instagram"}),(0,f.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,f.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,f.jsx)("title",{children:"LinkedIn"}),(0,f.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,f.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,f.jsx)("title",{children:"Slack"}),(0,f.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,f.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,f.jsx)("title",{children:"Twitter"}),(0,f.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,f.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,f.jsx)("title",{children:"YouTube"}),(0,f.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,f.jsxs)("svg",{className:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1858","data-spm-anchor-id":"a313x.7781069.0.i5",children:[(0,f.jsx)("path",{d:"M465.189 161.792c-22.967 18.14-44.325 35.109-47.397 37.742l-5.851 4.68 10.971 8.632c5.998 4.827 11.85 9.508 13.02 10.532 1.17 1.024 17.993 14.336 37.156 29.696l34.962 27.795 5.267-3.95c2.925-2.194 23.259-18.432 45.348-35.986 21.943-17.555 41.253-32.768 42.716-33.646 1.609-1.024 2.779-2.194 2.779-2.78 0-0.438-9.655-8.63-21.504-17.846-11.995-9.363-22.674-17.847-23.845-18.871-15.945-13.02-49.737-39.059-50.76-39.059-0.586 0.147-19.896 14.922-42.862 33.061z m233.325 180.37C507.465 493.275 508.928 492.105 505.417 489.911c-3.072-1.902-11.556-8.485-64.073-50.03-9.07-7.168-18.578-14.775-21.358-16.823-2.78-2.194-8.777-6.875-13.312-10.532-4.68-3.657-10.679-8.339-13.312-10.533-13.165-10.24-71.095-56.027-102.107-80.457-5.852-4.681-11.41-8.485-12.142-8.485-0.731 0-10.971 7.754-22.674 17.116-11.703 9.508-22.674 18.286-24.284 19.456-1.755 1.17-5.12 3.95-7.46 6.144-2.34 2.34-4.828 4.096-5.413 4.096-3.072 0-0.731 3.072 6.437 8.777 4.096 3.218 8.777 6.875 10.094 8.046 1.316 1.024 10.24 8.045 19.748 15.506s23.26 18.286 30.428 23.99c19.31 15.215 31.89 25.308 127.853 101.084 47.836 37.742 88.796 69.779 90.844 71.095 3.657 2.487 3.95 2.487 7.46-0.292a1041.42 1041.42 0 0 0 16.092-12.727c6.875-5.413 14.775-11.703 17.554-13.897 30.135-23.699 80.018-63.05 81.774-64.512 1.17-1.024 12.434-9.802 24.868-19.603s37.888-29.696 56.32-44.324c18.579-14.629 46.227-36.425 61.733-48.567 15.506-12.142 27.794-22.528 27.502-23.26-0.878-1.17-57.637-47.104-59.978-48.274-0.731-0.439-18.578 12.727-39.497 29.257z","p-id":"1859","data-spm-anchor-id":"a313x.7781069.0.i2"}),(0,f.jsx)("path",{d:"M57.93 489.326c-15.215 12.288-28.527 23.405-29.697 24.576-2.34 2.194-5.412-0.44 80.018 66.852 33.207 26.185 32.622 25.747 57.637 45.495 10.386 8.192 36.279 28.672 57.783 45.495 38.18 30.135 44.91 35.401 52.663 41.545 2.048 1.756 22.967 18.14 46.372 36.572 23.26 18.432 74.167 58.514 112.933 89.088 38.912 30.573 71.095 55.734 71.826 56.027 0.732 0.293 7.46-4.389 14.921-10.386 21.797-16.97 90.259-70.949 101.523-79.872 5.705-4.535 12.873-10.24 15.945-12.58 3.072-2.488 6.436-5.12 7.314-5.852 0.878-0.878 11.85-9.509 24.283-19.31 20.773-16.091 59.1-46.226 64.366-50.615 1.17-1.024 5.12-4.096 8.777-6.875 3.657-2.78 7.9-6.29 9.509-7.607 1.609-1.317 14.775-11.703 29.257-23.113 29.11-22.82 42.277-33.207 88.503-69.632 17.262-13.605 32.475-25.454 33.646-26.478 2.486-2.048 31.451-24.869 44.617-35.255 4.827-3.657 9.07-7.168 9.508-7.607 0.44-0.585 5.998-4.827 12.435-9.8 6.436-4.828 13.165-10.24 15.067-11.85l3.365-2.926-9.948-7.753c-5.412-4.388-10.24-8.192-10.679-8.63-1.17-1.317-22.381-18.433-30.135-24.284-3.95-3.072-7.314-5.998-7.606-6.73-1.317-3.071-6.73 0.147-29.258 17.994-13.458 10.532-25.746 20.187-27.355 21.504-1.61 1.463-10.533 8.338-19.749 15.652-9.216 7.168-17.115 13.459-17.554 13.898-0.439 0.438-6.583 5.412-13.897 10.971-7.168 5.559-15.214 11.703-17.7 13.75-4.974 4.097-5.413 4.39-20.334 16.239-5.56 4.388-11.264 8.777-12.435 9.8-1.17 1.025-20.333 16.092-42.422 33.354-22.09 17.408-41.546 32.768-43.155 34.084-1.609 1.463-14.482 11.557-28.525 22.528s-40.814 32.037-59.539 46.812c-18.578 14.775-42.276 33.353-52.516 41.399s-23.26 18.285-28.965 22.82l-10.386 8.339-4.389-3.072c-2.34-1.756-4.68-3.511-5.12-3.95-0.439-0.439-4.973-4.096-10.24-8.046-11.849-9.216-14.482-11.264-16.676-13.166-0.878-0.877-4.243-3.51-7.46-5.851-3.22-2.487-6.145-4.681-6.584-5.12-0.439-0.439-6.875-5.705-14.482-11.703-7.607-5.851-14.921-11.556-16.091-12.58-1.317-1.17-17.116-13.605-35.255-27.795-17.993-14.19-35.109-27.648-38.035-29.842-5.705-4.681-33.499-26.624-125.074-98.743-34.523-27.209-72.704-57.344-84.846-66.852-49.737-39.498-55.15-43.594-56.905-43.447-0.877 0-14.043 10.24-29.257 22.528z","p-id":"1860","data-spm-anchor-id":"a313x.7781069.0.i3"})]}),qq:(0,f.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",className:"iconify iconify--ri",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",children:(0,f.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,f.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",className:"iconify iconify--ri",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",children:(0,f.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,f.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",className:"iconify iconify--ri",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",children:(0,f.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,f.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",className:"iconify iconify--ri",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",children:(0,f.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,f.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",className:"iconify iconify--ri",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",children:(0,f.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,f.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",children:(0,f.jsxs)("g",{fillRule:"evenodd",clipRule:"evenodd",children:[(0,f.jsx)("path",{d:"M41.0716 5.99409L3.31071 16.5187L12.3856 25.8126L20.7998 25.9594L30.4827 16.5187C30.2266 15.9943 30.0985 15.5552 30.0985 15.2013C30.0985 14.4074 30.4104 13.7786 30.8947 13.333C31.7241 12.57 32.7222 12.4558 33.8889 12.9905L41.0716 5.99409Z"}),(0,f.jsx)("path",{d:"M42.1021 6.72842L31.5775 44.4893L22.2836 35.4144L22.1367 27.0002L31.5115 17.4816C32.0195 17.8454 32.5743 18.0105 33.1759 17.9769C34.0784 17.9264 34.6614 17.3813 34.9349 17.0602C35.2083 16.7392 35.5293 16.2051 35.5025 15.4113C35.4847 14.8821 35.3109 14.3941 34.9812 13.9472L42.1021 6.72842Z"})]})})};function ty(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,i;n=e,o=t,i=r[t],o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})}return e}var tx=function(e){var t=e.link,r=e.popperStyle,n=void 0===r?{}:r,o=t.icon,i=t.mode,a=void 0===i?"link":i,c=t.content,l="object"==typeof o?(0,f.jsx)("div",{dangerouslySetInnerHTML:{__html:o.svg}}):tj[o],u=s._((0,h.useState)(!1),2),d=u[0],p=u[1],m=function(){p(!0)},v=function(){p(!1)};return"link"===a?(0,f.jsx)("a",{href:c,target:"_blank",rel:"noopener noreferrer",className:"social-links",children:(0,f.jsx)("div",{className:"".concat(tg.socialLinksIcon),children:l})},c):"text"===a?(0,f.jsxs)("div",{className:"".concat(tg.socialLinksIcon," cursor-pointer relative mx-3"),onMouseEnter:m,onMouseLeave:v,children:[l,d?(0,f.jsx)("div",{style:ty({boxShadow:"var(--modern-shadow-3)",border:"1px solid var(--modern-c-divider-light)"},n),className:"z-1 p-3 w-50 absolute right-0 bg-white dark:bg-dark",children:(0,f.jsx)("div",{className:"text-md",children:c})}):null]}):"img"===a?(0,f.jsxs)("div",{className:"".concat(tg.socialLinksIcon," cursor-pointer relative"),onMouseEnter:m,onMouseLeave:v,children:[l,d?(0,f.jsx)("div",{className:"break-all z-1 p-3 w-50 absolute right-0 rounded-xl",style:ty({boxShadow:"var(--modern-shadow-3)"},n),children:(0,f.jsx)("img",{src:c,alt:"img"})}):null]}):(0,f.jsx)("div",{})},tO=function(e){var t=e.links,r=e.moreIconVisible,n=e.mouseEnter;return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("div",{className:"flex-center h-full gap-x-4 transition-colors duration-300 md:mr-2",children:t.map(function(e,t){return(0,f.jsx)(tx,{link:e,popperStyle:{top:"2.5rem"}},t)})}),void 0!==r&&r?(0,f.jsx)("div",{className:"md:ml-1",onMouseEnter:n,children:(0,f.jsx)(tb,{})}):null]})},tw=function(e){var t=e.links;return(0,f.jsx)("div",{style:{boxShadow:"var(--modern-shadow-3)",marginRight:"-2px",border:"1px solid var(--modern-c-divider-light)"},className:"absolute top-13 right-0 z-1 p-3 w-32 rounded-xl bg-white flex flex-wrap gap-4",children:t.map(function(e){return(0,f.jsx)(tx,{link:e,popperStyle:{top:"1.25rem"}},e.content)})})},tP=function(e){var t=e.socialLinks,r=t.length>3,n=[],o=[];t.forEach(function(e,t){t<3?n.push(e):o.push(e)});var i=s._((0,h.useState)(!1),2),a=i[0],c=i[1];return(0,f.jsxs)("div",{className:"social-links ".concat(tg.menuItem," flex-center relative"),onMouseLeave:function(){return c(!1)},children:[(0,f.jsx)(tO,{links:n,moreIconVisible:r,mouseEnter:function(){return c(!0)}}),a?(0,f.jsx)(tw,{links:o}):null]})},tk={navScreen:"navScreen_4eb57",active:"active_4eb57",container:"container_4eb57",navMenu:"navMenu_4eb57",navMenuItem:"navMenuItem_4eb57",navAppearance:"navAppearance_4eb57",socialAndAppearance:"socialAndAppearance_4eb57"};function tN(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,i;n=e,o=t,i=r[t],o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})}return e}var tS=function(e){var t=e.translationMenuData;return(0,f.jsx)("div",{className:"".concat(tk.navTranslations," flex text-sm font-bold justify-center"),children:(0,f.jsx)("div",{className:"mx-1.5 my-1",children:(0,f.jsx)(tc,tN({},t))})})};function t_(e){var t,r,n=e.isScreenOpen,o=e.localeData,i=e.siteData,a=e.pathname,c=e.setLogo,l=(0,h.useRef)(null),s=(0,h.useContext)(p.ThemeContext).theme,u=i.themeConfig.locales||[],d=u.length>1,m=o.nav||[],v=!1!==i.themeConfig.darkMode,b=(null==i?void 0:null===(t=i.themeConfig)||void 0===t?void 0:t.socialLinks)||[],g=b.length>0,j=u.map(function(e){return e.lang||"zh"})||[],y=i.base,x=i.logo,O=d?{text:(0,f.jsx)(tv,{style:{width:"18px",height:"18px"}}),items:u.map(function(e){return{text:null==e?void 0:e.label,link:"/".concat(e.lang)}}),activeValue:null===(r=u.find(function(e){return e.lang===o.lang}))||void 0===r?void 0:r.label}:null;return(0,h.useEffect)(function(){return l.current&&n&&(0,T.disableBodyScroll)(l.current,{reserveScrollBarGap:!0}),function(){(0,T.clearAllBodyScrollLocks)()}},[n]),(0,f.jsx)("div",{className:"".concat(tk.navScreen," ").concat(n?tk.active:""),ref:l,id:"navScreen",children:(0,f.jsxs)("div",{className:tk.container,children:[(0,f.jsx)(function(e){var t=e.menuItems;return(0,f.jsx)("div",{className:tk.navMenu,children:t.map(function(e,t){var r,n;return(0,f.jsx)("div",{className:"".concat(tk.navMenuItem," w-full"),children:"link"in e?(0,f.jsx)(ts,tN({pathname:a,base:y,langs:j},e),t):(0,f.jsx)("div",{className:"mx-3 last:mr-0",children:(0,f.jsx)(tc,(r=tN({},e),n=(n={items:"items"in e?e.items:e},n),Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(n)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(n,e))}),r))},t)},t)})})},{menuItems:m}),(0,f.jsxs)("div",{className:"flex-center flex-col gap-2",children:[v&&(0,f.jsx)(function(){return(0,f.jsx)("div",{className:"mt-2 ".concat(tk.navAppearance," flex justify-center"),children:(0,f.jsx)(p.NoSSR,{children:(0,f.jsx)(tm,{onClick:function(){c(Q(x,"dark"===s?"light":"dark"))}})})})},{}),d&&(0,f.jsx)(tS,{translationMenuData:O}),g&&(0,f.jsx)(tP,{socialLinks:b})]})]})})}var tD=function(e){var t,r;return(0,f.jsxs)("svg",(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,i;n=e,o=t,i=r[t],o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})}return e}({xmlns:"http://www.w3.org/2000/svg",width:32,height:32},e),r=(r={children:[(0,f.jsx)("circle",{cx:8,cy:16,r:2,fill:"currentColor"}),(0,f.jsx)("circle",{cx:16,cy:16,r:2,fill:"currentColor"}),(0,f.jsx)("circle",{cx:24,cy:16,r:2,fill:"currentColor"})]},r),Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))},tE={navHamburger:"navHamburger_41e74",container:"container_41e74",top:"top_41e74",middle:"middle_41e74",bottom:"bottom_41e74",active:"active_41e74"};function tC(e){var t,r,n,o,i,a,c=e.localeData,l=e.siteData,u=e.pathname,d=e.setLogo;var p=(t=function(){a(!0),window.addEventListener("resize",n)},r=function(){a(!1),window.removeEventListener("resize",n)},n=function(){window.outerWidth>=768&&r()},o=s._((0,h.useState)(!1),2),i=o[0],a=o[1],{isScreenOpen:i,openScreen:t,closeScreen:r,toggleScreen:function(){i?r():t()}}),m=p.isScreenOpen,v=p.toggleScreen;return(0,f.jsxs)(h.Fragment,{children:[(0,f.jsx)(t_,{isScreenOpen:m,localeData:c,siteData:l,pathname:u,setLogo:d}),(0,f.jsx)("button",{onClick:v,className:"".concat(m?tE.active:""," ").concat(tE.navHamburger," text-gray-500"),children:(0,f.jsx)(tD,{fill:"currentColor"})})]})}function tL(e){var t=e.item;return(0,f.jsx)("div",{className:"rounded-2xl my-1",style:{padding:"0.4rem 1.5rem 0.4rem 0.75rem"},children:(0,f.jsx)("span",{className:"text-brand",children:t.text})},t.link)}function tM(e){var t=e.item;return(0,f.jsx)("div",{className:"font-medium my-1",children:(0,f.jsx)(ec,{href:t.link,children:(0,f.jsx)("div",{className:"rounded-2xl hover:bg-mute",style:{padding:"0.4rem 1.5rem 0.4rem 0.75rem"},children:(0,f.jsx)("div",{className:"flex",children:(0,f.jsx)("span",{children:t.text})})})})},t.link)}function tz(e){var t=e.activeValue,r=e.isTranslation,n=e.items,o=s._((0,h.useState)(!1),2),i=o[0],a=o[1],c=function(e){return t===e.text?(0,f.jsx)(tL,{item:e},e.link):(0,f.jsx)(tM,{item:e},e.link)};return(0,f.jsxs)("div",{className:"relative flex-center h-14",onMouseLeave:function(){return a(!1)},children:[(0,f.jsxs)("button",{onMouseEnter:function(){return a(!0)},className:"nav-menu-group-button flex-center items-center font-medium text-sm text-text-1 hover:text-text-2 transition-colors duration-200",children:[(0,f.jsx)("span",{className:"text-sm font-medium",style:{marginRight:"2px"},children:r?(0,f.jsx)(tv,{style:{with:"18px",height:"18px"}}):e.text}),(0,f.jsx)(ti,{})]}),(0,f.jsx)("div",{className:"nav-menu-group-content absolute mx-0.8 transition-opacity duration-300",style:{opacity:i?1:0,visibility:i?"visible":"hidden",right:0,top:"52px"},children:(0,f.jsx)("div",{className:"p-3 pr-2 w-full h-full max-h-100vh whitespace-nowrap",style:{boxShadow:"var(--modern-shadow-3)",zIndex:100,border:"1px solid var(--modern-c-divider-light)",borderRadius:"2rem",background:"var(--modern-c-bg)"},children:n.map(function(e){var t;return(0,f.jsx)("div",{children:"link"in e?c(e):(t=e,(0,f.jsxs)("div",{children:[(0,f.jsx)("p",{className:"font-bold text-gray-400 my-1 not:first:border",children:t.text}),t.items.map(c)]}))},e.text)})})})]})}function tH(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,i;n=e,o=t,i=r[t],o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})}return e}function tI(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}var tA=function(e){var t=e.title,r=e.langRoutePrefix,n=e.logo;return(0,f.jsx)("div",{className:"".concat(tl.navBarTitle),children:(0,f.jsx)("a",{href:(0,p.withBase)(r),className:"flex items-center w-full h-full text-base font-semibold transition-opacity duration-300 hover:opacity-60",children:n?(0,f.jsx)("img",{src:n,alt:"logo",id:"logo",className:"w-24 mr-4 modern-doc-logo"}):(0,f.jsx)("span",{children:t})})})},tT=function(e){var t=e.translationMenuData;return(0,f.jsx)("div",{className:"translation ".concat(tl.menuItem," flex text-sm font-bold items-center px-3 py-2"),children:(0,f.jsx)("div",{children:(0,f.jsx)(tz,tI(tH({},t),{isTranslation:!0}))})})};function tB(e){var t,r,n,o,i,a=e.beforeNavTitle,c=e.afterNavTitle,l=e.beforeNav,u=(0,p.usePageData)(),d=u.siteData,m=u.page,b=d.logo,j=d.base,y=(0,g.useLocation)().pathname,x=(0,h.useContext)(p.ThemeContext).theme,O=G(),w=s._((0,h.useState)(!1),2),P=w[0],k=w[1],N=Object.values(d.themeConfig.locales||{}),S=N.length>1,_=(null==d?void 0:null===(t=d.themeConfig)||void 0===t?void 0:t.socialLinks)||[],D=_.length>0,E=d.lang||"zh",C=m.lang,L=N.map(function(e){return e.lang||"zh"})||[],M=s._((0,h.useState)(Q(b,x)),2),z=M[0],H=M[1],I=S?{items:N.map(function(e){return{text:null==e?void 0:e.label,link:function(e,t,r,n){var o,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",a=function(e,t){return K(e).replace(X(t),"")}(e,i);!a&&(a="/index.html");var c=a.split("/")[1];return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=K(e),n=X(t);return r.startsWith(n)?r:"".concat(n).concat(r)}(o=n.includes(c)?t===r?a.replace("/".concat(c),""):a.replace(c,t):t===r?a:K("".concat(t).concat(a)),i)}(y,e.lang,E,L,j)}}),activeValue:null===(r=N.find(function(e){return C===e.lang}))||void 0===r?void 0:r.label}:null;(0,h.useEffect)(function(){H(Q(b,x))},[x]),(0,h.useEffect)(function(){k(window.innerWidth<768)},[]);var A=function(e){var t=e.menuItems;return(0,f.jsx)("div",{className:"menu h-14",children:t.map(function(e){return"items"in e||Array.isArray(e)?(0,f.jsx)("div",{className:"mx-3 last:mr-0",children:(0,f.jsx)(tz,tI(tH({},e),{items:"items"in e?e.items:e}))},e.text):(0,f.jsx)(ts,tH({pathname:y,langs:L,base:j},e),e.link)})})},T=O.nav||[],B=function(e){return null!==(o=e.position)&&void 0!==o?o:"right"},R=T.filter(function(e){return"left"===B(e)}),W=T.filter(function(e){return"right"===B(e)}),F=(null==d?void 0:null===(n=d.themeConfig)||void 0===n?void 0:n.search)!==!1,V=null!==(i=O.title)&&void 0!==i?i:d.title,q=!1!==d.themeConfig.darkMode;return(0,f.jsxs)("header",{className:"top-0 left-0 md:fixed w-full",style:{zIndex:"var(--modern-z-index-nav)",background:"var(--modern-c-bg)"},children:[l,(0,f.jsx)("div",{className:"".concat(tl.navContainer," modern-doc-nav px-6"),children:(0,f.jsxs)("div",{className:"".concat(tl.container," flex justify-between items-center h-full"),children:[a,(0,f.jsx)(tA,{title:V,langRoutePrefix:O.langRoutePrefix||"/",logo:z}),c,(0,f.jsxs)("div",{className:"".concat(tl.content," flex flex-1 justify-end items-center"),children:[(0,f.jsx)("div",{className:tl.leftNav,children:(0,f.jsx)(A,{menuItems:R})}),(0,f.jsxs)("div",{className:tl.rightNav,children:[F&&(0,f.jsx)("div",{className:"flex sm:flex-1 items-center sm:pl-4 sm:pr-2",children:(0,f.jsx)(v.Search,{})}),(0,f.jsx)(A,{menuItems:W}),(0,f.jsxs)("div",{className:"flex-center flex-row",children:[S&&(0,f.jsx)(tT,{translationMenuData:I}),q&&(0,f.jsx)("div",{className:"mx-2",children:(0,f.jsx)(tm,{})}),D&&(0,f.jsx)(tP,{socialLinks:_})]})]}),(0,f.jsxs)("div",{className:tl.mobileNavMenu,children:[P&&(0,f.jsx)(v.Search,{}),(0,f.jsx)(tC,{localeData:O,siteData:d,pathname:y,setLogo:H})]})]})]})})]})}var tR={tab:"tab_77b06","not-selected":"not-selected_77b06",notSelected:"not-selected_77b06",selected:"selected_77b06"};function tW(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,i;n=e,o=t,i=r[t],o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})}return e}function tF(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}var tV=function(e){var t;return(t=e)&&"object"==typeof t&&"label"in t?e.label||e.value:e};function tq(e){var t=e.values,r=e.defaultValue,n=e.onChange,o=e.children,i=e.groupId,a=e.tabContainerClassName,c=t||[];0===c.length&&(c=o.map(function(e){var t,r,n;return{label:null===(t=e.props)||void 0===t?void 0:t.label,value:(null===(r=e.props)||void 0===r?void 0:r.value)||(null===(n=e.props)||void 0===n?void 0:n.label)}}));var s=(0,h.useContext)(eP),u=s.tabData,d=s.setTabData,p=0,m=i&&void 0!==u[i];return m?p=u[i]:r&&(p=c.findIndex(function(e){return"string"==typeof e?e===r:!!e&&"object"==typeof e&&"value"in e&&e.value===r})),(0,f.jsxs)(V.Tab.Group,tF(tW({onChange:function(e){null==n||n(e),i&&d(tF(tW({},u),l._({},i,e)))}},m?{selectedIndex:p}:{defaultIndex:p}),{children:[(0,f.jsx)("div",{className:a||"",children:c.length?(0,f.jsx)(V.Tab.List,{className:"mt-4 flex w-max min-w-full border-b border-gray-200 dark:border-dark-200",children:c.map(function(e,t){var r=!!(e&&"object"==typeof e&&"disabled"in e&&e.disabled);return(0,f.jsx)(V.Tab,{disabled:r,className:function(e){var t=e.selected;return"".concat(tR.tab," ").concat(t?tR.selected:tR.notSelected)},children:tV(e)},t)})}):null}),(0,f.jsx)(V.Tab.Panels,{children:o})]}))}function tU(e){var t=e.children,r=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++){if(r=i[n],!(t.indexOf(r)>=0))Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}}return o}(e,["children"]);return(0,f.jsx)(V.Tab.Panel,tF(tW({},r),{className:"rounded pt-4",children:t}))}var tG={mask:"mask_22838",modal:"modal_22838",inputForm:"inputForm_22838",input:"input_22838",close:"close_22838",searchHits:"searchHits_22838",groupTitle:"groupTitle_22838",navSearchButton:"navSearchButton_22838",searchWord:"searchWord_22838",suggestItem:"suggestItem_22838",suggestItemContainer:"suggestItemContainer_22838",contentWrapper:"contentWrapper_22838",mark:"mark_22838",titleForContent:"titleForContent_22838",actionIcon:"actionIcon_22838",current:"current_22838",tabClassName:"tabClassName_22838",mobileNavSearchButton:"mobileNavSearchButton_22838"},tZ=function(e){var t,r;return(0,f.jsx)("svg",(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,i;n=e,o=t,i=r[t],o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})}return e}({width:24,height:24,viewBox:"0 0 32 32"},e),r=(r={children:(0,f.jsx)("path",{fill:"var(--modern-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"})},r),Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))},tY=function(e){var t,r;return(0,f.jsx)("svg",(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,i;n=e,o=t,i=r[t],o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})}return e}({width:32,height:32,viewBox:"0 0 24 24"},e),r=(r={children:(0,f.jsxs)("g",{fill:"none",stroke:"var(--modern-c-brand)",strokeLinecap:"round",strokeWidth:2,children:[(0,f.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,f.jsx)("animate",{fill:"freeze",attributeName:"stroke-dashoffset",dur:"1.3s",values:"60;0"})}),(0,f.jsxs)("path",{strokeDasharray:15,strokeDashoffset:15,d:"M12 3a9 9 0 0 1 9 9",children:[(0,f.jsx)("animate",{fill:"freeze",attributeName:"stroke-dashoffset",dur:"0.3s",values:"15;0"}),(0,f.jsx)("animateTransform",{attributeName:"transform",dur:"1.5s",repeatCount:"indefinite",type:"rotate",values:"0 12 12;360 12 12"})]})]})},r),Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))},t$=function(e){var t,r;return(0,f.jsx)("svg",(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,i;n=e,o=t,i=r[t],o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})}return e}({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 32 32"},e),r=(r={children:(0,f.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"})},r),Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))},tK="LOCAL_INDEX";function tX(e){return e.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function tJ(e){return e.replace(/https?:\/\/[^/]+/,"")}function tQ(e,t){for(var r=0,n=0,o=0;o<e.length&&!(n>=t);o++)e.charCodeAt(o)>255?n+=3:n+=1,r++;return r}function t0(e,t,r,n,o,i,a){try{var c=e[i](a),l=c.value}catch(e){r(e);return}c.done?t(l):Promise.resolve(l).then(n,o)}function t1(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function a(e){t0(i,n,o,a,c,"next",e)}function c(e){t0(i,n,o,a,c,"throw",e)}a(void 0)})}}function t2(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}function t4(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function t3(e,t){var r,n,o=t4(e,t,"get");return r=e,(n=o).get?n.get.call(r):n.value}function t5(e,t,r){t2(e,t),t.set(e,r)}function t6(e,t,r){var n=t4(e,t,"set");return!function(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw TypeError("attempted to set read only private field");t.value=r}}(e,n,r),r}function t7(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,i;n=e,o=t,i=r[t],o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})}return e}function t8(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}var t9=RegExp("[\\u3131-\\u314e|\\u314f-\\u3163|\\uac00-힣]|[\\u4E00-\\u9FCC\\u3400-\\u4DB5\\uFA0E\\uFA0F\\uFA11\\uFA13\\uFA14\\uFA1F\\uFA21\\uFA23\\uFA24\\uFA27-\\uFA29]|[\ud840-\ud868][\udc00-\udfff]|\ud869[\udc00-\uded6\udf00-\udfff]|[\ud86a-\ud86c][\udc00-\udfff]|\ud86d[\udc00-\udf34\udf40-\udfff]|\ud86e[\udc00-\udc1d]|[\\u3041-\\u3096]|[\\u30A1-\\u30FA]","giu"),re=new WeakMap,rt=new WeakMap,rr=new WeakSet,rn=function(){function e(){var t,r;a._(this,e),t=this,t2(t,r=rr),r.add(t),t5(this,re,{writable:!0,value:void 0}),t5(this,rt,{writable:!0,value:void 0})}return c._(e,[{key:"init",value:function(e){var t=this;return t1(function(){var r,n,o;return d._(this,function(i){switch(i.label){case 0:return r=e.currentLang,[4,(function(e,t,r){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return r})(t,rr,ro).call(t,r)];case 1:return n=i.sent().filter(function(e){return e.lang===r}).map(function(e){return t8(t7({},e),{normalizedContent:tX(e.content),headers:e.toc.map(function(e){return tX(e.text)}).join(" "),normalizedTitle:tX(e.title)})}),o={tokenize:"full",async:!0,doc:{id:"routePath",field:["normalizedTitle","headers","normalizedContent"]},cache:100,split:/\W+/},t6(t,re,q.default.create(o)),t6(t,rt,q.default.create(t8(t7({},o),{tokenize:function(e){var t=[],r=null;do(r=t9.exec(e))&&t.push(r[0]);while(r);return t}}))),t3(t,re).add(n),t3(t,rt).add(n),[2]}})})()}},{key:"search",value:function(e){var t=this;return t1(function(){var r,n,o,i;return d._(this,function(a){switch(a.label){case 0:return o=e.keyword,i={query:o,limit:e.limit,field:["normalizedTitle","headers","normalizedContent"]},[4,Promise.all([null===(r=t3(t,re))||void 0===r?void 0:r.search(i),null===(n=t3(t,rt))||void 0===n?void 0:n.search(i)])];case 1:return[2,[{index:tK,hits:a.sent().flat(2).filter(Boolean)}]]}})})()}}]),e}();function ro(e){return ri.apply(this,arguments)}function ri(){return(ri=t1(function(e){return d._(this,function(t){switch(t.label){case 0:return[4,fetch("/module-tools/static/".concat("search_index",".").concat(e,".").concat(U.default[e],".json"))];case 1:return[2,t.sent().json()]}})})).apply(this,arguments)}function ra(e,t,r,n,o,i,a){try{var c=e[i](a),l=c.value}catch(e){r(e);return}c.done?t(l):Promise.resolve(l).then(n,o)}function rc(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function a(e){ra(i,n,o,a,c,"next",e)}function c(e){ra(i,n,o,a,c,"throw",e)}a(void 0)})}}function rl(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function rs(e,t){var r,n,o=rl(e,t,"get");return r=e,(n=o).get?n.get.call(r):n.value}var ru=new WeakMap,rd=function(){function e(){var t,r,n;a._(this,e),t=this,n={writable:!0,value:void 0},!function(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}(t,r=ru),r.set(t,n)}return c._(e,[{key:"init",value:function(e){var t=this;return rc(function(){return d._(this,function(r){var n,o,i,a;return n=t,o=ru,i=e,a=rl(n,o,"set"),function(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw TypeError("attempted to set read only private field");t.value=r}}(n,a,i),[2]})})()}},{key:"search",value:function(e){var t=this;return rc(function(){var r,n,o,i,a;return d._(this,function(c){switch(c.label){case 0:n=(r=rs(t,ru)).apiUrl,o=r.searchIndexes,i=e.keyword,a=Object.entries({keyword:i,limit:e.limit.toString(),searchIndexes:(null==o?void 0:o.map(function(e){return"string"==typeof e?e:e.value}).join(","))||"",lang:rs(t,ru).currentLang}).map(function(e){return e.map(encodeURIComponent).join("=")}).join("&"),c.label=1;case 1:return c.trys.push([1,3,,4]),[4,fetch("".concat(n,"?").concat(a))];case 2:return[2,c.sent().json()];case 3:return console.error(c.sent()),[2,[]];case 4:return[2]}})})()}}]),e}();function rf(e,t,r,n,o,i,a){try{var c=e[i](a),l=c.value}catch(e){r(e);return}c.done?t(l):Promise.resolve(l).then(n,o)}function rp(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function a(e){rf(i,n,o,a,c,"next",e)}function c(e){rf(i,n,o,a,c,"throw",e)}a(void 0)})}}function rh(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}function rm(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function rv(e,t){var r,n,o=rm(e,t,"get");return r=e,(n=o).get?n.get.call(r):n.value}function rb(e,t,r){rh(e,t),t.set(e,r)}function rg(e,t,r){var n=rm(e,t,"set");return!function(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw TypeError("attempted to set read only private field");t.value=r}}(e,n,r),r}function rj(e,t,r){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return r}function ry(e,t){rh(e,t),t.add(e)}var rx=new WeakMap,rO=new WeakMap,rw=new WeakMap,rP=new WeakSet,rk=new WeakSet,rN=new WeakSet,rS=new WeakSet,r_=new WeakSet,rD=new WeakSet,rE=function(){function e(t){if(a._(this,e),ry(this,rP),ry(this,rk),ry(this,rN),ry(this,rS),ry(this,r_),ry(this,rD),rb(this,rx,{writable:!0,value:void 0}),rb(this,rO,{writable:!0,value:tK}),rb(this,rw,{writable:!0,value:void 0}),rg(this,rx,t),"remote"===t.mode)rg(this,rw,new rd),rg(this,rO,t.indexName);else rg(this,rw,new rn)}return c._(e,[{key:"init",value:function(){var e=this;return rp(function(){var t;return d._(this,function(r){switch(r.label){case 0:return[4,null===(t=rv(e,rw))||void 0===t?void 0:t.init(rv(e,rx))];case 1:return r.sent(),[2]}})})()}},{key:"match",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:7,r=this;return rp(function(){var n,o,i,a;return d._(this,function(c){switch(c.label){case 0:return[4,null===(n=rv(r,rw))||void 0===n?void 0:n.search({keyword:e,limit:t})];case 1:return o=c.sent(),i=tX(e),a=(null==o?void 0:o.find(function(e){return rj(r,rD,rI).call(r,e.index)}))||{index:tK,hits:[]},[2,{current:rj(r,rP,rC).call(r,i,a),others:((null==o?void 0:o.filter(function(e){return!rj(r,rD,rI).call(r,e.index)}))||[]).map(function(e){return{index:e.index,items:rj(r,rP,rC).call(r,i,e)}})}]}})})()}}]),e}();function rC(e,t){var r=this,n=[];return null==t||t.hits.forEach(function(t){rj(r,rk,rL).call(r,t,e,n),!rj(r,rN,rM).call(r,t,e,n)&&rj(r,rS,rz).call(r,t,e,n)}),n}function rL(e,t,r){var n=e.title,o=tX(n);return!!o.includes(t)&&(r.push({type:"title",title:n,header:n,link:"".concat(e.domain).concat((0,p.normalizeHref)(e.routePath)),query:t,highlightInfoList:[{start:o.indexOf(t),length:t.length}],group:rv(this,rx).extractGroupName(e.routePath)}),!0)}function rM(e,t,r){var n=e.toc,o=e.domain,i=void 0===o?"":o,a=e.title,c=!0,l=!1,u=void 0;try{for(var d,f=n.entries()[Symbol.iterator]();!(c=(d=f.next()).done);c=!0){var h=s._(d.value,2),m=h[0],v=h[1];if(tX(v.text).includes(t)){var b=(function(e,t){for(var r=e[t],n=t,o=[r];r&&r.depth>2;){for(var i=!1,a=n-1;a>=0;a--){var c=e[a];if(c.depth>1&&c.depth===r.depth-1){r=c,n=a,o.unshift(r),i=!0;break}}if(!i)break}return o})(n,m).map(function(e){return e.text}).join(" > "),g=tX(b).indexOf(t),j="".concat(a," > ");return r.push({type:"header",title:e.title,header:"".concat(j).concat(b),highlightInfoList:[{start:g+j.length,length:t.length}],link:"".concat(i).concat((0,p.normalizeHref)(e.routePath),"#").concat(v.id),query:t,group:rv(this,rx).extractGroupName(e.routePath)}),!0}}}catch(e){l=!0,u=e}finally{try{!c&&null!=f.return&&f.return()}finally{if(l)throw u}}return!1}function rz(e,t,r){var n=e.content,o=e.toc,i=e.domain;if(n.length){var a=tX(n),c=a.indexOf(t),l=o.map(function(e){return e.charIndex}),s=function(e){return o[l.findIndex(function(t,r){if(!(r<o.length-1))return t<e;var n=l[r+1];if(t<=e&&n>=e)return!0;return!1})]};if(-1===c){var u,d,f=null===(u=e._matchesPosition)||void 0===u?void 0:u.content;if(!(null==f?void 0:f.length))return;var h=e._matchesPosition.content[0].start,m=s(h),v=tQ(n,h),b=tQ(n,h+100),g=n.slice(v,b),j=e._matchesPosition.content.filter(function(e){return e.start>=h&&e.start+e.length<=h+100}).map(function(e){return{start:tQ(n,e.start)-v+3,length:e.length}});r.push({type:"content",title:e.title,header:null!==(d=null==m?void 0:m.text)&&void 0!==d?d:e.title,link:"".concat(i).concat((0,p.normalizeHref)(e.routePath)).concat(m?"#".concat(m.id):""),query:t,highlightInfoList:j,group:rv(this,rx).extractGroupName(e.routePath),statement:"...".concat(g,"...")});return}for(;-1!==c;){var y,x=s(c),O=n.slice(0,c).lastIndexOf("\n");O=-1===O?0:O;var w=n.indexOf("\n\n",c+t.length),P=n.slice(O,w);P.length>100&&(P=rj(this,r_,rH).call(this,P,t));var k=tX(P).indexOf(t),N=[{start:k,length:t.length}];r.push({type:"content",title:e.title,header:null!==(y=null==x?void 0:x.text)&&void 0!==y?y:e.title,statement:P,highlightInfoList:N,link:"".concat(i).concat((0,p.normalizeHref)(e.routePath)).concat(x?"#".concat(x.id):""),query:t,group:rv(this,rx).extractGroupName(e.routePath)}),c=a.indexOf(t,c+P.length-k)}}}function rH(e,t){var r=e.indexOf(t),n=Math.floor((100-t.length)/2),o=e.slice(0,r);o.length>n&&(o="...".concat(e.slice(r-n+3,r)));var i=e.slice(r+t.length);return i.length>n&&(i="".concat(e.slice(r+t.length,r+n-3),"...")),o+t+i}function rI(e){return e===rv(this,rO)||e===tK}var rA=function(e){var t,r;return(0,f.jsx)("svg",(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,i;n=e,o=t,i=r[t],o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})}return e}({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 32 32"},e),r=(r={children:(0,f.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"})},r),Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))},rT={title:function(e){var t,r;return(0,f.jsx)("svg",(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,i;n=e,o=t,i=r[t],o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})}return e}({xmlns:"http://www.w3.org/2000/svg",width:24,height:24},e),r=(r={children:(0,f.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"})},r),Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))},header:function(e){var t,r;return(0,f.jsx)("svg",(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,i;n=e,o=t,i=r[t],o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})}return e}({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 32 32"},e),r=(r={children:(0,f.jsx)("path",{fill:"currentColor",d:"M28 12v-2h-6V4h-2v6h-8V4h-2v6H4v2h6v8H4v2h6v6h2v-6h8v6h2v-6h6v-2h-6v-8Zm-8 8h-8v-8h8Z"})},r),Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))},content:function(e){var t,r;return(0,f.jsxs)("svg",(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,i;n=e,o=t,i=r[t],o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})}return e}({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 32 32"},e),r=(r={children:[(0,f.jsx)("circle",{cx:22,cy:24,r:2,fill:"currentColor"}),(0,f.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,f.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,f.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"})]},r),Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))}};function rB(e){var t=e.suggestion,r=e.closeSearch,n=e.isCurrent,o=e.setCurrentSuggestionIndex,i=e.inCurrentDocIndex,a=rT[t.type],c=i&&!(0,p.isProduction)()?tJ(t.link):t.link,l=function(e,t){var r=[],n=0,o=!0,i=!1,a=void 0;try{for(var c,l=t[Symbol.iterator]();!(o=(c=l.next()).done);o=!0){var s,u,d,p=c.value,h=p.start,m=p.length,v=e.slice(n,h);var b=(s=e,u=h,d=m,function(e,t,r){for(var n="",o=0,i=e.length,a=0;a<i&&(e.charCodeAt(a)>255?o+=3:o++,!(o>t+r));a++){;o>t&&(n+=e.charAt(a))}return n}(s.slice(u),0,d));r.push(v),r.push((0,f.jsx)("span",{className:tG.mark,children:b},h)),n=h+b.length}}catch(e){i=!0,a=e}finally{try{!o&&null!=l.return&&l.return()}finally{if(i)throw a}}return n<e.length&&r.push(e.slice(n)),r},s=null;switch(t.type){case"title":case"header":s=function(){if("header"!==t.type&&"title"!==t.type)return(0,f.jsx)("div",{className:"font-medium",children:t.header});var e=t.header,r=t.highlightInfoList;return(0,f.jsx)("div",{className:"font-medium",children:l(e,r)})}();break;case"content":s=(0,f.jsxs)(f.Fragment,{children:[function(){if("content"!==t.type)return(0,f.jsx)("div",{});var e=t.statement,r=t.highlightInfoList;return(0,f.jsx)("div",{className:"text-sm text-gray-light w-full",children:l(e,r)})}(),(0,f.jsx)("p",{className:tG.titleForContent,children:t.title})]})}return(0,f.jsx)("li",{className:"".concat(tG.suggestItem," ").concat(n?tG.current:""),onMouseEnter:o,children:(0,f.jsx)("a",{href:c,onClick:function(e){r(),e.stopPropagation()},target:i?"_self":"_blank",children:(0,f.jsxs)("div",{className:tG.suggestItemContainer,children:[(0,f.jsx)("div",{className:tG.hitIcon,children:(0,f.jsx)(a,{})}),(0,f.jsx)("div",{className:tG.contentWrapper,children:(0,f.jsx)("span",{children:s})}),(0,f.jsx)("div",{className:tG.actionIcon,children:(0,f.jsx)(rA,{})})]})})},t.link)}var rR=function(e){var t,r;return(0,f.jsxs)("svg",(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,i;n=e,o=t,i=r[t],o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})}return e}({xmlns:"http://www.w3.org/2000/svg",width:48,height:48,fill:"none"},e),r=(r={children:[(0,f.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,f.jsx)("path",{stroke:"currentColor",strokeWidth:4,d:"M41.5 30H28s-1 3-4 3-4-3-4-3H6.5"})]},r),Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))};function rW(e){var t=e.query;return(0,f.jsxs)("div",{className:"flex flex-col items-center pt-8 pb-2",children:[(0,f.jsx)(rR,{className:"mb-4 opacity-80"}),(0,f.jsxs)("p",{className:"mb-2",children:["No results for ",(0,f.jsxs)("b",{children:['"',t,'"']}),"."]}),(0,f.jsx)("p",{children:"Please try again with a different keyword."})]})}function rF(e,t,r,n,o,i,a){try{var c=e[i](a),l=c.value}catch(e){r(e);return}c.done?t(l):Promise.resolve(l).then(n,o)}function rV(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function a(e){rF(i,n,o,a,c,"next",e)}function c(e){rF(i,n,o,a,c,"throw",e)}a(void 0)})}}var rq={ARROW_UP:"ArrowUp",ARROW_DOWN:"ArrowDown",ENTER:"Enter",SEARCH:"KeyK",ESC:"Escape"},rU={zh:"其它站点推荐结果",en:"Other Site Search Results"};function rG(){var e,t=function(){return L.apply(this,arguments)},r=s._((0,h.useState)(""),2),n=r[0],o=r[1],i=s._((0,h.useState)({current:[],others:[]}),2),a=i[0],c=i[1],l=s._((0,h.useState)(!1),2),m=l[0],v=l[1],b=(0,h.useRef)(null),g=s._((0,h.useState)(!0),2),j=g[0],y=g[1],x=s._((0,h.useState)(0),2),O=x[0],w=x[1],P=(0,h.useRef)(null),k=(0,p.usePageData)(),N=k.siteData,S=k.page.lang,_=G().sidebar,D=N.search,E=u._(a.current).concat(u._(a.others.map(function(e){return e.items}))).flat(),C=function(e){return Z(_,e).group};function L(){return(L=rV(function(){var e,t,r,n;return d._(this,function(o){switch(o.label){case 0:var i,a;if(!1===D)return[2];return t=new rE((i=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n,o,i;n=e,o=t,i=r[t],o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i})}return e}({},D),a=(a={currentLang:S,extractGroupName:C},a),Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(a)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(a)).forEach(function(e){Object.defineProperty(i,e,Object.getOwnPropertyDescriptor(a,e))}),i)),P.current=t,[4,P.current.init()];case 1:if(o.sent(),y(!1),!(r=null===(e=b.current)||void 0===e?void 0:e.value))return[3,3];return[4,null===(n=P.current)||void 0===n?void 0:n.match(r)];case 2:c(o.sent()||{current:[],others:[]}),o.label=3;case 3:return[2]}})})).apply(this,arguments)}(0,h.useEffect)(function(){var e=function(e){switch(e.code){case rq.SEARCH:(e.ctrlKey||e.metaKey)&&(e.preventDefault(),v(!m));break;case rq.ARROW_DOWN:e.preventDefault(),w((O+1)%E.length);break;case rq.ARROW_UP:e.preventDefault(),w((O-1+E.length)%E.length);break;case rq.ENTER:if(O>=0){var t=E[O];O<a.current.length?(window.location.href=(0,p.isProduction)()?t.link:tJ(t.link),v(!1)):window.open(t.link)}break;case rq.ESC:v(!1)}};return document.addEventListener("keydown",e),function(){document.removeEventListener("keydown",e)}},[w,v,E,O]),(0,h.useEffect)(function(){m&&(c({current:[],others:[]}),!P.current&&t())},[m]),(0,h.useEffect)(function(){j||t()},[S]);var M=(e=rV(function(e){var t,r;return d._(this,function(n){switch(n.label){case 0:if(o(t=e.target.value),!t)return[3,2];return[4,null===(r=P.current)||void 0===r?void 0:r.match(t)];case 1:c(n.sent()||{current:[],others:[]}),n.label=2;case 2:return[2]}})}),function(t){return e.apply(this,arguments)}),z=-1,H=function(e){var t,r=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(0===e.length&&!j)return(0,f.jsx)("div",{className:"mt-4 flex-center",children:(0,f.jsx)("div",{className:"p-2 font-bold text-md",style:{color:"#2c3e50"},children:"No results found"})});var n=(t=e,(0,W.default)(t,"group"));return(0,f.jsx)("ul",{className:tG.suggestList,children:Object.keys(n).map(function(e){var t=n[e]||[];return(0,f.jsxs)("li",{children:[r&&(0,f.jsx)("h2",{className:tG.groupTitle,children:e}),(0,f.jsx)("ul",{className:"pb-2",children:t.map(function(e){var t=++z;return(0,f.jsx)(rB,{suggestion:e,isCurrent:t===O,setCurrentSuggestionIndex:function(){w(t)},closeSearch:function(){return v(!1)},inCurrentDocIndex:t<a.current.length},"".concat(e.title,"-").concat(t))})})]},e)})})};return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("div",{className:tG.navSearchButton,onClick:function(){return v(!0)},children:(0,f.jsxs)("button",{children:[(0,f.jsx)(tZ,{width:"18",hight:"18"}),(0,f.jsx)("p",{className:tG.searchWord,children:"Search Docs"}),(0,f.jsxs)("div",{children:[(0,f.jsx)("span",{children:"⌘"}),(0,f.jsx)("span",{children:"K"})]})]})}),(0,f.jsx)("div",{className:tG.mobileNavSearchButton,onClick:function(){return v(!0)},children:(0,f.jsx)(tZ,{})}),m&&(0,F.createPortal)((0,f.jsx)("div",{className:tG.mask,onClick:function(){return v(!1)},children:(0,f.jsxs)("div",{className:"".concat(tG.modal),onClick:function(e){v(!0),e.stopPropagation()},children:[(0,f.jsxs)("div",{className:"flex items-center",children:[(0,f.jsxs)("div",{className:tG.inputForm,children:[(0,f.jsx)("label",{children:(0,f.jsx)(tZ,{})}),(0,f.jsx)("input",{className:tG.input,ref:b,placeholder:"Search Docs","aria-label":"Search",autoComplete:"off",autoFocus:!0,onChange:(0,R.default)(M,150)}),(0,f.jsx)("label",{children:(0,f.jsx)(t$,{className:tG.close,onClick:function(){b.current&&(b.current.value="",o(""))}})})]}),(0,f.jsx)("h2",{className:"text-brand ml-2 sm:hidden cursor-pointer",onClick:function(e){e.stopPropagation(),v(!1)},children:"Cancel"})]}),n?(0,f.jsx)("div",{className:"".concat(tG.searchHits," modern-scrollbar"),children:function(e,t){if(!E.length&&!j)return(0,f.jsx)(rW,{query:n});var r=a.others.map(function(e){return e.items}).flat().length>0,o=e.others.map(function(e){if(!t||"remote"!==t.mode)return e;return(t.searchIndexes||[]).map(function(e){return"string"==typeof e?{value:e,label:e}:e}).find(function(t){return t.value===e.index}).label});return(0,f.jsxs)("div",{children:[H(e.current),r&&(0,f.jsx)("h2",{className:tG.groupTitle,children:rU[S]}),(0,f.jsx)("div",{style:{marginTop:"-12px"},children:(0,f.jsx)(tq,{values:o,tabContainerClassName:tG.tabClassName,children:e.others.map(function(e){return(0,f.jsx)(tU,{children:H(e.items,!1)},e.index)})})})]})}(a,D)}):null,j&&(0,f.jsx)("div",{className:"flex-center",children:(0,f.jsx)("div",{className:"p-2 text-sm",children:(0,f.jsx)(tY,{})})})]})}),document.getElementById("search-container"))]})}function rZ(){var e=((0,p.usePageData)().siteData.themeConfig.footer||{}).message;return(0,f.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,f.jsx)("div",{className:"m-auto w-full text-center",children:e&&(0,f.jsx)("div",{className:"font-meduim text-sm text-text-2",children:e})})})}var rY={Layout:function(e){var t,r=e.top,n=e.bottom,o=e.beforeDocFooter,i=e.beforeDoc,a=e.afterDoc,c=e.beforeOutline,l=e.afterOutline,s=e.beforeNavTitle,u=e.afterNavTitle,d=e.beforeNav,g={beforeDocFooter:o,beforeDoc:i,afterDoc:a,beforeOutline:c,afterOutline:l},j=(0,p.usePageData)(),y=j.siteData,x=j.page,O=x.pageType,w=x.lang,P=x.title,k=x.frontmatter,N=G(),S=y.lang||"",_=null!==(t=null==k?void 0:k.title)&&void 0!==t?t:P,D=y.title||N.title;_=_&&"doc"===O?"".concat(_," - ").concat(D):D;var E=(null==k?void 0:k.description)||y.description||N.description;return(0,h.useEffect)(function(){if(S){var e=window.location.pathname,t=(0,p.removeBase)(e),r="modern-doc-visited";if(!localStorage.getItem(r)){localStorage.setItem(r,"1");var n=window.navigator.language.split("-")[0];n!==w&&(n===S?window.location.replace(e.replace("/".concat(w),"")):w===S?window.location.replace((0,p.withBase)("/".concat(n).concat(t))):window.location.replace(e.replace("/".concat(w),"/".concat(n))))}}},[]),(0,f.jsxs)("div",{children:[(0,f.jsxs)(m.Helmet,{children:[_?(0,f.jsx)("title",{children:_}):null,E?(0,f.jsx)("meta",{name:"description",content:E}):null]}),r,"blank"!==O&&(0,f.jsx)(v.Nav,{beforeNavTitle:s,afterNavTitle:u,beforeNav:d}),(0,f.jsx)("section",{children:function(){switch(O){case"home":return(0,f.jsx)(v.default.HomeLayout,{});case"doc":default:return(0,f.jsx)(e3,e5({},g));case"404":return(0,f.jsx)(v.default.NotFoundLayout,{});case"custom":case"blank":return(0,f.jsx)(p.Content,{})}}()}),n,b.default.map(function(e,t){return(0,f.jsx)(e,{},t)})]})},NotFoundLayout:function(){var e=(0,p.usePageData)().siteData,t=e.lang;if(!(t&&"undefined"!=typeof window&&location.pathname.includes("/".concat(t,"/"))))return(0,f.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,f.jsx)("p",{className:"text-6xl font-semibold",children:"404"}),(0,f.jsx)("h1",{className:"leading-5 pt-3 text-xl font-bold",children:"PAGE NOT FOUND"}),(0,f.jsx)("div",{style:{height:"1px"},className:"mt-6 mx-auto mb-4.5 w-16 bg-gray-light-1"}),(0,f.jsx)("div",{className:"pt-5",children:(0,f.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"})})]});var r=location.pathname.replace("/".concat(t,"/"),"/");return window.location.replace(r),(0,f.jsx)(f.Fragment,{})},HomeLayout:function(e){var t=e.beforeHero,r=e.afterHero,n=e.beforeFeatures,o=e.afterFeatures,i=(0,p.usePageData)().page.frontmatter;return(0,f.jsxs)("div",{className:"relative",style:{minHeight:"calc(100vh - var(--modern-nav-height))",paddingBottom:"80px"},children:[(0,f.jsxs)("div",{className:"mt-14 pb-12",children:[t,(0,f.jsx)(te,{frontmatter:i}),r,n,(0,f.jsx)(to,{frontmatter:i}),o]}),(0,f.jsx)(v.HomeFooter,{})]})},setup:function(){if("undefined"!=typeof window){var e;e=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=null;try{n=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t.slice(1)))}catch(e){console.warn(e)}n&&J(n,r)},window.addEventListener("click",function(t){var r=t.target.closest("a");if(r){var n=r.origin,o=r.hash,i=r.target,a=r.pathname,c=r.search,l=window.location;o&&"_blank"!==i&&n===l.origin&&a===l.pathname&&c===l.search&&o&&r.classList.contains("header-anchor")&&(t.preventDefault(),history.pushState(null,"",o),e(r,o,!0),window.dispatchEvent(new Event("hashchange")))}},{capture:!0}),window.addEventListener("hashchange",function(e){e.preventDefault()})}}}},42456:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{initPageData:function(){return v},App:function(){return g}});var n=r("61078"),o=r("15169"),i=r("43932"),a=r("73706"),c=r("9880"),l=r.ir(r("73695")),s=r("66811"),u=r("78585"),d=r("6171"),f=r.ir(r("19730")),p=r("14705"),h=r("72725"),m=r("54967");function v(e){return b.apply(this,arguments)}function b(){return(b=n._(function(e){var t,n,c,u,d,f,h,v,b,g,j,y,x;return a._(this,function(a){switch(a.label){case 0:if(t=r("95558").routes,!(n=(0,s.matchRoutes)(t,e)))return[3,2];return[4,n[0].route.preload()];case 1:return u=a.sent(),d=(0,m.cleanUrl)(n[0].route.filePath),f=l.default.pages.find(function(t){var r=function(e){return e.replace(/\/$/,"")};return(0,p.isEqualPath)(r(t.routePath),r(e))}),h=encodeURIComponent(d),g=void 0===(b=(v=(null===(c=globalThis.__RSPRESS_PAGE_META)||void 0===c?void 0:c[h])||{}).toc)?[]:b,y=void 0===(j=v.title)?"":j,x=(x=v.frontmatter)||u.frontmatter||{},[2,{siteData:l.default,page:i._(o._({pagePath:d},f),{pageType:(null==x?void 0:x.pageType)||"doc",title:y,frontmatter:x,toc:(0,m.isProduction)()?null==f?void 0:f.toc:g})}];case 2:return[2,{siteData:l.default,page:{pagePath:"",pageType:"404",routePath:"/404",lang:l.default.lang||"",frontmatter:{},title:"404",toc:[],_filepath:"",_relativePath:""}}];case 3:return[2]}})})).apply(this,arguments)}function g(e){var t=e.helmetContext,r=(0,d.useContext)(h.DataContext).setData,o=(0,s.useLocation)().pathname;return(0,d.useLayoutEffect)(function(){function e(){return(e=n._(function(){return a._(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,v((0,p.normalizeRoutePath)(o))];case 1:return r(e.sent()),[3,3];case 2:return console.log(e.sent()),[3,3];case 3:return[2]}})})).apply(this,arguments)}!function(){e.apply(this,arguments)}()},[o,r]),(0,c.jsx)(u.HelmetProvider,{context:t,children:(0,c.jsx)(f.default.Layout,{})})}},13342:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Content",{enumerable:!0,get:function(){return l}});var n=r("9880"),o=r("6171"),i=r("66811"),a=r("14705"),c=r("95558").routes,l=function(e){var t=e.fallback,r=void 0===t?(0,n.jsx)(n.Fragment,{}):t,l=(0,i.useLocation)().pathname,s=(0,i.matchRoutes)(c,(0,a.normalizeRoutePath)(l));if(!s)return(0,n.jsx)("div",{});var u=s[0].route.element;return(0,n.jsx)(o.Suspense,{fallback:r,children:u})}},44433:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NoSSR",{enumerable:!0,get:function(){return a}});var n=r("28003"),o=r("9880"),i=r("6171");function a(e){var t=e.children,r=n._((0,i.useState)(!1),2),a=r[0],c=r[1];return((0,i.useEffect)(function(){c(!0)},[]),a)?(0,o.jsx)(o.Fragment,{children:t}):null}},11555:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"renderInBrowser",{enumerable:!0,get:function(){return h}});var n=r("61078"),o=r("28003"),i=r("73706"),a=r("9880"),c=r.ir(r("19730")),l=r("6171"),s=r("66811"),u=r("42456"),d=r("72725"),f=r("14705"),p=r("54967");function h(){return m.apply(this,arguments)}function m(){return(m=n._(function(){var e,t,c,h,m;return i._(this,function(v){switch(v.label){case 0:var b;return e=document.getElementById("root"),b=n._(function(){var e;return i._(this,function(t){switch(t.label){case 0:return[4,(0,u.initPageData)((0,f.normalizeRoutePath)(window.location.pathname))];case 1:return e=t.sent(),[2,function(){var t=o._((0,l.useState)(e),2),r=t[0],n=t[1],i=o._((0,l.useState)("light"),2),c=i[0],f=i[1];return(0,a.jsx)(d.ThemeContext.Provider,{value:{theme:c,setTheme:f},children:(0,a.jsx)(d.DataContext.Provider,{value:{data:r,setData:n},children:(0,a.jsx)(s.BrowserRouter,{children:(0,a.jsx)(u.App,{})})})})}]}})}),[4,function(){return b.apply(this,arguments)}()];case 1:return t=v.sent(),h=(c=r("32361")).createRoot,m=c.hydrateRoot,(0,p.isProduction)()?m(e,(0,a.jsx)(t,{})):h(e).render((0,a.jsx)(t,{})),[2]}})})).apply(this,arguments)}h().then(function(){c.default.setup()})},70169:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});var n=r("44110"),o=r.ir(r("41989")),i=r("6171");function a(e){var t=(0,n.useLocation)().pathname,r=e.selector,a=void 0===r?".modern-doc img":r;return(0,i.useEffect)(function(){var e=document.querySelectorAll(a);(0,o.default)(e)},[t]),null}r("16879")},27385:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n.default}}),r("78329");var n=r.ir(r.es(r("32978"),t))},44110:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r.es(r("23447"),t)},72725:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DataContext:function(){return o},ThemeContext:function(){return i},usePageData:function(){return a},useLang:function(){return c}});var n=r("6171"),o=(0,n.createContext)({}),i=(0,n.createContext)({});function a(){return(0,n.useContext)(o).data}function c(){return(0,n.useContext)(o).data.page.lang||""}},23447:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{normalizeHref:function(){return n.normalizeHref},withBase:function(){return n.withBase},removeBase:function(){return n.removeBase},normalizeSlash:function(){return n.normalizeSlash},isProduction:function(){return n.isProduction},normalizeRoutePath:function(){return n.normalizeRoutePath},isEqualPath:function(){return n.isEqualPath},useLocation:function(){return o.useLocation},NoSSR:function(){return i.NoSSR}}),r.es(r("72725"),t),r.es(r("13342"),t);var n=r("14705"),o=r("66811");r("78585");var i=r("44433")},14705:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{normalizeRoutePath:function(){return i},withBase:function(){return a},removeBase:function(){return c},isEqualPath:function(){return l},normalizeSlash:function(){return o.normalizeSlash},isProduction:function(){return o.isProduction},normalizeHref:function(){return o.normalizeHref}});var n=r.ir(r("73695")),o=r("54967");function i(e){return decodeURIComponent(e).replace(/\.html$/,"").replace(/\/index$/,"/")}function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/";return(0,o.withBase)(e,n.default.base)}function c(e){return(0,o.removeBase)(e,n.default.base)}function l(e,t){return a((0,o.normalizeHref)(e))===a((0,o.normalizeHref)(t))}},54967:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{isProduction:function(){return a},cleanUrl:function(){return c},normalizeSlash:function(){return s},normalizeHref:function(){return d},withBase:function(){return f},removeBase:function(){return p}});var n=r("28003"),o=RegExp("\\?.*$","s"),i=RegExp("#.*$","s"),a=function(){return!0},c=function(e){return e.replace(i,"").replace(o,"")};function l(e){return"/"===e.charAt(0)||e.startsWith("https")?e:"/".concat(e)}function s(e){var t;return"/"===(t=l(e)).charAt(t.length-1)?t.slice(0,-1):t}var u=function(e){var t=n._(e.split("#"),2),r=t[0],o=t[1];return{url:r,hash:void 0===o?"":o}};function d(e){if(!e)return"/";if((t=e).startsWith("http://")||t.startsWith("https://")||t.startsWith("mailto:")||t.startsWith("tel:"))return e;var t,r=u(e),n=r.url,o=r.hash;return e.startsWith("mailto:")||e.startsWith("tel:")?e:(!n.endsWith(".html")&&(n.endsWith("/")?n+="index.html":n+=".html"),l(o?"".concat(n,"#").concat(o):n))}function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=l(e),n=s(t);return r.startsWith(n)?r:"".concat(n).concat(r)}function p(e,t){return l(e).replace(s(t),"")}},77552:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Nav:function(){return n.Nav},Search:function(){return n.Search},HomeFooter:function(){return n.HomeFooter},default:function(){return n.default}});var n=r.ir(r("27385"))},19730:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n.default}}),r("89201");var n=r.ir(r.es(r("82655"),t))},82655:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n.default}});var n=r.ir(r.es(r("77552"),t))}},function(e){var t=function(t){return e(e.s=t)};e.O(0,["defaultVendors~docs_en_api_config_build-config_md~docs_en_api_config_build-preset_mdx~docs_en~2cd1be","lib-lodash","lib-polyfill","lib-react","lib-router"],function(){return t("90910"),t("11555")}),e.O()}]);
|