@modern-js/module-tools-docs 2.6.0 → 2.7.1-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (153) hide show
  1. package/README.md +2 -2
  2. package/doc_build/api/config/build-config.html +363 -0
  3. package/doc_build/api/config/build-preset.html +72 -0
  4. package/doc_build/api/config/design-system.html +114 -0
  5. package/doc_build/api/config/plugins.html +18 -0
  6. package/doc_build/api/config/testing.html +32 -0
  7. package/doc_build/api/index.html +12 -0
  8. package/doc_build/api/plugin-api/plugin-hooks.html +123 -0
  9. package/doc_build/en/api/config/build-config.html +347 -0
  10. package/doc_build/en/api/config/build-preset.html +72 -0
  11. package/doc_build/en/api/config/design-system.html +128 -0
  12. package/doc_build/en/api/config/plugins.html +18 -0
  13. package/doc_build/en/api/config/testing.html +32 -0
  14. package/doc_build/en/api/index.html +12 -0
  15. package/doc_build/en/api/plugin-api/plugin-hooks.html +123 -0
  16. package/doc_build/en/guide/advance/asset.html +36 -0
  17. package/doc_build/en/guide/advance/build-umd.html +43 -0
  18. package/doc_build/en/guide/advance/copy.html +53 -0
  19. package/doc_build/en/guide/advance/external-dependency.html +46 -0
  20. package/doc_build/en/guide/advance/in-depth-about-build.html +123 -0
  21. package/doc_build/en/guide/advance/in-depth-about-dev-command.html +33 -0
  22. package/doc_build/en/guide/advance/theme-config.html +40 -0
  23. package/doc_build/en/guide/basic/before-getting-started.html +98 -0
  24. package/doc_build/en/guide/basic/command-preview.html +74 -0
  25. package/doc_build/en/guide/basic/modify-output-product.html +109 -0
  26. package/doc_build/en/guide/basic/publish-your-project.html +61 -0
  27. package/doc_build/en/guide/basic/test-your-project.html +42 -0
  28. package/doc_build/en/guide/basic/use-micro-generator.html +48 -0
  29. package/doc_build/en/guide/basic/using-storybook.html +77 -0
  30. package/doc_build/en/guide/best-practices/components.html +122 -0
  31. package/doc_build/en/guide/intro/getting-started.html +51 -0
  32. package/doc_build/en/guide/intro/welcome.html +24 -0
  33. package/doc_build/en/guide/intro/why-module-engineering-solution.html +20 -0
  34. package/doc_build/en/index.html +12 -0
  35. package/doc_build/en/plugins/guide/getting-started.html +26 -0
  36. package/doc_build/en/plugins/guide/plugin-object.html +25 -0
  37. package/doc_build/en/plugins/guide/setup-function.html +41 -0
  38. package/doc_build/en/plugins/official-list/overview.html +17 -0
  39. package/doc_build/en/plugins/official-list/plugin-banner.html +41 -0
  40. package/doc_build/en/plugins/official-list/plugin-import.html +43 -0
  41. package/doc_build/guide/advance/asset.html +36 -0
  42. package/doc_build/guide/advance/build-umd.html +43 -0
  43. package/doc_build/guide/advance/copy.html +53 -0
  44. package/doc_build/guide/advance/external-dependency.html +46 -0
  45. package/doc_build/guide/advance/in-depth-about-build.html +123 -0
  46. package/doc_build/guide/advance/in-depth-about-dev-command.html +33 -0
  47. package/doc_build/guide/advance/theme-config.html +39 -0
  48. package/doc_build/guide/basic/before-getting-started.html +98 -0
  49. package/doc_build/guide/basic/command-preview.html +74 -0
  50. package/doc_build/guide/basic/modify-output-product.html +109 -0
  51. package/doc_build/guide/basic/publish-your-project.html +63 -0
  52. package/doc_build/guide/basic/test-your-project.html +44 -0
  53. package/doc_build/guide/basic/use-micro-generator.html +46 -0
  54. package/doc_build/guide/basic/using-storybook.html +75 -0
  55. package/doc_build/guide/best-practices/components.html +122 -0
  56. package/doc_build/guide/intro/getting-started.html +48 -0
  57. package/doc_build/guide/intro/welcome.html +24 -0
  58. package/doc_build/guide/intro/why-module-engineering-solution.html +20 -0
  59. package/doc_build/index.html +12 -0
  60. package/doc_build/plugins/guide/getting-started.html +26 -0
  61. package/doc_build/plugins/guide/plugin-object.html +25 -0
  62. package/doc_build/plugins/guide/setup-function.html +41 -0
  63. package/doc_build/plugins/official-list/overview.html +17 -0
  64. package/doc_build/plugins/official-list/plugin-banner.html +41 -0
  65. package/doc_build/plugins/official-list/plugin-import.html +43 -0
  66. package/doc_build/static/css/main.0bdbae52.css +1 -0
  67. package/doc_build/static/js/9061.555c88e4.js +2 -0
  68. package/doc_build/static/js/9061.555c88e4.js.LICENSE.txt +25 -0
  69. package/doc_build/static/js/async/1114.d0e9a03f.js +1 -0
  70. package/doc_build/static/js/async/en_api_config_build-config.4b68a964.js +1 -0
  71. package/doc_build/static/js/async/en_api_config_build-preset.3c87d23b.js +1 -0
  72. package/doc_build/static/js/async/en_api_config_design-system.bae5a6a4.js +1 -0
  73. package/doc_build/static/js/async/en_api_config_plugins.e2525188.js +1 -0
  74. package/doc_build/static/js/async/en_api_config_testing.bdfe73d2.js +1 -0
  75. package/doc_build/static/js/async/en_api_index.e8c3584a.js +1 -0
  76. package/doc_build/static/js/async/en_api_plugin-api_plugin-hooks.130c0839.js +1 -0
  77. package/doc_build/static/js/async/en_guide_advance_asset.29c82557.js +1 -0
  78. package/doc_build/static/js/async/en_guide_advance_build-umd.5912e38e.js +1 -0
  79. package/doc_build/static/js/async/en_guide_advance_copy.e73474a0.js +1 -0
  80. package/doc_build/static/js/async/en_guide_advance_external-dependency.21c368af.js +1 -0
  81. package/doc_build/static/js/async/en_guide_advance_in-depth-about-build.90beffab.js +1 -0
  82. package/doc_build/static/js/async/en_guide_advance_in-depth-about-dev-command.7be33ae4.js +1 -0
  83. package/doc_build/static/js/async/en_guide_advance_theme-config.ed245a3c.js +1 -0
  84. package/doc_build/static/js/async/en_guide_basic_before-getting-started.1da2f70c.js +1 -0
  85. package/doc_build/static/js/async/en_guide_basic_command-preview.16337618.js +1 -0
  86. package/doc_build/static/js/async/en_guide_basic_modify-output-product.c1634e05.js +1 -0
  87. package/doc_build/static/js/async/en_guide_basic_publish-your-project.6ffa1dcb.js +1 -0
  88. package/doc_build/static/js/async/en_guide_basic_test-your-project.503389bd.js +1 -0
  89. package/doc_build/static/js/async/en_guide_basic_use-micro-generator.1d9ade59.js +1 -0
  90. package/doc_build/static/js/async/en_guide_basic_using-storybook.2e1cf2bc.js +1 -0
  91. package/doc_build/static/js/async/en_guide_best-practices_components.db985beb.js +1 -0
  92. package/doc_build/static/js/async/en_guide_intro_getting-started.fdf2a5e3.js +1 -0
  93. package/doc_build/static/js/async/en_guide_intro_welcome.e8402d15.js +1 -0
  94. package/doc_build/static/js/async/en_guide_intro_why-module-engineering-solution.5b18a76a.js +1 -0
  95. package/doc_build/static/js/async/en_index.9d8e7f26.js +1 -0
  96. package/doc_build/static/js/async/en_plugins_guide_getting-started.5c423f88.js +1 -0
  97. package/doc_build/static/js/async/en_plugins_guide_plugin-object.2799e64d.js +1 -0
  98. package/doc_build/static/js/async/en_plugins_guide_setup-function.bf63c2f5.js +1 -0
  99. package/doc_build/static/js/async/en_plugins_official-list_overview.226be4e5.js +1 -0
  100. package/doc_build/static/js/async/en_plugins_official-list_plugin-banner.c8fc2ef5.js +1 -0
  101. package/doc_build/static/js/async/en_plugins_official-list_plugin-import.dc5a5224.js +1 -0
  102. package/doc_build/static/js/async/zh_api_config_build-config.e0239f0b.js +1 -0
  103. package/doc_build/static/js/async/zh_api_config_build-preset.af73b578.js +1 -0
  104. package/doc_build/static/js/async/zh_api_config_design-system.6f3e0d0a.js +1 -0
  105. package/doc_build/static/js/async/zh_api_config_plugins.bb32094e.js +1 -0
  106. package/doc_build/static/js/async/zh_api_config_testing.7af33726.js +1 -0
  107. package/doc_build/static/js/async/zh_api_index.83d48f6f.js +1 -0
  108. package/doc_build/static/js/async/zh_api_plugin-api_plugin-hooks.54181e2b.js +1 -0
  109. package/doc_build/static/js/async/zh_guide_advance_asset.0abb6b82.js +1 -0
  110. package/doc_build/static/js/async/zh_guide_advance_build-umd.cd0724c4.js +1 -0
  111. package/doc_build/static/js/async/zh_guide_advance_copy.0c87a269.js +1 -0
  112. package/doc_build/static/js/async/zh_guide_advance_external-dependency.38ab900c.js +1 -0
  113. package/doc_build/static/js/async/zh_guide_advance_in-depth-about-build.f74fb46b.js +1 -0
  114. package/doc_build/static/js/async/zh_guide_advance_in-depth-about-dev-command.390bd229.js +1 -0
  115. package/doc_build/static/js/async/zh_guide_advance_theme-config.9d46a256.js +1 -0
  116. package/doc_build/static/js/async/zh_guide_basic_before-getting-started.cb228032.js +1 -0
  117. package/doc_build/static/js/async/zh_guide_basic_command-preview.d01b5121.js +1 -0
  118. package/doc_build/static/js/async/zh_guide_basic_modify-output-product.511034ae.js +1 -0
  119. package/doc_build/static/js/async/zh_guide_basic_publish-your-project.f1222d3a.js +1 -0
  120. package/doc_build/static/js/async/zh_guide_basic_test-your-project.bb4ee150.js +1 -0
  121. package/doc_build/static/js/async/zh_guide_basic_use-micro-generator.fbbfa670.js +1 -0
  122. package/doc_build/static/js/async/zh_guide_basic_using-storybook.e684c97c.js +1 -0
  123. package/doc_build/static/js/async/zh_guide_best-practices_components.63e6ce1f.js +1 -0
  124. package/doc_build/static/js/async/zh_guide_intro_getting-started.ed054585.js +1 -0
  125. package/doc_build/static/js/async/zh_guide_intro_welcome.e1854445.js +1 -0
  126. package/doc_build/static/js/async/zh_guide_intro_why-module-engineering-solution.c5feb99d.js +1 -0
  127. package/doc_build/static/js/async/zh_index.bdf672c6.js +1 -0
  128. package/doc_build/static/js/async/zh_plugins_guide_getting-started.d0775941.js +1 -0
  129. package/doc_build/static/js/async/zh_plugins_guide_plugin-object.acf4be01.js +1 -0
  130. package/doc_build/static/js/async/zh_plugins_guide_setup-function.d79620be.js +1 -0
  131. package/doc_build/static/js/async/zh_plugins_official-list_overview.bded70c0.js +1 -0
  132. package/doc_build/static/js/async/zh_plugins_official-list_plugin-banner.defbf67c.js +1 -0
  133. package/doc_build/static/js/async/zh_plugins_official-list_plugin-import.d9e7fb77.js +1 -0
  134. package/doc_build/static/js/lib-lodash.5ea7bf7d.js +1 -0
  135. package/doc_build/static/js/lib-polyfill.0d49b811.js +1 -0
  136. package/doc_build/static/js/lib-react.209d3da0.js +2 -0
  137. package/doc_build/static/js/lib-react.209d3da0.js.LICENSE.txt +29 -0
  138. package/doc_build/static/js/lib-router.6f1082f5.js +1 -0
  139. package/doc_build/static/js/main.457dc37f.js +1 -0
  140. package/doc_build/static/search_index.c9c50254.json +1 -0
  141. package/docs/en/guide/basic/command-preview.md +1 -1
  142. package/docs/en/guide/intro/getting-started.md +1 -1
  143. package/docs/en/plugins/official-list/overview.md +3 -1
  144. package/docs/en/plugins/official-list/plugin-banner.md +103 -0
  145. package/docs/en/plugins/official-list/plugin-import.mdx +177 -0
  146. package/docs/zh/guide/basic/command-preview.md +1 -1
  147. package/docs/zh/guide/basic/use-micro-generator.md +2 -2
  148. package/docs/zh/guide/intro/getting-started.md +1 -1
  149. package/docs/zh/plugins/official-list/overview.md +2 -1
  150. package/docs/zh/plugins/official-list/plugin-banner.md +103 -0
  151. package/docs/zh/plugins/official-list/plugin-import.mdx +176 -0
  152. package/modern.config.ts +3 -3
  153. package/package.json +5 -5
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_modern_js_module_tools_docs=self.webpackChunk_modern_js_module_tools_docs||[]).push([[179],{8030:function(e,t,n){n(7381),n(4305),n(9835),n(5579),n(6230),n(1565),n(4095);var r=n(2363);const a=(0,r.createContext)({});function s(){return(0,r.useContext)(a).data}var i=n(9980);var l=n(4165),c=(n(1548),n(8506),n(4882),n(509),n(5770),n(5022)),o=n(5082),d=n(3734),u=n(366),h=n(2445),m=(n(6368),n(3532),n(7358),n(9088),n(4616),n(9925),n(33),n(6852),n(558),n(2015),n(7181),n(8029),n(2178),n(5377),n(8987),n(360),n(8896),n(2447),n(5574),n(9522)),x=n.n(m);n(6655),n(9660),n(5989),n(2089),n(7878),n(4022);const v=/\?[\s\S]*$/,p=/#[\s\S]*$/,f=/^(https?:)/,g="modern-theme-appearance",j=e=>e.replace(p,"").replace(v,"");function w(e){return"/"===e.charAt(0)||e.startsWith("https")?e:`/${e}`}function b(e){return function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}(w(e))}function y(e,t,n,r,a=""){const s=C(e,a),i=s.split("/")[1];let l;return l=!r.includes(i)?t===n?s:w(`${t}${s}`):t===n?s.replace(`/${i}`,""):s.replace(i,t),N(l,a)}function k(e){if(!e)return"/";if(f.test(e))return e;let t=e;return t.endsWith(".html")||(t.endsWith("/")?t+="index.html":t+=".html"),w(t)}function N(e="/",t=""){const n=w(e),r=b(t);return n.startsWith(r)?n:`${r}${n}`}function C(e,t){return w(e).replace(b(t),"")}function D(e,t){const n=parseInt(window.getComputedStyle(e).paddingTop,10),r=window.scrollY+e.getBoundingClientRect().top-86+n;window.scrollTo((0,l.Z)({left:0,top:r},t?{behavior:"smooth"}:{}))}function E(){window.addEventListener("click",(e=>{const t=e.target.closest("a");if(t){const{origin:n,hash:r,target:a,pathname:s,search:i}=t,l=window.location;r&&"_blank"!==a&&n===l.origin&&s===l.pathname&&i===l.search&&r&&t.classList.contains("header-anchor")&&(e.preventDefault(),history.pushState(null,"",r),function(t,n,r=!1){let a=null;try{a=t.classList.contains("header-anchor")?t:document.getElementById(decodeURIComponent(n.slice(1)))}catch(e){console.warn(e)}a&&D(a,r)}(t,r,!0),window.dispatchEvent(new Event("hashchange")))}}),{capture:!0}),window.addEventListener("hashchange",(e=>{e.preventDefault()}))}function Z(){const e=document.getElementById("aside-marker"),t=document.getElementById("aside-container"),n=Array.from(document.querySelectorAll(".modern-doc .header-anchor")).filter((e=>{var t;return"H1"!==(null===(t=e.parentElement)||void 0===t?void 0:t.tagName)}));if(!t||!n.length)return;let r=null;const a=Array.from((null==t?void 0:t.getElementsByTagName("a"))||[]).map((e=>decodeURIComponent(e.hash)));if(e&&!a.length)return void(e.style.opacity="0");const s=(n,s)=>{if(n[s]){n[s].classList.add("aside-active");const i=n[s].getAttribute("href"),l=a.findIndex((e=>e===i)),c=null==t?void 0:t.querySelector(`a[href="#${null==i?void 0:i.slice(1)}"]`);c&&(r&&r.classList.remove("aside-active"),r=c,r.classList.add("aside-active"),e.style.top=33+28*l+"px",e.style.opacity="1")}},i=(0,h.Z)((()=>{if(document.documentElement.scrollTop+window.innerHeight>=document.documentElement.scrollHeight)s(n,n.length-1);else for(let e=0;e<n.length;e++){const t=n[e],r=n[e+1],a=Math.ceil(window.scrollY),i=t.parentElement.offsetTop-86;if(0===e&&a<i||0===a){s(n,0);break}if(!r){s(n,e);break}const l=r.parentElement.offsetTop-86;if(a>=i&&a<l){s(n,e);break}}}),200);return window.addEventListener("scroll",i),()=>{window.removeEventListener("scroll",i)}}function M(e){var t;const{headers:n}=e,a=n.length>0,s=(0,r.useRef)(null),l=(null===(t=n[0])||void 0===t?void 0:t.depth)||2;(0,r.useEffect)((()=>{let e;s.current&&(s.current.style.opacity="0"),setTimeout((()=>{e=Z()}),100);const t=decodeURIComponent(window.location.hash);if(t){const e=document.getElementById(t.slice(1));e&&D(e,!1)}else window.scrollTo(0,0);return()=>{e&&e()}}),[n]);return(0,i.jsx)("div",{flex:"~ col",children:(0,i.jsx)("div",{className:a?"<lg:hidden":"hidden",children:(0,i.jsxs)("div",{p:"l-4",text:"sm","font-medium":"~",id:"aside-container",style:{borderLeft:"1px solid var(--modern-c-divider-light)"},className:"relative",children:[(0,i.jsx)("div",{className:"absolute",opacity:"0",w:"1px",h:"18px",bg:"brand",ref:s,style:{top:"33px",left:"-1px",transition:"top 0.25s cubic-bezier(0, 1, 0.5, 1), background-color 0.5s, opacity 0.25s"},id:"aside-marker"}),(0,i.jsx)("div",{block:"~",className:"leading-7",text:"sm",font:"semibold",children:e.outlineTitle}),(0,i.jsx)("nav",{children:(0,i.jsx)("ul",{className:"relative",children:n.map((e=>(0,i.jsx)("li",{children:(0,i.jsx)("a",{href:`#${e.id}`,block:"~",text:"text-2",hover:"text-text-1",transition:"color duration-300",className:"leading-7",style:{fontSize:"13px",paddingLeft:12*(e.depth-l),whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},onClick:t=>{t.preventDefault(),window.location.hash=e.id;const n=document.getElementById(e.id);n&&D(n,!1)},children:e.text})},e.id)))})})]})})})}n(6080),n(5469),n(8543),n(2370),n(1864);function z(){var e,t,n;const r=s(),{lang:a}=r,i=null!==(e=null==r||null===(t=r.siteData)||void 0===t?void 0:t.themeConfig)&&void 0!==e?e:{},c=null!==(n=r.siteData.lang)&&void 0!==n?n:"",o=null==i?void 0:i.locales;if(!o||0===o.length)return{nav:i.nav,sidebar:i.sidebar,prevPageText:i.prevPageText,nextPageText:i.nextPageText};const d=o.find((e=>e.lang===a));return(0,l.Z)((0,l.Z)({},d),{},{langRoutePrefix:a===c?"/":a})}let O,L,S;const $=e=>{var t;null===(t=O)||void 0===t||t[e?"add":"remove"]("dark")},P=()=>{const e=localStorage.getItem(g)||"auto";S=window.matchMedia("(prefers-color-scheme: dark)"),$("auto"===e?S.matches:"dark"===e)};"undefined"!=typeof window&&"undefined"!=typeof localStorage&&(O=document.documentElement.classList,P());const F=()=>{var e;return null===(e=O)||void 0===e?void 0:e.contains("dark")},A=()=>("undefined"!=typeof window&&window.addEventListener("storage",P),()=>{const e=F();"undefined"!=typeof window&&"undefined"!=typeof localStorage&&($(!e),L=e?"light":"dark",localStorage.setItem(g,L))});var T=n(6677);function H(e){return e.replace(/\.html$/,"").replace(/\/index$/,"/")}function B(e="/"){return N(e,T.Z.base)}function I(e,t){return B(k(e))===B(k(t))}function R(e){return"string"==typeof e?e:F()?e.dark:e.light}var V=n(4454),W=n(1479),_=n(7841),G=n.n(_),Y="qVky9";G().configure({showSpinner:!1});const q=/^(https?:)?\/\//;function K(e){const{href:t="/",children:n,className:r=""}=e,a=q.test(t),s=a?"_blank":"",l=a?"noopener noreferrer":void 0,c=a?t:B(t),o=(0,d.s0)(),u=async e=>{e.preventDefault();const t=(0,V.fp)(W._,H(c));if(null!=t&&t.length){const e=setTimeout((()=>{G().start()}),200);await t[0].route.preload(),clearTimeout(e),G().done()}o(c,{replace:!1})};return a?(0,i.jsx)("a",{href:c,target:s,rel:l,className:`${Y} ${r}`,children:n}):(0,i.jsx)("a",{className:`${Y} ${r}`,rel:l,target:s,onClick:u,cursor:"pointer",href:c,children:n})}var Q="zPHT1",U="oflez",X="gMyXy",J="K2e43",ee="pA5H9";function te(){const{prevPage:e,nextPage:t}=function(){const{pathname:e}=(0,d.TH)(),t=z().sidebar||{},n=[];(e=>{const t=e=>{"items"in e?(e.link&&n.push({text:e.text,link:e.link}),e.items.forEach((e=>{t(e)}))):n.push(e)};Object.values(e).forEach((e=>{e.forEach((e=>{t(e)}))}))})(t);const r=n.findIndex((t=>I(B(t.link),e)));return{prevPage:n[r-1]||null,nextPage:n[r+1]||null}}(),{prevPageText:n="Previous Page",nextPageText:r="Next page"}=z();return(0,i.jsx)("footer",{m:"t-8",children:(0,i.jsxs)("div",{flex:"~ col sm:row",justify:"sm:around",gap:"2",p:"t-6",children:[(0,i.jsx)("div",{flex:"~ col",className:Q,children:e?(0,i.jsxs)(K,{href:k(e.link),className:X,children:[(0,i.jsx)("span",{className:ee,children:n}),(0,i.jsx)("span",{className:J,children:e.text})]}):null}),(0,i.jsx)("div",{flex:"~ col",className:U,children:t?(0,i.jsxs)(K,{href:k(t.link),className:`${X} ${U}`,children:[(0,i.jsx)("span",{className:ee,children:r}),(0,i.jsx)("span",{className:J,children:t.text})]}):null})]})})}n(6212),n(6182);const ne=(e,t)=>{for(const n of Object.keys(e)){if(I(B(n),t))return{group:"Documentation",items:e[n]};const r=e[n].find((e=>{const n=e=>{const r=()=>I(B(e.link),t);return"items"in e?!!r()||e.items.some((e=>n(e))):r()};return n(e)}));if(r){const t=e[n];return{group:r.text||"",items:t}}}return{group:"Documentation",items:[]}};function re(){var e;const t=null!==(e=z().sidebar)&&void 0!==e?e:{},{pathname:n}=(0,d.TH)(),[a,s]=(0,r.useState)(ne(t,n));return(0,r.useEffect)((()=>{const e=ne(t,n);s(e)}),[n,t]),a}var ae;n(1803),n(2374),n(933),n(6068);function se(){return se=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},se.apply(this,arguments)}var ie=function(e){return r.createElement("svg",se({width:"1em",height:"1em",viewBox:"0 0 32 32"},e),ae||(ae=r.createElement("path",{fill:"currentColor",d:"M22 16L12 26l-1.4-1.4l8.6-8.6l-8.6-8.6L12 6z"})))},le="WSh16",ce="Lkd4W",oe="eKj7t",de="SCFOX",ue="DO2xf",he="rHOIq",me="DYqu8";const xe={whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"};function ve(e){const{item:t,depth:n=0,activeMatcher:r,id:a,setSidebarData:s}=e,c=t.link&&r(t.link);return"items"in t?(0,i.jsx)(pe,{id:a,item:t,depth:n,activeMatcher:r,collapsed:t.collapsed,setSidebarData:s,preloadLink:e.preloadLink},`${t.text}-${a}`):(0,i.jsx)(K,{href:k(t.link),className:oe,children:(0,i.jsx)("div",{m:"t-1",p:"y-1.5 x-2",block:"~",border:"rounded-md",onMouseEnter:()=>e.preloadLink(t.link),className:c?me:de,style:(0,l.Z)((0,l.Z)({},xe),{},{fontSize:0===n?"14px":"13px"}),children:t.text})})}function pe(e){var t;const{item:n,depth:a=0,activeMatcher:s,id:c,setSidebarData:o}=e,u=(0,d.s0)(),h=(0,r.useRef)(null),m=(0,r.useRef)(null),x=(0,r.useRef)(null),v=(0,r.useRef)(!0),p=(0,r.useRef)(n.collapsed),f=n.link&&s(n.link),{collapsed:g,collapsible:j=!0}=n,w=(0,i.jsx)("div",{"cursor-pointer":"~",style:{transition:"transform 0.2s ease-out",transform:g?"rotate(0deg)":"rotate(90deg)"},children:(0,i.jsx)(ie,{})});(0,r.useEffect)((()=>{if(v.current)return;if(!h.current||!x.current)return;m.current&&clearTimeout(m.current);const e=h.current,t=x.current,n=t.clientHeight+4;g?(e.style.maxHeight=`${n}px`,e.style.transitionDuration="0.5s",t.style.opacity="0",m.current=setTimeout((()=>{h.current&&(h.current.style.maxHeight="0px")}),0)):(e.style.maxHeight=`${n}px`,e.style.transitionDuration="0.3s",t.style.opacity="1",m.current=setTimeout((()=>{h.current&&h.current.style.removeProperty("max-height")}),300))}),[g]),(0,r.useEffect)((()=>{v.current=!1}),[]);const b=e=>{e.stopPropagation(),o((e=>{const t=[...e],n=c.split("-").map(Number);let r=t[n.shift()];for(const a of n)r=r.items[a];return"items"in r&&(r.collapsed=!r.collapsed),t}))};return(0,i.jsxs)("section",{block:"~",className:"mt-1",children:[(0,i.jsxs)("div",{flex:"~",justify:"between","items-start":"~",cursor:j?"pointer":"none",className:`items-center ${f?me:j?de:he}`,onMouseEnter:()=>n.link&&e.preloadLink(n.link),onClick:e=>{n.link?(u(k(n.link)),g&&b(e)):j&&b(e)},children:[(0,i.jsx)("h2",{p:"y-1 x-2 h-8",text:"sm",font:"semibold",style:xe,children:n.text}),j&&(0,i.jsx)("div",{p:"2",className:ue,onClick:b,children:w})]}),(0,i.jsx)("div",{ref:h,className:"transition-all duration-300 ease-in-out",style:{overflow:"hidden",maxHeight:p.current?0:void 0},children:(0,i.jsx)("div",{ref:x,className:"transition-opacity duration-500 ease-in-out",style:{opacity:p.current?0:1},children:null==n||null===(t=n.items)||void 0===t?void 0:t.map(((t,n)=>(0,i.jsx)("div",{m:"l-4",children:(0,i.jsx)(ve,(0,l.Z)((0,l.Z)({},e),{},{item:t,depth:a+1,id:`${c}-${n}`,preloadLink:e.preloadLink}))},n)))})})]},c)}function fe(e){const{isSidebarOpen:t,langRoutePrefix:n,pathname:a,sidebarData:s}=e,[l,c]=(0,r.useState)(s.filter(Boolean).flat());(0,r.useEffect)((()=>{const e=new WeakMap,t=n=>{if(e.has(n))return e.get(n);if(n.link&&d(n.link))return e.set(n,!0),!0;if("items"in n){if(n.items.some((e=>t(e))))return e.set(n,!0),!0}return e.set(n,!1),!1},n=e=>{"items"in e&&(e.items.forEach(n),t(e)&&(e.collapsed=!1))};l.forEach(n),c(s.filter(Boolean).flat())}),[e.sidebarData,a]);const o=e=>e.replace(n,""),d=e=>function(e,t,n=!1){return!!t&&(n?I(e,t):I(e,t)||e.startsWith(t))}(C(o(a),T.Z.base),o(e),!0),u=e=>{const t=(0,V.fp)(W._,e);if(null!=t&&t.length){const{route:e}=t[0];e.preload()}};return(0,i.jsx)("aside",{className:`modern-scrollbar ${le} ${t?ce:""}`,children:(0,i.jsx)("div",{m:"t-1",children:(0,i.jsx)("nav",{children:l.map(((e,t)=>{var n;return(0,i.jsx)(ve,{id:String(t),item:e,depth:0,activeMatcher:d,collapsed:null===(n=e.collapsed)||void 0===n||n,setSidebarData:c,preloadLink:u},t)}))})})})}var ge;function je(){return je=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},je.apply(this,arguments)}var we=function(e){return r.createElement("svg",je({width:"1em",height:"1em",viewBox:"0 0 32 32"},e),ge||(ge=r.createElement("path",{fill:"currentColor",d:"M4 6h24v2H4zm0 18h24v2H4zm0-12h24v2H4zm0 6h24v2H4z"})))},be="htA00",ye="i_YqX",ke="xv4OW";function Ne(e){const{langRoutePrefix:t,pathname:n,sidebarData:a}=e,[s,l]=(0,r.useState)(!1);return(0,i.jsxs)(r.Fragment,{children:[(0,i.jsx)("div",{className:be,children:(0,i.jsxs)("button",{flex:"~ center",onClick:function(){l(!0)},className:ye,children:[(0,i.jsx)("div",{text:"md",m:"r-2",children:(0,i.jsx)(we,{})}),(0,i.jsx)("span",{text:"sm",children:"Menu"})]})}),(0,i.jsx)(fe,{langRoutePrefix:t,pathname:n,sidebarData:a,isSidebarOpen:s}),s?(0,i.jsx)("div",{onClick:function(){l(!1)},className:ke}):null]})}var Ce={"header-anchor":"hIraj",headerAnchor:"hIraj","overview-groups":"PYbcS",overviewGroups:"PYbcS","overview-group-li":"pc1Vm",overviewGroupLi:"pc1Vm","level-2":"N6k6V",level2:"N6k6V","overview-group":"y0LZK",overviewGroup:"y0LZK",header:"Qpm_8"};const De="Others";function Ee(){const{routePath:e,siteData:t}=s(),{pages:n}=t,a=n.filter((t=>t.routePath.startsWith(e.replace(/overview$/,""))&&t.routePath!==e)),{items:c}=re();function o(e){var t;const n=a.find((t=>I(t.routePath,B(e.link||"")))),r=e=>e.link?e.link:"items"in e?r(e.items[0]):"",s=r(e);return(0,l.Z)((0,l.Z)({},e),{},{link:s,headers:(null==n||null===(t=n.toc)||void 0===t?void 0:t.filter((e=>2===e.depth)))||[]})}const d=(0,r.useMemo)((()=>{const t=c.filter((e=>"items"in e)).map((e=>({name:e.text||"",items:e.items.map(o).filter(Boolean)}))),n=c.filter((t=>!("items"in t)&&!I(t.link||"",e)));return[...t,...n.length>0?[{name:De,items:n.map(o)}]:[]]}),[c]);return(0,i.jsxs)("div",{className:"overview-index",m:"x-auto",p:"x-8",children:[(0,i.jsx)("div",{flex:"~","align-items-center":"~",justify:"between",children:(0,i.jsx)("h1",{children:"Overview"})}),d.map((e=>(0,i.jsxs)("div",{m:"b-16",children:[e.name===De&&1===d.length?(0,i.jsx)("h2",{style:{paddingTop:0}}):(0,i.jsx)("h2",{children:e.name}),(0,i.jsx)("div",{className:Ce.overviewGroups,children:e.items.map((e=>{var t;return(0,i.jsxs)("div",{className:Ce.overviewGroup,children:[(0,i.jsx)("div",{flex:"~",children:(0,i.jsx)("h3",{style:{marginBottom:8},children:(0,i.jsx)(K,{href:k(e.link),children:e.text})})}),(0,i.jsx)("ul",{list:"none",children:null===(t=e.headers)||void 0===t?void 0:t.map((t=>(0,i.jsx)("li",{m:"first:t-2",className:`${Ce.overviewGroupLi} ${Ce[`level${t.depth}`]}`,children:(0,i.jsx)(K,{href:`${k(e.link)}#${t.id}`,children:t.text})},t.id)))})]},e.link)}))})]},e.name)))]})}const Ze=(0,r.createContext)({});var Me="xH_Uj",ze="NycN9",Oe="Attzr";const Le=()=>{const{pathname:e}=(0,d.TH)(),t=(0,V.fp)(W._,H(e));if(!t)return(0,i.jsx)("div",{});const n=t[0].route.element;return(0,i.jsx)(r.Suspense,{children:n})};function Se(e){var t,n,a;const{beforeDocFooter:l,beforeDoc:c,afterDoc:o,beforeOutline:h,afterOutline:m}=e,{toc:x=[],siteData:v,frontmatter:p}=s(),[f,g]=(0,r.useState)({}),j=x,{themeConfig:w}=v,y=z(),k=y.sidebar||[],{pathname:N}=(0,d.TH)(),{items:C}=re(),D=b(y.langRoutePrefix||""),E=!1!==(null==p?void 0:p.sidebar)&&Object.keys(k).length>0,Z=(null==y?void 0:y.outlineTitle)||(null==w?void 0:w.outlineTitle)||"ON THIS PAGE",O=j.length>0&&(null===(t=null!==(n=null==p?void 0:p.outline)&&void 0!==n?n:null==w?void 0:w.outline)||void 0===t||t),L=null!==(a=null==p?void 0:p.overview)&&void 0!==a&&a;return(0,r.useEffect)((()=>{const e=document.querySelectorAll(".modern-doc img");(0,u.Z)(e)}),[N]),(0,i.jsxs)("div",{p:"t-0",m:"md:t-14",className:ze,children:[c,E?(0,i.jsx)(Ne,{pathname:N,langRoutePrefix:D,sidebarData:C}):null,(0,i.jsxs)("div",{flex:"~ shrink-0",className:`${Oe}`,children:[(0,i.jsx)("div",{w:"full",children:L?(0,i.jsx)(Ee,{}):(0,i.jsxs)("div",{className:"modern-doc",children:[(0,i.jsx)(Ze.Provider,{value:{tabData:f,setTabData:g},children:(0,i.jsx)(Le,{})}),(0,i.jsxs)("div",{children:[l,(0,i.jsx)(te,{})]})]})}),O?(0,i.jsx)("div",{className:Me,style:{minHeight:"calc(100vh - (var(--modern-nav-height) + 32px))"},children:(0,i.jsxs)("div",{children:[h,(0,i.jsx)(M,{headers:j,outlineTitle:Z}),m]})}):null]}),o]})}var $e={button:"mlLdd",medium:"eGvPP",big:"JcYAx",brand:"QYc8D",alt:"WRLbd"};function Pe(e){var t;const{theme:n="brand",size:a="big",href:s="/",external:i=!1,className:l=""}=e;let c=null;return"button"===e.type?c="button":"a"===e.type&&(c=i?"a":K),r.createElement(null!==(t=c)&&void 0!==t?t:"a",{className:`${$e.button} ${$e[n]} ${$e[a]} ${l}`,href:s},e.text)}var Fe="w0GC1",Ae="YyQLN";const Te={name:"modern",text:"modern ssg",tagline:"modern ssg",actions:[],image:void 0};function He(){var e,t,n;const{frontmatter:r}=s(),a=(null==r?void 0:r.hero)||Te,l=void 0!==a.image;return(0,i.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,i.jsx)("div",{className:Ae,style:{left:l?"75%":"50%"}}),(0,i.jsxs)("div",{className:"max-w-1152px m-auto flex flex-col md:flex-row",children:[(0,i.jsxs)("div",{className:"flex flex-col justify-center text-center max-w-592px sm:max-w-768px m-auto order-2 md:order-1",children:[(0,i.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,i.jsx)("span",{className:Fe,style:{lineHeight:"1.15"},children:a.name})}),(null===(e=a.text)||void 0===e?void 0:e.length)&&(0,i.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 "+(l?"sm:max-w-576px":"sm:max-w-768px"),style:{lineHeight:"1.15"},children:a.text}),(0,i.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:a.tagline}),(0,i.jsx)("div",{className:"flex flex-wrap justify-center gap-3 m--1.5 pt-8 z-10",children:a.actions.map((e=>(0,i.jsx)("div",{className:"flex flex-shrink-0 p-1",children:(0,i.jsx)(Pe,{type:"a",text:e.text,href:k(e.link),theme:e.theme})},e.link)))})]}),l?(0,i.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,i.jsx)("img",{src:null===(t=a.image)||void 0===t?void 0:t.src,alt:null===(n=a.image)||void 0===n?void 0:n.alt})}):null]})]})}var Be={"grid-2":"QxfvN",grid2:"QxfvN","grid-4":"xBRav",grid4:"xBRav","grid-6":"Ew_v3",grid6:"Ew_v3","grid-3":"hAF7W",grid3:"hAF7W",featureCard:"owuiJ"};const Ie=[2,3,4];function Re(){const{frontmatter:e}=s(),t=null==e?void 0:e.features,n=(r=null==t?void 0:t.length)?Ie.includes(r)?"grid-"+12/r:r%3==0?"grid-4":r%2==0?"grid-6":"":"";var r;return(0,i.jsx)("div",{className:"max-w-1152px overflow-hidden m-auto flex flex-wrap justify-between",children:null==t?void 0:t.map((e=>{const{icon:t,title:r,details:a,link:s}=e;return(0,i.jsx)("div",{className:`${n?Be[n]:"w-full"} rounded hover:var(--modern-c-brand)`,children:(0,i.jsx)("div",{className:"h-full p-2",children:(0,i.jsxs)("article",{className:`${Be.featureCard} h-full p-8 rounded-4xl border-transparent`,style:{cursor:s?"pointer":"auto"},onClick:()=>{s&&(window.location.href=s)},children:[(0,i.jsx)("div",{className:"flex-center",children:(0,i.jsx)("div",{className:"w-12 h-12 text-3xl text-center",children:t})}),(0,i.jsx)("h2",{className:"font-bold text-center",children:r}),(0,i.jsx)("p",{className:"leading-6 pt-2 text-sm text-text-2 font-medium",children:a})]},r)})},r)}))})}var Ve,We,_e,Ge,Ye,qe,Ke,Qe,Ue,Xe="xSrUP",Je="CSfjI",et="zDdMk";function tt(e){var t;return(0,i.jsx)("button",(0,l.Z)((0,l.Z)({className:`${Xe} ${e.className}`,id:null!==(t=e.id)&&void 0!==t?t:"",type:"button",role:"switch"},e.onClick?{onClick:e.onClick}:{}),{},{children:(0,i.jsx)("span",{className:Je,children:(0,i.jsx)("span",{className:et,children:e.children})})}))}function nt(){return nt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nt.apply(this,arguments)}var rt,at=function(e){return r.createElement("svg",nt({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},e),Ve||(Ve=r.createElement("path",{d:"M12,18c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6S15.3,18,12,18zM12,8c-2.2,0-4,1.8-4,4c0,2.2,1.8,4,4,4c2.2,0,4-1.8,4-4C16,9.8,14.2,8,12,8z"})),We||(We=r.createElement("path",{d:"M12,4c-0.6,0-1-0.4-1-1V1c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,3.6,12.6,4,12,4z"})),_e||(_e=r.createElement("path",{d:"M12,24c-0.6,0-1-0.4-1-1v-2c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,23.6,12.6,24,12,24z"})),Ge||(Ge=r.createElement("path",{d:"M5.6,6.6c-0.3,0-0.5-0.1-0.7-0.3L3.5,4.9c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C6.2,6.5,5.9,6.6,5.6,6.6z"})),Ye||(Ye=r.createElement("path",{d:"M19.8,20.8c-0.3,0-0.5-0.1-0.7-0.3l-1.4-1.4c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C20.3,20.7,20,20.8,19.8,20.8z"})),qe||(qe=r.createElement("path",{d:"M3,13H1c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S3.6,13,3,13z"})),Ke||(Ke=r.createElement("path",{d:"M23,13h-2c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S23.6,13,23,13z"})),Qe||(Qe=r.createElement("path",{d:"M4.2,20.8c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C4.7,20.7,4.5,20.8,4.2,20.8z"})),Ue||(Ue=r.createElement("path",{d:"M18.4,6.6c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C18.9,6.5,18.6,6.6,18.4,6.6z"})))};function st(){return st=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},st.apply(this,arguments)}var it=function(e){return r.createElement("svg",st({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},e),rt||(rt=r.createElement("path",{d:"M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"})))},lt="nk0gt",ct="A1HSI";function ot({onClick:e}){return(0,i.jsxs)(tt,{onClick:e,children:[(0,i.jsx)(at,{className:lt}),(0,i.jsx)(it,{className:ct})]})}var dt,ut=n(2555);function ht(){return ht=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ht.apply(this,arguments)}var mt,xt=function(e){return r.createElement("svg",ht({width:"1em",height:"1em",viewBox:"0 0 32 32"},e),dt||(dt=r.createElement("path",{fill:"currentColor",d:"M16 22L6 12l1.4-1.4l8.6 8.6l8.6-8.6L26 12z"})))};function vt(){return vt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vt.apply(this,arguments)}var pt,ft=function(e){return r.createElement("svg",vt({width:32,height:32,viewBox:"0 0 32 32"},e),mt||(mt=r.createElement("path",{fill:"currentColor",d:"M10 6v2h12.59L6 24.59L7.41 26L24 9.41V22h2V6H10z"})))},gt="FwXtz",jt="UZg3B",wt="YoOiJ",bt="QFqBl",yt="SEGAO",kt="GPyuP";function Nt({item:e}){return(0,i.jsx)("div",{className:"p-1",children:(0,i.jsx)("span",{m:"r-1",text:"brand",children:e.text})})}function Ct({item:e}){return(0,i.jsx)("div",{className:"py-1",font:"medium",children:(0,i.jsx)(K,{href:e.link,children:(0,i.jsx)("div",{children:(0,i.jsxs)("div",{flex:"~",children:[(0,i.jsx)("span",{m:"r-1",children:e.text}),(0,i.jsx)(ft,{w:"11px",h:"11px",text:"text-3",m:"t-1 r-1"})]})})})})}function Dt(e){const{activeValue:t}=e,[n,a]=(0,r.useState)(!1),s=e=>t===e.text?(0,i.jsx)(Nt,{item:e},e.link):(0,i.jsx)(Ct,{item:e},e.link),l=e=>(0,i.jsxs)("div",{children:[(0,i.jsx)("p",{className:"font-bold text-gray-400 my-1 not:first:border",children:e.text}),e.items.map(s)]});return(0,i.jsxs)("div",{pos:"relative",className:`${n?jt:""} ${gt}`,children:[(0,i.jsxs)("button",{className:wt,onClick:()=>{a(!n)},children:[(0,i.jsx)("span",{className:bt,children:e.text}),(0,i.jsx)(xt,{className:`${n?jt:""} ${kt} `})]}),(0,i.jsx)("div",{children:(0,i.jsx)("div",{className:yt,children:e.items.map((e=>(0,i.jsx)("div",{children:"link"in e?s(e):l(e)},e.text)))})})]})}function Et(e){const{pathname:t,base:n,langs:r}=e,a=new RegExp(e.activeMatch||e.link).test(function(e,t){const n=new RegExp(`^\\/(${t.join("|")})`);return w(e).replace(n,"")}(function(e,t=""){return w(e).replace(b(t),"")}(t,n),r));return(0,i.jsx)("div",{text:"sm",font:"medium",m:"x-3",className:""+(a?"text-brand-dark":""),children:(0,i.jsx)(K,{href:k(e.link),children:e.text})},e.text)}function Zt(){return Zt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Zt.apply(this,arguments)}var Mt,zt=function(e){return r.createElement("svg",Zt({width:32,height:32,viewBox:"0 0 32 32"},e),pt||(pt=r.createElement("path",{fill:"currentColor",d:"M27.85 29H30l-6-15h-2.35l-6 15h2.15l1.6-4h6.85zm-7.65-6l2.62-6.56L25.45 23zM18 7V5h-7V2H9v3H2v2h10.74a14.71 14.71 0 0 1-3.19 6.18A13.5 13.5 0 0 1 7.26 9h-2.1a16.47 16.47 0 0 0 3 5.58A16.84 16.84 0 0 1 3 18l.75 1.86A18.47 18.47 0 0 0 9.53 16a16.92 16.92 0 0 0 5.76 3.84L16 18a14.48 14.48 0 0 1-5.12-3.37A17.64 17.64 0 0 0 14.8 7z"})))};function Ot(){return Ot=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ot.apply(this,arguments)}var Lt=function(e){return r.createElement("svg",Ot({width:"1em",height:"1em",viewBox:"0 0 32 32"},e),Mt||(Mt=r.createElement("path",{fill:"currentColor",d:"M16 22L6 12l1.4-1.4l8.6 8.6l8.6-8.6L26 12z"})))},St="a9VBM",$t="WIILt",Pt={discord:(0,i.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("title",{children:"Discord"}),(0,i.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,i.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("title",{children:"Facebook"}),(0,i.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,i.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("title",{children:"GitHub"}),(0,i.jsx)("path",{d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"})]}),instagram:(0,i.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("title",{children:"Instagram"}),(0,i.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,i.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("title",{children:"LinkedIn"}),(0,i.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,i.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("title",{children:"Slack"}),(0,i.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,i.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("title",{children:"Twitter"}),(0,i.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,i.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("title",{children:"YouTube"}),(0,i.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,i.jsxs)("svg",{t:"1666949308602",className:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1858","data-spm-anchor-id":"a313x.7781069.0.i5",children:[(0,i.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,i.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,i.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,i.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,i.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,i.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,i.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,i.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,i.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,i.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,i.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,i.jsx)("path",{fill:"currentColor",d:"M18.223 3.086a1.25 1.25 0 0 1 0 1.768L17.08 5.996h1.17A3.75 3.75 0 0 1 22 9.747v7.5a3.75 3.75 0 0 1-3.75 3.75H5.75A3.75 3.75 0 0 1 2 17.247v-7.5a3.75 3.75 0 0 1 3.75-3.75h1.166L5.775 4.855a1.25 1.25 0 1 1 1.767-1.768l2.652 2.652c.079.079.145.165.198.257h3.213c.053-.092.12-.18.199-.258l2.651-2.652a1.25 1.25 0 0 1 1.768 0zm.027 5.42H5.75a1.25 1.25 0 0 0-1.247 1.157l-.003.094v7.5c0 .659.51 1.199 1.157 1.246l.093.004h12.5a1.25 1.25 0 0 0 1.247-1.157l.003-.093v-7.5c0-.69-.56-1.25-1.25-1.25zm-10 2.5c.69 0 1.25.56 1.25 1.25v1.25a1.25 1.25 0 1 1-2.5 0v-1.25c0-.69.56-1.25 1.25-1.25zm7.5 0c.69 0 1.25.56 1.25 1.25v1.25a1.25 1.25 0 1 1-2.5 0v-1.25c0-.69.56-1.25 1.25-1.25z"})})};const Ft=e=>{const{link:t,popperStyle:n={}}=e,{icon:a,mode:s="link",content:c}=t,o="object"==typeof a?(0,i.jsx)("div",{dangerouslySetInnerHTML:{__html:a.svg}}):Pt[a],[d,u]=(0,r.useState)(!1),h=()=>{u(!0)},m=()=>{u(!1)};return"link"===s?(0,i.jsx)("a",{href:c,target:"_blank",rel:"noopener noreferrer",children:(0,i.jsx)("div",{className:`${St}`,children:o})},c):"text"===s?(0,i.jsxs)("div",{className:`${St}`,cursor:"pointer",pos:"relative",onMouseEnter:h,onMouseLeave:m,children:[o,d?(0,i.jsx)("div",{z:"1",p:"3",w:"50",pos:"absolute right-0",border:"rounded-xl",bg:"white",style:(0,l.Z)({boxShadow:"var(--modern-shadow-3)",border:"1px solid var(--modern-c-divider-light)"},n),children:(0,i.jsx)("div",{text:"ml",children:c})}):null]}):"img"===s?(0,i.jsxs)("div",{className:`${St}`,cursor:"pointer",pos:"relative",onMouseEnter:h,onMouseLeave:m,children:[o,d?(0,i.jsx)("div",{z:"1",p:"3",w:"50",pos:"absolute right-0",border:"rounded-xl",bg:"white",className:"break-all",style:(0,l.Z)({boxShadow:"var(--modern-shadow-3)"},n),children:(0,i.jsx)("img",{src:c,alt:"img"})}):null]}):(0,i.jsx)("div",{})},At=e=>{const{links:t,moreIconVisible:n=!1,mouseEnter:r}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{h:"full",flex:"~",gap:"x-4","align-items-center":"~",transition:"color duration-300",children:t.map(((e,t)=>(0,i.jsx)(Ft,{link:e,popperStyle:{top:"2.5rem"}},t)))}),n?(0,i.jsx)("div",{className:"ml-1",onMouseEnter:r,children:(0,i.jsx)(Lt,{})}):null]})},Tt=e=>{const{links:t}=e;return(0,i.jsx)("div",{pos:"absolute top-13 right-0",z:"1",p:"3",w:"32",border:"rounded-xl",bg:"white",style:{boxShadow:"var(--modern-shadow-3)",marginRight:"-2px",border:"1px solid var(--modern-c-divider-light)"},flex:"~ wrap",gap:"4",children:t.map((e=>(0,i.jsx)(Ft,{link:e,popperStyle:{top:"1.25rem"}},e.content)))})},Ht=({socialLinks:e})=>{const t=e.length>3,n=[],a=[];e.forEach(((e,t)=>{t<3?n.push(e):a.push(e)}));const[s,l]=(0,r.useState)(!1);return(0,i.jsxs)("div",{className:`social-links ${$t} flex-center`,pos:"relative",onMouseLeave:()=>l(!1),children:[(0,i.jsx)(At,{links:n,moreIconVisible:t,mouseEnter:()=>l(!0)}),s?(0,i.jsx)(Tt,{links:a}):null]})};var Bt={navScreen:"XAjwG",active:"dKztc",container:"VrSyn",navMenu:"YCP7r",navMenuItem:"LiNpS",navAppearance:"NeDxD",socialAndAppearance:"afhvm"};const It=({translationMenuData:e})=>(0,i.jsx)("div",{className:Bt.navTranslations,flex:"~",text:"sm",font:"bold",justify:"center",children:(0,i.jsx)("div",{m:"x-1.5 y-1",children:(0,i.jsx)(Dt,(0,l.Z)({},e))})});function Rt(e){var t;const{isScreenOpen:n,localeData:a,siteData:s,pathname:c}=e,o=(0,r.useRef)(null),d=s.themeConfig.locales||[],u=d.length>1,h=a.nav||[],m=!1!==s.themeConfig.darkMode,x=(null==s||null===(t=s.themeConfig)||void 0===t?void 0:t.socialLinks)||[],v=x.length>0,p=d.map((e=>e.lang||"zh"))||[],{base:f}=s,g=A(),j=u?{text:(0,i.jsx)(zt,{w:"18px",h:"18px"}),items:d.map((e=>({text:e.label,link:`/${e.lang}`}))),activeValue:d.find((e=>e.lang===a.lang)).label}:null,w=()=>(0,i.jsx)("div",{className:`mt-2 ${Bt.navAppearance}`,flex:"~",justify:"center",children:(0,i.jsx)(ot,{onClick:()=>{g()}})}),b=({menuItems:e})=>(0,i.jsx)("div",{className:Bt.navMenu,children:e.map(((e,t)=>(0,i.jsx)("div",{w:"full",className:Bt.navMenuItem,children:"link"in e?(0,i.jsx)(Et,(0,l.Z)({pathname:c,base:f,langs:p},e),t):(0,i.jsx)("div",{m:"x-3",last:"mr-0",children:(0,i.jsx)(Dt,(0,l.Z)((0,l.Z)({},e),{},{items:"items"in e?e.items:e}))},t)},t)))});return(0,r.useEffect)((()=>(o.current&&n&&(0,ut.Qp)(o.current,{reserveScrollBarGap:!0}),()=>{(0,ut.tP)()})),[n]),(0,i.jsx)("div",{className:`${Bt.navScreen} ${n?Bt.active:""}`,ref:o,id:"navScreen",children:(0,i.jsxs)("div",{className:Bt.container,children:[(0,i.jsx)(b,{menuItems:h}),(0,i.jsxs)("div",{className:"flex-center flex-col",children:[m&&(0,i.jsx)(w,{}),u&&(0,i.jsx)(It,{translationMenuData:j}),v&&(0,i.jsx)(Ht,{socialLinks:x})]})]})})}var Vt="eE8v3",Wt="pOzTZ",_t="aD0WQ",Gt="GwaZ7",Yt="HyMv9",qt="jC2sB";function Kt(e){const{localeData:t,siteData:n,pathname:a}=e,{isScreenOpen:s,toggleScreen:l}=function(){const[e,t]=(0,r.useState)(!1);function n(){t(!0),window.addEventListener("resize",s)}function a(){t(!1),window.removeEventListener("resize",s)}function s(){window.outerWidth>=768&&a()}return{isScreenOpen:e,openScreen:n,closeScreen:a,toggleScreen:function(){e?a():n()}}}();return(0,i.jsxs)(r.Fragment,{children:[(0,i.jsx)("button",{onClick:l,className:`${s?qt:""} ${Vt}`,children:(0,i.jsxs)("span",{className:Wt,children:[(0,i.jsx)("span",{className:_t}),(0,i.jsx)("span",{className:Gt}),(0,i.jsx)("span",{className:Yt})]})}),(0,i.jsx)(Rt,{isScreenOpen:s,localeData:t,siteData:n,pathname:a})]})}function Qt({item:e}){return(0,i.jsx)("div",{className:"rounded-md",p:"y-1.6 l-3",children:(0,i.jsx)("span",{m:"r-1",text:"brand",children:e.text})},e.link)}function Ut({item:e}){return(0,i.jsx)("div",{font:"medium",children:(0,i.jsx)(K,{href:e.link,children:(0,i.jsx)("div",{className:"rounded-md",hover:"bg-mute",p:"y-1.6 l-3 r-6",children:(0,i.jsx)("div",{flex:"~",children:(0,i.jsxs)("span",{m:"r-1",children:[e.text,(0,i.jsx)(ft,{w:"11px",h:"11px",text:"text-3",m:"t-1 r-1 l-1",className:"inline-block align-text-top"})]})})})})},e.link)}function Xt(e){const{activeValue:t,isTranslation:n,items:a}=e,[s,l]=(0,r.useState)(!1),c=e=>t===e.text?(0,i.jsx)(Qt,{item:e},e.link):(0,i.jsx)(Ut,{item:e},e.link),o=e=>(0,i.jsxs)("div",{children:[(0,i.jsx)("p",{className:"font-bold text-gray-400 my-1 not:first:border",children:e.text}),e.items.map(c)]});return(0,i.jsxs)("div",{h:"14",className:"relative",flex:"~ center",onMouseLeave:()=>l(!1),children:[(0,i.jsxs)("button",{onMouseEnter:()=>l(!0),flex:"~ center",align:"items-center",font:"medium",text:"sm text-1 hover:text-2",transition:"color duration-200",className:"nav-menu-group-button",children:[(0,i.jsx)("span",{m:"r-1",text:"sm",font:"medium",children:n?(0,i.jsx)(zt,{w:"18px",h:"18px"}):e.text}),(0,i.jsx)(xt,{})]}),(0,i.jsx)("div",{pos:"top-13 right-0",m:"x-0.8",transition:"opacity duration-300",className:"nav-menu-group-content absolute",style:{opacity:s?1:0,visibility:s?"visible":"hidden"},children:(0,i.jsx)("div",{className:"p-3 w-full h-full min-w-128px max-h-100vh rounded-xl whitespace-nowrap bg-white",style:{boxShadow:"var(--modern-shadow-3)",marginRight:"-1.5rem",zIndex:100,border:"1px solid var(--modern-c-divider-light)"},children:a.map((e=>(0,i.jsx)("div",{children:"link"in e?c(e):o(e)},e.text)))})})]})}var Jt={container:"bcLAe",rightNav:"LPoOT",navContainer:"z0Ov1","social-links-icon":"LLBTC",socialLinksIcon:"LLBTC","menu-item":"sjQjZ",menuItem:"sjQjZ",mobileNavMenu:"yd31b",mask:"dHJzp",docPage:"csOJo"};const en=({title:e,langRoutePrefix:t,logo:n})=>(0,i.jsx)("div",{className:`${Jt.navBarTitle}`,children:(0,i.jsx)("a",{href:B(t),w:"full",h:"full",text:"1rem",font:"semibold",transition:"opacity duration-300",hover:"opacity-60",className:"flex items-center",children:n?(0,i.jsx)("img",{src:n,alt:"logo",id:"logo",m:"r-4",className:"w-24 modern-doc-logo"}):(0,i.jsx)("span",{children:e})})}),tn=({translationMenuData:e})=>(0,i.jsx)("div",{flex:"~",text:"sm",font:"bold",align:"items-center",className:`translation ${Jt.menuItem}`,children:(0,i.jsx)("div",{m:"x-1.5",children:(0,i.jsx)(Xt,(0,l.Z)((0,l.Z)({},e),{},{isTranslation:!0}))})});function nn(e){var t,n,a;const{beforeNavTitle:c,afterNavTitle:o,beforeNav:u}=e,{siteData:h,lang:m,pageType:x}=s(),{logo:v,base:p}=h,[f,g]=(0,r.useState)(R(v)),{pathname:j}=(0,d.TH)(),w=!1!==h.themeConfig.darkMode,b=z(),k=Object.values(h.themeConfig.locales||{}),N=k.length>1,C=(null==h||null===(t=h.themeConfig)||void 0===t?void 0:t.socialLinks)||[],D=C.length>0,E=h.lang||"zh",Z=k.map((e=>e.lang||"zh"))||[],M=A(),O=N?{items:k.map((e=>({text:e.label,link:y(j,e.lang,E,Z,p)}))),activeValue:k.find((e=>m===e.lang)).label}:null,L=()=>(0,i.jsx)("div",{className:`${Jt.menuItem} modern-doc-appearance`,"align-items-center":"center",children:(0,i.jsx)(ot,{onClick:()=>{M(),g(R(v))}})}),S=({menuItems:e})=>(0,i.jsx)("div",{className:"menu",h:"14",children:e.map((e=>"items"in e||Array.isArray(e)?(0,i.jsx)("div",{m:"x-3",last:"mr-0",children:(0,i.jsx)(Xt,(0,l.Z)((0,l.Z)({},e),{},{items:"items"in e?e.items:e}))},e.text):(0,i.jsx)(Et,(0,l.Z)({pathname:j,langs:Z,base:p},e),e.link)))}),$=b.nav||[],P=!1!==(null==h||null===(n=h.themeConfig)||void 0===n?void 0:n.search),F=null!==(a=b.title)&&void 0!==a?a:h.title;return(0,i.jsxs)("header",{className:"top-0 left-0 relative md:fixed w-full",style:{zIndex:"var(--modern-z-index-nav)",background:"var(--modern-c-bg)"},children:[u,(0,i.jsx)("div",{className:`${Jt.mask}\n ${"doc"===x?Jt.docPage:""}`}),(0,i.jsx)("div",{className:`${Jt.navContainer} modern-doc-nav`,p:"x-6",children:(0,i.jsxs)("div",{flex:"~",justify:"between",align:"items-center",h:"full",className:`${Jt.container}`,children:[c,(0,i.jsx)(en,{title:F,langRoutePrefix:b.langRoutePrefix||"/",logo:f}),o,(0,i.jsxs)("div",{className:Jt.content,flex:"~ 1",justify:"end","align-items-center":"~",children:[(0,i.jsxs)("div",{className:Jt.rightNav,children:[P&&(0,i.jsx)("div",{flex:"~ sm:1",items:"center",p:"sm:l-4 sm:r-2",children:(0,i.jsx)(Zr,{})}),(0,i.jsx)(S,{menuItems:$}),(0,i.jsxs)("div",{className:"flex-center flex-row",children:[N&&(0,i.jsx)(tn,{translationMenuData:O}),w&&(0,i.jsx)(L,{}),D&&(0,i.jsx)(Ht,{socialLinks:C})]})]}),(0,i.jsxs)("div",{className:Jt.mobileNavMenu,children:[(0,i.jsx)(Kt,{localeData:b,siteData:h,pathname:j}),(0,i.jsx)(Zr,{})]})]})]})})]})}var rn=n(2215),an=n(3643),sn=(n(3021),n(7533),n(1850)),ln=n(8104),cn=n(9097),on="BKnKN",dn="Xd0ob",un="sR6MT";const hn=["children"];const mn=e=>function(e){return!(!e||"object"!=typeof e||!("label"in e))}(e)?e.label||e.value:e;function xn(e){const{values:t,defaultValue:n,onChange:a,children:s,groupId:c,tabContainerClassName:o}=e;let d=t||[];0===d.length&&(d=s.map((e=>{var t,n,r;return{label:null===(t=e.props)||void 0===t?void 0:t.label,value:(null===(n=e.props)||void 0===n?void 0:n.value)||(null===(r=e.props)||void 0===r?void 0:r.label)}})));const{tabData:u,setTabData:h}=(0,r.useContext)(Ze);let m=0;const x=c&&void 0!==u[c];return x?m=u[c]:n&&(m=d.findIndex((e=>"string"==typeof e?e===n:!(!e||"object"!=typeof e||!("value"in e))&&e.value===n))),(0,i.jsxs)(cn.O.Group,(0,l.Z)((0,l.Z)({onChange:e=>{null==a||a(e),c&&h((0,l.Z)((0,l.Z)({},u),{},{[c]:e}))}},x?{selectedIndex:m}:{defaultIndex:m}),{},{children:[(0,i.jsx)("div",{className:o||"",children:(0,i.jsx)(cn.O.List,{className:"mt-4 flex w-max min-w-full border-b border-gray-200 dark:border-dark-200",children:d.map(((e,t)=>{const n=Boolean(e&&"object"==typeof e&&"disabled"in e&&e.disabled);return(0,i.jsx)(cn.O,{disabled:n,className:({selected:e})=>`${on} ${e?un:dn}`,children:mn(e)},t)}))})}),(0,i.jsx)(cn.O.Panels,{children:s})]}))}function vn(e){let{children:t}=e,n=(0,ln.Z)(e,hn);return(0,i.jsx)(cn.O.Panel,(0,l.Z)((0,l.Z)({},n),{},{className:"rounded pt-4",children:t}))}var pn,fn={mask:"EYta0",modal:"oezc2",inputForm:"HLuHQ",input:"vyAI5",close:"QlJZb",searchHits:"P4P7P",groupTitle:"fOKRX",navSearchButton:"B7xTH",searchWord:"JFbLy",suggestItem:"BjaHS",suggestItemContainer:"P3cjR",contentWrapper:"gCuYo",mark:"HTpBZ",titleForContent:"Olght",actionIcon:"rGP9R",current:"EE0Uj",tabClassName:"ugebZ",mobileNavSearchButton:"cqbI7"};function gn(){return gn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gn.apply(this,arguments)}var jn,wn=function(e){return r.createElement("svg",gn({width:24,height:24,viewBox:"0 0 32 32"},e),pn||(pn=r.createElement("path",{fill:"var(--modern-c-gray)",d:"m29 27.586l-7.552-7.552a11.018 11.018 0 1 0-1.414 1.414L27.586 29ZM4 13a9 9 0 1 1 9 9a9.01 9.01 0 0 1-9-9Z"})))};function bn(){return bn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bn.apply(this,arguments)}var yn,kn=function(e){return r.createElement("svg",bn({width:32,height:32,viewBox:"0 0 24 24"},e),jn||(jn=r.createElement("g",{fill:"none",stroke:"var(--modern-c-brand)",strokeLinecap:"round",strokeWidth:2},r.createElement("path",{strokeDasharray:60,strokeDashoffset:60,strokeOpacity:.3,d:"M12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3Z"},r.createElement("animate",{fill:"freeze",attributeName:"stroke-dashoffset",dur:"1.3s",values:"60;0"})),r.createElement("path",{strokeDasharray:15,strokeDashoffset:15,d:"M12 3C16.9706 3 21 7.02944 21 12"},r.createElement("animate",{fill:"freeze",attributeName:"stroke-dashoffset",dur:"0.3s",values:"15;0"}),r.createElement("animateTransform",{attributeName:"transform",dur:"1.5s",repeatCount:"indefinite",type:"rotate",values:"0 12 12;360 12 12"})))))};function Nn(){return Nn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Nn.apply(this,arguments)}var Cn=function(e){return r.createElement("svg",Nn({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 32 32"},e),yn||(yn=r.createElement("path",{fill:"currentColor",d:"M24 9.4L22.6 8L16 14.6L9.4 8L8 9.4l6.6 6.6L8 22.6L9.4 24l6.6-6.6l6.6 6.6l1.4-1.4l-6.6-6.6L24 9.4z"})))},Dn=n(2126),En=n(6616),Zn=n(1502),Mn=n(3248),zn=n(2083),On=n(8305);n(3159),n(5857),n(5032);const Ln="LOCAL_INDEX";n(5120);function Sn(e,t){let n=e[t],r=t;const a=[n];for(;n&&n.depth>2;){let t=!1;for(let s=r-1;s>=0;s--){const i=e[s];if(i.depth>1&&i.depth===n.depth-1){n=i,r=s,a.unshift(n),t=!0;break}}if(!t)break}return a}function $n(e){return e.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"")}var Pn=n(5653),Fn=n.n(Pn),An=n(8541);const Tn=/[\|\u3131-\u3163\uAC00-\uD7A3]|[\u3400-\u4DB5\u4E00-\u9FCC\uFA0E\uFA0F\uFA11\uFA13\uFA14\uFA1F\uFA21\uFA23\uFA24\uFA27-\uFA29]|(?:[\uD840-\uD868](?![\uDC00-\uDFFF]))(?:(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])|(?:\uD869(?![\uDC00-\uDFFF]))(?:(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDED6\uDF00-\uDFFF])|(?:[\uD86A-\uD86C](?![\uDC00-\uDFFF]))(?:(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])|(?:\uD86D(?![\uDC00-\uDFFF]))(?:(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDF34\uDF40-\uDFFF])|(?:\uD86E(?![\uDC00-\uDFFF]))(?:(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDC1D])|[\u3041-\u3096]|[\u30A1-\u30FA]/gi;var Hn=new WeakMap,Bn=new WeakMap,In=new WeakSet;class Rn{constructor(){(0,Dn.Z)(this,In),(0,En.Z)(this,Hn,{writable:!0,value:void 0}),(0,En.Z)(this,Bn,{writable:!0,value:void 0})}async init(e){const{currentLang:t}=e,n=(await(0,Zn.Z)(this,In,Vn).call(this)).filter((e=>e.lang===t)).map((e=>(0,l.Z)((0,l.Z)({},e),{},{normalizedContent:$n(e.content),headers:e.toc.map((e=>$n(e.text))).join(" "),normalizedTitle:$n(e.title)}))),r={tokenize:"full",async:!0,doc:{id:"routePath",field:["normalizedTitle","headers","normalizedContent"]},cache:100,split:/\W+/};(0,zn.Z)(this,Hn,Fn().create(r)),(0,zn.Z)(this,Bn,Fn().create((0,l.Z)((0,l.Z)({},r),{},{tokenize(e){const t=[];let n=null;do{n=Tn.exec(e),n&&t.push(n[0])}while(n);return t}}))),(0,Mn.Z)(this,Hn).add(n),(0,Mn.Z)(this,Bn).add(n)}async search(e){var t,n;const{keyword:r,limit:a}=e,s={query:r,limit:a,field:["normalizedTitle","headers","normalizedContent"]},i=(await Promise.all([null===(t=(0,Mn.Z)(this,Hn))||void 0===t?void 0:t.search(s),null===(n=(0,Mn.Z)(this,Bn))||void 0===n?void 0:n.search(s)])).flat(2).filter(Boolean);return[{index:Ln,hits:i}]}}async function Vn(){return(await fetch(`/module-tools/static/search_index.${An.Z}.json`)).json()}var Wn=new WeakMap;class _n{constructor(){(0,En.Z)(this,Wn,{writable:!0,value:void 0})}async init(e){(0,zn.Z)(this,Wn,e)}async search(e){const{apiUrl:t,searchIndexes:n}=(0,Mn.Z)(this,Wn),{keyword:r,limit:a}=e,s=(i={keyword:r,limit:a.toString(),searchIndexes:(null==n?void 0:n.map((e=>"string"==typeof e?e:e.value)).join(","))||"",lang:(0,Mn.Z)(this,Wn).currentLang},Object.entries(i).map((e=>e.map(encodeURIComponent).join("="))).join("&"));var i;try{return(await fetch(`${t}?${s}`)).json()}catch(l){return console.error(l),[]}}}var Gn,Yn,qn,Kn,Qn=new WeakMap,Un=new WeakMap,Xn=new WeakMap,Jn=new WeakSet,er=new WeakSet,tr=new WeakSet,nr=new WeakSet,rr=new WeakSet,ar=new WeakSet;class sr{constructor(e){if((0,Dn.Z)(this,ar),(0,Dn.Z)(this,rr),(0,Dn.Z)(this,nr),(0,Dn.Z)(this,tr),(0,Dn.Z)(this,er),(0,Dn.Z)(this,Jn),(0,En.Z)(this,Qn,{writable:!0,value:void 0}),(0,En.Z)(this,Un,{writable:!0,value:Ln}),(0,En.Z)(this,Xn,{writable:!0,value:void 0}),(0,zn.Z)(this,Qn,e),"remote"===e.mode)(0,zn.Z)(this,Xn,new _n),(0,zn.Z)(this,Un,e.indexName);else(0,zn.Z)(this,Xn,new Rn)}async init(){var e;await(null===(e=(0,Mn.Z)(this,Xn))||void 0===e?void 0:e.init((0,Mn.Z)(this,Qn)))}async match(e,t=7){var n;const r=await(null===(n=(0,Mn.Z)(this,Xn))||void 0===n?void 0:n.search({keyword:e,limit:t})),a=$n(e),s=(null==r?void 0:r.find((e=>(0,Zn.Z)(this,ar,ur).call(this,e.index))))||{index:Ln,hits:[]};return{current:(0,Zn.Z)(this,Jn,ir).call(this,a,s),others:((null==r?void 0:r.filter((e=>!(0,Zn.Z)(this,ar,ur).call(this,e.index))))||[]).map((e=>({index:e.index,items:(0,Zn.Z)(this,Jn,ir).call(this,a,e)})))}}}function ir(e,t){const n=[];null==t||t.hits.forEach((t=>{(0,Zn.Z)(this,er,lr).call(this,t,e,n);(0,Zn.Z)(this,tr,cr).call(this,t,e,n)||(0,Zn.Z)(this,nr,or).call(this,t,e,n)}));return(0,On.Z)(n,"link")}function lr(e,t,n){const{title:r}=e,a=$n(r);return!!a.includes(t)&&(n.push({type:"title",title:r,header:r,link:`${e.domain}${k(e.routePath)}`,query:t,highlightIndex:a.indexOf(t),group:(0,Mn.Z)(this,Qn).extractGroupName(e.routePath)}),!0)}function cr(e,t,n){const{toc:r,domain:a="",title:s}=e;for(const[i,l]of r.entries()){if($n(l.text).includes(t)){const c=Sn(r,i).map((e=>e.text)).join(" > "),o=$n(c).indexOf(t),d=`${s} > `;return n.push({type:"header",title:e.title,header:`${d}${c}`,highlightIndex:d.length+Number(o),link:`${a}${k(e.routePath)}#${l.id}`,query:t,group:(0,Mn.Z)(this,Qn).extractGroupName(e.routePath)}),!0}}return!1}function or(e,t,n){var r;const{content:a,toc:s,domain:i}=e,l=$n(a),c=l.indexOf(t);if(-1===c)return;const o=s.map((e=>l.indexOf($n(e.text)))),d=o.findIndex(((e,t)=>{if(!(t<s.length-1))return e<c;{const n=o[t+1];if(e<=c&&n>=c)return!0}return!1})),u=null!==(r=s[d])&&void 0!==r?r:e.title;let h=a.slice(0,c).lastIndexOf("\n");h=-1===h?0:h;const m=a.indexOf("\n",c+t.length);let x=a.slice(h,m);x.length>100&&(x=(0,Zn.Z)(this,rr,dr).call(this,x,t)),n.push({type:"content",title:e.title,header:u.text,statement:x,highlightIndex:$n(x).indexOf(t),link:`${i}${k(e.routePath)}#${u.id}`,query:t,group:(0,Mn.Z)(this,Qn).extractGroupName(e.routePath)})}function dr(e,t){const n=e.indexOf(t),r=Math.floor((100-t.length)/2);let a=e.slice(0,n);a.length>r&&(a=`...${e.slice(n-r+3,n)}`);let s=e.slice(n+t.length);return s.length>r&&(s=`${e.slice(n+t.length,n+r-3)}...`),a+t+s}function ur(e){return e===(0,Mn.Z)(this,Un)||e===Ln}function hr(){return hr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},hr.apply(this,arguments)}var mr;function xr(){return xr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xr.apply(this,arguments)}var vr,pr=function(e){return r.createElement("svg",xr({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 32 32"},e),mr||(mr=r.createElement("path",{fill:"currentColor",d:"M13.414 17.586L18 22.172V8H8V6h10a2.002 2.002 0 0 1 2 2v14.172l4.586-4.586L26 19l-7 7l-7-7Z"})))};function fr(){return fr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fr.apply(this,arguments)}var gr;function jr(){return jr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jr.apply(this,arguments)}const wr={title:function(e){return r.createElement("svg",jr({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24"},e),gr||(gr=r.createElement("path",{fill:"currentColor",d:"M4 4a2 2 0 0 1 2-2h8a1 1 0 0 1 .707.293l5 5A1 1 0 0 1 20 8v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4zm13.586 4L14 4.414V8h3.586zM12 4H6v16h12V10h-5a1 1 0 0 1-1-1V4z"})))},header:function(e){return r.createElement("svg",fr({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 32 32"},e),vr||(vr=r.createElement("path",{fill:"currentColor",d:"M28 12v-2h-6V4h-2v6h-8V4h-2v6H4v2h6v8H4v2h6v6h2v-6h8v6h2v-6h6v-2h-6v-8Zm-8 8h-8v-8h8Z"})))},content:function(e){return r.createElement("svg",hr({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 32 32"},e),Gn||(Gn=r.createElement("circle",{cx:22,cy:24,r:2,fill:"currentColor"})),Yn||(Yn=r.createElement("path",{fill:"none",d:"M22 28a4 4 0 1 1 4-4a4.004 4.004 0 0 1-4 4Zm0-6a2 2 0 1 0 2 2a2.003 2.003 0 0 0-2-2Z"})),qn||(qn=r.createElement("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-4a4.005 4.005 0 0 1-4 4Z"})),Kn||(Kn=r.createElement("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.6l5.6 5.6H18Z"})))}};function br({suggestion:e,closeSearch:t,isCurrent:n,setCurrentSuggestionIndex:r,inCurrentDocIndex:a}){const s=wr[e.type],{query:l}=e,c=e.link,o=()=>{if("content"!==e.type)return(0,i.jsx)("div",{});const{highlightIndex:t,statement:n}=e,r=n.slice(0,t),a=n.slice(t,t+l.length),s=n.slice(t+l.length);return(0,i.jsxs)("div",{text:"sm gray-light",w:"full",children:[(0,i.jsx)("span",{children:r}),(0,i.jsx)("span",{className:fn.mark,children:a}),(0,i.jsx)("span",{children:s})]})};let d=null;switch(e.type){case"title":case"header":d=(()=>{if("header"===e.type||"title"===e.type){const{header:t,highlightIndex:n}=e,r=t.slice(0,n),a=t.slice(n,n+l.length),s=t.slice(n+l.length);return(0,i.jsxs)("div",{font:"medium",children:[(0,i.jsx)("span",{children:r}),(0,i.jsx)("span",{className:fn.mark,children:a}),(0,i.jsx)("span",{children:s})]})}return(0,i.jsx)("div",{font:"medium",children:e.header})})();break;case"content":d=(0,i.jsxs)(i.Fragment,{children:[o(),(0,i.jsx)("p",{className:fn.titleForContent,children:e.title})]})}return(0,i.jsx)("li",{className:`${fn.suggestItem} ${n?fn.current:""}`,onMouseEnter:r,children:(0,i.jsx)("a",{href:c,onClick:e=>{t(),e.stopPropagation()},target:a?"_self":"_blank",children:(0,i.jsxs)("div",{className:fn.suggestItemContainer,children:[(0,i.jsx)("div",{className:fn.hitIcon,children:(0,i.jsx)(s,{})}),(0,i.jsx)("div",{className:fn.contentWrapper,children:(0,i.jsx)("span",{children:d})}),(0,i.jsx)("div",{className:fn.actionIcon,children:(0,i.jsx)(pr,{})})]})})},e.link)}const yr="ArrowUp",kr="ArrowDown",Nr="Enter",Cr="KeyK",Dr="Escape",Er={zh:"\u5176\u5b83\u7ad9\u70b9\u63a8\u8350\u7ed3\u679c",en:"Other Site Search Results"};function Zr(){const[e,t]=(0,r.useState)(""),[n,a]=(0,r.useState)({current:[],others:[]}),[c,o]=(0,r.useState)(!1),d=(0,r.useRef)(null),[u,h]=(0,r.useState)(!1),[m,x]=(0,r.useState)(0),v=(0,r.useRef)(null),{siteData:p,lang:f}=s(),{sidebar:g}=z(),{search:j}=p,w=[...n.current,...n.others.map((e=>e.items))].flat(),b=e=>ne(g,e).group;async function y(){if(!1===j)return;const e=new sr((0,l.Z)((0,l.Z)({},j),{},{currentLang:f,extractGroupName:b}));v.current=e,await v.current.init()}(0,r.useEffect)((()=>{const e=e=>{switch(e.code){case Cr:(e.ctrlKey||e.metaKey)&&(e.preventDefault(),o(!c));break;case kr:e.preventDefault(),x((m+1)%w.length);break;case yr:e.preventDefault(),x((m-1+w.length)%w.length);break;case Nr:if(m>=0){const e=w[m];m<n.current.length?(window.location.href=e.link,o(!1)):window.open(e.link)}break;case Dr:o(!1)}};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[x,o,w,m]),(0,r.useEffect)((()=>{c&&(a({current:[],others:[]}),v.current||y())}),[c]),(0,r.useEffect)((()=>{c&&y()}),[f]);let k=-1;const N=(e,t=!0)=>{if(0===e.length)return(0,i.jsx)("div",{flex:"~ center",className:"mt-4",children:(0,i.jsx)("div",{p:"2",font:"bold",text:"md #2c3e50",children:"No results found"})});const r=(e=>(0,an.Z)(e,"group"))(e);return(0,i.jsx)("ul",{className:fn.suggestList,children:Object.keys(r).map((e=>{const a=r[e]||[];return(0,i.jsxs)("li",{children:[t&&(0,i.jsx)("h2",{className:fn.groupTitle,children:e}),(0,i.jsx)("ul",{children:a.map((e=>{k++;const t=k;return(0,i.jsx)(br,{suggestion:e,isCurrent:t===m,setCurrentSuggestionIndex:()=>{x(t)},closeSearch:()=>o(!1),inCurrentDocIndex:t<n.current.length},e.link)}))})]},e)}))})};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:fn.navSearchButton,onClick:()=>o(!0),children:(0,i.jsxs)("button",{children:[(0,i.jsx)(wn,{width:"18",hight:"18"}),(0,i.jsx)("p",{className:fn.searchWord,children:"Search"}),(0,i.jsxs)("div",{children:[(0,i.jsx)("span",{children:"\u2318"}),(0,i.jsx)("span",{children:"K"})]})]})}),(0,i.jsx)("div",{className:fn.mobileNavSearchButton,onClick:()=>o(!0),children:(0,i.jsx)(wn,{})}),c&&(0,sn.createPortal)((0,i.jsx)("div",{className:fn.mask,onClick:()=>o(!1),children:(0,i.jsxs)("div",{className:`${fn.modal}`,onClick:e=>{o(!0),e.stopPropagation()},children:[(0,i.jsxs)("div",{className:"flex items-center",children:[(0,i.jsxs)("div",{className:fn.inputForm,children:[(0,i.jsx)("label",{children:(0,i.jsx)(wn,{})}),(0,i.jsx)("input",{className:fn.input,ref:d,placeholder:"Search Docs","aria-label":"Search",autoComplete:"off",autoFocus:!0,onChange:(0,rn.Z)((async e=>{var n;const r=e.target.value;t(r),h(!0);const s=await(null===(n=v.current)||void 0===n?void 0:n.match(r));h(!1),a(s||{current:[],others:[]})}),150)}),(0,i.jsx)("label",{children:(0,i.jsx)(Cn,{className:fn.close,onClick:()=>{d.current&&(d.current.value="")}})})]}),(0,i.jsx)("h2",{className:"text-brand ml-2 sm:hidden cursor-pointer",onClick:e=>{e.stopPropagation(),o(!1)},children:"Cancel"})]}),e&&w.length?(0,i.jsx)("div",{className:`${fn.searchHits} modern-scrollbar`,children:((e,t)=>{const r=n.others.map((e=>e.items)).flat().length>0,a=e.others.map((e=>{if(!t||"remote"!==t.mode)return e;const n=(r=t.searchIndexes||[],r.map((e=>"string"==typeof e?{value:e,label:e}:e))).find((t=>t.value===e.index));var r;return n.label}));return(0,i.jsxs)("div",{children:[N(e.current),r&&(0,i.jsx)("h2",{className:fn.groupTitle,children:Er[f]}),(0,i.jsx)("div",{style:{marginTop:"-12px"},children:(0,i.jsx)(xn,{values:a,tabContainerClassName:fn.tabClassName,children:e.others.map((e=>(0,i.jsx)(vn,{children:N(e.items,!1)},e.index)))})})]})})(n,j)}):null,u&&(0,i.jsx)("div",{flex:"~ center",children:(0,i.jsx)("div",{p:"2",text:"sm",children:(0,i.jsx)(kn,{})})})]})}),document.getElementById("search-container"))]})}function Mr(){const{siteData:e}=s(),{message:t}=e.themeConfig.footer||{};return(0,i.jsx)("footer",{m:"t-12",p:"y-8 x-6 sm:8",w:"full",border:"t-1 b-0 solid divider-light",className:"absolute bottom-0",children:(0,i.jsx)("div",{m:"auto",w:"full",text:"center",children:t&&(0,i.jsx)("div",{font:"medium",text:"sm text-2",children:t})})})}var zr={Layout:e=>{var t;const{top:n,bottom:r,beforeDocFooter:a,beforeDoc:d,afterDoc:u,beforeOutline:h,afterOutline:m,beforeNavTitle:x,afterNavTitle:v,beforeNav:p}=e,f={beforeDocFooter:a,beforeDoc:d,afterDoc:u,beforeOutline:h,afterOutline:m},{title:g,frontmatter:j,siteData:w,pageType:b}=s(),y=z();let k=null!==(t=null==j?void 0:j.title)&&void 0!==t?t:g;const N=w.title||y.title;k=k&&"doc"===b?`${k} - ${N}`:N;const C=(null==j?void 0:j.description)||w.description||y.description;return(0,i.jsxs)("div",{children:[(0,i.jsxs)(c.ql,{children:[k?(0,i.jsx)("title",{children:k}):null,C?(0,i.jsx)("meta",{name:"description",content:C}):null]}),n,(0,i.jsx)(nn,{beforeNavTitle:x,afterNavTitle:v,beforeNav:p}),(0,i.jsx)("section",{children:(()=>{switch(b){case"home":return(0,i.jsx)(zr.HomeLayout,{});case"doc":default:return(0,i.jsx)(Se,(0,l.Z)({},f));case"404":return(0,i.jsx)(zr.NotFoundLayout,{});case"custom":return(0,i.jsx)(Le,{})}})()}),r,o.Z.map(((e,t)=>(0,i.jsx)(e,{},t)))]})},NotFoundLayout:function(){const{siteData:e}=s(),t=e.lang;if(t&&location.pathname.includes(`/${t}/`)&&"undefined"!=typeof window){const e=location.pathname.replace(`/${t}/`,"/");return window.location.replace(e),(0,i.jsx)(i.Fragment,{})}return(0,i.jsxs)("div",{m:"auto t-50",p:"t-16 x-6 b-24 sm:t-24 x-8 b-40",text:"center",flex:"center col",children:[(0,i.jsx)("p",{text:"6xl",font:"semibold",children:"404"}),(0,i.jsx)("h1",{p:"t-3",text:"xl",className:"leading-5",font:"bold",children:"PAGE NOT FOUND"}),(0,i.jsx)("div",{m:"t-6 x-auto b-4.5",w:"16",style:{height:"1px"},bg:"gray-light-1"}),(0,i.jsx)("div",{p:"t-5",children:(0,i.jsx)("a",{"inline-block":"~",border:"1px solid brand",className:"rounded-2xl",p:"y-2 x-4",text:"sm brand","font-medium":"~",transition:"border-color duration-300 color duration-300",hover:"border-color-brand-dark color-brand-dark",href:e.base,"aria-label":"go to home",children:"Take me home"})})]})},HomeLayout:function(e){const{beforeHero:t,afterHero:n,beforeFeatures:r,afterFeatures:a}=e;return(0,i.jsxs)("div",{className:"relative",style:{background:"var(--modern-home-bg)",minHeight:"calc(100vh - var(--modern-nav-height))",paddingBottom:"80px"},children:[(0,i.jsxs)("div",{className:"mt-14 pb-12",children:[t,(0,i.jsx)(He,{}),n,r,(0,i.jsx)(Re,{}),a]}),(0,i.jsx)(Mr,{})]})},setup:function(){"undefined"!=typeof window&&(E(),function(){const e=new Map;window.addEventListener("click",(t=>{const n=t.target;if(n.matches('div[class*="language-"] .modern-code-content > button.copy')){const t=n.parentElement,r=n.nextElementSibling;if(!t||!r)return;const{innerText:a=""}=r;if(x()(a)){n.classList.add("copied"),clearTimeout(e.get(n));const t=setTimeout((()=>{n.classList.remove("copied"),n.blur(),e.delete(n)}),2e3);e.set(n,t)}}}))}())}},Or=n(417),Lr=n(6482);async function Sr(e){const t=(0,V.fp)(W._,e);if(t){var n;const r=t[0].route,a=await r.preload(),s=j(t[0].route.filePath),i=((e,t,n)=>{const r=t.split(".").pop();let a=j(e);return a.startsWith(n)&&(a=a.slice(n.length)),r&&(a+=`.${r}`),a.replace(/^\//,"")})(e,s,(null===T.Z||void 0===T.Z?void 0:T.Z.base)||"/");return(0,l.Z)((0,l.Z)({siteData:T.Z,pagePath:s,relativePagePath:i},((e,t)=>{const n=(0,l.Z)({},e);for(const r of t)delete n[r];return n})(a,["default"])),{},{pageType:(null==a||null===(n=a.frontmatter)||void 0===n?void 0:n.pageType)||"doc",routePath:e,lang:r.lang})}return{siteData:T.Z,pagePath:"",relativePagePath:"",pageType:"404",routePath:"/404",lang:T.Z.lang||""}}function $r({helmetContext:e}){const{setData:t}=(0,r.useContext)(a),{pathname:n}=(0,d.TH)();return(0,r.useLayoutEffect)((()=>{!async function(){try{const e=await Sr(H(n));t(e)}catch(e){console.log(e)}}()}),[n,t]),(0,i.jsx)(c.B6,{context:e,children:(0,i.jsx)(zr.Layout,{})})}(async function(){const e=document.getElementById("root"),t=await(async()=>{const e=await Sr(H(window.location.pathname));return function(){const[t,n]=(0,r.useState)(e);return(0,i.jsx)(a.Provider,{value:{data:t,setData:n},children:(0,i.jsx)(Lr.VK,{children:(0,i.jsx)($r,{})})})}})();(0,Or.a)(e,(0,i.jsx)(t,{}))})().then((()=>{zr.setup()}))}},function(e){e.O(0,[2986,7991,8193,4651,9061],(function(){return t=8030,e(e.s=t);var t}));e.O()}]);