From 5bc152382e27de400f83086dfbd176bf931dd690 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Mon, 16 Sep 2024 04:28:20 +0000 Subject: [PATCH] deploy: 4a909d153ce39a4392980af65030839c99fc6635 --- 404.html | 6 +- README.html | 14 +- archives.html | 14 +- ...E.md.k810ZWzy.js => README.md.DgO3P-U-.js} | 2 +- ...Wzy.lean.js => README.md.DgO3P-U-.lean.js} | 2 +- assets/app.C8S0lGNg.js | 1 - assets/app.CIxenUqf.js | 1 + ...QBzCh8.lean.js => archives.md.BYQ5XYY0.js} | 2 +- ...QBzCh8.js => archives.md.BYQ5XYY0.lean.js} | 2 +- assets/chunks/VPLocalSearchBox.DUPcTUiS.js | 7 - assets/chunks/VPLocalSearchBox.Dxxc2frX.js | 7 + assets/chunks/framework.0rl6iKyO.js | 17 - assets/chunks/framework.CIgcugFM.js | 17 + assets/chunks/theme.Cru_PcOt.js | 2 - assets/chunks/theme.DrOS_k1Q.js | 2 + ...ex.md.CLIMg223.js => index.md.DGf5Jc6M.js} | 2 +- ...g223.lean.js => index.md.DGf5Jc6M.lean.js} | 2 +- ...0\260\203\347\224\250.md.C0VngNUC.lean.js" | 28 - ...17\350\260\203\347\224\250.md.DOyKpAyx.js" | 4 +- ...0\260\203\347\224\250.md.DOyKpAyx.lean.js" | 1 + ...37\345\236\213\351\223\276.md.DBDWdTI_.js" | 4 +- ...5\236\213\351\223\276.md.DBDWdTI_.lean.js" | 1 + ...5\236\213\351\223\276.md._gB--bJr.lean.js" | 22 - ...6\250\241\345\274\217.md.BMIRw4ej.lean.js" | 58 -- ...05\346\250\241\345\274\217.md.BuZS-Pf5.js" | 4 +- ...6\250\241\345\274\217.md.BuZS-Pf5.lean.js" | 1 + ...47\232\204react hooks.md.DW1oCiM8.lean.js" | 42 -- ...261\347\232\204react hooks.md.DeK2NMUU.js" | 4 +- ...47\232\204react hooks.md.DeK2NMUU.lean.js" | 1 + ...22\350\260\203\347\224\250.md.CFjD5Eh2.js" | 4 +- ...0\260\203\347\224\250.md.CFjD5Eh2.lean.js" | 1 + ...0\260\203\347\224\250.md.DYzuxZlR.lean.js" | 47 -- ...1\227\256\345\217\267.md.D4bXVOn3.lean.js" | 48 -- ...04\351\227\256\345\217\267.md.DRDTHmzw.js" | 4 +- ...1\227\256\345\217\267.md.DRDTHmzw.lean.js" | 1 + ...ick \344\270\216 Omit.md.COzyRk_Q.lean.js" | 23 - ...260 Pick \344\270\216 Omit.md.Dkcb9e_L.js" | 4 +- ...ick \344\270\216 Omit.md.Dkcb9e_L.lean.js" | 1 + ...01\344\271\213\351\201\223.md.BrtJ0fSS.js" | 4 +- ...4\271\213\351\201\223.md.BrtJ0fSS.lean.js" | 1 + ...4\271\213\351\201\223.md.Ci9Ui3U9.lean.js" | 518 ------------------ ...45\344\275\234\346\265\201.md.BfP_Egli.js" | 1 + ...4\275\234\346\265\201.md.BfP_Egli.lean.js" | 1 + ...45\344\275\234\346\265\201.md.CGhQ8Sce.js" | 1 - ...4\275\234\346\265\201.md.CGhQ8Sce.lean.js" | 1 - ...6\216\222\345\272\217.md.CdEF-vYz.lean.js" | 54 -- ...04\346\216\222\345\272\217.md.DhwUpopQ.js" | 4 +- ...6\216\222\345\272\217.md.DhwUpopQ.lean.js" | 1 + ...{style.qPJRxw_Q.css => style.BCQ5trhT.css} | 2 +- ...ags.md.CR6WL9Vp.js => tags.md.DodXQj0s.js} | 2 +- ...WL9Vp.lean.js => tags.md.DodXQj0s.lean.js} | 2 +- hashmap.json | 2 +- index.html | 14 +- ...\345\274\217\350\260\203\347\224\250.html" | 16 +- ...\345\216\237\345\236\213\351\223\276.html" | 16 +- ...\350\200\205\346\250\241\345\274\217.html" | 16 +- ...2\345\267\261\347\232\204react hooks.html" | 16 +- ...\345\275\222\350\260\203\347\224\250.html" | 16 +- ...\347\232\204\351\227\256\345\217\267.html" | 16 +- ...7\350\256\260 Pick \344\270\216 Omit.html" | 16 +- ...\346\264\201\344\271\213\351\201\223.html" | 16 +- ...\345\267\245\344\275\234\346\265\201.html" | 14 +- ...\347\273\204\346\216\222\345\272\217.html" | 16 +- tags.html | 14 +- 64 files changed, 176 insertions(+), 1007 deletions(-) rename assets/{README.md.k810ZWzy.js => README.md.DgO3P-U-.js} (80%) rename assets/{README.md.k810ZWzy.lean.js => README.md.DgO3P-U-.lean.js} (80%) delete mode 100644 assets/app.C8S0lGNg.js create mode 100644 assets/app.CIxenUqf.js rename assets/{archives.md.DOQBzCh8.lean.js => archives.md.BYQ5XYY0.js} (68%) rename assets/{archives.md.DOQBzCh8.js => archives.md.BYQ5XYY0.lean.js} (68%) delete mode 100644 assets/chunks/VPLocalSearchBox.DUPcTUiS.js create mode 100644 assets/chunks/VPLocalSearchBox.Dxxc2frX.js delete mode 100644 assets/chunks/framework.0rl6iKyO.js create mode 100644 assets/chunks/framework.CIgcugFM.js delete mode 100644 assets/chunks/theme.Cru_PcOt.js create mode 100644 assets/chunks/theme.DrOS_k1Q.js rename assets/{index.md.CLIMg223.js => index.md.DGf5Jc6M.js} (83%) rename assets/{index.md.CLIMg223.lean.js => index.md.DGf5Jc6M.lean.js} (83%) delete mode 100644 "assets/posts_JavaScript_js\345\256\236\347\216\260\351\223\276\345\274\217\350\260\203\347\224\250.md.C0VngNUC.lean.js" rename "assets/posts_JavaScript_js\345\256\236\347\216\260\351\223\276\345\274\217\350\260\203\347\224\250.md.C0VngNUC.js" => "assets/posts_JavaScript_js\345\256\236\347\216\260\351\223\276\345\274\217\350\260\203\347\224\250.md.DOyKpAyx.js" (88%) create mode 100644 "assets/posts_JavaScript_js\345\256\236\347\216\260\351\223\276\345\274\217\350\260\203\347\224\250.md.DOyKpAyx.lean.js" rename "assets/posts_JavaScript_\345\216\237\345\236\213\343\200\201\345\216\237\345\236\213\351\223\276.md._gB--bJr.js" => "assets/posts_JavaScript_\345\216\237\345\236\213\343\200\201\345\216\237\345\236\213\351\223\276.md.DBDWdTI_.js" (82%) create mode 100644 "assets/posts_JavaScript_\345\216\237\345\236\213\343\200\201\345\216\237\345\236\213\351\223\276.md.DBDWdTI_.lean.js" delete mode 100644 "assets/posts_JavaScript_\345\216\237\345\236\213\343\200\201\345\216\237\345\236\213\351\223\276.md._gB--bJr.lean.js" delete mode 100644 "assets/posts_JavaScript_\345\217\221\345\270\203\350\256\242\351\230\205\344\270\216\350\247\202\345\257\237\350\200\205\346\250\241\345\274\217.md.BMIRw4ej.lean.js" rename "assets/posts_JavaScript_\345\217\221\345\270\203\350\256\242\351\230\205\344\270\216\350\247\202\345\257\237\350\200\205\346\250\241\345\274\217.md.BMIRw4ej.js" => "assets/posts_JavaScript_\345\217\221\345\270\203\350\256\242\351\230\205\344\270\216\350\247\202\345\257\237\350\200\205\346\250\241\345\274\217.md.BuZS-Pf5.js" (92%) create mode 100644 "assets/posts_JavaScript_\345\217\221\345\270\203\350\256\242\351\230\205\344\270\216\350\247\202\345\257\237\350\200\205\346\250\241\345\274\217.md.BuZS-Pf5.lean.js" delete mode 100644 "assets/posts_React_\345\246\202\344\275\225\345\260\201\350\243\205\350\207\252\345\267\261\347\232\204react hooks.md.DW1oCiM8.lean.js" rename "assets/posts_React_\345\246\202\344\275\225\345\260\201\350\243\205\350\207\252\345\267\261\347\232\204react hooks.md.DW1oCiM8.js" => "assets/posts_React_\345\246\202\344\275\225\345\260\201\350\243\205\350\207\252\345\267\261\347\232\204react hooks.md.DeK2NMUU.js" (89%) create mode 100644 "assets/posts_React_\345\246\202\344\275\225\345\260\201\350\243\205\350\207\252\345\267\261\347\232\204react hooks.md.DeK2NMUU.lean.js" rename "assets/posts_React_\345\256\236\347\216\260react\347\273\204\344\273\266\347\232\204\351\200\222\345\275\222\350\260\203\347\224\250.md.DYzuxZlR.js" => "assets/posts_React_\345\256\236\347\216\260react\347\273\204\344\273\266\347\232\204\351\200\222\345\275\222\350\260\203\347\224\250.md.CFjD5Eh2.js" (90%) create mode 100644 "assets/posts_React_\345\256\236\347\216\260react\347\273\204\344\273\266\347\232\204\351\200\222\345\275\222\350\260\203\347\224\250.md.CFjD5Eh2.lean.js" delete mode 100644 "assets/posts_React_\345\256\236\347\216\260react\347\273\204\344\273\266\347\232\204\351\200\222\345\275\222\350\260\203\347\224\250.md.DYzuxZlR.lean.js" delete mode 100644 "assets/posts_TypeScript_TypeScript\344\270\255\347\232\204\351\227\256\345\217\267.md.D4bXVOn3.lean.js" rename "assets/posts_TypeScript_TypeScript\344\270\255\347\232\204\351\227\256\345\217\267.md.D4bXVOn3.js" => "assets/posts_TypeScript_TypeScript\344\270\255\347\232\204\351\227\256\345\217\267.md.DRDTHmzw.js" (77%) create mode 100644 "assets/posts_TypeScript_TypeScript\344\270\255\347\232\204\351\227\256\345\217\267.md.DRDTHmzw.lean.js" delete mode 100644 "assets/posts_TypeScript_\343\200\220Training\343\200\221\347\261\273\345\236\213\346\240\207\350\256\260 Pick \344\270\216 Omit.md.COzyRk_Q.lean.js" rename "assets/posts_TypeScript_\343\200\220Training\343\200\221\347\261\273\345\236\213\346\240\207\350\256\260 Pick \344\270\216 Omit.md.COzyRk_Q.js" => "assets/posts_TypeScript_\343\200\220Training\343\200\221\347\261\273\345\236\213\346\240\207\350\256\260 Pick \344\270\216 Omit.md.Dkcb9e_L.js" (92%) create mode 100644 "assets/posts_TypeScript_\343\200\220Training\343\200\221\347\261\273\345\236\213\346\240\207\350\256\260 Pick \344\270\216 Omit.md.Dkcb9e_L.lean.js" rename "assets/posts_\345\211\252\350\264\264\346\235\277_\344\273\243\347\240\201\346\225\264\346\264\201\344\271\213\351\201\223.md.Ci9Ui3U9.js" => "assets/posts_\345\211\252\350\264\264\346\235\277_\344\273\243\347\240\201\346\225\264\346\264\201\344\271\213\351\201\223.md.BrtJ0fSS.js" (98%) create mode 100644 "assets/posts_\345\211\252\350\264\264\346\235\277_\344\273\243\347\240\201\346\225\264\346\264\201\344\271\213\351\201\223.md.BrtJ0fSS.lean.js" delete mode 100644 "assets/posts_\345\211\252\350\264\264\346\235\277_\344\273\243\347\240\201\346\225\264\346\264\201\344\271\213\351\201\223.md.Ci9Ui3U9.lean.js" create mode 100644 "assets/posts_\346\211\223\345\214\205\343\200\201\345\267\245\347\250\213\345\214\226_Webpack\345\267\245\344\275\234\346\265\201.md.BfP_Egli.js" create mode 100644 "assets/posts_\346\211\223\345\214\205\343\200\201\345\267\245\347\250\213\345\214\226_Webpack\345\267\245\344\275\234\346\265\201.md.BfP_Egli.lean.js" delete mode 100644 "assets/posts_\346\211\223\345\214\205\343\200\201\345\267\245\347\250\213\345\214\226_Webpack\345\267\245\344\275\234\346\265\201.md.CGhQ8Sce.js" delete mode 100644 "assets/posts_\346\211\223\345\214\205\343\200\201\345\267\245\347\250\213\345\214\226_Webpack\345\267\245\344\275\234\346\265\201.md.CGhQ8Sce.lean.js" delete mode 100644 "assets/posts_\347\256\227\346\263\225_\345\270\270\347\224\250\346\225\260\347\273\204\346\216\222\345\272\217.md.CdEF-vYz.lean.js" rename "assets/posts_\347\256\227\346\263\225_\345\270\270\347\224\250\346\225\260\347\273\204\346\216\222\345\272\217.md.CdEF-vYz.js" => "assets/posts_\347\256\227\346\263\225_\345\270\270\347\224\250\346\225\260\347\273\204\346\216\222\345\272\217.md.DhwUpopQ.js" (91%) create mode 100644 "assets/posts_\347\256\227\346\263\225_\345\270\270\347\224\250\346\225\260\347\273\204\346\216\222\345\272\217.md.DhwUpopQ.lean.js" rename assets/{style.qPJRxw_Q.css => style.BCQ5trhT.css} (73%) rename assets/{tags.md.CR6WL9Vp.js => tags.md.DodXQj0s.js} (67%) rename assets/{tags.md.CR6WL9Vp.lean.js => tags.md.DodXQj0s.lean.js} (67%) diff --git a/404.html b/404.html index 6c3798b..ca08ad6 100644 --- a/404.html +++ b/404.html @@ -6,9 +6,9 @@ 404 | RuiLin Dong - + - + @@ -18,7 +18,7 @@
- + \ No newline at end of file diff --git a/README.html b/README.html index 6d197f3..01d1f5f 100644 --- a/README.html +++ b/README.html @@ -6,13 +6,13 @@ RuiLin Dong - + - + - - - + + + @@ -20,8 +20,8 @@ -
Skip to content

🕒 Published at:
--- Done ---
- +
Skip to content

🕒 Published at:
--- Done ---
+ \ No newline at end of file diff --git a/archives.html b/archives.html index f38a98d..30e6c64 100644 --- a/archives.html +++ b/archives.html @@ -6,13 +6,13 @@ RuiLin Dong - + - + - - - + + + @@ -20,8 +20,8 @@ -
- +
+ \ No newline at end of file diff --git a/assets/README.md.k810ZWzy.js b/assets/README.md.DgO3P-U-.js similarity index 80% rename from assets/README.md.k810ZWzy.js rename to assets/README.md.DgO3P-U-.js index 5afa59e..7df6bde 100644 --- a/assets/README.md.k810ZWzy.js +++ b/assets/README.md.DgO3P-U-.js @@ -1 +1 @@ -import{_ as e,c as t,o as a}from"./chunks/framework.0rl6iKyO.js";const m=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"README.md","filePath":"README.md"}'),r={name:"README.md"};function o(s,c,n,p,_,d){return a(),t("div")}const E=e(r,[["render",o]]);export{m as __pageData,E as default}; +import{_ as e,c as t,o as a}from"./chunks/framework.CIgcugFM.js";const m=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"README.md","filePath":"README.md"}'),r={name:"README.md"};function o(s,c,n,p,_,d){return a(),t("div")}const E=e(r,[["render",o]]);export{m as __pageData,E as default}; diff --git a/assets/README.md.k810ZWzy.lean.js b/assets/README.md.DgO3P-U-.lean.js similarity index 80% rename from assets/README.md.k810ZWzy.lean.js rename to assets/README.md.DgO3P-U-.lean.js index 5afa59e..7df6bde 100644 --- a/assets/README.md.k810ZWzy.lean.js +++ b/assets/README.md.DgO3P-U-.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o as a}from"./chunks/framework.0rl6iKyO.js";const m=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"README.md","filePath":"README.md"}'),r={name:"README.md"};function o(s,c,n,p,_,d){return a(),t("div")}const E=e(r,[["render",o]]);export{m as __pageData,E as default}; +import{_ as e,c as t,o as a}from"./chunks/framework.CIgcugFM.js";const m=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"README.md","filePath":"README.md"}'),r={name:"README.md"};function o(s,c,n,p,_,d){return a(),t("div")}const E=e(r,[["render",o]]);export{m as __pageData,E as default}; diff --git a/assets/app.C8S0lGNg.js b/assets/app.C8S0lGNg.js deleted file mode 100644 index 36eb137..0000000 --- a/assets/app.C8S0lGNg.js +++ /dev/null @@ -1 +0,0 @@ -import{R 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 v,u as P,v as R,s as w,af as y,ag as C,ah as b,ai as E}from"./chunks/framework.0rl6iKyO.js";import{R as S}from"./chunks/theme.Cru_PcOt.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=v({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=P();return R(()=>{w(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&y(),C(),b(),s.setup&&s.setup(),()=>E(s.Layout)}});async function _(){globalThis.__VITEPRESS__=!0;const e=V(),a=D();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 D(){return h(T)}function V(){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/app.CIxenUqf.js b/assets/app.CIxenUqf.js new file mode 100644 index 0000000..3d479d0 --- /dev/null +++ b/assets/app.CIxenUqf.js @@ -0,0 +1 @@ +import{U as o,a8 as p,a9 as u,aa as l,ab as c,ac as f,ad as d,ae as m,af as h,ag as g,ah as A,d as P,u as v,y,x as w,ai as C,aj as R,ak as b,al as E}from"./chunks/framework.CIgcugFM.js";import{R as S}from"./chunks/theme.DrOS_k1Q.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=x(),a=j();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 j(){return h(T)}function x(){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/archives.md.DOQBzCh8.lean.js b/assets/archives.md.BYQ5XYY0.js similarity index 68% rename from assets/archives.md.DOQBzCh8.lean.js rename to assets/archives.md.BYQ5XYY0.js index 04683f5..ee591dc 100644 --- a/assets/archives.md.DOQBzCh8.lean.js +++ b/assets/archives.md.BYQ5XYY0.js @@ -1 +1 @@ -import{_ as a,B as t,c as r,G as s,o}from"./chunks/framework.0rl6iKyO.js";const v=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"page","navbar":false},"headers":[],"relativePath":"archives.md","filePath":"archives.md"}'),c={name:"archives.md"};function n(i,p,_,l,d,m){const e=t("Archives",!0);return o(),r("div",null,[s(e)])}const f=a(c,[["render",n]]);export{v as __pageData,f as default}; +import{_ as a,D as t,c as r,I as s,o}from"./chunks/framework.CIgcugFM.js";const v=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"page","navbar":false},"headers":[],"relativePath":"archives.md","filePath":"archives.md"}'),c={name:"archives.md"};function n(i,p,_,l,d,m){const e=t("Archives",!0);return o(),r("div",null,[s(e)])}const f=a(c,[["render",n]]);export{v as __pageData,f as default}; diff --git a/assets/archives.md.DOQBzCh8.js b/assets/archives.md.BYQ5XYY0.lean.js similarity index 68% rename from assets/archives.md.DOQBzCh8.js rename to assets/archives.md.BYQ5XYY0.lean.js index 04683f5..ee591dc 100644 --- a/assets/archives.md.DOQBzCh8.js +++ b/assets/archives.md.BYQ5XYY0.lean.js @@ -1 +1 @@ -import{_ as a,B as t,c as r,G as s,o}from"./chunks/framework.0rl6iKyO.js";const v=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"page","navbar":false},"headers":[],"relativePath":"archives.md","filePath":"archives.md"}'),c={name:"archives.md"};function n(i,p,_,l,d,m){const e=t("Archives",!0);return o(),r("div",null,[s(e)])}const f=a(c,[["render",n]]);export{v as __pageData,f as default}; +import{_ as a,D as t,c as r,I as s,o}from"./chunks/framework.CIgcugFM.js";const v=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"page","navbar":false},"headers":[],"relativePath":"archives.md","filePath":"archives.md"}'),c={name:"archives.md"};function n(i,p,_,l,d,m){const e=t("Archives",!0);return o(),r("div",null,[s(e)])}const f=a(c,[["render",n]]);export{v as __pageData,f as default}; diff --git a/assets/chunks/VPLocalSearchBox.DUPcTUiS.js b/assets/chunks/VPLocalSearchBox.DUPcTUiS.js deleted file mode 100644 index 00e7137..0000000 --- a/assets/chunks/VPLocalSearchBox.DUPcTUiS.js +++ /dev/null @@ -1,7 +0,0 @@ -var Nt=Object.defineProperty;var kt=(a,e,t)=>e in a?Nt(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var Re=(a,e,t)=>kt(a,typeof e!="symbol"?e+"":e,t);import{V as Ft,p as se,q as je,aj as Ot,ak as Rt,d as Ct,D as ge,al as Xe,h as be,am as Mt,an as At,s as Lt,ao as Dt,v as Ce,P as ue,O as ye,ap as zt,aq as Pt,W as jt,R as Vt,$ as $t,o as H,b as Bt,j as x,a0 as Wt,k as D,a2 as Kt,ar as Jt,as as Ut,c as Y,n as et,e as we,C as tt,F as st,a as de,t as he,at as qt,au as nt,av as Gt,a8 as Ht,ae as Qt,aw as Yt,_ as Zt}from"./framework.0rl6iKyO.js";import{u as Xt,c as es}from"./theme.Cru_PcOt.js";const ts={root:()=>Ft(()=>import("./@localSearchIndexroot.CrXq-vHD.js"),[])};/*! -* tabbable 6.2.0 -* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE -*/var pt=["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=pt.join(","),vt=typeof Element>"u",ie=vt?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ie=!vt&&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},Ne=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},ss=function(e){var t,s=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return s===""||s==="true"},mt=function(e,t,s){if(Ne(e))return[];var n=Array.prototype.slice.apply(e.querySelectorAll(Te));return t&&ie.call(e,Te)&&n.unshift(e),n=n.filter(s),n},gt=function a(e,t,s){for(var n=[],r=Array.from(e);r.length;){var i=r.shift();if(!Ne(i,!1))if(i.tagName==="SLOT"){var o=i.assignedElements(),l=o.length?o:i.children,c=a(l,!0,s);s.flatten?n.push.apply(n,c):n.push({scopeParent:i,candidates:c})}else{var h=ie.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),m=!Ne(f,!1)&&(!s.shadowRootFilter||s.shadowRootFilter(i));if(f&&m){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},bt=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},ne=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||ss(e))&&!bt(e)?0:e.tabIndex},ns=function(e,t){var s=ne(e);return s<0&&t&&!bt(e)?0:s},is=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},yt=function(e){return e.tagName==="INPUT"},rs=function(e){return yt(e)&&e.type==="hidden"},as=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(s){return s.tagName==="SUMMARY"});return t},os=function(e,t){for(var s=0;ssummary:first-of-type"),i=r?e.parentElement:e;if(ie.call(i,"details:not([open]) *"))return!0;if(!s||s==="full"||s==="legacy-full"){if(typeof n=="function"){for(var o=e;e;){var l=e.parentElement,c=Ie(e);if(l&&!l.shadowRoot&&n(l)===!0)return it(e);e.assignedSlot?e=e.assignedSlot:!l&&c!==e.ownerDocument?e=c.host:e=l}e=o}if(ds(e))return!e.getClientRects().length;if(s!=="legacy-full")return!0}else if(s==="non-zero-area")return it(e);return!1},fs=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)},vs=function a(e){var t=[],s=[];return e.forEach(function(n,r){var i=!!n.scopeParent,o=i?n.scopeParent:n,l=ns(o,i),c=i?a(n.candidates):o;l===0?i?t.push.apply(t,c):t.push(o):s.push({documentOrder:r,tabIndex:l,item:n,isScope:i,content:c})}),s.sort(is).reduce(function(n,r){return r.isScope?n.push.apply(n,r.content):n.push(r.content),n},[]).concat(t)},ms=function(e,t){t=t||{};var s;return t.getShadowRoot?s=gt([e],t.includeContainer,{filter:Ve.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:ps}):s=mt(e,t.includeContainer,Ve.bind(null,t)),vs(s)},gs=function(e,t){t=t||{};var s;return t.getShadowRoot?s=gt([e],t.includeContainer,{filter:ke.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):s=mt(e,t.includeContainer,ke.bind(null,t)),s},re=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ie.call(e,Te)===!1?!1:Ve(t,e)},bs=pt.concat("iframe").join(","),Me=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ie.call(e,bs)===!1?!1:ke(t,e)};/*! -* focus-trap 7.5.4 -* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE -*/function rt(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 at(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()}},Ss=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},_s=function(e){return(e==null?void 0:e.key)==="Escape"||(e==null?void 0:e.key)==="Esc"||(e==null?void 0:e.keyCode)===27},pe=function(e){return(e==null?void 0:e.key)==="Tab"||(e==null?void 0:e.keyCode)===9},Es=function(e){return pe(e)&&!e.shiftKey},Ts=function(e){return pe(e)&&e.shiftKey},lt=function(e){return setTimeout(e,0)},ct=function(e,t){var s=-1;return e.every(function(n,r){return t(n)?(s=r,!1):!0}),s},fe=function(e){for(var t=arguments.length,s=new Array(t>1?t-1:0),n=1;n1?g-1:0),E=1;E=0)u=s.activeElement;else{var d=i.tabbableGroups[0],g=d&&d.firstTabbableNode;u=g||h("fallbackFocus")}if(!u)throw new Error("Your focus-trap needs to have at least one focusable element");return u},m=function(){if(i.containerGroups=i.containers.map(function(u){var d=ms(u,r.tabbableOptions),g=gs(u,r.tabbableOptions),_=d.length>0?d[0]:void 0,E=d.length>0?d[d.length-1]:void 0,k=g.find(function(v){return re(v)}),F=g.slice().reverse().find(function(v){return re(v)}),M=!!d.find(function(v){return ne(v)>0});return{container:u,tabbableNodes:d,focusableNodes:g,posTabIndexesFound:M,firstTabbableNode:_,lastTabbableNode:E,firstDomTabbableNode:k,lastDomTabbableNode:F,nextTabbableNode:function(p){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,O=d.indexOf(p);return O<0?N?g.slice(g.indexOf(p)+1).find(function(P){return re(P)}):g.slice(0,g.indexOf(p)).reverse().find(function(P){return re(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 T(u){var d=u.activeElement;if(d)return d.shadowRoot&&d.shadowRoot.activeElement!==null?T(d.shadowRoot):d},w=function T(u){if(u!==!1&&u!==y(document)){if(!u||!u.focus){T(f());return}u.focus({preventScroll:!!r.preventScroll}),i.mostRecentlyFocusedNode=u,Ss(u)&&u.select()}},b=function(u){var d=h("setReturnFocus",u);return d||(d===!1?!1:u)},S=function(u){var d=u.target,g=u.event,_=u.isBackward,E=_===void 0?!1:_;d=d||xe(g),m();var k=null;if(i.tabbableGroups.length>0){var F=c(d,g),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 v=ct(i.tabbableGroups,function(I){var L=I.firstTabbableNode;return d===L});if(v<0&&(M.container===d||Me(d,r.tabbableOptions)&&!re(d,r.tabbableOptions)&&!M.nextTabbableNode(d,!1))&&(v=F),v>=0){var p=v===0?i.tabbableGroups.length-1:v-1,N=i.tabbableGroups[p];k=ne(d)>=0?N.lastTabbableNode:N.lastDomTabbableNode}else pe(g)||(k=M.nextTabbableNode(d,!1))}else{var O=ct(i.tabbableGroups,function(I){var L=I.lastTabbableNode;return d===L});if(O<0&&(M.container===d||Me(d,r.tabbableOptions)&&!re(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=ne(d)>=0?j.firstTabbableNode:j.firstDomTabbableNode}else pe(g)||(k=M.nextTabbableNode(d))}}else k=h("fallbackFocus");return k},C=function(u){var d=xe(u);if(!(c(d,u)>=0)){if(fe(r.clickOutsideDeactivates,u)){o.deactivate({returnFocus:r.returnFocusOnDeactivate});return}fe(r.allowOutsideClick,u)||u.preventDefault()}},R=function(u){var d=xe(u),g=c(d,u)>=0;if(g||d instanceof Document)g&&(i.mostRecentlyFocusedNode=d);else{u.stopImmediatePropagation();var _,E=!0;if(i.mostRecentlyFocusedNode)if(ne(i.mostRecentlyFocusedNode)>0){var k=c(i.mostRecentlyFocusedNode),F=i.containerGroups[k].tabbableNodes;if(F.length>0){var M=F.findIndex(function(v){return v===i.mostRecentlyFocusedNode});M>=0&&(r.isKeyForward(i.recentNavEvent)?M+1=0&&(_=F[M-1],E=!1))}}else i.containerGroups.some(function(v){return v.tabbableNodes.some(function(p){return ne(p)>0})})||(E=!1);else E=!1;E&&(_=S({target:i.mostRecentlyFocusedNode,isBackward:r.isKeyBackward(i.recentNavEvent)})),w(_||i.mostRecentlyFocusedNode||f())}i.recentNavEvent=void 0},B=function(u){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=u;var g=S({event:u,isBackward:d});g&&(pe(u)&&u.preventDefault(),w(g))},K=function(u){if(_s(u)&&fe(r.escapeDeactivates,u)!==!1){u.preventDefault(),o.deactivate();return}(r.isKeyForward(u)||r.isKeyBackward(u))&&B(u,r.isKeyBackward(u))},V=function(u){var d=xe(u);c(d,u)>=0||fe(r.clickOutsideDeactivates,u)||fe(r.allowOutsideClick,u)||(u.preventDefault(),u.stopImmediatePropagation())},J=function(){if(i.active)return ot.activateTrap(n,o),i.delayInitialFocusTimer=r.delayInitialFocus?lt(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",K,{capture:!0,passive:!1}),o},U=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",K,!0),o},Oe=function(u){var d=u.some(function(g){var _=Array.from(g.removedNodes);return _.some(function(E){return E===i.mostRecentlyFocusedNode})});d&&w(f())},A=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(Oe):void 0,W=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=l(u,"onActivate"),g=l(u,"onPostActivate"),_=l(u,"checkCanFocusTrap");_||m(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=s.activeElement,d==null||d();var E=function(){_&&m(),J(),W(),g==null||g()};return _?(_(i.containers.concat()).then(E,E),this):(E(),this)},deactivate:function(u){if(!i.active)return this;var d=at({onDeactivate:r.onDeactivate,onPostDeactivate:r.onPostDeactivate,checkCanReturnFocus:r.checkCanReturnFocus},u);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,U(),i.active=!1,i.paused=!1,W(),ot.deactivateTrap(n,o);var g=l(d,"onDeactivate"),_=l(d,"onPostDeactivate"),E=l(d,"checkCanReturnFocus"),k=l(d,"returnFocus","returnFocusOnDeactivate");g==null||g();var F=function(){lt(function(){k&&w(b(i.nodeFocusedBeforeActivation)),_==null||_()})};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=l(u,"onPause"),g=l(u,"onPostPause");return i.paused=!0,d==null||d(),U(),W(),g==null||g(),this},unpause:function(u){if(!i.paused||!i.active)return this;var d=l(u,"onUnpause"),g=l(u,"onPostUnpause");return i.paused=!1,d==null||d(),m(),J(),W(),g==null||g(),this},updateContainerElements:function(u){var d=[].concat(u).filter(Boolean);return i.containers=d.map(function(g){return typeof g=="string"?s.querySelector(g):g}),i.active&&m(),W(),this}},o.updateContainerElements(e),o};function ks(a,e={}){let t;const{immediate:s,...n}=e,r=se(!1),i=se(!1),o=f=>t&&t.activate(f),l=f=>t&&t.deactivate(f),c=()=>{t&&(t.pause(),i.value=!0)},h=()=>{t&&(t.unpause(),i.value=!1)};return je(()=>Ot(a),f=>{f&&(t=Ns(f,{...n,onActivate(){r.value=!0,e.onActivate&&e.onActivate()},onDeactivate(){r.value=!1,e.onDeactivate&&e.onDeactivate()}}),s&&o())},{flush:"post"}),Rt(()=>l()),{hasFocus:r,isPaused:i,activate:o,deactivate:l,pause:c,unpause:h}}class oe{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 l=()=>{--i<=0&&n(o)};i||l(),r.forEach(c=>{oe.matches(c,this.exclude)?l():this.onIframeReady(c,h=>{t(c)&&(o++,s(h)),l()},l)})}createIterator(e,t,s){return document.createNodeIterator(e,t,s,!1)}createInstanceOnIframe(e){return new oe(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,l)=>{o.val===s&&(r=l,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=[],l=[],c,h,f=()=>({prevNode:h,node:c}=this.getIteratorNode(i),c);for(;f();)this.iframes&&this.forEachIframe(t,m=>this.checkIframeFilter(c,h,m,o),m=>{this.createInstanceOnIframe(m).forEachNode(e,y=>l.push(y),n)}),l.push(c);l.forEach(m=>{s(m)}),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 l=()=>{this.iterateThroughNodes(e,o,t,s,()=>{--i<=0&&n()})};this.iframes?this.waitForIframes(o,l):l()})}}let Fs=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 oe(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),l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i);o!==""&&l!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(o)}|${this.escapeStr(l)})`,`gm${s}`),n+`(${this.processSynomyms(o)}|${this.processSynomyms(l)})`+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,l=parseInt(e.start,10)-o;return l=l>i?i:l,n=l+parseInt(e.length,10),n>i&&(n=i,this.log(`End range automatically set to the max value of ${i}`)),l<0||n-l<0||l>i||n>i?(r=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):s.substring(l,n).replace(/\s+/g,"")===""&&(r=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:l,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 oe.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 l=e.nodes[o+1];if(typeof l>"u"||l.start>t){if(!n(i.node))return!1;const c=t-i.start,h=(s>i.end?i.end:s)-i.start,f=e.value.substr(0,i.start),m=e.value.substr(h+i.start);if(i.node=this.wrapRangeInTextNode(i.node,c,h),e.value=f+m,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(l=>{l=l.node;let c;for(;(c=e.exec(l.textContent))!==null&&c[i]!=="";){if(!s(c[i],l))continue;let h=c.index;if(i!==0)for(let f=1;f{let l;for(;(l=e.exec(o.value))!==null&&l[i]!=="";){let c=l.index;if(i!==0)for(let f=1;fs(l[i],f),(f,m)=>{e.lastIndex=m,n(f)})}r()})}wrapRangeFromIndex(e,t,s,n){this.getTextNodes(r=>{const i=r.value.length;e.forEach((o,l)=>{let{start:c,end:h,valid:f}=this.checkWhitespaceRanges(o,i,r.value);f&&this.wrapRangeInMappedTextNode(r,c,h,m=>t(m,o,r.value.substring(c,h),l),m=>{s(m,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",l=c=>{let h=new RegExp(this.createRegExp(c),`gm${o}`),f=0;this.log(`Searching with expression "${h}"`),this[n](h,1,(m,y)=>this.opt.filter(y,c,s,f),m=>{f++,s++,this.opt.each(m)},()=>{f===0&&this.opt.noMatch(c),r[i-1]===c?this.opt.done(s):l(r[r.indexOf(c)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),i===0?this.opt.done(s):l(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,l)=>this.opt.filter(r,i,o,l),(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=oe.matches(s,t),r=this.matchesExclude(s);return!n||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Os(a){const e=new Fs(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 Ee(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{c(s.next(h))}catch(f){i(f)}}function l(h){try{c(s.throw(h))}catch(f){i(f)}}function c(h){h.done?r(h.value):n(h.value).then(o,l)}c((s=s.apply(a,[])).next())})}const Rs="ENTRIES",wt="KEYS",xt="VALUES",z="";class Ae{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}=ae(this._path);if(ae(t)===z)return{done:!1,value:this.result()};const s=e.get(ae(t));return this._path.push({node:s,keys:Array.from(s.keys())}),this.dive()}backtrack(){if(this._path.length===0)return;const e=ae(this._path).keys;e.pop(),!(e.length>0)&&(this._path.pop(),this.backtrack())}key(){return this.set._prefix+this._path.map(({keys:e})=>ae(e)).filter(e=>e!==z).join("")}value(){return ae(this._path).node.get(z)}result(){switch(this._type){case xt:return this.value();case wt:return this.key();default:return[this.key(),this.value()]}}[Symbol.iterator](){return this}}const ae=a=>a[a.length-1],Cs=(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 l=r*i;e:for(const c of a.keys())if(c===z){const h=n[l-1];h<=t&&s.set(o,[a.get(c),h])}else{let h=r;for(let f=0;ft)continue e}St(a.get(c),e,t,s,n,h,i,o+c)}};class Z{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]=Fe(this._tree,e.slice(this._prefix.length));if(t===void 0){const[n,r]=Ke(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 Z(o,e)}}return new Z(t,e)}clear(){this._size=void 0,this._tree.clear()}delete(e){return this._size=void 0,Ms(this._tree,e)}entries(){return new Ae(this,Rs)}forEach(e){for(const[t,s]of this)e(t,s,this)}fuzzyGet(e,t){return Cs(this._tree,e,t)}get(e){const t=$e(this._tree,e);return t!==void 0?t.get(z):void 0}has(e){const t=$e(this._tree,e);return t!==void 0&&t.has(z)}keys(){return new Ae(this,wt)}set(e,t){if(typeof e!="string")throw new Error("key must be a string");return this._size=void 0,Le(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=Le(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=Le(this._tree,e);let n=s.get(z);return n===void 0&&s.set(z,n=t()),n}values(){return new Ae(this,xt)}[Symbol.iterator](){return this.entries()}static from(e){const t=new Z;for(const[s,n]of e)t.set(s,n);return t}static fromObject(e){return Z.from(Object.entries(e))}}const Fe=(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]),Fe(a.get(s),e.slice(s.length),t);return t.push([a,e]),Fe(void 0,"",t)},$e=(a,e)=>{if(e.length===0||a==null)return a;for(const t of a.keys())if(t!==z&&e.startsWith(t))return $e(a.get(t),e.slice(t.length))},Le=(a,e)=>{const t=e.length;e:for(let s=0;a&&s{const[t,s]=Fe(a,e);if(t!==void 0){if(t.delete(z),t.size===0)_t(s);else if(t.size===1){const[n,r]=t.entries().next().value;Et(s,n,r)}}},_t=a=>{if(a.length===0)return;const[e,t]=Ke(a);if(e.delete(t),e.size===0)_t(a.slice(0,-1));else if(e.size===1){const[s,n]=e.entries().next().value;s!==z&&Et(a.slice(0,-1),s,n)}},Et=(a,e,t)=>{if(a.length===0)return;const[s,n]=Ke(a);s.set(n+e,t),s.delete(n)},Ke=a=>a[a.length-1],Je="or",Tt="and",As="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?Pe:e.autoVacuum;this._options=Object.assign(Object.assign(Object.assign({},ze),e),{autoVacuum:t,searchOptions:Object.assign(Object.assign({},ut),e.searchOptions||{}),autoSuggestOptions:Object.assign(Object.assign({},js),e.autoSuggestOptions||{})}),this._index=new Z,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=We,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 l=this.addDocumentId(o);this.saveStoredFields(l,e);for(const c of r){const h=t(e,c);if(h==null)continue;const f=s(h.toString(),c),m=this._fieldIds[c],y=new Set(f).size;this.addFieldLength(l,m,this._documentCount-1,y);for(const w of f){const b=n(w,c);if(Array.isArray(b))for(const S of b)this.addTerm(m,l,S);else b&&this.addTerm(m,l,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:l},c,h)=>(o.push(c),(h+1)%s===0?{chunk:[],promise:l.then(()=>new Promise(f=>setTimeout(f,0))).then(()=>this.addAll(o))}:{chunk:o,promise:l}),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 l=this._idToShortId.get(o);if(l==null)throw new Error(`MiniSearch: cannot remove document with ID ${o}: it is not in the index`);for(const c of r){const h=n(e,c);if(h==null)continue;const f=t(h.toString(),c),m=this._fieldIds[c],y=new Set(f).size;this.removeFieldLength(l,m,this._documentCount,y);for(const w of f){const b=s(w,c);if(Array.isArray(b))for(const S of b)this.removeTerm(m,l,S);else b&&this.removeTerm(m,l,b)}}this._storedFields.delete(l),this._documentIds.delete(l),this._idToShortId.delete(o),this._fieldLength.delete(l),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 Z,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=We,this.performVacuuming(e,s)}),this._enqueuedVacuum)):this.vacuumConditionsMet(t)===!1?Promise.resolve():(this._currentVacuum=this.performVacuuming(e),this._currentVacuum)}performVacuuming(e,t){return Ee(this,void 0,void 0,function*(){const s=this._dirtCount;if(this.vacuumConditionsMet(t)){const n=e.batchSize||Be.batchSize,r=e.batchWait||Be.batchWait;let i=1;for(const[o,l]of this._index){for(const[c,h]of l)for(const[f]of h)this._documentIds.has(f)||(h.size<=1?l.delete(c):h.delete(f));this._index.get(o).size===0&&this._index.delete(o),i%n===0&&(yield new Promise(c=>setTimeout(c,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||Pe.minDirtCount,s=s||Pe.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:l}]of s){const c=o.length||1,h={id:this._documentIds.get(r),score:i*c,terms:Object.keys(l),queryTerms:o,match:l};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(ht),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(" "),l=s.get(o);l!=null?(l.score+=r,l.count+=1):s.set(o,{score:r,terms:i,count:1})}const n=[];for(const[r,{score:i,terms:o,count:l}]of s)n.push({suggestion:r,terms:o,score:i/l});return n.sort(ht),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 Ee(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(ze.hasOwnProperty(e))return De(ze,e);throw new Error(`MiniSearch: unknown option "${e}"`)}static loadJS(e,t){const{index:s,documentIds:n,fieldLength:r,storedFields:i,serializationVersion:o}=e,l=this.instantiateMiniSearch(e,t);l._documentIds=Se(n),l._fieldLength=Se(r),l._storedFields=Se(i);for(const[c,h]of l._documentIds)l._idToShortId.set(h,c);for(const[c,h]of s){const f=new Map;for(const m of Object.keys(h)){let y=h[m];o===1&&(y=y.ds),f.set(parseInt(m,10),Se(y))}l._index.set(c,f)}return l}static loadJSAsync(e,t){return Ee(this,void 0,void 0,function*(){const{index:s,documentIds:n,fieldLength:r,storedFields:i,serializationVersion:o}=e,l=this.instantiateMiniSearch(e,t);l._documentIds=yield _e(n),l._fieldLength=yield _e(r),l._storedFields=yield _e(i);for(const[h,f]of l._documentIds)l._idToShortId.set(f,h);let c=0;for(const[h,f]of s){const m=new Map;for(const y of Object.keys(f)){let w=f[y];o===1&&(w=w.ds),m.set(parseInt(y,10),yield _e(w))}++c%1e3===0&&(yield It(0)),l._index.set(h,m)}return l})}static instantiateMiniSearch(e,t){const{documentCount:s,nextId:n,fieldIds:r,averageFieldLength:i,dirtCount:o,serializationVersion:l}=e;if(l!==1&&l!==2)throw new Error("MiniSearch: cannot deserialize an index created with an incompatible version");const c=new le(t);return c._documentCount=s,c._nextId=n,c._idToShortId=new Map,c._fieldIds=r,c._avgFieldLength=i,c._dirtCount=o||0,c._index=new Z,c}executeQuery(e,t={}){if(e===le.wildcard)return this.executeWildcardQuery(t);if(typeof e!="string"){const m=Object.assign(Object.assign(Object.assign({},t),e),{queries:void 0}),y=e.queries.map(w=>this.executeQuery(w,m));return this.combineResults(y,m.combineWith)}const{tokenize:s,processTerm:n,searchOptions:r}=this._options,i=Object.assign(Object.assign({tokenize:s,processTerm:n},r),t),{tokenize:o,processTerm:l}=i,f=o(e).flatMap(m=>l(m)).filter(m=>!!m).map(Ps(i)).map(m=>this.executeQuerySpec(m,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,S)=>Object.assign(Object.assign({},b),{[S]:De(s.boost,S)||1}),{}),{boostDocument:r,weights:i,maxFuzzy:o,bm25:l}=s,{fuzzy:c,prefix:h}=Object.assign(Object.assign({},ut.weights),i),f=this._index.get(e.term),m=this.termResults(e.term,e.term,1,f,n,r,l);let y,w;if(e.prefix&&(y=this._index.atPrefix(e.term)),e.fuzzy){const b=e.fuzzy===!0?.2:e.fuzzy,S=b<1?Math.min(o,Math.round(e.term.length*b)):b;S&&(w=this._index.fuzzyGet(e.term,S))}if(y)for(const[b,S]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,S,n,r,l,m)}if(w)for(const b of w.keys()){const[S,C]=w.get(b);if(!C)continue;const R=c*b.length/(b.length+C);this.termResults(e.term,b,R,S,n,r,l,m)}return m}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=Je){if(e.length===0)return new Map;const s=t.toLowerCase(),n=Ls[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,l=new Map){if(n==null)return l;for(const c of Object.keys(r)){const h=r[c],f=this._fieldIds[c],m=n.get(f);if(m==null)continue;let y=m.size;const w=this._avgFieldLength[f];for(const b of m.keys()){if(!this._documentIds.has(b)){this.removeTerm(f,b,t),y-=1;continue}const S=i?i(this._documentIds.get(b),t,this._storedFields.get(b)):1;if(!S)continue;const C=m.get(b),R=this._fieldLength.get(b)[f],B=zs(C,y,this._documentCount,R,w,o),K=s*h*S*B,V=l.get(b);if(V){V.score+=K,Vs(V.terms,e);const J=De(V.match,t);J?J.push(c):V.match[t]=[c]}else l.set(b,{score:K,terms:[e],match:{[t]:[c]}})}}return l}addTerm(e,t,s){const n=this._index.fetch(s,ft);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,ft),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,Ls={[Je]:(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),dt(s.terms,r)}}return a},[Tt]:(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);dt(n.terms,i),t.set(s,{score:n.score+r,terms:n.terms,match:Object.assign(n.match,o)})}return t},[As]:(a,e)=>{for(const t of e.keys())a.delete(t);return a}},Ds={k:1.2,b:.7,d:.5},zs=(a,e,t,s,n,r)=>{const{k:i,b:o,d:l}=r;return Math.log(1+(t-e+.5)/(e+.5))*(l+a*(i+1)/(a+i*(1-o+o*s/n)))},Ps=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}},ze={idField:"id",extractField:(a,e)=>a[e],tokenize:a=>a.split($s),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},ut={combineWith:Je,prefix:!1,fuzzy:!1,maxFuzzy:6,boost:{},weights:{fuzzy:.45,prefix:.375},bm25:Ds},js={combineWith:Tt,prefix:(a,e,t)=>e===t.length-1},Be={batchSize:1e3,batchWait:10},We={minDirtFactor:.1,minDirtCount:20},Pe=Object.assign(Object.assign({},Be),We),Vs=(a,e)=>{a.includes(e)||a.push(e)},dt=(a,e)=>{for(const t of e)a.includes(t)||a.push(t)},ht=({score:a},{score:e})=>e-a,ft=()=>new Map,Se=a=>{const e=new Map;for(const t of Object.keys(a))e.set(parseInt(t,10),a[t]);return e},_e=a=>Ee(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 It(0));return e}),It=a=>new Promise(e=>setTimeout(e,a)),$s=/[\n\r\p{Z}\p{P}]/u;class Bs{constructor(e=10){Re(this,"max");Re(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 Ws=["aria-owns"],Ks={class:"shell"},Js=["title"],Us={class:"search-actions before"},qs=["title"],Gs=["placeholder"],Hs={class:"search-actions"},Qs=["title"],Ys=["disabled","title"],Zs=["id","role","aria-labelledby"],Xs=["aria-selected"],en=["href","aria-label","onMouseenter","onFocusin"],tn={class:"titles"},sn=["innerHTML"],nn={class:"title main"},rn=["innerHTML"],an={key:0,class:"excerpt-wrapper"},on={key:0,class:"excerpt",inert:""},ln=["innerHTML"],cn={key:0,class:"no-results"},un={class:"search-keyboard-shortcuts"},dn=["aria-label"],hn=["aria-label"],fn=["aria-label"],pn=["aria-label"],vn=Ct({__name:"VPLocalSearchBox",emits:["close"],setup(a,{emit:e}){var F,M;const t=e,s=ge(),n=ge(),r=ge(ts),i=Xt(),{activate:o}=ks(s,{immediate:!0,allowOutsideClick:!0,clickOutsideDeactivates:!0,escapeDeactivates:!0}),{localeIndex:l,theme:c}=i,h=Xe(async()=>{var v,p,N,O,P,j,I,L,q;return nt(le.loadJSON((N=await((p=(v=r.value)[l.value])==null?void 0:p.call(v)))==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=c.value.search)==null?void 0:O.provider)==="local"&&((j=(P=c.value.search.options)==null?void 0:P.miniSearch)==null?void 0:j.searchOptions)},...((I=c.value.search)==null?void 0:I.provider)==="local"&&((q=(L=c.value.search.options)==null?void 0:L.miniSearch)==null?void 0:q.options)}))}),m=be(()=>{var v,p;return((v=c.value.search)==null?void 0:v.provider)==="local"&&((p=c.value.search.options)==null?void 0:p.disableQueryPersistence)===!0}).value?se(""):Mt("vitepress:local-search-filter",""),y=At("vitepress:local-search-detailed-list",((F=c.value.search)==null?void 0:F.provider)==="local"&&((M=c.value.search.options)==null?void 0:M.detailedView)===!0),w=be(()=>{var v,p,N;return((v=c.value.search)==null?void 0:v.provider)==="local"&&(((p=c.value.search.options)==null?void 0:p.disableDetailedView)===!0||((N=c.value.search.options)==null?void 0:N.detailedView)===!1)}),b=be(()=>{var p,N,O,P,j,I,L;const v=((p=c.value.search)==null?void 0:p.options)??c.value.algolia;return((j=(P=(O=(N=v==null?void 0:v.locales)==null?void 0:N[l.value])==null?void 0:O.translations)==null?void 0:P.button)==null?void 0:j.buttonText)||((L=(I=v==null?void 0:v.translations)==null?void 0:I.button)==null?void 0:L.buttonText)||"Search"});Lt(()=>{w.value&&(y.value=!1)});const S=ge([]),C=se(!1);je(m,()=>{C.value=!1});const R=Xe(async()=>{if(n.value)return nt(new Os(n.value))},null),B=new Bs(16);Dt(()=>[h.value,m.value,y.value],async([v,p,N],O,P)=>{var ve,Ue,qe,Ge;(O==null?void 0:O[0])!==v&&B.clear();let j=!1;if(P(()=>{j=!0}),!v)return;S.value=v.search(p).slice(0,16),C.value=!0;const I=N?await Promise.all(S.value.map($=>K($.id))):[];if(j)return;for(const{id:$,mod:X}of I){const ee=$.slice(0,$.indexOf("#"));let Q=B.get(ee);if(Q)continue;Q=new Map,B.set(ee,Q);const G=X.default??X;if(G!=null&&G.render||G!=null&&G.setup){const te=Gt(G);te.config.warnHandler=()=>{},te.provide(Ht,i),Object.defineProperties(te.config.globalProperties,{$frontmatter:{get(){return i.frontmatter.value}},$params:{get(){return i.page.value.params}}});const He=document.createElement("div");te.mount(He),He.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(ce=>{var Ze;const me=(Ze=ce.querySelector("a"))==null?void 0:Ze.getAttribute("href"),Qe=(me==null?void 0:me.startsWith("#"))&&me.slice(1);if(!Qe)return;let Ye="";for(;(ce=ce.nextElementSibling)&&!/^h[1-6]$/i.test(ce.tagName);)Ye+=ce.outerHTML;Q.set(Qe,Ye)}),te.unmount()}if(j)return}const L=new Set;if(S.value=S.value.map($=>{const[X,ee]=$.id.split("#"),Q=B.get(X),G=(Q==null?void 0:Q.get(ee))??"";for(const te in $.match)L.add(te);return{...$,text:G}}),await ue(),j)return;await new Promise($=>{var X;(X=R.value)==null||X.unmark({done:()=>{var ee;(ee=R.value)==null||ee.markRegExp(k(L),{done:$})}})});const q=((ve=s.value)==null?void 0:ve.querySelectorAll(".result .excerpt"))??[];for(const $ of q)(Ue=$.querySelector('mark[data-markjs="true"]'))==null||Ue.scrollIntoView({block:"center"});(Ge=(qe=n.value)==null?void 0:qe.firstElementChild)==null||Ge.scrollIntoView({block:"start"})},{debounce:200,immediate:!0});async function K(v){const p=Qt(v.slice(0,v.indexOf("#")));try{if(!p)throw new Error(`Cannot find file for id: ${v}`);return{id:v,mod:await import(p)}}catch(N){return console.error(N),{id:v,mod:{}}}}const V=se(),J=be(()=>{var v;return((v=m.value)==null?void 0:v.length)<=0});function U(v=!0){var p,N;(p=V.value)==null||p.focus(),v&&((N=V.value)==null||N.select())}Ce(()=>{U()});function Oe(v){v.pointerType==="mouse"&&U()}const A=se(-1),W=se(!1);je(S,v=>{A.value=v.length?0:-1,T()});function T(){ue(()=>{const v=document.querySelector(".result.selected");v==null||v.scrollIntoView({block:"nearest"})})}ye("ArrowUp",v=>{v.preventDefault(),A.value--,A.value<0&&(A.value=S.value.length-1),W.value=!0,T()}),ye("ArrowDown",v=>{v.preventDefault(),A.value++,A.value>=S.value.length&&(A.value=0),W.value=!0,T()});const u=zt();ye("Enter",v=>{if(v.isComposing||v.target instanceof HTMLButtonElement&&v.target.type!=="submit")return;const p=S.value[A.value];if(v.target instanceof HTMLInputElement&&!p){v.preventDefault();return}p&&(u.go(p.id),t("close"))}),ye("Escape",()=>{t("close")});const g=es({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"}}});Ce(()=>{window.history.pushState(null,"",null)}),Pt("popstate",v=>{v.preventDefault(),t("close")});const _=jt(Vt?document.body:null);Ce(()=>{ue(()=>{_.value=!0,ue().then(()=>o())})}),$t(()=>{_.value=!1});function E(){m.value="",ue().then(()=>U(!1))}function k(v){return new RegExp([...v].sort((p,N)=>N.length-p.length).map(p=>`(${Yt(p)})`).join("|"),"gi")}return(v,p)=>{var N,O,P,j;return H(),Bt(qt,{to:"body"},[x("div",{ref_key:"el",ref:s,role:"button","aria-owns":(N=S.value)!=null&&N.length?"localsearch-list":void 0,"aria-expanded":"true","aria-haspopup":"listbox","aria-labelledby":"localsearch-label",class:"VPLocalSearchBox"},[x("div",{class:"backdrop",onClick:p[0]||(p[0]=I=>v.$emit("close"))}),x("div",Ks,[x("form",{class:"search-bar",onPointerup:p[4]||(p[4]=I=>Oe(I)),onSubmit:p[5]||(p[5]=Wt(()=>{},["prevent"]))},[x("label",{title:b.value,id:"localsearch-label",for:"localsearch-input"},p[8]||(p[8]=[x("span",{"aria-hidden":"true",class:"vpi-search search-icon local-search-icon"},null,-1)]),8,Js),x("div",Us,[x("button",{class:"back-button",title:D(g)("modal.backButtonTitle"),onClick:p[1]||(p[1]=I=>v.$emit("close"))},p[9]||(p[9]=[x("span",{class:"vpi-arrow-left local-search-icon"},null,-1)]),8,qs)]),Kt(x("input",{ref_key:"searchInput",ref:V,"onUpdate:modelValue":p[2]||(p[2]=I=>Ut(m)?m.value=I:null),placeholder:b.value,id:"localsearch-input","aria-labelledby":"localsearch-label",class:"search-input"},null,8,Gs),[[Jt,D(m)]]),x("div",Hs,[w.value?we("",!0):(H(),Y("button",{key:0,class:et(["toggle-layout-button",{"detailed-list":D(y)}]),type:"button",title:D(g)("modal.displayDetails"),onClick:p[3]||(p[3]=I=>A.value>-1&&(y.value=!D(y)))},p[10]||(p[10]=[x("span",{class:"vpi-layout-list local-search-icon"},null,-1)]),10,Qs)),x("button",{class:"clear-button",type:"reset",disabled:J.value,title:D(g)("modal.resetButtonTitle"),onClick:E},p[11]||(p[11]=[x("span",{class:"vpi-delete local-search-icon"},null,-1)]),8,Ys)])],32),x("ul",{ref_key:"resultsEl",ref:n,id:(O=S.value)!=null&&O.length?"localsearch-list":void 0,role:(P=S.value)!=null&&P.length?"listbox":void 0,"aria-labelledby":(j=S.value)!=null&&j.length?"localsearch-label":void 0,class:"results",onMousemove:p[7]||(p[7]=I=>W.value=!1)},[(H(!0),Y(st,null,tt(S.value,(I,L)=>(H(),Y("li",{key:I.id,role:"option","aria-selected":A.value===L?"true":"false"},[x("a",{href:I.id,class:et(["result",{selected:A.value===L}]),"aria-label":[...I.titles,I.title].join(" > "),onMouseenter:q=>!W.value&&(A.value=L),onFocusin:q=>A.value=L,onClick:p[6]||(p[6]=q=>v.$emit("close"))},[x("div",null,[x("div",tn,[p[13]||(p[13]=x("span",{class:"title-icon"},"#",-1)),(H(!0),Y(st,null,tt(I.titles,(q,ve)=>(H(),Y("span",{key:ve,class:"title"},[x("span",{class:"text",innerHTML:q},null,8,sn),p[12]||(p[12]=x("span",{class:"vpi-chevron-right local-search-icon"},null,-1))]))),128)),x("span",nn,[x("span",{class:"text",innerHTML:I.title},null,8,rn)])]),D(y)?(H(),Y("div",an,[I.text?(H(),Y("div",on,[x("div",{class:"vp-doc",innerHTML:I.text},null,8,ln)])):we("",!0),p[14]||(p[14]=x("div",{class:"excerpt-gradient-bottom"},null,-1)),p[15]||(p[15]=x("div",{class:"excerpt-gradient-top"},null,-1))])):we("",!0)])],42,en)],8,Xs))),128)),D(m)&&!S.value.length&&C.value?(H(),Y("li",cn,[de(he(D(g)("modal.noResultsText"))+' "',1),x("strong",null,he(D(m)),1),p[16]||(p[16]=de('" '))])):we("",!0)],40,Zs),x("div",un,[x("span",null,[x("kbd",{"aria-label":D(g)("modal.footer.navigateUpKeyAriaLabel")},p[17]||(p[17]=[x("span",{class:"vpi-arrow-up navigate-icon"},null,-1)]),8,dn),x("kbd",{"aria-label":D(g)("modal.footer.navigateDownKeyAriaLabel")},p[18]||(p[18]=[x("span",{class:"vpi-arrow-down navigate-icon"},null,-1)]),8,hn),de(" "+he(D(g)("modal.footer.navigateText")),1)]),x("span",null,[x("kbd",{"aria-label":D(g)("modal.footer.selectKeyAriaLabel")},p[19]||(p[19]=[x("span",{class:"vpi-corner-down-left navigate-icon"},null,-1)]),8,fn),de(" "+he(D(g)("modal.footer.selectText")),1)]),x("span",null,[x("kbd",{"aria-label":D(g)("modal.footer.closeKeyAriaLabel")},"esc",8,pn),de(" "+he(D(g)("modal.footer.closeText")),1)])])])],8,Ws)])}}}),xn=Zt(vn,[["__scopeId","data-v-c62fb5fc"]]);export{xn as default}; diff --git a/assets/chunks/VPLocalSearchBox.Dxxc2frX.js b/assets/chunks/VPLocalSearchBox.Dxxc2frX.js new file mode 100644 index 0000000..f169c93 --- /dev/null +++ b/assets/chunks/VPLocalSearchBox.Dxxc2frX.js @@ -0,0 +1,7 @@ +var kt=Object.defineProperty;var Ft=(a,e,t)=>e in a?kt(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var Ce=(a,e,t)=>Ft(a,typeof e!="symbol"?e+"":e,t);import{Y as Ot,s as ne,v as Ve,am as Rt,an as Ct,d as Mt,G as be,ao as et,h as ye,ap as At,aq as Lt,x as Dt,ar as zt,y as Me,R as de,Q as we,as as Pt,at as jt,Z as Vt,U as $t,a2 as Bt,o as H,b as Wt,j as _,a3 as Kt,k as D,a5 as Jt,au as Ut,av as qt,c as Z,n as tt,e as _e,E as st,F as nt,a as he,t as fe,aw as Gt,p as Qt,l as Ht,ax as it,ay as Yt,ab as Zt,ah as Xt,az as es,_ as ts}from"./framework.CIgcugFM.js";import{u as ss,c as ns}from"./theme.DrOS_k1Q.js";const is={root:()=>Ot(()=>import("./@localSearchIndexroot.CrXq-vHD.js"),[])};/*! +* tabbable 6.2.0 +* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE +*/var vt=["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=vt.join(","),mt=typeof Element>"u",re=mt?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ne=!mt&&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"},gt=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},bt=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},yt=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))&&!yt(e)?0:e.tabIndex},as=function(e,t){var s=ie(e);return s<0&&t&&!yt(e)?0:s},os=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},wt=function(e){return e.tagName==="INPUT"},cs=function(e){return wt(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 rt(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 rt(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=bt([e],t.includeContainer,{filter:$e.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:gs}):s=gt(e,t.includeContainer,$e.bind(null,t)),bs(s)},ws=function(e,t){t=t||{};var s;return t.getShadowRoot?s=bt([e],t.includeContainer,{filter:Fe.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):s=gt(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=vt.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 at(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 ot(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},lt=function(e){return setTimeout(e,0)},ut=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=ut(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=ut(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 ct.activateTrap(n,o),i.delayInitialFocusTimer=r.delayInitialFocus?lt(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=ot({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(),ct.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(){lt(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",_t="KEYS",xt="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 xt:return this.value();case _t: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}St(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,_t)}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,xt)}[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)Et(s);else if(t.size===1){const[n,r]=t.entries().next().value;It(s,n,r)}}},Et=a=>{if(a.length===0)return;const[e,t]=Je(a);if(e.delete(t),e.size===0)Et(a.slice(0,-1));else if(e.size===1){const[s,n]=e.entries().next().value;s!==z&&It(a.slice(0,-1),s,n)}},It=(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",Tt="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({},dt),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(ft),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(ft),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 Nt(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({},dt.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,pt);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,pt),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),ht(s.terms,r)}}return a},[Tt]:(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);ht(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},dt={combineWith:Ue,prefix:!1,fuzzy:!1,maxFuzzy:6,boost:{},weights:{fuzzy:.45,prefix:.375},bm25:js},Bs={combineWith:Tt,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)},ht=(a,e)=>{for(const t of e)a.includes(t)||a.push(t)},ft=({score:a},{score:e})=>e-a,pt=()=>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 Nt(0));return e}),Nt=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-69102ba6"),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=et(async()=>{var p,g,N,O,P,j,T,L,G;return it(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=et(async()=>{if(n.value)return it(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:tt(["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(nt,null,st(x.value,(T,L)=>(H(),Z("li",{key:T.id,role:"option","aria-selected":A.value===L?"true":"false"},[_("a",{href:T.id,class:tt(["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(nt,null,st(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-69102ba6"]]);export{Bn as default}; diff --git a/assets/chunks/framework.0rl6iKyO.js b/assets/chunks/framework.0rl6iKyO.js deleted file mode 100644 index 787f95f..0000000 --- a/assets/chunks/framework.0rl6iKyO.js +++ /dev/null @@ -1,17 +0,0 @@ -/** -* @vue/shared v3.5.3 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function jr(e,t){const n=new Set(e.split(","));return r=>n.has(r)}const ee={},Ct=[],Ue=()=>{},zo=()=>!1,Zt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Vr=e=>e.startsWith("onUpdate:"),fe=Object.assign,Ur=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Qo=Object.prototype.hasOwnProperty,Q=(e,t)=>Qo.call(e,t),W=Array.isArray,Tt=e=>$n(e)==="[object Map]",di=e=>$n(e)==="[object Set]",K=e=>typeof e=="function",se=e=>typeof e=="string",rt=e=>typeof e=="symbol",ne=e=>e!==null&&typeof e=="object",hi=e=>(ne(e)||K(e))&&K(e.then)&&K(e.catch),pi=Object.prototype.toString,$n=e=>pi.call(e),Zo=e=>$n(e).slice(8,-1),gi=e=>$n(e)==="[object Object]",Br=e=>se(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,At=jr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Dn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},el=/-(\w)/g,Ne=Dn(e=>e.replace(el,(t,n)=>n?n.toUpperCase():"")),tl=/\B([A-Z])/g,st=Dn(e=>e.replace(tl,"-$1").toLowerCase()),jn=Dn(e=>e.charAt(0).toUpperCase()+e.slice(1)),wn=Dn(e=>e?`on${jn(e)}`:""),tt=(e,t)=>!Object.is(e,t),En=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},xr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},nl=e=>{const t=se(e)?Number(e):NaN;return isNaN(t)?e:t};let ms;const yi=()=>ms||(ms=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function kr(e){if(W(e)){const t={};for(let n=0;n{if(n){const r=n.split(sl);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Wr(e){let t="";if(se(e))t=e;else if(W(e))for(let n=0;n!!(e&&e.__v_isRef===!0),al=e=>se(e)?e:e==null?"":W(e)||ne(e)&&(e.toString===pi||!K(e.toString))?bi(e)?al(e.value):JSON.stringify(e,_i,2):String(e),_i=(e,t)=>bi(t)?_i(e,t.value):Tt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],i)=>(n[nr(r,i)+" =>"]=s,n),{})}:di(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>nr(n))}:rt(t)?nr(t):ne(t)&&!W(t)&&!gi(t)?String(t):t,nr=(e,t="")=>{var n;return rt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** -* @vue/reactivity v3.5.3 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let _e;class fl{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=_e,!t&&_e&&(this.index=(_e.scopes||(_e.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;let e;for(;jt;){let t=jt;for(jt=void 0;t;){const n=t.nextEffect;if(t.nextEffect=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function xi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ci(e){let t,n=e.depsTail;for(let r=n;r;r=r.prevDep)r.version===-1?(r===n&&(n=r.prevDep),Gr(r),dl(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0;e.deps=t,e.depsTail=n}function Cr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&Ti(t.dep.computed)===!1||t.dep.version!==t.version)return!0;return!!e._dirty}function Ti(e){if(e.flags&2)return!1;if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Kt))return;e.globalVersion=Kt;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&!Cr(e)){e.flags&=-3;return}const n=Z,r=Ie;Z=e,Ie=!0;try{xi(e);const s=e.fn(e._value);(t.version===0||tt(s,e._value))&&(e._value=s,t.version++)}catch(s){throw t.version++,s}finally{Z=n,Ie=r,Ci(e),e.flags&=-3}}function Gr(e){const{dep:t,prevSub:n,nextSub:r}=e;if(n&&(n.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=n,e.nextSub=void 0),t.subs===e&&(t.subs=n),!t.subs&&t.computed){t.computed.flags&=-5;for(let s=t.computed.deps;s;s=s.nextDep)Gr(s)}}function dl(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ie=!0;const Ai=[];function it(){Ai.push(Ie),Ie=!1}function ot(){const e=Ai.pop();Ie=e===void 0?!0:e}function ys(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Z;Z=void 0;try{t()}finally{Z=n}}}let Kt=0;class Vn{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0}track(t){if(!Z||!Ie||Z===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Z)n=this.activeLink={dep:this,sub:Z,version:this.version,nextDep:void 0,prevDep:void 0,nextSub:void 0,prevSub:void 0,prevActiveLink:void 0},Z.deps?(n.prevDep=Z.depsTail,Z.depsTail.nextDep=n,Z.depsTail=n):Z.deps=Z.depsTail=n,Z.flags&4&&Ri(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=Z.depsTail,n.nextDep=void 0,Z.depsTail.nextDep=n,Z.depsTail=n,Z.deps===n&&(Z.deps=r)}return n}trigger(t){this.version++,Kt++,this.notify(t)}notify(t){Kr();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()}finally{qr()}}}function Ri(e){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Ri(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}const Rn=new WeakMap,ht=Symbol(""),Tr=Symbol(""),qt=Symbol("");function ve(e,t,n){if(Ie&&Z){let r=Rn.get(e);r||Rn.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=new Vn),s.track()}}function Ge(e,t,n,r,s,i){const o=Rn.get(e);if(!o){Kt++;return}let l=[];if(t==="clear")l=[...o.values()];else{const c=W(e),u=c&&Br(n);if(c&&n==="length"){const a=Number(r);o.forEach((h,g)=>{(g==="length"||g===qt||!rt(g)&&g>=a)&&l.push(h)})}else{const a=h=>h&&l.push(h);switch(n!==void 0&&a(o.get(n)),u&&a(o.get(qt)),t){case"add":c?u&&a(o.get("length")):(a(o.get(ht)),Tt(e)&&a(o.get(Tr)));break;case"delete":c||(a(o.get(ht)),Tt(e)&&a(o.get(Tr)));break;case"set":Tt(e)&&a(o.get(ht));break}}}Kr();for(const c of l)c.trigger();qr()}function hl(e,t){var n;return(n=Rn.get(e))==null?void 0:n.get(t)}function _t(e){const t=J(e);return t===e?t:(ve(t,"iterate",qt),Le(e)?t:t.map(me))}function Un(e){return ve(e=J(e),"iterate",qt),e}const pl={__proto__:null,[Symbol.iterator](){return sr(this,Symbol.iterator,me)},concat(...e){return _t(this).concat(...e.map(t=>W(t)?_t(t):t))},entries(){return sr(this,"entries",e=>(e[1]=me(e[1]),e))},every(e,t){return We(this,"every",e,t,void 0,arguments)},filter(e,t){return We(this,"filter",e,t,n=>n.map(me),arguments)},find(e,t){return We(this,"find",e,t,me,arguments)},findIndex(e,t){return We(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return We(this,"findLast",e,t,me,arguments)},findLastIndex(e,t){return We(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return We(this,"forEach",e,t,void 0,arguments)},includes(...e){return ir(this,"includes",e)},indexOf(...e){return ir(this,"indexOf",e)},join(e){return _t(this).join(e)},lastIndexOf(...e){return ir(this,"lastIndexOf",e)},map(e,t){return We(this,"map",e,t,void 0,arguments)},pop(){return Ft(this,"pop")},push(...e){return Ft(this,"push",e)},reduce(e,...t){return vs(this,"reduce",e,t)},reduceRight(e,...t){return vs(this,"reduceRight",e,t)},shift(){return Ft(this,"shift")},some(e,t){return We(this,"some",e,t,void 0,arguments)},splice(...e){return Ft(this,"splice",e)},toReversed(){return _t(this).toReversed()},toSorted(e){return _t(this).toSorted(e)},toSpliced(...e){return _t(this).toSpliced(...e)},unshift(...e){return Ft(this,"unshift",e)},values(){return sr(this,"values",me)}};function sr(e,t,n){const r=Un(e),s=r[t]();return r!==e&&!Le(e)&&(s._next=s.next,s.next=()=>{const i=s._next();return i.value&&(i.value=n(i.value)),i}),s}const gl=Array.prototype;function We(e,t,n,r,s,i){const o=Un(e),l=o!==e&&!Le(e),c=o[t];if(c!==gl[t]){const h=c.apply(e,i);return l?me(h):h}let u=n;o!==e&&(l?u=function(h,g){return n.call(this,me(h),g,e)}:n.length>2&&(u=function(h,g){return n.call(this,h,g,e)}));const a=c.call(o,u,r);return l&&s?s(a):a}function vs(e,t,n,r){const s=Un(e);let i=n;return s!==e&&(Le(e)?n.length>3&&(i=function(o,l,c){return n.call(this,o,l,c,e)}):i=function(o,l,c){return n.call(this,o,me(l),c,e)}),s[t](i,...r)}function ir(e,t,n){const r=J(e);ve(r,"iterate",qt);const s=r[t](...n);return(s===-1||s===!1)&&zr(n[0])?(n[0]=J(n[0]),r[t](...n)):s}function Ft(e,t,n=[]){it(),Kr();const r=J(e)[t].apply(e,n);return qr(),ot(),r}const ml=jr("__proto__,__v_isRef,__isVue"),Oi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(rt));function yl(e){rt(e)||(e=String(e));const t=J(this);return ve(t,"has",e),t.hasOwnProperty(e)}class Mi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const s=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(s?i?Ml:Ni:i?Li:Ii).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=W(t);if(!s){let c;if(o&&(c=pl[n]))return c;if(n==="hasOwnProperty")return yl}const l=Reflect.get(t,n,ae(t)?t:r);return(rt(n)?Oi.has(n):ml(n))||(s||ve(t,"get",n),i)?l:ae(l)?o&&Br(n)?l:l.value:ne(l)?s?Wn(l):kn(l):l}}class Pi extends Mi{constructor(t=!1){super(!1,t)}set(t,n,r,s){let i=t[n];if(!this._isShallow){const c=vt(i);if(!Le(r)&&!vt(r)&&(i=J(i),r=J(r)),!W(t)&&ae(i)&&!ae(r))return c?!1:(i.value=r,!0)}const o=W(t)&&Br(n)?Number(n)e,Bn=e=>Reflect.getPrototypeOf(e);function cn(e,t,n=!1,r=!1){e=e.__v_raw;const s=J(e),i=J(t);n||(tt(t,i)&&ve(s,"get",t),ve(s,"get",i));const{has:o}=Bn(s),l=r?Yr:n?Qr:me;if(o.call(s,t))return l(e.get(t));if(o.call(s,i))return l(e.get(i));e!==s&&e.get(t)}function an(e,t=!1){const n=this.__v_raw,r=J(n),s=J(e);return t||(tt(e,s)&&ve(r,"has",e),ve(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function fn(e,t=!1){return e=e.__v_raw,!t&&ve(J(e),"iterate",ht),Reflect.get(e,"size",e)}function bs(e,t=!1){!t&&!Le(e)&&!vt(e)&&(e=J(e));const n=J(this);return Bn(n).has.call(n,e)||(n.add(e),Ge(n,"add",e,e)),this}function _s(e,t,n=!1){!n&&!Le(t)&&!vt(t)&&(t=J(t));const r=J(this),{has:s,get:i}=Bn(r);let o=s.call(r,e);o||(e=J(e),o=s.call(r,e));const l=i.call(r,e);return r.set(e,t),o?tt(t,l)&&Ge(r,"set",e,t):Ge(r,"add",e,t),this}function ws(e){const t=J(this),{has:n,get:r}=Bn(t);let s=n.call(t,e);s||(e=J(e),s=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return s&&Ge(t,"delete",e,void 0),i}function Es(){const e=J(this),t=e.size!==0,n=e.clear();return t&&Ge(e,"clear",void 0,void 0),n}function un(e,t){return function(r,s){const i=this,o=i.__v_raw,l=J(o),c=t?Yr:e?Qr:me;return!e&&ve(l,"iterate",ht),o.forEach((u,a)=>r.call(s,c(u),c(a),i))}}function dn(e,t,n){return function(...r){const s=this.__v_raw,i=J(s),o=Tt(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,u=s[e](...r),a=n?Yr:t?Qr:me;return!t&&ve(i,"iterate",c?Tr:ht),{next(){const{value:h,done:g}=u.next();return g?{value:h,done:g}:{value:l?[a(h[0]),a(h[1])]:a(h),done:g}},[Symbol.iterator](){return this}}}}function Xe(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function El(){const e={get(i){return cn(this,i)},get size(){return fn(this)},has:an,add:bs,set:_s,delete:ws,clear:Es,forEach:un(!1,!1)},t={get(i){return cn(this,i,!1,!0)},get size(){return fn(this)},has:an,add(i){return bs.call(this,i,!0)},set(i,o){return _s.call(this,i,o,!0)},delete:ws,clear:Es,forEach:un(!1,!0)},n={get(i){return cn(this,i,!0)},get size(){return fn(this,!0)},has(i){return an.call(this,i,!0)},add:Xe("add"),set:Xe("set"),delete:Xe("delete"),clear:Xe("clear"),forEach:un(!0,!1)},r={get(i){return cn(this,i,!0,!0)},get size(){return fn(this,!0)},has(i){return an.call(this,i,!0)},add:Xe("add"),set:Xe("set"),delete:Xe("delete"),clear:Xe("clear"),forEach:un(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=dn(i,!1,!1),n[i]=dn(i,!0,!1),t[i]=dn(i,!1,!0),r[i]=dn(i,!0,!0)}),[e,n,t,r]}const[Sl,xl,Cl,Tl]=El();function Xr(e,t){const n=t?e?Tl:Cl:e?xl:Sl;return(r,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(Q(n,s)&&s in r?n:r,s,i)}const Al={get:Xr(!1,!1)},Rl={get:Xr(!1,!0)},Ol={get:Xr(!0,!1)};const Ii=new WeakMap,Li=new WeakMap,Ni=new WeakMap,Ml=new WeakMap;function Pl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Il(e){return e.__v_skip||!Object.isExtensible(e)?0:Pl(Zo(e))}function kn(e){return vt(e)?e:Jr(e,!1,bl,Al,Ii)}function Ll(e){return Jr(e,!1,wl,Rl,Li)}function Wn(e){return Jr(e,!0,_l,Ol,Ni)}function Jr(e,t,n,r,s){if(!ne(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=s.get(e);if(i)return i;const o=Il(e);if(o===0)return e;const l=new Proxy(e,o===2?r:n);return s.set(e,l),l}function pt(e){return vt(e)?pt(e.__v_raw):!!(e&&e.__v_isReactive)}function vt(e){return!!(e&&e.__v_isReadonly)}function Le(e){return!!(e&&e.__v_isShallow)}function zr(e){return e?!!e.__v_raw:!1}function J(e){const t=e&&e.__v_raw;return t?J(t):e}function Sn(e){return Object.isExtensible(e)&&mi(e,"__v_skip",!0),e}const me=e=>ne(e)?kn(e):e,Qr=e=>ne(e)?Wn(e):e;function ae(e){return e?e.__v_isRef===!0:!1}function oe(e){return Fi(e,!1)}function Zr(e){return Fi(e,!0)}function Fi(e,t){return ae(e)?e:new Nl(e,t)}class Nl{constructor(t,n){this.dep=new Vn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:J(t),this._value=n?t:me(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Le(t)||vt(t);t=r?t:J(t),tt(t,n)&&(this._rawValue=t,this._value=r?t:me(t),this.dep.trigger())}}function Hi(e){return ae(e)?e.value:e}const Fl={get:(e,t,n)=>t==="__v_raw"?e:Hi(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return ae(s)&&!ae(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function $i(e){return pt(e)?e:new Proxy(e,Fl)}class Hl{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Vn,{get:r,set:s}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=s}get value(){return this._value=this._get()}set value(t){this._set(t)}}function $l(e){return new Hl(e)}class Dl{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return hl(J(this._object),this._key)}}class jl{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Vl(e,t,n){return ae(e)?e:K(e)?new jl(e):ne(e)&&arguments.length>1?Ul(e,t,n):oe(e)}function Ul(e,t,n){const r=e[t];return ae(r)?r:new Dl(e,t,n)}class Bl{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Vn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Kt-1,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){Z!==this&&(this.flags|=16,this.dep.notify())}get value(){const t=this.dep.track();return Ti(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function kl(e,t,n=!1){let r,s;return K(e)?r=e:(r=e.get,s=e.set),new Bl(r,s,n)}const hn={},On=new WeakMap;let ut;function Wl(e,t=!1,n=ut){if(n){let r=On.get(n);r||On.set(n,r=[]),r.push(e)}}function Kl(e,t,n=ee){const{immediate:r,deep:s,once:i,scheduler:o,augmentJob:l,call:c}=n,u=m=>s?m:Le(m)||s===!1||s===0?qe(m,1):qe(m);let a,h,g,b,_=!1,E=!1;if(ae(e)?(h=()=>e.value,_=Le(e)):pt(e)?(h=()=>u(e),_=!0):W(e)?(E=!0,_=e.some(m=>pt(m)||Le(m)),h=()=>e.map(m=>{if(ae(m))return m.value;if(pt(m))return u(m);if(K(m))return c?c(m,2):m()})):K(e)?t?h=c?()=>c(e,2):e:h=()=>{if(g){it();try{g()}finally{ot()}}const m=ut;ut=a;try{return c?c(e,3,[b]):e(b)}finally{ut=m}}:h=Ue,t&&s){const m=h,M=s===!0?1/0:s;h=()=>qe(m(),M)}const V=wi(),L=()=>{a.stop(),V&&Ur(V.effects,a)};if(i)if(t){const m=t;t=(...M)=>{m(...M),L()}}else{const m=h;h=()=>{m(),L()}}let U=E?new Array(e.length).fill(hn):hn;const p=m=>{if(!(!(a.flags&1)||!a.dirty&&!m))if(t){const M=a.run();if(s||_||(E?M.some((F,$)=>tt(F,U[$])):tt(M,U))){g&&g();const F=ut;ut=a;try{const $=[M,U===hn?void 0:E&&U[0]===hn?[]:U,b];c?c(t,3,$):t(...$),U=M}finally{ut=F}}}else a.run()};return l&&l(p),a=new Ei(h),a.scheduler=o?()=>o(p,!1):p,b=m=>Wl(m,!1,a),g=a.onStop=()=>{const m=On.get(a);if(m){if(c)c(m,4);else for(const M of m)M();On.delete(a)}},t?r?p(!0):U=a.run():o?o(p.bind(null,!0),!0):a.run(),L.pause=a.pause.bind(a),L.resume=a.resume.bind(a),L.stop=L,L}function qe(e,t=1/0,n){if(t<=0||!ne(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,ae(e))qe(e.value,t,n);else if(W(e))for(let r=0;r{qe(r,t,n)});else if(gi(e)){for(const r in e)qe(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&qe(e[r],t,n)}return e}/** -* @vue/runtime-core v3.5.3 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function en(e,t,n,r){try{return r?e(...r):e()}catch(s){tn(s,t,n)}}function Fe(e,t,n,r){if(K(e)){const s=en(e,t,n,r);return s&&hi(s)&&s.catch(i=>{tn(i,t,n)}),s}if(W(e)){const s=[];for(let i=0;i>>1,s=we[r],i=Yt(s);i=Yt(n)?we.push(e):we.splice(Gl(t),0,e),e.flags|=1,ji()}}function ji(){!Gt&&!Ar&&(Ar=!0,es=Di.then(Vi))}function Yl(e){W(e)?Rt.push(...e):Qe&&e.id===-1?Qe.splice(Et+1,0,e):e.flags&1||(Rt.push(e),e.flags|=1),ji()}function Ss(e,t,n=Gt?je+1:0){for(;nYt(n)-Yt(r));if(Rt.length=0,Qe){Qe.push(...t);return}for(Qe=t,Et=0;Ete.id==null?e.flags&2?-1:1/0:e.id;function Vi(e){Ar=!1,Gt=!0;try{for(je=0;je{r._d&&$s(-1);const i=Pn(t);let o;try{o=e(...s)}finally{Pn(i),r._d&&$s(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Mf(e,t){if(de===null)return e;const n=Qn(de),r=e.dirs||(e.dirs=[]);for(let s=0;se.__isTeleport,Vt=e=>e&&(e.disabled||e.disabled===""),Jl=e=>e&&(e.defer||e.defer===""),xs=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Cs=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Rr=(e,t)=>{const n=e&&e.to;return se(n)?t?t(n):null:n},zl={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,i,o,l,c,u){const{mc:a,pc:h,pbc:g,o:{insert:b,querySelector:_,createText:E,createComment:V}}=u,L=Vt(t.props);let{shapeFlag:U,children:p,dynamicChildren:m}=t;if(e==null){const M=t.el=E(""),F=t.anchor=E("");b(M,n,r),b(F,n,r);const $=(O,v)=>{U&16&&a(p,O,v,s,i,o,l,c)},D=()=>{const O=t.target=Rr(t.props,_),v=Wi(O,t,E,b);O&&(o!=="svg"&&xs(O)?o="svg":o!=="mathml"&&Cs(O)&&(o="mathml"),L||($(O,v),xn(t)))};L&&($(n,F),xn(t)),Jl(t.props)?Se(D,i):D()}else{t.el=e.el,t.targetStart=e.targetStart;const M=t.anchor=e.anchor,F=t.target=e.target,$=t.targetAnchor=e.targetAnchor,D=Vt(e.props),O=D?n:F,v=D?M:$;if(o==="svg"||xs(F)?o="svg":(o==="mathml"||Cs(F))&&(o="mathml"),m?(g(e.dynamicChildren,m,O,s,i,o,l),os(e,t,!0)):c||h(e,t,O,v,s,i,o,l,!1),L)D?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):pn(t,n,M,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const N=t.target=Rr(t.props,_);N&&pn(t,N,null,u,0)}else D&&pn(t,F,$,u,1);xn(t)}},remove(e,t,n,{um:r,o:{remove:s}},i){const{shapeFlag:o,children:l,anchor:c,targetStart:u,targetAnchor:a,target:h,props:g}=e;if(h&&(s(u),s(a)),i&&s(c),o&16){const b=i||!Vt(g);for(let _=0;_{e.isMounted=!0}),zi(()=>{e.isUnmounting=!0}),e}const Re=[Function,Array],Ki={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Re,onEnter:Re,onAfterEnter:Re,onEnterCancelled:Re,onBeforeLeave:Re,onLeave:Re,onAfterLeave:Re,onLeaveCancelled:Re,onBeforeAppear:Re,onAppear:Re,onAfterAppear:Re,onAppearCancelled:Re},qi=e=>{const t=e.subTree;return t.component?qi(t.component):t},ec={name:"BaseTransition",props:Ki,setup(e,{slots:t}){const n=zn(),r=Zl();return()=>{const s=t.default&&Xi(t.default(),!0);if(!s||!s.length)return;const i=Gi(s),o=J(e),{mode:l}=o;if(r.isLeaving)return or(i);const c=Ts(i);if(!c)return or(i);let u=Or(c,o,r,n,g=>u=g);c.type!==ye&&Xt(c,u);const a=n.subTree,h=a&&Ts(a);if(h&&h.type!==ye&&!dt(c,h)&&qi(n).type!==ye){const g=Or(h,o,r,n);if(Xt(h,g),l==="out-in"&&c.type!==ye)return r.isLeaving=!0,g.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete g.afterLeave},or(i);l==="in-out"&&c.type!==ye&&(g.delayLeave=(b,_,E)=>{const V=Yi(r,h);V[String(h.key)]=h,b[Ze]=()=>{_(),b[Ze]=void 0,delete u.delayedLeave},u.delayedLeave=E})}return i}}};function Gi(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ye){t=n;break}}return t}const tc=ec;function Yi(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 Or(e,t,n,r,s){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:a,onEnterCancelled:h,onBeforeLeave:g,onLeave:b,onAfterLeave:_,onLeaveCancelled:E,onBeforeAppear:V,onAppear:L,onAfterAppear:U,onAppearCancelled:p}=t,m=String(e.key),M=Yi(n,e),F=(O,v)=>{O&&Fe(O,r,9,v)},$=(O,v)=>{const N=v[1];F(O,v),W(O)?O.every(T=>T.length<=1)&&N():O.length<=1&&N()},D={mode:o,persisted:l,beforeEnter(O){let v=c;if(!n.isMounted)if(i)v=V||c;else return;O[Ze]&&O[Ze](!0);const N=M[m];N&&dt(e,N)&&N.el[Ze]&&N.el[Ze](),F(v,[O])},enter(O){let v=u,N=a,T=h;if(!n.isMounted)if(i)v=L||u,N=U||a,T=p||h;else return;let G=!1;const re=O[gn]=ce=>{G||(G=!0,ce?F(T,[O]):F(N,[O]),D.delayedLeave&&D.delayedLeave(),O[gn]=void 0)};v?$(v,[O,re]):re()},leave(O,v){const N=String(e.key);if(O[gn]&&O[gn](!0),n.isUnmounting)return v();F(g,[O]);let T=!1;const G=O[Ze]=re=>{T||(T=!0,v(),re?F(E,[O]):F(_,[O]),O[Ze]=void 0,M[N]===e&&delete M[N])};M[N]=e,b?$(b,[O,G]):G()},clone(O){const v=Or(O,t,n,r,s);return s&&s(v),v}};return D}function or(e){if(nn(e))return e=nt(e),e.children=null,e}function Ts(e){if(!nn(e))return ki(e.type)&&e.children?Gi(e.children):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 Xt(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Xt(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 Xi(e,t=!1,n){let r=[],s=0;for(let i=0;i1)for(let i=0;iIn(_,t&&(W(t)?t[E]:t),n,r,s));return}if(gt(r)&&!s)return;const i=r.shapeFlag&4?Qn(r.component):r.el,o=s?null:i,{i:l,r:c}=e,u=t&&t.r,a=l.refs===ee?l.refs={}:l.refs,h=l.setupState,g=J(h),b=h===ee?()=>!1:_=>Q(g,_);if(u!=null&&u!==c&&(se(u)?(a[u]=null,b(u)&&(h[u]=null)):ae(u)&&(u.value=null)),K(c))en(c,l,12,[o,a]);else{const _=se(c),E=ae(c);if(_||E){const V=()=>{if(e.f){const L=_?b(c)?h[c]:a[c]:c.value;s?W(L)&&Ur(L,i):W(L)?L.includes(i)||L.push(i):_?(a[c]=[i],b(c)&&(h[c]=a[c])):(c.value=[i],e.k&&(a[e.k]=c.value))}else _?(a[c]=o,b(c)&&(h[c]=o)):E&&(c.value=o,e.k&&(a[e.k]=o))};o?(V.id=-1,Se(V,n)):V()}}}let As=!1;const wt=()=>{As||(console.error("Hydration completed but contains mismatches."),As=!0)},nc=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",rc=e=>e.namespaceURI.includes("MathML"),mn=e=>{if(e.nodeType===1){if(nc(e))return"svg";if(rc(e))return"mathml"}},xt=e=>e.nodeType===8;function sc(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:i,parentNode:o,remove:l,insert:c,createComment:u}}=e,a=(p,m)=>{if(!m.hasChildNodes()){n(null,p,m),Mn(),m._vnode=p;return}h(m.firstChild,p,null,null,null),Mn(),m._vnode=p},h=(p,m,M,F,$,D=!1)=>{D=D||!!m.dynamicChildren;const O=xt(p)&&p.data==="[",v=()=>E(p,m,M,F,$,O),{type:N,ref:T,shapeFlag:G,patchFlag:re}=m;let ce=p.nodeType;m.el=p,re===-2&&(D=!1,m.dynamicChildren=null);let j=null;switch(N){case mt:ce!==3?m.children===""?(c(m.el=s(""),o(p),p),j=p):j=v():(p.data!==m.children&&(wt(),p.data=m.children),j=i(p));break;case ye:U(p)?(j=i(p),L(m.el=p.content.firstChild,p,M)):ce!==8||O?j=v():j=i(p);break;case Bt:if(O&&(p=i(p),ce=p.nodeType),ce===1||ce===3){j=p;const Y=!m.children.length;for(let B=0;B{D=D||!!m.dynamicChildren;const{type:O,props:v,patchFlag:N,shapeFlag:T,dirs:G,transition:re}=m,ce=O==="input"||O==="option";if(ce||N!==-1){G&&Ve(m,null,M,"created");let j=!1;if(U(p)){j=po(F,re)&&M&&M.vnode.props&&M.vnode.props.appear;const B=p.content.firstChild;j&&re.beforeEnter(B),L(B,p,M),m.el=p=B}if(T&16&&!(v&&(v.innerHTML||v.textContent))){let B=b(p.firstChild,m,p,M,F,$,D);for(;B;){yn(p,1)||wt();const he=B;B=B.nextSibling,l(he)}}else T&8&&p.textContent!==m.children&&(yn(p,0)||wt(),p.textContent=m.children);if(v){if(ce||!D||N&48){const B=p.tagName.includes("-");for(const he in v)(ce&&(he.endsWith("value")||he==="indeterminate")||Zt(he)&&!At(he)||he[0]==="."||B)&&r(p,he,null,v[he],void 0,M)}else if(v.onClick)r(p,"onClick",null,v.onClick,void 0,M);else if(N&4&&pt(v.style))for(const B in v.style)v.style[B]}let Y;(Y=v&&v.onVnodeBeforeMount)&&Oe(Y,M,m),G&&Ve(m,null,M,"beforeMount"),((Y=v&&v.onVnodeMounted)||G||j)&&bo(()=>{Y&&Oe(Y,M,m),j&&re.enter(p),G&&Ve(m,null,M,"mounted")},F)}return p.nextSibling},b=(p,m,M,F,$,D,O)=>{O=O||!!m.dynamicChildren;const v=m.children,N=v.length;for(let T=0;T{const{slotScopeIds:O}=m;O&&($=$?$.concat(O):O);const v=o(p),N=b(i(p),m,v,M,F,$,D);return N&&xt(N)&&N.data==="]"?i(m.anchor=N):(wt(),c(m.anchor=u("]"),v,N),N)},E=(p,m,M,F,$,D)=>{if(yn(p.parentElement,1)||wt(),m.el=null,D){const N=V(p);for(;;){const T=i(p);if(T&&T!==N)l(T);else break}}const O=i(p),v=o(p);return l(p),n(null,m,v,O,M,F,mn(v),$),O},V=(p,m="[",M="]")=>{let F=0;for(;p;)if(p=i(p),p&&xt(p)&&(p.data===m&&F++,p.data===M)){if(F===0)return i(p);F--}return p},L=(p,m,M)=>{const F=m.parentNode;F&&F.replaceChild(p,m);let $=M;for(;$;)$.vnode.el===m&&($.vnode.el=$.subTree.el=p),$=$.parent},U=p=>p.nodeType===1&&p.tagName.toLowerCase()==="template";return[a,h]}const Rs="data-allow-mismatch",ic={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function yn(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Rs);)e=e.parentElement;const n=e&&e.getAttribute(Rs);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:n.split(",").includes(ic[t])}}function oc(e,t){if(xt(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1)t(r);else if(xt(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const gt=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function If(e){K(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,hydrate:i,timeout:o,suspensible:l=!0,onError:c}=e;let u=null,a,h=0;const g=()=>(h++,u=null,b()),b=()=>{let _;return u||(_=u=t().catch(E=>{if(E=E instanceof Error?E:new Error(String(E)),c)return new Promise((V,L)=>{c(E,()=>V(g()),()=>L(E),h+1)});throw E}).then(E=>_!==u&&u?u:(E&&(E.__esModule||E[Symbol.toStringTag]==="Module")&&(E=E.default),a=E,E)))};return ts({name:"AsyncComponentWrapper",__asyncLoader:b,__asyncHydrate(_,E,V){const L=i?()=>{const U=i(V,p=>oc(_,p));U&&(E.bum||(E.bum=[])).push(U)}:V;a?L():b().then(()=>!E.isUnmounted&&L())},get __asyncResolved(){return a},setup(){const _=ue;if(ns(_),a)return()=>lr(a,_);const E=p=>{u=null,tn(p,_,13,!r)};if(l&&_.suspense||sn)return b().then(p=>()=>lr(p,_)).catch(p=>(E(p),()=>r?le(r,{error:p}):null));const V=oe(!1),L=oe(),U=oe(!!s);return s&&setTimeout(()=>{U.value=!1},s),o!=null&&setTimeout(()=>{if(!V.value&&!L.value){const p=new Error(`Async component timed out after ${o}ms.`);E(p),L.value=p}},o),b().then(()=>{V.value=!0,_.parent&&nn(_.parent.vnode)&&qn(_.parent.update)}).catch(p=>{E(p),L.value=p}),()=>{if(V.value&&a)return lr(a,_);if(L.value&&r)return le(r,{error:L.value});if(n&&!U.value)return le(n)}}})}function lr(e,t){const{ref:n,props:r,children:s,ce:i}=t.vnode,o=le(e,r,s);return o.ref=n,o.ce=i,delete t.vnode.ce,o}const nn=e=>e.type.__isKeepAlive;function lc(e,t){Ji(e,"a",t)}function cc(e,t){Ji(e,"da",t)}function Ji(e,t,n=ue){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Gn(t,r,n),n){let s=n.parent;for(;s&&s.parent;)nn(s.parent.vnode)&&ac(r,t,n,s),s=s.parent}}function ac(e,t,n,r){const s=Gn(t,e,r,!0);Yn(()=>{Ur(r[t],s)},n)}function Gn(e,t,n=ue,r=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{it();const l=rn(n),c=Fe(t,n,e,o);return l(),ot(),c});return r?s.unshift(i):s.push(i),i}}const Ye=e=>(t,n=ue)=>{(!sn||e==="sp")&&Gn(e,(...r)=>t(...r),n)},fc=Ye("bm"),It=Ye("m"),uc=Ye("bu"),dc=Ye("u"),zi=Ye("bum"),Yn=Ye("um"),hc=Ye("sp"),pc=Ye("rtg"),gc=Ye("rtc");function mc(e,t=ue){Gn("ec",e,t)}const rs="components";function Lf(e,t){return Zi(rs,e,!0,t)||e}const Qi=Symbol.for("v-ndc");function Nf(e){return se(e)?Zi(rs,e,!1)||e:e||Qi}function Zi(e,t,n=!0,r=!1){const s=de||ue;if(s){const i=s.type;if(e===rs){const l=ta(i,!1);if(l&&(l===t||l===Ne(t)||l===jn(Ne(t))))return i}const o=Os(s[e]||i[e],t)||Os(s.appContext[e],t);return!o&&r?i:o}}function Os(e,t){return e&&(e[t]||e[Ne(t)]||e[jn(Ne(t))])}function Ff(e,t,n,r){let s;const i=n,o=W(e);if(o||se(e)){const l=o&&pt(e);l&&(e=Un(e)),s=new Array(e.length);for(let c=0,u=e.length;ct(l,c,void 0,i));else{const l=Object.keys(e);s=new Array(l.length);for(let c=0,u=l.length;cNn(t)?!(t.type===ye||t.type===Ee&&!eo(t.children)):!0)?e:null}function $f(e,t){const n={};for(const r in e)n[/[A-Z]/.test(r)?`on:${r}`:wn(r)]=e[r];return n}const Mr=e=>e?xo(e)?Qn(e):Mr(e.parent):null,Ut=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=>Mr(e.parent),$root:e=>Mr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ss(e),$forceUpdate:e=>e.f||(e.f=()=>{qn(e.update)}),$nextTick:e=>e.n||(e.n=Kn.bind(e.proxy)),$watch:e=>Dc.bind(e)}),cr=(e,t)=>e!==ee&&!e.__isScriptSetup&&Q(e,t),yc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:i,accessCache:o,type:l,appContext:c}=e;let u;if(t[0]!=="$"){const b=o[t];if(b!==void 0)switch(b){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(cr(r,t))return o[t]=1,r[t];if(s!==ee&&Q(s,t))return o[t]=2,s[t];if((u=e.propsOptions[0])&&Q(u,t))return o[t]=3,i[t];if(n!==ee&&Q(n,t))return o[t]=4,n[t];Pr&&(o[t]=0)}}const a=Ut[t];let h,g;if(a)return t==="$attrs"&&ve(e.attrs,"get",""),a(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==ee&&Q(n,t))return o[t]=4,n[t];if(g=c.config.globalProperties,Q(g,t))return g[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:i}=e;return cr(s,t)?(s[t]=n,!0):r!==ee&&Q(r,t)?(r[t]=n,!0):Q(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:i}},o){let l;return!!n[o]||e!==ee&&Q(e,o)||cr(t,o)||(l=i[0])&&Q(l,o)||Q(r,o)||Q(Ut,o)||Q(s.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Q(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Df(){return vc().slots}function vc(){const e=zn();return e.setupContext||(e.setupContext=To(e))}function Ms(e){return W(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Pr=!0;function bc(e){const t=ss(e),n=e.proxy,r=e.ctx;Pr=!1,t.beforeCreate&&Ps(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:o,watch:l,provide:c,inject:u,created:a,beforeMount:h,mounted:g,beforeUpdate:b,updated:_,activated:E,deactivated:V,beforeDestroy:L,beforeUnmount:U,destroyed:p,unmounted:m,render:M,renderTracked:F,renderTriggered:$,errorCaptured:D,serverPrefetch:O,expose:v,inheritAttrs:N,components:T,directives:G,filters:re}=t;if(u&&_c(u,r,null),o)for(const Y in o){const B=o[Y];K(B)&&(r[Y]=B.bind(n))}if(s){const Y=s.call(n,n);ne(Y)&&(e.data=kn(Y))}if(Pr=!0,i)for(const Y in i){const B=i[Y],he=K(B)?B.bind(n,n):K(B.get)?B.get.bind(n,n):Ue,on=!K(B)&&K(B.set)?B.set.bind(n):Ue,lt=ie({get:he,set:on});Object.defineProperty(r,Y,{enumerable:!0,configurable:!0,get:()=>lt.value,set:$e=>lt.value=$e})}if(l)for(const Y in l)to(l[Y],r,n,Y);if(c){const Y=K(c)?c.call(n):c;Reflect.ownKeys(Y).forEach(B=>{Tc(B,Y[B])})}a&&Ps(a,e,"c");function j(Y,B){W(B)?B.forEach(he=>Y(he.bind(n))):B&&Y(B.bind(n))}if(j(fc,h),j(It,g),j(uc,b),j(dc,_),j(lc,E),j(cc,V),j(mc,D),j(gc,F),j(pc,$),j(zi,U),j(Yn,m),j(hc,O),W(v))if(v.length){const Y=e.exposed||(e.exposed={});v.forEach(B=>{Object.defineProperty(Y,B,{get:()=>n[B],set:he=>n[B]=he})})}else e.exposed||(e.exposed={});M&&e.render===Ue&&(e.render=M),N!=null&&(e.inheritAttrs=N),T&&(e.components=T),G&&(e.directives=G),O&&ns(e)}function _c(e,t,n=Ue){W(e)&&(e=Ir(e));for(const r in e){const s=e[r];let i;ne(s)?"default"in s?i=Mt(s.from||r,s.default,!0):i=Mt(s.from||r):i=Mt(s),ae(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[r]=i}}function Ps(e,t,n){Fe(W(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function to(e,t,n,r){let s=r.includes(".")?mo(n,r):()=>n[r];if(se(e)){const i=t[e];K(i)&&Be(s,i)}else if(K(e))Be(s,e.bind(n));else if(ne(e))if(W(e))e.forEach(i=>to(i,t,n,r));else{const i=K(e.handler)?e.handler.bind(n):t[e.handler];K(i)&&Be(s,i,e)}}function ss(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!s.length&&!n&&!r?c=t:(c={},s.length&&s.forEach(u=>Ln(c,u,o,!0)),Ln(c,t,o)),ne(t)&&i.set(t,c),c}function Ln(e,t,n,r=!1){const{mixins:s,extends:i}=t;i&&Ln(e,i,n,!0),s&&s.forEach(o=>Ln(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const l=wc[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const wc={data:Is,props:Ls,emits:Ls,methods:Dt,computed:Dt,beforeCreate:be,created:be,beforeMount:be,mounted:be,beforeUpdate:be,updated:be,beforeDestroy:be,beforeUnmount:be,destroyed:be,unmounted:be,activated:be,deactivated:be,errorCaptured:be,serverPrefetch:be,components:Dt,directives:Dt,watch:Sc,provide:Is,inject:Ec};function Is(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 Ec(e,t){return Dt(Ir(e),Ir(t))}function Ir(e){if(W(e)){const t={};for(let n=0;n1)return n&&K(t)?t.call(r&&r.proxy):t}}const ro={},so=()=>Object.create(ro),io=e=>Object.getPrototypeOf(e)===ro;function Ac(e,t,n,r=!1){const s={},i=so();e.propsDefaults=Object.create(null),oo(e,t,s,i);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=r?s:Ll(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function Rc(e,t,n,r){const{props:s,attrs:i,vnode:{patchFlag:o}}=e,l=J(s),[c]=e.propsOptions;let u=!1;if((r||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[g,b]=lo(h,t,!0);fe(o,g),b&&l.push(...b)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!c)return ne(e)&&r.set(e,Ct),Ct;if(W(i))for(let a=0;ae[0]==="_"||e==="$stable",is=e=>W(e)?e.map(Me):[Me(e)],Mc=(e,t,n)=>{if(t._n)return t;const r=Xl((...s)=>is(t(...s)),n);return r._c=!1,r},ao=(e,t,n)=>{const r=e._ctx;for(const s in e){if(co(s))continue;const i=e[s];if(K(i))t[s]=Mc(s,i,r);else if(i!=null){const o=is(i);t[s]=()=>o}}},fo=(e,t)=>{const n=is(t);e.slots.default=()=>n},uo=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},Pc=(e,t,n)=>{const r=e.slots=so();if(e.vnode.shapeFlag&32){const s=t._;s?(uo(r,t,n),n&&mi(r,"_",s,!0)):ao(t,r)}else t&&fo(e,t)},Ic=(e,t,n)=>{const{vnode:r,slots:s}=e;let i=!0,o=ee;if(r.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:uo(s,t,n):(i=!t.$stable,ao(t,s)),o=t}else t&&(fo(e,t),o={default:1});if(i)for(const l in s)!co(l)&&o[l]==null&&delete s[l]},Se=bo;function Lc(e){return ho(e)}function Nc(e){return ho(e,sc)}function ho(e,t){const n=yi();n.__VUE__=!0;const{insert:r,remove:s,patchProp:i,createElement:o,createText:l,createComment:c,setText:u,setElementText:a,parentNode:h,nextSibling:g,setScopeId:b=Ue,insertStaticContent:_}=e,E=(f,d,y,x=null,w=null,S=null,P=void 0,R=null,A=!!d.dynamicChildren)=>{if(f===d)return;f&&!dt(f,d)&&(x=ln(f),$e(f,w,S,!0),f=null),d.patchFlag===-2&&(A=!1,d.dynamicChildren=null);const{type:C,ref:k,shapeFlag:I}=d;switch(C){case mt:V(f,d,y,x);break;case ye:L(f,d,y,x);break;case Bt:f==null&&U(d,y,x,P);break;case Ee:T(f,d,y,x,w,S,P,R,A);break;default:I&1?M(f,d,y,x,w,S,P,R,A):I&6?G(f,d,y,x,w,S,P,R,A):(I&64||I&128)&&C.process(f,d,y,x,w,S,P,R,A,bt)}k!=null&&w&&In(k,f&&f.ref,S,d||f,!d)},V=(f,d,y,x)=>{if(f==null)r(d.el=l(d.children),y,x);else{const w=d.el=f.el;d.children!==f.children&&u(w,d.children)}},L=(f,d,y,x)=>{f==null?r(d.el=c(d.children||""),y,x):d.el=f.el},U=(f,d,y,x)=>{[f.el,f.anchor]=_(f.children,d,y,x,f.el,f.anchor)},p=({el:f,anchor:d},y,x)=>{let w;for(;f&&f!==d;)w=g(f),r(f,y,x),f=w;r(d,y,x)},m=({el:f,anchor:d})=>{let y;for(;f&&f!==d;)y=g(f),s(f),f=y;s(d)},M=(f,d,y,x,w,S,P,R,A)=>{d.type==="svg"?P="svg":d.type==="math"&&(P="mathml"),f==null?F(d,y,x,w,S,P,R,A):O(f,d,w,S,P,R,A)},F=(f,d,y,x,w,S,P,R)=>{let A,C;const{props:k,shapeFlag:I,transition:H,dirs:q}=f;if(A=f.el=o(f.type,S,k&&k.is,k),I&8?a(A,f.children):I&16&&D(f.children,A,null,x,w,ar(f,S),P,R),q&&Ve(f,null,x,"created"),$(A,f,f.scopeId,P,x),k){for(const te in k)te!=="value"&&!At(te)&&i(A,te,null,k[te],S,x);"value"in k&&i(A,"value",null,k.value,S),(C=k.onVnodeBeforeMount)&&Oe(C,x,f)}q&&Ve(f,null,x,"beforeMount");const X=po(w,H);X&&H.beforeEnter(A),r(A,d,y),((C=k&&k.onVnodeMounted)||X||q)&&Se(()=>{C&&Oe(C,x,f),X&&H.enter(A),q&&Ve(f,null,x,"mounted")},w)},$=(f,d,y,x,w)=>{if(y&&b(f,y),x)for(let S=0;S{for(let C=A;C{const R=d.el=f.el;let{patchFlag:A,dynamicChildren:C,dirs:k}=d;A|=f.patchFlag&16;const I=f.props||ee,H=d.props||ee;let q;if(y&&ct(y,!1),(q=H.onVnodeBeforeUpdate)&&Oe(q,y,d,f),k&&Ve(d,f,y,"beforeUpdate"),y&&ct(y,!0),(I.innerHTML&&H.innerHTML==null||I.textContent&&H.textContent==null)&&a(R,""),C?v(f.dynamicChildren,C,R,y,x,ar(d,w),S):P||B(f,d,R,null,y,x,ar(d,w),S,!1),A>0){if(A&16)N(R,I,H,y,w);else if(A&2&&I.class!==H.class&&i(R,"class",null,H.class,w),A&4&&i(R,"style",I.style,H.style,w),A&8){const X=d.dynamicProps;for(let te=0;te{q&&Oe(q,y,d,f),k&&Ve(d,f,y,"updated")},x)},v=(f,d,y,x,w,S,P)=>{for(let R=0;R{if(d!==y){if(d!==ee)for(const S in d)!At(S)&&!(S in y)&&i(f,S,d[S],null,w,x);for(const S in y){if(At(S))continue;const P=y[S],R=d[S];P!==R&&S!=="value"&&i(f,S,R,P,w,x)}"value"in y&&i(f,"value",d.value,y.value,w)}},T=(f,d,y,x,w,S,P,R,A)=>{const C=d.el=f?f.el:l(""),k=d.anchor=f?f.anchor:l("");let{patchFlag:I,dynamicChildren:H,slotScopeIds:q}=d;q&&(R=R?R.concat(q):q),f==null?(r(C,y,x),r(k,y,x),D(d.children||[],y,k,w,S,P,R,A)):I>0&&I&64&&H&&f.dynamicChildren?(v(f.dynamicChildren,H,y,w,S,P,R),(d.key!=null||w&&d===w.subTree)&&os(f,d,!0)):B(f,d,y,k,w,S,P,R,A)},G=(f,d,y,x,w,S,P,R,A)=>{d.slotScopeIds=R,f==null?d.shapeFlag&512?w.ctx.activate(d,y,x,P,A):re(d,y,x,w,S,P,A):ce(f,d,A)},re=(f,d,y,x,w,S,P)=>{const R=f.component=zc(f,x,w);if(nn(f)&&(R.ctx.renderer=bt),Qc(R,!1,P),R.asyncDep){if(w&&w.registerDep(R,j,P),!f.el){const A=R.subTree=le(ye);L(null,A,d,y)}}else j(R,f,d,y,w,S,P)},ce=(f,d,y)=>{const x=d.component=f.component;if(kc(f,d,y))if(x.asyncDep&&!x.asyncResolved){Y(x,d,y);return}else x.next=d,x.update();else d.el=f.el,x.vnode=d},j=(f,d,y,x,w,S,P)=>{const R=()=>{if(f.isMounted){let{next:I,bu:H,u:q,parent:X,vnode:te}=f;{const Ce=go(f);if(Ce){I&&(I.el=te.el,Y(f,I,P)),Ce.asyncDep.then(()=>{f.isUnmounted||R()});return}}let z=I,xe;ct(f,!1),I?(I.el=te.el,Y(f,I,P)):I=te,H&&En(H),(xe=I.props&&I.props.onVnodeBeforeUpdate)&&Oe(xe,X,I,te),ct(f,!0);const pe=fr(f),Pe=f.subTree;f.subTree=pe,E(Pe,pe,h(Pe.el),ln(Pe),f,w,S),I.el=pe.el,z===null&&Wc(f,pe.el),q&&Se(q,w),(xe=I.props&&I.props.onVnodeUpdated)&&Se(()=>Oe(xe,X,I,te),w)}else{let I;const{el:H,props:q}=d,{bm:X,m:te,parent:z,root:xe,type:pe}=f,Pe=gt(d);if(ct(f,!1),X&&En(X),!Pe&&(I=q&&q.onVnodeBeforeMount)&&Oe(I,z,d),ct(f,!0),H&&tr){const Ce=()=>{f.subTree=fr(f),tr(H,f.subTree,f,w,null)};Pe&&pe.__asyncHydrate?pe.__asyncHydrate(H,f,Ce):Ce()}else{xe.ce&&xe.ce._injectChildStyle(pe);const Ce=f.subTree=fr(f);E(null,Ce,y,x,f,w,S),d.el=Ce.el}if(te&&Se(te,w),!Pe&&(I=q&&q.onVnodeMounted)){const Ce=d;Se(()=>Oe(I,z,Ce),w)}(d.shapeFlag&256||z&>(z.vnode)&&z.vnode.shapeFlag&256)&&f.a&&Se(f.a,w),f.isMounted=!0,d=y=x=null}};f.scope.on();const A=f.effect=new Ei(R);f.scope.off();const C=f.update=A.run.bind(A),k=f.job=A.runIfDirty.bind(A);k.i=f,k.id=f.uid,A.scheduler=()=>qn(k),ct(f,!0),C()},Y=(f,d,y)=>{d.component=f;const x=f.vnode.props;f.vnode=d,f.next=null,Rc(f,d.props,x,y),Ic(f,d.children,y),it(),Ss(f),ot()},B=(f,d,y,x,w,S,P,R,A=!1)=>{const C=f&&f.children,k=f?f.shapeFlag:0,I=d.children,{patchFlag:H,shapeFlag:q}=d;if(H>0){if(H&128){on(C,I,y,x,w,S,P,R,A);return}else if(H&256){he(C,I,y,x,w,S,P,R,A);return}}q&8?(k&16&&Lt(C,w,S),I!==C&&a(y,I)):k&16?q&16?on(C,I,y,x,w,S,P,R,A):Lt(C,w,S,!0):(k&8&&a(y,""),q&16&&D(I,y,x,w,S,P,R,A))},he=(f,d,y,x,w,S,P,R,A)=>{f=f||Ct,d=d||Ct;const C=f.length,k=d.length,I=Math.min(C,k);let H;for(H=0;Hk?Lt(f,w,S,!0,!1,I):D(d,y,x,w,S,P,R,A,I)},on=(f,d,y,x,w,S,P,R,A)=>{let C=0;const k=d.length;let I=f.length-1,H=k-1;for(;C<=I&&C<=H;){const q=f[C],X=d[C]=A?et(d[C]):Me(d[C]);if(dt(q,X))E(q,X,y,null,w,S,P,R,A);else break;C++}for(;C<=I&&C<=H;){const q=f[I],X=d[H]=A?et(d[H]):Me(d[H]);if(dt(q,X))E(q,X,y,null,w,S,P,R,A);else break;I--,H--}if(C>I){if(C<=H){const q=H+1,X=qH)for(;C<=I;)$e(f[C],w,S,!0),C++;else{const q=C,X=C,te=new Map;for(C=X;C<=H;C++){const Te=d[C]=A?et(d[C]):Me(d[C]);Te.key!=null&&te.set(Te.key,C)}let z,xe=0;const pe=H-X+1;let Pe=!1,Ce=0;const Nt=new Array(pe);for(C=0;C=pe){$e(Te,w,S,!0);continue}let De;if(Te.key!=null)De=te.get(Te.key);else for(z=X;z<=H;z++)if(Nt[z-X]===0&&dt(Te,d[z])){De=z;break}De===void 0?$e(Te,w,S,!0):(Nt[De-X]=C+1,De>=Ce?Ce=De:Pe=!0,E(Te,d[De],y,null,w,S,P,R,A),xe++)}const ps=Pe?Fc(Nt):Ct;for(z=ps.length-1,C=pe-1;C>=0;C--){const Te=X+C,De=d[Te],gs=Te+1{const{el:S,type:P,transition:R,children:A,shapeFlag:C}=f;if(C&6){lt(f.component.subTree,d,y,x);return}if(C&128){f.suspense.move(d,y,x);return}if(C&64){P.move(f,d,y,bt);return}if(P===Ee){r(S,d,y);for(let I=0;IR.enter(S),w);else{const{leave:I,delayLeave:H,afterLeave:q}=R,X=()=>r(S,d,y),te=()=>{I(S,()=>{X(),q&&q()})};H?H(S,X,te):te()}else r(S,d,y)},$e=(f,d,y,x=!1,w=!1)=>{const{type:S,props:P,ref:R,children:A,dynamicChildren:C,shapeFlag:k,patchFlag:I,dirs:H,cacheIndex:q}=f;if(I===-2&&(w=!1),R!=null&&In(R,null,y,f,!0),q!=null&&(d.renderCache[q]=void 0),k&256){d.ctx.deactivate(f);return}const X=k&1&&H,te=!gt(f);let z;if(te&&(z=P&&P.onVnodeBeforeUnmount)&&Oe(z,d,f),k&6)Jo(f.component,y,x);else{if(k&128){f.suspense.unmount(y,x);return}X&&Ve(f,null,d,"beforeUnmount"),k&64?f.type.remove(f,d,y,bt,x):C&&!C.hasOnce&&(S!==Ee||I>0&&I&64)?Lt(C,d,y,!1,!0):(S===Ee&&I&384||!w&&k&16)&&Lt(A,d,y),x&&ds(f)}(te&&(z=P&&P.onVnodeUnmounted)||X)&&Se(()=>{z&&Oe(z,d,f),X&&Ve(f,null,d,"unmounted")},y)},ds=f=>{const{type:d,el:y,anchor:x,transition:w}=f;if(d===Ee){Xo(y,x);return}if(d===Bt){m(f);return}const S=()=>{s(y),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(f.shapeFlag&1&&w&&!w.persisted){const{leave:P,delayLeave:R}=w,A=()=>P(y,S);R?R(f.el,S,A):A()}else S()},Xo=(f,d)=>{let y;for(;f!==d;)y=g(f),s(f),f=y;s(d)},Jo=(f,d,y)=>{const{bum:x,scope:w,job:S,subTree:P,um:R,m:A,a:C}=f;Fs(A),Fs(C),x&&En(x),w.stop(),S&&(S.flags|=8,$e(P,f,d,y)),R&&Se(R,d),Se(()=>{f.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},Lt=(f,d,y,x=!1,w=!1,S=0)=>{for(let P=S;P{if(f.shapeFlag&6)return ln(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const d=g(f.anchor||f.el),y=d&&d[Bi];return y?g(y):d};let Zn=!1;const hs=(f,d,y)=>{f==null?d._vnode&&$e(d._vnode,null,null,!0):E(d._vnode||null,f,d,null,null,null,y),d._vnode=f,Zn||(Zn=!0,Ss(),Mn(),Zn=!1)},bt={p:E,um:$e,m:lt,r:ds,mt:re,mc:D,pc:B,pbc:v,n:ln,o:e};let er,tr;return t&&([er,tr]=t(bt)),{render:hs,hydrate:er,createApp:Cc(hs,er)}}function ar({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 ct({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function po(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function os(e,t,n=!1){const r=e.children,s=t.children;if(W(r)&&W(s))for(let i=0;i>1,e[n[l]]0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function go(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:go(t)}function Fs(e){if(e)for(let t=0;tMt(Hc);function ls(e,t){return Xn(e,null,t)}function jf(e,t){return Xn(e,null,{flush:"post"})}function Be(e,t,n){return Xn(e,t,n)}function Xn(e,t,n=ee){const{immediate:r,deep:s,flush:i,once:o}=n,l=fe({},n);let c;if(sn)if(i==="sync"){const g=$c();c=g.__watcherHandles||(g.__watcherHandles=[])}else if(!t||r)l.once=!0;else return{stop:Ue,resume:Ue,pause:Ue};const u=ue;l.call=(g,b,_)=>Fe(g,u,b,_);let a=!1;i==="post"?l.scheduler=g=>{Se(g,u&&u.suspense)}:i!=="sync"&&(a=!0,l.scheduler=(g,b)=>{b?g():qn(g)}),l.augmentJob=g=>{t&&(g.flags|=4),a&&(g.flags|=2,u&&(g.id=u.uid,g.i=u))};const h=Kl(e,t,l);return c&&c.push(h),h}function Dc(e,t,n){const r=this.proxy,s=se(e)?e.includes(".")?mo(r,e):()=>r[e]:e.bind(r,r);let i;K(t)?i=t:(i=t.handler,n=t);const o=rn(this),l=Xn(s,i.bind(r),n);return o(),l}function mo(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;st==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ne(t)}Modifiers`]||e[`${st(t)}Modifiers`];function Vc(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ee;let s=n;const i=t.startsWith("update:"),o=i&&jc(r,t.slice(7));o&&(o.trim&&(s=n.map(a=>se(a)?a.trim():a)),o.number&&(s=n.map(xr)));let l,c=r[l=wn(t)]||r[l=wn(Ne(t))];!c&&i&&(c=r[l=wn(st(t))]),c&&Fe(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,Fe(u,e,6,s)}}function yo(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const i=e.emits;let o={},l=!1;if(!K(e)){const c=u=>{const a=yo(u,t,!0);a&&(l=!0,fe(o,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(ne(e)&&r.set(e,null),null):(W(i)?i.forEach(c=>o[c]=null):fe(o,i),ne(e)&&r.set(e,o),o)}function Jn(e,t){return!e||!Zt(t)?!1:(t=t.slice(2).replace(/Once$/,""),Q(e,t[0].toLowerCase()+t.slice(1))||Q(e,st(t))||Q(e,t))}function fr(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[i],slots:o,attrs:l,emit:c,render:u,renderCache:a,props:h,data:g,setupState:b,ctx:_,inheritAttrs:E}=e,V=Pn(e);let L,U;try{if(n.shapeFlag&4){const m=s||r,M=m;L=Me(u.call(M,m,a,h,b,g,_)),U=l}else{const m=t;L=Me(m.length>1?m(h,{attrs:l,slots:o,emit:c}):m(h,null)),U=t.props?l:Uc(l)}}catch(m){kt.length=0,tn(m,e,1),L=le(ye)}let p=L;if(U&&E!==!1){const m=Object.keys(U),{shapeFlag:M}=p;m.length&&M&7&&(i&&m.some(Vr)&&(U=Bc(U,i)),p=nt(p,U,!1,!0))}return n.dirs&&(p=nt(p,null,!1,!0),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition&&Xt(p,n.transition),L=p,Pn(V),L}const Uc=e=>{let t;for(const n in e)(n==="class"||n==="style"||Zt(n))&&((t||(t={}))[n]=e[n]);return t},Bc=(e,t)=>{const n={};for(const r in e)(!Vr(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function kc(e,t,n){const{props:r,children:s,component:i}=e,{props:o,children:l,patchFlag:c}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?Hs(r,o,u):!!o;if(c&8){const a=t.dynamicProps;for(let h=0;he.__isSuspense;function bo(e,t){t&&t.pendingBranch?W(e)?t.effects.push(...e):t.effects.push(e):Yl(e)}const Ee=Symbol.for("v-fgt"),mt=Symbol.for("v-txt"),ye=Symbol.for("v-cmt"),Bt=Symbol.for("v-stc"),kt=[];let Ae=null;function Nr(e=!1){kt.push(Ae=e?null:[])}function Kc(){kt.pop(),Ae=kt[kt.length-1]||null}let Jt=1;function $s(e){Jt+=e,e<0&&Ae&&(Ae.hasOnce=!0)}function _o(e){return e.dynamicChildren=Jt>0?Ae||Ct:null,Kc(),Jt>0&&Ae&&Ae.push(e),e}function Vf(e,t,n,r,s,i){return _o(Eo(e,t,n,r,s,i,!0))}function Fr(e,t,n,r,s){return _o(le(e,t,n,r,s,!0))}function Nn(e){return e?e.__v_isVNode===!0:!1}function dt(e,t){return e.type===t.type&&e.key===t.key}const wo=({key:e})=>e??null,Cn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?se(e)||ae(e)||K(e)?{i:de,r:e,k:t,f:!!n}:e:null);function Eo(e,t=null,n=null,r=0,s=null,i=e===Ee?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&wo(t),ref:t&&Cn(t),scopeId:Ui,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:i,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:de};return l?(cs(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=se(n)?8:16),Jt>0&&!o&&Ae&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Ae.push(c),c}const le=qc;function qc(e,t=null,n=null,r=0,s=null,i=!1){if((!e||e===Qi)&&(e=ye),Nn(e)){const l=nt(e,t,!0);return n&&cs(l,n),Jt>0&&!i&&Ae&&(l.shapeFlag&6?Ae[Ae.indexOf(e)]=l:Ae.push(l)),l.patchFlag=-2,l}if(na(e)&&(e=e.__vccOpts),t){t=Gc(t);let{class:l,style:c}=t;l&&!se(l)&&(t.class=Wr(l)),ne(c)&&(zr(c)&&!W(c)&&(c=fe({},c)),t.style=kr(c))}const o=se(e)?1:vo(e)?128:ki(e)?64:ne(e)?4:K(e)?2:0;return Eo(e,t,n,r,s,o,i,!0)}function Gc(e){return e?zr(e)||io(e)?fe({},e):e:null}function nt(e,t,n=!1,r=!1){const{props:s,ref:i,patchFlag:o,children:l,transition:c}=e,u=t?Yc(s||{},t):s,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&wo(u),ref:t&&t.ref?n&&i?W(i)?i.concat(Cn(t)):[i,Cn(t)]:Cn(t):i,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!==Ee?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&nt(e.ssContent),ssFallback:e.ssFallback&&nt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&Xt(a,c.clone(a)),a}function So(e=" ",t=0){return le(mt,null,e,t)}function Uf(e,t){const n=le(Bt,null,e);return n.staticCount=t,n}function Bf(e="",t=!1){return t?(Nr(),Fr(ye,null,e)):le(ye,null,e)}function Me(e){return e==null||typeof e=="boolean"?le(ye):W(e)?le(Ee,null,e.slice()):typeof e=="object"?et(e):le(mt,null,String(e))}function et(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:nt(e)}function cs(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(W(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),cs(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!io(t)?t._ctx=de:s===3&&de&&(de.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else K(t)?(t={default:t,_ctx:de},n=32):(t=String(t),r&64?(n=16,t=[So(t)]):n=8);e.children=t,e.shapeFlag|=n}function Yc(...e){const t={};for(let n=0;nue||de;let Fn,Hr;{const e=yi(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),i=>{s.length>1?s.forEach(o=>o(i)):s[0](i)}};Fn=t("__VUE_INSTANCE_SETTERS__",n=>ue=n),Hr=t("__VUE_SSR_SETTERS__",n=>sn=n)}const rn=e=>{const t=ue;return Fn(e),e.scope.on(),()=>{e.scope.off(),Fn(t)}},Ds=()=>{ue&&ue.scope.off(),Fn(null)};function xo(e){return e.vnode.shapeFlag&4}let sn=!1;function Qc(e,t=!1,n=!1){t&&Hr(t);const{props:r,children:s}=e.vnode,i=xo(e);Ac(e,r,i,t),Pc(e,s,n);const o=i?Zc(e,t):void 0;return t&&Hr(!1),o}function Zc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,yc);const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?To(e):null,i=rn(e);it();const o=en(r,e,0,[e.props,s]);if(ot(),i(),hi(o)){if(gt(e)||ns(e),o.then(Ds,Ds),t)return o.then(l=>{js(e,l,t)}).catch(l=>{tn(l,e,0)});e.asyncDep=o}else js(e,o,t)}else Co(e,t)}function js(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ne(t)&&(e.setupState=$i(t)),Co(e,n)}let Vs;function Co(e,t,n){const r=e.type;if(!e.render){if(!t&&Vs&&!r.render){const s=r.template||ss(e).template;if(s){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=r,u=fe(fe({isCustomElement:i,delimiters:l},o),c);r.render=Vs(s,u)}}e.render=r.render||Ue}{const s=rn(e);it();try{bc(e)}finally{ot(),s()}}}const ea={get(e,t){return ve(e,"get",""),e[t]}};function To(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,ea),slots:e.slots,emit:e.emit,expose:t}}function Qn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy($i(Sn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ut)return Ut[n](e)},has(t,n){return n in t||n in Ut}})):e.proxy}function ta(e,t=!0){return K(e)?e.displayName||e.name:e.name||t&&e.__name}function na(e){return K(e)&&"__vccOpts"in e}const ie=(e,t)=>kl(e,t,sn);function $r(e,t,n){const r=arguments.length;return r===2?ne(t)&&!W(t)?Nn(t)?le(e,null,[t]):le(e,t):le(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Nn(n)&&(n=[n]),le(e,t,n))}const ra="3.5.3";/** -* @vue/runtime-dom v3.5.3 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let Dr;const Us=typeof window<"u"&&window.trustedTypes;if(Us)try{Dr=Us.createPolicy("vue",{createHTML:e=>e})}catch{}const Ao=Dr?e=>Dr.createHTML(e):e=>e,sa="http://www.w3.org/2000/svg",ia="http://www.w3.org/1998/Math/MathML",Ke=typeof document<"u"?document:null,Bs=Ke&&Ke.createElement("template"),oa={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"?Ke.createElementNS(sa,e):t==="mathml"?Ke.createElementNS(ia,e):n?Ke.createElement(e,{is:n}):Ke.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Ke.createTextNode(e),createComment:e=>Ke.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ke.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,i){const o=n?n.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{Bs.innerHTML=Ao(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const l=Bs.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[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Je="transition",Ht="animation",zt=Symbol("_vtc"),Ro={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},la=fe({},Ki,Ro),ca=e=>(e.displayName="Transition",e.props=la,e),kf=ca((e,{slots:t})=>$r(tc,aa(e),t)),at=(e,t=[])=>{W(e)?e.forEach(n=>n(...t)):e&&e(...t)},ks=e=>e?W(e)?e.some(t=>t.length>1):e.length>1:!1;function aa(e){const t={};for(const T in e)T in Ro||(t[T]=e[T]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:u=o,appearToClass:a=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:g=`${n}-leave-active`,leaveToClass:b=`${n}-leave-to`}=e,_=fa(s),E=_&&_[0],V=_&&_[1],{onBeforeEnter:L,onEnter:U,onEnterCancelled:p,onLeave:m,onLeaveCancelled:M,onBeforeAppear:F=L,onAppear:$=U,onAppearCancelled:D=p}=t,O=(T,G,re)=>{ft(T,G?a:l),ft(T,G?u:o),re&&re()},v=(T,G)=>{T._isLeaving=!1,ft(T,h),ft(T,b),ft(T,g),G&&G()},N=T=>(G,re)=>{const ce=T?$:U,j=()=>O(G,T,re);at(ce,[G,j]),Ws(()=>{ft(G,T?c:i),ze(G,T?a:l),ks(ce)||Ks(G,r,E,j)})};return fe(t,{onBeforeEnter(T){at(L,[T]),ze(T,i),ze(T,o)},onBeforeAppear(T){at(F,[T]),ze(T,c),ze(T,u)},onEnter:N(!1),onAppear:N(!0),onLeave(T,G){T._isLeaving=!0;const re=()=>v(T,G);ze(T,h),ze(T,g),ha(),Ws(()=>{T._isLeaving&&(ft(T,h),ze(T,b),ks(m)||Ks(T,r,V,re))}),at(m,[T,re])},onEnterCancelled(T){O(T,!1),at(p,[T])},onAppearCancelled(T){O(T,!0),at(D,[T])},onLeaveCancelled(T){v(T),at(M,[T])}})}function fa(e){if(e==null)return null;if(ne(e))return[ur(e.enter),ur(e.leave)];{const t=ur(e);return[t,t]}}function ur(e){return nl(e)}function ze(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[zt]||(e[zt]=new Set)).add(t)}function ft(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[zt];n&&(n.delete(t),n.size||(e[zt]=void 0))}function Ws(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let ua=0;function Ks(e,t,n,r){const s=e._endId=++ua,i=()=>{s===e._endId&&r()};if(n)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=da(e,t);if(!o)return r();const u=o+"end";let a=0;const h=()=>{e.removeEventListener(u,g),i()},g=b=>{b.target===e&&++a>=c&&h()};setTimeout(()=>{a(n[_]||"").split(", "),s=r(`${Je}Delay`),i=r(`${Je}Duration`),o=qs(s,i),l=r(`${Ht}Delay`),c=r(`${Ht}Duration`),u=qs(l,c);let a=null,h=0,g=0;t===Je?o>0&&(a=Je,h=o,g=i.length):t===Ht?u>0&&(a=Ht,h=u,g=c.length):(h=Math.max(o,u),a=h>0?o>u?Je:Ht:null,g=a?a===Je?i.length:c.length:0);const b=a===Je&&/\b(transform|all)(,|$)/.test(r(`${Je}Property`).toString());return{type:a,timeout:h,propCount:g,hasTransform:b}}function qs(e,t){for(;e.lengthGs(n)+Gs(e[r])))}function Gs(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function ha(){return document.body.offsetHeight}function pa(e,t,n){const r=e[zt];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Hn=Symbol("_vod"),Oo=Symbol("_vsh"),Wf={beforeMount(e,{value:t},{transition:n}){e[Hn]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):$t(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),$t(e,!0),r.enter(e)):r.leave(e,()=>{$t(e,!1)}):$t(e,t))},beforeUnmount(e,{value:t}){$t(e,t)}};function $t(e,t){e.style.display=t?e[Hn]:"none",e[Oo]=!t}const ga=Symbol(""),ma=/(^|;)\s*display\s*:/;function ya(e,t,n){const r=e.style,s=se(n);let i=!1;if(n&&!s){if(t)if(se(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&Tn(r,l,"")}else for(const o in t)n[o]==null&&Tn(r,o,"");for(const o in n)o==="display"&&(i=!0),Tn(r,o,n[o])}else if(s){if(t!==n){const o=r[ga];o&&(n+=";"+o),r.cssText=n,i=ma.test(n)}}else t&&e.removeAttribute("style");Hn in e&&(e[Hn]=i?r.display:"",e[Oo]&&(r.display="none"))}const Ys=/\s*!important$/;function Tn(e,t,n){if(W(n))n.forEach(r=>Tn(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=va(e,t);Ys.test(n)?e.setProperty(st(r),n.replace(Ys,""),"important"):e[r]=n}}const Xs=["Webkit","Moz","ms"],dr={};function va(e,t){const n=dr[t];if(n)return n;let r=Ne(t);if(r!=="filter"&&r in e)return dr[t]=r;r=jn(r);for(let s=0;shr||(Sa.then(()=>hr=0),hr=Date.now());function Ca(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Fe(Ta(r,n.value),t,5,[r])};return n.value=e,n.attached=xa(),n}function Ta(e,t){if(W(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 ei=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Aa=(e,t,n,r,s,i)=>{const o=s==="svg";t==="class"?pa(e,r,o):t==="style"?ya(e,n,r):Zt(t)?Vr(t)||wa(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ra(e,t,r,o))?(ba(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&zs(e,t,r,o,i,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),zs(e,t,r,o))};function Ra(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&ei(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 ei(t)&&se(n)?!1:!!(t in e||e._isVueCE&&(/[A-Z]/.test(t)||!se(n)))}const ti=e=>{const t=e.props["onUpdate:modelValue"]||!1;return W(t)?n=>En(t,n):t};function Oa(e){e.target.composing=!0}function ni(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const pr=Symbol("_assign"),Kf={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[pr]=ti(s);const i=r||s.props&&s.props.type==="number";St(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=xr(l)),e[pr](l)}),n&&St(e,"change",()=>{e.value=e.value.trim()}),t||(St(e,"compositionstart",Oa),St(e,"compositionend",ni),St(e,"change",ni))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:i}},o){if(e[pr]=ti(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?xr(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))}},Ma=["ctrl","shift","alt","meta"],Pa={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)=>Ma.some(n=>e[`${n}Key`]&&!t.includes(n))},qf=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...i)=>{for(let o=0;o{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const i=st(s.key);if(t.some(o=>o===i||Ia[o]===i))return e(s)})},Mo=fe({patchProp:Aa},oa);let Wt,ri=!1;function La(){return Wt||(Wt=Lc(Mo))}function Na(){return Wt=ri?Wt:Nc(Mo),ri=!0,Wt}const Yf=(...e)=>{const t=La().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Io(r);if(!s)return;const i=t._component;!K(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const o=n(s,!1,Po(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t},Xf=(...e)=>{const t=Na().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Io(r);if(s)return n(s,!0,Po(s))},t};function Po(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Io(e){return se(e)?document.querySelector(e):e}const Jf=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Fa="modulepreload",Ha=function(e){return"/"+e},si={},zf=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),o=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));s=Promise.all(n.map(l=>{if(l=Ha(l),l in si)return;si[l]=!0;const c=l.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${u}`))return;const a=document.createElement("link");if(a.rel=c?"stylesheet":Fa,c||(a.as="script",a.crossOrigin=""),a.href=l,o&&a.setAttribute("nonce",o),document.head.appendChild(a),c)return new Promise((h,g)=>{a.addEventListener("load",h),a.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${l}`)))})}))}return s.then(()=>t()).catch(i=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=i,window.dispatchEvent(o),!o.defaultPrevented)throw i})},$a=window.__VP_SITE_DATA__;function as(e){return wi()?(ul(e),!0):!1}function ke(e){return typeof e=="function"?e():Hi(e)}const Lo=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Da=Object.prototype.toString,ja=e=>Da.call(e)==="[object Object]",Qt=()=>{},ii=Va();function Va(){var e,t;return Lo&&((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 Ua(e,t){function n(...r){return new Promise((s,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(i)})}return n}const No=e=>e();function Ba(e,t={}){let n,r,s=Qt;const i=l=>{clearTimeout(l),s(),s=Qt};return l=>{const c=ke(e),u=ke(t.maxWait);return n&&i(n),c<=0||u!==void 0&&u<=0?(r&&(i(r),r=null),Promise.resolve(l())):new Promise((a,h)=>{s=t.rejectOnCancel?h:a,u&&!r&&(r=setTimeout(()=>{n&&i(n),r=null,a(l())},u)),n=setTimeout(()=>{r&&i(r),r=null,a(l())},c)})}}function ka(e=No){const t=oe(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...i)=>{t.value&&e(...i)};return{isActive:Wn(t),pause:n,resume:r,eventFilter:s}}function Wa(e){return zn()}function Fo(...e){if(e.length!==1)return Vl(...e);const t=e[0];return typeof t=="function"?Wn($l(()=>({get:t,set:Qt}))):oe(t)}function Ho(e,t,n={}){const{eventFilter:r=No,...s}=n;return Be(e,Ua(r,t),s)}function Ka(e,t,n={}){const{eventFilter:r,...s}=n,{eventFilter:i,pause:o,resume:l,isActive:c}=ka(r);return{stop:Ho(e,t,{...s,eventFilter:i}),pause:o,resume:l,isActive:c}}function fs(e,t=!0,n){Wa()?It(e,n):t?e():Kn(e)}function Qf(e,t,n={}){const{debounce:r=0,maxWait:s=void 0,...i}=n;return Ho(e,t,{...i,eventFilter:Ba(r,{maxWait:s})})}function Zf(e,t,n){let r;ae(n)?r={evaluating:n}:r={};const{lazy:s=!1,evaluating:i=void 0,shallow:o=!0,onError:l=Qt}=r,c=oe(!s),u=o?Zr(t):oe(t);let a=0;return ls(async h=>{if(!c.value)return;a++;const g=a;let b=!1;i&&Promise.resolve().then(()=>{i.value=!0});try{const _=await e(E=>{h(()=>{i&&(i.value=!1),b||E()})});g===a&&(u.value=_)}catch(_){l(_)}finally{i&&g===a&&(i.value=!1),b=!0}}),s?ie(()=>(c.value=!0,u.value)):u}function $o(e){var t;const n=ke(e);return(t=n==null?void 0:n.$el)!=null?t:n}const He=Lo?window:void 0;function Pt(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=He):[t,n,r,s]=e,!t)return Qt;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],o=()=>{i.forEach(a=>a()),i.length=0},l=(a,h,g,b)=>(a.addEventListener(h,g,b),()=>a.removeEventListener(h,g,b)),c=Be(()=>[$o(t),ke(s)],([a,h])=>{if(o(),!a)return;const g=ja(h)?{...h}:h;i.push(...n.flatMap(b=>r.map(_=>l(a,b,_,g))))},{immediate:!0,flush:"post"}),u=()=>{c(),o()};return as(u),u}function qa(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function eu(...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=He,eventName:i="keydown",passive:o=!1,dedupe:l=!1}=r,c=qa(t);return Pt(s,i,a=>{a.repeat&&ke(l)||c(a)&&n(a)},o)}function Ga(){const e=oe(!1),t=zn();return t&&It(()=>{e.value=!0},t),e}function Ya(e){const t=Ga();return ie(()=>(t.value,!!e()))}function Do(e,t={}){const{window:n=He}=t,r=Ya(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const i=oe(!1),o=u=>{i.value=u.matches},l=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",o):s.removeListener(o))},c=ls(()=>{r.value&&(l(),s=n.matchMedia(ke(e)),"addEventListener"in s?s.addEventListener("change",o):s.addListener(o),i.value=s.matches)});return as(()=>{c(),l(),s=void 0}),i}const vn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},bn="__vueuse_ssr_handlers__",Xa=Ja();function Ja(){return bn in vn||(vn[bn]=vn[bn]||{}),vn[bn]}function jo(e,t){return Xa[e]||t}function za(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 Qa={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()}},oi="vueuse-storage";function us(e,t,n,r={}){var s;const{flush:i="pre",deep:o=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:u=!1,shallow:a,window:h=He,eventFilter:g,onError:b=v=>{console.error(v)},initOnMounted:_}=r,E=(a?Zr:oe)(typeof t=="function"?t():t);if(!n)try{n=jo("getDefaultStorage",()=>{var v;return(v=He)==null?void 0:v.localStorage})()}catch(v){b(v)}if(!n)return E;const V=ke(t),L=za(V),U=(s=r.serializer)!=null?s:Qa[L],{pause:p,resume:m}=Ka(E,()=>F(E.value),{flush:i,deep:o,eventFilter:g});h&&l&&fs(()=>{Pt(h,"storage",D),Pt(h,oi,O),_&&D()}),_||D();function M(v,N){h&&h.dispatchEvent(new CustomEvent(oi,{detail:{key:e,oldValue:v,newValue:N,storageArea:n}}))}function F(v){try{const N=n.getItem(e);if(v==null)M(N,null),n.removeItem(e);else{const T=U.write(v);N!==T&&(n.setItem(e,T),M(N,T))}}catch(N){b(N)}}function $(v){const N=v?v.newValue:n.getItem(e);if(N==null)return c&&V!=null&&n.setItem(e,U.write(V)),V;if(!v&&u){const T=U.read(N);return typeof u=="function"?u(T,V):L==="object"&&!Array.isArray(T)?{...V,...T}:T}else return typeof N!="string"?N:U.read(N)}function D(v){if(!(v&&v.storageArea!==n)){if(v&&v.key==null){E.value=V;return}if(!(v&&v.key!==e)){p();try{(v==null?void 0:v.newValue)!==U.write(E.value)&&(E.value=$(v))}catch(N){b(N)}finally{v?Kn(m):m()}}}}function O(v){D(v.detail)}return E}function Vo(e){return Do("(prefers-color-scheme: dark)",e)}function Za(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:s=He,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:u,disableTransition:a=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},g=Vo({window:s}),b=ie(()=>g.value?"dark":"light"),_=c||(o==null?Fo(r):us(o,r,i,{window:s,listenToStorageChanges:l})),E=ie(()=>_.value==="auto"?b.value:_.value),V=jo("updateHTMLAttrs",(m,M,F)=>{const $=typeof m=="string"?s==null?void 0:s.document.querySelector(m):$o(m);if(!$)return;let D;if(a&&(D=s.document.createElement("style"),D.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(D)),M==="class"){const O=F.split(/\s/g);Object.values(h).flatMap(v=>(v||"").split(/\s/g)).filter(Boolean).forEach(v=>{O.includes(v)?$.classList.add(v):$.classList.remove(v)})}else $.setAttribute(M,F);a&&(s.getComputedStyle(D).opacity,document.head.removeChild(D))});function L(m){var M;V(t,n,(M=h[m])!=null?M:m)}function U(m){e.onChanged?e.onChanged(m,L):L(m)}Be(E,U,{flush:"post",immediate:!0}),fs(()=>U(E.value));const p=ie({get(){return u?_.value:E.value},set(m){_.value=m}});try{return Object.assign(p,{store:_,system:b,state:E})}catch{return p}}function ef(e={}){const{valueDark:t="dark",valueLight:n="",window:r=He}=e,s=Za({...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}}),i=ie(()=>s.system?s.system.value:Vo({window:r}).value?"dark":"light");return ie({get(){return s.value==="dark"},set(l){const c=l?"dark":"light";i.value===c?s.value="auto":s.value=c}})}function gr(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function tu(e,t,n={}){const{window:r=He}=n;return us(e,t,r==null?void 0:r.localStorage,n)}function Uo(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 mr=new WeakMap;function nu(e,t=!1){const n=oe(t);let r=null,s="";Be(Fo(e),l=>{const c=gr(ke(l));if(c){const u=c;if(mr.get(u)||mr.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 i=()=>{const l=gr(ke(e));!l||n.value||(ii&&(r=Pt(l,"touchmove",c=>{tf(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},o=()=>{const l=gr(ke(e));!l||!n.value||(ii&&(r==null||r()),l.style.overflow=s,mr.delete(l),n.value=!1)};return as(o),ie({get(){return n.value},set(l){l?i():o()}})}function ru(e,t,n={}){const{window:r=He}=n;return us(e,t,r==null?void 0:r.sessionStorage,n)}function su(e={}){const{window:t=He,behavior:n="auto"}=e;if(!t)return{x:oe(0),y:oe(0)};const r=oe(t.scrollX),s=oe(t.scrollY),i=ie({get(){return r.value},set(l){scrollTo({left:l,behavior:n})}}),o=ie({get(){return s.value},set(l){scrollTo({top:l,behavior:n})}});return Pt(t,"scroll",()=>{r.value=t.scrollX,s.value=t.scrollY},{capture:!1,passive:!0}),{x:i,y:o}}function iu(e={}){const{window:t=He,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:i=!0}=e,o=oe(n),l=oe(r),c=()=>{t&&(i?(o.value=t.innerWidth,l.value=t.innerHeight):(o.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight))};if(c(),fs(c),Pt("resize",c,{passive:!0}),s){const u=Do("(orientation: portrait)");Be(u,()=>c())}return{width:o,height:l}}var yr={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1},vr={};const Bo=/^(?:[a-z]+:|\/\/)/i,nf="vitepress-theme-appearance",rf=/#.*$/,sf=/[?#].*$/,of=/(?:(^|\/)index)?\.(?:md|html)$/,ge=typeof document<"u",ko={relativePath:"404.md",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function lf(e,t,n=!1){if(t===void 0)return!1;if(e=li(`/${e}`),n)return new RegExp(t).test(e);if(li(t)!==e)return!1;const r=t.match(rf);return r?(ge?location.hash:"")===r[0]:!0}function li(e){return decodeURI(e).replace(sf,"").replace(of,"$1")}function cf(e){return Bo.test(e)}function af(e,t){return Object.keys((e==null?void 0:e.locales)||{}).find(n=>n!=="root"&&!cf(n)&&lf(t,`/${n}/`,!0))||"root"}function ff(e,t){var r,s,i,o,l,c,u;const n=af(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:((i=e.locales[n])==null?void 0:i.title)??e.title,titleTemplate:((o=e.locales[n])==null?void 0:o.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:Ko(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(u=e.locales[n])==null?void 0:u.themeConfig}})}function Wo(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=uf(e.title,r);return n===s.slice(3)?n:`${n}${s}`}function uf(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function df(e,t){const[n,r]=t;if(n!=="meta")return!1;const s=Object.entries(r)[0];return s==null?!1:e.some(([i,o])=>i===n&&o[s[0]]===s[1])}function Ko(e,t){return[...e.filter(n=>!df(t,n)),...t]}const hf=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,pf=/^[a-z]:/i;function ci(e){const t=pf.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(hf,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const br=new Set;function gf(e){if(br.size===0){const n=typeof process=="object"&&(vr==null?void 0:vr.VITE_EXTRA_EXTENSIONS)||(yr==null?void 0:yr.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=>br.add(r))}const t=e.split(".").pop();return t==null||!br.has(t.toLowerCase())}function ou(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const mf=Symbol(),yt=Zr($a);function lu(e){const t=ie(()=>ff(yt.value,e.data.relativePath)),n=t.value.appearance,r=n==="force-dark"?oe(!0):n?ef({storageKey:nf,initialValue:()=>n==="dark"?"dark":"auto",...typeof n=="object"?n:{}}):oe(!1),s=oe(ge?location.hash:"");return ge&&window.addEventListener("hashchange",()=>{s.value=location.hash}),Be(()=>e.data,()=>{s.value=ge?location.hash:""}),{site:t,theme:ie(()=>t.value.themeConfig),page:ie(()=>e.data),frontmatter:ie(()=>e.data.frontmatter),params:ie(()=>e.data.params),lang:ie(()=>t.value.lang),dir:ie(()=>e.data.frontmatter.dir||t.value.dir),localeIndex:ie(()=>t.value.localeIndex||"root"),title:ie(()=>Wo(t.value,e.data)),description:ie(()=>e.data.description||t.value.description),isDark:r,hash:ie(()=>s.value)}}function yf(){const e=Mt(mf);if(!e)throw new Error("vitepress data not properly injected in app");return e}function vf(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function ai(e){return Bo.test(e)||!e.startsWith("/")?e:vf(yt.value.base,e)}function bf(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),ge){const n="/";t=ci(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=`./${ci(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let An=[];function cu(e){An.push(e),Yn(()=>{An=An.filter(t=>t!==e)})}function _f(){let e=yt.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=fi(e,n);else if(Array.isArray(e))for(const r of e){const s=fi(r,n);if(s){t=s;break}}return t}function fi(e,t){const n=document.querySelector(e);if(!n)return 0;const r=n.getBoundingClientRect().bottom;return r<0?0:r+t}const wf=Symbol(),qo="http://a.com",Ef=()=>({path:"/",component:null,data:ko});function au(e,t){const n=kn(Ef()),r={route:n,go:s};async function s(l=ge?location.href:"/"){var c,u;l=_r(l),await((c=r.onBeforeRouteChange)==null?void 0:c.call(r,l))!==!1&&(ge&&l!==_r(location.href)&&(history.replaceState({scrollPosition:window.scrollY},""),history.pushState({},"",l)),await o(l),await((u=r.onAfterRouteChanged)==null?void 0:u.call(r,l)))}let i=null;async function o(l,c=0,u=!1){var g;if(await((g=r.onBeforePageLoad)==null?void 0:g.call(r,l))===!1)return;const a=new URL(l,qo),h=i=a.pathname;try{let b=await e(h);if(!b)throw new Error(`Page not found: ${h}`);if(i===h){i=null;const{default:_,__pageData:E}=b;if(!_)throw new Error(`Invalid route component: ${_}`);n.path=ge?h:ai(h),n.component=Sn(_),n.data=Sn(E),ge&&Kn(()=>{let V=yt.value.base+E.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!yt.value.cleanUrls&&!V.endsWith("/")&&(V+=".html"),V!==a.pathname&&(a.pathname=V,l=V+a.search+a.hash,history.replaceState({},"",l)),a.hash&&!c){let L=null;try{L=document.getElementById(decodeURIComponent(a.hash).slice(1))}catch(U){console.warn(U)}if(L){ui(L,a.hash);return}}window.scrollTo(0,c)})}}catch(b){if(!/fetch|Page not found/.test(b.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(b),!u)try{const _=await fetch(yt.value.base+"hashmap.json");window.__VP_HASH_MAP__=await _.json(),await o(l,c,!0);return}catch{}if(i===h){i=null,n.path=ge?h:ai(h),n.component=t?Sn(t):null;const _=ge?h.replace(/(^|\/)$/,"$1index").replace(/(\.html)?$/,".md").replace(/^\//,""):"404.md";n.data={...ko,relativePath:_}}}}return ge&&(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:a,origin:h,pathname:g,hash:b,search:_}=new URL(u,c.baseURI),E=new URL(location.href);h===E.origin&&gf(g)&&(l.preventDefault(),g===E.pathname&&_===E.search?(b!==E.hash&&(history.pushState({},"",a),window.dispatchEvent(new HashChangeEvent("hashchange",{oldURL:E.href,newURL:a}))),b?ui(c,b,c.classList.contains("header-anchor")):window.scrollTo(0,0)):s(a))},{capture:!0}),window.addEventListener("popstate",async l=>{var c;l.state!==null&&(await o(_r(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 Sf(){const e=Mt(wf);if(!e)throw new Error("useRouter() is called without provider.");return e}function Go(){return Sf().route}function ui(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(o-window.scrollY)>window.innerHeight?window.scrollTo(0,o):window.scrollTo({left:0,top:o,behavior:"smooth"})};const i=parseInt(window.getComputedStyle(r).paddingTop,10),o=window.scrollY+r.getBoundingClientRect().top-_f()+i;requestAnimationFrame(s)}}function _r(e){const t=new URL(e,qo);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),yt.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 wr=()=>An.forEach(e=>e()),fu=ts({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=Go(),{site:n}=yf();return()=>$r(e.as,n.value.contentProps??{style:{position:"relative"}},[t.component?$r(t.component,{onVnodeMounted:wr,onVnodeUpdated:wr,onVnodeUnmounted:wr}):"404 Page Not Found"])}}),uu=ts({setup(e,{slots:t}){const n=oe(!1);return It(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function du(){ge&&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 i=r.querySelector(".blocks");if(!i)return;const o=Array.from(i.children).find(u=>u.classList.contains("active"));if(!o)return;const l=i.children[s];if(!l||o===l)return;o.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 hu(){if(ge){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,i=(r=n.nextElementSibling)==null?void 0:r.nextElementSibling;if(!s||!i)return;const o=/language-(shellscript|shell|bash|sh|zsh)/.test(s.className),l=[".vp-copy-ignore",".diff.remove"],c=i.cloneNode(!0);c.querySelectorAll(l.join(",")).forEach(a=>a.remove());let u=c.textContent||"";o&&(u=u.replace(/^ *(\$|>) /gm,"").trim()),xf(u).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const a=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,a)})}})}}async function xf(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 pu(e,t){let n=!0,r=[];const s=i=>{if(n){n=!1,i.forEach(l=>{const c=Er(l);for(const u of document.head.children)if(u.isEqualNode(c)){r.push(u);return}});return}const o=i.map(Er);r.forEach((l,c)=>{const u=o.findIndex(a=>a==null?void 0:a.isEqualNode(l??null));u!==-1?delete o[u]:(l==null||l.remove(),delete r[c])}),o.forEach(l=>l&&document.head.appendChild(l)),r=[...r,...o].filter(Boolean)};ls(()=>{const i=e.data,o=t.value,l=i&&i.description,c=i&&i.frontmatter.head||[],u=Wo(o,i);u!==document.title&&(document.title=u);const a=l||o.description;let h=document.querySelector("meta[name=description]");h?h.getAttribute("content")!==a&&h.setAttribute("content",a):Er(["meta",{name:"description",content:a}]),s(Ko(o.head,Tf(c)))})}function Er([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 Cf(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function Tf(e){return e.filter(t=>!Cf(t))}const Sr=new Set,Yo=()=>document.createElement("link"),Af=e=>{const t=Yo();t.rel="prefetch",t.href=e,document.head.appendChild(t)},Rf=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let _n;const Of=ge&&(_n=Yo())&&_n.relList&&_n.relList.supports&&_n.relList.supports("prefetch")?Af:Rf;function gu(){if(!ge||!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(i=>{i.forEach(o=>{if(o.isIntersecting){const l=o.target;n.unobserve(l);const{pathname:c}=l;if(!Sr.has(c)){Sr.add(c);const u=bf(c);u&&Of(u)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(i=>{const{hostname:o,pathname:l}=new URL(i.href instanceof SVGAnimatedString?i.href.animVal:i.href,i.baseURI),c=l.match(/\.\w+$/);c&&c[0]!==".html"||i.target!=="_blank"&&o===location.hostname&&(l!==location.pathname?n.observe(i):Sr.add(l))})})};It(r);const s=Go();Be(()=>s.path,r),Yn(()=>{n&&n.disconnect()})}export{zi as $,_f as A,Lf as B,Ff as C,Zr as D,cu as E,Ee as F,le as G,Nf as H,Bo as I,Go as J,Yc as K,Mt as L,iu as M,kr as N,eu as O,Kn as P,su as Q,ge as R,Wn as S,kf as T,If as U,zf as V,nu as W,Tc as X,Gf as Y,$f as Z,Jf as _,So as a,qf as a0,Df as a1,Mf as a2,Wf as a3,Uf as a4,pu as a5,wf as a6,lu as a7,mf as a8,fu as a9,uu as aa,yt as ab,Xf as ac,au as ad,bf as ae,gu as af,hu as ag,du as ah,$r as ai,$o as aj,as as ak,Zf as al,ru as am,tu as an,Qf as ao,Sf as ap,Pt as aq,Kf as ar,ae as as,Pf as at,Sn as au,Yf as av,ou as aw,Fr as b,Vf as c,ts as d,Bf as e,gf as f,ai as g,ie as h,cf as i,Eo as j,Hi as k,lf as l,Do as m,Wr as n,Nr as o,oe as p,Be as q,Hf as r,ls as s,al as t,yf as u,It as v,Xl as w,Yn as x,jf as y,dc as z}; diff --git a/assets/chunks/framework.CIgcugFM.js b/assets/chunks/framework.CIgcugFM.js new file mode 100644 index 0000000..9012f9c --- /dev/null +++ b/assets/chunks/framework.CIgcugFM.js @@ -0,0 +1,17 @@ +/** +* @vue/shared v3.4.23 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function Tr(e,t){const n=new Set(e.split(","));return r=>n.has(r)}const ee={},mt=[],xe=()=>{},Ri=()=>!1,Kt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ar=e=>e.startsWith("onUpdate:"),ce=Object.assign,Rr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Oi=Object.prototype.hasOwnProperty,Y=(e,t)=>Oi.call(e,t),B=Array.isArray,yt=e=>Tn(e)==="[object Map]",Ys=e=>Tn(e)==="[object Set]",q=e=>typeof e=="function",ne=e=>typeof e=="string",ft=e=>typeof e=="symbol",Z=e=>e!==null&&typeof e=="object",Js=e=>(Z(e)||q(e))&&q(e.then)&&q(e.catch),Qs=Object.prototype.toString,Tn=e=>Qs.call(e),Li=e=>Tn(e).slice(8,-1),Zs=e=>Tn(e)==="[object Object]",Or=e=>ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,_t=Tr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),An=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ii=/-(\w)/g,$e=An(e=>e.replace(Ii,(t,n)=>n?n.toUpperCase():"")),Mi=/\B([A-Z])/g,dt=An(e=>e.replace(Mi,"-$1").toLowerCase()),Rn=An(e=>e.charAt(0).toUpperCase()+e.slice(1)),fn=An(e=>e?`on${Rn(e)}`:""),Je=(e,t)=>!Object.is(e,t),dn=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},fr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Pi=e=>{const t=ne(e)?Number(e):NaN;return isNaN(t)?e:t};let ts;const to=()=>ts||(ts=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function On(e){if(B(e)){const t={};for(let n=0;n{if(n){const r=n.split(Fi);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ln(e){let t="";if(ne(e))t=e;else if(B(e))for(let n=0;nne(e)?e:e==null?"":B(e)||Z(e)&&(e.toString===Qs||!q(e.toString))?JSON.stringify(e,ro,2):String(e),ro=(e,t)=>t&&t.__v_isRef?ro(e,t.value):yt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[qn(r,o)+" =>"]=s,n),{})}:Ys(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>qn(n))}:ft(t)?qn(t):Z(t)&&!B(t)&&!Zs(t)?String(t):t,qn=(e,t="")=>{var n;return ft(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.4.23 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let be;class Di{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=be,!t&&be&&(this.index=(be.scopes||(be.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=be;try{return be=this,t()}finally{be=n}}}on(){be=this}off(){be=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),et()}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++,ns(this),this.fn()}finally{rs(this),this._runnings--,ct=n,Xe=t}}stop(){var t;this.active&&(ns(this),rs(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function ki(e){return e.value}function ns(e){e._trackId++,e._depsLength=0}function rs(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(""),pr=Symbol("");function _e(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=ao(()=>r.delete(n))),lo(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((a,f)=>{(f==="length"||!ft(f)&&f>=c)&&l.push(a)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":B(e)?Or(n)&&l.push(i.get("length")):(l.push(i.get(at)),yt(e)&&l.push(i.get(pr)));break;case"delete":B(e)||(l.push(i.get(at)),yt(e)&&l.push(i.get(pr)));break;case"set":yt(e)&&l.push(i.get(at));break}Ir();for(const c of l)c&&co(c,4);Mr()}function Ki(e,t){var n;return(n=yn.get(e))==null?void 0:n.get(t)}const Wi=Tr("__proto__,__v_isRef,__isVue"),uo=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ft)),ss=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){Ze(),Ir();const r=J(this)[t].apply(this,n);return Mr(),et(),r}}),e}function Gi(e){ft(e)||(e=String(e));const t=J(this);return _e(t,"has",e),t.hasOwnProperty(e)}class fo{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?il:mo:o?go:po).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=B(t);if(!s){if(i&&Y(ss,n))return Reflect.get(ss,n,r);if(n==="hasOwnProperty")return Gi}const l=Reflect.get(t,n,r);return(ft(n)?uo.has(n):Wi(n))||(s||_e(t,"get",n),o)?l:de(l)?i&&Or(n)?l:l.value:Z(l)?s?Pn(l):Mn(l):l}}class ho extends fo{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(!this._isShallow){const c=Ht(o);if(!_n(r)&&!Ht(r)&&(o=J(o),r=J(r)),!B(t)&&de(o)&&!de(r))return c?!1:(o.value=r,!0)}const i=B(t)&&Or(n)?Number(n)e,In=e=>Reflect.getPrototypeOf(e);function Jt(e,t,n=!1,r=!1){e=e.__v_raw;const s=J(e),o=J(t);n||(Je(t,o)&&_e(s,"get",t),_e(s,"get",o));const{has:i}=In(s),l=r?Pr:n?$r: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||(Je(e,s)&&_e(r,"has",e),_e(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&&_e(J(e),"iterate",at),Reflect.get(e,"size",e)}function os(e){e=J(e);const t=J(this);return In(t).has.call(t,e)||(t.add(e),Ve(t,"add",e,e)),this}function is(e,t){t=J(t);const n=J(this),{has:r,get:s}=In(n);let o=r.call(n,e);o||(e=J(e),o=r.call(n,e));const i=s.call(n,e);return n.set(e,t),o?Je(t,i)&&Ve(n,"set",e,t):Ve(n,"add",e,t),this}function ls(e){const t=J(this),{has:n,get:r}=In(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 cs(){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?Pr:e?$r:jt;return!e&&_e(l,"iterate",at),i.forEach((a,f)=>r.call(s,c(a),c(f),o))}}function tn(e,t,n){return function(...r){const s=this.__v_raw,o=J(s),i=yt(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,a=s[e](...r),f=n?Pr:t?$r:jt;return!t&&_e(o,"iterate",c?pr:at),{next(){const{value:h,done:m}=a.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 Qi(){const e={get(o){return Jt(this,o)},get size(){return Zt(this)},has:Qt,add:os,set:is,delete:ls,clear:cs,forEach:en(!1,!1)},t={get(o){return Jt(this,o,!1,!0)},get size(){return Zt(this)},has:Qt,add:os,set:is,delete:ls,clear:cs,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[Zi,el,tl,nl]=Qi();function Nr(e,t){const n=t?e?nl:tl:e?el:Zi;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(Y(n,s)&&s in r?n:r,s,o)}const rl={get:Nr(!1,!1)},sl={get:Nr(!1,!0)},ol={get:Nr(!0,!1)},po=new WeakMap,go=new WeakMap,mo=new WeakMap,il=new WeakMap;function ll(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function cl(e){return e.__v_skip||!Object.isExtensible(e)?0:ll(Li(e))}function Mn(e){return Ht(e)?e:Fr(e,!1,Xi,rl,po)}function al(e){return Fr(e,!1,Ji,sl,go)}function Pn(e){return Fr(e,!0,Yi,ol,mo)}function Fr(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=cl(e);if(i===0)return e;const l=new Proxy(e,i===2?r:n);return s.set(e,l),l}function Ot(e){return Ht(e)?Ot(e.__v_raw):!!(e&&e.__v_isReactive)}function Ht(e){return!!(e&&e.__v_isReadonly)}function _n(e){return!!(e&&e.__v_isShallow)}function yo(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)?Mn(e):e,$r=e=>Z(e)?Pn(e):e;class _o{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 Lr(()=>t(this._value),()=>Lt(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)&&Je(t._value,t._value=t.effect.run())&&Lt(t,4),Hr(t),t.effect._dirtyLevel>=2&&Lt(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function ul(e,t,n=!1){let r,s;const o=q(e);return o?(r=e,s=xe):(r=e.get,s=e.set),new _o(r,s,o||!s,n)}function Hr(e){var t;Xe&&ct&&(e=J(e),lo(ct,(t=e.dep)!=null?t:e.dep=ao(()=>e.dep=void 0,e instanceof _o?e:void 0)))}function Lt(e,t=4,n){e=J(e);const r=e.dep;r&&co(r,t)}function de(e){return!!(e&&e.__v_isRef===!0)}function se(e){return vo(e,!1)}function jr(e){return vo(e,!0)}function vo(e,t){return de(e)?e:new fl(e,t)}class fl{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 Hr(this),this._value}set value(t){const n=this.__v_isShallow||_n(t)||Ht(t);t=n?t:J(t),Je(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:jt(t),Lt(this,4))}}function bo(e){return de(e)?e.value:e}const dl={get:(e,t,n)=>bo(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 wo(e){return Ot(e)?e:new Proxy(e,dl)}class hl{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Hr(this),()=>Lt(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function pl(e){return new hl(e)}class gl{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 Ki(J(this._object),this._key)}}class ml{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function yl(e,t,n){return de(e)?e:q(e)?new ml(e):Z(e)&&arguments.length>1?_l(e,t,n):se(e)}function _l(e,t,n){const r=e[t];return de(r)?r:new gl(e,t,n)}/** +* @vue/runtime-core v3.4.23 +* (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 Se(e,t,n,r){if(q(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);oPe&&pe.splice(t,1)}function El(e){B(e)?vt.push(...e):(!We||!We.includes(e,e.allowRecurse?ot+1:ot))&&vt.push(e),Co()}function as(e,t,n=Vt?Pe+1:0){for(;nDt(n)-Dt(r));if(vt.length=0,We){We.push(...t);return}for(We=t,ot=0;ote.id==null?1/0:e.id,Cl=(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){gr=!1,Vt=!0,pe.sort(Cl);try{for(Pe=0;Pene(_)?_.trim():_)),h&&(s=n.map(fr))}let l,c=r[l=fn(t)]||r[l=fn($e(t))];!c&&o&&(c=r[l=fn(dt(t))]),c&&Se(c,e,6,s);const a=r[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Se(a,e,6,s)}}function So(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(!q(e)){const c=a=>{const f=So(a,t,!0);f&&(l=!0,ce(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):ce(i,o),Z(e)&&r.set(e,i),i)}function $n(e,t){return!e||!Kt(t)?!1:(t=t.slice(2).replace(/Once$/,""),Y(e,t[0].toLowerCase()+t.slice(1))||Y(e,dt(t))||Y(e,t))}let le=null,Hn=null;function bn(e){const t=le;return le=e,Hn=e&&e.type.__scopeId||null,t}function nu(e){Hn=e}function ru(){Hn=null}function Sl(e,t=le,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Cs(-1);const o=bn(t);let i;try{i=e(...s)}finally{bn(o),r._d&&Cs(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Gn(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:o,propsOptions:[i],slots:l,attrs:c,emit:a,render:f,renderCache:h,data:m,setupState:_,ctx:C,inheritAttrs:L}=e;let H,K;const k=bn(e);try{if(n.shapeFlag&4){const y=s||r,M=y;H=Ae(f.call(M,y,h,o,_,m,C)),K=c}else{const y=t;H=Ae(y.length>1?y(o,{attrs:c,slots:l,emit:a}):y(o,null)),K=t.props?c:Tl(c)}}catch(y){Ft.length=0,Wt(y,e,1),H=oe(we)}let p=H;if(K&&L!==!1){const y=Object.keys(K),{shapeFlag:M}=p;y.length&&M&7&&(i&&y.some(Ar)&&(K=Al(K,i)),p=Qe(p,K))}return n.dirs&&(p=Qe(p),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition&&(p.transition=n.transition),H=p,bn(k),H}const Tl=e=>{let t;for(const n in e)(n==="class"||n==="style"||Kt(n))&&((t||(t={}))[n]=e[n]);return t},Al=(e,t)=>{const n={};for(const r in e)(!Ar(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Rl(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:l,patchFlag:c}=t,a=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?us(r,i,a):!!i;if(c&8){const f=t.dynamicProps;for(let h=0;he.__isSuspense;function Ro(e,t){t&&t.pendingBranch?B(e)?t.effects.push(...e):t.effects.push(e):El(e)}const Il=Symbol.for("v-scx"),Ml=()=>wt(Il);function Ur(e,t){return jn(e,null,t)}function iu(e,t){return jn(e,null,{flush:"post"})}const nn={};function Ne(e,t,n){return jn(e,t,n)}function jn(e,t,{immediate:n,deep:r,flush:s,once:o,onTrack:i,onTrigger:l}=ee){if(t&&o){const O=t;t=(...N)=>{O(...N),M()}}const c=ue,a=O=>r===!0?O:lt(O,r===!1?1:void 0);let f,h=!1,m=!1;if(de(e)?(f=()=>e.value,h=_n(e)):Ot(e)?(f=()=>a(e),h=!0):B(e)?(m=!0,h=e.some(O=>Ot(O)||_n(O)),f=()=>e.map(O=>{if(de(O))return O.value;if(Ot(O))return a(O);if(q(O))return Ye(O,c,2)})):q(e)?t?f=()=>Ye(e,c,2):f=()=>(_&&_(),Se(e,c,3,[C])):f=xe,t&&r){const O=f;f=()=>lt(O())}let _,C=O=>{_=p.onStop=()=>{Ye(O,c,4),_=p.onStop=void 0}},L;if(zt)if(C=xe,t?n&&Se(t,c,3,[f(),m?[]:void 0,C]):f(),s==="sync"){const O=Ml();L=O.__watcherHandles||(O.__watcherHandles=[])}else return xe;let H=m?new Array(e.length).fill(nn):nn;const K=()=>{if(!(!p.active||!p.dirty))if(t){const O=p.run();(r||h||(m?O.some((N,T)=>Je(N,H[T])):Je(O,H)))&&(_&&_(),Se(t,c,3,[O,H===nn?void 0:m&&H[0]===nn?[]:H,C]),H=O)}else p.run()};K.allowRecurse=!!t;let k;s==="sync"?k=K:s==="post"?k=()=>me(K,c&&c.suspense):(K.pre=!0,c&&(K.id=c.uid),k=()=>Fn(K));const p=new Lr(f,xe,k),y=so(),M=()=>{p.stop(),y&&Rr(y.effects,p)};return t?n?K():H=p.run():s==="post"?me(p.run.bind(p),c&&c.suspense):p.run(),L&&L.push(M),M}function Pl(e,t,n){const r=this.proxy,s=ne(e)?e.includes(".")?Oo(r,e):()=>r[e]:e.bind(r,r);let o;q(t)?o=t:(o=t.handler,n=t);const i=Gt(this),l=jn(s,o.bind(r),n);return i(),l}function Oo(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s0){if(n>=t)return e;n++}if(r=r||new Set,r.has(e))return e;if(r.add(e),de(e))lt(e.value,t,n,r);else if(B(e))for(let s=0;s{lt(s,t,n,r)});else if(Zs(e))for(const s in e)lt(e[s],t,n,r);return e}function lu(e,t){if(le===null)return e;const n=Bn(le)||le.proxy,r=e.dirs||(e.dirs=[]);for(let s=0;s{e.isMounted=!0}),No(()=>{e.isUnmounting=!0}),e}const Ee=[Function,Array],Lo={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ee,onEnter:Ee,onAfterEnter:Ee,onEnterCancelled:Ee,onBeforeLeave:Ee,onLeave:Ee,onAfterLeave:Ee,onLeaveCancelled:Ee,onBeforeAppear:Ee,onAppear:Ee,onAfterAppear:Ee,onAppearCancelled:Ee},Fl={name:"BaseTransition",props:Lo,setup(e,{slots:t}){const n=Un(),r=Nl();return()=>{const s=t.default&&Mo(t.default(),!0);if(!s||!s.length)return;let o=s[0];if(s.length>1){for(const m of s)if(m.type!==we){o=m;break}}const i=J(e),{mode:l}=i;if(r.isLeaving)return zn(o);const c=ds(o);if(!c)return zn(o);const a=mr(c,i,r,n);yr(c,a);const f=n.subTree,h=f&&ds(f);if(h&&h.type!==we&&!it(c,h)){const m=mr(h,i,r,n);if(yr(h,m),l==="out-in")return r.isLeaving=!0,m.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},zn(o);l==="in-out"&&c.type!==we&&(m.delayLeave=(_,C,L)=>{const H=Io(r,h);H[String(h.key)]=h,_[qe]=()=>{C(),_[qe]=void 0,delete a.delayedLeave},a.delayedLeave=L})}return o}}},$l=Fl;function Io(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 mr(e,t,n,r){const{appear:s,mode:o,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:a,onEnterCancelled:f,onBeforeLeave:h,onLeave:m,onAfterLeave:_,onLeaveCancelled:C,onBeforeAppear:L,onAppear:H,onAfterAppear:K,onAppearCancelled:k}=t,p=String(e.key),y=Io(n,e),M=(T,F)=>{T&&Se(T,r,9,F)},O=(T,F)=>{const w=F[1];M(T,F),B(T)?T.every(j=>j.length<=1)&&w():T.length<=1&&w()},N={mode:o,persisted:i,beforeEnter(T){let F=l;if(!n.isMounted)if(s)F=L||l;else return;T[qe]&&T[qe](!0);const w=y[p];w&&it(e,w)&&w.el[qe]&&w.el[qe](),M(F,[T])},enter(T){let F=c,w=a,j=f;if(!n.isMounted)if(s)F=H||c,w=K||a,j=k||f;else return;let A=!1;const G=T[rn]=ie=>{A||(A=!0,ie?M(j,[T]):M(w,[T]),N.delayedLeave&&N.delayedLeave(),T[rn]=void 0)};F?O(F,[T,G]):G()},leave(T,F){const w=String(e.key);if(T[rn]&&T[rn](!0),n.isUnmounting)return F();M(h,[T]);let j=!1;const A=T[qe]=G=>{j||(j=!0,F(),G?M(C,[T]):M(_,[T]),T[qe]=void 0,y[w]===e&&delete y[w])};y[w]=e,m?O(m,[T,A]):A()},clone(T){return mr(T,t,n,r)}};return N}function zn(e){if(qt(e))return e=Qe(e),e.children=null,e}function ds(e){return qt(e)?e.children?e.children[0]:void 0:e}function yr(e,t){e.shapeFlag&6&&e.component?yr(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 Mo(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 cu(e){q(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,a,f=0;const h=()=>(f++,c=null,m()),m=()=>{let _;return c||(_=c=t().catch(C=>{if(C=C instanceof Error?C:new Error(String(C)),l)return new Promise((L,H)=>{l(C,()=>L(h()),()=>H(C),f+1)});throw C}).then(C=>_!==c&&c?c:(C&&(C.__esModule||C[Symbol.toStringTag]==="Module")&&(C=C.default),a=C,C)))};return Br({name:"AsyncComponentWrapper",__asyncLoader:m,get __asyncResolved(){return a},setup(){const _=ue;if(a)return()=>Xn(a,_);const C=k=>{c=null,Wt(k,_,13,!r)};if(i&&_.suspense||zt)return m().then(k=>()=>Xn(k,_)).catch(k=>(C(k),()=>r?oe(r,{error:k}):null));const L=se(!1),H=se(),K=se(!!s);return s&&setTimeout(()=>{K.value=!1},s),o!=null&&setTimeout(()=>{if(!L.value&&!H.value){const k=new Error(`Async component timed out after ${o}ms.`);C(k),H.value=k}},o),m().then(()=>{L.value=!0,_.parent&&qt(_.parent.vnode)&&(_.parent.effect.dirty=!0,Fn(_.parent.update))}).catch(k=>{C(k),H.value=k}),()=>{if(L.value&&a)return Xn(a,_);if(H.value&&r)return oe(r,{error:H.value});if(n&&!K.value)return oe(n)}}})}function Xn(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=oe(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const qt=e=>e.type.__isKeepAlive;function Hl(e,t){Po(e,"a",t)}function jl(e,t){Po(e,"da",t)}function Po(e,t,n=ue){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Vn(t,r,n),n){let s=n.parent;for(;s&&s.parent;)qt(s.parent.vnode)&&Vl(r,t,n,s),s=s.parent}}function Vl(e,t,n,r){const s=Vn(t,e,r,!0);Dn(()=>{Rr(r[t],s)},n)}function Vn(e,t,n=ue,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Ze();const l=Gt(n),c=Se(t,n,e,i);return l(),et(),c});return r?s.unshift(o):s.push(o),o}}const De=e=>(t,n=ue)=>(!zt||e==="sp")&&Vn(e,(...r)=>t(...r),n),Dl=De("bm"),xt=De("m"),Ul=De("bu"),Bl=De("u"),No=De("bum"),Dn=De("um"),kl=De("sp"),Kl=De("rtg"),Wl=De("rtc");function ql(e,t=ue){Vn("ec",e,t)}function au(e,t,n,r){let s;const o=n;if(B(e)||ne(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===we||t.type===ye&&!Fo(t.children)):!0)?e:null}function fu(e,t){const n={};for(const r in e)n[/[A-Z]/.test(r)?`on:${r}`:fn(r)]=e[r];return n}const _r=e=>e?ti(e)?Bn(e)||e.proxy:_r(e.parent):null,It=ce(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=>_r(e.parent),$root:e=>_r(e.root),$emit:e=>e.emit,$options:e=>kr(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Fn(e.update)}),$nextTick:e=>e.n||(e.n=Nn.bind(e.proxy)),$watch:e=>Pl.bind(e)}),Yn=(e,t)=>e!==ee&&!e.__isScriptSetup&&Y(e,t),Gl={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 a;if(t[0]!=="$"){const _=i[t];if(_!==void 0)switch(_){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(Yn(r,t))return i[t]=1,r[t];if(s!==ee&&Y(s,t))return i[t]=2,s[t];if((a=e.propsOptions[0])&&Y(a,t))return i[t]=3,o[t];if(n!==ee&&Y(n,t))return i[t]=4,n[t];vr&&(i[t]=0)}}const f=It[t];let h,m;if(f)return t==="$attrs"&&_e(e.attrs,"get",""),f(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==ee&&Y(n,t))return i[t]=4,n[t];if(m=c.config.globalProperties,Y(m,t))return m[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return Yn(s,t)?(s[t]=n,!0):r!==ee&&Y(r,t)?(r[t]=n,!0):Y(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!==ee&&Y(e,i)||Yn(t,i)||(l=o[0])&&Y(l,i)||Y(r,i)||Y(It,i)||Y(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Y(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function du(){return zl().slots}function zl(){const e=Un();return e.setupContext||(e.setupContext=ri(e))}function hs(e){return B(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let vr=!0;function Xl(e){const t=kr(e),n=e.proxy,r=e.ctx;vr=!1,t.beforeCreate&&ps(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:l,provide:c,inject:a,created:f,beforeMount:h,mounted:m,beforeUpdate:_,updated:C,activated:L,deactivated:H,beforeDestroy:K,beforeUnmount:k,destroyed:p,unmounted:y,render:M,renderTracked:O,renderTriggered:N,errorCaptured:T,serverPrefetch:F,expose:w,inheritAttrs:j,components:A,directives:G,filters:ie}=t;if(a&&Yl(a,r,null),i)for(const X in i){const V=i[X];q(V)&&(r[X]=V.bind(n))}if(s){const X=s.call(n,n);Z(X)&&(e.data=Mn(X))}if(vr=!0,o)for(const X in o){const V=o[X],He=q(V)?V.bind(n,n):q(V.get)?V.get.bind(n,n):xe,Xt=!q(V)&&q(V.set)?V.set.bind(n):xe,tt=re({get:He,set:Xt});Object.defineProperty(r,X,{enumerable:!0,configurable:!0,get:()=>tt.value,set:Le=>tt.value=Le})}if(l)for(const X in l)$o(l[X],r,n,X);if(c){const X=q(c)?c.call(n):c;Reflect.ownKeys(X).forEach(V=>{nc(V,X[V])})}f&&ps(f,e,"c");function D(X,V){B(V)?V.forEach(He=>X(He.bind(n))):V&&X(V.bind(n))}if(D(Dl,h),D(xt,m),D(Ul,_),D(Bl,C),D(Hl,L),D(jl,H),D(ql,T),D(Wl,O),D(Kl,N),D(No,k),D(Dn,y),D(kl,F),B(w))if(w.length){const X=e.exposed||(e.exposed={});w.forEach(V=>{Object.defineProperty(X,V,{get:()=>n[V],set:He=>n[V]=He})})}else e.exposed||(e.exposed={});M&&e.render===xe&&(e.render=M),j!=null&&(e.inheritAttrs=j),A&&(e.components=A),G&&(e.directives=G)}function Yl(e,t,n=xe){B(e)&&(e=br(e));for(const r in e){const s=e[r];let o;Z(s)?"default"in s?o=wt(s.from||r,s.default,!0):o=wt(s.from||r):o=wt(s),de(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function ps(e,t,n){Se(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(".")?Oo(n,r):()=>n[r];if(ne(e)){const o=t[e];q(o)&&Ne(s,o)}else if(q(e))Ne(s,e.bind(n));else if(Z(e))if(B(e))e.forEach(o=>$o(o,t,n,r));else{const o=q(e.handler)?e.handler.bind(n):t[e.handler];q(o)&&Ne(s,o,e)}}function kr(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(a=>wn(c,a,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=Jl[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Jl={data:gs,props:ms,emits:ms,methods:Rt,computed:Rt,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:Rt,directives:Rt,watch:Zl,provide:gs,inject:Ql};function gs(e,t){return t?e?function(){return ce(q(e)?e.call(this,this):e,q(t)?t.call(this,this):t)}:t:e}function Ql(e,t){return Rt(br(e),br(t))}function br(e){if(B(e)){const t={};for(let n=0;n1)return n&&q(t)?t.call(r&&r.proxy):t}}const jo=Object.create(null),wr=()=>Object.create(jo),Vo=e=>Object.getPrototypeOf(e)===jo;function rc(e,t,n,r=!1){const s={},o=wr();e.propsDefaults=Object.create(null),Do(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:al(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function sc(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,l=J(s),[c]=e.propsOptions;let a=!1;if((r||i>0)&&!(i&16)){if(i&8){const f=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[m,_]=Uo(h,t,!0);ce(i,m),_&&l.push(..._)};!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,mt),mt;if(B(o))for(let f=0;f-1,_[1]=L<0||C-1||Y(_,"default"))&&l.push(h)}}}const a=[i,l];return Z(e)&&r.set(e,a),a}function ys(e){return e[0]!=="$"&&!_t(e)}function _s(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function vs(e,t){return _s(e)===_s(t)}function bs(e,t){return B(t)?t.findIndex(n=>vs(n,e)):q(t)&&vs(t,e)?0:-1}const Bo=e=>e[0]==="_"||e==="$stable",Kr=e=>B(e)?e.map(Ae):[Ae(e)],oc=(e,t,n)=>{if(t._n)return t;const r=Sl((...s)=>Kr(t(...s)),n);return r._c=!1,r},ko=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Bo(s))continue;const o=e[s];if(q(o))t[s]=oc(s,o,r);else if(o!=null){const i=Kr(o);t[s]=()=>i}}},Ko=(e,t)=>{const n=Kr(t);e.slots.default=()=>n},ic=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=J(t),eo(e.slots,"_",n)):ko(t,e.slots=wr())}else e.slots=wr(),t&&Ko(e,t)},lc=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=ee;if(r.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(ce(s,t),!n&&l===1&&delete s._):(o=!t.$stable,ko(t,s)),i=t}else t&&(Ko(e,t),i={default:1});if(o)for(const l in s)!Bo(l)&&i[l]==null&&delete s[l]};function En(e,t,n,r,s=!1){if(B(e)){e.forEach((m,_)=>En(m,t&&(B(t)?t[_]:t),n,r,s));return}if(bt(r)&&!s)return;const o=r.shapeFlag&4?Bn(r.component)||r.component.proxy:r.el,i=s?null:o,{i:l,r:c}=e,a=t&&t.r,f=l.refs===ee?l.refs={}:l.refs,h=l.setupState;if(a!=null&&a!==c&&(ne(a)?(f[a]=null,Y(h,a)&&(h[a]=null)):de(a)&&(a.value=null)),q(c))Ye(c,l,12,[i,f]);else{const m=ne(c),_=de(c);if(m||_){const C=()=>{if(e.f){const L=m?Y(h,c)?h[c]:f[c]:c.value;s?B(L)&&Rr(L,o):B(L)?L.includes(o)||L.push(o):m?(f[c]=[o],Y(h,c)&&(h[c]=f[c])):(c.value=[o],e.k&&(f[e.k]=c.value))}else m?(f[c]=i,Y(h,c)&&(h[c]=i)):_&&(c.value=i,e.k&&(f[e.k]=i))};i?(C.id=-1,me(C,n)):C()}}}let Be=!1;const cc=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",ac=e=>e.namespaceURI.includes("MathML"),sn=e=>{if(cc(e))return"svg";if(ac(e))return"mathml"},on=e=>e.nodeType===8;function uc(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:l,insert:c,createComment:a}}=e,f=(p,y)=>{if(!y.hasChildNodes()){n(null,p,y),vn(),y._vnode=p;return}Be=!1,h(y.firstChild,p,null,null,null),vn(),y._vnode=p,Be&&console.error("Hydration completed but contains mismatches.")},h=(p,y,M,O,N,T=!1)=>{T=T||!!y.dynamicChildren;const F=on(p)&&p.data==="[",w=()=>L(p,y,M,O,N,F),{type:j,ref:A,shapeFlag:G,patchFlag:ie}=y;let fe=p.nodeType;y.el=p,ie===-2&&(T=!1,y.dynamicChildren=null);let D=null;switch(j){case Et:fe!==3?y.children===""?(c(y.el=s(""),i(p),p),D=p):D=w():(p.data!==y.children&&(Be=!0,p.data=y.children),D=o(p));break;case we:k(p)?(D=o(p),K(y.el=p.content.firstChild,p,M)):fe!==8||F?D=w():D=o(p);break;case Nt:if(F&&(p=o(p),fe=p.nodeType),fe===1||fe===3){D=p;const X=!y.children.length;for(let V=0;V{T=T||!!y.dynamicChildren;const{type:F,props:w,patchFlag:j,shapeFlag:A,dirs:G,transition:ie}=y,fe=F==="input"||F==="option";if(fe||j!==-1){G&&Me(y,null,M,"created");let D=!1;if(k(p)){D=qo(O,ie)&&M&&M.vnode.props&&M.vnode.props.appear;const V=p.content.firstChild;D&&ie.beforeEnter(V),K(V,p,M),y.el=p=V}if(A&16&&!(w&&(w.innerHTML||w.textContent))){let V=_(p.firstChild,y,p,M,O,N,T);for(;V;){Be=!0;const He=V;V=V.nextSibling,l(He)}}else A&8&&p.textContent!==y.children&&(Be=!0,p.textContent=y.children);if(w)if(fe||!T||j&48)for(const V in w)(fe&&(V.endsWith("value")||V==="indeterminate")||Kt(V)&&!_t(V)||V[0]===".")&&r(p,V,null,w[V],void 0,void 0,M);else w.onClick&&r(p,"onClick",null,w.onClick,void 0,void 0,M);let X;(X=w&&w.onVnodeBeforeMount)&&Ce(X,M,y),G&&Me(y,null,M,"beforeMount"),((X=w&&w.onVnodeMounted)||G||D)&&Ro(()=>{X&&Ce(X,M,y),D&&ie.enter(p),G&&Me(y,null,M,"mounted")},O)}return p.nextSibling},_=(p,y,M,O,N,T,F)=>{F=F||!!y.dynamicChildren;const w=y.children,j=w.length;for(let A=0;A{const{slotScopeIds:F}=y;F&&(N=N?N.concat(F):F);const w=i(p),j=_(o(p),y,w,M,O,N,T);return j&&on(j)&&j.data==="]"?o(y.anchor=j):(Be=!0,c(y.anchor=a("]"),w,j),j)},L=(p,y,M,O,N,T)=>{if(Be=!0,y.el=null,T){const j=H(p);for(;;){const A=o(p);if(A&&A!==j)l(A);else break}}const F=o(p),w=i(p);return l(p),n(null,y,w,F,M,O,sn(w),N),F},H=(p,y="[",M="]")=>{let O=0;for(;p;)if(p=o(p),p&&on(p)&&(p.data===y&&O++,p.data===M)){if(O===0)return o(p);O--}return p},K=(p,y,M)=>{const O=y.parentNode;O&&O.replaceChild(p,y);let N=M;for(;N;)N.vnode.el===y&&(N.vnode.el=N.subTree.el=p),N=N.parent},k=p=>p.nodeType===1&&p.tagName.toLowerCase()==="template";return[f,h]}const me=Ro;function fc(e){return Wo(e)}function dc(e){return Wo(e,uc)}function Wo(e,t){const n=to();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:l,createComment:c,setText:a,setElementText:f,parentNode:h,nextSibling:m,setScopeId:_=xe,insertStaticContent:C}=e,L=(u,d,g,v=null,b=null,S=null,I=void 0,x=null,R=!!d.dynamicChildren)=>{if(u===d)return;u&&!it(u,d)&&(v=Yt(u),Le(u,b,S,!0),u=null),d.patchFlag===-2&&(R=!1,d.dynamicChildren=null);const{type:E,ref:P,shapeFlag:U}=d;switch(E){case Et:H(u,d,g,v);break;case we:K(u,d,g,v);break;case Nt:u==null&&k(d,g,v,I);break;case ye:A(u,d,g,v,b,S,I,x,R);break;default:U&1?M(u,d,g,v,b,S,I,x,R):U&6?G(u,d,g,v,b,S,I,x,R):(U&64||U&128)&&E.process(u,d,g,v,b,S,I,x,R,ht)}P!=null&&b&&En(P,u&&u.ref,S,d||u,!d)},H=(u,d,g,v)=>{if(u==null)r(d.el=l(d.children),g,v);else{const b=d.el=u.el;d.children!==u.children&&a(b,d.children)}},K=(u,d,g,v)=>{u==null?r(d.el=c(d.children||""),g,v):d.el=u.el},k=(u,d,g,v)=>{[u.el,u.anchor]=C(u.children,d,g,v,u.el,u.anchor)},p=({el:u,anchor:d},g,v)=>{let b;for(;u&&u!==d;)b=m(u),r(u,g,v),u=b;r(d,g,v)},y=({el:u,anchor:d})=>{let g;for(;u&&u!==d;)g=m(u),s(u),u=g;s(d)},M=(u,d,g,v,b,S,I,x,R)=>{d.type==="svg"?I="svg":d.type==="math"&&(I="mathml"),u==null?O(d,g,v,b,S,I,x,R):F(u,d,b,S,I,x,R)},O=(u,d,g,v,b,S,I,x)=>{let R,E;const{props:P,shapeFlag:U,transition:$,dirs:W}=u;if(R=u.el=i(u.type,S,P&&P.is,P),U&8?f(R,u.children):U&16&&T(u.children,R,null,v,b,Jn(u,S),I,x),W&&Me(u,null,v,"created"),N(R,u,u.scopeId,I,v),P){for(const Q in P)Q!=="value"&&!_t(Q)&&o(R,Q,null,P[Q],S,u.children,v,b,je);"value"in P&&o(R,"value",null,P.value,S),(E=P.onVnodeBeforeMount)&&Ce(E,v,u)}W&&Me(u,null,v,"beforeMount");const z=qo(b,$);z&&$.beforeEnter(R),r(R,d,g),((E=P&&P.onVnodeMounted)||z||W)&&me(()=>{E&&Ce(E,v,u),z&&$.enter(R),W&&Me(u,null,v,"mounted")},b)},N=(u,d,g,v,b)=>{if(g&&_(u,g),v)for(let S=0;S{for(let E=R;E{const x=d.el=u.el;let{patchFlag:R,dynamicChildren:E,dirs:P}=d;R|=u.patchFlag&16;const U=u.props||ee,$=d.props||ee;let W;if(g&&nt(g,!1),(W=$.onVnodeBeforeUpdate)&&Ce(W,g,d,u),P&&Me(d,u,g,"beforeUpdate"),g&&nt(g,!0),E?w(u.dynamicChildren,E,x,g,v,Jn(d,b),S):I||V(u,d,x,null,g,v,Jn(d,b),S,!1),R>0){if(R&16)j(x,d,U,$,g,v,b);else if(R&2&&U.class!==$.class&&o(x,"class",null,$.class,b),R&4&&o(x,"style",U.style,$.style,b),R&8){const z=d.dynamicProps;for(let Q=0;Q{W&&Ce(W,g,d,u),P&&Me(d,u,g,"updated")},v)},w=(u,d,g,v,b,S,I)=>{for(let x=0;x{if(g!==v){if(g!==ee)for(const x in g)!_t(x)&&!(x in v)&&o(u,x,g[x],null,I,d.children,b,S,je);for(const x in v){if(_t(x))continue;const R=v[x],E=g[x];R!==E&&x!=="value"&&o(u,x,E,R,I,d.children,b,S,je)}"value"in v&&o(u,"value",g.value,v.value,I)}},A=(u,d,g,v,b,S,I,x,R)=>{const E=d.el=u?u.el:l(""),P=d.anchor=u?u.anchor:l("");let{patchFlag:U,dynamicChildren:$,slotScopeIds:W}=d;W&&(x=x?x.concat(W):W),u==null?(r(E,g,v),r(P,g,v),T(d.children||[],g,P,b,S,I,x,R)):U>0&&U&64&&$&&u.dynamicChildren?(w(u.dynamicChildren,$,g,b,S,I,x),(d.key!=null||b&&d===b.subTree)&&Wr(u,d,!0)):V(u,d,g,P,b,S,I,x,R)},G=(u,d,g,v,b,S,I,x,R)=>{d.slotScopeIds=x,u==null?d.shapeFlag&512?b.ctx.activate(d,g,v,I,R):ie(d,g,v,b,S,I,R):fe(u,d,R)},ie=(u,d,g,v,b,S,I)=>{const x=u.component=Cc(u,v,b);if(qt(u)&&(x.ctx.renderer=ht),xc(x),x.asyncDep){if(b&&b.registerDep(x,D),!u.el){const R=x.subTree=oe(we);K(null,R,d,g)}}else D(x,u,d,g,b,S,I)},fe=(u,d,g)=>{const v=d.component=u.component;if(Rl(u,d,g))if(v.asyncDep&&!v.asyncResolved){X(v,d,g);return}else v.next=d,wl(v.update),v.effect.dirty=!0,v.update();else d.el=u.el,v.vnode=d},D=(u,d,g,v,b,S,I)=>{const x=()=>{if(u.isMounted){let{next:P,bu:U,u:$,parent:W,vnode:z}=u;{const pt=Go(u);if(pt){P&&(P.el=z.el,X(u,P,I)),pt.asyncDep.then(()=>{u.isUnmounted||x()});return}}let Q=P,te;nt(u,!1),P?(P.el=z.el,X(u,P,I)):P=z,U&&dn(U),(te=P.props&&P.props.onVnodeBeforeUpdate)&&Ce(te,W,P,z),nt(u,!0);const ae=Gn(u),Te=u.subTree;u.subTree=ae,L(Te,ae,h(Te.el),Yt(Te),u,b,S),P.el=ae.el,Q===null&&Ol(u,ae.el),$&&me($,b),(te=P.props&&P.props.onVnodeUpdated)&&me(()=>Ce(te,W,P,z),b)}else{let P;const{el:U,props:$}=d,{bm:W,m:z,parent:Q}=u,te=bt(d);if(nt(u,!1),W&&dn(W),!te&&(P=$&&$.onVnodeBeforeMount)&&Ce(P,Q,d),nt(u,!0),U&&Wn){const ae=()=>{u.subTree=Gn(u),Wn(U,u.subTree,u,b,null)};te?d.type.__asyncLoader().then(()=>!u.isUnmounted&&ae()):ae()}else{const ae=u.subTree=Gn(u);L(null,ae,g,v,u,b,S),d.el=ae.el}if(z&&me(z,b),!te&&(P=$&&$.onVnodeMounted)){const ae=d;me(()=>Ce(P,Q,ae),b)}(d.shapeFlag&256||Q&&bt(Q.vnode)&&Q.vnode.shapeFlag&256)&&u.a&&me(u.a,b),u.isMounted=!0,d=g=v=null}},R=u.effect=new Lr(x,xe,()=>Fn(E),u.scope),E=u.update=()=>{R.dirty&&R.run()};E.id=u.uid,nt(u,!0),E()},X=(u,d,g)=>{d.component=u;const v=u.vnode.props;u.vnode=d,u.next=null,sc(u,d.props,v,g),lc(u,d.children,g),Ze(),as(u),et()},V=(u,d,g,v,b,S,I,x,R=!1)=>{const E=u&&u.children,P=u?u.shapeFlag:0,U=d.children,{patchFlag:$,shapeFlag:W}=d;if($>0){if($&128){Xt(E,U,g,v,b,S,I,x,R);return}else if($&256){He(E,U,g,v,b,S,I,x,R);return}}W&8?(P&16&&je(E,b,S),U!==E&&f(g,U)):P&16?W&16?Xt(E,U,g,v,b,S,I,x,R):je(E,b,S,!0):(P&8&&f(g,""),W&16&&T(U,g,v,b,S,I,x,R))},He=(u,d,g,v,b,S,I,x,R)=>{u=u||mt,d=d||mt;const E=u.length,P=d.length,U=Math.min(E,P);let $;for($=0;$P?je(u,b,S,!0,!1,U):T(d,g,v,b,S,I,x,R,U)},Xt=(u,d,g,v,b,S,I,x,R)=>{let E=0;const P=d.length;let U=u.length-1,$=P-1;for(;E<=U&&E<=$;){const W=u[E],z=d[E]=R?Ge(d[E]):Ae(d[E]);if(it(W,z))L(W,z,g,null,b,S,I,x,R);else break;E++}for(;E<=U&&E<=$;){const W=u[U],z=d[$]=R?Ge(d[$]):Ae(d[$]);if(it(W,z))L(W,z,g,null,b,S,I,x,R);else break;U--,$--}if(E>U){if(E<=$){const W=$+1,z=W$)for(;E<=U;)Le(u[E],b,S,!0),E++;else{const W=E,z=E,Q=new Map;for(E=z;E<=$;E++){const ve=d[E]=R?Ge(d[E]):Ae(d[E]);ve.key!=null&&Q.set(ve.key,E)}let te,ae=0;const Te=$-z+1;let pt=!1,Qr=0;const St=new Array(Te);for(E=0;E=Te){Le(ve,b,S,!0);continue}let Ie;if(ve.key!=null)Ie=Q.get(ve.key);else for(te=z;te<=$;te++)if(St[te-z]===0&&it(ve,d[te])){Ie=te;break}Ie===void 0?Le(ve,b,S,!0):(St[Ie-z]=E+1,Ie>=Qr?Qr=Ie:pt=!0,L(ve,d[Ie],g,null,b,S,I,x,R),ae++)}const Zr=pt?hc(St):mt;for(te=Zr.length-1,E=Te-1;E>=0;E--){const ve=z+E,Ie=d[ve],es=ve+1{const{el:S,type:I,transition:x,children:R,shapeFlag:E}=u;if(E&6){tt(u.component.subTree,d,g,v);return}if(E&128){u.suspense.move(d,g,v);return}if(E&64){I.move(u,d,g,ht);return}if(I===ye){r(S,d,g);for(let U=0;Ux.enter(S),b);else{const{leave:U,delayLeave:$,afterLeave:W}=x,z=()=>r(S,d,g),Q=()=>{U(S,()=>{z(),W&&W()})};$?$(S,z,Q):Q()}else r(S,d,g)},Le=(u,d,g,v=!1,b=!1)=>{const{type:S,props:I,ref:x,children:R,dynamicChildren:E,shapeFlag:P,patchFlag:U,dirs:$}=u;if(x!=null&&En(x,null,g,u,!0),P&256){d.ctx.deactivate(u);return}const W=P&1&&$,z=!bt(u);let Q;if(z&&(Q=I&&I.onVnodeBeforeUnmount)&&Ce(Q,d,u),P&6)Ai(u.component,g,v);else{if(P&128){u.suspense.unmount(g,v);return}W&&Me(u,null,d,"beforeUnmount"),P&64?u.type.remove(u,d,g,b,ht,v):E&&(S!==ye||U>0&&U&64)?je(E,d,g,!1,!0):(S===ye&&U&384||!b&&P&16)&&je(R,d,g),v&&Yr(u)}(z&&(Q=I&&I.onVnodeUnmounted)||W)&&me(()=>{Q&&Ce(Q,d,u),W&&Me(u,null,d,"unmounted")},g)},Yr=u=>{const{type:d,el:g,anchor:v,transition:b}=u;if(d===ye){Ti(g,v);return}if(d===Nt){y(u);return}const S=()=>{s(g),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(u.shapeFlag&1&&b&&!b.persisted){const{leave:I,delayLeave:x}=b,R=()=>I(g,S);x?x(u.el,S,R):R()}else S()},Ti=(u,d)=>{let g;for(;u!==d;)g=m(u),s(u),u=g;s(d)},Ai=(u,d,g)=>{const{bum:v,scope:b,update:S,subTree:I,um:x}=u;v&&dn(v),b.stop(),S&&(S.active=!1,Le(I,u,d,g)),x&&me(x,d),me(()=>{u.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},je=(u,d,g,v=!1,b=!1,S=0)=>{for(let I=S;Iu.shapeFlag&6?Yt(u.component.subTree):u.shapeFlag&128?u.suspense.next():m(u.anchor||u.el);let kn=!1;const Jr=(u,d,g)=>{u==null?d._vnode&&Le(d._vnode,null,null,!0):L(d._vnode||null,u,d,null,null,null,g),kn||(kn=!0,as(),vn(),kn=!1),d._vnode=u},ht={p:L,um:Le,m:tt,r:Yr,mt:ie,mc:T,pc:V,pbc:w,n:Yt,o:e};let Kn,Wn;return t&&([Kn,Wn]=t(ht)),{render:Jr,hydrate:Kn,createApp:tc(Jr,Kn)}}function Jn({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 nt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function qo(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Wr(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 Go(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Go(t)}const pc=e=>e.__isTeleport,Pt=e=>e&&(e.disabled||e.disabled===""),ws=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Es=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Cr=(e,t)=>{const n=e&&e.to;return ne(n)?t?t(n):null:n},gc={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,o,i,l,c,a){const{mc:f,pc:h,pbc:m,o:{insert:_,querySelector:C,createText:L,createComment:H}}=a,K=Pt(t.props);let{shapeFlag:k,children:p,dynamicChildren:y}=t;if(e==null){const M=t.el=L(""),O=t.anchor=L("");_(M,n,r),_(O,n,r);const N=t.target=Cr(t.props,C),T=t.targetAnchor=L("");N&&(_(T,N),i==="svg"||ws(N)?i="svg":(i==="mathml"||Es(N))&&(i="mathml"));const F=(w,j)=>{k&16&&f(p,w,j,s,o,i,l,c)};K?F(n,O):N&&F(N,T)}else{t.el=e.el;const M=t.anchor=e.anchor,O=t.target=e.target,N=t.targetAnchor=e.targetAnchor,T=Pt(e.props),F=T?n:O,w=T?M:N;if(i==="svg"||ws(O)?i="svg":(i==="mathml"||Es(O))&&(i="mathml"),y?(m(e.dynamicChildren,y,F,s,o,i,l),Wr(e,t,!0)):c||h(e,t,F,w,s,o,i,l,!1),K)T?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):ln(t,n,M,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const j=t.target=Cr(t.props,C);j&&ln(t,j,null,a,0)}else T&&ln(t,O,N,a,1)}zo(t)},remove(e,t,n,r,{um:s,o:{remove:o}},i){const{shapeFlag:l,children:c,anchor:a,targetAnchor:f,target:h,props:m}=e;if(h&&o(f),i&&o(a),l&16){const _=i||!Pt(m);for(let C=0;C0?Re||mt:null,yc(),Ut>0&&Re&&Re.push(e),e}function pu(e,t,n,r,s,o){return Yo(Zo(e,t,n,r,s,o,!0))}function Jo(e,t,n,r,s){return Yo(oe(e,t,n,r,s,!0))}function Cn(e){return e?e.__v_isVNode===!0:!1}function it(e,t){return e.type===t.type&&e.key===t.key}const Qo=({key:e})=>e??null,pn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ne(e)||de(e)||q(e)?{i:le,r:e,k:t,f:!!n}:e:null);function Zo(e,t=null,n=null,r=0,s=null,o=e===ye?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Qo(t),ref:t&&pn(t),scopeId:Hn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:le};return l?(qr(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=ne(n)?8:16),Ut>0&&!i&&Re&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Re.push(c),c}const oe=_c;function _c(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===To)&&(e=we),Cn(e)){const l=Qe(e,t,!0);return n&&qr(l,n),Ut>0&&!o&&Re&&(l.shapeFlag&6?Re[Re.indexOf(e)]=l:Re.push(l)),l.patchFlag|=-2,l}if(Rc(e)&&(e=e.__vccOpts),t){t=vc(t);let{class:l,style:c}=t;l&&!ne(l)&&(t.class=Ln(l)),Z(c)&&(yo(c)&&!B(c)&&(c=ce({},c)),t.style=On(c))}const i=ne(e)?1:Ll(e)?128:pc(e)?64:Z(e)?4:q(e)?2:0;return Zo(e,t,n,r,s,i,o,!0)}function vc(e){return e?yo(e)||Vo(e)?ce({},e):e:null}function Qe(e,t,n=!1){const{props:r,ref:s,patchFlag:o,children:i}=e,l=t?bc(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Qo(l),ref:t&&t.ref?n&&s?B(s)?s.concat(pn(t)):[s,pn(t)]:pn(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ye?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Qe(e.ssContent),ssFallback:e.ssFallback&&Qe(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function ei(e=" ",t=0){return oe(Et,null,e,t)}function gu(e,t){const n=oe(Nt,null,e);return n.staticCount=t,n}function mu(e="",t=!1){return t?(Xo(),Jo(we,null,e)):oe(we,null,e)}function Ae(e){return e==null||typeof e=="boolean"?oe(we):B(e)?oe(ye,null,e.slice()):typeof e=="object"?Ge(e):oe(Et,null,String(e))}function Ge(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Qe(e)}function qr(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),qr(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Vo(t)?t._ctx=le:s===3&&le&&(le.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else q(t)?(t={default:t,_ctx:le},n=32):(t=String(t),r&64?(n=16,t=[ei(t)]):n=8);e.children=t,e.shapeFlag|=n}function bc(...e){const t={};for(let n=0;nue||le;let xn,xr;{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)}};xn=t("__VUE_INSTANCE_SETTERS__",n=>ue=n),xr=t("__VUE_SSR_SETTERS__",n=>zt=n)}const Gt=e=>{const t=ue;return xn(e),e.scope.on(),()=>{e.scope.off(),xn(t)}},xs=()=>{ue&&ue.scope.off(),xn(null)};function ti(e){return e.vnode.shapeFlag&4}let zt=!1;function xc(e,t=!1){t&&xr(t);const{props:n,children:r}=e.vnode,s=ti(e);rc(e,n,s,t),ic(e,r);const o=s?Sc(e,t):void 0;return t&&xr(!1),o}function Sc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Gl);const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?ri(e):null,o=Gt(e);Ze();const i=Ye(r,e,0,[e.props,s]);if(et(),o(),Js(i)){if(i.then(xs,xs),t)return i.then(l=>{Ss(e,l,t)}).catch(l=>{Wt(l,e,0)});e.asyncDep=i}else Ss(e,i,t)}else ni(e,t)}function Ss(e,t,n){q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Z(t)&&(e.setupState=wo(t)),ni(e,n)}let Ts;function ni(e,t,n){const r=e.type;if(!e.render){if(!t&&Ts&&!r.render){const s=r.template||kr(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=r,a=ce(ce({isCustomElement:o,delimiters:l},i),c);r.render=Ts(s,a)}}e.render=r.render||xe}{const s=Gt(e);Ze();try{Xl(e)}finally{et(),s()}}}const Tc={get(e,t){return _e(e,"get",""),e[t]}};function ri(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Tc),slots:e.slots,emit:e.emit,expose:t}}function Bn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(wo(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}}))}function Ac(e,t=!0){return q(e)?e.displayName||e.name:e.name||t&&e.__name}function Rc(e){return q(e)&&"__vccOpts"in e}const re=(e,t)=>ul(e,t,zt);function Sr(e,t,n){const r=arguments.length;return r===2?Z(t)&&!B(t)?Cn(t)?oe(e,null,[t]):oe(e,t):oe(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Cn(n)&&(n=[n]),oe(e,t,n))}const Oc="3.4.23";/** +* @vue/runtime-dom v3.4.23 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const Lc="http://www.w3.org/2000/svg",Ic="http://www.w3.org/1998/Math/MathML",ze=typeof document<"u"?document:null,As=ze&&ze.createElement("template"),Mc={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"?ze.createElementNS(Lc,e):t==="mathml"?ze.createElementNS(Ic,e):ze.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>ze.createTextNode(e),createComment:e=>ze.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ze.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{As.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const l=As.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]}},ke="transition",Tt="animation",Bt=Symbol("_vtc"),si=(e,{slots:t})=>Sr($l,Pc(e),t);si.displayName="Transition";const oi={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};si.props=ce({},Lo,oi);const rt=(e,t=[])=>{B(e)?e.forEach(n=>n(...t)):e&&e(...t)},Rs=e=>e?B(e)?e.some(t=>t.length>1):e.length>1:!1;function Pc(e){const t={};for(const A in e)A in oi||(t[A]=e[A]);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:a=i,appearToClass:f=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:_=`${n}-leave-to`}=e,C=Nc(s),L=C&&C[0],H=C&&C[1],{onBeforeEnter:K,onEnter:k,onEnterCancelled:p,onLeave:y,onLeaveCancelled:M,onBeforeAppear:O=K,onAppear:N=k,onAppearCancelled:T=p}=t,F=(A,G,ie)=>{st(A,G?f:l),st(A,G?a:i),ie&&ie()},w=(A,G)=>{A._isLeaving=!1,st(A,h),st(A,_),st(A,m),G&&G()},j=A=>(G,ie)=>{const fe=A?N:k,D=()=>F(G,A,ie);rt(fe,[G,D]),Os(()=>{st(G,A?c:o),Ke(G,A?f:l),Rs(fe)||Ls(G,r,L,D)})};return ce(t,{onBeforeEnter(A){rt(K,[A]),Ke(A,o),Ke(A,i)},onBeforeAppear(A){rt(O,[A]),Ke(A,c),Ke(A,a)},onEnter:j(!1),onAppear:j(!0),onLeave(A,G){A._isLeaving=!0;const ie=()=>w(A,G);Ke(A,h),Hc(),Ke(A,m),Os(()=>{A._isLeaving&&(st(A,h),Ke(A,_),Rs(y)||Ls(A,r,H,ie))}),rt(y,[A,ie])},onEnterCancelled(A){F(A,!1),rt(p,[A])},onAppearCancelled(A){F(A,!0),rt(T,[A])},onLeaveCancelled(A){w(A),rt(M,[A])}})}function Nc(e){if(e==null)return null;if(Z(e))return[Qn(e.enter),Qn(e.leave)];{const t=Qn(e);return[t,t]}}function Qn(e){return Pi(e)}function Ke(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Bt]||(e[Bt]=new Set)).add(t)}function st(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 Os(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Fc=0;function Ls(e,t,n,r){const s=e._endId=++Fc,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:l,propCount:c}=$c(e,t);if(!i)return r();const a=i+"end";let f=0;const h=()=>{e.removeEventListener(a,m),o()},m=_=>{_.target===e&&++f>=c&&h()};setTimeout(()=>{f(n[C]||"").split(", "),s=r(`${ke}Delay`),o=r(`${ke}Duration`),i=Is(s,o),l=r(`${Tt}Delay`),c=r(`${Tt}Duration`),a=Is(l,c);let f=null,h=0,m=0;t===ke?i>0&&(f=ke,h=i,m=o.length):t===Tt?a>0&&(f=Tt,h=a,m=c.length):(h=Math.max(i,a),f=h>0?i>a?ke:Tt:null,m=f?f===ke?o.length:c.length:0);const _=f===ke&&/\b(transform|all)(,|$)/.test(r(`${ke}Property`).toString());return{type:f,timeout:h,propCount:m,hasTransform:_}}function Is(e,t){for(;e.lengthMs(n)+Ms(e[r])))}function Ms(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Hc(){return document.body.offsetHeight}function jc(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 Sn=Symbol("_vod"),ii=Symbol("_vsh"),yu={beforeMount(e,{value:t},{transition:n}){e[Sn]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):At(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),At(e,!0),r.enter(e)):r.leave(e,()=>{At(e,!1)}):At(e,t))},beforeUnmount(e,{value:t}){At(e,t)}};function At(e,t){e.style.display=t?e[Sn]:"none",e[ii]=!t}const Vc=Symbol(""),Dc=/(^|;)\s*display\s*:/;function Uc(e,t,n){const r=e.style,s=ne(n);let o=!1;if(n&&!s){if(t)if(ne(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[Vc];i&&(n+=";"+i),r.cssText=n,o=Dc.test(n)}}else t&&e.removeAttribute("style");Sn in e&&(e[Sn]=o?r.display:"",e[ii]&&(r.display="none"))}const Ps=/\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=Bc(e,t);Ps.test(n)?e.setProperty(dt(r),n.replace(Ps,""),"important"):e[r]=n}}const Ns=["Webkit","Moz","ms"],Zn={};function Bc(e,t){const n=Zn[t];if(n)return n;let r=$e(t);if(r!=="filter"&&r in e)return Zn[t]=r;r=Rn(r);for(let s=0;ser||(zc.then(()=>er=0),er=Date.now());function Yc(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Se(Jc(r,n.value),t,5,[r])};return n.value=e,n.attached=Xc(),n}function Jc(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,Qc=(e,t,n,r,s,o,i,l,c)=>{const a=s==="svg";t==="class"?jc(e,r,a):t==="style"?Uc(e,n,r):Kt(t)?Ar(t)||qc(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Zc(e,t,r,a))?Kc(e,t,r,o,i,l,c):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),kc(e,t,r,a))};function Zc(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&js(t)&&q(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)&&ne(n)?!1:t in e}const Vs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return B(t)?n=>dn(t,n):t};function ea(e){e.target.composing=!0}function Ds(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const tr=Symbol("_assign"),_u={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[tr]=Vs(s);const o=r||s.props&&s.props.type==="number";gt(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=fr(l)),e[tr](l)}),n&>(e,"change",()=>{e.value=e.value.trim()}),t||(gt(e,"compositionstart",ea),gt(e,"compositionend",Ds),gt(e,"change",Ds))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:s}},o){if(e[tr]=Vs(o),e.composing)return;const i=(s||e.type==="number")&&!/^0\d/.test(e.value)?fr(e.value):e.value,l=t??"";i!==l&&(document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===l)||(e.value=l))}},ta=["ctrl","shift","alt","meta"],na={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)=>ta.some(n=>e[`${n}Key`]&&!t.includes(n))},vu=(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=dt(s.key);if(t.some(i=>i===o||ra[i]===o))return e(s)})},li=ce({patchProp:Qc},Mc);let $t,Us=!1;function sa(){return $t||($t=fc(li))}function oa(){return $t=Us?$t:dc(li),Us=!0,$t}const wu=(...e)=>{const t=sa().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=ai(r);if(!s)return;const o=t._component;!q(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const i=n(s,!1,ci(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t},Eu=(...e)=>{const t=oa().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=ai(r);if(s)return n(s,!0,ci(s))},t};function ci(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ai(e){return ne(e)?document.querySelector(e):e}const Cu=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},ia="modulepreload",la=function(e){return"/"+e},Bs={},xu=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=la(l),l in Bs)return;Bs[l]=!0;const c=l.endsWith(".css"),a=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${a}`))return;const f=document.createElement("link");if(f.rel=c?"stylesheet":ia,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})},ca=window.__VP_SITE_DATA__;function Gr(e){return so()?(Bi(e),!0):!1}function Fe(e){return typeof e=="function"?e():bo(e)}const ui=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const aa=Object.prototype.toString,ua=e=>aa.call(e)==="[object Object]",kt=()=>{},ks=fa();function fa(){var e,t;return ui&&((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 da(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 fi=e=>e();function ha(e,t={}){let n,r,s=kt;const o=l=>{clearTimeout(l),s(),s=kt};return l=>{const c=Fe(e),a=Fe(t.maxWait);return n&&o(n),c<=0||a!==void 0&&a<=0?(r&&(o(r),r=null),Promise.resolve(l())):new Promise((f,h)=>{s=t.rejectOnCancel?h:f,a&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,f(l())},a)),n=setTimeout(()=>{r&&o(r),r=null,f(l())},c)})}}function pa(e=fi){const t=se(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...o)=>{t.value&&e(...o)};return{isActive:Pn(t),pause:n,resume:r,eventFilter:s}}function ga(e){return Un()}function di(...e){if(e.length!==1)return yl(...e);const t=e[0];return typeof t=="function"?Pn(pl(()=>({get:t,set:kt}))):se(t)}function hi(e,t,n={}){const{eventFilter:r=fi,...s}=n;return Ne(e,da(r,t),s)}function ma(e,t,n={}){const{eventFilter:r,...s}=n,{eventFilter:o,pause:i,resume:l,isActive:c}=pa(r);return{stop:hi(e,t,{...s,eventFilter:o}),pause:i,resume:l,isActive:c}}function zr(e,t=!0,n){ga()?xt(e,n):t?e():Nn(e)}function Su(e,t,n={}){const{debounce:r=0,maxWait:s=void 0,...o}=n;return hi(e,t,{...o,eventFilter:ha(r,{maxWait:s})})}function Tu(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=se(!s),a=i?jr(t):se(t);let f=0;return Ur(async h=>{if(!c.value)return;f++;const m=f;let _=!1;o&&Promise.resolve().then(()=>{o.value=!0});try{const C=await e(L=>{h(()=>{o&&(o.value=!1),_||L()})});m===f&&(a.value=C)}catch(C){l(C)}finally{o&&m===f&&(o.value=!1),_=!0}}),s?re(()=>(c.value=!0,a.value)):a}function pi(e){var t;const n=Fe(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Oe=ui?window:void 0;function Ct(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=Oe):[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,_)=>(f.addEventListener(h,m,_),()=>f.removeEventListener(h,m,_)),c=Ne(()=>[pi(t),Fe(s)],([f,h])=>{if(i(),!f)return;const m=ua(h)?{...h}:h;o.push(...n.flatMap(_=>r.map(C=>l(f,_,C,m))))},{immediate:!0,flush:"post"}),a=()=>{c(),i()};return Gr(a),a}function ya(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Au(...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=Oe,eventName:o="keydown",passive:i=!1,dedupe:l=!1}=r,c=ya(t);return Ct(s,o,f=>{f.repeat&&Fe(l)||c(f)&&n(f)},i)}function _a(){const e=se(!1),t=Un();return t&&xt(()=>{e.value=!0},t),e}function va(e){const t=_a();return re(()=>(t.value,!!e()))}function gi(e,t={}){const{window:n=Oe}=t,r=va(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const o=se(!1),i=a=>{o.value=a.matches},l=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",i):s.removeListener(i))},c=Ur(()=>{r.value&&(l(),s=n.matchMedia(Fe(e)),"addEventListener"in s?s.addEventListener("change",i):s.addListener(i),o.value=s.matches)});return Gr(()=>{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__",ba=wa();function wa(){return an in cn||(cn[an]=cn[an]||{}),cn[an]}function mi(e,t){return ba[e]||t}function Ea(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 Ca={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 Xr(e,t,n,r={}){var s;const{flush:o="pre",deep:i=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:a=!1,shallow:f,window:h=Oe,eventFilter:m,onError:_=w=>{console.error(w)},initOnMounted:C}=r,L=(f?jr:se)(typeof t=="function"?t():t);if(!n)try{n=mi("getDefaultStorage",()=>{var w;return(w=Oe)==null?void 0:w.localStorage})()}catch(w){_(w)}if(!n)return L;const H=Fe(t),K=Ea(H),k=(s=r.serializer)!=null?s:Ca[K],{pause:p,resume:y}=ma(L,()=>O(L.value),{flush:o,deep:i,eventFilter:m});h&&l&&zr(()=>{Ct(h,"storage",T),Ct(h,Ks,F),C&&T()}),C||T();function M(w,j){h&&h.dispatchEvent(new CustomEvent(Ks,{detail:{key:e,oldValue:w,newValue:j,storageArea:n}}))}function O(w){try{const j=n.getItem(e);if(w==null)M(j,null),n.removeItem(e);else{const A=k.write(w);j!==A&&(n.setItem(e,A),M(j,A))}}catch(j){_(j)}}function N(w){const j=w?w.newValue:n.getItem(e);if(j==null)return c&&H!=null&&n.setItem(e,k.write(H)),H;if(!w&&a){const A=k.read(j);return typeof a=="function"?a(A,H):K==="object"&&!Array.isArray(A)?{...H,...A}:A}else return typeof j!="string"?j:k.read(j)}function T(w){if(!(w&&w.storageArea!==n)){if(w&&w.key==null){L.value=H;return}if(!(w&&w.key!==e)){p();try{(w==null?void 0:w.newValue)!==k.write(L.value)&&(L.value=N(w))}catch(j){_(j)}finally{w?Nn(y):y()}}}}function F(w){T(w.detail)}return L}function yi(e){return gi("(prefers-color-scheme: dark)",e)}function xa(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:s=Oe,storage:o,storageKey:i="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:a,disableTransition:f=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},m=yi({window:s}),_=re(()=>m.value?"dark":"light"),C=c||(i==null?di(r):Xr(i,r,o,{window:s,listenToStorageChanges:l})),L=re(()=>C.value==="auto"?_.value:C.value),H=mi("updateHTMLAttrs",(y,M,O)=>{const N=typeof y=="string"?s==null?void 0:s.document.querySelector(y):pi(y);if(!N)return;let T;if(f&&(T=s.document.createElement("style"),T.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(T)),M==="class"){const F=O.split(/\s/g);Object.values(h).flatMap(w=>(w||"").split(/\s/g)).filter(Boolean).forEach(w=>{F.includes(w)?N.classList.add(w):N.classList.remove(w)})}else N.setAttribute(M,O);f&&(s.getComputedStyle(T).opacity,document.head.removeChild(T))});function K(y){var M;H(t,n,(M=h[y])!=null?M:y)}function k(y){e.onChanged?e.onChanged(y,K):K(y)}Ne(L,k,{flush:"post",immediate:!0}),zr(()=>k(L.value));const p=re({get(){return a?C.value:L.value},set(y){C.value=y}});try{return Object.assign(p,{store:C,system:_,state:L})}catch{return p}}function Sa(e={}){const{valueDark:t="dark",valueLight:n="",window:r=Oe}=e,s=xa({...e,onChanged:(l,c)=>{var a;e.onChanged?(a=e.onChanged)==null||a.call(e,l==="dark",c,l):c(l)},modes:{dark:t,light:n}}),o=re(()=>s.system?s.system.value:yi({window:r}).value?"dark":"light");return re({get(){return s.value==="dark"},set(l){const c=l?"dark":"light";o.value===c?s.value="auto":s.value=c}})}function nr(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Ru(e,t,n={}){const{window:r=Oe}=n;return Xr(e,t,r==null?void 0:r.localStorage,n)}function _i(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 rr=new WeakMap;function Ou(e,t=!1){const n=se(t);let r=null,s="";Ne(di(e),l=>{const c=nr(Fe(l));if(c){const a=c;if(rr.get(a)||rr.set(a,a.style.overflow),a.style.overflow!=="hidden"&&(s=a.style.overflow),a.style.overflow==="hidden")return n.value=!0;if(n.value)return a.style.overflow="hidden"}},{immediate:!0});const o=()=>{const l=nr(Fe(e));!l||n.value||(ks&&(r=Ct(l,"touchmove",c=>{Ta(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},i=()=>{const l=nr(Fe(e));!l||!n.value||(ks&&(r==null||r()),l.style.overflow=s,rr.delete(l),n.value=!1)};return Gr(i),re({get(){return n.value},set(l){l?o():i()}})}function Lu(e,t,n={}){const{window:r=Oe}=n;return Xr(e,t,r==null?void 0:r.sessionStorage,n)}function Iu(e={}){const{window:t=Oe,behavior:n="auto"}=e;if(!t)return{x:se(0),y:se(0)};const r=se(t.scrollX),s=se(t.scrollY),o=re({get(){return r.value},set(l){scrollTo({left:l,behavior:n})}}),i=re({get(){return s.value},set(l){scrollTo({top:l,behavior:n})}});return Ct(t,"scroll",()=>{r.value=t.scrollX,s.value=t.scrollY},{capture:!1,passive:!0}),{x:o,y:i}}function Mu(e={}){const{window:t=Oe,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:o=!0}=e,i=se(n),l=se(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(),zr(c),Ct("resize",c,{passive:!0}),s){const a=gi("(orientation: portrait)");Ne(a,()=>c())}return{width:i,height:l}}var sr={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1},or={};const vi=/^(?:[a-z]+:|\/\/)/i,Aa="vitepress-theme-appearance",Ra=/#.*$/,Oa=/[?#].*$/,La=/(?:(^|\/)index)?\.(?:md|html)$/,he=typeof document<"u",bi={relativePath:"404.md",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function Ia(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(Ra);return r?(he?location.hash:"")===r[0]:!0}function Ws(e){return decodeURI(e).replace(Oa,"").replace(La,"$1")}function Ma(e){return vi.test(e)}function Pa(e,t){return Object.keys((e==null?void 0:e.locales)||{}).find(n=>n!=="root"&&!Ma(n)&&Ia(t,`/${n}/`,!0))||"root"}function Na(e,t){var r,s,o,i,l,c,a;const n=Pa(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:Ei(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(a=e.locales[n])==null?void 0:a.themeConfig}})}function wi(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=Fa(e.title,r);return n===s.slice(3)?n:`${n}${s}`}function Fa(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function $a(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 Ei(e,t){return[...e.filter(n=>!$a(t,n)),...t]}const Ha=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,ja=/^[a-z]:/i;function qs(e){const t=ja.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(Ha,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const ir=new Set;function Va(e){if(ir.size===0){const n=typeof process=="object"&&(or==null?void 0:or.VITE_EXTRA_EXTENSIONS)||(sr==null?void 0:sr.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=>ir.add(r))}const t=e.split(".").pop();return t==null||!ir.has(t.toLowerCase())}function Pu(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const Da=Symbol(),ut=jr(ca);function Nu(e){const t=re(()=>Na(ut.value,e.data.relativePath)),n=t.value.appearance,r=n==="force-dark"?se(!0):n?Sa({storageKey:Aa,initialValue:()=>n==="dark"?"dark":"auto",...typeof n=="object"?n:{}}):se(!1),s=se(he?location.hash:"");return he&&window.addEventListener("hashchange",()=>{s.value=location.hash}),Ne(()=>e.data,()=>{s.value=he?location.hash:""}),{site:t,theme:re(()=>t.value.themeConfig),page:re(()=>e.data),frontmatter:re(()=>e.data.frontmatter),params:re(()=>e.data.params),lang:re(()=>t.value.lang),dir:re(()=>e.data.frontmatter.dir||t.value.dir),localeIndex:re(()=>t.value.localeIndex||"root"),title:re(()=>wi(t.value,e.data)),description:re(()=>e.data.description||t.value.description),isDark:r,hash:re(()=>s.value)}}function Ua(){const e=wt(Da);if(!e)throw new Error("vitepress data not properly injected in app");return e}function Ba(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function Gs(e){return vi.test(e)||!e.startsWith("/")?e:Ba(ut.value.base,e)}function ka(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),he){const n="/";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 Fu(e){mn.push(e),Dn(()=>{mn=mn.filter(t=>t!==e)})}function Ka(){let e=ut.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=zs(e,n);else if(Array.isArray(e))for(const r of e){const s=zs(r,n);if(s){t=s;break}}return t}function zs(e,t){const n=document.querySelector(e);if(!n)return 0;const r=n.getBoundingClientRect().bottom;return r<0?0:r+t}const Wa=Symbol(),Ci="http://a.com",qa=()=>({path:"/",component:null,data:bi});function $u(e,t){const n=Mn(qa()),r={route:n,go:s};async function s(l=he?location.href:"/"){var c,a;l=lr(l),await((c=r.onBeforeRouteChange)==null?void 0:c.call(r,l))!==!1&&(he&&l!==lr(location.href)&&(history.replaceState({scrollPosition:window.scrollY},""),history.pushState({},"",l)),await i(l),await((a=r.onAfterRouteChanged)==null?void 0:a.call(r,l)))}let o=null;async function i(l,c=0,a=!1){var m;if(await((m=r.onBeforePageLoad)==null?void 0:m.call(r,l))===!1)return;const f=new URL(l,Ci),h=o=f.pathname;try{let _=await e(h);if(!_)throw new Error(`Page not found: ${h}`);if(o===h){o=null;const{default:C,__pageData:L}=_;if(!C)throw new Error(`Invalid route component: ${C}`);n.path=he?h:Gs(h),n.component=hn(C),n.data=hn(L),he&&Nn(()=>{let H=ut.value.base+L.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!ut.value.cleanUrls&&!H.endsWith("/")&&(H+=".html"),H!==f.pathname&&(f.pathname=H,l=H+f.search+f.hash,history.replaceState({},"",l)),f.hash&&!c){let K=null;try{K=document.getElementById(decodeURIComponent(f.hash).slice(1))}catch(k){console.warn(k)}if(K){Xs(K,f.hash);return}}window.scrollTo(0,c)})}}catch(_){if(!/fetch|Page not found/.test(_.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(_),!a)try{const C=await fetch(ut.value.base+"hashmap.json");window.__VP_HASH_MAP__=await C.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 C=he?h.replace(/(^|\/)$/,"$1index").replace(/(\.html)?$/,".md").replace(/^\//,""):"404.md";n.data={...bi,relativePath:C}}}}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 a=c.getAttribute("href")??(c instanceof SVGAElement?c.getAttribute("xlink:href"):null);if(a==null)return;const{href:f,origin:h,pathname:m,hash:_,search:C}=new URL(a,c.baseURI),L=new URL(location.href);h===L.origin&&Va(m)&&(l.preventDefault(),m===L.pathname&&C===L.search?(_!==L.hash&&(history.pushState({},"",f),window.dispatchEvent(new HashChangeEvent("hashchange",{oldURL:L.href,newURL:f}))),_?Xs(c,_,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(lr(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 Ga(){const e=wt(Wa);if(!e)throw new Error("useRouter() is called without provider.");return e}function xi(){return Ga().route}function Xs(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-Ka()+o;requestAnimationFrame(s)}}function lr(e){const t=new URL(e,Ci);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),ut.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 cr=()=>mn.forEach(e=>e()),Hu=Br({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=xi(),{site:n}=Ua();return()=>Sr(e.as,n.value.contentProps??{style:{position:"relative"}},[t.component?Sr(t.component,{onVnodeMounted:cr,onVnodeUpdated:cr,onVnodeUnmounted:cr}):"404 Page Not Found"])}}),ju=Br({setup(e,{slots:t}){const n=se(!1);return xt(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function Vu(){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(a=>a.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 Du(){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 a=c.textContent||"";i&&(a=a.replace(/^ *(\$|>) /gm,"").trim()),za(a).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 za(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 Uu(e,t){let n=!0,r=[];const s=o=>{if(n){n=!1,o.forEach(l=>{const c=ar(l);for(const a of document.head.children)if(a.isEqualNode(c)){r.push(a);return}});return}const i=o.map(ar);r.forEach((l,c)=>{const a=i.findIndex(f=>f==null?void 0:f.isEqualNode(l??null));a!==-1?delete i[a]:(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||[],a=wi(i,o);a!==document.title&&(document.title=a);const f=l||i.description;let h=document.querySelector("meta[name=description]");h?h.getAttribute("content")!==f&&h.setAttribute("content",f):ar(["meta",{name:"description",content:f}]),s(Ei(i.head,Ya(c)))})}function ar([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 Xa(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function Ya(e){return e.filter(t=>!Xa(t))}const ur=new Set,Si=()=>document.createElement("link"),Ja=e=>{const t=Si();t.rel="prefetch",t.href=e,document.head.appendChild(t)},Qa=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let un;const Za=he&&(un=Si())&&un.relList&&un.relList.supports&&un.relList.supports("prefetch")?Ja:Qa;function Bu(){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(!ur.has(c)){ur.add(c);const a=ka(c);a&&Za(a)}}})}),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):ur.add(l))})})};xt(r);const s=xi();Ne(()=>s.path,r),Dn(()=>{n&&n.disconnect()})}export{nc as $,iu as A,Bl as B,Ka as C,su as D,au as E,ye as F,jr as G,Fu as H,oe as I,ou as J,vi as K,xi as L,bc as M,wt as N,Mu as O,On as P,Au as Q,Nn as R,Iu as S,si as T,he as U,Pn as V,eu as W,cu as X,xu as Y,Ou as Z,Cu as _,ei as a,bu as a0,fu as a1,No as a2,vu as a3,du as a4,lu as a5,yu as a6,gu as a7,Uu as a8,Wa as a9,Nu as aa,Da as ab,Hu as ac,ju as ad,ut as ae,Eu as af,$u as ag,ka as ah,Bu as ai,Du as aj,Vu as ak,Sr as al,pi as am,Gr as an,Tu as ao,Lu as ap,Ru as aq,Su as ar,Ga as as,Ct as at,_u as au,de as av,hu as aw,hn as ax,wu as ay,Pu as az,Jo as b,pu as c,Br as d,mu as e,Va as f,Gs as g,re as h,Ma as i,Zo as j,bo as k,ru as l,Ia as m,Ln as n,Xo as o,nu as p,gi as q,uu as r,se as s,tu as t,Ua as u,Ne as v,Sl as w,Ur as x,xt as y,Dn as z}; diff --git a/assets/chunks/theme.Cru_PcOt.js b/assets/chunks/theme.Cru_PcOt.js deleted file mode 100644 index 6e10e72..0000000 --- a/assets/chunks/theme.Cru_PcOt.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/VPLocalSearchBox.DUPcTUiS.js","assets/chunks/framework.0rl6iKyO.js"])))=>i.map(i=>d[i]); -import{d as b,o as a,c,r as f,n as z,a as x,t as I,b as V,w as p,e as $,T as Ue,_ as P,u as ce,i as $t,f as bt,g as ge,h as N,j as u,k as i,l as fe,m as He,p as E,q as re,s as Te,v as pe,x as Ge,y as We,z as kt,A as yt,B as he,F,C as Y,D as Ye,E as $e,G as g,H as se,I as nt,J as Ne,K as le,L as ye,M as Pt,N as Ie,O as Oe,P as St,Q as st,R as Ce,S as Lt,U as Vt,V as Mt,W as ot,X as Je,Y as wt,Z as Tt,$ as Nt,a0 as It,a1 as Ct,a2 as At,a3 as Dt}from"./framework.0rl6iKyO.js";const Bt=b({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(o){return(e,t)=>(a(),c("span",{class:z(["VPBadge",e.type])},[f(e.$slots,"default",{},()=>[x(I(e.text),1)])],2))}}),Ht={key:0,class:"VPBackdrop"},Ot=b({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(o){return(e,t)=>(a(),V(Ue,{name:"fade"},{default:p(()=>[e.show?(a(),c("div",Ht)):$("",!0)]),_:1}))}}),Et=P(Ot,[["__scopeId","data-v-0bef565f"]]),H=ce;function Ft(o,e){let t,n=!1;return()=>{t&&clearTimeout(t),n?t=setTimeout(o,e):(o(),(n=!0)&&setTimeout(()=>n=!1,e))}}function Ee(o){return/^\//.test(o)?o:`/${o}`}function qe(o){const{pathname:e,search:t,hash:n,protocol:s}=new URL(o,"http://a.com");if($t(o)||o.startsWith("#")||!s.startsWith("http")||!bt(e))return o;const{site:r}=H(),l=e.endsWith("/")||e.endsWith(".html")?o:o.replace(/(?:(^\.+)\/)?.*$/,`$1${e.replace(/(\.md)?$/,r.value.cleanUrls?"":".html")}${t}${n}`);return ge(l)}function Pe({correspondingLink:o=!1}={}){const{site:e,localeIndex:t,page:n,theme:s,hash:r}=H(),l=N(()=>{var v,h;return{label:(v=e.value.locales[t.value])==null?void 0:v.label,link:((h=e.value.locales[t.value])==null?void 0:h.link)||(t.value==="root"?"/":`/${t.value}/`)}});return{localeLinks:N(()=>Object.entries(e.value.locales).flatMap(([v,h])=>l.value.label===h.label?[]:{text:h.label,link:zt(h.link||(v==="root"?"/":`/${v}/`),s.value.i18nRouting!==!1&&o,n.value.relativePath.slice(l.value.link.length-1),!e.value.cleanUrls)+r.value})),currentLang:l}}function zt(o,e,t,n){return e?o.replace(/\/$/,"")+Ee(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,n?".html":"")):o}const jt={class:"NotFound"},Ut={class:"code"},Gt={class:"title"},Wt={class:"quote"},Yt={class:"action"},Jt=["href","aria-label"],qt=b({__name:"NotFound",setup(o){const{theme:e}=H(),{currentLang:t}=Pe();return(n,s)=>{var r,l,d,v,h;return a(),c("div",jt,[u("p",Ut,I(((r=i(e).notFound)==null?void 0:r.code)??"404"),1),u("h1",Gt,I(((l=i(e).notFound)==null?void 0:l.title)??"PAGE NOT FOUND"),1),s[0]||(s[0]=u("div",{class:"divider"},null,-1)),u("blockquote",Wt,I(((d=i(e).notFound)==null?void 0:d.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),u("div",Yt,[u("a",{class:"link",href:i(ge)(i(t).link),"aria-label":((v=i(e).notFound)==null?void 0:v.linkLabel)??"go to home"},I(((h=i(e).notFound)==null?void 0:h.linkText)??"Take me home"),9,Jt)])])}}}),Kt=P(qt,[["__scopeId","data-v-d0b75dfd"]]);function at(o,e){if(Array.isArray(o))return Me(o);if(o==null)return[];e=Ee(e);const t=Object.keys(o).sort((s,r)=>r.split("/").length-s.split("/").length).find(s=>e.startsWith(Ee(s))),n=t?o[t]:[];return Array.isArray(n)?Me(n):Me(n.items,n.base)}function Rt(o){const e=[];let t=0;for(const n in o){const s=o[n];if(s.items){t=e.push(s);continue}e[t]||e.push({items:[]}),e[t].items.push(s)}return e}function Zt(o){const e=[];function t(n){for(const s of n)s.text&&s.link&&e.push({text:s.text,link:s.link,docFooterText:s.docFooterText}),s.items&&t(s.items)}return t(o),e}function Fe(o,e){return Array.isArray(e)?e.some(t=>Fe(o,t)):fe(o,e.link)?!0:e.items?Fe(o,e.items):!1}function Me(o,e){return[...o].map(t=>{const n={...t},s=n.base||e;return s&&n.link&&(n.link=s+n.link),n.items&&(n.items=Me(n.items,s)),n})}function ae(){const{frontmatter:o,page:e,theme:t}=H(),n=He("(min-width: 960px)"),s=E(!1),r=N(()=>{const O=t.value.sidebar,L=e.value.relativePath;return O?at(O,L):[]}),l=E(r.value);re(r,(O,L)=>{JSON.stringify(O)!==JSON.stringify(L)&&(l.value=r.value)});const d=N(()=>o.value.sidebar!==!1&&l.value.length>0&&o.value.layout!=="home"),v=N(()=>h?o.value.aside==null?t.value.aside==="left":o.value.aside==="left":!1),h=N(()=>o.value.layout==="home"?!1:o.value.aside!=null?!!o.value.aside:t.value.aside!==!1),M=N(()=>d.value&&n.value),m=N(()=>d.value?Rt(l.value):[]);function T(){s.value=!0}function S(){s.value=!1}function C(){s.value?S():T()}return{isOpen:s,sidebar:l,sidebarGroups:m,hasSidebar:d,hasAside:h,leftAside:v,isSidebarEnabled:M,open:T,close:S,toggle:C}}function Qt(o,e){let t;Te(()=>{t=o.value?document.activeElement:void 0}),pe(()=>{window.addEventListener("keyup",n)}),Ge(()=>{window.removeEventListener("keyup",n)});function n(s){s.key==="Escape"&&o.value&&(e(),t==null||t.focus())}}function Xt(o){const{page:e,hash:t}=H(),n=E(!1),s=N(()=>o.value.collapsed!=null),r=N(()=>!!o.value.link),l=E(!1),d=()=>{l.value=fe(e.value.relativePath,o.value.link)};re([e,o,t],d),pe(d);const v=N(()=>l.value?!0:o.value.items?Fe(e.value.relativePath,o.value.items):!1),h=N(()=>!!(o.value.items&&o.value.items.length));Te(()=>{n.value=!!(s.value&&o.value.collapsed)}),We(()=>{(l.value||v.value)&&(n.value=!1)});function M(){s.value&&(n.value=!n.value)}return{collapsed:n,collapsible:s,isLink:r,isActiveLink:l,hasActiveLink:v,hasChildren:h,toggle:M}}function xt(){const{hasSidebar:o}=ae(),e=He("(min-width: 960px)"),t=He("(min-width: 1280px)");return{isAsideEnabled:N(()=>!t.value&&!e.value?!1:o.value?t.value:e.value)}}const ze=[];function rt(o){return typeof o.outline=="object"&&!Array.isArray(o.outline)&&o.outline.label||o.outlineTitle||"On this page"}function Ke(o){const e=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const n=Number(t.tagName[1]);return{element:t,title:en(t),link:"#"+t.id,level:n}});return tn(e,o)}function en(o){let e="";for(const t of o.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 tn(o,e){if(e===!1)return[];const t=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[n,s]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;o=o.filter(l=>l.level>=n&&l.level<=s),ze.length=0;for(const{element:l,link:d}of o)ze.push({element:l,link:d});const r=[];e:for(let l=0;l=0;v--){const h=o[v];if(h.level{requestAnimationFrame(r),window.addEventListener("scroll",n)}),kt(()=>{l(location.hash)}),Ge(()=>{window.removeEventListener("scroll",n)});function r(){if(!t.value)return;const d=window.scrollY,v=window.innerHeight,h=document.body.offsetHeight,M=Math.abs(d+v-h)<1,m=ze.map(({element:S,link:C})=>({link:C,top:sn(S)})).filter(({top:S})=>!Number.isNaN(S)).sort((S,C)=>S.top-C.top);if(!m.length){l(null);return}if(d<1){l(null);return}if(M){l(m[m.length-1].link);return}let T=null;for(const{link:S,top:C}of m){if(C>d+yt()+4)break;T=S}l(T)}function l(d){s&&s.classList.remove("active"),d==null?s=null:s=o.value.querySelector(`a[href="${decodeURIComponent(d)}"]`);const v=s;v?(v.classList.add("active"),e.value.style.top=v.offsetTop+39+"px",e.value.style.opacity="1"):(e.value.style.top="33px",e.value.style.opacity="0")}}function sn(o){let e=0;for(;o!==document.body;){if(o===null)return NaN;e+=o.offsetTop,o=o.offsetParent}return e}const on=["href","title"],an=b({__name:"VPDocOutlineItem",props:{headers:{},root:{type:Boolean}},setup(o){function e({target:t}){const n=t.href.split("#")[1],s=document.getElementById(decodeURIComponent(n));s==null||s.focus({preventScroll:!0})}return(t,n)=>{const s=he("VPDocOutlineItem",!0);return a(),c("ul",{class:z(["VPDocOutlineItem",t.root?"root":"nested"])},[(a(!0),c(F,null,Y(t.headers,({children:r,link:l,title:d})=>(a(),c("li",null,[u("a",{class:"outline-link",href:l,onClick:e,title:d},I(d),9,on),r!=null&&r.length?(a(),V(s,{key:0,headers:r},null,8,["headers"])):$("",!0)]))),256))],2)}}}),it=P(an,[["__scopeId","data-v-3c1bd28a"]]),rn={class:"content"},ln={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},cn=b({__name:"VPDocAsideOutline",setup(o){const{frontmatter:e,theme:t}=H(),n=Ye([]);$e(()=>{n.value=Ke(e.value.outline??t.value.outline)});const s=E(),r=E();return nn(s,r),(l,d)=>(a(),c("nav",{"aria-labelledby":"doc-outline-aria-label",class:z(["VPDocAsideOutline",{"has-outline":n.value.length>0}]),ref_key:"container",ref:s},[u("div",rn,[u("div",{class:"outline-marker",ref_key:"marker",ref:r},null,512),u("div",ln,I(i(rt)(i(t))),1),g(it,{headers:n.value,root:!0},null,8,["headers"])])],2))}}),un=P(cn,[["__scopeId","data-v-8e79b835"]]),dn={class:"VPDocAsideCarbonAds"},vn=b({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(o){const e=()=>null;return(t,n)=>(a(),c("div",dn,[g(i(e),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),fn={class:"VPDocAside"},pn=b({__name:"VPDocAside",setup(o){const{theme:e}=H();return(t,n)=>(a(),c("div",fn,[f(t.$slots,"aside-top",{},void 0,!0),f(t.$slots,"aside-outline-before",{},void 0,!0),g(un),f(t.$slots,"aside-outline-after",{},void 0,!0),n[0]||(n[0]=u("div",{class:"spacer"},null,-1)),f(t.$slots,"aside-ads-before",{},void 0,!0),i(e).carbonAds?(a(),V(vn,{key:0,"carbon-ads":i(e).carbonAds},null,8,["carbon-ads"])):$("",!0),f(t.$slots,"aside-ads-after",{},void 0,!0),f(t.$slots,"aside-bottom",{},void 0,!0)]))}}),hn=P(pn,[["__scopeId","data-v-7f26daef"]]);function mn(){const{theme:o,page:e}=H();return N(()=>{const{text:t="Edit this page",pattern:n=""}=o.value.editLink||{};let s;return typeof n=="function"?s=n(e.value):s=n.replace(/:path/g,e.value.filePath),{url:s,text:t}})}function _n(){const{page:o,theme:e,frontmatter:t}=H();return N(()=>{var h,M,m,T,S,C,O,L;const n=at(e.value.sidebar,o.value.relativePath),s=Zt(n),r=gn(s,G=>G.link.replace(/[?#].*$/,"")),l=r.findIndex(G=>fe(o.value.relativePath,G.link)),d=((h=e.value.docFooter)==null?void 0:h.prev)===!1&&!t.value.prev||t.value.prev===!1,v=((M=e.value.docFooter)==null?void 0:M.next)===!1&&!t.value.next||t.value.next===!1;return{prev:d?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((m=r[l-1])==null?void 0:m.docFooterText)??((T=r[l-1])==null?void 0:T.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((S=r[l-1])==null?void 0:S.link)},next:v?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((C=r[l+1])==null?void 0:C.docFooterText)??((O=r[l+1])==null?void 0:O.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((L=r[l+1])==null?void 0:L.link)}}})}function gn(o,e){const t=new Set;return o.filter(n=>{const s=e(n);return t.has(s)?!1:t.add(s)})}const oe=b({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(o){const e=o,t=N(()=>e.tag??(e.href?"a":"span")),n=N(()=>e.href&&nt.test(e.href)||e.target==="_blank");return(s,r)=>(a(),V(se(t.value),{class:z(["VPLink",{link:s.href,"vp-external-link-icon":n.value,"no-icon":s.noIcon}]),href:s.href?i(qe)(s.href):void 0,target:s.target??(n.value?"_blank":void 0),rel:s.rel??(n.value?"noreferrer":void 0)},{default:p(()=>[f(s.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),$n={class:"VPLastUpdated"},bn=["datetime"],kn=b({__name:"VPDocFooterLastUpdated",setup(o){const{theme:e,page:t,lang:n}=H(),s=N(()=>new Date(t.value.lastUpdated)),r=N(()=>s.value.toISOString()),l=E("");return pe(()=>{Te(()=>{var d,v,h;l.value=new Intl.DateTimeFormat((v=(d=e.value.lastUpdated)==null?void 0:d.formatOptions)!=null&&v.forceLocale?n.value:void 0,((h=e.value.lastUpdated)==null?void 0:h.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(s.value)})}),(d,v)=>{var h;return a(),c("p",$n,[x(I(((h=i(e).lastUpdated)==null?void 0:h.text)||i(e).lastUpdatedText||"Last updated")+": ",1),u("time",{datetime:r.value},I(l.value),9,bn)])}}}),yn=P(kn,[["__scopeId","data-v-b4671027"]]),Pn={key:0,class:"VPDocFooter"},Sn={key:0,class:"edit-info"},Ln={key:0,class:"edit-link"},Vn={key:1,class:"last-updated"},Mn={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},wn={class:"pager"},Tn=["innerHTML"],Nn=["innerHTML"],In={class:"pager"},Cn=["innerHTML"],An=["innerHTML"],Dn=b({__name:"VPDocFooter",setup(o){const{theme:e,page:t,frontmatter:n}=H(),s=mn(),r=_n(),l=N(()=>e.value.editLink&&n.value.editLink!==!1),d=N(()=>t.value.lastUpdated),v=N(()=>l.value||d.value||r.value.prev||r.value.next);return(h,M)=>{var m,T,S,C;return v.value?(a(),c("footer",Pn,[f(h.$slots,"doc-footer-before",{},void 0,!0),l.value||d.value?(a(),c("div",Sn,[l.value?(a(),c("div",Ln,[g(oe,{class:"edit-link-button",href:i(s).url,"no-icon":!0},{default:p(()=>[M[0]||(M[0]=u("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),x(" "+I(i(s).text),1)]),_:1},8,["href"])])):$("",!0),d.value?(a(),c("div",Vn,[g(yn)])):$("",!0)])):$("",!0),(m=i(r).prev)!=null&&m.link||(T=i(r).next)!=null&&T.link?(a(),c("nav",Mn,[M[1]||(M[1]=u("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),u("div",wn,[(S=i(r).prev)!=null&&S.link?(a(),V(oe,{key:0,class:"pager-link prev",href:i(r).prev.link},{default:p(()=>{var O;return[u("span",{class:"desc",innerHTML:((O=i(e).docFooter)==null?void 0:O.prev)||"Previous page"},null,8,Tn),u("span",{class:"title",innerHTML:i(r).prev.text},null,8,Nn)]}),_:1},8,["href"])):$("",!0)]),u("div",In,[(C=i(r).next)!=null&&C.link?(a(),V(oe,{key:0,class:"pager-link next",href:i(r).next.link},{default:p(()=>{var O;return[u("span",{class:"desc",innerHTML:((O=i(e).docFooter)==null?void 0:O.next)||"Next page"},null,8,Cn),u("span",{class:"title",innerHTML:i(r).next.text},null,8,An)]}),_:1},8,["href"])):$("",!0)])])):$("",!0)])):$("",!0)}}}),Bn=P(Dn,[["__scopeId","data-v-1803d2e3"]]),Hn={class:"container"},On={class:"aside-container"},En={class:"aside-content"},Fn={class:"content"},zn={class:"content-container"},jn={class:"main"},Un=b({__name:"VPDoc",setup(o){const{theme:e}=H(),t=Ne(),{hasSidebar:n,hasAside:s,leftAside:r}=ae(),l=N(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(d,v)=>{const h=he("Content");return a(),c("div",{class:z(["VPDoc",{"has-sidebar":i(n),"has-aside":i(s)}])},[f(d.$slots,"doc-top",{},void 0,!0),u("div",Hn,[i(s)?(a(),c("div",{key:0,class:z(["aside",{"left-aside":i(r)}])},[v[0]||(v[0]=u("div",{class:"aside-curtain"},null,-1)),u("div",On,[u("div",En,[g(hn,null,{"aside-top":p(()=>[f(d.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":p(()=>[f(d.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":p(()=>[f(d.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":p(()=>[f(d.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":p(()=>[f(d.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":p(()=>[f(d.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):$("",!0),u("div",Fn,[u("div",zn,[f(d.$slots,"doc-before",{},void 0,!0),u("main",jn,[g(h,{class:z(["vp-doc",[l.value,i(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),g(Bn,null,{"doc-footer-before":p(()=>[f(d.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),f(d.$slots,"doc-after",{},void 0,!0)])])]),f(d.$slots,"doc-bottom",{},void 0,!0)],2)}}}),Gn=P(Un,[["__scopeId","data-v-bb6d8676"]]),Wn=b({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(o){const e=o,t=N(()=>e.href&&nt.test(e.href)),n=N(()=>e.tag||e.href?"a":"button");return(s,r)=>(a(),V(se(n.value),{class:z(["VPButton",[s.size,s.theme]]),href:s.href?i(qe)(s.href):void 0,target:e.target??(t.value?"_blank":void 0),rel:e.rel??(t.value?"noreferrer":void 0)},{default:p(()=>[x(I(s.text),1)]),_:1},8,["class","href","target","rel"]))}}),Yn=P(Wn,[["__scopeId","data-v-c8e50999"]]),Jn=["src","alt"],qn=b({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(o){return(e,t)=>{const n=he("VPImage",!0);return e.image?(a(),c(F,{key:0},[typeof e.image=="string"||"src"in e.image?(a(),c("img",le({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:i(ge)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,Jn)):(a(),c(F,{key:1},[g(n,le({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),g(n,le({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):$("",!0)}}}),we=P(qn,[["__scopeId","data-v-753eee6c"]]),Kn={class:"container"},Rn={class:"main"},Zn={key:0,class:"name"},Qn=["innerHTML"],Xn=["innerHTML"],xn=["innerHTML"],es={key:0,class:"actions"},ts={key:0,class:"image"},ns={class:"image-container"},ss=b({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(o){const e=ye("hero-image-slot-exists");return(t,n)=>(a(),c("div",{class:z(["VPHero",{"has-image":t.image||i(e)}])},[u("div",Kn,[u("div",Rn,[f(t.$slots,"home-hero-info-before",{},void 0,!0),f(t.$slots,"home-hero-info",{},()=>[t.name?(a(),c("h1",Zn,[u("span",{innerHTML:t.name,class:"clip"},null,8,Qn)])):$("",!0),t.text?(a(),c("p",{key:1,innerHTML:t.text,class:"text"},null,8,Xn)):$("",!0),t.tagline?(a(),c("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,xn)):$("",!0)],!0),f(t.$slots,"home-hero-info-after",{},void 0,!0),t.actions?(a(),c("div",es,[(a(!0),c(F,null,Y(t.actions,s=>(a(),c("div",{key:s.link,class:"action"},[g(Yn,{tag:"a",size:"medium",theme:s.theme,text:s.text,href:s.link,target:s.target,rel:s.rel},null,8,["theme","text","href","target","rel"])]))),128))])):$("",!0),f(t.$slots,"home-hero-actions-after",{},void 0,!0)]),t.image||i(e)?(a(),c("div",ts,[u("div",ns,[n[0]||(n[0]=u("div",{class:"image-bg"},null,-1)),f(t.$slots,"home-hero-image",{},()=>[t.image?(a(),V(we,{key:0,class:"image-src",image:t.image},null,8,["image"])):$("",!0)],!0)])])):$("",!0)])],2))}}),os=P(ss,[["__scopeId","data-v-58806dec"]]),as=b({__name:"VPHomeHero",setup(o){const{frontmatter:e}=H();return(t,n)=>i(e).hero?(a(),V(os,{key:0,class:"VPHomeHero",name:i(e).hero.name,text:i(e).hero.text,tagline:i(e).hero.tagline,image:i(e).hero.image,actions:i(e).hero.actions},{"home-hero-info-before":p(()=>[f(t.$slots,"home-hero-info-before")]),"home-hero-info":p(()=>[f(t.$slots,"home-hero-info")]),"home-hero-info-after":p(()=>[f(t.$slots,"home-hero-info-after")]),"home-hero-actions-after":p(()=>[f(t.$slots,"home-hero-actions-after")]),"home-hero-image":p(()=>[f(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):$("",!0)}}),rs={class:"box"},is={key:0,class:"icon"},ls=["innerHTML"],cs=["innerHTML"],us=["innerHTML"],ds={key:4,class:"link-text"},vs={class:"link-text-value"},fs=b({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(o){return(e,t)=>(a(),V(oe,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:p(()=>[u("article",rs,[typeof e.icon=="object"&&e.icon.wrap?(a(),c("div",is,[g(we,{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(),V(we,{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,ls)):$("",!0),u("h2",{class:"title",innerHTML:e.title},null,8,cs),e.details?(a(),c("p",{key:3,class:"details",innerHTML:e.details},null,8,us)):$("",!0),e.linkText?(a(),c("div",ds,[u("p",vs,[x(I(e.linkText)+" ",1),t[0]||(t[0]=u("span",{class:"vpi-arrow-right link-text-icon"},null,-1))])])):$("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),ps=P(fs,[["__scopeId","data-v-f6f2ad3a"]]),hs={key:0,class:"VPFeatures"},ms={class:"container"},_s={class:"items"},gs=b({__name:"VPFeatures",props:{features:{}},setup(o){const e=o,t=N(()=>{const n=e.features.length;if(n){if(n===2)return"grid-2";if(n===3)return"grid-3";if(n%3===0)return"grid-6";if(n>3)return"grid-4"}else return});return(n,s)=>n.features?(a(),c("div",hs,[u("div",ms,[u("div",_s,[(a(!0),c(F,null,Y(n.features,r=>(a(),c("div",{key:r.title,class:z(["item",[t.value]])},[g(ps,{icon:r.icon,title:r.title,details:r.details,link:r.link,"link-text":r.linkText,rel:r.rel,target:r.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):$("",!0)}}),$s=P(gs,[["__scopeId","data-v-8345ab25"]]),bs=b({__name:"VPHomeFeatures",setup(o){const{frontmatter:e}=H();return(t,n)=>i(e).features?(a(),V($s,{key:0,class:"VPHomeFeatures",features:i(e).features},null,8,["features"])):$("",!0)}}),ks=b({__name:"VPHomeContent",setup(o){const{width:e}=Pt({initialWidth:0,includeScrollbar:!1});return(t,n)=>(a(),c("div",{class:"vp-doc container",style:Ie(i(e)?{"--vp-offset":`calc(50% - ${i(e)/2}px)`}:{})},[f(t.$slots,"default",{},void 0,!0)],4))}}),ys=P(ks,[["__scopeId","data-v-9c9a692a"]]),Ps={class:"VPHome"},Ss=b({__name:"VPHome",setup(o){const{frontmatter:e}=H();return(t,n)=>{const s=he("Content");return a(),c("div",Ps,[f(t.$slots,"home-hero-before",{},void 0,!0),g(as,null,{"home-hero-info-before":p(()=>[f(t.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":p(()=>[f(t.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":p(()=>[f(t.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":p(()=>[f(t.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":p(()=>[f(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),f(t.$slots,"home-hero-after",{},void 0,!0),f(t.$slots,"home-features-before",{},void 0,!0),g(bs),f(t.$slots,"home-features-after",{},void 0,!0),i(e).markdownStyles!==!1?(a(),V(ys,{key:0},{default:p(()=>[g(s)]),_:1})):(a(),V(s,{key:1}))])}}}),Ls=P(Ss,[["__scopeId","data-v-a2b556b1"]]),Vs={},Ms={class:"VPPage"};function ws(o,e){const t=he("Content");return a(),c("div",Ms,[f(o.$slots,"page-top"),g(t),f(o.$slots,"page-bottom")])}const Ts=P(Vs,[["render",ws]]),Ns=b({__name:"VPContent",setup(o){const{page:e,frontmatter:t}=H(),{hasSidebar:n}=ae();return(s,r)=>(a(),c("div",{class:z(["VPContent",{"has-sidebar":i(n),"is-home":i(t).layout==="home"}]),id:"VPContent"},[i(e).isNotFound?f(s.$slots,"not-found",{key:0},()=>[g(Kt)],!0):i(t).layout==="page"?(a(),V(Ts,{key:1},{"page-top":p(()=>[f(s.$slots,"page-top",{},void 0,!0)]),"page-bottom":p(()=>[f(s.$slots,"page-bottom",{},void 0,!0)]),_:3})):i(t).layout==="home"?(a(),V(Ls,{key:2},{"home-hero-before":p(()=>[f(s.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":p(()=>[f(s.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":p(()=>[f(s.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":p(()=>[f(s.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":p(()=>[f(s.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":p(()=>[f(s.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":p(()=>[f(s.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":p(()=>[f(s.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":p(()=>[f(s.$slots,"home-features-after",{},void 0,!0)]),_:3})):i(t).layout&&i(t).layout!=="doc"?(a(),V(se(i(t).layout),{key:3})):(a(),V(Gn,{key:4},{"doc-top":p(()=>[f(s.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":p(()=>[f(s.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":p(()=>[f(s.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":p(()=>[f(s.$slots,"doc-before",{},void 0,!0)]),"doc-after":p(()=>[f(s.$slots,"doc-after",{},void 0,!0)]),"aside-top":p(()=>[f(s.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":p(()=>[f(s.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":p(()=>[f(s.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":p(()=>[f(s.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":p(()=>[f(s.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":p(()=>[f(s.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),Is=P(Ns,[["__scopeId","data-v-f29dd4bf"]]),Cs={class:"container"},As=["innerHTML"],Ds=["innerHTML"],Bs=b({__name:"VPFooter",setup(o){const{theme:e,frontmatter:t}=H(),{hasSidebar:n}=ae();return(s,r)=>i(e).footer&&i(t).footer!==!1?(a(),c("footer",{key:0,class:z(["VPFooter",{"has-sidebar":i(n)}])},[u("div",Cs,[i(e).footer.message?(a(),c("p",{key:0,class:"message",innerHTML:i(e).footer.message},null,8,As)):$("",!0),i(e).footer.copyright?(a(),c("p",{key:1,class:"copyright",innerHTML:i(e).footer.copyright},null,8,Ds)):$("",!0)])],2)):$("",!0)}}),Hs=P(Bs,[["__scopeId","data-v-f57036b6"]]);function Os(){const{theme:o,frontmatter:e}=H(),t=Ye([]),n=N(()=>t.value.length>0);return $e(()=>{t.value=Ke(e.value.outline??o.value.outline)}),{headers:t,hasLocalNav:n}}const Es={class:"menu-text"},Fs={class:"header"},zs={class:"outline"},js=b({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(o){const e=o,{theme:t}=H(),n=E(!1),s=E(0),r=E(),l=E();function d(m){var T;(T=r.value)!=null&&T.contains(m.target)||(n.value=!1)}re(n,m=>{if(m){document.addEventListener("click",d);return}document.removeEventListener("click",d)}),Oe("Escape",()=>{n.value=!1}),$e(()=>{n.value=!1});function v(){n.value=!n.value,s.value=window.innerHeight+Math.min(window.scrollY-e.navHeight,0)}function h(m){m.target.classList.contains("outline-link")&&(l.value&&(l.value.style.transition="none"),St(()=>{n.value=!1}))}function M(){n.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(m,T)=>(a(),c("div",{class:"VPLocalNavOutlineDropdown",style:Ie({"--vp-vh":s.value+"px"}),ref_key:"main",ref:r},[m.headers.length>0?(a(),c("button",{key:0,onClick:v,class:z({open:n.value})},[u("span",Es,I(i(rt)(i(t))),1),T[0]||(T[0]=u("span",{class:"vpi-chevron-right icon"},null,-1))],2)):(a(),c("button",{key:1,onClick:M},I(i(t).returnToTopLabel||"Return to top"),1)),g(Ue,{name:"flyout"},{default:p(()=>[n.value?(a(),c("div",{key:0,ref_key:"items",ref:l,class:"items",onClick:h},[u("div",Fs,[u("a",{class:"top-link",href:"#",onClick:M},I(i(t).returnToTopLabel||"Return to top"),1)]),u("div",zs,[g(it,{headers:m.headers},null,8,["headers"])])],512)):$("",!0)]),_:1})],4))}}),Us=P(js,[["__scopeId","data-v-615d7450"]]),Gs={class:"container"},Ws=["aria-expanded"],Ys={class:"menu-text"},Js=b({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(o){const{theme:e,frontmatter:t}=H(),{hasSidebar:n}=ae(),{headers:s}=Os(),{y:r}=st(),l=E(0);pe(()=>{l.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),$e(()=>{s.value=Ke(t.value.outline??e.value.outline)});const d=N(()=>s.value.length===0),v=N(()=>d.value&&!n.value),h=N(()=>({VPLocalNav:!0,"has-sidebar":n.value,empty:d.value,fixed:v.value}));return(M,m)=>i(t).layout!=="home"&&(!v.value||i(r)>=l.value)?(a(),c("div",{key:0,class:z(h.value)},[u("div",Gs,[i(n)?(a(),c("button",{key:0,class:"menu","aria-expanded":M.open,"aria-controls":"VPSidebarNav",onClick:m[0]||(m[0]=T=>M.$emit("open-menu"))},[m[1]||(m[1]=u("span",{class:"vpi-align-left menu-icon"},null,-1)),u("span",Ys,I(i(e).sidebarMenuLabel||"Menu"),1)],8,Ws)):$("",!0),g(Us,{headers:i(s),navHeight:l.value},null,8,["headers","navHeight"])])],2)):$("",!0)}}),qs=P(Js,[["__scopeId","data-v-e7745f79"]]);function lt(){const o=E(!1);function e(){o.value=!0,window.addEventListener("resize",s)}function t(){o.value=!1,window.removeEventListener("resize",s)}function n(){o.value?t():e()}function s(){window.outerWidth>=768&&t()}const r=Ne();return re(()=>r.path,t),{isScreenOpen:o,openScreen:e,closeScreen:t,toggleScreen:n}}const Ks={},Rs={class:"VPSwitch",type:"button",role:"switch"},Zs={class:"check"},Qs={key:0,class:"icon"};function Xs(o,e){return a(),c("button",Rs,[u("span",Zs,[o.$slots.default?(a(),c("span",Qs,[f(o.$slots,"default",{},void 0,!0)])):$("",!0)])])}const xs=P(Ks,[["render",Xs],["__scopeId","data-v-441d8d05"]]),eo=b({__name:"VPSwitchAppearance",setup(o){const{isDark:e,theme:t}=H(),n=ye("toggle-appearance",()=>{e.value=!e.value}),s=E("");return We(()=>{s.value=e.value?t.value.lightModeSwitchTitle||"Switch to light theme":t.value.darkModeSwitchTitle||"Switch to dark theme"}),(r,l)=>(a(),V(xs,{title:s.value,class:"VPSwitchAppearance","aria-checked":i(e),onClick:i(n)},{default:p(()=>l[0]||(l[0]=[u("span",{class:"vpi-sun sun"},null,-1),u("span",{class:"vpi-moon moon"},null,-1)])),_:1},8,["title","aria-checked","onClick"]))}}),Re=P(eo,[["__scopeId","data-v-42341794"]]),to={key:0,class:"VPNavBarAppearance"},no=b({__name:"VPNavBarAppearance",setup(o){const{site:e}=H();return(t,n)=>i(e).appearance&&i(e).appearance!=="force-dark"&&i(e).appearance!=="force-auto"?(a(),c("div",to,[g(Re)])):$("",!0)}}),so=P(no,[["__scopeId","data-v-441ab965"]]),Ze=E();let ct=!1,De=0;function oo(o){const e=E(!1);if(Ce){!ct&&ao(),De++;const t=re(Ze,n=>{var s,r,l;n===o.el.value||(s=o.el.value)!=null&&s.contains(n)?(e.value=!0,(r=o.onFocus)==null||r.call(o)):(e.value=!1,(l=o.onBlur)==null||l.call(o))});Ge(()=>{t(),De--,De||ro()})}return Lt(e)}function ao(){document.addEventListener("focusin",ut),ct=!0,Ze.value=document.activeElement}function ro(){document.removeEventListener("focusin",ut)}function ut(){Ze.value=document.activeElement}const io={class:"VPMenuLink"},lo=b({__name:"VPMenuLink",props:{item:{}},setup(o){const{page:e}=H();return(t,n)=>(a(),c("div",io,[g(oe,{class:z({active:i(fe)(i(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel},{default:p(()=>[x(I(t.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),Ae=P(lo,[["__scopeId","data-v-022f611a"]]),co={class:"VPMenuGroup"},uo={key:0,class:"title"},vo=b({__name:"VPMenuGroup",props:{text:{},items:{}},setup(o){return(e,t)=>(a(),c("div",co,[e.text?(a(),c("p",uo,I(e.text),1)):$("",!0),(a(!0),c(F,null,Y(e.items,n=>(a(),c(F,null,["link"in n?(a(),V(Ae,{key:0,item:n},null,8,["item"])):$("",!0)],64))),256))]))}}),fo=P(vo,[["__scopeId","data-v-c0a76c26"]]),po={class:"VPMenu"},ho={key:0,class:"items"},mo=b({__name:"VPMenu",props:{items:{}},setup(o){return(e,t)=>(a(),c("div",po,[e.items?(a(),c("div",ho,[(a(!0),c(F,null,Y(e.items,n=>(a(),c(F,{key:JSON.stringify(n)},["link"in n?(a(),V(Ae,{key:0,item:n},null,8,["item"])):"component"in n?(a(),V(se(n.component),le({key:1,ref_for:!0},n.props),null,16)):(a(),V(fo,{key:2,text:n.text,items:n.items},null,8,["text","items"]))],64))),128))])):$("",!0),f(e.$slots,"default",{},void 0,!0)]))}}),_o=P(mo,[["__scopeId","data-v-abb60f50"]]),go=["aria-expanded","aria-label"],$o={key:0,class:"text"},bo=["innerHTML"],ko={key:1,class:"vpi-more-horizontal icon"},yo={class:"menu"},Po=b({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(o){const e=E(!1),t=E();oo({el:t,onBlur:n});function n(){e.value=!1}return(s,r)=>(a(),c("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:r[1]||(r[1]=l=>e.value=!0),onMouseleave:r[2]||(r[2]=l=>e.value=!1)},[u("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":s.label,onClick:r[0]||(r[0]=l=>e.value=!e.value)},[s.button||s.icon?(a(),c("span",$o,[s.icon?(a(),c("span",{key:0,class:z([s.icon,"option-icon"])},null,2)):$("",!0),s.button?(a(),c("span",{key:1,innerHTML:s.button},null,8,bo)):$("",!0),r[3]||(r[3]=u("span",{class:"vpi-chevron-down text-icon"},null,-1))])):(a(),c("span",ko))],8,go),u("div",yo,[g(_o,{items:s.items},{default:p(()=>[f(s.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),Qe=P(Po,[["__scopeId","data-v-bc3f2f0c"]]),So=["href","aria-label","innerHTML"],Lo=b({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(o){const e=o,t=N(()=>typeof e.icon=="object"?e.icon.svg:``);return(n,s)=>(a(),c("a",{class:"VPSocialLink no-icon",href:n.link,"aria-label":n.ariaLabel??(typeof n.icon=="string"?n.icon:""),target:"_blank",rel:"noopener",innerHTML:t.value},null,8,So))}}),Vo=P(Lo,[["__scopeId","data-v-f2047137"]]),Mo={class:"VPSocialLinks"},wo=b({__name:"VPSocialLinks",props:{links:{}},setup(o){return(e,t)=>(a(),c("div",Mo,[(a(!0),c(F,null,Y(e.links,({link:n,icon:s,ariaLabel:r})=>(a(),V(Vo,{key:n,icon:s,link:n,ariaLabel:r},null,8,["icon","link","ariaLabel"]))),128))]))}}),Xe=P(wo,[["__scopeId","data-v-dfe25b12"]]),To={key:0,class:"group translations"},No={class:"trans-title"},Io={key:1,class:"group"},Co={class:"item appearance"},Ao={class:"label"},Do={class:"appearance-action"},Bo={key:2,class:"group"},Ho={class:"item social-links"},Oo=b({__name:"VPNavBarExtra",setup(o){const{site:e,theme:t}=H(),{localeLinks:n,currentLang:s}=Pe({correspondingLink:!0}),r=N(()=>n.value.length&&s.value.label||e.value.appearance||t.value.socialLinks);return(l,d)=>r.value?(a(),V(Qe,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:p(()=>[i(n).length&&i(s).label?(a(),c("div",To,[u("p",No,I(i(s).label),1),(a(!0),c(F,null,Y(i(n),v=>(a(),V(Ae,{key:v.link,item:v},null,8,["item"]))),128))])):$("",!0),i(e).appearance&&i(e).appearance!=="force-dark"&&i(e).appearance!=="force-auto"?(a(),c("div",Io,[u("div",Co,[u("p",Ao,I(i(t).darkModeSwitchLabel||"Appearance"),1),u("div",Do,[g(Re)])])])):$("",!0),i(t).socialLinks?(a(),c("div",Bo,[u("div",Ho,[g(Xe,{class:"social-links-list",links:i(t).socialLinks},null,8,["links"])])])):$("",!0)]),_:1})):$("",!0)}}),Eo=P(Oo,[["__scopeId","data-v-07da511f"]]),Fo=["aria-expanded"],zo=b({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(o){return(e,t)=>(a(),c("button",{type:"button",class:z(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=n=>e.$emit("click"))},t[1]||(t[1]=[u("span",{class:"container"},[u("span",{class:"top"}),u("span",{class:"middle"}),u("span",{class:"bottom"})],-1)]),10,Fo))}}),dt=P(zo,[["__scopeId","data-v-c780af75"]]),jo=["innerHTML"],Uo=b({__name:"VPNavBarMenuLink",props:{item:{}},setup(o){const{page:e}=H();return(t,n)=>(a(),V(oe,{class:z({VPNavBarMenuLink:!0,active:i(fe)(i(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:p(()=>[u("span",{innerHTML:t.item.text},null,8,jo)]),_:1},8,["class","href","noIcon","target","rel"]))}}),Go=P(Uo,[["__scopeId","data-v-3e3626b6"]]),Wo=b({__name:"VPNavBarMenuGroup",props:{item:{}},setup(o){const e=o,{page:t}=H(),n=r=>"component"in r?!1:"link"in r?fe(t.value.relativePath,r.link,!!e.item.activeMatch):r.items.some(n),s=N(()=>n(e.item));return(r,l)=>(a(),V(Qe,{class:z({VPNavBarMenuGroup:!0,active:i(fe)(i(t).relativePath,r.item.activeMatch,!!r.item.activeMatch)||s.value}),button:r.item.text,items:r.item.items},null,8,["class","button","items"]))}}),Yo={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Jo=b({__name:"VPNavBarMenu",setup(o){const{theme:e}=H();return(t,n)=>i(e).nav?(a(),c("nav",Yo,[n[0]||(n[0]=u("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),(a(!0),c(F,null,Y(i(e).nav,s=>(a(),c(F,{key:JSON.stringify(s)},["link"in s?(a(),V(Go,{key:0,item:s},null,8,["item"])):"component"in s?(a(),V(se(s.component),le({key:1,ref_for:!0},s.props),null,16)):(a(),V(Wo,{key:2,item:s},null,8,["item"]))],64))),128))])):$("",!0)}}),qo=P(Jo,[["__scopeId","data-v-c5c4a470"]]);function Ko(o){const{localeIndex:e,theme:t}=H();function n(s){var C,O,L;const r=s.split("."),l=(C=t.value.search)==null?void 0:C.options,d=l&&typeof l=="object",v=d&&((L=(O=l.locales)==null?void 0:O[e.value])==null?void 0:L.translations)||null,h=d&&l.translations||null;let M=v,m=h,T=o;const S=r.pop();for(const G of r){let Z=null;const ee=T==null?void 0:T[G];ee&&(Z=T=ee);const ne=m==null?void 0:m[G];ne&&(Z=m=ne);const J=M==null?void 0:M[G];J&&(Z=M=J),ee||(T=Z),ne||(m=Z),J||(M=Z)}return(M==null?void 0:M[S])??(m==null?void 0:m[S])??(T==null?void 0:T[S])??""}return n}const Ro=["aria-label"],Zo={class:"DocSearch-Button-Container"},Qo={class:"DocSearch-Button-Placeholder"},tt=b({__name:"VPNavBarSearchButton",setup(o){const t=Ko({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(n,s)=>(a(),c("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":i(t)("button.buttonAriaLabel")},[u("span",Zo,[s[0]||(s[0]=u("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1)),u("span",Qo,I(i(t)("button.buttonText")),1)]),s[1]||(s[1]=u("span",{class:"DocSearch-Button-Keys"},[u("kbd",{class:"DocSearch-Button-Key"}),u("kbd",{class:"DocSearch-Button-Key"},"K")],-1))],8,Ro))}}),Xo={class:"VPNavBarSearch"},xo={id:"local-search"},ea={key:1,id:"docsearch"},vt=b({__name:"VPNavBarSearch",setup(o){const e=Vt(()=>Mt(()=>import("./VPLocalSearchBox.DUPcTUiS.js"),__vite__mapDeps([0,1]))),t=()=>null,{theme:n}=H(),s=E(!1),r=E(!1);pe(()=>{});function l(){s.value||(s.value=!0,setTimeout(d,16))}function d(){const m=new Event("keydown");m.key="k",m.metaKey=!0,window.dispatchEvent(m),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||d()},16)}function v(m){const T=m.target,S=T.tagName;return T.isContentEditable||S==="INPUT"||S==="SELECT"||S==="TEXTAREA"}const h=E(!1);Oe("k",m=>{(m.ctrlKey||m.metaKey)&&(m.preventDefault(),h.value=!0)}),Oe("/",m=>{v(m)||(m.preventDefault(),h.value=!0)});const M="local";return(m,T)=>{var S;return a(),c("div",Xo,[i(M)==="local"?(a(),c(F,{key:0},[h.value?(a(),V(i(e),{key:0,onClose:T[0]||(T[0]=C=>h.value=!1)})):$("",!0),u("div",xo,[g(tt,{onClick:T[1]||(T[1]=C=>h.value=!0)})])],64)):i(M)==="algolia"?(a(),c(F,{key:1},[s.value?(a(),V(i(t),{key:0,algolia:((S=i(n).search)==null?void 0:S.options)??i(n).algolia,onVnodeBeforeMount:T[2]||(T[2]=C=>r.value=!0)},null,8,["algolia"])):$("",!0),r.value?$("",!0):(a(),c("div",ea,[g(tt,{onClick:l})]))],64)):$("",!0)])}}}),ta=b({__name:"VPNavBarSocialLinks",setup(o){const{theme:e}=H();return(t,n)=>i(e).socialLinks?(a(),V(Xe,{key:0,class:"VPNavBarSocialLinks",links:i(e).socialLinks},null,8,["links"])):$("",!0)}}),xe=P(ta,[["__scopeId","data-v-ab2f1b6c"]]),na=["href","rel","target"],sa={key:1},oa={key:2},aa=b({__name:"VPNavBarTitle",setup(o){const{site:e,theme:t}=H(),{hasSidebar:n}=ae(),{currentLang:s}=Pe(),r=N(()=>{var v;return typeof t.value.logoLink=="string"?t.value.logoLink:(v=t.value.logoLink)==null?void 0:v.link}),l=N(()=>{var v;return typeof t.value.logoLink=="string"||(v=t.value.logoLink)==null?void 0:v.rel}),d=N(()=>{var v;return typeof t.value.logoLink=="string"||(v=t.value.logoLink)==null?void 0:v.target});return(v,h)=>(a(),c("div",{class:z(["VPNavBarTitle",{"has-sidebar":i(n)}])},[u("a",{class:"title",href:r.value??i(qe)(i(s).link),rel:l.value,target:d.value},[f(v.$slots,"nav-bar-title-before",{},void 0,!0),i(t).logo?(a(),V(we,{key:0,class:"logo",image:i(t).logo},null,8,["image"])):$("",!0),i(t).siteTitle?(a(),c("span",sa,I(i(t).siteTitle),1)):i(t).siteTitle===void 0?(a(),c("span",oa,I(i(e).title),1)):$("",!0),f(v.$slots,"nav-bar-title-after",{},void 0,!0)],8,na)],2))}}),ra=P(aa,[["__scopeId","data-v-c5f6aca5"]]),ia={class:"items"},la={class:"title"},ca=b({__name:"VPNavBarTranslations",setup(o){const{theme:e}=H(),{localeLinks:t,currentLang:n}=Pe({correspondingLink:!0});return(s,r)=>i(t).length&&i(n).label?(a(),V(Qe,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:i(e).langMenuLabel||"Change language"},{default:p(()=>[u("div",ia,[u("p",la,I(i(n).label),1),(a(!0),c(F,null,Y(i(t),l=>(a(),V(Ae,{key:l.link,item:l},null,8,["item"]))),128))])]),_:1},8,["label"])):$("",!0)}}),ua=P(ca,[["__scopeId","data-v-8a2a8fa9"]]),da={class:"wrapper"},va={class:"container"},fa={class:"title"},pa={class:"content"},ha={class:"content-body"},ma=b({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(o){const e=o,{y:t}=st(),{hasSidebar:n}=ae(),{frontmatter:s}=H(),r=E({});return We(()=>{r.value={"has-sidebar":n.value,home:s.value.layout==="home",top:t.value===0,"screen-open":e.isScreenOpen}}),(l,d)=>(a(),c("div",{class:z(["VPNavBar",r.value])},[u("div",da,[u("div",va,[u("div",fa,[g(ra,null,{"nav-bar-title-before":p(()=>[f(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":p(()=>[f(l.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),u("div",pa,[u("div",ha,[f(l.$slots,"nav-bar-content-before",{},void 0,!0),g(vt,{class:"search"}),g(qo,{class:"menu"}),g(ua,{class:"translations"}),g(so,{class:"appearance"}),g(xe,{class:"social-links"}),g(Eo,{class:"extra"}),f(l.$slots,"nav-bar-content-after",{},void 0,!0),g(dt,{class:"hamburger",active:l.isScreenOpen,onClick:d[0]||(d[0]=v=>l.$emit("toggle-screen"))},null,8,["active"])])])])]),d[1]||(d[1]=u("div",{class:"divider"},[u("div",{class:"divider-line"})],-1))],2))}}),_a=P(ma,[["__scopeId","data-v-f8a99ca9"]]),ga={key:0,class:"VPNavScreenAppearance"},$a={class:"text"},ba=b({__name:"VPNavScreenAppearance",setup(o){const{site:e,theme:t}=H();return(n,s)=>i(e).appearance&&i(e).appearance!=="force-dark"&&i(e).appearance!=="force-auto"?(a(),c("div",ga,[u("p",$a,I(i(t).darkModeSwitchLabel||"Appearance"),1),g(Re)])):$("",!0)}}),ka=P(ba,[["__scopeId","data-v-f069eb95"]]),ya=b({__name:"VPNavScreenMenuLink",props:{item:{}},setup(o){const e=ye("close-screen");return(t,n)=>(a(),V(oe,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:i(e),innerHTML:t.item.text},null,8,["href","target","rel","onClick","innerHTML"]))}}),Pa=P(ya,[["__scopeId","data-v-46ec9c3a"]]),Sa=b({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(o){const e=ye("close-screen");return(t,n)=>(a(),V(oe,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:i(e)},{default:p(()=>[x(I(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),ft=P(Sa,[["__scopeId","data-v-13ae3aaf"]]),La={class:"VPNavScreenMenuGroupSection"},Va={key:0,class:"title"},Ma=b({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(o){return(e,t)=>(a(),c("div",La,[e.text?(a(),c("p",Va,I(e.text),1)):$("",!0),(a(!0),c(F,null,Y(e.items,n=>(a(),V(ft,{key:n.text,item:n},null,8,["item"]))),128))]))}}),wa=P(Ma,[["__scopeId","data-v-34c9d36c"]]),Ta=["aria-controls","aria-expanded"],Na=["innerHTML"],Ia=["id"],Ca={key:0,class:"item"},Aa={key:1,class:"item"},Da={key:2,class:"group"},Ba=b({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(o){const e=o,t=E(!1),n=N(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function s(){t.value=!t.value}return(r,l)=>(a(),c("div",{class:z(["VPNavScreenMenuGroup",{open:t.value}])},[u("button",{class:"button","aria-controls":n.value,"aria-expanded":t.value,onClick:s},[u("span",{class:"button-text",innerHTML:r.text},null,8,Na),l[0]||(l[0]=u("span",{class:"vpi-plus button-icon"},null,-1))],8,Ta),u("div",{id:n.value,class:"items"},[(a(!0),c(F,null,Y(r.items,d=>(a(),c(F,{key:JSON.stringify(d)},["link"in d?(a(),c("div",Ca,[g(ft,{item:d},null,8,["item"])])):"component"in d?(a(),c("div",Aa,[(a(),V(se(d.component),le({ref_for:!0},d.props,{"screen-menu":""}),null,16))])):(a(),c("div",Da,[g(wa,{text:d.text,items:d.items},null,8,["text","items"])]))],64))),128))],8,Ia)],2))}}),Ha=P(Ba,[["__scopeId","data-v-7f58dbdf"]]),Oa={key:0,class:"VPNavScreenMenu"},Ea=b({__name:"VPNavScreenMenu",setup(o){const{theme:e}=H();return(t,n)=>i(e).nav?(a(),c("nav",Oa,[(a(!0),c(F,null,Y(i(e).nav,s=>(a(),c(F,{key:JSON.stringify(s)},["link"in s?(a(),V(Pa,{key:0,item:s},null,8,["item"])):"component"in s?(a(),V(se(s.component),le({key:1,ref_for:!0},s.props,{"screen-menu":""}),null,16)):(a(),V(Ha,{key:2,text:s.text||"",items:s.items},null,8,["text","items"]))],64))),128))])):$("",!0)}}),Fa=b({__name:"VPNavScreenSocialLinks",setup(o){const{theme:e}=H();return(t,n)=>i(e).socialLinks?(a(),V(Xe,{key:0,class:"VPNavScreenSocialLinks",links:i(e).socialLinks},null,8,["links"])):$("",!0)}}),za={class:"list"},ja=b({__name:"VPNavScreenTranslations",setup(o){const{localeLinks:e,currentLang:t}=Pe({correspondingLink:!0}),n=E(!1);function s(){n.value=!n.value}return(r,l)=>i(e).length&&i(t).label?(a(),c("div",{key:0,class:z(["VPNavScreenTranslations",{open:n.value}])},[u("button",{class:"title",onClick:s},[l[0]||(l[0]=u("span",{class:"vpi-languages icon lang"},null,-1)),x(" "+I(i(t).label)+" ",1),l[1]||(l[1]=u("span",{class:"vpi-chevron-down icon chevron"},null,-1))]),u("ul",za,[(a(!0),c(F,null,Y(i(e),d=>(a(),c("li",{key:d.link,class:"item"},[g(oe,{class:"link",href:d.link},{default:p(()=>[x(I(d.text),1)]),_:2},1032,["href"])]))),128))])],2)):$("",!0)}}),Ua=P(ja,[["__scopeId","data-v-c0b11bb0"]]),Ga={class:"container"},Wa=b({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(o){const e=E(null),t=ot(Ce?document.body:null);return(n,s)=>(a(),V(Ue,{name:"fade",onEnter:s[0]||(s[0]=r=>t.value=!0),onAfterLeave:s[1]||(s[1]=r=>t.value=!1)},{default:p(()=>[n.open?(a(),c("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e,id:"VPNavScreen"},[u("div",Ga,[f(n.$slots,"nav-screen-content-before",{},void 0,!0),g(Ea,{class:"menu"}),g(Ua,{class:"translations"}),g(ka,{class:"appearance"}),g(Fa,{class:"social-links"}),f(n.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):$("",!0)]),_:3}))}}),pt=P(Wa,[["__scopeId","data-v-6cff0a32"]]),Ya={key:0,class:"VPNav"},Ja=b({__name:"VPNav",setup(o){const{isScreenOpen:e,closeScreen:t,toggleScreen:n}=lt(),{frontmatter:s}=H(),r=N(()=>s.value.navbar!==!1);return Je("close-screen",t),Te(()=>{Ce&&document.documentElement.classList.toggle("hide-nav",!r.value)}),(l,d)=>r.value?(a(),c("header",Ya,[g(_a,{"is-screen-open":i(e),onToggleScreen:i(n)},{"nav-bar-title-before":p(()=>[f(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":p(()=>[f(l.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":p(()=>[f(l.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":p(()=>[f(l.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),g(pt,{open:i(e)},{"nav-screen-content-before":p(()=>[f(l.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":p(()=>[f(l.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):$("",!0)}}),qa=P(Ja,[["__scopeId","data-v-6d1425b1"]]),Ka=["role","tabindex"],Ra={key:1,class:"items"},Za=b({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(o){const e=o,{collapsed:t,collapsible:n,isLink:s,isActiveLink:r,hasActiveLink:l,hasChildren:d,toggle:v}=Xt(N(()=>e.item)),h=N(()=>d.value?"section":"div"),M=N(()=>s.value?"a":"div"),m=N(()=>d.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),T=N(()=>s.value?void 0:"button"),S=N(()=>[[`level-${e.depth}`],{collapsible:n.value},{collapsed:t.value},{"is-link":s.value},{"is-active":r.value},{"has-active":l.value}]);function C(L){"key"in L&&L.key!=="Enter"||!e.item.link&&v()}function O(){e.item.link&&v()}return(L,G)=>{const Z=he("VPSidebarItem",!0);return a(),V(se(h.value),{class:z(["VPSidebarItem",S.value])},{default:p(()=>[L.item.text?(a(),c("div",le({key:0,class:"item",role:T.value},Tt(L.item.items?{click:C,keydown:C}:{},!0),{tabindex:L.item.items&&0}),[G[1]||(G[1]=u("div",{class:"indicator"},null,-1)),L.item.link?(a(),V(oe,{key:0,tag:M.value,class:"link",href:L.item.link,rel:L.item.rel,target:L.item.target},{default:p(()=>[(a(),V(se(m.value),{class:"text",innerHTML:L.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(a(),V(se(m.value),{key:1,class:"text",innerHTML:L.item.text},null,8,["innerHTML"])),L.item.collapsed!=null&&L.item.items&&L.item.items.length?(a(),c("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:O,onKeydown:wt(O,["enter"]),tabindex:"0"},G[0]||(G[0]=[u("span",{class:"vpi-chevron-right caret-icon"},null,-1)]),32)):$("",!0)],16,Ka)):$("",!0),L.item.items&&L.item.items.length?(a(),c("div",Ra,[L.depth<5?(a(!0),c(F,{key:0},Y(L.item.items,ee=>(a(),V(Z,{key:ee.text,item:ee,depth:L.depth+1},null,8,["item","depth"]))),128)):$("",!0)])):$("",!0)]),_:1},8,["class"])}}}),Qa=P(Za,[["__scopeId","data-v-4d485cd8"]]),Xa=b({__name:"VPSidebarGroup",props:{items:{}},setup(o){const e=E(!0);let t=null;return pe(()=>{t=setTimeout(()=>{t=null,e.value=!1},300)}),Nt(()=>{t!=null&&(clearTimeout(t),t=null)}),(n,s)=>(a(!0),c(F,null,Y(n.items,r=>(a(),c("div",{key:r.text,class:z(["group",{"no-transition":e.value}])},[g(Qa,{item:r,depth:0},null,8,["item"])],2))),128))}}),xa=P(Xa,[["__scopeId","data-v-ed9c5b74"]]),er={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},tr=b({__name:"VPSidebar",props:{open:{type:Boolean}},setup(o){const{sidebarGroups:e,hasSidebar:t}=ae(),n=o,s=E(null),r=ot(Ce?document.body:null);re([n,s],()=>{var d;n.open?(r.value=!0,(d=s.value)==null||d.focus()):r.value=!1},{immediate:!0,flush:"post"});const l=E(0);return re(e,()=>{l.value+=1},{deep:!0}),(d,v)=>i(t)?(a(),c("aside",{key:0,class:z(["VPSidebar",{open:d.open}]),ref_key:"navEl",ref:s,onClick:v[0]||(v[0]=It(()=>{},["stop"]))},[v[2]||(v[2]=u("div",{class:"curtain"},null,-1)),u("nav",er,[v[1]||(v[1]=u("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),f(d.$slots,"sidebar-nav-before",{},void 0,!0),(a(),V(xa,{items:i(e),key:l.value},null,8,["items"])),f(d.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):$("",!0)}}),nr=P(tr,[["__scopeId","data-v-161dc330"]]),sr=b({__name:"VPSkipLink",setup(o){const e=Ne(),t=E();re(()=>e.path,()=>t.value.focus());function n({target:s}){const r=document.getElementById(decodeURIComponent(s.hash).slice(1));if(r){const l=()=>{r.removeAttribute("tabindex"),r.removeEventListener("blur",l)};r.setAttribute("tabindex","-1"),r.addEventListener("blur",l),r.focus(),window.scrollTo(0,0)}}return(s,r)=>(a(),c(F,null,[u("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),u("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:n}," Skip to content ")],64))}}),or=P(sr,[["__scopeId","data-v-90ea3606"]]),ar=b({__name:"Layout",setup(o){const{isOpen:e,open:t,close:n}=ae(),s=Ne();re(()=>s.path,n),Qt(e,n);const{frontmatter:r}=H(),l=Ct(),d=N(()=>!!l["home-hero-image"]);return Je("hero-image-slot-exists",d),(v,h)=>{const M=he("Content");return i(r).layout!==!1?(a(),c("div",{key:0,class:z(["Layout",i(r).pageClass])},[f(v.$slots,"layout-top",{},void 0,!0),g(or),g(Et,{class:"backdrop",show:i(e),onClick:i(n)},null,8,["show","onClick"]),g(qa,null,{"nav-bar-title-before":p(()=>[f(v.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":p(()=>[f(v.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":p(()=>[f(v.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":p(()=>[f(v.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":p(()=>[f(v.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":p(()=>[f(v.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),g(qs,{open:i(e),onOpenMenu:i(t)},null,8,["open","onOpenMenu"]),g(nr,{open:i(e)},{"sidebar-nav-before":p(()=>[f(v.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":p(()=>[f(v.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),g(Is,null,{"page-top":p(()=>[f(v.$slots,"page-top",{},void 0,!0)]),"page-bottom":p(()=>[f(v.$slots,"page-bottom",{},void 0,!0)]),"not-found":p(()=>[f(v.$slots,"not-found",{},void 0,!0)]),"home-hero-before":p(()=>[f(v.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":p(()=>[f(v.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":p(()=>[f(v.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":p(()=>[f(v.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":p(()=>[f(v.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":p(()=>[f(v.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":p(()=>[f(v.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":p(()=>[f(v.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":p(()=>[f(v.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":p(()=>[f(v.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":p(()=>[f(v.$slots,"doc-before",{},void 0,!0)]),"doc-after":p(()=>[f(v.$slots,"doc-after",{},void 0,!0)]),"doc-top":p(()=>[f(v.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":p(()=>[f(v.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":p(()=>[f(v.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":p(()=>[f(v.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":p(()=>[f(v.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":p(()=>[f(v.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":p(()=>[f(v.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":p(()=>[f(v.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),g(Hs),f(v.$slots,"layout-bottom",{},void 0,!0)],2)):(a(),V(M,{key:1}))}}}),rr=P(ar,[["__scopeId","data-v-a73ed0b3"]]),je={Layout:rr,enhanceApp:({app:o})=>{o.component("Badge",Bt)}};function ir(o){const e={};for(let t=0;t{e[r]||(e[r]=[]),e[r].push(n)})}return e}function lr(o){const e=[];let t="0",n=-1;for(let s=0;st.id&&t.hasChildNodes()).map(t=>{const n=Number(t.tagName[1]);return{title:ur(t),link:"#"+t.id,level:n}})}function ur(o){let e="";for(const t of o.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor"))continue;e+=t.textContent}else t.nodeType===3&&(e+=t.textContent);return e.trim()}const dr={class:"main"},vr={class:"yearItem"},fr={class:"year"},pr=["href"],hr={class:"title"},mr={class:"date"},_r=b({__name:"Archives",setup(o){const{theme:e}=ce(),t=N(()=>lr(e.value.posts));return(n,s)=>(a(),c("div",dr,[(a(!0),c(F,null,Y(t.value,r=>(a(),c("div",vr,[u("div",fr,I(r[0].frontMatter.date.split("-")[0]),1),(a(!0),c(F,null,Y(r,(l,d)=>(a(),c("a",{href:i(ge)(l.regularPath),key:d,class:"article"},[u("div",hr,[s[0]||(s[0]=u("div",{class:"title-o"},null,-1)),x(" "+I(l.frontMatter.title),1)]),u("div",mr,I(l.frontMatter.date.slice(5)),1)],8,pr))),128))]))),256))]))}}),gr=P(_r,[["__scopeId","data-v-69b61450"]]),$r={class:"main"},br={class:"tags"},kr=["onClick"],yr={class:"tag-length"},Pr={class:"header"},Sr={t:"1641783753540",class:"fas-icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1254",style:{width:"20px"}},Lr={class:"header-text"},Vr=["href"],Mr={class:"title"},wr={class:"date"},Tr=b({__name:"Tags",setup(o){const{theme:e}=ce(),t=N(()=>ir(e.value.posts));let n=E("");const s=l=>{n.value=l},r=l=>({fontSize:`${l*.04+.85}em`});return(l,d)=>(a(),c("div",$r,[d[2]||(d[2]=u("h1",{class:"tags-header"},"Tags",-1)),u("div",br,[(a(!0),c(F,null,Y(t.value,(v,h)=>(a(),c("span",{onClick:M=>s(h),class:z(["tag",{activetag:i(n)===h}]),style:Ie(r(t.value[h].length))},[x(I(h)+" ",1),u("span",yr,I(t.value[h].length),1)],14,kr))),256))]),At(u("h4",Pr,[(a(),c("svg",Sr,d[0]||(d[0]=[u("path",{d:"M995.126867 592.38l-360.08 360.08a53.333333 53.333333 0 0 1-71.333334 3.68l356.22-356.22a64 64 0 0 0 0-90.506667L495.8402 85.333333h45.573333a52.986667 52.986667 0 0 1 37.713334 15.62l416 416a53.4 53.4 0 0 1 0 75.426667z m-128 0l-360.08 360.08a53.333333 53.333333 0 0 1-75.426667 0l-416-416A52.986667 52.986667 0 0 1 0.0002 498.746667V138.666667a53.393333 53.393333 0 0 1 53.333333-53.333334h360.08a52.986667 52.986667 0 0 1 37.713334 15.62l416 416a53.4 53.4 0 0 1 0 75.426667zM341.333533 341.333333a85.333333 85.333333 0 1 0-85.333333 85.333334 85.426667 85.426667 0 0 0 85.333333-85.333334z",fill:"var(--vp-c-brand)","p-id":"1255"},null,-1)]))),u("span",Lr,I(i(n)),1)],512),[[Dt,i(n)]]),(a(!0),c(F,null,Y(t.value[i(n)],(v,h)=>(a(),c("a",{href:i(ge)(v.regularPath),key:h,class:"article"},[u("div",Mr,[d[1]||(d[1]=u("div",{class:"title-o"},null,-1)),x(" "+I(v.frontMatter.title),1)]),u("div",wr,I(v.frontMatter.date),1)],8,Vr))),128))]))}}),Nr=P(Tr,[["__scopeId","data-v-6b5bf8a1"]]),Ir={},Cr={viewBox:"0 0 24 24",width:"24",height:"24",class:"darkToggleIcon"};function Ar(o,e){return a(),c("svg",Cr,e[0]||(e[0]=[u("path",{fill:"#93949b",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"},null,-1)]))}const Dr=P(Ir,[["render",Ar]]),Br={},Hr={viewBox:"0 0 24 24",width:"24",height:"24",class:"lightToggleIcon"};function Or(o,e){return a(),c("svg",Hr,e[0]||(e[0]=[u("path",{fill:"#67676c",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"},null,-1)]))}const Er=P(Br,[["render",Or]]),Fr={class:"VPNavBar"},zr={class:"container"},jr={class:"content"},Ur={class:"content-body"},Gr={class:"content-body-left"},Wr={href:"/"},Yr={class:"content-body-mid"},Jr={class:"content-body-right"},qr=b({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(o){const{isDark:e}=ce(),t=ye("toggle-appearance",()=>{e.value=!e.value}),{site:n}=ce();return(s,r)=>(a(),c("div",Fr,[u("div",zr,[u("div",jr,[r[1]||(r[1]=u("div",{class:"curtain"},null,-1)),u("div",Ur,[u("div",Gr,[u("a",Wr,I(i(n).title),1)]),u("div",Yr,[g(vt,{class:"search"})]),u("div",Jr,[g(xe,{class:"social-links"}),i(e)?(a(),V(Dr,{key:0,class:"appearance-btn",onClick:i(t)},null,8,["onClick"])):(a(),V(Er,{key:1,class:"appearance-btn",onClick:i(t)},null,8,["onClick"])),g(dt,{class:"hamburger",active:s.isScreenOpen,onClick:r[0]||(r[0]=l=>s.$emit("toggle-screen"))},null,8,["active"])])])])])]))}}),Kr=P(qr,[["__scopeId","data-v-7c1729ca"]]),Rr=b({__name:"Nav",setup(o){const{isScreenOpen:e,closeScreen:t,toggleScreen:n}=lt(),{hasSidebar:s}=ae();return Je("close-screen",t),(r,l)=>(a(),c("header",{class:z(["Nav",{"no-sidebar":!i(s)}])},[g(Kr,{"is-screen-open":i(e),onToggleScreen:i(n)},null,8,["is-screen-open","onToggleScreen"]),g(pt,{open:i(e)},{"nav-screen-content-before":p(()=>[f(r.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":p(()=>[f(r.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])],2))}}),Zr=P(Rr,[["__scopeId","data-v-19dffaed"]]),Qr={class:"footer"},Xr=b({__name:"CopyWright",setup(o){const e=new Date().getFullYear();return(t,n)=>(a(),c("div",Qr,[g(xe),u("footer",null,[n[0]||(n[0]=x(" Powered by ")),n[1]||(n[1]=u("a",{href:"https://github.com/drl990114",target:"_blank",title:"作者"},"drl990114",-1)),x(" | Copyright © 2023-"+I(i(e))+" | MIT License ",1)])]))}}),xr=P(Xr,[["__scopeId","data-v-b0668316"]]),ei={},ti={viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg",class:"pagination__button--next-icon"};function ni(o,e){return a(),c("svg",ti,e[0]||(e[0]=[u("path",{d:"M142.382 16.892l-24.485 24.449c-2.938 2.934-4.897 7.335-4.897 11.246 0 3.912 1.959 8.313 4.897 11.246l192.448 192.168-192.448 192.168c-2.938 2.934-4.897 7.335-4.897 11.246 0 4.401 1.959 8.313 4.897 11.246l24.485 24.449c2.938 2.934 7.345 4.89 11.263 4.89s8.325-1.956 11.263-4.89l228.196-227.864c2.938-2.934 4.897-7.335 4.897-11.246 0-3.912-1.959-8.313-4.897-11.246l-228.196-227.864c-2.938-2.934-7.345-4.89-11.263-4.89s-8.325 1.956-11.263 4.89v.002z"},null,-1)]))}const si=P(ei,[["render",ni]]),oi={},ai={viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg",class:"pagination__button--prev-icon"};function ri(o,e){return a(),c("svg",ai,e[0]||(e[0]=[u("path",{d:"M368.619 16.892l24.485 24.449c2.938 2.934 4.897 7.335 4.897 11.246 0 3.912-1.959 8.313-4.897 11.246l-192.448 192.168 192.448 192.168c2.938 2.934 4.897 7.335 4.897 11.246 0 4.401-1.959 8.313-4.897 11.246l-24.485 24.449c-2.938 2.934-7.345 4.89-11.263 4.89s-8.325-1.956-11.263-4.89l-228.196-227.864c-2.938-2.934-4.897-7.335-4.897-11.246 0-3.912 1.959-8.313 4.897-11.246l228.196-227.864c2.938-2.934 7.345-4.89 11.263-4.89s8.325 1.956 11.263 4.89v.002z"},null,-1)]))}const ii=P(oi,[["render",ri]]),li={class:"blogList"},ci=["href"],ui={class:"title"},di={class:"date"},vi={class:"pagination"},fi={class:"left pageLocation"},pi=b({__name:"Page",setup(o){const{theme:e}=ce();let t=e.value.posts||[],n=e.value.postLength,s=e.value.pageSize,r=n%s===0?n/s:n/s+1;r=parseInt(r.toString());let l=E(1);t=t.filter(S=>S.regularPath.indexOf("index")<0);let d={};for(let S=0;Ss-1&&(v+=1),d[v].push(t[S]);let h=E([]);h.value=d[l.value-1];const M=S=>{l.value=S,h.value=d[l.value-1]},m=S=>{const C=S.split("-");let O=C[0],L="",G=C[2];switch(C[1]){case"1":case"01":L="Jan";break;case"2":case"02":L="Feb";break;case"3":case"03":L="Mar";break;case"4":case"04":L="Apr";break;case"5":case"05":L="May";break;case"6":case"06":L="Jun";break;case"7":case"07":L="Jul";break;case"8":case"08":L="Aug";break;case"9":case"09":L="Sep";break;case"10":L="Oct";break;case"11":L="Nov";break;case"12":L="Dec";break;default:L="Month"}return`${L} ${G}, ${O}`},T=S=>{const C=S%3===2,O=S%3===0,L="1px solid var(--border-color)",G={};return O&&(G["border-right"]=L),C&&(G["border-left"]=L),G};return(S,C)=>(a(),c(F,null,[u("div",li,[(a(!0),c(F,null,Y(i(h),(O,L)=>(a(),c("a",{class:"blog",style:Ie(T(L)),href:i(ge)(O.regularPath)},[u("div",ui,I(O.frontMatter.title),1),u("div",di,I(m(O.frontMatter.date)),1)],12,ci))),256))]),u("div",vi,[u("div",fi,I(`Page: ${i(l)}/${i(r)}`),1),i(l)>1?(a(),c("button",{key:0,class:"left-btn",onClick:C[0]||(C[0]=O=>M(i(l)-1))},[g(ii)])):$("",!0),i(l)M(i(l)+1))},[g(si)])):$("",!0)])],64))}}),hi=P(pi,[["__scopeId","data-v-37cff8cf"]]),mi={key:0,class:"category"},_i={class:"list"},gi={class:"header"},$i=["href"],bi={key:1},ki={class:"header"},yi=["href"],Pi=b({__name:"Category",setup(o){const{frontmatter:e,theme:t}=ce(),n=Ye([]),s=E(!1);return $e(()=>{n.value=cr(e.value.outline??t.value.outline),s.value=n.value.some(r=>r.level===2)}),(r,l)=>n.value.length>0?(a(),c("div",mi,[u("ul",_i,[(a(!0),c(F,null,Y(n.value,d=>(a(),c("li",gi,[d.level===2?(a(),c("a",{key:0,href:d.link,class:"header-h2"},I(d.title),9,$i)):$("",!0),d.level===3?(a(),c("ul",bi,[u("li",ki,[u("a",{href:d.link,class:z(["header-h3",{showIndent:s.value}])},I(d.title),11,yi)])])):$("",!0)]))),256))])])):$("",!0)}}),Si=P(Pi,[["__scopeId","data-v-0f737ab8"]]);var ht=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function mt(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var _t={exports:{}};(function(o,e){(function(t,n){o.exports=n()})(ht,function(){var t=1e3,n=6e4,s=36e5,r="millisecond",l="second",d="minute",v="hour",h="day",M="week",m="month",T="quarter",S="year",C="date",O="Invalid Date",L=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,G=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,Z={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(A){var y=["th","st","nd","rd"],_=A%100;return"["+A+(y[(_-20)%10]||y[_]||y[0])+"]"}},ee=function(A,y,_){var w=String(A);return!w||w.length>=y?A:""+Array(y+1-w.length).join(_)+A},ne={s:ee,z:function(A){var y=-A.utcOffset(),_=Math.abs(y),w=Math.floor(_/60),k=_%60;return(y<=0?"+":"-")+ee(w,2,"0")+":"+ee(k,2,"0")},m:function A(y,_){if(y.date()<_.date())return-A(_,y);var w=12*(_.year()-y.year())+(_.month()-y.month()),k=y.clone().add(w,m),D=_-k<0,B=y.clone().add(w+(D?-1:1),m);return+(-(w+(_-k)/(D?k-B:B-k))||0)},a:function(A){return A<0?Math.ceil(A)||0:Math.floor(A)},p:function(A){return{M:m,y:S,w:M,d:h,D:C,h:v,m:d,s:l,ms:r,Q:T}[A]||String(A||"").toLowerCase().replace(/s$/,"")},u:function(A){return A===void 0}},J="en",Q={};Q[J]=Z;var me="$isDayjsObject",ue=function(A){return A instanceof Le||!(!A||!A[me])},Se=function A(y,_,w){var k;if(!y)return J;if(typeof y=="string"){var D=y.toLowerCase();Q[D]&&(k=D),_&&(Q[D]=_,k=D);var B=y.split("-");if(!k&&B.length>1)return A(B[0])}else{var U=y.name;Q[U]=y,k=U}return!w&&k&&(J=k),k||!w&&J},q=function(A,y){if(ue(A))return A.clone();var _=typeof y=="object"?y:{};return _.date=A,_.args=arguments,new Le(_)},j=ne;j.l=Se,j.i=ue,j.w=function(A,y){return q(A,{locale:y.$L,utc:y.$u,x:y.$x,$offset:y.$offset})};var Le=function(){function A(_){this.$L=Se(_.locale,null,!0),this.parse(_),this.$x=this.$x||_.x||{},this[me]=!0}var y=A.prototype;return y.parse=function(_){this.$d=function(w){var k=w.date,D=w.utc;if(k===null)return new Date(NaN);if(j.u(k))return new Date;if(k instanceof Date)return new Date(k);if(typeof k=="string"&&!/Z$/i.test(k)){var B=k.match(L);if(B){var U=B[2]-1||0,W=(B[7]||"0").substring(0,3);return D?new Date(Date.UTC(B[1],U,B[3]||1,B[4]||0,B[5]||0,B[6]||0,W)):new Date(B[1],U,B[3]||1,B[4]||0,B[5]||0,B[6]||0,W)}}return new Date(k)}(_),this.init()},y.init=function(){var _=this.$d;this.$y=_.getFullYear(),this.$M=_.getMonth(),this.$D=_.getDate(),this.$W=_.getDay(),this.$H=_.getHours(),this.$m=_.getMinutes(),this.$s=_.getSeconds(),this.$ms=_.getMilliseconds()},y.$utils=function(){return j},y.isValid=function(){return this.$d.toString()!==O},y.isSame=function(_,w){var k=q(_);return this.startOf(w)<=k&&k<=this.endOf(w)},y.isAfter=function(_,w){return q(_)0,Q<=J.r||!J.r){Q<=1&&ne>0&&(J=Z[ne-1]);var me=G[J.l];S&&(Q=S(""+Q)),O=typeof me=="string"?me.replace("%d",Q):me(Q,M,J.l,L);break}}if(M)return O;var ue=L?G.future:G.past;return typeof ue=="function"?ue(O):ue.replace("%s",O)},r.to=function(h,M){return d(h,M,this,!0)},r.from=function(h,M){return d(h,M,this)};var v=function(h){return h.$u?s.utc():s()};r.toNow=function(h){return this.to(v(this),h)},r.fromNow=function(h){return this.from(v(this),h)}}})})(gt);var Vi=gt.exports;const Mi=mt(Vi),wi={class:"title"},Ti={class:"date"},Ni=b({__name:"Title",setup(o){const e=ce().page,t=E("");return Be.extend(Mi),$e(()=>{const{frontmatter:n}=e.value;t.value=Be().to(Be(n.date||Date.now()))}),(n,s)=>(a(),c(F,null,[u("h1",wi,I(i(e).title),1),u("div",Ti,"🕒 Published at: "+I(t.value),1)],64))}}),Ii=P(Ni,[["__scopeId","data-v-ac80d3c4"]]),Ci=b({__name:"MyLayout",setup(o){const{Layout:e}=je,t=()=>{history.back()};return(n,s)=>(a(),c(F,null,[g(Zr),g(i(e),null,{"doc-before":p(()=>[g(Ii),g(Si)]),"doc-after":p(()=>[s[0]||(s[0]=u("div",{class:"done"},"--- Done ---",-1)),u("div",null,[u("button",{onClick:t},"cd ··")])]),"home-features-after":p(()=>[g(hi)]),_:1}),g(xr)],64))}}),Ai=P(Ci,[["__scopeId","data-v-029789cf"]]),Bi={...je,Layout:Ai,enhanceApp(o){je.enhanceApp(o);const{app:e}=o;e.component("Archives",gr),e.component("Tags",Nr)}};export{Bi as R,Ko as c,H as u}; diff --git a/assets/chunks/theme.DrOS_k1Q.js b/assets/chunks/theme.DrOS_k1Q.js new file mode 100644 index 0000000..b4b4e1a --- /dev/null +++ b/assets/chunks/theme.DrOS_k1Q.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/VPLocalSearchBox.Dxxc2frX.js","assets/chunks/framework.CIgcugFM.js"])))=>i.map(i=>d[i]); +import{d as b,o as a,c,r as h,n as z,a as te,t as N,b as V,w as p,e as g,T as We,_ as S,u as de,i as wt,f as Tt,g as be,h as T,j as u,k as i,p as G,l as W,m as fe,q as Ee,s as E,v as le,x as Ne,y as _e,z as Ye,A as qe,B as It,C as Nt,D as me,F,E as q,G as Je,H as ke,I as $,J as ae,K as at,L as Ce,M as ue,N as Pe,O as Ct,P as Ae,Q as Fe,R as At,S as rt,U as De,V as Dt,W as it,X as Bt,Y as Ht,Z as lt,$ as Ke,a0 as Ot,a1 as Et,a2 as Ft,a3 as zt,a4 as jt,a5 as Ut,a6 as Gt}from"./framework.CIgcugFM.js";const Wt=b({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(n){return(e,t)=>(a(),c("span",{class:z(["VPBadge",e.type])},[h(e.$slots,"default",{},()=>[te(N(e.text),1)])],2))}}),Yt={key:0,class:"VPBackdrop"},qt=b({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(n){return(e,t)=>(a(),V(We,{name:"fade"},{default:p(()=>[e.show?(a(),c("div",Yt)):g("",!0)]),_:1}))}}),Jt=S(qt,[["__scopeId","data-v-f3ebc82c"]]),H=de;function Kt(n,e){let t,s=!1;return()=>{t&&clearTimeout(t),s?t=setTimeout(n,e):(n(),(s=!0)&&setTimeout(()=>s=!1,e))}}function ze(n){return/^\//.test(n)?n:`/${n}`}function Re(n){const{pathname:e,search:t,hash:s,protocol:o}=new URL(n,"http://a.com");if(wt(n)||n.startsWith("#")||!o.startsWith("http")||!Tt(e))return n;const{site:r}=H(),l=e.endsWith("/")||e.endsWith(".html")?n:n.replace(/(?:(^\.+)\/)?.*$/,`$1${e.replace(/(\.md)?$/,r.value.cleanUrls?"":".html")}${t}${s}`);return be(l)}function Le({correspondingLink:n=!1}={}){const{site:e,localeIndex:t,page:s,theme:o,hash:r}=H(),l=T(()=>{var v,f;return{label:(v=e.value.locales[t.value])==null?void 0:v.label,link:((f=e.value.locales[t.value])==null?void 0:f.link)||(t.value==="root"?"/":`/${t.value}/`)}});return{localeLinks:T(()=>Object.entries(e.value.locales).flatMap(([v,f])=>l.value.label===f.label?[]:{text:f.label,link:Rt(f.link||(v==="root"?"/":`/${v}/`),o.value.i18nRouting!==!1&&n,s.value.relativePath.slice(l.value.link.length-1),!e.value.cleanUrls)+r.value})),currentLang:l}}function Rt(n,e,t,s){return e?n.replace(/\/$/,"")+ze(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,s?".html":"")):n}const Zt=n=>(G("data-v-b277c33e"),n=n(),W(),n),Qt={class:"NotFound"},Xt={class:"code"},xt={class:"title"},en=Zt(()=>u("div",{class:"divider"},null,-1)),tn={class:"quote"},nn={class:"action"},sn=["href","aria-label"],on=b({__name:"NotFound",setup(n){const{theme:e}=H(),{currentLang:t}=Le();return(s,o)=>{var r,l,d,v,f;return a(),c("div",Qt,[u("p",Xt,N(((r=i(e).notFound)==null?void 0:r.code)??"404"),1),u("h1",xt,N(((l=i(e).notFound)==null?void 0:l.title)??"PAGE NOT FOUND"),1),en,u("blockquote",tn,N(((d=i(e).notFound)==null?void 0:d.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),u("div",nn,[u("a",{class:"link",href:i(be)(i(t).link),"aria-label":((v=i(e).notFound)==null?void 0:v.linkLabel)??"go to home"},N(((f=i(e).notFound)==null?void 0:f.linkText)??"Take me home"),9,sn)])])}}}),an=S(on,[["__scopeId","data-v-b277c33e"]]);function ct(n,e){if(Array.isArray(n))return Te(n);if(n==null)return[];e=ze(e);const t=Object.keys(n).sort((o,r)=>r.split("/").length-o.split("/").length).find(o=>e.startsWith(ze(o))),s=t?n[t]:[];return Array.isArray(s)?Te(s):Te(s.items,s.base)}function rn(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 ln(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 je(n,e){return Array.isArray(e)?e.some(t=>je(n,t)):fe(n,e.link)?!0:e.items?je(n,e.items):!1}function Te(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=Te(s.items,o)),s})}function ie(){const{frontmatter:n,page:e,theme:t}=H(),s=Ee("(min-width: 960px)"),o=E(!1),r=T(()=>{const O=t.value.sidebar,L=e.value.relativePath;return O?ct(O,L):[]}),l=E(r.value);le(r,(O,L)=>{JSON.stringify(O)!==JSON.stringify(L)&&(l.value=r.value)});const d=T(()=>n.value.sidebar!==!1&&l.value.length>0&&n.value.layout!=="home"),v=T(()=>f?n.value.aside==null?t.value.aside==="left":n.value.aside==="left":!1),f=T(()=>n.value.layout==="home"?!1:n.value.aside!=null?!!n.value.aside:t.value.aside!==!1),w=T(()=>d.value&&s.value),m=T(()=>d.value?rn(l.value):[]);function I(){o.value=!0}function P(){o.value=!1}function C(){o.value?P():I()}return{isOpen:o,sidebar:l,sidebarGroups:m,hasSidebar:d,hasAside:f,leftAside:v,isSidebarEnabled:w,open:I,close:P,toggle:C}}function cn(n,e){let t;Ne(()=>{t=n.value?document.activeElement:void 0}),_e(()=>{window.addEventListener("keyup",s)}),Ye(()=>{window.removeEventListener("keyup",s)});function s(o){o.key==="Escape"&&n.value&&(e(),t==null||t.focus())}}function un(n){const{page:e,hash:t}=H(),s=E(!1),o=T(()=>n.value.collapsed!=null),r=T(()=>!!n.value.link),l=E(!1),d=()=>{l.value=fe(e.value.relativePath,n.value.link)};le([e,n,t],d),_e(d);const v=T(()=>l.value?!0:n.value.items?je(e.value.relativePath,n.value.items):!1),f=T(()=>!!(n.value.items&&n.value.items.length));Ne(()=>{s.value=!!(o.value&&n.value.collapsed)}),qe(()=>{(l.value||v.value)&&(s.value=!1)});function w(){o.value&&(s.value=!s.value)}return{collapsed:s,collapsible:o,isLink:r,isActiveLink:l,hasActiveLink:v,hasChildren:f,toggle:w}}function dn(){const{hasSidebar:n}=ie(),e=Ee("(min-width: 960px)"),t=Ee("(min-width: 1280px)");return{isAsideEnabled:T(()=>!t.value&&!e.value?!1:n.value?t.value:e.value)}}const Ue=[];function ut(n){return typeof n.outline=="object"&&!Array.isArray(n.outline)&&n.outline.label||n.outlineTitle||"On this page"}function Ze(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:hn(t),link:"#"+t.id,level:s}});return vn(e,n)}function hn(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 vn(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(l=>l.level>=s&&l.level<=o),Ue.length=0;for(const{element:l,link:d}of n)Ue.push({element:l,link:d});const r=[];e:for(let l=0;l=0;v--){const f=n[v];if(f.level{requestAnimationFrame(r),window.addEventListener("scroll",s)}),It(()=>{l(location.hash)}),Ye(()=>{window.removeEventListener("scroll",s)});function r(){if(!t.value)return;const d=window.scrollY,v=window.innerHeight,f=document.body.offsetHeight,w=Math.abs(d+v-f)<1,m=Ue.map(({element:P,link:C})=>({link:C,top:fn(P)})).filter(({top:P})=>!Number.isNaN(P)).sort((P,C)=>P.top-C.top);if(!m.length){l(null);return}if(d<1){l(null);return}if(w){l(m[m.length-1].link);return}let I=null;for(const{link:P,top:C}of m){if(C>d+Nt()+4)break;I=P}l(I)}function l(d){o&&o.classList.remove("active"),d==null?o=null:o=n.value.querySelector(`a[href="${decodeURIComponent(d)}"]`);const v=o;v?(v.classList.add("active"),e.value.style.top=v.offsetTop+39+"px",e.value.style.opacity="1"):(e.value.style.top="33px",e.value.style.opacity="0")}}function fn(n){let e=0;for(;n!==document.body;){if(n===null)return NaN;e+=n.offsetTop,n=n.offsetParent}return e}const _n=["href","title"],mn=b({__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=me("VPDocOutlineItem",!0);return a(),c("ul",{class:z(["VPDocOutlineItem",t.root?"root":"nested"])},[(a(!0),c(F,null,q(t.headers,({children:r,link:l,title:d})=>(a(),c("li",null,[u("a",{class:"outline-link",href:l,onClick:e,title:d},N(d),9,_n),r!=null&&r.length?(a(),V(o,{key:0,headers:r},null,8,["headers"])):g("",!0)]))),256))],2)}}}),dt=S(mn,[["__scopeId","data-v-3b549ecf"]]),$n={class:"content"},gn={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},bn=b({__name:"VPDocAsideOutline",setup(n){const{frontmatter:e,theme:t}=H(),s=Je([]);ke(()=>{s.value=Ze(e.value.outline??t.value.outline)});const o=E(),r=E();return pn(o,r),(l,d)=>(a(),c("nav",{"aria-labelledby":"doc-outline-aria-label",class:z(["VPDocAsideOutline",{"has-outline":s.value.length>0}]),ref_key:"container",ref:o},[u("div",$n,[u("div",{class:"outline-marker",ref_key:"marker",ref:r},null,512),u("div",gn,N(i(ut)(i(t))),1),$(dt,{headers:s.value,root:!0},null,8,["headers"])])],2))}}),kn=S(bn,[["__scopeId","data-v-a8a0b7d3"]]),yn={class:"VPDocAsideCarbonAds"},Sn=b({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(n){const e=()=>null;return(t,s)=>(a(),c("div",yn,[$(i(e),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),Pn=n=>(G("data-v-ede31528"),n=n(),W(),n),Ln={class:"VPDocAside"},Vn=Pn(()=>u("div",{class:"spacer"},null,-1)),Mn=b({__name:"VPDocAside",setup(n){const{theme:e}=H();return(t,s)=>(a(),c("div",Ln,[h(t.$slots,"aside-top",{},void 0,!0),h(t.$slots,"aside-outline-before",{},void 0,!0),$(kn),h(t.$slots,"aside-outline-after",{},void 0,!0),Vn,h(t.$slots,"aside-ads-before",{},void 0,!0),i(e).carbonAds?(a(),V(Sn,{key:0,"carbon-ads":i(e).carbonAds},null,8,["carbon-ads"])):g("",!0),h(t.$slots,"aside-ads-after",{},void 0,!0),h(t.$slots,"aside-bottom",{},void 0,!0)]))}}),wn=S(Mn,[["__scopeId","data-v-ede31528"]]);function Tn(){const{theme:n,page:e}=H();return T(()=>{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 In(){const{page:n,theme:e,frontmatter:t}=H();return T(()=>{var f,w,m,I,P,C,O,L;const s=ct(e.value.sidebar,n.value.relativePath),o=ln(s),r=Nn(o,J=>J.link.replace(/[?#].*$/,"")),l=r.findIndex(J=>fe(n.value.relativePath,J.link)),d=((f=e.value.docFooter)==null?void 0:f.prev)===!1&&!t.value.prev||t.value.prev===!1,v=((w=e.value.docFooter)==null?void 0:w.next)===!1&&!t.value.next||t.value.next===!1;return{prev:d?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((m=r[l-1])==null?void 0:m.docFooterText)??((I=r[l-1])==null?void 0:I.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((P=r[l-1])==null?void 0:P.link)},next:v?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((C=r[l+1])==null?void 0:C.docFooterText)??((O=r[l+1])==null?void 0:O.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((L=r[l+1])==null?void 0:L.link)}}})}function Nn(n,e){const t=new Set;return n.filter(s=>{const o=e(s);return t.has(o)?!1:t.add(o)})}const re=b({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(n){const e=n,t=T(()=>e.tag??(e.href?"a":"span")),s=T(()=>e.href&&at.test(e.href)||e.target==="_blank");return(o,r)=>(a(),V(ae(t.value),{class:z(["VPLink",{link:o.href,"vp-external-link-icon":s.value,"no-icon":o.noIcon}]),href:o.href?i(Re)(o.href):void 0,target:o.target??(s.value?"_blank":void 0),rel:o.rel??(s.value?"noreferrer":void 0)},{default:p(()=>[h(o.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),Cn={class:"VPLastUpdated"},An=["datetime"],Dn=b({__name:"VPDocFooterLastUpdated",setup(n){const{theme:e,page:t,lang:s}=H(),o=T(()=>new Date(t.value.lastUpdated)),r=T(()=>o.value.toISOString()),l=E("");return _e(()=>{Ne(()=>{var d,v,f;l.value=new Intl.DateTimeFormat((v=(d=e.value.lastUpdated)==null?void 0:d.formatOptions)!=null&&v.forceLocale?s.value:void 0,((f=e.value.lastUpdated)==null?void 0:f.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(o.value)})}),(d,v)=>{var f;return a(),c("p",Cn,[te(N(((f=i(e).lastUpdated)==null?void 0:f.text)||i(e).lastUpdatedText||"Last updated")+": ",1),u("time",{datetime:r.value},N(l.value),9,An)])}}}),Bn=S(Dn,[["__scopeId","data-v-76022e04"]]),ht=n=>(G("data-v-449c00c2"),n=n(),W(),n),Hn={key:0,class:"VPDocFooter"},On={key:0,class:"edit-info"},En={key:0,class:"edit-link"},Fn=ht(()=>u("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),zn={key:1,class:"last-updated"},jn={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},Un=ht(()=>u("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),Gn={class:"pager"},Wn=["innerHTML"],Yn=["innerHTML"],qn={class:"pager"},Jn=["innerHTML"],Kn=["innerHTML"],Rn=b({__name:"VPDocFooter",setup(n){const{theme:e,page:t,frontmatter:s}=H(),o=Tn(),r=In(),l=T(()=>e.value.editLink&&s.value.editLink!==!1),d=T(()=>t.value.lastUpdated),v=T(()=>l.value||d.value||r.value.prev||r.value.next);return(f,w)=>{var m,I,P,C;return v.value?(a(),c("footer",Hn,[h(f.$slots,"doc-footer-before",{},void 0,!0),l.value||d.value?(a(),c("div",On,[l.value?(a(),c("div",En,[$(re,{class:"edit-link-button",href:i(o).url,"no-icon":!0},{default:p(()=>[Fn,te(" "+N(i(o).text),1)]),_:1},8,["href"])])):g("",!0),d.value?(a(),c("div",zn,[$(Bn)])):g("",!0)])):g("",!0),(m=i(r).prev)!=null&&m.link||(I=i(r).next)!=null&&I.link?(a(),c("nav",jn,[Un,u("div",Gn,[(P=i(r).prev)!=null&&P.link?(a(),V(re,{key:0,class:"pager-link prev",href:i(r).prev.link},{default:p(()=>{var O;return[u("span",{class:"desc",innerHTML:((O=i(e).docFooter)==null?void 0:O.prev)||"Previous page"},null,8,Wn),u("span",{class:"title",innerHTML:i(r).prev.text},null,8,Yn)]}),_:1},8,["href"])):g("",!0)]),u("div",qn,[(C=i(r).next)!=null&&C.link?(a(),V(re,{key:0,class:"pager-link next",href:i(r).next.link},{default:p(()=>{var O;return[u("span",{class:"desc",innerHTML:((O=i(e).docFooter)==null?void 0:O.next)||"Next page"},null,8,Jn),u("span",{class:"title",innerHTML:i(r).next.text},null,8,Kn)]}),_:1},8,["href"])):g("",!0)])])):g("",!0)])):g("",!0)}}}),Zn=S(Rn,[["__scopeId","data-v-449c00c2"]]),Qn=n=>(G("data-v-943ae9ad"),n=n(),W(),n),Xn={class:"container"},xn=Qn(()=>u("div",{class:"aside-curtain"},null,-1)),es={class:"aside-container"},ts={class:"aside-content"},ns={class:"content"},ss={class:"content-container"},os={class:"main"},as=b({__name:"VPDoc",setup(n){const{theme:e}=H(),t=Ce(),{hasSidebar:s,hasAside:o,leftAside:r}=ie(),l=T(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(d,v)=>{const f=me("Content");return a(),c("div",{class:z(["VPDoc",{"has-sidebar":i(s),"has-aside":i(o)}])},[h(d.$slots,"doc-top",{},void 0,!0),u("div",Xn,[i(o)?(a(),c("div",{key:0,class:z(["aside",{"left-aside":i(r)}])},[xn,u("div",es,[u("div",ts,[$(wn,null,{"aside-top":p(()=>[h(d.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":p(()=>[h(d.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":p(()=>[h(d.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":p(()=>[h(d.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":p(()=>[h(d.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":p(()=>[h(d.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):g("",!0),u("div",ns,[u("div",ss,[h(d.$slots,"doc-before",{},void 0,!0),u("main",os,[$(f,{class:z(["vp-doc",[l.value,i(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),$(Zn,null,{"doc-footer-before":p(()=>[h(d.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),h(d.$slots,"doc-after",{},void 0,!0)])])]),h(d.$slots,"doc-bottom",{},void 0,!0)],2)}}}),rs=S(as,[["__scopeId","data-v-943ae9ad"]]),is=b({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(n){const e=n,t=T(()=>e.href&&at.test(e.href)),s=T(()=>e.tag||e.href?"a":"button");return(o,r)=>(a(),V(ae(s.value),{class:z(["VPButton",[o.size,o.theme]]),href:o.href?i(Re)(o.href):void 0,target:e.target??(t.value?"_blank":void 0),rel:e.rel??(t.value?"noreferrer":void 0)},{default:p(()=>[te(N(o.text),1)]),_:1},8,["class","href","target","rel"]))}}),ls=S(is,[["__scopeId","data-v-6a1dd9c6"]]),cs=["src","alt"],us=b({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(n){return(e,t)=>{const s=me("VPImage",!0);return e.image?(a(),c(F,{key:0},[typeof e.image=="string"||"src"in e.image?(a(),c("img",ue({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:i(be)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,cs)):(a(),c(F,{key:1},[$(s,ue({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),$(s,ue({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):g("",!0)}}}),Ie=S(us,[["__scopeId","data-v-305cd967"]]),ds=n=>(G("data-v-4634711c"),n=n(),W(),n),hs={class:"container"},vs={class:"main"},ps={key:0,class:"name"},fs=["innerHTML"],_s=["innerHTML"],ms=["innerHTML"],$s={key:0,class:"actions"},gs={key:0,class:"image"},bs={class:"image-container"},ks=ds(()=>u("div",{class:"image-bg"},null,-1)),ys=b({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(n){const e=Pe("hero-image-slot-exists");return(t,s)=>(a(),c("div",{class:z(["VPHero",{"has-image":t.image||i(e)}])},[u("div",hs,[u("div",vs,[h(t.$slots,"home-hero-info-before",{},void 0,!0),h(t.$slots,"home-hero-info",{},()=>[t.name?(a(),c("h1",ps,[u("span",{innerHTML:t.name,class:"clip"},null,8,fs)])):g("",!0),t.text?(a(),c("p",{key:1,innerHTML:t.text,class:"text"},null,8,_s)):g("",!0),t.tagline?(a(),c("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,ms)):g("",!0)],!0),h(t.$slots,"home-hero-info-after",{},void 0,!0),t.actions?(a(),c("div",$s,[(a(!0),c(F,null,q(t.actions,o=>(a(),c("div",{key:o.link,class:"action"},[$(ls,{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))])):g("",!0),h(t.$slots,"home-hero-actions-after",{},void 0,!0)]),t.image||i(e)?(a(),c("div",gs,[u("div",bs,[ks,h(t.$slots,"home-hero-image",{},()=>[t.image?(a(),V(Ie,{key:0,class:"image-src",image:t.image},null,8,["image"])):g("",!0)],!0)])])):g("",!0)])],2))}}),Ss=S(ys,[["__scopeId","data-v-4634711c"]]),Ps=b({__name:"VPHomeHero",setup(n){const{frontmatter:e}=H();return(t,s)=>i(e).hero?(a(),V(Ss,{key:0,class:"VPHomeHero",name:i(e).hero.name,text:i(e).hero.text,tagline:i(e).hero.tagline,image:i(e).hero.image,actions:i(e).hero.actions},{"home-hero-info-before":p(()=>[h(t.$slots,"home-hero-info-before")]),"home-hero-info":p(()=>[h(t.$slots,"home-hero-info")]),"home-hero-info-after":p(()=>[h(t.$slots,"home-hero-info-after")]),"home-hero-actions-after":p(()=>[h(t.$slots,"home-hero-actions-after")]),"home-hero-image":p(()=>[h(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):g("",!0)}}),Ls=n=>(G("data-v-5322e115"),n=n(),W(),n),Vs={class:"box"},Ms={key:0,class:"icon"},ws=["innerHTML"],Ts=["innerHTML"],Is=["innerHTML"],Ns={key:4,class:"link-text"},Cs={class:"link-text-value"},As=Ls(()=>u("span",{class:"vpi-arrow-right link-text-icon"},null,-1)),Ds=b({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(n){return(e,t)=>(a(),V(re,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:p(()=>[u("article",Vs,[typeof e.icon=="object"&&e.icon.wrap?(a(),c("div",Ms,[$(Ie,{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(),V(Ie,{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,ws)):g("",!0),u("h2",{class:"title",innerHTML:e.title},null,8,Ts),e.details?(a(),c("p",{key:3,class:"details",innerHTML:e.details},null,8,Is)):g("",!0),e.linkText?(a(),c("div",Ns,[u("p",Cs,[te(N(e.linkText)+" ",1),As])])):g("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),Bs=S(Ds,[["__scopeId","data-v-5322e115"]]),Hs={key:0,class:"VPFeatures"},Os={class:"container"},Es={class:"items"},Fs=b({__name:"VPFeatures",props:{features:{}},setup(n){const e=n,t=T(()=>{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",Hs,[u("div",Os,[u("div",Es,[(a(!0),c(F,null,q(s.features,r=>(a(),c("div",{key:r.title,class:z(["item",[t.value]])},[$(Bs,{icon:r.icon,title:r.title,details:r.details,link:r.link,"link-text":r.linkText,rel:r.rel,target:r.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):g("",!0)}}),zs=S(Fs,[["__scopeId","data-v-f8663c51"]]),js=b({__name:"VPHomeFeatures",setup(n){const{frontmatter:e}=H();return(t,s)=>i(e).features?(a(),V(zs,{key:0,class:"VPHomeFeatures",features:i(e).features},null,8,["features"])):g("",!0)}}),Us=b({__name:"VPHomeContent",setup(n){const{width:e}=Ct({initialWidth:0,includeScrollbar:!1});return(t,s)=>(a(),c("div",{class:"vp-doc container",style:Ae(i(e)?{"--vp-offset":`calc(50% - ${i(e)/2}px)`}:{})},[h(t.$slots,"default",{},void 0,!0)],4))}}),Gs=S(Us,[["__scopeId","data-v-8c209e8c"]]),Ws={class:"VPHome"},Ys=b({__name:"VPHome",setup(n){const{frontmatter:e}=H();return(t,s)=>{const o=me("Content");return a(),c("div",Ws,[h(t.$slots,"home-hero-before",{},void 0,!0),$(Ps,null,{"home-hero-info-before":p(()=>[h(t.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":p(()=>[h(t.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":p(()=>[h(t.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":p(()=>[h(t.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":p(()=>[h(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),h(t.$slots,"home-hero-after",{},void 0,!0),h(t.$slots,"home-features-before",{},void 0,!0),$(js),h(t.$slots,"home-features-after",{},void 0,!0),i(e).markdownStyles!==!1?(a(),V(Gs,{key:0},{default:p(()=>[$(o)]),_:1})):(a(),V(o,{key:1}))])}}}),qs=S(Ys,[["__scopeId","data-v-a631fb65"]]),Js={},Ks={class:"VPPage"};function Rs(n,e){const t=me("Content");return a(),c("div",Ks,[h(n.$slots,"page-top"),$(t),h(n.$slots,"page-bottom")])}const Zs=S(Js,[["render",Rs]]),Qs=b({__name:"VPContent",setup(n){const{page:e,frontmatter:t}=H(),{hasSidebar:s}=ie();return(o,r)=>(a(),c("div",{class:z(["VPContent",{"has-sidebar":i(s),"is-home":i(t).layout==="home"}]),id:"VPContent"},[i(e).isNotFound?h(o.$slots,"not-found",{key:0},()=>[$(an)],!0):i(t).layout==="page"?(a(),V(Zs,{key:1},{"page-top":p(()=>[h(o.$slots,"page-top",{},void 0,!0)]),"page-bottom":p(()=>[h(o.$slots,"page-bottom",{},void 0,!0)]),_:3})):i(t).layout==="home"?(a(),V(qs,{key:2},{"home-hero-before":p(()=>[h(o.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":p(()=>[h(o.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":p(()=>[h(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":p(()=>[h(o.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":p(()=>[h(o.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":p(()=>[h(o.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":p(()=>[h(o.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":p(()=>[h(o.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":p(()=>[h(o.$slots,"home-features-after",{},void 0,!0)]),_:3})):i(t).layout&&i(t).layout!=="doc"?(a(),V(ae(i(t).layout),{key:3})):(a(),V(rs,{key:4},{"doc-top":p(()=>[h(o.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":p(()=>[h(o.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":p(()=>[h(o.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":p(()=>[h(o.$slots,"doc-before",{},void 0,!0)]),"doc-after":p(()=>[h(o.$slots,"doc-after",{},void 0,!0)]),"aside-top":p(()=>[h(o.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":p(()=>[h(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":p(()=>[h(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":p(()=>[h(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":p(()=>[h(o.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":p(()=>[h(o.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),Xs=S(Qs,[["__scopeId","data-v-e102a39a"]]),xs={class:"container"},eo=["innerHTML"],to=["innerHTML"],no=b({__name:"VPFooter",setup(n){const{theme:e,frontmatter:t}=H(),{hasSidebar:s}=ie();return(o,r)=>i(e).footer&&i(t).footer!==!1?(a(),c("footer",{key:0,class:z(["VPFooter",{"has-sidebar":i(s)}])},[u("div",xs,[i(e).footer.message?(a(),c("p",{key:0,class:"message",innerHTML:i(e).footer.message},null,8,eo)):g("",!0),i(e).footer.copyright?(a(),c("p",{key:1,class:"copyright",innerHTML:i(e).footer.copyright},null,8,to)):g("",!0)])],2)):g("",!0)}}),so=S(no,[["__scopeId","data-v-2123caca"]]);function oo(){const{theme:n,frontmatter:e}=H(),t=Je([]),s=T(()=>t.value.length>0);return ke(()=>{t.value=Ze(e.value.outline??n.value.outline)}),{headers:t,hasLocalNav:s}}const ao=n=>(G("data-v-1316c04b"),n=n(),W(),n),ro={class:"menu-text"},io=ao(()=>u("span",{class:"vpi-chevron-right icon"},null,-1)),lo={class:"header"},co={class:"outline"},uo=b({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(n){const e=n,{theme:t}=H(),s=E(!1),o=E(0),r=E(),l=E();function d(m){var I;(I=r.value)!=null&&I.contains(m.target)||(s.value=!1)}le(s,m=>{if(m){document.addEventListener("click",d);return}document.removeEventListener("click",d)}),Fe("Escape",()=>{s.value=!1}),ke(()=>{s.value=!1});function v(){s.value=!s.value,o.value=window.innerHeight+Math.min(window.scrollY-e.navHeight,0)}function f(m){m.target.classList.contains("outline-link")&&(l.value&&(l.value.style.transition="none"),At(()=>{s.value=!1}))}function w(){s.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(m,I)=>(a(),c("div",{class:"VPLocalNavOutlineDropdown",style:Ae({"--vp-vh":o.value+"px"}),ref_key:"main",ref:r},[m.headers.length>0?(a(),c("button",{key:0,onClick:v,class:z({open:s.value})},[u("span",ro,N(i(ut)(i(t))),1),io],2)):(a(),c("button",{key:1,onClick:w},N(i(t).returnToTopLabel||"Return to top"),1)),$(We,{name:"flyout"},{default:p(()=>[s.value?(a(),c("div",{key:0,ref_key:"items",ref:l,class:"items",onClick:f},[u("div",lo,[u("a",{class:"top-link",href:"#",onClick:w},N(i(t).returnToTopLabel||"Return to top"),1)]),u("div",co,[$(dt,{headers:m.headers},null,8,["headers"])])],512)):g("",!0)]),_:1})],4))}}),ho=S(uo,[["__scopeId","data-v-1316c04b"]]),vo=n=>(G("data-v-b292eb09"),n=n(),W(),n),po={class:"container"},fo=["aria-expanded"],_o=vo(()=>u("span",{class:"vpi-align-left menu-icon"},null,-1)),mo={class:"menu-text"},$o=b({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(n){const{theme:e,frontmatter:t}=H(),{hasSidebar:s}=ie(),{headers:o}=oo(),{y:r}=rt(),l=E(0);_e(()=>{l.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),ke(()=>{o.value=Ze(t.value.outline??e.value.outline)});const d=T(()=>o.value.length===0),v=T(()=>d.value&&!s.value),f=T(()=>({VPLocalNav:!0,"has-sidebar":s.value,empty:d.value,fixed:v.value}));return(w,m)=>i(t).layout!=="home"&&(!v.value||i(r)>=l.value)?(a(),c("div",{key:0,class:z(f.value)},[u("div",po,[i(s)?(a(),c("button",{key:0,class:"menu","aria-expanded":w.open,"aria-controls":"VPSidebarNav",onClick:m[0]||(m[0]=I=>w.$emit("open-menu"))},[_o,u("span",mo,N(i(e).sidebarMenuLabel||"Menu"),1)],8,fo)):g("",!0),$(ho,{headers:i(o),navHeight:l.value},null,8,["headers","navHeight"])])],2)):g("",!0)}}),go=S($o,[["__scopeId","data-v-b292eb09"]]);function vt(){const n=E(!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 r=Ce();return le(()=>r.path,t),{isScreenOpen:n,openScreen:e,closeScreen:t,toggleScreen:s}}const bo={},ko={class:"VPSwitch",type:"button",role:"switch"},yo={class:"check"},So={key:0,class:"icon"};function Po(n,e){return a(),c("button",ko,[u("span",yo,[n.$slots.default?(a(),c("span",So,[h(n.$slots,"default",{},void 0,!0)])):g("",!0)])])}const Lo=S(bo,[["render",Po],["__scopeId","data-v-eb4d77a9"]]),pt=n=>(G("data-v-03c43402"),n=n(),W(),n),Vo=pt(()=>u("span",{class:"vpi-sun sun"},null,-1)),Mo=pt(()=>u("span",{class:"vpi-moon moon"},null,-1)),wo=b({__name:"VPSwitchAppearance",setup(n){const{isDark:e,theme:t}=H(),s=Pe("toggle-appearance",()=>{e.value=!e.value}),o=E("");return qe(()=>{o.value=e.value?t.value.lightModeSwitchTitle||"Switch to light theme":t.value.darkModeSwitchTitle||"Switch to dark theme"}),(r,l)=>(a(),V(Lo,{title:o.value,class:"VPSwitchAppearance","aria-checked":i(e),onClick:i(s)},{default:p(()=>[Vo,Mo]),_:1},8,["title","aria-checked","onClick"]))}}),Qe=S(wo,[["__scopeId","data-v-03c43402"]]),To={key:0,class:"VPNavBarAppearance"},Io=b({__name:"VPNavBarAppearance",setup(n){const{site:e}=H();return(t,s)=>i(e).appearance&&i(e).appearance!=="force-dark"&&i(e).appearance!=="force-auto"?(a(),c("div",To,[$(Qe)])):g("",!0)}}),No=S(Io,[["__scopeId","data-v-641801a7"]]),Xe=E();let ft=!1,He=0;function Co(n){const e=E(!1);if(De){!ft&&Ao(),He++;const t=le(Xe,s=>{var o,r,l;s===n.el.value||(o=n.el.value)!=null&&o.contains(s)?(e.value=!0,(r=n.onFocus)==null||r.call(n)):(e.value=!1,(l=n.onBlur)==null||l.call(n))});Ye(()=>{t(),He--,He||Do()})}return Dt(e)}function Ao(){document.addEventListener("focusin",_t),ft=!0,Xe.value=document.activeElement}function Do(){document.removeEventListener("focusin",_t)}function _t(){Xe.value=document.activeElement}const Bo={class:"VPMenuLink"},Ho=b({__name:"VPMenuLink",props:{item:{}},setup(n){const{page:e}=H();return(t,s)=>(a(),c("div",Bo,[$(re,{class:z({active:i(fe)(i(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel},{default:p(()=>[te(N(t.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),Be=S(Ho,[["__scopeId","data-v-7a049d2f"]]),Oo={class:"VPMenuGroup"},Eo={key:0,class:"title"},Fo=b({__name:"VPMenuGroup",props:{text:{},items:{}},setup(n){return(e,t)=>(a(),c("div",Oo,[e.text?(a(),c("p",Eo,N(e.text),1)):g("",!0),(a(!0),c(F,null,q(e.items,s=>(a(),c(F,null,["link"in s?(a(),V(Be,{key:0,item:s},null,8,["item"])):g("",!0)],64))),256))]))}}),zo=S(Fo,[["__scopeId","data-v-1a01ae8e"]]),jo={class:"VPMenu"},Uo={key:0,class:"items"},Go=b({__name:"VPMenu",props:{items:{}},setup(n){return(e,t)=>(a(),c("div",jo,[e.items?(a(),c("div",Uo,[(a(!0),c(F,null,q(e.items,s=>(a(),c(F,{key:JSON.stringify(s)},["link"in s?(a(),V(Be,{key:0,item:s},null,8,["item"])):"component"in s?(a(),V(ae(s.component),it(ue({key:1},s.props)),null,16)):(a(),V(zo,{key:2,text:s.text,items:s.items},null,8,["text","items"]))],64))),128))])):g("",!0),h(e.$slots,"default",{},void 0,!0)]))}}),Wo=S(Go,[["__scopeId","data-v-22eb0f02"]]),Yo=n=>(G("data-v-adf00cd3"),n=n(),W(),n),qo=["aria-expanded","aria-label"],Jo={key:0,class:"text"},Ko=["innerHTML"],Ro=Yo(()=>u("span",{class:"vpi-chevron-down text-icon"},null,-1)),Zo={key:1,class:"vpi-more-horizontal icon"},Qo={class:"menu"},Xo=b({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(n){const e=E(!1),t=E();Co({el:t,onBlur:s});function s(){e.value=!1}return(o,r)=>(a(),c("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:r[1]||(r[1]=l=>e.value=!0),onMouseleave:r[2]||(r[2]=l=>e.value=!1)},[u("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":o.label,onClick:r[0]||(r[0]=l=>e.value=!e.value)},[o.button||o.icon?(a(),c("span",Jo,[o.icon?(a(),c("span",{key:0,class:z([o.icon,"option-icon"])},null,2)):g("",!0),o.button?(a(),c("span",{key:1,innerHTML:o.button},null,8,Ko)):g("",!0),Ro])):(a(),c("span",Zo))],8,qo),u("div",Qo,[$(Wo,{items:o.items},{default:p(()=>[h(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),xe=S(Xo,[["__scopeId","data-v-adf00cd3"]]),xo=["href","aria-label","innerHTML"],ea=b({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(n){const e=n,t=T(()=>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,xo))}}),ta=S(ea,[["__scopeId","data-v-395cd24e"]]),na={class:"VPSocialLinks"},sa=b({__name:"VPSocialLinks",props:{links:{}},setup(n){return(e,t)=>(a(),c("div",na,[(a(!0),c(F,null,q(e.links,({link:s,icon:o,ariaLabel:r})=>(a(),V(ta,{key:s,icon:o,link:s,ariaLabel:r},null,8,["icon","link","ariaLabel"]))),128))]))}}),et=S(sa,[["__scopeId","data-v-68b17da5"]]),oa={key:0,class:"group translations"},aa={class:"trans-title"},ra={key:1,class:"group"},ia={class:"item appearance"},la={class:"label"},ca={class:"appearance-action"},ua={key:2,class:"group"},da={class:"item social-links"},ha=b({__name:"VPNavBarExtra",setup(n){const{site:e,theme:t}=H(),{localeLinks:s,currentLang:o}=Le({correspondingLink:!0}),r=T(()=>s.value.length&&o.value.label||e.value.appearance||t.value.socialLinks);return(l,d)=>r.value?(a(),V(xe,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:p(()=>[i(s).length&&i(o).label?(a(),c("div",oa,[u("p",aa,N(i(o).label),1),(a(!0),c(F,null,q(i(s),v=>(a(),V(Be,{key:v.link,item:v},null,8,["item"]))),128))])):g("",!0),i(e).appearance&&i(e).appearance!=="force-dark"&&i(e).appearance!=="force-auto"?(a(),c("div",ra,[u("div",ia,[u("p",la,N(i(t).darkModeSwitchLabel||"Appearance"),1),u("div",ca,[$(Qe)])])])):g("",!0),i(t).socialLinks?(a(),c("div",ua,[u("div",da,[$(et,{class:"social-links-list",links:i(t).socialLinks},null,8,["links"])])])):g("",!0)]),_:1})):g("",!0)}}),va=S(ha,[["__scopeId","data-v-9d221d8e"]]),pa=n=>(G("data-v-136d4c78"),n=n(),W(),n),fa=["aria-expanded"],_a=pa(()=>u("span",{class:"container"},[u("span",{class:"top"}),u("span",{class:"middle"}),u("span",{class:"bottom"})],-1)),ma=[_a],$a=b({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(n){return(e,t)=>(a(),c("button",{type:"button",class:z(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=s=>e.$emit("click"))},ma,10,fa))}}),mt=S($a,[["__scopeId","data-v-136d4c78"]]),ga=["innerHTML"],ba=b({__name:"VPNavBarMenuLink",props:{item:{}},setup(n){const{page:e}=H();return(t,s)=>(a(),V(re,{class:z({VPNavBarMenuLink:!0,active:i(fe)(i(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:p(()=>[u("span",{innerHTML:t.item.text},null,8,ga)]),_:1},8,["class","href","noIcon","target","rel"]))}}),ka=S(ba,[["__scopeId","data-v-15ea9bdc"]]),ya=b({__name:"VPNavBarMenuGroup",props:{item:{}},setup(n){const e=n,{page:t}=H(),s=r=>"component"in r?!1:"link"in r?fe(t.value.relativePath,r.link,!!e.item.activeMatch):r.items.some(s),o=T(()=>s(e.item));return(r,l)=>(a(),V(xe,{class:z({VPNavBarMenuGroup:!0,active:i(fe)(i(t).relativePath,r.item.activeMatch,!!r.item.activeMatch)||o.value}),button:r.item.text,items:r.item.items},null,8,["class","button","items"]))}}),Sa=n=>(G("data-v-3dac80f6"),n=n(),W(),n),Pa={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},La=Sa(()=>u("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),Va=b({__name:"VPNavBarMenu",setup(n){const{theme:e}=H();return(t,s)=>i(e).nav?(a(),c("nav",Pa,[La,(a(!0),c(F,null,q(i(e).nav,o=>(a(),c(F,{key:JSON.stringify(o)},["link"in o?(a(),V(ka,{key:0,item:o},null,8,["item"])):"component"in o?(a(),V(ae(o.component),it(ue({key:1},o.props)),null,16)):(a(),V(ya,{key:2,item:o},null,8,["item"]))],64))),128))])):g("",!0)}}),Ma=S(Va,[["__scopeId","data-v-3dac80f6"]]);function wa(n){const{localeIndex:e,theme:t}=H();function s(o){var C,O,L;const r=o.split("."),l=(C=t.value.search)==null?void 0:C.options,d=l&&typeof l=="object",v=d&&((L=(O=l.locales)==null?void 0:O[e.value])==null?void 0:L.translations)||null,f=d&&l.translations||null;let w=v,m=f,I=n;const P=r.pop();for(const J of r){let X=null;const ne=I==null?void 0:I[J];ne&&(X=I=ne);const oe=m==null?void 0:m[J];oe&&(X=m=oe);const K=w==null?void 0:w[J];K&&(X=w=K),ne||(I=X),oe||(m=X),K||(w=X)}return(w==null?void 0:w[P])??(m==null?void 0:m[P])??(I==null?void 0:I[P])??""}return s}const Ta=["aria-label"],Ia={class:"DocSearch-Button-Container"},Na=u("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1),Ca={class:"DocSearch-Button-Placeholder"},Aa=u("span",{class:"DocSearch-Button-Keys"},[u("kbd",{class:"DocSearch-Button-Key"}),u("kbd",{class:"DocSearch-Button-Key"},"K")],-1),ot=b({__name:"VPNavBarSearchButton",setup(n){const t=wa({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(s,o)=>(a(),c("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":i(t)("button.buttonAriaLabel")},[u("span",Ia,[Na,u("span",Ca,N(i(t)("button.buttonText")),1)]),Aa],8,Ta))}}),Da={class:"VPNavBarSearch"},Ba={id:"local-search"},Ha={key:1,id:"docsearch"},$t=b({__name:"VPNavBarSearch",setup(n){const e=Bt(()=>Ht(()=>import("./VPLocalSearchBox.Dxxc2frX.js"),__vite__mapDeps([0,1]))),t=()=>null,{theme:s}=H(),o=E(!1),r=E(!1);_e(()=>{});function l(){o.value||(o.value=!0,setTimeout(d,16))}function d(){const m=new Event("keydown");m.key="k",m.metaKey=!0,window.dispatchEvent(m),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||d()},16)}function v(m){const I=m.target,P=I.tagName;return I.isContentEditable||P==="INPUT"||P==="SELECT"||P==="TEXTAREA"}const f=E(!1);Fe("k",m=>{(m.ctrlKey||m.metaKey)&&(m.preventDefault(),f.value=!0)}),Fe("/",m=>{v(m)||(m.preventDefault(),f.value=!0)});const w="local";return(m,I)=>{var P;return a(),c("div",Da,[i(w)==="local"?(a(),c(F,{key:0},[f.value?(a(),V(i(e),{key:0,onClose:I[0]||(I[0]=C=>f.value=!1)})):g("",!0),u("div",Ba,[$(ot,{onClick:I[1]||(I[1]=C=>f.value=!0)})])],64)):i(w)==="algolia"?(a(),c(F,{key:1},[o.value?(a(),V(i(t),{key:0,algolia:((P=i(s).search)==null?void 0:P.options)??i(s).algolia,onVnodeBeforeMount:I[2]||(I[2]=C=>r.value=!0)},null,8,["algolia"])):g("",!0),r.value?g("",!0):(a(),c("div",Ha,[$(ot,{onClick:l})]))],64)):g("",!0)])}}}),Oa=b({__name:"VPNavBarSocialLinks",setup(n){const{theme:e}=H();return(t,s)=>i(e).socialLinks?(a(),V(et,{key:0,class:"VPNavBarSocialLinks",links:i(e).socialLinks},null,8,["links"])):g("",!0)}}),tt=S(Oa,[["__scopeId","data-v-7da0964e"]]),Ea=["href","rel","target"],Fa={key:1},za={key:2},ja=b({__name:"VPNavBarTitle",setup(n){const{site:e,theme:t}=H(),{hasSidebar:s}=ie(),{currentLang:o}=Le(),r=T(()=>{var v;return typeof t.value.logoLink=="string"?t.value.logoLink:(v=t.value.logoLink)==null?void 0:v.link}),l=T(()=>{var v;return typeof t.value.logoLink=="string"||(v=t.value.logoLink)==null?void 0:v.rel}),d=T(()=>{var v;return typeof t.value.logoLink=="string"||(v=t.value.logoLink)==null?void 0:v.target});return(v,f)=>(a(),c("div",{class:z(["VPNavBarTitle",{"has-sidebar":i(s)}])},[u("a",{class:"title",href:r.value??i(Re)(i(o).link),rel:l.value,target:d.value},[h(v.$slots,"nav-bar-title-before",{},void 0,!0),i(t).logo?(a(),V(Ie,{key:0,class:"logo",image:i(t).logo},null,8,["image"])):g("",!0),i(t).siteTitle?(a(),c("span",Fa,N(i(t).siteTitle),1)):i(t).siteTitle===void 0?(a(),c("span",za,N(i(e).title),1)):g("",!0),h(v.$slots,"nav-bar-title-after",{},void 0,!0)],8,Ea)],2))}}),Ua=S(ja,[["__scopeId","data-v-231ae850"]]),Ga={class:"items"},Wa={class:"title"},Ya=b({__name:"VPNavBarTranslations",setup(n){const{theme:e}=H(),{localeLinks:t,currentLang:s}=Le({correspondingLink:!0});return(o,r)=>i(t).length&&i(s).label?(a(),V(xe,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:i(e).langMenuLabel||"Change language"},{default:p(()=>[u("div",Ga,[u("p",Wa,N(i(s).label),1),(a(!0),c(F,null,q(i(t),l=>(a(),V(Be,{key:l.link,item:l},null,8,["item"]))),128))])]),_:1},8,["label"])):g("",!0)}}),qa=S(Ya,[["__scopeId","data-v-f175c5c6"]]),Ja=n=>(G("data-v-0e48dce8"),n=n(),W(),n),Ka={class:"wrapper"},Ra={class:"container"},Za={class:"title"},Qa={class:"content"},Xa={class:"content-body"},xa=Ja(()=>u("div",{class:"divider"},[u("div",{class:"divider-line"})],-1)),er=b({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(n){const e=n,{y:t}=rt(),{hasSidebar:s}=ie(),{frontmatter:o}=H(),r=E({});return qe(()=>{r.value={"has-sidebar":s.value,home:o.value.layout==="home",top:t.value===0,"screen-open":e.isScreenOpen}}),(l,d)=>(a(),c("div",{class:z(["VPNavBar",r.value])},[u("div",Ka,[u("div",Ra,[u("div",Za,[$(Ua,null,{"nav-bar-title-before":p(()=>[h(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":p(()=>[h(l.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),u("div",Qa,[u("div",Xa,[h(l.$slots,"nav-bar-content-before",{},void 0,!0),$($t,{class:"search"}),$(Ma,{class:"menu"}),$(qa,{class:"translations"}),$(No,{class:"appearance"}),$(tt,{class:"social-links"}),$(va,{class:"extra"}),h(l.$slots,"nav-bar-content-after",{},void 0,!0),$(mt,{class:"hamburger",active:l.isScreenOpen,onClick:d[0]||(d[0]=v=>l.$emit("toggle-screen"))},null,8,["active"])])])])]),xa],2))}}),tr=S(er,[["__scopeId","data-v-0e48dce8"]]),nr={key:0,class:"VPNavScreenAppearance"},sr={class:"text"},or=b({__name:"VPNavScreenAppearance",setup(n){const{site:e,theme:t}=H();return(s,o)=>i(e).appearance&&i(e).appearance!=="force-dark"&&i(e).appearance!=="force-auto"?(a(),c("div",nr,[u("p",sr,N(i(t).darkModeSwitchLabel||"Appearance"),1),$(Qe)])):g("",!0)}}),ar=S(or,[["__scopeId","data-v-1620cf07"]]),rr=b({__name:"VPNavScreenMenuLink",props:{item:{}},setup(n){const e=Pe("close-screen");return(t,s)=>(a(),V(re,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:i(e),innerHTML:t.item.text},null,8,["href","target","rel","onClick","innerHTML"]))}}),ir=S(rr,[["__scopeId","data-v-f5d8e4b9"]]),lr=b({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(n){const e=Pe("close-screen");return(t,s)=>(a(),V(re,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:i(e)},{default:p(()=>[te(N(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),gt=S(lr,[["__scopeId","data-v-4f441460"]]),cr={class:"VPNavScreenMenuGroupSection"},ur={key:0,class:"title"},dr=b({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(n){return(e,t)=>(a(),c("div",cr,[e.text?(a(),c("p",ur,N(e.text),1)):g("",!0),(a(!0),c(F,null,q(e.items,s=>(a(),V(gt,{key:s.text,item:s},null,8,["item"]))),128))]))}}),hr=S(dr,[["__scopeId","data-v-e5c7f31d"]]),vr=n=>(G("data-v-3b45a700"),n=n(),W(),n),pr=["aria-controls","aria-expanded"],fr=["innerHTML"],_r=vr(()=>u("span",{class:"vpi-plus button-icon"},null,-1)),mr=["id"],$r={key:0,class:"item"},gr={key:1,class:"item"},br={key:2,class:"group"},kr=b({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(n){const e=n,t=E(!1),s=T(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function o(){t.value=!t.value}return(r,l)=>(a(),c("div",{class:z(["VPNavScreenMenuGroup",{open:t.value}])},[u("button",{class:"button","aria-controls":s.value,"aria-expanded":t.value,onClick:o},[u("span",{class:"button-text",innerHTML:r.text},null,8,fr),_r],8,pr),u("div",{id:s.value,class:"items"},[(a(!0),c(F,null,q(r.items,d=>(a(),c(F,{key:JSON.stringify(d)},["link"in d?(a(),c("div",$r,[$(gt,{item:d},null,8,["item"])])):"component"in d?(a(),c("div",gr,[(a(),V(ae(d.component),ue(d.props,{"screen-menu":""}),null,16))])):(a(),c("div",br,[$(hr,{text:d.text,items:d.items},null,8,["text","items"])]))],64))),128))],8,mr)],2))}}),yr=S(kr,[["__scopeId","data-v-3b45a700"]]),Sr={key:0,class:"VPNavScreenMenu"},Pr=b({__name:"VPNavScreenMenu",setup(n){const{theme:e}=H();return(t,s)=>i(e).nav?(a(),c("nav",Sr,[(a(!0),c(F,null,q(i(e).nav,o=>(a(),c(F,{key:JSON.stringify(o)},["link"in o?(a(),V(ir,{key:0,item:o},null,8,["item"])):"component"in o?(a(),V(ae(o.component),ue({key:1},o.props,{"screen-menu":""}),null,16)):(a(),V(yr,{key:2,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):g("",!0)}}),Lr=b({__name:"VPNavScreenSocialLinks",setup(n){const{theme:e}=H();return(t,s)=>i(e).socialLinks?(a(),V(et,{key:0,class:"VPNavScreenSocialLinks",links:i(e).socialLinks},null,8,["links"])):g("",!0)}}),bt=n=>(G("data-v-591f9f7e"),n=n(),W(),n),Vr=bt(()=>u("span",{class:"vpi-languages icon lang"},null,-1)),Mr=bt(()=>u("span",{class:"vpi-chevron-down icon chevron"},null,-1)),wr={class:"list"},Tr=b({__name:"VPNavScreenTranslations",setup(n){const{localeLinks:e,currentLang:t}=Le({correspondingLink:!0}),s=E(!1);function o(){s.value=!s.value}return(r,l)=>i(e).length&&i(t).label?(a(),c("div",{key:0,class:z(["VPNavScreenTranslations",{open:s.value}])},[u("button",{class:"title",onClick:o},[Vr,te(" "+N(i(t).label)+" ",1),Mr]),u("ul",wr,[(a(!0),c(F,null,q(i(e),d=>(a(),c("li",{key:d.link,class:"item"},[$(re,{class:"link",href:d.link},{default:p(()=>[te(N(d.text),1)]),_:2},1032,["href"])]))),128))])],2)):g("",!0)}}),Ir=S(Tr,[["__scopeId","data-v-591f9f7e"]]),Nr={class:"container"},Cr=b({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(n){const e=E(null),t=lt(De?document.body:null);return(s,o)=>(a(),V(We,{name:"fade",onEnter:o[0]||(o[0]=r=>t.value=!0),onAfterLeave:o[1]||(o[1]=r=>t.value=!1)},{default:p(()=>[s.open?(a(),c("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e,id:"VPNavScreen"},[u("div",Nr,[h(s.$slots,"nav-screen-content-before",{},void 0,!0),$(Pr,{class:"menu"}),$(Ir,{class:"translations"}),$(ar,{class:"appearance"}),$(Lr,{class:"social-links"}),h(s.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):g("",!0)]),_:3}))}}),kt=S(Cr,[["__scopeId","data-v-98ef235b"]]),Ar={key:0,class:"VPNav"},Dr=b({__name:"VPNav",setup(n){const{isScreenOpen:e,closeScreen:t,toggleScreen:s}=vt(),{frontmatter:o}=H(),r=T(()=>o.value.navbar!==!1);return Ke("close-screen",t),Ne(()=>{De&&document.documentElement.classList.toggle("hide-nav",!r.value)}),(l,d)=>r.value?(a(),c("header",Ar,[$(tr,{"is-screen-open":i(e),onToggleScreen:i(s)},{"nav-bar-title-before":p(()=>[h(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":p(()=>[h(l.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":p(()=>[h(l.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":p(()=>[h(l.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),$(kt,{open:i(e)},{"nav-screen-content-before":p(()=>[h(l.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":p(()=>[h(l.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):g("",!0)}}),Br=S(Dr,[["__scopeId","data-v-25af929a"]]),yt=n=>(G("data-v-77366673"),n=n(),W(),n),Hr=["role","tabindex"],Or=yt(()=>u("div",{class:"indicator"},null,-1)),Er=yt(()=>u("span",{class:"vpi-chevron-right caret-icon"},null,-1)),Fr=[Er],zr={key:1,class:"items"},jr=b({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(n){const e=n,{collapsed:t,collapsible:s,isLink:o,isActiveLink:r,hasActiveLink:l,hasChildren:d,toggle:v}=un(T(()=>e.item)),f=T(()=>d.value?"section":"div"),w=T(()=>o.value?"a":"div"),m=T(()=>d.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),I=T(()=>o.value?void 0:"button"),P=T(()=>[[`level-${e.depth}`],{collapsible:s.value},{collapsed:t.value},{"is-link":o.value},{"is-active":r.value},{"has-active":l.value}]);function C(L){"key"in L&&L.key!=="Enter"||!e.item.link&&v()}function O(){e.item.link&&v()}return(L,J)=>{const X=me("VPSidebarItem",!0);return a(),V(ae(f.value),{class:z(["VPSidebarItem",P.value])},{default:p(()=>[L.item.text?(a(),c("div",ue({key:0,class:"item",role:I.value},Et(L.item.items?{click:C,keydown:C}:{},!0),{tabindex:L.item.items&&0}),[Or,L.item.link?(a(),V(re,{key:0,tag:w.value,class:"link",href:L.item.link,rel:L.item.rel,target:L.item.target},{default:p(()=>[(a(),V(ae(m.value),{class:"text",innerHTML:L.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(a(),V(ae(m.value),{key:1,class:"text",innerHTML:L.item.text},null,8,["innerHTML"])),L.item.collapsed!=null&&L.item.items&&L.item.items.length?(a(),c("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:O,onKeydown:Ot(O,["enter"]),tabindex:"0"},Fr,32)):g("",!0)],16,Hr)):g("",!0),L.item.items&&L.item.items.length?(a(),c("div",zr,[L.depth<5?(a(!0),c(F,{key:0},q(L.item.items,ne=>(a(),V(X,{key:ne.text,item:ne,depth:L.depth+1},null,8,["item","depth"]))),128)):g("",!0)])):g("",!0)]),_:1},8,["class"])}}}),Ur=S(jr,[["__scopeId","data-v-77366673"]]),Gr=b({__name:"VPSidebarGroup",props:{items:{}},setup(n){const e=E(!0);let t=null;return _e(()=>{t=setTimeout(()=>{t=null,e.value=!1},300)}),Ft(()=>{t!=null&&(clearTimeout(t),t=null)}),(s,o)=>(a(!0),c(F,null,q(s.items,r=>(a(),c("div",{key:r.text,class:z(["group",{"no-transition":e.value}])},[$(Ur,{item:r,depth:0},null,8,["item"])],2))),128))}}),Wr=S(Gr,[["__scopeId","data-v-87df204d"]]),St=n=>(G("data-v-7f7450e6"),n=n(),W(),n),Yr=St(()=>u("div",{class:"curtain"},null,-1)),qr={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},Jr=St(()=>u("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),Kr=b({__name:"VPSidebar",props:{open:{type:Boolean}},setup(n){const{sidebarGroups:e,hasSidebar:t}=ie(),s=n,o=E(null),r=lt(De?document.body:null);le([s,o],()=>{var d;s.open?(r.value=!0,(d=o.value)==null||d.focus()):r.value=!1},{immediate:!0,flush:"post"});const l=E(0);return le(e,()=>{l.value+=1},{deep:!0}),(d,v)=>i(t)?(a(),c("aside",{key:0,class:z(["VPSidebar",{open:d.open}]),ref_key:"navEl",ref:o,onClick:v[0]||(v[0]=zt(()=>{},["stop"]))},[Yr,u("nav",qr,[Jr,h(d.$slots,"sidebar-nav-before",{},void 0,!0),(a(),V(Wr,{items:i(e),key:l.value},null,8,["items"])),h(d.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):g("",!0)}}),Rr=S(Kr,[["__scopeId","data-v-7f7450e6"]]),Zr=b({__name:"VPSkipLink",setup(n){const e=Ce(),t=E();le(()=>e.path,()=>t.value.focus());function s({target:o}){const r=document.getElementById(decodeURIComponent(o.hash).slice(1));if(r){const l=()=>{r.removeAttribute("tabindex"),r.removeEventListener("blur",l)};r.setAttribute("tabindex","-1"),r.addEventListener("blur",l),r.focus(),window.scrollTo(0,0)}}return(o,r)=>(a(),c(F,null,[u("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),u("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:s}," Skip to content ")],64))}}),Qr=S(Zr,[["__scopeId","data-v-3137196e"]]),Xr=b({__name:"Layout",setup(n){const{isOpen:e,open:t,close:s}=ie(),o=Ce();le(()=>o.path,s),cn(e,s);const{frontmatter:r}=H(),l=jt(),d=T(()=>!!l["home-hero-image"]);return Ke("hero-image-slot-exists",d),(v,f)=>{const w=me("Content");return i(r).layout!==!1?(a(),c("div",{key:0,class:z(["Layout",i(r).pageClass])},[h(v.$slots,"layout-top",{},void 0,!0),$(Qr),$(Jt,{class:"backdrop",show:i(e),onClick:i(s)},null,8,["show","onClick"]),$(Br,null,{"nav-bar-title-before":p(()=>[h(v.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":p(()=>[h(v.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":p(()=>[h(v.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":p(()=>[h(v.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":p(()=>[h(v.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":p(()=>[h(v.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),$(go,{open:i(e),onOpenMenu:i(t)},null,8,["open","onOpenMenu"]),$(Rr,{open:i(e)},{"sidebar-nav-before":p(()=>[h(v.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":p(()=>[h(v.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),$(Xs,null,{"page-top":p(()=>[h(v.$slots,"page-top",{},void 0,!0)]),"page-bottom":p(()=>[h(v.$slots,"page-bottom",{},void 0,!0)]),"not-found":p(()=>[h(v.$slots,"not-found",{},void 0,!0)]),"home-hero-before":p(()=>[h(v.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":p(()=>[h(v.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":p(()=>[h(v.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":p(()=>[h(v.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":p(()=>[h(v.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":p(()=>[h(v.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":p(()=>[h(v.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":p(()=>[h(v.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":p(()=>[h(v.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":p(()=>[h(v.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":p(()=>[h(v.$slots,"doc-before",{},void 0,!0)]),"doc-after":p(()=>[h(v.$slots,"doc-after",{},void 0,!0)]),"doc-top":p(()=>[h(v.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":p(()=>[h(v.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":p(()=>[h(v.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":p(()=>[h(v.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":p(()=>[h(v.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":p(()=>[h(v.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":p(()=>[h(v.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":p(()=>[h(v.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),$(so),h(v.$slots,"layout-bottom",{},void 0,!0)],2)):(a(),V(w,{key:1}))}}}),xr=S(Xr,[["__scopeId","data-v-44833409"]]),Ge={Layout:xr,enhanceApp:({app:n})=>{n.component("Badge",Wt)}};function ei(n){const e={};for(let t=0;t{e[r]||(e[r]=[]),e[r].push(s)})}return e}function ti(n){const e=[];let t="0",s=-1;for(let o=0;ot.id&&t.hasChildNodes()).map(t=>{const s=Number(t.tagName[1]);return{title:si(t),link:"#"+t.id,level:s}})}function si(n){let e="";for(const t of n.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor"))continue;e+=t.textContent}else t.nodeType===3&&(e+=t.textContent);return e.trim()}const oi=n=>(G("data-v-69b61450"),n=n(),W(),n),ai={class:"main"},ri={class:"yearItem"},ii={class:"year"},li=["href"],ci={class:"title"},ui=oi(()=>u("div",{class:"title-o"},null,-1)),di={class:"date"},hi=b({__name:"Archives",setup(n){const{theme:e}=de(),t=T(()=>ti(e.value.posts));return(s,o)=>(a(),c("div",ai,[(a(!0),c(F,null,q(t.value,r=>(a(),c("div",ri,[u("div",ii,N(r[0].frontMatter.date.split("-")[0]),1),(a(!0),c(F,null,q(r,(l,d)=>(a(),c("a",{href:i(be)(l.regularPath),key:d,class:"article"},[u("div",ci,[ui,te(" "+N(l.frontMatter.title),1)]),u("div",di,N(l.frontMatter.date.slice(5)),1)],8,li))),128))]))),256))]))}}),vi=S(hi,[["__scopeId","data-v-69b61450"]]),nt=n=>(G("data-v-6b5bf8a1"),n=n(),W(),n),pi={class:"main"},fi=nt(()=>u("h1",{class:"tags-header"},"Tags",-1)),_i={class:"tags"},mi=["onClick"],$i={class:"tag-length"},gi={class:"header"},bi={t:"1641783753540",class:"fas-icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1254",style:{width:"20px"}},ki=nt(()=>u("path",{d:"M995.126867 592.38l-360.08 360.08a53.333333 53.333333 0 0 1-71.333334 3.68l356.22-356.22a64 64 0 0 0 0-90.506667L495.8402 85.333333h45.573333a52.986667 52.986667 0 0 1 37.713334 15.62l416 416a53.4 53.4 0 0 1 0 75.426667z m-128 0l-360.08 360.08a53.333333 53.333333 0 0 1-75.426667 0l-416-416A52.986667 52.986667 0 0 1 0.0002 498.746667V138.666667a53.393333 53.393333 0 0 1 53.333333-53.333334h360.08a52.986667 52.986667 0 0 1 37.713334 15.62l416 416a53.4 53.4 0 0 1 0 75.426667zM341.333533 341.333333a85.333333 85.333333 0 1 0-85.333333 85.333334 85.426667 85.426667 0 0 0 85.333333-85.333334z",fill:"var(--vp-c-brand)","p-id":"1255"},null,-1)),yi=[ki],Si={class:"header-text"},Pi=["href"],Li={class:"title"},Vi=nt(()=>u("div",{class:"title-o"},null,-1)),Mi={class:"date"},wi=b({__name:"Tags",setup(n){const{theme:e}=de(),t=T(()=>ei(e.value.posts));let s=E("");const o=l=>{s.value=l},r=l=>({fontSize:`${l*.04+.85}em`});return(l,d)=>(a(),c("div",pi,[fi,u("div",_i,[(a(!0),c(F,null,q(t.value,(v,f)=>(a(),c("span",{onClick:w=>o(f),class:z(["tag",{activetag:i(s)===f}]),style:Ae(r(t.value[f].length))},[te(N(f)+" ",1),u("span",$i,N(t.value[f].length),1)],14,mi))),256))]),Ut(u("h4",gi,[(a(),c("svg",bi,yi)),u("span",Si,N(i(s)),1)],512),[[Gt,i(s)]]),(a(!0),c(F,null,q(t.value[i(s)],(v,f)=>(a(),c("a",{href:i(be)(v.regularPath),key:f,class:"article"},[u("div",Li,[Vi,te(" "+N(v.frontMatter.title),1)]),u("div",Mi,N(v.frontMatter.date),1)],8,Pi))),128))]))}}),Ti=S(wi,[["__scopeId","data-v-6b5bf8a1"]]),Ii={},Ni={viewBox:"0 0 24 24",width:"24",height:"24",class:"darkToggleIcon"},Ci=u("path",{fill:"#93949b",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"},null,-1),Ai=[Ci];function Di(n,e){return a(),c("svg",Ni,Ai)}const Bi=S(Ii,[["render",Di]]),Hi={},Oi={viewBox:"0 0 24 24",width:"24",height:"24",class:"lightToggleIcon"},Ei=u("path",{fill:"#67676c",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"},null,-1),Fi=[Ei];function zi(n,e){return a(),c("svg",Oi,Fi)}const ji=S(Hi,[["render",zi]]),Ui=n=>(G("data-v-7c1729ca"),n=n(),W(),n),Gi={class:"VPNavBar"},Wi={class:"container"},Yi={class:"content"},qi=Ui(()=>u("div",{class:"curtain"},null,-1)),Ji={class:"content-body"},Ki={class:"content-body-left"},Ri={href:"/"},Zi={class:"content-body-mid"},Qi={class:"content-body-right"},Xi=b({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(n){const{isDark:e}=de(),t=Pe("toggle-appearance",()=>{e.value=!e.value}),{site:s}=de();return(o,r)=>(a(),c("div",Gi,[u("div",Wi,[u("div",Yi,[qi,u("div",Ji,[u("div",Ki,[u("a",Ri,N(i(s).title),1)]),u("div",Zi,[$($t,{class:"search"})]),u("div",Qi,[$(tt,{class:"social-links"}),i(e)?(a(),V(Bi,{key:0,class:"appearance-btn",onClick:i(t)},null,8,["onClick"])):(a(),V(ji,{key:1,class:"appearance-btn",onClick:i(t)},null,8,["onClick"])),$(mt,{class:"hamburger",active:o.isScreenOpen,onClick:r[0]||(r[0]=l=>o.$emit("toggle-screen"))},null,8,["active"])])])])])]))}}),xi=S(Xi,[["__scopeId","data-v-7c1729ca"]]),el=b({__name:"Nav",setup(n){const{isScreenOpen:e,closeScreen:t,toggleScreen:s}=vt(),{hasSidebar:o}=ie();return Ke("close-screen",t),(r,l)=>(a(),c("header",{class:z(["Nav",{"no-sidebar":!i(o)}])},[$(xi,{"is-screen-open":i(e),onToggleScreen:i(s)},null,8,["is-screen-open","onToggleScreen"]),$(kt,{open:i(e)},{"nav-screen-content-before":p(()=>[h(r.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":p(()=>[h(r.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])],2))}}),tl=S(el,[["__scopeId","data-v-19dffaed"]]),nl=n=>(G("data-v-b0668316"),n=n(),W(),n),sl={class:"footer"},ol=nl(()=>u("a",{href:"https://github.com/drl990114",target:"_blank",title:"作者"},"drl990114",-1)),al=b({__name:"CopyWright",setup(n){const e=new Date().getFullYear();return(t,s)=>(a(),c("div",sl,[$(tt),u("footer",null,[te(" Powered by "),ol,te(" | Copyright © 2023-"+N(i(e))+" | MIT License ",1)])]))}}),rl=S(al,[["__scopeId","data-v-b0668316"]]),il={},ll={viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg",class:"pagination__button--next-icon"},cl=u("path",{d:"M142.382 16.892l-24.485 24.449c-2.938 2.934-4.897 7.335-4.897 11.246 0 3.912 1.959 8.313 4.897 11.246l192.448 192.168-192.448 192.168c-2.938 2.934-4.897 7.335-4.897 11.246 0 4.401 1.959 8.313 4.897 11.246l24.485 24.449c2.938 2.934 7.345 4.89 11.263 4.89s8.325-1.956 11.263-4.89l228.196-227.864c2.938-2.934 4.897-7.335 4.897-11.246 0-3.912-1.959-8.313-4.897-11.246l-228.196-227.864c-2.938-2.934-7.345-4.89-11.263-4.89s-8.325 1.956-11.263 4.89v.002z"},null,-1),ul=[cl];function dl(n,e){return a(),c("svg",ll,ul)}const hl=S(il,[["render",dl]]),vl={},pl={viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg",class:"pagination__button--prev-icon"},fl=u("path",{d:"M368.619 16.892l24.485 24.449c2.938 2.934 4.897 7.335 4.897 11.246 0 3.912-1.959 8.313-4.897 11.246l-192.448 192.168 192.448 192.168c2.938 2.934 4.897 7.335 4.897 11.246 0 4.401-1.959 8.313-4.897 11.246l-24.485 24.449c-2.938 2.934-7.345 4.89-11.263 4.89s-8.325-1.956-11.263-4.89l-228.196-227.864c-2.938-2.934-4.897-7.335-4.897-11.246 0-3.912 1.959-8.313 4.897-11.246l228.196-227.864c2.938-2.934 7.345-4.89 11.263-4.89s8.325 1.956 11.263 4.89v.002z"},null,-1),_l=[fl];function ml(n,e){return a(),c("svg",pl,_l)}const $l=S(vl,[["render",ml]]),gl={class:"blogList"},bl=["href"],kl={class:"title"},yl={class:"date"},Sl={class:"pagination"},Pl={class:"left pageLocation"},Ll=b({__name:"Page",setup(n){const{theme:e}=de();let t=e.value.posts||[],s=e.value.postLength,o=e.value.pageSize,r=s%o===0?s/o:s/o+1;r=parseInt(r.toString());let l=E(1);t=t.filter(P=>P.regularPath.indexOf("index")<0);let d={};for(let P=0;Po-1&&(v+=1),d[v].push(t[P]);let f=E([]);f.value=d[l.value-1];const w=P=>{l.value=P,f.value=d[l.value-1]},m=P=>{const C=P.split("-");let O=C[0],L="",J=C[2];switch(C[1]){case"1":case"01":L="Jan";break;case"2":case"02":L="Feb";break;case"3":case"03":L="Mar";break;case"4":case"04":L="Apr";break;case"5":case"05":L="May";break;case"6":case"06":L="Jun";break;case"7":case"07":L="Jul";break;case"8":case"08":L="Aug";break;case"9":case"09":L="Sep";break;case"10":L="Oct";break;case"11":L="Nov";break;case"12":L="Dec";break;default:L="Month"}return`${L} ${J}, ${O}`},I=P=>{const C=P%3===2,O=P%3===0,L="1px solid var(--border-color)",J={};return O&&(J["border-right"]=L),C&&(J["border-left"]=L),J};return(P,C)=>(a(),c(F,null,[u("div",gl,[(a(!0),c(F,null,q(i(f),(O,L)=>(a(),c("a",{class:"blog",style:Ae(I(L)),href:i(be)(O.regularPath)},[u("div",kl,N(O.frontMatter.title),1),u("div",yl,N(m(O.frontMatter.date)),1)],12,bl))),256))]),u("div",Sl,[u("div",Pl,N(`Page: ${i(l)}/${i(r)}`),1),i(l)>1?(a(),c("button",{key:0,class:"left-btn",onClick:C[0]||(C[0]=O=>w(i(l)-1))},[$($l)])):g("",!0),i(l)w(i(l)+1))},[$(hl)])):g("",!0)])],64))}}),Vl=S(Ll,[["__scopeId","data-v-37cff8cf"]]),Ml={key:0,class:"category"},wl={class:"list"},Tl={class:"header"},Il=["href"],Nl={key:1},Cl={class:"header"},Al=["href"],Dl=b({__name:"Category",setup(n){const{frontmatter:e,theme:t}=de(),s=Je([]),o=E(!1);return ke(()=>{s.value=ni(e.value.outline??t.value.outline),o.value=s.value.some(r=>r.level===2)}),(r,l)=>s.value.length>0?(a(),c("div",Ml,[u("ul",wl,[(a(!0),c(F,null,q(s.value,d=>(a(),c("li",Tl,[d.level===2?(a(),c("a",{key:0,href:d.link,class:"header-h2"},N(d.title),9,Il)):g("",!0),d.level===3?(a(),c("ul",Nl,[u("li",Cl,[u("a",{href:d.link,class:z(["header-h3",{showIndent:o.value}])},N(d.title),11,Al)])])):g("",!0)]))),256))])])):g("",!0)}}),Bl=S(Dl,[["__scopeId","data-v-0f737ab8"]]);var Pt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Lt(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Vt={exports:{}};(function(n,e){(function(t,s){n.exports=s()})(Pt,function(){var t=1e3,s=6e4,o=36e5,r="millisecond",l="second",d="minute",v="hour",f="day",w="week",m="month",I="quarter",P="year",C="date",O="Invalid Date",L=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,J=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,X={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(A){var y=["th","st","nd","rd"],_=A%100;return"["+A+(y[(_-20)%10]||y[_]||y[0])+"]"}},ne=function(A,y,_){var M=String(A);return!M||M.length>=y?A:""+Array(y+1-M.length).join(_)+A},oe={s:ne,z:function(A){var y=-A.utcOffset(),_=Math.abs(y),M=Math.floor(_/60),k=_%60;return(y<=0?"+":"-")+ne(M,2,"0")+":"+ne(k,2,"0")},m:function A(y,_){if(y.date()<_.date())return-A(_,y);var M=12*(_.year()-y.year())+(_.month()-y.month()),k=y.clone().add(M,m),D=_-k<0,B=y.clone().add(M+(D?-1:1),m);return+(-(M+(_-k)/(D?k-B:B-k))||0)},a:function(A){return A<0?Math.ceil(A)||0:Math.floor(A)},p:function(A){return{M:m,y:P,w,d:f,D:C,h:v,m:d,s:l,ms:r,Q:I}[A]||String(A||"").toLowerCase().replace(/s$/,"")},u:function(A){return A===void 0}},K="en",x={};x[K]=X;var $e="$isDayjsObject",he=function(A){return A instanceof Me||!(!A||!A[$e])},Ve=function A(y,_,M){var k;if(!y)return K;if(typeof y=="string"){var D=y.toLowerCase();x[D]&&(k=D),_&&(x[D]=_,k=D);var B=y.split("-");if(!k&&B.length>1)return A(B[0])}else{var U=y.name;x[U]=y,k=U}return!M&&k&&(K=k),k||!M&&K},R=function(A,y){if(he(A))return A.clone();var _=typeof y=="object"?y:{};return _.date=A,_.args=arguments,new Me(_)},j=oe;j.l=Ve,j.i=he,j.w=function(A,y){return R(A,{locale:y.$L,utc:y.$u,x:y.$x,$offset:y.$offset})};var Me=function(){function A(_){this.$L=Ve(_.locale,null,!0),this.parse(_),this.$x=this.$x||_.x||{},this[$e]=!0}var y=A.prototype;return y.parse=function(_){this.$d=function(M){var k=M.date,D=M.utc;if(k===null)return new Date(NaN);if(j.u(k))return new Date;if(k instanceof Date)return new Date(k);if(typeof k=="string"&&!/Z$/i.test(k)){var B=k.match(L);if(B){var U=B[2]-1||0,Y=(B[7]||"0").substring(0,3);return D?new Date(Date.UTC(B[1],U,B[3]||1,B[4]||0,B[5]||0,B[6]||0,Y)):new Date(B[1],U,B[3]||1,B[4]||0,B[5]||0,B[6]||0,Y)}}return new Date(k)}(_),this.init()},y.init=function(){var _=this.$d;this.$y=_.getFullYear(),this.$M=_.getMonth(),this.$D=_.getDate(),this.$W=_.getDay(),this.$H=_.getHours(),this.$m=_.getMinutes(),this.$s=_.getSeconds(),this.$ms=_.getMilliseconds()},y.$utils=function(){return j},y.isValid=function(){return this.$d.toString()!==O},y.isSame=function(_,M){var k=R(_);return this.startOf(M)<=k&&k<=this.endOf(M)},y.isAfter=function(_,M){return R(_)0,x<=K.r||!K.r){x<=1&&oe>0&&(K=X[oe-1]);var $e=J[K.l];P&&(x=P(""+x)),O=typeof $e=="string"?$e.replace("%d",x):$e(x,w,K.l,L);break}}if(w)return O;var he=L?J.future:J.past;return typeof he=="function"?he(O):he.replace("%s",O)},r.to=function(f,w){return d(f,w,this,!0)},r.from=function(f,w){return d(f,w,this)};var v=function(f){return f.$u?o.utc():o()};r.toNow=function(f){return this.to(v(this),f)},r.fromNow=function(f){return this.from(v(this),f)}}})})(Mt);var Ol=Mt.exports;const El=Lt(Ol),Fl={class:"title"},zl={class:"date"},jl=b({__name:"Title",setup(n){const e=de().page,t=E("");return Oe.extend(El),ke(()=>{const{frontmatter:s}=e.value;t.value=Oe().to(Oe(s.date||Date.now()))}),(s,o)=>(a(),c(F,null,[u("h1",Fl,N(i(e).title),1),u("div",zl,"🕒 Published at: "+N(t.value),1)],64))}}),Ul=S(jl,[["__scopeId","data-v-ac80d3c4"]]),Gl=n=>(G("data-v-029789cf"),n=n(),W(),n),Wl=Gl(()=>u("div",{class:"done"},"--- Done ---",-1)),Yl=b({__name:"MyLayout",setup(n){const{Layout:e}=Ge,t=()=>{history.back()};return(s,o)=>(a(),c(F,null,[$(tl),$(i(e),null,{"doc-before":p(()=>[$(Ul),$(Bl)]),"doc-after":p(()=>[Wl,u("div",null,[u("button",{onClick:t},"cd ··")])]),"home-features-after":p(()=>[$(Vl)]),_:1}),$(rl)],64))}}),ql=S(Yl,[["__scopeId","data-v-029789cf"]]),Kl={...Ge,Layout:ql,enhanceApp(n){Ge.enhanceApp(n);const{app:e}=n;e.component("Archives",vi),e.component("Tags",Ti)}};export{Kl as R,wa as c,H as u}; diff --git a/assets/index.md.CLIMg223.js b/assets/index.md.DGf5Jc6M.js similarity index 83% rename from assets/index.md.CLIMg223.js rename to assets/index.md.DGf5Jc6M.js index e4eaaa3..9c7136b 100644 --- a/assets/index.md.CLIMg223.js +++ b/assets/index.md.DGf5Jc6M.js @@ -1 +1 @@ -import{_ as e,c as t,o as a}from"./chunks/framework.0rl6iKyO.js";const p=JSON.parse('{"title":"home","description":"","frontmatter":{"layout":"home","title":"home","sidebar":false,"navbar":false},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),o={name:"index.md"};function n(r,s,i,c,d,m){return a(),t("div")}const _=e(o,[["render",n]]);export{p as __pageData,_ as default}; +import{_ as e,c as t,o as a}from"./chunks/framework.CIgcugFM.js";const p=JSON.parse('{"title":"home","description":"","frontmatter":{"layout":"home","title":"home","sidebar":false,"navbar":false},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),o={name:"index.md"};function n(r,s,i,c,d,m){return a(),t("div")}const _=e(o,[["render",n]]);export{p as __pageData,_ as default}; diff --git a/assets/index.md.CLIMg223.lean.js b/assets/index.md.DGf5Jc6M.lean.js similarity index 83% rename from assets/index.md.CLIMg223.lean.js rename to assets/index.md.DGf5Jc6M.lean.js index e4eaaa3..9c7136b 100644 --- a/assets/index.md.CLIMg223.lean.js +++ b/assets/index.md.DGf5Jc6M.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o as a}from"./chunks/framework.0rl6iKyO.js";const p=JSON.parse('{"title":"home","description":"","frontmatter":{"layout":"home","title":"home","sidebar":false,"navbar":false},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),o={name:"index.md"};function n(r,s,i,c,d,m){return a(),t("div")}const _=e(o,[["render",n]]);export{p as __pageData,_ as default}; +import{_ as e,c as t,o as a}from"./chunks/framework.CIgcugFM.js";const p=JSON.parse('{"title":"home","description":"","frontmatter":{"layout":"home","title":"home","sidebar":false,"navbar":false},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),o={name:"index.md"};function n(r,s,i,c,d,m){return a(),t("div")}const _=e(o,[["render",n]]);export{p as __pageData,_ as default}; diff --git "a/assets/posts_JavaScript_js\345\256\236\347\216\260\351\223\276\345\274\217\350\260\203\347\224\250.md.C0VngNUC.lean.js" "b/assets/posts_JavaScript_js\345\256\236\347\216\260\351\223\276\345\274\217\350\260\203\347\224\250.md.C0VngNUC.lean.js" deleted file mode 100644 index 7a05757..0000000 --- "a/assets/posts_JavaScript_js\345\256\236\347\216\260\351\223\276\345\274\217\350\260\203\347\224\250.md.C0VngNUC.lean.js" +++ /dev/null @@ -1,28 +0,0 @@ -import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.0rl6iKyO.js";const g=JSON.parse('{"title":"js实现链式调用","description":"","frontmatter":{"title":"js实现链式调用","date":"2020-12-26T21:20:34.000Z","author":"RuiLin Dong","categories":["JavaScript"],"tags":["JavaScript"]},"headers":[],"relativePath":"posts/JavaScript/js实现链式调用.md","filePath":"posts/JavaScript/js实现链式调用.md"}'),t={name:"posts/JavaScript/js实现链式调用.md"};function k(p,s,l,e,E,r){return h(),a("div",null,s[0]||(s[0]=[n(`

使用原生的js获取的DOM对象,只能使用一次addEventLisenter方法添加事件,如果要接着添加事件,还得再调用addEventLisenter。

js
var area = document.querySelector('.area');
-area.addEventListener('mouseenter', function(){
-    console.log( 'mouse enter' );
-});
-area.addEventListener('click', function(){
-    console.log( 'click' );
-});

如果我们可以直接实现一种链式的调用,可以简化这样的操作。

js
function(){
-    window.G = function(selector){
-        return new _G(selector);
-    }
-    function _G(selector){
-        this.elements = document.querySelector(selector);
-        return this;
-    }
-    _G.prototype = {
-        constructor : _G,
-        method : function(name, fn){
-            if(this.elements){
-                this.elements.addEventListener(name, fn, false);
-            }
-            return this;
-        }
-    }
-}();

实现原理:

1、输出一下G('.area'),他返回的就是一个_G的实例对象;

2、在_G的内部,把DOM对象存储在elements上,然后prototype上实现了method方法,就是给elements添加对应的事件,每次调用后,都把this返回,供下次使用;

3、G('.area')就能使用使用method方法来添加事件了,同时每次method都会把this返回,这样就能连续添加事件

js
G('.area').method('mouseenter', function(){
-    console.log( 'mouse enter' );
-}).method('click', function(){
-    console.log( 'click' );
-})
`,9)]))}const y=i(t,[["render",k]]);export{g as __pageData,y as default}; diff --git "a/assets/posts_JavaScript_js\345\256\236\347\216\260\351\223\276\345\274\217\350\260\203\347\224\250.md.C0VngNUC.js" "b/assets/posts_JavaScript_js\345\256\236\347\216\260\351\223\276\345\274\217\350\260\203\347\224\250.md.DOyKpAyx.js" similarity index 88% rename from "assets/posts_JavaScript_js\345\256\236\347\216\260\351\223\276\345\274\217\350\260\203\347\224\250.md.C0VngNUC.js" rename to "assets/posts_JavaScript_js\345\256\236\347\216\260\351\223\276\345\274\217\350\260\203\347\224\250.md.DOyKpAyx.js" index 7a05757..8e2c24a 100644 --- "a/assets/posts_JavaScript_js\345\256\236\347\216\260\351\223\276\345\274\217\350\260\203\347\224\250.md.C0VngNUC.js" +++ "b/assets/posts_JavaScript_js\345\256\236\347\216\260\351\223\276\345\274\217\350\260\203\347\224\250.md.DOyKpAyx.js" @@ -1,4 +1,4 @@ -import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.0rl6iKyO.js";const g=JSON.parse('{"title":"js实现链式调用","description":"","frontmatter":{"title":"js实现链式调用","date":"2020-12-26T21:20:34.000Z","author":"RuiLin Dong","categories":["JavaScript"],"tags":["JavaScript"]},"headers":[],"relativePath":"posts/JavaScript/js实现链式调用.md","filePath":"posts/JavaScript/js实现链式调用.md"}'),t={name:"posts/JavaScript/js实现链式调用.md"};function k(p,s,l,e,E,r){return h(),a("div",null,s[0]||(s[0]=[n(`

使用原生的js获取的DOM对象,只能使用一次addEventLisenter方法添加事件,如果要接着添加事件,还得再调用addEventLisenter。

js
var area = document.querySelector('.area');
+import{_ as s,c as i,o as a,a7 as n}from"./chunks/framework.CIgcugFM.js";const c=JSON.parse('{"title":"js实现链式调用","description":"","frontmatter":{"title":"js实现链式调用","date":"2020-12-26T21:20:34.000Z","author":"RuiLin Dong","categories":["JavaScript"],"tags":["JavaScript"]},"headers":[],"relativePath":"posts/JavaScript/js实现链式调用.md","filePath":"posts/JavaScript/js实现链式调用.md"}'),h={name:"posts/JavaScript/js实现链式调用.md"},t=n(`

使用原生的js获取的DOM对象,只能使用一次addEventLisenter方法添加事件,如果要接着添加事件,还得再调用addEventLisenter。

js
var area = document.querySelector('.area');
 area.addEventListener('mouseenter', function(){
     console.log( 'mouse enter' );
 });
@@ -25,4 +25,4 @@ import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.0rl6iKyO.js";const g
     console.log( 'mouse enter' );
 }).method('click', function(){
     console.log( 'click' );
-})
`,9)]))}const y=i(t,[["render",k]]);export{g as __pageData,y as default}; +})
`,9),k=[t];function p(l,e,E,r,d,g){return a(),i("div",null,k)}const F=s(h,[["render",p]]);export{c as __pageData,F as default}; diff --git "a/assets/posts_JavaScript_js\345\256\236\347\216\260\351\223\276\345\274\217\350\260\203\347\224\250.md.DOyKpAyx.lean.js" "b/assets/posts_JavaScript_js\345\256\236\347\216\260\351\223\276\345\274\217\350\260\203\347\224\250.md.DOyKpAyx.lean.js" new file mode 100644 index 0000000..634010b --- /dev/null +++ "b/assets/posts_JavaScript_js\345\256\236\347\216\260\351\223\276\345\274\217\350\260\203\347\224\250.md.DOyKpAyx.lean.js" @@ -0,0 +1 @@ +import{_ as s,c as i,o as a,a7 as n}from"./chunks/framework.CIgcugFM.js";const c=JSON.parse('{"title":"js实现链式调用","description":"","frontmatter":{"title":"js实现链式调用","date":"2020-12-26T21:20:34.000Z","author":"RuiLin Dong","categories":["JavaScript"],"tags":["JavaScript"]},"headers":[],"relativePath":"posts/JavaScript/js实现链式调用.md","filePath":"posts/JavaScript/js实现链式调用.md"}'),h={name:"posts/JavaScript/js实现链式调用.md"},t=n("",9),k=[t];function p(l,e,E,r,d,g){return a(),i("div",null,k)}const F=s(h,[["render",p]]);export{c as __pageData,F as default}; diff --git "a/assets/posts_JavaScript_\345\216\237\345\236\213\343\200\201\345\216\237\345\236\213\351\223\276.md._gB--bJr.js" "b/assets/posts_JavaScript_\345\216\237\345\236\213\343\200\201\345\216\237\345\236\213\351\223\276.md.DBDWdTI_.js" similarity index 82% rename from "assets/posts_JavaScript_\345\216\237\345\236\213\343\200\201\345\216\237\345\236\213\351\223\276.md._gB--bJr.js" rename to "assets/posts_JavaScript_\345\216\237\345\236\213\343\200\201\345\216\237\345\236\213\351\223\276.md.DBDWdTI_.js" index 415c0c6..09fd8c0 100644 --- "a/assets/posts_JavaScript_\345\216\237\345\236\213\343\200\201\345\216\237\345\236\213\351\223\276.md._gB--bJr.js" +++ "b/assets/posts_JavaScript_\345\216\237\345\236\213\343\200\201\345\216\237\345\236\213\351\223\276.md.DBDWdTI_.js" @@ -1,4 +1,4 @@ -import{_ as i,c as a,a4 as t,o as p}from"./chunks/framework.0rl6iKyO.js";const o=JSON.parse('{"title":"原型原型链","description":"","frontmatter":{"title":"原型原型链","date":"2021-03-16T21:20:34.000Z","author":"RuiLin Dong","categories":["JavaScript"],"tags":["JavaScript"]},"headers":[],"relativePath":"posts/JavaScript/原型、原型链.md","filePath":"posts/JavaScript/原型、原型链.md"}'),n={name:"posts/JavaScript/原型、原型链.md"};function h(l,s,k,e,r,E){return p(),a("div",null,s[0]||(s[0]=[t(`

一、原型prototype和__proto__

  • 每个对象都有一个__proto__属性,并且指向它的构造函数的prototype原型对象。
  • 每个构造函数都有一个prototype原型对象
    • prototype原型对象的constructor指向构造函数本身

对象是引用数据类型,对象中的__proto__属性中实际上是保存的构造函数的prototype的指针地址。

实例对象的__proto__指向构造函数的prototype,从而实现继承。

通过代码来验证:

javascript
function Person(name ,age) {
+import{_ as s,c as i,o as a,a7 as t}from"./chunks/framework.CIgcugFM.js";const y=JSON.parse('{"title":"原型原型链","description":"","frontmatter":{"title":"原型原型链","date":"2021-03-16T21:20:34.000Z","author":"RuiLin Dong","categories":["JavaScript"],"tags":["JavaScript"]},"headers":[],"relativePath":"posts/JavaScript/原型、原型链.md","filePath":"posts/JavaScript/原型、原型链.md"}'),p={name:"posts/JavaScript/原型、原型链.md"},n=t(`

一、原型prototype和__proto__

  • 每个对象都有一个__proto__属性,并且指向它的构造函数的prototype原型对象。
  • 每个构造函数都有一个prototype原型对象
    • prototype原型对象的constructor指向构造函数本身

对象是引用数据类型,对象中的__proto__属性中实际上是保存的构造函数的prototype的指针地址。

实例对象的__proto__指向构造函数的prototype,从而实现继承。

通过代码来验证:

javascript
function Person(name ,age) {
     this.name = name
     this.age = age
 }
@@ -19,4 +19,4 @@ import{_ as i,c as a,a4 as t,o as p}from"./chunks/framework.0rl6iKyO.js";const o
 
 arr.__proto__.__proto__ === Object.prototype //true
 
-Object.prototype.__proto__ === null //true

查找过程:

arr --> Array.prototype --> Object.prototype  --> null
`,13)]))}const g=i(n,[["render",h]]);export{o as __pageData,g as default}; +Object.prototype.__proto__ === null //true

查找过程:

arr --> Array.prototype --> Object.prototype  --> null
`,13),h=[n];function l(k,e,r,E,d,o){return a(),i("div",null,h)}const c=s(p,[["render",l]]);export{y as __pageData,c as default}; diff --git "a/assets/posts_JavaScript_\345\216\237\345\236\213\343\200\201\345\216\237\345\236\213\351\223\276.md.DBDWdTI_.lean.js" "b/assets/posts_JavaScript_\345\216\237\345\236\213\343\200\201\345\216\237\345\236\213\351\223\276.md.DBDWdTI_.lean.js" new file mode 100644 index 0000000..4c14f03 --- /dev/null +++ "b/assets/posts_JavaScript_\345\216\237\345\236\213\343\200\201\345\216\237\345\236\213\351\223\276.md.DBDWdTI_.lean.js" @@ -0,0 +1 @@ +import{_ as s,c as i,o as a,a7 as t}from"./chunks/framework.CIgcugFM.js";const y=JSON.parse('{"title":"原型原型链","description":"","frontmatter":{"title":"原型原型链","date":"2021-03-16T21:20:34.000Z","author":"RuiLin Dong","categories":["JavaScript"],"tags":["JavaScript"]},"headers":[],"relativePath":"posts/JavaScript/原型、原型链.md","filePath":"posts/JavaScript/原型、原型链.md"}'),p={name:"posts/JavaScript/原型、原型链.md"},n=t("",13),h=[n];function l(k,e,r,E,d,o){return a(),i("div",null,h)}const c=s(p,[["render",l]]);export{y as __pageData,c as default}; diff --git "a/assets/posts_JavaScript_\345\216\237\345\236\213\343\200\201\345\216\237\345\236\213\351\223\276.md._gB--bJr.lean.js" "b/assets/posts_JavaScript_\345\216\237\345\236\213\343\200\201\345\216\237\345\236\213\351\223\276.md._gB--bJr.lean.js" deleted file mode 100644 index 415c0c6..0000000 --- "a/assets/posts_JavaScript_\345\216\237\345\236\213\343\200\201\345\216\237\345\236\213\351\223\276.md._gB--bJr.lean.js" +++ /dev/null @@ -1,22 +0,0 @@ -import{_ as i,c as a,a4 as t,o as p}from"./chunks/framework.0rl6iKyO.js";const o=JSON.parse('{"title":"原型原型链","description":"","frontmatter":{"title":"原型原型链","date":"2021-03-16T21:20:34.000Z","author":"RuiLin Dong","categories":["JavaScript"],"tags":["JavaScript"]},"headers":[],"relativePath":"posts/JavaScript/原型、原型链.md","filePath":"posts/JavaScript/原型、原型链.md"}'),n={name:"posts/JavaScript/原型、原型链.md"};function h(l,s,k,e,r,E){return p(),a("div",null,s[0]||(s[0]=[t(`

一、原型prototype和__proto__

  • 每个对象都有一个__proto__属性,并且指向它的构造函数的prototype原型对象。
  • 每个构造函数都有一个prototype原型对象
    • prototype原型对象的constructor指向构造函数本身

对象是引用数据类型,对象中的__proto__属性中实际上是保存的构造函数的prototype的指针地址。

实例对象的__proto__指向构造函数的prototype,从而实现继承。

通过代码来验证:

javascript
function Person(name ,age) {
-    this.name = name
-    this.age = age
-}
-
-Person.prototype.sayName = function(){
-    console.log(this.name)
-}
-
-let p1 = new Person('dong', 12)
-
-p1.__proto__ === Person.prototype //true
-
-p1.sayName() //dong

二、原型链

javascript
let arr = ['xi', 'ha']
-
-arr.valueOf() // ['xi', 'ha']

这里并没有给arr的原型定义valueOf属性,但是它是可以在arr上找到该属性的,这是因为原型链的效果。

当试图访问对象的一个属性时,它不仅仅在该对象上搜索,也会在该对象的原型上进行查找,以及原型上的原型,依次搜索,直到找到该对象,或者到达原型链的尾端为止。

javascript
arr.__proto__ === Array.prototype //true
-
-Array.prototype.__proto__ === Object.prototype //true
-
-arr.__proto__.__proto__ === Object.prototype //true
-
-Object.prototype.__proto__ === null //true

查找过程:

arr --> Array.prototype --> Object.prototype  --> null
`,13)]))}const g=i(n,[["render",h]]);export{o as __pageData,g as default}; diff --git "a/assets/posts_JavaScript_\345\217\221\345\270\203\350\256\242\351\230\205\344\270\216\350\247\202\345\257\237\350\200\205\346\250\241\345\274\217.md.BMIRw4ej.lean.js" "b/assets/posts_JavaScript_\345\217\221\345\270\203\350\256\242\351\230\205\344\270\216\350\247\202\345\257\237\350\200\205\346\250\241\345\274\217.md.BMIRw4ej.lean.js" deleted file mode 100644 index 93f6eb5..0000000 --- "a/assets/posts_JavaScript_\345\217\221\345\270\203\350\256\242\351\230\205\344\270\216\350\247\202\345\257\237\350\200\205\346\250\241\345\274\217.md.BMIRw4ej.lean.js" +++ /dev/null @@ -1,58 +0,0 @@ -import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.0rl6iKyO.js";const g=JSON.parse('{"title":"发布订阅与观察者模式","description":"","frontmatter":{"title":"发布订阅与观察者模式","date":"2021-08-18T19:33:11.000Z","author":"RuiLin Dong","categories":["JavaScript"],"tags":["JavaScript","设计模式"]},"headers":[],"relativePath":"posts/JavaScript/发布订阅与观察者模式.md","filePath":"posts/JavaScript/发布订阅与观察者模式.md"}'),k={name:"posts/JavaScript/发布订阅与观察者模式.md"};function p(l,s,t,E,e,r){return h(),a("div",null,s[0]||(s[0]=[n(`

在当前的 JavaScript 库中,发布订阅和观察者模式是非常常见的两种设计模式。

发布订阅模式

发布订阅模式主要分为两个部分 on (订阅) 与 emit (发布),on会把用户提供的回调函数保存,当 emit 时,执行用户的函数。

js
const e = {
-    _obj:{},
-    _callback:[],
-    on(fn){
-        this._callback.push(fn)
-    },
-    emit(key,value){
-        this._obj[key] = value
-        this._callback.forEach(fn=>{
-            fn(this._obj)
-        })
-    }
-}
-
-e.on(obj=>{
-    console.log(obj) // {learn:'js'}
-})
-
-setTimeout(()=>{
-    e.emit('learn' , 'js')
-},1000)

发布订阅的特点是会把用户订阅时的回调函数和发布时的键值对储存在第三方,订阅方和发布方之间没有直接关系。

观察者模式

观察者模式存在两个角色,观察者和被观察者。

js
class Observer {  //观察者
-    constructor(name){
-        this.name = name
-    }
-
-    update(s){
-        console.log(\`\${this.name},\${s.name}的心情是\${s.state}\`)
-    }
-}
-
-class Subject { //被观察者
-    constructor(name){
-        this.name = name
-        this.state = '开心'
-        this.observers = []
-    }
-    attach(o){
-        this.observers.push(o)
-    }
-    setState(s) {
-        this.state = s
-        this.observers.forEach(o=>{
-            o.update(this)
-        })
-    }
-}
-
-const bady = new Subject('宝宝')
-const father = new Observer('爸爸')
-const mather = new Observer('妈妈')
-bady.attach(father)
-bady.attach(mather)
-
-setTimeout(()=>{
-    bady.setState('不开心')
-    // "爸爸,宝宝的心情是不开心"
-    // "妈妈,宝宝的心情是不开心"
-}, 1000)

观察者模式中,观察者和被观察者之间是有关系的。当被观察者状态发生变化时,会通知所有的观察者。

`,9)]))}const y=i(k,[["render",p]]);export{g as __pageData,y as default}; diff --git "a/assets/posts_JavaScript_\345\217\221\345\270\203\350\256\242\351\230\205\344\270\216\350\247\202\345\257\237\350\200\205\346\250\241\345\274\217.md.BMIRw4ej.js" "b/assets/posts_JavaScript_\345\217\221\345\270\203\350\256\242\351\230\205\344\270\216\350\247\202\345\257\237\350\200\205\346\250\241\345\274\217.md.BuZS-Pf5.js" similarity index 92% rename from "assets/posts_JavaScript_\345\217\221\345\270\203\350\256\242\351\230\205\344\270\216\350\247\202\345\257\237\350\200\205\346\250\241\345\274\217.md.BMIRw4ej.js" rename to "assets/posts_JavaScript_\345\217\221\345\270\203\350\256\242\351\230\205\344\270\216\350\247\202\345\257\237\350\200\205\346\250\241\345\274\217.md.BuZS-Pf5.js" index 93f6eb5..7d07ee5 100644 --- "a/assets/posts_JavaScript_\345\217\221\345\270\203\350\256\242\351\230\205\344\270\216\350\247\202\345\257\237\350\200\205\346\250\241\345\274\217.md.BMIRw4ej.js" +++ "b/assets/posts_JavaScript_\345\217\221\345\270\203\350\256\242\351\230\205\344\270\216\350\247\202\345\257\237\350\200\205\346\250\241\345\274\217.md.BuZS-Pf5.js" @@ -1,4 +1,4 @@ -import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.0rl6iKyO.js";const g=JSON.parse('{"title":"发布订阅与观察者模式","description":"","frontmatter":{"title":"发布订阅与观察者模式","date":"2021-08-18T19:33:11.000Z","author":"RuiLin Dong","categories":["JavaScript"],"tags":["JavaScript","设计模式"]},"headers":[],"relativePath":"posts/JavaScript/发布订阅与观察者模式.md","filePath":"posts/JavaScript/发布订阅与观察者模式.md"}'),k={name:"posts/JavaScript/发布订阅与观察者模式.md"};function p(l,s,t,E,e,r){return h(),a("div",null,s[0]||(s[0]=[n(`

在当前的 JavaScript 库中,发布订阅和观察者模式是非常常见的两种设计模式。

发布订阅模式

发布订阅模式主要分为两个部分 on (订阅) 与 emit (发布),on会把用户提供的回调函数保存,当 emit 时,执行用户的函数。

js
const e = {
+import{_ as s,c as i,o as a,a7 as n}from"./chunks/framework.CIgcugFM.js";const F=JSON.parse('{"title":"发布订阅与观察者模式","description":"","frontmatter":{"title":"发布订阅与观察者模式","date":"2021-08-18T19:33:11.000Z","author":"RuiLin Dong","categories":["JavaScript"],"tags":["JavaScript","设计模式"]},"headers":[],"relativePath":"posts/JavaScript/发布订阅与观察者模式.md","filePath":"posts/JavaScript/发布订阅与观察者模式.md"}'),h={name:"posts/JavaScript/发布订阅与观察者模式.md"},k=n(`

在当前的 JavaScript 库中,发布订阅和观察者模式是非常常见的两种设计模式。

发布订阅模式

发布订阅模式主要分为两个部分 on (订阅) 与 emit (发布),on会把用户提供的回调函数保存,当 emit 时,执行用户的函数。

js
const e = {
     _obj:{},
     _callback:[],
     on(fn){
@@ -55,4 +55,4 @@ import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.0rl6iKyO.js";const g
     bady.setState('不开心')
     // "爸爸,宝宝的心情是不开心"
     // "妈妈,宝宝的心情是不开心"
-}, 1000)

观察者模式中,观察者和被观察者之间是有关系的。当被观察者状态发生变化时,会通知所有的观察者。

`,9)]))}const y=i(k,[["render",p]]);export{g as __pageData,y as default}; +}, 1000)

观察者模式中,观察者和被观察者之间是有关系的。当被观察者状态发生变化时,会通知所有的观察者。

`,9),p=[k];function l(t,E,e,r,d,g){return a(),i("div",null,p)}const c=s(h,[["render",l]]);export{F as __pageData,c as default}; diff --git "a/assets/posts_JavaScript_\345\217\221\345\270\203\350\256\242\351\230\205\344\270\216\350\247\202\345\257\237\350\200\205\346\250\241\345\274\217.md.BuZS-Pf5.lean.js" "b/assets/posts_JavaScript_\345\217\221\345\270\203\350\256\242\351\230\205\344\270\216\350\247\202\345\257\237\350\200\205\346\250\241\345\274\217.md.BuZS-Pf5.lean.js" new file mode 100644 index 0000000..67da60a --- /dev/null +++ "b/assets/posts_JavaScript_\345\217\221\345\270\203\350\256\242\351\230\205\344\270\216\350\247\202\345\257\237\350\200\205\346\250\241\345\274\217.md.BuZS-Pf5.lean.js" @@ -0,0 +1 @@ +import{_ as s,c as i,o as a,a7 as n}from"./chunks/framework.CIgcugFM.js";const F=JSON.parse('{"title":"发布订阅与观察者模式","description":"","frontmatter":{"title":"发布订阅与观察者模式","date":"2021-08-18T19:33:11.000Z","author":"RuiLin Dong","categories":["JavaScript"],"tags":["JavaScript","设计模式"]},"headers":[],"relativePath":"posts/JavaScript/发布订阅与观察者模式.md","filePath":"posts/JavaScript/发布订阅与观察者模式.md"}'),h={name:"posts/JavaScript/发布订阅与观察者模式.md"},k=n("",9),p=[k];function l(t,E,e,r,d,g){return a(),i("div",null,p)}const c=s(h,[["render",l]]);export{F as __pageData,c as default}; diff --git "a/assets/posts_React_\345\246\202\344\275\225\345\260\201\350\243\205\350\207\252\345\267\261\347\232\204react hooks.md.DW1oCiM8.lean.js" "b/assets/posts_React_\345\246\202\344\275\225\345\260\201\350\243\205\350\207\252\345\267\261\347\232\204react hooks.md.DW1oCiM8.lean.js" deleted file mode 100644 index a81f080..0000000 --- "a/assets/posts_React_\345\246\202\344\275\225\345\260\201\350\243\205\350\207\252\345\267\261\347\232\204react hooks.md.DW1oCiM8.lean.js" +++ /dev/null @@ -1,42 +0,0 @@ -import{_ as i,c as a,a4 as n,o as t}from"./chunks/framework.0rl6iKyO.js";const g=JSON.parse('{"title":"如何封装自己的react hooks","description":"","frontmatter":{"title":"如何封装自己的react hooks","date":"2021-04-19T21:20:34.000Z","permalink":"/read/2021041901","author":"RuiLin Dong","categories":["React"],"tags":["React"]},"headers":[],"relativePath":"posts/React/如何封装自己的react hooks.md","filePath":"posts/React/如何封装自己的react hooks.md"}'),h={name:"posts/React/如何封装自己的react hooks.md"};function k(l,s,p,e,E,r){return t(),a("div",null,s[0]||(s[0]=[n(`

通过自定义 Hook,可以将组件逻辑提取到可重用的函数中。

1、常用的一个hooks

官方中提供了几个内置的钩子,下面做下简单介绍

1.1 useState:状态

使用useState钩子,我们就可以给函数组件添加state了,例如点击按钮一下,count+1的操作:

javascript
const [count , setCount] = useState(0)
-
-return (
-    <>
-    <button onClick = {()=>setCount(count+1)}>
-    </button>
-    </>
-)

useState的返回值有两个,一个是state,一个是修改state的函数,上面使用的是数组解构的方式,来简化了操作,这也是官方所推荐的。

1.2 useEffect: 副作用钩子

useEffect可以看作是componentDidMount,componentDidUpdate 和 componentWillUnmount 这三个函数的组合。

useEffect 钩子在组件初始化完毕时,一定会执行一次,在组件重新渲染的过程中,是否还要 update,还要看传入的第 2 个参数。

当只有回调函数这一个参数时,组件的每次更新,回调都会执行;

当有 2 个参数时,只有第 2 参数里的数据发生变化时,回调才执行;

只想在组件初始化完毕时只执行一次,第 2 个参数可以传入一个空的数组

举个例子看下:

javascript
const Home = () => {
-    const [count, setCount] = useState(0);
-    const [nowtime, setNowtime] = useState(0);
-
-    useEffect(() => {
-        console.log('count', count);
-        console.log('nowtime', nowtime);
-    });
-
-    return ( <>
-        <p>count: {count} </p>
-        <p>nowtime: {nowtime} </p>
-        <button onClick = {() => setCount(count + 1)}> add 1 </button>
-        <button onClick = {() => setNowtime(Date.now())} > set now time </button>
-    </>);
-};

若改成下面的这样,回调仅会在 count 发生变化时才会在控制台输出,仅修改 nowtime 的值时没有输出:

javascript
useEffect(() => {
-    console.log('count', count);
-    console.log('nowtime', nowtime);
-}, [count]);

useEffect 的回调函数还可以返回一个函数,这个函数在 effect 生命周期结束之前调用。为防止内存泄漏,清除函数会在组件卸载前执行。另外,如果组件多次渲染,则在执行下一个 effect 之前,上一个 effect 就已被清除。

基于这个机制,在一些存在添加绑定和取消绑定的案例上特别合适,例如监听页面的窗口大小变化、设置定时器、与后端的 websocket 接口建立连接和断开连接等,都可以预计 useEffect 进行二次的封装,形成自定义的 hook。

2、自定义hook

2.1 获取窗口变化的宽高

我们通过监听resize事件来获取实时获取window窗口的宽高,对这个方法进行封装后可以在生命周期结束前能自动解绑resize事件:

js
const useWinResize = () => {
-    const [size, setSize] = useState({
-        width: document.documentElement.clientWidth,
-        height: document.documentElement.clientHeight
-    });
-    const resize = useCallback(() => {
-        setSize({
-        width: document.documentElement.clientWidth,
-        height: document.documentElement.clientHeight
-    })
-    }, [])
-    useEffect(() => {
-        window.addEventListener('resize', resize);
-        return () => window.removeEventListener('resize', resize);
-    }, []);
-    return size;
-}

3、总结

使用react hook可以做很多有意思的事情,这里我们也仅仅是举几个简单的例子,可以更好的理解hook的使用和react函数式编程的思想。

`,25)]))}const o=i(h,[["render",k]]);export{g as __pageData,o as default}; diff --git "a/assets/posts_React_\345\246\202\344\275\225\345\260\201\350\243\205\350\207\252\345\267\261\347\232\204react hooks.md.DW1oCiM8.js" "b/assets/posts_React_\345\246\202\344\275\225\345\260\201\350\243\205\350\207\252\345\267\261\347\232\204react hooks.md.DeK2NMUU.js" similarity index 89% rename from "assets/posts_React_\345\246\202\344\275\225\345\260\201\350\243\205\350\207\252\345\267\261\347\232\204react hooks.md.DW1oCiM8.js" rename to "assets/posts_React_\345\246\202\344\275\225\345\260\201\350\243\205\350\207\252\345\267\261\347\232\204react hooks.md.DeK2NMUU.js" index a81f080..d93e445 100644 --- "a/assets/posts_React_\345\246\202\344\275\225\345\260\201\350\243\205\350\207\252\345\267\261\347\232\204react hooks.md.DW1oCiM8.js" +++ "b/assets/posts_React_\345\246\202\344\275\225\345\260\201\350\243\205\350\207\252\345\267\261\347\232\204react hooks.md.DeK2NMUU.js" @@ -1,4 +1,4 @@ -import{_ as i,c as a,a4 as n,o as t}from"./chunks/framework.0rl6iKyO.js";const g=JSON.parse('{"title":"如何封装自己的react hooks","description":"","frontmatter":{"title":"如何封装自己的react hooks","date":"2021-04-19T21:20:34.000Z","permalink":"/read/2021041901","author":"RuiLin Dong","categories":["React"],"tags":["React"]},"headers":[],"relativePath":"posts/React/如何封装自己的react hooks.md","filePath":"posts/React/如何封装自己的react hooks.md"}'),h={name:"posts/React/如何封装自己的react hooks.md"};function k(l,s,p,e,E,r){return t(),a("div",null,s[0]||(s[0]=[n(`

通过自定义 Hook,可以将组件逻辑提取到可重用的函数中。

1、常用的一个hooks

官方中提供了几个内置的钩子,下面做下简单介绍

1.1 useState:状态

使用useState钩子,我们就可以给函数组件添加state了,例如点击按钮一下,count+1的操作:

javascript
const [count , setCount] = useState(0)
+import{_ as s,c as i,o as a,a7 as n}from"./chunks/framework.CIgcugFM.js";const y=JSON.parse('{"title":"如何封装自己的react hooks","description":"","frontmatter":{"title":"如何封装自己的react hooks","date":"2021-04-19T21:20:34.000Z","permalink":"/read/2021041901","author":"RuiLin Dong","categories":["React"],"tags":["React"]},"headers":[],"relativePath":"posts/React/如何封装自己的react hooks.md","filePath":"posts/React/如何封装自己的react hooks.md"}'),t={name:"posts/React/如何封装自己的react hooks.md"},h=n(`

通过自定义 Hook,可以将组件逻辑提取到可重用的函数中。

1、常用的一个hooks

官方中提供了几个内置的钩子,下面做下简单介绍

1.1 useState:状态

使用useState钩子,我们就可以给函数组件添加state了,例如点击按钮一下,count+1的操作:

javascript
const [count , setCount] = useState(0)
 
 return (
     <>
@@ -39,4 +39,4 @@ import{_ as i,c as a,a4 as n,o as t}from"./chunks/framework.0rl6iKyO.js";const g
         return () => window.removeEventListener('resize', resize);
     }, []);
     return size;
-}

3、总结

使用react hook可以做很多有意思的事情,这里我们也仅仅是举几个简单的例子,可以更好的理解hook的使用和react函数式编程的思想。

`,25)]))}const o=i(h,[["render",k]]);export{g as __pageData,o as default}; +}

3、总结

使用react hook可以做很多有意思的事情,这里我们也仅仅是举几个简单的例子,可以更好的理解hook的使用和react函数式编程的思想。

`,25),k=[h];function l(p,e,E,r,d,g){return a(),i("div",null,k)}const c=s(t,[["render",l]]);export{y as __pageData,c as default}; diff --git "a/assets/posts_React_\345\246\202\344\275\225\345\260\201\350\243\205\350\207\252\345\267\261\347\232\204react hooks.md.DeK2NMUU.lean.js" "b/assets/posts_React_\345\246\202\344\275\225\345\260\201\350\243\205\350\207\252\345\267\261\347\232\204react hooks.md.DeK2NMUU.lean.js" new file mode 100644 index 0000000..897879d --- /dev/null +++ "b/assets/posts_React_\345\246\202\344\275\225\345\260\201\350\243\205\350\207\252\345\267\261\347\232\204react hooks.md.DeK2NMUU.lean.js" @@ -0,0 +1 @@ +import{_ as s,c as i,o as a,a7 as n}from"./chunks/framework.CIgcugFM.js";const y=JSON.parse('{"title":"如何封装自己的react hooks","description":"","frontmatter":{"title":"如何封装自己的react hooks","date":"2021-04-19T21:20:34.000Z","permalink":"/read/2021041901","author":"RuiLin Dong","categories":["React"],"tags":["React"]},"headers":[],"relativePath":"posts/React/如何封装自己的react hooks.md","filePath":"posts/React/如何封装自己的react hooks.md"}'),t={name:"posts/React/如何封装自己的react hooks.md"},h=n("",25),k=[h];function l(p,e,E,r,d,g){return a(),i("div",null,k)}const c=s(t,[["render",l]]);export{y as __pageData,c as default}; diff --git "a/assets/posts_React_\345\256\236\347\216\260react\347\273\204\344\273\266\347\232\204\351\200\222\345\275\222\350\260\203\347\224\250.md.DYzuxZlR.js" "b/assets/posts_React_\345\256\236\347\216\260react\347\273\204\344\273\266\347\232\204\351\200\222\345\275\222\350\260\203\347\224\250.md.CFjD5Eh2.js" similarity index 90% rename from "assets/posts_React_\345\256\236\347\216\260react\347\273\204\344\273\266\347\232\204\351\200\222\345\275\222\350\260\203\347\224\250.md.DYzuxZlR.js" rename to "assets/posts_React_\345\256\236\347\216\260react\347\273\204\344\273\266\347\232\204\351\200\222\345\275\222\350\260\203\347\224\250.md.CFjD5Eh2.js" index 0d62dc4..bd5c3b0 100644 --- "a/assets/posts_React_\345\256\236\347\216\260react\347\273\204\344\273\266\347\232\204\351\200\222\345\275\222\350\260\203\347\224\250.md.DYzuxZlR.js" +++ "b/assets/posts_React_\345\256\236\347\216\260react\347\273\204\344\273\266\347\232\204\351\200\222\345\275\222\350\260\203\347\224\250.md.CFjD5Eh2.js" @@ -1,4 +1,4 @@ -import{_ as i,c as a,a4 as n,o as l}from"./chunks/framework.0rl6iKyO.js";const g=JSON.parse('{"title":"实现react组件的递归调用","description":"","frontmatter":{"title":"实现react组件的递归调用","date":"2021-05-14T21:20:34.000Z","permalink":"/read/2021051401","author":"RuiLin Dong","categories":["React"],"tags":["React"]},"headers":[],"relativePath":"posts/React/实现react组件的递归调用.md","filePath":"posts/React/实现react组件的递归调用.md"}'),h={name:"posts/React/实现react组件的递归调用.md"};function p(t,s,k,e,E,r){return l(),a("div",null,s[0]||(s[0]=[n(`

使用React来简单实现下组件的递归。在React可以通过props和children来向子组件传递信息,不过在这里大致的思路都是一样的。我们先定义一下要渲染的json结构:

js
list = [
+import{_ as s,c as i,o as a,a7 as n}from"./chunks/framework.CIgcugFM.js";const c=JSON.parse('{"title":"实现react组件的递归调用","description":"","frontmatter":{"title":"实现react组件的递归调用","date":"2021-05-14T21:20:34.000Z","permalink":"/read/2021051401","author":"RuiLin Dong","categories":["React"],"tags":["React"]},"headers":[],"relativePath":"posts/React/实现react组件的递归调用.md","filePath":"posts/React/实现react组件的递归调用.md"}'),l={name:"posts/React/实现react组件的递归调用.md"},h=n(`

使用React来简单实现下组件的递归。在React可以通过props和children来向子组件传递信息,不过在这里大致的思路都是一样的。我们先定义一下要渲染的json结构:

js
list = [
     {
         name: '1',
         children: [
@@ -44,4 +44,4 @@ import{_ as i,c as a,a4 as n,o as l}from"./chunks/framework.0rl6iKyO.js";const g
             }
         </div>
     )
-}

最后调用这个组件:

js
<Item>{this.list}</Item>
`,6)]))}const y=i(h,[["render",p]]);export{g as __pageData,y as default}; +}

最后调用这个组件:

js
<Item>{this.list}</Item>
`,6),p=[h];function t(k,e,E,r,d,g){return a(),i("div",null,p)}const F=s(l,[["render",t]]);export{c as __pageData,F as default}; diff --git "a/assets/posts_React_\345\256\236\347\216\260react\347\273\204\344\273\266\347\232\204\351\200\222\345\275\222\350\260\203\347\224\250.md.CFjD5Eh2.lean.js" "b/assets/posts_React_\345\256\236\347\216\260react\347\273\204\344\273\266\347\232\204\351\200\222\345\275\222\350\260\203\347\224\250.md.CFjD5Eh2.lean.js" new file mode 100644 index 0000000..32bc984 --- /dev/null +++ "b/assets/posts_React_\345\256\236\347\216\260react\347\273\204\344\273\266\347\232\204\351\200\222\345\275\222\350\260\203\347\224\250.md.CFjD5Eh2.lean.js" @@ -0,0 +1 @@ +import{_ as s,c as i,o as a,a7 as n}from"./chunks/framework.CIgcugFM.js";const c=JSON.parse('{"title":"实现react组件的递归调用","description":"","frontmatter":{"title":"实现react组件的递归调用","date":"2021-05-14T21:20:34.000Z","permalink":"/read/2021051401","author":"RuiLin Dong","categories":["React"],"tags":["React"]},"headers":[],"relativePath":"posts/React/实现react组件的递归调用.md","filePath":"posts/React/实现react组件的递归调用.md"}'),l={name:"posts/React/实现react组件的递归调用.md"},h=n("",6),p=[h];function t(k,e,E,r,d,g){return a(),i("div",null,p)}const F=s(l,[["render",t]]);export{c as __pageData,F as default}; diff --git "a/assets/posts_React_\345\256\236\347\216\260react\347\273\204\344\273\266\347\232\204\351\200\222\345\275\222\350\260\203\347\224\250.md.DYzuxZlR.lean.js" "b/assets/posts_React_\345\256\236\347\216\260react\347\273\204\344\273\266\347\232\204\351\200\222\345\275\222\350\260\203\347\224\250.md.DYzuxZlR.lean.js" deleted file mode 100644 index 0d62dc4..0000000 --- "a/assets/posts_React_\345\256\236\347\216\260react\347\273\204\344\273\266\347\232\204\351\200\222\345\275\222\350\260\203\347\224\250.md.DYzuxZlR.lean.js" +++ /dev/null @@ -1,47 +0,0 @@ -import{_ as i,c as a,a4 as n,o as l}from"./chunks/framework.0rl6iKyO.js";const g=JSON.parse('{"title":"实现react组件的递归调用","description":"","frontmatter":{"title":"实现react组件的递归调用","date":"2021-05-14T21:20:34.000Z","permalink":"/read/2021051401","author":"RuiLin Dong","categories":["React"],"tags":["React"]},"headers":[],"relativePath":"posts/React/实现react组件的递归调用.md","filePath":"posts/React/实现react组件的递归调用.md"}'),h={name:"posts/React/实现react组件的递归调用.md"};function p(t,s,k,e,E,r){return l(),a("div",null,s[0]||(s[0]=[n(`

使用React来简单实现下组件的递归。在React可以通过props和children来向子组件传递信息,不过在这里大致的思路都是一样的。我们先定义一下要渲染的json结构:

js
list = [
-    {
-        name: '1',
-        children: [
-        {
-            name: '1-1'
-        },
-        {
-            name: '1-2',
-            children: [
-            {
-                name: '1-2-1'
-            }
-            ]
-        },
-        {
-            name: '1-3'
-        }
-        ]
-    },
-    {
-        name: '2',
-        children: [
-        {
-            name: '2-1'
-        }
-        ]
-    }
-]

我们的Item组件可以这样实现:

js
render() {
-    const list: any = this.props.children || [];
-    return (
-        <div className="item">
-            {
-                list.map((item: ItemData, index: number) => {
-                    return <React.Fragment key={index}>
-                        <h3>{item.name}</h3>
-                        {
-                            // 当该节点还有children时,则递归调用本身
-                            item.children && item.children.length ?
-                            <Item>{item.children}</Item> : null
-                        }
-                    </React.Fragment>
-                })
-            }
-        </div>
-    )
-}

最后调用这个组件:

js
<Item>{this.list}</Item>
`,6)]))}const y=i(h,[["render",p]]);export{g as __pageData,y as default}; diff --git "a/assets/posts_TypeScript_TypeScript\344\270\255\347\232\204\351\227\256\345\217\267.md.D4bXVOn3.lean.js" "b/assets/posts_TypeScript_TypeScript\344\270\255\347\232\204\351\227\256\345\217\267.md.D4bXVOn3.lean.js" deleted file mode 100644 index b4f1b1d..0000000 --- "a/assets/posts_TypeScript_TypeScript\344\270\255\347\232\204\351\227\256\345\217\267.md.D4bXVOn3.lean.js" +++ /dev/null @@ -1,48 +0,0 @@ -import{_ as i,c as a,a4 as n,o as p}from"./chunks/framework.0rl6iKyO.js";const E=JSON.parse('{"title":"TypeScript中的问号","description":"","frontmatter":{"title":"TypeScript中的问号","date":"2021-07-11T21:05:38.000Z","author":"RuiLin Dong","permalink":"/read/20210711093729","categories":["TypeScript"],"tags":["TypeScript"]},"headers":[],"relativePath":"posts/TypeScript/TypeScript中的问号.md","filePath":"posts/TypeScript/TypeScript中的问号.md"}'),t={name:"posts/TypeScript/TypeScript中的问号.md"};function l(h,s,k,e,r,d){return p(),a("div",null,s[0]||(s[0]=[n(`

当你链式的去调用对象的某个属性或者方法时,可能经常会见到 属性可能为 undefined 类似的错误。比如:

TypeScript
const x = nav.bar.show();

这里的访问链路上 nav bar show 任何一个为 undefined,程序就停止工作。

使用 ? 修改后:

TypeScript
const x = nav?.bar.show();

这里 ?. 的句法就是 Optional Chaining,在 TypeScript 3.7 中实现,目前 tc39 提案中处于 Stage 4 阶段。

Optional Chaining 在这里表示,如果 foo 是 null 或 undefined,整个语句不继续往后执行,直接返回 undefined。

作用范围 需要注意的是,?. 只作用于左边的对象。

所以可以这样来修正:

TypeScript
const x = nav?.bar?.show();

这样可以保障 nav bar 为空的情况下不报错。这体现了 optional property accesses 的功能。

Opptoinal call 对于方法也同样适用。

TypeScript
async function makeRequest(url: string, log?: (msg: string) => void) {
-  log?.(\`Request started at \${new Date().toISOString()}\`);
-  // roughly equivalent to
-  //   if (log != null) {
-  //       log(\`Request started at \${new Date().toISOString()}\`);
-  //   }
-
-  const result = (await fetch(url)).json();
-
-  log?.(\`Request finished at at \${new Date().toISOString()}\`);
-
-  return result;
-}

Optional element access 数组也是对象,只不是特殊的对象,通过数字索引作为属性来访问。所以 Optional Chaining 也可作用于数组元素的访问,此时就体现了 optional element access 的功能,请看来自官方文档中的示例:

TypeScript
/**
- * Get the first element of the array if we have an array.
- * Otherwise return undefined.
- */
-function tryGetFirstElement<T>(arr?: T[]) {
-  return arr?.[0];
-  // equivalent to
-  //   return (arr === null || arr === undefined) ?
-  //       undefined :
-  //       arr[0];
-}

和 && 的差别 虽说 Optional Chaining 取代了如下通过 && 来实现的判空操作:

TypeScript
// Before
-if (foo && foo.bar && foo.bar.baz) {
-  // ...
-}

但 Optional Chaining 和 && 还是有区别,后者利用 JavaScript 中的短路机制,遇到假值时中断执行。而前者只会在被判定对象为 null 或 undefined 时才会中断执行。

请看如下示例:

TypeScript
const a: any = 0;
-console.log(a?.nav);
-console.log(a && a.nav);
-
-const b: any = false;
-console.log(b?.nav);
-console.log(b && b.nav);
-
-const c: any = "";
-console.log(c?.nav);
-console.log(c && c.nav);
- 
-输出:
-
-> undefined
-> 0
-> undefined
-> false
-> undefined
-> ""

在 TypeScript 中,你应该不会只看到这样的问号, 你也许还会看到 ?? 的用法,它是一个 nullish 合并运算符,是另一个即将到来的ECMAScript的功能。

此功能(??运算符)视为在处理 null 或 undefined 时“回退”到默认值的一种方式。当我们编写代码时:

TypeSCript
let x = foo ?? bar();

这是一种新的方式,当 foo 存在时将使用该值;但是当它是null 或 undefined,将使用 bar() 。

上面的代码等价于下面的代码。

TypeScript
let x = foo !== null && foo !== undefined ? foo : bar();

该 ?? 操作可替代的用途 || 尝试使用默认值时。例如,以下代码片段尝试获取上次保存的 localStorage(如果曾经保存过);但是,它有一个错误,因为它使用 ||.

TypeScript
function initializeAudio() {
-  let volume = localStorage.volume || 0.5;
-  // ...
-}

当 localStorage.volume 为 0,页面会设置为音量 0.5 这是意想不到的。 ?? 避免了一些意外情况 0NaN 以及 "" 被视为falsy值。

参考文献:

`,31)]))}const y=i(t,[["render",l]]);export{E as __pageData,y as default}; diff --git "a/assets/posts_TypeScript_TypeScript\344\270\255\347\232\204\351\227\256\345\217\267.md.D4bXVOn3.js" "b/assets/posts_TypeScript_TypeScript\344\270\255\347\232\204\351\227\256\345\217\267.md.DRDTHmzw.js" similarity index 77% rename from "assets/posts_TypeScript_TypeScript\344\270\255\347\232\204\351\227\256\345\217\267.md.D4bXVOn3.js" rename to "assets/posts_TypeScript_TypeScript\344\270\255\347\232\204\351\227\256\345\217\267.md.DRDTHmzw.js" index b4f1b1d..60e97b3 100644 --- "a/assets/posts_TypeScript_TypeScript\344\270\255\347\232\204\351\227\256\345\217\267.md.D4bXVOn3.js" +++ "b/assets/posts_TypeScript_TypeScript\344\270\255\347\232\204\351\227\256\345\217\267.md.DRDTHmzw.js" @@ -1,4 +1,4 @@ -import{_ as i,c as a,a4 as n,o as p}from"./chunks/framework.0rl6iKyO.js";const E=JSON.parse('{"title":"TypeScript中的问号","description":"","frontmatter":{"title":"TypeScript中的问号","date":"2021-07-11T21:05:38.000Z","author":"RuiLin Dong","permalink":"/read/20210711093729","categories":["TypeScript"],"tags":["TypeScript"]},"headers":[],"relativePath":"posts/TypeScript/TypeScript中的问号.md","filePath":"posts/TypeScript/TypeScript中的问号.md"}'),t={name:"posts/TypeScript/TypeScript中的问号.md"};function l(h,s,k,e,r,d){return p(),a("div",null,s[0]||(s[0]=[n(`

当你链式的去调用对象的某个属性或者方法时,可能经常会见到 属性可能为 undefined 类似的错误。比如:

TypeScript
const x = nav.bar.show();

这里的访问链路上 nav bar show 任何一个为 undefined,程序就停止工作。

使用 ? 修改后:

TypeScript
const x = nav?.bar.show();

这里 ?. 的句法就是 Optional Chaining,在 TypeScript 3.7 中实现,目前 tc39 提案中处于 Stage 4 阶段。

Optional Chaining 在这里表示,如果 foo 是 null 或 undefined,整个语句不继续往后执行,直接返回 undefined。

作用范围 需要注意的是,?. 只作用于左边的对象。

所以可以这样来修正:

TypeScript
const x = nav?.bar?.show();

这样可以保障 nav bar 为空的情况下不报错。这体现了 optional property accesses 的功能。

Opptoinal call 对于方法也同样适用。

TypeScript
async function makeRequest(url: string, log?: (msg: string) => void) {
+import{_ as s,c as i,o as a,a7 as n}from"./chunks/framework.CIgcugFM.js";const c=JSON.parse('{"title":"TypeScript中的问号","description":"","frontmatter":{"title":"TypeScript中的问号","date":"2021-07-11T21:05:38.000Z","author":"RuiLin Dong","permalink":"/read/20210711093729","categories":["TypeScript"],"tags":["TypeScript"]},"headers":[],"relativePath":"posts/TypeScript/TypeScript中的问号.md","filePath":"posts/TypeScript/TypeScript中的问号.md"}'),p={name:"posts/TypeScript/TypeScript中的问号.md"},t=n(`

当你链式的去调用对象的某个属性或者方法时,可能经常会见到 属性可能为 undefined 类似的错误。比如:

TypeScript
const x = nav.bar.show();

这里的访问链路上 nav bar show 任何一个为 undefined,程序就停止工作。

使用 ? 修改后:

TypeScript
const x = nav?.bar.show();

这里 ?. 的句法就是 Optional Chaining,在 TypeScript 3.7 中实现,目前 tc39 提案中处于 Stage 4 阶段。

Optional Chaining 在这里表示,如果 foo 是 null 或 undefined,整个语句不继续往后执行,直接返回 undefined。

作用范围 需要注意的是,?. 只作用于左边的对象。

所以可以这样来修正:

TypeScript
const x = nav?.bar?.show();

这样可以保障 nav bar 为空的情况下不报错。这体现了 optional property accesses 的功能。

Opptoinal call 对于方法也同样适用。

TypeScript
async function makeRequest(url: string, log?: (msg: string) => void) {
   log?.(\`Request started at \${new Date().toISOString()}\`);
   // roughly equivalent to
   //   if (log != null) {
@@ -45,4 +45,4 @@ import{_ as i,c as a,a4 as n,o as p}from"./chunks/framework.0rl6iKyO.js";const E
 > ""

在 TypeScript 中,你应该不会只看到这样的问号, 你也许还会看到 ?? 的用法,它是一个 nullish 合并运算符,是另一个即将到来的ECMAScript的功能。

此功能(??运算符)视为在处理 null 或 undefined 时“回退”到默认值的一种方式。当我们编写代码时:

TypeSCript
let x = foo ?? bar();

这是一种新的方式,当 foo 存在时将使用该值;但是当它是null 或 undefined,将使用 bar() 。

上面的代码等价于下面的代码。

TypeScript
let x = foo !== null && foo !== undefined ? foo : bar();

该 ?? 操作可替代的用途 || 尝试使用默认值时。例如,以下代码片段尝试获取上次保存的 localStorage(如果曾经保存过);但是,它有一个错误,因为它使用 ||.

TypeScript
function initializeAudio() {
   let volume = localStorage.volume || 0.5;
   // ...
-}

当 localStorage.volume 为 0,页面会设置为音量 0.5 这是意想不到的。 ?? 避免了一些意外情况 0NaN 以及 "" 被视为falsy值。

参考文献:

`,31)]))}const y=i(t,[["render",l]]);export{E as __pageData,y as default}; +}

当 localStorage.volume 为 0,页面会设置为音量 0.5 这是意想不到的。 ?? 避免了一些意外情况 0NaN 以及 "" 被视为falsy值。

参考文献:

`,31),h=[t];function l(k,e,r,d,g,E){return a(),i("div",null,h)}const o=s(p,[["render",l]]);export{c as __pageData,o as default}; diff --git "a/assets/posts_TypeScript_TypeScript\344\270\255\347\232\204\351\227\256\345\217\267.md.DRDTHmzw.lean.js" "b/assets/posts_TypeScript_TypeScript\344\270\255\347\232\204\351\227\256\345\217\267.md.DRDTHmzw.lean.js" new file mode 100644 index 0000000..27b88fa --- /dev/null +++ "b/assets/posts_TypeScript_TypeScript\344\270\255\347\232\204\351\227\256\345\217\267.md.DRDTHmzw.lean.js" @@ -0,0 +1 @@ +import{_ as s,c as i,o as a,a7 as n}from"./chunks/framework.CIgcugFM.js";const c=JSON.parse('{"title":"TypeScript中的问号","description":"","frontmatter":{"title":"TypeScript中的问号","date":"2021-07-11T21:05:38.000Z","author":"RuiLin Dong","permalink":"/read/20210711093729","categories":["TypeScript"],"tags":["TypeScript"]},"headers":[],"relativePath":"posts/TypeScript/TypeScript中的问号.md","filePath":"posts/TypeScript/TypeScript中的问号.md"}'),p={name:"posts/TypeScript/TypeScript中的问号.md"},t=n("",31),h=[t];function l(k,e,r,d,g,E){return a(),i("div",null,h)}const o=s(p,[["render",l]]);export{c as __pageData,o as default}; diff --git "a/assets/posts_TypeScript_\343\200\220Training\343\200\221\347\261\273\345\236\213\346\240\207\350\256\260 Pick \344\270\216 Omit.md.COzyRk_Q.lean.js" "b/assets/posts_TypeScript_\343\200\220Training\343\200\221\347\261\273\345\236\213\346\240\207\350\256\260 Pick \344\270\216 Omit.md.COzyRk_Q.lean.js" deleted file mode 100644 index a8d0cdb..0000000 --- "a/assets/posts_TypeScript_\343\200\220Training\343\200\221\347\261\273\345\236\213\346\240\207\350\256\260 Pick \344\270\216 Omit.md.COzyRk_Q.lean.js" +++ /dev/null @@ -1,23 +0,0 @@ -import{_ as i,c as a,a4 as t,o as h}from"./chunks/framework.0rl6iKyO.js";const y=JSON.parse('{"title":"类型标记 Pick 与 Omit","description":"","frontmatter":{"title":"类型标记 Pick 与 Omit","date":"2022-01-23T21:19:14.000Z","author":"RuiLin Dong","permalink":"/read/20220123091936","categories":["TypeScript"],"tags":["TypeScript","Training"]},"headers":[],"relativePath":"posts/TypeScript/【Training】类型标记 Pick 与 Omit.md","filePath":"posts/TypeScript/【Training】类型标记 Pick 与 Omit.md"}'),n={name:"posts/TypeScript/【Training】类型标记 Pick 与 Omit.md"};function k(p,s,l,e,r,d){return h(),a("div",null,s[0]||(s[0]=[t(`

Pick 与 Omit

typescript
interface Page {
-  id: number;
-  title: string;
-  author: string;
-}
-
-type OmitPage = Omit<Page, "id">;
-// { title: string; author: string; }
-
-type PickPage= Pick<Page, "id" | "title">;
-// { id: number; title: string; }

显然,Omit 的作用是用来去掉类型中的某个属性,Pick 的作用是用来选取类型中的属性,下面来实现一下这两个类型标记。

实现

在实现这两个类型标记之前,需要了解 TypeScript 中这几个操作符的作用。

keyof

该操作符可以用于获取某种类型的所有键,其返回类型是联合类型。

typescript
interface Page {
-  id: number;
-  title: string;
-  author: string;
-}
-type P = keyof Page; // "id" | "title" | "author"

in

该操作符类似 for...in 的效果,可以逐一映射类型的键。

typescript
type Create<P extends keyof any, T> = { [K in P]: T };
-
-type test = Create<'x' | 'y', number>;
-// { x: number, y: number };

实现 Pick 与 Omit

typescript
type myPick<T, K extends keyof T> = {
-  // K 需要是 T 的子属性,可以是联合类型, 循环 K ,并赋值。
-  [P in K]: T[P];
-};
-type myOmit<T, K extends keyof any> = Pick<T, Exclude<keyof T, K>>;

参考文献

`,15)]))}const E=i(n,[["render",k]]);export{y as __pageData,E as default}; diff --git "a/assets/posts_TypeScript_\343\200\220Training\343\200\221\347\261\273\345\236\213\346\240\207\350\256\260 Pick \344\270\216 Omit.md.COzyRk_Q.js" "b/assets/posts_TypeScript_\343\200\220Training\343\200\221\347\261\273\345\236\213\346\240\207\350\256\260 Pick \344\270\216 Omit.md.Dkcb9e_L.js" similarity index 92% rename from "assets/posts_TypeScript_\343\200\220Training\343\200\221\347\261\273\345\236\213\346\240\207\350\256\260 Pick \344\270\216 Omit.md.COzyRk_Q.js" rename to "assets/posts_TypeScript_\343\200\220Training\343\200\221\347\261\273\345\236\213\346\240\207\350\256\260 Pick \344\270\216 Omit.md.Dkcb9e_L.js" index a8d0cdb..0d4bceb 100644 --- "a/assets/posts_TypeScript_\343\200\220Training\343\200\221\347\261\273\345\236\213\346\240\207\350\256\260 Pick \344\270\216 Omit.md.COzyRk_Q.js" +++ "b/assets/posts_TypeScript_\343\200\220Training\343\200\221\347\261\273\345\236\213\346\240\207\350\256\260 Pick \344\270\216 Omit.md.Dkcb9e_L.js" @@ -1,4 +1,4 @@ -import{_ as i,c as a,a4 as t,o as h}from"./chunks/framework.0rl6iKyO.js";const y=JSON.parse('{"title":"类型标记 Pick 与 Omit","description":"","frontmatter":{"title":"类型标记 Pick 与 Omit","date":"2022-01-23T21:19:14.000Z","author":"RuiLin Dong","permalink":"/read/20220123091936","categories":["TypeScript"],"tags":["TypeScript","Training"]},"headers":[],"relativePath":"posts/TypeScript/【Training】类型标记 Pick 与 Omit.md","filePath":"posts/TypeScript/【Training】类型标记 Pick 与 Omit.md"}'),n={name:"posts/TypeScript/【Training】类型标记 Pick 与 Omit.md"};function k(p,s,l,e,r,d){return h(),a("div",null,s[0]||(s[0]=[t(`

Pick 与 Omit

typescript
interface Page {
+import{_ as s,c as i,o as a,a7 as t}from"./chunks/framework.CIgcugFM.js";const F=JSON.parse('{"title":"类型标记 Pick 与 Omit","description":"","frontmatter":{"title":"类型标记 Pick 与 Omit","date":"2022-01-23T21:19:14.000Z","author":"RuiLin Dong","permalink":"/read/20220123091936","categories":["TypeScript"],"tags":["TypeScript","Training"]},"headers":[],"relativePath":"posts/TypeScript/【Training】类型标记 Pick 与 Omit.md","filePath":"posts/TypeScript/【Training】类型标记 Pick 与 Omit.md"}'),h={name:"posts/TypeScript/【Training】类型标记 Pick 与 Omit.md"},n=t(`

Pick 与 Omit

typescript
interface Page {
   id: number;
   title: string;
   author: string;
@@ -20,4 +20,4 @@ import{_ as i,c as a,a4 as t,o as h}from"./chunks/framework.0rl6iKyO.js";const y
   // K 需要是 T 的子属性,可以是联合类型, 循环 K ,并赋值。
   [P in K]: T[P];
 };
-type myOmit<T, K extends keyof any> = Pick<T, Exclude<keyof T, K>>;

参考文献

`,15)]))}const E=i(n,[["render",k]]);export{y as __pageData,E as default}; +type myOmit<T, K extends keyof any> = Pick<T, Exclude<keyof T, K>>;

参考文献

`,15),k=[n];function p(l,e,r,d,g,y){return a(),i("div",null,k)}const c=s(h,[["render",p]]);export{F as __pageData,c as default}; diff --git "a/assets/posts_TypeScript_\343\200\220Training\343\200\221\347\261\273\345\236\213\346\240\207\350\256\260 Pick \344\270\216 Omit.md.Dkcb9e_L.lean.js" "b/assets/posts_TypeScript_\343\200\220Training\343\200\221\347\261\273\345\236\213\346\240\207\350\256\260 Pick \344\270\216 Omit.md.Dkcb9e_L.lean.js" new file mode 100644 index 0000000..dbc0eae --- /dev/null +++ "b/assets/posts_TypeScript_\343\200\220Training\343\200\221\347\261\273\345\236\213\346\240\207\350\256\260 Pick \344\270\216 Omit.md.Dkcb9e_L.lean.js" @@ -0,0 +1 @@ +import{_ as s,c as i,o as a,a7 as t}from"./chunks/framework.CIgcugFM.js";const F=JSON.parse('{"title":"类型标记 Pick 与 Omit","description":"","frontmatter":{"title":"类型标记 Pick 与 Omit","date":"2022-01-23T21:19:14.000Z","author":"RuiLin Dong","permalink":"/read/20220123091936","categories":["TypeScript"],"tags":["TypeScript","Training"]},"headers":[],"relativePath":"posts/TypeScript/【Training】类型标记 Pick 与 Omit.md","filePath":"posts/TypeScript/【Training】类型标记 Pick 与 Omit.md"}'),h={name:"posts/TypeScript/【Training】类型标记 Pick 与 Omit.md"},n=t("",15),k=[n];function p(l,e,r,d,g,y){return a(),i("div",null,k)}const c=s(h,[["render",p]]);export{F as __pageData,c as default}; diff --git "a/assets/posts_\345\211\252\350\264\264\346\235\277_\344\273\243\347\240\201\346\225\264\346\264\201\344\271\213\351\201\223.md.Ci9Ui3U9.js" "b/assets/posts_\345\211\252\350\264\264\346\235\277_\344\273\243\347\240\201\346\225\264\346\264\201\344\271\213\351\201\223.md.BrtJ0fSS.js" similarity index 98% rename from "assets/posts_\345\211\252\350\264\264\346\235\277_\344\273\243\347\240\201\346\225\264\346\264\201\344\271\213\351\201\223.md.Ci9Ui3U9.js" rename to "assets/posts_\345\211\252\350\264\264\346\235\277_\344\273\243\347\240\201\346\225\264\346\264\201\344\271\213\351\201\223.md.BrtJ0fSS.js" index 655d4dc..946ae28 100644 --- "a/assets/posts_\345\211\252\350\264\264\346\235\277_\344\273\243\347\240\201\346\225\264\346\264\201\344\271\213\351\201\223.md.Ci9Ui3U9.js" +++ "b/assets/posts_\345\211\252\350\264\264\346\235\277_\344\273\243\347\240\201\346\225\264\346\264\201\344\271\213\351\201\223.md.BrtJ0fSS.js" @@ -1,4 +1,4 @@ -import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.0rl6iKyO.js";const g=JSON.parse('{"title":"代码整洁之道","description":"","frontmatter":{"title":"代码整洁之道","date":"2021-07-09T21:26:16.000Z","author":"RuiLin Dong","permalink":"/read/20210709092616","categories":["剪贴板"],"tags":["剪贴板"]},"headers":[],"relativePath":"posts/剪贴板/代码整洁之道.md","filePath":"posts/剪贴板/代码整洁之道.md"}'),k={name:"posts/剪贴板/代码整洁之道.md"};function l(p,s,t,E,e,r){return h(),a("div",null,s[0]||(s[0]=[n(`

本文摘自字节教育 《一名合格前端工程师必备素质:代码整洁之道》

代码整洁有什么用?

  • 思路清晰,降低bug几率
  • 更容易维护,利于团队协作
  • 看起来舒服,提高效率 ...... 软件质量与代码整洁度成正比 --Robert.C.Martin

软件设计3R层次结构: readable, reusable, and refactorable 可读性、可重用性、可重构性 image.png 下面这些原则是作者提出的一些最佳实践,但不是强制约束

关于命名 1.使用有意义且易读的变量名

js
👎 const yyyymmdstr = moment().format("YYYY/MM/DD");
+import{_ as s,c as i,o as a,a7 as n}from"./chunks/framework.CIgcugFM.js";const F=JSON.parse('{"title":"代码整洁之道","description":"","frontmatter":{"title":"代码整洁之道","date":"2021-07-09T21:26:16.000Z","author":"RuiLin Dong","permalink":"/read/20210709092616","categories":["剪贴板"],"tags":["剪贴板"]},"headers":[],"relativePath":"posts/剪贴板/代码整洁之道.md","filePath":"posts/剪贴板/代码整洁之道.md"}'),h={name:"posts/剪贴板/代码整洁之道.md"},k=n(`

本文摘自字节教育 《一名合格前端工程师必备素质:代码整洁之道》

代码整洁有什么用?

  • 思路清晰,降低bug几率
  • 更容易维护,利于团队协作
  • 看起来舒服,提高效率 ...... 软件质量与代码整洁度成正比 --Robert.C.Martin

软件设计3R层次结构: readable, reusable, and refactorable 可读性、可重用性、可重构性 image.png 下面这些原则是作者提出的一些最佳实践,但不是强制约束

关于命名 1.使用有意义且易读的变量名

js
👎 const yyyymmdstr = moment().format("YYYY/MM/DD");
 
 👍 const currentDate = moment().format("YYYY/MM/DD");
 复制代码
@@ -515,4 +515,4 @@ import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.0rl6iKyO.js";const g
         ├── index.js
         ├── Footer.jsx
         ├── Footer.scss
-        ├── Footer.test.jsx

参考文献:《代码整洁之道》

`,51)]))}const y=i(k,[["render",l]]);export{g as __pageData,y as default}; + ├── Footer.test.jsx

参考文献:《代码整洁之道》

`,51),l=[k];function p(t,E,e,r,d,g){return a(),i("div",null,l)}const c=s(h,[["render",p]]);export{F as __pageData,c as default}; diff --git "a/assets/posts_\345\211\252\350\264\264\346\235\277_\344\273\243\347\240\201\346\225\264\346\264\201\344\271\213\351\201\223.md.BrtJ0fSS.lean.js" "b/assets/posts_\345\211\252\350\264\264\346\235\277_\344\273\243\347\240\201\346\225\264\346\264\201\344\271\213\351\201\223.md.BrtJ0fSS.lean.js" new file mode 100644 index 0000000..83f1648 --- /dev/null +++ "b/assets/posts_\345\211\252\350\264\264\346\235\277_\344\273\243\347\240\201\346\225\264\346\264\201\344\271\213\351\201\223.md.BrtJ0fSS.lean.js" @@ -0,0 +1 @@ +import{_ as s,c as i,o as a,a7 as n}from"./chunks/framework.CIgcugFM.js";const F=JSON.parse('{"title":"代码整洁之道","description":"","frontmatter":{"title":"代码整洁之道","date":"2021-07-09T21:26:16.000Z","author":"RuiLin Dong","permalink":"/read/20210709092616","categories":["剪贴板"],"tags":["剪贴板"]},"headers":[],"relativePath":"posts/剪贴板/代码整洁之道.md","filePath":"posts/剪贴板/代码整洁之道.md"}'),h={name:"posts/剪贴板/代码整洁之道.md"},k=n("",51),l=[k];function p(t,E,e,r,d,g){return a(),i("div",null,l)}const c=s(h,[["render",p]]);export{F as __pageData,c as default}; diff --git "a/assets/posts_\345\211\252\350\264\264\346\235\277_\344\273\243\347\240\201\346\225\264\346\264\201\344\271\213\351\201\223.md.Ci9Ui3U9.lean.js" "b/assets/posts_\345\211\252\350\264\264\346\235\277_\344\273\243\347\240\201\346\225\264\346\264\201\344\271\213\351\201\223.md.Ci9Ui3U9.lean.js" deleted file mode 100644 index 655d4dc..0000000 --- "a/assets/posts_\345\211\252\350\264\264\346\235\277_\344\273\243\347\240\201\346\225\264\346\264\201\344\271\213\351\201\223.md.Ci9Ui3U9.lean.js" +++ /dev/null @@ -1,518 +0,0 @@ -import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.0rl6iKyO.js";const g=JSON.parse('{"title":"代码整洁之道","description":"","frontmatter":{"title":"代码整洁之道","date":"2021-07-09T21:26:16.000Z","author":"RuiLin Dong","permalink":"/read/20210709092616","categories":["剪贴板"],"tags":["剪贴板"]},"headers":[],"relativePath":"posts/剪贴板/代码整洁之道.md","filePath":"posts/剪贴板/代码整洁之道.md"}'),k={name:"posts/剪贴板/代码整洁之道.md"};function l(p,s,t,E,e,r){return h(),a("div",null,s[0]||(s[0]=[n(`

本文摘自字节教育 《一名合格前端工程师必备素质:代码整洁之道》

代码整洁有什么用?

  • 思路清晰,降低bug几率
  • 更容易维护,利于团队协作
  • 看起来舒服,提高效率 ...... 软件质量与代码整洁度成正比 --Robert.C.Martin

软件设计3R层次结构: readable, reusable, and refactorable 可读性、可重用性、可重构性 image.png 下面这些原则是作者提出的一些最佳实践,但不是强制约束

关于命名 1.使用有意义且易读的变量名

js
👎 const yyyymmdstr = moment().format("YYYY/MM/DD");
-
-👍 const currentDate = moment().format("YYYY/MM/DD");
-复制代码
-2.使用有意义的变量代替数组下标
-👎 
-const address = "One Infinite Loop, Cupertino 95014";
-const cityZipCodeRegex = /^[^,\\\\]+[,\\\\\\s]+(.+?)\\s*(\\d{5})?$/;
-saveCityZipCode(
-  address.match(cityZipCodeRegex)[1],
-  address.match(cityZipCodeRegex)[2]
-);
-
-👍
-const address = "One Infinite Loop, Cupertino 95014";
-const cityZipCodeRegex = /^[^,\\\\]+[,\\\\\\s]+(.+?)\\s*(\\d{5})?$/;
-const [_, city, zipCode] = address.match(cityZipCodeRegex) || [];
-saveCityZipCode(city, zipCode);

3.变量名要简洁,不要附加无用信息

js
👎 
-const Car = {
-  carMake: "Honda",
-  carModel: "Accord",
-  carColor: "Blue"
-};
-function paintCar(car, color) {
-  car.carColor = color;
-}
-
-👍
-const Car = {
-  make: "Honda",
-  model: "Accord",
-  color: "Blue"
-};
-function paintCar(car, color) {
-  car.color = color;
-}

4.消除魔术字符串

js
👎 setTimeout(blastOff, 86400000);
-
-👍 const MILLISECONDS_PER_DAY = 60 * 60 * 24 * 1000; //86400000;
-setTimeout(blastOff, MILLISECONDS_PER_DAY);

5.使用默认参数替代短路运算符

js
👎
-function createMicrobrewery(name) {
-  const breweryName = name || "Hipster Brew Co.";
-  // ...
-}
-
-👍 
-function createMicrobrewery(name = "Hipster Brew Co.") {
-  // ...
-}

关于函数 1.一个函数只做一件事的好处在于易于理解、易于测试。

js
👎
-function emailClients(clients) {
-  clients.forEach(client => {
-    const clientRecord = database.lookup(client);
-    if (clientRecord.isActive()) {
-      email(client);
-    }
-  });
-}
-
-👍 
-function emailActiveClients(clients) {
-  clients.filter(isActiveClient).forEach(email);
-}
-function isActiveClient(client) {
-  const clientRecord = database.lookup(client);
-  return clientRecord.isActive();
-}

---------------------分割线-----------------------

js
👎
-function createFile(name, temp) {
-  if (temp) {
-    fs.create(\`./temp/\${name}\`);
-  } else {
-    fs.create(name);
-  }
-}
-
-👍 
-function createFile(name) {
-  fs.create(name);
-}
-function createTempFile(name) {
-  createFile(\`./temp/\${name}\`);
-}

2.函数参数不多于2个,如果有很多参数就利用object传递,并使用解构。 推荐使用解构的几个原因:

看到函数签名可以立即了解有哪些参数 解构能克隆传递到函数中的参数对象的值(浅克隆),有助于防止副作用. linter可以提示有哪些参数未被使用

js
👎
-function createMenu(title, body, buttonText, cancellable) {
-  // ...
-}
-createMenu("Foo", "Bar", "Baz", true);
-
-👍 
-function createMenu({ title, body, buttonText, cancellable }) {
-  // ...
-}
-createMenu({
-  title: "Foo",
-  body: "Bar",
-  buttonText: "Baz",
-  cancellable: true
-});

3.函数名应该直接反映函数的作用

js
👎
-function addToDate(date, month) {
-  // ...
-}
-const date = new Date();
-// It's hard to tell from the function name what is added
-addToDate(date, 1);
-
-👍 
-function addMonthToDate(month, date) {
-  // ...
-}
-const date = new Date();
-addMonthToDate(1, date);

4.一个函数的抽象层级不要太多,如果你的函数做了太多事,就需要把它拆分成多个函数

js
👎
-function parseBetterJSAlternative(code) {
-  const REGEXES = [
-    // ...
-  ];
-
-  const statements = code.split(" ");
-  const tokens = [];
-  REGEXES.forEach(REGEX => {
-    statements.forEach(statement => {
-      // ...
-    });
-  });
-
-  const ast = [];
-  tokens.forEach(token => {
-    // lex...
-  });
-
-  ast.forEach(node => {
-    // parse...
-  });
-}
-
-👍 
-function parseBetterJSAlternative(code) {
-  const tokens = tokenize(code);
-  const syntaxTree = parse(tokens);
-  syntaxTree.forEach(node => {
-    // parse...
-  });
-}
-function tokenize(code) {
-  const REGEXES = [
-    // ...
-  ];
-
-  const statements = code.split(" ");
-  const tokens = [];
-  REGEXES.forEach(REGEX => {
-    statements.forEach(statement => {
-      tokens.push(/* ... */);
-    });
-  });
-
-  return tokens;
-}
-function parse(tokens) {
-  const syntaxTree = [];
-  tokens.forEach(token => {
-    syntaxTree.push(/* ... */);
-  });
-
-  return syntaxTree;
-}

5.减少重复代码

js
👎
-function showDeveloperList(developers) {
-  developers.forEach(developer => {
-    const expectedSalary = developer.calculateExpectedSalary();
-    const experience = developer.getExperience();
-    const githubLink = developer.getGithubLink();
-    const data = {
-      expectedSalary,
-      experience,
-      githubLink
-    };
-
-    render(data);
-  });
-}
-function showManagerList(managers) {
-  managers.forEach(manager => {
-    const expectedSalary = manager.calculateExpectedSalary();
-    const experience = manager.getExperience();
-    const portfolio = manager.getMBAProjects();
-    const data = {
-      expectedSalary,
-      experience,
-      portfolio
-    };
-
-    render(data);
-  });
-}
-
-👍 
-function showEmployeeList(employees) {
-  employees.forEach(employee => {
-    const expectedSalary = employee.calculateExpectedSalary();
-    const experience = employee.getExperience();
-
-    const data = {
-      expectedSalary,
-      experience
-    };
-
-    switch (employee.type) {
-      case "manager":
-        data.portfolio = employee.getMBAProjects();
-        break;
-      case "developer":
-        data.githubLink = employee.getGithubLink();
-        break;
-    }
-
-    render(data);
-  });
-}

6.尽量使用纯函数 (函数式编程,not命令式编程)

js
👎
-const programmerOutput = [
-  {
-    name: "Uncle Bobby",
-    linesOfCode: 500
-  },
-  {
-    name: "Suzie Q",
-    linesOfCode: 1500
-  },
-  {
-    name: "Jimmy Gosling",
-    linesOfCode: 150
-  },
-  {
-    name: "Gracie Hopper",
-    linesOfCode: 1000
-  }
-];
-let totalOutput = 0;
-for (let i = 0; i < programmerOutput.length; i++) {
-  totalOutput += programmerOutput[i].linesOfCode;
-}
-
-👍 
-const programmerOutput = [
-  {
-    name: "Uncle Bobby",
-    linesOfCode: 500
-  },
-  {
-    name: "Suzie Q",
-    linesOfCode: 1500
-  },
-  {
-    name: "Jimmy Gosling",
-    linesOfCode: 150
-  },
-  {
-    name: "Gracie Hopper",
-    linesOfCode: 1000
-  }
-];
-const totalOutput = programmerOutput.reduce(
-  (totalLines, output) => totalLines + output.linesOfCode,
-  0
-);

7.注意函数的副作用

js
👎
-const addItemToCart = (cart, item) => {
-  cart.push({ item, date: Date.now() });
-};
-
-👍 
-const addItemToCart = (cart, item) => {
-  return [...cart, { item, date: Date.now() }];
-};

8.不要过度优化 现代浏览器在运行时进行了大量的优化。很多时候,如果你再优化,那就是在浪费时间。

js
👎
-// On old browsers, each iteration with uncached \`list.length\` would be costly
-// because of \`list.length\` recomputation. In modern browsers, this is optimized.
-for (let i = 0, len = list.length; i < len; i++) {
-  // ...
-}
-
-👍 
-for (let i = 0; i < list.length; i++) {
-  // ...
-}

关于注释 1.Comments are an apology, not a requirement. Good code mostly documents itself. 好的代码是自注释的

js
👎
-function hashIt(data) {
-  // The hash
-  let hash = 0;
-
-  // Length of string
-  const length = data.length;
-
-  // Loop through every character in data
-  for (let i = 0; i < length; i++) {
-    // Get character code.
-    const char = data.charCodeAt(i);
-    // Make the hash
-    hash = (hash << 5) - hash + char;
-    // Convert to 32-bit integer
-    hash &= hash;
-  }
-}
-
-👍 
-function hashIt(data) {
-  let hash = 0;
-  const length = data.length;
-
-  for (let i = 0; i < length; i++) {
-    const char = data.charCodeAt(i);
-    hash = (hash << 5) - hash + char;
-
-    // Convert to 32-bit integer
-    hash &= hash;
-  }
-}

2.git能做的事不要写在注释里

js
👎
-/**
- * 2016-12-20: Removed monads, didn't understand them (RM)
- * 2016-10-01: Improved using special monads (JP)
- * 2016-02-03: Removed type-checking (LI)
- * 2015-03-14: Added combine with type-checking (JR)
- */
-function combine(a, b) {
-  return a + b;
-}
-
-👍 
-function combine(a, b) {
-  return a + b;
-}

关于组件 1.尽可能使用函数组件 函数式组件有更简单的语法,没有生命周期函数,构造函数。同样的逻辑和可靠性,函数式组件可以用更少的代码完成。

js
👎 
-class Counter extends React.Component {
-  state = {
-    counter: 0,
-  }
-
-  constructor(props) {
-    super(props)
-    this.handleClick = this.handleClick.bind(this)
-  }
-
-  handleClick() {
-    this.setState({ counter: this.state.counter + 1 })
-  }
-
-  render() {
-    return (
-      <div>
-        <p>counter: {this.state.counter}</p>
-        <button onClick={this.handleClick}>Increment</button>
-      </div>
-    )
-  }
-}
-👍
-function Counter() {
-  const [counter, setCounter] = useState(0)
-
-  handleClick = () => setCounter(counter + 1)
-
-  return (
-    <div>
-      <p>counter: {counter}</p>
-      <button onClick={handleClick}>Increment</button>
-    </div>
-  )
-}

2.函数组件中剥离逻辑代码 尽可能的把逻辑从组件中剥离出去,可以把必要的值用参数的形式传给工具类函数。在函数组件外组织你的逻辑让你能够更简单的去追踪 bug 和扩展你的功能。

js
👎
-export default function Component() {
-  const [value, setValue] = useState('')
-
-  function isValid() {
-    // ...
-  }
-
-  return (
-    <>
-      <input
-        value={value}
-        onChange={e => setValue(e.target.value)}
-        onBlur={validateInput}
-      />
-      <button
-        onClick={() => {
-          if (isValid) {
-            // ...
-          }
-        }}
-      >
-        Submit
-      </button>
-    </>
-  )
-}
-
-👍 
-function isValid(value) {
-  // ...
-}
-export default function Component() {
-  const [value, setValue] = useState('')
-
-  return (
-    <>
-      <input
-        value={value}
-        onChange={e => setValue(e.target.value)}
-        onBlur={validateInput}
-      />
-      <button
-        onClick={() => {
-          if (isValid(value)) {
-            // ...
-          }
-        }}
-      >
-        Submit
-      </button>
-    </>
-  )
-}

3.控制组件长度,减少UI耦合 函数组件也是函数,同样要控制长度,如果组件太长,就要拆成多个组件

js
👎
-function Filters({ onFilterClick }) {
-  return (
-    <>
-      <p>Book Genres</p>
-      <ul>
-        <li>
-          <div onClick={() => onFilterClick('fiction')}>Fiction</div>
-        </li>
-        <li>
-          <div onClick={() => onFilterClick('classics')}>
-            Classics
-          </div>
-        </li>
-        <li>
-          <div onClick={() => onFilterClick('fantasy')}>Fantasy</div>
-        </li>
-        <li>
-          <div onClick={() => onFilterClick('romance')}>Romance</div>
-        </li>
-      </ul>
-    </>
-  )
-}
-
-// 👍 Use loops and configuration objects
-const GENRES = [
-  {
-    identifier: 'fiction',
-    name: Fiction,
-  },
-  {
-    identifier: 'classics',
-    name: Classics,
-  },
-  {
-    identifier: 'fantasy',
-    name: Fantasy,
-  },
-  {
-    identifier: 'romance',
-    name: Romance,
-  },
-]
-
-function Filters({ onFilterClick }) {
-  return (
-    <>
-      <p>Book Genres</p>
-      <ul>
-        {GENRES.map(genre => (
-          <li>
-            <div onClick={() => onFilterClick(genre.identifier)}>
-              {genre.name}
-            </div>
-          </li>
-        ))}
-      </ul>
-    </>
-  )
-}

4.尽量避免函数组件内再定义函数组件 不要在一个函数组件中再去书写一个函数组件。一个函数组件应该仅仅是一个函数。函数组件内部再定义函数组件,意味着内部的函数组件能够通过作用域访问到外层组件所有的 state 和 props,这样会使内部定义组件不可靠。把内部的组件移到外部,避免闭包和作用域的影响。

js
// 👎 Don't write nested render functions
-function Component() {
-  function renderHeader() {
-    return <header>...</header>
-  }
-  return <div>{renderHeader()}</div>
-}
-// 👍 Extract it in its own component
-import Header from '@modules/common/components/Header'
-function Component() {
-  return (
-    <div>
-      <Header />
-    </div>
-  )
-}

5.优化props 控制props数量、聚合props、完善渲染条件

如何把控 props 的量是一个值得商榷的问题。但是一个组件传递越多的 props 意味着它做的事情越多这是共识。当 props 达到一定数量的时候,意味着这个组件做的事情太多了。 当props的数量达到5个以上的时候,这个组件就需要被拆分了。在某些极端诸如输入类型组件的情况下,可能拥有过多的props,但在通常情况下5个props能够满足大部分组件的需求。 提示:一个组件拥有越多的 props,越容易被 rerender。

一些场景下使用短路语法来进行条件渲染可能导致期望之外的问题,有可能会渲染一个 0 在界面上。避免这种情况发生,尽量使用三元操作符。 尽管短路操作符能使代码变得简洁,但是三元操作符能够保证渲染的正确性。

js
// 👎 Try to avoid short-circuit operators
-function Component() {
-  const count = 0
-
-  return <div>{count && <h1>Messages: {count}</h1>}</div>
-}
-// 👍 Use a ternary instead
-function Component() {
-  const count = 0
-
-  return <div>{count ? <h1>Messages: {count}</h1> : null}</div>
-}

关于其他 1.把组件放入单独的文件夹中

js
// 👎 Don't keep all component files together
-├── components
-    ├── Header.jsx
-    ├── Header.scss
-    ├── Header.test.jsx
-    ├── Footer.jsx
-    ├── Footer.scss
-    ├── Footer.test.jsx
-
-// 👍 Move them in their own folder
-├── components
-    ├── Header
-        ├── index.js
-        ├── Header.jsx
-        ├── Header.scss
-        ├── Header.test.jsx
-    ├── Footer
-        ├── index.js
-        ├── Footer.jsx
-        ├── Footer.scss
-        ├── Footer.test.jsx

参考文献:《代码整洁之道》

`,51)]))}const y=i(k,[["render",l]]);export{g as __pageData,y as default}; diff --git "a/assets/posts_\346\211\223\345\214\205\343\200\201\345\267\245\347\250\213\345\214\226_Webpack\345\267\245\344\275\234\346\265\201.md.BfP_Egli.js" "b/assets/posts_\346\211\223\345\214\205\343\200\201\345\267\245\347\250\213\345\214\226_Webpack\345\267\245\344\275\234\346\265\201.md.BfP_Egli.js" new file mode 100644 index 0000000..c4c47a3 --- /dev/null +++ "b/assets/posts_\346\211\223\345\214\205\343\200\201\345\267\245\347\250\213\345\214\226_Webpack\345\267\245\344\275\234\346\265\201.md.BfP_Egli.js" @@ -0,0 +1 @@ +import{_ as l,c as e,o as i,a7 as a}from"./chunks/framework.CIgcugFM.js";const b=JSON.parse('{"title":"Webpack工作流","description":"","frontmatter":{"title":"Webpack工作流","date":"2022-03-16T12:57:18.000Z","author":"RuiLin Dong","permalink":"/read/20220316010320","categories":["打包、工程化"],"tags":["模块化","打包","工程化"]},"headers":[],"relativePath":"posts/打包、工程化/Webpack工作流.md","filePath":"posts/打包、工程化/Webpack工作流.md"}'),o={name:"posts/打包、工程化/Webpack工作流.md"},t=a('

Webpack

本质上,webpack 是一个用于现代 JavaScript 应用程序的 静态模块打包工具。当 webpack 处理应用程序时,它会在内部从一个或多个入口点构建一个 依赖图(dependency graph),然后将你项目中所需的每一个模块组合成一个或多个 bundles,它们均为静态资源,用于展示你的内容。

工作流

webpack 构建的核心任务是完成内容转化和资源合并。主要包含以下 3 个阶段:

  • 初始化阶段
    • 初始化参数:从配置文件、配置对象和Shell参数中读取并与默认参数进行合并,组合成最终使用的参数。
    • 创建编译对象:用上一步得到的参数创建 Compiler 对象。
    • 初始化编译环境:包括注入内置插件、注册各种模块工厂、初始化 RuleSet 集合、加载配置的插件等。
  • 构建阶段
    • 开始编译:执行 Compiler 对象的 run 方法,创建 Compilation 对象。
    • 确认编译入口:进入 entryOption 阶段,读取配置的 Entries,递归遍历所有的入口文件,调用 Compilation.addEntry 将入口文件转换为 Dependency 对象。
    • 编译模块: 调用 normalModule 中的 build 开启构建,从 entry 文件开始,调用 loader 对模块进行转译处理,然后调用 JS 解释器(acorn)将内容转化为 AST 对象,然后递归分析依赖,依次处理全部文件。
    • 完成模块编译:在上一步处理好所有模块后,得到模块编译产物和依赖关系图。
  • 生成阶段
    • 输出资源:根据入口和模块之间的依赖关系,组装成多个包含多个模块的 Chunk,再把每个 Chunk 转换成一个 Asset 加入到输出列表,这步是可以修改输出内容的最后机会。
    • 写入文件系统:确定好输出内容后,根据配置的 output 将内容写入文件系统。

深入

初始化阶段

简单说,初始化阶段的任务就是合并配置,并且生成 compiler 实例。

  • 将 process.args + webpack.config.js 合并成用户配置
  • 调用 validateSchema 校验配置
  • 调用 createCompiler 创建 Compiler 对象。
  • 遍历用户定义的 plugins 集合,执行插件的 apply 方法
  • 触发 environment 和 afterEnvironment 上注册的事件。
  • 调用 new WebpackOptionsApply().process 方法,加载各种内置插件
  • 触发 initialize 事件。

构建阶段

  • 在实例化 compiler 之后,执行 compiler.run()。
  • 执行 newCompilation 函数,调用 createCompilation 初始化 Compilation 对象。
  • 执行 _addEntryItem 将入口文件存入 this.entries(map 对象),遍历 this.entries 对象构建 chunk。
  • 执行 handleModuleCreation,开始创建模块实例。
  • 执行 moduleFactory.create 创建模块。
  • 执行 factory.hooks.factorize.call 钩子,然后会调用 ExternalModuleFactoryPlugin 中注册的钩子,用于配置外部文件的模块加载方式。
  • 使用 enhanced-resolve 解析模块和 loader 的真实绝对路径。
  • 执行 new NormalModule()创建 module 实例。
  • 执行 addModule,存储 module。
  • 执行 buildModule,添加模块到模块队列 buildQueue,开始构建模块, 这里会调用 normalModule 中的 build 开启构建。
  • 创建 loader 上下文。
  • 执行 runLoaders,通过 enhanced-resolve 解析得到的模块和 loader 的路径获取函数,执行 loader。
  • 生成模块的 hash。

生成阶段

  • 构建本次编译的 ChunkGraph 对象
  • 遍历 compilation.modules 集合,将 module 按 entry/动态引入 的规则分配给不同的 Chunk 对象
  • compilation.modules 集合遍历完毕后,得到完整的 chunks 集合对象
  • 遍历 module/chunk
  • 触发 seal 回调
',14),r=[t];function n(c,s,d,u,p,h){return i(),e("div",null,r)}const k=l(o,[["render",n]]);export{b as __pageData,k as default}; diff --git "a/assets/posts_\346\211\223\345\214\205\343\200\201\345\267\245\347\250\213\345\214\226_Webpack\345\267\245\344\275\234\346\265\201.md.BfP_Egli.lean.js" "b/assets/posts_\346\211\223\345\214\205\343\200\201\345\267\245\347\250\213\345\214\226_Webpack\345\267\245\344\275\234\346\265\201.md.BfP_Egli.lean.js" new file mode 100644 index 0000000..3c59349 --- /dev/null +++ "b/assets/posts_\346\211\223\345\214\205\343\200\201\345\267\245\347\250\213\345\214\226_Webpack\345\267\245\344\275\234\346\265\201.md.BfP_Egli.lean.js" @@ -0,0 +1 @@ +import{_ as l,c as e,o as i,a7 as a}from"./chunks/framework.CIgcugFM.js";const b=JSON.parse('{"title":"Webpack工作流","description":"","frontmatter":{"title":"Webpack工作流","date":"2022-03-16T12:57:18.000Z","author":"RuiLin Dong","permalink":"/read/20220316010320","categories":["打包、工程化"],"tags":["模块化","打包","工程化"]},"headers":[],"relativePath":"posts/打包、工程化/Webpack工作流.md","filePath":"posts/打包、工程化/Webpack工作流.md"}'),o={name:"posts/打包、工程化/Webpack工作流.md"},t=a("",14),r=[t];function n(c,s,d,u,p,h){return i(),e("div",null,r)}const k=l(o,[["render",n]]);export{b as __pageData,k as default}; diff --git "a/assets/posts_\346\211\223\345\214\205\343\200\201\345\267\245\347\250\213\345\214\226_Webpack\345\267\245\344\275\234\346\265\201.md.CGhQ8Sce.js" "b/assets/posts_\346\211\223\345\214\205\343\200\201\345\267\245\347\250\213\345\214\226_Webpack\345\267\245\344\275\234\346\265\201.md.CGhQ8Sce.js" deleted file mode 100644 index d04e2ae..0000000 --- "a/assets/posts_\346\211\223\345\214\205\343\200\201\345\267\245\347\250\213\345\214\226_Webpack\345\267\245\344\275\234\346\265\201.md.CGhQ8Sce.js" +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,c as i,a4 as a,o}from"./chunks/framework.0rl6iKyO.js";const h=JSON.parse('{"title":"Webpack工作流","description":"","frontmatter":{"title":"Webpack工作流","date":"2022-03-16T12:57:18.000Z","author":"RuiLin Dong","permalink":"/read/20220316010320","categories":["打包、工程化"],"tags":["模块化","打包","工程化"]},"headers":[],"relativePath":"posts/打包、工程化/Webpack工作流.md","filePath":"posts/打包、工程化/Webpack工作流.md"}'),t={name:"posts/打包、工程化/Webpack工作流.md"};function r(n,l,d,s,u,c){return o(),i("div",null,l[0]||(l[0]=[a('

Webpack

本质上,webpack 是一个用于现代 JavaScript 应用程序的 静态模块打包工具。当 webpack 处理应用程序时,它会在内部从一个或多个入口点构建一个 依赖图(dependency graph),然后将你项目中所需的每一个模块组合成一个或多个 bundles,它们均为静态资源,用于展示你的内容。

工作流

webpack 构建的核心任务是完成内容转化和资源合并。主要包含以下 3 个阶段:

  • 初始化阶段
    • 初始化参数:从配置文件、配置对象和Shell参数中读取并与默认参数进行合并,组合成最终使用的参数。
    • 创建编译对象:用上一步得到的参数创建 Compiler 对象。
    • 初始化编译环境:包括注入内置插件、注册各种模块工厂、初始化 RuleSet 集合、加载配置的插件等。
  • 构建阶段
    • 开始编译:执行 Compiler 对象的 run 方法,创建 Compilation 对象。
    • 确认编译入口:进入 entryOption 阶段,读取配置的 Entries,递归遍历所有的入口文件,调用 Compilation.addEntry 将入口文件转换为 Dependency 对象。
    • 编译模块: 调用 normalModule 中的 build 开启构建,从 entry 文件开始,调用 loader 对模块进行转译处理,然后调用 JS 解释器(acorn)将内容转化为 AST 对象,然后递归分析依赖,依次处理全部文件。
    • 完成模块编译:在上一步处理好所有模块后,得到模块编译产物和依赖关系图。
  • 生成阶段
    • 输出资源:根据入口和模块之间的依赖关系,组装成多个包含多个模块的 Chunk,再把每个 Chunk 转换成一个 Asset 加入到输出列表,这步是可以修改输出内容的最后机会。
    • 写入文件系统:确定好输出内容后,根据配置的 output 将内容写入文件系统。

深入

初始化阶段

简单说,初始化阶段的任务就是合并配置,并且生成 compiler 实例。

  • 将 process.args + webpack.config.js 合并成用户配置
  • 调用 validateSchema 校验配置
  • 调用 createCompiler 创建 Compiler 对象。
  • 遍历用户定义的 plugins 集合,执行插件的 apply 方法
  • 触发 environment 和 afterEnvironment 上注册的事件。
  • 调用 new WebpackOptionsApply().process 方法,加载各种内置插件
  • 触发 initialize 事件。

构建阶段

  • 在实例化 compiler 之后,执行 compiler.run()。
  • 执行 newCompilation 函数,调用 createCompilation 初始化 Compilation 对象。
  • 执行 _addEntryItem 将入口文件存入 this.entries(map 对象),遍历 this.entries 对象构建 chunk。
  • 执行 handleModuleCreation,开始创建模块实例。
  • 执行 moduleFactory.create 创建模块。
  • 执行 factory.hooks.factorize.call 钩子,然后会调用 ExternalModuleFactoryPlugin 中注册的钩子,用于配置外部文件的模块加载方式。
  • 使用 enhanced-resolve 解析模块和 loader 的真实绝对路径。
  • 执行 new NormalModule()创建 module 实例。
  • 执行 addModule,存储 module。
  • 执行 buildModule,添加模块到模块队列 buildQueue,开始构建模块, 这里会调用 normalModule 中的 build 开启构建。
  • 创建 loader 上下文。
  • 执行 runLoaders,通过 enhanced-resolve 解析得到的模块和 loader 的路径获取函数,执行 loader。
  • 生成模块的 hash。

生成阶段

  • 构建本次编译的 ChunkGraph 对象
  • 遍历 compilation.modules 集合,将 module 按 entry/动态引入 的规则分配给不同的 Chunk 对象
  • compilation.modules 集合遍历完毕后,得到完整的 chunks 集合对象
  • 遍历 module/chunk
  • 触发 seal 回调
',14)]))}const m=e(t,[["render",r]]);export{h as __pageData,m as default}; diff --git "a/assets/posts_\346\211\223\345\214\205\343\200\201\345\267\245\347\250\213\345\214\226_Webpack\345\267\245\344\275\234\346\265\201.md.CGhQ8Sce.lean.js" "b/assets/posts_\346\211\223\345\214\205\343\200\201\345\267\245\347\250\213\345\214\226_Webpack\345\267\245\344\275\234\346\265\201.md.CGhQ8Sce.lean.js" deleted file mode 100644 index d04e2ae..0000000 --- "a/assets/posts_\346\211\223\345\214\205\343\200\201\345\267\245\347\250\213\345\214\226_Webpack\345\267\245\344\275\234\346\265\201.md.CGhQ8Sce.lean.js" +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,c as i,a4 as a,o}from"./chunks/framework.0rl6iKyO.js";const h=JSON.parse('{"title":"Webpack工作流","description":"","frontmatter":{"title":"Webpack工作流","date":"2022-03-16T12:57:18.000Z","author":"RuiLin Dong","permalink":"/read/20220316010320","categories":["打包、工程化"],"tags":["模块化","打包","工程化"]},"headers":[],"relativePath":"posts/打包、工程化/Webpack工作流.md","filePath":"posts/打包、工程化/Webpack工作流.md"}'),t={name:"posts/打包、工程化/Webpack工作流.md"};function r(n,l,d,s,u,c){return o(),i("div",null,l[0]||(l[0]=[a('

Webpack

本质上,webpack 是一个用于现代 JavaScript 应用程序的 静态模块打包工具。当 webpack 处理应用程序时,它会在内部从一个或多个入口点构建一个 依赖图(dependency graph),然后将你项目中所需的每一个模块组合成一个或多个 bundles,它们均为静态资源,用于展示你的内容。

工作流

webpack 构建的核心任务是完成内容转化和资源合并。主要包含以下 3 个阶段:

  • 初始化阶段
    • 初始化参数:从配置文件、配置对象和Shell参数中读取并与默认参数进行合并,组合成最终使用的参数。
    • 创建编译对象:用上一步得到的参数创建 Compiler 对象。
    • 初始化编译环境:包括注入内置插件、注册各种模块工厂、初始化 RuleSet 集合、加载配置的插件等。
  • 构建阶段
    • 开始编译:执行 Compiler 对象的 run 方法,创建 Compilation 对象。
    • 确认编译入口:进入 entryOption 阶段,读取配置的 Entries,递归遍历所有的入口文件,调用 Compilation.addEntry 将入口文件转换为 Dependency 对象。
    • 编译模块: 调用 normalModule 中的 build 开启构建,从 entry 文件开始,调用 loader 对模块进行转译处理,然后调用 JS 解释器(acorn)将内容转化为 AST 对象,然后递归分析依赖,依次处理全部文件。
    • 完成模块编译:在上一步处理好所有模块后,得到模块编译产物和依赖关系图。
  • 生成阶段
    • 输出资源:根据入口和模块之间的依赖关系,组装成多个包含多个模块的 Chunk,再把每个 Chunk 转换成一个 Asset 加入到输出列表,这步是可以修改输出内容的最后机会。
    • 写入文件系统:确定好输出内容后,根据配置的 output 将内容写入文件系统。

深入

初始化阶段

简单说,初始化阶段的任务就是合并配置,并且生成 compiler 实例。

  • 将 process.args + webpack.config.js 合并成用户配置
  • 调用 validateSchema 校验配置
  • 调用 createCompiler 创建 Compiler 对象。
  • 遍历用户定义的 plugins 集合,执行插件的 apply 方法
  • 触发 environment 和 afterEnvironment 上注册的事件。
  • 调用 new WebpackOptionsApply().process 方法,加载各种内置插件
  • 触发 initialize 事件。

构建阶段

  • 在实例化 compiler 之后,执行 compiler.run()。
  • 执行 newCompilation 函数,调用 createCompilation 初始化 Compilation 对象。
  • 执行 _addEntryItem 将入口文件存入 this.entries(map 对象),遍历 this.entries 对象构建 chunk。
  • 执行 handleModuleCreation,开始创建模块实例。
  • 执行 moduleFactory.create 创建模块。
  • 执行 factory.hooks.factorize.call 钩子,然后会调用 ExternalModuleFactoryPlugin 中注册的钩子,用于配置外部文件的模块加载方式。
  • 使用 enhanced-resolve 解析模块和 loader 的真实绝对路径。
  • 执行 new NormalModule()创建 module 实例。
  • 执行 addModule,存储 module。
  • 执行 buildModule,添加模块到模块队列 buildQueue,开始构建模块, 这里会调用 normalModule 中的 build 开启构建。
  • 创建 loader 上下文。
  • 执行 runLoaders,通过 enhanced-resolve 解析得到的模块和 loader 的路径获取函数,执行 loader。
  • 生成模块的 hash。

生成阶段

  • 构建本次编译的 ChunkGraph 对象
  • 遍历 compilation.modules 集合,将 module 按 entry/动态引入 的规则分配给不同的 Chunk 对象
  • compilation.modules 集合遍历完毕后,得到完整的 chunks 集合对象
  • 遍历 module/chunk
  • 触发 seal 回调
',14)]))}const m=e(t,[["render",r]]);export{h as __pageData,m as default}; diff --git "a/assets/posts_\347\256\227\346\263\225_\345\270\270\347\224\250\346\225\260\347\273\204\346\216\222\345\272\217.md.CdEF-vYz.lean.js" "b/assets/posts_\347\256\227\346\263\225_\345\270\270\347\224\250\346\225\260\347\273\204\346\216\222\345\272\217.md.CdEF-vYz.lean.js" deleted file mode 100644 index c3a97fb..0000000 --- "a/assets/posts_\347\256\227\346\263\225_\345\270\270\347\224\250\346\225\260\347\273\204\346\216\222\345\272\217.md.CdEF-vYz.lean.js" +++ /dev/null @@ -1,54 +0,0 @@ -import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.0rl6iKyO.js";const g=JSON.parse('{"title":"常用数组排序","description":"","frontmatter":{"title":"常用数组排序","date":"2021-01-12T21:08:34.000Z","permalink":"/read/2020011206","author":"RuiLin Dong","categories":["算法"],"tags":["排序","JavaScript"]},"headers":[],"relativePath":"posts/算法/常用数组排序.md","filePath":"posts/算法/常用数组排序.md"}'),k={name:"posts/算法/常用数组排序.md"};function l(p,s,t,e,E,r){return h(),a("div",null,s[0]||(s[0]=[n(`

常用数组排序

本文主要汇总一维数组排序相关的方法,以升序为例。

一、冒泡排序

步骤: 1、两个for遍历,使用两个指针,外循环i指针,内循环j指针 2、对比两个指针指向的元素大小,如果i>j,则进行值交换

代码如下:

javascript
let bubbleSort = function (arr) { 
-
-    //双指针
-  for(let i = 0; i<arr.length; i++) {
-    for(let j = i+1 ; j<arr.length;j++)
-    if(arr[i] > arr[j]){
-      let t = arr[i]
-      arr[i] = arr[j]
-      arr[j] = t
-    }
-  }
-
-  return arr
-}

二、快速排序

步骤: 1、如果数组长度小于等于0则返回该数组 2、先提取中间值,把小于中间值的元素放在左数组,其他的放在右数组 3、递归重复第二步,用Array.prototype.concat合并数组

代码如下:

javascript
let quickSort = function (arr) { 
-    if(arr.length <= 0 ) {
-        return arr
-    }
-    let midIdx = Math.floor(arr.length / 2)
-    let mid = arr.splice(midIdx, 1)[0]
-    let left = []
-    let right = []
-
-    for(let i = 0; i<arr.length; i++) {
-        if(arr[i] <mid){
-            left.push(arr[i])
-        } else {
-            right.push(arr[i])
-        }
-    }
-
-    return quickSort(left).concat([mid],quickSort(right))
-}

三、插入排序

步骤: 1、遍历数组 2、保存当前i指针指向的元素,用prev指针来遍历当前对象之前的元素 3、前一元素大于当前元素时,把较大值后移一个,与再前一项去对比,找到比当前元素小的元素时停止 4、将prev指针指向当前元素

代码如下:

javascript
let insertSort = function (arr) {
-  let current , prev
-
-  for(let i = 1; i<arr.length ; i++) {
-    current = arr[i]
-    prev = i -1
-    while(prev >= 0 && current<arr[prev]) {
-      arr[prev+1] = arr[prev]
-      //prev指针前移
-      prev--
-    }
-
-    arr[prev+1] = current
-  }
-  return arr;
-}

四、es6方法

sort() 方法用原地算法对数组的元素进行排序,并返回数组。默认排序顺序是在将元素转换为字符串,然后比较它们的UTF-16代码单元值序列时构建的。

要比较数字而非字符串,比较函数可以简单的以 a 减 b,如下的代码将会将数组升序排列

javascript

-function sort(arr) {
-    if(arr.length <= 0){
-        return arr
-    }
-
-    return arr.sort((a,b)=>a-b)
-}
`,18)]))}const y=i(k,[["render",l]]);export{g as __pageData,y as default}; diff --git "a/assets/posts_\347\256\227\346\263\225_\345\270\270\347\224\250\346\225\260\347\273\204\346\216\222\345\272\217.md.CdEF-vYz.js" "b/assets/posts_\347\256\227\346\263\225_\345\270\270\347\224\250\346\225\260\347\273\204\346\216\222\345\272\217.md.DhwUpopQ.js" similarity index 91% rename from "assets/posts_\347\256\227\346\263\225_\345\270\270\347\224\250\346\225\260\347\273\204\346\216\222\345\272\217.md.CdEF-vYz.js" rename to "assets/posts_\347\256\227\346\263\225_\345\270\270\347\224\250\346\225\260\347\273\204\346\216\222\345\272\217.md.DhwUpopQ.js" index c3a97fb..d4509b9 100644 --- "a/assets/posts_\347\256\227\346\263\225_\345\270\270\347\224\250\346\225\260\347\273\204\346\216\222\345\272\217.md.CdEF-vYz.js" +++ "b/assets/posts_\347\256\227\346\263\225_\345\270\270\347\224\250\346\225\260\347\273\204\346\216\222\345\272\217.md.DhwUpopQ.js" @@ -1,4 +1,4 @@ -import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.0rl6iKyO.js";const g=JSON.parse('{"title":"常用数组排序","description":"","frontmatter":{"title":"常用数组排序","date":"2021-01-12T21:08:34.000Z","permalink":"/read/2020011206","author":"RuiLin Dong","categories":["算法"],"tags":["排序","JavaScript"]},"headers":[],"relativePath":"posts/算法/常用数组排序.md","filePath":"posts/算法/常用数组排序.md"}'),k={name:"posts/算法/常用数组排序.md"};function l(p,s,t,e,E,r){return h(),a("div",null,s[0]||(s[0]=[n(`

常用数组排序

本文主要汇总一维数组排序相关的方法,以升序为例。

一、冒泡排序

步骤: 1、两个for遍历,使用两个指针,外循环i指针,内循环j指针 2、对比两个指针指向的元素大小,如果i>j,则进行值交换

代码如下:

javascript
let bubbleSort = function (arr) { 
+import{_ as s,c as i,o as a,a7 as n}from"./chunks/framework.CIgcugFM.js";const F=JSON.parse('{"title":"常用数组排序","description":"","frontmatter":{"title":"常用数组排序","date":"2021-01-12T21:08:34.000Z","permalink":"/read/2020011206","author":"RuiLin Dong","categories":["算法"],"tags":["排序","JavaScript"]},"headers":[],"relativePath":"posts/算法/常用数组排序.md","filePath":"posts/算法/常用数组排序.md"}'),h={name:"posts/算法/常用数组排序.md"},k=n(`

常用数组排序

本文主要汇总一维数组排序相关的方法,以升序为例。

一、冒泡排序

步骤: 1、两个for遍历,使用两个指针,外循环i指针,内循环j指针 2、对比两个指针指向的元素大小,如果i>j,则进行值交换

代码如下:

javascript
let bubbleSort = function (arr) { 
 
     //双指针
   for(let i = 0; i<arr.length; i++) {
@@ -51,4 +51,4 @@ import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.0rl6iKyO.js";const g
     }
 
     return arr.sort((a,b)=>a-b)
-}
`,18)]))}const y=i(k,[["render",l]]);export{g as __pageData,y as default}; +}
`,18),l=[k];function p(t,e,E,r,d,g){return a(),i("div",null,l)}const c=s(h,[["render",p]]);export{F as __pageData,c as default}; diff --git "a/assets/posts_\347\256\227\346\263\225_\345\270\270\347\224\250\346\225\260\347\273\204\346\216\222\345\272\217.md.DhwUpopQ.lean.js" "b/assets/posts_\347\256\227\346\263\225_\345\270\270\347\224\250\346\225\260\347\273\204\346\216\222\345\272\217.md.DhwUpopQ.lean.js" new file mode 100644 index 0000000..b5cd1f0 --- /dev/null +++ "b/assets/posts_\347\256\227\346\263\225_\345\270\270\347\224\250\346\225\260\347\273\204\346\216\222\345\272\217.md.DhwUpopQ.lean.js" @@ -0,0 +1 @@ +import{_ as s,c as i,o as a,a7 as n}from"./chunks/framework.CIgcugFM.js";const F=JSON.parse('{"title":"常用数组排序","description":"","frontmatter":{"title":"常用数组排序","date":"2021-01-12T21:08:34.000Z","permalink":"/read/2020011206","author":"RuiLin Dong","categories":["算法"],"tags":["排序","JavaScript"]},"headers":[],"relativePath":"posts/算法/常用数组排序.md","filePath":"posts/算法/常用数组排序.md"}'),h={name:"posts/算法/常用数组排序.md"},k=n("",18),l=[k];function p(t,e,E,r,d,g){return a(),i("div",null,l)}const c=s(h,[["render",p]]);export{F as __pageData,c as default}; diff --git a/assets/style.qPJRxw_Q.css b/assets/style.BCQ5trhT.css similarity index 73% rename from assets/style.qPJRxw_Q.css rename to assets/style.BCQ5trhT.css index f594da0..6260133 100644 --- a/assets/style.qPJRxw_Q.css +++ b/assets/style.BCQ5trhT.css @@ -1 +1 @@ -@import"https://cdn.jsdelivr.net/npm/lxgw-wenkai-lite-webfont@1.6.0/style.min.css";@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-cyrillic-ext.BBPuwvHQ.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-cyrillic.C5lxZ8CY.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-greek-ext.CqjqNYQ-.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-greek.BBVDIX6e.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-vietnamese.BjW4sHH5.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-latin-ext.4ZJIpNVo.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-latin.Di8DUHzh.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-cyrillic-ext.r48I6akx.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-cyrillic.By2_1cv3.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-greek-ext.1u6EdAuj.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-greek.DJ8dCoTZ.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-vietnamese.BSbpV94h.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-latin-ext.CN1xVJS-.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-latin.C2AdPX0b.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Punctuation SC;font-weight:400;src:local("PingFang SC Regular"),local("Noto Sans CJK SC"),local("Microsoft YaHei");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation SC;font-weight:500;src:local("PingFang SC Medium"),local("Noto Sans CJK SC"),local("Microsoft YaHei");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation SC;font-weight:600;src:local("PingFang SC Semibold"),local("Noto Sans CJK SC Bold"),local("Microsoft YaHei Bold");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation SC;font-weight:700;src:local("PingFang SC Semibold"),local("Noto Sans CJK SC Bold"),local("Microsoft YaHei Bold");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}:root{--vp-c-white: #ffffff;--vp-c-black: #000000;--vp-c-neutral: var(--vp-c-black);--vp-c-neutral-inverse: var(--vp-c-white)}.dark{--vp-c-neutral: var(--vp-c-white);--vp-c-neutral-inverse: var(--vp-c-black)}:root{--vp-c-gray-1: #dddde3;--vp-c-gray-2: #e4e4e9;--vp-c-gray-3: #ebebef;--vp-c-gray-soft: rgba(142, 150, 170, .14);--vp-c-indigo-1: #3451b2;--vp-c-indigo-2: #3a5ccc;--vp-c-indigo-3: #5672cd;--vp-c-indigo-soft: rgba(100, 108, 255, .14);--vp-c-purple-1: #6f42c1;--vp-c-purple-2: #7e4cc9;--vp-c-purple-3: #8e5cd9;--vp-c-purple-soft: rgba(159, 122, 234, .14);--vp-c-green-1: #18794e;--vp-c-green-2: #299764;--vp-c-green-3: #30a46c;--vp-c-green-soft: rgba(16, 185, 129, .14);--vp-c-yellow-1: #915930;--vp-c-yellow-2: #946300;--vp-c-yellow-3: #9f6a00;--vp-c-yellow-soft: rgba(234, 179, 8, .14);--vp-c-red-1: #b8272c;--vp-c-red-2: #d5393e;--vp-c-red-3: #e0575b;--vp-c-red-soft: rgba(244, 63, 94, .14);--vp-c-sponsor: #db2777}.dark{--vp-c-gray-1: #515c67;--vp-c-gray-2: #414853;--vp-c-gray-3: #32363f;--vp-c-gray-soft: rgba(101, 117, 133, .16);--vp-c-indigo-1: #a8b1ff;--vp-c-indigo-2: #5c73e7;--vp-c-indigo-3: #3e63dd;--vp-c-indigo-soft: rgba(100, 108, 255, .16);--vp-c-purple-1: #c8abfa;--vp-c-purple-2: #a879e6;--vp-c-purple-3: #8e5cd9;--vp-c-purple-soft: rgba(159, 122, 234, .16);--vp-c-green-1: #3dd68c;--vp-c-green-2: #30a46c;--vp-c-green-3: #298459;--vp-c-green-soft: rgba(16, 185, 129, .16);--vp-c-yellow-1: #f9b44e;--vp-c-yellow-2: #da8b17;--vp-c-yellow-3: #a46a0a;--vp-c-yellow-soft: rgba(234, 179, 8, .16);--vp-c-red-1: #f66f81;--vp-c-red-2: #f14158;--vp-c-red-3: #b62a3c;--vp-c-red-soft: rgba(244, 63, 94, .16)}:root{--vp-c-bg: #ffffff;--vp-c-bg-alt: #f6f6f7;--vp-c-bg-elv: #ffffff;--vp-c-bg-soft: #f6f6f7}.dark{--vp-c-bg: #1b1b1f;--vp-c-bg-alt: #161618;--vp-c-bg-elv: #202127;--vp-c-bg-soft: #202127}:root{--vp-c-border: #c2c2c4;--vp-c-divider: #e2e2e3;--vp-c-gutter: #e2e2e3}.dark{--vp-c-border: #3c3f44;--vp-c-divider: #2e2e32;--vp-c-gutter: #000000}:root{--vp-c-text-1: rgba(60, 60, 67);--vp-c-text-2: rgba(60, 60, 67, .78);--vp-c-text-3: rgba(60, 60, 67, .56)}.dark{--vp-c-text-1: rgba(255, 255, 245, .86);--vp-c-text-2: rgba(235, 235, 245, .6);--vp-c-text-3: rgba(235, 235, 245, .38)}:root{--vp-c-default-1: var(--vp-c-gray-1);--vp-c-default-2: var(--vp-c-gray-2);--vp-c-default-3: var(--vp-c-gray-3);--vp-c-default-soft: var(--vp-c-gray-soft);--vp-c-brand-1: var(--vp-c-indigo-1);--vp-c-brand-2: var(--vp-c-indigo-2);--vp-c-brand-3: var(--vp-c-indigo-3);--vp-c-brand-soft: var(--vp-c-indigo-soft);--vp-c-brand: var(--vp-c-brand-1);--vp-c-tip-1: var(--vp-c-brand-1);--vp-c-tip-2: var(--vp-c-brand-2);--vp-c-tip-3: var(--vp-c-brand-3);--vp-c-tip-soft: var(--vp-c-brand-soft);--vp-c-note-1: var(--vp-c-brand-1);--vp-c-note-2: var(--vp-c-brand-2);--vp-c-note-3: var(--vp-c-brand-3);--vp-c-note-soft: var(--vp-c-brand-soft);--vp-c-success-1: var(--vp-c-green-1);--vp-c-success-2: var(--vp-c-green-2);--vp-c-success-3: var(--vp-c-green-3);--vp-c-success-soft: var(--vp-c-green-soft);--vp-c-important-1: var(--vp-c-purple-1);--vp-c-important-2: var(--vp-c-purple-2);--vp-c-important-3: var(--vp-c-purple-3);--vp-c-important-soft: var(--vp-c-purple-soft);--vp-c-warning-1: var(--vp-c-yellow-1);--vp-c-warning-2: var(--vp-c-yellow-2);--vp-c-warning-3: var(--vp-c-yellow-3);--vp-c-warning-soft: var(--vp-c-yellow-soft);--vp-c-danger-1: var(--vp-c-red-1);--vp-c-danger-2: var(--vp-c-red-2);--vp-c-danger-3: var(--vp-c-red-3);--vp-c-danger-soft: var(--vp-c-red-soft);--vp-c-caution-1: var(--vp-c-red-1);--vp-c-caution-2: var(--vp-c-red-2);--vp-c-caution-3: var(--vp-c-red-3);--vp-c-caution-soft: var(--vp-c-red-soft)}:root{--vp-font-family-base: "Inter", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--vp-font-family-mono: ui-monospace, "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", monospace;font-optical-sizing:auto}:root:where(:lang(zh)){--vp-font-family-base: "Punctuation SC", "Inter", ui-sans-serif, system-ui, "PingFang SC", "Noto Sans CJK SC", "Noto Sans SC", "Heiti SC", "Microsoft YaHei", "DengXian", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"}:root{--vp-shadow-1: 0 1px 2px rgba(0, 0, 0, .04), 0 1px 2px rgba(0, 0, 0, .06);--vp-shadow-2: 0 3px 12px rgba(0, 0, 0, .07), 0 1px 4px rgba(0, 0, 0, .07);--vp-shadow-3: 0 12px 32px rgba(0, 0, 0, .1), 0 2px 6px rgba(0, 0, 0, .08);--vp-shadow-4: 0 14px 44px rgba(0, 0, 0, .12), 0 3px 9px rgba(0, 0, 0, .12);--vp-shadow-5: 0 18px 56px rgba(0, 0, 0, .16), 0 4px 12px rgba(0, 0, 0, .16)}:root{--vp-z-index-footer: 10;--vp-z-index-local-nav: 20;--vp-z-index-nav: 30;--vp-z-index-layout-top: 40;--vp-z-index-backdrop: 50;--vp-z-index-sidebar: 60}@media (min-width: 960px){:root{--vp-z-index-sidebar: 25}}:root{--vp-layout-max-width: 1440px}:root{--vp-header-anchor-symbol: "#"}:root{--vp-code-line-height: 1.7;--vp-code-font-size: .875em;--vp-code-color: var(--vp-c-brand-1);--vp-code-link-color: var(--vp-c-brand-1);--vp-code-link-hover-color: var(--vp-c-brand-2);--vp-code-bg: var(--vp-c-default-soft);--vp-code-block-color: var(--vp-c-text-2);--vp-code-block-bg: var(--vp-c-bg-alt);--vp-code-block-divider-color: var(--vp-c-gutter);--vp-code-lang-color: var(--vp-c-text-3);--vp-code-line-highlight-color: var(--vp-c-default-soft);--vp-code-line-number-color: var(--vp-c-text-3);--vp-code-line-diff-add-color: var(--vp-c-success-soft);--vp-code-line-diff-add-symbol-color: var(--vp-c-success-1);--vp-code-line-diff-remove-color: var(--vp-c-danger-soft);--vp-code-line-diff-remove-symbol-color: var(--vp-c-danger-1);--vp-code-line-warning-color: var(--vp-c-warning-soft);--vp-code-line-error-color: var(--vp-c-danger-soft);--vp-code-copy-code-border-color: var(--vp-c-divider);--vp-code-copy-code-bg: var(--vp-c-bg-soft);--vp-code-copy-code-hover-border-color: var(--vp-c-divider);--vp-code-copy-code-hover-bg: var(--vp-c-bg);--vp-code-copy-code-active-text: var(--vp-c-text-2);--vp-code-copy-copied-text-content: "Copied";--vp-code-tab-divider: var(--vp-code-block-divider-color);--vp-code-tab-text-color: var(--vp-c-text-2);--vp-code-tab-bg: var(--vp-code-block-bg);--vp-code-tab-hover-text-color: var(--vp-c-text-1);--vp-code-tab-active-text-color: var(--vp-c-text-1);--vp-code-tab-active-bar-color: var(--vp-c-brand-1)}:root{--vp-button-brand-border: transparent;--vp-button-brand-text: var(--vp-c-white);--vp-button-brand-bg: var(--vp-c-brand-3);--vp-button-brand-hover-border: transparent;--vp-button-brand-hover-text: var(--vp-c-white);--vp-button-brand-hover-bg: var(--vp-c-brand-2);--vp-button-brand-active-border: transparent;--vp-button-brand-active-text: var(--vp-c-white);--vp-button-brand-active-bg: var(--vp-c-brand-1);--vp-button-alt-border: transparent;--vp-button-alt-text: var(--vp-c-text-1);--vp-button-alt-bg: var(--vp-c-default-3);--vp-button-alt-hover-border: transparent;--vp-button-alt-hover-text: var(--vp-c-text-1);--vp-button-alt-hover-bg: var(--vp-c-default-2);--vp-button-alt-active-border: transparent;--vp-button-alt-active-text: var(--vp-c-text-1);--vp-button-alt-active-bg: var(--vp-c-default-1);--vp-button-sponsor-border: var(--vp-c-text-2);--vp-button-sponsor-text: var(--vp-c-text-2);--vp-button-sponsor-bg: transparent;--vp-button-sponsor-hover-border: var(--vp-c-sponsor);--vp-button-sponsor-hover-text: var(--vp-c-sponsor);--vp-button-sponsor-hover-bg: transparent;--vp-button-sponsor-active-border: var(--vp-c-sponsor);--vp-button-sponsor-active-text: var(--vp-c-sponsor);--vp-button-sponsor-active-bg: transparent}:root{--vp-custom-block-font-size: 14px;--vp-custom-block-code-font-size: 13px;--vp-custom-block-info-border: transparent;--vp-custom-block-info-text: var(--vp-c-text-1);--vp-custom-block-info-bg: var(--vp-c-default-soft);--vp-custom-block-info-code-bg: var(--vp-c-default-soft);--vp-custom-block-note-border: transparent;--vp-custom-block-note-text: var(--vp-c-text-1);--vp-custom-block-note-bg: var(--vp-c-default-soft);--vp-custom-block-note-code-bg: var(--vp-c-default-soft);--vp-custom-block-tip-border: transparent;--vp-custom-block-tip-text: var(--vp-c-text-1);--vp-custom-block-tip-bg: var(--vp-c-tip-soft);--vp-custom-block-tip-code-bg: var(--vp-c-tip-soft);--vp-custom-block-important-border: transparent;--vp-custom-block-important-text: var(--vp-c-text-1);--vp-custom-block-important-bg: var(--vp-c-important-soft);--vp-custom-block-important-code-bg: var(--vp-c-important-soft);--vp-custom-block-warning-border: transparent;--vp-custom-block-warning-text: var(--vp-c-text-1);--vp-custom-block-warning-bg: var(--vp-c-warning-soft);--vp-custom-block-warning-code-bg: var(--vp-c-warning-soft);--vp-custom-block-danger-border: transparent;--vp-custom-block-danger-text: var(--vp-c-text-1);--vp-custom-block-danger-bg: var(--vp-c-danger-soft);--vp-custom-block-danger-code-bg: var(--vp-c-danger-soft);--vp-custom-block-caution-border: transparent;--vp-custom-block-caution-text: var(--vp-c-text-1);--vp-custom-block-caution-bg: var(--vp-c-caution-soft);--vp-custom-block-caution-code-bg: var(--vp-c-caution-soft);--vp-custom-block-details-border: var(--vp-custom-block-info-border);--vp-custom-block-details-text: var(--vp-custom-block-info-text);--vp-custom-block-details-bg: var(--vp-custom-block-info-bg);--vp-custom-block-details-code-bg: var(--vp-custom-block-info-code-bg)}:root{--vp-input-border-color: var(--vp-c-border);--vp-input-bg-color: var(--vp-c-bg-alt);--vp-input-switch-bg-color: var(--vp-c-default-soft)}:root{--vp-nav-height: 64px;--vp-nav-bg-color: var(--vp-c-bg);--vp-nav-screen-bg-color: var(--vp-c-bg);--vp-nav-logo-height: 24px}.hide-nav{--vp-nav-height: 0px}.hide-nav .VPSidebar{--vp-nav-height: 22px}:root{--vp-local-nav-bg-color: var(--vp-c-bg)}:root{--vp-sidebar-width: 272px;--vp-sidebar-bg-color: var(--vp-c-bg-alt)}:root{--vp-backdrop-bg-color: rgba(0, 0, 0, .6)}:root{--vp-home-hero-name-color: var(--vp-c-brand-1);--vp-home-hero-name-background: transparent;--vp-home-hero-image-background-image: none;--vp-home-hero-image-filter: none}:root{--vp-badge-info-border: transparent;--vp-badge-info-text: var(--vp-c-text-2);--vp-badge-info-bg: var(--vp-c-default-soft);--vp-badge-tip-border: transparent;--vp-badge-tip-text: var(--vp-c-tip-1);--vp-badge-tip-bg: var(--vp-c-tip-soft);--vp-badge-warning-border: transparent;--vp-badge-warning-text: var(--vp-c-warning-1);--vp-badge-warning-bg: var(--vp-c-warning-soft);--vp-badge-danger-border: transparent;--vp-badge-danger-text: var(--vp-c-danger-1);--vp-badge-danger-bg: var(--vp-c-danger-soft)}:root{--vp-carbon-ads-text-color: var(--vp-c-text-1);--vp-carbon-ads-poweredby-color: var(--vp-c-text-2);--vp-carbon-ads-bg-color: var(--vp-c-bg-soft);--vp-carbon-ads-hover-text-color: var(--vp-c-brand-1);--vp-carbon-ads-hover-poweredby-color: var(--vp-c-text-1)}:root{--vp-local-search-bg: var(--vp-c-bg);--vp-local-search-result-bg: var(--vp-c-bg);--vp-local-search-result-border: var(--vp-c-divider);--vp-local-search-result-selected-bg: var(--vp-c-bg);--vp-local-search-result-selected-border: var(--vp-c-brand-1);--vp-local-search-highlight-bg: var(--vp-c-brand-1);--vp-local-search-highlight-text: var(--vp-c-neutral-inverse)}@media (prefers-reduced-motion: reduce){*,:before,:after{animation-delay:-1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important;background-attachment:initial!important;scroll-behavior:auto!important;transition-duration:0s!important;transition-delay:0s!important}}*,:before,:after{box-sizing:border-box}html{line-height:1.4;font-size:16px;-webkit-text-size-adjust:100%}html.dark{color-scheme:dark}body{margin:0;width:100%;min-width:320px;min-height:100vh;line-height:24px;font-family:var(--vp-font-family-base);font-size:16px;font-weight:400;color:var(--vp-c-text-1);background-color:var(--vp-c-bg);font-synthesis:style;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}main{display:block}h1,h2,h3,h4,h5,h6{margin:0;line-height:24px;font-size:16px;font-weight:400}p{margin:0}strong,b{font-weight:600}a,area,button,[role=button],input,label,select,summary,textarea{touch-action:manipulation}a{color:inherit;text-decoration:inherit}ol,ul{list-style:none;margin:0;padding:0}blockquote{margin:0}pre,code,kbd,samp{font-family:var(--vp-font-family-mono)}img,svg,video,canvas,audio,iframe,embed,object{display:block}figure{margin:0}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{border:0;padding:0;line-height:inherit;color:inherit}button{padding:0;font-family:inherit;background-color:transparent;background-image:none}button:enabled,[role=button]:enabled{cursor:pointer}button:focus,button:focus-visible{outline:1px dotted;outline:4px auto -webkit-focus-ring-color}button:focus:not(:focus-visible){outline:none!important}input:focus,textarea:focus,select:focus{outline:none}table{border-collapse:collapse}input{background-color:transparent}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:var(--vp-c-text-3)}input::-ms-input-placeholder,textarea::-ms-input-placeholder{color:var(--vp-c-text-3)}input::placeholder,textarea::placeholder{color:var(--vp-c-text-3)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}textarea{resize:vertical}select{-webkit-appearance:none}fieldset{margin:0;padding:0}h1,h2,h3,h4,h5,h6,li,p{overflow-wrap:break-word}vite-error-overlay{z-index:9999}mjx-container{overflow-x:auto}mjx-container>svg{display:inline-block;margin:auto}[class^=vpi-],[class*=" vpi-"],.vp-icon{width:1em;height:1em}[class^=vpi-].bg,[class*=" vpi-"].bg,.vp-icon.bg{background-size:100% 100%;background-color:transparent}[class^=vpi-]:not(.bg),[class*=" vpi-"]:not(.bg),.vp-icon:not(.bg){-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.vpi-align-left{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M21 6H3M15 12H3M17 18H3'/%3E%3C/svg%3E")}.vpi-arrow-right,.vpi-arrow-down,.vpi-arrow-left,.vpi-arrow-up{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E")}.vpi-chevron-right,.vpi-chevron-down,.vpi-chevron-left,.vpi-chevron-up{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E")}.vpi-chevron-down,.vpi-arrow-down{transform:rotate(90deg)}.vpi-chevron-left,.vpi-arrow-left{transform:rotate(180deg)}.vpi-chevron-up,.vpi-arrow-up{transform:rotate(-90deg)}.vpi-square-pen{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7'/%3E%3Cpath d='M18.375 2.625a2.121 2.121 0 1 1 3 3L12 15l-4 1 1-4Z'/%3E%3C/svg%3E")}.vpi-plus{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E")}.vpi-sun{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41'/%3E%3C/svg%3E")}.vpi-moon{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z'/%3E%3C/svg%3E")}.vpi-more-horizontal{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3Ccircle cx='19' cy='12' r='1'/%3E%3Ccircle cx='5' cy='12' r='1'/%3E%3C/svg%3E")}.vpi-languages{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m5 8 6 6M4 14l6-6 2-3M2 5h12M7 2h1M22 22l-5-10-5 10M14 18h6'/%3E%3C/svg%3E")}.vpi-heart{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E")}.vpi-search{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E")}.vpi-layout-list{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect width='7' height='7' x='3' y='3' rx='1'/%3E%3Crect width='7' height='7' x='3' y='14' rx='1'/%3E%3Cpath d='M14 4h7M14 9h7M14 15h7M14 20h7'/%3E%3C/svg%3E")}.vpi-delete{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M20 5H9l-7 7 7 7h11a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2ZM18 9l-6 6M12 9l6 6'/%3E%3C/svg%3E")}.vpi-corner-down-left{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m9 10-5 5 5 5'/%3E%3Cpath d='M20 4v7a4 4 0 0 1-4 4H4'/%3E%3C/svg%3E")}:root{--vp-icon-copy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='rgba(128,128,128,1)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect width='8' height='4' x='8' y='2' rx='1' ry='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3C/svg%3E");--vp-icon-copied: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='rgba(128,128,128,1)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect width='8' height='4' x='8' y='2' rx='1' ry='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Cpath d='m9 14 2 2 4-4'/%3E%3C/svg%3E")}.vpi-social-discord{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028c.462-.63.874-1.295 1.226-1.994a.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418Z'/%3E%3C/svg%3E")}.vpi-social-facebook{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z'/%3E%3C/svg%3E")}.vpi-social-github{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E")}.vpi-social-instagram{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.03.084c-1.277.06-2.149.264-2.91.563a5.874 5.874 0 0 0-2.124 1.388 5.878 5.878 0 0 0-1.38 2.127C.321 4.926.12 5.8.064 7.076.008 8.354-.005 8.764.001 12.023c.007 3.259.021 3.667.083 4.947.061 1.277.264 2.149.563 2.911.308.789.72 1.457 1.388 2.123a5.872 5.872 0 0 0 2.129 1.38c.763.295 1.636.496 2.913.552 1.278.056 1.689.069 4.947.063 3.257-.007 3.668-.021 4.947-.082 1.28-.06 2.147-.265 2.91-.563a5.881 5.881 0 0 0 2.123-1.388 5.881 5.881 0 0 0 1.38-2.129c.295-.763.496-1.636.551-2.912.056-1.28.07-1.69.063-4.948-.006-3.258-.02-3.667-.081-4.947-.06-1.28-.264-2.148-.564-2.911a5.892 5.892 0 0 0-1.387-2.123 5.857 5.857 0 0 0-2.128-1.38C19.074.322 18.202.12 16.924.066 15.647.009 15.236-.006 11.977 0 8.718.008 8.31.021 7.03.084m.14 21.693c-1.17-.05-1.805-.245-2.228-.408a3.736 3.736 0 0 1-1.382-.895 3.695 3.695 0 0 1-.9-1.378c-.165-.423-.363-1.058-.417-2.228-.06-1.264-.072-1.644-.08-4.848-.006-3.204.006-3.583.061-4.848.05-1.169.246-1.805.408-2.228.216-.561.477-.96.895-1.382a3.705 3.705 0 0 1 1.379-.9c.423-.165 1.057-.361 2.227-.417 1.265-.06 1.644-.072 4.848-.08 3.203-.006 3.583.006 4.85.062 1.168.05 1.804.244 2.227.408.56.216.96.475 1.382.895.421.42.681.817.9 1.378.165.422.362 1.056.417 2.227.06 1.265.074 1.645.08 4.848.005 3.203-.006 3.583-.061 4.848-.051 1.17-.245 1.805-.408 2.23-.216.56-.477.96-.896 1.38a3.705 3.705 0 0 1-1.378.9c-.422.165-1.058.362-2.226.418-1.266.06-1.645.072-4.85.079-3.204.007-3.582-.006-4.848-.06m9.783-16.192a1.44 1.44 0 1 0 1.437-1.442 1.44 1.44 0 0 0-1.437 1.442M5.839 12.012a6.161 6.161 0 1 0 12.323-.024 6.162 6.162 0 0 0-12.323.024M8 12.008A4 4 0 1 1 12.008 16 4 4 0 0 1 8 12.008'/%3E%3C/svg%3E")}.vpi-social-linkedin{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 0 1-2.063-2.065 2.064 2.064 0 1 1 2.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'/%3E%3C/svg%3E")}.vpi-social-mastodon{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.268 5.313c-.35-2.578-2.617-4.61-5.304-5.004C17.51.242 15.792 0 11.813 0h-.03c-3.98 0-4.835.242-5.288.309C3.882.692 1.496 2.518.917 5.127.64 6.412.61 7.837.661 9.143c.074 1.874.088 3.745.26 5.611.118 1.24.325 2.47.62 3.68.55 2.237 2.777 4.098 4.96 4.857 2.336.792 4.849.923 7.256.38.265-.061.527-.132.786-.213.585-.184 1.27-.39 1.774-.753a.057.057 0 0 0 .023-.043v-1.809a.052.052 0 0 0-.02-.041.053.053 0 0 0-.046-.01 20.282 20.282 0 0 1-4.709.545c-2.73 0-3.463-1.284-3.674-1.818a5.593 5.593 0 0 1-.319-1.433.053.053 0 0 1 .066-.054c1.517.363 3.072.546 4.632.546.376 0 .75 0 1.125-.01 1.57-.044 3.224-.124 4.768-.422.038-.008.077-.015.11-.024 2.435-.464 4.753-1.92 4.989-5.604.008-.145.03-1.52.03-1.67.002-.512.167-3.63-.024-5.545zm-3.748 9.195h-2.561V8.29c0-1.309-.55-1.976-1.67-1.976-1.23 0-1.846.79-1.846 2.35v3.403h-2.546V8.663c0-1.56-.617-2.35-1.848-2.35-1.112 0-1.668.668-1.67 1.977v6.218H4.822V8.102c0-1.31.337-2.35 1.011-3.12.696-.77 1.608-1.164 2.74-1.164 1.311 0 2.302.5 2.962 1.498l.638 1.06.638-1.06c.66-.999 1.65-1.498 2.96-1.498 1.13 0 2.043.395 2.74 1.164.675.77 1.012 1.81 1.012 3.12z'/%3E%3C/svg%3E")}.vpi-social-npm{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113z'/%3E%3C/svg%3E")}.vpi-social-slack{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.042 15.165a2.528 2.528 0 0 1-2.52 2.523A2.528 2.528 0 0 1 0 15.165a2.527 2.527 0 0 1 2.522-2.52h2.52v2.52zm1.271 0a2.527 2.527 0 0 1 2.521-2.52 2.527 2.527 0 0 1 2.521 2.52v6.313A2.528 2.528 0 0 1 8.834 24a2.528 2.528 0 0 1-2.521-2.522v-6.313zM8.834 5.042a2.528 2.528 0 0 1-2.521-2.52A2.528 2.528 0 0 1 8.834 0a2.528 2.528 0 0 1 2.521 2.522v2.52H8.834zm0 1.271a2.528 2.528 0 0 1 2.521 2.521 2.528 2.528 0 0 1-2.521 2.521H2.522A2.528 2.528 0 0 1 0 8.834a2.528 2.528 0 0 1 2.522-2.521h6.312zm10.122 2.521a2.528 2.528 0 0 1 2.522-2.521A2.528 2.528 0 0 1 24 8.834a2.528 2.528 0 0 1-2.522 2.521h-2.522V8.834zm-1.268 0a2.528 2.528 0 0 1-2.523 2.521 2.527 2.527 0 0 1-2.52-2.521V2.522A2.527 2.527 0 0 1 15.165 0a2.528 2.528 0 0 1 2.523 2.522v6.312zm-2.523 10.122a2.528 2.528 0 0 1 2.523 2.522A2.528 2.528 0 0 1 15.165 24a2.527 2.527 0 0 1-2.52-2.522v-2.522h2.52zm0-1.268a2.527 2.527 0 0 1-2.52-2.523 2.526 2.526 0 0 1 2.52-2.52h6.313A2.527 2.527 0 0 1 24 15.165a2.528 2.528 0 0 1-2.522 2.523h-6.313z'/%3E%3C/svg%3E")}.vpi-social-twitter,.vpi-social-x{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z'/%3E%3C/svg%3E")}.vpi-social-youtube{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3E%3C/svg%3E")}.visually-hidden{position:absolute;width:1px;height:1px;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden}.custom-block{border:1px solid transparent;border-radius:8px;padding:16px 16px 8px;line-height:24px;font-size:var(--vp-custom-block-font-size);color:var(--vp-c-text-2)}.custom-block.info{border-color:var(--vp-custom-block-info-border);color:var(--vp-custom-block-info-text);background-color:var(--vp-custom-block-info-bg)}.custom-block.info a,.custom-block.info code{color:var(--vp-c-brand-1)}.custom-block.info a:hover,.custom-block.info a:hover>code{color:var(--vp-c-brand-2)}.custom-block.info code{background-color:var(--vp-custom-block-info-code-bg)}.custom-block.note{border-color:var(--vp-custom-block-note-border);color:var(--vp-custom-block-note-text);background-color:var(--vp-custom-block-note-bg)}.custom-block.note a,.custom-block.note code{color:var(--vp-c-brand-1)}.custom-block.note a:hover,.custom-block.note a:hover>code{color:var(--vp-c-brand-2)}.custom-block.note code{background-color:var(--vp-custom-block-note-code-bg)}.custom-block.tip{border-color:var(--vp-custom-block-tip-border);color:var(--vp-custom-block-tip-text);background-color:var(--vp-custom-block-tip-bg)}.custom-block.tip a,.custom-block.tip code{color:var(--vp-c-tip-1)}.custom-block.tip a:hover,.custom-block.tip a:hover>code{color:var(--vp-c-tip-2)}.custom-block.tip code{background-color:var(--vp-custom-block-tip-code-bg)}.custom-block.important{border-color:var(--vp-custom-block-important-border);color:var(--vp-custom-block-important-text);background-color:var(--vp-custom-block-important-bg)}.custom-block.important a,.custom-block.important code{color:var(--vp-c-important-1)}.custom-block.important a:hover,.custom-block.important a:hover>code{color:var(--vp-c-important-2)}.custom-block.important code{background-color:var(--vp-custom-block-important-code-bg)}.custom-block.warning{border-color:var(--vp-custom-block-warning-border);color:var(--vp-custom-block-warning-text);background-color:var(--vp-custom-block-warning-bg)}.custom-block.warning a,.custom-block.warning code{color:var(--vp-c-warning-1)}.custom-block.warning a:hover,.custom-block.warning a:hover>code{color:var(--vp-c-warning-2)}.custom-block.warning code{background-color:var(--vp-custom-block-warning-code-bg)}.custom-block.danger{border-color:var(--vp-custom-block-danger-border);color:var(--vp-custom-block-danger-text);background-color:var(--vp-custom-block-danger-bg)}.custom-block.danger a,.custom-block.danger code{color:var(--vp-c-danger-1)}.custom-block.danger a:hover,.custom-block.danger a:hover>code{color:var(--vp-c-danger-2)}.custom-block.danger code{background-color:var(--vp-custom-block-danger-code-bg)}.custom-block.caution{border-color:var(--vp-custom-block-caution-border);color:var(--vp-custom-block-caution-text);background-color:var(--vp-custom-block-caution-bg)}.custom-block.caution a,.custom-block.caution code{color:var(--vp-c-caution-1)}.custom-block.caution a:hover,.custom-block.caution a:hover>code{color:var(--vp-c-caution-2)}.custom-block.caution code{background-color:var(--vp-custom-block-caution-code-bg)}.custom-block.details{border-color:var(--vp-custom-block-details-border);color:var(--vp-custom-block-details-text);background-color:var(--vp-custom-block-details-bg)}.custom-block.details a{color:var(--vp-c-brand-1)}.custom-block.details a:hover,.custom-block.details a:hover>code{color:var(--vp-c-brand-2)}.custom-block.details code{background-color:var(--vp-custom-block-details-code-bg)}.custom-block-title{font-weight:600}.custom-block p+p{margin:8px 0}.custom-block.details summary{margin:0 0 8px;font-weight:700;cursor:pointer;-webkit-user-select:none;user-select:none}.custom-block.details summary+p{margin:8px 0}.custom-block a{color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:2px;transition:opacity .25s}.custom-block a:hover{opacity:.75}.custom-block code{font-size:var(--vp-custom-block-code-font-size)}.custom-block.custom-block th,.custom-block.custom-block blockquote>p{font-size:var(--vp-custom-block-font-size);color:inherit}.dark .vp-code span{color:var(--shiki-dark, inherit)}html:not(.dark) .vp-code span{color:var(--shiki-light, inherit)}.vp-code-group{margin-top:16px}.vp-code-group .tabs{position:relative;display:flex;margin-right:-24px;margin-left:-24px;padding:0 12px;background-color:var(--vp-code-tab-bg);overflow-x:auto;overflow-y:hidden;box-shadow:inset 0 -1px var(--vp-code-tab-divider)}@media (min-width: 640px){.vp-code-group .tabs{margin-right:0;margin-left:0;border-radius:8px 8px 0 0}}.vp-code-group .tabs input{position:fixed;opacity:0;pointer-events:none}.vp-code-group .tabs label{position:relative;display:inline-block;border-bottom:1px solid transparent;padding:0 12px;line-height:48px;font-size:14px;font-weight:500;color:var(--vp-code-tab-text-color);white-space:nowrap;cursor:pointer;transition:color .25s}.vp-code-group .tabs label:after{position:absolute;right:8px;bottom:-1px;left:8px;z-index:1;height:2px;border-radius:2px;content:"";background-color:transparent;transition:background-color .25s}.vp-code-group label:hover{color:var(--vp-code-tab-hover-text-color)}.vp-code-group input:checked+label{color:var(--vp-code-tab-active-text-color)}.vp-code-group input:checked+label:after{background-color:var(--vp-code-tab-active-bar-color)}.vp-code-group div[class*=language-],.vp-block{display:none;margin-top:0!important;border-top-left-radius:0!important;border-top-right-radius:0!important}.vp-code-group div[class*=language-].active,.vp-block.active{display:block}.vp-block{padding:20px 24px}.vp-doc h1,.vp-doc h2,.vp-doc h3,.vp-doc h4,.vp-doc h5,.vp-doc h6{position:relative;font-weight:600;outline:none}.vp-doc h1{letter-spacing:-.02em;line-height:40px;font-size:28px}.vp-doc h2{margin:48px 0 16px;border-top:1px solid var(--vp-c-divider);padding-top:24px;letter-spacing:-.02em;line-height:32px;font-size:24px}.vp-doc h3{margin:32px 0 0;letter-spacing:-.01em;line-height:28px;font-size:20px}.vp-doc h4{margin:24px 0 0;letter-spacing:-.01em;line-height:24px;font-size:18px}.vp-doc .header-anchor{position:absolute;top:0;left:0;margin-left:-.87em;font-weight:500;-webkit-user-select:none;user-select:none;opacity:0;text-decoration:none;transition:color .25s,opacity .25s}.vp-doc .header-anchor:before{content:var(--vp-header-anchor-symbol)}.vp-doc h1:hover .header-anchor,.vp-doc h1 .header-anchor:focus,.vp-doc h2:hover .header-anchor,.vp-doc h2 .header-anchor:focus,.vp-doc h3:hover .header-anchor,.vp-doc h3 .header-anchor:focus,.vp-doc h4:hover .header-anchor,.vp-doc h4 .header-anchor:focus,.vp-doc h5:hover .header-anchor,.vp-doc h5 .header-anchor:focus,.vp-doc h6:hover .header-anchor,.vp-doc h6 .header-anchor:focus{opacity:1}@media (min-width: 768px){.vp-doc h1{letter-spacing:-.02em;line-height:40px;font-size:32px}}.vp-doc h2 .header-anchor{top:24px}.vp-doc p,.vp-doc summary{margin:16px 0}.vp-doc p{line-height:28px}.vp-doc blockquote{margin:16px 0;border-left:2px solid var(--vp-c-divider);padding-left:16px;transition:border-color .5s;color:var(--vp-c-text-2)}.vp-doc blockquote>p{margin:0;font-size:16px;transition:color .5s}.vp-doc a{font-weight:500;color:var(--vp-c-brand-1);text-decoration:underline;text-underline-offset:2px;transition:color .25s,opacity .25s}.vp-doc a:hover{color:var(--vp-c-brand-2)}.vp-doc strong{font-weight:600}.vp-doc ul,.vp-doc ol{padding-left:1.25rem;margin:16px 0}.vp-doc ul{list-style:disc}.vp-doc ol{list-style:decimal}.vp-doc li+li{margin-top:8px}.vp-doc li>ol,.vp-doc li>ul{margin:8px 0 0}.vp-doc table{display:block;border-collapse:collapse;margin:20px 0;overflow-x:auto}.vp-doc tr{background-color:var(--vp-c-bg);border-top:1px solid var(--vp-c-divider);transition:background-color .5s}.vp-doc tr:nth-child(2n){background-color:var(--vp-c-bg-soft)}.vp-doc th,.vp-doc td{border:1px solid var(--vp-c-divider);padding:8px 16px}.vp-doc th{text-align:left;font-size:14px;font-weight:600;color:var(--vp-c-text-2);background-color:var(--vp-c-bg-soft)}.vp-doc td{font-size:14px}.vp-doc hr{margin:16px 0;border:none;border-top:1px solid var(--vp-c-divider)}.vp-doc .custom-block{margin:16px 0}.vp-doc .custom-block p{margin:8px 0;line-height:24px}.vp-doc .custom-block p:first-child{margin:0}.vp-doc .custom-block div[class*=language-]{margin:8px 0;border-radius:8px}.vp-doc .custom-block div[class*=language-] code{font-weight:400;background-color:transparent}.vp-doc .custom-block .vp-code-group .tabs{margin:0;border-radius:8px 8px 0 0}.vp-doc :not(pre,h1,h2,h3,h4,h5,h6)>code{font-size:var(--vp-code-font-size);color:var(--vp-code-color)}.vp-doc :not(pre)>code{border-radius:4px;padding:3px 6px;background-color:var(--vp-code-bg);transition:color .25s,background-color .5s}.vp-doc a>code{color:var(--vp-code-link-color)}.vp-doc a:hover>code{color:var(--vp-code-link-hover-color)}.vp-doc h1>code,.vp-doc h2>code,.vp-doc h3>code,.vp-doc h4>code{font-size:.9em}.vp-doc div[class*=language-],.vp-block{position:relative;margin:16px -24px;background-color:var(--vp-code-block-bg);overflow-x:auto;transition:background-color .5s}@media (min-width: 640px){.vp-doc div[class*=language-],.vp-block{border-radius:8px;margin:16px 0}}@media (max-width: 639px){.vp-doc li div[class*=language-]{border-radius:8px 0 0 8px}}.vp-doc div[class*=language-]+div[class*=language-],.vp-doc div[class$=-api]+div[class*=language-],.vp-doc div[class*=language-]+div[class$=-api]>div[class*=language-]{margin-top:-8px}.vp-doc [class*=language-] pre,.vp-doc [class*=language-] code{direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}.vp-doc [class*=language-] pre{position:relative;z-index:1;margin:0;padding:20px 0;background:transparent;overflow-x:auto}.vp-doc [class*=language-] code{display:block;padding:0 24px;width:fit-content;min-width:100%;line-height:var(--vp-code-line-height);font-size:var(--vp-code-font-size);color:var(--vp-code-block-color);transition:color .5s}.vp-doc [class*=language-] code .highlighted{background-color:var(--vp-code-line-highlight-color);transition:background-color .5s;margin:0 -24px;padding:0 24px;width:calc(100% + 48px);display:inline-block}.vp-doc [class*=language-] code .highlighted.error{background-color:var(--vp-code-line-error-color)}.vp-doc [class*=language-] code .highlighted.warning{background-color:var(--vp-code-line-warning-color)}.vp-doc [class*=language-] code .diff{transition:background-color .5s;margin:0 -24px;padding:0 24px;width:calc(100% + 48px);display:inline-block}.vp-doc [class*=language-] code .diff:before{position:absolute;left:10px}.vp-doc [class*=language-] .has-focused-lines .line:not(.has-focus){filter:blur(.095rem);opacity:.4;transition:filter .35s,opacity .35s}.vp-doc [class*=language-] .has-focused-lines .line:not(.has-focus){opacity:.7;transition:filter .35s,opacity .35s}.vp-doc [class*=language-]:hover .has-focused-lines .line:not(.has-focus){filter:blur(0);opacity:1}.vp-doc [class*=language-] code .diff.remove{background-color:var(--vp-code-line-diff-remove-color);opacity:.7}.vp-doc [class*=language-] code .diff.remove:before{content:"-";color:var(--vp-code-line-diff-remove-symbol-color)}.vp-doc [class*=language-] code .diff.add{background-color:var(--vp-code-line-diff-add-color)}.vp-doc [class*=language-] code .diff.add:before{content:"+";color:var(--vp-code-line-diff-add-symbol-color)}.vp-doc div[class*=language-].line-numbers-mode{padding-left:32px}.vp-doc .line-numbers-wrapper{position:absolute;top:0;bottom:0;left:0;z-index:3;border-right:1px solid var(--vp-code-block-divider-color);padding-top:20px;width:32px;text-align:center;font-family:var(--vp-font-family-mono);line-height:var(--vp-code-line-height);font-size:var(--vp-code-font-size);color:var(--vp-code-line-number-color);transition:border-color .5s,color .5s}.vp-doc [class*=language-]>button.copy{direction:ltr;position:absolute;top:12px;right:12px;z-index:3;border:1px solid var(--vp-code-copy-code-border-color);border-radius:4px;width:40px;height:40px;background-color:var(--vp-code-copy-code-bg);opacity:0;cursor:pointer;background-image:var(--vp-icon-copy);background-position:50%;background-size:20px;background-repeat:no-repeat;transition:border-color .25s,background-color .25s,opacity .25s}.vp-doc [class*=language-]:hover>button.copy,.vp-doc [class*=language-]>button.copy:focus{opacity:1}.vp-doc [class*=language-]>button.copy:hover,.vp-doc [class*=language-]>button.copy.copied{border-color:var(--vp-code-copy-code-hover-border-color);background-color:var(--vp-code-copy-code-hover-bg)}.vp-doc [class*=language-]>button.copy.copied,.vp-doc [class*=language-]>button.copy:hover.copied{border-radius:0 4px 4px 0;background-color:var(--vp-code-copy-code-hover-bg);background-image:var(--vp-icon-copied)}.vp-doc [class*=language-]>button.copy.copied:before,.vp-doc [class*=language-]>button.copy:hover.copied:before{position:relative;top:-1px;transform:translate(calc(-100% - 1px));display:flex;justify-content:center;align-items:center;border:1px solid var(--vp-code-copy-code-hover-border-color);border-right:0;border-radius:4px 0 0 4px;padding:0 10px;width:fit-content;height:40px;text-align:center;font-size:12px;font-weight:500;color:var(--vp-code-copy-code-active-text);background-color:var(--vp-code-copy-code-hover-bg);white-space:nowrap;content:var(--vp-code-copy-copied-text-content)}.vp-doc [class*=language-]>span.lang{position:absolute;top:2px;right:8px;z-index:2;font-size:12px;font-weight:500;color:var(--vp-code-lang-color);transition:color .4s,opacity .4s}.vp-doc [class*=language-]:hover>button.copy+span.lang,.vp-doc [class*=language-]>button.copy:focus+span.lang{opacity:0}.vp-doc .VPTeamMembers{margin-top:24px}.vp-doc .VPTeamMembers.small.count-1 .container{margin:0!important;max-width:calc((100% - 24px)/2)!important}.vp-doc .VPTeamMembers.small.count-2 .container,.vp-doc .VPTeamMembers.small.count-3 .container{max-width:100%!important}.vp-doc .VPTeamMembers.medium.count-1 .container{margin:0!important;max-width:calc((100% - 24px)/2)!important}:is(.vp-external-link-icon,.vp-doc a[href*="://"],.vp-doc a[target=_blank]):not(.no-icon):after{display:inline-block;margin-top:-1px;margin-left:4px;width:11px;height:11px;background:currentColor;color:var(--vp-c-text-3);flex-shrink:0;--icon: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath d='M0 0h24v24H0V0z' fill='none' /%3E%3Cpath d='M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z' /%3E%3C/svg%3E");-webkit-mask-image:var(--icon);mask-image:var(--icon)}.vp-external-link-icon:after{content:""}.external-link-icon-enabled :is(.vp-doc a[href*="://"],.vp-doc a[target=_blank]):after{content:"";color:currentColor}.vp-sponsor{border-radius:16px;overflow:hidden}.vp-sponsor.aside{border-radius:12px}.vp-sponsor-section+.vp-sponsor-section{margin-top:4px}.vp-sponsor-tier{margin:0 0 4px!important;text-align:center;letter-spacing:1px!important;line-height:24px;width:100%;font-weight:600;color:var(--vp-c-text-2);background-color:var(--vp-c-bg-soft)}.vp-sponsor.normal .vp-sponsor-tier{padding:13px 0 11px;font-size:14px}.vp-sponsor.aside .vp-sponsor-tier{padding:9px 0 7px;font-size:12px}.vp-sponsor-grid+.vp-sponsor-tier{margin-top:4px}.vp-sponsor-grid{display:flex;flex-wrap:wrap;gap:4px}.vp-sponsor-grid.xmini .vp-sponsor-grid-link{height:64px}.vp-sponsor-grid.xmini .vp-sponsor-grid-image{max-width:64px;max-height:22px}.vp-sponsor-grid.mini .vp-sponsor-grid-link{height:72px}.vp-sponsor-grid.mini .vp-sponsor-grid-image{max-width:96px;max-height:24px}.vp-sponsor-grid.small .vp-sponsor-grid-link{height:96px}.vp-sponsor-grid.small .vp-sponsor-grid-image{max-width:96px;max-height:24px}.vp-sponsor-grid.medium .vp-sponsor-grid-link{height:112px}.vp-sponsor-grid.medium .vp-sponsor-grid-image{max-width:120px;max-height:36px}.vp-sponsor-grid.big .vp-sponsor-grid-link{height:184px}.vp-sponsor-grid.big .vp-sponsor-grid-image{max-width:192px;max-height:56px}.vp-sponsor-grid[data-vp-grid="2"] .vp-sponsor-grid-item{width:calc((100% - 4px)/2)}.vp-sponsor-grid[data-vp-grid="3"] .vp-sponsor-grid-item{width:calc((100% - 4px * 2) / 3)}.vp-sponsor-grid[data-vp-grid="4"] .vp-sponsor-grid-item{width:calc((100% - 12px)/4)}.vp-sponsor-grid[data-vp-grid="5"] .vp-sponsor-grid-item{width:calc((100% - 16px)/5)}.vp-sponsor-grid[data-vp-grid="6"] .vp-sponsor-grid-item{width:calc((100% - 4px * 5) / 6)}.vp-sponsor-grid-item{flex-shrink:0;width:100%;background-color:var(--vp-c-bg-soft);transition:background-color .25s}.vp-sponsor-grid-item:hover{background-color:var(--vp-c-default-soft)}.vp-sponsor-grid-item:hover .vp-sponsor-grid-image{filter:grayscale(0) invert(0)}.vp-sponsor-grid-item.empty:hover{background-color:var(--vp-c-bg-soft)}.dark .vp-sponsor-grid-item:hover{background-color:var(--vp-c-white)}.dark .vp-sponsor-grid-item.empty:hover{background-color:var(--vp-c-bg-soft)}.vp-sponsor-grid-link{display:flex}.vp-sponsor-grid-box{display:flex;justify-content:center;align-items:center;width:100%}.vp-sponsor-grid-image{max-width:100%;filter:grayscale(1);transition:filter .25s}.dark .vp-sponsor-grid-image{filter:grayscale(1) invert(1)}.VPBadge{display:inline-block;margin-left:2px;border:1px solid transparent;border-radius:12px;padding:0 10px;line-height:22px;font-size:12px;font-weight:500;transform:translateY(-2px)}.VPBadge.small{padding:0 6px;line-height:18px;font-size:10px;transform:translateY(-8px)}.VPDocFooter .VPBadge{display:none}.vp-doc h1>.VPBadge{margin-top:4px;vertical-align:top}.vp-doc h2>.VPBadge{margin-top:3px;padding:0 8px;vertical-align:top}.vp-doc h3>.VPBadge{vertical-align:middle}.vp-doc h4>.VPBadge,.vp-doc h5>.VPBadge,.vp-doc h6>.VPBadge{vertical-align:middle;line-height:18px}.VPBadge.info{border-color:var(--vp-badge-info-border);color:var(--vp-badge-info-text);background-color:var(--vp-badge-info-bg)}.VPBadge.tip{border-color:var(--vp-badge-tip-border);color:var(--vp-badge-tip-text);background-color:var(--vp-badge-tip-bg)}.VPBadge.warning{border-color:var(--vp-badge-warning-border);color:var(--vp-badge-warning-text);background-color:var(--vp-badge-warning-bg)}.VPBadge.danger{border-color:var(--vp-badge-danger-border);color:var(--vp-badge-danger-text);background-color:var(--vp-badge-danger-bg)}.VPBackdrop[data-v-0bef565f]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--vp-z-index-backdrop);background:var(--vp-backdrop-bg-color);transition:opacity .5s}.VPBackdrop.fade-enter-from[data-v-0bef565f],.VPBackdrop.fade-leave-to[data-v-0bef565f]{opacity:0}.VPBackdrop.fade-leave-active[data-v-0bef565f]{transition-duration:.25s}@media (min-width: 1280px){.VPBackdrop[data-v-0bef565f]{display:none}}.NotFound[data-v-d0b75dfd]{padding:64px 24px 96px;text-align:center}@media (min-width: 768px){.NotFound[data-v-d0b75dfd]{padding:96px 32px 168px}}.code[data-v-d0b75dfd]{line-height:64px;font-size:64px;font-weight:600}.title[data-v-d0b75dfd]{padding-top:12px;letter-spacing:2px;line-height:20px;font-size:20px;font-weight:700}.divider[data-v-d0b75dfd]{margin:24px auto 18px;width:64px;height:1px;background-color:var(--vp-c-divider)}.quote[data-v-d0b75dfd]{margin:0 auto;max-width:256px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.action[data-v-d0b75dfd]{padding-top:20px}.link[data-v-d0b75dfd]{display:inline-block;border:1px solid var(--vp-c-brand-1);border-radius:16px;padding:3px 16px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:border-color .25s,color .25s}.link[data-v-d0b75dfd]:hover{border-color:var(--vp-c-brand-2);color:var(--vp-c-brand-2)}.root[data-v-3c1bd28a]{position:relative;z-index:1}.nested[data-v-3c1bd28a]{padding-right:16px;padding-left:16px}.outline-link[data-v-3c1bd28a]{display:block;line-height:32px;font-size:14px;font-weight:400;color:var(--vp-c-text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .5s}.outline-link[data-v-3c1bd28a]:hover,.outline-link.active[data-v-3c1bd28a]{color:var(--vp-c-text-1);transition:color .25s}.outline-link.nested[data-v-3c1bd28a]{padding-left:13px}.VPDocAsideOutline[data-v-8e79b835]{display:none}.VPDocAsideOutline.has-outline[data-v-8e79b835]{display:block}.content[data-v-8e79b835]{position:relative;border-left:1px solid var(--vp-c-divider);padding-left:16px;font-size:13px;font-weight:500}.outline-marker[data-v-8e79b835]{position:absolute;top:32px;left:-1px;z-index:0;opacity:0;width:2px;border-radius:2px;height:18px;background-color:var(--vp-c-brand-1);transition:top .25s cubic-bezier(0,1,.5,1),background-color .5s,opacity .25s}.outline-title[data-v-8e79b835]{line-height:32px;font-size:14px;font-weight:600}.VPDocAside[data-v-7f26daef]{display:flex;flex-direction:column;flex-grow:1}.spacer[data-v-7f26daef]{flex-grow:1}.VPDocAside[data-v-7f26daef] .spacer+.VPDocAsideSponsors,.VPDocAside[data-v-7f26daef] .spacer+.VPDocAsideCarbonAds{margin-top:24px}.VPDocAside[data-v-7f26daef] .VPDocAsideSponsors+.VPDocAsideCarbonAds{margin-top:16px}.VPLastUpdated[data-v-b4671027]{line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}@media (min-width: 640px){.VPLastUpdated[data-v-b4671027]{line-height:32px;font-size:14px;font-weight:500}}.VPDocFooter[data-v-1803d2e3]{margin-top:64px}.edit-info[data-v-1803d2e3]{padding-bottom:18px}@media (min-width: 640px){.edit-info[data-v-1803d2e3]{display:flex;justify-content:space-between;align-items:center;padding-bottom:14px}}.edit-link-button[data-v-1803d2e3]{display:flex;align-items:center;border:0;line-height:32px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:color .25s}.edit-link-button[data-v-1803d2e3]:hover{color:var(--vp-c-brand-2)}.edit-link-icon[data-v-1803d2e3]{margin-right:8px}.prev-next[data-v-1803d2e3]{border-top:1px solid var(--vp-c-divider);padding-top:24px;display:grid;grid-row-gap:8px}@media (min-width: 640px){.prev-next[data-v-1803d2e3]{grid-template-columns:repeat(2,1fr);grid-column-gap:16px}}.pager-link[data-v-1803d2e3]{display:block;border:1px solid var(--vp-c-divider);border-radius:8px;padding:11px 16px 13px;width:100%;height:100%;transition:border-color .25s}.pager-link[data-v-1803d2e3]:hover{border-color:var(--vp-c-brand-1)}.pager-link.next[data-v-1803d2e3]{margin-left:auto;text-align:right}.desc[data-v-1803d2e3]{display:block;line-height:20px;font-size:12px;font-weight:500;color:var(--vp-c-text-2)}.title[data-v-1803d2e3]{display:block;line-height:20px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:color .25s}.VPDoc[data-v-bb6d8676]{padding:32px 24px 96px;width:100%}@media (min-width: 768px){.VPDoc[data-v-bb6d8676]{padding:48px 32px 128px}}@media (min-width: 960px){.VPDoc[data-v-bb6d8676]{padding:48px 32px 0}.VPDoc:not(.has-sidebar) .container[data-v-bb6d8676]{display:flex;justify-content:center;max-width:992px}.VPDoc:not(.has-sidebar) .content[data-v-bb6d8676]{max-width:752px}}@media (min-width: 1280px){.VPDoc .container[data-v-bb6d8676]{display:flex;justify-content:center}.VPDoc .aside[data-v-bb6d8676]{display:block}}@media (min-width: 1440px){.VPDoc:not(.has-sidebar) .content[data-v-bb6d8676]{max-width:784px}.VPDoc:not(.has-sidebar) .container[data-v-bb6d8676]{max-width:1104px}}.container[data-v-bb6d8676]{margin:0 auto;width:100%}.aside[data-v-bb6d8676]{position:relative;display:none;order:2;flex-grow:1;padding-left:32px;width:100%;max-width:256px}.left-aside[data-v-bb6d8676]{order:1;padding-left:unset;padding-right:32px}.aside-container[data-v-bb6d8676]{position:fixed;top:0;padding-top:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + var(--vp-doc-top-height, 0px) + 48px);width:224px;height:100vh;overflow-x:hidden;overflow-y:auto;scrollbar-width:none}.aside-container[data-v-bb6d8676]::-webkit-scrollbar{display:none}.aside-curtain[data-v-bb6d8676]{position:fixed;bottom:0;z-index:10;width:224px;height:32px;background:linear-gradient(transparent,var(--vp-c-bg) 70%)}.aside-content[data-v-bb6d8676]{display:flex;flex-direction:column;min-height:calc(100vh - (var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 48px));padding-bottom:32px}.content[data-v-bb6d8676]{position:relative;margin:0 auto;width:100%}@media (min-width: 960px){.content[data-v-bb6d8676]{padding:0 32px 128px}}@media (min-width: 1280px){.content[data-v-bb6d8676]{order:1;margin:0;min-width:640px}}.content-container[data-v-bb6d8676]{margin:0 auto}.VPDoc.has-aside .content-container[data-v-bb6d8676]{max-width:688px}.VPButton[data-v-c8e50999]{display:inline-block;border:1px solid transparent;text-align:center;font-weight:600;white-space:nowrap;transition:color .25s,border-color .25s,background-color .25s}.VPButton[data-v-c8e50999]:active{transition:color .1s,border-color .1s,background-color .1s}.VPButton.medium[data-v-c8e50999]{border-radius:20px;padding:0 20px;line-height:38px;font-size:14px}.VPButton.big[data-v-c8e50999]{border-radius:24px;padding:0 24px;line-height:46px;font-size:16px}.VPButton.brand[data-v-c8e50999]{border-color:var(--vp-button-brand-border);color:var(--vp-button-brand-text);background-color:var(--vp-button-brand-bg)}.VPButton.brand[data-v-c8e50999]:hover{border-color:var(--vp-button-brand-hover-border);color:var(--vp-button-brand-hover-text);background-color:var(--vp-button-brand-hover-bg)}.VPButton.brand[data-v-c8e50999]:active{border-color:var(--vp-button-brand-active-border);color:var(--vp-button-brand-active-text);background-color:var(--vp-button-brand-active-bg)}.VPButton.alt[data-v-c8e50999]{border-color:var(--vp-button-alt-border);color:var(--vp-button-alt-text);background-color:var(--vp-button-alt-bg)}.VPButton.alt[data-v-c8e50999]:hover{border-color:var(--vp-button-alt-hover-border);color:var(--vp-button-alt-hover-text);background-color:var(--vp-button-alt-hover-bg)}.VPButton.alt[data-v-c8e50999]:active{border-color:var(--vp-button-alt-active-border);color:var(--vp-button-alt-active-text);background-color:var(--vp-button-alt-active-bg)}.VPButton.sponsor[data-v-c8e50999]{border-color:var(--vp-button-sponsor-border);color:var(--vp-button-sponsor-text);background-color:var(--vp-button-sponsor-bg)}.VPButton.sponsor[data-v-c8e50999]:hover{border-color:var(--vp-button-sponsor-hover-border);color:var(--vp-button-sponsor-hover-text);background-color:var(--vp-button-sponsor-hover-bg)}.VPButton.sponsor[data-v-c8e50999]:active{border-color:var(--vp-button-sponsor-active-border);color:var(--vp-button-sponsor-active-text);background-color:var(--vp-button-sponsor-active-bg)}html:not(.dark) .VPImage.dark[data-v-753eee6c]{display:none}.dark .VPImage.light[data-v-753eee6c]{display:none}.VPHero[data-v-58806dec]{margin-top:calc((var(--vp-nav-height) + var(--vp-layout-top-height, 0px)) * -1);padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 48px) 24px 48px}@media (min-width: 640px){.VPHero[data-v-58806dec]{padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 80px) 48px 64px}}@media (min-width: 960px){.VPHero[data-v-58806dec]{padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 80px) 64px 64px}}.container[data-v-58806dec]{display:flex;flex-direction:column;margin:0 auto;max-width:1152px}@media (min-width: 960px){.container[data-v-58806dec]{flex-direction:row}}.main[data-v-58806dec]{position:relative;z-index:10;order:2;flex-grow:1;flex-shrink:0}.VPHero.has-image .container[data-v-58806dec]{text-align:center}@media (min-width: 960px){.VPHero.has-image .container[data-v-58806dec]{text-align:left}}@media (min-width: 960px){.main[data-v-58806dec]{order:1;width:calc((100% / 3) * 2)}.VPHero.has-image .main[data-v-58806dec]{max-width:592px}}.name[data-v-58806dec],.text[data-v-58806dec]{max-width:392px;letter-spacing:-.4px;line-height:40px;font-size:32px;font-weight:700;white-space:pre-wrap}.VPHero.has-image .name[data-v-58806dec],.VPHero.has-image .text[data-v-58806dec]{margin:0 auto}.name[data-v-58806dec]{color:var(--vp-home-hero-name-color)}.clip[data-v-58806dec]{background:var(--vp-home-hero-name-background);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:var(--vp-home-hero-name-color)}@media (min-width: 640px){.name[data-v-58806dec],.text[data-v-58806dec]{max-width:576px;line-height:56px;font-size:48px}}@media (min-width: 960px){.name[data-v-58806dec],.text[data-v-58806dec]{line-height:64px;font-size:56px}.VPHero.has-image .name[data-v-58806dec],.VPHero.has-image .text[data-v-58806dec]{margin:0}}.tagline[data-v-58806dec]{padding-top:8px;max-width:392px;line-height:28px;font-size:18px;font-weight:500;white-space:pre-wrap;color:var(--vp-c-text-2)}.VPHero.has-image .tagline[data-v-58806dec]{margin:0 auto}@media (min-width: 640px){.tagline[data-v-58806dec]{padding-top:12px;max-width:576px;line-height:32px;font-size:20px}}@media (min-width: 960px){.tagline[data-v-58806dec]{line-height:36px;font-size:24px}.VPHero.has-image .tagline[data-v-58806dec]{margin:0}}.actions[data-v-58806dec]{display:flex;flex-wrap:wrap;margin:-6px;padding-top:24px}.VPHero.has-image .actions[data-v-58806dec]{justify-content:center}@media (min-width: 640px){.actions[data-v-58806dec]{padding-top:32px}}@media (min-width: 960px){.VPHero.has-image .actions[data-v-58806dec]{justify-content:flex-start}}.action[data-v-58806dec]{flex-shrink:0;padding:6px}.image[data-v-58806dec]{order:1;margin:-76px -24px -48px}@media (min-width: 640px){.image[data-v-58806dec]{margin:-108px -24px -48px}}@media (min-width: 960px){.image[data-v-58806dec]{flex-grow:1;order:2;margin:0;min-height:100%}}.image-container[data-v-58806dec]{position:relative;margin:0 auto;width:320px;height:320px}@media (min-width: 640px){.image-container[data-v-58806dec]{width:392px;height:392px}}@media (min-width: 960px){.image-container[data-v-58806dec]{display:flex;justify-content:center;align-items:center;width:100%;height:100%;transform:translate(-32px,-32px)}}.image-bg[data-v-58806dec]{position:absolute;top:50%;left:50%;border-radius:50%;width:192px;height:192px;background-image:var(--vp-home-hero-image-background-image);filter:var(--vp-home-hero-image-filter);transform:translate(-50%,-50%)}@media (min-width: 640px){.image-bg[data-v-58806dec]{width:256px;height:256px}}@media (min-width: 960px){.image-bg[data-v-58806dec]{width:320px;height:320px}}[data-v-58806dec] .image-src{position:absolute;top:50%;left:50%;max-width:192px;max-height:192px;transform:translate(-50%,-50%)}@media (min-width: 640px){[data-v-58806dec] .image-src{max-width:256px;max-height:256px}}@media (min-width: 960px){[data-v-58806dec] .image-src{max-width:320px;max-height:320px}}.VPFeature[data-v-f6f2ad3a]{display:block;border:1px solid var(--vp-c-bg-soft);border-radius:12px;height:100%;background-color:var(--vp-c-bg-soft);transition:border-color .25s,background-color .25s}.VPFeature.link[data-v-f6f2ad3a]:hover{border-color:var(--vp-c-brand-1)}.box[data-v-f6f2ad3a]{display:flex;flex-direction:column;padding:24px;height:100%}.box[data-v-f6f2ad3a]>.VPImage{margin-bottom:20px}.icon[data-v-f6f2ad3a]{display:flex;justify-content:center;align-items:center;margin-bottom:20px;border-radius:6px;background-color:var(--vp-c-default-soft);width:48px;height:48px;font-size:24px;transition:background-color .25s}.title[data-v-f6f2ad3a]{line-height:24px;font-size:16px;font-weight:600}.details[data-v-f6f2ad3a]{flex-grow:1;padding-top:8px;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.link-text[data-v-f6f2ad3a]{padding-top:8px}.link-text-value[data-v-f6f2ad3a]{display:flex;align-items:center;font-size:14px;font-weight:500;color:var(--vp-c-brand-1)}.link-text-icon[data-v-f6f2ad3a]{margin-left:6px}.VPFeatures[data-v-8345ab25]{position:relative;padding:0 24px}@media (min-width: 640px){.VPFeatures[data-v-8345ab25]{padding:0 48px}}@media (min-width: 960px){.VPFeatures[data-v-8345ab25]{padding:0 64px}}.container[data-v-8345ab25]{margin:0 auto;max-width:1152px}.items[data-v-8345ab25]{display:flex;flex-wrap:wrap;margin:-8px}.item[data-v-8345ab25]{padding:8px;width:100%}@media (min-width: 640px){.item.grid-2[data-v-8345ab25],.item.grid-4[data-v-8345ab25],.item.grid-6[data-v-8345ab25]{width:50%}}@media (min-width: 768px){.item.grid-2[data-v-8345ab25],.item.grid-4[data-v-8345ab25]{width:50%}.item.grid-3[data-v-8345ab25],.item.grid-6[data-v-8345ab25]{width:calc(100% / 3)}}@media (min-width: 960px){.item.grid-4[data-v-8345ab25]{width:25%}}.container[data-v-9c9a692a]{margin:auto;width:100%;max-width:1280px;padding:0 24px}@media (min-width: 640px){.container[data-v-9c9a692a]{padding:0 48px}}@media (min-width: 960px){.container[data-v-9c9a692a]{width:100%;padding:0 64px}}.vp-doc[data-v-9c9a692a] .VPHomeSponsors,.vp-doc[data-v-9c9a692a] .VPTeamPage{margin-left:var(--vp-offset, calc(50% - 50vw) );margin-right:var(--vp-offset, calc(50% - 50vw) )}.vp-doc[data-v-9c9a692a] .VPHomeSponsors h2{border-top:none;letter-spacing:normal}.vp-doc[data-v-9c9a692a] .VPHomeSponsors a,.vp-doc[data-v-9c9a692a] .VPTeamPage a{text-decoration:none}.VPHome[data-v-a2b556b1]{margin-bottom:96px}@media (min-width: 768px){.VPHome[data-v-a2b556b1]{margin-bottom:128px}}.VPContent[data-v-f29dd4bf]{flex-grow:1;flex-shrink:0;margin:var(--vp-layout-top-height, 0px) auto 0;width:100%}.VPContent.is-home[data-v-f29dd4bf]{width:100%;max-width:100%}.VPContent.has-sidebar[data-v-f29dd4bf]{margin:0}@media (min-width: 960px){.VPContent[data-v-f29dd4bf]{padding-top:var(--vp-nav-height)}.VPContent.has-sidebar[data-v-f29dd4bf]{margin:var(--vp-layout-top-height, 0px) 0 0;padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPContent.has-sidebar[data-v-f29dd4bf]{padding-right:calc((100vw - var(--vp-layout-max-width)) / 2);padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.VPFooter[data-v-f57036b6]{position:relative;z-index:var(--vp-z-index-footer);border-top:1px solid var(--vp-c-gutter);padding:32px 24px;background-color:var(--vp-c-bg)}.VPFooter.has-sidebar[data-v-f57036b6]{display:none}.VPFooter[data-v-f57036b6] a{text-decoration-line:underline;text-underline-offset:2px;transition:color .25s}.VPFooter[data-v-f57036b6] a:hover{color:var(--vp-c-text-1)}@media (min-width: 768px){.VPFooter[data-v-f57036b6]{padding:32px}}.container[data-v-f57036b6]{margin:0 auto;max-width:var(--vp-layout-max-width);text-align:center}.message[data-v-f57036b6],.copyright[data-v-f57036b6]{line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.VPLocalNavOutlineDropdown[data-v-615d7450]{padding:12px 20px 11px}@media (min-width: 960px){.VPLocalNavOutlineDropdown[data-v-615d7450]{padding:12px 36px 11px}}.VPLocalNavOutlineDropdown button[data-v-615d7450]{display:block;font-size:12px;font-weight:500;line-height:24px;color:var(--vp-c-text-2);transition:color .5s;position:relative}.VPLocalNavOutlineDropdown button[data-v-615d7450]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPLocalNavOutlineDropdown button.open[data-v-615d7450]{color:var(--vp-c-text-1)}.icon[data-v-615d7450]{display:inline-block;vertical-align:middle;margin-left:2px;font-size:14px;transform:rotate(0);transition:transform .25s}@media (min-width: 960px){.VPLocalNavOutlineDropdown button[data-v-615d7450]{font-size:14px}.icon[data-v-615d7450]{font-size:16px}}.open>.icon[data-v-615d7450]{transform:rotate(90deg)}.items[data-v-615d7450]{position:absolute;top:40px;right:16px;left:16px;display:grid;gap:1px;border:1px solid var(--vp-c-border);border-radius:8px;background-color:var(--vp-c-gutter);max-height:calc(var(--vp-vh, 100vh) - 86px);overflow:hidden auto;box-shadow:var(--vp-shadow-3)}@media (min-width: 960px){.items[data-v-615d7450]{right:auto;left:calc(var(--vp-sidebar-width) + 32px);width:320px}}.header[data-v-615d7450]{background-color:var(--vp-c-bg-soft)}.top-link[data-v-615d7450]{display:block;padding:0 16px;line-height:48px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1)}.outline[data-v-615d7450]{padding:8px 0;background-color:var(--vp-c-bg-soft)}.flyout-enter-active[data-v-615d7450]{transition:all .2s ease-out}.flyout-leave-active[data-v-615d7450]{transition:all .15s ease-in}.flyout-enter-from[data-v-615d7450],.flyout-leave-to[data-v-615d7450]{opacity:0;transform:translateY(-16px)}.VPLocalNav[data-v-e7745f79]{position:sticky;top:0;left:0;z-index:var(--vp-z-index-local-nav);border-bottom:1px solid var(--vp-c-gutter);padding-top:var(--vp-layout-top-height, 0px);width:100%;background-color:var(--vp-local-nav-bg-color)}.VPLocalNav.fixed[data-v-e7745f79]{position:fixed}@media (min-width: 960px){.VPLocalNav[data-v-e7745f79]{top:var(--vp-nav-height)}.VPLocalNav.has-sidebar[data-v-e7745f79]{padding-left:var(--vp-sidebar-width)}.VPLocalNav.empty[data-v-e7745f79]{display:none}}@media (min-width: 1280px){.VPLocalNav[data-v-e7745f79]{display:none}}@media (min-width: 1440px){.VPLocalNav.has-sidebar[data-v-e7745f79]{padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.container[data-v-e7745f79]{display:flex;justify-content:space-between;align-items:center}.menu[data-v-e7745f79]{display:flex;align-items:center;padding:12px 24px 11px;line-height:24px;font-size:12px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.menu[data-v-e7745f79]:hover{color:var(--vp-c-text-1);transition:color .25s}@media (min-width: 768px){.menu[data-v-e7745f79]{padding:0 32px}}@media (min-width: 960px){.menu[data-v-e7745f79]{display:none}}.menu-icon[data-v-e7745f79]{margin-right:8px;font-size:14px}.VPOutlineDropdown[data-v-e7745f79]{padding:12px 24px 11px}@media (min-width: 768px){.VPOutlineDropdown[data-v-e7745f79]{padding:12px 32px 11px}}.VPSwitch[data-v-441d8d05]{position:relative;border-radius:11px;display:block;width:40px;height:22px;flex-shrink:0;border:1px solid var(--vp-input-border-color);background-color:var(--vp-input-switch-bg-color);transition:border-color .25s!important}.VPSwitch[data-v-441d8d05]:hover{border-color:var(--vp-c-brand-1)}.check[data-v-441d8d05]{position:absolute;top:1px;left:1px;width:18px;height:18px;border-radius:50%;background-color:var(--vp-c-neutral-inverse);box-shadow:var(--vp-shadow-1);transition:transform .25s!important}.icon[data-v-441d8d05]{position:relative;display:block;width:18px;height:18px;border-radius:50%;overflow:hidden}.icon[data-v-441d8d05] [class^=vpi-]{position:absolute;top:3px;left:3px;width:12px;height:12px;color:var(--vp-c-text-2)}.dark .icon[data-v-441d8d05] [class^=vpi-]{color:var(--vp-c-text-1);transition:opacity .25s!important}.sun[data-v-42341794]{opacity:1}.moon[data-v-42341794],.dark .sun[data-v-42341794]{opacity:0}.dark .moon[data-v-42341794]{opacity:1}.dark .VPSwitchAppearance[data-v-42341794] .check{transform:translate(18px)}.VPNavBarAppearance[data-v-441ab965]{display:none}@media (min-width: 1280px){.VPNavBarAppearance[data-v-441ab965]{display:flex;align-items:center}}.VPMenuGroup+.VPMenuLink[data-v-022f611a]{margin:12px -12px 0;border-top:1px solid var(--vp-c-divider);padding:12px 12px 0}.link[data-v-022f611a]{display:block;border-radius:6px;padding:0 12px;line-height:32px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);white-space:nowrap;transition:background-color .25s,color .25s}.link[data-v-022f611a]:hover{color:var(--vp-c-brand-1);background-color:var(--vp-c-default-soft)}.link.active[data-v-022f611a]{color:var(--vp-c-brand-1)}.VPMenuGroup[data-v-c0a76c26]{margin:12px -12px 0;border-top:1px solid var(--vp-c-divider);padding:12px 12px 0}.VPMenuGroup[data-v-c0a76c26]:first-child{margin-top:0;border-top:0;padding-top:0}.VPMenuGroup+.VPMenuGroup[data-v-c0a76c26]{margin-top:12px;border-top:1px solid var(--vp-c-divider)}.title[data-v-c0a76c26]{padding:0 12px;line-height:32px;font-size:14px;font-weight:600;color:var(--vp-c-text-2);white-space:nowrap;transition:color .25s}.VPMenu[data-v-abb60f50]{border-radius:12px;padding:12px;min-width:128px;border:1px solid var(--vp-c-divider);background-color:var(--vp-c-bg-elv);box-shadow:var(--vp-shadow-3);transition:background-color .5s;max-height:calc(100vh - var(--vp-nav-height));overflow-y:auto}.VPMenu[data-v-abb60f50] .group{margin:0 -12px;padding:0 12px 12px}.VPMenu[data-v-abb60f50] .group+.group{border-top:1px solid var(--vp-c-divider);padding:11px 12px 12px}.VPMenu[data-v-abb60f50] .group:last-child{padding-bottom:0}.VPMenu[data-v-abb60f50] .group+.item{border-top:1px solid var(--vp-c-divider);padding:11px 16px 0}.VPMenu[data-v-abb60f50] .item{padding:0 16px;white-space:nowrap}.VPMenu[data-v-abb60f50] .label{flex-grow:1;line-height:28px;font-size:12px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.VPMenu[data-v-abb60f50] .action{padding-left:24px}.VPFlyout[data-v-bc3f2f0c]{position:relative}.VPFlyout[data-v-bc3f2f0c]:hover{color:var(--vp-c-brand-1);transition:color .25s}.VPFlyout:hover .text[data-v-bc3f2f0c]{color:var(--vp-c-text-2)}.VPFlyout:hover .icon[data-v-bc3f2f0c]{fill:var(--vp-c-text-2)}.VPFlyout.active .text[data-v-bc3f2f0c]{color:var(--vp-c-brand-1)}.VPFlyout.active:hover .text[data-v-bc3f2f0c]{color:var(--vp-c-brand-2)}.VPFlyout:hover .menu[data-v-bc3f2f0c],.button[aria-expanded=true]+.menu[data-v-bc3f2f0c]{opacity:1;visibility:visible;transform:translateY(0)}.button[aria-expanded=false]+.menu[data-v-bc3f2f0c]{opacity:0;visibility:hidden;transform:translateY(0)}.button[data-v-bc3f2f0c]{display:flex;align-items:center;padding:0 12px;height:var(--vp-nav-height);color:var(--vp-c-text-1);transition:color .5s}.text[data-v-bc3f2f0c]{display:flex;align-items:center;line-height:var(--vp-nav-height);font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.option-icon[data-v-bc3f2f0c]{margin-right:0;font-size:16px}.text-icon[data-v-bc3f2f0c]{margin-left:4px;font-size:14px}.icon[data-v-bc3f2f0c]{font-size:20px;transition:fill .25s}.menu[data-v-bc3f2f0c]{position:absolute;top:calc(var(--vp-nav-height) / 2 + 20px);right:0;opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s,transform .25s}.VPSocialLink[data-v-f2047137]{display:flex;justify-content:center;align-items:center;width:36px;height:36px;color:var(--vp-c-text-2);transition:color .5s}.VPSocialLink[data-v-f2047137]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPSocialLink[data-v-f2047137]>svg,.VPSocialLink[data-v-f2047137]>[class^=vpi-social-]{width:20px;height:20px;fill:currentColor}.VPSocialLinks[data-v-dfe25b12]{display:flex;justify-content:center}.VPNavBarExtra[data-v-07da511f]{display:none;margin-right:-12px}@media (min-width: 768px){.VPNavBarExtra[data-v-07da511f]{display:block}}@media (min-width: 1280px){.VPNavBarExtra[data-v-07da511f]{display:none}}.trans-title[data-v-07da511f]{padding:0 24px 0 12px;line-height:32px;font-size:14px;font-weight:700;color:var(--vp-c-text-1)}.item.appearance[data-v-07da511f],.item.social-links[data-v-07da511f]{display:flex;align-items:center;padding:0 12px}.item.appearance[data-v-07da511f]{min-width:176px}.appearance-action[data-v-07da511f]{margin-right:-2px}.social-links-list[data-v-07da511f]{margin:-4px -8px}.VPNavBarHamburger[data-v-c780af75]{display:flex;justify-content:center;align-items:center;width:48px;height:var(--vp-nav-height)}@media (min-width: 768px){.VPNavBarHamburger[data-v-c780af75]{display:none}}.container[data-v-c780af75]{position:relative;width:16px;height:14px;overflow:hidden}.VPNavBarHamburger:hover .top[data-v-c780af75]{top:0;left:0;transform:translate(4px)}.VPNavBarHamburger:hover .middle[data-v-c780af75]{top:6px;left:0;transform:translate(0)}.VPNavBarHamburger:hover .bottom[data-v-c780af75]{top:12px;left:0;transform:translate(8px)}.VPNavBarHamburger.active .top[data-v-c780af75]{top:6px;transform:translate(0) rotate(225deg)}.VPNavBarHamburger.active .middle[data-v-c780af75]{top:6px;transform:translate(16px)}.VPNavBarHamburger.active .bottom[data-v-c780af75]{top:6px;transform:translate(0) rotate(135deg)}.VPNavBarHamburger.active:hover .top[data-v-c780af75],.VPNavBarHamburger.active:hover .middle[data-v-c780af75],.VPNavBarHamburger.active:hover .bottom[data-v-c780af75]{background-color:var(--vp-c-text-2);transition:top .25s,background-color .25s,transform .25s}.top[data-v-c780af75],.middle[data-v-c780af75],.bottom[data-v-c780af75]{position:absolute;width:16px;height:2px;background-color:var(--vp-c-text-1);transition:top .25s,background-color .5s,transform .25s}.top[data-v-c780af75]{top:0;left:0;transform:translate(0)}.middle[data-v-c780af75]{top:6px;left:0;transform:translate(8px)}.bottom[data-v-c780af75]{top:12px;left:0;transform:translate(4px)}.VPNavBarMenuLink[data-v-3e3626b6]{display:flex;align-items:center;padding:0 12px;line-height:var(--vp-nav-height);font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.VPNavBarMenuLink.active[data-v-3e3626b6],.VPNavBarMenuLink[data-v-3e3626b6]:hover{color:var(--vp-c-brand-1)}.VPNavBarMenu[data-v-c5c4a470]{display:none}@media (min-width: 768px){.VPNavBarMenu[data-v-c5c4a470]{display:flex}}/*! @docsearch/css 3.6.0 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */:root{--docsearch-primary-color:#5468ff;--docsearch-text-color:#1c1e21;--docsearch-spacing:12px;--docsearch-icon-stroke-width:1.4;--docsearch-highlight-color:var(--docsearch-primary-color);--docsearch-muted-color:#969faf;--docsearch-container-background:rgba(101,108,133,.8);--docsearch-logo-color:#5468ff;--docsearch-modal-width:560px;--docsearch-modal-height:600px;--docsearch-modal-background:#f5f6f7;--docsearch-modal-shadow:inset 1px 1px 0 0 hsla(0,0%,100%,.5),0 3px 8px 0 #555a64;--docsearch-searchbox-height:56px;--docsearch-searchbox-background:#ebedf0;--docsearch-searchbox-focus-background:#fff;--docsearch-searchbox-shadow:inset 0 0 0 2px var(--docsearch-primary-color);--docsearch-hit-height:56px;--docsearch-hit-color:#444950;--docsearch-hit-active-color:#fff;--docsearch-hit-background:#fff;--docsearch-hit-shadow:0 1px 3px 0 #d4d9e1;--docsearch-key-gradient:linear-gradient(-225deg,#d5dbe4,#f8f8f8);--docsearch-key-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 2px 1px rgba(30,35,90,.4);--docsearch-key-pressed-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 1px 0 rgba(30,35,90,.4);--docsearch-footer-height:44px;--docsearch-footer-background:#fff;--docsearch-footer-shadow:0 -1px 0 0 #e0e3e8,0 -3px 6px 0 rgba(69,98,155,.12)}html[data-theme=dark]{--docsearch-text-color:#f5f6f7;--docsearch-container-background:rgba(9,10,17,.8);--docsearch-modal-background:#15172a;--docsearch-modal-shadow:inset 1px 1px 0 0 #2c2e40,0 3px 8px 0 #000309;--docsearch-searchbox-background:#090a11;--docsearch-searchbox-focus-background:#000;--docsearch-hit-color:#bec3c9;--docsearch-hit-shadow:none;--docsearch-hit-background:#090a11;--docsearch-key-gradient:linear-gradient(-26.5deg,#565872,#31355b);--docsearch-key-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 2px 2px 0 rgba(3,4,9,.3);--docsearch-key-pressed-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 1px 1px 0 rgba(3,4,9,.30196078431372547);--docsearch-footer-background:#1e2136;--docsearch-footer-shadow:inset 0 1px 0 0 rgba(73,76,106,.5),0 -4px 8px 0 rgba(0,0,0,.2);--docsearch-logo-color:#fff;--docsearch-muted-color:#7f8497}.DocSearch-Button{align-items:center;background:var(--docsearch-searchbox-background);border:0;border-radius:40px;color:var(--docsearch-muted-color);cursor:pointer;display:flex;font-weight:500;height:36px;justify-content:space-between;margin:0 0 0 16px;padding:0 8px;-webkit-user-select:none;user-select:none}.DocSearch-Button:active,.DocSearch-Button:focus,.DocSearch-Button:hover{background:var(--docsearch-searchbox-focus-background);box-shadow:var(--docsearch-searchbox-shadow);color:var(--docsearch-text-color);outline:none}.DocSearch-Button-Container{align-items:center;display:flex}.DocSearch-Search-Icon{stroke-width:1.6}.DocSearch-Button .DocSearch-Search-Icon{color:var(--docsearch-text-color)}.DocSearch-Button-Placeholder{font-size:1rem;padding:0 12px 0 6px}.DocSearch-Button-Keys{display:flex;min-width:calc(40px + .8em)}.DocSearch-Button-Key{align-items:center;background:var(--docsearch-key-gradient);border-radius:3px;box-shadow:var(--docsearch-key-shadow);color:var(--docsearch-muted-color);display:flex;height:18px;justify-content:center;margin-right:.4em;position:relative;padding:0 0 2px;border:0;top:-1px;width:20px}.DocSearch-Button-Key--pressed{transform:translate3d(0,1px,0);box-shadow:var(--docsearch-key-pressed-shadow)}@media (max-width:768px){.DocSearch-Button-Keys,.DocSearch-Button-Placeholder{display:none}}.DocSearch--active{overflow:hidden!important}.DocSearch-Container,.DocSearch-Container *{box-sizing:border-box}.DocSearch-Container{background-color:var(--docsearch-container-background);height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:200}.DocSearch-Container a{text-decoration:none}.DocSearch-Link{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;font:inherit;margin:0;padding:0}.DocSearch-Modal{background:var(--docsearch-modal-background);border-radius:6px;box-shadow:var(--docsearch-modal-shadow);flex-direction:column;margin:60px auto auto;max-width:var(--docsearch-modal-width);position:relative}.DocSearch-SearchBar{display:flex;padding:var(--docsearch-spacing) var(--docsearch-spacing) 0}.DocSearch-Form{align-items:center;background:var(--docsearch-searchbox-focus-background);border-radius:4px;box-shadow:var(--docsearch-searchbox-shadow);display:flex;height:var(--docsearch-searchbox-height);margin:0;padding:0 var(--docsearch-spacing);position:relative;width:100%}.DocSearch-Input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;color:var(--docsearch-text-color);flex:1;font:inherit;font-size:1.2em;height:100%;outline:none;padding:0 0 0 8px;width:80%}.DocSearch-Input::placeholder{color:var(--docsearch-muted-color);opacity:1}.DocSearch-Input::-webkit-search-cancel-button,.DocSearch-Input::-webkit-search-decoration,.DocSearch-Input::-webkit-search-results-button,.DocSearch-Input::-webkit-search-results-decoration{display:none}.DocSearch-LoadingIndicator,.DocSearch-MagnifierLabel,.DocSearch-Reset{margin:0;padding:0}.DocSearch-MagnifierLabel,.DocSearch-Reset{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}.DocSearch-Container--Stalled .DocSearch-MagnifierLabel,.DocSearch-LoadingIndicator{display:none}.DocSearch-Container--Stalled .DocSearch-LoadingIndicator{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Reset{animation:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;right:0;stroke-width:var(--docsearch-icon-stroke-width)}}.DocSearch-Reset{animation:fade-in .1s ease-in forwards;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;padding:2px;right:0;stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Reset[hidden]{display:none}.DocSearch-Reset:hover{color:var(--docsearch-highlight-color)}.DocSearch-LoadingIndicator svg,.DocSearch-MagnifierLabel svg{height:24px;width:24px}.DocSearch-Cancel{display:none}.DocSearch-Dropdown{max-height:calc(var(--docsearch-modal-height) - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height));min-height:var(--docsearch-spacing);overflow-y:auto;overflow-y:overlay;padding:0 var(--docsearch-spacing);scrollbar-color:var(--docsearch-muted-color) var(--docsearch-modal-background);scrollbar-width:thin}.DocSearch-Dropdown::-webkit-scrollbar{width:12px}.DocSearch-Dropdown::-webkit-scrollbar-track{background:transparent}.DocSearch-Dropdown::-webkit-scrollbar-thumb{background-color:var(--docsearch-muted-color);border:3px solid var(--docsearch-modal-background);border-radius:20px}.DocSearch-Dropdown ul{list-style:none;margin:0;padding:0}.DocSearch-Label{font-size:.75em;line-height:1.6em}.DocSearch-Help,.DocSearch-Label{color:var(--docsearch-muted-color)}.DocSearch-Help{font-size:.9em;margin:0;-webkit-user-select:none;user-select:none}.DocSearch-Title{font-size:1.2em}.DocSearch-Logo a{display:flex}.DocSearch-Logo svg{color:var(--docsearch-logo-color);margin-left:8px}.DocSearch-Hits:last-of-type{margin-bottom:24px}.DocSearch-Hits mark{background:none;color:var(--docsearch-highlight-color)}.DocSearch-HitsFooter{color:var(--docsearch-muted-color);display:flex;font-size:.85em;justify-content:center;margin-bottom:var(--docsearch-spacing);padding:var(--docsearch-spacing)}.DocSearch-HitsFooter a{border-bottom:1px solid;color:inherit}.DocSearch-Hit{border-radius:4px;display:flex;padding-bottom:4px;position:relative}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--deleting{transition:none}}.DocSearch-Hit--deleting{opacity:0;transition:all .25s linear}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--favoriting{transition:none}}.DocSearch-Hit--favoriting{transform:scale(0);transform-origin:top center;transition:all .25s linear;transition-delay:.25s}.DocSearch-Hit a{background:var(--docsearch-hit-background);border-radius:4px;box-shadow:var(--docsearch-hit-shadow);display:block;padding-left:var(--docsearch-spacing);width:100%}.DocSearch-Hit-source{background:var(--docsearch-modal-background);color:var(--docsearch-highlight-color);font-size:.85em;font-weight:600;line-height:32px;margin:0 -4px;padding:8px 4px 0;position:sticky;top:0;z-index:10}.DocSearch-Hit-Tree{color:var(--docsearch-muted-color);height:var(--docsearch-hit-height);opacity:.5;stroke-width:var(--docsearch-icon-stroke-width);width:24px}.DocSearch-Hit[aria-selected=true] a{background-color:var(--docsearch-highlight-color)}.DocSearch-Hit[aria-selected=true] mark{text-decoration:underline}.DocSearch-Hit-Container{align-items:center;color:var(--docsearch-hit-color);display:flex;flex-direction:row;height:var(--docsearch-hit-height);padding:0 var(--docsearch-spacing) 0 0}.DocSearch-Hit-icon{height:20px;width:20px}.DocSearch-Hit-action,.DocSearch-Hit-icon{color:var(--docsearch-muted-color);stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Hit-action{align-items:center;display:flex;height:22px;width:22px}.DocSearch-Hit-action svg{display:block;height:18px;width:18px}.DocSearch-Hit-action+.DocSearch-Hit-action{margin-left:6px}.DocSearch-Hit-action-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:inherit;cursor:pointer;padding:2px}svg.DocSearch-Hit-Select-Icon{display:none}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Select-Icon{display:block}.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:background-color .1s ease-in}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{transition:none}}.DocSearch-Hit-action-button:focus path,.DocSearch-Hit-action-button:hover path{fill:#fff}.DocSearch-Hit-content-wrapper{display:flex;flex:1 1 auto;flex-direction:column;font-weight:500;justify-content:center;line-height:1.2em;margin:0 8px;overflow-x:hidden;position:relative;text-overflow:ellipsis;white-space:nowrap;width:80%}.DocSearch-Hit-title{font-size:.9em}.DocSearch-Hit-path{color:var(--docsearch-muted-color);font-size:.75em}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-action,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-icon,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-path,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-text,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-title,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Tree,.DocSearch-Hit[aria-selected=true] mark{color:var(--docsearch-hit-active-color)!important}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:none}}.DocSearch-ErrorScreen,.DocSearch-NoResults,.DocSearch-StartScreen{font-size:.9em;margin:0 auto;padding:36px 0;text-align:center;width:80%}.DocSearch-Screen-Icon{color:var(--docsearch-muted-color);padding-bottom:12px}.DocSearch-NoResults-Prefill-List{display:inline-block;padding-bottom:24px;text-align:left}.DocSearch-NoResults-Prefill-List ul{display:inline-block;padding:8px 0 0}.DocSearch-NoResults-Prefill-List li{list-style-position:inside;list-style-type:"» "}.DocSearch-Prefill{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:1em;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;font-size:1em;font-weight:700;padding:0}.DocSearch-Prefill:focus,.DocSearch-Prefill:hover{outline:none;text-decoration:underline}.DocSearch-Footer{align-items:center;background:var(--docsearch-footer-background);border-radius:0 0 8px 8px;box-shadow:var(--docsearch-footer-shadow);display:flex;flex-direction:row-reverse;flex-shrink:0;height:var(--docsearch-footer-height);justify-content:space-between;padding:0 var(--docsearch-spacing);position:relative;-webkit-user-select:none;user-select:none;width:100%;z-index:300}.DocSearch-Commands{color:var(--docsearch-muted-color);display:flex;list-style:none;margin:0;padding:0}.DocSearch-Commands li{align-items:center;display:flex}.DocSearch-Commands li:not(:last-of-type){margin-right:.8em}.DocSearch-Commands-Key{align-items:center;background:var(--docsearch-key-gradient);border-radius:2px;box-shadow:var(--docsearch-key-shadow);display:flex;height:18px;justify-content:center;margin-right:.4em;padding:0 0 1px;color:var(--docsearch-muted-color);border:0;width:20px}.DocSearch-VisuallyHiddenForAccessibility{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}@media (max-width:768px){:root{--docsearch-spacing:10px;--docsearch-footer-height:40px}.DocSearch-Dropdown{height:100%}.DocSearch-Container{height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);position:absolute}.DocSearch-Footer{border-radius:0;bottom:0;position:absolute}.DocSearch-Hit-content-wrapper{display:flex;position:relative;width:80%}.DocSearch-Modal{border-radius:0;box-shadow:none;height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);margin:0;max-width:100%;width:100%}.DocSearch-Dropdown{max-height:calc(var(--docsearch-vh, 1vh)*100 - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height))}.DocSearch-Cancel{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;flex:none;font:inherit;font-size:1em;font-weight:500;margin-left:var(--docsearch-spacing);outline:none;overflow:hidden;padding:0;-webkit-user-select:none;user-select:none;white-space:nowrap}.DocSearch-Commands,.DocSearch-Hit-Tree{display:none}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}[class*=DocSearch]{--docsearch-primary-color: var(--vp-c-brand-1);--docsearch-highlight-color: var(--docsearch-primary-color);--docsearch-text-color: var(--vp-c-text-1);--docsearch-muted-color: var(--vp-c-text-2);--docsearch-searchbox-shadow: none;--docsearch-searchbox-background: transparent;--docsearch-searchbox-focus-background: transparent;--docsearch-key-gradient: transparent;--docsearch-key-shadow: none;--docsearch-modal-background: var(--vp-c-bg-soft);--docsearch-footer-background: var(--vp-c-bg)}.dark [class*=DocSearch]{--docsearch-modal-shadow: none;--docsearch-footer-shadow: none;--docsearch-logo-color: var(--vp-c-text-2);--docsearch-hit-background: var(--vp-c-default-soft);--docsearch-hit-color: var(--vp-c-text-2);--docsearch-hit-shadow: none}.DocSearch-Button{display:flex;justify-content:center;align-items:center;margin:0;padding:0;width:48px;height:55px;background:transparent;transition:border-color .25s}.DocSearch-Button:hover{background:transparent}.DocSearch-Button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.DocSearch-Button-Key--pressed{transform:none;box-shadow:none}.DocSearch-Button:focus:not(:focus-visible){outline:none!important}@media (min-width: 768px){.DocSearch-Button{justify-content:flex-start;border:1px solid transparent;border-radius:8px;padding:0 10px 0 12px;width:100%;height:40px;background-color:var(--vp-c-bg-alt)}.DocSearch-Button:hover{border-color:var(--vp-c-brand-1);background:var(--vp-c-bg-alt)}}.DocSearch-Button .DocSearch-Button-Container{display:flex;align-items:center}.DocSearch-Button .DocSearch-Search-Icon{position:relative;width:16px;height:16px;color:var(--vp-c-text-1);fill:currentColor;transition:color .5s}.DocSearch-Button:hover .DocSearch-Search-Icon{color:var(--vp-c-text-1)}@media (min-width: 768px){.DocSearch-Button .DocSearch-Search-Icon{top:1px;margin-right:8px;width:14px;height:14px;color:var(--vp-c-text-2)}}.DocSearch-Button .DocSearch-Button-Placeholder{display:none;margin-top:2px;padding:0 16px 0 0;font-size:13px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.DocSearch-Button:hover .DocSearch-Button-Placeholder{color:var(--vp-c-text-1)}@media (min-width: 768px){.DocSearch-Button .DocSearch-Button-Placeholder{display:inline-block}}.DocSearch-Button .DocSearch-Button-Keys{direction:ltr;display:none;min-width:auto}@media (min-width: 768px){.DocSearch-Button .DocSearch-Button-Keys{display:flex;align-items:center}}.DocSearch-Button .DocSearch-Button-Key{display:block;margin:2px 0 0;border:1px solid var(--vp-c-divider);border-right:none;border-radius:4px 0 0 4px;padding-left:6px;min-width:0;width:auto;height:22px;line-height:22px;font-family:var(--vp-font-family-base);font-size:12px;font-weight:500;transition:color .5s,border-color .5s}.DocSearch-Button .DocSearch-Button-Key+.DocSearch-Button-Key{border-right:1px solid var(--vp-c-divider);border-left:none;border-radius:0 4px 4px 0;padding-left:2px;padding-right:6px}.DocSearch-Button .DocSearch-Button-Key:first-child{font-size:0!important}.DocSearch-Button .DocSearch-Button-Key:first-child:after{content:"Ctrl";font-size:12px;letter-spacing:normal;color:var(--docsearch-muted-color)}.mac .DocSearch-Button .DocSearch-Button-Key:first-child:after{content:"⌘"}.DocSearch-Button .DocSearch-Button-Key:first-child>*{display:none}.DocSearch-Search-Icon{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' stroke-width='1.6' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' d='m14.386 14.386 4.088 4.088-4.088-4.088A7.533 7.533 0 1 1 3.733 3.733a7.533 7.533 0 0 1 10.653 10.653z'/%3E%3C/svg%3E")}.VPNavBarSearch{display:flex;align-items:center}@media (min-width: 768px){.VPNavBarSearch{flex-grow:1;padding-left:24px}}@media (min-width: 960px){.VPNavBarSearch{padding-left:32px}}.dark .DocSearch-Footer{border-top:1px solid var(--vp-c-divider)}.DocSearch-Form{border:1px solid var(--vp-c-brand-1);background-color:var(--vp-c-white)}.dark .DocSearch-Form{background-color:var(--vp-c-default-soft)}.DocSearch-Screen-Icon>svg{margin:auto}.VPNavBarSocialLinks[data-v-ab2f1b6c]{display:none}@media (min-width: 1280px){.VPNavBarSocialLinks[data-v-ab2f1b6c]{display:flex;align-items:center}}.title[data-v-c5f6aca5]{display:flex;align-items:center;border-bottom:1px solid transparent;width:100%;height:var(--vp-nav-height);font-size:16px;font-weight:600;color:var(--vp-c-text-1);transition:opacity .25s}@media (min-width: 960px){.title[data-v-c5f6aca5]{flex-shrink:0}.VPNavBarTitle.has-sidebar .title[data-v-c5f6aca5]{border-bottom-color:var(--vp-c-divider)}}[data-v-c5f6aca5] .logo{margin-right:8px;height:var(--vp-nav-logo-height)}.VPNavBarTranslations[data-v-8a2a8fa9]{display:none}@media (min-width: 1280px){.VPNavBarTranslations[data-v-8a2a8fa9]{display:flex;align-items:center}}.title[data-v-8a2a8fa9]{padding:0 24px 0 12px;line-height:32px;font-size:14px;font-weight:700;color:var(--vp-c-text-1)}.VPNavBar[data-v-f8a99ca9]{position:relative;height:var(--vp-nav-height);pointer-events:none;white-space:nowrap;transition:background-color .25s}.VPNavBar.screen-open[data-v-f8a99ca9]{transition:none;background-color:var(--vp-nav-bg-color);border-bottom:1px solid var(--vp-c-divider)}.VPNavBar[data-v-f8a99ca9]:not(.home){background-color:var(--vp-nav-bg-color)}@media (min-width: 960px){.VPNavBar[data-v-f8a99ca9]:not(.home){background-color:transparent}.VPNavBar[data-v-f8a99ca9]:not(.has-sidebar):not(.home.top){background-color:var(--vp-nav-bg-color)}}.wrapper[data-v-f8a99ca9]{padding:0 8px 0 24px}@media (min-width: 768px){.wrapper[data-v-f8a99ca9]{padding:0 32px}}@media (min-width: 960px){.VPNavBar.has-sidebar .wrapper[data-v-f8a99ca9]{padding:0}}.container[data-v-f8a99ca9]{display:flex;justify-content:space-between;margin:0 auto;max-width:calc(var(--vp-layout-max-width) - 64px);height:var(--vp-nav-height);pointer-events:none}.container>.title[data-v-f8a99ca9],.container>.content[data-v-f8a99ca9]{pointer-events:none}.container[data-v-f8a99ca9] *{pointer-events:auto}@media (min-width: 960px){.VPNavBar.has-sidebar .container[data-v-f8a99ca9]{max-width:100%}}.title[data-v-f8a99ca9]{flex-shrink:0;height:calc(var(--vp-nav-height) - 1px);transition:background-color .5s}@media (min-width: 960px){.VPNavBar.has-sidebar .title[data-v-f8a99ca9]{position:absolute;top:0;left:0;z-index:2;padding:0 32px;width:var(--vp-sidebar-width);height:var(--vp-nav-height);background-color:transparent}}@media (min-width: 1440px){.VPNavBar.has-sidebar .title[data-v-f8a99ca9]{padding-left:max(32px,calc((100% - (var(--vp-layout-max-width) - 64px)) / 2));width:calc((100% - (var(--vp-layout-max-width) - 64px)) / 2 + var(--vp-sidebar-width) - 32px)}}.content[data-v-f8a99ca9]{flex-grow:1}@media (min-width: 960px){.VPNavBar.has-sidebar .content[data-v-f8a99ca9]{position:relative;z-index:1;padding-right:32px;padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPNavBar.has-sidebar .content[data-v-f8a99ca9]{padding-right:calc((100vw - var(--vp-layout-max-width)) / 2 + 32px);padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.content-body[data-v-f8a99ca9]{display:flex;justify-content:flex-end;align-items:center;height:var(--vp-nav-height);transition:background-color .5s}@media (min-width: 960px){.VPNavBar:not(.home.top) .content-body[data-v-f8a99ca9]{position:relative;background-color:var(--vp-nav-bg-color)}.VPNavBar:not(.has-sidebar):not(.home.top) .content-body[data-v-f8a99ca9]{background-color:transparent}}@media (max-width: 767px){.content-body[data-v-f8a99ca9]{column-gap:.5rem}}.menu+.translations[data-v-f8a99ca9]:before,.menu+.appearance[data-v-f8a99ca9]:before,.menu+.social-links[data-v-f8a99ca9]:before,.translations+.appearance[data-v-f8a99ca9]:before,.appearance+.social-links[data-v-f8a99ca9]:before{margin-right:8px;margin-left:8px;width:1px;height:24px;background-color:var(--vp-c-divider);content:""}.menu+.appearance[data-v-f8a99ca9]:before,.translations+.appearance[data-v-f8a99ca9]:before{margin-right:16px}.appearance+.social-links[data-v-f8a99ca9]:before{margin-left:16px}.social-links[data-v-f8a99ca9]{margin-right:-8px}.divider[data-v-f8a99ca9]{width:100%;height:1px}@media (min-width: 960px){.VPNavBar.has-sidebar .divider[data-v-f8a99ca9]{padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPNavBar.has-sidebar .divider[data-v-f8a99ca9]{padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.divider-line[data-v-f8a99ca9]{width:100%;height:1px;transition:background-color .5s}.VPNavBar:not(.home) .divider-line[data-v-f8a99ca9]{background-color:var(--vp-c-gutter)}@media (min-width: 960px){.VPNavBar:not(.home.top) .divider-line[data-v-f8a99ca9]{background-color:var(--vp-c-gutter)}.VPNavBar:not(.has-sidebar):not(.home.top) .divider[data-v-f8a99ca9]{background-color:var(--vp-c-gutter)}}.VPNavScreenAppearance[data-v-f069eb95]{display:flex;justify-content:space-between;align-items:center;border-radius:8px;padding:12px 14px 12px 16px;background-color:var(--vp-c-bg-soft)}.text[data-v-f069eb95]{line-height:24px;font-size:12px;font-weight:500;color:var(--vp-c-text-2)}.VPNavScreenMenuLink[data-v-46ec9c3a]{display:block;border-bottom:1px solid var(--vp-c-divider);padding:12px 0 11px;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:border-color .25s,color .25s}.VPNavScreenMenuLink[data-v-46ec9c3a]:hover{color:var(--vp-c-brand-1)}.VPNavScreenMenuGroupLink[data-v-13ae3aaf]{display:block;margin-left:12px;line-height:32px;font-size:14px;font-weight:400;color:var(--vp-c-text-1);transition:color .25s}.VPNavScreenMenuGroupLink[data-v-13ae3aaf]:hover{color:var(--vp-c-brand-1)}.VPNavScreenMenuGroupSection[data-v-34c9d36c]{display:block}.title[data-v-34c9d36c]{line-height:32px;font-size:13px;font-weight:700;color:var(--vp-c-text-2);transition:color .25s}.VPNavScreenMenuGroup[data-v-7f58dbdf]{border-bottom:1px solid var(--vp-c-divider);height:48px;overflow:hidden;transition:border-color .5s}.VPNavScreenMenuGroup .items[data-v-7f58dbdf]{visibility:hidden}.VPNavScreenMenuGroup.open .items[data-v-7f58dbdf]{visibility:visible}.VPNavScreenMenuGroup.open[data-v-7f58dbdf]{padding-bottom:10px;height:auto}.VPNavScreenMenuGroup.open .button[data-v-7f58dbdf]{padding-bottom:6px;color:var(--vp-c-brand-1)}.VPNavScreenMenuGroup.open .button-icon[data-v-7f58dbdf]{transform:rotate(45deg)}.button[data-v-7f58dbdf]{display:flex;justify-content:space-between;align-items:center;padding:12px 4px 11px 0;width:100%;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.button[data-v-7f58dbdf]:hover{color:var(--vp-c-brand-1)}.button-icon[data-v-7f58dbdf]{transition:transform .25s}.group[data-v-7f58dbdf]:first-child{padding-top:0}.group+.group[data-v-7f58dbdf],.group+.item[data-v-7f58dbdf]{padding-top:4px}.VPNavScreenTranslations[data-v-c0b11bb0]{height:24px;overflow:hidden}.VPNavScreenTranslations.open[data-v-c0b11bb0]{height:auto}.title[data-v-c0b11bb0]{display:flex;align-items:center;font-size:14px;font-weight:500;color:var(--vp-c-text-1)}.icon[data-v-c0b11bb0]{font-size:16px}.icon.lang[data-v-c0b11bb0]{margin-right:8px}.icon.chevron[data-v-c0b11bb0]{margin-left:4px}.list[data-v-c0b11bb0]{padding:4px 0 0 24px}.link[data-v-c0b11bb0]{line-height:32px;font-size:13px;color:var(--vp-c-text-1)}.VPNavScreen[data-v-6cff0a32]{position:fixed;top:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px));right:0;bottom:0;left:0;padding:0 32px;width:100%;background-color:var(--vp-nav-screen-bg-color);overflow-y:auto;transition:background-color .25s;pointer-events:auto}.VPNavScreen.fade-enter-active[data-v-6cff0a32],.VPNavScreen.fade-leave-active[data-v-6cff0a32]{transition:opacity .25s}.VPNavScreen.fade-enter-active .container[data-v-6cff0a32],.VPNavScreen.fade-leave-active .container[data-v-6cff0a32]{transition:transform .25s ease}.VPNavScreen.fade-enter-from[data-v-6cff0a32],.VPNavScreen.fade-leave-to[data-v-6cff0a32]{opacity:0}.VPNavScreen.fade-enter-from .container[data-v-6cff0a32],.VPNavScreen.fade-leave-to .container[data-v-6cff0a32]{transform:translateY(-8px)}@media (min-width: 768px){.VPNavScreen[data-v-6cff0a32]{display:none}}.container[data-v-6cff0a32]{margin:0 auto;padding:24px 0 96px;max-width:288px}.menu+.translations[data-v-6cff0a32],.menu+.appearance[data-v-6cff0a32],.translations+.appearance[data-v-6cff0a32]{margin-top:24px}.menu+.social-links[data-v-6cff0a32]{margin-top:16px}.appearance+.social-links[data-v-6cff0a32]{margin-top:16px}.VPNav[data-v-6d1425b1]{position:relative;top:var(--vp-layout-top-height, 0px);left:0;z-index:var(--vp-z-index-nav);width:100%;pointer-events:none;transition:background-color .5s}@media (min-width: 960px){.VPNav[data-v-6d1425b1]{position:fixed}}.VPSidebarItem.level-0[data-v-4d485cd8]{padding-bottom:24px}.VPSidebarItem.collapsed.level-0[data-v-4d485cd8]{padding-bottom:10px}.item[data-v-4d485cd8]{position:relative;display:flex;width:100%}.VPSidebarItem.collapsible>.item[data-v-4d485cd8]{cursor:pointer}.indicator[data-v-4d485cd8]{position:absolute;top:6px;bottom:6px;left:-17px;width:2px;border-radius:2px;transition:background-color .25s}.VPSidebarItem.level-2.is-active>.item>.indicator[data-v-4d485cd8],.VPSidebarItem.level-3.is-active>.item>.indicator[data-v-4d485cd8],.VPSidebarItem.level-4.is-active>.item>.indicator[data-v-4d485cd8],.VPSidebarItem.level-5.is-active>.item>.indicator[data-v-4d485cd8]{background-color:var(--vp-c-brand-1)}.link[data-v-4d485cd8]{display:flex;align-items:center;flex-grow:1}.text[data-v-4d485cd8]{flex-grow:1;padding:4px 0;line-height:24px;font-size:14px;transition:color .25s}.VPSidebarItem.level-0 .text[data-v-4d485cd8]{font-weight:700;color:var(--vp-c-text-1)}.VPSidebarItem.level-1 .text[data-v-4d485cd8],.VPSidebarItem.level-2 .text[data-v-4d485cd8],.VPSidebarItem.level-3 .text[data-v-4d485cd8],.VPSidebarItem.level-4 .text[data-v-4d485cd8],.VPSidebarItem.level-5 .text[data-v-4d485cd8]{font-weight:500;color:var(--vp-c-text-2)}.VPSidebarItem.level-0.is-link>.item>.link:hover .text[data-v-4d485cd8],.VPSidebarItem.level-1.is-link>.item>.link:hover .text[data-v-4d485cd8],.VPSidebarItem.level-2.is-link>.item>.link:hover .text[data-v-4d485cd8],.VPSidebarItem.level-3.is-link>.item>.link:hover .text[data-v-4d485cd8],.VPSidebarItem.level-4.is-link>.item>.link:hover .text[data-v-4d485cd8],.VPSidebarItem.level-5.is-link>.item>.link:hover .text[data-v-4d485cd8]{color:var(--vp-c-brand-1)}.VPSidebarItem.level-0.has-active>.item>.text[data-v-4d485cd8],.VPSidebarItem.level-1.has-active>.item>.text[data-v-4d485cd8],.VPSidebarItem.level-2.has-active>.item>.text[data-v-4d485cd8],.VPSidebarItem.level-3.has-active>.item>.text[data-v-4d485cd8],.VPSidebarItem.level-4.has-active>.item>.text[data-v-4d485cd8],.VPSidebarItem.level-5.has-active>.item>.text[data-v-4d485cd8],.VPSidebarItem.level-0.has-active>.item>.link>.text[data-v-4d485cd8],.VPSidebarItem.level-1.has-active>.item>.link>.text[data-v-4d485cd8],.VPSidebarItem.level-2.has-active>.item>.link>.text[data-v-4d485cd8],.VPSidebarItem.level-3.has-active>.item>.link>.text[data-v-4d485cd8],.VPSidebarItem.level-4.has-active>.item>.link>.text[data-v-4d485cd8],.VPSidebarItem.level-5.has-active>.item>.link>.text[data-v-4d485cd8]{color:var(--vp-c-text-1)}.VPSidebarItem.level-0.is-active>.item .link>.text[data-v-4d485cd8],.VPSidebarItem.level-1.is-active>.item .link>.text[data-v-4d485cd8],.VPSidebarItem.level-2.is-active>.item .link>.text[data-v-4d485cd8],.VPSidebarItem.level-3.is-active>.item .link>.text[data-v-4d485cd8],.VPSidebarItem.level-4.is-active>.item .link>.text[data-v-4d485cd8],.VPSidebarItem.level-5.is-active>.item .link>.text[data-v-4d485cd8]{color:var(--vp-c-brand-1)}.caret[data-v-4d485cd8]{display:flex;justify-content:center;align-items:center;margin-right:-7px;width:32px;height:32px;color:var(--vp-c-text-3);cursor:pointer;transition:color .25s;flex-shrink:0}.item:hover .caret[data-v-4d485cd8]{color:var(--vp-c-text-2)}.item:hover .caret[data-v-4d485cd8]:hover{color:var(--vp-c-text-1)}.caret-icon[data-v-4d485cd8]{font-size:18px;transform:rotate(90deg);transition:transform .25s}.VPSidebarItem.collapsed .caret-icon[data-v-4d485cd8]{transform:rotate(0)}.VPSidebarItem.level-1 .items[data-v-4d485cd8],.VPSidebarItem.level-2 .items[data-v-4d485cd8],.VPSidebarItem.level-3 .items[data-v-4d485cd8],.VPSidebarItem.level-4 .items[data-v-4d485cd8],.VPSidebarItem.level-5 .items[data-v-4d485cd8]{border-left:1px solid var(--vp-c-divider);padding-left:16px}.VPSidebarItem.collapsed .items[data-v-4d485cd8]{display:none}.no-transition[data-v-ed9c5b74] .caret-icon{transition:none}.group+.group[data-v-ed9c5b74]{border-top:1px solid var(--vp-c-divider);padding-top:10px}@media (min-width: 960px){.group[data-v-ed9c5b74]{padding-top:10px;width:calc(var(--vp-sidebar-width) - 64px)}}.VPSidebar[data-v-161dc330]{position:fixed;top:var(--vp-layout-top-height, 0px);bottom:0;left:0;z-index:var(--vp-z-index-sidebar);padding:32px 32px 96px;width:calc(100vw - 64px);max-width:320px;background-color:var(--vp-sidebar-bg-color);opacity:0;box-shadow:var(--vp-c-shadow-3);overflow-x:hidden;overflow-y:auto;transform:translate(-100%);transition:opacity .5s,transform .25s ease;overscroll-behavior:contain}.VPSidebar.open[data-v-161dc330]{opacity:1;visibility:visible;transform:translate(0);transition:opacity .25s,transform .5s cubic-bezier(.19,1,.22,1)}.dark .VPSidebar[data-v-161dc330]{box-shadow:var(--vp-shadow-1)}@media (min-width: 960px){.VPSidebar[data-v-161dc330]{padding-top:var(--vp-nav-height);width:var(--vp-sidebar-width);max-width:100%;background-color:var(--vp-sidebar-bg-color);opacity:1;visibility:visible;box-shadow:none;transform:translate(0)}}@media (min-width: 1440px){.VPSidebar[data-v-161dc330]{padding-left:max(32px,calc((100% - (var(--vp-layout-max-width) - 64px)) / 2));width:calc((100% - (var(--vp-layout-max-width) - 64px)) / 2 + var(--vp-sidebar-width) - 32px)}}@media (min-width: 960px){.curtain[data-v-161dc330]{position:sticky;top:-64px;left:0;z-index:1;margin-top:calc(var(--vp-nav-height) * -1);margin-right:-32px;margin-left:-32px;height:var(--vp-nav-height);background-color:var(--vp-sidebar-bg-color)}}.nav[data-v-161dc330]{outline:0}.VPSkipLink[data-v-90ea3606]{top:8px;left:8px;padding:8px 16px;z-index:999;border-radius:8px;font-size:12px;font-weight:700;text-decoration:none;color:var(--vp-c-brand-1);box-shadow:var(--vp-shadow-3);background-color:var(--vp-c-bg)}.VPSkipLink[data-v-90ea3606]:focus{height:auto;width:auto;clip:auto;clip-path:none}@media (min-width: 1280px){.VPSkipLink[data-v-90ea3606]{top:14px;left:16px}}.Layout[data-v-a73ed0b3]{display:flex;flex-direction:column;min-height:100vh}.VPHomeSponsors[data-v-584c19ad]{border-top:1px solid var(--vp-c-gutter);padding-top:88px!important}.VPHomeSponsors[data-v-584c19ad]{margin:96px 0}@media (min-width: 768px){.VPHomeSponsors[data-v-584c19ad]{margin:128px 0}}.VPHomeSponsors[data-v-584c19ad]{padding:0 24px}@media (min-width: 768px){.VPHomeSponsors[data-v-584c19ad]{padding:0 48px}}@media (min-width: 960px){.VPHomeSponsors[data-v-584c19ad]{padding:0 64px}}.container[data-v-584c19ad]{margin:0 auto;max-width:1152px}.love[data-v-584c19ad]{margin:0 auto;width:fit-content;font-size:28px;color:var(--vp-c-text-3)}.icon[data-v-584c19ad]{display:inline-block}.message[data-v-584c19ad]{margin:0 auto;padding-top:10px;max-width:320px;text-align:center;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}.sponsors[data-v-584c19ad]{padding-top:32px}.action[data-v-584c19ad]{padding-top:40px;text-align:center}.VPTeamPage[data-v-06ce62fd]{margin:96px 0}@media (min-width: 768px){.VPTeamPage[data-v-06ce62fd]{margin:128px 0}}.VPHome .VPTeamPageTitle[data-v-06ce62fd-s]{border-top:1px solid var(--vp-c-gutter);padding-top:88px!important}.VPTeamPageSection+.VPTeamPageSection[data-v-06ce62fd-s],.VPTeamMembers+.VPTeamPageSection[data-v-06ce62fd-s]{margin-top:64px}.VPTeamMembers+.VPTeamMembers[data-v-06ce62fd-s]{margin-top:24px}@media (min-width: 768px){.VPTeamPageTitle+.VPTeamPageSection[data-v-06ce62fd-s]{margin-top:16px}.VPTeamPageSection+.VPTeamPageSection[data-v-06ce62fd-s],.VPTeamMembers+.VPTeamPageSection[data-v-06ce62fd-s]{margin-top:96px}}.VPTeamMembers[data-v-06ce62fd-s]{padding:0 24px}@media (min-width: 768px){.VPTeamMembers[data-v-06ce62fd-s]{padding:0 48px}}@media (min-width: 960px){.VPTeamMembers[data-v-06ce62fd-s]{padding:0 64px}}.VPTeamPageTitle[data-v-8658e6b6]{padding:48px 32px;text-align:center}@media (min-width: 768px){.VPTeamPageTitle[data-v-8658e6b6]{padding:64px 48px 48px}}@media (min-width: 960px){.VPTeamPageTitle[data-v-8658e6b6]{padding:80px 64px 48px}}.title[data-v-8658e6b6]{letter-spacing:0;line-height:44px;font-size:36px;font-weight:500}@media (min-width: 768px){.title[data-v-8658e6b6]{letter-spacing:-.5px;line-height:56px;font-size:48px}}.lead[data-v-8658e6b6]{margin:0 auto;max-width:512px;padding-top:12px;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}@media (min-width: 768px){.lead[data-v-8658e6b6]{max-width:592px;letter-spacing:.15px;line-height:28px;font-size:20px}}.VPTeamPageSection[data-v-229f1337]{padding:0 32px}@media (min-width: 768px){.VPTeamPageSection[data-v-229f1337]{padding:0 48px}}@media (min-width: 960px){.VPTeamPageSection[data-v-229f1337]{padding:0 64px}}.title[data-v-229f1337]{position:relative;margin:0 auto;max-width:1152px;text-align:center;color:var(--vp-c-text-2)}.title-line[data-v-229f1337]{position:absolute;top:16px;left:0;width:100%;height:1px;background-color:var(--vp-c-divider)}.title-text[data-v-229f1337]{position:relative;display:inline-block;padding:0 24px;letter-spacing:0;line-height:32px;font-size:20px;font-weight:500;background-color:var(--vp-c-bg)}.lead[data-v-229f1337]{margin:0 auto;max-width:480px;padding-top:12px;text-align:center;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}.members[data-v-229f1337]{padding-top:40px}.VPTeamMembersItem[data-v-d3c6062e]{display:flex;flex-direction:column;gap:2px;border-radius:12px;width:100%;height:100%;overflow:hidden}.VPTeamMembersItem.small .profile[data-v-d3c6062e]{padding:32px}.VPTeamMembersItem.small .data[data-v-d3c6062e]{padding-top:20px}.VPTeamMembersItem.small .avatar[data-v-d3c6062e]{width:64px;height:64px}.VPTeamMembersItem.small .name[data-v-d3c6062e]{line-height:24px;font-size:16px}.VPTeamMembersItem.small .affiliation[data-v-d3c6062e]{padding-top:4px;line-height:20px;font-size:14px}.VPTeamMembersItem.small .desc[data-v-d3c6062e]{padding-top:12px;line-height:20px;font-size:14px}.VPTeamMembersItem.small .links[data-v-d3c6062e]{margin:0 -16px -20px;padding:10px 0 0}.VPTeamMembersItem.medium .profile[data-v-d3c6062e]{padding:48px 32px}.VPTeamMembersItem.medium .data[data-v-d3c6062e]{padding-top:24px;text-align:center}.VPTeamMembersItem.medium .avatar[data-v-d3c6062e]{width:96px;height:96px}.VPTeamMembersItem.medium .name[data-v-d3c6062e]{letter-spacing:.15px;line-height:28px;font-size:20px}.VPTeamMembersItem.medium .affiliation[data-v-d3c6062e]{padding-top:4px;font-size:16px}.VPTeamMembersItem.medium .desc[data-v-d3c6062e]{padding-top:16px;max-width:288px;font-size:16px}.VPTeamMembersItem.medium .links[data-v-d3c6062e]{margin:0 -16px -12px;padding:16px 12px 0}.profile[data-v-d3c6062e]{flex-grow:1;background-color:var(--vp-c-bg-soft)}.data[data-v-d3c6062e]{text-align:center}.avatar[data-v-d3c6062e]{position:relative;flex-shrink:0;margin:0 auto;border-radius:50%;box-shadow:var(--vp-shadow-3)}.avatar-img[data-v-d3c6062e]{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;object-fit:cover}.name[data-v-d3c6062e]{margin:0;font-weight:600}.affiliation[data-v-d3c6062e]{margin:0;font-weight:500;color:var(--vp-c-text-2)}.org.link[data-v-d3c6062e]{color:var(--vp-c-text-2);transition:color .25s}.org.link[data-v-d3c6062e]:hover{color:var(--vp-c-brand-1)}.desc[data-v-d3c6062e]{margin:0 auto}.desc[data-v-d3c6062e] a{font-weight:500;color:var(--vp-c-brand-1);text-decoration-style:dotted;transition:color .25s}.links[data-v-d3c6062e]{display:flex;justify-content:center;height:56px}.sp-link[data-v-d3c6062e]{display:flex;justify-content:center;align-items:center;text-align:center;padding:16px;font-size:14px;font-weight:500;color:var(--vp-c-sponsor);background-color:var(--vp-c-bg-soft);transition:color .25s,background-color .25s}.sp .sp-link.link[data-v-d3c6062e]:hover,.sp .sp-link.link[data-v-d3c6062e]:focus{outline:none;color:var(--vp-c-white);background-color:var(--vp-c-sponsor)}.sp-icon[data-v-d3c6062e]{margin-right:8px;font-size:16px}.VPTeamMembers.small .container[data-v-b1147ca3]{grid-template-columns:repeat(auto-fit,minmax(224px,1fr))}.VPTeamMembers.small.count-1 .container[data-v-b1147ca3]{max-width:276px}.VPTeamMembers.small.count-2 .container[data-v-b1147ca3]{max-width:576px}.VPTeamMembers.small.count-3 .container[data-v-b1147ca3]{max-width:876px}.VPTeamMembers.medium .container[data-v-b1147ca3]{grid-template-columns:repeat(auto-fit,minmax(256px,1fr))}@media (min-width: 375px){.VPTeamMembers.medium .container[data-v-b1147ca3]{grid-template-columns:repeat(auto-fit,minmax(288px,1fr))}}.VPTeamMembers.medium.count-1 .container[data-v-b1147ca3]{max-width:368px}.VPTeamMembers.medium.count-2 .container[data-v-b1147ca3]{max-width:760px}.container[data-v-b1147ca3]{display:grid;gap:24px;margin:0 auto;max-width:1152px}.main[data-v-69b61450]{margin:0 auto;padding:.5rem 1.5rem 4rem;max-width:48rem}.yearItem[data-v-69b61450]{border-bottom:1px dashed #c7c7c7}.yearItem[data-v-69b61450]:last-child{border:none}.year[data-v-69b61450]{padding:16px 0 8px;font-size:1.2rem;font-weight:600}.article[data-v-69b61450]{display:flex;align-items:center;justify-content:space-between;margin:10px;color:var(--vp-c-text-2);transition:border .3s ease,color .3s ease}.article[data-v-69b61450]:hover{text-decoration:none;color:var(--vp-c-brand)}.date[data-v-69b61450]{font-family:Georgia,sans-serif}.main[data-v-6b5bf8a1]{margin:0 auto;padding:.5rem 1.5rem 4rem;max-width:48rem}.tags-header[data-v-6b5bf8a1]{font-weight:700;padding-bottom:14px;font-size:2.25em;margin-top:24px}.tags[data-v-6b5bf8a1]{margin-top:14px;display:flex;flex-wrap:wrap;align-items:center;justify-content:left;border-bottom:1px dashed #c7c7c7;margin-bottom:10px;padding-bottom:20px}.tag[data-v-6b5bf8a1]{display:inline-block;margin:6px 8px;font-size:.85em;line-height:25px;transition:.4s;color:#a1a1a1;cursor:pointer}.tag[data-v-6b5bf8a1]:hover,.activetag[data-v-6b5bf8a1]{color:var(--vp-c-hover)}.tag-length[data-v-6b5bf8a1]{color:var(--vp-c-brand);font-size:12px!important;position:relative;top:-8px}.header[data-v-6b5bf8a1]{font-size:1rem;font-weight:600;margin:1.5rem 0;display:flex;align-items:center;justify-content:left}.fas-icon[data-v-6b5bf8a1]{width:2rem;height:2rem}.header-text[data-v-6b5bf8a1]{padding-left:10px}.article[data-v-6b5bf8a1]{display:flex;align-items:center;justify-content:space-between;margin:10px;color:var(--vp-c-text-2);transition:border .3s ease,color .3s ease}.article[data-v-6b5bf8a1]:hover{text-decoration:none;color:var(--vp-c-brand)}.date[data-v-6b5bf8a1]{font-family:Georgia,sans-serif}.VPNavBar[data-v-7c1729ca]{position:relative;border-bottom:1px solid transparent;padding:0!important;height:var(--vp-nav-height);transition:border-color .5s,background-color .5s;background-color:transparent;pointer-events:none}.VPNavBar.has-sidebar[data-v-7c1729ca]{border-bottom-color:var(--vp-c-gutter)}.appearance-btn[data-v-7c1729ca]{display:flex;justify-content:center;align-items:center;width:22px;height:22px;padding:6px;border-radius:22px;margin-left:6px;transition:color .5s;box-sizing:content-box}.appearance-btn[data-v-7c1729ca]:hover{background-color:var(--btn-hover-bg)}@media (min-width: 768px){.VPNavBar[data-v-7c1729ca]{padding:0 32px}}@media (min-width: 960px){.VPNavBar.has-sidebar[data-v-7c1729ca]{border-bottom-color:transparent;padding:0}.VPNavBar.fill[data-v-7c1729ca]:not(.has-sidebar){border-bottom-color:var(--vp-c-gutter)}}.container[data-v-7c1729ca]{display:flex;justify-content:space-between;margin:0 auto;width:100%;pointer-events:none}.container[data-v-7c1729ca] *{pointer-events:auto}@media (min-width: 960px){.VPNavBar.has-sidebar .container[data-v-7c1729ca]{max-width:100%}}.title[data-v-7c1729ca]{flex-shrink:0;height:calc(var(--vp-nav-height) - 1px);transition:background-color .5s}@media (min-width: 960px){.VPNavBar.has-sidebar .title[data-v-7c1729ca]{position:absolute;top:0;left:0;z-index:2;padding:0 32px;width:var(--vp-sidebar-width);height:var(--vp-nav-height);background-color:transparent}}@media (min-width: 1440px){.VPNavBar.has-sidebar .title[data-v-7c1729ca]{padding-left:max(32px,calc((100% - (var(--vp-layout-max-width) - 64px)) / 2))}}.content[data-v-7c1729ca]{height:var(--vp-nav-height);flex-grow:1}@media (min-width: 960px){.VPNavBar.has-sidebar .content[data-v-7c1729ca]{position:relative;z-index:1;padding-right:32px;padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPNavBar.has-sidebar .content[data-v-7c1729ca]{padding-right:calc((100vw - var(--vp-layout-max-width)) / 2 + 32px);padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.content-body[data-v-7c1729ca]{display:grid;grid-template-columns:repeat(3,33.3333%);grid-template-rows:repeat(3,33%);height:calc(var(--vp-nav-height) - 1px);transition:background-color .5s}.content-body-left[data-v-7c1729ca]{display:flex;align-items:center;padding-left:10px;height:var(--vp-nav-height);border-right:1px solid var(--border-color)}.content-body-mid[data-v-7c1729ca]{display:flex;justify-content:flex-start;align-items:center;height:var(--vp-nav-height)}.content-body-right[data-v-7c1729ca]{display:flex;justify-content:center;align-items:center;height:var(--vp-nav-height);border-left:1px solid var(--border-color)}@media (min-width: 960px){.VPNavBar.has-sidebar .content-body[data-v-7c1729ca],.VPNavBar.fill .content-body[data-v-7c1729ca]{position:relative;background-color:var(--vp-nav-bg-color)}}.menu+.translations[data-v-7c1729ca]:before,.menu+.appearance[data-v-7c1729ca]:before,.menu+.social-links[data-v-7c1729ca]:before,.translations+.appearance[data-v-7c1729ca]:before,.appearance+.social-links[data-v-7c1729ca]:before{margin-right:8px;margin-left:8px;width:1px;height:24px;background-color:var(--vp-c-divider);content:""}.menu+.appearance[data-v-7c1729ca]:before,.translations+.appearance[data-v-7c1729ca]:before{margin-right:16px}.appearance+.social-links[data-v-7c1729ca]:before{margin-left:16px}.appearance[data-v-7c1729ca]{margin-left:16px}.social-links[data-v-7c1729ca]{margin-right:-8px}@media (min-width: 960px){.VPNavBar.has-sidebar .curtain[data-v-7c1729ca]{position:absolute;right:0;bottom:-31px;width:calc(100% - var(--vp-sidebar-width));height:32px}.VPNavBar.has-sidebar .curtain[data-v-7c1729ca]:before{display:block;width:100%;height:32px;background:linear-gradient(var(--vp-c-bg),transparent 70%);content:""}}@media (min-width: 1440px){.VPNavBar.has-sidebar .curtain[data-v-7c1729ca]{width:calc(100% - ((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width)))}}.Nav[data-v-19dffaed]{position:relative;top:0;left:0;z-index:99999;width:100%;height:var(--vp-nav-height);background-color:var(--vp-c-bg);border-bottom:1px solid var(--border-color);pointer-events:none}.VPNavScreen[data-v-19dffaed]{display:flex!important}@media (min-width: 960px){.Nav[data-v-19dffaed]{position:fixed}.Nav.no-sidebar[data-v-19dffaed]{-webkit-backdrop-filter:saturate(50%) blur(8px);backdrop-filter:saturate(50%) blur(8px)}}.footer[data-v-b0668316]{width:100%;padding:50px;background-color:var(--footer-color)}footer[data-v-b0668316]{text-align:center;color:var(--vp-c-text)}a[data-v-b0668316]{color:var(--vp-c-brand);font-weight:700}a[data-v-b0668316]:hover{text-decoration:none;color:var(--vp-c-hover)}.blogList[data-v-37cff8cf]{height:calc(100% - var(--vp-nav-height));display:grid;background-color:var(--vp-c-bg);grid-template-columns:repeat(3,33.33333%);grid-template-rows:repeat(3,25%)}.blog[data-v-37cff8cf]{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--vp-c-bg);border-bottom:1px solid var(--border-color);cursor:pointer}.title[data-v-37cff8cf]{position:relative;color:var(--vp-c-brand-light);font-size:1.2em;font-weight:700}.title[data-v-37cff8cf]:after{content:"";position:absolute;width:100%;transform:scaleX(0);height:2px;bottom:0;left:0;background-color:var(--vp-c-color-d);transform-origin:bottom right;transition:transform .25s ease-out}.blog:hover .title[data-v-37cff8cf]:after{transform:scaleX(1);transform-origin:bottom left}.date[data-v-37cff8cf]{padding-bottom:7px}.pagination[data-v-37cff8cf]{display:flex;align-items:center;justify-content:center;width:100%;height:60px;margin:0 auto;padding:12px 0;border-bottom:1px solid var(--border-color);background-color:var(--footer-color);position:relative}.pagination__button--prev-icon[data-v-37cff8cf],.pagination__button--next-icon[data-v-37cff8cf]{fill:#0f65ef}.pagination button[data-v-37cff8cf]{height:40px;width:40px;padding:12px;border:1px solid rgba(0,0,0,.2);text-decoration:none;color:#0f65ef;background:var(--btn-bg);transition:background-color .15s ease 0s}.left-btn[data-v-37cff8cf]{border-top-left-radius:3px;border-bottom-left-radius:3px}.right-btn[data-v-37cff8cf]{border-top-right-radius:3px;border-bottom-right-radius:3px}button[data-v-37cff8cf]:hover{transition:background-color .15s ease 0s;background-color:var(--btn-hover-bg)}.pageLocation[data-v-37cff8cf]{padding-left:1rem}.left[data-v-37cff8cf]{position:absolute;left:0}.right[data-v-37cff8cf]{position:absolute;right:0}.category[data-v-0f737ab8]{width:15rem;background:var(--vp-c-bg);color:var(--vp-c-brand-light);border-left:1px solid var(--border-color);overflow-y:auto;max-height:300px}.list[data-v-0f737ab8]{padding-left:1em;margin:.75rem 0;line-height:1.7;list-style-type:none;box-sizing:border-box}.showIndent[data-v-0f737ab8]{padding-left:1rem}ul[data-v-0f737ab8]{list-style-type:none}.header[data-v-0f737ab8]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 768px){.category[data-v-0f737ab8]{max-height:400px}}@media (min-width: 1024px){.category[data-v-0f737ab8]{max-height:450px}}@media (min-width: 1400px){.category[data-v-0f737ab8]{position:fixed;right:20px;max-height:490px}}.title[data-v-ac80d3c4]{color:var(--vp-c-text-1);font-weight:600;font-size:2.25em;margin-top:.3em;margin-bottom:.3em;line-height:1.3;font-family:Dosis,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.date[data-v-ac80d3c4]{font-size:.875rem;line-height:1.25rem;margin-bottom:1em;padding-bottom:1em;border-bottom:1px dashed #c7c7c7}.done[data-v-029789cf]{margin-bottom:20px}button[data-v-029789cf]{display:inline-block;position:relative;color:var(--vp-c-color-d);cursor:pointer;font-size:1.2em;font-weight:700}button[data-v-029789cf]:after{content:"";position:absolute;width:100%;transform:scaleX(0);height:2px;bottom:0;left:0;background-color:var(--vp-c-color-d);transform-origin:bottom right;transition:transform .25s ease-out}button[data-v-029789cf]:hover:after{transform:scaleX(1);transform-origin:bottom left}:root{--vp-c-brand: #3081f7;--vp-c-brand-light: #4e8ff1;--vp-c-brand-dark: #2275f1;--vp-c-hover: #212121;--vp-c-bg: #ffffff;--vp-c-bg-alpha-with-backdrop: rgba(250, 246, 241, .7);--vp-c-color-b: #26ccff;--vp-c-color-c: #0cb9ed;--vp-c-color-d: #2275f1;--vp-c-color-e: #3081f7;--vp-font-family-base: "LXGW WenKai Lite", "Inter var experimental", "Inter var", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;--vp-font-family-mono: "LXGW WenKai Mono Lite", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--vp-avator-border: #ffffff;--vp-nav-height: 60px;--footer-color: #f4f4f4;--border-color: rgba(0, 0, 0, .2);--btn-bg: #faf6f1;--btn-hover-bg: rgba(0, 0, 0, .2)}.dark{--vp-c-bg: #0e1117;--vp-c-text: white;--vp-c-hover: #ffffff;--vp-c-bg-alpha-with-backdrop: rgba(44, 54, 57, .7);--vp-avator-border: #3f4e4f;--border-color: #30363c;--btn-bg: #21262c;--btn-hover-bg: #30363d;--footer-color: #161b22}#app{min-height:100vh;position:relative}.theme{background-color:var(--vp-c-bg)}.vp-doc h2{margin-top:0;border-top:none}.VPDocOutlineDropdown{display:none!important}.VPHome{height:100vh;padding-bottom:var(--vp-nav-height)!important;background-color:var(--footer-color)}.VPNavBarTitle{padding-left:12px;font-weight:800;font-size:18px}.search-bar{margin-top:var(--vp-nav-height)}.DocSearch.DocSearch-Button{background-color:var(--vp-c-bg)}.VPNav{display:none}@media screen and (max-width: 990px){body{font-size:14px}}.VPLocalSearchBox[data-v-c62fb5fc]{position:fixed;z-index:100;top:0;right:0;bottom:0;left:0;display:flex}.backdrop[data-v-c62fb5fc]{position:absolute;top:0;right:0;bottom:0;left:0;background:var(--vp-backdrop-bg-color);transition:opacity .5s}.shell[data-v-c62fb5fc]{position:relative;padding:12px;margin:64px auto;display:flex;flex-direction:column;gap:16px;background:var(--vp-local-search-bg);width:min(100vw - 60px,900px);height:min-content;max-height:min(100vh - 128px,900px);border-radius:6px}@media (max-width: 767px){.shell[data-v-c62fb5fc]{margin:0;width:100vw;height:100vh;max-height:none;border-radius:0}}.search-bar[data-v-c62fb5fc]{border:1px solid var(--vp-c-divider);border-radius:4px;display:flex;align-items:center;padding:0 12px;cursor:text}@media (max-width: 767px){.search-bar[data-v-c62fb5fc]{padding:0 8px}}.search-bar[data-v-c62fb5fc]:focus-within{border-color:var(--vp-c-brand-1)}.local-search-icon[data-v-c62fb5fc]{display:block;font-size:18px}.navigate-icon[data-v-c62fb5fc]{display:block;font-size:14px}.search-icon[data-v-c62fb5fc]{margin:8px}@media (max-width: 767px){.search-icon[data-v-c62fb5fc]{display:none}}.search-input[data-v-c62fb5fc]{padding:6px 12px;font-size:inherit;width:100%}@media (max-width: 767px){.search-input[data-v-c62fb5fc]{padding:6px 4px}}.search-actions[data-v-c62fb5fc]{display:flex;gap:4px}@media (any-pointer: coarse){.search-actions[data-v-c62fb5fc]{gap:8px}}@media (min-width: 769px){.search-actions.before[data-v-c62fb5fc]{display:none}}.search-actions button[data-v-c62fb5fc]{padding:8px}.search-actions button[data-v-c62fb5fc]:not([disabled]):hover,.toggle-layout-button.detailed-list[data-v-c62fb5fc]{color:var(--vp-c-brand-1)}.search-actions button.clear-button[data-v-c62fb5fc]:disabled{opacity:.37}.search-keyboard-shortcuts[data-v-c62fb5fc]{font-size:.8rem;opacity:75%;display:flex;flex-wrap:wrap;gap:16px;line-height:14px}.search-keyboard-shortcuts span[data-v-c62fb5fc]{display:flex;align-items:center;gap:4px}@media (max-width: 767px){.search-keyboard-shortcuts[data-v-c62fb5fc]{display:none}}.search-keyboard-shortcuts kbd[data-v-c62fb5fc]{background:#8080801a;border-radius:4px;padding:3px 6px;min-width:24px;display:inline-block;text-align:center;vertical-align:middle;border:1px solid rgba(128,128,128,.15);box-shadow:0 2px 2px #0000001a}.results[data-v-c62fb5fc]{display:flex;flex-direction:column;gap:6px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.result[data-v-c62fb5fc]{display:flex;align-items:center;gap:8px;border-radius:4px;transition:none;line-height:1rem;border:solid 2px var(--vp-local-search-result-border);outline:none}.result>div[data-v-c62fb5fc]{margin:12px;width:100%;overflow:hidden}@media (max-width: 767px){.result>div[data-v-c62fb5fc]{margin:8px}}.titles[data-v-c62fb5fc]{display:flex;flex-wrap:wrap;gap:4px;position:relative;z-index:1001;padding:2px 0}.title[data-v-c62fb5fc]{display:flex;align-items:center;gap:4px}.title.main[data-v-c62fb5fc]{font-weight:500}.title-icon[data-v-c62fb5fc]{opacity:.5;font-weight:500;color:var(--vp-c-brand-1)}.title svg[data-v-c62fb5fc]{opacity:.5}.result.selected[data-v-c62fb5fc]{--vp-local-search-result-bg: var(--vp-local-search-result-selected-bg);border-color:var(--vp-local-search-result-selected-border)}.excerpt-wrapper[data-v-c62fb5fc]{position:relative}.excerpt[data-v-c62fb5fc]{opacity:75%;pointer-events:none;max-height:140px;overflow:hidden;position:relative;opacity:.5;margin-top:4px}.result.selected .excerpt[data-v-c62fb5fc]{opacity:1}.excerpt[data-v-c62fb5fc] *{font-size:.8rem!important;line-height:130%!important}.titles[data-v-c62fb5fc] mark,.excerpt[data-v-c62fb5fc] mark{background-color:var(--vp-local-search-highlight-bg);color:var(--vp-local-search-highlight-text);border-radius:2px;padding:0 2px}.excerpt[data-v-c62fb5fc] .vp-code-group .tabs{display:none}.excerpt[data-v-c62fb5fc] .vp-code-group div[class*=language-]{border-radius:8px!important}.excerpt-gradient-bottom[data-v-c62fb5fc]{position:absolute;bottom:-1px;left:0;width:100%;height:8px;background:linear-gradient(transparent,var(--vp-local-search-result-bg));z-index:1000}.excerpt-gradient-top[data-v-c62fb5fc]{position:absolute;top:-1px;left:0;width:100%;height:8px;background:linear-gradient(var(--vp-local-search-result-bg),transparent);z-index:1000}.result.selected .titles[data-v-c62fb5fc],.result.selected .title-icon[data-v-c62fb5fc]{color:var(--vp-c-brand-1)!important}.no-results[data-v-c62fb5fc]{font-size:.9rem;text-align:center;padding:12px}svg[data-v-c62fb5fc]{flex:none} +@import"https://cdn.jsdelivr.net/npm/lxgw-wenkai-lite-webfont@1.6.0/style.min.css";@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-cyrillic-ext.BBPuwvHQ.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-cyrillic.C5lxZ8CY.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-greek-ext.CqjqNYQ-.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-greek.BBVDIX6e.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-vietnamese.BjW4sHH5.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-latin-ext.4ZJIpNVo.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-latin.Di8DUHzh.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-cyrillic-ext.r48I6akx.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-cyrillic.By2_1cv3.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-greek-ext.1u6EdAuj.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-greek.DJ8dCoTZ.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-vietnamese.BSbpV94h.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-latin-ext.CN1xVJS-.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-latin.C2AdPX0b.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Punctuation SC;font-weight:400;src:local("PingFang SC Regular"),local("Noto Sans CJK SC"),local("Microsoft YaHei");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation SC;font-weight:500;src:local("PingFang SC Medium"),local("Noto Sans CJK SC"),local("Microsoft YaHei");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation SC;font-weight:600;src:local("PingFang SC Semibold"),local("Noto Sans CJK SC Bold"),local("Microsoft YaHei Bold");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation SC;font-weight:700;src:local("PingFang SC Semibold"),local("Noto Sans CJK SC Bold"),local("Microsoft YaHei Bold");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}:root{--vp-c-white: #ffffff;--vp-c-black: #000000;--vp-c-neutral: var(--vp-c-black);--vp-c-neutral-inverse: var(--vp-c-white)}.dark{--vp-c-neutral: var(--vp-c-white);--vp-c-neutral-inverse: var(--vp-c-black)}:root{--vp-c-gray-1: #dddde3;--vp-c-gray-2: #e4e4e9;--vp-c-gray-3: #ebebef;--vp-c-gray-soft: rgba(142, 150, 170, .14);--vp-c-indigo-1: #3451b2;--vp-c-indigo-2: #3a5ccc;--vp-c-indigo-3: #5672cd;--vp-c-indigo-soft: rgba(100, 108, 255, .14);--vp-c-purple-1: #6f42c1;--vp-c-purple-2: #7e4cc9;--vp-c-purple-3: #8e5cd9;--vp-c-purple-soft: rgba(159, 122, 234, .14);--vp-c-green-1: #18794e;--vp-c-green-2: #299764;--vp-c-green-3: #30a46c;--vp-c-green-soft: rgba(16, 185, 129, .14);--vp-c-yellow-1: #915930;--vp-c-yellow-2: #946300;--vp-c-yellow-3: #9f6a00;--vp-c-yellow-soft: rgba(234, 179, 8, .14);--vp-c-red-1: #b8272c;--vp-c-red-2: #d5393e;--vp-c-red-3: #e0575b;--vp-c-red-soft: rgba(244, 63, 94, .14);--vp-c-sponsor: #db2777}.dark{--vp-c-gray-1: #515c67;--vp-c-gray-2: #414853;--vp-c-gray-3: #32363f;--vp-c-gray-soft: rgba(101, 117, 133, .16);--vp-c-indigo-1: #a8b1ff;--vp-c-indigo-2: #5c73e7;--vp-c-indigo-3: #3e63dd;--vp-c-indigo-soft: rgba(100, 108, 255, .16);--vp-c-purple-1: #c8abfa;--vp-c-purple-2: #a879e6;--vp-c-purple-3: #8e5cd9;--vp-c-purple-soft: rgba(159, 122, 234, .16);--vp-c-green-1: #3dd68c;--vp-c-green-2: #30a46c;--vp-c-green-3: #298459;--vp-c-green-soft: rgba(16, 185, 129, .16);--vp-c-yellow-1: #f9b44e;--vp-c-yellow-2: #da8b17;--vp-c-yellow-3: #a46a0a;--vp-c-yellow-soft: rgba(234, 179, 8, .16);--vp-c-red-1: #f66f81;--vp-c-red-2: #f14158;--vp-c-red-3: #b62a3c;--vp-c-red-soft: rgba(244, 63, 94, .16)}:root{--vp-c-bg: #ffffff;--vp-c-bg-alt: #f6f6f7;--vp-c-bg-elv: #ffffff;--vp-c-bg-soft: #f6f6f7}.dark{--vp-c-bg: #1b1b1f;--vp-c-bg-alt: #161618;--vp-c-bg-elv: #202127;--vp-c-bg-soft: #202127}:root{--vp-c-border: #c2c2c4;--vp-c-divider: #e2e2e3;--vp-c-gutter: #e2e2e3}.dark{--vp-c-border: #3c3f44;--vp-c-divider: #2e2e32;--vp-c-gutter: #000000}:root{--vp-c-text-1: rgba(60, 60, 67);--vp-c-text-2: rgba(60, 60, 67, .78);--vp-c-text-3: rgba(60, 60, 67, .56)}.dark{--vp-c-text-1: rgba(255, 255, 245, .86);--vp-c-text-2: rgba(235, 235, 245, .6);--vp-c-text-3: rgba(235, 235, 245, .38)}:root{--vp-c-default-1: var(--vp-c-gray-1);--vp-c-default-2: var(--vp-c-gray-2);--vp-c-default-3: var(--vp-c-gray-3);--vp-c-default-soft: var(--vp-c-gray-soft);--vp-c-brand-1: var(--vp-c-indigo-1);--vp-c-brand-2: var(--vp-c-indigo-2);--vp-c-brand-3: var(--vp-c-indigo-3);--vp-c-brand-soft: var(--vp-c-indigo-soft);--vp-c-brand: var(--vp-c-brand-1);--vp-c-tip-1: var(--vp-c-brand-1);--vp-c-tip-2: var(--vp-c-brand-2);--vp-c-tip-3: var(--vp-c-brand-3);--vp-c-tip-soft: var(--vp-c-brand-soft);--vp-c-note-1: var(--vp-c-brand-1);--vp-c-note-2: var(--vp-c-brand-2);--vp-c-note-3: var(--vp-c-brand-3);--vp-c-note-soft: var(--vp-c-brand-soft);--vp-c-success-1: var(--vp-c-green-1);--vp-c-success-2: var(--vp-c-green-2);--vp-c-success-3: var(--vp-c-green-3);--vp-c-success-soft: var(--vp-c-green-soft);--vp-c-important-1: var(--vp-c-purple-1);--vp-c-important-2: var(--vp-c-purple-2);--vp-c-important-3: var(--vp-c-purple-3);--vp-c-important-soft: var(--vp-c-purple-soft);--vp-c-warning-1: var(--vp-c-yellow-1);--vp-c-warning-2: var(--vp-c-yellow-2);--vp-c-warning-3: var(--vp-c-yellow-3);--vp-c-warning-soft: var(--vp-c-yellow-soft);--vp-c-danger-1: var(--vp-c-red-1);--vp-c-danger-2: var(--vp-c-red-2);--vp-c-danger-3: var(--vp-c-red-3);--vp-c-danger-soft: var(--vp-c-red-soft);--vp-c-caution-1: var(--vp-c-red-1);--vp-c-caution-2: var(--vp-c-red-2);--vp-c-caution-3: var(--vp-c-red-3);--vp-c-caution-soft: var(--vp-c-red-soft)}:root{--vp-font-family-base: "Inter", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--vp-font-family-mono: ui-monospace, "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", monospace;font-optical-sizing:auto}:root:where(:lang(zh)){--vp-font-family-base: "Punctuation SC", "Inter", ui-sans-serif, system-ui, "PingFang SC", "Noto Sans CJK SC", "Noto Sans SC", "Heiti SC", "Microsoft YaHei", "DengXian", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"}:root{--vp-shadow-1: 0 1px 2px rgba(0, 0, 0, .04), 0 1px 2px rgba(0, 0, 0, .06);--vp-shadow-2: 0 3px 12px rgba(0, 0, 0, .07), 0 1px 4px rgba(0, 0, 0, .07);--vp-shadow-3: 0 12px 32px rgba(0, 0, 0, .1), 0 2px 6px rgba(0, 0, 0, .08);--vp-shadow-4: 0 14px 44px rgba(0, 0, 0, .12), 0 3px 9px rgba(0, 0, 0, .12);--vp-shadow-5: 0 18px 56px rgba(0, 0, 0, .16), 0 4px 12px rgba(0, 0, 0, .16)}:root{--vp-z-index-footer: 10;--vp-z-index-local-nav: 20;--vp-z-index-nav: 30;--vp-z-index-layout-top: 40;--vp-z-index-backdrop: 50;--vp-z-index-sidebar: 60}@media (min-width: 960px){:root{--vp-z-index-sidebar: 25}}:root{--vp-layout-max-width: 1440px}:root{--vp-header-anchor-symbol: "#"}:root{--vp-code-line-height: 1.7;--vp-code-font-size: .875em;--vp-code-color: var(--vp-c-brand-1);--vp-code-link-color: var(--vp-c-brand-1);--vp-code-link-hover-color: var(--vp-c-brand-2);--vp-code-bg: var(--vp-c-default-soft);--vp-code-block-color: var(--vp-c-text-2);--vp-code-block-bg: var(--vp-c-bg-alt);--vp-code-block-divider-color: var(--vp-c-gutter);--vp-code-lang-color: var(--vp-c-text-3);--vp-code-line-highlight-color: var(--vp-c-default-soft);--vp-code-line-number-color: var(--vp-c-text-3);--vp-code-line-diff-add-color: var(--vp-c-success-soft);--vp-code-line-diff-add-symbol-color: var(--vp-c-success-1);--vp-code-line-diff-remove-color: var(--vp-c-danger-soft);--vp-code-line-diff-remove-symbol-color: var(--vp-c-danger-1);--vp-code-line-warning-color: var(--vp-c-warning-soft);--vp-code-line-error-color: var(--vp-c-danger-soft);--vp-code-copy-code-border-color: var(--vp-c-divider);--vp-code-copy-code-bg: var(--vp-c-bg-soft);--vp-code-copy-code-hover-border-color: var(--vp-c-divider);--vp-code-copy-code-hover-bg: var(--vp-c-bg);--vp-code-copy-code-active-text: var(--vp-c-text-2);--vp-code-copy-copied-text-content: "Copied";--vp-code-tab-divider: var(--vp-code-block-divider-color);--vp-code-tab-text-color: var(--vp-c-text-2);--vp-code-tab-bg: var(--vp-code-block-bg);--vp-code-tab-hover-text-color: var(--vp-c-text-1);--vp-code-tab-active-text-color: var(--vp-c-text-1);--vp-code-tab-active-bar-color: var(--vp-c-brand-1)}:root{--vp-button-brand-border: transparent;--vp-button-brand-text: var(--vp-c-white);--vp-button-brand-bg: var(--vp-c-brand-3);--vp-button-brand-hover-border: transparent;--vp-button-brand-hover-text: var(--vp-c-white);--vp-button-brand-hover-bg: var(--vp-c-brand-2);--vp-button-brand-active-border: transparent;--vp-button-brand-active-text: var(--vp-c-white);--vp-button-brand-active-bg: var(--vp-c-brand-1);--vp-button-alt-border: transparent;--vp-button-alt-text: var(--vp-c-text-1);--vp-button-alt-bg: var(--vp-c-default-3);--vp-button-alt-hover-border: transparent;--vp-button-alt-hover-text: var(--vp-c-text-1);--vp-button-alt-hover-bg: var(--vp-c-default-2);--vp-button-alt-active-border: transparent;--vp-button-alt-active-text: var(--vp-c-text-1);--vp-button-alt-active-bg: var(--vp-c-default-1);--vp-button-sponsor-border: var(--vp-c-text-2);--vp-button-sponsor-text: var(--vp-c-text-2);--vp-button-sponsor-bg: transparent;--vp-button-sponsor-hover-border: var(--vp-c-sponsor);--vp-button-sponsor-hover-text: var(--vp-c-sponsor);--vp-button-sponsor-hover-bg: transparent;--vp-button-sponsor-active-border: var(--vp-c-sponsor);--vp-button-sponsor-active-text: var(--vp-c-sponsor);--vp-button-sponsor-active-bg: transparent}:root{--vp-custom-block-font-size: 14px;--vp-custom-block-code-font-size: 13px;--vp-custom-block-info-border: transparent;--vp-custom-block-info-text: var(--vp-c-text-1);--vp-custom-block-info-bg: var(--vp-c-default-soft);--vp-custom-block-info-code-bg: var(--vp-c-default-soft);--vp-custom-block-note-border: transparent;--vp-custom-block-note-text: var(--vp-c-text-1);--vp-custom-block-note-bg: var(--vp-c-default-soft);--vp-custom-block-note-code-bg: var(--vp-c-default-soft);--vp-custom-block-tip-border: transparent;--vp-custom-block-tip-text: var(--vp-c-text-1);--vp-custom-block-tip-bg: var(--vp-c-tip-soft);--vp-custom-block-tip-code-bg: var(--vp-c-tip-soft);--vp-custom-block-important-border: transparent;--vp-custom-block-important-text: var(--vp-c-text-1);--vp-custom-block-important-bg: var(--vp-c-important-soft);--vp-custom-block-important-code-bg: var(--vp-c-important-soft);--vp-custom-block-warning-border: transparent;--vp-custom-block-warning-text: var(--vp-c-text-1);--vp-custom-block-warning-bg: var(--vp-c-warning-soft);--vp-custom-block-warning-code-bg: var(--vp-c-warning-soft);--vp-custom-block-danger-border: transparent;--vp-custom-block-danger-text: var(--vp-c-text-1);--vp-custom-block-danger-bg: var(--vp-c-danger-soft);--vp-custom-block-danger-code-bg: var(--vp-c-danger-soft);--vp-custom-block-caution-border: transparent;--vp-custom-block-caution-text: var(--vp-c-text-1);--vp-custom-block-caution-bg: var(--vp-c-caution-soft);--vp-custom-block-caution-code-bg: var(--vp-c-caution-soft);--vp-custom-block-details-border: var(--vp-custom-block-info-border);--vp-custom-block-details-text: var(--vp-custom-block-info-text);--vp-custom-block-details-bg: var(--vp-custom-block-info-bg);--vp-custom-block-details-code-bg: var(--vp-custom-block-info-code-bg)}:root{--vp-input-border-color: var(--vp-c-border);--vp-input-bg-color: var(--vp-c-bg-alt);--vp-input-switch-bg-color: var(--vp-c-default-soft)}:root{--vp-nav-height: 64px;--vp-nav-bg-color: var(--vp-c-bg);--vp-nav-screen-bg-color: var(--vp-c-bg);--vp-nav-logo-height: 24px}.hide-nav{--vp-nav-height: 0px}.hide-nav .VPSidebar{--vp-nav-height: 22px}:root{--vp-local-nav-bg-color: var(--vp-c-bg)}:root{--vp-sidebar-width: 272px;--vp-sidebar-bg-color: var(--vp-c-bg-alt)}:root{--vp-backdrop-bg-color: rgba(0, 0, 0, .6)}:root{--vp-home-hero-name-color: var(--vp-c-brand-1);--vp-home-hero-name-background: transparent;--vp-home-hero-image-background-image: none;--vp-home-hero-image-filter: none}:root{--vp-badge-info-border: transparent;--vp-badge-info-text: var(--vp-c-text-2);--vp-badge-info-bg: var(--vp-c-default-soft);--vp-badge-tip-border: transparent;--vp-badge-tip-text: var(--vp-c-tip-1);--vp-badge-tip-bg: var(--vp-c-tip-soft);--vp-badge-warning-border: transparent;--vp-badge-warning-text: var(--vp-c-warning-1);--vp-badge-warning-bg: var(--vp-c-warning-soft);--vp-badge-danger-border: transparent;--vp-badge-danger-text: var(--vp-c-danger-1);--vp-badge-danger-bg: var(--vp-c-danger-soft)}:root{--vp-carbon-ads-text-color: var(--vp-c-text-1);--vp-carbon-ads-poweredby-color: var(--vp-c-text-2);--vp-carbon-ads-bg-color: var(--vp-c-bg-soft);--vp-carbon-ads-hover-text-color: var(--vp-c-brand-1);--vp-carbon-ads-hover-poweredby-color: var(--vp-c-text-1)}:root{--vp-local-search-bg: var(--vp-c-bg);--vp-local-search-result-bg: var(--vp-c-bg);--vp-local-search-result-border: var(--vp-c-divider);--vp-local-search-result-selected-bg: var(--vp-c-bg);--vp-local-search-result-selected-border: var(--vp-c-brand-1);--vp-local-search-highlight-bg: var(--vp-c-brand-1);--vp-local-search-highlight-text: var(--vp-c-neutral-inverse)}@media (prefers-reduced-motion: reduce){*,:before,:after{animation-delay:-1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important;background-attachment:initial!important;scroll-behavior:auto!important;transition-duration:0s!important;transition-delay:0s!important}}*,:before,:after{box-sizing:border-box}html{line-height:1.4;font-size:16px;-webkit-text-size-adjust:100%}html.dark{color-scheme:dark}body{margin:0;width:100%;min-width:320px;min-height:100vh;line-height:24px;font-family:var(--vp-font-family-base);font-size:16px;font-weight:400;color:var(--vp-c-text-1);background-color:var(--vp-c-bg);font-synthesis:style;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}main{display:block}h1,h2,h3,h4,h5,h6{margin:0;line-height:24px;font-size:16px;font-weight:400}p{margin:0}strong,b{font-weight:600}a,area,button,[role=button],input,label,select,summary,textarea{touch-action:manipulation}a{color:inherit;text-decoration:inherit}ol,ul{list-style:none;margin:0;padding:0}blockquote{margin:0}pre,code,kbd,samp{font-family:var(--vp-font-family-mono)}img,svg,video,canvas,audio,iframe,embed,object{display:block}figure{margin:0}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{border:0;padding:0;line-height:inherit;color:inherit}button{padding:0;font-family:inherit;background-color:transparent;background-image:none}button:enabled,[role=button]:enabled{cursor:pointer}button:focus,button:focus-visible{outline:1px dotted;outline:4px auto -webkit-focus-ring-color}button:focus:not(:focus-visible){outline:none!important}input:focus,textarea:focus,select:focus{outline:none}table{border-collapse:collapse}input{background-color:transparent}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:var(--vp-c-text-3)}input::-ms-input-placeholder,textarea::-ms-input-placeholder{color:var(--vp-c-text-3)}input::placeholder,textarea::placeholder{color:var(--vp-c-text-3)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}textarea{resize:vertical}select{-webkit-appearance:none}fieldset{margin:0;padding:0}h1,h2,h3,h4,h5,h6,li,p{overflow-wrap:break-word}vite-error-overlay{z-index:9999}mjx-container{overflow-x:auto}mjx-container>svg{display:inline-block;margin:auto}[class^=vpi-],[class*=" vpi-"],.vp-icon{width:1em;height:1em}[class^=vpi-].bg,[class*=" vpi-"].bg,.vp-icon.bg{background-size:100% 100%;background-color:transparent}[class^=vpi-]:not(.bg),[class*=" vpi-"]:not(.bg),.vp-icon:not(.bg){-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.vpi-align-left{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M21 6H3M15 12H3M17 18H3'/%3E%3C/svg%3E")}.vpi-arrow-right,.vpi-arrow-down,.vpi-arrow-left,.vpi-arrow-up{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E")}.vpi-chevron-right,.vpi-chevron-down,.vpi-chevron-left,.vpi-chevron-up{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E")}.vpi-chevron-down,.vpi-arrow-down{transform:rotate(90deg)}.vpi-chevron-left,.vpi-arrow-left{transform:rotate(180deg)}.vpi-chevron-up,.vpi-arrow-up{transform:rotate(-90deg)}.vpi-square-pen{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7'/%3E%3Cpath d='M18.375 2.625a2.121 2.121 0 1 1 3 3L12 15l-4 1 1-4Z'/%3E%3C/svg%3E")}.vpi-plus{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E")}.vpi-sun{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41'/%3E%3C/svg%3E")}.vpi-moon{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z'/%3E%3C/svg%3E")}.vpi-more-horizontal{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3Ccircle cx='19' cy='12' r='1'/%3E%3Ccircle cx='5' cy='12' r='1'/%3E%3C/svg%3E")}.vpi-languages{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m5 8 6 6M4 14l6-6 2-3M2 5h12M7 2h1M22 22l-5-10-5 10M14 18h6'/%3E%3C/svg%3E")}.vpi-heart{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E")}.vpi-search{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E")}.vpi-layout-list{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect width='7' height='7' x='3' y='3' rx='1'/%3E%3Crect width='7' height='7' x='3' y='14' rx='1'/%3E%3Cpath d='M14 4h7M14 9h7M14 15h7M14 20h7'/%3E%3C/svg%3E")}.vpi-delete{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M20 5H9l-7 7 7 7h11a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2ZM18 9l-6 6M12 9l6 6'/%3E%3C/svg%3E")}.vpi-corner-down-left{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m9 10-5 5 5 5'/%3E%3Cpath d='M20 4v7a4 4 0 0 1-4 4H4'/%3E%3C/svg%3E")}:root{--vp-icon-copy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='rgba(128,128,128,1)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect width='8' height='4' x='8' y='2' rx='1' ry='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3C/svg%3E");--vp-icon-copied: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='rgba(128,128,128,1)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect width='8' height='4' x='8' y='2' rx='1' ry='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Cpath d='m9 14 2 2 4-4'/%3E%3C/svg%3E")}.vpi-social-discord{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028c.462-.63.874-1.295 1.226-1.994a.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418Z'/%3E%3C/svg%3E")}.vpi-social-facebook{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z'/%3E%3C/svg%3E")}.vpi-social-github{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E")}.vpi-social-instagram{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.03.084c-1.277.06-2.149.264-2.91.563a5.874 5.874 0 0 0-2.124 1.388 5.878 5.878 0 0 0-1.38 2.127C.321 4.926.12 5.8.064 7.076.008 8.354-.005 8.764.001 12.023c.007 3.259.021 3.667.083 4.947.061 1.277.264 2.149.563 2.911.308.789.72 1.457 1.388 2.123a5.872 5.872 0 0 0 2.129 1.38c.763.295 1.636.496 2.913.552 1.278.056 1.689.069 4.947.063 3.257-.007 3.668-.021 4.947-.082 1.28-.06 2.147-.265 2.91-.563a5.881 5.881 0 0 0 2.123-1.388 5.881 5.881 0 0 0 1.38-2.129c.295-.763.496-1.636.551-2.912.056-1.28.07-1.69.063-4.948-.006-3.258-.02-3.667-.081-4.947-.06-1.28-.264-2.148-.564-2.911a5.892 5.892 0 0 0-1.387-2.123 5.857 5.857 0 0 0-2.128-1.38C19.074.322 18.202.12 16.924.066 15.647.009 15.236-.006 11.977 0 8.718.008 8.31.021 7.03.084m.14 21.693c-1.17-.05-1.805-.245-2.228-.408a3.736 3.736 0 0 1-1.382-.895 3.695 3.695 0 0 1-.9-1.378c-.165-.423-.363-1.058-.417-2.228-.06-1.264-.072-1.644-.08-4.848-.006-3.204.006-3.583.061-4.848.05-1.169.246-1.805.408-2.228.216-.561.477-.96.895-1.382a3.705 3.705 0 0 1 1.379-.9c.423-.165 1.057-.361 2.227-.417 1.265-.06 1.644-.072 4.848-.08 3.203-.006 3.583.006 4.85.062 1.168.05 1.804.244 2.227.408.56.216.96.475 1.382.895.421.42.681.817.9 1.378.165.422.362 1.056.417 2.227.06 1.265.074 1.645.08 4.848.005 3.203-.006 3.583-.061 4.848-.051 1.17-.245 1.805-.408 2.23-.216.56-.477.96-.896 1.38a3.705 3.705 0 0 1-1.378.9c-.422.165-1.058.362-2.226.418-1.266.06-1.645.072-4.85.079-3.204.007-3.582-.006-4.848-.06m9.783-16.192a1.44 1.44 0 1 0 1.437-1.442 1.44 1.44 0 0 0-1.437 1.442M5.839 12.012a6.161 6.161 0 1 0 12.323-.024 6.162 6.162 0 0 0-12.323.024M8 12.008A4 4 0 1 1 12.008 16 4 4 0 0 1 8 12.008'/%3E%3C/svg%3E")}.vpi-social-linkedin{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 0 1-2.063-2.065 2.064 2.064 0 1 1 2.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'/%3E%3C/svg%3E")}.vpi-social-mastodon{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.268 5.313c-.35-2.578-2.617-4.61-5.304-5.004C17.51.242 15.792 0 11.813 0h-.03c-3.98 0-4.835.242-5.288.309C3.882.692 1.496 2.518.917 5.127.64 6.412.61 7.837.661 9.143c.074 1.874.088 3.745.26 5.611.118 1.24.325 2.47.62 3.68.55 2.237 2.777 4.098 4.96 4.857 2.336.792 4.849.923 7.256.38.265-.061.527-.132.786-.213.585-.184 1.27-.39 1.774-.753a.057.057 0 0 0 .023-.043v-1.809a.052.052 0 0 0-.02-.041.053.053 0 0 0-.046-.01 20.282 20.282 0 0 1-4.709.545c-2.73 0-3.463-1.284-3.674-1.818a5.593 5.593 0 0 1-.319-1.433.053.053 0 0 1 .066-.054c1.517.363 3.072.546 4.632.546.376 0 .75 0 1.125-.01 1.57-.044 3.224-.124 4.768-.422.038-.008.077-.015.11-.024 2.435-.464 4.753-1.92 4.989-5.604.008-.145.03-1.52.03-1.67.002-.512.167-3.63-.024-5.545zm-3.748 9.195h-2.561V8.29c0-1.309-.55-1.976-1.67-1.976-1.23 0-1.846.79-1.846 2.35v3.403h-2.546V8.663c0-1.56-.617-2.35-1.848-2.35-1.112 0-1.668.668-1.67 1.977v6.218H4.822V8.102c0-1.31.337-2.35 1.011-3.12.696-.77 1.608-1.164 2.74-1.164 1.311 0 2.302.5 2.962 1.498l.638 1.06.638-1.06c.66-.999 1.65-1.498 2.96-1.498 1.13 0 2.043.395 2.74 1.164.675.77 1.012 1.81 1.012 3.12z'/%3E%3C/svg%3E")}.vpi-social-npm{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113z'/%3E%3C/svg%3E")}.vpi-social-slack{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.042 15.165a2.528 2.528 0 0 1-2.52 2.523A2.528 2.528 0 0 1 0 15.165a2.527 2.527 0 0 1 2.522-2.52h2.52v2.52zm1.271 0a2.527 2.527 0 0 1 2.521-2.52 2.527 2.527 0 0 1 2.521 2.52v6.313A2.528 2.528 0 0 1 8.834 24a2.528 2.528 0 0 1-2.521-2.522v-6.313zM8.834 5.042a2.528 2.528 0 0 1-2.521-2.52A2.528 2.528 0 0 1 8.834 0a2.528 2.528 0 0 1 2.521 2.522v2.52H8.834zm0 1.271a2.528 2.528 0 0 1 2.521 2.521 2.528 2.528 0 0 1-2.521 2.521H2.522A2.528 2.528 0 0 1 0 8.834a2.528 2.528 0 0 1 2.522-2.521h6.312zm10.122 2.521a2.528 2.528 0 0 1 2.522-2.521A2.528 2.528 0 0 1 24 8.834a2.528 2.528 0 0 1-2.522 2.521h-2.522V8.834zm-1.268 0a2.528 2.528 0 0 1-2.523 2.521 2.527 2.527 0 0 1-2.52-2.521V2.522A2.527 2.527 0 0 1 15.165 0a2.528 2.528 0 0 1 2.523 2.522v6.312zm-2.523 10.122a2.528 2.528 0 0 1 2.523 2.522A2.528 2.528 0 0 1 15.165 24a2.527 2.527 0 0 1-2.52-2.522v-2.522h2.52zm0-1.268a2.527 2.527 0 0 1-2.52-2.523 2.526 2.526 0 0 1 2.52-2.52h6.313A2.527 2.527 0 0 1 24 15.165a2.528 2.528 0 0 1-2.522 2.523h-6.313z'/%3E%3C/svg%3E")}.vpi-social-twitter,.vpi-social-x{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z'/%3E%3C/svg%3E")}.vpi-social-youtube{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3E%3C/svg%3E")}.visually-hidden{position:absolute;width:1px;height:1px;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden}.custom-block{border:1px solid transparent;border-radius:8px;padding:16px 16px 8px;line-height:24px;font-size:var(--vp-custom-block-font-size);color:var(--vp-c-text-2)}.custom-block.info{border-color:var(--vp-custom-block-info-border);color:var(--vp-custom-block-info-text);background-color:var(--vp-custom-block-info-bg)}.custom-block.info a,.custom-block.info code{color:var(--vp-c-brand-1)}.custom-block.info a:hover,.custom-block.info a:hover>code{color:var(--vp-c-brand-2)}.custom-block.info code{background-color:var(--vp-custom-block-info-code-bg)}.custom-block.note{border-color:var(--vp-custom-block-note-border);color:var(--vp-custom-block-note-text);background-color:var(--vp-custom-block-note-bg)}.custom-block.note a,.custom-block.note code{color:var(--vp-c-brand-1)}.custom-block.note a:hover,.custom-block.note a:hover>code{color:var(--vp-c-brand-2)}.custom-block.note code{background-color:var(--vp-custom-block-note-code-bg)}.custom-block.tip{border-color:var(--vp-custom-block-tip-border);color:var(--vp-custom-block-tip-text);background-color:var(--vp-custom-block-tip-bg)}.custom-block.tip a,.custom-block.tip code{color:var(--vp-c-tip-1)}.custom-block.tip a:hover,.custom-block.tip a:hover>code{color:var(--vp-c-tip-2)}.custom-block.tip code{background-color:var(--vp-custom-block-tip-code-bg)}.custom-block.important{border-color:var(--vp-custom-block-important-border);color:var(--vp-custom-block-important-text);background-color:var(--vp-custom-block-important-bg)}.custom-block.important a,.custom-block.important code{color:var(--vp-c-important-1)}.custom-block.important a:hover,.custom-block.important a:hover>code{color:var(--vp-c-important-2)}.custom-block.important code{background-color:var(--vp-custom-block-important-code-bg)}.custom-block.warning{border-color:var(--vp-custom-block-warning-border);color:var(--vp-custom-block-warning-text);background-color:var(--vp-custom-block-warning-bg)}.custom-block.warning a,.custom-block.warning code{color:var(--vp-c-warning-1)}.custom-block.warning a:hover,.custom-block.warning a:hover>code{color:var(--vp-c-warning-2)}.custom-block.warning code{background-color:var(--vp-custom-block-warning-code-bg)}.custom-block.danger{border-color:var(--vp-custom-block-danger-border);color:var(--vp-custom-block-danger-text);background-color:var(--vp-custom-block-danger-bg)}.custom-block.danger a,.custom-block.danger code{color:var(--vp-c-danger-1)}.custom-block.danger a:hover,.custom-block.danger a:hover>code{color:var(--vp-c-danger-2)}.custom-block.danger code{background-color:var(--vp-custom-block-danger-code-bg)}.custom-block.caution{border-color:var(--vp-custom-block-caution-border);color:var(--vp-custom-block-caution-text);background-color:var(--vp-custom-block-caution-bg)}.custom-block.caution a,.custom-block.caution code{color:var(--vp-c-caution-1)}.custom-block.caution a:hover,.custom-block.caution a:hover>code{color:var(--vp-c-caution-2)}.custom-block.caution code{background-color:var(--vp-custom-block-caution-code-bg)}.custom-block.details{border-color:var(--vp-custom-block-details-border);color:var(--vp-custom-block-details-text);background-color:var(--vp-custom-block-details-bg)}.custom-block.details a{color:var(--vp-c-brand-1)}.custom-block.details a:hover,.custom-block.details a:hover>code{color:var(--vp-c-brand-2)}.custom-block.details code{background-color:var(--vp-custom-block-details-code-bg)}.custom-block-title{font-weight:600}.custom-block p+p{margin:8px 0}.custom-block.details summary{margin:0 0 8px;font-weight:700;cursor:pointer;-webkit-user-select:none;user-select:none}.custom-block.details summary+p{margin:8px 0}.custom-block a{color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:2px;transition:opacity .25s}.custom-block a:hover{opacity:.75}.custom-block code{font-size:var(--vp-custom-block-code-font-size)}.custom-block.custom-block th,.custom-block.custom-block blockquote>p{font-size:var(--vp-custom-block-font-size);color:inherit}.dark .vp-code span{color:var(--shiki-dark, inherit)}html:not(.dark) .vp-code span{color:var(--shiki-light, inherit)}.vp-code-group{margin-top:16px}.vp-code-group .tabs{position:relative;display:flex;margin-right:-24px;margin-left:-24px;padding:0 12px;background-color:var(--vp-code-tab-bg);overflow-x:auto;overflow-y:hidden;box-shadow:inset 0 -1px var(--vp-code-tab-divider)}@media (min-width: 640px){.vp-code-group .tabs{margin-right:0;margin-left:0;border-radius:8px 8px 0 0}}.vp-code-group .tabs input{position:fixed;opacity:0;pointer-events:none}.vp-code-group .tabs label{position:relative;display:inline-block;border-bottom:1px solid transparent;padding:0 12px;line-height:48px;font-size:14px;font-weight:500;color:var(--vp-code-tab-text-color);white-space:nowrap;cursor:pointer;transition:color .25s}.vp-code-group .tabs label:after{position:absolute;right:8px;bottom:-1px;left:8px;z-index:1;height:2px;border-radius:2px;content:"";background-color:transparent;transition:background-color .25s}.vp-code-group label:hover{color:var(--vp-code-tab-hover-text-color)}.vp-code-group input:checked+label{color:var(--vp-code-tab-active-text-color)}.vp-code-group input:checked+label:after{background-color:var(--vp-code-tab-active-bar-color)}.vp-code-group div[class*=language-],.vp-block{display:none;margin-top:0!important;border-top-left-radius:0!important;border-top-right-radius:0!important}.vp-code-group div[class*=language-].active,.vp-block.active{display:block}.vp-block{padding:20px 24px}.vp-doc h1,.vp-doc h2,.vp-doc h3,.vp-doc h4,.vp-doc h5,.vp-doc h6{position:relative;font-weight:600;outline:none}.vp-doc h1{letter-spacing:-.02em;line-height:40px;font-size:28px}.vp-doc h2{margin:48px 0 16px;border-top:1px solid var(--vp-c-divider);padding-top:24px;letter-spacing:-.02em;line-height:32px;font-size:24px}.vp-doc h3{margin:32px 0 0;letter-spacing:-.01em;line-height:28px;font-size:20px}.vp-doc h4{margin:24px 0 0;letter-spacing:-.01em;line-height:24px;font-size:18px}.vp-doc .header-anchor{position:absolute;top:0;left:0;margin-left:-.87em;font-weight:500;-webkit-user-select:none;user-select:none;opacity:0;text-decoration:none;transition:color .25s,opacity .25s}.vp-doc .header-anchor:before{content:var(--vp-header-anchor-symbol)}.vp-doc h1:hover .header-anchor,.vp-doc h1 .header-anchor:focus,.vp-doc h2:hover .header-anchor,.vp-doc h2 .header-anchor:focus,.vp-doc h3:hover .header-anchor,.vp-doc h3 .header-anchor:focus,.vp-doc h4:hover .header-anchor,.vp-doc h4 .header-anchor:focus,.vp-doc h5:hover .header-anchor,.vp-doc h5 .header-anchor:focus,.vp-doc h6:hover .header-anchor,.vp-doc h6 .header-anchor:focus{opacity:1}@media (min-width: 768px){.vp-doc h1{letter-spacing:-.02em;line-height:40px;font-size:32px}}.vp-doc h2 .header-anchor{top:24px}.vp-doc p,.vp-doc summary{margin:16px 0}.vp-doc p{line-height:28px}.vp-doc blockquote{margin:16px 0;border-left:2px solid var(--vp-c-divider);padding-left:16px;transition:border-color .5s;color:var(--vp-c-text-2)}.vp-doc blockquote>p{margin:0;font-size:16px;transition:color .5s}.vp-doc a{font-weight:500;color:var(--vp-c-brand-1);text-decoration:underline;text-underline-offset:2px;transition:color .25s,opacity .25s}.vp-doc a:hover{color:var(--vp-c-brand-2)}.vp-doc strong{font-weight:600}.vp-doc ul,.vp-doc ol{padding-left:1.25rem;margin:16px 0}.vp-doc ul{list-style:disc}.vp-doc ol{list-style:decimal}.vp-doc li+li{margin-top:8px}.vp-doc li>ol,.vp-doc li>ul{margin:8px 0 0}.vp-doc table{display:block;border-collapse:collapse;margin:20px 0;overflow-x:auto}.vp-doc tr{background-color:var(--vp-c-bg);border-top:1px solid var(--vp-c-divider);transition:background-color .5s}.vp-doc tr:nth-child(2n){background-color:var(--vp-c-bg-soft)}.vp-doc th,.vp-doc td{border:1px solid var(--vp-c-divider);padding:8px 16px}.vp-doc th{text-align:left;font-size:14px;font-weight:600;color:var(--vp-c-text-2);background-color:var(--vp-c-bg-soft)}.vp-doc td{font-size:14px}.vp-doc hr{margin:16px 0;border:none;border-top:1px solid var(--vp-c-divider)}.vp-doc .custom-block{margin:16px 0}.vp-doc .custom-block p{margin:8px 0;line-height:24px}.vp-doc .custom-block p:first-child{margin:0}.vp-doc .custom-block div[class*=language-]{margin:8px 0;border-radius:8px}.vp-doc .custom-block div[class*=language-] code{font-weight:400;background-color:transparent}.vp-doc .custom-block .vp-code-group .tabs{margin:0;border-radius:8px 8px 0 0}.vp-doc :not(pre,h1,h2,h3,h4,h5,h6)>code{font-size:var(--vp-code-font-size);color:var(--vp-code-color)}.vp-doc :not(pre)>code{border-radius:4px;padding:3px 6px;background-color:var(--vp-code-bg);transition:color .25s,background-color .5s}.vp-doc a>code{color:var(--vp-code-link-color)}.vp-doc a:hover>code{color:var(--vp-code-link-hover-color)}.vp-doc h1>code,.vp-doc h2>code,.vp-doc h3>code,.vp-doc h4>code{font-size:.9em}.vp-doc div[class*=language-],.vp-block{position:relative;margin:16px -24px;background-color:var(--vp-code-block-bg);overflow-x:auto;transition:background-color .5s}@media (min-width: 640px){.vp-doc div[class*=language-],.vp-block{border-radius:8px;margin:16px 0}}@media (max-width: 639px){.vp-doc li div[class*=language-]{border-radius:8px 0 0 8px}}.vp-doc div[class*=language-]+div[class*=language-],.vp-doc div[class$=-api]+div[class*=language-],.vp-doc div[class*=language-]+div[class$=-api]>div[class*=language-]{margin-top:-8px}.vp-doc [class*=language-] pre,.vp-doc [class*=language-] code{direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}.vp-doc [class*=language-] pre{position:relative;z-index:1;margin:0;padding:20px 0;background:transparent;overflow-x:auto}.vp-doc [class*=language-] code{display:block;padding:0 24px;width:fit-content;min-width:100%;line-height:var(--vp-code-line-height);font-size:var(--vp-code-font-size);color:var(--vp-code-block-color);transition:color .5s}.vp-doc [class*=language-] code .highlighted{background-color:var(--vp-code-line-highlight-color);transition:background-color .5s;margin:0 -24px;padding:0 24px;width:calc(100% + 48px);display:inline-block}.vp-doc [class*=language-] code .highlighted.error{background-color:var(--vp-code-line-error-color)}.vp-doc [class*=language-] code .highlighted.warning{background-color:var(--vp-code-line-warning-color)}.vp-doc [class*=language-] code .diff{transition:background-color .5s;margin:0 -24px;padding:0 24px;width:calc(100% + 48px);display:inline-block}.vp-doc [class*=language-] code .diff:before{position:absolute;left:10px}.vp-doc [class*=language-] .has-focused-lines .line:not(.has-focus){filter:blur(.095rem);opacity:.4;transition:filter .35s,opacity .35s}.vp-doc [class*=language-] .has-focused-lines .line:not(.has-focus){opacity:.7;transition:filter .35s,opacity .35s}.vp-doc [class*=language-]:hover .has-focused-lines .line:not(.has-focus){filter:blur(0);opacity:1}.vp-doc [class*=language-] code .diff.remove{background-color:var(--vp-code-line-diff-remove-color);opacity:.7}.vp-doc [class*=language-] code .diff.remove:before{content:"-";color:var(--vp-code-line-diff-remove-symbol-color)}.vp-doc [class*=language-] code .diff.add{background-color:var(--vp-code-line-diff-add-color)}.vp-doc [class*=language-] code .diff.add:before{content:"+";color:var(--vp-code-line-diff-add-symbol-color)}.vp-doc div[class*=language-].line-numbers-mode{padding-left:32px}.vp-doc .line-numbers-wrapper{position:absolute;top:0;bottom:0;left:0;z-index:3;border-right:1px solid var(--vp-code-block-divider-color);padding-top:20px;width:32px;text-align:center;font-family:var(--vp-font-family-mono);line-height:var(--vp-code-line-height);font-size:var(--vp-code-font-size);color:var(--vp-code-line-number-color);transition:border-color .5s,color .5s}.vp-doc [class*=language-]>button.copy{direction:ltr;position:absolute;top:12px;right:12px;z-index:3;border:1px solid var(--vp-code-copy-code-border-color);border-radius:4px;width:40px;height:40px;background-color:var(--vp-code-copy-code-bg);opacity:0;cursor:pointer;background-image:var(--vp-icon-copy);background-position:50%;background-size:20px;background-repeat:no-repeat;transition:border-color .25s,background-color .25s,opacity .25s}.vp-doc [class*=language-]:hover>button.copy,.vp-doc [class*=language-]>button.copy:focus{opacity:1}.vp-doc [class*=language-]>button.copy:hover,.vp-doc [class*=language-]>button.copy.copied{border-color:var(--vp-code-copy-code-hover-border-color);background-color:var(--vp-code-copy-code-hover-bg)}.vp-doc [class*=language-]>button.copy.copied,.vp-doc [class*=language-]>button.copy:hover.copied{border-radius:0 4px 4px 0;background-color:var(--vp-code-copy-code-hover-bg);background-image:var(--vp-icon-copied)}.vp-doc [class*=language-]>button.copy.copied:before,.vp-doc [class*=language-]>button.copy:hover.copied:before{position:relative;top:-1px;transform:translate(calc(-100% - 1px));display:flex;justify-content:center;align-items:center;border:1px solid var(--vp-code-copy-code-hover-border-color);border-right:0;border-radius:4px 0 0 4px;padding:0 10px;width:fit-content;height:40px;text-align:center;font-size:12px;font-weight:500;color:var(--vp-code-copy-code-active-text);background-color:var(--vp-code-copy-code-hover-bg);white-space:nowrap;content:var(--vp-code-copy-copied-text-content)}.vp-doc [class*=language-]>span.lang{position:absolute;top:2px;right:8px;z-index:2;font-size:12px;font-weight:500;color:var(--vp-code-lang-color);transition:color .4s,opacity .4s}.vp-doc [class*=language-]:hover>button.copy+span.lang,.vp-doc [class*=language-]>button.copy:focus+span.lang{opacity:0}.vp-doc .VPTeamMembers{margin-top:24px}.vp-doc .VPTeamMembers.small.count-1 .container{margin:0!important;max-width:calc((100% - 24px)/2)!important}.vp-doc .VPTeamMembers.small.count-2 .container,.vp-doc .VPTeamMembers.small.count-3 .container{max-width:100%!important}.vp-doc .VPTeamMembers.medium.count-1 .container{margin:0!important;max-width:calc((100% - 24px)/2)!important}:is(.vp-external-link-icon,.vp-doc a[href*="://"],.vp-doc a[target=_blank]):not(.no-icon):after{display:inline-block;margin-top:-1px;margin-left:4px;width:11px;height:11px;background:currentColor;color:var(--vp-c-text-3);flex-shrink:0;--icon: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath d='M0 0h24v24H0V0z' fill='none' /%3E%3Cpath d='M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z' /%3E%3C/svg%3E");-webkit-mask-image:var(--icon);mask-image:var(--icon)}.vp-external-link-icon:after{content:""}.external-link-icon-enabled :is(.vp-doc a[href*="://"],.vp-doc a[target=_blank]):after{content:"";color:currentColor}.vp-sponsor{border-radius:16px;overflow:hidden}.vp-sponsor.aside{border-radius:12px}.vp-sponsor-section+.vp-sponsor-section{margin-top:4px}.vp-sponsor-tier{margin:0 0 4px!important;text-align:center;letter-spacing:1px!important;line-height:24px;width:100%;font-weight:600;color:var(--vp-c-text-2);background-color:var(--vp-c-bg-soft)}.vp-sponsor.normal .vp-sponsor-tier{padding:13px 0 11px;font-size:14px}.vp-sponsor.aside .vp-sponsor-tier{padding:9px 0 7px;font-size:12px}.vp-sponsor-grid+.vp-sponsor-tier{margin-top:4px}.vp-sponsor-grid{display:flex;flex-wrap:wrap;gap:4px}.vp-sponsor-grid.xmini .vp-sponsor-grid-link{height:64px}.vp-sponsor-grid.xmini .vp-sponsor-grid-image{max-width:64px;max-height:22px}.vp-sponsor-grid.mini .vp-sponsor-grid-link{height:72px}.vp-sponsor-grid.mini .vp-sponsor-grid-image{max-width:96px;max-height:24px}.vp-sponsor-grid.small .vp-sponsor-grid-link{height:96px}.vp-sponsor-grid.small .vp-sponsor-grid-image{max-width:96px;max-height:24px}.vp-sponsor-grid.medium .vp-sponsor-grid-link{height:112px}.vp-sponsor-grid.medium .vp-sponsor-grid-image{max-width:120px;max-height:36px}.vp-sponsor-grid.big .vp-sponsor-grid-link{height:184px}.vp-sponsor-grid.big .vp-sponsor-grid-image{max-width:192px;max-height:56px}.vp-sponsor-grid[data-vp-grid="2"] .vp-sponsor-grid-item{width:calc((100% - 4px)/2)}.vp-sponsor-grid[data-vp-grid="3"] .vp-sponsor-grid-item{width:calc((100% - 4px * 2) / 3)}.vp-sponsor-grid[data-vp-grid="4"] .vp-sponsor-grid-item{width:calc((100% - 12px)/4)}.vp-sponsor-grid[data-vp-grid="5"] .vp-sponsor-grid-item{width:calc((100% - 16px)/5)}.vp-sponsor-grid[data-vp-grid="6"] .vp-sponsor-grid-item{width:calc((100% - 4px * 5) / 6)}.vp-sponsor-grid-item{flex-shrink:0;width:100%;background-color:var(--vp-c-bg-soft);transition:background-color .25s}.vp-sponsor-grid-item:hover{background-color:var(--vp-c-default-soft)}.vp-sponsor-grid-item:hover .vp-sponsor-grid-image{filter:grayscale(0) invert(0)}.vp-sponsor-grid-item.empty:hover{background-color:var(--vp-c-bg-soft)}.dark .vp-sponsor-grid-item:hover{background-color:var(--vp-c-white)}.dark .vp-sponsor-grid-item.empty:hover{background-color:var(--vp-c-bg-soft)}.vp-sponsor-grid-link{display:flex}.vp-sponsor-grid-box{display:flex;justify-content:center;align-items:center;width:100%}.vp-sponsor-grid-image{max-width:100%;filter:grayscale(1);transition:filter .25s}.dark .vp-sponsor-grid-image{filter:grayscale(1) invert(1)}.VPBadge{display:inline-block;margin-left:2px;border:1px solid transparent;border-radius:12px;padding:0 10px;line-height:22px;font-size:12px;font-weight:500;transform:translateY(-2px)}.VPBadge.small{padding:0 6px;line-height:18px;font-size:10px;transform:translateY(-8px)}.VPDocFooter .VPBadge{display:none}.vp-doc h1>.VPBadge{margin-top:4px;vertical-align:top}.vp-doc h2>.VPBadge{margin-top:3px;padding:0 8px;vertical-align:top}.vp-doc h3>.VPBadge{vertical-align:middle}.vp-doc h4>.VPBadge,.vp-doc h5>.VPBadge,.vp-doc h6>.VPBadge{vertical-align:middle;line-height:18px}.VPBadge.info{border-color:var(--vp-badge-info-border);color:var(--vp-badge-info-text);background-color:var(--vp-badge-info-bg)}.VPBadge.tip{border-color:var(--vp-badge-tip-border);color:var(--vp-badge-tip-text);background-color:var(--vp-badge-tip-bg)}.VPBadge.warning{border-color:var(--vp-badge-warning-border);color:var(--vp-badge-warning-text);background-color:var(--vp-badge-warning-bg)}.VPBadge.danger{border-color:var(--vp-badge-danger-border);color:var(--vp-badge-danger-text);background-color:var(--vp-badge-danger-bg)}.VPBackdrop[data-v-f3ebc82c]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--vp-z-index-backdrop);background:var(--vp-backdrop-bg-color);transition:opacity .5s}.VPBackdrop.fade-enter-from[data-v-f3ebc82c],.VPBackdrop.fade-leave-to[data-v-f3ebc82c]{opacity:0}.VPBackdrop.fade-leave-active[data-v-f3ebc82c]{transition-duration:.25s}@media (min-width: 1280px){.VPBackdrop[data-v-f3ebc82c]{display:none}}.NotFound[data-v-b277c33e]{padding:64px 24px 96px;text-align:center}@media (min-width: 768px){.NotFound[data-v-b277c33e]{padding:96px 32px 168px}}.code[data-v-b277c33e]{line-height:64px;font-size:64px;font-weight:600}.title[data-v-b277c33e]{padding-top:12px;letter-spacing:2px;line-height:20px;font-size:20px;font-weight:700}.divider[data-v-b277c33e]{margin:24px auto 18px;width:64px;height:1px;background-color:var(--vp-c-divider)}.quote[data-v-b277c33e]{margin:0 auto;max-width:256px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.action[data-v-b277c33e]{padding-top:20px}.link[data-v-b277c33e]{display:inline-block;border:1px solid var(--vp-c-brand-1);border-radius:16px;padding:3px 16px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:border-color .25s,color .25s}.link[data-v-b277c33e]:hover{border-color:var(--vp-c-brand-2);color:var(--vp-c-brand-2)}.root[data-v-3b549ecf]{position:relative;z-index:1}.nested[data-v-3b549ecf]{padding-right:16px;padding-left:16px}.outline-link[data-v-3b549ecf]{display:block;line-height:32px;font-size:14px;font-weight:400;color:var(--vp-c-text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .5s}.outline-link[data-v-3b549ecf]:hover,.outline-link.active[data-v-3b549ecf]{color:var(--vp-c-text-1);transition:color .25s}.outline-link.nested[data-v-3b549ecf]{padding-left:13px}.VPDocAsideOutline[data-v-a8a0b7d3]{display:none}.VPDocAsideOutline.has-outline[data-v-a8a0b7d3]{display:block}.content[data-v-a8a0b7d3]{position:relative;border-left:1px solid var(--vp-c-divider);padding-left:16px;font-size:13px;font-weight:500}.outline-marker[data-v-a8a0b7d3]{position:absolute;top:32px;left:-1px;z-index:0;opacity:0;width:2px;border-radius:2px;height:18px;background-color:var(--vp-c-brand-1);transition:top .25s cubic-bezier(0,1,.5,1),background-color .5s,opacity .25s}.outline-title[data-v-a8a0b7d3]{line-height:32px;font-size:14px;font-weight:600}.VPDocAside[data-v-ede31528]{display:flex;flex-direction:column;flex-grow:1}.spacer[data-v-ede31528]{flex-grow:1}.VPDocAside[data-v-ede31528] .spacer+.VPDocAsideSponsors,.VPDocAside[data-v-ede31528] .spacer+.VPDocAsideCarbonAds{margin-top:24px}.VPDocAside[data-v-ede31528] .VPDocAsideSponsors+.VPDocAsideCarbonAds{margin-top:16px}.VPLastUpdated[data-v-76022e04]{line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}@media (min-width: 640px){.VPLastUpdated[data-v-76022e04]{line-height:32px;font-size:14px;font-weight:500}}.VPDocFooter[data-v-449c00c2]{margin-top:64px}.edit-info[data-v-449c00c2]{padding-bottom:18px}@media (min-width: 640px){.edit-info[data-v-449c00c2]{display:flex;justify-content:space-between;align-items:center;padding-bottom:14px}}.edit-link-button[data-v-449c00c2]{display:flex;align-items:center;border:0;line-height:32px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:color .25s}.edit-link-button[data-v-449c00c2]:hover{color:var(--vp-c-brand-2)}.edit-link-icon[data-v-449c00c2]{margin-right:8px}.prev-next[data-v-449c00c2]{border-top:1px solid var(--vp-c-divider);padding-top:24px;display:grid;grid-row-gap:8px}@media (min-width: 640px){.prev-next[data-v-449c00c2]{grid-template-columns:repeat(2,1fr);grid-column-gap:16px}}.pager-link[data-v-449c00c2]{display:block;border:1px solid var(--vp-c-divider);border-radius:8px;padding:11px 16px 13px;width:100%;height:100%;transition:border-color .25s}.pager-link[data-v-449c00c2]:hover{border-color:var(--vp-c-brand-1)}.pager-link.next[data-v-449c00c2]{margin-left:auto;text-align:right}.desc[data-v-449c00c2]{display:block;line-height:20px;font-size:12px;font-weight:500;color:var(--vp-c-text-2)}.title[data-v-449c00c2]{display:block;line-height:20px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:color .25s}.VPDoc[data-v-943ae9ad]{padding:32px 24px 96px;width:100%}@media (min-width: 768px){.VPDoc[data-v-943ae9ad]{padding:48px 32px 128px}}@media (min-width: 960px){.VPDoc[data-v-943ae9ad]{padding:48px 32px 0}.VPDoc:not(.has-sidebar) .container[data-v-943ae9ad]{display:flex;justify-content:center;max-width:992px}.VPDoc:not(.has-sidebar) .content[data-v-943ae9ad]{max-width:752px}}@media (min-width: 1280px){.VPDoc .container[data-v-943ae9ad]{display:flex;justify-content:center}.VPDoc .aside[data-v-943ae9ad]{display:block}}@media (min-width: 1440px){.VPDoc:not(.has-sidebar) .content[data-v-943ae9ad]{max-width:784px}.VPDoc:not(.has-sidebar) .container[data-v-943ae9ad]{max-width:1104px}}.container[data-v-943ae9ad]{margin:0 auto;width:100%}.aside[data-v-943ae9ad]{position:relative;display:none;order:2;flex-grow:1;padding-left:32px;width:100%;max-width:256px}.left-aside[data-v-943ae9ad]{order:1;padding-left:unset;padding-right:32px}.aside-container[data-v-943ae9ad]{position:fixed;top:0;padding-top:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + var(--vp-doc-top-height, 0px) + 48px);width:224px;height:100vh;overflow-x:hidden;overflow-y:auto;scrollbar-width:none}.aside-container[data-v-943ae9ad]::-webkit-scrollbar{display:none}.aside-curtain[data-v-943ae9ad]{position:fixed;bottom:0;z-index:10;width:224px;height:32px;background:linear-gradient(transparent,var(--vp-c-bg) 70%)}.aside-content[data-v-943ae9ad]{display:flex;flex-direction:column;min-height:calc(100vh - (var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 48px));padding-bottom:32px}.content[data-v-943ae9ad]{position:relative;margin:0 auto;width:100%}@media (min-width: 960px){.content[data-v-943ae9ad]{padding:0 32px 128px}}@media (min-width: 1280px){.content[data-v-943ae9ad]{order:1;margin:0;min-width:640px}}.content-container[data-v-943ae9ad]{margin:0 auto}.VPDoc.has-aside .content-container[data-v-943ae9ad]{max-width:688px}.VPButton[data-v-6a1dd9c6]{display:inline-block;border:1px solid transparent;text-align:center;font-weight:600;white-space:nowrap;transition:color .25s,border-color .25s,background-color .25s}.VPButton[data-v-6a1dd9c6]:active{transition:color .1s,border-color .1s,background-color .1s}.VPButton.medium[data-v-6a1dd9c6]{border-radius:20px;padding:0 20px;line-height:38px;font-size:14px}.VPButton.big[data-v-6a1dd9c6]{border-radius:24px;padding:0 24px;line-height:46px;font-size:16px}.VPButton.brand[data-v-6a1dd9c6]{border-color:var(--vp-button-brand-border);color:var(--vp-button-brand-text);background-color:var(--vp-button-brand-bg)}.VPButton.brand[data-v-6a1dd9c6]:hover{border-color:var(--vp-button-brand-hover-border);color:var(--vp-button-brand-hover-text);background-color:var(--vp-button-brand-hover-bg)}.VPButton.brand[data-v-6a1dd9c6]:active{border-color:var(--vp-button-brand-active-border);color:var(--vp-button-brand-active-text);background-color:var(--vp-button-brand-active-bg)}.VPButton.alt[data-v-6a1dd9c6]{border-color:var(--vp-button-alt-border);color:var(--vp-button-alt-text);background-color:var(--vp-button-alt-bg)}.VPButton.alt[data-v-6a1dd9c6]:hover{border-color:var(--vp-button-alt-hover-border);color:var(--vp-button-alt-hover-text);background-color:var(--vp-button-alt-hover-bg)}.VPButton.alt[data-v-6a1dd9c6]:active{border-color:var(--vp-button-alt-active-border);color:var(--vp-button-alt-active-text);background-color:var(--vp-button-alt-active-bg)}.VPButton.sponsor[data-v-6a1dd9c6]{border-color:var(--vp-button-sponsor-border);color:var(--vp-button-sponsor-text);background-color:var(--vp-button-sponsor-bg)}.VPButton.sponsor[data-v-6a1dd9c6]:hover{border-color:var(--vp-button-sponsor-hover-border);color:var(--vp-button-sponsor-hover-text);background-color:var(--vp-button-sponsor-hover-bg)}.VPButton.sponsor[data-v-6a1dd9c6]:active{border-color:var(--vp-button-sponsor-active-border);color:var(--vp-button-sponsor-active-text);background-color:var(--vp-button-sponsor-active-bg)}html:not(.dark) .VPImage.dark[data-v-305cd967]{display:none}.dark .VPImage.light[data-v-305cd967]{display:none}.VPHero[data-v-4634711c]{margin-top:calc((var(--vp-nav-height) + var(--vp-layout-top-height, 0px)) * -1);padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 48px) 24px 48px}@media (min-width: 640px){.VPHero[data-v-4634711c]{padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 80px) 48px 64px}}@media (min-width: 960px){.VPHero[data-v-4634711c]{padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 80px) 64px 64px}}.container[data-v-4634711c]{display:flex;flex-direction:column;margin:0 auto;max-width:1152px}@media (min-width: 960px){.container[data-v-4634711c]{flex-direction:row}}.main[data-v-4634711c]{position:relative;z-index:10;order:2;flex-grow:1;flex-shrink:0}.VPHero.has-image .container[data-v-4634711c]{text-align:center}@media (min-width: 960px){.VPHero.has-image .container[data-v-4634711c]{text-align:left}}@media (min-width: 960px){.main[data-v-4634711c]{order:1;width:calc((100% / 3) * 2)}.VPHero.has-image .main[data-v-4634711c]{max-width:592px}}.name[data-v-4634711c],.text[data-v-4634711c]{max-width:392px;letter-spacing:-.4px;line-height:40px;font-size:32px;font-weight:700;white-space:pre-wrap}.VPHero.has-image .name[data-v-4634711c],.VPHero.has-image .text[data-v-4634711c]{margin:0 auto}.name[data-v-4634711c]{color:var(--vp-home-hero-name-color)}.clip[data-v-4634711c]{background:var(--vp-home-hero-name-background);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:var(--vp-home-hero-name-color)}@media (min-width: 640px){.name[data-v-4634711c],.text[data-v-4634711c]{max-width:576px;line-height:56px;font-size:48px}}@media (min-width: 960px){.name[data-v-4634711c],.text[data-v-4634711c]{line-height:64px;font-size:56px}.VPHero.has-image .name[data-v-4634711c],.VPHero.has-image .text[data-v-4634711c]{margin:0}}.tagline[data-v-4634711c]{padding-top:8px;max-width:392px;line-height:28px;font-size:18px;font-weight:500;white-space:pre-wrap;color:var(--vp-c-text-2)}.VPHero.has-image .tagline[data-v-4634711c]{margin:0 auto}@media (min-width: 640px){.tagline[data-v-4634711c]{padding-top:12px;max-width:576px;line-height:32px;font-size:20px}}@media (min-width: 960px){.tagline[data-v-4634711c]{line-height:36px;font-size:24px}.VPHero.has-image .tagline[data-v-4634711c]{margin:0}}.actions[data-v-4634711c]{display:flex;flex-wrap:wrap;margin:-6px;padding-top:24px}.VPHero.has-image .actions[data-v-4634711c]{justify-content:center}@media (min-width: 640px){.actions[data-v-4634711c]{padding-top:32px}}@media (min-width: 960px){.VPHero.has-image .actions[data-v-4634711c]{justify-content:flex-start}}.action[data-v-4634711c]{flex-shrink:0;padding:6px}.image[data-v-4634711c]{order:1;margin:-76px -24px -48px}@media (min-width: 640px){.image[data-v-4634711c]{margin:-108px -24px -48px}}@media (min-width: 960px){.image[data-v-4634711c]{flex-grow:1;order:2;margin:0;min-height:100%}}.image-container[data-v-4634711c]{position:relative;margin:0 auto;width:320px;height:320px}@media (min-width: 640px){.image-container[data-v-4634711c]{width:392px;height:392px}}@media (min-width: 960px){.image-container[data-v-4634711c]{display:flex;justify-content:center;align-items:center;width:100%;height:100%;transform:translate(-32px,-32px)}}.image-bg[data-v-4634711c]{position:absolute;top:50%;left:50%;border-radius:50%;width:192px;height:192px;background-image:var(--vp-home-hero-image-background-image);filter:var(--vp-home-hero-image-filter);transform:translate(-50%,-50%)}@media (min-width: 640px){.image-bg[data-v-4634711c]{width:256px;height:256px}}@media (min-width: 960px){.image-bg[data-v-4634711c]{width:320px;height:320px}}[data-v-4634711c] .image-src{position:absolute;top:50%;left:50%;max-width:192px;max-height:192px;transform:translate(-50%,-50%)}@media (min-width: 640px){[data-v-4634711c] .image-src{max-width:256px;max-height:256px}}@media (min-width: 960px){[data-v-4634711c] .image-src{max-width:320px;max-height:320px}}.VPFeature[data-v-5322e115]{display:block;border:1px solid var(--vp-c-bg-soft);border-radius:12px;height:100%;background-color:var(--vp-c-bg-soft);transition:border-color .25s,background-color .25s}.VPFeature.link[data-v-5322e115]:hover{border-color:var(--vp-c-brand-1)}.box[data-v-5322e115]{display:flex;flex-direction:column;padding:24px;height:100%}.box[data-v-5322e115]>.VPImage{margin-bottom:20px}.icon[data-v-5322e115]{display:flex;justify-content:center;align-items:center;margin-bottom:20px;border-radius:6px;background-color:var(--vp-c-default-soft);width:48px;height:48px;font-size:24px;transition:background-color .25s}.title[data-v-5322e115]{line-height:24px;font-size:16px;font-weight:600}.details[data-v-5322e115]{flex-grow:1;padding-top:8px;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.link-text[data-v-5322e115]{padding-top:8px}.link-text-value[data-v-5322e115]{display:flex;align-items:center;font-size:14px;font-weight:500;color:var(--vp-c-brand-1)}.link-text-icon[data-v-5322e115]{margin-left:6px}.VPFeatures[data-v-f8663c51]{position:relative;padding:0 24px}@media (min-width: 640px){.VPFeatures[data-v-f8663c51]{padding:0 48px}}@media (min-width: 960px){.VPFeatures[data-v-f8663c51]{padding:0 64px}}.container[data-v-f8663c51]{margin:0 auto;max-width:1152px}.items[data-v-f8663c51]{display:flex;flex-wrap:wrap;margin:-8px}.item[data-v-f8663c51]{padding:8px;width:100%}@media (min-width: 640px){.item.grid-2[data-v-f8663c51],.item.grid-4[data-v-f8663c51],.item.grid-6[data-v-f8663c51]{width:50%}}@media (min-width: 768px){.item.grid-2[data-v-f8663c51],.item.grid-4[data-v-f8663c51]{width:50%}.item.grid-3[data-v-f8663c51],.item.grid-6[data-v-f8663c51]{width:calc(100% / 3)}}@media (min-width: 960px){.item.grid-4[data-v-f8663c51]{width:25%}}.container[data-v-8c209e8c]{margin:auto;width:100%;max-width:1280px;padding:0 24px}@media (min-width: 640px){.container[data-v-8c209e8c]{padding:0 48px}}@media (min-width: 960px){.container[data-v-8c209e8c]{width:100%;padding:0 64px}}.vp-doc[data-v-8c209e8c] .VPHomeSponsors,.vp-doc[data-v-8c209e8c] .VPTeamPage{margin-left:var(--vp-offset, calc(50% - 50vw) );margin-right:var(--vp-offset, calc(50% - 50vw) )}.vp-doc[data-v-8c209e8c] .VPHomeSponsors h2{border-top:none;letter-spacing:normal}.vp-doc[data-v-8c209e8c] .VPHomeSponsors a,.vp-doc[data-v-8c209e8c] .VPTeamPage a{text-decoration:none}.VPHome[data-v-a631fb65]{margin-bottom:96px}@media (min-width: 768px){.VPHome[data-v-a631fb65]{margin-bottom:128px}}.VPContent[data-v-e102a39a]{flex-grow:1;flex-shrink:0;margin:var(--vp-layout-top-height, 0px) auto 0;width:100%}.VPContent.is-home[data-v-e102a39a]{width:100%;max-width:100%}.VPContent.has-sidebar[data-v-e102a39a]{margin:0}@media (min-width: 960px){.VPContent[data-v-e102a39a]{padding-top:var(--vp-nav-height)}.VPContent.has-sidebar[data-v-e102a39a]{margin:var(--vp-layout-top-height, 0px) 0 0;padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPContent.has-sidebar[data-v-e102a39a]{padding-right:calc((100vw - var(--vp-layout-max-width)) / 2);padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.VPFooter[data-v-2123caca]{position:relative;z-index:var(--vp-z-index-footer);border-top:1px solid var(--vp-c-gutter);padding:32px 24px;background-color:var(--vp-c-bg)}.VPFooter.has-sidebar[data-v-2123caca]{display:none}.VPFooter[data-v-2123caca] a{text-decoration-line:underline;text-underline-offset:2px;transition:color .25s}.VPFooter[data-v-2123caca] a:hover{color:var(--vp-c-text-1)}@media (min-width: 768px){.VPFooter[data-v-2123caca]{padding:32px}}.container[data-v-2123caca]{margin:0 auto;max-width:var(--vp-layout-max-width);text-align:center}.message[data-v-2123caca],.copyright[data-v-2123caca]{line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.VPLocalNavOutlineDropdown[data-v-1316c04b]{padding:12px 20px 11px}@media (min-width: 960px){.VPLocalNavOutlineDropdown[data-v-1316c04b]{padding:12px 36px 11px}}.VPLocalNavOutlineDropdown button[data-v-1316c04b]{display:block;font-size:12px;font-weight:500;line-height:24px;color:var(--vp-c-text-2);transition:color .5s;position:relative}.VPLocalNavOutlineDropdown button[data-v-1316c04b]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPLocalNavOutlineDropdown button.open[data-v-1316c04b]{color:var(--vp-c-text-1)}.icon[data-v-1316c04b]{display:inline-block;vertical-align:middle;margin-left:2px;font-size:14px;transform:rotate(0);transition:transform .25s}@media (min-width: 960px){.VPLocalNavOutlineDropdown button[data-v-1316c04b]{font-size:14px}.icon[data-v-1316c04b]{font-size:16px}}.open>.icon[data-v-1316c04b]{transform:rotate(90deg)}.items[data-v-1316c04b]{position:absolute;top:40px;right:16px;left:16px;display:grid;gap:1px;border:1px solid var(--vp-c-border);border-radius:8px;background-color:var(--vp-c-gutter);max-height:calc(var(--vp-vh, 100vh) - 86px);overflow:hidden auto;box-shadow:var(--vp-shadow-3)}@media (min-width: 960px){.items[data-v-1316c04b]{right:auto;left:calc(var(--vp-sidebar-width) + 32px);width:320px}}.header[data-v-1316c04b]{background-color:var(--vp-c-bg-soft)}.top-link[data-v-1316c04b]{display:block;padding:0 16px;line-height:48px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1)}.outline[data-v-1316c04b]{padding:8px 0;background-color:var(--vp-c-bg-soft)}.flyout-enter-active[data-v-1316c04b]{transition:all .2s ease-out}.flyout-leave-active[data-v-1316c04b]{transition:all .15s ease-in}.flyout-enter-from[data-v-1316c04b],.flyout-leave-to[data-v-1316c04b]{opacity:0;transform:translateY(-16px)}.VPLocalNav[data-v-b292eb09]{position:sticky;top:0;left:0;z-index:var(--vp-z-index-local-nav);border-bottom:1px solid var(--vp-c-gutter);padding-top:var(--vp-layout-top-height, 0px);width:100%;background-color:var(--vp-local-nav-bg-color)}.VPLocalNav.fixed[data-v-b292eb09]{position:fixed}@media (min-width: 960px){.VPLocalNav[data-v-b292eb09]{top:var(--vp-nav-height)}.VPLocalNav.has-sidebar[data-v-b292eb09]{padding-left:var(--vp-sidebar-width)}.VPLocalNav.empty[data-v-b292eb09]{display:none}}@media (min-width: 1280px){.VPLocalNav[data-v-b292eb09]{display:none}}@media (min-width: 1440px){.VPLocalNav.has-sidebar[data-v-b292eb09]{padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.container[data-v-b292eb09]{display:flex;justify-content:space-between;align-items:center}.menu[data-v-b292eb09]{display:flex;align-items:center;padding:12px 24px 11px;line-height:24px;font-size:12px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.menu[data-v-b292eb09]:hover{color:var(--vp-c-text-1);transition:color .25s}@media (min-width: 768px){.menu[data-v-b292eb09]{padding:0 32px}}@media (min-width: 960px){.menu[data-v-b292eb09]{display:none}}.menu-icon[data-v-b292eb09]{margin-right:8px;font-size:14px}.VPOutlineDropdown[data-v-b292eb09]{padding:12px 24px 11px}@media (min-width: 768px){.VPOutlineDropdown[data-v-b292eb09]{padding:12px 32px 11px}}.VPSwitch[data-v-eb4d77a9]{position:relative;border-radius:11px;display:block;width:40px;height:22px;flex-shrink:0;border:1px solid var(--vp-input-border-color);background-color:var(--vp-input-switch-bg-color);transition:border-color .25s!important}.VPSwitch[data-v-eb4d77a9]:hover{border-color:var(--vp-c-brand-1)}.check[data-v-eb4d77a9]{position:absolute;top:1px;left:1px;width:18px;height:18px;border-radius:50%;background-color:var(--vp-c-neutral-inverse);box-shadow:var(--vp-shadow-1);transition:transform .25s!important}.icon[data-v-eb4d77a9]{position:relative;display:block;width:18px;height:18px;border-radius:50%;overflow:hidden}.icon[data-v-eb4d77a9] [class^=vpi-]{position:absolute;top:3px;left:3px;width:12px;height:12px;color:var(--vp-c-text-2)}.dark .icon[data-v-eb4d77a9] [class^=vpi-]{color:var(--vp-c-text-1);transition:opacity .25s!important}.sun[data-v-03c43402]{opacity:1}.moon[data-v-03c43402],.dark .sun[data-v-03c43402]{opacity:0}.dark .moon[data-v-03c43402]{opacity:1}.dark .VPSwitchAppearance[data-v-03c43402] .check{transform:translate(18px)}.VPNavBarAppearance[data-v-641801a7]{display:none}@media (min-width: 1280px){.VPNavBarAppearance[data-v-641801a7]{display:flex;align-items:center}}.VPMenuGroup+.VPMenuLink[data-v-7a049d2f]{margin:12px -12px 0;border-top:1px solid var(--vp-c-divider);padding:12px 12px 0}.link[data-v-7a049d2f]{display:block;border-radius:6px;padding:0 12px;line-height:32px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);white-space:nowrap;transition:background-color .25s,color .25s}.link[data-v-7a049d2f]:hover{color:var(--vp-c-brand-1);background-color:var(--vp-c-default-soft)}.link.active[data-v-7a049d2f]{color:var(--vp-c-brand-1)}.VPMenuGroup[data-v-1a01ae8e]{margin:12px -12px 0;border-top:1px solid var(--vp-c-divider);padding:12px 12px 0}.VPMenuGroup[data-v-1a01ae8e]:first-child{margin-top:0;border-top:0;padding-top:0}.VPMenuGroup+.VPMenuGroup[data-v-1a01ae8e]{margin-top:12px;border-top:1px solid var(--vp-c-divider)}.title[data-v-1a01ae8e]{padding:0 12px;line-height:32px;font-size:14px;font-weight:600;color:var(--vp-c-text-2);white-space:nowrap;transition:color .25s}.VPMenu[data-v-22eb0f02]{border-radius:12px;padding:12px;min-width:128px;border:1px solid var(--vp-c-divider);background-color:var(--vp-c-bg-elv);box-shadow:var(--vp-shadow-3);transition:background-color .5s;max-height:calc(100vh - var(--vp-nav-height));overflow-y:auto}.VPMenu[data-v-22eb0f02] .group{margin:0 -12px;padding:0 12px 12px}.VPMenu[data-v-22eb0f02] .group+.group{border-top:1px solid var(--vp-c-divider);padding:11px 12px 12px}.VPMenu[data-v-22eb0f02] .group:last-child{padding-bottom:0}.VPMenu[data-v-22eb0f02] .group+.item{border-top:1px solid var(--vp-c-divider);padding:11px 16px 0}.VPMenu[data-v-22eb0f02] .item{padding:0 16px;white-space:nowrap}.VPMenu[data-v-22eb0f02] .label{flex-grow:1;line-height:28px;font-size:12px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.VPMenu[data-v-22eb0f02] .action{padding-left:24px}.VPFlyout[data-v-adf00cd3]{position:relative}.VPFlyout[data-v-adf00cd3]:hover{color:var(--vp-c-brand-1);transition:color .25s}.VPFlyout:hover .text[data-v-adf00cd3]{color:var(--vp-c-text-2)}.VPFlyout:hover .icon[data-v-adf00cd3]{fill:var(--vp-c-text-2)}.VPFlyout.active .text[data-v-adf00cd3]{color:var(--vp-c-brand-1)}.VPFlyout.active:hover .text[data-v-adf00cd3]{color:var(--vp-c-brand-2)}.VPFlyout:hover .menu[data-v-adf00cd3],.button[aria-expanded=true]+.menu[data-v-adf00cd3]{opacity:1;visibility:visible;transform:translateY(0)}.button[aria-expanded=false]+.menu[data-v-adf00cd3]{opacity:0;visibility:hidden;transform:translateY(0)}.button[data-v-adf00cd3]{display:flex;align-items:center;padding:0 12px;height:var(--vp-nav-height);color:var(--vp-c-text-1);transition:color .5s}.text[data-v-adf00cd3]{display:flex;align-items:center;line-height:var(--vp-nav-height);font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.option-icon[data-v-adf00cd3]{margin-right:0;font-size:16px}.text-icon[data-v-adf00cd3]{margin-left:4px;font-size:14px}.icon[data-v-adf00cd3]{font-size:20px;transition:fill .25s}.menu[data-v-adf00cd3]{position:absolute;top:calc(var(--vp-nav-height) / 2 + 20px);right:0;opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s,transform .25s}.VPSocialLink[data-v-395cd24e]{display:flex;justify-content:center;align-items:center;width:36px;height:36px;color:var(--vp-c-text-2);transition:color .5s}.VPSocialLink[data-v-395cd24e]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPSocialLink[data-v-395cd24e]>svg,.VPSocialLink[data-v-395cd24e]>[class^=vpi-social-]{width:20px;height:20px;fill:currentColor}.VPSocialLinks[data-v-68b17da5]{display:flex;justify-content:center}.VPNavBarExtra[data-v-9d221d8e]{display:none;margin-right:-12px}@media (min-width: 768px){.VPNavBarExtra[data-v-9d221d8e]{display:block}}@media (min-width: 1280px){.VPNavBarExtra[data-v-9d221d8e]{display:none}}.trans-title[data-v-9d221d8e]{padding:0 24px 0 12px;line-height:32px;font-size:14px;font-weight:700;color:var(--vp-c-text-1)}.item.appearance[data-v-9d221d8e],.item.social-links[data-v-9d221d8e]{display:flex;align-items:center;padding:0 12px}.item.appearance[data-v-9d221d8e]{min-width:176px}.appearance-action[data-v-9d221d8e]{margin-right:-2px}.social-links-list[data-v-9d221d8e]{margin:-4px -8px}.VPNavBarHamburger[data-v-136d4c78]{display:flex;justify-content:center;align-items:center;width:48px;height:var(--vp-nav-height)}@media (min-width: 768px){.VPNavBarHamburger[data-v-136d4c78]{display:none}}.container[data-v-136d4c78]{position:relative;width:16px;height:14px;overflow:hidden}.VPNavBarHamburger:hover .top[data-v-136d4c78]{top:0;left:0;transform:translate(4px)}.VPNavBarHamburger:hover .middle[data-v-136d4c78]{top:6px;left:0;transform:translate(0)}.VPNavBarHamburger:hover .bottom[data-v-136d4c78]{top:12px;left:0;transform:translate(8px)}.VPNavBarHamburger.active .top[data-v-136d4c78]{top:6px;transform:translate(0) rotate(225deg)}.VPNavBarHamburger.active .middle[data-v-136d4c78]{top:6px;transform:translate(16px)}.VPNavBarHamburger.active .bottom[data-v-136d4c78]{top:6px;transform:translate(0) rotate(135deg)}.VPNavBarHamburger.active:hover .top[data-v-136d4c78],.VPNavBarHamburger.active:hover .middle[data-v-136d4c78],.VPNavBarHamburger.active:hover .bottom[data-v-136d4c78]{background-color:var(--vp-c-text-2);transition:top .25s,background-color .25s,transform .25s}.top[data-v-136d4c78],.middle[data-v-136d4c78],.bottom[data-v-136d4c78]{position:absolute;width:16px;height:2px;background-color:var(--vp-c-text-1);transition:top .25s,background-color .5s,transform .25s}.top[data-v-136d4c78]{top:0;left:0;transform:translate(0)}.middle[data-v-136d4c78]{top:6px;left:0;transform:translate(8px)}.bottom[data-v-136d4c78]{top:12px;left:0;transform:translate(4px)}.VPNavBarMenuLink[data-v-15ea9bdc]{display:flex;align-items:center;padding:0 12px;line-height:var(--vp-nav-height);font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.VPNavBarMenuLink.active[data-v-15ea9bdc],.VPNavBarMenuLink[data-v-15ea9bdc]:hover{color:var(--vp-c-brand-1)}.VPNavBarMenu[data-v-3dac80f6]{display:none}@media (min-width: 768px){.VPNavBarMenu[data-v-3dac80f6]{display:flex}}/*! @docsearch/css 3.6.0 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */:root{--docsearch-primary-color:#5468ff;--docsearch-text-color:#1c1e21;--docsearch-spacing:12px;--docsearch-icon-stroke-width:1.4;--docsearch-highlight-color:var(--docsearch-primary-color);--docsearch-muted-color:#969faf;--docsearch-container-background:rgba(101,108,133,.8);--docsearch-logo-color:#5468ff;--docsearch-modal-width:560px;--docsearch-modal-height:600px;--docsearch-modal-background:#f5f6f7;--docsearch-modal-shadow:inset 1px 1px 0 0 hsla(0,0%,100%,.5),0 3px 8px 0 #555a64;--docsearch-searchbox-height:56px;--docsearch-searchbox-background:#ebedf0;--docsearch-searchbox-focus-background:#fff;--docsearch-searchbox-shadow:inset 0 0 0 2px var(--docsearch-primary-color);--docsearch-hit-height:56px;--docsearch-hit-color:#444950;--docsearch-hit-active-color:#fff;--docsearch-hit-background:#fff;--docsearch-hit-shadow:0 1px 3px 0 #d4d9e1;--docsearch-key-gradient:linear-gradient(-225deg,#d5dbe4,#f8f8f8);--docsearch-key-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 2px 1px rgba(30,35,90,.4);--docsearch-key-pressed-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 1px 0 rgba(30,35,90,.4);--docsearch-footer-height:44px;--docsearch-footer-background:#fff;--docsearch-footer-shadow:0 -1px 0 0 #e0e3e8,0 -3px 6px 0 rgba(69,98,155,.12)}html[data-theme=dark]{--docsearch-text-color:#f5f6f7;--docsearch-container-background:rgba(9,10,17,.8);--docsearch-modal-background:#15172a;--docsearch-modal-shadow:inset 1px 1px 0 0 #2c2e40,0 3px 8px 0 #000309;--docsearch-searchbox-background:#090a11;--docsearch-searchbox-focus-background:#000;--docsearch-hit-color:#bec3c9;--docsearch-hit-shadow:none;--docsearch-hit-background:#090a11;--docsearch-key-gradient:linear-gradient(-26.5deg,#565872,#31355b);--docsearch-key-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 2px 2px 0 rgba(3,4,9,.3);--docsearch-key-pressed-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 1px 1px 0 rgba(3,4,9,.30196078431372547);--docsearch-footer-background:#1e2136;--docsearch-footer-shadow:inset 0 1px 0 0 rgba(73,76,106,.5),0 -4px 8px 0 rgba(0,0,0,.2);--docsearch-logo-color:#fff;--docsearch-muted-color:#7f8497}.DocSearch-Button{align-items:center;background:var(--docsearch-searchbox-background);border:0;border-radius:40px;color:var(--docsearch-muted-color);cursor:pointer;display:flex;font-weight:500;height:36px;justify-content:space-between;margin:0 0 0 16px;padding:0 8px;-webkit-user-select:none;user-select:none}.DocSearch-Button:active,.DocSearch-Button:focus,.DocSearch-Button:hover{background:var(--docsearch-searchbox-focus-background);box-shadow:var(--docsearch-searchbox-shadow);color:var(--docsearch-text-color);outline:none}.DocSearch-Button-Container{align-items:center;display:flex}.DocSearch-Search-Icon{stroke-width:1.6}.DocSearch-Button .DocSearch-Search-Icon{color:var(--docsearch-text-color)}.DocSearch-Button-Placeholder{font-size:1rem;padding:0 12px 0 6px}.DocSearch-Button-Keys{display:flex;min-width:calc(40px + .8em)}.DocSearch-Button-Key{align-items:center;background:var(--docsearch-key-gradient);border-radius:3px;box-shadow:var(--docsearch-key-shadow);color:var(--docsearch-muted-color);display:flex;height:18px;justify-content:center;margin-right:.4em;position:relative;padding:0 0 2px;border:0;top:-1px;width:20px}.DocSearch-Button-Key--pressed{transform:translate3d(0,1px,0);box-shadow:var(--docsearch-key-pressed-shadow)}@media (max-width:768px){.DocSearch-Button-Keys,.DocSearch-Button-Placeholder{display:none}}.DocSearch--active{overflow:hidden!important}.DocSearch-Container,.DocSearch-Container *{box-sizing:border-box}.DocSearch-Container{background-color:var(--docsearch-container-background);height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:200}.DocSearch-Container a{text-decoration:none}.DocSearch-Link{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;font:inherit;margin:0;padding:0}.DocSearch-Modal{background:var(--docsearch-modal-background);border-radius:6px;box-shadow:var(--docsearch-modal-shadow);flex-direction:column;margin:60px auto auto;max-width:var(--docsearch-modal-width);position:relative}.DocSearch-SearchBar{display:flex;padding:var(--docsearch-spacing) var(--docsearch-spacing) 0}.DocSearch-Form{align-items:center;background:var(--docsearch-searchbox-focus-background);border-radius:4px;box-shadow:var(--docsearch-searchbox-shadow);display:flex;height:var(--docsearch-searchbox-height);margin:0;padding:0 var(--docsearch-spacing);position:relative;width:100%}.DocSearch-Input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;color:var(--docsearch-text-color);flex:1;font:inherit;font-size:1.2em;height:100%;outline:none;padding:0 0 0 8px;width:80%}.DocSearch-Input::placeholder{color:var(--docsearch-muted-color);opacity:1}.DocSearch-Input::-webkit-search-cancel-button,.DocSearch-Input::-webkit-search-decoration,.DocSearch-Input::-webkit-search-results-button,.DocSearch-Input::-webkit-search-results-decoration{display:none}.DocSearch-LoadingIndicator,.DocSearch-MagnifierLabel,.DocSearch-Reset{margin:0;padding:0}.DocSearch-MagnifierLabel,.DocSearch-Reset{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}.DocSearch-Container--Stalled .DocSearch-MagnifierLabel,.DocSearch-LoadingIndicator{display:none}.DocSearch-Container--Stalled .DocSearch-LoadingIndicator{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Reset{animation:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;right:0;stroke-width:var(--docsearch-icon-stroke-width)}}.DocSearch-Reset{animation:fade-in .1s ease-in forwards;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;padding:2px;right:0;stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Reset[hidden]{display:none}.DocSearch-Reset:hover{color:var(--docsearch-highlight-color)}.DocSearch-LoadingIndicator svg,.DocSearch-MagnifierLabel svg{height:24px;width:24px}.DocSearch-Cancel{display:none}.DocSearch-Dropdown{max-height:calc(var(--docsearch-modal-height) - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height));min-height:var(--docsearch-spacing);overflow-y:auto;overflow-y:overlay;padding:0 var(--docsearch-spacing);scrollbar-color:var(--docsearch-muted-color) var(--docsearch-modal-background);scrollbar-width:thin}.DocSearch-Dropdown::-webkit-scrollbar{width:12px}.DocSearch-Dropdown::-webkit-scrollbar-track{background:transparent}.DocSearch-Dropdown::-webkit-scrollbar-thumb{background-color:var(--docsearch-muted-color);border:3px solid var(--docsearch-modal-background);border-radius:20px}.DocSearch-Dropdown ul{list-style:none;margin:0;padding:0}.DocSearch-Label{font-size:.75em;line-height:1.6em}.DocSearch-Help,.DocSearch-Label{color:var(--docsearch-muted-color)}.DocSearch-Help{font-size:.9em;margin:0;-webkit-user-select:none;user-select:none}.DocSearch-Title{font-size:1.2em}.DocSearch-Logo a{display:flex}.DocSearch-Logo svg{color:var(--docsearch-logo-color);margin-left:8px}.DocSearch-Hits:last-of-type{margin-bottom:24px}.DocSearch-Hits mark{background:none;color:var(--docsearch-highlight-color)}.DocSearch-HitsFooter{color:var(--docsearch-muted-color);display:flex;font-size:.85em;justify-content:center;margin-bottom:var(--docsearch-spacing);padding:var(--docsearch-spacing)}.DocSearch-HitsFooter a{border-bottom:1px solid;color:inherit}.DocSearch-Hit{border-radius:4px;display:flex;padding-bottom:4px;position:relative}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--deleting{transition:none}}.DocSearch-Hit--deleting{opacity:0;transition:all .25s linear}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--favoriting{transition:none}}.DocSearch-Hit--favoriting{transform:scale(0);transform-origin:top center;transition:all .25s linear;transition-delay:.25s}.DocSearch-Hit a{background:var(--docsearch-hit-background);border-radius:4px;box-shadow:var(--docsearch-hit-shadow);display:block;padding-left:var(--docsearch-spacing);width:100%}.DocSearch-Hit-source{background:var(--docsearch-modal-background);color:var(--docsearch-highlight-color);font-size:.85em;font-weight:600;line-height:32px;margin:0 -4px;padding:8px 4px 0;position:sticky;top:0;z-index:10}.DocSearch-Hit-Tree{color:var(--docsearch-muted-color);height:var(--docsearch-hit-height);opacity:.5;stroke-width:var(--docsearch-icon-stroke-width);width:24px}.DocSearch-Hit[aria-selected=true] a{background-color:var(--docsearch-highlight-color)}.DocSearch-Hit[aria-selected=true] mark{text-decoration:underline}.DocSearch-Hit-Container{align-items:center;color:var(--docsearch-hit-color);display:flex;flex-direction:row;height:var(--docsearch-hit-height);padding:0 var(--docsearch-spacing) 0 0}.DocSearch-Hit-icon{height:20px;width:20px}.DocSearch-Hit-action,.DocSearch-Hit-icon{color:var(--docsearch-muted-color);stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Hit-action{align-items:center;display:flex;height:22px;width:22px}.DocSearch-Hit-action svg{display:block;height:18px;width:18px}.DocSearch-Hit-action+.DocSearch-Hit-action{margin-left:6px}.DocSearch-Hit-action-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:inherit;cursor:pointer;padding:2px}svg.DocSearch-Hit-Select-Icon{display:none}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Select-Icon{display:block}.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:background-color .1s ease-in}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{transition:none}}.DocSearch-Hit-action-button:focus path,.DocSearch-Hit-action-button:hover path{fill:#fff}.DocSearch-Hit-content-wrapper{display:flex;flex:1 1 auto;flex-direction:column;font-weight:500;justify-content:center;line-height:1.2em;margin:0 8px;overflow-x:hidden;position:relative;text-overflow:ellipsis;white-space:nowrap;width:80%}.DocSearch-Hit-title{font-size:.9em}.DocSearch-Hit-path{color:var(--docsearch-muted-color);font-size:.75em}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-action,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-icon,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-path,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-text,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-title,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Tree,.DocSearch-Hit[aria-selected=true] mark{color:var(--docsearch-hit-active-color)!important}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:none}}.DocSearch-ErrorScreen,.DocSearch-NoResults,.DocSearch-StartScreen{font-size:.9em;margin:0 auto;padding:36px 0;text-align:center;width:80%}.DocSearch-Screen-Icon{color:var(--docsearch-muted-color);padding-bottom:12px}.DocSearch-NoResults-Prefill-List{display:inline-block;padding-bottom:24px;text-align:left}.DocSearch-NoResults-Prefill-List ul{display:inline-block;padding:8px 0 0}.DocSearch-NoResults-Prefill-List li{list-style-position:inside;list-style-type:"» "}.DocSearch-Prefill{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:1em;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;font-size:1em;font-weight:700;padding:0}.DocSearch-Prefill:focus,.DocSearch-Prefill:hover{outline:none;text-decoration:underline}.DocSearch-Footer{align-items:center;background:var(--docsearch-footer-background);border-radius:0 0 8px 8px;box-shadow:var(--docsearch-footer-shadow);display:flex;flex-direction:row-reverse;flex-shrink:0;height:var(--docsearch-footer-height);justify-content:space-between;padding:0 var(--docsearch-spacing);position:relative;-webkit-user-select:none;user-select:none;width:100%;z-index:300}.DocSearch-Commands{color:var(--docsearch-muted-color);display:flex;list-style:none;margin:0;padding:0}.DocSearch-Commands li{align-items:center;display:flex}.DocSearch-Commands li:not(:last-of-type){margin-right:.8em}.DocSearch-Commands-Key{align-items:center;background:var(--docsearch-key-gradient);border-radius:2px;box-shadow:var(--docsearch-key-shadow);display:flex;height:18px;justify-content:center;margin-right:.4em;padding:0 0 1px;color:var(--docsearch-muted-color);border:0;width:20px}.DocSearch-VisuallyHiddenForAccessibility{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}@media (max-width:768px){:root{--docsearch-spacing:10px;--docsearch-footer-height:40px}.DocSearch-Dropdown{height:100%}.DocSearch-Container{height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);position:absolute}.DocSearch-Footer{border-radius:0;bottom:0;position:absolute}.DocSearch-Hit-content-wrapper{display:flex;position:relative;width:80%}.DocSearch-Modal{border-radius:0;box-shadow:none;height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);margin:0;max-width:100%;width:100%}.DocSearch-Dropdown{max-height:calc(var(--docsearch-vh, 1vh)*100 - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height))}.DocSearch-Cancel{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;flex:none;font:inherit;font-size:1em;font-weight:500;margin-left:var(--docsearch-spacing);outline:none;overflow:hidden;padding:0;-webkit-user-select:none;user-select:none;white-space:nowrap}.DocSearch-Commands,.DocSearch-Hit-Tree{display:none}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}[class*=DocSearch]{--docsearch-primary-color: var(--vp-c-brand-1);--docsearch-highlight-color: var(--docsearch-primary-color);--docsearch-text-color: var(--vp-c-text-1);--docsearch-muted-color: var(--vp-c-text-2);--docsearch-searchbox-shadow: none;--docsearch-searchbox-background: transparent;--docsearch-searchbox-focus-background: transparent;--docsearch-key-gradient: transparent;--docsearch-key-shadow: none;--docsearch-modal-background: var(--vp-c-bg-soft);--docsearch-footer-background: var(--vp-c-bg)}.dark [class*=DocSearch]{--docsearch-modal-shadow: none;--docsearch-footer-shadow: none;--docsearch-logo-color: var(--vp-c-text-2);--docsearch-hit-background: var(--vp-c-default-soft);--docsearch-hit-color: var(--vp-c-text-2);--docsearch-hit-shadow: none}.DocSearch-Button{display:flex;justify-content:center;align-items:center;margin:0;padding:0;width:48px;height:55px;background:transparent;transition:border-color .25s}.DocSearch-Button:hover{background:transparent}.DocSearch-Button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.DocSearch-Button-Key--pressed{transform:none;box-shadow:none}.DocSearch-Button:focus:not(:focus-visible){outline:none!important}@media (min-width: 768px){.DocSearch-Button{justify-content:flex-start;border:1px solid transparent;border-radius:8px;padding:0 10px 0 12px;width:100%;height:40px;background-color:var(--vp-c-bg-alt)}.DocSearch-Button:hover{border-color:var(--vp-c-brand-1);background:var(--vp-c-bg-alt)}}.DocSearch-Button .DocSearch-Button-Container{display:flex;align-items:center}.DocSearch-Button .DocSearch-Search-Icon{position:relative;width:16px;height:16px;color:var(--vp-c-text-1);fill:currentColor;transition:color .5s}.DocSearch-Button:hover .DocSearch-Search-Icon{color:var(--vp-c-text-1)}@media (min-width: 768px){.DocSearch-Button .DocSearch-Search-Icon{top:1px;margin-right:8px;width:14px;height:14px;color:var(--vp-c-text-2)}}.DocSearch-Button .DocSearch-Button-Placeholder{display:none;margin-top:2px;padding:0 16px 0 0;font-size:13px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.DocSearch-Button:hover .DocSearch-Button-Placeholder{color:var(--vp-c-text-1)}@media (min-width: 768px){.DocSearch-Button .DocSearch-Button-Placeholder{display:inline-block}}.DocSearch-Button .DocSearch-Button-Keys{direction:ltr;display:none;min-width:auto}@media (min-width: 768px){.DocSearch-Button .DocSearch-Button-Keys{display:flex;align-items:center}}.DocSearch-Button .DocSearch-Button-Key{display:block;margin:2px 0 0;border:1px solid var(--vp-c-divider);border-right:none;border-radius:4px 0 0 4px;padding-left:6px;min-width:0;width:auto;height:22px;line-height:22px;font-family:var(--vp-font-family-base);font-size:12px;font-weight:500;transition:color .5s,border-color .5s}.DocSearch-Button .DocSearch-Button-Key+.DocSearch-Button-Key{border-right:1px solid var(--vp-c-divider);border-left:none;border-radius:0 4px 4px 0;padding-left:2px;padding-right:6px}.DocSearch-Button .DocSearch-Button-Key:first-child{font-size:0!important}.DocSearch-Button .DocSearch-Button-Key:first-child:after{content:"Ctrl";font-size:12px;letter-spacing:normal;color:var(--docsearch-muted-color)}.mac .DocSearch-Button .DocSearch-Button-Key:first-child:after{content:"⌘"}.DocSearch-Button .DocSearch-Button-Key:first-child>*{display:none}.DocSearch-Search-Icon{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' stroke-width='1.6' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' d='m14.386 14.386 4.088 4.088-4.088-4.088A7.533 7.533 0 1 1 3.733 3.733a7.533 7.533 0 0 1 10.653 10.653z'/%3E%3C/svg%3E")}.VPNavBarSearch{display:flex;align-items:center}@media (min-width: 768px){.VPNavBarSearch{flex-grow:1;padding-left:24px}}@media (min-width: 960px){.VPNavBarSearch{padding-left:32px}}.dark .DocSearch-Footer{border-top:1px solid var(--vp-c-divider)}.DocSearch-Form{border:1px solid var(--vp-c-brand-1);background-color:var(--vp-c-white)}.dark .DocSearch-Form{background-color:var(--vp-c-default-soft)}.DocSearch-Screen-Icon>svg{margin:auto}.VPNavBarSocialLinks[data-v-7da0964e]{display:none}@media (min-width: 1280px){.VPNavBarSocialLinks[data-v-7da0964e]{display:flex;align-items:center}}.title[data-v-231ae850]{display:flex;align-items:center;border-bottom:1px solid transparent;width:100%;height:var(--vp-nav-height);font-size:16px;font-weight:600;color:var(--vp-c-text-1);transition:opacity .25s}@media (min-width: 960px){.title[data-v-231ae850]{flex-shrink:0}.VPNavBarTitle.has-sidebar .title[data-v-231ae850]{border-bottom-color:var(--vp-c-divider)}}[data-v-231ae850] .logo{margin-right:8px;height:var(--vp-nav-logo-height)}.VPNavBarTranslations[data-v-f175c5c6]{display:none}@media (min-width: 1280px){.VPNavBarTranslations[data-v-f175c5c6]{display:flex;align-items:center}}.title[data-v-f175c5c6]{padding:0 24px 0 12px;line-height:32px;font-size:14px;font-weight:700;color:var(--vp-c-text-1)}.VPNavBar[data-v-0e48dce8]{position:relative;height:var(--vp-nav-height);pointer-events:none;white-space:nowrap;transition:background-color .25s}.VPNavBar.screen-open[data-v-0e48dce8]{transition:none;background-color:var(--vp-nav-bg-color);border-bottom:1px solid var(--vp-c-divider)}.VPNavBar[data-v-0e48dce8]:not(.home){background-color:var(--vp-nav-bg-color)}@media (min-width: 960px){.VPNavBar[data-v-0e48dce8]:not(.home){background-color:transparent}.VPNavBar[data-v-0e48dce8]:not(.has-sidebar):not(.home.top){background-color:var(--vp-nav-bg-color)}}.wrapper[data-v-0e48dce8]{padding:0 8px 0 24px}@media (min-width: 768px){.wrapper[data-v-0e48dce8]{padding:0 32px}}@media (min-width: 960px){.VPNavBar.has-sidebar .wrapper[data-v-0e48dce8]{padding:0}}.container[data-v-0e48dce8]{display:flex;justify-content:space-between;margin:0 auto;max-width:calc(var(--vp-layout-max-width) - 64px);height:var(--vp-nav-height);pointer-events:none}.container>.title[data-v-0e48dce8],.container>.content[data-v-0e48dce8]{pointer-events:none}.container[data-v-0e48dce8] *{pointer-events:auto}@media (min-width: 960px){.VPNavBar.has-sidebar .container[data-v-0e48dce8]{max-width:100%}}.title[data-v-0e48dce8]{flex-shrink:0;height:calc(var(--vp-nav-height) - 1px);transition:background-color .5s}@media (min-width: 960px){.VPNavBar.has-sidebar .title[data-v-0e48dce8]{position:absolute;top:0;left:0;z-index:2;padding:0 32px;width:var(--vp-sidebar-width);height:var(--vp-nav-height);background-color:transparent}}@media (min-width: 1440px){.VPNavBar.has-sidebar .title[data-v-0e48dce8]{padding-left:max(32px,calc((100% - (var(--vp-layout-max-width) - 64px)) / 2));width:calc((100% - (var(--vp-layout-max-width) - 64px)) / 2 + var(--vp-sidebar-width) - 32px)}}.content[data-v-0e48dce8]{flex-grow:1}@media (min-width: 960px){.VPNavBar.has-sidebar .content[data-v-0e48dce8]{position:relative;z-index:1;padding-right:32px;padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPNavBar.has-sidebar .content[data-v-0e48dce8]{padding-right:calc((100vw - var(--vp-layout-max-width)) / 2 + 32px);padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.content-body[data-v-0e48dce8]{display:flex;justify-content:flex-end;align-items:center;height:var(--vp-nav-height);transition:background-color .5s}@media (min-width: 960px){.VPNavBar:not(.home.top) .content-body[data-v-0e48dce8]{position:relative;background-color:var(--vp-nav-bg-color)}.VPNavBar:not(.has-sidebar):not(.home.top) .content-body[data-v-0e48dce8]{background-color:transparent}}@media (max-width: 767px){.content-body[data-v-0e48dce8]{column-gap:.5rem}}.menu+.translations[data-v-0e48dce8]:before,.menu+.appearance[data-v-0e48dce8]:before,.menu+.social-links[data-v-0e48dce8]:before,.translations+.appearance[data-v-0e48dce8]:before,.appearance+.social-links[data-v-0e48dce8]:before{margin-right:8px;margin-left:8px;width:1px;height:24px;background-color:var(--vp-c-divider);content:""}.menu+.appearance[data-v-0e48dce8]:before,.translations+.appearance[data-v-0e48dce8]:before{margin-right:16px}.appearance+.social-links[data-v-0e48dce8]:before{margin-left:16px}.social-links[data-v-0e48dce8]{margin-right:-8px}.divider[data-v-0e48dce8]{width:100%;height:1px}@media (min-width: 960px){.VPNavBar.has-sidebar .divider[data-v-0e48dce8]{padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPNavBar.has-sidebar .divider[data-v-0e48dce8]{padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.divider-line[data-v-0e48dce8]{width:100%;height:1px;transition:background-color .5s}.VPNavBar:not(.home) .divider-line[data-v-0e48dce8]{background-color:var(--vp-c-gutter)}@media (min-width: 960px){.VPNavBar:not(.home.top) .divider-line[data-v-0e48dce8]{background-color:var(--vp-c-gutter)}.VPNavBar:not(.has-sidebar):not(.home.top) .divider[data-v-0e48dce8]{background-color:var(--vp-c-gutter)}}.VPNavScreenAppearance[data-v-1620cf07]{display:flex;justify-content:space-between;align-items:center;border-radius:8px;padding:12px 14px 12px 16px;background-color:var(--vp-c-bg-soft)}.text[data-v-1620cf07]{line-height:24px;font-size:12px;font-weight:500;color:var(--vp-c-text-2)}.VPNavScreenMenuLink[data-v-f5d8e4b9]{display:block;border-bottom:1px solid var(--vp-c-divider);padding:12px 0 11px;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:border-color .25s,color .25s}.VPNavScreenMenuLink[data-v-f5d8e4b9]:hover{color:var(--vp-c-brand-1)}.VPNavScreenMenuGroupLink[data-v-4f441460]{display:block;margin-left:12px;line-height:32px;font-size:14px;font-weight:400;color:var(--vp-c-text-1);transition:color .25s}.VPNavScreenMenuGroupLink[data-v-4f441460]:hover{color:var(--vp-c-brand-1)}.VPNavScreenMenuGroupSection[data-v-e5c7f31d]{display:block}.title[data-v-e5c7f31d]{line-height:32px;font-size:13px;font-weight:700;color:var(--vp-c-text-2);transition:color .25s}.VPNavScreenMenuGroup[data-v-3b45a700]{border-bottom:1px solid var(--vp-c-divider);height:48px;overflow:hidden;transition:border-color .5s}.VPNavScreenMenuGroup .items[data-v-3b45a700]{visibility:hidden}.VPNavScreenMenuGroup.open .items[data-v-3b45a700]{visibility:visible}.VPNavScreenMenuGroup.open[data-v-3b45a700]{padding-bottom:10px;height:auto}.VPNavScreenMenuGroup.open .button[data-v-3b45a700]{padding-bottom:6px;color:var(--vp-c-brand-1)}.VPNavScreenMenuGroup.open .button-icon[data-v-3b45a700]{transform:rotate(45deg)}.button[data-v-3b45a700]{display:flex;justify-content:space-between;align-items:center;padding:12px 4px 11px 0;width:100%;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.button[data-v-3b45a700]:hover{color:var(--vp-c-brand-1)}.button-icon[data-v-3b45a700]{transition:transform .25s}.group[data-v-3b45a700]:first-child{padding-top:0}.group+.group[data-v-3b45a700],.group+.item[data-v-3b45a700]{padding-top:4px}.VPNavScreenTranslations[data-v-591f9f7e]{height:24px;overflow:hidden}.VPNavScreenTranslations.open[data-v-591f9f7e]{height:auto}.title[data-v-591f9f7e]{display:flex;align-items:center;font-size:14px;font-weight:500;color:var(--vp-c-text-1)}.icon[data-v-591f9f7e]{font-size:16px}.icon.lang[data-v-591f9f7e]{margin-right:8px}.icon.chevron[data-v-591f9f7e]{margin-left:4px}.list[data-v-591f9f7e]{padding:4px 0 0 24px}.link[data-v-591f9f7e]{line-height:32px;font-size:13px;color:var(--vp-c-text-1)}.VPNavScreen[data-v-98ef235b]{position:fixed;top:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px));right:0;bottom:0;left:0;padding:0 32px;width:100%;background-color:var(--vp-nav-screen-bg-color);overflow-y:auto;transition:background-color .25s;pointer-events:auto}.VPNavScreen.fade-enter-active[data-v-98ef235b],.VPNavScreen.fade-leave-active[data-v-98ef235b]{transition:opacity .25s}.VPNavScreen.fade-enter-active .container[data-v-98ef235b],.VPNavScreen.fade-leave-active .container[data-v-98ef235b]{transition:transform .25s ease}.VPNavScreen.fade-enter-from[data-v-98ef235b],.VPNavScreen.fade-leave-to[data-v-98ef235b]{opacity:0}.VPNavScreen.fade-enter-from .container[data-v-98ef235b],.VPNavScreen.fade-leave-to .container[data-v-98ef235b]{transform:translateY(-8px)}@media (min-width: 768px){.VPNavScreen[data-v-98ef235b]{display:none}}.container[data-v-98ef235b]{margin:0 auto;padding:24px 0 96px;max-width:288px}.menu+.translations[data-v-98ef235b],.menu+.appearance[data-v-98ef235b],.translations+.appearance[data-v-98ef235b]{margin-top:24px}.menu+.social-links[data-v-98ef235b]{margin-top:16px}.appearance+.social-links[data-v-98ef235b]{margin-top:16px}.VPNav[data-v-25af929a]{position:relative;top:var(--vp-layout-top-height, 0px);left:0;z-index:var(--vp-z-index-nav);width:100%;pointer-events:none;transition:background-color .5s}@media (min-width: 960px){.VPNav[data-v-25af929a]{position:fixed}}.VPSidebarItem.level-0[data-v-77366673]{padding-bottom:24px}.VPSidebarItem.collapsed.level-0[data-v-77366673]{padding-bottom:10px}.item[data-v-77366673]{position:relative;display:flex;width:100%}.VPSidebarItem.collapsible>.item[data-v-77366673]{cursor:pointer}.indicator[data-v-77366673]{position:absolute;top:6px;bottom:6px;left:-17px;width:2px;border-radius:2px;transition:background-color .25s}.VPSidebarItem.level-2.is-active>.item>.indicator[data-v-77366673],.VPSidebarItem.level-3.is-active>.item>.indicator[data-v-77366673],.VPSidebarItem.level-4.is-active>.item>.indicator[data-v-77366673],.VPSidebarItem.level-5.is-active>.item>.indicator[data-v-77366673]{background-color:var(--vp-c-brand-1)}.link[data-v-77366673]{display:flex;align-items:center;flex-grow:1}.text[data-v-77366673]{flex-grow:1;padding:4px 0;line-height:24px;font-size:14px;transition:color .25s}.VPSidebarItem.level-0 .text[data-v-77366673]{font-weight:700;color:var(--vp-c-text-1)}.VPSidebarItem.level-1 .text[data-v-77366673],.VPSidebarItem.level-2 .text[data-v-77366673],.VPSidebarItem.level-3 .text[data-v-77366673],.VPSidebarItem.level-4 .text[data-v-77366673],.VPSidebarItem.level-5 .text[data-v-77366673]{font-weight:500;color:var(--vp-c-text-2)}.VPSidebarItem.level-0.is-link>.item>.link:hover .text[data-v-77366673],.VPSidebarItem.level-1.is-link>.item>.link:hover .text[data-v-77366673],.VPSidebarItem.level-2.is-link>.item>.link:hover .text[data-v-77366673],.VPSidebarItem.level-3.is-link>.item>.link:hover .text[data-v-77366673],.VPSidebarItem.level-4.is-link>.item>.link:hover .text[data-v-77366673],.VPSidebarItem.level-5.is-link>.item>.link:hover .text[data-v-77366673]{color:var(--vp-c-brand-1)}.VPSidebarItem.level-0.has-active>.item>.text[data-v-77366673],.VPSidebarItem.level-1.has-active>.item>.text[data-v-77366673],.VPSidebarItem.level-2.has-active>.item>.text[data-v-77366673],.VPSidebarItem.level-3.has-active>.item>.text[data-v-77366673],.VPSidebarItem.level-4.has-active>.item>.text[data-v-77366673],.VPSidebarItem.level-5.has-active>.item>.text[data-v-77366673],.VPSidebarItem.level-0.has-active>.item>.link>.text[data-v-77366673],.VPSidebarItem.level-1.has-active>.item>.link>.text[data-v-77366673],.VPSidebarItem.level-2.has-active>.item>.link>.text[data-v-77366673],.VPSidebarItem.level-3.has-active>.item>.link>.text[data-v-77366673],.VPSidebarItem.level-4.has-active>.item>.link>.text[data-v-77366673],.VPSidebarItem.level-5.has-active>.item>.link>.text[data-v-77366673]{color:var(--vp-c-text-1)}.VPSidebarItem.level-0.is-active>.item .link>.text[data-v-77366673],.VPSidebarItem.level-1.is-active>.item .link>.text[data-v-77366673],.VPSidebarItem.level-2.is-active>.item .link>.text[data-v-77366673],.VPSidebarItem.level-3.is-active>.item .link>.text[data-v-77366673],.VPSidebarItem.level-4.is-active>.item .link>.text[data-v-77366673],.VPSidebarItem.level-5.is-active>.item .link>.text[data-v-77366673]{color:var(--vp-c-brand-1)}.caret[data-v-77366673]{display:flex;justify-content:center;align-items:center;margin-right:-7px;width:32px;height:32px;color:var(--vp-c-text-3);cursor:pointer;transition:color .25s;flex-shrink:0}.item:hover .caret[data-v-77366673]{color:var(--vp-c-text-2)}.item:hover .caret[data-v-77366673]:hover{color:var(--vp-c-text-1)}.caret-icon[data-v-77366673]{font-size:18px;transform:rotate(90deg);transition:transform .25s}.VPSidebarItem.collapsed .caret-icon[data-v-77366673]{transform:rotate(0)}.VPSidebarItem.level-1 .items[data-v-77366673],.VPSidebarItem.level-2 .items[data-v-77366673],.VPSidebarItem.level-3 .items[data-v-77366673],.VPSidebarItem.level-4 .items[data-v-77366673],.VPSidebarItem.level-5 .items[data-v-77366673]{border-left:1px solid var(--vp-c-divider);padding-left:16px}.VPSidebarItem.collapsed .items[data-v-77366673]{display:none}.no-transition[data-v-87df204d] .caret-icon{transition:none}.group+.group[data-v-87df204d]{border-top:1px solid var(--vp-c-divider);padding-top:10px}@media (min-width: 960px){.group[data-v-87df204d]{padding-top:10px;width:calc(var(--vp-sidebar-width) - 64px)}}.VPSidebar[data-v-7f7450e6]{position:fixed;top:var(--vp-layout-top-height, 0px);bottom:0;left:0;z-index:var(--vp-z-index-sidebar);padding:32px 32px 96px;width:calc(100vw - 64px);max-width:320px;background-color:var(--vp-sidebar-bg-color);opacity:0;box-shadow:var(--vp-c-shadow-3);overflow-x:hidden;overflow-y:auto;transform:translate(-100%);transition:opacity .5s,transform .25s ease;overscroll-behavior:contain}.VPSidebar.open[data-v-7f7450e6]{opacity:1;visibility:visible;transform:translate(0);transition:opacity .25s,transform .5s cubic-bezier(.19,1,.22,1)}.dark .VPSidebar[data-v-7f7450e6]{box-shadow:var(--vp-shadow-1)}@media (min-width: 960px){.VPSidebar[data-v-7f7450e6]{padding-top:var(--vp-nav-height);width:var(--vp-sidebar-width);max-width:100%;background-color:var(--vp-sidebar-bg-color);opacity:1;visibility:visible;box-shadow:none;transform:translate(0)}}@media (min-width: 1440px){.VPSidebar[data-v-7f7450e6]{padding-left:max(32px,calc((100% - (var(--vp-layout-max-width) - 64px)) / 2));width:calc((100% - (var(--vp-layout-max-width) - 64px)) / 2 + var(--vp-sidebar-width) - 32px)}}@media (min-width: 960px){.curtain[data-v-7f7450e6]{position:sticky;top:-64px;left:0;z-index:1;margin-top:calc(var(--vp-nav-height) * -1);margin-right:-32px;margin-left:-32px;height:var(--vp-nav-height);background-color:var(--vp-sidebar-bg-color)}}.nav[data-v-7f7450e6]{outline:0}.VPSkipLink[data-v-3137196e]{top:8px;left:8px;padding:8px 16px;z-index:999;border-radius:8px;font-size:12px;font-weight:700;text-decoration:none;color:var(--vp-c-brand-1);box-shadow:var(--vp-shadow-3);background-color:var(--vp-c-bg)}.VPSkipLink[data-v-3137196e]:focus{height:auto;width:auto;clip:auto;clip-path:none}@media (min-width: 1280px){.VPSkipLink[data-v-3137196e]{top:14px;left:16px}}.Layout[data-v-44833409]{display:flex;flex-direction:column;min-height:100vh}.VPHomeSponsors[data-v-bb517d5f]{border-top:1px solid var(--vp-c-gutter);padding-top:88px!important}.VPHomeSponsors[data-v-bb517d5f]{margin:96px 0}@media (min-width: 768px){.VPHomeSponsors[data-v-bb517d5f]{margin:128px 0}}.VPHomeSponsors[data-v-bb517d5f]{padding:0 24px}@media (min-width: 768px){.VPHomeSponsors[data-v-bb517d5f]{padding:0 48px}}@media (min-width: 960px){.VPHomeSponsors[data-v-bb517d5f]{padding:0 64px}}.container[data-v-bb517d5f]{margin:0 auto;max-width:1152px}.love[data-v-bb517d5f]{margin:0 auto;width:fit-content;font-size:28px;color:var(--vp-c-text-3)}.icon[data-v-bb517d5f]{display:inline-block}.message[data-v-bb517d5f]{margin:0 auto;padding-top:10px;max-width:320px;text-align:center;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}.sponsors[data-v-bb517d5f]{padding-top:32px}.action[data-v-bb517d5f]{padding-top:40px;text-align:center}.VPTeamPage[data-v-e4944dcb]{margin:96px 0}@media (min-width: 768px){.VPTeamPage[data-v-e4944dcb]{margin:128px 0}}.VPHome .VPTeamPageTitle[data-v-e4944dcb-s]{border-top:1px solid var(--vp-c-gutter);padding-top:88px!important}.VPTeamPageSection+.VPTeamPageSection[data-v-e4944dcb-s],.VPTeamMembers+.VPTeamPageSection[data-v-e4944dcb-s]{margin-top:64px}.VPTeamMembers+.VPTeamMembers[data-v-e4944dcb-s]{margin-top:24px}@media (min-width: 768px){.VPTeamPageTitle+.VPTeamPageSection[data-v-e4944dcb-s]{margin-top:16px}.VPTeamPageSection+.VPTeamPageSection[data-v-e4944dcb-s],.VPTeamMembers+.VPTeamPageSection[data-v-e4944dcb-s]{margin-top:96px}}.VPTeamMembers[data-v-e4944dcb-s]{padding:0 24px}@media (min-width: 768px){.VPTeamMembers[data-v-e4944dcb-s]{padding:0 48px}}@media (min-width: 960px){.VPTeamMembers[data-v-e4944dcb-s]{padding:0 64px}}.VPTeamPageTitle[data-v-9a000b21]{padding:48px 32px;text-align:center}@media (min-width: 768px){.VPTeamPageTitle[data-v-9a000b21]{padding:64px 48px 48px}}@media (min-width: 960px){.VPTeamPageTitle[data-v-9a000b21]{padding:80px 64px 48px}}.title[data-v-9a000b21]{letter-spacing:0;line-height:44px;font-size:36px;font-weight:500}@media (min-width: 768px){.title[data-v-9a000b21]{letter-spacing:-.5px;line-height:56px;font-size:48px}}.lead[data-v-9a000b21]{margin:0 auto;max-width:512px;padding-top:12px;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}@media (min-width: 768px){.lead[data-v-9a000b21]{max-width:592px;letter-spacing:.15px;line-height:28px;font-size:20px}}.VPTeamPageSection[data-v-ee9dcd3b]{padding:0 32px}@media (min-width: 768px){.VPTeamPageSection[data-v-ee9dcd3b]{padding:0 48px}}@media (min-width: 960px){.VPTeamPageSection[data-v-ee9dcd3b]{padding:0 64px}}.title[data-v-ee9dcd3b]{position:relative;margin:0 auto;max-width:1152px;text-align:center;color:var(--vp-c-text-2)}.title-line[data-v-ee9dcd3b]{position:absolute;top:16px;left:0;width:100%;height:1px;background-color:var(--vp-c-divider)}.title-text[data-v-ee9dcd3b]{position:relative;display:inline-block;padding:0 24px;letter-spacing:0;line-height:32px;font-size:20px;font-weight:500;background-color:var(--vp-c-bg)}.lead[data-v-ee9dcd3b]{margin:0 auto;max-width:480px;padding-top:12px;text-align:center;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}.members[data-v-ee9dcd3b]{padding-top:40px}.VPTeamMembersItem[data-v-b21a6737]{display:flex;flex-direction:column;gap:2px;border-radius:12px;width:100%;height:100%;overflow:hidden}.VPTeamMembersItem.small .profile[data-v-b21a6737]{padding:32px}.VPTeamMembersItem.small .data[data-v-b21a6737]{padding-top:20px}.VPTeamMembersItem.small .avatar[data-v-b21a6737]{width:64px;height:64px}.VPTeamMembersItem.small .name[data-v-b21a6737]{line-height:24px;font-size:16px}.VPTeamMembersItem.small .affiliation[data-v-b21a6737]{padding-top:4px;line-height:20px;font-size:14px}.VPTeamMembersItem.small .desc[data-v-b21a6737]{padding-top:12px;line-height:20px;font-size:14px}.VPTeamMembersItem.small .links[data-v-b21a6737]{margin:0 -16px -20px;padding:10px 0 0}.VPTeamMembersItem.medium .profile[data-v-b21a6737]{padding:48px 32px}.VPTeamMembersItem.medium .data[data-v-b21a6737]{padding-top:24px;text-align:center}.VPTeamMembersItem.medium .avatar[data-v-b21a6737]{width:96px;height:96px}.VPTeamMembersItem.medium .name[data-v-b21a6737]{letter-spacing:.15px;line-height:28px;font-size:20px}.VPTeamMembersItem.medium .affiliation[data-v-b21a6737]{padding-top:4px;font-size:16px}.VPTeamMembersItem.medium .desc[data-v-b21a6737]{padding-top:16px;max-width:288px;font-size:16px}.VPTeamMembersItem.medium .links[data-v-b21a6737]{margin:0 -16px -12px;padding:16px 12px 0}.profile[data-v-b21a6737]{flex-grow:1;background-color:var(--vp-c-bg-soft)}.data[data-v-b21a6737]{text-align:center}.avatar[data-v-b21a6737]{position:relative;flex-shrink:0;margin:0 auto;border-radius:50%;box-shadow:var(--vp-shadow-3)}.avatar-img[data-v-b21a6737]{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;object-fit:cover}.name[data-v-b21a6737]{margin:0;font-weight:600}.affiliation[data-v-b21a6737]{margin:0;font-weight:500;color:var(--vp-c-text-2)}.org.link[data-v-b21a6737]{color:var(--vp-c-text-2);transition:color .25s}.org.link[data-v-b21a6737]:hover{color:var(--vp-c-brand-1)}.desc[data-v-b21a6737]{margin:0 auto}.desc[data-v-b21a6737] a{font-weight:500;color:var(--vp-c-brand-1);text-decoration-style:dotted;transition:color .25s}.links[data-v-b21a6737]{display:flex;justify-content:center;height:56px}.sp-link[data-v-b21a6737]{display:flex;justify-content:center;align-items:center;text-align:center;padding:16px;font-size:14px;font-weight:500;color:var(--vp-c-sponsor);background-color:var(--vp-c-bg-soft);transition:color .25s,background-color .25s}.sp .sp-link.link[data-v-b21a6737]:hover,.sp .sp-link.link[data-v-b21a6737]:focus{outline:none;color:var(--vp-c-white);background-color:var(--vp-c-sponsor)}.sp-icon[data-v-b21a6737]{margin-right:8px;font-size:16px}.VPTeamMembers.small .container[data-v-0bfed004]{grid-template-columns:repeat(auto-fit,minmax(224px,1fr))}.VPTeamMembers.small.count-1 .container[data-v-0bfed004]{max-width:276px}.VPTeamMembers.small.count-2 .container[data-v-0bfed004]{max-width:576px}.VPTeamMembers.small.count-3 .container[data-v-0bfed004]{max-width:876px}.VPTeamMembers.medium .container[data-v-0bfed004]{grid-template-columns:repeat(auto-fit,minmax(256px,1fr))}@media (min-width: 375px){.VPTeamMembers.medium .container[data-v-0bfed004]{grid-template-columns:repeat(auto-fit,minmax(288px,1fr))}}.VPTeamMembers.medium.count-1 .container[data-v-0bfed004]{max-width:368px}.VPTeamMembers.medium.count-2 .container[data-v-0bfed004]{max-width:760px}.container[data-v-0bfed004]{display:grid;gap:24px;margin:0 auto;max-width:1152px}.main[data-v-69b61450]{margin:0 auto;padding:.5rem 1.5rem 4rem;max-width:48rem}.yearItem[data-v-69b61450]{border-bottom:1px dashed #c7c7c7}.yearItem[data-v-69b61450]:last-child{border:none}.year[data-v-69b61450]{padding:16px 0 8px;font-size:1.2rem;font-weight:600}.article[data-v-69b61450]{display:flex;align-items:center;justify-content:space-between;margin:10px;color:var(--vp-c-text-2);transition:border .3s ease,color .3s ease}.article[data-v-69b61450]:hover{text-decoration:none;color:var(--vp-c-brand)}.date[data-v-69b61450]{font-family:Georgia,sans-serif}.main[data-v-6b5bf8a1]{margin:0 auto;padding:.5rem 1.5rem 4rem;max-width:48rem}.tags-header[data-v-6b5bf8a1]{font-weight:700;padding-bottom:14px;font-size:2.25em;margin-top:24px}.tags[data-v-6b5bf8a1]{margin-top:14px;display:flex;flex-wrap:wrap;align-items:center;justify-content:left;border-bottom:1px dashed #c7c7c7;margin-bottom:10px;padding-bottom:20px}.tag[data-v-6b5bf8a1]{display:inline-block;margin:6px 8px;font-size:.85em;line-height:25px;transition:.4s;color:#a1a1a1;cursor:pointer}.tag[data-v-6b5bf8a1]:hover,.activetag[data-v-6b5bf8a1]{color:var(--vp-c-hover)}.tag-length[data-v-6b5bf8a1]{color:var(--vp-c-brand);font-size:12px!important;position:relative;top:-8px}.header[data-v-6b5bf8a1]{font-size:1rem;font-weight:600;margin:1.5rem 0;display:flex;align-items:center;justify-content:left}.fas-icon[data-v-6b5bf8a1]{width:2rem;height:2rem}.header-text[data-v-6b5bf8a1]{padding-left:10px}.article[data-v-6b5bf8a1]{display:flex;align-items:center;justify-content:space-between;margin:10px;color:var(--vp-c-text-2);transition:border .3s ease,color .3s ease}.article[data-v-6b5bf8a1]:hover{text-decoration:none;color:var(--vp-c-brand)}.date[data-v-6b5bf8a1]{font-family:Georgia,sans-serif}.VPNavBar[data-v-7c1729ca]{position:relative;border-bottom:1px solid transparent;padding:0!important;height:var(--vp-nav-height);transition:border-color .5s,background-color .5s;background-color:transparent;pointer-events:none}.VPNavBar.has-sidebar[data-v-7c1729ca]{border-bottom-color:var(--vp-c-gutter)}.appearance-btn[data-v-7c1729ca]{display:flex;justify-content:center;align-items:center;width:22px;height:22px;padding:6px;border-radius:22px;margin-left:6px;transition:color .5s;box-sizing:content-box}.appearance-btn[data-v-7c1729ca]:hover{background-color:var(--btn-hover-bg)}@media (min-width: 768px){.VPNavBar[data-v-7c1729ca]{padding:0 32px}}@media (min-width: 960px){.VPNavBar.has-sidebar[data-v-7c1729ca]{border-bottom-color:transparent;padding:0}.VPNavBar.fill[data-v-7c1729ca]:not(.has-sidebar){border-bottom-color:var(--vp-c-gutter)}}.container[data-v-7c1729ca]{display:flex;justify-content:space-between;margin:0 auto;width:100%;pointer-events:none}.container[data-v-7c1729ca] *{pointer-events:auto}@media (min-width: 960px){.VPNavBar.has-sidebar .container[data-v-7c1729ca]{max-width:100%}}.title[data-v-7c1729ca]{flex-shrink:0;height:calc(var(--vp-nav-height) - 1px);transition:background-color .5s}@media (min-width: 960px){.VPNavBar.has-sidebar .title[data-v-7c1729ca]{position:absolute;top:0;left:0;z-index:2;padding:0 32px;width:var(--vp-sidebar-width);height:var(--vp-nav-height);background-color:transparent}}@media (min-width: 1440px){.VPNavBar.has-sidebar .title[data-v-7c1729ca]{padding-left:max(32px,calc((100% - (var(--vp-layout-max-width) - 64px)) / 2))}}.content[data-v-7c1729ca]{height:var(--vp-nav-height);flex-grow:1}@media (min-width: 960px){.VPNavBar.has-sidebar .content[data-v-7c1729ca]{position:relative;z-index:1;padding-right:32px;padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPNavBar.has-sidebar .content[data-v-7c1729ca]{padding-right:calc((100vw - var(--vp-layout-max-width)) / 2 + 32px);padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.content-body[data-v-7c1729ca]{display:grid;grid-template-columns:repeat(3,33.3333%);grid-template-rows:repeat(3,33%);height:calc(var(--vp-nav-height) - 1px);transition:background-color .5s}.content-body-left[data-v-7c1729ca]{display:flex;align-items:center;padding-left:10px;height:var(--vp-nav-height);border-right:1px solid var(--border-color)}.content-body-mid[data-v-7c1729ca]{display:flex;justify-content:flex-start;align-items:center;height:var(--vp-nav-height)}.content-body-right[data-v-7c1729ca]{display:flex;justify-content:center;align-items:center;height:var(--vp-nav-height);border-left:1px solid var(--border-color)}@media (min-width: 960px){.VPNavBar.has-sidebar .content-body[data-v-7c1729ca],.VPNavBar.fill .content-body[data-v-7c1729ca]{position:relative;background-color:var(--vp-nav-bg-color)}}.menu+.translations[data-v-7c1729ca]:before,.menu+.appearance[data-v-7c1729ca]:before,.menu+.social-links[data-v-7c1729ca]:before,.translations+.appearance[data-v-7c1729ca]:before,.appearance+.social-links[data-v-7c1729ca]:before{margin-right:8px;margin-left:8px;width:1px;height:24px;background-color:var(--vp-c-divider);content:""}.menu+.appearance[data-v-7c1729ca]:before,.translations+.appearance[data-v-7c1729ca]:before{margin-right:16px}.appearance+.social-links[data-v-7c1729ca]:before{margin-left:16px}.appearance[data-v-7c1729ca]{margin-left:16px}.social-links[data-v-7c1729ca]{margin-right:-8px}@media (min-width: 960px){.VPNavBar.has-sidebar .curtain[data-v-7c1729ca]{position:absolute;right:0;bottom:-31px;width:calc(100% - var(--vp-sidebar-width));height:32px}.VPNavBar.has-sidebar .curtain[data-v-7c1729ca]:before{display:block;width:100%;height:32px;background:linear-gradient(var(--vp-c-bg),transparent 70%);content:""}}@media (min-width: 1440px){.VPNavBar.has-sidebar .curtain[data-v-7c1729ca]{width:calc(100% - ((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width)))}}.Nav[data-v-19dffaed]{position:relative;top:0;left:0;z-index:99999;width:100%;height:var(--vp-nav-height);background-color:var(--vp-c-bg);border-bottom:1px solid var(--border-color);pointer-events:none}.VPNavScreen[data-v-19dffaed]{display:flex!important}@media (min-width: 960px){.Nav[data-v-19dffaed]{position:fixed}.Nav.no-sidebar[data-v-19dffaed]{-webkit-backdrop-filter:saturate(50%) blur(8px);backdrop-filter:saturate(50%) blur(8px)}}.footer[data-v-b0668316]{width:100%;padding:50px;background-color:var(--footer-color)}footer[data-v-b0668316]{text-align:center;color:var(--vp-c-text)}a[data-v-b0668316]{color:var(--vp-c-brand);font-weight:700}a[data-v-b0668316]:hover{text-decoration:none;color:var(--vp-c-hover)}.blogList[data-v-37cff8cf]{height:calc(100% - var(--vp-nav-height));display:grid;background-color:var(--vp-c-bg);grid-template-columns:repeat(3,33.33333%);grid-template-rows:repeat(3,25%)}.blog[data-v-37cff8cf]{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--vp-c-bg);border-bottom:1px solid var(--border-color);cursor:pointer}.title[data-v-37cff8cf]{position:relative;color:var(--vp-c-brand-light);font-size:1.2em;font-weight:700}.title[data-v-37cff8cf]:after{content:"";position:absolute;width:100%;transform:scaleX(0);height:2px;bottom:0;left:0;background-color:var(--vp-c-color-d);transform-origin:bottom right;transition:transform .25s ease-out}.blog:hover .title[data-v-37cff8cf]:after{transform:scaleX(1);transform-origin:bottom left}.date[data-v-37cff8cf]{padding-bottom:7px}.pagination[data-v-37cff8cf]{display:flex;align-items:center;justify-content:center;width:100%;height:60px;margin:0 auto;padding:12px 0;border-bottom:1px solid var(--border-color);background-color:var(--footer-color);position:relative}.pagination__button--prev-icon[data-v-37cff8cf],.pagination__button--next-icon[data-v-37cff8cf]{fill:#0f65ef}.pagination button[data-v-37cff8cf]{height:40px;width:40px;padding:12px;border:1px solid rgba(0,0,0,.2);text-decoration:none;color:#0f65ef;background:var(--btn-bg);transition:background-color .15s ease 0s}.left-btn[data-v-37cff8cf]{border-top-left-radius:3px;border-bottom-left-radius:3px}.right-btn[data-v-37cff8cf]{border-top-right-radius:3px;border-bottom-right-radius:3px}button[data-v-37cff8cf]:hover{transition:background-color .15s ease 0s;background-color:var(--btn-hover-bg)}.pageLocation[data-v-37cff8cf]{padding-left:1rem}.left[data-v-37cff8cf]{position:absolute;left:0}.right[data-v-37cff8cf]{position:absolute;right:0}.category[data-v-0f737ab8]{width:15rem;background:var(--vp-c-bg);color:var(--vp-c-brand-light);border-left:1px solid var(--border-color);overflow-y:auto;max-height:300px}.list[data-v-0f737ab8]{padding-left:1em;margin:.75rem 0;line-height:1.7;list-style-type:none;box-sizing:border-box}.showIndent[data-v-0f737ab8]{padding-left:1rem}ul[data-v-0f737ab8]{list-style-type:none}.header[data-v-0f737ab8]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 768px){.category[data-v-0f737ab8]{max-height:400px}}@media (min-width: 1024px){.category[data-v-0f737ab8]{max-height:450px}}@media (min-width: 1400px){.category[data-v-0f737ab8]{position:fixed;right:20px;max-height:490px}}.title[data-v-ac80d3c4]{color:var(--vp-c-text-1);font-weight:600;font-size:2.25em;margin-top:.3em;margin-bottom:.3em;line-height:1.3;font-family:Dosis,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.date[data-v-ac80d3c4]{font-size:.875rem;line-height:1.25rem;margin-bottom:1em;padding-bottom:1em;border-bottom:1px dashed #c7c7c7}.done[data-v-029789cf]{margin-bottom:20px}button[data-v-029789cf]{display:inline-block;position:relative;color:var(--vp-c-color-d);cursor:pointer;font-size:1.2em;font-weight:700}button[data-v-029789cf]:after{content:"";position:absolute;width:100%;transform:scaleX(0);height:2px;bottom:0;left:0;background-color:var(--vp-c-color-d);transform-origin:bottom right;transition:transform .25s ease-out}button[data-v-029789cf]:hover:after{transform:scaleX(1);transform-origin:bottom left}:root{--vp-c-brand: #3081f7;--vp-c-brand-light: #4e8ff1;--vp-c-brand-dark: #2275f1;--vp-c-hover: #212121;--vp-c-bg: #ffffff;--vp-c-bg-alpha-with-backdrop: rgba(250, 246, 241, .7);--vp-c-color-b: #26ccff;--vp-c-color-c: #0cb9ed;--vp-c-color-d: #2275f1;--vp-c-color-e: #3081f7;--vp-font-family-base: "LXGW WenKai Lite", "Inter var experimental", "Inter var", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;--vp-font-family-mono: "LXGW WenKai Mono Lite", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--vp-avator-border: #ffffff;--vp-nav-height: 60px;--footer-color: #f4f4f4;--border-color: rgba(0, 0, 0, .2);--btn-bg: #faf6f1;--btn-hover-bg: rgba(0, 0, 0, .2)}.dark{--vp-c-bg: #0e1117;--vp-c-text: white;--vp-c-hover: #ffffff;--vp-c-bg-alpha-with-backdrop: rgba(44, 54, 57, .7);--vp-avator-border: #3f4e4f;--border-color: #30363c;--btn-bg: #21262c;--btn-hover-bg: #30363d;--footer-color: #161b22}#app{min-height:100vh;position:relative}.theme{background-color:var(--vp-c-bg)}.vp-doc h2{margin-top:0;border-top:none}.VPDocOutlineDropdown{display:none!important}.VPHome{height:100vh;padding-bottom:var(--vp-nav-height)!important;background-color:var(--footer-color)}.VPNavBarTitle{padding-left:12px;font-weight:800;font-size:18px}.search-bar{margin-top:var(--vp-nav-height)}.DocSearch.DocSearch-Button{background-color:var(--vp-c-bg)}.VPNav{display:none}@media screen and (max-width: 990px){body{font-size:14px}}.VPLocalSearchBox[data-v-69102ba6]{position:fixed;z-index:100;top:0;right:0;bottom:0;left:0;display:flex}.backdrop[data-v-69102ba6]{position:absolute;top:0;right:0;bottom:0;left:0;background:var(--vp-backdrop-bg-color);transition:opacity .5s}.shell[data-v-69102ba6]{position:relative;padding:12px;margin:64px auto;display:flex;flex-direction:column;gap:16px;background:var(--vp-local-search-bg);width:min(100vw - 60px,900px);height:min-content;max-height:min(100vh - 128px,900px);border-radius:6px}@media (max-width: 767px){.shell[data-v-69102ba6]{margin:0;width:100vw;height:100vh;max-height:none;border-radius:0}}.search-bar[data-v-69102ba6]{border:1px solid var(--vp-c-divider);border-radius:4px;display:flex;align-items:center;padding:0 12px;cursor:text}@media (max-width: 767px){.search-bar[data-v-69102ba6]{padding:0 8px}}.search-bar[data-v-69102ba6]:focus-within{border-color:var(--vp-c-brand-1)}.local-search-icon[data-v-69102ba6]{display:block;font-size:18px}.navigate-icon[data-v-69102ba6]{display:block;font-size:14px}.search-icon[data-v-69102ba6]{margin:8px}@media (max-width: 767px){.search-icon[data-v-69102ba6]{display:none}}.search-input[data-v-69102ba6]{padding:6px 12px;font-size:inherit;width:100%}@media (max-width: 767px){.search-input[data-v-69102ba6]{padding:6px 4px}}.search-actions[data-v-69102ba6]{display:flex;gap:4px}@media (any-pointer: coarse){.search-actions[data-v-69102ba6]{gap:8px}}@media (min-width: 769px){.search-actions.before[data-v-69102ba6]{display:none}}.search-actions button[data-v-69102ba6]{padding:8px}.search-actions button[data-v-69102ba6]:not([disabled]):hover,.toggle-layout-button.detailed-list[data-v-69102ba6]{color:var(--vp-c-brand-1)}.search-actions button.clear-button[data-v-69102ba6]:disabled{opacity:.37}.search-keyboard-shortcuts[data-v-69102ba6]{font-size:.8rem;opacity:75%;display:flex;flex-wrap:wrap;gap:16px;line-height:14px}.search-keyboard-shortcuts span[data-v-69102ba6]{display:flex;align-items:center;gap:4px}@media (max-width: 767px){.search-keyboard-shortcuts[data-v-69102ba6]{display:none}}.search-keyboard-shortcuts kbd[data-v-69102ba6]{background:#8080801a;border-radius:4px;padding:3px 6px;min-width:24px;display:inline-block;text-align:center;vertical-align:middle;border:1px solid rgba(128,128,128,.15);box-shadow:0 2px 2px #0000001a}.results[data-v-69102ba6]{display:flex;flex-direction:column;gap:6px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.result[data-v-69102ba6]{display:flex;align-items:center;gap:8px;border-radius:4px;transition:none;line-height:1rem;border:solid 2px var(--vp-local-search-result-border);outline:none}.result>div[data-v-69102ba6]{margin:12px;width:100%;overflow:hidden}@media (max-width: 767px){.result>div[data-v-69102ba6]{margin:8px}}.titles[data-v-69102ba6]{display:flex;flex-wrap:wrap;gap:4px;position:relative;z-index:1001;padding:2px 0}.title[data-v-69102ba6]{display:flex;align-items:center;gap:4px}.title.main[data-v-69102ba6]{font-weight:500}.title-icon[data-v-69102ba6]{opacity:.5;font-weight:500;color:var(--vp-c-brand-1)}.title svg[data-v-69102ba6]{opacity:.5}.result.selected[data-v-69102ba6]{--vp-local-search-result-bg: var(--vp-local-search-result-selected-bg);border-color:var(--vp-local-search-result-selected-border)}.excerpt-wrapper[data-v-69102ba6]{position:relative}.excerpt[data-v-69102ba6]{opacity:75%;pointer-events:none;max-height:140px;overflow:hidden;position:relative;opacity:.5;margin-top:4px}.result.selected .excerpt[data-v-69102ba6]{opacity:1}.excerpt[data-v-69102ba6] *{font-size:.8rem!important;line-height:130%!important}.titles[data-v-69102ba6] mark,.excerpt[data-v-69102ba6] mark{background-color:var(--vp-local-search-highlight-bg);color:var(--vp-local-search-highlight-text);border-radius:2px;padding:0 2px}.excerpt[data-v-69102ba6] .vp-code-group .tabs{display:none}.excerpt[data-v-69102ba6] .vp-code-group div[class*=language-]{border-radius:8px!important}.excerpt-gradient-bottom[data-v-69102ba6]{position:absolute;bottom:-1px;left:0;width:100%;height:8px;background:linear-gradient(transparent,var(--vp-local-search-result-bg));z-index:1000}.excerpt-gradient-top[data-v-69102ba6]{position:absolute;top:-1px;left:0;width:100%;height:8px;background:linear-gradient(var(--vp-local-search-result-bg),transparent);z-index:1000}.result.selected .titles[data-v-69102ba6],.result.selected .title-icon[data-v-69102ba6]{color:var(--vp-c-brand-1)!important}.no-results[data-v-69102ba6]{font-size:.9rem;text-align:center;padding:12px}svg[data-v-69102ba6]{flex:none} diff --git a/assets/tags.md.CR6WL9Vp.js b/assets/tags.md.DodXQj0s.js similarity index 67% rename from assets/tags.md.CR6WL9Vp.js rename to assets/tags.md.DodXQj0s.js index 4319727..efd8b29 100644 --- a/assets/tags.md.CR6WL9Vp.js +++ b/assets/tags.md.DodXQj0s.js @@ -1 +1 @@ -import{_ as t,B as a,c as s,G as o,o as n}from"./chunks/framework.0rl6iKyO.js";const g=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"page","navbar":false},"headers":[],"relativePath":"tags.md","filePath":"tags.md"}'),r={name:"tags.md"};function c(p,_,l,d,m,i){const e=a("Tags",!0);return n(),s("div",null,[o(e)])}const u=t(r,[["render",c]]);export{g as __pageData,u as default}; +import{_ as t,D as a,c as s,I as o,o as n}from"./chunks/framework.CIgcugFM.js";const g=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"page","navbar":false},"headers":[],"relativePath":"tags.md","filePath":"tags.md"}'),r={name:"tags.md"};function c(p,_,l,d,m,i){const e=a("Tags",!0);return n(),s("div",null,[o(e)])}const u=t(r,[["render",c]]);export{g as __pageData,u as default}; diff --git a/assets/tags.md.CR6WL9Vp.lean.js b/assets/tags.md.DodXQj0s.lean.js similarity index 67% rename from assets/tags.md.CR6WL9Vp.lean.js rename to assets/tags.md.DodXQj0s.lean.js index 4319727..efd8b29 100644 --- a/assets/tags.md.CR6WL9Vp.lean.js +++ b/assets/tags.md.DodXQj0s.lean.js @@ -1 +1 @@ -import{_ as t,B as a,c as s,G as o,o as n}from"./chunks/framework.0rl6iKyO.js";const g=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"page","navbar":false},"headers":[],"relativePath":"tags.md","filePath":"tags.md"}'),r={name:"tags.md"};function c(p,_,l,d,m,i){const e=a("Tags",!0);return n(),s("div",null,[o(e)])}const u=t(r,[["render",c]]);export{g as __pageData,u as default}; +import{_ as t,D as a,c as s,I as o,o as n}from"./chunks/framework.CIgcugFM.js";const g=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"page","navbar":false},"headers":[],"relativePath":"tags.md","filePath":"tags.md"}'),r={name:"tags.md"};function c(p,_,l,d,m,i){const e=a("Tags",!0);return n(),s("div",null,[o(e)])}const u=t(r,[["render",c]]);export{g as __pageData,u as default}; diff --git a/hashmap.json b/hashmap.json index a6d8627..e5ca3ce 100644 --- a/hashmap.json +++ b/hashmap.json @@ -1 +1 @@ -{"archives.md":"DOQBzCh8","index.md":"CLIMg223","posts_javascript_js实现链式调用.md":"C0VngNUC","posts_javascript_原型、原型链.md":"_gB--bJr","posts_javascript_发布订阅与观察者模式.md":"BMIRw4ej","posts_react_如何封装自己的react hooks.md":"DW1oCiM8","posts_react_实现react组件的递归调用.md":"DYzuxZlR","posts_typescript_typescript中的问号.md":"D4bXVOn3","posts_typescript_【training】类型标记 pick 与 omit.md":"COzyRk_Q","posts_剪贴板_代码整洁之道.md":"Ci9Ui3U9","posts_打包、工程化_webpack工作流.md":"CGhQ8Sce","posts_算法_常用数组排序.md":"CdEF-vYz","readme.md":"k810ZWzy","tags.md":"CR6WL9Vp"} +{"archives.md":"BYQ5XYY0","index.md":"DGf5Jc6M","posts_javascript_js实现链式调用.md":"DOyKpAyx","posts_javascript_原型、原型链.md":"DBDWdTI_","posts_javascript_发布订阅与观察者模式.md":"BuZS-Pf5","posts_react_如何封装自己的react hooks.md":"DeK2NMUU","posts_react_实现react组件的递归调用.md":"CFjD5Eh2","posts_typescript_typescript中的问号.md":"DRDTHmzw","posts_typescript_【training】类型标记 pick 与 omit.md":"Dkcb9e_L","posts_剪贴板_代码整洁之道.md":"BrtJ0fSS","posts_打包、工程化_webpack工作流.md":"BfP_Egli","posts_算法_常用数组排序.md":"DhwUpopQ","readme.md":"DgO3P-U-","tags.md":"DodXQj0s"} diff --git a/index.html b/index.html index 03994b5..847d0d5 100644 --- a/index.html +++ b/index.html @@ -6,13 +6,13 @@ home | RuiLin Dong - + - + - - - + + + @@ -20,8 +20,8 @@ - - + + \ No newline at end of file diff --git "a/posts/JavaScript/js\345\256\236\347\216\260\351\223\276\345\274\217\350\260\203\347\224\250.html" "b/posts/JavaScript/js\345\256\236\347\216\260\351\223\276\345\274\217\350\260\203\347\224\250.html" index a3c201e..e1ca2d5 100644 --- "a/posts/JavaScript/js\345\256\236\347\216\260\351\223\276\345\274\217\350\260\203\347\224\250.html" +++ "b/posts/JavaScript/js\345\256\236\347\216\260\351\223\276\345\274\217\350\260\203\347\224\250.html" @@ -6,13 +6,13 @@ js实现链式调用 | RuiLin Dong - + - + - - - + + + @@ -20,7 +20,7 @@ -
Skip to content

js实现链式调用

🕒 Published at:

使用原生的js获取的DOM对象,只能使用一次addEventLisenter方法添加事件,如果要接着添加事件,还得再调用addEventLisenter。

js
var area = document.querySelector('.area');
+    
Skip to content

js实现链式调用

🕒 Published at:

使用原生的js获取的DOM对象,只能使用一次addEventLisenter方法添加事件,如果要接着添加事件,还得再调用addEventLisenter。

js
var area = document.querySelector('.area');
 area.addEventListener('mouseenter', function(){
     console.log( 'mouse enter' );
 });
@@ -47,8 +47,8 @@
     console.log( 'mouse enter' );
 }).method('click', function(){
     console.log( 'click' );
-})
--- Done ---
- +})
--- Done ---
+ \ No newline at end of file diff --git "a/posts/JavaScript/\345\216\237\345\236\213\343\200\201\345\216\237\345\236\213\351\223\276.html" "b/posts/JavaScript/\345\216\237\345\236\213\343\200\201\345\216\237\345\236\213\351\223\276.html" index 23b529b..3050cab 100644 --- "a/posts/JavaScript/\345\216\237\345\236\213\343\200\201\345\216\237\345\236\213\351\223\276.html" +++ "b/posts/JavaScript/\345\216\237\345\236\213\343\200\201\345\216\237\345\236\213\351\223\276.html" @@ -6,13 +6,13 @@ 原型原型链 | RuiLin Dong - + - + - - - + + + @@ -20,7 +20,7 @@ -
Skip to content

原型原型链

🕒 Published at:

一、原型prototype和__proto__

  • 每个对象都有一个__proto__属性,并且指向它的构造函数的prototype原型对象。
  • 每个构造函数都有一个prototype原型对象
    • prototype原型对象的constructor指向构造函数本身

对象是引用数据类型,对象中的__proto__属性中实际上是保存的构造函数的prototype的指针地址。

实例对象的__proto__指向构造函数的prototype,从而实现继承。

通过代码来验证:

javascript
function Person(name ,age) {
+    
Skip to content

原型原型链

🕒 Published at:

一、原型prototype和__proto__

  • 每个对象都有一个__proto__属性,并且指向它的构造函数的prototype原型对象。
  • 每个构造函数都有一个prototype原型对象
    • prototype原型对象的constructor指向构造函数本身

对象是引用数据类型,对象中的__proto__属性中实际上是保存的构造函数的prototype的指针地址。

实例对象的__proto__指向构造函数的prototype,从而实现继承。

通过代码来验证:

javascript
function Person(name ,age) {
     this.name = name
     this.age = age
 }
@@ -41,8 +41,8 @@
 
 arr.__proto__.__proto__ === Object.prototype //true
 
-Object.prototype.__proto__ === null //true

查找过程:

arr --> Array.prototype --> Object.prototype  --> null
--- Done ---
- +Object.prototype.__proto__ === null //true

查找过程:

arr --> Array.prototype --> Object.prototype  --> null
--- Done ---
+ \ No newline at end of file diff --git "a/posts/JavaScript/\345\217\221\345\270\203\350\256\242\351\230\205\344\270\216\350\247\202\345\257\237\350\200\205\346\250\241\345\274\217.html" "b/posts/JavaScript/\345\217\221\345\270\203\350\256\242\351\230\205\344\270\216\350\247\202\345\257\237\350\200\205\346\250\241\345\274\217.html" index 24622d6..2248afc 100644 --- "a/posts/JavaScript/\345\217\221\345\270\203\350\256\242\351\230\205\344\270\216\350\247\202\345\257\237\350\200\205\346\250\241\345\274\217.html" +++ "b/posts/JavaScript/\345\217\221\345\270\203\350\256\242\351\230\205\344\270\216\350\247\202\345\257\237\350\200\205\346\250\241\345\274\217.html" @@ -6,13 +6,13 @@ 发布订阅与观察者模式 | RuiLin Dong - + - + - - - + + + @@ -20,7 +20,7 @@ -
Skip to content

发布订阅与观察者模式

🕒 Published at:

在当前的 JavaScript 库中,发布订阅和观察者模式是非常常见的两种设计模式。

发布订阅模式

发布订阅模式主要分为两个部分 on (订阅) 与 emit (发布),on会把用户提供的回调函数保存,当 emit 时,执行用户的函数。

js
const e = {
+    
Skip to content

发布订阅与观察者模式

🕒 Published at:

在当前的 JavaScript 库中,发布订阅和观察者模式是非常常见的两种设计模式。

发布订阅模式

发布订阅模式主要分为两个部分 on (订阅) 与 emit (发布),on会把用户提供的回调函数保存,当 emit 时,执行用户的函数。

js
const e = {
     _obj:{},
     _callback:[],
     on(fn){
@@ -77,8 +77,8 @@
     bady.setState('不开心')
     // "爸爸,宝宝的心情是不开心"
     // "妈妈,宝宝的心情是不开心"
-}, 1000)

观察者模式中,观察者和被观察者之间是有关系的。当被观察者状态发生变化时,会通知所有的观察者。

--- Done ---
- +}, 1000)

观察者模式中,观察者和被观察者之间是有关系的。当被观察者状态发生变化时,会通知所有的观察者。

--- Done ---
+ \ No newline at end of file diff --git "a/posts/React/\345\246\202\344\275\225\345\260\201\350\243\205\350\207\252\345\267\261\347\232\204react hooks.html" "b/posts/React/\345\246\202\344\275\225\345\260\201\350\243\205\350\207\252\345\267\261\347\232\204react hooks.html" index 76b11af..74da153 100644 --- "a/posts/React/\345\246\202\344\275\225\345\260\201\350\243\205\350\207\252\345\267\261\347\232\204react hooks.html" +++ "b/posts/React/\345\246\202\344\275\225\345\260\201\350\243\205\350\207\252\345\267\261\347\232\204react hooks.html" @@ -6,13 +6,13 @@ 如何封装自己的react hooks | RuiLin Dong - + - + - - - + + + @@ -20,7 +20,7 @@ -
Skip to content

如何封装自己的react hooks

🕒 Published at:

通过自定义 Hook,可以将组件逻辑提取到可重用的函数中。

1、常用的一个hooks

官方中提供了几个内置的钩子,下面做下简单介绍

1.1 useState:状态

使用useState钩子,我们就可以给函数组件添加state了,例如点击按钮一下,count+1的操作:

javascript
const [count , setCount] = useState(0)
+    
Skip to content

如何封装自己的react hooks

🕒 Published at:

通过自定义 Hook,可以将组件逻辑提取到可重用的函数中。

1、常用的一个hooks

官方中提供了几个内置的钩子,下面做下简单介绍

1.1 useState:状态

使用useState钩子,我们就可以给函数组件添加state了,例如点击按钮一下,count+1的操作:

javascript
const [count , setCount] = useState(0)
 
 return (
     <>
@@ -61,8 +61,8 @@
         return () => window.removeEventListener('resize', resize);
     }, []);
     return size;
-}

3、总结

使用react hook可以做很多有意思的事情,这里我们也仅仅是举几个简单的例子,可以更好的理解hook的使用和react函数式编程的思想。

--- Done ---
- +}

3、总结

使用react hook可以做很多有意思的事情,这里我们也仅仅是举几个简单的例子,可以更好的理解hook的使用和react函数式编程的思想。

--- Done ---
+ \ No newline at end of file diff --git "a/posts/React/\345\256\236\347\216\260react\347\273\204\344\273\266\347\232\204\351\200\222\345\275\222\350\260\203\347\224\250.html" "b/posts/React/\345\256\236\347\216\260react\347\273\204\344\273\266\347\232\204\351\200\222\345\275\222\350\260\203\347\224\250.html" index 4b9597e..eebd285 100644 --- "a/posts/React/\345\256\236\347\216\260react\347\273\204\344\273\266\347\232\204\351\200\222\345\275\222\350\260\203\347\224\250.html" +++ "b/posts/React/\345\256\236\347\216\260react\347\273\204\344\273\266\347\232\204\351\200\222\345\275\222\350\260\203\347\224\250.html" @@ -6,13 +6,13 @@ 实现react组件的递归调用 | RuiLin Dong - + - + - - - + + + @@ -20,7 +20,7 @@ -
Skip to content

实现react组件的递归调用

🕒 Published at:

使用React来简单实现下组件的递归。在React可以通过props和children来向子组件传递信息,不过在这里大致的思路都是一样的。我们先定义一下要渲染的json结构:

js
list = [
+    
Skip to content

实现react组件的递归调用

🕒 Published at:

使用React来简单实现下组件的递归。在React可以通过props和children来向子组件传递信息,不过在这里大致的思路都是一样的。我们先定义一下要渲染的json结构:

js
list = [
     {
         name: '1',
         children: [
@@ -66,8 +66,8 @@
             }
         </div>
     )
-}

最后调用这个组件:

js
<Item>{this.list}</Item>
--- Done ---
- +}

最后调用这个组件:

js
<Item>{this.list}</Item>
--- Done ---
+ \ No newline at end of file diff --git "a/posts/TypeScript/TypeScript\344\270\255\347\232\204\351\227\256\345\217\267.html" "b/posts/TypeScript/TypeScript\344\270\255\347\232\204\351\227\256\345\217\267.html" index 579aebf..a3e5b31 100644 --- "a/posts/TypeScript/TypeScript\344\270\255\347\232\204\351\227\256\345\217\267.html" +++ "b/posts/TypeScript/TypeScript\344\270\255\347\232\204\351\227\256\345\217\267.html" @@ -6,13 +6,13 @@ TypeScript中的问号 | RuiLin Dong - + - + - - - + + + @@ -20,7 +20,7 @@ -
Skip to content

TypeScript中的问号

🕒 Published at:

当你链式的去调用对象的某个属性或者方法时,可能经常会见到 属性可能为 undefined 类似的错误。比如:

TypeScript
const x = nav.bar.show();

这里的访问链路上 nav bar show 任何一个为 undefined,程序就停止工作。

使用 ? 修改后:

TypeScript
const x = nav?.bar.show();

这里 ?. 的句法就是 Optional Chaining,在 TypeScript 3.7 中实现,目前 tc39 提案中处于 Stage 4 阶段。

Optional Chaining 在这里表示,如果 foo 是 null 或 undefined,整个语句不继续往后执行,直接返回 undefined。

作用范围 需要注意的是,?. 只作用于左边的对象。

所以可以这样来修正:

TypeScript
const x = nav?.bar?.show();

这样可以保障 nav bar 为空的情况下不报错。这体现了 optional property accesses 的功能。

Opptoinal call 对于方法也同样适用。

TypeScript
async function makeRequest(url: string, log?: (msg: string) => void) {
+    
Skip to content

TypeScript中的问号

🕒 Published at:

当你链式的去调用对象的某个属性或者方法时,可能经常会见到 属性可能为 undefined 类似的错误。比如:

TypeScript
const x = nav.bar.show();

这里的访问链路上 nav bar show 任何一个为 undefined,程序就停止工作。

使用 ? 修改后:

TypeScript
const x = nav?.bar.show();

这里 ?. 的句法就是 Optional Chaining,在 TypeScript 3.7 中实现,目前 tc39 提案中处于 Stage 4 阶段。

Optional Chaining 在这里表示,如果 foo 是 null 或 undefined,整个语句不继续往后执行,直接返回 undefined。

作用范围 需要注意的是,?. 只作用于左边的对象。

所以可以这样来修正:

TypeScript
const x = nav?.bar?.show();

这样可以保障 nav bar 为空的情况下不报错。这体现了 optional property accesses 的功能。

Opptoinal call 对于方法也同样适用。

TypeScript
async function makeRequest(url: string, log?: (msg: string) => void) {
   log?.(`Request started at ${new Date().toISOString()}`);
   // roughly equivalent to
   //   if (log != null) {
@@ -67,8 +67,8 @@
 > ""

在 TypeScript 中,你应该不会只看到这样的问号, 你也许还会看到 ?? 的用法,它是一个 nullish 合并运算符,是另一个即将到来的ECMAScript的功能。

此功能(??运算符)视为在处理 null 或 undefined 时“回退”到默认值的一种方式。当我们编写代码时:

TypeSCript
let x = foo ?? bar();

这是一种新的方式,当 foo 存在时将使用该值;但是当它是null 或 undefined,将使用 bar() 。

上面的代码等价于下面的代码。

TypeScript
let x = foo !== null && foo !== undefined ? foo : bar();

该 ?? 操作可替代的用途 || 尝试使用默认值时。例如,以下代码片段尝试获取上次保存的 localStorage(如果曾经保存过);但是,它有一个错误,因为它使用 ||.

TypeScript
function initializeAudio() {
   let volume = localStorage.volume || 0.5;
   // ...
-}

当 localStorage.volume 为 0,页面会设置为音量 0.5 这是意想不到的。 ?? 避免了一些意外情况 0NaN 以及 "" 被视为falsy值。

参考文献:

--- Done ---
- +}

当 localStorage.volume 为 0,页面会设置为音量 0.5 这是意想不到的。 ?? 避免了一些意外情况 0NaN 以及 "" 被视为falsy值。

参考文献:

--- Done ---
+ \ No newline at end of file diff --git "a/posts/TypeScript/\343\200\220Training\343\200\221\347\261\273\345\236\213\346\240\207\350\256\260 Pick \344\270\216 Omit.html" "b/posts/TypeScript/\343\200\220Training\343\200\221\347\261\273\345\236\213\346\240\207\350\256\260 Pick \344\270\216 Omit.html" index 100d2aa..cc43e54 100644 --- "a/posts/TypeScript/\343\200\220Training\343\200\221\347\261\273\345\236\213\346\240\207\350\256\260 Pick \344\270\216 Omit.html" +++ "b/posts/TypeScript/\343\200\220Training\343\200\221\347\261\273\345\236\213\346\240\207\350\256\260 Pick \344\270\216 Omit.html" @@ -6,13 +6,13 @@ 类型标记 Pick 与 Omit | RuiLin Dong - + - + - - - + + + @@ -20,7 +20,7 @@ -
Skip to content

类型标记 Pick 与 Omit

🕒 Published at:

Pick 与 Omit

typescript
interface Page {
+    
Skip to content

类型标记 Pick 与 Omit

🕒 Published at:

Pick 与 Omit

typescript
interface Page {
   id: number;
   title: string;
   author: string;
@@ -42,8 +42,8 @@
   // K 需要是 T 的子属性,可以是联合类型, 循环 K ,并赋值。
   [P in K]: T[P];
 };
-type myOmit<T, K extends keyof any> = Pick<T, Exclude<keyof T, K>>;

参考文献

--- Done ---
- +type myOmit<T, K extends keyof any> = Pick<T, Exclude<keyof T, K>>;

参考文献

--- Done ---
+ \ No newline at end of file diff --git "a/posts/\345\211\252\350\264\264\346\235\277/\344\273\243\347\240\201\346\225\264\346\264\201\344\271\213\351\201\223.html" "b/posts/\345\211\252\350\264\264\346\235\277/\344\273\243\347\240\201\346\225\264\346\264\201\344\271\213\351\201\223.html" index 8c0bc31..48d0e0b 100644 --- "a/posts/\345\211\252\350\264\264\346\235\277/\344\273\243\347\240\201\346\225\264\346\264\201\344\271\213\351\201\223.html" +++ "b/posts/\345\211\252\350\264\264\346\235\277/\344\273\243\347\240\201\346\225\264\346\264\201\344\271\213\351\201\223.html" @@ -6,13 +6,13 @@ 代码整洁之道 | RuiLin Dong - + - + - - - + + + @@ -20,7 +20,7 @@ -
Skip to content

代码整洁之道

🕒 Published at:

本文摘自字节教育 《一名合格前端工程师必备素质:代码整洁之道》

代码整洁有什么用?

  • 思路清晰,降低bug几率
  • 更容易维护,利于团队协作
  • 看起来舒服,提高效率 ...... 软件质量与代码整洁度成正比 --Robert.C.Martin

软件设计3R层次结构: readable, reusable, and refactorable 可读性、可重用性、可重构性 image.png 下面这些原则是作者提出的一些最佳实践,但不是强制约束

关于命名 1.使用有意义且易读的变量名

js
👎 const yyyymmdstr = moment().format("YYYY/MM/DD");
+    
Skip to content

代码整洁之道

🕒 Published at:

本文摘自字节教育 《一名合格前端工程师必备素质:代码整洁之道》

代码整洁有什么用?

  • 思路清晰,降低bug几率
  • 更容易维护,利于团队协作
  • 看起来舒服,提高效率 ...... 软件质量与代码整洁度成正比 --Robert.C.Martin

软件设计3R层次结构: readable, reusable, and refactorable 可读性、可重用性、可重构性 image.png 下面这些原则是作者提出的一些最佳实践,但不是强制约束

关于命名 1.使用有意义且易读的变量名

js
👎 const yyyymmdstr = moment().format("YYYY/MM/DD");
 
 👍 const currentDate = moment().format("YYYY/MM/DD");
 复制代码
@@ -537,8 +537,8 @@
         ├── index.js
         ├── Footer.jsx
         ├── Footer.scss
-        ├── Footer.test.jsx

参考文献:《代码整洁之道》

--- Done ---
- + ├── Footer.test.jsx

参考文献:《代码整洁之道》

--- Done ---
+ \ No newline at end of file diff --git "a/posts/\346\211\223\345\214\205\343\200\201\345\267\245\347\250\213\345\214\226/Webpack\345\267\245\344\275\234\346\265\201.html" "b/posts/\346\211\223\345\214\205\343\200\201\345\267\245\347\250\213\345\214\226/Webpack\345\267\245\344\275\234\346\265\201.html" index fc091c5..70832cc 100644 --- "a/posts/\346\211\223\345\214\205\343\200\201\345\267\245\347\250\213\345\214\226/Webpack\345\267\245\344\275\234\346\265\201.html" +++ "b/posts/\346\211\223\345\214\205\343\200\201\345\267\245\347\250\213\345\214\226/Webpack\345\267\245\344\275\234\346\265\201.html" @@ -6,13 +6,13 @@ Webpack工作流 | RuiLin Dong - + - + - - - + + + @@ -20,8 +20,8 @@ -
Skip to content

Webpack工作流

🕒 Published at:

Webpack

本质上,webpack 是一个用于现代 JavaScript 应用程序的 静态模块打包工具。当 webpack 处理应用程序时,它会在内部从一个或多个入口点构建一个 依赖图(dependency graph),然后将你项目中所需的每一个模块组合成一个或多个 bundles,它们均为静态资源,用于展示你的内容。

工作流

webpack 构建的核心任务是完成内容转化和资源合并。主要包含以下 3 个阶段:

  • 初始化阶段
    • 初始化参数:从配置文件、配置对象和Shell参数中读取并与默认参数进行合并,组合成最终使用的参数。
    • 创建编译对象:用上一步得到的参数创建 Compiler 对象。
    • 初始化编译环境:包括注入内置插件、注册各种模块工厂、初始化 RuleSet 集合、加载配置的插件等。
  • 构建阶段
    • 开始编译:执行 Compiler 对象的 run 方法,创建 Compilation 对象。
    • 确认编译入口:进入 entryOption 阶段,读取配置的 Entries,递归遍历所有的入口文件,调用 Compilation.addEntry 将入口文件转换为 Dependency 对象。
    • 编译模块: 调用 normalModule 中的 build 开启构建,从 entry 文件开始,调用 loader 对模块进行转译处理,然后调用 JS 解释器(acorn)将内容转化为 AST 对象,然后递归分析依赖,依次处理全部文件。
    • 完成模块编译:在上一步处理好所有模块后,得到模块编译产物和依赖关系图。
  • 生成阶段
    • 输出资源:根据入口和模块之间的依赖关系,组装成多个包含多个模块的 Chunk,再把每个 Chunk 转换成一个 Asset 加入到输出列表,这步是可以修改输出内容的最后机会。
    • 写入文件系统:确定好输出内容后,根据配置的 output 将内容写入文件系统。

深入

初始化阶段

简单说,初始化阶段的任务就是合并配置,并且生成 compiler 实例。

  • 将 process.args + webpack.config.js 合并成用户配置
  • 调用 validateSchema 校验配置
  • 调用 createCompiler 创建 Compiler 对象。
  • 遍历用户定义的 plugins 集合,执行插件的 apply 方法
  • 触发 environment 和 afterEnvironment 上注册的事件。
  • 调用 new WebpackOptionsApply().process 方法,加载各种内置插件
  • 触发 initialize 事件。

构建阶段

  • 在实例化 compiler 之后,执行 compiler.run()。
  • 执行 newCompilation 函数,调用 createCompilation 初始化 Compilation 对象。
  • 执行 _addEntryItem 将入口文件存入 this.entries(map 对象),遍历 this.entries 对象构建 chunk。
  • 执行 handleModuleCreation,开始创建模块实例。
  • 执行 moduleFactory.create 创建模块。
  • 执行 factory.hooks.factorize.call 钩子,然后会调用 ExternalModuleFactoryPlugin 中注册的钩子,用于配置外部文件的模块加载方式。
  • 使用 enhanced-resolve 解析模块和 loader 的真实绝对路径。
  • 执行 new NormalModule()创建 module 实例。
  • 执行 addModule,存储 module。
  • 执行 buildModule,添加模块到模块队列 buildQueue,开始构建模块, 这里会调用 normalModule 中的 build 开启构建。
  • 创建 loader 上下文。
  • 执行 runLoaders,通过 enhanced-resolve 解析得到的模块和 loader 的路径获取函数,执行 loader。
  • 生成模块的 hash。

生成阶段

  • 构建本次编译的 ChunkGraph 对象
  • 遍历 compilation.modules 集合,将 module 按 entry/动态引入 的规则分配给不同的 Chunk 对象
  • compilation.modules 集合遍历完毕后,得到完整的 chunks 集合对象
  • 遍历 module/chunk
  • 触发 seal 回调
--- Done ---
- +
Skip to content

Webpack工作流

🕒 Published at:

Webpack

本质上,webpack 是一个用于现代 JavaScript 应用程序的 静态模块打包工具。当 webpack 处理应用程序时,它会在内部从一个或多个入口点构建一个 依赖图(dependency graph),然后将你项目中所需的每一个模块组合成一个或多个 bundles,它们均为静态资源,用于展示你的内容。

工作流

webpack 构建的核心任务是完成内容转化和资源合并。主要包含以下 3 个阶段:

  • 初始化阶段
    • 初始化参数:从配置文件、配置对象和Shell参数中读取并与默认参数进行合并,组合成最终使用的参数。
    • 创建编译对象:用上一步得到的参数创建 Compiler 对象。
    • 初始化编译环境:包括注入内置插件、注册各种模块工厂、初始化 RuleSet 集合、加载配置的插件等。
  • 构建阶段
    • 开始编译:执行 Compiler 对象的 run 方法,创建 Compilation 对象。
    • 确认编译入口:进入 entryOption 阶段,读取配置的 Entries,递归遍历所有的入口文件,调用 Compilation.addEntry 将入口文件转换为 Dependency 对象。
    • 编译模块: 调用 normalModule 中的 build 开启构建,从 entry 文件开始,调用 loader 对模块进行转译处理,然后调用 JS 解释器(acorn)将内容转化为 AST 对象,然后递归分析依赖,依次处理全部文件。
    • 完成模块编译:在上一步处理好所有模块后,得到模块编译产物和依赖关系图。
  • 生成阶段
    • 输出资源:根据入口和模块之间的依赖关系,组装成多个包含多个模块的 Chunk,再把每个 Chunk 转换成一个 Asset 加入到输出列表,这步是可以修改输出内容的最后机会。
    • 写入文件系统:确定好输出内容后,根据配置的 output 将内容写入文件系统。

深入

初始化阶段

简单说,初始化阶段的任务就是合并配置,并且生成 compiler 实例。

  • 将 process.args + webpack.config.js 合并成用户配置
  • 调用 validateSchema 校验配置
  • 调用 createCompiler 创建 Compiler 对象。
  • 遍历用户定义的 plugins 集合,执行插件的 apply 方法
  • 触发 environment 和 afterEnvironment 上注册的事件。
  • 调用 new WebpackOptionsApply().process 方法,加载各种内置插件
  • 触发 initialize 事件。

构建阶段

  • 在实例化 compiler 之后,执行 compiler.run()。
  • 执行 newCompilation 函数,调用 createCompilation 初始化 Compilation 对象。
  • 执行 _addEntryItem 将入口文件存入 this.entries(map 对象),遍历 this.entries 对象构建 chunk。
  • 执行 handleModuleCreation,开始创建模块实例。
  • 执行 moduleFactory.create 创建模块。
  • 执行 factory.hooks.factorize.call 钩子,然后会调用 ExternalModuleFactoryPlugin 中注册的钩子,用于配置外部文件的模块加载方式。
  • 使用 enhanced-resolve 解析模块和 loader 的真实绝对路径。
  • 执行 new NormalModule()创建 module 实例。
  • 执行 addModule,存储 module。
  • 执行 buildModule,添加模块到模块队列 buildQueue,开始构建模块, 这里会调用 normalModule 中的 build 开启构建。
  • 创建 loader 上下文。
  • 执行 runLoaders,通过 enhanced-resolve 解析得到的模块和 loader 的路径获取函数,执行 loader。
  • 生成模块的 hash。

生成阶段

  • 构建本次编译的 ChunkGraph 对象
  • 遍历 compilation.modules 集合,将 module 按 entry/动态引入 的规则分配给不同的 Chunk 对象
  • compilation.modules 集合遍历完毕后,得到完整的 chunks 集合对象
  • 遍历 module/chunk
  • 触发 seal 回调
--- Done ---
+ \ No newline at end of file diff --git "a/posts/\347\256\227\346\263\225/\345\270\270\347\224\250\346\225\260\347\273\204\346\216\222\345\272\217.html" "b/posts/\347\256\227\346\263\225/\345\270\270\347\224\250\346\225\260\347\273\204\346\216\222\345\272\217.html" index d793371..5a84290 100644 --- "a/posts/\347\256\227\346\263\225/\345\270\270\347\224\250\346\225\260\347\273\204\346\216\222\345\272\217.html" +++ "b/posts/\347\256\227\346\263\225/\345\270\270\347\224\250\346\225\260\347\273\204\346\216\222\345\272\217.html" @@ -6,13 +6,13 @@ 常用数组排序 | RuiLin Dong - + - + - - - + + + @@ -20,7 +20,7 @@ -
Skip to content

常用数组排序

🕒 Published at:

常用数组排序

本文主要汇总一维数组排序相关的方法,以升序为例。

一、冒泡排序

步骤: 1、两个for遍历,使用两个指针,外循环i指针,内循环j指针 2、对比两个指针指向的元素大小,如果i>j,则进行值交换

代码如下:

javascript
let bubbleSort = function (arr) { 
+    
Skip to content

常用数组排序

🕒 Published at:

常用数组排序

本文主要汇总一维数组排序相关的方法,以升序为例。

一、冒泡排序

步骤: 1、两个for遍历,使用两个指针,外循环i指针,内循环j指针 2、对比两个指针指向的元素大小,如果i>j,则进行值交换

代码如下:

javascript
let bubbleSort = function (arr) { 
 
     //双指针
   for(let i = 0; i<arr.length; i++) {
@@ -73,8 +73,8 @@
     }
 
     return arr.sort((a,b)=>a-b)
-}
--- Done ---
- +}
--- Done ---
+ \ No newline at end of file diff --git a/tags.html b/tags.html index ee2f094..10e8ee0 100644 --- a/tags.html +++ b/tags.html @@ -6,13 +6,13 @@ RuiLin Dong - + - + - - - + + + @@ -20,8 +20,8 @@ -
Skip to content

Tags

模块化 1打包 1工程化 1TypeScript 2Training 1JavaScript 4设计模式 1剪贴板 1React 2排序 1
- +
Skip to content

Tags

模块化 1打包 1工程化 1TypeScript 2Training 1JavaScript 4设计模式 1剪贴板 1React 2排序 1
+ \ No newline at end of file