From 3eb5d78882b8f7ba6986e2ff8a9b40e3879d59c2 Mon Sep 17 00:00:00 2001 From: abgox Date: Sat, 20 Jul 2024 10:23:10 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20pages=20from=20@=20abgox/PSCom?= =?UTF-8?q?pletions@deb945a2c47a25e1f8705319928e60f70371f0dd=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 404.html | 4 +- README-CN.md | 2 +- README.md | 2 +- assets/{app.DDq7iQmo.js => app.DrMxEDCJ.js} | 2 +- .../chunks/@localSearchIndexen-US.Dx09-TZx.js | 2 +- .../chunks/@localSearchIndexzh-CN.DSk1Alg2.js | 1 + .../chunks/@localSearchIndexzh-CN.DmnVHwnH.js | 1 - .../chunks/VPLocalSearchBox.2xWSu_6i.js | 4 +- ...work.DB6FXu2X.js => framework.B_akP0Gx.js} | 12 +- .../chunks/theme.CvjxxwCL.js | 4 +- ....js => en-US_command_index.md.BcfYYpex.js} | 2 +- ...> en-US_command_index.md.BcfYYpex.lean.js} | 2 +- ... => en-US_completion_index.md.BfszwC9v.js} | 2 +- ...n-US_completion_index.md.BfszwC9v.lean.js} | 2 +- ... => en-US_contribute_index.md.CZkuqYql.js} | 2 +- ...en-US_contribute_index.md.CZkuqYql.lean.js | 2 +- ...C8sqqHFW.js => en-US_index.md.BB8a14k1.js} | 2 +- ...ean.js => en-US_index.md.BB8a14k1.lean.js} | 2 +- ....js => zh-CN_command_index.md.BNQJ4qKY.js} | 2 +- ...> zh-CN_command_index.md.BNQJ4qKY.lean.js} | 2 +- ... => zh-CN_completion_index.md.j7b7p8SA.js} | 2 +- ...h-CN_completion_index.md.j7b7p8SA.lean.js} | 2 +- ... => zh-CN_contribute_index.md.jyh4Tg9u.js} | 2 +- ...h-CN_contribute_index.md.jyh4Tg9u.lean.js} | 2 +- ...93AZYhFN.js => zh-CN_index.md.DhCVGxik.js} | 2 +- ...ean.js => zh-CN_index.md.DhCVGxik.lean.js} | 2 +- completions/git/guid.txt | 2 +- completions/git/hooks.ps1 | 15 +- completions/git/language/en-US.json | 30 +- completions/git/language/zh-CN.json | 32 +- completions/pdm/guid.txt | 2 +- completions/pdm/language/en-US.json | 8 +- completions/psc/guid.txt | 2 +- completions/psc/language/en-US.json | 26 +- completions/psc/language/zh-CN.json | 26 +- docs/.vitepress/dist/404.html | 4 +- .../{app.DDq7iQmo.js => app.DrMxEDCJ.js} | 2 +- .../chunks/@localSearchIndexen-US.Dx09-TZx.js | 2 +- .../chunks/@localSearchIndexzh-CN.DSk1Alg2.js | 1 + .../chunks/@localSearchIndexzh-CN.DmnVHwnH.js | 1 - .../chunks/VPLocalSearchBox.2xWSu_6i.js | 4 +- ...work.DB6FXu2X.js => framework.B_akP0Gx.js} | 12 +- .../dist/assets/chunks/theme.CvjxxwCL.js | 4 +- ....js => en-US_command_index.md.BcfYYpex.js} | 2 +- ...> en-US_command_index.md.BcfYYpex.lean.js} | 2 +- ... => en-US_completion_index.md.BfszwC9v.js} | 2 +- ...n-US_completion_index.md.BfszwC9v.lean.js} | 2 +- ... => en-US_contribute_index.md.CZkuqYql.js} | 2 +- ...en-US_contribute_index.md.CZkuqYql.lean.js | 2 +- ...C8sqqHFW.js => en-US_index.md.BB8a14k1.js} | 2 +- ...ean.js => en-US_index.md.BB8a14k1.lean.js} | 2 +- ....js => zh-CN_command_index.md.BNQJ4qKY.js} | 2 +- ...> zh-CN_command_index.md.BNQJ4qKY.lean.js} | 2 +- ... => zh-CN_completion_index.md.j7b7p8SA.js} | 2 +- ...h-CN_completion_index.md.j7b7p8SA.lean.js} | 2 +- ... => zh-CN_contribute_index.md.jyh4Tg9u.js} | 2 +- ...h-CN_contribute_index.md.jyh4Tg9u.lean.js} | 2 +- ...93AZYhFN.js => zh-CN_index.md.DhCVGxik.js} | 2 +- ...ean.js => zh-CN_index.md.DhCVGxik.lean.js} | 2 +- docs/.vitepress/dist/en-US/command/index.html | 10 +- .../dist/en-US/completion/index.html | 10 +- .../dist/en-US/contribute/index.html | 10 +- docs/.vitepress/dist/en-US/index.html | 10 +- docs/.vitepress/dist/hashmap.json | 2 +- docs/.vitepress/dist/zh-CN/command/index.html | 10 +- .../dist/zh-CN/completion/index.html | 10 +- .../dist/zh-CN/contribute/index.html | 10 +- docs/.vitepress/dist/zh-CN/index.html | 10 +- en-US/command/index.html | 10 +- en-US/completion/index.html | 10 +- en-US/contribute/index.html | 10 +- en-US/index.html | 10 +- hashmap.json | 2 +- module/.version | 2 +- module/PSCompletions.psd1 | 2 +- module/PSCompletions.psm1 | 18 + module/core/init.ps1 | 84 +---- .../completion.ps1 => powershell/utils.ps1} | 145 ++++++-- .../completion.ps1 => pwsh/Unix/utils.ps1} | 112 ++++-- module/core/pwsh/Win/config.ps1 | 111 ------ .../pwsh/Win/{completion.ps1 => utils.ps1} | 116 ++++-- module/core/pwsh/{Unix => }/config.ps1 | 2 +- module/log.json | 350 +++++++++--------- module/version.txt | 2 +- package-lock.json | 246 ++++++------ zh-CN/command/index.html | 10 +- zh-CN/completion/index.html | 10 +- zh-CN/contribute/index.html | 10 +- zh-CN/index.html | 10 +- 89 files changed, 898 insertions(+), 727 deletions(-) rename assets/{app.DDq7iQmo.js => app.DrMxEDCJ.js} (90%) rename docs/.vitepress/dist/assets/chunks/@localSearchIndexen-US.DicNScNi.js => assets/chunks/@localSearchIndexen-US.Dx09-TZx.js (98%) create mode 100644 assets/chunks/@localSearchIndexzh-CN.DSk1Alg2.js delete mode 100644 assets/chunks/@localSearchIndexzh-CN.DmnVHwnH.js rename docs/.vitepress/dist/assets/chunks/VPLocalSearchBox.B0iG0UrU.js => assets/chunks/VPLocalSearchBox.2xWSu_6i.js (82%) rename assets/chunks/{framework.DB6FXu2X.js => framework.B_akP0Gx.js} (67%) rename docs/.vitepress/dist/assets/chunks/theme.Cje-DEyP.js => assets/chunks/theme.CvjxxwCL.js (99%) rename assets/{en-US_command_index.md.CKIFimfs.js => en-US_command_index.md.BcfYYpex.js} (92%) rename assets/{en-US_command_index.md.CKIFimfs.lean.js => en-US_command_index.md.BcfYYpex.lean.js} (92%) rename assets/{en-US_completion_index.md.Dh3M6QEZ.js => en-US_completion_index.md.BfszwC9v.js} (99%) rename assets/{en-US_completion_index.md.Dh3M6QEZ.lean.js => en-US_completion_index.md.BfszwC9v.lean.js} (76%) rename assets/{en-US_contribute_index.md.BlZTt-Qm.js => en-US_contribute_index.md.CZkuqYql.js} (96%) rename docs/.vitepress/dist/assets/en-US_contribute_index.md.BlZTt-Qm.lean.js => assets/en-US_contribute_index.md.CZkuqYql.lean.js (76%) rename assets/{en-US_index.md.C8sqqHFW.js => en-US_index.md.BB8a14k1.js} (94%) rename assets/{en-US_index.md.C8sqqHFW.lean.js => en-US_index.md.BB8a14k1.lean.js} (94%) rename assets/{zh-CN_command_index.md.BaqRKLE_.js => zh-CN_command_index.md.BNQJ4qKY.js} (85%) rename assets/{zh-CN_command_index.md.BaqRKLE_.lean.js => zh-CN_command_index.md.BNQJ4qKY.lean.js} (85%) rename assets/{zh-CN_completion_index.md.DS0KjFYa.js => zh-CN_completion_index.md.j7b7p8SA.js} (99%) rename assets/{zh-CN_completion_index.md.DS0KjFYa.lean.js => zh-CN_completion_index.md.j7b7p8SA.lean.js} (77%) rename assets/{zh-CN_contribute_index.md.AvCKd1oU.js => zh-CN_contribute_index.md.jyh4Tg9u.js} (96%) rename assets/{zh-CN_contribute_index.md.AvCKd1oU.lean.js => zh-CN_contribute_index.md.jyh4Tg9u.lean.js} (76%) rename assets/{zh-CN_index.md.93AZYhFN.js => zh-CN_index.md.DhCVGxik.js} (94%) rename assets/{zh-CN_index.md.93AZYhFN.lean.js => zh-CN_index.md.DhCVGxik.lean.js} (94%) rename docs/.vitepress/dist/assets/{app.DDq7iQmo.js => app.DrMxEDCJ.js} (90%) rename assets/chunks/@localSearchIndexen-US.DicNScNi.js => docs/.vitepress/dist/assets/chunks/@localSearchIndexen-US.Dx09-TZx.js (98%) create mode 100644 docs/.vitepress/dist/assets/chunks/@localSearchIndexzh-CN.DSk1Alg2.js delete mode 100644 docs/.vitepress/dist/assets/chunks/@localSearchIndexzh-CN.DmnVHwnH.js rename assets/chunks/VPLocalSearchBox.B0iG0UrU.js => docs/.vitepress/dist/assets/chunks/VPLocalSearchBox.2xWSu_6i.js (82%) rename docs/.vitepress/dist/assets/chunks/{framework.DB6FXu2X.js => framework.B_akP0Gx.js} (67%) rename assets/chunks/theme.Cje-DEyP.js => docs/.vitepress/dist/assets/chunks/theme.CvjxxwCL.js (99%) rename docs/.vitepress/dist/assets/{en-US_command_index.md.CKIFimfs.js => en-US_command_index.md.BcfYYpex.js} (92%) rename docs/.vitepress/dist/assets/{en-US_command_index.md.CKIFimfs.lean.js => en-US_command_index.md.BcfYYpex.lean.js} (92%) rename docs/.vitepress/dist/assets/{en-US_completion_index.md.Dh3M6QEZ.js => en-US_completion_index.md.BfszwC9v.js} (99%) rename docs/.vitepress/dist/assets/{en-US_completion_index.md.Dh3M6QEZ.lean.js => en-US_completion_index.md.BfszwC9v.lean.js} (76%) rename docs/.vitepress/dist/assets/{en-US_contribute_index.md.BlZTt-Qm.js => en-US_contribute_index.md.CZkuqYql.js} (96%) rename assets/en-US_contribute_index.md.BlZTt-Qm.lean.js => docs/.vitepress/dist/assets/en-US_contribute_index.md.CZkuqYql.lean.js (76%) rename docs/.vitepress/dist/assets/{en-US_index.md.C8sqqHFW.js => en-US_index.md.BB8a14k1.js} (94%) rename docs/.vitepress/dist/assets/{en-US_index.md.C8sqqHFW.lean.js => en-US_index.md.BB8a14k1.lean.js} (94%) rename docs/.vitepress/dist/assets/{zh-CN_command_index.md.BaqRKLE_.js => zh-CN_command_index.md.BNQJ4qKY.js} (85%) rename docs/.vitepress/dist/assets/{zh-CN_command_index.md.BaqRKLE_.lean.js => zh-CN_command_index.md.BNQJ4qKY.lean.js} (85%) rename docs/.vitepress/dist/assets/{zh-CN_completion_index.md.DS0KjFYa.js => zh-CN_completion_index.md.j7b7p8SA.js} (99%) rename docs/.vitepress/dist/assets/{zh-CN_completion_index.md.DS0KjFYa.lean.js => zh-CN_completion_index.md.j7b7p8SA.lean.js} (77%) rename docs/.vitepress/dist/assets/{zh-CN_contribute_index.md.AvCKd1oU.js => zh-CN_contribute_index.md.jyh4Tg9u.js} (96%) rename docs/.vitepress/dist/assets/{zh-CN_contribute_index.md.AvCKd1oU.lean.js => zh-CN_contribute_index.md.jyh4Tg9u.lean.js} (76%) rename docs/.vitepress/dist/assets/{zh-CN_index.md.93AZYhFN.js => zh-CN_index.md.DhCVGxik.js} (94%) rename docs/.vitepress/dist/assets/{zh-CN_index.md.93AZYhFN.lean.js => zh-CN_index.md.DhCVGxik.lean.js} (94%) rename module/core/{pwsh/Unix/completion.ps1 => powershell/utils.ps1} (71%) rename module/core/{powershell/completion.ps1 => pwsh/Unix/utils.ps1} (77%) delete mode 100644 module/core/pwsh/Win/config.ps1 rename module/core/pwsh/Win/{completion.ps1 => utils.ps1} (76%) rename module/core/pwsh/{Unix => }/config.ps1 (97%) diff --git a/404.html b/404.html index 7215ffb..de3d7e6 100644 --- a/404.html +++ b/404.html @@ -8,14 +8,14 @@ - +
- + \ No newline at end of file diff --git a/README-CN.md b/README-CN.md index d8dc7af..5e91e10 100644 --- a/README-CN.md +++ b/README-CN.md @@ -214,7 +214,7 @@ |[nvm](https://github.com/nvm-sh/nvm)|**en-US**
**zh-CN(100%)**|nvm - node 版本管理器| |[od](https://github.com/uutils/coreutils)|**en-US**
**~~zh-CN(7.41%)~~**|Dump files in octal and other formats.
Come from [uutils/coreutils](https://github.com/uutils/coreutils)| |[paste](https://github.com/uutils/coreutils)|**en-US**
**~~zh-CN(33.33%)~~**|Write lines consisting of the sequentially corresponding lines from each 'FILE', separated by 'TAB's, to standard output.
Come from [uutils/coreutils](https://github.com/uutils/coreutils)| -|[pdm](https://github.com/pdm-project/pdm)|**en-US**
**~~zh-CN(9.09%)~~**|A modern Python package and dependency manager supporting the latest PEP standards| +|[pdm](https://github.com/pdm-project/pdm)|**en-US**
**~~zh-CN(8.86%)~~**|A modern Python package and dependency manager supporting the latest PEP standards| |[pip](https://github.com/pypa/pip)|**en-US**
**zh-CN(100%)**|pip - Python 包管理器| |[pnpm](https://pnpm.io/zh/)|**en-US**
**zh-CN(100%)**|pnpm - 软件包管理器| |[psc](https://github.com/abgox/PSCompletions)|**en-US**
**zh-CN(100%)**|PSCompletions 模块的补全提示
它只能更新,不能移除
如果移除它,将会自动重新添加| diff --git a/README.md b/README.md index 3133436..aea2be0 100644 --- a/README.md +++ b/README.md @@ -209,7 +209,7 @@ |[nvm](https://github.com/nvm-sh/nvm)|**en-US**
**zh-CN(100%)**|nvm - Node Version Manager| |[od](https://github.com/uutils/coreutils)|**en-US**
**~~zh-CN(7.41%)~~**|Dump files in octal and other formats.
Come from [uutils/coreutils](https://github.com/uutils/coreutils)| |[paste](https://github.com/uutils/coreutils)|**en-US**
**~~zh-CN(33.33%)~~**|Write lines consisting of the sequentially corresponding lines from each 'FILE', separated by 'TAB's, to standard output.
Come from [uutils/coreutils](https://github.com/uutils/coreutils)| -|[pdm](https://github.com/pdm-project/pdm)|**en-US**
**~~zh-CN(9.09%)~~**|A modern Python package and dependency manager supporting the latest PEP standards| +|[pdm](https://github.com/pdm-project/pdm)|**en-US**
**~~zh-CN(8.86%)~~**|A modern Python package and dependency manager supporting the latest PEP standards| |[pip](https://github.com/pypa/pip)|**en-US**
**zh-CN(100%)**|pip - Python Package Manager| |[pnpm](https://pnpm.io/)|**en-US**
**zh-CN(100%)**|pnpm - Package Manager| |[psc](https://github.com/abgox/PSCompletions)|**en-US**
**zh-CN(100%)**|PSCompletions module's completion tips.
It can only be updated, not removed.
If removed, it will be automatically added again.| diff --git a/assets/app.DDq7iQmo.js b/assets/app.DrMxEDCJ.js similarity index 90% rename from assets/app.DDq7iQmo.js rename to assets/app.DrMxEDCJ.js index 85e8f3c..3dcfbf4 100644 --- a/assets/app.DDq7iQmo.js +++ b/assets/app.DrMxEDCJ.js @@ -1 +1 @@ -import{U as o,a5 as p,a6 as u,a7 as l,a8 as c,a9 as f,aa as d,ab as m,ac as h,ad as g,ae as A,d as P,u as v,y,x as w,af as C,ag as R,ah as b,ai as E}from"./chunks/framework.DB6FXu2X.js";import{R as S}from"./chunks/theme.Cje-DEyP.js";function i(e){if(e.extends){const a=i(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const s=i(S),T=P({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=v();return y(()=>{w(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&C(),R(),b(),s.setup&&s.setup(),()=>E(s.Layout)}});async function _(){globalThis.__VITEPRESS__=!0;const e=D(),a=x();a.provide(u,e);const t=l(e.route);return a.provide(c,t),a.component("Content",f),a.component("ClientOnly",d),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),s.enhanceApp&&await s.enhanceApp({app:a,router:e,siteData:m}),{app:a,router:e,data:t}}function x(){return h(T)}function D(){let e=o,a;return g(t=>{let n=A(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=import(n)),o&&(e=!1),r},s.NotFound)}o&&_().then(({app:e,router:a,data:t})=>{a.go().then(()=>{p(a.route,t.site),e.mount("#app")})});export{_ as createApp}; +import{U as o,a5 as p,a6 as u,a7 as l,a8 as c,a9 as f,aa as d,ab as m,ac as h,ad as g,ae as A,d as P,u as v,y,x as w,af as C,ag as R,ah as b,ai as E}from"./chunks/framework.B_akP0Gx.js";import{R as S}from"./chunks/theme.CvjxxwCL.js";function i(e){if(e.extends){const a=i(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const s=i(S),T=P({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=v();return y(()=>{w(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&C(),R(),b(),s.setup&&s.setup(),()=>E(s.Layout)}});async function _(){globalThis.__VITEPRESS__=!0;const e=D(),a=x();a.provide(u,e);const t=l(e.route);return a.provide(c,t),a.component("Content",f),a.component("ClientOnly",d),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),s.enhanceApp&&await s.enhanceApp({app:a,router:e,siteData:m}),{app:a,router:e,data:t}}function x(){return h(T)}function D(){let e=o,a;return g(t=>{let n=A(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=import(n)),o&&(e=!1),r},s.NotFound)}o&&_().then(({app:e,router:a,data:t})=>{a.go().then(()=>{p(a.route,t.site),e.mount("#app")})});export{_ as createApp}; diff --git a/docs/.vitepress/dist/assets/chunks/@localSearchIndexen-US.DicNScNi.js b/assets/chunks/@localSearchIndexen-US.Dx09-TZx.js similarity index 98% rename from docs/.vitepress/dist/assets/chunks/@localSearchIndexen-US.DicNScNi.js rename to assets/chunks/@localSearchIndexen-US.Dx09-TZx.js index 988aa49..af077b5 100644 --- a/docs/.vitepress/dist/assets/chunks/@localSearchIndexen-US.DicNScNi.js +++ b/assets/chunks/@localSearchIndexen-US.Dx09-TZx.js @@ -1 +1 @@ -const e='{"documentCount":11,"nextId":11,"documentIds":{"0":"/PSCompletions/en-US/completion/#about-the-structure-of-json-file","1":"/PSCompletions/en-US/completion/#properties","2":"/PSCompletions/en-US/completion/#_1-root","3":"/PSCompletions/en-US/completion/#_2-options","4":"/PSCompletions/en-US/completion/#_3-common-options","5":"/PSCompletions/en-US/completion/#_4-info","6":"/PSCompletions/en-US/completion/#_5-config","7":"/PSCompletions/en-US/contribute/#about-pr-pull-request","8":"/PSCompletions/en-US/contribute/#_1-update-the-content-of-completion-json-file","9":"/PSCompletions/en-US/contribute/#_2-add-language","10":"/PSCompletions/en-US/contribute/#_3-add-a-new-completion"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[6,1,41],"1":[1,6,1],"2":[3,7,92],"3":[3,7,26],"4":[4,7,27],"5":[3,7,36],"6":[3,7,94],"7":[5,1,26],"8":[9,5,59],"9":[4,5,34],"10":[6,5,58]},"averageFieldLength":[4.2727272727272725,5.2727272727272725,44.90909090909091],"storedFields":{"0":{"title":"About the structure of json file","titles":[]},"1":{"title":"Properties","titles":["About the structure of json file"]},"2":{"title":"1. root","titles":["About the structure of json file","Properties"]},"3":{"title":"2. options","titles":["About the structure of json file","Properties"]},"4":{"title":"3. common_options","titles":["About the structure of json file","Properties"]},"5":{"title":"4. info","titles":["About the structure of json file","Properties"]},"6":{"title":"5. config","titles":["About the structure of json file","Properties"]},"7":{"title":"About PR (Pull Request)","titles":[]},"8":{"title":"1. Update the content of completion json file","titles":["About PR (Pull Request)"]},"9":{"title":"2. Add language","titles":["About PR (Pull Request)"]},"10":{"title":"3. Add a new completion","titles":["About PR (Pull Request)"]}},"dirtCount":0,"index":[["zh",{"2":{"8":3}}],["link",{"2":{"10":1}}],["language",{"0":{"9":1},"2":{"8":5,"9":5}}],["large",{"2":{"6":1}}],["loading",{"2":{"6":2}}],["learn",{"2":{"0":1}}],["x3c",{"2":{"6":12}}],["xxx",{"2":{"5":2}}],["psc",{"2":{"10":2}}],["pscompletions",{"2":{"7":1,"10":4}}],["ps1",{"2":{"8":3,"10":3}}],["parameter",{"2":{"8":1}}],["parts",{"2":{"8":3}}],["parsed",{"2":{"6":2}}],["parse",{"2":{"6":1}}],["patch",{"2":{"8":1}}],["pull",{"0":{"7":1},"1":{"8":1,"9":1,"10":1}}],["prerequisite",{"2":{"7":1}}],["press",{"2":{"6":1}}],["preset",{"2":{"2":1}}],["pr",{"0":{"7":1},"1":{"8":1,"9":1,"10":1},"2":{"7":1,"10":1}}],["project",{"2":{"6":2,"10":1}}],["prompts",{"2":{"0":1,"10":1}}],["properties",{"0":{"1":1},"1":{"2":1,"3":1,"4":1,"5":1,"6":1},"2":{"0":1}}],["0",{"2":{"6":3}}],["get",{"2":{"6":1}}],["git",{"2":{"6":2,"8":4}}],["g",{"2":{"6":1}}],["5",{"0":{"6":1}}],["$json",{"2":{"5":3}}],["$info",{"2":{"5":2}}],["4",{"0":{"5":1}}],["3",{"0":{"4":1,"10":1}}],["20",{"2":{"6":2}}],["2",{"0":{"3":1,"9":1}}],["merged",{"2":{"10":1}}],["must",{"2":{"10":1}}],["modify",{"2":{"10":2}}],["module",{"2":{"10":4}}],["most",{"2":{"2":2,"8":1}}],["missing",{"2":{"8":3}}],["machine",{"2":{"7":1}}],["maximum",{"2":{"6":1}}],["max",{"2":{"6":1}}],["magenta>",{"2":{"6":2}}],["magenta>max",{"2":{"6":1}}],["magenta>tab",{"2":{"6":1}}],["magenta>space",{"2":{"6":1}}],["magenta>git",{"2":{"6":1}}],["mainly",{"2":{"6":1}}],["manually",{"2":{"2":1}}],["h",{"2":{"4":1}}],["help",{"2":{"4":2}}],["hooks",{"2":{"2":1,"6":3}}],["hovering",{"2":{"0":1}}],["has",{"2":{"2":1}}],["want",{"2":{"9":1}}],["which",{"2":{"6":1}}],["whether",{"2":{"6":1}}],["where",{"2":{"2":1}}],["when",{"2":{"2":3}}],["writespacetab",{"2":{"2":1}}],["will",{"2":{"2":1,"6":4,"10":1}}],["with",{"2":{"2":1,"5":1,"9":1}}],["blue>",{"2":{"6":6}}],["branch",{"2":{"6":2}}],["before",{"2":{"10":1}}],["be",{"2":{"2":1,"5":1,"6":3,"8":2,"10":1}}],["because",{"2":{"2":1}}],["by",{"2":{"0":1,"8":2}}],["directory",{"2":{"9":2,"10":3}}],["disable",{"2":{"6":4}}],["displayed",{"2":{"4":1}}],["difference",{"2":{"2":1}}],["dynamically",{"2":{"6":1}}],["dynamic",{"2":{"2":1}}],["debugging",{"2":{"10":1}}],["default",{"2":{"6":1}}],["define",{"2":{"6":1}}],["defined",{"2":{"5":1}}],["defining",{"2":{"2":1}}],["depending",{"2":{"2":1}}],["don",{"2":{"2":1,"6":1}}],["update",{"0":{"8":1}}],["understand",{"2":{"2":1}}],["usage",{"2":{"8":1}}],["us",{"2":{"8":2}}],["using",{"2":{"8":2}}],["use",{"2":{"10":1}}],["used",{"2":{"6":1}}],["uses",{"2":{"0":1,"2":1}}],["usually",{"2":{"2":1,"8":1}}],["number",{"2":{"6":2}}],["n",{"2":{"6":6}}],["new",{"0":{"10":1},"2":{"10":1}}],["needed",{"2":{"2":1}}],["needs",{"2":{"2":1}}],["need",{"2":{"2":1,"6":1}}],["next",{"2":{"2":3}}],["not",{"2":{"2":1}}],["name",{"2":{"2":4,"3":1,"4":1,"5":2,"6":2,"9":1}}],["view",{"2":{"8":1}}],["viewed",{"2":{"8":1}}],["v",{"2":{"3":1}}],["version",{"2":{"3":2}}],["very",{"2":{"0":1}}],["vscode",{"2":{"2":1}}],["values",{"2":{"2":2,"5":1,"6":2}}],["value",{"2":{"2":2,"3":1,"4":1,"5":1,"6":3}}],["1",{"0":{"2":1,"8":1},"2":{"6":4}}],["example",{"2":{"6":1,"8":1}}],["existing",{"2":{"0":1}}],["etc",{"2":{"6":2}}],["e",{"2":{"6":1}}],["en",{"2":{"8":2}}],["enter",{"2":{"6":1}}],["entire",{"2":{"5":1}}],["ensure",{"2":{"0":1}}],["elsewhere",{"2":{"5":1}}],["easy",{"2":{"2":1}}],["each",{"2":{"2":1,"3":1}}],["running",{"2":{"10":1}}],["run",{"2":{"10":1}}],["rm",{"2":{"2":1,"10":1}}],["re",{"2":{"10":1}}],["remove",{"2":{"10":1}}],["rename",{"2":{"9":1}}],["read",{"2":{"7":1}}],["request",{"0":{"7":1},"1":{"8":1,"9":1,"10":1}}],["required",{"2":{"2":1,"10":1}}],["resolved",{"2":{"6":1}}],["reset",{"2":{"2":1,"6":2}}],["refer",{"2":{"0":1}}],["root",{"0":{"2":1},"2":{"0":1,"2":1,"3":1,"5":1,"10":1}}],["first",{"2":{"7":1,"8":2}}],["file",{"0":{"0":1,"8":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1},"2":{"0":2,"5":1,"7":1,"8":2,"9":3}}],["follow",{"2":{"10":1}}],["following",{"2":{"5":1,"8":2}}],["fork",{"2":{"7":1}}],["for",{"2":{"3":1,"6":3,"8":2,"10":1}}],["fact",{"2":{"0":1}}],["cn",{"2":{"8":3}}],["created",{"2":{"10":1}}],["create",{"2":{"7":1,"10":3}}],["changing",{"2":{"7":1}}],["checkout",{"2":{"6":1}}],["clone",{"2":{"7":1}}],["currentuser",{"2":{"10":1}}],["current",{"2":{"3":1}}],["cases",{"2":{"2":2}}],["can",{"2":{"0":2,"5":1,"6":3,"8":3,"9":1}}],["copy",{"2":{"9":1}}],["core",{"2":{"2":1}}],["correct",{"2":{"0":1}}],["compared",{"2":{"8":3}}],["comparejson",{"2":{"8":3}}],["completions",{"2":{"6":2,"8":3,"9":1,"10":1}}],["completion",{"0":{"8":1,"10":1},"2":{"2":3,"6":3,"7":1,"8":2,"10":3}}],["complete",{"2":{"0":1}}],["commands",{"2":{"8":1}}],["command",{"2":{"8":1}}],["committed",{"2":{"10":1}}],["commits",{"2":{"6":2}}],["commit",{"2":{"6":5,"7":1}}],["common",{"0":{"4":1},"2":{"0":1,"4":1,"8":1}}],["convenience",{"2":{"10":1}}],["context",{"2":{"2":1}}],["contents",{"2":{"9":1}}],["content",{"0":{"8":1},"2":{"0":1,"5":1}}],["configured",{"2":{"8":1}}],["configuration",{"2":{"6":1}}],["configurations",{"2":{"6":1}}],["config",{"0":{"6":1},"2":{"0":1,"6":1,"8":1,"9":1,"10":1}}],["your",{"2":{"7":1}}],["you",{"2":{"0":2,"2":1,"6":4,"7":3,"8":1,"9":2,"10":1}}],["import",{"2":{"10":1}}],["imported",{"2":{"10":1}}],["improve",{"2":{"6":1}}],["identifier",{"2":{"9":2}}],["identical",{"2":{"2":1}}],["if",{"2":{"6":4,"8":1}}],["items",{"2":{"2":1}}],["item",{"2":{"2":2,"3":1}}],["it",{"2":{"0":1,"2":1,"6":4,"8":2,"9":1,"10":2}}],["install",{"2":{"10":1}}],["installed",{"2":{"10":1}}],["invalid",{"2":{"6":1}}],["in",{"2":{"0":1,"2":6,"3":1,"6":1,"8":1,"9":3,"10":1}}],["information",{"2":{"6":2}}],["info",{"0":{"5":1},"2":{"0":1,"5":2}}],["is",{"2":{"0":2,"2":3,"5":2,"6":1,"10":1}}],["translate",{"2":{"9":1}}],["take",{"2":{"8":1}}],["test",{"2":{"5":4}}],["times",{"2":{"4":1}}],["tips",{"2":{"8":1}}],["tip",{"2":{"2":1,"3":1,"4":1,"5":6,"6":2,"8":1,"9":1}}],["t",{"2":{"2":1,"6":1}}],["type",{"2":{"2":1,"3":1,"4":1,"5":1,"6":1}}],["this",{"2":{"5":1,"10":1}}],["think",{"2":{"2":1}}],["that",{"2":{"0":1,"6":1}}],["there",{"2":{"6":1}}],["them",{"2":{"6":1}}],["then",{"2":{"6":1}}],["these",{"2":{"0":1}}],["the",{"0":{"0":1,"8":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1},"2":{"0":4,"2":9,"3":2,"4":1,"5":4,"6":8,"7":2,"8":13,"9":11,"10":8}}],["to",{"2":{"0":2,"2":6,"6":4,"7":1,"8":3,"9":2,"10":3}}],["scope",{"2":{"10":1}}],["script",{"2":{"8":3,"10":1}}],["schema",{"2":{"0":1,"2":1}}],["should",{"2":{"7":3,"10":1}}],["show",{"2":{"3":1,"4":1}}],["such",{"2":{"6":1}}],["select",{"2":{"9":1}}],["second",{"2":{"8":1}}],["setting",{"2":{"6":1}}],["set",{"2":{"6":1}}],["several",{"2":{"2":1}}],["speed",{"2":{"6":2}}],["special",{"2":{"6":1}}],["spacetab",{"2":{"2":3}}],["syntax",{"2":{"5":1}}],["symbols",{"2":{"2":1}}],["symbol",{"2":{"2":7}}],["same",{"2":{"3":1,"4":1,"9":1}}],["so",{"2":{"8":1,"10":1}}],["soft",{"2":{"2":1}}],["some",{"2":{"2":3,"6":2,"8":2}}],["s",{"2":{"2":1,"8":2}}],["simple",{"2":{"0":1}}],["structure",{"0":{"0":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1},"2":{"0":1,"4":1,"7":1}}],["after",{"2":{"7":1,"10":1}}],["affect",{"2":{"6":1}}],["abcdefg",{"2":{"5":1}}],["abc",{"2":{"5":3}}],["about",{"0":{"0":1,"7":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"8":1,"9":1,"10":1},"2":{"0":1,"2":1,"7":1}}],["at",{"2":{"4":1}}],["attributes",{"2":{"8":1}}],["attribute",{"2":{"2":4,"9":1}}],["as",{"2":{"3":1,"4":1,"6":1,"9":1,"10":1}}],["adds",{"2":{"2":1}}],["added",{"2":{"2":2}}],["add",{"0":{"9":1,"10":1},"2":{"2":2,"6":1,"8":1,"9":3,"10":2}}],["automatically",{"2":{"2":3}}],["all",{"2":{"4":2,"5":1,"6":1}}],["allowed",{"2":{"2":1}}],["almost",{"2":{"2":1}}],["also",{"2":{"2":1,"6":1,"8":1}}],["alias",{"2":{"2":1,"3":1,"4":1}}],["are",{"2":{"2":2,"4":1,"6":2,"8":1}}],["arrays",{"2":{"2":1}}],["array",{"2":{"2":2,"3":1,"4":1,"6":1}}],["available",{"2":{"2":1}}],["an",{"2":{"2":1}}],["and",{"2":{"0":1,"2":1,"6":3,"7":2,"9":1,"10":3}}],["a",{"0":{"10":1},"2":{"0":1,"6":2,"9":1}}],["original",{"2":{"9":1}}],["omitted",{"2":{"8":1}}],["obtained",{"2":{"5":1}}],["object",{"2":{"2":2,"5":2}}],["optiontab",{"2":{"2":1}}],["options",{"0":{"3":1,"4":1},"2":{"0":2,"2":7,"3":2,"4":3}}],["on",{"2":{"2":1}}],["over",{"2":{"0":1}}],["of",{"0":{"0":1,"8":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1},"2":{"2":2,"3":1,"4":1,"5":2,"6":4,"7":1,"8":2,"9":1,"10":2}}],["\\t\\t\\t",{"2":{"2":2,"3":3,"4":3,"5":4}}],["\\t\\t",{"2":{"2":2,"3":2,"4":2,"5":6}}],["\\t",{"2":{"0":5,"2":5,"3":2,"4":2,"5":4}}],["json",{"0":{"0":1,"8":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1},"2":{"0":4,"2":2,"3":1,"4":1,"5":2,"6":1,"7":1,"8":6,"9":3,"10":1}}]],"serializationVersion":2}';export{e as default}; +const e='{"documentCount":11,"nextId":11,"documentIds":{"0":"/PSCompletions/en-US/completion/#about-the-structure-of-json-file","1":"/PSCompletions/en-US/completion/#properties","2":"/PSCompletions/en-US/completion/#_1-root","3":"/PSCompletions/en-US/completion/#_2-options","4":"/PSCompletions/en-US/completion/#_3-common-options","5":"/PSCompletions/en-US/completion/#_4-info","6":"/PSCompletions/en-US/completion/#_5-config","7":"/PSCompletions/en-US/contribute/#about-pr-pull-request","8":"/PSCompletions/en-US/contribute/#_1-update-the-content-of-completion-json-file","9":"/PSCompletions/en-US/contribute/#_2-add-language","10":"/PSCompletions/en-US/contribute/#_3-add-a-new-completion"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[6,1,41],"1":[1,6,1],"2":[2,7,92],"3":[2,7,26],"4":[3,7,27],"5":[2,7,36],"6":[2,7,94],"7":[5,1,26],"8":[8,5,59],"9":[3,5,34],"10":[5,5,58]},"averageFieldLength":[3.5454545454545454,5.2727272727272725,44.90909090909091],"storedFields":{"0":{"title":"About the structure of json file","titles":[]},"1":{"title":"Properties","titles":["About the structure of json file"]},"2":{"title":"1. root","titles":["About the structure of json file","Properties"]},"3":{"title":"2. options","titles":["About the structure of json file","Properties"]},"4":{"title":"3. common_options","titles":["About the structure of json file","Properties"]},"5":{"title":"4. info","titles":["About the structure of json file","Properties"]},"6":{"title":"5. config","titles":["About the structure of json file","Properties"]},"7":{"title":"About PR (Pull Request)","titles":[]},"8":{"title":"1. Update the content of completion json file","titles":["About PR (Pull Request)"]},"9":{"title":"2. Add language","titles":["About PR (Pull Request)"]},"10":{"title":"3. Add a new completion","titles":["About PR (Pull Request)"]}},"dirtCount":0,"index":[["zh",{"2":{"8":3}}],["link",{"2":{"10":1}}],["language",{"0":{"9":1},"2":{"8":5,"9":5}}],["large",{"2":{"6":1}}],["loading",{"2":{"6":2}}],["learn",{"2":{"0":1}}],["x3c",{"2":{"6":12}}],["xxx",{"2":{"5":2}}],["psc",{"2":{"10":2}}],["pscompletions",{"2":{"7":1,"10":4}}],["ps1",{"2":{"8":3,"10":3}}],["parameter",{"2":{"8":1}}],["parts",{"2":{"8":3}}],["parsed",{"2":{"6":2}}],["parse",{"2":{"6":1}}],["patch",{"2":{"8":1}}],["pull",{"0":{"7":1},"1":{"8":1,"9":1,"10":1}}],["prerequisite",{"2":{"7":1}}],["press",{"2":{"6":1}}],["preset",{"2":{"2":1}}],["pr",{"0":{"7":1},"1":{"8":1,"9":1,"10":1},"2":{"7":1,"10":1}}],["project",{"2":{"6":2,"10":1}}],["prompts",{"2":{"0":1,"10":1}}],["properties",{"0":{"1":1},"1":{"2":1,"3":1,"4":1,"5":1,"6":1},"2":{"0":1}}],["0",{"2":{"6":3}}],["get",{"2":{"6":1}}],["git",{"2":{"6":2,"8":4}}],["g",{"2":{"6":1}}],["5",{"0":{"6":1}}],["$json",{"2":{"5":3}}],["$info",{"2":{"5":2}}],["4",{"0":{"5":1}}],["3",{"0":{"4":1,"10":1}}],["20",{"2":{"6":2}}],["2",{"0":{"3":1,"9":1}}],["merged",{"2":{"10":1}}],["must",{"2":{"10":1}}],["modify",{"2":{"10":2}}],["module",{"2":{"10":4}}],["most",{"2":{"2":2,"8":1}}],["missing",{"2":{"8":3}}],["machine",{"2":{"7":1}}],["maximum",{"2":{"6":1}}],["max",{"2":{"6":1}}],["magenta>",{"2":{"6":2}}],["magenta>max",{"2":{"6":1}}],["magenta>tab",{"2":{"6":1}}],["magenta>space",{"2":{"6":1}}],["magenta>git",{"2":{"6":1}}],["mainly",{"2":{"6":1}}],["manually",{"2":{"2":1}}],["h",{"2":{"4":1}}],["help",{"2":{"4":2}}],["hooks",{"2":{"2":1,"6":3}}],["hovering",{"2":{"0":1}}],["has",{"2":{"2":1}}],["want",{"2":{"9":1}}],["which",{"2":{"6":1}}],["whether",{"2":{"6":1}}],["where",{"2":{"2":1}}],["when",{"2":{"2":3}}],["writespacetab",{"2":{"2":1}}],["will",{"2":{"2":1,"6":4,"10":1}}],["with",{"2":{"2":1,"5":1,"9":1}}],["blue>",{"2":{"6":6}}],["branch",{"2":{"6":2}}],["before",{"2":{"10":1}}],["be",{"2":{"2":1,"5":1,"6":3,"8":2,"10":1}}],["because",{"2":{"2":1}}],["by",{"2":{"0":1,"8":2}}],["directory",{"2":{"9":2,"10":3}}],["disable",{"2":{"6":4}}],["displayed",{"2":{"4":1}}],["difference",{"2":{"2":1}}],["dynamically",{"2":{"6":1}}],["dynamic",{"2":{"2":1}}],["debugging",{"2":{"10":1}}],["default",{"2":{"6":1}}],["define",{"2":{"6":1}}],["defined",{"2":{"5":1}}],["defining",{"2":{"2":1}}],["depending",{"2":{"2":1}}],["don",{"2":{"2":1,"6":1}}],["update",{"0":{"8":1}}],["understand",{"2":{"2":1}}],["usage",{"2":{"8":1}}],["us",{"2":{"8":2}}],["using",{"2":{"8":2}}],["use",{"2":{"10":1}}],["used",{"2":{"6":1}}],["uses",{"2":{"0":1,"2":1}}],["usually",{"2":{"2":1,"8":1}}],["number",{"2":{"6":2}}],["n",{"2":{"6":6}}],["new",{"0":{"10":1},"2":{"10":1}}],["needed",{"2":{"2":1}}],["needs",{"2":{"2":1}}],["need",{"2":{"2":1,"6":1}}],["next",{"2":{"2":3}}],["not",{"2":{"2":1}}],["name",{"2":{"2":4,"3":1,"4":1,"5":2,"6":2,"9":1}}],["view",{"2":{"8":1}}],["viewed",{"2":{"8":1}}],["v",{"2":{"3":1}}],["version",{"2":{"3":2}}],["very",{"2":{"0":1}}],["vscode",{"2":{"2":1}}],["values",{"2":{"2":2,"5":1,"6":2}}],["value",{"2":{"2":2,"3":1,"4":1,"5":1,"6":3}}],["1",{"0":{"2":1,"8":1},"2":{"6":4}}],["example",{"2":{"6":1,"8":1}}],["existing",{"2":{"0":1}}],["etc",{"2":{"6":2}}],["e",{"2":{"6":1}}],["en",{"2":{"8":2}}],["enter",{"2":{"6":1}}],["entire",{"2":{"5":1}}],["ensure",{"2":{"0":1}}],["elsewhere",{"2":{"5":1}}],["easy",{"2":{"2":1}}],["each",{"2":{"2":1,"3":1}}],["running",{"2":{"10":1}}],["run",{"2":{"10":1}}],["rm",{"2":{"2":1,"10":1}}],["re",{"2":{"10":1}}],["remove",{"2":{"10":1}}],["rename",{"2":{"9":1}}],["read",{"2":{"7":1}}],["request",{"0":{"7":1},"1":{"8":1,"9":1,"10":1}}],["required",{"2":{"2":1,"10":1}}],["resolved",{"2":{"6":1}}],["reset",{"2":{"2":1,"6":2}}],["refer",{"2":{"0":1}}],["root",{"0":{"2":1},"2":{"0":1,"2":1,"3":1,"5":1,"10":1}}],["first",{"2":{"7":1,"8":2}}],["file",{"0":{"0":1,"8":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1},"2":{"0":2,"5":1,"7":1,"8":2,"9":3}}],["follow",{"2":{"10":1}}],["following",{"2":{"5":1,"8":2}}],["fork",{"2":{"7":1}}],["for",{"2":{"3":1,"6":3,"8":2,"10":1}}],["fact",{"2":{"0":1}}],["cn",{"2":{"8":3}}],["created",{"2":{"10":1}}],["create",{"2":{"7":1,"10":3}}],["changing",{"2":{"7":1}}],["checkout",{"2":{"6":1}}],["clone",{"2":{"7":1}}],["currentuser",{"2":{"10":1}}],["current",{"2":{"3":1}}],["cases",{"2":{"2":2}}],["can",{"2":{"0":2,"5":1,"6":3,"8":3,"9":1}}],["copy",{"2":{"9":1}}],["core",{"2":{"2":1}}],["correct",{"2":{"0":1}}],["compared",{"2":{"8":3}}],["comparejson",{"2":{"8":3}}],["completions",{"2":{"6":2,"8":3,"9":1,"10":1}}],["completion",{"0":{"8":1,"10":1},"2":{"2":3,"6":3,"7":1,"8":2,"10":3}}],["complete",{"2":{"0":1}}],["commands",{"2":{"8":1}}],["command",{"2":{"8":1}}],["committed",{"2":{"10":1}}],["commits",{"2":{"6":2}}],["commit",{"2":{"6":5,"7":1}}],["common",{"0":{"4":1},"2":{"0":1,"4":1,"8":1}}],["convenience",{"2":{"10":1}}],["context",{"2":{"2":1}}],["contents",{"2":{"9":1}}],["content",{"0":{"8":1},"2":{"0":1,"5":1}}],["configured",{"2":{"8":1}}],["configuration",{"2":{"6":1}}],["configurations",{"2":{"6":1}}],["config",{"0":{"6":1},"2":{"0":1,"6":1,"8":1,"9":1,"10":1}}],["your",{"2":{"7":1}}],["you",{"2":{"0":2,"2":1,"6":4,"7":3,"8":1,"9":2,"10":1}}],["import",{"2":{"10":1}}],["imported",{"2":{"10":1}}],["improve",{"2":{"6":1}}],["identifier",{"2":{"9":2}}],["identical",{"2":{"2":1}}],["if",{"2":{"6":4,"8":1}}],["items",{"2":{"2":1}}],["item",{"2":{"2":2,"3":1}}],["it",{"2":{"0":1,"2":1,"6":4,"8":2,"9":1,"10":2}}],["install",{"2":{"10":1}}],["installed",{"2":{"10":1}}],["invalid",{"2":{"6":1}}],["in",{"2":{"0":1,"2":6,"3":1,"6":1,"8":1,"9":3,"10":1}}],["information",{"2":{"6":2}}],["info",{"0":{"5":1},"2":{"0":1,"5":2}}],["is",{"2":{"0":2,"2":3,"5":2,"6":1,"10":1}}],["translate",{"2":{"9":1}}],["take",{"2":{"8":1}}],["test",{"2":{"5":4}}],["times",{"2":{"4":1}}],["tips",{"2":{"8":1}}],["tip",{"2":{"2":1,"3":1,"4":1,"5":6,"6":2,"8":1,"9":1}}],["t",{"2":{"2":1,"6":1}}],["type",{"2":{"2":1,"3":1,"4":1,"5":1,"6":1}}],["this",{"2":{"5":1,"10":1}}],["think",{"2":{"2":1}}],["that",{"2":{"0":1,"6":1}}],["there",{"2":{"6":1}}],["them",{"2":{"6":1}}],["then",{"2":{"6":1}}],["these",{"2":{"0":1}}],["the",{"0":{"0":1,"8":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1},"2":{"0":4,"2":9,"3":2,"4":1,"5":4,"6":8,"7":2,"8":13,"9":11,"10":8}}],["to",{"2":{"0":2,"2":6,"6":4,"7":1,"8":3,"9":2,"10":3}}],["scope",{"2":{"10":1}}],["script",{"2":{"8":3,"10":1}}],["schema",{"2":{"0":1,"2":1}}],["should",{"2":{"7":3,"10":1}}],["show",{"2":{"3":1,"4":1}}],["such",{"2":{"6":1}}],["select",{"2":{"9":1}}],["second",{"2":{"8":1}}],["setting",{"2":{"6":1}}],["set",{"2":{"6":1}}],["several",{"2":{"2":1}}],["speed",{"2":{"6":2}}],["special",{"2":{"6":1}}],["spacetab",{"2":{"2":3}}],["syntax",{"2":{"5":1}}],["symbols",{"2":{"2":1}}],["symbol",{"2":{"2":7}}],["same",{"2":{"3":1,"4":1,"9":1}}],["so",{"2":{"8":1,"10":1}}],["soft",{"2":{"2":1}}],["some",{"2":{"2":3,"6":2,"8":2}}],["s",{"2":{"2":1,"8":2}}],["simple",{"2":{"0":1}}],["structure",{"0":{"0":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1},"2":{"0":1,"4":1,"7":1}}],["after",{"2":{"7":1,"10":1}}],["affect",{"2":{"6":1}}],["abcdefg",{"2":{"5":1}}],["abc",{"2":{"5":3}}],["about",{"0":{"0":1,"7":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"8":1,"9":1,"10":1},"2":{"0":1,"2":1,"7":1}}],["at",{"2":{"4":1}}],["attributes",{"2":{"8":1}}],["attribute",{"2":{"2":4,"9":1}}],["as",{"2":{"3":1,"4":1,"6":1,"9":1,"10":1}}],["adds",{"2":{"2":1}}],["added",{"2":{"2":2}}],["add",{"0":{"9":1,"10":1},"2":{"2":2,"6":1,"8":1,"9":3,"10":2}}],["automatically",{"2":{"2":3}}],["all",{"2":{"4":2,"5":1,"6":1}}],["allowed",{"2":{"2":1}}],["almost",{"2":{"2":1}}],["also",{"2":{"2":1,"6":1,"8":1}}],["alias",{"2":{"2":1,"3":1,"4":1}}],["are",{"2":{"2":2,"4":1,"6":2,"8":1}}],["arrays",{"2":{"2":1}}],["array",{"2":{"2":2,"3":1,"4":1,"6":1}}],["available",{"2":{"2":1}}],["an",{"2":{"2":1}}],["and",{"2":{"0":1,"2":1,"6":3,"7":2,"9":1,"10":3}}],["a",{"0":{"10":1},"2":{"0":1,"6":2,"9":1}}],["original",{"2":{"9":1}}],["omitted",{"2":{"8":1}}],["obtained",{"2":{"5":1}}],["object",{"2":{"2":2,"5":2}}],["optiontab",{"2":{"2":1}}],["options",{"0":{"3":1,"4":1},"2":{"0":2,"2":7,"3":2,"4":3}}],["on",{"2":{"2":1}}],["over",{"2":{"0":1}}],["of",{"0":{"0":1,"8":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1},"2":{"2":2,"3":1,"4":1,"5":2,"6":4,"7":1,"8":2,"9":1,"10":2}}],["\\t\\t\\t",{"2":{"2":2,"3":3,"4":3,"5":4}}],["\\t\\t",{"2":{"2":2,"3":2,"4":2,"5":6}}],["\\t",{"2":{"0":5,"2":5,"3":2,"4":2,"5":4}}],["json",{"0":{"0":1,"8":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1},"2":{"0":4,"2":2,"3":1,"4":1,"5":2,"6":1,"7":1,"8":6,"9":3,"10":1}}]],"serializationVersion":2}';export{e as default}; diff --git a/assets/chunks/@localSearchIndexzh-CN.DSk1Alg2.js b/assets/chunks/@localSearchIndexzh-CN.DSk1Alg2.js new file mode 100644 index 0000000..41cd17a --- /dev/null +++ b/assets/chunks/@localSearchIndexzh-CN.DSk1Alg2.js @@ -0,0 +1 @@ +const t='{"documentCount":11,"nextId":11,"documentIds":{"0":"/PSCompletions/zh-CN/completion/#关于补全的-json-文件结构","1":"/PSCompletions/zh-CN/completion/#属性详解","2":"/PSCompletions/zh-CN/completion/#_1-root","3":"/PSCompletions/zh-CN/completion/#_2-options","4":"/PSCompletions/zh-CN/completion/#_3-common-options","5":"/PSCompletions/zh-CN/completion/#_4-info","6":"/PSCompletions/zh-CN/completion/#_5-config","7":"/PSCompletions/zh-CN/contribute/#关于-pr-pull-request","8":"/PSCompletions/zh-CN/contribute/#_1-更新-json-文件内容","9":"/PSCompletions/zh-CN/contribute/#_2-添加语言","10":"/PSCompletions/zh-CN/contribute/#_3-添加一个全新的命令补全"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[3,1,19],"1":[1,3,1],"2":[2,4,60],"3":[2,4,18],"4":[3,4,18],"5":[2,4,21],"6":[2,4,54],"7":[5,1,33],"8":[4,5,30],"9":[2,5,22],"10":[2,5,35]},"averageFieldLength":[2.5454545454545454,3.6363636363636362,28.272727272727273],"storedFields":{"0":{"title":"关于补全的 json 文件结构","titles":[]},"1":{"title":"属性详解","titles":["关于补全的 json 文件结构"]},"2":{"title":"1. root","titles":["关于补全的 json 文件结构","属性详解"]},"3":{"title":"2. options","titles":["关于补全的 json 文件结构","属性详解"]},"4":{"title":"3. common_options","titles":["关于补全的 json 文件结构","属性详解"]},"5":{"title":"4. info","titles":["关于补全的 json 文件结构","属性详解"]},"6":{"title":"5. config","titles":["关于补全的 json 文件结构","属性详解"]},"7":{"title":"关于 PR (Pull Request)","titles":[]},"8":{"title":"1. 更新 json 文件内容","titles":["关于 PR (Pull Request)"]},"9":{"title":"2. 添加语言","titles":["关于 PR (Pull Request)"]},"10":{"title":"3. 添加一个全新的命令补全","titles":["关于 PR (Pull Request)"]}},"dirtCount":0,"index":[["根据需求修改",{"2":{"10":1}}],["根据提示进行操作",{"2":{"10":1}}],["修改新创建的补全",{"2":{"10":1}}],["修改完成后",{"2":{"7":1}}],["重新添加",{"2":{"10":1}}],["移除掉此补全",{"2":{"10":1}}],["并使用",{"2":{"10":1}}],["并被合并后",{"2":{"10":1}}],["并应用修改即可",{"2":{"7":1}}],["import",{"2":{"10":1}}],["install",{"2":{"10":1}}],["info",{"0":{"5":1},"2":{"0":1,"5":2}}],["module",{"2":{"10":2}}],["magenta>",{"2":{"6":2}}],["magenta>max",{"2":{"6":1}}],["max",{"2":{"6":1}}],["然后再运行",{"2":{"10":1}}],["然后动态添加到一些补全中",{"2":{"6":1}}],["模块",{"2":{"10":1}}],["必须先安装并导入",{"2":{"10":1}}],["必需",{"2":{"2":1}}],["因此",{"2":{"10":1}}],["因为",{"2":{"2":1}}],["为了调试方便",{"2":{"10":1}}],["翻译其中的",{"2":{"9":1}}],["改名即可",{"2":{"9":1}}],["目录下",{"2":{"10":1}}],["目录下添加与语言标识符同名的",{"2":{"9":1}}],["目录中找到你想要添加语言的补全",{"2":{"9":1}}],["所以以下命令是最常见的用法",{"2":{"8":1}}],["一般都是和第一个语言对比",{"2":{"8":1}}],["也可以省略第二个参数",{"2":{"8":1}}],["也可以直接运行",{"2":{"7":1}}],["language",{"2":{"8":3,"9":2}}],["us",{"2":{"8":2}}],["updateguid",{"2":{"7":1}}],["en",{"2":{"8":2}}],["相较于",{"2":{"8":1}}],["相同",{"2":{"2":1,"3":1,"4":1}}],["zh",{"2":{"8":3,"9":1}}],["举例",{"2":{"8":1}}],["脚本来查看未完成的部分",{"2":{"8":1}}],["添加一个全新的命令补全",{"0":{"10":1}}],["添加语言",{"0":{"9":1}}],["添加补全的一些缺失的命令",{"2":{"8":1}}],["添加了动态补全项时",{"2":{"2":1}}],["完善补全的一些提示信息",{"2":{"8":1}}],["更新",{"0":{"8":1}}],["提交并创建",{"2":{"7":1}}],["选择此补全",{"2":{"7":1}}],["列表框中",{"2":{"7":1}}],["将值填入此文件中",{"2":{"7":1}}],["生成",{"2":{"7":1}}],["guid",{"2":{"7":2}}],["git",{"2":{"6":3,"8":4}}],["都需要更新其目录下的",{"2":{"7":1}}],["只要到补全文件进行了修改",{"2":{"7":1}}],["克隆到本地进行修改",{"2":{"7":1}}],["仓库",{"2":{"7":1}}],["fork",{"2":{"7":1}}],["前提",{"2":{"7":1}}],["powershell",{"2":{"7":1}}],["psc",{"2":{"10":2}}],["pscompletions",{"2":{"7":1,"10":4}}],["ps1",{"2":{"7":1,"8":3,"10":3}}],["pull",{"0":{"7":1},"1":{"8":1,"9":1,"10":1}}],["pr",{"0":{"7":1},"1":{"8":1,"9":1,"10":1},"2":{"7":1,"10":1}}],["关于",{"0":{"7":1},"1":{"8":1,"9":1,"10":1}}],["关于补全的",{"0":{"0":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1},"2":{"7":1}}],["对补全加载的速度会有不小的影响",{"2":{"6":1}}],["对象",{"2":{"5":1}}],["对象可用属性",{"2":{"2":1}}],["设置为",{"2":{"6":1}}],["设置是否禁用",{"2":{"6":1}}],["数量较多",{"2":{"6":1}}],["数组中的每一项是一个对象",{"2":{"2":1}}],["数组",{"2":{"2":1,"3":1,"4":1,"6":1}}],["可以通过",{"2":{"8":1}}],["可以为当前项目解析的",{"2":{"6":1}}],["可以在其他地方通过以下语法获取",{"2":{"5":1}}],["配置也将无效",{"2":{"6":1}}],["配合",{"2":{"2":1}}],["blue>",{"2":{"6":3}}],["branch",{"2":{"6":1}}],["x3c",{"2":{"6":6}}],["xxx",{"2":{"5":2}}],["那么",{"2":{"6":1}}],["快速补全",{"2":{"6":1}}],["后可以获取到解析出来的",{"2":{"6":1}}],["等",{"2":{"6":1}}],["currentuser",{"2":{"10":1}}],["create",{"2":{"10":3}}],["cn",{"2":{"8":3,"9":1}}],["checkout",{"2":{"6":1}}],["completions",{"2":{"8":3,"9":1,"10":1}}],["comparejson",{"2":{"8":3}}],["commit",{"2":{"6":7}}],["common",{"0":{"4":1},"2":{"0":1,"4":1}}],["config",{"0":{"6":1},"2":{"0":1,"6":1,"8":1,"9":1,"10":1}}],["如果是和",{"2":{"8":1}}],["如果项目",{"2":{"6":1}}],["如果设置为",{"2":{"6":1}}],["如果禁用它",{"2":{"6":1}}],["如果你不需要它",{"2":{"6":1}}],["如",{"2":{"6":2}}],["分支信息等",{"2":{"6":1}}],["信息",{"2":{"6":1}}],["主要用于解析",{"2":{"6":1}}],["表示不禁用",{"2":{"6":1}}],["默认为",{"2":{"6":1}}],["0",{"2":{"6":3}}],["disable",{"2":{"6":1}}],["以",{"2":{"6":1,"8":1}}],["以上是",{"2":{"0":1}}],["定义补全的特殊配置",{"2":{"6":1}}],["定义的所有值",{"2":{"5":1}}],["5",{"0":{"6":1}}],["这样的语言标识符",{"2":{"9":1}}],["这样可以提高补全的加载速度",{"2":{"6":1}}],["这是一个测试内容",{"2":{"5":1}}],["这里面的所有选项在任何时候都会显示",{"2":{"4":1}}],["add",{"2":{"10":1}}],["abcdefg",{"2":{"5":1}}],["abc",{"2":{"5":3}}],["alias",{"2":{"2":1,"3":1,"4":1}}],["txt",{"2":{"7":1}}],["test",{"2":{"5":3}}],["tip",{"2":{"2":1,"3":1,"4":1,"5":6,"6":2,"8":1,"9":1}}],["是整个json文件形成的对象",{"2":{"5":1}}],["$json",{"2":{"5":3}}],["$info",{"2":{"5":2}}],["4",{"0":{"5":1}}],["显示帮助信息",{"2":{"4":1}}],["显示当前版本",{"2":{"3":1}}],["h",{"2":{"4":1}}],["help",{"2":{"4":1}}],["hooks",{"2":{"2":1,"6":3}}],["结构与",{"2":{"4":1}}],["3",{"0":{"4":1,"10":1}}],["values",{"2":{"6":2}}],["value",{"2":{"6":2}}],["v",{"2":{"3":1}}],["version",{"2":{"3":1}}],["vscode",{"2":{"2":1}}],["20",{"2":{"6":2}}],["2",{"0":{"3":1,"9":1}}],["writespacetab",{"2":{"2":1}}],["request",{"0":{"7":1},"1":{"8":1,"9":1,"10":1}}],["reset",{"2":{"2":1,"6":2}}],["rm",{"2":{"2":1,"10":1}}],["root",{"0":{"2":1},"2":{"0":1,"2":1,"3":1,"5":1}}],["当提交",{"2":{"10":1}}],["当补全使用到了",{"2":{"2":1}}],["当补全项有",{"2":{"2":1}}],["当",{"2":{"2":1}}],["的",{"2":{"10":1}}],["的最大数量",{"2":{"6":1}}],["的特殊配置为例",{"2":{"6":1}}],["的情况",{"2":{"2":1}}],["的值也是一个数组",{"2":{"2":1}}],["需要手动添加",{"2":{"2":1}}],["optiontab",{"2":{"2":1}}],["options中的",{"2":{"2":1}}],["options",{"0":{"3":1,"4":1},"2":{"0":2,"2":6,"3":2,"4":2}}],["会将创建的补全目录链接到实际",{"2":{"10":1}}],["会解析所有的",{"2":{"6":1}}],["会自动添加",{"2":{"2":1}}],["会根据上下文",{"2":{"2":1}}],["时",{"2":{"2":1}}],["用于显示符号",{"2":{"2":1}}],["自动添加一些值",{"2":{"2":1}}],["你应该使用",{"2":{"10":1}}],["你应该",{"2":{"7":1}}],["你应该先阅读",{"2":{"7":1}}],["你可以将原有的一个",{"2":{"9":1}}],["你可以使用以下命令查看",{"2":{"8":1}}],["你可以手动运行",{"2":{"7":1}}],["你可以禁用它",{"2":{"6":1}}],["你可以通过悬浮提示了解属性",{"2":{"0":1}}],["你不需要考虑定义",{"2":{"2":1}}],["就是不能在选项中嵌套选项",{"2":{"2":1}}],["就能看懂了",{"2":{"0":1}}],["属性的内容即可",{"2":{"9":1}}],["属性里添加像",{"2":{"9":1}}],["属性会自动添加",{"2":{"2":1}}],["属性",{"2":{"2":1,"8":1}}],["属性详解",{"0":{"1":1},"1":{"2":1,"3":1,"4":1,"5":1,"6":1}}],["不同点",{"2":{"2":1}}],["不多解释",{"2":{"2":1}}],["几乎和",{"2":{"2":1}}],["和",{"2":{"2":1,"3":1}}],["其中",{"2":{"2":1}}],["其实很简单",{"2":{"0":1}}],["很容易理解",{"2":{"2":1}}],["中配置的第一个语言对比",{"2":{"8":1}}],["中的",{"2":{"6":1}}],["中的每一项的",{"2":{"3":1}}],["中的选项类补全需要有几个预设值时",{"2":{"2":1}}],["中不允许添加",{"2":{"2":1}}],["中",{"2":{"2":1}}],["在项目根目录下运行",{"2":{"10":1}}],["在项目的",{"2":{"9":1}}],["在其目录下的",{"2":{"9":1}}],["在弹出的",{"2":{"7":1}}],["在大多数情况",{"2":{"2":1}}],["在",{"2":{"2":2,"9":1}}],["new",{"2":{"7":1}}],["next",{"2":{"2":3}}],["n",{"2":{"6":6}}],["name",{"2":{"2":4,"3":1,"4":1,"5":2,"6":2}}],["scope",{"2":{"10":1}}],["script",{"2":{"7":1,"8":3,"10":1}}],["schema",{"2":{"0":1,"2":1}}],["soft",{"2":{"2":1}}],["spacetab",{"2":{"2":3}}],["symbol",{"2":{"2":7}}],["通常情况下",{"2":{"2":1}}],["最核心的一个属性",{"2":{"2":1}}],["值类型",{"2":{"2":1,"3":1,"4":1,"5":1,"6":1}}],["1",{"0":{"2":1,"8":1},"2":{"6":4}}],["多看几个已有的",{"2":{"0":1}}],["内容的正确和完整",{"2":{"0":1}}],["架构来保证",{"2":{"0":1}}],["文件直接复制",{"2":{"9":1}}],["文件中的",{"2":{"9":1}}],["文件缺少的属性",{"2":{"8":1}}],["文件内容",{"0":{"8":1}}],["文件",{"2":{"0":1,"7":1,"8":1,"9":1}}],["文件使用了",{"2":{"0":1}}],["文件的总体结构",{"2":{"0":1}}],["文件结构",{"0":{"0":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1},"2":{"7":1}}],["\\t\\t\\t",{"2":{"2":2,"3":3,"4":3,"5":4}}],["\\t\\t",{"2":{"2":2,"3":2,"4":2,"5":6}}],["\\t",{"2":{"0":5,"2":5,"3":2,"4":2,"5":4}}],["json",{"0":{"0":1,"8":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1},"2":{"0":5,"2":2,"3":1,"4":1,"5":1,"6":1,"7":1,"8":6,"9":3,"10":1}}]],"serializationVersion":2}';export{t as default}; diff --git a/assets/chunks/@localSearchIndexzh-CN.DmnVHwnH.js b/assets/chunks/@localSearchIndexzh-CN.DmnVHwnH.js deleted file mode 100644 index cab4db8..0000000 --- a/assets/chunks/@localSearchIndexzh-CN.DmnVHwnH.js +++ /dev/null @@ -1 +0,0 @@ -const t='{"documentCount":11,"nextId":11,"documentIds":{"0":"/PSCompletions/zh-CN/completion/#关于补全的-json-文件结构","1":"/PSCompletions/zh-CN/completion/#属性详解","2":"/PSCompletions/zh-CN/completion/#_1-root","3":"/PSCompletions/zh-CN/completion/#_2-options","4":"/PSCompletions/zh-CN/completion/#_3-common-options","5":"/PSCompletions/zh-CN/completion/#_4-info","6":"/PSCompletions/zh-CN/completion/#_5-config","7":"/PSCompletions/zh-CN/contribute/#关于-pr-pull-request","8":"/PSCompletions/zh-CN/contribute/#_1-更新-json-文件内容","9":"/PSCompletions/zh-CN/contribute/#_2-添加语言","10":"/PSCompletions/zh-CN/contribute/#_3-添加一个全新的命令补全"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[3,1,19],"1":[1,3,1],"2":[3,4,60],"3":[3,4,18],"4":[4,4,18],"5":[3,4,21],"6":[3,4,54],"7":[5,1,33],"8":[5,5,30],"9":[3,5,22],"10":[3,5,35]},"averageFieldLength":[3.272727272727273,3.6363636363636362,28.272727272727273],"storedFields":{"0":{"title":"关于补全的 json 文件结构","titles":[]},"1":{"title":"属性详解","titles":["关于补全的 json 文件结构"]},"2":{"title":"1. root","titles":["关于补全的 json 文件结构","属性详解"]},"3":{"title":"2. options","titles":["关于补全的 json 文件结构","属性详解"]},"4":{"title":"3. common_options","titles":["关于补全的 json 文件结构","属性详解"]},"5":{"title":"4. info","titles":["关于补全的 json 文件结构","属性详解"]},"6":{"title":"5. config","titles":["关于补全的 json 文件结构","属性详解"]},"7":{"title":"关于 PR (Pull Request)","titles":[]},"8":{"title":"1. 更新 json 文件内容","titles":["关于 PR (Pull Request)"]},"9":{"title":"2. 添加语言","titles":["关于 PR (Pull Request)"]},"10":{"title":"3. 添加一个全新的命令补全","titles":["关于 PR (Pull Request)"]}},"dirtCount":0,"index":[["根据需求修改",{"2":{"10":1}}],["根据提示进行操作",{"2":{"10":1}}],["修改新创建的补全",{"2":{"10":1}}],["修改完成后",{"2":{"7":1}}],["重新添加",{"2":{"10":1}}],["移除掉此补全",{"2":{"10":1}}],["并使用",{"2":{"10":1}}],["并被合并后",{"2":{"10":1}}],["并应用修改即可",{"2":{"7":1}}],["import",{"2":{"10":1}}],["install",{"2":{"10":1}}],["info",{"0":{"5":1},"2":{"0":1,"5":2}}],["module",{"2":{"10":2}}],["magenta>",{"2":{"6":2}}],["magenta>max",{"2":{"6":1}}],["max",{"2":{"6":1}}],["然后再运行",{"2":{"10":1}}],["然后动态添加到一些补全中",{"2":{"6":1}}],["模块",{"2":{"10":1}}],["必须先安装并导入",{"2":{"10":1}}],["必需",{"2":{"2":1}}],["因此",{"2":{"10":1}}],["因为",{"2":{"2":1}}],["为了调试方便",{"2":{"10":1}}],["翻译其中的",{"2":{"9":1}}],["改名即可",{"2":{"9":1}}],["目录下",{"2":{"10":1}}],["目录下添加与语言标识符同名的",{"2":{"9":1}}],["目录中找到你想要添加语言的补全",{"2":{"9":1}}],["所以以下命令是最常见的用法",{"2":{"8":1}}],["一般都是和第一个语言对比",{"2":{"8":1}}],["也可以省略第二个参数",{"2":{"8":1}}],["也可以直接运行",{"2":{"7":1}}],["language",{"2":{"8":3,"9":2}}],["us",{"2":{"8":2}}],["updateguid",{"2":{"7":1}}],["en",{"2":{"8":2}}],["相较于",{"2":{"8":1}}],["相同",{"2":{"2":1,"3":1,"4":1}}],["zh",{"2":{"8":3,"9":1}}],["举例",{"2":{"8":1}}],["脚本来查看未完成的部分",{"2":{"8":1}}],["添加一个全新的命令补全",{"0":{"10":1}}],["添加语言",{"0":{"9":1}}],["添加补全的一些缺失的命令",{"2":{"8":1}}],["添加了动态补全项时",{"2":{"2":1}}],["完善补全的一些提示信息",{"2":{"8":1}}],["更新",{"0":{"8":1}}],["提交并创建",{"2":{"7":1}}],["选择此补全",{"2":{"7":1}}],["列表框中",{"2":{"7":1}}],["将值填入此文件中",{"2":{"7":1}}],["生成",{"2":{"7":1}}],["guid",{"2":{"7":2}}],["git",{"2":{"6":3,"8":4}}],["都需要更新其目录下的",{"2":{"7":1}}],["只要到补全文件进行了修改",{"2":{"7":1}}],["克隆到本地进行修改",{"2":{"7":1}}],["仓库",{"2":{"7":1}}],["fork",{"2":{"7":1}}],["前提",{"2":{"7":1}}],["powershell",{"2":{"7":1}}],["psc",{"2":{"10":2}}],["pscompletions",{"2":{"7":1,"10":4}}],["ps1",{"2":{"7":1,"8":3,"10":3}}],["pull",{"0":{"7":1},"1":{"8":1,"9":1,"10":1}}],["pr",{"0":{"7":1},"1":{"8":1,"9":1,"10":1},"2":{"7":1,"10":1}}],["关于",{"0":{"7":1},"1":{"8":1,"9":1,"10":1}}],["关于补全的",{"0":{"0":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1},"2":{"7":1}}],["对补全加载的速度会有不小的影响",{"2":{"6":1}}],["对象",{"2":{"5":1}}],["对象可用属性",{"2":{"2":1}}],["设置为",{"2":{"6":1}}],["设置是否禁用",{"2":{"6":1}}],["数量较多",{"2":{"6":1}}],["数组中的每一项是一个对象",{"2":{"2":1}}],["数组",{"2":{"2":1,"3":1,"4":1,"6":1}}],["可以通过",{"2":{"8":1}}],["可以为当前项目解析的",{"2":{"6":1}}],["可以在其他地方通过以下语法获取",{"2":{"5":1}}],["配置也将无效",{"2":{"6":1}}],["配合",{"2":{"2":1}}],["blue>",{"2":{"6":3}}],["branch",{"2":{"6":1}}],["x3c",{"2":{"6":6}}],["xxx",{"2":{"5":2}}],["那么",{"2":{"6":1}}],["快速补全",{"2":{"6":1}}],["后可以获取到解析出来的",{"2":{"6":1}}],["等",{"2":{"6":1}}],["currentuser",{"2":{"10":1}}],["create",{"2":{"10":3}}],["cn",{"2":{"8":3,"9":1}}],["checkout",{"2":{"6":1}}],["completions",{"2":{"8":3,"9":1,"10":1}}],["comparejson",{"2":{"8":3}}],["commit",{"2":{"6":7}}],["common",{"0":{"4":1},"2":{"0":1,"4":1}}],["config",{"0":{"6":1},"2":{"0":1,"6":1,"8":1,"9":1,"10":1}}],["如果是和",{"2":{"8":1}}],["如果项目",{"2":{"6":1}}],["如果设置为",{"2":{"6":1}}],["如果禁用它",{"2":{"6":1}}],["如果你不需要它",{"2":{"6":1}}],["如",{"2":{"6":2}}],["分支信息等",{"2":{"6":1}}],["信息",{"2":{"6":1}}],["主要用于解析",{"2":{"6":1}}],["表示不禁用",{"2":{"6":1}}],["默认为",{"2":{"6":1}}],["0",{"2":{"6":3}}],["disable",{"2":{"6":1}}],["以",{"2":{"6":1,"8":1}}],["以上是",{"2":{"0":1}}],["定义补全的特殊配置",{"2":{"6":1}}],["定义的所有值",{"2":{"5":1}}],["5",{"0":{"6":1}}],["这样的语言标识符",{"2":{"9":1}}],["这样可以提高补全的加载速度",{"2":{"6":1}}],["这是一个测试内容",{"2":{"5":1}}],["这里面的所有选项在任何时候都会显示",{"2":{"4":1}}],["add",{"2":{"10":1}}],["abcdefg",{"2":{"5":1}}],["abc",{"2":{"5":3}}],["alias",{"2":{"2":1,"3":1,"4":1}}],["txt",{"2":{"7":1}}],["test",{"2":{"5":3}}],["tip",{"2":{"2":1,"3":1,"4":1,"5":6,"6":2,"8":1,"9":1}}],["是整个json文件形成的对象",{"2":{"5":1}}],["$json",{"2":{"5":3}}],["$info",{"2":{"5":2}}],["4",{"0":{"5":1}}],["显示帮助信息",{"2":{"4":1}}],["显示当前版本",{"2":{"3":1}}],["h",{"2":{"4":1}}],["help",{"2":{"4":1}}],["hooks",{"2":{"2":1,"6":3}}],["结构与",{"2":{"4":1}}],["3",{"0":{"4":1,"10":1}}],["values",{"2":{"6":2}}],["value",{"2":{"6":2}}],["v",{"2":{"3":1}}],["version",{"2":{"3":1}}],["vscode",{"2":{"2":1}}],["20",{"2":{"6":2}}],["2",{"0":{"3":1,"9":1}}],["writespacetab",{"2":{"2":1}}],["request",{"0":{"7":1},"1":{"8":1,"9":1,"10":1}}],["reset",{"2":{"2":1,"6":2}}],["rm",{"2":{"2":1,"10":1}}],["root",{"0":{"2":1},"2":{"0":1,"2":1,"3":1,"5":1}}],["当提交",{"2":{"10":1}}],["当补全使用到了",{"2":{"2":1}}],["当补全项有",{"2":{"2":1}}],["当",{"2":{"2":1}}],["的",{"2":{"10":1}}],["的最大数量",{"2":{"6":1}}],["的特殊配置为例",{"2":{"6":1}}],["的情况",{"2":{"2":1}}],["的值也是一个数组",{"2":{"2":1}}],["需要手动添加",{"2":{"2":1}}],["optiontab",{"2":{"2":1}}],["options中的",{"2":{"2":1}}],["options",{"0":{"3":1,"4":1},"2":{"0":2,"2":6,"3":2,"4":2}}],["会将创建的补全目录链接到实际",{"2":{"10":1}}],["会解析所有的",{"2":{"6":1}}],["会自动添加",{"2":{"2":1}}],["会根据上下文",{"2":{"2":1}}],["时",{"2":{"2":1}}],["用于显示符号",{"2":{"2":1}}],["自动添加一些值",{"2":{"2":1}}],["你应该使用",{"2":{"10":1}}],["你应该",{"2":{"7":1}}],["你应该先阅读",{"2":{"7":1}}],["你可以将原有的一个",{"2":{"9":1}}],["你可以使用以下命令查看",{"2":{"8":1}}],["你可以手动运行",{"2":{"7":1}}],["你可以禁用它",{"2":{"6":1}}],["你可以通过悬浮提示了解属性",{"2":{"0":1}}],["你不需要考虑定义",{"2":{"2":1}}],["就是不能在选项中嵌套选项",{"2":{"2":1}}],["就能看懂了",{"2":{"0":1}}],["属性的内容即可",{"2":{"9":1}}],["属性里添加像",{"2":{"9":1}}],["属性会自动添加",{"2":{"2":1}}],["属性",{"2":{"2":1,"8":1}}],["属性详解",{"0":{"1":1},"1":{"2":1,"3":1,"4":1,"5":1,"6":1}}],["不同点",{"2":{"2":1}}],["不多解释",{"2":{"2":1}}],["几乎和",{"2":{"2":1}}],["和",{"2":{"2":1,"3":1}}],["其中",{"2":{"2":1}}],["其实很简单",{"2":{"0":1}}],["很容易理解",{"2":{"2":1}}],["中配置的第一个语言对比",{"2":{"8":1}}],["中的",{"2":{"6":1}}],["中的每一项的",{"2":{"3":1}}],["中的选项类补全需要有几个预设值时",{"2":{"2":1}}],["中不允许添加",{"2":{"2":1}}],["中",{"2":{"2":1}}],["在项目根目录下运行",{"2":{"10":1}}],["在项目的",{"2":{"9":1}}],["在其目录下的",{"2":{"9":1}}],["在弹出的",{"2":{"7":1}}],["在大多数情况",{"2":{"2":1}}],["在",{"2":{"2":2,"9":1}}],["new",{"2":{"7":1}}],["next",{"2":{"2":3}}],["n",{"2":{"6":6}}],["name",{"2":{"2":4,"3":1,"4":1,"5":2,"6":2}}],["scope",{"2":{"10":1}}],["script",{"2":{"7":1,"8":3,"10":1}}],["schema",{"2":{"0":1,"2":1}}],["soft",{"2":{"2":1}}],["spacetab",{"2":{"2":3}}],["symbol",{"2":{"2":7}}],["通常情况下",{"2":{"2":1}}],["最核心的一个属性",{"2":{"2":1}}],["值类型",{"2":{"2":1,"3":1,"4":1,"5":1,"6":1}}],["1",{"0":{"2":1,"8":1},"2":{"6":4}}],["多看几个已有的",{"2":{"0":1}}],["内容的正确和完整",{"2":{"0":1}}],["架构来保证",{"2":{"0":1}}],["文件直接复制",{"2":{"9":1}}],["文件中的",{"2":{"9":1}}],["文件缺少的属性",{"2":{"8":1}}],["文件内容",{"0":{"8":1}}],["文件",{"2":{"0":1,"7":1,"8":1,"9":1}}],["文件使用了",{"2":{"0":1}}],["文件的总体结构",{"2":{"0":1}}],["文件结构",{"0":{"0":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1},"2":{"7":1}}],["\\t\\t\\t",{"2":{"2":2,"3":3,"4":3,"5":4}}],["\\t\\t",{"2":{"2":2,"3":2,"4":2,"5":6}}],["\\t",{"2":{"0":5,"2":5,"3":2,"4":2,"5":4}}],["json",{"0":{"0":1,"8":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1},"2":{"0":5,"2":2,"3":1,"4":1,"5":1,"6":1,"7":1,"8":6,"9":3,"10":1}}]],"serializationVersion":2}';export{t as default}; diff --git a/docs/.vitepress/dist/assets/chunks/VPLocalSearchBox.B0iG0UrU.js b/assets/chunks/VPLocalSearchBox.2xWSu_6i.js similarity index 82% rename from docs/.vitepress/dist/assets/chunks/VPLocalSearchBox.B0iG0UrU.js rename to assets/chunks/VPLocalSearchBox.2xWSu_6i.js index 90d5613..c088d7b 100644 --- a/docs/.vitepress/dist/assets/chunks/VPLocalSearchBox.B0iG0UrU.js +++ b/assets/chunks/VPLocalSearchBox.2xWSu_6i.js @@ -1,7 +1,7 @@ -var Ft=Object.defineProperty;var Ot=(a,e,t)=>e in a?Ft(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var Ce=(a,e,t)=>Ot(a,typeof e!="symbol"?e+"":e,t);import{X as et,s as ne,v as Ve,aj as Rt,ak as Ct,d as Mt,G as be,al as tt,h as ye,am as At,an as Lt,x as Dt,ao as zt,y as Me,R as de,Q as we,ap as Pt,aq as jt,Y as Vt,U as $t,a1 as Bt,o as H,b as Wt,j as _,a2 as Kt,k as D,ar as Jt,as as Ut,at as qt,c as Z,n as st,e as _e,E as nt,F as it,a as he,t as fe,au as Gt,p as Qt,l as Ht,av as rt,aw as Yt,a8 as Zt,ae as Xt,ax as es,_ as ts}from"./framework.DB6FXu2X.js";import{u as ss,c as ns}from"./theme.Cje-DEyP.js";const is={"en-US":()=>et(()=>import("./@localSearchIndexen-US.DicNScNi.js"),[]),"zh-CN":()=>et(()=>import("./@localSearchIndexzh-CN.DmnVHwnH.js"),[])};/*! +var Ft=Object.defineProperty;var Ot=(a,e,t)=>e in a?Ft(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var Ce=(a,e,t)=>Ot(a,typeof e!="symbol"?e+"":e,t);import{X as et,s as ne,v as Ve,aj as Rt,ak as Ct,d as Mt,G as be,al as tt,h as ye,am as At,an as Lt,x as Dt,ao as zt,y as Me,R as de,Q as we,ap as Pt,aq as jt,Y as Vt,U as $t,a1 as Bt,o as H,b as Wt,j as _,a2 as Kt,k as D,ar as Jt,as as Ut,at as qt,c as Z,n as st,e as _e,E as nt,F as it,a as he,t as fe,au as Gt,p as Qt,l as Ht,av as rt,aw as Yt,a8 as Zt,ae as Xt,ax as es,_ as ts}from"./framework.B_akP0Gx.js";import{u as ss,c as ns}from"./theme.CvjxxwCL.js";const is={"en-US":()=>et(()=>import("./@localSearchIndexen-US.Dx09-TZx.js"),[]),"zh-CN":()=>et(()=>import("./@localSearchIndexzh-CN.DSk1Alg2.js"),[])};/*! * tabbable 6.2.0 * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE */var mt=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Te=mt.join(","),gt=typeof Element>"u",re=gt?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ne=!gt&&Element.prototype.getRootNode?function(a){var e;return a==null||(e=a.getRootNode)===null||e===void 0?void 0:e.call(a)}:function(a){return a==null?void 0:a.ownerDocument},ke=function a(e,t){var s;t===void 0&&(t=!0);var n=e==null||(s=e.getAttribute)===null||s===void 0?void 0:s.call(e,"inert"),r=n===""||n==="true",i=r||t&&e&&a(e.parentNode);return i},rs=function(e){var t,s=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return s===""||s==="true"},bt=function(e,t,s){if(ke(e))return[];var n=Array.prototype.slice.apply(e.querySelectorAll(Te));return t&&re.call(e,Te)&&n.unshift(e),n=n.filter(s),n},yt=function a(e,t,s){for(var n=[],r=Array.from(e);r.length;){var i=r.shift();if(!ke(i,!1))if(i.tagName==="SLOT"){var o=i.assignedElements(),c=o.length?o:i.children,l=a(c,!0,s);s.flatten?n.push.apply(n,l):n.push({scopeParent:i,candidates:l})}else{var h=re.call(i,Te);h&&s.filter(i)&&(t||!e.includes(i))&&n.push(i);var f=i.shadowRoot||typeof s.getShadowRoot=="function"&&s.getShadowRoot(i),v=!ke(f,!1)&&(!s.shadowRootFilter||s.shadowRootFilter(i));if(f&&v){var y=a(f===!0?i.children:f.children,!0,s);s.flatten?n.push.apply(n,y):n.push({scopeParent:i,candidates:y})}else r.unshift.apply(r,i.children)}}return n},wt=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},ie=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||rs(e))&&!wt(e)?0:e.tabIndex},as=function(e,t){var s=ie(e);return s<0&&t&&!wt(e)?0:s},os=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},_t=function(e){return e.tagName==="INPUT"},cs=function(e){return _t(e)&&e.type==="hidden"},ls=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(s){return s.tagName==="SUMMARY"});return t},us=function(e,t){for(var s=0;ssummary:first-of-type"),i=r?e.parentElement:e;if(re.call(i,"details:not([open]) *"))return!0;if(!s||s==="full"||s==="legacy-full"){if(typeof n=="function"){for(var o=e;e;){var c=e.parentElement,l=Ne(e);if(c&&!c.shadowRoot&&n(c)===!0)return at(e);e.assignedSlot?e=e.assignedSlot:!c&&l!==e.ownerDocument?e=l.host:e=c}e=o}if(ps(e))return!e.getClientRects().length;if(s!=="legacy-full")return!0}else if(s==="non-zero-area")return at(e);return!1},ms=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var s=0;s=0)},bs=function a(e){var t=[],s=[];return e.forEach(function(n,r){var i=!!n.scopeParent,o=i?n.scopeParent:n,c=as(o,i),l=i?a(n.candidates):o;c===0?i?t.push.apply(t,l):t.push(o):s.push({documentOrder:r,tabIndex:c,item:n,isScope:i,content:l})}),s.sort(os).reduce(function(n,r){return r.isScope?n.push.apply(n,r.content):n.push(r.content),n},[]).concat(t)},ys=function(e,t){t=t||{};var s;return t.getShadowRoot?s=yt([e],t.includeContainer,{filter:$e.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:gs}):s=bt(e,t.includeContainer,$e.bind(null,t)),bs(s)},ws=function(e,t){t=t||{};var s;return t.getShadowRoot?s=yt([e],t.includeContainer,{filter:Fe.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):s=bt(e,t.includeContainer,Fe.bind(null,t)),s},ae=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return re.call(e,Te)===!1?!1:$e(t,e)},_s=mt.concat("iframe").join(","),Ae=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return re.call(e,_s)===!1?!1:Fe(t,e)};/*! * focus-trap 7.5.4 * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE -*/function ot(a,e){var t=Object.keys(a);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(a);e&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(a,n).enumerable})),t.push.apply(t,s)}return t}function ct(a){for(var e=1;e0){var s=e[e.length-1];s!==t&&s.pause()}var n=e.indexOf(t);n===-1||e.splice(n,1),e.push(t)},deactivateTrap:function(e,t){var s=e.indexOf(t);s!==-1&&e.splice(s,1),e.length>0&&e[e.length-1].unpause()}},Is=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Ts=function(e){return(e==null?void 0:e.key)==="Escape"||(e==null?void 0:e.key)==="Esc"||(e==null?void 0:e.keyCode)===27},ve=function(e){return(e==null?void 0:e.key)==="Tab"||(e==null?void 0:e.keyCode)===9},Ns=function(e){return ve(e)&&!e.shiftKey},ks=function(e){return ve(e)&&e.shiftKey},ut=function(e){return setTimeout(e,0)},dt=function(e,t){var s=-1;return e.every(function(n,r){return t(n)?(s=r,!1):!0}),s},pe=function(e){for(var t=arguments.length,s=new Array(t>1?t-1:0),n=1;n1?m-1:0),E=1;E=0)u=s.activeElement;else{var d=i.tabbableGroups[0],m=d&&d.firstTabbableNode;u=m||h("fallbackFocus")}if(!u)throw new Error("Your focus-trap needs to have at least one focusable element");return u},v=function(){if(i.containerGroups=i.containers.map(function(u){var d=ys(u,r.tabbableOptions),m=ws(u,r.tabbableOptions),S=d.length>0?d[0]:void 0,E=d.length>0?d[d.length-1]:void 0,k=m.find(function(p){return ae(p)}),F=m.slice().reverse().find(function(p){return ae(p)}),M=!!d.find(function(p){return ie(p)>0});return{container:u,tabbableNodes:d,focusableNodes:m,posTabIndexesFound:M,firstTabbableNode:S,lastTabbableNode:E,firstDomTabbableNode:k,lastDomTabbableNode:F,nextTabbableNode:function(g){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,O=d.indexOf(g);return O<0?N?m.slice(m.indexOf(g)+1).find(function(P){return ae(P)}):m.slice(0,m.indexOf(g)).reverse().find(function(P){return ae(P)}):d[O+(N?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(u){return u.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!h("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(u){return u.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},y=function I(u){var d=u.activeElement;if(d)return d.shadowRoot&&d.shadowRoot.activeElement!==null?I(d.shadowRoot):d},w=function I(u){if(u!==!1&&u!==y(document)){if(!u||!u.focus){I(f());return}u.focus({preventScroll:!!r.preventScroll}),i.mostRecentlyFocusedNode=u,Is(u)&&u.select()}},b=function(u){var d=h("setReturnFocus",u);return d||(d===!1?!1:u)},x=function(u){var d=u.target,m=u.event,S=u.isBackward,E=S===void 0?!1:S;d=d||xe(m),v();var k=null;if(i.tabbableGroups.length>0){var F=l(d,m),M=F>=0?i.containerGroups[F]:void 0;if(F<0)E?k=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:k=i.tabbableGroups[0].firstTabbableNode;else if(E){var p=dt(i.tabbableGroups,function(T){var L=T.firstTabbableNode;return d===L});if(p<0&&(M.container===d||Ae(d,r.tabbableOptions)&&!ae(d,r.tabbableOptions)&&!M.nextTabbableNode(d,!1))&&(p=F),p>=0){var g=p===0?i.tabbableGroups.length-1:p-1,N=i.tabbableGroups[g];k=ie(d)>=0?N.lastTabbableNode:N.lastDomTabbableNode}else ve(m)||(k=M.nextTabbableNode(d,!1))}else{var O=dt(i.tabbableGroups,function(T){var L=T.lastTabbableNode;return d===L});if(O<0&&(M.container===d||Ae(d,r.tabbableOptions)&&!ae(d,r.tabbableOptions)&&!M.nextTabbableNode(d))&&(O=F),O>=0){var P=O===i.tabbableGroups.length-1?0:O+1,j=i.tabbableGroups[P];k=ie(d)>=0?j.firstTabbableNode:j.firstDomTabbableNode}else ve(m)||(k=M.nextTabbableNode(d))}}else k=h("fallbackFocus");return k},C=function(u){var d=xe(u);if(!(l(d,u)>=0)){if(pe(r.clickOutsideDeactivates,u)){o.deactivate({returnFocus:r.returnFocusOnDeactivate});return}pe(r.allowOutsideClick,u)||u.preventDefault()}},R=function(u){var d=xe(u),m=l(d,u)>=0;if(m||d instanceof Document)m&&(i.mostRecentlyFocusedNode=d);else{u.stopImmediatePropagation();var S,E=!0;if(i.mostRecentlyFocusedNode)if(ie(i.mostRecentlyFocusedNode)>0){var k=l(i.mostRecentlyFocusedNode),F=i.containerGroups[k].tabbableNodes;if(F.length>0){var M=F.findIndex(function(p){return p===i.mostRecentlyFocusedNode});M>=0&&(r.isKeyForward(i.recentNavEvent)?M+1=0&&(S=F[M-1],E=!1))}}else i.containerGroups.some(function(p){return p.tabbableNodes.some(function(g){return ie(g)>0})})||(E=!1);else E=!1;E&&(S=x({target:i.mostRecentlyFocusedNode,isBackward:r.isKeyBackward(i.recentNavEvent)})),w(S||i.mostRecentlyFocusedNode||f())}i.recentNavEvent=void 0},W=function(u){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=u;var m=x({event:u,isBackward:d});m&&(ve(u)&&u.preventDefault(),w(m))},J=function(u){if(Ts(u)&&pe(r.escapeDeactivates,u)!==!1){u.preventDefault(),o.deactivate();return}(r.isKeyForward(u)||r.isKeyBackward(u))&&W(u,r.isKeyBackward(u))},V=function(u){var d=xe(u);l(d,u)>=0||pe(r.clickOutsideDeactivates,u)||pe(r.allowOutsideClick,u)||(u.preventDefault(),u.stopImmediatePropagation())},U=function(){if(i.active)return lt.activateTrap(n,o),i.delayInitialFocusTimer=r.delayInitialFocus?ut(function(){w(f())}):w(f()),s.addEventListener("focusin",R,!0),s.addEventListener("mousedown",C,{capture:!0,passive:!1}),s.addEventListener("touchstart",C,{capture:!0,passive:!1}),s.addEventListener("click",V,{capture:!0,passive:!1}),s.addEventListener("keydown",J,{capture:!0,passive:!1}),o},q=function(){if(i.active)return s.removeEventListener("focusin",R,!0),s.removeEventListener("mousedown",C,!0),s.removeEventListener("touchstart",C,!0),s.removeEventListener("click",V,!0),s.removeEventListener("keydown",J,!0),o},Re=function(u){var d=u.some(function(m){var S=Array.from(m.removedNodes);return S.some(function(E){return E===i.mostRecentlyFocusedNode})});d&&w(f())},A=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(Re):void 0,K=function(){A&&(A.disconnect(),i.active&&!i.paused&&i.containers.map(function(u){A.observe(u,{subtree:!0,childList:!0})}))};return o={get active(){return i.active},get paused(){return i.paused},activate:function(u){if(i.active)return this;var d=c(u,"onActivate"),m=c(u,"onPostActivate"),S=c(u,"checkCanFocusTrap");S||v(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=s.activeElement,d==null||d();var E=function(){S&&v(),U(),K(),m==null||m()};return S?(S(i.containers.concat()).then(E,E),this):(E(),this)},deactivate:function(u){if(!i.active)return this;var d=ct({onDeactivate:r.onDeactivate,onPostDeactivate:r.onPostDeactivate,checkCanReturnFocus:r.checkCanReturnFocus},u);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,q(),i.active=!1,i.paused=!1,K(),lt.deactivateTrap(n,o);var m=c(d,"onDeactivate"),S=c(d,"onPostDeactivate"),E=c(d,"checkCanReturnFocus"),k=c(d,"returnFocus","returnFocusOnDeactivate");m==null||m();var F=function(){ut(function(){k&&w(b(i.nodeFocusedBeforeActivation)),S==null||S()})};return k&&E?(E(b(i.nodeFocusedBeforeActivation)).then(F,F),this):(F(),this)},pause:function(u){if(i.paused||!i.active)return this;var d=c(u,"onPause"),m=c(u,"onPostPause");return i.paused=!0,d==null||d(),q(),K(),m==null||m(),this},unpause:function(u){if(!i.paused||!i.active)return this;var d=c(u,"onUnpause"),m=c(u,"onPostUnpause");return i.paused=!1,d==null||d(),v(),U(),K(),m==null||m(),this},updateContainerElements:function(u){var d=[].concat(u).filter(Boolean);return i.containers=d.map(function(m){return typeof m=="string"?s.querySelector(m):m}),i.active&&v(),K(),this}},o.updateContainerElements(e),o};function Rs(a,e={}){let t;const{immediate:s,...n}=e,r=ne(!1),i=ne(!1),o=f=>t&&t.activate(f),c=f=>t&&t.deactivate(f),l=()=>{t&&(t.pause(),i.value=!0)},h=()=>{t&&(t.unpause(),i.value=!1)};return Ve(()=>Rt(a),f=>{f&&(t=Os(f,{...n,onActivate(){r.value=!0,e.onActivate&&e.onActivate()},onDeactivate(){r.value=!1,e.onDeactivate&&e.onDeactivate()}}),s&&o())},{flush:"post"}),Ct(()=>c()),{hasFocus:r,isPaused:i,activate:o,deactivate:c,pause:l,unpause:h}}class ce{constructor(e,t=!0,s=[],n=5e3){this.ctx=e,this.iframes=t,this.exclude=s,this.iframesTimeout=n}static matches(e,t){const s=typeof t=="string"?[t]:t,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let r=!1;return s.every(i=>n.call(e,i)?(r=!0,!1):!0),r}else return!1}getContexts(){let e,t=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(s=>{const n=t.filter(r=>r.contains(s)).length>0;t.indexOf(s)===-1&&!n&&t.push(s)}),t}getIframeContents(e,t,s=()=>{}){let n;try{const r=e.contentWindow;if(n=r.document,!r||!n)throw new Error("iframe inaccessible")}catch{s()}n&&t(n)}isIframeBlank(e){const t="about:blank",s=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&s!==t&&s}observeIframeLoad(e,t,s){let n=!1,r=null;const i=()=>{if(!n){n=!0,clearTimeout(r);try{this.isIframeBlank(e)||(e.removeEventListener("load",i),this.getIframeContents(e,t,s))}catch{s()}}};e.addEventListener("load",i),r=setTimeout(i,this.iframesTimeout)}onIframeReady(e,t,s){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,s):this.getIframeContents(e,t,s):this.observeIframeLoad(e,t,s)}catch{s()}}waitForIframes(e,t){let s=0;this.forEachIframe(e,()=>!0,n=>{s++,this.waitForIframes(n.querySelector("html"),()=>{--s||t()})},n=>{n||t()})}forEachIframe(e,t,s,n=()=>{}){let r=e.querySelectorAll("iframe"),i=r.length,o=0;r=Array.prototype.slice.call(r);const c=()=>{--i<=0&&n(o)};i||c(),r.forEach(l=>{ce.matches(l,this.exclude)?c():this.onIframeReady(l,h=>{t(l)&&(o++,s(h)),c()},c)})}createIterator(e,t,s){return document.createNodeIterator(e,t,s,!1)}createInstanceOnIframe(e){return new ce(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,s){const n=e.compareDocumentPosition(s),r=Node.DOCUMENT_POSITION_PRECEDING;if(n&r)if(t!==null){const i=t.compareDocumentPosition(s),o=Node.DOCUMENT_POSITION_FOLLOWING;if(i&o)return!0}else return!0;return!1}getIteratorNode(e){const t=e.previousNode();let s;return t===null?s=e.nextNode():s=e.nextNode()&&e.nextNode(),{prevNode:t,node:s}}checkIframeFilter(e,t,s,n){let r=!1,i=!1;return n.forEach((o,c)=>{o.val===s&&(r=c,i=o.handled)}),this.compareNodeIframe(e,t,s)?(r===!1&&!i?n.push({val:s,handled:!0}):r!==!1&&!i&&(n[r].handled=!0),!0):(r===!1&&n.push({val:s,handled:!1}),!1)}handleOpenIframes(e,t,s,n){e.forEach(r=>{r.handled||this.getIframeContents(r.val,i=>{this.createInstanceOnIframe(i).forEachNode(t,s,n)})})}iterateThroughNodes(e,t,s,n,r){const i=this.createIterator(t,e,n);let o=[],c=[],l,h,f=()=>({prevNode:h,node:l}=this.getIteratorNode(i),l);for(;f();)this.iframes&&this.forEachIframe(t,v=>this.checkIframeFilter(l,h,v,o),v=>{this.createInstanceOnIframe(v).forEachNode(e,y=>c.push(y),n)}),c.push(l);c.forEach(v=>{s(v)}),this.iframes&&this.handleOpenIframes(o,e,s,n),r()}forEachNode(e,t,s,n=()=>{}){const r=this.getContexts();let i=r.length;i||n(),r.forEach(o=>{const c=()=>{this.iterateThroughNodes(e,o,t,s,()=>{--i<=0&&n()})};this.iframes?this.waitForIframes(o,c):c()})}}let Cs=class{constructor(e){this.ctx=e,this.ie=!1;const t=window.navigator.userAgent;(t.indexOf("MSIE")>-1||t.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new ce(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){const s=this.opt.log;this.opt.debug&&typeof s=="object"&&typeof s[t]=="function"&&s[t](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){const t=this.opt.synonyms,s=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let r in t)if(t.hasOwnProperty(r)){const i=t[r],o=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(r):this.escapeStr(r),c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i);o!==""&&c!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(o)}|${this.escapeStr(c)})`,`gm${s}`),n+`(${this.processSynomyms(o)}|${this.processSynomyms(c)})`+n))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,s,n)=>{let r=n.charAt(s+1);return/[(|)\\]/.test(r)||r===""?t:t+"\0"})}createJoinersRegExp(e){let t=[];const s=this.opt.ignorePunctuation;return Array.isArray(s)&&s.length&&t.push(this.escapeStr(s.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){const t=this.opt.caseSensitive?"":"i",s=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let n=[];return e.split("").forEach(r=>{s.every(i=>{if(i.indexOf(r)!==-1){if(n.indexOf(i)>-1)return!1;e=e.replace(new RegExp(`[${i}]`,`gm${t}`),`[${i}]`),n.push(i)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){const t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿";let s=this.opt.accuracy,n=typeof s=="string"?s:s.value,r=typeof s=="string"?[]:s.limiters,i="";switch(r.forEach(o=>{i+=`|${this.escapeStr(o)}`}),n){case"partially":default:return`()(${e})`;case"complementary":return i="\\s"+(i||this.escapeStr(t)),`()([^${i}]*${e}[^${i}]*)`;case"exactly":return`(^|\\s${i})(${e})(?=$|\\s${i})`}}getSeparatedKeywords(e){let t=[];return e.forEach(s=>{this.opt.separateWordSearch?s.split(" ").forEach(n=>{n.trim()&&t.indexOf(n)===-1&&t.push(n)}):s.trim()&&t.indexOf(s)===-1&&t.push(s)}),{keywords:t.sort((s,n)=>n.length-s.length),length:t.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];const t=[];let s=0;return e.sort((n,r)=>n.start-r.start).forEach(n=>{let{start:r,end:i,valid:o}=this.callNoMatchOnInvalidRanges(n,s);o&&(n.start=r,n.length=i-r,t.push(n),s=i)}),t}callNoMatchOnInvalidRanges(e,t){let s,n,r=!1;return e&&typeof e.start<"u"?(s=parseInt(e.start,10),n=s+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-t>0&&n-s>0?r=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:s,end:n,valid:r}}checkWhitespaceRanges(e,t,s){let n,r=!0,i=s.length,o=t-i,c=parseInt(e.start,10)-o;return c=c>i?i:c,n=c+parseInt(e.length,10),n>i&&(n=i,this.log(`End range automatically set to the max value of ${i}`)),c<0||n-c<0||c>i||n>i?(r=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):s.substring(c,n).replace(/\s+/g,"")===""&&(r=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:c,end:n,valid:r}}getTextNodes(e){let t="",s=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{s.push({start:t.length,end:(t+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:s})})}matchesExclude(e){return ce.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,s){const n=this.opt.element?this.opt.element:"mark",r=e.splitText(t),i=r.splitText(s-t);let o=document.createElement(n);return o.setAttribute("data-markjs","true"),this.opt.className&&o.setAttribute("class",this.opt.className),o.textContent=r.textContent,r.parentNode.replaceChild(o,r),i}wrapRangeInMappedTextNode(e,t,s,n,r){e.nodes.every((i,o)=>{const c=e.nodes[o+1];if(typeof c>"u"||c.start>t){if(!n(i.node))return!1;const l=t-i.start,h=(s>i.end?i.end:s)-i.start,f=e.value.substr(0,i.start),v=e.value.substr(h+i.start);if(i.node=this.wrapRangeInTextNode(i.node,l,h),e.value=f+v,e.nodes.forEach((y,w)=>{w>=o&&(e.nodes[w].start>0&&w!==o&&(e.nodes[w].start-=h),e.nodes[w].end-=h)}),s-=h,r(i.node.previousSibling,i.start),s>i.end)t=i.end;else return!1}return!0})}wrapMatches(e,t,s,n,r){const i=t===0?0:t+1;this.getTextNodes(o=>{o.nodes.forEach(c=>{c=c.node;let l;for(;(l=e.exec(c.textContent))!==null&&l[i]!=="";){if(!s(l[i],c))continue;let h=l.index;if(i!==0)for(let f=1;f{let c;for(;(c=e.exec(o.value))!==null&&c[i]!=="";){let l=c.index;if(i!==0)for(let f=1;fs(c[i],f),(f,v)=>{e.lastIndex=v,n(f)})}r()})}wrapRangeFromIndex(e,t,s,n){this.getTextNodes(r=>{const i=r.value.length;e.forEach((o,c)=>{let{start:l,end:h,valid:f}=this.checkWhitespaceRanges(o,i,r.value);f&&this.wrapRangeInMappedTextNode(r,l,h,v=>t(v,o,r.value.substring(l,h),c),v=>{s(v,o)})}),n()})}unwrapMatches(e){const t=e.parentNode;let s=document.createDocumentFragment();for(;e.firstChild;)s.appendChild(e.removeChild(e.firstChild));t.replaceChild(s,e),this.ie?this.normalizeTextNode(t):t.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,t){this.opt=t,this.log(`Searching with expression "${e}"`);let s=0,n="wrapMatches";const r=i=>{s++,this.opt.each(i)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(i,o)=>this.opt.filter(o,i,s),r,()=>{s===0&&this.opt.noMatch(e),this.opt.done(s)})}mark(e,t){this.opt=t;let s=0,n="wrapMatches";const{keywords:r,length:i}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),o=this.opt.caseSensitive?"":"i",c=l=>{let h=new RegExp(this.createRegExp(l),`gm${o}`),f=0;this.log(`Searching with expression "${h}"`),this[n](h,1,(v,y)=>this.opt.filter(y,l,s,f),v=>{f++,s++,this.opt.each(v)},()=>{f===0&&this.opt.noMatch(l),r[i-1]===l?this.opt.done(s):c(r[r.indexOf(l)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),i===0?this.opt.done(s):c(r[0])}markRanges(e,t){this.opt=t;let s=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(r,i,o,c)=>this.opt.filter(r,i,o,c),(r,i)=>{s++,this.opt.each(r,i)},()=>{this.opt.done(s)})):this.opt.done(s)}unmark(e){this.opt=e;let t=this.opt.element?this.opt.element:"*";t+="[data-markjs]",this.opt.className&&(t+=`.${this.opt.className}`),this.log(`Removal selector "${t}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,s=>{this.unwrapMatches(s)},s=>{const n=ce.matches(s,t),r=this.matchesExclude(s);return!n||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Ms(a){const e=new Cs(a);return this.mark=(t,s)=>(e.mark(t,s),this),this.markRegExp=(t,s)=>(e.markRegExp(t,s),this),this.markRanges=(t,s)=>(e.markRanges(t,s),this),this.unmark=t=>(e.unmark(t),this),this}function Ie(a,e,t,s){function n(r){return r instanceof t?r:new t(function(i){i(r)})}return new(t||(t=Promise))(function(r,i){function o(h){try{l(s.next(h))}catch(f){i(f)}}function c(h){try{l(s.throw(h))}catch(f){i(f)}}function l(h){h.done?r(h.value):n(h.value).then(o,c)}l((s=s.apply(a,[])).next())})}const As="ENTRIES",xt="KEYS",St="VALUES",z="";class Le{constructor(e,t){const s=e._tree,n=Array.from(s.keys());this.set=e,this._type=t,this._path=n.length>0?[{node:s,keys:n}]:[]}next(){const e=this.dive();return this.backtrack(),e}dive(){if(this._path.length===0)return{done:!0,value:void 0};const{node:e,keys:t}=oe(this._path);if(oe(t)===z)return{done:!1,value:this.result()};const s=e.get(oe(t));return this._path.push({node:s,keys:Array.from(s.keys())}),this.dive()}backtrack(){if(this._path.length===0)return;const e=oe(this._path).keys;e.pop(),!(e.length>0)&&(this._path.pop(),this.backtrack())}key(){return this.set._prefix+this._path.map(({keys:e})=>oe(e)).filter(e=>e!==z).join("")}value(){return oe(this._path).node.get(z)}result(){switch(this._type){case St:return this.value();case xt:return this.key();default:return[this.key(),this.value()]}}[Symbol.iterator](){return this}}const oe=a=>a[a.length-1],Ls=(a,e,t)=>{const s=new Map;if(e===void 0)return s;const n=e.length+1,r=n+t,i=new Uint8Array(r*n).fill(t+1);for(let o=0;o{const c=r*i;e:for(const l of a.keys())if(l===z){const h=n[c-1];h<=t&&s.set(o,[a.get(l),h])}else{let h=r;for(let f=0;ft)continue e}Et(a.get(l),e,t,s,n,h,i,o+l)}};class X{constructor(e=new Map,t=""){this._size=void 0,this._tree=e,this._prefix=t}atPrefix(e){if(!e.startsWith(this._prefix))throw new Error("Mismatched prefix");const[t,s]=Oe(this._tree,e.slice(this._prefix.length));if(t===void 0){const[n,r]=Je(s);for(const i of n.keys())if(i!==z&&i.startsWith(r)){const o=new Map;return o.set(i.slice(r.length),n.get(i)),new X(o,e)}}return new X(t,e)}clear(){this._size=void 0,this._tree.clear()}delete(e){return this._size=void 0,Ds(this._tree,e)}entries(){return new Le(this,As)}forEach(e){for(const[t,s]of this)e(t,s,this)}fuzzyGet(e,t){return Ls(this._tree,e,t)}get(e){const t=Be(this._tree,e);return t!==void 0?t.get(z):void 0}has(e){const t=Be(this._tree,e);return t!==void 0&&t.has(z)}keys(){return new Le(this,xt)}set(e,t){if(typeof e!="string")throw new Error("key must be a string");return this._size=void 0,De(this._tree,e).set(z,t),this}get size(){if(this._size)return this._size;this._size=0;const e=this.entries();for(;!e.next().done;)this._size+=1;return this._size}update(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;const s=De(this._tree,e);return s.set(z,t(s.get(z))),this}fetch(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;const s=De(this._tree,e);let n=s.get(z);return n===void 0&&s.set(z,n=t()),n}values(){return new Le(this,St)}[Symbol.iterator](){return this.entries()}static from(e){const t=new X;for(const[s,n]of e)t.set(s,n);return t}static fromObject(e){return X.from(Object.entries(e))}}const Oe=(a,e,t=[])=>{if(e.length===0||a==null)return[a,t];for(const s of a.keys())if(s!==z&&e.startsWith(s))return t.push([a,s]),Oe(a.get(s),e.slice(s.length),t);return t.push([a,e]),Oe(void 0,"",t)},Be=(a,e)=>{if(e.length===0||a==null)return a;for(const t of a.keys())if(t!==z&&e.startsWith(t))return Be(a.get(t),e.slice(t.length))},De=(a,e)=>{const t=e.length;e:for(let s=0;a&&s{const[t,s]=Oe(a,e);if(t!==void 0){if(t.delete(z),t.size===0)It(s);else if(t.size===1){const[n,r]=t.entries().next().value;Tt(s,n,r)}}},It=a=>{if(a.length===0)return;const[e,t]=Je(a);if(e.delete(t),e.size===0)It(a.slice(0,-1));else if(e.size===1){const[s,n]=e.entries().next().value;s!==z&&Tt(a.slice(0,-1),s,n)}},Tt=(a,e,t)=>{if(a.length===0)return;const[s,n]=Je(a);s.set(n+e,t),s.delete(n)},Je=a=>a[a.length-1],Ue="or",Nt="and",zs="and_not";class le{constructor(e){if((e==null?void 0:e.fields)==null)throw new Error('MiniSearch: option "fields" must be provided');const t=e.autoVacuum==null||e.autoVacuum===!0?je:e.autoVacuum;this._options=Object.assign(Object.assign(Object.assign({},Pe),e),{autoVacuum:t,searchOptions:Object.assign(Object.assign({},ht),e.searchOptions||{}),autoSuggestOptions:Object.assign(Object.assign({},Bs),e.autoSuggestOptions||{})}),this._index=new X,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldIds={},this._fieldLength=new Map,this._avgFieldLength=[],this._nextId=0,this._storedFields=new Map,this._dirtCount=0,this._currentVacuum=null,this._enqueuedVacuum=null,this._enqueuedVacuumConditions=Ke,this.addFields(this._options.fields)}add(e){const{extractField:t,tokenize:s,processTerm:n,fields:r,idField:i}=this._options,o=t(e,i);if(o==null)throw new Error(`MiniSearch: document does not have ID field "${i}"`);if(this._idToShortId.has(o))throw new Error(`MiniSearch: duplicate ID ${o}`);const c=this.addDocumentId(o);this.saveStoredFields(c,e);for(const l of r){const h=t(e,l);if(h==null)continue;const f=s(h.toString(),l),v=this._fieldIds[l],y=new Set(f).size;this.addFieldLength(c,v,this._documentCount-1,y);for(const w of f){const b=n(w,l);if(Array.isArray(b))for(const x of b)this.addTerm(v,c,x);else b&&this.addTerm(v,c,b)}}}addAll(e){for(const t of e)this.add(t)}addAllAsync(e,t={}){const{chunkSize:s=10}=t,n={chunk:[],promise:Promise.resolve()},{chunk:r,promise:i}=e.reduce(({chunk:o,promise:c},l,h)=>(o.push(l),(h+1)%s===0?{chunk:[],promise:c.then(()=>new Promise(f=>setTimeout(f,0))).then(()=>this.addAll(o))}:{chunk:o,promise:c}),n);return i.then(()=>this.addAll(r))}remove(e){const{tokenize:t,processTerm:s,extractField:n,fields:r,idField:i}=this._options,o=n(e,i);if(o==null)throw new Error(`MiniSearch: document does not have ID field "${i}"`);const c=this._idToShortId.get(o);if(c==null)throw new Error(`MiniSearch: cannot remove document with ID ${o}: it is not in the index`);for(const l of r){const h=n(e,l);if(h==null)continue;const f=t(h.toString(),l),v=this._fieldIds[l],y=new Set(f).size;this.removeFieldLength(c,v,this._documentCount,y);for(const w of f){const b=s(w,l);if(Array.isArray(b))for(const x of b)this.removeTerm(v,c,x);else b&&this.removeTerm(v,c,b)}}this._storedFields.delete(c),this._documentIds.delete(c),this._idToShortId.delete(o),this._fieldLength.delete(c),this._documentCount-=1}removeAll(e){if(e)for(const t of e)this.remove(t);else{if(arguments.length>0)throw new Error("Expected documents to be present. Omit the argument to remove all documents.");this._index=new X,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldLength=new Map,this._avgFieldLength=[],this._storedFields=new Map,this._nextId=0}}discard(e){const t=this._idToShortId.get(e);if(t==null)throw new Error(`MiniSearch: cannot discard document with ID ${e}: it is not in the index`);this._idToShortId.delete(e),this._documentIds.delete(t),this._storedFields.delete(t),(this._fieldLength.get(t)||[]).forEach((s,n)=>{this.removeFieldLength(t,n,this._documentCount,s)}),this._fieldLength.delete(t),this._documentCount-=1,this._dirtCount+=1,this.maybeAutoVacuum()}maybeAutoVacuum(){if(this._options.autoVacuum===!1)return;const{minDirtFactor:e,minDirtCount:t,batchSize:s,batchWait:n}=this._options.autoVacuum;this.conditionalVacuum({batchSize:s,batchWait:n},{minDirtCount:t,minDirtFactor:e})}discardAll(e){const t=this._options.autoVacuum;try{this._options.autoVacuum=!1;for(const s of e)this.discard(s)}finally{this._options.autoVacuum=t}this.maybeAutoVacuum()}replace(e){const{idField:t,extractField:s}=this._options,n=s(e,t);this.discard(n),this.add(e)}vacuum(e={}){return this.conditionalVacuum(e)}conditionalVacuum(e,t){return this._currentVacuum?(this._enqueuedVacuumConditions=this._enqueuedVacuumConditions&&t,this._enqueuedVacuum!=null?this._enqueuedVacuum:(this._enqueuedVacuum=this._currentVacuum.then(()=>{const s=this._enqueuedVacuumConditions;return this._enqueuedVacuumConditions=Ke,this.performVacuuming(e,s)}),this._enqueuedVacuum)):this.vacuumConditionsMet(t)===!1?Promise.resolve():(this._currentVacuum=this.performVacuuming(e),this._currentVacuum)}performVacuuming(e,t){return Ie(this,void 0,void 0,function*(){const s=this._dirtCount;if(this.vacuumConditionsMet(t)){const n=e.batchSize||We.batchSize,r=e.batchWait||We.batchWait;let i=1;for(const[o,c]of this._index){for(const[l,h]of c)for(const[f]of h)this._documentIds.has(f)||(h.size<=1?c.delete(l):h.delete(f));this._index.get(o).size===0&&this._index.delete(o),i%n===0&&(yield new Promise(l=>setTimeout(l,r))),i+=1}this._dirtCount-=s}yield null,this._currentVacuum=this._enqueuedVacuum,this._enqueuedVacuum=null})}vacuumConditionsMet(e){if(e==null)return!0;let{minDirtCount:t,minDirtFactor:s}=e;return t=t||je.minDirtCount,s=s||je.minDirtFactor,this.dirtCount>=t&&this.dirtFactor>=s}get isVacuuming(){return this._currentVacuum!=null}get dirtCount(){return this._dirtCount}get dirtFactor(){return this._dirtCount/(1+this._documentCount+this._dirtCount)}has(e){return this._idToShortId.has(e)}getStoredFields(e){const t=this._idToShortId.get(e);if(t!=null)return this._storedFields.get(t)}search(e,t={}){const s=this.executeQuery(e,t),n=[];for(const[r,{score:i,terms:o,match:c}]of s){const l=o.length||1,h={id:this._documentIds.get(r),score:i*l,terms:Object.keys(c),queryTerms:o,match:c};Object.assign(h,this._storedFields.get(r)),(t.filter==null||t.filter(h))&&n.push(h)}return e===le.wildcard&&t.boostDocument==null&&this._options.searchOptions.boostDocument==null||n.sort(pt),n}autoSuggest(e,t={}){t=Object.assign(Object.assign({},this._options.autoSuggestOptions),t);const s=new Map;for(const{score:r,terms:i}of this.search(e,t)){const o=i.join(" "),c=s.get(o);c!=null?(c.score+=r,c.count+=1):s.set(o,{score:r,terms:i,count:1})}const n=[];for(const[r,{score:i,terms:o,count:c}]of s)n.push({suggestion:r,terms:o,score:i/c});return n.sort(pt),n}get documentCount(){return this._documentCount}get termCount(){return this._index.size}static loadJSON(e,t){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJS(JSON.parse(e),t)}static loadJSONAsync(e,t){return Ie(this,void 0,void 0,function*(){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJSAsync(JSON.parse(e),t)})}static getDefault(e){if(Pe.hasOwnProperty(e))return ze(Pe,e);throw new Error(`MiniSearch: unknown option "${e}"`)}static loadJS(e,t){const{index:s,documentIds:n,fieldLength:r,storedFields:i,serializationVersion:o}=e,c=this.instantiateMiniSearch(e,t);c._documentIds=Se(n),c._fieldLength=Se(r),c._storedFields=Se(i);for(const[l,h]of c._documentIds)c._idToShortId.set(h,l);for(const[l,h]of s){const f=new Map;for(const v of Object.keys(h)){let y=h[v];o===1&&(y=y.ds),f.set(parseInt(v,10),Se(y))}c._index.set(l,f)}return c}static loadJSAsync(e,t){return Ie(this,void 0,void 0,function*(){const{index:s,documentIds:n,fieldLength:r,storedFields:i,serializationVersion:o}=e,c=this.instantiateMiniSearch(e,t);c._documentIds=yield Ee(n),c._fieldLength=yield Ee(r),c._storedFields=yield Ee(i);for(const[h,f]of c._documentIds)c._idToShortId.set(f,h);let l=0;for(const[h,f]of s){const v=new Map;for(const y of Object.keys(f)){let w=f[y];o===1&&(w=w.ds),v.set(parseInt(y,10),yield Ee(w))}++l%1e3===0&&(yield kt(0)),c._index.set(h,v)}return c})}static instantiateMiniSearch(e,t){const{documentCount:s,nextId:n,fieldIds:r,averageFieldLength:i,dirtCount:o,serializationVersion:c}=e;if(c!==1&&c!==2)throw new Error("MiniSearch: cannot deserialize an index created with an incompatible version");const l=new le(t);return l._documentCount=s,l._nextId=n,l._idToShortId=new Map,l._fieldIds=r,l._avgFieldLength=i,l._dirtCount=o||0,l._index=new X,l}executeQuery(e,t={}){if(e===le.wildcard)return this.executeWildcardQuery(t);if(typeof e!="string"){const v=Object.assign(Object.assign(Object.assign({},t),e),{queries:void 0}),y=e.queries.map(w=>this.executeQuery(w,v));return this.combineResults(y,v.combineWith)}const{tokenize:s,processTerm:n,searchOptions:r}=this._options,i=Object.assign(Object.assign({tokenize:s,processTerm:n},r),t),{tokenize:o,processTerm:c}=i,f=o(e).flatMap(v=>c(v)).filter(v=>!!v).map($s(i)).map(v=>this.executeQuerySpec(v,i));return this.combineResults(f,i.combineWith)}executeQuerySpec(e,t){const s=Object.assign(Object.assign({},this._options.searchOptions),t),n=(s.fields||this._options.fields).reduce((b,x)=>Object.assign(Object.assign({},b),{[x]:ze(s.boost,x)||1}),{}),{boostDocument:r,weights:i,maxFuzzy:o,bm25:c}=s,{fuzzy:l,prefix:h}=Object.assign(Object.assign({},ht.weights),i),f=this._index.get(e.term),v=this.termResults(e.term,e.term,1,f,n,r,c);let y,w;if(e.prefix&&(y=this._index.atPrefix(e.term)),e.fuzzy){const b=e.fuzzy===!0?.2:e.fuzzy,x=b<1?Math.min(o,Math.round(e.term.length*b)):b;x&&(w=this._index.fuzzyGet(e.term,x))}if(y)for(const[b,x]of y){const C=b.length-e.term.length;if(!C)continue;w==null||w.delete(b);const R=h*b.length/(b.length+.3*C);this.termResults(e.term,b,R,x,n,r,c,v)}if(w)for(const b of w.keys()){const[x,C]=w.get(b);if(!C)continue;const R=l*b.length/(b.length+C);this.termResults(e.term,b,R,x,n,r,c,v)}return v}executeWildcardQuery(e){const t=new Map,s=Object.assign(Object.assign({},this._options.searchOptions),e);for(const[n,r]of this._documentIds){const i=s.boostDocument?s.boostDocument(r,"",this._storedFields.get(n)):1;t.set(n,{score:i,terms:[],match:{}})}return t}combineResults(e,t=Ue){if(e.length===0)return new Map;const s=t.toLowerCase(),n=Ps[s];if(!n)throw new Error(`Invalid combination operator: ${t}`);return e.reduce(n)||new Map}toJSON(){const e=[];for(const[t,s]of this._index){const n={};for(const[r,i]of s)n[r]=Object.fromEntries(i);e.push([t,n])}return{documentCount:this._documentCount,nextId:this._nextId,documentIds:Object.fromEntries(this._documentIds),fieldIds:this._fieldIds,fieldLength:Object.fromEntries(this._fieldLength),averageFieldLength:this._avgFieldLength,storedFields:Object.fromEntries(this._storedFields),dirtCount:this._dirtCount,index:e,serializationVersion:2}}termResults(e,t,s,n,r,i,o,c=new Map){if(n==null)return c;for(const l of Object.keys(r)){const h=r[l],f=this._fieldIds[l],v=n.get(f);if(v==null)continue;let y=v.size;const w=this._avgFieldLength[f];for(const b of v.keys()){if(!this._documentIds.has(b)){this.removeTerm(f,b,t),y-=1;continue}const x=i?i(this._documentIds.get(b),t,this._storedFields.get(b)):1;if(!x)continue;const C=v.get(b),R=this._fieldLength.get(b)[f],W=Vs(C,y,this._documentCount,R,w,o),J=s*h*x*W,V=c.get(b);if(V){V.score+=J,Ws(V.terms,e);const U=ze(V.match,t);U?U.push(l):V.match[t]=[l]}else c.set(b,{score:J,terms:[e],match:{[t]:[l]}})}}return c}addTerm(e,t,s){const n=this._index.fetch(s,vt);let r=n.get(e);if(r==null)r=new Map,r.set(t,1),n.set(e,r);else{const i=r.get(t);r.set(t,(i||0)+1)}}removeTerm(e,t,s){if(!this._index.has(s)){this.warnDocumentChanged(t,e,s);return}const n=this._index.fetch(s,vt),r=n.get(e);r==null||r.get(t)==null?this.warnDocumentChanged(t,e,s):r.get(t)<=1?r.size<=1?n.delete(e):r.delete(t):r.set(t,r.get(t)-1),this._index.get(s).size===0&&this._index.delete(s)}warnDocumentChanged(e,t,s){for(const n of Object.keys(this._fieldIds))if(this._fieldIds[n]===t){this._options.logger("warn",`MiniSearch: document with ID ${this._documentIds.get(e)} has changed before removal: term "${s}" was not present in field "${n}". Removing a document after it has changed can corrupt the index!`,"version_conflict");return}}addDocumentId(e){const t=this._nextId;return this._idToShortId.set(e,t),this._documentIds.set(t,e),this._documentCount+=1,this._nextId+=1,t}addFields(e){for(let t=0;tObject.prototype.hasOwnProperty.call(a,e)?a[e]:void 0,Ps={[Ue]:(a,e)=>{for(const t of e.keys()){const s=a.get(t);if(s==null)a.set(t,e.get(t));else{const{score:n,terms:r,match:i}=e.get(t);s.score=s.score+n,s.match=Object.assign(s.match,i),ft(s.terms,r)}}return a},[Nt]:(a,e)=>{const t=new Map;for(const s of e.keys()){const n=a.get(s);if(n==null)continue;const{score:r,terms:i,match:o}=e.get(s);ft(n.terms,i),t.set(s,{score:n.score+r,terms:n.terms,match:Object.assign(n.match,o)})}return t},[zs]:(a,e)=>{for(const t of e.keys())a.delete(t);return a}},js={k:1.2,b:.7,d:.5},Vs=(a,e,t,s,n,r)=>{const{k:i,b:o,d:c}=r;return Math.log(1+(t-e+.5)/(e+.5))*(c+a*(i+1)/(a+i*(1-o+o*s/n)))},$s=a=>(e,t,s)=>{const n=typeof a.fuzzy=="function"?a.fuzzy(e,t,s):a.fuzzy||!1,r=typeof a.prefix=="function"?a.prefix(e,t,s):a.prefix===!0;return{term:e,fuzzy:n,prefix:r}},Pe={idField:"id",extractField:(a,e)=>a[e],tokenize:a=>a.split(Ks),processTerm:a=>a.toLowerCase(),fields:void 0,searchOptions:void 0,storeFields:[],logger:(a,e)=>{typeof(console==null?void 0:console[a])=="function"&&console[a](e)},autoVacuum:!0},ht={combineWith:Ue,prefix:!1,fuzzy:!1,maxFuzzy:6,boost:{},weights:{fuzzy:.45,prefix:.375},bm25:js},Bs={combineWith:Nt,prefix:(a,e,t)=>e===t.length-1},We={batchSize:1e3,batchWait:10},Ke={minDirtFactor:.1,minDirtCount:20},je=Object.assign(Object.assign({},We),Ke),Ws=(a,e)=>{a.includes(e)||a.push(e)},ft=(a,e)=>{for(const t of e)a.includes(t)||a.push(t)},pt=({score:a},{score:e})=>e-a,vt=()=>new Map,Se=a=>{const e=new Map;for(const t of Object.keys(a))e.set(parseInt(t,10),a[t]);return e},Ee=a=>Ie(void 0,void 0,void 0,function*(){const e=new Map;let t=0;for(const s of Object.keys(a))e.set(parseInt(s,10),a[s]),++t%1e3===0&&(yield kt(0));return e}),kt=a=>new Promise(e=>setTimeout(e,a)),Ks=/[\n\r\p{Z}\p{P}]/u;class Js{constructor(e=10){Ce(this,"max");Ce(this,"cache");this.max=e,this.cache=new Map}get(e){let t=this.cache.get(e);return t!==void 0&&(this.cache.delete(e),this.cache.set(e,t)),t}set(e,t){this.cache.has(e)?this.cache.delete(e):this.cache.size===this.max&&this.cache.delete(this.first()),this.cache.set(e,t)}first(){return this.cache.keys().next().value}clear(){this.cache.clear()}}const B=a=>(Qt("data-v-639d7ab9"),a=a(),Ht(),a),Us=["aria-owns"],qs={class:"shell"},Gs=["title"],Qs=B(()=>_("span",{"aria-hidden":"true",class:"vpi-search search-icon local-search-icon"},null,-1)),Hs=[Qs],Ys={class:"search-actions before"},Zs=["title"],Xs=B(()=>_("span",{class:"vpi-arrow-left local-search-icon"},null,-1)),en=[Xs],tn=["placeholder"],sn={class:"search-actions"},nn=["title"],rn=B(()=>_("span",{class:"vpi-layout-list local-search-icon"},null,-1)),an=[rn],on=["disabled","title"],cn=B(()=>_("span",{class:"vpi-delete local-search-icon"},null,-1)),ln=[cn],un=["id","role","aria-labelledby"],dn=["aria-selected"],hn=["href","aria-label","onMouseenter","onFocusin"],fn={class:"titles"},pn=B(()=>_("span",{class:"title-icon"},"#",-1)),vn=["innerHTML"],mn=B(()=>_("span",{class:"vpi-chevron-right local-search-icon"},null,-1)),gn={class:"title main"},bn=["innerHTML"],yn={key:0,class:"excerpt-wrapper"},wn={key:0,class:"excerpt",inert:""},_n=["innerHTML"],xn=B(()=>_("div",{class:"excerpt-gradient-bottom"},null,-1)),Sn=B(()=>_("div",{class:"excerpt-gradient-top"},null,-1)),En={key:0,class:"no-results"},In={class:"search-keyboard-shortcuts"},Tn=["aria-label"],Nn=B(()=>_("span",{class:"vpi-arrow-up navigate-icon"},null,-1)),kn=[Nn],Fn=["aria-label"],On=B(()=>_("span",{class:"vpi-arrow-down navigate-icon"},null,-1)),Rn=[On],Cn=["aria-label"],Mn=B(()=>_("span",{class:"vpi-corner-down-left navigate-icon"},null,-1)),An=[Mn],Ln=["aria-label"],Dn=Mt({__name:"VPLocalSearchBox",emits:["close"],setup(a,{emit:e}){var F,M;const t=e,s=be(),n=be(),r=be(is),i=ss(),{activate:o}=Rs(s,{immediate:!0,allowOutsideClick:!0,clickOutsideDeactivates:!0,escapeDeactivates:!0}),{localeIndex:c,theme:l}=i,h=tt(async()=>{var p,g,N,O,P,j,T,L,G;return rt(le.loadJSON((N=await((g=(p=r.value)[c.value])==null?void 0:g.call(p)))==null?void 0:N.default,{fields:["title","titles","text"],storeFields:["title","titles"],searchOptions:{fuzzy:.2,prefix:!0,boost:{title:4,text:2,titles:1},...((O=l.value.search)==null?void 0:O.provider)==="local"&&((j=(P=l.value.search.options)==null?void 0:P.miniSearch)==null?void 0:j.searchOptions)},...((T=l.value.search)==null?void 0:T.provider)==="local"&&((G=(L=l.value.search.options)==null?void 0:L.miniSearch)==null?void 0:G.options)}))}),v=ye(()=>{var p,g;return((p=l.value.search)==null?void 0:p.provider)==="local"&&((g=l.value.search.options)==null?void 0:g.disableQueryPersistence)===!0}).value?ne(""):At("vitepress:local-search-filter",""),y=Lt("vitepress:local-search-detailed-list",((F=l.value.search)==null?void 0:F.provider)==="local"&&((M=l.value.search.options)==null?void 0:M.detailedView)===!0),w=ye(()=>{var p,g,N;return((p=l.value.search)==null?void 0:p.provider)==="local"&&(((g=l.value.search.options)==null?void 0:g.disableDetailedView)===!0||((N=l.value.search.options)==null?void 0:N.detailedView)===!1)}),b=ye(()=>{var g,N,O,P,j,T,L;const p=((g=l.value.search)==null?void 0:g.options)??l.value.algolia;return((j=(P=(O=(N=p==null?void 0:p.locales)==null?void 0:N[c.value])==null?void 0:O.translations)==null?void 0:P.button)==null?void 0:j.buttonText)||((L=(T=p==null?void 0:p.translations)==null?void 0:T.button)==null?void 0:L.buttonText)||"Search"});Dt(()=>{w.value&&(y.value=!1)});const x=be([]),C=ne(!1);Ve(v,()=>{C.value=!1});const R=tt(async()=>{if(n.value)return rt(new Ms(n.value))},null),W=new Js(16);zt(()=>[h.value,v.value,y.value],async([p,g,N],O,P)=>{var me,qe,Ge,Qe;(O==null?void 0:O[0])!==p&&W.clear();let j=!1;if(P(()=>{j=!0}),!p)return;x.value=p.search(g).slice(0,16),C.value=!0;const T=N?await Promise.all(x.value.map($=>J($.id))):[];if(j)return;for(const{id:$,mod:ee}of T){const te=$.slice(0,$.indexOf("#"));let Y=W.get(te);if(Y)continue;Y=new Map,W.set(te,Y);const Q=ee.default??ee;if(Q!=null&&Q.render||Q!=null&&Q.setup){const se=Yt(Q);se.config.warnHandler=()=>{},se.provide(Zt,i),Object.defineProperties(se.config.globalProperties,{$frontmatter:{get(){return i.frontmatter.value}},$params:{get(){return i.page.value.params}}});const He=document.createElement("div");se.mount(He),He.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(ue=>{var Xe;const ge=(Xe=ue.querySelector("a"))==null?void 0:Xe.getAttribute("href"),Ye=(ge==null?void 0:ge.startsWith("#"))&&ge.slice(1);if(!Ye)return;let Ze="";for(;(ue=ue.nextElementSibling)&&!/^h[1-6]$/i.test(ue.tagName);)Ze+=ue.outerHTML;Y.set(Ye,Ze)}),se.unmount()}if(j)return}const L=new Set;if(x.value=x.value.map($=>{const[ee,te]=$.id.split("#"),Y=W.get(ee),Q=(Y==null?void 0:Y.get(te))??"";for(const se in $.match)L.add(se);return{...$,text:Q}}),await de(),j)return;await new Promise($=>{var ee;(ee=R.value)==null||ee.unmark({done:()=>{var te;(te=R.value)==null||te.markRegExp(k(L),{done:$})}})});const G=((me=s.value)==null?void 0:me.querySelectorAll(".result .excerpt"))??[];for(const $ of G)(qe=$.querySelector('mark[data-markjs="true"]'))==null||qe.scrollIntoView({block:"center"});(Qe=(Ge=n.value)==null?void 0:Ge.firstElementChild)==null||Qe.scrollIntoView({block:"start"})},{debounce:200,immediate:!0});async function J(p){const g=Xt(p.slice(0,p.indexOf("#")));try{if(!g)throw new Error(`Cannot find file for id: ${p}`);return{id:p,mod:await import(g)}}catch(N){return console.error(N),{id:p,mod:{}}}}const V=ne(),U=ye(()=>{var p;return((p=v.value)==null?void 0:p.length)<=0});function q(p=!0){var g,N;(g=V.value)==null||g.focus(),p&&((N=V.value)==null||N.select())}Me(()=>{q()});function Re(p){p.pointerType==="mouse"&&q()}const A=ne(-1),K=ne(!1);Ve(x,p=>{A.value=p.length?0:-1,I()});function I(){de(()=>{const p=document.querySelector(".result.selected");p==null||p.scrollIntoView({block:"nearest"})})}we("ArrowUp",p=>{p.preventDefault(),A.value--,A.value<0&&(A.value=x.value.length-1),K.value=!0,I()}),we("ArrowDown",p=>{p.preventDefault(),A.value++,A.value>=x.value.length&&(A.value=0),K.value=!0,I()});const u=Pt();we("Enter",p=>{if(p.isComposing||p.target instanceof HTMLButtonElement&&p.target.type!=="submit")return;const g=x.value[A.value];if(p.target instanceof HTMLInputElement&&!g){p.preventDefault();return}g&&(u.go(g.id),t("close"))}),we("Escape",()=>{t("close")});const m=ns({modal:{displayDetails:"Display detailed list",resetButtonTitle:"Reset search",backButtonTitle:"Close search",noResultsText:"No results for",footer:{selectText:"to select",selectKeyAriaLabel:"enter",navigateText:"to navigate",navigateUpKeyAriaLabel:"up arrow",navigateDownKeyAriaLabel:"down arrow",closeText:"to close",closeKeyAriaLabel:"escape"}}});Me(()=>{window.history.pushState(null,"",null)}),jt("popstate",p=>{p.preventDefault(),t("close")});const S=Vt($t?document.body:null);Me(()=>{de(()=>{S.value=!0,de().then(()=>o())})}),Bt(()=>{S.value=!1});function E(){v.value="",de().then(()=>q(!1))}function k(p){return new RegExp([...p].sort((g,N)=>N.length-g.length).map(g=>`(${es(g)})`).join("|"),"gi")}return(p,g)=>{var N,O,P,j;return H(),Wt(Gt,{to:"body"},[_("div",{ref_key:"el",ref:s,role:"button","aria-owns":(N=x.value)!=null&&N.length?"localsearch-list":void 0,"aria-expanded":"true","aria-haspopup":"listbox","aria-labelledby":"localsearch-label",class:"VPLocalSearchBox"},[_("div",{class:"backdrop",onClick:g[0]||(g[0]=T=>p.$emit("close"))}),_("div",qs,[_("form",{class:"search-bar",onPointerup:g[4]||(g[4]=T=>Re(T)),onSubmit:g[5]||(g[5]=Kt(()=>{},["prevent"]))},[_("label",{title:b.value,id:"localsearch-label",for:"localsearch-input"},Hs,8,Gs),_("div",Ys,[_("button",{class:"back-button",title:D(m)("modal.backButtonTitle"),onClick:g[1]||(g[1]=T=>p.$emit("close"))},en,8,Zs)]),Jt(_("input",{ref_key:"searchInput",ref:V,"onUpdate:modelValue":g[2]||(g[2]=T=>qt(v)?v.value=T:null),placeholder:b.value,id:"localsearch-input","aria-labelledby":"localsearch-label",class:"search-input"},null,8,tn),[[Ut,D(v)]]),_("div",sn,[w.value?_e("",!0):(H(),Z("button",{key:0,class:st(["toggle-layout-button",{"detailed-list":D(y)}]),type:"button",title:D(m)("modal.displayDetails"),onClick:g[3]||(g[3]=T=>A.value>-1&&(y.value=!D(y)))},an,10,nn)),_("button",{class:"clear-button",type:"reset",disabled:U.value,title:D(m)("modal.resetButtonTitle"),onClick:E},ln,8,on)])],32),_("ul",{ref_key:"resultsEl",ref:n,id:(O=x.value)!=null&&O.length?"localsearch-list":void 0,role:(P=x.value)!=null&&P.length?"listbox":void 0,"aria-labelledby":(j=x.value)!=null&&j.length?"localsearch-label":void 0,class:"results",onMousemove:g[7]||(g[7]=T=>K.value=!1)},[(H(!0),Z(it,null,nt(x.value,(T,L)=>(H(),Z("li",{key:T.id,role:"option","aria-selected":A.value===L?"true":"false"},[_("a",{href:T.id,class:st(["result",{selected:A.value===L}]),"aria-label":[...T.titles,T.title].join(" > "),onMouseenter:G=>!K.value&&(A.value=L),onFocusin:G=>A.value=L,onClick:g[6]||(g[6]=G=>p.$emit("close"))},[_("div",null,[_("div",fn,[pn,(H(!0),Z(it,null,nt(T.titles,(G,me)=>(H(),Z("span",{key:me,class:"title"},[_("span",{class:"text",innerHTML:G},null,8,vn),mn]))),128)),_("span",gn,[_("span",{class:"text",innerHTML:T.title},null,8,bn)])]),D(y)?(H(),Z("div",yn,[T.text?(H(),Z("div",wn,[_("div",{class:"vp-doc",innerHTML:T.text},null,8,_n)])):_e("",!0),xn,Sn])):_e("",!0)])],42,hn)],8,dn))),128)),D(v)&&!x.value.length&&C.value?(H(),Z("li",En,[he(fe(D(m)("modal.noResultsText"))+' "',1),_("strong",null,fe(D(v)),1),he('" ')])):_e("",!0)],40,un),_("div",In,[_("span",null,[_("kbd",{"aria-label":D(m)("modal.footer.navigateUpKeyAriaLabel")},kn,8,Tn),_("kbd",{"aria-label":D(m)("modal.footer.navigateDownKeyAriaLabel")},Rn,8,Fn),he(" "+fe(D(m)("modal.footer.navigateText")),1)]),_("span",null,[_("kbd",{"aria-label":D(m)("modal.footer.selectKeyAriaLabel")},An,8,Cn),he(" "+fe(D(m)("modal.footer.selectText")),1)]),_("span",null,[_("kbd",{"aria-label":D(m)("modal.footer.closeKeyAriaLabel")},"esc",8,Ln),he(" "+fe(D(m)("modal.footer.closeText")),1)])])])],8,Us)])}}}),Bn=ts(Dn,[["__scopeId","data-v-639d7ab9"]]);export{Bn as default}; +*/function ot(a,e){var t=Object.keys(a);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(a);e&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(a,n).enumerable})),t.push.apply(t,s)}return t}function ct(a){for(var e=1;e0){var s=e[e.length-1];s!==t&&s.pause()}var n=e.indexOf(t);n===-1||e.splice(n,1),e.push(t)},deactivateTrap:function(e,t){var s=e.indexOf(t);s!==-1&&e.splice(s,1),e.length>0&&e[e.length-1].unpause()}},Is=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Ts=function(e){return(e==null?void 0:e.key)==="Escape"||(e==null?void 0:e.key)==="Esc"||(e==null?void 0:e.keyCode)===27},ve=function(e){return(e==null?void 0:e.key)==="Tab"||(e==null?void 0:e.keyCode)===9},Ns=function(e){return ve(e)&&!e.shiftKey},ks=function(e){return ve(e)&&e.shiftKey},ut=function(e){return setTimeout(e,0)},dt=function(e,t){var s=-1;return e.every(function(n,r){return t(n)?(s=r,!1):!0}),s},pe=function(e){for(var t=arguments.length,s=new Array(t>1?t-1:0),n=1;n1?m-1:0),E=1;E=0)u=s.activeElement;else{var d=i.tabbableGroups[0],m=d&&d.firstTabbableNode;u=m||h("fallbackFocus")}if(!u)throw new Error("Your focus-trap needs to have at least one focusable element");return u},v=function(){if(i.containerGroups=i.containers.map(function(u){var d=ys(u,r.tabbableOptions),m=ws(u,r.tabbableOptions),S=d.length>0?d[0]:void 0,E=d.length>0?d[d.length-1]:void 0,k=m.find(function(p){return ae(p)}),F=m.slice().reverse().find(function(p){return ae(p)}),M=!!d.find(function(p){return ie(p)>0});return{container:u,tabbableNodes:d,focusableNodes:m,posTabIndexesFound:M,firstTabbableNode:S,lastTabbableNode:E,firstDomTabbableNode:k,lastDomTabbableNode:F,nextTabbableNode:function(g){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,O=d.indexOf(g);return O<0?N?m.slice(m.indexOf(g)+1).find(function(P){return ae(P)}):m.slice(0,m.indexOf(g)).reverse().find(function(P){return ae(P)}):d[O+(N?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(u){return u.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!h("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(u){return u.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},y=function I(u){var d=u.activeElement;if(d)return d.shadowRoot&&d.shadowRoot.activeElement!==null?I(d.shadowRoot):d},w=function I(u){if(u!==!1&&u!==y(document)){if(!u||!u.focus){I(f());return}u.focus({preventScroll:!!r.preventScroll}),i.mostRecentlyFocusedNode=u,Is(u)&&u.select()}},b=function(u){var d=h("setReturnFocus",u);return d||(d===!1?!1:u)},x=function(u){var d=u.target,m=u.event,S=u.isBackward,E=S===void 0?!1:S;d=d||xe(m),v();var k=null;if(i.tabbableGroups.length>0){var F=l(d,m),M=F>=0?i.containerGroups[F]:void 0;if(F<0)E?k=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:k=i.tabbableGroups[0].firstTabbableNode;else if(E){var p=dt(i.tabbableGroups,function(T){var L=T.firstTabbableNode;return d===L});if(p<0&&(M.container===d||Ae(d,r.tabbableOptions)&&!ae(d,r.tabbableOptions)&&!M.nextTabbableNode(d,!1))&&(p=F),p>=0){var g=p===0?i.tabbableGroups.length-1:p-1,N=i.tabbableGroups[g];k=ie(d)>=0?N.lastTabbableNode:N.lastDomTabbableNode}else ve(m)||(k=M.nextTabbableNode(d,!1))}else{var O=dt(i.tabbableGroups,function(T){var L=T.lastTabbableNode;return d===L});if(O<0&&(M.container===d||Ae(d,r.tabbableOptions)&&!ae(d,r.tabbableOptions)&&!M.nextTabbableNode(d))&&(O=F),O>=0){var P=O===i.tabbableGroups.length-1?0:O+1,j=i.tabbableGroups[P];k=ie(d)>=0?j.firstTabbableNode:j.firstDomTabbableNode}else ve(m)||(k=M.nextTabbableNode(d))}}else k=h("fallbackFocus");return k},C=function(u){var d=xe(u);if(!(l(d,u)>=0)){if(pe(r.clickOutsideDeactivates,u)){o.deactivate({returnFocus:r.returnFocusOnDeactivate});return}pe(r.allowOutsideClick,u)||u.preventDefault()}},R=function(u){var d=xe(u),m=l(d,u)>=0;if(m||d instanceof Document)m&&(i.mostRecentlyFocusedNode=d);else{u.stopImmediatePropagation();var S,E=!0;if(i.mostRecentlyFocusedNode)if(ie(i.mostRecentlyFocusedNode)>0){var k=l(i.mostRecentlyFocusedNode),F=i.containerGroups[k].tabbableNodes;if(F.length>0){var M=F.findIndex(function(p){return p===i.mostRecentlyFocusedNode});M>=0&&(r.isKeyForward(i.recentNavEvent)?M+1=0&&(S=F[M-1],E=!1))}}else i.containerGroups.some(function(p){return p.tabbableNodes.some(function(g){return ie(g)>0})})||(E=!1);else E=!1;E&&(S=x({target:i.mostRecentlyFocusedNode,isBackward:r.isKeyBackward(i.recentNavEvent)})),w(S||i.mostRecentlyFocusedNode||f())}i.recentNavEvent=void 0},W=function(u){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=u;var m=x({event:u,isBackward:d});m&&(ve(u)&&u.preventDefault(),w(m))},J=function(u){if(Ts(u)&&pe(r.escapeDeactivates,u)!==!1){u.preventDefault(),o.deactivate();return}(r.isKeyForward(u)||r.isKeyBackward(u))&&W(u,r.isKeyBackward(u))},V=function(u){var d=xe(u);l(d,u)>=0||pe(r.clickOutsideDeactivates,u)||pe(r.allowOutsideClick,u)||(u.preventDefault(),u.stopImmediatePropagation())},U=function(){if(i.active)return lt.activateTrap(n,o),i.delayInitialFocusTimer=r.delayInitialFocus?ut(function(){w(f())}):w(f()),s.addEventListener("focusin",R,!0),s.addEventListener("mousedown",C,{capture:!0,passive:!1}),s.addEventListener("touchstart",C,{capture:!0,passive:!1}),s.addEventListener("click",V,{capture:!0,passive:!1}),s.addEventListener("keydown",J,{capture:!0,passive:!1}),o},q=function(){if(i.active)return s.removeEventListener("focusin",R,!0),s.removeEventListener("mousedown",C,!0),s.removeEventListener("touchstart",C,!0),s.removeEventListener("click",V,!0),s.removeEventListener("keydown",J,!0),o},Re=function(u){var d=u.some(function(m){var S=Array.from(m.removedNodes);return S.some(function(E){return E===i.mostRecentlyFocusedNode})});d&&w(f())},A=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(Re):void 0,K=function(){A&&(A.disconnect(),i.active&&!i.paused&&i.containers.map(function(u){A.observe(u,{subtree:!0,childList:!0})}))};return o={get active(){return i.active},get paused(){return i.paused},activate:function(u){if(i.active)return this;var d=c(u,"onActivate"),m=c(u,"onPostActivate"),S=c(u,"checkCanFocusTrap");S||v(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=s.activeElement,d==null||d();var E=function(){S&&v(),U(),K(),m==null||m()};return S?(S(i.containers.concat()).then(E,E),this):(E(),this)},deactivate:function(u){if(!i.active)return this;var d=ct({onDeactivate:r.onDeactivate,onPostDeactivate:r.onPostDeactivate,checkCanReturnFocus:r.checkCanReturnFocus},u);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,q(),i.active=!1,i.paused=!1,K(),lt.deactivateTrap(n,o);var m=c(d,"onDeactivate"),S=c(d,"onPostDeactivate"),E=c(d,"checkCanReturnFocus"),k=c(d,"returnFocus","returnFocusOnDeactivate");m==null||m();var F=function(){ut(function(){k&&w(b(i.nodeFocusedBeforeActivation)),S==null||S()})};return k&&E?(E(b(i.nodeFocusedBeforeActivation)).then(F,F),this):(F(),this)},pause:function(u){if(i.paused||!i.active)return this;var d=c(u,"onPause"),m=c(u,"onPostPause");return i.paused=!0,d==null||d(),q(),K(),m==null||m(),this},unpause:function(u){if(!i.paused||!i.active)return this;var d=c(u,"onUnpause"),m=c(u,"onPostUnpause");return i.paused=!1,d==null||d(),v(),U(),K(),m==null||m(),this},updateContainerElements:function(u){var d=[].concat(u).filter(Boolean);return i.containers=d.map(function(m){return typeof m=="string"?s.querySelector(m):m}),i.active&&v(),K(),this}},o.updateContainerElements(e),o};function Rs(a,e={}){let t;const{immediate:s,...n}=e,r=ne(!1),i=ne(!1),o=f=>t&&t.activate(f),c=f=>t&&t.deactivate(f),l=()=>{t&&(t.pause(),i.value=!0)},h=()=>{t&&(t.unpause(),i.value=!1)};return Ve(()=>Rt(a),f=>{f&&(t=Os(f,{...n,onActivate(){r.value=!0,e.onActivate&&e.onActivate()},onDeactivate(){r.value=!1,e.onDeactivate&&e.onDeactivate()}}),s&&o())},{flush:"post"}),Ct(()=>c()),{hasFocus:r,isPaused:i,activate:o,deactivate:c,pause:l,unpause:h}}class ce{constructor(e,t=!0,s=[],n=5e3){this.ctx=e,this.iframes=t,this.exclude=s,this.iframesTimeout=n}static matches(e,t){const s=typeof t=="string"?[t]:t,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let r=!1;return s.every(i=>n.call(e,i)?(r=!0,!1):!0),r}else return!1}getContexts(){let e,t=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(s=>{const n=t.filter(r=>r.contains(s)).length>0;t.indexOf(s)===-1&&!n&&t.push(s)}),t}getIframeContents(e,t,s=()=>{}){let n;try{const r=e.contentWindow;if(n=r.document,!r||!n)throw new Error("iframe inaccessible")}catch{s()}n&&t(n)}isIframeBlank(e){const t="about:blank",s=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&s!==t&&s}observeIframeLoad(e,t,s){let n=!1,r=null;const i=()=>{if(!n){n=!0,clearTimeout(r);try{this.isIframeBlank(e)||(e.removeEventListener("load",i),this.getIframeContents(e,t,s))}catch{s()}}};e.addEventListener("load",i),r=setTimeout(i,this.iframesTimeout)}onIframeReady(e,t,s){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,s):this.getIframeContents(e,t,s):this.observeIframeLoad(e,t,s)}catch{s()}}waitForIframes(e,t){let s=0;this.forEachIframe(e,()=>!0,n=>{s++,this.waitForIframes(n.querySelector("html"),()=>{--s||t()})},n=>{n||t()})}forEachIframe(e,t,s,n=()=>{}){let r=e.querySelectorAll("iframe"),i=r.length,o=0;r=Array.prototype.slice.call(r);const c=()=>{--i<=0&&n(o)};i||c(),r.forEach(l=>{ce.matches(l,this.exclude)?c():this.onIframeReady(l,h=>{t(l)&&(o++,s(h)),c()},c)})}createIterator(e,t,s){return document.createNodeIterator(e,t,s,!1)}createInstanceOnIframe(e){return new ce(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,s){const n=e.compareDocumentPosition(s),r=Node.DOCUMENT_POSITION_PRECEDING;if(n&r)if(t!==null){const i=t.compareDocumentPosition(s),o=Node.DOCUMENT_POSITION_FOLLOWING;if(i&o)return!0}else return!0;return!1}getIteratorNode(e){const t=e.previousNode();let s;return t===null?s=e.nextNode():s=e.nextNode()&&e.nextNode(),{prevNode:t,node:s}}checkIframeFilter(e,t,s,n){let r=!1,i=!1;return n.forEach((o,c)=>{o.val===s&&(r=c,i=o.handled)}),this.compareNodeIframe(e,t,s)?(r===!1&&!i?n.push({val:s,handled:!0}):r!==!1&&!i&&(n[r].handled=!0),!0):(r===!1&&n.push({val:s,handled:!1}),!1)}handleOpenIframes(e,t,s,n){e.forEach(r=>{r.handled||this.getIframeContents(r.val,i=>{this.createInstanceOnIframe(i).forEachNode(t,s,n)})})}iterateThroughNodes(e,t,s,n,r){const i=this.createIterator(t,e,n);let o=[],c=[],l,h,f=()=>({prevNode:h,node:l}=this.getIteratorNode(i),l);for(;f();)this.iframes&&this.forEachIframe(t,v=>this.checkIframeFilter(l,h,v,o),v=>{this.createInstanceOnIframe(v).forEachNode(e,y=>c.push(y),n)}),c.push(l);c.forEach(v=>{s(v)}),this.iframes&&this.handleOpenIframes(o,e,s,n),r()}forEachNode(e,t,s,n=()=>{}){const r=this.getContexts();let i=r.length;i||n(),r.forEach(o=>{const c=()=>{this.iterateThroughNodes(e,o,t,s,()=>{--i<=0&&n()})};this.iframes?this.waitForIframes(o,c):c()})}}let Cs=class{constructor(e){this.ctx=e,this.ie=!1;const t=window.navigator.userAgent;(t.indexOf("MSIE")>-1||t.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new ce(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){const s=this.opt.log;this.opt.debug&&typeof s=="object"&&typeof s[t]=="function"&&s[t](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){const t=this.opt.synonyms,s=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let r in t)if(t.hasOwnProperty(r)){const i=t[r],o=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(r):this.escapeStr(r),c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i);o!==""&&c!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(o)}|${this.escapeStr(c)})`,`gm${s}`),n+`(${this.processSynomyms(o)}|${this.processSynomyms(c)})`+n))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,s,n)=>{let r=n.charAt(s+1);return/[(|)\\]/.test(r)||r===""?t:t+"\0"})}createJoinersRegExp(e){let t=[];const s=this.opt.ignorePunctuation;return Array.isArray(s)&&s.length&&t.push(this.escapeStr(s.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){const t=this.opt.caseSensitive?"":"i",s=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let n=[];return e.split("").forEach(r=>{s.every(i=>{if(i.indexOf(r)!==-1){if(n.indexOf(i)>-1)return!1;e=e.replace(new RegExp(`[${i}]`,`gm${t}`),`[${i}]`),n.push(i)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){const t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿";let s=this.opt.accuracy,n=typeof s=="string"?s:s.value,r=typeof s=="string"?[]:s.limiters,i="";switch(r.forEach(o=>{i+=`|${this.escapeStr(o)}`}),n){case"partially":default:return`()(${e})`;case"complementary":return i="\\s"+(i||this.escapeStr(t)),`()([^${i}]*${e}[^${i}]*)`;case"exactly":return`(^|\\s${i})(${e})(?=$|\\s${i})`}}getSeparatedKeywords(e){let t=[];return e.forEach(s=>{this.opt.separateWordSearch?s.split(" ").forEach(n=>{n.trim()&&t.indexOf(n)===-1&&t.push(n)}):s.trim()&&t.indexOf(s)===-1&&t.push(s)}),{keywords:t.sort((s,n)=>n.length-s.length),length:t.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];const t=[];let s=0;return e.sort((n,r)=>n.start-r.start).forEach(n=>{let{start:r,end:i,valid:o}=this.callNoMatchOnInvalidRanges(n,s);o&&(n.start=r,n.length=i-r,t.push(n),s=i)}),t}callNoMatchOnInvalidRanges(e,t){let s,n,r=!1;return e&&typeof e.start<"u"?(s=parseInt(e.start,10),n=s+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-t>0&&n-s>0?r=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:s,end:n,valid:r}}checkWhitespaceRanges(e,t,s){let n,r=!0,i=s.length,o=t-i,c=parseInt(e.start,10)-o;return c=c>i?i:c,n=c+parseInt(e.length,10),n>i&&(n=i,this.log(`End range automatically set to the max value of ${i}`)),c<0||n-c<0||c>i||n>i?(r=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):s.substring(c,n).replace(/\s+/g,"")===""&&(r=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:c,end:n,valid:r}}getTextNodes(e){let t="",s=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{s.push({start:t.length,end:(t+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:s})})}matchesExclude(e){return ce.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,s){const n=this.opt.element?this.opt.element:"mark",r=e.splitText(t),i=r.splitText(s-t);let o=document.createElement(n);return o.setAttribute("data-markjs","true"),this.opt.className&&o.setAttribute("class",this.opt.className),o.textContent=r.textContent,r.parentNode.replaceChild(o,r),i}wrapRangeInMappedTextNode(e,t,s,n,r){e.nodes.every((i,o)=>{const c=e.nodes[o+1];if(typeof c>"u"||c.start>t){if(!n(i.node))return!1;const l=t-i.start,h=(s>i.end?i.end:s)-i.start,f=e.value.substr(0,i.start),v=e.value.substr(h+i.start);if(i.node=this.wrapRangeInTextNode(i.node,l,h),e.value=f+v,e.nodes.forEach((y,w)=>{w>=o&&(e.nodes[w].start>0&&w!==o&&(e.nodes[w].start-=h),e.nodes[w].end-=h)}),s-=h,r(i.node.previousSibling,i.start),s>i.end)t=i.end;else return!1}return!0})}wrapMatches(e,t,s,n,r){const i=t===0?0:t+1;this.getTextNodes(o=>{o.nodes.forEach(c=>{c=c.node;let l;for(;(l=e.exec(c.textContent))!==null&&l[i]!=="";){if(!s(l[i],c))continue;let h=l.index;if(i!==0)for(let f=1;f{let c;for(;(c=e.exec(o.value))!==null&&c[i]!=="";){let l=c.index;if(i!==0)for(let f=1;fs(c[i],f),(f,v)=>{e.lastIndex=v,n(f)})}r()})}wrapRangeFromIndex(e,t,s,n){this.getTextNodes(r=>{const i=r.value.length;e.forEach((o,c)=>{let{start:l,end:h,valid:f}=this.checkWhitespaceRanges(o,i,r.value);f&&this.wrapRangeInMappedTextNode(r,l,h,v=>t(v,o,r.value.substring(l,h),c),v=>{s(v,o)})}),n()})}unwrapMatches(e){const t=e.parentNode;let s=document.createDocumentFragment();for(;e.firstChild;)s.appendChild(e.removeChild(e.firstChild));t.replaceChild(s,e),this.ie?this.normalizeTextNode(t):t.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,t){this.opt=t,this.log(`Searching with expression "${e}"`);let s=0,n="wrapMatches";const r=i=>{s++,this.opt.each(i)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(i,o)=>this.opt.filter(o,i,s),r,()=>{s===0&&this.opt.noMatch(e),this.opt.done(s)})}mark(e,t){this.opt=t;let s=0,n="wrapMatches";const{keywords:r,length:i}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),o=this.opt.caseSensitive?"":"i",c=l=>{let h=new RegExp(this.createRegExp(l),`gm${o}`),f=0;this.log(`Searching with expression "${h}"`),this[n](h,1,(v,y)=>this.opt.filter(y,l,s,f),v=>{f++,s++,this.opt.each(v)},()=>{f===0&&this.opt.noMatch(l),r[i-1]===l?this.opt.done(s):c(r[r.indexOf(l)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),i===0?this.opt.done(s):c(r[0])}markRanges(e,t){this.opt=t;let s=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(r,i,o,c)=>this.opt.filter(r,i,o,c),(r,i)=>{s++,this.opt.each(r,i)},()=>{this.opt.done(s)})):this.opt.done(s)}unmark(e){this.opt=e;let t=this.opt.element?this.opt.element:"*";t+="[data-markjs]",this.opt.className&&(t+=`.${this.opt.className}`),this.log(`Removal selector "${t}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,s=>{this.unwrapMatches(s)},s=>{const n=ce.matches(s,t),r=this.matchesExclude(s);return!n||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Ms(a){const e=new Cs(a);return this.mark=(t,s)=>(e.mark(t,s),this),this.markRegExp=(t,s)=>(e.markRegExp(t,s),this),this.markRanges=(t,s)=>(e.markRanges(t,s),this),this.unmark=t=>(e.unmark(t),this),this}function Ie(a,e,t,s){function n(r){return r instanceof t?r:new t(function(i){i(r)})}return new(t||(t=Promise))(function(r,i){function o(h){try{l(s.next(h))}catch(f){i(f)}}function c(h){try{l(s.throw(h))}catch(f){i(f)}}function l(h){h.done?r(h.value):n(h.value).then(o,c)}l((s=s.apply(a,[])).next())})}const As="ENTRIES",xt="KEYS",St="VALUES",z="";class Le{constructor(e,t){const s=e._tree,n=Array.from(s.keys());this.set=e,this._type=t,this._path=n.length>0?[{node:s,keys:n}]:[]}next(){const e=this.dive();return this.backtrack(),e}dive(){if(this._path.length===0)return{done:!0,value:void 0};const{node:e,keys:t}=oe(this._path);if(oe(t)===z)return{done:!1,value:this.result()};const s=e.get(oe(t));return this._path.push({node:s,keys:Array.from(s.keys())}),this.dive()}backtrack(){if(this._path.length===0)return;const e=oe(this._path).keys;e.pop(),!(e.length>0)&&(this._path.pop(),this.backtrack())}key(){return this.set._prefix+this._path.map(({keys:e})=>oe(e)).filter(e=>e!==z).join("")}value(){return oe(this._path).node.get(z)}result(){switch(this._type){case St:return this.value();case xt:return this.key();default:return[this.key(),this.value()]}}[Symbol.iterator](){return this}}const oe=a=>a[a.length-1],Ls=(a,e,t)=>{const s=new Map;if(e===void 0)return s;const n=e.length+1,r=n+t,i=new Uint8Array(r*n).fill(t+1);for(let o=0;o{const c=r*i;e:for(const l of a.keys())if(l===z){const h=n[c-1];h<=t&&s.set(o,[a.get(l),h])}else{let h=r;for(let f=0;ft)continue e}Et(a.get(l),e,t,s,n,h,i,o+l)}};class X{constructor(e=new Map,t=""){this._size=void 0,this._tree=e,this._prefix=t}atPrefix(e){if(!e.startsWith(this._prefix))throw new Error("Mismatched prefix");const[t,s]=Oe(this._tree,e.slice(this._prefix.length));if(t===void 0){const[n,r]=Je(s);for(const i of n.keys())if(i!==z&&i.startsWith(r)){const o=new Map;return o.set(i.slice(r.length),n.get(i)),new X(o,e)}}return new X(t,e)}clear(){this._size=void 0,this._tree.clear()}delete(e){return this._size=void 0,Ds(this._tree,e)}entries(){return new Le(this,As)}forEach(e){for(const[t,s]of this)e(t,s,this)}fuzzyGet(e,t){return Ls(this._tree,e,t)}get(e){const t=Be(this._tree,e);return t!==void 0?t.get(z):void 0}has(e){const t=Be(this._tree,e);return t!==void 0&&t.has(z)}keys(){return new Le(this,xt)}set(e,t){if(typeof e!="string")throw new Error("key must be a string");return this._size=void 0,De(this._tree,e).set(z,t),this}get size(){if(this._size)return this._size;this._size=0;const e=this.entries();for(;!e.next().done;)this._size+=1;return this._size}update(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;const s=De(this._tree,e);return s.set(z,t(s.get(z))),this}fetch(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;const s=De(this._tree,e);let n=s.get(z);return n===void 0&&s.set(z,n=t()),n}values(){return new Le(this,St)}[Symbol.iterator](){return this.entries()}static from(e){const t=new X;for(const[s,n]of e)t.set(s,n);return t}static fromObject(e){return X.from(Object.entries(e))}}const Oe=(a,e,t=[])=>{if(e.length===0||a==null)return[a,t];for(const s of a.keys())if(s!==z&&e.startsWith(s))return t.push([a,s]),Oe(a.get(s),e.slice(s.length),t);return t.push([a,e]),Oe(void 0,"",t)},Be=(a,e)=>{if(e.length===0||a==null)return a;for(const t of a.keys())if(t!==z&&e.startsWith(t))return Be(a.get(t),e.slice(t.length))},De=(a,e)=>{const t=e.length;e:for(let s=0;a&&s{const[t,s]=Oe(a,e);if(t!==void 0){if(t.delete(z),t.size===0)It(s);else if(t.size===1){const[n,r]=t.entries().next().value;Tt(s,n,r)}}},It=a=>{if(a.length===0)return;const[e,t]=Je(a);if(e.delete(t),e.size===0)It(a.slice(0,-1));else if(e.size===1){const[s,n]=e.entries().next().value;s!==z&&Tt(a.slice(0,-1),s,n)}},Tt=(a,e,t)=>{if(a.length===0)return;const[s,n]=Je(a);s.set(n+e,t),s.delete(n)},Je=a=>a[a.length-1],Ue="or",Nt="and",zs="and_not";class le{constructor(e){if((e==null?void 0:e.fields)==null)throw new Error('MiniSearch: option "fields" must be provided');const t=e.autoVacuum==null||e.autoVacuum===!0?je:e.autoVacuum;this._options=Object.assign(Object.assign(Object.assign({},Pe),e),{autoVacuum:t,searchOptions:Object.assign(Object.assign({},ht),e.searchOptions||{}),autoSuggestOptions:Object.assign(Object.assign({},Bs),e.autoSuggestOptions||{})}),this._index=new X,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldIds={},this._fieldLength=new Map,this._avgFieldLength=[],this._nextId=0,this._storedFields=new Map,this._dirtCount=0,this._currentVacuum=null,this._enqueuedVacuum=null,this._enqueuedVacuumConditions=Ke,this.addFields(this._options.fields)}add(e){const{extractField:t,tokenize:s,processTerm:n,fields:r,idField:i}=this._options,o=t(e,i);if(o==null)throw new Error(`MiniSearch: document does not have ID field "${i}"`);if(this._idToShortId.has(o))throw new Error(`MiniSearch: duplicate ID ${o}`);const c=this.addDocumentId(o);this.saveStoredFields(c,e);for(const l of r){const h=t(e,l);if(h==null)continue;const f=s(h.toString(),l),v=this._fieldIds[l],y=new Set(f).size;this.addFieldLength(c,v,this._documentCount-1,y);for(const w of f){const b=n(w,l);if(Array.isArray(b))for(const x of b)this.addTerm(v,c,x);else b&&this.addTerm(v,c,b)}}}addAll(e){for(const t of e)this.add(t)}addAllAsync(e,t={}){const{chunkSize:s=10}=t,n={chunk:[],promise:Promise.resolve()},{chunk:r,promise:i}=e.reduce(({chunk:o,promise:c},l,h)=>(o.push(l),(h+1)%s===0?{chunk:[],promise:c.then(()=>new Promise(f=>setTimeout(f,0))).then(()=>this.addAll(o))}:{chunk:o,promise:c}),n);return i.then(()=>this.addAll(r))}remove(e){const{tokenize:t,processTerm:s,extractField:n,fields:r,idField:i}=this._options,o=n(e,i);if(o==null)throw new Error(`MiniSearch: document does not have ID field "${i}"`);const c=this._idToShortId.get(o);if(c==null)throw new Error(`MiniSearch: cannot remove document with ID ${o}: it is not in the index`);for(const l of r){const h=n(e,l);if(h==null)continue;const f=t(h.toString(),l),v=this._fieldIds[l],y=new Set(f).size;this.removeFieldLength(c,v,this._documentCount,y);for(const w of f){const b=s(w,l);if(Array.isArray(b))for(const x of b)this.removeTerm(v,c,x);else b&&this.removeTerm(v,c,b)}}this._storedFields.delete(c),this._documentIds.delete(c),this._idToShortId.delete(o),this._fieldLength.delete(c),this._documentCount-=1}removeAll(e){if(e)for(const t of e)this.remove(t);else{if(arguments.length>0)throw new Error("Expected documents to be present. Omit the argument to remove all documents.");this._index=new X,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldLength=new Map,this._avgFieldLength=[],this._storedFields=new Map,this._nextId=0}}discard(e){const t=this._idToShortId.get(e);if(t==null)throw new Error(`MiniSearch: cannot discard document with ID ${e}: it is not in the index`);this._idToShortId.delete(e),this._documentIds.delete(t),this._storedFields.delete(t),(this._fieldLength.get(t)||[]).forEach((s,n)=>{this.removeFieldLength(t,n,this._documentCount,s)}),this._fieldLength.delete(t),this._documentCount-=1,this._dirtCount+=1,this.maybeAutoVacuum()}maybeAutoVacuum(){if(this._options.autoVacuum===!1)return;const{minDirtFactor:e,minDirtCount:t,batchSize:s,batchWait:n}=this._options.autoVacuum;this.conditionalVacuum({batchSize:s,batchWait:n},{minDirtCount:t,minDirtFactor:e})}discardAll(e){const t=this._options.autoVacuum;try{this._options.autoVacuum=!1;for(const s of e)this.discard(s)}finally{this._options.autoVacuum=t}this.maybeAutoVacuum()}replace(e){const{idField:t,extractField:s}=this._options,n=s(e,t);this.discard(n),this.add(e)}vacuum(e={}){return this.conditionalVacuum(e)}conditionalVacuum(e,t){return this._currentVacuum?(this._enqueuedVacuumConditions=this._enqueuedVacuumConditions&&t,this._enqueuedVacuum!=null?this._enqueuedVacuum:(this._enqueuedVacuum=this._currentVacuum.then(()=>{const s=this._enqueuedVacuumConditions;return this._enqueuedVacuumConditions=Ke,this.performVacuuming(e,s)}),this._enqueuedVacuum)):this.vacuumConditionsMet(t)===!1?Promise.resolve():(this._currentVacuum=this.performVacuuming(e),this._currentVacuum)}performVacuuming(e,t){return Ie(this,void 0,void 0,function*(){const s=this._dirtCount;if(this.vacuumConditionsMet(t)){const n=e.batchSize||We.batchSize,r=e.batchWait||We.batchWait;let i=1;for(const[o,c]of this._index){for(const[l,h]of c)for(const[f]of h)this._documentIds.has(f)||(h.size<=1?c.delete(l):h.delete(f));this._index.get(o).size===0&&this._index.delete(o),i%n===0&&(yield new Promise(l=>setTimeout(l,r))),i+=1}this._dirtCount-=s}yield null,this._currentVacuum=this._enqueuedVacuum,this._enqueuedVacuum=null})}vacuumConditionsMet(e){if(e==null)return!0;let{minDirtCount:t,minDirtFactor:s}=e;return t=t||je.minDirtCount,s=s||je.minDirtFactor,this.dirtCount>=t&&this.dirtFactor>=s}get isVacuuming(){return this._currentVacuum!=null}get dirtCount(){return this._dirtCount}get dirtFactor(){return this._dirtCount/(1+this._documentCount+this._dirtCount)}has(e){return this._idToShortId.has(e)}getStoredFields(e){const t=this._idToShortId.get(e);if(t!=null)return this._storedFields.get(t)}search(e,t={}){const s=this.executeQuery(e,t),n=[];for(const[r,{score:i,terms:o,match:c}]of s){const l=o.length||1,h={id:this._documentIds.get(r),score:i*l,terms:Object.keys(c),queryTerms:o,match:c};Object.assign(h,this._storedFields.get(r)),(t.filter==null||t.filter(h))&&n.push(h)}return e===le.wildcard&&t.boostDocument==null&&this._options.searchOptions.boostDocument==null||n.sort(pt),n}autoSuggest(e,t={}){t=Object.assign(Object.assign({},this._options.autoSuggestOptions),t);const s=new Map;for(const{score:r,terms:i}of this.search(e,t)){const o=i.join(" "),c=s.get(o);c!=null?(c.score+=r,c.count+=1):s.set(o,{score:r,terms:i,count:1})}const n=[];for(const[r,{score:i,terms:o,count:c}]of s)n.push({suggestion:r,terms:o,score:i/c});return n.sort(pt),n}get documentCount(){return this._documentCount}get termCount(){return this._index.size}static loadJSON(e,t){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJS(JSON.parse(e),t)}static loadJSONAsync(e,t){return Ie(this,void 0,void 0,function*(){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJSAsync(JSON.parse(e),t)})}static getDefault(e){if(Pe.hasOwnProperty(e))return ze(Pe,e);throw new Error(`MiniSearch: unknown option "${e}"`)}static loadJS(e,t){const{index:s,documentIds:n,fieldLength:r,storedFields:i,serializationVersion:o}=e,c=this.instantiateMiniSearch(e,t);c._documentIds=Se(n),c._fieldLength=Se(r),c._storedFields=Se(i);for(const[l,h]of c._documentIds)c._idToShortId.set(h,l);for(const[l,h]of s){const f=new Map;for(const v of Object.keys(h)){let y=h[v];o===1&&(y=y.ds),f.set(parseInt(v,10),Se(y))}c._index.set(l,f)}return c}static loadJSAsync(e,t){return Ie(this,void 0,void 0,function*(){const{index:s,documentIds:n,fieldLength:r,storedFields:i,serializationVersion:o}=e,c=this.instantiateMiniSearch(e,t);c._documentIds=yield Ee(n),c._fieldLength=yield Ee(r),c._storedFields=yield Ee(i);for(const[h,f]of c._documentIds)c._idToShortId.set(f,h);let l=0;for(const[h,f]of s){const v=new Map;for(const y of Object.keys(f)){let w=f[y];o===1&&(w=w.ds),v.set(parseInt(y,10),yield Ee(w))}++l%1e3===0&&(yield kt(0)),c._index.set(h,v)}return c})}static instantiateMiniSearch(e,t){const{documentCount:s,nextId:n,fieldIds:r,averageFieldLength:i,dirtCount:o,serializationVersion:c}=e;if(c!==1&&c!==2)throw new Error("MiniSearch: cannot deserialize an index created with an incompatible version");const l=new le(t);return l._documentCount=s,l._nextId=n,l._idToShortId=new Map,l._fieldIds=r,l._avgFieldLength=i,l._dirtCount=o||0,l._index=new X,l}executeQuery(e,t={}){if(e===le.wildcard)return this.executeWildcardQuery(t);if(typeof e!="string"){const v=Object.assign(Object.assign(Object.assign({},t),e),{queries:void 0}),y=e.queries.map(w=>this.executeQuery(w,v));return this.combineResults(y,v.combineWith)}const{tokenize:s,processTerm:n,searchOptions:r}=this._options,i=Object.assign(Object.assign({tokenize:s,processTerm:n},r),t),{tokenize:o,processTerm:c}=i,f=o(e).flatMap(v=>c(v)).filter(v=>!!v).map($s(i)).map(v=>this.executeQuerySpec(v,i));return this.combineResults(f,i.combineWith)}executeQuerySpec(e,t){const s=Object.assign(Object.assign({},this._options.searchOptions),t),n=(s.fields||this._options.fields).reduce((b,x)=>Object.assign(Object.assign({},b),{[x]:ze(s.boost,x)||1}),{}),{boostDocument:r,weights:i,maxFuzzy:o,bm25:c}=s,{fuzzy:l,prefix:h}=Object.assign(Object.assign({},ht.weights),i),f=this._index.get(e.term),v=this.termResults(e.term,e.term,1,f,n,r,c);let y,w;if(e.prefix&&(y=this._index.atPrefix(e.term)),e.fuzzy){const b=e.fuzzy===!0?.2:e.fuzzy,x=b<1?Math.min(o,Math.round(e.term.length*b)):b;x&&(w=this._index.fuzzyGet(e.term,x))}if(y)for(const[b,x]of y){const C=b.length-e.term.length;if(!C)continue;w==null||w.delete(b);const R=h*b.length/(b.length+.3*C);this.termResults(e.term,b,R,x,n,r,c,v)}if(w)for(const b of w.keys()){const[x,C]=w.get(b);if(!C)continue;const R=l*b.length/(b.length+C);this.termResults(e.term,b,R,x,n,r,c,v)}return v}executeWildcardQuery(e){const t=new Map,s=Object.assign(Object.assign({},this._options.searchOptions),e);for(const[n,r]of this._documentIds){const i=s.boostDocument?s.boostDocument(r,"",this._storedFields.get(n)):1;t.set(n,{score:i,terms:[],match:{}})}return t}combineResults(e,t=Ue){if(e.length===0)return new Map;const s=t.toLowerCase(),n=Ps[s];if(!n)throw new Error(`Invalid combination operator: ${t}`);return e.reduce(n)||new Map}toJSON(){const e=[];for(const[t,s]of this._index){const n={};for(const[r,i]of s)n[r]=Object.fromEntries(i);e.push([t,n])}return{documentCount:this._documentCount,nextId:this._nextId,documentIds:Object.fromEntries(this._documentIds),fieldIds:this._fieldIds,fieldLength:Object.fromEntries(this._fieldLength),averageFieldLength:this._avgFieldLength,storedFields:Object.fromEntries(this._storedFields),dirtCount:this._dirtCount,index:e,serializationVersion:2}}termResults(e,t,s,n,r,i,o,c=new Map){if(n==null)return c;for(const l of Object.keys(r)){const h=r[l],f=this._fieldIds[l],v=n.get(f);if(v==null)continue;let y=v.size;const w=this._avgFieldLength[f];for(const b of v.keys()){if(!this._documentIds.has(b)){this.removeTerm(f,b,t),y-=1;continue}const x=i?i(this._documentIds.get(b),t,this._storedFields.get(b)):1;if(!x)continue;const C=v.get(b),R=this._fieldLength.get(b)[f],W=Vs(C,y,this._documentCount,R,w,o),J=s*h*x*W,V=c.get(b);if(V){V.score+=J,Ws(V.terms,e);const U=ze(V.match,t);U?U.push(l):V.match[t]=[l]}else c.set(b,{score:J,terms:[e],match:{[t]:[l]}})}}return c}addTerm(e,t,s){const n=this._index.fetch(s,vt);let r=n.get(e);if(r==null)r=new Map,r.set(t,1),n.set(e,r);else{const i=r.get(t);r.set(t,(i||0)+1)}}removeTerm(e,t,s){if(!this._index.has(s)){this.warnDocumentChanged(t,e,s);return}const n=this._index.fetch(s,vt),r=n.get(e);r==null||r.get(t)==null?this.warnDocumentChanged(t,e,s):r.get(t)<=1?r.size<=1?n.delete(e):r.delete(t):r.set(t,r.get(t)-1),this._index.get(s).size===0&&this._index.delete(s)}warnDocumentChanged(e,t,s){for(const n of Object.keys(this._fieldIds))if(this._fieldIds[n]===t){this._options.logger("warn",`MiniSearch: document with ID ${this._documentIds.get(e)} has changed before removal: term "${s}" was not present in field "${n}". Removing a document after it has changed can corrupt the index!`,"version_conflict");return}}addDocumentId(e){const t=this._nextId;return this._idToShortId.set(e,t),this._documentIds.set(t,e),this._documentCount+=1,this._nextId+=1,t}addFields(e){for(let t=0;tObject.prototype.hasOwnProperty.call(a,e)?a[e]:void 0,Ps={[Ue]:(a,e)=>{for(const t of e.keys()){const s=a.get(t);if(s==null)a.set(t,e.get(t));else{const{score:n,terms:r,match:i}=e.get(t);s.score=s.score+n,s.match=Object.assign(s.match,i),ft(s.terms,r)}}return a},[Nt]:(a,e)=>{const t=new Map;for(const s of e.keys()){const n=a.get(s);if(n==null)continue;const{score:r,terms:i,match:o}=e.get(s);ft(n.terms,i),t.set(s,{score:n.score+r,terms:n.terms,match:Object.assign(n.match,o)})}return t},[zs]:(a,e)=>{for(const t of e.keys())a.delete(t);return a}},js={k:1.2,b:.7,d:.5},Vs=(a,e,t,s,n,r)=>{const{k:i,b:o,d:c}=r;return Math.log(1+(t-e+.5)/(e+.5))*(c+a*(i+1)/(a+i*(1-o+o*s/n)))},$s=a=>(e,t,s)=>{const n=typeof a.fuzzy=="function"?a.fuzzy(e,t,s):a.fuzzy||!1,r=typeof a.prefix=="function"?a.prefix(e,t,s):a.prefix===!0;return{term:e,fuzzy:n,prefix:r}},Pe={idField:"id",extractField:(a,e)=>a[e],tokenize:a=>a.split(Ks),processTerm:a=>a.toLowerCase(),fields:void 0,searchOptions:void 0,storeFields:[],logger:(a,e)=>{typeof(console==null?void 0:console[a])=="function"&&console[a](e)},autoVacuum:!0},ht={combineWith:Ue,prefix:!1,fuzzy:!1,maxFuzzy:6,boost:{},weights:{fuzzy:.45,prefix:.375},bm25:js},Bs={combineWith:Nt,prefix:(a,e,t)=>e===t.length-1},We={batchSize:1e3,batchWait:10},Ke={minDirtFactor:.1,minDirtCount:20},je=Object.assign(Object.assign({},We),Ke),Ws=(a,e)=>{a.includes(e)||a.push(e)},ft=(a,e)=>{for(const t of e)a.includes(t)||a.push(t)},pt=({score:a},{score:e})=>e-a,vt=()=>new Map,Se=a=>{const e=new Map;for(const t of Object.keys(a))e.set(parseInt(t,10),a[t]);return e},Ee=a=>Ie(void 0,void 0,void 0,function*(){const e=new Map;let t=0;for(const s of Object.keys(a))e.set(parseInt(s,10),a[s]),++t%1e3===0&&(yield kt(0));return e}),kt=a=>new Promise(e=>setTimeout(e,a)),Ks=/[\n\r\p{Z}\p{P}]+/u;class Js{constructor(e=10){Ce(this,"max");Ce(this,"cache");this.max=e,this.cache=new Map}get(e){let t=this.cache.get(e);return t!==void 0&&(this.cache.delete(e),this.cache.set(e,t)),t}set(e,t){this.cache.has(e)?this.cache.delete(e):this.cache.size===this.max&&this.cache.delete(this.first()),this.cache.set(e,t)}first(){return this.cache.keys().next().value}clear(){this.cache.clear()}}const B=a=>(Qt("data-v-639d7ab9"),a=a(),Ht(),a),Us=["aria-owns"],qs={class:"shell"},Gs=["title"],Qs=B(()=>_("span",{"aria-hidden":"true",class:"vpi-search search-icon local-search-icon"},null,-1)),Hs=[Qs],Ys={class:"search-actions before"},Zs=["title"],Xs=B(()=>_("span",{class:"vpi-arrow-left local-search-icon"},null,-1)),en=[Xs],tn=["placeholder"],sn={class:"search-actions"},nn=["title"],rn=B(()=>_("span",{class:"vpi-layout-list local-search-icon"},null,-1)),an=[rn],on=["disabled","title"],cn=B(()=>_("span",{class:"vpi-delete local-search-icon"},null,-1)),ln=[cn],un=["id","role","aria-labelledby"],dn=["aria-selected"],hn=["href","aria-label","onMouseenter","onFocusin"],fn={class:"titles"},pn=B(()=>_("span",{class:"title-icon"},"#",-1)),vn=["innerHTML"],mn=B(()=>_("span",{class:"vpi-chevron-right local-search-icon"},null,-1)),gn={class:"title main"},bn=["innerHTML"],yn={key:0,class:"excerpt-wrapper"},wn={key:0,class:"excerpt",inert:""},_n=["innerHTML"],xn=B(()=>_("div",{class:"excerpt-gradient-bottom"},null,-1)),Sn=B(()=>_("div",{class:"excerpt-gradient-top"},null,-1)),En={key:0,class:"no-results"},In={class:"search-keyboard-shortcuts"},Tn=["aria-label"],Nn=B(()=>_("span",{class:"vpi-arrow-up navigate-icon"},null,-1)),kn=[Nn],Fn=["aria-label"],On=B(()=>_("span",{class:"vpi-arrow-down navigate-icon"},null,-1)),Rn=[On],Cn=["aria-label"],Mn=B(()=>_("span",{class:"vpi-corner-down-left navigate-icon"},null,-1)),An=[Mn],Ln=["aria-label"],Dn=Mt({__name:"VPLocalSearchBox",emits:["close"],setup(a,{emit:e}){var F,M;const t=e,s=be(),n=be(),r=be(is),i=ss(),{activate:o}=Rs(s,{immediate:!0,allowOutsideClick:!0,clickOutsideDeactivates:!0,escapeDeactivates:!0}),{localeIndex:c,theme:l}=i,h=tt(async()=>{var p,g,N,O,P,j,T,L,G;return rt(le.loadJSON((N=await((g=(p=r.value)[c.value])==null?void 0:g.call(p)))==null?void 0:N.default,{fields:["title","titles","text"],storeFields:["title","titles"],searchOptions:{fuzzy:.2,prefix:!0,boost:{title:4,text:2,titles:1},...((O=l.value.search)==null?void 0:O.provider)==="local"&&((j=(P=l.value.search.options)==null?void 0:P.miniSearch)==null?void 0:j.searchOptions)},...((T=l.value.search)==null?void 0:T.provider)==="local"&&((G=(L=l.value.search.options)==null?void 0:L.miniSearch)==null?void 0:G.options)}))}),v=ye(()=>{var p,g;return((p=l.value.search)==null?void 0:p.provider)==="local"&&((g=l.value.search.options)==null?void 0:g.disableQueryPersistence)===!0}).value?ne(""):At("vitepress:local-search-filter",""),y=Lt("vitepress:local-search-detailed-list",((F=l.value.search)==null?void 0:F.provider)==="local"&&((M=l.value.search.options)==null?void 0:M.detailedView)===!0),w=ye(()=>{var p,g,N;return((p=l.value.search)==null?void 0:p.provider)==="local"&&(((g=l.value.search.options)==null?void 0:g.disableDetailedView)===!0||((N=l.value.search.options)==null?void 0:N.detailedView)===!1)}),b=ye(()=>{var g,N,O,P,j,T,L;const p=((g=l.value.search)==null?void 0:g.options)??l.value.algolia;return((j=(P=(O=(N=p==null?void 0:p.locales)==null?void 0:N[c.value])==null?void 0:O.translations)==null?void 0:P.button)==null?void 0:j.buttonText)||((L=(T=p==null?void 0:p.translations)==null?void 0:T.button)==null?void 0:L.buttonText)||"Search"});Dt(()=>{w.value&&(y.value=!1)});const x=be([]),C=ne(!1);Ve(v,()=>{C.value=!1});const R=tt(async()=>{if(n.value)return rt(new Ms(n.value))},null),W=new Js(16);zt(()=>[h.value,v.value,y.value],async([p,g,N],O,P)=>{var me,qe,Ge,Qe;(O==null?void 0:O[0])!==p&&W.clear();let j=!1;if(P(()=>{j=!0}),!p)return;x.value=p.search(g).slice(0,16),C.value=!0;const T=N?await Promise.all(x.value.map($=>J($.id))):[];if(j)return;for(const{id:$,mod:ee}of T){const te=$.slice(0,$.indexOf("#"));let Y=W.get(te);if(Y)continue;Y=new Map,W.set(te,Y);const Q=ee.default??ee;if(Q!=null&&Q.render||Q!=null&&Q.setup){const se=Yt(Q);se.config.warnHandler=()=>{},se.provide(Zt,i),Object.defineProperties(se.config.globalProperties,{$frontmatter:{get(){return i.frontmatter.value}},$params:{get(){return i.page.value.params}}});const He=document.createElement("div");se.mount(He),He.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(ue=>{var Xe;const ge=(Xe=ue.querySelector("a"))==null?void 0:Xe.getAttribute("href"),Ye=(ge==null?void 0:ge.startsWith("#"))&&ge.slice(1);if(!Ye)return;let Ze="";for(;(ue=ue.nextElementSibling)&&!/^h[1-6]$/i.test(ue.tagName);)Ze+=ue.outerHTML;Y.set(Ye,Ze)}),se.unmount()}if(j)return}const L=new Set;if(x.value=x.value.map($=>{const[ee,te]=$.id.split("#"),Y=W.get(ee),Q=(Y==null?void 0:Y.get(te))??"";for(const se in $.match)L.add(se);return{...$,text:Q}}),await de(),j)return;await new Promise($=>{var ee;(ee=R.value)==null||ee.unmark({done:()=>{var te;(te=R.value)==null||te.markRegExp(k(L),{done:$})}})});const G=((me=s.value)==null?void 0:me.querySelectorAll(".result .excerpt"))??[];for(const $ of G)(qe=$.querySelector('mark[data-markjs="true"]'))==null||qe.scrollIntoView({block:"center"});(Qe=(Ge=n.value)==null?void 0:Ge.firstElementChild)==null||Qe.scrollIntoView({block:"start"})},{debounce:200,immediate:!0});async function J(p){const g=Xt(p.slice(0,p.indexOf("#")));try{if(!g)throw new Error(`Cannot find file for id: ${p}`);return{id:p,mod:await import(g)}}catch(N){return console.error(N),{id:p,mod:{}}}}const V=ne(),U=ye(()=>{var p;return((p=v.value)==null?void 0:p.length)<=0});function q(p=!0){var g,N;(g=V.value)==null||g.focus(),p&&((N=V.value)==null||N.select())}Me(()=>{q()});function Re(p){p.pointerType==="mouse"&&q()}const A=ne(-1),K=ne(!1);Ve(x,p=>{A.value=p.length?0:-1,I()});function I(){de(()=>{const p=document.querySelector(".result.selected");p==null||p.scrollIntoView({block:"nearest"})})}we("ArrowUp",p=>{p.preventDefault(),A.value--,A.value<0&&(A.value=x.value.length-1),K.value=!0,I()}),we("ArrowDown",p=>{p.preventDefault(),A.value++,A.value>=x.value.length&&(A.value=0),K.value=!0,I()});const u=Pt();we("Enter",p=>{if(p.isComposing||p.target instanceof HTMLButtonElement&&p.target.type!=="submit")return;const g=x.value[A.value];if(p.target instanceof HTMLInputElement&&!g){p.preventDefault();return}g&&(u.go(g.id),t("close"))}),we("Escape",()=>{t("close")});const m=ns({modal:{displayDetails:"Display detailed list",resetButtonTitle:"Reset search",backButtonTitle:"Close search",noResultsText:"No results for",footer:{selectText:"to select",selectKeyAriaLabel:"enter",navigateText:"to navigate",navigateUpKeyAriaLabel:"up arrow",navigateDownKeyAriaLabel:"down arrow",closeText:"to close",closeKeyAriaLabel:"escape"}}});Me(()=>{window.history.pushState(null,"",null)}),jt("popstate",p=>{p.preventDefault(),t("close")});const S=Vt($t?document.body:null);Me(()=>{de(()=>{S.value=!0,de().then(()=>o())})}),Bt(()=>{S.value=!1});function E(){v.value="",de().then(()=>q(!1))}function k(p){return new RegExp([...p].sort((g,N)=>N.length-g.length).map(g=>`(${es(g)})`).join("|"),"gi")}return(p,g)=>{var N,O,P,j;return H(),Wt(Gt,{to:"body"},[_("div",{ref_key:"el",ref:s,role:"button","aria-owns":(N=x.value)!=null&&N.length?"localsearch-list":void 0,"aria-expanded":"true","aria-haspopup":"listbox","aria-labelledby":"localsearch-label",class:"VPLocalSearchBox"},[_("div",{class:"backdrop",onClick:g[0]||(g[0]=T=>p.$emit("close"))}),_("div",qs,[_("form",{class:"search-bar",onPointerup:g[4]||(g[4]=T=>Re(T)),onSubmit:g[5]||(g[5]=Kt(()=>{},["prevent"]))},[_("label",{title:b.value,id:"localsearch-label",for:"localsearch-input"},Hs,8,Gs),_("div",Ys,[_("button",{class:"back-button",title:D(m)("modal.backButtonTitle"),onClick:g[1]||(g[1]=T=>p.$emit("close"))},en,8,Zs)]),Jt(_("input",{ref_key:"searchInput",ref:V,"onUpdate:modelValue":g[2]||(g[2]=T=>qt(v)?v.value=T:null),placeholder:b.value,id:"localsearch-input","aria-labelledby":"localsearch-label",class:"search-input"},null,8,tn),[[Ut,D(v)]]),_("div",sn,[w.value?_e("",!0):(H(),Z("button",{key:0,class:st(["toggle-layout-button",{"detailed-list":D(y)}]),type:"button",title:D(m)("modal.displayDetails"),onClick:g[3]||(g[3]=T=>A.value>-1&&(y.value=!D(y)))},an,10,nn)),_("button",{class:"clear-button",type:"reset",disabled:U.value,title:D(m)("modal.resetButtonTitle"),onClick:E},ln,8,on)])],32),_("ul",{ref_key:"resultsEl",ref:n,id:(O=x.value)!=null&&O.length?"localsearch-list":void 0,role:(P=x.value)!=null&&P.length?"listbox":void 0,"aria-labelledby":(j=x.value)!=null&&j.length?"localsearch-label":void 0,class:"results",onMousemove:g[7]||(g[7]=T=>K.value=!1)},[(H(!0),Z(it,null,nt(x.value,(T,L)=>(H(),Z("li",{key:T.id,role:"option","aria-selected":A.value===L?"true":"false"},[_("a",{href:T.id,class:st(["result",{selected:A.value===L}]),"aria-label":[...T.titles,T.title].join(" > "),onMouseenter:G=>!K.value&&(A.value=L),onFocusin:G=>A.value=L,onClick:g[6]||(g[6]=G=>p.$emit("close"))},[_("div",null,[_("div",fn,[pn,(H(!0),Z(it,null,nt(T.titles,(G,me)=>(H(),Z("span",{key:me,class:"title"},[_("span",{class:"text",innerHTML:G},null,8,vn),mn]))),128)),_("span",gn,[_("span",{class:"text",innerHTML:T.title},null,8,bn)])]),D(y)?(H(),Z("div",yn,[T.text?(H(),Z("div",wn,[_("div",{class:"vp-doc",innerHTML:T.text},null,8,_n)])):_e("",!0),xn,Sn])):_e("",!0)])],42,hn)],8,dn))),128)),D(v)&&!x.value.length&&C.value?(H(),Z("li",En,[he(fe(D(m)("modal.noResultsText"))+' "',1),_("strong",null,fe(D(v)),1),he('" ')])):_e("",!0)],40,un),_("div",In,[_("span",null,[_("kbd",{"aria-label":D(m)("modal.footer.navigateUpKeyAriaLabel")},kn,8,Tn),_("kbd",{"aria-label":D(m)("modal.footer.navigateDownKeyAriaLabel")},Rn,8,Fn),he(" "+fe(D(m)("modal.footer.navigateText")),1)]),_("span",null,[_("kbd",{"aria-label":D(m)("modal.footer.selectKeyAriaLabel")},An,8,Cn),he(" "+fe(D(m)("modal.footer.selectText")),1)]),_("span",null,[_("kbd",{"aria-label":D(m)("modal.footer.closeKeyAriaLabel")},"esc",8,Ln),he(" "+fe(D(m)("modal.footer.closeText")),1)])])])],8,Us)])}}}),Bn=ts(Dn,[["__scopeId","data-v-639d7ab9"]]);export{Bn as default}; diff --git a/assets/chunks/framework.DB6FXu2X.js b/assets/chunks/framework.B_akP0Gx.js similarity index 67% rename from assets/chunks/framework.DB6FXu2X.js rename to assets/chunks/framework.B_akP0Gx.js index 758afd3..cd84890 100644 --- a/assets/chunks/framework.DB6FXu2X.js +++ b/assets/chunks/framework.B_akP0Gx.js @@ -1,17 +1,17 @@ /** -* @vue/shared v3.4.32 +* @vue/shared v3.4.33 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **//*! #__NO_SIDE_EFFECTS__ */function wr(e,t){const n=new Set(e.split(","));return r=>n.has(r)}const ne={},yt=[],Te=()=>{},Pi=()=>!1,Kt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Er=e=>e.startsWith("onUpdate:"),fe=Object.assign,Cr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ni=Object.prototype.hasOwnProperty,z=(e,t)=>Ni.call(e,t),B=Array.isArray,_t=e=>xn(e)==="[object Map]",zs=e=>xn(e)==="[object Set]",K=e=>typeof e=="function",ie=e=>typeof e=="string",Qe=e=>typeof e=="symbol",Z=e=>e!==null&&typeof e=="object",Js=e=>(Z(e)||K(e))&&K(e.then)&&K(e.catch),Qs=Object.prototype.toString,xn=e=>Qs.call(e),Fi=e=>xn(e).slice(8,-1),Zs=e=>xn(e)==="[object Object]",Sr=e=>ie(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,bt=wr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Tn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},$i=/-(\w)/g,Oe=Tn(e=>e.replace($i,(t,n)=>n?n.toUpperCase():"")),Hi=/\B([A-Z])/g,Ze=Tn(e=>e.replace(Hi,"-$1").toLowerCase()),An=Tn(e=>e.charAt(0).toUpperCase()+e.slice(1)),fn=Tn(e=>e?`on${An(e)}`:""),ze=(e,t)=>!Object.is(e,t),dn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},cr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ji=e=>{const t=ie(e)?Number(e):NaN;return isNaN(t)?e:t};let Jr;const to=()=>Jr||(Jr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function xr(e){if(B(e)){const t={};for(let n=0;n{if(n){const r=n.split(Di);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Tr(e){let t="";if(ie(e))t=e;else if(B(e))for(let n=0;n!!(e&&e.__v_isRef===!0),Wi=e=>ie(e)?e:e==null?"":B(e)||Z(e)&&(e.toString===Qs||!K(e.toString))?ro(e)?Wi(e.value):JSON.stringify(e,so,2):String(e),so=(e,t)=>ro(t)?so(e,t.value):_t(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[kn(r,o)+" =>"]=s,n),{})}:zs(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>kn(n))}:Qe(t)?kn(t):Z(t)&&!B(t)&&!Zs(t)?String(t):t,kn=(e,t="")=>{var n;return Qe(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** -* @vue/reactivity v3.4.32 +* @vue/reactivity v3.4.33 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let we;class qi{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=we,!t&&we&&(this.index=(we.scopes||(we.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=we;try{return we=this,t()}finally{we=n}}}on(){we=this}off(){we=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),tt()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Xe,n=ct;try{return Xe=!0,ct=this,this._runnings++,Qr(this),this.fn()}finally{Zr(this),this._runnings--,ct=n,Xe=t}}stop(){this.active&&(Qr(this),Zr(this),this.onStop&&this.onStop(),this.active=!1)}}function Yi(e){return e.value}function Qr(e){e._trackId++,e._depsLength=0}function Zr(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},yn=new WeakMap,at=Symbol(""),fr=Symbol("");function be(e,t,n){if(Xe&&ct){let r=yn.get(e);r||yn.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=uo(()=>r.delete(n))),co(ct,s)}}function Ve(e,t,n,r,s,o){const i=yn.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&B(e)){const c=Number(r);i.forEach((u,f)=>{(f==="length"||!Qe(f)&&f>=c)&&l.push(u)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":B(e)?Sr(n)&&l.push(i.get("length")):(l.push(i.get(at)),_t(e)&&l.push(i.get(fr)));break;case"delete":B(e)||(l.push(i.get(at)),_t(e)&&l.push(i.get(fr)));break;case"set":_t(e)&&l.push(i.get(at));break}Rr();for(const c of l)c&&ao(c,4);Or()}function zi(e,t){const n=yn.get(e);return n&&n.get(t)}const Ji=wr("__proto__,__v_isRef,__isVue"),fo=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Qe)),es=Qi();function Qi(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=J(this);for(let o=0,i=this.length;o{e[t]=function(...n){et(),Rr();const r=J(this)[t].apply(this,n);return Or(),tt(),r}}),e}function Zi(e){Qe(e)||(e=String(e));const t=J(this);return be(t,"has",e),t.hasOwnProperty(e)}class ho{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?dl:yo:o?mo:go).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=B(t);if(!s){if(i&&z(es,n))return Reflect.get(es,n,r);if(n==="hasOwnProperty")return Zi}const l=Reflect.get(t,n,r);return(Qe(n)?fo.has(n):Ji(n))||(s||be(t,"get",n),o)?l:de(l)?i&&Sr(n)?l:l.value:Z(l)?s?Ln(l):On(l):l}}class po extends ho{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(!this._isShallow){const c=dt(o);if(!St(r)&&!dt(r)&&(o=J(o),r=J(r)),!B(t)&&de(o)&&!de(r))return c?!1:(o.value=r,!0)}const i=B(t)&&Sr(n)?Number(n)e,Rn=e=>Reflect.getPrototypeOf(e);function Jt(e,t,n=!1,r=!1){e=e.__v_raw;const s=J(e),o=J(t);n||(ze(t,o)&&be(s,"get",t),be(s,"get",o));const{has:i}=Rn(s),l=r?Lr:n?Pr:jt;if(i.call(s,t))return l(e.get(t));if(i.call(s,o))return l(e.get(o));e!==s&&e.get(t)}function Qt(e,t=!1){const n=this.__v_raw,r=J(n),s=J(e);return t||(ze(e,s)&&be(r,"has",e),be(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function Zt(e,t=!1){return e=e.__v_raw,!t&&be(J(e),"iterate",at),Reflect.get(e,"size",e)}function ts(e,t=!1){!t&&!St(e)&&!dt(e)&&(e=J(e));const n=J(this);return Rn(n).has.call(n,e)||(n.add(e),Ve(n,"add",e,e)),this}function ns(e,t,n=!1){!n&&!St(t)&&!dt(t)&&(t=J(t));const r=J(this),{has:s,get:o}=Rn(r);let i=s.call(r,e);i||(e=J(e),i=s.call(r,e));const l=o.call(r,e);return r.set(e,t),i?ze(t,l)&&Ve(r,"set",e,t):Ve(r,"add",e,t),this}function rs(e){const t=J(this),{has:n,get:r}=Rn(t);let s=n.call(t,e);s||(e=J(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&Ve(t,"delete",e,void 0),o}function ss(){const e=J(this),t=e.size!==0,n=e.clear();return t&&Ve(e,"clear",void 0,void 0),n}function en(e,t){return function(r,s){const o=this,i=o.__v_raw,l=J(i),c=t?Lr:e?Pr:jt;return!e&&be(l,"iterate",at),i.forEach((u,f)=>r.call(s,c(u),c(f),o))}}function tn(e,t,n){return function(...r){const s=this.__v_raw,o=J(s),i=_t(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,u=s[e](...r),f=n?Lr:t?Pr:jt;return!t&&be(o,"iterate",c?fr:at),{next(){const{value:h,done:m}=u.next();return m?{value:h,done:m}:{value:l?[f(h[0]),f(h[1])]:f(h),done:m}},[Symbol.iterator](){return this}}}}function Ue(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function sl(){const e={get(o){return Jt(this,o)},get size(){return Zt(this)},has:Qt,add:ts,set:ns,delete:rs,clear:ss,forEach:en(!1,!1)},t={get(o){return Jt(this,o,!1,!0)},get size(){return Zt(this)},has:Qt,add(o){return ts.call(this,o,!0)},set(o,i){return ns.call(this,o,i,!0)},delete:rs,clear:ss,forEach:en(!1,!0)},n={get(o){return Jt(this,o,!0)},get size(){return Zt(this,!0)},has(o){return Qt.call(this,o,!0)},add:Ue("add"),set:Ue("set"),delete:Ue("delete"),clear:Ue("clear"),forEach:en(!0,!1)},r={get(o){return Jt(this,o,!0,!0)},get size(){return Zt(this,!0)},has(o){return Qt.call(this,o,!0)},add:Ue("add"),set:Ue("set"),delete:Ue("delete"),clear:Ue("clear"),forEach:en(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=tn(o,!1,!1),n[o]=tn(o,!0,!1),t[o]=tn(o,!1,!0),r[o]=tn(o,!0,!0)}),[e,n,t,r]}const[ol,il,ll,cl]=sl();function Mr(e,t){const n=t?e?cl:ll:e?il:ol;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(z(n,s)&&s in r?n:r,s,o)}const al={get:Mr(!1,!1)},ul={get:Mr(!1,!0)},fl={get:Mr(!0,!1)};const go=new WeakMap,mo=new WeakMap,yo=new WeakMap,dl=new WeakMap;function hl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function pl(e){return e.__v_skip||!Object.isExtensible(e)?0:hl(Fi(e))}function On(e){return dt(e)?e:Ir(e,!1,tl,al,go)}function gl(e){return Ir(e,!1,rl,ul,mo)}function Ln(e){return Ir(e,!0,nl,fl,yo)}function Ir(e,t,n,r,s){if(!Z(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=pl(e);if(i===0)return e;const l=new Proxy(e,i===2?r:n);return s.set(e,l),l}function vt(e){return dt(e)?vt(e.__v_raw):!!(e&&e.__v_isReactive)}function dt(e){return!!(e&&e.__v_isReadonly)}function St(e){return!!(e&&e.__v_isShallow)}function _o(e){return e?!!e.__v_raw:!1}function J(e){const t=e&&e.__v_raw;return t?J(t):e}function hn(e){return Object.isExtensible(e)&&eo(e,"__v_skip",!0),e}const jt=e=>Z(e)?On(e):e,Pr=e=>Z(e)?Ln(e):e;class bo{constructor(t,n,r,s){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Ar(()=>t(this._value),()=>Mt(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=J(this);return(!t._cacheable||t.effect.dirty)&&ze(t._value,t._value=t.effect.run())&&Mt(t,4),Nr(t),t.effect._dirtyLevel>=2&&Mt(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function ml(e,t,n=!1){let r,s;const o=K(e);return o?(r=e,s=Te):(r=e.get,s=e.set),new bo(r,s,o||!s,n)}function Nr(e){var t;Xe&&ct&&(e=J(e),co(ct,(t=e.dep)!=null?t:e.dep=uo(()=>e.dep=void 0,e instanceof bo?e:void 0)))}function Mt(e,t=4,n,r){e=J(e);const s=e.dep;s&&ao(s,t)}function de(e){return!!(e&&e.__v_isRef===!0)}function oe(e){return vo(e,!1)}function Fr(e){return vo(e,!0)}function vo(e,t){return de(e)?e:new yl(e,t)}class yl{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:J(t),this._value=n?t:jt(t)}get value(){return Nr(this),this._value}set value(t){const n=this.__v_isShallow||St(t)||dt(t);t=n?t:J(t),ze(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:jt(t),Mt(this,4))}}function wo(e){return de(e)?e.value:e}const _l={get:(e,t,n)=>wo(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return de(s)&&!de(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Eo(e){return vt(e)?e:new Proxy(e,_l)}class bl{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Nr(this),()=>Mt(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function vl(e){return new bl(e)}class wl{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return zi(J(this._object),this._key)}}class El{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Cl(e,t,n){return de(e)?e:K(e)?new El(e):Z(e)&&arguments.length>1?Sl(e,t,n):oe(e)}function Sl(e,t,n){const r=e[t];return de(r)?r:new wl(e,t,n)}/** -* @vue/runtime-core v3.4.32 +* @vue/runtime-core v3.4.33 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function Ye(e,t,n,r){try{return r?e(...r):e()}catch(s){Wt(s,t,n)}}function Ae(e,t,n,r){if(K(e)){const s=Ye(e,t,n,r);return s&&Js(s)&&s.catch(o=>{Wt(o,t,n)}),s}if(B(e)){const s=[];for(let o=0;o>>1,s=pe[r],o=Dt(s);oNe&&pe.splice(t,1)}function Rl(e){B(e)?wt.push(...e):(!Ke||!Ke.includes(e,e.allowRecurse?it+1:it))&&wt.push(e),So()}function os(e,t,n=Vt?Ne+1:0){for(;nDt(n)-Dt(r));if(wt.length=0,Ke){Ke.push(...t);return}for(Ke=t,it=0;ite.id==null?1/0:e.id,Ol=(e,t)=>{const n=Dt(e)-Dt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function xo(e){dr=!1,Vt=!0,pe.sort(Ol);try{for(Ne=0;Ne{r._d&&ws(-1);const o=bn(t);let i;try{i=e(...s)}finally{bn(o),r._d&&ws(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function uu(e,t){if(ue===null)return e;const n=Vn(ue),r=e.dirs||(e.dirs=[]);for(let s=0;s{e.isMounted=!0}),Mo(()=>{e.isUnmounting=!0}),e}const Ce=[Function,Array],To={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ce,onEnter:Ce,onAfterEnter:Ce,onEnterCancelled:Ce,onBeforeLeave:Ce,onLeave:Ce,onAfterLeave:Ce,onLeaveCancelled:Ce,onBeforeAppear:Ce,onAppear:Ce,onAfterAppear:Ce,onAppearCancelled:Ce},Ao=e=>{const t=e.subTree;return t.component?Ao(t.component):t},Il={name:"BaseTransition",props:To,setup(e,{slots:t}){const n=jn(),r=Ml();return()=>{const s=t.default&&Oo(t.default(),!0);if(!s||!s.length)return;let o=s[0];if(s.length>1){for(const m of s)if(m.type!==me){o=m;break}}const i=J(e),{mode:l}=i;if(r.isLeaving)return Kn(o);const c=is(o);if(!c)return Kn(o);let u=hr(c,i,r,n,m=>u=m);vn(c,u);const f=n.subTree,h=f&&is(f);if(h&&h.type!==me&&!lt(c,h)&&Ao(n).type!==me){const m=hr(h,i,r,n);if(vn(h,m),l==="out-in"&&c.type!==me)return r.isLeaving=!0,m.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Kn(o);l==="in-out"&&c.type!==me&&(m.delayLeave=(v,S,O)=>{const k=Ro(r,h);k[String(h.key)]=h,v[We]=()=>{S(),v[We]=void 0,delete u.delayedLeave},u.delayedLeave=O})}return o}}},Pl=Il;function Ro(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function hr(e,t,n,r,s){const{appear:o,mode:i,persisted:l=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:f,onEnterCancelled:h,onBeforeLeave:m,onLeave:v,onAfterLeave:S,onLeaveCancelled:O,onBeforeAppear:k,onAppear:W,onAfterAppear:D,onAppearCancelled:p}=t,y=String(e.key),I=Ro(n,e),T=(M,_)=>{M&&Ae(M,r,9,_)},F=(M,_)=>{const N=_[1];T(M,_),B(M)?M.every(x=>x.length<=1)&&N():M.length<=1&&N()},$={mode:i,persisted:l,beforeEnter(M){let _=c;if(!n.isMounted)if(o)_=k||c;else return;M[We]&&M[We](!0);const N=I[y];N&<(e,N)&&N.el[We]&&N.el[We](),T(_,[M])},enter(M){let _=u,N=f,x=h;if(!n.isMounted)if(o)_=W||u,N=D||f,x=p||h;else return;let G=!1;const ee=M[nn]=re=>{G||(G=!0,re?T(x,[M]):T(N,[M]),$.delayedLeave&&$.delayedLeave(),M[nn]=void 0)};_?F(_,[M,ee]):ee()},leave(M,_){const N=String(e.key);if(M[nn]&&M[nn](!0),n.isUnmounting)return _();T(m,[M]);let x=!1;const G=M[We]=ee=>{x||(x=!0,_(),ee?T(O,[M]):T(S,[M]),M[We]=void 0,I[N]===e&&delete I[N])};I[N]=e,v?F(v,[M,G]):G()},clone(M){const _=hr(M,t,n,r,s);return s&&s(_),_}};return $}function Kn(e){if(qt(e))return e=Je(e),e.children=null,e}function is(e){if(!qt(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&K(n.default))return n.default()}}function vn(e,t){e.shapeFlag&6&&e.component?vn(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Oo(e,t=!1,n){let r=[],s=0;for(let o=0;o1)for(let o=0;o!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function fu(e){K(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,timeout:o,suspensible:i=!0,onError:l}=e;let c=null,u,f=0;const h=()=>(f++,c=null,m()),m=()=>{let v;return c||(v=c=t().catch(S=>{if(S=S instanceof Error?S:new Error(String(S)),l)return new Promise((O,k)=>{l(S,()=>O(h()),()=>k(S),f+1)});throw S}).then(S=>v!==c&&c?c:(S&&(S.__esModule||S[Symbol.toStringTag]==="Module")&&(S=S.default),u=S,S)))};return Hr({name:"AsyncComponentWrapper",__asyncLoader:m,get __asyncResolved(){return u},setup(){const v=ae;if(u)return()=>Wn(u,v);const S=D=>{c=null,Wt(D,v,13,!r)};if(i&&v.suspense||Xt)return m().then(D=>()=>Wn(D,v)).catch(D=>(S(D),()=>r?le(r,{error:D}):null));const O=oe(!1),k=oe(),W=oe(!!s);return s&&setTimeout(()=>{W.value=!1},s),o!=null&&setTimeout(()=>{if(!O.value&&!k.value){const D=new Error(`Async component timed out after ${o}ms.`);S(D),k.value=D}},o),m().then(()=>{O.value=!0,v.parent&&qt(v.parent.vnode)&&(v.parent.effect.dirty=!0,In(v.parent.update))}).catch(D=>{S(D),k.value=D}),()=>{if(O.value&&u)return Wn(u,v);if(k.value&&r)return le(r,{error:k.value});if(n&&!W.value)return le(n)}}})}function Wn(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=le(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const qt=e=>e.type.__isKeepAlive;function Nl(e,t){Lo(e,"a",t)}function Fl(e,t){Lo(e,"da",t)}function Lo(e,t,n=ae){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Nn(t,r,n),n){let s=n.parent;for(;s&&s.parent;)qt(s.parent.vnode)&&$l(r,t,n,s),s=s.parent}}function $l(e,t,n,r){const s=Nn(t,e,r,!0);Fn(()=>{Cr(r[t],s)},n)}function Nn(e,t,n=ae,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{et();const l=Gt(n),c=Ae(t,n,e,i);return l(),tt(),c});return r?s.unshift(o):s.push(o),o}}const De=e=>(t,n=ae)=>{(!Xt||e==="sp")&&Nn(e,(...r)=>t(...r),n)},Hl=De("bm"),Tt=De("m"),jl=De("bu"),Vl=De("u"),Mo=De("bum"),Fn=De("um"),Dl=De("sp"),Ul=De("rtg"),Bl=De("rtc");function kl(e,t=ae){Nn("ec",e,t)}const Io="components";function du(e,t){return No(Io,e,!0,t)||e}const Po=Symbol.for("v-ndc");function hu(e){return ie(e)?No(Io,e,!1)||e:e||Po}function No(e,t,n=!0,r=!1){const s=ue||ae;if(s){const o=s.type;{const l=Fc(o,!1);if(l&&(l===t||l===Oe(t)||l===An(Oe(t))))return o}const i=ls(s[e]||o[e],t)||ls(s.appContext[e],t);return!i&&r?o:i}}function ls(e,t){return e&&(e[t]||e[Oe(t)]||e[An(Oe(t))])}function pu(e,t,n,r){let s;const o=n;if(B(e)||ie(e)){s=new Array(e.length);for(let i=0,l=e.length;it(i,l,void 0,o));else{const i=Object.keys(e);s=new Array(i.length);for(let l=0,c=i.length;lCn(t)?!(t.type===me||t.type===_e&&!Fo(t.children)):!0)?e:null}function mu(e,t){const n={};for(const r in e)n[/[A-Z]/.test(r)?`on:${r}`:fn(r)]=e[r];return n}const pr=e=>e?li(e)?Vn(e):pr(e.parent):null,It=fe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>pr(e.parent),$root:e=>pr(e.root),$emit:e=>e.emit,$options:e=>jr(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,In(e.update)}),$nextTick:e=>e.n||(e.n=Mn.bind(e.proxy)),$watch:e=>yc.bind(e)}),qn=(e,t)=>e!==ne&&!e.__isScriptSetup&&z(e,t),Kl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:l,appContext:c}=e;let u;if(t[0]!=="$"){const v=i[t];if(v!==void 0)switch(v){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(qn(r,t))return i[t]=1,r[t];if(s!==ne&&z(s,t))return i[t]=2,s[t];if((u=e.propsOptions[0])&&z(u,t))return i[t]=3,o[t];if(n!==ne&&z(n,t))return i[t]=4,n[t];gr&&(i[t]=0)}}const f=It[t];let h,m;if(f)return t==="$attrs"&&be(e.attrs,"get",""),f(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==ne&&z(n,t))return i[t]=4,n[t];if(m=c.config.globalProperties,z(m,t))return m[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return qn(s,t)?(s[t]=n,!0):r!==ne&&z(r,t)?(r[t]=n,!0):z(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let l;return!!n[i]||e!==ne&&z(e,i)||qn(t,i)||(l=o[0])&&z(l,i)||z(r,i)||z(It,i)||z(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:z(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function yu(){return Wl().slots}function Wl(){const e=jn();return e.setupContext||(e.setupContext=ai(e))}function cs(e){return B(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let gr=!0;function ql(e){const t=jr(e),n=e.proxy,r=e.ctx;gr=!1,t.beforeCreate&&as(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:l,provide:c,inject:u,created:f,beforeMount:h,mounted:m,beforeUpdate:v,updated:S,activated:O,deactivated:k,beforeDestroy:W,beforeUnmount:D,destroyed:p,unmounted:y,render:I,renderTracked:T,renderTriggered:F,errorCaptured:$,serverPrefetch:M,expose:_,inheritAttrs:N,components:x,directives:G,filters:ee}=t;if(u&&Gl(u,r,null),i)for(const Y in i){const j=i[Y];K(j)&&(r[Y]=j.bind(n))}if(s){const Y=s.call(n,n);Z(Y)&&(e.data=On(Y))}if(gr=!0,o)for(const Y in o){const j=o[Y],He=K(j)?j.bind(n,n):K(j.get)?j.get.bind(n,n):Te,Yt=!K(j)&&K(j.set)?j.set.bind(n):Te,nt=se({get:He,set:Yt});Object.defineProperty(r,Y,{enumerable:!0,configurable:!0,get:()=>nt.value,set:Me=>nt.value=Me})}if(l)for(const Y in l)$o(l[Y],r,n,Y);if(c){const Y=K(c)?c.call(n):c;Reflect.ownKeys(Y).forEach(j=>{Zl(j,Y[j])})}f&&as(f,e,"c");function U(Y,j){B(j)?j.forEach(He=>Y(He.bind(n))):j&&Y(j.bind(n))}if(U(Hl,h),U(Tt,m),U(jl,v),U(Vl,S),U(Nl,O),U(Fl,k),U(kl,$),U(Bl,T),U(Ul,F),U(Mo,D),U(Fn,y),U(Dl,M),B(_))if(_.length){const Y=e.exposed||(e.exposed={});_.forEach(j=>{Object.defineProperty(Y,j,{get:()=>n[j],set:He=>n[j]=He})})}else e.exposed||(e.exposed={});I&&e.render===Te&&(e.render=I),N!=null&&(e.inheritAttrs=N),x&&(e.components=x),G&&(e.directives=G)}function Gl(e,t,n=Te){B(e)&&(e=mr(e));for(const r in e){const s=e[r];let o;Z(s)?"default"in s?o=Ct(s.from||r,s.default,!0):o=Ct(s.from||r):o=Ct(s),de(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function as(e,t,n){Ae(B(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function $o(e,t,n,r){const s=r.includes(".")?Qo(n,r):()=>n[r];if(ie(e)){const o=t[e];K(o)&&Fe(s,o)}else if(K(e))Fe(s,e.bind(n));else if(Z(e))if(B(e))e.forEach(o=>$o(o,t,n,r));else{const o=K(e.handler)?e.handler.bind(n):t[e.handler];K(o)&&Fe(s,o,e)}}function jr(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!s.length&&!n&&!r?c=t:(c={},s.length&&s.forEach(u=>wn(c,u,i,!0)),wn(c,t,i)),Z(t)&&o.set(t,c),c}function wn(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&wn(e,o,n,!0),s&&s.forEach(i=>wn(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const l=Xl[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Xl={data:us,props:fs,emits:fs,methods:Lt,computed:Lt,beforeCreate:ge,created:ge,beforeMount:ge,mounted:ge,beforeUpdate:ge,updated:ge,beforeDestroy:ge,beforeUnmount:ge,destroyed:ge,unmounted:ge,activated:ge,deactivated:ge,errorCaptured:ge,serverPrefetch:ge,components:Lt,directives:Lt,watch:zl,provide:us,inject:Yl};function us(e,t){return t?e?function(){return fe(K(e)?e.call(this,this):e,K(t)?t.call(this,this):t)}:t:e}function Yl(e,t){return Lt(mr(e),mr(t))}function mr(e){if(B(e)){const t={};for(let n=0;n1)return n&&K(t)?t.call(r&&r.proxy):t}}const jo={},Vo=()=>Object.create(jo),Do=e=>Object.getPrototypeOf(e)===jo;function ec(e,t,n,r=!1){const s={},o=Vo();e.propsDefaults=Object.create(null),Uo(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:gl(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function tc(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,l=J(s),[c]=e.propsOptions;let u=!1;if((r||i>0)&&!(i&16)){if(i&8){const f=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[m,v]=Bo(h,t,!0);fe(i,m),v&&l.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!o&&!c)return Z(e)&&r.set(e,yt),yt;if(B(o))for(let f=0;f-1,v[1]=O<0||S-1||z(v,"default"))&&l.push(h)}}}const u=[i,l];return Z(e)&&r.set(e,u),u}function ds(e){return e[0]!=="$"&&!bt(e)}function hs(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function ps(e,t){return hs(e)===hs(t)}function gs(e,t){return B(t)?t.findIndex(n=>ps(n,e)):K(t)&&ps(t,e)?0:-1}const ko=e=>e[0]==="_"||e==="$stable",Vr=e=>B(e)?e.map(xe):[xe(e)],rc=(e,t,n)=>{if(t._n)return t;const r=Ll((...s)=>Vr(t(...s)),n);return r._c=!1,r},Ko=(e,t,n)=>{const r=e._ctx;for(const s in e){if(ko(s))continue;const o=e[s];if(K(o))t[s]=rc(s,o,r);else if(o!=null){const i=Vr(o);t[s]=()=>i}}},Wo=(e,t)=>{const n=Vr(t);e.slots.default=()=>n},qo=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},sc=(e,t,n)=>{const r=e.slots=Vo();if(e.vnode.shapeFlag&32){const s=t._;s?(qo(r,t,n),n&&eo(r,"_",s,!0)):Ko(t,r)}else t&&Wo(e,t)},oc=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=ne;if(r.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:qo(s,t,n):(o=!t.$stable,Ko(t,s)),i=t}else t&&(Wo(e,t),i={default:1});if(o)for(const l in s)!ko(l)&&i[l]==null&&delete s[l]};function En(e,t,n,r,s=!1){if(B(e)){e.forEach((m,v)=>En(m,t&&(B(t)?t[v]:t),n,r,s));return}if(Et(r)&&!s)return;const o=r.shapeFlag&4?Vn(r.component):r.el,i=s?null:o,{i:l,r:c}=e,u=t&&t.r,f=l.refs===ne?l.refs={}:l.refs,h=l.setupState;if(u!=null&&u!==c&&(ie(u)?(f[u]=null,z(h,u)&&(h[u]=null)):de(u)&&(u.value=null)),K(c))Ye(c,l,12,[i,f]);else{const m=ie(c),v=de(c);if(m||v){const S=()=>{if(e.f){const O=m?z(h,c)?h[c]:f[c]:c.value;s?B(O)&&Cr(O,o):B(O)?O.includes(o)||O.push(o):m?(f[c]=[o],z(h,c)&&(h[c]=f[c])):(c.value=[o],e.k&&(f[e.k]=c.value))}else m?(f[c]=i,z(h,c)&&(h[c]=i)):v&&(c.value=i,e.k&&(f[e.k]=i))};i?(S.id=-1,ye(S,n)):S()}}}const Go=Symbol("_vte"),ic=e=>e.__isTeleport,Nt=e=>e&&(e.disabled||e.disabled===""),ms=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ys=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,_r=(e,t)=>{const n=e&&e.to;return ie(n)?t?t(n):null:n},lc={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,o,i,l,c,u){const{mc:f,pc:h,pbc:m,o:{insert:v,querySelector:S,createText:O,createComment:k}}=u,W=Nt(t.props);let{shapeFlag:D,children:p,dynamicChildren:y}=t;if(e==null){const I=t.el=O(""),T=t.anchor=O(""),F=t.target=_r(t.props,S),$=t.targetStart=O(""),M=t.targetAnchor=O("");v(I,n,r),v(T,n,r),$[Go]=M,F&&(v($,F),v(M,F),i==="svg"||ms(F)?i="svg":(i==="mathml"||ys(F))&&(i="mathml"));const _=(N,x)=>{D&16&&f(p,N,x,s,o,i,l,c)};W?_(n,T):F&&_(F,M)}else{t.el=e.el,t.targetStart=e.targetStart;const I=t.anchor=e.anchor,T=t.target=e.target,F=t.targetAnchor=e.targetAnchor,$=Nt(e.props),M=$?n:T,_=$?I:F;if(i==="svg"||ms(T)?i="svg":(i==="mathml"||ys(T))&&(i="mathml"),y?(m(e.dynamicChildren,y,M,s,o,i,l),Dr(e,t,!0)):c||h(e,t,M,_,s,o,i,l,!1),W)$?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):rn(t,n,I,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const N=t.target=_r(t.props,S);N&&rn(t,N,null,u,0)}else $&&rn(t,T,F,u,1)}Xo(t)},remove(e,t,n,{um:r,o:{remove:s}},o){const{shapeFlag:i,children:l,anchor:c,targetStart:u,targetAnchor:f,target:h,props:m}=e;if(h&&(s(u),s(f)),o&&s(c),i&16){const v=o||!Nt(m);for(let S=0;S{_s||(console.error("Hydration completed but contains mismatches."),_s=!0)},ac=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",uc=e=>e.namespaceURI.includes("MathML"),sn=e=>{if(ac(e))return"svg";if(uc(e))return"mathml"},on=e=>e.nodeType===8;function fc(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:l,insert:c,createComment:u}}=e,f=(p,y)=>{if(!y.hasChildNodes()){n(null,p,y),_n(),y._vnode=p;return}h(y.firstChild,p,null,null,null),_n(),y._vnode=p},h=(p,y,I,T,F,$=!1)=>{$=$||!!y.dynamicChildren;const M=on(p)&&p.data==="[",_=()=>O(p,y,I,T,F,M),{type:N,ref:x,shapeFlag:G,patchFlag:ee}=y;let re=p.nodeType;y.el=p,ee===-2&&($=!1,y.dynamicChildren=null);let U=null;switch(N){case ut:re!==3?y.children===""?(c(y.el=s(""),i(p),p),U=p):U=_():(p.data!==y.children&&(gt(),p.data=y.children),U=o(p));break;case me:D(p)?(U=o(p),W(y.el=p.content.firstChild,p,I)):re!==8||M?U=_():U=o(p);break;case Ft:if(M&&(p=o(p),re=p.nodeType),re===1||re===3){U=p;const Y=!y.children.length;for(let j=0;j{$=$||!!y.dynamicChildren;const{type:M,props:_,patchFlag:N,shapeFlag:x,dirs:G,transition:ee}=y,re=M==="input"||M==="option";if(re||N!==-1){G&&Pe(y,null,I,"created");let U=!1;if(D(p)){U=zo(T,ee)&&I&&I.vnode.props&&I.vnode.props.appear;const j=p.content.firstChild;U&&ee.beforeEnter(j),W(j,p,I),y.el=p=j}if(x&16&&!(_&&(_.innerHTML||_.textContent))){let j=v(p.firstChild,y,p,I,T,F,$);for(;j;){gt();const He=j;j=j.nextSibling,l(He)}}else x&8&&p.textContent!==y.children&&(gt(),p.textContent=y.children);if(_){if(re||!$||N&48)for(const j in _)(re&&(j.endsWith("value")||j==="indeterminate")||Kt(j)&&!bt(j)||j[0]===".")&&r(p,j,null,_[j],void 0,I);else if(_.onClick)r(p,"onClick",null,_.onClick,void 0,I);else if(N&4&&vt(_.style))for(const j in _.style)_.style[j]}let Y;(Y=_&&_.onVnodeBeforeMount)&&Se(Y,I,y),G&&Pe(y,null,I,"beforeMount"),((Y=_&&_.onVnodeMounted)||G||U)&&ei(()=>{Y&&Se(Y,I,y),U&&ee.enter(p),G&&Pe(y,null,I,"mounted")},T)}return p.nextSibling},v=(p,y,I,T,F,$,M)=>{M=M||!!y.dynamicChildren;const _=y.children,N=_.length;for(let x=0;x{const{slotScopeIds:M}=y;M&&(F=F?F.concat(M):M);const _=i(p),N=v(o(p),y,_,I,T,F,$);return N&&on(N)&&N.data==="]"?o(y.anchor=N):(gt(),c(y.anchor=u("]"),_,N),N)},O=(p,y,I,T,F,$)=>{if(gt(),y.el=null,$){const N=k(p);for(;;){const x=o(p);if(x&&x!==N)l(x);else break}}const M=o(p),_=i(p);return l(p),n(null,y,_,M,I,T,sn(_),F),M},k=(p,y="[",I="]")=>{let T=0;for(;p;)if(p=o(p),p&&on(p)&&(p.data===y&&T++,p.data===I)){if(T===0)return o(p);T--}return p},W=(p,y,I)=>{const T=y.parentNode;T&&T.replaceChild(p,y);let F=I;for(;F;)F.vnode.el===y&&(F.vnode.el=F.subTree.el=p),F=F.parent},D=p=>p.nodeType===1&&p.tagName.toLowerCase()==="template";return[f,h]}const ye=ei;function dc(e){return Yo(e)}function hc(e){return Yo(e,fc)}function Yo(e,t){const n=to();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:l,createComment:c,setText:u,setElementText:f,parentNode:h,nextSibling:m,setScopeId:v=Te,insertStaticContent:S}=e,O=(a,d,g,E=null,b=null,C=null,L=void 0,A=null,R=!!d.dynamicChildren)=>{if(a===d)return;a&&!lt(a,d)&&(E=zt(a),Me(a,b,C,!0),a=null),d.patchFlag===-2&&(R=!1,d.dynamicChildren=null);const{type:w,ref:P,shapeFlag:V}=d;switch(w){case ut:k(a,d,g,E);break;case me:W(a,d,g,E);break;case Ft:a==null&&D(d,g,E,L);break;case _e:x(a,d,g,E,b,C,L,A,R);break;default:V&1?I(a,d,g,E,b,C,L,A,R):V&6?G(a,d,g,E,b,C,L,A,R):(V&64||V&128)&&w.process(a,d,g,E,b,C,L,A,R,ht)}P!=null&&b&&En(P,a&&a.ref,C,d||a,!d)},k=(a,d,g,E)=>{if(a==null)r(d.el=l(d.children),g,E);else{const b=d.el=a.el;d.children!==a.children&&u(b,d.children)}},W=(a,d,g,E)=>{a==null?r(d.el=c(d.children||""),g,E):d.el=a.el},D=(a,d,g,E)=>{[a.el,a.anchor]=S(a.children,d,g,E,a.el,a.anchor)},p=({el:a,anchor:d},g,E)=>{let b;for(;a&&a!==d;)b=m(a),r(a,g,E),a=b;r(d,g,E)},y=({el:a,anchor:d})=>{let g;for(;a&&a!==d;)g=m(a),s(a),a=g;s(d)},I=(a,d,g,E,b,C,L,A,R)=>{d.type==="svg"?L="svg":d.type==="math"&&(L="mathml"),a==null?T(d,g,E,b,C,L,A,R):M(a,d,b,C,L,A,R)},T=(a,d,g,E,b,C,L,A)=>{let R,w;const{props:P,shapeFlag:V,transition:H,dirs:q}=a;if(R=a.el=i(a.type,C,P&&P.is,P),V&8?f(R,a.children):V&16&&$(a.children,R,null,E,b,Gn(a,C),L,A),q&&Pe(a,null,E,"created"),F(R,a,a.scopeId,L,E),P){for(const te in P)te!=="value"&&!bt(te)&&o(R,te,null,P[te],C,E);"value"in P&&o(R,"value",null,P.value,C),(w=P.onVnodeBeforeMount)&&Se(w,E,a)}q&&Pe(a,null,E,"beforeMount");const X=zo(b,H);X&&H.beforeEnter(R),r(R,d,g),((w=P&&P.onVnodeMounted)||X||q)&&ye(()=>{w&&Se(w,E,a),X&&H.enter(R),q&&Pe(a,null,E,"mounted")},b)},F=(a,d,g,E,b)=>{if(g&&v(a,g),E)for(let C=0;C{for(let w=R;w{const A=d.el=a.el;let{patchFlag:R,dynamicChildren:w,dirs:P}=d;R|=a.patchFlag&16;const V=a.props||ne,H=d.props||ne;let q;if(g&&rt(g,!1),(q=H.onVnodeBeforeUpdate)&&Se(q,g,d,a),P&&Pe(d,a,g,"beforeUpdate"),g&&rt(g,!0),(V.innerHTML&&H.innerHTML==null||V.textContent&&H.textContent==null)&&f(A,""),w?_(a.dynamicChildren,w,A,g,E,Gn(d,b),C):L||j(a,d,A,null,g,E,Gn(d,b),C,!1),R>0){if(R&16)N(A,V,H,g,b);else if(R&2&&V.class!==H.class&&o(A,"class",null,H.class,b),R&4&&o(A,"style",V.style,H.style,b),R&8){const X=d.dynamicProps;for(let te=0;te{q&&Se(q,g,d,a),P&&Pe(d,a,g,"updated")},E)},_=(a,d,g,E,b,C,L)=>{for(let A=0;A{if(d!==g){if(d!==ne)for(const C in d)!bt(C)&&!(C in g)&&o(a,C,d[C],null,b,E);for(const C in g){if(bt(C))continue;const L=g[C],A=d[C];L!==A&&C!=="value"&&o(a,C,A,L,b,E)}"value"in g&&o(a,"value",d.value,g.value,b)}},x=(a,d,g,E,b,C,L,A,R)=>{const w=d.el=a?a.el:l(""),P=d.anchor=a?a.anchor:l("");let{patchFlag:V,dynamicChildren:H,slotScopeIds:q}=d;q&&(A=A?A.concat(q):q),a==null?(r(w,g,E),r(P,g,E),$(d.children||[],g,P,b,C,L,A,R)):V>0&&V&64&&H&&a.dynamicChildren?(_(a.dynamicChildren,H,g,b,C,L,A),(d.key!=null||b&&d===b.subTree)&&Dr(a,d,!0)):j(a,d,g,P,b,C,L,A,R)},G=(a,d,g,E,b,C,L,A,R)=>{d.slotScopeIds=A,a==null?d.shapeFlag&512?b.ctx.activate(d,g,E,L,R):ee(d,g,E,b,C,L,R):re(a,d,R)},ee=(a,d,g,E,b,C,L)=>{const A=a.component=Mc(a,E,b);if(qt(a)&&(A.ctx.renderer=ht),Ic(A,!1,L),A.asyncDep){if(b&&b.registerDep(A,U,L),!a.el){const R=A.subTree=le(me);W(null,R,d,g)}}else U(A,a,d,g,b,C,L)},re=(a,d,g)=>{const E=d.component=a.component;if(Ec(a,d,g))if(E.asyncDep&&!E.asyncResolved){Y(E,d,g);return}else E.next=d,Al(E.update),E.effect.dirty=!0,E.update();else d.el=a.el,E.vnode=d},U=(a,d,g,E,b,C,L)=>{const A=()=>{if(a.isMounted){let{next:P,bu:V,u:H,parent:q,vnode:X}=a;{const pt=Jo(a);if(pt){P&&(P.el=X.el,Y(a,P,L)),pt.asyncDep.then(()=>{a.isUnmounted||A()});return}}let te=P,Q;rt(a,!1),P?(P.el=X.el,Y(a,P,L)):P=X,V&&dn(V),(Q=P.props&&P.props.onVnodeBeforeUpdate)&&Se(Q,q,P,X),rt(a,!0);const ce=Xn(a),Re=a.subTree;a.subTree=ce,O(Re,ce,h(Re.el),zt(Re),a,b,C),P.el=ce.el,te===null&&Cc(a,ce.el),H&&ye(H,b),(Q=P.props&&P.props.onVnodeUpdated)&&ye(()=>Se(Q,q,P,X),b)}else{let P;const{el:V,props:H}=d,{bm:q,m:X,parent:te}=a,Q=Et(d);if(rt(a,!1),q&&dn(q),!Q&&(P=H&&H.onVnodeBeforeMount)&&Se(P,te,d),rt(a,!0),V&&Bn){const ce=()=>{a.subTree=Xn(a),Bn(V,a.subTree,a,b,null)};Q?d.type.__asyncLoader().then(()=>!a.isUnmounted&&ce()):ce()}else{const ce=a.subTree=Xn(a);O(null,ce,g,E,a,b,C),d.el=ce.el}if(X&&ye(X,b),!Q&&(P=H&&H.onVnodeMounted)){const ce=d;ye(()=>Se(P,te,ce),b)}(d.shapeFlag&256||te&&Et(te.vnode)&&te.vnode.shapeFlag&256)&&a.a&&ye(a.a,b),a.isMounted=!0,d=g=E=null}},R=a.effect=new Ar(A,Te,()=>In(w),a.scope),w=a.update=()=>{R.dirty&&R.run()};w.i=a,w.id=a.uid,rt(a,!0),w()},Y=(a,d,g)=>{d.component=a;const E=a.vnode.props;a.vnode=d,a.next=null,tc(a,d.props,E,g),oc(a,d.children,g),et(),os(a),tt()},j=(a,d,g,E,b,C,L,A,R=!1)=>{const w=a&&a.children,P=a?a.shapeFlag:0,V=d.children,{patchFlag:H,shapeFlag:q}=d;if(H>0){if(H&128){Yt(w,V,g,E,b,C,L,A,R);return}else if(H&256){He(w,V,g,E,b,C,L,A,R);return}}q&8?(P&16&&At(w,b,C),V!==w&&f(g,V)):P&16?q&16?Yt(w,V,g,E,b,C,L,A,R):At(w,b,C,!0):(P&8&&f(g,""),q&16&&$(V,g,E,b,C,L,A,R))},He=(a,d,g,E,b,C,L,A,R)=>{a=a||yt,d=d||yt;const w=a.length,P=d.length,V=Math.min(w,P);let H;for(H=0;HP?At(a,b,C,!0,!1,V):$(d,g,E,b,C,L,A,R,V)},Yt=(a,d,g,E,b,C,L,A,R)=>{let w=0;const P=d.length;let V=a.length-1,H=P-1;for(;w<=V&&w<=H;){const q=a[w],X=d[w]=R?qe(d[w]):xe(d[w]);if(lt(q,X))O(q,X,g,null,b,C,L,A,R);else break;w++}for(;w<=V&&w<=H;){const q=a[V],X=d[H]=R?qe(d[H]):xe(d[H]);if(lt(q,X))O(q,X,g,null,b,C,L,A,R);else break;V--,H--}if(w>V){if(w<=H){const q=H+1,X=qH)for(;w<=V;)Me(a[w],b,C,!0),w++;else{const q=w,X=w,te=new Map;for(w=X;w<=H;w++){const ve=d[w]=R?qe(d[w]):xe(d[w]);ve.key!=null&&te.set(ve.key,w)}let Q,ce=0;const Re=H-X+1;let pt=!1,Xr=0;const Rt=new Array(Re);for(w=0;w=Re){Me(ve,b,C,!0);continue}let Ie;if(ve.key!=null)Ie=te.get(ve.key);else for(Q=X;Q<=H;Q++)if(Rt[Q-X]===0&<(ve,d[Q])){Ie=Q;break}Ie===void 0?Me(ve,b,C,!0):(Rt[Ie-X]=w+1,Ie>=Xr?Xr=Ie:pt=!0,O(ve,d[Ie],g,null,b,C,L,A,R),ce++)}const Yr=pt?pc(Rt):yt;for(Q=Yr.length-1,w=Re-1;w>=0;w--){const ve=X+w,Ie=d[ve],zr=ve+1{const{el:C,type:L,transition:A,children:R,shapeFlag:w}=a;if(w&6){nt(a.component.subTree,d,g,E);return}if(w&128){a.suspense.move(d,g,E);return}if(w&64){L.move(a,d,g,ht);return}if(L===_e){r(C,d,g);for(let V=0;VA.enter(C),b);else{const{leave:V,delayLeave:H,afterLeave:q}=A,X=()=>r(C,d,g),te=()=>{V(C,()=>{X(),q&&q()})};H?H(C,X,te):te()}else r(C,d,g)},Me=(a,d,g,E=!1,b=!1)=>{const{type:C,props:L,ref:A,children:R,dynamicChildren:w,shapeFlag:P,patchFlag:V,dirs:H,cacheIndex:q}=a;if(V===-2&&(b=!1),A!=null&&En(A,null,g,a,!0),q!=null&&(d.renderCache[q]=void 0),P&256){d.ctx.deactivate(a);return}const X=P&1&&H,te=!Et(a);let Q;if(te&&(Q=L&&L.onVnodeBeforeUnmount)&&Se(Q,d,a),P&6)Ii(a.component,g,E);else{if(P&128){a.suspense.unmount(g,E);return}X&&Pe(a,null,d,"beforeUnmount"),P&64?a.type.remove(a,d,g,ht,E):w&&!w.hasOnce&&(C!==_e||V>0&&V&64)?At(w,d,g,!1,!0):(C===_e&&V&384||!b&&P&16)&&At(R,d,g),E&&qr(a)}(te&&(Q=L&&L.onVnodeUnmounted)||X)&&ye(()=>{Q&&Se(Q,d,a),X&&Pe(a,null,d,"unmounted")},g)},qr=a=>{const{type:d,el:g,anchor:E,transition:b}=a;if(d===_e){Mi(g,E);return}if(d===Ft){y(a);return}const C=()=>{s(g),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(a.shapeFlag&1&&b&&!b.persisted){const{leave:L,delayLeave:A}=b,R=()=>L(g,C);A?A(a.el,C,R):R()}else C()},Mi=(a,d)=>{let g;for(;a!==d;)g=m(a),s(a),a=g;s(d)},Ii=(a,d,g)=>{const{bum:E,scope:b,update:C,subTree:L,um:A,m:R,a:w}=a;bs(R),bs(w),E&&dn(E),b.stop(),C&&(C.active=!1,Me(L,a,d,g)),A&&ye(A,d),ye(()=>{a.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&a.asyncDep&&!a.asyncResolved&&a.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},At=(a,d,g,E=!1,b=!1,C=0)=>{for(let L=C;L{if(a.shapeFlag&6)return zt(a.component.subTree);if(a.shapeFlag&128)return a.suspense.next();const d=m(a.anchor||a.el),g=d&&d[Go];return g?m(g):d};let Dn=!1;const Gr=(a,d,g)=>{a==null?d._vnode&&Me(d._vnode,null,null,!0):O(d._vnode||null,a,d,null,null,null,g),Dn||(Dn=!0,os(),_n(),Dn=!1),d._vnode=a},ht={p:O,um:Me,m:nt,r:qr,mt:ee,mc:$,pc:j,pbc:_,n:zt,o:e};let Un,Bn;return t&&([Un,Bn]=t(ht)),{render:Gr,hydrate:Un,createApp:Ql(Gr,Un)}}function Gn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function rt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function zo(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Dr(e,t,n=!1){const r=e.children,s=t.children;if(B(r)&&B(s))for(let o=0;o>1,e[n[l]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Jo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Jo(t)}function bs(e){if(e)for(let t=0;tCt(gc);function Ur(e,t){return $n(e,null,t)}function bu(e,t){return $n(e,null,{flush:"post"})}const ln={};function Fe(e,t,n){return $n(e,t,n)}function $n(e,t,{immediate:n,deep:r,flush:s,once:o,onTrack:i,onTrigger:l}=ne){if(t&&o){const T=t;t=(...F)=>{T(...F),I()}}const c=ae,u=T=>r===!0?T:Ge(T,r===!1?1:void 0);let f,h=!1,m=!1;if(de(e)?(f=()=>e.value,h=St(e)):vt(e)?(f=()=>u(e),h=!0):B(e)?(m=!0,h=e.some(T=>vt(T)||St(T)),f=()=>e.map(T=>{if(de(T))return T.value;if(vt(T))return u(T);if(K(T))return Ye(T,c,2)})):K(e)?t?f=()=>Ye(e,c,2):f=()=>(v&&v(),Ae(e,c,3,[S])):f=Te,t&&r){const T=f;f=()=>Ge(T())}let v,S=T=>{v=p.onStop=()=>{Ye(T,c,4),v=p.onStop=void 0}},O;if(Xt)if(S=Te,t?n&&Ae(t,c,3,[f(),m?[]:void 0,S]):f(),s==="sync"){const T=mc();O=T.__watcherHandles||(T.__watcherHandles=[])}else return Te;let k=m?new Array(e.length).fill(ln):ln;const W=()=>{if(!(!p.active||!p.dirty))if(t){const T=p.run();(r||h||(m?T.some((F,$)=>ze(F,k[$])):ze(T,k)))&&(v&&v(),Ae(t,c,3,[T,k===ln?void 0:m&&k[0]===ln?[]:k,S]),k=T)}else p.run()};W.allowRecurse=!!t;let D;s==="sync"?D=W:s==="post"?D=()=>ye(W,c&&c.suspense):(W.pre=!0,c&&(W.id=c.uid),D=()=>In(W));const p=new Ar(f,Te,D),y=oo(),I=()=>{p.stop(),y&&Cr(y.effects,p)};return t?n?W():k=p.run():s==="post"?ye(p.run.bind(p),c&&c.suspense):p.run(),O&&O.push(I),I}function yc(e,t,n){const r=this.proxy,s=ie(e)?e.includes(".")?Qo(r,e):()=>r[e]:e.bind(r,r);let o;K(t)?o=t:(o=t.handler,n=t);const i=Gt(this),l=$n(s,o.bind(r),n);return i(),l}function Qo(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s{Ge(r,t,n)});else if(Zs(e)){for(const r in e)Ge(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Ge(e[r],t,n)}return e}const _c=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Oe(t)}Modifiers`]||e[`${Ze(t)}Modifiers`];function bc(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ne;let s=n;const o=t.startsWith("update:"),i=o&&_c(r,t.slice(7));i&&(i.trim&&(s=n.map(f=>ie(f)?f.trim():f)),i.number&&(s=n.map(cr)));let l,c=r[l=fn(t)]||r[l=fn(Oe(t))];!c&&o&&(c=r[l=fn(Ze(t))]),c&&Ae(c,e,6,s);const u=r[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ae(u,e,6,s)}}function Zo(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},l=!1;if(!K(e)){const c=u=>{const f=Zo(u,t,!0);f&&(l=!0,fe(i,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(Z(e)&&r.set(e,null),null):(B(o)?o.forEach(c=>i[c]=null):fe(i,o),Z(e)&&r.set(e,i),i)}function Hn(e,t){return!e||!Kt(t)?!1:(t=t.slice(2).replace(/Once$/,""),z(e,t[0].toLowerCase()+t.slice(1))||z(e,Ze(t))||z(e,t))}function Xn(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:l,emit:c,render:u,renderCache:f,props:h,data:m,setupState:v,ctx:S,inheritAttrs:O}=e,k=bn(e);let W,D;try{if(n.shapeFlag&4){const y=s||r,I=y;W=xe(u.call(I,y,f,h,v,m,S)),D=l}else{const y=t;W=xe(y.length>1?y(h,{attrs:l,slots:i,emit:c}):y(h,null)),D=t.props?l:vc(l)}}catch(y){$t.length=0,Wt(y,e,1),W=le(me)}let p=W;if(D&&O!==!1){const y=Object.keys(D),{shapeFlag:I}=p;y.length&&I&7&&(o&&y.some(Er)&&(D=wc(D,o)),p=Je(p,D,!1,!0))}return n.dirs&&(p=Je(p,null,!1,!0),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition&&(p.transition=n.transition),W=p,bn(k),W}const vc=e=>{let t;for(const n in e)(n==="class"||n==="style"||Kt(n))&&((t||(t={}))[n]=e[n]);return t},wc=(e,t)=>{const n={};for(const r in e)(!Er(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Ec(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:l,patchFlag:c}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?vs(r,i,u):!!i;if(c&8){const f=t.dynamicProps;for(let h=0;he.__isSuspense;function ei(e,t){t&&t.pendingBranch?B(e)?t.effects.push(...e):t.effects.push(e):Rl(e)}const _e=Symbol.for("v-fgt"),ut=Symbol.for("v-txt"),me=Symbol.for("v-cmt"),Ft=Symbol.for("v-stc"),$t=[];let Ee=null;function ti(e=!1){$t.push(Ee=e?null:[])}function xc(){$t.pop(),Ee=$t[$t.length-1]||null}let Ut=1;function ws(e){Ut+=e,e<0&&Ee&&(Ee.hasOnce=!0)}function ni(e){return e.dynamicChildren=Ut>0?Ee||yt:null,xc(),Ut>0&&Ee&&Ee.push(e),e}function vu(e,t,n,r,s,o){return ni(oi(e,t,n,r,s,o,!0))}function ri(e,t,n,r,s){return ni(le(e,t,n,r,s,!0))}function Cn(e){return e?e.__v_isVNode===!0:!1}function lt(e,t){return e.type===t.type&&e.key===t.key}const si=({key:e})=>e??null,pn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ie(e)||de(e)||K(e)?{i:ue,r:e,k:t,f:!!n}:e:null);function oi(e,t=null,n=null,r=0,s=null,o=e===_e?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&si(t),ref:t&&pn(t),scopeId:Pn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:ue};return l?(Br(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=ie(n)?8:16),Ut>0&&!i&&Ee&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Ee.push(c),c}const le=Tc;function Tc(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===Po)&&(e=me),Cn(e)){const l=Je(e,t,!0);return n&&Br(l,n),Ut>0&&!o&&Ee&&(l.shapeFlag&6?Ee[Ee.indexOf(e)]=l:Ee.push(l)),l.patchFlag=-2,l}if($c(e)&&(e=e.__vccOpts),t){t=Ac(t);let{class:l,style:c}=t;l&&!ie(l)&&(t.class=Tr(l)),Z(c)&&(_o(c)&&!B(c)&&(c=fe({},c)),t.style=xr(c))}const i=ie(e)?1:Sc(e)?128:ic(e)?64:Z(e)?4:K(e)?2:0;return oi(e,t,n,r,s,i,o,!0)}function Ac(e){return e?_o(e)||Do(e)?fe({},e):e:null}function Je(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:l,transition:c}=e,u=t?Rc(s||{},t):s,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&si(u),ref:t&&t.ref?n&&o?B(o)?o.concat(pn(t)):[o,pn(t)]:pn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==_e?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Je(e.ssContent),ssFallback:e.ssFallback&&Je(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&vn(f,c.clone(f)),f}function ii(e=" ",t=0){return le(ut,null,e,t)}function wu(e,t){const n=le(Ft,null,e);return n.staticCount=t,n}function Eu(e="",t=!1){return t?(ti(),ri(me,null,e)):le(me,null,e)}function xe(e){return e==null||typeof e=="boolean"?le(me):B(e)?le(_e,null,e.slice()):typeof e=="object"?qe(e):le(ut,null,String(e))}function qe(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Je(e)}function Br(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(B(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Br(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Do(t)?t._ctx=ue:s===3&&ue&&(ue.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else K(t)?(t={default:t,_ctx:ue},n=32):(t=String(t),r&64?(n=16,t=[ii(t)]):n=8);e.children=t,e.shapeFlag|=n}function Rc(...e){const t={};for(let n=0;nae||ue;let Sn,br;{const e=to(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};Sn=t("__VUE_INSTANCE_SETTERS__",n=>ae=n),br=t("__VUE_SSR_SETTERS__",n=>Xt=n)}const Gt=e=>{const t=ae;return Sn(e),e.scope.on(),()=>{e.scope.off(),Sn(t)}},Es=()=>{ae&&ae.scope.off(),Sn(null)};function li(e){return e.vnode.shapeFlag&4}let Xt=!1;function Ic(e,t=!1,n=!1){t&&br(t);const{props:r,children:s}=e.vnode,o=li(e);ec(e,r,o,t),sc(e,s,n);const i=o?Pc(e,t):void 0;return t&&br(!1),i}function Pc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Kl);const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?ai(e):null,o=Gt(e);et();const i=Ye(r,e,0,[e.props,s]);if(tt(),o(),Js(i)){if(i.then(Es,Es),t)return i.then(l=>{Cs(e,l,t)}).catch(l=>{Wt(l,e,0)});e.asyncDep=i}else Cs(e,i,t)}else ci(e,t)}function Cs(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Z(t)&&(e.setupState=Eo(t)),ci(e,n)}let Ss;function ci(e,t,n){const r=e.type;if(!e.render){if(!t&&Ss&&!r.render){const s=r.template||jr(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=r,u=fe(fe({isCustomElement:o,delimiters:l},i),c);r.render=Ss(s,u)}}e.render=r.render||Te}{const s=Gt(e);et();try{ql(e)}finally{tt(),s()}}}const Nc={get(e,t){return be(e,"get",""),e[t]}};function ai(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Nc),slots:e.slots,emit:e.emit,expose:t}}function Vn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Eo(hn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in It)return It[n](e)},has(t,n){return n in t||n in It}})):e.proxy}function Fc(e,t=!0){return K(e)?e.displayName||e.name:e.name||t&&e.__name}function $c(e){return K(e)&&"__vccOpts"in e}const se=(e,t)=>ml(e,t,Xt);function vr(e,t,n){const r=arguments.length;return r===2?Z(t)&&!B(t)?Cn(t)?le(e,null,[t]):le(e,t):le(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Cn(n)&&(n=[n]),le(e,t,n))}const Hc="3.4.32";/** -* @vue/runtime-dom v3.4.32 +**/function Ye(e,t,n,r){try{return r?e(...r):e()}catch(s){Wt(s,t,n)}}function Ae(e,t,n,r){if(K(e)){const s=Ye(e,t,n,r);return s&&Js(s)&&s.catch(o=>{Wt(o,t,n)}),s}if(B(e)){const s=[];for(let o=0;o>>1,s=pe[r],o=Dt(s);oNe&&pe.splice(t,1)}function Rl(e){B(e)?wt.push(...e):(!Ke||!Ke.includes(e,e.allowRecurse?it+1:it))&&wt.push(e),So()}function os(e,t,n=Vt?Ne+1:0){for(;nDt(n)-Dt(r));if(wt.length=0,Ke){Ke.push(...t);return}for(Ke=t,it=0;ite.id==null?1/0:e.id,Ol=(e,t)=>{const n=Dt(e)-Dt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function xo(e){dr=!1,Vt=!0,pe.sort(Ol);try{for(Ne=0;Ne{r._d&&ws(-1);const o=bn(t);let i;try{i=e(...s)}finally{bn(o),r._d&&ws(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function uu(e,t){if(ue===null)return e;const n=Vn(ue),r=e.dirs||(e.dirs=[]);for(let s=0;s{e.isMounted=!0}),Mo(()=>{e.isUnmounting=!0}),e}const Ce=[Function,Array],To={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ce,onEnter:Ce,onAfterEnter:Ce,onEnterCancelled:Ce,onBeforeLeave:Ce,onLeave:Ce,onAfterLeave:Ce,onLeaveCancelled:Ce,onBeforeAppear:Ce,onAppear:Ce,onAfterAppear:Ce,onAppearCancelled:Ce},Ao=e=>{const t=e.subTree;return t.component?Ao(t.component):t},Il={name:"BaseTransition",props:To,setup(e,{slots:t}){const n=jn(),r=Ml();return()=>{const s=t.default&&Oo(t.default(),!0);if(!s||!s.length)return;let o=s[0];if(s.length>1){for(const m of s)if(m.type!==me){o=m;break}}const i=J(e),{mode:l}=i;if(r.isLeaving)return Kn(o);const c=is(o);if(!c)return Kn(o);let u=hr(c,i,r,n,m=>u=m);vn(c,u);const f=n.subTree,h=f&&is(f);if(h&&h.type!==me&&!lt(c,h)&&Ao(n).type!==me){const m=hr(h,i,r,n);if(vn(h,m),l==="out-in"&&c.type!==me)return r.isLeaving=!0,m.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Kn(o);l==="in-out"&&c.type!==me&&(m.delayLeave=(v,S,O)=>{const k=Ro(r,h);k[String(h.key)]=h,v[We]=()=>{S(),v[We]=void 0,delete u.delayedLeave},u.delayedLeave=O})}return o}}},Pl=Il;function Ro(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function hr(e,t,n,r,s){const{appear:o,mode:i,persisted:l=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:f,onEnterCancelled:h,onBeforeLeave:m,onLeave:v,onAfterLeave:S,onLeaveCancelled:O,onBeforeAppear:k,onAppear:W,onAfterAppear:D,onAppearCancelled:p}=t,y=String(e.key),I=Ro(n,e),T=(M,_)=>{M&&Ae(M,r,9,_)},F=(M,_)=>{const N=_[1];T(M,_),B(M)?M.every(x=>x.length<=1)&&N():M.length<=1&&N()},$={mode:i,persisted:l,beforeEnter(M){let _=c;if(!n.isMounted)if(o)_=k||c;else return;M[We]&&M[We](!0);const N=I[y];N&<(e,N)&&N.el[We]&&N.el[We](),T(_,[M])},enter(M){let _=u,N=f,x=h;if(!n.isMounted)if(o)_=W||u,N=D||f,x=p||h;else return;let G=!1;const ee=M[nn]=re=>{G||(G=!0,re?T(x,[M]):T(N,[M]),$.delayedLeave&&$.delayedLeave(),M[nn]=void 0)};_?F(_,[M,ee]):ee()},leave(M,_){const N=String(e.key);if(M[nn]&&M[nn](!0),n.isUnmounting)return _();T(m,[M]);let x=!1;const G=M[We]=ee=>{x||(x=!0,_(),ee?T(O,[M]):T(S,[M]),M[We]=void 0,I[N]===e&&delete I[N])};I[N]=e,v?F(v,[M,G]):G()},clone(M){const _=hr(M,t,n,r,s);return s&&s(_),_}};return $}function Kn(e){if(qt(e))return e=Je(e),e.children=null,e}function is(e){if(!qt(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&K(n.default))return n.default()}}function vn(e,t){e.shapeFlag&6&&e.component?vn(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Oo(e,t=!1,n){let r=[],s=0;for(let o=0;o1)for(let o=0;o!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function fu(e){K(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,timeout:o,suspensible:i=!0,onError:l}=e;let c=null,u,f=0;const h=()=>(f++,c=null,m()),m=()=>{let v;return c||(v=c=t().catch(S=>{if(S=S instanceof Error?S:new Error(String(S)),l)return new Promise((O,k)=>{l(S,()=>O(h()),()=>k(S),f+1)});throw S}).then(S=>v!==c&&c?c:(S&&(S.__esModule||S[Symbol.toStringTag]==="Module")&&(S=S.default),u=S,S)))};return Hr({name:"AsyncComponentWrapper",__asyncLoader:m,get __asyncResolved(){return u},setup(){const v=ae;if(u)return()=>Wn(u,v);const S=D=>{c=null,Wt(D,v,13,!r)};if(i&&v.suspense||Xt)return m().then(D=>()=>Wn(D,v)).catch(D=>(S(D),()=>r?le(r,{error:D}):null));const O=oe(!1),k=oe(),W=oe(!!s);return s&&setTimeout(()=>{W.value=!1},s),o!=null&&setTimeout(()=>{if(!O.value&&!k.value){const D=new Error(`Async component timed out after ${o}ms.`);S(D),k.value=D}},o),m().then(()=>{O.value=!0,v.parent&&qt(v.parent.vnode)&&(v.parent.effect.dirty=!0,In(v.parent.update))}).catch(D=>{S(D),k.value=D}),()=>{if(O.value&&u)return Wn(u,v);if(k.value&&r)return le(r,{error:k.value});if(n&&!W.value)return le(n)}}})}function Wn(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=le(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const qt=e=>e.type.__isKeepAlive;function Nl(e,t){Lo(e,"a",t)}function Fl(e,t){Lo(e,"da",t)}function Lo(e,t,n=ae){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Nn(t,r,n),n){let s=n.parent;for(;s&&s.parent;)qt(s.parent.vnode)&&$l(r,t,n,s),s=s.parent}}function $l(e,t,n,r){const s=Nn(t,e,r,!0);Fn(()=>{Cr(r[t],s)},n)}function Nn(e,t,n=ae,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{et();const l=Gt(n),c=Ae(t,n,e,i);return l(),tt(),c});return r?s.unshift(o):s.push(o),o}}const De=e=>(t,n=ae)=>{(!Xt||e==="sp")&&Nn(e,(...r)=>t(...r),n)},Hl=De("bm"),Tt=De("m"),jl=De("bu"),Vl=De("u"),Mo=De("bum"),Fn=De("um"),Dl=De("sp"),Ul=De("rtg"),Bl=De("rtc");function kl(e,t=ae){Nn("ec",e,t)}const Io="components";function du(e,t){return No(Io,e,!0,t)||e}const Po=Symbol.for("v-ndc");function hu(e){return ie(e)?No(Io,e,!1)||e:e||Po}function No(e,t,n=!0,r=!1){const s=ue||ae;if(s){const o=s.type;{const l=Fc(o,!1);if(l&&(l===t||l===Oe(t)||l===An(Oe(t))))return o}const i=ls(s[e]||o[e],t)||ls(s.appContext[e],t);return!i&&r?o:i}}function ls(e,t){return e&&(e[t]||e[Oe(t)]||e[An(Oe(t))])}function pu(e,t,n,r){let s;const o=n;if(B(e)||ie(e)){s=new Array(e.length);for(let i=0,l=e.length;it(i,l,void 0,o));else{const i=Object.keys(e);s=new Array(i.length);for(let l=0,c=i.length;lCn(t)?!(t.type===me||t.type===_e&&!Fo(t.children)):!0)?e:null}function mu(e,t){const n={};for(const r in e)n[/[A-Z]/.test(r)?`on:${r}`:fn(r)]=e[r];return n}const pr=e=>e?li(e)?Vn(e):pr(e.parent):null,It=fe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>pr(e.parent),$root:e=>pr(e.root),$emit:e=>e.emit,$options:e=>jr(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,In(e.update)}),$nextTick:e=>e.n||(e.n=Mn.bind(e.proxy)),$watch:e=>yc.bind(e)}),qn=(e,t)=>e!==ne&&!e.__isScriptSetup&&z(e,t),Kl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:l,appContext:c}=e;let u;if(t[0]!=="$"){const v=i[t];if(v!==void 0)switch(v){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(qn(r,t))return i[t]=1,r[t];if(s!==ne&&z(s,t))return i[t]=2,s[t];if((u=e.propsOptions[0])&&z(u,t))return i[t]=3,o[t];if(n!==ne&&z(n,t))return i[t]=4,n[t];gr&&(i[t]=0)}}const f=It[t];let h,m;if(f)return t==="$attrs"&&be(e.attrs,"get",""),f(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==ne&&z(n,t))return i[t]=4,n[t];if(m=c.config.globalProperties,z(m,t))return m[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return qn(s,t)?(s[t]=n,!0):r!==ne&&z(r,t)?(r[t]=n,!0):z(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let l;return!!n[i]||e!==ne&&z(e,i)||qn(t,i)||(l=o[0])&&z(l,i)||z(r,i)||z(It,i)||z(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:z(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function yu(){return Wl().slots}function Wl(){const e=jn();return e.setupContext||(e.setupContext=ai(e))}function cs(e){return B(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let gr=!0;function ql(e){const t=jr(e),n=e.proxy,r=e.ctx;gr=!1,t.beforeCreate&&as(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:l,provide:c,inject:u,created:f,beforeMount:h,mounted:m,beforeUpdate:v,updated:S,activated:O,deactivated:k,beforeDestroy:W,beforeUnmount:D,destroyed:p,unmounted:y,render:I,renderTracked:T,renderTriggered:F,errorCaptured:$,serverPrefetch:M,expose:_,inheritAttrs:N,components:x,directives:G,filters:ee}=t;if(u&&Gl(u,r,null),i)for(const Y in i){const j=i[Y];K(j)&&(r[Y]=j.bind(n))}if(s){const Y=s.call(n,n);Z(Y)&&(e.data=On(Y))}if(gr=!0,o)for(const Y in o){const j=o[Y],He=K(j)?j.bind(n,n):K(j.get)?j.get.bind(n,n):Te,Yt=!K(j)&&K(j.set)?j.set.bind(n):Te,nt=se({get:He,set:Yt});Object.defineProperty(r,Y,{enumerable:!0,configurable:!0,get:()=>nt.value,set:Me=>nt.value=Me})}if(l)for(const Y in l)$o(l[Y],r,n,Y);if(c){const Y=K(c)?c.call(n):c;Reflect.ownKeys(Y).forEach(j=>{Zl(j,Y[j])})}f&&as(f,e,"c");function U(Y,j){B(j)?j.forEach(He=>Y(He.bind(n))):j&&Y(j.bind(n))}if(U(Hl,h),U(Tt,m),U(jl,v),U(Vl,S),U(Nl,O),U(Fl,k),U(kl,$),U(Bl,T),U(Ul,F),U(Mo,D),U(Fn,y),U(Dl,M),B(_))if(_.length){const Y=e.exposed||(e.exposed={});_.forEach(j=>{Object.defineProperty(Y,j,{get:()=>n[j],set:He=>n[j]=He})})}else e.exposed||(e.exposed={});I&&e.render===Te&&(e.render=I),N!=null&&(e.inheritAttrs=N),x&&(e.components=x),G&&(e.directives=G)}function Gl(e,t,n=Te){B(e)&&(e=mr(e));for(const r in e){const s=e[r];let o;Z(s)?"default"in s?o=Ct(s.from||r,s.default,!0):o=Ct(s.from||r):o=Ct(s),de(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function as(e,t,n){Ae(B(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function $o(e,t,n,r){const s=r.includes(".")?Qo(n,r):()=>n[r];if(ie(e)){const o=t[e];K(o)&&Fe(s,o)}else if(K(e))Fe(s,e.bind(n));else if(Z(e))if(B(e))e.forEach(o=>$o(o,t,n,r));else{const o=K(e.handler)?e.handler.bind(n):t[e.handler];K(o)&&Fe(s,o,e)}}function jr(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!s.length&&!n&&!r?c=t:(c={},s.length&&s.forEach(u=>wn(c,u,i,!0)),wn(c,t,i)),Z(t)&&o.set(t,c),c}function wn(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&wn(e,o,n,!0),s&&s.forEach(i=>wn(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const l=Xl[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Xl={data:us,props:fs,emits:fs,methods:Lt,computed:Lt,beforeCreate:ge,created:ge,beforeMount:ge,mounted:ge,beforeUpdate:ge,updated:ge,beforeDestroy:ge,beforeUnmount:ge,destroyed:ge,unmounted:ge,activated:ge,deactivated:ge,errorCaptured:ge,serverPrefetch:ge,components:Lt,directives:Lt,watch:zl,provide:us,inject:Yl};function us(e,t){return t?e?function(){return fe(K(e)?e.call(this,this):e,K(t)?t.call(this,this):t)}:t:e}function Yl(e,t){return Lt(mr(e),mr(t))}function mr(e){if(B(e)){const t={};for(let n=0;n1)return n&&K(t)?t.call(r&&r.proxy):t}}const jo={},Vo=()=>Object.create(jo),Do=e=>Object.getPrototypeOf(e)===jo;function ec(e,t,n,r=!1){const s={},o=Vo();e.propsDefaults=Object.create(null),Uo(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:gl(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function tc(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,l=J(s),[c]=e.propsOptions;let u=!1;if((r||i>0)&&!(i&16)){if(i&8){const f=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[m,v]=Bo(h,t,!0);fe(i,m),v&&l.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!o&&!c)return Z(e)&&r.set(e,yt),yt;if(B(o))for(let f=0;f-1,v[1]=O<0||S-1||z(v,"default"))&&l.push(h)}}}const u=[i,l];return Z(e)&&r.set(e,u),u}function ds(e){return e[0]!=="$"&&!bt(e)}function hs(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function ps(e,t){return hs(e)===hs(t)}function gs(e,t){return B(t)?t.findIndex(n=>ps(n,e)):K(t)&&ps(t,e)?0:-1}const ko=e=>e[0]==="_"||e==="$stable",Vr=e=>B(e)?e.map(xe):[xe(e)],rc=(e,t,n)=>{if(t._n)return t;const r=Ll((...s)=>Vr(t(...s)),n);return r._c=!1,r},Ko=(e,t,n)=>{const r=e._ctx;for(const s in e){if(ko(s))continue;const o=e[s];if(K(o))t[s]=rc(s,o,r);else if(o!=null){const i=Vr(o);t[s]=()=>i}}},Wo=(e,t)=>{const n=Vr(t);e.slots.default=()=>n},qo=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},sc=(e,t,n)=>{const r=e.slots=Vo();if(e.vnode.shapeFlag&32){const s=t._;s?(qo(r,t,n),n&&eo(r,"_",s,!0)):Ko(t,r)}else t&&Wo(e,t)},oc=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=ne;if(r.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:qo(s,t,n):(o=!t.$stable,Ko(t,s)),i=t}else t&&(Wo(e,t),i={default:1});if(o)for(const l in s)!ko(l)&&i[l]==null&&delete s[l]};function En(e,t,n,r,s=!1){if(B(e)){e.forEach((m,v)=>En(m,t&&(B(t)?t[v]:t),n,r,s));return}if(Et(r)&&!s)return;const o=r.shapeFlag&4?Vn(r.component):r.el,i=s?null:o,{i:l,r:c}=e,u=t&&t.r,f=l.refs===ne?l.refs={}:l.refs,h=l.setupState;if(u!=null&&u!==c&&(ie(u)?(f[u]=null,z(h,u)&&(h[u]=null)):de(u)&&(u.value=null)),K(c))Ye(c,l,12,[i,f]);else{const m=ie(c),v=de(c);if(m||v){const S=()=>{if(e.f){const O=m?z(h,c)?h[c]:f[c]:c.value;s?B(O)&&Cr(O,o):B(O)?O.includes(o)||O.push(o):m?(f[c]=[o],z(h,c)&&(h[c]=f[c])):(c.value=[o],e.k&&(f[e.k]=c.value))}else m?(f[c]=i,z(h,c)&&(h[c]=i)):v&&(c.value=i,e.k&&(f[e.k]=i))};i?(S.id=-1,ye(S,n)):S()}}}const Go=Symbol("_vte"),ic=e=>e.__isTeleport,Nt=e=>e&&(e.disabled||e.disabled===""),ms=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ys=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,_r=(e,t)=>{const n=e&&e.to;return ie(n)?t?t(n):null:n},lc={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,o,i,l,c,u){const{mc:f,pc:h,pbc:m,o:{insert:v,querySelector:S,createText:O,createComment:k}}=u,W=Nt(t.props);let{shapeFlag:D,children:p,dynamicChildren:y}=t;if(e==null){const I=t.el=O(""),T=t.anchor=O(""),F=t.target=_r(t.props,S),$=t.targetStart=O(""),M=t.targetAnchor=O("");v(I,n,r),v(T,n,r),$[Go]=M,F&&(v($,F),v(M,F),i==="svg"||ms(F)?i="svg":(i==="mathml"||ys(F))&&(i="mathml"));const _=(N,x)=>{D&16&&f(p,N,x,s,o,i,l,c)};W?_(n,T):F&&_(F,M)}else{t.el=e.el,t.targetStart=e.targetStart;const I=t.anchor=e.anchor,T=t.target=e.target,F=t.targetAnchor=e.targetAnchor,$=Nt(e.props),M=$?n:T,_=$?I:F;if(i==="svg"||ms(T)?i="svg":(i==="mathml"||ys(T))&&(i="mathml"),y?(m(e.dynamicChildren,y,M,s,o,i,l),Dr(e,t,!0)):c||h(e,t,M,_,s,o,i,l,!1),W)$?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):rn(t,n,I,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const N=t.target=_r(t.props,S);N&&rn(t,N,null,u,0)}else $&&rn(t,T,F,u,1)}Xo(t)},remove(e,t,n,{um:r,o:{remove:s}},o){const{shapeFlag:i,children:l,anchor:c,targetStart:u,targetAnchor:f,target:h,props:m}=e;if(h&&(s(u),s(f)),o&&s(c),i&16){const v=o||!Nt(m);for(let S=0;S{_s||(console.error("Hydration completed but contains mismatches."),_s=!0)},ac=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",uc=e=>e.namespaceURI.includes("MathML"),sn=e=>{if(ac(e))return"svg";if(uc(e))return"mathml"},on=e=>e.nodeType===8;function fc(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:l,insert:c,createComment:u}}=e,f=(p,y)=>{if(!y.hasChildNodes()){n(null,p,y),_n(),y._vnode=p;return}h(y.firstChild,p,null,null,null),_n(),y._vnode=p},h=(p,y,I,T,F,$=!1)=>{$=$||!!y.dynamicChildren;const M=on(p)&&p.data==="[",_=()=>O(p,y,I,T,F,M),{type:N,ref:x,shapeFlag:G,patchFlag:ee}=y;let re=p.nodeType;y.el=p,ee===-2&&($=!1,y.dynamicChildren=null);let U=null;switch(N){case ut:re!==3?y.children===""?(c(y.el=s(""),i(p),p),U=p):U=_():(p.data!==y.children&&(gt(),p.data=y.children),U=o(p));break;case me:D(p)?(U=o(p),W(y.el=p.content.firstChild,p,I)):re!==8||M?U=_():U=o(p);break;case Ft:if(M&&(p=o(p),re=p.nodeType),re===1||re===3){U=p;const Y=!y.children.length;for(let j=0;j{$=$||!!y.dynamicChildren;const{type:M,props:_,patchFlag:N,shapeFlag:x,dirs:G,transition:ee}=y,re=M==="input"||M==="option";if(re||N!==-1){G&&Pe(y,null,I,"created");let U=!1;if(D(p)){U=zo(T,ee)&&I&&I.vnode.props&&I.vnode.props.appear;const j=p.content.firstChild;U&&ee.beforeEnter(j),W(j,p,I),y.el=p=j}if(x&16&&!(_&&(_.innerHTML||_.textContent))){let j=v(p.firstChild,y,p,I,T,F,$);for(;j;){gt();const He=j;j=j.nextSibling,l(He)}}else x&8&&p.textContent!==y.children&&(gt(),p.textContent=y.children);if(_){if(re||!$||N&48)for(const j in _)(re&&(j.endsWith("value")||j==="indeterminate")||Kt(j)&&!bt(j)||j[0]===".")&&r(p,j,null,_[j],void 0,I);else if(_.onClick)r(p,"onClick",null,_.onClick,void 0,I);else if(N&4&&vt(_.style))for(const j in _.style)_.style[j]}let Y;(Y=_&&_.onVnodeBeforeMount)&&Se(Y,I,y),G&&Pe(y,null,I,"beforeMount"),((Y=_&&_.onVnodeMounted)||G||U)&&ei(()=>{Y&&Se(Y,I,y),U&&ee.enter(p),G&&Pe(y,null,I,"mounted")},T)}return p.nextSibling},v=(p,y,I,T,F,$,M)=>{M=M||!!y.dynamicChildren;const _=y.children,N=_.length;for(let x=0;x{const{slotScopeIds:M}=y;M&&(F=F?F.concat(M):M);const _=i(p),N=v(o(p),y,_,I,T,F,$);return N&&on(N)&&N.data==="]"?o(y.anchor=N):(gt(),c(y.anchor=u("]"),_,N),N)},O=(p,y,I,T,F,$)=>{if(gt(),y.el=null,$){const N=k(p);for(;;){const x=o(p);if(x&&x!==N)l(x);else break}}const M=o(p),_=i(p);return l(p),n(null,y,_,M,I,T,sn(_),F),M},k=(p,y="[",I="]")=>{let T=0;for(;p;)if(p=o(p),p&&on(p)&&(p.data===y&&T++,p.data===I)){if(T===0)return o(p);T--}return p},W=(p,y,I)=>{const T=y.parentNode;T&&T.replaceChild(p,y);let F=I;for(;F;)F.vnode.el===y&&(F.vnode.el=F.subTree.el=p),F=F.parent},D=p=>p.nodeType===1&&p.tagName.toLowerCase()==="template";return[f,h]}const ye=ei;function dc(e){return Yo(e)}function hc(e){return Yo(e,fc)}function Yo(e,t){const n=to();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:l,createComment:c,setText:u,setElementText:f,parentNode:h,nextSibling:m,setScopeId:v=Te,insertStaticContent:S}=e,O=(a,d,g,E=null,b=null,C=null,L=void 0,A=null,R=!!d.dynamicChildren)=>{if(a===d)return;a&&!lt(a,d)&&(E=zt(a),Me(a,b,C,!0),a=null),d.patchFlag===-2&&(R=!1,d.dynamicChildren=null);const{type:w,ref:P,shapeFlag:V}=d;switch(w){case ut:k(a,d,g,E);break;case me:W(a,d,g,E);break;case Ft:a==null&&D(d,g,E,L);break;case _e:x(a,d,g,E,b,C,L,A,R);break;default:V&1?I(a,d,g,E,b,C,L,A,R):V&6?G(a,d,g,E,b,C,L,A,R):(V&64||V&128)&&w.process(a,d,g,E,b,C,L,A,R,ht)}P!=null&&b&&En(P,a&&a.ref,C,d||a,!d)},k=(a,d,g,E)=>{if(a==null)r(d.el=l(d.children),g,E);else{const b=d.el=a.el;d.children!==a.children&&u(b,d.children)}},W=(a,d,g,E)=>{a==null?r(d.el=c(d.children||""),g,E):d.el=a.el},D=(a,d,g,E)=>{[a.el,a.anchor]=S(a.children,d,g,E,a.el,a.anchor)},p=({el:a,anchor:d},g,E)=>{let b;for(;a&&a!==d;)b=m(a),r(a,g,E),a=b;r(d,g,E)},y=({el:a,anchor:d})=>{let g;for(;a&&a!==d;)g=m(a),s(a),a=g;s(d)},I=(a,d,g,E,b,C,L,A,R)=>{d.type==="svg"?L="svg":d.type==="math"&&(L="mathml"),a==null?T(d,g,E,b,C,L,A,R):M(a,d,b,C,L,A,R)},T=(a,d,g,E,b,C,L,A)=>{let R,w;const{props:P,shapeFlag:V,transition:H,dirs:q}=a;if(R=a.el=i(a.type,C,P&&P.is,P),V&8?f(R,a.children):V&16&&$(a.children,R,null,E,b,Gn(a,C),L,A),q&&Pe(a,null,E,"created"),F(R,a,a.scopeId,L,E),P){for(const te in P)te!=="value"&&!bt(te)&&o(R,te,null,P[te],C,E);"value"in P&&o(R,"value",null,P.value,C),(w=P.onVnodeBeforeMount)&&Se(w,E,a)}q&&Pe(a,null,E,"beforeMount");const X=zo(b,H);X&&H.beforeEnter(R),r(R,d,g),((w=P&&P.onVnodeMounted)||X||q)&&ye(()=>{w&&Se(w,E,a),X&&H.enter(R),q&&Pe(a,null,E,"mounted")},b)},F=(a,d,g,E,b)=>{if(g&&v(a,g),E)for(let C=0;C{for(let w=R;w{const A=d.el=a.el;let{patchFlag:R,dynamicChildren:w,dirs:P}=d;R|=a.patchFlag&16;const V=a.props||ne,H=d.props||ne;let q;if(g&&rt(g,!1),(q=H.onVnodeBeforeUpdate)&&Se(q,g,d,a),P&&Pe(d,a,g,"beforeUpdate"),g&&rt(g,!0),(V.innerHTML&&H.innerHTML==null||V.textContent&&H.textContent==null)&&f(A,""),w?_(a.dynamicChildren,w,A,g,E,Gn(d,b),C):L||j(a,d,A,null,g,E,Gn(d,b),C,!1),R>0){if(R&16)N(A,V,H,g,b);else if(R&2&&V.class!==H.class&&o(A,"class",null,H.class,b),R&4&&o(A,"style",V.style,H.style,b),R&8){const X=d.dynamicProps;for(let te=0;te{q&&Se(q,g,d,a),P&&Pe(d,a,g,"updated")},E)},_=(a,d,g,E,b,C,L)=>{for(let A=0;A{if(d!==g){if(d!==ne)for(const C in d)!bt(C)&&!(C in g)&&o(a,C,d[C],null,b,E);for(const C in g){if(bt(C))continue;const L=g[C],A=d[C];L!==A&&C!=="value"&&o(a,C,A,L,b,E)}"value"in g&&o(a,"value",d.value,g.value,b)}},x=(a,d,g,E,b,C,L,A,R)=>{const w=d.el=a?a.el:l(""),P=d.anchor=a?a.anchor:l("");let{patchFlag:V,dynamicChildren:H,slotScopeIds:q}=d;q&&(A=A?A.concat(q):q),a==null?(r(w,g,E),r(P,g,E),$(d.children||[],g,P,b,C,L,A,R)):V>0&&V&64&&H&&a.dynamicChildren?(_(a.dynamicChildren,H,g,b,C,L,A),(d.key!=null||b&&d===b.subTree)&&Dr(a,d,!0)):j(a,d,g,P,b,C,L,A,R)},G=(a,d,g,E,b,C,L,A,R)=>{d.slotScopeIds=A,a==null?d.shapeFlag&512?b.ctx.activate(d,g,E,L,R):ee(d,g,E,b,C,L,R):re(a,d,R)},ee=(a,d,g,E,b,C,L)=>{const A=a.component=Mc(a,E,b);if(qt(a)&&(A.ctx.renderer=ht),Ic(A,!1,L),A.asyncDep){if(b&&b.registerDep(A,U,L),!a.el){const R=A.subTree=le(me);W(null,R,d,g)}}else U(A,a,d,g,b,C,L)},re=(a,d,g)=>{const E=d.component=a.component;if(Ec(a,d,g))if(E.asyncDep&&!E.asyncResolved){Y(E,d,g);return}else E.next=d,Al(E.update),E.effect.dirty=!0,E.update();else d.el=a.el,E.vnode=d},U=(a,d,g,E,b,C,L)=>{const A=()=>{if(a.isMounted){let{next:P,bu:V,u:H,parent:q,vnode:X}=a;{const pt=Jo(a);if(pt){P&&(P.el=X.el,Y(a,P,L)),pt.asyncDep.then(()=>{a.isUnmounted||A()});return}}let te=P,Q;rt(a,!1),P?(P.el=X.el,Y(a,P,L)):P=X,V&&dn(V),(Q=P.props&&P.props.onVnodeBeforeUpdate)&&Se(Q,q,P,X),rt(a,!0);const ce=Xn(a),Re=a.subTree;a.subTree=ce,O(Re,ce,h(Re.el),zt(Re),a,b,C),P.el=ce.el,te===null&&Cc(a,ce.el),H&&ye(H,b),(Q=P.props&&P.props.onVnodeUpdated)&&ye(()=>Se(Q,q,P,X),b)}else{let P;const{el:V,props:H}=d,{bm:q,m:X,parent:te}=a,Q=Et(d);if(rt(a,!1),q&&dn(q),!Q&&(P=H&&H.onVnodeBeforeMount)&&Se(P,te,d),rt(a,!0),V&&Bn){const ce=()=>{a.subTree=Xn(a),Bn(V,a.subTree,a,b,null)};Q?d.type.__asyncLoader().then(()=>!a.isUnmounted&&ce()):ce()}else{const ce=a.subTree=Xn(a);O(null,ce,g,E,a,b,C),d.el=ce.el}if(X&&ye(X,b),!Q&&(P=H&&H.onVnodeMounted)){const ce=d;ye(()=>Se(P,te,ce),b)}(d.shapeFlag&256||te&&Et(te.vnode)&&te.vnode.shapeFlag&256)&&a.a&&ye(a.a,b),a.isMounted=!0,d=g=E=null}},R=a.effect=new Ar(A,Te,()=>In(w),a.scope),w=a.update=()=>{R.dirty&&R.run()};w.i=a,w.id=a.uid,rt(a,!0),w()},Y=(a,d,g)=>{d.component=a;const E=a.vnode.props;a.vnode=d,a.next=null,tc(a,d.props,E,g),oc(a,d.children,g),et(),os(a),tt()},j=(a,d,g,E,b,C,L,A,R=!1)=>{const w=a&&a.children,P=a?a.shapeFlag:0,V=d.children,{patchFlag:H,shapeFlag:q}=d;if(H>0){if(H&128){Yt(w,V,g,E,b,C,L,A,R);return}else if(H&256){He(w,V,g,E,b,C,L,A,R);return}}q&8?(P&16&&At(w,b,C),V!==w&&f(g,V)):P&16?q&16?Yt(w,V,g,E,b,C,L,A,R):At(w,b,C,!0):(P&8&&f(g,""),q&16&&$(V,g,E,b,C,L,A,R))},He=(a,d,g,E,b,C,L,A,R)=>{a=a||yt,d=d||yt;const w=a.length,P=d.length,V=Math.min(w,P);let H;for(H=0;HP?At(a,b,C,!0,!1,V):$(d,g,E,b,C,L,A,R,V)},Yt=(a,d,g,E,b,C,L,A,R)=>{let w=0;const P=d.length;let V=a.length-1,H=P-1;for(;w<=V&&w<=H;){const q=a[w],X=d[w]=R?qe(d[w]):xe(d[w]);if(lt(q,X))O(q,X,g,null,b,C,L,A,R);else break;w++}for(;w<=V&&w<=H;){const q=a[V],X=d[H]=R?qe(d[H]):xe(d[H]);if(lt(q,X))O(q,X,g,null,b,C,L,A,R);else break;V--,H--}if(w>V){if(w<=H){const q=H+1,X=qH)for(;w<=V;)Me(a[w],b,C,!0),w++;else{const q=w,X=w,te=new Map;for(w=X;w<=H;w++){const ve=d[w]=R?qe(d[w]):xe(d[w]);ve.key!=null&&te.set(ve.key,w)}let Q,ce=0;const Re=H-X+1;let pt=!1,Xr=0;const Rt=new Array(Re);for(w=0;w=Re){Me(ve,b,C,!0);continue}let Ie;if(ve.key!=null)Ie=te.get(ve.key);else for(Q=X;Q<=H;Q++)if(Rt[Q-X]===0&<(ve,d[Q])){Ie=Q;break}Ie===void 0?Me(ve,b,C,!0):(Rt[Ie-X]=w+1,Ie>=Xr?Xr=Ie:pt=!0,O(ve,d[Ie],g,null,b,C,L,A,R),ce++)}const Yr=pt?pc(Rt):yt;for(Q=Yr.length-1,w=Re-1;w>=0;w--){const ve=X+w,Ie=d[ve],zr=ve+1{const{el:C,type:L,transition:A,children:R,shapeFlag:w}=a;if(w&6){nt(a.component.subTree,d,g,E);return}if(w&128){a.suspense.move(d,g,E);return}if(w&64){L.move(a,d,g,ht);return}if(L===_e){r(C,d,g);for(let V=0;VA.enter(C),b);else{const{leave:V,delayLeave:H,afterLeave:q}=A,X=()=>r(C,d,g),te=()=>{V(C,()=>{X(),q&&q()})};H?H(C,X,te):te()}else r(C,d,g)},Me=(a,d,g,E=!1,b=!1)=>{const{type:C,props:L,ref:A,children:R,dynamicChildren:w,shapeFlag:P,patchFlag:V,dirs:H,cacheIndex:q}=a;if(V===-2&&(b=!1),A!=null&&En(A,null,g,a,!0),q!=null&&(d.renderCache[q]=void 0),P&256){d.ctx.deactivate(a);return}const X=P&1&&H,te=!Et(a);let Q;if(te&&(Q=L&&L.onVnodeBeforeUnmount)&&Se(Q,d,a),P&6)Ii(a.component,g,E);else{if(P&128){a.suspense.unmount(g,E);return}X&&Pe(a,null,d,"beforeUnmount"),P&64?a.type.remove(a,d,g,ht,E):w&&!w.hasOnce&&(C!==_e||V>0&&V&64)?At(w,d,g,!1,!0):(C===_e&&V&384||!b&&P&16)&&At(R,d,g),E&&qr(a)}(te&&(Q=L&&L.onVnodeUnmounted)||X)&&ye(()=>{Q&&Se(Q,d,a),X&&Pe(a,null,d,"unmounted")},g)},qr=a=>{const{type:d,el:g,anchor:E,transition:b}=a;if(d===_e){Mi(g,E);return}if(d===Ft){y(a);return}const C=()=>{s(g),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(a.shapeFlag&1&&b&&!b.persisted){const{leave:L,delayLeave:A}=b,R=()=>L(g,C);A?A(a.el,C,R):R()}else C()},Mi=(a,d)=>{let g;for(;a!==d;)g=m(a),s(a),a=g;s(d)},Ii=(a,d,g)=>{const{bum:E,scope:b,update:C,subTree:L,um:A,m:R,a:w}=a;bs(R),bs(w),E&&dn(E),b.stop(),C&&(C.active=!1,Me(L,a,d,g)),A&&ye(A,d),ye(()=>{a.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&a.asyncDep&&!a.asyncResolved&&a.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},At=(a,d,g,E=!1,b=!1,C=0)=>{for(let L=C;L{if(a.shapeFlag&6)return zt(a.component.subTree);if(a.shapeFlag&128)return a.suspense.next();const d=m(a.anchor||a.el),g=d&&d[Go];return g?m(g):d};let Dn=!1;const Gr=(a,d,g)=>{a==null?d._vnode&&Me(d._vnode,null,null,!0):O(d._vnode||null,a,d,null,null,null,g),Dn||(Dn=!0,os(),_n(),Dn=!1),d._vnode=a},ht={p:O,um:Me,m:nt,r:qr,mt:ee,mc:$,pc:j,pbc:_,n:zt,o:e};let Un,Bn;return t&&([Un,Bn]=t(ht)),{render:Gr,hydrate:Un,createApp:Ql(Gr,Un)}}function Gn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function rt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function zo(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Dr(e,t,n=!1){const r=e.children,s=t.children;if(B(r)&&B(s))for(let o=0;o>1,e[n[l]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Jo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Jo(t)}function bs(e){if(e)for(let t=0;tCt(gc);function Ur(e,t){return $n(e,null,t)}function bu(e,t){return $n(e,null,{flush:"post"})}const ln={};function Fe(e,t,n){return $n(e,t,n)}function $n(e,t,{immediate:n,deep:r,flush:s,once:o,onTrack:i,onTrigger:l}=ne){if(t&&o){const T=t;t=(...F)=>{T(...F),I()}}const c=ae,u=T=>r===!0?T:Ge(T,r===!1?1:void 0);let f,h=!1,m=!1;if(de(e)?(f=()=>e.value,h=St(e)):vt(e)?(f=()=>u(e),h=!0):B(e)?(m=!0,h=e.some(T=>vt(T)||St(T)),f=()=>e.map(T=>{if(de(T))return T.value;if(vt(T))return u(T);if(K(T))return Ye(T,c,2)})):K(e)?t?f=()=>Ye(e,c,2):f=()=>(v&&v(),Ae(e,c,3,[S])):f=Te,t&&r){const T=f;f=()=>Ge(T())}let v,S=T=>{v=p.onStop=()=>{Ye(T,c,4),v=p.onStop=void 0}},O;if(Xt)if(S=Te,t?n&&Ae(t,c,3,[f(),m?[]:void 0,S]):f(),s==="sync"){const T=mc();O=T.__watcherHandles||(T.__watcherHandles=[])}else return Te;let k=m?new Array(e.length).fill(ln):ln;const W=()=>{if(!(!p.active||!p.dirty))if(t){const T=p.run();(r||h||(m?T.some((F,$)=>ze(F,k[$])):ze(T,k)))&&(v&&v(),Ae(t,c,3,[T,k===ln?void 0:m&&k[0]===ln?[]:k,S]),k=T)}else p.run()};W.allowRecurse=!!t;let D;s==="sync"?D=W:s==="post"?D=()=>ye(W,c&&c.suspense):(W.pre=!0,c&&(W.id=c.uid),D=()=>In(W));const p=new Ar(f,Te,D),y=oo(),I=()=>{p.stop(),y&&Cr(y.effects,p)};return t?n?W():k=p.run():s==="post"?ye(p.run.bind(p),c&&c.suspense):p.run(),O&&O.push(I),I}function yc(e,t,n){const r=this.proxy,s=ie(e)?e.includes(".")?Qo(r,e):()=>r[e]:e.bind(r,r);let o;K(t)?o=t:(o=t.handler,n=t);const i=Gt(this),l=$n(s,o.bind(r),n);return i(),l}function Qo(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s{Ge(r,t,n)});else if(Zs(e)){for(const r in e)Ge(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Ge(e[r],t,n)}return e}const _c=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Oe(t)}Modifiers`]||e[`${Ze(t)}Modifiers`];function bc(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ne;let s=n;const o=t.startsWith("update:"),i=o&&_c(r,t.slice(7));i&&(i.trim&&(s=n.map(f=>ie(f)?f.trim():f)),i.number&&(s=n.map(cr)));let l,c=r[l=fn(t)]||r[l=fn(Oe(t))];!c&&o&&(c=r[l=fn(Ze(t))]),c&&Ae(c,e,6,s);const u=r[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ae(u,e,6,s)}}function Zo(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},l=!1;if(!K(e)){const c=u=>{const f=Zo(u,t,!0);f&&(l=!0,fe(i,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(Z(e)&&r.set(e,null),null):(B(o)?o.forEach(c=>i[c]=null):fe(i,o),Z(e)&&r.set(e,i),i)}function Hn(e,t){return!e||!Kt(t)?!1:(t=t.slice(2).replace(/Once$/,""),z(e,t[0].toLowerCase()+t.slice(1))||z(e,Ze(t))||z(e,t))}function Xn(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:l,emit:c,render:u,renderCache:f,props:h,data:m,setupState:v,ctx:S,inheritAttrs:O}=e,k=bn(e);let W,D;try{if(n.shapeFlag&4){const y=s||r,I=y;W=xe(u.call(I,y,f,h,v,m,S)),D=l}else{const y=t;W=xe(y.length>1?y(h,{attrs:l,slots:i,emit:c}):y(h,null)),D=t.props?l:vc(l)}}catch(y){$t.length=0,Wt(y,e,1),W=le(me)}let p=W;if(D&&O!==!1){const y=Object.keys(D),{shapeFlag:I}=p;y.length&&I&7&&(o&&y.some(Er)&&(D=wc(D,o)),p=Je(p,D,!1,!0))}return n.dirs&&(p=Je(p,null,!1,!0),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition&&(p.transition=n.transition),W=p,bn(k),W}const vc=e=>{let t;for(const n in e)(n==="class"||n==="style"||Kt(n))&&((t||(t={}))[n]=e[n]);return t},wc=(e,t)=>{const n={};for(const r in e)(!Er(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Ec(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:l,patchFlag:c}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?vs(r,i,u):!!i;if(c&8){const f=t.dynamicProps;for(let h=0;he.__isSuspense;function ei(e,t){t&&t.pendingBranch?B(e)?t.effects.push(...e):t.effects.push(e):Rl(e)}const _e=Symbol.for("v-fgt"),ut=Symbol.for("v-txt"),me=Symbol.for("v-cmt"),Ft=Symbol.for("v-stc"),$t=[];let Ee=null;function ti(e=!1){$t.push(Ee=e?null:[])}function xc(){$t.pop(),Ee=$t[$t.length-1]||null}let Ut=1;function ws(e){Ut+=e,e<0&&Ee&&(Ee.hasOnce=!0)}function ni(e){return e.dynamicChildren=Ut>0?Ee||yt:null,xc(),Ut>0&&Ee&&Ee.push(e),e}function vu(e,t,n,r,s,o){return ni(oi(e,t,n,r,s,o,!0))}function ri(e,t,n,r,s){return ni(le(e,t,n,r,s,!0))}function Cn(e){return e?e.__v_isVNode===!0:!1}function lt(e,t){return e.type===t.type&&e.key===t.key}const si=({key:e})=>e??null,pn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ie(e)||de(e)||K(e)?{i:ue,r:e,k:t,f:!!n}:e:null);function oi(e,t=null,n=null,r=0,s=null,o=e===_e?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&si(t),ref:t&&pn(t),scopeId:Pn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:ue};return l?(Br(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=ie(n)?8:16),Ut>0&&!i&&Ee&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Ee.push(c),c}const le=Tc;function Tc(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===Po)&&(e=me),Cn(e)){const l=Je(e,t,!0);return n&&Br(l,n),Ut>0&&!o&&Ee&&(l.shapeFlag&6?Ee[Ee.indexOf(e)]=l:Ee.push(l)),l.patchFlag=-2,l}if($c(e)&&(e=e.__vccOpts),t){t=Ac(t);let{class:l,style:c}=t;l&&!ie(l)&&(t.class=Tr(l)),Z(c)&&(_o(c)&&!B(c)&&(c=fe({},c)),t.style=xr(c))}const i=ie(e)?1:Sc(e)?128:ic(e)?64:Z(e)?4:K(e)?2:0;return oi(e,t,n,r,s,i,o,!0)}function Ac(e){return e?_o(e)||Do(e)?fe({},e):e:null}function Je(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:l,transition:c}=e,u=t?Rc(s||{},t):s,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&si(u),ref:t&&t.ref?n&&o?B(o)?o.concat(pn(t)):[o,pn(t)]:pn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==_e?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Je(e.ssContent),ssFallback:e.ssFallback&&Je(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&vn(f,c.clone(f)),f}function ii(e=" ",t=0){return le(ut,null,e,t)}function wu(e,t){const n=le(Ft,null,e);return n.staticCount=t,n}function Eu(e="",t=!1){return t?(ti(),ri(me,null,e)):le(me,null,e)}function xe(e){return e==null||typeof e=="boolean"?le(me):B(e)?le(_e,null,e.slice()):typeof e=="object"?qe(e):le(ut,null,String(e))}function qe(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Je(e)}function Br(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(B(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Br(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Do(t)?t._ctx=ue:s===3&&ue&&(ue.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else K(t)?(t={default:t,_ctx:ue},n=32):(t=String(t),r&64?(n=16,t=[ii(t)]):n=8);e.children=t,e.shapeFlag|=n}function Rc(...e){const t={};for(let n=0;nae||ue;let Sn,br;{const e=to(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};Sn=t("__VUE_INSTANCE_SETTERS__",n=>ae=n),br=t("__VUE_SSR_SETTERS__",n=>Xt=n)}const Gt=e=>{const t=ae;return Sn(e),e.scope.on(),()=>{e.scope.off(),Sn(t)}},Es=()=>{ae&&ae.scope.off(),Sn(null)};function li(e){return e.vnode.shapeFlag&4}let Xt=!1;function Ic(e,t=!1,n=!1){t&&br(t);const{props:r,children:s}=e.vnode,o=li(e);ec(e,r,o,t),sc(e,s,n);const i=o?Pc(e,t):void 0;return t&&br(!1),i}function Pc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Kl);const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?ai(e):null,o=Gt(e);et();const i=Ye(r,e,0,[e.props,s]);if(tt(),o(),Js(i)){if(i.then(Es,Es),t)return i.then(l=>{Cs(e,l,t)}).catch(l=>{Wt(l,e,0)});e.asyncDep=i}else Cs(e,i,t)}else ci(e,t)}function Cs(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Z(t)&&(e.setupState=Eo(t)),ci(e,n)}let Ss;function ci(e,t,n){const r=e.type;if(!e.render){if(!t&&Ss&&!r.render){const s=r.template||jr(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=r,u=fe(fe({isCustomElement:o,delimiters:l},i),c);r.render=Ss(s,u)}}e.render=r.render||Te}{const s=Gt(e);et();try{ql(e)}finally{tt(),s()}}}const Nc={get(e,t){return be(e,"get",""),e[t]}};function ai(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Nc),slots:e.slots,emit:e.emit,expose:t}}function Vn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Eo(hn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in It)return It[n](e)},has(t,n){return n in t||n in It}})):e.proxy}function Fc(e,t=!0){return K(e)?e.displayName||e.name:e.name||t&&e.__name}function $c(e){return K(e)&&"__vccOpts"in e}const se=(e,t)=>ml(e,t,Xt);function vr(e,t,n){const r=arguments.length;return r===2?Z(t)&&!B(t)?Cn(t)?le(e,null,[t]):le(e,t):le(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Cn(n)&&(n=[n]),le(e,t,n))}const Hc="3.4.33";/** +* @vue/runtime-dom v3.4.33 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const jc="http://www.w3.org/2000/svg",Vc="http://www.w3.org/1998/Math/MathML",je=typeof document<"u"?document:null,xs=je&&je.createElement("template"),Dc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?je.createElementNS(jc,e):t==="mathml"?je.createElementNS(Vc,e):n?je.createElement(e,{is:n}):je.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>je.createTextNode(e),createComment:e=>je.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>je.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{xs.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const l=xs.content;if(r==="svg"||r==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Be="transition",Ot="animation",Bt=Symbol("_vtc"),ui=(e,{slots:t})=>vr(Pl,Uc(e),t);ui.displayName="Transition";const fi={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};ui.props=fe({},To,fi);const st=(e,t=[])=>{B(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ts=e=>e?B(e)?e.some(t=>t.length>1):e.length>1:!1;function Uc(e){const t={};for(const x in e)x in fi||(t[x]=e[x]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:u=i,appearToClass:f=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,S=Bc(s),O=S&&S[0],k=S&&S[1],{onBeforeEnter:W,onEnter:D,onEnterCancelled:p,onLeave:y,onLeaveCancelled:I,onBeforeAppear:T=W,onAppear:F=D,onAppearCancelled:$=p}=t,M=(x,G,ee)=>{ot(x,G?f:l),ot(x,G?u:i),ee&&ee()},_=(x,G)=>{x._isLeaving=!1,ot(x,h),ot(x,v),ot(x,m),G&&G()},N=x=>(G,ee)=>{const re=x?F:D,U=()=>M(G,x,ee);st(re,[G,U]),As(()=>{ot(G,x?c:o),ke(G,x?f:l),Ts(re)||Rs(G,r,O,U)})};return fe(t,{onBeforeEnter(x){st(W,[x]),ke(x,o),ke(x,i)},onBeforeAppear(x){st(T,[x]),ke(x,c),ke(x,u)},onEnter:N(!1),onAppear:N(!0),onLeave(x,G){x._isLeaving=!0;const ee=()=>_(x,G);ke(x,h),ke(x,m),Wc(),As(()=>{x._isLeaving&&(ot(x,h),ke(x,v),Ts(y)||Rs(x,r,k,ee))}),st(y,[x,ee])},onEnterCancelled(x){M(x,!1),st(p,[x])},onAppearCancelled(x){M(x,!0),st($,[x])},onLeaveCancelled(x){_(x),st(I,[x])}})}function Bc(e){if(e==null)return null;if(Z(e))return[Yn(e.enter),Yn(e.leave)];{const t=Yn(e);return[t,t]}}function Yn(e){return ji(e)}function ke(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Bt]||(e[Bt]=new Set)).add(t)}function ot(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Bt];n&&(n.delete(t),n.size||(e[Bt]=void 0))}function As(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let kc=0;function Rs(e,t,n,r){const s=e._endId=++kc,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:l,propCount:c}=Kc(e,t);if(!i)return r();const u=i+"end";let f=0;const h=()=>{e.removeEventListener(u,m),o()},m=v=>{v.target===e&&++f>=c&&h()};setTimeout(()=>{f(n[S]||"").split(", "),s=r(`${Be}Delay`),o=r(`${Be}Duration`),i=Os(s,o),l=r(`${Ot}Delay`),c=r(`${Ot}Duration`),u=Os(l,c);let f=null,h=0,m=0;t===Be?i>0&&(f=Be,h=i,m=o.length):t===Ot?u>0&&(f=Ot,h=u,m=c.length):(h=Math.max(i,u),f=h>0?i>u?Be:Ot:null,m=f?f===Be?o.length:c.length:0);const v=f===Be&&/\b(transform|all)(,|$)/.test(r(`${Be}Property`).toString());return{type:f,timeout:h,propCount:m,hasTransform:v}}function Os(e,t){for(;e.lengthLs(n)+Ls(e[r])))}function Ls(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Wc(){return document.body.offsetHeight}function qc(e,t,n){const r=e[Bt];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ms=Symbol("_vod"),Gc=Symbol("_vsh"),Xc=Symbol(""),Yc=/(^|;)\s*display\s*:/;function zc(e,t,n){const r=e.style,s=ie(n);let o=!1;if(n&&!s){if(t)if(ie(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&gn(r,l,"")}else for(const i in t)n[i]==null&&gn(r,i,"");for(const i in n)i==="display"&&(o=!0),gn(r,i,n[i])}else if(s){if(t!==n){const i=r[Xc];i&&(n+=";"+i),r.cssText=n,o=Yc.test(n)}}else t&&e.removeAttribute("style");Ms in e&&(e[Ms]=o?r.display:"",e[Gc]&&(r.display="none"))}const Is=/\s*!important$/;function gn(e,t,n){if(B(n))n.forEach(r=>gn(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Jc(e,t);Is.test(n)?e.setProperty(Ze(r),n.replace(Is,""),"important"):e[r]=n}}const Ps=["Webkit","Moz","ms"],zn={};function Jc(e,t){const n=zn[t];if(n)return n;let r=Oe(t);if(r!=="filter"&&r in e)return zn[t]=r;r=An(r);for(let s=0;sJn||(na.then(()=>Jn=0),Jn=Date.now());function sa(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ae(oa(r,n.value),t,5,[r])};return n.value=e,n.attached=ra(),n}function oa(e,t){if(B(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const js=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ia=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?qc(e,r,i):t==="style"?zc(e,n,r):Kt(t)?Er(t)||ea(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):la(e,t,r,i))?(Qc(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Fs(e,t,r,i,o,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Fs(e,t,r,i))};function la(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&js(t)&&K(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return js(t)&&ie(n)?!1:t in e}const Vs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return B(t)?n=>dn(t,n):t};function ca(e){e.target.composing=!0}function Ds(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Qn=Symbol("_assign"),Cu={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[Qn]=Vs(s);const o=r||s.props&&s.props.type==="number";mt(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=cr(l)),e[Qn](l)}),n&&mt(e,"change",()=>{e.value=e.value.trim()}),t||(mt(e,"compositionstart",ca),mt(e,"compositionend",Ds),mt(e,"change",Ds))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:o}},i){if(e[Qn]=Vs(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?cr(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===c)||(e.value=c))}},aa=["ctrl","shift","alt","meta"],ua={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>aa.some(n=>e[`${n}Key`]&&!t.includes(n))},Su=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...o)=>{for(let i=0;i{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const o=Ze(s.key);if(t.some(i=>i===o||fa[i]===o))return e(s)})},di=fe({patchProp:ia},Dc);let Ht,Us=!1;function da(){return Ht||(Ht=dc(di))}function ha(){return Ht=Us?Ht:hc(di),Us=!0,Ht}const Tu=(...e)=>{const t=da().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=pi(r);if(!s)return;const o=t._component;!K(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const i=n(s,!1,hi(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t},Au=(...e)=>{const t=ha().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=pi(r);if(s)return n(s,!0,hi(s))},t};function hi(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function pi(e){return ie(e)?document.querySelector(e):e}const Ru=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},pa="modulepreload",ga=function(e){return"/PSCompletions/"+e},Bs={},Ou=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),i=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));s=Promise.all(n.map(l=>{if(l=ga(l),l in Bs)return;Bs[l]=!0;const c=l.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${u}`))return;const f=document.createElement("link");if(f.rel=c?"stylesheet":pa,c||(f.as="script",f.crossOrigin=""),f.href=l,i&&f.setAttribute("nonce",i),document.head.appendChild(f),c)return new Promise((h,m)=>{f.addEventListener("load",h),f.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${l}`)))})}))}return s.then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})},ma=window.__VP_SITE_DATA__;function kr(e){return oo()?(Xi(e),!0):!1}function $e(e){return typeof e=="function"?e():wo(e)}const gi=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ya=Object.prototype.toString,_a=e=>ya.call(e)==="[object Object]",kt=()=>{},ks=ba();function ba(){var e,t;return gi&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function va(e,t){function n(...r){return new Promise((s,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(o)})}return n}const mi=e=>e();function wa(e,t={}){let n,r,s=kt;const o=l=>{clearTimeout(l),s(),s=kt};return l=>{const c=$e(e),u=$e(t.maxWait);return n&&o(n),c<=0||u!==void 0&&u<=0?(r&&(o(r),r=null),Promise.resolve(l())):new Promise((f,h)=>{s=t.rejectOnCancel?h:f,u&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,f(l())},u)),n=setTimeout(()=>{r&&o(r),r=null,f(l())},c)})}}function Ea(e=mi){const t=oe(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...o)=>{t.value&&e(...o)};return{isActive:Ln(t),pause:n,resume:r,eventFilter:s}}function Ca(e){return jn()}function yi(...e){if(e.length!==1)return Cl(...e);const t=e[0];return typeof t=="function"?Ln(vl(()=>({get:t,set:kt}))):oe(t)}function _i(e,t,n={}){const{eventFilter:r=mi,...s}=n;return Fe(e,va(r,t),s)}function Sa(e,t,n={}){const{eventFilter:r,...s}=n,{eventFilter:o,pause:i,resume:l,isActive:c}=Ea(r);return{stop:_i(e,t,{...s,eventFilter:o}),pause:i,resume:l,isActive:c}}function Kr(e,t=!0,n){Ca()?Tt(e,n):t?e():Mn(e)}function Lu(e,t,n={}){const{debounce:r=0,maxWait:s=void 0,...o}=n;return _i(e,t,{...o,eventFilter:wa(r,{maxWait:s})})}function Mu(e,t,n){let r;de(n)?r={evaluating:n}:r={};const{lazy:s=!1,evaluating:o=void 0,shallow:i=!0,onError:l=kt}=r,c=oe(!s),u=i?Fr(t):oe(t);let f=0;return Ur(async h=>{if(!c.value)return;f++;const m=f;let v=!1;o&&Promise.resolve().then(()=>{o.value=!0});try{const S=await e(O=>{h(()=>{o&&(o.value=!1),v||O()})});m===f&&(u.value=S)}catch(S){l(S)}finally{o&&m===f&&(o.value=!1),v=!0}}),s?se(()=>(c.value=!0,u.value)):u}function bi(e){var t;const n=$e(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Le=gi?window:void 0;function xt(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=Le):[t,n,r,s]=e,!t)return kt;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],i=()=>{o.forEach(f=>f()),o.length=0},l=(f,h,m,v)=>(f.addEventListener(h,m,v),()=>f.removeEventListener(h,m,v)),c=Fe(()=>[bi(t),$e(s)],([f,h])=>{if(i(),!f)return;const m=_a(h)?{...h}:h;o.push(...n.flatMap(v=>r.map(S=>l(f,v,S,m))))},{immediate:!0,flush:"post"}),u=()=>{c(),i()};return kr(u),u}function xa(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Iu(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:s=Le,eventName:o="keydown",passive:i=!1,dedupe:l=!1}=r,c=xa(t);return xt(s,o,f=>{f.repeat&&$e(l)||c(f)&&n(f)},i)}function Ta(){const e=oe(!1),t=jn();return t&&Tt(()=>{e.value=!0},t),e}function Aa(e){const t=Ta();return se(()=>(t.value,!!e()))}function vi(e,t={}){const{window:n=Le}=t,r=Aa(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const o=oe(!1),i=u=>{o.value=u.matches},l=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",i):s.removeListener(i))},c=Ur(()=>{r.value&&(l(),s=n.matchMedia($e(e)),"addEventListener"in s?s.addEventListener("change",i):s.addListener(i),o.value=s.matches)});return kr(()=>{c(),l(),s=void 0}),o}const cn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},an="__vueuse_ssr_handlers__",Ra=Oa();function Oa(){return an in cn||(cn[an]=cn[an]||{}),cn[an]}function wi(e,t){return Ra[e]||t}function La(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Ma={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Ks="vueuse-storage";function Wr(e,t,n,r={}){var s;const{flush:o="pre",deep:i=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:u=!1,shallow:f,window:h=Le,eventFilter:m,onError:v=_=>{console.error(_)},initOnMounted:S}=r,O=(f?Fr:oe)(typeof t=="function"?t():t);if(!n)try{n=wi("getDefaultStorage",()=>{var _;return(_=Le)==null?void 0:_.localStorage})()}catch(_){v(_)}if(!n)return O;const k=$e(t),W=La(k),D=(s=r.serializer)!=null?s:Ma[W],{pause:p,resume:y}=Sa(O,()=>T(O.value),{flush:o,deep:i,eventFilter:m});h&&l&&Kr(()=>{xt(h,"storage",$),xt(h,Ks,M),S&&$()}),S||$();function I(_,N){h&&h.dispatchEvent(new CustomEvent(Ks,{detail:{key:e,oldValue:_,newValue:N,storageArea:n}}))}function T(_){try{const N=n.getItem(e);if(_==null)I(N,null),n.removeItem(e);else{const x=D.write(_);N!==x&&(n.setItem(e,x),I(N,x))}}catch(N){v(N)}}function F(_){const N=_?_.newValue:n.getItem(e);if(N==null)return c&&k!=null&&n.setItem(e,D.write(k)),k;if(!_&&u){const x=D.read(N);return typeof u=="function"?u(x,k):W==="object"&&!Array.isArray(x)?{...k,...x}:x}else return typeof N!="string"?N:D.read(N)}function $(_){if(!(_&&_.storageArea!==n)){if(_&&_.key==null){O.value=k;return}if(!(_&&_.key!==e)){p();try{(_==null?void 0:_.newValue)!==D.write(O.value)&&(O.value=F(_))}catch(N){v(N)}finally{_?Mn(y):y()}}}}function M(_){$(_.detail)}return O}function Ei(e){return vi("(prefers-color-scheme: dark)",e)}function Ia(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:s=Le,storage:o,storageKey:i="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:u,disableTransition:f=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},m=Ei({window:s}),v=se(()=>m.value?"dark":"light"),S=c||(i==null?yi(r):Wr(i,r,o,{window:s,listenToStorageChanges:l})),O=se(()=>S.value==="auto"?v.value:S.value),k=wi("updateHTMLAttrs",(y,I,T)=>{const F=typeof y=="string"?s==null?void 0:s.document.querySelector(y):bi(y);if(!F)return;let $;if(f&&($=s.document.createElement("style"),$.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),s.document.head.appendChild($)),I==="class"){const M=T.split(/\s/g);Object.values(h).flatMap(_=>(_||"").split(/\s/g)).filter(Boolean).forEach(_=>{M.includes(_)?F.classList.add(_):F.classList.remove(_)})}else F.setAttribute(I,T);f&&(s.getComputedStyle($).opacity,document.head.removeChild($))});function W(y){var I;k(t,n,(I=h[y])!=null?I:y)}function D(y){e.onChanged?e.onChanged(y,W):W(y)}Fe(O,D,{flush:"post",immediate:!0}),Kr(()=>D(O.value));const p=se({get(){return u?S.value:O.value},set(y){S.value=y}});try{return Object.assign(p,{store:S,system:v,state:O})}catch{return p}}function Pa(e={}){const{valueDark:t="dark",valueLight:n="",window:r=Le}=e,s=Ia({...e,onChanged:(l,c)=>{var u;e.onChanged?(u=e.onChanged)==null||u.call(e,l==="dark",c,l):c(l)},modes:{dark:t,light:n}}),o=se(()=>s.system?s.system.value:Ei({window:r}).value?"dark":"light");return se({get(){return s.value==="dark"},set(l){const c=l?"dark":"light";o.value===c?s.value="auto":s.value=c}})}function Zn(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Pu(e,t,n={}){const{window:r=Le}=n;return Wr(e,t,r==null?void 0:r.localStorage,n)}function Ci(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}const er=new WeakMap;function Nu(e,t=!1){const n=oe(t);let r=null,s="";Fe(yi(e),l=>{const c=Zn($e(l));if(c){const u=c;if(er.get(u)||er.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(s=u.style.overflow),u.style.overflow==="hidden")return n.value=!0;if(n.value)return u.style.overflow="hidden"}},{immediate:!0});const o=()=>{const l=Zn($e(e));!l||n.value||(ks&&(r=xt(l,"touchmove",c=>{Na(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},i=()=>{const l=Zn($e(e));!l||!n.value||(ks&&(r==null||r()),l.style.overflow=s,er.delete(l),n.value=!1)};return kr(i),se({get(){return n.value},set(l){l?o():i()}})}function Fu(e,t,n={}){const{window:r=Le}=n;return Wr(e,t,r==null?void 0:r.sessionStorage,n)}function $u(e={}){const{window:t=Le,behavior:n="auto"}=e;if(!t)return{x:oe(0),y:oe(0)};const r=oe(t.scrollX),s=oe(t.scrollY),o=se({get(){return r.value},set(l){scrollTo({left:l,behavior:n})}}),i=se({get(){return s.value},set(l){scrollTo({top:l,behavior:n})}});return xt(t,"scroll",()=>{r.value=t.scrollX,s.value=t.scrollY},{capture:!1,passive:!0}),{x:o,y:i}}function Hu(e={}){const{window:t=Le,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:o=!0}=e,i=oe(n),l=oe(r),c=()=>{t&&(o?(i.value=t.innerWidth,l.value=t.innerHeight):(i.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight))};if(c(),Kr(c),xt("resize",c,{passive:!0}),s){const u=vi("(orientation: portrait)");Fe(u,()=>c())}return{width:i,height:l}}var tr={BASE_URL:"/PSCompletions/",MODE:"production",DEV:!1,PROD:!0,SSR:!1},nr={};const Si=/^(?:[a-z]+:|\/\/)/i,Fa="vitepress-theme-appearance",$a=/#.*$/,Ha=/[?#].*$/,ja=/(?:(^|\/)index)?\.(?:md|html)$/,he=typeof document<"u",xi={relativePath:"404.md",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function Va(e,t,n=!1){if(t===void 0)return!1;if(e=Ws(`/${e}`),n)return new RegExp(t).test(e);if(Ws(t)!==e)return!1;const r=t.match($a);return r?(he?location.hash:"")===r[0]:!0}function Ws(e){return decodeURI(e).replace(Ha,"").replace(ja,"$1")}function Da(e){return Si.test(e)}function Ua(e,t){return Object.keys((e==null?void 0:e.locales)||{}).find(n=>n!=="root"&&!Da(n)&&Va(t,`/${n}/`,!0))||"root"}function Ba(e,t){var r,s,o,i,l,c,u;const n=Ua(e,t);return Object.assign({},e,{localeIndex:n,lang:((r=e.locales[n])==null?void 0:r.lang)??e.lang,dir:((s=e.locales[n])==null?void 0:s.dir)??e.dir,title:((o=e.locales[n])==null?void 0:o.title)??e.title,titleTemplate:((i=e.locales[n])==null?void 0:i.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:Ai(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(u=e.locales[n])==null?void 0:u.themeConfig}})}function Ti(e,t){const n=t.title||e.title,r=t.titleTemplate??e.titleTemplate;if(typeof r=="string"&&r.includes(":title"))return r.replace(/:title/g,n);const s=ka(e.title,r);return n===s.slice(3)?n:`${n}${s}`}function ka(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function Ka(e,t){const[n,r]=t;if(n!=="meta")return!1;const s=Object.entries(r)[0];return s==null?!1:e.some(([o,i])=>o===n&&i[s[0]]===s[1])}function Ai(e,t){return[...e.filter(n=>!Ka(t,n)),...t]}const Wa=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,qa=/^[a-z]:/i;function qs(e){const t=qa.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(Wa,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const rr=new Set;function Ga(e){if(rr.size===0){const n=typeof process=="object"&&(nr==null?void 0:nr.VITE_EXTRA_EXTENSIONS)||(tr==null?void 0:tr.VITE_EXTRA_EXTENSIONS)||"";("3g2,3gp,aac,ai,apng,au,avif,bin,bmp,cer,class,conf,crl,css,csv,dll,doc,eps,epub,exe,gif,gz,ics,ief,jar,jpe,jpeg,jpg,js,json,jsonld,m4a,man,mid,midi,mjs,mov,mp2,mp3,mp4,mpe,mpeg,mpg,mpp,oga,ogg,ogv,ogx,opus,otf,p10,p7c,p7m,p7s,pdf,png,ps,qt,roff,rtf,rtx,ser,svg,t,tif,tiff,tr,ts,tsv,ttf,txt,vtt,wav,weba,webm,webp,woff,woff2,xhtml,xml,yaml,yml,zip"+(n&&typeof n=="string"?","+n:"")).split(",").forEach(r=>rr.add(r))}const t=e.split(".").pop();return t==null||!rr.has(t.toLowerCase())}function ju(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const Xa=Symbol(),ft=Fr(ma);function Vu(e){const t=se(()=>Ba(ft.value,e.data.relativePath)),n=t.value.appearance,r=n==="force-dark"?oe(!0):n?Pa({storageKey:Fa,initialValue:()=>n==="dark"?"dark":"auto",...typeof n=="object"?n:{}}):oe(!1),s=oe(he?location.hash:"");return he&&window.addEventListener("hashchange",()=>{s.value=location.hash}),Fe(()=>e.data,()=>{s.value=he?location.hash:""}),{site:t,theme:se(()=>t.value.themeConfig),page:se(()=>e.data),frontmatter:se(()=>e.data.frontmatter),params:se(()=>e.data.params),lang:se(()=>t.value.lang),dir:se(()=>e.data.frontmatter.dir||t.value.dir),localeIndex:se(()=>t.value.localeIndex||"root"),title:se(()=>Ti(t.value,e.data)),description:se(()=>e.data.description||t.value.description),isDark:r,hash:se(()=>s.value)}}function Ya(){const e=Ct(Xa);if(!e)throw new Error("vitepress data not properly injected in app");return e}function za(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function Gs(e){return Si.test(e)||!e.startsWith("/")?e:za(ft.value.base,e)}function Ja(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),he){const n="/PSCompletions/";t=qs(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let r=__VP_HASH_MAP__[t.toLowerCase()];if(r||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",r=__VP_HASH_MAP__[t.toLowerCase()]),!r)return null;t=`${n}assets/${t}.${r}.js`}else t=`./${qs(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let mn=[];function Du(e){mn.push(e),Fn(()=>{mn=mn.filter(t=>t!==e)})}function Qa(){let e=ft.value.scrollOffset,t=0,n=24;if(typeof e=="object"&&"padding"in e&&(n=e.padding,e=e.selector),typeof e=="number")t=e;else if(typeof e=="string")t=Xs(e,n);else if(Array.isArray(e))for(const r of e){const s=Xs(r,n);if(s){t=s;break}}return t}function Xs(e,t){const n=document.querySelector(e);if(!n)return 0;const r=n.getBoundingClientRect().bottom;return r<0?0:r+t}const Za=Symbol(),Ri="http://a.com",eu=()=>({path:"/",component:null,data:xi});function Uu(e,t){const n=On(eu()),r={route:n,go:s};async function s(l=he?location.href:"/"){var c,u;l=sr(l),await((c=r.onBeforeRouteChange)==null?void 0:c.call(r,l))!==!1&&(he&&l!==sr(location.href)&&(history.replaceState({scrollPosition:window.scrollY},""),history.pushState({},"",l)),await i(l),await((u=r.onAfterRouteChanged)==null?void 0:u.call(r,l)))}let o=null;async function i(l,c=0,u=!1){var m;if(await((m=r.onBeforePageLoad)==null?void 0:m.call(r,l))===!1)return;const f=new URL(l,Ri),h=o=f.pathname;try{let v=await e(h);if(!v)throw new Error(`Page not found: ${h}`);if(o===h){o=null;const{default:S,__pageData:O}=v;if(!S)throw new Error(`Invalid route component: ${S}`);n.path=he?h:Gs(h),n.component=hn(S),n.data=hn(O),he&&Mn(()=>{let k=ft.value.base+O.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!ft.value.cleanUrls&&!k.endsWith("/")&&(k+=".html"),k!==f.pathname&&(f.pathname=k,l=k+f.search+f.hash,history.replaceState({},"",l)),f.hash&&!c){let W=null;try{W=document.getElementById(decodeURIComponent(f.hash).slice(1))}catch(D){console.warn(D)}if(W){Ys(W,f.hash);return}}window.scrollTo(0,c)})}}catch(v){if(!/fetch|Page not found/.test(v.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(v),!u)try{const S=await fetch(ft.value.base+"hashmap.json");window.__VP_HASH_MAP__=await S.json(),await i(l,c,!0);return}catch{}if(o===h){o=null,n.path=he?h:Gs(h),n.component=t?hn(t):null;const S=he?h.replace(/(^|\/)$/,"$1index").replace(/(\.html)?$/,".md").replace(/^\//,""):"404.md";n.data={...xi,relativePath:S}}}}return he&&(history.state===null&&history.replaceState({},""),window.addEventListener("click",l=>{if(l.defaultPrevented||!(l.target instanceof Element)||l.target.closest("button")||l.button!==0||l.ctrlKey||l.shiftKey||l.altKey||l.metaKey)return;const c=l.target.closest("a");if(!c||c.closest(".vp-raw")||c.hasAttribute("download")||c.hasAttribute("target"))return;const u=c.getAttribute("href")??(c instanceof SVGAElement?c.getAttribute("xlink:href"):null);if(u==null)return;const{href:f,origin:h,pathname:m,hash:v,search:S}=new URL(u,c.baseURI),O=new URL(location.href);h===O.origin&&Ga(m)&&(l.preventDefault(),m===O.pathname&&S===O.search?(v!==O.hash&&(history.pushState({},"",f),window.dispatchEvent(new HashChangeEvent("hashchange",{oldURL:O.href,newURL:f}))),v?Ys(c,v,c.classList.contains("header-anchor")):window.scrollTo(0,0)):s(f))},{capture:!0}),window.addEventListener("popstate",async l=>{var c;l.state!==null&&(await i(sr(location.href),l.state&&l.state.scrollPosition||0),(c=r.onAfterRouteChanged)==null||c.call(r,location.href))}),window.addEventListener("hashchange",l=>{l.preventDefault()})),r}function tu(){const e=Ct(Za);if(!e)throw new Error("useRouter() is called without provider.");return e}function Oi(){return tu().route}function Ys(e,t,n=!1){let r=null;try{r=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t).slice(1))}catch(s){console.warn(s)}if(r){let s=function(){!n||Math.abs(i-window.scrollY)>window.innerHeight?window.scrollTo(0,i):window.scrollTo({left:0,top:i,behavior:"smooth"})};const o=parseInt(window.getComputedStyle(r).paddingTop,10),i=window.scrollY+r.getBoundingClientRect().top-Qa()+o;requestAnimationFrame(s)}}function sr(e){const t=new URL(e,Ri);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),ft.value.cleanUrls?t.pathname=t.pathname.replace(/\.html$/,""):!t.pathname.endsWith("/")&&!t.pathname.endsWith(".html")&&(t.pathname+=".html"),t.pathname+t.search+t.hash}const or=()=>mn.forEach(e=>e()),Bu=Hr({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=Oi(),{site:n}=Ya();return()=>vr(e.as,n.value.contentProps??{style:{position:"relative"}},[t.component?vr(t.component,{onVnodeMounted:or,onVnodeUpdated:or,onVnodeUnmounted:or}):"404 Page Not Found"])}}),ku=Hr({setup(e,{slots:t}){const n=oe(!1);return Tt(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function Ku(){he&&window.addEventListener("click",e=>{var n;const t=e.target;if(t.matches(".vp-code-group input")){const r=(n=t.parentElement)==null?void 0:n.parentElement;if(!r)return;const s=Array.from(r.querySelectorAll("input")).indexOf(t);if(s<0)return;const o=r.querySelector(".blocks");if(!o)return;const i=Array.from(o.children).find(u=>u.classList.contains("active"));if(!i)return;const l=o.children[s];if(!l||i===l)return;i.classList.remove("active"),l.classList.add("active");const c=r==null?void 0:r.querySelector(`label[for="${t.id}"]`);c==null||c.scrollIntoView({block:"nearest"})}})}function Wu(){if(he){const e=new WeakMap;window.addEventListener("click",t=>{var r;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const s=n.parentElement,o=(r=n.nextElementSibling)==null?void 0:r.nextElementSibling;if(!s||!o)return;const i=/language-(shellscript|shell|bash|sh|zsh)/.test(s.className),l=[".vp-copy-ignore",".diff.remove"],c=o.cloneNode(!0);c.querySelectorAll(l.join(",")).forEach(f=>f.remove());let u=c.textContent||"";i&&(u=u.replace(/^ *(\$|>) /gm,"").trim()),nu(u).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const f=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,f)})}})}}async function nu(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const r=document.getSelection(),s=r?r.rangeCount>0&&r.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),s&&(r.removeAllRanges(),r.addRange(s)),n&&n.focus()}}function qu(e,t){let n=!0,r=[];const s=o=>{if(n){n=!1,o.forEach(l=>{const c=ir(l);for(const u of document.head.children)if(u.isEqualNode(c)){r.push(u);return}});return}const i=o.map(ir);r.forEach((l,c)=>{const u=i.findIndex(f=>f==null?void 0:f.isEqualNode(l??null));u!==-1?delete i[u]:(l==null||l.remove(),delete r[c])}),i.forEach(l=>l&&document.head.appendChild(l)),r=[...r,...i].filter(Boolean)};Ur(()=>{const o=e.data,i=t.value,l=o&&o.description,c=o&&o.frontmatter.head||[],u=Ti(i,o);u!==document.title&&(document.title=u);const f=l||i.description;let h=document.querySelector("meta[name=description]");h?h.getAttribute("content")!==f&&h.setAttribute("content",f):ir(["meta",{name:"description",content:f}]),s(Ai(i.head,su(c)))})}function ir([e,t,n]){const r=document.createElement(e);for(const s in t)r.setAttribute(s,t[s]);return n&&(r.innerHTML=n),e==="script"&&!t.async&&(r.async=!1),r}function ru(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function su(e){return e.filter(t=>!ru(t))}const lr=new Set,Li=()=>document.createElement("link"),ou=e=>{const t=Li();t.rel="prefetch",t.href=e,document.head.appendChild(t)},iu=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let un;const lu=he&&(un=Li())&&un.relList&&un.relList.supports&&un.relList.supports("prefetch")?ou:iu;function Gu(){if(!he||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const r=()=>{n&&n.disconnect(),n=new IntersectionObserver(o=>{o.forEach(i=>{if(i.isIntersecting){const l=i.target;n.unobserve(l);const{pathname:c}=l;if(!lr.has(c)){lr.add(c);const u=Ja(c);u&&lu(u)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(o=>{const{hostname:i,pathname:l}=new URL(o.href instanceof SVGAnimatedString?o.href.animVal:o.href,o.baseURI),c=l.match(/\.\w+$/);c&&c[0]!==".html"||o.target!=="_blank"&&i===location.hostname&&(l!==location.pathname?n.observe(o):lr.add(l))})})};Tt(r);const s=Oi();Fe(()=>s.path,r),Fn(()=>{n&&n.disconnect()})}export{xu as $,bu as A,Vl as B,Qa as C,du as D,pu as E,_e as F,Fr as G,Du as H,le as I,hu as J,Si as K,Oi as L,Rc as M,Ct as N,Hu as O,xr as P,Iu as Q,Mn as R,$u as S,ui as T,he as U,Ln as V,fu as W,Ou as X,Nu as Y,Zl as Z,Ru as _,ii as a,mu as a0,Mo as a1,Su as a2,yu as a3,wu as a4,qu as a5,Za as a6,Vu as a7,Xa as a8,Bu as a9,ku as aa,ft as ab,Au as ac,Uu as ad,Ja as ae,Gu as af,Wu as ag,Ku as ah,vr as ai,bi as aj,kr as ak,Mu as al,Fu as am,Pu as an,Lu as ao,tu as ap,xt as aq,uu as ar,Cu as as,de as at,_u as au,hn as av,Tu as aw,ju as ax,ri as b,vu as c,Hr as d,Eu as e,Ga as f,Gs as g,se as h,Da as i,oi as j,wo as k,au as l,Va as m,Tr as n,ti as o,cu as p,vi as q,gu as r,oe as s,Wi as t,Ya as u,Fe as v,Ll as w,Ur as x,Tt as y,Fn as z}; +**/const jc="http://www.w3.org/2000/svg",Vc="http://www.w3.org/1998/Math/MathML",je=typeof document<"u"?document:null,xs=je&&je.createElement("template"),Dc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?je.createElementNS(jc,e):t==="mathml"?je.createElementNS(Vc,e):n?je.createElement(e,{is:n}):je.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>je.createTextNode(e),createComment:e=>je.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>je.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{xs.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const l=xs.content;if(r==="svg"||r==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Be="transition",Ot="animation",Bt=Symbol("_vtc"),ui=(e,{slots:t})=>vr(Pl,Uc(e),t);ui.displayName="Transition";const fi={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};ui.props=fe({},To,fi);const st=(e,t=[])=>{B(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ts=e=>e?B(e)?e.some(t=>t.length>1):e.length>1:!1;function Uc(e){const t={};for(const x in e)x in fi||(t[x]=e[x]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:u=i,appearToClass:f=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,S=Bc(s),O=S&&S[0],k=S&&S[1],{onBeforeEnter:W,onEnter:D,onEnterCancelled:p,onLeave:y,onLeaveCancelled:I,onBeforeAppear:T=W,onAppear:F=D,onAppearCancelled:$=p}=t,M=(x,G,ee)=>{ot(x,G?f:l),ot(x,G?u:i),ee&&ee()},_=(x,G)=>{x._isLeaving=!1,ot(x,h),ot(x,v),ot(x,m),G&&G()},N=x=>(G,ee)=>{const re=x?F:D,U=()=>M(G,x,ee);st(re,[G,U]),As(()=>{ot(G,x?c:o),ke(G,x?f:l),Ts(re)||Rs(G,r,O,U)})};return fe(t,{onBeforeEnter(x){st(W,[x]),ke(x,o),ke(x,i)},onBeforeAppear(x){st(T,[x]),ke(x,c),ke(x,u)},onEnter:N(!1),onAppear:N(!0),onLeave(x,G){x._isLeaving=!0;const ee=()=>_(x,G);ke(x,h),ke(x,m),Wc(),As(()=>{x._isLeaving&&(ot(x,h),ke(x,v),Ts(y)||Rs(x,r,k,ee))}),st(y,[x,ee])},onEnterCancelled(x){M(x,!1),st(p,[x])},onAppearCancelled(x){M(x,!0),st($,[x])},onLeaveCancelled(x){_(x),st(I,[x])}})}function Bc(e){if(e==null)return null;if(Z(e))return[Yn(e.enter),Yn(e.leave)];{const t=Yn(e);return[t,t]}}function Yn(e){return ji(e)}function ke(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Bt]||(e[Bt]=new Set)).add(t)}function ot(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Bt];n&&(n.delete(t),n.size||(e[Bt]=void 0))}function As(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let kc=0;function Rs(e,t,n,r){const s=e._endId=++kc,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:l,propCount:c}=Kc(e,t);if(!i)return r();const u=i+"end";let f=0;const h=()=>{e.removeEventListener(u,m),o()},m=v=>{v.target===e&&++f>=c&&h()};setTimeout(()=>{f(n[S]||"").split(", "),s=r(`${Be}Delay`),o=r(`${Be}Duration`),i=Os(s,o),l=r(`${Ot}Delay`),c=r(`${Ot}Duration`),u=Os(l,c);let f=null,h=0,m=0;t===Be?i>0&&(f=Be,h=i,m=o.length):t===Ot?u>0&&(f=Ot,h=u,m=c.length):(h=Math.max(i,u),f=h>0?i>u?Be:Ot:null,m=f?f===Be?o.length:c.length:0);const v=f===Be&&/\b(transform|all)(,|$)/.test(r(`${Be}Property`).toString());return{type:f,timeout:h,propCount:m,hasTransform:v}}function Os(e,t){for(;e.lengthLs(n)+Ls(e[r])))}function Ls(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Wc(){return document.body.offsetHeight}function qc(e,t,n){const r=e[Bt];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ms=Symbol("_vod"),Gc=Symbol("_vsh"),Xc=Symbol(""),Yc=/(^|;)\s*display\s*:/;function zc(e,t,n){const r=e.style,s=ie(n);let o=!1;if(n&&!s){if(t)if(ie(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&gn(r,l,"")}else for(const i in t)n[i]==null&&gn(r,i,"");for(const i in n)i==="display"&&(o=!0),gn(r,i,n[i])}else if(s){if(t!==n){const i=r[Xc];i&&(n+=";"+i),r.cssText=n,o=Yc.test(n)}}else t&&e.removeAttribute("style");Ms in e&&(e[Ms]=o?r.display:"",e[Gc]&&(r.display="none"))}const Is=/\s*!important$/;function gn(e,t,n){if(B(n))n.forEach(r=>gn(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Jc(e,t);Is.test(n)?e.setProperty(Ze(r),n.replace(Is,""),"important"):e[r]=n}}const Ps=["Webkit","Moz","ms"],zn={};function Jc(e,t){const n=zn[t];if(n)return n;let r=Oe(t);if(r!=="filter"&&r in e)return zn[t]=r;r=An(r);for(let s=0;sJn||(na.then(()=>Jn=0),Jn=Date.now());function sa(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ae(oa(r,n.value),t,5,[r])};return n.value=e,n.attached=ra(),n}function oa(e,t){if(B(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const js=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ia=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?qc(e,r,i):t==="style"?zc(e,n,r):Kt(t)?Er(t)||ea(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):la(e,t,r,i))?(Qc(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Fs(e,t,r,i,o,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Fs(e,t,r,i))};function la(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&js(t)&&K(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return js(t)&&ie(n)?!1:t in e}const Vs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return B(t)?n=>dn(t,n):t};function ca(e){e.target.composing=!0}function Ds(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Qn=Symbol("_assign"),Cu={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[Qn]=Vs(s);const o=r||s.props&&s.props.type==="number";mt(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=cr(l)),e[Qn](l)}),n&&mt(e,"change",()=>{e.value=e.value.trim()}),t||(mt(e,"compositionstart",ca),mt(e,"compositionend",Ds),mt(e,"change",Ds))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:o}},i){if(e[Qn]=Vs(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?cr(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===c)||(e.value=c))}},aa=["ctrl","shift","alt","meta"],ua={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>aa.some(n=>e[`${n}Key`]&&!t.includes(n))},Su=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...o)=>{for(let i=0;i{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const o=Ze(s.key);if(t.some(i=>i===o||fa[i]===o))return e(s)})},di=fe({patchProp:ia},Dc);let Ht,Us=!1;function da(){return Ht||(Ht=dc(di))}function ha(){return Ht=Us?Ht:hc(di),Us=!0,Ht}const Tu=(...e)=>{const t=da().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=pi(r);if(!s)return;const o=t._component;!K(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const i=n(s,!1,hi(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t},Au=(...e)=>{const t=ha().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=pi(r);if(s)return n(s,!0,hi(s))},t};function hi(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function pi(e){return ie(e)?document.querySelector(e):e}const Ru=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},pa="modulepreload",ga=function(e){return"/PSCompletions/"+e},Bs={},Ou=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),i=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));s=Promise.all(n.map(l=>{if(l=ga(l),l in Bs)return;Bs[l]=!0;const c=l.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${u}`))return;const f=document.createElement("link");if(f.rel=c?"stylesheet":pa,c||(f.as="script",f.crossOrigin=""),f.href=l,i&&f.setAttribute("nonce",i),document.head.appendChild(f),c)return new Promise((h,m)=>{f.addEventListener("load",h),f.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${l}`)))})}))}return s.then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})},ma=window.__VP_SITE_DATA__;function kr(e){return oo()?(Xi(e),!0):!1}function $e(e){return typeof e=="function"?e():wo(e)}const gi=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ya=Object.prototype.toString,_a=e=>ya.call(e)==="[object Object]",kt=()=>{},ks=ba();function ba(){var e,t;return gi&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function va(e,t){function n(...r){return new Promise((s,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(o)})}return n}const mi=e=>e();function wa(e,t={}){let n,r,s=kt;const o=l=>{clearTimeout(l),s(),s=kt};return l=>{const c=$e(e),u=$e(t.maxWait);return n&&o(n),c<=0||u!==void 0&&u<=0?(r&&(o(r),r=null),Promise.resolve(l())):new Promise((f,h)=>{s=t.rejectOnCancel?h:f,u&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,f(l())},u)),n=setTimeout(()=>{r&&o(r),r=null,f(l())},c)})}}function Ea(e=mi){const t=oe(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...o)=>{t.value&&e(...o)};return{isActive:Ln(t),pause:n,resume:r,eventFilter:s}}function Ca(e){return jn()}function yi(...e){if(e.length!==1)return Cl(...e);const t=e[0];return typeof t=="function"?Ln(vl(()=>({get:t,set:kt}))):oe(t)}function _i(e,t,n={}){const{eventFilter:r=mi,...s}=n;return Fe(e,va(r,t),s)}function Sa(e,t,n={}){const{eventFilter:r,...s}=n,{eventFilter:o,pause:i,resume:l,isActive:c}=Ea(r);return{stop:_i(e,t,{...s,eventFilter:o}),pause:i,resume:l,isActive:c}}function Kr(e,t=!0,n){Ca()?Tt(e,n):t?e():Mn(e)}function Lu(e,t,n={}){const{debounce:r=0,maxWait:s=void 0,...o}=n;return _i(e,t,{...o,eventFilter:wa(r,{maxWait:s})})}function Mu(e,t,n){let r;de(n)?r={evaluating:n}:r={};const{lazy:s=!1,evaluating:o=void 0,shallow:i=!0,onError:l=kt}=r,c=oe(!s),u=i?Fr(t):oe(t);let f=0;return Ur(async h=>{if(!c.value)return;f++;const m=f;let v=!1;o&&Promise.resolve().then(()=>{o.value=!0});try{const S=await e(O=>{h(()=>{o&&(o.value=!1),v||O()})});m===f&&(u.value=S)}catch(S){l(S)}finally{o&&m===f&&(o.value=!1),v=!0}}),s?se(()=>(c.value=!0,u.value)):u}function bi(e){var t;const n=$e(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Le=gi?window:void 0;function xt(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=Le):[t,n,r,s]=e,!t)return kt;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],i=()=>{o.forEach(f=>f()),o.length=0},l=(f,h,m,v)=>(f.addEventListener(h,m,v),()=>f.removeEventListener(h,m,v)),c=Fe(()=>[bi(t),$e(s)],([f,h])=>{if(i(),!f)return;const m=_a(h)?{...h}:h;o.push(...n.flatMap(v=>r.map(S=>l(f,v,S,m))))},{immediate:!0,flush:"post"}),u=()=>{c(),i()};return kr(u),u}function xa(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Iu(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:s=Le,eventName:o="keydown",passive:i=!1,dedupe:l=!1}=r,c=xa(t);return xt(s,o,f=>{f.repeat&&$e(l)||c(f)&&n(f)},i)}function Ta(){const e=oe(!1),t=jn();return t&&Tt(()=>{e.value=!0},t),e}function Aa(e){const t=Ta();return se(()=>(t.value,!!e()))}function vi(e,t={}){const{window:n=Le}=t,r=Aa(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const o=oe(!1),i=u=>{o.value=u.matches},l=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",i):s.removeListener(i))},c=Ur(()=>{r.value&&(l(),s=n.matchMedia($e(e)),"addEventListener"in s?s.addEventListener("change",i):s.addListener(i),o.value=s.matches)});return kr(()=>{c(),l(),s=void 0}),o}const cn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},an="__vueuse_ssr_handlers__",Ra=Oa();function Oa(){return an in cn||(cn[an]=cn[an]||{}),cn[an]}function wi(e,t){return Ra[e]||t}function La(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Ma={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Ks="vueuse-storage";function Wr(e,t,n,r={}){var s;const{flush:o="pre",deep:i=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:u=!1,shallow:f,window:h=Le,eventFilter:m,onError:v=_=>{console.error(_)},initOnMounted:S}=r,O=(f?Fr:oe)(typeof t=="function"?t():t);if(!n)try{n=wi("getDefaultStorage",()=>{var _;return(_=Le)==null?void 0:_.localStorage})()}catch(_){v(_)}if(!n)return O;const k=$e(t),W=La(k),D=(s=r.serializer)!=null?s:Ma[W],{pause:p,resume:y}=Sa(O,()=>T(O.value),{flush:o,deep:i,eventFilter:m});h&&l&&Kr(()=>{xt(h,"storage",$),xt(h,Ks,M),S&&$()}),S||$();function I(_,N){h&&h.dispatchEvent(new CustomEvent(Ks,{detail:{key:e,oldValue:_,newValue:N,storageArea:n}}))}function T(_){try{const N=n.getItem(e);if(_==null)I(N,null),n.removeItem(e);else{const x=D.write(_);N!==x&&(n.setItem(e,x),I(N,x))}}catch(N){v(N)}}function F(_){const N=_?_.newValue:n.getItem(e);if(N==null)return c&&k!=null&&n.setItem(e,D.write(k)),k;if(!_&&u){const x=D.read(N);return typeof u=="function"?u(x,k):W==="object"&&!Array.isArray(x)?{...k,...x}:x}else return typeof N!="string"?N:D.read(N)}function $(_){if(!(_&&_.storageArea!==n)){if(_&&_.key==null){O.value=k;return}if(!(_&&_.key!==e)){p();try{(_==null?void 0:_.newValue)!==D.write(O.value)&&(O.value=F(_))}catch(N){v(N)}finally{_?Mn(y):y()}}}}function M(_){$(_.detail)}return O}function Ei(e){return vi("(prefers-color-scheme: dark)",e)}function Ia(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:s=Le,storage:o,storageKey:i="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:u,disableTransition:f=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},m=Ei({window:s}),v=se(()=>m.value?"dark":"light"),S=c||(i==null?yi(r):Wr(i,r,o,{window:s,listenToStorageChanges:l})),O=se(()=>S.value==="auto"?v.value:S.value),k=wi("updateHTMLAttrs",(y,I,T)=>{const F=typeof y=="string"?s==null?void 0:s.document.querySelector(y):bi(y);if(!F)return;let $;if(f&&($=s.document.createElement("style"),$.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),s.document.head.appendChild($)),I==="class"){const M=T.split(/\s/g);Object.values(h).flatMap(_=>(_||"").split(/\s/g)).filter(Boolean).forEach(_=>{M.includes(_)?F.classList.add(_):F.classList.remove(_)})}else F.setAttribute(I,T);f&&(s.getComputedStyle($).opacity,document.head.removeChild($))});function W(y){var I;k(t,n,(I=h[y])!=null?I:y)}function D(y){e.onChanged?e.onChanged(y,W):W(y)}Fe(O,D,{flush:"post",immediate:!0}),Kr(()=>D(O.value));const p=se({get(){return u?S.value:O.value},set(y){S.value=y}});try{return Object.assign(p,{store:S,system:v,state:O})}catch{return p}}function Pa(e={}){const{valueDark:t="dark",valueLight:n="",window:r=Le}=e,s=Ia({...e,onChanged:(l,c)=>{var u;e.onChanged?(u=e.onChanged)==null||u.call(e,l==="dark",c,l):c(l)},modes:{dark:t,light:n}}),o=se(()=>s.system?s.system.value:Ei({window:r}).value?"dark":"light");return se({get(){return s.value==="dark"},set(l){const c=l?"dark":"light";o.value===c?s.value="auto":s.value=c}})}function Zn(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Pu(e,t,n={}){const{window:r=Le}=n;return Wr(e,t,r==null?void 0:r.localStorage,n)}function Ci(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}const er=new WeakMap;function Nu(e,t=!1){const n=oe(t);let r=null,s="";Fe(yi(e),l=>{const c=Zn($e(l));if(c){const u=c;if(er.get(u)||er.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(s=u.style.overflow),u.style.overflow==="hidden")return n.value=!0;if(n.value)return u.style.overflow="hidden"}},{immediate:!0});const o=()=>{const l=Zn($e(e));!l||n.value||(ks&&(r=xt(l,"touchmove",c=>{Na(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},i=()=>{const l=Zn($e(e));!l||!n.value||(ks&&(r==null||r()),l.style.overflow=s,er.delete(l),n.value=!1)};return kr(i),se({get(){return n.value},set(l){l?o():i()}})}function Fu(e,t,n={}){const{window:r=Le}=n;return Wr(e,t,r==null?void 0:r.sessionStorage,n)}function $u(e={}){const{window:t=Le,behavior:n="auto"}=e;if(!t)return{x:oe(0),y:oe(0)};const r=oe(t.scrollX),s=oe(t.scrollY),o=se({get(){return r.value},set(l){scrollTo({left:l,behavior:n})}}),i=se({get(){return s.value},set(l){scrollTo({top:l,behavior:n})}});return xt(t,"scroll",()=>{r.value=t.scrollX,s.value=t.scrollY},{capture:!1,passive:!0}),{x:o,y:i}}function Hu(e={}){const{window:t=Le,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:o=!0}=e,i=oe(n),l=oe(r),c=()=>{t&&(o?(i.value=t.innerWidth,l.value=t.innerHeight):(i.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight))};if(c(),Kr(c),xt("resize",c,{passive:!0}),s){const u=vi("(orientation: portrait)");Fe(u,()=>c())}return{width:i,height:l}}var tr={BASE_URL:"/PSCompletions/",MODE:"production",DEV:!1,PROD:!0,SSR:!1},nr={};const Si=/^(?:[a-z]+:|\/\/)/i,Fa="vitepress-theme-appearance",$a=/#.*$/,Ha=/[?#].*$/,ja=/(?:(^|\/)index)?\.(?:md|html)$/,he=typeof document<"u",xi={relativePath:"404.md",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function Va(e,t,n=!1){if(t===void 0)return!1;if(e=Ws(`/${e}`),n)return new RegExp(t).test(e);if(Ws(t)!==e)return!1;const r=t.match($a);return r?(he?location.hash:"")===r[0]:!0}function Ws(e){return decodeURI(e).replace(Ha,"").replace(ja,"$1")}function Da(e){return Si.test(e)}function Ua(e,t){return Object.keys((e==null?void 0:e.locales)||{}).find(n=>n!=="root"&&!Da(n)&&Va(t,`/${n}/`,!0))||"root"}function Ba(e,t){var r,s,o,i,l,c,u;const n=Ua(e,t);return Object.assign({},e,{localeIndex:n,lang:((r=e.locales[n])==null?void 0:r.lang)??e.lang,dir:((s=e.locales[n])==null?void 0:s.dir)??e.dir,title:((o=e.locales[n])==null?void 0:o.title)??e.title,titleTemplate:((i=e.locales[n])==null?void 0:i.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:Ai(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(u=e.locales[n])==null?void 0:u.themeConfig}})}function Ti(e,t){const n=t.title||e.title,r=t.titleTemplate??e.titleTemplate;if(typeof r=="string"&&r.includes(":title"))return r.replace(/:title/g,n);const s=ka(e.title,r);return n===s.slice(3)?n:`${n}${s}`}function ka(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function Ka(e,t){const[n,r]=t;if(n!=="meta")return!1;const s=Object.entries(r)[0];return s==null?!1:e.some(([o,i])=>o===n&&i[s[0]]===s[1])}function Ai(e,t){return[...e.filter(n=>!Ka(t,n)),...t]}const Wa=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,qa=/^[a-z]:/i;function qs(e){const t=qa.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(Wa,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const rr=new Set;function Ga(e){if(rr.size===0){const n=typeof process=="object"&&(nr==null?void 0:nr.VITE_EXTRA_EXTENSIONS)||(tr==null?void 0:tr.VITE_EXTRA_EXTENSIONS)||"";("3g2,3gp,aac,ai,apng,au,avif,bin,bmp,cer,class,conf,crl,css,csv,dll,doc,eps,epub,exe,gif,gz,ics,ief,jar,jpe,jpeg,jpg,js,json,jsonld,m4a,man,mid,midi,mjs,mov,mp2,mp3,mp4,mpe,mpeg,mpg,mpp,oga,ogg,ogv,ogx,opus,otf,p10,p7c,p7m,p7s,pdf,png,ps,qt,roff,rtf,rtx,ser,svg,t,tif,tiff,tr,ts,tsv,ttf,txt,vtt,wav,weba,webm,webp,woff,woff2,xhtml,xml,yaml,yml,zip"+(n&&typeof n=="string"?","+n:"")).split(",").forEach(r=>rr.add(r))}const t=e.split(".").pop();return t==null||!rr.has(t.toLowerCase())}function ju(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const Xa=Symbol(),ft=Fr(ma);function Vu(e){const t=se(()=>Ba(ft.value,e.data.relativePath)),n=t.value.appearance,r=n==="force-dark"?oe(!0):n?Pa({storageKey:Fa,initialValue:()=>n==="dark"?"dark":"auto",...typeof n=="object"?n:{}}):oe(!1),s=oe(he?location.hash:"");return he&&window.addEventListener("hashchange",()=>{s.value=location.hash}),Fe(()=>e.data,()=>{s.value=he?location.hash:""}),{site:t,theme:se(()=>t.value.themeConfig),page:se(()=>e.data),frontmatter:se(()=>e.data.frontmatter),params:se(()=>e.data.params),lang:se(()=>t.value.lang),dir:se(()=>e.data.frontmatter.dir||t.value.dir),localeIndex:se(()=>t.value.localeIndex||"root"),title:se(()=>Ti(t.value,e.data)),description:se(()=>e.data.description||t.value.description),isDark:r,hash:se(()=>s.value)}}function Ya(){const e=Ct(Xa);if(!e)throw new Error("vitepress data not properly injected in app");return e}function za(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function Gs(e){return Si.test(e)||!e.startsWith("/")?e:za(ft.value.base,e)}function Ja(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),he){const n="/PSCompletions/";t=qs(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let r=__VP_HASH_MAP__[t.toLowerCase()];if(r||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",r=__VP_HASH_MAP__[t.toLowerCase()]),!r)return null;t=`${n}assets/${t}.${r}.js`}else t=`./${qs(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let mn=[];function Du(e){mn.push(e),Fn(()=>{mn=mn.filter(t=>t!==e)})}function Qa(){let e=ft.value.scrollOffset,t=0,n=24;if(typeof e=="object"&&"padding"in e&&(n=e.padding,e=e.selector),typeof e=="number")t=e;else if(typeof e=="string")t=Xs(e,n);else if(Array.isArray(e))for(const r of e){const s=Xs(r,n);if(s){t=s;break}}return t}function Xs(e,t){const n=document.querySelector(e);if(!n)return 0;const r=n.getBoundingClientRect().bottom;return r<0?0:r+t}const Za=Symbol(),Ri="http://a.com",eu=()=>({path:"/",component:null,data:xi});function Uu(e,t){const n=On(eu()),r={route:n,go:s};async function s(l=he?location.href:"/"){var c,u;l=sr(l),await((c=r.onBeforeRouteChange)==null?void 0:c.call(r,l))!==!1&&(he&&l!==sr(location.href)&&(history.replaceState({scrollPosition:window.scrollY},""),history.pushState({},"",l)),await i(l),await((u=r.onAfterRouteChanged)==null?void 0:u.call(r,l)))}let o=null;async function i(l,c=0,u=!1){var m;if(await((m=r.onBeforePageLoad)==null?void 0:m.call(r,l))===!1)return;const f=new URL(l,Ri),h=o=f.pathname;try{let v=await e(h);if(!v)throw new Error(`Page not found: ${h}`);if(o===h){o=null;const{default:S,__pageData:O}=v;if(!S)throw new Error(`Invalid route component: ${S}`);n.path=he?h:Gs(h),n.component=hn(S),n.data=hn(O),he&&Mn(()=>{let k=ft.value.base+O.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!ft.value.cleanUrls&&!k.endsWith("/")&&(k+=".html"),k!==f.pathname&&(f.pathname=k,l=k+f.search+f.hash,history.replaceState({},"",l)),f.hash&&!c){let W=null;try{W=document.getElementById(decodeURIComponent(f.hash).slice(1))}catch(D){console.warn(D)}if(W){Ys(W,f.hash);return}}window.scrollTo(0,c)})}}catch(v){if(!/fetch|Page not found/.test(v.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(v),!u)try{const S=await fetch(ft.value.base+"hashmap.json");window.__VP_HASH_MAP__=await S.json(),await i(l,c,!0);return}catch{}if(o===h){o=null,n.path=he?h:Gs(h),n.component=t?hn(t):null;const S=he?h.replace(/(^|\/)$/,"$1index").replace(/(\.html)?$/,".md").replace(/^\//,""):"404.md";n.data={...xi,relativePath:S}}}}return he&&(history.state===null&&history.replaceState({},""),window.addEventListener("click",l=>{if(l.defaultPrevented||!(l.target instanceof Element)||l.target.closest("button")||l.button!==0||l.ctrlKey||l.shiftKey||l.altKey||l.metaKey)return;const c=l.target.closest("a");if(!c||c.closest(".vp-raw")||c.hasAttribute("download")||c.hasAttribute("target"))return;const u=c.getAttribute("href")??(c instanceof SVGAElement?c.getAttribute("xlink:href"):null);if(u==null)return;const{href:f,origin:h,pathname:m,hash:v,search:S}=new URL(u,c.baseURI),O=new URL(location.href);h===O.origin&&Ga(m)&&(l.preventDefault(),m===O.pathname&&S===O.search?(v!==O.hash&&(history.pushState({},"",f),window.dispatchEvent(new HashChangeEvent("hashchange",{oldURL:O.href,newURL:f}))),v?Ys(c,v,c.classList.contains("header-anchor")):window.scrollTo(0,0)):s(f))},{capture:!0}),window.addEventListener("popstate",async l=>{var c;l.state!==null&&(await i(sr(location.href),l.state&&l.state.scrollPosition||0),(c=r.onAfterRouteChanged)==null||c.call(r,location.href))}),window.addEventListener("hashchange",l=>{l.preventDefault()})),r}function tu(){const e=Ct(Za);if(!e)throw new Error("useRouter() is called without provider.");return e}function Oi(){return tu().route}function Ys(e,t,n=!1){let r=null;try{r=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t).slice(1))}catch(s){console.warn(s)}if(r){let s=function(){!n||Math.abs(i-window.scrollY)>window.innerHeight?window.scrollTo(0,i):window.scrollTo({left:0,top:i,behavior:"smooth"})};const o=parseInt(window.getComputedStyle(r).paddingTop,10),i=window.scrollY+r.getBoundingClientRect().top-Qa()+o;requestAnimationFrame(s)}}function sr(e){const t=new URL(e,Ri);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),ft.value.cleanUrls?t.pathname=t.pathname.replace(/\.html$/,""):!t.pathname.endsWith("/")&&!t.pathname.endsWith(".html")&&(t.pathname+=".html"),t.pathname+t.search+t.hash}const or=()=>mn.forEach(e=>e()),Bu=Hr({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=Oi(),{site:n}=Ya();return()=>vr(e.as,n.value.contentProps??{style:{position:"relative"}},[t.component?vr(t.component,{onVnodeMounted:or,onVnodeUpdated:or,onVnodeUnmounted:or}):"404 Page Not Found"])}}),ku=Hr({setup(e,{slots:t}){const n=oe(!1);return Tt(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function Ku(){he&&window.addEventListener("click",e=>{var n;const t=e.target;if(t.matches(".vp-code-group input")){const r=(n=t.parentElement)==null?void 0:n.parentElement;if(!r)return;const s=Array.from(r.querySelectorAll("input")).indexOf(t);if(s<0)return;const o=r.querySelector(".blocks");if(!o)return;const i=Array.from(o.children).find(u=>u.classList.contains("active"));if(!i)return;const l=o.children[s];if(!l||i===l)return;i.classList.remove("active"),l.classList.add("active");const c=r==null?void 0:r.querySelector(`label[for="${t.id}"]`);c==null||c.scrollIntoView({block:"nearest"})}})}function Wu(){if(he){const e=new WeakMap;window.addEventListener("click",t=>{var r;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const s=n.parentElement,o=(r=n.nextElementSibling)==null?void 0:r.nextElementSibling;if(!s||!o)return;const i=/language-(shellscript|shell|bash|sh|zsh)/.test(s.className),l=[".vp-copy-ignore",".diff.remove"],c=o.cloneNode(!0);c.querySelectorAll(l.join(",")).forEach(f=>f.remove());let u=c.textContent||"";i&&(u=u.replace(/^ *(\$|>) /gm,"").trim()),nu(u).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const f=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,f)})}})}}async function nu(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const r=document.getSelection(),s=r?r.rangeCount>0&&r.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),s&&(r.removeAllRanges(),r.addRange(s)),n&&n.focus()}}function qu(e,t){let n=!0,r=[];const s=o=>{if(n){n=!1,o.forEach(l=>{const c=ir(l);for(const u of document.head.children)if(u.isEqualNode(c)){r.push(u);return}});return}const i=o.map(ir);r.forEach((l,c)=>{const u=i.findIndex(f=>f==null?void 0:f.isEqualNode(l??null));u!==-1?delete i[u]:(l==null||l.remove(),delete r[c])}),i.forEach(l=>l&&document.head.appendChild(l)),r=[...r,...i].filter(Boolean)};Ur(()=>{const o=e.data,i=t.value,l=o&&o.description,c=o&&o.frontmatter.head||[],u=Ti(i,o);u!==document.title&&(document.title=u);const f=l||i.description;let h=document.querySelector("meta[name=description]");h?h.getAttribute("content")!==f&&h.setAttribute("content",f):ir(["meta",{name:"description",content:f}]),s(Ai(i.head,su(c)))})}function ir([e,t,n]){const r=document.createElement(e);for(const s in t)r.setAttribute(s,t[s]);return n&&(r.innerHTML=n),e==="script"&&!t.async&&(r.async=!1),r}function ru(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function su(e){return e.filter(t=>!ru(t))}const lr=new Set,Li=()=>document.createElement("link"),ou=e=>{const t=Li();t.rel="prefetch",t.href=e,document.head.appendChild(t)},iu=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let un;const lu=he&&(un=Li())&&un.relList&&un.relList.supports&&un.relList.supports("prefetch")?ou:iu;function Gu(){if(!he||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const r=()=>{n&&n.disconnect(),n=new IntersectionObserver(o=>{o.forEach(i=>{if(i.isIntersecting){const l=i.target;n.unobserve(l);const{pathname:c}=l;if(!lr.has(c)){lr.add(c);const u=Ja(c);u&&lu(u)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(o=>{const{hostname:i,pathname:l}=new URL(o.href instanceof SVGAnimatedString?o.href.animVal:o.href,o.baseURI),c=l.match(/\.\w+$/);c&&c[0]!==".html"||o.target!=="_blank"&&i===location.hostname&&(l!==location.pathname?n.observe(o):lr.add(l))})})};Tt(r);const s=Oi();Fe(()=>s.path,r),Fn(()=>{n&&n.disconnect()})}export{xu as $,bu as A,Vl as B,Qa as C,du as D,pu as E,_e as F,Fr as G,Du as H,le as I,hu as J,Si as K,Oi as L,Rc as M,Ct as N,Hu as O,xr as P,Iu as Q,Mn as R,$u as S,ui as T,he as U,Ln as V,fu as W,Ou as X,Nu as Y,Zl as Z,Ru as _,ii as a,mu as a0,Mo as a1,Su as a2,yu as a3,wu as a4,qu as a5,Za as a6,Vu as a7,Xa as a8,Bu as a9,ku as aa,ft as ab,Au as ac,Uu as ad,Ja as ae,Gu as af,Wu as ag,Ku as ah,vr as ai,bi as aj,kr as ak,Mu as al,Fu as am,Pu as an,Lu as ao,tu as ap,xt as aq,uu as ar,Cu as as,de as at,_u as au,hn as av,Tu as aw,ju as ax,ri as b,vu as c,Hr as d,Eu as e,Ga as f,Gs as g,se as h,Da as i,oi as j,wo as k,au as l,Va as m,Tr as n,ti as o,cu as p,vi as q,gu as r,oe as s,Wi as t,Ya as u,Fe as v,Ll as w,Ur as x,Tt as y,Fn as z}; diff --git a/docs/.vitepress/dist/assets/chunks/theme.Cje-DEyP.js b/assets/chunks/theme.CvjxxwCL.js similarity index 99% rename from docs/.vitepress/dist/assets/chunks/theme.Cje-DEyP.js rename to assets/chunks/theme.CvjxxwCL.js index e405499..b2ac968 100644 --- a/docs/.vitepress/dist/assets/chunks/theme.Cje-DEyP.js +++ b/assets/chunks/theme.CvjxxwCL.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/VPLocalSearchBox.B0iG0UrU.js","assets/chunks/framework.DB6FXu2X.js"])))=>i.map(i=>d[i]); -import{d as _,o as a,c,r as l,n as N,a as O,t as w,b as k,w as d,e as f,T as ve,_ as $,u as Ve,i as ze,f as qe,g as pe,h as y,j as v,k as r,p as B,l as H,m as K,q as ie,s as I,v as U,x as Z,y as W,z as he,A as fe,B as Ke,C as We,D as R,F as M,E,G as Le,H as x,I as m,J as D,K as Se,L as ee,M as q,N as te,O as Re,P as Te,Q as le,R as we,S as Ie,U as ne,V as Je,W as Ye,X as Xe,Y as Ne,Z as _e,$ as Qe,a0 as Ze,a1 as xe,a2 as et,a3 as tt}from"./framework.DB6FXu2X.js";const nt=_({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(n){return(e,t)=>(a(),c("span",{class:N(["VPBadge",e.type])},[l(e.$slots,"default",{},()=>[O(w(e.text),1)])],2))}}),ot={key:0,class:"VPBackdrop"},st=_({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(n){return(e,t)=>(a(),k(ve,{name:"fade"},{default:d(()=>[e.show?(a(),c("div",ot)):f("",!0)]),_:1}))}}),at=$(st,[["__scopeId","data-v-c79a1216"]]),P=Ve;function rt(n,e){let t,s=!1;return()=>{t&&clearTimeout(t),s?t=setTimeout(n,e):(n(),(s=!0)&&setTimeout(()=>s=!1,e))}}function ce(n){return/^\//.test(n)?n:`/${n}`}function me(n){const{pathname:e,search:t,hash:s,protocol:o}=new URL(n,"http://a.com");if(ze(n)||n.startsWith("#")||!o.startsWith("http")||!qe(e))return n;const{site:i}=P(),u=e.endsWith("/")||e.endsWith(".html")?n:n.replace(/(?:(^\.+)\/)?.*$/,`$1${e.replace(/(\.md)?$/,i.value.cleanUrls?"":".html")}${t}${s}`);return pe(u)}function Y({correspondingLink:n=!1}={}){const{site:e,localeIndex:t,page:s,theme:o,hash:i}=P(),u=y(()=>{var p,g;return{label:(p=e.value.locales[t.value])==null?void 0:p.label,link:((g=e.value.locales[t.value])==null?void 0:g.link)||(t.value==="root"?"/":`/${t.value}/`)}});return{localeLinks:y(()=>Object.entries(e.value.locales).flatMap(([p,g])=>u.value.label===g.label?[]:{text:g.label,link:it(g.link||(p==="root"?"/":`/${p}/`),o.value.i18nRouting!==!1&&n,s.value.relativePath.slice(u.value.link.length-1),!e.value.cleanUrls)+i.value})),currentLang:u}}function it(n,e,t,s){return e?n.replace(/\/$/,"")+ce(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,s?".html":"")):n}const lt=n=>(B("data-v-d6be1790"),n=n(),H(),n),ct={class:"NotFound"},ut={class:"code"},dt={class:"title"},vt=lt(()=>v("div",{class:"divider"},null,-1)),pt={class:"quote"},ht={class:"action"},ft=["href","aria-label"],_t=_({__name:"NotFound",setup(n){const{theme:e}=P(),{currentLang:t}=Y();return(s,o)=>{var i,u,h,p,g;return a(),c("div",ct,[v("p",ut,w(((i=r(e).notFound)==null?void 0:i.code)??"404"),1),v("h1",dt,w(((u=r(e).notFound)==null?void 0:u.title)??"PAGE NOT FOUND"),1),vt,v("blockquote",pt,w(((h=r(e).notFound)==null?void 0:h.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),v("div",ht,[v("a",{class:"link",href:r(pe)(r(t).link),"aria-label":((p=r(e).notFound)==null?void 0:p.linkLabel)??"go to home"},w(((g=r(e).notFound)==null?void 0:g.linkText)??"Take me home"),9,ft)])])}}}),mt=$(_t,[["__scopeId","data-v-d6be1790"]]);function Me(n,e){if(Array.isArray(n))return X(n);if(n==null)return[];e=ce(e);const t=Object.keys(n).sort((o,i)=>i.split("/").length-o.split("/").length).find(o=>e.startsWith(ce(o))),s=t?n[t]:[];return Array.isArray(s)?X(s):X(s.items,s.base)}function kt(n){const e=[];let t=0;for(const s in n){const o=n[s];if(o.items){t=e.push(o);continue}e[t]||e.push({items:[]}),e[t].items.push(o)}return e}function bt(n){const e=[];function t(s){for(const o of s)o.text&&o.link&&e.push({text:o.text,link:o.link,docFooterText:o.docFooterText}),o.items&&t(o.items)}return t(n),e}function ue(n,e){return Array.isArray(e)?e.some(t=>ue(n,t)):K(n,e.link)?!0:e.items?ue(n,e.items):!1}function X(n,e){return[...n].map(t=>{const s={...t},o=s.base||e;return o&&s.link&&(s.link=o+s.link),s.items&&(s.items=X(s.items,o)),s})}function G(){const{frontmatter:n,page:e,theme:t}=P(),s=ie("(min-width: 960px)"),o=I(!1),i=y(()=>{const C=t.value.sidebar,S=e.value.relativePath;return C?Me(C,S):[]}),u=I(i.value);U(i,(C,S)=>{JSON.stringify(C)!==JSON.stringify(S)&&(u.value=i.value)});const h=y(()=>n.value.sidebar!==!1&&u.value.length>0&&n.value.layout!=="home"),p=y(()=>g?n.value.aside==null?t.value.aside==="left":n.value.aside==="left":!1),g=y(()=>n.value.layout==="home"?!1:n.value.aside!=null?!!n.value.aside:t.value.aside!==!1),L=y(()=>h.value&&s.value),b=y(()=>h.value?kt(u.value):[]);function V(){o.value=!0}function T(){o.value=!1}function A(){o.value?T():V()}return{isOpen:o,sidebar:u,sidebarGroups:b,hasSidebar:h,hasAside:g,leftAside:p,isSidebarEnabled:L,open:V,close:T,toggle:A}}function $t(n,e){let t;Z(()=>{t=n.value?document.activeElement:void 0}),W(()=>{window.addEventListener("keyup",s)}),he(()=>{window.removeEventListener("keyup",s)});function s(o){o.key==="Escape"&&n.value&&(e(),t==null||t.focus())}}function gt(n){const{page:e,hash:t}=P(),s=I(!1),o=y(()=>n.value.collapsed!=null),i=y(()=>!!n.value.link),u=I(!1),h=()=>{u.value=K(e.value.relativePath,n.value.link)};U([e,n,t],h),W(h);const p=y(()=>u.value?!0:n.value.items?ue(e.value.relativePath,n.value.items):!1),g=y(()=>!!(n.value.items&&n.value.items.length));Z(()=>{s.value=!!(o.value&&n.value.collapsed)}),fe(()=>{(u.value||p.value)&&(s.value=!1)});function L(){o.value&&(s.value=!s.value)}return{collapsed:s,collapsible:o,isLink:i,isActiveLink:u,hasActiveLink:p,hasChildren:g,toggle:L}}function yt(){const{hasSidebar:n}=G(),e=ie("(min-width: 960px)"),t=ie("(min-width: 1280px)");return{isAsideEnabled:y(()=>!t.value&&!e.value?!1:n.value?t.value:e.value)}}const de=[];function Ae(n){return typeof n.outline=="object"&&!Array.isArray(n.outline)&&n.outline.label||n.outlineTitle||"On this page"}function ke(n){const e=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const s=Number(t.tagName[1]);return{element:t,title:Pt(t),link:"#"+t.id,level:s}});return Vt(e,n)}function Pt(n){let e="";for(const t of n.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor")||t.classList.contains("ignore-header"))continue;e+=t.textContent}else t.nodeType===3&&(e+=t.textContent);return e.trim()}function Vt(n,e){if(e===!1)return[];const t=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[s,o]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;n=n.filter(u=>u.level>=s&&u.level<=o),de.length=0;for(const{element:u,link:h}of n)de.push({element:u,link:h});const i=[];e:for(let u=0;u=0;p--){const g=n[p];if(g.level{requestAnimationFrame(i),window.addEventListener("scroll",s)}),Ke(()=>{u(location.hash)}),he(()=>{window.removeEventListener("scroll",s)});function i(){if(!t.value)return;const h=window.scrollY,p=window.innerHeight,g=document.body.offsetHeight,L=Math.abs(h+p-g)<1,b=de.map(({element:T,link:A})=>({link:A,top:St(T)})).filter(({top:T})=>!Number.isNaN(T)).sort((T,A)=>T.top-A.top);if(!b.length){u(null);return}if(h<1){u(null);return}if(L){u(b[b.length-1].link);return}let V=null;for(const{link:T,top:A}of b){if(A>h+We()+4)break;V=T}u(V)}function u(h){o&&o.classList.remove("active"),h==null?o=null:o=n.value.querySelector(`a[href="${decodeURIComponent(h)}"]`);const p=o;p?(p.classList.add("active"),e.value.style.top=p.offsetTop+39+"px",e.value.style.opacity="1"):(e.value.style.top="33px",e.value.style.opacity="0")}}function St(n){let e=0;for(;n!==document.body;){if(n===null)return NaN;e+=n.offsetTop,n=n.offsetParent}return e}const Tt=["href","title"],wt=_({__name:"VPDocOutlineItem",props:{headers:{},root:{type:Boolean}},setup(n){function e({target:t}){const s=t.href.split("#")[1],o=document.getElementById(decodeURIComponent(s));o==null||o.focus({preventScroll:!0})}return(t,s)=>{const o=R("VPDocOutlineItem",!0);return a(),c("ul",{class:N(["VPDocOutlineItem",t.root?"root":"nested"])},[(a(!0),c(M,null,E(t.headers,({children:i,link:u,title:h})=>(a(),c("li",null,[v("a",{class:"outline-link",href:u,onClick:e,title:h},w(h),9,Tt),i!=null&&i.length?(a(),k(o,{key:0,headers:i},null,8,["headers"])):f("",!0)]))),256))],2)}}}),Ce=$(wt,[["__scopeId","data-v-b933a997"]]),It={class:"content"},Nt={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},Mt=_({__name:"VPDocAsideOutline",setup(n){const{frontmatter:e,theme:t}=P(),s=Le([]);x(()=>{s.value=ke(e.value.outline??t.value.outline)});const o=I(),i=I();return Lt(o,i),(u,h)=>(a(),c("nav",{"aria-labelledby":"doc-outline-aria-label",class:N(["VPDocAsideOutline",{"has-outline":s.value.length>0}]),ref_key:"container",ref:o},[v("div",It,[v("div",{class:"outline-marker",ref_key:"marker",ref:i},null,512),v("div",Nt,w(r(Ae)(r(t))),1),m(Ce,{headers:s.value,root:!0},null,8,["headers"])])],2))}}),At=$(Mt,[["__scopeId","data-v-a5bbad30"]]),Ct={class:"VPDocAsideCarbonAds"},Bt=_({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(n){const e=()=>null;return(t,s)=>(a(),c("div",Ct,[m(r(e),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),Ht=n=>(B("data-v-3f215769"),n=n(),H(),n),Et={class:"VPDocAside"},Dt=Ht(()=>v("div",{class:"spacer"},null,-1)),Ft=_({__name:"VPDocAside",setup(n){const{theme:e}=P();return(t,s)=>(a(),c("div",Et,[l(t.$slots,"aside-top",{},void 0,!0),l(t.$slots,"aside-outline-before",{},void 0,!0),m(At),l(t.$slots,"aside-outline-after",{},void 0,!0),Dt,l(t.$slots,"aside-ads-before",{},void 0,!0),r(e).carbonAds?(a(),k(Bt,{key:0,"carbon-ads":r(e).carbonAds},null,8,["carbon-ads"])):f("",!0),l(t.$slots,"aside-ads-after",{},void 0,!0),l(t.$slots,"aside-bottom",{},void 0,!0)]))}}),Ot=$(Ft,[["__scopeId","data-v-3f215769"]]);function Ut(){const{theme:n,page:e}=P();return y(()=>{const{text:t="Edit this page",pattern:s=""}=n.value.editLink||{};let o;return typeof s=="function"?o=s(e.value):o=s.replace(/:path/g,e.value.filePath),{url:o,text:t}})}function Gt(){const{page:n,theme:e,frontmatter:t}=P();return y(()=>{var g,L,b,V,T,A,C,S;const s=Me(e.value.sidebar,n.value.relativePath),o=bt(s),i=jt(o,j=>j.link.replace(/[?#].*$/,"")),u=i.findIndex(j=>K(n.value.relativePath,j.link)),h=((g=e.value.docFooter)==null?void 0:g.prev)===!1&&!t.value.prev||t.value.prev===!1,p=((L=e.value.docFooter)==null?void 0:L.next)===!1&&!t.value.next||t.value.next===!1;return{prev:h?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((b=i[u-1])==null?void 0:b.docFooterText)??((V=i[u-1])==null?void 0:V.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((T=i[u-1])==null?void 0:T.link)},next:p?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((A=i[u+1])==null?void 0:A.docFooterText)??((C=i[u+1])==null?void 0:C.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((S=i[u+1])==null?void 0:S.link)}}})}function jt(n,e){const t=new Set;return n.filter(s=>{const o=e(s);return t.has(o)?!1:t.add(o)})}const F=_({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(n){const e=n,t=y(()=>e.tag??(e.href?"a":"span")),s=y(()=>e.href&&Se.test(e.href)||e.target==="_blank");return(o,i)=>(a(),k(D(t.value),{class:N(["VPLink",{link:o.href,"vp-external-link-icon":s.value,"no-icon":o.noIcon}]),href:o.href?r(me)(o.href):void 0,target:o.target??(s.value?"_blank":void 0),rel:o.rel??(s.value?"noreferrer":void 0)},{default:d(()=>[l(o.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),zt={class:"VPLastUpdated"},qt=["datetime"],Kt=_({__name:"VPDocFooterLastUpdated",setup(n){const{theme:e,page:t,lang:s}=P(),o=y(()=>new Date(t.value.lastUpdated)),i=y(()=>o.value.toISOString()),u=I("");return W(()=>{Z(()=>{var h,p,g;u.value=new Intl.DateTimeFormat((p=(h=e.value.lastUpdated)==null?void 0:h.formatOptions)!=null&&p.forceLocale?s.value:void 0,((g=e.value.lastUpdated)==null?void 0:g.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(o.value)})}),(h,p)=>{var g;return a(),c("p",zt,[O(w(((g=r(e).lastUpdated)==null?void 0:g.text)||r(e).lastUpdatedText||"Last updated")+": ",1),v("time",{datetime:i.value},w(u.value),9,qt)])}}}),Wt=$(Kt,[["__scopeId","data-v-e98dd255"]]),Be=n=>(B("data-v-e257564d"),n=n(),H(),n),Rt={key:0,class:"VPDocFooter"},Jt={key:0,class:"edit-info"},Yt={key:0,class:"edit-link"},Xt=Be(()=>v("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),Qt={key:1,class:"last-updated"},Zt={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},xt=Be(()=>v("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),en={class:"pager"},tn=["innerHTML"],nn=["innerHTML"],on={class:"pager"},sn=["innerHTML"],an=["innerHTML"],rn=_({__name:"VPDocFooter",setup(n){const{theme:e,page:t,frontmatter:s}=P(),o=Ut(),i=Gt(),u=y(()=>e.value.editLink&&s.value.editLink!==!1),h=y(()=>t.value.lastUpdated),p=y(()=>u.value||h.value||i.value.prev||i.value.next);return(g,L)=>{var b,V,T,A;return p.value?(a(),c("footer",Rt,[l(g.$slots,"doc-footer-before",{},void 0,!0),u.value||h.value?(a(),c("div",Jt,[u.value?(a(),c("div",Yt,[m(F,{class:"edit-link-button",href:r(o).url,"no-icon":!0},{default:d(()=>[Xt,O(" "+w(r(o).text),1)]),_:1},8,["href"])])):f("",!0),h.value?(a(),c("div",Qt,[m(Wt)])):f("",!0)])):f("",!0),(b=r(i).prev)!=null&&b.link||(V=r(i).next)!=null&&V.link?(a(),c("nav",Zt,[xt,v("div",en,[(T=r(i).prev)!=null&&T.link?(a(),k(F,{key:0,class:"pager-link prev",href:r(i).prev.link},{default:d(()=>{var C;return[v("span",{class:"desc",innerHTML:((C=r(e).docFooter)==null?void 0:C.prev)||"Previous page"},null,8,tn),v("span",{class:"title",innerHTML:r(i).prev.text},null,8,nn)]}),_:1},8,["href"])):f("",!0)]),v("div",on,[(A=r(i).next)!=null&&A.link?(a(),k(F,{key:0,class:"pager-link next",href:r(i).next.link},{default:d(()=>{var C;return[v("span",{class:"desc",innerHTML:((C=r(e).docFooter)==null?void 0:C.next)||"Next page"},null,8,sn),v("span",{class:"title",innerHTML:r(i).next.text},null,8,an)]}),_:1},8,["href"])):f("",!0)])])):f("",!0)])):f("",!0)}}}),ln=$(rn,[["__scopeId","data-v-e257564d"]]),cn=n=>(B("data-v-39a288b8"),n=n(),H(),n),un={class:"container"},dn=cn(()=>v("div",{class:"aside-curtain"},null,-1)),vn={class:"aside-container"},pn={class:"aside-content"},hn={class:"content"},fn={class:"content-container"},_n={class:"main"},mn=_({__name:"VPDoc",setup(n){const{theme:e}=P(),t=ee(),{hasSidebar:s,hasAside:o,leftAside:i}=G(),u=y(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(h,p)=>{const g=R("Content");return a(),c("div",{class:N(["VPDoc",{"has-sidebar":r(s),"has-aside":r(o)}])},[l(h.$slots,"doc-top",{},void 0,!0),v("div",un,[r(o)?(a(),c("div",{key:0,class:N(["aside",{"left-aside":r(i)}])},[dn,v("div",vn,[v("div",pn,[m(Ot,null,{"aside-top":d(()=>[l(h.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":d(()=>[l(h.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":d(()=>[l(h.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":d(()=>[l(h.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":d(()=>[l(h.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":d(()=>[l(h.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):f("",!0),v("div",hn,[v("div",fn,[l(h.$slots,"doc-before",{},void 0,!0),v("main",_n,[m(g,{class:N(["vp-doc",[u.value,r(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),m(ln,null,{"doc-footer-before":d(()=>[l(h.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),l(h.$slots,"doc-after",{},void 0,!0)])])]),l(h.$slots,"doc-bottom",{},void 0,!0)],2)}}}),kn=$(mn,[["__scopeId","data-v-39a288b8"]]),bn=_({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(n){const e=n,t=y(()=>e.href&&Se.test(e.href)),s=y(()=>e.tag||e.href?"a":"button");return(o,i)=>(a(),k(D(s.value),{class:N(["VPButton",[o.size,o.theme]]),href:o.href?r(me)(o.href):void 0,target:e.target??(t.value?"_blank":void 0),rel:e.rel??(t.value?"noreferrer":void 0)},{default:d(()=>[O(w(o.text),1)]),_:1},8,["class","href","target","rel"]))}}),$n=$(bn,[["__scopeId","data-v-cad61b99"]]),gn=["src","alt"],yn=_({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(n){return(e,t)=>{const s=R("VPImage",!0);return e.image?(a(),c(M,{key:0},[typeof e.image=="string"||"src"in e.image?(a(),c("img",q({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:r(pe)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,gn)):(a(),c(M,{key:1},[m(s,q({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),m(s,q({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):f("",!0)}}}),Q=$(yn,[["__scopeId","data-v-8426fc1a"]]),Pn=n=>(B("data-v-303bb580"),n=n(),H(),n),Vn={class:"container"},Ln={class:"main"},Sn={key:0,class:"name"},Tn=["innerHTML"],wn=["innerHTML"],In=["innerHTML"],Nn={key:0,class:"actions"},Mn={key:0,class:"image"},An={class:"image-container"},Cn=Pn(()=>v("div",{class:"image-bg"},null,-1)),Bn=_({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(n){const e=te("hero-image-slot-exists");return(t,s)=>(a(),c("div",{class:N(["VPHero",{"has-image":t.image||r(e)}])},[v("div",Vn,[v("div",Ln,[l(t.$slots,"home-hero-info-before",{},void 0,!0),l(t.$slots,"home-hero-info",{},()=>[t.name?(a(),c("h1",Sn,[v("span",{innerHTML:t.name,class:"clip"},null,8,Tn)])):f("",!0),t.text?(a(),c("p",{key:1,innerHTML:t.text,class:"text"},null,8,wn)):f("",!0),t.tagline?(a(),c("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,In)):f("",!0)],!0),l(t.$slots,"home-hero-info-after",{},void 0,!0),t.actions?(a(),c("div",Nn,[(a(!0),c(M,null,E(t.actions,o=>(a(),c("div",{key:o.link,class:"action"},[m($n,{tag:"a",size:"medium",theme:o.theme,text:o.text,href:o.link,target:o.target,rel:o.rel},null,8,["theme","text","href","target","rel"])]))),128))])):f("",!0),l(t.$slots,"home-hero-actions-after",{},void 0,!0)]),t.image||r(e)?(a(),c("div",Mn,[v("div",An,[Cn,l(t.$slots,"home-hero-image",{},()=>[t.image?(a(),k(Q,{key:0,class:"image-src",image:t.image},null,8,["image"])):f("",!0)],!0)])])):f("",!0)])],2))}}),Hn=$(Bn,[["__scopeId","data-v-303bb580"]]),En=_({__name:"VPHomeHero",setup(n){const{frontmatter:e}=P();return(t,s)=>r(e).hero?(a(),k(Hn,{key:0,class:"VPHomeHero",name:r(e).hero.name,text:r(e).hero.text,tagline:r(e).hero.tagline,image:r(e).hero.image,actions:r(e).hero.actions},{"home-hero-info-before":d(()=>[l(t.$slots,"home-hero-info-before")]),"home-hero-info":d(()=>[l(t.$slots,"home-hero-info")]),"home-hero-info-after":d(()=>[l(t.$slots,"home-hero-info-after")]),"home-hero-actions-after":d(()=>[l(t.$slots,"home-hero-actions-after")]),"home-hero-image":d(()=>[l(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):f("",!0)}}),Dn=n=>(B("data-v-a3976bdc"),n=n(),H(),n),Fn={class:"box"},On={key:0,class:"icon"},Un=["innerHTML"],Gn=["innerHTML"],jn=["innerHTML"],zn={key:4,class:"link-text"},qn={class:"link-text-value"},Kn=Dn(()=>v("span",{class:"vpi-arrow-right link-text-icon"},null,-1)),Wn=_({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(n){return(e,t)=>(a(),k(F,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:d(()=>[v("article",Fn,[typeof e.icon=="object"&&e.icon.wrap?(a(),c("div",On,[m(Q,{image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])])):typeof e.icon=="object"?(a(),k(Q,{key:1,image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])):e.icon?(a(),c("div",{key:2,class:"icon",innerHTML:e.icon},null,8,Un)):f("",!0),v("h2",{class:"title",innerHTML:e.title},null,8,Gn),e.details?(a(),c("p",{key:3,class:"details",innerHTML:e.details},null,8,jn)):f("",!0),e.linkText?(a(),c("div",zn,[v("p",qn,[O(w(e.linkText)+" ",1),Kn])])):f("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),Rn=$(Wn,[["__scopeId","data-v-a3976bdc"]]),Jn={key:0,class:"VPFeatures"},Yn={class:"container"},Xn={class:"items"},Qn=_({__name:"VPFeatures",props:{features:{}},setup(n){const e=n,t=y(()=>{const s=e.features.length;if(s){if(s===2)return"grid-2";if(s===3)return"grid-3";if(s%3===0)return"grid-6";if(s>3)return"grid-4"}else return});return(s,o)=>s.features?(a(),c("div",Jn,[v("div",Yn,[v("div",Xn,[(a(!0),c(M,null,E(s.features,i=>(a(),c("div",{key:i.title,class:N(["item",[t.value]])},[m(Rn,{icon:i.icon,title:i.title,details:i.details,link:i.link,"link-text":i.linkText,rel:i.rel,target:i.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):f("",!0)}}),Zn=$(Qn,[["__scopeId","data-v-a6181336"]]),xn=_({__name:"VPHomeFeatures",setup(n){const{frontmatter:e}=P();return(t,s)=>r(e).features?(a(),k(Zn,{key:0,class:"VPHomeFeatures",features:r(e).features},null,8,["features"])):f("",!0)}}),eo=_({__name:"VPHomeContent",setup(n){const{width:e}=Re({initialWidth:0,includeScrollbar:!1});return(t,s)=>(a(),c("div",{class:"vp-doc container",style:Te(r(e)?{"--vp-offset":`calc(50% - ${r(e)/2}px)`}:{})},[l(t.$slots,"default",{},void 0,!0)],4))}}),to=$(eo,[["__scopeId","data-v-8e2d4988"]]),no={class:"VPHome"},oo=_({__name:"VPHome",setup(n){const{frontmatter:e}=P();return(t,s)=>{const o=R("Content");return a(),c("div",no,[l(t.$slots,"home-hero-before",{},void 0,!0),m(En,null,{"home-hero-info-before":d(()=>[l(t.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":d(()=>[l(t.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":d(()=>[l(t.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":d(()=>[l(t.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":d(()=>[l(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),l(t.$slots,"home-hero-after",{},void 0,!0),l(t.$slots,"home-features-before",{},void 0,!0),m(xn),l(t.$slots,"home-features-after",{},void 0,!0),r(e).markdownStyles!==!1?(a(),k(to,{key:0},{default:d(()=>[m(o)]),_:1})):(a(),k(o,{key:1}))])}}}),so=$(oo,[["__scopeId","data-v-686f80a6"]]),ao={},ro={class:"VPPage"};function io(n,e){const t=R("Content");return a(),c("div",ro,[l(n.$slots,"page-top"),m(t),l(n.$slots,"page-bottom")])}const lo=$(ao,[["render",io]]),co=_({__name:"VPContent",setup(n){const{page:e,frontmatter:t}=P(),{hasSidebar:s}=G();return(o,i)=>(a(),c("div",{class:N(["VPContent",{"has-sidebar":r(s),"is-home":r(t).layout==="home"}]),id:"VPContent"},[r(e).isNotFound?l(o.$slots,"not-found",{key:0},()=>[m(mt)],!0):r(t).layout==="page"?(a(),k(lo,{key:1},{"page-top":d(()=>[l(o.$slots,"page-top",{},void 0,!0)]),"page-bottom":d(()=>[l(o.$slots,"page-bottom",{},void 0,!0)]),_:3})):r(t).layout==="home"?(a(),k(so,{key:2},{"home-hero-before":d(()=>[l(o.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":d(()=>[l(o.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":d(()=>[l(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":d(()=>[l(o.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":d(()=>[l(o.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":d(()=>[l(o.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":d(()=>[l(o.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":d(()=>[l(o.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":d(()=>[l(o.$slots,"home-features-after",{},void 0,!0)]),_:3})):r(t).layout&&r(t).layout!=="doc"?(a(),k(D(r(t).layout),{key:3})):(a(),k(kn,{key:4},{"doc-top":d(()=>[l(o.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":d(()=>[l(o.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":d(()=>[l(o.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":d(()=>[l(o.$slots,"doc-before",{},void 0,!0)]),"doc-after":d(()=>[l(o.$slots,"doc-after",{},void 0,!0)]),"aside-top":d(()=>[l(o.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":d(()=>[l(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":d(()=>[l(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":d(()=>[l(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":d(()=>[l(o.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":d(()=>[l(o.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),uo=$(co,[["__scopeId","data-v-1428d186"]]),vo={class:"container"},po=["innerHTML"],ho=["innerHTML"],fo=_({__name:"VPFooter",setup(n){const{theme:e,frontmatter:t}=P(),{hasSidebar:s}=G();return(o,i)=>r(e).footer&&r(t).footer!==!1?(a(),c("footer",{key:0,class:N(["VPFooter",{"has-sidebar":r(s)}])},[v("div",vo,[r(e).footer.message?(a(),c("p",{key:0,class:"message",innerHTML:r(e).footer.message},null,8,po)):f("",!0),r(e).footer.copyright?(a(),c("p",{key:1,class:"copyright",innerHTML:r(e).footer.copyright},null,8,ho)):f("",!0)])],2)):f("",!0)}}),_o=$(fo,[["__scopeId","data-v-e315a0ad"]]);function mo(){const{theme:n,frontmatter:e}=P(),t=Le([]),s=y(()=>t.value.length>0);return x(()=>{t.value=ke(e.value.outline??n.value.outline)}),{headers:t,hasLocalNav:s}}const ko=n=>(B("data-v-17a5e62e"),n=n(),H(),n),bo={class:"menu-text"},$o=ko(()=>v("span",{class:"vpi-chevron-right icon"},null,-1)),go={class:"header"},yo={class:"outline"},Po=_({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(n){const e=n,{theme:t}=P(),s=I(!1),o=I(0),i=I(),u=I();function h(b){var V;(V=i.value)!=null&&V.contains(b.target)||(s.value=!1)}U(s,b=>{if(b){document.addEventListener("click",h);return}document.removeEventListener("click",h)}),le("Escape",()=>{s.value=!1}),x(()=>{s.value=!1});function p(){s.value=!s.value,o.value=window.innerHeight+Math.min(window.scrollY-e.navHeight,0)}function g(b){b.target.classList.contains("outline-link")&&(u.value&&(u.value.style.transition="none"),we(()=>{s.value=!1}))}function L(){s.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(b,V)=>(a(),c("div",{class:"VPLocalNavOutlineDropdown",style:Te({"--vp-vh":o.value+"px"}),ref_key:"main",ref:i},[b.headers.length>0?(a(),c("button",{key:0,onClick:p,class:N({open:s.value})},[v("span",bo,w(r(Ae)(r(t))),1),$o],2)):(a(),c("button",{key:1,onClick:L},w(r(t).returnToTopLabel||"Return to top"),1)),m(ve,{name:"flyout"},{default:d(()=>[s.value?(a(),c("div",{key:0,ref_key:"items",ref:u,class:"items",onClick:g},[v("div",go,[v("a",{class:"top-link",href:"#",onClick:L},w(r(t).returnToTopLabel||"Return to top"),1)]),v("div",yo,[m(Ce,{headers:b.headers},null,8,["headers"])])],512)):f("",!0)]),_:1})],4))}}),Vo=$(Po,[["__scopeId","data-v-17a5e62e"]]),Lo=n=>(B("data-v-a6f0e41e"),n=n(),H(),n),So={class:"container"},To=["aria-expanded"],wo=Lo(()=>v("span",{class:"vpi-align-left menu-icon"},null,-1)),Io={class:"menu-text"},No=_({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(n){const{theme:e,frontmatter:t}=P(),{hasSidebar:s}=G(),{headers:o}=mo(),{y:i}=Ie(),u=I(0);W(()=>{u.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),x(()=>{o.value=ke(t.value.outline??e.value.outline)});const h=y(()=>o.value.length===0),p=y(()=>h.value&&!s.value),g=y(()=>({VPLocalNav:!0,"has-sidebar":s.value,empty:h.value,fixed:p.value}));return(L,b)=>r(t).layout!=="home"&&(!p.value||r(i)>=u.value)?(a(),c("div",{key:0,class:N(g.value)},[v("div",So,[r(s)?(a(),c("button",{key:0,class:"menu","aria-expanded":L.open,"aria-controls":"VPSidebarNav",onClick:b[0]||(b[0]=V=>L.$emit("open-menu"))},[wo,v("span",Io,w(r(e).sidebarMenuLabel||"Menu"),1)],8,To)):f("",!0),m(Vo,{headers:r(o),navHeight:u.value},null,8,["headers","navHeight"])])],2)):f("",!0)}}),Mo=$(No,[["__scopeId","data-v-a6f0e41e"]]);function Ao(){const n=I(!1);function e(){n.value=!0,window.addEventListener("resize",o)}function t(){n.value=!1,window.removeEventListener("resize",o)}function s(){n.value?t():e()}function o(){window.outerWidth>=768&&t()}const i=ee();return U(()=>i.path,t),{isScreenOpen:n,openScreen:e,closeScreen:t,toggleScreen:s}}const Co={},Bo={class:"VPSwitch",type:"button",role:"switch"},Ho={class:"check"},Eo={key:0,class:"icon"};function Do(n,e){return a(),c("button",Bo,[v("span",Ho,[n.$slots.default?(a(),c("span",Eo,[l(n.$slots,"default",{},void 0,!0)])):f("",!0)])])}const Fo=$(Co,[["render",Do],["__scopeId","data-v-1d5665e3"]]),He=n=>(B("data-v-5337faa4"),n=n(),H(),n),Oo=He(()=>v("span",{class:"vpi-sun sun"},null,-1)),Uo=He(()=>v("span",{class:"vpi-moon moon"},null,-1)),Go=_({__name:"VPSwitchAppearance",setup(n){const{isDark:e,theme:t}=P(),s=te("toggle-appearance",()=>{e.value=!e.value}),o=I("");return fe(()=>{o.value=e.value?t.value.lightModeSwitchTitle||"Switch to light theme":t.value.darkModeSwitchTitle||"Switch to dark theme"}),(i,u)=>(a(),k(Fo,{title:o.value,class:"VPSwitchAppearance","aria-checked":r(e),onClick:r(s)},{default:d(()=>[Oo,Uo]),_:1},8,["title","aria-checked","onClick"]))}}),be=$(Go,[["__scopeId","data-v-5337faa4"]]),jo={key:0,class:"VPNavBarAppearance"},zo=_({__name:"VPNavBarAppearance",setup(n){const{site:e}=P();return(t,s)=>r(e).appearance&&r(e).appearance!=="force-dark"&&r(e).appearance!=="force-auto"?(a(),c("div",jo,[m(be)])):f("",!0)}}),qo=$(zo,[["__scopeId","data-v-6c893767"]]),$e=I();let Ee=!1,re=0;function Ko(n){const e=I(!1);if(ne){!Ee&&Wo(),re++;const t=U($e,s=>{var o,i,u;s===n.el.value||(o=n.el.value)!=null&&o.contains(s)?(e.value=!0,(i=n.onFocus)==null||i.call(n)):(e.value=!1,(u=n.onBlur)==null||u.call(n))});he(()=>{t(),re--,re||Ro()})}return Je(e)}function Wo(){document.addEventListener("focusin",De),Ee=!0,$e.value=document.activeElement}function Ro(){document.removeEventListener("focusin",De)}function De(){$e.value=document.activeElement}const Jo={class:"VPMenuLink"},Yo=_({__name:"VPMenuLink",props:{item:{}},setup(n){const{page:e}=P();return(t,s)=>(a(),c("div",Jo,[m(F,{class:N({active:r(K)(r(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel},{default:d(()=>[O(w(t.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),oe=$(Yo,[["__scopeId","data-v-43f1e123"]]),Xo={class:"VPMenuGroup"},Qo={key:0,class:"title"},Zo=_({__name:"VPMenuGroup",props:{text:{},items:{}},setup(n){return(e,t)=>(a(),c("div",Xo,[e.text?(a(),c("p",Qo,w(e.text),1)):f("",!0),(a(!0),c(M,null,E(e.items,s=>(a(),c(M,null,["link"in s?(a(),k(oe,{key:0,item:s},null,8,["item"])):f("",!0)],64))),256))]))}}),xo=$(Zo,[["__scopeId","data-v-69e747b5"]]),es={class:"VPMenu"},ts={key:0,class:"items"},ns=_({__name:"VPMenu",props:{items:{}},setup(n){return(e,t)=>(a(),c("div",es,[e.items?(a(),c("div",ts,[(a(!0),c(M,null,E(e.items,s=>(a(),c(M,{key:JSON.stringify(s)},["link"in s?(a(),k(oe,{key:0,item:s},null,8,["item"])):"component"in s?(a(),k(D(s.component),q({key:1,ref_for:!0},s.props),null,16)):(a(),k(xo,{key:2,text:s.text,items:s.items},null,8,["text","items"]))],64))),128))])):f("",!0),l(e.$slots,"default",{},void 0,!0)]))}}),os=$(ns,[["__scopeId","data-v-b98bc113"]]),ss=n=>(B("data-v-b6c34ac9"),n=n(),H(),n),as=["aria-expanded","aria-label"],rs={key:0,class:"text"},is=["innerHTML"],ls=ss(()=>v("span",{class:"vpi-chevron-down text-icon"},null,-1)),cs={key:1,class:"vpi-more-horizontal icon"},us={class:"menu"},ds=_({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(n){const e=I(!1),t=I();Ko({el:t,onBlur:s});function s(){e.value=!1}return(o,i)=>(a(),c("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:i[1]||(i[1]=u=>e.value=!0),onMouseleave:i[2]||(i[2]=u=>e.value=!1)},[v("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":o.label,onClick:i[0]||(i[0]=u=>e.value=!e.value)},[o.button||o.icon?(a(),c("span",rs,[o.icon?(a(),c("span",{key:0,class:N([o.icon,"option-icon"])},null,2)):f("",!0),o.button?(a(),c("span",{key:1,innerHTML:o.button},null,8,is)):f("",!0),ls])):(a(),c("span",cs))],8,as),v("div",us,[m(os,{items:o.items},{default:d(()=>[l(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),ge=$(ds,[["__scopeId","data-v-b6c34ac9"]]),vs=["href","aria-label","innerHTML"],ps=_({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(n){const e=n,t=y(()=>typeof e.icon=="object"?e.icon.svg:``);return(s,o)=>(a(),c("a",{class:"VPSocialLink no-icon",href:s.link,"aria-label":s.ariaLabel??(typeof s.icon=="string"?s.icon:""),target:"_blank",rel:"noopener",innerHTML:t.value},null,8,vs))}}),hs=$(ps,[["__scopeId","data-v-eee4e7cb"]]),fs={class:"VPSocialLinks"},_s=_({__name:"VPSocialLinks",props:{links:{}},setup(n){return(e,t)=>(a(),c("div",fs,[(a(!0),c(M,null,E(e.links,({link:s,icon:o,ariaLabel:i})=>(a(),k(hs,{key:s,icon:o,link:s,ariaLabel:i},null,8,["icon","link","ariaLabel"]))),128))]))}}),ye=$(_s,[["__scopeId","data-v-7bc22406"]]),ms={key:0,class:"group translations"},ks={class:"trans-title"},bs={key:1,class:"group"},$s={class:"item appearance"},gs={class:"label"},ys={class:"appearance-action"},Ps={key:2,class:"group"},Vs={class:"item social-links"},Ls=_({__name:"VPNavBarExtra",setup(n){const{site:e,theme:t}=P(),{localeLinks:s,currentLang:o}=Y({correspondingLink:!0}),i=y(()=>s.value.length&&o.value.label||e.value.appearance||t.value.socialLinks);return(u,h)=>i.value?(a(),k(ge,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:d(()=>[r(s).length&&r(o).label?(a(),c("div",ms,[v("p",ks,w(r(o).label),1),(a(!0),c(M,null,E(r(s),p=>(a(),k(oe,{key:p.link,item:p},null,8,["item"]))),128))])):f("",!0),r(e).appearance&&r(e).appearance!=="force-dark"&&r(e).appearance!=="force-auto"?(a(),c("div",bs,[v("div",$s,[v("p",gs,w(r(t).darkModeSwitchLabel||"Appearance"),1),v("div",ys,[m(be)])])])):f("",!0),r(t).socialLinks?(a(),c("div",Ps,[v("div",Vs,[m(ye,{class:"social-links-list",links:r(t).socialLinks},null,8,["links"])])])):f("",!0)]),_:1})):f("",!0)}}),Ss=$(Ls,[["__scopeId","data-v-bb2aa2f0"]]),Ts=n=>(B("data-v-e5dd9c1c"),n=n(),H(),n),ws=["aria-expanded"],Is=Ts(()=>v("span",{class:"container"},[v("span",{class:"top"}),v("span",{class:"middle"}),v("span",{class:"bottom"})],-1)),Ns=[Is],Ms=_({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(n){return(e,t)=>(a(),c("button",{type:"button",class:N(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=s=>e.$emit("click"))},Ns,10,ws))}}),As=$(Ms,[["__scopeId","data-v-e5dd9c1c"]]),Cs=["innerHTML"],Bs=_({__name:"VPNavBarMenuLink",props:{item:{}},setup(n){const{page:e}=P();return(t,s)=>(a(),k(F,{class:N({VPNavBarMenuLink:!0,active:r(K)(r(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,noIcon:t.item.noIcon,target:t.item.target,rel:t.item.rel,tabindex:"0"},{default:d(()=>[v("span",{innerHTML:t.item.text},null,8,Cs)]),_:1},8,["class","href","noIcon","target","rel"]))}}),Hs=$(Bs,[["__scopeId","data-v-9c663999"]]),Es=_({__name:"VPNavBarMenuGroup",props:{item:{}},setup(n){const e=n,{page:t}=P(),s=i=>"component"in i?!1:"link"in i?K(t.value.relativePath,i.link,!!e.item.activeMatch):i.items.some(s),o=y(()=>s(e.item));return(i,u)=>(a(),k(ge,{class:N({VPNavBarMenuGroup:!0,active:r(K)(r(t).relativePath,i.item.activeMatch,!!i.item.activeMatch)||o.value}),button:i.item.text,items:i.item.items},null,8,["class","button","items"]))}}),Ds=n=>(B("data-v-dc692963"),n=n(),H(),n),Fs={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Os=Ds(()=>v("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),Us=_({__name:"VPNavBarMenu",setup(n){const{theme:e}=P();return(t,s)=>r(e).nav?(a(),c("nav",Fs,[Os,(a(!0),c(M,null,E(r(e).nav,o=>(a(),c(M,{key:JSON.stringify(o)},["link"in o?(a(),k(Hs,{key:0,item:o},null,8,["item"])):"component"in o?(a(),k(D(o.component),q({key:1,ref_for:!0},o.props),null,16)):(a(),k(Es,{key:2,item:o},null,8,["item"]))],64))),128))])):f("",!0)}}),Gs=$(Us,[["__scopeId","data-v-dc692963"]]);function js(n){const{localeIndex:e,theme:t}=P();function s(o){var A,C,S;const i=o.split("."),u=(A=t.value.search)==null?void 0:A.options,h=u&&typeof u=="object",p=h&&((S=(C=u.locales)==null?void 0:C[e.value])==null?void 0:S.translations)||null,g=h&&u.translations||null;let L=p,b=g,V=n;const T=i.pop();for(const j of i){let z=null;const J=V==null?void 0:V[j];J&&(z=V=J);const se=b==null?void 0:b[j];se&&(z=b=se);const ae=L==null?void 0:L[j];ae&&(z=L=ae),J||(V=z),se||(b=z),ae||(L=z)}return(L==null?void 0:L[T])??(b==null?void 0:b[T])??(V==null?void 0:V[T])??""}return s}const zs=["aria-label"],qs={class:"DocSearch-Button-Container"},Ks=v("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1),Ws={class:"DocSearch-Button-Placeholder"},Rs=v("span",{class:"DocSearch-Button-Keys"},[v("kbd",{class:"DocSearch-Button-Key"}),v("kbd",{class:"DocSearch-Button-Key"},"K")],-1),Pe=_({__name:"VPNavBarSearchButton",setup(n){const t=js({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(s,o)=>(a(),c("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":r(t)("button.buttonAriaLabel")},[v("span",qs,[Ks,v("span",Ws,w(r(t)("button.buttonText")),1)]),Rs],8,zs))}}),Js={class:"VPNavBarSearch"},Ys={id:"local-search"},Xs={key:1,id:"docsearch"},Qs=_({__name:"VPNavBarSearch",setup(n){const e=Ye(()=>Xe(()=>import("./VPLocalSearchBox.B0iG0UrU.js"),__vite__mapDeps([0,1]))),t=()=>null,{theme:s}=P(),o=I(!1),i=I(!1);W(()=>{});function u(){o.value||(o.value=!0,setTimeout(h,16))}function h(){const b=new Event("keydown");b.key="k",b.metaKey=!0,window.dispatchEvent(b),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||h()},16)}function p(b){const V=b.target,T=V.tagName;return V.isContentEditable||T==="INPUT"||T==="SELECT"||T==="TEXTAREA"}const g=I(!1);le("k",b=>{(b.ctrlKey||b.metaKey)&&(b.preventDefault(),g.value=!0)}),le("/",b=>{p(b)||(b.preventDefault(),g.value=!0)});const L="local";return(b,V)=>{var T;return a(),c("div",Js,[r(L)==="local"?(a(),c(M,{key:0},[g.value?(a(),k(r(e),{key:0,onClose:V[0]||(V[0]=A=>g.value=!1)})):f("",!0),v("div",Ys,[m(Pe,{onClick:V[1]||(V[1]=A=>g.value=!0)})])],64)):r(L)==="algolia"?(a(),c(M,{key:1},[o.value?(a(),k(r(t),{key:0,algolia:((T=r(s).search)==null?void 0:T.options)??r(s).algolia,onVnodeBeforeMount:V[2]||(V[2]=A=>i.value=!0)},null,8,["algolia"])):f("",!0),i.value?f("",!0):(a(),c("div",Xs,[m(Pe,{onClick:u})]))],64)):f("",!0)])}}}),Zs=_({__name:"VPNavBarSocialLinks",setup(n){const{theme:e}=P();return(t,s)=>r(e).socialLinks?(a(),k(ye,{key:0,class:"VPNavBarSocialLinks",links:r(e).socialLinks},null,8,["links"])):f("",!0)}}),xs=$(Zs,[["__scopeId","data-v-0394ad82"]]),ea=["href","rel","target"],ta={key:1},na={key:2},oa=_({__name:"VPNavBarTitle",setup(n){const{site:e,theme:t}=P(),{hasSidebar:s}=G(),{currentLang:o}=Y(),i=y(()=>{var p;return typeof t.value.logoLink=="string"?t.value.logoLink:(p=t.value.logoLink)==null?void 0:p.link}),u=y(()=>{var p;return typeof t.value.logoLink=="string"||(p=t.value.logoLink)==null?void 0:p.rel}),h=y(()=>{var p;return typeof t.value.logoLink=="string"||(p=t.value.logoLink)==null?void 0:p.target});return(p,g)=>(a(),c("div",{class:N(["VPNavBarTitle",{"has-sidebar":r(s)}])},[v("a",{class:"title",href:i.value??r(me)(r(o).link),rel:u.value,target:h.value},[l(p.$slots,"nav-bar-title-before",{},void 0,!0),r(t).logo?(a(),k(Q,{key:0,class:"logo",image:r(t).logo},null,8,["image"])):f("",!0),r(t).siteTitle?(a(),c("span",ta,w(r(t).siteTitle),1)):r(t).siteTitle===void 0?(a(),c("span",na,w(r(e).title),1)):f("",!0),l(p.$slots,"nav-bar-title-after",{},void 0,!0)],8,ea)],2))}}),sa=$(oa,[["__scopeId","data-v-ab179fa1"]]),aa={class:"items"},ra={class:"title"},ia=_({__name:"VPNavBarTranslations",setup(n){const{theme:e}=P(),{localeLinks:t,currentLang:s}=Y({correspondingLink:!0});return(o,i)=>r(t).length&&r(s).label?(a(),k(ge,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:r(e).langMenuLabel||"Change language"},{default:d(()=>[v("div",aa,[v("p",ra,w(r(s).label),1),(a(!0),c(M,null,E(r(t),u=>(a(),k(oe,{key:u.link,item:u},null,8,["item"]))),128))])]),_:1},8,["label"])):f("",!0)}}),la=$(ia,[["__scopeId","data-v-88af2de4"]]),ca=n=>(B("data-v-6aa21345"),n=n(),H(),n),ua={class:"wrapper"},da={class:"container"},va={class:"title"},pa={class:"content"},ha={class:"content-body"},fa=ca(()=>v("div",{class:"divider"},[v("div",{class:"divider-line"})],-1)),_a=_({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(n){const e=n,{y:t}=Ie(),{hasSidebar:s}=G(),{frontmatter:o}=P(),i=I({});return fe(()=>{i.value={"has-sidebar":s.value,home:o.value.layout==="home",top:t.value===0,"screen-open":e.isScreenOpen}}),(u,h)=>(a(),c("div",{class:N(["VPNavBar",i.value])},[v("div",ua,[v("div",da,[v("div",va,[m(sa,null,{"nav-bar-title-before":d(()=>[l(u.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":d(()=>[l(u.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),v("div",pa,[v("div",ha,[l(u.$slots,"nav-bar-content-before",{},void 0,!0),m(Qs,{class:"search"}),m(Gs,{class:"menu"}),m(la,{class:"translations"}),m(qo,{class:"appearance"}),m(xs,{class:"social-links"}),m(Ss,{class:"extra"}),l(u.$slots,"nav-bar-content-after",{},void 0,!0),m(As,{class:"hamburger",active:u.isScreenOpen,onClick:h[0]||(h[0]=p=>u.$emit("toggle-screen"))},null,8,["active"])])])])]),fa],2))}}),ma=$(_a,[["__scopeId","data-v-6aa21345"]]),ka={key:0,class:"VPNavScreenAppearance"},ba={class:"text"},$a=_({__name:"VPNavScreenAppearance",setup(n){const{site:e,theme:t}=P();return(s,o)=>r(e).appearance&&r(e).appearance!=="force-dark"&&r(e).appearance!=="force-auto"?(a(),c("div",ka,[v("p",ba,w(r(t).darkModeSwitchLabel||"Appearance"),1),m(be)])):f("",!0)}}),ga=$($a,[["__scopeId","data-v-b44890b2"]]),ya=_({__name:"VPNavScreenMenuLink",props:{item:{}},setup(n){const e=te("close-screen");return(t,s)=>(a(),k(F,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:r(e),innerHTML:t.item.text},null,8,["href","target","rel","onClick","innerHTML"]))}}),Pa=$(ya,[["__scopeId","data-v-7f31e1f6"]]),Va=_({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(n){const e=te("close-screen");return(t,s)=>(a(),k(F,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:r(e)},{default:d(()=>[O(w(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),Fe=$(Va,[["__scopeId","data-v-19976ae1"]]),La={class:"VPNavScreenMenuGroupSection"},Sa={key:0,class:"title"},Ta=_({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(n){return(e,t)=>(a(),c("div",La,[e.text?(a(),c("p",Sa,w(e.text),1)):f("",!0),(a(!0),c(M,null,E(e.items,s=>(a(),k(Fe,{key:s.text,item:s},null,8,["item"]))),128))]))}}),wa=$(Ta,[["__scopeId","data-v-8133b170"]]),Ia=n=>(B("data-v-b9ab8c58"),n=n(),H(),n),Na=["aria-controls","aria-expanded"],Ma=["innerHTML"],Aa=Ia(()=>v("span",{class:"vpi-plus button-icon"},null,-1)),Ca=["id"],Ba={key:0,class:"item"},Ha={key:1,class:"item"},Ea={key:2,class:"group"},Da=_({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(n){const e=n,t=I(!1),s=y(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function o(){t.value=!t.value}return(i,u)=>(a(),c("div",{class:N(["VPNavScreenMenuGroup",{open:t.value}])},[v("button",{class:"button","aria-controls":s.value,"aria-expanded":t.value,onClick:o},[v("span",{class:"button-text",innerHTML:i.text},null,8,Ma),Aa],8,Na),v("div",{id:s.value,class:"items"},[(a(!0),c(M,null,E(i.items,h=>(a(),c(M,{key:JSON.stringify(h)},["link"in h?(a(),c("div",Ba,[m(Fe,{item:h},null,8,["item"])])):"component"in h?(a(),c("div",Ha,[(a(),k(D(h.component),q({ref_for:!0},h.props,{"screen-menu":""}),null,16))])):(a(),c("div",Ea,[m(wa,{text:h.text,items:h.items},null,8,["text","items"])]))],64))),128))],8,Ca)],2))}}),Fa=$(Da,[["__scopeId","data-v-b9ab8c58"]]),Oa={key:0,class:"VPNavScreenMenu"},Ua=_({__name:"VPNavScreenMenu",setup(n){const{theme:e}=P();return(t,s)=>r(e).nav?(a(),c("nav",Oa,[(a(!0),c(M,null,E(r(e).nav,o=>(a(),c(M,{key:JSON.stringify(o)},["link"in o?(a(),k(Pa,{key:0,item:o},null,8,["item"])):"component"in o?(a(),k(D(o.component),q({key:1,ref_for:!0},o.props,{"screen-menu":""}),null,16)):(a(),k(Fa,{key:2,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):f("",!0)}}),Ga=_({__name:"VPNavScreenSocialLinks",setup(n){const{theme:e}=P();return(t,s)=>r(e).socialLinks?(a(),k(ye,{key:0,class:"VPNavScreenSocialLinks",links:r(e).socialLinks},null,8,["links"])):f("",!0)}}),Oe=n=>(B("data-v-858fe1a4"),n=n(),H(),n),ja=Oe(()=>v("span",{class:"vpi-languages icon lang"},null,-1)),za=Oe(()=>v("span",{class:"vpi-chevron-down icon chevron"},null,-1)),qa={class:"list"},Ka=_({__name:"VPNavScreenTranslations",setup(n){const{localeLinks:e,currentLang:t}=Y({correspondingLink:!0}),s=I(!1);function o(){s.value=!s.value}return(i,u)=>r(e).length&&r(t).label?(a(),c("div",{key:0,class:N(["VPNavScreenTranslations",{open:s.value}])},[v("button",{class:"title",onClick:o},[ja,O(" "+w(r(t).label)+" ",1),za]),v("ul",qa,[(a(!0),c(M,null,E(r(e),h=>(a(),c("li",{key:h.link,class:"item"},[m(F,{class:"link",href:h.link},{default:d(()=>[O(w(h.text),1)]),_:2},1032,["href"])]))),128))])],2)):f("",!0)}}),Wa=$(Ka,[["__scopeId","data-v-858fe1a4"]]),Ra={class:"container"},Ja=_({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(n){const e=I(null),t=Ne(ne?document.body:null);return(s,o)=>(a(),k(ve,{name:"fade",onEnter:o[0]||(o[0]=i=>t.value=!0),onAfterLeave:o[1]||(o[1]=i=>t.value=!1)},{default:d(()=>[s.open?(a(),c("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e,id:"VPNavScreen"},[v("div",Ra,[l(s.$slots,"nav-screen-content-before",{},void 0,!0),m(Ua,{class:"menu"}),m(Wa,{class:"translations"}),m(ga,{class:"appearance"}),m(Ga,{class:"social-links"}),l(s.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):f("",!0)]),_:3}))}}),Ya=$(Ja,[["__scopeId","data-v-f2779853"]]),Xa={key:0,class:"VPNav"},Qa=_({__name:"VPNav",setup(n){const{isScreenOpen:e,closeScreen:t,toggleScreen:s}=Ao(),{frontmatter:o}=P(),i=y(()=>o.value.navbar!==!1);return _e("close-screen",t),Z(()=>{ne&&document.documentElement.classList.toggle("hide-nav",!i.value)}),(u,h)=>i.value?(a(),c("header",Xa,[m(ma,{"is-screen-open":r(e),onToggleScreen:r(s)},{"nav-bar-title-before":d(()=>[l(u.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":d(()=>[l(u.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":d(()=>[l(u.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":d(()=>[l(u.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),m(Ya,{open:r(e)},{"nav-screen-content-before":d(()=>[l(u.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":d(()=>[l(u.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):f("",!0)}}),Za=$(Qa,[["__scopeId","data-v-ae24b3ad"]]),Ue=n=>(B("data-v-b7550ba0"),n=n(),H(),n),xa=["role","tabindex"],er=Ue(()=>v("div",{class:"indicator"},null,-1)),tr=Ue(()=>v("span",{class:"vpi-chevron-right caret-icon"},null,-1)),nr=[tr],or={key:1,class:"items"},sr=_({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(n){const e=n,{collapsed:t,collapsible:s,isLink:o,isActiveLink:i,hasActiveLink:u,hasChildren:h,toggle:p}=gt(y(()=>e.item)),g=y(()=>h.value?"section":"div"),L=y(()=>o.value?"a":"div"),b=y(()=>h.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),V=y(()=>o.value?void 0:"button"),T=y(()=>[[`level-${e.depth}`],{collapsible:s.value},{collapsed:t.value},{"is-link":o.value},{"is-active":i.value},{"has-active":u.value}]);function A(S){"key"in S&&S.key!=="Enter"||!e.item.link&&p()}function C(){e.item.link&&p()}return(S,j)=>{const z=R("VPSidebarItem",!0);return a(),k(D(g.value),{class:N(["VPSidebarItem",T.value])},{default:d(()=>[S.item.text?(a(),c("div",q({key:0,class:"item",role:V.value},Ze(S.item.items?{click:A,keydown:A}:{},!0),{tabindex:S.item.items&&0}),[er,S.item.link?(a(),k(F,{key:0,tag:L.value,class:"link",href:S.item.link,rel:S.item.rel,target:S.item.target},{default:d(()=>[(a(),k(D(b.value),{class:"text",innerHTML:S.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(a(),k(D(b.value),{key:1,class:"text",innerHTML:S.item.text},null,8,["innerHTML"])),S.item.collapsed!=null&&S.item.items&&S.item.items.length?(a(),c("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:C,onKeydown:Qe(C,["enter"]),tabindex:"0"},nr,32)):f("",!0)],16,xa)):f("",!0),S.item.items&&S.item.items.length?(a(),c("div",or,[S.depth<5?(a(!0),c(M,{key:0},E(S.item.items,J=>(a(),k(z,{key:J.text,item:J,depth:S.depth+1},null,8,["item","depth"]))),128)):f("",!0)])):f("",!0)]),_:1},8,["class"])}}}),ar=$(sr,[["__scopeId","data-v-b7550ba0"]]),rr=_({__name:"VPSidebarGroup",props:{items:{}},setup(n){const e=I(!0);let t=null;return W(()=>{t=setTimeout(()=>{t=null,e.value=!1},300)}),xe(()=>{t!=null&&(clearTimeout(t),t=null)}),(s,o)=>(a(!0),c(M,null,E(s.items,i=>(a(),c("div",{key:i.text,class:N(["group",{"no-transition":e.value}])},[m(ar,{item:i,depth:0},null,8,["item"])],2))),128))}}),ir=$(rr,[["__scopeId","data-v-c40bc020"]]),Ge=n=>(B("data-v-319d5ca6"),n=n(),H(),n),lr=Ge(()=>v("div",{class:"curtain"},null,-1)),cr={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},ur=Ge(()=>v("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),dr=_({__name:"VPSidebar",props:{open:{type:Boolean}},setup(n){const{sidebarGroups:e,hasSidebar:t}=G(),s=n,o=I(null),i=Ne(ne?document.body:null);U([s,o],()=>{var h;s.open?(i.value=!0,(h=o.value)==null||h.focus()):i.value=!1},{immediate:!0,flush:"post"});const u=I(0);return U(e,()=>{u.value+=1},{deep:!0}),(h,p)=>r(t)?(a(),c("aside",{key:0,class:N(["VPSidebar",{open:h.open}]),ref_key:"navEl",ref:o,onClick:p[0]||(p[0]=et(()=>{},["stop"]))},[lr,v("nav",cr,[ur,l(h.$slots,"sidebar-nav-before",{},void 0,!0),(a(),k(ir,{items:r(e),key:u.value},null,8,["items"])),l(h.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):f("",!0)}}),vr=$(dr,[["__scopeId","data-v-319d5ca6"]]),pr=_({__name:"VPSkipLink",setup(n){const e=ee(),t=I();U(()=>e.path,()=>t.value.focus());function s({target:o}){const i=document.getElementById(decodeURIComponent(o.hash).slice(1));if(i){const u=()=>{i.removeAttribute("tabindex"),i.removeEventListener("blur",u)};i.setAttribute("tabindex","-1"),i.addEventListener("blur",u),i.focus(),window.scrollTo(0,0)}}return(o,i)=>(a(),c(M,null,[v("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),v("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:s}," Skip to content ")],64))}}),hr=$(pr,[["__scopeId","data-v-0f60ec36"]]),fr=_({__name:"Layout",setup(n){const{isOpen:e,open:t,close:s}=G(),o=ee();U(()=>o.path,s),$t(e,s);const{frontmatter:i}=P(),u=tt(),h=y(()=>!!u["home-hero-image"]);return _e("hero-image-slot-exists",h),(p,g)=>{const L=R("Content");return r(i).layout!==!1?(a(),c("div",{key:0,class:N(["Layout",r(i).pageClass])},[l(p.$slots,"layout-top",{},void 0,!0),m(hr),m(at,{class:"backdrop",show:r(e),onClick:r(s)},null,8,["show","onClick"]),m(Za,null,{"nav-bar-title-before":d(()=>[l(p.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":d(()=>[l(p.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":d(()=>[l(p.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":d(()=>[l(p.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":d(()=>[l(p.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":d(()=>[l(p.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),m(Mo,{open:r(e),onOpenMenu:r(t)},null,8,["open","onOpenMenu"]),m(vr,{open:r(e)},{"sidebar-nav-before":d(()=>[l(p.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":d(()=>[l(p.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),m(uo,null,{"page-top":d(()=>[l(p.$slots,"page-top",{},void 0,!0)]),"page-bottom":d(()=>[l(p.$slots,"page-bottom",{},void 0,!0)]),"not-found":d(()=>[l(p.$slots,"not-found",{},void 0,!0)]),"home-hero-before":d(()=>[l(p.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":d(()=>[l(p.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":d(()=>[l(p.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":d(()=>[l(p.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":d(()=>[l(p.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":d(()=>[l(p.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":d(()=>[l(p.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":d(()=>[l(p.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":d(()=>[l(p.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":d(()=>[l(p.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":d(()=>[l(p.$slots,"doc-before",{},void 0,!0)]),"doc-after":d(()=>[l(p.$slots,"doc-after",{},void 0,!0)]),"doc-top":d(()=>[l(p.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":d(()=>[l(p.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":d(()=>[l(p.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":d(()=>[l(p.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":d(()=>[l(p.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":d(()=>[l(p.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":d(()=>[l(p.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":d(()=>[l(p.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),m(_o),l(p.$slots,"layout-bottom",{},void 0,!0)],2)):(a(),k(L,{key:1}))}}}),_r=$(fr,[["__scopeId","data-v-5d98c3a5"]]),je={Layout:_r,enhanceApp:({app:n})=>{n.component("Badge",nt)}},mr=_({__name:"layout",setup(n){const{isDark:e}=Ve(),t=()=>"startViewTransition"in document&&window.matchMedia("(prefers-reduced-motion: no-preference)").matches;return _e("toggle-appearance",async({clientX:s,clientY:o})=>{if(!t()){e.value=!e.value;return}const i=[`circle(0px at ${s}px ${o}px)`,`circle(${Math.hypot(Math.max(s,innerWidth-s),Math.max(o,innerHeight-o))}px at ${s}px ${o}px)`];await document.startViewTransition(async()=>{e.value=!e.value,await we()}).ready,document.documentElement.animate({clipPath:e.value?i.reverse():i},{duration:300,easing:"ease-in",pseudoElement:`::view-transition-${e.value?"old":"new"}(root)`})}),(s,o)=>(a(),k(r(je).Layout))}}),br={extends:je,Layout:mr,enhanceApp(){try{const n=["en-US","zh-CN"];let e=navigator.language;n.includes(e)||(e=n[0]),/\/PSCompletions\/?$/.test(location.pathname)&&(location.href+=e)}catch{}}};export{br as R,js as c,P as u}; +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/VPLocalSearchBox.2xWSu_6i.js","assets/chunks/framework.B_akP0Gx.js"])))=>i.map(i=>d[i]); +import{d as _,o as a,c,r as l,n as N,a as O,t as w,b as k,w as d,e as f,T as ve,_ as $,u as Ve,i as ze,f as qe,g as pe,h as y,j as v,k as r,p as B,l as H,m as K,q as ie,s as I,v as U,x as Z,y as W,z as he,A as fe,B as Ke,C as We,D as R,F as M,E,G as Le,H as x,I as m,J as D,K as Se,L as ee,M as q,N as te,O as Re,P as Te,Q as le,R as we,S as Ie,U as ne,V as Je,W as Ye,X as Xe,Y as Ne,Z as _e,$ as Qe,a0 as Ze,a1 as xe,a2 as et,a3 as tt}from"./framework.B_akP0Gx.js";const nt=_({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(n){return(e,t)=>(a(),c("span",{class:N(["VPBadge",e.type])},[l(e.$slots,"default",{},()=>[O(w(e.text),1)])],2))}}),ot={key:0,class:"VPBackdrop"},st=_({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(n){return(e,t)=>(a(),k(ve,{name:"fade"},{default:d(()=>[e.show?(a(),c("div",ot)):f("",!0)]),_:1}))}}),at=$(st,[["__scopeId","data-v-c79a1216"]]),P=Ve;function rt(n,e){let t,s=!1;return()=>{t&&clearTimeout(t),s?t=setTimeout(n,e):(n(),(s=!0)&&setTimeout(()=>s=!1,e))}}function ce(n){return/^\//.test(n)?n:`/${n}`}function me(n){const{pathname:e,search:t,hash:s,protocol:o}=new URL(n,"http://a.com");if(ze(n)||n.startsWith("#")||!o.startsWith("http")||!qe(e))return n;const{site:i}=P(),u=e.endsWith("/")||e.endsWith(".html")?n:n.replace(/(?:(^\.+)\/)?.*$/,`$1${e.replace(/(\.md)?$/,i.value.cleanUrls?"":".html")}${t}${s}`);return pe(u)}function Y({correspondingLink:n=!1}={}){const{site:e,localeIndex:t,page:s,theme:o,hash:i}=P(),u=y(()=>{var p,g;return{label:(p=e.value.locales[t.value])==null?void 0:p.label,link:((g=e.value.locales[t.value])==null?void 0:g.link)||(t.value==="root"?"/":`/${t.value}/`)}});return{localeLinks:y(()=>Object.entries(e.value.locales).flatMap(([p,g])=>u.value.label===g.label?[]:{text:g.label,link:it(g.link||(p==="root"?"/":`/${p}/`),o.value.i18nRouting!==!1&&n,s.value.relativePath.slice(u.value.link.length-1),!e.value.cleanUrls)+i.value})),currentLang:u}}function it(n,e,t,s){return e?n.replace(/\/$/,"")+ce(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,s?".html":"")):n}const lt=n=>(B("data-v-d6be1790"),n=n(),H(),n),ct={class:"NotFound"},ut={class:"code"},dt={class:"title"},vt=lt(()=>v("div",{class:"divider"},null,-1)),pt={class:"quote"},ht={class:"action"},ft=["href","aria-label"],_t=_({__name:"NotFound",setup(n){const{theme:e}=P(),{currentLang:t}=Y();return(s,o)=>{var i,u,h,p,g;return a(),c("div",ct,[v("p",ut,w(((i=r(e).notFound)==null?void 0:i.code)??"404"),1),v("h1",dt,w(((u=r(e).notFound)==null?void 0:u.title)??"PAGE NOT FOUND"),1),vt,v("blockquote",pt,w(((h=r(e).notFound)==null?void 0:h.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),v("div",ht,[v("a",{class:"link",href:r(pe)(r(t).link),"aria-label":((p=r(e).notFound)==null?void 0:p.linkLabel)??"go to home"},w(((g=r(e).notFound)==null?void 0:g.linkText)??"Take me home"),9,ft)])])}}}),mt=$(_t,[["__scopeId","data-v-d6be1790"]]);function Me(n,e){if(Array.isArray(n))return X(n);if(n==null)return[];e=ce(e);const t=Object.keys(n).sort((o,i)=>i.split("/").length-o.split("/").length).find(o=>e.startsWith(ce(o))),s=t?n[t]:[];return Array.isArray(s)?X(s):X(s.items,s.base)}function kt(n){const e=[];let t=0;for(const s in n){const o=n[s];if(o.items){t=e.push(o);continue}e[t]||e.push({items:[]}),e[t].items.push(o)}return e}function bt(n){const e=[];function t(s){for(const o of s)o.text&&o.link&&e.push({text:o.text,link:o.link,docFooterText:o.docFooterText}),o.items&&t(o.items)}return t(n),e}function ue(n,e){return Array.isArray(e)?e.some(t=>ue(n,t)):K(n,e.link)?!0:e.items?ue(n,e.items):!1}function X(n,e){return[...n].map(t=>{const s={...t},o=s.base||e;return o&&s.link&&(s.link=o+s.link),s.items&&(s.items=X(s.items,o)),s})}function G(){const{frontmatter:n,page:e,theme:t}=P(),s=ie("(min-width: 960px)"),o=I(!1),i=y(()=>{const C=t.value.sidebar,S=e.value.relativePath;return C?Me(C,S):[]}),u=I(i.value);U(i,(C,S)=>{JSON.stringify(C)!==JSON.stringify(S)&&(u.value=i.value)});const h=y(()=>n.value.sidebar!==!1&&u.value.length>0&&n.value.layout!=="home"),p=y(()=>g?n.value.aside==null?t.value.aside==="left":n.value.aside==="left":!1),g=y(()=>n.value.layout==="home"?!1:n.value.aside!=null?!!n.value.aside:t.value.aside!==!1),L=y(()=>h.value&&s.value),b=y(()=>h.value?kt(u.value):[]);function V(){o.value=!0}function T(){o.value=!1}function A(){o.value?T():V()}return{isOpen:o,sidebar:u,sidebarGroups:b,hasSidebar:h,hasAside:g,leftAside:p,isSidebarEnabled:L,open:V,close:T,toggle:A}}function $t(n,e){let t;Z(()=>{t=n.value?document.activeElement:void 0}),W(()=>{window.addEventListener("keyup",s)}),he(()=>{window.removeEventListener("keyup",s)});function s(o){o.key==="Escape"&&n.value&&(e(),t==null||t.focus())}}function gt(n){const{page:e,hash:t}=P(),s=I(!1),o=y(()=>n.value.collapsed!=null),i=y(()=>!!n.value.link),u=I(!1),h=()=>{u.value=K(e.value.relativePath,n.value.link)};U([e,n,t],h),W(h);const p=y(()=>u.value?!0:n.value.items?ue(e.value.relativePath,n.value.items):!1),g=y(()=>!!(n.value.items&&n.value.items.length));Z(()=>{s.value=!!(o.value&&n.value.collapsed)}),fe(()=>{(u.value||p.value)&&(s.value=!1)});function L(){o.value&&(s.value=!s.value)}return{collapsed:s,collapsible:o,isLink:i,isActiveLink:u,hasActiveLink:p,hasChildren:g,toggle:L}}function yt(){const{hasSidebar:n}=G(),e=ie("(min-width: 960px)"),t=ie("(min-width: 1280px)");return{isAsideEnabled:y(()=>!t.value&&!e.value?!1:n.value?t.value:e.value)}}const de=[];function Ae(n){return typeof n.outline=="object"&&!Array.isArray(n.outline)&&n.outline.label||n.outlineTitle||"On this page"}function ke(n){const e=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const s=Number(t.tagName[1]);return{element:t,title:Pt(t),link:"#"+t.id,level:s}});return Vt(e,n)}function Pt(n){let e="";for(const t of n.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor")||t.classList.contains("ignore-header"))continue;e+=t.textContent}else t.nodeType===3&&(e+=t.textContent);return e.trim()}function Vt(n,e){if(e===!1)return[];const t=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[s,o]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;n=n.filter(u=>u.level>=s&&u.level<=o),de.length=0;for(const{element:u,link:h}of n)de.push({element:u,link:h});const i=[];e:for(let u=0;u=0;p--){const g=n[p];if(g.level{requestAnimationFrame(i),window.addEventListener("scroll",s)}),Ke(()=>{u(location.hash)}),he(()=>{window.removeEventListener("scroll",s)});function i(){if(!t.value)return;const h=window.scrollY,p=window.innerHeight,g=document.body.offsetHeight,L=Math.abs(h+p-g)<1,b=de.map(({element:T,link:A})=>({link:A,top:St(T)})).filter(({top:T})=>!Number.isNaN(T)).sort((T,A)=>T.top-A.top);if(!b.length){u(null);return}if(h<1){u(null);return}if(L){u(b[b.length-1].link);return}let V=null;for(const{link:T,top:A}of b){if(A>h+We()+4)break;V=T}u(V)}function u(h){o&&o.classList.remove("active"),h==null?o=null:o=n.value.querySelector(`a[href="${decodeURIComponent(h)}"]`);const p=o;p?(p.classList.add("active"),e.value.style.top=p.offsetTop+39+"px",e.value.style.opacity="1"):(e.value.style.top="33px",e.value.style.opacity="0")}}function St(n){let e=0;for(;n!==document.body;){if(n===null)return NaN;e+=n.offsetTop,n=n.offsetParent}return e}const Tt=["href","title"],wt=_({__name:"VPDocOutlineItem",props:{headers:{},root:{type:Boolean}},setup(n){function e({target:t}){const s=t.href.split("#")[1],o=document.getElementById(decodeURIComponent(s));o==null||o.focus({preventScroll:!0})}return(t,s)=>{const o=R("VPDocOutlineItem",!0);return a(),c("ul",{class:N(["VPDocOutlineItem",t.root?"root":"nested"])},[(a(!0),c(M,null,E(t.headers,({children:i,link:u,title:h})=>(a(),c("li",null,[v("a",{class:"outline-link",href:u,onClick:e,title:h},w(h),9,Tt),i!=null&&i.length?(a(),k(o,{key:0,headers:i},null,8,["headers"])):f("",!0)]))),256))],2)}}}),Ce=$(wt,[["__scopeId","data-v-b933a997"]]),It={class:"content"},Nt={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},Mt=_({__name:"VPDocAsideOutline",setup(n){const{frontmatter:e,theme:t}=P(),s=Le([]);x(()=>{s.value=ke(e.value.outline??t.value.outline)});const o=I(),i=I();return Lt(o,i),(u,h)=>(a(),c("nav",{"aria-labelledby":"doc-outline-aria-label",class:N(["VPDocAsideOutline",{"has-outline":s.value.length>0}]),ref_key:"container",ref:o},[v("div",It,[v("div",{class:"outline-marker",ref_key:"marker",ref:i},null,512),v("div",Nt,w(r(Ae)(r(t))),1),m(Ce,{headers:s.value,root:!0},null,8,["headers"])])],2))}}),At=$(Mt,[["__scopeId","data-v-a5bbad30"]]),Ct={class:"VPDocAsideCarbonAds"},Bt=_({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(n){const e=()=>null;return(t,s)=>(a(),c("div",Ct,[m(r(e),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),Ht=n=>(B("data-v-3f215769"),n=n(),H(),n),Et={class:"VPDocAside"},Dt=Ht(()=>v("div",{class:"spacer"},null,-1)),Ft=_({__name:"VPDocAside",setup(n){const{theme:e}=P();return(t,s)=>(a(),c("div",Et,[l(t.$slots,"aside-top",{},void 0,!0),l(t.$slots,"aside-outline-before",{},void 0,!0),m(At),l(t.$slots,"aside-outline-after",{},void 0,!0),Dt,l(t.$slots,"aside-ads-before",{},void 0,!0),r(e).carbonAds?(a(),k(Bt,{key:0,"carbon-ads":r(e).carbonAds},null,8,["carbon-ads"])):f("",!0),l(t.$slots,"aside-ads-after",{},void 0,!0),l(t.$slots,"aside-bottom",{},void 0,!0)]))}}),Ot=$(Ft,[["__scopeId","data-v-3f215769"]]);function Ut(){const{theme:n,page:e}=P();return y(()=>{const{text:t="Edit this page",pattern:s=""}=n.value.editLink||{};let o;return typeof s=="function"?o=s(e.value):o=s.replace(/:path/g,e.value.filePath),{url:o,text:t}})}function Gt(){const{page:n,theme:e,frontmatter:t}=P();return y(()=>{var g,L,b,V,T,A,C,S;const s=Me(e.value.sidebar,n.value.relativePath),o=bt(s),i=jt(o,j=>j.link.replace(/[?#].*$/,"")),u=i.findIndex(j=>K(n.value.relativePath,j.link)),h=((g=e.value.docFooter)==null?void 0:g.prev)===!1&&!t.value.prev||t.value.prev===!1,p=((L=e.value.docFooter)==null?void 0:L.next)===!1&&!t.value.next||t.value.next===!1;return{prev:h?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((b=i[u-1])==null?void 0:b.docFooterText)??((V=i[u-1])==null?void 0:V.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((T=i[u-1])==null?void 0:T.link)},next:p?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((A=i[u+1])==null?void 0:A.docFooterText)??((C=i[u+1])==null?void 0:C.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((S=i[u+1])==null?void 0:S.link)}}})}function jt(n,e){const t=new Set;return n.filter(s=>{const o=e(s);return t.has(o)?!1:t.add(o)})}const F=_({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(n){const e=n,t=y(()=>e.tag??(e.href?"a":"span")),s=y(()=>e.href&&Se.test(e.href)||e.target==="_blank");return(o,i)=>(a(),k(D(t.value),{class:N(["VPLink",{link:o.href,"vp-external-link-icon":s.value,"no-icon":o.noIcon}]),href:o.href?r(me)(o.href):void 0,target:o.target??(s.value?"_blank":void 0),rel:o.rel??(s.value?"noreferrer":void 0)},{default:d(()=>[l(o.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),zt={class:"VPLastUpdated"},qt=["datetime"],Kt=_({__name:"VPDocFooterLastUpdated",setup(n){const{theme:e,page:t,lang:s}=P(),o=y(()=>new Date(t.value.lastUpdated)),i=y(()=>o.value.toISOString()),u=I("");return W(()=>{Z(()=>{var h,p,g;u.value=new Intl.DateTimeFormat((p=(h=e.value.lastUpdated)==null?void 0:h.formatOptions)!=null&&p.forceLocale?s.value:void 0,((g=e.value.lastUpdated)==null?void 0:g.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(o.value)})}),(h,p)=>{var g;return a(),c("p",zt,[O(w(((g=r(e).lastUpdated)==null?void 0:g.text)||r(e).lastUpdatedText||"Last updated")+": ",1),v("time",{datetime:i.value},w(u.value),9,qt)])}}}),Wt=$(Kt,[["__scopeId","data-v-e98dd255"]]),Be=n=>(B("data-v-e257564d"),n=n(),H(),n),Rt={key:0,class:"VPDocFooter"},Jt={key:0,class:"edit-info"},Yt={key:0,class:"edit-link"},Xt=Be(()=>v("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),Qt={key:1,class:"last-updated"},Zt={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},xt=Be(()=>v("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),en={class:"pager"},tn=["innerHTML"],nn=["innerHTML"],on={class:"pager"},sn=["innerHTML"],an=["innerHTML"],rn=_({__name:"VPDocFooter",setup(n){const{theme:e,page:t,frontmatter:s}=P(),o=Ut(),i=Gt(),u=y(()=>e.value.editLink&&s.value.editLink!==!1),h=y(()=>t.value.lastUpdated),p=y(()=>u.value||h.value||i.value.prev||i.value.next);return(g,L)=>{var b,V,T,A;return p.value?(a(),c("footer",Rt,[l(g.$slots,"doc-footer-before",{},void 0,!0),u.value||h.value?(a(),c("div",Jt,[u.value?(a(),c("div",Yt,[m(F,{class:"edit-link-button",href:r(o).url,"no-icon":!0},{default:d(()=>[Xt,O(" "+w(r(o).text),1)]),_:1},8,["href"])])):f("",!0),h.value?(a(),c("div",Qt,[m(Wt)])):f("",!0)])):f("",!0),(b=r(i).prev)!=null&&b.link||(V=r(i).next)!=null&&V.link?(a(),c("nav",Zt,[xt,v("div",en,[(T=r(i).prev)!=null&&T.link?(a(),k(F,{key:0,class:"pager-link prev",href:r(i).prev.link},{default:d(()=>{var C;return[v("span",{class:"desc",innerHTML:((C=r(e).docFooter)==null?void 0:C.prev)||"Previous page"},null,8,tn),v("span",{class:"title",innerHTML:r(i).prev.text},null,8,nn)]}),_:1},8,["href"])):f("",!0)]),v("div",on,[(A=r(i).next)!=null&&A.link?(a(),k(F,{key:0,class:"pager-link next",href:r(i).next.link},{default:d(()=>{var C;return[v("span",{class:"desc",innerHTML:((C=r(e).docFooter)==null?void 0:C.next)||"Next page"},null,8,sn),v("span",{class:"title",innerHTML:r(i).next.text},null,8,an)]}),_:1},8,["href"])):f("",!0)])])):f("",!0)])):f("",!0)}}}),ln=$(rn,[["__scopeId","data-v-e257564d"]]),cn=n=>(B("data-v-39a288b8"),n=n(),H(),n),un={class:"container"},dn=cn(()=>v("div",{class:"aside-curtain"},null,-1)),vn={class:"aside-container"},pn={class:"aside-content"},hn={class:"content"},fn={class:"content-container"},_n={class:"main"},mn=_({__name:"VPDoc",setup(n){const{theme:e}=P(),t=ee(),{hasSidebar:s,hasAside:o,leftAside:i}=G(),u=y(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(h,p)=>{const g=R("Content");return a(),c("div",{class:N(["VPDoc",{"has-sidebar":r(s),"has-aside":r(o)}])},[l(h.$slots,"doc-top",{},void 0,!0),v("div",un,[r(o)?(a(),c("div",{key:0,class:N(["aside",{"left-aside":r(i)}])},[dn,v("div",vn,[v("div",pn,[m(Ot,null,{"aside-top":d(()=>[l(h.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":d(()=>[l(h.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":d(()=>[l(h.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":d(()=>[l(h.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":d(()=>[l(h.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":d(()=>[l(h.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):f("",!0),v("div",hn,[v("div",fn,[l(h.$slots,"doc-before",{},void 0,!0),v("main",_n,[m(g,{class:N(["vp-doc",[u.value,r(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),m(ln,null,{"doc-footer-before":d(()=>[l(h.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),l(h.$slots,"doc-after",{},void 0,!0)])])]),l(h.$slots,"doc-bottom",{},void 0,!0)],2)}}}),kn=$(mn,[["__scopeId","data-v-39a288b8"]]),bn=_({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(n){const e=n,t=y(()=>e.href&&Se.test(e.href)),s=y(()=>e.tag||e.href?"a":"button");return(o,i)=>(a(),k(D(s.value),{class:N(["VPButton",[o.size,o.theme]]),href:o.href?r(me)(o.href):void 0,target:e.target??(t.value?"_blank":void 0),rel:e.rel??(t.value?"noreferrer":void 0)},{default:d(()=>[O(w(o.text),1)]),_:1},8,["class","href","target","rel"]))}}),$n=$(bn,[["__scopeId","data-v-cad61b99"]]),gn=["src","alt"],yn=_({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(n){return(e,t)=>{const s=R("VPImage",!0);return e.image?(a(),c(M,{key:0},[typeof e.image=="string"||"src"in e.image?(a(),c("img",q({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:r(pe)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,gn)):(a(),c(M,{key:1},[m(s,q({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),m(s,q({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):f("",!0)}}}),Q=$(yn,[["__scopeId","data-v-8426fc1a"]]),Pn=n=>(B("data-v-303bb580"),n=n(),H(),n),Vn={class:"container"},Ln={class:"main"},Sn={key:0,class:"name"},Tn=["innerHTML"],wn=["innerHTML"],In=["innerHTML"],Nn={key:0,class:"actions"},Mn={key:0,class:"image"},An={class:"image-container"},Cn=Pn(()=>v("div",{class:"image-bg"},null,-1)),Bn=_({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(n){const e=te("hero-image-slot-exists");return(t,s)=>(a(),c("div",{class:N(["VPHero",{"has-image":t.image||r(e)}])},[v("div",Vn,[v("div",Ln,[l(t.$slots,"home-hero-info-before",{},void 0,!0),l(t.$slots,"home-hero-info",{},()=>[t.name?(a(),c("h1",Sn,[v("span",{innerHTML:t.name,class:"clip"},null,8,Tn)])):f("",!0),t.text?(a(),c("p",{key:1,innerHTML:t.text,class:"text"},null,8,wn)):f("",!0),t.tagline?(a(),c("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,In)):f("",!0)],!0),l(t.$slots,"home-hero-info-after",{},void 0,!0),t.actions?(a(),c("div",Nn,[(a(!0),c(M,null,E(t.actions,o=>(a(),c("div",{key:o.link,class:"action"},[m($n,{tag:"a",size:"medium",theme:o.theme,text:o.text,href:o.link,target:o.target,rel:o.rel},null,8,["theme","text","href","target","rel"])]))),128))])):f("",!0),l(t.$slots,"home-hero-actions-after",{},void 0,!0)]),t.image||r(e)?(a(),c("div",Mn,[v("div",An,[Cn,l(t.$slots,"home-hero-image",{},()=>[t.image?(a(),k(Q,{key:0,class:"image-src",image:t.image},null,8,["image"])):f("",!0)],!0)])])):f("",!0)])],2))}}),Hn=$(Bn,[["__scopeId","data-v-303bb580"]]),En=_({__name:"VPHomeHero",setup(n){const{frontmatter:e}=P();return(t,s)=>r(e).hero?(a(),k(Hn,{key:0,class:"VPHomeHero",name:r(e).hero.name,text:r(e).hero.text,tagline:r(e).hero.tagline,image:r(e).hero.image,actions:r(e).hero.actions},{"home-hero-info-before":d(()=>[l(t.$slots,"home-hero-info-before")]),"home-hero-info":d(()=>[l(t.$slots,"home-hero-info")]),"home-hero-info-after":d(()=>[l(t.$slots,"home-hero-info-after")]),"home-hero-actions-after":d(()=>[l(t.$slots,"home-hero-actions-after")]),"home-hero-image":d(()=>[l(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):f("",!0)}}),Dn=n=>(B("data-v-a3976bdc"),n=n(),H(),n),Fn={class:"box"},On={key:0,class:"icon"},Un=["innerHTML"],Gn=["innerHTML"],jn=["innerHTML"],zn={key:4,class:"link-text"},qn={class:"link-text-value"},Kn=Dn(()=>v("span",{class:"vpi-arrow-right link-text-icon"},null,-1)),Wn=_({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(n){return(e,t)=>(a(),k(F,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:d(()=>[v("article",Fn,[typeof e.icon=="object"&&e.icon.wrap?(a(),c("div",On,[m(Q,{image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])])):typeof e.icon=="object"?(a(),k(Q,{key:1,image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])):e.icon?(a(),c("div",{key:2,class:"icon",innerHTML:e.icon},null,8,Un)):f("",!0),v("h2",{class:"title",innerHTML:e.title},null,8,Gn),e.details?(a(),c("p",{key:3,class:"details",innerHTML:e.details},null,8,jn)):f("",!0),e.linkText?(a(),c("div",zn,[v("p",qn,[O(w(e.linkText)+" ",1),Kn])])):f("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),Rn=$(Wn,[["__scopeId","data-v-a3976bdc"]]),Jn={key:0,class:"VPFeatures"},Yn={class:"container"},Xn={class:"items"},Qn=_({__name:"VPFeatures",props:{features:{}},setup(n){const e=n,t=y(()=>{const s=e.features.length;if(s){if(s===2)return"grid-2";if(s===3)return"grid-3";if(s%3===0)return"grid-6";if(s>3)return"grid-4"}else return});return(s,o)=>s.features?(a(),c("div",Jn,[v("div",Yn,[v("div",Xn,[(a(!0),c(M,null,E(s.features,i=>(a(),c("div",{key:i.title,class:N(["item",[t.value]])},[m(Rn,{icon:i.icon,title:i.title,details:i.details,link:i.link,"link-text":i.linkText,rel:i.rel,target:i.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):f("",!0)}}),Zn=$(Qn,[["__scopeId","data-v-a6181336"]]),xn=_({__name:"VPHomeFeatures",setup(n){const{frontmatter:e}=P();return(t,s)=>r(e).features?(a(),k(Zn,{key:0,class:"VPHomeFeatures",features:r(e).features},null,8,["features"])):f("",!0)}}),eo=_({__name:"VPHomeContent",setup(n){const{width:e}=Re({initialWidth:0,includeScrollbar:!1});return(t,s)=>(a(),c("div",{class:"vp-doc container",style:Te(r(e)?{"--vp-offset":`calc(50% - ${r(e)/2}px)`}:{})},[l(t.$slots,"default",{},void 0,!0)],4))}}),to=$(eo,[["__scopeId","data-v-8e2d4988"]]),no={class:"VPHome"},oo=_({__name:"VPHome",setup(n){const{frontmatter:e}=P();return(t,s)=>{const o=R("Content");return a(),c("div",no,[l(t.$slots,"home-hero-before",{},void 0,!0),m(En,null,{"home-hero-info-before":d(()=>[l(t.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":d(()=>[l(t.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":d(()=>[l(t.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":d(()=>[l(t.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":d(()=>[l(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),l(t.$slots,"home-hero-after",{},void 0,!0),l(t.$slots,"home-features-before",{},void 0,!0),m(xn),l(t.$slots,"home-features-after",{},void 0,!0),r(e).markdownStyles!==!1?(a(),k(to,{key:0},{default:d(()=>[m(o)]),_:1})):(a(),k(o,{key:1}))])}}}),so=$(oo,[["__scopeId","data-v-686f80a6"]]),ao={},ro={class:"VPPage"};function io(n,e){const t=R("Content");return a(),c("div",ro,[l(n.$slots,"page-top"),m(t),l(n.$slots,"page-bottom")])}const lo=$(ao,[["render",io]]),co=_({__name:"VPContent",setup(n){const{page:e,frontmatter:t}=P(),{hasSidebar:s}=G();return(o,i)=>(a(),c("div",{class:N(["VPContent",{"has-sidebar":r(s),"is-home":r(t).layout==="home"}]),id:"VPContent"},[r(e).isNotFound?l(o.$slots,"not-found",{key:0},()=>[m(mt)],!0):r(t).layout==="page"?(a(),k(lo,{key:1},{"page-top":d(()=>[l(o.$slots,"page-top",{},void 0,!0)]),"page-bottom":d(()=>[l(o.$slots,"page-bottom",{},void 0,!0)]),_:3})):r(t).layout==="home"?(a(),k(so,{key:2},{"home-hero-before":d(()=>[l(o.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":d(()=>[l(o.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":d(()=>[l(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":d(()=>[l(o.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":d(()=>[l(o.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":d(()=>[l(o.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":d(()=>[l(o.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":d(()=>[l(o.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":d(()=>[l(o.$slots,"home-features-after",{},void 0,!0)]),_:3})):r(t).layout&&r(t).layout!=="doc"?(a(),k(D(r(t).layout),{key:3})):(a(),k(kn,{key:4},{"doc-top":d(()=>[l(o.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":d(()=>[l(o.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":d(()=>[l(o.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":d(()=>[l(o.$slots,"doc-before",{},void 0,!0)]),"doc-after":d(()=>[l(o.$slots,"doc-after",{},void 0,!0)]),"aside-top":d(()=>[l(o.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":d(()=>[l(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":d(()=>[l(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":d(()=>[l(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":d(()=>[l(o.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":d(()=>[l(o.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),uo=$(co,[["__scopeId","data-v-1428d186"]]),vo={class:"container"},po=["innerHTML"],ho=["innerHTML"],fo=_({__name:"VPFooter",setup(n){const{theme:e,frontmatter:t}=P(),{hasSidebar:s}=G();return(o,i)=>r(e).footer&&r(t).footer!==!1?(a(),c("footer",{key:0,class:N(["VPFooter",{"has-sidebar":r(s)}])},[v("div",vo,[r(e).footer.message?(a(),c("p",{key:0,class:"message",innerHTML:r(e).footer.message},null,8,po)):f("",!0),r(e).footer.copyright?(a(),c("p",{key:1,class:"copyright",innerHTML:r(e).footer.copyright},null,8,ho)):f("",!0)])],2)):f("",!0)}}),_o=$(fo,[["__scopeId","data-v-e315a0ad"]]);function mo(){const{theme:n,frontmatter:e}=P(),t=Le([]),s=y(()=>t.value.length>0);return x(()=>{t.value=ke(e.value.outline??n.value.outline)}),{headers:t,hasLocalNav:s}}const ko=n=>(B("data-v-17a5e62e"),n=n(),H(),n),bo={class:"menu-text"},$o=ko(()=>v("span",{class:"vpi-chevron-right icon"},null,-1)),go={class:"header"},yo={class:"outline"},Po=_({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(n){const e=n,{theme:t}=P(),s=I(!1),o=I(0),i=I(),u=I();function h(b){var V;(V=i.value)!=null&&V.contains(b.target)||(s.value=!1)}U(s,b=>{if(b){document.addEventListener("click",h);return}document.removeEventListener("click",h)}),le("Escape",()=>{s.value=!1}),x(()=>{s.value=!1});function p(){s.value=!s.value,o.value=window.innerHeight+Math.min(window.scrollY-e.navHeight,0)}function g(b){b.target.classList.contains("outline-link")&&(u.value&&(u.value.style.transition="none"),we(()=>{s.value=!1}))}function L(){s.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(b,V)=>(a(),c("div",{class:"VPLocalNavOutlineDropdown",style:Te({"--vp-vh":o.value+"px"}),ref_key:"main",ref:i},[b.headers.length>0?(a(),c("button",{key:0,onClick:p,class:N({open:s.value})},[v("span",bo,w(r(Ae)(r(t))),1),$o],2)):(a(),c("button",{key:1,onClick:L},w(r(t).returnToTopLabel||"Return to top"),1)),m(ve,{name:"flyout"},{default:d(()=>[s.value?(a(),c("div",{key:0,ref_key:"items",ref:u,class:"items",onClick:g},[v("div",go,[v("a",{class:"top-link",href:"#",onClick:L},w(r(t).returnToTopLabel||"Return to top"),1)]),v("div",yo,[m(Ce,{headers:b.headers},null,8,["headers"])])],512)):f("",!0)]),_:1})],4))}}),Vo=$(Po,[["__scopeId","data-v-17a5e62e"]]),Lo=n=>(B("data-v-a6f0e41e"),n=n(),H(),n),So={class:"container"},To=["aria-expanded"],wo=Lo(()=>v("span",{class:"vpi-align-left menu-icon"},null,-1)),Io={class:"menu-text"},No=_({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(n){const{theme:e,frontmatter:t}=P(),{hasSidebar:s}=G(),{headers:o}=mo(),{y:i}=Ie(),u=I(0);W(()=>{u.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),x(()=>{o.value=ke(t.value.outline??e.value.outline)});const h=y(()=>o.value.length===0),p=y(()=>h.value&&!s.value),g=y(()=>({VPLocalNav:!0,"has-sidebar":s.value,empty:h.value,fixed:p.value}));return(L,b)=>r(t).layout!=="home"&&(!p.value||r(i)>=u.value)?(a(),c("div",{key:0,class:N(g.value)},[v("div",So,[r(s)?(a(),c("button",{key:0,class:"menu","aria-expanded":L.open,"aria-controls":"VPSidebarNav",onClick:b[0]||(b[0]=V=>L.$emit("open-menu"))},[wo,v("span",Io,w(r(e).sidebarMenuLabel||"Menu"),1)],8,To)):f("",!0),m(Vo,{headers:r(o),navHeight:u.value},null,8,["headers","navHeight"])])],2)):f("",!0)}}),Mo=$(No,[["__scopeId","data-v-a6f0e41e"]]);function Ao(){const n=I(!1);function e(){n.value=!0,window.addEventListener("resize",o)}function t(){n.value=!1,window.removeEventListener("resize",o)}function s(){n.value?t():e()}function o(){window.outerWidth>=768&&t()}const i=ee();return U(()=>i.path,t),{isScreenOpen:n,openScreen:e,closeScreen:t,toggleScreen:s}}const Co={},Bo={class:"VPSwitch",type:"button",role:"switch"},Ho={class:"check"},Eo={key:0,class:"icon"};function Do(n,e){return a(),c("button",Bo,[v("span",Ho,[n.$slots.default?(a(),c("span",Eo,[l(n.$slots,"default",{},void 0,!0)])):f("",!0)])])}const Fo=$(Co,[["render",Do],["__scopeId","data-v-1d5665e3"]]),He=n=>(B("data-v-5337faa4"),n=n(),H(),n),Oo=He(()=>v("span",{class:"vpi-sun sun"},null,-1)),Uo=He(()=>v("span",{class:"vpi-moon moon"},null,-1)),Go=_({__name:"VPSwitchAppearance",setup(n){const{isDark:e,theme:t}=P(),s=te("toggle-appearance",()=>{e.value=!e.value}),o=I("");return fe(()=>{o.value=e.value?t.value.lightModeSwitchTitle||"Switch to light theme":t.value.darkModeSwitchTitle||"Switch to dark theme"}),(i,u)=>(a(),k(Fo,{title:o.value,class:"VPSwitchAppearance","aria-checked":r(e),onClick:r(s)},{default:d(()=>[Oo,Uo]),_:1},8,["title","aria-checked","onClick"]))}}),be=$(Go,[["__scopeId","data-v-5337faa4"]]),jo={key:0,class:"VPNavBarAppearance"},zo=_({__name:"VPNavBarAppearance",setup(n){const{site:e}=P();return(t,s)=>r(e).appearance&&r(e).appearance!=="force-dark"&&r(e).appearance!=="force-auto"?(a(),c("div",jo,[m(be)])):f("",!0)}}),qo=$(zo,[["__scopeId","data-v-6c893767"]]),$e=I();let Ee=!1,re=0;function Ko(n){const e=I(!1);if(ne){!Ee&&Wo(),re++;const t=U($e,s=>{var o,i,u;s===n.el.value||(o=n.el.value)!=null&&o.contains(s)?(e.value=!0,(i=n.onFocus)==null||i.call(n)):(e.value=!1,(u=n.onBlur)==null||u.call(n))});he(()=>{t(),re--,re||Ro()})}return Je(e)}function Wo(){document.addEventListener("focusin",De),Ee=!0,$e.value=document.activeElement}function Ro(){document.removeEventListener("focusin",De)}function De(){$e.value=document.activeElement}const Jo={class:"VPMenuLink"},Yo=_({__name:"VPMenuLink",props:{item:{}},setup(n){const{page:e}=P();return(t,s)=>(a(),c("div",Jo,[m(F,{class:N({active:r(K)(r(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel},{default:d(()=>[O(w(t.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),oe=$(Yo,[["__scopeId","data-v-43f1e123"]]),Xo={class:"VPMenuGroup"},Qo={key:0,class:"title"},Zo=_({__name:"VPMenuGroup",props:{text:{},items:{}},setup(n){return(e,t)=>(a(),c("div",Xo,[e.text?(a(),c("p",Qo,w(e.text),1)):f("",!0),(a(!0),c(M,null,E(e.items,s=>(a(),c(M,null,["link"in s?(a(),k(oe,{key:0,item:s},null,8,["item"])):f("",!0)],64))),256))]))}}),xo=$(Zo,[["__scopeId","data-v-69e747b5"]]),es={class:"VPMenu"},ts={key:0,class:"items"},ns=_({__name:"VPMenu",props:{items:{}},setup(n){return(e,t)=>(a(),c("div",es,[e.items?(a(),c("div",ts,[(a(!0),c(M,null,E(e.items,s=>(a(),c(M,{key:JSON.stringify(s)},["link"in s?(a(),k(oe,{key:0,item:s},null,8,["item"])):"component"in s?(a(),k(D(s.component),q({key:1,ref_for:!0},s.props),null,16)):(a(),k(xo,{key:2,text:s.text,items:s.items},null,8,["text","items"]))],64))),128))])):f("",!0),l(e.$slots,"default",{},void 0,!0)]))}}),os=$(ns,[["__scopeId","data-v-b98bc113"]]),ss=n=>(B("data-v-b6c34ac9"),n=n(),H(),n),as=["aria-expanded","aria-label"],rs={key:0,class:"text"},is=["innerHTML"],ls=ss(()=>v("span",{class:"vpi-chevron-down text-icon"},null,-1)),cs={key:1,class:"vpi-more-horizontal icon"},us={class:"menu"},ds=_({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(n){const e=I(!1),t=I();Ko({el:t,onBlur:s});function s(){e.value=!1}return(o,i)=>(a(),c("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:i[1]||(i[1]=u=>e.value=!0),onMouseleave:i[2]||(i[2]=u=>e.value=!1)},[v("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":o.label,onClick:i[0]||(i[0]=u=>e.value=!e.value)},[o.button||o.icon?(a(),c("span",rs,[o.icon?(a(),c("span",{key:0,class:N([o.icon,"option-icon"])},null,2)):f("",!0),o.button?(a(),c("span",{key:1,innerHTML:o.button},null,8,is)):f("",!0),ls])):(a(),c("span",cs))],8,as),v("div",us,[m(os,{items:o.items},{default:d(()=>[l(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),ge=$(ds,[["__scopeId","data-v-b6c34ac9"]]),vs=["href","aria-label","innerHTML"],ps=_({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(n){const e=n,t=y(()=>typeof e.icon=="object"?e.icon.svg:``);return(s,o)=>(a(),c("a",{class:"VPSocialLink no-icon",href:s.link,"aria-label":s.ariaLabel??(typeof s.icon=="string"?s.icon:""),target:"_blank",rel:"noopener",innerHTML:t.value},null,8,vs))}}),hs=$(ps,[["__scopeId","data-v-eee4e7cb"]]),fs={class:"VPSocialLinks"},_s=_({__name:"VPSocialLinks",props:{links:{}},setup(n){return(e,t)=>(a(),c("div",fs,[(a(!0),c(M,null,E(e.links,({link:s,icon:o,ariaLabel:i})=>(a(),k(hs,{key:s,icon:o,link:s,ariaLabel:i},null,8,["icon","link","ariaLabel"]))),128))]))}}),ye=$(_s,[["__scopeId","data-v-7bc22406"]]),ms={key:0,class:"group translations"},ks={class:"trans-title"},bs={key:1,class:"group"},$s={class:"item appearance"},gs={class:"label"},ys={class:"appearance-action"},Ps={key:2,class:"group"},Vs={class:"item social-links"},Ls=_({__name:"VPNavBarExtra",setup(n){const{site:e,theme:t}=P(),{localeLinks:s,currentLang:o}=Y({correspondingLink:!0}),i=y(()=>s.value.length&&o.value.label||e.value.appearance||t.value.socialLinks);return(u,h)=>i.value?(a(),k(ge,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:d(()=>[r(s).length&&r(o).label?(a(),c("div",ms,[v("p",ks,w(r(o).label),1),(a(!0),c(M,null,E(r(s),p=>(a(),k(oe,{key:p.link,item:p},null,8,["item"]))),128))])):f("",!0),r(e).appearance&&r(e).appearance!=="force-dark"&&r(e).appearance!=="force-auto"?(a(),c("div",bs,[v("div",$s,[v("p",gs,w(r(t).darkModeSwitchLabel||"Appearance"),1),v("div",ys,[m(be)])])])):f("",!0),r(t).socialLinks?(a(),c("div",Ps,[v("div",Vs,[m(ye,{class:"social-links-list",links:r(t).socialLinks},null,8,["links"])])])):f("",!0)]),_:1})):f("",!0)}}),Ss=$(Ls,[["__scopeId","data-v-bb2aa2f0"]]),Ts=n=>(B("data-v-e5dd9c1c"),n=n(),H(),n),ws=["aria-expanded"],Is=Ts(()=>v("span",{class:"container"},[v("span",{class:"top"}),v("span",{class:"middle"}),v("span",{class:"bottom"})],-1)),Ns=[Is],Ms=_({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(n){return(e,t)=>(a(),c("button",{type:"button",class:N(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=s=>e.$emit("click"))},Ns,10,ws))}}),As=$(Ms,[["__scopeId","data-v-e5dd9c1c"]]),Cs=["innerHTML"],Bs=_({__name:"VPNavBarMenuLink",props:{item:{}},setup(n){const{page:e}=P();return(t,s)=>(a(),k(F,{class:N({VPNavBarMenuLink:!0,active:r(K)(r(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,noIcon:t.item.noIcon,target:t.item.target,rel:t.item.rel,tabindex:"0"},{default:d(()=>[v("span",{innerHTML:t.item.text},null,8,Cs)]),_:1},8,["class","href","noIcon","target","rel"]))}}),Hs=$(Bs,[["__scopeId","data-v-9c663999"]]),Es=_({__name:"VPNavBarMenuGroup",props:{item:{}},setup(n){const e=n,{page:t}=P(),s=i=>"component"in i?!1:"link"in i?K(t.value.relativePath,i.link,!!e.item.activeMatch):i.items.some(s),o=y(()=>s(e.item));return(i,u)=>(a(),k(ge,{class:N({VPNavBarMenuGroup:!0,active:r(K)(r(t).relativePath,i.item.activeMatch,!!i.item.activeMatch)||o.value}),button:i.item.text,items:i.item.items},null,8,["class","button","items"]))}}),Ds=n=>(B("data-v-dc692963"),n=n(),H(),n),Fs={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Os=Ds(()=>v("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),Us=_({__name:"VPNavBarMenu",setup(n){const{theme:e}=P();return(t,s)=>r(e).nav?(a(),c("nav",Fs,[Os,(a(!0),c(M,null,E(r(e).nav,o=>(a(),c(M,{key:JSON.stringify(o)},["link"in o?(a(),k(Hs,{key:0,item:o},null,8,["item"])):"component"in o?(a(),k(D(o.component),q({key:1,ref_for:!0},o.props),null,16)):(a(),k(Es,{key:2,item:o},null,8,["item"]))],64))),128))])):f("",!0)}}),Gs=$(Us,[["__scopeId","data-v-dc692963"]]);function js(n){const{localeIndex:e,theme:t}=P();function s(o){var A,C,S;const i=o.split("."),u=(A=t.value.search)==null?void 0:A.options,h=u&&typeof u=="object",p=h&&((S=(C=u.locales)==null?void 0:C[e.value])==null?void 0:S.translations)||null,g=h&&u.translations||null;let L=p,b=g,V=n;const T=i.pop();for(const j of i){let z=null;const J=V==null?void 0:V[j];J&&(z=V=J);const se=b==null?void 0:b[j];se&&(z=b=se);const ae=L==null?void 0:L[j];ae&&(z=L=ae),J||(V=z),se||(b=z),ae||(L=z)}return(L==null?void 0:L[T])??(b==null?void 0:b[T])??(V==null?void 0:V[T])??""}return s}const zs=["aria-label"],qs={class:"DocSearch-Button-Container"},Ks=v("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1),Ws={class:"DocSearch-Button-Placeholder"},Rs=v("span",{class:"DocSearch-Button-Keys"},[v("kbd",{class:"DocSearch-Button-Key"}),v("kbd",{class:"DocSearch-Button-Key"},"K")],-1),Pe=_({__name:"VPNavBarSearchButton",setup(n){const t=js({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(s,o)=>(a(),c("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":r(t)("button.buttonAriaLabel")},[v("span",qs,[Ks,v("span",Ws,w(r(t)("button.buttonText")),1)]),Rs],8,zs))}}),Js={class:"VPNavBarSearch"},Ys={id:"local-search"},Xs={key:1,id:"docsearch"},Qs=_({__name:"VPNavBarSearch",setup(n){const e=Ye(()=>Xe(()=>import("./VPLocalSearchBox.2xWSu_6i.js"),__vite__mapDeps([0,1]))),t=()=>null,{theme:s}=P(),o=I(!1),i=I(!1);W(()=>{});function u(){o.value||(o.value=!0,setTimeout(h,16))}function h(){const b=new Event("keydown");b.key="k",b.metaKey=!0,window.dispatchEvent(b),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||h()},16)}function p(b){const V=b.target,T=V.tagName;return V.isContentEditable||T==="INPUT"||T==="SELECT"||T==="TEXTAREA"}const g=I(!1);le("k",b=>{(b.ctrlKey||b.metaKey)&&(b.preventDefault(),g.value=!0)}),le("/",b=>{p(b)||(b.preventDefault(),g.value=!0)});const L="local";return(b,V)=>{var T;return a(),c("div",Js,[r(L)==="local"?(a(),c(M,{key:0},[g.value?(a(),k(r(e),{key:0,onClose:V[0]||(V[0]=A=>g.value=!1)})):f("",!0),v("div",Ys,[m(Pe,{onClick:V[1]||(V[1]=A=>g.value=!0)})])],64)):r(L)==="algolia"?(a(),c(M,{key:1},[o.value?(a(),k(r(t),{key:0,algolia:((T=r(s).search)==null?void 0:T.options)??r(s).algolia,onVnodeBeforeMount:V[2]||(V[2]=A=>i.value=!0)},null,8,["algolia"])):f("",!0),i.value?f("",!0):(a(),c("div",Xs,[m(Pe,{onClick:u})]))],64)):f("",!0)])}}}),Zs=_({__name:"VPNavBarSocialLinks",setup(n){const{theme:e}=P();return(t,s)=>r(e).socialLinks?(a(),k(ye,{key:0,class:"VPNavBarSocialLinks",links:r(e).socialLinks},null,8,["links"])):f("",!0)}}),xs=$(Zs,[["__scopeId","data-v-0394ad82"]]),ea=["href","rel","target"],ta={key:1},na={key:2},oa=_({__name:"VPNavBarTitle",setup(n){const{site:e,theme:t}=P(),{hasSidebar:s}=G(),{currentLang:o}=Y(),i=y(()=>{var p;return typeof t.value.logoLink=="string"?t.value.logoLink:(p=t.value.logoLink)==null?void 0:p.link}),u=y(()=>{var p;return typeof t.value.logoLink=="string"||(p=t.value.logoLink)==null?void 0:p.rel}),h=y(()=>{var p;return typeof t.value.logoLink=="string"||(p=t.value.logoLink)==null?void 0:p.target});return(p,g)=>(a(),c("div",{class:N(["VPNavBarTitle",{"has-sidebar":r(s)}])},[v("a",{class:"title",href:i.value??r(me)(r(o).link),rel:u.value,target:h.value},[l(p.$slots,"nav-bar-title-before",{},void 0,!0),r(t).logo?(a(),k(Q,{key:0,class:"logo",image:r(t).logo},null,8,["image"])):f("",!0),r(t).siteTitle?(a(),c("span",ta,w(r(t).siteTitle),1)):r(t).siteTitle===void 0?(a(),c("span",na,w(r(e).title),1)):f("",!0),l(p.$slots,"nav-bar-title-after",{},void 0,!0)],8,ea)],2))}}),sa=$(oa,[["__scopeId","data-v-ab179fa1"]]),aa={class:"items"},ra={class:"title"},ia=_({__name:"VPNavBarTranslations",setup(n){const{theme:e}=P(),{localeLinks:t,currentLang:s}=Y({correspondingLink:!0});return(o,i)=>r(t).length&&r(s).label?(a(),k(ge,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:r(e).langMenuLabel||"Change language"},{default:d(()=>[v("div",aa,[v("p",ra,w(r(s).label),1),(a(!0),c(M,null,E(r(t),u=>(a(),k(oe,{key:u.link,item:u},null,8,["item"]))),128))])]),_:1},8,["label"])):f("",!0)}}),la=$(ia,[["__scopeId","data-v-88af2de4"]]),ca=n=>(B("data-v-6aa21345"),n=n(),H(),n),ua={class:"wrapper"},da={class:"container"},va={class:"title"},pa={class:"content"},ha={class:"content-body"},fa=ca(()=>v("div",{class:"divider"},[v("div",{class:"divider-line"})],-1)),_a=_({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(n){const e=n,{y:t}=Ie(),{hasSidebar:s}=G(),{frontmatter:o}=P(),i=I({});return fe(()=>{i.value={"has-sidebar":s.value,home:o.value.layout==="home",top:t.value===0,"screen-open":e.isScreenOpen}}),(u,h)=>(a(),c("div",{class:N(["VPNavBar",i.value])},[v("div",ua,[v("div",da,[v("div",va,[m(sa,null,{"nav-bar-title-before":d(()=>[l(u.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":d(()=>[l(u.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),v("div",pa,[v("div",ha,[l(u.$slots,"nav-bar-content-before",{},void 0,!0),m(Qs,{class:"search"}),m(Gs,{class:"menu"}),m(la,{class:"translations"}),m(qo,{class:"appearance"}),m(xs,{class:"social-links"}),m(Ss,{class:"extra"}),l(u.$slots,"nav-bar-content-after",{},void 0,!0),m(As,{class:"hamburger",active:u.isScreenOpen,onClick:h[0]||(h[0]=p=>u.$emit("toggle-screen"))},null,8,["active"])])])])]),fa],2))}}),ma=$(_a,[["__scopeId","data-v-6aa21345"]]),ka={key:0,class:"VPNavScreenAppearance"},ba={class:"text"},$a=_({__name:"VPNavScreenAppearance",setup(n){const{site:e,theme:t}=P();return(s,o)=>r(e).appearance&&r(e).appearance!=="force-dark"&&r(e).appearance!=="force-auto"?(a(),c("div",ka,[v("p",ba,w(r(t).darkModeSwitchLabel||"Appearance"),1),m(be)])):f("",!0)}}),ga=$($a,[["__scopeId","data-v-b44890b2"]]),ya=_({__name:"VPNavScreenMenuLink",props:{item:{}},setup(n){const e=te("close-screen");return(t,s)=>(a(),k(F,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:r(e),innerHTML:t.item.text},null,8,["href","target","rel","onClick","innerHTML"]))}}),Pa=$(ya,[["__scopeId","data-v-7f31e1f6"]]),Va=_({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(n){const e=te("close-screen");return(t,s)=>(a(),k(F,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:r(e)},{default:d(()=>[O(w(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),Fe=$(Va,[["__scopeId","data-v-19976ae1"]]),La={class:"VPNavScreenMenuGroupSection"},Sa={key:0,class:"title"},Ta=_({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(n){return(e,t)=>(a(),c("div",La,[e.text?(a(),c("p",Sa,w(e.text),1)):f("",!0),(a(!0),c(M,null,E(e.items,s=>(a(),k(Fe,{key:s.text,item:s},null,8,["item"]))),128))]))}}),wa=$(Ta,[["__scopeId","data-v-8133b170"]]),Ia=n=>(B("data-v-b9ab8c58"),n=n(),H(),n),Na=["aria-controls","aria-expanded"],Ma=["innerHTML"],Aa=Ia(()=>v("span",{class:"vpi-plus button-icon"},null,-1)),Ca=["id"],Ba={key:0,class:"item"},Ha={key:1,class:"item"},Ea={key:2,class:"group"},Da=_({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(n){const e=n,t=I(!1),s=y(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function o(){t.value=!t.value}return(i,u)=>(a(),c("div",{class:N(["VPNavScreenMenuGroup",{open:t.value}])},[v("button",{class:"button","aria-controls":s.value,"aria-expanded":t.value,onClick:o},[v("span",{class:"button-text",innerHTML:i.text},null,8,Ma),Aa],8,Na),v("div",{id:s.value,class:"items"},[(a(!0),c(M,null,E(i.items,h=>(a(),c(M,{key:JSON.stringify(h)},["link"in h?(a(),c("div",Ba,[m(Fe,{item:h},null,8,["item"])])):"component"in h?(a(),c("div",Ha,[(a(),k(D(h.component),q({ref_for:!0},h.props,{"screen-menu":""}),null,16))])):(a(),c("div",Ea,[m(wa,{text:h.text,items:h.items},null,8,["text","items"])]))],64))),128))],8,Ca)],2))}}),Fa=$(Da,[["__scopeId","data-v-b9ab8c58"]]),Oa={key:0,class:"VPNavScreenMenu"},Ua=_({__name:"VPNavScreenMenu",setup(n){const{theme:e}=P();return(t,s)=>r(e).nav?(a(),c("nav",Oa,[(a(!0),c(M,null,E(r(e).nav,o=>(a(),c(M,{key:JSON.stringify(o)},["link"in o?(a(),k(Pa,{key:0,item:o},null,8,["item"])):"component"in o?(a(),k(D(o.component),q({key:1,ref_for:!0},o.props,{"screen-menu":""}),null,16)):(a(),k(Fa,{key:2,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):f("",!0)}}),Ga=_({__name:"VPNavScreenSocialLinks",setup(n){const{theme:e}=P();return(t,s)=>r(e).socialLinks?(a(),k(ye,{key:0,class:"VPNavScreenSocialLinks",links:r(e).socialLinks},null,8,["links"])):f("",!0)}}),Oe=n=>(B("data-v-858fe1a4"),n=n(),H(),n),ja=Oe(()=>v("span",{class:"vpi-languages icon lang"},null,-1)),za=Oe(()=>v("span",{class:"vpi-chevron-down icon chevron"},null,-1)),qa={class:"list"},Ka=_({__name:"VPNavScreenTranslations",setup(n){const{localeLinks:e,currentLang:t}=Y({correspondingLink:!0}),s=I(!1);function o(){s.value=!s.value}return(i,u)=>r(e).length&&r(t).label?(a(),c("div",{key:0,class:N(["VPNavScreenTranslations",{open:s.value}])},[v("button",{class:"title",onClick:o},[ja,O(" "+w(r(t).label)+" ",1),za]),v("ul",qa,[(a(!0),c(M,null,E(r(e),h=>(a(),c("li",{key:h.link,class:"item"},[m(F,{class:"link",href:h.link},{default:d(()=>[O(w(h.text),1)]),_:2},1032,["href"])]))),128))])],2)):f("",!0)}}),Wa=$(Ka,[["__scopeId","data-v-858fe1a4"]]),Ra={class:"container"},Ja=_({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(n){const e=I(null),t=Ne(ne?document.body:null);return(s,o)=>(a(),k(ve,{name:"fade",onEnter:o[0]||(o[0]=i=>t.value=!0),onAfterLeave:o[1]||(o[1]=i=>t.value=!1)},{default:d(()=>[s.open?(a(),c("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e,id:"VPNavScreen"},[v("div",Ra,[l(s.$slots,"nav-screen-content-before",{},void 0,!0),m(Ua,{class:"menu"}),m(Wa,{class:"translations"}),m(ga,{class:"appearance"}),m(Ga,{class:"social-links"}),l(s.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):f("",!0)]),_:3}))}}),Ya=$(Ja,[["__scopeId","data-v-f2779853"]]),Xa={key:0,class:"VPNav"},Qa=_({__name:"VPNav",setup(n){const{isScreenOpen:e,closeScreen:t,toggleScreen:s}=Ao(),{frontmatter:o}=P(),i=y(()=>o.value.navbar!==!1);return _e("close-screen",t),Z(()=>{ne&&document.documentElement.classList.toggle("hide-nav",!i.value)}),(u,h)=>i.value?(a(),c("header",Xa,[m(ma,{"is-screen-open":r(e),onToggleScreen:r(s)},{"nav-bar-title-before":d(()=>[l(u.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":d(()=>[l(u.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":d(()=>[l(u.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":d(()=>[l(u.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),m(Ya,{open:r(e)},{"nav-screen-content-before":d(()=>[l(u.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":d(()=>[l(u.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):f("",!0)}}),Za=$(Qa,[["__scopeId","data-v-ae24b3ad"]]),Ue=n=>(B("data-v-b7550ba0"),n=n(),H(),n),xa=["role","tabindex"],er=Ue(()=>v("div",{class:"indicator"},null,-1)),tr=Ue(()=>v("span",{class:"vpi-chevron-right caret-icon"},null,-1)),nr=[tr],or={key:1,class:"items"},sr=_({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(n){const e=n,{collapsed:t,collapsible:s,isLink:o,isActiveLink:i,hasActiveLink:u,hasChildren:h,toggle:p}=gt(y(()=>e.item)),g=y(()=>h.value?"section":"div"),L=y(()=>o.value?"a":"div"),b=y(()=>h.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),V=y(()=>o.value?void 0:"button"),T=y(()=>[[`level-${e.depth}`],{collapsible:s.value},{collapsed:t.value},{"is-link":o.value},{"is-active":i.value},{"has-active":u.value}]);function A(S){"key"in S&&S.key!=="Enter"||!e.item.link&&p()}function C(){e.item.link&&p()}return(S,j)=>{const z=R("VPSidebarItem",!0);return a(),k(D(g.value),{class:N(["VPSidebarItem",T.value])},{default:d(()=>[S.item.text?(a(),c("div",q({key:0,class:"item",role:V.value},Ze(S.item.items?{click:A,keydown:A}:{},!0),{tabindex:S.item.items&&0}),[er,S.item.link?(a(),k(F,{key:0,tag:L.value,class:"link",href:S.item.link,rel:S.item.rel,target:S.item.target},{default:d(()=>[(a(),k(D(b.value),{class:"text",innerHTML:S.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(a(),k(D(b.value),{key:1,class:"text",innerHTML:S.item.text},null,8,["innerHTML"])),S.item.collapsed!=null&&S.item.items&&S.item.items.length?(a(),c("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:C,onKeydown:Qe(C,["enter"]),tabindex:"0"},nr,32)):f("",!0)],16,xa)):f("",!0),S.item.items&&S.item.items.length?(a(),c("div",or,[S.depth<5?(a(!0),c(M,{key:0},E(S.item.items,J=>(a(),k(z,{key:J.text,item:J,depth:S.depth+1},null,8,["item","depth"]))),128)):f("",!0)])):f("",!0)]),_:1},8,["class"])}}}),ar=$(sr,[["__scopeId","data-v-b7550ba0"]]),rr=_({__name:"VPSidebarGroup",props:{items:{}},setup(n){const e=I(!0);let t=null;return W(()=>{t=setTimeout(()=>{t=null,e.value=!1},300)}),xe(()=>{t!=null&&(clearTimeout(t),t=null)}),(s,o)=>(a(!0),c(M,null,E(s.items,i=>(a(),c("div",{key:i.text,class:N(["group",{"no-transition":e.value}])},[m(ar,{item:i,depth:0},null,8,["item"])],2))),128))}}),ir=$(rr,[["__scopeId","data-v-c40bc020"]]),Ge=n=>(B("data-v-319d5ca6"),n=n(),H(),n),lr=Ge(()=>v("div",{class:"curtain"},null,-1)),cr={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},ur=Ge(()=>v("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),dr=_({__name:"VPSidebar",props:{open:{type:Boolean}},setup(n){const{sidebarGroups:e,hasSidebar:t}=G(),s=n,o=I(null),i=Ne(ne?document.body:null);U([s,o],()=>{var h;s.open?(i.value=!0,(h=o.value)==null||h.focus()):i.value=!1},{immediate:!0,flush:"post"});const u=I(0);return U(e,()=>{u.value+=1},{deep:!0}),(h,p)=>r(t)?(a(),c("aside",{key:0,class:N(["VPSidebar",{open:h.open}]),ref_key:"navEl",ref:o,onClick:p[0]||(p[0]=et(()=>{},["stop"]))},[lr,v("nav",cr,[ur,l(h.$slots,"sidebar-nav-before",{},void 0,!0),(a(),k(ir,{items:r(e),key:u.value},null,8,["items"])),l(h.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):f("",!0)}}),vr=$(dr,[["__scopeId","data-v-319d5ca6"]]),pr=_({__name:"VPSkipLink",setup(n){const e=ee(),t=I();U(()=>e.path,()=>t.value.focus());function s({target:o}){const i=document.getElementById(decodeURIComponent(o.hash).slice(1));if(i){const u=()=>{i.removeAttribute("tabindex"),i.removeEventListener("blur",u)};i.setAttribute("tabindex","-1"),i.addEventListener("blur",u),i.focus(),window.scrollTo(0,0)}}return(o,i)=>(a(),c(M,null,[v("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),v("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:s}," Skip to content ")],64))}}),hr=$(pr,[["__scopeId","data-v-0f60ec36"]]),fr=_({__name:"Layout",setup(n){const{isOpen:e,open:t,close:s}=G(),o=ee();U(()=>o.path,s),$t(e,s);const{frontmatter:i}=P(),u=tt(),h=y(()=>!!u["home-hero-image"]);return _e("hero-image-slot-exists",h),(p,g)=>{const L=R("Content");return r(i).layout!==!1?(a(),c("div",{key:0,class:N(["Layout",r(i).pageClass])},[l(p.$slots,"layout-top",{},void 0,!0),m(hr),m(at,{class:"backdrop",show:r(e),onClick:r(s)},null,8,["show","onClick"]),m(Za,null,{"nav-bar-title-before":d(()=>[l(p.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":d(()=>[l(p.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":d(()=>[l(p.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":d(()=>[l(p.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":d(()=>[l(p.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":d(()=>[l(p.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),m(Mo,{open:r(e),onOpenMenu:r(t)},null,8,["open","onOpenMenu"]),m(vr,{open:r(e)},{"sidebar-nav-before":d(()=>[l(p.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":d(()=>[l(p.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),m(uo,null,{"page-top":d(()=>[l(p.$slots,"page-top",{},void 0,!0)]),"page-bottom":d(()=>[l(p.$slots,"page-bottom",{},void 0,!0)]),"not-found":d(()=>[l(p.$slots,"not-found",{},void 0,!0)]),"home-hero-before":d(()=>[l(p.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":d(()=>[l(p.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":d(()=>[l(p.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":d(()=>[l(p.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":d(()=>[l(p.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":d(()=>[l(p.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":d(()=>[l(p.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":d(()=>[l(p.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":d(()=>[l(p.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":d(()=>[l(p.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":d(()=>[l(p.$slots,"doc-before",{},void 0,!0)]),"doc-after":d(()=>[l(p.$slots,"doc-after",{},void 0,!0)]),"doc-top":d(()=>[l(p.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":d(()=>[l(p.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":d(()=>[l(p.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":d(()=>[l(p.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":d(()=>[l(p.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":d(()=>[l(p.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":d(()=>[l(p.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":d(()=>[l(p.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),m(_o),l(p.$slots,"layout-bottom",{},void 0,!0)],2)):(a(),k(L,{key:1}))}}}),_r=$(fr,[["__scopeId","data-v-5d98c3a5"]]),je={Layout:_r,enhanceApp:({app:n})=>{n.component("Badge",nt)}},mr=_({__name:"layout",setup(n){const{isDark:e}=Ve(),t=()=>"startViewTransition"in document&&window.matchMedia("(prefers-reduced-motion: no-preference)").matches;return _e("toggle-appearance",async({clientX:s,clientY:o})=>{if(!t()){e.value=!e.value;return}const i=[`circle(0px at ${s}px ${o}px)`,`circle(${Math.hypot(Math.max(s,innerWidth-s),Math.max(o,innerHeight-o))}px at ${s}px ${o}px)`];await document.startViewTransition(async()=>{e.value=!e.value,await we()}).ready,document.documentElement.animate({clipPath:e.value?i.reverse():i},{duration:300,easing:"ease-in",pseudoElement:`::view-transition-${e.value?"old":"new"}(root)`})}),(s,o)=>(a(),k(r(je).Layout))}}),br={extends:je,Layout:mr,enhanceApp(){try{const n=["en-US","zh-CN"];let e=navigator.language;n.includes(e)||(e=n[0]),/\/PSCompletions\/?$/.test(location.pathname)&&(location.href+=e)}catch{}}};export{br as R,js as c,P as u}; diff --git a/assets/en-US_command_index.md.CKIFimfs.js b/assets/en-US_command_index.md.BcfYYpex.js similarity index 92% rename from assets/en-US_command_index.md.CKIFimfs.js rename to assets/en-US_command_index.md.BcfYYpex.js index 757307c..b7e20db 100644 --- a/assets/en-US_command_index.md.CKIFimfs.js +++ b/assets/en-US_command_index.md.BcfYYpex.js @@ -1 +1 @@ -import{_ as n,c as o,o as l,j as e,a as t}from"./chunks/framework.DB6FXu2X.js";const x=JSON.parse('{"title":"About PSCompletions(psc) command","description":"","frontmatter":{"title":"About PSCompletions(psc) command","next":{"text":"About PR (Pull Request)","link":"../contribute/index.md"}},"headers":[],"relativePath":"en-US/command/index.md","filePath":"en-US/command/index.md"}'),i={name:"en-US/command/index.md"},a=e("ul",null,[e("li",null,[t("Waiting... "),e("ul",null,[e("li",null,[t("You can trigger completion by running "),e("code",null,"psc"),t(", then learn about them by completion tip.")]),e("li",null,"View the README file of PSCompletions."),e("li",null,"Enter 'psc' and press 'Enter' to print some module information")])])],-1),s=[a];function c(r,m,d,u,p,_){return l(),o("div",null,s)}const h=n(i,[["render",c]]);export{x as __pageData,h as default}; +import{_ as n,c as o,o as l,j as e,a as t}from"./chunks/framework.B_akP0Gx.js";const x=JSON.parse('{"title":"About PSCompletions(psc) command","description":"","frontmatter":{"title":"About PSCompletions(psc) command","next":{"text":"About PR (Pull Request)","link":"../contribute/index.md"}},"headers":[],"relativePath":"en-US/command/index.md","filePath":"en-US/command/index.md"}'),i={name:"en-US/command/index.md"},a=e("ul",null,[e("li",null,[t("Waiting... "),e("ul",null,[e("li",null,[t("You can trigger completion by running "),e("code",null,"psc"),t(", then learn about them by completion tip.")]),e("li",null,"View the README file of PSCompletions."),e("li",null,"Enter 'psc' and press 'Enter' to print some module information")])])],-1),s=[a];function c(r,m,d,u,p,_){return l(),o("div",null,s)}const h=n(i,[["render",c]]);export{x as __pageData,h as default}; diff --git a/assets/en-US_command_index.md.CKIFimfs.lean.js b/assets/en-US_command_index.md.BcfYYpex.lean.js similarity index 92% rename from assets/en-US_command_index.md.CKIFimfs.lean.js rename to assets/en-US_command_index.md.BcfYYpex.lean.js index 757307c..b7e20db 100644 --- a/assets/en-US_command_index.md.CKIFimfs.lean.js +++ b/assets/en-US_command_index.md.BcfYYpex.lean.js @@ -1 +1 @@ -import{_ as n,c as o,o as l,j as e,a as t}from"./chunks/framework.DB6FXu2X.js";const x=JSON.parse('{"title":"About PSCompletions(psc) command","description":"","frontmatter":{"title":"About PSCompletions(psc) command","next":{"text":"About PR (Pull Request)","link":"../contribute/index.md"}},"headers":[],"relativePath":"en-US/command/index.md","filePath":"en-US/command/index.md"}'),i={name:"en-US/command/index.md"},a=e("ul",null,[e("li",null,[t("Waiting... "),e("ul",null,[e("li",null,[t("You can trigger completion by running "),e("code",null,"psc"),t(", then learn about them by completion tip.")]),e("li",null,"View the README file of PSCompletions."),e("li",null,"Enter 'psc' and press 'Enter' to print some module information")])])],-1),s=[a];function c(r,m,d,u,p,_){return l(),o("div",null,s)}const h=n(i,[["render",c]]);export{x as __pageData,h as default}; +import{_ as n,c as o,o as l,j as e,a as t}from"./chunks/framework.B_akP0Gx.js";const x=JSON.parse('{"title":"About PSCompletions(psc) command","description":"","frontmatter":{"title":"About PSCompletions(psc) command","next":{"text":"About PR (Pull Request)","link":"../contribute/index.md"}},"headers":[],"relativePath":"en-US/command/index.md","filePath":"en-US/command/index.md"}'),i={name:"en-US/command/index.md"},a=e("ul",null,[e("li",null,[t("Waiting... "),e("ul",null,[e("li",null,[t("You can trigger completion by running "),e("code",null,"psc"),t(", then learn about them by completion tip.")]),e("li",null,"View the README file of PSCompletions."),e("li",null,"Enter 'psc' and press 'Enter' to print some module information")])])],-1),s=[a];function c(r,m,d,u,p,_){return l(),o("div",null,s)}const h=n(i,[["render",c]]);export{x as __pageData,h as default}; diff --git a/assets/en-US_completion_index.md.Dh3M6QEZ.js b/assets/en-US_completion_index.md.BfszwC9v.js similarity index 99% rename from assets/en-US_completion_index.md.Dh3M6QEZ.js rename to assets/en-US_completion_index.md.BfszwC9v.js index 2b59e74..90390e6 100644 --- a/assets/en-US_completion_index.md.Dh3M6QEZ.js +++ b/assets/en-US_completion_index.md.BfszwC9v.js @@ -1,4 +1,4 @@ -import{_ as s,c as i,o as a,a4 as t}from"./chunks/framework.DB6FXu2X.js";const u=JSON.parse('{"title":"About the structure of json file","description":"","frontmatter":{"title":"About the structure of json file","next":{"text":"About PR (Pull Request)","link":"../contribute/index.md"}},"headers":[],"relativePath":"en-US/completion/index.md","filePath":"en-US/completion/index.md"}'),n={name:"en-US/completion/index.md"},l=t(`

About the structure of json file

json
{
+import{_ as s,c as i,o as a,a4 as t}from"./chunks/framework.B_akP0Gx.js";const u=JSON.parse('{"title":"About the structure of json file","description":"","frontmatter":{"title":"About the structure of json file","next":{"text":"About PR (Pull Request)","link":"../contribute/index.md"}},"headers":[],"relativePath":"en-US/completion/index.md","filePath":"en-US/completion/index.md"}'),n={name:"en-US/completion/index.md"},l=t(`

About the structure of json file

json
{
 	"root": [],
 	"options": [],
 	"common_options": [],
diff --git a/assets/en-US_completion_index.md.Dh3M6QEZ.lean.js b/assets/en-US_completion_index.md.BfszwC9v.lean.js
similarity index 76%
rename from assets/en-US_completion_index.md.Dh3M6QEZ.lean.js
rename to assets/en-US_completion_index.md.BfszwC9v.lean.js
index eda2c4c..2a79310 100644
--- a/assets/en-US_completion_index.md.Dh3M6QEZ.lean.js
+++ b/assets/en-US_completion_index.md.BfszwC9v.lean.js
@@ -1 +1 @@
-import{_ as s,c as i,o as a,a4 as t}from"./chunks/framework.DB6FXu2X.js";const u=JSON.parse('{"title":"About the structure of json file","description":"","frontmatter":{"title":"About the structure of json file","next":{"text":"About PR (Pull Request)","link":"../contribute/index.md"}},"headers":[],"relativePath":"en-US/completion/index.md","filePath":"en-US/completion/index.md"}'),n={name:"en-US/completion/index.md"},l=t("",14),e=[l];function p(h,k,o,E,d,r){return a(),i("div",null,e)}const g=s(n,[["render",p]]);export{u as __pageData,g as default};
+import{_ as s,c as i,o as a,a4 as t}from"./chunks/framework.B_akP0Gx.js";const u=JSON.parse('{"title":"About the structure of json file","description":"","frontmatter":{"title":"About the structure of json file","next":{"text":"About PR (Pull Request)","link":"../contribute/index.md"}},"headers":[],"relativePath":"en-US/completion/index.md","filePath":"en-US/completion/index.md"}'),n={name:"en-US/completion/index.md"},l=t("",14),e=[l];function p(h,k,o,E,d,r){return a(),i("div",null,e)}const g=s(n,[["render",p]]);export{u as __pageData,g as default};
diff --git a/assets/en-US_contribute_index.md.BlZTt-Qm.js b/assets/en-US_contribute_index.md.CZkuqYql.js
similarity index 96%
rename from assets/en-US_contribute_index.md.BlZTt-Qm.js
rename to assets/en-US_contribute_index.md.CZkuqYql.js
index 86fcd2e..b703333 100644
--- a/assets/en-US_contribute_index.md.BlZTt-Qm.js
+++ b/assets/en-US_contribute_index.md.CZkuqYql.js
@@ -1 +1 @@
-import{_ as e,c as o,o as t,a4 as i}from"./chunks/framework.DB6FXu2X.js";const f=JSON.parse('{"title":"About PR (Pull Request)","description":"","frontmatter":{"title":"About PR (Pull Request)","prev":{"text":"About the structure of json file","link":"../completion/index.md"}},"headers":[],"relativePath":"en-US/contribute/index.md","filePath":"en-US/contribute/index.md"}'),l={name:"en-US/contribute/index.md"},n=i('

About PR (Pull Request)

  1. Prerequisite: You should read About the structure of completion json file first.
  2. You should fork PSCompletions, and clone to your machine.
  3. After Changing, you should commit and create the PR.

1. Update the content of completion json file

  • Patch some tips of the completion.(tip attributes)
  • Add some missing parts for the completion.
    • The missing parts can be viewed by using the compareJson.ps1 script.
      • Take git for example.
      • You can view the missing parts of the zh-CN.json file (Compared to the en-US.json file) by using the following command.
        • .\\script\\compareJson.ps1 .\\completions\\git\\language\\zh-CN.json .\\completions\\git\\language\\en-US.json
      • If it's compared to the first language configured in config.json, the second parameter can also be omitted.
        • It's usually compared to the first language, so the following commands are the most common usage.
        • .\\script\\compareJson.ps1 .\\completions\\git\\language\\zh-CN.json

2. Add language

  1. In the completions directory, select the language you want to add.
  2. Add the language identifier to the language in the config.json file.
  3. Add a json file with the same name as the language identifier in the language directory.
    • You can copy the original json file and rename it.
  4. Translate the contents of the tip attribute.

3. Add a new completion

  1. Run it in the project root directory. .\\script\\create.ps1
    • For the convenience of debugging, create.ps1 will link the created completion directory to the completions directory of the PSCompletions module.
      • So PSCompletions module must be installed and imported before running create.ps1.
        • Install-Module PSCompletions -Scope CurrentUser
        • Import-Module PSCompletions
    • After the PR is committed and merged, you should use psc rm to remove this completion and psc add to re-add it.
  2. Follow the prompts.
  3. Modify the new completion.
  4. Modify config.json as required.
',8),a=[n];function c(d,r,s,u,h,p){return t(),o("div",null,a)}const g=e(l,[["render",c]]);export{f as __pageData,g as default}; +import{_ as e,c as o,o as t,a4 as i}from"./chunks/framework.B_akP0Gx.js";const f=JSON.parse('{"title":"About PR (Pull Request)","description":"","frontmatter":{"title":"About PR (Pull Request)","prev":{"text":"About the structure of json file","link":"../completion/index.md"}},"headers":[],"relativePath":"en-US/contribute/index.md","filePath":"en-US/contribute/index.md"}'),l={name:"en-US/contribute/index.md"},n=i('

About PR (Pull Request)

  1. Prerequisite: You should read About the structure of completion json file first.
  2. You should fork PSCompletions, and clone to your machine.
  3. After Changing, you should commit and create the PR.

1. Update the content of completion json file

  • Patch some tips of the completion.(tip attributes)
  • Add some missing parts for the completion.
    • The missing parts can be viewed by using the compareJson.ps1 script.
      • Take git for example.
      • You can view the missing parts of the zh-CN.json file (Compared to the en-US.json file) by using the following command.
        • .\\script\\compareJson.ps1 .\\completions\\git\\language\\zh-CN.json .\\completions\\git\\language\\en-US.json
      • If it's compared to the first language configured in config.json, the second parameter can also be omitted.
        • It's usually compared to the first language, so the following commands are the most common usage.
        • .\\script\\compareJson.ps1 .\\completions\\git\\language\\zh-CN.json

2. Add language

  1. In the completions directory, select the language you want to add.
  2. Add the language identifier to the language in the config.json file.
  3. Add a json file with the same name as the language identifier in the language directory.
    • You can copy the original json file and rename it.
  4. Translate the contents of the tip attribute.

3. Add a new completion

  1. Run it in the project root directory. .\\script\\create.ps1
    • For the convenience of debugging, create.ps1 will link the created completion directory to the completions directory of the PSCompletions module.
      • So PSCompletions module must be installed and imported before running create.ps1.
        • Install-Module PSCompletions -Scope CurrentUser
        • Import-Module PSCompletions
    • After the PR is committed and merged, you should use psc rm to remove this completion and psc add to re-add it.
  2. Follow the prompts.
  3. Modify the new completion.
  4. Modify config.json as required.
',8),a=[n];function c(d,r,s,u,h,p){return t(),o("div",null,a)}const g=e(l,[["render",c]]);export{f as __pageData,g as default}; diff --git a/docs/.vitepress/dist/assets/en-US_contribute_index.md.BlZTt-Qm.lean.js b/assets/en-US_contribute_index.md.CZkuqYql.lean.js similarity index 76% rename from docs/.vitepress/dist/assets/en-US_contribute_index.md.BlZTt-Qm.lean.js rename to assets/en-US_contribute_index.md.CZkuqYql.lean.js index 38b8caa..7ae4ea6 100644 --- a/docs/.vitepress/dist/assets/en-US_contribute_index.md.BlZTt-Qm.lean.js +++ b/assets/en-US_contribute_index.md.CZkuqYql.lean.js @@ -1 +1 @@ -import{_ as e,c as o,o as t,a4 as i}from"./chunks/framework.DB6FXu2X.js";const f=JSON.parse('{"title":"About PR (Pull Request)","description":"","frontmatter":{"title":"About PR (Pull Request)","prev":{"text":"About the structure of json file","link":"../completion/index.md"}},"headers":[],"relativePath":"en-US/contribute/index.md","filePath":"en-US/contribute/index.md"}'),l={name:"en-US/contribute/index.md"},n=i("",8),a=[n];function c(d,r,s,u,h,p){return t(),o("div",null,a)}const g=e(l,[["render",c]]);export{f as __pageData,g as default}; +import{_ as e,c as o,o as t,a4 as i}from"./chunks/framework.B_akP0Gx.js";const f=JSON.parse('{"title":"About PR (Pull Request)","description":"","frontmatter":{"title":"About PR (Pull Request)","prev":{"text":"About the structure of json file","link":"../completion/index.md"}},"headers":[],"relativePath":"en-US/contribute/index.md","filePath":"en-US/contribute/index.md"}'),l={name:"en-US/contribute/index.md"},n=i("",8),a=[n];function c(d,r,s,u,h,p){return t(),o("div",null,a)}const g=e(l,[["render",c]]);export{f as __pageData,g as default}; diff --git a/assets/en-US_index.md.C8sqqHFW.js b/assets/en-US_index.md.BB8a14k1.js similarity index 94% rename from assets/en-US_index.md.C8sqqHFW.js rename to assets/en-US_index.md.BB8a14k1.js index f68e1a8..9cc0743 100644 --- a/assets/en-US_index.md.C8sqqHFW.js +++ b/assets/en-US_index.md.BB8a14k1.js @@ -1 +1 @@ -import{_ as e,c as t,o as n}from"./chunks/framework.DB6FXu2X.js";const u=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"PSCompletions","tagline":"A completion manager for better and simpler use completions in PowerShell.","actions":[{"theme":"brand","text":"About module command","link":"en-US/command"},{"theme":"alt","text":"About the structure of json file","link":"en-US/completion"},{"theme":"alt","text":"About PR (Pull Request)","link":"en-US/contribute"}]},"features":[{"title":"Multi-language","details":"Switch between languages(zh-CN,en-US...) freely."},{"title":"Sort dynamically","details":"Sort completion tab dynamically by frequency of use."},{"title":"New Completions menu","details":"The module provides a more useful completion menu"},{"title":"Base-in-json","details":"Define completion data from json files."}]},"headers":[],"relativePath":"en-US/index.md","filePath":"en-US/index.md"}'),o={name:"en-US/index.md"};function a(l,i,s,m,r,c){return n(),t("div")}const p=e(o,[["render",a]]);export{u as __pageData,p as default}; +import{_ as e,c as t,o as n}from"./chunks/framework.B_akP0Gx.js";const u=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"PSCompletions","tagline":"A completion manager for better and simpler use completions in PowerShell.","actions":[{"theme":"brand","text":"About module command","link":"en-US/command"},{"theme":"alt","text":"About the structure of json file","link":"en-US/completion"},{"theme":"alt","text":"About PR (Pull Request)","link":"en-US/contribute"}]},"features":[{"title":"Multi-language","details":"Switch between languages(zh-CN,en-US...) freely."},{"title":"Sort dynamically","details":"Sort completion tab dynamically by frequency of use."},{"title":"New Completions menu","details":"The module provides a more useful completion menu"},{"title":"Base-in-json","details":"Define completion data from json files."}]},"headers":[],"relativePath":"en-US/index.md","filePath":"en-US/index.md"}'),o={name:"en-US/index.md"};function a(l,i,s,m,r,c){return n(),t("div")}const p=e(o,[["render",a]]);export{u as __pageData,p as default}; diff --git a/assets/en-US_index.md.C8sqqHFW.lean.js b/assets/en-US_index.md.BB8a14k1.lean.js similarity index 94% rename from assets/en-US_index.md.C8sqqHFW.lean.js rename to assets/en-US_index.md.BB8a14k1.lean.js index f68e1a8..9cc0743 100644 --- a/assets/en-US_index.md.C8sqqHFW.lean.js +++ b/assets/en-US_index.md.BB8a14k1.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o as n}from"./chunks/framework.DB6FXu2X.js";const u=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"PSCompletions","tagline":"A completion manager for better and simpler use completions in PowerShell.","actions":[{"theme":"brand","text":"About module command","link":"en-US/command"},{"theme":"alt","text":"About the structure of json file","link":"en-US/completion"},{"theme":"alt","text":"About PR (Pull Request)","link":"en-US/contribute"}]},"features":[{"title":"Multi-language","details":"Switch between languages(zh-CN,en-US...) freely."},{"title":"Sort dynamically","details":"Sort completion tab dynamically by frequency of use."},{"title":"New Completions menu","details":"The module provides a more useful completion menu"},{"title":"Base-in-json","details":"Define completion data from json files."}]},"headers":[],"relativePath":"en-US/index.md","filePath":"en-US/index.md"}'),o={name:"en-US/index.md"};function a(l,i,s,m,r,c){return n(),t("div")}const p=e(o,[["render",a]]);export{u as __pageData,p as default}; +import{_ as e,c as t,o as n}from"./chunks/framework.B_akP0Gx.js";const u=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"PSCompletions","tagline":"A completion manager for better and simpler use completions in PowerShell.","actions":[{"theme":"brand","text":"About module command","link":"en-US/command"},{"theme":"alt","text":"About the structure of json file","link":"en-US/completion"},{"theme":"alt","text":"About PR (Pull Request)","link":"en-US/contribute"}]},"features":[{"title":"Multi-language","details":"Switch between languages(zh-CN,en-US...) freely."},{"title":"Sort dynamically","details":"Sort completion tab dynamically by frequency of use."},{"title":"New Completions menu","details":"The module provides a more useful completion menu"},{"title":"Base-in-json","details":"Define completion data from json files."}]},"headers":[],"relativePath":"en-US/index.md","filePath":"en-US/index.md"}'),o={name:"en-US/index.md"};function a(l,i,s,m,r,c){return n(),t("div")}const p=e(o,[["render",a]]);export{u as __pageData,p as default}; diff --git a/assets/zh-CN_command_index.md.BaqRKLE_.js b/assets/zh-CN_command_index.md.BNQJ4qKY.js similarity index 85% rename from assets/zh-CN_command_index.md.BaqRKLE_.js rename to assets/zh-CN_command_index.md.BNQJ4qKY.js index 4440c6f..3905448 100644 --- a/assets/zh-CN_command_index.md.BaqRKLE_.js +++ b/assets/zh-CN_command_index.md.BNQJ4qKY.js @@ -1 +1 @@ -import{_ as n,c as l,o,j as e,a as t}from"./chunks/framework.DB6FXu2X.js";const h=JSON.parse('{"title":"模块命令","description":"","frontmatter":{"title":"模块命令","next":{"text":"关于 PR (Pull Request)","link":"../contribute/index.md"}},"headers":[],"relativePath":"zh-CN/command/index.md","filePath":"zh-CN/command/index.md"}'),a={name:"zh-CN/command/index.md"},c=e("ul",null,[e("li",null,[t("等待补充... "),e("ul",null,[e("li",null,[t("可以使用 "),e("code",null,"psc"),t(" 触发补全,通过补全提示信息了解模块命令")]),e("li",null,"通过项目的 README 了解"),e("li",null,[t("输入 "),e("code",null,"psc"),t(" 后 按下 "),e("code",null,"enter"),t(",将会打印一些模块信息")])])])],-1),d=[c];function s(i,r,u,m,_,p){return o(),l("div",null,d)}const f=n(a,[["render",s]]);export{h as __pageData,f as default}; +import{_ as n,c as l,o,j as e,a as t}from"./chunks/framework.B_akP0Gx.js";const h=JSON.parse('{"title":"模块命令","description":"","frontmatter":{"title":"模块命令","next":{"text":"关于 PR (Pull Request)","link":"../contribute/index.md"}},"headers":[],"relativePath":"zh-CN/command/index.md","filePath":"zh-CN/command/index.md"}'),a={name:"zh-CN/command/index.md"},c=e("ul",null,[e("li",null,[t("等待补充... "),e("ul",null,[e("li",null,[t("可以使用 "),e("code",null,"psc"),t(" 触发补全,通过补全提示信息了解模块命令")]),e("li",null,"通过项目的 README 了解"),e("li",null,[t("输入 "),e("code",null,"psc"),t(" 后 按下 "),e("code",null,"enter"),t(",将会打印一些模块信息")])])])],-1),d=[c];function s(i,r,u,m,_,p){return o(),l("div",null,d)}const f=n(a,[["render",s]]);export{h as __pageData,f as default}; diff --git a/assets/zh-CN_command_index.md.BaqRKLE_.lean.js b/assets/zh-CN_command_index.md.BNQJ4qKY.lean.js similarity index 85% rename from assets/zh-CN_command_index.md.BaqRKLE_.lean.js rename to assets/zh-CN_command_index.md.BNQJ4qKY.lean.js index 4440c6f..3905448 100644 --- a/assets/zh-CN_command_index.md.BaqRKLE_.lean.js +++ b/assets/zh-CN_command_index.md.BNQJ4qKY.lean.js @@ -1 +1 @@ -import{_ as n,c as l,o,j as e,a as t}from"./chunks/framework.DB6FXu2X.js";const h=JSON.parse('{"title":"模块命令","description":"","frontmatter":{"title":"模块命令","next":{"text":"关于 PR (Pull Request)","link":"../contribute/index.md"}},"headers":[],"relativePath":"zh-CN/command/index.md","filePath":"zh-CN/command/index.md"}'),a={name:"zh-CN/command/index.md"},c=e("ul",null,[e("li",null,[t("等待补充... "),e("ul",null,[e("li",null,[t("可以使用 "),e("code",null,"psc"),t(" 触发补全,通过补全提示信息了解模块命令")]),e("li",null,"通过项目的 README 了解"),e("li",null,[t("输入 "),e("code",null,"psc"),t(" 后 按下 "),e("code",null,"enter"),t(",将会打印一些模块信息")])])])],-1),d=[c];function s(i,r,u,m,_,p){return o(),l("div",null,d)}const f=n(a,[["render",s]]);export{h as __pageData,f as default}; +import{_ as n,c as l,o,j as e,a as t}from"./chunks/framework.B_akP0Gx.js";const h=JSON.parse('{"title":"模块命令","description":"","frontmatter":{"title":"模块命令","next":{"text":"关于 PR (Pull Request)","link":"../contribute/index.md"}},"headers":[],"relativePath":"zh-CN/command/index.md","filePath":"zh-CN/command/index.md"}'),a={name:"zh-CN/command/index.md"},c=e("ul",null,[e("li",null,[t("等待补充... "),e("ul",null,[e("li",null,[t("可以使用 "),e("code",null,"psc"),t(" 触发补全,通过补全提示信息了解模块命令")]),e("li",null,"通过项目的 README 了解"),e("li",null,[t("输入 "),e("code",null,"psc"),t(" 后 按下 "),e("code",null,"enter"),t(",将会打印一些模块信息")])])])],-1),d=[c];function s(i,r,u,m,_,p){return o(),l("div",null,d)}const f=n(a,[["render",s]]);export{h as __pageData,f as default}; diff --git a/assets/zh-CN_completion_index.md.DS0KjFYa.js b/assets/zh-CN_completion_index.md.j7b7p8SA.js similarity index 99% rename from assets/zh-CN_completion_index.md.DS0KjFYa.js rename to assets/zh-CN_completion_index.md.j7b7p8SA.js index 0b3d9fe..4f9a920 100644 --- a/assets/zh-CN_completion_index.md.DS0KjFYa.js +++ b/assets/zh-CN_completion_index.md.j7b7p8SA.js @@ -1,4 +1,4 @@ -import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.DB6FXu2X.js";const g=JSON.parse('{"title":"关于补全的 json 文件结构","description":"","frontmatter":{"title":"关于补全的 json 文件结构","next":{"text":"关于 PR (Pull Request)","link":"../contribute/index.md"}},"headers":[],"relativePath":"zh-CN/completion/index.md","filePath":"zh-CN/completion/index.md"}'),t={name:"zh-CN/completion/index.md"},l=n(`

关于补全的 json 文件结构

json
{
+import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.B_akP0Gx.js";const g=JSON.parse('{"title":"关于补全的 json 文件结构","description":"","frontmatter":{"title":"关于补全的 json 文件结构","next":{"text":"关于 PR (Pull Request)","link":"../contribute/index.md"}},"headers":[],"relativePath":"zh-CN/completion/index.md","filePath":"zh-CN/completion/index.md"}'),t={name:"zh-CN/completion/index.md"},l=n(`

关于补全的 json 文件结构

json
{
 	"root": [],
 	"options": [],
 	"common_options": [],
diff --git a/assets/zh-CN_completion_index.md.DS0KjFYa.lean.js b/assets/zh-CN_completion_index.md.j7b7p8SA.lean.js
similarity index 77%
rename from assets/zh-CN_completion_index.md.DS0KjFYa.lean.js
rename to assets/zh-CN_completion_index.md.j7b7p8SA.lean.js
index 55003bc..a926f4d 100644
--- a/assets/zh-CN_completion_index.md.DS0KjFYa.lean.js
+++ b/assets/zh-CN_completion_index.md.j7b7p8SA.lean.js
@@ -1 +1 @@
-import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.DB6FXu2X.js";const g=JSON.parse('{"title":"关于补全的 json 文件结构","description":"","frontmatter":{"title":"关于补全的 json 文件结构","next":{"text":"关于 PR (Pull Request)","link":"../contribute/index.md"}},"headers":[],"relativePath":"zh-CN/completion/index.md","filePath":"zh-CN/completion/index.md"}'),t={name:"zh-CN/completion/index.md"},l=n("",14),p=[l];function h(k,e,o,E,d,c){return a(),i("div",null,p)}const u=s(t,[["render",h]]);export{g as __pageData,u as default};
+import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.B_akP0Gx.js";const g=JSON.parse('{"title":"关于补全的 json 文件结构","description":"","frontmatter":{"title":"关于补全的 json 文件结构","next":{"text":"关于 PR (Pull Request)","link":"../contribute/index.md"}},"headers":[],"relativePath":"zh-CN/completion/index.md","filePath":"zh-CN/completion/index.md"}'),t={name:"zh-CN/completion/index.md"},l=n("",14),p=[l];function h(k,e,o,E,d,c){return a(),i("div",null,p)}const u=s(t,[["render",h]]);export{g as __pageData,u as default};
diff --git a/assets/zh-CN_contribute_index.md.AvCKd1oU.js b/assets/zh-CN_contribute_index.md.jyh4Tg9u.js
similarity index 96%
rename from assets/zh-CN_contribute_index.md.AvCKd1oU.js
rename to assets/zh-CN_contribute_index.md.jyh4Tg9u.js
index 48e9aa9..1984095 100644
--- a/assets/zh-CN_contribute_index.md.AvCKd1oU.js
+++ b/assets/zh-CN_contribute_index.md.jyh4Tg9u.js
@@ -1 +1 @@
-import{_ as e,c as o,o as l,a4 as i}from"./chunks/framework.DB6FXu2X.js";const m=JSON.parse('{"title":"关于 PR (Pull Request)","description":"","frontmatter":{"title":"关于 PR (Pull Request)","prev":{"text":"关于补全的 json 文件结构","link":"../completion/index.md"}},"headers":[],"relativePath":"zh-CN/contribute/index.md","filePath":"zh-CN/contribute/index.md"}'),c={name:"zh-CN/contribute/index.md"},t=i('

关于 PR (Pull Request)

  1. 前提: 你应该先阅读 关于补全的 json 文件结构
  2. 你应该 fork PSCompletions 仓库,克隆到本地进行修改
  3. 只要到补全文件进行了修改,都需要更新其目录下的 guid.txt 文件
    • 你可以手动运行 New-Guid 生成,将值填入此文件中
    • 也可以直接运行 .\\script\\updateGuid.ps1,在弹出的 PowerShell 列表框中,选择此补全,并应用修改即可
  4. 修改完成后,提交并创建 PR

1. 更新 json 文件内容

  • 完善补全的一些提示信息(tip 属性)
  • 添加补全的一些缺失的命令
    • 可以通过 .\\script\\compareJson.ps1 脚本来查看未完成的部分
      • git 举例
      • 你可以使用以下命令查看 zh-CN.json 文件缺少的属性(相较于 en-US.json 文件)
        • .\\script\\compareJson.ps1 .\\completions\\git\\language\\zh-CN.json .\\completions\\git\\language\\en-US.json
      • 如果是和 config.json 中配置的第一个语言对比,也可以省略第二个参数
        • 一般都是和第一个语言对比,所以以下命令是最常见的用法
        • .\\script\\compareJson.ps1 .\\completions\\git\\language\\zh-CN.json

2. 添加语言

  1. 在项目的 completions 目录中找到你想要添加语言的补全
  2. 在其目录下的 config.json 文件中的 language 属性里添加像 zh-CN 这样的语言标识符
  3. language 目录下添加与语言标识符同名的 json 文件
    • 你可以将原有的一个 json 文件直接复制,改名即可
  4. 翻译其中的 tip 属性的内容即可

3. 添加一个全新的命令补全

  1. 在项目根目录下运行 .\\script\\create.ps1
    • 为了调试方便,create.ps1 会将创建的补全目录链接到实际 PSCompletionscompletions 目录下
      • 因此,必须先安装并导入 PSCompletions 模块,然后再运行 create.ps1
        • Install-Module PSCompletions -Scope CurrentUser
        • Import-Module PSCompletions
    • 当提交 PR 并被合并后,你应该使用 psc rm 移除掉此补全,并使用 psc add 重新添加
  2. 根据提示进行操作
  3. 修改新创建的补全
  4. 根据需求修改 config.json
',8),d=[t];function a(n,s,r,u,p,h){return l(),o("div",null,d)}const P=e(c,[["render",a]]);export{m as __pageData,P as default}; +import{_ as e,c as o,o as l,a4 as i}from"./chunks/framework.B_akP0Gx.js";const m=JSON.parse('{"title":"关于 PR (Pull Request)","description":"","frontmatter":{"title":"关于 PR (Pull Request)","prev":{"text":"关于补全的 json 文件结构","link":"../completion/index.md"}},"headers":[],"relativePath":"zh-CN/contribute/index.md","filePath":"zh-CN/contribute/index.md"}'),c={name:"zh-CN/contribute/index.md"},t=i('

关于 PR (Pull Request)

  1. 前提: 你应该先阅读 关于补全的 json 文件结构
  2. 你应该 fork PSCompletions 仓库,克隆到本地进行修改
  3. 只要到补全文件进行了修改,都需要更新其目录下的 guid.txt 文件
    • 你可以手动运行 New-Guid 生成,将值填入此文件中
    • 也可以直接运行 .\\script\\updateGuid.ps1,在弹出的 PowerShell 列表框中,选择此补全,并应用修改即可
  4. 修改完成后,提交并创建 PR

1. 更新 json 文件内容

  • 完善补全的一些提示信息(tip 属性)
  • 添加补全的一些缺失的命令
    • 可以通过 .\\script\\compareJson.ps1 脚本来查看未完成的部分
      • git 举例
      • 你可以使用以下命令查看 zh-CN.json 文件缺少的属性(相较于 en-US.json 文件)
        • .\\script\\compareJson.ps1 .\\completions\\git\\language\\zh-CN.json .\\completions\\git\\language\\en-US.json
      • 如果是和 config.json 中配置的第一个语言对比,也可以省略第二个参数
        • 一般都是和第一个语言对比,所以以下命令是最常见的用法
        • .\\script\\compareJson.ps1 .\\completions\\git\\language\\zh-CN.json

2. 添加语言

  1. 在项目的 completions 目录中找到你想要添加语言的补全
  2. 在其目录下的 config.json 文件中的 language 属性里添加像 zh-CN 这样的语言标识符
  3. language 目录下添加与语言标识符同名的 json 文件
    • 你可以将原有的一个 json 文件直接复制,改名即可
  4. 翻译其中的 tip 属性的内容即可

3. 添加一个全新的命令补全

  1. 在项目根目录下运行 .\\script\\create.ps1
    • 为了调试方便,create.ps1 会将创建的补全目录链接到实际 PSCompletionscompletions 目录下
      • 因此,必须先安装并导入 PSCompletions 模块,然后再运行 create.ps1
        • Install-Module PSCompletions -Scope CurrentUser
        • Import-Module PSCompletions
    • 当提交 PR 并被合并后,你应该使用 psc rm 移除掉此补全,并使用 psc add 重新添加
  2. 根据提示进行操作
  3. 修改新创建的补全
  4. 根据需求修改 config.json
',8),d=[t];function a(n,s,r,u,p,h){return l(),o("div",null,d)}const P=e(c,[["render",a]]);export{m as __pageData,P as default}; diff --git a/assets/zh-CN_contribute_index.md.AvCKd1oU.lean.js b/assets/zh-CN_contribute_index.md.jyh4Tg9u.lean.js similarity index 76% rename from assets/zh-CN_contribute_index.md.AvCKd1oU.lean.js rename to assets/zh-CN_contribute_index.md.jyh4Tg9u.lean.js index 4e2592d..fe7e92b 100644 --- a/assets/zh-CN_contribute_index.md.AvCKd1oU.lean.js +++ b/assets/zh-CN_contribute_index.md.jyh4Tg9u.lean.js @@ -1 +1 @@ -import{_ as e,c as o,o as l,a4 as i}from"./chunks/framework.DB6FXu2X.js";const m=JSON.parse('{"title":"关于 PR (Pull Request)","description":"","frontmatter":{"title":"关于 PR (Pull Request)","prev":{"text":"关于补全的 json 文件结构","link":"../completion/index.md"}},"headers":[],"relativePath":"zh-CN/contribute/index.md","filePath":"zh-CN/contribute/index.md"}'),c={name:"zh-CN/contribute/index.md"},t=i("",8),d=[t];function a(n,s,r,u,p,h){return l(),o("div",null,d)}const P=e(c,[["render",a]]);export{m as __pageData,P as default}; +import{_ as e,c as o,o as l,a4 as i}from"./chunks/framework.B_akP0Gx.js";const m=JSON.parse('{"title":"关于 PR (Pull Request)","description":"","frontmatter":{"title":"关于 PR (Pull Request)","prev":{"text":"关于补全的 json 文件结构","link":"../completion/index.md"}},"headers":[],"relativePath":"zh-CN/contribute/index.md","filePath":"zh-CN/contribute/index.md"}'),c={name:"zh-CN/contribute/index.md"},t=i("",8),d=[t];function a(n,s,r,u,p,h){return l(),o("div",null,d)}const P=e(c,[["render",a]]);export{m as __pageData,P as default}; diff --git a/assets/zh-CN_index.md.93AZYhFN.js b/assets/zh-CN_index.md.DhCVGxik.js similarity index 94% rename from assets/zh-CN_index.md.93AZYhFN.js rename to assets/zh-CN_index.md.DhCVGxik.js index 9ee6ee7..d00fa4c 100644 --- a/assets/zh-CN_index.md.93AZYhFN.js +++ b/assets/zh-CN_index.md.DhCVGxik.js @@ -1 +1 @@ -import{_ as e,c as t,o as a}from"./chunks/framework.DB6FXu2X.js";const h=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"PSCompletions","tagline":"一个补全管理模块,它能让你在 PowerShell 中更简单、更方便地使用命令补全。","actions":[{"theme":"brand","text":"关于模块的命令","link":"zh-CN/command"},{"theme":"alt","text":"关于补全的 json 文件结构","link":"zh-CN/completion"},{"theme":"alt","text":"关于 PR (Pull Request)","link":"zh-CN/contribute"}]},"features":[{"title":"多语言","details":"支持多种语言,你可以随意在这些语言中切换"},{"title":"动态排序","details":"补全会根据命令输入的历史纪录动态排序,让你能够更快、更舒适的获取命令补全"},{"title":"灵活的补全菜单","details":"模块提供了一个补全菜单,它比 PowerShell 自带的补全菜单更方便、更好用"},{"title":"补全基于 json","details":"模块通过 json 文件去定义补全的数据"}]},"headers":[],"relativePath":"zh-CN/index.md","filePath":"zh-CN/index.md"}'),n={name:"zh-CN/index.md"};function o(i,l,s,r,d,c){return a(),t("div")}const p=e(n,[["render",o]]);export{h as __pageData,p as default}; +import{_ as e,c as t,o as a}from"./chunks/framework.B_akP0Gx.js";const h=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"PSCompletions","tagline":"一个补全管理模块,它能让你在 PowerShell 中更简单、更方便地使用命令补全。","actions":[{"theme":"brand","text":"关于模块的命令","link":"zh-CN/command"},{"theme":"alt","text":"关于补全的 json 文件结构","link":"zh-CN/completion"},{"theme":"alt","text":"关于 PR (Pull Request)","link":"zh-CN/contribute"}]},"features":[{"title":"多语言","details":"支持多种语言,你可以随意在这些语言中切换"},{"title":"动态排序","details":"补全会根据命令输入的历史纪录动态排序,让你能够更快、更舒适的获取命令补全"},{"title":"灵活的补全菜单","details":"模块提供了一个补全菜单,它比 PowerShell 自带的补全菜单更方便、更好用"},{"title":"补全基于 json","details":"模块通过 json 文件去定义补全的数据"}]},"headers":[],"relativePath":"zh-CN/index.md","filePath":"zh-CN/index.md"}'),n={name:"zh-CN/index.md"};function o(i,l,s,r,d,c){return a(),t("div")}const p=e(n,[["render",o]]);export{h as __pageData,p as default}; diff --git a/assets/zh-CN_index.md.93AZYhFN.lean.js b/assets/zh-CN_index.md.DhCVGxik.lean.js similarity index 94% rename from assets/zh-CN_index.md.93AZYhFN.lean.js rename to assets/zh-CN_index.md.DhCVGxik.lean.js index 9ee6ee7..d00fa4c 100644 --- a/assets/zh-CN_index.md.93AZYhFN.lean.js +++ b/assets/zh-CN_index.md.DhCVGxik.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o as a}from"./chunks/framework.DB6FXu2X.js";const h=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"PSCompletions","tagline":"一个补全管理模块,它能让你在 PowerShell 中更简单、更方便地使用命令补全。","actions":[{"theme":"brand","text":"关于模块的命令","link":"zh-CN/command"},{"theme":"alt","text":"关于补全的 json 文件结构","link":"zh-CN/completion"},{"theme":"alt","text":"关于 PR (Pull Request)","link":"zh-CN/contribute"}]},"features":[{"title":"多语言","details":"支持多种语言,你可以随意在这些语言中切换"},{"title":"动态排序","details":"补全会根据命令输入的历史纪录动态排序,让你能够更快、更舒适的获取命令补全"},{"title":"灵活的补全菜单","details":"模块提供了一个补全菜单,它比 PowerShell 自带的补全菜单更方便、更好用"},{"title":"补全基于 json","details":"模块通过 json 文件去定义补全的数据"}]},"headers":[],"relativePath":"zh-CN/index.md","filePath":"zh-CN/index.md"}'),n={name:"zh-CN/index.md"};function o(i,l,s,r,d,c){return a(),t("div")}const p=e(n,[["render",o]]);export{h as __pageData,p as default}; +import{_ as e,c as t,o as a}from"./chunks/framework.B_akP0Gx.js";const h=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"PSCompletions","tagline":"一个补全管理模块,它能让你在 PowerShell 中更简单、更方便地使用命令补全。","actions":[{"theme":"brand","text":"关于模块的命令","link":"zh-CN/command"},{"theme":"alt","text":"关于补全的 json 文件结构","link":"zh-CN/completion"},{"theme":"alt","text":"关于 PR (Pull Request)","link":"zh-CN/contribute"}]},"features":[{"title":"多语言","details":"支持多种语言,你可以随意在这些语言中切换"},{"title":"动态排序","details":"补全会根据命令输入的历史纪录动态排序,让你能够更快、更舒适的获取命令补全"},{"title":"灵活的补全菜单","details":"模块提供了一个补全菜单,它比 PowerShell 自带的补全菜单更方便、更好用"},{"title":"补全基于 json","details":"模块通过 json 文件去定义补全的数据"}]},"headers":[],"relativePath":"zh-CN/index.md","filePath":"zh-CN/index.md"}'),n={name:"zh-CN/index.md"};function o(i,l,s,r,d,c){return a(),t("div")}const p=e(n,[["render",o]]);export{h as __pageData,p as default}; diff --git a/completions/git/guid.txt b/completions/git/guid.txt index aa3f199..3d70613 100644 --- a/completions/git/guid.txt +++ b/completions/git/guid.txt @@ -1 +1 @@ -2f60b789-4e63-4d7e-945a-17d7de3e9f2d +19032ae5-6d30-4a04-9b54-37cb869924cb diff --git a/completions/git/hooks.ps1 b/completions/git/hooks.ps1 index 81a5734..b7f52f8 100644 --- a/completions/git/hooks.ps1 +++ b/completions/git/hooks.ps1 @@ -61,7 +61,7 @@ function handleCompletions([System.Collections.Generic.List[System.Object]]$comp $info = if ($head_list.$_) { $head_list.$_ }else { 'branch --- ' + $_ } addCompletion "checkout $($_)" '' $info } - foreach($_ in $remote_list) { + foreach ($_ in $remote_list) { $info = 'remote --- ' + $_ addCompletion "push $($_)" '' $info @@ -70,7 +70,7 @@ function handleCompletions([System.Collections.Generic.List[System.Object]]$comp addCompletion "remote rename $($_)" '' $info addCompletion "remote rm $($_)" '' $info } - foreach($_ in $commit_info) { + foreach ($_ in $commit_info) { $hash = $_[0] $date = $_[1] $author = $_[2] @@ -90,10 +90,19 @@ function handleCompletions([System.Collections.Generic.List[System.Object]]$comp addCompletion "revert $($hash)" '' $content addCompletion "commit $($hash)" '' $content } - foreach($_ in $tag_list) { + foreach ($_ in $tag_list) { addCompletion "tag -d $($_)" '' "tag --- $($_)" addCompletion "tag -v $($_)" '' "tag --- $($_)" } + foreach ($_ in git stash list --encoding=gbk 2>$null) { + if ($_ -match 'stash@\{(\d+)\}') { + $stashId = $matches[1] + addCompletion "stash show $stashId" '' $_ + addCompletion "stash pop $stashId" '' $_ + addCompletion "stash apply $stashId" '' $_ + addCompletion "stash drop $stashId" '' $_ + } + } } catch {} return $completions diff --git a/completions/git/language/en-US.json b/completions/git/language/en-US.json index d00e2fa..c4c188a 100644 --- a/completions/git/language/en-US.json +++ b/completions/git/language/en-US.json @@ -889,7 +889,8 @@ "name": "stash", "tip": [ "Stash changes in the stash.\n", - "Note that when there are multiple stashes, they are ordered from newest to oldest, with indices starting from 0." + "Note: When there're multiple stashes, they're ordered from newest to oldest, and the index is starting from 0.\n", + " If the index is omitted, the first stash is operated by default. (stash@{0})" ], "next": [ { @@ -898,25 +899,41 @@ }, { "name": "show", + "symbol":"SpaceTab", "tip": [ "U: show []\n", "To show other stashes, specify an index.\n", "index: Represents the index of the stash, starting from 0.\n", - "E: show 1 --- Show the second stash." + "E: show 1 --- Show the second stash. (stash@{1})" + ], + "options": [ + { + "name": "-p", + "alias": [ + "--patch" + ], + "tip": "Show the diff of the stash." + } ] }, { "name": "pop", + "symbol":"SpaceTab", "tip": [ + "U: pop []\n", "Apply and remove changes from the stash.\n", - "The difference from 'apply' is that 'pop' removes the stash after applying." + "The difference from 'apply' is that 'pop' removes the stash after applying.\n", + "E: pop 1 --- Pop the second stash. (stash@{1})" ] }, { "name": "apply", + "symbol":"SpaceTab", "tip": [ + "U: apply []\n", "Apply changes from the stash.\n", - "The difference from 'pop' is that 'apply' doesn't remove the stash." + "The difference from 'pop' is that 'apply' doesn't remove the stash.\n", + "E: apply 1 --- Apply the second stash. (stash@{1})" ] }, { @@ -935,10 +952,11 @@ }, { "name": "drop", + "symbol":"SpaceTab", "tip": [ + "U: drop []\n", "Remove a single stash.\n", - "E: drop --- Remove the first stash\n", - " drop 1 --- Remove the second stash" + "E: drop 1 --- Remove the second stash. (stash@{1})" ] }, { diff --git a/completions/git/language/zh-CN.json b/completions/git/language/zh-CN.json index f5b3863..72b76ac 100644 --- a/completions/git/language/zh-CN.json +++ b/completions/git/language/zh-CN.json @@ -889,7 +889,8 @@ "name": "stash", "tip": [ "在 stash 中暂存更改。\n", - "请注意, 当有多个 stash 时, 它们是从新到旧的顺序排列的, 索引从 0 开始。" + "请注意, 当有多个 stash 时, 它们是从新到旧的顺序排列的, 索引从 0 开始。\n", + "如果不输入索引, 则默认操作第一个 stash。(stash@{0})" ], "next": [ { @@ -898,25 +899,39 @@ }, { "name": "show", + "symbol":"SpaceTab", "tip": [ "U: show []\n", "要显示其他 stash, 请指定一个 index。\n", "index: 代表 stash 的索引, 从 0 开始。\n", - "E: show 1 --- 显示第二个 stash。" + "E: show 1 --- 显示第二个 stash (stash@{1})" + ], + "options": [ + { + "name": "-p", + "alias": [ + "--patch" + ], + "tip": "查看 stash 的详细 diff 信息。" + } ] }, { "name": "pop", + "symbol":"SpaceTab", "tip": [ - "应用并移除 stash 中的更改。\n", - "与 'apply' 不同的地方在于, 'pop' 在应用后移除 stash。" + "U: pop []\n", + "应用并移除 stash 中的更改。与 'apply' 不同的地方在于, 'pop' 在应用后移除 stash。\n", + "E: pop 1 --- 应用并移除第二个 stash (stash@{1})" ] }, { "name": "apply", + "symbol":"SpaceTab", "tip": [ - "应用 stash 中的更改。\n", - "与 'pop' 不同的地方在于, 'apply' 在应用后不删除 stash。" + "U: apply []\n", + "应用 stash 中的更改。与 'pop' 不同的地方在于, 'apply' 在应用后不删除 stash。\n", + "E: apply 1 --- 应用第二个 stash (stash@{1})" ] }, { @@ -935,10 +950,11 @@ }, { "name": "drop", + "symbol":"SpaceTab", "tip": [ + "U: drop []\n", "移除一个 stash。\n", - "E: drop --- 移除第一个 stash\n", - " drop 1 --- 移除第二个 stash" + "E: drop 1 --- 移除第二个 stash (stash@{1})" ] }, { diff --git a/completions/pdm/guid.txt b/completions/pdm/guid.txt index 0332209..271c2f0 100644 --- a/completions/pdm/guid.txt +++ b/completions/pdm/guid.txt @@ -1 +1 @@ -2c8c834d-7b13-407d-a8d3-ab5370135cf7 +675eadfe-723f-437e-befb-14b4f5888969 diff --git a/completions/pdm/language/en-US.json b/completions/pdm/language/en-US.json index 24c1897..3d9bcec 100644 --- a/completions/pdm/language/en-US.json +++ b/completions/pdm/language/en-US.json @@ -130,8 +130,12 @@ }, { "name": "-v", - "alias": ["--verbose", "-vv"], - "tip": "Use `-v` for detailed output and `-vv` for more detailed" + "alias": ["--verbose"], + "tip": "detailed output" + }, + { + "name": "-vv", + "tip": "more detailed output" }, { "name": "-q", diff --git a/completions/psc/guid.txt b/completions/psc/guid.txt index 087bc52..2e1c379 100644 --- a/completions/psc/guid.txt +++ b/completions/psc/guid.txt @@ -1 +1 @@ -4e284f57-7d07-4605-ad3a-67823a7bc9be +4c7d4b52-5034-4126-bb68-e527324e2b36 diff --git a/completions/psc/language/en-US.json b/completions/psc/language/en-US.json index 8b52491..10b4f26 100644 --- a/completions/psc/language/en-US.json +++ b/completions/psc/language/en-US.json @@ -16,11 +16,15 @@ }, { "name": "add", - "symbol": [ - "{{", - "$has = Compare-Object $PSCompletions.cmd.keys $PSCompletions.list -PassThru;", - "if($has){ 'SpaceTab' };", - "}}" + "next": [ + { + "name": "*", + "tip": [ + "Add all completions.\n", + "Note: Add many completions may cause PowerShell to load slowly for the start up.\n", + " It's recommended to add what you need." + ] + } ], "tip": [ "Add completion. (one or more)\n", @@ -29,8 +33,14 @@ }, { "name": "rm", - "symbol": [ - "{{ if($PSCompletions.cmd.keys){ 'SpaceTab' } }}" + "next": [ + { + "name": "*", + "tip": [ + "Remove all completions.\n", + "Note: psc will be automatically re-added after removing." + ] + } ], "tip": [ "Remove completion. (one or more)\n", @@ -1980,4 +1990,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/completions/psc/language/zh-CN.json b/completions/psc/language/zh-CN.json index 7865bc7..8d6d24d 100644 --- a/completions/psc/language/zh-CN.json +++ b/completions/psc/language/zh-CN.json @@ -16,11 +16,15 @@ }, { "name": "add", - "symbol": [ - "{{", - "$has = Compare-Object $PSCompletions.cmd.keys $PSCompletions.list -PassThru;", - "if($has){ 'SpaceTab' };", - "}}" + "next": [ + { + "name": "*", + "tip": [ + "添加所有的补全\n", + "注意:添加大量的补全可能会导致 PowerShell 启动加载速度变得慢一点\n", + " 建议添加自己需要的补全" + ] + } ], "tip": [ "添加补全(一个或多个)\n", @@ -29,8 +33,14 @@ }, { "name": "rm", - "symbol": [ - "{{ if($PSCompletions.cmd.keys){ 'SpaceTab' } }}" + "next": [ + { + "name": "*", + "tip": [ + "移除所有的补全\n", + "注意: psc 作为 PSCompletions 模块的补全,会在移除后自动重新添加" + ] + } ], "tip": [ "移除补全(一个或多个)\n", @@ -1982,4 +1992,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/docs/.vitepress/dist/404.html b/docs/.vitepress/dist/404.html index 7215ffb..de3d7e6 100644 --- a/docs/.vitepress/dist/404.html +++ b/docs/.vitepress/dist/404.html @@ -8,14 +8,14 @@ - +
- + \ No newline at end of file diff --git a/docs/.vitepress/dist/assets/app.DDq7iQmo.js b/docs/.vitepress/dist/assets/app.DrMxEDCJ.js similarity index 90% rename from docs/.vitepress/dist/assets/app.DDq7iQmo.js rename to docs/.vitepress/dist/assets/app.DrMxEDCJ.js index 85e8f3c..3dcfbf4 100644 --- a/docs/.vitepress/dist/assets/app.DDq7iQmo.js +++ b/docs/.vitepress/dist/assets/app.DrMxEDCJ.js @@ -1 +1 @@ -import{U as o,a5 as p,a6 as u,a7 as l,a8 as c,a9 as f,aa as d,ab as m,ac as h,ad as g,ae as A,d as P,u as v,y,x as w,af as C,ag as R,ah as b,ai as E}from"./chunks/framework.DB6FXu2X.js";import{R as S}from"./chunks/theme.Cje-DEyP.js";function i(e){if(e.extends){const a=i(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const s=i(S),T=P({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=v();return y(()=>{w(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&C(),R(),b(),s.setup&&s.setup(),()=>E(s.Layout)}});async function _(){globalThis.__VITEPRESS__=!0;const e=D(),a=x();a.provide(u,e);const t=l(e.route);return a.provide(c,t),a.component("Content",f),a.component("ClientOnly",d),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),s.enhanceApp&&await s.enhanceApp({app:a,router:e,siteData:m}),{app:a,router:e,data:t}}function x(){return h(T)}function D(){let e=o,a;return g(t=>{let n=A(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=import(n)),o&&(e=!1),r},s.NotFound)}o&&_().then(({app:e,router:a,data:t})=>{a.go().then(()=>{p(a.route,t.site),e.mount("#app")})});export{_ as createApp}; +import{U as o,a5 as p,a6 as u,a7 as l,a8 as c,a9 as f,aa as d,ab as m,ac as h,ad as g,ae as A,d as P,u as v,y,x as w,af as C,ag as R,ah as b,ai as E}from"./chunks/framework.B_akP0Gx.js";import{R as S}from"./chunks/theme.CvjxxwCL.js";function i(e){if(e.extends){const a=i(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const s=i(S),T=P({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=v();return y(()=>{w(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&C(),R(),b(),s.setup&&s.setup(),()=>E(s.Layout)}});async function _(){globalThis.__VITEPRESS__=!0;const e=D(),a=x();a.provide(u,e);const t=l(e.route);return a.provide(c,t),a.component("Content",f),a.component("ClientOnly",d),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),s.enhanceApp&&await s.enhanceApp({app:a,router:e,siteData:m}),{app:a,router:e,data:t}}function x(){return h(T)}function D(){let e=o,a;return g(t=>{let n=A(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=import(n)),o&&(e=!1),r},s.NotFound)}o&&_().then(({app:e,router:a,data:t})=>{a.go().then(()=>{p(a.route,t.site),e.mount("#app")})});export{_ as createApp}; diff --git a/assets/chunks/@localSearchIndexen-US.DicNScNi.js b/docs/.vitepress/dist/assets/chunks/@localSearchIndexen-US.Dx09-TZx.js similarity index 98% rename from assets/chunks/@localSearchIndexen-US.DicNScNi.js rename to docs/.vitepress/dist/assets/chunks/@localSearchIndexen-US.Dx09-TZx.js index 988aa49..af077b5 100644 --- a/assets/chunks/@localSearchIndexen-US.DicNScNi.js +++ b/docs/.vitepress/dist/assets/chunks/@localSearchIndexen-US.Dx09-TZx.js @@ -1 +1 @@ -const e='{"documentCount":11,"nextId":11,"documentIds":{"0":"/PSCompletions/en-US/completion/#about-the-structure-of-json-file","1":"/PSCompletions/en-US/completion/#properties","2":"/PSCompletions/en-US/completion/#_1-root","3":"/PSCompletions/en-US/completion/#_2-options","4":"/PSCompletions/en-US/completion/#_3-common-options","5":"/PSCompletions/en-US/completion/#_4-info","6":"/PSCompletions/en-US/completion/#_5-config","7":"/PSCompletions/en-US/contribute/#about-pr-pull-request","8":"/PSCompletions/en-US/contribute/#_1-update-the-content-of-completion-json-file","9":"/PSCompletions/en-US/contribute/#_2-add-language","10":"/PSCompletions/en-US/contribute/#_3-add-a-new-completion"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[6,1,41],"1":[1,6,1],"2":[3,7,92],"3":[3,7,26],"4":[4,7,27],"5":[3,7,36],"6":[3,7,94],"7":[5,1,26],"8":[9,5,59],"9":[4,5,34],"10":[6,5,58]},"averageFieldLength":[4.2727272727272725,5.2727272727272725,44.90909090909091],"storedFields":{"0":{"title":"About the structure of json file","titles":[]},"1":{"title":"Properties","titles":["About the structure of json file"]},"2":{"title":"1. root","titles":["About the structure of json file","Properties"]},"3":{"title":"2. options","titles":["About the structure of json file","Properties"]},"4":{"title":"3. common_options","titles":["About the structure of json file","Properties"]},"5":{"title":"4. info","titles":["About the structure of json file","Properties"]},"6":{"title":"5. config","titles":["About the structure of json file","Properties"]},"7":{"title":"About PR (Pull Request)","titles":[]},"8":{"title":"1. Update the content of completion json file","titles":["About PR (Pull Request)"]},"9":{"title":"2. Add language","titles":["About PR (Pull Request)"]},"10":{"title":"3. Add a new completion","titles":["About PR (Pull Request)"]}},"dirtCount":0,"index":[["zh",{"2":{"8":3}}],["link",{"2":{"10":1}}],["language",{"0":{"9":1},"2":{"8":5,"9":5}}],["large",{"2":{"6":1}}],["loading",{"2":{"6":2}}],["learn",{"2":{"0":1}}],["x3c",{"2":{"6":12}}],["xxx",{"2":{"5":2}}],["psc",{"2":{"10":2}}],["pscompletions",{"2":{"7":1,"10":4}}],["ps1",{"2":{"8":3,"10":3}}],["parameter",{"2":{"8":1}}],["parts",{"2":{"8":3}}],["parsed",{"2":{"6":2}}],["parse",{"2":{"6":1}}],["patch",{"2":{"8":1}}],["pull",{"0":{"7":1},"1":{"8":1,"9":1,"10":1}}],["prerequisite",{"2":{"7":1}}],["press",{"2":{"6":1}}],["preset",{"2":{"2":1}}],["pr",{"0":{"7":1},"1":{"8":1,"9":1,"10":1},"2":{"7":1,"10":1}}],["project",{"2":{"6":2,"10":1}}],["prompts",{"2":{"0":1,"10":1}}],["properties",{"0":{"1":1},"1":{"2":1,"3":1,"4":1,"5":1,"6":1},"2":{"0":1}}],["0",{"2":{"6":3}}],["get",{"2":{"6":1}}],["git",{"2":{"6":2,"8":4}}],["g",{"2":{"6":1}}],["5",{"0":{"6":1}}],["$json",{"2":{"5":3}}],["$info",{"2":{"5":2}}],["4",{"0":{"5":1}}],["3",{"0":{"4":1,"10":1}}],["20",{"2":{"6":2}}],["2",{"0":{"3":1,"9":1}}],["merged",{"2":{"10":1}}],["must",{"2":{"10":1}}],["modify",{"2":{"10":2}}],["module",{"2":{"10":4}}],["most",{"2":{"2":2,"8":1}}],["missing",{"2":{"8":3}}],["machine",{"2":{"7":1}}],["maximum",{"2":{"6":1}}],["max",{"2":{"6":1}}],["magenta>",{"2":{"6":2}}],["magenta>max",{"2":{"6":1}}],["magenta>tab",{"2":{"6":1}}],["magenta>space",{"2":{"6":1}}],["magenta>git",{"2":{"6":1}}],["mainly",{"2":{"6":1}}],["manually",{"2":{"2":1}}],["h",{"2":{"4":1}}],["help",{"2":{"4":2}}],["hooks",{"2":{"2":1,"6":3}}],["hovering",{"2":{"0":1}}],["has",{"2":{"2":1}}],["want",{"2":{"9":1}}],["which",{"2":{"6":1}}],["whether",{"2":{"6":1}}],["where",{"2":{"2":1}}],["when",{"2":{"2":3}}],["writespacetab",{"2":{"2":1}}],["will",{"2":{"2":1,"6":4,"10":1}}],["with",{"2":{"2":1,"5":1,"9":1}}],["blue>",{"2":{"6":6}}],["branch",{"2":{"6":2}}],["before",{"2":{"10":1}}],["be",{"2":{"2":1,"5":1,"6":3,"8":2,"10":1}}],["because",{"2":{"2":1}}],["by",{"2":{"0":1,"8":2}}],["directory",{"2":{"9":2,"10":3}}],["disable",{"2":{"6":4}}],["displayed",{"2":{"4":1}}],["difference",{"2":{"2":1}}],["dynamically",{"2":{"6":1}}],["dynamic",{"2":{"2":1}}],["debugging",{"2":{"10":1}}],["default",{"2":{"6":1}}],["define",{"2":{"6":1}}],["defined",{"2":{"5":1}}],["defining",{"2":{"2":1}}],["depending",{"2":{"2":1}}],["don",{"2":{"2":1,"6":1}}],["update",{"0":{"8":1}}],["understand",{"2":{"2":1}}],["usage",{"2":{"8":1}}],["us",{"2":{"8":2}}],["using",{"2":{"8":2}}],["use",{"2":{"10":1}}],["used",{"2":{"6":1}}],["uses",{"2":{"0":1,"2":1}}],["usually",{"2":{"2":1,"8":1}}],["number",{"2":{"6":2}}],["n",{"2":{"6":6}}],["new",{"0":{"10":1},"2":{"10":1}}],["needed",{"2":{"2":1}}],["needs",{"2":{"2":1}}],["need",{"2":{"2":1,"6":1}}],["next",{"2":{"2":3}}],["not",{"2":{"2":1}}],["name",{"2":{"2":4,"3":1,"4":1,"5":2,"6":2,"9":1}}],["view",{"2":{"8":1}}],["viewed",{"2":{"8":1}}],["v",{"2":{"3":1}}],["version",{"2":{"3":2}}],["very",{"2":{"0":1}}],["vscode",{"2":{"2":1}}],["values",{"2":{"2":2,"5":1,"6":2}}],["value",{"2":{"2":2,"3":1,"4":1,"5":1,"6":3}}],["1",{"0":{"2":1,"8":1},"2":{"6":4}}],["example",{"2":{"6":1,"8":1}}],["existing",{"2":{"0":1}}],["etc",{"2":{"6":2}}],["e",{"2":{"6":1}}],["en",{"2":{"8":2}}],["enter",{"2":{"6":1}}],["entire",{"2":{"5":1}}],["ensure",{"2":{"0":1}}],["elsewhere",{"2":{"5":1}}],["easy",{"2":{"2":1}}],["each",{"2":{"2":1,"3":1}}],["running",{"2":{"10":1}}],["run",{"2":{"10":1}}],["rm",{"2":{"2":1,"10":1}}],["re",{"2":{"10":1}}],["remove",{"2":{"10":1}}],["rename",{"2":{"9":1}}],["read",{"2":{"7":1}}],["request",{"0":{"7":1},"1":{"8":1,"9":1,"10":1}}],["required",{"2":{"2":1,"10":1}}],["resolved",{"2":{"6":1}}],["reset",{"2":{"2":1,"6":2}}],["refer",{"2":{"0":1}}],["root",{"0":{"2":1},"2":{"0":1,"2":1,"3":1,"5":1,"10":1}}],["first",{"2":{"7":1,"8":2}}],["file",{"0":{"0":1,"8":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1},"2":{"0":2,"5":1,"7":1,"8":2,"9":3}}],["follow",{"2":{"10":1}}],["following",{"2":{"5":1,"8":2}}],["fork",{"2":{"7":1}}],["for",{"2":{"3":1,"6":3,"8":2,"10":1}}],["fact",{"2":{"0":1}}],["cn",{"2":{"8":3}}],["created",{"2":{"10":1}}],["create",{"2":{"7":1,"10":3}}],["changing",{"2":{"7":1}}],["checkout",{"2":{"6":1}}],["clone",{"2":{"7":1}}],["currentuser",{"2":{"10":1}}],["current",{"2":{"3":1}}],["cases",{"2":{"2":2}}],["can",{"2":{"0":2,"5":1,"6":3,"8":3,"9":1}}],["copy",{"2":{"9":1}}],["core",{"2":{"2":1}}],["correct",{"2":{"0":1}}],["compared",{"2":{"8":3}}],["comparejson",{"2":{"8":3}}],["completions",{"2":{"6":2,"8":3,"9":1,"10":1}}],["completion",{"0":{"8":1,"10":1},"2":{"2":3,"6":3,"7":1,"8":2,"10":3}}],["complete",{"2":{"0":1}}],["commands",{"2":{"8":1}}],["command",{"2":{"8":1}}],["committed",{"2":{"10":1}}],["commits",{"2":{"6":2}}],["commit",{"2":{"6":5,"7":1}}],["common",{"0":{"4":1},"2":{"0":1,"4":1,"8":1}}],["convenience",{"2":{"10":1}}],["context",{"2":{"2":1}}],["contents",{"2":{"9":1}}],["content",{"0":{"8":1},"2":{"0":1,"5":1}}],["configured",{"2":{"8":1}}],["configuration",{"2":{"6":1}}],["configurations",{"2":{"6":1}}],["config",{"0":{"6":1},"2":{"0":1,"6":1,"8":1,"9":1,"10":1}}],["your",{"2":{"7":1}}],["you",{"2":{"0":2,"2":1,"6":4,"7":3,"8":1,"9":2,"10":1}}],["import",{"2":{"10":1}}],["imported",{"2":{"10":1}}],["improve",{"2":{"6":1}}],["identifier",{"2":{"9":2}}],["identical",{"2":{"2":1}}],["if",{"2":{"6":4,"8":1}}],["items",{"2":{"2":1}}],["item",{"2":{"2":2,"3":1}}],["it",{"2":{"0":1,"2":1,"6":4,"8":2,"9":1,"10":2}}],["install",{"2":{"10":1}}],["installed",{"2":{"10":1}}],["invalid",{"2":{"6":1}}],["in",{"2":{"0":1,"2":6,"3":1,"6":1,"8":1,"9":3,"10":1}}],["information",{"2":{"6":2}}],["info",{"0":{"5":1},"2":{"0":1,"5":2}}],["is",{"2":{"0":2,"2":3,"5":2,"6":1,"10":1}}],["translate",{"2":{"9":1}}],["take",{"2":{"8":1}}],["test",{"2":{"5":4}}],["times",{"2":{"4":1}}],["tips",{"2":{"8":1}}],["tip",{"2":{"2":1,"3":1,"4":1,"5":6,"6":2,"8":1,"9":1}}],["t",{"2":{"2":1,"6":1}}],["type",{"2":{"2":1,"3":1,"4":1,"5":1,"6":1}}],["this",{"2":{"5":1,"10":1}}],["think",{"2":{"2":1}}],["that",{"2":{"0":1,"6":1}}],["there",{"2":{"6":1}}],["them",{"2":{"6":1}}],["then",{"2":{"6":1}}],["these",{"2":{"0":1}}],["the",{"0":{"0":1,"8":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1},"2":{"0":4,"2":9,"3":2,"4":1,"5":4,"6":8,"7":2,"8":13,"9":11,"10":8}}],["to",{"2":{"0":2,"2":6,"6":4,"7":1,"8":3,"9":2,"10":3}}],["scope",{"2":{"10":1}}],["script",{"2":{"8":3,"10":1}}],["schema",{"2":{"0":1,"2":1}}],["should",{"2":{"7":3,"10":1}}],["show",{"2":{"3":1,"4":1}}],["such",{"2":{"6":1}}],["select",{"2":{"9":1}}],["second",{"2":{"8":1}}],["setting",{"2":{"6":1}}],["set",{"2":{"6":1}}],["several",{"2":{"2":1}}],["speed",{"2":{"6":2}}],["special",{"2":{"6":1}}],["spacetab",{"2":{"2":3}}],["syntax",{"2":{"5":1}}],["symbols",{"2":{"2":1}}],["symbol",{"2":{"2":7}}],["same",{"2":{"3":1,"4":1,"9":1}}],["so",{"2":{"8":1,"10":1}}],["soft",{"2":{"2":1}}],["some",{"2":{"2":3,"6":2,"8":2}}],["s",{"2":{"2":1,"8":2}}],["simple",{"2":{"0":1}}],["structure",{"0":{"0":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1},"2":{"0":1,"4":1,"7":1}}],["after",{"2":{"7":1,"10":1}}],["affect",{"2":{"6":1}}],["abcdefg",{"2":{"5":1}}],["abc",{"2":{"5":3}}],["about",{"0":{"0":1,"7":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"8":1,"9":1,"10":1},"2":{"0":1,"2":1,"7":1}}],["at",{"2":{"4":1}}],["attributes",{"2":{"8":1}}],["attribute",{"2":{"2":4,"9":1}}],["as",{"2":{"3":1,"4":1,"6":1,"9":1,"10":1}}],["adds",{"2":{"2":1}}],["added",{"2":{"2":2}}],["add",{"0":{"9":1,"10":1},"2":{"2":2,"6":1,"8":1,"9":3,"10":2}}],["automatically",{"2":{"2":3}}],["all",{"2":{"4":2,"5":1,"6":1}}],["allowed",{"2":{"2":1}}],["almost",{"2":{"2":1}}],["also",{"2":{"2":1,"6":1,"8":1}}],["alias",{"2":{"2":1,"3":1,"4":1}}],["are",{"2":{"2":2,"4":1,"6":2,"8":1}}],["arrays",{"2":{"2":1}}],["array",{"2":{"2":2,"3":1,"4":1,"6":1}}],["available",{"2":{"2":1}}],["an",{"2":{"2":1}}],["and",{"2":{"0":1,"2":1,"6":3,"7":2,"9":1,"10":3}}],["a",{"0":{"10":1},"2":{"0":1,"6":2,"9":1}}],["original",{"2":{"9":1}}],["omitted",{"2":{"8":1}}],["obtained",{"2":{"5":1}}],["object",{"2":{"2":2,"5":2}}],["optiontab",{"2":{"2":1}}],["options",{"0":{"3":1,"4":1},"2":{"0":2,"2":7,"3":2,"4":3}}],["on",{"2":{"2":1}}],["over",{"2":{"0":1}}],["of",{"0":{"0":1,"8":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1},"2":{"2":2,"3":1,"4":1,"5":2,"6":4,"7":1,"8":2,"9":1,"10":2}}],["\\t\\t\\t",{"2":{"2":2,"3":3,"4":3,"5":4}}],["\\t\\t",{"2":{"2":2,"3":2,"4":2,"5":6}}],["\\t",{"2":{"0":5,"2":5,"3":2,"4":2,"5":4}}],["json",{"0":{"0":1,"8":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1},"2":{"0":4,"2":2,"3":1,"4":1,"5":2,"6":1,"7":1,"8":6,"9":3,"10":1}}]],"serializationVersion":2}';export{e as default}; +const e='{"documentCount":11,"nextId":11,"documentIds":{"0":"/PSCompletions/en-US/completion/#about-the-structure-of-json-file","1":"/PSCompletions/en-US/completion/#properties","2":"/PSCompletions/en-US/completion/#_1-root","3":"/PSCompletions/en-US/completion/#_2-options","4":"/PSCompletions/en-US/completion/#_3-common-options","5":"/PSCompletions/en-US/completion/#_4-info","6":"/PSCompletions/en-US/completion/#_5-config","7":"/PSCompletions/en-US/contribute/#about-pr-pull-request","8":"/PSCompletions/en-US/contribute/#_1-update-the-content-of-completion-json-file","9":"/PSCompletions/en-US/contribute/#_2-add-language","10":"/PSCompletions/en-US/contribute/#_3-add-a-new-completion"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[6,1,41],"1":[1,6,1],"2":[2,7,92],"3":[2,7,26],"4":[3,7,27],"5":[2,7,36],"6":[2,7,94],"7":[5,1,26],"8":[8,5,59],"9":[3,5,34],"10":[5,5,58]},"averageFieldLength":[3.5454545454545454,5.2727272727272725,44.90909090909091],"storedFields":{"0":{"title":"About the structure of json file","titles":[]},"1":{"title":"Properties","titles":["About the structure of json file"]},"2":{"title":"1. root","titles":["About the structure of json file","Properties"]},"3":{"title":"2. options","titles":["About the structure of json file","Properties"]},"4":{"title":"3. common_options","titles":["About the structure of json file","Properties"]},"5":{"title":"4. info","titles":["About the structure of json file","Properties"]},"6":{"title":"5. config","titles":["About the structure of json file","Properties"]},"7":{"title":"About PR (Pull Request)","titles":[]},"8":{"title":"1. Update the content of completion json file","titles":["About PR (Pull Request)"]},"9":{"title":"2. Add language","titles":["About PR (Pull Request)"]},"10":{"title":"3. Add a new completion","titles":["About PR (Pull Request)"]}},"dirtCount":0,"index":[["zh",{"2":{"8":3}}],["link",{"2":{"10":1}}],["language",{"0":{"9":1},"2":{"8":5,"9":5}}],["large",{"2":{"6":1}}],["loading",{"2":{"6":2}}],["learn",{"2":{"0":1}}],["x3c",{"2":{"6":12}}],["xxx",{"2":{"5":2}}],["psc",{"2":{"10":2}}],["pscompletions",{"2":{"7":1,"10":4}}],["ps1",{"2":{"8":3,"10":3}}],["parameter",{"2":{"8":1}}],["parts",{"2":{"8":3}}],["parsed",{"2":{"6":2}}],["parse",{"2":{"6":1}}],["patch",{"2":{"8":1}}],["pull",{"0":{"7":1},"1":{"8":1,"9":1,"10":1}}],["prerequisite",{"2":{"7":1}}],["press",{"2":{"6":1}}],["preset",{"2":{"2":1}}],["pr",{"0":{"7":1},"1":{"8":1,"9":1,"10":1},"2":{"7":1,"10":1}}],["project",{"2":{"6":2,"10":1}}],["prompts",{"2":{"0":1,"10":1}}],["properties",{"0":{"1":1},"1":{"2":1,"3":1,"4":1,"5":1,"6":1},"2":{"0":1}}],["0",{"2":{"6":3}}],["get",{"2":{"6":1}}],["git",{"2":{"6":2,"8":4}}],["g",{"2":{"6":1}}],["5",{"0":{"6":1}}],["$json",{"2":{"5":3}}],["$info",{"2":{"5":2}}],["4",{"0":{"5":1}}],["3",{"0":{"4":1,"10":1}}],["20",{"2":{"6":2}}],["2",{"0":{"3":1,"9":1}}],["merged",{"2":{"10":1}}],["must",{"2":{"10":1}}],["modify",{"2":{"10":2}}],["module",{"2":{"10":4}}],["most",{"2":{"2":2,"8":1}}],["missing",{"2":{"8":3}}],["machine",{"2":{"7":1}}],["maximum",{"2":{"6":1}}],["max",{"2":{"6":1}}],["magenta>",{"2":{"6":2}}],["magenta>max",{"2":{"6":1}}],["magenta>tab",{"2":{"6":1}}],["magenta>space",{"2":{"6":1}}],["magenta>git",{"2":{"6":1}}],["mainly",{"2":{"6":1}}],["manually",{"2":{"2":1}}],["h",{"2":{"4":1}}],["help",{"2":{"4":2}}],["hooks",{"2":{"2":1,"6":3}}],["hovering",{"2":{"0":1}}],["has",{"2":{"2":1}}],["want",{"2":{"9":1}}],["which",{"2":{"6":1}}],["whether",{"2":{"6":1}}],["where",{"2":{"2":1}}],["when",{"2":{"2":3}}],["writespacetab",{"2":{"2":1}}],["will",{"2":{"2":1,"6":4,"10":1}}],["with",{"2":{"2":1,"5":1,"9":1}}],["blue>",{"2":{"6":6}}],["branch",{"2":{"6":2}}],["before",{"2":{"10":1}}],["be",{"2":{"2":1,"5":1,"6":3,"8":2,"10":1}}],["because",{"2":{"2":1}}],["by",{"2":{"0":1,"8":2}}],["directory",{"2":{"9":2,"10":3}}],["disable",{"2":{"6":4}}],["displayed",{"2":{"4":1}}],["difference",{"2":{"2":1}}],["dynamically",{"2":{"6":1}}],["dynamic",{"2":{"2":1}}],["debugging",{"2":{"10":1}}],["default",{"2":{"6":1}}],["define",{"2":{"6":1}}],["defined",{"2":{"5":1}}],["defining",{"2":{"2":1}}],["depending",{"2":{"2":1}}],["don",{"2":{"2":1,"6":1}}],["update",{"0":{"8":1}}],["understand",{"2":{"2":1}}],["usage",{"2":{"8":1}}],["us",{"2":{"8":2}}],["using",{"2":{"8":2}}],["use",{"2":{"10":1}}],["used",{"2":{"6":1}}],["uses",{"2":{"0":1,"2":1}}],["usually",{"2":{"2":1,"8":1}}],["number",{"2":{"6":2}}],["n",{"2":{"6":6}}],["new",{"0":{"10":1},"2":{"10":1}}],["needed",{"2":{"2":1}}],["needs",{"2":{"2":1}}],["need",{"2":{"2":1,"6":1}}],["next",{"2":{"2":3}}],["not",{"2":{"2":1}}],["name",{"2":{"2":4,"3":1,"4":1,"5":2,"6":2,"9":1}}],["view",{"2":{"8":1}}],["viewed",{"2":{"8":1}}],["v",{"2":{"3":1}}],["version",{"2":{"3":2}}],["very",{"2":{"0":1}}],["vscode",{"2":{"2":1}}],["values",{"2":{"2":2,"5":1,"6":2}}],["value",{"2":{"2":2,"3":1,"4":1,"5":1,"6":3}}],["1",{"0":{"2":1,"8":1},"2":{"6":4}}],["example",{"2":{"6":1,"8":1}}],["existing",{"2":{"0":1}}],["etc",{"2":{"6":2}}],["e",{"2":{"6":1}}],["en",{"2":{"8":2}}],["enter",{"2":{"6":1}}],["entire",{"2":{"5":1}}],["ensure",{"2":{"0":1}}],["elsewhere",{"2":{"5":1}}],["easy",{"2":{"2":1}}],["each",{"2":{"2":1,"3":1}}],["running",{"2":{"10":1}}],["run",{"2":{"10":1}}],["rm",{"2":{"2":1,"10":1}}],["re",{"2":{"10":1}}],["remove",{"2":{"10":1}}],["rename",{"2":{"9":1}}],["read",{"2":{"7":1}}],["request",{"0":{"7":1},"1":{"8":1,"9":1,"10":1}}],["required",{"2":{"2":1,"10":1}}],["resolved",{"2":{"6":1}}],["reset",{"2":{"2":1,"6":2}}],["refer",{"2":{"0":1}}],["root",{"0":{"2":1},"2":{"0":1,"2":1,"3":1,"5":1,"10":1}}],["first",{"2":{"7":1,"8":2}}],["file",{"0":{"0":1,"8":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1},"2":{"0":2,"5":1,"7":1,"8":2,"9":3}}],["follow",{"2":{"10":1}}],["following",{"2":{"5":1,"8":2}}],["fork",{"2":{"7":1}}],["for",{"2":{"3":1,"6":3,"8":2,"10":1}}],["fact",{"2":{"0":1}}],["cn",{"2":{"8":3}}],["created",{"2":{"10":1}}],["create",{"2":{"7":1,"10":3}}],["changing",{"2":{"7":1}}],["checkout",{"2":{"6":1}}],["clone",{"2":{"7":1}}],["currentuser",{"2":{"10":1}}],["current",{"2":{"3":1}}],["cases",{"2":{"2":2}}],["can",{"2":{"0":2,"5":1,"6":3,"8":3,"9":1}}],["copy",{"2":{"9":1}}],["core",{"2":{"2":1}}],["correct",{"2":{"0":1}}],["compared",{"2":{"8":3}}],["comparejson",{"2":{"8":3}}],["completions",{"2":{"6":2,"8":3,"9":1,"10":1}}],["completion",{"0":{"8":1,"10":1},"2":{"2":3,"6":3,"7":1,"8":2,"10":3}}],["complete",{"2":{"0":1}}],["commands",{"2":{"8":1}}],["command",{"2":{"8":1}}],["committed",{"2":{"10":1}}],["commits",{"2":{"6":2}}],["commit",{"2":{"6":5,"7":1}}],["common",{"0":{"4":1},"2":{"0":1,"4":1,"8":1}}],["convenience",{"2":{"10":1}}],["context",{"2":{"2":1}}],["contents",{"2":{"9":1}}],["content",{"0":{"8":1},"2":{"0":1,"5":1}}],["configured",{"2":{"8":1}}],["configuration",{"2":{"6":1}}],["configurations",{"2":{"6":1}}],["config",{"0":{"6":1},"2":{"0":1,"6":1,"8":1,"9":1,"10":1}}],["your",{"2":{"7":1}}],["you",{"2":{"0":2,"2":1,"6":4,"7":3,"8":1,"9":2,"10":1}}],["import",{"2":{"10":1}}],["imported",{"2":{"10":1}}],["improve",{"2":{"6":1}}],["identifier",{"2":{"9":2}}],["identical",{"2":{"2":1}}],["if",{"2":{"6":4,"8":1}}],["items",{"2":{"2":1}}],["item",{"2":{"2":2,"3":1}}],["it",{"2":{"0":1,"2":1,"6":4,"8":2,"9":1,"10":2}}],["install",{"2":{"10":1}}],["installed",{"2":{"10":1}}],["invalid",{"2":{"6":1}}],["in",{"2":{"0":1,"2":6,"3":1,"6":1,"8":1,"9":3,"10":1}}],["information",{"2":{"6":2}}],["info",{"0":{"5":1},"2":{"0":1,"5":2}}],["is",{"2":{"0":2,"2":3,"5":2,"6":1,"10":1}}],["translate",{"2":{"9":1}}],["take",{"2":{"8":1}}],["test",{"2":{"5":4}}],["times",{"2":{"4":1}}],["tips",{"2":{"8":1}}],["tip",{"2":{"2":1,"3":1,"4":1,"5":6,"6":2,"8":1,"9":1}}],["t",{"2":{"2":1,"6":1}}],["type",{"2":{"2":1,"3":1,"4":1,"5":1,"6":1}}],["this",{"2":{"5":1,"10":1}}],["think",{"2":{"2":1}}],["that",{"2":{"0":1,"6":1}}],["there",{"2":{"6":1}}],["them",{"2":{"6":1}}],["then",{"2":{"6":1}}],["these",{"2":{"0":1}}],["the",{"0":{"0":1,"8":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1},"2":{"0":4,"2":9,"3":2,"4":1,"5":4,"6":8,"7":2,"8":13,"9":11,"10":8}}],["to",{"2":{"0":2,"2":6,"6":4,"7":1,"8":3,"9":2,"10":3}}],["scope",{"2":{"10":1}}],["script",{"2":{"8":3,"10":1}}],["schema",{"2":{"0":1,"2":1}}],["should",{"2":{"7":3,"10":1}}],["show",{"2":{"3":1,"4":1}}],["such",{"2":{"6":1}}],["select",{"2":{"9":1}}],["second",{"2":{"8":1}}],["setting",{"2":{"6":1}}],["set",{"2":{"6":1}}],["several",{"2":{"2":1}}],["speed",{"2":{"6":2}}],["special",{"2":{"6":1}}],["spacetab",{"2":{"2":3}}],["syntax",{"2":{"5":1}}],["symbols",{"2":{"2":1}}],["symbol",{"2":{"2":7}}],["same",{"2":{"3":1,"4":1,"9":1}}],["so",{"2":{"8":1,"10":1}}],["soft",{"2":{"2":1}}],["some",{"2":{"2":3,"6":2,"8":2}}],["s",{"2":{"2":1,"8":2}}],["simple",{"2":{"0":1}}],["structure",{"0":{"0":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1},"2":{"0":1,"4":1,"7":1}}],["after",{"2":{"7":1,"10":1}}],["affect",{"2":{"6":1}}],["abcdefg",{"2":{"5":1}}],["abc",{"2":{"5":3}}],["about",{"0":{"0":1,"7":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"8":1,"9":1,"10":1},"2":{"0":1,"2":1,"7":1}}],["at",{"2":{"4":1}}],["attributes",{"2":{"8":1}}],["attribute",{"2":{"2":4,"9":1}}],["as",{"2":{"3":1,"4":1,"6":1,"9":1,"10":1}}],["adds",{"2":{"2":1}}],["added",{"2":{"2":2}}],["add",{"0":{"9":1,"10":1},"2":{"2":2,"6":1,"8":1,"9":3,"10":2}}],["automatically",{"2":{"2":3}}],["all",{"2":{"4":2,"5":1,"6":1}}],["allowed",{"2":{"2":1}}],["almost",{"2":{"2":1}}],["also",{"2":{"2":1,"6":1,"8":1}}],["alias",{"2":{"2":1,"3":1,"4":1}}],["are",{"2":{"2":2,"4":1,"6":2,"8":1}}],["arrays",{"2":{"2":1}}],["array",{"2":{"2":2,"3":1,"4":1,"6":1}}],["available",{"2":{"2":1}}],["an",{"2":{"2":1}}],["and",{"2":{"0":1,"2":1,"6":3,"7":2,"9":1,"10":3}}],["a",{"0":{"10":1},"2":{"0":1,"6":2,"9":1}}],["original",{"2":{"9":1}}],["omitted",{"2":{"8":1}}],["obtained",{"2":{"5":1}}],["object",{"2":{"2":2,"5":2}}],["optiontab",{"2":{"2":1}}],["options",{"0":{"3":1,"4":1},"2":{"0":2,"2":7,"3":2,"4":3}}],["on",{"2":{"2":1}}],["over",{"2":{"0":1}}],["of",{"0":{"0":1,"8":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1},"2":{"2":2,"3":1,"4":1,"5":2,"6":4,"7":1,"8":2,"9":1,"10":2}}],["\\t\\t\\t",{"2":{"2":2,"3":3,"4":3,"5":4}}],["\\t\\t",{"2":{"2":2,"3":2,"4":2,"5":6}}],["\\t",{"2":{"0":5,"2":5,"3":2,"4":2,"5":4}}],["json",{"0":{"0":1,"8":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1},"2":{"0":4,"2":2,"3":1,"4":1,"5":2,"6":1,"7":1,"8":6,"9":3,"10":1}}]],"serializationVersion":2}';export{e as default}; diff --git a/docs/.vitepress/dist/assets/chunks/@localSearchIndexzh-CN.DSk1Alg2.js b/docs/.vitepress/dist/assets/chunks/@localSearchIndexzh-CN.DSk1Alg2.js new file mode 100644 index 0000000..41cd17a --- /dev/null +++ b/docs/.vitepress/dist/assets/chunks/@localSearchIndexzh-CN.DSk1Alg2.js @@ -0,0 +1 @@ +const t='{"documentCount":11,"nextId":11,"documentIds":{"0":"/PSCompletions/zh-CN/completion/#关于补全的-json-文件结构","1":"/PSCompletions/zh-CN/completion/#属性详解","2":"/PSCompletions/zh-CN/completion/#_1-root","3":"/PSCompletions/zh-CN/completion/#_2-options","4":"/PSCompletions/zh-CN/completion/#_3-common-options","5":"/PSCompletions/zh-CN/completion/#_4-info","6":"/PSCompletions/zh-CN/completion/#_5-config","7":"/PSCompletions/zh-CN/contribute/#关于-pr-pull-request","8":"/PSCompletions/zh-CN/contribute/#_1-更新-json-文件内容","9":"/PSCompletions/zh-CN/contribute/#_2-添加语言","10":"/PSCompletions/zh-CN/contribute/#_3-添加一个全新的命令补全"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[3,1,19],"1":[1,3,1],"2":[2,4,60],"3":[2,4,18],"4":[3,4,18],"5":[2,4,21],"6":[2,4,54],"7":[5,1,33],"8":[4,5,30],"9":[2,5,22],"10":[2,5,35]},"averageFieldLength":[2.5454545454545454,3.6363636363636362,28.272727272727273],"storedFields":{"0":{"title":"关于补全的 json 文件结构","titles":[]},"1":{"title":"属性详解","titles":["关于补全的 json 文件结构"]},"2":{"title":"1. root","titles":["关于补全的 json 文件结构","属性详解"]},"3":{"title":"2. options","titles":["关于补全的 json 文件结构","属性详解"]},"4":{"title":"3. common_options","titles":["关于补全的 json 文件结构","属性详解"]},"5":{"title":"4. info","titles":["关于补全的 json 文件结构","属性详解"]},"6":{"title":"5. config","titles":["关于补全的 json 文件结构","属性详解"]},"7":{"title":"关于 PR (Pull Request)","titles":[]},"8":{"title":"1. 更新 json 文件内容","titles":["关于 PR (Pull Request)"]},"9":{"title":"2. 添加语言","titles":["关于 PR (Pull Request)"]},"10":{"title":"3. 添加一个全新的命令补全","titles":["关于 PR (Pull Request)"]}},"dirtCount":0,"index":[["根据需求修改",{"2":{"10":1}}],["根据提示进行操作",{"2":{"10":1}}],["修改新创建的补全",{"2":{"10":1}}],["修改完成后",{"2":{"7":1}}],["重新添加",{"2":{"10":1}}],["移除掉此补全",{"2":{"10":1}}],["并使用",{"2":{"10":1}}],["并被合并后",{"2":{"10":1}}],["并应用修改即可",{"2":{"7":1}}],["import",{"2":{"10":1}}],["install",{"2":{"10":1}}],["info",{"0":{"5":1},"2":{"0":1,"5":2}}],["module",{"2":{"10":2}}],["magenta>",{"2":{"6":2}}],["magenta>max",{"2":{"6":1}}],["max",{"2":{"6":1}}],["然后再运行",{"2":{"10":1}}],["然后动态添加到一些补全中",{"2":{"6":1}}],["模块",{"2":{"10":1}}],["必须先安装并导入",{"2":{"10":1}}],["必需",{"2":{"2":1}}],["因此",{"2":{"10":1}}],["因为",{"2":{"2":1}}],["为了调试方便",{"2":{"10":1}}],["翻译其中的",{"2":{"9":1}}],["改名即可",{"2":{"9":1}}],["目录下",{"2":{"10":1}}],["目录下添加与语言标识符同名的",{"2":{"9":1}}],["目录中找到你想要添加语言的补全",{"2":{"9":1}}],["所以以下命令是最常见的用法",{"2":{"8":1}}],["一般都是和第一个语言对比",{"2":{"8":1}}],["也可以省略第二个参数",{"2":{"8":1}}],["也可以直接运行",{"2":{"7":1}}],["language",{"2":{"8":3,"9":2}}],["us",{"2":{"8":2}}],["updateguid",{"2":{"7":1}}],["en",{"2":{"8":2}}],["相较于",{"2":{"8":1}}],["相同",{"2":{"2":1,"3":1,"4":1}}],["zh",{"2":{"8":3,"9":1}}],["举例",{"2":{"8":1}}],["脚本来查看未完成的部分",{"2":{"8":1}}],["添加一个全新的命令补全",{"0":{"10":1}}],["添加语言",{"0":{"9":1}}],["添加补全的一些缺失的命令",{"2":{"8":1}}],["添加了动态补全项时",{"2":{"2":1}}],["完善补全的一些提示信息",{"2":{"8":1}}],["更新",{"0":{"8":1}}],["提交并创建",{"2":{"7":1}}],["选择此补全",{"2":{"7":1}}],["列表框中",{"2":{"7":1}}],["将值填入此文件中",{"2":{"7":1}}],["生成",{"2":{"7":1}}],["guid",{"2":{"7":2}}],["git",{"2":{"6":3,"8":4}}],["都需要更新其目录下的",{"2":{"7":1}}],["只要到补全文件进行了修改",{"2":{"7":1}}],["克隆到本地进行修改",{"2":{"7":1}}],["仓库",{"2":{"7":1}}],["fork",{"2":{"7":1}}],["前提",{"2":{"7":1}}],["powershell",{"2":{"7":1}}],["psc",{"2":{"10":2}}],["pscompletions",{"2":{"7":1,"10":4}}],["ps1",{"2":{"7":1,"8":3,"10":3}}],["pull",{"0":{"7":1},"1":{"8":1,"9":1,"10":1}}],["pr",{"0":{"7":1},"1":{"8":1,"9":1,"10":1},"2":{"7":1,"10":1}}],["关于",{"0":{"7":1},"1":{"8":1,"9":1,"10":1}}],["关于补全的",{"0":{"0":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1},"2":{"7":1}}],["对补全加载的速度会有不小的影响",{"2":{"6":1}}],["对象",{"2":{"5":1}}],["对象可用属性",{"2":{"2":1}}],["设置为",{"2":{"6":1}}],["设置是否禁用",{"2":{"6":1}}],["数量较多",{"2":{"6":1}}],["数组中的每一项是一个对象",{"2":{"2":1}}],["数组",{"2":{"2":1,"3":1,"4":1,"6":1}}],["可以通过",{"2":{"8":1}}],["可以为当前项目解析的",{"2":{"6":1}}],["可以在其他地方通过以下语法获取",{"2":{"5":1}}],["配置也将无效",{"2":{"6":1}}],["配合",{"2":{"2":1}}],["blue>",{"2":{"6":3}}],["branch",{"2":{"6":1}}],["x3c",{"2":{"6":6}}],["xxx",{"2":{"5":2}}],["那么",{"2":{"6":1}}],["快速补全",{"2":{"6":1}}],["后可以获取到解析出来的",{"2":{"6":1}}],["等",{"2":{"6":1}}],["currentuser",{"2":{"10":1}}],["create",{"2":{"10":3}}],["cn",{"2":{"8":3,"9":1}}],["checkout",{"2":{"6":1}}],["completions",{"2":{"8":3,"9":1,"10":1}}],["comparejson",{"2":{"8":3}}],["commit",{"2":{"6":7}}],["common",{"0":{"4":1},"2":{"0":1,"4":1}}],["config",{"0":{"6":1},"2":{"0":1,"6":1,"8":1,"9":1,"10":1}}],["如果是和",{"2":{"8":1}}],["如果项目",{"2":{"6":1}}],["如果设置为",{"2":{"6":1}}],["如果禁用它",{"2":{"6":1}}],["如果你不需要它",{"2":{"6":1}}],["如",{"2":{"6":2}}],["分支信息等",{"2":{"6":1}}],["信息",{"2":{"6":1}}],["主要用于解析",{"2":{"6":1}}],["表示不禁用",{"2":{"6":1}}],["默认为",{"2":{"6":1}}],["0",{"2":{"6":3}}],["disable",{"2":{"6":1}}],["以",{"2":{"6":1,"8":1}}],["以上是",{"2":{"0":1}}],["定义补全的特殊配置",{"2":{"6":1}}],["定义的所有值",{"2":{"5":1}}],["5",{"0":{"6":1}}],["这样的语言标识符",{"2":{"9":1}}],["这样可以提高补全的加载速度",{"2":{"6":1}}],["这是一个测试内容",{"2":{"5":1}}],["这里面的所有选项在任何时候都会显示",{"2":{"4":1}}],["add",{"2":{"10":1}}],["abcdefg",{"2":{"5":1}}],["abc",{"2":{"5":3}}],["alias",{"2":{"2":1,"3":1,"4":1}}],["txt",{"2":{"7":1}}],["test",{"2":{"5":3}}],["tip",{"2":{"2":1,"3":1,"4":1,"5":6,"6":2,"8":1,"9":1}}],["是整个json文件形成的对象",{"2":{"5":1}}],["$json",{"2":{"5":3}}],["$info",{"2":{"5":2}}],["4",{"0":{"5":1}}],["显示帮助信息",{"2":{"4":1}}],["显示当前版本",{"2":{"3":1}}],["h",{"2":{"4":1}}],["help",{"2":{"4":1}}],["hooks",{"2":{"2":1,"6":3}}],["结构与",{"2":{"4":1}}],["3",{"0":{"4":1,"10":1}}],["values",{"2":{"6":2}}],["value",{"2":{"6":2}}],["v",{"2":{"3":1}}],["version",{"2":{"3":1}}],["vscode",{"2":{"2":1}}],["20",{"2":{"6":2}}],["2",{"0":{"3":1,"9":1}}],["writespacetab",{"2":{"2":1}}],["request",{"0":{"7":1},"1":{"8":1,"9":1,"10":1}}],["reset",{"2":{"2":1,"6":2}}],["rm",{"2":{"2":1,"10":1}}],["root",{"0":{"2":1},"2":{"0":1,"2":1,"3":1,"5":1}}],["当提交",{"2":{"10":1}}],["当补全使用到了",{"2":{"2":1}}],["当补全项有",{"2":{"2":1}}],["当",{"2":{"2":1}}],["的",{"2":{"10":1}}],["的最大数量",{"2":{"6":1}}],["的特殊配置为例",{"2":{"6":1}}],["的情况",{"2":{"2":1}}],["的值也是一个数组",{"2":{"2":1}}],["需要手动添加",{"2":{"2":1}}],["optiontab",{"2":{"2":1}}],["options中的",{"2":{"2":1}}],["options",{"0":{"3":1,"4":1},"2":{"0":2,"2":6,"3":2,"4":2}}],["会将创建的补全目录链接到实际",{"2":{"10":1}}],["会解析所有的",{"2":{"6":1}}],["会自动添加",{"2":{"2":1}}],["会根据上下文",{"2":{"2":1}}],["时",{"2":{"2":1}}],["用于显示符号",{"2":{"2":1}}],["自动添加一些值",{"2":{"2":1}}],["你应该使用",{"2":{"10":1}}],["你应该",{"2":{"7":1}}],["你应该先阅读",{"2":{"7":1}}],["你可以将原有的一个",{"2":{"9":1}}],["你可以使用以下命令查看",{"2":{"8":1}}],["你可以手动运行",{"2":{"7":1}}],["你可以禁用它",{"2":{"6":1}}],["你可以通过悬浮提示了解属性",{"2":{"0":1}}],["你不需要考虑定义",{"2":{"2":1}}],["就是不能在选项中嵌套选项",{"2":{"2":1}}],["就能看懂了",{"2":{"0":1}}],["属性的内容即可",{"2":{"9":1}}],["属性里添加像",{"2":{"9":1}}],["属性会自动添加",{"2":{"2":1}}],["属性",{"2":{"2":1,"8":1}}],["属性详解",{"0":{"1":1},"1":{"2":1,"3":1,"4":1,"5":1,"6":1}}],["不同点",{"2":{"2":1}}],["不多解释",{"2":{"2":1}}],["几乎和",{"2":{"2":1}}],["和",{"2":{"2":1,"3":1}}],["其中",{"2":{"2":1}}],["其实很简单",{"2":{"0":1}}],["很容易理解",{"2":{"2":1}}],["中配置的第一个语言对比",{"2":{"8":1}}],["中的",{"2":{"6":1}}],["中的每一项的",{"2":{"3":1}}],["中的选项类补全需要有几个预设值时",{"2":{"2":1}}],["中不允许添加",{"2":{"2":1}}],["中",{"2":{"2":1}}],["在项目根目录下运行",{"2":{"10":1}}],["在项目的",{"2":{"9":1}}],["在其目录下的",{"2":{"9":1}}],["在弹出的",{"2":{"7":1}}],["在大多数情况",{"2":{"2":1}}],["在",{"2":{"2":2,"9":1}}],["new",{"2":{"7":1}}],["next",{"2":{"2":3}}],["n",{"2":{"6":6}}],["name",{"2":{"2":4,"3":1,"4":1,"5":2,"6":2}}],["scope",{"2":{"10":1}}],["script",{"2":{"7":1,"8":3,"10":1}}],["schema",{"2":{"0":1,"2":1}}],["soft",{"2":{"2":1}}],["spacetab",{"2":{"2":3}}],["symbol",{"2":{"2":7}}],["通常情况下",{"2":{"2":1}}],["最核心的一个属性",{"2":{"2":1}}],["值类型",{"2":{"2":1,"3":1,"4":1,"5":1,"6":1}}],["1",{"0":{"2":1,"8":1},"2":{"6":4}}],["多看几个已有的",{"2":{"0":1}}],["内容的正确和完整",{"2":{"0":1}}],["架构来保证",{"2":{"0":1}}],["文件直接复制",{"2":{"9":1}}],["文件中的",{"2":{"9":1}}],["文件缺少的属性",{"2":{"8":1}}],["文件内容",{"0":{"8":1}}],["文件",{"2":{"0":1,"7":1,"8":1,"9":1}}],["文件使用了",{"2":{"0":1}}],["文件的总体结构",{"2":{"0":1}}],["文件结构",{"0":{"0":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1},"2":{"7":1}}],["\\t\\t\\t",{"2":{"2":2,"3":3,"4":3,"5":4}}],["\\t\\t",{"2":{"2":2,"3":2,"4":2,"5":6}}],["\\t",{"2":{"0":5,"2":5,"3":2,"4":2,"5":4}}],["json",{"0":{"0":1,"8":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1},"2":{"0":5,"2":2,"3":1,"4":1,"5":1,"6":1,"7":1,"8":6,"9":3,"10":1}}]],"serializationVersion":2}';export{t as default}; diff --git a/docs/.vitepress/dist/assets/chunks/@localSearchIndexzh-CN.DmnVHwnH.js b/docs/.vitepress/dist/assets/chunks/@localSearchIndexzh-CN.DmnVHwnH.js deleted file mode 100644 index cab4db8..0000000 --- a/docs/.vitepress/dist/assets/chunks/@localSearchIndexzh-CN.DmnVHwnH.js +++ /dev/null @@ -1 +0,0 @@ -const t='{"documentCount":11,"nextId":11,"documentIds":{"0":"/PSCompletions/zh-CN/completion/#关于补全的-json-文件结构","1":"/PSCompletions/zh-CN/completion/#属性详解","2":"/PSCompletions/zh-CN/completion/#_1-root","3":"/PSCompletions/zh-CN/completion/#_2-options","4":"/PSCompletions/zh-CN/completion/#_3-common-options","5":"/PSCompletions/zh-CN/completion/#_4-info","6":"/PSCompletions/zh-CN/completion/#_5-config","7":"/PSCompletions/zh-CN/contribute/#关于-pr-pull-request","8":"/PSCompletions/zh-CN/contribute/#_1-更新-json-文件内容","9":"/PSCompletions/zh-CN/contribute/#_2-添加语言","10":"/PSCompletions/zh-CN/contribute/#_3-添加一个全新的命令补全"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[3,1,19],"1":[1,3,1],"2":[3,4,60],"3":[3,4,18],"4":[4,4,18],"5":[3,4,21],"6":[3,4,54],"7":[5,1,33],"8":[5,5,30],"9":[3,5,22],"10":[3,5,35]},"averageFieldLength":[3.272727272727273,3.6363636363636362,28.272727272727273],"storedFields":{"0":{"title":"关于补全的 json 文件结构","titles":[]},"1":{"title":"属性详解","titles":["关于补全的 json 文件结构"]},"2":{"title":"1. root","titles":["关于补全的 json 文件结构","属性详解"]},"3":{"title":"2. options","titles":["关于补全的 json 文件结构","属性详解"]},"4":{"title":"3. common_options","titles":["关于补全的 json 文件结构","属性详解"]},"5":{"title":"4. info","titles":["关于补全的 json 文件结构","属性详解"]},"6":{"title":"5. config","titles":["关于补全的 json 文件结构","属性详解"]},"7":{"title":"关于 PR (Pull Request)","titles":[]},"8":{"title":"1. 更新 json 文件内容","titles":["关于 PR (Pull Request)"]},"9":{"title":"2. 添加语言","titles":["关于 PR (Pull Request)"]},"10":{"title":"3. 添加一个全新的命令补全","titles":["关于 PR (Pull Request)"]}},"dirtCount":0,"index":[["根据需求修改",{"2":{"10":1}}],["根据提示进行操作",{"2":{"10":1}}],["修改新创建的补全",{"2":{"10":1}}],["修改完成后",{"2":{"7":1}}],["重新添加",{"2":{"10":1}}],["移除掉此补全",{"2":{"10":1}}],["并使用",{"2":{"10":1}}],["并被合并后",{"2":{"10":1}}],["并应用修改即可",{"2":{"7":1}}],["import",{"2":{"10":1}}],["install",{"2":{"10":1}}],["info",{"0":{"5":1},"2":{"0":1,"5":2}}],["module",{"2":{"10":2}}],["magenta>",{"2":{"6":2}}],["magenta>max",{"2":{"6":1}}],["max",{"2":{"6":1}}],["然后再运行",{"2":{"10":1}}],["然后动态添加到一些补全中",{"2":{"6":1}}],["模块",{"2":{"10":1}}],["必须先安装并导入",{"2":{"10":1}}],["必需",{"2":{"2":1}}],["因此",{"2":{"10":1}}],["因为",{"2":{"2":1}}],["为了调试方便",{"2":{"10":1}}],["翻译其中的",{"2":{"9":1}}],["改名即可",{"2":{"9":1}}],["目录下",{"2":{"10":1}}],["目录下添加与语言标识符同名的",{"2":{"9":1}}],["目录中找到你想要添加语言的补全",{"2":{"9":1}}],["所以以下命令是最常见的用法",{"2":{"8":1}}],["一般都是和第一个语言对比",{"2":{"8":1}}],["也可以省略第二个参数",{"2":{"8":1}}],["也可以直接运行",{"2":{"7":1}}],["language",{"2":{"8":3,"9":2}}],["us",{"2":{"8":2}}],["updateguid",{"2":{"7":1}}],["en",{"2":{"8":2}}],["相较于",{"2":{"8":1}}],["相同",{"2":{"2":1,"3":1,"4":1}}],["zh",{"2":{"8":3,"9":1}}],["举例",{"2":{"8":1}}],["脚本来查看未完成的部分",{"2":{"8":1}}],["添加一个全新的命令补全",{"0":{"10":1}}],["添加语言",{"0":{"9":1}}],["添加补全的一些缺失的命令",{"2":{"8":1}}],["添加了动态补全项时",{"2":{"2":1}}],["完善补全的一些提示信息",{"2":{"8":1}}],["更新",{"0":{"8":1}}],["提交并创建",{"2":{"7":1}}],["选择此补全",{"2":{"7":1}}],["列表框中",{"2":{"7":1}}],["将值填入此文件中",{"2":{"7":1}}],["生成",{"2":{"7":1}}],["guid",{"2":{"7":2}}],["git",{"2":{"6":3,"8":4}}],["都需要更新其目录下的",{"2":{"7":1}}],["只要到补全文件进行了修改",{"2":{"7":1}}],["克隆到本地进行修改",{"2":{"7":1}}],["仓库",{"2":{"7":1}}],["fork",{"2":{"7":1}}],["前提",{"2":{"7":1}}],["powershell",{"2":{"7":1}}],["psc",{"2":{"10":2}}],["pscompletions",{"2":{"7":1,"10":4}}],["ps1",{"2":{"7":1,"8":3,"10":3}}],["pull",{"0":{"7":1},"1":{"8":1,"9":1,"10":1}}],["pr",{"0":{"7":1},"1":{"8":1,"9":1,"10":1},"2":{"7":1,"10":1}}],["关于",{"0":{"7":1},"1":{"8":1,"9":1,"10":1}}],["关于补全的",{"0":{"0":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1},"2":{"7":1}}],["对补全加载的速度会有不小的影响",{"2":{"6":1}}],["对象",{"2":{"5":1}}],["对象可用属性",{"2":{"2":1}}],["设置为",{"2":{"6":1}}],["设置是否禁用",{"2":{"6":1}}],["数量较多",{"2":{"6":1}}],["数组中的每一项是一个对象",{"2":{"2":1}}],["数组",{"2":{"2":1,"3":1,"4":1,"6":1}}],["可以通过",{"2":{"8":1}}],["可以为当前项目解析的",{"2":{"6":1}}],["可以在其他地方通过以下语法获取",{"2":{"5":1}}],["配置也将无效",{"2":{"6":1}}],["配合",{"2":{"2":1}}],["blue>",{"2":{"6":3}}],["branch",{"2":{"6":1}}],["x3c",{"2":{"6":6}}],["xxx",{"2":{"5":2}}],["那么",{"2":{"6":1}}],["快速补全",{"2":{"6":1}}],["后可以获取到解析出来的",{"2":{"6":1}}],["等",{"2":{"6":1}}],["currentuser",{"2":{"10":1}}],["create",{"2":{"10":3}}],["cn",{"2":{"8":3,"9":1}}],["checkout",{"2":{"6":1}}],["completions",{"2":{"8":3,"9":1,"10":1}}],["comparejson",{"2":{"8":3}}],["commit",{"2":{"6":7}}],["common",{"0":{"4":1},"2":{"0":1,"4":1}}],["config",{"0":{"6":1},"2":{"0":1,"6":1,"8":1,"9":1,"10":1}}],["如果是和",{"2":{"8":1}}],["如果项目",{"2":{"6":1}}],["如果设置为",{"2":{"6":1}}],["如果禁用它",{"2":{"6":1}}],["如果你不需要它",{"2":{"6":1}}],["如",{"2":{"6":2}}],["分支信息等",{"2":{"6":1}}],["信息",{"2":{"6":1}}],["主要用于解析",{"2":{"6":1}}],["表示不禁用",{"2":{"6":1}}],["默认为",{"2":{"6":1}}],["0",{"2":{"6":3}}],["disable",{"2":{"6":1}}],["以",{"2":{"6":1,"8":1}}],["以上是",{"2":{"0":1}}],["定义补全的特殊配置",{"2":{"6":1}}],["定义的所有值",{"2":{"5":1}}],["5",{"0":{"6":1}}],["这样的语言标识符",{"2":{"9":1}}],["这样可以提高补全的加载速度",{"2":{"6":1}}],["这是一个测试内容",{"2":{"5":1}}],["这里面的所有选项在任何时候都会显示",{"2":{"4":1}}],["add",{"2":{"10":1}}],["abcdefg",{"2":{"5":1}}],["abc",{"2":{"5":3}}],["alias",{"2":{"2":1,"3":1,"4":1}}],["txt",{"2":{"7":1}}],["test",{"2":{"5":3}}],["tip",{"2":{"2":1,"3":1,"4":1,"5":6,"6":2,"8":1,"9":1}}],["是整个json文件形成的对象",{"2":{"5":1}}],["$json",{"2":{"5":3}}],["$info",{"2":{"5":2}}],["4",{"0":{"5":1}}],["显示帮助信息",{"2":{"4":1}}],["显示当前版本",{"2":{"3":1}}],["h",{"2":{"4":1}}],["help",{"2":{"4":1}}],["hooks",{"2":{"2":1,"6":3}}],["结构与",{"2":{"4":1}}],["3",{"0":{"4":1,"10":1}}],["values",{"2":{"6":2}}],["value",{"2":{"6":2}}],["v",{"2":{"3":1}}],["version",{"2":{"3":1}}],["vscode",{"2":{"2":1}}],["20",{"2":{"6":2}}],["2",{"0":{"3":1,"9":1}}],["writespacetab",{"2":{"2":1}}],["request",{"0":{"7":1},"1":{"8":1,"9":1,"10":1}}],["reset",{"2":{"2":1,"6":2}}],["rm",{"2":{"2":1,"10":1}}],["root",{"0":{"2":1},"2":{"0":1,"2":1,"3":1,"5":1}}],["当提交",{"2":{"10":1}}],["当补全使用到了",{"2":{"2":1}}],["当补全项有",{"2":{"2":1}}],["当",{"2":{"2":1}}],["的",{"2":{"10":1}}],["的最大数量",{"2":{"6":1}}],["的特殊配置为例",{"2":{"6":1}}],["的情况",{"2":{"2":1}}],["的值也是一个数组",{"2":{"2":1}}],["需要手动添加",{"2":{"2":1}}],["optiontab",{"2":{"2":1}}],["options中的",{"2":{"2":1}}],["options",{"0":{"3":1,"4":1},"2":{"0":2,"2":6,"3":2,"4":2}}],["会将创建的补全目录链接到实际",{"2":{"10":1}}],["会解析所有的",{"2":{"6":1}}],["会自动添加",{"2":{"2":1}}],["会根据上下文",{"2":{"2":1}}],["时",{"2":{"2":1}}],["用于显示符号",{"2":{"2":1}}],["自动添加一些值",{"2":{"2":1}}],["你应该使用",{"2":{"10":1}}],["你应该",{"2":{"7":1}}],["你应该先阅读",{"2":{"7":1}}],["你可以将原有的一个",{"2":{"9":1}}],["你可以使用以下命令查看",{"2":{"8":1}}],["你可以手动运行",{"2":{"7":1}}],["你可以禁用它",{"2":{"6":1}}],["你可以通过悬浮提示了解属性",{"2":{"0":1}}],["你不需要考虑定义",{"2":{"2":1}}],["就是不能在选项中嵌套选项",{"2":{"2":1}}],["就能看懂了",{"2":{"0":1}}],["属性的内容即可",{"2":{"9":1}}],["属性里添加像",{"2":{"9":1}}],["属性会自动添加",{"2":{"2":1}}],["属性",{"2":{"2":1,"8":1}}],["属性详解",{"0":{"1":1},"1":{"2":1,"3":1,"4":1,"5":1,"6":1}}],["不同点",{"2":{"2":1}}],["不多解释",{"2":{"2":1}}],["几乎和",{"2":{"2":1}}],["和",{"2":{"2":1,"3":1}}],["其中",{"2":{"2":1}}],["其实很简单",{"2":{"0":1}}],["很容易理解",{"2":{"2":1}}],["中配置的第一个语言对比",{"2":{"8":1}}],["中的",{"2":{"6":1}}],["中的每一项的",{"2":{"3":1}}],["中的选项类补全需要有几个预设值时",{"2":{"2":1}}],["中不允许添加",{"2":{"2":1}}],["中",{"2":{"2":1}}],["在项目根目录下运行",{"2":{"10":1}}],["在项目的",{"2":{"9":1}}],["在其目录下的",{"2":{"9":1}}],["在弹出的",{"2":{"7":1}}],["在大多数情况",{"2":{"2":1}}],["在",{"2":{"2":2,"9":1}}],["new",{"2":{"7":1}}],["next",{"2":{"2":3}}],["n",{"2":{"6":6}}],["name",{"2":{"2":4,"3":1,"4":1,"5":2,"6":2}}],["scope",{"2":{"10":1}}],["script",{"2":{"7":1,"8":3,"10":1}}],["schema",{"2":{"0":1,"2":1}}],["soft",{"2":{"2":1}}],["spacetab",{"2":{"2":3}}],["symbol",{"2":{"2":7}}],["通常情况下",{"2":{"2":1}}],["最核心的一个属性",{"2":{"2":1}}],["值类型",{"2":{"2":1,"3":1,"4":1,"5":1,"6":1}}],["1",{"0":{"2":1,"8":1},"2":{"6":4}}],["多看几个已有的",{"2":{"0":1}}],["内容的正确和完整",{"2":{"0":1}}],["架构来保证",{"2":{"0":1}}],["文件直接复制",{"2":{"9":1}}],["文件中的",{"2":{"9":1}}],["文件缺少的属性",{"2":{"8":1}}],["文件内容",{"0":{"8":1}}],["文件",{"2":{"0":1,"7":1,"8":1,"9":1}}],["文件使用了",{"2":{"0":1}}],["文件的总体结构",{"2":{"0":1}}],["文件结构",{"0":{"0":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1},"2":{"7":1}}],["\\t\\t\\t",{"2":{"2":2,"3":3,"4":3,"5":4}}],["\\t\\t",{"2":{"2":2,"3":2,"4":2,"5":6}}],["\\t",{"2":{"0":5,"2":5,"3":2,"4":2,"5":4}}],["json",{"0":{"0":1,"8":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1},"2":{"0":5,"2":2,"3":1,"4":1,"5":1,"6":1,"7":1,"8":6,"9":3,"10":1}}]],"serializationVersion":2}';export{t as default}; diff --git a/assets/chunks/VPLocalSearchBox.B0iG0UrU.js b/docs/.vitepress/dist/assets/chunks/VPLocalSearchBox.2xWSu_6i.js similarity index 82% rename from assets/chunks/VPLocalSearchBox.B0iG0UrU.js rename to docs/.vitepress/dist/assets/chunks/VPLocalSearchBox.2xWSu_6i.js index 90d5613..c088d7b 100644 --- a/assets/chunks/VPLocalSearchBox.B0iG0UrU.js +++ b/docs/.vitepress/dist/assets/chunks/VPLocalSearchBox.2xWSu_6i.js @@ -1,7 +1,7 @@ -var Ft=Object.defineProperty;var Ot=(a,e,t)=>e in a?Ft(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var Ce=(a,e,t)=>Ot(a,typeof e!="symbol"?e+"":e,t);import{X as et,s as ne,v as Ve,aj as Rt,ak as Ct,d as Mt,G as be,al as tt,h as ye,am as At,an as Lt,x as Dt,ao as zt,y as Me,R as de,Q as we,ap as Pt,aq as jt,Y as Vt,U as $t,a1 as Bt,o as H,b as Wt,j as _,a2 as Kt,k as D,ar as Jt,as as Ut,at as qt,c as Z,n as st,e as _e,E as nt,F as it,a as he,t as fe,au as Gt,p as Qt,l as Ht,av as rt,aw as Yt,a8 as Zt,ae as Xt,ax as es,_ as ts}from"./framework.DB6FXu2X.js";import{u as ss,c as ns}from"./theme.Cje-DEyP.js";const is={"en-US":()=>et(()=>import("./@localSearchIndexen-US.DicNScNi.js"),[]),"zh-CN":()=>et(()=>import("./@localSearchIndexzh-CN.DmnVHwnH.js"),[])};/*! +var Ft=Object.defineProperty;var Ot=(a,e,t)=>e in a?Ft(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var Ce=(a,e,t)=>Ot(a,typeof e!="symbol"?e+"":e,t);import{X as et,s as ne,v as Ve,aj as Rt,ak as Ct,d as Mt,G as be,al as tt,h as ye,am as At,an as Lt,x as Dt,ao as zt,y as Me,R as de,Q as we,ap as Pt,aq as jt,Y as Vt,U as $t,a1 as Bt,o as H,b as Wt,j as _,a2 as Kt,k as D,ar as Jt,as as Ut,at as qt,c as Z,n as st,e as _e,E as nt,F as it,a as he,t as fe,au as Gt,p as Qt,l as Ht,av as rt,aw as Yt,a8 as Zt,ae as Xt,ax as es,_ as ts}from"./framework.B_akP0Gx.js";import{u as ss,c as ns}from"./theme.CvjxxwCL.js";const is={"en-US":()=>et(()=>import("./@localSearchIndexen-US.Dx09-TZx.js"),[]),"zh-CN":()=>et(()=>import("./@localSearchIndexzh-CN.DSk1Alg2.js"),[])};/*! * tabbable 6.2.0 * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE */var mt=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Te=mt.join(","),gt=typeof Element>"u",re=gt?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ne=!gt&&Element.prototype.getRootNode?function(a){var e;return a==null||(e=a.getRootNode)===null||e===void 0?void 0:e.call(a)}:function(a){return a==null?void 0:a.ownerDocument},ke=function a(e,t){var s;t===void 0&&(t=!0);var n=e==null||(s=e.getAttribute)===null||s===void 0?void 0:s.call(e,"inert"),r=n===""||n==="true",i=r||t&&e&&a(e.parentNode);return i},rs=function(e){var t,s=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return s===""||s==="true"},bt=function(e,t,s){if(ke(e))return[];var n=Array.prototype.slice.apply(e.querySelectorAll(Te));return t&&re.call(e,Te)&&n.unshift(e),n=n.filter(s),n},yt=function a(e,t,s){for(var n=[],r=Array.from(e);r.length;){var i=r.shift();if(!ke(i,!1))if(i.tagName==="SLOT"){var o=i.assignedElements(),c=o.length?o:i.children,l=a(c,!0,s);s.flatten?n.push.apply(n,l):n.push({scopeParent:i,candidates:l})}else{var h=re.call(i,Te);h&&s.filter(i)&&(t||!e.includes(i))&&n.push(i);var f=i.shadowRoot||typeof s.getShadowRoot=="function"&&s.getShadowRoot(i),v=!ke(f,!1)&&(!s.shadowRootFilter||s.shadowRootFilter(i));if(f&&v){var y=a(f===!0?i.children:f.children,!0,s);s.flatten?n.push.apply(n,y):n.push({scopeParent:i,candidates:y})}else r.unshift.apply(r,i.children)}}return n},wt=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},ie=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||rs(e))&&!wt(e)?0:e.tabIndex},as=function(e,t){var s=ie(e);return s<0&&t&&!wt(e)?0:s},os=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},_t=function(e){return e.tagName==="INPUT"},cs=function(e){return _t(e)&&e.type==="hidden"},ls=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(s){return s.tagName==="SUMMARY"});return t},us=function(e,t){for(var s=0;ssummary:first-of-type"),i=r?e.parentElement:e;if(re.call(i,"details:not([open]) *"))return!0;if(!s||s==="full"||s==="legacy-full"){if(typeof n=="function"){for(var o=e;e;){var c=e.parentElement,l=Ne(e);if(c&&!c.shadowRoot&&n(c)===!0)return at(e);e.assignedSlot?e=e.assignedSlot:!c&&l!==e.ownerDocument?e=l.host:e=c}e=o}if(ps(e))return!e.getClientRects().length;if(s!=="legacy-full")return!0}else if(s==="non-zero-area")return at(e);return!1},ms=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var s=0;s=0)},bs=function a(e){var t=[],s=[];return e.forEach(function(n,r){var i=!!n.scopeParent,o=i?n.scopeParent:n,c=as(o,i),l=i?a(n.candidates):o;c===0?i?t.push.apply(t,l):t.push(o):s.push({documentOrder:r,tabIndex:c,item:n,isScope:i,content:l})}),s.sort(os).reduce(function(n,r){return r.isScope?n.push.apply(n,r.content):n.push(r.content),n},[]).concat(t)},ys=function(e,t){t=t||{};var s;return t.getShadowRoot?s=yt([e],t.includeContainer,{filter:$e.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:gs}):s=bt(e,t.includeContainer,$e.bind(null,t)),bs(s)},ws=function(e,t){t=t||{};var s;return t.getShadowRoot?s=yt([e],t.includeContainer,{filter:Fe.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):s=bt(e,t.includeContainer,Fe.bind(null,t)),s},ae=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return re.call(e,Te)===!1?!1:$e(t,e)},_s=mt.concat("iframe").join(","),Ae=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return re.call(e,_s)===!1?!1:Fe(t,e)};/*! * focus-trap 7.5.4 * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE -*/function ot(a,e){var t=Object.keys(a);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(a);e&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(a,n).enumerable})),t.push.apply(t,s)}return t}function ct(a){for(var e=1;e0){var s=e[e.length-1];s!==t&&s.pause()}var n=e.indexOf(t);n===-1||e.splice(n,1),e.push(t)},deactivateTrap:function(e,t){var s=e.indexOf(t);s!==-1&&e.splice(s,1),e.length>0&&e[e.length-1].unpause()}},Is=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Ts=function(e){return(e==null?void 0:e.key)==="Escape"||(e==null?void 0:e.key)==="Esc"||(e==null?void 0:e.keyCode)===27},ve=function(e){return(e==null?void 0:e.key)==="Tab"||(e==null?void 0:e.keyCode)===9},Ns=function(e){return ve(e)&&!e.shiftKey},ks=function(e){return ve(e)&&e.shiftKey},ut=function(e){return setTimeout(e,0)},dt=function(e,t){var s=-1;return e.every(function(n,r){return t(n)?(s=r,!1):!0}),s},pe=function(e){for(var t=arguments.length,s=new Array(t>1?t-1:0),n=1;n1?m-1:0),E=1;E=0)u=s.activeElement;else{var d=i.tabbableGroups[0],m=d&&d.firstTabbableNode;u=m||h("fallbackFocus")}if(!u)throw new Error("Your focus-trap needs to have at least one focusable element");return u},v=function(){if(i.containerGroups=i.containers.map(function(u){var d=ys(u,r.tabbableOptions),m=ws(u,r.tabbableOptions),S=d.length>0?d[0]:void 0,E=d.length>0?d[d.length-1]:void 0,k=m.find(function(p){return ae(p)}),F=m.slice().reverse().find(function(p){return ae(p)}),M=!!d.find(function(p){return ie(p)>0});return{container:u,tabbableNodes:d,focusableNodes:m,posTabIndexesFound:M,firstTabbableNode:S,lastTabbableNode:E,firstDomTabbableNode:k,lastDomTabbableNode:F,nextTabbableNode:function(g){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,O=d.indexOf(g);return O<0?N?m.slice(m.indexOf(g)+1).find(function(P){return ae(P)}):m.slice(0,m.indexOf(g)).reverse().find(function(P){return ae(P)}):d[O+(N?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(u){return u.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!h("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(u){return u.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},y=function I(u){var d=u.activeElement;if(d)return d.shadowRoot&&d.shadowRoot.activeElement!==null?I(d.shadowRoot):d},w=function I(u){if(u!==!1&&u!==y(document)){if(!u||!u.focus){I(f());return}u.focus({preventScroll:!!r.preventScroll}),i.mostRecentlyFocusedNode=u,Is(u)&&u.select()}},b=function(u){var d=h("setReturnFocus",u);return d||(d===!1?!1:u)},x=function(u){var d=u.target,m=u.event,S=u.isBackward,E=S===void 0?!1:S;d=d||xe(m),v();var k=null;if(i.tabbableGroups.length>0){var F=l(d,m),M=F>=0?i.containerGroups[F]:void 0;if(F<0)E?k=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:k=i.tabbableGroups[0].firstTabbableNode;else if(E){var p=dt(i.tabbableGroups,function(T){var L=T.firstTabbableNode;return d===L});if(p<0&&(M.container===d||Ae(d,r.tabbableOptions)&&!ae(d,r.tabbableOptions)&&!M.nextTabbableNode(d,!1))&&(p=F),p>=0){var g=p===0?i.tabbableGroups.length-1:p-1,N=i.tabbableGroups[g];k=ie(d)>=0?N.lastTabbableNode:N.lastDomTabbableNode}else ve(m)||(k=M.nextTabbableNode(d,!1))}else{var O=dt(i.tabbableGroups,function(T){var L=T.lastTabbableNode;return d===L});if(O<0&&(M.container===d||Ae(d,r.tabbableOptions)&&!ae(d,r.tabbableOptions)&&!M.nextTabbableNode(d))&&(O=F),O>=0){var P=O===i.tabbableGroups.length-1?0:O+1,j=i.tabbableGroups[P];k=ie(d)>=0?j.firstTabbableNode:j.firstDomTabbableNode}else ve(m)||(k=M.nextTabbableNode(d))}}else k=h("fallbackFocus");return k},C=function(u){var d=xe(u);if(!(l(d,u)>=0)){if(pe(r.clickOutsideDeactivates,u)){o.deactivate({returnFocus:r.returnFocusOnDeactivate});return}pe(r.allowOutsideClick,u)||u.preventDefault()}},R=function(u){var d=xe(u),m=l(d,u)>=0;if(m||d instanceof Document)m&&(i.mostRecentlyFocusedNode=d);else{u.stopImmediatePropagation();var S,E=!0;if(i.mostRecentlyFocusedNode)if(ie(i.mostRecentlyFocusedNode)>0){var k=l(i.mostRecentlyFocusedNode),F=i.containerGroups[k].tabbableNodes;if(F.length>0){var M=F.findIndex(function(p){return p===i.mostRecentlyFocusedNode});M>=0&&(r.isKeyForward(i.recentNavEvent)?M+1=0&&(S=F[M-1],E=!1))}}else i.containerGroups.some(function(p){return p.tabbableNodes.some(function(g){return ie(g)>0})})||(E=!1);else E=!1;E&&(S=x({target:i.mostRecentlyFocusedNode,isBackward:r.isKeyBackward(i.recentNavEvent)})),w(S||i.mostRecentlyFocusedNode||f())}i.recentNavEvent=void 0},W=function(u){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=u;var m=x({event:u,isBackward:d});m&&(ve(u)&&u.preventDefault(),w(m))},J=function(u){if(Ts(u)&&pe(r.escapeDeactivates,u)!==!1){u.preventDefault(),o.deactivate();return}(r.isKeyForward(u)||r.isKeyBackward(u))&&W(u,r.isKeyBackward(u))},V=function(u){var d=xe(u);l(d,u)>=0||pe(r.clickOutsideDeactivates,u)||pe(r.allowOutsideClick,u)||(u.preventDefault(),u.stopImmediatePropagation())},U=function(){if(i.active)return lt.activateTrap(n,o),i.delayInitialFocusTimer=r.delayInitialFocus?ut(function(){w(f())}):w(f()),s.addEventListener("focusin",R,!0),s.addEventListener("mousedown",C,{capture:!0,passive:!1}),s.addEventListener("touchstart",C,{capture:!0,passive:!1}),s.addEventListener("click",V,{capture:!0,passive:!1}),s.addEventListener("keydown",J,{capture:!0,passive:!1}),o},q=function(){if(i.active)return s.removeEventListener("focusin",R,!0),s.removeEventListener("mousedown",C,!0),s.removeEventListener("touchstart",C,!0),s.removeEventListener("click",V,!0),s.removeEventListener("keydown",J,!0),o},Re=function(u){var d=u.some(function(m){var S=Array.from(m.removedNodes);return S.some(function(E){return E===i.mostRecentlyFocusedNode})});d&&w(f())},A=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(Re):void 0,K=function(){A&&(A.disconnect(),i.active&&!i.paused&&i.containers.map(function(u){A.observe(u,{subtree:!0,childList:!0})}))};return o={get active(){return i.active},get paused(){return i.paused},activate:function(u){if(i.active)return this;var d=c(u,"onActivate"),m=c(u,"onPostActivate"),S=c(u,"checkCanFocusTrap");S||v(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=s.activeElement,d==null||d();var E=function(){S&&v(),U(),K(),m==null||m()};return S?(S(i.containers.concat()).then(E,E),this):(E(),this)},deactivate:function(u){if(!i.active)return this;var d=ct({onDeactivate:r.onDeactivate,onPostDeactivate:r.onPostDeactivate,checkCanReturnFocus:r.checkCanReturnFocus},u);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,q(),i.active=!1,i.paused=!1,K(),lt.deactivateTrap(n,o);var m=c(d,"onDeactivate"),S=c(d,"onPostDeactivate"),E=c(d,"checkCanReturnFocus"),k=c(d,"returnFocus","returnFocusOnDeactivate");m==null||m();var F=function(){ut(function(){k&&w(b(i.nodeFocusedBeforeActivation)),S==null||S()})};return k&&E?(E(b(i.nodeFocusedBeforeActivation)).then(F,F),this):(F(),this)},pause:function(u){if(i.paused||!i.active)return this;var d=c(u,"onPause"),m=c(u,"onPostPause");return i.paused=!0,d==null||d(),q(),K(),m==null||m(),this},unpause:function(u){if(!i.paused||!i.active)return this;var d=c(u,"onUnpause"),m=c(u,"onPostUnpause");return i.paused=!1,d==null||d(),v(),U(),K(),m==null||m(),this},updateContainerElements:function(u){var d=[].concat(u).filter(Boolean);return i.containers=d.map(function(m){return typeof m=="string"?s.querySelector(m):m}),i.active&&v(),K(),this}},o.updateContainerElements(e),o};function Rs(a,e={}){let t;const{immediate:s,...n}=e,r=ne(!1),i=ne(!1),o=f=>t&&t.activate(f),c=f=>t&&t.deactivate(f),l=()=>{t&&(t.pause(),i.value=!0)},h=()=>{t&&(t.unpause(),i.value=!1)};return Ve(()=>Rt(a),f=>{f&&(t=Os(f,{...n,onActivate(){r.value=!0,e.onActivate&&e.onActivate()},onDeactivate(){r.value=!1,e.onDeactivate&&e.onDeactivate()}}),s&&o())},{flush:"post"}),Ct(()=>c()),{hasFocus:r,isPaused:i,activate:o,deactivate:c,pause:l,unpause:h}}class ce{constructor(e,t=!0,s=[],n=5e3){this.ctx=e,this.iframes=t,this.exclude=s,this.iframesTimeout=n}static matches(e,t){const s=typeof t=="string"?[t]:t,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let r=!1;return s.every(i=>n.call(e,i)?(r=!0,!1):!0),r}else return!1}getContexts(){let e,t=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(s=>{const n=t.filter(r=>r.contains(s)).length>0;t.indexOf(s)===-1&&!n&&t.push(s)}),t}getIframeContents(e,t,s=()=>{}){let n;try{const r=e.contentWindow;if(n=r.document,!r||!n)throw new Error("iframe inaccessible")}catch{s()}n&&t(n)}isIframeBlank(e){const t="about:blank",s=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&s!==t&&s}observeIframeLoad(e,t,s){let n=!1,r=null;const i=()=>{if(!n){n=!0,clearTimeout(r);try{this.isIframeBlank(e)||(e.removeEventListener("load",i),this.getIframeContents(e,t,s))}catch{s()}}};e.addEventListener("load",i),r=setTimeout(i,this.iframesTimeout)}onIframeReady(e,t,s){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,s):this.getIframeContents(e,t,s):this.observeIframeLoad(e,t,s)}catch{s()}}waitForIframes(e,t){let s=0;this.forEachIframe(e,()=>!0,n=>{s++,this.waitForIframes(n.querySelector("html"),()=>{--s||t()})},n=>{n||t()})}forEachIframe(e,t,s,n=()=>{}){let r=e.querySelectorAll("iframe"),i=r.length,o=0;r=Array.prototype.slice.call(r);const c=()=>{--i<=0&&n(o)};i||c(),r.forEach(l=>{ce.matches(l,this.exclude)?c():this.onIframeReady(l,h=>{t(l)&&(o++,s(h)),c()},c)})}createIterator(e,t,s){return document.createNodeIterator(e,t,s,!1)}createInstanceOnIframe(e){return new ce(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,s){const n=e.compareDocumentPosition(s),r=Node.DOCUMENT_POSITION_PRECEDING;if(n&r)if(t!==null){const i=t.compareDocumentPosition(s),o=Node.DOCUMENT_POSITION_FOLLOWING;if(i&o)return!0}else return!0;return!1}getIteratorNode(e){const t=e.previousNode();let s;return t===null?s=e.nextNode():s=e.nextNode()&&e.nextNode(),{prevNode:t,node:s}}checkIframeFilter(e,t,s,n){let r=!1,i=!1;return n.forEach((o,c)=>{o.val===s&&(r=c,i=o.handled)}),this.compareNodeIframe(e,t,s)?(r===!1&&!i?n.push({val:s,handled:!0}):r!==!1&&!i&&(n[r].handled=!0),!0):(r===!1&&n.push({val:s,handled:!1}),!1)}handleOpenIframes(e,t,s,n){e.forEach(r=>{r.handled||this.getIframeContents(r.val,i=>{this.createInstanceOnIframe(i).forEachNode(t,s,n)})})}iterateThroughNodes(e,t,s,n,r){const i=this.createIterator(t,e,n);let o=[],c=[],l,h,f=()=>({prevNode:h,node:l}=this.getIteratorNode(i),l);for(;f();)this.iframes&&this.forEachIframe(t,v=>this.checkIframeFilter(l,h,v,o),v=>{this.createInstanceOnIframe(v).forEachNode(e,y=>c.push(y),n)}),c.push(l);c.forEach(v=>{s(v)}),this.iframes&&this.handleOpenIframes(o,e,s,n),r()}forEachNode(e,t,s,n=()=>{}){const r=this.getContexts();let i=r.length;i||n(),r.forEach(o=>{const c=()=>{this.iterateThroughNodes(e,o,t,s,()=>{--i<=0&&n()})};this.iframes?this.waitForIframes(o,c):c()})}}let Cs=class{constructor(e){this.ctx=e,this.ie=!1;const t=window.navigator.userAgent;(t.indexOf("MSIE")>-1||t.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new ce(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){const s=this.opt.log;this.opt.debug&&typeof s=="object"&&typeof s[t]=="function"&&s[t](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){const t=this.opt.synonyms,s=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let r in t)if(t.hasOwnProperty(r)){const i=t[r],o=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(r):this.escapeStr(r),c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i);o!==""&&c!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(o)}|${this.escapeStr(c)})`,`gm${s}`),n+`(${this.processSynomyms(o)}|${this.processSynomyms(c)})`+n))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,s,n)=>{let r=n.charAt(s+1);return/[(|)\\]/.test(r)||r===""?t:t+"\0"})}createJoinersRegExp(e){let t=[];const s=this.opt.ignorePunctuation;return Array.isArray(s)&&s.length&&t.push(this.escapeStr(s.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){const t=this.opt.caseSensitive?"":"i",s=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let n=[];return e.split("").forEach(r=>{s.every(i=>{if(i.indexOf(r)!==-1){if(n.indexOf(i)>-1)return!1;e=e.replace(new RegExp(`[${i}]`,`gm${t}`),`[${i}]`),n.push(i)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){const t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿";let s=this.opt.accuracy,n=typeof s=="string"?s:s.value,r=typeof s=="string"?[]:s.limiters,i="";switch(r.forEach(o=>{i+=`|${this.escapeStr(o)}`}),n){case"partially":default:return`()(${e})`;case"complementary":return i="\\s"+(i||this.escapeStr(t)),`()([^${i}]*${e}[^${i}]*)`;case"exactly":return`(^|\\s${i})(${e})(?=$|\\s${i})`}}getSeparatedKeywords(e){let t=[];return e.forEach(s=>{this.opt.separateWordSearch?s.split(" ").forEach(n=>{n.trim()&&t.indexOf(n)===-1&&t.push(n)}):s.trim()&&t.indexOf(s)===-1&&t.push(s)}),{keywords:t.sort((s,n)=>n.length-s.length),length:t.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];const t=[];let s=0;return e.sort((n,r)=>n.start-r.start).forEach(n=>{let{start:r,end:i,valid:o}=this.callNoMatchOnInvalidRanges(n,s);o&&(n.start=r,n.length=i-r,t.push(n),s=i)}),t}callNoMatchOnInvalidRanges(e,t){let s,n,r=!1;return e&&typeof e.start<"u"?(s=parseInt(e.start,10),n=s+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-t>0&&n-s>0?r=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:s,end:n,valid:r}}checkWhitespaceRanges(e,t,s){let n,r=!0,i=s.length,o=t-i,c=parseInt(e.start,10)-o;return c=c>i?i:c,n=c+parseInt(e.length,10),n>i&&(n=i,this.log(`End range automatically set to the max value of ${i}`)),c<0||n-c<0||c>i||n>i?(r=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):s.substring(c,n).replace(/\s+/g,"")===""&&(r=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:c,end:n,valid:r}}getTextNodes(e){let t="",s=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{s.push({start:t.length,end:(t+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:s})})}matchesExclude(e){return ce.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,s){const n=this.opt.element?this.opt.element:"mark",r=e.splitText(t),i=r.splitText(s-t);let o=document.createElement(n);return o.setAttribute("data-markjs","true"),this.opt.className&&o.setAttribute("class",this.opt.className),o.textContent=r.textContent,r.parentNode.replaceChild(o,r),i}wrapRangeInMappedTextNode(e,t,s,n,r){e.nodes.every((i,o)=>{const c=e.nodes[o+1];if(typeof c>"u"||c.start>t){if(!n(i.node))return!1;const l=t-i.start,h=(s>i.end?i.end:s)-i.start,f=e.value.substr(0,i.start),v=e.value.substr(h+i.start);if(i.node=this.wrapRangeInTextNode(i.node,l,h),e.value=f+v,e.nodes.forEach((y,w)=>{w>=o&&(e.nodes[w].start>0&&w!==o&&(e.nodes[w].start-=h),e.nodes[w].end-=h)}),s-=h,r(i.node.previousSibling,i.start),s>i.end)t=i.end;else return!1}return!0})}wrapMatches(e,t,s,n,r){const i=t===0?0:t+1;this.getTextNodes(o=>{o.nodes.forEach(c=>{c=c.node;let l;for(;(l=e.exec(c.textContent))!==null&&l[i]!=="";){if(!s(l[i],c))continue;let h=l.index;if(i!==0)for(let f=1;f{let c;for(;(c=e.exec(o.value))!==null&&c[i]!=="";){let l=c.index;if(i!==0)for(let f=1;fs(c[i],f),(f,v)=>{e.lastIndex=v,n(f)})}r()})}wrapRangeFromIndex(e,t,s,n){this.getTextNodes(r=>{const i=r.value.length;e.forEach((o,c)=>{let{start:l,end:h,valid:f}=this.checkWhitespaceRanges(o,i,r.value);f&&this.wrapRangeInMappedTextNode(r,l,h,v=>t(v,o,r.value.substring(l,h),c),v=>{s(v,o)})}),n()})}unwrapMatches(e){const t=e.parentNode;let s=document.createDocumentFragment();for(;e.firstChild;)s.appendChild(e.removeChild(e.firstChild));t.replaceChild(s,e),this.ie?this.normalizeTextNode(t):t.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,t){this.opt=t,this.log(`Searching with expression "${e}"`);let s=0,n="wrapMatches";const r=i=>{s++,this.opt.each(i)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(i,o)=>this.opt.filter(o,i,s),r,()=>{s===0&&this.opt.noMatch(e),this.opt.done(s)})}mark(e,t){this.opt=t;let s=0,n="wrapMatches";const{keywords:r,length:i}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),o=this.opt.caseSensitive?"":"i",c=l=>{let h=new RegExp(this.createRegExp(l),`gm${o}`),f=0;this.log(`Searching with expression "${h}"`),this[n](h,1,(v,y)=>this.opt.filter(y,l,s,f),v=>{f++,s++,this.opt.each(v)},()=>{f===0&&this.opt.noMatch(l),r[i-1]===l?this.opt.done(s):c(r[r.indexOf(l)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),i===0?this.opt.done(s):c(r[0])}markRanges(e,t){this.opt=t;let s=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(r,i,o,c)=>this.opt.filter(r,i,o,c),(r,i)=>{s++,this.opt.each(r,i)},()=>{this.opt.done(s)})):this.opt.done(s)}unmark(e){this.opt=e;let t=this.opt.element?this.opt.element:"*";t+="[data-markjs]",this.opt.className&&(t+=`.${this.opt.className}`),this.log(`Removal selector "${t}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,s=>{this.unwrapMatches(s)},s=>{const n=ce.matches(s,t),r=this.matchesExclude(s);return!n||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Ms(a){const e=new Cs(a);return this.mark=(t,s)=>(e.mark(t,s),this),this.markRegExp=(t,s)=>(e.markRegExp(t,s),this),this.markRanges=(t,s)=>(e.markRanges(t,s),this),this.unmark=t=>(e.unmark(t),this),this}function Ie(a,e,t,s){function n(r){return r instanceof t?r:new t(function(i){i(r)})}return new(t||(t=Promise))(function(r,i){function o(h){try{l(s.next(h))}catch(f){i(f)}}function c(h){try{l(s.throw(h))}catch(f){i(f)}}function l(h){h.done?r(h.value):n(h.value).then(o,c)}l((s=s.apply(a,[])).next())})}const As="ENTRIES",xt="KEYS",St="VALUES",z="";class Le{constructor(e,t){const s=e._tree,n=Array.from(s.keys());this.set=e,this._type=t,this._path=n.length>0?[{node:s,keys:n}]:[]}next(){const e=this.dive();return this.backtrack(),e}dive(){if(this._path.length===0)return{done:!0,value:void 0};const{node:e,keys:t}=oe(this._path);if(oe(t)===z)return{done:!1,value:this.result()};const s=e.get(oe(t));return this._path.push({node:s,keys:Array.from(s.keys())}),this.dive()}backtrack(){if(this._path.length===0)return;const e=oe(this._path).keys;e.pop(),!(e.length>0)&&(this._path.pop(),this.backtrack())}key(){return this.set._prefix+this._path.map(({keys:e})=>oe(e)).filter(e=>e!==z).join("")}value(){return oe(this._path).node.get(z)}result(){switch(this._type){case St:return this.value();case xt:return this.key();default:return[this.key(),this.value()]}}[Symbol.iterator](){return this}}const oe=a=>a[a.length-1],Ls=(a,e,t)=>{const s=new Map;if(e===void 0)return s;const n=e.length+1,r=n+t,i=new Uint8Array(r*n).fill(t+1);for(let o=0;o{const c=r*i;e:for(const l of a.keys())if(l===z){const h=n[c-1];h<=t&&s.set(o,[a.get(l),h])}else{let h=r;for(let f=0;ft)continue e}Et(a.get(l),e,t,s,n,h,i,o+l)}};class X{constructor(e=new Map,t=""){this._size=void 0,this._tree=e,this._prefix=t}atPrefix(e){if(!e.startsWith(this._prefix))throw new Error("Mismatched prefix");const[t,s]=Oe(this._tree,e.slice(this._prefix.length));if(t===void 0){const[n,r]=Je(s);for(const i of n.keys())if(i!==z&&i.startsWith(r)){const o=new Map;return o.set(i.slice(r.length),n.get(i)),new X(o,e)}}return new X(t,e)}clear(){this._size=void 0,this._tree.clear()}delete(e){return this._size=void 0,Ds(this._tree,e)}entries(){return new Le(this,As)}forEach(e){for(const[t,s]of this)e(t,s,this)}fuzzyGet(e,t){return Ls(this._tree,e,t)}get(e){const t=Be(this._tree,e);return t!==void 0?t.get(z):void 0}has(e){const t=Be(this._tree,e);return t!==void 0&&t.has(z)}keys(){return new Le(this,xt)}set(e,t){if(typeof e!="string")throw new Error("key must be a string");return this._size=void 0,De(this._tree,e).set(z,t),this}get size(){if(this._size)return this._size;this._size=0;const e=this.entries();for(;!e.next().done;)this._size+=1;return this._size}update(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;const s=De(this._tree,e);return s.set(z,t(s.get(z))),this}fetch(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;const s=De(this._tree,e);let n=s.get(z);return n===void 0&&s.set(z,n=t()),n}values(){return new Le(this,St)}[Symbol.iterator](){return this.entries()}static from(e){const t=new X;for(const[s,n]of e)t.set(s,n);return t}static fromObject(e){return X.from(Object.entries(e))}}const Oe=(a,e,t=[])=>{if(e.length===0||a==null)return[a,t];for(const s of a.keys())if(s!==z&&e.startsWith(s))return t.push([a,s]),Oe(a.get(s),e.slice(s.length),t);return t.push([a,e]),Oe(void 0,"",t)},Be=(a,e)=>{if(e.length===0||a==null)return a;for(const t of a.keys())if(t!==z&&e.startsWith(t))return Be(a.get(t),e.slice(t.length))},De=(a,e)=>{const t=e.length;e:for(let s=0;a&&s{const[t,s]=Oe(a,e);if(t!==void 0){if(t.delete(z),t.size===0)It(s);else if(t.size===1){const[n,r]=t.entries().next().value;Tt(s,n,r)}}},It=a=>{if(a.length===0)return;const[e,t]=Je(a);if(e.delete(t),e.size===0)It(a.slice(0,-1));else if(e.size===1){const[s,n]=e.entries().next().value;s!==z&&Tt(a.slice(0,-1),s,n)}},Tt=(a,e,t)=>{if(a.length===0)return;const[s,n]=Je(a);s.set(n+e,t),s.delete(n)},Je=a=>a[a.length-1],Ue="or",Nt="and",zs="and_not";class le{constructor(e){if((e==null?void 0:e.fields)==null)throw new Error('MiniSearch: option "fields" must be provided');const t=e.autoVacuum==null||e.autoVacuum===!0?je:e.autoVacuum;this._options=Object.assign(Object.assign(Object.assign({},Pe),e),{autoVacuum:t,searchOptions:Object.assign(Object.assign({},ht),e.searchOptions||{}),autoSuggestOptions:Object.assign(Object.assign({},Bs),e.autoSuggestOptions||{})}),this._index=new X,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldIds={},this._fieldLength=new Map,this._avgFieldLength=[],this._nextId=0,this._storedFields=new Map,this._dirtCount=0,this._currentVacuum=null,this._enqueuedVacuum=null,this._enqueuedVacuumConditions=Ke,this.addFields(this._options.fields)}add(e){const{extractField:t,tokenize:s,processTerm:n,fields:r,idField:i}=this._options,o=t(e,i);if(o==null)throw new Error(`MiniSearch: document does not have ID field "${i}"`);if(this._idToShortId.has(o))throw new Error(`MiniSearch: duplicate ID ${o}`);const c=this.addDocumentId(o);this.saveStoredFields(c,e);for(const l of r){const h=t(e,l);if(h==null)continue;const f=s(h.toString(),l),v=this._fieldIds[l],y=new Set(f).size;this.addFieldLength(c,v,this._documentCount-1,y);for(const w of f){const b=n(w,l);if(Array.isArray(b))for(const x of b)this.addTerm(v,c,x);else b&&this.addTerm(v,c,b)}}}addAll(e){for(const t of e)this.add(t)}addAllAsync(e,t={}){const{chunkSize:s=10}=t,n={chunk:[],promise:Promise.resolve()},{chunk:r,promise:i}=e.reduce(({chunk:o,promise:c},l,h)=>(o.push(l),(h+1)%s===0?{chunk:[],promise:c.then(()=>new Promise(f=>setTimeout(f,0))).then(()=>this.addAll(o))}:{chunk:o,promise:c}),n);return i.then(()=>this.addAll(r))}remove(e){const{tokenize:t,processTerm:s,extractField:n,fields:r,idField:i}=this._options,o=n(e,i);if(o==null)throw new Error(`MiniSearch: document does not have ID field "${i}"`);const c=this._idToShortId.get(o);if(c==null)throw new Error(`MiniSearch: cannot remove document with ID ${o}: it is not in the index`);for(const l of r){const h=n(e,l);if(h==null)continue;const f=t(h.toString(),l),v=this._fieldIds[l],y=new Set(f).size;this.removeFieldLength(c,v,this._documentCount,y);for(const w of f){const b=s(w,l);if(Array.isArray(b))for(const x of b)this.removeTerm(v,c,x);else b&&this.removeTerm(v,c,b)}}this._storedFields.delete(c),this._documentIds.delete(c),this._idToShortId.delete(o),this._fieldLength.delete(c),this._documentCount-=1}removeAll(e){if(e)for(const t of e)this.remove(t);else{if(arguments.length>0)throw new Error("Expected documents to be present. Omit the argument to remove all documents.");this._index=new X,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldLength=new Map,this._avgFieldLength=[],this._storedFields=new Map,this._nextId=0}}discard(e){const t=this._idToShortId.get(e);if(t==null)throw new Error(`MiniSearch: cannot discard document with ID ${e}: it is not in the index`);this._idToShortId.delete(e),this._documentIds.delete(t),this._storedFields.delete(t),(this._fieldLength.get(t)||[]).forEach((s,n)=>{this.removeFieldLength(t,n,this._documentCount,s)}),this._fieldLength.delete(t),this._documentCount-=1,this._dirtCount+=1,this.maybeAutoVacuum()}maybeAutoVacuum(){if(this._options.autoVacuum===!1)return;const{minDirtFactor:e,minDirtCount:t,batchSize:s,batchWait:n}=this._options.autoVacuum;this.conditionalVacuum({batchSize:s,batchWait:n},{minDirtCount:t,minDirtFactor:e})}discardAll(e){const t=this._options.autoVacuum;try{this._options.autoVacuum=!1;for(const s of e)this.discard(s)}finally{this._options.autoVacuum=t}this.maybeAutoVacuum()}replace(e){const{idField:t,extractField:s}=this._options,n=s(e,t);this.discard(n),this.add(e)}vacuum(e={}){return this.conditionalVacuum(e)}conditionalVacuum(e,t){return this._currentVacuum?(this._enqueuedVacuumConditions=this._enqueuedVacuumConditions&&t,this._enqueuedVacuum!=null?this._enqueuedVacuum:(this._enqueuedVacuum=this._currentVacuum.then(()=>{const s=this._enqueuedVacuumConditions;return this._enqueuedVacuumConditions=Ke,this.performVacuuming(e,s)}),this._enqueuedVacuum)):this.vacuumConditionsMet(t)===!1?Promise.resolve():(this._currentVacuum=this.performVacuuming(e),this._currentVacuum)}performVacuuming(e,t){return Ie(this,void 0,void 0,function*(){const s=this._dirtCount;if(this.vacuumConditionsMet(t)){const n=e.batchSize||We.batchSize,r=e.batchWait||We.batchWait;let i=1;for(const[o,c]of this._index){for(const[l,h]of c)for(const[f]of h)this._documentIds.has(f)||(h.size<=1?c.delete(l):h.delete(f));this._index.get(o).size===0&&this._index.delete(o),i%n===0&&(yield new Promise(l=>setTimeout(l,r))),i+=1}this._dirtCount-=s}yield null,this._currentVacuum=this._enqueuedVacuum,this._enqueuedVacuum=null})}vacuumConditionsMet(e){if(e==null)return!0;let{minDirtCount:t,minDirtFactor:s}=e;return t=t||je.minDirtCount,s=s||je.minDirtFactor,this.dirtCount>=t&&this.dirtFactor>=s}get isVacuuming(){return this._currentVacuum!=null}get dirtCount(){return this._dirtCount}get dirtFactor(){return this._dirtCount/(1+this._documentCount+this._dirtCount)}has(e){return this._idToShortId.has(e)}getStoredFields(e){const t=this._idToShortId.get(e);if(t!=null)return this._storedFields.get(t)}search(e,t={}){const s=this.executeQuery(e,t),n=[];for(const[r,{score:i,terms:o,match:c}]of s){const l=o.length||1,h={id:this._documentIds.get(r),score:i*l,terms:Object.keys(c),queryTerms:o,match:c};Object.assign(h,this._storedFields.get(r)),(t.filter==null||t.filter(h))&&n.push(h)}return e===le.wildcard&&t.boostDocument==null&&this._options.searchOptions.boostDocument==null||n.sort(pt),n}autoSuggest(e,t={}){t=Object.assign(Object.assign({},this._options.autoSuggestOptions),t);const s=new Map;for(const{score:r,terms:i}of this.search(e,t)){const o=i.join(" "),c=s.get(o);c!=null?(c.score+=r,c.count+=1):s.set(o,{score:r,terms:i,count:1})}const n=[];for(const[r,{score:i,terms:o,count:c}]of s)n.push({suggestion:r,terms:o,score:i/c});return n.sort(pt),n}get documentCount(){return this._documentCount}get termCount(){return this._index.size}static loadJSON(e,t){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJS(JSON.parse(e),t)}static loadJSONAsync(e,t){return Ie(this,void 0,void 0,function*(){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJSAsync(JSON.parse(e),t)})}static getDefault(e){if(Pe.hasOwnProperty(e))return ze(Pe,e);throw new Error(`MiniSearch: unknown option "${e}"`)}static loadJS(e,t){const{index:s,documentIds:n,fieldLength:r,storedFields:i,serializationVersion:o}=e,c=this.instantiateMiniSearch(e,t);c._documentIds=Se(n),c._fieldLength=Se(r),c._storedFields=Se(i);for(const[l,h]of c._documentIds)c._idToShortId.set(h,l);for(const[l,h]of s){const f=new Map;for(const v of Object.keys(h)){let y=h[v];o===1&&(y=y.ds),f.set(parseInt(v,10),Se(y))}c._index.set(l,f)}return c}static loadJSAsync(e,t){return Ie(this,void 0,void 0,function*(){const{index:s,documentIds:n,fieldLength:r,storedFields:i,serializationVersion:o}=e,c=this.instantiateMiniSearch(e,t);c._documentIds=yield Ee(n),c._fieldLength=yield Ee(r),c._storedFields=yield Ee(i);for(const[h,f]of c._documentIds)c._idToShortId.set(f,h);let l=0;for(const[h,f]of s){const v=new Map;for(const y of Object.keys(f)){let w=f[y];o===1&&(w=w.ds),v.set(parseInt(y,10),yield Ee(w))}++l%1e3===0&&(yield kt(0)),c._index.set(h,v)}return c})}static instantiateMiniSearch(e,t){const{documentCount:s,nextId:n,fieldIds:r,averageFieldLength:i,dirtCount:o,serializationVersion:c}=e;if(c!==1&&c!==2)throw new Error("MiniSearch: cannot deserialize an index created with an incompatible version");const l=new le(t);return l._documentCount=s,l._nextId=n,l._idToShortId=new Map,l._fieldIds=r,l._avgFieldLength=i,l._dirtCount=o||0,l._index=new X,l}executeQuery(e,t={}){if(e===le.wildcard)return this.executeWildcardQuery(t);if(typeof e!="string"){const v=Object.assign(Object.assign(Object.assign({},t),e),{queries:void 0}),y=e.queries.map(w=>this.executeQuery(w,v));return this.combineResults(y,v.combineWith)}const{tokenize:s,processTerm:n,searchOptions:r}=this._options,i=Object.assign(Object.assign({tokenize:s,processTerm:n},r),t),{tokenize:o,processTerm:c}=i,f=o(e).flatMap(v=>c(v)).filter(v=>!!v).map($s(i)).map(v=>this.executeQuerySpec(v,i));return this.combineResults(f,i.combineWith)}executeQuerySpec(e,t){const s=Object.assign(Object.assign({},this._options.searchOptions),t),n=(s.fields||this._options.fields).reduce((b,x)=>Object.assign(Object.assign({},b),{[x]:ze(s.boost,x)||1}),{}),{boostDocument:r,weights:i,maxFuzzy:o,bm25:c}=s,{fuzzy:l,prefix:h}=Object.assign(Object.assign({},ht.weights),i),f=this._index.get(e.term),v=this.termResults(e.term,e.term,1,f,n,r,c);let y,w;if(e.prefix&&(y=this._index.atPrefix(e.term)),e.fuzzy){const b=e.fuzzy===!0?.2:e.fuzzy,x=b<1?Math.min(o,Math.round(e.term.length*b)):b;x&&(w=this._index.fuzzyGet(e.term,x))}if(y)for(const[b,x]of y){const C=b.length-e.term.length;if(!C)continue;w==null||w.delete(b);const R=h*b.length/(b.length+.3*C);this.termResults(e.term,b,R,x,n,r,c,v)}if(w)for(const b of w.keys()){const[x,C]=w.get(b);if(!C)continue;const R=l*b.length/(b.length+C);this.termResults(e.term,b,R,x,n,r,c,v)}return v}executeWildcardQuery(e){const t=new Map,s=Object.assign(Object.assign({},this._options.searchOptions),e);for(const[n,r]of this._documentIds){const i=s.boostDocument?s.boostDocument(r,"",this._storedFields.get(n)):1;t.set(n,{score:i,terms:[],match:{}})}return t}combineResults(e,t=Ue){if(e.length===0)return new Map;const s=t.toLowerCase(),n=Ps[s];if(!n)throw new Error(`Invalid combination operator: ${t}`);return e.reduce(n)||new Map}toJSON(){const e=[];for(const[t,s]of this._index){const n={};for(const[r,i]of s)n[r]=Object.fromEntries(i);e.push([t,n])}return{documentCount:this._documentCount,nextId:this._nextId,documentIds:Object.fromEntries(this._documentIds),fieldIds:this._fieldIds,fieldLength:Object.fromEntries(this._fieldLength),averageFieldLength:this._avgFieldLength,storedFields:Object.fromEntries(this._storedFields),dirtCount:this._dirtCount,index:e,serializationVersion:2}}termResults(e,t,s,n,r,i,o,c=new Map){if(n==null)return c;for(const l of Object.keys(r)){const h=r[l],f=this._fieldIds[l],v=n.get(f);if(v==null)continue;let y=v.size;const w=this._avgFieldLength[f];for(const b of v.keys()){if(!this._documentIds.has(b)){this.removeTerm(f,b,t),y-=1;continue}const x=i?i(this._documentIds.get(b),t,this._storedFields.get(b)):1;if(!x)continue;const C=v.get(b),R=this._fieldLength.get(b)[f],W=Vs(C,y,this._documentCount,R,w,o),J=s*h*x*W,V=c.get(b);if(V){V.score+=J,Ws(V.terms,e);const U=ze(V.match,t);U?U.push(l):V.match[t]=[l]}else c.set(b,{score:J,terms:[e],match:{[t]:[l]}})}}return c}addTerm(e,t,s){const n=this._index.fetch(s,vt);let r=n.get(e);if(r==null)r=new Map,r.set(t,1),n.set(e,r);else{const i=r.get(t);r.set(t,(i||0)+1)}}removeTerm(e,t,s){if(!this._index.has(s)){this.warnDocumentChanged(t,e,s);return}const n=this._index.fetch(s,vt),r=n.get(e);r==null||r.get(t)==null?this.warnDocumentChanged(t,e,s):r.get(t)<=1?r.size<=1?n.delete(e):r.delete(t):r.set(t,r.get(t)-1),this._index.get(s).size===0&&this._index.delete(s)}warnDocumentChanged(e,t,s){for(const n of Object.keys(this._fieldIds))if(this._fieldIds[n]===t){this._options.logger("warn",`MiniSearch: document with ID ${this._documentIds.get(e)} has changed before removal: term "${s}" was not present in field "${n}". Removing a document after it has changed can corrupt the index!`,"version_conflict");return}}addDocumentId(e){const t=this._nextId;return this._idToShortId.set(e,t),this._documentIds.set(t,e),this._documentCount+=1,this._nextId+=1,t}addFields(e){for(let t=0;tObject.prototype.hasOwnProperty.call(a,e)?a[e]:void 0,Ps={[Ue]:(a,e)=>{for(const t of e.keys()){const s=a.get(t);if(s==null)a.set(t,e.get(t));else{const{score:n,terms:r,match:i}=e.get(t);s.score=s.score+n,s.match=Object.assign(s.match,i),ft(s.terms,r)}}return a},[Nt]:(a,e)=>{const t=new Map;for(const s of e.keys()){const n=a.get(s);if(n==null)continue;const{score:r,terms:i,match:o}=e.get(s);ft(n.terms,i),t.set(s,{score:n.score+r,terms:n.terms,match:Object.assign(n.match,o)})}return t},[zs]:(a,e)=>{for(const t of e.keys())a.delete(t);return a}},js={k:1.2,b:.7,d:.5},Vs=(a,e,t,s,n,r)=>{const{k:i,b:o,d:c}=r;return Math.log(1+(t-e+.5)/(e+.5))*(c+a*(i+1)/(a+i*(1-o+o*s/n)))},$s=a=>(e,t,s)=>{const n=typeof a.fuzzy=="function"?a.fuzzy(e,t,s):a.fuzzy||!1,r=typeof a.prefix=="function"?a.prefix(e,t,s):a.prefix===!0;return{term:e,fuzzy:n,prefix:r}},Pe={idField:"id",extractField:(a,e)=>a[e],tokenize:a=>a.split(Ks),processTerm:a=>a.toLowerCase(),fields:void 0,searchOptions:void 0,storeFields:[],logger:(a,e)=>{typeof(console==null?void 0:console[a])=="function"&&console[a](e)},autoVacuum:!0},ht={combineWith:Ue,prefix:!1,fuzzy:!1,maxFuzzy:6,boost:{},weights:{fuzzy:.45,prefix:.375},bm25:js},Bs={combineWith:Nt,prefix:(a,e,t)=>e===t.length-1},We={batchSize:1e3,batchWait:10},Ke={minDirtFactor:.1,minDirtCount:20},je=Object.assign(Object.assign({},We),Ke),Ws=(a,e)=>{a.includes(e)||a.push(e)},ft=(a,e)=>{for(const t of e)a.includes(t)||a.push(t)},pt=({score:a},{score:e})=>e-a,vt=()=>new Map,Se=a=>{const e=new Map;for(const t of Object.keys(a))e.set(parseInt(t,10),a[t]);return e},Ee=a=>Ie(void 0,void 0,void 0,function*(){const e=new Map;let t=0;for(const s of Object.keys(a))e.set(parseInt(s,10),a[s]),++t%1e3===0&&(yield kt(0));return e}),kt=a=>new Promise(e=>setTimeout(e,a)),Ks=/[\n\r\p{Z}\p{P}]/u;class Js{constructor(e=10){Ce(this,"max");Ce(this,"cache");this.max=e,this.cache=new Map}get(e){let t=this.cache.get(e);return t!==void 0&&(this.cache.delete(e),this.cache.set(e,t)),t}set(e,t){this.cache.has(e)?this.cache.delete(e):this.cache.size===this.max&&this.cache.delete(this.first()),this.cache.set(e,t)}first(){return this.cache.keys().next().value}clear(){this.cache.clear()}}const B=a=>(Qt("data-v-639d7ab9"),a=a(),Ht(),a),Us=["aria-owns"],qs={class:"shell"},Gs=["title"],Qs=B(()=>_("span",{"aria-hidden":"true",class:"vpi-search search-icon local-search-icon"},null,-1)),Hs=[Qs],Ys={class:"search-actions before"},Zs=["title"],Xs=B(()=>_("span",{class:"vpi-arrow-left local-search-icon"},null,-1)),en=[Xs],tn=["placeholder"],sn={class:"search-actions"},nn=["title"],rn=B(()=>_("span",{class:"vpi-layout-list local-search-icon"},null,-1)),an=[rn],on=["disabled","title"],cn=B(()=>_("span",{class:"vpi-delete local-search-icon"},null,-1)),ln=[cn],un=["id","role","aria-labelledby"],dn=["aria-selected"],hn=["href","aria-label","onMouseenter","onFocusin"],fn={class:"titles"},pn=B(()=>_("span",{class:"title-icon"},"#",-1)),vn=["innerHTML"],mn=B(()=>_("span",{class:"vpi-chevron-right local-search-icon"},null,-1)),gn={class:"title main"},bn=["innerHTML"],yn={key:0,class:"excerpt-wrapper"},wn={key:0,class:"excerpt",inert:""},_n=["innerHTML"],xn=B(()=>_("div",{class:"excerpt-gradient-bottom"},null,-1)),Sn=B(()=>_("div",{class:"excerpt-gradient-top"},null,-1)),En={key:0,class:"no-results"},In={class:"search-keyboard-shortcuts"},Tn=["aria-label"],Nn=B(()=>_("span",{class:"vpi-arrow-up navigate-icon"},null,-1)),kn=[Nn],Fn=["aria-label"],On=B(()=>_("span",{class:"vpi-arrow-down navigate-icon"},null,-1)),Rn=[On],Cn=["aria-label"],Mn=B(()=>_("span",{class:"vpi-corner-down-left navigate-icon"},null,-1)),An=[Mn],Ln=["aria-label"],Dn=Mt({__name:"VPLocalSearchBox",emits:["close"],setup(a,{emit:e}){var F,M;const t=e,s=be(),n=be(),r=be(is),i=ss(),{activate:o}=Rs(s,{immediate:!0,allowOutsideClick:!0,clickOutsideDeactivates:!0,escapeDeactivates:!0}),{localeIndex:c,theme:l}=i,h=tt(async()=>{var p,g,N,O,P,j,T,L,G;return rt(le.loadJSON((N=await((g=(p=r.value)[c.value])==null?void 0:g.call(p)))==null?void 0:N.default,{fields:["title","titles","text"],storeFields:["title","titles"],searchOptions:{fuzzy:.2,prefix:!0,boost:{title:4,text:2,titles:1},...((O=l.value.search)==null?void 0:O.provider)==="local"&&((j=(P=l.value.search.options)==null?void 0:P.miniSearch)==null?void 0:j.searchOptions)},...((T=l.value.search)==null?void 0:T.provider)==="local"&&((G=(L=l.value.search.options)==null?void 0:L.miniSearch)==null?void 0:G.options)}))}),v=ye(()=>{var p,g;return((p=l.value.search)==null?void 0:p.provider)==="local"&&((g=l.value.search.options)==null?void 0:g.disableQueryPersistence)===!0}).value?ne(""):At("vitepress:local-search-filter",""),y=Lt("vitepress:local-search-detailed-list",((F=l.value.search)==null?void 0:F.provider)==="local"&&((M=l.value.search.options)==null?void 0:M.detailedView)===!0),w=ye(()=>{var p,g,N;return((p=l.value.search)==null?void 0:p.provider)==="local"&&(((g=l.value.search.options)==null?void 0:g.disableDetailedView)===!0||((N=l.value.search.options)==null?void 0:N.detailedView)===!1)}),b=ye(()=>{var g,N,O,P,j,T,L;const p=((g=l.value.search)==null?void 0:g.options)??l.value.algolia;return((j=(P=(O=(N=p==null?void 0:p.locales)==null?void 0:N[c.value])==null?void 0:O.translations)==null?void 0:P.button)==null?void 0:j.buttonText)||((L=(T=p==null?void 0:p.translations)==null?void 0:T.button)==null?void 0:L.buttonText)||"Search"});Dt(()=>{w.value&&(y.value=!1)});const x=be([]),C=ne(!1);Ve(v,()=>{C.value=!1});const R=tt(async()=>{if(n.value)return rt(new Ms(n.value))},null),W=new Js(16);zt(()=>[h.value,v.value,y.value],async([p,g,N],O,P)=>{var me,qe,Ge,Qe;(O==null?void 0:O[0])!==p&&W.clear();let j=!1;if(P(()=>{j=!0}),!p)return;x.value=p.search(g).slice(0,16),C.value=!0;const T=N?await Promise.all(x.value.map($=>J($.id))):[];if(j)return;for(const{id:$,mod:ee}of T){const te=$.slice(0,$.indexOf("#"));let Y=W.get(te);if(Y)continue;Y=new Map,W.set(te,Y);const Q=ee.default??ee;if(Q!=null&&Q.render||Q!=null&&Q.setup){const se=Yt(Q);se.config.warnHandler=()=>{},se.provide(Zt,i),Object.defineProperties(se.config.globalProperties,{$frontmatter:{get(){return i.frontmatter.value}},$params:{get(){return i.page.value.params}}});const He=document.createElement("div");se.mount(He),He.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(ue=>{var Xe;const ge=(Xe=ue.querySelector("a"))==null?void 0:Xe.getAttribute("href"),Ye=(ge==null?void 0:ge.startsWith("#"))&&ge.slice(1);if(!Ye)return;let Ze="";for(;(ue=ue.nextElementSibling)&&!/^h[1-6]$/i.test(ue.tagName);)Ze+=ue.outerHTML;Y.set(Ye,Ze)}),se.unmount()}if(j)return}const L=new Set;if(x.value=x.value.map($=>{const[ee,te]=$.id.split("#"),Y=W.get(ee),Q=(Y==null?void 0:Y.get(te))??"";for(const se in $.match)L.add(se);return{...$,text:Q}}),await de(),j)return;await new Promise($=>{var ee;(ee=R.value)==null||ee.unmark({done:()=>{var te;(te=R.value)==null||te.markRegExp(k(L),{done:$})}})});const G=((me=s.value)==null?void 0:me.querySelectorAll(".result .excerpt"))??[];for(const $ of G)(qe=$.querySelector('mark[data-markjs="true"]'))==null||qe.scrollIntoView({block:"center"});(Qe=(Ge=n.value)==null?void 0:Ge.firstElementChild)==null||Qe.scrollIntoView({block:"start"})},{debounce:200,immediate:!0});async function J(p){const g=Xt(p.slice(0,p.indexOf("#")));try{if(!g)throw new Error(`Cannot find file for id: ${p}`);return{id:p,mod:await import(g)}}catch(N){return console.error(N),{id:p,mod:{}}}}const V=ne(),U=ye(()=>{var p;return((p=v.value)==null?void 0:p.length)<=0});function q(p=!0){var g,N;(g=V.value)==null||g.focus(),p&&((N=V.value)==null||N.select())}Me(()=>{q()});function Re(p){p.pointerType==="mouse"&&q()}const A=ne(-1),K=ne(!1);Ve(x,p=>{A.value=p.length?0:-1,I()});function I(){de(()=>{const p=document.querySelector(".result.selected");p==null||p.scrollIntoView({block:"nearest"})})}we("ArrowUp",p=>{p.preventDefault(),A.value--,A.value<0&&(A.value=x.value.length-1),K.value=!0,I()}),we("ArrowDown",p=>{p.preventDefault(),A.value++,A.value>=x.value.length&&(A.value=0),K.value=!0,I()});const u=Pt();we("Enter",p=>{if(p.isComposing||p.target instanceof HTMLButtonElement&&p.target.type!=="submit")return;const g=x.value[A.value];if(p.target instanceof HTMLInputElement&&!g){p.preventDefault();return}g&&(u.go(g.id),t("close"))}),we("Escape",()=>{t("close")});const m=ns({modal:{displayDetails:"Display detailed list",resetButtonTitle:"Reset search",backButtonTitle:"Close search",noResultsText:"No results for",footer:{selectText:"to select",selectKeyAriaLabel:"enter",navigateText:"to navigate",navigateUpKeyAriaLabel:"up arrow",navigateDownKeyAriaLabel:"down arrow",closeText:"to close",closeKeyAriaLabel:"escape"}}});Me(()=>{window.history.pushState(null,"",null)}),jt("popstate",p=>{p.preventDefault(),t("close")});const S=Vt($t?document.body:null);Me(()=>{de(()=>{S.value=!0,de().then(()=>o())})}),Bt(()=>{S.value=!1});function E(){v.value="",de().then(()=>q(!1))}function k(p){return new RegExp([...p].sort((g,N)=>N.length-g.length).map(g=>`(${es(g)})`).join("|"),"gi")}return(p,g)=>{var N,O,P,j;return H(),Wt(Gt,{to:"body"},[_("div",{ref_key:"el",ref:s,role:"button","aria-owns":(N=x.value)!=null&&N.length?"localsearch-list":void 0,"aria-expanded":"true","aria-haspopup":"listbox","aria-labelledby":"localsearch-label",class:"VPLocalSearchBox"},[_("div",{class:"backdrop",onClick:g[0]||(g[0]=T=>p.$emit("close"))}),_("div",qs,[_("form",{class:"search-bar",onPointerup:g[4]||(g[4]=T=>Re(T)),onSubmit:g[5]||(g[5]=Kt(()=>{},["prevent"]))},[_("label",{title:b.value,id:"localsearch-label",for:"localsearch-input"},Hs,8,Gs),_("div",Ys,[_("button",{class:"back-button",title:D(m)("modal.backButtonTitle"),onClick:g[1]||(g[1]=T=>p.$emit("close"))},en,8,Zs)]),Jt(_("input",{ref_key:"searchInput",ref:V,"onUpdate:modelValue":g[2]||(g[2]=T=>qt(v)?v.value=T:null),placeholder:b.value,id:"localsearch-input","aria-labelledby":"localsearch-label",class:"search-input"},null,8,tn),[[Ut,D(v)]]),_("div",sn,[w.value?_e("",!0):(H(),Z("button",{key:0,class:st(["toggle-layout-button",{"detailed-list":D(y)}]),type:"button",title:D(m)("modal.displayDetails"),onClick:g[3]||(g[3]=T=>A.value>-1&&(y.value=!D(y)))},an,10,nn)),_("button",{class:"clear-button",type:"reset",disabled:U.value,title:D(m)("modal.resetButtonTitle"),onClick:E},ln,8,on)])],32),_("ul",{ref_key:"resultsEl",ref:n,id:(O=x.value)!=null&&O.length?"localsearch-list":void 0,role:(P=x.value)!=null&&P.length?"listbox":void 0,"aria-labelledby":(j=x.value)!=null&&j.length?"localsearch-label":void 0,class:"results",onMousemove:g[7]||(g[7]=T=>K.value=!1)},[(H(!0),Z(it,null,nt(x.value,(T,L)=>(H(),Z("li",{key:T.id,role:"option","aria-selected":A.value===L?"true":"false"},[_("a",{href:T.id,class:st(["result",{selected:A.value===L}]),"aria-label":[...T.titles,T.title].join(" > "),onMouseenter:G=>!K.value&&(A.value=L),onFocusin:G=>A.value=L,onClick:g[6]||(g[6]=G=>p.$emit("close"))},[_("div",null,[_("div",fn,[pn,(H(!0),Z(it,null,nt(T.titles,(G,me)=>(H(),Z("span",{key:me,class:"title"},[_("span",{class:"text",innerHTML:G},null,8,vn),mn]))),128)),_("span",gn,[_("span",{class:"text",innerHTML:T.title},null,8,bn)])]),D(y)?(H(),Z("div",yn,[T.text?(H(),Z("div",wn,[_("div",{class:"vp-doc",innerHTML:T.text},null,8,_n)])):_e("",!0),xn,Sn])):_e("",!0)])],42,hn)],8,dn))),128)),D(v)&&!x.value.length&&C.value?(H(),Z("li",En,[he(fe(D(m)("modal.noResultsText"))+' "',1),_("strong",null,fe(D(v)),1),he('" ')])):_e("",!0)],40,un),_("div",In,[_("span",null,[_("kbd",{"aria-label":D(m)("modal.footer.navigateUpKeyAriaLabel")},kn,8,Tn),_("kbd",{"aria-label":D(m)("modal.footer.navigateDownKeyAriaLabel")},Rn,8,Fn),he(" "+fe(D(m)("modal.footer.navigateText")),1)]),_("span",null,[_("kbd",{"aria-label":D(m)("modal.footer.selectKeyAriaLabel")},An,8,Cn),he(" "+fe(D(m)("modal.footer.selectText")),1)]),_("span",null,[_("kbd",{"aria-label":D(m)("modal.footer.closeKeyAriaLabel")},"esc",8,Ln),he(" "+fe(D(m)("modal.footer.closeText")),1)])])])],8,Us)])}}}),Bn=ts(Dn,[["__scopeId","data-v-639d7ab9"]]);export{Bn as default}; +*/function ot(a,e){var t=Object.keys(a);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(a);e&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(a,n).enumerable})),t.push.apply(t,s)}return t}function ct(a){for(var e=1;e0){var s=e[e.length-1];s!==t&&s.pause()}var n=e.indexOf(t);n===-1||e.splice(n,1),e.push(t)},deactivateTrap:function(e,t){var s=e.indexOf(t);s!==-1&&e.splice(s,1),e.length>0&&e[e.length-1].unpause()}},Is=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Ts=function(e){return(e==null?void 0:e.key)==="Escape"||(e==null?void 0:e.key)==="Esc"||(e==null?void 0:e.keyCode)===27},ve=function(e){return(e==null?void 0:e.key)==="Tab"||(e==null?void 0:e.keyCode)===9},Ns=function(e){return ve(e)&&!e.shiftKey},ks=function(e){return ve(e)&&e.shiftKey},ut=function(e){return setTimeout(e,0)},dt=function(e,t){var s=-1;return e.every(function(n,r){return t(n)?(s=r,!1):!0}),s},pe=function(e){for(var t=arguments.length,s=new Array(t>1?t-1:0),n=1;n1?m-1:0),E=1;E=0)u=s.activeElement;else{var d=i.tabbableGroups[0],m=d&&d.firstTabbableNode;u=m||h("fallbackFocus")}if(!u)throw new Error("Your focus-trap needs to have at least one focusable element");return u},v=function(){if(i.containerGroups=i.containers.map(function(u){var d=ys(u,r.tabbableOptions),m=ws(u,r.tabbableOptions),S=d.length>0?d[0]:void 0,E=d.length>0?d[d.length-1]:void 0,k=m.find(function(p){return ae(p)}),F=m.slice().reverse().find(function(p){return ae(p)}),M=!!d.find(function(p){return ie(p)>0});return{container:u,tabbableNodes:d,focusableNodes:m,posTabIndexesFound:M,firstTabbableNode:S,lastTabbableNode:E,firstDomTabbableNode:k,lastDomTabbableNode:F,nextTabbableNode:function(g){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,O=d.indexOf(g);return O<0?N?m.slice(m.indexOf(g)+1).find(function(P){return ae(P)}):m.slice(0,m.indexOf(g)).reverse().find(function(P){return ae(P)}):d[O+(N?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(u){return u.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!h("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(u){return u.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},y=function I(u){var d=u.activeElement;if(d)return d.shadowRoot&&d.shadowRoot.activeElement!==null?I(d.shadowRoot):d},w=function I(u){if(u!==!1&&u!==y(document)){if(!u||!u.focus){I(f());return}u.focus({preventScroll:!!r.preventScroll}),i.mostRecentlyFocusedNode=u,Is(u)&&u.select()}},b=function(u){var d=h("setReturnFocus",u);return d||(d===!1?!1:u)},x=function(u){var d=u.target,m=u.event,S=u.isBackward,E=S===void 0?!1:S;d=d||xe(m),v();var k=null;if(i.tabbableGroups.length>0){var F=l(d,m),M=F>=0?i.containerGroups[F]:void 0;if(F<0)E?k=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:k=i.tabbableGroups[0].firstTabbableNode;else if(E){var p=dt(i.tabbableGroups,function(T){var L=T.firstTabbableNode;return d===L});if(p<0&&(M.container===d||Ae(d,r.tabbableOptions)&&!ae(d,r.tabbableOptions)&&!M.nextTabbableNode(d,!1))&&(p=F),p>=0){var g=p===0?i.tabbableGroups.length-1:p-1,N=i.tabbableGroups[g];k=ie(d)>=0?N.lastTabbableNode:N.lastDomTabbableNode}else ve(m)||(k=M.nextTabbableNode(d,!1))}else{var O=dt(i.tabbableGroups,function(T){var L=T.lastTabbableNode;return d===L});if(O<0&&(M.container===d||Ae(d,r.tabbableOptions)&&!ae(d,r.tabbableOptions)&&!M.nextTabbableNode(d))&&(O=F),O>=0){var P=O===i.tabbableGroups.length-1?0:O+1,j=i.tabbableGroups[P];k=ie(d)>=0?j.firstTabbableNode:j.firstDomTabbableNode}else ve(m)||(k=M.nextTabbableNode(d))}}else k=h("fallbackFocus");return k},C=function(u){var d=xe(u);if(!(l(d,u)>=0)){if(pe(r.clickOutsideDeactivates,u)){o.deactivate({returnFocus:r.returnFocusOnDeactivate});return}pe(r.allowOutsideClick,u)||u.preventDefault()}},R=function(u){var d=xe(u),m=l(d,u)>=0;if(m||d instanceof Document)m&&(i.mostRecentlyFocusedNode=d);else{u.stopImmediatePropagation();var S,E=!0;if(i.mostRecentlyFocusedNode)if(ie(i.mostRecentlyFocusedNode)>0){var k=l(i.mostRecentlyFocusedNode),F=i.containerGroups[k].tabbableNodes;if(F.length>0){var M=F.findIndex(function(p){return p===i.mostRecentlyFocusedNode});M>=0&&(r.isKeyForward(i.recentNavEvent)?M+1=0&&(S=F[M-1],E=!1))}}else i.containerGroups.some(function(p){return p.tabbableNodes.some(function(g){return ie(g)>0})})||(E=!1);else E=!1;E&&(S=x({target:i.mostRecentlyFocusedNode,isBackward:r.isKeyBackward(i.recentNavEvent)})),w(S||i.mostRecentlyFocusedNode||f())}i.recentNavEvent=void 0},W=function(u){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=u;var m=x({event:u,isBackward:d});m&&(ve(u)&&u.preventDefault(),w(m))},J=function(u){if(Ts(u)&&pe(r.escapeDeactivates,u)!==!1){u.preventDefault(),o.deactivate();return}(r.isKeyForward(u)||r.isKeyBackward(u))&&W(u,r.isKeyBackward(u))},V=function(u){var d=xe(u);l(d,u)>=0||pe(r.clickOutsideDeactivates,u)||pe(r.allowOutsideClick,u)||(u.preventDefault(),u.stopImmediatePropagation())},U=function(){if(i.active)return lt.activateTrap(n,o),i.delayInitialFocusTimer=r.delayInitialFocus?ut(function(){w(f())}):w(f()),s.addEventListener("focusin",R,!0),s.addEventListener("mousedown",C,{capture:!0,passive:!1}),s.addEventListener("touchstart",C,{capture:!0,passive:!1}),s.addEventListener("click",V,{capture:!0,passive:!1}),s.addEventListener("keydown",J,{capture:!0,passive:!1}),o},q=function(){if(i.active)return s.removeEventListener("focusin",R,!0),s.removeEventListener("mousedown",C,!0),s.removeEventListener("touchstart",C,!0),s.removeEventListener("click",V,!0),s.removeEventListener("keydown",J,!0),o},Re=function(u){var d=u.some(function(m){var S=Array.from(m.removedNodes);return S.some(function(E){return E===i.mostRecentlyFocusedNode})});d&&w(f())},A=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(Re):void 0,K=function(){A&&(A.disconnect(),i.active&&!i.paused&&i.containers.map(function(u){A.observe(u,{subtree:!0,childList:!0})}))};return o={get active(){return i.active},get paused(){return i.paused},activate:function(u){if(i.active)return this;var d=c(u,"onActivate"),m=c(u,"onPostActivate"),S=c(u,"checkCanFocusTrap");S||v(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=s.activeElement,d==null||d();var E=function(){S&&v(),U(),K(),m==null||m()};return S?(S(i.containers.concat()).then(E,E),this):(E(),this)},deactivate:function(u){if(!i.active)return this;var d=ct({onDeactivate:r.onDeactivate,onPostDeactivate:r.onPostDeactivate,checkCanReturnFocus:r.checkCanReturnFocus},u);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,q(),i.active=!1,i.paused=!1,K(),lt.deactivateTrap(n,o);var m=c(d,"onDeactivate"),S=c(d,"onPostDeactivate"),E=c(d,"checkCanReturnFocus"),k=c(d,"returnFocus","returnFocusOnDeactivate");m==null||m();var F=function(){ut(function(){k&&w(b(i.nodeFocusedBeforeActivation)),S==null||S()})};return k&&E?(E(b(i.nodeFocusedBeforeActivation)).then(F,F),this):(F(),this)},pause:function(u){if(i.paused||!i.active)return this;var d=c(u,"onPause"),m=c(u,"onPostPause");return i.paused=!0,d==null||d(),q(),K(),m==null||m(),this},unpause:function(u){if(!i.paused||!i.active)return this;var d=c(u,"onUnpause"),m=c(u,"onPostUnpause");return i.paused=!1,d==null||d(),v(),U(),K(),m==null||m(),this},updateContainerElements:function(u){var d=[].concat(u).filter(Boolean);return i.containers=d.map(function(m){return typeof m=="string"?s.querySelector(m):m}),i.active&&v(),K(),this}},o.updateContainerElements(e),o};function Rs(a,e={}){let t;const{immediate:s,...n}=e,r=ne(!1),i=ne(!1),o=f=>t&&t.activate(f),c=f=>t&&t.deactivate(f),l=()=>{t&&(t.pause(),i.value=!0)},h=()=>{t&&(t.unpause(),i.value=!1)};return Ve(()=>Rt(a),f=>{f&&(t=Os(f,{...n,onActivate(){r.value=!0,e.onActivate&&e.onActivate()},onDeactivate(){r.value=!1,e.onDeactivate&&e.onDeactivate()}}),s&&o())},{flush:"post"}),Ct(()=>c()),{hasFocus:r,isPaused:i,activate:o,deactivate:c,pause:l,unpause:h}}class ce{constructor(e,t=!0,s=[],n=5e3){this.ctx=e,this.iframes=t,this.exclude=s,this.iframesTimeout=n}static matches(e,t){const s=typeof t=="string"?[t]:t,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let r=!1;return s.every(i=>n.call(e,i)?(r=!0,!1):!0),r}else return!1}getContexts(){let e,t=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(s=>{const n=t.filter(r=>r.contains(s)).length>0;t.indexOf(s)===-1&&!n&&t.push(s)}),t}getIframeContents(e,t,s=()=>{}){let n;try{const r=e.contentWindow;if(n=r.document,!r||!n)throw new Error("iframe inaccessible")}catch{s()}n&&t(n)}isIframeBlank(e){const t="about:blank",s=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&s!==t&&s}observeIframeLoad(e,t,s){let n=!1,r=null;const i=()=>{if(!n){n=!0,clearTimeout(r);try{this.isIframeBlank(e)||(e.removeEventListener("load",i),this.getIframeContents(e,t,s))}catch{s()}}};e.addEventListener("load",i),r=setTimeout(i,this.iframesTimeout)}onIframeReady(e,t,s){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,s):this.getIframeContents(e,t,s):this.observeIframeLoad(e,t,s)}catch{s()}}waitForIframes(e,t){let s=0;this.forEachIframe(e,()=>!0,n=>{s++,this.waitForIframes(n.querySelector("html"),()=>{--s||t()})},n=>{n||t()})}forEachIframe(e,t,s,n=()=>{}){let r=e.querySelectorAll("iframe"),i=r.length,o=0;r=Array.prototype.slice.call(r);const c=()=>{--i<=0&&n(o)};i||c(),r.forEach(l=>{ce.matches(l,this.exclude)?c():this.onIframeReady(l,h=>{t(l)&&(o++,s(h)),c()},c)})}createIterator(e,t,s){return document.createNodeIterator(e,t,s,!1)}createInstanceOnIframe(e){return new ce(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,s){const n=e.compareDocumentPosition(s),r=Node.DOCUMENT_POSITION_PRECEDING;if(n&r)if(t!==null){const i=t.compareDocumentPosition(s),o=Node.DOCUMENT_POSITION_FOLLOWING;if(i&o)return!0}else return!0;return!1}getIteratorNode(e){const t=e.previousNode();let s;return t===null?s=e.nextNode():s=e.nextNode()&&e.nextNode(),{prevNode:t,node:s}}checkIframeFilter(e,t,s,n){let r=!1,i=!1;return n.forEach((o,c)=>{o.val===s&&(r=c,i=o.handled)}),this.compareNodeIframe(e,t,s)?(r===!1&&!i?n.push({val:s,handled:!0}):r!==!1&&!i&&(n[r].handled=!0),!0):(r===!1&&n.push({val:s,handled:!1}),!1)}handleOpenIframes(e,t,s,n){e.forEach(r=>{r.handled||this.getIframeContents(r.val,i=>{this.createInstanceOnIframe(i).forEachNode(t,s,n)})})}iterateThroughNodes(e,t,s,n,r){const i=this.createIterator(t,e,n);let o=[],c=[],l,h,f=()=>({prevNode:h,node:l}=this.getIteratorNode(i),l);for(;f();)this.iframes&&this.forEachIframe(t,v=>this.checkIframeFilter(l,h,v,o),v=>{this.createInstanceOnIframe(v).forEachNode(e,y=>c.push(y),n)}),c.push(l);c.forEach(v=>{s(v)}),this.iframes&&this.handleOpenIframes(o,e,s,n),r()}forEachNode(e,t,s,n=()=>{}){const r=this.getContexts();let i=r.length;i||n(),r.forEach(o=>{const c=()=>{this.iterateThroughNodes(e,o,t,s,()=>{--i<=0&&n()})};this.iframes?this.waitForIframes(o,c):c()})}}let Cs=class{constructor(e){this.ctx=e,this.ie=!1;const t=window.navigator.userAgent;(t.indexOf("MSIE")>-1||t.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new ce(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){const s=this.opt.log;this.opt.debug&&typeof s=="object"&&typeof s[t]=="function"&&s[t](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){const t=this.opt.synonyms,s=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let r in t)if(t.hasOwnProperty(r)){const i=t[r],o=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(r):this.escapeStr(r),c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i);o!==""&&c!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(o)}|${this.escapeStr(c)})`,`gm${s}`),n+`(${this.processSynomyms(o)}|${this.processSynomyms(c)})`+n))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,s,n)=>{let r=n.charAt(s+1);return/[(|)\\]/.test(r)||r===""?t:t+"\0"})}createJoinersRegExp(e){let t=[];const s=this.opt.ignorePunctuation;return Array.isArray(s)&&s.length&&t.push(this.escapeStr(s.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){const t=this.opt.caseSensitive?"":"i",s=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let n=[];return e.split("").forEach(r=>{s.every(i=>{if(i.indexOf(r)!==-1){if(n.indexOf(i)>-1)return!1;e=e.replace(new RegExp(`[${i}]`,`gm${t}`),`[${i}]`),n.push(i)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){const t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿";let s=this.opt.accuracy,n=typeof s=="string"?s:s.value,r=typeof s=="string"?[]:s.limiters,i="";switch(r.forEach(o=>{i+=`|${this.escapeStr(o)}`}),n){case"partially":default:return`()(${e})`;case"complementary":return i="\\s"+(i||this.escapeStr(t)),`()([^${i}]*${e}[^${i}]*)`;case"exactly":return`(^|\\s${i})(${e})(?=$|\\s${i})`}}getSeparatedKeywords(e){let t=[];return e.forEach(s=>{this.opt.separateWordSearch?s.split(" ").forEach(n=>{n.trim()&&t.indexOf(n)===-1&&t.push(n)}):s.trim()&&t.indexOf(s)===-1&&t.push(s)}),{keywords:t.sort((s,n)=>n.length-s.length),length:t.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];const t=[];let s=0;return e.sort((n,r)=>n.start-r.start).forEach(n=>{let{start:r,end:i,valid:o}=this.callNoMatchOnInvalidRanges(n,s);o&&(n.start=r,n.length=i-r,t.push(n),s=i)}),t}callNoMatchOnInvalidRanges(e,t){let s,n,r=!1;return e&&typeof e.start<"u"?(s=parseInt(e.start,10),n=s+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-t>0&&n-s>0?r=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:s,end:n,valid:r}}checkWhitespaceRanges(e,t,s){let n,r=!0,i=s.length,o=t-i,c=parseInt(e.start,10)-o;return c=c>i?i:c,n=c+parseInt(e.length,10),n>i&&(n=i,this.log(`End range automatically set to the max value of ${i}`)),c<0||n-c<0||c>i||n>i?(r=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):s.substring(c,n).replace(/\s+/g,"")===""&&(r=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:c,end:n,valid:r}}getTextNodes(e){let t="",s=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{s.push({start:t.length,end:(t+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:s})})}matchesExclude(e){return ce.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,s){const n=this.opt.element?this.opt.element:"mark",r=e.splitText(t),i=r.splitText(s-t);let o=document.createElement(n);return o.setAttribute("data-markjs","true"),this.opt.className&&o.setAttribute("class",this.opt.className),o.textContent=r.textContent,r.parentNode.replaceChild(o,r),i}wrapRangeInMappedTextNode(e,t,s,n,r){e.nodes.every((i,o)=>{const c=e.nodes[o+1];if(typeof c>"u"||c.start>t){if(!n(i.node))return!1;const l=t-i.start,h=(s>i.end?i.end:s)-i.start,f=e.value.substr(0,i.start),v=e.value.substr(h+i.start);if(i.node=this.wrapRangeInTextNode(i.node,l,h),e.value=f+v,e.nodes.forEach((y,w)=>{w>=o&&(e.nodes[w].start>0&&w!==o&&(e.nodes[w].start-=h),e.nodes[w].end-=h)}),s-=h,r(i.node.previousSibling,i.start),s>i.end)t=i.end;else return!1}return!0})}wrapMatches(e,t,s,n,r){const i=t===0?0:t+1;this.getTextNodes(o=>{o.nodes.forEach(c=>{c=c.node;let l;for(;(l=e.exec(c.textContent))!==null&&l[i]!=="";){if(!s(l[i],c))continue;let h=l.index;if(i!==0)for(let f=1;f{let c;for(;(c=e.exec(o.value))!==null&&c[i]!=="";){let l=c.index;if(i!==0)for(let f=1;fs(c[i],f),(f,v)=>{e.lastIndex=v,n(f)})}r()})}wrapRangeFromIndex(e,t,s,n){this.getTextNodes(r=>{const i=r.value.length;e.forEach((o,c)=>{let{start:l,end:h,valid:f}=this.checkWhitespaceRanges(o,i,r.value);f&&this.wrapRangeInMappedTextNode(r,l,h,v=>t(v,o,r.value.substring(l,h),c),v=>{s(v,o)})}),n()})}unwrapMatches(e){const t=e.parentNode;let s=document.createDocumentFragment();for(;e.firstChild;)s.appendChild(e.removeChild(e.firstChild));t.replaceChild(s,e),this.ie?this.normalizeTextNode(t):t.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,t){this.opt=t,this.log(`Searching with expression "${e}"`);let s=0,n="wrapMatches";const r=i=>{s++,this.opt.each(i)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(i,o)=>this.opt.filter(o,i,s),r,()=>{s===0&&this.opt.noMatch(e),this.opt.done(s)})}mark(e,t){this.opt=t;let s=0,n="wrapMatches";const{keywords:r,length:i}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),o=this.opt.caseSensitive?"":"i",c=l=>{let h=new RegExp(this.createRegExp(l),`gm${o}`),f=0;this.log(`Searching with expression "${h}"`),this[n](h,1,(v,y)=>this.opt.filter(y,l,s,f),v=>{f++,s++,this.opt.each(v)},()=>{f===0&&this.opt.noMatch(l),r[i-1]===l?this.opt.done(s):c(r[r.indexOf(l)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),i===0?this.opt.done(s):c(r[0])}markRanges(e,t){this.opt=t;let s=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(r,i,o,c)=>this.opt.filter(r,i,o,c),(r,i)=>{s++,this.opt.each(r,i)},()=>{this.opt.done(s)})):this.opt.done(s)}unmark(e){this.opt=e;let t=this.opt.element?this.opt.element:"*";t+="[data-markjs]",this.opt.className&&(t+=`.${this.opt.className}`),this.log(`Removal selector "${t}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,s=>{this.unwrapMatches(s)},s=>{const n=ce.matches(s,t),r=this.matchesExclude(s);return!n||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Ms(a){const e=new Cs(a);return this.mark=(t,s)=>(e.mark(t,s),this),this.markRegExp=(t,s)=>(e.markRegExp(t,s),this),this.markRanges=(t,s)=>(e.markRanges(t,s),this),this.unmark=t=>(e.unmark(t),this),this}function Ie(a,e,t,s){function n(r){return r instanceof t?r:new t(function(i){i(r)})}return new(t||(t=Promise))(function(r,i){function o(h){try{l(s.next(h))}catch(f){i(f)}}function c(h){try{l(s.throw(h))}catch(f){i(f)}}function l(h){h.done?r(h.value):n(h.value).then(o,c)}l((s=s.apply(a,[])).next())})}const As="ENTRIES",xt="KEYS",St="VALUES",z="";class Le{constructor(e,t){const s=e._tree,n=Array.from(s.keys());this.set=e,this._type=t,this._path=n.length>0?[{node:s,keys:n}]:[]}next(){const e=this.dive();return this.backtrack(),e}dive(){if(this._path.length===0)return{done:!0,value:void 0};const{node:e,keys:t}=oe(this._path);if(oe(t)===z)return{done:!1,value:this.result()};const s=e.get(oe(t));return this._path.push({node:s,keys:Array.from(s.keys())}),this.dive()}backtrack(){if(this._path.length===0)return;const e=oe(this._path).keys;e.pop(),!(e.length>0)&&(this._path.pop(),this.backtrack())}key(){return this.set._prefix+this._path.map(({keys:e})=>oe(e)).filter(e=>e!==z).join("")}value(){return oe(this._path).node.get(z)}result(){switch(this._type){case St:return this.value();case xt:return this.key();default:return[this.key(),this.value()]}}[Symbol.iterator](){return this}}const oe=a=>a[a.length-1],Ls=(a,e,t)=>{const s=new Map;if(e===void 0)return s;const n=e.length+1,r=n+t,i=new Uint8Array(r*n).fill(t+1);for(let o=0;o{const c=r*i;e:for(const l of a.keys())if(l===z){const h=n[c-1];h<=t&&s.set(o,[a.get(l),h])}else{let h=r;for(let f=0;ft)continue e}Et(a.get(l),e,t,s,n,h,i,o+l)}};class X{constructor(e=new Map,t=""){this._size=void 0,this._tree=e,this._prefix=t}atPrefix(e){if(!e.startsWith(this._prefix))throw new Error("Mismatched prefix");const[t,s]=Oe(this._tree,e.slice(this._prefix.length));if(t===void 0){const[n,r]=Je(s);for(const i of n.keys())if(i!==z&&i.startsWith(r)){const o=new Map;return o.set(i.slice(r.length),n.get(i)),new X(o,e)}}return new X(t,e)}clear(){this._size=void 0,this._tree.clear()}delete(e){return this._size=void 0,Ds(this._tree,e)}entries(){return new Le(this,As)}forEach(e){for(const[t,s]of this)e(t,s,this)}fuzzyGet(e,t){return Ls(this._tree,e,t)}get(e){const t=Be(this._tree,e);return t!==void 0?t.get(z):void 0}has(e){const t=Be(this._tree,e);return t!==void 0&&t.has(z)}keys(){return new Le(this,xt)}set(e,t){if(typeof e!="string")throw new Error("key must be a string");return this._size=void 0,De(this._tree,e).set(z,t),this}get size(){if(this._size)return this._size;this._size=0;const e=this.entries();for(;!e.next().done;)this._size+=1;return this._size}update(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;const s=De(this._tree,e);return s.set(z,t(s.get(z))),this}fetch(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;const s=De(this._tree,e);let n=s.get(z);return n===void 0&&s.set(z,n=t()),n}values(){return new Le(this,St)}[Symbol.iterator](){return this.entries()}static from(e){const t=new X;for(const[s,n]of e)t.set(s,n);return t}static fromObject(e){return X.from(Object.entries(e))}}const Oe=(a,e,t=[])=>{if(e.length===0||a==null)return[a,t];for(const s of a.keys())if(s!==z&&e.startsWith(s))return t.push([a,s]),Oe(a.get(s),e.slice(s.length),t);return t.push([a,e]),Oe(void 0,"",t)},Be=(a,e)=>{if(e.length===0||a==null)return a;for(const t of a.keys())if(t!==z&&e.startsWith(t))return Be(a.get(t),e.slice(t.length))},De=(a,e)=>{const t=e.length;e:for(let s=0;a&&s{const[t,s]=Oe(a,e);if(t!==void 0){if(t.delete(z),t.size===0)It(s);else if(t.size===1){const[n,r]=t.entries().next().value;Tt(s,n,r)}}},It=a=>{if(a.length===0)return;const[e,t]=Je(a);if(e.delete(t),e.size===0)It(a.slice(0,-1));else if(e.size===1){const[s,n]=e.entries().next().value;s!==z&&Tt(a.slice(0,-1),s,n)}},Tt=(a,e,t)=>{if(a.length===0)return;const[s,n]=Je(a);s.set(n+e,t),s.delete(n)},Je=a=>a[a.length-1],Ue="or",Nt="and",zs="and_not";class le{constructor(e){if((e==null?void 0:e.fields)==null)throw new Error('MiniSearch: option "fields" must be provided');const t=e.autoVacuum==null||e.autoVacuum===!0?je:e.autoVacuum;this._options=Object.assign(Object.assign(Object.assign({},Pe),e),{autoVacuum:t,searchOptions:Object.assign(Object.assign({},ht),e.searchOptions||{}),autoSuggestOptions:Object.assign(Object.assign({},Bs),e.autoSuggestOptions||{})}),this._index=new X,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldIds={},this._fieldLength=new Map,this._avgFieldLength=[],this._nextId=0,this._storedFields=new Map,this._dirtCount=0,this._currentVacuum=null,this._enqueuedVacuum=null,this._enqueuedVacuumConditions=Ke,this.addFields(this._options.fields)}add(e){const{extractField:t,tokenize:s,processTerm:n,fields:r,idField:i}=this._options,o=t(e,i);if(o==null)throw new Error(`MiniSearch: document does not have ID field "${i}"`);if(this._idToShortId.has(o))throw new Error(`MiniSearch: duplicate ID ${o}`);const c=this.addDocumentId(o);this.saveStoredFields(c,e);for(const l of r){const h=t(e,l);if(h==null)continue;const f=s(h.toString(),l),v=this._fieldIds[l],y=new Set(f).size;this.addFieldLength(c,v,this._documentCount-1,y);for(const w of f){const b=n(w,l);if(Array.isArray(b))for(const x of b)this.addTerm(v,c,x);else b&&this.addTerm(v,c,b)}}}addAll(e){for(const t of e)this.add(t)}addAllAsync(e,t={}){const{chunkSize:s=10}=t,n={chunk:[],promise:Promise.resolve()},{chunk:r,promise:i}=e.reduce(({chunk:o,promise:c},l,h)=>(o.push(l),(h+1)%s===0?{chunk:[],promise:c.then(()=>new Promise(f=>setTimeout(f,0))).then(()=>this.addAll(o))}:{chunk:o,promise:c}),n);return i.then(()=>this.addAll(r))}remove(e){const{tokenize:t,processTerm:s,extractField:n,fields:r,idField:i}=this._options,o=n(e,i);if(o==null)throw new Error(`MiniSearch: document does not have ID field "${i}"`);const c=this._idToShortId.get(o);if(c==null)throw new Error(`MiniSearch: cannot remove document with ID ${o}: it is not in the index`);for(const l of r){const h=n(e,l);if(h==null)continue;const f=t(h.toString(),l),v=this._fieldIds[l],y=new Set(f).size;this.removeFieldLength(c,v,this._documentCount,y);for(const w of f){const b=s(w,l);if(Array.isArray(b))for(const x of b)this.removeTerm(v,c,x);else b&&this.removeTerm(v,c,b)}}this._storedFields.delete(c),this._documentIds.delete(c),this._idToShortId.delete(o),this._fieldLength.delete(c),this._documentCount-=1}removeAll(e){if(e)for(const t of e)this.remove(t);else{if(arguments.length>0)throw new Error("Expected documents to be present. Omit the argument to remove all documents.");this._index=new X,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldLength=new Map,this._avgFieldLength=[],this._storedFields=new Map,this._nextId=0}}discard(e){const t=this._idToShortId.get(e);if(t==null)throw new Error(`MiniSearch: cannot discard document with ID ${e}: it is not in the index`);this._idToShortId.delete(e),this._documentIds.delete(t),this._storedFields.delete(t),(this._fieldLength.get(t)||[]).forEach((s,n)=>{this.removeFieldLength(t,n,this._documentCount,s)}),this._fieldLength.delete(t),this._documentCount-=1,this._dirtCount+=1,this.maybeAutoVacuum()}maybeAutoVacuum(){if(this._options.autoVacuum===!1)return;const{minDirtFactor:e,minDirtCount:t,batchSize:s,batchWait:n}=this._options.autoVacuum;this.conditionalVacuum({batchSize:s,batchWait:n},{minDirtCount:t,minDirtFactor:e})}discardAll(e){const t=this._options.autoVacuum;try{this._options.autoVacuum=!1;for(const s of e)this.discard(s)}finally{this._options.autoVacuum=t}this.maybeAutoVacuum()}replace(e){const{idField:t,extractField:s}=this._options,n=s(e,t);this.discard(n),this.add(e)}vacuum(e={}){return this.conditionalVacuum(e)}conditionalVacuum(e,t){return this._currentVacuum?(this._enqueuedVacuumConditions=this._enqueuedVacuumConditions&&t,this._enqueuedVacuum!=null?this._enqueuedVacuum:(this._enqueuedVacuum=this._currentVacuum.then(()=>{const s=this._enqueuedVacuumConditions;return this._enqueuedVacuumConditions=Ke,this.performVacuuming(e,s)}),this._enqueuedVacuum)):this.vacuumConditionsMet(t)===!1?Promise.resolve():(this._currentVacuum=this.performVacuuming(e),this._currentVacuum)}performVacuuming(e,t){return Ie(this,void 0,void 0,function*(){const s=this._dirtCount;if(this.vacuumConditionsMet(t)){const n=e.batchSize||We.batchSize,r=e.batchWait||We.batchWait;let i=1;for(const[o,c]of this._index){for(const[l,h]of c)for(const[f]of h)this._documentIds.has(f)||(h.size<=1?c.delete(l):h.delete(f));this._index.get(o).size===0&&this._index.delete(o),i%n===0&&(yield new Promise(l=>setTimeout(l,r))),i+=1}this._dirtCount-=s}yield null,this._currentVacuum=this._enqueuedVacuum,this._enqueuedVacuum=null})}vacuumConditionsMet(e){if(e==null)return!0;let{minDirtCount:t,minDirtFactor:s}=e;return t=t||je.minDirtCount,s=s||je.minDirtFactor,this.dirtCount>=t&&this.dirtFactor>=s}get isVacuuming(){return this._currentVacuum!=null}get dirtCount(){return this._dirtCount}get dirtFactor(){return this._dirtCount/(1+this._documentCount+this._dirtCount)}has(e){return this._idToShortId.has(e)}getStoredFields(e){const t=this._idToShortId.get(e);if(t!=null)return this._storedFields.get(t)}search(e,t={}){const s=this.executeQuery(e,t),n=[];for(const[r,{score:i,terms:o,match:c}]of s){const l=o.length||1,h={id:this._documentIds.get(r),score:i*l,terms:Object.keys(c),queryTerms:o,match:c};Object.assign(h,this._storedFields.get(r)),(t.filter==null||t.filter(h))&&n.push(h)}return e===le.wildcard&&t.boostDocument==null&&this._options.searchOptions.boostDocument==null||n.sort(pt),n}autoSuggest(e,t={}){t=Object.assign(Object.assign({},this._options.autoSuggestOptions),t);const s=new Map;for(const{score:r,terms:i}of this.search(e,t)){const o=i.join(" "),c=s.get(o);c!=null?(c.score+=r,c.count+=1):s.set(o,{score:r,terms:i,count:1})}const n=[];for(const[r,{score:i,terms:o,count:c}]of s)n.push({suggestion:r,terms:o,score:i/c});return n.sort(pt),n}get documentCount(){return this._documentCount}get termCount(){return this._index.size}static loadJSON(e,t){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJS(JSON.parse(e),t)}static loadJSONAsync(e,t){return Ie(this,void 0,void 0,function*(){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJSAsync(JSON.parse(e),t)})}static getDefault(e){if(Pe.hasOwnProperty(e))return ze(Pe,e);throw new Error(`MiniSearch: unknown option "${e}"`)}static loadJS(e,t){const{index:s,documentIds:n,fieldLength:r,storedFields:i,serializationVersion:o}=e,c=this.instantiateMiniSearch(e,t);c._documentIds=Se(n),c._fieldLength=Se(r),c._storedFields=Se(i);for(const[l,h]of c._documentIds)c._idToShortId.set(h,l);for(const[l,h]of s){const f=new Map;for(const v of Object.keys(h)){let y=h[v];o===1&&(y=y.ds),f.set(parseInt(v,10),Se(y))}c._index.set(l,f)}return c}static loadJSAsync(e,t){return Ie(this,void 0,void 0,function*(){const{index:s,documentIds:n,fieldLength:r,storedFields:i,serializationVersion:o}=e,c=this.instantiateMiniSearch(e,t);c._documentIds=yield Ee(n),c._fieldLength=yield Ee(r),c._storedFields=yield Ee(i);for(const[h,f]of c._documentIds)c._idToShortId.set(f,h);let l=0;for(const[h,f]of s){const v=new Map;for(const y of Object.keys(f)){let w=f[y];o===1&&(w=w.ds),v.set(parseInt(y,10),yield Ee(w))}++l%1e3===0&&(yield kt(0)),c._index.set(h,v)}return c})}static instantiateMiniSearch(e,t){const{documentCount:s,nextId:n,fieldIds:r,averageFieldLength:i,dirtCount:o,serializationVersion:c}=e;if(c!==1&&c!==2)throw new Error("MiniSearch: cannot deserialize an index created with an incompatible version");const l=new le(t);return l._documentCount=s,l._nextId=n,l._idToShortId=new Map,l._fieldIds=r,l._avgFieldLength=i,l._dirtCount=o||0,l._index=new X,l}executeQuery(e,t={}){if(e===le.wildcard)return this.executeWildcardQuery(t);if(typeof e!="string"){const v=Object.assign(Object.assign(Object.assign({},t),e),{queries:void 0}),y=e.queries.map(w=>this.executeQuery(w,v));return this.combineResults(y,v.combineWith)}const{tokenize:s,processTerm:n,searchOptions:r}=this._options,i=Object.assign(Object.assign({tokenize:s,processTerm:n},r),t),{tokenize:o,processTerm:c}=i,f=o(e).flatMap(v=>c(v)).filter(v=>!!v).map($s(i)).map(v=>this.executeQuerySpec(v,i));return this.combineResults(f,i.combineWith)}executeQuerySpec(e,t){const s=Object.assign(Object.assign({},this._options.searchOptions),t),n=(s.fields||this._options.fields).reduce((b,x)=>Object.assign(Object.assign({},b),{[x]:ze(s.boost,x)||1}),{}),{boostDocument:r,weights:i,maxFuzzy:o,bm25:c}=s,{fuzzy:l,prefix:h}=Object.assign(Object.assign({},ht.weights),i),f=this._index.get(e.term),v=this.termResults(e.term,e.term,1,f,n,r,c);let y,w;if(e.prefix&&(y=this._index.atPrefix(e.term)),e.fuzzy){const b=e.fuzzy===!0?.2:e.fuzzy,x=b<1?Math.min(o,Math.round(e.term.length*b)):b;x&&(w=this._index.fuzzyGet(e.term,x))}if(y)for(const[b,x]of y){const C=b.length-e.term.length;if(!C)continue;w==null||w.delete(b);const R=h*b.length/(b.length+.3*C);this.termResults(e.term,b,R,x,n,r,c,v)}if(w)for(const b of w.keys()){const[x,C]=w.get(b);if(!C)continue;const R=l*b.length/(b.length+C);this.termResults(e.term,b,R,x,n,r,c,v)}return v}executeWildcardQuery(e){const t=new Map,s=Object.assign(Object.assign({},this._options.searchOptions),e);for(const[n,r]of this._documentIds){const i=s.boostDocument?s.boostDocument(r,"",this._storedFields.get(n)):1;t.set(n,{score:i,terms:[],match:{}})}return t}combineResults(e,t=Ue){if(e.length===0)return new Map;const s=t.toLowerCase(),n=Ps[s];if(!n)throw new Error(`Invalid combination operator: ${t}`);return e.reduce(n)||new Map}toJSON(){const e=[];for(const[t,s]of this._index){const n={};for(const[r,i]of s)n[r]=Object.fromEntries(i);e.push([t,n])}return{documentCount:this._documentCount,nextId:this._nextId,documentIds:Object.fromEntries(this._documentIds),fieldIds:this._fieldIds,fieldLength:Object.fromEntries(this._fieldLength),averageFieldLength:this._avgFieldLength,storedFields:Object.fromEntries(this._storedFields),dirtCount:this._dirtCount,index:e,serializationVersion:2}}termResults(e,t,s,n,r,i,o,c=new Map){if(n==null)return c;for(const l of Object.keys(r)){const h=r[l],f=this._fieldIds[l],v=n.get(f);if(v==null)continue;let y=v.size;const w=this._avgFieldLength[f];for(const b of v.keys()){if(!this._documentIds.has(b)){this.removeTerm(f,b,t),y-=1;continue}const x=i?i(this._documentIds.get(b),t,this._storedFields.get(b)):1;if(!x)continue;const C=v.get(b),R=this._fieldLength.get(b)[f],W=Vs(C,y,this._documentCount,R,w,o),J=s*h*x*W,V=c.get(b);if(V){V.score+=J,Ws(V.terms,e);const U=ze(V.match,t);U?U.push(l):V.match[t]=[l]}else c.set(b,{score:J,terms:[e],match:{[t]:[l]}})}}return c}addTerm(e,t,s){const n=this._index.fetch(s,vt);let r=n.get(e);if(r==null)r=new Map,r.set(t,1),n.set(e,r);else{const i=r.get(t);r.set(t,(i||0)+1)}}removeTerm(e,t,s){if(!this._index.has(s)){this.warnDocumentChanged(t,e,s);return}const n=this._index.fetch(s,vt),r=n.get(e);r==null||r.get(t)==null?this.warnDocumentChanged(t,e,s):r.get(t)<=1?r.size<=1?n.delete(e):r.delete(t):r.set(t,r.get(t)-1),this._index.get(s).size===0&&this._index.delete(s)}warnDocumentChanged(e,t,s){for(const n of Object.keys(this._fieldIds))if(this._fieldIds[n]===t){this._options.logger("warn",`MiniSearch: document with ID ${this._documentIds.get(e)} has changed before removal: term "${s}" was not present in field "${n}". Removing a document after it has changed can corrupt the index!`,"version_conflict");return}}addDocumentId(e){const t=this._nextId;return this._idToShortId.set(e,t),this._documentIds.set(t,e),this._documentCount+=1,this._nextId+=1,t}addFields(e){for(let t=0;tObject.prototype.hasOwnProperty.call(a,e)?a[e]:void 0,Ps={[Ue]:(a,e)=>{for(const t of e.keys()){const s=a.get(t);if(s==null)a.set(t,e.get(t));else{const{score:n,terms:r,match:i}=e.get(t);s.score=s.score+n,s.match=Object.assign(s.match,i),ft(s.terms,r)}}return a},[Nt]:(a,e)=>{const t=new Map;for(const s of e.keys()){const n=a.get(s);if(n==null)continue;const{score:r,terms:i,match:o}=e.get(s);ft(n.terms,i),t.set(s,{score:n.score+r,terms:n.terms,match:Object.assign(n.match,o)})}return t},[zs]:(a,e)=>{for(const t of e.keys())a.delete(t);return a}},js={k:1.2,b:.7,d:.5},Vs=(a,e,t,s,n,r)=>{const{k:i,b:o,d:c}=r;return Math.log(1+(t-e+.5)/(e+.5))*(c+a*(i+1)/(a+i*(1-o+o*s/n)))},$s=a=>(e,t,s)=>{const n=typeof a.fuzzy=="function"?a.fuzzy(e,t,s):a.fuzzy||!1,r=typeof a.prefix=="function"?a.prefix(e,t,s):a.prefix===!0;return{term:e,fuzzy:n,prefix:r}},Pe={idField:"id",extractField:(a,e)=>a[e],tokenize:a=>a.split(Ks),processTerm:a=>a.toLowerCase(),fields:void 0,searchOptions:void 0,storeFields:[],logger:(a,e)=>{typeof(console==null?void 0:console[a])=="function"&&console[a](e)},autoVacuum:!0},ht={combineWith:Ue,prefix:!1,fuzzy:!1,maxFuzzy:6,boost:{},weights:{fuzzy:.45,prefix:.375},bm25:js},Bs={combineWith:Nt,prefix:(a,e,t)=>e===t.length-1},We={batchSize:1e3,batchWait:10},Ke={minDirtFactor:.1,minDirtCount:20},je=Object.assign(Object.assign({},We),Ke),Ws=(a,e)=>{a.includes(e)||a.push(e)},ft=(a,e)=>{for(const t of e)a.includes(t)||a.push(t)},pt=({score:a},{score:e})=>e-a,vt=()=>new Map,Se=a=>{const e=new Map;for(const t of Object.keys(a))e.set(parseInt(t,10),a[t]);return e},Ee=a=>Ie(void 0,void 0,void 0,function*(){const e=new Map;let t=0;for(const s of Object.keys(a))e.set(parseInt(s,10),a[s]),++t%1e3===0&&(yield kt(0));return e}),kt=a=>new Promise(e=>setTimeout(e,a)),Ks=/[\n\r\p{Z}\p{P}]+/u;class Js{constructor(e=10){Ce(this,"max");Ce(this,"cache");this.max=e,this.cache=new Map}get(e){let t=this.cache.get(e);return t!==void 0&&(this.cache.delete(e),this.cache.set(e,t)),t}set(e,t){this.cache.has(e)?this.cache.delete(e):this.cache.size===this.max&&this.cache.delete(this.first()),this.cache.set(e,t)}first(){return this.cache.keys().next().value}clear(){this.cache.clear()}}const B=a=>(Qt("data-v-639d7ab9"),a=a(),Ht(),a),Us=["aria-owns"],qs={class:"shell"},Gs=["title"],Qs=B(()=>_("span",{"aria-hidden":"true",class:"vpi-search search-icon local-search-icon"},null,-1)),Hs=[Qs],Ys={class:"search-actions before"},Zs=["title"],Xs=B(()=>_("span",{class:"vpi-arrow-left local-search-icon"},null,-1)),en=[Xs],tn=["placeholder"],sn={class:"search-actions"},nn=["title"],rn=B(()=>_("span",{class:"vpi-layout-list local-search-icon"},null,-1)),an=[rn],on=["disabled","title"],cn=B(()=>_("span",{class:"vpi-delete local-search-icon"},null,-1)),ln=[cn],un=["id","role","aria-labelledby"],dn=["aria-selected"],hn=["href","aria-label","onMouseenter","onFocusin"],fn={class:"titles"},pn=B(()=>_("span",{class:"title-icon"},"#",-1)),vn=["innerHTML"],mn=B(()=>_("span",{class:"vpi-chevron-right local-search-icon"},null,-1)),gn={class:"title main"},bn=["innerHTML"],yn={key:0,class:"excerpt-wrapper"},wn={key:0,class:"excerpt",inert:""},_n=["innerHTML"],xn=B(()=>_("div",{class:"excerpt-gradient-bottom"},null,-1)),Sn=B(()=>_("div",{class:"excerpt-gradient-top"},null,-1)),En={key:0,class:"no-results"},In={class:"search-keyboard-shortcuts"},Tn=["aria-label"],Nn=B(()=>_("span",{class:"vpi-arrow-up navigate-icon"},null,-1)),kn=[Nn],Fn=["aria-label"],On=B(()=>_("span",{class:"vpi-arrow-down navigate-icon"},null,-1)),Rn=[On],Cn=["aria-label"],Mn=B(()=>_("span",{class:"vpi-corner-down-left navigate-icon"},null,-1)),An=[Mn],Ln=["aria-label"],Dn=Mt({__name:"VPLocalSearchBox",emits:["close"],setup(a,{emit:e}){var F,M;const t=e,s=be(),n=be(),r=be(is),i=ss(),{activate:o}=Rs(s,{immediate:!0,allowOutsideClick:!0,clickOutsideDeactivates:!0,escapeDeactivates:!0}),{localeIndex:c,theme:l}=i,h=tt(async()=>{var p,g,N,O,P,j,T,L,G;return rt(le.loadJSON((N=await((g=(p=r.value)[c.value])==null?void 0:g.call(p)))==null?void 0:N.default,{fields:["title","titles","text"],storeFields:["title","titles"],searchOptions:{fuzzy:.2,prefix:!0,boost:{title:4,text:2,titles:1},...((O=l.value.search)==null?void 0:O.provider)==="local"&&((j=(P=l.value.search.options)==null?void 0:P.miniSearch)==null?void 0:j.searchOptions)},...((T=l.value.search)==null?void 0:T.provider)==="local"&&((G=(L=l.value.search.options)==null?void 0:L.miniSearch)==null?void 0:G.options)}))}),v=ye(()=>{var p,g;return((p=l.value.search)==null?void 0:p.provider)==="local"&&((g=l.value.search.options)==null?void 0:g.disableQueryPersistence)===!0}).value?ne(""):At("vitepress:local-search-filter",""),y=Lt("vitepress:local-search-detailed-list",((F=l.value.search)==null?void 0:F.provider)==="local"&&((M=l.value.search.options)==null?void 0:M.detailedView)===!0),w=ye(()=>{var p,g,N;return((p=l.value.search)==null?void 0:p.provider)==="local"&&(((g=l.value.search.options)==null?void 0:g.disableDetailedView)===!0||((N=l.value.search.options)==null?void 0:N.detailedView)===!1)}),b=ye(()=>{var g,N,O,P,j,T,L;const p=((g=l.value.search)==null?void 0:g.options)??l.value.algolia;return((j=(P=(O=(N=p==null?void 0:p.locales)==null?void 0:N[c.value])==null?void 0:O.translations)==null?void 0:P.button)==null?void 0:j.buttonText)||((L=(T=p==null?void 0:p.translations)==null?void 0:T.button)==null?void 0:L.buttonText)||"Search"});Dt(()=>{w.value&&(y.value=!1)});const x=be([]),C=ne(!1);Ve(v,()=>{C.value=!1});const R=tt(async()=>{if(n.value)return rt(new Ms(n.value))},null),W=new Js(16);zt(()=>[h.value,v.value,y.value],async([p,g,N],O,P)=>{var me,qe,Ge,Qe;(O==null?void 0:O[0])!==p&&W.clear();let j=!1;if(P(()=>{j=!0}),!p)return;x.value=p.search(g).slice(0,16),C.value=!0;const T=N?await Promise.all(x.value.map($=>J($.id))):[];if(j)return;for(const{id:$,mod:ee}of T){const te=$.slice(0,$.indexOf("#"));let Y=W.get(te);if(Y)continue;Y=new Map,W.set(te,Y);const Q=ee.default??ee;if(Q!=null&&Q.render||Q!=null&&Q.setup){const se=Yt(Q);se.config.warnHandler=()=>{},se.provide(Zt,i),Object.defineProperties(se.config.globalProperties,{$frontmatter:{get(){return i.frontmatter.value}},$params:{get(){return i.page.value.params}}});const He=document.createElement("div");se.mount(He),He.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(ue=>{var Xe;const ge=(Xe=ue.querySelector("a"))==null?void 0:Xe.getAttribute("href"),Ye=(ge==null?void 0:ge.startsWith("#"))&&ge.slice(1);if(!Ye)return;let Ze="";for(;(ue=ue.nextElementSibling)&&!/^h[1-6]$/i.test(ue.tagName);)Ze+=ue.outerHTML;Y.set(Ye,Ze)}),se.unmount()}if(j)return}const L=new Set;if(x.value=x.value.map($=>{const[ee,te]=$.id.split("#"),Y=W.get(ee),Q=(Y==null?void 0:Y.get(te))??"";for(const se in $.match)L.add(se);return{...$,text:Q}}),await de(),j)return;await new Promise($=>{var ee;(ee=R.value)==null||ee.unmark({done:()=>{var te;(te=R.value)==null||te.markRegExp(k(L),{done:$})}})});const G=((me=s.value)==null?void 0:me.querySelectorAll(".result .excerpt"))??[];for(const $ of G)(qe=$.querySelector('mark[data-markjs="true"]'))==null||qe.scrollIntoView({block:"center"});(Qe=(Ge=n.value)==null?void 0:Ge.firstElementChild)==null||Qe.scrollIntoView({block:"start"})},{debounce:200,immediate:!0});async function J(p){const g=Xt(p.slice(0,p.indexOf("#")));try{if(!g)throw new Error(`Cannot find file for id: ${p}`);return{id:p,mod:await import(g)}}catch(N){return console.error(N),{id:p,mod:{}}}}const V=ne(),U=ye(()=>{var p;return((p=v.value)==null?void 0:p.length)<=0});function q(p=!0){var g,N;(g=V.value)==null||g.focus(),p&&((N=V.value)==null||N.select())}Me(()=>{q()});function Re(p){p.pointerType==="mouse"&&q()}const A=ne(-1),K=ne(!1);Ve(x,p=>{A.value=p.length?0:-1,I()});function I(){de(()=>{const p=document.querySelector(".result.selected");p==null||p.scrollIntoView({block:"nearest"})})}we("ArrowUp",p=>{p.preventDefault(),A.value--,A.value<0&&(A.value=x.value.length-1),K.value=!0,I()}),we("ArrowDown",p=>{p.preventDefault(),A.value++,A.value>=x.value.length&&(A.value=0),K.value=!0,I()});const u=Pt();we("Enter",p=>{if(p.isComposing||p.target instanceof HTMLButtonElement&&p.target.type!=="submit")return;const g=x.value[A.value];if(p.target instanceof HTMLInputElement&&!g){p.preventDefault();return}g&&(u.go(g.id),t("close"))}),we("Escape",()=>{t("close")});const m=ns({modal:{displayDetails:"Display detailed list",resetButtonTitle:"Reset search",backButtonTitle:"Close search",noResultsText:"No results for",footer:{selectText:"to select",selectKeyAriaLabel:"enter",navigateText:"to navigate",navigateUpKeyAriaLabel:"up arrow",navigateDownKeyAriaLabel:"down arrow",closeText:"to close",closeKeyAriaLabel:"escape"}}});Me(()=>{window.history.pushState(null,"",null)}),jt("popstate",p=>{p.preventDefault(),t("close")});const S=Vt($t?document.body:null);Me(()=>{de(()=>{S.value=!0,de().then(()=>o())})}),Bt(()=>{S.value=!1});function E(){v.value="",de().then(()=>q(!1))}function k(p){return new RegExp([...p].sort((g,N)=>N.length-g.length).map(g=>`(${es(g)})`).join("|"),"gi")}return(p,g)=>{var N,O,P,j;return H(),Wt(Gt,{to:"body"},[_("div",{ref_key:"el",ref:s,role:"button","aria-owns":(N=x.value)!=null&&N.length?"localsearch-list":void 0,"aria-expanded":"true","aria-haspopup":"listbox","aria-labelledby":"localsearch-label",class:"VPLocalSearchBox"},[_("div",{class:"backdrop",onClick:g[0]||(g[0]=T=>p.$emit("close"))}),_("div",qs,[_("form",{class:"search-bar",onPointerup:g[4]||(g[4]=T=>Re(T)),onSubmit:g[5]||(g[5]=Kt(()=>{},["prevent"]))},[_("label",{title:b.value,id:"localsearch-label",for:"localsearch-input"},Hs,8,Gs),_("div",Ys,[_("button",{class:"back-button",title:D(m)("modal.backButtonTitle"),onClick:g[1]||(g[1]=T=>p.$emit("close"))},en,8,Zs)]),Jt(_("input",{ref_key:"searchInput",ref:V,"onUpdate:modelValue":g[2]||(g[2]=T=>qt(v)?v.value=T:null),placeholder:b.value,id:"localsearch-input","aria-labelledby":"localsearch-label",class:"search-input"},null,8,tn),[[Ut,D(v)]]),_("div",sn,[w.value?_e("",!0):(H(),Z("button",{key:0,class:st(["toggle-layout-button",{"detailed-list":D(y)}]),type:"button",title:D(m)("modal.displayDetails"),onClick:g[3]||(g[3]=T=>A.value>-1&&(y.value=!D(y)))},an,10,nn)),_("button",{class:"clear-button",type:"reset",disabled:U.value,title:D(m)("modal.resetButtonTitle"),onClick:E},ln,8,on)])],32),_("ul",{ref_key:"resultsEl",ref:n,id:(O=x.value)!=null&&O.length?"localsearch-list":void 0,role:(P=x.value)!=null&&P.length?"listbox":void 0,"aria-labelledby":(j=x.value)!=null&&j.length?"localsearch-label":void 0,class:"results",onMousemove:g[7]||(g[7]=T=>K.value=!1)},[(H(!0),Z(it,null,nt(x.value,(T,L)=>(H(),Z("li",{key:T.id,role:"option","aria-selected":A.value===L?"true":"false"},[_("a",{href:T.id,class:st(["result",{selected:A.value===L}]),"aria-label":[...T.titles,T.title].join(" > "),onMouseenter:G=>!K.value&&(A.value=L),onFocusin:G=>A.value=L,onClick:g[6]||(g[6]=G=>p.$emit("close"))},[_("div",null,[_("div",fn,[pn,(H(!0),Z(it,null,nt(T.titles,(G,me)=>(H(),Z("span",{key:me,class:"title"},[_("span",{class:"text",innerHTML:G},null,8,vn),mn]))),128)),_("span",gn,[_("span",{class:"text",innerHTML:T.title},null,8,bn)])]),D(y)?(H(),Z("div",yn,[T.text?(H(),Z("div",wn,[_("div",{class:"vp-doc",innerHTML:T.text},null,8,_n)])):_e("",!0),xn,Sn])):_e("",!0)])],42,hn)],8,dn))),128)),D(v)&&!x.value.length&&C.value?(H(),Z("li",En,[he(fe(D(m)("modal.noResultsText"))+' "',1),_("strong",null,fe(D(v)),1),he('" ')])):_e("",!0)],40,un),_("div",In,[_("span",null,[_("kbd",{"aria-label":D(m)("modal.footer.navigateUpKeyAriaLabel")},kn,8,Tn),_("kbd",{"aria-label":D(m)("modal.footer.navigateDownKeyAriaLabel")},Rn,8,Fn),he(" "+fe(D(m)("modal.footer.navigateText")),1)]),_("span",null,[_("kbd",{"aria-label":D(m)("modal.footer.selectKeyAriaLabel")},An,8,Cn),he(" "+fe(D(m)("modal.footer.selectText")),1)]),_("span",null,[_("kbd",{"aria-label":D(m)("modal.footer.closeKeyAriaLabel")},"esc",8,Ln),he(" "+fe(D(m)("modal.footer.closeText")),1)])])])],8,Us)])}}}),Bn=ts(Dn,[["__scopeId","data-v-639d7ab9"]]);export{Bn as default}; diff --git a/docs/.vitepress/dist/assets/chunks/framework.DB6FXu2X.js b/docs/.vitepress/dist/assets/chunks/framework.B_akP0Gx.js similarity index 67% rename from docs/.vitepress/dist/assets/chunks/framework.DB6FXu2X.js rename to docs/.vitepress/dist/assets/chunks/framework.B_akP0Gx.js index 758afd3..cd84890 100644 --- a/docs/.vitepress/dist/assets/chunks/framework.DB6FXu2X.js +++ b/docs/.vitepress/dist/assets/chunks/framework.B_akP0Gx.js @@ -1,17 +1,17 @@ /** -* @vue/shared v3.4.32 +* @vue/shared v3.4.33 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **//*! #__NO_SIDE_EFFECTS__ */function wr(e,t){const n=new Set(e.split(","));return r=>n.has(r)}const ne={},yt=[],Te=()=>{},Pi=()=>!1,Kt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Er=e=>e.startsWith("onUpdate:"),fe=Object.assign,Cr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ni=Object.prototype.hasOwnProperty,z=(e,t)=>Ni.call(e,t),B=Array.isArray,_t=e=>xn(e)==="[object Map]",zs=e=>xn(e)==="[object Set]",K=e=>typeof e=="function",ie=e=>typeof e=="string",Qe=e=>typeof e=="symbol",Z=e=>e!==null&&typeof e=="object",Js=e=>(Z(e)||K(e))&&K(e.then)&&K(e.catch),Qs=Object.prototype.toString,xn=e=>Qs.call(e),Fi=e=>xn(e).slice(8,-1),Zs=e=>xn(e)==="[object Object]",Sr=e=>ie(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,bt=wr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Tn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},$i=/-(\w)/g,Oe=Tn(e=>e.replace($i,(t,n)=>n?n.toUpperCase():"")),Hi=/\B([A-Z])/g,Ze=Tn(e=>e.replace(Hi,"-$1").toLowerCase()),An=Tn(e=>e.charAt(0).toUpperCase()+e.slice(1)),fn=Tn(e=>e?`on${An(e)}`:""),ze=(e,t)=>!Object.is(e,t),dn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},cr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ji=e=>{const t=ie(e)?Number(e):NaN;return isNaN(t)?e:t};let Jr;const to=()=>Jr||(Jr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function xr(e){if(B(e)){const t={};for(let n=0;n{if(n){const r=n.split(Di);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Tr(e){let t="";if(ie(e))t=e;else if(B(e))for(let n=0;n!!(e&&e.__v_isRef===!0),Wi=e=>ie(e)?e:e==null?"":B(e)||Z(e)&&(e.toString===Qs||!K(e.toString))?ro(e)?Wi(e.value):JSON.stringify(e,so,2):String(e),so=(e,t)=>ro(t)?so(e,t.value):_t(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[kn(r,o)+" =>"]=s,n),{})}:zs(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>kn(n))}:Qe(t)?kn(t):Z(t)&&!B(t)&&!Zs(t)?String(t):t,kn=(e,t="")=>{var n;return Qe(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** -* @vue/reactivity v3.4.32 +* @vue/reactivity v3.4.33 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let we;class qi{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=we,!t&&we&&(this.index=(we.scopes||(we.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=we;try{return we=this,t()}finally{we=n}}}on(){we=this}off(){we=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),tt()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Xe,n=ct;try{return Xe=!0,ct=this,this._runnings++,Qr(this),this.fn()}finally{Zr(this),this._runnings--,ct=n,Xe=t}}stop(){this.active&&(Qr(this),Zr(this),this.onStop&&this.onStop(),this.active=!1)}}function Yi(e){return e.value}function Qr(e){e._trackId++,e._depsLength=0}function Zr(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},yn=new WeakMap,at=Symbol(""),fr=Symbol("");function be(e,t,n){if(Xe&&ct){let r=yn.get(e);r||yn.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=uo(()=>r.delete(n))),co(ct,s)}}function Ve(e,t,n,r,s,o){const i=yn.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&B(e)){const c=Number(r);i.forEach((u,f)=>{(f==="length"||!Qe(f)&&f>=c)&&l.push(u)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":B(e)?Sr(n)&&l.push(i.get("length")):(l.push(i.get(at)),_t(e)&&l.push(i.get(fr)));break;case"delete":B(e)||(l.push(i.get(at)),_t(e)&&l.push(i.get(fr)));break;case"set":_t(e)&&l.push(i.get(at));break}Rr();for(const c of l)c&&ao(c,4);Or()}function zi(e,t){const n=yn.get(e);return n&&n.get(t)}const Ji=wr("__proto__,__v_isRef,__isVue"),fo=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Qe)),es=Qi();function Qi(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=J(this);for(let o=0,i=this.length;o{e[t]=function(...n){et(),Rr();const r=J(this)[t].apply(this,n);return Or(),tt(),r}}),e}function Zi(e){Qe(e)||(e=String(e));const t=J(this);return be(t,"has",e),t.hasOwnProperty(e)}class ho{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?dl:yo:o?mo:go).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=B(t);if(!s){if(i&&z(es,n))return Reflect.get(es,n,r);if(n==="hasOwnProperty")return Zi}const l=Reflect.get(t,n,r);return(Qe(n)?fo.has(n):Ji(n))||(s||be(t,"get",n),o)?l:de(l)?i&&Sr(n)?l:l.value:Z(l)?s?Ln(l):On(l):l}}class po extends ho{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(!this._isShallow){const c=dt(o);if(!St(r)&&!dt(r)&&(o=J(o),r=J(r)),!B(t)&&de(o)&&!de(r))return c?!1:(o.value=r,!0)}const i=B(t)&&Sr(n)?Number(n)e,Rn=e=>Reflect.getPrototypeOf(e);function Jt(e,t,n=!1,r=!1){e=e.__v_raw;const s=J(e),o=J(t);n||(ze(t,o)&&be(s,"get",t),be(s,"get",o));const{has:i}=Rn(s),l=r?Lr:n?Pr:jt;if(i.call(s,t))return l(e.get(t));if(i.call(s,o))return l(e.get(o));e!==s&&e.get(t)}function Qt(e,t=!1){const n=this.__v_raw,r=J(n),s=J(e);return t||(ze(e,s)&&be(r,"has",e),be(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function Zt(e,t=!1){return e=e.__v_raw,!t&&be(J(e),"iterate",at),Reflect.get(e,"size",e)}function ts(e,t=!1){!t&&!St(e)&&!dt(e)&&(e=J(e));const n=J(this);return Rn(n).has.call(n,e)||(n.add(e),Ve(n,"add",e,e)),this}function ns(e,t,n=!1){!n&&!St(t)&&!dt(t)&&(t=J(t));const r=J(this),{has:s,get:o}=Rn(r);let i=s.call(r,e);i||(e=J(e),i=s.call(r,e));const l=o.call(r,e);return r.set(e,t),i?ze(t,l)&&Ve(r,"set",e,t):Ve(r,"add",e,t),this}function rs(e){const t=J(this),{has:n,get:r}=Rn(t);let s=n.call(t,e);s||(e=J(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&Ve(t,"delete",e,void 0),o}function ss(){const e=J(this),t=e.size!==0,n=e.clear();return t&&Ve(e,"clear",void 0,void 0),n}function en(e,t){return function(r,s){const o=this,i=o.__v_raw,l=J(i),c=t?Lr:e?Pr:jt;return!e&&be(l,"iterate",at),i.forEach((u,f)=>r.call(s,c(u),c(f),o))}}function tn(e,t,n){return function(...r){const s=this.__v_raw,o=J(s),i=_t(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,u=s[e](...r),f=n?Lr:t?Pr:jt;return!t&&be(o,"iterate",c?fr:at),{next(){const{value:h,done:m}=u.next();return m?{value:h,done:m}:{value:l?[f(h[0]),f(h[1])]:f(h),done:m}},[Symbol.iterator](){return this}}}}function Ue(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function sl(){const e={get(o){return Jt(this,o)},get size(){return Zt(this)},has:Qt,add:ts,set:ns,delete:rs,clear:ss,forEach:en(!1,!1)},t={get(o){return Jt(this,o,!1,!0)},get size(){return Zt(this)},has:Qt,add(o){return ts.call(this,o,!0)},set(o,i){return ns.call(this,o,i,!0)},delete:rs,clear:ss,forEach:en(!1,!0)},n={get(o){return Jt(this,o,!0)},get size(){return Zt(this,!0)},has(o){return Qt.call(this,o,!0)},add:Ue("add"),set:Ue("set"),delete:Ue("delete"),clear:Ue("clear"),forEach:en(!0,!1)},r={get(o){return Jt(this,o,!0,!0)},get size(){return Zt(this,!0)},has(o){return Qt.call(this,o,!0)},add:Ue("add"),set:Ue("set"),delete:Ue("delete"),clear:Ue("clear"),forEach:en(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=tn(o,!1,!1),n[o]=tn(o,!0,!1),t[o]=tn(o,!1,!0),r[o]=tn(o,!0,!0)}),[e,n,t,r]}const[ol,il,ll,cl]=sl();function Mr(e,t){const n=t?e?cl:ll:e?il:ol;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(z(n,s)&&s in r?n:r,s,o)}const al={get:Mr(!1,!1)},ul={get:Mr(!1,!0)},fl={get:Mr(!0,!1)};const go=new WeakMap,mo=new WeakMap,yo=new WeakMap,dl=new WeakMap;function hl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function pl(e){return e.__v_skip||!Object.isExtensible(e)?0:hl(Fi(e))}function On(e){return dt(e)?e:Ir(e,!1,tl,al,go)}function gl(e){return Ir(e,!1,rl,ul,mo)}function Ln(e){return Ir(e,!0,nl,fl,yo)}function Ir(e,t,n,r,s){if(!Z(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=pl(e);if(i===0)return e;const l=new Proxy(e,i===2?r:n);return s.set(e,l),l}function vt(e){return dt(e)?vt(e.__v_raw):!!(e&&e.__v_isReactive)}function dt(e){return!!(e&&e.__v_isReadonly)}function St(e){return!!(e&&e.__v_isShallow)}function _o(e){return e?!!e.__v_raw:!1}function J(e){const t=e&&e.__v_raw;return t?J(t):e}function hn(e){return Object.isExtensible(e)&&eo(e,"__v_skip",!0),e}const jt=e=>Z(e)?On(e):e,Pr=e=>Z(e)?Ln(e):e;class bo{constructor(t,n,r,s){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Ar(()=>t(this._value),()=>Mt(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=J(this);return(!t._cacheable||t.effect.dirty)&&ze(t._value,t._value=t.effect.run())&&Mt(t,4),Nr(t),t.effect._dirtyLevel>=2&&Mt(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function ml(e,t,n=!1){let r,s;const o=K(e);return o?(r=e,s=Te):(r=e.get,s=e.set),new bo(r,s,o||!s,n)}function Nr(e){var t;Xe&&ct&&(e=J(e),co(ct,(t=e.dep)!=null?t:e.dep=uo(()=>e.dep=void 0,e instanceof bo?e:void 0)))}function Mt(e,t=4,n,r){e=J(e);const s=e.dep;s&&ao(s,t)}function de(e){return!!(e&&e.__v_isRef===!0)}function oe(e){return vo(e,!1)}function Fr(e){return vo(e,!0)}function vo(e,t){return de(e)?e:new yl(e,t)}class yl{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:J(t),this._value=n?t:jt(t)}get value(){return Nr(this),this._value}set value(t){const n=this.__v_isShallow||St(t)||dt(t);t=n?t:J(t),ze(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:jt(t),Mt(this,4))}}function wo(e){return de(e)?e.value:e}const _l={get:(e,t,n)=>wo(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return de(s)&&!de(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Eo(e){return vt(e)?e:new Proxy(e,_l)}class bl{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Nr(this),()=>Mt(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function vl(e){return new bl(e)}class wl{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return zi(J(this._object),this._key)}}class El{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Cl(e,t,n){return de(e)?e:K(e)?new El(e):Z(e)&&arguments.length>1?Sl(e,t,n):oe(e)}function Sl(e,t,n){const r=e[t];return de(r)?r:new wl(e,t,n)}/** -* @vue/runtime-core v3.4.32 +* @vue/runtime-core v3.4.33 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function Ye(e,t,n,r){try{return r?e(...r):e()}catch(s){Wt(s,t,n)}}function Ae(e,t,n,r){if(K(e)){const s=Ye(e,t,n,r);return s&&Js(s)&&s.catch(o=>{Wt(o,t,n)}),s}if(B(e)){const s=[];for(let o=0;o>>1,s=pe[r],o=Dt(s);oNe&&pe.splice(t,1)}function Rl(e){B(e)?wt.push(...e):(!Ke||!Ke.includes(e,e.allowRecurse?it+1:it))&&wt.push(e),So()}function os(e,t,n=Vt?Ne+1:0){for(;nDt(n)-Dt(r));if(wt.length=0,Ke){Ke.push(...t);return}for(Ke=t,it=0;ite.id==null?1/0:e.id,Ol=(e,t)=>{const n=Dt(e)-Dt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function xo(e){dr=!1,Vt=!0,pe.sort(Ol);try{for(Ne=0;Ne{r._d&&ws(-1);const o=bn(t);let i;try{i=e(...s)}finally{bn(o),r._d&&ws(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function uu(e,t){if(ue===null)return e;const n=Vn(ue),r=e.dirs||(e.dirs=[]);for(let s=0;s{e.isMounted=!0}),Mo(()=>{e.isUnmounting=!0}),e}const Ce=[Function,Array],To={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ce,onEnter:Ce,onAfterEnter:Ce,onEnterCancelled:Ce,onBeforeLeave:Ce,onLeave:Ce,onAfterLeave:Ce,onLeaveCancelled:Ce,onBeforeAppear:Ce,onAppear:Ce,onAfterAppear:Ce,onAppearCancelled:Ce},Ao=e=>{const t=e.subTree;return t.component?Ao(t.component):t},Il={name:"BaseTransition",props:To,setup(e,{slots:t}){const n=jn(),r=Ml();return()=>{const s=t.default&&Oo(t.default(),!0);if(!s||!s.length)return;let o=s[0];if(s.length>1){for(const m of s)if(m.type!==me){o=m;break}}const i=J(e),{mode:l}=i;if(r.isLeaving)return Kn(o);const c=is(o);if(!c)return Kn(o);let u=hr(c,i,r,n,m=>u=m);vn(c,u);const f=n.subTree,h=f&&is(f);if(h&&h.type!==me&&!lt(c,h)&&Ao(n).type!==me){const m=hr(h,i,r,n);if(vn(h,m),l==="out-in"&&c.type!==me)return r.isLeaving=!0,m.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Kn(o);l==="in-out"&&c.type!==me&&(m.delayLeave=(v,S,O)=>{const k=Ro(r,h);k[String(h.key)]=h,v[We]=()=>{S(),v[We]=void 0,delete u.delayedLeave},u.delayedLeave=O})}return o}}},Pl=Il;function Ro(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function hr(e,t,n,r,s){const{appear:o,mode:i,persisted:l=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:f,onEnterCancelled:h,onBeforeLeave:m,onLeave:v,onAfterLeave:S,onLeaveCancelled:O,onBeforeAppear:k,onAppear:W,onAfterAppear:D,onAppearCancelled:p}=t,y=String(e.key),I=Ro(n,e),T=(M,_)=>{M&&Ae(M,r,9,_)},F=(M,_)=>{const N=_[1];T(M,_),B(M)?M.every(x=>x.length<=1)&&N():M.length<=1&&N()},$={mode:i,persisted:l,beforeEnter(M){let _=c;if(!n.isMounted)if(o)_=k||c;else return;M[We]&&M[We](!0);const N=I[y];N&<(e,N)&&N.el[We]&&N.el[We](),T(_,[M])},enter(M){let _=u,N=f,x=h;if(!n.isMounted)if(o)_=W||u,N=D||f,x=p||h;else return;let G=!1;const ee=M[nn]=re=>{G||(G=!0,re?T(x,[M]):T(N,[M]),$.delayedLeave&&$.delayedLeave(),M[nn]=void 0)};_?F(_,[M,ee]):ee()},leave(M,_){const N=String(e.key);if(M[nn]&&M[nn](!0),n.isUnmounting)return _();T(m,[M]);let x=!1;const G=M[We]=ee=>{x||(x=!0,_(),ee?T(O,[M]):T(S,[M]),M[We]=void 0,I[N]===e&&delete I[N])};I[N]=e,v?F(v,[M,G]):G()},clone(M){const _=hr(M,t,n,r,s);return s&&s(_),_}};return $}function Kn(e){if(qt(e))return e=Je(e),e.children=null,e}function is(e){if(!qt(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&K(n.default))return n.default()}}function vn(e,t){e.shapeFlag&6&&e.component?vn(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Oo(e,t=!1,n){let r=[],s=0;for(let o=0;o1)for(let o=0;o!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function fu(e){K(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,timeout:o,suspensible:i=!0,onError:l}=e;let c=null,u,f=0;const h=()=>(f++,c=null,m()),m=()=>{let v;return c||(v=c=t().catch(S=>{if(S=S instanceof Error?S:new Error(String(S)),l)return new Promise((O,k)=>{l(S,()=>O(h()),()=>k(S),f+1)});throw S}).then(S=>v!==c&&c?c:(S&&(S.__esModule||S[Symbol.toStringTag]==="Module")&&(S=S.default),u=S,S)))};return Hr({name:"AsyncComponentWrapper",__asyncLoader:m,get __asyncResolved(){return u},setup(){const v=ae;if(u)return()=>Wn(u,v);const S=D=>{c=null,Wt(D,v,13,!r)};if(i&&v.suspense||Xt)return m().then(D=>()=>Wn(D,v)).catch(D=>(S(D),()=>r?le(r,{error:D}):null));const O=oe(!1),k=oe(),W=oe(!!s);return s&&setTimeout(()=>{W.value=!1},s),o!=null&&setTimeout(()=>{if(!O.value&&!k.value){const D=new Error(`Async component timed out after ${o}ms.`);S(D),k.value=D}},o),m().then(()=>{O.value=!0,v.parent&&qt(v.parent.vnode)&&(v.parent.effect.dirty=!0,In(v.parent.update))}).catch(D=>{S(D),k.value=D}),()=>{if(O.value&&u)return Wn(u,v);if(k.value&&r)return le(r,{error:k.value});if(n&&!W.value)return le(n)}}})}function Wn(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=le(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const qt=e=>e.type.__isKeepAlive;function Nl(e,t){Lo(e,"a",t)}function Fl(e,t){Lo(e,"da",t)}function Lo(e,t,n=ae){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Nn(t,r,n),n){let s=n.parent;for(;s&&s.parent;)qt(s.parent.vnode)&&$l(r,t,n,s),s=s.parent}}function $l(e,t,n,r){const s=Nn(t,e,r,!0);Fn(()=>{Cr(r[t],s)},n)}function Nn(e,t,n=ae,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{et();const l=Gt(n),c=Ae(t,n,e,i);return l(),tt(),c});return r?s.unshift(o):s.push(o),o}}const De=e=>(t,n=ae)=>{(!Xt||e==="sp")&&Nn(e,(...r)=>t(...r),n)},Hl=De("bm"),Tt=De("m"),jl=De("bu"),Vl=De("u"),Mo=De("bum"),Fn=De("um"),Dl=De("sp"),Ul=De("rtg"),Bl=De("rtc");function kl(e,t=ae){Nn("ec",e,t)}const Io="components";function du(e,t){return No(Io,e,!0,t)||e}const Po=Symbol.for("v-ndc");function hu(e){return ie(e)?No(Io,e,!1)||e:e||Po}function No(e,t,n=!0,r=!1){const s=ue||ae;if(s){const o=s.type;{const l=Fc(o,!1);if(l&&(l===t||l===Oe(t)||l===An(Oe(t))))return o}const i=ls(s[e]||o[e],t)||ls(s.appContext[e],t);return!i&&r?o:i}}function ls(e,t){return e&&(e[t]||e[Oe(t)]||e[An(Oe(t))])}function pu(e,t,n,r){let s;const o=n;if(B(e)||ie(e)){s=new Array(e.length);for(let i=0,l=e.length;it(i,l,void 0,o));else{const i=Object.keys(e);s=new Array(i.length);for(let l=0,c=i.length;lCn(t)?!(t.type===me||t.type===_e&&!Fo(t.children)):!0)?e:null}function mu(e,t){const n={};for(const r in e)n[/[A-Z]/.test(r)?`on:${r}`:fn(r)]=e[r];return n}const pr=e=>e?li(e)?Vn(e):pr(e.parent):null,It=fe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>pr(e.parent),$root:e=>pr(e.root),$emit:e=>e.emit,$options:e=>jr(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,In(e.update)}),$nextTick:e=>e.n||(e.n=Mn.bind(e.proxy)),$watch:e=>yc.bind(e)}),qn=(e,t)=>e!==ne&&!e.__isScriptSetup&&z(e,t),Kl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:l,appContext:c}=e;let u;if(t[0]!=="$"){const v=i[t];if(v!==void 0)switch(v){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(qn(r,t))return i[t]=1,r[t];if(s!==ne&&z(s,t))return i[t]=2,s[t];if((u=e.propsOptions[0])&&z(u,t))return i[t]=3,o[t];if(n!==ne&&z(n,t))return i[t]=4,n[t];gr&&(i[t]=0)}}const f=It[t];let h,m;if(f)return t==="$attrs"&&be(e.attrs,"get",""),f(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==ne&&z(n,t))return i[t]=4,n[t];if(m=c.config.globalProperties,z(m,t))return m[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return qn(s,t)?(s[t]=n,!0):r!==ne&&z(r,t)?(r[t]=n,!0):z(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let l;return!!n[i]||e!==ne&&z(e,i)||qn(t,i)||(l=o[0])&&z(l,i)||z(r,i)||z(It,i)||z(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:z(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function yu(){return Wl().slots}function Wl(){const e=jn();return e.setupContext||(e.setupContext=ai(e))}function cs(e){return B(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let gr=!0;function ql(e){const t=jr(e),n=e.proxy,r=e.ctx;gr=!1,t.beforeCreate&&as(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:l,provide:c,inject:u,created:f,beforeMount:h,mounted:m,beforeUpdate:v,updated:S,activated:O,deactivated:k,beforeDestroy:W,beforeUnmount:D,destroyed:p,unmounted:y,render:I,renderTracked:T,renderTriggered:F,errorCaptured:$,serverPrefetch:M,expose:_,inheritAttrs:N,components:x,directives:G,filters:ee}=t;if(u&&Gl(u,r,null),i)for(const Y in i){const j=i[Y];K(j)&&(r[Y]=j.bind(n))}if(s){const Y=s.call(n,n);Z(Y)&&(e.data=On(Y))}if(gr=!0,o)for(const Y in o){const j=o[Y],He=K(j)?j.bind(n,n):K(j.get)?j.get.bind(n,n):Te,Yt=!K(j)&&K(j.set)?j.set.bind(n):Te,nt=se({get:He,set:Yt});Object.defineProperty(r,Y,{enumerable:!0,configurable:!0,get:()=>nt.value,set:Me=>nt.value=Me})}if(l)for(const Y in l)$o(l[Y],r,n,Y);if(c){const Y=K(c)?c.call(n):c;Reflect.ownKeys(Y).forEach(j=>{Zl(j,Y[j])})}f&&as(f,e,"c");function U(Y,j){B(j)?j.forEach(He=>Y(He.bind(n))):j&&Y(j.bind(n))}if(U(Hl,h),U(Tt,m),U(jl,v),U(Vl,S),U(Nl,O),U(Fl,k),U(kl,$),U(Bl,T),U(Ul,F),U(Mo,D),U(Fn,y),U(Dl,M),B(_))if(_.length){const Y=e.exposed||(e.exposed={});_.forEach(j=>{Object.defineProperty(Y,j,{get:()=>n[j],set:He=>n[j]=He})})}else e.exposed||(e.exposed={});I&&e.render===Te&&(e.render=I),N!=null&&(e.inheritAttrs=N),x&&(e.components=x),G&&(e.directives=G)}function Gl(e,t,n=Te){B(e)&&(e=mr(e));for(const r in e){const s=e[r];let o;Z(s)?"default"in s?o=Ct(s.from||r,s.default,!0):o=Ct(s.from||r):o=Ct(s),de(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function as(e,t,n){Ae(B(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function $o(e,t,n,r){const s=r.includes(".")?Qo(n,r):()=>n[r];if(ie(e)){const o=t[e];K(o)&&Fe(s,o)}else if(K(e))Fe(s,e.bind(n));else if(Z(e))if(B(e))e.forEach(o=>$o(o,t,n,r));else{const o=K(e.handler)?e.handler.bind(n):t[e.handler];K(o)&&Fe(s,o,e)}}function jr(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!s.length&&!n&&!r?c=t:(c={},s.length&&s.forEach(u=>wn(c,u,i,!0)),wn(c,t,i)),Z(t)&&o.set(t,c),c}function wn(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&wn(e,o,n,!0),s&&s.forEach(i=>wn(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const l=Xl[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Xl={data:us,props:fs,emits:fs,methods:Lt,computed:Lt,beforeCreate:ge,created:ge,beforeMount:ge,mounted:ge,beforeUpdate:ge,updated:ge,beforeDestroy:ge,beforeUnmount:ge,destroyed:ge,unmounted:ge,activated:ge,deactivated:ge,errorCaptured:ge,serverPrefetch:ge,components:Lt,directives:Lt,watch:zl,provide:us,inject:Yl};function us(e,t){return t?e?function(){return fe(K(e)?e.call(this,this):e,K(t)?t.call(this,this):t)}:t:e}function Yl(e,t){return Lt(mr(e),mr(t))}function mr(e){if(B(e)){const t={};for(let n=0;n1)return n&&K(t)?t.call(r&&r.proxy):t}}const jo={},Vo=()=>Object.create(jo),Do=e=>Object.getPrototypeOf(e)===jo;function ec(e,t,n,r=!1){const s={},o=Vo();e.propsDefaults=Object.create(null),Uo(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:gl(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function tc(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,l=J(s),[c]=e.propsOptions;let u=!1;if((r||i>0)&&!(i&16)){if(i&8){const f=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[m,v]=Bo(h,t,!0);fe(i,m),v&&l.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!o&&!c)return Z(e)&&r.set(e,yt),yt;if(B(o))for(let f=0;f-1,v[1]=O<0||S-1||z(v,"default"))&&l.push(h)}}}const u=[i,l];return Z(e)&&r.set(e,u),u}function ds(e){return e[0]!=="$"&&!bt(e)}function hs(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function ps(e,t){return hs(e)===hs(t)}function gs(e,t){return B(t)?t.findIndex(n=>ps(n,e)):K(t)&&ps(t,e)?0:-1}const ko=e=>e[0]==="_"||e==="$stable",Vr=e=>B(e)?e.map(xe):[xe(e)],rc=(e,t,n)=>{if(t._n)return t;const r=Ll((...s)=>Vr(t(...s)),n);return r._c=!1,r},Ko=(e,t,n)=>{const r=e._ctx;for(const s in e){if(ko(s))continue;const o=e[s];if(K(o))t[s]=rc(s,o,r);else if(o!=null){const i=Vr(o);t[s]=()=>i}}},Wo=(e,t)=>{const n=Vr(t);e.slots.default=()=>n},qo=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},sc=(e,t,n)=>{const r=e.slots=Vo();if(e.vnode.shapeFlag&32){const s=t._;s?(qo(r,t,n),n&&eo(r,"_",s,!0)):Ko(t,r)}else t&&Wo(e,t)},oc=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=ne;if(r.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:qo(s,t,n):(o=!t.$stable,Ko(t,s)),i=t}else t&&(Wo(e,t),i={default:1});if(o)for(const l in s)!ko(l)&&i[l]==null&&delete s[l]};function En(e,t,n,r,s=!1){if(B(e)){e.forEach((m,v)=>En(m,t&&(B(t)?t[v]:t),n,r,s));return}if(Et(r)&&!s)return;const o=r.shapeFlag&4?Vn(r.component):r.el,i=s?null:o,{i:l,r:c}=e,u=t&&t.r,f=l.refs===ne?l.refs={}:l.refs,h=l.setupState;if(u!=null&&u!==c&&(ie(u)?(f[u]=null,z(h,u)&&(h[u]=null)):de(u)&&(u.value=null)),K(c))Ye(c,l,12,[i,f]);else{const m=ie(c),v=de(c);if(m||v){const S=()=>{if(e.f){const O=m?z(h,c)?h[c]:f[c]:c.value;s?B(O)&&Cr(O,o):B(O)?O.includes(o)||O.push(o):m?(f[c]=[o],z(h,c)&&(h[c]=f[c])):(c.value=[o],e.k&&(f[e.k]=c.value))}else m?(f[c]=i,z(h,c)&&(h[c]=i)):v&&(c.value=i,e.k&&(f[e.k]=i))};i?(S.id=-1,ye(S,n)):S()}}}const Go=Symbol("_vte"),ic=e=>e.__isTeleport,Nt=e=>e&&(e.disabled||e.disabled===""),ms=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ys=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,_r=(e,t)=>{const n=e&&e.to;return ie(n)?t?t(n):null:n},lc={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,o,i,l,c,u){const{mc:f,pc:h,pbc:m,o:{insert:v,querySelector:S,createText:O,createComment:k}}=u,W=Nt(t.props);let{shapeFlag:D,children:p,dynamicChildren:y}=t;if(e==null){const I=t.el=O(""),T=t.anchor=O(""),F=t.target=_r(t.props,S),$=t.targetStart=O(""),M=t.targetAnchor=O("");v(I,n,r),v(T,n,r),$[Go]=M,F&&(v($,F),v(M,F),i==="svg"||ms(F)?i="svg":(i==="mathml"||ys(F))&&(i="mathml"));const _=(N,x)=>{D&16&&f(p,N,x,s,o,i,l,c)};W?_(n,T):F&&_(F,M)}else{t.el=e.el,t.targetStart=e.targetStart;const I=t.anchor=e.anchor,T=t.target=e.target,F=t.targetAnchor=e.targetAnchor,$=Nt(e.props),M=$?n:T,_=$?I:F;if(i==="svg"||ms(T)?i="svg":(i==="mathml"||ys(T))&&(i="mathml"),y?(m(e.dynamicChildren,y,M,s,o,i,l),Dr(e,t,!0)):c||h(e,t,M,_,s,o,i,l,!1),W)$?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):rn(t,n,I,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const N=t.target=_r(t.props,S);N&&rn(t,N,null,u,0)}else $&&rn(t,T,F,u,1)}Xo(t)},remove(e,t,n,{um:r,o:{remove:s}},o){const{shapeFlag:i,children:l,anchor:c,targetStart:u,targetAnchor:f,target:h,props:m}=e;if(h&&(s(u),s(f)),o&&s(c),i&16){const v=o||!Nt(m);for(let S=0;S{_s||(console.error("Hydration completed but contains mismatches."),_s=!0)},ac=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",uc=e=>e.namespaceURI.includes("MathML"),sn=e=>{if(ac(e))return"svg";if(uc(e))return"mathml"},on=e=>e.nodeType===8;function fc(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:l,insert:c,createComment:u}}=e,f=(p,y)=>{if(!y.hasChildNodes()){n(null,p,y),_n(),y._vnode=p;return}h(y.firstChild,p,null,null,null),_n(),y._vnode=p},h=(p,y,I,T,F,$=!1)=>{$=$||!!y.dynamicChildren;const M=on(p)&&p.data==="[",_=()=>O(p,y,I,T,F,M),{type:N,ref:x,shapeFlag:G,patchFlag:ee}=y;let re=p.nodeType;y.el=p,ee===-2&&($=!1,y.dynamicChildren=null);let U=null;switch(N){case ut:re!==3?y.children===""?(c(y.el=s(""),i(p),p),U=p):U=_():(p.data!==y.children&&(gt(),p.data=y.children),U=o(p));break;case me:D(p)?(U=o(p),W(y.el=p.content.firstChild,p,I)):re!==8||M?U=_():U=o(p);break;case Ft:if(M&&(p=o(p),re=p.nodeType),re===1||re===3){U=p;const Y=!y.children.length;for(let j=0;j{$=$||!!y.dynamicChildren;const{type:M,props:_,patchFlag:N,shapeFlag:x,dirs:G,transition:ee}=y,re=M==="input"||M==="option";if(re||N!==-1){G&&Pe(y,null,I,"created");let U=!1;if(D(p)){U=zo(T,ee)&&I&&I.vnode.props&&I.vnode.props.appear;const j=p.content.firstChild;U&&ee.beforeEnter(j),W(j,p,I),y.el=p=j}if(x&16&&!(_&&(_.innerHTML||_.textContent))){let j=v(p.firstChild,y,p,I,T,F,$);for(;j;){gt();const He=j;j=j.nextSibling,l(He)}}else x&8&&p.textContent!==y.children&&(gt(),p.textContent=y.children);if(_){if(re||!$||N&48)for(const j in _)(re&&(j.endsWith("value")||j==="indeterminate")||Kt(j)&&!bt(j)||j[0]===".")&&r(p,j,null,_[j],void 0,I);else if(_.onClick)r(p,"onClick",null,_.onClick,void 0,I);else if(N&4&&vt(_.style))for(const j in _.style)_.style[j]}let Y;(Y=_&&_.onVnodeBeforeMount)&&Se(Y,I,y),G&&Pe(y,null,I,"beforeMount"),((Y=_&&_.onVnodeMounted)||G||U)&&ei(()=>{Y&&Se(Y,I,y),U&&ee.enter(p),G&&Pe(y,null,I,"mounted")},T)}return p.nextSibling},v=(p,y,I,T,F,$,M)=>{M=M||!!y.dynamicChildren;const _=y.children,N=_.length;for(let x=0;x{const{slotScopeIds:M}=y;M&&(F=F?F.concat(M):M);const _=i(p),N=v(o(p),y,_,I,T,F,$);return N&&on(N)&&N.data==="]"?o(y.anchor=N):(gt(),c(y.anchor=u("]"),_,N),N)},O=(p,y,I,T,F,$)=>{if(gt(),y.el=null,$){const N=k(p);for(;;){const x=o(p);if(x&&x!==N)l(x);else break}}const M=o(p),_=i(p);return l(p),n(null,y,_,M,I,T,sn(_),F),M},k=(p,y="[",I="]")=>{let T=0;for(;p;)if(p=o(p),p&&on(p)&&(p.data===y&&T++,p.data===I)){if(T===0)return o(p);T--}return p},W=(p,y,I)=>{const T=y.parentNode;T&&T.replaceChild(p,y);let F=I;for(;F;)F.vnode.el===y&&(F.vnode.el=F.subTree.el=p),F=F.parent},D=p=>p.nodeType===1&&p.tagName.toLowerCase()==="template";return[f,h]}const ye=ei;function dc(e){return Yo(e)}function hc(e){return Yo(e,fc)}function Yo(e,t){const n=to();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:l,createComment:c,setText:u,setElementText:f,parentNode:h,nextSibling:m,setScopeId:v=Te,insertStaticContent:S}=e,O=(a,d,g,E=null,b=null,C=null,L=void 0,A=null,R=!!d.dynamicChildren)=>{if(a===d)return;a&&!lt(a,d)&&(E=zt(a),Me(a,b,C,!0),a=null),d.patchFlag===-2&&(R=!1,d.dynamicChildren=null);const{type:w,ref:P,shapeFlag:V}=d;switch(w){case ut:k(a,d,g,E);break;case me:W(a,d,g,E);break;case Ft:a==null&&D(d,g,E,L);break;case _e:x(a,d,g,E,b,C,L,A,R);break;default:V&1?I(a,d,g,E,b,C,L,A,R):V&6?G(a,d,g,E,b,C,L,A,R):(V&64||V&128)&&w.process(a,d,g,E,b,C,L,A,R,ht)}P!=null&&b&&En(P,a&&a.ref,C,d||a,!d)},k=(a,d,g,E)=>{if(a==null)r(d.el=l(d.children),g,E);else{const b=d.el=a.el;d.children!==a.children&&u(b,d.children)}},W=(a,d,g,E)=>{a==null?r(d.el=c(d.children||""),g,E):d.el=a.el},D=(a,d,g,E)=>{[a.el,a.anchor]=S(a.children,d,g,E,a.el,a.anchor)},p=({el:a,anchor:d},g,E)=>{let b;for(;a&&a!==d;)b=m(a),r(a,g,E),a=b;r(d,g,E)},y=({el:a,anchor:d})=>{let g;for(;a&&a!==d;)g=m(a),s(a),a=g;s(d)},I=(a,d,g,E,b,C,L,A,R)=>{d.type==="svg"?L="svg":d.type==="math"&&(L="mathml"),a==null?T(d,g,E,b,C,L,A,R):M(a,d,b,C,L,A,R)},T=(a,d,g,E,b,C,L,A)=>{let R,w;const{props:P,shapeFlag:V,transition:H,dirs:q}=a;if(R=a.el=i(a.type,C,P&&P.is,P),V&8?f(R,a.children):V&16&&$(a.children,R,null,E,b,Gn(a,C),L,A),q&&Pe(a,null,E,"created"),F(R,a,a.scopeId,L,E),P){for(const te in P)te!=="value"&&!bt(te)&&o(R,te,null,P[te],C,E);"value"in P&&o(R,"value",null,P.value,C),(w=P.onVnodeBeforeMount)&&Se(w,E,a)}q&&Pe(a,null,E,"beforeMount");const X=zo(b,H);X&&H.beforeEnter(R),r(R,d,g),((w=P&&P.onVnodeMounted)||X||q)&&ye(()=>{w&&Se(w,E,a),X&&H.enter(R),q&&Pe(a,null,E,"mounted")},b)},F=(a,d,g,E,b)=>{if(g&&v(a,g),E)for(let C=0;C{for(let w=R;w{const A=d.el=a.el;let{patchFlag:R,dynamicChildren:w,dirs:P}=d;R|=a.patchFlag&16;const V=a.props||ne,H=d.props||ne;let q;if(g&&rt(g,!1),(q=H.onVnodeBeforeUpdate)&&Se(q,g,d,a),P&&Pe(d,a,g,"beforeUpdate"),g&&rt(g,!0),(V.innerHTML&&H.innerHTML==null||V.textContent&&H.textContent==null)&&f(A,""),w?_(a.dynamicChildren,w,A,g,E,Gn(d,b),C):L||j(a,d,A,null,g,E,Gn(d,b),C,!1),R>0){if(R&16)N(A,V,H,g,b);else if(R&2&&V.class!==H.class&&o(A,"class",null,H.class,b),R&4&&o(A,"style",V.style,H.style,b),R&8){const X=d.dynamicProps;for(let te=0;te{q&&Se(q,g,d,a),P&&Pe(d,a,g,"updated")},E)},_=(a,d,g,E,b,C,L)=>{for(let A=0;A{if(d!==g){if(d!==ne)for(const C in d)!bt(C)&&!(C in g)&&o(a,C,d[C],null,b,E);for(const C in g){if(bt(C))continue;const L=g[C],A=d[C];L!==A&&C!=="value"&&o(a,C,A,L,b,E)}"value"in g&&o(a,"value",d.value,g.value,b)}},x=(a,d,g,E,b,C,L,A,R)=>{const w=d.el=a?a.el:l(""),P=d.anchor=a?a.anchor:l("");let{patchFlag:V,dynamicChildren:H,slotScopeIds:q}=d;q&&(A=A?A.concat(q):q),a==null?(r(w,g,E),r(P,g,E),$(d.children||[],g,P,b,C,L,A,R)):V>0&&V&64&&H&&a.dynamicChildren?(_(a.dynamicChildren,H,g,b,C,L,A),(d.key!=null||b&&d===b.subTree)&&Dr(a,d,!0)):j(a,d,g,P,b,C,L,A,R)},G=(a,d,g,E,b,C,L,A,R)=>{d.slotScopeIds=A,a==null?d.shapeFlag&512?b.ctx.activate(d,g,E,L,R):ee(d,g,E,b,C,L,R):re(a,d,R)},ee=(a,d,g,E,b,C,L)=>{const A=a.component=Mc(a,E,b);if(qt(a)&&(A.ctx.renderer=ht),Ic(A,!1,L),A.asyncDep){if(b&&b.registerDep(A,U,L),!a.el){const R=A.subTree=le(me);W(null,R,d,g)}}else U(A,a,d,g,b,C,L)},re=(a,d,g)=>{const E=d.component=a.component;if(Ec(a,d,g))if(E.asyncDep&&!E.asyncResolved){Y(E,d,g);return}else E.next=d,Al(E.update),E.effect.dirty=!0,E.update();else d.el=a.el,E.vnode=d},U=(a,d,g,E,b,C,L)=>{const A=()=>{if(a.isMounted){let{next:P,bu:V,u:H,parent:q,vnode:X}=a;{const pt=Jo(a);if(pt){P&&(P.el=X.el,Y(a,P,L)),pt.asyncDep.then(()=>{a.isUnmounted||A()});return}}let te=P,Q;rt(a,!1),P?(P.el=X.el,Y(a,P,L)):P=X,V&&dn(V),(Q=P.props&&P.props.onVnodeBeforeUpdate)&&Se(Q,q,P,X),rt(a,!0);const ce=Xn(a),Re=a.subTree;a.subTree=ce,O(Re,ce,h(Re.el),zt(Re),a,b,C),P.el=ce.el,te===null&&Cc(a,ce.el),H&&ye(H,b),(Q=P.props&&P.props.onVnodeUpdated)&&ye(()=>Se(Q,q,P,X),b)}else{let P;const{el:V,props:H}=d,{bm:q,m:X,parent:te}=a,Q=Et(d);if(rt(a,!1),q&&dn(q),!Q&&(P=H&&H.onVnodeBeforeMount)&&Se(P,te,d),rt(a,!0),V&&Bn){const ce=()=>{a.subTree=Xn(a),Bn(V,a.subTree,a,b,null)};Q?d.type.__asyncLoader().then(()=>!a.isUnmounted&&ce()):ce()}else{const ce=a.subTree=Xn(a);O(null,ce,g,E,a,b,C),d.el=ce.el}if(X&&ye(X,b),!Q&&(P=H&&H.onVnodeMounted)){const ce=d;ye(()=>Se(P,te,ce),b)}(d.shapeFlag&256||te&&Et(te.vnode)&&te.vnode.shapeFlag&256)&&a.a&&ye(a.a,b),a.isMounted=!0,d=g=E=null}},R=a.effect=new Ar(A,Te,()=>In(w),a.scope),w=a.update=()=>{R.dirty&&R.run()};w.i=a,w.id=a.uid,rt(a,!0),w()},Y=(a,d,g)=>{d.component=a;const E=a.vnode.props;a.vnode=d,a.next=null,tc(a,d.props,E,g),oc(a,d.children,g),et(),os(a),tt()},j=(a,d,g,E,b,C,L,A,R=!1)=>{const w=a&&a.children,P=a?a.shapeFlag:0,V=d.children,{patchFlag:H,shapeFlag:q}=d;if(H>0){if(H&128){Yt(w,V,g,E,b,C,L,A,R);return}else if(H&256){He(w,V,g,E,b,C,L,A,R);return}}q&8?(P&16&&At(w,b,C),V!==w&&f(g,V)):P&16?q&16?Yt(w,V,g,E,b,C,L,A,R):At(w,b,C,!0):(P&8&&f(g,""),q&16&&$(V,g,E,b,C,L,A,R))},He=(a,d,g,E,b,C,L,A,R)=>{a=a||yt,d=d||yt;const w=a.length,P=d.length,V=Math.min(w,P);let H;for(H=0;HP?At(a,b,C,!0,!1,V):$(d,g,E,b,C,L,A,R,V)},Yt=(a,d,g,E,b,C,L,A,R)=>{let w=0;const P=d.length;let V=a.length-1,H=P-1;for(;w<=V&&w<=H;){const q=a[w],X=d[w]=R?qe(d[w]):xe(d[w]);if(lt(q,X))O(q,X,g,null,b,C,L,A,R);else break;w++}for(;w<=V&&w<=H;){const q=a[V],X=d[H]=R?qe(d[H]):xe(d[H]);if(lt(q,X))O(q,X,g,null,b,C,L,A,R);else break;V--,H--}if(w>V){if(w<=H){const q=H+1,X=qH)for(;w<=V;)Me(a[w],b,C,!0),w++;else{const q=w,X=w,te=new Map;for(w=X;w<=H;w++){const ve=d[w]=R?qe(d[w]):xe(d[w]);ve.key!=null&&te.set(ve.key,w)}let Q,ce=0;const Re=H-X+1;let pt=!1,Xr=0;const Rt=new Array(Re);for(w=0;w=Re){Me(ve,b,C,!0);continue}let Ie;if(ve.key!=null)Ie=te.get(ve.key);else for(Q=X;Q<=H;Q++)if(Rt[Q-X]===0&<(ve,d[Q])){Ie=Q;break}Ie===void 0?Me(ve,b,C,!0):(Rt[Ie-X]=w+1,Ie>=Xr?Xr=Ie:pt=!0,O(ve,d[Ie],g,null,b,C,L,A,R),ce++)}const Yr=pt?pc(Rt):yt;for(Q=Yr.length-1,w=Re-1;w>=0;w--){const ve=X+w,Ie=d[ve],zr=ve+1{const{el:C,type:L,transition:A,children:R,shapeFlag:w}=a;if(w&6){nt(a.component.subTree,d,g,E);return}if(w&128){a.suspense.move(d,g,E);return}if(w&64){L.move(a,d,g,ht);return}if(L===_e){r(C,d,g);for(let V=0;VA.enter(C),b);else{const{leave:V,delayLeave:H,afterLeave:q}=A,X=()=>r(C,d,g),te=()=>{V(C,()=>{X(),q&&q()})};H?H(C,X,te):te()}else r(C,d,g)},Me=(a,d,g,E=!1,b=!1)=>{const{type:C,props:L,ref:A,children:R,dynamicChildren:w,shapeFlag:P,patchFlag:V,dirs:H,cacheIndex:q}=a;if(V===-2&&(b=!1),A!=null&&En(A,null,g,a,!0),q!=null&&(d.renderCache[q]=void 0),P&256){d.ctx.deactivate(a);return}const X=P&1&&H,te=!Et(a);let Q;if(te&&(Q=L&&L.onVnodeBeforeUnmount)&&Se(Q,d,a),P&6)Ii(a.component,g,E);else{if(P&128){a.suspense.unmount(g,E);return}X&&Pe(a,null,d,"beforeUnmount"),P&64?a.type.remove(a,d,g,ht,E):w&&!w.hasOnce&&(C!==_e||V>0&&V&64)?At(w,d,g,!1,!0):(C===_e&&V&384||!b&&P&16)&&At(R,d,g),E&&qr(a)}(te&&(Q=L&&L.onVnodeUnmounted)||X)&&ye(()=>{Q&&Se(Q,d,a),X&&Pe(a,null,d,"unmounted")},g)},qr=a=>{const{type:d,el:g,anchor:E,transition:b}=a;if(d===_e){Mi(g,E);return}if(d===Ft){y(a);return}const C=()=>{s(g),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(a.shapeFlag&1&&b&&!b.persisted){const{leave:L,delayLeave:A}=b,R=()=>L(g,C);A?A(a.el,C,R):R()}else C()},Mi=(a,d)=>{let g;for(;a!==d;)g=m(a),s(a),a=g;s(d)},Ii=(a,d,g)=>{const{bum:E,scope:b,update:C,subTree:L,um:A,m:R,a:w}=a;bs(R),bs(w),E&&dn(E),b.stop(),C&&(C.active=!1,Me(L,a,d,g)),A&&ye(A,d),ye(()=>{a.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&a.asyncDep&&!a.asyncResolved&&a.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},At=(a,d,g,E=!1,b=!1,C=0)=>{for(let L=C;L{if(a.shapeFlag&6)return zt(a.component.subTree);if(a.shapeFlag&128)return a.suspense.next();const d=m(a.anchor||a.el),g=d&&d[Go];return g?m(g):d};let Dn=!1;const Gr=(a,d,g)=>{a==null?d._vnode&&Me(d._vnode,null,null,!0):O(d._vnode||null,a,d,null,null,null,g),Dn||(Dn=!0,os(),_n(),Dn=!1),d._vnode=a},ht={p:O,um:Me,m:nt,r:qr,mt:ee,mc:$,pc:j,pbc:_,n:zt,o:e};let Un,Bn;return t&&([Un,Bn]=t(ht)),{render:Gr,hydrate:Un,createApp:Ql(Gr,Un)}}function Gn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function rt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function zo(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Dr(e,t,n=!1){const r=e.children,s=t.children;if(B(r)&&B(s))for(let o=0;o>1,e[n[l]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Jo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Jo(t)}function bs(e){if(e)for(let t=0;tCt(gc);function Ur(e,t){return $n(e,null,t)}function bu(e,t){return $n(e,null,{flush:"post"})}const ln={};function Fe(e,t,n){return $n(e,t,n)}function $n(e,t,{immediate:n,deep:r,flush:s,once:o,onTrack:i,onTrigger:l}=ne){if(t&&o){const T=t;t=(...F)=>{T(...F),I()}}const c=ae,u=T=>r===!0?T:Ge(T,r===!1?1:void 0);let f,h=!1,m=!1;if(de(e)?(f=()=>e.value,h=St(e)):vt(e)?(f=()=>u(e),h=!0):B(e)?(m=!0,h=e.some(T=>vt(T)||St(T)),f=()=>e.map(T=>{if(de(T))return T.value;if(vt(T))return u(T);if(K(T))return Ye(T,c,2)})):K(e)?t?f=()=>Ye(e,c,2):f=()=>(v&&v(),Ae(e,c,3,[S])):f=Te,t&&r){const T=f;f=()=>Ge(T())}let v,S=T=>{v=p.onStop=()=>{Ye(T,c,4),v=p.onStop=void 0}},O;if(Xt)if(S=Te,t?n&&Ae(t,c,3,[f(),m?[]:void 0,S]):f(),s==="sync"){const T=mc();O=T.__watcherHandles||(T.__watcherHandles=[])}else return Te;let k=m?new Array(e.length).fill(ln):ln;const W=()=>{if(!(!p.active||!p.dirty))if(t){const T=p.run();(r||h||(m?T.some((F,$)=>ze(F,k[$])):ze(T,k)))&&(v&&v(),Ae(t,c,3,[T,k===ln?void 0:m&&k[0]===ln?[]:k,S]),k=T)}else p.run()};W.allowRecurse=!!t;let D;s==="sync"?D=W:s==="post"?D=()=>ye(W,c&&c.suspense):(W.pre=!0,c&&(W.id=c.uid),D=()=>In(W));const p=new Ar(f,Te,D),y=oo(),I=()=>{p.stop(),y&&Cr(y.effects,p)};return t?n?W():k=p.run():s==="post"?ye(p.run.bind(p),c&&c.suspense):p.run(),O&&O.push(I),I}function yc(e,t,n){const r=this.proxy,s=ie(e)?e.includes(".")?Qo(r,e):()=>r[e]:e.bind(r,r);let o;K(t)?o=t:(o=t.handler,n=t);const i=Gt(this),l=$n(s,o.bind(r),n);return i(),l}function Qo(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s{Ge(r,t,n)});else if(Zs(e)){for(const r in e)Ge(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Ge(e[r],t,n)}return e}const _c=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Oe(t)}Modifiers`]||e[`${Ze(t)}Modifiers`];function bc(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ne;let s=n;const o=t.startsWith("update:"),i=o&&_c(r,t.slice(7));i&&(i.trim&&(s=n.map(f=>ie(f)?f.trim():f)),i.number&&(s=n.map(cr)));let l,c=r[l=fn(t)]||r[l=fn(Oe(t))];!c&&o&&(c=r[l=fn(Ze(t))]),c&&Ae(c,e,6,s);const u=r[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ae(u,e,6,s)}}function Zo(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},l=!1;if(!K(e)){const c=u=>{const f=Zo(u,t,!0);f&&(l=!0,fe(i,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(Z(e)&&r.set(e,null),null):(B(o)?o.forEach(c=>i[c]=null):fe(i,o),Z(e)&&r.set(e,i),i)}function Hn(e,t){return!e||!Kt(t)?!1:(t=t.slice(2).replace(/Once$/,""),z(e,t[0].toLowerCase()+t.slice(1))||z(e,Ze(t))||z(e,t))}function Xn(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:l,emit:c,render:u,renderCache:f,props:h,data:m,setupState:v,ctx:S,inheritAttrs:O}=e,k=bn(e);let W,D;try{if(n.shapeFlag&4){const y=s||r,I=y;W=xe(u.call(I,y,f,h,v,m,S)),D=l}else{const y=t;W=xe(y.length>1?y(h,{attrs:l,slots:i,emit:c}):y(h,null)),D=t.props?l:vc(l)}}catch(y){$t.length=0,Wt(y,e,1),W=le(me)}let p=W;if(D&&O!==!1){const y=Object.keys(D),{shapeFlag:I}=p;y.length&&I&7&&(o&&y.some(Er)&&(D=wc(D,o)),p=Je(p,D,!1,!0))}return n.dirs&&(p=Je(p,null,!1,!0),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition&&(p.transition=n.transition),W=p,bn(k),W}const vc=e=>{let t;for(const n in e)(n==="class"||n==="style"||Kt(n))&&((t||(t={}))[n]=e[n]);return t},wc=(e,t)=>{const n={};for(const r in e)(!Er(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Ec(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:l,patchFlag:c}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?vs(r,i,u):!!i;if(c&8){const f=t.dynamicProps;for(let h=0;he.__isSuspense;function ei(e,t){t&&t.pendingBranch?B(e)?t.effects.push(...e):t.effects.push(e):Rl(e)}const _e=Symbol.for("v-fgt"),ut=Symbol.for("v-txt"),me=Symbol.for("v-cmt"),Ft=Symbol.for("v-stc"),$t=[];let Ee=null;function ti(e=!1){$t.push(Ee=e?null:[])}function xc(){$t.pop(),Ee=$t[$t.length-1]||null}let Ut=1;function ws(e){Ut+=e,e<0&&Ee&&(Ee.hasOnce=!0)}function ni(e){return e.dynamicChildren=Ut>0?Ee||yt:null,xc(),Ut>0&&Ee&&Ee.push(e),e}function vu(e,t,n,r,s,o){return ni(oi(e,t,n,r,s,o,!0))}function ri(e,t,n,r,s){return ni(le(e,t,n,r,s,!0))}function Cn(e){return e?e.__v_isVNode===!0:!1}function lt(e,t){return e.type===t.type&&e.key===t.key}const si=({key:e})=>e??null,pn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ie(e)||de(e)||K(e)?{i:ue,r:e,k:t,f:!!n}:e:null);function oi(e,t=null,n=null,r=0,s=null,o=e===_e?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&si(t),ref:t&&pn(t),scopeId:Pn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:ue};return l?(Br(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=ie(n)?8:16),Ut>0&&!i&&Ee&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Ee.push(c),c}const le=Tc;function Tc(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===Po)&&(e=me),Cn(e)){const l=Je(e,t,!0);return n&&Br(l,n),Ut>0&&!o&&Ee&&(l.shapeFlag&6?Ee[Ee.indexOf(e)]=l:Ee.push(l)),l.patchFlag=-2,l}if($c(e)&&(e=e.__vccOpts),t){t=Ac(t);let{class:l,style:c}=t;l&&!ie(l)&&(t.class=Tr(l)),Z(c)&&(_o(c)&&!B(c)&&(c=fe({},c)),t.style=xr(c))}const i=ie(e)?1:Sc(e)?128:ic(e)?64:Z(e)?4:K(e)?2:0;return oi(e,t,n,r,s,i,o,!0)}function Ac(e){return e?_o(e)||Do(e)?fe({},e):e:null}function Je(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:l,transition:c}=e,u=t?Rc(s||{},t):s,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&si(u),ref:t&&t.ref?n&&o?B(o)?o.concat(pn(t)):[o,pn(t)]:pn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==_e?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Je(e.ssContent),ssFallback:e.ssFallback&&Je(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&vn(f,c.clone(f)),f}function ii(e=" ",t=0){return le(ut,null,e,t)}function wu(e,t){const n=le(Ft,null,e);return n.staticCount=t,n}function Eu(e="",t=!1){return t?(ti(),ri(me,null,e)):le(me,null,e)}function xe(e){return e==null||typeof e=="boolean"?le(me):B(e)?le(_e,null,e.slice()):typeof e=="object"?qe(e):le(ut,null,String(e))}function qe(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Je(e)}function Br(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(B(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Br(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Do(t)?t._ctx=ue:s===3&&ue&&(ue.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else K(t)?(t={default:t,_ctx:ue},n=32):(t=String(t),r&64?(n=16,t=[ii(t)]):n=8);e.children=t,e.shapeFlag|=n}function Rc(...e){const t={};for(let n=0;nae||ue;let Sn,br;{const e=to(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};Sn=t("__VUE_INSTANCE_SETTERS__",n=>ae=n),br=t("__VUE_SSR_SETTERS__",n=>Xt=n)}const Gt=e=>{const t=ae;return Sn(e),e.scope.on(),()=>{e.scope.off(),Sn(t)}},Es=()=>{ae&&ae.scope.off(),Sn(null)};function li(e){return e.vnode.shapeFlag&4}let Xt=!1;function Ic(e,t=!1,n=!1){t&&br(t);const{props:r,children:s}=e.vnode,o=li(e);ec(e,r,o,t),sc(e,s,n);const i=o?Pc(e,t):void 0;return t&&br(!1),i}function Pc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Kl);const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?ai(e):null,o=Gt(e);et();const i=Ye(r,e,0,[e.props,s]);if(tt(),o(),Js(i)){if(i.then(Es,Es),t)return i.then(l=>{Cs(e,l,t)}).catch(l=>{Wt(l,e,0)});e.asyncDep=i}else Cs(e,i,t)}else ci(e,t)}function Cs(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Z(t)&&(e.setupState=Eo(t)),ci(e,n)}let Ss;function ci(e,t,n){const r=e.type;if(!e.render){if(!t&&Ss&&!r.render){const s=r.template||jr(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=r,u=fe(fe({isCustomElement:o,delimiters:l},i),c);r.render=Ss(s,u)}}e.render=r.render||Te}{const s=Gt(e);et();try{ql(e)}finally{tt(),s()}}}const Nc={get(e,t){return be(e,"get",""),e[t]}};function ai(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Nc),slots:e.slots,emit:e.emit,expose:t}}function Vn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Eo(hn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in It)return It[n](e)},has(t,n){return n in t||n in It}})):e.proxy}function Fc(e,t=!0){return K(e)?e.displayName||e.name:e.name||t&&e.__name}function $c(e){return K(e)&&"__vccOpts"in e}const se=(e,t)=>ml(e,t,Xt);function vr(e,t,n){const r=arguments.length;return r===2?Z(t)&&!B(t)?Cn(t)?le(e,null,[t]):le(e,t):le(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Cn(n)&&(n=[n]),le(e,t,n))}const Hc="3.4.32";/** -* @vue/runtime-dom v3.4.32 +**/function Ye(e,t,n,r){try{return r?e(...r):e()}catch(s){Wt(s,t,n)}}function Ae(e,t,n,r){if(K(e)){const s=Ye(e,t,n,r);return s&&Js(s)&&s.catch(o=>{Wt(o,t,n)}),s}if(B(e)){const s=[];for(let o=0;o>>1,s=pe[r],o=Dt(s);oNe&&pe.splice(t,1)}function Rl(e){B(e)?wt.push(...e):(!Ke||!Ke.includes(e,e.allowRecurse?it+1:it))&&wt.push(e),So()}function os(e,t,n=Vt?Ne+1:0){for(;nDt(n)-Dt(r));if(wt.length=0,Ke){Ke.push(...t);return}for(Ke=t,it=0;ite.id==null?1/0:e.id,Ol=(e,t)=>{const n=Dt(e)-Dt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function xo(e){dr=!1,Vt=!0,pe.sort(Ol);try{for(Ne=0;Ne{r._d&&ws(-1);const o=bn(t);let i;try{i=e(...s)}finally{bn(o),r._d&&ws(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function uu(e,t){if(ue===null)return e;const n=Vn(ue),r=e.dirs||(e.dirs=[]);for(let s=0;s{e.isMounted=!0}),Mo(()=>{e.isUnmounting=!0}),e}const Ce=[Function,Array],To={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ce,onEnter:Ce,onAfterEnter:Ce,onEnterCancelled:Ce,onBeforeLeave:Ce,onLeave:Ce,onAfterLeave:Ce,onLeaveCancelled:Ce,onBeforeAppear:Ce,onAppear:Ce,onAfterAppear:Ce,onAppearCancelled:Ce},Ao=e=>{const t=e.subTree;return t.component?Ao(t.component):t},Il={name:"BaseTransition",props:To,setup(e,{slots:t}){const n=jn(),r=Ml();return()=>{const s=t.default&&Oo(t.default(),!0);if(!s||!s.length)return;let o=s[0];if(s.length>1){for(const m of s)if(m.type!==me){o=m;break}}const i=J(e),{mode:l}=i;if(r.isLeaving)return Kn(o);const c=is(o);if(!c)return Kn(o);let u=hr(c,i,r,n,m=>u=m);vn(c,u);const f=n.subTree,h=f&&is(f);if(h&&h.type!==me&&!lt(c,h)&&Ao(n).type!==me){const m=hr(h,i,r,n);if(vn(h,m),l==="out-in"&&c.type!==me)return r.isLeaving=!0,m.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Kn(o);l==="in-out"&&c.type!==me&&(m.delayLeave=(v,S,O)=>{const k=Ro(r,h);k[String(h.key)]=h,v[We]=()=>{S(),v[We]=void 0,delete u.delayedLeave},u.delayedLeave=O})}return o}}},Pl=Il;function Ro(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function hr(e,t,n,r,s){const{appear:o,mode:i,persisted:l=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:f,onEnterCancelled:h,onBeforeLeave:m,onLeave:v,onAfterLeave:S,onLeaveCancelled:O,onBeforeAppear:k,onAppear:W,onAfterAppear:D,onAppearCancelled:p}=t,y=String(e.key),I=Ro(n,e),T=(M,_)=>{M&&Ae(M,r,9,_)},F=(M,_)=>{const N=_[1];T(M,_),B(M)?M.every(x=>x.length<=1)&&N():M.length<=1&&N()},$={mode:i,persisted:l,beforeEnter(M){let _=c;if(!n.isMounted)if(o)_=k||c;else return;M[We]&&M[We](!0);const N=I[y];N&<(e,N)&&N.el[We]&&N.el[We](),T(_,[M])},enter(M){let _=u,N=f,x=h;if(!n.isMounted)if(o)_=W||u,N=D||f,x=p||h;else return;let G=!1;const ee=M[nn]=re=>{G||(G=!0,re?T(x,[M]):T(N,[M]),$.delayedLeave&&$.delayedLeave(),M[nn]=void 0)};_?F(_,[M,ee]):ee()},leave(M,_){const N=String(e.key);if(M[nn]&&M[nn](!0),n.isUnmounting)return _();T(m,[M]);let x=!1;const G=M[We]=ee=>{x||(x=!0,_(),ee?T(O,[M]):T(S,[M]),M[We]=void 0,I[N]===e&&delete I[N])};I[N]=e,v?F(v,[M,G]):G()},clone(M){const _=hr(M,t,n,r,s);return s&&s(_),_}};return $}function Kn(e){if(qt(e))return e=Je(e),e.children=null,e}function is(e){if(!qt(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&K(n.default))return n.default()}}function vn(e,t){e.shapeFlag&6&&e.component?vn(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Oo(e,t=!1,n){let r=[],s=0;for(let o=0;o1)for(let o=0;o!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function fu(e){K(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,timeout:o,suspensible:i=!0,onError:l}=e;let c=null,u,f=0;const h=()=>(f++,c=null,m()),m=()=>{let v;return c||(v=c=t().catch(S=>{if(S=S instanceof Error?S:new Error(String(S)),l)return new Promise((O,k)=>{l(S,()=>O(h()),()=>k(S),f+1)});throw S}).then(S=>v!==c&&c?c:(S&&(S.__esModule||S[Symbol.toStringTag]==="Module")&&(S=S.default),u=S,S)))};return Hr({name:"AsyncComponentWrapper",__asyncLoader:m,get __asyncResolved(){return u},setup(){const v=ae;if(u)return()=>Wn(u,v);const S=D=>{c=null,Wt(D,v,13,!r)};if(i&&v.suspense||Xt)return m().then(D=>()=>Wn(D,v)).catch(D=>(S(D),()=>r?le(r,{error:D}):null));const O=oe(!1),k=oe(),W=oe(!!s);return s&&setTimeout(()=>{W.value=!1},s),o!=null&&setTimeout(()=>{if(!O.value&&!k.value){const D=new Error(`Async component timed out after ${o}ms.`);S(D),k.value=D}},o),m().then(()=>{O.value=!0,v.parent&&qt(v.parent.vnode)&&(v.parent.effect.dirty=!0,In(v.parent.update))}).catch(D=>{S(D),k.value=D}),()=>{if(O.value&&u)return Wn(u,v);if(k.value&&r)return le(r,{error:k.value});if(n&&!W.value)return le(n)}}})}function Wn(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=le(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const qt=e=>e.type.__isKeepAlive;function Nl(e,t){Lo(e,"a",t)}function Fl(e,t){Lo(e,"da",t)}function Lo(e,t,n=ae){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Nn(t,r,n),n){let s=n.parent;for(;s&&s.parent;)qt(s.parent.vnode)&&$l(r,t,n,s),s=s.parent}}function $l(e,t,n,r){const s=Nn(t,e,r,!0);Fn(()=>{Cr(r[t],s)},n)}function Nn(e,t,n=ae,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{et();const l=Gt(n),c=Ae(t,n,e,i);return l(),tt(),c});return r?s.unshift(o):s.push(o),o}}const De=e=>(t,n=ae)=>{(!Xt||e==="sp")&&Nn(e,(...r)=>t(...r),n)},Hl=De("bm"),Tt=De("m"),jl=De("bu"),Vl=De("u"),Mo=De("bum"),Fn=De("um"),Dl=De("sp"),Ul=De("rtg"),Bl=De("rtc");function kl(e,t=ae){Nn("ec",e,t)}const Io="components";function du(e,t){return No(Io,e,!0,t)||e}const Po=Symbol.for("v-ndc");function hu(e){return ie(e)?No(Io,e,!1)||e:e||Po}function No(e,t,n=!0,r=!1){const s=ue||ae;if(s){const o=s.type;{const l=Fc(o,!1);if(l&&(l===t||l===Oe(t)||l===An(Oe(t))))return o}const i=ls(s[e]||o[e],t)||ls(s.appContext[e],t);return!i&&r?o:i}}function ls(e,t){return e&&(e[t]||e[Oe(t)]||e[An(Oe(t))])}function pu(e,t,n,r){let s;const o=n;if(B(e)||ie(e)){s=new Array(e.length);for(let i=0,l=e.length;it(i,l,void 0,o));else{const i=Object.keys(e);s=new Array(i.length);for(let l=0,c=i.length;lCn(t)?!(t.type===me||t.type===_e&&!Fo(t.children)):!0)?e:null}function mu(e,t){const n={};for(const r in e)n[/[A-Z]/.test(r)?`on:${r}`:fn(r)]=e[r];return n}const pr=e=>e?li(e)?Vn(e):pr(e.parent):null,It=fe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>pr(e.parent),$root:e=>pr(e.root),$emit:e=>e.emit,$options:e=>jr(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,In(e.update)}),$nextTick:e=>e.n||(e.n=Mn.bind(e.proxy)),$watch:e=>yc.bind(e)}),qn=(e,t)=>e!==ne&&!e.__isScriptSetup&&z(e,t),Kl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:l,appContext:c}=e;let u;if(t[0]!=="$"){const v=i[t];if(v!==void 0)switch(v){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(qn(r,t))return i[t]=1,r[t];if(s!==ne&&z(s,t))return i[t]=2,s[t];if((u=e.propsOptions[0])&&z(u,t))return i[t]=3,o[t];if(n!==ne&&z(n,t))return i[t]=4,n[t];gr&&(i[t]=0)}}const f=It[t];let h,m;if(f)return t==="$attrs"&&be(e.attrs,"get",""),f(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==ne&&z(n,t))return i[t]=4,n[t];if(m=c.config.globalProperties,z(m,t))return m[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return qn(s,t)?(s[t]=n,!0):r!==ne&&z(r,t)?(r[t]=n,!0):z(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let l;return!!n[i]||e!==ne&&z(e,i)||qn(t,i)||(l=o[0])&&z(l,i)||z(r,i)||z(It,i)||z(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:z(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function yu(){return Wl().slots}function Wl(){const e=jn();return e.setupContext||(e.setupContext=ai(e))}function cs(e){return B(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let gr=!0;function ql(e){const t=jr(e),n=e.proxy,r=e.ctx;gr=!1,t.beforeCreate&&as(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:l,provide:c,inject:u,created:f,beforeMount:h,mounted:m,beforeUpdate:v,updated:S,activated:O,deactivated:k,beforeDestroy:W,beforeUnmount:D,destroyed:p,unmounted:y,render:I,renderTracked:T,renderTriggered:F,errorCaptured:$,serverPrefetch:M,expose:_,inheritAttrs:N,components:x,directives:G,filters:ee}=t;if(u&&Gl(u,r,null),i)for(const Y in i){const j=i[Y];K(j)&&(r[Y]=j.bind(n))}if(s){const Y=s.call(n,n);Z(Y)&&(e.data=On(Y))}if(gr=!0,o)for(const Y in o){const j=o[Y],He=K(j)?j.bind(n,n):K(j.get)?j.get.bind(n,n):Te,Yt=!K(j)&&K(j.set)?j.set.bind(n):Te,nt=se({get:He,set:Yt});Object.defineProperty(r,Y,{enumerable:!0,configurable:!0,get:()=>nt.value,set:Me=>nt.value=Me})}if(l)for(const Y in l)$o(l[Y],r,n,Y);if(c){const Y=K(c)?c.call(n):c;Reflect.ownKeys(Y).forEach(j=>{Zl(j,Y[j])})}f&&as(f,e,"c");function U(Y,j){B(j)?j.forEach(He=>Y(He.bind(n))):j&&Y(j.bind(n))}if(U(Hl,h),U(Tt,m),U(jl,v),U(Vl,S),U(Nl,O),U(Fl,k),U(kl,$),U(Bl,T),U(Ul,F),U(Mo,D),U(Fn,y),U(Dl,M),B(_))if(_.length){const Y=e.exposed||(e.exposed={});_.forEach(j=>{Object.defineProperty(Y,j,{get:()=>n[j],set:He=>n[j]=He})})}else e.exposed||(e.exposed={});I&&e.render===Te&&(e.render=I),N!=null&&(e.inheritAttrs=N),x&&(e.components=x),G&&(e.directives=G)}function Gl(e,t,n=Te){B(e)&&(e=mr(e));for(const r in e){const s=e[r];let o;Z(s)?"default"in s?o=Ct(s.from||r,s.default,!0):o=Ct(s.from||r):o=Ct(s),de(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function as(e,t,n){Ae(B(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function $o(e,t,n,r){const s=r.includes(".")?Qo(n,r):()=>n[r];if(ie(e)){const o=t[e];K(o)&&Fe(s,o)}else if(K(e))Fe(s,e.bind(n));else if(Z(e))if(B(e))e.forEach(o=>$o(o,t,n,r));else{const o=K(e.handler)?e.handler.bind(n):t[e.handler];K(o)&&Fe(s,o,e)}}function jr(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!s.length&&!n&&!r?c=t:(c={},s.length&&s.forEach(u=>wn(c,u,i,!0)),wn(c,t,i)),Z(t)&&o.set(t,c),c}function wn(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&wn(e,o,n,!0),s&&s.forEach(i=>wn(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const l=Xl[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Xl={data:us,props:fs,emits:fs,methods:Lt,computed:Lt,beforeCreate:ge,created:ge,beforeMount:ge,mounted:ge,beforeUpdate:ge,updated:ge,beforeDestroy:ge,beforeUnmount:ge,destroyed:ge,unmounted:ge,activated:ge,deactivated:ge,errorCaptured:ge,serverPrefetch:ge,components:Lt,directives:Lt,watch:zl,provide:us,inject:Yl};function us(e,t){return t?e?function(){return fe(K(e)?e.call(this,this):e,K(t)?t.call(this,this):t)}:t:e}function Yl(e,t){return Lt(mr(e),mr(t))}function mr(e){if(B(e)){const t={};for(let n=0;n1)return n&&K(t)?t.call(r&&r.proxy):t}}const jo={},Vo=()=>Object.create(jo),Do=e=>Object.getPrototypeOf(e)===jo;function ec(e,t,n,r=!1){const s={},o=Vo();e.propsDefaults=Object.create(null),Uo(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:gl(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function tc(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,l=J(s),[c]=e.propsOptions;let u=!1;if((r||i>0)&&!(i&16)){if(i&8){const f=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[m,v]=Bo(h,t,!0);fe(i,m),v&&l.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!o&&!c)return Z(e)&&r.set(e,yt),yt;if(B(o))for(let f=0;f-1,v[1]=O<0||S-1||z(v,"default"))&&l.push(h)}}}const u=[i,l];return Z(e)&&r.set(e,u),u}function ds(e){return e[0]!=="$"&&!bt(e)}function hs(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function ps(e,t){return hs(e)===hs(t)}function gs(e,t){return B(t)?t.findIndex(n=>ps(n,e)):K(t)&&ps(t,e)?0:-1}const ko=e=>e[0]==="_"||e==="$stable",Vr=e=>B(e)?e.map(xe):[xe(e)],rc=(e,t,n)=>{if(t._n)return t;const r=Ll((...s)=>Vr(t(...s)),n);return r._c=!1,r},Ko=(e,t,n)=>{const r=e._ctx;for(const s in e){if(ko(s))continue;const o=e[s];if(K(o))t[s]=rc(s,o,r);else if(o!=null){const i=Vr(o);t[s]=()=>i}}},Wo=(e,t)=>{const n=Vr(t);e.slots.default=()=>n},qo=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},sc=(e,t,n)=>{const r=e.slots=Vo();if(e.vnode.shapeFlag&32){const s=t._;s?(qo(r,t,n),n&&eo(r,"_",s,!0)):Ko(t,r)}else t&&Wo(e,t)},oc=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=ne;if(r.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:qo(s,t,n):(o=!t.$stable,Ko(t,s)),i=t}else t&&(Wo(e,t),i={default:1});if(o)for(const l in s)!ko(l)&&i[l]==null&&delete s[l]};function En(e,t,n,r,s=!1){if(B(e)){e.forEach((m,v)=>En(m,t&&(B(t)?t[v]:t),n,r,s));return}if(Et(r)&&!s)return;const o=r.shapeFlag&4?Vn(r.component):r.el,i=s?null:o,{i:l,r:c}=e,u=t&&t.r,f=l.refs===ne?l.refs={}:l.refs,h=l.setupState;if(u!=null&&u!==c&&(ie(u)?(f[u]=null,z(h,u)&&(h[u]=null)):de(u)&&(u.value=null)),K(c))Ye(c,l,12,[i,f]);else{const m=ie(c),v=de(c);if(m||v){const S=()=>{if(e.f){const O=m?z(h,c)?h[c]:f[c]:c.value;s?B(O)&&Cr(O,o):B(O)?O.includes(o)||O.push(o):m?(f[c]=[o],z(h,c)&&(h[c]=f[c])):(c.value=[o],e.k&&(f[e.k]=c.value))}else m?(f[c]=i,z(h,c)&&(h[c]=i)):v&&(c.value=i,e.k&&(f[e.k]=i))};i?(S.id=-1,ye(S,n)):S()}}}const Go=Symbol("_vte"),ic=e=>e.__isTeleport,Nt=e=>e&&(e.disabled||e.disabled===""),ms=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ys=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,_r=(e,t)=>{const n=e&&e.to;return ie(n)?t?t(n):null:n},lc={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,o,i,l,c,u){const{mc:f,pc:h,pbc:m,o:{insert:v,querySelector:S,createText:O,createComment:k}}=u,W=Nt(t.props);let{shapeFlag:D,children:p,dynamicChildren:y}=t;if(e==null){const I=t.el=O(""),T=t.anchor=O(""),F=t.target=_r(t.props,S),$=t.targetStart=O(""),M=t.targetAnchor=O("");v(I,n,r),v(T,n,r),$[Go]=M,F&&(v($,F),v(M,F),i==="svg"||ms(F)?i="svg":(i==="mathml"||ys(F))&&(i="mathml"));const _=(N,x)=>{D&16&&f(p,N,x,s,o,i,l,c)};W?_(n,T):F&&_(F,M)}else{t.el=e.el,t.targetStart=e.targetStart;const I=t.anchor=e.anchor,T=t.target=e.target,F=t.targetAnchor=e.targetAnchor,$=Nt(e.props),M=$?n:T,_=$?I:F;if(i==="svg"||ms(T)?i="svg":(i==="mathml"||ys(T))&&(i="mathml"),y?(m(e.dynamicChildren,y,M,s,o,i,l),Dr(e,t,!0)):c||h(e,t,M,_,s,o,i,l,!1),W)$?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):rn(t,n,I,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const N=t.target=_r(t.props,S);N&&rn(t,N,null,u,0)}else $&&rn(t,T,F,u,1)}Xo(t)},remove(e,t,n,{um:r,o:{remove:s}},o){const{shapeFlag:i,children:l,anchor:c,targetStart:u,targetAnchor:f,target:h,props:m}=e;if(h&&(s(u),s(f)),o&&s(c),i&16){const v=o||!Nt(m);for(let S=0;S{_s||(console.error("Hydration completed but contains mismatches."),_s=!0)},ac=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",uc=e=>e.namespaceURI.includes("MathML"),sn=e=>{if(ac(e))return"svg";if(uc(e))return"mathml"},on=e=>e.nodeType===8;function fc(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:l,insert:c,createComment:u}}=e,f=(p,y)=>{if(!y.hasChildNodes()){n(null,p,y),_n(),y._vnode=p;return}h(y.firstChild,p,null,null,null),_n(),y._vnode=p},h=(p,y,I,T,F,$=!1)=>{$=$||!!y.dynamicChildren;const M=on(p)&&p.data==="[",_=()=>O(p,y,I,T,F,M),{type:N,ref:x,shapeFlag:G,patchFlag:ee}=y;let re=p.nodeType;y.el=p,ee===-2&&($=!1,y.dynamicChildren=null);let U=null;switch(N){case ut:re!==3?y.children===""?(c(y.el=s(""),i(p),p),U=p):U=_():(p.data!==y.children&&(gt(),p.data=y.children),U=o(p));break;case me:D(p)?(U=o(p),W(y.el=p.content.firstChild,p,I)):re!==8||M?U=_():U=o(p);break;case Ft:if(M&&(p=o(p),re=p.nodeType),re===1||re===3){U=p;const Y=!y.children.length;for(let j=0;j{$=$||!!y.dynamicChildren;const{type:M,props:_,patchFlag:N,shapeFlag:x,dirs:G,transition:ee}=y,re=M==="input"||M==="option";if(re||N!==-1){G&&Pe(y,null,I,"created");let U=!1;if(D(p)){U=zo(T,ee)&&I&&I.vnode.props&&I.vnode.props.appear;const j=p.content.firstChild;U&&ee.beforeEnter(j),W(j,p,I),y.el=p=j}if(x&16&&!(_&&(_.innerHTML||_.textContent))){let j=v(p.firstChild,y,p,I,T,F,$);for(;j;){gt();const He=j;j=j.nextSibling,l(He)}}else x&8&&p.textContent!==y.children&&(gt(),p.textContent=y.children);if(_){if(re||!$||N&48)for(const j in _)(re&&(j.endsWith("value")||j==="indeterminate")||Kt(j)&&!bt(j)||j[0]===".")&&r(p,j,null,_[j],void 0,I);else if(_.onClick)r(p,"onClick",null,_.onClick,void 0,I);else if(N&4&&vt(_.style))for(const j in _.style)_.style[j]}let Y;(Y=_&&_.onVnodeBeforeMount)&&Se(Y,I,y),G&&Pe(y,null,I,"beforeMount"),((Y=_&&_.onVnodeMounted)||G||U)&&ei(()=>{Y&&Se(Y,I,y),U&&ee.enter(p),G&&Pe(y,null,I,"mounted")},T)}return p.nextSibling},v=(p,y,I,T,F,$,M)=>{M=M||!!y.dynamicChildren;const _=y.children,N=_.length;for(let x=0;x{const{slotScopeIds:M}=y;M&&(F=F?F.concat(M):M);const _=i(p),N=v(o(p),y,_,I,T,F,$);return N&&on(N)&&N.data==="]"?o(y.anchor=N):(gt(),c(y.anchor=u("]"),_,N),N)},O=(p,y,I,T,F,$)=>{if(gt(),y.el=null,$){const N=k(p);for(;;){const x=o(p);if(x&&x!==N)l(x);else break}}const M=o(p),_=i(p);return l(p),n(null,y,_,M,I,T,sn(_),F),M},k=(p,y="[",I="]")=>{let T=0;for(;p;)if(p=o(p),p&&on(p)&&(p.data===y&&T++,p.data===I)){if(T===0)return o(p);T--}return p},W=(p,y,I)=>{const T=y.parentNode;T&&T.replaceChild(p,y);let F=I;for(;F;)F.vnode.el===y&&(F.vnode.el=F.subTree.el=p),F=F.parent},D=p=>p.nodeType===1&&p.tagName.toLowerCase()==="template";return[f,h]}const ye=ei;function dc(e){return Yo(e)}function hc(e){return Yo(e,fc)}function Yo(e,t){const n=to();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:l,createComment:c,setText:u,setElementText:f,parentNode:h,nextSibling:m,setScopeId:v=Te,insertStaticContent:S}=e,O=(a,d,g,E=null,b=null,C=null,L=void 0,A=null,R=!!d.dynamicChildren)=>{if(a===d)return;a&&!lt(a,d)&&(E=zt(a),Me(a,b,C,!0),a=null),d.patchFlag===-2&&(R=!1,d.dynamicChildren=null);const{type:w,ref:P,shapeFlag:V}=d;switch(w){case ut:k(a,d,g,E);break;case me:W(a,d,g,E);break;case Ft:a==null&&D(d,g,E,L);break;case _e:x(a,d,g,E,b,C,L,A,R);break;default:V&1?I(a,d,g,E,b,C,L,A,R):V&6?G(a,d,g,E,b,C,L,A,R):(V&64||V&128)&&w.process(a,d,g,E,b,C,L,A,R,ht)}P!=null&&b&&En(P,a&&a.ref,C,d||a,!d)},k=(a,d,g,E)=>{if(a==null)r(d.el=l(d.children),g,E);else{const b=d.el=a.el;d.children!==a.children&&u(b,d.children)}},W=(a,d,g,E)=>{a==null?r(d.el=c(d.children||""),g,E):d.el=a.el},D=(a,d,g,E)=>{[a.el,a.anchor]=S(a.children,d,g,E,a.el,a.anchor)},p=({el:a,anchor:d},g,E)=>{let b;for(;a&&a!==d;)b=m(a),r(a,g,E),a=b;r(d,g,E)},y=({el:a,anchor:d})=>{let g;for(;a&&a!==d;)g=m(a),s(a),a=g;s(d)},I=(a,d,g,E,b,C,L,A,R)=>{d.type==="svg"?L="svg":d.type==="math"&&(L="mathml"),a==null?T(d,g,E,b,C,L,A,R):M(a,d,b,C,L,A,R)},T=(a,d,g,E,b,C,L,A)=>{let R,w;const{props:P,shapeFlag:V,transition:H,dirs:q}=a;if(R=a.el=i(a.type,C,P&&P.is,P),V&8?f(R,a.children):V&16&&$(a.children,R,null,E,b,Gn(a,C),L,A),q&&Pe(a,null,E,"created"),F(R,a,a.scopeId,L,E),P){for(const te in P)te!=="value"&&!bt(te)&&o(R,te,null,P[te],C,E);"value"in P&&o(R,"value",null,P.value,C),(w=P.onVnodeBeforeMount)&&Se(w,E,a)}q&&Pe(a,null,E,"beforeMount");const X=zo(b,H);X&&H.beforeEnter(R),r(R,d,g),((w=P&&P.onVnodeMounted)||X||q)&&ye(()=>{w&&Se(w,E,a),X&&H.enter(R),q&&Pe(a,null,E,"mounted")},b)},F=(a,d,g,E,b)=>{if(g&&v(a,g),E)for(let C=0;C{for(let w=R;w{const A=d.el=a.el;let{patchFlag:R,dynamicChildren:w,dirs:P}=d;R|=a.patchFlag&16;const V=a.props||ne,H=d.props||ne;let q;if(g&&rt(g,!1),(q=H.onVnodeBeforeUpdate)&&Se(q,g,d,a),P&&Pe(d,a,g,"beforeUpdate"),g&&rt(g,!0),(V.innerHTML&&H.innerHTML==null||V.textContent&&H.textContent==null)&&f(A,""),w?_(a.dynamicChildren,w,A,g,E,Gn(d,b),C):L||j(a,d,A,null,g,E,Gn(d,b),C,!1),R>0){if(R&16)N(A,V,H,g,b);else if(R&2&&V.class!==H.class&&o(A,"class",null,H.class,b),R&4&&o(A,"style",V.style,H.style,b),R&8){const X=d.dynamicProps;for(let te=0;te{q&&Se(q,g,d,a),P&&Pe(d,a,g,"updated")},E)},_=(a,d,g,E,b,C,L)=>{for(let A=0;A{if(d!==g){if(d!==ne)for(const C in d)!bt(C)&&!(C in g)&&o(a,C,d[C],null,b,E);for(const C in g){if(bt(C))continue;const L=g[C],A=d[C];L!==A&&C!=="value"&&o(a,C,A,L,b,E)}"value"in g&&o(a,"value",d.value,g.value,b)}},x=(a,d,g,E,b,C,L,A,R)=>{const w=d.el=a?a.el:l(""),P=d.anchor=a?a.anchor:l("");let{patchFlag:V,dynamicChildren:H,slotScopeIds:q}=d;q&&(A=A?A.concat(q):q),a==null?(r(w,g,E),r(P,g,E),$(d.children||[],g,P,b,C,L,A,R)):V>0&&V&64&&H&&a.dynamicChildren?(_(a.dynamicChildren,H,g,b,C,L,A),(d.key!=null||b&&d===b.subTree)&&Dr(a,d,!0)):j(a,d,g,P,b,C,L,A,R)},G=(a,d,g,E,b,C,L,A,R)=>{d.slotScopeIds=A,a==null?d.shapeFlag&512?b.ctx.activate(d,g,E,L,R):ee(d,g,E,b,C,L,R):re(a,d,R)},ee=(a,d,g,E,b,C,L)=>{const A=a.component=Mc(a,E,b);if(qt(a)&&(A.ctx.renderer=ht),Ic(A,!1,L),A.asyncDep){if(b&&b.registerDep(A,U,L),!a.el){const R=A.subTree=le(me);W(null,R,d,g)}}else U(A,a,d,g,b,C,L)},re=(a,d,g)=>{const E=d.component=a.component;if(Ec(a,d,g))if(E.asyncDep&&!E.asyncResolved){Y(E,d,g);return}else E.next=d,Al(E.update),E.effect.dirty=!0,E.update();else d.el=a.el,E.vnode=d},U=(a,d,g,E,b,C,L)=>{const A=()=>{if(a.isMounted){let{next:P,bu:V,u:H,parent:q,vnode:X}=a;{const pt=Jo(a);if(pt){P&&(P.el=X.el,Y(a,P,L)),pt.asyncDep.then(()=>{a.isUnmounted||A()});return}}let te=P,Q;rt(a,!1),P?(P.el=X.el,Y(a,P,L)):P=X,V&&dn(V),(Q=P.props&&P.props.onVnodeBeforeUpdate)&&Se(Q,q,P,X),rt(a,!0);const ce=Xn(a),Re=a.subTree;a.subTree=ce,O(Re,ce,h(Re.el),zt(Re),a,b,C),P.el=ce.el,te===null&&Cc(a,ce.el),H&&ye(H,b),(Q=P.props&&P.props.onVnodeUpdated)&&ye(()=>Se(Q,q,P,X),b)}else{let P;const{el:V,props:H}=d,{bm:q,m:X,parent:te}=a,Q=Et(d);if(rt(a,!1),q&&dn(q),!Q&&(P=H&&H.onVnodeBeforeMount)&&Se(P,te,d),rt(a,!0),V&&Bn){const ce=()=>{a.subTree=Xn(a),Bn(V,a.subTree,a,b,null)};Q?d.type.__asyncLoader().then(()=>!a.isUnmounted&&ce()):ce()}else{const ce=a.subTree=Xn(a);O(null,ce,g,E,a,b,C),d.el=ce.el}if(X&&ye(X,b),!Q&&(P=H&&H.onVnodeMounted)){const ce=d;ye(()=>Se(P,te,ce),b)}(d.shapeFlag&256||te&&Et(te.vnode)&&te.vnode.shapeFlag&256)&&a.a&&ye(a.a,b),a.isMounted=!0,d=g=E=null}},R=a.effect=new Ar(A,Te,()=>In(w),a.scope),w=a.update=()=>{R.dirty&&R.run()};w.i=a,w.id=a.uid,rt(a,!0),w()},Y=(a,d,g)=>{d.component=a;const E=a.vnode.props;a.vnode=d,a.next=null,tc(a,d.props,E,g),oc(a,d.children,g),et(),os(a),tt()},j=(a,d,g,E,b,C,L,A,R=!1)=>{const w=a&&a.children,P=a?a.shapeFlag:0,V=d.children,{patchFlag:H,shapeFlag:q}=d;if(H>0){if(H&128){Yt(w,V,g,E,b,C,L,A,R);return}else if(H&256){He(w,V,g,E,b,C,L,A,R);return}}q&8?(P&16&&At(w,b,C),V!==w&&f(g,V)):P&16?q&16?Yt(w,V,g,E,b,C,L,A,R):At(w,b,C,!0):(P&8&&f(g,""),q&16&&$(V,g,E,b,C,L,A,R))},He=(a,d,g,E,b,C,L,A,R)=>{a=a||yt,d=d||yt;const w=a.length,P=d.length,V=Math.min(w,P);let H;for(H=0;HP?At(a,b,C,!0,!1,V):$(d,g,E,b,C,L,A,R,V)},Yt=(a,d,g,E,b,C,L,A,R)=>{let w=0;const P=d.length;let V=a.length-1,H=P-1;for(;w<=V&&w<=H;){const q=a[w],X=d[w]=R?qe(d[w]):xe(d[w]);if(lt(q,X))O(q,X,g,null,b,C,L,A,R);else break;w++}for(;w<=V&&w<=H;){const q=a[V],X=d[H]=R?qe(d[H]):xe(d[H]);if(lt(q,X))O(q,X,g,null,b,C,L,A,R);else break;V--,H--}if(w>V){if(w<=H){const q=H+1,X=qH)for(;w<=V;)Me(a[w],b,C,!0),w++;else{const q=w,X=w,te=new Map;for(w=X;w<=H;w++){const ve=d[w]=R?qe(d[w]):xe(d[w]);ve.key!=null&&te.set(ve.key,w)}let Q,ce=0;const Re=H-X+1;let pt=!1,Xr=0;const Rt=new Array(Re);for(w=0;w=Re){Me(ve,b,C,!0);continue}let Ie;if(ve.key!=null)Ie=te.get(ve.key);else for(Q=X;Q<=H;Q++)if(Rt[Q-X]===0&<(ve,d[Q])){Ie=Q;break}Ie===void 0?Me(ve,b,C,!0):(Rt[Ie-X]=w+1,Ie>=Xr?Xr=Ie:pt=!0,O(ve,d[Ie],g,null,b,C,L,A,R),ce++)}const Yr=pt?pc(Rt):yt;for(Q=Yr.length-1,w=Re-1;w>=0;w--){const ve=X+w,Ie=d[ve],zr=ve+1{const{el:C,type:L,transition:A,children:R,shapeFlag:w}=a;if(w&6){nt(a.component.subTree,d,g,E);return}if(w&128){a.suspense.move(d,g,E);return}if(w&64){L.move(a,d,g,ht);return}if(L===_e){r(C,d,g);for(let V=0;VA.enter(C),b);else{const{leave:V,delayLeave:H,afterLeave:q}=A,X=()=>r(C,d,g),te=()=>{V(C,()=>{X(),q&&q()})};H?H(C,X,te):te()}else r(C,d,g)},Me=(a,d,g,E=!1,b=!1)=>{const{type:C,props:L,ref:A,children:R,dynamicChildren:w,shapeFlag:P,patchFlag:V,dirs:H,cacheIndex:q}=a;if(V===-2&&(b=!1),A!=null&&En(A,null,g,a,!0),q!=null&&(d.renderCache[q]=void 0),P&256){d.ctx.deactivate(a);return}const X=P&1&&H,te=!Et(a);let Q;if(te&&(Q=L&&L.onVnodeBeforeUnmount)&&Se(Q,d,a),P&6)Ii(a.component,g,E);else{if(P&128){a.suspense.unmount(g,E);return}X&&Pe(a,null,d,"beforeUnmount"),P&64?a.type.remove(a,d,g,ht,E):w&&!w.hasOnce&&(C!==_e||V>0&&V&64)?At(w,d,g,!1,!0):(C===_e&&V&384||!b&&P&16)&&At(R,d,g),E&&qr(a)}(te&&(Q=L&&L.onVnodeUnmounted)||X)&&ye(()=>{Q&&Se(Q,d,a),X&&Pe(a,null,d,"unmounted")},g)},qr=a=>{const{type:d,el:g,anchor:E,transition:b}=a;if(d===_e){Mi(g,E);return}if(d===Ft){y(a);return}const C=()=>{s(g),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(a.shapeFlag&1&&b&&!b.persisted){const{leave:L,delayLeave:A}=b,R=()=>L(g,C);A?A(a.el,C,R):R()}else C()},Mi=(a,d)=>{let g;for(;a!==d;)g=m(a),s(a),a=g;s(d)},Ii=(a,d,g)=>{const{bum:E,scope:b,update:C,subTree:L,um:A,m:R,a:w}=a;bs(R),bs(w),E&&dn(E),b.stop(),C&&(C.active=!1,Me(L,a,d,g)),A&&ye(A,d),ye(()=>{a.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&a.asyncDep&&!a.asyncResolved&&a.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},At=(a,d,g,E=!1,b=!1,C=0)=>{for(let L=C;L{if(a.shapeFlag&6)return zt(a.component.subTree);if(a.shapeFlag&128)return a.suspense.next();const d=m(a.anchor||a.el),g=d&&d[Go];return g?m(g):d};let Dn=!1;const Gr=(a,d,g)=>{a==null?d._vnode&&Me(d._vnode,null,null,!0):O(d._vnode||null,a,d,null,null,null,g),Dn||(Dn=!0,os(),_n(),Dn=!1),d._vnode=a},ht={p:O,um:Me,m:nt,r:qr,mt:ee,mc:$,pc:j,pbc:_,n:zt,o:e};let Un,Bn;return t&&([Un,Bn]=t(ht)),{render:Gr,hydrate:Un,createApp:Ql(Gr,Un)}}function Gn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function rt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function zo(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Dr(e,t,n=!1){const r=e.children,s=t.children;if(B(r)&&B(s))for(let o=0;o>1,e[n[l]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Jo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Jo(t)}function bs(e){if(e)for(let t=0;tCt(gc);function Ur(e,t){return $n(e,null,t)}function bu(e,t){return $n(e,null,{flush:"post"})}const ln={};function Fe(e,t,n){return $n(e,t,n)}function $n(e,t,{immediate:n,deep:r,flush:s,once:o,onTrack:i,onTrigger:l}=ne){if(t&&o){const T=t;t=(...F)=>{T(...F),I()}}const c=ae,u=T=>r===!0?T:Ge(T,r===!1?1:void 0);let f,h=!1,m=!1;if(de(e)?(f=()=>e.value,h=St(e)):vt(e)?(f=()=>u(e),h=!0):B(e)?(m=!0,h=e.some(T=>vt(T)||St(T)),f=()=>e.map(T=>{if(de(T))return T.value;if(vt(T))return u(T);if(K(T))return Ye(T,c,2)})):K(e)?t?f=()=>Ye(e,c,2):f=()=>(v&&v(),Ae(e,c,3,[S])):f=Te,t&&r){const T=f;f=()=>Ge(T())}let v,S=T=>{v=p.onStop=()=>{Ye(T,c,4),v=p.onStop=void 0}},O;if(Xt)if(S=Te,t?n&&Ae(t,c,3,[f(),m?[]:void 0,S]):f(),s==="sync"){const T=mc();O=T.__watcherHandles||(T.__watcherHandles=[])}else return Te;let k=m?new Array(e.length).fill(ln):ln;const W=()=>{if(!(!p.active||!p.dirty))if(t){const T=p.run();(r||h||(m?T.some((F,$)=>ze(F,k[$])):ze(T,k)))&&(v&&v(),Ae(t,c,3,[T,k===ln?void 0:m&&k[0]===ln?[]:k,S]),k=T)}else p.run()};W.allowRecurse=!!t;let D;s==="sync"?D=W:s==="post"?D=()=>ye(W,c&&c.suspense):(W.pre=!0,c&&(W.id=c.uid),D=()=>In(W));const p=new Ar(f,Te,D),y=oo(),I=()=>{p.stop(),y&&Cr(y.effects,p)};return t?n?W():k=p.run():s==="post"?ye(p.run.bind(p),c&&c.suspense):p.run(),O&&O.push(I),I}function yc(e,t,n){const r=this.proxy,s=ie(e)?e.includes(".")?Qo(r,e):()=>r[e]:e.bind(r,r);let o;K(t)?o=t:(o=t.handler,n=t);const i=Gt(this),l=$n(s,o.bind(r),n);return i(),l}function Qo(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s{Ge(r,t,n)});else if(Zs(e)){for(const r in e)Ge(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Ge(e[r],t,n)}return e}const _c=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Oe(t)}Modifiers`]||e[`${Ze(t)}Modifiers`];function bc(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ne;let s=n;const o=t.startsWith("update:"),i=o&&_c(r,t.slice(7));i&&(i.trim&&(s=n.map(f=>ie(f)?f.trim():f)),i.number&&(s=n.map(cr)));let l,c=r[l=fn(t)]||r[l=fn(Oe(t))];!c&&o&&(c=r[l=fn(Ze(t))]),c&&Ae(c,e,6,s);const u=r[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ae(u,e,6,s)}}function Zo(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},l=!1;if(!K(e)){const c=u=>{const f=Zo(u,t,!0);f&&(l=!0,fe(i,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(Z(e)&&r.set(e,null),null):(B(o)?o.forEach(c=>i[c]=null):fe(i,o),Z(e)&&r.set(e,i),i)}function Hn(e,t){return!e||!Kt(t)?!1:(t=t.slice(2).replace(/Once$/,""),z(e,t[0].toLowerCase()+t.slice(1))||z(e,Ze(t))||z(e,t))}function Xn(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:l,emit:c,render:u,renderCache:f,props:h,data:m,setupState:v,ctx:S,inheritAttrs:O}=e,k=bn(e);let W,D;try{if(n.shapeFlag&4){const y=s||r,I=y;W=xe(u.call(I,y,f,h,v,m,S)),D=l}else{const y=t;W=xe(y.length>1?y(h,{attrs:l,slots:i,emit:c}):y(h,null)),D=t.props?l:vc(l)}}catch(y){$t.length=0,Wt(y,e,1),W=le(me)}let p=W;if(D&&O!==!1){const y=Object.keys(D),{shapeFlag:I}=p;y.length&&I&7&&(o&&y.some(Er)&&(D=wc(D,o)),p=Je(p,D,!1,!0))}return n.dirs&&(p=Je(p,null,!1,!0),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition&&(p.transition=n.transition),W=p,bn(k),W}const vc=e=>{let t;for(const n in e)(n==="class"||n==="style"||Kt(n))&&((t||(t={}))[n]=e[n]);return t},wc=(e,t)=>{const n={};for(const r in e)(!Er(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Ec(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:l,patchFlag:c}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?vs(r,i,u):!!i;if(c&8){const f=t.dynamicProps;for(let h=0;he.__isSuspense;function ei(e,t){t&&t.pendingBranch?B(e)?t.effects.push(...e):t.effects.push(e):Rl(e)}const _e=Symbol.for("v-fgt"),ut=Symbol.for("v-txt"),me=Symbol.for("v-cmt"),Ft=Symbol.for("v-stc"),$t=[];let Ee=null;function ti(e=!1){$t.push(Ee=e?null:[])}function xc(){$t.pop(),Ee=$t[$t.length-1]||null}let Ut=1;function ws(e){Ut+=e,e<0&&Ee&&(Ee.hasOnce=!0)}function ni(e){return e.dynamicChildren=Ut>0?Ee||yt:null,xc(),Ut>0&&Ee&&Ee.push(e),e}function vu(e,t,n,r,s,o){return ni(oi(e,t,n,r,s,o,!0))}function ri(e,t,n,r,s){return ni(le(e,t,n,r,s,!0))}function Cn(e){return e?e.__v_isVNode===!0:!1}function lt(e,t){return e.type===t.type&&e.key===t.key}const si=({key:e})=>e??null,pn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ie(e)||de(e)||K(e)?{i:ue,r:e,k:t,f:!!n}:e:null);function oi(e,t=null,n=null,r=0,s=null,o=e===_e?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&si(t),ref:t&&pn(t),scopeId:Pn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:ue};return l?(Br(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=ie(n)?8:16),Ut>0&&!i&&Ee&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Ee.push(c),c}const le=Tc;function Tc(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===Po)&&(e=me),Cn(e)){const l=Je(e,t,!0);return n&&Br(l,n),Ut>0&&!o&&Ee&&(l.shapeFlag&6?Ee[Ee.indexOf(e)]=l:Ee.push(l)),l.patchFlag=-2,l}if($c(e)&&(e=e.__vccOpts),t){t=Ac(t);let{class:l,style:c}=t;l&&!ie(l)&&(t.class=Tr(l)),Z(c)&&(_o(c)&&!B(c)&&(c=fe({},c)),t.style=xr(c))}const i=ie(e)?1:Sc(e)?128:ic(e)?64:Z(e)?4:K(e)?2:0;return oi(e,t,n,r,s,i,o,!0)}function Ac(e){return e?_o(e)||Do(e)?fe({},e):e:null}function Je(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:l,transition:c}=e,u=t?Rc(s||{},t):s,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&si(u),ref:t&&t.ref?n&&o?B(o)?o.concat(pn(t)):[o,pn(t)]:pn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==_e?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Je(e.ssContent),ssFallback:e.ssFallback&&Je(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&vn(f,c.clone(f)),f}function ii(e=" ",t=0){return le(ut,null,e,t)}function wu(e,t){const n=le(Ft,null,e);return n.staticCount=t,n}function Eu(e="",t=!1){return t?(ti(),ri(me,null,e)):le(me,null,e)}function xe(e){return e==null||typeof e=="boolean"?le(me):B(e)?le(_e,null,e.slice()):typeof e=="object"?qe(e):le(ut,null,String(e))}function qe(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Je(e)}function Br(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(B(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Br(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Do(t)?t._ctx=ue:s===3&&ue&&(ue.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else K(t)?(t={default:t,_ctx:ue},n=32):(t=String(t),r&64?(n=16,t=[ii(t)]):n=8);e.children=t,e.shapeFlag|=n}function Rc(...e){const t={};for(let n=0;nae||ue;let Sn,br;{const e=to(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};Sn=t("__VUE_INSTANCE_SETTERS__",n=>ae=n),br=t("__VUE_SSR_SETTERS__",n=>Xt=n)}const Gt=e=>{const t=ae;return Sn(e),e.scope.on(),()=>{e.scope.off(),Sn(t)}},Es=()=>{ae&&ae.scope.off(),Sn(null)};function li(e){return e.vnode.shapeFlag&4}let Xt=!1;function Ic(e,t=!1,n=!1){t&&br(t);const{props:r,children:s}=e.vnode,o=li(e);ec(e,r,o,t),sc(e,s,n);const i=o?Pc(e,t):void 0;return t&&br(!1),i}function Pc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Kl);const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?ai(e):null,o=Gt(e);et();const i=Ye(r,e,0,[e.props,s]);if(tt(),o(),Js(i)){if(i.then(Es,Es),t)return i.then(l=>{Cs(e,l,t)}).catch(l=>{Wt(l,e,0)});e.asyncDep=i}else Cs(e,i,t)}else ci(e,t)}function Cs(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Z(t)&&(e.setupState=Eo(t)),ci(e,n)}let Ss;function ci(e,t,n){const r=e.type;if(!e.render){if(!t&&Ss&&!r.render){const s=r.template||jr(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=r,u=fe(fe({isCustomElement:o,delimiters:l},i),c);r.render=Ss(s,u)}}e.render=r.render||Te}{const s=Gt(e);et();try{ql(e)}finally{tt(),s()}}}const Nc={get(e,t){return be(e,"get",""),e[t]}};function ai(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Nc),slots:e.slots,emit:e.emit,expose:t}}function Vn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Eo(hn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in It)return It[n](e)},has(t,n){return n in t||n in It}})):e.proxy}function Fc(e,t=!0){return K(e)?e.displayName||e.name:e.name||t&&e.__name}function $c(e){return K(e)&&"__vccOpts"in e}const se=(e,t)=>ml(e,t,Xt);function vr(e,t,n){const r=arguments.length;return r===2?Z(t)&&!B(t)?Cn(t)?le(e,null,[t]):le(e,t):le(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Cn(n)&&(n=[n]),le(e,t,n))}const Hc="3.4.33";/** +* @vue/runtime-dom v3.4.33 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const jc="http://www.w3.org/2000/svg",Vc="http://www.w3.org/1998/Math/MathML",je=typeof document<"u"?document:null,xs=je&&je.createElement("template"),Dc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?je.createElementNS(jc,e):t==="mathml"?je.createElementNS(Vc,e):n?je.createElement(e,{is:n}):je.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>je.createTextNode(e),createComment:e=>je.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>je.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{xs.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const l=xs.content;if(r==="svg"||r==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Be="transition",Ot="animation",Bt=Symbol("_vtc"),ui=(e,{slots:t})=>vr(Pl,Uc(e),t);ui.displayName="Transition";const fi={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};ui.props=fe({},To,fi);const st=(e,t=[])=>{B(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ts=e=>e?B(e)?e.some(t=>t.length>1):e.length>1:!1;function Uc(e){const t={};for(const x in e)x in fi||(t[x]=e[x]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:u=i,appearToClass:f=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,S=Bc(s),O=S&&S[0],k=S&&S[1],{onBeforeEnter:W,onEnter:D,onEnterCancelled:p,onLeave:y,onLeaveCancelled:I,onBeforeAppear:T=W,onAppear:F=D,onAppearCancelled:$=p}=t,M=(x,G,ee)=>{ot(x,G?f:l),ot(x,G?u:i),ee&&ee()},_=(x,G)=>{x._isLeaving=!1,ot(x,h),ot(x,v),ot(x,m),G&&G()},N=x=>(G,ee)=>{const re=x?F:D,U=()=>M(G,x,ee);st(re,[G,U]),As(()=>{ot(G,x?c:o),ke(G,x?f:l),Ts(re)||Rs(G,r,O,U)})};return fe(t,{onBeforeEnter(x){st(W,[x]),ke(x,o),ke(x,i)},onBeforeAppear(x){st(T,[x]),ke(x,c),ke(x,u)},onEnter:N(!1),onAppear:N(!0),onLeave(x,G){x._isLeaving=!0;const ee=()=>_(x,G);ke(x,h),ke(x,m),Wc(),As(()=>{x._isLeaving&&(ot(x,h),ke(x,v),Ts(y)||Rs(x,r,k,ee))}),st(y,[x,ee])},onEnterCancelled(x){M(x,!1),st(p,[x])},onAppearCancelled(x){M(x,!0),st($,[x])},onLeaveCancelled(x){_(x),st(I,[x])}})}function Bc(e){if(e==null)return null;if(Z(e))return[Yn(e.enter),Yn(e.leave)];{const t=Yn(e);return[t,t]}}function Yn(e){return ji(e)}function ke(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Bt]||(e[Bt]=new Set)).add(t)}function ot(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Bt];n&&(n.delete(t),n.size||(e[Bt]=void 0))}function As(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let kc=0;function Rs(e,t,n,r){const s=e._endId=++kc,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:l,propCount:c}=Kc(e,t);if(!i)return r();const u=i+"end";let f=0;const h=()=>{e.removeEventListener(u,m),o()},m=v=>{v.target===e&&++f>=c&&h()};setTimeout(()=>{f(n[S]||"").split(", "),s=r(`${Be}Delay`),o=r(`${Be}Duration`),i=Os(s,o),l=r(`${Ot}Delay`),c=r(`${Ot}Duration`),u=Os(l,c);let f=null,h=0,m=0;t===Be?i>0&&(f=Be,h=i,m=o.length):t===Ot?u>0&&(f=Ot,h=u,m=c.length):(h=Math.max(i,u),f=h>0?i>u?Be:Ot:null,m=f?f===Be?o.length:c.length:0);const v=f===Be&&/\b(transform|all)(,|$)/.test(r(`${Be}Property`).toString());return{type:f,timeout:h,propCount:m,hasTransform:v}}function Os(e,t){for(;e.lengthLs(n)+Ls(e[r])))}function Ls(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Wc(){return document.body.offsetHeight}function qc(e,t,n){const r=e[Bt];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ms=Symbol("_vod"),Gc=Symbol("_vsh"),Xc=Symbol(""),Yc=/(^|;)\s*display\s*:/;function zc(e,t,n){const r=e.style,s=ie(n);let o=!1;if(n&&!s){if(t)if(ie(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&gn(r,l,"")}else for(const i in t)n[i]==null&&gn(r,i,"");for(const i in n)i==="display"&&(o=!0),gn(r,i,n[i])}else if(s){if(t!==n){const i=r[Xc];i&&(n+=";"+i),r.cssText=n,o=Yc.test(n)}}else t&&e.removeAttribute("style");Ms in e&&(e[Ms]=o?r.display:"",e[Gc]&&(r.display="none"))}const Is=/\s*!important$/;function gn(e,t,n){if(B(n))n.forEach(r=>gn(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Jc(e,t);Is.test(n)?e.setProperty(Ze(r),n.replace(Is,""),"important"):e[r]=n}}const Ps=["Webkit","Moz","ms"],zn={};function Jc(e,t){const n=zn[t];if(n)return n;let r=Oe(t);if(r!=="filter"&&r in e)return zn[t]=r;r=An(r);for(let s=0;sJn||(na.then(()=>Jn=0),Jn=Date.now());function sa(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ae(oa(r,n.value),t,5,[r])};return n.value=e,n.attached=ra(),n}function oa(e,t){if(B(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const js=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ia=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?qc(e,r,i):t==="style"?zc(e,n,r):Kt(t)?Er(t)||ea(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):la(e,t,r,i))?(Qc(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Fs(e,t,r,i,o,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Fs(e,t,r,i))};function la(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&js(t)&&K(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return js(t)&&ie(n)?!1:t in e}const Vs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return B(t)?n=>dn(t,n):t};function ca(e){e.target.composing=!0}function Ds(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Qn=Symbol("_assign"),Cu={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[Qn]=Vs(s);const o=r||s.props&&s.props.type==="number";mt(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=cr(l)),e[Qn](l)}),n&&mt(e,"change",()=>{e.value=e.value.trim()}),t||(mt(e,"compositionstart",ca),mt(e,"compositionend",Ds),mt(e,"change",Ds))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:o}},i){if(e[Qn]=Vs(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?cr(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===c)||(e.value=c))}},aa=["ctrl","shift","alt","meta"],ua={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>aa.some(n=>e[`${n}Key`]&&!t.includes(n))},Su=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...o)=>{for(let i=0;i{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const o=Ze(s.key);if(t.some(i=>i===o||fa[i]===o))return e(s)})},di=fe({patchProp:ia},Dc);let Ht,Us=!1;function da(){return Ht||(Ht=dc(di))}function ha(){return Ht=Us?Ht:hc(di),Us=!0,Ht}const Tu=(...e)=>{const t=da().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=pi(r);if(!s)return;const o=t._component;!K(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const i=n(s,!1,hi(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t},Au=(...e)=>{const t=ha().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=pi(r);if(s)return n(s,!0,hi(s))},t};function hi(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function pi(e){return ie(e)?document.querySelector(e):e}const Ru=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},pa="modulepreload",ga=function(e){return"/PSCompletions/"+e},Bs={},Ou=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),i=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));s=Promise.all(n.map(l=>{if(l=ga(l),l in Bs)return;Bs[l]=!0;const c=l.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${u}`))return;const f=document.createElement("link");if(f.rel=c?"stylesheet":pa,c||(f.as="script",f.crossOrigin=""),f.href=l,i&&f.setAttribute("nonce",i),document.head.appendChild(f),c)return new Promise((h,m)=>{f.addEventListener("load",h),f.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${l}`)))})}))}return s.then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})},ma=window.__VP_SITE_DATA__;function kr(e){return oo()?(Xi(e),!0):!1}function $e(e){return typeof e=="function"?e():wo(e)}const gi=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ya=Object.prototype.toString,_a=e=>ya.call(e)==="[object Object]",kt=()=>{},ks=ba();function ba(){var e,t;return gi&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function va(e,t){function n(...r){return new Promise((s,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(o)})}return n}const mi=e=>e();function wa(e,t={}){let n,r,s=kt;const o=l=>{clearTimeout(l),s(),s=kt};return l=>{const c=$e(e),u=$e(t.maxWait);return n&&o(n),c<=0||u!==void 0&&u<=0?(r&&(o(r),r=null),Promise.resolve(l())):new Promise((f,h)=>{s=t.rejectOnCancel?h:f,u&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,f(l())},u)),n=setTimeout(()=>{r&&o(r),r=null,f(l())},c)})}}function Ea(e=mi){const t=oe(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...o)=>{t.value&&e(...o)};return{isActive:Ln(t),pause:n,resume:r,eventFilter:s}}function Ca(e){return jn()}function yi(...e){if(e.length!==1)return Cl(...e);const t=e[0];return typeof t=="function"?Ln(vl(()=>({get:t,set:kt}))):oe(t)}function _i(e,t,n={}){const{eventFilter:r=mi,...s}=n;return Fe(e,va(r,t),s)}function Sa(e,t,n={}){const{eventFilter:r,...s}=n,{eventFilter:o,pause:i,resume:l,isActive:c}=Ea(r);return{stop:_i(e,t,{...s,eventFilter:o}),pause:i,resume:l,isActive:c}}function Kr(e,t=!0,n){Ca()?Tt(e,n):t?e():Mn(e)}function Lu(e,t,n={}){const{debounce:r=0,maxWait:s=void 0,...o}=n;return _i(e,t,{...o,eventFilter:wa(r,{maxWait:s})})}function Mu(e,t,n){let r;de(n)?r={evaluating:n}:r={};const{lazy:s=!1,evaluating:o=void 0,shallow:i=!0,onError:l=kt}=r,c=oe(!s),u=i?Fr(t):oe(t);let f=0;return Ur(async h=>{if(!c.value)return;f++;const m=f;let v=!1;o&&Promise.resolve().then(()=>{o.value=!0});try{const S=await e(O=>{h(()=>{o&&(o.value=!1),v||O()})});m===f&&(u.value=S)}catch(S){l(S)}finally{o&&m===f&&(o.value=!1),v=!0}}),s?se(()=>(c.value=!0,u.value)):u}function bi(e){var t;const n=$e(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Le=gi?window:void 0;function xt(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=Le):[t,n,r,s]=e,!t)return kt;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],i=()=>{o.forEach(f=>f()),o.length=0},l=(f,h,m,v)=>(f.addEventListener(h,m,v),()=>f.removeEventListener(h,m,v)),c=Fe(()=>[bi(t),$e(s)],([f,h])=>{if(i(),!f)return;const m=_a(h)?{...h}:h;o.push(...n.flatMap(v=>r.map(S=>l(f,v,S,m))))},{immediate:!0,flush:"post"}),u=()=>{c(),i()};return kr(u),u}function xa(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Iu(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:s=Le,eventName:o="keydown",passive:i=!1,dedupe:l=!1}=r,c=xa(t);return xt(s,o,f=>{f.repeat&&$e(l)||c(f)&&n(f)},i)}function Ta(){const e=oe(!1),t=jn();return t&&Tt(()=>{e.value=!0},t),e}function Aa(e){const t=Ta();return se(()=>(t.value,!!e()))}function vi(e,t={}){const{window:n=Le}=t,r=Aa(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const o=oe(!1),i=u=>{o.value=u.matches},l=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",i):s.removeListener(i))},c=Ur(()=>{r.value&&(l(),s=n.matchMedia($e(e)),"addEventListener"in s?s.addEventListener("change",i):s.addListener(i),o.value=s.matches)});return kr(()=>{c(),l(),s=void 0}),o}const cn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},an="__vueuse_ssr_handlers__",Ra=Oa();function Oa(){return an in cn||(cn[an]=cn[an]||{}),cn[an]}function wi(e,t){return Ra[e]||t}function La(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Ma={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Ks="vueuse-storage";function Wr(e,t,n,r={}){var s;const{flush:o="pre",deep:i=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:u=!1,shallow:f,window:h=Le,eventFilter:m,onError:v=_=>{console.error(_)},initOnMounted:S}=r,O=(f?Fr:oe)(typeof t=="function"?t():t);if(!n)try{n=wi("getDefaultStorage",()=>{var _;return(_=Le)==null?void 0:_.localStorage})()}catch(_){v(_)}if(!n)return O;const k=$e(t),W=La(k),D=(s=r.serializer)!=null?s:Ma[W],{pause:p,resume:y}=Sa(O,()=>T(O.value),{flush:o,deep:i,eventFilter:m});h&&l&&Kr(()=>{xt(h,"storage",$),xt(h,Ks,M),S&&$()}),S||$();function I(_,N){h&&h.dispatchEvent(new CustomEvent(Ks,{detail:{key:e,oldValue:_,newValue:N,storageArea:n}}))}function T(_){try{const N=n.getItem(e);if(_==null)I(N,null),n.removeItem(e);else{const x=D.write(_);N!==x&&(n.setItem(e,x),I(N,x))}}catch(N){v(N)}}function F(_){const N=_?_.newValue:n.getItem(e);if(N==null)return c&&k!=null&&n.setItem(e,D.write(k)),k;if(!_&&u){const x=D.read(N);return typeof u=="function"?u(x,k):W==="object"&&!Array.isArray(x)?{...k,...x}:x}else return typeof N!="string"?N:D.read(N)}function $(_){if(!(_&&_.storageArea!==n)){if(_&&_.key==null){O.value=k;return}if(!(_&&_.key!==e)){p();try{(_==null?void 0:_.newValue)!==D.write(O.value)&&(O.value=F(_))}catch(N){v(N)}finally{_?Mn(y):y()}}}}function M(_){$(_.detail)}return O}function Ei(e){return vi("(prefers-color-scheme: dark)",e)}function Ia(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:s=Le,storage:o,storageKey:i="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:u,disableTransition:f=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},m=Ei({window:s}),v=se(()=>m.value?"dark":"light"),S=c||(i==null?yi(r):Wr(i,r,o,{window:s,listenToStorageChanges:l})),O=se(()=>S.value==="auto"?v.value:S.value),k=wi("updateHTMLAttrs",(y,I,T)=>{const F=typeof y=="string"?s==null?void 0:s.document.querySelector(y):bi(y);if(!F)return;let $;if(f&&($=s.document.createElement("style"),$.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),s.document.head.appendChild($)),I==="class"){const M=T.split(/\s/g);Object.values(h).flatMap(_=>(_||"").split(/\s/g)).filter(Boolean).forEach(_=>{M.includes(_)?F.classList.add(_):F.classList.remove(_)})}else F.setAttribute(I,T);f&&(s.getComputedStyle($).opacity,document.head.removeChild($))});function W(y){var I;k(t,n,(I=h[y])!=null?I:y)}function D(y){e.onChanged?e.onChanged(y,W):W(y)}Fe(O,D,{flush:"post",immediate:!0}),Kr(()=>D(O.value));const p=se({get(){return u?S.value:O.value},set(y){S.value=y}});try{return Object.assign(p,{store:S,system:v,state:O})}catch{return p}}function Pa(e={}){const{valueDark:t="dark",valueLight:n="",window:r=Le}=e,s=Ia({...e,onChanged:(l,c)=>{var u;e.onChanged?(u=e.onChanged)==null||u.call(e,l==="dark",c,l):c(l)},modes:{dark:t,light:n}}),o=se(()=>s.system?s.system.value:Ei({window:r}).value?"dark":"light");return se({get(){return s.value==="dark"},set(l){const c=l?"dark":"light";o.value===c?s.value="auto":s.value=c}})}function Zn(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Pu(e,t,n={}){const{window:r=Le}=n;return Wr(e,t,r==null?void 0:r.localStorage,n)}function Ci(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}const er=new WeakMap;function Nu(e,t=!1){const n=oe(t);let r=null,s="";Fe(yi(e),l=>{const c=Zn($e(l));if(c){const u=c;if(er.get(u)||er.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(s=u.style.overflow),u.style.overflow==="hidden")return n.value=!0;if(n.value)return u.style.overflow="hidden"}},{immediate:!0});const o=()=>{const l=Zn($e(e));!l||n.value||(ks&&(r=xt(l,"touchmove",c=>{Na(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},i=()=>{const l=Zn($e(e));!l||!n.value||(ks&&(r==null||r()),l.style.overflow=s,er.delete(l),n.value=!1)};return kr(i),se({get(){return n.value},set(l){l?o():i()}})}function Fu(e,t,n={}){const{window:r=Le}=n;return Wr(e,t,r==null?void 0:r.sessionStorage,n)}function $u(e={}){const{window:t=Le,behavior:n="auto"}=e;if(!t)return{x:oe(0),y:oe(0)};const r=oe(t.scrollX),s=oe(t.scrollY),o=se({get(){return r.value},set(l){scrollTo({left:l,behavior:n})}}),i=se({get(){return s.value},set(l){scrollTo({top:l,behavior:n})}});return xt(t,"scroll",()=>{r.value=t.scrollX,s.value=t.scrollY},{capture:!1,passive:!0}),{x:o,y:i}}function Hu(e={}){const{window:t=Le,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:o=!0}=e,i=oe(n),l=oe(r),c=()=>{t&&(o?(i.value=t.innerWidth,l.value=t.innerHeight):(i.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight))};if(c(),Kr(c),xt("resize",c,{passive:!0}),s){const u=vi("(orientation: portrait)");Fe(u,()=>c())}return{width:i,height:l}}var tr={BASE_URL:"/PSCompletions/",MODE:"production",DEV:!1,PROD:!0,SSR:!1},nr={};const Si=/^(?:[a-z]+:|\/\/)/i,Fa="vitepress-theme-appearance",$a=/#.*$/,Ha=/[?#].*$/,ja=/(?:(^|\/)index)?\.(?:md|html)$/,he=typeof document<"u",xi={relativePath:"404.md",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function Va(e,t,n=!1){if(t===void 0)return!1;if(e=Ws(`/${e}`),n)return new RegExp(t).test(e);if(Ws(t)!==e)return!1;const r=t.match($a);return r?(he?location.hash:"")===r[0]:!0}function Ws(e){return decodeURI(e).replace(Ha,"").replace(ja,"$1")}function Da(e){return Si.test(e)}function Ua(e,t){return Object.keys((e==null?void 0:e.locales)||{}).find(n=>n!=="root"&&!Da(n)&&Va(t,`/${n}/`,!0))||"root"}function Ba(e,t){var r,s,o,i,l,c,u;const n=Ua(e,t);return Object.assign({},e,{localeIndex:n,lang:((r=e.locales[n])==null?void 0:r.lang)??e.lang,dir:((s=e.locales[n])==null?void 0:s.dir)??e.dir,title:((o=e.locales[n])==null?void 0:o.title)??e.title,titleTemplate:((i=e.locales[n])==null?void 0:i.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:Ai(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(u=e.locales[n])==null?void 0:u.themeConfig}})}function Ti(e,t){const n=t.title||e.title,r=t.titleTemplate??e.titleTemplate;if(typeof r=="string"&&r.includes(":title"))return r.replace(/:title/g,n);const s=ka(e.title,r);return n===s.slice(3)?n:`${n}${s}`}function ka(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function Ka(e,t){const[n,r]=t;if(n!=="meta")return!1;const s=Object.entries(r)[0];return s==null?!1:e.some(([o,i])=>o===n&&i[s[0]]===s[1])}function Ai(e,t){return[...e.filter(n=>!Ka(t,n)),...t]}const Wa=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,qa=/^[a-z]:/i;function qs(e){const t=qa.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(Wa,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const rr=new Set;function Ga(e){if(rr.size===0){const n=typeof process=="object"&&(nr==null?void 0:nr.VITE_EXTRA_EXTENSIONS)||(tr==null?void 0:tr.VITE_EXTRA_EXTENSIONS)||"";("3g2,3gp,aac,ai,apng,au,avif,bin,bmp,cer,class,conf,crl,css,csv,dll,doc,eps,epub,exe,gif,gz,ics,ief,jar,jpe,jpeg,jpg,js,json,jsonld,m4a,man,mid,midi,mjs,mov,mp2,mp3,mp4,mpe,mpeg,mpg,mpp,oga,ogg,ogv,ogx,opus,otf,p10,p7c,p7m,p7s,pdf,png,ps,qt,roff,rtf,rtx,ser,svg,t,tif,tiff,tr,ts,tsv,ttf,txt,vtt,wav,weba,webm,webp,woff,woff2,xhtml,xml,yaml,yml,zip"+(n&&typeof n=="string"?","+n:"")).split(",").forEach(r=>rr.add(r))}const t=e.split(".").pop();return t==null||!rr.has(t.toLowerCase())}function ju(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const Xa=Symbol(),ft=Fr(ma);function Vu(e){const t=se(()=>Ba(ft.value,e.data.relativePath)),n=t.value.appearance,r=n==="force-dark"?oe(!0):n?Pa({storageKey:Fa,initialValue:()=>n==="dark"?"dark":"auto",...typeof n=="object"?n:{}}):oe(!1),s=oe(he?location.hash:"");return he&&window.addEventListener("hashchange",()=>{s.value=location.hash}),Fe(()=>e.data,()=>{s.value=he?location.hash:""}),{site:t,theme:se(()=>t.value.themeConfig),page:se(()=>e.data),frontmatter:se(()=>e.data.frontmatter),params:se(()=>e.data.params),lang:se(()=>t.value.lang),dir:se(()=>e.data.frontmatter.dir||t.value.dir),localeIndex:se(()=>t.value.localeIndex||"root"),title:se(()=>Ti(t.value,e.data)),description:se(()=>e.data.description||t.value.description),isDark:r,hash:se(()=>s.value)}}function Ya(){const e=Ct(Xa);if(!e)throw new Error("vitepress data not properly injected in app");return e}function za(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function Gs(e){return Si.test(e)||!e.startsWith("/")?e:za(ft.value.base,e)}function Ja(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),he){const n="/PSCompletions/";t=qs(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let r=__VP_HASH_MAP__[t.toLowerCase()];if(r||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",r=__VP_HASH_MAP__[t.toLowerCase()]),!r)return null;t=`${n}assets/${t}.${r}.js`}else t=`./${qs(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let mn=[];function Du(e){mn.push(e),Fn(()=>{mn=mn.filter(t=>t!==e)})}function Qa(){let e=ft.value.scrollOffset,t=0,n=24;if(typeof e=="object"&&"padding"in e&&(n=e.padding,e=e.selector),typeof e=="number")t=e;else if(typeof e=="string")t=Xs(e,n);else if(Array.isArray(e))for(const r of e){const s=Xs(r,n);if(s){t=s;break}}return t}function Xs(e,t){const n=document.querySelector(e);if(!n)return 0;const r=n.getBoundingClientRect().bottom;return r<0?0:r+t}const Za=Symbol(),Ri="http://a.com",eu=()=>({path:"/",component:null,data:xi});function Uu(e,t){const n=On(eu()),r={route:n,go:s};async function s(l=he?location.href:"/"){var c,u;l=sr(l),await((c=r.onBeforeRouteChange)==null?void 0:c.call(r,l))!==!1&&(he&&l!==sr(location.href)&&(history.replaceState({scrollPosition:window.scrollY},""),history.pushState({},"",l)),await i(l),await((u=r.onAfterRouteChanged)==null?void 0:u.call(r,l)))}let o=null;async function i(l,c=0,u=!1){var m;if(await((m=r.onBeforePageLoad)==null?void 0:m.call(r,l))===!1)return;const f=new URL(l,Ri),h=o=f.pathname;try{let v=await e(h);if(!v)throw new Error(`Page not found: ${h}`);if(o===h){o=null;const{default:S,__pageData:O}=v;if(!S)throw new Error(`Invalid route component: ${S}`);n.path=he?h:Gs(h),n.component=hn(S),n.data=hn(O),he&&Mn(()=>{let k=ft.value.base+O.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!ft.value.cleanUrls&&!k.endsWith("/")&&(k+=".html"),k!==f.pathname&&(f.pathname=k,l=k+f.search+f.hash,history.replaceState({},"",l)),f.hash&&!c){let W=null;try{W=document.getElementById(decodeURIComponent(f.hash).slice(1))}catch(D){console.warn(D)}if(W){Ys(W,f.hash);return}}window.scrollTo(0,c)})}}catch(v){if(!/fetch|Page not found/.test(v.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(v),!u)try{const S=await fetch(ft.value.base+"hashmap.json");window.__VP_HASH_MAP__=await S.json(),await i(l,c,!0);return}catch{}if(o===h){o=null,n.path=he?h:Gs(h),n.component=t?hn(t):null;const S=he?h.replace(/(^|\/)$/,"$1index").replace(/(\.html)?$/,".md").replace(/^\//,""):"404.md";n.data={...xi,relativePath:S}}}}return he&&(history.state===null&&history.replaceState({},""),window.addEventListener("click",l=>{if(l.defaultPrevented||!(l.target instanceof Element)||l.target.closest("button")||l.button!==0||l.ctrlKey||l.shiftKey||l.altKey||l.metaKey)return;const c=l.target.closest("a");if(!c||c.closest(".vp-raw")||c.hasAttribute("download")||c.hasAttribute("target"))return;const u=c.getAttribute("href")??(c instanceof SVGAElement?c.getAttribute("xlink:href"):null);if(u==null)return;const{href:f,origin:h,pathname:m,hash:v,search:S}=new URL(u,c.baseURI),O=new URL(location.href);h===O.origin&&Ga(m)&&(l.preventDefault(),m===O.pathname&&S===O.search?(v!==O.hash&&(history.pushState({},"",f),window.dispatchEvent(new HashChangeEvent("hashchange",{oldURL:O.href,newURL:f}))),v?Ys(c,v,c.classList.contains("header-anchor")):window.scrollTo(0,0)):s(f))},{capture:!0}),window.addEventListener("popstate",async l=>{var c;l.state!==null&&(await i(sr(location.href),l.state&&l.state.scrollPosition||0),(c=r.onAfterRouteChanged)==null||c.call(r,location.href))}),window.addEventListener("hashchange",l=>{l.preventDefault()})),r}function tu(){const e=Ct(Za);if(!e)throw new Error("useRouter() is called without provider.");return e}function Oi(){return tu().route}function Ys(e,t,n=!1){let r=null;try{r=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t).slice(1))}catch(s){console.warn(s)}if(r){let s=function(){!n||Math.abs(i-window.scrollY)>window.innerHeight?window.scrollTo(0,i):window.scrollTo({left:0,top:i,behavior:"smooth"})};const o=parseInt(window.getComputedStyle(r).paddingTop,10),i=window.scrollY+r.getBoundingClientRect().top-Qa()+o;requestAnimationFrame(s)}}function sr(e){const t=new URL(e,Ri);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),ft.value.cleanUrls?t.pathname=t.pathname.replace(/\.html$/,""):!t.pathname.endsWith("/")&&!t.pathname.endsWith(".html")&&(t.pathname+=".html"),t.pathname+t.search+t.hash}const or=()=>mn.forEach(e=>e()),Bu=Hr({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=Oi(),{site:n}=Ya();return()=>vr(e.as,n.value.contentProps??{style:{position:"relative"}},[t.component?vr(t.component,{onVnodeMounted:or,onVnodeUpdated:or,onVnodeUnmounted:or}):"404 Page Not Found"])}}),ku=Hr({setup(e,{slots:t}){const n=oe(!1);return Tt(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function Ku(){he&&window.addEventListener("click",e=>{var n;const t=e.target;if(t.matches(".vp-code-group input")){const r=(n=t.parentElement)==null?void 0:n.parentElement;if(!r)return;const s=Array.from(r.querySelectorAll("input")).indexOf(t);if(s<0)return;const o=r.querySelector(".blocks");if(!o)return;const i=Array.from(o.children).find(u=>u.classList.contains("active"));if(!i)return;const l=o.children[s];if(!l||i===l)return;i.classList.remove("active"),l.classList.add("active");const c=r==null?void 0:r.querySelector(`label[for="${t.id}"]`);c==null||c.scrollIntoView({block:"nearest"})}})}function Wu(){if(he){const e=new WeakMap;window.addEventListener("click",t=>{var r;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const s=n.parentElement,o=(r=n.nextElementSibling)==null?void 0:r.nextElementSibling;if(!s||!o)return;const i=/language-(shellscript|shell|bash|sh|zsh)/.test(s.className),l=[".vp-copy-ignore",".diff.remove"],c=o.cloneNode(!0);c.querySelectorAll(l.join(",")).forEach(f=>f.remove());let u=c.textContent||"";i&&(u=u.replace(/^ *(\$|>) /gm,"").trim()),nu(u).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const f=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,f)})}})}}async function nu(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const r=document.getSelection(),s=r?r.rangeCount>0&&r.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),s&&(r.removeAllRanges(),r.addRange(s)),n&&n.focus()}}function qu(e,t){let n=!0,r=[];const s=o=>{if(n){n=!1,o.forEach(l=>{const c=ir(l);for(const u of document.head.children)if(u.isEqualNode(c)){r.push(u);return}});return}const i=o.map(ir);r.forEach((l,c)=>{const u=i.findIndex(f=>f==null?void 0:f.isEqualNode(l??null));u!==-1?delete i[u]:(l==null||l.remove(),delete r[c])}),i.forEach(l=>l&&document.head.appendChild(l)),r=[...r,...i].filter(Boolean)};Ur(()=>{const o=e.data,i=t.value,l=o&&o.description,c=o&&o.frontmatter.head||[],u=Ti(i,o);u!==document.title&&(document.title=u);const f=l||i.description;let h=document.querySelector("meta[name=description]");h?h.getAttribute("content")!==f&&h.setAttribute("content",f):ir(["meta",{name:"description",content:f}]),s(Ai(i.head,su(c)))})}function ir([e,t,n]){const r=document.createElement(e);for(const s in t)r.setAttribute(s,t[s]);return n&&(r.innerHTML=n),e==="script"&&!t.async&&(r.async=!1),r}function ru(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function su(e){return e.filter(t=>!ru(t))}const lr=new Set,Li=()=>document.createElement("link"),ou=e=>{const t=Li();t.rel="prefetch",t.href=e,document.head.appendChild(t)},iu=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let un;const lu=he&&(un=Li())&&un.relList&&un.relList.supports&&un.relList.supports("prefetch")?ou:iu;function Gu(){if(!he||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const r=()=>{n&&n.disconnect(),n=new IntersectionObserver(o=>{o.forEach(i=>{if(i.isIntersecting){const l=i.target;n.unobserve(l);const{pathname:c}=l;if(!lr.has(c)){lr.add(c);const u=Ja(c);u&&lu(u)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(o=>{const{hostname:i,pathname:l}=new URL(o.href instanceof SVGAnimatedString?o.href.animVal:o.href,o.baseURI),c=l.match(/\.\w+$/);c&&c[0]!==".html"||o.target!=="_blank"&&i===location.hostname&&(l!==location.pathname?n.observe(o):lr.add(l))})})};Tt(r);const s=Oi();Fe(()=>s.path,r),Fn(()=>{n&&n.disconnect()})}export{xu as $,bu as A,Vl as B,Qa as C,du as D,pu as E,_e as F,Fr as G,Du as H,le as I,hu as J,Si as K,Oi as L,Rc as M,Ct as N,Hu as O,xr as P,Iu as Q,Mn as R,$u as S,ui as T,he as U,Ln as V,fu as W,Ou as X,Nu as Y,Zl as Z,Ru as _,ii as a,mu as a0,Mo as a1,Su as a2,yu as a3,wu as a4,qu as a5,Za as a6,Vu as a7,Xa as a8,Bu as a9,ku as aa,ft as ab,Au as ac,Uu as ad,Ja as ae,Gu as af,Wu as ag,Ku as ah,vr as ai,bi as aj,kr as ak,Mu as al,Fu as am,Pu as an,Lu as ao,tu as ap,xt as aq,uu as ar,Cu as as,de as at,_u as au,hn as av,Tu as aw,ju as ax,ri as b,vu as c,Hr as d,Eu as e,Ga as f,Gs as g,se as h,Da as i,oi as j,wo as k,au as l,Va as m,Tr as n,ti as o,cu as p,vi as q,gu as r,oe as s,Wi as t,Ya as u,Fe as v,Ll as w,Ur as x,Tt as y,Fn as z}; +**/const jc="http://www.w3.org/2000/svg",Vc="http://www.w3.org/1998/Math/MathML",je=typeof document<"u"?document:null,xs=je&&je.createElement("template"),Dc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?je.createElementNS(jc,e):t==="mathml"?je.createElementNS(Vc,e):n?je.createElement(e,{is:n}):je.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>je.createTextNode(e),createComment:e=>je.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>je.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{xs.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const l=xs.content;if(r==="svg"||r==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Be="transition",Ot="animation",Bt=Symbol("_vtc"),ui=(e,{slots:t})=>vr(Pl,Uc(e),t);ui.displayName="Transition";const fi={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};ui.props=fe({},To,fi);const st=(e,t=[])=>{B(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ts=e=>e?B(e)?e.some(t=>t.length>1):e.length>1:!1;function Uc(e){const t={};for(const x in e)x in fi||(t[x]=e[x]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:u=i,appearToClass:f=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,S=Bc(s),O=S&&S[0],k=S&&S[1],{onBeforeEnter:W,onEnter:D,onEnterCancelled:p,onLeave:y,onLeaveCancelled:I,onBeforeAppear:T=W,onAppear:F=D,onAppearCancelled:$=p}=t,M=(x,G,ee)=>{ot(x,G?f:l),ot(x,G?u:i),ee&&ee()},_=(x,G)=>{x._isLeaving=!1,ot(x,h),ot(x,v),ot(x,m),G&&G()},N=x=>(G,ee)=>{const re=x?F:D,U=()=>M(G,x,ee);st(re,[G,U]),As(()=>{ot(G,x?c:o),ke(G,x?f:l),Ts(re)||Rs(G,r,O,U)})};return fe(t,{onBeforeEnter(x){st(W,[x]),ke(x,o),ke(x,i)},onBeforeAppear(x){st(T,[x]),ke(x,c),ke(x,u)},onEnter:N(!1),onAppear:N(!0),onLeave(x,G){x._isLeaving=!0;const ee=()=>_(x,G);ke(x,h),ke(x,m),Wc(),As(()=>{x._isLeaving&&(ot(x,h),ke(x,v),Ts(y)||Rs(x,r,k,ee))}),st(y,[x,ee])},onEnterCancelled(x){M(x,!1),st(p,[x])},onAppearCancelled(x){M(x,!0),st($,[x])},onLeaveCancelled(x){_(x),st(I,[x])}})}function Bc(e){if(e==null)return null;if(Z(e))return[Yn(e.enter),Yn(e.leave)];{const t=Yn(e);return[t,t]}}function Yn(e){return ji(e)}function ke(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Bt]||(e[Bt]=new Set)).add(t)}function ot(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Bt];n&&(n.delete(t),n.size||(e[Bt]=void 0))}function As(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let kc=0;function Rs(e,t,n,r){const s=e._endId=++kc,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:l,propCount:c}=Kc(e,t);if(!i)return r();const u=i+"end";let f=0;const h=()=>{e.removeEventListener(u,m),o()},m=v=>{v.target===e&&++f>=c&&h()};setTimeout(()=>{f(n[S]||"").split(", "),s=r(`${Be}Delay`),o=r(`${Be}Duration`),i=Os(s,o),l=r(`${Ot}Delay`),c=r(`${Ot}Duration`),u=Os(l,c);let f=null,h=0,m=0;t===Be?i>0&&(f=Be,h=i,m=o.length):t===Ot?u>0&&(f=Ot,h=u,m=c.length):(h=Math.max(i,u),f=h>0?i>u?Be:Ot:null,m=f?f===Be?o.length:c.length:0);const v=f===Be&&/\b(transform|all)(,|$)/.test(r(`${Be}Property`).toString());return{type:f,timeout:h,propCount:m,hasTransform:v}}function Os(e,t){for(;e.lengthLs(n)+Ls(e[r])))}function Ls(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Wc(){return document.body.offsetHeight}function qc(e,t,n){const r=e[Bt];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ms=Symbol("_vod"),Gc=Symbol("_vsh"),Xc=Symbol(""),Yc=/(^|;)\s*display\s*:/;function zc(e,t,n){const r=e.style,s=ie(n);let o=!1;if(n&&!s){if(t)if(ie(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&gn(r,l,"")}else for(const i in t)n[i]==null&&gn(r,i,"");for(const i in n)i==="display"&&(o=!0),gn(r,i,n[i])}else if(s){if(t!==n){const i=r[Xc];i&&(n+=";"+i),r.cssText=n,o=Yc.test(n)}}else t&&e.removeAttribute("style");Ms in e&&(e[Ms]=o?r.display:"",e[Gc]&&(r.display="none"))}const Is=/\s*!important$/;function gn(e,t,n){if(B(n))n.forEach(r=>gn(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Jc(e,t);Is.test(n)?e.setProperty(Ze(r),n.replace(Is,""),"important"):e[r]=n}}const Ps=["Webkit","Moz","ms"],zn={};function Jc(e,t){const n=zn[t];if(n)return n;let r=Oe(t);if(r!=="filter"&&r in e)return zn[t]=r;r=An(r);for(let s=0;sJn||(na.then(()=>Jn=0),Jn=Date.now());function sa(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ae(oa(r,n.value),t,5,[r])};return n.value=e,n.attached=ra(),n}function oa(e,t){if(B(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const js=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ia=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?qc(e,r,i):t==="style"?zc(e,n,r):Kt(t)?Er(t)||ea(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):la(e,t,r,i))?(Qc(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Fs(e,t,r,i,o,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Fs(e,t,r,i))};function la(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&js(t)&&K(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return js(t)&&ie(n)?!1:t in e}const Vs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return B(t)?n=>dn(t,n):t};function ca(e){e.target.composing=!0}function Ds(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Qn=Symbol("_assign"),Cu={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[Qn]=Vs(s);const o=r||s.props&&s.props.type==="number";mt(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=cr(l)),e[Qn](l)}),n&&mt(e,"change",()=>{e.value=e.value.trim()}),t||(mt(e,"compositionstart",ca),mt(e,"compositionend",Ds),mt(e,"change",Ds))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:o}},i){if(e[Qn]=Vs(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?cr(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===c)||(e.value=c))}},aa=["ctrl","shift","alt","meta"],ua={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>aa.some(n=>e[`${n}Key`]&&!t.includes(n))},Su=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...o)=>{for(let i=0;i{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const o=Ze(s.key);if(t.some(i=>i===o||fa[i]===o))return e(s)})},di=fe({patchProp:ia},Dc);let Ht,Us=!1;function da(){return Ht||(Ht=dc(di))}function ha(){return Ht=Us?Ht:hc(di),Us=!0,Ht}const Tu=(...e)=>{const t=da().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=pi(r);if(!s)return;const o=t._component;!K(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const i=n(s,!1,hi(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t},Au=(...e)=>{const t=ha().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=pi(r);if(s)return n(s,!0,hi(s))},t};function hi(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function pi(e){return ie(e)?document.querySelector(e):e}const Ru=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},pa="modulepreload",ga=function(e){return"/PSCompletions/"+e},Bs={},Ou=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),i=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));s=Promise.all(n.map(l=>{if(l=ga(l),l in Bs)return;Bs[l]=!0;const c=l.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${u}`))return;const f=document.createElement("link");if(f.rel=c?"stylesheet":pa,c||(f.as="script",f.crossOrigin=""),f.href=l,i&&f.setAttribute("nonce",i),document.head.appendChild(f),c)return new Promise((h,m)=>{f.addEventListener("load",h),f.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${l}`)))})}))}return s.then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})},ma=window.__VP_SITE_DATA__;function kr(e){return oo()?(Xi(e),!0):!1}function $e(e){return typeof e=="function"?e():wo(e)}const gi=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ya=Object.prototype.toString,_a=e=>ya.call(e)==="[object Object]",kt=()=>{},ks=ba();function ba(){var e,t;return gi&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function va(e,t){function n(...r){return new Promise((s,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(o)})}return n}const mi=e=>e();function wa(e,t={}){let n,r,s=kt;const o=l=>{clearTimeout(l),s(),s=kt};return l=>{const c=$e(e),u=$e(t.maxWait);return n&&o(n),c<=0||u!==void 0&&u<=0?(r&&(o(r),r=null),Promise.resolve(l())):new Promise((f,h)=>{s=t.rejectOnCancel?h:f,u&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,f(l())},u)),n=setTimeout(()=>{r&&o(r),r=null,f(l())},c)})}}function Ea(e=mi){const t=oe(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...o)=>{t.value&&e(...o)};return{isActive:Ln(t),pause:n,resume:r,eventFilter:s}}function Ca(e){return jn()}function yi(...e){if(e.length!==1)return Cl(...e);const t=e[0];return typeof t=="function"?Ln(vl(()=>({get:t,set:kt}))):oe(t)}function _i(e,t,n={}){const{eventFilter:r=mi,...s}=n;return Fe(e,va(r,t),s)}function Sa(e,t,n={}){const{eventFilter:r,...s}=n,{eventFilter:o,pause:i,resume:l,isActive:c}=Ea(r);return{stop:_i(e,t,{...s,eventFilter:o}),pause:i,resume:l,isActive:c}}function Kr(e,t=!0,n){Ca()?Tt(e,n):t?e():Mn(e)}function Lu(e,t,n={}){const{debounce:r=0,maxWait:s=void 0,...o}=n;return _i(e,t,{...o,eventFilter:wa(r,{maxWait:s})})}function Mu(e,t,n){let r;de(n)?r={evaluating:n}:r={};const{lazy:s=!1,evaluating:o=void 0,shallow:i=!0,onError:l=kt}=r,c=oe(!s),u=i?Fr(t):oe(t);let f=0;return Ur(async h=>{if(!c.value)return;f++;const m=f;let v=!1;o&&Promise.resolve().then(()=>{o.value=!0});try{const S=await e(O=>{h(()=>{o&&(o.value=!1),v||O()})});m===f&&(u.value=S)}catch(S){l(S)}finally{o&&m===f&&(o.value=!1),v=!0}}),s?se(()=>(c.value=!0,u.value)):u}function bi(e){var t;const n=$e(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Le=gi?window:void 0;function xt(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=Le):[t,n,r,s]=e,!t)return kt;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],i=()=>{o.forEach(f=>f()),o.length=0},l=(f,h,m,v)=>(f.addEventListener(h,m,v),()=>f.removeEventListener(h,m,v)),c=Fe(()=>[bi(t),$e(s)],([f,h])=>{if(i(),!f)return;const m=_a(h)?{...h}:h;o.push(...n.flatMap(v=>r.map(S=>l(f,v,S,m))))},{immediate:!0,flush:"post"}),u=()=>{c(),i()};return kr(u),u}function xa(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Iu(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:s=Le,eventName:o="keydown",passive:i=!1,dedupe:l=!1}=r,c=xa(t);return xt(s,o,f=>{f.repeat&&$e(l)||c(f)&&n(f)},i)}function Ta(){const e=oe(!1),t=jn();return t&&Tt(()=>{e.value=!0},t),e}function Aa(e){const t=Ta();return se(()=>(t.value,!!e()))}function vi(e,t={}){const{window:n=Le}=t,r=Aa(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const o=oe(!1),i=u=>{o.value=u.matches},l=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",i):s.removeListener(i))},c=Ur(()=>{r.value&&(l(),s=n.matchMedia($e(e)),"addEventListener"in s?s.addEventListener("change",i):s.addListener(i),o.value=s.matches)});return kr(()=>{c(),l(),s=void 0}),o}const cn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},an="__vueuse_ssr_handlers__",Ra=Oa();function Oa(){return an in cn||(cn[an]=cn[an]||{}),cn[an]}function wi(e,t){return Ra[e]||t}function La(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Ma={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Ks="vueuse-storage";function Wr(e,t,n,r={}){var s;const{flush:o="pre",deep:i=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:u=!1,shallow:f,window:h=Le,eventFilter:m,onError:v=_=>{console.error(_)},initOnMounted:S}=r,O=(f?Fr:oe)(typeof t=="function"?t():t);if(!n)try{n=wi("getDefaultStorage",()=>{var _;return(_=Le)==null?void 0:_.localStorage})()}catch(_){v(_)}if(!n)return O;const k=$e(t),W=La(k),D=(s=r.serializer)!=null?s:Ma[W],{pause:p,resume:y}=Sa(O,()=>T(O.value),{flush:o,deep:i,eventFilter:m});h&&l&&Kr(()=>{xt(h,"storage",$),xt(h,Ks,M),S&&$()}),S||$();function I(_,N){h&&h.dispatchEvent(new CustomEvent(Ks,{detail:{key:e,oldValue:_,newValue:N,storageArea:n}}))}function T(_){try{const N=n.getItem(e);if(_==null)I(N,null),n.removeItem(e);else{const x=D.write(_);N!==x&&(n.setItem(e,x),I(N,x))}}catch(N){v(N)}}function F(_){const N=_?_.newValue:n.getItem(e);if(N==null)return c&&k!=null&&n.setItem(e,D.write(k)),k;if(!_&&u){const x=D.read(N);return typeof u=="function"?u(x,k):W==="object"&&!Array.isArray(x)?{...k,...x}:x}else return typeof N!="string"?N:D.read(N)}function $(_){if(!(_&&_.storageArea!==n)){if(_&&_.key==null){O.value=k;return}if(!(_&&_.key!==e)){p();try{(_==null?void 0:_.newValue)!==D.write(O.value)&&(O.value=F(_))}catch(N){v(N)}finally{_?Mn(y):y()}}}}function M(_){$(_.detail)}return O}function Ei(e){return vi("(prefers-color-scheme: dark)",e)}function Ia(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:s=Le,storage:o,storageKey:i="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:u,disableTransition:f=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},m=Ei({window:s}),v=se(()=>m.value?"dark":"light"),S=c||(i==null?yi(r):Wr(i,r,o,{window:s,listenToStorageChanges:l})),O=se(()=>S.value==="auto"?v.value:S.value),k=wi("updateHTMLAttrs",(y,I,T)=>{const F=typeof y=="string"?s==null?void 0:s.document.querySelector(y):bi(y);if(!F)return;let $;if(f&&($=s.document.createElement("style"),$.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),s.document.head.appendChild($)),I==="class"){const M=T.split(/\s/g);Object.values(h).flatMap(_=>(_||"").split(/\s/g)).filter(Boolean).forEach(_=>{M.includes(_)?F.classList.add(_):F.classList.remove(_)})}else F.setAttribute(I,T);f&&(s.getComputedStyle($).opacity,document.head.removeChild($))});function W(y){var I;k(t,n,(I=h[y])!=null?I:y)}function D(y){e.onChanged?e.onChanged(y,W):W(y)}Fe(O,D,{flush:"post",immediate:!0}),Kr(()=>D(O.value));const p=se({get(){return u?S.value:O.value},set(y){S.value=y}});try{return Object.assign(p,{store:S,system:v,state:O})}catch{return p}}function Pa(e={}){const{valueDark:t="dark",valueLight:n="",window:r=Le}=e,s=Ia({...e,onChanged:(l,c)=>{var u;e.onChanged?(u=e.onChanged)==null||u.call(e,l==="dark",c,l):c(l)},modes:{dark:t,light:n}}),o=se(()=>s.system?s.system.value:Ei({window:r}).value?"dark":"light");return se({get(){return s.value==="dark"},set(l){const c=l?"dark":"light";o.value===c?s.value="auto":s.value=c}})}function Zn(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Pu(e,t,n={}){const{window:r=Le}=n;return Wr(e,t,r==null?void 0:r.localStorage,n)}function Ci(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}const er=new WeakMap;function Nu(e,t=!1){const n=oe(t);let r=null,s="";Fe(yi(e),l=>{const c=Zn($e(l));if(c){const u=c;if(er.get(u)||er.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(s=u.style.overflow),u.style.overflow==="hidden")return n.value=!0;if(n.value)return u.style.overflow="hidden"}},{immediate:!0});const o=()=>{const l=Zn($e(e));!l||n.value||(ks&&(r=xt(l,"touchmove",c=>{Na(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},i=()=>{const l=Zn($e(e));!l||!n.value||(ks&&(r==null||r()),l.style.overflow=s,er.delete(l),n.value=!1)};return kr(i),se({get(){return n.value},set(l){l?o():i()}})}function Fu(e,t,n={}){const{window:r=Le}=n;return Wr(e,t,r==null?void 0:r.sessionStorage,n)}function $u(e={}){const{window:t=Le,behavior:n="auto"}=e;if(!t)return{x:oe(0),y:oe(0)};const r=oe(t.scrollX),s=oe(t.scrollY),o=se({get(){return r.value},set(l){scrollTo({left:l,behavior:n})}}),i=se({get(){return s.value},set(l){scrollTo({top:l,behavior:n})}});return xt(t,"scroll",()=>{r.value=t.scrollX,s.value=t.scrollY},{capture:!1,passive:!0}),{x:o,y:i}}function Hu(e={}){const{window:t=Le,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:o=!0}=e,i=oe(n),l=oe(r),c=()=>{t&&(o?(i.value=t.innerWidth,l.value=t.innerHeight):(i.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight))};if(c(),Kr(c),xt("resize",c,{passive:!0}),s){const u=vi("(orientation: portrait)");Fe(u,()=>c())}return{width:i,height:l}}var tr={BASE_URL:"/PSCompletions/",MODE:"production",DEV:!1,PROD:!0,SSR:!1},nr={};const Si=/^(?:[a-z]+:|\/\/)/i,Fa="vitepress-theme-appearance",$a=/#.*$/,Ha=/[?#].*$/,ja=/(?:(^|\/)index)?\.(?:md|html)$/,he=typeof document<"u",xi={relativePath:"404.md",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function Va(e,t,n=!1){if(t===void 0)return!1;if(e=Ws(`/${e}`),n)return new RegExp(t).test(e);if(Ws(t)!==e)return!1;const r=t.match($a);return r?(he?location.hash:"")===r[0]:!0}function Ws(e){return decodeURI(e).replace(Ha,"").replace(ja,"$1")}function Da(e){return Si.test(e)}function Ua(e,t){return Object.keys((e==null?void 0:e.locales)||{}).find(n=>n!=="root"&&!Da(n)&&Va(t,`/${n}/`,!0))||"root"}function Ba(e,t){var r,s,o,i,l,c,u;const n=Ua(e,t);return Object.assign({},e,{localeIndex:n,lang:((r=e.locales[n])==null?void 0:r.lang)??e.lang,dir:((s=e.locales[n])==null?void 0:s.dir)??e.dir,title:((o=e.locales[n])==null?void 0:o.title)??e.title,titleTemplate:((i=e.locales[n])==null?void 0:i.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:Ai(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(u=e.locales[n])==null?void 0:u.themeConfig}})}function Ti(e,t){const n=t.title||e.title,r=t.titleTemplate??e.titleTemplate;if(typeof r=="string"&&r.includes(":title"))return r.replace(/:title/g,n);const s=ka(e.title,r);return n===s.slice(3)?n:`${n}${s}`}function ka(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function Ka(e,t){const[n,r]=t;if(n!=="meta")return!1;const s=Object.entries(r)[0];return s==null?!1:e.some(([o,i])=>o===n&&i[s[0]]===s[1])}function Ai(e,t){return[...e.filter(n=>!Ka(t,n)),...t]}const Wa=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,qa=/^[a-z]:/i;function qs(e){const t=qa.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(Wa,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const rr=new Set;function Ga(e){if(rr.size===0){const n=typeof process=="object"&&(nr==null?void 0:nr.VITE_EXTRA_EXTENSIONS)||(tr==null?void 0:tr.VITE_EXTRA_EXTENSIONS)||"";("3g2,3gp,aac,ai,apng,au,avif,bin,bmp,cer,class,conf,crl,css,csv,dll,doc,eps,epub,exe,gif,gz,ics,ief,jar,jpe,jpeg,jpg,js,json,jsonld,m4a,man,mid,midi,mjs,mov,mp2,mp3,mp4,mpe,mpeg,mpg,mpp,oga,ogg,ogv,ogx,opus,otf,p10,p7c,p7m,p7s,pdf,png,ps,qt,roff,rtf,rtx,ser,svg,t,tif,tiff,tr,ts,tsv,ttf,txt,vtt,wav,weba,webm,webp,woff,woff2,xhtml,xml,yaml,yml,zip"+(n&&typeof n=="string"?","+n:"")).split(",").forEach(r=>rr.add(r))}const t=e.split(".").pop();return t==null||!rr.has(t.toLowerCase())}function ju(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const Xa=Symbol(),ft=Fr(ma);function Vu(e){const t=se(()=>Ba(ft.value,e.data.relativePath)),n=t.value.appearance,r=n==="force-dark"?oe(!0):n?Pa({storageKey:Fa,initialValue:()=>n==="dark"?"dark":"auto",...typeof n=="object"?n:{}}):oe(!1),s=oe(he?location.hash:"");return he&&window.addEventListener("hashchange",()=>{s.value=location.hash}),Fe(()=>e.data,()=>{s.value=he?location.hash:""}),{site:t,theme:se(()=>t.value.themeConfig),page:se(()=>e.data),frontmatter:se(()=>e.data.frontmatter),params:se(()=>e.data.params),lang:se(()=>t.value.lang),dir:se(()=>e.data.frontmatter.dir||t.value.dir),localeIndex:se(()=>t.value.localeIndex||"root"),title:se(()=>Ti(t.value,e.data)),description:se(()=>e.data.description||t.value.description),isDark:r,hash:se(()=>s.value)}}function Ya(){const e=Ct(Xa);if(!e)throw new Error("vitepress data not properly injected in app");return e}function za(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function Gs(e){return Si.test(e)||!e.startsWith("/")?e:za(ft.value.base,e)}function Ja(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),he){const n="/PSCompletions/";t=qs(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let r=__VP_HASH_MAP__[t.toLowerCase()];if(r||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",r=__VP_HASH_MAP__[t.toLowerCase()]),!r)return null;t=`${n}assets/${t}.${r}.js`}else t=`./${qs(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let mn=[];function Du(e){mn.push(e),Fn(()=>{mn=mn.filter(t=>t!==e)})}function Qa(){let e=ft.value.scrollOffset,t=0,n=24;if(typeof e=="object"&&"padding"in e&&(n=e.padding,e=e.selector),typeof e=="number")t=e;else if(typeof e=="string")t=Xs(e,n);else if(Array.isArray(e))for(const r of e){const s=Xs(r,n);if(s){t=s;break}}return t}function Xs(e,t){const n=document.querySelector(e);if(!n)return 0;const r=n.getBoundingClientRect().bottom;return r<0?0:r+t}const Za=Symbol(),Ri="http://a.com",eu=()=>({path:"/",component:null,data:xi});function Uu(e,t){const n=On(eu()),r={route:n,go:s};async function s(l=he?location.href:"/"){var c,u;l=sr(l),await((c=r.onBeforeRouteChange)==null?void 0:c.call(r,l))!==!1&&(he&&l!==sr(location.href)&&(history.replaceState({scrollPosition:window.scrollY},""),history.pushState({},"",l)),await i(l),await((u=r.onAfterRouteChanged)==null?void 0:u.call(r,l)))}let o=null;async function i(l,c=0,u=!1){var m;if(await((m=r.onBeforePageLoad)==null?void 0:m.call(r,l))===!1)return;const f=new URL(l,Ri),h=o=f.pathname;try{let v=await e(h);if(!v)throw new Error(`Page not found: ${h}`);if(o===h){o=null;const{default:S,__pageData:O}=v;if(!S)throw new Error(`Invalid route component: ${S}`);n.path=he?h:Gs(h),n.component=hn(S),n.data=hn(O),he&&Mn(()=>{let k=ft.value.base+O.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!ft.value.cleanUrls&&!k.endsWith("/")&&(k+=".html"),k!==f.pathname&&(f.pathname=k,l=k+f.search+f.hash,history.replaceState({},"",l)),f.hash&&!c){let W=null;try{W=document.getElementById(decodeURIComponent(f.hash).slice(1))}catch(D){console.warn(D)}if(W){Ys(W,f.hash);return}}window.scrollTo(0,c)})}}catch(v){if(!/fetch|Page not found/.test(v.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(v),!u)try{const S=await fetch(ft.value.base+"hashmap.json");window.__VP_HASH_MAP__=await S.json(),await i(l,c,!0);return}catch{}if(o===h){o=null,n.path=he?h:Gs(h),n.component=t?hn(t):null;const S=he?h.replace(/(^|\/)$/,"$1index").replace(/(\.html)?$/,".md").replace(/^\//,""):"404.md";n.data={...xi,relativePath:S}}}}return he&&(history.state===null&&history.replaceState({},""),window.addEventListener("click",l=>{if(l.defaultPrevented||!(l.target instanceof Element)||l.target.closest("button")||l.button!==0||l.ctrlKey||l.shiftKey||l.altKey||l.metaKey)return;const c=l.target.closest("a");if(!c||c.closest(".vp-raw")||c.hasAttribute("download")||c.hasAttribute("target"))return;const u=c.getAttribute("href")??(c instanceof SVGAElement?c.getAttribute("xlink:href"):null);if(u==null)return;const{href:f,origin:h,pathname:m,hash:v,search:S}=new URL(u,c.baseURI),O=new URL(location.href);h===O.origin&&Ga(m)&&(l.preventDefault(),m===O.pathname&&S===O.search?(v!==O.hash&&(history.pushState({},"",f),window.dispatchEvent(new HashChangeEvent("hashchange",{oldURL:O.href,newURL:f}))),v?Ys(c,v,c.classList.contains("header-anchor")):window.scrollTo(0,0)):s(f))},{capture:!0}),window.addEventListener("popstate",async l=>{var c;l.state!==null&&(await i(sr(location.href),l.state&&l.state.scrollPosition||0),(c=r.onAfterRouteChanged)==null||c.call(r,location.href))}),window.addEventListener("hashchange",l=>{l.preventDefault()})),r}function tu(){const e=Ct(Za);if(!e)throw new Error("useRouter() is called without provider.");return e}function Oi(){return tu().route}function Ys(e,t,n=!1){let r=null;try{r=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t).slice(1))}catch(s){console.warn(s)}if(r){let s=function(){!n||Math.abs(i-window.scrollY)>window.innerHeight?window.scrollTo(0,i):window.scrollTo({left:0,top:i,behavior:"smooth"})};const o=parseInt(window.getComputedStyle(r).paddingTop,10),i=window.scrollY+r.getBoundingClientRect().top-Qa()+o;requestAnimationFrame(s)}}function sr(e){const t=new URL(e,Ri);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),ft.value.cleanUrls?t.pathname=t.pathname.replace(/\.html$/,""):!t.pathname.endsWith("/")&&!t.pathname.endsWith(".html")&&(t.pathname+=".html"),t.pathname+t.search+t.hash}const or=()=>mn.forEach(e=>e()),Bu=Hr({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=Oi(),{site:n}=Ya();return()=>vr(e.as,n.value.contentProps??{style:{position:"relative"}},[t.component?vr(t.component,{onVnodeMounted:or,onVnodeUpdated:or,onVnodeUnmounted:or}):"404 Page Not Found"])}}),ku=Hr({setup(e,{slots:t}){const n=oe(!1);return Tt(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function Ku(){he&&window.addEventListener("click",e=>{var n;const t=e.target;if(t.matches(".vp-code-group input")){const r=(n=t.parentElement)==null?void 0:n.parentElement;if(!r)return;const s=Array.from(r.querySelectorAll("input")).indexOf(t);if(s<0)return;const o=r.querySelector(".blocks");if(!o)return;const i=Array.from(o.children).find(u=>u.classList.contains("active"));if(!i)return;const l=o.children[s];if(!l||i===l)return;i.classList.remove("active"),l.classList.add("active");const c=r==null?void 0:r.querySelector(`label[for="${t.id}"]`);c==null||c.scrollIntoView({block:"nearest"})}})}function Wu(){if(he){const e=new WeakMap;window.addEventListener("click",t=>{var r;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const s=n.parentElement,o=(r=n.nextElementSibling)==null?void 0:r.nextElementSibling;if(!s||!o)return;const i=/language-(shellscript|shell|bash|sh|zsh)/.test(s.className),l=[".vp-copy-ignore",".diff.remove"],c=o.cloneNode(!0);c.querySelectorAll(l.join(",")).forEach(f=>f.remove());let u=c.textContent||"";i&&(u=u.replace(/^ *(\$|>) /gm,"").trim()),nu(u).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const f=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,f)})}})}}async function nu(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const r=document.getSelection(),s=r?r.rangeCount>0&&r.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),s&&(r.removeAllRanges(),r.addRange(s)),n&&n.focus()}}function qu(e,t){let n=!0,r=[];const s=o=>{if(n){n=!1,o.forEach(l=>{const c=ir(l);for(const u of document.head.children)if(u.isEqualNode(c)){r.push(u);return}});return}const i=o.map(ir);r.forEach((l,c)=>{const u=i.findIndex(f=>f==null?void 0:f.isEqualNode(l??null));u!==-1?delete i[u]:(l==null||l.remove(),delete r[c])}),i.forEach(l=>l&&document.head.appendChild(l)),r=[...r,...i].filter(Boolean)};Ur(()=>{const o=e.data,i=t.value,l=o&&o.description,c=o&&o.frontmatter.head||[],u=Ti(i,o);u!==document.title&&(document.title=u);const f=l||i.description;let h=document.querySelector("meta[name=description]");h?h.getAttribute("content")!==f&&h.setAttribute("content",f):ir(["meta",{name:"description",content:f}]),s(Ai(i.head,su(c)))})}function ir([e,t,n]){const r=document.createElement(e);for(const s in t)r.setAttribute(s,t[s]);return n&&(r.innerHTML=n),e==="script"&&!t.async&&(r.async=!1),r}function ru(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function su(e){return e.filter(t=>!ru(t))}const lr=new Set,Li=()=>document.createElement("link"),ou=e=>{const t=Li();t.rel="prefetch",t.href=e,document.head.appendChild(t)},iu=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let un;const lu=he&&(un=Li())&&un.relList&&un.relList.supports&&un.relList.supports("prefetch")?ou:iu;function Gu(){if(!he||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const r=()=>{n&&n.disconnect(),n=new IntersectionObserver(o=>{o.forEach(i=>{if(i.isIntersecting){const l=i.target;n.unobserve(l);const{pathname:c}=l;if(!lr.has(c)){lr.add(c);const u=Ja(c);u&&lu(u)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(o=>{const{hostname:i,pathname:l}=new URL(o.href instanceof SVGAnimatedString?o.href.animVal:o.href,o.baseURI),c=l.match(/\.\w+$/);c&&c[0]!==".html"||o.target!=="_blank"&&i===location.hostname&&(l!==location.pathname?n.observe(o):lr.add(l))})})};Tt(r);const s=Oi();Fe(()=>s.path,r),Fn(()=>{n&&n.disconnect()})}export{xu as $,bu as A,Vl as B,Qa as C,du as D,pu as E,_e as F,Fr as G,Du as H,le as I,hu as J,Si as K,Oi as L,Rc as M,Ct as N,Hu as O,xr as P,Iu as Q,Mn as R,$u as S,ui as T,he as U,Ln as V,fu as W,Ou as X,Nu as Y,Zl as Z,Ru as _,ii as a,mu as a0,Mo as a1,Su as a2,yu as a3,wu as a4,qu as a5,Za as a6,Vu as a7,Xa as a8,Bu as a9,ku as aa,ft as ab,Au as ac,Uu as ad,Ja as ae,Gu as af,Wu as ag,Ku as ah,vr as ai,bi as aj,kr as ak,Mu as al,Fu as am,Pu as an,Lu as ao,tu as ap,xt as aq,uu as ar,Cu as as,de as at,_u as au,hn as av,Tu as aw,ju as ax,ri as b,vu as c,Hr as d,Eu as e,Ga as f,Gs as g,se as h,Da as i,oi as j,wo as k,au as l,Va as m,Tr as n,ti as o,cu as p,vi as q,gu as r,oe as s,Wi as t,Ya as u,Fe as v,Ll as w,Ur as x,Tt as y,Fn as z}; diff --git a/assets/chunks/theme.Cje-DEyP.js b/docs/.vitepress/dist/assets/chunks/theme.CvjxxwCL.js similarity index 99% rename from assets/chunks/theme.Cje-DEyP.js rename to docs/.vitepress/dist/assets/chunks/theme.CvjxxwCL.js index e405499..b2ac968 100644 --- a/assets/chunks/theme.Cje-DEyP.js +++ b/docs/.vitepress/dist/assets/chunks/theme.CvjxxwCL.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/VPLocalSearchBox.B0iG0UrU.js","assets/chunks/framework.DB6FXu2X.js"])))=>i.map(i=>d[i]); -import{d as _,o as a,c,r as l,n as N,a as O,t as w,b as k,w as d,e as f,T as ve,_ as $,u as Ve,i as ze,f as qe,g as pe,h as y,j as v,k as r,p as B,l as H,m as K,q as ie,s as I,v as U,x as Z,y as W,z as he,A as fe,B as Ke,C as We,D as R,F as M,E,G as Le,H as x,I as m,J as D,K as Se,L as ee,M as q,N as te,O as Re,P as Te,Q as le,R as we,S as Ie,U as ne,V as Je,W as Ye,X as Xe,Y as Ne,Z as _e,$ as Qe,a0 as Ze,a1 as xe,a2 as et,a3 as tt}from"./framework.DB6FXu2X.js";const nt=_({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(n){return(e,t)=>(a(),c("span",{class:N(["VPBadge",e.type])},[l(e.$slots,"default",{},()=>[O(w(e.text),1)])],2))}}),ot={key:0,class:"VPBackdrop"},st=_({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(n){return(e,t)=>(a(),k(ve,{name:"fade"},{default:d(()=>[e.show?(a(),c("div",ot)):f("",!0)]),_:1}))}}),at=$(st,[["__scopeId","data-v-c79a1216"]]),P=Ve;function rt(n,e){let t,s=!1;return()=>{t&&clearTimeout(t),s?t=setTimeout(n,e):(n(),(s=!0)&&setTimeout(()=>s=!1,e))}}function ce(n){return/^\//.test(n)?n:`/${n}`}function me(n){const{pathname:e,search:t,hash:s,protocol:o}=new URL(n,"http://a.com");if(ze(n)||n.startsWith("#")||!o.startsWith("http")||!qe(e))return n;const{site:i}=P(),u=e.endsWith("/")||e.endsWith(".html")?n:n.replace(/(?:(^\.+)\/)?.*$/,`$1${e.replace(/(\.md)?$/,i.value.cleanUrls?"":".html")}${t}${s}`);return pe(u)}function Y({correspondingLink:n=!1}={}){const{site:e,localeIndex:t,page:s,theme:o,hash:i}=P(),u=y(()=>{var p,g;return{label:(p=e.value.locales[t.value])==null?void 0:p.label,link:((g=e.value.locales[t.value])==null?void 0:g.link)||(t.value==="root"?"/":`/${t.value}/`)}});return{localeLinks:y(()=>Object.entries(e.value.locales).flatMap(([p,g])=>u.value.label===g.label?[]:{text:g.label,link:it(g.link||(p==="root"?"/":`/${p}/`),o.value.i18nRouting!==!1&&n,s.value.relativePath.slice(u.value.link.length-1),!e.value.cleanUrls)+i.value})),currentLang:u}}function it(n,e,t,s){return e?n.replace(/\/$/,"")+ce(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,s?".html":"")):n}const lt=n=>(B("data-v-d6be1790"),n=n(),H(),n),ct={class:"NotFound"},ut={class:"code"},dt={class:"title"},vt=lt(()=>v("div",{class:"divider"},null,-1)),pt={class:"quote"},ht={class:"action"},ft=["href","aria-label"],_t=_({__name:"NotFound",setup(n){const{theme:e}=P(),{currentLang:t}=Y();return(s,o)=>{var i,u,h,p,g;return a(),c("div",ct,[v("p",ut,w(((i=r(e).notFound)==null?void 0:i.code)??"404"),1),v("h1",dt,w(((u=r(e).notFound)==null?void 0:u.title)??"PAGE NOT FOUND"),1),vt,v("blockquote",pt,w(((h=r(e).notFound)==null?void 0:h.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),v("div",ht,[v("a",{class:"link",href:r(pe)(r(t).link),"aria-label":((p=r(e).notFound)==null?void 0:p.linkLabel)??"go to home"},w(((g=r(e).notFound)==null?void 0:g.linkText)??"Take me home"),9,ft)])])}}}),mt=$(_t,[["__scopeId","data-v-d6be1790"]]);function Me(n,e){if(Array.isArray(n))return X(n);if(n==null)return[];e=ce(e);const t=Object.keys(n).sort((o,i)=>i.split("/").length-o.split("/").length).find(o=>e.startsWith(ce(o))),s=t?n[t]:[];return Array.isArray(s)?X(s):X(s.items,s.base)}function kt(n){const e=[];let t=0;for(const s in n){const o=n[s];if(o.items){t=e.push(o);continue}e[t]||e.push({items:[]}),e[t].items.push(o)}return e}function bt(n){const e=[];function t(s){for(const o of s)o.text&&o.link&&e.push({text:o.text,link:o.link,docFooterText:o.docFooterText}),o.items&&t(o.items)}return t(n),e}function ue(n,e){return Array.isArray(e)?e.some(t=>ue(n,t)):K(n,e.link)?!0:e.items?ue(n,e.items):!1}function X(n,e){return[...n].map(t=>{const s={...t},o=s.base||e;return o&&s.link&&(s.link=o+s.link),s.items&&(s.items=X(s.items,o)),s})}function G(){const{frontmatter:n,page:e,theme:t}=P(),s=ie("(min-width: 960px)"),o=I(!1),i=y(()=>{const C=t.value.sidebar,S=e.value.relativePath;return C?Me(C,S):[]}),u=I(i.value);U(i,(C,S)=>{JSON.stringify(C)!==JSON.stringify(S)&&(u.value=i.value)});const h=y(()=>n.value.sidebar!==!1&&u.value.length>0&&n.value.layout!=="home"),p=y(()=>g?n.value.aside==null?t.value.aside==="left":n.value.aside==="left":!1),g=y(()=>n.value.layout==="home"?!1:n.value.aside!=null?!!n.value.aside:t.value.aside!==!1),L=y(()=>h.value&&s.value),b=y(()=>h.value?kt(u.value):[]);function V(){o.value=!0}function T(){o.value=!1}function A(){o.value?T():V()}return{isOpen:o,sidebar:u,sidebarGroups:b,hasSidebar:h,hasAside:g,leftAside:p,isSidebarEnabled:L,open:V,close:T,toggle:A}}function $t(n,e){let t;Z(()=>{t=n.value?document.activeElement:void 0}),W(()=>{window.addEventListener("keyup",s)}),he(()=>{window.removeEventListener("keyup",s)});function s(o){o.key==="Escape"&&n.value&&(e(),t==null||t.focus())}}function gt(n){const{page:e,hash:t}=P(),s=I(!1),o=y(()=>n.value.collapsed!=null),i=y(()=>!!n.value.link),u=I(!1),h=()=>{u.value=K(e.value.relativePath,n.value.link)};U([e,n,t],h),W(h);const p=y(()=>u.value?!0:n.value.items?ue(e.value.relativePath,n.value.items):!1),g=y(()=>!!(n.value.items&&n.value.items.length));Z(()=>{s.value=!!(o.value&&n.value.collapsed)}),fe(()=>{(u.value||p.value)&&(s.value=!1)});function L(){o.value&&(s.value=!s.value)}return{collapsed:s,collapsible:o,isLink:i,isActiveLink:u,hasActiveLink:p,hasChildren:g,toggle:L}}function yt(){const{hasSidebar:n}=G(),e=ie("(min-width: 960px)"),t=ie("(min-width: 1280px)");return{isAsideEnabled:y(()=>!t.value&&!e.value?!1:n.value?t.value:e.value)}}const de=[];function Ae(n){return typeof n.outline=="object"&&!Array.isArray(n.outline)&&n.outline.label||n.outlineTitle||"On this page"}function ke(n){const e=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const s=Number(t.tagName[1]);return{element:t,title:Pt(t),link:"#"+t.id,level:s}});return Vt(e,n)}function Pt(n){let e="";for(const t of n.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor")||t.classList.contains("ignore-header"))continue;e+=t.textContent}else t.nodeType===3&&(e+=t.textContent);return e.trim()}function Vt(n,e){if(e===!1)return[];const t=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[s,o]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;n=n.filter(u=>u.level>=s&&u.level<=o),de.length=0;for(const{element:u,link:h}of n)de.push({element:u,link:h});const i=[];e:for(let u=0;u=0;p--){const g=n[p];if(g.level{requestAnimationFrame(i),window.addEventListener("scroll",s)}),Ke(()=>{u(location.hash)}),he(()=>{window.removeEventListener("scroll",s)});function i(){if(!t.value)return;const h=window.scrollY,p=window.innerHeight,g=document.body.offsetHeight,L=Math.abs(h+p-g)<1,b=de.map(({element:T,link:A})=>({link:A,top:St(T)})).filter(({top:T})=>!Number.isNaN(T)).sort((T,A)=>T.top-A.top);if(!b.length){u(null);return}if(h<1){u(null);return}if(L){u(b[b.length-1].link);return}let V=null;for(const{link:T,top:A}of b){if(A>h+We()+4)break;V=T}u(V)}function u(h){o&&o.classList.remove("active"),h==null?o=null:o=n.value.querySelector(`a[href="${decodeURIComponent(h)}"]`);const p=o;p?(p.classList.add("active"),e.value.style.top=p.offsetTop+39+"px",e.value.style.opacity="1"):(e.value.style.top="33px",e.value.style.opacity="0")}}function St(n){let e=0;for(;n!==document.body;){if(n===null)return NaN;e+=n.offsetTop,n=n.offsetParent}return e}const Tt=["href","title"],wt=_({__name:"VPDocOutlineItem",props:{headers:{},root:{type:Boolean}},setup(n){function e({target:t}){const s=t.href.split("#")[1],o=document.getElementById(decodeURIComponent(s));o==null||o.focus({preventScroll:!0})}return(t,s)=>{const o=R("VPDocOutlineItem",!0);return a(),c("ul",{class:N(["VPDocOutlineItem",t.root?"root":"nested"])},[(a(!0),c(M,null,E(t.headers,({children:i,link:u,title:h})=>(a(),c("li",null,[v("a",{class:"outline-link",href:u,onClick:e,title:h},w(h),9,Tt),i!=null&&i.length?(a(),k(o,{key:0,headers:i},null,8,["headers"])):f("",!0)]))),256))],2)}}}),Ce=$(wt,[["__scopeId","data-v-b933a997"]]),It={class:"content"},Nt={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},Mt=_({__name:"VPDocAsideOutline",setup(n){const{frontmatter:e,theme:t}=P(),s=Le([]);x(()=>{s.value=ke(e.value.outline??t.value.outline)});const o=I(),i=I();return Lt(o,i),(u,h)=>(a(),c("nav",{"aria-labelledby":"doc-outline-aria-label",class:N(["VPDocAsideOutline",{"has-outline":s.value.length>0}]),ref_key:"container",ref:o},[v("div",It,[v("div",{class:"outline-marker",ref_key:"marker",ref:i},null,512),v("div",Nt,w(r(Ae)(r(t))),1),m(Ce,{headers:s.value,root:!0},null,8,["headers"])])],2))}}),At=$(Mt,[["__scopeId","data-v-a5bbad30"]]),Ct={class:"VPDocAsideCarbonAds"},Bt=_({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(n){const e=()=>null;return(t,s)=>(a(),c("div",Ct,[m(r(e),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),Ht=n=>(B("data-v-3f215769"),n=n(),H(),n),Et={class:"VPDocAside"},Dt=Ht(()=>v("div",{class:"spacer"},null,-1)),Ft=_({__name:"VPDocAside",setup(n){const{theme:e}=P();return(t,s)=>(a(),c("div",Et,[l(t.$slots,"aside-top",{},void 0,!0),l(t.$slots,"aside-outline-before",{},void 0,!0),m(At),l(t.$slots,"aside-outline-after",{},void 0,!0),Dt,l(t.$slots,"aside-ads-before",{},void 0,!0),r(e).carbonAds?(a(),k(Bt,{key:0,"carbon-ads":r(e).carbonAds},null,8,["carbon-ads"])):f("",!0),l(t.$slots,"aside-ads-after",{},void 0,!0),l(t.$slots,"aside-bottom",{},void 0,!0)]))}}),Ot=$(Ft,[["__scopeId","data-v-3f215769"]]);function Ut(){const{theme:n,page:e}=P();return y(()=>{const{text:t="Edit this page",pattern:s=""}=n.value.editLink||{};let o;return typeof s=="function"?o=s(e.value):o=s.replace(/:path/g,e.value.filePath),{url:o,text:t}})}function Gt(){const{page:n,theme:e,frontmatter:t}=P();return y(()=>{var g,L,b,V,T,A,C,S;const s=Me(e.value.sidebar,n.value.relativePath),o=bt(s),i=jt(o,j=>j.link.replace(/[?#].*$/,"")),u=i.findIndex(j=>K(n.value.relativePath,j.link)),h=((g=e.value.docFooter)==null?void 0:g.prev)===!1&&!t.value.prev||t.value.prev===!1,p=((L=e.value.docFooter)==null?void 0:L.next)===!1&&!t.value.next||t.value.next===!1;return{prev:h?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((b=i[u-1])==null?void 0:b.docFooterText)??((V=i[u-1])==null?void 0:V.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((T=i[u-1])==null?void 0:T.link)},next:p?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((A=i[u+1])==null?void 0:A.docFooterText)??((C=i[u+1])==null?void 0:C.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((S=i[u+1])==null?void 0:S.link)}}})}function jt(n,e){const t=new Set;return n.filter(s=>{const o=e(s);return t.has(o)?!1:t.add(o)})}const F=_({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(n){const e=n,t=y(()=>e.tag??(e.href?"a":"span")),s=y(()=>e.href&&Se.test(e.href)||e.target==="_blank");return(o,i)=>(a(),k(D(t.value),{class:N(["VPLink",{link:o.href,"vp-external-link-icon":s.value,"no-icon":o.noIcon}]),href:o.href?r(me)(o.href):void 0,target:o.target??(s.value?"_blank":void 0),rel:o.rel??(s.value?"noreferrer":void 0)},{default:d(()=>[l(o.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),zt={class:"VPLastUpdated"},qt=["datetime"],Kt=_({__name:"VPDocFooterLastUpdated",setup(n){const{theme:e,page:t,lang:s}=P(),o=y(()=>new Date(t.value.lastUpdated)),i=y(()=>o.value.toISOString()),u=I("");return W(()=>{Z(()=>{var h,p,g;u.value=new Intl.DateTimeFormat((p=(h=e.value.lastUpdated)==null?void 0:h.formatOptions)!=null&&p.forceLocale?s.value:void 0,((g=e.value.lastUpdated)==null?void 0:g.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(o.value)})}),(h,p)=>{var g;return a(),c("p",zt,[O(w(((g=r(e).lastUpdated)==null?void 0:g.text)||r(e).lastUpdatedText||"Last updated")+": ",1),v("time",{datetime:i.value},w(u.value),9,qt)])}}}),Wt=$(Kt,[["__scopeId","data-v-e98dd255"]]),Be=n=>(B("data-v-e257564d"),n=n(),H(),n),Rt={key:0,class:"VPDocFooter"},Jt={key:0,class:"edit-info"},Yt={key:0,class:"edit-link"},Xt=Be(()=>v("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),Qt={key:1,class:"last-updated"},Zt={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},xt=Be(()=>v("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),en={class:"pager"},tn=["innerHTML"],nn=["innerHTML"],on={class:"pager"},sn=["innerHTML"],an=["innerHTML"],rn=_({__name:"VPDocFooter",setup(n){const{theme:e,page:t,frontmatter:s}=P(),o=Ut(),i=Gt(),u=y(()=>e.value.editLink&&s.value.editLink!==!1),h=y(()=>t.value.lastUpdated),p=y(()=>u.value||h.value||i.value.prev||i.value.next);return(g,L)=>{var b,V,T,A;return p.value?(a(),c("footer",Rt,[l(g.$slots,"doc-footer-before",{},void 0,!0),u.value||h.value?(a(),c("div",Jt,[u.value?(a(),c("div",Yt,[m(F,{class:"edit-link-button",href:r(o).url,"no-icon":!0},{default:d(()=>[Xt,O(" "+w(r(o).text),1)]),_:1},8,["href"])])):f("",!0),h.value?(a(),c("div",Qt,[m(Wt)])):f("",!0)])):f("",!0),(b=r(i).prev)!=null&&b.link||(V=r(i).next)!=null&&V.link?(a(),c("nav",Zt,[xt,v("div",en,[(T=r(i).prev)!=null&&T.link?(a(),k(F,{key:0,class:"pager-link prev",href:r(i).prev.link},{default:d(()=>{var C;return[v("span",{class:"desc",innerHTML:((C=r(e).docFooter)==null?void 0:C.prev)||"Previous page"},null,8,tn),v("span",{class:"title",innerHTML:r(i).prev.text},null,8,nn)]}),_:1},8,["href"])):f("",!0)]),v("div",on,[(A=r(i).next)!=null&&A.link?(a(),k(F,{key:0,class:"pager-link next",href:r(i).next.link},{default:d(()=>{var C;return[v("span",{class:"desc",innerHTML:((C=r(e).docFooter)==null?void 0:C.next)||"Next page"},null,8,sn),v("span",{class:"title",innerHTML:r(i).next.text},null,8,an)]}),_:1},8,["href"])):f("",!0)])])):f("",!0)])):f("",!0)}}}),ln=$(rn,[["__scopeId","data-v-e257564d"]]),cn=n=>(B("data-v-39a288b8"),n=n(),H(),n),un={class:"container"},dn=cn(()=>v("div",{class:"aside-curtain"},null,-1)),vn={class:"aside-container"},pn={class:"aside-content"},hn={class:"content"},fn={class:"content-container"},_n={class:"main"},mn=_({__name:"VPDoc",setup(n){const{theme:e}=P(),t=ee(),{hasSidebar:s,hasAside:o,leftAside:i}=G(),u=y(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(h,p)=>{const g=R("Content");return a(),c("div",{class:N(["VPDoc",{"has-sidebar":r(s),"has-aside":r(o)}])},[l(h.$slots,"doc-top",{},void 0,!0),v("div",un,[r(o)?(a(),c("div",{key:0,class:N(["aside",{"left-aside":r(i)}])},[dn,v("div",vn,[v("div",pn,[m(Ot,null,{"aside-top":d(()=>[l(h.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":d(()=>[l(h.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":d(()=>[l(h.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":d(()=>[l(h.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":d(()=>[l(h.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":d(()=>[l(h.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):f("",!0),v("div",hn,[v("div",fn,[l(h.$slots,"doc-before",{},void 0,!0),v("main",_n,[m(g,{class:N(["vp-doc",[u.value,r(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),m(ln,null,{"doc-footer-before":d(()=>[l(h.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),l(h.$slots,"doc-after",{},void 0,!0)])])]),l(h.$slots,"doc-bottom",{},void 0,!0)],2)}}}),kn=$(mn,[["__scopeId","data-v-39a288b8"]]),bn=_({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(n){const e=n,t=y(()=>e.href&&Se.test(e.href)),s=y(()=>e.tag||e.href?"a":"button");return(o,i)=>(a(),k(D(s.value),{class:N(["VPButton",[o.size,o.theme]]),href:o.href?r(me)(o.href):void 0,target:e.target??(t.value?"_blank":void 0),rel:e.rel??(t.value?"noreferrer":void 0)},{default:d(()=>[O(w(o.text),1)]),_:1},8,["class","href","target","rel"]))}}),$n=$(bn,[["__scopeId","data-v-cad61b99"]]),gn=["src","alt"],yn=_({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(n){return(e,t)=>{const s=R("VPImage",!0);return e.image?(a(),c(M,{key:0},[typeof e.image=="string"||"src"in e.image?(a(),c("img",q({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:r(pe)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,gn)):(a(),c(M,{key:1},[m(s,q({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),m(s,q({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):f("",!0)}}}),Q=$(yn,[["__scopeId","data-v-8426fc1a"]]),Pn=n=>(B("data-v-303bb580"),n=n(),H(),n),Vn={class:"container"},Ln={class:"main"},Sn={key:0,class:"name"},Tn=["innerHTML"],wn=["innerHTML"],In=["innerHTML"],Nn={key:0,class:"actions"},Mn={key:0,class:"image"},An={class:"image-container"},Cn=Pn(()=>v("div",{class:"image-bg"},null,-1)),Bn=_({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(n){const e=te("hero-image-slot-exists");return(t,s)=>(a(),c("div",{class:N(["VPHero",{"has-image":t.image||r(e)}])},[v("div",Vn,[v("div",Ln,[l(t.$slots,"home-hero-info-before",{},void 0,!0),l(t.$slots,"home-hero-info",{},()=>[t.name?(a(),c("h1",Sn,[v("span",{innerHTML:t.name,class:"clip"},null,8,Tn)])):f("",!0),t.text?(a(),c("p",{key:1,innerHTML:t.text,class:"text"},null,8,wn)):f("",!0),t.tagline?(a(),c("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,In)):f("",!0)],!0),l(t.$slots,"home-hero-info-after",{},void 0,!0),t.actions?(a(),c("div",Nn,[(a(!0),c(M,null,E(t.actions,o=>(a(),c("div",{key:o.link,class:"action"},[m($n,{tag:"a",size:"medium",theme:o.theme,text:o.text,href:o.link,target:o.target,rel:o.rel},null,8,["theme","text","href","target","rel"])]))),128))])):f("",!0),l(t.$slots,"home-hero-actions-after",{},void 0,!0)]),t.image||r(e)?(a(),c("div",Mn,[v("div",An,[Cn,l(t.$slots,"home-hero-image",{},()=>[t.image?(a(),k(Q,{key:0,class:"image-src",image:t.image},null,8,["image"])):f("",!0)],!0)])])):f("",!0)])],2))}}),Hn=$(Bn,[["__scopeId","data-v-303bb580"]]),En=_({__name:"VPHomeHero",setup(n){const{frontmatter:e}=P();return(t,s)=>r(e).hero?(a(),k(Hn,{key:0,class:"VPHomeHero",name:r(e).hero.name,text:r(e).hero.text,tagline:r(e).hero.tagline,image:r(e).hero.image,actions:r(e).hero.actions},{"home-hero-info-before":d(()=>[l(t.$slots,"home-hero-info-before")]),"home-hero-info":d(()=>[l(t.$slots,"home-hero-info")]),"home-hero-info-after":d(()=>[l(t.$slots,"home-hero-info-after")]),"home-hero-actions-after":d(()=>[l(t.$slots,"home-hero-actions-after")]),"home-hero-image":d(()=>[l(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):f("",!0)}}),Dn=n=>(B("data-v-a3976bdc"),n=n(),H(),n),Fn={class:"box"},On={key:0,class:"icon"},Un=["innerHTML"],Gn=["innerHTML"],jn=["innerHTML"],zn={key:4,class:"link-text"},qn={class:"link-text-value"},Kn=Dn(()=>v("span",{class:"vpi-arrow-right link-text-icon"},null,-1)),Wn=_({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(n){return(e,t)=>(a(),k(F,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:d(()=>[v("article",Fn,[typeof e.icon=="object"&&e.icon.wrap?(a(),c("div",On,[m(Q,{image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])])):typeof e.icon=="object"?(a(),k(Q,{key:1,image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])):e.icon?(a(),c("div",{key:2,class:"icon",innerHTML:e.icon},null,8,Un)):f("",!0),v("h2",{class:"title",innerHTML:e.title},null,8,Gn),e.details?(a(),c("p",{key:3,class:"details",innerHTML:e.details},null,8,jn)):f("",!0),e.linkText?(a(),c("div",zn,[v("p",qn,[O(w(e.linkText)+" ",1),Kn])])):f("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),Rn=$(Wn,[["__scopeId","data-v-a3976bdc"]]),Jn={key:0,class:"VPFeatures"},Yn={class:"container"},Xn={class:"items"},Qn=_({__name:"VPFeatures",props:{features:{}},setup(n){const e=n,t=y(()=>{const s=e.features.length;if(s){if(s===2)return"grid-2";if(s===3)return"grid-3";if(s%3===0)return"grid-6";if(s>3)return"grid-4"}else return});return(s,o)=>s.features?(a(),c("div",Jn,[v("div",Yn,[v("div",Xn,[(a(!0),c(M,null,E(s.features,i=>(a(),c("div",{key:i.title,class:N(["item",[t.value]])},[m(Rn,{icon:i.icon,title:i.title,details:i.details,link:i.link,"link-text":i.linkText,rel:i.rel,target:i.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):f("",!0)}}),Zn=$(Qn,[["__scopeId","data-v-a6181336"]]),xn=_({__name:"VPHomeFeatures",setup(n){const{frontmatter:e}=P();return(t,s)=>r(e).features?(a(),k(Zn,{key:0,class:"VPHomeFeatures",features:r(e).features},null,8,["features"])):f("",!0)}}),eo=_({__name:"VPHomeContent",setup(n){const{width:e}=Re({initialWidth:0,includeScrollbar:!1});return(t,s)=>(a(),c("div",{class:"vp-doc container",style:Te(r(e)?{"--vp-offset":`calc(50% - ${r(e)/2}px)`}:{})},[l(t.$slots,"default",{},void 0,!0)],4))}}),to=$(eo,[["__scopeId","data-v-8e2d4988"]]),no={class:"VPHome"},oo=_({__name:"VPHome",setup(n){const{frontmatter:e}=P();return(t,s)=>{const o=R("Content");return a(),c("div",no,[l(t.$slots,"home-hero-before",{},void 0,!0),m(En,null,{"home-hero-info-before":d(()=>[l(t.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":d(()=>[l(t.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":d(()=>[l(t.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":d(()=>[l(t.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":d(()=>[l(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),l(t.$slots,"home-hero-after",{},void 0,!0),l(t.$slots,"home-features-before",{},void 0,!0),m(xn),l(t.$slots,"home-features-after",{},void 0,!0),r(e).markdownStyles!==!1?(a(),k(to,{key:0},{default:d(()=>[m(o)]),_:1})):(a(),k(o,{key:1}))])}}}),so=$(oo,[["__scopeId","data-v-686f80a6"]]),ao={},ro={class:"VPPage"};function io(n,e){const t=R("Content");return a(),c("div",ro,[l(n.$slots,"page-top"),m(t),l(n.$slots,"page-bottom")])}const lo=$(ao,[["render",io]]),co=_({__name:"VPContent",setup(n){const{page:e,frontmatter:t}=P(),{hasSidebar:s}=G();return(o,i)=>(a(),c("div",{class:N(["VPContent",{"has-sidebar":r(s),"is-home":r(t).layout==="home"}]),id:"VPContent"},[r(e).isNotFound?l(o.$slots,"not-found",{key:0},()=>[m(mt)],!0):r(t).layout==="page"?(a(),k(lo,{key:1},{"page-top":d(()=>[l(o.$slots,"page-top",{},void 0,!0)]),"page-bottom":d(()=>[l(o.$slots,"page-bottom",{},void 0,!0)]),_:3})):r(t).layout==="home"?(a(),k(so,{key:2},{"home-hero-before":d(()=>[l(o.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":d(()=>[l(o.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":d(()=>[l(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":d(()=>[l(o.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":d(()=>[l(o.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":d(()=>[l(o.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":d(()=>[l(o.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":d(()=>[l(o.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":d(()=>[l(o.$slots,"home-features-after",{},void 0,!0)]),_:3})):r(t).layout&&r(t).layout!=="doc"?(a(),k(D(r(t).layout),{key:3})):(a(),k(kn,{key:4},{"doc-top":d(()=>[l(o.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":d(()=>[l(o.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":d(()=>[l(o.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":d(()=>[l(o.$slots,"doc-before",{},void 0,!0)]),"doc-after":d(()=>[l(o.$slots,"doc-after",{},void 0,!0)]),"aside-top":d(()=>[l(o.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":d(()=>[l(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":d(()=>[l(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":d(()=>[l(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":d(()=>[l(o.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":d(()=>[l(o.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),uo=$(co,[["__scopeId","data-v-1428d186"]]),vo={class:"container"},po=["innerHTML"],ho=["innerHTML"],fo=_({__name:"VPFooter",setup(n){const{theme:e,frontmatter:t}=P(),{hasSidebar:s}=G();return(o,i)=>r(e).footer&&r(t).footer!==!1?(a(),c("footer",{key:0,class:N(["VPFooter",{"has-sidebar":r(s)}])},[v("div",vo,[r(e).footer.message?(a(),c("p",{key:0,class:"message",innerHTML:r(e).footer.message},null,8,po)):f("",!0),r(e).footer.copyright?(a(),c("p",{key:1,class:"copyright",innerHTML:r(e).footer.copyright},null,8,ho)):f("",!0)])],2)):f("",!0)}}),_o=$(fo,[["__scopeId","data-v-e315a0ad"]]);function mo(){const{theme:n,frontmatter:e}=P(),t=Le([]),s=y(()=>t.value.length>0);return x(()=>{t.value=ke(e.value.outline??n.value.outline)}),{headers:t,hasLocalNav:s}}const ko=n=>(B("data-v-17a5e62e"),n=n(),H(),n),bo={class:"menu-text"},$o=ko(()=>v("span",{class:"vpi-chevron-right icon"},null,-1)),go={class:"header"},yo={class:"outline"},Po=_({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(n){const e=n,{theme:t}=P(),s=I(!1),o=I(0),i=I(),u=I();function h(b){var V;(V=i.value)!=null&&V.contains(b.target)||(s.value=!1)}U(s,b=>{if(b){document.addEventListener("click",h);return}document.removeEventListener("click",h)}),le("Escape",()=>{s.value=!1}),x(()=>{s.value=!1});function p(){s.value=!s.value,o.value=window.innerHeight+Math.min(window.scrollY-e.navHeight,0)}function g(b){b.target.classList.contains("outline-link")&&(u.value&&(u.value.style.transition="none"),we(()=>{s.value=!1}))}function L(){s.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(b,V)=>(a(),c("div",{class:"VPLocalNavOutlineDropdown",style:Te({"--vp-vh":o.value+"px"}),ref_key:"main",ref:i},[b.headers.length>0?(a(),c("button",{key:0,onClick:p,class:N({open:s.value})},[v("span",bo,w(r(Ae)(r(t))),1),$o],2)):(a(),c("button",{key:1,onClick:L},w(r(t).returnToTopLabel||"Return to top"),1)),m(ve,{name:"flyout"},{default:d(()=>[s.value?(a(),c("div",{key:0,ref_key:"items",ref:u,class:"items",onClick:g},[v("div",go,[v("a",{class:"top-link",href:"#",onClick:L},w(r(t).returnToTopLabel||"Return to top"),1)]),v("div",yo,[m(Ce,{headers:b.headers},null,8,["headers"])])],512)):f("",!0)]),_:1})],4))}}),Vo=$(Po,[["__scopeId","data-v-17a5e62e"]]),Lo=n=>(B("data-v-a6f0e41e"),n=n(),H(),n),So={class:"container"},To=["aria-expanded"],wo=Lo(()=>v("span",{class:"vpi-align-left menu-icon"},null,-1)),Io={class:"menu-text"},No=_({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(n){const{theme:e,frontmatter:t}=P(),{hasSidebar:s}=G(),{headers:o}=mo(),{y:i}=Ie(),u=I(0);W(()=>{u.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),x(()=>{o.value=ke(t.value.outline??e.value.outline)});const h=y(()=>o.value.length===0),p=y(()=>h.value&&!s.value),g=y(()=>({VPLocalNav:!0,"has-sidebar":s.value,empty:h.value,fixed:p.value}));return(L,b)=>r(t).layout!=="home"&&(!p.value||r(i)>=u.value)?(a(),c("div",{key:0,class:N(g.value)},[v("div",So,[r(s)?(a(),c("button",{key:0,class:"menu","aria-expanded":L.open,"aria-controls":"VPSidebarNav",onClick:b[0]||(b[0]=V=>L.$emit("open-menu"))},[wo,v("span",Io,w(r(e).sidebarMenuLabel||"Menu"),1)],8,To)):f("",!0),m(Vo,{headers:r(o),navHeight:u.value},null,8,["headers","navHeight"])])],2)):f("",!0)}}),Mo=$(No,[["__scopeId","data-v-a6f0e41e"]]);function Ao(){const n=I(!1);function e(){n.value=!0,window.addEventListener("resize",o)}function t(){n.value=!1,window.removeEventListener("resize",o)}function s(){n.value?t():e()}function o(){window.outerWidth>=768&&t()}const i=ee();return U(()=>i.path,t),{isScreenOpen:n,openScreen:e,closeScreen:t,toggleScreen:s}}const Co={},Bo={class:"VPSwitch",type:"button",role:"switch"},Ho={class:"check"},Eo={key:0,class:"icon"};function Do(n,e){return a(),c("button",Bo,[v("span",Ho,[n.$slots.default?(a(),c("span",Eo,[l(n.$slots,"default",{},void 0,!0)])):f("",!0)])])}const Fo=$(Co,[["render",Do],["__scopeId","data-v-1d5665e3"]]),He=n=>(B("data-v-5337faa4"),n=n(),H(),n),Oo=He(()=>v("span",{class:"vpi-sun sun"},null,-1)),Uo=He(()=>v("span",{class:"vpi-moon moon"},null,-1)),Go=_({__name:"VPSwitchAppearance",setup(n){const{isDark:e,theme:t}=P(),s=te("toggle-appearance",()=>{e.value=!e.value}),o=I("");return fe(()=>{o.value=e.value?t.value.lightModeSwitchTitle||"Switch to light theme":t.value.darkModeSwitchTitle||"Switch to dark theme"}),(i,u)=>(a(),k(Fo,{title:o.value,class:"VPSwitchAppearance","aria-checked":r(e),onClick:r(s)},{default:d(()=>[Oo,Uo]),_:1},8,["title","aria-checked","onClick"]))}}),be=$(Go,[["__scopeId","data-v-5337faa4"]]),jo={key:0,class:"VPNavBarAppearance"},zo=_({__name:"VPNavBarAppearance",setup(n){const{site:e}=P();return(t,s)=>r(e).appearance&&r(e).appearance!=="force-dark"&&r(e).appearance!=="force-auto"?(a(),c("div",jo,[m(be)])):f("",!0)}}),qo=$(zo,[["__scopeId","data-v-6c893767"]]),$e=I();let Ee=!1,re=0;function Ko(n){const e=I(!1);if(ne){!Ee&&Wo(),re++;const t=U($e,s=>{var o,i,u;s===n.el.value||(o=n.el.value)!=null&&o.contains(s)?(e.value=!0,(i=n.onFocus)==null||i.call(n)):(e.value=!1,(u=n.onBlur)==null||u.call(n))});he(()=>{t(),re--,re||Ro()})}return Je(e)}function Wo(){document.addEventListener("focusin",De),Ee=!0,$e.value=document.activeElement}function Ro(){document.removeEventListener("focusin",De)}function De(){$e.value=document.activeElement}const Jo={class:"VPMenuLink"},Yo=_({__name:"VPMenuLink",props:{item:{}},setup(n){const{page:e}=P();return(t,s)=>(a(),c("div",Jo,[m(F,{class:N({active:r(K)(r(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel},{default:d(()=>[O(w(t.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),oe=$(Yo,[["__scopeId","data-v-43f1e123"]]),Xo={class:"VPMenuGroup"},Qo={key:0,class:"title"},Zo=_({__name:"VPMenuGroup",props:{text:{},items:{}},setup(n){return(e,t)=>(a(),c("div",Xo,[e.text?(a(),c("p",Qo,w(e.text),1)):f("",!0),(a(!0),c(M,null,E(e.items,s=>(a(),c(M,null,["link"in s?(a(),k(oe,{key:0,item:s},null,8,["item"])):f("",!0)],64))),256))]))}}),xo=$(Zo,[["__scopeId","data-v-69e747b5"]]),es={class:"VPMenu"},ts={key:0,class:"items"},ns=_({__name:"VPMenu",props:{items:{}},setup(n){return(e,t)=>(a(),c("div",es,[e.items?(a(),c("div",ts,[(a(!0),c(M,null,E(e.items,s=>(a(),c(M,{key:JSON.stringify(s)},["link"in s?(a(),k(oe,{key:0,item:s},null,8,["item"])):"component"in s?(a(),k(D(s.component),q({key:1,ref_for:!0},s.props),null,16)):(a(),k(xo,{key:2,text:s.text,items:s.items},null,8,["text","items"]))],64))),128))])):f("",!0),l(e.$slots,"default",{},void 0,!0)]))}}),os=$(ns,[["__scopeId","data-v-b98bc113"]]),ss=n=>(B("data-v-b6c34ac9"),n=n(),H(),n),as=["aria-expanded","aria-label"],rs={key:0,class:"text"},is=["innerHTML"],ls=ss(()=>v("span",{class:"vpi-chevron-down text-icon"},null,-1)),cs={key:1,class:"vpi-more-horizontal icon"},us={class:"menu"},ds=_({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(n){const e=I(!1),t=I();Ko({el:t,onBlur:s});function s(){e.value=!1}return(o,i)=>(a(),c("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:i[1]||(i[1]=u=>e.value=!0),onMouseleave:i[2]||(i[2]=u=>e.value=!1)},[v("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":o.label,onClick:i[0]||(i[0]=u=>e.value=!e.value)},[o.button||o.icon?(a(),c("span",rs,[o.icon?(a(),c("span",{key:0,class:N([o.icon,"option-icon"])},null,2)):f("",!0),o.button?(a(),c("span",{key:1,innerHTML:o.button},null,8,is)):f("",!0),ls])):(a(),c("span",cs))],8,as),v("div",us,[m(os,{items:o.items},{default:d(()=>[l(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),ge=$(ds,[["__scopeId","data-v-b6c34ac9"]]),vs=["href","aria-label","innerHTML"],ps=_({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(n){const e=n,t=y(()=>typeof e.icon=="object"?e.icon.svg:``);return(s,o)=>(a(),c("a",{class:"VPSocialLink no-icon",href:s.link,"aria-label":s.ariaLabel??(typeof s.icon=="string"?s.icon:""),target:"_blank",rel:"noopener",innerHTML:t.value},null,8,vs))}}),hs=$(ps,[["__scopeId","data-v-eee4e7cb"]]),fs={class:"VPSocialLinks"},_s=_({__name:"VPSocialLinks",props:{links:{}},setup(n){return(e,t)=>(a(),c("div",fs,[(a(!0),c(M,null,E(e.links,({link:s,icon:o,ariaLabel:i})=>(a(),k(hs,{key:s,icon:o,link:s,ariaLabel:i},null,8,["icon","link","ariaLabel"]))),128))]))}}),ye=$(_s,[["__scopeId","data-v-7bc22406"]]),ms={key:0,class:"group translations"},ks={class:"trans-title"},bs={key:1,class:"group"},$s={class:"item appearance"},gs={class:"label"},ys={class:"appearance-action"},Ps={key:2,class:"group"},Vs={class:"item social-links"},Ls=_({__name:"VPNavBarExtra",setup(n){const{site:e,theme:t}=P(),{localeLinks:s,currentLang:o}=Y({correspondingLink:!0}),i=y(()=>s.value.length&&o.value.label||e.value.appearance||t.value.socialLinks);return(u,h)=>i.value?(a(),k(ge,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:d(()=>[r(s).length&&r(o).label?(a(),c("div",ms,[v("p",ks,w(r(o).label),1),(a(!0),c(M,null,E(r(s),p=>(a(),k(oe,{key:p.link,item:p},null,8,["item"]))),128))])):f("",!0),r(e).appearance&&r(e).appearance!=="force-dark"&&r(e).appearance!=="force-auto"?(a(),c("div",bs,[v("div",$s,[v("p",gs,w(r(t).darkModeSwitchLabel||"Appearance"),1),v("div",ys,[m(be)])])])):f("",!0),r(t).socialLinks?(a(),c("div",Ps,[v("div",Vs,[m(ye,{class:"social-links-list",links:r(t).socialLinks},null,8,["links"])])])):f("",!0)]),_:1})):f("",!0)}}),Ss=$(Ls,[["__scopeId","data-v-bb2aa2f0"]]),Ts=n=>(B("data-v-e5dd9c1c"),n=n(),H(),n),ws=["aria-expanded"],Is=Ts(()=>v("span",{class:"container"},[v("span",{class:"top"}),v("span",{class:"middle"}),v("span",{class:"bottom"})],-1)),Ns=[Is],Ms=_({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(n){return(e,t)=>(a(),c("button",{type:"button",class:N(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=s=>e.$emit("click"))},Ns,10,ws))}}),As=$(Ms,[["__scopeId","data-v-e5dd9c1c"]]),Cs=["innerHTML"],Bs=_({__name:"VPNavBarMenuLink",props:{item:{}},setup(n){const{page:e}=P();return(t,s)=>(a(),k(F,{class:N({VPNavBarMenuLink:!0,active:r(K)(r(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,noIcon:t.item.noIcon,target:t.item.target,rel:t.item.rel,tabindex:"0"},{default:d(()=>[v("span",{innerHTML:t.item.text},null,8,Cs)]),_:1},8,["class","href","noIcon","target","rel"]))}}),Hs=$(Bs,[["__scopeId","data-v-9c663999"]]),Es=_({__name:"VPNavBarMenuGroup",props:{item:{}},setup(n){const e=n,{page:t}=P(),s=i=>"component"in i?!1:"link"in i?K(t.value.relativePath,i.link,!!e.item.activeMatch):i.items.some(s),o=y(()=>s(e.item));return(i,u)=>(a(),k(ge,{class:N({VPNavBarMenuGroup:!0,active:r(K)(r(t).relativePath,i.item.activeMatch,!!i.item.activeMatch)||o.value}),button:i.item.text,items:i.item.items},null,8,["class","button","items"]))}}),Ds=n=>(B("data-v-dc692963"),n=n(),H(),n),Fs={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Os=Ds(()=>v("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),Us=_({__name:"VPNavBarMenu",setup(n){const{theme:e}=P();return(t,s)=>r(e).nav?(a(),c("nav",Fs,[Os,(a(!0),c(M,null,E(r(e).nav,o=>(a(),c(M,{key:JSON.stringify(o)},["link"in o?(a(),k(Hs,{key:0,item:o},null,8,["item"])):"component"in o?(a(),k(D(o.component),q({key:1,ref_for:!0},o.props),null,16)):(a(),k(Es,{key:2,item:o},null,8,["item"]))],64))),128))])):f("",!0)}}),Gs=$(Us,[["__scopeId","data-v-dc692963"]]);function js(n){const{localeIndex:e,theme:t}=P();function s(o){var A,C,S;const i=o.split("."),u=(A=t.value.search)==null?void 0:A.options,h=u&&typeof u=="object",p=h&&((S=(C=u.locales)==null?void 0:C[e.value])==null?void 0:S.translations)||null,g=h&&u.translations||null;let L=p,b=g,V=n;const T=i.pop();for(const j of i){let z=null;const J=V==null?void 0:V[j];J&&(z=V=J);const se=b==null?void 0:b[j];se&&(z=b=se);const ae=L==null?void 0:L[j];ae&&(z=L=ae),J||(V=z),se||(b=z),ae||(L=z)}return(L==null?void 0:L[T])??(b==null?void 0:b[T])??(V==null?void 0:V[T])??""}return s}const zs=["aria-label"],qs={class:"DocSearch-Button-Container"},Ks=v("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1),Ws={class:"DocSearch-Button-Placeholder"},Rs=v("span",{class:"DocSearch-Button-Keys"},[v("kbd",{class:"DocSearch-Button-Key"}),v("kbd",{class:"DocSearch-Button-Key"},"K")],-1),Pe=_({__name:"VPNavBarSearchButton",setup(n){const t=js({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(s,o)=>(a(),c("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":r(t)("button.buttonAriaLabel")},[v("span",qs,[Ks,v("span",Ws,w(r(t)("button.buttonText")),1)]),Rs],8,zs))}}),Js={class:"VPNavBarSearch"},Ys={id:"local-search"},Xs={key:1,id:"docsearch"},Qs=_({__name:"VPNavBarSearch",setup(n){const e=Ye(()=>Xe(()=>import("./VPLocalSearchBox.B0iG0UrU.js"),__vite__mapDeps([0,1]))),t=()=>null,{theme:s}=P(),o=I(!1),i=I(!1);W(()=>{});function u(){o.value||(o.value=!0,setTimeout(h,16))}function h(){const b=new Event("keydown");b.key="k",b.metaKey=!0,window.dispatchEvent(b),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||h()},16)}function p(b){const V=b.target,T=V.tagName;return V.isContentEditable||T==="INPUT"||T==="SELECT"||T==="TEXTAREA"}const g=I(!1);le("k",b=>{(b.ctrlKey||b.metaKey)&&(b.preventDefault(),g.value=!0)}),le("/",b=>{p(b)||(b.preventDefault(),g.value=!0)});const L="local";return(b,V)=>{var T;return a(),c("div",Js,[r(L)==="local"?(a(),c(M,{key:0},[g.value?(a(),k(r(e),{key:0,onClose:V[0]||(V[0]=A=>g.value=!1)})):f("",!0),v("div",Ys,[m(Pe,{onClick:V[1]||(V[1]=A=>g.value=!0)})])],64)):r(L)==="algolia"?(a(),c(M,{key:1},[o.value?(a(),k(r(t),{key:0,algolia:((T=r(s).search)==null?void 0:T.options)??r(s).algolia,onVnodeBeforeMount:V[2]||(V[2]=A=>i.value=!0)},null,8,["algolia"])):f("",!0),i.value?f("",!0):(a(),c("div",Xs,[m(Pe,{onClick:u})]))],64)):f("",!0)])}}}),Zs=_({__name:"VPNavBarSocialLinks",setup(n){const{theme:e}=P();return(t,s)=>r(e).socialLinks?(a(),k(ye,{key:0,class:"VPNavBarSocialLinks",links:r(e).socialLinks},null,8,["links"])):f("",!0)}}),xs=$(Zs,[["__scopeId","data-v-0394ad82"]]),ea=["href","rel","target"],ta={key:1},na={key:2},oa=_({__name:"VPNavBarTitle",setup(n){const{site:e,theme:t}=P(),{hasSidebar:s}=G(),{currentLang:o}=Y(),i=y(()=>{var p;return typeof t.value.logoLink=="string"?t.value.logoLink:(p=t.value.logoLink)==null?void 0:p.link}),u=y(()=>{var p;return typeof t.value.logoLink=="string"||(p=t.value.logoLink)==null?void 0:p.rel}),h=y(()=>{var p;return typeof t.value.logoLink=="string"||(p=t.value.logoLink)==null?void 0:p.target});return(p,g)=>(a(),c("div",{class:N(["VPNavBarTitle",{"has-sidebar":r(s)}])},[v("a",{class:"title",href:i.value??r(me)(r(o).link),rel:u.value,target:h.value},[l(p.$slots,"nav-bar-title-before",{},void 0,!0),r(t).logo?(a(),k(Q,{key:0,class:"logo",image:r(t).logo},null,8,["image"])):f("",!0),r(t).siteTitle?(a(),c("span",ta,w(r(t).siteTitle),1)):r(t).siteTitle===void 0?(a(),c("span",na,w(r(e).title),1)):f("",!0),l(p.$slots,"nav-bar-title-after",{},void 0,!0)],8,ea)],2))}}),sa=$(oa,[["__scopeId","data-v-ab179fa1"]]),aa={class:"items"},ra={class:"title"},ia=_({__name:"VPNavBarTranslations",setup(n){const{theme:e}=P(),{localeLinks:t,currentLang:s}=Y({correspondingLink:!0});return(o,i)=>r(t).length&&r(s).label?(a(),k(ge,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:r(e).langMenuLabel||"Change language"},{default:d(()=>[v("div",aa,[v("p",ra,w(r(s).label),1),(a(!0),c(M,null,E(r(t),u=>(a(),k(oe,{key:u.link,item:u},null,8,["item"]))),128))])]),_:1},8,["label"])):f("",!0)}}),la=$(ia,[["__scopeId","data-v-88af2de4"]]),ca=n=>(B("data-v-6aa21345"),n=n(),H(),n),ua={class:"wrapper"},da={class:"container"},va={class:"title"},pa={class:"content"},ha={class:"content-body"},fa=ca(()=>v("div",{class:"divider"},[v("div",{class:"divider-line"})],-1)),_a=_({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(n){const e=n,{y:t}=Ie(),{hasSidebar:s}=G(),{frontmatter:o}=P(),i=I({});return fe(()=>{i.value={"has-sidebar":s.value,home:o.value.layout==="home",top:t.value===0,"screen-open":e.isScreenOpen}}),(u,h)=>(a(),c("div",{class:N(["VPNavBar",i.value])},[v("div",ua,[v("div",da,[v("div",va,[m(sa,null,{"nav-bar-title-before":d(()=>[l(u.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":d(()=>[l(u.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),v("div",pa,[v("div",ha,[l(u.$slots,"nav-bar-content-before",{},void 0,!0),m(Qs,{class:"search"}),m(Gs,{class:"menu"}),m(la,{class:"translations"}),m(qo,{class:"appearance"}),m(xs,{class:"social-links"}),m(Ss,{class:"extra"}),l(u.$slots,"nav-bar-content-after",{},void 0,!0),m(As,{class:"hamburger",active:u.isScreenOpen,onClick:h[0]||(h[0]=p=>u.$emit("toggle-screen"))},null,8,["active"])])])])]),fa],2))}}),ma=$(_a,[["__scopeId","data-v-6aa21345"]]),ka={key:0,class:"VPNavScreenAppearance"},ba={class:"text"},$a=_({__name:"VPNavScreenAppearance",setup(n){const{site:e,theme:t}=P();return(s,o)=>r(e).appearance&&r(e).appearance!=="force-dark"&&r(e).appearance!=="force-auto"?(a(),c("div",ka,[v("p",ba,w(r(t).darkModeSwitchLabel||"Appearance"),1),m(be)])):f("",!0)}}),ga=$($a,[["__scopeId","data-v-b44890b2"]]),ya=_({__name:"VPNavScreenMenuLink",props:{item:{}},setup(n){const e=te("close-screen");return(t,s)=>(a(),k(F,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:r(e),innerHTML:t.item.text},null,8,["href","target","rel","onClick","innerHTML"]))}}),Pa=$(ya,[["__scopeId","data-v-7f31e1f6"]]),Va=_({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(n){const e=te("close-screen");return(t,s)=>(a(),k(F,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:r(e)},{default:d(()=>[O(w(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),Fe=$(Va,[["__scopeId","data-v-19976ae1"]]),La={class:"VPNavScreenMenuGroupSection"},Sa={key:0,class:"title"},Ta=_({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(n){return(e,t)=>(a(),c("div",La,[e.text?(a(),c("p",Sa,w(e.text),1)):f("",!0),(a(!0),c(M,null,E(e.items,s=>(a(),k(Fe,{key:s.text,item:s},null,8,["item"]))),128))]))}}),wa=$(Ta,[["__scopeId","data-v-8133b170"]]),Ia=n=>(B("data-v-b9ab8c58"),n=n(),H(),n),Na=["aria-controls","aria-expanded"],Ma=["innerHTML"],Aa=Ia(()=>v("span",{class:"vpi-plus button-icon"},null,-1)),Ca=["id"],Ba={key:0,class:"item"},Ha={key:1,class:"item"},Ea={key:2,class:"group"},Da=_({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(n){const e=n,t=I(!1),s=y(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function o(){t.value=!t.value}return(i,u)=>(a(),c("div",{class:N(["VPNavScreenMenuGroup",{open:t.value}])},[v("button",{class:"button","aria-controls":s.value,"aria-expanded":t.value,onClick:o},[v("span",{class:"button-text",innerHTML:i.text},null,8,Ma),Aa],8,Na),v("div",{id:s.value,class:"items"},[(a(!0),c(M,null,E(i.items,h=>(a(),c(M,{key:JSON.stringify(h)},["link"in h?(a(),c("div",Ba,[m(Fe,{item:h},null,8,["item"])])):"component"in h?(a(),c("div",Ha,[(a(),k(D(h.component),q({ref_for:!0},h.props,{"screen-menu":""}),null,16))])):(a(),c("div",Ea,[m(wa,{text:h.text,items:h.items},null,8,["text","items"])]))],64))),128))],8,Ca)],2))}}),Fa=$(Da,[["__scopeId","data-v-b9ab8c58"]]),Oa={key:0,class:"VPNavScreenMenu"},Ua=_({__name:"VPNavScreenMenu",setup(n){const{theme:e}=P();return(t,s)=>r(e).nav?(a(),c("nav",Oa,[(a(!0),c(M,null,E(r(e).nav,o=>(a(),c(M,{key:JSON.stringify(o)},["link"in o?(a(),k(Pa,{key:0,item:o},null,8,["item"])):"component"in o?(a(),k(D(o.component),q({key:1,ref_for:!0},o.props,{"screen-menu":""}),null,16)):(a(),k(Fa,{key:2,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):f("",!0)}}),Ga=_({__name:"VPNavScreenSocialLinks",setup(n){const{theme:e}=P();return(t,s)=>r(e).socialLinks?(a(),k(ye,{key:0,class:"VPNavScreenSocialLinks",links:r(e).socialLinks},null,8,["links"])):f("",!0)}}),Oe=n=>(B("data-v-858fe1a4"),n=n(),H(),n),ja=Oe(()=>v("span",{class:"vpi-languages icon lang"},null,-1)),za=Oe(()=>v("span",{class:"vpi-chevron-down icon chevron"},null,-1)),qa={class:"list"},Ka=_({__name:"VPNavScreenTranslations",setup(n){const{localeLinks:e,currentLang:t}=Y({correspondingLink:!0}),s=I(!1);function o(){s.value=!s.value}return(i,u)=>r(e).length&&r(t).label?(a(),c("div",{key:0,class:N(["VPNavScreenTranslations",{open:s.value}])},[v("button",{class:"title",onClick:o},[ja,O(" "+w(r(t).label)+" ",1),za]),v("ul",qa,[(a(!0),c(M,null,E(r(e),h=>(a(),c("li",{key:h.link,class:"item"},[m(F,{class:"link",href:h.link},{default:d(()=>[O(w(h.text),1)]),_:2},1032,["href"])]))),128))])],2)):f("",!0)}}),Wa=$(Ka,[["__scopeId","data-v-858fe1a4"]]),Ra={class:"container"},Ja=_({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(n){const e=I(null),t=Ne(ne?document.body:null);return(s,o)=>(a(),k(ve,{name:"fade",onEnter:o[0]||(o[0]=i=>t.value=!0),onAfterLeave:o[1]||(o[1]=i=>t.value=!1)},{default:d(()=>[s.open?(a(),c("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e,id:"VPNavScreen"},[v("div",Ra,[l(s.$slots,"nav-screen-content-before",{},void 0,!0),m(Ua,{class:"menu"}),m(Wa,{class:"translations"}),m(ga,{class:"appearance"}),m(Ga,{class:"social-links"}),l(s.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):f("",!0)]),_:3}))}}),Ya=$(Ja,[["__scopeId","data-v-f2779853"]]),Xa={key:0,class:"VPNav"},Qa=_({__name:"VPNav",setup(n){const{isScreenOpen:e,closeScreen:t,toggleScreen:s}=Ao(),{frontmatter:o}=P(),i=y(()=>o.value.navbar!==!1);return _e("close-screen",t),Z(()=>{ne&&document.documentElement.classList.toggle("hide-nav",!i.value)}),(u,h)=>i.value?(a(),c("header",Xa,[m(ma,{"is-screen-open":r(e),onToggleScreen:r(s)},{"nav-bar-title-before":d(()=>[l(u.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":d(()=>[l(u.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":d(()=>[l(u.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":d(()=>[l(u.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),m(Ya,{open:r(e)},{"nav-screen-content-before":d(()=>[l(u.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":d(()=>[l(u.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):f("",!0)}}),Za=$(Qa,[["__scopeId","data-v-ae24b3ad"]]),Ue=n=>(B("data-v-b7550ba0"),n=n(),H(),n),xa=["role","tabindex"],er=Ue(()=>v("div",{class:"indicator"},null,-1)),tr=Ue(()=>v("span",{class:"vpi-chevron-right caret-icon"},null,-1)),nr=[tr],or={key:1,class:"items"},sr=_({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(n){const e=n,{collapsed:t,collapsible:s,isLink:o,isActiveLink:i,hasActiveLink:u,hasChildren:h,toggle:p}=gt(y(()=>e.item)),g=y(()=>h.value?"section":"div"),L=y(()=>o.value?"a":"div"),b=y(()=>h.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),V=y(()=>o.value?void 0:"button"),T=y(()=>[[`level-${e.depth}`],{collapsible:s.value},{collapsed:t.value},{"is-link":o.value},{"is-active":i.value},{"has-active":u.value}]);function A(S){"key"in S&&S.key!=="Enter"||!e.item.link&&p()}function C(){e.item.link&&p()}return(S,j)=>{const z=R("VPSidebarItem",!0);return a(),k(D(g.value),{class:N(["VPSidebarItem",T.value])},{default:d(()=>[S.item.text?(a(),c("div",q({key:0,class:"item",role:V.value},Ze(S.item.items?{click:A,keydown:A}:{},!0),{tabindex:S.item.items&&0}),[er,S.item.link?(a(),k(F,{key:0,tag:L.value,class:"link",href:S.item.link,rel:S.item.rel,target:S.item.target},{default:d(()=>[(a(),k(D(b.value),{class:"text",innerHTML:S.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(a(),k(D(b.value),{key:1,class:"text",innerHTML:S.item.text},null,8,["innerHTML"])),S.item.collapsed!=null&&S.item.items&&S.item.items.length?(a(),c("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:C,onKeydown:Qe(C,["enter"]),tabindex:"0"},nr,32)):f("",!0)],16,xa)):f("",!0),S.item.items&&S.item.items.length?(a(),c("div",or,[S.depth<5?(a(!0),c(M,{key:0},E(S.item.items,J=>(a(),k(z,{key:J.text,item:J,depth:S.depth+1},null,8,["item","depth"]))),128)):f("",!0)])):f("",!0)]),_:1},8,["class"])}}}),ar=$(sr,[["__scopeId","data-v-b7550ba0"]]),rr=_({__name:"VPSidebarGroup",props:{items:{}},setup(n){const e=I(!0);let t=null;return W(()=>{t=setTimeout(()=>{t=null,e.value=!1},300)}),xe(()=>{t!=null&&(clearTimeout(t),t=null)}),(s,o)=>(a(!0),c(M,null,E(s.items,i=>(a(),c("div",{key:i.text,class:N(["group",{"no-transition":e.value}])},[m(ar,{item:i,depth:0},null,8,["item"])],2))),128))}}),ir=$(rr,[["__scopeId","data-v-c40bc020"]]),Ge=n=>(B("data-v-319d5ca6"),n=n(),H(),n),lr=Ge(()=>v("div",{class:"curtain"},null,-1)),cr={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},ur=Ge(()=>v("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),dr=_({__name:"VPSidebar",props:{open:{type:Boolean}},setup(n){const{sidebarGroups:e,hasSidebar:t}=G(),s=n,o=I(null),i=Ne(ne?document.body:null);U([s,o],()=>{var h;s.open?(i.value=!0,(h=o.value)==null||h.focus()):i.value=!1},{immediate:!0,flush:"post"});const u=I(0);return U(e,()=>{u.value+=1},{deep:!0}),(h,p)=>r(t)?(a(),c("aside",{key:0,class:N(["VPSidebar",{open:h.open}]),ref_key:"navEl",ref:o,onClick:p[0]||(p[0]=et(()=>{},["stop"]))},[lr,v("nav",cr,[ur,l(h.$slots,"sidebar-nav-before",{},void 0,!0),(a(),k(ir,{items:r(e),key:u.value},null,8,["items"])),l(h.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):f("",!0)}}),vr=$(dr,[["__scopeId","data-v-319d5ca6"]]),pr=_({__name:"VPSkipLink",setup(n){const e=ee(),t=I();U(()=>e.path,()=>t.value.focus());function s({target:o}){const i=document.getElementById(decodeURIComponent(o.hash).slice(1));if(i){const u=()=>{i.removeAttribute("tabindex"),i.removeEventListener("blur",u)};i.setAttribute("tabindex","-1"),i.addEventListener("blur",u),i.focus(),window.scrollTo(0,0)}}return(o,i)=>(a(),c(M,null,[v("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),v("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:s}," Skip to content ")],64))}}),hr=$(pr,[["__scopeId","data-v-0f60ec36"]]),fr=_({__name:"Layout",setup(n){const{isOpen:e,open:t,close:s}=G(),o=ee();U(()=>o.path,s),$t(e,s);const{frontmatter:i}=P(),u=tt(),h=y(()=>!!u["home-hero-image"]);return _e("hero-image-slot-exists",h),(p,g)=>{const L=R("Content");return r(i).layout!==!1?(a(),c("div",{key:0,class:N(["Layout",r(i).pageClass])},[l(p.$slots,"layout-top",{},void 0,!0),m(hr),m(at,{class:"backdrop",show:r(e),onClick:r(s)},null,8,["show","onClick"]),m(Za,null,{"nav-bar-title-before":d(()=>[l(p.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":d(()=>[l(p.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":d(()=>[l(p.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":d(()=>[l(p.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":d(()=>[l(p.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":d(()=>[l(p.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),m(Mo,{open:r(e),onOpenMenu:r(t)},null,8,["open","onOpenMenu"]),m(vr,{open:r(e)},{"sidebar-nav-before":d(()=>[l(p.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":d(()=>[l(p.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),m(uo,null,{"page-top":d(()=>[l(p.$slots,"page-top",{},void 0,!0)]),"page-bottom":d(()=>[l(p.$slots,"page-bottom",{},void 0,!0)]),"not-found":d(()=>[l(p.$slots,"not-found",{},void 0,!0)]),"home-hero-before":d(()=>[l(p.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":d(()=>[l(p.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":d(()=>[l(p.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":d(()=>[l(p.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":d(()=>[l(p.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":d(()=>[l(p.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":d(()=>[l(p.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":d(()=>[l(p.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":d(()=>[l(p.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":d(()=>[l(p.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":d(()=>[l(p.$slots,"doc-before",{},void 0,!0)]),"doc-after":d(()=>[l(p.$slots,"doc-after",{},void 0,!0)]),"doc-top":d(()=>[l(p.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":d(()=>[l(p.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":d(()=>[l(p.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":d(()=>[l(p.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":d(()=>[l(p.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":d(()=>[l(p.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":d(()=>[l(p.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":d(()=>[l(p.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),m(_o),l(p.$slots,"layout-bottom",{},void 0,!0)],2)):(a(),k(L,{key:1}))}}}),_r=$(fr,[["__scopeId","data-v-5d98c3a5"]]),je={Layout:_r,enhanceApp:({app:n})=>{n.component("Badge",nt)}},mr=_({__name:"layout",setup(n){const{isDark:e}=Ve(),t=()=>"startViewTransition"in document&&window.matchMedia("(prefers-reduced-motion: no-preference)").matches;return _e("toggle-appearance",async({clientX:s,clientY:o})=>{if(!t()){e.value=!e.value;return}const i=[`circle(0px at ${s}px ${o}px)`,`circle(${Math.hypot(Math.max(s,innerWidth-s),Math.max(o,innerHeight-o))}px at ${s}px ${o}px)`];await document.startViewTransition(async()=>{e.value=!e.value,await we()}).ready,document.documentElement.animate({clipPath:e.value?i.reverse():i},{duration:300,easing:"ease-in",pseudoElement:`::view-transition-${e.value?"old":"new"}(root)`})}),(s,o)=>(a(),k(r(je).Layout))}}),br={extends:je,Layout:mr,enhanceApp(){try{const n=["en-US","zh-CN"];let e=navigator.language;n.includes(e)||(e=n[0]),/\/PSCompletions\/?$/.test(location.pathname)&&(location.href+=e)}catch{}}};export{br as R,js as c,P as u}; +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/VPLocalSearchBox.2xWSu_6i.js","assets/chunks/framework.B_akP0Gx.js"])))=>i.map(i=>d[i]); +import{d as _,o as a,c,r as l,n as N,a as O,t as w,b as k,w as d,e as f,T as ve,_ as $,u as Ve,i as ze,f as qe,g as pe,h as y,j as v,k as r,p as B,l as H,m as K,q as ie,s as I,v as U,x as Z,y as W,z as he,A as fe,B as Ke,C as We,D as R,F as M,E,G as Le,H as x,I as m,J as D,K as Se,L as ee,M as q,N as te,O as Re,P as Te,Q as le,R as we,S as Ie,U as ne,V as Je,W as Ye,X as Xe,Y as Ne,Z as _e,$ as Qe,a0 as Ze,a1 as xe,a2 as et,a3 as tt}from"./framework.B_akP0Gx.js";const nt=_({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(n){return(e,t)=>(a(),c("span",{class:N(["VPBadge",e.type])},[l(e.$slots,"default",{},()=>[O(w(e.text),1)])],2))}}),ot={key:0,class:"VPBackdrop"},st=_({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(n){return(e,t)=>(a(),k(ve,{name:"fade"},{default:d(()=>[e.show?(a(),c("div",ot)):f("",!0)]),_:1}))}}),at=$(st,[["__scopeId","data-v-c79a1216"]]),P=Ve;function rt(n,e){let t,s=!1;return()=>{t&&clearTimeout(t),s?t=setTimeout(n,e):(n(),(s=!0)&&setTimeout(()=>s=!1,e))}}function ce(n){return/^\//.test(n)?n:`/${n}`}function me(n){const{pathname:e,search:t,hash:s,protocol:o}=new URL(n,"http://a.com");if(ze(n)||n.startsWith("#")||!o.startsWith("http")||!qe(e))return n;const{site:i}=P(),u=e.endsWith("/")||e.endsWith(".html")?n:n.replace(/(?:(^\.+)\/)?.*$/,`$1${e.replace(/(\.md)?$/,i.value.cleanUrls?"":".html")}${t}${s}`);return pe(u)}function Y({correspondingLink:n=!1}={}){const{site:e,localeIndex:t,page:s,theme:o,hash:i}=P(),u=y(()=>{var p,g;return{label:(p=e.value.locales[t.value])==null?void 0:p.label,link:((g=e.value.locales[t.value])==null?void 0:g.link)||(t.value==="root"?"/":`/${t.value}/`)}});return{localeLinks:y(()=>Object.entries(e.value.locales).flatMap(([p,g])=>u.value.label===g.label?[]:{text:g.label,link:it(g.link||(p==="root"?"/":`/${p}/`),o.value.i18nRouting!==!1&&n,s.value.relativePath.slice(u.value.link.length-1),!e.value.cleanUrls)+i.value})),currentLang:u}}function it(n,e,t,s){return e?n.replace(/\/$/,"")+ce(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,s?".html":"")):n}const lt=n=>(B("data-v-d6be1790"),n=n(),H(),n),ct={class:"NotFound"},ut={class:"code"},dt={class:"title"},vt=lt(()=>v("div",{class:"divider"},null,-1)),pt={class:"quote"},ht={class:"action"},ft=["href","aria-label"],_t=_({__name:"NotFound",setup(n){const{theme:e}=P(),{currentLang:t}=Y();return(s,o)=>{var i,u,h,p,g;return a(),c("div",ct,[v("p",ut,w(((i=r(e).notFound)==null?void 0:i.code)??"404"),1),v("h1",dt,w(((u=r(e).notFound)==null?void 0:u.title)??"PAGE NOT FOUND"),1),vt,v("blockquote",pt,w(((h=r(e).notFound)==null?void 0:h.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),v("div",ht,[v("a",{class:"link",href:r(pe)(r(t).link),"aria-label":((p=r(e).notFound)==null?void 0:p.linkLabel)??"go to home"},w(((g=r(e).notFound)==null?void 0:g.linkText)??"Take me home"),9,ft)])])}}}),mt=$(_t,[["__scopeId","data-v-d6be1790"]]);function Me(n,e){if(Array.isArray(n))return X(n);if(n==null)return[];e=ce(e);const t=Object.keys(n).sort((o,i)=>i.split("/").length-o.split("/").length).find(o=>e.startsWith(ce(o))),s=t?n[t]:[];return Array.isArray(s)?X(s):X(s.items,s.base)}function kt(n){const e=[];let t=0;for(const s in n){const o=n[s];if(o.items){t=e.push(o);continue}e[t]||e.push({items:[]}),e[t].items.push(o)}return e}function bt(n){const e=[];function t(s){for(const o of s)o.text&&o.link&&e.push({text:o.text,link:o.link,docFooterText:o.docFooterText}),o.items&&t(o.items)}return t(n),e}function ue(n,e){return Array.isArray(e)?e.some(t=>ue(n,t)):K(n,e.link)?!0:e.items?ue(n,e.items):!1}function X(n,e){return[...n].map(t=>{const s={...t},o=s.base||e;return o&&s.link&&(s.link=o+s.link),s.items&&(s.items=X(s.items,o)),s})}function G(){const{frontmatter:n,page:e,theme:t}=P(),s=ie("(min-width: 960px)"),o=I(!1),i=y(()=>{const C=t.value.sidebar,S=e.value.relativePath;return C?Me(C,S):[]}),u=I(i.value);U(i,(C,S)=>{JSON.stringify(C)!==JSON.stringify(S)&&(u.value=i.value)});const h=y(()=>n.value.sidebar!==!1&&u.value.length>0&&n.value.layout!=="home"),p=y(()=>g?n.value.aside==null?t.value.aside==="left":n.value.aside==="left":!1),g=y(()=>n.value.layout==="home"?!1:n.value.aside!=null?!!n.value.aside:t.value.aside!==!1),L=y(()=>h.value&&s.value),b=y(()=>h.value?kt(u.value):[]);function V(){o.value=!0}function T(){o.value=!1}function A(){o.value?T():V()}return{isOpen:o,sidebar:u,sidebarGroups:b,hasSidebar:h,hasAside:g,leftAside:p,isSidebarEnabled:L,open:V,close:T,toggle:A}}function $t(n,e){let t;Z(()=>{t=n.value?document.activeElement:void 0}),W(()=>{window.addEventListener("keyup",s)}),he(()=>{window.removeEventListener("keyup",s)});function s(o){o.key==="Escape"&&n.value&&(e(),t==null||t.focus())}}function gt(n){const{page:e,hash:t}=P(),s=I(!1),o=y(()=>n.value.collapsed!=null),i=y(()=>!!n.value.link),u=I(!1),h=()=>{u.value=K(e.value.relativePath,n.value.link)};U([e,n,t],h),W(h);const p=y(()=>u.value?!0:n.value.items?ue(e.value.relativePath,n.value.items):!1),g=y(()=>!!(n.value.items&&n.value.items.length));Z(()=>{s.value=!!(o.value&&n.value.collapsed)}),fe(()=>{(u.value||p.value)&&(s.value=!1)});function L(){o.value&&(s.value=!s.value)}return{collapsed:s,collapsible:o,isLink:i,isActiveLink:u,hasActiveLink:p,hasChildren:g,toggle:L}}function yt(){const{hasSidebar:n}=G(),e=ie("(min-width: 960px)"),t=ie("(min-width: 1280px)");return{isAsideEnabled:y(()=>!t.value&&!e.value?!1:n.value?t.value:e.value)}}const de=[];function Ae(n){return typeof n.outline=="object"&&!Array.isArray(n.outline)&&n.outline.label||n.outlineTitle||"On this page"}function ke(n){const e=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const s=Number(t.tagName[1]);return{element:t,title:Pt(t),link:"#"+t.id,level:s}});return Vt(e,n)}function Pt(n){let e="";for(const t of n.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor")||t.classList.contains("ignore-header"))continue;e+=t.textContent}else t.nodeType===3&&(e+=t.textContent);return e.trim()}function Vt(n,e){if(e===!1)return[];const t=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[s,o]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;n=n.filter(u=>u.level>=s&&u.level<=o),de.length=0;for(const{element:u,link:h}of n)de.push({element:u,link:h});const i=[];e:for(let u=0;u=0;p--){const g=n[p];if(g.level{requestAnimationFrame(i),window.addEventListener("scroll",s)}),Ke(()=>{u(location.hash)}),he(()=>{window.removeEventListener("scroll",s)});function i(){if(!t.value)return;const h=window.scrollY,p=window.innerHeight,g=document.body.offsetHeight,L=Math.abs(h+p-g)<1,b=de.map(({element:T,link:A})=>({link:A,top:St(T)})).filter(({top:T})=>!Number.isNaN(T)).sort((T,A)=>T.top-A.top);if(!b.length){u(null);return}if(h<1){u(null);return}if(L){u(b[b.length-1].link);return}let V=null;for(const{link:T,top:A}of b){if(A>h+We()+4)break;V=T}u(V)}function u(h){o&&o.classList.remove("active"),h==null?o=null:o=n.value.querySelector(`a[href="${decodeURIComponent(h)}"]`);const p=o;p?(p.classList.add("active"),e.value.style.top=p.offsetTop+39+"px",e.value.style.opacity="1"):(e.value.style.top="33px",e.value.style.opacity="0")}}function St(n){let e=0;for(;n!==document.body;){if(n===null)return NaN;e+=n.offsetTop,n=n.offsetParent}return e}const Tt=["href","title"],wt=_({__name:"VPDocOutlineItem",props:{headers:{},root:{type:Boolean}},setup(n){function e({target:t}){const s=t.href.split("#")[1],o=document.getElementById(decodeURIComponent(s));o==null||o.focus({preventScroll:!0})}return(t,s)=>{const o=R("VPDocOutlineItem",!0);return a(),c("ul",{class:N(["VPDocOutlineItem",t.root?"root":"nested"])},[(a(!0),c(M,null,E(t.headers,({children:i,link:u,title:h})=>(a(),c("li",null,[v("a",{class:"outline-link",href:u,onClick:e,title:h},w(h),9,Tt),i!=null&&i.length?(a(),k(o,{key:0,headers:i},null,8,["headers"])):f("",!0)]))),256))],2)}}}),Ce=$(wt,[["__scopeId","data-v-b933a997"]]),It={class:"content"},Nt={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},Mt=_({__name:"VPDocAsideOutline",setup(n){const{frontmatter:e,theme:t}=P(),s=Le([]);x(()=>{s.value=ke(e.value.outline??t.value.outline)});const o=I(),i=I();return Lt(o,i),(u,h)=>(a(),c("nav",{"aria-labelledby":"doc-outline-aria-label",class:N(["VPDocAsideOutline",{"has-outline":s.value.length>0}]),ref_key:"container",ref:o},[v("div",It,[v("div",{class:"outline-marker",ref_key:"marker",ref:i},null,512),v("div",Nt,w(r(Ae)(r(t))),1),m(Ce,{headers:s.value,root:!0},null,8,["headers"])])],2))}}),At=$(Mt,[["__scopeId","data-v-a5bbad30"]]),Ct={class:"VPDocAsideCarbonAds"},Bt=_({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(n){const e=()=>null;return(t,s)=>(a(),c("div",Ct,[m(r(e),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),Ht=n=>(B("data-v-3f215769"),n=n(),H(),n),Et={class:"VPDocAside"},Dt=Ht(()=>v("div",{class:"spacer"},null,-1)),Ft=_({__name:"VPDocAside",setup(n){const{theme:e}=P();return(t,s)=>(a(),c("div",Et,[l(t.$slots,"aside-top",{},void 0,!0),l(t.$slots,"aside-outline-before",{},void 0,!0),m(At),l(t.$slots,"aside-outline-after",{},void 0,!0),Dt,l(t.$slots,"aside-ads-before",{},void 0,!0),r(e).carbonAds?(a(),k(Bt,{key:0,"carbon-ads":r(e).carbonAds},null,8,["carbon-ads"])):f("",!0),l(t.$slots,"aside-ads-after",{},void 0,!0),l(t.$slots,"aside-bottom",{},void 0,!0)]))}}),Ot=$(Ft,[["__scopeId","data-v-3f215769"]]);function Ut(){const{theme:n,page:e}=P();return y(()=>{const{text:t="Edit this page",pattern:s=""}=n.value.editLink||{};let o;return typeof s=="function"?o=s(e.value):o=s.replace(/:path/g,e.value.filePath),{url:o,text:t}})}function Gt(){const{page:n,theme:e,frontmatter:t}=P();return y(()=>{var g,L,b,V,T,A,C,S;const s=Me(e.value.sidebar,n.value.relativePath),o=bt(s),i=jt(o,j=>j.link.replace(/[?#].*$/,"")),u=i.findIndex(j=>K(n.value.relativePath,j.link)),h=((g=e.value.docFooter)==null?void 0:g.prev)===!1&&!t.value.prev||t.value.prev===!1,p=((L=e.value.docFooter)==null?void 0:L.next)===!1&&!t.value.next||t.value.next===!1;return{prev:h?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((b=i[u-1])==null?void 0:b.docFooterText)??((V=i[u-1])==null?void 0:V.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((T=i[u-1])==null?void 0:T.link)},next:p?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((A=i[u+1])==null?void 0:A.docFooterText)??((C=i[u+1])==null?void 0:C.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((S=i[u+1])==null?void 0:S.link)}}})}function jt(n,e){const t=new Set;return n.filter(s=>{const o=e(s);return t.has(o)?!1:t.add(o)})}const F=_({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(n){const e=n,t=y(()=>e.tag??(e.href?"a":"span")),s=y(()=>e.href&&Se.test(e.href)||e.target==="_blank");return(o,i)=>(a(),k(D(t.value),{class:N(["VPLink",{link:o.href,"vp-external-link-icon":s.value,"no-icon":o.noIcon}]),href:o.href?r(me)(o.href):void 0,target:o.target??(s.value?"_blank":void 0),rel:o.rel??(s.value?"noreferrer":void 0)},{default:d(()=>[l(o.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),zt={class:"VPLastUpdated"},qt=["datetime"],Kt=_({__name:"VPDocFooterLastUpdated",setup(n){const{theme:e,page:t,lang:s}=P(),o=y(()=>new Date(t.value.lastUpdated)),i=y(()=>o.value.toISOString()),u=I("");return W(()=>{Z(()=>{var h,p,g;u.value=new Intl.DateTimeFormat((p=(h=e.value.lastUpdated)==null?void 0:h.formatOptions)!=null&&p.forceLocale?s.value:void 0,((g=e.value.lastUpdated)==null?void 0:g.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(o.value)})}),(h,p)=>{var g;return a(),c("p",zt,[O(w(((g=r(e).lastUpdated)==null?void 0:g.text)||r(e).lastUpdatedText||"Last updated")+": ",1),v("time",{datetime:i.value},w(u.value),9,qt)])}}}),Wt=$(Kt,[["__scopeId","data-v-e98dd255"]]),Be=n=>(B("data-v-e257564d"),n=n(),H(),n),Rt={key:0,class:"VPDocFooter"},Jt={key:0,class:"edit-info"},Yt={key:0,class:"edit-link"},Xt=Be(()=>v("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),Qt={key:1,class:"last-updated"},Zt={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},xt=Be(()=>v("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),en={class:"pager"},tn=["innerHTML"],nn=["innerHTML"],on={class:"pager"},sn=["innerHTML"],an=["innerHTML"],rn=_({__name:"VPDocFooter",setup(n){const{theme:e,page:t,frontmatter:s}=P(),o=Ut(),i=Gt(),u=y(()=>e.value.editLink&&s.value.editLink!==!1),h=y(()=>t.value.lastUpdated),p=y(()=>u.value||h.value||i.value.prev||i.value.next);return(g,L)=>{var b,V,T,A;return p.value?(a(),c("footer",Rt,[l(g.$slots,"doc-footer-before",{},void 0,!0),u.value||h.value?(a(),c("div",Jt,[u.value?(a(),c("div",Yt,[m(F,{class:"edit-link-button",href:r(o).url,"no-icon":!0},{default:d(()=>[Xt,O(" "+w(r(o).text),1)]),_:1},8,["href"])])):f("",!0),h.value?(a(),c("div",Qt,[m(Wt)])):f("",!0)])):f("",!0),(b=r(i).prev)!=null&&b.link||(V=r(i).next)!=null&&V.link?(a(),c("nav",Zt,[xt,v("div",en,[(T=r(i).prev)!=null&&T.link?(a(),k(F,{key:0,class:"pager-link prev",href:r(i).prev.link},{default:d(()=>{var C;return[v("span",{class:"desc",innerHTML:((C=r(e).docFooter)==null?void 0:C.prev)||"Previous page"},null,8,tn),v("span",{class:"title",innerHTML:r(i).prev.text},null,8,nn)]}),_:1},8,["href"])):f("",!0)]),v("div",on,[(A=r(i).next)!=null&&A.link?(a(),k(F,{key:0,class:"pager-link next",href:r(i).next.link},{default:d(()=>{var C;return[v("span",{class:"desc",innerHTML:((C=r(e).docFooter)==null?void 0:C.next)||"Next page"},null,8,sn),v("span",{class:"title",innerHTML:r(i).next.text},null,8,an)]}),_:1},8,["href"])):f("",!0)])])):f("",!0)])):f("",!0)}}}),ln=$(rn,[["__scopeId","data-v-e257564d"]]),cn=n=>(B("data-v-39a288b8"),n=n(),H(),n),un={class:"container"},dn=cn(()=>v("div",{class:"aside-curtain"},null,-1)),vn={class:"aside-container"},pn={class:"aside-content"},hn={class:"content"},fn={class:"content-container"},_n={class:"main"},mn=_({__name:"VPDoc",setup(n){const{theme:e}=P(),t=ee(),{hasSidebar:s,hasAside:o,leftAside:i}=G(),u=y(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(h,p)=>{const g=R("Content");return a(),c("div",{class:N(["VPDoc",{"has-sidebar":r(s),"has-aside":r(o)}])},[l(h.$slots,"doc-top",{},void 0,!0),v("div",un,[r(o)?(a(),c("div",{key:0,class:N(["aside",{"left-aside":r(i)}])},[dn,v("div",vn,[v("div",pn,[m(Ot,null,{"aside-top":d(()=>[l(h.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":d(()=>[l(h.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":d(()=>[l(h.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":d(()=>[l(h.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":d(()=>[l(h.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":d(()=>[l(h.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):f("",!0),v("div",hn,[v("div",fn,[l(h.$slots,"doc-before",{},void 0,!0),v("main",_n,[m(g,{class:N(["vp-doc",[u.value,r(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),m(ln,null,{"doc-footer-before":d(()=>[l(h.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),l(h.$slots,"doc-after",{},void 0,!0)])])]),l(h.$slots,"doc-bottom",{},void 0,!0)],2)}}}),kn=$(mn,[["__scopeId","data-v-39a288b8"]]),bn=_({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(n){const e=n,t=y(()=>e.href&&Se.test(e.href)),s=y(()=>e.tag||e.href?"a":"button");return(o,i)=>(a(),k(D(s.value),{class:N(["VPButton",[o.size,o.theme]]),href:o.href?r(me)(o.href):void 0,target:e.target??(t.value?"_blank":void 0),rel:e.rel??(t.value?"noreferrer":void 0)},{default:d(()=>[O(w(o.text),1)]),_:1},8,["class","href","target","rel"]))}}),$n=$(bn,[["__scopeId","data-v-cad61b99"]]),gn=["src","alt"],yn=_({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(n){return(e,t)=>{const s=R("VPImage",!0);return e.image?(a(),c(M,{key:0},[typeof e.image=="string"||"src"in e.image?(a(),c("img",q({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:r(pe)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,gn)):(a(),c(M,{key:1},[m(s,q({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),m(s,q({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):f("",!0)}}}),Q=$(yn,[["__scopeId","data-v-8426fc1a"]]),Pn=n=>(B("data-v-303bb580"),n=n(),H(),n),Vn={class:"container"},Ln={class:"main"},Sn={key:0,class:"name"},Tn=["innerHTML"],wn=["innerHTML"],In=["innerHTML"],Nn={key:0,class:"actions"},Mn={key:0,class:"image"},An={class:"image-container"},Cn=Pn(()=>v("div",{class:"image-bg"},null,-1)),Bn=_({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(n){const e=te("hero-image-slot-exists");return(t,s)=>(a(),c("div",{class:N(["VPHero",{"has-image":t.image||r(e)}])},[v("div",Vn,[v("div",Ln,[l(t.$slots,"home-hero-info-before",{},void 0,!0),l(t.$slots,"home-hero-info",{},()=>[t.name?(a(),c("h1",Sn,[v("span",{innerHTML:t.name,class:"clip"},null,8,Tn)])):f("",!0),t.text?(a(),c("p",{key:1,innerHTML:t.text,class:"text"},null,8,wn)):f("",!0),t.tagline?(a(),c("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,In)):f("",!0)],!0),l(t.$slots,"home-hero-info-after",{},void 0,!0),t.actions?(a(),c("div",Nn,[(a(!0),c(M,null,E(t.actions,o=>(a(),c("div",{key:o.link,class:"action"},[m($n,{tag:"a",size:"medium",theme:o.theme,text:o.text,href:o.link,target:o.target,rel:o.rel},null,8,["theme","text","href","target","rel"])]))),128))])):f("",!0),l(t.$slots,"home-hero-actions-after",{},void 0,!0)]),t.image||r(e)?(a(),c("div",Mn,[v("div",An,[Cn,l(t.$slots,"home-hero-image",{},()=>[t.image?(a(),k(Q,{key:0,class:"image-src",image:t.image},null,8,["image"])):f("",!0)],!0)])])):f("",!0)])],2))}}),Hn=$(Bn,[["__scopeId","data-v-303bb580"]]),En=_({__name:"VPHomeHero",setup(n){const{frontmatter:e}=P();return(t,s)=>r(e).hero?(a(),k(Hn,{key:0,class:"VPHomeHero",name:r(e).hero.name,text:r(e).hero.text,tagline:r(e).hero.tagline,image:r(e).hero.image,actions:r(e).hero.actions},{"home-hero-info-before":d(()=>[l(t.$slots,"home-hero-info-before")]),"home-hero-info":d(()=>[l(t.$slots,"home-hero-info")]),"home-hero-info-after":d(()=>[l(t.$slots,"home-hero-info-after")]),"home-hero-actions-after":d(()=>[l(t.$slots,"home-hero-actions-after")]),"home-hero-image":d(()=>[l(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):f("",!0)}}),Dn=n=>(B("data-v-a3976bdc"),n=n(),H(),n),Fn={class:"box"},On={key:0,class:"icon"},Un=["innerHTML"],Gn=["innerHTML"],jn=["innerHTML"],zn={key:4,class:"link-text"},qn={class:"link-text-value"},Kn=Dn(()=>v("span",{class:"vpi-arrow-right link-text-icon"},null,-1)),Wn=_({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(n){return(e,t)=>(a(),k(F,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:d(()=>[v("article",Fn,[typeof e.icon=="object"&&e.icon.wrap?(a(),c("div",On,[m(Q,{image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])])):typeof e.icon=="object"?(a(),k(Q,{key:1,image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])):e.icon?(a(),c("div",{key:2,class:"icon",innerHTML:e.icon},null,8,Un)):f("",!0),v("h2",{class:"title",innerHTML:e.title},null,8,Gn),e.details?(a(),c("p",{key:3,class:"details",innerHTML:e.details},null,8,jn)):f("",!0),e.linkText?(a(),c("div",zn,[v("p",qn,[O(w(e.linkText)+" ",1),Kn])])):f("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),Rn=$(Wn,[["__scopeId","data-v-a3976bdc"]]),Jn={key:0,class:"VPFeatures"},Yn={class:"container"},Xn={class:"items"},Qn=_({__name:"VPFeatures",props:{features:{}},setup(n){const e=n,t=y(()=>{const s=e.features.length;if(s){if(s===2)return"grid-2";if(s===3)return"grid-3";if(s%3===0)return"grid-6";if(s>3)return"grid-4"}else return});return(s,o)=>s.features?(a(),c("div",Jn,[v("div",Yn,[v("div",Xn,[(a(!0),c(M,null,E(s.features,i=>(a(),c("div",{key:i.title,class:N(["item",[t.value]])},[m(Rn,{icon:i.icon,title:i.title,details:i.details,link:i.link,"link-text":i.linkText,rel:i.rel,target:i.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):f("",!0)}}),Zn=$(Qn,[["__scopeId","data-v-a6181336"]]),xn=_({__name:"VPHomeFeatures",setup(n){const{frontmatter:e}=P();return(t,s)=>r(e).features?(a(),k(Zn,{key:0,class:"VPHomeFeatures",features:r(e).features},null,8,["features"])):f("",!0)}}),eo=_({__name:"VPHomeContent",setup(n){const{width:e}=Re({initialWidth:0,includeScrollbar:!1});return(t,s)=>(a(),c("div",{class:"vp-doc container",style:Te(r(e)?{"--vp-offset":`calc(50% - ${r(e)/2}px)`}:{})},[l(t.$slots,"default",{},void 0,!0)],4))}}),to=$(eo,[["__scopeId","data-v-8e2d4988"]]),no={class:"VPHome"},oo=_({__name:"VPHome",setup(n){const{frontmatter:e}=P();return(t,s)=>{const o=R("Content");return a(),c("div",no,[l(t.$slots,"home-hero-before",{},void 0,!0),m(En,null,{"home-hero-info-before":d(()=>[l(t.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":d(()=>[l(t.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":d(()=>[l(t.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":d(()=>[l(t.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":d(()=>[l(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),l(t.$slots,"home-hero-after",{},void 0,!0),l(t.$slots,"home-features-before",{},void 0,!0),m(xn),l(t.$slots,"home-features-after",{},void 0,!0),r(e).markdownStyles!==!1?(a(),k(to,{key:0},{default:d(()=>[m(o)]),_:1})):(a(),k(o,{key:1}))])}}}),so=$(oo,[["__scopeId","data-v-686f80a6"]]),ao={},ro={class:"VPPage"};function io(n,e){const t=R("Content");return a(),c("div",ro,[l(n.$slots,"page-top"),m(t),l(n.$slots,"page-bottom")])}const lo=$(ao,[["render",io]]),co=_({__name:"VPContent",setup(n){const{page:e,frontmatter:t}=P(),{hasSidebar:s}=G();return(o,i)=>(a(),c("div",{class:N(["VPContent",{"has-sidebar":r(s),"is-home":r(t).layout==="home"}]),id:"VPContent"},[r(e).isNotFound?l(o.$slots,"not-found",{key:0},()=>[m(mt)],!0):r(t).layout==="page"?(a(),k(lo,{key:1},{"page-top":d(()=>[l(o.$slots,"page-top",{},void 0,!0)]),"page-bottom":d(()=>[l(o.$slots,"page-bottom",{},void 0,!0)]),_:3})):r(t).layout==="home"?(a(),k(so,{key:2},{"home-hero-before":d(()=>[l(o.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":d(()=>[l(o.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":d(()=>[l(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":d(()=>[l(o.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":d(()=>[l(o.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":d(()=>[l(o.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":d(()=>[l(o.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":d(()=>[l(o.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":d(()=>[l(o.$slots,"home-features-after",{},void 0,!0)]),_:3})):r(t).layout&&r(t).layout!=="doc"?(a(),k(D(r(t).layout),{key:3})):(a(),k(kn,{key:4},{"doc-top":d(()=>[l(o.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":d(()=>[l(o.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":d(()=>[l(o.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":d(()=>[l(o.$slots,"doc-before",{},void 0,!0)]),"doc-after":d(()=>[l(o.$slots,"doc-after",{},void 0,!0)]),"aside-top":d(()=>[l(o.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":d(()=>[l(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":d(()=>[l(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":d(()=>[l(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":d(()=>[l(o.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":d(()=>[l(o.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),uo=$(co,[["__scopeId","data-v-1428d186"]]),vo={class:"container"},po=["innerHTML"],ho=["innerHTML"],fo=_({__name:"VPFooter",setup(n){const{theme:e,frontmatter:t}=P(),{hasSidebar:s}=G();return(o,i)=>r(e).footer&&r(t).footer!==!1?(a(),c("footer",{key:0,class:N(["VPFooter",{"has-sidebar":r(s)}])},[v("div",vo,[r(e).footer.message?(a(),c("p",{key:0,class:"message",innerHTML:r(e).footer.message},null,8,po)):f("",!0),r(e).footer.copyright?(a(),c("p",{key:1,class:"copyright",innerHTML:r(e).footer.copyright},null,8,ho)):f("",!0)])],2)):f("",!0)}}),_o=$(fo,[["__scopeId","data-v-e315a0ad"]]);function mo(){const{theme:n,frontmatter:e}=P(),t=Le([]),s=y(()=>t.value.length>0);return x(()=>{t.value=ke(e.value.outline??n.value.outline)}),{headers:t,hasLocalNav:s}}const ko=n=>(B("data-v-17a5e62e"),n=n(),H(),n),bo={class:"menu-text"},$o=ko(()=>v("span",{class:"vpi-chevron-right icon"},null,-1)),go={class:"header"},yo={class:"outline"},Po=_({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(n){const e=n,{theme:t}=P(),s=I(!1),o=I(0),i=I(),u=I();function h(b){var V;(V=i.value)!=null&&V.contains(b.target)||(s.value=!1)}U(s,b=>{if(b){document.addEventListener("click",h);return}document.removeEventListener("click",h)}),le("Escape",()=>{s.value=!1}),x(()=>{s.value=!1});function p(){s.value=!s.value,o.value=window.innerHeight+Math.min(window.scrollY-e.navHeight,0)}function g(b){b.target.classList.contains("outline-link")&&(u.value&&(u.value.style.transition="none"),we(()=>{s.value=!1}))}function L(){s.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(b,V)=>(a(),c("div",{class:"VPLocalNavOutlineDropdown",style:Te({"--vp-vh":o.value+"px"}),ref_key:"main",ref:i},[b.headers.length>0?(a(),c("button",{key:0,onClick:p,class:N({open:s.value})},[v("span",bo,w(r(Ae)(r(t))),1),$o],2)):(a(),c("button",{key:1,onClick:L},w(r(t).returnToTopLabel||"Return to top"),1)),m(ve,{name:"flyout"},{default:d(()=>[s.value?(a(),c("div",{key:0,ref_key:"items",ref:u,class:"items",onClick:g},[v("div",go,[v("a",{class:"top-link",href:"#",onClick:L},w(r(t).returnToTopLabel||"Return to top"),1)]),v("div",yo,[m(Ce,{headers:b.headers},null,8,["headers"])])],512)):f("",!0)]),_:1})],4))}}),Vo=$(Po,[["__scopeId","data-v-17a5e62e"]]),Lo=n=>(B("data-v-a6f0e41e"),n=n(),H(),n),So={class:"container"},To=["aria-expanded"],wo=Lo(()=>v("span",{class:"vpi-align-left menu-icon"},null,-1)),Io={class:"menu-text"},No=_({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(n){const{theme:e,frontmatter:t}=P(),{hasSidebar:s}=G(),{headers:o}=mo(),{y:i}=Ie(),u=I(0);W(()=>{u.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),x(()=>{o.value=ke(t.value.outline??e.value.outline)});const h=y(()=>o.value.length===0),p=y(()=>h.value&&!s.value),g=y(()=>({VPLocalNav:!0,"has-sidebar":s.value,empty:h.value,fixed:p.value}));return(L,b)=>r(t).layout!=="home"&&(!p.value||r(i)>=u.value)?(a(),c("div",{key:0,class:N(g.value)},[v("div",So,[r(s)?(a(),c("button",{key:0,class:"menu","aria-expanded":L.open,"aria-controls":"VPSidebarNav",onClick:b[0]||(b[0]=V=>L.$emit("open-menu"))},[wo,v("span",Io,w(r(e).sidebarMenuLabel||"Menu"),1)],8,To)):f("",!0),m(Vo,{headers:r(o),navHeight:u.value},null,8,["headers","navHeight"])])],2)):f("",!0)}}),Mo=$(No,[["__scopeId","data-v-a6f0e41e"]]);function Ao(){const n=I(!1);function e(){n.value=!0,window.addEventListener("resize",o)}function t(){n.value=!1,window.removeEventListener("resize",o)}function s(){n.value?t():e()}function o(){window.outerWidth>=768&&t()}const i=ee();return U(()=>i.path,t),{isScreenOpen:n,openScreen:e,closeScreen:t,toggleScreen:s}}const Co={},Bo={class:"VPSwitch",type:"button",role:"switch"},Ho={class:"check"},Eo={key:0,class:"icon"};function Do(n,e){return a(),c("button",Bo,[v("span",Ho,[n.$slots.default?(a(),c("span",Eo,[l(n.$slots,"default",{},void 0,!0)])):f("",!0)])])}const Fo=$(Co,[["render",Do],["__scopeId","data-v-1d5665e3"]]),He=n=>(B("data-v-5337faa4"),n=n(),H(),n),Oo=He(()=>v("span",{class:"vpi-sun sun"},null,-1)),Uo=He(()=>v("span",{class:"vpi-moon moon"},null,-1)),Go=_({__name:"VPSwitchAppearance",setup(n){const{isDark:e,theme:t}=P(),s=te("toggle-appearance",()=>{e.value=!e.value}),o=I("");return fe(()=>{o.value=e.value?t.value.lightModeSwitchTitle||"Switch to light theme":t.value.darkModeSwitchTitle||"Switch to dark theme"}),(i,u)=>(a(),k(Fo,{title:o.value,class:"VPSwitchAppearance","aria-checked":r(e),onClick:r(s)},{default:d(()=>[Oo,Uo]),_:1},8,["title","aria-checked","onClick"]))}}),be=$(Go,[["__scopeId","data-v-5337faa4"]]),jo={key:0,class:"VPNavBarAppearance"},zo=_({__name:"VPNavBarAppearance",setup(n){const{site:e}=P();return(t,s)=>r(e).appearance&&r(e).appearance!=="force-dark"&&r(e).appearance!=="force-auto"?(a(),c("div",jo,[m(be)])):f("",!0)}}),qo=$(zo,[["__scopeId","data-v-6c893767"]]),$e=I();let Ee=!1,re=0;function Ko(n){const e=I(!1);if(ne){!Ee&&Wo(),re++;const t=U($e,s=>{var o,i,u;s===n.el.value||(o=n.el.value)!=null&&o.contains(s)?(e.value=!0,(i=n.onFocus)==null||i.call(n)):(e.value=!1,(u=n.onBlur)==null||u.call(n))});he(()=>{t(),re--,re||Ro()})}return Je(e)}function Wo(){document.addEventListener("focusin",De),Ee=!0,$e.value=document.activeElement}function Ro(){document.removeEventListener("focusin",De)}function De(){$e.value=document.activeElement}const Jo={class:"VPMenuLink"},Yo=_({__name:"VPMenuLink",props:{item:{}},setup(n){const{page:e}=P();return(t,s)=>(a(),c("div",Jo,[m(F,{class:N({active:r(K)(r(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel},{default:d(()=>[O(w(t.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),oe=$(Yo,[["__scopeId","data-v-43f1e123"]]),Xo={class:"VPMenuGroup"},Qo={key:0,class:"title"},Zo=_({__name:"VPMenuGroup",props:{text:{},items:{}},setup(n){return(e,t)=>(a(),c("div",Xo,[e.text?(a(),c("p",Qo,w(e.text),1)):f("",!0),(a(!0),c(M,null,E(e.items,s=>(a(),c(M,null,["link"in s?(a(),k(oe,{key:0,item:s},null,8,["item"])):f("",!0)],64))),256))]))}}),xo=$(Zo,[["__scopeId","data-v-69e747b5"]]),es={class:"VPMenu"},ts={key:0,class:"items"},ns=_({__name:"VPMenu",props:{items:{}},setup(n){return(e,t)=>(a(),c("div",es,[e.items?(a(),c("div",ts,[(a(!0),c(M,null,E(e.items,s=>(a(),c(M,{key:JSON.stringify(s)},["link"in s?(a(),k(oe,{key:0,item:s},null,8,["item"])):"component"in s?(a(),k(D(s.component),q({key:1,ref_for:!0},s.props),null,16)):(a(),k(xo,{key:2,text:s.text,items:s.items},null,8,["text","items"]))],64))),128))])):f("",!0),l(e.$slots,"default",{},void 0,!0)]))}}),os=$(ns,[["__scopeId","data-v-b98bc113"]]),ss=n=>(B("data-v-b6c34ac9"),n=n(),H(),n),as=["aria-expanded","aria-label"],rs={key:0,class:"text"},is=["innerHTML"],ls=ss(()=>v("span",{class:"vpi-chevron-down text-icon"},null,-1)),cs={key:1,class:"vpi-more-horizontal icon"},us={class:"menu"},ds=_({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(n){const e=I(!1),t=I();Ko({el:t,onBlur:s});function s(){e.value=!1}return(o,i)=>(a(),c("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:i[1]||(i[1]=u=>e.value=!0),onMouseleave:i[2]||(i[2]=u=>e.value=!1)},[v("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":o.label,onClick:i[0]||(i[0]=u=>e.value=!e.value)},[o.button||o.icon?(a(),c("span",rs,[o.icon?(a(),c("span",{key:0,class:N([o.icon,"option-icon"])},null,2)):f("",!0),o.button?(a(),c("span",{key:1,innerHTML:o.button},null,8,is)):f("",!0),ls])):(a(),c("span",cs))],8,as),v("div",us,[m(os,{items:o.items},{default:d(()=>[l(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),ge=$(ds,[["__scopeId","data-v-b6c34ac9"]]),vs=["href","aria-label","innerHTML"],ps=_({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(n){const e=n,t=y(()=>typeof e.icon=="object"?e.icon.svg:``);return(s,o)=>(a(),c("a",{class:"VPSocialLink no-icon",href:s.link,"aria-label":s.ariaLabel??(typeof s.icon=="string"?s.icon:""),target:"_blank",rel:"noopener",innerHTML:t.value},null,8,vs))}}),hs=$(ps,[["__scopeId","data-v-eee4e7cb"]]),fs={class:"VPSocialLinks"},_s=_({__name:"VPSocialLinks",props:{links:{}},setup(n){return(e,t)=>(a(),c("div",fs,[(a(!0),c(M,null,E(e.links,({link:s,icon:o,ariaLabel:i})=>(a(),k(hs,{key:s,icon:o,link:s,ariaLabel:i},null,8,["icon","link","ariaLabel"]))),128))]))}}),ye=$(_s,[["__scopeId","data-v-7bc22406"]]),ms={key:0,class:"group translations"},ks={class:"trans-title"},bs={key:1,class:"group"},$s={class:"item appearance"},gs={class:"label"},ys={class:"appearance-action"},Ps={key:2,class:"group"},Vs={class:"item social-links"},Ls=_({__name:"VPNavBarExtra",setup(n){const{site:e,theme:t}=P(),{localeLinks:s,currentLang:o}=Y({correspondingLink:!0}),i=y(()=>s.value.length&&o.value.label||e.value.appearance||t.value.socialLinks);return(u,h)=>i.value?(a(),k(ge,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:d(()=>[r(s).length&&r(o).label?(a(),c("div",ms,[v("p",ks,w(r(o).label),1),(a(!0),c(M,null,E(r(s),p=>(a(),k(oe,{key:p.link,item:p},null,8,["item"]))),128))])):f("",!0),r(e).appearance&&r(e).appearance!=="force-dark"&&r(e).appearance!=="force-auto"?(a(),c("div",bs,[v("div",$s,[v("p",gs,w(r(t).darkModeSwitchLabel||"Appearance"),1),v("div",ys,[m(be)])])])):f("",!0),r(t).socialLinks?(a(),c("div",Ps,[v("div",Vs,[m(ye,{class:"social-links-list",links:r(t).socialLinks},null,8,["links"])])])):f("",!0)]),_:1})):f("",!0)}}),Ss=$(Ls,[["__scopeId","data-v-bb2aa2f0"]]),Ts=n=>(B("data-v-e5dd9c1c"),n=n(),H(),n),ws=["aria-expanded"],Is=Ts(()=>v("span",{class:"container"},[v("span",{class:"top"}),v("span",{class:"middle"}),v("span",{class:"bottom"})],-1)),Ns=[Is],Ms=_({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(n){return(e,t)=>(a(),c("button",{type:"button",class:N(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=s=>e.$emit("click"))},Ns,10,ws))}}),As=$(Ms,[["__scopeId","data-v-e5dd9c1c"]]),Cs=["innerHTML"],Bs=_({__name:"VPNavBarMenuLink",props:{item:{}},setup(n){const{page:e}=P();return(t,s)=>(a(),k(F,{class:N({VPNavBarMenuLink:!0,active:r(K)(r(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,noIcon:t.item.noIcon,target:t.item.target,rel:t.item.rel,tabindex:"0"},{default:d(()=>[v("span",{innerHTML:t.item.text},null,8,Cs)]),_:1},8,["class","href","noIcon","target","rel"]))}}),Hs=$(Bs,[["__scopeId","data-v-9c663999"]]),Es=_({__name:"VPNavBarMenuGroup",props:{item:{}},setup(n){const e=n,{page:t}=P(),s=i=>"component"in i?!1:"link"in i?K(t.value.relativePath,i.link,!!e.item.activeMatch):i.items.some(s),o=y(()=>s(e.item));return(i,u)=>(a(),k(ge,{class:N({VPNavBarMenuGroup:!0,active:r(K)(r(t).relativePath,i.item.activeMatch,!!i.item.activeMatch)||o.value}),button:i.item.text,items:i.item.items},null,8,["class","button","items"]))}}),Ds=n=>(B("data-v-dc692963"),n=n(),H(),n),Fs={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Os=Ds(()=>v("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),Us=_({__name:"VPNavBarMenu",setup(n){const{theme:e}=P();return(t,s)=>r(e).nav?(a(),c("nav",Fs,[Os,(a(!0),c(M,null,E(r(e).nav,o=>(a(),c(M,{key:JSON.stringify(o)},["link"in o?(a(),k(Hs,{key:0,item:o},null,8,["item"])):"component"in o?(a(),k(D(o.component),q({key:1,ref_for:!0},o.props),null,16)):(a(),k(Es,{key:2,item:o},null,8,["item"]))],64))),128))])):f("",!0)}}),Gs=$(Us,[["__scopeId","data-v-dc692963"]]);function js(n){const{localeIndex:e,theme:t}=P();function s(o){var A,C,S;const i=o.split("."),u=(A=t.value.search)==null?void 0:A.options,h=u&&typeof u=="object",p=h&&((S=(C=u.locales)==null?void 0:C[e.value])==null?void 0:S.translations)||null,g=h&&u.translations||null;let L=p,b=g,V=n;const T=i.pop();for(const j of i){let z=null;const J=V==null?void 0:V[j];J&&(z=V=J);const se=b==null?void 0:b[j];se&&(z=b=se);const ae=L==null?void 0:L[j];ae&&(z=L=ae),J||(V=z),se||(b=z),ae||(L=z)}return(L==null?void 0:L[T])??(b==null?void 0:b[T])??(V==null?void 0:V[T])??""}return s}const zs=["aria-label"],qs={class:"DocSearch-Button-Container"},Ks=v("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1),Ws={class:"DocSearch-Button-Placeholder"},Rs=v("span",{class:"DocSearch-Button-Keys"},[v("kbd",{class:"DocSearch-Button-Key"}),v("kbd",{class:"DocSearch-Button-Key"},"K")],-1),Pe=_({__name:"VPNavBarSearchButton",setup(n){const t=js({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(s,o)=>(a(),c("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":r(t)("button.buttonAriaLabel")},[v("span",qs,[Ks,v("span",Ws,w(r(t)("button.buttonText")),1)]),Rs],8,zs))}}),Js={class:"VPNavBarSearch"},Ys={id:"local-search"},Xs={key:1,id:"docsearch"},Qs=_({__name:"VPNavBarSearch",setup(n){const e=Ye(()=>Xe(()=>import("./VPLocalSearchBox.2xWSu_6i.js"),__vite__mapDeps([0,1]))),t=()=>null,{theme:s}=P(),o=I(!1),i=I(!1);W(()=>{});function u(){o.value||(o.value=!0,setTimeout(h,16))}function h(){const b=new Event("keydown");b.key="k",b.metaKey=!0,window.dispatchEvent(b),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||h()},16)}function p(b){const V=b.target,T=V.tagName;return V.isContentEditable||T==="INPUT"||T==="SELECT"||T==="TEXTAREA"}const g=I(!1);le("k",b=>{(b.ctrlKey||b.metaKey)&&(b.preventDefault(),g.value=!0)}),le("/",b=>{p(b)||(b.preventDefault(),g.value=!0)});const L="local";return(b,V)=>{var T;return a(),c("div",Js,[r(L)==="local"?(a(),c(M,{key:0},[g.value?(a(),k(r(e),{key:0,onClose:V[0]||(V[0]=A=>g.value=!1)})):f("",!0),v("div",Ys,[m(Pe,{onClick:V[1]||(V[1]=A=>g.value=!0)})])],64)):r(L)==="algolia"?(a(),c(M,{key:1},[o.value?(a(),k(r(t),{key:0,algolia:((T=r(s).search)==null?void 0:T.options)??r(s).algolia,onVnodeBeforeMount:V[2]||(V[2]=A=>i.value=!0)},null,8,["algolia"])):f("",!0),i.value?f("",!0):(a(),c("div",Xs,[m(Pe,{onClick:u})]))],64)):f("",!0)])}}}),Zs=_({__name:"VPNavBarSocialLinks",setup(n){const{theme:e}=P();return(t,s)=>r(e).socialLinks?(a(),k(ye,{key:0,class:"VPNavBarSocialLinks",links:r(e).socialLinks},null,8,["links"])):f("",!0)}}),xs=$(Zs,[["__scopeId","data-v-0394ad82"]]),ea=["href","rel","target"],ta={key:1},na={key:2},oa=_({__name:"VPNavBarTitle",setup(n){const{site:e,theme:t}=P(),{hasSidebar:s}=G(),{currentLang:o}=Y(),i=y(()=>{var p;return typeof t.value.logoLink=="string"?t.value.logoLink:(p=t.value.logoLink)==null?void 0:p.link}),u=y(()=>{var p;return typeof t.value.logoLink=="string"||(p=t.value.logoLink)==null?void 0:p.rel}),h=y(()=>{var p;return typeof t.value.logoLink=="string"||(p=t.value.logoLink)==null?void 0:p.target});return(p,g)=>(a(),c("div",{class:N(["VPNavBarTitle",{"has-sidebar":r(s)}])},[v("a",{class:"title",href:i.value??r(me)(r(o).link),rel:u.value,target:h.value},[l(p.$slots,"nav-bar-title-before",{},void 0,!0),r(t).logo?(a(),k(Q,{key:0,class:"logo",image:r(t).logo},null,8,["image"])):f("",!0),r(t).siteTitle?(a(),c("span",ta,w(r(t).siteTitle),1)):r(t).siteTitle===void 0?(a(),c("span",na,w(r(e).title),1)):f("",!0),l(p.$slots,"nav-bar-title-after",{},void 0,!0)],8,ea)],2))}}),sa=$(oa,[["__scopeId","data-v-ab179fa1"]]),aa={class:"items"},ra={class:"title"},ia=_({__name:"VPNavBarTranslations",setup(n){const{theme:e}=P(),{localeLinks:t,currentLang:s}=Y({correspondingLink:!0});return(o,i)=>r(t).length&&r(s).label?(a(),k(ge,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:r(e).langMenuLabel||"Change language"},{default:d(()=>[v("div",aa,[v("p",ra,w(r(s).label),1),(a(!0),c(M,null,E(r(t),u=>(a(),k(oe,{key:u.link,item:u},null,8,["item"]))),128))])]),_:1},8,["label"])):f("",!0)}}),la=$(ia,[["__scopeId","data-v-88af2de4"]]),ca=n=>(B("data-v-6aa21345"),n=n(),H(),n),ua={class:"wrapper"},da={class:"container"},va={class:"title"},pa={class:"content"},ha={class:"content-body"},fa=ca(()=>v("div",{class:"divider"},[v("div",{class:"divider-line"})],-1)),_a=_({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(n){const e=n,{y:t}=Ie(),{hasSidebar:s}=G(),{frontmatter:o}=P(),i=I({});return fe(()=>{i.value={"has-sidebar":s.value,home:o.value.layout==="home",top:t.value===0,"screen-open":e.isScreenOpen}}),(u,h)=>(a(),c("div",{class:N(["VPNavBar",i.value])},[v("div",ua,[v("div",da,[v("div",va,[m(sa,null,{"nav-bar-title-before":d(()=>[l(u.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":d(()=>[l(u.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),v("div",pa,[v("div",ha,[l(u.$slots,"nav-bar-content-before",{},void 0,!0),m(Qs,{class:"search"}),m(Gs,{class:"menu"}),m(la,{class:"translations"}),m(qo,{class:"appearance"}),m(xs,{class:"social-links"}),m(Ss,{class:"extra"}),l(u.$slots,"nav-bar-content-after",{},void 0,!0),m(As,{class:"hamburger",active:u.isScreenOpen,onClick:h[0]||(h[0]=p=>u.$emit("toggle-screen"))},null,8,["active"])])])])]),fa],2))}}),ma=$(_a,[["__scopeId","data-v-6aa21345"]]),ka={key:0,class:"VPNavScreenAppearance"},ba={class:"text"},$a=_({__name:"VPNavScreenAppearance",setup(n){const{site:e,theme:t}=P();return(s,o)=>r(e).appearance&&r(e).appearance!=="force-dark"&&r(e).appearance!=="force-auto"?(a(),c("div",ka,[v("p",ba,w(r(t).darkModeSwitchLabel||"Appearance"),1),m(be)])):f("",!0)}}),ga=$($a,[["__scopeId","data-v-b44890b2"]]),ya=_({__name:"VPNavScreenMenuLink",props:{item:{}},setup(n){const e=te("close-screen");return(t,s)=>(a(),k(F,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:r(e),innerHTML:t.item.text},null,8,["href","target","rel","onClick","innerHTML"]))}}),Pa=$(ya,[["__scopeId","data-v-7f31e1f6"]]),Va=_({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(n){const e=te("close-screen");return(t,s)=>(a(),k(F,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:r(e)},{default:d(()=>[O(w(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),Fe=$(Va,[["__scopeId","data-v-19976ae1"]]),La={class:"VPNavScreenMenuGroupSection"},Sa={key:0,class:"title"},Ta=_({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(n){return(e,t)=>(a(),c("div",La,[e.text?(a(),c("p",Sa,w(e.text),1)):f("",!0),(a(!0),c(M,null,E(e.items,s=>(a(),k(Fe,{key:s.text,item:s},null,8,["item"]))),128))]))}}),wa=$(Ta,[["__scopeId","data-v-8133b170"]]),Ia=n=>(B("data-v-b9ab8c58"),n=n(),H(),n),Na=["aria-controls","aria-expanded"],Ma=["innerHTML"],Aa=Ia(()=>v("span",{class:"vpi-plus button-icon"},null,-1)),Ca=["id"],Ba={key:0,class:"item"},Ha={key:1,class:"item"},Ea={key:2,class:"group"},Da=_({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(n){const e=n,t=I(!1),s=y(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function o(){t.value=!t.value}return(i,u)=>(a(),c("div",{class:N(["VPNavScreenMenuGroup",{open:t.value}])},[v("button",{class:"button","aria-controls":s.value,"aria-expanded":t.value,onClick:o},[v("span",{class:"button-text",innerHTML:i.text},null,8,Ma),Aa],8,Na),v("div",{id:s.value,class:"items"},[(a(!0),c(M,null,E(i.items,h=>(a(),c(M,{key:JSON.stringify(h)},["link"in h?(a(),c("div",Ba,[m(Fe,{item:h},null,8,["item"])])):"component"in h?(a(),c("div",Ha,[(a(),k(D(h.component),q({ref_for:!0},h.props,{"screen-menu":""}),null,16))])):(a(),c("div",Ea,[m(wa,{text:h.text,items:h.items},null,8,["text","items"])]))],64))),128))],8,Ca)],2))}}),Fa=$(Da,[["__scopeId","data-v-b9ab8c58"]]),Oa={key:0,class:"VPNavScreenMenu"},Ua=_({__name:"VPNavScreenMenu",setup(n){const{theme:e}=P();return(t,s)=>r(e).nav?(a(),c("nav",Oa,[(a(!0),c(M,null,E(r(e).nav,o=>(a(),c(M,{key:JSON.stringify(o)},["link"in o?(a(),k(Pa,{key:0,item:o},null,8,["item"])):"component"in o?(a(),k(D(o.component),q({key:1,ref_for:!0},o.props,{"screen-menu":""}),null,16)):(a(),k(Fa,{key:2,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):f("",!0)}}),Ga=_({__name:"VPNavScreenSocialLinks",setup(n){const{theme:e}=P();return(t,s)=>r(e).socialLinks?(a(),k(ye,{key:0,class:"VPNavScreenSocialLinks",links:r(e).socialLinks},null,8,["links"])):f("",!0)}}),Oe=n=>(B("data-v-858fe1a4"),n=n(),H(),n),ja=Oe(()=>v("span",{class:"vpi-languages icon lang"},null,-1)),za=Oe(()=>v("span",{class:"vpi-chevron-down icon chevron"},null,-1)),qa={class:"list"},Ka=_({__name:"VPNavScreenTranslations",setup(n){const{localeLinks:e,currentLang:t}=Y({correspondingLink:!0}),s=I(!1);function o(){s.value=!s.value}return(i,u)=>r(e).length&&r(t).label?(a(),c("div",{key:0,class:N(["VPNavScreenTranslations",{open:s.value}])},[v("button",{class:"title",onClick:o},[ja,O(" "+w(r(t).label)+" ",1),za]),v("ul",qa,[(a(!0),c(M,null,E(r(e),h=>(a(),c("li",{key:h.link,class:"item"},[m(F,{class:"link",href:h.link},{default:d(()=>[O(w(h.text),1)]),_:2},1032,["href"])]))),128))])],2)):f("",!0)}}),Wa=$(Ka,[["__scopeId","data-v-858fe1a4"]]),Ra={class:"container"},Ja=_({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(n){const e=I(null),t=Ne(ne?document.body:null);return(s,o)=>(a(),k(ve,{name:"fade",onEnter:o[0]||(o[0]=i=>t.value=!0),onAfterLeave:o[1]||(o[1]=i=>t.value=!1)},{default:d(()=>[s.open?(a(),c("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e,id:"VPNavScreen"},[v("div",Ra,[l(s.$slots,"nav-screen-content-before",{},void 0,!0),m(Ua,{class:"menu"}),m(Wa,{class:"translations"}),m(ga,{class:"appearance"}),m(Ga,{class:"social-links"}),l(s.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):f("",!0)]),_:3}))}}),Ya=$(Ja,[["__scopeId","data-v-f2779853"]]),Xa={key:0,class:"VPNav"},Qa=_({__name:"VPNav",setup(n){const{isScreenOpen:e,closeScreen:t,toggleScreen:s}=Ao(),{frontmatter:o}=P(),i=y(()=>o.value.navbar!==!1);return _e("close-screen",t),Z(()=>{ne&&document.documentElement.classList.toggle("hide-nav",!i.value)}),(u,h)=>i.value?(a(),c("header",Xa,[m(ma,{"is-screen-open":r(e),onToggleScreen:r(s)},{"nav-bar-title-before":d(()=>[l(u.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":d(()=>[l(u.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":d(()=>[l(u.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":d(()=>[l(u.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),m(Ya,{open:r(e)},{"nav-screen-content-before":d(()=>[l(u.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":d(()=>[l(u.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):f("",!0)}}),Za=$(Qa,[["__scopeId","data-v-ae24b3ad"]]),Ue=n=>(B("data-v-b7550ba0"),n=n(),H(),n),xa=["role","tabindex"],er=Ue(()=>v("div",{class:"indicator"},null,-1)),tr=Ue(()=>v("span",{class:"vpi-chevron-right caret-icon"},null,-1)),nr=[tr],or={key:1,class:"items"},sr=_({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(n){const e=n,{collapsed:t,collapsible:s,isLink:o,isActiveLink:i,hasActiveLink:u,hasChildren:h,toggle:p}=gt(y(()=>e.item)),g=y(()=>h.value?"section":"div"),L=y(()=>o.value?"a":"div"),b=y(()=>h.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),V=y(()=>o.value?void 0:"button"),T=y(()=>[[`level-${e.depth}`],{collapsible:s.value},{collapsed:t.value},{"is-link":o.value},{"is-active":i.value},{"has-active":u.value}]);function A(S){"key"in S&&S.key!=="Enter"||!e.item.link&&p()}function C(){e.item.link&&p()}return(S,j)=>{const z=R("VPSidebarItem",!0);return a(),k(D(g.value),{class:N(["VPSidebarItem",T.value])},{default:d(()=>[S.item.text?(a(),c("div",q({key:0,class:"item",role:V.value},Ze(S.item.items?{click:A,keydown:A}:{},!0),{tabindex:S.item.items&&0}),[er,S.item.link?(a(),k(F,{key:0,tag:L.value,class:"link",href:S.item.link,rel:S.item.rel,target:S.item.target},{default:d(()=>[(a(),k(D(b.value),{class:"text",innerHTML:S.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(a(),k(D(b.value),{key:1,class:"text",innerHTML:S.item.text},null,8,["innerHTML"])),S.item.collapsed!=null&&S.item.items&&S.item.items.length?(a(),c("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:C,onKeydown:Qe(C,["enter"]),tabindex:"0"},nr,32)):f("",!0)],16,xa)):f("",!0),S.item.items&&S.item.items.length?(a(),c("div",or,[S.depth<5?(a(!0),c(M,{key:0},E(S.item.items,J=>(a(),k(z,{key:J.text,item:J,depth:S.depth+1},null,8,["item","depth"]))),128)):f("",!0)])):f("",!0)]),_:1},8,["class"])}}}),ar=$(sr,[["__scopeId","data-v-b7550ba0"]]),rr=_({__name:"VPSidebarGroup",props:{items:{}},setup(n){const e=I(!0);let t=null;return W(()=>{t=setTimeout(()=>{t=null,e.value=!1},300)}),xe(()=>{t!=null&&(clearTimeout(t),t=null)}),(s,o)=>(a(!0),c(M,null,E(s.items,i=>(a(),c("div",{key:i.text,class:N(["group",{"no-transition":e.value}])},[m(ar,{item:i,depth:0},null,8,["item"])],2))),128))}}),ir=$(rr,[["__scopeId","data-v-c40bc020"]]),Ge=n=>(B("data-v-319d5ca6"),n=n(),H(),n),lr=Ge(()=>v("div",{class:"curtain"},null,-1)),cr={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},ur=Ge(()=>v("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),dr=_({__name:"VPSidebar",props:{open:{type:Boolean}},setup(n){const{sidebarGroups:e,hasSidebar:t}=G(),s=n,o=I(null),i=Ne(ne?document.body:null);U([s,o],()=>{var h;s.open?(i.value=!0,(h=o.value)==null||h.focus()):i.value=!1},{immediate:!0,flush:"post"});const u=I(0);return U(e,()=>{u.value+=1},{deep:!0}),(h,p)=>r(t)?(a(),c("aside",{key:0,class:N(["VPSidebar",{open:h.open}]),ref_key:"navEl",ref:o,onClick:p[0]||(p[0]=et(()=>{},["stop"]))},[lr,v("nav",cr,[ur,l(h.$slots,"sidebar-nav-before",{},void 0,!0),(a(),k(ir,{items:r(e),key:u.value},null,8,["items"])),l(h.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):f("",!0)}}),vr=$(dr,[["__scopeId","data-v-319d5ca6"]]),pr=_({__name:"VPSkipLink",setup(n){const e=ee(),t=I();U(()=>e.path,()=>t.value.focus());function s({target:o}){const i=document.getElementById(decodeURIComponent(o.hash).slice(1));if(i){const u=()=>{i.removeAttribute("tabindex"),i.removeEventListener("blur",u)};i.setAttribute("tabindex","-1"),i.addEventListener("blur",u),i.focus(),window.scrollTo(0,0)}}return(o,i)=>(a(),c(M,null,[v("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),v("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:s}," Skip to content ")],64))}}),hr=$(pr,[["__scopeId","data-v-0f60ec36"]]),fr=_({__name:"Layout",setup(n){const{isOpen:e,open:t,close:s}=G(),o=ee();U(()=>o.path,s),$t(e,s);const{frontmatter:i}=P(),u=tt(),h=y(()=>!!u["home-hero-image"]);return _e("hero-image-slot-exists",h),(p,g)=>{const L=R("Content");return r(i).layout!==!1?(a(),c("div",{key:0,class:N(["Layout",r(i).pageClass])},[l(p.$slots,"layout-top",{},void 0,!0),m(hr),m(at,{class:"backdrop",show:r(e),onClick:r(s)},null,8,["show","onClick"]),m(Za,null,{"nav-bar-title-before":d(()=>[l(p.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":d(()=>[l(p.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":d(()=>[l(p.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":d(()=>[l(p.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":d(()=>[l(p.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":d(()=>[l(p.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),m(Mo,{open:r(e),onOpenMenu:r(t)},null,8,["open","onOpenMenu"]),m(vr,{open:r(e)},{"sidebar-nav-before":d(()=>[l(p.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":d(()=>[l(p.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),m(uo,null,{"page-top":d(()=>[l(p.$slots,"page-top",{},void 0,!0)]),"page-bottom":d(()=>[l(p.$slots,"page-bottom",{},void 0,!0)]),"not-found":d(()=>[l(p.$slots,"not-found",{},void 0,!0)]),"home-hero-before":d(()=>[l(p.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":d(()=>[l(p.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":d(()=>[l(p.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":d(()=>[l(p.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":d(()=>[l(p.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":d(()=>[l(p.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":d(()=>[l(p.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":d(()=>[l(p.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":d(()=>[l(p.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":d(()=>[l(p.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":d(()=>[l(p.$slots,"doc-before",{},void 0,!0)]),"doc-after":d(()=>[l(p.$slots,"doc-after",{},void 0,!0)]),"doc-top":d(()=>[l(p.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":d(()=>[l(p.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":d(()=>[l(p.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":d(()=>[l(p.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":d(()=>[l(p.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":d(()=>[l(p.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":d(()=>[l(p.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":d(()=>[l(p.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),m(_o),l(p.$slots,"layout-bottom",{},void 0,!0)],2)):(a(),k(L,{key:1}))}}}),_r=$(fr,[["__scopeId","data-v-5d98c3a5"]]),je={Layout:_r,enhanceApp:({app:n})=>{n.component("Badge",nt)}},mr=_({__name:"layout",setup(n){const{isDark:e}=Ve(),t=()=>"startViewTransition"in document&&window.matchMedia("(prefers-reduced-motion: no-preference)").matches;return _e("toggle-appearance",async({clientX:s,clientY:o})=>{if(!t()){e.value=!e.value;return}const i=[`circle(0px at ${s}px ${o}px)`,`circle(${Math.hypot(Math.max(s,innerWidth-s),Math.max(o,innerHeight-o))}px at ${s}px ${o}px)`];await document.startViewTransition(async()=>{e.value=!e.value,await we()}).ready,document.documentElement.animate({clipPath:e.value?i.reverse():i},{duration:300,easing:"ease-in",pseudoElement:`::view-transition-${e.value?"old":"new"}(root)`})}),(s,o)=>(a(),k(r(je).Layout))}}),br={extends:je,Layout:mr,enhanceApp(){try{const n=["en-US","zh-CN"];let e=navigator.language;n.includes(e)||(e=n[0]),/\/PSCompletions\/?$/.test(location.pathname)&&(location.href+=e)}catch{}}};export{br as R,js as c,P as u}; diff --git a/docs/.vitepress/dist/assets/en-US_command_index.md.CKIFimfs.js b/docs/.vitepress/dist/assets/en-US_command_index.md.BcfYYpex.js similarity index 92% rename from docs/.vitepress/dist/assets/en-US_command_index.md.CKIFimfs.js rename to docs/.vitepress/dist/assets/en-US_command_index.md.BcfYYpex.js index 757307c..b7e20db 100644 --- a/docs/.vitepress/dist/assets/en-US_command_index.md.CKIFimfs.js +++ b/docs/.vitepress/dist/assets/en-US_command_index.md.BcfYYpex.js @@ -1 +1 @@ -import{_ as n,c as o,o as l,j as e,a as t}from"./chunks/framework.DB6FXu2X.js";const x=JSON.parse('{"title":"About PSCompletions(psc) command","description":"","frontmatter":{"title":"About PSCompletions(psc) command","next":{"text":"About PR (Pull Request)","link":"../contribute/index.md"}},"headers":[],"relativePath":"en-US/command/index.md","filePath":"en-US/command/index.md"}'),i={name:"en-US/command/index.md"},a=e("ul",null,[e("li",null,[t("Waiting... "),e("ul",null,[e("li",null,[t("You can trigger completion by running "),e("code",null,"psc"),t(", then learn about them by completion tip.")]),e("li",null,"View the README file of PSCompletions."),e("li",null,"Enter 'psc' and press 'Enter' to print some module information")])])],-1),s=[a];function c(r,m,d,u,p,_){return l(),o("div",null,s)}const h=n(i,[["render",c]]);export{x as __pageData,h as default}; +import{_ as n,c as o,o as l,j as e,a as t}from"./chunks/framework.B_akP0Gx.js";const x=JSON.parse('{"title":"About PSCompletions(psc) command","description":"","frontmatter":{"title":"About PSCompletions(psc) command","next":{"text":"About PR (Pull Request)","link":"../contribute/index.md"}},"headers":[],"relativePath":"en-US/command/index.md","filePath":"en-US/command/index.md"}'),i={name:"en-US/command/index.md"},a=e("ul",null,[e("li",null,[t("Waiting... "),e("ul",null,[e("li",null,[t("You can trigger completion by running "),e("code",null,"psc"),t(", then learn about them by completion tip.")]),e("li",null,"View the README file of PSCompletions."),e("li",null,"Enter 'psc' and press 'Enter' to print some module information")])])],-1),s=[a];function c(r,m,d,u,p,_){return l(),o("div",null,s)}const h=n(i,[["render",c]]);export{x as __pageData,h as default}; diff --git a/docs/.vitepress/dist/assets/en-US_command_index.md.CKIFimfs.lean.js b/docs/.vitepress/dist/assets/en-US_command_index.md.BcfYYpex.lean.js similarity index 92% rename from docs/.vitepress/dist/assets/en-US_command_index.md.CKIFimfs.lean.js rename to docs/.vitepress/dist/assets/en-US_command_index.md.BcfYYpex.lean.js index 757307c..b7e20db 100644 --- a/docs/.vitepress/dist/assets/en-US_command_index.md.CKIFimfs.lean.js +++ b/docs/.vitepress/dist/assets/en-US_command_index.md.BcfYYpex.lean.js @@ -1 +1 @@ -import{_ as n,c as o,o as l,j as e,a as t}from"./chunks/framework.DB6FXu2X.js";const x=JSON.parse('{"title":"About PSCompletions(psc) command","description":"","frontmatter":{"title":"About PSCompletions(psc) command","next":{"text":"About PR (Pull Request)","link":"../contribute/index.md"}},"headers":[],"relativePath":"en-US/command/index.md","filePath":"en-US/command/index.md"}'),i={name:"en-US/command/index.md"},a=e("ul",null,[e("li",null,[t("Waiting... "),e("ul",null,[e("li",null,[t("You can trigger completion by running "),e("code",null,"psc"),t(", then learn about them by completion tip.")]),e("li",null,"View the README file of PSCompletions."),e("li",null,"Enter 'psc' and press 'Enter' to print some module information")])])],-1),s=[a];function c(r,m,d,u,p,_){return l(),o("div",null,s)}const h=n(i,[["render",c]]);export{x as __pageData,h as default}; +import{_ as n,c as o,o as l,j as e,a as t}from"./chunks/framework.B_akP0Gx.js";const x=JSON.parse('{"title":"About PSCompletions(psc) command","description":"","frontmatter":{"title":"About PSCompletions(psc) command","next":{"text":"About PR (Pull Request)","link":"../contribute/index.md"}},"headers":[],"relativePath":"en-US/command/index.md","filePath":"en-US/command/index.md"}'),i={name:"en-US/command/index.md"},a=e("ul",null,[e("li",null,[t("Waiting... "),e("ul",null,[e("li",null,[t("You can trigger completion by running "),e("code",null,"psc"),t(", then learn about them by completion tip.")]),e("li",null,"View the README file of PSCompletions."),e("li",null,"Enter 'psc' and press 'Enter' to print some module information")])])],-1),s=[a];function c(r,m,d,u,p,_){return l(),o("div",null,s)}const h=n(i,[["render",c]]);export{x as __pageData,h as default}; diff --git a/docs/.vitepress/dist/assets/en-US_completion_index.md.Dh3M6QEZ.js b/docs/.vitepress/dist/assets/en-US_completion_index.md.BfszwC9v.js similarity index 99% rename from docs/.vitepress/dist/assets/en-US_completion_index.md.Dh3M6QEZ.js rename to docs/.vitepress/dist/assets/en-US_completion_index.md.BfszwC9v.js index 2b59e74..90390e6 100644 --- a/docs/.vitepress/dist/assets/en-US_completion_index.md.Dh3M6QEZ.js +++ b/docs/.vitepress/dist/assets/en-US_completion_index.md.BfszwC9v.js @@ -1,4 +1,4 @@ -import{_ as s,c as i,o as a,a4 as t}from"./chunks/framework.DB6FXu2X.js";const u=JSON.parse('{"title":"About the structure of json file","description":"","frontmatter":{"title":"About the structure of json file","next":{"text":"About PR (Pull Request)","link":"../contribute/index.md"}},"headers":[],"relativePath":"en-US/completion/index.md","filePath":"en-US/completion/index.md"}'),n={name:"en-US/completion/index.md"},l=t(`

About the structure of json file

json
{
+import{_ as s,c as i,o as a,a4 as t}from"./chunks/framework.B_akP0Gx.js";const u=JSON.parse('{"title":"About the structure of json file","description":"","frontmatter":{"title":"About the structure of json file","next":{"text":"About PR (Pull Request)","link":"../contribute/index.md"}},"headers":[],"relativePath":"en-US/completion/index.md","filePath":"en-US/completion/index.md"}'),n={name:"en-US/completion/index.md"},l=t(`

About the structure of json file

json
{
 	"root": [],
 	"options": [],
 	"common_options": [],
diff --git a/docs/.vitepress/dist/assets/en-US_completion_index.md.Dh3M6QEZ.lean.js b/docs/.vitepress/dist/assets/en-US_completion_index.md.BfszwC9v.lean.js
similarity index 76%
rename from docs/.vitepress/dist/assets/en-US_completion_index.md.Dh3M6QEZ.lean.js
rename to docs/.vitepress/dist/assets/en-US_completion_index.md.BfszwC9v.lean.js
index eda2c4c..2a79310 100644
--- a/docs/.vitepress/dist/assets/en-US_completion_index.md.Dh3M6QEZ.lean.js
+++ b/docs/.vitepress/dist/assets/en-US_completion_index.md.BfszwC9v.lean.js
@@ -1 +1 @@
-import{_ as s,c as i,o as a,a4 as t}from"./chunks/framework.DB6FXu2X.js";const u=JSON.parse('{"title":"About the structure of json file","description":"","frontmatter":{"title":"About the structure of json file","next":{"text":"About PR (Pull Request)","link":"../contribute/index.md"}},"headers":[],"relativePath":"en-US/completion/index.md","filePath":"en-US/completion/index.md"}'),n={name:"en-US/completion/index.md"},l=t("",14),e=[l];function p(h,k,o,E,d,r){return a(),i("div",null,e)}const g=s(n,[["render",p]]);export{u as __pageData,g as default};
+import{_ as s,c as i,o as a,a4 as t}from"./chunks/framework.B_akP0Gx.js";const u=JSON.parse('{"title":"About the structure of json file","description":"","frontmatter":{"title":"About the structure of json file","next":{"text":"About PR (Pull Request)","link":"../contribute/index.md"}},"headers":[],"relativePath":"en-US/completion/index.md","filePath":"en-US/completion/index.md"}'),n={name:"en-US/completion/index.md"},l=t("",14),e=[l];function p(h,k,o,E,d,r){return a(),i("div",null,e)}const g=s(n,[["render",p]]);export{u as __pageData,g as default};
diff --git a/docs/.vitepress/dist/assets/en-US_contribute_index.md.BlZTt-Qm.js b/docs/.vitepress/dist/assets/en-US_contribute_index.md.CZkuqYql.js
similarity index 96%
rename from docs/.vitepress/dist/assets/en-US_contribute_index.md.BlZTt-Qm.js
rename to docs/.vitepress/dist/assets/en-US_contribute_index.md.CZkuqYql.js
index 86fcd2e..b703333 100644
--- a/docs/.vitepress/dist/assets/en-US_contribute_index.md.BlZTt-Qm.js
+++ b/docs/.vitepress/dist/assets/en-US_contribute_index.md.CZkuqYql.js
@@ -1 +1 @@
-import{_ as e,c as o,o as t,a4 as i}from"./chunks/framework.DB6FXu2X.js";const f=JSON.parse('{"title":"About PR (Pull Request)","description":"","frontmatter":{"title":"About PR (Pull Request)","prev":{"text":"About the structure of json file","link":"../completion/index.md"}},"headers":[],"relativePath":"en-US/contribute/index.md","filePath":"en-US/contribute/index.md"}'),l={name:"en-US/contribute/index.md"},n=i('

About PR (Pull Request)

  1. Prerequisite: You should read About the structure of completion json file first.
  2. You should fork PSCompletions, and clone to your machine.
  3. After Changing, you should commit and create the PR.

1. Update the content of completion json file

  • Patch some tips of the completion.(tip attributes)
  • Add some missing parts for the completion.
    • The missing parts can be viewed by using the compareJson.ps1 script.
      • Take git for example.
      • You can view the missing parts of the zh-CN.json file (Compared to the en-US.json file) by using the following command.
        • .\\script\\compareJson.ps1 .\\completions\\git\\language\\zh-CN.json .\\completions\\git\\language\\en-US.json
      • If it's compared to the first language configured in config.json, the second parameter can also be omitted.
        • It's usually compared to the first language, so the following commands are the most common usage.
        • .\\script\\compareJson.ps1 .\\completions\\git\\language\\zh-CN.json

2. Add language

  1. In the completions directory, select the language you want to add.
  2. Add the language identifier to the language in the config.json file.
  3. Add a json file with the same name as the language identifier in the language directory.
    • You can copy the original json file and rename it.
  4. Translate the contents of the tip attribute.

3. Add a new completion

  1. Run it in the project root directory. .\\script\\create.ps1
    • For the convenience of debugging, create.ps1 will link the created completion directory to the completions directory of the PSCompletions module.
      • So PSCompletions module must be installed and imported before running create.ps1.
        • Install-Module PSCompletions -Scope CurrentUser
        • Import-Module PSCompletions
    • After the PR is committed and merged, you should use psc rm to remove this completion and psc add to re-add it.
  2. Follow the prompts.
  3. Modify the new completion.
  4. Modify config.json as required.
',8),a=[n];function c(d,r,s,u,h,p){return t(),o("div",null,a)}const g=e(l,[["render",c]]);export{f as __pageData,g as default}; +import{_ as e,c as o,o as t,a4 as i}from"./chunks/framework.B_akP0Gx.js";const f=JSON.parse('{"title":"About PR (Pull Request)","description":"","frontmatter":{"title":"About PR (Pull Request)","prev":{"text":"About the structure of json file","link":"../completion/index.md"}},"headers":[],"relativePath":"en-US/contribute/index.md","filePath":"en-US/contribute/index.md"}'),l={name:"en-US/contribute/index.md"},n=i('

About PR (Pull Request)

  1. Prerequisite: You should read About the structure of completion json file first.
  2. You should fork PSCompletions, and clone to your machine.
  3. After Changing, you should commit and create the PR.

1. Update the content of completion json file

  • Patch some tips of the completion.(tip attributes)
  • Add some missing parts for the completion.
    • The missing parts can be viewed by using the compareJson.ps1 script.
      • Take git for example.
      • You can view the missing parts of the zh-CN.json file (Compared to the en-US.json file) by using the following command.
        • .\\script\\compareJson.ps1 .\\completions\\git\\language\\zh-CN.json .\\completions\\git\\language\\en-US.json
      • If it's compared to the first language configured in config.json, the second parameter can also be omitted.
        • It's usually compared to the first language, so the following commands are the most common usage.
        • .\\script\\compareJson.ps1 .\\completions\\git\\language\\zh-CN.json

2. Add language

  1. In the completions directory, select the language you want to add.
  2. Add the language identifier to the language in the config.json file.
  3. Add a json file with the same name as the language identifier in the language directory.
    • You can copy the original json file and rename it.
  4. Translate the contents of the tip attribute.

3. Add a new completion

  1. Run it in the project root directory. .\\script\\create.ps1
    • For the convenience of debugging, create.ps1 will link the created completion directory to the completions directory of the PSCompletions module.
      • So PSCompletions module must be installed and imported before running create.ps1.
        • Install-Module PSCompletions -Scope CurrentUser
        • Import-Module PSCompletions
    • After the PR is committed and merged, you should use psc rm to remove this completion and psc add to re-add it.
  2. Follow the prompts.
  3. Modify the new completion.
  4. Modify config.json as required.
',8),a=[n];function c(d,r,s,u,h,p){return t(),o("div",null,a)}const g=e(l,[["render",c]]);export{f as __pageData,g as default}; diff --git a/assets/en-US_contribute_index.md.BlZTt-Qm.lean.js b/docs/.vitepress/dist/assets/en-US_contribute_index.md.CZkuqYql.lean.js similarity index 76% rename from assets/en-US_contribute_index.md.BlZTt-Qm.lean.js rename to docs/.vitepress/dist/assets/en-US_contribute_index.md.CZkuqYql.lean.js index 38b8caa..7ae4ea6 100644 --- a/assets/en-US_contribute_index.md.BlZTt-Qm.lean.js +++ b/docs/.vitepress/dist/assets/en-US_contribute_index.md.CZkuqYql.lean.js @@ -1 +1 @@ -import{_ as e,c as o,o as t,a4 as i}from"./chunks/framework.DB6FXu2X.js";const f=JSON.parse('{"title":"About PR (Pull Request)","description":"","frontmatter":{"title":"About PR (Pull Request)","prev":{"text":"About the structure of json file","link":"../completion/index.md"}},"headers":[],"relativePath":"en-US/contribute/index.md","filePath":"en-US/contribute/index.md"}'),l={name:"en-US/contribute/index.md"},n=i("",8),a=[n];function c(d,r,s,u,h,p){return t(),o("div",null,a)}const g=e(l,[["render",c]]);export{f as __pageData,g as default}; +import{_ as e,c as o,o as t,a4 as i}from"./chunks/framework.B_akP0Gx.js";const f=JSON.parse('{"title":"About PR (Pull Request)","description":"","frontmatter":{"title":"About PR (Pull Request)","prev":{"text":"About the structure of json file","link":"../completion/index.md"}},"headers":[],"relativePath":"en-US/contribute/index.md","filePath":"en-US/contribute/index.md"}'),l={name:"en-US/contribute/index.md"},n=i("",8),a=[n];function c(d,r,s,u,h,p){return t(),o("div",null,a)}const g=e(l,[["render",c]]);export{f as __pageData,g as default}; diff --git a/docs/.vitepress/dist/assets/en-US_index.md.C8sqqHFW.js b/docs/.vitepress/dist/assets/en-US_index.md.BB8a14k1.js similarity index 94% rename from docs/.vitepress/dist/assets/en-US_index.md.C8sqqHFW.js rename to docs/.vitepress/dist/assets/en-US_index.md.BB8a14k1.js index f68e1a8..9cc0743 100644 --- a/docs/.vitepress/dist/assets/en-US_index.md.C8sqqHFW.js +++ b/docs/.vitepress/dist/assets/en-US_index.md.BB8a14k1.js @@ -1 +1 @@ -import{_ as e,c as t,o as n}from"./chunks/framework.DB6FXu2X.js";const u=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"PSCompletions","tagline":"A completion manager for better and simpler use completions in PowerShell.","actions":[{"theme":"brand","text":"About module command","link":"en-US/command"},{"theme":"alt","text":"About the structure of json file","link":"en-US/completion"},{"theme":"alt","text":"About PR (Pull Request)","link":"en-US/contribute"}]},"features":[{"title":"Multi-language","details":"Switch between languages(zh-CN,en-US...) freely."},{"title":"Sort dynamically","details":"Sort completion tab dynamically by frequency of use."},{"title":"New Completions menu","details":"The module provides a more useful completion menu"},{"title":"Base-in-json","details":"Define completion data from json files."}]},"headers":[],"relativePath":"en-US/index.md","filePath":"en-US/index.md"}'),o={name:"en-US/index.md"};function a(l,i,s,m,r,c){return n(),t("div")}const p=e(o,[["render",a]]);export{u as __pageData,p as default}; +import{_ as e,c as t,o as n}from"./chunks/framework.B_akP0Gx.js";const u=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"PSCompletions","tagline":"A completion manager for better and simpler use completions in PowerShell.","actions":[{"theme":"brand","text":"About module command","link":"en-US/command"},{"theme":"alt","text":"About the structure of json file","link":"en-US/completion"},{"theme":"alt","text":"About PR (Pull Request)","link":"en-US/contribute"}]},"features":[{"title":"Multi-language","details":"Switch between languages(zh-CN,en-US...) freely."},{"title":"Sort dynamically","details":"Sort completion tab dynamically by frequency of use."},{"title":"New Completions menu","details":"The module provides a more useful completion menu"},{"title":"Base-in-json","details":"Define completion data from json files."}]},"headers":[],"relativePath":"en-US/index.md","filePath":"en-US/index.md"}'),o={name:"en-US/index.md"};function a(l,i,s,m,r,c){return n(),t("div")}const p=e(o,[["render",a]]);export{u as __pageData,p as default}; diff --git a/docs/.vitepress/dist/assets/en-US_index.md.C8sqqHFW.lean.js b/docs/.vitepress/dist/assets/en-US_index.md.BB8a14k1.lean.js similarity index 94% rename from docs/.vitepress/dist/assets/en-US_index.md.C8sqqHFW.lean.js rename to docs/.vitepress/dist/assets/en-US_index.md.BB8a14k1.lean.js index f68e1a8..9cc0743 100644 --- a/docs/.vitepress/dist/assets/en-US_index.md.C8sqqHFW.lean.js +++ b/docs/.vitepress/dist/assets/en-US_index.md.BB8a14k1.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o as n}from"./chunks/framework.DB6FXu2X.js";const u=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"PSCompletions","tagline":"A completion manager for better and simpler use completions in PowerShell.","actions":[{"theme":"brand","text":"About module command","link":"en-US/command"},{"theme":"alt","text":"About the structure of json file","link":"en-US/completion"},{"theme":"alt","text":"About PR (Pull Request)","link":"en-US/contribute"}]},"features":[{"title":"Multi-language","details":"Switch between languages(zh-CN,en-US...) freely."},{"title":"Sort dynamically","details":"Sort completion tab dynamically by frequency of use."},{"title":"New Completions menu","details":"The module provides a more useful completion menu"},{"title":"Base-in-json","details":"Define completion data from json files."}]},"headers":[],"relativePath":"en-US/index.md","filePath":"en-US/index.md"}'),o={name:"en-US/index.md"};function a(l,i,s,m,r,c){return n(),t("div")}const p=e(o,[["render",a]]);export{u as __pageData,p as default}; +import{_ as e,c as t,o as n}from"./chunks/framework.B_akP0Gx.js";const u=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"PSCompletions","tagline":"A completion manager for better and simpler use completions in PowerShell.","actions":[{"theme":"brand","text":"About module command","link":"en-US/command"},{"theme":"alt","text":"About the structure of json file","link":"en-US/completion"},{"theme":"alt","text":"About PR (Pull Request)","link":"en-US/contribute"}]},"features":[{"title":"Multi-language","details":"Switch between languages(zh-CN,en-US...) freely."},{"title":"Sort dynamically","details":"Sort completion tab dynamically by frequency of use."},{"title":"New Completions menu","details":"The module provides a more useful completion menu"},{"title":"Base-in-json","details":"Define completion data from json files."}]},"headers":[],"relativePath":"en-US/index.md","filePath":"en-US/index.md"}'),o={name:"en-US/index.md"};function a(l,i,s,m,r,c){return n(),t("div")}const p=e(o,[["render",a]]);export{u as __pageData,p as default}; diff --git a/docs/.vitepress/dist/assets/zh-CN_command_index.md.BaqRKLE_.js b/docs/.vitepress/dist/assets/zh-CN_command_index.md.BNQJ4qKY.js similarity index 85% rename from docs/.vitepress/dist/assets/zh-CN_command_index.md.BaqRKLE_.js rename to docs/.vitepress/dist/assets/zh-CN_command_index.md.BNQJ4qKY.js index 4440c6f..3905448 100644 --- a/docs/.vitepress/dist/assets/zh-CN_command_index.md.BaqRKLE_.js +++ b/docs/.vitepress/dist/assets/zh-CN_command_index.md.BNQJ4qKY.js @@ -1 +1 @@ -import{_ as n,c as l,o,j as e,a as t}from"./chunks/framework.DB6FXu2X.js";const h=JSON.parse('{"title":"模块命令","description":"","frontmatter":{"title":"模块命令","next":{"text":"关于 PR (Pull Request)","link":"../contribute/index.md"}},"headers":[],"relativePath":"zh-CN/command/index.md","filePath":"zh-CN/command/index.md"}'),a={name:"zh-CN/command/index.md"},c=e("ul",null,[e("li",null,[t("等待补充... "),e("ul",null,[e("li",null,[t("可以使用 "),e("code",null,"psc"),t(" 触发补全,通过补全提示信息了解模块命令")]),e("li",null,"通过项目的 README 了解"),e("li",null,[t("输入 "),e("code",null,"psc"),t(" 后 按下 "),e("code",null,"enter"),t(",将会打印一些模块信息")])])])],-1),d=[c];function s(i,r,u,m,_,p){return o(),l("div",null,d)}const f=n(a,[["render",s]]);export{h as __pageData,f as default}; +import{_ as n,c as l,o,j as e,a as t}from"./chunks/framework.B_akP0Gx.js";const h=JSON.parse('{"title":"模块命令","description":"","frontmatter":{"title":"模块命令","next":{"text":"关于 PR (Pull Request)","link":"../contribute/index.md"}},"headers":[],"relativePath":"zh-CN/command/index.md","filePath":"zh-CN/command/index.md"}'),a={name:"zh-CN/command/index.md"},c=e("ul",null,[e("li",null,[t("等待补充... "),e("ul",null,[e("li",null,[t("可以使用 "),e("code",null,"psc"),t(" 触发补全,通过补全提示信息了解模块命令")]),e("li",null,"通过项目的 README 了解"),e("li",null,[t("输入 "),e("code",null,"psc"),t(" 后 按下 "),e("code",null,"enter"),t(",将会打印一些模块信息")])])])],-1),d=[c];function s(i,r,u,m,_,p){return o(),l("div",null,d)}const f=n(a,[["render",s]]);export{h as __pageData,f as default}; diff --git a/docs/.vitepress/dist/assets/zh-CN_command_index.md.BaqRKLE_.lean.js b/docs/.vitepress/dist/assets/zh-CN_command_index.md.BNQJ4qKY.lean.js similarity index 85% rename from docs/.vitepress/dist/assets/zh-CN_command_index.md.BaqRKLE_.lean.js rename to docs/.vitepress/dist/assets/zh-CN_command_index.md.BNQJ4qKY.lean.js index 4440c6f..3905448 100644 --- a/docs/.vitepress/dist/assets/zh-CN_command_index.md.BaqRKLE_.lean.js +++ b/docs/.vitepress/dist/assets/zh-CN_command_index.md.BNQJ4qKY.lean.js @@ -1 +1 @@ -import{_ as n,c as l,o,j as e,a as t}from"./chunks/framework.DB6FXu2X.js";const h=JSON.parse('{"title":"模块命令","description":"","frontmatter":{"title":"模块命令","next":{"text":"关于 PR (Pull Request)","link":"../contribute/index.md"}},"headers":[],"relativePath":"zh-CN/command/index.md","filePath":"zh-CN/command/index.md"}'),a={name:"zh-CN/command/index.md"},c=e("ul",null,[e("li",null,[t("等待补充... "),e("ul",null,[e("li",null,[t("可以使用 "),e("code",null,"psc"),t(" 触发补全,通过补全提示信息了解模块命令")]),e("li",null,"通过项目的 README 了解"),e("li",null,[t("输入 "),e("code",null,"psc"),t(" 后 按下 "),e("code",null,"enter"),t(",将会打印一些模块信息")])])])],-1),d=[c];function s(i,r,u,m,_,p){return o(),l("div",null,d)}const f=n(a,[["render",s]]);export{h as __pageData,f as default}; +import{_ as n,c as l,o,j as e,a as t}from"./chunks/framework.B_akP0Gx.js";const h=JSON.parse('{"title":"模块命令","description":"","frontmatter":{"title":"模块命令","next":{"text":"关于 PR (Pull Request)","link":"../contribute/index.md"}},"headers":[],"relativePath":"zh-CN/command/index.md","filePath":"zh-CN/command/index.md"}'),a={name:"zh-CN/command/index.md"},c=e("ul",null,[e("li",null,[t("等待补充... "),e("ul",null,[e("li",null,[t("可以使用 "),e("code",null,"psc"),t(" 触发补全,通过补全提示信息了解模块命令")]),e("li",null,"通过项目的 README 了解"),e("li",null,[t("输入 "),e("code",null,"psc"),t(" 后 按下 "),e("code",null,"enter"),t(",将会打印一些模块信息")])])])],-1),d=[c];function s(i,r,u,m,_,p){return o(),l("div",null,d)}const f=n(a,[["render",s]]);export{h as __pageData,f as default}; diff --git a/docs/.vitepress/dist/assets/zh-CN_completion_index.md.DS0KjFYa.js b/docs/.vitepress/dist/assets/zh-CN_completion_index.md.j7b7p8SA.js similarity index 99% rename from docs/.vitepress/dist/assets/zh-CN_completion_index.md.DS0KjFYa.js rename to docs/.vitepress/dist/assets/zh-CN_completion_index.md.j7b7p8SA.js index 0b3d9fe..4f9a920 100644 --- a/docs/.vitepress/dist/assets/zh-CN_completion_index.md.DS0KjFYa.js +++ b/docs/.vitepress/dist/assets/zh-CN_completion_index.md.j7b7p8SA.js @@ -1,4 +1,4 @@ -import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.DB6FXu2X.js";const g=JSON.parse('{"title":"关于补全的 json 文件结构","description":"","frontmatter":{"title":"关于补全的 json 文件结构","next":{"text":"关于 PR (Pull Request)","link":"../contribute/index.md"}},"headers":[],"relativePath":"zh-CN/completion/index.md","filePath":"zh-CN/completion/index.md"}'),t={name:"zh-CN/completion/index.md"},l=n(`

关于补全的 json 文件结构

json
{
+import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.B_akP0Gx.js";const g=JSON.parse('{"title":"关于补全的 json 文件结构","description":"","frontmatter":{"title":"关于补全的 json 文件结构","next":{"text":"关于 PR (Pull Request)","link":"../contribute/index.md"}},"headers":[],"relativePath":"zh-CN/completion/index.md","filePath":"zh-CN/completion/index.md"}'),t={name:"zh-CN/completion/index.md"},l=n(`

关于补全的 json 文件结构

json
{
 	"root": [],
 	"options": [],
 	"common_options": [],
diff --git a/docs/.vitepress/dist/assets/zh-CN_completion_index.md.DS0KjFYa.lean.js b/docs/.vitepress/dist/assets/zh-CN_completion_index.md.j7b7p8SA.lean.js
similarity index 77%
rename from docs/.vitepress/dist/assets/zh-CN_completion_index.md.DS0KjFYa.lean.js
rename to docs/.vitepress/dist/assets/zh-CN_completion_index.md.j7b7p8SA.lean.js
index 55003bc..a926f4d 100644
--- a/docs/.vitepress/dist/assets/zh-CN_completion_index.md.DS0KjFYa.lean.js
+++ b/docs/.vitepress/dist/assets/zh-CN_completion_index.md.j7b7p8SA.lean.js
@@ -1 +1 @@
-import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.DB6FXu2X.js";const g=JSON.parse('{"title":"关于补全的 json 文件结构","description":"","frontmatter":{"title":"关于补全的 json 文件结构","next":{"text":"关于 PR (Pull Request)","link":"../contribute/index.md"}},"headers":[],"relativePath":"zh-CN/completion/index.md","filePath":"zh-CN/completion/index.md"}'),t={name:"zh-CN/completion/index.md"},l=n("",14),p=[l];function h(k,e,o,E,d,c){return a(),i("div",null,p)}const u=s(t,[["render",h]]);export{g as __pageData,u as default};
+import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.B_akP0Gx.js";const g=JSON.parse('{"title":"关于补全的 json 文件结构","description":"","frontmatter":{"title":"关于补全的 json 文件结构","next":{"text":"关于 PR (Pull Request)","link":"../contribute/index.md"}},"headers":[],"relativePath":"zh-CN/completion/index.md","filePath":"zh-CN/completion/index.md"}'),t={name:"zh-CN/completion/index.md"},l=n("",14),p=[l];function h(k,e,o,E,d,c){return a(),i("div",null,p)}const u=s(t,[["render",h]]);export{g as __pageData,u as default};
diff --git a/docs/.vitepress/dist/assets/zh-CN_contribute_index.md.AvCKd1oU.js b/docs/.vitepress/dist/assets/zh-CN_contribute_index.md.jyh4Tg9u.js
similarity index 96%
rename from docs/.vitepress/dist/assets/zh-CN_contribute_index.md.AvCKd1oU.js
rename to docs/.vitepress/dist/assets/zh-CN_contribute_index.md.jyh4Tg9u.js
index 48e9aa9..1984095 100644
--- a/docs/.vitepress/dist/assets/zh-CN_contribute_index.md.AvCKd1oU.js
+++ b/docs/.vitepress/dist/assets/zh-CN_contribute_index.md.jyh4Tg9u.js
@@ -1 +1 @@
-import{_ as e,c as o,o as l,a4 as i}from"./chunks/framework.DB6FXu2X.js";const m=JSON.parse('{"title":"关于 PR (Pull Request)","description":"","frontmatter":{"title":"关于 PR (Pull Request)","prev":{"text":"关于补全的 json 文件结构","link":"../completion/index.md"}},"headers":[],"relativePath":"zh-CN/contribute/index.md","filePath":"zh-CN/contribute/index.md"}'),c={name:"zh-CN/contribute/index.md"},t=i('

关于 PR (Pull Request)

  1. 前提: 你应该先阅读 关于补全的 json 文件结构
  2. 你应该 fork PSCompletions 仓库,克隆到本地进行修改
  3. 只要到补全文件进行了修改,都需要更新其目录下的 guid.txt 文件
    • 你可以手动运行 New-Guid 生成,将值填入此文件中
    • 也可以直接运行 .\\script\\updateGuid.ps1,在弹出的 PowerShell 列表框中,选择此补全,并应用修改即可
  4. 修改完成后,提交并创建 PR

1. 更新 json 文件内容

  • 完善补全的一些提示信息(tip 属性)
  • 添加补全的一些缺失的命令
    • 可以通过 .\\script\\compareJson.ps1 脚本来查看未完成的部分
      • git 举例
      • 你可以使用以下命令查看 zh-CN.json 文件缺少的属性(相较于 en-US.json 文件)
        • .\\script\\compareJson.ps1 .\\completions\\git\\language\\zh-CN.json .\\completions\\git\\language\\en-US.json
      • 如果是和 config.json 中配置的第一个语言对比,也可以省略第二个参数
        • 一般都是和第一个语言对比,所以以下命令是最常见的用法
        • .\\script\\compareJson.ps1 .\\completions\\git\\language\\zh-CN.json

2. 添加语言

  1. 在项目的 completions 目录中找到你想要添加语言的补全
  2. 在其目录下的 config.json 文件中的 language 属性里添加像 zh-CN 这样的语言标识符
  3. language 目录下添加与语言标识符同名的 json 文件
    • 你可以将原有的一个 json 文件直接复制,改名即可
  4. 翻译其中的 tip 属性的内容即可

3. 添加一个全新的命令补全

  1. 在项目根目录下运行 .\\script\\create.ps1
    • 为了调试方便,create.ps1 会将创建的补全目录链接到实际 PSCompletionscompletions 目录下
      • 因此,必须先安装并导入 PSCompletions 模块,然后再运行 create.ps1
        • Install-Module PSCompletions -Scope CurrentUser
        • Import-Module PSCompletions
    • 当提交 PR 并被合并后,你应该使用 psc rm 移除掉此补全,并使用 psc add 重新添加
  2. 根据提示进行操作
  3. 修改新创建的补全
  4. 根据需求修改 config.json
',8),d=[t];function a(n,s,r,u,p,h){return l(),o("div",null,d)}const P=e(c,[["render",a]]);export{m as __pageData,P as default}; +import{_ as e,c as o,o as l,a4 as i}from"./chunks/framework.B_akP0Gx.js";const m=JSON.parse('{"title":"关于 PR (Pull Request)","description":"","frontmatter":{"title":"关于 PR (Pull Request)","prev":{"text":"关于补全的 json 文件结构","link":"../completion/index.md"}},"headers":[],"relativePath":"zh-CN/contribute/index.md","filePath":"zh-CN/contribute/index.md"}'),c={name:"zh-CN/contribute/index.md"},t=i('

关于 PR (Pull Request)

  1. 前提: 你应该先阅读 关于补全的 json 文件结构
  2. 你应该 fork PSCompletions 仓库,克隆到本地进行修改
  3. 只要到补全文件进行了修改,都需要更新其目录下的 guid.txt 文件
    • 你可以手动运行 New-Guid 生成,将值填入此文件中
    • 也可以直接运行 .\\script\\updateGuid.ps1,在弹出的 PowerShell 列表框中,选择此补全,并应用修改即可
  4. 修改完成后,提交并创建 PR

1. 更新 json 文件内容

  • 完善补全的一些提示信息(tip 属性)
  • 添加补全的一些缺失的命令
    • 可以通过 .\\script\\compareJson.ps1 脚本来查看未完成的部分
      • git 举例
      • 你可以使用以下命令查看 zh-CN.json 文件缺少的属性(相较于 en-US.json 文件)
        • .\\script\\compareJson.ps1 .\\completions\\git\\language\\zh-CN.json .\\completions\\git\\language\\en-US.json
      • 如果是和 config.json 中配置的第一个语言对比,也可以省略第二个参数
        • 一般都是和第一个语言对比,所以以下命令是最常见的用法
        • .\\script\\compareJson.ps1 .\\completions\\git\\language\\zh-CN.json

2. 添加语言

  1. 在项目的 completions 目录中找到你想要添加语言的补全
  2. 在其目录下的 config.json 文件中的 language 属性里添加像 zh-CN 这样的语言标识符
  3. language 目录下添加与语言标识符同名的 json 文件
    • 你可以将原有的一个 json 文件直接复制,改名即可
  4. 翻译其中的 tip 属性的内容即可

3. 添加一个全新的命令补全

  1. 在项目根目录下运行 .\\script\\create.ps1
    • 为了调试方便,create.ps1 会将创建的补全目录链接到实际 PSCompletionscompletions 目录下
      • 因此,必须先安装并导入 PSCompletions 模块,然后再运行 create.ps1
        • Install-Module PSCompletions -Scope CurrentUser
        • Import-Module PSCompletions
    • 当提交 PR 并被合并后,你应该使用 psc rm 移除掉此补全,并使用 psc add 重新添加
  2. 根据提示进行操作
  3. 修改新创建的补全
  4. 根据需求修改 config.json
',8),d=[t];function a(n,s,r,u,p,h){return l(),o("div",null,d)}const P=e(c,[["render",a]]);export{m as __pageData,P as default}; diff --git a/docs/.vitepress/dist/assets/zh-CN_contribute_index.md.AvCKd1oU.lean.js b/docs/.vitepress/dist/assets/zh-CN_contribute_index.md.jyh4Tg9u.lean.js similarity index 76% rename from docs/.vitepress/dist/assets/zh-CN_contribute_index.md.AvCKd1oU.lean.js rename to docs/.vitepress/dist/assets/zh-CN_contribute_index.md.jyh4Tg9u.lean.js index 4e2592d..fe7e92b 100644 --- a/docs/.vitepress/dist/assets/zh-CN_contribute_index.md.AvCKd1oU.lean.js +++ b/docs/.vitepress/dist/assets/zh-CN_contribute_index.md.jyh4Tg9u.lean.js @@ -1 +1 @@ -import{_ as e,c as o,o as l,a4 as i}from"./chunks/framework.DB6FXu2X.js";const m=JSON.parse('{"title":"关于 PR (Pull Request)","description":"","frontmatter":{"title":"关于 PR (Pull Request)","prev":{"text":"关于补全的 json 文件结构","link":"../completion/index.md"}},"headers":[],"relativePath":"zh-CN/contribute/index.md","filePath":"zh-CN/contribute/index.md"}'),c={name:"zh-CN/contribute/index.md"},t=i("",8),d=[t];function a(n,s,r,u,p,h){return l(),o("div",null,d)}const P=e(c,[["render",a]]);export{m as __pageData,P as default}; +import{_ as e,c as o,o as l,a4 as i}from"./chunks/framework.B_akP0Gx.js";const m=JSON.parse('{"title":"关于 PR (Pull Request)","description":"","frontmatter":{"title":"关于 PR (Pull Request)","prev":{"text":"关于补全的 json 文件结构","link":"../completion/index.md"}},"headers":[],"relativePath":"zh-CN/contribute/index.md","filePath":"zh-CN/contribute/index.md"}'),c={name:"zh-CN/contribute/index.md"},t=i("",8),d=[t];function a(n,s,r,u,p,h){return l(),o("div",null,d)}const P=e(c,[["render",a]]);export{m as __pageData,P as default}; diff --git a/docs/.vitepress/dist/assets/zh-CN_index.md.93AZYhFN.js b/docs/.vitepress/dist/assets/zh-CN_index.md.DhCVGxik.js similarity index 94% rename from docs/.vitepress/dist/assets/zh-CN_index.md.93AZYhFN.js rename to docs/.vitepress/dist/assets/zh-CN_index.md.DhCVGxik.js index 9ee6ee7..d00fa4c 100644 --- a/docs/.vitepress/dist/assets/zh-CN_index.md.93AZYhFN.js +++ b/docs/.vitepress/dist/assets/zh-CN_index.md.DhCVGxik.js @@ -1 +1 @@ -import{_ as e,c as t,o as a}from"./chunks/framework.DB6FXu2X.js";const h=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"PSCompletions","tagline":"一个补全管理模块,它能让你在 PowerShell 中更简单、更方便地使用命令补全。","actions":[{"theme":"brand","text":"关于模块的命令","link":"zh-CN/command"},{"theme":"alt","text":"关于补全的 json 文件结构","link":"zh-CN/completion"},{"theme":"alt","text":"关于 PR (Pull Request)","link":"zh-CN/contribute"}]},"features":[{"title":"多语言","details":"支持多种语言,你可以随意在这些语言中切换"},{"title":"动态排序","details":"补全会根据命令输入的历史纪录动态排序,让你能够更快、更舒适的获取命令补全"},{"title":"灵活的补全菜单","details":"模块提供了一个补全菜单,它比 PowerShell 自带的补全菜单更方便、更好用"},{"title":"补全基于 json","details":"模块通过 json 文件去定义补全的数据"}]},"headers":[],"relativePath":"zh-CN/index.md","filePath":"zh-CN/index.md"}'),n={name:"zh-CN/index.md"};function o(i,l,s,r,d,c){return a(),t("div")}const p=e(n,[["render",o]]);export{h as __pageData,p as default}; +import{_ as e,c as t,o as a}from"./chunks/framework.B_akP0Gx.js";const h=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"PSCompletions","tagline":"一个补全管理模块,它能让你在 PowerShell 中更简单、更方便地使用命令补全。","actions":[{"theme":"brand","text":"关于模块的命令","link":"zh-CN/command"},{"theme":"alt","text":"关于补全的 json 文件结构","link":"zh-CN/completion"},{"theme":"alt","text":"关于 PR (Pull Request)","link":"zh-CN/contribute"}]},"features":[{"title":"多语言","details":"支持多种语言,你可以随意在这些语言中切换"},{"title":"动态排序","details":"补全会根据命令输入的历史纪录动态排序,让你能够更快、更舒适的获取命令补全"},{"title":"灵活的补全菜单","details":"模块提供了一个补全菜单,它比 PowerShell 自带的补全菜单更方便、更好用"},{"title":"补全基于 json","details":"模块通过 json 文件去定义补全的数据"}]},"headers":[],"relativePath":"zh-CN/index.md","filePath":"zh-CN/index.md"}'),n={name:"zh-CN/index.md"};function o(i,l,s,r,d,c){return a(),t("div")}const p=e(n,[["render",o]]);export{h as __pageData,p as default}; diff --git a/docs/.vitepress/dist/assets/zh-CN_index.md.93AZYhFN.lean.js b/docs/.vitepress/dist/assets/zh-CN_index.md.DhCVGxik.lean.js similarity index 94% rename from docs/.vitepress/dist/assets/zh-CN_index.md.93AZYhFN.lean.js rename to docs/.vitepress/dist/assets/zh-CN_index.md.DhCVGxik.lean.js index 9ee6ee7..d00fa4c 100644 --- a/docs/.vitepress/dist/assets/zh-CN_index.md.93AZYhFN.lean.js +++ b/docs/.vitepress/dist/assets/zh-CN_index.md.DhCVGxik.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o as a}from"./chunks/framework.DB6FXu2X.js";const h=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"PSCompletions","tagline":"一个补全管理模块,它能让你在 PowerShell 中更简单、更方便地使用命令补全。","actions":[{"theme":"brand","text":"关于模块的命令","link":"zh-CN/command"},{"theme":"alt","text":"关于补全的 json 文件结构","link":"zh-CN/completion"},{"theme":"alt","text":"关于 PR (Pull Request)","link":"zh-CN/contribute"}]},"features":[{"title":"多语言","details":"支持多种语言,你可以随意在这些语言中切换"},{"title":"动态排序","details":"补全会根据命令输入的历史纪录动态排序,让你能够更快、更舒适的获取命令补全"},{"title":"灵活的补全菜单","details":"模块提供了一个补全菜单,它比 PowerShell 自带的补全菜单更方便、更好用"},{"title":"补全基于 json","details":"模块通过 json 文件去定义补全的数据"}]},"headers":[],"relativePath":"zh-CN/index.md","filePath":"zh-CN/index.md"}'),n={name:"zh-CN/index.md"};function o(i,l,s,r,d,c){return a(),t("div")}const p=e(n,[["render",o]]);export{h as __pageData,p as default}; +import{_ as e,c as t,o as a}from"./chunks/framework.B_akP0Gx.js";const h=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"PSCompletions","tagline":"一个补全管理模块,它能让你在 PowerShell 中更简单、更方便地使用命令补全。","actions":[{"theme":"brand","text":"关于模块的命令","link":"zh-CN/command"},{"theme":"alt","text":"关于补全的 json 文件结构","link":"zh-CN/completion"},{"theme":"alt","text":"关于 PR (Pull Request)","link":"zh-CN/contribute"}]},"features":[{"title":"多语言","details":"支持多种语言,你可以随意在这些语言中切换"},{"title":"动态排序","details":"补全会根据命令输入的历史纪录动态排序,让你能够更快、更舒适的获取命令补全"},{"title":"灵活的补全菜单","details":"模块提供了一个补全菜单,它比 PowerShell 自带的补全菜单更方便、更好用"},{"title":"补全基于 json","details":"模块通过 json 文件去定义补全的数据"}]},"headers":[],"relativePath":"zh-CN/index.md","filePath":"zh-CN/index.md"}'),n={name:"zh-CN/index.md"};function o(i,l,s,r,d,c){return a(),t("div")}const p=e(n,[["render",o]]);export{h as __pageData,p as default}; diff --git a/docs/.vitepress/dist/en-US/command/index.html b/docs/.vitepress/dist/en-US/command/index.html index d561d80..d90d0c0 100644 --- a/docs/.vitepress/dist/en-US/command/index.html +++ b/docs/.vitepress/dist/en-US/command/index.html @@ -8,17 +8,17 @@ - + - - - + + +
Skip to content
  • Waiting...
    • You can trigger completion by running psc, then learn about them by completion tip.
    • View the README file of PSCompletions.
    • Enter 'psc' and press 'Enter' to print some module information
- + \ No newline at end of file diff --git a/docs/.vitepress/dist/en-US/completion/index.html b/docs/.vitepress/dist/en-US/completion/index.html index 904b485..549432a 100644 --- a/docs/.vitepress/dist/en-US/completion/index.html +++ b/docs/.vitepress/dist/en-US/completion/index.html @@ -8,11 +8,11 @@ - + - - - + + + @@ -97,7 +97,7 @@ ] } ]
- + \ No newline at end of file diff --git a/docs/.vitepress/dist/en-US/contribute/index.html b/docs/.vitepress/dist/en-US/contribute/index.html index 74989f7..b741dbf 100644 --- a/docs/.vitepress/dist/en-US/contribute/index.html +++ b/docs/.vitepress/dist/en-US/contribute/index.html @@ -8,17 +8,17 @@ - + - - - + + +
Skip to content

About PR (Pull Request)

  1. Prerequisite: You should read About the structure of completion json file first.
  2. You should fork PSCompletions, and clone to your machine.
  3. After Changing, you should commit and create the PR.

1. Update the content of completion json file

  • Patch some tips of the completion.(tip attributes)
  • Add some missing parts for the completion.
    • The missing parts can be viewed by using the compareJson.ps1 script.
      • Take git for example.
      • You can view the missing parts of the zh-CN.json file (Compared to the en-US.json file) by using the following command.
        • .\script\compareJson.ps1 .\completions\git\language\zh-CN.json .\completions\git\language\en-US.json
      • If it's compared to the first language configured in config.json, the second parameter can also be omitted.
        • It's usually compared to the first language, so the following commands are the most common usage.
        • .\script\compareJson.ps1 .\completions\git\language\zh-CN.json

2. Add language

  1. In the completions directory, select the language you want to add.
  2. Add the language identifier to the language in the config.json file.
  3. Add a json file with the same name as the language identifier in the language directory.
    • You can copy the original json file and rename it.
  4. Translate the contents of the tip attribute.

3. Add a new completion

  1. Run it in the project root directory. .\script\create.ps1
    • For the convenience of debugging, create.ps1 will link the created completion directory to the completions directory of the PSCompletions module.
      • So PSCompletions module must be installed and imported before running create.ps1.
        • Install-Module PSCompletions -Scope CurrentUser
        • Import-Module PSCompletions
    • After the PR is committed and merged, you should use psc rm to remove this completion and psc add to re-add it.
  2. Follow the prompts.
  3. Modify the new completion.
  4. Modify config.json as required.
- + \ No newline at end of file diff --git a/docs/.vitepress/dist/en-US/index.html b/docs/.vitepress/dist/en-US/index.html index 457a951..4699a89 100644 --- a/docs/.vitepress/dist/en-US/index.html +++ b/docs/.vitepress/dist/en-US/index.html @@ -8,17 +8,17 @@ - + - - - + + +
Skip to content

PSCompletions

A completion manager for better and simpler use completions in PowerShell.

- + \ No newline at end of file diff --git a/docs/.vitepress/dist/hashmap.json b/docs/.vitepress/dist/hashmap.json index 6b87284..2500394 100644 --- a/docs/.vitepress/dist/hashmap.json +++ b/docs/.vitepress/dist/hashmap.json @@ -1 +1 @@ -{"en-us_command_index.md":"CKIFimfs","en-us_completion_index.md":"Dh3M6QEZ","en-us_contribute_index.md":"BlZTt-Qm","en-us_index.md":"C8sqqHFW","zh-cn_command_index.md":"BaqRKLE_","zh-cn_completion_index.md":"DS0KjFYa","zh-cn_contribute_index.md":"AvCKd1oU","zh-cn_index.md":"93AZYhFN"} +{"en-us_command_index.md":"BcfYYpex","en-us_completion_index.md":"BfszwC9v","en-us_contribute_index.md":"CZkuqYql","en-us_index.md":"BB8a14k1","zh-cn_command_index.md":"BNQJ4qKY","zh-cn_completion_index.md":"j7b7p8SA","zh-cn_contribute_index.md":"jyh4Tg9u","zh-cn_index.md":"DhCVGxik"} diff --git a/docs/.vitepress/dist/zh-CN/command/index.html b/docs/.vitepress/dist/zh-CN/command/index.html index f21e585..60cd4c5 100644 --- a/docs/.vitepress/dist/zh-CN/command/index.html +++ b/docs/.vitepress/dist/zh-CN/command/index.html @@ -8,17 +8,17 @@ - + - - - + + +
Skip to content
  • 等待补充...
    • 可以使用 psc 触发补全,通过补全提示信息了解模块命令
    • 通过项目的 README 了解
    • 输入 psc 后 按下 enter,将会打印一些模块信息
- + \ No newline at end of file diff --git a/docs/.vitepress/dist/zh-CN/completion/index.html b/docs/.vitepress/dist/zh-CN/completion/index.html index 0b0da3a..e8e71e8 100644 --- a/docs/.vitepress/dist/zh-CN/completion/index.html +++ b/docs/.vitepress/dist/zh-CN/completion/index.html @@ -8,11 +8,11 @@ - + - - - + + + @@ -97,7 +97,7 @@ ] } ]
- + \ No newline at end of file diff --git a/docs/.vitepress/dist/zh-CN/contribute/index.html b/docs/.vitepress/dist/zh-CN/contribute/index.html index ecafa5f..9831440 100644 --- a/docs/.vitepress/dist/zh-CN/contribute/index.html +++ b/docs/.vitepress/dist/zh-CN/contribute/index.html @@ -8,17 +8,17 @@ - + - - - + + +
Skip to content

关于 PR (Pull Request)

  1. 前提: 你应该先阅读 关于补全的 json 文件结构
  2. 你应该 fork PSCompletions 仓库,克隆到本地进行修改
  3. 只要到补全文件进行了修改,都需要更新其目录下的 guid.txt 文件
    • 你可以手动运行 New-Guid 生成,将值填入此文件中
    • 也可以直接运行 .\script\updateGuid.ps1,在弹出的 PowerShell 列表框中,选择此补全,并应用修改即可
  4. 修改完成后,提交并创建 PR

1. 更新 json 文件内容

  • 完善补全的一些提示信息(tip 属性)
  • 添加补全的一些缺失的命令
    • 可以通过 .\script\compareJson.ps1 脚本来查看未完成的部分
      • git 举例
      • 你可以使用以下命令查看 zh-CN.json 文件缺少的属性(相较于 en-US.json 文件)
        • .\script\compareJson.ps1 .\completions\git\language\zh-CN.json .\completions\git\language\en-US.json
      • 如果是和 config.json 中配置的第一个语言对比,也可以省略第二个参数
        • 一般都是和第一个语言对比,所以以下命令是最常见的用法
        • .\script\compareJson.ps1 .\completions\git\language\zh-CN.json

2. 添加语言

  1. 在项目的 completions 目录中找到你想要添加语言的补全
  2. 在其目录下的 config.json 文件中的 language 属性里添加像 zh-CN 这样的语言标识符
  3. language 目录下添加与语言标识符同名的 json 文件
    • 你可以将原有的一个 json 文件直接复制,改名即可
  4. 翻译其中的 tip 属性的内容即可

3. 添加一个全新的命令补全

  1. 在项目根目录下运行 .\script\create.ps1
    • 为了调试方便,create.ps1 会将创建的补全目录链接到实际 PSCompletionscompletions 目录下
      • 因此,必须先安装并导入 PSCompletions 模块,然后再运行 create.ps1
        • Install-Module PSCompletions -Scope CurrentUser
        • Import-Module PSCompletions
    • 当提交 PR 并被合并后,你应该使用 psc rm 移除掉此补全,并使用 psc add 重新添加
  2. 根据提示进行操作
  3. 修改新创建的补全
  4. 根据需求修改 config.json
- + \ No newline at end of file diff --git a/docs/.vitepress/dist/zh-CN/index.html b/docs/.vitepress/dist/zh-CN/index.html index 27087ab..22b13e3 100644 --- a/docs/.vitepress/dist/zh-CN/index.html +++ b/docs/.vitepress/dist/zh-CN/index.html @@ -8,17 +8,17 @@ - + - - - + + +
Skip to content

PSCompletions

一个补全管理模块,它能让你在 PowerShell 中更简单、更方便地使用命令补全。

- + \ No newline at end of file diff --git a/en-US/command/index.html b/en-US/command/index.html index d561d80..d90d0c0 100644 --- a/en-US/command/index.html +++ b/en-US/command/index.html @@ -8,17 +8,17 @@ - + - - - + + +
Skip to content
  • Waiting...
    • You can trigger completion by running psc, then learn about them by completion tip.
    • View the README file of PSCompletions.
    • Enter 'psc' and press 'Enter' to print some module information
- + \ No newline at end of file diff --git a/en-US/completion/index.html b/en-US/completion/index.html index 904b485..549432a 100644 --- a/en-US/completion/index.html +++ b/en-US/completion/index.html @@ -8,11 +8,11 @@ - + - - - + + + @@ -97,7 +97,7 @@ ] } ] - + \ No newline at end of file diff --git a/en-US/contribute/index.html b/en-US/contribute/index.html index 74989f7..b741dbf 100644 --- a/en-US/contribute/index.html +++ b/en-US/contribute/index.html @@ -8,17 +8,17 @@ - + - - - + + +
Skip to content

About PR (Pull Request)

  1. Prerequisite: You should read About the structure of completion json file first.
  2. You should fork PSCompletions, and clone to your machine.
  3. After Changing, you should commit and create the PR.

1. Update the content of completion json file

  • Patch some tips of the completion.(tip attributes)
  • Add some missing parts for the completion.
    • The missing parts can be viewed by using the compareJson.ps1 script.
      • Take git for example.
      • You can view the missing parts of the zh-CN.json file (Compared to the en-US.json file) by using the following command.
        • .\script\compareJson.ps1 .\completions\git\language\zh-CN.json .\completions\git\language\en-US.json
      • If it's compared to the first language configured in config.json, the second parameter can also be omitted.
        • It's usually compared to the first language, so the following commands are the most common usage.
        • .\script\compareJson.ps1 .\completions\git\language\zh-CN.json

2. Add language

  1. In the completions directory, select the language you want to add.
  2. Add the language identifier to the language in the config.json file.
  3. Add a json file with the same name as the language identifier in the language directory.
    • You can copy the original json file and rename it.
  4. Translate the contents of the tip attribute.

3. Add a new completion

  1. Run it in the project root directory. .\script\create.ps1
    • For the convenience of debugging, create.ps1 will link the created completion directory to the completions directory of the PSCompletions module.
      • So PSCompletions module must be installed and imported before running create.ps1.
        • Install-Module PSCompletions -Scope CurrentUser
        • Import-Module PSCompletions
    • After the PR is committed and merged, you should use psc rm to remove this completion and psc add to re-add it.
  2. Follow the prompts.
  3. Modify the new completion.
  4. Modify config.json as required.
- + \ No newline at end of file diff --git a/en-US/index.html b/en-US/index.html index 457a951..4699a89 100644 --- a/en-US/index.html +++ b/en-US/index.html @@ -8,17 +8,17 @@ - + - - - + + +
Skip to content

PSCompletions

A completion manager for better and simpler use completions in PowerShell.

- + \ No newline at end of file diff --git a/hashmap.json b/hashmap.json index 6b87284..2500394 100644 --- a/hashmap.json +++ b/hashmap.json @@ -1 +1 @@ -{"en-us_command_index.md":"CKIFimfs","en-us_completion_index.md":"Dh3M6QEZ","en-us_contribute_index.md":"BlZTt-Qm","en-us_index.md":"C8sqqHFW","zh-cn_command_index.md":"BaqRKLE_","zh-cn_completion_index.md":"DS0KjFYa","zh-cn_contribute_index.md":"AvCKd1oU","zh-cn_index.md":"93AZYhFN"} +{"en-us_command_index.md":"BcfYYpex","en-us_completion_index.md":"BfszwC9v","en-us_contribute_index.md":"CZkuqYql","en-us_index.md":"BB8a14k1","zh-cn_command_index.md":"BNQJ4qKY","zh-cn_completion_index.md":"j7b7p8SA","zh-cn_contribute_index.md":"jyh4Tg9u","zh-cn_index.md":"DhCVGxik"} diff --git a/module/.version b/module/.version index 43beb40..7919852 100644 --- a/module/.version +++ b/module/.version @@ -1 +1 @@ -4.0.7 +4.0.9 diff --git a/module/PSCompletions.psd1 b/module/PSCompletions.psd1 index 63f08f5..0754fdd 100644 --- a/module/PSCompletions.psd1 +++ b/module/PSCompletions.psd1 @@ -10,7 +10,7 @@ RootModule = 'PSCompletions.psm1' - ModuleVersion = '4.0.7' + ModuleVersion = '4.0.9' GUID = '00929632-527d-4dab-a5b3-21197faccd05' diff --git a/module/PSCompletions.psm1 b/module/PSCompletions.psm1 index 83c62d0..1095532 100644 --- a/module/PSCompletions.psm1 +++ b/module/PSCompletions.psm1 @@ -82,6 +82,13 @@ function PSCompletions { $PSCompletions.write_with_color((_replace $PSCompletions.info.err.download_list)) return } + + if ($arg.Length -eq 2 -and $arg[1] -eq '*') { + foreach ($_ in $PSCompletions.list) { + $PSCompletions.add_completion($_) + } + return + } foreach ($completion in $arg[1..($arg.Length - 1)]) { if ($completion -in $PSCompletions.list) { $PSCompletions.add_completion($completion) @@ -97,6 +104,17 @@ function PSCompletions { return } + if ($arg.Length -eq 2 -and $arg[1] -eq '*') { + foreach ($completion in $PSCompletions.cmd.keys) { + $dir = Join-Path $PSCompletions.path.completions $completion + Remove-Item $dir -Recurse -Force -ErrorAction SilentlyContinue + if (!(Test-Path $dir)) { + $PSCompletions.write_with_color((_replace $PSCompletions.info.rm.done)) + } + } + return + } + foreach ($completion in $arg[1..($arg.Length - 1)]) { if ($completion -in $PSCompletions.cmd.keys) { $dir = Join-Path $PSCompletions.path.completions $completion diff --git a/module/core/init.ps1 b/module/core/init.ps1 index 2d7216f..e49d218 100644 --- a/module/core/init.ps1 +++ b/module/core/init.ps1 @@ -3,7 +3,7 @@ using namespace System.Management.Automation New-Variable -Name PSCompletions -Value @{} -Option Constant # 模块版本 -$PSCompletions.version = '4.0.7' +$PSCompletions.version = '4.0.9' $PSCompletions.path = @{} $PSCompletions.path.root = Split-Path $PSScriptRoot -Parent $PSCompletions.path.completions = Join-Path $PSCompletions.path.root 'completions' @@ -115,19 +115,18 @@ if (!(Test-Path $PSCompletions.path.config) -and !(Test-Path $PSCompletions.path if ($PSEdition -eq "Core") { if ($IsWindows) { # pwsh (Windows) - . $PSScriptRoot\pwsh\Win\completion.ps1 - . $PSScriptRoot\pwsh\Win\config.ps1 + . $PSScriptRoot\pwsh\Win\utils.ps1 . $PSScriptRoot\pwsh\Win\menu.ps1 } else { - . $PSScriptRoot\pwsh\Unix\completion.ps1 - . $PSScriptRoot\pwsh\Unix\config.ps1 + . $PSScriptRoot\pwsh\Win\utils.ps1 . $PSScriptRoot\pwsh\Unix\menu.ps1 } + . $PSScriptRoot\pwsh\config.ps1 } else { # powershell 5.x - . $PSScriptRoot\powershell\completion.ps1 + . $PSScriptRoot\powershell\utils.ps1 . $PSScriptRoot\powershell\config.ps1 . $PSScriptRoot\powershell\menu.ps1 } @@ -142,41 +141,6 @@ Add-Member -InputObject $PSCompletions -MemberType ScriptMethod join_path { } return $res } -Add-Member -InputObject $PSCompletions -MemberType ScriptMethod ConvertFrom_JsonToHashtable { - param([string]$json) - # Handle json string - $matches = [regex]::Matches($json, '\s*"\s*"\s*:') - foreach ($match in $matches) { - $json = $json -replace $match.Value, "`"empty_key_$([System.Guid]::NewGuid().Guid)`":" - } - $json = [regex]::Replace($json, ",`n?(\s*`n)?\}", "}") - function ConvertToHashtable($obj) { - $hash = @{} - if ($obj -is [System.Management.Automation.PSCustomObject]) { - foreach ($_ in $obj | Get-Member -MemberType Properties) { - $k = $_.Name # Key - $v = $obj.$k # Value - if ($v -is [System.Collections.IEnumerable] -and $v -isnot [string]) { - # Handle array - $arr = @() - foreach ($item in $v) { - $arr += if ($item -is [System.Management.Automation.PSCustomObject]) { ConvertToHashtable($item) }else { $item } - } - $hash[$k] = $arr - } - elseif ($v -is [System.Management.Automation.PSCustomObject]) { - # Handle object - $hash[$k] = ConvertToHashtable($v) - } - else { $hash[$k] = $v } - } - } - else { $hash = $obj } - $hash - } - # Recurse - ConvertToHashtable ($json | ConvertFrom-Json) -} Add-Member -InputObject $PSCompletions -MemberType ScriptMethod get_language { param ([string]$completion) $path_config = "$($this.path.completions)/$($completion)/config.json" @@ -677,7 +641,7 @@ foreach ($_ in $PSCompletions.cmd.keys | Where-Object { $_ -ne 'psc' }) { 使用 $args 作为临时变量,不会影响它在函数以及脚本中接受传递参数的作用 #> foreach ($args in $PSCompletions.cmd.$_) { - if ($args -ne $_) { Set-Alias $args $_ } + if ($args -ne $_) { Set-Alias $args $_ -ErrorAction SilentlyContinue } } } @@ -689,37 +653,13 @@ if ($PSCompletions.config.module_update -match "^\d+\.\d.*") { if ($PSCompletions.config.module_update -gt $PSCompletions.version) { $PSCompletions.wc.DownloadFile("$($PSCompletions.url)/module/log.json", (Join-Path $PSCompletions.path.core 'log.json')) $null = $PSCompletions.confirm_do($PSCompletions.info.module.update, { - if ($PSEdition -eq "Desktop") { - # powershell 5.1 - $PSCompletions.write_with_color($PSCompletions.replace_content($PSCompletions.info.module.updating)) - try { - Update-Module PSCompletions -ErrorAction Stop - } - catch { - $PSCompletions.write_with_color($PSCompletions.replace_content($PSCompletions.info.module.update_err)) - } - if ($PSCompletions.config.module_update -in (Get-ChildItem (Split-Path $PSCompletions.path.root -Parent) -ErrorAction SilentlyContinue).BaseName) { - $PSCompletions.write_with_color($PSCompletions.replace_content($PSCompletions.info.module.update_done)) - } - else { - $PSCompletions.write_with_color($PSCompletions.replace_content($PSCompletions.info.module.update_err)) - } + $PSCompletions.write_with_color($PSCompletions.replace_content($PSCompletions.info.module.updating)) + try { + Update-Module PSCompletions -ErrorAction Stop + $PSCompletions.write_with_color($PSCompletions.replace_content($PSCompletions.info.module.update_done)) } - else { - # pwsh - $PSCompletions.write_with_color($PSCompletions.replace_content($PSCompletions.info.module.updating)) - try { - Update-Module PSCompletions -ErrorAction Stop - } - catch { - $PSCompletions.write_with_color($PSCompletions.replace_content($PSCompletions.info.module.update_err)) - } - if ($PSCompletions.config.module_update -in (Get-ChildItem (Split-Path $PSCompletions.path.root -Parent) -ErrorAction SilentlyContinue).BaseName) { - $PSCompletions.write_with_color($PSCompletions.replace_content($PSCompletions.info.module.update_done)) - } - else { - $PSCompletions.write_with_color($PSCompletions.replace_content($PSCompletions.info.module.update_err)) - } + catch { + $PSCompletions.write_with_color($PSCompletions.replace_content($PSCompletions.info.module.update_err)) } }) } diff --git a/module/core/pwsh/Unix/completion.ps1 b/module/core/powershell/utils.ps1 similarity index 71% rename from module/core/pwsh/Unix/completion.ps1 rename to module/core/powershell/utils.ps1 index 156ce01..059a079 100644 --- a/module/core/pwsh/Unix/completion.ps1 +++ b/module/core/powershell/utils.ps1 @@ -1,3 +1,39 @@ +Add-Member -InputObject $PSCompletions -MemberType ScriptMethod ConvertFrom_JsonToHashtable { + param([string]$json) + # Handle json string + $matches = [regex]::Matches($json, '\s*"\s*"\s*:') + foreach ($match in $matches) { + $json = $json -replace $match.Value, "`"empty_key_$([System.Guid]::NewGuid().Guid)`":" + } + $json = [regex]::Replace($json, ",`n?(\s*`n)?\}", "}") + function ConvertToHashtable($obj) { + $hash = @{} + if ($obj -is [System.Management.Automation.PSCustomObject]) { + foreach ($_ in $obj | Get-Member -MemberType Properties) { + $k = $_.Name # Key + $v = $obj.$k # Value + if ($v -is [System.Collections.IEnumerable] -and $v -isnot [string]) { + # Handle array + $arr = @() + foreach ($item in $v) { + $arr += if ($item -is [System.Management.Automation.PSCustomObject]) { ConvertToHashtable($item) }else { $item } + } + $hash[$k] = $arr + } + elseif ($v -is [System.Management.Automation.PSCustomObject]) { + # Handle object + $hash[$k] = ConvertToHashtable($v) + } + else { $hash[$k] = $v } + } + } + else { $hash = $obj } + $hash + } + # Recurse + ConvertToHashtable ($json | ConvertFrom-Json) +} + Add-Member -InputObject $PSCompletions -MemberType ScriptMethod handle_completion { param([string]$cmd) foreach ($_ in $this.cmd[$cmd]) { @@ -31,14 +67,23 @@ Add-Member -InputObject $PSCompletions -MemberType ScriptMethod handle_completio } if (!$PSCompletions.data.$root -or $PSCompletions.config.disable_cache) { $language = $PSCompletions.get_language($root) - $PSCompletions.data.$root = $PSCompletions.get_raw_content("$($PSCompletions.path.completions)/$($root)/language/$($language).json") | ConvertFrom-Json -AsHashtable + $PSCompletions.data.$root = $PSCompletions.ConvertFrom_JsonToHashtable($PSCompletions.get_raw_content("$($PSCompletions.path.completions)/$($root)/language/$($language).json")) } - $common_options = if ($PSCompletions.data.$root.common_options) { - foreach ($_ in $PSCompletions.data.$root.common_options) { $_.name } + $common_options = [System.Collections.Generic.List[string]]@() + $common_options_with_next = [System.Collections.Generic.List[string]]@() + if ($PSCompletions.data.$root.common_options) { + foreach ($_ in $PSCompletions.data.$root.common_options) { + foreach ($a in $_.alias) { + $common_options.Add($a) + if ($_.next) { $common_options_with_next.Add($a) } + } + $common_options.Add($_.name) + if ($_.next) { $common_options_with_next.Add($_.name) } + } } - else { New-Object System.Collections.ArrayList } $WriteSpaceTab = [System.Collections.Generic.List[string]]@() + $WriteSpaceTab.AddRange($common_options_with_next) $WriteSpaceTab_and_SpaceTab = [System.Collections.Generic.List[string]]@() @@ -204,35 +249,91 @@ Add-Member -InputObject $PSCompletions -MemberType ScriptMethod handle_completio # 处理 common_options if ($PSCompletions.data.$root.common_options) { + function returnSymbol { + $symbols = @('OptionTab') + if ($_.next) { + $symbols += 'SpaceTab' + $symbols += 'WriteSpaceTab' + } + if ($_.symbol) { + $symbols += $PSCompletions.replace_content($_.symbol, ' ') -split ' ' + } + $symbols = $symbols | Select-Object -Unique + return $symbols + } if ($space_tab) { - foreach ($_ in $PSCompletions.data.$root.common_options | Where-Object { $_.name -notin $input_arr }) { - $symbols = @('OptionTab') - if ($_.symbol) { - $symbols += $PSCompletions.replace_content($_.symbol, ' ') -split ' ' + if ($input_arr[-1] -in $common_options_with_next -and ($input_arr -notlike "*$($input_arr[-1])*$($input_arr[-1])*" -or $input_arr -like "*$($input_arr[-1])")) { + $filter_list.Clear() + $PSCompletions.data.$root.common_options | Where-Object { + $_.name -eq $input_arr[-1] -or $_.alias -contains $input_arr[-1] + } | ForEach-Object { + foreach ($n in $_.next) { + $filter_list.Add(@{ + name = @($n.name) + tip = $n.tip + }) + } } - $symbols = $symbols | Select-Object -Unique - if ($_.alias) { + } + foreach ($_ in $PSCompletions.data.$root.common_options) { + if ($_.name -notin $input_arr) { + $isExist = $false + $temp_list = [System.Collections.Generic.List[System.Object]]@() + $_.name = @($_.name) + $_.symbol = returnSymbol + $temp_list.Add($_) + foreach ($a in $_.alias) { + if ($a -notin $input_arr) { + $temp_list.Add(@{ + name = @($a) + symbol = returnSymbol + tip = $_.tip + }) + } + else { + $temp_list.Clear() + break + } + } + $filter_list.AddRange($temp_list) + } + } + } + else { + if ($input_arr[-2] -in $common_options_with_next -and $input_arr -notlike "*$($input_arr[-2])*$($input_arr[-2])*") { + $filter_list.Clear() + $PSCompletions.data.$root.common_options | Where-Object { + $_.name -eq $input_arr[-2] -or $_.alias -contains $input_arr[-2] + } | ForEach-Object { + foreach ($n in $_.next) { + if ($n.name -like "$($input_arr[-1])*") { + $filter_list.Add(@{ + name = @($n.name) + tip = $n.tip + }) + } + } + } + } + foreach ($_ in $PSCompletions.data.$root.common_options) { + if ($_.name -notin $input_arr -and $_.name -like "$($input_arr[-1])*") { + $_.name = @($_.name) + $_.symbol = returnSymbol + $filter_list.Add($_) + } + foreach ($a in $_.alias) { + if ($a -notin $input_arr -and $a -like "$($input_arr[-1])*") { $filter_list.Add(@{ name = @($a) - symbol = $symbols + symbol = returnSymbol tip = $_.tip }) } } - $_.name = @($_.name) - $_.symbol = $symbols - $filter_list.Add($_) - } - } - else { - foreach ($_ in $PSCompletions.data.$root.common_options | Where-Object { $_.name -notin $input_arr -and $_.name -like "$($filter_input_arr[-1])*" }) { - $_.name = @($_.name) - $filter_list.Add($_) } } } - return $filter_list } @@ -258,7 +359,7 @@ Add-Member -InputObject $PSCompletions -MemberType ScriptMethod handle_completio } else { if (Test-Path $path_order) { - $PSCompletions.order.$root = $PSCompletions.get_raw_content($path_order) | ConvertFrom-Json -AsHashtable + $PSCompletions.order.$root = $PSCompletions.ConvertFrom_JsonToHashtable($PSCompletions.get_raw_content($path_order)) } else { $PSCompletions.order.$root = $null diff --git a/module/core/powershell/completion.ps1 b/module/core/pwsh/Unix/utils.ps1 similarity index 77% rename from module/core/powershell/completion.ps1 rename to module/core/pwsh/Unix/utils.ps1 index b59f85f..cccd97d 100644 --- a/module/core/powershell/completion.ps1 +++ b/module/core/pwsh/Unix/utils.ps1 @@ -1,3 +1,8 @@ +Add-Member -InputObject $PSCompletions -MemberType ScriptMethod ConvertFrom_JsonToHashtable { + param([string]$json) + return ConvertFrom-Json -AsHashtable $json +} + Add-Member -InputObject $PSCompletions -MemberType ScriptMethod handle_completion { param([string]$cmd) foreach ($_ in $this.cmd[$cmd]) { @@ -34,11 +39,20 @@ Add-Member -InputObject $PSCompletions -MemberType ScriptMethod handle_completio $PSCompletions.data.$root = $PSCompletions.ConvertFrom_JsonToHashtable($PSCompletions.get_raw_content("$($PSCompletions.path.completions)/$($root)/language/$($language).json")) } - $common_options = if ($PSCompletions.data.$root.common_options) { - foreach ($_ in $PSCompletions.data.$root.common_options) { $_.name } + $common_options = [System.Collections.Generic.List[string]]@() + $common_options_with_next = [System.Collections.Generic.List[string]]@() + if ($PSCompletions.data.$root.common_options) { + foreach ($_ in $PSCompletions.data.$root.common_options) { + foreach ($a in $_.alias) { + $common_options.Add($a) + if ($_.next) { $common_options_with_next.Add($a) } + } + $common_options.Add($_.name) + if ($_.next) { $common_options_with_next.Add($_.name) } + } } - else { New-Object System.Collections.ArrayList } $WriteSpaceTab = [System.Collections.Generic.List[string]]@() + $WriteSpaceTab.AddRange($common_options_with_next) $WriteSpaceTab_and_SpaceTab = [System.Collections.Generic.List[string]]@() @@ -204,35 +218,91 @@ Add-Member -InputObject $PSCompletions -MemberType ScriptMethod handle_completio # 处理 common_options if ($PSCompletions.data.$root.common_options) { + function returnSymbol { + $symbols = @('OptionTab') + if ($_.next) { + $symbols += 'SpaceTab' + $symbols += 'WriteSpaceTab' + } + if ($_.symbol) { + $symbols += $PSCompletions.replace_content($_.symbol, ' ') -split ' ' + } + $symbols = $symbols | Select-Object -Unique + return $symbols + } if ($space_tab) { - foreach ($_ in $PSCompletions.data.$root.common_options | Where-Object { $_.name -notin $input_arr }) { - $symbols = @('OptionTab') - if ($_.symbol) { - $symbols += $PSCompletions.replace_content($_.symbol, ' ') -split ' ' + if ($input_arr[-1] -in $common_options_with_next -and ($input_arr -notlike "*$($input_arr[-1])*$($input_arr[-1])*" -or $input_arr -like "*$($input_arr[-1])")) { + $filter_list.Clear() + $PSCompletions.data.$root.common_options | Where-Object { + $_.name -eq $input_arr[-1] -or $_.alias -contains $input_arr[-1] + } | ForEach-Object { + foreach ($n in $_.next) { + $filter_list.Add(@{ + name = @($n.name) + tip = $n.tip + }) + } } - $symbols = $symbols | Select-Object -Unique - if ($_.alias) { + } + foreach ($_ in $PSCompletions.data.$root.common_options) { + if ($_.name -notin $input_arr) { + $isExist = $false + $temp_list = [System.Collections.Generic.List[System.Object]]@() + $_.name = @($_.name) + $_.symbol = returnSymbol + $temp_list.Add($_) + foreach ($a in $_.alias) { + if ($a -notin $input_arr) { + $temp_list.Add(@{ + name = @($a) + symbol = returnSymbol + tip = $_.tip + }) + } + else { + $temp_list.Clear() + break + } + } + $filter_list.AddRange($temp_list) + } + } + } + else { + if ($input_arr[-2] -in $common_options_with_next -and $input_arr -notlike "*$($input_arr[-2])*$($input_arr[-2])*") { + $filter_list.Clear() + $PSCompletions.data.$root.common_options | Where-Object { + $_.name -eq $input_arr[-2] -or $_.alias -contains $input_arr[-2] + } | ForEach-Object { + foreach ($n in $_.next) { + if ($n.name -like "$($input_arr[-1])*") { + $filter_list.Add(@{ + name = @($n.name) + tip = $n.tip + }) + } + } + } + } + foreach ($_ in $PSCompletions.data.$root.common_options) { + if ($_.name -notin $input_arr -and $_.name -like "$($input_arr[-1])*") { + $_.name = @($_.name) + $_.symbol = returnSymbol + $filter_list.Add($_) + } + foreach ($a in $_.alias) { + if ($a -notin $input_arr -and $a -like "$($input_arr[-1])*") { $filter_list.Add(@{ name = @($a) - symbol = $symbols + symbol = returnSymbol tip = $_.tip }) } } - $_.name = @($_.name) - $_.symbol = $symbols - $filter_list.Add($_) - } - } - else { - foreach ($_ in $PSCompletions.data.$root.common_options | Where-Object { $_.name -notin $input_arr -and $_.name -like "$($filter_input_arr[-1])*" }) { - $_.name = @($_.name) - $filter_list.Add($_) } } } - return $filter_list } @@ -331,4 +401,4 @@ Add-Member -InputObject $PSCompletions -MemberType ScriptMethod handle_completio $PSCompletions.menu.show_powershell_menu($filter_list) } } -} +} \ No newline at end of file diff --git a/module/core/pwsh/Win/config.ps1 b/module/core/pwsh/Win/config.ps1 deleted file mode 100644 index a0cd62e..0000000 --- a/module/core/pwsh/Win/config.ps1 +++ /dev/null @@ -1,111 +0,0 @@ -$PSCompletions.default.env = @{ - # env - language = $PSUICulture - update = 1 - module_update = 1 - github = 'https://github.com/abgox/PSCompletions' - gitee = 'https://gitee.com/abgox/PSCompletions' - url = '' - disable_cache = 0 -} -$PSCompletions.default.symbol = @{ - symbol_SpaceTab = "😄" - symbol_WriteSpaceTab = "😎" - symbol_OptionTab = "🤔" -} -$PSCompletions.default.menu_line = @{ - # menu line - menu_line_horizontal = "═" - menu_line_vertical = "║" - menu_line_top_left = "╔" - menu_line_bottom_left = "╚" - menu_line_top_right = "╗" - menu_line_bottom_right = "╝" -} -$PSCompletions.default.menu_color = @{ - # menu color - menu_color_item_text = 'Blue' - menu_color_item_back = 'Black' - menu_color_selected_text = 'white' - menu_color_selected_back = 'DarkGray' - menu_color_filter_text = 'Yellow' - menu_color_filter_back = 'Black' - menu_color_border_text = 'DarkGray' - menu_color_border_back = 'Black' - menu_color_status_text = 'Blue' - menu_color_status_back = 'Black' - menu_color_tip_text = 'Cyan' - menu_color_tip_back = 'Black' -} -$PSCompletions.default.menu_config = @{ - # menu config - enter_when_single = 0 - menu_enable = 1 - menu_show_tip = 1 - menu_completions_sort = 1 - menu_selection_with_margin = 1 - menu_tip_follow_cursor = 0 - menu_tip_cover_buffer = 1 - menu_list_follow_cursor = 1 - menu_list_cover_buffer = 0 - menu_list_margin_left = 0 - menu_list_margin_right = 0 - menu_list_min_width = 10 - menu_is_prefix_match = 0 - menu_above_margin_bottom = 0 - menu_above_list_max_count = -1 - menu_below_list_max_count = -1 - menu_between_item_and_symbol = ' ' - menu_status_symbol = '/' - menu_filter_symbol = '[]' -} -# completion config -$PSCompletions.default.comp_config = @{} - -Add-Member -InputObject $PSCompletions -MemberType ScriptMethod get_config { - if (Test-Path $this.path.config) { - $c = $this.get_raw_content($this.path.config) | ConvertFrom-Json -AsHashtable - if ($c) { - foreach ($_ in @('env', 'symbol', 'menu_line', 'menu_color', 'menu_config')) { - foreach ($config in $this.default.$_.Keys) { - if ($config -notin $c.keys) { - $hasDiff = $true - $c.$config = $this.default.$_.$config - } - } - } - if ($c.comp_config -eq $null) { - $hasDiff = $true - $c.comp_config = @{} - } - if ($hasDiff) { - $c | ConvertTo-Json | Out-File $this.path.config -Encoding utf8 -Force - } - return $c - } - else { - $need_init = $true - } - } - else { - $need_init = $true - } - if ($need_init) { - $c = @{} - foreach ($_ in @('env', 'symbol', 'menu_line', 'menu_color', 'menu_config')) { - foreach ($config in $this.default.$_.Keys) { - $c.$config = $this.default.$_.$config - } - } - $c.comp_config = @{} - $c | ConvertTo-Json | Out-File $this.path.config -Encoding utf8 -Force - } - return $c -} - -Add-Member -InputObject $PSCompletions -MemberType ScriptMethod set_config { - param ([string]$k, $v) - $this.config = $this.get_config() - $this.config.$k = $v - $this.config | ConvertTo-Json | Out-File $this.path.config -Encoding utf8 -Force -} diff --git a/module/core/pwsh/Win/completion.ps1 b/module/core/pwsh/Win/utils.ps1 similarity index 76% rename from module/core/pwsh/Win/completion.ps1 rename to module/core/pwsh/Win/utils.ps1 index 4ef6d8a..df62b52 100644 --- a/module/core/pwsh/Win/completion.ps1 +++ b/module/core/pwsh/Win/utils.ps1 @@ -1,3 +1,8 @@ +Add-Member -InputObject $PSCompletions -MemberType ScriptMethod ConvertFrom_JsonToHashtable { + param([string]$json) + return ConvertFrom-Json -AsHashtable $json +} + Add-Member -InputObject $PSCompletions -MemberType ScriptMethod handle_completion { param([string]$cmd) foreach ($_ in $this.cmd[$cmd]) { @@ -31,14 +36,23 @@ Add-Member -InputObject $PSCompletions -MemberType ScriptMethod handle_completio } if (!$PSCompletions.data.$root -or $PSCompletions.config.disable_cache) { $language = $PSCompletions.get_language($root) - $PSCompletions.data.$root = $PSCompletions.get_raw_content("$($PSCompletions.path.completions)/$($root)/language/$($language).json") | ConvertFrom-Json -AsHashtable + $PSCompletions.data.$root = $PSCompletions.ConvertFrom_JsonToHashtable($PSCompletions.get_raw_content("$($PSCompletions.path.completions)/$($root)/language/$($language).json")) } - $common_options = if ($PSCompletions.data.$root.common_options) { - foreach ($_ in $PSCompletions.data.$root.common_options) { $_.name } + $common_options = [System.Collections.Generic.List[string]]@() + $common_options_with_next = [System.Collections.Generic.List[string]]@() + if ($PSCompletions.data.$root.common_options) { + foreach ($_ in $PSCompletions.data.$root.common_options) { + foreach ($a in $_.alias) { + $common_options.Add($a) + if ($_.next) { $common_options_with_next.Add($a) } + } + $common_options.Add($_.name) + if ($_.next) { $common_options_with_next.Add($_.name) } + } } - else { New-Object System.Collections.ArrayList } $WriteSpaceTab = [System.Collections.Generic.List[string]]@() + $WriteSpaceTab.AddRange($common_options_with_next) $WriteSpaceTab_and_SpaceTab = [System.Collections.Generic.List[string]]@() @@ -204,35 +218,91 @@ Add-Member -InputObject $PSCompletions -MemberType ScriptMethod handle_completio # 处理 common_options if ($PSCompletions.data.$root.common_options) { + function returnSymbol { + $symbols = @('OptionTab') + if ($_.next) { + $symbols += 'SpaceTab' + $symbols += 'WriteSpaceTab' + } + if ($_.symbol) { + $symbols += $PSCompletions.replace_content($_.symbol, ' ') -split ' ' + } + $symbols = $symbols | Select-Object -Unique + return $symbols + } if ($space_tab) { - foreach ($_ in $PSCompletions.data.$root.common_options | Where-Object { $_.name -notin $input_arr }) { - $symbols = @('OptionTab') - if ($_.symbol) { - $symbols += $PSCompletions.replace_content($_.symbol, ' ') -split ' ' + if ($input_arr[-1] -in $common_options_with_next -and ($input_arr -notlike "*$($input_arr[-1])*$($input_arr[-1])*" -or $input_arr -like "*$($input_arr[-1])")) { + $filter_list.Clear() + $PSCompletions.data.$root.common_options | Where-Object { + $_.name -eq $input_arr[-1] -or $_.alias -contains $input_arr[-1] + } | ForEach-Object { + foreach ($n in $_.next) { + $filter_list.Add(@{ + name = @($n.name) + tip = $n.tip + }) + } } - $symbols = $symbols | Select-Object -Unique - if ($_.alias) { + } + foreach ($_ in $PSCompletions.data.$root.common_options) { + if ($_.name -notin $input_arr) { + $isExist = $false + $temp_list = [System.Collections.Generic.List[System.Object]]@() + $_.name = @($_.name) + $_.symbol = returnSymbol + $temp_list.Add($_) + foreach ($a in $_.alias) { + if ($a -notin $input_arr) { + $temp_list.Add(@{ + name = @($a) + symbol = returnSymbol + tip = $_.tip + }) + } + else { + $temp_list.Clear() + break + } + } + $filter_list.AddRange($temp_list) + } + } + } + else { + if ($input_arr[-2] -in $common_options_with_next -and $input_arr -notlike "*$($input_arr[-2])*$($input_arr[-2])*") { + $filter_list.Clear() + $PSCompletions.data.$root.common_options | Where-Object { + $_.name -eq $input_arr[-2] -or $_.alias -contains $input_arr[-2] + } | ForEach-Object { + foreach ($n in $_.next) { + if ($n.name -like "$($input_arr[-1])*") { + $filter_list.Add(@{ + name = @($n.name) + tip = $n.tip + }) + } + } + } + } + foreach ($_ in $PSCompletions.data.$root.common_options) { + if ($_.name -notin $input_arr -and $_.name -like "$($input_arr[-1])*") { + $_.name = @($_.name) + $_.symbol = returnSymbol + $filter_list.Add($_) + } + foreach ($a in $_.alias) { + if ($a -notin $input_arr -and $a -like "$($input_arr[-1])*") { $filter_list.Add(@{ name = @($a) - symbol = $symbols + symbol = returnSymbol tip = $_.tip }) } } - $_.name = @($_.name) - $_.symbol = $symbols - $filter_list.Add($_) - } - } - else { - foreach ($_ in $PSCompletions.data.$root.common_options | Where-Object { $_.name -notin $input_arr -and $_.name -like "$($filter_input_arr[-1])*" }) { - $_.name = @($_.name) - $filter_list.Add($_) } } } - return $filter_list } @@ -258,7 +328,7 @@ Add-Member -InputObject $PSCompletions -MemberType ScriptMethod handle_completio } else { if (Test-Path $path_order) { - $PSCompletions.order.$root = $PSCompletions.get_raw_content($path_order) | ConvertFrom-Json -AsHashtable + $PSCompletions.order.$root = $PSCompletions.ConvertFrom_JsonToHashtable($PSCompletions.get_raw_content($path_order)) } else { $PSCompletions.order.$root = $null @@ -336,4 +406,4 @@ Add-Member -InputObject $PSCompletions -MemberType ScriptMethod handle_completio } } } -} +} \ No newline at end of file diff --git a/module/core/pwsh/Unix/config.ps1 b/module/core/pwsh/config.ps1 similarity index 97% rename from module/core/pwsh/Unix/config.ps1 rename to module/core/pwsh/config.ps1 index c952231..bbd7c9f 100644 --- a/module/core/pwsh/Unix/config.ps1 +++ b/module/core/pwsh/config.ps1 @@ -64,7 +64,7 @@ $PSCompletions.default.comp_config = @{} Add-Member -InputObject $PSCompletions -MemberType ScriptMethod get_config { if (Test-Path $this.path.config) { - $c = $this.get_raw_content($this.path.config) | ConvertFrom-Json -AsHashtable + $c = $this.ConvertFrom_JsonToHashtable($this.get_raw_content($this.path.config)) if ($c) { foreach($_ in @('env', 'symbol', 'menu_line', 'menu_color', 'menu_config')){ foreach ($config in $this.default.$_.Keys) { diff --git a/module/log.json b/module/log.json index 676da0c..82fd1bd 100644 --- a/module/log.json +++ b/module/log.json @@ -1,169 +1,185 @@ { - "4.0.7": { - "zh-CN": [ - "修复(2024/7/6)\n", - " - 将 ForEach-Object 替换为 foreach\n", - " - ForEach-Object 在一些特殊情况下的结果不符合预期\n", - " - 清理一些代码\n" - ], - "en-US": [ - "Fix(2024/7/6)\n", - " - Replace ForEach-Object with foreach.\n", - " - ForEach-Object has unexpected results in some special cases.\n", - " - Clean up some code\n" - ] - }, - "4.0.6": { - "zh-CN": [ - "修复(2024/5/20)\n", - " - 一个默认颜色配置改错了,修复一下\n" - ], - "en-US": [ - "Fix(2024/5/20)\n", - " - A default configuration color was mistakenly written, fix it.\n" - ] - }, - "4.0.5": { - "zh-CN": [ - "修复(2024/5/20)\n", - " - 修复了关于补全特殊配置的一些问题\n", - " - 修复了因为存在缓存导致配置修改后无法立即生效的问题\n", - " - 给 reset 命令添加 completion 子命令,用于重置(移除)补全的特殊配置\n", - " - 修复了一些其他问题\n" - ], - "en-US": [ - "Fix(2024/5/20)\n", - " - Fix some issues about the special configurations of completion.\n", - " - Fix an issue where configuration changes did not take immediate effect due to caching.\n", - " - Add the 'completion' subcommand to the 'reset' command to reset (remove) the special configuration of completion.\n", - " - Fix some other issues.\n" - ] - }, - "4.0.4": { - "zh-CN": [ - "修复(2024/5/20)\n", - " - 修复了当补全列表滚动时,补全提示信息、过滤区域、状态区域闪烁的问题\n", - " - 修复了一些其他的小问题\n" - ], - "en-US": [ - "Fix(2024/5/20)\n", - " - Fix a bug where the completion tip area, filter area and status area flashes when scrolling the completion list.\n", - " - Fix some other minor issues.\n" - ] - }, - "4.0.3": { - "zh-CN": [ - "修复(2024/5/18)\n", - " - 修复了一个因为修改终端输出编码导致提示信息显示错误的问题\n", - " - 必须先导入 PSCompletions 模块,然后再修改终端输出编码,否则还是会显示错误\n", - " - 将 <@Magenta>menu_tip_cover_buffer<@Blue> 这个配置的默认值从 <@Magenta>0<@Blue> 修改为 <@Magenta>1<@Blue>\n", - " - 表示默认情况下,菜单提示信息会覆盖缓冲区内容,主要是当提示信息显示在上方时,会覆盖掉上方所有内容,这会看起来背景更简洁\n", - " - 当然,当补全菜单消失后,覆盖的内容会恢复\n", - " - 你也可以禁用它(<@Magenta>psc menu config menu_tip_cover_buffer 0<@Blue>)\n", - " - 修复了一些其他的小问题\n" - ], - "en-US": [ - "Fix(2024/5/18)\n", - " - Fix a bug where the completion tip was displayed incorrectly because the terminal output encoding was modified.\n", - " - You must import the PSCompletions module first, and then modify the terminal output encoding. Otherwise, it will still display incorrectly.\n", - " - Change the default value of <@Magenta>menu_tip_cover_buffer<@Blue> from <@Magenta>0<@Blue> to <@Magenta>1<@Blue>.\n", - " - This configuration means that the completion tip will cover the buffer content by default, which is mainly when the completion tip is displayed above, it will cover all the buffer content above, which will make the background look cleaner.\n", - " - Of course, the buffer content covered by the completion tip will be restored when the completion menu disappears.\n", - " - You can disable it by running <@Magenta>psc menu config menu_tip_cover_buffer 0<@Blue>.\n", - " - Fix some other minor issues.\n" - ] - }, - "4.0.2": { - "zh-CN": [ - "修复(2024/5/15)\n", - " - 一个测试环境的配置没有及时删除,修复一下\n" - ], - "en-US": [ - "Fix(2024/5/15)\n", - " - A test environment configuration was not deleted, fix it.\n" - ] - }, - "4.0.1": { - "zh-CN": [ - "修复(2024/5/15)\n", - " - 一个默认配置的颜色写错了,修复一下\n" - ], - "en-US": [ - "Fix(2024/5/15)\n", - " - A default configuration color was mistakenly written, fix it.\n" - ] - }, - "4.0.0": { - "zh-CN": [ - "更新(2024/5/15)\n<@Yellow>", - " 如果你当前使用的 PSCompletions 模块需要管理员权限,你应该删除 PSCompletions 模块,然后以用户权限安装最新版的模块。\n", - " 完整的模块安装命令: <@Magenta>Install-Module PSCompletions -Scope CurrentUser<@Blue>\n\n", - " - 4.0.0 版本重构了整个模块,解决了许多不合理的地方,所以完全不兼容旧版本的配置和补全\n", - " 1. 性能优化:\n", - " - 提升了模块加载速度\n", - " - 提升了补全响应速度\n", - " 2. 补全菜单:\n", - " - 补全菜单完全重写,菜单渲染的稳定性大幅提高,从根本上解决了许多渲染 bug\n", - " - 补全菜单新增了许多的配置项,你可以自行通过触发补全以及提示信息查看\n", - " - 比如: <@Magenta>menu_show_tip<@Blue>, 它可以控制补全提示信息是否显示,如果你对命令足够熟悉,建议禁用补全提示信息\n", - " - 此配置也可以单独给某一个补全设置,参考 <@Magenta>psc completion<@Blue> 下的命令\n", - " 3. 补全别名:\n", - " - 现在补全别名支持多个,你可以随意添加。理论上,你可以添加无数个别名\n", - " - 比如,你可以添加 .\\scoop.ps1 这样的别名,这在有些时候比较有用\n", - " 4. 补全文件和模块解耦\n", - " - 现在可以只编写 json 文件去新增/更新/翻译一个补全,不需要涉及到代码\n", - " - 同时使用了 json schema 控制 json 文件的类型,这让想要为仓库添加补全的贡献者创建 PR 的难度大幅降低\n", - " - 比如你觉得某一个命令的描述不够完善,你也可以修改它的 json 文件后之后,提交一个 PR\n", - " 5. 语言:\n", - " - 现在从模块层面,支持任何语言,模块会根据语言配置以及每一个补全的 config.json 文件来决定语言\n", - " - 这意味着以后可以添加更多语言的支持,只需要编写对应的 json 文件即可\n", - " 6. 其他: \n", - " - 新增了一些按键映射,你现在可以通过许多种按键方式在补全菜单中选择补全项,你可以选择一种适合自己的。\n", - " - 选择上一个补全/选择下一个补全\n", - " - Up/Down\n", - " - Left/Right\n", - " - Tab/Shift + Tab\n", - " - Space/Shift + Space\n", - " - Ctrl + u/Ctrl + d\n", - " - Ctrl + p/Ctrl + n\n", - " - 现在符号被放在了补全项的后面,补全提示信息中不再出现符号\n", - " - ...\n" - ], - "en-US": [ - "Update(2024/5/15)\n<@Yellow>", - " If you are using the PSCompletions module with administrator permission, you should remove the PSCompletions module and install the latest version with user permission.\n", - " Full module installation command: <@Magenta>Install-Module PSCompletions -Scope CurrentUser<@Blue>\n\n", - " - This version completely rewrites the module, and solves many inappropriate places, so it's completely incompatible with the old version configuration and completion.\n", - " 1. Performance optimization:\n", - " - Improve module loading speed.\n", - " - Improve completion response speed.\n", - " 2. Completion menu:\n", - " - Completely rewrite the completion menu, which greatly improves the stability of the menu rendering, and solves many rendering bugs from the root.\n", - " - The completion menu now has many configuration items, you can trigger completion by running <@Magenta>psc menu<@Blue>, then learn about them by completion tip.\n", - " - For example: <@Magenta>menu_show_tip<@Blue>, which can control whether the completion tip is displayed.\n", - " - If you are familiar with the command, it's recommended to disable the completion tip.\n", - " - This configuration can also be set separately for each completion, refer to <@Magenta>psc completion<@Blue> for command.\n", - " 3. Completion alias:\n", - " - Now completion alias supports multiple, you can add as many as you like. Theoretically, you can add an infinite number of aliases.\n", - " - For example, you can add .\\scoop.ps1 as an alias, which can be useful in some cases.\n", - " 4. Decoupling of completion file and module.\n", - " - Add/update/translate completions now doesn't involve module core code.\n", - " - Use json schema to control the type of json file, which makes it easier for contributors to create PR for the completion repository.\n", - " - For example, if you think the description of a command is not good, you can modify its json file and create a PR.\n", - " 5. Language:\n", - " - Now the module supports any language, and the module determines the language based on the language configuration and each completion's config.json file.\n", - " - It means that more languages can be supported in the future by simply writing the corresponding json file.\n", - " 6. Other: \n", - " - Added some key mappings, which allows you to select completion items in the completion menu using various key combinations. You can choose one that suits you.\n", - " - Select previous/next item\n", - " - Up/Down\n", - " - Left/Right\n", - " - Tab/Shift + Tab\n", - " - Space/Shift + Space\n", - " - Ctrl + u/Ctrl + d\n", - " - Ctrl + p/Ctrl + n\n", - " - The symbol is now placed behind the completion item, and the symbol is no longer displayed in the completion tip.\n", - " - ...\n" - ] - } + "4.0.9": { + "zh-CN": [ + "修复(2024/7/20)\n", + " - 添加两个命令: 添加/移除所有补全\n", + " - psc add *\n", + " - psc rm *\n", + " - 优化 common_options 的逻辑处理\n", + " - 修复模块更新的问题\n", + " - 调整源代码文件目录结构\n", + " - 清理代码\n" + ], + "en-US": [ + "Fix(2024/7/20)\n", + " - Add two commands: add/remove all completions.\n", + " - psc add *\n", + " - psc rm *\n", + " - Optimize the logic processing of common_options.\n", + " - Fix the problem of module update.\n", + " - Adjust the directory structure of the source code file.\n", + " - Clean up the code.\n" + ] + }, + "4.0.7": { + "zh-CN": [ + "修复(2024/7/6)\n", + " - 将 ForEach-Object 替换为 foreach\n", + " - ForEach-Object 在一些特殊情况下的结果不符合预期\n", + " - 清理一些代码\n" + ], + "en-US": [ + "Fix(2024/7/6)\n", + " - Replace ForEach-Object with foreach.\n", + " - ForEach-Object has unexpected results in some special cases.\n", + " - Clean up some code\n" + ] + }, + "4.0.6": { + "zh-CN": ["修复(2024/5/20)\n", " - 一个默认颜色配置改错了,修复一下\n"], + "en-US": [ + "Fix(2024/5/20)\n", + " - A default configuration color was mistakenly written, fix it.\n" + ] + }, + "4.0.5": { + "zh-CN": [ + "修复(2024/5/20)\n", + " - 修复了关于补全特殊配置的一些问题\n", + " - 修复了因为存在缓存导致配置修改后无法立即生效的问题\n", + " - 给 reset 命令添加 completion 子命令,用于重置(移除)补全的特殊配置\n", + " - 修复了一些其他问题\n" + ], + "en-US": [ + "Fix(2024/5/20)\n", + " - Fix some issues about the special configurations of completion.\n", + " - Fix an issue where configuration changes did not take immediate effect due to caching.\n", + " - Add the 'completion' subcommand to the 'reset' command to reset (remove) the special configuration of completion.\n", + " - Fix some other issues.\n" + ] + }, + "4.0.4": { + "zh-CN": [ + "修复(2024/5/20)\n", + " - 修复了当补全列表滚动时,补全提示信息、过滤区域、状态区域闪烁的问题\n", + " - 修复了一些其他的小问题\n" + ], + "en-US": [ + "Fix(2024/5/20)\n", + " - Fix a bug where the completion tip area, filter area and status area flashes when scrolling the completion list.\n", + " - Fix some other minor issues.\n" + ] + }, + "4.0.3": { + "zh-CN": [ + "修复(2024/5/18)\n", + " - 修复了一个因为修改终端输出编码导致提示信息显示错误的问题\n", + " - 必须先导入 PSCompletions 模块,然后再修改终端输出编码,否则还是会显示错误\n", + " - 将 <@Magenta>menu_tip_cover_buffer<@Blue> 这个配置的默认值从 <@Magenta>0<@Blue> 修改为 <@Magenta>1<@Blue>\n", + " - 表示默认情况下,菜单提示信息会覆盖缓冲区内容,主要是当提示信息显示在上方时,会覆盖掉上方所有内容,这会看起来背景更简洁\n", + " - 当然,当补全菜单消失后,覆盖的内容会恢复\n", + " - 你也可以禁用它(<@Magenta>psc menu config menu_tip_cover_buffer 0<@Blue>)\n", + " - 修复了一些其他的小问题\n" + ], + "en-US": [ + "Fix(2024/5/18)\n", + " - Fix a bug where the completion tip was displayed incorrectly because the terminal output encoding was modified.\n", + " - You must import the PSCompletions module first, and then modify the terminal output encoding. Otherwise, it will still display incorrectly.\n", + " - Change the default value of <@Magenta>menu_tip_cover_buffer<@Blue> from <@Magenta>0<@Blue> to <@Magenta>1<@Blue>.\n", + " - This configuration means that the completion tip will cover the buffer content by default, which is mainly when the completion tip is displayed above, it will cover all the buffer content above, which will make the background look cleaner.\n", + " - Of course, the buffer content covered by the completion tip will be restored when the completion menu disappears.\n", + " - You can disable it by running <@Magenta>psc menu config menu_tip_cover_buffer 0<@Blue>.\n", + " - Fix some other minor issues.\n" + ] + }, + "4.0.2": { + "zh-CN": [ + "修复(2024/5/15)\n", + " - 一个测试环境的配置没有及时删除,修复一下\n" + ], + "en-US": [ + "Fix(2024/5/15)\n", + " - A test environment configuration was not deleted, fix it.\n" + ] + }, + "4.0.1": { + "zh-CN": ["修复(2024/5/15)\n", " - 一个默认配置的颜色写错了,修复一下\n"], + "en-US": [ + "Fix(2024/5/15)\n", + " - A default configuration color was mistakenly written, fix it.\n" + ] + }, + "4.0.0": { + "zh-CN": [ + "更新(2024/5/15)\n<@Yellow>", + " 如果你当前使用的 PSCompletions 模块需要管理员权限,你应该删除 PSCompletions 模块,然后以用户权限安装最新版的模块。\n", + " 完整的模块安装命令: <@Magenta>Install-Module PSCompletions -Scope CurrentUser<@Blue>\n\n", + " - 4.0.0 版本重构了整个模块,解决了许多不合理的地方,所以完全不兼容旧版本的配置和补全\n", + " 1. 性能优化:\n", + " - 提升了模块加载速度\n", + " - 提升了补全响应速度\n", + " 2. 补全菜单:\n", + " - 补全菜单完全重写,菜单渲染的稳定性大幅提高,从根本上解决了许多渲染 bug\n", + " - 补全菜单新增了许多的配置项,你可以自行通过触发补全以及提示信息查看\n", + " - 比如: <@Magenta>menu_show_tip<@Blue>, 它可以控制补全提示信息是否显示,如果你对命令足够熟悉,建议禁用补全提示信息\n", + " - 此配置也可以单独给某一个补全设置,参考 <@Magenta>psc completion<@Blue> 下的命令\n", + " 3. 补全别名:\n", + " - 现在补全别名支持多个,你可以随意添加。理论上,你可以添加无数个别名\n", + " - 比如,你可以添加 .\\scoop.ps1 这样的别名,这在有些时候比较有用\n", + " 4. 补全文件和模块解耦\n", + " - 现在可以只编写 json 文件去新增/更新/翻译一个补全,不需要涉及到代码\n", + " - 同时使用了 json schema 控制 json 文件的类型,这让想要为仓库添加补全的贡献者创建 PR 的难度大幅降低\n", + " - 比如你觉得某一个命令的描述不够完善,你也可以修改它的 json 文件后之后,提交一个 PR\n", + " 5. 语言:\n", + " - 现在从模块层面,支持任何语言,模块会根据语言配置以及每一个补全的 config.json 文件来决定语言\n", + " - 这意味着以后可以添加更多语言的支持,只需要编写对应的 json 文件即可\n", + " 6. 其他: \n", + " - 新增了一些按键映射,你现在可以通过许多种按键方式在补全菜单中选择补全项,你可以选择一种适合自己的。\n", + " - 选择上一个补全/选择下一个补全\n", + " - Up/Down\n", + " - Left/Right\n", + " - Tab/Shift + Tab\n", + " - Space/Shift + Space\n", + " - Ctrl + u/Ctrl + d\n", + " - Ctrl + p/Ctrl + n\n", + " - 现在符号被放在了补全项的后面,补全提示信息中不再出现符号\n", + " - ...\n" + ], + "en-US": [ + "Update(2024/5/15)\n<@Yellow>", + " If you are using the PSCompletions module with administrator permission, you should remove the PSCompletions module and install the latest version with user permission.\n", + " Full module installation command: <@Magenta>Install-Module PSCompletions -Scope CurrentUser<@Blue>\n\n", + " - This version completely rewrites the module, and solves many inappropriate places, so it's completely incompatible with the old version configuration and completion.\n", + " 1. Performance optimization:\n", + " - Improve module loading speed.\n", + " - Improve completion response speed.\n", + " 2. Completion menu:\n", + " - Completely rewrite the completion menu, which greatly improves the stability of the menu rendering, and solves many rendering bugs from the root.\n", + " - The completion menu now has many configuration items, you can trigger completion by running <@Magenta>psc menu<@Blue>, then learn about them by completion tip.\n", + " - For example: <@Magenta>menu_show_tip<@Blue>, which can control whether the completion tip is displayed.\n", + " - If you are familiar with the command, it's recommended to disable the completion tip.\n", + " - This configuration can also be set separately for each completion, refer to <@Magenta>psc completion<@Blue> for command.\n", + " 3. Completion alias:\n", + " - Now completion alias supports multiple, you can add as many as you like. Theoretically, you can add an infinite number of aliases.\n", + " - For example, you can add .\\scoop.ps1 as an alias, which can be useful in some cases.\n", + " 4. Decoupling of completion file and module.\n", + " - Add/update/translate completions now doesn't involve module core code.\n", + " - Use json schema to control the type of json file, which makes it easier for contributors to create PR for the completion repository.\n", + " - For example, if you think the description of a command is not good, you can modify its json file and create a PR.\n", + " 5. Language:\n", + " - Now the module supports any language, and the module determines the language based on the language configuration and each completion's config.json file.\n", + " - It means that more languages can be supported in the future by simply writing the corresponding json file.\n", + " 6. Other: \n", + " - Added some key mappings, which allows you to select completion items in the completion menu using various key combinations. You can choose one that suits you.\n", + " - Select previous/next item\n", + " - Up/Down\n", + " - Left/Right\n", + " - Tab/Shift + Tab\n", + " - Space/Shift + Space\n", + " - Ctrl + u/Ctrl + d\n", + " - Ctrl + p/Ctrl + n\n", + " - The symbol is now placed behind the completion item, and the symbol is no longer displayed in the completion tip.\n", + " - ...\n" + ] + } } diff --git a/module/version.txt b/module/version.txt index 43beb40..7919852 100644 --- a/module/version.txt +++ b/module/version.txt @@ -1 +1 @@ -4.0.7 +4.0.9 diff --git a/package-lock.json b/package-lock.json index 0664270..3e92dd9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -637,9 +637,9 @@ "dev": true }, "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.18.1.tgz", - "integrity": "sha512-lncuC4aHicncmbORnx+dUaAgzee9cm/PbIqgWz1PpXuwc+sa1Ct83tnqUDy/GFKleLiN7ZIeytM6KJ4cAn1SxA==", + "version": "4.19.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.19.0.tgz", + "integrity": "sha512-JlPfZ/C7yn5S5p0yKk7uhHTTnFlvTgLetl2VxqE518QgyM7C9bSfFTYvB/Q/ftkq0RIPY4ySxTz+/wKJ/dXC0w==", "cpu": [ "arm" ], @@ -650,9 +650,9 @@ ] }, "node_modules/@rollup/rollup-android-arm64": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.18.1.tgz", - "integrity": "sha512-F/tkdw0WSs4ojqz5Ovrw5r9odqzFjb5LIgHdHZG65dFI1lWTWRVy32KDJLKRISHgJvqUeUhdIvy43fX41znyDg==", + "version": "4.19.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.19.0.tgz", + "integrity": "sha512-RDxUSY8D1tWYfn00DDi5myxKgOk6RvWPxhmWexcICt/MEC6yEMr4HNCu1sXXYLw8iAsg0D44NuU+qNq7zVWCrw==", "cpu": [ "arm64" ], @@ -663,9 +663,9 @@ ] }, "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.18.1.tgz", - "integrity": "sha512-vk+ma8iC1ebje/ahpxpnrfVQJibTMyHdWpOGZ3JpQ7Mgn/3QNHmPq7YwjZbIE7km73dH5M1e6MRRsnEBW7v5CQ==", + "version": "4.19.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.19.0.tgz", + "integrity": "sha512-emvKHL4B15x6nlNTBMtIaC9tLPRpeA5jMvRLXVbl/W9Ie7HhkrE7KQjvgS9uxgatL1HmHWDXk5TTS4IaNJxbAA==", "cpu": [ "arm64" ], @@ -676,9 +676,9 @@ ] }, "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.18.1.tgz", - "integrity": "sha512-IgpzXKauRe1Tafcej9STjSSuG0Ghu/xGYH+qG6JwsAUxXrnkvNHcq/NL6nz1+jzvWAnQkuAJ4uIwGB48K9OCGA==", + "version": "4.19.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.19.0.tgz", + "integrity": "sha512-fO28cWA1dC57qCd+D0rfLC4VPbh6EOJXrreBmFLWPGI9dpMlER2YwSPZzSGfq11XgcEpPukPTfEVFtw2q2nYJg==", "cpu": [ "x64" ], @@ -689,9 +689,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.18.1.tgz", - "integrity": "sha512-P9bSiAUnSSM7EmyRK+e5wgpqai86QOSv8BwvkGjLwYuOpaeomiZWifEos517CwbG+aZl1T4clSE1YqqH2JRs+g==", + "version": "4.19.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.19.0.tgz", + "integrity": "sha512-2Rn36Ubxdv32NUcfm0wB1tgKqkQuft00PtM23VqLuCUR4N5jcNWDoV5iBC9jeGdgS38WK66ElncprqgMUOyomw==", "cpu": [ "arm" ], @@ -702,9 +702,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.18.1.tgz", - "integrity": "sha512-5RnjpACoxtS+aWOI1dURKno11d7krfpGDEn19jI8BuWmSBbUC4ytIADfROM1FZrFhQPSoP+KEa3NlEScznBTyQ==", + "version": "4.19.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.19.0.tgz", + "integrity": "sha512-gJuzIVdq/X1ZA2bHeCGCISe0VWqCoNT8BvkQ+BfsixXwTOndhtLUpOg0A1Fcx/+eA6ei6rMBzlOz4JzmiDw7JQ==", "cpu": [ "arm" ], @@ -715,9 +715,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.18.1.tgz", - "integrity": "sha512-8mwmGD668m8WaGbthrEYZ9CBmPug2QPGWxhJxh/vCgBjro5o96gL04WLlg5BA233OCWLqERy4YUzX3bJGXaJgQ==", + "version": "4.19.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.19.0.tgz", + "integrity": "sha512-0EkX2HYPkSADo9cfeGFoQ7R0/wTKb7q6DdwI4Yn/ULFE1wuRRCHybxpl2goQrx4c/yzK3I8OlgtBu4xvted0ug==", "cpu": [ "arm64" ], @@ -728,9 +728,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.18.1.tgz", - "integrity": "sha512-dJX9u4r4bqInMGOAQoGYdwDP8lQiisWb9et+T84l2WXk41yEej8v2iGKodmdKimT8cTAYt0jFb+UEBxnPkbXEQ==", + "version": "4.19.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.19.0.tgz", + "integrity": "sha512-GlIQRj9px52ISomIOEUq/IojLZqzkvRpdP3cLgIE1wUWaiU5Takwlzpz002q0Nxxr1y2ZgxC2obWxjr13lvxNQ==", "cpu": [ "arm64" ], @@ -741,9 +741,9 @@ ] }, "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.18.1.tgz", - "integrity": "sha512-V72cXdTl4EI0x6FNmho4D502sy7ed+LuVW6Ym8aI6DRQ9hQZdp5sj0a2usYOlqvFBNKQnLQGwmYnujo2HvjCxQ==", + "version": "4.19.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.19.0.tgz", + "integrity": "sha512-N6cFJzssruDLUOKfEKeovCKiHcdwVYOT1Hs6dovDQ61+Y9n3Ek4zXvtghPPelt6U0AH4aDGnDLb83uiJMkWYzQ==", "cpu": [ "ppc64" ], @@ -754,9 +754,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.18.1.tgz", - "integrity": "sha512-f+pJih7sxoKmbjghrM2RkWo2WHUW8UbfxIQiWo5yeCaCM0TveMEuAzKJte4QskBp1TIinpnRcxkquY+4WuY/tg==", + "version": "4.19.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.19.0.tgz", + "integrity": "sha512-2DnD3mkS2uuam/alF+I7M84koGwvn3ZVD7uG+LEWpyzo/bq8+kKnus2EVCkcvh6PlNB8QPNFOz6fWd5N8o1CYg==", "cpu": [ "riscv64" ], @@ -767,9 +767,9 @@ ] }, "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.18.1.tgz", - "integrity": "sha512-qb1hMMT3Fr/Qz1OKovCuUM11MUNLUuHeBC2DPPAWUYYUAOFWaxInaTwTQmc7Fl5La7DShTEpmYwgdt2hG+4TEg==", + "version": "4.19.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.19.0.tgz", + "integrity": "sha512-D6pkaF7OpE7lzlTOFCB2m3Ngzu2ykw40Nka9WmKGUOTS3xcIieHe82slQlNq69sVB04ch73thKYIWz/Ian8DUA==", "cpu": [ "s390x" ], @@ -780,9 +780,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.18.1.tgz", - "integrity": "sha512-7O5u/p6oKUFYjRbZkL2FLbwsyoJAjyeXHCU3O4ndvzg2OFO2GinFPSJFGbiwFDaCFc+k7gs9CF243PwdPQFh5g==", + "version": "4.19.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.19.0.tgz", + "integrity": "sha512-HBndjQLP8OsdJNSxpNIN0einbDmRFg9+UQeZV1eiYupIRuZsDEoeGU43NQsS34Pp166DtwQOnpcbV/zQxM+rWA==", "cpu": [ "x64" ], @@ -793,9 +793,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.18.1.tgz", - "integrity": "sha512-pDLkYITdYrH/9Cv/Vlj8HppDuLMDUBmgsM0+N+xLtFd18aXgM9Nyqupb/Uw+HeidhfYg2lD6CXvz6CjoVOaKjQ==", + "version": "4.19.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.19.0.tgz", + "integrity": "sha512-HxfbvfCKJe/RMYJJn0a12eiOI9OOtAUF4G6ozrFUK95BNyoJaSiBjIOHjZskTUffUrB84IPKkFG9H9nEvJGW6A==", "cpu": [ "x64" ], @@ -806,9 +806,9 @@ ] }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.18.1.tgz", - "integrity": "sha512-W2ZNI323O/8pJdBGil1oCauuCzmVd9lDmWBBqxYZcOqWD6aWqJtVBQ1dFrF4dYpZPks6F+xCZHfzG5hYlSHZ6g==", + "version": "4.19.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.19.0.tgz", + "integrity": "sha512-HxDMKIhmcguGTiP5TsLNolwBUK3nGGUEoV/BO9ldUBoMLBssvh4J0X8pf11i1fTV7WShWItB1bKAKjX4RQeYmg==", "cpu": [ "arm64" ], @@ -819,9 +819,9 @@ ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.18.1.tgz", - "integrity": "sha512-ELfEX1/+eGZYMaCIbK4jqLxO1gyTSOIlZr6pbC4SRYFaSIDVKOnZNMdoZ+ON0mrFDp4+H5MhwNC1H/AhE3zQLg==", + "version": "4.19.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.19.0.tgz", + "integrity": "sha512-xItlIAZZaiG/u0wooGzRsx11rokP4qyc/79LkAOdznGRAbOFc+SfEdfUOszG1odsHNgwippUJavag/+W/Etc6Q==", "cpu": [ "ia32" ], @@ -832,9 +832,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.18.1.tgz", - "integrity": "sha512-yjk2MAkQmoaPYCSu35RLJ62+dz358nE83VfTePJRp8CG7aMg25mEJYpXFiD+NcevhX8LxD5OP5tktPXnXN7GDw==", + "version": "4.19.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.19.0.tgz", + "integrity": "sha512-xNo5fV5ycvCCKqiZcpB65VMR11NJB+StnxHz20jdqRAktfdfzhgjTiJ2doTDQE/7dqGaV5I7ZGqKpgph6lCIag==", "cpu": [ "x64" ], @@ -925,39 +925,39 @@ } }, "node_modules/@vue/compiler-core": { - "version": "3.4.32", - "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.4.32.tgz", - "integrity": "sha512-8tCVWkkLe/QCWIsrIvExUGnhYCAOroUs5dzhSoKL5w4MJS8uIYiou+pOPSVIOALOQ80B0jBs+Ri+kd5+MBnCDw==", + "version": "3.4.33", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.4.33.tgz", + "integrity": "sha512-MoIREbkdPQlnGfSKDMgzTqzqx5nmEjIc0ydLVYlTACGBsfvOJ4tHSbZXKVF536n6fB+0eZaGEOqsGThPpdvF5A==", "dev": true, "dependencies": { "@babel/parser": "^7.24.7", - "@vue/shared": "3.4.32", + "@vue/shared": "3.4.33", "entities": "^4.5.0", "estree-walker": "^2.0.2", "source-map-js": "^1.2.0" } }, "node_modules/@vue/compiler-dom": { - "version": "3.4.32", - "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.4.32.tgz", - "integrity": "sha512-PbSgt9KuYo4fyb90dynuPc0XFTfFPs3sCTbPLOLlo+PrUESW1gn/NjSsUvhR+mI2AmmEzexwYMxbHDldxSOr2A==", + "version": "3.4.33", + "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.4.33.tgz", + "integrity": "sha512-GzB8fxEHKw0gGet5BKlpfXEqoBnzSVWwMnT+dc25wE7pFEfrU/QsvjZMP9rD4iVXHBBoemTct8mN0GJEI6ZX5A==", "dev": true, "dependencies": { - "@vue/compiler-core": "3.4.32", - "@vue/shared": "3.4.32" + "@vue/compiler-core": "3.4.33", + "@vue/shared": "3.4.33" } }, "node_modules/@vue/compiler-sfc": { - "version": "3.4.32", - "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.4.32.tgz", - "integrity": "sha512-STy9im/WHfaguJnfKjjVpMHukxHUrOKjm2vVCxiojQJyo3Sb6Os8SMXBr/MI+ekpstEGkDONfqAQoSbZhspLYw==", + "version": "3.4.33", + "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.4.33.tgz", + "integrity": "sha512-7rk7Vbkn21xMwIUpHQR4hCVejwE6nvhBOiDgoBcR03qvGqRKA7dCBSsHZhwhYUsmjlbJ7OtD5UFIyhP6BY+c8A==", "dev": true, "dependencies": { "@babel/parser": "^7.24.7", - "@vue/compiler-core": "3.4.32", - "@vue/compiler-dom": "3.4.32", - "@vue/compiler-ssr": "3.4.32", - "@vue/shared": "3.4.32", + "@vue/compiler-core": "3.4.33", + "@vue/compiler-dom": "3.4.33", + "@vue/compiler-ssr": "3.4.33", + "@vue/shared": "3.4.33", "estree-walker": "^2.0.2", "magic-string": "^0.30.10", "postcss": "^8.4.39", @@ -965,13 +965,13 @@ } }, "node_modules/@vue/compiler-ssr": { - "version": "3.4.32", - "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.4.32.tgz", - "integrity": "sha512-nyu/txTecF6DrxLrpLcI34xutrvZPtHPBj9yRoPxstIquxeeyywXpYZrQMsIeDfBhlw1abJb9CbbyZvDw2kjdg==", + "version": "3.4.33", + "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.4.33.tgz", + "integrity": "sha512-0WveC9Ai+eT/1b6LCV5IfsufBZ0HP7pSSTdDjcuW302tTEgoBw8rHVHKPbGUtzGReUFCRXbv6zQDDgucnV2WzQ==", "dev": true, "dependencies": { - "@vue/compiler-dom": "3.4.32", - "@vue/shared": "3.4.32" + "@vue/compiler-dom": "3.4.33", + "@vue/shared": "3.4.33" } }, "node_modules/@vue/devtools-api": { @@ -1008,53 +1008,53 @@ } }, "node_modules/@vue/reactivity": { - "version": "3.4.32", - "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.4.32.tgz", - "integrity": "sha512-1P7QvghAzhSIWmiNmh4MNkLVjr2QTNDcFv2sKmytEWhR6t7BZzNicgm5ENER4uU++wbWxgRh/pSEYgdI3MDcvg==", + "version": "3.4.33", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.4.33.tgz", + "integrity": "sha512-B24QIelahDbyHipBgbUItQblbd4w5HpG3KccL+YkGyo3maXyS253FzcTR3pSz739OTphmzlxP7JxEMWBpewilA==", "dev": true, "dependencies": { - "@vue/shared": "3.4.32" + "@vue/shared": "3.4.33" } }, "node_modules/@vue/runtime-core": { - "version": "3.4.32", - "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.4.32.tgz", - "integrity": "sha512-FxT2dTHUs1Hki8Ui/B1Hu339mx4H5kRJooqrNM32tGUHBPStJxwMzLIRbeGO/B1NMplU4Pg9fwOqrJtrOzkdfA==", + "version": "3.4.33", + "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.4.33.tgz", + "integrity": "sha512-6wavthExzT4iAxpe8q37/rDmf44nyOJGISJPxCi9YsQO+8w9v0gLCFLfH5TzD1V1AYrTAdiF4Y1cgUmP68jP6w==", "dev": true, "dependencies": { - "@vue/reactivity": "3.4.32", - "@vue/shared": "3.4.32" + "@vue/reactivity": "3.4.33", + "@vue/shared": "3.4.33" } }, "node_modules/@vue/runtime-dom": { - "version": "3.4.32", - "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.4.32.tgz", - "integrity": "sha512-Xz9G+ZViRyPFQtRBCPFkhMzKn454ihCPMKUiacNaUhuTIXvyfkAq8l89IZ/kegFVyw/7KkJGRGqYdEZrf27Xsg==", + "version": "3.4.33", + "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.4.33.tgz", + "integrity": "sha512-iHsMCUSFJ+4z432Bn9kZzHX+zOXa6+iw36DaVRmKYZpPt9jW9riF32SxNwB124i61kp9+AZtheQ/mKoJLerAaQ==", "dev": true, "dependencies": { - "@vue/reactivity": "3.4.32", - "@vue/runtime-core": "3.4.32", - "@vue/shared": "3.4.32", + "@vue/reactivity": "3.4.33", + "@vue/runtime-core": "3.4.33", + "@vue/shared": "3.4.33", "csstype": "^3.1.3" } }, "node_modules/@vue/server-renderer": { - "version": "3.4.32", - "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.4.32.tgz", - "integrity": "sha512-3c4rd0522Ao8hKjzgmUAbcjv2mBnvnw0Ld2f8HOMCuWJZjYie/p8cpIoYJbeP0VV2JYmrJJMwGQDO5RH4iQ30A==", + "version": "3.4.33", + "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.4.33.tgz", + "integrity": "sha512-jTH0d6gQcaYideFP/k0WdEu8PpRS9MF8d0b6SfZzNi+ap972pZ0TNIeTaESwdOtdY0XPVj54XEJ6K0wXxir4fw==", "dev": true, "dependencies": { - "@vue/compiler-ssr": "3.4.32", - "@vue/shared": "3.4.32" + "@vue/compiler-ssr": "3.4.33", + "@vue/shared": "3.4.33" }, "peerDependencies": { - "vue": "3.4.32" + "vue": "3.4.33" } }, "node_modules/@vue/shared": { - "version": "3.4.32", - "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.4.32.tgz", - "integrity": "sha512-ep4mF1IVnX/pYaNwxwOpJHyBtOMKWoKZMbnUyd+z0udqIxLUh7YCCd/JfDna8aUrmnG9SFORyIq2HzEATRrQsg==", + "version": "3.4.33", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.4.33.tgz", + "integrity": "sha512-aoRY0jQk3A/cuvdkodTrM4NMfxco8n55eG4H7ML/CRy7OryHfiqvug4xrCBBMbbN+dvXAetDDwZW9DXWWjBntA==", "dev": true }, "node_modules/@vueuse/core": { @@ -1403,9 +1403,9 @@ "dev": true }, "node_modules/minisearch": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/minisearch/-/minisearch-7.0.1.tgz", - "integrity": "sha512-xLeX/AwTJLzgBF2/bdUI7MEePwXtzaLExkRwu8YFGfLDwSe06KYkplqPodLANsqvfc5Ks/r5ItFUSjIp7+9xtw==", + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/minisearch/-/minisearch-7.0.2.tgz", + "integrity": "sha512-Pf0sFXaCgRpOBDr4G8wTbVAEH9o9rvJzCMwj0TMe3L/NfUuG188xabfx6Vm3vD/Dv5L500n7JeiMB9Mq3sWMfQ==", "dev": true }, "node_modules/mitt": { @@ -1489,9 +1489,9 @@ "dev": true }, "node_modules/rollup": { - "version": "4.18.1", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.18.1.tgz", - "integrity": "sha512-Elx2UT8lzxxOXMpy5HWQGZqkrQOtrVDDa/bm9l10+U4rQnVzbL/LgZ4NOM1MPIDyHk69W4InuYDF5dzRh4Kw1A==", + "version": "4.19.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.19.0.tgz", + "integrity": "sha512-5r7EYSQIowHsK4eTZ0Y81qpZuJz+MUuYeqmmYmRMl1nwhdmbiYqt5jwzf6u7wyOzJgYqtCRMtVRKOtHANBz7rA==", "dev": true, "dependencies": { "@types/estree": "1.0.5" @@ -1504,22 +1504,22 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.18.1", - "@rollup/rollup-android-arm64": "4.18.1", - "@rollup/rollup-darwin-arm64": "4.18.1", - "@rollup/rollup-darwin-x64": "4.18.1", - "@rollup/rollup-linux-arm-gnueabihf": "4.18.1", - "@rollup/rollup-linux-arm-musleabihf": "4.18.1", - "@rollup/rollup-linux-arm64-gnu": "4.18.1", - "@rollup/rollup-linux-arm64-musl": "4.18.1", - "@rollup/rollup-linux-powerpc64le-gnu": "4.18.1", - "@rollup/rollup-linux-riscv64-gnu": "4.18.1", - "@rollup/rollup-linux-s390x-gnu": "4.18.1", - "@rollup/rollup-linux-x64-gnu": "4.18.1", - "@rollup/rollup-linux-x64-musl": "4.18.1", - "@rollup/rollup-win32-arm64-msvc": "4.18.1", - "@rollup/rollup-win32-ia32-msvc": "4.18.1", - "@rollup/rollup-win32-x64-msvc": "4.18.1", + "@rollup/rollup-android-arm-eabi": "4.19.0", + "@rollup/rollup-android-arm64": "4.19.0", + "@rollup/rollup-darwin-arm64": "4.19.0", + "@rollup/rollup-darwin-x64": "4.19.0", + "@rollup/rollup-linux-arm-gnueabihf": "4.19.0", + "@rollup/rollup-linux-arm-musleabihf": "4.19.0", + "@rollup/rollup-linux-arm64-gnu": "4.19.0", + "@rollup/rollup-linux-arm64-musl": "4.19.0", + "@rollup/rollup-linux-powerpc64le-gnu": "4.19.0", + "@rollup/rollup-linux-riscv64-gnu": "4.19.0", + "@rollup/rollup-linux-s390x-gnu": "4.19.0", + "@rollup/rollup-linux-x64-gnu": "4.19.0", + "@rollup/rollup-linux-x64-musl": "4.19.0", + "@rollup/rollup-win32-arm64-msvc": "4.19.0", + "@rollup/rollup-win32-ia32-msvc": "4.19.0", + "@rollup/rollup-win32-x64-msvc": "4.19.0", "fsevents": "~2.3.2" } }, @@ -1671,16 +1671,16 @@ } }, "node_modules/vue": { - "version": "3.4.32", - "resolved": "https://registry.npmjs.org/vue/-/vue-3.4.32.tgz", - "integrity": "sha512-9mCGIAi/CAq7GtaLLLp2J92pEic+HArstG+pq6F+H7+/jB9a0Z7576n4Bh4k79/50L1cKMIhZC3MC0iGpl+1IA==", + "version": "3.4.33", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.4.33.tgz", + "integrity": "sha512-VdMCWQOummbhctl4QFMcW6eNtXHsFyDlX60O/tsSQuCcuDOnJ1qPOhhVla65Niece7xq/P2zyZReIO5mP+LGTQ==", "dev": true, "dependencies": { - "@vue/compiler-dom": "3.4.32", - "@vue/compiler-sfc": "3.4.32", - "@vue/runtime-dom": "3.4.32", - "@vue/server-renderer": "3.4.32", - "@vue/shared": "3.4.32" + "@vue/compiler-dom": "3.4.33", + "@vue/compiler-sfc": "3.4.33", + "@vue/runtime-dom": "3.4.33", + "@vue/server-renderer": "3.4.33", + "@vue/shared": "3.4.33" }, "peerDependencies": { "typescript": "*" diff --git a/zh-CN/command/index.html b/zh-CN/command/index.html index f21e585..60cd4c5 100644 --- a/zh-CN/command/index.html +++ b/zh-CN/command/index.html @@ -8,17 +8,17 @@ - + - - - + + +
Skip to content
  • 等待补充...
    • 可以使用 psc 触发补全,通过补全提示信息了解模块命令
    • 通过项目的 README 了解
    • 输入 psc 后 按下 enter,将会打印一些模块信息
- + \ No newline at end of file diff --git a/zh-CN/completion/index.html b/zh-CN/completion/index.html index 0b0da3a..e8e71e8 100644 --- a/zh-CN/completion/index.html +++ b/zh-CN/completion/index.html @@ -8,11 +8,11 @@ - + - - - + + + @@ -97,7 +97,7 @@ ] } ] - + \ No newline at end of file diff --git a/zh-CN/contribute/index.html b/zh-CN/contribute/index.html index ecafa5f..9831440 100644 --- a/zh-CN/contribute/index.html +++ b/zh-CN/contribute/index.html @@ -8,17 +8,17 @@ - + - - - + + +
Skip to content

关于 PR (Pull Request)

  1. 前提: 你应该先阅读 关于补全的 json 文件结构
  2. 你应该 fork PSCompletions 仓库,克隆到本地进行修改
  3. 只要到补全文件进行了修改,都需要更新其目录下的 guid.txt 文件
    • 你可以手动运行 New-Guid 生成,将值填入此文件中
    • 也可以直接运行 .\script\updateGuid.ps1,在弹出的 PowerShell 列表框中,选择此补全,并应用修改即可
  4. 修改完成后,提交并创建 PR

1. 更新 json 文件内容

  • 完善补全的一些提示信息(tip 属性)
  • 添加补全的一些缺失的命令
    • 可以通过 .\script\compareJson.ps1 脚本来查看未完成的部分
      • git 举例
      • 你可以使用以下命令查看 zh-CN.json 文件缺少的属性(相较于 en-US.json 文件)
        • .\script\compareJson.ps1 .\completions\git\language\zh-CN.json .\completions\git\language\en-US.json
      • 如果是和 config.json 中配置的第一个语言对比,也可以省略第二个参数
        • 一般都是和第一个语言对比,所以以下命令是最常见的用法
        • .\script\compareJson.ps1 .\completions\git\language\zh-CN.json

2. 添加语言

  1. 在项目的 completions 目录中找到你想要添加语言的补全
  2. 在其目录下的 config.json 文件中的 language 属性里添加像 zh-CN 这样的语言标识符
  3. language 目录下添加与语言标识符同名的 json 文件
    • 你可以将原有的一个 json 文件直接复制,改名即可
  4. 翻译其中的 tip 属性的内容即可

3. 添加一个全新的命令补全

  1. 在项目根目录下运行 .\script\create.ps1
    • 为了调试方便,create.ps1 会将创建的补全目录链接到实际 PSCompletionscompletions 目录下
      • 因此,必须先安装并导入 PSCompletions 模块,然后再运行 create.ps1
        • Install-Module PSCompletions -Scope CurrentUser
        • Import-Module PSCompletions
    • 当提交 PR 并被合并后,你应该使用 psc rm 移除掉此补全,并使用 psc add 重新添加
  2. 根据提示进行操作
  3. 修改新创建的补全
  4. 根据需求修改 config.json
- + \ No newline at end of file diff --git a/zh-CN/index.html b/zh-CN/index.html index 27087ab..22b13e3 100644 --- a/zh-CN/index.html +++ b/zh-CN/index.html @@ -8,17 +8,17 @@ - + - - - + + +
Skip to content

PSCompletions

一个补全管理模块,它能让你在 PowerShell 中更简单、更方便地使用命令补全。

- + \ No newline at end of file