From 5316fcb0875dc4488c300ddbec8a90819f1977b5 Mon Sep 17 00:00:00 2001 From: snowykami Date: Sat, 17 Aug 2024 20:30:44 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20Liteyuki?= =?UTF-8?q?Studio/LiteyukiBot@502ccb46bb2b06dd19df28c8c39aad4b7f0aa8cf=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 404.html | 6 +++--- .../{404.html-DdCfjmWp.js => 404.html-B7cS_Uzo.js} | 2 +- ...html-PilqY3LB.js => agreement.html-BB_tMqLv.js} | 2 +- ...html-D-F3W29Z.js => agreement.html-CyWaegTw.js} | 2 +- assets/{app-17zF81Of.js => app-C58dQ12W.js} | 14 +++++++------- ...-DwsIe8eb.js => basic_command.html-DiJ5TjbZ.js} | 2 +- ...-BArWMQip.js => basic_command.html-oIcSdl_m.js} | 2 +- ...ig.html-BhHAL__Q.js => config.html-DyjodHjQ.js} | 2 +- ...ig.html-DFanaJbL.js => config.html-ytfTzOJk.js} | 2 +- ....html-C7of7arn.js => dev_comm.html-BQLvp5qR.js} | 2 +- ....html-CF6N6yl3.js => dev_comm.html-CIlYvSY4.js} | 2 +- ...tml-BP_dr0XI.js => dev_lyfunc.html-CH6hrgSC.js} | 2 +- ...tml-DPfdMzaU.js => dev_lyfunc.html-DJQEv_Ot.js} | 2 +- ...l-DXRMQUSw.js => dev_lyplugin.html-BBUkDcBL.js} | 2 +- ...l-BvZgbt9f.js => dev_lyplugin.html-DmJk7hsb.js} | 2 +- ...Y1X3Q.js => dev_resource_pack.html-DIkSF8C-.js} | 2 +- ...z38-_.js => dev_resource_pack.html-JcqyLzNA.js} | 2 +- ...-DP0HF9oY.js => extra_command.html-4LGVQEJ7.js} | 2 +- ...-CncZTWmX.js => extra_command.html-BVsr1WSx.js} | 2 +- ...ndq.html-CnB3XmyI.js => fandq.html-DjZsPJh9.js} | 2 +- ...ndq.html-Csuo_Aal.js => fandq.html-Dv-FlYfc.js} | 2 +- ...dex.html-DQMLi85J.js => index.html-AQfk4Yrn.js} | 2 +- ...dex.html-DlV1juqE.js => index.html-BPIKnUsh.js} | 2 +- ...dex.html-BZq03E42.js => index.html-Bvl3YK9w.js} | 2 +- ...dex.html-Djb6oiC9.js => index.html-C-sZzNPv.js} | 2 +- ...dex.html-D09FXCgT.js => index.html-C1ikm7gY.js} | 2 +- ...dex.html-BawXxKPX.js => index.html-Cqq_dMyq.js} | 2 +- ...dex.html-C-tqsrYZ.js => index.html-Cx_JITyM.js} | 2 +- ...dex.html-UmXmqjtQ.js => index.html-DC4f89rn.js} | 2 +- ...dex.html-BW5Zt-o6.js => index.html-DhYJEioj.js} | 2 +- ...dex.html-CKbFH95_.js => index.html-i3pkgDBa.js} | 2 +- ...l.html-D5T2xzzA.js => install.html-B_0ybvg0.js} | 2 +- ...l.html-Dg4nKUEY.js => install.html-D5s_G2CO.js} | 2 +- ...in.html-BfdgStdM.js => plugin.html-BwSVlp5P.js} | 2 +- ...in.html-zKtPsyPJ.js => plugin.html-DS2xoHRg.js} | 2 +- ....html-DdzlogdB.js => resource.html-CLUffFo6.js} | 2 +- ....html-cDb3jGqd.js => resource.html-CMHJaxPw.js} | 2 +- deploy/config.html | 6 +++--- deploy/fandq.html | 6 +++--- deploy/index.html | 6 +++--- deploy/install.html | 6 +++--- dev/dev_comm.html | 6 +++--- dev/dev_lyfunc.html | 6 +++--- dev/dev_lyplugin.html | 6 +++--- dev/dev_resource_pack.html | 6 +++--- dev/index.html | 6 +++--- en/deploy/config.html | 6 +++--- en/deploy/fandq.html | 6 +++--- en/deploy/index.html | 6 +++--- en/deploy/install.html | 6 +++--- en/dev/dev_comm.html | 6 +++--- en/dev/dev_lyfunc.html | 6 +++--- en/dev/dev_lyplugin.html | 6 +++--- en/dev/dev_resource_pack.html | 6 +++--- en/dev/index.html | 6 +++--- en/index.html | 6 +++--- en/store/index.html | 6 +++--- en/store/plugin.html | 6 +++--- en/store/resource.html | 6 +++--- en/usage/agreement.html | 6 +++--- en/usage/basic_command.html | 6 +++--- en/usage/extra_command.html | 6 +++--- en/usage/index.html | 6 +++--- index.html | 6 +++--- store/index.html | 6 +++--- store/plugin.html | 6 +++--- store/resource.html | 6 +++--- usage/agreement.html | 6 +++--- usage/basic_command.html | 6 +++--- usage/extra_command.html | 6 +++--- usage/index.html | 6 +++--- 71 files changed, 147 insertions(+), 147 deletions(-) rename assets/{404.html-DdCfjmWp.js => 404.html-B7cS_Uzo.js} (93%) rename assets/{agreement.html-PilqY3LB.js => agreement.html-BB_tMqLv.js} (98%) rename assets/{agreement.html-D-F3W29Z.js => agreement.html-CyWaegTw.js} (98%) rename assets/{app-17zF81Of.js => app-C58dQ12W.js} (94%) rename assets/{basic_command.html-DwsIe8eb.js => basic_command.html-DiJ5TjbZ.js} (99%) rename assets/{basic_command.html-BArWMQip.js => basic_command.html-oIcSdl_m.js} (99%) rename assets/{config.html-BhHAL__Q.js => config.html-DyjodHjQ.js} (99%) rename assets/{config.html-DFanaJbL.js => config.html-ytfTzOJk.js} (99%) rename assets/{dev_comm.html-C7of7arn.js => dev_comm.html-BQLvp5qR.js} (99%) rename assets/{dev_comm.html-CF6N6yl3.js => dev_comm.html-CIlYvSY4.js} (99%) rename assets/{dev_lyfunc.html-BP_dr0XI.js => dev_lyfunc.html-CH6hrgSC.js} (99%) rename assets/{dev_lyfunc.html-DPfdMzaU.js => dev_lyfunc.html-DJQEv_Ot.js} (99%) rename assets/{dev_lyplugin.html-DXRMQUSw.js => dev_lyplugin.html-BBUkDcBL.js} (99%) rename assets/{dev_lyplugin.html-BvZgbt9f.js => dev_lyplugin.html-DmJk7hsb.js} (99%) rename assets/{dev_resource_pack.html-DHDY1X3Q.js => dev_resource_pack.html-DIkSF8C-.js} (99%) rename assets/{dev_resource_pack.html-BqVz38-_.js => dev_resource_pack.html-JcqyLzNA.js} (99%) rename assets/{extra_command.html-DP0HF9oY.js => extra_command.html-4LGVQEJ7.js} (99%) rename assets/{extra_command.html-CncZTWmX.js => extra_command.html-BVsr1WSx.js} (99%) rename assets/{fandq.html-CnB3XmyI.js => fandq.html-DjZsPJh9.js} (99%) rename assets/{fandq.html-Csuo_Aal.js => fandq.html-Dv-FlYfc.js} (99%) rename assets/{index.html-DQMLi85J.js => index.html-AQfk4Yrn.js} (95%) rename assets/{index.html-DlV1juqE.js => index.html-BPIKnUsh.js} (95%) rename assets/{index.html-BZq03E42.js => index.html-Bvl3YK9w.js} (98%) rename assets/{index.html-Djb6oiC9.js => index.html-C-sZzNPv.js} (98%) rename assets/{index.html-D09FXCgT.js => index.html-C1ikm7gY.js} (95%) rename assets/{index.html-BawXxKPX.js => index.html-Cqq_dMyq.js} (96%) rename assets/{index.html-C-tqsrYZ.js => index.html-Cx_JITyM.js} (95%) rename assets/{index.html-UmXmqjtQ.js => index.html-DC4f89rn.js} (95%) rename assets/{index.html-BW5Zt-o6.js => index.html-DhYJEioj.js} (95%) rename assets/{index.html-CKbFH95_.js => index.html-i3pkgDBa.js} (95%) rename assets/{install.html-D5T2xzzA.js => install.html-B_0ybvg0.js} (99%) rename assets/{install.html-Dg4nKUEY.js => install.html-D5s_G2CO.js} (99%) rename assets/{plugin.html-BfdgStdM.js => plugin.html-BwSVlp5P.js} (96%) rename assets/{plugin.html-zKtPsyPJ.js => plugin.html-DS2xoHRg.js} (96%) rename assets/{resource.html-DdzlogdB.js => resource.html-CLUffFo6.js} (96%) rename assets/{resource.html-cDb3jGqd.js => resource.html-CMHJaxPw.js} (96%) diff --git a/404.html b/404.html index 4682c06c..3e332120 100644 --- a/404.html +++ b/404.html @@ -30,11 +30,11 @@ LiteyukiBot 轻雪机器人 - - + +
跳至主要內容
- + diff --git a/assets/404.html-DdCfjmWp.js b/assets/404.html-B7cS_Uzo.js similarity index 93% rename from assets/404.html-DdCfjmWp.js rename to assets/404.html-B7cS_Uzo.js index d120d9e5..55df4165 100644 --- a/assets/404.html-DdCfjmWp.js +++ b/assets/404.html-B7cS_Uzo.js @@ -1 +1 @@ -import{_ as t,o as e,c as o,b as n}from"./app-17zF81Of.js";const a={},r=n("p",null,"404 Not Found",-1),s=[r];function c(p,i){return e(),o("div",null,s)}const d=t(a,[["render",c],["__file","404.html.vue"]]),m=JSON.parse('{"path":"/404.html","title":"","lang":"zh-CN","frontmatter":{"layout":"NotFound","description":"404 Not Found","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/404.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:description","content":"404 Not Found"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"\\",\\"description\\":\\"404 Not Found\\"}"]]},"headers":[],"git":{},"readingTime":{"minutes":0.01,"words":3},"filePathRelative":null,"autoDesc":true}');export{d as comp,m as data}; +import{_ as t,o as e,c as o,b as n}from"./app-C58dQ12W.js";const a={},r=n("p",null,"404 Not Found",-1),s=[r];function c(p,i){return e(),o("div",null,s)}const d=t(a,[["render",c],["__file","404.html.vue"]]),m=JSON.parse('{"path":"/404.html","title":"","lang":"zh-CN","frontmatter":{"layout":"NotFound","description":"404 Not Found","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/404.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:description","content":"404 Not Found"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"\\",\\"description\\":\\"404 Not Found\\"}"]]},"headers":[],"git":{},"readingTime":{"minutes":0.01,"words":3},"filePathRelative":null,"autoDesc":true}');export{d as comp,m as data}; diff --git a/assets/agreement.html-PilqY3LB.js b/assets/agreement.html-BB_tMqLv.js similarity index 98% rename from assets/agreement.html-PilqY3LB.js rename to assets/agreement.html-BB_tMqLv.js index bb13e341..fa3dd632 100644 --- a/assets/agreement.html-PilqY3LB.js +++ b/assets/agreement.html-BB_tMqLv.js @@ -1 +1 @@ -import{_ as e,o as t,c as o,e as a}from"./app-17zF81Of.js";const r={},i=a("
  1. 本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息
  2. 你可以选择开启auto_report(默认开启),轻雪会收集以下内容
    • 运行环境的设备信息:CPU,内存,系统信息及Python信息
    • 插件信息(不含插件数据)
    • 部分异常信息,
    • 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务器,若你不希望提供这些信息,可以在配置文件中把auto_report设定为false
  3. 本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性
  4. 使用此项目代表你已经同意以上协议
",1),n=[i];function l(c,m){return t(),o("div",null,n)}const s=e(r,[["render",l],["__file","agreement.html.vue"]]),d=JSON.parse('{"path":"/usage/agreement.html","title":"用户协议","lang":"zh-CN","frontmatter":{"title":"用户协议","icon":"user-secret","order":3,"category":"使用手册","description":"本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息 你可以选择开启auto_report(默认开启),轻雪会收集以下内容 运行环境的设备信息:CPU,内存,系统信息及Python信息 插件信息(不含插件数据) 部分异常信息, 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/usage/agreement.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/agreement.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"用户协议"}],["meta",{"property":"og:description","content":"本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息 你可以选择开启auto_report(默认开启),轻雪会收集以下内容 运行环境的设备信息:CPU,内存,系统信息及Python信息 插件信息(不含插件数据) 部分异常信息, 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-07-20T16:40:55.000Z"}],["meta",{"property":"article:modified_time","content":"2024-07-20T16:40:55.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"用户协议\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-07-20T16:40:55.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1711621856000,"updatedTime":1721493655000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":3},{"name":"Nanaloveyuki","email":"miaomiao_159@outlook.com","commits":1}]},"readingTime":{"minutes":0.76,"words":227},"filePathRelative":"usage/agreement.md","localizedDate":"2024年3月28日","autoDesc":true}');export{s as comp,d as data}; +import{_ as e,o as t,c as o,e as a}from"./app-C58dQ12W.js";const r={},i=a("
  1. 本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息
  2. 你可以选择开启auto_report(默认开启),轻雪会收集以下内容
    • 运行环境的设备信息:CPU,内存,系统信息及Python信息
    • 插件信息(不含插件数据)
    • 部分异常信息,
    • 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务器,若你不希望提供这些信息,可以在配置文件中把auto_report设定为false
  3. 本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性
  4. 使用此项目代表你已经同意以上协议
",1),n=[i];function l(c,m){return t(),o("div",null,n)}const s=e(r,[["render",l],["__file","agreement.html.vue"]]),d=JSON.parse('{"path":"/usage/agreement.html","title":"用户协议","lang":"zh-CN","frontmatter":{"title":"用户协议","icon":"user-secret","order":3,"category":"使用手册","description":"本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息 你可以选择开启auto_report(默认开启),轻雪会收集以下内容 运行环境的设备信息:CPU,内存,系统信息及Python信息 插件信息(不含插件数据) 部分异常信息, 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/usage/agreement.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/agreement.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"用户协议"}],["meta",{"property":"og:description","content":"本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息 你可以选择开启auto_report(默认开启),轻雪会收集以下内容 运行环境的设备信息:CPU,内存,系统信息及Python信息 插件信息(不含插件数据) 部分异常信息, 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-07-20T16:40:55.000Z"}],["meta",{"property":"article:modified_time","content":"2024-07-20T16:40:55.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"用户协议\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-07-20T16:40:55.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1711621856000,"updatedTime":1721493655000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":3},{"name":"Nanaloveyuki","email":"miaomiao_159@outlook.com","commits":1}]},"readingTime":{"minutes":0.76,"words":227},"filePathRelative":"usage/agreement.md","localizedDate":"2024年3月28日","autoDesc":true}');export{s as comp,d as data}; diff --git a/assets/agreement.html-D-F3W29Z.js b/assets/agreement.html-CyWaegTw.js similarity index 98% rename from assets/agreement.html-D-F3W29Z.js rename to assets/agreement.html-CyWaegTw.js index 982023b0..57ec245a 100644 --- a/assets/agreement.html-D-F3W29Z.js +++ b/assets/agreement.html-CyWaegTw.js @@ -1 +1 @@ -import{_ as e,o as t,c as o,e as r}from"./app-17zF81Of.js";const a={},n=r("
  1. 本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息
  2. 你可以选择开启auto_report(默认开启),轻雪会收集以下内容
    • 运行环境的设备信息:CPU,内存,系统信息及Python信息
    • 插件信息(不含插件数据)
    • 部分异常信息,
    • 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务器,若你不希望提供这些信息,可以在配置文件中把auto_report设定为false
  3. 本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性
  4. 使用此项目代表你已经同意以上协议
",1),i=[n];function l(c,s){return t(),o("div",null,i)}const p=e(a,[["render",l],["__file","agreement.html.vue"]]),d=JSON.parse('{"path":"/en/usage/agreement.html","title":"User Agreement","lang":"en-US","frontmatter":{"title":"User Agreement","icon":"user-secret","order":3,"category":"usage","description":"本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息 你可以选择开启auto_report(默认开启),轻雪会收集以下内容 运行环境的设备信息:CPU,内存,系统信息及Python信息 插件信息(不含插件数据) 部分异常信息, 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/agreement.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/usage/agreement.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"User Agreement"}],["meta",{"property":"og:description","content":"本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息 你可以选择开启auto_report(默认开启),轻雪会收集以下内容 运行环境的设备信息:CPU,内存,系统信息及Python信息 插件信息(不含插件数据) 部分异常信息, 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"User Agreement\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.74,"words":222},"filePathRelative":"en/usage/agreement.md","localizedDate":"August 16, 2024","autoDesc":true}');export{p as comp,d as data}; +import{_ as e,o as t,c as o,e as r}from"./app-C58dQ12W.js";const a={},n=r("
  1. 本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息
  2. 你可以选择开启auto_report(默认开启),轻雪会收集以下内容
    • 运行环境的设备信息:CPU,内存,系统信息及Python信息
    • 插件信息(不含插件数据)
    • 部分异常信息,
    • 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务器,若你不希望提供这些信息,可以在配置文件中把auto_report设定为false
  3. 本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性
  4. 使用此项目代表你已经同意以上协议
",1),i=[n];function l(c,s){return t(),o("div",null,i)}const p=e(a,[["render",l],["__file","agreement.html.vue"]]),d=JSON.parse('{"path":"/en/usage/agreement.html","title":"User Agreement","lang":"en-US","frontmatter":{"title":"User Agreement","icon":"user-secret","order":3,"category":"usage","description":"本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息 你可以选择开启auto_report(默认开启),轻雪会收集以下内容 运行环境的设备信息:CPU,内存,系统信息及Python信息 插件信息(不含插件数据) 部分异常信息, 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/agreement.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/usage/agreement.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"User Agreement"}],["meta",{"property":"og:description","content":"本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息 你可以选择开启auto_report(默认开启),轻雪会收集以下内容 运行环境的设备信息:CPU,内存,系统信息及Python信息 插件信息(不含插件数据) 部分异常信息, 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"User Agreement\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.74,"words":222},"filePathRelative":"en/usage/agreement.md","localizedDate":"August 16, 2024","autoDesc":true}');export{p as comp,d as data}; diff --git a/assets/app-17zF81Of.js b/assets/app-C58dQ12W.js similarity index 94% rename from assets/app-17zF81Of.js rename to assets/app-C58dQ12W.js index 0ab500f4..ec55d696 100644 --- a/assets/app-17zF81Of.js +++ b/assets/app-C58dQ12W.js @@ -12,22 +12,22 @@ function __vite__mapDeps(indexes) { * @vue/reactivity v3.4.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let nt;class wf{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=nt,!t&&nt&&(this.index=(nt.scopes||(nt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=nt;try{return nt=this,t()}finally{nt=n}}}on(){nt=this}off(){nt=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),vn()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Ut,n=un;try{return Ut=!0,un=this,this._runnings++,_s(this),this.fn()}finally{ws(this),this._runnings--,un=n,Ut=t}}stop(){var t;this.active&&(_s(this),ws(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Cf(e){return e.value}function _s(e){e._trackId++,e._depsLength=0}function ws(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},lo=new WeakMap,fn=Symbol(""),al=Symbol("");function Ze(e,t,n){if(Ut&&un){let r=lo.get(e);r||lo.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=ca(()=>r.delete(n))),ia(un,o)}}function At(e,t,n,r,o,l){const s=lo.get(e);if(!s)return;let i=[];if(t==="clear")i=[...s.values()];else if(n==="length"&&oe(e)){const a=Number(r);s.forEach((c,u)=>{(u==="length"||!zn(u)&&u>=a)&&i.push(c)})}else switch(n!==void 0&&i.push(s.get(n)),t){case"add":oe(e)?Rl(n)&&i.push(s.get("length")):(i.push(s.get(fn)),Ln(e)&&i.push(s.get(al)));break;case"delete":oe(e)||(i.push(s.get(fn)),Ln(e)&&i.push(s.get(al)));break;case"set":Ln(e)&&i.push(s.get(fn));break}Fl();for(const a of i)a&&aa(a,4);jl()}function xf(e,t){var n;return(n=lo.get(e))==null?void 0:n.get(t)}const Sf=Ol("__proto__,__v_isRef,__isVue"),ua=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(zn)),Es=Tf();function Tf(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=fe(this);for(let l=0,s=this.length;l{e[t]=function(...n){hn(),Fl();const r=fe(this)[t].apply(this,n);return jl(),vn(),r}}),e}function Lf(e){const t=fe(this);return Ze(t,"has",e),t.hasOwnProperty(e)}class fa{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const o=this._isReadonly,l=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return l;if(n==="__v_raw")return r===(o?l?Bf:va:l?ha:pa).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const s=oe(t);if(!o){if(s&&he(Es,n))return Reflect.get(Es,n,r);if(n==="hasOwnProperty")return Lf}const i=Reflect.get(t,n,r);return(zn(n)?ua.has(n):Sf(n))||(o||Ze(t,"get",n),l)?i:Me(i)?s&&Rl(n)?i:i.value:we(i)?o?xr(i):Cr(i):i}}class da extends fa{constructor(t=!1){super(!1,t)}set(t,n,r,o){let l=t[n];if(!this._isShallow){const a=Nn(l);if(!so(r)&&!Nn(r)&&(l=fe(l),r=fe(r)),!oe(t)&&Me(l)&&!Me(r))return a?!1:(l.value=r,!0)}const s=oe(t)&&Rl(n)?Number(n)e,go=e=>Reflect.getPrototypeOf(e);function jr(e,t,n=!1,r=!1){e=e.__v_raw;const o=fe(e),l=fe(t);n||(Wt(t,l)&&Ze(o,"get",t),Ze(o,"get",l));const{has:s}=go(o),i=r?Hl:n?zl:cr;if(s.call(o,t))return i(e.get(t));if(s.call(o,l))return i(e.get(l));e!==o&&e.get(t)}function Hr(e,t=!1){const n=this.__v_raw,r=fe(n),o=fe(e);return t||(Wt(e,o)&&Ze(r,"has",e),Ze(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Br(e,t=!1){return e=e.__v_raw,!t&&Ze(fe(e),"iterate",fn),Reflect.get(e,"size",e)}function ks(e){e=fe(e);const t=fe(this);return go(t).has.call(t,e)||(t.add(e),At(t,"add",e,e)),this}function Cs(e,t){t=fe(t);const n=fe(this),{has:r,get:o}=go(n);let l=r.call(n,e);l||(e=fe(e),l=r.call(n,e));const s=o.call(n,e);return n.set(e,t),l?Wt(t,s)&&At(n,"set",e,t):At(n,"add",e,t),this}function xs(e){const t=fe(this),{has:n,get:r}=go(t);let o=n.call(t,e);o||(e=fe(e),o=n.call(t,e)),r&&r.call(t,e);const l=t.delete(e);return o&&At(t,"delete",e,void 0),l}function Ss(){const e=fe(this),t=e.size!==0,n=e.clear();return t&&At(e,"clear",void 0,void 0),n}function Vr(e,t){return function(r,o){const l=this,s=l.__v_raw,i=fe(s),a=t?Hl:e?zl:cr;return!e&&Ze(i,"iterate",fn),s.forEach((c,u)=>r.call(o,a(c),a(u),l))}}function zr(e,t,n){return function(...r){const o=this.__v_raw,l=fe(o),s=Ln(l),i=e==="entries"||e===Symbol.iterator&&s,a=e==="keys"&&s,c=o[e](...r),u=n?Hl:t?zl:cr;return!t&&Ze(l,"iterate",a?al:fn),{next(){const{value:d,done:p}=c.next();return p?{value:d,done:p}:{value:i?[u(d[0]),u(d[1])]:u(d),done:p}},[Symbol.iterator](){return this}}}}function Pt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function $f(){const e={get(l){return jr(this,l)},get size(){return Br(this)},has:Hr,add:ks,set:Cs,delete:xs,clear:Ss,forEach:Vr(!1,!1)},t={get(l){return jr(this,l,!1,!0)},get size(){return Br(this)},has:Hr,add:ks,set:Cs,delete:xs,clear:Ss,forEach:Vr(!1,!0)},n={get(l){return jr(this,l,!0)},get size(){return Br(this,!0)},has(l){return Hr.call(this,l,!0)},add:Pt("add"),set:Pt("set"),delete:Pt("delete"),clear:Pt("clear"),forEach:Vr(!0,!1)},r={get(l){return jr(this,l,!0,!0)},get size(){return Br(this,!0)},has(l){return Hr.call(this,l,!0)},add:Pt("add"),set:Pt("set"),delete:Pt("delete"),clear:Pt("clear"),forEach:Vr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(l=>{e[l]=zr(l,!1,!1),n[l]=zr(l,!0,!1),t[l]=zr(l,!1,!0),r[l]=zr(l,!0,!0)}),[e,n,t,r]}const[Rf,Mf,Nf,Df]=$f();function Bl(e,t){const n=t?e?Df:Nf:e?Mf:Rf;return(r,o,l)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(he(n,o)&&o in r?n:r,o,l)}const Ff={get:Bl(!1,!1)},jf={get:Bl(!1,!0)},Hf={get:Bl(!0,!1)},pa=new WeakMap,ha=new WeakMap,va=new WeakMap,Bf=new WeakMap;function Vf(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function zf(e){return e.__v_skip||!Object.isExtensible(e)?0:Vf(ff(e))}function Cr(e){return Nn(e)?e:Vl(e,!1,If,Ff,pa)}function ma(e){return Vl(e,!1,Pf,jf,ha)}function xr(e){return Vl(e,!0,Of,Hf,va)}function Vl(e,t,n,r,o){if(!we(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const l=o.get(e);if(l)return l;const s=zf(e);if(s===0)return e;const i=new Proxy(e,s===2?r:n);return o.set(e,i),i}function In(e){return Nn(e)?In(e.__v_raw):!!(e&&e.__v_isReactive)}function Nn(e){return!!(e&&e.__v_isReadonly)}function so(e){return!!(e&&e.__v_isShallow)}function ga(e){return In(e)||Nn(e)}function fe(e){const t=e&&e.__v_raw;return t?fe(t):e}function ya(e){return Object.isExtensible(e)&&oo(e,"__v_skip",!0),e}const cr=e=>we(e)?Cr(e):e,zl=e=>we(e)?xr(e):e;class ba{constructor(t,n,r,o){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Dl(()=>t(this._value),()=>er(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=fe(this);return(!t._cacheable||t.effect.dirty)&&Wt(t._value,t._value=t.effect.run())&&er(t,4),Ul(t),t.effect._dirtyLevel>=2&&er(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Uf(e,t,n=!1){let r,o;const l=ae(e);return l?(r=e,o=at):(r=e.get,o=e.set),new ba(r,o,l||!o,n)}function Ul(e){var t;Ut&&un&&(e=fe(e),ia(un,(t=e.dep)!=null?t:e.dep=ca(()=>e.dep=void 0,e instanceof ba?e:void 0)))}function er(e,t=4,n){e=fe(e);const r=e.dep;r&&aa(r,t)}function Me(e){return!!(e&&e.__v_isRef===!0)}function Y(e){return _a(e,!1)}function Fe(e){return _a(e,!0)}function _a(e,t){return Me(e)?e:new qf(e,t)}class qf{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:fe(t),this._value=n?t:cr(t)}get value(){return Ul(this),this._value}set value(t){const n=this.__v_isShallow||so(t)||Nn(t);t=n?t:fe(t),Wt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:cr(t),er(this,4))}}function rt(e){return Me(e)?e.value:e}const Wf={get:(e,t,n)=>rt(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Me(o)&&!Me(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function wa(e){return In(e)?e:new Proxy(e,Wf)}class Gf{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Ul(this),()=>er(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function ql(e){return new Gf(e)}function Kf(e){const t=oe(e)?new Array(e.length):{};for(const n in e)t[n]=Ea(e,n);return t}class Yf{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 xf(fe(this._object),this._key)}}class Qf{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function yo(e,t,n){return Me(e)?e:ae(e)?new Qf(e):we(e)&&arguments.length>1?Ea(e,t,n):Y(e)}function Ea(e,t,n){const r=e[t];return Me(r)?r:new Yf(e,t,n)}/** +**/let nt;class wf{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=nt,!t&&nt&&(this.index=(nt.scopes||(nt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=nt;try{return nt=this,t()}finally{nt=n}}}on(){nt=this}off(){nt=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),vn()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Ut,n=un;try{return Ut=!0,un=this,this._runnings++,_s(this),this.fn()}finally{ws(this),this._runnings--,un=n,Ut=t}}stop(){var t;this.active&&(_s(this),ws(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Cf(e){return e.value}function _s(e){e._trackId++,e._depsLength=0}function ws(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},lo=new WeakMap,fn=Symbol(""),al=Symbol("");function Ze(e,t,n){if(Ut&&un){let r=lo.get(e);r||lo.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=ca(()=>r.delete(n))),ia(un,o)}}function At(e,t,n,r,o,l){const s=lo.get(e);if(!s)return;let i=[];if(t==="clear")i=[...s.values()];else if(n==="length"&&oe(e)){const a=Number(r);s.forEach((c,u)=>{(u==="length"||!zn(u)&&u>=a)&&i.push(c)})}else switch(n!==void 0&&i.push(s.get(n)),t){case"add":oe(e)?Rl(n)&&i.push(s.get("length")):(i.push(s.get(fn)),Ln(e)&&i.push(s.get(al)));break;case"delete":oe(e)||(i.push(s.get(fn)),Ln(e)&&i.push(s.get(al)));break;case"set":Ln(e)&&i.push(s.get(fn));break}Fl();for(const a of i)a&&aa(a,4);jl()}function xf(e,t){var n;return(n=lo.get(e))==null?void 0:n.get(t)}const Sf=Ol("__proto__,__v_isRef,__isVue"),ua=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(zn)),Es=Tf();function Tf(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=fe(this);for(let l=0,s=this.length;l{e[t]=function(...n){hn(),Fl();const r=fe(this)[t].apply(this,n);return jl(),vn(),r}}),e}function Lf(e){const t=fe(this);return Ze(t,"has",e),t.hasOwnProperty(e)}class fa{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const o=this._isReadonly,l=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return l;if(n==="__v_raw")return r===(o?l?Hf:va:l?ha:pa).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const s=oe(t);if(!o){if(s&&he(Es,n))return Reflect.get(Es,n,r);if(n==="hasOwnProperty")return Lf}const i=Reflect.get(t,n,r);return(zn(n)?ua.has(n):Sf(n))||(o||Ze(t,"get",n),l)?i:Me(i)?s&&Rl(n)?i:i.value:we(i)?o?xr(i):Cr(i):i}}class da extends fa{constructor(t=!1){super(!1,t)}set(t,n,r,o){let l=t[n];if(!this._isShallow){const a=Nn(l);if(!so(r)&&!Nn(r)&&(l=fe(l),r=fe(r)),!oe(t)&&Me(l)&&!Me(r))return a?!1:(l.value=r,!0)}const s=oe(t)&&Rl(n)?Number(n)e,go=e=>Reflect.getPrototypeOf(e);function jr(e,t,n=!1,r=!1){e=e.__v_raw;const o=fe(e),l=fe(t);n||(Wt(t,l)&&Ze(o,"get",t),Ze(o,"get",l));const{has:s}=go(o),i=r?Bl:n?zl:cr;if(s.call(o,t))return i(e.get(t));if(s.call(o,l))return i(e.get(l));e!==o&&e.get(t)}function Br(e,t=!1){const n=this.__v_raw,r=fe(n),o=fe(e);return t||(Wt(e,o)&&Ze(r,"has",e),Ze(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Hr(e,t=!1){return e=e.__v_raw,!t&&Ze(fe(e),"iterate",fn),Reflect.get(e,"size",e)}function ks(e){e=fe(e);const t=fe(this);return go(t).has.call(t,e)||(t.add(e),At(t,"add",e,e)),this}function Cs(e,t){t=fe(t);const n=fe(this),{has:r,get:o}=go(n);let l=r.call(n,e);l||(e=fe(e),l=r.call(n,e));const s=o.call(n,e);return n.set(e,t),l?Wt(t,s)&&At(n,"set",e,t):At(n,"add",e,t),this}function xs(e){const t=fe(this),{has:n,get:r}=go(t);let o=n.call(t,e);o||(e=fe(e),o=n.call(t,e)),r&&r.call(t,e);const l=t.delete(e);return o&&At(t,"delete",e,void 0),l}function Ss(){const e=fe(this),t=e.size!==0,n=e.clear();return t&&At(e,"clear",void 0,void 0),n}function Vr(e,t){return function(r,o){const l=this,s=l.__v_raw,i=fe(s),a=t?Bl:e?zl:cr;return!e&&Ze(i,"iterate",fn),s.forEach((c,u)=>r.call(o,a(c),a(u),l))}}function zr(e,t,n){return function(...r){const o=this.__v_raw,l=fe(o),s=Ln(l),i=e==="entries"||e===Symbol.iterator&&s,a=e==="keys"&&s,c=o[e](...r),u=n?Bl:t?zl:cr;return!t&&Ze(l,"iterate",a?al:fn),{next(){const{value:d,done:p}=c.next();return p?{value:d,done:p}:{value:i?[u(d[0]),u(d[1])]:u(d),done:p}},[Symbol.iterator](){return this}}}}function Pt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function $f(){const e={get(l){return jr(this,l)},get size(){return Hr(this)},has:Br,add:ks,set:Cs,delete:xs,clear:Ss,forEach:Vr(!1,!1)},t={get(l){return jr(this,l,!1,!0)},get size(){return Hr(this)},has:Br,add:ks,set:Cs,delete:xs,clear:Ss,forEach:Vr(!1,!0)},n={get(l){return jr(this,l,!0)},get size(){return Hr(this,!0)},has(l){return Br.call(this,l,!0)},add:Pt("add"),set:Pt("set"),delete:Pt("delete"),clear:Pt("clear"),forEach:Vr(!0,!1)},r={get(l){return jr(this,l,!0,!0)},get size(){return Hr(this,!0)},has(l){return Br.call(this,l,!0)},add:Pt("add"),set:Pt("set"),delete:Pt("delete"),clear:Pt("clear"),forEach:Vr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(l=>{e[l]=zr(l,!1,!1),n[l]=zr(l,!0,!1),t[l]=zr(l,!1,!0),r[l]=zr(l,!0,!0)}),[e,n,t,r]}const[Rf,Mf,Nf,Df]=$f();function Hl(e,t){const n=t?e?Df:Nf:e?Mf:Rf;return(r,o,l)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(he(n,o)&&o in r?n:r,o,l)}const Ff={get:Hl(!1,!1)},jf={get:Hl(!1,!0)},Bf={get:Hl(!0,!1)},pa=new WeakMap,ha=new WeakMap,va=new WeakMap,Hf=new WeakMap;function Vf(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function zf(e){return e.__v_skip||!Object.isExtensible(e)?0:Vf(ff(e))}function Cr(e){return Nn(e)?e:Vl(e,!1,If,Ff,pa)}function ma(e){return Vl(e,!1,Pf,jf,ha)}function xr(e){return Vl(e,!0,Of,Bf,va)}function Vl(e,t,n,r,o){if(!we(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const l=o.get(e);if(l)return l;const s=zf(e);if(s===0)return e;const i=new Proxy(e,s===2?r:n);return o.set(e,i),i}function In(e){return Nn(e)?In(e.__v_raw):!!(e&&e.__v_isReactive)}function Nn(e){return!!(e&&e.__v_isReadonly)}function so(e){return!!(e&&e.__v_isShallow)}function ga(e){return In(e)||Nn(e)}function fe(e){const t=e&&e.__v_raw;return t?fe(t):e}function ya(e){return Object.isExtensible(e)&&oo(e,"__v_skip",!0),e}const cr=e=>we(e)?Cr(e):e,zl=e=>we(e)?xr(e):e;class ba{constructor(t,n,r,o){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Dl(()=>t(this._value),()=>er(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=fe(this);return(!t._cacheable||t.effect.dirty)&&Wt(t._value,t._value=t.effect.run())&&er(t,4),Ul(t),t.effect._dirtyLevel>=2&&er(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Uf(e,t,n=!1){let r,o;const l=ae(e);return l?(r=e,o=at):(r=e.get,o=e.set),new ba(r,o,l||!o,n)}function Ul(e){var t;Ut&&un&&(e=fe(e),ia(un,(t=e.dep)!=null?t:e.dep=ca(()=>e.dep=void 0,e instanceof ba?e:void 0)))}function er(e,t=4,n){e=fe(e);const r=e.dep;r&&aa(r,t)}function Me(e){return!!(e&&e.__v_isRef===!0)}function Y(e){return _a(e,!1)}function Fe(e){return _a(e,!0)}function _a(e,t){return Me(e)?e:new qf(e,t)}class qf{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:fe(t),this._value=n?t:cr(t)}get value(){return Ul(this),this._value}set value(t){const n=this.__v_isShallow||so(t)||Nn(t);t=n?t:fe(t),Wt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:cr(t),er(this,4))}}function rt(e){return Me(e)?e.value:e}const Wf={get:(e,t,n)=>rt(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Me(o)&&!Me(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function wa(e){return In(e)?e:new Proxy(e,Wf)}class Gf{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Ul(this),()=>er(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function ql(e){return new Gf(e)}function Kf(e){const t=oe(e)?new Array(e.length):{};for(const n in e)t[n]=Ea(e,n);return t}class Yf{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 xf(fe(this._object),this._key)}}class Qf{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function yo(e,t,n){return Me(e)?e:ae(e)?new Qf(e):we(e)&&arguments.length>1?Ea(e,t,n):Y(e)}function Ea(e,t,n){const r=e[t];return Me(r)?r:new Yf(e,t,n)}/** * @vue/runtime-core v3.4.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function qt(e,t,n,r){try{return r?e(...r):e()}catch(o){Sr(o,t,n)}}function ct(e,t,n,r){if(ae(e)){const l=qt(e,t,n,r);return l&&Xi(l)&&l.catch(s=>{Sr(s,t,n)}),l}const o=[];for(let l=0;l>>1,o=Ve[r],l=fr(o);lEt&&Ve.splice(t,1)}function ed(e){oe(e)?On.push(...e):(!Ft||!Ft.includes(e,e.allowRecurse?ln+1:ln))&&On.push(e),Ca()}function Ts(e,t,n=ur?Et+1:0){for(;nfr(n)-fr(r));if(On.length=0,Ft){Ft.push(...t);return}for(Ft=t,ln=0;lne.id==null?1/0:e.id,td=(e,t)=>{const n=fr(e)-fr(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function xa(e){cl=!1,ur=!0,Ve.sort(td);try{for(Et=0;EtRe(h)?h.trim():h)),d&&(o=n.map(ll))}let i,a=r[i=Po(t)]||r[i=Po(dt(t))];!a&&l&&(a=r[i=Po(Un(t))]),a&&ct(a,e,6,o);const c=r[i+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,ct(c,e,6,o)}}function Sa(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const l=e.emits;let s={},i=!1;if(!ae(e)){const a=c=>{const u=Sa(c,t,!0);u&&(i=!0,$e(s,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!l&&!i?(we(e)&&r.set(e,null),null):(oe(l)?l.forEach(a=>s[a]=null):$e(s,l),we(e)&&r.set(e,s),s)}function _o(e,t){return!e||!Er(t)?!1:(t=t.slice(2).replace(/Once$/,""),he(e,t[0].toLowerCase()+t.slice(1))||he(e,Un(t))||he(e,t))}let We=null,wo=null;function ao(e){const t=We;return We=e,wo=e&&e.type.__scopeId||null,t}function Tr(e){wo=e}function Lr(){wo=null}function rd(e,t=We,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&js(-1);const l=ao(t);let s;try{s=e(...o)}finally{ao(l),r._d&&js(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function Ro(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:l,propsOptions:[s],slots:i,attrs:a,emit:c,render:u,renderCache:d,data:p,setupState:h,ctx:m,inheritAttrs:_}=e;let b,w;const C=ao(e);try{if(n.shapeFlag&4){const x=o||r,P=x;b=vt(u.call(P,x,d,l,h,p,m)),w=a}else{const x=t;b=vt(x.length>1?x(l,{attrs:a,slots:i,emit:c}):x(l,null)),w=t.props?a:od(a)}}catch(x){lr.length=0,Sr(x,e,1),b=Oe(ut)}let y=b;if(w&&_!==!1){const x=Object.keys(w),{shapeFlag:P}=y;x.length&&P&7&&(s&&x.some(Pl)&&(w=ld(w,s)),y=Kt(y,w))}return n.dirs&&(y=Kt(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),b=y,ao(C),b}const od=e=>{let t;for(const n in e)(n==="class"||n==="style"||Er(n))&&((t||(t={}))[n]=e[n]);return t},ld=(e,t)=>{const n={};for(const r in e)(!Pl(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function sd(e,t,n){const{props:r,children:o,component:l}=e,{props:s,children:i,patchFlag:a}=t,c=l.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?Ls(r,s,c):!!s;if(a&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function La(e,t){t&&t.pendingBranch?oe(e)?t.effects.push(...e):t.effects.push(e):ed(e)}const fd=Symbol.for("v-scx"),dd=()=>De(fd);function Aa(e,t){return Gl(e,null,t)}const Ur={};function ve(e,t,n){return Gl(e,t,n)}function Gl(e,t,{immediate:n,deep:r,flush:o,once:l,onTrack:s,onTrigger:i}=Ce){if(t&&l){const S=t;t=(...I)=>{S(...I),P()}}const a=He,c=S=>r===!0?S:an(S,r===!1?1:void 0);let u,d=!1,p=!1;if(Me(e)?(u=()=>e.value,d=so(e)):In(e)?(u=()=>c(e),d=!0):oe(e)?(p=!0,d=e.some(S=>In(S)||so(S)),u=()=>e.map(S=>{if(Me(S))return S.value;if(In(S))return c(S);if(ae(S))return qt(S,a,2)})):ae(e)?t?u=()=>qt(e,a,2):u=()=>(h&&h(),ct(e,a,3,[m])):u=at,t&&r){const S=u;u=()=>an(S())}let h,m=S=>{h=y.onStop=()=>{qt(S,a,4),h=y.onStop=void 0}},_;if(Pr)if(m=at,t?n&&ct(t,a,3,[u(),p?[]:void 0,m]):u(),o==="sync"){const S=dd();_=S.__watcherHandles||(S.__watcherHandles=[])}else return at;let b=p?new Array(e.length).fill(Ur):Ur;const w=()=>{if(!(!y.active||!y.dirty))if(t){const S=y.run();(r||d||(p?S.some((I,$)=>Wt(I,b[$])):Wt(S,b)))&&(h&&h(),ct(t,a,3,[S,b===Ur?void 0:p&&b[0]===Ur?[]:b,m]),b=S)}else y.run()};w.allowRecurse=!!t;let C;o==="sync"?C=w:o==="post"?C=()=>Qe(w,a&&a.suspense):(w.pre=!0,a&&(w.id=a.uid),C=()=>bo(w));const y=new Dl(u,at,C),x=oa(),P=()=>{y.stop(),x&&$l(x.effects,y)};return t?n?w():b=y.run():o==="post"?Qe(y.run.bind(y),a&&a.suspense):y.run(),_&&_.push(P),P}function pd(e,t,n){const r=this.proxy,o=Re(e)?e.includes(".")?Ia(r,e):()=>r[e]:e.bind(r,r);let l;ae(t)?l=t:(l=t.handler,n=t);const s=Or(this),i=Gl(o,l.bind(r),n);return s(),i}function Ia(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o0){if(n>=t)return e;n++}if(r=r||new Set,r.has(e))return e;if(r.add(e),Me(e))an(e.value,t,n,r);else if(oe(e))for(let o=0;o{an(o,t,n,r)});else if(ea(e))for(const o in e)an(e[o],t,n,r);return e}function Oa(e,t){if(We===null)return e;const n=Co(We)||We.proxy,r=e.dirs||(e.dirs=[]);for(let o=0;o{e.isMounted=!0}),Yl(()=>{e.isUnmounting=!0}),e}const lt=[Function,Array],$a={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:lt,onEnter:lt,onAfterEnter:lt,onEnterCancelled:lt,onBeforeLeave:lt,onLeave:lt,onAfterLeave:lt,onLeaveCancelled:lt,onBeforeAppear:lt,onAppear:lt,onAfterAppear:lt,onAppearCancelled:lt},hd={name:"BaseTransition",props:$a,setup(e,{slots:t}){const n=Ir(),r=Pa();return()=>{const o=t.default&&Kl(t.default(),!0);if(!o||!o.length)return;let l=o[0];if(o.length>1){for(const p of o)if(p.type!==ut){l=p;break}}const s=fe(e),{mode:i}=s;if(r.isLeaving)return Mo(l);const a=Is(l);if(!a)return Mo(l);const c=dr(a,s,r,n);pr(a,c);const u=n.subTree,d=u&&Is(u);if(d&&d.type!==ut&&!sn(a,d)){const p=dr(d,s,r,n);if(pr(d,p),i==="out-in")return r.isLeaving=!0,p.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Mo(l);i==="in-out"&&a.type!==ut&&(p.delayLeave=(h,m,_)=>{const b=Ra(r,d);b[String(d.key)]=d,h[jt]=()=>{m(),h[jt]=void 0,delete c.delayedLeave},c.delayedLeave=_})}return l}}},vd=hd;function Ra(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 dr(e,t,n,r){const{appear:o,mode:l,persisted:s=!1,onBeforeEnter:i,onEnter:a,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:p,onAfterLeave:h,onLeaveCancelled:m,onBeforeAppear:_,onAppear:b,onAfterAppear:w,onAppearCancelled:C}=t,y=String(e.key),x=Ra(n,e),P=($,Q)=>{$&&ct($,r,9,Q)},S=($,Q)=>{const O=Q[1];P($,Q),oe($)?$.every(U=>U.length<=1)&&O():$.length<=1&&O()},I={mode:l,persisted:s,beforeEnter($){let Q=i;if(!n.isMounted)if(o)Q=_||i;else return;$[jt]&&$[jt](!0);const O=x[y];O&&sn(e,O)&&O.el[jt]&&O.el[jt](),P(Q,[$])},enter($){let Q=a,O=c,U=u;if(!n.isMounted)if(o)Q=b||a,O=w||c,U=C||u;else return;let M=!1;const re=$[qr]=ke=>{M||(M=!0,ke?P(U,[$]):P(O,[$]),I.delayedLeave&&I.delayedLeave(),$[qr]=void 0)};Q?S(Q,[$,re]):re()},leave($,Q){const O=String(e.key);if($[qr]&&$[qr](!0),n.isUnmounting)return Q();P(d,[$]);let U=!1;const M=$[jt]=re=>{U||(U=!0,Q(),re?P(m,[$]):P(h,[$]),$[jt]=void 0,x[O]===e&&delete x[O])};x[O]=e,p?S(p,[$,M]):M()},clone($){return dr($,t,n,r)}};return I}function Mo(e){if(Ar(e))return e=Kt(e),e.children=null,e}function Is(e){return Ar(e)?e.children?e.children[0]:void 0:e}function pr(e,t){e.shapeFlag&6&&e.component?pr(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 Kl(e,t=!1,n){let r=[],o=0;for(let l=0;l1)for(let l=0;l!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function md(e){ae(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:l,suspensible:s=!0,onError:i}=e;let a=null,c,u=0;const d=()=>(u++,a=null,p()),p=()=>{let h;return a||(h=a=t().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),i)return new Promise((_,b)=>{i(m,()=>_(d()),()=>b(m),u+1)});throw m}).then(m=>h!==a&&a?a:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),c=m,m)))};return V({name:"AsyncComponentWrapper",__asyncLoader:p,get __asyncResolved(){return c},setup(){const h=He;if(c)return()=>No(c,h);const m=C=>{a=null,Sr(C,h,13,!r)};if(s&&h.suspense||Pr)return p().then(C=>()=>No(C,h)).catch(C=>(m(C),()=>r?Oe(r,{error:C}):null));const _=Y(!1),b=Y(),w=Y(!!o);return o&&setTimeout(()=>{w.value=!1},o),l!=null&&setTimeout(()=>{if(!_.value&&!b.value){const C=new Error(`Async component timed out after ${l}ms.`);m(C),b.value=C}},l),p().then(()=>{_.value=!0,h.parent&&Ar(h.parent.vnode)&&(h.parent.effect.dirty=!0,bo(h.parent.update))}).catch(C=>{m(C),b.value=C}),()=>{if(_.value&&c)return No(c,h);if(b.value&&r)return Oe(r,{error:b.value});if(n&&!w.value)return Oe(n)}}})}function No(e,t){const{ref:n,props:r,children:o,ce:l}=t.vnode,s=Oe(e,r,o);return s.ref=n,s.ce=l,delete t.vnode.ce,s}const Ar=e=>e.type.__isKeepAlive;function gd(e,t){Ma(e,"a",t)}function yd(e,t){Ma(e,"da",t)}function Ma(e,t,n=He){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Eo(t,r,n),n){let o=n.parent;for(;o&&o.parent;)Ar(o.parent.vnode)&&bd(r,t,n,o),o=o.parent}}function bd(e,t,n,r){const o=Eo(t,e,r,!0);mn(()=>{$l(r[t],o)},n)}function Eo(e,t,n=He,r=!1){if(n){const o=n[e]||(n[e]=[]),l=t.__weh||(t.__weh=(...s)=>{if(n.isUnmounted)return;hn();const i=Or(n),a=ct(t,n,e,s);return i(),vn(),a});return r?o.unshift(l):o.push(l),l}}const Ot=e=>(t,n=He)=>(!Pr||e==="sp")&&Eo(e,(...r)=>t(...r),n),_d=Ot("bm"),Ee=Ot("m"),wd=Ot("bu"),Na=Ot("u"),Yl=Ot("bum"),mn=Ot("um"),Ed=Ot("sp"),kd=Ot("rtg"),Cd=Ot("rtc");function xd(e,t=He){Eo("ec",e,t)}function Da(e,t,n,r){let o;const l=n&&n[r];if(oe(e)||Re(e)){o=new Array(e.length);for(let s=0,i=e.length;st(s,i,void 0,l&&l[i]));else{const s=Object.keys(e);o=new Array(s.length);for(let i=0,a=s.length;ie?Qa(e)?Co(e)||e.proxy:ul(e.parent):null,nr=$e(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=>ul(e.parent),$root:e=>ul(e.root),$emit:e=>e.emit,$options:e=>Ql(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,bo(e.update)}),$nextTick:e=>e.n||(e.n=Qt.bind(e.proxy)),$watch:e=>pd.bind(e)}),Do=(e,t)=>e!==Ce&&!e.__isScriptSetup&&he(e,t),Sd={get({_:e},t){const{ctx:n,setupState:r,data:o,props:l,accessCache:s,type:i,appContext:a}=e;let c;if(t[0]!=="$"){const h=s[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return l[t]}else{if(Do(r,t))return s[t]=1,r[t];if(o!==Ce&&he(o,t))return s[t]=2,o[t];if((c=e.propsOptions[0])&&he(c,t))return s[t]=3,l[t];if(n!==Ce&&he(n,t))return s[t]=4,n[t];fl&&(s[t]=0)}}const u=nr[t];let d,p;if(u)return t==="$attrs"&&Ze(e,"get",t),u(e);if((d=i.__cssModules)&&(d=d[t]))return d;if(n!==Ce&&he(n,t))return s[t]=4,n[t];if(p=a.config.globalProperties,he(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:l}=e;return Do(o,t)?(o[t]=n,!0):r!==Ce&&he(r,t)?(r[t]=n,!0):he(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(l[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:l}},s){let i;return!!n[s]||e!==Ce&&he(e,s)||Do(t,s)||(i=l[0])&&he(i,s)||he(r,s)||he(nr,s)||he(o.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:he(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Os(e){return oe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let fl=!0;function Td(e){const t=Ql(e),n=e.proxy,r=e.ctx;fl=!1,t.beforeCreate&&Ps(t.beforeCreate,e,"bc");const{data:o,computed:l,methods:s,watch:i,provide:a,inject:c,created:u,beforeMount:d,mounted:p,beforeUpdate:h,updated:m,activated:_,deactivated:b,beforeDestroy:w,beforeUnmount:C,destroyed:y,unmounted:x,render:P,renderTracked:S,renderTriggered:I,errorCaptured:$,serverPrefetch:Q,expose:O,inheritAttrs:U,components:M,directives:re,filters:ke}=t;if(c&&Ld(c,r,null),s)for(const le in s){const W=s[le];ae(W)&&(r[le]=W.bind(n))}if(o){const le=o.call(n,n);we(le)&&(e.data=Cr(le))}if(fl=!0,l)for(const le in l){const W=l[le],Se=ae(W)?W.bind(n,n):ae(W.get)?W.get.bind(n,n):at,ot=!ae(W)&&ae(W.set)?W.set.bind(n):at,Ye=T({get:Se,set:ot});Object.defineProperty(r,le,{enumerable:!0,configurable:!0,get:()=>Ye.value,set:Z=>Ye.value=Z})}if(i)for(const le in i)Fa(i[le],r,n,le);if(a){const le=ae(a)?a.call(n):a;Reflect.ownKeys(le).forEach(W=>{Pn(W,le[W])})}u&&Ps(u,e,"c");function K(le,W){oe(W)?W.forEach(Se=>le(Se.bind(n))):W&&le(W.bind(n))}if(K(_d,d),K(Ee,p),K(wd,h),K(Na,m),K(gd,_),K(yd,b),K(xd,$),K(Cd,S),K(kd,I),K(Yl,C),K(mn,x),K(Ed,Q),oe(O))if(O.length){const le=e.exposed||(e.exposed={});O.forEach(W=>{Object.defineProperty(le,W,{get:()=>n[W],set:Se=>n[W]=Se})})}else e.exposed||(e.exposed={});P&&e.render===at&&(e.render=P),U!=null&&(e.inheritAttrs=U),M&&(e.components=M),re&&(e.directives=re)}function Ld(e,t,n=at){oe(e)&&(e=dl(e));for(const r in e){const o=e[r];let l;we(o)?"default"in o?l=De(o.from||r,o.default,!0):l=De(o.from||r):l=De(o),Me(l)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>l.value,set:s=>l.value=s}):t[r]=l}}function Ps(e,t,n){ct(oe(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Fa(e,t,n,r){const o=r.includes(".")?Ia(n,r):()=>n[r];if(Re(e)){const l=t[e];ae(l)&&ve(o,l)}else if(ae(e))ve(o,e.bind(n));else if(we(e))if(oe(e))e.forEach(l=>Fa(l,t,n,r));else{const l=ae(e.handler)?e.handler.bind(n):t[e.handler];ae(l)&&ve(o,l,e)}}function Ql(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:l,config:{optionMergeStrategies:s}}=e.appContext,i=l.get(t);let a;return i?a=i:!o.length&&!n&&!r?a=t:(a={},o.length&&o.forEach(c=>co(a,c,s,!0)),co(a,t,s)),we(t)&&l.set(t,a),a}function co(e,t,n,r=!1){const{mixins:o,extends:l}=t;l&&co(e,l,n,!0),o&&o.forEach(s=>co(e,s,n,!0));for(const s in t)if(!(r&&s==="expose")){const i=Ad[s]||n&&n[s];e[s]=i?i(e[s],t[s]):t[s]}return e}const Ad={data:$s,props:Rs,emits:Rs,methods:Xn,computed:Xn,beforeCreate:ze,created:ze,beforeMount:ze,mounted:ze,beforeUpdate:ze,updated:ze,beforeDestroy:ze,beforeUnmount:ze,destroyed:ze,unmounted:ze,activated:ze,deactivated:ze,errorCaptured:ze,serverPrefetch:ze,components:Xn,directives:Xn,watch:Od,provide:$s,inject:Id};function $s(e,t){return t?e?function(){return $e(ae(e)?e.call(this,this):e,ae(t)?t.call(this,this):t)}:t:e}function Id(e,t){return Xn(dl(e),dl(t))}function dl(e){if(oe(e)){const t={};for(let n=0;n1)return n&&ae(t)?t.call(r&&r.proxy):t}}function Rd(e,t,n,r=!1){const o={},l={};oo(l,ko,1),e.propsDefaults=Object.create(null),Ha(e,t,o,l);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);n?e.props=r?o:ma(o):e.type.props?e.props=o:e.props=l,e.attrs=l}function Md(e,t,n,r){const{props:o,attrs:l,vnode:{patchFlag:s}}=e,i=fe(o),[a]=e.propsOptions;let c=!1;if((r||s>0)&&!(s&16)){if(s&8){const u=e.vnode.dynamicProps;for(let d=0;d{a=!0;const[p,h]=Ba(d,t,!0);$e(s,p),h&&i.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!l&&!a)return we(e)&&r.set(e,Tn),Tn;if(oe(l))for(let u=0;u-1,h[1]=_<0||m<_,(m>-1||he(h,"default"))&&i.push(d)}}}const c=[s,i];return we(e)&&r.set(e,c),c}function Ms(e){return e[0]!=="$"&&!An(e)}function Ns(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Ds(e,t){return Ns(e)===Ns(t)}function Fs(e,t){return oe(t)?t.findIndex(n=>Ds(n,e)):ae(t)&&Ds(t,e)?0:-1}const Va=e=>e[0]==="_"||e==="$stable",Jl=e=>oe(e)?e.map(vt):[vt(e)],Nd=(e,t,n)=>{if(t._n)return t;const r=rd((...o)=>Jl(t(...o)),n);return r._c=!1,r},za=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Va(o))continue;const l=e[o];if(ae(l))t[o]=Nd(o,l,r);else if(l!=null){const s=Jl(l);t[o]=()=>s}}},Ua=(e,t)=>{const n=Jl(t);e.slots.default=()=>n},Dd=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=fe(t),oo(t,"_",n)):za(t,e.slots={})}else e.slots={},t&&Ua(e,t);oo(e.slots,ko,1)},Fd=(e,t,n)=>{const{vnode:r,slots:o}=e;let l=!0,s=Ce;if(r.shapeFlag&32){const i=t._;i?n&&i===1?l=!1:($e(o,t),!n&&i===1&&delete o._):(l=!t.$stable,za(t,o)),s=t}else t&&(Ua(e,t),s={default:1});if(l)for(const i in o)!Va(i)&&s[i]==null&&delete o[i]};function uo(e,t,n,r,o=!1){if(oe(e)){e.forEach((p,h)=>uo(p,t&&(oe(t)?t[h]:t),n,r,o));return}if(tr(r)&&!o)return;const l=r.shapeFlag&4?Co(r.component)||r.component.proxy:r.el,s=o?null:l,{i,r:a}=e,c=t&&t.r,u=i.refs===Ce?i.refs={}:i.refs,d=i.setupState;if(c!=null&&c!==a&&(Re(c)?(u[c]=null,he(d,c)&&(d[c]=null)):Me(c)&&(c.value=null)),ae(a))qt(a,i,12,[s,u]);else{const p=Re(a),h=Me(a);if(p||h){const m=()=>{if(e.f){const _=p?he(d,a)?d[a]:u[a]:a.value;o?oe(_)&&$l(_,l):oe(_)?_.includes(l)||_.push(l):p?(u[a]=[l],he(d,a)&&(d[a]=u[a])):(a.value=[l],e.k&&(u[e.k]=a.value))}else p?(u[a]=s,he(d,a)&&(d[a]=s)):h&&(a.value=s,e.k&&(u[e.k]=s))};s?(m.id=-1,Qe(m,n)):m()}}}let $t=!1;const jd=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Hd=e=>e.namespaceURI.includes("MathML"),Wr=e=>{if(jd(e))return"svg";if(Hd(e))return"mathml"},Gr=e=>e.nodeType===8;function Bd(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:l,parentNode:s,remove:i,insert:a,createComment:c}}=e,u=(y,x)=>{if(!x.hasChildNodes()){n(null,y,x),io(),x._vnode=y;return}$t=!1,d(x.firstChild,y,null,null,null),io(),x._vnode=y,$t&&console.error("Hydration completed but contains mismatches.")},d=(y,x,P,S,I,$=!1)=>{const Q=Gr(y)&&y.data==="[",O=()=>_(y,x,P,S,I,Q),{type:U,ref:M,shapeFlag:re,patchFlag:ke}=x;let _e=y.nodeType;x.el=y,ke===-2&&($=!1,x.dynamicChildren=null);let K=null;switch(U){case Dn:_e!==3?x.children===""?(a(x.el=o(""),s(y),y),K=y):K=O():(y.data!==x.children&&($t=!0,y.data=x.children),K=l(y));break;case ut:C(y)?(K=l(y),w(x.el=y.content.firstChild,y,P)):_e!==8||Q?K=O():K=l(y);break;case or:if(Q&&(y=l(y),_e=y.nodeType),_e===1||_e===3){K=y;const le=!x.children.length;for(let W=0;W{$=$||!!x.dynamicChildren;const{type:Q,props:O,patchFlag:U,shapeFlag:M,dirs:re,transition:ke}=x,_e=Q==="input"||Q==="option";if(_e||U!==-1){re&&wt(x,null,P,"created");let K=!1;if(C(y)){K=qa(S,ke)&&P&&P.vnode.props&&P.vnode.props.appear;const W=y.content.firstChild;K&&ke.beforeEnter(W),w(W,y,P),x.el=y=W}if(M&16&&!(O&&(O.innerHTML||O.textContent))){let W=h(y.firstChild,x,y,P,S,I,$);for(;W;){$t=!0;const Se=W;W=W.nextSibling,i(Se)}}else M&8&&y.textContent!==x.children&&($t=!0,y.textContent=x.children);if(O)if(_e||!$||U&48)for(const W in O)(_e&&(W.endsWith("value")||W==="indeterminate")||Er(W)&&!An(W)||W[0]===".")&&r(y,W,null,O[W],void 0,void 0,P);else O.onClick&&r(y,"onClick",null,O.onClick,void 0,void 0,P);let le;(le=O&&O.onVnodeBeforeMount)&&st(le,P,x),re&&wt(x,null,P,"beforeMount"),((le=O&&O.onVnodeMounted)||re||K)&&La(()=>{le&&st(le,P,x),K&&ke.enter(y),re&&wt(x,null,P,"mounted")},S)}return y.nextSibling},h=(y,x,P,S,I,$,Q)=>{Q=Q||!!x.dynamicChildren;const O=x.children,U=O.length;for(let M=0;M{const{slotScopeIds:Q}=x;Q&&(I=I?I.concat(Q):Q);const O=s(y),U=h(l(y),x,O,P,S,I,$);return U&&Gr(U)&&U.data==="]"?l(x.anchor=U):($t=!0,a(x.anchor=c("]"),O,U),U)},_=(y,x,P,S,I,$)=>{if($t=!0,x.el=null,$){const U=b(y);for(;;){const M=l(y);if(M&&M!==U)i(M);else break}}const Q=l(y),O=s(y);return i(y),n(null,x,O,Q,P,S,Wr(O),I),Q},b=(y,x="[",P="]")=>{let S=0;for(;y;)if(y=l(y),y&&Gr(y)&&(y.data===x&&S++,y.data===P)){if(S===0)return l(y);S--}return y},w=(y,x,P)=>{const S=x.parentNode;S&&S.replaceChild(y,x);let I=P;for(;I;)I.vnode.el===x&&(I.vnode.el=I.subTree.el=y),I=I.parent},C=y=>y.nodeType===1&&y.tagName.toLowerCase()==="template";return[u,d]}const Qe=La;function Vd(e){return zd(e,Bd)}function zd(e,t){const n=ta();n.__VUE__=!0;const{insert:r,remove:o,patchProp:l,createElement:s,createText:i,createComment:a,setText:c,setElementText:u,parentNode:d,nextSibling:p,setScopeId:h=at,insertStaticContent:m}=e,_=(v,g,k,A=null,L=null,D=null,B=void 0,N=null,H=!!g.dynamicChildren)=>{if(v===g)return;v&&!sn(v,g)&&(A=E(v),Z(v,L,D,!0),v=null),g.patchFlag===-2&&(H=!1,g.dynamicChildren=null);const{type:R,ref:q,shapeFlag:ne}=g;switch(R){case Dn:b(v,g,k,A);break;case ut:w(v,g,k,A);break;case or:v==null&&C(g,k,A,B);break;case Ue:M(v,g,k,A,L,D,B,N,H);break;default:ne&1?P(v,g,k,A,L,D,B,N,H):ne&6?re(v,g,k,A,L,D,B,N,H):(ne&64||ne&128)&&R.process(v,g,k,A,L,D,B,N,H,X)}q!=null&&L&&uo(q,v&&v.ref,D,g||v,!g)},b=(v,g,k,A)=>{if(v==null)r(g.el=i(g.children),k,A);else{const L=g.el=v.el;g.children!==v.children&&c(L,g.children)}},w=(v,g,k,A)=>{v==null?r(g.el=a(g.children||""),k,A):g.el=v.el},C=(v,g,k,A)=>{[v.el,v.anchor]=m(v.children,g,k,A,v.el,v.anchor)},y=({el:v,anchor:g},k,A)=>{let L;for(;v&&v!==g;)L=p(v),r(v,k,A),v=L;r(g,k,A)},x=({el:v,anchor:g})=>{let k;for(;v&&v!==g;)k=p(v),o(v),v=k;o(g)},P=(v,g,k,A,L,D,B,N,H)=>{g.type==="svg"?B="svg":g.type==="math"&&(B="mathml"),v==null?S(g,k,A,L,D,B,N,H):Q(v,g,L,D,B,N,H)},S=(v,g,k,A,L,D,B,N)=>{let H,R;const{props:q,shapeFlag:ne,transition:ee,dirs:ie}=v;if(H=v.el=s(v.type,D,q&&q.is,q),ne&8?u(H,v.children):ne&16&&$(v.children,H,null,A,L,Fo(v,D),B,N),ie&&wt(v,null,A,"created"),I(H,v,v.scopeId,B,A),q){for(const ge in q)ge!=="value"&&!An(ge)&&l(H,ge,null,q[ge],D,v.children,A,L,J);"value"in q&&l(H,"value",null,q.value,D),(R=q.onVnodeBeforeMount)&&st(R,A,v)}ie&&wt(v,null,A,"beforeMount");const ue=qa(L,ee);ue&&ee.beforeEnter(H),r(H,g,k),((R=q&&q.onVnodeMounted)||ue||ie)&&Qe(()=>{R&&st(R,A,v),ue&&ee.enter(H),ie&&wt(v,null,A,"mounted")},L)},I=(v,g,k,A,L)=>{if(k&&h(v,k),A)for(let D=0;D{for(let R=H;R{const N=g.el=v.el;let{patchFlag:H,dynamicChildren:R,dirs:q}=g;H|=v.patchFlag&16;const ne=v.props||Ce,ee=g.props||Ce;let ie;if(k&&nn(k,!1),(ie=ee.onVnodeBeforeUpdate)&&st(ie,k,g,v),q&&wt(g,v,k,"beforeUpdate"),k&&nn(k,!0),R?O(v.dynamicChildren,R,N,k,A,Fo(g,L),D):B||W(v,g,N,null,k,A,Fo(g,L),D,!1),H>0){if(H&16)U(N,g,ne,ee,k,A,L);else if(H&2&&ne.class!==ee.class&&l(N,"class",null,ee.class,L),H&4&&l(N,"style",ne.style,ee.style,L),H&8){const ue=g.dynamicProps;for(let ge=0;ge{ie&&st(ie,k,g,v),q&&wt(g,v,k,"updated")},A)},O=(v,g,k,A,L,D,B)=>{for(let N=0;N{if(k!==A){if(k!==Ce)for(const N in k)!An(N)&&!(N in A)&&l(v,N,k[N],null,B,g.children,L,D,J);for(const N in A){if(An(N))continue;const H=A[N],R=k[N];H!==R&&N!=="value"&&l(v,N,R,H,B,g.children,L,D,J)}"value"in A&&l(v,"value",k.value,A.value,B)}},M=(v,g,k,A,L,D,B,N,H)=>{const R=g.el=v?v.el:i(""),q=g.anchor=v?v.anchor:i("");let{patchFlag:ne,dynamicChildren:ee,slotScopeIds:ie}=g;ie&&(N=N?N.concat(ie):ie),v==null?(r(R,k,A),r(q,k,A),$(g.children||[],k,q,L,D,B,N,H)):ne>0&&ne&64&&ee&&v.dynamicChildren?(O(v.dynamicChildren,ee,k,L,D,B,N),(g.key!=null||L&&g===L.subTree)&&Wa(v,g,!0)):W(v,g,k,q,L,D,B,N,H)},re=(v,g,k,A,L,D,B,N,H)=>{g.slotScopeIds=N,v==null?g.shapeFlag&512?L.ctx.activate(g,k,A,B,H):ke(g,k,A,L,D,B,H):_e(v,g,H)},ke=(v,g,k,A,L,D,B)=>{const N=v.component=Xd(v,A,L);if(Ar(v)&&(N.ctx.renderer=X),Zd(N),N.asyncDep){if(L&&L.registerDep(N,K),!v.el){const H=N.subTree=Oe(ut);w(null,H,g,k)}}else K(N,v,g,k,L,D,B)},_e=(v,g,k)=>{const A=g.component=v.component;if(sd(v,g,k))if(A.asyncDep&&!A.asyncResolved){le(A,g,k);return}else A.next=g,Zf(A.update),A.effect.dirty=!0,A.update();else g.el=v.el,A.vnode=g},K=(v,g,k,A,L,D,B)=>{const N=()=>{if(v.isMounted){let{next:q,bu:ne,u:ee,parent:ie,vnode:ue}=v;{const _n=Ga(v);if(_n){q&&(q.el=ue.el,le(v,q,B)),_n.asyncDep.then(()=>{v.isUnmounted||N()});return}}let ge=q,Te;nn(v,!1),q?(q.el=ue.el,le(v,q,B)):q=ue,ne&&to(ne),(Te=q.props&&q.props.onVnodeBeforeUpdate)&&st(Te,ie,q,ue),nn(v,!0);const je=Ro(v),pt=v.subTree;v.subTree=je,_(pt,je,d(pt.el),E(pt),v,L,D),q.el=je.el,ge===null&&id(v,je.el),ee&&Qe(ee,L),(Te=q.props&&q.props.onVnodeUpdated)&&Qe(()=>st(Te,ie,q,ue),L)}else{let q;const{el:ne,props:ee}=g,{bm:ie,m:ue,parent:ge}=v,Te=tr(g);if(nn(v,!1),ie&&to(ie),!Te&&(q=ee&&ee.onVnodeBeforeMount)&&st(q,ge,g),nn(v,!0),ne&&be){const je=()=>{v.subTree=Ro(v),be(ne,v.subTree,v,L,null)};Te?g.type.__asyncLoader().then(()=>!v.isUnmounted&&je()):je()}else{const je=v.subTree=Ro(v);_(null,je,k,A,v,L,D),g.el=je.el}if(ue&&Qe(ue,L),!Te&&(q=ee&&ee.onVnodeMounted)){const je=g;Qe(()=>st(q,ge,je),L)}(g.shapeFlag&256||ge&&tr(ge.vnode)&&ge.vnode.shapeFlag&256)&&v.a&&Qe(v.a,L),v.isMounted=!0,g=k=A=null}},H=v.effect=new Dl(N,at,()=>bo(R),v.scope),R=v.update=()=>{H.dirty&&H.run()};R.id=v.uid,nn(v,!0),R()},le=(v,g,k)=>{g.component=v;const A=v.vnode.props;v.vnode=g,v.next=null,Md(v,g.props,A,k),Fd(v,g.children,k),hn(),Ts(v),vn()},W=(v,g,k,A,L,D,B,N,H=!1)=>{const R=v&&v.children,q=v?v.shapeFlag:0,ne=g.children,{patchFlag:ee,shapeFlag:ie}=g;if(ee>0){if(ee&128){ot(R,ne,k,A,L,D,B,N,H);return}else if(ee&256){Se(R,ne,k,A,L,D,B,N,H);return}}ie&8?(q&16&&J(R,L,D),ne!==R&&u(k,ne)):q&16?ie&16?ot(R,ne,k,A,L,D,B,N,H):J(R,L,D,!0):(q&8&&u(k,""),ie&16&&$(ne,k,A,L,D,B,N,H))},Se=(v,g,k,A,L,D,B,N,H)=>{v=v||Tn,g=g||Tn;const R=v.length,q=g.length,ne=Math.min(R,q);let ee;for(ee=0;eeq?J(v,L,D,!0,!1,ne):$(g,k,A,L,D,B,N,H,ne)},ot=(v,g,k,A,L,D,B,N,H)=>{let R=0;const q=g.length;let ne=v.length-1,ee=q-1;for(;R<=ne&&R<=ee;){const ie=v[R],ue=g[R]=H?Ht(g[R]):vt(g[R]);if(sn(ie,ue))_(ie,ue,k,null,L,D,B,N,H);else break;R++}for(;R<=ne&&R<=ee;){const ie=v[ne],ue=g[ee]=H?Ht(g[ee]):vt(g[ee]);if(sn(ie,ue))_(ie,ue,k,null,L,D,B,N,H);else break;ne--,ee--}if(R>ne){if(R<=ee){const ie=ee+1,ue=ieee)for(;R<=ne;)Z(v[R],L,D,!0),R++;else{const ie=R,ue=R,ge=new Map;for(R=ue;R<=ee;R++){const tt=g[R]=H?Ht(g[R]):vt(g[R]);tt.key!=null&&ge.set(tt.key,R)}let Te,je=0;const pt=ee-ue+1;let _n=!1,ms=0;const Kn=new Array(pt);for(R=0;R=pt){Z(tt,L,D,!0);continue}let _t;if(tt.key!=null)_t=ge.get(tt.key);else for(Te=ue;Te<=ee;Te++)if(Kn[Te-ue]===0&&sn(tt,g[Te])){_t=Te;break}_t===void 0?Z(tt,L,D,!0):(Kn[_t-ue]=R+1,_t>=ms?ms=_t:_n=!0,_(tt,g[_t],k,null,L,D,B,N,H),je++)}const gs=_n?Ud(Kn):Tn;for(Te=gs.length-1,R=pt-1;R>=0;R--){const tt=ue+R,_t=g[tt],ys=tt+1{const{el:D,type:B,transition:N,children:H,shapeFlag:R}=v;if(R&6){Ye(v.component.subTree,g,k,A);return}if(R&128){v.suspense.move(g,k,A);return}if(R&64){B.move(v,g,k,X);return}if(B===Ue){r(D,g,k);for(let ne=0;neN.enter(D),L);else{const{leave:ne,delayLeave:ee,afterLeave:ie}=N,ue=()=>r(D,g,k),ge=()=>{ne(D,()=>{ue(),ie&&ie()})};ee?ee(D,ue,ge):ge()}else r(D,g,k)},Z=(v,g,k,A=!1,L=!1)=>{const{type:D,props:B,ref:N,children:H,dynamicChildren:R,shapeFlag:q,patchFlag:ne,dirs:ee}=v;if(N!=null&&uo(N,null,k,v,!0),q&256){g.ctx.deactivate(v);return}const ie=q&1&&ee,ue=!tr(v);let ge;if(ue&&(ge=B&&B.onVnodeBeforeUnmount)&&st(ge,g,v),q&6)te(v.component,k,A);else{if(q&128){v.suspense.unmount(k,A);return}ie&&wt(v,null,g,"beforeUnmount"),q&64?v.type.remove(v,g,k,L,X,A):R&&(D!==Ue||ne>0&&ne&64)?J(R,g,k,!1,!0):(D===Ue&&ne&384||!L&&q&16)&&J(H,g,k),A&&z(v)}(ue&&(ge=B&&B.onVnodeUnmounted)||ie)&&Qe(()=>{ge&&st(ge,g,v),ie&&wt(v,null,g,"unmounted")},k)},z=v=>{const{type:g,el:k,anchor:A,transition:L}=v;if(g===Ue){G(k,A);return}if(g===or){x(v);return}const D=()=>{o(k),L&&!L.persisted&&L.afterLeave&&L.afterLeave()};if(v.shapeFlag&1&&L&&!L.persisted){const{leave:B,delayLeave:N}=L,H=()=>B(k,D);N?N(v.el,D,H):H()}else D()},G=(v,g)=>{let k;for(;v!==g;)k=p(v),o(v),v=k;o(g)},te=(v,g,k)=>{const{bum:A,scope:L,update:D,subTree:B,um:N}=v;A&&to(A),L.stop(),D&&(D.active=!1,Z(B,v,g,k)),N&&Qe(N,g),Qe(()=>{v.isUnmounted=!0},g),g&&g.pendingBranch&&!g.isUnmounted&&v.asyncDep&&!v.asyncResolved&&v.suspenseId===g.pendingId&&(g.deps--,g.deps===0&&g.resolve())},J=(v,g,k,A=!1,L=!1,D=0)=>{for(let B=D;Bv.shapeFlag&6?E(v.component.subTree):v.shapeFlag&128?v.suspense.next():p(v.anchor||v.el);let F=!1;const j=(v,g,k)=>{v==null?g._vnode&&Z(g._vnode,null,null,!0):_(g._vnode||null,v,g,null,null,null,k),F||(F=!0,Ts(),io(),F=!1),g._vnode=v},X={p:_,um:Z,m:Ye,r:z,mt:ke,mc:$,pc:W,pbc:O,n:E,o:e};let de,be;return t&&([de,be]=t(X)),{render:j,hydrate:de,createApp:$d(j,de)}}function Fo({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 nn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function qa(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Wa(e,t,n=!1){const r=e.children,o=t.children;if(oe(r)&&oe(o))for(let l=0;l>1,e[n[i]]0&&(t[r]=n[l-1]),n[l]=r)}}for(l=n.length,s=n[l-1];l-- >0;)n[l]=s,s=t[s];return n}function Ga(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ga(t)}const qd=e=>e.__isTeleport,Ue=Symbol.for("v-fgt"),Dn=Symbol.for("v-txt"),ut=Symbol.for("v-cmt"),or=Symbol.for("v-stc"),lr=[];let mt=null;function yt(e=!1){lr.push(mt=e?null:[])}function Wd(){lr.pop(),mt=lr[lr.length-1]||null}let hr=1;function js(e){hr+=e}function Ka(e){return e.dynamicChildren=hr>0?mt||Tn:null,Wd(),hr>0&&mt&&mt.push(e),e}function Gt(e,t,n,r,o,l){return Ka(se(e,t,n,r,o,l,!0))}function Xl(e,t,n,r,o){return Ka(Oe(e,t,n,r,o,!0))}function hl(e){return e?e.__v_isVNode===!0:!1}function sn(e,t){return e.type===t.type&&e.key===t.key}const ko="__vInternal",Ya=({key:e})=>e??null,no=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Re(e)||Me(e)||ae(e)?{i:We,r:e,k:t,f:!!n}:e:null);function se(e,t=null,n=null,r=0,o=null,l=e===Ue?0:1,s=!1,i=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ya(t),ref:t&&no(t),scopeId:wo,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:l,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:We};return i?(Zl(a,n),l&128&&e.normalize(a)):n&&(a.shapeFlag|=Re(n)?8:16),hr>0&&!s&&mt&&(a.patchFlag>0||l&6)&&a.patchFlag!==32&&mt.push(a),a}const Oe=Gd;function Gd(e,t=null,n=null,r=0,o=null,l=!1){if((!e||e===ad)&&(e=ut),hl(e)){const i=Kt(e,t,!0);return n&&Zl(i,n),hr>0&&!l&&mt&&(i.shapeFlag&6?mt[mt.indexOf(e)]=i:mt.push(i)),i.patchFlag|=-2,i}if(o1(e)&&(e=e.__vccOpts),t){t=Kd(t);let{class:i,style:a}=t;i&&!Re(i)&&(t.class=Nl(i)),we(a)&&(ga(a)&&!oe(a)&&(a=$e({},a)),t.style=Ml(a))}const s=Re(e)?1:ud(e)?128:qd(e)?64:we(e)?4:ae(e)?2:0;return se(e,t,n,r,o,s,l,!0)}function Kd(e){return e?ga(e)||ko in e?$e({},e):e:null}function Kt(e,t,n=!1){const{props:r,ref:o,patchFlag:l,children:s}=e,i=t?Yd(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:i,key:i&&Ya(i),ref:t&&t.ref?n&&o?oe(o)?o.concat(no(t)):[o,no(t)]:no(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ue?l===-1?16:l|16:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Kt(e.ssContent),ssFallback:e.ssFallback&&Kt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function fo(e=" ",t=0){return Oe(Dn,null,e,t)}function sm(e,t){const n=Oe(or,null,e);return n.staticCount=t,n}function dn(e="",t=!1){return t?(yt(),Xl(ut,null,e)):Oe(ut,null,e)}function vt(e){return e==null||typeof e=="boolean"?Oe(ut):oe(e)?Oe(Ue,null,e.slice()):typeof e=="object"?Ht(e):Oe(Dn,null,String(e))}function Ht(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Kt(e)}function Zl(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(oe(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Zl(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(ko in t)?t._ctx=We:o===3&&We&&(We.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ae(t)?(t={default:t,_ctx:We},n=32):(t=String(t),r&64?(n=16,t=[fo(t)]):n=8);e.children=t,e.shapeFlag|=n}function Yd(...e){const t={};for(let n=0;nHe||We;let po,vl;{const e=ta(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),l=>{o.length>1?o.forEach(s=>s(l)):o[0](l)}};po=t("__VUE_INSTANCE_SETTERS__",n=>He=n),vl=t("__VUE_SSR_SETTERS__",n=>Pr=n)}const Or=e=>{const t=He;return po(e),e.scope.on(),()=>{e.scope.off(),po(t)}},Hs=()=>{He&&He.scope.off(),po(null)};function Qa(e){return e.vnode.shapeFlag&4}let Pr=!1;function Zd(e,t=!1){t&&vl(t);const{props:n,children:r}=e.vnode,o=Qa(e);Rd(e,n,o,t),Dd(e,r);const l=o?e1(e,t):void 0;return t&&vl(!1),l}function e1(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=ya(new Proxy(e.ctx,Sd));const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?n1(e):null,l=Or(e);hn();const s=qt(r,e,0,[e.props,o]);if(vn(),l(),Xi(s)){if(s.then(Hs,Hs),t)return s.then(i=>{Bs(e,i,t)}).catch(i=>{Sr(i,e,0)});e.asyncDep=s}else Bs(e,s,t)}else Ja(e,t)}function Bs(e,t,n){ae(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:we(t)&&(e.setupState=wa(t)),Ja(e,n)}let Vs;function Ja(e,t,n){const r=e.type;if(!e.render){if(!t&&Vs&&!r.render){const o=r.template||Ql(e).template;if(o){const{isCustomElement:l,compilerOptions:s}=e.appContext.config,{delimiters:i,compilerOptions:a}=r,c=$e($e({isCustomElement:l,delimiters:i},s),a);r.render=Vs(o,c)}}e.render=r.render||at}{const o=Or(e);hn();try{Td(e)}finally{vn(),o()}}}function t1(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Ze(e,"get","$attrs"),t[n]}}))}function n1(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return t1(e)},slots:e.slots,emit:e.emit,expose:t}}function Co(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(wa(ya(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in nr)return nr[n](e)},has(t,n){return n in t||n in nr}}))}function r1(e,t=!0){return ae(e)?e.displayName||e.name:e.name||t&&e.__name}function o1(e){return ae(e)&&"__vccOpts"in e}const T=(e,t)=>Uf(e,t,Pr);function f(e,t,n){const r=arguments.length;return r===2?we(t)&&!oe(t)?hl(t)?Oe(e,null,[t]):Oe(e,t):Oe(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&hl(n)&&(n=[n]),Oe(e,t,n))}const l1="3.4.21";/** +**/function qt(e,t,n,r){try{return r?e(...r):e()}catch(o){Sr(o,t,n)}}function ct(e,t,n,r){if(ae(e)){const l=qt(e,t,n,r);return l&&Xi(l)&&l.catch(s=>{Sr(s,t,n)}),l}const o=[];for(let l=0;l>>1,o=Ve[r],l=fr(o);lEt&&Ve.splice(t,1)}function ed(e){oe(e)?On.push(...e):(!Ft||!Ft.includes(e,e.allowRecurse?ln+1:ln))&&On.push(e),Ca()}function Ts(e,t,n=ur?Et+1:0){for(;nfr(n)-fr(r));if(On.length=0,Ft){Ft.push(...t);return}for(Ft=t,ln=0;lne.id==null?1/0:e.id,td=(e,t)=>{const n=fr(e)-fr(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function xa(e){cl=!1,ur=!0,Ve.sort(td);try{for(Et=0;EtRe(h)?h.trim():h)),d&&(o=n.map(ll))}let i,a=r[i=Po(t)]||r[i=Po(dt(t))];!a&&l&&(a=r[i=Po(Un(t))]),a&&ct(a,e,6,o);const c=r[i+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,ct(c,e,6,o)}}function Sa(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const l=e.emits;let s={},i=!1;if(!ae(e)){const a=c=>{const u=Sa(c,t,!0);u&&(i=!0,$e(s,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!l&&!i?(we(e)&&r.set(e,null),null):(oe(l)?l.forEach(a=>s[a]=null):$e(s,l),we(e)&&r.set(e,s),s)}function _o(e,t){return!e||!Er(t)?!1:(t=t.slice(2).replace(/Once$/,""),he(e,t[0].toLowerCase()+t.slice(1))||he(e,Un(t))||he(e,t))}let We=null,wo=null;function ao(e){const t=We;return We=e,wo=e&&e.type.__scopeId||null,t}function Tr(e){wo=e}function Lr(){wo=null}function rd(e,t=We,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&js(-1);const l=ao(t);let s;try{s=e(...o)}finally{ao(l),r._d&&js(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function Ro(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:l,propsOptions:[s],slots:i,attrs:a,emit:c,render:u,renderCache:d,data:p,setupState:h,ctx:m,inheritAttrs:_}=e;let b,w;const C=ao(e);try{if(n.shapeFlag&4){const x=o||r,P=x;b=vt(u.call(P,x,d,l,h,p,m)),w=a}else{const x=t;b=vt(x.length>1?x(l,{attrs:a,slots:i,emit:c}):x(l,null)),w=t.props?a:od(a)}}catch(x){lr.length=0,Sr(x,e,1),b=Oe(ut)}let y=b;if(w&&_!==!1){const x=Object.keys(w),{shapeFlag:P}=y;x.length&&P&7&&(s&&x.some(Pl)&&(w=ld(w,s)),y=Kt(y,w))}return n.dirs&&(y=Kt(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),b=y,ao(C),b}const od=e=>{let t;for(const n in e)(n==="class"||n==="style"||Er(n))&&((t||(t={}))[n]=e[n]);return t},ld=(e,t)=>{const n={};for(const r in e)(!Pl(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function sd(e,t,n){const{props:r,children:o,component:l}=e,{props:s,children:i,patchFlag:a}=t,c=l.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?Ls(r,s,c):!!s;if(a&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function La(e,t){t&&t.pendingBranch?oe(e)?t.effects.push(...e):t.effects.push(e):ed(e)}const fd=Symbol.for("v-scx"),dd=()=>De(fd);function Aa(e,t){return Gl(e,null,t)}const Ur={};function ve(e,t,n){return Gl(e,t,n)}function Gl(e,t,{immediate:n,deep:r,flush:o,once:l,onTrack:s,onTrigger:i}=Ce){if(t&&l){const S=t;t=(...I)=>{S(...I),P()}}const a=Be,c=S=>r===!0?S:an(S,r===!1?1:void 0);let u,d=!1,p=!1;if(Me(e)?(u=()=>e.value,d=so(e)):In(e)?(u=()=>c(e),d=!0):oe(e)?(p=!0,d=e.some(S=>In(S)||so(S)),u=()=>e.map(S=>{if(Me(S))return S.value;if(In(S))return c(S);if(ae(S))return qt(S,a,2)})):ae(e)?t?u=()=>qt(e,a,2):u=()=>(h&&h(),ct(e,a,3,[m])):u=at,t&&r){const S=u;u=()=>an(S())}let h,m=S=>{h=y.onStop=()=>{qt(S,a,4),h=y.onStop=void 0}},_;if(Pr)if(m=at,t?n&&ct(t,a,3,[u(),p?[]:void 0,m]):u(),o==="sync"){const S=dd();_=S.__watcherHandles||(S.__watcherHandles=[])}else return at;let b=p?new Array(e.length).fill(Ur):Ur;const w=()=>{if(!(!y.active||!y.dirty))if(t){const S=y.run();(r||d||(p?S.some((I,$)=>Wt(I,b[$])):Wt(S,b)))&&(h&&h(),ct(t,a,3,[S,b===Ur?void 0:p&&b[0]===Ur?[]:b,m]),b=S)}else y.run()};w.allowRecurse=!!t;let C;o==="sync"?C=w:o==="post"?C=()=>Qe(w,a&&a.suspense):(w.pre=!0,a&&(w.id=a.uid),C=()=>bo(w));const y=new Dl(u,at,C),x=oa(),P=()=>{y.stop(),x&&$l(x.effects,y)};return t?n?w():b=y.run():o==="post"?Qe(y.run.bind(y),a&&a.suspense):y.run(),_&&_.push(P),P}function pd(e,t,n){const r=this.proxy,o=Re(e)?e.includes(".")?Ia(r,e):()=>r[e]:e.bind(r,r);let l;ae(t)?l=t:(l=t.handler,n=t);const s=Or(this),i=Gl(o,l.bind(r),n);return s(),i}function Ia(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o0){if(n>=t)return e;n++}if(r=r||new Set,r.has(e))return e;if(r.add(e),Me(e))an(e.value,t,n,r);else if(oe(e))for(let o=0;o{an(o,t,n,r)});else if(ea(e))for(const o in e)an(e[o],t,n,r);return e}function Oa(e,t){if(We===null)return e;const n=Co(We)||We.proxy,r=e.dirs||(e.dirs=[]);for(let o=0;o{e.isMounted=!0}),Yl(()=>{e.isUnmounting=!0}),e}const lt=[Function,Array],$a={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:lt,onEnter:lt,onAfterEnter:lt,onEnterCancelled:lt,onBeforeLeave:lt,onLeave:lt,onAfterLeave:lt,onLeaveCancelled:lt,onBeforeAppear:lt,onAppear:lt,onAfterAppear:lt,onAppearCancelled:lt},hd={name:"BaseTransition",props:$a,setup(e,{slots:t}){const n=Ir(),r=Pa();return()=>{const o=t.default&&Kl(t.default(),!0);if(!o||!o.length)return;let l=o[0];if(o.length>1){for(const p of o)if(p.type!==ut){l=p;break}}const s=fe(e),{mode:i}=s;if(r.isLeaving)return Mo(l);const a=Is(l);if(!a)return Mo(l);const c=dr(a,s,r,n);pr(a,c);const u=n.subTree,d=u&&Is(u);if(d&&d.type!==ut&&!sn(a,d)){const p=dr(d,s,r,n);if(pr(d,p),i==="out-in")return r.isLeaving=!0,p.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Mo(l);i==="in-out"&&a.type!==ut&&(p.delayLeave=(h,m,_)=>{const b=Ra(r,d);b[String(d.key)]=d,h[jt]=()=>{m(),h[jt]=void 0,delete c.delayedLeave},c.delayedLeave=_})}return l}}},vd=hd;function Ra(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 dr(e,t,n,r){const{appear:o,mode:l,persisted:s=!1,onBeforeEnter:i,onEnter:a,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:p,onAfterLeave:h,onLeaveCancelled:m,onBeforeAppear:_,onAppear:b,onAfterAppear:w,onAppearCancelled:C}=t,y=String(e.key),x=Ra(n,e),P=($,Q)=>{$&&ct($,r,9,Q)},S=($,Q)=>{const O=Q[1];P($,Q),oe($)?$.every(U=>U.length<=1)&&O():$.length<=1&&O()},I={mode:l,persisted:s,beforeEnter($){let Q=i;if(!n.isMounted)if(o)Q=_||i;else return;$[jt]&&$[jt](!0);const O=x[y];O&&sn(e,O)&&O.el[jt]&&O.el[jt](),P(Q,[$])},enter($){let Q=a,O=c,U=u;if(!n.isMounted)if(o)Q=b||a,O=w||c,U=C||u;else return;let M=!1;const re=$[qr]=ke=>{M||(M=!0,ke?P(U,[$]):P(O,[$]),I.delayedLeave&&I.delayedLeave(),$[qr]=void 0)};Q?S(Q,[$,re]):re()},leave($,Q){const O=String(e.key);if($[qr]&&$[qr](!0),n.isUnmounting)return Q();P(d,[$]);let U=!1;const M=$[jt]=re=>{U||(U=!0,Q(),re?P(m,[$]):P(h,[$]),$[jt]=void 0,x[O]===e&&delete x[O])};x[O]=e,p?S(p,[$,M]):M()},clone($){return dr($,t,n,r)}};return I}function Mo(e){if(Ar(e))return e=Kt(e),e.children=null,e}function Is(e){return Ar(e)?e.children?e.children[0]:void 0:e}function pr(e,t){e.shapeFlag&6&&e.component?pr(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 Kl(e,t=!1,n){let r=[],o=0;for(let l=0;l1)for(let l=0;l!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function md(e){ae(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:l,suspensible:s=!0,onError:i}=e;let a=null,c,u=0;const d=()=>(u++,a=null,p()),p=()=>{let h;return a||(h=a=t().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),i)return new Promise((_,b)=>{i(m,()=>_(d()),()=>b(m),u+1)});throw m}).then(m=>h!==a&&a?a:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),c=m,m)))};return V({name:"AsyncComponentWrapper",__asyncLoader:p,get __asyncResolved(){return c},setup(){const h=Be;if(c)return()=>No(c,h);const m=C=>{a=null,Sr(C,h,13,!r)};if(s&&h.suspense||Pr)return p().then(C=>()=>No(C,h)).catch(C=>(m(C),()=>r?Oe(r,{error:C}):null));const _=Y(!1),b=Y(),w=Y(!!o);return o&&setTimeout(()=>{w.value=!1},o),l!=null&&setTimeout(()=>{if(!_.value&&!b.value){const C=new Error(`Async component timed out after ${l}ms.`);m(C),b.value=C}},l),p().then(()=>{_.value=!0,h.parent&&Ar(h.parent.vnode)&&(h.parent.effect.dirty=!0,bo(h.parent.update))}).catch(C=>{m(C),b.value=C}),()=>{if(_.value&&c)return No(c,h);if(b.value&&r)return Oe(r,{error:b.value});if(n&&!w.value)return Oe(n)}}})}function No(e,t){const{ref:n,props:r,children:o,ce:l}=t.vnode,s=Oe(e,r,o);return s.ref=n,s.ce=l,delete t.vnode.ce,s}const Ar=e=>e.type.__isKeepAlive;function gd(e,t){Ma(e,"a",t)}function yd(e,t){Ma(e,"da",t)}function Ma(e,t,n=Be){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Eo(t,r,n),n){let o=n.parent;for(;o&&o.parent;)Ar(o.parent.vnode)&&bd(r,t,n,o),o=o.parent}}function bd(e,t,n,r){const o=Eo(t,e,r,!0);mn(()=>{$l(r[t],o)},n)}function Eo(e,t,n=Be,r=!1){if(n){const o=n[e]||(n[e]=[]),l=t.__weh||(t.__weh=(...s)=>{if(n.isUnmounted)return;hn();const i=Or(n),a=ct(t,n,e,s);return i(),vn(),a});return r?o.unshift(l):o.push(l),l}}const Ot=e=>(t,n=Be)=>(!Pr||e==="sp")&&Eo(e,(...r)=>t(...r),n),_d=Ot("bm"),Ee=Ot("m"),wd=Ot("bu"),Na=Ot("u"),Yl=Ot("bum"),mn=Ot("um"),Ed=Ot("sp"),kd=Ot("rtg"),Cd=Ot("rtc");function xd(e,t=Be){Eo("ec",e,t)}function Da(e,t,n,r){let o;const l=n&&n[r];if(oe(e)||Re(e)){o=new Array(e.length);for(let s=0,i=e.length;st(s,i,void 0,l&&l[i]));else{const s=Object.keys(e);o=new Array(s.length);for(let i=0,a=s.length;ie?Qa(e)?Co(e)||e.proxy:ul(e.parent):null,nr=$e(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=>ul(e.parent),$root:e=>ul(e.root),$emit:e=>e.emit,$options:e=>Ql(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,bo(e.update)}),$nextTick:e=>e.n||(e.n=Qt.bind(e.proxy)),$watch:e=>pd.bind(e)}),Do=(e,t)=>e!==Ce&&!e.__isScriptSetup&&he(e,t),Sd={get({_:e},t){const{ctx:n,setupState:r,data:o,props:l,accessCache:s,type:i,appContext:a}=e;let c;if(t[0]!=="$"){const h=s[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return l[t]}else{if(Do(r,t))return s[t]=1,r[t];if(o!==Ce&&he(o,t))return s[t]=2,o[t];if((c=e.propsOptions[0])&&he(c,t))return s[t]=3,l[t];if(n!==Ce&&he(n,t))return s[t]=4,n[t];fl&&(s[t]=0)}}const u=nr[t];let d,p;if(u)return t==="$attrs"&&Ze(e,"get",t),u(e);if((d=i.__cssModules)&&(d=d[t]))return d;if(n!==Ce&&he(n,t))return s[t]=4,n[t];if(p=a.config.globalProperties,he(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:l}=e;return Do(o,t)?(o[t]=n,!0):r!==Ce&&he(r,t)?(r[t]=n,!0):he(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(l[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:l}},s){let i;return!!n[s]||e!==Ce&&he(e,s)||Do(t,s)||(i=l[0])&&he(i,s)||he(r,s)||he(nr,s)||he(o.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:he(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Os(e){return oe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let fl=!0;function Td(e){const t=Ql(e),n=e.proxy,r=e.ctx;fl=!1,t.beforeCreate&&Ps(t.beforeCreate,e,"bc");const{data:o,computed:l,methods:s,watch:i,provide:a,inject:c,created:u,beforeMount:d,mounted:p,beforeUpdate:h,updated:m,activated:_,deactivated:b,beforeDestroy:w,beforeUnmount:C,destroyed:y,unmounted:x,render:P,renderTracked:S,renderTriggered:I,errorCaptured:$,serverPrefetch:Q,expose:O,inheritAttrs:U,components:M,directives:re,filters:ke}=t;if(c&&Ld(c,r,null),s)for(const le in s){const W=s[le];ae(W)&&(r[le]=W.bind(n))}if(o){const le=o.call(n,n);we(le)&&(e.data=Cr(le))}if(fl=!0,l)for(const le in l){const W=l[le],Se=ae(W)?W.bind(n,n):ae(W.get)?W.get.bind(n,n):at,ot=!ae(W)&&ae(W.set)?W.set.bind(n):at,Ye=T({get:Se,set:ot});Object.defineProperty(r,le,{enumerable:!0,configurable:!0,get:()=>Ye.value,set:Z=>Ye.value=Z})}if(i)for(const le in i)Fa(i[le],r,n,le);if(a){const le=ae(a)?a.call(n):a;Reflect.ownKeys(le).forEach(W=>{Pn(W,le[W])})}u&&Ps(u,e,"c");function K(le,W){oe(W)?W.forEach(Se=>le(Se.bind(n))):W&&le(W.bind(n))}if(K(_d,d),K(Ee,p),K(wd,h),K(Na,m),K(gd,_),K(yd,b),K(xd,$),K(Cd,S),K(kd,I),K(Yl,C),K(mn,x),K(Ed,Q),oe(O))if(O.length){const le=e.exposed||(e.exposed={});O.forEach(W=>{Object.defineProperty(le,W,{get:()=>n[W],set:Se=>n[W]=Se})})}else e.exposed||(e.exposed={});P&&e.render===at&&(e.render=P),U!=null&&(e.inheritAttrs=U),M&&(e.components=M),re&&(e.directives=re)}function Ld(e,t,n=at){oe(e)&&(e=dl(e));for(const r in e){const o=e[r];let l;we(o)?"default"in o?l=De(o.from||r,o.default,!0):l=De(o.from||r):l=De(o),Me(l)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>l.value,set:s=>l.value=s}):t[r]=l}}function Ps(e,t,n){ct(oe(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Fa(e,t,n,r){const o=r.includes(".")?Ia(n,r):()=>n[r];if(Re(e)){const l=t[e];ae(l)&&ve(o,l)}else if(ae(e))ve(o,e.bind(n));else if(we(e))if(oe(e))e.forEach(l=>Fa(l,t,n,r));else{const l=ae(e.handler)?e.handler.bind(n):t[e.handler];ae(l)&&ve(o,l,e)}}function Ql(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:l,config:{optionMergeStrategies:s}}=e.appContext,i=l.get(t);let a;return i?a=i:!o.length&&!n&&!r?a=t:(a={},o.length&&o.forEach(c=>co(a,c,s,!0)),co(a,t,s)),we(t)&&l.set(t,a),a}function co(e,t,n,r=!1){const{mixins:o,extends:l}=t;l&&co(e,l,n,!0),o&&o.forEach(s=>co(e,s,n,!0));for(const s in t)if(!(r&&s==="expose")){const i=Ad[s]||n&&n[s];e[s]=i?i(e[s],t[s]):t[s]}return e}const Ad={data:$s,props:Rs,emits:Rs,methods:Xn,computed:Xn,beforeCreate:ze,created:ze,beforeMount:ze,mounted:ze,beforeUpdate:ze,updated:ze,beforeDestroy:ze,beforeUnmount:ze,destroyed:ze,unmounted:ze,activated:ze,deactivated:ze,errorCaptured:ze,serverPrefetch:ze,components:Xn,directives:Xn,watch:Od,provide:$s,inject:Id};function $s(e,t){return t?e?function(){return $e(ae(e)?e.call(this,this):e,ae(t)?t.call(this,this):t)}:t:e}function Id(e,t){return Xn(dl(e),dl(t))}function dl(e){if(oe(e)){const t={};for(let n=0;n1)return n&&ae(t)?t.call(r&&r.proxy):t}}function Rd(e,t,n,r=!1){const o={},l={};oo(l,ko,1),e.propsDefaults=Object.create(null),Ba(e,t,o,l);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);n?e.props=r?o:ma(o):e.type.props?e.props=o:e.props=l,e.attrs=l}function Md(e,t,n,r){const{props:o,attrs:l,vnode:{patchFlag:s}}=e,i=fe(o),[a]=e.propsOptions;let c=!1;if((r||s>0)&&!(s&16)){if(s&8){const u=e.vnode.dynamicProps;for(let d=0;d{a=!0;const[p,h]=Ha(d,t,!0);$e(s,p),h&&i.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!l&&!a)return we(e)&&r.set(e,Tn),Tn;if(oe(l))for(let u=0;u-1,h[1]=_<0||m<_,(m>-1||he(h,"default"))&&i.push(d)}}}const c=[s,i];return we(e)&&r.set(e,c),c}function Ms(e){return e[0]!=="$"&&!An(e)}function Ns(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Ds(e,t){return Ns(e)===Ns(t)}function Fs(e,t){return oe(t)?t.findIndex(n=>Ds(n,e)):ae(t)&&Ds(t,e)?0:-1}const Va=e=>e[0]==="_"||e==="$stable",Jl=e=>oe(e)?e.map(vt):[vt(e)],Nd=(e,t,n)=>{if(t._n)return t;const r=rd((...o)=>Jl(t(...o)),n);return r._c=!1,r},za=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Va(o))continue;const l=e[o];if(ae(l))t[o]=Nd(o,l,r);else if(l!=null){const s=Jl(l);t[o]=()=>s}}},Ua=(e,t)=>{const n=Jl(t);e.slots.default=()=>n},Dd=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=fe(t),oo(t,"_",n)):za(t,e.slots={})}else e.slots={},t&&Ua(e,t);oo(e.slots,ko,1)},Fd=(e,t,n)=>{const{vnode:r,slots:o}=e;let l=!0,s=Ce;if(r.shapeFlag&32){const i=t._;i?n&&i===1?l=!1:($e(o,t),!n&&i===1&&delete o._):(l=!t.$stable,za(t,o)),s=t}else t&&(Ua(e,t),s={default:1});if(l)for(const i in o)!Va(i)&&s[i]==null&&delete o[i]};function uo(e,t,n,r,o=!1){if(oe(e)){e.forEach((p,h)=>uo(p,t&&(oe(t)?t[h]:t),n,r,o));return}if(tr(r)&&!o)return;const l=r.shapeFlag&4?Co(r.component)||r.component.proxy:r.el,s=o?null:l,{i,r:a}=e,c=t&&t.r,u=i.refs===Ce?i.refs={}:i.refs,d=i.setupState;if(c!=null&&c!==a&&(Re(c)?(u[c]=null,he(d,c)&&(d[c]=null)):Me(c)&&(c.value=null)),ae(a))qt(a,i,12,[s,u]);else{const p=Re(a),h=Me(a);if(p||h){const m=()=>{if(e.f){const _=p?he(d,a)?d[a]:u[a]:a.value;o?oe(_)&&$l(_,l):oe(_)?_.includes(l)||_.push(l):p?(u[a]=[l],he(d,a)&&(d[a]=u[a])):(a.value=[l],e.k&&(u[e.k]=a.value))}else p?(u[a]=s,he(d,a)&&(d[a]=s)):h&&(a.value=s,e.k&&(u[e.k]=s))};s?(m.id=-1,Qe(m,n)):m()}}}let $t=!1;const jd=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Bd=e=>e.namespaceURI.includes("MathML"),Wr=e=>{if(jd(e))return"svg";if(Bd(e))return"mathml"},Gr=e=>e.nodeType===8;function Hd(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:l,parentNode:s,remove:i,insert:a,createComment:c}}=e,u=(y,x)=>{if(!x.hasChildNodes()){n(null,y,x),io(),x._vnode=y;return}$t=!1,d(x.firstChild,y,null,null,null),io(),x._vnode=y,$t&&console.error("Hydration completed but contains mismatches.")},d=(y,x,P,S,I,$=!1)=>{const Q=Gr(y)&&y.data==="[",O=()=>_(y,x,P,S,I,Q),{type:U,ref:M,shapeFlag:re,patchFlag:ke}=x;let _e=y.nodeType;x.el=y,ke===-2&&($=!1,x.dynamicChildren=null);let K=null;switch(U){case Dn:_e!==3?x.children===""?(a(x.el=o(""),s(y),y),K=y):K=O():(y.data!==x.children&&($t=!0,y.data=x.children),K=l(y));break;case ut:C(y)?(K=l(y),w(x.el=y.content.firstChild,y,P)):_e!==8||Q?K=O():K=l(y);break;case or:if(Q&&(y=l(y),_e=y.nodeType),_e===1||_e===3){K=y;const le=!x.children.length;for(let W=0;W{$=$||!!x.dynamicChildren;const{type:Q,props:O,patchFlag:U,shapeFlag:M,dirs:re,transition:ke}=x,_e=Q==="input"||Q==="option";if(_e||U!==-1){re&&wt(x,null,P,"created");let K=!1;if(C(y)){K=qa(S,ke)&&P&&P.vnode.props&&P.vnode.props.appear;const W=y.content.firstChild;K&&ke.beforeEnter(W),w(W,y,P),x.el=y=W}if(M&16&&!(O&&(O.innerHTML||O.textContent))){let W=h(y.firstChild,x,y,P,S,I,$);for(;W;){$t=!0;const Se=W;W=W.nextSibling,i(Se)}}else M&8&&y.textContent!==x.children&&($t=!0,y.textContent=x.children);if(O)if(_e||!$||U&48)for(const W in O)(_e&&(W.endsWith("value")||W==="indeterminate")||Er(W)&&!An(W)||W[0]===".")&&r(y,W,null,O[W],void 0,void 0,P);else O.onClick&&r(y,"onClick",null,O.onClick,void 0,void 0,P);let le;(le=O&&O.onVnodeBeforeMount)&&st(le,P,x),re&&wt(x,null,P,"beforeMount"),((le=O&&O.onVnodeMounted)||re||K)&&La(()=>{le&&st(le,P,x),K&&ke.enter(y),re&&wt(x,null,P,"mounted")},S)}return y.nextSibling},h=(y,x,P,S,I,$,Q)=>{Q=Q||!!x.dynamicChildren;const O=x.children,U=O.length;for(let M=0;M{const{slotScopeIds:Q}=x;Q&&(I=I?I.concat(Q):Q);const O=s(y),U=h(l(y),x,O,P,S,I,$);return U&&Gr(U)&&U.data==="]"?l(x.anchor=U):($t=!0,a(x.anchor=c("]"),O,U),U)},_=(y,x,P,S,I,$)=>{if($t=!0,x.el=null,$){const U=b(y);for(;;){const M=l(y);if(M&&M!==U)i(M);else break}}const Q=l(y),O=s(y);return i(y),n(null,x,O,Q,P,S,Wr(O),I),Q},b=(y,x="[",P="]")=>{let S=0;for(;y;)if(y=l(y),y&&Gr(y)&&(y.data===x&&S++,y.data===P)){if(S===0)return l(y);S--}return y},w=(y,x,P)=>{const S=x.parentNode;S&&S.replaceChild(y,x);let I=P;for(;I;)I.vnode.el===x&&(I.vnode.el=I.subTree.el=y),I=I.parent},C=y=>y.nodeType===1&&y.tagName.toLowerCase()==="template";return[u,d]}const Qe=La;function Vd(e){return zd(e,Hd)}function zd(e,t){const n=ta();n.__VUE__=!0;const{insert:r,remove:o,patchProp:l,createElement:s,createText:i,createComment:a,setText:c,setElementText:u,parentNode:d,nextSibling:p,setScopeId:h=at,insertStaticContent:m}=e,_=(v,g,k,A=null,L=null,D=null,H=void 0,N=null,B=!!g.dynamicChildren)=>{if(v===g)return;v&&!sn(v,g)&&(A=E(v),Z(v,L,D,!0),v=null),g.patchFlag===-2&&(B=!1,g.dynamicChildren=null);const{type:R,ref:q,shapeFlag:ne}=g;switch(R){case Dn:b(v,g,k,A);break;case ut:w(v,g,k,A);break;case or:v==null&&C(g,k,A,H);break;case Ue:M(v,g,k,A,L,D,H,N,B);break;default:ne&1?P(v,g,k,A,L,D,H,N,B):ne&6?re(v,g,k,A,L,D,H,N,B):(ne&64||ne&128)&&R.process(v,g,k,A,L,D,H,N,B,X)}q!=null&&L&&uo(q,v&&v.ref,D,g||v,!g)},b=(v,g,k,A)=>{if(v==null)r(g.el=i(g.children),k,A);else{const L=g.el=v.el;g.children!==v.children&&c(L,g.children)}},w=(v,g,k,A)=>{v==null?r(g.el=a(g.children||""),k,A):g.el=v.el},C=(v,g,k,A)=>{[v.el,v.anchor]=m(v.children,g,k,A,v.el,v.anchor)},y=({el:v,anchor:g},k,A)=>{let L;for(;v&&v!==g;)L=p(v),r(v,k,A),v=L;r(g,k,A)},x=({el:v,anchor:g})=>{let k;for(;v&&v!==g;)k=p(v),o(v),v=k;o(g)},P=(v,g,k,A,L,D,H,N,B)=>{g.type==="svg"?H="svg":g.type==="math"&&(H="mathml"),v==null?S(g,k,A,L,D,H,N,B):Q(v,g,L,D,H,N,B)},S=(v,g,k,A,L,D,H,N)=>{let B,R;const{props:q,shapeFlag:ne,transition:ee,dirs:ie}=v;if(B=v.el=s(v.type,D,q&&q.is,q),ne&8?u(B,v.children):ne&16&&$(v.children,B,null,A,L,Fo(v,D),H,N),ie&&wt(v,null,A,"created"),I(B,v,v.scopeId,H,A),q){for(const ge in q)ge!=="value"&&!An(ge)&&l(B,ge,null,q[ge],D,v.children,A,L,J);"value"in q&&l(B,"value",null,q.value,D),(R=q.onVnodeBeforeMount)&&st(R,A,v)}ie&&wt(v,null,A,"beforeMount");const ue=qa(L,ee);ue&&ee.beforeEnter(B),r(B,g,k),((R=q&&q.onVnodeMounted)||ue||ie)&&Qe(()=>{R&&st(R,A,v),ue&&ee.enter(B),ie&&wt(v,null,A,"mounted")},L)},I=(v,g,k,A,L)=>{if(k&&h(v,k),A)for(let D=0;D{for(let R=B;R{const N=g.el=v.el;let{patchFlag:B,dynamicChildren:R,dirs:q}=g;B|=v.patchFlag&16;const ne=v.props||Ce,ee=g.props||Ce;let ie;if(k&&nn(k,!1),(ie=ee.onVnodeBeforeUpdate)&&st(ie,k,g,v),q&&wt(g,v,k,"beforeUpdate"),k&&nn(k,!0),R?O(v.dynamicChildren,R,N,k,A,Fo(g,L),D):H||W(v,g,N,null,k,A,Fo(g,L),D,!1),B>0){if(B&16)U(N,g,ne,ee,k,A,L);else if(B&2&&ne.class!==ee.class&&l(N,"class",null,ee.class,L),B&4&&l(N,"style",ne.style,ee.style,L),B&8){const ue=g.dynamicProps;for(let ge=0;ge{ie&&st(ie,k,g,v),q&&wt(g,v,k,"updated")},A)},O=(v,g,k,A,L,D,H)=>{for(let N=0;N{if(k!==A){if(k!==Ce)for(const N in k)!An(N)&&!(N in A)&&l(v,N,k[N],null,H,g.children,L,D,J);for(const N in A){if(An(N))continue;const B=A[N],R=k[N];B!==R&&N!=="value"&&l(v,N,R,B,H,g.children,L,D,J)}"value"in A&&l(v,"value",k.value,A.value,H)}},M=(v,g,k,A,L,D,H,N,B)=>{const R=g.el=v?v.el:i(""),q=g.anchor=v?v.anchor:i("");let{patchFlag:ne,dynamicChildren:ee,slotScopeIds:ie}=g;ie&&(N=N?N.concat(ie):ie),v==null?(r(R,k,A),r(q,k,A),$(g.children||[],k,q,L,D,H,N,B)):ne>0&&ne&64&&ee&&v.dynamicChildren?(O(v.dynamicChildren,ee,k,L,D,H,N),(g.key!=null||L&&g===L.subTree)&&Wa(v,g,!0)):W(v,g,k,q,L,D,H,N,B)},re=(v,g,k,A,L,D,H,N,B)=>{g.slotScopeIds=N,v==null?g.shapeFlag&512?L.ctx.activate(g,k,A,H,B):ke(g,k,A,L,D,H,B):_e(v,g,B)},ke=(v,g,k,A,L,D,H)=>{const N=v.component=Xd(v,A,L);if(Ar(v)&&(N.ctx.renderer=X),Zd(N),N.asyncDep){if(L&&L.registerDep(N,K),!v.el){const B=N.subTree=Oe(ut);w(null,B,g,k)}}else K(N,v,g,k,L,D,H)},_e=(v,g,k)=>{const A=g.component=v.component;if(sd(v,g,k))if(A.asyncDep&&!A.asyncResolved){le(A,g,k);return}else A.next=g,Zf(A.update),A.effect.dirty=!0,A.update();else g.el=v.el,A.vnode=g},K=(v,g,k,A,L,D,H)=>{const N=()=>{if(v.isMounted){let{next:q,bu:ne,u:ee,parent:ie,vnode:ue}=v;{const _n=Ga(v);if(_n){q&&(q.el=ue.el,le(v,q,H)),_n.asyncDep.then(()=>{v.isUnmounted||N()});return}}let ge=q,Te;nn(v,!1),q?(q.el=ue.el,le(v,q,H)):q=ue,ne&&to(ne),(Te=q.props&&q.props.onVnodeBeforeUpdate)&&st(Te,ie,q,ue),nn(v,!0);const je=Ro(v),pt=v.subTree;v.subTree=je,_(pt,je,d(pt.el),E(pt),v,L,D),q.el=je.el,ge===null&&id(v,je.el),ee&&Qe(ee,L),(Te=q.props&&q.props.onVnodeUpdated)&&Qe(()=>st(Te,ie,q,ue),L)}else{let q;const{el:ne,props:ee}=g,{bm:ie,m:ue,parent:ge}=v,Te=tr(g);if(nn(v,!1),ie&&to(ie),!Te&&(q=ee&&ee.onVnodeBeforeMount)&&st(q,ge,g),nn(v,!0),ne&&be){const je=()=>{v.subTree=Ro(v),be(ne,v.subTree,v,L,null)};Te?g.type.__asyncLoader().then(()=>!v.isUnmounted&&je()):je()}else{const je=v.subTree=Ro(v);_(null,je,k,A,v,L,D),g.el=je.el}if(ue&&Qe(ue,L),!Te&&(q=ee&&ee.onVnodeMounted)){const je=g;Qe(()=>st(q,ge,je),L)}(g.shapeFlag&256||ge&&tr(ge.vnode)&&ge.vnode.shapeFlag&256)&&v.a&&Qe(v.a,L),v.isMounted=!0,g=k=A=null}},B=v.effect=new Dl(N,at,()=>bo(R),v.scope),R=v.update=()=>{B.dirty&&B.run()};R.id=v.uid,nn(v,!0),R()},le=(v,g,k)=>{g.component=v;const A=v.vnode.props;v.vnode=g,v.next=null,Md(v,g.props,A,k),Fd(v,g.children,k),hn(),Ts(v),vn()},W=(v,g,k,A,L,D,H,N,B=!1)=>{const R=v&&v.children,q=v?v.shapeFlag:0,ne=g.children,{patchFlag:ee,shapeFlag:ie}=g;if(ee>0){if(ee&128){ot(R,ne,k,A,L,D,H,N,B);return}else if(ee&256){Se(R,ne,k,A,L,D,H,N,B);return}}ie&8?(q&16&&J(R,L,D),ne!==R&&u(k,ne)):q&16?ie&16?ot(R,ne,k,A,L,D,H,N,B):J(R,L,D,!0):(q&8&&u(k,""),ie&16&&$(ne,k,A,L,D,H,N,B))},Se=(v,g,k,A,L,D,H,N,B)=>{v=v||Tn,g=g||Tn;const R=v.length,q=g.length,ne=Math.min(R,q);let ee;for(ee=0;eeq?J(v,L,D,!0,!1,ne):$(g,k,A,L,D,H,N,B,ne)},ot=(v,g,k,A,L,D,H,N,B)=>{let R=0;const q=g.length;let ne=v.length-1,ee=q-1;for(;R<=ne&&R<=ee;){const ie=v[R],ue=g[R]=B?Bt(g[R]):vt(g[R]);if(sn(ie,ue))_(ie,ue,k,null,L,D,H,N,B);else break;R++}for(;R<=ne&&R<=ee;){const ie=v[ne],ue=g[ee]=B?Bt(g[ee]):vt(g[ee]);if(sn(ie,ue))_(ie,ue,k,null,L,D,H,N,B);else break;ne--,ee--}if(R>ne){if(R<=ee){const ie=ee+1,ue=ieee)for(;R<=ne;)Z(v[R],L,D,!0),R++;else{const ie=R,ue=R,ge=new Map;for(R=ue;R<=ee;R++){const tt=g[R]=B?Bt(g[R]):vt(g[R]);tt.key!=null&&ge.set(tt.key,R)}let Te,je=0;const pt=ee-ue+1;let _n=!1,ms=0;const Kn=new Array(pt);for(R=0;R=pt){Z(tt,L,D,!0);continue}let _t;if(tt.key!=null)_t=ge.get(tt.key);else for(Te=ue;Te<=ee;Te++)if(Kn[Te-ue]===0&&sn(tt,g[Te])){_t=Te;break}_t===void 0?Z(tt,L,D,!0):(Kn[_t-ue]=R+1,_t>=ms?ms=_t:_n=!0,_(tt,g[_t],k,null,L,D,H,N,B),je++)}const gs=_n?Ud(Kn):Tn;for(Te=gs.length-1,R=pt-1;R>=0;R--){const tt=ue+R,_t=g[tt],ys=tt+1{const{el:D,type:H,transition:N,children:B,shapeFlag:R}=v;if(R&6){Ye(v.component.subTree,g,k,A);return}if(R&128){v.suspense.move(g,k,A);return}if(R&64){H.move(v,g,k,X);return}if(H===Ue){r(D,g,k);for(let ne=0;neN.enter(D),L);else{const{leave:ne,delayLeave:ee,afterLeave:ie}=N,ue=()=>r(D,g,k),ge=()=>{ne(D,()=>{ue(),ie&&ie()})};ee?ee(D,ue,ge):ge()}else r(D,g,k)},Z=(v,g,k,A=!1,L=!1)=>{const{type:D,props:H,ref:N,children:B,dynamicChildren:R,shapeFlag:q,patchFlag:ne,dirs:ee}=v;if(N!=null&&uo(N,null,k,v,!0),q&256){g.ctx.deactivate(v);return}const ie=q&1&&ee,ue=!tr(v);let ge;if(ue&&(ge=H&&H.onVnodeBeforeUnmount)&&st(ge,g,v),q&6)te(v.component,k,A);else{if(q&128){v.suspense.unmount(k,A);return}ie&&wt(v,null,g,"beforeUnmount"),q&64?v.type.remove(v,g,k,L,X,A):R&&(D!==Ue||ne>0&&ne&64)?J(R,g,k,!1,!0):(D===Ue&&ne&384||!L&&q&16)&&J(B,g,k),A&&z(v)}(ue&&(ge=H&&H.onVnodeUnmounted)||ie)&&Qe(()=>{ge&&st(ge,g,v),ie&&wt(v,null,g,"unmounted")},k)},z=v=>{const{type:g,el:k,anchor:A,transition:L}=v;if(g===Ue){G(k,A);return}if(g===or){x(v);return}const D=()=>{o(k),L&&!L.persisted&&L.afterLeave&&L.afterLeave()};if(v.shapeFlag&1&&L&&!L.persisted){const{leave:H,delayLeave:N}=L,B=()=>H(k,D);N?N(v.el,D,B):B()}else D()},G=(v,g)=>{let k;for(;v!==g;)k=p(v),o(v),v=k;o(g)},te=(v,g,k)=>{const{bum:A,scope:L,update:D,subTree:H,um:N}=v;A&&to(A),L.stop(),D&&(D.active=!1,Z(H,v,g,k)),N&&Qe(N,g),Qe(()=>{v.isUnmounted=!0},g),g&&g.pendingBranch&&!g.isUnmounted&&v.asyncDep&&!v.asyncResolved&&v.suspenseId===g.pendingId&&(g.deps--,g.deps===0&&g.resolve())},J=(v,g,k,A=!1,L=!1,D=0)=>{for(let H=D;Hv.shapeFlag&6?E(v.component.subTree):v.shapeFlag&128?v.suspense.next():p(v.anchor||v.el);let F=!1;const j=(v,g,k)=>{v==null?g._vnode&&Z(g._vnode,null,null,!0):_(g._vnode||null,v,g,null,null,null,k),F||(F=!0,Ts(),io(),F=!1),g._vnode=v},X={p:_,um:Z,m:Ye,r:z,mt:ke,mc:$,pc:W,pbc:O,n:E,o:e};let de,be;return t&&([de,be]=t(X)),{render:j,hydrate:de,createApp:$d(j,de)}}function Fo({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 nn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function qa(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Wa(e,t,n=!1){const r=e.children,o=t.children;if(oe(r)&&oe(o))for(let l=0;l>1,e[n[i]]0&&(t[r]=n[l-1]),n[l]=r)}}for(l=n.length,s=n[l-1];l-- >0;)n[l]=s,s=t[s];return n}function Ga(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ga(t)}const qd=e=>e.__isTeleport,Ue=Symbol.for("v-fgt"),Dn=Symbol.for("v-txt"),ut=Symbol.for("v-cmt"),or=Symbol.for("v-stc"),lr=[];let mt=null;function yt(e=!1){lr.push(mt=e?null:[])}function Wd(){lr.pop(),mt=lr[lr.length-1]||null}let hr=1;function js(e){hr+=e}function Ka(e){return e.dynamicChildren=hr>0?mt||Tn:null,Wd(),hr>0&&mt&&mt.push(e),e}function Gt(e,t,n,r,o,l){return Ka(se(e,t,n,r,o,l,!0))}function Xl(e,t,n,r,o){return Ka(Oe(e,t,n,r,o,!0))}function hl(e){return e?e.__v_isVNode===!0:!1}function sn(e,t){return e.type===t.type&&e.key===t.key}const ko="__vInternal",Ya=({key:e})=>e??null,no=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Re(e)||Me(e)||ae(e)?{i:We,r:e,k:t,f:!!n}:e:null);function se(e,t=null,n=null,r=0,o=null,l=e===Ue?0:1,s=!1,i=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ya(t),ref:t&&no(t),scopeId:wo,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:l,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:We};return i?(Zl(a,n),l&128&&e.normalize(a)):n&&(a.shapeFlag|=Re(n)?8:16),hr>0&&!s&&mt&&(a.patchFlag>0||l&6)&&a.patchFlag!==32&&mt.push(a),a}const Oe=Gd;function Gd(e,t=null,n=null,r=0,o=null,l=!1){if((!e||e===ad)&&(e=ut),hl(e)){const i=Kt(e,t,!0);return n&&Zl(i,n),hr>0&&!l&&mt&&(i.shapeFlag&6?mt[mt.indexOf(e)]=i:mt.push(i)),i.patchFlag|=-2,i}if(o1(e)&&(e=e.__vccOpts),t){t=Kd(t);let{class:i,style:a}=t;i&&!Re(i)&&(t.class=Nl(i)),we(a)&&(ga(a)&&!oe(a)&&(a=$e({},a)),t.style=Ml(a))}const s=Re(e)?1:ud(e)?128:qd(e)?64:we(e)?4:ae(e)?2:0;return se(e,t,n,r,o,s,l,!0)}function Kd(e){return e?ga(e)||ko in e?$e({},e):e:null}function Kt(e,t,n=!1){const{props:r,ref:o,patchFlag:l,children:s}=e,i=t?Yd(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:i,key:i&&Ya(i),ref:t&&t.ref?n&&o?oe(o)?o.concat(no(t)):[o,no(t)]:no(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ue?l===-1?16:l|16:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Kt(e.ssContent),ssFallback:e.ssFallback&&Kt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function fo(e=" ",t=0){return Oe(Dn,null,e,t)}function sm(e,t){const n=Oe(or,null,e);return n.staticCount=t,n}function dn(e="",t=!1){return t?(yt(),Xl(ut,null,e)):Oe(ut,null,e)}function vt(e){return e==null||typeof e=="boolean"?Oe(ut):oe(e)?Oe(Ue,null,e.slice()):typeof e=="object"?Bt(e):Oe(Dn,null,String(e))}function Bt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Kt(e)}function Zl(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(oe(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Zl(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(ko in t)?t._ctx=We:o===3&&We&&(We.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ae(t)?(t={default:t,_ctx:We},n=32):(t=String(t),r&64?(n=16,t=[fo(t)]):n=8);e.children=t,e.shapeFlag|=n}function Yd(...e){const t={};for(let n=0;nBe||We;let po,vl;{const e=ta(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),l=>{o.length>1?o.forEach(s=>s(l)):o[0](l)}};po=t("__VUE_INSTANCE_SETTERS__",n=>Be=n),vl=t("__VUE_SSR_SETTERS__",n=>Pr=n)}const Or=e=>{const t=Be;return po(e),e.scope.on(),()=>{e.scope.off(),po(t)}},Bs=()=>{Be&&Be.scope.off(),po(null)};function Qa(e){return e.vnode.shapeFlag&4}let Pr=!1;function Zd(e,t=!1){t&&vl(t);const{props:n,children:r}=e.vnode,o=Qa(e);Rd(e,n,o,t),Dd(e,r);const l=o?e1(e,t):void 0;return t&&vl(!1),l}function e1(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=ya(new Proxy(e.ctx,Sd));const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?n1(e):null,l=Or(e);hn();const s=qt(r,e,0,[e.props,o]);if(vn(),l(),Xi(s)){if(s.then(Bs,Bs),t)return s.then(i=>{Hs(e,i,t)}).catch(i=>{Sr(i,e,0)});e.asyncDep=s}else Hs(e,s,t)}else Ja(e,t)}function Hs(e,t,n){ae(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:we(t)&&(e.setupState=wa(t)),Ja(e,n)}let Vs;function Ja(e,t,n){const r=e.type;if(!e.render){if(!t&&Vs&&!r.render){const o=r.template||Ql(e).template;if(o){const{isCustomElement:l,compilerOptions:s}=e.appContext.config,{delimiters:i,compilerOptions:a}=r,c=$e($e({isCustomElement:l,delimiters:i},s),a);r.render=Vs(o,c)}}e.render=r.render||at}{const o=Or(e);hn();try{Td(e)}finally{vn(),o()}}}function t1(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Ze(e,"get","$attrs"),t[n]}}))}function n1(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return t1(e)},slots:e.slots,emit:e.emit,expose:t}}function Co(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(wa(ya(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in nr)return nr[n](e)},has(t,n){return n in t||n in nr}}))}function r1(e,t=!0){return ae(e)?e.displayName||e.name:e.name||t&&e.__name}function o1(e){return ae(e)&&"__vccOpts"in e}const T=(e,t)=>Uf(e,t,Pr);function f(e,t,n){const r=arguments.length;return r===2?we(t)&&!oe(t)?hl(t)?Oe(e,null,[t]):Oe(e,t):Oe(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&hl(n)&&(n=[n]),Oe(e,t,n))}const l1="3.4.21";/** * @vue/runtime-dom v3.4.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const s1="http://www.w3.org/2000/svg",i1="http://www.w3.org/1998/Math/MathML",Bt=typeof document<"u"?document:null,zs=Bt&&Bt.createElement("template"),a1={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 o=t==="svg"?Bt.createElementNS(s1,e):t==="mathml"?Bt.createElementNS(i1,e):Bt.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Bt.createTextNode(e),createComment:e=>Bt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Bt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,l){const s=n?n.previousSibling:t.lastChild;if(o&&(o===l||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===l||!(o=o.nextSibling)););else{zs.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const i=zs.content;if(r==="svg"||r==="mathml"){const a=i.firstChild;for(;a.firstChild;)i.appendChild(a.firstChild);i.removeChild(a)}t.insertBefore(i,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Rt="transition",Yn="animation",Fn=Symbol("_vtc"),Yt=(e,{slots:t})=>f(vd,Za(e),t);Yt.displayName="Transition";const Xa={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},c1=Yt.props=$e({},$a,Xa),rn=(e,t=[])=>{oe(e)?e.forEach(n=>n(...t)):e&&e(...t)},Us=e=>e?oe(e)?e.some(t=>t.length>1):e.length>1:!1;function Za(e){const t={};for(const M in e)M in Xa||(t[M]=e[M]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:l=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:i=`${n}-enter-to`,appearFromClass:a=l,appearActiveClass:c=s,appearToClass:u=i,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,m=u1(o),_=m&&m[0],b=m&&m[1],{onBeforeEnter:w,onEnter:C,onEnterCancelled:y,onLeave:x,onLeaveCancelled:P,onBeforeAppear:S=w,onAppear:I=C,onAppearCancelled:$=y}=t,Q=(M,re,ke)=>{Dt(M,re?u:i),Dt(M,re?c:s),ke&&ke()},O=(M,re)=>{M._isLeaving=!1,Dt(M,d),Dt(M,h),Dt(M,p),re&&re()},U=M=>(re,ke)=>{const _e=M?I:C,K=()=>Q(re,M,ke);rn(_e,[re,K]),qs(()=>{Dt(re,M?a:l),St(re,M?u:i),Us(_e)||Ws(re,r,_,K)})};return $e(t,{onBeforeEnter(M){rn(w,[M]),St(M,l),St(M,s)},onBeforeAppear(M){rn(S,[M]),St(M,a),St(M,c)},onEnter:U(!1),onAppear:U(!0),onLeave(M,re){M._isLeaving=!0;const ke=()=>O(M,re);St(M,d),tc(),St(M,p),qs(()=>{M._isLeaving&&(Dt(M,d),St(M,h),Us(x)||Ws(M,r,b,ke))}),rn(x,[M,ke])},onEnterCancelled(M){Q(M,!1),rn(y,[M])},onAppearCancelled(M){Q(M,!0),rn($,[M])},onLeaveCancelled(M){O(M),rn(P,[M])}})}function u1(e){if(e==null)return null;if(we(e))return[jo(e.enter),jo(e.leave)];{const t=jo(e);return[t,t]}}function jo(e){return hf(e)}function St(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Fn]||(e[Fn]=new Set)).add(t)}function Dt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Fn];n&&(n.delete(t),n.size||(e[Fn]=void 0))}function qs(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let f1=0;function Ws(e,t,n,r){const o=e._endId=++f1,l=()=>{o===e._endId&&r()};if(n)return setTimeout(l,n);const{type:s,timeout:i,propCount:a}=ec(e,t);if(!s)return r();const c=s+"end";let u=0;const d=()=>{e.removeEventListener(c,p),l()},p=h=>{h.target===e&&++u>=a&&d()};setTimeout(()=>{u(n[m]||"").split(", "),o=r(`${Rt}Delay`),l=r(`${Rt}Duration`),s=Gs(o,l),i=r(`${Yn}Delay`),a=r(`${Yn}Duration`),c=Gs(i,a);let u=null,d=0,p=0;t===Rt?s>0&&(u=Rt,d=s,p=l.length):t===Yn?c>0&&(u=Yn,d=c,p=a.length):(d=Math.max(s,c),u=d>0?s>c?Rt:Yn:null,p=u?u===Rt?l.length:a.length:0);const h=u===Rt&&/\b(transform|all)(,|$)/.test(r(`${Rt}Property`).toString());return{type:u,timeout:d,propCount:p,hasTransform:h}}function Gs(e,t){for(;e.lengthKs(n)+Ks(e[r])))}function Ks(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function tc(){return document.body.offsetHeight}function d1(e,t,n){const r=e[Fn];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ys=Symbol("_vod"),p1=Symbol("_vsh"),h1=Symbol(""),v1=/(^|;)\s*display\s*:/;function m1(e,t,n){const r=e.style,o=Re(n);let l=!1;if(n&&!o){if(t)if(Re(t))for(const s of t.split(";")){const i=s.slice(0,s.indexOf(":")).trim();n[i]==null&&ro(r,i,"")}else for(const s in t)n[s]==null&&ro(r,s,"");for(const s in n)s==="display"&&(l=!0),ro(r,s,n[s])}else if(o){if(t!==n){const s=r[h1];s&&(n+=";"+s),r.cssText=n,l=v1.test(n)}}else t&&e.removeAttribute("style");Ys in e&&(e[Ys]=l?r.display:"",e[p1]&&(r.display="none"))}const Qs=/\s*!important$/;function ro(e,t,n){if(oe(n))n.forEach(r=>ro(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=g1(e,t);Qs.test(n)?e.setProperty(Un(r),n.replace(Qs,""),"important"):e[r]=n}}const Js=["Webkit","Moz","ms"],Ho={};function g1(e,t){const n=Ho[t];if(n)return n;let r=dt(t);if(r!=="filter"&&r in e)return Ho[t]=r;r=kr(r);for(let o=0;oBo||(k1.then(()=>Bo=0),Bo=Date.now());function x1(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;ct(S1(r,n.value),t,5,[r])};return n.value=e,n.attached=C1(),n}function S1(e,t){if(oe(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const ti=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,T1=(e,t,n,r,o,l,s,i,a)=>{const c=o==="svg";t==="class"?d1(e,r,c):t==="style"?m1(e,n,r):Er(t)?Pl(t)||w1(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):L1(e,t,r,c))?b1(e,t,r,l,s,i,a):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),y1(e,t,r,c))};function L1(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&ti(t)&&ae(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 o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return ti(t)&&Re(n)?!1:t in e}const nc=new WeakMap,rc=new WeakMap,ho=Symbol("_moveCb"),ni=Symbol("_enterCb"),oc={name:"TransitionGroup",props:$e({},c1,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Ir(),r=Pa();let o,l;return Na(()=>{if(!o.length)return;const s=e.moveClass||`${e.name||"v"}-move`;if(!R1(o[0].el,n.vnode.el,s))return;o.forEach(O1),o.forEach(P1);const i=o.filter($1);tc(),i.forEach(a=>{const c=a.el,u=c.style;St(c,s),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[ho]=p=>{p&&p.target!==c||(!p||/transform$/.test(p.propertyName))&&(c.removeEventListener("transitionend",d),c[ho]=null,Dt(c,s))};c.addEventListener("transitionend",d)})}),()=>{const s=fe(e),i=Za(s);let a=s.tag||Ue;o=l,l=t.default?Kl(t.default()):[];for(let c=0;cdelete e.mode;oc.props;const I1=oc;function O1(e){const t=e.el;t[ho]&&t[ho](),t[ni]&&t[ni]()}function P1(e){rc.set(e,e.el.getBoundingClientRect())}function $1(e){const t=nc.get(e),n=rc.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const l=e.el.style;return l.transform=l.webkitTransform=`translate(${r}px,${o}px)`,l.transitionDuration="0s",e}}function R1(e,t,n){const r=e.cloneNode(),o=e[Fn];o&&o.forEach(i=>{i.split(/\s+/).forEach(a=>a&&r.classList.remove(a))}),n.split(/\s+/).forEach(i=>i&&r.classList.add(i)),r.style.display="none";const l=t.nodeType===1?t:t.parentNode;l.appendChild(r);const{hasTransform:s}=ec(r);return l.removeChild(r),s}const ri=e=>{const t=e.props["onUpdate:modelValue"]||!1;return oe(t)?n=>to(t,n):t};function M1(e){e.target.composing=!0}function oi(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Vo=Symbol("_assign"),lc={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[Vo]=ri(o);const l=r||o.props&&o.props.type==="number";En(e,t?"change":"input",s=>{if(s.target.composing)return;let i=e.value;n&&(i=i.trim()),l&&(i=ll(i)),e[Vo](i)}),n&&En(e,"change",()=>{e.value=e.value.trim()}),t||(En(e,"compositionstart",M1),En(e,"compositionend",oi),En(e,"change",oi))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:o}},l){if(e[Vo]=ri(l),e.composing)return;const s=o||e.type==="number"?ll(e.value):e.value,i=t??"";s!==i&&(document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===i)||(e.value=i))}},N1=$e({patchProp:T1},a1);let zo,li=!1;function D1(){return zo=li?zo:Vd(N1),li=!0,zo}const F1=(...e)=>{const t=D1().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=H1(r);if(o)return n(o,!0,j1(o))},t};function j1(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function H1(e){return Re(e)?document.querySelector(e):e}var B1=["link","meta","script","style","noscript","template"],V1=["title","base"],z1=([e,t,n])=>V1.includes(e)?e:B1.includes(e)?e==="meta"&&t.name?`${e}.${t.name}`:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,Object.entries(t).map(([r,o])=>typeof o=="boolean"?o?[r,""]:null:[r,o]).filter(r=>r!=null).sort(([r],[o])=>r.localeCompare(o)),n]):null,U1=e=>{const t=new Set,n=[];return e.forEach(r=>{const o=z1(r);o&&!t.has(o)&&(t.add(o),n.push(r))}),n},q1=e=>e[0]==="/"?e:`/${e}`,sc=e=>e[e.length-1]==="/"||e.endsWith(".html")?e:`${e}/`,gn=e=>/^(https?:)?\/\//.test(e),W1=/.md((\?|#).*)?$/,jn=(e,t="/")=>!!(gn(e)||e.startsWith("/")&&!e.startsWith(t)&&!W1.test(e)),ic=e=>/^[a-z][a-z0-9+.-]*:/.test(e),qn=e=>Object.prototype.toString.call(e)==="[object Object]",G1=e=>{const[t,...n]=e.split(/(\?|#)/);if(!t||t.endsWith("/"))return e;let r=t.replace(/(^|\/)README.md$/i,"$1index.html");return r.endsWith(".md")?r=r.substring(0,r.length-3)+".html":r.endsWith(".html")||(r=r+".html"),r.endsWith("/index.html")&&(r=r.substring(0,r.length-10)),r+n.join("")},es=e=>e[e.length-1]==="/"?e.slice(0,-1):e,ac=e=>e[0]==="/"?e.slice(1):e,K1=(e,t)=>{const n=Object.keys(e).sort((r,o)=>{const l=o.split("/").length-r.split("/").length;return l!==0?l:o.length-r.length});for(const r of n)if(t.startsWith(r))return r;return"/"},Pe=e=>typeof e=="string";const Y1="modulepreload",Q1=function(e){return"/"+e},si={},ce=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const l=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),i=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));o=Promise.all(n.map(a=>{if(a=Q1(a),a in si)return;si[a]=!0;const c=a.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!r)for(let h=l.length-1;h>=0;h--){const m=l[h];if(m.href===a&&(!c||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${u}`))return;const p=document.createElement("link");if(p.rel=c?"stylesheet":Y1,c||(p.as="script",p.crossOrigin=""),p.href=a,i&&p.setAttribute("nonce",i),document.head.appendChild(p),c)return new Promise((h,m)=>{p.addEventListener("load",h),p.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${a}`)))})}))}return o.then(()=>t()).catch(l=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=l,window.dispatchEvent(s),!s.defaultPrevented)throw l})},J1=JSON.parse("{}"),X1=Object.fromEntries([["/",{loader:()=>ce(()=>import("./index.html-Djb6oiC9.js"),__vite__mapDeps([])),meta:{t:"首页",i:"home"}}],["/deploy/",{loader:()=>ce(()=>import("./index.html-DlV1juqE.js"),__vite__mapDeps([])),meta:{t:"项目部署",i:"laptop-code"}}],["/deploy/config.html",{loader:()=>ce(()=>import("./config.html-DFanaJbL.js"),__vite__mapDeps([])),meta:{t:"配置",i:"cog",O:2}}],["/deploy/fandq.html",{loader:()=>ce(()=>import("./fandq.html-CnB3XmyI.js"),__vite__mapDeps([])),meta:{t:"答疑",i:"question",O:3}}],["/deploy/install.html",{loader:()=>ce(()=>import("./install.html-Dg4nKUEY.js"),__vite__mapDeps([])),meta:{t:"安装",i:"download",O:1}}],["/dev/",{loader:()=>ce(()=>import("./index.html-C-tqsrYZ.js"),__vite__mapDeps([])),meta:{t:"开发及贡献",i:"laptop-code"}}],["/dev/dev_comm.html",{loader:()=>ce(()=>import("./dev_comm.html-C7of7arn.js"),__vite__mapDeps([])),meta:{t:"进程通信",i:"exchange-alt",O:4}}],["/dev/dev_lyfunc.html",{loader:()=>ce(()=>import("./dev_lyfunc.html-BP_dr0XI.js"),__vite__mapDeps([])),meta:{t:"轻雪函数",i:"code",O:2}}],["/dev/dev_lyplugin.html",{loader:()=>ce(()=>import("./dev_lyplugin.html-DXRMQUSw.js"),__vite__mapDeps([])),meta:{t:"轻雪插件开发",i:"laptop-code",O:3}}],["/dev/dev_resource_pack.html",{loader:()=>ce(()=>import("./dev_resource_pack.html-BqVz38-_.js"),__vite__mapDeps([])),meta:{t:"资源包开发",i:"box",O:1}}],["/en/",{loader:()=>ce(()=>import("./index.html-BZq03E42.js"),__vite__mapDeps([])),meta:{t:"Home",i:"home"}}],["/store/",{loader:()=>ce(()=>import("./index.html-BawXxKPX.js"),__vite__mapDeps([])),meta:{t:"资源及插件商店",i:"store"}}],["/store/plugin.html",{loader:()=>ce(()=>import("./plugin.html-BfdgStdM.js"),__vite__mapDeps([])),meta:{t:"插件商店",i:"plug",O:2}}],["/store/resource.html",{loader:()=>ce(()=>import("./resource.html-DdzlogdB.js"),__vite__mapDeps([])),meta:{t:"资源商店",i:"box",O:1}}],["/usage/",{loader:()=>ce(()=>import("./index.html-UmXmqjtQ.js"),__vite__mapDeps([])),meta:{t:"使用手册",i:"laptop-code"}}],["/usage/agreement.html",{loader:()=>ce(()=>import("./agreement.html-PilqY3LB.js"),__vite__mapDeps([])),meta:{t:"用户协议",i:"user-secret",O:3}}],["/usage/basic_command.html",{loader:()=>ce(()=>import("./basic_command.html-BArWMQip.js"),__vite__mapDeps([])),meta:{t:"基础命令",i:"comment",O:1}}],["/usage/extra_command.html",{loader:()=>ce(()=>import("./extra_command.html-CncZTWmX.js"),__vite__mapDeps([])),meta:{t:"功能命令",i:"comment",O:2}}],["/en/deploy/",{loader:()=>ce(()=>import("./index.html-D09FXCgT.js"),__vite__mapDeps([])),meta:{t:"Deploy",i:"laptop-code"}}],["/en/deploy/config.html",{loader:()=>ce(()=>import("./config.html-BhHAL__Q.js"),__vite__mapDeps([])),meta:{t:"Configuration",i:"cog",O:2}}],["/en/deploy/fandq.html",{loader:()=>ce(()=>import("./fandq.html-Csuo_Aal.js"),__vite__mapDeps([])),meta:{t:"FAQ",i:"question",O:3}}],["/en/deploy/install.html",{loader:()=>ce(()=>import("./install.html-D5T2xzzA.js"),__vite__mapDeps([])),meta:{t:"Installation",i:"download",O:1}}],["/en/dev/",{loader:()=>ce(()=>import("./index.html-BW5Zt-o6.js"),__vite__mapDeps([])),meta:{t:"Contribute",i:"laptop-code"}}],["/en/dev/dev_comm.html",{loader:()=>ce(()=>import("./dev_comm.html-CF6N6yl3.js"),__vite__mapDeps([])),meta:{t:"Communication",i:"exchange-alt",O:4}}],["/en/dev/dev_lyfunc.html",{loader:()=>ce(()=>import("./dev_lyfunc.html-DPfdMzaU.js"),__vite__mapDeps([])),meta:{t:"Liteyuki Function",i:"code",O:2}}],["/en/dev/dev_lyplugin.html",{loader:()=>ce(()=>import("./dev_lyplugin.html-BvZgbt9f.js"),__vite__mapDeps([])),meta:{t:"Liteyuki Plugin",i:"laptop-code",O:3}}],["/en/dev/dev_resource_pack.html",{loader:()=>ce(()=>import("./dev_resource_pack.html-DHDY1X3Q.js"),__vite__mapDeps([])),meta:{t:"Resource Pack",i:"box",O:1}}],["/en/store/",{loader:()=>ce(()=>import("./index.html-CKbFH95_.js"),__vite__mapDeps([])),meta:{t:"Extensions Store",i:"store"}}],["/en/store/plugin.html",{loader:()=>ce(()=>import("./plugin.html-zKtPsyPJ.js"),__vite__mapDeps([])),meta:{t:"Plugin Store",i:"plug",O:2}}],["/en/store/resource.html",{loader:()=>ce(()=>import("./resource.html-cDb3jGqd.js"),__vite__mapDeps([])),meta:{t:"Resource Store",i:"box",O:1}}],["/en/usage/",{loader:()=>ce(()=>import("./index.html-DQMLi85J.js"),__vite__mapDeps([])),meta:{t:"Usage",i:"laptop-code"}}],["/en/usage/agreement.html",{loader:()=>ce(()=>import("./agreement.html-D-F3W29Z.js"),__vite__mapDeps([])),meta:{t:"User Agreement",i:"user-secret",O:3}}],["/en/usage/basic_command.html",{loader:()=>ce(()=>import("./basic_command.html-DwsIe8eb.js"),__vite__mapDeps([])),meta:{t:"Basic Commands",i:"comment",O:1}}],["/en/usage/extra_command.html",{loader:()=>ce(()=>import("./extra_command.html-DP0HF9oY.js"),__vite__mapDeps([])),meta:{t:"Extra Commands",i:"comment",O:2}}],["/404.html",{loader:()=>ce(()=>import("./404.html-DdCfjmWp.js"),__vite__mapDeps([])),meta:{t:""}}]]);/*! +**/const s1="http://www.w3.org/2000/svg",i1="http://www.w3.org/1998/Math/MathML",Ht=typeof document<"u"?document:null,zs=Ht&&Ht.createElement("template"),a1={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 o=t==="svg"?Ht.createElementNS(s1,e):t==="mathml"?Ht.createElementNS(i1,e):Ht.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Ht.createTextNode(e),createComment:e=>Ht.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ht.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,l){const s=n?n.previousSibling:t.lastChild;if(o&&(o===l||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===l||!(o=o.nextSibling)););else{zs.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const i=zs.content;if(r==="svg"||r==="mathml"){const a=i.firstChild;for(;a.firstChild;)i.appendChild(a.firstChild);i.removeChild(a)}t.insertBefore(i,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Rt="transition",Yn="animation",Fn=Symbol("_vtc"),Yt=(e,{slots:t})=>f(vd,Za(e),t);Yt.displayName="Transition";const Xa={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},c1=Yt.props=$e({},$a,Xa),rn=(e,t=[])=>{oe(e)?e.forEach(n=>n(...t)):e&&e(...t)},Us=e=>e?oe(e)?e.some(t=>t.length>1):e.length>1:!1;function Za(e){const t={};for(const M in e)M in Xa||(t[M]=e[M]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:l=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:i=`${n}-enter-to`,appearFromClass:a=l,appearActiveClass:c=s,appearToClass:u=i,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,m=u1(o),_=m&&m[0],b=m&&m[1],{onBeforeEnter:w,onEnter:C,onEnterCancelled:y,onLeave:x,onLeaveCancelled:P,onBeforeAppear:S=w,onAppear:I=C,onAppearCancelled:$=y}=t,Q=(M,re,ke)=>{Dt(M,re?u:i),Dt(M,re?c:s),ke&&ke()},O=(M,re)=>{M._isLeaving=!1,Dt(M,d),Dt(M,h),Dt(M,p),re&&re()},U=M=>(re,ke)=>{const _e=M?I:C,K=()=>Q(re,M,ke);rn(_e,[re,K]),qs(()=>{Dt(re,M?a:l),St(re,M?u:i),Us(_e)||Ws(re,r,_,K)})};return $e(t,{onBeforeEnter(M){rn(w,[M]),St(M,l),St(M,s)},onBeforeAppear(M){rn(S,[M]),St(M,a),St(M,c)},onEnter:U(!1),onAppear:U(!0),onLeave(M,re){M._isLeaving=!0;const ke=()=>O(M,re);St(M,d),tc(),St(M,p),qs(()=>{M._isLeaving&&(Dt(M,d),St(M,h),Us(x)||Ws(M,r,b,ke))}),rn(x,[M,ke])},onEnterCancelled(M){Q(M,!1),rn(y,[M])},onAppearCancelled(M){Q(M,!0),rn($,[M])},onLeaveCancelled(M){O(M),rn(P,[M])}})}function u1(e){if(e==null)return null;if(we(e))return[jo(e.enter),jo(e.leave)];{const t=jo(e);return[t,t]}}function jo(e){return hf(e)}function St(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Fn]||(e[Fn]=new Set)).add(t)}function Dt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Fn];n&&(n.delete(t),n.size||(e[Fn]=void 0))}function qs(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let f1=0;function Ws(e,t,n,r){const o=e._endId=++f1,l=()=>{o===e._endId&&r()};if(n)return setTimeout(l,n);const{type:s,timeout:i,propCount:a}=ec(e,t);if(!s)return r();const c=s+"end";let u=0;const d=()=>{e.removeEventListener(c,p),l()},p=h=>{h.target===e&&++u>=a&&d()};setTimeout(()=>{u(n[m]||"").split(", "),o=r(`${Rt}Delay`),l=r(`${Rt}Duration`),s=Gs(o,l),i=r(`${Yn}Delay`),a=r(`${Yn}Duration`),c=Gs(i,a);let u=null,d=0,p=0;t===Rt?s>0&&(u=Rt,d=s,p=l.length):t===Yn?c>0&&(u=Yn,d=c,p=a.length):(d=Math.max(s,c),u=d>0?s>c?Rt:Yn:null,p=u?u===Rt?l.length:a.length:0);const h=u===Rt&&/\b(transform|all)(,|$)/.test(r(`${Rt}Property`).toString());return{type:u,timeout:d,propCount:p,hasTransform:h}}function Gs(e,t){for(;e.lengthKs(n)+Ks(e[r])))}function Ks(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function tc(){return document.body.offsetHeight}function d1(e,t,n){const r=e[Fn];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ys=Symbol("_vod"),p1=Symbol("_vsh"),h1=Symbol(""),v1=/(^|;)\s*display\s*:/;function m1(e,t,n){const r=e.style,o=Re(n);let l=!1;if(n&&!o){if(t)if(Re(t))for(const s of t.split(";")){const i=s.slice(0,s.indexOf(":")).trim();n[i]==null&&ro(r,i,"")}else for(const s in t)n[s]==null&&ro(r,s,"");for(const s in n)s==="display"&&(l=!0),ro(r,s,n[s])}else if(o){if(t!==n){const s=r[h1];s&&(n+=";"+s),r.cssText=n,l=v1.test(n)}}else t&&e.removeAttribute("style");Ys in e&&(e[Ys]=l?r.display:"",e[p1]&&(r.display="none"))}const Qs=/\s*!important$/;function ro(e,t,n){if(oe(n))n.forEach(r=>ro(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=g1(e,t);Qs.test(n)?e.setProperty(Un(r),n.replace(Qs,""),"important"):e[r]=n}}const Js=["Webkit","Moz","ms"],Bo={};function g1(e,t){const n=Bo[t];if(n)return n;let r=dt(t);if(r!=="filter"&&r in e)return Bo[t]=r;r=kr(r);for(let o=0;oHo||(k1.then(()=>Ho=0),Ho=Date.now());function x1(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;ct(S1(r,n.value),t,5,[r])};return n.value=e,n.attached=C1(),n}function S1(e,t){if(oe(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const ti=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,T1=(e,t,n,r,o,l,s,i,a)=>{const c=o==="svg";t==="class"?d1(e,r,c):t==="style"?m1(e,n,r):Er(t)?Pl(t)||w1(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):L1(e,t,r,c))?b1(e,t,r,l,s,i,a):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),y1(e,t,r,c))};function L1(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&ti(t)&&ae(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 o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return ti(t)&&Re(n)?!1:t in e}const nc=new WeakMap,rc=new WeakMap,ho=Symbol("_moveCb"),ni=Symbol("_enterCb"),oc={name:"TransitionGroup",props:$e({},c1,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Ir(),r=Pa();let o,l;return Na(()=>{if(!o.length)return;const s=e.moveClass||`${e.name||"v"}-move`;if(!R1(o[0].el,n.vnode.el,s))return;o.forEach(O1),o.forEach(P1);const i=o.filter($1);tc(),i.forEach(a=>{const c=a.el,u=c.style;St(c,s),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[ho]=p=>{p&&p.target!==c||(!p||/transform$/.test(p.propertyName))&&(c.removeEventListener("transitionend",d),c[ho]=null,Dt(c,s))};c.addEventListener("transitionend",d)})}),()=>{const s=fe(e),i=Za(s);let a=s.tag||Ue;o=l,l=t.default?Kl(t.default()):[];for(let c=0;cdelete e.mode;oc.props;const I1=oc;function O1(e){const t=e.el;t[ho]&&t[ho](),t[ni]&&t[ni]()}function P1(e){rc.set(e,e.el.getBoundingClientRect())}function $1(e){const t=nc.get(e),n=rc.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const l=e.el.style;return l.transform=l.webkitTransform=`translate(${r}px,${o}px)`,l.transitionDuration="0s",e}}function R1(e,t,n){const r=e.cloneNode(),o=e[Fn];o&&o.forEach(i=>{i.split(/\s+/).forEach(a=>a&&r.classList.remove(a))}),n.split(/\s+/).forEach(i=>i&&r.classList.add(i)),r.style.display="none";const l=t.nodeType===1?t:t.parentNode;l.appendChild(r);const{hasTransform:s}=ec(r);return l.removeChild(r),s}const ri=e=>{const t=e.props["onUpdate:modelValue"]||!1;return oe(t)?n=>to(t,n):t};function M1(e){e.target.composing=!0}function oi(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Vo=Symbol("_assign"),lc={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[Vo]=ri(o);const l=r||o.props&&o.props.type==="number";En(e,t?"change":"input",s=>{if(s.target.composing)return;let i=e.value;n&&(i=i.trim()),l&&(i=ll(i)),e[Vo](i)}),n&&En(e,"change",()=>{e.value=e.value.trim()}),t||(En(e,"compositionstart",M1),En(e,"compositionend",oi),En(e,"change",oi))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:o}},l){if(e[Vo]=ri(l),e.composing)return;const s=o||e.type==="number"?ll(e.value):e.value,i=t??"";s!==i&&(document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===i)||(e.value=i))}},N1=$e({patchProp:T1},a1);let zo,li=!1;function D1(){return zo=li?zo:Vd(N1),li=!0,zo}const F1=(...e)=>{const t=D1().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=B1(r);if(o)return n(o,!0,j1(o))},t};function j1(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function B1(e){return Re(e)?document.querySelector(e):e}var H1=["link","meta","script","style","noscript","template"],V1=["title","base"],z1=([e,t,n])=>V1.includes(e)?e:H1.includes(e)?e==="meta"&&t.name?`${e}.${t.name}`:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,Object.entries(t).map(([r,o])=>typeof o=="boolean"?o?[r,""]:null:[r,o]).filter(r=>r!=null).sort(([r],[o])=>r.localeCompare(o)),n]):null,U1=e=>{const t=new Set,n=[];return e.forEach(r=>{const o=z1(r);o&&!t.has(o)&&(t.add(o),n.push(r))}),n},q1=e=>e[0]==="/"?e:`/${e}`,sc=e=>e[e.length-1]==="/"||e.endsWith(".html")?e:`${e}/`,gn=e=>/^(https?:)?\/\//.test(e),W1=/.md((\?|#).*)?$/,jn=(e,t="/")=>!!(gn(e)||e.startsWith("/")&&!e.startsWith(t)&&!W1.test(e)),ic=e=>/^[a-z][a-z0-9+.-]*:/.test(e),qn=e=>Object.prototype.toString.call(e)==="[object Object]",G1=e=>{const[t,...n]=e.split(/(\?|#)/);if(!t||t.endsWith("/"))return e;let r=t.replace(/(^|\/)README.md$/i,"$1index.html");return r.endsWith(".md")?r=r.substring(0,r.length-3)+".html":r.endsWith(".html")||(r=r+".html"),r.endsWith("/index.html")&&(r=r.substring(0,r.length-10)),r+n.join("")},es=e=>e[e.length-1]==="/"?e.slice(0,-1):e,ac=e=>e[0]==="/"?e.slice(1):e,K1=(e,t)=>{const n=Object.keys(e).sort((r,o)=>{const l=o.split("/").length-r.split("/").length;return l!==0?l:o.length-r.length});for(const r of n)if(t.startsWith(r))return r;return"/"},Pe=e=>typeof e=="string";const Y1="modulepreload",Q1=function(e){return"/"+e},si={},ce=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const l=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),i=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));o=Promise.all(n.map(a=>{if(a=Q1(a),a in si)return;si[a]=!0;const c=a.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!r)for(let h=l.length-1;h>=0;h--){const m=l[h];if(m.href===a&&(!c||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${u}`))return;const p=document.createElement("link");if(p.rel=c?"stylesheet":Y1,c||(p.as="script",p.crossOrigin=""),p.href=a,i&&p.setAttribute("nonce",i),document.head.appendChild(p),c)return new Promise((h,m)=>{p.addEventListener("load",h),p.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${a}`)))})}))}return o.then(()=>t()).catch(l=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=l,window.dispatchEvent(s),!s.defaultPrevented)throw l})},J1=JSON.parse("{}"),X1=Object.fromEntries([["/",{loader:()=>ce(()=>import("./index.html-C-sZzNPv.js"),__vite__mapDeps([])),meta:{t:"首页",i:"home"}}],["/deploy/",{loader:()=>ce(()=>import("./index.html-BPIKnUsh.js"),__vite__mapDeps([])),meta:{t:"项目部署",i:"laptop-code"}}],["/deploy/config.html",{loader:()=>ce(()=>import("./config.html-ytfTzOJk.js"),__vite__mapDeps([])),meta:{t:"配置",i:"cog",O:2}}],["/deploy/fandq.html",{loader:()=>ce(()=>import("./fandq.html-DjZsPJh9.js"),__vite__mapDeps([])),meta:{t:"答疑",i:"question",O:3}}],["/deploy/install.html",{loader:()=>ce(()=>import("./install.html-D5s_G2CO.js"),__vite__mapDeps([])),meta:{t:"安装",i:"download",O:1}}],["/dev/",{loader:()=>ce(()=>import("./index.html-Cx_JITyM.js"),__vite__mapDeps([])),meta:{t:"开发及贡献",i:"laptop-code"}}],["/dev/dev_comm.html",{loader:()=>ce(()=>import("./dev_comm.html-BQLvp5qR.js"),__vite__mapDeps([])),meta:{t:"进程通信",i:"exchange-alt",O:4}}],["/dev/dev_lyfunc.html",{loader:()=>ce(()=>import("./dev_lyfunc.html-CH6hrgSC.js"),__vite__mapDeps([])),meta:{t:"轻雪函数",i:"code",O:2}}],["/dev/dev_lyplugin.html",{loader:()=>ce(()=>import("./dev_lyplugin.html-BBUkDcBL.js"),__vite__mapDeps([])),meta:{t:"轻雪插件开发",i:"laptop-code",O:3}}],["/dev/dev_resource_pack.html",{loader:()=>ce(()=>import("./dev_resource_pack.html-JcqyLzNA.js"),__vite__mapDeps([])),meta:{t:"资源包开发",i:"box",O:1}}],["/en/",{loader:()=>ce(()=>import("./index.html-Bvl3YK9w.js"),__vite__mapDeps([])),meta:{t:"Home",i:"home"}}],["/store/",{loader:()=>ce(()=>import("./index.html-Cqq_dMyq.js"),__vite__mapDeps([])),meta:{t:"资源及插件商店",i:"store"}}],["/store/plugin.html",{loader:()=>ce(()=>import("./plugin.html-BwSVlp5P.js"),__vite__mapDeps([])),meta:{t:"插件商店",i:"plug",O:2}}],["/store/resource.html",{loader:()=>ce(()=>import("./resource.html-CLUffFo6.js"),__vite__mapDeps([])),meta:{t:"资源商店",i:"box",O:1}}],["/usage/",{loader:()=>ce(()=>import("./index.html-DC4f89rn.js"),__vite__mapDeps([])),meta:{t:"使用手册",i:"laptop-code"}}],["/usage/agreement.html",{loader:()=>ce(()=>import("./agreement.html-BB_tMqLv.js"),__vite__mapDeps([])),meta:{t:"用户协议",i:"user-secret",O:3}}],["/usage/basic_command.html",{loader:()=>ce(()=>import("./basic_command.html-oIcSdl_m.js"),__vite__mapDeps([])),meta:{t:"基础命令",i:"comment",O:1}}],["/usage/extra_command.html",{loader:()=>ce(()=>import("./extra_command.html-BVsr1WSx.js"),__vite__mapDeps([])),meta:{t:"功能命令",i:"comment",O:2}}],["/en/deploy/",{loader:()=>ce(()=>import("./index.html-C1ikm7gY.js"),__vite__mapDeps([])),meta:{t:"Deploy",i:"laptop-code"}}],["/en/deploy/config.html",{loader:()=>ce(()=>import("./config.html-DyjodHjQ.js"),__vite__mapDeps([])),meta:{t:"Configuration",i:"cog",O:2}}],["/en/deploy/fandq.html",{loader:()=>ce(()=>import("./fandq.html-Dv-FlYfc.js"),__vite__mapDeps([])),meta:{t:"FAQ",i:"question",O:3}}],["/en/deploy/install.html",{loader:()=>ce(()=>import("./install.html-B_0ybvg0.js"),__vite__mapDeps([])),meta:{t:"Installation",i:"download",O:1}}],["/en/dev/",{loader:()=>ce(()=>import("./index.html-DhYJEioj.js"),__vite__mapDeps([])),meta:{t:"Contribute",i:"laptop-code"}}],["/en/dev/dev_comm.html",{loader:()=>ce(()=>import("./dev_comm.html-CIlYvSY4.js"),__vite__mapDeps([])),meta:{t:"Communication",i:"exchange-alt",O:4}}],["/en/dev/dev_lyfunc.html",{loader:()=>ce(()=>import("./dev_lyfunc.html-DJQEv_Ot.js"),__vite__mapDeps([])),meta:{t:"Liteyuki Function",i:"code",O:2}}],["/en/dev/dev_lyplugin.html",{loader:()=>ce(()=>import("./dev_lyplugin.html-DmJk7hsb.js"),__vite__mapDeps([])),meta:{t:"Liteyuki Plugin",i:"laptop-code",O:3}}],["/en/dev/dev_resource_pack.html",{loader:()=>ce(()=>import("./dev_resource_pack.html-DIkSF8C-.js"),__vite__mapDeps([])),meta:{t:"Resource Pack",i:"box",O:1}}],["/en/store/",{loader:()=>ce(()=>import("./index.html-i3pkgDBa.js"),__vite__mapDeps([])),meta:{t:"Extensions Store",i:"store"}}],["/en/store/plugin.html",{loader:()=>ce(()=>import("./plugin.html-DS2xoHRg.js"),__vite__mapDeps([])),meta:{t:"Plugin Store",i:"plug",O:2}}],["/en/store/resource.html",{loader:()=>ce(()=>import("./resource.html-CMHJaxPw.js"),__vite__mapDeps([])),meta:{t:"Resource Store",i:"box",O:1}}],["/en/usage/",{loader:()=>ce(()=>import("./index.html-AQfk4Yrn.js"),__vite__mapDeps([])),meta:{t:"Usage",i:"laptop-code"}}],["/en/usage/agreement.html",{loader:()=>ce(()=>import("./agreement.html-CyWaegTw.js"),__vite__mapDeps([])),meta:{t:"User Agreement",i:"user-secret",O:3}}],["/en/usage/basic_command.html",{loader:()=>ce(()=>import("./basic_command.html-DiJ5TjbZ.js"),__vite__mapDeps([])),meta:{t:"Basic Commands",i:"comment",O:1}}],["/en/usage/extra_command.html",{loader:()=>ce(()=>import("./extra_command.html-4LGVQEJ7.js"),__vite__mapDeps([])),meta:{t:"Extra Commands",i:"comment",O:2}}],["/404.html",{loader:()=>ce(()=>import("./404.html-B7cS_Uzo.js"),__vite__mapDeps([])),meta:{t:""}}]]);/*! * vue-router v4.4.0 * (c) 2024 Eduardo San Martin Morote * @license MIT - */const kn=typeof document<"u";function Z1(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const me=Object.assign;function Uo(e,t){const n={};for(const r in t){const o=t[r];n[r]=bt(o)?o.map(e):e(o)}return n}const sr=()=>{},bt=Array.isArray,cc=/#/g,ep=/&/g,tp=/\//g,np=/=/g,rp=/\?/g,uc=/\+/g,op=/%5B/g,lp=/%5D/g,fc=/%5E/g,sp=/%60/g,dc=/%7B/g,ip=/%7C/g,pc=/%7D/g,ap=/%20/g;function ts(e){return encodeURI(""+e).replace(ip,"|").replace(op,"[").replace(lp,"]")}function cp(e){return ts(e).replace(dc,"{").replace(pc,"}").replace(fc,"^")}function ml(e){return ts(e).replace(uc,"%2B").replace(ap,"+").replace(cc,"%23").replace(ep,"%26").replace(sp,"`").replace(dc,"{").replace(pc,"}").replace(fc,"^")}function up(e){return ml(e).replace(np,"%3D")}function fp(e){return ts(e).replace(cc,"%23").replace(rp,"%3F")}function dp(e){return e==null?"":fp(e).replace(tp,"%2F")}function vr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const pp=/\/$/,hp=e=>e.replace(pp,"");function qo(e,t,n="/"){let r,o={},l="",s="";const i=t.indexOf("#");let a=t.indexOf("?");return i=0&&(a=-1),a>-1&&(r=t.slice(0,a),l=t.slice(a+1,i>-1?i:t.length),o=e(l)),i>-1&&(r=r||t.slice(0,i),s=t.slice(i,t.length)),r=yp(r??t,n),{fullPath:r+(l&&"?")+l+s,path:r,query:o,hash:vr(s)}}function vp(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ii(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function mp(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Hn(t.matched[r],n.matched[o])&&hc(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Hn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function hc(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!gp(e[n],t[n]))return!1;return!0}function gp(e,t){return bt(e)?ai(e,t):bt(t)?ai(t,e):e===t}function ai(e,t){return bt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function yp(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let l=n.length-1,s,i;for(s=0;s1&&l--;else break;return n.slice(0,l).join("/")+"/"+r.slice(s).join("/")}const Tt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var mr;(function(e){e.pop="pop",e.push="push"})(mr||(mr={}));var ir;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ir||(ir={}));function bp(e){if(!e)if(kn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),hp(e)}const _p=/^[^#]+#/;function wp(e,t){return e.replace(_p,"#")+t}function Ep(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const xo=()=>({left:window.scrollX,top:window.scrollY});function kp(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=Ep(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function ci(e,t){return(history.state?history.state.position-t:-1)+e}const gl=new Map;function Cp(e,t){gl.set(e,t)}function xp(e){const t=gl.get(e);return gl.delete(e),t}let Sp=()=>location.protocol+"//"+location.host;function vc(e,t){const{pathname:n,search:r,hash:o}=t,l=e.indexOf("#");if(l>-1){let i=o.includes(e.slice(l))?e.slice(l).length:1,a=o.slice(i);return a[0]!=="/"&&(a="/"+a),ii(a,"")}return ii(n,e)+r+o}function Tp(e,t,n,r){let o=[],l=[],s=null;const i=({state:p})=>{const h=vc(e,location),m=n.value,_=t.value;let b=0;if(p){if(n.value=h,t.value=p,s&&s===m){s=null;return}b=_?p.position-_.position:0}else r(h);o.forEach(w=>{w(n.value,m,{delta:b,type:mr.pop,direction:b?b>0?ir.forward:ir.back:ir.unknown})})};function a(){s=n.value}function c(p){o.push(p);const h=()=>{const m=o.indexOf(p);m>-1&&o.splice(m,1)};return l.push(h),h}function u(){const{history:p}=window;p.state&&p.replaceState(me({},p.state,{scroll:xo()}),"")}function d(){for(const p of l)p();l=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:a,listen:c,destroy:d}}function ui(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?xo():null}}function Lp(e){const{history:t,location:n}=window,r={value:vc(e,n)},o={value:t.state};o.value||l(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function l(a,c,u){const d=e.indexOf("#"),p=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+a:Sp()+e+a;try{t[u?"replaceState":"pushState"](c,"",p),o.value=c}catch(h){console.error(h),n[u?"replace":"assign"](p)}}function s(a,c){const u=me({},t.state,ui(o.value.back,a,o.value.forward,!0),c,{position:o.value.position});l(a,u,!0),r.value=a}function i(a,c){const u=me({},o.value,t.state,{forward:a,scroll:xo()});l(u.current,u,!0);const d=me({},ui(r.value,a,null),{position:u.position+1},c);l(a,d,!1),r.value=a}return{location:r,state:o,push:i,replace:s}}function Ap(e){e=bp(e);const t=Lp(e),n=Tp(e,t.state,t.location,t.replace);function r(l,s=!0){s||n.pauseListeners(),history.go(l)}const o=me({location:"",base:e,go:r,createHref:wp.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function Ip(e){return typeof e=="string"||e&&typeof e=="object"}function mc(e){return typeof e=="string"||typeof e=="symbol"}const gc=Symbol("");var fi;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(fi||(fi={}));function Bn(e,t){return me(new Error,{type:e,[gc]:!0},t)}function xt(e,t){return e instanceof Error&&gc in e&&(t==null||!!(e.type&t))}const di="[^/]+?",Op={sensitive:!1,strict:!1,start:!0,end:!0},Pp=/[.+*?^${}()[\]/\\]/g;function $p(e,t){const n=me({},Op,t),r=[];let o=n.start?"^":"";const l=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let d=0;dt.length?t.length===1&&t[0]===80?1:-1:0}function yc(e,t){let n=0;const r=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const Mp={type:0,value:""},Np=/[a-zA-Z0-9_]/;function Dp(e){if(!e)return[[]];if(e==="/")return[[Mp]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,r=n;const o=[];let l;function s(){l&&o.push(l),l=[]}let i=0,a,c="",u="";function d(){c&&(n===0?l.push({type:0,value:c}):n===1||n===2||n===3?(l.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),l.push({type:1,value:c,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),c="")}function p(){c+=a}for(;i{s(y)}:sr}function s(d){if(mc(d)){const p=r.get(d);p&&(r.delete(d),n.splice(n.indexOf(p),1),p.children.forEach(s),p.alias.forEach(s))}else{const p=n.indexOf(d);p>-1&&(n.splice(p,1),d.record.name&&r.delete(d.record.name),d.children.forEach(s),d.alias.forEach(s))}}function i(){return n}function a(d){const p=zp(d,n);n.splice(p,0,d),d.record.name&&!vi(d)&&r.set(d.record.name,d)}function c(d,p){let h,m={},_,b;if("name"in d&&d.name){if(h=r.get(d.name),!h)throw Bn(1,{location:d});b=h.record.name,m=me(hi(p.params,h.keys.filter(y=>!y.optional).concat(h.parent?h.parent.keys.filter(y=>y.optional):[]).map(y=>y.name)),d.params&&hi(d.params,h.keys.map(y=>y.name))),_=h.stringify(m)}else if(d.path!=null)_=d.path,h=n.find(y=>y.re.test(_)),h&&(m=h.parse(_),b=h.record.name);else{if(h=p.name?r.get(p.name):n.find(y=>y.re.test(p.path)),!h)throw Bn(1,{location:d,currentLocation:p});b=h.record.name,m=me({},p.params,d.params),_=h.stringify(m)}const w=[];let C=h;for(;C;)w.unshift(C.record),C=C.parent;return{name:b,path:_,params:m,matched:w,meta:Vp(w)}}e.forEach(d=>l(d));function u(){n.length=0,r.clear()}return{addRoute:l,resolve:c,removeRoute:s,clearRoutes:u,getRoutes:i,getRecordMatcher:o}}function hi(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Hp(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Bp(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Bp(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function vi(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Vp(e){return e.reduce((t,n)=>me(t,n.meta),{})}function mi(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function zp(e,t){let n=0,r=t.length;for(;n!==r;){const l=n+r>>1;yc(e,t[l])<0?r=l:n=l+1}const o=Up(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function Up(e){let t=e;for(;t=t.parent;)if(bc(t)&&yc(e,t)===0)return t}function bc({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function qp(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;ol&&ml(l)):[r&&ml(r)]).forEach(l=>{l!==void 0&&(t+=(t.length?"&":"")+n,l!=null&&(t+="="+l))})}return t}function Wp(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=bt(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const Gp=Symbol(""),yi=Symbol(""),So=Symbol(""),ns=Symbol(""),yl=Symbol("");function Qn(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Vt(e,t,n,r,o,l=s=>s()){const s=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((i,a)=>{const c=p=>{p===!1?a(Bn(4,{from:n,to:t})):p instanceof Error?a(p):Ip(p)?a(Bn(2,{from:t,to:p})):(s&&r.enterCallbacks[o]===s&&typeof p=="function"&&s.push(p),i())},u=l(()=>e.call(r&&r.instances[o],t,n,c));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch(p=>a(p))})}function Wo(e,t,n,r,o=l=>l()){const l=[];for(const s of e)for(const i in s.components){let a=s.components[i];if(!(t!=="beforeRouteEnter"&&!s.instances[i]))if(Kp(a)){const u=(a.__vccOpts||a)[t];u&&l.push(Vt(u,n,r,s,i,o))}else{let c=a();l.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${s.path}"`));const d=Z1(u)?u.default:u;s.components[i]=d;const h=(d.__vccOpts||d)[t];return h&&Vt(h,n,r,s,i,o)()}))}}return l}function Kp(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function bi(e){const t=De(So),n=De(ns),r=T(()=>{const a=rt(e.to);return t.resolve(a)}),o=T(()=>{const{matched:a}=r.value,{length:c}=a,u=a[c-1],d=n.matched;if(!u||!d.length)return-1;const p=d.findIndex(Hn.bind(null,u));if(p>-1)return p;const h=_i(a[c-2]);return c>1&&_i(u)===h&&d[d.length-1].path!==h?d.findIndex(Hn.bind(null,a[c-2])):p}),l=T(()=>o.value>-1&&Xp(n.params,r.value.params)),s=T(()=>o.value>-1&&o.value===n.matched.length-1&&hc(n.params,r.value.params));function i(a={}){return Jp(a)?t[rt(e.replace)?"replace":"push"](rt(e.to)).catch(sr):Promise.resolve()}return{route:r,href:T(()=>r.value.href),isActive:l,isExactActive:s,navigate:i}}const Yp=V({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:bi,setup(e,{slots:t}){const n=Cr(bi(e)),{options:r}=De(So),o=T(()=>({[wi(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[wi(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const l=t.default&&t.default(n);return e.custom?l:f("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},l)}}}),Qp=Yp;function Jp(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Xp(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!bt(o)||o.length!==r.length||r.some((l,s)=>l!==o[s]))return!1}return!0}function _i(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const wi=(e,t,n)=>e??t??n,Zp=V({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=De(yl),o=T(()=>e.route||r.value),l=De(yi,0),s=T(()=>{let c=rt(l);const{matched:u}=o.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),i=T(()=>o.value.matched[s.value]);Pn(yi,T(()=>s.value+1)),Pn(Gp,i),Pn(yl,o);const a=Y();return ve(()=>[a.value,i.value,e.name],([c,u,d],[p,h,m])=>{u&&(u.instances[d]=c,h&&h!==u&&c&&c===p&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!Hn(u,h)||!p)&&(u.enterCallbacks[d]||[]).forEach(_=>_(c))},{flush:"post"}),()=>{const c=o.value,u=e.name,d=i.value,p=d&&d.components[u];if(!p)return Ei(n.default,{Component:p,route:c});const h=d.props[u],m=h?h===!0?c.params:typeof h=="function"?h(c):h:null,b=f(p,me({},m,t,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(d.instances[u]=null)},ref:a}));return Ei(n.default,{Component:b,route:c})||b}}});function Ei(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const e0=Zp;function t0(e){const t=jp(e.routes,e),n=e.parseQuery||qp,r=e.stringifyQuery||gi,o=e.history,l=Qn(),s=Qn(),i=Qn(),a=Fe(Tt);let c=Tt;kn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Uo.bind(null,E=>""+E),d=Uo.bind(null,dp),p=Uo.bind(null,vr);function h(E,F){let j,X;return mc(E)?(j=t.getRecordMatcher(E),X=F):X=E,t.addRoute(X,j)}function m(E){const F=t.getRecordMatcher(E);F&&t.removeRoute(F)}function _(){return t.getRoutes().map(E=>E.record)}function b(E){return!!t.getRecordMatcher(E)}function w(E,F){if(F=me({},F||a.value),typeof E=="string"){const g=qo(n,E,F.path),k=t.resolve({path:g.path},F),A=o.createHref(g.fullPath);return me(g,k,{params:p(k.params),hash:vr(g.hash),redirectedFrom:void 0,href:A})}let j;if(E.path!=null)j=me({},E,{path:qo(n,E.path,F.path).path});else{const g=me({},E.params);for(const k in g)g[k]==null&&delete g[k];j=me({},E,{params:d(g)}),F.params=d(F.params)}const X=t.resolve(j,F),de=E.hash||"";X.params=u(p(X.params));const be=vp(r,me({},E,{hash:cp(de),path:X.path})),v=o.createHref(be);return me({fullPath:be,hash:de,query:r===gi?Wp(E.query):E.query||{}},X,{redirectedFrom:void 0,href:v})}function C(E){return typeof E=="string"?qo(n,E,a.value.path):me({},E)}function y(E,F){if(c!==E)return Bn(8,{from:F,to:E})}function x(E){return I(E)}function P(E){return x(me(C(E),{replace:!0}))}function S(E){const F=E.matched[E.matched.length-1];if(F&&F.redirect){const{redirect:j}=F;let X=typeof j=="function"?j(E):j;return typeof X=="string"&&(X=X.includes("?")||X.includes("#")?X=C(X):{path:X},X.params={}),me({query:E.query,hash:E.hash,params:X.path!=null?{}:E.params},X)}}function I(E,F){const j=c=w(E),X=a.value,de=E.state,be=E.force,v=E.replace===!0,g=S(j);if(g)return I(me(C(g),{state:typeof g=="object"?me({},de,g.state):de,force:be,replace:v}),F||j);const k=j;k.redirectedFrom=F;let A;return!be&&mp(r,X,j)&&(A=Bn(16,{to:k,from:X}),Ye(X,X,!0,!1)),(A?Promise.resolve(A):O(k,X)).catch(L=>xt(L)?xt(L,2)?L:ot(L):W(L,k,X)).then(L=>{if(L){if(xt(L,2))return I(me({replace:v},C(L.to),{state:typeof L.to=="object"?me({},de,L.to.state):de,force:be}),F||k)}else L=M(k,X,!0,v,de);return U(k,X,L),L})}function $(E,F){const j=y(E,F);return j?Promise.reject(j):Promise.resolve()}function Q(E){const F=G.values().next().value;return F&&typeof F.runWithContext=="function"?F.runWithContext(E):E()}function O(E,F){let j;const[X,de,be]=n0(E,F);j=Wo(X.reverse(),"beforeRouteLeave",E,F);for(const g of X)g.leaveGuards.forEach(k=>{j.push(Vt(k,E,F))});const v=$.bind(null,E,F);return j.push(v),J(j).then(()=>{j=[];for(const g of l.list())j.push(Vt(g,E,F));return j.push(v),J(j)}).then(()=>{j=Wo(de,"beforeRouteUpdate",E,F);for(const g of de)g.updateGuards.forEach(k=>{j.push(Vt(k,E,F))});return j.push(v),J(j)}).then(()=>{j=[];for(const g of be)if(g.beforeEnter)if(bt(g.beforeEnter))for(const k of g.beforeEnter)j.push(Vt(k,E,F));else j.push(Vt(g.beforeEnter,E,F));return j.push(v),J(j)}).then(()=>(E.matched.forEach(g=>g.enterCallbacks={}),j=Wo(be,"beforeRouteEnter",E,F,Q),j.push(v),J(j))).then(()=>{j=[];for(const g of s.list())j.push(Vt(g,E,F));return j.push(v),J(j)}).catch(g=>xt(g,8)?g:Promise.reject(g))}function U(E,F,j){i.list().forEach(X=>Q(()=>X(E,F,j)))}function M(E,F,j,X,de){const be=y(E,F);if(be)return be;const v=F===Tt,g=kn?history.state:{};j&&(X||v?o.replace(E.fullPath,me({scroll:v&&g&&g.scroll},de)):o.push(E.fullPath,de)),a.value=E,Ye(E,F,j,v),ot()}let re;function ke(){re||(re=o.listen((E,F,j)=>{if(!te.listening)return;const X=w(E),de=S(X);if(de){I(me(de,{replace:!0}),X).catch(sr);return}c=X;const be=a.value;kn&&Cp(ci(be.fullPath,j.delta),xo()),O(X,be).catch(v=>xt(v,12)?v:xt(v,2)?(I(v.to,X).then(g=>{xt(g,20)&&!j.delta&&j.type===mr.pop&&o.go(-1,!1)}).catch(sr),Promise.reject()):(j.delta&&o.go(-j.delta,!1),W(v,X,be))).then(v=>{v=v||M(X,be,!1),v&&(j.delta&&!xt(v,8)?o.go(-j.delta,!1):j.type===mr.pop&&xt(v,20)&&o.go(-1,!1)),U(X,be,v)}).catch(sr)}))}let _e=Qn(),K=Qn(),le;function W(E,F,j){ot(E);const X=K.list();return X.length?X.forEach(de=>de(E,F,j)):console.error(E),Promise.reject(E)}function Se(){return le&&a.value!==Tt?Promise.resolve():new Promise((E,F)=>{_e.add([E,F])})}function ot(E){return le||(le=!E,ke(),_e.list().forEach(([F,j])=>E?j(E):F()),_e.reset()),E}function Ye(E,F,j,X){const{scrollBehavior:de}=e;if(!kn||!de)return Promise.resolve();const be=!j&&xp(ci(E.fullPath,0))||(X||!j)&&history.state&&history.state.scroll||null;return Qt().then(()=>de(E,F,be)).then(v=>v&&kp(v)).catch(v=>W(v,E,F))}const Z=E=>o.go(E);let z;const G=new Set,te={currentRoute:a,listening:!0,addRoute:h,removeRoute:m,clearRoutes:t.clearRoutes,hasRoute:b,getRoutes:_,resolve:w,options:e,push:x,replace:P,go:Z,back:()=>Z(-1),forward:()=>Z(1),beforeEach:l.add,beforeResolve:s.add,afterEach:i.add,onError:K.add,isReady:Se,install(E){const F=this;E.component("RouterLink",Qp),E.component("RouterView",e0),E.config.globalProperties.$router=F,Object.defineProperty(E.config.globalProperties,"$route",{enumerable:!0,get:()=>rt(a)}),kn&&!z&&a.value===Tt&&(z=!0,x(o.location).catch(de=>{}));const j={};for(const de in Tt)Object.defineProperty(j,de,{get:()=>a.value[de],enumerable:!0});E.provide(So,F),E.provide(ns,ma(j)),E.provide(yl,a);const X=E.unmount;G.add(E),E.unmount=function(){G.delete(E),G.size<1&&(c=Tt,re&&re(),re=null,a.value=Tt,z=!1,le=!1),X()}}};function J(E){return E.reduce((F,j)=>F.then(()=>Q(j)),Promise.resolve())}return te}function n0(e,t){const n=[],r=[],o=[],l=Math.max(t.matched.length,e.matched.length);for(let s=0;sHn(c,i))?r.push(i):n.push(i));const a=e.matched[s];a&&(t.matched.find(c=>Hn(c,a))||o.push(a))}return[n,r,o]}function yn(){return De(So)}function Jt(e){return De(ns)}var rs=Symbol(""),Ct=()=>{const e=De(rs);if(!e)throw new Error("useClientData() is called without provider.");return e},r0=()=>Ct().pageComponent,Le=()=>Ct().pageData,Ae=()=>Ct().pageFrontmatter,o0=()=>Ct().pageHead,os=()=>Ct().pageLang,l0=()=>Ct().pageLayout,Xt=()=>Ct().routeLocale,_c=()=>Ct().routes,wc=()=>Ct().siteData,To=()=>Ct().siteLocaleData,s0=Symbol(""),bl=Fe(J1),gr=Fe(X1),Ec=e=>{const t=G1(e);if(gr.value[t])return t;const n=encodeURI(t);return gr.value[n]?n:bl.value[t]||bl.value[n]||t},Lo=e=>{const t=Ec(e),n=gr.value[t]??{...gr.value["/404.html"],notFound:!0};return{path:t,notFound:!1,...n}},Ao=V({name:"ClientOnly",setup(e,t){const n=Y(!1);return Ee(()=>{n.value=!0}),()=>{var r,o;return n.value?(o=(r=t.slots).default)==null?void 0:o.call(r):null}}}),kc=V({name:"Content",props:{path:{type:String,required:!1,default:""}},setup(e){const t=r0(),n=T(()=>{if(!e.path)return t.value;const r=Lo(e.path);return md(()=>r.loader().then(({comp:o})=>o))});return()=>f(n.value)}}),et=(e={})=>e,Ge=e=>gn(e)?e:`/${ac(e)}`,i0=e=>{if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget){const t=e.currentTarget.getAttribute("target");if(t!=null&&t.match(/\b_blank\b/i))return}return e.preventDefault(),!0}},Je=({active:e=!1,activeClass:t="route-link-active",to:n,...r},{slots:o})=>{var a;const l=yn(),s=Ec(n),i=s.startsWith("#")||s.startsWith("?")?s:Ge(s);return f("a",{...r,class:["route-link",{[t]:e}],href:i,onClick:(c={})=>{i0(c)?l.push(n).catch():Promise.resolve()}},(a=o.default)==null?void 0:a.call(o))};Je.displayName="RouteLink";Je.props={active:Boolean,activeClass:String,to:String};var a0="Layout",c0="en-US",on=Cr({resolveLayouts:e=>e.reduce((t,n)=>({...t,...n.layouts}),{}),resolvePageHead:(e,t,n)=>{const r=Pe(t.description)?t.description:n.description,o=[...Array.isArray(t.head)?t.head:[],...n.head,["title",{},e],["meta",{name:"description",content:r}]];return U1(o)},resolvePageHeadTitle:(e,t)=>[e.title,t.title].filter(n=>!!n).join(" | "),resolvePageLang:(e,t)=>e.lang||t.lang||c0,resolvePageLayout:(e,t)=>{const n=Pe(e.frontmatter.layout)?e.frontmatter.layout:a0;if(!t[n])throw new Error(`[vuepress] Cannot resolve layout: ${n}`);return t[n]},resolveRouteLocale:(e,t)=>K1(e,t),resolveSiteLocaleData:(e,t)=>{var n;return{...e,...e.locales[t],head:[...((n=e.locales[t])==null?void 0:n.head)??[],...e.head??[]]}}});const u0={},$r=e=>{const t=Xt();return T(()=>e[t.value]??{})},f0=()=>{const e=_c();return T(()=>Object.keys(e.value))};var qe=Uint8Array,xn=Uint16Array,d0=Int32Array,Cc=new qe([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),xc=new qe([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),p0=new qe([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Sc=function(e,t){for(var n=new xn(31),r=0;r<31;++r)n[r]=t+=1<>1|(xe&21845)<<1;Mt=(Mt&52428)>>2|(Mt&13107)<<2,Mt=(Mt&61680)>>4|(Mt&3855)<<4,_l[xe]=((Mt&65280)>>8|(Mt&255)<<8)>>1}var ar=function(e,t,n){for(var r=e.length,o=0,l=new xn(t);o>a]=c}else for(i=new xn(r),o=0;o>15-e[o]);return i},Rr=new qe(288);for(var xe=0;xe<144;++xe)Rr[xe]=8;for(var xe=144;xe<256;++xe)Rr[xe]=9;for(var xe=256;xe<280;++xe)Rr[xe]=7;for(var xe=280;xe<288;++xe)Rr[xe]=8;var Ac=new qe(32);for(var xe=0;xe<32;++xe)Ac[xe]=5;var g0=ar(Rr,9,1),y0=ar(Ac,5,1),Go=function(e){for(var t=e[0],n=1;nt&&(t=e[n]);return t},ht=function(e,t,n){var r=t/8|0;return(e[r]|e[r+1]<<8)>>(t&7)&n},Ko=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(t&7)},b0=function(e){return(e+7)/8|0},ls=function(e,t,n){return(t==null||t<0)&&(t=0),(n==null||n>e.length)&&(n=e.length),new qe(e.subarray(t,n))},_0=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],it=function(e,t,n){var r=new Error(t||_0[e]);if(r.code=e,Error.captureStackTrace&&Error.captureStackTrace(r,it),!n)throw r;return r},w0=function(e,t,n,r){var o=e.length,l=r?r.length:0;if(!o||t.f&&!t.l)return n||new qe(0);var s=!n,i=s||t.i!=2,a=t.i;s&&(n=new qe(o*3));var c=function(de){var be=n.length;if(de>be){var v=new qe(Math.max(be*2,de));v.set(n),n=v}},u=t.f||0,d=t.p||0,p=t.b||0,h=t.l,m=t.d,_=t.m,b=t.n,w=o*8;do{if(!h){u=ht(e,d,1);var C=ht(e,d+1,3);if(d+=3,C)if(C==1)h=g0,m=y0,_=9,b=5;else if(C==2){var S=ht(e,d,31)+257,I=ht(e,d+10,15)+4,$=S+ht(e,d+5,31)+1;d+=14;for(var Q=new qe($),O=new qe(19),U=0;U>4;if(y<16)Q[U++]=y;else{var K=0,le=0;for(y==16?(le=3+ht(e,d,3),d+=2,K=Q[U-1]):y==17?(le=3+ht(e,d,7),d+=3):y==18&&(le=11+ht(e,d,127),d+=7);le--;)Q[U++]=K}}var W=Q.subarray(0,S),Se=Q.subarray(S);_=Go(W),b=Go(Se),h=ar(W,_,1),m=ar(Se,b,1)}else it(1);else{var y=b0(d)+4,x=e[y-4]|e[y-3]<<8,P=y+x;if(P>o){a&&it(0);break}i&&c(p+x),n.set(e.subarray(y,P),p),t.b=p+=x,t.p=d=P*8,t.f=u;continue}if(d>w){a&&it(0);break}}i&&c(p+131072);for(var ot=(1<<_)-1,Ye=(1<>4;if(d+=K&15,d>w){a&&it(0);break}if(K||it(2),z<256)n[p++]=z;else if(z==256){Z=d,h=null;break}else{var G=z-254;if(z>264){var U=z-257,te=Cc[U];G=ht(e,d,(1<>4;J||it(3),d+=J&15;var Se=m0[E];if(E>3){var te=xc[E];Se+=Ko(e,d)&(1<w){a&&it(0);break}i&&c(p+131072);var F=p+G;if(p>4>7||(e[0]<<8|e[1])%31)&&it(6,"invalid zlib data"),(e[1]>>5&1)==+!t&&it(6,"invalid zlib data: "+(e[1]&32?"need":"unexpected")+" dictionary"),(e[1]>>3&4)+2};function C0(e,t){return w0(e.subarray(k0(e,t&&t.dictionary),-4),{i:2},t&&t.out,t&&t.dictionary)}var ki=typeof TextEncoder<"u"&&new TextEncoder,wl=typeof TextDecoder<"u"&&new TextDecoder,x0=0;try{wl.decode(E0,{stream:!0}),x0=1}catch{}var S0=function(e){for(var t="",n=0;;){var r=e[n++],o=(r>127)+(r>223)+(r>239);if(n+o>e.length)return{s:t,r:ls(e,n-1)};o?o==3?(r=((r&15)<<18|(e[n++]&63)<<12|(e[n++]&63)<<6|e[n++]&63)-65536,t+=String.fromCharCode(55296|r>>10,56320|r&1023)):o&1?t+=String.fromCharCode((r&31)<<6|e[n++]&63):t+=String.fromCharCode((r&15)<<12|(e[n++]&63)<<6|e[n++]&63):t+=String.fromCharCode(r)}};function T0(e,t){if(t){for(var n=new qe(e.length),r=0;r>1)),s=0,i=function(u){l[s++]=u},r=0;rl.length){var a=new qe(s+8+(o-r<<1));a.set(l),l=a}var c=e.charCodeAt(r);c<128||t?i(c):c<2048?(i(192|c>>6),i(128|c&63)):c>55295&&c<57344?(c=65536+(c&1047552)|e.charCodeAt(++r)&1023,i(240|c>>18),i(128|c>>12&63),i(128|c>>6&63),i(128|c&63)):(i(224|c>>12),i(128|c>>6&63),i(128|c&63))}return ls(l,0,s)}function L0(e,t){if(t){for(var n="",r=0;r{const t=atob(e);return L0(C0(T0(t,!0)))},ft=(e,t)=>{var r;const n=(r=(t==null?void 0:t._instance)||Ir())==null?void 0:r.appContext.components;return n?e in n||dt(e)in n||kr(dt(e))in n:!1},Ic=e=>new Promise(t=>setTimeout(t,e)),Oc=e=>typeof e<"u",Yo=e=>typeof e=="number",kl=Array.isArray,Vn=(e,t)=>Pe(e)&&e.startsWith(t),A0=(e,t)=>Pe(e)&&e.endsWith(t),Pc=Object.entries,Zt=Object.keys,I0=e=>{if(e){if(typeof e=="number")return new Date(e);const t=Date.parse(e.toString());if(!Number.isNaN(t))return new Date(t)}return null},ss=e=>Vn(e,"/");function is(e,t){let n,r,o;const l=Y(!0),s=()=>{l.value=!0,o()};ve(e,s,{flush:"sync"});const i=typeof t=="function"?t:t.get,a=typeof t=="function"?void 0:t.set,c=ql((u,d)=>(r=u,o=d,{get(){return l.value&&(n=i(),l.value=!1),r(),n},set(p){a==null||a(p)}}));return Object.isExtensible(c)&&(c.trigger=s),c}function Wn(e){return oa()?(kf(e),!0):!1}function Be(e){return typeof e=="function"?e():rt(e)}const Mr=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const O0=Object.prototype.toString,P0=e=>O0.call(e)==="[object Object]",pn=()=>{},Ci=$0();function $0(){var e,t;return Mr&&((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 as(e,t){function n(...r){return new Promise((o,l)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(l)})}return n}const $c=e=>e();function R0(e,t={}){let n,r,o=pn;const l=i=>{clearTimeout(i),o(),o=pn};return i=>{const a=Be(e),c=Be(t.maxWait);return n&&l(n),a<=0||c!==void 0&&c<=0?(r&&(l(r),r=null),Promise.resolve(i())):new Promise((u,d)=>{o=t.rejectOnCancel?d:u,c&&!r&&(r=setTimeout(()=>{n&&l(n),r=null,u(i())},c)),n=setTimeout(()=>{r&&l(r),r=null,u(i())},a)})}}function M0(...e){let t=0,n,r=!0,o=pn,l,s,i,a,c;!Me(e[0])&&typeof e[0]=="object"?{delay:s,trailing:i=!0,leading:a=!0,rejectOnCancel:c=!1}=e[0]:[s,i=!0,a=!0,c=!1]=e;const u=()=>{n&&(clearTimeout(n),n=void 0,o(),o=pn)};return p=>{const h=Be(s),m=Date.now()-t,_=()=>l=p();return u(),h<=0?(t=Date.now(),_()):(m>h&&(a||!r)?(t=Date.now(),_()):i&&(l=new Promise((b,w)=>{o=c?w:b,n=setTimeout(()=>{t=Date.now(),r=!0,b(_()),u()},Math.max(0,h-m))})),!a&&!n&&(n=setTimeout(()=>r=!0,h)),r=!1,l)}}function N0(e=$c){const t=Y(!0);function n(){t.value=!1}function r(){t.value=!0}const o=(...l)=>{t.value&&e(...l)};return{isActive:xr(t),pause:n,resume:r,eventFilter:o}}function D0(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const r=t;t=void 0,r&&await r},n}function Rc(e){return e||Ir()}function F0(...e){if(e.length!==1)return yo(...e);const t=e[0];return typeof t=="function"?xr(ql(()=>({get:t,set:pn}))):Y(t)}function Mc(e,t=200,n={}){return as(R0(t,n),e)}function j0(e,t=200,n=!1,r=!0,o=!1){return as(M0(t,n,r,o),e)}function H0(e,t,n={}){const{eventFilter:r=$c,...o}=n;return ve(e,as(r,t),o)}function B0(e,t,n={}){const{eventFilter:r,...o}=n,{eventFilter:l,pause:s,resume:i,isActive:a}=N0(r);return{stop:H0(e,t,{...o,eventFilter:l}),pause:s,resume:i,isActive:a}}function Io(e,t=!0,n){Rc()?Ee(e,n):t?e():Qt(e)}function V0(e,t){Rc(t)&&mn(e,t)}function z0(e,t,n={}){const{immediate:r=!0}=n,o=Y(!1);let l=null;function s(){l&&(clearTimeout(l),l=null)}function i(){o.value=!1,s()}function a(...c){s(),o.value=!0,l=setTimeout(()=>{o.value=!1,l=null,e(...c)},Be(t))}return r&&(o.value=!0,Mr&&a()),Wn(i),{isPending:xr(o),start:a,stop:i}}function yr(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,o=Me(e),l=Y(e);function s(i){if(arguments.length)return l.value=i,l.value;{const a=Be(n);return l.value=l.value===a?Be(r):a,l.value}}return o?s:[l,s]}function Lt(e){var t;const n=Be(e);return(t=n==null?void 0:n.$el)!=null?t:n}const It=Mr?window:void 0,Nc=Mr?window.document:void 0,Dc=Mr?window.navigator:void 0;function Ne(...e){let t,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,t=It):[t,n,r,o]=e,!t)return pn;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const l=[],s=()=>{l.forEach(u=>u()),l.length=0},i=(u,d,p,h)=>(u.addEventListener(d,p,h),()=>u.removeEventListener(d,p,h)),a=ve(()=>[Lt(t),Be(o)],([u,d])=>{if(s(),!u)return;const p=P0(d)?{...d}:d;l.push(...n.flatMap(h=>r.map(m=>i(u,h,m,p))))},{immediate:!0,flush:"post"}),c=()=>{a(),s()};return Wn(c),c}function U0(){const e=Y(!1),t=Ir();return t&&Ee(()=>{e.value=!0},t),e}function Nr(e){const t=U0();return T(()=>(t.value,!!e()))}function Fc(e,t={}){const{window:n=It}=t,r=Nr(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const l=Y(!1),s=c=>{l.value=c.matches},i=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",s):o.removeListener(s))},a=Aa(()=>{r.value&&(i(),o=n.matchMedia(Be(e)),"addEventListener"in o?o.addEventListener("change",s):o.addListener(s),l.value=o.matches)});return Wn(()=>{a(),i(),o=void 0}),l}function xi(e,t={}){const{controls:n=!1,navigator:r=Dc}=t,o=Nr(()=>r&&"permissions"in r);let l;const s=typeof e=="string"?{name:e}:e,i=Y(),a=()=>{l&&(i.value=l.state)},c=D0(async()=>{if(o.value){if(!l)try{l=await r.permissions.query(s),Ne(l,"change",a),a()}catch{i.value="prompt"}return l}});return c(),n?{state:i,isSupported:o,query:c}:i}function q0(e={}){const{navigator:t=Dc,read:n=!1,source:r,copiedDuring:o=1500,legacy:l=!1}=e,s=Nr(()=>t&&"clipboard"in t),i=xi("clipboard-read"),a=xi("clipboard-write"),c=T(()=>s.value||l),u=Y(""),d=Y(!1),p=z0(()=>d.value=!1,o);function h(){s.value&&w(i.value)?t.clipboard.readText().then(C=>{u.value=C}):u.value=b()}c.value&&n&&Ne(["copy","cut"],h);async function m(C=Be(r)){c.value&&C!=null&&(s.value&&w(a.value)?await t.clipboard.writeText(C):_(C),u.value=C,d.value=!0,p.start())}function _(C){const y=document.createElement("textarea");y.value=C??"",y.style.position="absolute",y.style.opacity="0",document.body.appendChild(y),y.select(),document.execCommand("copy"),y.remove()}function b(){var C,y,x;return(x=(y=(C=document==null?void 0:document.getSelection)==null?void 0:C.call(document))==null?void 0:y.toString())!=null?x:""}function w(C){return C==="granted"||C==="prompt"}return{isSupported:c,text:u,copied:d,copy:m}}const Kr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Yr="__vueuse_ssr_handlers__",W0=G0();function G0(){return Yr in Kr||(Kr[Yr]=Kr[Yr]||{}),Kr[Yr]}function K0(e,t){return W0[e]||t}function Y0(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 Q0={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()}},Si="vueuse-storage";function Gn(e,t,n,r={}){var o;const{flush:l="pre",deep:s=!0,listenToStorageChanges:i=!0,writeDefaults:a=!0,mergeDefaults:c=!1,shallow:u,window:d=It,eventFilter:p,onError:h=O=>{console.error(O)},initOnMounted:m}=r,_=(u?Fe:Y)(typeof t=="function"?t():t);if(!n)try{n=K0("getDefaultStorage",()=>{var O;return(O=It)==null?void 0:O.localStorage})()}catch(O){h(O)}if(!n)return _;const b=Be(t),w=Y0(b),C=(o=r.serializer)!=null?o:Q0[w],{pause:y,resume:x}=B0(_,()=>S(_.value),{flush:l,deep:s,eventFilter:p});d&&i&&Io(()=>{Ne(d,"storage",$),Ne(d,Si,Q),m&&$()}),m||$();function P(O,U){d&&d.dispatchEvent(new CustomEvent(Si,{detail:{key:e,oldValue:O,newValue:U,storageArea:n}}))}function S(O){try{const U=n.getItem(e);if(O==null)P(U,null),n.removeItem(e);else{const M=C.write(O);U!==M&&(n.setItem(e,M),P(U,M))}}catch(U){h(U)}}function I(O){const U=O?O.newValue:n.getItem(e);if(U==null)return a&&b!=null&&n.setItem(e,C.write(b)),b;if(!O&&c){const M=C.read(U);return typeof c=="function"?c(M,b):w==="object"&&!Array.isArray(M)?{...b,...M}:M}else return typeof U!="string"?U:C.read(U)}function $(O){if(!(O&&O.storageArea!==n)){if(O&&O.key==null){_.value=b;return}if(!(O&&O.key!==e)){y();try{(O==null?void 0:O.newValue)!==C.write(_.value)&&(_.value=I(O))}catch(U){h(U)}finally{O?Qt(x):x()}}}}function Q(O){$(O.detail)}return _}function J0(e){return Fc("(prefers-color-scheme: dark)",e)}function X0(e,t,n={}){const{window:r=It,...o}=n;let l;const s=Nr(()=>r&&"ResizeObserver"in r),i=()=>{l&&(l.disconnect(),l=void 0)},a=T(()=>Array.isArray(e)?e.map(d=>Lt(d)):[Lt(e)]),c=ve(a,d=>{if(i(),s.value&&r){l=new ResizeObserver(t);for(const p of d)p&&l.observe(p,o)}},{immediate:!0,flush:"post"}),u=()=>{i(),c()};return Wn(u),{isSupported:s,stop:u}}function Z0(e,t={width:0,height:0},n={}){const{window:r=It,box:o="content-box"}=n,l=T(()=>{var d,p;return(p=(d=Lt(e))==null?void 0:d.namespaceURI)==null?void 0:p.includes("svg")}),s=Y(t.width),i=Y(t.height),{stop:a}=X0(e,([d])=>{const p=o==="border-box"?d.borderBoxSize:o==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(r&&l.value){const h=Lt(e);if(h){const m=r.getComputedStyle(h);s.value=Number.parseFloat(m.width),i.value=Number.parseFloat(m.height)}}else if(p){const h=Array.isArray(p)?p:[p];s.value=h.reduce((m,{inlineSize:_})=>m+_,0),i.value=h.reduce((m,{blockSize:_})=>m+_,0)}else s.value=d.contentRect.width,i.value=d.contentRect.height},n);Io(()=>{const d=Lt(e);d&&(s.value="offsetWidth"in d?d.offsetWidth:t.width,i.value="offsetHeight"in d?d.offsetHeight:t.height)});const c=ve(()=>Lt(e),d=>{s.value=d?t.width:0,i.value=d?t.height:0});function u(){a(),c()}return{width:s,height:i,stop:u}}const Ti=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function cs(e,t={}){const{document:n=Nc,autoExit:r=!1}=t,o=T(()=>{var w;return(w=Lt(e))!=null?w:n==null?void 0:n.querySelector("html")}),l=Y(!1),s=T(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(w=>n&&w in n||o.value&&w in o.value)),i=T(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(w=>n&&w in n||o.value&&w in o.value)),a=T(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(w=>n&&w in n||o.value&&w in o.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(w=>n&&w in n),u=Nr(()=>o.value&&n&&s.value!==void 0&&i.value!==void 0&&a.value!==void 0),d=()=>c?(n==null?void 0:n[c])===o.value:!1,p=()=>{if(a.value){if(n&&n[a.value]!=null)return n[a.value];{const w=o.value;if((w==null?void 0:w[a.value])!=null)return!!w[a.value]}}return!1};async function h(){if(!(!u.value||!l.value)){if(i.value)if((n==null?void 0:n[i.value])!=null)await n[i.value]();else{const w=o.value;(w==null?void 0:w[i.value])!=null&&await w[i.value]()}l.value=!1}}async function m(){if(!u.value||l.value)return;p()&&await h();const w=o.value;s.value&&(w==null?void 0:w[s.value])!=null&&(await w[s.value](),l.value=!0)}async function _(){await(l.value?h():m())}const b=()=>{const w=p();(!w||w&&d())&&(l.value=w)};return Ne(n,Ti,b,!1),Ne(()=>Lt(o),Ti,b,!1),r&&Wn(h),{isSupported:u,isFullscreen:l,enter:m,exit:h,toggle:_}}function Qo(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Jo(e,t=pn,n={}){const{immediate:r=!0,manual:o=!1,type:l="text/javascript",async:s=!0,crossOrigin:i,referrerPolicy:a,noModule:c,defer:u,document:d=Nc,attrs:p={}}=n,h=Y(null);let m=null;const _=C=>new Promise((y,x)=>{const P=$=>(h.value=$,y($),$);if(!d){y(!1);return}let S=!1,I=d.querySelector(`script[src="${Be(e)}"]`);I?I.hasAttribute("data-loaded")&&P(I):(I=d.createElement("script"),I.type=l,I.async=s,I.src=Be(e),u&&(I.defer=u),i&&(I.crossOrigin=i),c&&(I.noModule=c),a&&(I.referrerPolicy=a),Object.entries(p).forEach(([$,Q])=>I==null?void 0:I.setAttribute($,Q)),S=!0),I.addEventListener("error",$=>x($)),I.addEventListener("abort",$=>x($)),I.addEventListener("load",()=>{I.setAttribute("data-loaded","true"),t(I),P(I)}),S&&(I=d.head.appendChild(I)),C||P(I)}),b=(C=!0)=>(m||(m=_(C)),m),w=()=>{if(!d)return;m=null,h.value&&(h.value=null);const C=d.querySelector(`script[src="${Be(e)}"]`);C&&d.head.removeChild(C)};return r&&!o&&Io(b),o||V0(w),{scriptTag:h,load:b,unload:w}}function jc(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 Qr=new WeakMap;function Hc(e,t=!1){const n=Y(t);let r=null;ve(F0(e),s=>{const i=Qo(Be(s));if(i){const a=i;Qr.get(a)||Qr.set(a,a.style.overflow),n.value&&(a.style.overflow="hidden")}},{immediate:!0});const o=()=>{const s=Qo(Be(e));!s||n.value||(Ci&&(r=Ne(s,"touchmove",i=>{eh(i)},{passive:!1})),s.style.overflow="hidden",n.value=!0)},l=()=>{var s;const i=Qo(Be(e));!i||!n.value||(Ci&&(r==null||r()),i.style.overflow=(s=Qr.get(i))!=null?s:"",Qr.delete(i),n.value=!1)};return Wn(l),T({get(){return n.value},set(s){s?o():l()}})}function Bc(e,t,n={}){const{window:r=It}=n;return Gn(e,t,r==null?void 0:r.sessionStorage,n)}function th(e={}){const{window:t=It,behavior:n="auto"}=e;if(!t)return{x:Y(0),y:Y(0)};const r=Y(t.scrollX),o=Y(t.scrollY),l=T({get(){return r.value},set(i){scrollTo({left:i,behavior:n})}}),s=T({get(){return o.value},set(i){scrollTo({top:i,behavior:n})}});return Ne(t,"scroll",()=>{r.value=t.scrollX,o.value=t.scrollY},{capture:!1,passive:!0}),{x:l,y:s}}function nh(e={}){const{window:t=It,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:o=!0,includeScrollbar:l=!0}=e,s=Y(n),i=Y(r),a=()=>{t&&(l?(s.value=t.innerWidth,i.value=t.innerHeight):(s.value=t.document.documentElement.clientWidth,i.value=t.document.documentElement.clientHeight))};if(a(),Io(a),Ne("resize",a,{passive:!0}),o){const c=Fc("(orientation: portrait)");ve(c,()=>a())}return{width:s,height:i}}var rh=V({name:"FontIcon",props:{icon:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""}},setup(e){const t=T(()=>{const r=["font-icon icon"],o=`fas fa-${e.icon}`;return r.push("fa-fw fa-sm"),r.push(e.icon.includes(" ")?e.icon:o),r}),n=T(()=>{const r={};return e.color&&(r.color=e.color),e.size&&(r["font-size"]=Number.isNaN(Number(e.size))?e.size:`${e.size}px`),Zt(r).length?r:null});return()=>e.icon?f("span",{key:e.icon,class:t.value,style:n.value}):null}});const Vc=({type:e="info",text:t="",vertical:n,color:r},{slots:o})=>{var l;return f("span",{class:["vp-badge",e,{diy:r}],style:{verticalAlign:n??!1,backgroundColor:r??!1}},((l=o.default)==null?void 0:l.call(o))||t)};Vc.displayName="Badge";const zc=({title:e,desc:t="",logo:n,background:r,color:o,link:l})=>{const s=[n?f("img",{class:"vp-card-logo",src:Ge(n),loading:"lazy","no-view":""}):null,f("div",{class:"vp-card-content"},[f("div",{class:"vp-card-title",innerHTML:e}),f("hr"),f("div",{class:"vp-card-desc",innerHTML:t})])],i={};return r&&(i.background=r),o&&(i.color=o),l?jn(l)?f("a",{class:"vp-card",href:l,target:"_blank",style:i},s):f(Je,{to:l,class:"vp-card",style:i},()=>s):f("div",{class:"vp-card",style:i},s)};zc.displayName="VPCard";const oh=et({enhance:({app:e})=>{ft("FontIcon")||e.component("FontIcon",rh),ft("Badge")||e.component("Badge",Vc),ft("VPCard")||e.component("VPCard",zc)},setup:()=>{Jo("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/brands.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),Jo("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/solid.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),Jo("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/fontawesome.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}})},rootComponents:[]}),Li=async(e,t)=>{const{path:n,query:r}=e.currentRoute.value,{scrollBehavior:o}=e.options;e.options.scrollBehavior=void 0,await e.replace({path:n,query:r,hash:t}),e.options.scrollBehavior=o},lh=({headerLinkSelector:e,headerAnchorSelector:t,delay:n,offset:r=5})=>{const o=yn();Ne("scroll",Mc(()=>{var m,_;const s=Math.max(window.scrollY,document.documentElement.scrollTop,document.body.scrollTop);if(Math.abs(s-0)d.some(w=>w.hash===b.hash));for(let b=0;b=(((m=w.parentElement)==null?void 0:m.offsetTop)??0)-r,x=!C||s<(((_=C.parentElement)==null?void 0:_.offsetTop)??0)-r;if(!(y&&x))continue;const S=decodeURIComponent(o.currentRoute.value.hash),I=decodeURIComponent(w.hash);if(S===I)return;if(u){for(let $=b+1;$Pe(e.title)?{title:e.title}:null;const qc=Symbol(""),fh=e=>{Uc=e},dh=()=>De(qc),ph=e=>{e.provide(qc,Uc)};var hh={"/en/":{title:"Catalog",empty:"No catalog"},"/":{title:"目录",empty:"暂无目录"}};const vh=V({name:"Catalog",props:{base:{type:String,default:""},level:{type:Number,default:3},index:Boolean,hideHeading:Boolean},setup(e){const t=dh(),n=$r(hh),r=Le(),o=_c(),l=wc(),i=Fe(Pc(o.value).map(([c,{meta:u}])=>{const d=t(u);if(!d)return null;const p=c.split("/").length;return{level:A0(c,"/")?p-2:p-1,base:c.replace(/\/[^/]+\/?$/,"/"),path:c,...d}}).filter(c=>qn(c)&&Pe(c.title))),a=T(()=>{const c=e.base?q1(sc(e.base)):r.value.path.replace(/\/[^/]+$/,"/"),u=c.split("/").length-2,d=[];return i.value.filter(({level:p,path:h})=>{if(!Vn(h,c)||h===c)return!1;if(c==="/"){const m=Zt(l.value.locales).filter(_=>_!=="/");if(h==="/404.html"||m.some(_=>Vn(h,_)))return!1}return p-u<=e.level}).sort(({title:p,level:h,order:m},{title:_,level:b,order:w})=>{const C=h-b;return C||(Yo(m)?Yo(w)?m>0?w>0?m-w:-1:w<0?m-w:1:m:Yo(w)?w:p.localeCompare(_))}).forEach(p=>{var _;const{base:h,level:m}=p;switch(m-u){case 1:{d.push(p);break}case 2:{const b=d.find(w=>w.path===h);b&&(b.children??(b.children=[])).push(p);break}default:{const b=d.find(w=>w.path===h.replace(/\/[^/]+\/$/,"/"));if(b){const w=(_=b.children)==null?void 0:_.find(C=>C.path===h);w&&(w.children??(w.children=[])).push(p)}}}}),d});return()=>{const c=a.value.some(u=>u.children);return f("div",{class:["vp-catalog-wrapper",{index:e.index}]},[e.hideHeading?null:f("h2",{class:"vp-catalog-main-title"},n.value.title),a.value.length?f(e.index?"ol":"ul",{class:["vp-catalogs",{deep:c}]},a.value.map(({children:u=[],title:d,path:p,content:h})=>{const m=f(Je,{class:"vp-catalog-title",to:p},()=>h?f(h):d);return f("li",{class:"vp-catalog"},c?[f("h3",{id:d,class:["vp-catalog-child-title",{"has-children":u.length}]},[f("a",{href:`#${d}`,class:"vp-catalog-header-anchor","aria-hidden":!0},"#"),m]),u.length?f(e.index?"ol":"ul",{class:"vp-child-catalogs"},u.map(({children:_=[],content:b,path:w,title:C})=>f("li",{class:"vp-child-catalog"},[f("div",{class:["vp-catalog-sub-title",{"has-children":_.length}]},[f("a",{href:`#${C}`,class:"vp-catalog-header-anchor"},"#"),f(Je,{class:"vp-catalog-title",to:w},()=>b?f(b):C)]),_.length?f(e.index?"ol":"div",{class:e.index?"vp-sub-catalogs":"vp-sub-catalogs-wrapper"},_.map(({content:y,path:x,title:P})=>e.index?f("li",{class:"vp-sub-catalog"},f(Je,{to:x},()=>y?f(y):P)):f(Je,{class:"vp-sub-catalog-link",to:x},()=>y?f(y):P))):null]))):null]:f("div",{class:"vp-catalog-child-title"},m))})):f("p",{class:"vp-empty-catalog"},n.value.empty)])}}}),mh=et({enhance:({app:e})=>{ph(e),ft("Catalog",e)||e.component("Catalog",vh)}});var gh={"/en/":{backToTop:"Back to top"},"/":{backToTop:"返回顶部"}};const yh=V({name:"BackToTop",setup(e){const t=Ae(),n=$r(gh),r=Fe(),{height:o}=Z0(r),{height:l}=nh(),{y:s}=th(),i=T(()=>t.value.backToTop!==!1&&s.value>100),a=T(()=>s.value/(o.value-l.value)*100);return Ee(()=>{r.value=document.body}),()=>f(Yt,{name:"back-to-top"},()=>i.value?f("button",{type:"button",class:"vp-back-to-top-button","aria-label":n.value.backToTop,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}},[f("span",{class:"vp-scroll-progress",role:"progressbar","aria-labelledby":"loadinglabel","aria-valuenow":a.value},f("svg",f("circle",{cx:"50%",cy:"50%",style:{"stroke-dasharray":`calc(${Math.PI*a.value}% - ${4*Math.PI}px) calc(${Math.PI*100}% - ${4*Math.PI}px)`}}))),f("div",{class:"back-to-top-icon"})]):null)}}),bh=et({rootComponents:[yh]}),_h=f("svg",{class:"external-link-icon",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15"},[f("path",{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}),f("polygon",{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"})]),Wc=V({name:"ExternalLinkIcon",props:{locales:{type:Object,required:!1,default:()=>({})}},setup(e){const t=Xt(),n=T(()=>e.locales[t.value]??{openInNewWindow:"open in new window"});return()=>f("span",[_h,f("span",{class:"external-link-icon-sr-only"},n.value.openInNewWindow)])}});var wh={};const Eh=wh,kh=et({enhance({app:e}){e.component("ExternalLinkIcon",f(Wc,{locales:Eh}))}});/** + */const kn=typeof document<"u";function Z1(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const me=Object.assign;function Uo(e,t){const n={};for(const r in t){const o=t[r];n[r]=bt(o)?o.map(e):e(o)}return n}const sr=()=>{},bt=Array.isArray,cc=/#/g,ep=/&/g,tp=/\//g,np=/=/g,rp=/\?/g,uc=/\+/g,op=/%5B/g,lp=/%5D/g,fc=/%5E/g,sp=/%60/g,dc=/%7B/g,ip=/%7C/g,pc=/%7D/g,ap=/%20/g;function ts(e){return encodeURI(""+e).replace(ip,"|").replace(op,"[").replace(lp,"]")}function cp(e){return ts(e).replace(dc,"{").replace(pc,"}").replace(fc,"^")}function ml(e){return ts(e).replace(uc,"%2B").replace(ap,"+").replace(cc,"%23").replace(ep,"%26").replace(sp,"`").replace(dc,"{").replace(pc,"}").replace(fc,"^")}function up(e){return ml(e).replace(np,"%3D")}function fp(e){return ts(e).replace(cc,"%23").replace(rp,"%3F")}function dp(e){return e==null?"":fp(e).replace(tp,"%2F")}function vr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const pp=/\/$/,hp=e=>e.replace(pp,"");function qo(e,t,n="/"){let r,o={},l="",s="";const i=t.indexOf("#");let a=t.indexOf("?");return i=0&&(a=-1),a>-1&&(r=t.slice(0,a),l=t.slice(a+1,i>-1?i:t.length),o=e(l)),i>-1&&(r=r||t.slice(0,i),s=t.slice(i,t.length)),r=yp(r??t,n),{fullPath:r+(l&&"?")+l+s,path:r,query:o,hash:vr(s)}}function vp(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ii(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function mp(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Bn(t.matched[r],n.matched[o])&&hc(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Bn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function hc(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!gp(e[n],t[n]))return!1;return!0}function gp(e,t){return bt(e)?ai(e,t):bt(t)?ai(t,e):e===t}function ai(e,t){return bt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function yp(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let l=n.length-1,s,i;for(s=0;s1&&l--;else break;return n.slice(0,l).join("/")+"/"+r.slice(s).join("/")}const Tt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var mr;(function(e){e.pop="pop",e.push="push"})(mr||(mr={}));var ir;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ir||(ir={}));function bp(e){if(!e)if(kn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),hp(e)}const _p=/^[^#]+#/;function wp(e,t){return e.replace(_p,"#")+t}function Ep(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const xo=()=>({left:window.scrollX,top:window.scrollY});function kp(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=Ep(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function ci(e,t){return(history.state?history.state.position-t:-1)+e}const gl=new Map;function Cp(e,t){gl.set(e,t)}function xp(e){const t=gl.get(e);return gl.delete(e),t}let Sp=()=>location.protocol+"//"+location.host;function vc(e,t){const{pathname:n,search:r,hash:o}=t,l=e.indexOf("#");if(l>-1){let i=o.includes(e.slice(l))?e.slice(l).length:1,a=o.slice(i);return a[0]!=="/"&&(a="/"+a),ii(a,"")}return ii(n,e)+r+o}function Tp(e,t,n,r){let o=[],l=[],s=null;const i=({state:p})=>{const h=vc(e,location),m=n.value,_=t.value;let b=0;if(p){if(n.value=h,t.value=p,s&&s===m){s=null;return}b=_?p.position-_.position:0}else r(h);o.forEach(w=>{w(n.value,m,{delta:b,type:mr.pop,direction:b?b>0?ir.forward:ir.back:ir.unknown})})};function a(){s=n.value}function c(p){o.push(p);const h=()=>{const m=o.indexOf(p);m>-1&&o.splice(m,1)};return l.push(h),h}function u(){const{history:p}=window;p.state&&p.replaceState(me({},p.state,{scroll:xo()}),"")}function d(){for(const p of l)p();l=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:a,listen:c,destroy:d}}function ui(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?xo():null}}function Lp(e){const{history:t,location:n}=window,r={value:vc(e,n)},o={value:t.state};o.value||l(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function l(a,c,u){const d=e.indexOf("#"),p=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+a:Sp()+e+a;try{t[u?"replaceState":"pushState"](c,"",p),o.value=c}catch(h){console.error(h),n[u?"replace":"assign"](p)}}function s(a,c){const u=me({},t.state,ui(o.value.back,a,o.value.forward,!0),c,{position:o.value.position});l(a,u,!0),r.value=a}function i(a,c){const u=me({},o.value,t.state,{forward:a,scroll:xo()});l(u.current,u,!0);const d=me({},ui(r.value,a,null),{position:u.position+1},c);l(a,d,!1),r.value=a}return{location:r,state:o,push:i,replace:s}}function Ap(e){e=bp(e);const t=Lp(e),n=Tp(e,t.state,t.location,t.replace);function r(l,s=!0){s||n.pauseListeners(),history.go(l)}const o=me({location:"",base:e,go:r,createHref:wp.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function Ip(e){return typeof e=="string"||e&&typeof e=="object"}function mc(e){return typeof e=="string"||typeof e=="symbol"}const gc=Symbol("");var fi;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(fi||(fi={}));function Hn(e,t){return me(new Error,{type:e,[gc]:!0},t)}function xt(e,t){return e instanceof Error&&gc in e&&(t==null||!!(e.type&t))}const di="[^/]+?",Op={sensitive:!1,strict:!1,start:!0,end:!0},Pp=/[.+*?^${}()[\]/\\]/g;function $p(e,t){const n=me({},Op,t),r=[];let o=n.start?"^":"";const l=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let d=0;dt.length?t.length===1&&t[0]===80?1:-1:0}function yc(e,t){let n=0;const r=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const Mp={type:0,value:""},Np=/[a-zA-Z0-9_]/;function Dp(e){if(!e)return[[]];if(e==="/")return[[Mp]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,r=n;const o=[];let l;function s(){l&&o.push(l),l=[]}let i=0,a,c="",u="";function d(){c&&(n===0?l.push({type:0,value:c}):n===1||n===2||n===3?(l.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),l.push({type:1,value:c,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),c="")}function p(){c+=a}for(;i{s(y)}:sr}function s(d){if(mc(d)){const p=r.get(d);p&&(r.delete(d),n.splice(n.indexOf(p),1),p.children.forEach(s),p.alias.forEach(s))}else{const p=n.indexOf(d);p>-1&&(n.splice(p,1),d.record.name&&r.delete(d.record.name),d.children.forEach(s),d.alias.forEach(s))}}function i(){return n}function a(d){const p=zp(d,n);n.splice(p,0,d),d.record.name&&!vi(d)&&r.set(d.record.name,d)}function c(d,p){let h,m={},_,b;if("name"in d&&d.name){if(h=r.get(d.name),!h)throw Hn(1,{location:d});b=h.record.name,m=me(hi(p.params,h.keys.filter(y=>!y.optional).concat(h.parent?h.parent.keys.filter(y=>y.optional):[]).map(y=>y.name)),d.params&&hi(d.params,h.keys.map(y=>y.name))),_=h.stringify(m)}else if(d.path!=null)_=d.path,h=n.find(y=>y.re.test(_)),h&&(m=h.parse(_),b=h.record.name);else{if(h=p.name?r.get(p.name):n.find(y=>y.re.test(p.path)),!h)throw Hn(1,{location:d,currentLocation:p});b=h.record.name,m=me({},p.params,d.params),_=h.stringify(m)}const w=[];let C=h;for(;C;)w.unshift(C.record),C=C.parent;return{name:b,path:_,params:m,matched:w,meta:Vp(w)}}e.forEach(d=>l(d));function u(){n.length=0,r.clear()}return{addRoute:l,resolve:c,removeRoute:s,clearRoutes:u,getRoutes:i,getRecordMatcher:o}}function hi(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Bp(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Hp(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Hp(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function vi(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Vp(e){return e.reduce((t,n)=>me(t,n.meta),{})}function mi(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function zp(e,t){let n=0,r=t.length;for(;n!==r;){const l=n+r>>1;yc(e,t[l])<0?r=l:n=l+1}const o=Up(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function Up(e){let t=e;for(;t=t.parent;)if(bc(t)&&yc(e,t)===0)return t}function bc({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function qp(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;ol&&ml(l)):[r&&ml(r)]).forEach(l=>{l!==void 0&&(t+=(t.length?"&":"")+n,l!=null&&(t+="="+l))})}return t}function Wp(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=bt(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const Gp=Symbol(""),yi=Symbol(""),So=Symbol(""),ns=Symbol(""),yl=Symbol("");function Qn(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Vt(e,t,n,r,o,l=s=>s()){const s=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((i,a)=>{const c=p=>{p===!1?a(Hn(4,{from:n,to:t})):p instanceof Error?a(p):Ip(p)?a(Hn(2,{from:t,to:p})):(s&&r.enterCallbacks[o]===s&&typeof p=="function"&&s.push(p),i())},u=l(()=>e.call(r&&r.instances[o],t,n,c));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch(p=>a(p))})}function Wo(e,t,n,r,o=l=>l()){const l=[];for(const s of e)for(const i in s.components){let a=s.components[i];if(!(t!=="beforeRouteEnter"&&!s.instances[i]))if(Kp(a)){const u=(a.__vccOpts||a)[t];u&&l.push(Vt(u,n,r,s,i,o))}else{let c=a();l.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${s.path}"`));const d=Z1(u)?u.default:u;s.components[i]=d;const h=(d.__vccOpts||d)[t];return h&&Vt(h,n,r,s,i,o)()}))}}return l}function Kp(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function bi(e){const t=De(So),n=De(ns),r=T(()=>{const a=rt(e.to);return t.resolve(a)}),o=T(()=>{const{matched:a}=r.value,{length:c}=a,u=a[c-1],d=n.matched;if(!u||!d.length)return-1;const p=d.findIndex(Bn.bind(null,u));if(p>-1)return p;const h=_i(a[c-2]);return c>1&&_i(u)===h&&d[d.length-1].path!==h?d.findIndex(Bn.bind(null,a[c-2])):p}),l=T(()=>o.value>-1&&Xp(n.params,r.value.params)),s=T(()=>o.value>-1&&o.value===n.matched.length-1&&hc(n.params,r.value.params));function i(a={}){return Jp(a)?t[rt(e.replace)?"replace":"push"](rt(e.to)).catch(sr):Promise.resolve()}return{route:r,href:T(()=>r.value.href),isActive:l,isExactActive:s,navigate:i}}const Yp=V({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:bi,setup(e,{slots:t}){const n=Cr(bi(e)),{options:r}=De(So),o=T(()=>({[wi(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[wi(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const l=t.default&&t.default(n);return e.custom?l:f("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},l)}}}),Qp=Yp;function Jp(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Xp(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!bt(o)||o.length!==r.length||r.some((l,s)=>l!==o[s]))return!1}return!0}function _i(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const wi=(e,t,n)=>e??t??n,Zp=V({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=De(yl),o=T(()=>e.route||r.value),l=De(yi,0),s=T(()=>{let c=rt(l);const{matched:u}=o.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),i=T(()=>o.value.matched[s.value]);Pn(yi,T(()=>s.value+1)),Pn(Gp,i),Pn(yl,o);const a=Y();return ve(()=>[a.value,i.value,e.name],([c,u,d],[p,h,m])=>{u&&(u.instances[d]=c,h&&h!==u&&c&&c===p&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!Bn(u,h)||!p)&&(u.enterCallbacks[d]||[]).forEach(_=>_(c))},{flush:"post"}),()=>{const c=o.value,u=e.name,d=i.value,p=d&&d.components[u];if(!p)return Ei(n.default,{Component:p,route:c});const h=d.props[u],m=h?h===!0?c.params:typeof h=="function"?h(c):h:null,b=f(p,me({},m,t,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(d.instances[u]=null)},ref:a}));return Ei(n.default,{Component:b,route:c})||b}}});function Ei(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const e0=Zp;function t0(e){const t=jp(e.routes,e),n=e.parseQuery||qp,r=e.stringifyQuery||gi,o=e.history,l=Qn(),s=Qn(),i=Qn(),a=Fe(Tt);let c=Tt;kn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Uo.bind(null,E=>""+E),d=Uo.bind(null,dp),p=Uo.bind(null,vr);function h(E,F){let j,X;return mc(E)?(j=t.getRecordMatcher(E),X=F):X=E,t.addRoute(X,j)}function m(E){const F=t.getRecordMatcher(E);F&&t.removeRoute(F)}function _(){return t.getRoutes().map(E=>E.record)}function b(E){return!!t.getRecordMatcher(E)}function w(E,F){if(F=me({},F||a.value),typeof E=="string"){const g=qo(n,E,F.path),k=t.resolve({path:g.path},F),A=o.createHref(g.fullPath);return me(g,k,{params:p(k.params),hash:vr(g.hash),redirectedFrom:void 0,href:A})}let j;if(E.path!=null)j=me({},E,{path:qo(n,E.path,F.path).path});else{const g=me({},E.params);for(const k in g)g[k]==null&&delete g[k];j=me({},E,{params:d(g)}),F.params=d(F.params)}const X=t.resolve(j,F),de=E.hash||"";X.params=u(p(X.params));const be=vp(r,me({},E,{hash:cp(de),path:X.path})),v=o.createHref(be);return me({fullPath:be,hash:de,query:r===gi?Wp(E.query):E.query||{}},X,{redirectedFrom:void 0,href:v})}function C(E){return typeof E=="string"?qo(n,E,a.value.path):me({},E)}function y(E,F){if(c!==E)return Hn(8,{from:F,to:E})}function x(E){return I(E)}function P(E){return x(me(C(E),{replace:!0}))}function S(E){const F=E.matched[E.matched.length-1];if(F&&F.redirect){const{redirect:j}=F;let X=typeof j=="function"?j(E):j;return typeof X=="string"&&(X=X.includes("?")||X.includes("#")?X=C(X):{path:X},X.params={}),me({query:E.query,hash:E.hash,params:X.path!=null?{}:E.params},X)}}function I(E,F){const j=c=w(E),X=a.value,de=E.state,be=E.force,v=E.replace===!0,g=S(j);if(g)return I(me(C(g),{state:typeof g=="object"?me({},de,g.state):de,force:be,replace:v}),F||j);const k=j;k.redirectedFrom=F;let A;return!be&&mp(r,X,j)&&(A=Hn(16,{to:k,from:X}),Ye(X,X,!0,!1)),(A?Promise.resolve(A):O(k,X)).catch(L=>xt(L)?xt(L,2)?L:ot(L):W(L,k,X)).then(L=>{if(L){if(xt(L,2))return I(me({replace:v},C(L.to),{state:typeof L.to=="object"?me({},de,L.to.state):de,force:be}),F||k)}else L=M(k,X,!0,v,de);return U(k,X,L),L})}function $(E,F){const j=y(E,F);return j?Promise.reject(j):Promise.resolve()}function Q(E){const F=G.values().next().value;return F&&typeof F.runWithContext=="function"?F.runWithContext(E):E()}function O(E,F){let j;const[X,de,be]=n0(E,F);j=Wo(X.reverse(),"beforeRouteLeave",E,F);for(const g of X)g.leaveGuards.forEach(k=>{j.push(Vt(k,E,F))});const v=$.bind(null,E,F);return j.push(v),J(j).then(()=>{j=[];for(const g of l.list())j.push(Vt(g,E,F));return j.push(v),J(j)}).then(()=>{j=Wo(de,"beforeRouteUpdate",E,F);for(const g of de)g.updateGuards.forEach(k=>{j.push(Vt(k,E,F))});return j.push(v),J(j)}).then(()=>{j=[];for(const g of be)if(g.beforeEnter)if(bt(g.beforeEnter))for(const k of g.beforeEnter)j.push(Vt(k,E,F));else j.push(Vt(g.beforeEnter,E,F));return j.push(v),J(j)}).then(()=>(E.matched.forEach(g=>g.enterCallbacks={}),j=Wo(be,"beforeRouteEnter",E,F,Q),j.push(v),J(j))).then(()=>{j=[];for(const g of s.list())j.push(Vt(g,E,F));return j.push(v),J(j)}).catch(g=>xt(g,8)?g:Promise.reject(g))}function U(E,F,j){i.list().forEach(X=>Q(()=>X(E,F,j)))}function M(E,F,j,X,de){const be=y(E,F);if(be)return be;const v=F===Tt,g=kn?history.state:{};j&&(X||v?o.replace(E.fullPath,me({scroll:v&&g&&g.scroll},de)):o.push(E.fullPath,de)),a.value=E,Ye(E,F,j,v),ot()}let re;function ke(){re||(re=o.listen((E,F,j)=>{if(!te.listening)return;const X=w(E),de=S(X);if(de){I(me(de,{replace:!0}),X).catch(sr);return}c=X;const be=a.value;kn&&Cp(ci(be.fullPath,j.delta),xo()),O(X,be).catch(v=>xt(v,12)?v:xt(v,2)?(I(v.to,X).then(g=>{xt(g,20)&&!j.delta&&j.type===mr.pop&&o.go(-1,!1)}).catch(sr),Promise.reject()):(j.delta&&o.go(-j.delta,!1),W(v,X,be))).then(v=>{v=v||M(X,be,!1),v&&(j.delta&&!xt(v,8)?o.go(-j.delta,!1):j.type===mr.pop&&xt(v,20)&&o.go(-1,!1)),U(X,be,v)}).catch(sr)}))}let _e=Qn(),K=Qn(),le;function W(E,F,j){ot(E);const X=K.list();return X.length?X.forEach(de=>de(E,F,j)):console.error(E),Promise.reject(E)}function Se(){return le&&a.value!==Tt?Promise.resolve():new Promise((E,F)=>{_e.add([E,F])})}function ot(E){return le||(le=!E,ke(),_e.list().forEach(([F,j])=>E?j(E):F()),_e.reset()),E}function Ye(E,F,j,X){const{scrollBehavior:de}=e;if(!kn||!de)return Promise.resolve();const be=!j&&xp(ci(E.fullPath,0))||(X||!j)&&history.state&&history.state.scroll||null;return Qt().then(()=>de(E,F,be)).then(v=>v&&kp(v)).catch(v=>W(v,E,F))}const Z=E=>o.go(E);let z;const G=new Set,te={currentRoute:a,listening:!0,addRoute:h,removeRoute:m,clearRoutes:t.clearRoutes,hasRoute:b,getRoutes:_,resolve:w,options:e,push:x,replace:P,go:Z,back:()=>Z(-1),forward:()=>Z(1),beforeEach:l.add,beforeResolve:s.add,afterEach:i.add,onError:K.add,isReady:Se,install(E){const F=this;E.component("RouterLink",Qp),E.component("RouterView",e0),E.config.globalProperties.$router=F,Object.defineProperty(E.config.globalProperties,"$route",{enumerable:!0,get:()=>rt(a)}),kn&&!z&&a.value===Tt&&(z=!0,x(o.location).catch(de=>{}));const j={};for(const de in Tt)Object.defineProperty(j,de,{get:()=>a.value[de],enumerable:!0});E.provide(So,F),E.provide(ns,ma(j)),E.provide(yl,a);const X=E.unmount;G.add(E),E.unmount=function(){G.delete(E),G.size<1&&(c=Tt,re&&re(),re=null,a.value=Tt,z=!1,le=!1),X()}}};function J(E){return E.reduce((F,j)=>F.then(()=>Q(j)),Promise.resolve())}return te}function n0(e,t){const n=[],r=[],o=[],l=Math.max(t.matched.length,e.matched.length);for(let s=0;sBn(c,i))?r.push(i):n.push(i));const a=e.matched[s];a&&(t.matched.find(c=>Bn(c,a))||o.push(a))}return[n,r,o]}function yn(){return De(So)}function Jt(e){return De(ns)}var rs=Symbol(""),Ct=()=>{const e=De(rs);if(!e)throw new Error("useClientData() is called without provider.");return e},r0=()=>Ct().pageComponent,Le=()=>Ct().pageData,Ae=()=>Ct().pageFrontmatter,o0=()=>Ct().pageHead,os=()=>Ct().pageLang,l0=()=>Ct().pageLayout,Xt=()=>Ct().routeLocale,_c=()=>Ct().routes,wc=()=>Ct().siteData,To=()=>Ct().siteLocaleData,s0=Symbol(""),bl=Fe(J1),gr=Fe(X1),Ec=e=>{const t=G1(e);if(gr.value[t])return t;const n=encodeURI(t);return gr.value[n]?n:bl.value[t]||bl.value[n]||t},Lo=e=>{const t=Ec(e),n=gr.value[t]??{...gr.value["/404.html"],notFound:!0};return{path:t,notFound:!1,...n}},Ao=V({name:"ClientOnly",setup(e,t){const n=Y(!1);return Ee(()=>{n.value=!0}),()=>{var r,o;return n.value?(o=(r=t.slots).default)==null?void 0:o.call(r):null}}}),kc=V({name:"Content",props:{path:{type:String,required:!1,default:""}},setup(e){const t=r0(),n=T(()=>{if(!e.path)return t.value;const r=Lo(e.path);return md(()=>r.loader().then(({comp:o})=>o))});return()=>f(n.value)}}),et=(e={})=>e,Ge=e=>gn(e)?e:`/${ac(e)}`,i0=e=>{if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget){const t=e.currentTarget.getAttribute("target");if(t!=null&&t.match(/\b_blank\b/i))return}return e.preventDefault(),!0}},Je=({active:e=!1,activeClass:t="route-link-active",to:n,...r},{slots:o})=>{var a;const l=yn(),s=Ec(n),i=s.startsWith("#")||s.startsWith("?")?s:Ge(s);return f("a",{...r,class:["route-link",{[t]:e}],href:i,onClick:(c={})=>{i0(c)?l.push(n).catch():Promise.resolve()}},(a=o.default)==null?void 0:a.call(o))};Je.displayName="RouteLink";Je.props={active:Boolean,activeClass:String,to:String};var a0="Layout",c0="en-US",on=Cr({resolveLayouts:e=>e.reduce((t,n)=>({...t,...n.layouts}),{}),resolvePageHead:(e,t,n)=>{const r=Pe(t.description)?t.description:n.description,o=[...Array.isArray(t.head)?t.head:[],...n.head,["title",{},e],["meta",{name:"description",content:r}]];return U1(o)},resolvePageHeadTitle:(e,t)=>[e.title,t.title].filter(n=>!!n).join(" | "),resolvePageLang:(e,t)=>e.lang||t.lang||c0,resolvePageLayout:(e,t)=>{const n=Pe(e.frontmatter.layout)?e.frontmatter.layout:a0;if(!t[n])throw new Error(`[vuepress] Cannot resolve layout: ${n}`);return t[n]},resolveRouteLocale:(e,t)=>K1(e,t),resolveSiteLocaleData:(e,t)=>{var n;return{...e,...e.locales[t],head:[...((n=e.locales[t])==null?void 0:n.head)??[],...e.head??[]]}}});const u0={},$r=e=>{const t=Xt();return T(()=>e[t.value]??{})},f0=()=>{const e=_c();return T(()=>Object.keys(e.value))};var qe=Uint8Array,xn=Uint16Array,d0=Int32Array,Cc=new qe([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),xc=new qe([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),p0=new qe([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Sc=function(e,t){for(var n=new xn(31),r=0;r<31;++r)n[r]=t+=1<>1|(xe&21845)<<1;Mt=(Mt&52428)>>2|(Mt&13107)<<2,Mt=(Mt&61680)>>4|(Mt&3855)<<4,_l[xe]=((Mt&65280)>>8|(Mt&255)<<8)>>1}var ar=function(e,t,n){for(var r=e.length,o=0,l=new xn(t);o>a]=c}else for(i=new xn(r),o=0;o>15-e[o]);return i},Rr=new qe(288);for(var xe=0;xe<144;++xe)Rr[xe]=8;for(var xe=144;xe<256;++xe)Rr[xe]=9;for(var xe=256;xe<280;++xe)Rr[xe]=7;for(var xe=280;xe<288;++xe)Rr[xe]=8;var Ac=new qe(32);for(var xe=0;xe<32;++xe)Ac[xe]=5;var g0=ar(Rr,9,1),y0=ar(Ac,5,1),Go=function(e){for(var t=e[0],n=1;nt&&(t=e[n]);return t},ht=function(e,t,n){var r=t/8|0;return(e[r]|e[r+1]<<8)>>(t&7)&n},Ko=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(t&7)},b0=function(e){return(e+7)/8|0},ls=function(e,t,n){return(t==null||t<0)&&(t=0),(n==null||n>e.length)&&(n=e.length),new qe(e.subarray(t,n))},_0=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],it=function(e,t,n){var r=new Error(t||_0[e]);if(r.code=e,Error.captureStackTrace&&Error.captureStackTrace(r,it),!n)throw r;return r},w0=function(e,t,n,r){var o=e.length,l=r?r.length:0;if(!o||t.f&&!t.l)return n||new qe(0);var s=!n,i=s||t.i!=2,a=t.i;s&&(n=new qe(o*3));var c=function(de){var be=n.length;if(de>be){var v=new qe(Math.max(be*2,de));v.set(n),n=v}},u=t.f||0,d=t.p||0,p=t.b||0,h=t.l,m=t.d,_=t.m,b=t.n,w=o*8;do{if(!h){u=ht(e,d,1);var C=ht(e,d+1,3);if(d+=3,C)if(C==1)h=g0,m=y0,_=9,b=5;else if(C==2){var S=ht(e,d,31)+257,I=ht(e,d+10,15)+4,$=S+ht(e,d+5,31)+1;d+=14;for(var Q=new qe($),O=new qe(19),U=0;U>4;if(y<16)Q[U++]=y;else{var K=0,le=0;for(y==16?(le=3+ht(e,d,3),d+=2,K=Q[U-1]):y==17?(le=3+ht(e,d,7),d+=3):y==18&&(le=11+ht(e,d,127),d+=7);le--;)Q[U++]=K}}var W=Q.subarray(0,S),Se=Q.subarray(S);_=Go(W),b=Go(Se),h=ar(W,_,1),m=ar(Se,b,1)}else it(1);else{var y=b0(d)+4,x=e[y-4]|e[y-3]<<8,P=y+x;if(P>o){a&&it(0);break}i&&c(p+x),n.set(e.subarray(y,P),p),t.b=p+=x,t.p=d=P*8,t.f=u;continue}if(d>w){a&&it(0);break}}i&&c(p+131072);for(var ot=(1<<_)-1,Ye=(1<>4;if(d+=K&15,d>w){a&&it(0);break}if(K||it(2),z<256)n[p++]=z;else if(z==256){Z=d,h=null;break}else{var G=z-254;if(z>264){var U=z-257,te=Cc[U];G=ht(e,d,(1<>4;J||it(3),d+=J&15;var Se=m0[E];if(E>3){var te=xc[E];Se+=Ko(e,d)&(1<w){a&&it(0);break}i&&c(p+131072);var F=p+G;if(p>4>7||(e[0]<<8|e[1])%31)&&it(6,"invalid zlib data"),(e[1]>>5&1)==+!t&&it(6,"invalid zlib data: "+(e[1]&32?"need":"unexpected")+" dictionary"),(e[1]>>3&4)+2};function C0(e,t){return w0(e.subarray(k0(e,t&&t.dictionary),-4),{i:2},t&&t.out,t&&t.dictionary)}var ki=typeof TextEncoder<"u"&&new TextEncoder,wl=typeof TextDecoder<"u"&&new TextDecoder,x0=0;try{wl.decode(E0,{stream:!0}),x0=1}catch{}var S0=function(e){for(var t="",n=0;;){var r=e[n++],o=(r>127)+(r>223)+(r>239);if(n+o>e.length)return{s:t,r:ls(e,n-1)};o?o==3?(r=((r&15)<<18|(e[n++]&63)<<12|(e[n++]&63)<<6|e[n++]&63)-65536,t+=String.fromCharCode(55296|r>>10,56320|r&1023)):o&1?t+=String.fromCharCode((r&31)<<6|e[n++]&63):t+=String.fromCharCode((r&15)<<12|(e[n++]&63)<<6|e[n++]&63):t+=String.fromCharCode(r)}};function T0(e,t){if(t){for(var n=new qe(e.length),r=0;r>1)),s=0,i=function(u){l[s++]=u},r=0;rl.length){var a=new qe(s+8+(o-r<<1));a.set(l),l=a}var c=e.charCodeAt(r);c<128||t?i(c):c<2048?(i(192|c>>6),i(128|c&63)):c>55295&&c<57344?(c=65536+(c&1047552)|e.charCodeAt(++r)&1023,i(240|c>>18),i(128|c>>12&63),i(128|c>>6&63),i(128|c&63)):(i(224|c>>12),i(128|c>>6&63),i(128|c&63))}return ls(l,0,s)}function L0(e,t){if(t){for(var n="",r=0;r{const t=atob(e);return L0(C0(T0(t,!0)))},ft=(e,t)=>{var r;const n=(r=(t==null?void 0:t._instance)||Ir())==null?void 0:r.appContext.components;return n?e in n||dt(e)in n||kr(dt(e))in n:!1},Ic=e=>new Promise(t=>setTimeout(t,e)),Oc=e=>typeof e<"u",Yo=e=>typeof e=="number",kl=Array.isArray,Vn=(e,t)=>Pe(e)&&e.startsWith(t),A0=(e,t)=>Pe(e)&&e.endsWith(t),Pc=Object.entries,Zt=Object.keys,I0=e=>{if(e){if(typeof e=="number")return new Date(e);const t=Date.parse(e.toString());if(!Number.isNaN(t))return new Date(t)}return null},ss=e=>Vn(e,"/");function is(e,t){let n,r,o;const l=Y(!0),s=()=>{l.value=!0,o()};ve(e,s,{flush:"sync"});const i=typeof t=="function"?t:t.get,a=typeof t=="function"?void 0:t.set,c=ql((u,d)=>(r=u,o=d,{get(){return l.value&&(n=i(),l.value=!1),r(),n},set(p){a==null||a(p)}}));return Object.isExtensible(c)&&(c.trigger=s),c}function Wn(e){return oa()?(kf(e),!0):!1}function He(e){return typeof e=="function"?e():rt(e)}const Mr=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const O0=Object.prototype.toString,P0=e=>O0.call(e)==="[object Object]",pn=()=>{},Ci=$0();function $0(){var e,t;return Mr&&((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 as(e,t){function n(...r){return new Promise((o,l)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(l)})}return n}const $c=e=>e();function R0(e,t={}){let n,r,o=pn;const l=i=>{clearTimeout(i),o(),o=pn};return i=>{const a=He(e),c=He(t.maxWait);return n&&l(n),a<=0||c!==void 0&&c<=0?(r&&(l(r),r=null),Promise.resolve(i())):new Promise((u,d)=>{o=t.rejectOnCancel?d:u,c&&!r&&(r=setTimeout(()=>{n&&l(n),r=null,u(i())},c)),n=setTimeout(()=>{r&&l(r),r=null,u(i())},a)})}}function M0(...e){let t=0,n,r=!0,o=pn,l,s,i,a,c;!Me(e[0])&&typeof e[0]=="object"?{delay:s,trailing:i=!0,leading:a=!0,rejectOnCancel:c=!1}=e[0]:[s,i=!0,a=!0,c=!1]=e;const u=()=>{n&&(clearTimeout(n),n=void 0,o(),o=pn)};return p=>{const h=He(s),m=Date.now()-t,_=()=>l=p();return u(),h<=0?(t=Date.now(),_()):(m>h&&(a||!r)?(t=Date.now(),_()):i&&(l=new Promise((b,w)=>{o=c?w:b,n=setTimeout(()=>{t=Date.now(),r=!0,b(_()),u()},Math.max(0,h-m))})),!a&&!n&&(n=setTimeout(()=>r=!0,h)),r=!1,l)}}function N0(e=$c){const t=Y(!0);function n(){t.value=!1}function r(){t.value=!0}const o=(...l)=>{t.value&&e(...l)};return{isActive:xr(t),pause:n,resume:r,eventFilter:o}}function D0(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const r=t;t=void 0,r&&await r},n}function Rc(e){return e||Ir()}function F0(...e){if(e.length!==1)return yo(...e);const t=e[0];return typeof t=="function"?xr(ql(()=>({get:t,set:pn}))):Y(t)}function Mc(e,t=200,n={}){return as(R0(t,n),e)}function j0(e,t=200,n=!1,r=!0,o=!1){return as(M0(t,n,r,o),e)}function B0(e,t,n={}){const{eventFilter:r=$c,...o}=n;return ve(e,as(r,t),o)}function H0(e,t,n={}){const{eventFilter:r,...o}=n,{eventFilter:l,pause:s,resume:i,isActive:a}=N0(r);return{stop:B0(e,t,{...o,eventFilter:l}),pause:s,resume:i,isActive:a}}function Io(e,t=!0,n){Rc()?Ee(e,n):t?e():Qt(e)}function V0(e,t){Rc(t)&&mn(e,t)}function z0(e,t,n={}){const{immediate:r=!0}=n,o=Y(!1);let l=null;function s(){l&&(clearTimeout(l),l=null)}function i(){o.value=!1,s()}function a(...c){s(),o.value=!0,l=setTimeout(()=>{o.value=!1,l=null,e(...c)},He(t))}return r&&(o.value=!0,Mr&&a()),Wn(i),{isPending:xr(o),start:a,stop:i}}function yr(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,o=Me(e),l=Y(e);function s(i){if(arguments.length)return l.value=i,l.value;{const a=He(n);return l.value=l.value===a?He(r):a,l.value}}return o?s:[l,s]}function Lt(e){var t;const n=He(e);return(t=n==null?void 0:n.$el)!=null?t:n}const It=Mr?window:void 0,Nc=Mr?window.document:void 0,Dc=Mr?window.navigator:void 0;function Ne(...e){let t,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,t=It):[t,n,r,o]=e,!t)return pn;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const l=[],s=()=>{l.forEach(u=>u()),l.length=0},i=(u,d,p,h)=>(u.addEventListener(d,p,h),()=>u.removeEventListener(d,p,h)),a=ve(()=>[Lt(t),He(o)],([u,d])=>{if(s(),!u)return;const p=P0(d)?{...d}:d;l.push(...n.flatMap(h=>r.map(m=>i(u,h,m,p))))},{immediate:!0,flush:"post"}),c=()=>{a(),s()};return Wn(c),c}function U0(){const e=Y(!1),t=Ir();return t&&Ee(()=>{e.value=!0},t),e}function Nr(e){const t=U0();return T(()=>(t.value,!!e()))}function Fc(e,t={}){const{window:n=It}=t,r=Nr(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const l=Y(!1),s=c=>{l.value=c.matches},i=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",s):o.removeListener(s))},a=Aa(()=>{r.value&&(i(),o=n.matchMedia(He(e)),"addEventListener"in o?o.addEventListener("change",s):o.addListener(s),l.value=o.matches)});return Wn(()=>{a(),i(),o=void 0}),l}function xi(e,t={}){const{controls:n=!1,navigator:r=Dc}=t,o=Nr(()=>r&&"permissions"in r);let l;const s=typeof e=="string"?{name:e}:e,i=Y(),a=()=>{l&&(i.value=l.state)},c=D0(async()=>{if(o.value){if(!l)try{l=await r.permissions.query(s),Ne(l,"change",a),a()}catch{i.value="prompt"}return l}});return c(),n?{state:i,isSupported:o,query:c}:i}function q0(e={}){const{navigator:t=Dc,read:n=!1,source:r,copiedDuring:o=1500,legacy:l=!1}=e,s=Nr(()=>t&&"clipboard"in t),i=xi("clipboard-read"),a=xi("clipboard-write"),c=T(()=>s.value||l),u=Y(""),d=Y(!1),p=z0(()=>d.value=!1,o);function h(){s.value&&w(i.value)?t.clipboard.readText().then(C=>{u.value=C}):u.value=b()}c.value&&n&&Ne(["copy","cut"],h);async function m(C=He(r)){c.value&&C!=null&&(s.value&&w(a.value)?await t.clipboard.writeText(C):_(C),u.value=C,d.value=!0,p.start())}function _(C){const y=document.createElement("textarea");y.value=C??"",y.style.position="absolute",y.style.opacity="0",document.body.appendChild(y),y.select(),document.execCommand("copy"),y.remove()}function b(){var C,y,x;return(x=(y=(C=document==null?void 0:document.getSelection)==null?void 0:C.call(document))==null?void 0:y.toString())!=null?x:""}function w(C){return C==="granted"||C==="prompt"}return{isSupported:c,text:u,copied:d,copy:m}}const Kr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Yr="__vueuse_ssr_handlers__",W0=G0();function G0(){return Yr in Kr||(Kr[Yr]=Kr[Yr]||{}),Kr[Yr]}function K0(e,t){return W0[e]||t}function Y0(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 Q0={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()}},Si="vueuse-storage";function Gn(e,t,n,r={}){var o;const{flush:l="pre",deep:s=!0,listenToStorageChanges:i=!0,writeDefaults:a=!0,mergeDefaults:c=!1,shallow:u,window:d=It,eventFilter:p,onError:h=O=>{console.error(O)},initOnMounted:m}=r,_=(u?Fe:Y)(typeof t=="function"?t():t);if(!n)try{n=K0("getDefaultStorage",()=>{var O;return(O=It)==null?void 0:O.localStorage})()}catch(O){h(O)}if(!n)return _;const b=He(t),w=Y0(b),C=(o=r.serializer)!=null?o:Q0[w],{pause:y,resume:x}=H0(_,()=>S(_.value),{flush:l,deep:s,eventFilter:p});d&&i&&Io(()=>{Ne(d,"storage",$),Ne(d,Si,Q),m&&$()}),m||$();function P(O,U){d&&d.dispatchEvent(new CustomEvent(Si,{detail:{key:e,oldValue:O,newValue:U,storageArea:n}}))}function S(O){try{const U=n.getItem(e);if(O==null)P(U,null),n.removeItem(e);else{const M=C.write(O);U!==M&&(n.setItem(e,M),P(U,M))}}catch(U){h(U)}}function I(O){const U=O?O.newValue:n.getItem(e);if(U==null)return a&&b!=null&&n.setItem(e,C.write(b)),b;if(!O&&c){const M=C.read(U);return typeof c=="function"?c(M,b):w==="object"&&!Array.isArray(M)?{...b,...M}:M}else return typeof U!="string"?U:C.read(U)}function $(O){if(!(O&&O.storageArea!==n)){if(O&&O.key==null){_.value=b;return}if(!(O&&O.key!==e)){y();try{(O==null?void 0:O.newValue)!==C.write(_.value)&&(_.value=I(O))}catch(U){h(U)}finally{O?Qt(x):x()}}}}function Q(O){$(O.detail)}return _}function J0(e){return Fc("(prefers-color-scheme: dark)",e)}function X0(e,t,n={}){const{window:r=It,...o}=n;let l;const s=Nr(()=>r&&"ResizeObserver"in r),i=()=>{l&&(l.disconnect(),l=void 0)},a=T(()=>Array.isArray(e)?e.map(d=>Lt(d)):[Lt(e)]),c=ve(a,d=>{if(i(),s.value&&r){l=new ResizeObserver(t);for(const p of d)p&&l.observe(p,o)}},{immediate:!0,flush:"post"}),u=()=>{i(),c()};return Wn(u),{isSupported:s,stop:u}}function Z0(e,t={width:0,height:0},n={}){const{window:r=It,box:o="content-box"}=n,l=T(()=>{var d,p;return(p=(d=Lt(e))==null?void 0:d.namespaceURI)==null?void 0:p.includes("svg")}),s=Y(t.width),i=Y(t.height),{stop:a}=X0(e,([d])=>{const p=o==="border-box"?d.borderBoxSize:o==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(r&&l.value){const h=Lt(e);if(h){const m=r.getComputedStyle(h);s.value=Number.parseFloat(m.width),i.value=Number.parseFloat(m.height)}}else if(p){const h=Array.isArray(p)?p:[p];s.value=h.reduce((m,{inlineSize:_})=>m+_,0),i.value=h.reduce((m,{blockSize:_})=>m+_,0)}else s.value=d.contentRect.width,i.value=d.contentRect.height},n);Io(()=>{const d=Lt(e);d&&(s.value="offsetWidth"in d?d.offsetWidth:t.width,i.value="offsetHeight"in d?d.offsetHeight:t.height)});const c=ve(()=>Lt(e),d=>{s.value=d?t.width:0,i.value=d?t.height:0});function u(){a(),c()}return{width:s,height:i,stop:u}}const Ti=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function cs(e,t={}){const{document:n=Nc,autoExit:r=!1}=t,o=T(()=>{var w;return(w=Lt(e))!=null?w:n==null?void 0:n.querySelector("html")}),l=Y(!1),s=T(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(w=>n&&w in n||o.value&&w in o.value)),i=T(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(w=>n&&w in n||o.value&&w in o.value)),a=T(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(w=>n&&w in n||o.value&&w in o.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(w=>n&&w in n),u=Nr(()=>o.value&&n&&s.value!==void 0&&i.value!==void 0&&a.value!==void 0),d=()=>c?(n==null?void 0:n[c])===o.value:!1,p=()=>{if(a.value){if(n&&n[a.value]!=null)return n[a.value];{const w=o.value;if((w==null?void 0:w[a.value])!=null)return!!w[a.value]}}return!1};async function h(){if(!(!u.value||!l.value)){if(i.value)if((n==null?void 0:n[i.value])!=null)await n[i.value]();else{const w=o.value;(w==null?void 0:w[i.value])!=null&&await w[i.value]()}l.value=!1}}async function m(){if(!u.value||l.value)return;p()&&await h();const w=o.value;s.value&&(w==null?void 0:w[s.value])!=null&&(await w[s.value](),l.value=!0)}async function _(){await(l.value?h():m())}const b=()=>{const w=p();(!w||w&&d())&&(l.value=w)};return Ne(n,Ti,b,!1),Ne(()=>Lt(o),Ti,b,!1),r&&Wn(h),{isSupported:u,isFullscreen:l,enter:m,exit:h,toggle:_}}function Qo(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Jo(e,t=pn,n={}){const{immediate:r=!0,manual:o=!1,type:l="text/javascript",async:s=!0,crossOrigin:i,referrerPolicy:a,noModule:c,defer:u,document:d=Nc,attrs:p={}}=n,h=Y(null);let m=null;const _=C=>new Promise((y,x)=>{const P=$=>(h.value=$,y($),$);if(!d){y(!1);return}let S=!1,I=d.querySelector(`script[src="${He(e)}"]`);I?I.hasAttribute("data-loaded")&&P(I):(I=d.createElement("script"),I.type=l,I.async=s,I.src=He(e),u&&(I.defer=u),i&&(I.crossOrigin=i),c&&(I.noModule=c),a&&(I.referrerPolicy=a),Object.entries(p).forEach(([$,Q])=>I==null?void 0:I.setAttribute($,Q)),S=!0),I.addEventListener("error",$=>x($)),I.addEventListener("abort",$=>x($)),I.addEventListener("load",()=>{I.setAttribute("data-loaded","true"),t(I),P(I)}),S&&(I=d.head.appendChild(I)),C||P(I)}),b=(C=!0)=>(m||(m=_(C)),m),w=()=>{if(!d)return;m=null,h.value&&(h.value=null);const C=d.querySelector(`script[src="${He(e)}"]`);C&&d.head.removeChild(C)};return r&&!o&&Io(b),o||V0(w),{scriptTag:h,load:b,unload:w}}function jc(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 Qr=new WeakMap;function Bc(e,t=!1){const n=Y(t);let r=null;ve(F0(e),s=>{const i=Qo(He(s));if(i){const a=i;Qr.get(a)||Qr.set(a,a.style.overflow),n.value&&(a.style.overflow="hidden")}},{immediate:!0});const o=()=>{const s=Qo(He(e));!s||n.value||(Ci&&(r=Ne(s,"touchmove",i=>{eh(i)},{passive:!1})),s.style.overflow="hidden",n.value=!0)},l=()=>{var s;const i=Qo(He(e));!i||!n.value||(Ci&&(r==null||r()),i.style.overflow=(s=Qr.get(i))!=null?s:"",Qr.delete(i),n.value=!1)};return Wn(l),T({get(){return n.value},set(s){s?o():l()}})}function Hc(e,t,n={}){const{window:r=It}=n;return Gn(e,t,r==null?void 0:r.sessionStorage,n)}function th(e={}){const{window:t=It,behavior:n="auto"}=e;if(!t)return{x:Y(0),y:Y(0)};const r=Y(t.scrollX),o=Y(t.scrollY),l=T({get(){return r.value},set(i){scrollTo({left:i,behavior:n})}}),s=T({get(){return o.value},set(i){scrollTo({top:i,behavior:n})}});return Ne(t,"scroll",()=>{r.value=t.scrollX,o.value=t.scrollY},{capture:!1,passive:!0}),{x:l,y:s}}function nh(e={}){const{window:t=It,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:o=!0,includeScrollbar:l=!0}=e,s=Y(n),i=Y(r),a=()=>{t&&(l?(s.value=t.innerWidth,i.value=t.innerHeight):(s.value=t.document.documentElement.clientWidth,i.value=t.document.documentElement.clientHeight))};if(a(),Io(a),Ne("resize",a,{passive:!0}),o){const c=Fc("(orientation: portrait)");ve(c,()=>a())}return{width:s,height:i}}var rh=V({name:"FontIcon",props:{icon:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""}},setup(e){const t=T(()=>{const r=["font-icon icon"],o=`fas fa-${e.icon}`;return r.push("fa-fw fa-sm"),r.push(e.icon.includes(" ")?e.icon:o),r}),n=T(()=>{const r={};return e.color&&(r.color=e.color),e.size&&(r["font-size"]=Number.isNaN(Number(e.size))?e.size:`${e.size}px`),Zt(r).length?r:null});return()=>e.icon?f("span",{key:e.icon,class:t.value,style:n.value}):null}});const Vc=({type:e="info",text:t="",vertical:n,color:r},{slots:o})=>{var l;return f("span",{class:["vp-badge",e,{diy:r}],style:{verticalAlign:n??!1,backgroundColor:r??!1}},((l=o.default)==null?void 0:l.call(o))||t)};Vc.displayName="Badge";const zc=({title:e,desc:t="",logo:n,background:r,color:o,link:l})=>{const s=[n?f("img",{class:"vp-card-logo",src:Ge(n),loading:"lazy","no-view":""}):null,f("div",{class:"vp-card-content"},[f("div",{class:"vp-card-title",innerHTML:e}),f("hr"),f("div",{class:"vp-card-desc",innerHTML:t})])],i={};return r&&(i.background=r),o&&(i.color=o),l?jn(l)?f("a",{class:"vp-card",href:l,target:"_blank",style:i},s):f(Je,{to:l,class:"vp-card",style:i},()=>s):f("div",{class:"vp-card",style:i},s)};zc.displayName="VPCard";const oh=et({enhance:({app:e})=>{ft("FontIcon")||e.component("FontIcon",rh),ft("Badge")||e.component("Badge",Vc),ft("VPCard")||e.component("VPCard",zc)},setup:()=>{Jo("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/brands.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),Jo("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/solid.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),Jo("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/fontawesome.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}})},rootComponents:[]}),Li=async(e,t)=>{const{path:n,query:r}=e.currentRoute.value,{scrollBehavior:o}=e.options;e.options.scrollBehavior=void 0,await e.replace({path:n,query:r,hash:t}),e.options.scrollBehavior=o},lh=({headerLinkSelector:e,headerAnchorSelector:t,delay:n,offset:r=5})=>{const o=yn();Ne("scroll",Mc(()=>{var m,_;const s=Math.max(window.scrollY,document.documentElement.scrollTop,document.body.scrollTop);if(Math.abs(s-0)d.some(w=>w.hash===b.hash));for(let b=0;b=(((m=w.parentElement)==null?void 0:m.offsetTop)??0)-r,x=!C||s<(((_=C.parentElement)==null?void 0:_.offsetTop)??0)-r;if(!(y&&x))continue;const S=decodeURIComponent(o.currentRoute.value.hash),I=decodeURIComponent(w.hash);if(S===I)return;if(u){for(let $=b+1;$Pe(e.title)?{title:e.title}:null;const qc=Symbol(""),fh=e=>{Uc=e},dh=()=>De(qc),ph=e=>{e.provide(qc,Uc)};var hh={"/en/":{title:"Catalog",empty:"No catalog"},"/":{title:"目录",empty:"暂无目录"}};const vh=V({name:"Catalog",props:{base:{type:String,default:""},level:{type:Number,default:3},index:Boolean,hideHeading:Boolean},setup(e){const t=dh(),n=$r(hh),r=Le(),o=_c(),l=wc(),i=Fe(Pc(o.value).map(([c,{meta:u}])=>{const d=t(u);if(!d)return null;const p=c.split("/").length;return{level:A0(c,"/")?p-2:p-1,base:c.replace(/\/[^/]+\/?$/,"/"),path:c,...d}}).filter(c=>qn(c)&&Pe(c.title))),a=T(()=>{const c=e.base?q1(sc(e.base)):r.value.path.replace(/\/[^/]+$/,"/"),u=c.split("/").length-2,d=[];return i.value.filter(({level:p,path:h})=>{if(!Vn(h,c)||h===c)return!1;if(c==="/"){const m=Zt(l.value.locales).filter(_=>_!=="/");if(h==="/404.html"||m.some(_=>Vn(h,_)))return!1}return p-u<=e.level}).sort(({title:p,level:h,order:m},{title:_,level:b,order:w})=>{const C=h-b;return C||(Yo(m)?Yo(w)?m>0?w>0?m-w:-1:w<0?m-w:1:m:Yo(w)?w:p.localeCompare(_))}).forEach(p=>{var _;const{base:h,level:m}=p;switch(m-u){case 1:{d.push(p);break}case 2:{const b=d.find(w=>w.path===h);b&&(b.children??(b.children=[])).push(p);break}default:{const b=d.find(w=>w.path===h.replace(/\/[^/]+\/$/,"/"));if(b){const w=(_=b.children)==null?void 0:_.find(C=>C.path===h);w&&(w.children??(w.children=[])).push(p)}}}}),d});return()=>{const c=a.value.some(u=>u.children);return f("div",{class:["vp-catalog-wrapper",{index:e.index}]},[e.hideHeading?null:f("h2",{class:"vp-catalog-main-title"},n.value.title),a.value.length?f(e.index?"ol":"ul",{class:["vp-catalogs",{deep:c}]},a.value.map(({children:u=[],title:d,path:p,content:h})=>{const m=f(Je,{class:"vp-catalog-title",to:p},()=>h?f(h):d);return f("li",{class:"vp-catalog"},c?[f("h3",{id:d,class:["vp-catalog-child-title",{"has-children":u.length}]},[f("a",{href:`#${d}`,class:"vp-catalog-header-anchor","aria-hidden":!0},"#"),m]),u.length?f(e.index?"ol":"ul",{class:"vp-child-catalogs"},u.map(({children:_=[],content:b,path:w,title:C})=>f("li",{class:"vp-child-catalog"},[f("div",{class:["vp-catalog-sub-title",{"has-children":_.length}]},[f("a",{href:`#${C}`,class:"vp-catalog-header-anchor"},"#"),f(Je,{class:"vp-catalog-title",to:w},()=>b?f(b):C)]),_.length?f(e.index?"ol":"div",{class:e.index?"vp-sub-catalogs":"vp-sub-catalogs-wrapper"},_.map(({content:y,path:x,title:P})=>e.index?f("li",{class:"vp-sub-catalog"},f(Je,{to:x},()=>y?f(y):P)):f(Je,{class:"vp-sub-catalog-link",to:x},()=>y?f(y):P))):null]))):null]:f("div",{class:"vp-catalog-child-title"},m))})):f("p",{class:"vp-empty-catalog"},n.value.empty)])}}}),mh=et({enhance:({app:e})=>{ph(e),ft("Catalog",e)||e.component("Catalog",vh)}});var gh={"/en/":{backToTop:"Back to top"},"/":{backToTop:"返回顶部"}};const yh=V({name:"BackToTop",setup(e){const t=Ae(),n=$r(gh),r=Fe(),{height:o}=Z0(r),{height:l}=nh(),{y:s}=th(),i=T(()=>t.value.backToTop!==!1&&s.value>100),a=T(()=>s.value/(o.value-l.value)*100);return Ee(()=>{r.value=document.body}),()=>f(Yt,{name:"back-to-top"},()=>i.value?f("button",{type:"button",class:"vp-back-to-top-button","aria-label":n.value.backToTop,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}},[f("span",{class:"vp-scroll-progress",role:"progressbar","aria-labelledby":"loadinglabel","aria-valuenow":a.value},f("svg",f("circle",{cx:"50%",cy:"50%",style:{"stroke-dasharray":`calc(${Math.PI*a.value}% - ${4*Math.PI}px) calc(${Math.PI*100}% - ${4*Math.PI}px)`}}))),f("div",{class:"back-to-top-icon"})]):null)}}),bh=et({rootComponents:[yh]}),_h=f("svg",{class:"external-link-icon",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15"},[f("path",{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}),f("polygon",{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"})]),Wc=V({name:"ExternalLinkIcon",props:{locales:{type:Object,required:!1,default:()=>({})}},setup(e){const t=Xt(),n=T(()=>e.locales[t.value]??{openInNewWindow:"open in new window"});return()=>f("span",[_h,f("span",{class:"external-link-icon-sr-only"},n.value.openInNewWindow)])}});var wh={};const Eh=wh,kh=et({enhance({app:e}){e.component("ExternalLinkIcon",f(Wc,{locales:Eh}))}});/** * NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress * @license MIT - */const pe={settings:{minimum:.08,easing:"ease",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,barSelector:'[role="bar"]',parent:"body",template:'
'},status:null,set:e=>{const t=pe.isStarted();e=Xo(e,pe.settings.minimum,1),pe.status=e===1?null:e;const n=pe.render(!t),r=n.querySelector(pe.settings.barSelector),o=pe.settings.speed,l=pe.settings.easing;return n.offsetWidth,Ch(s=>{Jr(r,{transform:"translate3d("+Ai(e)+"%,0,0)",transition:"all "+o+"ms "+l}),e===1?(Jr(n,{transition:"none",opacity:"1"}),n.offsetWidth,setTimeout(function(){Jr(n,{transition:"all "+o+"ms linear",opacity:"0"}),setTimeout(function(){pe.remove(),s()},o)},o)):setTimeout(()=>s(),o)}),pe},isStarted:()=>typeof pe.status=="number",start:()=>{pe.status||pe.set(0);const e=()=>{setTimeout(()=>{pe.status&&(pe.trickle(),e())},pe.settings.trickleSpeed)};return pe.settings.trickle&&e(),pe},done:e=>!e&&!pe.status?pe:pe.inc(.3+.5*Math.random()).set(1),inc:e=>{let t=pe.status;return t?(typeof e!="number"&&(e=(1-t)*Xo(Math.random()*t,.1,.95)),t=Xo(t+e,0,.994),pe.set(t)):pe.start()},trickle:()=>pe.inc(Math.random()*pe.settings.trickleRate),render:e=>{if(pe.isRendered())return document.getElementById("nprogress");Ii(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=pe.settings.template;const n=t.querySelector(pe.settings.barSelector),r=e?"-100":Ai(pe.status||0),o=document.querySelector(pe.settings.parent);return Jr(n,{transition:"all 0 linear",transform:"translate3d("+r+"%,0,0)"}),o!==document.body&&Ii(o,"nprogress-custom-parent"),o==null||o.appendChild(t),t},remove:()=>{Oi(document.documentElement,"nprogress-busy"),Oi(document.querySelector(pe.settings.parent),"nprogress-custom-parent");const e=document.getElementById("nprogress");e&&xh(e)},isRendered:()=>!!document.getElementById("nprogress")},Xo=(e,t,n)=>en?n:e,Ai=e=>(-1+e)*100,Ch=function(){const e=[];function t(){const n=e.shift();n&&n(t)}return function(n){e.push(n),e.length===1&&t()}}(),Jr=function(){const e=["Webkit","O","Moz","ms"],t={};function n(s){return s.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(i,a){return a.toUpperCase()})}function r(s){const i=document.body.style;if(s in i)return s;let a=e.length;const c=s.charAt(0).toUpperCase()+s.slice(1);let u;for(;a--;)if(u=e[a]+c,u in i)return u;return s}function o(s){return s=n(s),t[s]??(t[s]=r(s))}function l(s,i,a){i=o(i),s.style[i]=a}return function(s,i){for(const a in i){const c=i[a];c!==void 0&&Object.prototype.hasOwnProperty.call(i,a)&&l(s,a,c)}}}(),Gc=(e,t)=>(typeof e=="string"?e:us(e)).indexOf(" "+t+" ")>=0,Ii=(e,t)=>{const n=us(e),r=n+t;Gc(n,t)||(e.className=r.substring(1))},Oi=(e,t)=>{const n=us(e);if(!Gc(e,t))return;const r=n.replace(" "+t+" "," ");e.className=r.substring(1,r.length-1)},us=e=>(" "+(e.className||"")+" ").replace(/\s+/gi," "),xh=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)},Sh=()=>{Ee(()=>{const e=yn(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||pe.start()}),e.afterEach(n=>{t.add(n.path),pe.done()})})},Th=et({setup(){Sh()}}),Lh=JSON.parse(`{"encrypt":{"config":{"/demo/encrypt.html":["$2a$10$Q.CC2NiOVdPLrMDEKip5sOj.U2YeYA5JXldPU4cw2zGhDNQ0usDpe"]}},"locales":{"/en/":{"lang":"en-US","navbarLocales":{"langName":"English","selectLangAriaLabel":"Select language"},"metaLocales":{"author":"Author","date":"Writing Date","origin":"Original","views":"Page views","category":"Category","tag":"Tag","readingTime":"Reading Time","words":"Words","toc":"On This Page","prev":"Prev","next":"Next","lastUpdated":"Last update","contributors":"Contributors","editLink":"在 GitHub 上编辑","print":"Print"},"outlookLocales":{"themeColor":"Theme Color","darkmode":"Theme Mode","fullscreen":"Full Screen"},"encryptLocales":{"iconLabel":"Page Encrypted","placeholder":"Enter password","remember":"Remember password","errorHint":"Please enter the correct password!"},"routeLocales":{"skipToContent":"Skip to main content","notFoundTitle":"Page not found","notFoundMsg":["There’s nothing here.","How did we get here?","That’s a Four-Oh-Four.","Looks like we've got some broken links."],"back":"Go back","home":"Take me home","openInNewWindow":"Open in new window"},"navbar":["/en/",{"text":"Deploy","link":"/en/deploy/","prefix":"deploy/"},{"text":"Usage","link":"/en/usage/","prefix":"usage/"},{"text":"Extensions","link":"/en/store/","prefix":"store/"},{"text":"Contribute","link":"/en/dev/","prefix":"dev/"}],"sidebar":{"/en/":["",{"text":"Install & Deploy","icon":"laptop-code","prefix":"deploy/","children":"structure"},{"text":"Usage & Features","icon":"book","prefix":"usage/","children":"structure"},{"text":"Resources & Plugins","icon":"store","prefix":"store/","children":"structure"},{"text":"Development & Contribution","icon":"pen-nib","prefix":"dev/","children":"structure"}]},"author":{"name":"SnowyKami","url":"https://sfkm.me"}},"/":{"lang":"zh-CN","navbarLocales":{"langName":"简体中文","selectLangAriaLabel":"选择语言"},"metaLocales":{"author":"作者","date":"写作日期","origin":"原创","views":"访问量","category":"分类","tag":"标签","readingTime":"阅读时间","words":"字数","toc":"此页内容","prev":"上一页","next":"下一页","lastUpdated":"上次编辑于","contributors":"贡献者","editLink":"在 GitHub 上编辑","print":"打印"},"outlookLocales":{"themeColor":"主题色","darkmode":"外观","fullscreen":"全屏"},"encryptLocales":{"iconLabel":"文章已加密","placeholder":"输入密码","remember":"记住密码","errorHint":"请输入正确的密码"},"routeLocales":{"skipToContent":"跳至主要內容","notFoundTitle":"页面不存在","notFoundMsg":["这里什么也没有","我们是怎么来到这儿的?","这 是 四 零 四 !","看起来你访问了一个失效的链接"],"back":"返回上一页","home":"带我回家","openInNewWindow":"Open in new window"},"navbar":["/",{"text":"安装及部署","link":"/deploy/","prefix":"deploy/"},{"text":"使用及功能","link":"/usage/","prefix":"usage/"},{"text":"资源及插件","link":"/store/","prefix":"store/"},{"text":"开发及贡献","link":"/dev/","prefix":"dev/"}],"sidebar":{"/":["",{"text":"安装及部署","icon":"laptop-code","prefix":"deploy/","children":"structure"},{"text":"使用及功能","icon":"book","prefix":"usage/","children":"structure"},{"text":"资源及插件","icon":"store","prefix":"store/","children":"structure"},{"text":"开发及贡献","icon":"pen-nib","prefix":"dev/","children":"structure"}]},"author":{"name":"远野千束","url":"https://sfkm.me"}}},"logo":"https://cdn.liteyuki.icu/static/img/liteyuki_icon_640.png","repo":"https://github.com/LiteyukiStudio/LiteyukiBot","docsDir":"docs","footer":"LiteyukiBot","displayFooter":true}`),Ah=Y(Lh),Kc=()=>Ah,Yc=Symbol(""),Ih=()=>{const e=De(Yc);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},Oh=(e,t)=>{const{locales:n,...r}=e;return{...r,...n==null?void 0:n[t]}},Ph=et({enhance({app:e}){const t=Kc(),n=e._context.provides[rs],r=T(()=>Oh(t.value,n.routeLocale.value));e.provide(Yc,r),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return r.value}}})}});var $h={provider:"Giscus",lightTheme:"https://unpkg.com/vuepress-theme-hope@2.0.0-rc.32/templates/giscus/light.css",darkTheme:"https://unpkg.com/vuepress-theme-hope@2.0.0-rc.32/templates/giscus/dark.css",repo:"snowykami/LiteyukiBot",repoId:"R_kgDOHVNKpQ",category:"Announcements",categoryId:"DIC_kwDOHVNKpc4CeWxj"};const Rh=$h;let Mh=Rh;const Qc=Symbol(""),Jc=()=>De(Qc),Nh=Jc,Dh=e=>{e.provide(Qc,Mh)},Xc=()=>f("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",preserveAspectRatio:"xMidYMid",viewBox:"0 0 100 100"},[f("circle",{cx:"28",cy:"75",r:"11",fill:"currentColor"},f("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),f("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 47a28 28 0 0 1 28 28"},f("animate",{attributeName:"stroke-opacity",begin:"0.1s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),f("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 25a50 50 0 0 1 50 50"},f("animate",{attributeName:"stroke-opacity",begin:"0.2s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"}))]);Xc.displayName="LoadingIcon";const Pi=["ar","ca","da","de","en","eo","es","fa","fr","he","id","it","ja","ko","nl","pl","pt","ro","ru","th","tr","uk","uz","vi","zh-CN","zh-TW"],Fh=V({name:"GiscusComment",props:{identifier:{type:String,required:!0},darkmode:Boolean},setup(e){const t=Nh(),n=os(),r=!!(t.repo&&t.repoId&&t.category&&t.categoryId),{repo:o,repoId:l,category:s,categoryId:i}=t,a=Y(!1),c=T(()=>{if(Pi.includes(n.value))return n.value;const d=n.value.split("-")[0];return Pi.includes(d)?d:"en"}),u=T(()=>({repo:o,repoId:l,category:s,categoryId:i,lang:c.value,theme:e.darkmode?t.darkTheme||"dark":t.lightTheme||"light",mapping:t.mapping||"pathname",term:e.identifier,inputPosition:t.inputPosition||"top",reactionsEnabled:t.reactionsEnabled===!1?"0":"1",strict:t.strict===!1?"0":"1",loading:t.lazyLoading===!1?"eager":"lazy",emitMetadata:"0"}));return Ee(async()=>{await ce(()=>import("./giscus-7BMGhbDA.js"),__vite__mapDeps([])),a.value=!0}),()=>r?f("div",{id:"comment",class:["giscus-wrapper",{"input-top":t.inputPosition!=="bottom"}]},a.value?f("giscus-widget",u.value):f(Xc)):null}}),jh=V({name:"CommentService",props:{darkmode:Boolean},setup(e){const t=Jc(),n=Le(),r=Ae(),o=t.comment!==!1,l=T(()=>r.value.comment||o&&r.value.comment!==!1);return()=>f(Fh,{id:"vp-comment",identifier:r.value.commentID||n.value.path,darkmode:e.darkmode,style:{display:l.value?"block":"none"}})}}),Hh=et({enhance:({app:e})=>{Dh(e),e.component("CommentService",jh)}}),Bh=/\b(?:Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini)/i,Vh=()=>typeof window<"u"&&window.navigator&&"userAgent"in window.navigator&&Bh.test(navigator.userAgent),zh=({delay:e=500,duration:t=2e3,locales:n,selector:r,showInMobile:o})=>{const{copy:l,copied:s}=q0({legacy:!0,copiedDuring:t}),i=$r(n),a=Le(),c=p=>{if(!p.hasAttribute("copy-code-registered")){const h=document.createElement("button");h.type="button",h.classList.add("vp-copy-code-button"),h.innerHTML='
',h.setAttribute("aria-label",i.value.copy),h.setAttribute("data-copied",i.value.copied),p.parentElement&&p.parentElement.insertBefore(h,p),p.setAttribute("copy-code-registered","")}},u=()=>{Qt().then(()=>Ic(e)).then(()=>{r.forEach(p=>{document.querySelectorAll(p).forEach(c)})})},d=(p,h,m)=>{let{innerText:_=""}=h;/language-(shellscript|shell|bash|sh|zsh)/.test(p.classList.toString())&&(_=_.replace(/^ *(\$|>) /gm,"")),l(_).then(()=>{m.classList.add("copied"),ve(s,()=>{m.classList.remove("copied"),m.blur()},{once:!0})})};Ee(()=>{const p=!Vh()||o;p&&u(),Ne("click",h=>{const m=h.target;if(m.matches('div[class*="language-"] > button.copy')){const _=m.parentElement,b=m.nextElementSibling;b&&d(_,b,m)}else if(m.matches('div[class*="language-"] div.vp-copy-icon')){const _=m.parentElement,b=_.parentElement,w=_.nextElementSibling;w&&d(b,w,_)}}),ve(()=>a.value.path,()=>{p&&u()})})};var Uh={"/en/":{copy:"Copy code",copied:"Copied"},"/":{copy:"复制代码",copied:"已复制"}},qh=['.theme-hope-content div[class*="language-"] pre'];const Wh=500,Gh=2e3,Kh=Uh,Yh=qh,Qh=!1,Jh=et({setup:()=>{zh({selector:Yh,locales:Kh,duration:Gh,delay:Wh,showInMobile:Qh})}}),Xr=Gn("VUEPRESS_CODE_TAB_STORE",{});var Xh=V({name:"CodeTabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},id:{type:String,required:!0},tabId:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const n=Y(e.active),r=Fe([]),o=()=>{e.tabId&&(Xr.value[e.tabId]=e.data[n.value].id)},l=(c=n.value)=>{n.value=c{n.value=c>0?c-1:r.value.length-1,r.value[n.value].focus()},i=(c,u)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=u):c.key==="ArrowRight"?(c.preventDefault(),l()):c.key==="ArrowLeft"&&(c.preventDefault(),s()),e.tabId&&(Xr.value[e.tabId]=e.data[n.value].id)},a=()=>{if(e.tabId){const c=e.data.findIndex(({id:u})=>Xr.value[e.tabId]===u);if(c!==-1)return c}return e.active};return Ee(()=>{n.value=a(),ve(()=>Xr.value[e.tabId],(c,u)=>{if(e.tabId&&c!==u){const d=e.data.findIndex(({id:p})=>p===c);d!==-1&&(n.value=d)}})}),()=>e.data.length?f("div",{class:"vp-code-tabs"},[f("div",{class:"vp-code-tabs-nav",role:"tablist"},e.data.map(({id:c},u)=>{const d=u===n.value;return f("button",{type:"button",ref:p=>{p&&(r.value[u]=p)},class:["vp-code-tab-nav",{active:d}],role:"tab","aria-controls":`codetab-${e.id}-${u}`,"aria-selected":d,onClick:()=>{n.value=u,o()},onKeydown:p=>i(p,u)},t[`title${u}`]({value:c,isActive:d}))})),e.data.map(({id:c},u)=>{const d=u===n.value;return f("div",{class:["vp-code-tab",{active:d}],id:`codetab-${e.id}-${u}`,role:"tabpanel","aria-expanded":d},[f("div",{class:"vp-code-tab-title"},t[`title${u}`]({value:c,isActive:d})),t[`tab${u}`]({value:c,isActive:d})])})]):null}});const Zc=({active:e=!1},{slots:t})=>{var n;return f("div",{class:["code-group-item",{active:e}],"aria-selected":e},(n=t.default)==null?void 0:n.call(t))};Zc.displayName="CodeGroupItem";const Zh=V({name:"CodeGroup",slots:Object,setup(e,{slots:t}){const n=Y(-1),r=Fe([]),o=(i=n.value)=>{n.value=i{n.value=i>0?i-1:r.value.length-1,r.value[n.value].focus()},s=(i,a)=>{i.key===" "||i.key==="Enter"?(i.preventDefault(),n.value=a):i.key==="ArrowRight"?(i.preventDefault(),o(a)):i.key==="ArrowLeft"&&(i.preventDefault(),l(a))};return()=>{var a;const i=(((a=t.default)==null?void 0:a.call(t))||[]).filter(c=>c.type.name==="CodeGroupItem").map(c=>(c.props===null&&(c.props={}),c));return i.length===0?null:(n.value<0||n.value>i.length-1?(n.value=i.findIndex(c=>"active"in c.props),n.value===-1&&(n.value=0)):i.forEach((c,u)=>{c.props.active=u===n.value}),f("div",{class:"code-group"},[f("div",{class:"code-group-nav"},i.map((c,u)=>{const d=u===n.value;return f("button",{type:"button",ref:p=>{p&&(r.value[u]=p)},class:["code-group-nav-tab",{active:d}],"aria-pressed":d,"aria-expanded":d,onClick:()=>{n.value=u},onKeydown:p=>s(p,u)},c.props.title)})),i]))}}}),Ie=({name:e="",color:t="currentColor"},{slots:n})=>{var r;return f("svg",{xmlns:"http://www.w3.org/2000/svg",class:["icon",`${e}-icon`],viewBox:"0 0 1024 1024",fill:t,"aria-label":`${e} icon`},(r=n.default)==null?void 0:r.call(n))};Ie.displayName="IconBase";const fs=({size:e=48,stroke:t=4,wrapper:n=!0,height:r=2*e})=>{const o=f("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,preserveAspectRatio:"xMidYMid",viewBox:"25 25 50 50"},[f("animateTransform",{attributeName:"transform",type:"rotate",dur:"2s",keyTimes:"0;1",repeatCount:"indefinite",values:"0;360"}),f("circle",{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":t,"stroke-linecap":"round"},[f("animate",{attributeName:"stroke-dasharray",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"1,200;90,200;1,200"}),f("animate",{attributeName:"stroke-dashoffset",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"0;-35px;-125px"})])]);return n?f("div",{class:"loading-icon-wrapper",style:`display:flex;align-items:center;justify-content:center;height:${r}px`},o):o};fs.displayName="LoadingIcon";const eu=(e,{slots:t})=>{var n;return(n=t.default)==null?void 0:n.call(t)},tu=()=>f(Ie,{name:"github"},()=>f("path",{d:"M511.957 21.333C241.024 21.333 21.333 240.981 21.333 512c0 216.832 140.544 400.725 335.574 465.664 24.49 4.395 32.256-10.07 32.256-23.083 0-11.69.256-44.245 0-85.205-136.448 29.61-164.736-64.64-164.736-64.64-22.315-56.704-54.4-71.765-54.4-71.765-44.587-30.464 3.285-29.824 3.285-29.824 49.195 3.413 75.179 50.517 75.179 50.517 43.776 75.008 114.816 53.333 142.762 40.79 4.523-31.66 17.152-53.377 31.19-65.537-108.971-12.458-223.488-54.485-223.488-242.602 0-53.547 19.114-97.323 50.517-131.67-5.035-12.33-21.93-62.293 4.779-129.834 0 0 41.258-13.184 134.912 50.346a469.803 469.803 0 0 1 122.88-16.554c41.642.213 83.626 5.632 122.88 16.554 93.653-63.488 134.784-50.346 134.784-50.346 26.752 67.541 9.898 117.504 4.864 129.834 31.402 34.347 50.474 78.123 50.474 131.67 0 188.586-114.73 230.016-224.042 242.09 17.578 15.232 33.578 44.672 33.578 90.454v135.85c0 13.142 7.936 27.606 32.854 22.87C862.25 912.597 1002.667 728.747 1002.667 512c0-271.019-219.648-490.667-490.71-490.667z"}));tu.displayName="GitHubIcon";const nu=()=>f(Ie,{name:"gitlab"},()=>f("path",{d:"M229.333 78.688C223.52 62 199.895 62 193.895 78.688L87.958 406.438h247.5c-.188 0-106.125-327.75-106.125-327.75zM33.77 571.438c-4.875 15 .563 31.687 13.313 41.25l464.812 345L87.77 406.438zm301.5-165 176.813 551.25 176.812-551.25zm655.125 165-54-165-424.312 551.25 464.812-345c12.938-9.563 18.188-26.25 13.5-41.25zM830.27 78.688c-5.812-16.688-29.437-16.688-35.437 0l-106.125 327.75h247.5z"}));nu.displayName="GitLabIcon";const ru=()=>f(Ie,{name:"gitee"},()=>f("path",{d:"M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm242.97-533.34H482.39a23.7 23.7 0 0 0-23.7 23.7l-.03 59.28c0 13.08 10.59 23.7 23.7 23.7h165.96a23.7 23.7 0 0 1 23.7 23.7v11.85a71.1 71.1 0 0 1-71.1 71.1H375.71a23.7 23.7 0 0 1-23.7-23.7V423.11a71.1 71.1 0 0 1 71.1-71.1h331.8a23.7 23.7 0 0 0 23.7-23.7l.06-59.25a23.73 23.73 0 0 0-23.7-23.73H423.11a177.78 177.78 0 0 0-177.78 177.75v331.83c0 13.08 10.62 23.7 23.7 23.7h349.62a159.99 159.99 0 0 0 159.99-159.99V482.33a23.7 23.7 0 0 0-23.7-23.7z"}));ru.displayName="GiteeIcon";const ou=()=>f(Ie,{name:"bitbucket"},()=>f("path",{d:"M575.256 490.862c6.29 47.981-52.005 85.723-92.563 61.147-45.714-20.004-45.714-92.562-1.133-113.152 38.29-23.442 93.696 7.424 93.696 52.005zm63.451-11.996c-10.276-81.152-102.29-134.839-177.152-101.156-47.433 21.138-79.433 71.424-77.129 124.562 2.853 69.705 69.157 126.866 138.862 120.576S647.3 548.571 638.708 478.83zm136.558-309.723c-25.161-33.134-67.986-38.839-105.728-45.13-106.862-17.151-216.576-17.7-323.438 1.134-35.438 5.706-75.447 11.996-97.719 43.996 36.572 34.304 88.576 39.424 135.424 45.129 84.553 10.862 171.447 11.447 256 .585 47.433-5.705 99.987-10.276 135.424-45.714zm32.585 591.433c-16.018 55.99-6.839 131.438-66.304 163.986-102.29 56.576-226.304 62.867-338.87 42.862-59.43-10.862-129.135-29.696-161.72-85.723-14.3-54.858-23.442-110.848-32.585-166.84l3.438-9.142 10.276-5.157c170.277 112.567 408.576 112.567 579.438 0 26.844 8.01 6.84 40.558 6.29 60.014zm103.424-549.157c-19.42 125.148-41.728 249.71-63.415 374.272-6.29 36.572-41.728 57.162-71.424 72.558-106.862 53.724-231.424 62.866-348.562 50.286-79.433-8.558-160.585-29.696-225.134-79.433-30.28-23.443-30.28-63.415-35.986-97.134-20.005-117.138-42.862-234.277-57.161-352.585 6.839-51.42 64.585-73.728 107.447-89.71 57.16-21.138 118.272-30.866 178.87-36.571 129.134-12.58 261.157-8.01 386.304 28.562 44.581 13.13 92.563 31.415 122.844 69.705 13.714 17.7 9.143 40.01 6.29 60.014z"}));ou.displayName="BitbucketIcon";const lu=()=>f(Ie,{name:"source"},()=>f("path",{d:"M601.92 475.2c0 76.428-8.91 83.754-28.512 99.594-14.652 11.88-43.956 14.058-78.012 16.434-18.81 1.386-40.392 2.97-62.172 6.534-18.612 2.97-36.432 9.306-53.064 17.424V299.772c37.818-21.978 63.36-62.766 63.36-109.692 0-69.894-56.826-126.72-126.72-126.72S190.08 120.186 190.08 190.08c0 46.926 25.542 87.714 63.36 109.692v414.216c-37.818 21.978-63.36 62.766-63.36 109.692 0 69.894 56.826 126.72 126.72 126.72s126.72-56.826 126.72-126.72c0-31.086-11.286-59.598-29.7-81.576 13.266-9.504 27.522-17.226 39.996-19.206 16.038-2.574 32.868-3.762 50.688-5.148 48.312-3.366 103.158-7.326 148.896-44.55 61.182-49.698 74.25-103.158 75.24-187.902V475.2h-126.72zM316.8 126.72c34.848 0 63.36 28.512 63.36 63.36s-28.512 63.36-63.36 63.36-63.36-28.512-63.36-63.36 28.512-63.36 63.36-63.36zm0 760.32c-34.848 0-63.36-28.512-63.36-63.36s28.512-63.36 63.36-63.36 63.36 28.512 63.36 63.36-28.512 63.36-63.36 63.36zM823.68 158.4h-95.04V63.36h-126.72v95.04h-95.04v126.72h95.04v95.04h126.72v-95.04h95.04z"}));lu.displayName="SourceIcon";const su=(e,t)=>{let n=1;for(let r=0;r>6;return n+=n<<3,n^=n>>11,n%t},iu=/#.*$/u,e2=e=>{const t=iu.exec(e);return t?t[0]:""},$i=e=>decodeURI(e).replace(iu,"").replace(/\/index\.html$/iu,"/").replace(/\.html$/iu,"").replace(/(README|index)?\.md$/iu,""),au=(e,t)=>{if(!Oc(t))return!1;const n=$i(e.path),r=$i(t),o=e2(t);return o?o===e.hash&&(!r||n===r):n===r},t2=e=>gn(e)?e:`https://github.com/${e}`,cu=e=>!gn(e)||/github\.com/.test(e)?"GitHub":/bitbucket\.org/.test(e)?"Bitbucket":/gitlab\.com/.test(e)?"GitLab":/gitee\.com/.test(e)?"Gitee":null;var n2=e=>Object.prototype.toString.call(e)==="[object Object]",br=e=>typeof e=="string";const uu=Array.isArray,Ri=e=>n2(e)&&br(e.name),Mi=(e,t=!1)=>e?uu(e)?e.map(n=>br(n)?{name:n}:Ri(n)?n:null).filter(n=>n!==null):br(e)?[{name:e}]:Ri(e)?[e]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${t?"":"| false"} | undefined\`, but got`,e),[]):[],fu=(e,t)=>{if(e){if(uu(e)&&e.every(br))return e;if(br(e))return[e];console.error(`Expect ${t||"value"} to be \`string[] | string | undefined\`, but got`,e)}return[]},r2=e=>fu(e,"category"),o2=e=>fu(e,"tag"),l2='',s2='';var i2={useBabel:!1,jsLib:[],cssLib:[],codepenLayout:"left",codepenEditors:"101",babel:"https://unpkg.com/@babel/standalone/babel.min.js",vue:"https://unpkg.com/vue/dist/vue.global.prod.js",react:"https://unpkg.com/react/umd/react.production.min.js",reactDOM:"https://unpkg.com/react-dom/umd/react-dom.production.min.js"};const Zo=i2,Ni={html:{types:["html","slim","haml","md","markdown","vue"],map:{html:"none",vue:"none",md:"markdown"}},js:{types:["js","javascript","coffee","coffeescript","ts","typescript","ls","livescript"],map:{js:"none",javascript:"none",coffee:"coffeescript",ls:"livescript",ts:"typescript"}},css:{types:["css","less","sass","scss","stylus","styl"],map:{css:"none",styl:"stylus"}}},a2=(e,t,n)=>{const r=document.createElement(e);return qn(t)&&Zt(t).forEach(o=>{if(o.indexOf("data"))r[o]=t[o];else{const l=o.replace("data","");r.dataset[l]=t[o]}}),n&&n.forEach(o=>{r.appendChild(o)}),r},ds=e=>({...Zo,...e,jsLib:Array.from(new Set([...Zo.jsLib||[],...e.jsLib||[]])),cssLib:Array.from(new Set([...Zo.cssLib||[],...e.cssLib||[]]))}),$n=(e,t)=>{if(Oc(e[t]))return e[t];const n=new Promise(r=>{var l;const o=document.createElement("script");o.src=t,(l=document.querySelector("body"))==null||l.appendChild(o),o.onload=()=>{r()}});return e[t]=n,n},c2=(e,t)=>{if(t.css&&Array.from(e.childNodes).every(n=>n.nodeName!=="STYLE")){const n=a2("style",{innerHTML:t.css});e.appendChild(n)}},u2=(e,t,n)=>{const r=n.getScript();if(r&&Array.from(t.childNodes).every(o=>o.nodeName!=="SCRIPT")){const o=document.createElement("script");o.appendChild(document.createTextNode(`{const document=window.document.querySelector('#${e} .vp-code-demo-display').shadowRoot; + */const pe={settings:{minimum:.08,easing:"ease",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,barSelector:'[role="bar"]',parent:"body",template:'
'},status:null,set:e=>{const t=pe.isStarted();e=Xo(e,pe.settings.minimum,1),pe.status=e===1?null:e;const n=pe.render(!t),r=n.querySelector(pe.settings.barSelector),o=pe.settings.speed,l=pe.settings.easing;return n.offsetWidth,Ch(s=>{Jr(r,{transform:"translate3d("+Ai(e)+"%,0,0)",transition:"all "+o+"ms "+l}),e===1?(Jr(n,{transition:"none",opacity:"1"}),n.offsetWidth,setTimeout(function(){Jr(n,{transition:"all "+o+"ms linear",opacity:"0"}),setTimeout(function(){pe.remove(),s()},o)},o)):setTimeout(()=>s(),o)}),pe},isStarted:()=>typeof pe.status=="number",start:()=>{pe.status||pe.set(0);const e=()=>{setTimeout(()=>{pe.status&&(pe.trickle(),e())},pe.settings.trickleSpeed)};return pe.settings.trickle&&e(),pe},done:e=>!e&&!pe.status?pe:pe.inc(.3+.5*Math.random()).set(1),inc:e=>{let t=pe.status;return t?(typeof e!="number"&&(e=(1-t)*Xo(Math.random()*t,.1,.95)),t=Xo(t+e,0,.994),pe.set(t)):pe.start()},trickle:()=>pe.inc(Math.random()*pe.settings.trickleRate),render:e=>{if(pe.isRendered())return document.getElementById("nprogress");Ii(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=pe.settings.template;const n=t.querySelector(pe.settings.barSelector),r=e?"-100":Ai(pe.status||0),o=document.querySelector(pe.settings.parent);return Jr(n,{transition:"all 0 linear",transform:"translate3d("+r+"%,0,0)"}),o!==document.body&&Ii(o,"nprogress-custom-parent"),o==null||o.appendChild(t),t},remove:()=>{Oi(document.documentElement,"nprogress-busy"),Oi(document.querySelector(pe.settings.parent),"nprogress-custom-parent");const e=document.getElementById("nprogress");e&&xh(e)},isRendered:()=>!!document.getElementById("nprogress")},Xo=(e,t,n)=>en?n:e,Ai=e=>(-1+e)*100,Ch=function(){const e=[];function t(){const n=e.shift();n&&n(t)}return function(n){e.push(n),e.length===1&&t()}}(),Jr=function(){const e=["Webkit","O","Moz","ms"],t={};function n(s){return s.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(i,a){return a.toUpperCase()})}function r(s){const i=document.body.style;if(s in i)return s;let a=e.length;const c=s.charAt(0).toUpperCase()+s.slice(1);let u;for(;a--;)if(u=e[a]+c,u in i)return u;return s}function o(s){return s=n(s),t[s]??(t[s]=r(s))}function l(s,i,a){i=o(i),s.style[i]=a}return function(s,i){for(const a in i){const c=i[a];c!==void 0&&Object.prototype.hasOwnProperty.call(i,a)&&l(s,a,c)}}}(),Gc=(e,t)=>(typeof e=="string"?e:us(e)).indexOf(" "+t+" ")>=0,Ii=(e,t)=>{const n=us(e),r=n+t;Gc(n,t)||(e.className=r.substring(1))},Oi=(e,t)=>{const n=us(e);if(!Gc(e,t))return;const r=n.replace(" "+t+" "," ");e.className=r.substring(1,r.length-1)},us=e=>(" "+(e.className||"")+" ").replace(/\s+/gi," "),xh=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)},Sh=()=>{Ee(()=>{const e=yn(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||pe.start()}),e.afterEach(n=>{t.add(n.path),pe.done()})})},Th=et({setup(){Sh()}}),Lh=JSON.parse(`{"encrypt":{"config":{"/demo/encrypt.html":["$2a$10$tBpUx9N2KnER1k6y8Rw3jeBEaTEuiHAHUvfqk37GOt5XGKPKqB5vS"]}},"locales":{"/en/":{"lang":"en-US","navbarLocales":{"langName":"English","selectLangAriaLabel":"Select language"},"metaLocales":{"author":"Author","date":"Writing Date","origin":"Original","views":"Page views","category":"Category","tag":"Tag","readingTime":"Reading Time","words":"Words","toc":"On This Page","prev":"Prev","next":"Next","lastUpdated":"Last update","contributors":"Contributors","editLink":"在 GitHub 上编辑","print":"Print"},"outlookLocales":{"themeColor":"Theme Color","darkmode":"Theme Mode","fullscreen":"Full Screen"},"encryptLocales":{"iconLabel":"Page Encrypted","placeholder":"Enter password","remember":"Remember password","errorHint":"Please enter the correct password!"},"routeLocales":{"skipToContent":"Skip to main content","notFoundTitle":"Page not found","notFoundMsg":["There’s nothing here.","How did we get here?","That’s a Four-Oh-Four.","Looks like we've got some broken links."],"back":"Go back","home":"Take me home","openInNewWindow":"Open in new window"},"navbar":["/en/",{"text":"Deploy","link":"/en/deploy/","prefix":"deploy/"},{"text":"Usage","link":"/en/usage/","prefix":"usage/"},{"text":"Extensions","link":"/en/store/","prefix":"store/"},{"text":"Contribute","link":"/en/dev/","prefix":"dev/"}],"sidebar":{"/en/":["",{"text":"Install & Deploy","icon":"laptop-code","prefix":"deploy/","children":"structure"},{"text":"Usage & Features","icon":"book","prefix":"usage/","children":"structure"},{"text":"Resources & Plugins","icon":"store","prefix":"store/","children":"structure"},{"text":"Development & Contribution","icon":"pen-nib","prefix":"dev/","children":"structure"}]},"author":{"name":"SnowyKami","url":"https://sfkm.me"}},"/":{"lang":"zh-CN","navbarLocales":{"langName":"简体中文","selectLangAriaLabel":"选择语言"},"metaLocales":{"author":"作者","date":"写作日期","origin":"原创","views":"访问量","category":"分类","tag":"标签","readingTime":"阅读时间","words":"字数","toc":"此页内容","prev":"上一页","next":"下一页","lastUpdated":"上次编辑于","contributors":"贡献者","editLink":"在 GitHub 上编辑","print":"打印"},"outlookLocales":{"themeColor":"主题色","darkmode":"外观","fullscreen":"全屏"},"encryptLocales":{"iconLabel":"文章已加密","placeholder":"输入密码","remember":"记住密码","errorHint":"请输入正确的密码"},"routeLocales":{"skipToContent":"跳至主要內容","notFoundTitle":"页面不存在","notFoundMsg":["这里什么也没有","我们是怎么来到这儿的?","这 是 四 零 四 !","看起来你访问了一个失效的链接"],"back":"返回上一页","home":"带我回家","openInNewWindow":"Open in new window"},"navbar":["/",{"text":"安装及部署","link":"/deploy/","prefix":"deploy/"},{"text":"使用及功能","link":"/usage/","prefix":"usage/"},{"text":"资源及插件","link":"/store/","prefix":"store/"},{"text":"开发及贡献","link":"/dev/","prefix":"dev/"}],"sidebar":{"/":["",{"text":"安装及部署","icon":"laptop-code","prefix":"deploy/","children":"structure"},{"text":"使用及功能","icon":"book","prefix":"usage/","children":"structure"},{"text":"资源及插件","icon":"store","prefix":"store/","children":"structure"},{"text":"开发及贡献","icon":"pen-nib","prefix":"dev/","children":"structure"}]},"author":{"name":"远野千束","url":"https://sfkm.me"}}},"logo":"https://cdn.liteyuki.icu/static/img/liteyuki_icon_640.png","repo":"https://github.com/LiteyukiStudio/LiteyukiBot","docsDir":"docs","footer":"LiteyukiBot","displayFooter":true}`),Ah=Y(Lh),Kc=()=>Ah,Yc=Symbol(""),Ih=()=>{const e=De(Yc);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},Oh=(e,t)=>{const{locales:n,...r}=e;return{...r,...n==null?void 0:n[t]}},Ph=et({enhance({app:e}){const t=Kc(),n=e._context.provides[rs],r=T(()=>Oh(t.value,n.routeLocale.value));e.provide(Yc,r),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return r.value}}})}});var $h={provider:"Giscus",lightTheme:"https://unpkg.com/vuepress-theme-hope@2.0.0-rc.32/templates/giscus/light.css",darkTheme:"https://unpkg.com/vuepress-theme-hope@2.0.0-rc.32/templates/giscus/dark.css",repo:"snowykami/LiteyukiBot",repoId:"R_kgDOHVNKpQ",category:"Announcements",categoryId:"DIC_kwDOHVNKpc4CeWxj"};const Rh=$h;let Mh=Rh;const Qc=Symbol(""),Jc=()=>De(Qc),Nh=Jc,Dh=e=>{e.provide(Qc,Mh)},Xc=()=>f("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",preserveAspectRatio:"xMidYMid",viewBox:"0 0 100 100"},[f("circle",{cx:"28",cy:"75",r:"11",fill:"currentColor"},f("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),f("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 47a28 28 0 0 1 28 28"},f("animate",{attributeName:"stroke-opacity",begin:"0.1s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),f("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 25a50 50 0 0 1 50 50"},f("animate",{attributeName:"stroke-opacity",begin:"0.2s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"}))]);Xc.displayName="LoadingIcon";const Pi=["ar","ca","da","de","en","eo","es","fa","fr","he","id","it","ja","ko","nl","pl","pt","ro","ru","th","tr","uk","uz","vi","zh-CN","zh-TW"],Fh=V({name:"GiscusComment",props:{identifier:{type:String,required:!0},darkmode:Boolean},setup(e){const t=Nh(),n=os(),r=!!(t.repo&&t.repoId&&t.category&&t.categoryId),{repo:o,repoId:l,category:s,categoryId:i}=t,a=Y(!1),c=T(()=>{if(Pi.includes(n.value))return n.value;const d=n.value.split("-")[0];return Pi.includes(d)?d:"en"}),u=T(()=>({repo:o,repoId:l,category:s,categoryId:i,lang:c.value,theme:e.darkmode?t.darkTheme||"dark":t.lightTheme||"light",mapping:t.mapping||"pathname",term:e.identifier,inputPosition:t.inputPosition||"top",reactionsEnabled:t.reactionsEnabled===!1?"0":"1",strict:t.strict===!1?"0":"1",loading:t.lazyLoading===!1?"eager":"lazy",emitMetadata:"0"}));return Ee(async()=>{await ce(()=>import("./giscus-7BMGhbDA.js"),__vite__mapDeps([])),a.value=!0}),()=>r?f("div",{id:"comment",class:["giscus-wrapper",{"input-top":t.inputPosition!=="bottom"}]},a.value?f("giscus-widget",u.value):f(Xc)):null}}),jh=V({name:"CommentService",props:{darkmode:Boolean},setup(e){const t=Jc(),n=Le(),r=Ae(),o=t.comment!==!1,l=T(()=>r.value.comment||o&&r.value.comment!==!1);return()=>f(Fh,{id:"vp-comment",identifier:r.value.commentID||n.value.path,darkmode:e.darkmode,style:{display:l.value?"block":"none"}})}}),Bh=et({enhance:({app:e})=>{Dh(e),e.component("CommentService",jh)}}),Hh=/\b(?:Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini)/i,Vh=()=>typeof window<"u"&&window.navigator&&"userAgent"in window.navigator&&Hh.test(navigator.userAgent),zh=({delay:e=500,duration:t=2e3,locales:n,selector:r,showInMobile:o})=>{const{copy:l,copied:s}=q0({legacy:!0,copiedDuring:t}),i=$r(n),a=Le(),c=p=>{if(!p.hasAttribute("copy-code-registered")){const h=document.createElement("button");h.type="button",h.classList.add("vp-copy-code-button"),h.innerHTML='
',h.setAttribute("aria-label",i.value.copy),h.setAttribute("data-copied",i.value.copied),p.parentElement&&p.parentElement.insertBefore(h,p),p.setAttribute("copy-code-registered","")}},u=()=>{Qt().then(()=>Ic(e)).then(()=>{r.forEach(p=>{document.querySelectorAll(p).forEach(c)})})},d=(p,h,m)=>{let{innerText:_=""}=h;/language-(shellscript|shell|bash|sh|zsh)/.test(p.classList.toString())&&(_=_.replace(/^ *(\$|>) /gm,"")),l(_).then(()=>{m.classList.add("copied"),ve(s,()=>{m.classList.remove("copied"),m.blur()},{once:!0})})};Ee(()=>{const p=!Vh()||o;p&&u(),Ne("click",h=>{const m=h.target;if(m.matches('div[class*="language-"] > button.copy')){const _=m.parentElement,b=m.nextElementSibling;b&&d(_,b,m)}else if(m.matches('div[class*="language-"] div.vp-copy-icon')){const _=m.parentElement,b=_.parentElement,w=_.nextElementSibling;w&&d(b,w,_)}}),ve(()=>a.value.path,()=>{p&&u()})})};var Uh={"/en/":{copy:"Copy code",copied:"Copied"},"/":{copy:"复制代码",copied:"已复制"}},qh=['.theme-hope-content div[class*="language-"] pre'];const Wh=500,Gh=2e3,Kh=Uh,Yh=qh,Qh=!1,Jh=et({setup:()=>{zh({selector:Yh,locales:Kh,duration:Gh,delay:Wh,showInMobile:Qh})}}),Xr=Gn("VUEPRESS_CODE_TAB_STORE",{});var Xh=V({name:"CodeTabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},id:{type:String,required:!0},tabId:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const n=Y(e.active),r=Fe([]),o=()=>{e.tabId&&(Xr.value[e.tabId]=e.data[n.value].id)},l=(c=n.value)=>{n.value=c{n.value=c>0?c-1:r.value.length-1,r.value[n.value].focus()},i=(c,u)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=u):c.key==="ArrowRight"?(c.preventDefault(),l()):c.key==="ArrowLeft"&&(c.preventDefault(),s()),e.tabId&&(Xr.value[e.tabId]=e.data[n.value].id)},a=()=>{if(e.tabId){const c=e.data.findIndex(({id:u})=>Xr.value[e.tabId]===u);if(c!==-1)return c}return e.active};return Ee(()=>{n.value=a(),ve(()=>Xr.value[e.tabId],(c,u)=>{if(e.tabId&&c!==u){const d=e.data.findIndex(({id:p})=>p===c);d!==-1&&(n.value=d)}})}),()=>e.data.length?f("div",{class:"vp-code-tabs"},[f("div",{class:"vp-code-tabs-nav",role:"tablist"},e.data.map(({id:c},u)=>{const d=u===n.value;return f("button",{type:"button",ref:p=>{p&&(r.value[u]=p)},class:["vp-code-tab-nav",{active:d}],role:"tab","aria-controls":`codetab-${e.id}-${u}`,"aria-selected":d,onClick:()=>{n.value=u,o()},onKeydown:p=>i(p,u)},t[`title${u}`]({value:c,isActive:d}))})),e.data.map(({id:c},u)=>{const d=u===n.value;return f("div",{class:["vp-code-tab",{active:d}],id:`codetab-${e.id}-${u}`,role:"tabpanel","aria-expanded":d},[f("div",{class:"vp-code-tab-title"},t[`title${u}`]({value:c,isActive:d})),t[`tab${u}`]({value:c,isActive:d})])})]):null}});const Zc=({active:e=!1},{slots:t})=>{var n;return f("div",{class:["code-group-item",{active:e}],"aria-selected":e},(n=t.default)==null?void 0:n.call(t))};Zc.displayName="CodeGroupItem";const Zh=V({name:"CodeGroup",slots:Object,setup(e,{slots:t}){const n=Y(-1),r=Fe([]),o=(i=n.value)=>{n.value=i{n.value=i>0?i-1:r.value.length-1,r.value[n.value].focus()},s=(i,a)=>{i.key===" "||i.key==="Enter"?(i.preventDefault(),n.value=a):i.key==="ArrowRight"?(i.preventDefault(),o(a)):i.key==="ArrowLeft"&&(i.preventDefault(),l(a))};return()=>{var a;const i=(((a=t.default)==null?void 0:a.call(t))||[]).filter(c=>c.type.name==="CodeGroupItem").map(c=>(c.props===null&&(c.props={}),c));return i.length===0?null:(n.value<0||n.value>i.length-1?(n.value=i.findIndex(c=>"active"in c.props),n.value===-1&&(n.value=0)):i.forEach((c,u)=>{c.props.active=u===n.value}),f("div",{class:"code-group"},[f("div",{class:"code-group-nav"},i.map((c,u)=>{const d=u===n.value;return f("button",{type:"button",ref:p=>{p&&(r.value[u]=p)},class:["code-group-nav-tab",{active:d}],"aria-pressed":d,"aria-expanded":d,onClick:()=>{n.value=u},onKeydown:p=>s(p,u)},c.props.title)})),i]))}}}),Ie=({name:e="",color:t="currentColor"},{slots:n})=>{var r;return f("svg",{xmlns:"http://www.w3.org/2000/svg",class:["icon",`${e}-icon`],viewBox:"0 0 1024 1024",fill:t,"aria-label":`${e} icon`},(r=n.default)==null?void 0:r.call(n))};Ie.displayName="IconBase";const fs=({size:e=48,stroke:t=4,wrapper:n=!0,height:r=2*e})=>{const o=f("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,preserveAspectRatio:"xMidYMid",viewBox:"25 25 50 50"},[f("animateTransform",{attributeName:"transform",type:"rotate",dur:"2s",keyTimes:"0;1",repeatCount:"indefinite",values:"0;360"}),f("circle",{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":t,"stroke-linecap":"round"},[f("animate",{attributeName:"stroke-dasharray",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"1,200;90,200;1,200"}),f("animate",{attributeName:"stroke-dashoffset",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"0;-35px;-125px"})])]);return n?f("div",{class:"loading-icon-wrapper",style:`display:flex;align-items:center;justify-content:center;height:${r}px`},o):o};fs.displayName="LoadingIcon";const eu=(e,{slots:t})=>{var n;return(n=t.default)==null?void 0:n.call(t)},tu=()=>f(Ie,{name:"github"},()=>f("path",{d:"M511.957 21.333C241.024 21.333 21.333 240.981 21.333 512c0 216.832 140.544 400.725 335.574 465.664 24.49 4.395 32.256-10.07 32.256-23.083 0-11.69.256-44.245 0-85.205-136.448 29.61-164.736-64.64-164.736-64.64-22.315-56.704-54.4-71.765-54.4-71.765-44.587-30.464 3.285-29.824 3.285-29.824 49.195 3.413 75.179 50.517 75.179 50.517 43.776 75.008 114.816 53.333 142.762 40.79 4.523-31.66 17.152-53.377 31.19-65.537-108.971-12.458-223.488-54.485-223.488-242.602 0-53.547 19.114-97.323 50.517-131.67-5.035-12.33-21.93-62.293 4.779-129.834 0 0 41.258-13.184 134.912 50.346a469.803 469.803 0 0 1 122.88-16.554c41.642.213 83.626 5.632 122.88 16.554 93.653-63.488 134.784-50.346 134.784-50.346 26.752 67.541 9.898 117.504 4.864 129.834 31.402 34.347 50.474 78.123 50.474 131.67 0 188.586-114.73 230.016-224.042 242.09 17.578 15.232 33.578 44.672 33.578 90.454v135.85c0 13.142 7.936 27.606 32.854 22.87C862.25 912.597 1002.667 728.747 1002.667 512c0-271.019-219.648-490.667-490.71-490.667z"}));tu.displayName="GitHubIcon";const nu=()=>f(Ie,{name:"gitlab"},()=>f("path",{d:"M229.333 78.688C223.52 62 199.895 62 193.895 78.688L87.958 406.438h247.5c-.188 0-106.125-327.75-106.125-327.75zM33.77 571.438c-4.875 15 .563 31.687 13.313 41.25l464.812 345L87.77 406.438zm301.5-165 176.813 551.25 176.812-551.25zm655.125 165-54-165-424.312 551.25 464.812-345c12.938-9.563 18.188-26.25 13.5-41.25zM830.27 78.688c-5.812-16.688-29.437-16.688-35.437 0l-106.125 327.75h247.5z"}));nu.displayName="GitLabIcon";const ru=()=>f(Ie,{name:"gitee"},()=>f("path",{d:"M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm242.97-533.34H482.39a23.7 23.7 0 0 0-23.7 23.7l-.03 59.28c0 13.08 10.59 23.7 23.7 23.7h165.96a23.7 23.7 0 0 1 23.7 23.7v11.85a71.1 71.1 0 0 1-71.1 71.1H375.71a23.7 23.7 0 0 1-23.7-23.7V423.11a71.1 71.1 0 0 1 71.1-71.1h331.8a23.7 23.7 0 0 0 23.7-23.7l.06-59.25a23.73 23.73 0 0 0-23.7-23.73H423.11a177.78 177.78 0 0 0-177.78 177.75v331.83c0 13.08 10.62 23.7 23.7 23.7h349.62a159.99 159.99 0 0 0 159.99-159.99V482.33a23.7 23.7 0 0 0-23.7-23.7z"}));ru.displayName="GiteeIcon";const ou=()=>f(Ie,{name:"bitbucket"},()=>f("path",{d:"M575.256 490.862c6.29 47.981-52.005 85.723-92.563 61.147-45.714-20.004-45.714-92.562-1.133-113.152 38.29-23.442 93.696 7.424 93.696 52.005zm63.451-11.996c-10.276-81.152-102.29-134.839-177.152-101.156-47.433 21.138-79.433 71.424-77.129 124.562 2.853 69.705 69.157 126.866 138.862 120.576S647.3 548.571 638.708 478.83zm136.558-309.723c-25.161-33.134-67.986-38.839-105.728-45.13-106.862-17.151-216.576-17.7-323.438 1.134-35.438 5.706-75.447 11.996-97.719 43.996 36.572 34.304 88.576 39.424 135.424 45.129 84.553 10.862 171.447 11.447 256 .585 47.433-5.705 99.987-10.276 135.424-45.714zm32.585 591.433c-16.018 55.99-6.839 131.438-66.304 163.986-102.29 56.576-226.304 62.867-338.87 42.862-59.43-10.862-129.135-29.696-161.72-85.723-14.3-54.858-23.442-110.848-32.585-166.84l3.438-9.142 10.276-5.157c170.277 112.567 408.576 112.567 579.438 0 26.844 8.01 6.84 40.558 6.29 60.014zm103.424-549.157c-19.42 125.148-41.728 249.71-63.415 374.272-6.29 36.572-41.728 57.162-71.424 72.558-106.862 53.724-231.424 62.866-348.562 50.286-79.433-8.558-160.585-29.696-225.134-79.433-30.28-23.443-30.28-63.415-35.986-97.134-20.005-117.138-42.862-234.277-57.161-352.585 6.839-51.42 64.585-73.728 107.447-89.71 57.16-21.138 118.272-30.866 178.87-36.571 129.134-12.58 261.157-8.01 386.304 28.562 44.581 13.13 92.563 31.415 122.844 69.705 13.714 17.7 9.143 40.01 6.29 60.014z"}));ou.displayName="BitbucketIcon";const lu=()=>f(Ie,{name:"source"},()=>f("path",{d:"M601.92 475.2c0 76.428-8.91 83.754-28.512 99.594-14.652 11.88-43.956 14.058-78.012 16.434-18.81 1.386-40.392 2.97-62.172 6.534-18.612 2.97-36.432 9.306-53.064 17.424V299.772c37.818-21.978 63.36-62.766 63.36-109.692 0-69.894-56.826-126.72-126.72-126.72S190.08 120.186 190.08 190.08c0 46.926 25.542 87.714 63.36 109.692v414.216c-37.818 21.978-63.36 62.766-63.36 109.692 0 69.894 56.826 126.72 126.72 126.72s126.72-56.826 126.72-126.72c0-31.086-11.286-59.598-29.7-81.576 13.266-9.504 27.522-17.226 39.996-19.206 16.038-2.574 32.868-3.762 50.688-5.148 48.312-3.366 103.158-7.326 148.896-44.55 61.182-49.698 74.25-103.158 75.24-187.902V475.2h-126.72zM316.8 126.72c34.848 0 63.36 28.512 63.36 63.36s-28.512 63.36-63.36 63.36-63.36-28.512-63.36-63.36 28.512-63.36 63.36-63.36zm0 760.32c-34.848 0-63.36-28.512-63.36-63.36s28.512-63.36 63.36-63.36 63.36 28.512 63.36 63.36-28.512 63.36-63.36 63.36zM823.68 158.4h-95.04V63.36h-126.72v95.04h-95.04v126.72h95.04v95.04h126.72v-95.04h95.04z"}));lu.displayName="SourceIcon";const su=(e,t)=>{let n=1;for(let r=0;r>6;return n+=n<<3,n^=n>>11,n%t},iu=/#.*$/u,e2=e=>{const t=iu.exec(e);return t?t[0]:""},$i=e=>decodeURI(e).replace(iu,"").replace(/\/index\.html$/iu,"/").replace(/\.html$/iu,"").replace(/(README|index)?\.md$/iu,""),au=(e,t)=>{if(!Oc(t))return!1;const n=$i(e.path),r=$i(t),o=e2(t);return o?o===e.hash&&(!r||n===r):n===r},t2=e=>gn(e)?e:`https://github.com/${e}`,cu=e=>!gn(e)||/github\.com/.test(e)?"GitHub":/bitbucket\.org/.test(e)?"Bitbucket":/gitlab\.com/.test(e)?"GitLab":/gitee\.com/.test(e)?"Gitee":null;var n2=e=>Object.prototype.toString.call(e)==="[object Object]",br=e=>typeof e=="string";const uu=Array.isArray,Ri=e=>n2(e)&&br(e.name),Mi=(e,t=!1)=>e?uu(e)?e.map(n=>br(n)?{name:n}:Ri(n)?n:null).filter(n=>n!==null):br(e)?[{name:e}]:Ri(e)?[e]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${t?"":"| false"} | undefined\`, but got`,e),[]):[],fu=(e,t)=>{if(e){if(uu(e)&&e.every(br))return e;if(br(e))return[e];console.error(`Expect ${t||"value"} to be \`string[] | string | undefined\`, but got`,e)}return[]},r2=e=>fu(e,"category"),o2=e=>fu(e,"tag"),l2='',s2='';var i2={useBabel:!1,jsLib:[],cssLib:[],codepenLayout:"left",codepenEditors:"101",babel:"https://unpkg.com/@babel/standalone/babel.min.js",vue:"https://unpkg.com/vue/dist/vue.global.prod.js",react:"https://unpkg.com/react/umd/react.production.min.js",reactDOM:"https://unpkg.com/react-dom/umd/react-dom.production.min.js"};const Zo=i2,Ni={html:{types:["html","slim","haml","md","markdown","vue"],map:{html:"none",vue:"none",md:"markdown"}},js:{types:["js","javascript","coffee","coffeescript","ts","typescript","ls","livescript"],map:{js:"none",javascript:"none",coffee:"coffeescript",ls:"livescript",ts:"typescript"}},css:{types:["css","less","sass","scss","stylus","styl"],map:{css:"none",styl:"stylus"}}},a2=(e,t,n)=>{const r=document.createElement(e);return qn(t)&&Zt(t).forEach(o=>{if(o.indexOf("data"))r[o]=t[o];else{const l=o.replace("data","");r.dataset[l]=t[o]}}),n&&n.forEach(o=>{r.appendChild(o)}),r},ds=e=>({...Zo,...e,jsLib:Array.from(new Set([...Zo.jsLib||[],...e.jsLib||[]])),cssLib:Array.from(new Set([...Zo.cssLib||[],...e.cssLib||[]]))}),$n=(e,t)=>{if(Oc(e[t]))return e[t];const n=new Promise(r=>{var l;const o=document.createElement("script");o.src=t,(l=document.querySelector("body"))==null||l.appendChild(o),o.onload=()=>{r()}});return e[t]=n,n},c2=(e,t)=>{if(t.css&&Array.from(e.childNodes).every(n=>n.nodeName!=="STYLE")){const n=a2("style",{innerHTML:t.css});e.appendChild(n)}},u2=(e,t,n)=>{const r=n.getScript();if(r&&Array.from(t.childNodes).every(o=>o.nodeName!=="SCRIPT")){const o=document.createElement("script");o.appendChild(document.createTextNode(`{const document=window.document.querySelector('#${e} .vp-code-demo-display').shadowRoot; ${r}}`)),t.appendChild(o)}},f2=e=>{const t=Zt(e),n={html:[],js:[],css:[],isLegal:!1};return["html","js","css"].forEach(r=>{const o=t.filter(l=>Ni[r].types.includes(l));if(o.length){const l=o[0];n[r]=[e[l].replace(/^\n|\n$/g,""),Ni[r].map[l]||l]}}),n.isLegal=(!n.html.length||n.html[1]==="none")&&(!n.js.length||n.js[1]==="none")&&(!n.css.length||n.css[1]==="none"),n},du=e=>e.replace(/
/g,"
").replace(/<((\S+)[^<]*?)\s+\/>/g,"<$1>"),pu=e=>`
${du(e)}
`,d2=e=>`${e.replace("export default ","const $reactApp = ").replace(/App\.__style__(\s*)=(\s*)`([\s\S]*)?`/,"")}; @@ -37,9 +37,9 @@ ${e} __echarts_config__={width,height,option}; } return __echarts_config__; -`)(n):Promise.resolve({option:JSON.parse(e)});var I2=V({name:"ECharts",props:{config:{type:String,required:!0},id:{type:String,required:!0},title:{type:String,default:""},type:{type:String,default:"json"}},setup(e){const t=S2(),n=Y(!0),r=Fe();let o;return Ne("resize",Mc(()=>o==null?void 0:o.resize(),100)),Ee(()=>{Promise.all([ce(()=>import("./index-Cw_AvLww.js"),__vite__mapDeps([])),new Promise(l=>setTimeout(l,800))]).then(async([l])=>{var a;await((a=t.setup)==null?void 0:a.call(t)),o=l.init(r.value);const{option:s,...i}=await A2(El(e.config),e.type,o);o.resize(i),o.setOption({...t.option,...s}),n.value=!1})}),mn(()=>{o==null||o.dispose()}),()=>[e.title?f("div",{class:"echarts-title"},decodeURIComponent(e.title)):null,f("div",{class:"echarts-wrapper"},[f("div",{ref:r,class:"echarts-container",id:e.id}),n.value?f(fs,{class:"echarts-loading",height:360}):null])]}});const O2=()=>{Ne("beforeprint",()=>{document.querySelectorAll("details").forEach(e=>{e.open=!0})})},el=Gn("VUEPRESS_TAB_STORE",{});var P2=V({name:"Tabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},id:{type:String,required:!0},tabId:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const n=Y(e.active),r=Fe([]),o=()=>{e.tabId&&(el.value[e.tabId]=e.data[n.value].id)},l=(c=n.value)=>{n.value=c{n.value=c>0?c-1:r.value.length-1,r.value[n.value].focus()},i=(c,u)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=u):c.key==="ArrowRight"?(c.preventDefault(),l()):c.key==="ArrowLeft"&&(c.preventDefault(),s()),o()},a=()=>{if(e.tabId){const c=e.data.findIndex(({id:u})=>el.value[e.tabId]===u);if(c!==-1)return c}return e.active};return Ee(()=>{n.value=a(),ve(()=>el.value[e.tabId],(c,u)=>{if(e.tabId&&c!==u){const d=e.data.findIndex(({id:p})=>p===c);d!==-1&&(n.value=d)}})}),()=>e.data.length?f("div",{class:"vp-tabs"},[f("div",{class:"vp-tabs-nav",role:"tablist"},e.data.map(({id:c},u)=>{const d=u===n.value;return f("button",{type:"button",ref:p=>{p&&(r.value[u]=p)},class:["vp-tab-nav",{active:d}],role:"tab","aria-controls":`tab-${e.id}-${u}`,"aria-selected":d,onClick:()=>{n.value=u,o()},onKeydown:p=>i(p,u)},t[`title${u}`]({value:c,isActive:d}))})),e.data.map(({id:c},u)=>{const d=u===n.value;return f("div",{class:["vp-tab",{active:d}],id:`tab-${e.id}-${u}`,role:"tabpanel","aria-expanded":d},[f("div",{class:"vp-tab-title"},t[`title${u}`]({value:c,isActive:d})),t[`tab${u}`]({value:c,isActive:d})])})]):null}});const $2=et({enhance:({app:e})=>{e.component("CodeTabs",Xh),ft("CodeGroup",e)||e.component("CodeGroup",Zh),ft("CodeGroupItem",e)||e.component("CodeGroupItem",Zc),e.component("CodeDemo",k2),e.component("MdDemo",C2),e.component("ECharts",I2),T2(e),e.component("Tabs",P2)},setup:()=>{O2()}});let R2={};const mu=Symbol(""),M2=()=>De(mu),N2=e=>{e.provide(mu,R2)},D2='
',F2=e=>Pe(e)?Array.from(document.querySelectorAll(e)):e.map(t=>Array.from(document.querySelectorAll(t))).flat(),gu=e=>new Promise((t,n)=>{e.complete?t({type:"image",element:e,src:e.src,width:e.naturalWidth,height:e.naturalHeight,alt:e.alt,msrc:e.src}):(e.onload=()=>t(gu(e)),e.onerror=r=>n(r))}),j2=e=>{const{isSupported:t,toggle:n}=cs();e.on("uiRegister",()=>{t.value&&e.ui.registerElement({name:"fullscreen",order:7,isButton:!0,html:'',onClick:()=>{n()}}),e.ui.registerElement({name:"download",order:8,isButton:!0,tagName:"a",html:{isCustomSVG:!0,inner:'',outlineID:"pswp__icn-download"},onInit:(r,o)=>{r.setAttribute("download",""),r.setAttribute("target","_blank"),r.setAttribute("rel","noopener"),o.on("change",()=>{r.setAttribute("href",o.currSlide.data.src)})}}),e.ui.registerElement({name:"bulletsIndicator",className:"photo-swipe-bullets-indicator",appendTo:"wrapper",onInit:(r,o)=>{const l=[];let s=-1;for(let i=0;i{o.goTo(l.indexOf(c.target))},l.push(a),r.appendChild(a)}o.on("change",()=>{s>=0&&l[s].classList.remove("active"),l[o.currIndex].classList.add("active"),s=o.currIndex})}})})},H2=(e,t,n=!0)=>ce(()=>import("./photoswipe.esm-SzV8tJDW.js"),__vite__mapDeps([])).then(({default:r})=>{let o=null;const l=e.map(s=>({html:D2,element:s,msrc:s.src}));return e.forEach((s,i)=>{const a=()=>{o==null||o.destroy(),o=new r({preloaderDelay:0,showHideAnimationType:"zoom",...t,dataSource:l,index:i,...n?{closeOnVerticalDrag:!0,wheelToZoom:!1}:{}}),j2(o),o.addFilter("thumbEl",()=>s),o.addFilter("placeholderSrc",()=>s.src),o.init()};s.getAttribute("photo-swipe")||(s.style.cursor="zoom-in",s.addEventListener("click",()=>{a()}),s.addEventListener("keypress",({key:c})=>{c==="Enter"&&a()}),s.setAttribute("photo-swipe","")),gu(s).then(c=>{l.splice(i,1,c),o==null||o.refreshSlideContent(i)})}),n?Ne("wheel",()=>{o==null||o.close()}):()=>{}}),B2=({selector:e,locales:t,delay:n=500,scrollToClose:r=!0})=>{const o=M2(),l=$r(t),s=Le(),i=Ae();let a=null;const c=()=>{const{photoSwipe:u}=i.value;u!==!1&&Qt().then(()=>Ic(n)).then(async()=>{const d=Pe(u)?u:e;a=await H2(F2(d),{...o,...l.value},r)})};Ee(()=>{c(),ve(()=>s.value.path,()=>{a==null||a(),c()})}),mn(()=>{a==null||a()})};var V2={"/en/":{closeTitle:"Close",downloadTitle:"Download Image",fullscreenTitle:"Switch to full screen",zoomTitle:"Zoom in/out",arrowPrevTitle:"Prev (Arrow Left)",arrowNextTitle:"Next (Arrow Right)"},"/":{closeTitle:"关闭",downloadTitle:"下载图片",fullscreenTitle:"切换全屏",zoomTitle:"缩放",arrowPrevTitle:"上一个 (左箭头)",arrowNextTitle:"下一个 (右箭头)"}};const z2=".theme-hope-content :not(a) > img:not([no-view])",U2=V2,q2=800,W2=!0,G2=et({enhance:({app:e})=>{N2(e)},setup:()=>{B2({selector:z2,delay:q2,locales:U2,scrollToClose:W2})}}),K2=e=>e instanceof Element?document.activeElement===e&&(["TEXTAREA","SELECT","INPUT"].includes(e.tagName)||e.hasAttribute("contenteditable")):!1,Y2=(e,t)=>t.some(n=>{if(Pe(n))return n===e.key;const{key:r,ctrl:o=!1,shift:l=!1,alt:s=!1}=n;return r===e.key&&o===e.ctrlKey&&l===e.shiftKey&&s===e.altKey}),Q2=/[^\x00-\x7F]/,J2=e=>e.split(/\s+/g).map(t=>t.trim()).filter(t=>!!t),Di=e=>e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),Fi=(e,t)=>{const n=t.join(" "),r=J2(e);if(Q2.test(e))return r.some(s=>n.toLowerCase().indexOf(s)>-1);const o=e.endsWith(" ");return new RegExp(r.map((s,i)=>r.length===i+1&&!o?`(?=.*\\b${Di(s)})`:`(?=.*\\b${Di(s)}\\b)`).join("")+".+","gi").test(n)},X2=({input:e,hotKeys:t})=>{if(t.value.length===0)return;const n=r=>{e.value&&Y2(r,t.value)&&!K2(r.target)&&(r.preventDefault(),e.value.focus())};Ee(()=>{document.addEventListener("keydown",n)}),Yl(()=>{document.removeEventListener("keydown",n)})},Z2=[{title:"首页",headers:[],path:"/",pathLocale:"/",extraFields:[]},{title:"项目部署",headers:[],path:"/deploy/",pathLocale:"/",extraFields:[]},{title:"配置",headers:[{level:2,title:"基础配置项",slug:"基础配置项",link:"#基础配置项",children:[]},{level:2,title:"其他配置",slug:"其他配置",link:"#其他配置",children:[]},{level:2,title:"与NoneBot对接的OneBot实现端配置",slug:"与nonebot对接的onebot实现端配置",link:"#与nonebot对接的onebot实现端配置",children:[]},{level:2,title:"其他",slug:"其他",link:"#其他",children:[]}],path:"/deploy/config.html",pathLocale:"/",extraFields:[]},{title:"答疑",headers:[{level:2,title:"常见问题",slug:"常见问题",link:"#常见问题",children:[]},{level:2,title:"推荐方案(QQ)",slug:"推荐方案-qq",link:"#推荐方案-qq",children:[]},{level:2,title:"推荐方案(Minecraft)",slug:"推荐方案-minecraft",link:"#推荐方案-minecraft",children:[]},{level:2,title:"鸣谢",slug:"鸣谢",link:"#鸣谢",children:[]}],path:"/deploy/fandq.html",pathLocale:"/",extraFields:[]},{title:"安装",headers:[{level:2,title:"开始安装",slug:"开始安装",link:"#开始安装",children:[{level:3,title:"常规部署",slug:"常规部署",link:"#常规部署",children:[]},{level:3,title:"使用Docker构建镜像部署",slug:"使用docker构建镜像部署",link:"#使用docker构建镜像部署",children:[]},{level:3,title:"使用TRSS Scripts部署",slug:"使用trss-scripts部署",link:"#使用trss-scripts部署",children:[]}]},{level:2,title:"设备要求",slug:"设备要求",link:"#设备要求",children:[]}],path:"/deploy/install.html",pathLocale:"/",extraFields:[]},{title:"开发及贡献",headers:[],path:"/dev/",pathLocale:"/",extraFields:[]},{title:"进程通信",headers:[{level:2,title:"通道通信",slug:"通道通信",link:"#通道通信",children:[{level:3,title:"简介",slug:"简介",link:"#简介",children:[]},{level:3,title:"示例",slug:"示例",link:"#示例",children:[]}]},{level:2,title:"共享内存通信",slug:"共享内存通信",link:"#共享内存通信",children:[{level:3,title:"简介",slug:"简介-1",link:"#简介-1",children:[]},{level:3,title:"示例",slug:"示例-1",link:"#示例-1",children:[]}]}],path:"/dev/dev_comm.html",pathLocale:"/",extraFields:[]},{title:"轻雪函数",headers:[{level:2,title:"轻雪函数",slug:"轻雪函数",link:"#轻雪函数",children:[{level:3,title:"函数文件",slug:"函数文件",link:"#函数文件",children:[]},{level:3,title:"命令文档",slug:"命令文档",link:"#命令文档",children:[]},{level:3,title:"API",slug:"api",link:"#api",children:[]},{level:3,title:"结束关键字",slug:"结束关键字",link:"#结束关键字",children:[]}]}],path:"/dev/dev_lyfunc.html",pathLocale:"/",extraFields:[]},{title:"轻雪插件开发",headers:[{level:2,title:"简介",slug:"简介",link:"#简介",children:[]},{level:2,title:"开始",slug:"开始",link:"#开始",children:[{level:3,title:"创建插件",slug:"创建插件",link:"#创建插件",children:[]},{level:3,title:"编写逻辑部分",slug:"编写逻辑部分",link:"#编写逻辑部分",children:[]},{level:3,title:"加载插件",slug:"加载插件",link:"#加载插件",children:[]}]}],path:"/dev/dev_lyplugin.html",pathLocale:"/",extraFields:[]},{title:"资源包开发",headers:[{level:2,title:"简介",slug:"简介",link:"#简介",children:[]},{level:2,title:"加载资源包",slug:"加载资源包",link:"#加载资源包",children:[]}],path:"/dev/dev_resource_pack.html",pathLocale:"/",extraFields:[]},{title:"Home",headers:[],path:"/en/",pathLocale:"/en/",extraFields:[]},{title:"资源及插件商店",headers:[],path:"/store/",pathLocale:"/",extraFields:[]},{title:"插件商店",headers:[],path:"/store/plugin.html",pathLocale:"/",extraFields:[]},{title:"资源商店",headers:[],path:"/store/resource.html",pathLocale:"/",extraFields:[]},{title:"使用手册",headers:[],path:"/usage/",pathLocale:"/",extraFields:[]},{title:"用户协议",headers:[],path:"/usage/agreement.html",pathLocale:"/",extraFields:[]},{title:"基础命令",headers:[{level:2,title:"轻雪命令liteyuki_command",slug:"轻雪命令liteyuki-command",link:"#轻雪命令liteyuki-command",children:[{level:3,title:"命令别名",slug:"命令别名",link:"#命令别名",children:[]}]},{level:2,title:"插件/包管理器 liteyuki_pacman",slug:"插件-包管理器-liteyuki-pacman",link:"#插件-包管理器-liteyuki-pacman",children:[{level:3,title:"命令别名",slug:"命令别名-1",link:"#命令别名-1",children:[]}]},{level:2,title:"用户管理liteyuki_user",slug:"用户管理liteyuki-user",link:"#用户管理liteyuki-user",children:[]}],path:"/usage/basic_command.html",pathLocale:"/",extraFields:[]},{title:"功能命令",headers:[{level:2,title:"功能插件命令",slug:"功能插件命令",link:"#功能插件命令",children:[{level:3,title:"轻雪天气liteyuki_weather",slug:"轻雪天气liteyuki-weather",link:"#轻雪天气liteyuki-weather",children:[]},{level:3,title:"统计信息liteyuki_statistics",slug:"统计信息liteyuki-statistics",link:"#统计信息liteyuki-statistics",children:[]}]}],path:"/usage/extra_command.html",pathLocale:"/",extraFields:[]},{title:"Deploy",headers:[],path:"/en/deploy/",pathLocale:"/en/",extraFields:[]},{title:"Configuration",headers:[{level:2,title:"基础配置项",slug:"基础配置项",link:"#基础配置项",children:[]},{level:2,title:"其他配置",slug:"其他配置",link:"#其他配置",children:[]},{level:2,title:"与NoneBot对接的OneBot实现端配置",slug:"与nonebot对接的onebot实现端配置",link:"#与nonebot对接的onebot实现端配置",children:[]},{level:2,title:"其他",slug:"其他",link:"#其他",children:[]}],path:"/en/deploy/config.html",pathLocale:"/en/",extraFields:[]},{title:"FAQ",headers:[{level:2,title:"常见问题",slug:"常见问题",link:"#常见问题",children:[]},{level:2,title:"推荐方案(QQ)",slug:"推荐方案-qq",link:"#推荐方案-qq",children:[]},{level:2,title:"推荐方案(Minecraft)",slug:"推荐方案-minecraft",link:"#推荐方案-minecraft",children:[]},{level:2,title:"鸣谢",slug:"鸣谢",link:"#鸣谢",children:[]}],path:"/en/deploy/fandq.html",pathLocale:"/en/",extraFields:[]},{title:"Installation",headers:[{level:2,title:"Installation",slug:"installation",link:"#installation",children:[{level:3,title:"Conventional deployment",slug:"conventional-deployment",link:"#conventional-deployment",children:[]},{level:3,title:"Use docker",slug:"use-docker",link:"#use-docker",children:[]},{level:3,title:"Use TRSS Scripts",slug:"use-trss-scripts",link:"#use-trss-scripts",children:[]}]},{level:2,title:"Device requirements",slug:"device-requirements",link:"#device-requirements",children:[]}],path:"/en/deploy/install.html",pathLocale:"/en/",extraFields:[]},{title:"Contribute",headers:[],path:"/en/dev/",pathLocale:"/en/",extraFields:[]},{title:"Communication",headers:[{level:2,title:"通道通信",slug:"通道通信",link:"#通道通信",children:[{level:3,title:"简介",slug:"简介",link:"#简介",children:[]},{level:3,title:"示例",slug:"示例",link:"#示例",children:[]}]},{level:2,title:"共享内存通信",slug:"共享内存通信",link:"#共享内存通信",children:[{level:3,title:"简介",slug:"简介-1",link:"#简介-1",children:[]},{level:3,title:"示例",slug:"示例-1",link:"#示例-1",children:[]}]}],path:"/en/dev/dev_comm.html",pathLocale:"/en/",extraFields:[]},{title:"Liteyuki Function",headers:[{level:2,title:"轻雪函数",slug:"轻雪函数",link:"#轻雪函数",children:[{level:3,title:"函数文件",slug:"函数文件",link:"#函数文件",children:[]},{level:3,title:"命令文档",slug:"命令文档",link:"#命令文档",children:[]},{level:3,title:"API",slug:"api",link:"#api",children:[]},{level:3,title:"结束关键字",slug:"结束关键字",link:"#结束关键字",children:[]}]}],path:"/en/dev/dev_lyfunc.html",pathLocale:"/en/",extraFields:[]},{title:"Liteyuki Plugin",headers:[{level:2,title:"简介",slug:"简介",link:"#简介",children:[]},{level:2,title:"开始",slug:"开始",link:"#开始",children:[{level:3,title:"创建插件",slug:"创建插件",link:"#创建插件",children:[]},{level:3,title:"编写逻辑部分",slug:"编写逻辑部分",link:"#编写逻辑部分",children:[]},{level:3,title:"加载插件",slug:"加载插件",link:"#加载插件",children:[]}]}],path:"/en/dev/dev_lyplugin.html",pathLocale:"/en/",extraFields:[]},{title:"Resource Pack",headers:[{level:2,title:"简介",slug:"简介",link:"#简介",children:[]},{level:2,title:"加载资源包",slug:"加载资源包",link:"#加载资源包",children:[]}],path:"/en/dev/dev_resource_pack.html",pathLocale:"/en/",extraFields:[]},{title:"Extensions Store",headers:[],path:"/en/store/",pathLocale:"/en/",extraFields:[]},{title:"Plugin Store",headers:[],path:"/en/store/plugin.html",pathLocale:"/en/",extraFields:[]},{title:"Resource Store",headers:[],path:"/en/store/resource.html",pathLocale:"/en/",extraFields:[]},{title:"Usage",headers:[],path:"/en/usage/",pathLocale:"/en/",extraFields:[]},{title:"User Agreement",headers:[],path:"/en/usage/agreement.html",pathLocale:"/en/",extraFields:[]},{title:"Basic Commands",headers:[{level:2,title:"轻雪命令liteyuki_command",slug:"轻雪命令liteyuki-command",link:"#轻雪命令liteyuki-command",children:[{level:3,title:"命令别名",slug:"命令别名",link:"#命令别名",children:[]}]},{level:2,title:"插件/包管理器 liteyuki_pacman",slug:"插件-包管理器-liteyuki-pacman",link:"#插件-包管理器-liteyuki-pacman",children:[{level:3,title:"命令别名",slug:"命令别名-1",link:"#命令别名-1",children:[]}]},{level:2,title:"用户管理liteyuki_user",slug:"用户管理liteyuki-user",link:"#用户管理liteyuki-user",children:[]}],path:"/en/usage/basic_command.html",pathLocale:"/en/",extraFields:[]},{title:"Extra Commands",headers:[{level:2,title:"功能插件命令",slug:"功能插件命令",link:"#功能插件命令",children:[{level:3,title:"轻雪天气liteyuki_weather",slug:"轻雪天气liteyuki-weather",link:"#轻雪天气liteyuki-weather",children:[]},{level:3,title:"统计信息liteyuki_statistics",slug:"统计信息liteyuki-statistics",link:"#统计信息liteyuki-statistics",children:[]}]}],path:"/en/usage/extra_command.html",pathLocale:"/en/",extraFields:[]},{title:"",headers:[],path:"/404.html",pathLocale:"/",extraFields:[]}],e3=Y(Z2),t3=()=>e3,n3=({searchIndex:e,routeLocale:t,query:n,maxSuggestions:r})=>{const o=T(()=>e.value.filter(l=>l.pathLocale===t.value));return T(()=>{const l=n.value.trim().toLowerCase();if(!l)return[];const s=[],i=(a,c)=>{Fi(l,[c.title])&&s.push({link:`${a.path}#${c.slug}`,title:a.title,header:c.title});for(const u of c.children){if(s.length>=r.value)return;i(a,u)}};for(const a of o.value){if(s.length>=r.value)break;if(Fi(l,[a.title,...a.extraFields])){s.push({link:a.path,title:a.title});continue}for(const c of a.headers){if(s.length>=r.value)break;i(a,c)}}return s})},r3=e=>{const t=Y(0);return{focusIndex:t,focusNext:()=>{t.value{t.value>0?t.value-=1:t.value=e.value.length-1}}},o3=V({name:"SearchBox",props:{locales:{type:Object,default:()=>({})},hotKeys:{type:Array,default:()=>[]},maxSuggestions:{type:Number,default:5}},setup(e){const{locales:t,hotKeys:n,maxSuggestions:r}=Kf(e),o=yn(),l=Xt(),s=t3(),i=Y(null),a=Y(!1),c=Y(""),u=T(()=>t.value[l.value]??{}),d=n3({searchIndex:s,routeLocale:l,query:c,maxSuggestions:r}),{focusIndex:p,focusNext:h,focusPrev:m}=r3(d);X2({input:i,hotKeys:n});const _=T(()=>a.value&&!!d.value.length),b=()=>{_.value&&m()},w=()=>{_.value&&h()},C=y=>{if(!_.value)return;const x=d.value[y];x&&o.push(x.link).then(()=>{c.value="",p.value=0})};return()=>f("form",{class:"search-box",role:"search"},[f("input",{ref:i,type:"search",placeholder:u.value.placeholder,autocomplete:"off",spellcheck:!1,value:c.value,onFocus:()=>a.value=!0,onBlur:()=>a.value=!1,onInput:y=>c.value=y.target.value,onKeydown:y=>{switch(y.key){case"ArrowUp":{b();break}case"ArrowDown":{w();break}case"Enter":{y.preventDefault(),C(p.value);break}}}}),_.value&&f("ul",{class:"suggestions",onMouseleave:()=>p.value=-1},d.value.map(({link:y,title:x,header:P},S)=>f("li",{class:["suggestion",{focus:p.value===S}],onMouseenter:()=>p.value=S,onMousedown:()=>C(S)},f("a",{href:y,onClick:I=>I.preventDefault()},[f("span",{class:"page-title"},x),P&&f("span",{class:"page-header"},`> ${P}`)]))))])}});var l3=["s","/"],s3={"/":{placeholder:"搜索"}};const i3=s3,a3=l3,c3=5,u3=et({enhance({app:e}){e.component("SearchBox",t=>f(o3,{locales:i3,hotKeys:a3,maxSuggestions:c3,...t}))}}),yu=()=>{const e=Le();return T(()=>e.value.readingTime??null)},f3=(e,t)=>{const{minutes:n,words:r}=e,{less1Minute:o,word:l,time:s}=t;return{time:n<1?o:s.replace("$time",Math.round(n).toString()),words:l.replace("$word",r.toString())}};var ji={"/en/":{word:"About $word words",less1Minute:"Less than 1 minute",time:"About $time min"},"/":{word:"约 $word 字",less1Minute:"小于 1 分钟",time:"大约 $time 分钟"}};const Hi={words:"",time:""},Cl=typeof ji>"u"?null:ji,d3=()=>Cl?$r(Cl):T(()=>null),p3=()=>{if(typeof Cl>"u")return T(()=>Hi);const e=yu(),t=d3();return T(()=>e.value&&t.value?f3(e.value,t.value):Hi)},en=()=>Kc(),ye=()=>Ih(),Dr=()=>{const e=en();return T(()=>!!e.value.pure)},Bi=()=>null,h3="719px",v3="1440px",m3="false",bu={mobileBreakPoint:h3,pcBreakPoint:v3,enableThemeColor:m3},ps={"/en/deploy/":["install","config","fandq"],"/en/usage/":["basic_command","extra_command","agreement"],"/en/store/":["resource","plugin"],"/en/dev/":["dev_resource_pack","dev_lyfunc","dev_lyplugin","dev_comm"],"/deploy/":["install","config","fandq"],"/usage/":["basic_command","extra_command","agreement"],"/store/":["resource","plugin"],"/dev/":["dev_resource_pack","dev_lyfunc","dev_lyplugin","dev_comm"]},_u=e=>{const{icon:t="",color:n,size:r}=e,o=n||r?{}:null;return n&&(o.color=n),r&&(o.height=Number.isNaN(Number(r))?r:`${r}px`),gn(t)?f("img",{class:"icon",src:t,alt:"","no-view":"",style:o}):ss(t)?f("img",{class:"icon",src:Ge(t),alt:"","aria-hidden":"","no-view":"",style:o}):f(gt("FontIcon"),e)};_u.displayName="HopeIcon";var Ke=_u;const g3="http://.",hs=()=>{const e=yn(),t=Jt();return n=>{if(n)if(ss(n))t.path!==n&&e.push(n);else if(ic(n))window&&window.open(n);else{const r=t.path.slice(0,t.path.lastIndexOf("/"));e.push(new URL(`${r}/${encodeURI(n)}`,g3).pathname)}}},wu=()=>{const e=ye(),t=Ae();return T(()=>{const{author:n}=t.value;return n?Mi(n):n===!1?[]:Mi(e.value.author,!1)})},y3=()=>{const e=Ae();return T(()=>r2(e.value.category).map(t=>({name:t,path:""})))},b3=()=>{const e=Ae();return T(()=>o2(e.value.tag).map(t=>({name:t,path:""})))},_3=()=>{const e=Ae(),t=Le();return T(()=>{const n=I0(e.value.date);if(n)return n;const{createdTime:r}=t.value.git||{};return r?new Date(r):null})},w3=()=>{const e=ye(),t=Le(),n=Ae(),r=wu(),o=y3(),l=b3(),s=_3(),i=yu(),a=p3(),c=T(()=>({author:r.value,category:o.value,date:s.value,localizedDate:t.value.localizedDate,tag:l.value,isOriginal:n.value.isOriginal||!1,readingTime:i.value,readingTimeLocale:a.value,pageview:"pageview"in n.value?n.value.pageview:!0})),u=T(()=>"pageInfo"in n.value?n.value.pageInfo:"pageInfo"in e.value?e.value.pageInfo:null);return{info:c,items:u}},{mobileBreakPoint:E3,pcBreakPoint:k3}=bu,Vi=e=>e.endsWith("px")?Number(e.slice(0,-2)):null,Oo=()=>{const e=Y(!1),t=Y(!1),n=()=>{e.value=window.innerWidth<=(Vi(E3)??719),t.value=window.innerWidth>=(Vi(k3)??1440)};return Ee(()=>{n(),Ne("resize",n,!1),Ne("orientationchange",n,!1)}),{isMobile:e,isPC:t}},Eu=Symbol(""),Fr=()=>{const e=De(Eu);if(!e)throw new Error("useDarkmode() is called without provider.");return e},C3=e=>{const t=en(),n=J0(),r=T(()=>t.value.darkmode||"switch"),o=Gn("vuepress-theme-hope-scheme","auto"),l=T(()=>{const i=r.value;return i==="disable"?!1:i==="enable"?!0:i==="auto"?n.value:i==="toggle"?o.value==="dark":o.value==="dark"||o.value==="auto"&&n.value}),s=T(()=>{const i=r.value;return i==="switch"||i==="toggle"});e.provide(Eu,{canToggle:s,config:r,isDarkmode:l,status:o}),Object.defineProperties(e.config.globalProperties,{$isDarkmode:{get:()=>l.value}})},x3=()=>{const{config:e,isDarkmode:t,status:n}=Fr();Aa(()=>{e.value==="disable"?n.value="light":e.value==="enable"?n.value="dark":e.value==="toggle"&&n.value==="auto"&&(n.value="light")}),Ee(()=>{ve(t,r=>document.documentElement.setAttribute("data-theme",r?"dark":"light"),{immediate:!0})})};var kt=(e=>(e.title="t",e.shortTitle="s",e.icon="i",e.index="I",e.order="O",e.breadcrumbExclude="b",e))(kt||{}),S3=(e=>(e.type="y",e.author="a",e.date="d",e.localizedDate="l",e.category="c",e.tag="g",e.isEncrypted="n",e.isOriginal="o",e.readingTime="r",e.excerpt="e",e.sticky="u",e.cover="v",e))(S3||{}),T3=(e=>(e.article="a",e.home="h",e.slide="s",e.page="p",e))(T3||{});const cn=(e="",t="")=>ss(t)?t:`${sc(e)}${t}`,Mn=(e,t=!1)=>{const{meta:n,path:r,notFound:o}=Lo(e);return o?{text:r,link:r}:{text:!t&&n[kt.shortTitle]?n[kt.shortTitle]:n[kt.title]||r,link:r,...n[kt.icon]?{icon:n[kt.icon]}:{}}},xl=({config:e,prefix:t=""})=>{const n=(r,o=t)=>{const l=Pe(r)?Mn(cn(o,r)):r.link?{...r,...jn(r.link)?{}:{link:Mn(cn(o,r.link)).link}}:r;if("children"in l){const s=cn(o,l.prefix),i=l.children==="structure"?ps[s]:l.children;return{type:"group",...l,prefix:s,children:i.map(a=>n(a,s))}}return{type:"page",...l}};return e.map(r=>n(r))},L3=({config:e,page:t,headerDepth:n})=>{const r=Zt(e).sort((o,l)=>l.length-o.length);for(const o of r)if(Vn(decodeURI(t.path),o)){const l=e[o];return l?xl({config:l==="structure"?ps[o]:l,page:t,headerDepth:n,prefix:o}):[]}return console.warn(`${t.path} is missing sidebar config.`),[]},A3=({config:e,routeLocale:t,page:n,headerDepth:r})=>e==="structure"?xl({config:ps[t],page:n,headerDepth:r,prefix:t}):kl(e)?xl({config:e,page:n,headerDepth:r}):qn(e)?L3({config:e,page:n,headerDepth:r}):[],ku=Symbol(""),I3=()=>{const e=Ae(),t=ye(),n=Le(),r=Xt(),o=T(()=>e.value.home?!1:e.value.sidebar??t.value.sidebar??"structure"),l=T(()=>e.value.headerDepth??t.value.headerDepth??2),s=is(()=>[o.value,l.value,n.value.path,null],()=>A3({config:o.value,routeLocale:r.value,page:n.value,headerDepth:l.value}));Pn(ku,s)},vs=()=>{const e=De(ku);if(!e)throw new Error("useSidebarItems() is called without provider.");return e};var O3=V({name:"PageFooter",setup(){const e=en(),t=ye(),n=Ae(),r=wu(),o=T(()=>{const{copyright:c,footer:u}=n.value;return u!==!1&&!!(c||u||t.value.displayFooter)}),l=T(()=>{const{footer:c}=n.value;return c===!1?!1:Pe(c)?c:t.value.footer||""}),s=T(()=>r.value.map(({name:c})=>c).join(", ")),i=c=>`Copyright © ${new Date().getFullYear()} ${s.value} ${c?`${c} Licensed`:""}`,a=T(()=>{const{copyright:c,license:u=""}=n.value,{license:d}=e.value,{copyright:p}=t.value;return c??(u?i(u):Pe(p)?p:s.value||d?i(d):!1)});return()=>o.value?f("footer",{class:"vp-footer-wrapper"},[l.value?f("div",{class:"vp-footer",innerHTML:l.value}):null,a.value?f("div",{class:"vp-copyright",innerHTML:a.value}):null]):null}}),Xe=V({name:"AutoLink",inheritAttrs:!1,props:{config:{type:Object,required:!0},exact:Boolean,noExternalLinkIcon:Boolean},emits:["focusout"],slots:Object,setup(e,{attrs:t,emit:n,slots:r}){const o=Jt(),l=wc(),s=yo(e,"config"),i=T(()=>gn(s.value.link)),a=T(()=>!i.value&&ic(s.value.link)),c=T(()=>s.value.target||(i.value?"_blank":void 0)),u=T(()=>c.value==="_blank"),d=T(()=>!i.value&&!a.value&&!u.value),p=T(()=>s.value.rel||(u.value?"noopener noreferrer":null)),h=T(()=>s.value.ariaLabel||s.value.text),m=T(()=>{if(e.exact)return!1;const b=Zt(l.value.locales);return b.length?b.every(w=>w!==s.value.link):s.value.link!=="/"}),_=T(()=>d.value?s.value.activeMatch?new RegExp(s.value.activeMatch,"u").test(o.path):m.value?Vn(o.path,s.value.link):o.path===s.value.link:!1);return()=>{const{before:b,after:w,default:C}=r,{text:y,icon:x,link:P}=s.value;return d.value?f(Je,{to:P,"aria-label":h.value,...t,class:["nav-link",{active:_.value},t.class],onFocusout:()=>n("focusout")},()=>C?C():[b?b():f(Ke,{icon:x}),y,w==null?void 0:w()]):f("a",{href:P,rel:p.value,target:c.value,"aria-label":h.value,...t,class:["nav-link",t.class],onFocusout:()=>n("focusout")},C?C():[b?b():f(Ke,{icon:x}),y,e.noExternalLinkIcon?null:f(Wc),w==null?void 0:w()])}}}),Cu=V({name:"NavbarDropdownLink",props:{config:{type:Object,required:!0}},slots:Object,setup(e,{slots:t}){const n=Le(),r=yo(e,"config"),o=T(()=>r.value.ariaLabel||r.value.text),l=Y(!1);ve(()=>n.value.path,()=>{l.value=!1});const s=i=>{i.detail===0&&(l.value=!l.value)};return()=>{var i;return f("div",{class:["dropdown-wrapper",{open:l.value}]},[f("button",{type:"button",class:"dropdown-title","aria-label":o.value,onClick:s},[((i=t.title)==null?void 0:i.call(t))||f("span",{class:"title"},[f(Ke,{icon:r.value.icon}),e.config.text]),f("span",{class:"arrow"}),f("ul",{class:"nav-dropdown"},r.value.children.map((a,c)=>{const u=c===r.value.children.length-1;return f("li",{class:"dropdown-item"},"children"in a?[f("h4",{class:"dropdown-subtitle"},a.link?f(Xe,{config:a,onFocusout:()=>{a.children.length===0&&u&&(l.value=!1)}}):f("span",a.text)),f("ul",{class:"dropdown-subitem-wrapper"},a.children.map((d,p)=>f("li",{class:"dropdown-subitem"},f(Xe,{config:d,onFocusout:()=>{p===a.children.length-1&&u&&(l.value=!1)}}))))]:f(Xe,{config:a,onFocusout:()=>{u&&(l.value=!1)}}))}))])])}}});const xu=()=>f(Ie,{name:"i18n"},()=>[f("path",{d:"M379.392 460.8 494.08 575.488l-42.496 102.4L307.2 532.48 138.24 701.44l-71.68-72.704L234.496 460.8l-45.056-45.056c-27.136-27.136-51.2-66.56-66.56-108.544h112.64c7.68 14.336 16.896 27.136 26.112 35.84l45.568 46.08 45.056-45.056C382.976 312.32 409.6 247.808 409.6 204.8H0V102.4h256V0h102.4v102.4h256v102.4H512c0 70.144-37.888 161.28-87.04 210.944L378.88 460.8zM576 870.4 512 1024H409.6l256-614.4H768l256 614.4H921.6l-64-153.6H576zM618.496 768h196.608L716.8 532.48 618.496 768z"})]);xu.displayName="I18nIcon";const Su=(e,t="")=>Pe(e)?Mn(cn(t,e)):"children"in e?{...e,...e.link&&!jn(e.link)?Mn(cn(t,e.link)):{},children:e.children.map(n=>Su(n,cn(t,e.prefix)))}:{...e,link:jn(e.link)?e.link:Mn(cn(t,e.link)).link},Tu=()=>{const e=ye(),t=()=>(e.value.navbar||[]).map(n=>Su(n));return is(()=>e.value.navbar,()=>t())},P3=()=>{const e=f0(),t=Jt(),n=Xt(),r=To(),o=en(),l=ye();return is(()=>t.path,()=>{const s=Zt(r.value.locales),i=Pc(o.value.extraLocales??{});if(s.length<2&&!i.length)return null;const{path:a,fullPath:c}=t,{navbarLocales:u}=l.value;return{text:"",ariaLabel:u==null?void 0:u.selectLangAriaLabel,children:[...s.map(d=>{var w,C,y;const p=((w=r.value.locales)==null?void 0:w[d])??{},h=((C=o.value.locales)==null?void 0:C[d])??{},m=p.lang||"",_=((y=h.navbarLocales)==null?void 0:y.langName)??m;let b;if(m===r.value.lang)b=a;else{const x=a.replace(n.value,d);b=e.value.some(P=>P===x)?c.replace(a,x):h.home??d}return{text:_,link:b}}),...i.map(([d,p])=>({text:d,link:p.replace(":route",t.path.replace(n.value,""))}))]}})},$3=()=>{const e=ye(),t=T(()=>e.value.repo||null),n=T(()=>t.value?t2(t.value):null),r=T(()=>t.value?cu(t.value):null),o=T(()=>n.value?e.value.repoLabel??(r.value===null?"Source":r.value):null);return T(()=>!n.value||!o.value||e.value.repoDisplay===!1?null:{type:r.value||"Source",label:o.value,link:n.value})};var R3=V({name:"LanguageDropdown",setup(){const e=P3();return()=>e.value?f("div",{class:"nav-item"},f(Cu,{class:"i18n-dropdown",config:e.value},{title:()=>{var t;return f(xu,{"aria-label":(t=e.value)==null?void 0:t.ariaLabel,style:{width:"1rem",height:"1rem",verticalAlign:"middle"}})}})):null}}),M3=V({name:"NavScreenDropdown",props:{config:{type:Object,required:!0}},setup(e){const t=Le(),n=yo(e,"config"),r=T(()=>n.value.ariaLabel||n.value.text),o=Y(!1);ve(()=>t.value.path,()=>{o.value=!1});const l=(s,i)=>i[i.length-1]===s;return()=>[f("button",{type:"button",class:["nav-screen-dropdown-title",{active:o.value}],"aria-label":r.value,onClick:()=>{o.value=!o.value}},[f("span",{class:"title"},[f(Ke,{icon:n.value.icon}),e.config.text]),f("span",{class:["arrow",o.value?"down":"end"]})]),f("ul",{class:["nav-screen-dropdown",{hide:!o.value}]},n.value.children.map(s=>f("li",{class:"dropdown-item"},"children"in s?[f("h4",{class:"dropdown-subtitle"},s.link?f(Xe,{config:s,onFocusout:()=>{l(s,n.value.children)&&s.children.length===0&&(o.value=!1)}}):f("span",s.text)),f("ul",{class:"dropdown-subitem-wrapper"},s.children.map(i=>f("li",{class:"dropdown-subitem"},f(Xe,{config:i,onFocusout:()=>{l(i,s.children)&&l(s,n.value.children)&&(o.value=!1)}}))))]:f(Xe,{config:s,onFocusout:()=>{l(s,n.value.children)&&(o.value=!1)}}))))]}}),N3=V({name:"NavScreenLinks",setup(){const e=Tu();return()=>e.value.length?f("nav",{class:"nav-screen-links"},e.value.map(t=>f("div",{class:"navbar-links-item"},"children"in t?f(M3,{config:t}):f(Xe,{config:t})))):null}});const Lu=()=>f(Ie,{name:"dark"},()=>f("path",{d:"M524.8 938.667h-4.267a439.893 439.893 0 0 1-313.173-134.4 446.293 446.293 0 0 1-11.093-597.334A432.213 432.213 0 0 1 366.933 90.027a42.667 42.667 0 0 1 45.227 9.386 42.667 42.667 0 0 1 10.24 42.667 358.4 358.4 0 0 0 82.773 375.893 361.387 361.387 0 0 0 376.747 82.774 42.667 42.667 0 0 1 54.187 55.04 433.493 433.493 0 0 1-99.84 154.88 438.613 438.613 0 0 1-311.467 128z"}));Lu.displayName="DarkIcon";const Au=()=>f(Ie,{name:"light"},()=>f("path",{d:"M952 552h-80a40 40 0 0 1 0-80h80a40 40 0 0 1 0 80zM801.88 280.08a41 41 0 0 1-57.96-57.96l57.96-58a41.04 41.04 0 0 1 58 58l-58 57.96zM512 752a240 240 0 1 1 0-480 240 240 0 0 1 0 480zm0-560a40 40 0 0 1-40-40V72a40 40 0 0 1 80 0v80a40 40 0 0 1-40 40zm-289.88 88.08-58-57.96a41.04 41.04 0 0 1 58-58l57.96 58a41 41 0 0 1-57.96 57.96zM192 512a40 40 0 0 1-40 40H72a40 40 0 0 1 0-80h80a40 40 0 0 1 40 40zm30.12 231.92a41 41 0 0 1 57.96 57.96l-57.96 58a41.04 41.04 0 0 1-58-58l58-57.96zM512 832a40 40 0 0 1 40 40v80a40 40 0 0 1-80 0v-80a40 40 0 0 1 40-40zm289.88-88.08 58 57.96a41.04 41.04 0 0 1-58 58l-57.96-58a41 41 0 0 1 57.96-57.96z"}));Au.displayName="LightIcon";const Iu=()=>f(Ie,{name:"auto"},()=>f("path",{d:"M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm0-840c-198.78 0-360 161.22-360 360 0 198.84 161.22 360 360 360s360-161.16 360-360c0-198.78-161.22-360-360-360zm0 660V212c165.72 0 300 134.34 300 300 0 165.72-134.28 300-300 300z"}));Iu.displayName="AutoIcon";const Ou=()=>f(Ie,{name:"enter-fullscreen"},()=>f("path",{d:"M762.773 90.24h-497.28c-96.106 0-174.4 78.293-174.4 174.4v497.28c0 96.107 78.294 174.4 174.4 174.4h497.28c96.107 0 175.04-78.293 174.4-174.4V264.64c0-96.213-78.186-174.4-174.4-174.4zm-387.2 761.173H215.04c-21.867 0-40.427-17.92-41.067-41.066V649.92c0-22.507 17.92-40.427 40.427-40.427 11.307 0 21.227 4.694 28.48 11.947 7.253 7.253 11.947 17.92 11.947 28.48v62.293l145.28-145.28c15.893-15.893 41.813-15.893 57.706 0 15.894 15.894 15.894 41.814 0 57.707l-145.28 145.28h62.294c22.506 0 40.426 17.92 40.426 40.427s-17.173 41.066-39.68 41.066zM650.24 165.76h160.427c21.866 0 40.426 17.92 41.066 41.067v160.426c0 22.507-17.92 40.427-40.426 40.427-11.307 0-21.227-4.693-28.48-11.947-7.254-7.253-11.947-17.92-11.947-28.48v-62.186L625.6 450.347c-15.893 15.893-41.813 15.893-57.707 0-15.893-15.894-15.893-41.814 0-57.707l145.28-145.28H650.88c-22.507 0-40.427-17.92-40.427-40.427s17.174-41.173 39.787-41.173z"}));Ou.displayName="EnterFullScreenIcon";const Pu=()=>f(Ie,{name:"cancel-fullscreen"},()=>f("path",{d:"M778.468 78.62H247.922c-102.514 0-186.027 83.513-186.027 186.027V795.08c0 102.514 83.513 186.027 186.027 186.027h530.432c102.514 0 186.71-83.513 186.026-186.027V264.647C964.494 162.02 880.981 78.62 778.468 78.62zM250.88 574.35h171.122c23.324 0 43.122 19.115 43.804 43.805v171.121c0 24.008-19.114 43.122-43.122 43.122-12.06 0-22.641-5.006-30.378-12.743s-12.743-19.115-12.743-30.379V722.83L224.597 877.91c-16.953 16.952-44.6 16.952-61.553 0-16.953-16.954-16.953-44.602 0-61.554L318.009 661.39h-66.446c-24.007 0-43.122-19.114-43.122-43.122 0-24.12 18.432-43.918 42.439-43.918zm521.899-98.873H601.657c-23.325 0-43.122-19.114-43.805-43.804V260.55c0-24.007 19.115-43.122 43.122-43.122 12.06 0 22.642 5.007 30.379 12.743s12.743 19.115 12.743 30.38v66.445l154.965-154.965c16.953-16.953 44.601-16.953 61.554 0 16.953 16.953 16.953 44.6 0 61.554L705.536 388.55h66.446c24.007 0 43.122 19.115 43.122 43.122.114 24.007-18.318 43.804-42.325 43.804z"}));Pu.displayName="CancelFullScreenIcon";const $u=()=>f(Ie,{name:"outlook"},()=>[f("path",{d:"M224 800c0 9.6 3.2 44.8 6.4 54.4 6.4 48-48 76.8-48 76.8s80 41.6 147.2 0 134.4-134.4 38.4-195.2c-22.4-12.8-41.6-19.2-57.6-19.2C259.2 716.8 227.2 761.6 224 800zM560 675.2l-32 51.2c-51.2 51.2-83.2 32-83.2 32 25.6 67.2 0 112-12.8 128 25.6 6.4 51.2 9.6 80 9.6 54.4 0 102.4-9.6 150.4-32l0 0c3.2 0 3.2-3.2 3.2-3.2 22.4-16 12.8-35.2 6.4-44.8-9.6-12.8-12.8-25.6-12.8-41.6 0-54.4 60.8-99.2 137.6-99.2 6.4 0 12.8 0 22.4 0 12.8 0 38.4 9.6 48-25.6 0-3.2 0-3.2 3.2-6.4 0-3.2 3.2-6.4 3.2-6.4 6.4-16 6.4-16 6.4-19.2 9.6-35.2 16-73.6 16-115.2 0-105.6-41.6-198.4-108.8-268.8C704 396.8 560 675.2 560 675.2zM224 419.2c0-28.8 22.4-51.2 51.2-51.2 28.8 0 51.2 22.4 51.2 51.2 0 28.8-22.4 51.2-51.2 51.2C246.4 470.4 224 448 224 419.2zM320 284.8c0-22.4 19.2-41.6 41.6-41.6 22.4 0 41.6 19.2 41.6 41.6 0 22.4-19.2 41.6-41.6 41.6C339.2 326.4 320 307.2 320 284.8zM457.6 208c0-12.8 12.8-25.6 25.6-25.6 12.8 0 25.6 12.8 25.6 25.6 0 12.8-12.8 25.6-25.6 25.6C470.4 233.6 457.6 220.8 457.6 208zM128 505.6C128 592 153.6 672 201.6 736c28.8-60.8 112-60.8 124.8-60.8-16-51.2 16-99.2 16-99.2l316.8-422.4c-48-19.2-99.2-32-150.4-32C297.6 118.4 128 291.2 128 505.6zM764.8 86.4c-22.4 19.2-390.4 518.4-390.4 518.4-22.4 28.8-12.8 76.8 22.4 99.2l9.6 6.4c35.2 22.4 80 12.8 99.2-25.6 0 0 6.4-12.8 9.6-19.2 54.4-105.6 275.2-524.8 288-553.6 6.4-19.2-3.2-32-19.2-32C777.6 76.8 771.2 80 764.8 86.4z"})]);$u.displayName="OutlookIcon";var Ru=V({name:"AppearanceSwitch",setup(){const{config:e,isDarkmode:t,status:n}=Fr(),r=Dr(),o=()=>{e.value==="switch"?n.value={light:"dark",dark:"auto",auto:"light"}[n.value]:n.value=n.value==="light"?"dark":"light"},l=async s=>{if(!(document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches&&!r.value)||!s){o();return}const i=s.clientX,a=s.clientY,c=Math.hypot(Math.max(i,innerWidth-i),Math.max(a,innerHeight-a)),u=t.value;await document.startViewTransition(async()=>{o(),await Qt()}).ready,t.value!==u&&document.documentElement.animate({clipPath:t.value?[`circle(${c}px at ${i}px ${a}px)`,`circle(0px at ${i}px ${a}px)`]:[`circle(0px at ${i}px ${a}px)`,`circle(${c}px at ${i}px ${a}px)`]},{duration:400,pseudoElement:t.value?"::view-transition-old(root)":"::view-transition-new(root)"})};return()=>f("button",{type:"button",id:"appearance-switch",onClick:l},[f(Iu,{style:{display:n.value==="auto"?"block":"none"}}),f(Lu,{style:{display:n.value==="dark"?"block":"none"}}),f(Au,{style:{display:n.value==="light"?"block":"none"}})])}}),D3=V({name:"AppearanceMode",setup(){const e=ye(),{canToggle:t}=Fr(),n=T(()=>e.value.outlookLocales.darkmode);return()=>t.value?f("div",{class:"appearance-wrapper"},[f("label",{class:"appearance-title",for:"appearance-switch"},n.value),f(Ru)]):null}});const tl=bu.enableThemeColor==="true";var Mu=V({name:"ToggleFullScreenButton",setup(){const e=ye(),{isSupported:t,isFullscreen:n,toggle:r}=cs(),o=T(()=>e.value.outlookLocales.fullscreen);return()=>t?f("div",{class:"full-screen-wrapper"},[f("label",{class:"full-screen-title",for:"full-screen-switch"},o.value),f("button",{type:"button",id:"full-screen-switch",class:"full-screen",ariaPressed:n.value,onClick:()=>r()},n.value?f(Pu):f(Ou))]):null}}),Nu=V({name:"OutlookSettings",setup(){const e=en(),t=Dr(),n=T(()=>!t.value&&e.value.fullscreen);return()=>f(Ao,()=>[null,f(D3),n.value?f(Mu):null])}}),F3=V({name:"NavScreen",props:{show:Boolean},emits:["close"],slots:Object,setup(e,{emit:t,slots:n}){const r=Le(),{isMobile:o}=Oo(),l=Fe(),s=Hc(l);return Ee(()=>{l.value=document.body,ve(o,i=>{!i&&e.show&&(s.value=!1,t("close"))}),ve(()=>r.value.path,()=>{s.value=!1,t("close")})}),mn(()=>{s.value=!1}),()=>f(Yt,{name:"fade",onEnter:()=>{s.value=!0},onAfterLeave:()=>{s.value=!1}},()=>{var i,a;return e.show?f("div",{id:"nav-screen"},f("div",{class:"vp-nav-screen-container"},[(i=n.before)==null?void 0:i.call(n),f(N3),f("div",{class:"vp-outlook-wrapper"},f(Nu)),(a=n.after)==null?void 0:a.call(n)])):null})}}),j3=V({name:"NavbarBrand",setup(){const e=Xt(),t=To(),n=ye(),r=T(()=>n.value.home||e.value),o=T(()=>t.value.title),l=T(()=>n.value.navTitle??o.value),s=T(()=>n.value.logo?Ge(n.value.logo):null),i=T(()=>n.value.logoDark?Ge(n.value.logoDark):null);return()=>f(Je,{to:r.value,class:"vp-brand"},()=>[s.value?f("img",{class:["vp-nav-logo",{light:!!i.value}],src:s.value,alt:""}):null,i.value?f("img",{class:["vp-nav-logo dark"],src:i.value,alt:""}):null,l.value?f("span",{class:["vp-site-name",{"hide-in-pad":s.value&&n.value.hideSiteNameOnMobile!==!1}]},l.value):null])}}),H3=V({name:"NavbarLinks",setup(){const e=Tu();return()=>e.value.length?f("nav",{class:"vp-nav-links"},e.value.map(t=>f("div",{class:"nav-item hide-in-mobile"},"children"in t?f(Cu,{config:t}):f(Xe,{config:t})))):null}}),B3=V({name:"RepoLink",components:{BitbucketIcon:ou,GiteeIcon:ru,GitHubIcon:tu,GitLabIcon:nu,SourceIcon:lu},setup(){const e=$3();return()=>e.value?f("div",{class:"nav-item vp-repo"},f("a",{class:"vp-repo-link",href:e.value.link,target:"_blank",rel:"noopener noreferrer","aria-label":e.value.label},f(gt(`${e.value.type}Icon`),{style:{width:"1.25rem",height:"1.25rem",verticalAlign:"middle"}}))):null}});const Du=({active:e=!1},{emit:t})=>f("button",{type:"button",class:["vp-toggle-navbar-button",{"is-active":e}],"aria-label":"Toggle Navbar","aria-expanded":e,"aria-controls":"nav-screen",onClick:()=>t("toggle")},f("span",[f("span",{class:"vp-top"}),f("span",{class:"vp-middle"}),f("span",{class:"vp-bottom"})]));Du.displayName="ToggleNavbarButton";var V3=Du;const Sl=(e,{emit:t})=>f("button",{type:"button",class:"vp-toggle-sidebar-button",title:"Toggle Sidebar",onClick:()=>t("toggle")},f("span",{class:"icon"}));Sl.displayName="ToggleSidebarButton",Sl.emits=["toggle"];var z3=Sl,U3=V({name:"OutlookButton",setup(){const{isSupported:e}=cs(),t=en(),n=Dr(),r=Le(),{canToggle:o}=Fr(),l=Y(!1),s=T(()=>!n.value&&t.value.fullscreen&&e);return ve(()=>r.value.path,()=>{l.value=!1}),()=>o.value||s.value||tl?f("div",{class:"nav-item hide-in-mobile"},o.value&&!s.value&&!tl?f(Ru):s.value&&!o.value&&!tl?f(Mu):f("button",{type:"button",class:["outlook-button",{open:l.value}],tabindex:"-1","aria-hidden":!0},[f($u),f("div",{class:"outlook-dropdown"},f(Nu))])):null}}),q3=V({name:"NavBar",emits:["toggleSidebar"],slots:Object,setup(e,{emit:t,slots:n}){const r=ye(),{isMobile:o}=Oo(),l=Y(!1),s=T(()=>{const{navbarAutoHide:u="mobile"}=r.value;return u!=="none"&&(u==="always"||o.value)}),i=T(()=>r.value.navbarLayout||{start:["Brand"],center:["Links"],end:["Language","Repo","Outlook","Search"]}),a={Brand:j3,Language:R3,Links:H3,Repo:B3,Outlook:U3,Search:ft("Docsearch")?gt("Docsearch"):ft("SearchBox")?gt("SearchBox"):Bi},c=u=>a[u]??(ft(u)?gt(u):Bi);return()=>{var u,d,p,h,m,_;return[f("header",{key:"navbar",id:"navbar",class:["vp-navbar",{"auto-hide":s.value,"hide-icon":r.value.navbarIcon===!1}]},[f("div",{class:"vp-navbar-start"},[f(z3,{onToggle:()=>{l.value&&(l.value=!1),t("toggleSidebar")}}),(u=n.startBefore)==null?void 0:u.call(n),(i.value.start||[]).map(b=>f(c(b))),(d=n.startAfter)==null?void 0:d.call(n)]),f("div",{class:"vp-navbar-center"},[(p=n.centerBefore)==null?void 0:p.call(n),(i.value.center||[]).map(b=>f(c(b))),(h=n.centerAfter)==null?void 0:h.call(n)]),f("div",{class:"vp-navbar-end"},[(m=n.endBefore)==null?void 0:m.call(n),(i.value.end||[]).map(b=>f(c(b))),(_=n.endAfter)==null?void 0:_.call(n),f(V3,{active:l.value,onToggle:()=>{l.value=!l.value}})])]),f(F3,{show:l.value,onClose:()=>{l.value=!1}},{before:()=>{var b;return(b=n.screenTop)==null?void 0:b.call(n)},after:()=>{var b;return(b=n.screenBottom)==null?void 0:b.call(n)}})]}}});const _r=(e,t,n=!1)=>"activeMatch"in t?new RegExp(t.activeMatch,"u").test(e.path):au(e,t.link)?!0:"children"in t&&!n?t.children.some(r=>_r(e,r)):!1,Fu=(e,t)=>t.type==="group"?t.children.some(n=>n.type==="group"?Fu(e,n):n.type==="page"&&_r(e,n,!0))||"prefix"in t&&au(e,t.prefix):!1;var W3=V({name:"SidebarChild",props:{config:{type:Object,required:!0}},setup(e){const t=Jt();return()=>Pe(e.config.link)?f(Xe,{class:["vp-sidebar-link","vp-sidebar-page",{active:_r(t,e.config,!0)}],exact:!0,config:e.config}):f("p",e,[f(Ke,{icon:e.config.icon}),e.config.text])}}),G3=V({name:"SidebarGroup",props:{config:{type:Object,required:!0},open:{type:Boolean,required:!0}},emits:["toggle"],setup(e,{emit:t}){const n=Jt(),r=T(()=>_r(n,e.config)),o=T(()=>_r(n,e.config,!0));return()=>{const{collapsible:l,children:s=[],icon:i,prefix:a,link:c,text:u}=e.config;return f("section",{class:"vp-sidebar-group"},[f(l?"button":"p",{class:["vp-sidebar-header",{clickable:l||c,exact:o.value,active:r.value}],...l?{type:"button",onClick:()=>t("toggle"),onKeydown:d=>{d.key==="Enter"&&t("toggle")}}:{}},[f(Ke,{icon:i}),c?f(Xe,{class:"vp-sidebar-title",config:{text:u,link:c},noExternalLinkIcon:!0}):f("span",{class:"vp-sidebar-title"},u),l?f("span",{class:["vp-arrow",e.open?"down":"end"]}):null]),e.open||!l?f(ju,{key:a,config:s}):null])}}}),ju=V({name:"SidebarLinks",props:{config:{type:Array,required:!0}},setup(e){const t=Jt(),n=Y(-1),r=o=>{n.value=o===n.value?-1:o};return ve(()=>t.path,()=>{const o=e.config.findIndex(l=>Fu(t,l));n.value=o},{immediate:!0,flush:"post"}),()=>f("ul",{class:"vp-sidebar-links"},e.config.map((o,l)=>f("li",o.type==="group"?f(G3,{config:o,open:l===n.value,onToggle:()=>r(l)}):f(W3,{config:o}))))}}),K3=V({name:"SideBar",slots:Object,setup(e,{slots:t}){const n=Jt(),r=ye(),o=vs(),l=Fe();return Ee(()=>{ve(()=>n.hash,s=>{const i=document.querySelector(`.vp-sidebar a.vp-sidebar-link[href="${n.path}${s}"]`);if(!i)return;const{top:a,height:c}=l.value.getBoundingClientRect(),{top:u,height:d}=i.getBoundingClientRect();ua+c&&i.scrollIntoView(!1)},{immediate:!0})}),()=>{var s,i,a;return f("aside",{ref:l,id:"sidebar",class:["vp-sidebar",{"hide-icon":r.value.sidebarIcon===!1}],key:"sidebar"},[(s=t.top)==null?void 0:s.call(t),((i=t.default)==null?void 0:i.call(t))||f(ju,{config:o.value}),(a=t.bottom)==null?void 0:a.call(t)])}}}),Hu=V({name:"CommonWrapper",props:{containerClass:{type:String,default:""},noNavbar:Boolean,noSidebar:Boolean,noToc:Boolean},slots:Object,setup(e,{slots:t}){const n=yn(),r=Le(),o=Ae(),l=ye(),{isMobile:s,isPC:i}=Oo(),[a,c]=yr(!1),[u,d]=yr(!1),p=vs(),h=Y(!1),m=T(()=>e.noNavbar||o.value.navbar===!1||l.value.navbar===!1?!1:!!(r.value.title||l.value.logo||l.value.repo||l.value.navbar)),_=T(()=>e.noSidebar?!1:o.value.sidebar!==!1&&p.value.length!==0&&!o.value.home),b=T(()=>e.noToc||o.value.home?!1:o.value.toc||l.value.toc!==!1&&o.value.toc!==!1),w={x:0,y:0},C=S=>{w.x=S.changedTouches[0].clientX,w.y=S.changedTouches[0].clientY},y=S=>{const I=S.changedTouches[0].clientX-w.x,$=S.changedTouches[0].clientY-w.y;Math.abs(I)>Math.abs($)*1.5&&Math.abs(I)>40&&(I>0&&w.x<=80?c(!0):c(!1))},x=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;let P=0;return Ne("scroll",j0(()=>{const S=x();S<=58||S{S||c(!1)}),Ee(()=>{const S=Hc(document.body);ve(a,$=>{S.value=$});const I=n.afterEach(()=>{c(!1)});mn(()=>{S.value=!1,I()})}),()=>f(ft("GlobalEncrypt")?gt("GlobalEncrypt"):eu,()=>f("div",{class:["theme-container",{"no-navbar":!m.value,"no-sidebar":!_.value&&!(t.sidebar||t.sidebarTop||t.sidebarBottom),"has-toc":b.value,"hide-navbar":h.value,"sidebar-collapsed":!s.value&&!i.value&&u.value,"sidebar-open":s.value&&a.value},e.containerClass,o.value.containerClass||""],onTouchStart:C,onTouchEnd:y},[m.value?f(q3,{onToggleSidebar:()=>c()},{startBefore:()=>{var S;return(S=t.navbarStartBefore)==null?void 0:S.call(t)},startAfter:()=>{var S;return(S=t.navbarStartAfter)==null?void 0:S.call(t)},centerBefore:()=>{var S;return(S=t.navbarCenterBefore)==null?void 0:S.call(t)},centerAfter:()=>{var S;return(S=t.navbarCenterAfter)==null?void 0:S.call(t)},endBefore:()=>{var S;return(S=t.navbarEndBefore)==null?void 0:S.call(t)},endAfter:()=>{var S;return(S=t.navbarEndAfter)==null?void 0:S.call(t)},screenTop:()=>{var S;return(S=t.navScreenTop)==null?void 0:S.call(t)},screenBottom:()=>{var S;return(S=t.navScreenBottom)==null?void 0:S.call(t)}}):null,f(Yt,{name:"fade"},()=>a.value?f("div",{class:"vp-sidebar-mask",onClick:()=>c(!1)}):null),f(Yt,{name:"fade"},()=>s.value?null:f("div",{class:"toggle-sidebar-wrapper",onClick:()=>d()},f("span",{class:["arrow",u.value?"end":"start"]}))),f(K3,{},{...t.sidebar?{default:()=>t.sidebar()}:{},top:()=>{var S;return(S=t.sidebarTop)==null?void 0:S.call(t)},bottom:()=>{var S;return(S=t.sidebarBottom)==null?void 0:S.call(t)}}),t.default(),f(O3)]))}}),Sn=V({name:"DropTransition",props:{type:{type:String,default:"single"},delay:{type:Number,default:0},duration:{type:Number,default:.25},appear:Boolean},slots:Object,setup(e,{slots:t}){const n=o=>{o.style.transition=`transform ${e.duration}s ease-in-out ${e.delay}s, opacity ${e.duration}s ease-in-out ${e.delay}s`,o.style.transform="translateY(-20px)",o.style.opacity="0"},r=o=>{o.style.transform="translateY(0)",o.style.opacity="1"};return()=>f(e.type==="single"?Yt:I1,{name:"drop",appear:e.appear,onAppear:n,onAfterAppear:r,onEnter:n,onAfterEnter:r,onBeforeLeave:n},()=>t.default())}});const Tl=({custom:e})=>f(kc,{class:["theme-hope-content",{custom:e}]});Tl.displayName="MarkdownContent",Tl.props={custom:Boolean};var Bu=Tl;const Vu=()=>f(Ie,{name:"author"},()=>f("path",{d:"M649.6 633.6c86.4-48 147.2-144 147.2-249.6 0-160-128-288-288-288s-288 128-288 288c0 108.8 57.6 201.6 147.2 249.6-121.6 48-214.4 153.6-240 288-3.2 9.6 0 19.2 6.4 25.6 3.2 9.6 12.8 12.8 22.4 12.8h704c9.6 0 19.2-3.2 25.6-12.8 6.4-6.4 9.6-16 6.4-25.6-25.6-134.4-121.6-240-243.2-288z"}));Vu.displayName="AuthorIcon";const zu=()=>f(Ie,{name:"calendar"},()=>f("path",{d:"M716.4 110.137c0-18.753-14.72-33.473-33.472-33.473-18.753 0-33.473 14.72-33.473 33.473v33.473h66.993v-33.473zm-334.87 0c0-18.753-14.72-33.473-33.473-33.473s-33.52 14.72-33.52 33.473v33.473h66.993v-33.473zm468.81 33.52H716.4v100.465c0 18.753-14.72 33.473-33.472 33.473a33.145 33.145 0 01-33.473-33.473V143.657H381.53v100.465c0 18.753-14.72 33.473-33.473 33.473a33.145 33.145 0 01-33.473-33.473V143.657H180.6A134.314 134.314 0 0046.66 277.595v535.756A134.314 134.314 0 00180.6 947.289h669.74a134.36 134.36 0 00133.94-133.938V277.595a134.314 134.314 0 00-133.94-133.938zm33.473 267.877H147.126a33.145 33.145 0 01-33.473-33.473c0-18.752 14.72-33.473 33.473-33.473h736.687c18.752 0 33.472 14.72 33.472 33.473a33.145 33.145 0 01-33.472 33.473z"}));zu.displayName="CalendarIcon";const Uu=()=>f(Ie,{name:"category"},()=>f("path",{d:"M148.41 106.992h282.176c22.263 0 40.31 18.048 40.31 40.31V429.48c0 22.263-18.047 40.31-40.31 40.31H148.41c-22.263 0-40.311-18.047-40.311-40.31V147.302c0-22.263 18.048-40.31 40.311-40.31zM147.556 553.478H429.73c22.263 0 40.311 18.048 40.311 40.31v282.176c0 22.263-18.048 40.312-40.31 40.312H147.555c-22.263 0-40.311-18.049-40.311-40.312V593.79c0-22.263 18.048-40.311 40.31-40.311zM593.927 106.992h282.176c22.263 0 40.31 18.048 40.31 40.31V429.48c0 22.263-18.047 40.31-40.31 40.31H593.927c-22.263 0-40.311-18.047-40.311-40.31V147.302c0-22.263 18.048-40.31 40.31-40.31zM730.22 920.502H623.926c-40.925 0-74.22-33.388-74.22-74.425V623.992c0-41.038 33.387-74.424 74.425-74.424h222.085c41.038 0 74.424 33.226 74.424 74.067v114.233c0 10.244-8.304 18.548-18.547 18.548s-18.548-8.304-18.548-18.548V623.635c0-20.388-16.746-36.974-37.33-36.974H624.13c-20.585 0-37.331 16.747-37.331 37.33v222.086c0 20.585 16.654 37.331 37.126 37.331H730.22c10.243 0 18.547 8.304 18.547 18.547 0 10.244-8.304 18.547-18.547 18.547z"}));Uu.displayName="CategoryIcon";const qu=()=>f(Ie,{name:"print"},()=>f("path",{d:"M819.2 364.8h-44.8V128c0-17.067-14.933-32-32-32H281.6c-17.067 0-32 14.933-32 32v236.8h-44.8C145.067 364.8 96 413.867 96 473.6v192c0 59.733 49.067 108.8 108.8 108.8h44.8V896c0 17.067 14.933 32 32 32h460.8c17.067 0 32-14.933 32-32V774.4h44.8c59.733 0 108.8-49.067 108.8-108.8v-192c0-59.733-49.067-108.8-108.8-108.8zM313.6 160h396.8v204.8H313.6V160zm396.8 704H313.6V620.8h396.8V864zM864 665.6c0 25.6-19.2 44.8-44.8 44.8h-44.8V588.8c0-17.067-14.933-32-32-32H281.6c-17.067 0-32 14.933-32 32v121.6h-44.8c-25.6 0-44.8-19.2-44.8-44.8v-192c0-25.6 19.2-44.8 44.8-44.8h614.4c25.6 0 44.8 19.2 44.8 44.8v192z"}));qu.displayName="PrintIcon";const Wu=()=>f(Ie,{name:"tag"},()=>f("path",{d:"M939.902 458.563L910.17 144.567c-1.507-16.272-14.465-29.13-30.737-30.737L565.438 84.098h-.402c-3.215 0-5.726 1.005-7.634 2.913l-470.39 470.39a10.004 10.004 0 000 14.164l365.423 365.424c1.909 1.908 4.42 2.913 7.132 2.913s5.223-1.005 7.132-2.913l470.39-470.39c2.01-2.11 3.014-5.023 2.813-8.036zm-240.067-72.121c-35.458 0-64.286-28.828-64.286-64.286s28.828-64.285 64.286-64.285 64.286 28.828 64.286 64.285-28.829 64.286-64.286 64.286z"}));Wu.displayName="TagIcon";const Gu=()=>f(Ie,{name:"timer"},()=>f("path",{d:"M799.387 122.15c4.402-2.978 7.38-7.897 7.38-13.463v-1.165c0-8.933-7.38-16.312-16.312-16.312H256.33c-8.933 0-16.311 7.38-16.311 16.312v1.165c0 5.825 2.977 10.874 7.637 13.592 4.143 194.44 97.22 354.963 220.201 392.763-122.204 37.542-214.893 196.511-220.2 389.397-4.661 5.049-7.638 11.651-7.638 19.03v5.825h566.49v-5.825c0-7.379-2.849-13.981-7.509-18.9-5.049-193.016-97.867-351.985-220.2-389.527 123.24-37.67 216.446-198.453 220.588-392.892zM531.16 450.445v352.632c117.674 1.553 211.787 40.778 211.787 88.676H304.097c0-48.286 95.149-87.382 213.728-88.676V450.445c-93.077-3.107-167.901-81.297-167.901-177.093 0-8.803 6.99-15.793 15.793-15.793 8.803 0 15.794 6.99 15.794 15.793 0 80.261 63.69 145.635 142.01 145.635s142.011-65.374 142.011-145.635c0-8.803 6.99-15.793 15.794-15.793s15.793 6.99 15.793 15.793c0 95.019-73.789 172.82-165.96 177.093z"}));Gu.displayName="TimerIcon";const Ku=()=>f(Ie,{name:"word"},()=>[f("path",{d:"M518.217 432.64V73.143A73.143 73.143 0 01603.43 1.097a512 512 0 01419.474 419.474 73.143 73.143 0 01-72.046 85.212H591.36a73.143 73.143 0 01-73.143-73.143z"}),f("path",{d:"M493.714 566.857h340.297a73.143 73.143 0 0173.143 85.577A457.143 457.143 0 11371.566 117.76a73.143 73.143 0 0185.577 73.143v339.383a36.571 36.571 0 0036.571 36.571z"})]);Ku.displayName="WordIcon";const tn=()=>{const e=ye();return T(()=>e.value.metaLocales)};var Y3=V({name:"AuthorInfo",inheritAttrs:!1,props:{author:{type:Array,required:!0},pure:Boolean},setup(e){const t=tn();return()=>e.author.length?f("span",{class:"page-author-info","aria-label":`${t.value.author}${e.pure?"":"🖊"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(Vu),f("span",e.author.map(n=>n.url?f("a",{class:"page-author-item",href:n.url,target:"_blank",rel:"noopener noreferrer"},n.name):f("span",{class:"page-author-item"},n.name))),f("span",{property:"author",content:e.author.map(n=>n.name).join(", ")})]):null}}),Q3=V({name:"CategoryInfo",inheritAttrs:!1,props:{category:{type:Array,required:!0},pure:Boolean},setup(e){const t=tn(),n=hs();return()=>e.category.length?f("span",{class:"page-category-info","aria-label":`${t.value.category}${e.pure?"":"🌈"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(Uu),e.category.map(({name:r,path:o})=>f("span",{class:["page-category-item",{[`category${su(r,9)}`]:!e.pure,clickable:o}],role:o?"navigation":"",onClick:()=>{o&&n(o)}},r)),f("meta",{property:"articleSection",content:e.category.map(({name:r})=>r).join(",")})]):null}}),J3=V({name:"DateInfo",inheritAttrs:!1,props:{date:{type:Object,default:null},localizedDate:{type:String,default:""},pure:Boolean},setup(e){const t=os(),n=tn();return()=>e.date?f("span",{class:"page-date-info","aria-label":`${n.value.date}${e.pure?"":"📅"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(zu),f("span",f(Ao,()=>e.localizedDate||e.date.toLocaleDateString(t.value))),f("meta",{property:"datePublished",content:e.date.toISOString()||""})]):null}}),X3=V({name:"OriginalInfo",inheritAttrs:!1,props:{isOriginal:Boolean},setup(e){const t=tn();return()=>e.isOriginal?f("span",{class:"page-original-info"},t.value.origin):null}}),Z3=V({name:"ReadingTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null},pure:Boolean},setup(e){const t=tn(),n=T(()=>{if(!e.readingTime)return null;const{minutes:r}=e.readingTime;return r<1?"PT1M":`PT${Math.round(r)}M`});return()=>{var r,o;return(r=e.readingTimeLocale)!=null&&r.time?f("span",{class:"page-reading-time-info","aria-label":`${t.value.readingTime}${e.pure?"":"⌛"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(Gu),f("span",(o=e.readingTimeLocale)==null?void 0:o.time),f("meta",{property:"timeRequired",content:n.value})]):null}}}),ev=V({name:"TagInfo",inheritAttrs:!1,props:{tag:{type:Array,default:()=>[]},pure:Boolean},setup(e){const t=tn(),n=hs();return()=>e.tag.length?f("span",{class:"page-tag-info","aria-label":`${t.value.tag}${e.pure?"":"🏷"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(Wu),e.tag.map(({name:r,path:o})=>f("span",{class:["page-tag-item",{[`tag${su(r,9)}`]:!e.pure,clickable:o}],role:o?"navigation":"",onClick:()=>{o&&n(o)}},r)),f("meta",{property:"keywords",content:e.tag.map(({name:r})=>r).join(",")})]):null}}),tv=V({name:"ReadTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null},pure:Boolean},setup(e){const t=tn();return()=>{var n,r,o;return(n=e.readingTimeLocale)!=null&&n.words?f("span",{class:"page-word-info","aria-label":`${t.value.words}${e.pure?"":"🔠"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(Ku),f("span",(r=e.readingTimeLocale)==null?void 0:r.words),f("meta",{property:"wordCount",content:(o=e.readingTime)==null?void 0:o.words})]):null}}}),nv=V({name:"PageInfo",components:{AuthorInfo:Y3,CategoryInfo:Q3,DateInfo:J3,OriginalInfo:X3,PageViewInfo:()=>null,ReadingTimeInfo:Z3,TagInfo:ev,WordInfo:tv},props:{items:{type:[Array,Boolean],default:()=>["Author","Original","Date","PageView","ReadingTime","Category","Tag"]},info:{type:Object,required:!0}},setup(e){const t=Dr();return()=>e.items?f("div",{class:"page-info"},e.items.map(n=>f(gt(`${n}Info`),{...e.info,pure:t.value}))):null}}),rv=V({name:"PrintButton",setup(){const e=en(),t=ye();return()=>e.value.print===!1?null:f("button",{type:"button",class:"print-button",title:t.value.metaLocales.print,onClick:()=>{window.print()}},f(qu))}}),ov=V({name:"TOC",props:{items:{type:Array,default:()=>[]},headerDepth:{type:Number,default:2}},slots:Object,setup(e,{slots:t}){const n=Jt(),r=Le(),o=tn(),[l,s]=yr(),i=Fe(),a=Y("-1.7rem"),c=d=>{var p;(p=i.value)==null||p.scrollTo({top:d,behavior:"smooth"})},u=()=>{if(i.value){const d=document.querySelector(".vp-toc-item.active");d?a.value=`${d.getBoundingClientRect().top-i.value.getBoundingClientRect().top+i.value.scrollTop}px`:a.value="-1.7rem"}else a.value="-1.7rem"};return Ee(()=>{ve(()=>n.hash,d=>{if(i.value){const p=document.querySelector(`#toc a.toc-link[href$="${d}"]`);if(!p)return;const{top:h,height:m}=i.value.getBoundingClientRect(),{top:_,height:b}=p.getBoundingClientRect();_h+m&&c(i.value.scrollTop+_+b-h-m)}}),ve(()=>n.fullPath,u,{flush:"post",immediate:!0})}),()=>{var m,_;const d=({title:b,level:w,slug:C})=>f(Je,{to:`#${C}`,class:["vp-toc-link",`level${w}`],onClick:()=>{s()}},()=>b),p=(b,w)=>b.length&&w>0?f("ul",{class:"vp-toc-list"},b.map(C=>{const y=p(C.children,w-1);return[f("li",{class:["vp-toc-item",{active:n.hash===`#${C.slug}`}]},d(C)),y?f("li",y):null]})):null,h=e.items.length?p(e.items,e.headerDepth):r.value.headers?p(r.value.headers,e.headerDepth):null;return h?f("div",{class:"vp-toc-placeholder"},[f("aside",{id:"toc"},[(m=t.before)==null?void 0:m.call(t),f("div",{class:"vp-toc-header",onClick:()=>{s()}},[o.value.toc,f(rv),f("div",{class:["arrow",l.value?"down":"end"]})]),f("div",{class:["vp-toc-wrapper",l.value?"open":""],ref:i},[h,f("div",{class:"vp-toc-marker",style:{top:a.value}})]),(_=t.after)==null?void 0:_.call(t)])]):null}}}),Yu=V({name:"SkipLink",props:{content:{type:String,default:"main-content"}},setup(e){const t=Le(),n=ye(),r=Fe(),o=({target:l})=>{const s=document.querySelector(l.hash);if(s){const i=()=>{s.removeAttribute("tabindex"),s.removeEventListener("blur",i)};s.setAttribute("tabindex","-1"),s.addEventListener("blur",i),s.focus(),window.scrollTo(0,0)}};return Ee(()=>{ve(()=>t.value.path,()=>r.value.focus())}),()=>[f("span",{ref:r,tabindex:"-1"}),f("a",{href:`#${e.content}`,class:"vp-skip-link sr-only",onClick:o},n.value.routeLocales.skipToContent)]}});let nl=null,Jn=null;const lv={wait:()=>nl,pending:()=>{nl=new Promise(e=>{Jn=e})},resolve:()=>{Jn==null||Jn(),nl=null,Jn=null}},Qu=()=>lv;var Ju=V({name:"FadeSlideY",slots:Object,setup(e,{slots:t}){const{resolve:n,pending:r}=Qu();return()=>f(Yt,{name:"fade-slide-y",mode:"out-in",onBeforeEnter:n,onBeforeLeave:r},()=>{var o;return(o=t.default)==null?void 0:o.call(t)})}});const sv=(e,t)=>{const n=e.replace(t,"/").split("/"),r=[];let o=es(t);return n.forEach((l,s)=>{s!==n.length-1?(o+=`${l}/`,r.push({link:o,name:l||"Home"})):l!==""&&(o+=l,r.push({link:o,name:l}))}),r},Xu=(e,{slots:t})=>{var d,p;const{bgImage:n,bgImageDark:r,bgImageStyle:o,color:l,description:s,image:i,imageDark:a,header:c,features:u=[]}=e;return f("div",{class:"vp-feature-wrapper"},[n?f("div",{class:["vp-feature-bg",{light:r}],style:[{"background-image":`url(${n})`},o]}):null,r?f("div",{class:"vp-feature-bg dark",style:[{"background-image":`url(${r})`},o]}):null,f("div",{class:"vp-feature",style:l?{color:l}:{}},[((d=t.image)==null?void 0:d.call(t,e))||[i?f("img",{class:["vp-feature-image",{light:a}],src:Ge(i),alt:""}):null,a?f("img",{class:"vp-feature-image dark",src:Ge(a),alt:""}):null],((p=t.info)==null?void 0:p.call(t,e))||[c?f("h2",{class:"vp-feature-header"},c):null,s?f("p",{class:"vp-feature-description",innerHTML:s}):null],u.length?f("div",{class:"vp-features"},u.map(({icon:h,title:m,details:_,link:b})=>{const w=[f("h3",{class:"vp-feature-title"},[f(Ke,{icon:h}),f("span",{innerHTML:m})]),f("p",{class:"vp-feature-details",innerHTML:_})];return b?jn(b)?f("a",{class:"vp-feature-item link",href:b,"aria-label":m,target:"_blank"},w):f(Je,{class:"vp-feature-item link",to:b,"aria-label":m},()=>w):f("div",{class:"vp-feature-item"},w)})):null])])};Xu.displayName="FeaturePanel";var zi=Xu,iv=V({name:"HeroInfo",slots:Object,setup(e,{slots:t}){const n=Ae(),r=To(),o=T(()=>n.value.heroFullScreen??!1),l=T(()=>{const{heroText:c,tagline:u}=n.value;return{text:c??r.value.title??"Hello",tagline:u??r.value.description??"",isFullScreen:o.value}}),s=T(()=>{const{heroText:c,heroImage:u,heroImageDark:d,heroAlt:p,heroImageStyle:h}=n.value;return{image:u?Ge(u):null,imageDark:d?Ge(d):null,style:h,alt:p||c||"",isFullScreen:o.value}}),i=T(()=>{const{bgImage:c,bgImageDark:u,bgImageStyle:d}=n.value;return{image:Pe(c)?Ge(c):null,imageDark:Pe(u)?Ge(u):null,bgStyle:d,isFullScreen:o.value}}),a=T(()=>n.value.actions??[]);return()=>{var c,u,d;return f("header",{class:["vp-hero-info-wrapper",{fullscreen:o.value}]},[((c=t.heroBg)==null?void 0:c.call(t,i.value))||[i.value.image?f("div",{class:["vp-hero-mask",{light:i.value.imageDark}],style:[{"background-image":`url(${i.value.image})`},i.value.bgStyle]}):null,i.value.imageDark?f("div",{class:"vp-hero-mask dark",style:[{"background-image":`url(${i.value.imageDark})`},i.value.bgStyle]}):null],f("div",{class:"vp-hero-info"},[((u=t.heroImage)==null?void 0:u.call(t,s.value))||f(Sn,{appear:!0,type:"group"},()=>[s.value.image?f("img",{key:"light",class:["vp-hero-image",{light:s.value.imageDark}],style:s.value.style,src:s.value.image,alt:s.value.alt}):null,s.value.imageDark?f("img",{key:"dark",class:"vp-hero-image dark",style:s.value.style,src:s.value.imageDark,alt:s.value.alt}):null]),((d=t.heroInfo)==null?void 0:d.call(t,l.value))??f("div",{class:"vp-hero-infos"},[l.value.text?f(Sn,{appear:!0,delay:.04},()=>f("h1",{id:"main-title"},l.value.text)):null,l.value.tagline?f(Sn,{appear:!0,delay:.08},()=>f("p",{id:"main-description",innerHTML:l.value.tagline})):null,a.value.length?f(Sn,{appear:!0,delay:.12},()=>f("p",{class:"vp-hero-actions"},a.value.map(p=>f(Xe,{class:["vp-hero-action",p.type||"default"],config:p,noExternalLinkIcon:!0},p.icon?{before:()=>f(Ke,{icon:p.icon})}:{})))):null])])])}}});const Zu=(e,{slots:t})=>{var p,h,m;const{bgImage:n,bgImageDark:r,bgImageStyle:o,color:l,description:s,image:i,imageDark:a,header:c,highlights:u=[],type:d="un-order"}=e;return f("div",{class:"vp-highlight-wrapper",style:l?{color:l}:{}},[n?f("div",{class:["vp-highlight-bg",{light:r}],style:[{"background-image":`url(${n})`},o]}):null,r?f("div",{class:"vp-highlight-bg dark",style:[{"background-image":`url(${r})`},o]}):null,f("div",{class:"vp-highlight"},[((p=t.image)==null?void 0:p.call(t,e))||[i?f("img",{class:["vp-highlight-image",{light:a}],src:Ge(i),alt:""}):null,a?f("img",{class:"vp-highlight-image dark",src:Ge(a),alt:""}):null],((h=t.info)==null?void 0:h.call(t,e))||[f("div",{class:"vp-highlight-info-wrapper"},f("div",{class:"vp-highlight-info"},[c?f("h2",{class:"vp-highlight-header",innerHTML:c}):null,s?f("p",{class:"vp-highlight-description",innerHTML:s}):null,((m=t.highlights)==null?void 0:m.call(t,u))||f(d==="order"?"ol":d==="no-order"?"dl":"ul",{class:"vp-highlights"},u.map(({icon:_,title:b,details:w,link:C})=>{const y=[f(d==="no-order"?"dt":"h3",{class:"vp-highlight-title"},[_?f(Ke,{class:"vp-highlight-icon",icon:_}):null,f("span",{innerHTML:b})]),w?f(d==="no-order"?"dd":"p",{class:"vp-highlight-details",innerHTML:w}):null];return f(d==="no-order"?"div":"li",{class:["vp-highlight-item-wrapper",{link:C}]},C?jn(C)?f("a",{class:"vp-highlight-item link",href:C,"aria-label":b,target:"_blank"},y):f(Je,{class:"vp-highlight-item link",to:C,"aria-label":b},()=>y):f("div",{class:"vp-highlight-item"},y))}))]))]])])};Zu.displayName="HighlightPanel";var av=Zu,cv=V({name:"HomePage",slots:Object,setup(e,{slots:t}){const n=Dr(),r=Ae(),o=T(()=>{const{features:s}=r.value;return kl(s)?s:null}),l=T(()=>{const{highlights:s}=r.value;return kl(s)?s:null});return()=>{var s,i,a,c;return f("main",{id:"main-content",class:["vp-project-home ",{pure:n.value}],"aria-labelledby":r.value.heroText===null?"":"main-title"},[(s=t.top)==null?void 0:s.call(t),f(iv),((i=l.value)==null?void 0:i.map(u=>"features"in u?f(zi,u):f(av,u)))||(o.value?f(Sn,{appear:!0,delay:.24},()=>f(zi,{features:o.value})):null),(a=t.center)==null?void 0:a.call(t),f(Sn,{appear:!0,delay:.32},()=>f(Bu)),(c=t.bottom)==null?void 0:c.call(t)])}}}),uv=V({name:"BreadCrumb",setup(){const e=Le(),t=Xt(),n=Ae(),r=ye(),o=Fe([]),l=T(()=>(n.value.breadcrumb||n.value.breadcrumb!==!1&&r.value.breadcrumb!==!1)&&o.value.length>1),s=T(()=>n.value.breadcrumbIcon||n.value.breadcrumbIcon!==!1&&r.value.breadcrumbIcon!==!1),i=()=>{const a=sv(e.value.path,t.value).map(({link:c,name:u})=>{const{path:d,meta:p,notFound:h}=Lo(c);return h||p[kt.breadcrumbExclude]?null:{title:p[kt.shortTitle]||p[kt.title]||u,icon:p[kt.icon],path:d}}).filter(c=>c!==null);a.length>1&&(o.value=a)};return Ee(()=>{ve(()=>e.value.path,i,{immediate:!0})}),()=>f("nav",{class:["vp-breadcrumb",{disable:!l.value}]},l.value?f("ol",{vocab:"https://schema.org/",typeof:"BreadcrumbList"},o.value.map((a,c)=>f("li",{class:{"is-active":o.value.length-1===c},property:"itemListElement",typeof:"ListItem"},[f(Je,{to:a.path,property:"item",typeof:"WebPage"},()=>[s.value?f(Ke,{icon:a.icon}):null,f("span",{property:"name"},a.title||"Unknown")]),f("meta",{property:"position",content:c+1})]))):[])}});const Ui=e=>e===!1||qn(e)?e:Pe(e)?Mn(e,!0):null,Ll=(e,t,n)=>{const r=e.findIndex(o=>o.link===t);if(r!==-1){const o=e[r+n];return o!=null&&o.link?o:null}for(const o of e)if("children"in o){const l=Ll(o.children,t,n);if(l)return l}return null};var fv=V({name:"PageNav",setup(){const e=ye(),t=Ae(),n=vs(),r=Le(),o=hs(),l=T(()=>{const i=Ui(t.value.prev);return i===!1?null:i||(e.value.prevLink===!1?null:Ll(n.value,r.value.path,-1))}),s=T(()=>{const i=Ui(t.value.next);return i===!1?null:i||(e.value.nextLink===!1?null:Ll(n.value,r.value.path,1))});return Ne("keydown",i=>{i.altKey&&(i.key==="ArrowRight"?s.value&&(o(s.value.link),i.preventDefault()):i.key==="ArrowLeft"&&l.value&&(o(l.value.link),i.preventDefault()))}),()=>l.value||s.value?f("nav",{class:"vp-page-nav"},[l.value?f(Xe,{class:"prev",config:l.value},()=>{var i,a;return[f("div",{class:"hint"},[f("span",{class:"arrow start"}),e.value.metaLocales.prev]),f("div",{class:"link"},[f(Ke,{icon:(i=l.value)==null?void 0:i.icon}),(a=l.value)==null?void 0:a.text])]}):null,s.value?f(Xe,{class:"next",config:s.value},()=>{var i,a;return[f("div",{class:"hint"},[e.value.metaLocales.next,f("span",{class:"arrow end"})]),f("div",{class:"link"},[(i=s.value)==null?void 0:i.text,f(Ke,{icon:(a=s.value)==null?void 0:a.icon})])]}):null]):null}});const dv={GitHub:":repo/edit/:branch/:path",GitLab:":repo/-/edit/:branch/:path",Gitee:":repo/edit/:branch/:path",Bitbucket:":repo/src/:branch/:path?mode=edit&spa=0&at=:branch&fileviewer=file-view-default"},pv=({docsRepo:e,docsBranch:t,docsDir:n,filePathRelative:r,editLinkPattern:o})=>{if(!r)return null;const l=cu(e);let s;return o?s=o:l!==null&&(s=dv[l]),s?s.replace(/:repo/u,gn(e)?e:`https://github.com/${e}`).replace(/:branch/u,t).replace(/:path/u,ac(`${es(n)}/${r}`)):null},hv=()=>{const e=ye(),t=Le(),n=Ae();return T(()=>{const{repo:r,docsRepo:o=r,docsBranch:l="main",docsDir:s="",editLink:i,editLinkPattern:a=""}=e.value;if(!(n.value.editLink??i??!0)||!o)return null;const c=pv({docsRepo:o,docsBranch:l,docsDir:s,editLinkPattern:a,filePathRelative:t.value.filePathRelative});return c?{text:e.value.metaLocales.editLink,link:c}:null})},vv=()=>{const e=To(),t=ye(),n=Le(),r=Ae();return T(()=>{var o,l;return!(r.value.lastUpdated??t.value.lastUpdated??!0)||!((o=n.value.git)!=null&&o.updatedTime)?null:new Date((l=n.value.git)==null?void 0:l.updatedTime).toLocaleString(e.value.lang)})},mv=()=>{const e=ye(),t=Le(),n=Ae();return T(()=>{var r;return n.value.contributors??e.value.contributors??!0?((r=t.value.git)==null?void 0:r.contributors)??null:null})};var gv=V({name:"PageTitle",setup(){const e=Le(),t=Ae(),n=ye(),{info:r,items:o}=w3();return()=>f("div",{class:"vp-page-title"},[f("h1",[n.value.titleIcon===!1?null:f(Ke,{icon:t.value.icon}),e.value.title]),f(nv,{info:r.value,...o.value===null?{}:{items:o.value}}),f("hr")])}});const ef=()=>f(Ie,{name:"edit"},()=>[f("path",{d:"M430.818 653.65a60.46 60.46 0 0 1-50.96-93.281l71.69-114.012 7.773-10.365L816.038 80.138A60.46 60.46 0 0 1 859.225 62a60.46 60.46 0 0 1 43.186 18.138l43.186 43.186a60.46 60.46 0 0 1 0 86.373L588.879 565.55l-8.637 8.637-117.466 68.234a60.46 60.46 0 0 1-31.958 11.229z"}),f("path",{d:"M728.802 962H252.891A190.883 190.883 0 0 1 62.008 771.98V296.934a190.883 190.883 0 0 1 190.883-192.61h267.754a60.46 60.46 0 0 1 0 120.92H252.891a69.962 69.962 0 0 0-69.098 69.099V771.98a69.962 69.962 0 0 0 69.098 69.098h475.911A69.962 69.962 0 0 0 797.9 771.98V503.363a60.46 60.46 0 1 1 120.922 0V771.98A190.883 190.883 0 0 1 728.802 962z"})]);ef.displayName="EditIcon";var yv=V({name:"PageMeta",setup(){const e=ye(),t=hv(),n=vv(),r=mv();return()=>{const{metaLocales:o}=e.value;return f("footer",{class:"page-meta"},[t.value?f("div",{class:"meta-item edit-link"},f(Xe,{class:"label",config:t.value},{before:()=>f(ef)})):null,f("div",{class:"meta-item git-info"},[n.value?f("div",{class:"update-time"},[f("span",{class:"label"},`${o.lastUpdated}: `),f(Ao,()=>f("span",{class:"info"},n.value))]):null,r.value&&r.value.length?f("div",{class:"contributors"},[f("span",{class:"label"},`${o.contributors}: `),r.value.map(({email:l,name:s},i)=>[f("span",{class:"contributor",title:`email: ${l}`},s),i!==r.value.length-1?",":""])]):null])])}}}),bv=V({name:"NormalPage",slots:Object,setup(e,{slots:t}){const n=Ae(),{isDarkmode:r}=Fr(),o=ye(),l=T(()=>n.value.toc||n.value.toc!==!1&&o.value.toc!==!1);return()=>f("main",{id:"main-content",class:"vp-page"},f(ft("LocalEncrypt")?gt("LocalEncrypt"):eu,()=>{var s,i,a,c;return[(s=t.top)==null?void 0:s.call(t),n.value.cover?f("div",{class:"page-cover"},f("img",{src:Ge(n.value.cover),alt:"","no-view":""})):null,f(uv),f(gv),l.value?f(ov,{headerDepth:n.value.headerDepth??o.value.headerDepth??2},{before:()=>{var u;return(u=t.tocBefore)==null?void 0:u.call(t)},after:()=>{var u;return(u=t.tocAfter)==null?void 0:u.call(t)}}):null,(i=t.contentBefore)==null?void 0:i.call(t),f(Bu),(a=t.contentAfter)==null?void 0:a.call(t),f(yv),f(fv),ft("CommentService")?f(gt("CommentService"),{darkmode:r.value}):null,(c=t.bottom)==null?void 0:c.call(t)]}))}}),_v=V({name:"Layout",slots:Object,setup(e,{slots:t}){ye();const n=Le(),r=Ae(),{isMobile:o}=Oo(),l=T(()=>"none");return()=>[f(Yu),f(Hu,{},{default:()=>{var s;return((s=t.default)==null?void 0:s.call(t))||(r.value.home?f(cv):f(Ju,()=>f(bv,{key:n.value.path},{top:()=>{var i;return(i=t.top)==null?void 0:i.call(t)},bottom:()=>{var i;return(i=t.bottom)==null?void 0:i.call(t)},contentBefore:()=>{var i;return(i=t.contentBefore)==null?void 0:i.call(t)},contentAfter:()=>{var i;return(i=t.contentAfter)==null?void 0:i.call(t)},tocBefore:()=>{var i;return(i=t.tocBefore)==null?void 0:i.call(t)},tocAfter:()=>{var i;return(i=t.tocAfter)==null?void 0:i.call(t)}})))},...l.value==="none"?{}:{navScreenBottom:()=>f(gt("BloggerInfo"))},...!o.value&&l.value==="always"?{sidebar:()=>f(gt("BloggerInfo"))}:{}})]}}),wv=V({name:"NotFoundHint",setup(){const e=ye(),t=()=>{const n=e.value.routeLocales.notFoundMsg;return n[Math.floor(Math.random()*n.length)]};return()=>f("div",{class:"not-found-hint"},[f("p",{class:"error-code"},"404"),f("h1",{class:"error-title"},e.value.routeLocales.notFoundTitle),f("p",{class:"error-hint"},t())])}}),Ev=V({name:"NotFound",slots:Object,setup(e,{slots:t}){const n=yn(),r=Xt(),o=ye();return()=>[f(Yu),f(Hu,{noSidebar:!0},()=>{var l;return f("main",{id:"main-content",class:"vp-page not-found"},((l=t.default)==null?void 0:l.call(t))||[f(wv),f("div",{class:"actions"},[f("button",{type:"button",class:"action-button",onClick:()=>{window.history.go(-1)}},o.value.routeLocales.back),f("button",{type:"button",class:"action-button",onClick:()=>{n.push(o.value.home??r.value)}},o.value.routeLocales.home)])])})]}});const tf=()=>f(Ie,{name:"lock"},()=>f("path",{d:"M787.168 952.268H236.832c-30.395 0-55.033-24.638-55.033-55.033V429.45c0-30.395 24.638-55.034 55.033-55.034h82.55V264.35c0-106.38 86.238-192.618 192.618-192.618S704.618 157.97 704.618 264.35v110.066h82.55c30.395 0 55.033 24.639 55.033 55.034v467.785c0 30.395-24.639 55.033-55.033 55.033zM484.483 672.046v115.122h55.034V672.046c31.99-11.373 55.033-41.605 55.033-77.496 0-45.592-36.958-82.55-82.55-82.55s-82.55 36.958-82.55 82.55c0 35.89 23.042 66.123 55.033 77.496zM622.067 264.35c0-60.788-49.28-110.067-110.067-110.067s-110.067 49.28-110.067 110.067v110.066h220.135V264.35z"}));tf.displayName="LockIcon";var kv={};const wn="./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),rl=Array.from({length:64},(e,t)=>t),Zr=e=>Array(e).fill(-1),Nt=[...Zr(46),0,1,...rl.slice(54,64),...Zr(7),...rl.slice(2,28),...Zr(6),...rl.slice(28,54),...Zr(5)],qi=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],Wi=[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946,1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055,3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504,976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462],nf=[1332899944,1700884034,1701343084,1684370003,1668446532,1869963892],Al=(e,t)=>{if(t<=0||t>e.length)throw Error(`Illegal len: ${t}`);let n=0,r,o;const l=[];for(;n>2&63]),r=(r&3)<<4,n>=t){l.push(wn[r&63]);break}if(o=e[n++]&255,r|=o>>4&15,l.push(wn[r&63]),r=(o&15)<<2,n>=t){l.push(wn[r&63]);break}o=e[n++]&255,r|=o>>6&3,l.push(wn[r&63]),l.push(wn[o&63])}return l.join("")},Cv=(e,t)=>{if(t<=0)throw Error(`Illegal len: ${t}`);const n=e.length;let r=0,o=0,l,s,i,a,c,u;const d=[];for(;r>>0,c|=(s&48)>>4,d.push(String.fromCharCode(c)),++o>=t||r>=n)||(u=e.charCodeAt(r++),i=u>>0,c|=(i&60)>>2,d.push(String.fromCharCode(c)),++o>=t||r>=n)));)u=e.charCodeAt(r++),a=u>>0,c|=a,d.push(String.fromCharCode(c)),++o;return d.map(p=>p.charCodeAt(0))},xv=(e,t)=>{let n=null;for(typeof e=="number"&&(n=e,e=()=>null);n!==null||(n=e())!==null;)n<128?t(n&127):n<2048?(t(n>>6&31|192),t(n&63|128)):n<65536?(t(n>>12&15|224),t(n>>6&63|128),t(n&63|128)):(t(n>>18&7|240),t(n>>12&63|128),t(n>>6&63|128),t(n&63|128)),n=null},Sv=(e,t)=>{let n,r=null;for(;(n=r!==null?r:e())!==null;){if(n>=55296&&n<=57343&&(r=e())!==null&&r>=56320&&r<=57343){t((n-55296)*1024+r-56320+65536),r=null;continue}t(n)}r!==null&&t(r)},Tv=(e,t)=>{Sv(e,function(n){xv(n,t)})},Lv=typeof process=="object"&&kv.NEXT_RUNTIME==="edge"?setTimeout:typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:setTimeout,Av=e=>{const t=[];let n=0;return Tv(()=>n>=e.length?null:e.charCodeAt(n++),r=>{t.push(r)}),t},wr=(e,t,n,r)=>{let o,l=e[t],s=e[t+1];return l^=n[0],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[1],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[2],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[3],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[4],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[5],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[6],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[7],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[8],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[9],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[10],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[11],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[12],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[13],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[14],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[15],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[16],e[t]=s^n[17],e[t+1]=l,e},Cn=(e,t)=>{let n=0;for(let r=0;r<4;++r)n=n<<8|e[t]&255,t=(t+1)%e.length;return{key:n,offp:t}},Gi=(e,t,n)=>{const r=t.length,o=n.length;let l=0,s=[0,0],i;for(let a=0;a{const o=n.length,l=r.length;let s=0,i=[0,0],a;for(let c=0;c{const l=nf.slice(),s=l.length;if(n<4||n>31){const p=new Error(`Illegal number of rounds (4-31): ${n}`);if(r===!1)return Promise.reject(p);throw p}if(t.length!==16){const p=new Error(`Illegal salt length: ${t.length} != 16`);if(r===!1)return Promise.reject(p);throw p}n=1<>>0;let i,a,c=0,u;Int32Array?(i=new Int32Array(qi),a=new Int32Array(Wi)):(i=qi.slice(),a=Wi.slice()),Iv(t,e,i,a);const d=()=>{if(o&&o(c/n),c100)););}else{for(c=0;c<64;c++)for(u=0;u>1;u++)wr(l,u<<1,i,a);const p=[];for(c=0;c>24&255)>>>0),p.push((l[c]>>16&255)>>>0),p.push((l[c]>>8&255)>>>0),p.push((l[c]&255)>>>0);return r===!1?Promise.resolve(p):p}if(r===!1)return new Promise(p=>Lv(()=>{d().then(p)}))};if(r===!1)return d();{let p;for(;;)if(typeof(p=d())<"u")return p||[]}},Ov=e=>{try{let t;typeof window<"u"?t=window.crypto??window.msCrypto:t=globalThis.crypto;const n=new Uint32Array(e);return t==null||t.getRandomValues(n),Array.from(n)}catch{throw Error("WebCryptoAPI is not available")}},Pv=(e=10)=>{if(typeof e!="number")throw Error("Illegal arguments: "+typeof e);e<4?e=4:e>31&&(e=31);const t=[];return t.push("$2a$"),e<10&&t.push("0"),t.push(e.toString()),t.push("$"),t.push(Al(Ov(16),16)),t.join("")};function $v(e,t,n,r){if(typeof e!="string"||typeof t!="string"){const h=new Error("Invalid string / salt: Not a string");if(n===!1)return Promise.reject(h);throw h}let o,l;if(t.charAt(0)!=="$"||t.charAt(1)!=="2"){const h=new Error("Invalid salt version: "+t.substring(0,2));if(n===!1)return Promise.reject(h);throw h}if(t.charAt(2)==="$")o="\0",l=3;else{if(o=t.charAt(2),o!=="a"&&o!=="b"&&o!=="y"||t.charAt(3)!=="$"){const h=Error("Invalid salt revision: "+t.substring(2,4));if(n===!1)return Promise.reject(h);throw h}l=4}if(t.charAt(l+2)>"$"){const h=new Error("Missing salt rounds");if(n===!1)return Promise.reject(h);throw h}const s=parseInt(t.substring(l,l+1),10)*10,i=parseInt(t.substring(l+1,l+2),10),a=s+i,c=t.substring(l+3,l+25);e+=o>="a"?"\0":"";const u=Av(e),d=Cv(c,16),p=h=>{const m=[];return m.push("$2"),o>="a"&&m.push(o),m.push("$"),a<10&&m.push("0"),m.push(a.toString()),m.push("$"),m.push(Al(d,d.length)),m.push(Al(h,nf.length*4-1)),m.join("")};return n===!1?Ki(u,d,a,!1,r).then(h=>p(h)):p(Ki(u,d,a,!0,r))}const Rv=(e,t=10)=>{if(typeof t=="number"&&(t=Pv(t)),typeof e!="string"||typeof t!="string")throw Error("Illegal arguments: "+typeof e+", "+typeof t);return $v(e,t,!0)},Il=(e,t)=>{if(typeof e!="string"||typeof t!="string")throw Error("Illegal arguments: "+typeof e+", "+typeof t);return t.length!==60?!1:Rv(e,t.substring(0,t.length-31))===t};var rf=V({name:"PasswordModal",props:{full:Boolean},emits:["verify"],setup(e,{emit:t}){const n=Ae(),r=ye(),o=Y(""),l=Y(!1),s=Y(!1),i=T(()=>r.value.encryptLocales);let a=null;const c=()=>{a&&clearTimeout(a),l.value=!1,t("verify",o.value,s.value),Qt().then(()=>{l.value=!0,a=setTimeout(()=>{l.value=!1},1e3)})};return()=>f("div",{class:["vp-decrypt-layer",{expand:e.full||n.value.home}]},f("div",{class:"vp-decrypt-modal"},[f("div",{class:["vp-decrypt-hint",{tried:l.value}]},l.value?i.value.errorHint:f(tf,{"aria-label":i.value.iconLabel})),f("div",{class:"vp-decrypt-input"},[f("input",{type:"password",value:o.value,placeholder:i.value.placeholder,onInput:({target:u})=>{o.value=u.value},onKeydown:({key:u})=>{u==="Enter"&&c()}})]),f("div",{class:"vp-remember-password"},[f("input",{type:"checkbox",value:s.value,onChange:()=>s.value=!s.value}),i.value.remember]),f("button",{type:"button",class:"vp-decrypt-submit",onClick:()=>c()},"OK")]))}});const of=()=>{const e=en();return T(()=>e.value.encrypt||{})},Yi="VUEPRESS_HOPE_GLOBAL_TOKEN",Mv=()=>{const e=of(),t=Gn(Yi,""),n=Bc(Yi,""),r=T(()=>{const{global:l=!1,admin:s=[]}=e.value;return l&&s.length>0}),o=T(()=>{if(r.value){if(t.value)return e.value.admin.some(l=>Il(t.value,l));if(n.value)return e.value.admin.some(l=>Il(n.value,l))}return!1});return{isEncrypted:r,isDecrypted:o,validate:(l,s=!1)=>{(s?t:n).value=l}}},ol=(e="",t)=>!!e&&Il(e,t),Qi="VUEPRESS_HOPE_PATH_TOKEN",Nv=()=>{const e=Le(),t=of(),n=Gn(Qi,{}),r=Bc(Qi,{}),o=s=>qn(t.value.config)?Zt(t.value.config).filter(i=>Vn(decodeURI(s),i)).sort((i,a)=>a.length-i.length):[],l=s=>{const i=o(s);if(i.length>0){const{config:a={}}=t.value;return{isEncrypted:!0,isDecrypted:i.some(c=>n.value[c]&&a[c].some(u=>ol(n.value[c],u))||r.value[c]&&a[c].some(u=>ol(r.value[c],u)))}}return{isDecrypted:!1,isEncrypted:!1}};return{status:T(()=>l(e.value.path)),getStatus:l,validate:(s,i=!1)=>{const{config:a={}}=t.value,c=o(e.value.path);for(const u of c)if(a[u].filter(d=>ol(s,d))){(i?n:r).value[u]=s;break}}}};var Dv=V({name:"GlobalEncrypt",slots:Object,setup(e,{slots:t}){const{isDecrypted:n,isEncrypted:r,validate:o}=Mv(),l=Y(!1);return Ee(()=>{l.value=!0}),()=>f(Ju,()=>r.value?l.value?n.value?t.default():f(rf,{full:!0,onVerify:o}):null:t.default())}}),Fv=V({name:"LocalEncrypt",slots:Object,setup(e,{slots:t}){const{status:n,validate:r}=Nv(),o=Y(!1);return Ee(()=>{o.value=!0}),()=>{const{isEncrypted:l,isDecrypted:s}=n.value;return l?o.value?s?t.default():f(rf,{full:!0,onVerify:r}):null:t.default()}}});fh(e=>{const t=e.t,n=e.I!==!1,r=e.i;return n?{title:t,content:r?()=>[f(Ke,{icon:r}),t]:null,order:e.O,index:e.I}:null});const jv=et({enhance:({app:e,router:t})=>{const{scrollBehavior:n}=t.options;t.options.scrollBehavior=async(...r)=>(await Qu().wait(),n(...r)),C3(e),e.component("HopeIcon",Ke),e.component("GlobalEncrypt",Dv),e.component("LocalEncrypt",Fv)},setup:()=>{x3(),I3()},layouts:{Layout:_v,NotFound:Ev}}),Hv=e=>(Tr("data-v-3b58f839"),e=e(),Lr(),e),Bv={class:"item-card"},Vv={class:"item-name"},zv={class:"item-description"},Uv={class:"item-bar"},qv=["href"],Wv=Hv(()=>se("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},[se("path",{fill:"currentColor",d:"m7.775 3.275l1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0a.751.751 0 0 1 .018-1.042a.751.751 0 0 1 1.042-.018a1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018a.751.751 0 0 1-.018-1.042m-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018a.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0a.751.751 0 0 1-.018 1.042a.751.751 0 0 1-1.042.018a1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83"})],-1)),Gv=[Wv],Kv=["href"],Yv=["src"],Qv={class:"author-name"},Jv=V({__name:"ResItemCard",props:{item:Object},setup(e){const t=e;return(n,r)=>(yt(),Gt("div",Bv,[se("div",Vv,zt(t.item.name),1),se("div",zv,zt(t.item.description),1),se("div",Uv,[dn(' 三个可点击svg,一个github,一个下载,一个可点击"https://github.com/{{ username }}.png?size=80"个人头像配上id'),se("a",{href:t.item.link,class:""},Gv,8,qv),se("div",null,[se("a",{class:"author-info",href:`https://github.com/${t.item.author}`},[se("img",{class:"icon avatar",src:`https://github.com/${t.item.author}.png?size=80`,alt:""},null,8,Yv),se("div",Qv,zt(t.item.author),1)],8,Kv)])])]))}}),bn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},Xv=bn(Jv,[["__scopeId","data-v-3b58f839"],["__file","ResItemCard.vue"]]),Zv=e=>(Tr("data-v-002d38b2"),e=e(),Lr(),e),e4={class:"market"},t4=Zv(()=>se("h1",null,"主题/资源商店",-1)),n4={class:"search-box-div"},r4={class:"items"},o4=V({__name:"ResStore",setup(e){let t=T(()=>r.value?n.value.filter(o=>o.name.toLowerCase().includes(r.value.toLowerCase())||o.description.toLowerCase().includes(r.value.toLowerCase())||o.author.toLowerCase().includes(r.value.toLowerCase())).reverse():n.value.reverse()),n=Y([]),r=Y("");return fetch("/assets/resources.json").then(o=>o.json()).then(o=>{n.value=o}).catch(o=>console.error(o)),(o,l)=>(yt(),Gt("div",e4,[t4,se("div",n4,[Oa(se("input",{class:"item-search-box",type:"text",placeholder:"搜索资源","onUpdate:modelValue":l[0]||(l[0]=s=>Me(r)?r.value=s:r=s)},null,512),[[lc,rt(r)]])]),se("div",r4,[dn(" 使用filteredItems来布局商品 "),(yt(!0),Gt(Ue,null,Da(rt(t),s=>(yt(),Xl(Xv,{key:s.id,item:s},null,8,["item"]))),128))])]))}}),l4=bn(o4,[["__scopeId","data-v-002d38b2"],["__file","ResStore.vue"]]);var s4=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function i4(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var lf={exports:{}};/*! +`)(n):Promise.resolve({option:JSON.parse(e)});var I2=V({name:"ECharts",props:{config:{type:String,required:!0},id:{type:String,required:!0},title:{type:String,default:""},type:{type:String,default:"json"}},setup(e){const t=S2(),n=Y(!0),r=Fe();let o;return Ne("resize",Mc(()=>o==null?void 0:o.resize(),100)),Ee(()=>{Promise.all([ce(()=>import("./index-Cw_AvLww.js"),__vite__mapDeps([])),new Promise(l=>setTimeout(l,800))]).then(async([l])=>{var a;await((a=t.setup)==null?void 0:a.call(t)),o=l.init(r.value);const{option:s,...i}=await A2(El(e.config),e.type,o);o.resize(i),o.setOption({...t.option,...s}),n.value=!1})}),mn(()=>{o==null||o.dispose()}),()=>[e.title?f("div",{class:"echarts-title"},decodeURIComponent(e.title)):null,f("div",{class:"echarts-wrapper"},[f("div",{ref:r,class:"echarts-container",id:e.id}),n.value?f(fs,{class:"echarts-loading",height:360}):null])]}});const O2=()=>{Ne("beforeprint",()=>{document.querySelectorAll("details").forEach(e=>{e.open=!0})})},el=Gn("VUEPRESS_TAB_STORE",{});var P2=V({name:"Tabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},id:{type:String,required:!0},tabId:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const n=Y(e.active),r=Fe([]),o=()=>{e.tabId&&(el.value[e.tabId]=e.data[n.value].id)},l=(c=n.value)=>{n.value=c{n.value=c>0?c-1:r.value.length-1,r.value[n.value].focus()},i=(c,u)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=u):c.key==="ArrowRight"?(c.preventDefault(),l()):c.key==="ArrowLeft"&&(c.preventDefault(),s()),o()},a=()=>{if(e.tabId){const c=e.data.findIndex(({id:u})=>el.value[e.tabId]===u);if(c!==-1)return c}return e.active};return Ee(()=>{n.value=a(),ve(()=>el.value[e.tabId],(c,u)=>{if(e.tabId&&c!==u){const d=e.data.findIndex(({id:p})=>p===c);d!==-1&&(n.value=d)}})}),()=>e.data.length?f("div",{class:"vp-tabs"},[f("div",{class:"vp-tabs-nav",role:"tablist"},e.data.map(({id:c},u)=>{const d=u===n.value;return f("button",{type:"button",ref:p=>{p&&(r.value[u]=p)},class:["vp-tab-nav",{active:d}],role:"tab","aria-controls":`tab-${e.id}-${u}`,"aria-selected":d,onClick:()=>{n.value=u,o()},onKeydown:p=>i(p,u)},t[`title${u}`]({value:c,isActive:d}))})),e.data.map(({id:c},u)=>{const d=u===n.value;return f("div",{class:["vp-tab",{active:d}],id:`tab-${e.id}-${u}`,role:"tabpanel","aria-expanded":d},[f("div",{class:"vp-tab-title"},t[`title${u}`]({value:c,isActive:d})),t[`tab${u}`]({value:c,isActive:d})])})]):null}});const $2=et({enhance:({app:e})=>{e.component("CodeTabs",Xh),ft("CodeGroup",e)||e.component("CodeGroup",Zh),ft("CodeGroupItem",e)||e.component("CodeGroupItem",Zc),e.component("CodeDemo",k2),e.component("MdDemo",C2),e.component("ECharts",I2),T2(e),e.component("Tabs",P2)},setup:()=>{O2()}});let R2={};const mu=Symbol(""),M2=()=>De(mu),N2=e=>{e.provide(mu,R2)},D2='
',F2=e=>Pe(e)?Array.from(document.querySelectorAll(e)):e.map(t=>Array.from(document.querySelectorAll(t))).flat(),gu=e=>new Promise((t,n)=>{e.complete?t({type:"image",element:e,src:e.src,width:e.naturalWidth,height:e.naturalHeight,alt:e.alt,msrc:e.src}):(e.onload=()=>t(gu(e)),e.onerror=r=>n(r))}),j2=e=>{const{isSupported:t,toggle:n}=cs();e.on("uiRegister",()=>{t.value&&e.ui.registerElement({name:"fullscreen",order:7,isButton:!0,html:'',onClick:()=>{n()}}),e.ui.registerElement({name:"download",order:8,isButton:!0,tagName:"a",html:{isCustomSVG:!0,inner:'',outlineID:"pswp__icn-download"},onInit:(r,o)=>{r.setAttribute("download",""),r.setAttribute("target","_blank"),r.setAttribute("rel","noopener"),o.on("change",()=>{r.setAttribute("href",o.currSlide.data.src)})}}),e.ui.registerElement({name:"bulletsIndicator",className:"photo-swipe-bullets-indicator",appendTo:"wrapper",onInit:(r,o)=>{const l=[];let s=-1;for(let i=0;i{o.goTo(l.indexOf(c.target))},l.push(a),r.appendChild(a)}o.on("change",()=>{s>=0&&l[s].classList.remove("active"),l[o.currIndex].classList.add("active"),s=o.currIndex})}})})},B2=(e,t,n=!0)=>ce(()=>import("./photoswipe.esm-SzV8tJDW.js"),__vite__mapDeps([])).then(({default:r})=>{let o=null;const l=e.map(s=>({html:D2,element:s,msrc:s.src}));return e.forEach((s,i)=>{const a=()=>{o==null||o.destroy(),o=new r({preloaderDelay:0,showHideAnimationType:"zoom",...t,dataSource:l,index:i,...n?{closeOnVerticalDrag:!0,wheelToZoom:!1}:{}}),j2(o),o.addFilter("thumbEl",()=>s),o.addFilter("placeholderSrc",()=>s.src),o.init()};s.getAttribute("photo-swipe")||(s.style.cursor="zoom-in",s.addEventListener("click",()=>{a()}),s.addEventListener("keypress",({key:c})=>{c==="Enter"&&a()}),s.setAttribute("photo-swipe","")),gu(s).then(c=>{l.splice(i,1,c),o==null||o.refreshSlideContent(i)})}),n?Ne("wheel",()=>{o==null||o.close()}):()=>{}}),H2=({selector:e,locales:t,delay:n=500,scrollToClose:r=!0})=>{const o=M2(),l=$r(t),s=Le(),i=Ae();let a=null;const c=()=>{const{photoSwipe:u}=i.value;u!==!1&&Qt().then(()=>Ic(n)).then(async()=>{const d=Pe(u)?u:e;a=await B2(F2(d),{...o,...l.value},r)})};Ee(()=>{c(),ve(()=>s.value.path,()=>{a==null||a(),c()})}),mn(()=>{a==null||a()})};var V2={"/en/":{closeTitle:"Close",downloadTitle:"Download Image",fullscreenTitle:"Switch to full screen",zoomTitle:"Zoom in/out",arrowPrevTitle:"Prev (Arrow Left)",arrowNextTitle:"Next (Arrow Right)"},"/":{closeTitle:"关闭",downloadTitle:"下载图片",fullscreenTitle:"切换全屏",zoomTitle:"缩放",arrowPrevTitle:"上一个 (左箭头)",arrowNextTitle:"下一个 (右箭头)"}};const z2=".theme-hope-content :not(a) > img:not([no-view])",U2=V2,q2=800,W2=!0,G2=et({enhance:({app:e})=>{N2(e)},setup:()=>{H2({selector:z2,delay:q2,locales:U2,scrollToClose:W2})}}),K2=e=>e instanceof Element?document.activeElement===e&&(["TEXTAREA","SELECT","INPUT"].includes(e.tagName)||e.hasAttribute("contenteditable")):!1,Y2=(e,t)=>t.some(n=>{if(Pe(n))return n===e.key;const{key:r,ctrl:o=!1,shift:l=!1,alt:s=!1}=n;return r===e.key&&o===e.ctrlKey&&l===e.shiftKey&&s===e.altKey}),Q2=/[^\x00-\x7F]/,J2=e=>e.split(/\s+/g).map(t=>t.trim()).filter(t=>!!t),Di=e=>e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),Fi=(e,t)=>{const n=t.join(" "),r=J2(e);if(Q2.test(e))return r.some(s=>n.toLowerCase().indexOf(s)>-1);const o=e.endsWith(" ");return new RegExp(r.map((s,i)=>r.length===i+1&&!o?`(?=.*\\b${Di(s)})`:`(?=.*\\b${Di(s)}\\b)`).join("")+".+","gi").test(n)},X2=({input:e,hotKeys:t})=>{if(t.value.length===0)return;const n=r=>{e.value&&Y2(r,t.value)&&!K2(r.target)&&(r.preventDefault(),e.value.focus())};Ee(()=>{document.addEventListener("keydown",n)}),Yl(()=>{document.removeEventListener("keydown",n)})},Z2=[{title:"首页",headers:[],path:"/",pathLocale:"/",extraFields:[]},{title:"项目部署",headers:[],path:"/deploy/",pathLocale:"/",extraFields:[]},{title:"配置",headers:[{level:2,title:"基础配置项",slug:"基础配置项",link:"#基础配置项",children:[]},{level:2,title:"其他配置",slug:"其他配置",link:"#其他配置",children:[]},{level:2,title:"与NoneBot对接的OneBot实现端配置",slug:"与nonebot对接的onebot实现端配置",link:"#与nonebot对接的onebot实现端配置",children:[]},{level:2,title:"其他",slug:"其他",link:"#其他",children:[]}],path:"/deploy/config.html",pathLocale:"/",extraFields:[]},{title:"答疑",headers:[{level:2,title:"常见问题",slug:"常见问题",link:"#常见问题",children:[]},{level:2,title:"推荐方案(QQ)",slug:"推荐方案-qq",link:"#推荐方案-qq",children:[]},{level:2,title:"推荐方案(Minecraft)",slug:"推荐方案-minecraft",link:"#推荐方案-minecraft",children:[]},{level:2,title:"鸣谢",slug:"鸣谢",link:"#鸣谢",children:[]}],path:"/deploy/fandq.html",pathLocale:"/",extraFields:[]},{title:"安装",headers:[{level:2,title:"开始安装",slug:"开始安装",link:"#开始安装",children:[{level:3,title:"常规部署",slug:"常规部署",link:"#常规部署",children:[]},{level:3,title:"使用Docker构建镜像部署",slug:"使用docker构建镜像部署",link:"#使用docker构建镜像部署",children:[]},{level:3,title:"使用TRSS Scripts部署",slug:"使用trss-scripts部署",link:"#使用trss-scripts部署",children:[]}]},{level:2,title:"设备要求",slug:"设备要求",link:"#设备要求",children:[]}],path:"/deploy/install.html",pathLocale:"/",extraFields:[]},{title:"开发及贡献",headers:[],path:"/dev/",pathLocale:"/",extraFields:[]},{title:"进程通信",headers:[{level:2,title:"通道通信",slug:"通道通信",link:"#通道通信",children:[{level:3,title:"简介",slug:"简介",link:"#简介",children:[]},{level:3,title:"示例",slug:"示例",link:"#示例",children:[]}]},{level:2,title:"共享内存通信",slug:"共享内存通信",link:"#共享内存通信",children:[{level:3,title:"简介",slug:"简介-1",link:"#简介-1",children:[]},{level:3,title:"示例",slug:"示例-1",link:"#示例-1",children:[]}]}],path:"/dev/dev_comm.html",pathLocale:"/",extraFields:[]},{title:"轻雪函数",headers:[{level:2,title:"轻雪函数",slug:"轻雪函数",link:"#轻雪函数",children:[{level:3,title:"函数文件",slug:"函数文件",link:"#函数文件",children:[]},{level:3,title:"命令文档",slug:"命令文档",link:"#命令文档",children:[]},{level:3,title:"API",slug:"api",link:"#api",children:[]},{level:3,title:"结束关键字",slug:"结束关键字",link:"#结束关键字",children:[]}]}],path:"/dev/dev_lyfunc.html",pathLocale:"/",extraFields:[]},{title:"轻雪插件开发",headers:[{level:2,title:"简介",slug:"简介",link:"#简介",children:[]},{level:2,title:"开始",slug:"开始",link:"#开始",children:[{level:3,title:"创建插件",slug:"创建插件",link:"#创建插件",children:[]},{level:3,title:"编写逻辑部分",slug:"编写逻辑部分",link:"#编写逻辑部分",children:[]},{level:3,title:"加载插件",slug:"加载插件",link:"#加载插件",children:[]}]}],path:"/dev/dev_lyplugin.html",pathLocale:"/",extraFields:[]},{title:"资源包开发",headers:[{level:2,title:"简介",slug:"简介",link:"#简介",children:[]},{level:2,title:"加载资源包",slug:"加载资源包",link:"#加载资源包",children:[]}],path:"/dev/dev_resource_pack.html",pathLocale:"/",extraFields:[]},{title:"Home",headers:[],path:"/en/",pathLocale:"/en/",extraFields:[]},{title:"资源及插件商店",headers:[],path:"/store/",pathLocale:"/",extraFields:[]},{title:"插件商店",headers:[],path:"/store/plugin.html",pathLocale:"/",extraFields:[]},{title:"资源商店",headers:[],path:"/store/resource.html",pathLocale:"/",extraFields:[]},{title:"使用手册",headers:[],path:"/usage/",pathLocale:"/",extraFields:[]},{title:"用户协议",headers:[],path:"/usage/agreement.html",pathLocale:"/",extraFields:[]},{title:"基础命令",headers:[{level:2,title:"轻雪命令liteyuki_command",slug:"轻雪命令liteyuki-command",link:"#轻雪命令liteyuki-command",children:[{level:3,title:"命令别名",slug:"命令别名",link:"#命令别名",children:[]}]},{level:2,title:"插件/包管理器 liteyuki_pacman",slug:"插件-包管理器-liteyuki-pacman",link:"#插件-包管理器-liteyuki-pacman",children:[{level:3,title:"命令别名",slug:"命令别名-1",link:"#命令别名-1",children:[]}]},{level:2,title:"用户管理liteyuki_user",slug:"用户管理liteyuki-user",link:"#用户管理liteyuki-user",children:[]}],path:"/usage/basic_command.html",pathLocale:"/",extraFields:[]},{title:"功能命令",headers:[{level:2,title:"功能插件命令",slug:"功能插件命令",link:"#功能插件命令",children:[{level:3,title:"轻雪天气liteyuki_weather",slug:"轻雪天气liteyuki-weather",link:"#轻雪天气liteyuki-weather",children:[]},{level:3,title:"统计信息liteyuki_statistics",slug:"统计信息liteyuki-statistics",link:"#统计信息liteyuki-statistics",children:[]}]}],path:"/usage/extra_command.html",pathLocale:"/",extraFields:[]},{title:"Deploy",headers:[],path:"/en/deploy/",pathLocale:"/en/",extraFields:[]},{title:"Configuration",headers:[{level:2,title:"基础配置项",slug:"基础配置项",link:"#基础配置项",children:[]},{level:2,title:"其他配置",slug:"其他配置",link:"#其他配置",children:[]},{level:2,title:"与NoneBot对接的OneBot实现端配置",slug:"与nonebot对接的onebot实现端配置",link:"#与nonebot对接的onebot实现端配置",children:[]},{level:2,title:"其他",slug:"其他",link:"#其他",children:[]}],path:"/en/deploy/config.html",pathLocale:"/en/",extraFields:[]},{title:"FAQ",headers:[{level:2,title:"常见问题",slug:"常见问题",link:"#常见问题",children:[]},{level:2,title:"推荐方案(QQ)",slug:"推荐方案-qq",link:"#推荐方案-qq",children:[]},{level:2,title:"推荐方案(Minecraft)",slug:"推荐方案-minecraft",link:"#推荐方案-minecraft",children:[]},{level:2,title:"鸣谢",slug:"鸣谢",link:"#鸣谢",children:[]}],path:"/en/deploy/fandq.html",pathLocale:"/en/",extraFields:[]},{title:"Installation",headers:[{level:2,title:"Installation",slug:"installation",link:"#installation",children:[{level:3,title:"Conventional deployment",slug:"conventional-deployment",link:"#conventional-deployment",children:[]},{level:3,title:"Use docker",slug:"use-docker",link:"#use-docker",children:[]},{level:3,title:"Use TRSS Scripts",slug:"use-trss-scripts",link:"#use-trss-scripts",children:[]}]},{level:2,title:"Device requirements",slug:"device-requirements",link:"#device-requirements",children:[]}],path:"/en/deploy/install.html",pathLocale:"/en/",extraFields:[]},{title:"Contribute",headers:[],path:"/en/dev/",pathLocale:"/en/",extraFields:[]},{title:"Communication",headers:[{level:2,title:"通道通信",slug:"通道通信",link:"#通道通信",children:[{level:3,title:"简介",slug:"简介",link:"#简介",children:[]},{level:3,title:"示例",slug:"示例",link:"#示例",children:[]}]},{level:2,title:"共享内存通信",slug:"共享内存通信",link:"#共享内存通信",children:[{level:3,title:"简介",slug:"简介-1",link:"#简介-1",children:[]},{level:3,title:"示例",slug:"示例-1",link:"#示例-1",children:[]}]}],path:"/en/dev/dev_comm.html",pathLocale:"/en/",extraFields:[]},{title:"Liteyuki Function",headers:[{level:2,title:"轻雪函数",slug:"轻雪函数",link:"#轻雪函数",children:[{level:3,title:"函数文件",slug:"函数文件",link:"#函数文件",children:[]},{level:3,title:"命令文档",slug:"命令文档",link:"#命令文档",children:[]},{level:3,title:"API",slug:"api",link:"#api",children:[]},{level:3,title:"结束关键字",slug:"结束关键字",link:"#结束关键字",children:[]}]}],path:"/en/dev/dev_lyfunc.html",pathLocale:"/en/",extraFields:[]},{title:"Liteyuki Plugin",headers:[{level:2,title:"简介",slug:"简介",link:"#简介",children:[]},{level:2,title:"开始",slug:"开始",link:"#开始",children:[{level:3,title:"创建插件",slug:"创建插件",link:"#创建插件",children:[]},{level:3,title:"编写逻辑部分",slug:"编写逻辑部分",link:"#编写逻辑部分",children:[]},{level:3,title:"加载插件",slug:"加载插件",link:"#加载插件",children:[]}]}],path:"/en/dev/dev_lyplugin.html",pathLocale:"/en/",extraFields:[]},{title:"Resource Pack",headers:[{level:2,title:"简介",slug:"简介",link:"#简介",children:[]},{level:2,title:"加载资源包",slug:"加载资源包",link:"#加载资源包",children:[]}],path:"/en/dev/dev_resource_pack.html",pathLocale:"/en/",extraFields:[]},{title:"Extensions Store",headers:[],path:"/en/store/",pathLocale:"/en/",extraFields:[]},{title:"Plugin Store",headers:[],path:"/en/store/plugin.html",pathLocale:"/en/",extraFields:[]},{title:"Resource Store",headers:[],path:"/en/store/resource.html",pathLocale:"/en/",extraFields:[]},{title:"Usage",headers:[],path:"/en/usage/",pathLocale:"/en/",extraFields:[]},{title:"User Agreement",headers:[],path:"/en/usage/agreement.html",pathLocale:"/en/",extraFields:[]},{title:"Basic Commands",headers:[{level:2,title:"轻雪命令liteyuki_command",slug:"轻雪命令liteyuki-command",link:"#轻雪命令liteyuki-command",children:[{level:3,title:"命令别名",slug:"命令别名",link:"#命令别名",children:[]}]},{level:2,title:"插件/包管理器 liteyuki_pacman",slug:"插件-包管理器-liteyuki-pacman",link:"#插件-包管理器-liteyuki-pacman",children:[{level:3,title:"命令别名",slug:"命令别名-1",link:"#命令别名-1",children:[]}]},{level:2,title:"用户管理liteyuki_user",slug:"用户管理liteyuki-user",link:"#用户管理liteyuki-user",children:[]}],path:"/en/usage/basic_command.html",pathLocale:"/en/",extraFields:[]},{title:"Extra Commands",headers:[{level:2,title:"功能插件命令",slug:"功能插件命令",link:"#功能插件命令",children:[{level:3,title:"轻雪天气liteyuki_weather",slug:"轻雪天气liteyuki-weather",link:"#轻雪天气liteyuki-weather",children:[]},{level:3,title:"统计信息liteyuki_statistics",slug:"统计信息liteyuki-statistics",link:"#统计信息liteyuki-statistics",children:[]}]}],path:"/en/usage/extra_command.html",pathLocale:"/en/",extraFields:[]},{title:"",headers:[],path:"/404.html",pathLocale:"/",extraFields:[]}],e3=Y(Z2),t3=()=>e3,n3=({searchIndex:e,routeLocale:t,query:n,maxSuggestions:r})=>{const o=T(()=>e.value.filter(l=>l.pathLocale===t.value));return T(()=>{const l=n.value.trim().toLowerCase();if(!l)return[];const s=[],i=(a,c)=>{Fi(l,[c.title])&&s.push({link:`${a.path}#${c.slug}`,title:a.title,header:c.title});for(const u of c.children){if(s.length>=r.value)return;i(a,u)}};for(const a of o.value){if(s.length>=r.value)break;if(Fi(l,[a.title,...a.extraFields])){s.push({link:a.path,title:a.title});continue}for(const c of a.headers){if(s.length>=r.value)break;i(a,c)}}return s})},r3=e=>{const t=Y(0);return{focusIndex:t,focusNext:()=>{t.value{t.value>0?t.value-=1:t.value=e.value.length-1}}},o3=V({name:"SearchBox",props:{locales:{type:Object,default:()=>({})},hotKeys:{type:Array,default:()=>[]},maxSuggestions:{type:Number,default:5}},setup(e){const{locales:t,hotKeys:n,maxSuggestions:r}=Kf(e),o=yn(),l=Xt(),s=t3(),i=Y(null),a=Y(!1),c=Y(""),u=T(()=>t.value[l.value]??{}),d=n3({searchIndex:s,routeLocale:l,query:c,maxSuggestions:r}),{focusIndex:p,focusNext:h,focusPrev:m}=r3(d);X2({input:i,hotKeys:n});const _=T(()=>a.value&&!!d.value.length),b=()=>{_.value&&m()},w=()=>{_.value&&h()},C=y=>{if(!_.value)return;const x=d.value[y];x&&o.push(x.link).then(()=>{c.value="",p.value=0})};return()=>f("form",{class:"search-box",role:"search"},[f("input",{ref:i,type:"search",placeholder:u.value.placeholder,autocomplete:"off",spellcheck:!1,value:c.value,onFocus:()=>a.value=!0,onBlur:()=>a.value=!1,onInput:y=>c.value=y.target.value,onKeydown:y=>{switch(y.key){case"ArrowUp":{b();break}case"ArrowDown":{w();break}case"Enter":{y.preventDefault(),C(p.value);break}}}}),_.value&&f("ul",{class:"suggestions",onMouseleave:()=>p.value=-1},d.value.map(({link:y,title:x,header:P},S)=>f("li",{class:["suggestion",{focus:p.value===S}],onMouseenter:()=>p.value=S,onMousedown:()=>C(S)},f("a",{href:y,onClick:I=>I.preventDefault()},[f("span",{class:"page-title"},x),P&&f("span",{class:"page-header"},`> ${P}`)]))))])}});var l3=["s","/"],s3={"/":{placeholder:"搜索"}};const i3=s3,a3=l3,c3=5,u3=et({enhance({app:e}){e.component("SearchBox",t=>f(o3,{locales:i3,hotKeys:a3,maxSuggestions:c3,...t}))}}),yu=()=>{const e=Le();return T(()=>e.value.readingTime??null)},f3=(e,t)=>{const{minutes:n,words:r}=e,{less1Minute:o,word:l,time:s}=t;return{time:n<1?o:s.replace("$time",Math.round(n).toString()),words:l.replace("$word",r.toString())}};var ji={"/en/":{word:"About $word words",less1Minute:"Less than 1 minute",time:"About $time min"},"/":{word:"约 $word 字",less1Minute:"小于 1 分钟",time:"大约 $time 分钟"}};const Bi={words:"",time:""},Cl=typeof ji>"u"?null:ji,d3=()=>Cl?$r(Cl):T(()=>null),p3=()=>{if(typeof Cl>"u")return T(()=>Bi);const e=yu(),t=d3();return T(()=>e.value&&t.value?f3(e.value,t.value):Bi)},en=()=>Kc(),ye=()=>Ih(),Dr=()=>{const e=en();return T(()=>!!e.value.pure)},Hi=()=>null,h3="719px",v3="1440px",m3="false",bu={mobileBreakPoint:h3,pcBreakPoint:v3,enableThemeColor:m3},ps={"/en/deploy/":["install","config","fandq"],"/en/usage/":["basic_command","extra_command","agreement"],"/en/store/":["resource","plugin"],"/en/dev/":["dev_resource_pack","dev_lyfunc","dev_lyplugin","dev_comm"],"/deploy/":["install","config","fandq"],"/usage/":["basic_command","extra_command","agreement"],"/store/":["resource","plugin"],"/dev/":["dev_resource_pack","dev_lyfunc","dev_lyplugin","dev_comm"]},_u=e=>{const{icon:t="",color:n,size:r}=e,o=n||r?{}:null;return n&&(o.color=n),r&&(o.height=Number.isNaN(Number(r))?r:`${r}px`),gn(t)?f("img",{class:"icon",src:t,alt:"","no-view":"",style:o}):ss(t)?f("img",{class:"icon",src:Ge(t),alt:"","aria-hidden":"","no-view":"",style:o}):f(gt("FontIcon"),e)};_u.displayName="HopeIcon";var Ke=_u;const g3="http://.",hs=()=>{const e=yn(),t=Jt();return n=>{if(n)if(ss(n))t.path!==n&&e.push(n);else if(ic(n))window&&window.open(n);else{const r=t.path.slice(0,t.path.lastIndexOf("/"));e.push(new URL(`${r}/${encodeURI(n)}`,g3).pathname)}}},wu=()=>{const e=ye(),t=Ae();return T(()=>{const{author:n}=t.value;return n?Mi(n):n===!1?[]:Mi(e.value.author,!1)})},y3=()=>{const e=Ae();return T(()=>r2(e.value.category).map(t=>({name:t,path:""})))},b3=()=>{const e=Ae();return T(()=>o2(e.value.tag).map(t=>({name:t,path:""})))},_3=()=>{const e=Ae(),t=Le();return T(()=>{const n=I0(e.value.date);if(n)return n;const{createdTime:r}=t.value.git||{};return r?new Date(r):null})},w3=()=>{const e=ye(),t=Le(),n=Ae(),r=wu(),o=y3(),l=b3(),s=_3(),i=yu(),a=p3(),c=T(()=>({author:r.value,category:o.value,date:s.value,localizedDate:t.value.localizedDate,tag:l.value,isOriginal:n.value.isOriginal||!1,readingTime:i.value,readingTimeLocale:a.value,pageview:"pageview"in n.value?n.value.pageview:!0})),u=T(()=>"pageInfo"in n.value?n.value.pageInfo:"pageInfo"in e.value?e.value.pageInfo:null);return{info:c,items:u}},{mobileBreakPoint:E3,pcBreakPoint:k3}=bu,Vi=e=>e.endsWith("px")?Number(e.slice(0,-2)):null,Oo=()=>{const e=Y(!1),t=Y(!1),n=()=>{e.value=window.innerWidth<=(Vi(E3)??719),t.value=window.innerWidth>=(Vi(k3)??1440)};return Ee(()=>{n(),Ne("resize",n,!1),Ne("orientationchange",n,!1)}),{isMobile:e,isPC:t}},Eu=Symbol(""),Fr=()=>{const e=De(Eu);if(!e)throw new Error("useDarkmode() is called without provider.");return e},C3=e=>{const t=en(),n=J0(),r=T(()=>t.value.darkmode||"switch"),o=Gn("vuepress-theme-hope-scheme","auto"),l=T(()=>{const i=r.value;return i==="disable"?!1:i==="enable"?!0:i==="auto"?n.value:i==="toggle"?o.value==="dark":o.value==="dark"||o.value==="auto"&&n.value}),s=T(()=>{const i=r.value;return i==="switch"||i==="toggle"});e.provide(Eu,{canToggle:s,config:r,isDarkmode:l,status:o}),Object.defineProperties(e.config.globalProperties,{$isDarkmode:{get:()=>l.value}})},x3=()=>{const{config:e,isDarkmode:t,status:n}=Fr();Aa(()=>{e.value==="disable"?n.value="light":e.value==="enable"?n.value="dark":e.value==="toggle"&&n.value==="auto"&&(n.value="light")}),Ee(()=>{ve(t,r=>document.documentElement.setAttribute("data-theme",r?"dark":"light"),{immediate:!0})})};var kt=(e=>(e.title="t",e.shortTitle="s",e.icon="i",e.index="I",e.order="O",e.breadcrumbExclude="b",e))(kt||{}),S3=(e=>(e.type="y",e.author="a",e.date="d",e.localizedDate="l",e.category="c",e.tag="g",e.isEncrypted="n",e.isOriginal="o",e.readingTime="r",e.excerpt="e",e.sticky="u",e.cover="v",e))(S3||{}),T3=(e=>(e.article="a",e.home="h",e.slide="s",e.page="p",e))(T3||{});const cn=(e="",t="")=>ss(t)?t:`${sc(e)}${t}`,Mn=(e,t=!1)=>{const{meta:n,path:r,notFound:o}=Lo(e);return o?{text:r,link:r}:{text:!t&&n[kt.shortTitle]?n[kt.shortTitle]:n[kt.title]||r,link:r,...n[kt.icon]?{icon:n[kt.icon]}:{}}},xl=({config:e,prefix:t=""})=>{const n=(r,o=t)=>{const l=Pe(r)?Mn(cn(o,r)):r.link?{...r,...jn(r.link)?{}:{link:Mn(cn(o,r.link)).link}}:r;if("children"in l){const s=cn(o,l.prefix),i=l.children==="structure"?ps[s]:l.children;return{type:"group",...l,prefix:s,children:i.map(a=>n(a,s))}}return{type:"page",...l}};return e.map(r=>n(r))},L3=({config:e,page:t,headerDepth:n})=>{const r=Zt(e).sort((o,l)=>l.length-o.length);for(const o of r)if(Vn(decodeURI(t.path),o)){const l=e[o];return l?xl({config:l==="structure"?ps[o]:l,page:t,headerDepth:n,prefix:o}):[]}return console.warn(`${t.path} is missing sidebar config.`),[]},A3=({config:e,routeLocale:t,page:n,headerDepth:r})=>e==="structure"?xl({config:ps[t],page:n,headerDepth:r,prefix:t}):kl(e)?xl({config:e,page:n,headerDepth:r}):qn(e)?L3({config:e,page:n,headerDepth:r}):[],ku=Symbol(""),I3=()=>{const e=Ae(),t=ye(),n=Le(),r=Xt(),o=T(()=>e.value.home?!1:e.value.sidebar??t.value.sidebar??"structure"),l=T(()=>e.value.headerDepth??t.value.headerDepth??2),s=is(()=>[o.value,l.value,n.value.path,null],()=>A3({config:o.value,routeLocale:r.value,page:n.value,headerDepth:l.value}));Pn(ku,s)},vs=()=>{const e=De(ku);if(!e)throw new Error("useSidebarItems() is called without provider.");return e};var O3=V({name:"PageFooter",setup(){const e=en(),t=ye(),n=Ae(),r=wu(),o=T(()=>{const{copyright:c,footer:u}=n.value;return u!==!1&&!!(c||u||t.value.displayFooter)}),l=T(()=>{const{footer:c}=n.value;return c===!1?!1:Pe(c)?c:t.value.footer||""}),s=T(()=>r.value.map(({name:c})=>c).join(", ")),i=c=>`Copyright © ${new Date().getFullYear()} ${s.value} ${c?`${c} Licensed`:""}`,a=T(()=>{const{copyright:c,license:u=""}=n.value,{license:d}=e.value,{copyright:p}=t.value;return c??(u?i(u):Pe(p)?p:s.value||d?i(d):!1)});return()=>o.value?f("footer",{class:"vp-footer-wrapper"},[l.value?f("div",{class:"vp-footer",innerHTML:l.value}):null,a.value?f("div",{class:"vp-copyright",innerHTML:a.value}):null]):null}}),Xe=V({name:"AutoLink",inheritAttrs:!1,props:{config:{type:Object,required:!0},exact:Boolean,noExternalLinkIcon:Boolean},emits:["focusout"],slots:Object,setup(e,{attrs:t,emit:n,slots:r}){const o=Jt(),l=wc(),s=yo(e,"config"),i=T(()=>gn(s.value.link)),a=T(()=>!i.value&&ic(s.value.link)),c=T(()=>s.value.target||(i.value?"_blank":void 0)),u=T(()=>c.value==="_blank"),d=T(()=>!i.value&&!a.value&&!u.value),p=T(()=>s.value.rel||(u.value?"noopener noreferrer":null)),h=T(()=>s.value.ariaLabel||s.value.text),m=T(()=>{if(e.exact)return!1;const b=Zt(l.value.locales);return b.length?b.every(w=>w!==s.value.link):s.value.link!=="/"}),_=T(()=>d.value?s.value.activeMatch?new RegExp(s.value.activeMatch,"u").test(o.path):m.value?Vn(o.path,s.value.link):o.path===s.value.link:!1);return()=>{const{before:b,after:w,default:C}=r,{text:y,icon:x,link:P}=s.value;return d.value?f(Je,{to:P,"aria-label":h.value,...t,class:["nav-link",{active:_.value},t.class],onFocusout:()=>n("focusout")},()=>C?C():[b?b():f(Ke,{icon:x}),y,w==null?void 0:w()]):f("a",{href:P,rel:p.value,target:c.value,"aria-label":h.value,...t,class:["nav-link",t.class],onFocusout:()=>n("focusout")},C?C():[b?b():f(Ke,{icon:x}),y,e.noExternalLinkIcon?null:f(Wc),w==null?void 0:w()])}}}),Cu=V({name:"NavbarDropdownLink",props:{config:{type:Object,required:!0}},slots:Object,setup(e,{slots:t}){const n=Le(),r=yo(e,"config"),o=T(()=>r.value.ariaLabel||r.value.text),l=Y(!1);ve(()=>n.value.path,()=>{l.value=!1});const s=i=>{i.detail===0&&(l.value=!l.value)};return()=>{var i;return f("div",{class:["dropdown-wrapper",{open:l.value}]},[f("button",{type:"button",class:"dropdown-title","aria-label":o.value,onClick:s},[((i=t.title)==null?void 0:i.call(t))||f("span",{class:"title"},[f(Ke,{icon:r.value.icon}),e.config.text]),f("span",{class:"arrow"}),f("ul",{class:"nav-dropdown"},r.value.children.map((a,c)=>{const u=c===r.value.children.length-1;return f("li",{class:"dropdown-item"},"children"in a?[f("h4",{class:"dropdown-subtitle"},a.link?f(Xe,{config:a,onFocusout:()=>{a.children.length===0&&u&&(l.value=!1)}}):f("span",a.text)),f("ul",{class:"dropdown-subitem-wrapper"},a.children.map((d,p)=>f("li",{class:"dropdown-subitem"},f(Xe,{config:d,onFocusout:()=>{p===a.children.length-1&&u&&(l.value=!1)}}))))]:f(Xe,{config:a,onFocusout:()=>{u&&(l.value=!1)}}))}))])])}}});const xu=()=>f(Ie,{name:"i18n"},()=>[f("path",{d:"M379.392 460.8 494.08 575.488l-42.496 102.4L307.2 532.48 138.24 701.44l-71.68-72.704L234.496 460.8l-45.056-45.056c-27.136-27.136-51.2-66.56-66.56-108.544h112.64c7.68 14.336 16.896 27.136 26.112 35.84l45.568 46.08 45.056-45.056C382.976 312.32 409.6 247.808 409.6 204.8H0V102.4h256V0h102.4v102.4h256v102.4H512c0 70.144-37.888 161.28-87.04 210.944L378.88 460.8zM576 870.4 512 1024H409.6l256-614.4H768l256 614.4H921.6l-64-153.6H576zM618.496 768h196.608L716.8 532.48 618.496 768z"})]);xu.displayName="I18nIcon";const Su=(e,t="")=>Pe(e)?Mn(cn(t,e)):"children"in e?{...e,...e.link&&!jn(e.link)?Mn(cn(t,e.link)):{},children:e.children.map(n=>Su(n,cn(t,e.prefix)))}:{...e,link:jn(e.link)?e.link:Mn(cn(t,e.link)).link},Tu=()=>{const e=ye(),t=()=>(e.value.navbar||[]).map(n=>Su(n));return is(()=>e.value.navbar,()=>t())},P3=()=>{const e=f0(),t=Jt(),n=Xt(),r=To(),o=en(),l=ye();return is(()=>t.path,()=>{const s=Zt(r.value.locales),i=Pc(o.value.extraLocales??{});if(s.length<2&&!i.length)return null;const{path:a,fullPath:c}=t,{navbarLocales:u}=l.value;return{text:"",ariaLabel:u==null?void 0:u.selectLangAriaLabel,children:[...s.map(d=>{var w,C,y;const p=((w=r.value.locales)==null?void 0:w[d])??{},h=((C=o.value.locales)==null?void 0:C[d])??{},m=p.lang||"",_=((y=h.navbarLocales)==null?void 0:y.langName)??m;let b;if(m===r.value.lang)b=a;else{const x=a.replace(n.value,d);b=e.value.some(P=>P===x)?c.replace(a,x):h.home??d}return{text:_,link:b}}),...i.map(([d,p])=>({text:d,link:p.replace(":route",t.path.replace(n.value,""))}))]}})},$3=()=>{const e=ye(),t=T(()=>e.value.repo||null),n=T(()=>t.value?t2(t.value):null),r=T(()=>t.value?cu(t.value):null),o=T(()=>n.value?e.value.repoLabel??(r.value===null?"Source":r.value):null);return T(()=>!n.value||!o.value||e.value.repoDisplay===!1?null:{type:r.value||"Source",label:o.value,link:n.value})};var R3=V({name:"LanguageDropdown",setup(){const e=P3();return()=>e.value?f("div",{class:"nav-item"},f(Cu,{class:"i18n-dropdown",config:e.value},{title:()=>{var t;return f(xu,{"aria-label":(t=e.value)==null?void 0:t.ariaLabel,style:{width:"1rem",height:"1rem",verticalAlign:"middle"}})}})):null}}),M3=V({name:"NavScreenDropdown",props:{config:{type:Object,required:!0}},setup(e){const t=Le(),n=yo(e,"config"),r=T(()=>n.value.ariaLabel||n.value.text),o=Y(!1);ve(()=>t.value.path,()=>{o.value=!1});const l=(s,i)=>i[i.length-1]===s;return()=>[f("button",{type:"button",class:["nav-screen-dropdown-title",{active:o.value}],"aria-label":r.value,onClick:()=>{o.value=!o.value}},[f("span",{class:"title"},[f(Ke,{icon:n.value.icon}),e.config.text]),f("span",{class:["arrow",o.value?"down":"end"]})]),f("ul",{class:["nav-screen-dropdown",{hide:!o.value}]},n.value.children.map(s=>f("li",{class:"dropdown-item"},"children"in s?[f("h4",{class:"dropdown-subtitle"},s.link?f(Xe,{config:s,onFocusout:()=>{l(s,n.value.children)&&s.children.length===0&&(o.value=!1)}}):f("span",s.text)),f("ul",{class:"dropdown-subitem-wrapper"},s.children.map(i=>f("li",{class:"dropdown-subitem"},f(Xe,{config:i,onFocusout:()=>{l(i,s.children)&&l(s,n.value.children)&&(o.value=!1)}}))))]:f(Xe,{config:s,onFocusout:()=>{l(s,n.value.children)&&(o.value=!1)}}))))]}}),N3=V({name:"NavScreenLinks",setup(){const e=Tu();return()=>e.value.length?f("nav",{class:"nav-screen-links"},e.value.map(t=>f("div",{class:"navbar-links-item"},"children"in t?f(M3,{config:t}):f(Xe,{config:t})))):null}});const Lu=()=>f(Ie,{name:"dark"},()=>f("path",{d:"M524.8 938.667h-4.267a439.893 439.893 0 0 1-313.173-134.4 446.293 446.293 0 0 1-11.093-597.334A432.213 432.213 0 0 1 366.933 90.027a42.667 42.667 0 0 1 45.227 9.386 42.667 42.667 0 0 1 10.24 42.667 358.4 358.4 0 0 0 82.773 375.893 361.387 361.387 0 0 0 376.747 82.774 42.667 42.667 0 0 1 54.187 55.04 433.493 433.493 0 0 1-99.84 154.88 438.613 438.613 0 0 1-311.467 128z"}));Lu.displayName="DarkIcon";const Au=()=>f(Ie,{name:"light"},()=>f("path",{d:"M952 552h-80a40 40 0 0 1 0-80h80a40 40 0 0 1 0 80zM801.88 280.08a41 41 0 0 1-57.96-57.96l57.96-58a41.04 41.04 0 0 1 58 58l-58 57.96zM512 752a240 240 0 1 1 0-480 240 240 0 0 1 0 480zm0-560a40 40 0 0 1-40-40V72a40 40 0 0 1 80 0v80a40 40 0 0 1-40 40zm-289.88 88.08-58-57.96a41.04 41.04 0 0 1 58-58l57.96 58a41 41 0 0 1-57.96 57.96zM192 512a40 40 0 0 1-40 40H72a40 40 0 0 1 0-80h80a40 40 0 0 1 40 40zm30.12 231.92a41 41 0 0 1 57.96 57.96l-57.96 58a41.04 41.04 0 0 1-58-58l58-57.96zM512 832a40 40 0 0 1 40 40v80a40 40 0 0 1-80 0v-80a40 40 0 0 1 40-40zm289.88-88.08 58 57.96a41.04 41.04 0 0 1-58 58l-57.96-58a41 41 0 0 1 57.96-57.96z"}));Au.displayName="LightIcon";const Iu=()=>f(Ie,{name:"auto"},()=>f("path",{d:"M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm0-840c-198.78 0-360 161.22-360 360 0 198.84 161.22 360 360 360s360-161.16 360-360c0-198.78-161.22-360-360-360zm0 660V212c165.72 0 300 134.34 300 300 0 165.72-134.28 300-300 300z"}));Iu.displayName="AutoIcon";const Ou=()=>f(Ie,{name:"enter-fullscreen"},()=>f("path",{d:"M762.773 90.24h-497.28c-96.106 0-174.4 78.293-174.4 174.4v497.28c0 96.107 78.294 174.4 174.4 174.4h497.28c96.107 0 175.04-78.293 174.4-174.4V264.64c0-96.213-78.186-174.4-174.4-174.4zm-387.2 761.173H215.04c-21.867 0-40.427-17.92-41.067-41.066V649.92c0-22.507 17.92-40.427 40.427-40.427 11.307 0 21.227 4.694 28.48 11.947 7.253 7.253 11.947 17.92 11.947 28.48v62.293l145.28-145.28c15.893-15.893 41.813-15.893 57.706 0 15.894 15.894 15.894 41.814 0 57.707l-145.28 145.28h62.294c22.506 0 40.426 17.92 40.426 40.427s-17.173 41.066-39.68 41.066zM650.24 165.76h160.427c21.866 0 40.426 17.92 41.066 41.067v160.426c0 22.507-17.92 40.427-40.426 40.427-11.307 0-21.227-4.693-28.48-11.947-7.254-7.253-11.947-17.92-11.947-28.48v-62.186L625.6 450.347c-15.893 15.893-41.813 15.893-57.707 0-15.893-15.894-15.893-41.814 0-57.707l145.28-145.28H650.88c-22.507 0-40.427-17.92-40.427-40.427s17.174-41.173 39.787-41.173z"}));Ou.displayName="EnterFullScreenIcon";const Pu=()=>f(Ie,{name:"cancel-fullscreen"},()=>f("path",{d:"M778.468 78.62H247.922c-102.514 0-186.027 83.513-186.027 186.027V795.08c0 102.514 83.513 186.027 186.027 186.027h530.432c102.514 0 186.71-83.513 186.026-186.027V264.647C964.494 162.02 880.981 78.62 778.468 78.62zM250.88 574.35h171.122c23.324 0 43.122 19.115 43.804 43.805v171.121c0 24.008-19.114 43.122-43.122 43.122-12.06 0-22.641-5.006-30.378-12.743s-12.743-19.115-12.743-30.379V722.83L224.597 877.91c-16.953 16.952-44.6 16.952-61.553 0-16.953-16.954-16.953-44.602 0-61.554L318.009 661.39h-66.446c-24.007 0-43.122-19.114-43.122-43.122 0-24.12 18.432-43.918 42.439-43.918zm521.899-98.873H601.657c-23.325 0-43.122-19.114-43.805-43.804V260.55c0-24.007 19.115-43.122 43.122-43.122 12.06 0 22.642 5.007 30.379 12.743s12.743 19.115 12.743 30.38v66.445l154.965-154.965c16.953-16.953 44.601-16.953 61.554 0 16.953 16.953 16.953 44.6 0 61.554L705.536 388.55h66.446c24.007 0 43.122 19.115 43.122 43.122.114 24.007-18.318 43.804-42.325 43.804z"}));Pu.displayName="CancelFullScreenIcon";const $u=()=>f(Ie,{name:"outlook"},()=>[f("path",{d:"M224 800c0 9.6 3.2 44.8 6.4 54.4 6.4 48-48 76.8-48 76.8s80 41.6 147.2 0 134.4-134.4 38.4-195.2c-22.4-12.8-41.6-19.2-57.6-19.2C259.2 716.8 227.2 761.6 224 800zM560 675.2l-32 51.2c-51.2 51.2-83.2 32-83.2 32 25.6 67.2 0 112-12.8 128 25.6 6.4 51.2 9.6 80 9.6 54.4 0 102.4-9.6 150.4-32l0 0c3.2 0 3.2-3.2 3.2-3.2 22.4-16 12.8-35.2 6.4-44.8-9.6-12.8-12.8-25.6-12.8-41.6 0-54.4 60.8-99.2 137.6-99.2 6.4 0 12.8 0 22.4 0 12.8 0 38.4 9.6 48-25.6 0-3.2 0-3.2 3.2-6.4 0-3.2 3.2-6.4 3.2-6.4 6.4-16 6.4-16 6.4-19.2 9.6-35.2 16-73.6 16-115.2 0-105.6-41.6-198.4-108.8-268.8C704 396.8 560 675.2 560 675.2zM224 419.2c0-28.8 22.4-51.2 51.2-51.2 28.8 0 51.2 22.4 51.2 51.2 0 28.8-22.4 51.2-51.2 51.2C246.4 470.4 224 448 224 419.2zM320 284.8c0-22.4 19.2-41.6 41.6-41.6 22.4 0 41.6 19.2 41.6 41.6 0 22.4-19.2 41.6-41.6 41.6C339.2 326.4 320 307.2 320 284.8zM457.6 208c0-12.8 12.8-25.6 25.6-25.6 12.8 0 25.6 12.8 25.6 25.6 0 12.8-12.8 25.6-25.6 25.6C470.4 233.6 457.6 220.8 457.6 208zM128 505.6C128 592 153.6 672 201.6 736c28.8-60.8 112-60.8 124.8-60.8-16-51.2 16-99.2 16-99.2l316.8-422.4c-48-19.2-99.2-32-150.4-32C297.6 118.4 128 291.2 128 505.6zM764.8 86.4c-22.4 19.2-390.4 518.4-390.4 518.4-22.4 28.8-12.8 76.8 22.4 99.2l9.6 6.4c35.2 22.4 80 12.8 99.2-25.6 0 0 6.4-12.8 9.6-19.2 54.4-105.6 275.2-524.8 288-553.6 6.4-19.2-3.2-32-19.2-32C777.6 76.8 771.2 80 764.8 86.4z"})]);$u.displayName="OutlookIcon";var Ru=V({name:"AppearanceSwitch",setup(){const{config:e,isDarkmode:t,status:n}=Fr(),r=Dr(),o=()=>{e.value==="switch"?n.value={light:"dark",dark:"auto",auto:"light"}[n.value]:n.value=n.value==="light"?"dark":"light"},l=async s=>{if(!(document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches&&!r.value)||!s){o();return}const i=s.clientX,a=s.clientY,c=Math.hypot(Math.max(i,innerWidth-i),Math.max(a,innerHeight-a)),u=t.value;await document.startViewTransition(async()=>{o(),await Qt()}).ready,t.value!==u&&document.documentElement.animate({clipPath:t.value?[`circle(${c}px at ${i}px ${a}px)`,`circle(0px at ${i}px ${a}px)`]:[`circle(0px at ${i}px ${a}px)`,`circle(${c}px at ${i}px ${a}px)`]},{duration:400,pseudoElement:t.value?"::view-transition-old(root)":"::view-transition-new(root)"})};return()=>f("button",{type:"button",id:"appearance-switch",onClick:l},[f(Iu,{style:{display:n.value==="auto"?"block":"none"}}),f(Lu,{style:{display:n.value==="dark"?"block":"none"}}),f(Au,{style:{display:n.value==="light"?"block":"none"}})])}}),D3=V({name:"AppearanceMode",setup(){const e=ye(),{canToggle:t}=Fr(),n=T(()=>e.value.outlookLocales.darkmode);return()=>t.value?f("div",{class:"appearance-wrapper"},[f("label",{class:"appearance-title",for:"appearance-switch"},n.value),f(Ru)]):null}});const tl=bu.enableThemeColor==="true";var Mu=V({name:"ToggleFullScreenButton",setup(){const e=ye(),{isSupported:t,isFullscreen:n,toggle:r}=cs(),o=T(()=>e.value.outlookLocales.fullscreen);return()=>t?f("div",{class:"full-screen-wrapper"},[f("label",{class:"full-screen-title",for:"full-screen-switch"},o.value),f("button",{type:"button",id:"full-screen-switch",class:"full-screen",ariaPressed:n.value,onClick:()=>r()},n.value?f(Pu):f(Ou))]):null}}),Nu=V({name:"OutlookSettings",setup(){const e=en(),t=Dr(),n=T(()=>!t.value&&e.value.fullscreen);return()=>f(Ao,()=>[null,f(D3),n.value?f(Mu):null])}}),F3=V({name:"NavScreen",props:{show:Boolean},emits:["close"],slots:Object,setup(e,{emit:t,slots:n}){const r=Le(),{isMobile:o}=Oo(),l=Fe(),s=Bc(l);return Ee(()=>{l.value=document.body,ve(o,i=>{!i&&e.show&&(s.value=!1,t("close"))}),ve(()=>r.value.path,()=>{s.value=!1,t("close")})}),mn(()=>{s.value=!1}),()=>f(Yt,{name:"fade",onEnter:()=>{s.value=!0},onAfterLeave:()=>{s.value=!1}},()=>{var i,a;return e.show?f("div",{id:"nav-screen"},f("div",{class:"vp-nav-screen-container"},[(i=n.before)==null?void 0:i.call(n),f(N3),f("div",{class:"vp-outlook-wrapper"},f(Nu)),(a=n.after)==null?void 0:a.call(n)])):null})}}),j3=V({name:"NavbarBrand",setup(){const e=Xt(),t=To(),n=ye(),r=T(()=>n.value.home||e.value),o=T(()=>t.value.title),l=T(()=>n.value.navTitle??o.value),s=T(()=>n.value.logo?Ge(n.value.logo):null),i=T(()=>n.value.logoDark?Ge(n.value.logoDark):null);return()=>f(Je,{to:r.value,class:"vp-brand"},()=>[s.value?f("img",{class:["vp-nav-logo",{light:!!i.value}],src:s.value,alt:""}):null,i.value?f("img",{class:["vp-nav-logo dark"],src:i.value,alt:""}):null,l.value?f("span",{class:["vp-site-name",{"hide-in-pad":s.value&&n.value.hideSiteNameOnMobile!==!1}]},l.value):null])}}),B3=V({name:"NavbarLinks",setup(){const e=Tu();return()=>e.value.length?f("nav",{class:"vp-nav-links"},e.value.map(t=>f("div",{class:"nav-item hide-in-mobile"},"children"in t?f(Cu,{config:t}):f(Xe,{config:t})))):null}}),H3=V({name:"RepoLink",components:{BitbucketIcon:ou,GiteeIcon:ru,GitHubIcon:tu,GitLabIcon:nu,SourceIcon:lu},setup(){const e=$3();return()=>e.value?f("div",{class:"nav-item vp-repo"},f("a",{class:"vp-repo-link",href:e.value.link,target:"_blank",rel:"noopener noreferrer","aria-label":e.value.label},f(gt(`${e.value.type}Icon`),{style:{width:"1.25rem",height:"1.25rem",verticalAlign:"middle"}}))):null}});const Du=({active:e=!1},{emit:t})=>f("button",{type:"button",class:["vp-toggle-navbar-button",{"is-active":e}],"aria-label":"Toggle Navbar","aria-expanded":e,"aria-controls":"nav-screen",onClick:()=>t("toggle")},f("span",[f("span",{class:"vp-top"}),f("span",{class:"vp-middle"}),f("span",{class:"vp-bottom"})]));Du.displayName="ToggleNavbarButton";var V3=Du;const Sl=(e,{emit:t})=>f("button",{type:"button",class:"vp-toggle-sidebar-button",title:"Toggle Sidebar",onClick:()=>t("toggle")},f("span",{class:"icon"}));Sl.displayName="ToggleSidebarButton",Sl.emits=["toggle"];var z3=Sl,U3=V({name:"OutlookButton",setup(){const{isSupported:e}=cs(),t=en(),n=Dr(),r=Le(),{canToggle:o}=Fr(),l=Y(!1),s=T(()=>!n.value&&t.value.fullscreen&&e);return ve(()=>r.value.path,()=>{l.value=!1}),()=>o.value||s.value||tl?f("div",{class:"nav-item hide-in-mobile"},o.value&&!s.value&&!tl?f(Ru):s.value&&!o.value&&!tl?f(Mu):f("button",{type:"button",class:["outlook-button",{open:l.value}],tabindex:"-1","aria-hidden":!0},[f($u),f("div",{class:"outlook-dropdown"},f(Nu))])):null}}),q3=V({name:"NavBar",emits:["toggleSidebar"],slots:Object,setup(e,{emit:t,slots:n}){const r=ye(),{isMobile:o}=Oo(),l=Y(!1),s=T(()=>{const{navbarAutoHide:u="mobile"}=r.value;return u!=="none"&&(u==="always"||o.value)}),i=T(()=>r.value.navbarLayout||{start:["Brand"],center:["Links"],end:["Language","Repo","Outlook","Search"]}),a={Brand:j3,Language:R3,Links:B3,Repo:H3,Outlook:U3,Search:ft("Docsearch")?gt("Docsearch"):ft("SearchBox")?gt("SearchBox"):Hi},c=u=>a[u]??(ft(u)?gt(u):Hi);return()=>{var u,d,p,h,m,_;return[f("header",{key:"navbar",id:"navbar",class:["vp-navbar",{"auto-hide":s.value,"hide-icon":r.value.navbarIcon===!1}]},[f("div",{class:"vp-navbar-start"},[f(z3,{onToggle:()=>{l.value&&(l.value=!1),t("toggleSidebar")}}),(u=n.startBefore)==null?void 0:u.call(n),(i.value.start||[]).map(b=>f(c(b))),(d=n.startAfter)==null?void 0:d.call(n)]),f("div",{class:"vp-navbar-center"},[(p=n.centerBefore)==null?void 0:p.call(n),(i.value.center||[]).map(b=>f(c(b))),(h=n.centerAfter)==null?void 0:h.call(n)]),f("div",{class:"vp-navbar-end"},[(m=n.endBefore)==null?void 0:m.call(n),(i.value.end||[]).map(b=>f(c(b))),(_=n.endAfter)==null?void 0:_.call(n),f(V3,{active:l.value,onToggle:()=>{l.value=!l.value}})])]),f(F3,{show:l.value,onClose:()=>{l.value=!1}},{before:()=>{var b;return(b=n.screenTop)==null?void 0:b.call(n)},after:()=>{var b;return(b=n.screenBottom)==null?void 0:b.call(n)}})]}}});const _r=(e,t,n=!1)=>"activeMatch"in t?new RegExp(t.activeMatch,"u").test(e.path):au(e,t.link)?!0:"children"in t&&!n?t.children.some(r=>_r(e,r)):!1,Fu=(e,t)=>t.type==="group"?t.children.some(n=>n.type==="group"?Fu(e,n):n.type==="page"&&_r(e,n,!0))||"prefix"in t&&au(e,t.prefix):!1;var W3=V({name:"SidebarChild",props:{config:{type:Object,required:!0}},setup(e){const t=Jt();return()=>Pe(e.config.link)?f(Xe,{class:["vp-sidebar-link","vp-sidebar-page",{active:_r(t,e.config,!0)}],exact:!0,config:e.config}):f("p",e,[f(Ke,{icon:e.config.icon}),e.config.text])}}),G3=V({name:"SidebarGroup",props:{config:{type:Object,required:!0},open:{type:Boolean,required:!0}},emits:["toggle"],setup(e,{emit:t}){const n=Jt(),r=T(()=>_r(n,e.config)),o=T(()=>_r(n,e.config,!0));return()=>{const{collapsible:l,children:s=[],icon:i,prefix:a,link:c,text:u}=e.config;return f("section",{class:"vp-sidebar-group"},[f(l?"button":"p",{class:["vp-sidebar-header",{clickable:l||c,exact:o.value,active:r.value}],...l?{type:"button",onClick:()=>t("toggle"),onKeydown:d=>{d.key==="Enter"&&t("toggle")}}:{}},[f(Ke,{icon:i}),c?f(Xe,{class:"vp-sidebar-title",config:{text:u,link:c},noExternalLinkIcon:!0}):f("span",{class:"vp-sidebar-title"},u),l?f("span",{class:["vp-arrow",e.open?"down":"end"]}):null]),e.open||!l?f(ju,{key:a,config:s}):null])}}}),ju=V({name:"SidebarLinks",props:{config:{type:Array,required:!0}},setup(e){const t=Jt(),n=Y(-1),r=o=>{n.value=o===n.value?-1:o};return ve(()=>t.path,()=>{const o=e.config.findIndex(l=>Fu(t,l));n.value=o},{immediate:!0,flush:"post"}),()=>f("ul",{class:"vp-sidebar-links"},e.config.map((o,l)=>f("li",o.type==="group"?f(G3,{config:o,open:l===n.value,onToggle:()=>r(l)}):f(W3,{config:o}))))}}),K3=V({name:"SideBar",slots:Object,setup(e,{slots:t}){const n=Jt(),r=ye(),o=vs(),l=Fe();return Ee(()=>{ve(()=>n.hash,s=>{const i=document.querySelector(`.vp-sidebar a.vp-sidebar-link[href="${n.path}${s}"]`);if(!i)return;const{top:a,height:c}=l.value.getBoundingClientRect(),{top:u,height:d}=i.getBoundingClientRect();ua+c&&i.scrollIntoView(!1)},{immediate:!0})}),()=>{var s,i,a;return f("aside",{ref:l,id:"sidebar",class:["vp-sidebar",{"hide-icon":r.value.sidebarIcon===!1}],key:"sidebar"},[(s=t.top)==null?void 0:s.call(t),((i=t.default)==null?void 0:i.call(t))||f(ju,{config:o.value}),(a=t.bottom)==null?void 0:a.call(t)])}}}),Bu=V({name:"CommonWrapper",props:{containerClass:{type:String,default:""},noNavbar:Boolean,noSidebar:Boolean,noToc:Boolean},slots:Object,setup(e,{slots:t}){const n=yn(),r=Le(),o=Ae(),l=ye(),{isMobile:s,isPC:i}=Oo(),[a,c]=yr(!1),[u,d]=yr(!1),p=vs(),h=Y(!1),m=T(()=>e.noNavbar||o.value.navbar===!1||l.value.navbar===!1?!1:!!(r.value.title||l.value.logo||l.value.repo||l.value.navbar)),_=T(()=>e.noSidebar?!1:o.value.sidebar!==!1&&p.value.length!==0&&!o.value.home),b=T(()=>e.noToc||o.value.home?!1:o.value.toc||l.value.toc!==!1&&o.value.toc!==!1),w={x:0,y:0},C=S=>{w.x=S.changedTouches[0].clientX,w.y=S.changedTouches[0].clientY},y=S=>{const I=S.changedTouches[0].clientX-w.x,$=S.changedTouches[0].clientY-w.y;Math.abs(I)>Math.abs($)*1.5&&Math.abs(I)>40&&(I>0&&w.x<=80?c(!0):c(!1))},x=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;let P=0;return Ne("scroll",j0(()=>{const S=x();S<=58||S{S||c(!1)}),Ee(()=>{const S=Bc(document.body);ve(a,$=>{S.value=$});const I=n.afterEach(()=>{c(!1)});mn(()=>{S.value=!1,I()})}),()=>f(ft("GlobalEncrypt")?gt("GlobalEncrypt"):eu,()=>f("div",{class:["theme-container",{"no-navbar":!m.value,"no-sidebar":!_.value&&!(t.sidebar||t.sidebarTop||t.sidebarBottom),"has-toc":b.value,"hide-navbar":h.value,"sidebar-collapsed":!s.value&&!i.value&&u.value,"sidebar-open":s.value&&a.value},e.containerClass,o.value.containerClass||""],onTouchStart:C,onTouchEnd:y},[m.value?f(q3,{onToggleSidebar:()=>c()},{startBefore:()=>{var S;return(S=t.navbarStartBefore)==null?void 0:S.call(t)},startAfter:()=>{var S;return(S=t.navbarStartAfter)==null?void 0:S.call(t)},centerBefore:()=>{var S;return(S=t.navbarCenterBefore)==null?void 0:S.call(t)},centerAfter:()=>{var S;return(S=t.navbarCenterAfter)==null?void 0:S.call(t)},endBefore:()=>{var S;return(S=t.navbarEndBefore)==null?void 0:S.call(t)},endAfter:()=>{var S;return(S=t.navbarEndAfter)==null?void 0:S.call(t)},screenTop:()=>{var S;return(S=t.navScreenTop)==null?void 0:S.call(t)},screenBottom:()=>{var S;return(S=t.navScreenBottom)==null?void 0:S.call(t)}}):null,f(Yt,{name:"fade"},()=>a.value?f("div",{class:"vp-sidebar-mask",onClick:()=>c(!1)}):null),f(Yt,{name:"fade"},()=>s.value?null:f("div",{class:"toggle-sidebar-wrapper",onClick:()=>d()},f("span",{class:["arrow",u.value?"end":"start"]}))),f(K3,{},{...t.sidebar?{default:()=>t.sidebar()}:{},top:()=>{var S;return(S=t.sidebarTop)==null?void 0:S.call(t)},bottom:()=>{var S;return(S=t.sidebarBottom)==null?void 0:S.call(t)}}),t.default(),f(O3)]))}}),Sn=V({name:"DropTransition",props:{type:{type:String,default:"single"},delay:{type:Number,default:0},duration:{type:Number,default:.25},appear:Boolean},slots:Object,setup(e,{slots:t}){const n=o=>{o.style.transition=`transform ${e.duration}s ease-in-out ${e.delay}s, opacity ${e.duration}s ease-in-out ${e.delay}s`,o.style.transform="translateY(-20px)",o.style.opacity="0"},r=o=>{o.style.transform="translateY(0)",o.style.opacity="1"};return()=>f(e.type==="single"?Yt:I1,{name:"drop",appear:e.appear,onAppear:n,onAfterAppear:r,onEnter:n,onAfterEnter:r,onBeforeLeave:n},()=>t.default())}});const Tl=({custom:e})=>f(kc,{class:["theme-hope-content",{custom:e}]});Tl.displayName="MarkdownContent",Tl.props={custom:Boolean};var Hu=Tl;const Vu=()=>f(Ie,{name:"author"},()=>f("path",{d:"M649.6 633.6c86.4-48 147.2-144 147.2-249.6 0-160-128-288-288-288s-288 128-288 288c0 108.8 57.6 201.6 147.2 249.6-121.6 48-214.4 153.6-240 288-3.2 9.6 0 19.2 6.4 25.6 3.2 9.6 12.8 12.8 22.4 12.8h704c9.6 0 19.2-3.2 25.6-12.8 6.4-6.4 9.6-16 6.4-25.6-25.6-134.4-121.6-240-243.2-288z"}));Vu.displayName="AuthorIcon";const zu=()=>f(Ie,{name:"calendar"},()=>f("path",{d:"M716.4 110.137c0-18.753-14.72-33.473-33.472-33.473-18.753 0-33.473 14.72-33.473 33.473v33.473h66.993v-33.473zm-334.87 0c0-18.753-14.72-33.473-33.473-33.473s-33.52 14.72-33.52 33.473v33.473h66.993v-33.473zm468.81 33.52H716.4v100.465c0 18.753-14.72 33.473-33.472 33.473a33.145 33.145 0 01-33.473-33.473V143.657H381.53v100.465c0 18.753-14.72 33.473-33.473 33.473a33.145 33.145 0 01-33.473-33.473V143.657H180.6A134.314 134.314 0 0046.66 277.595v535.756A134.314 134.314 0 00180.6 947.289h669.74a134.36 134.36 0 00133.94-133.938V277.595a134.314 134.314 0 00-133.94-133.938zm33.473 267.877H147.126a33.145 33.145 0 01-33.473-33.473c0-18.752 14.72-33.473 33.473-33.473h736.687c18.752 0 33.472 14.72 33.472 33.473a33.145 33.145 0 01-33.472 33.473z"}));zu.displayName="CalendarIcon";const Uu=()=>f(Ie,{name:"category"},()=>f("path",{d:"M148.41 106.992h282.176c22.263 0 40.31 18.048 40.31 40.31V429.48c0 22.263-18.047 40.31-40.31 40.31H148.41c-22.263 0-40.311-18.047-40.311-40.31V147.302c0-22.263 18.048-40.31 40.311-40.31zM147.556 553.478H429.73c22.263 0 40.311 18.048 40.311 40.31v282.176c0 22.263-18.048 40.312-40.31 40.312H147.555c-22.263 0-40.311-18.049-40.311-40.312V593.79c0-22.263 18.048-40.311 40.31-40.311zM593.927 106.992h282.176c22.263 0 40.31 18.048 40.31 40.31V429.48c0 22.263-18.047 40.31-40.31 40.31H593.927c-22.263 0-40.311-18.047-40.311-40.31V147.302c0-22.263 18.048-40.31 40.31-40.31zM730.22 920.502H623.926c-40.925 0-74.22-33.388-74.22-74.425V623.992c0-41.038 33.387-74.424 74.425-74.424h222.085c41.038 0 74.424 33.226 74.424 74.067v114.233c0 10.244-8.304 18.548-18.547 18.548s-18.548-8.304-18.548-18.548V623.635c0-20.388-16.746-36.974-37.33-36.974H624.13c-20.585 0-37.331 16.747-37.331 37.33v222.086c0 20.585 16.654 37.331 37.126 37.331H730.22c10.243 0 18.547 8.304 18.547 18.547 0 10.244-8.304 18.547-18.547 18.547z"}));Uu.displayName="CategoryIcon";const qu=()=>f(Ie,{name:"print"},()=>f("path",{d:"M819.2 364.8h-44.8V128c0-17.067-14.933-32-32-32H281.6c-17.067 0-32 14.933-32 32v236.8h-44.8C145.067 364.8 96 413.867 96 473.6v192c0 59.733 49.067 108.8 108.8 108.8h44.8V896c0 17.067 14.933 32 32 32h460.8c17.067 0 32-14.933 32-32V774.4h44.8c59.733 0 108.8-49.067 108.8-108.8v-192c0-59.733-49.067-108.8-108.8-108.8zM313.6 160h396.8v204.8H313.6V160zm396.8 704H313.6V620.8h396.8V864zM864 665.6c0 25.6-19.2 44.8-44.8 44.8h-44.8V588.8c0-17.067-14.933-32-32-32H281.6c-17.067 0-32 14.933-32 32v121.6h-44.8c-25.6 0-44.8-19.2-44.8-44.8v-192c0-25.6 19.2-44.8 44.8-44.8h614.4c25.6 0 44.8 19.2 44.8 44.8v192z"}));qu.displayName="PrintIcon";const Wu=()=>f(Ie,{name:"tag"},()=>f("path",{d:"M939.902 458.563L910.17 144.567c-1.507-16.272-14.465-29.13-30.737-30.737L565.438 84.098h-.402c-3.215 0-5.726 1.005-7.634 2.913l-470.39 470.39a10.004 10.004 0 000 14.164l365.423 365.424c1.909 1.908 4.42 2.913 7.132 2.913s5.223-1.005 7.132-2.913l470.39-470.39c2.01-2.11 3.014-5.023 2.813-8.036zm-240.067-72.121c-35.458 0-64.286-28.828-64.286-64.286s28.828-64.285 64.286-64.285 64.286 28.828 64.286 64.285-28.829 64.286-64.286 64.286z"}));Wu.displayName="TagIcon";const Gu=()=>f(Ie,{name:"timer"},()=>f("path",{d:"M799.387 122.15c4.402-2.978 7.38-7.897 7.38-13.463v-1.165c0-8.933-7.38-16.312-16.312-16.312H256.33c-8.933 0-16.311 7.38-16.311 16.312v1.165c0 5.825 2.977 10.874 7.637 13.592 4.143 194.44 97.22 354.963 220.201 392.763-122.204 37.542-214.893 196.511-220.2 389.397-4.661 5.049-7.638 11.651-7.638 19.03v5.825h566.49v-5.825c0-7.379-2.849-13.981-7.509-18.9-5.049-193.016-97.867-351.985-220.2-389.527 123.24-37.67 216.446-198.453 220.588-392.892zM531.16 450.445v352.632c117.674 1.553 211.787 40.778 211.787 88.676H304.097c0-48.286 95.149-87.382 213.728-88.676V450.445c-93.077-3.107-167.901-81.297-167.901-177.093 0-8.803 6.99-15.793 15.793-15.793 8.803 0 15.794 6.99 15.794 15.793 0 80.261 63.69 145.635 142.01 145.635s142.011-65.374 142.011-145.635c0-8.803 6.99-15.793 15.794-15.793s15.793 6.99 15.793 15.793c0 95.019-73.789 172.82-165.96 177.093z"}));Gu.displayName="TimerIcon";const Ku=()=>f(Ie,{name:"word"},()=>[f("path",{d:"M518.217 432.64V73.143A73.143 73.143 0 01603.43 1.097a512 512 0 01419.474 419.474 73.143 73.143 0 01-72.046 85.212H591.36a73.143 73.143 0 01-73.143-73.143z"}),f("path",{d:"M493.714 566.857h340.297a73.143 73.143 0 0173.143 85.577A457.143 457.143 0 11371.566 117.76a73.143 73.143 0 0185.577 73.143v339.383a36.571 36.571 0 0036.571 36.571z"})]);Ku.displayName="WordIcon";const tn=()=>{const e=ye();return T(()=>e.value.metaLocales)};var Y3=V({name:"AuthorInfo",inheritAttrs:!1,props:{author:{type:Array,required:!0},pure:Boolean},setup(e){const t=tn();return()=>e.author.length?f("span",{class:"page-author-info","aria-label":`${t.value.author}${e.pure?"":"🖊"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(Vu),f("span",e.author.map(n=>n.url?f("a",{class:"page-author-item",href:n.url,target:"_blank",rel:"noopener noreferrer"},n.name):f("span",{class:"page-author-item"},n.name))),f("span",{property:"author",content:e.author.map(n=>n.name).join(", ")})]):null}}),Q3=V({name:"CategoryInfo",inheritAttrs:!1,props:{category:{type:Array,required:!0},pure:Boolean},setup(e){const t=tn(),n=hs();return()=>e.category.length?f("span",{class:"page-category-info","aria-label":`${t.value.category}${e.pure?"":"🌈"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(Uu),e.category.map(({name:r,path:o})=>f("span",{class:["page-category-item",{[`category${su(r,9)}`]:!e.pure,clickable:o}],role:o?"navigation":"",onClick:()=>{o&&n(o)}},r)),f("meta",{property:"articleSection",content:e.category.map(({name:r})=>r).join(",")})]):null}}),J3=V({name:"DateInfo",inheritAttrs:!1,props:{date:{type:Object,default:null},localizedDate:{type:String,default:""},pure:Boolean},setup(e){const t=os(),n=tn();return()=>e.date?f("span",{class:"page-date-info","aria-label":`${n.value.date}${e.pure?"":"📅"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(zu),f("span",f(Ao,()=>e.localizedDate||e.date.toLocaleDateString(t.value))),f("meta",{property:"datePublished",content:e.date.toISOString()||""})]):null}}),X3=V({name:"OriginalInfo",inheritAttrs:!1,props:{isOriginal:Boolean},setup(e){const t=tn();return()=>e.isOriginal?f("span",{class:"page-original-info"},t.value.origin):null}}),Z3=V({name:"ReadingTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null},pure:Boolean},setup(e){const t=tn(),n=T(()=>{if(!e.readingTime)return null;const{minutes:r}=e.readingTime;return r<1?"PT1M":`PT${Math.round(r)}M`});return()=>{var r,o;return(r=e.readingTimeLocale)!=null&&r.time?f("span",{class:"page-reading-time-info","aria-label":`${t.value.readingTime}${e.pure?"":"⌛"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(Gu),f("span",(o=e.readingTimeLocale)==null?void 0:o.time),f("meta",{property:"timeRequired",content:n.value})]):null}}}),ev=V({name:"TagInfo",inheritAttrs:!1,props:{tag:{type:Array,default:()=>[]},pure:Boolean},setup(e){const t=tn(),n=hs();return()=>e.tag.length?f("span",{class:"page-tag-info","aria-label":`${t.value.tag}${e.pure?"":"🏷"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(Wu),e.tag.map(({name:r,path:o})=>f("span",{class:["page-tag-item",{[`tag${su(r,9)}`]:!e.pure,clickable:o}],role:o?"navigation":"",onClick:()=>{o&&n(o)}},r)),f("meta",{property:"keywords",content:e.tag.map(({name:r})=>r).join(",")})]):null}}),tv=V({name:"ReadTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null},pure:Boolean},setup(e){const t=tn();return()=>{var n,r,o;return(n=e.readingTimeLocale)!=null&&n.words?f("span",{class:"page-word-info","aria-label":`${t.value.words}${e.pure?"":"🔠"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[f(Ku),f("span",(r=e.readingTimeLocale)==null?void 0:r.words),f("meta",{property:"wordCount",content:(o=e.readingTime)==null?void 0:o.words})]):null}}}),nv=V({name:"PageInfo",components:{AuthorInfo:Y3,CategoryInfo:Q3,DateInfo:J3,OriginalInfo:X3,PageViewInfo:()=>null,ReadingTimeInfo:Z3,TagInfo:ev,WordInfo:tv},props:{items:{type:[Array,Boolean],default:()=>["Author","Original","Date","PageView","ReadingTime","Category","Tag"]},info:{type:Object,required:!0}},setup(e){const t=Dr();return()=>e.items?f("div",{class:"page-info"},e.items.map(n=>f(gt(`${n}Info`),{...e.info,pure:t.value}))):null}}),rv=V({name:"PrintButton",setup(){const e=en(),t=ye();return()=>e.value.print===!1?null:f("button",{type:"button",class:"print-button",title:t.value.metaLocales.print,onClick:()=>{window.print()}},f(qu))}}),ov=V({name:"TOC",props:{items:{type:Array,default:()=>[]},headerDepth:{type:Number,default:2}},slots:Object,setup(e,{slots:t}){const n=Jt(),r=Le(),o=tn(),[l,s]=yr(),i=Fe(),a=Y("-1.7rem"),c=d=>{var p;(p=i.value)==null||p.scrollTo({top:d,behavior:"smooth"})},u=()=>{if(i.value){const d=document.querySelector(".vp-toc-item.active");d?a.value=`${d.getBoundingClientRect().top-i.value.getBoundingClientRect().top+i.value.scrollTop}px`:a.value="-1.7rem"}else a.value="-1.7rem"};return Ee(()=>{ve(()=>n.hash,d=>{if(i.value){const p=document.querySelector(`#toc a.toc-link[href$="${d}"]`);if(!p)return;const{top:h,height:m}=i.value.getBoundingClientRect(),{top:_,height:b}=p.getBoundingClientRect();_h+m&&c(i.value.scrollTop+_+b-h-m)}}),ve(()=>n.fullPath,u,{flush:"post",immediate:!0})}),()=>{var m,_;const d=({title:b,level:w,slug:C})=>f(Je,{to:`#${C}`,class:["vp-toc-link",`level${w}`],onClick:()=>{s()}},()=>b),p=(b,w)=>b.length&&w>0?f("ul",{class:"vp-toc-list"},b.map(C=>{const y=p(C.children,w-1);return[f("li",{class:["vp-toc-item",{active:n.hash===`#${C.slug}`}]},d(C)),y?f("li",y):null]})):null,h=e.items.length?p(e.items,e.headerDepth):r.value.headers?p(r.value.headers,e.headerDepth):null;return h?f("div",{class:"vp-toc-placeholder"},[f("aside",{id:"toc"},[(m=t.before)==null?void 0:m.call(t),f("div",{class:"vp-toc-header",onClick:()=>{s()}},[o.value.toc,f(rv),f("div",{class:["arrow",l.value?"down":"end"]})]),f("div",{class:["vp-toc-wrapper",l.value?"open":""],ref:i},[h,f("div",{class:"vp-toc-marker",style:{top:a.value}})]),(_=t.after)==null?void 0:_.call(t)])]):null}}}),Yu=V({name:"SkipLink",props:{content:{type:String,default:"main-content"}},setup(e){const t=Le(),n=ye(),r=Fe(),o=({target:l})=>{const s=document.querySelector(l.hash);if(s){const i=()=>{s.removeAttribute("tabindex"),s.removeEventListener("blur",i)};s.setAttribute("tabindex","-1"),s.addEventListener("blur",i),s.focus(),window.scrollTo(0,0)}};return Ee(()=>{ve(()=>t.value.path,()=>r.value.focus())}),()=>[f("span",{ref:r,tabindex:"-1"}),f("a",{href:`#${e.content}`,class:"vp-skip-link sr-only",onClick:o},n.value.routeLocales.skipToContent)]}});let nl=null,Jn=null;const lv={wait:()=>nl,pending:()=>{nl=new Promise(e=>{Jn=e})},resolve:()=>{Jn==null||Jn(),nl=null,Jn=null}},Qu=()=>lv;var Ju=V({name:"FadeSlideY",slots:Object,setup(e,{slots:t}){const{resolve:n,pending:r}=Qu();return()=>f(Yt,{name:"fade-slide-y",mode:"out-in",onBeforeEnter:n,onBeforeLeave:r},()=>{var o;return(o=t.default)==null?void 0:o.call(t)})}});const sv=(e,t)=>{const n=e.replace(t,"/").split("/"),r=[];let o=es(t);return n.forEach((l,s)=>{s!==n.length-1?(o+=`${l}/`,r.push({link:o,name:l||"Home"})):l!==""&&(o+=l,r.push({link:o,name:l}))}),r},Xu=(e,{slots:t})=>{var d,p;const{bgImage:n,bgImageDark:r,bgImageStyle:o,color:l,description:s,image:i,imageDark:a,header:c,features:u=[]}=e;return f("div",{class:"vp-feature-wrapper"},[n?f("div",{class:["vp-feature-bg",{light:r}],style:[{"background-image":`url(${n})`},o]}):null,r?f("div",{class:"vp-feature-bg dark",style:[{"background-image":`url(${r})`},o]}):null,f("div",{class:"vp-feature",style:l?{color:l}:{}},[((d=t.image)==null?void 0:d.call(t,e))||[i?f("img",{class:["vp-feature-image",{light:a}],src:Ge(i),alt:""}):null,a?f("img",{class:"vp-feature-image dark",src:Ge(a),alt:""}):null],((p=t.info)==null?void 0:p.call(t,e))||[c?f("h2",{class:"vp-feature-header"},c):null,s?f("p",{class:"vp-feature-description",innerHTML:s}):null],u.length?f("div",{class:"vp-features"},u.map(({icon:h,title:m,details:_,link:b})=>{const w=[f("h3",{class:"vp-feature-title"},[f(Ke,{icon:h}),f("span",{innerHTML:m})]),f("p",{class:"vp-feature-details",innerHTML:_})];return b?jn(b)?f("a",{class:"vp-feature-item link",href:b,"aria-label":m,target:"_blank"},w):f(Je,{class:"vp-feature-item link",to:b,"aria-label":m},()=>w):f("div",{class:"vp-feature-item"},w)})):null])])};Xu.displayName="FeaturePanel";var zi=Xu,iv=V({name:"HeroInfo",slots:Object,setup(e,{slots:t}){const n=Ae(),r=To(),o=T(()=>n.value.heroFullScreen??!1),l=T(()=>{const{heroText:c,tagline:u}=n.value;return{text:c??r.value.title??"Hello",tagline:u??r.value.description??"",isFullScreen:o.value}}),s=T(()=>{const{heroText:c,heroImage:u,heroImageDark:d,heroAlt:p,heroImageStyle:h}=n.value;return{image:u?Ge(u):null,imageDark:d?Ge(d):null,style:h,alt:p||c||"",isFullScreen:o.value}}),i=T(()=>{const{bgImage:c,bgImageDark:u,bgImageStyle:d}=n.value;return{image:Pe(c)?Ge(c):null,imageDark:Pe(u)?Ge(u):null,bgStyle:d,isFullScreen:o.value}}),a=T(()=>n.value.actions??[]);return()=>{var c,u,d;return f("header",{class:["vp-hero-info-wrapper",{fullscreen:o.value}]},[((c=t.heroBg)==null?void 0:c.call(t,i.value))||[i.value.image?f("div",{class:["vp-hero-mask",{light:i.value.imageDark}],style:[{"background-image":`url(${i.value.image})`},i.value.bgStyle]}):null,i.value.imageDark?f("div",{class:"vp-hero-mask dark",style:[{"background-image":`url(${i.value.imageDark})`},i.value.bgStyle]}):null],f("div",{class:"vp-hero-info"},[((u=t.heroImage)==null?void 0:u.call(t,s.value))||f(Sn,{appear:!0,type:"group"},()=>[s.value.image?f("img",{key:"light",class:["vp-hero-image",{light:s.value.imageDark}],style:s.value.style,src:s.value.image,alt:s.value.alt}):null,s.value.imageDark?f("img",{key:"dark",class:"vp-hero-image dark",style:s.value.style,src:s.value.imageDark,alt:s.value.alt}):null]),((d=t.heroInfo)==null?void 0:d.call(t,l.value))??f("div",{class:"vp-hero-infos"},[l.value.text?f(Sn,{appear:!0,delay:.04},()=>f("h1",{id:"main-title"},l.value.text)):null,l.value.tagline?f(Sn,{appear:!0,delay:.08},()=>f("p",{id:"main-description",innerHTML:l.value.tagline})):null,a.value.length?f(Sn,{appear:!0,delay:.12},()=>f("p",{class:"vp-hero-actions"},a.value.map(p=>f(Xe,{class:["vp-hero-action",p.type||"default"],config:p,noExternalLinkIcon:!0},p.icon?{before:()=>f(Ke,{icon:p.icon})}:{})))):null])])])}}});const Zu=(e,{slots:t})=>{var p,h,m;const{bgImage:n,bgImageDark:r,bgImageStyle:o,color:l,description:s,image:i,imageDark:a,header:c,highlights:u=[],type:d="un-order"}=e;return f("div",{class:"vp-highlight-wrapper",style:l?{color:l}:{}},[n?f("div",{class:["vp-highlight-bg",{light:r}],style:[{"background-image":`url(${n})`},o]}):null,r?f("div",{class:"vp-highlight-bg dark",style:[{"background-image":`url(${r})`},o]}):null,f("div",{class:"vp-highlight"},[((p=t.image)==null?void 0:p.call(t,e))||[i?f("img",{class:["vp-highlight-image",{light:a}],src:Ge(i),alt:""}):null,a?f("img",{class:"vp-highlight-image dark",src:Ge(a),alt:""}):null],((h=t.info)==null?void 0:h.call(t,e))||[f("div",{class:"vp-highlight-info-wrapper"},f("div",{class:"vp-highlight-info"},[c?f("h2",{class:"vp-highlight-header",innerHTML:c}):null,s?f("p",{class:"vp-highlight-description",innerHTML:s}):null,((m=t.highlights)==null?void 0:m.call(t,u))||f(d==="order"?"ol":d==="no-order"?"dl":"ul",{class:"vp-highlights"},u.map(({icon:_,title:b,details:w,link:C})=>{const y=[f(d==="no-order"?"dt":"h3",{class:"vp-highlight-title"},[_?f(Ke,{class:"vp-highlight-icon",icon:_}):null,f("span",{innerHTML:b})]),w?f(d==="no-order"?"dd":"p",{class:"vp-highlight-details",innerHTML:w}):null];return f(d==="no-order"?"div":"li",{class:["vp-highlight-item-wrapper",{link:C}]},C?jn(C)?f("a",{class:"vp-highlight-item link",href:C,"aria-label":b,target:"_blank"},y):f(Je,{class:"vp-highlight-item link",to:C,"aria-label":b},()=>y):f("div",{class:"vp-highlight-item"},y))}))]))]])])};Zu.displayName="HighlightPanel";var av=Zu,cv=V({name:"HomePage",slots:Object,setup(e,{slots:t}){const n=Dr(),r=Ae(),o=T(()=>{const{features:s}=r.value;return kl(s)?s:null}),l=T(()=>{const{highlights:s}=r.value;return kl(s)?s:null});return()=>{var s,i,a,c;return f("main",{id:"main-content",class:["vp-project-home ",{pure:n.value}],"aria-labelledby":r.value.heroText===null?"":"main-title"},[(s=t.top)==null?void 0:s.call(t),f(iv),((i=l.value)==null?void 0:i.map(u=>"features"in u?f(zi,u):f(av,u)))||(o.value?f(Sn,{appear:!0,delay:.24},()=>f(zi,{features:o.value})):null),(a=t.center)==null?void 0:a.call(t),f(Sn,{appear:!0,delay:.32},()=>f(Hu)),(c=t.bottom)==null?void 0:c.call(t)])}}}),uv=V({name:"BreadCrumb",setup(){const e=Le(),t=Xt(),n=Ae(),r=ye(),o=Fe([]),l=T(()=>(n.value.breadcrumb||n.value.breadcrumb!==!1&&r.value.breadcrumb!==!1)&&o.value.length>1),s=T(()=>n.value.breadcrumbIcon||n.value.breadcrumbIcon!==!1&&r.value.breadcrumbIcon!==!1),i=()=>{const a=sv(e.value.path,t.value).map(({link:c,name:u})=>{const{path:d,meta:p,notFound:h}=Lo(c);return h||p[kt.breadcrumbExclude]?null:{title:p[kt.shortTitle]||p[kt.title]||u,icon:p[kt.icon],path:d}}).filter(c=>c!==null);a.length>1&&(o.value=a)};return Ee(()=>{ve(()=>e.value.path,i,{immediate:!0})}),()=>f("nav",{class:["vp-breadcrumb",{disable:!l.value}]},l.value?f("ol",{vocab:"https://schema.org/",typeof:"BreadcrumbList"},o.value.map((a,c)=>f("li",{class:{"is-active":o.value.length-1===c},property:"itemListElement",typeof:"ListItem"},[f(Je,{to:a.path,property:"item",typeof:"WebPage"},()=>[s.value?f(Ke,{icon:a.icon}):null,f("span",{property:"name"},a.title||"Unknown")]),f("meta",{property:"position",content:c+1})]))):[])}});const Ui=e=>e===!1||qn(e)?e:Pe(e)?Mn(e,!0):null,Ll=(e,t,n)=>{const r=e.findIndex(o=>o.link===t);if(r!==-1){const o=e[r+n];return o!=null&&o.link?o:null}for(const o of e)if("children"in o){const l=Ll(o.children,t,n);if(l)return l}return null};var fv=V({name:"PageNav",setup(){const e=ye(),t=Ae(),n=vs(),r=Le(),o=hs(),l=T(()=>{const i=Ui(t.value.prev);return i===!1?null:i||(e.value.prevLink===!1?null:Ll(n.value,r.value.path,-1))}),s=T(()=>{const i=Ui(t.value.next);return i===!1?null:i||(e.value.nextLink===!1?null:Ll(n.value,r.value.path,1))});return Ne("keydown",i=>{i.altKey&&(i.key==="ArrowRight"?s.value&&(o(s.value.link),i.preventDefault()):i.key==="ArrowLeft"&&l.value&&(o(l.value.link),i.preventDefault()))}),()=>l.value||s.value?f("nav",{class:"vp-page-nav"},[l.value?f(Xe,{class:"prev",config:l.value},()=>{var i,a;return[f("div",{class:"hint"},[f("span",{class:"arrow start"}),e.value.metaLocales.prev]),f("div",{class:"link"},[f(Ke,{icon:(i=l.value)==null?void 0:i.icon}),(a=l.value)==null?void 0:a.text])]}):null,s.value?f(Xe,{class:"next",config:s.value},()=>{var i,a;return[f("div",{class:"hint"},[e.value.metaLocales.next,f("span",{class:"arrow end"})]),f("div",{class:"link"},[(i=s.value)==null?void 0:i.text,f(Ke,{icon:(a=s.value)==null?void 0:a.icon})])]}):null]):null}});const dv={GitHub:":repo/edit/:branch/:path",GitLab:":repo/-/edit/:branch/:path",Gitee:":repo/edit/:branch/:path",Bitbucket:":repo/src/:branch/:path?mode=edit&spa=0&at=:branch&fileviewer=file-view-default"},pv=({docsRepo:e,docsBranch:t,docsDir:n,filePathRelative:r,editLinkPattern:o})=>{if(!r)return null;const l=cu(e);let s;return o?s=o:l!==null&&(s=dv[l]),s?s.replace(/:repo/u,gn(e)?e:`https://github.com/${e}`).replace(/:branch/u,t).replace(/:path/u,ac(`${es(n)}/${r}`)):null},hv=()=>{const e=ye(),t=Le(),n=Ae();return T(()=>{const{repo:r,docsRepo:o=r,docsBranch:l="main",docsDir:s="",editLink:i,editLinkPattern:a=""}=e.value;if(!(n.value.editLink??i??!0)||!o)return null;const c=pv({docsRepo:o,docsBranch:l,docsDir:s,editLinkPattern:a,filePathRelative:t.value.filePathRelative});return c?{text:e.value.metaLocales.editLink,link:c}:null})},vv=()=>{const e=To(),t=ye(),n=Le(),r=Ae();return T(()=>{var o,l;return!(r.value.lastUpdated??t.value.lastUpdated??!0)||!((o=n.value.git)!=null&&o.updatedTime)?null:new Date((l=n.value.git)==null?void 0:l.updatedTime).toLocaleString(e.value.lang)})},mv=()=>{const e=ye(),t=Le(),n=Ae();return T(()=>{var r;return n.value.contributors??e.value.contributors??!0?((r=t.value.git)==null?void 0:r.contributors)??null:null})};var gv=V({name:"PageTitle",setup(){const e=Le(),t=Ae(),n=ye(),{info:r,items:o}=w3();return()=>f("div",{class:"vp-page-title"},[f("h1",[n.value.titleIcon===!1?null:f(Ke,{icon:t.value.icon}),e.value.title]),f(nv,{info:r.value,...o.value===null?{}:{items:o.value}}),f("hr")])}});const ef=()=>f(Ie,{name:"edit"},()=>[f("path",{d:"M430.818 653.65a60.46 60.46 0 0 1-50.96-93.281l71.69-114.012 7.773-10.365L816.038 80.138A60.46 60.46 0 0 1 859.225 62a60.46 60.46 0 0 1 43.186 18.138l43.186 43.186a60.46 60.46 0 0 1 0 86.373L588.879 565.55l-8.637 8.637-117.466 68.234a60.46 60.46 0 0 1-31.958 11.229z"}),f("path",{d:"M728.802 962H252.891A190.883 190.883 0 0 1 62.008 771.98V296.934a190.883 190.883 0 0 1 190.883-192.61h267.754a60.46 60.46 0 0 1 0 120.92H252.891a69.962 69.962 0 0 0-69.098 69.099V771.98a69.962 69.962 0 0 0 69.098 69.098h475.911A69.962 69.962 0 0 0 797.9 771.98V503.363a60.46 60.46 0 1 1 120.922 0V771.98A190.883 190.883 0 0 1 728.802 962z"})]);ef.displayName="EditIcon";var yv=V({name:"PageMeta",setup(){const e=ye(),t=hv(),n=vv(),r=mv();return()=>{const{metaLocales:o}=e.value;return f("footer",{class:"page-meta"},[t.value?f("div",{class:"meta-item edit-link"},f(Xe,{class:"label",config:t.value},{before:()=>f(ef)})):null,f("div",{class:"meta-item git-info"},[n.value?f("div",{class:"update-time"},[f("span",{class:"label"},`${o.lastUpdated}: `),f(Ao,()=>f("span",{class:"info"},n.value))]):null,r.value&&r.value.length?f("div",{class:"contributors"},[f("span",{class:"label"},`${o.contributors}: `),r.value.map(({email:l,name:s},i)=>[f("span",{class:"contributor",title:`email: ${l}`},s),i!==r.value.length-1?",":""])]):null])])}}}),bv=V({name:"NormalPage",slots:Object,setup(e,{slots:t}){const n=Ae(),{isDarkmode:r}=Fr(),o=ye(),l=T(()=>n.value.toc||n.value.toc!==!1&&o.value.toc!==!1);return()=>f("main",{id:"main-content",class:"vp-page"},f(ft("LocalEncrypt")?gt("LocalEncrypt"):eu,()=>{var s,i,a,c;return[(s=t.top)==null?void 0:s.call(t),n.value.cover?f("div",{class:"page-cover"},f("img",{src:Ge(n.value.cover),alt:"","no-view":""})):null,f(uv),f(gv),l.value?f(ov,{headerDepth:n.value.headerDepth??o.value.headerDepth??2},{before:()=>{var u;return(u=t.tocBefore)==null?void 0:u.call(t)},after:()=>{var u;return(u=t.tocAfter)==null?void 0:u.call(t)}}):null,(i=t.contentBefore)==null?void 0:i.call(t),f(Hu),(a=t.contentAfter)==null?void 0:a.call(t),f(yv),f(fv),ft("CommentService")?f(gt("CommentService"),{darkmode:r.value}):null,(c=t.bottom)==null?void 0:c.call(t)]}))}}),_v=V({name:"Layout",slots:Object,setup(e,{slots:t}){ye();const n=Le(),r=Ae(),{isMobile:o}=Oo(),l=T(()=>"none");return()=>[f(Yu),f(Bu,{},{default:()=>{var s;return((s=t.default)==null?void 0:s.call(t))||(r.value.home?f(cv):f(Ju,()=>f(bv,{key:n.value.path},{top:()=>{var i;return(i=t.top)==null?void 0:i.call(t)},bottom:()=>{var i;return(i=t.bottom)==null?void 0:i.call(t)},contentBefore:()=>{var i;return(i=t.contentBefore)==null?void 0:i.call(t)},contentAfter:()=>{var i;return(i=t.contentAfter)==null?void 0:i.call(t)},tocBefore:()=>{var i;return(i=t.tocBefore)==null?void 0:i.call(t)},tocAfter:()=>{var i;return(i=t.tocAfter)==null?void 0:i.call(t)}})))},...l.value==="none"?{}:{navScreenBottom:()=>f(gt("BloggerInfo"))},...!o.value&&l.value==="always"?{sidebar:()=>f(gt("BloggerInfo"))}:{}})]}}),wv=V({name:"NotFoundHint",setup(){const e=ye(),t=()=>{const n=e.value.routeLocales.notFoundMsg;return n[Math.floor(Math.random()*n.length)]};return()=>f("div",{class:"not-found-hint"},[f("p",{class:"error-code"},"404"),f("h1",{class:"error-title"},e.value.routeLocales.notFoundTitle),f("p",{class:"error-hint"},t())])}}),Ev=V({name:"NotFound",slots:Object,setup(e,{slots:t}){const n=yn(),r=Xt(),o=ye();return()=>[f(Yu),f(Bu,{noSidebar:!0},()=>{var l;return f("main",{id:"main-content",class:"vp-page not-found"},((l=t.default)==null?void 0:l.call(t))||[f(wv),f("div",{class:"actions"},[f("button",{type:"button",class:"action-button",onClick:()=>{window.history.go(-1)}},o.value.routeLocales.back),f("button",{type:"button",class:"action-button",onClick:()=>{n.push(o.value.home??r.value)}},o.value.routeLocales.home)])])})]}});const tf=()=>f(Ie,{name:"lock"},()=>f("path",{d:"M787.168 952.268H236.832c-30.395 0-55.033-24.638-55.033-55.033V429.45c0-30.395 24.638-55.034 55.033-55.034h82.55V264.35c0-106.38 86.238-192.618 192.618-192.618S704.618 157.97 704.618 264.35v110.066h82.55c30.395 0 55.033 24.639 55.033 55.034v467.785c0 30.395-24.639 55.033-55.033 55.033zM484.483 672.046v115.122h55.034V672.046c31.99-11.373 55.033-41.605 55.033-77.496 0-45.592-36.958-82.55-82.55-82.55s-82.55 36.958-82.55 82.55c0 35.89 23.042 66.123 55.033 77.496zM622.067 264.35c0-60.788-49.28-110.067-110.067-110.067s-110.067 49.28-110.067 110.067v110.066h220.135V264.35z"}));tf.displayName="LockIcon";var kv={};const wn="./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),rl=Array.from({length:64},(e,t)=>t),Zr=e=>Array(e).fill(-1),Nt=[...Zr(46),0,1,...rl.slice(54,64),...Zr(7),...rl.slice(2,28),...Zr(6),...rl.slice(28,54),...Zr(5)],qi=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],Wi=[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946,1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055,3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504,976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462],nf=[1332899944,1700884034,1701343084,1684370003,1668446532,1869963892],Al=(e,t)=>{if(t<=0||t>e.length)throw Error(`Illegal len: ${t}`);let n=0,r,o;const l=[];for(;n>2&63]),r=(r&3)<<4,n>=t){l.push(wn[r&63]);break}if(o=e[n++]&255,r|=o>>4&15,l.push(wn[r&63]),r=(o&15)<<2,n>=t){l.push(wn[r&63]);break}o=e[n++]&255,r|=o>>6&3,l.push(wn[r&63]),l.push(wn[o&63])}return l.join("")},Cv=(e,t)=>{if(t<=0)throw Error(`Illegal len: ${t}`);const n=e.length;let r=0,o=0,l,s,i,a,c,u;const d=[];for(;r>>0,c|=(s&48)>>4,d.push(String.fromCharCode(c)),++o>=t||r>=n)||(u=e.charCodeAt(r++),i=u>>0,c|=(i&60)>>2,d.push(String.fromCharCode(c)),++o>=t||r>=n)));)u=e.charCodeAt(r++),a=u>>0,c|=a,d.push(String.fromCharCode(c)),++o;return d.map(p=>p.charCodeAt(0))},xv=(e,t)=>{let n=null;for(typeof e=="number"&&(n=e,e=()=>null);n!==null||(n=e())!==null;)n<128?t(n&127):n<2048?(t(n>>6&31|192),t(n&63|128)):n<65536?(t(n>>12&15|224),t(n>>6&63|128),t(n&63|128)):(t(n>>18&7|240),t(n>>12&63|128),t(n>>6&63|128),t(n&63|128)),n=null},Sv=(e,t)=>{let n,r=null;for(;(n=r!==null?r:e())!==null;){if(n>=55296&&n<=57343&&(r=e())!==null&&r>=56320&&r<=57343){t((n-55296)*1024+r-56320+65536),r=null;continue}t(n)}r!==null&&t(r)},Tv=(e,t)=>{Sv(e,function(n){xv(n,t)})},Lv=typeof process=="object"&&kv.NEXT_RUNTIME==="edge"?setTimeout:typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:setTimeout,Av=e=>{const t=[];let n=0;return Tv(()=>n>=e.length?null:e.charCodeAt(n++),r=>{t.push(r)}),t},wr=(e,t,n,r)=>{let o,l=e[t],s=e[t+1];return l^=n[0],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[1],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[2],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[3],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[4],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[5],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[6],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[7],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[8],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[9],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[10],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[11],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[12],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[13],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[14],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[15],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[16],e[t]=s^n[17],e[t+1]=l,e},Cn=(e,t)=>{let n=0;for(let r=0;r<4;++r)n=n<<8|e[t]&255,t=(t+1)%e.length;return{key:n,offp:t}},Gi=(e,t,n)=>{const r=t.length,o=n.length;let l=0,s=[0,0],i;for(let a=0;a{const o=n.length,l=r.length;let s=0,i=[0,0],a;for(let c=0;c{const l=nf.slice(),s=l.length;if(n<4||n>31){const p=new Error(`Illegal number of rounds (4-31): ${n}`);if(r===!1)return Promise.reject(p);throw p}if(t.length!==16){const p=new Error(`Illegal salt length: ${t.length} != 16`);if(r===!1)return Promise.reject(p);throw p}n=1<>>0;let i,a,c=0,u;Int32Array?(i=new Int32Array(qi),a=new Int32Array(Wi)):(i=qi.slice(),a=Wi.slice()),Iv(t,e,i,a);const d=()=>{if(o&&o(c/n),c100)););}else{for(c=0;c<64;c++)for(u=0;u>1;u++)wr(l,u<<1,i,a);const p=[];for(c=0;c>24&255)>>>0),p.push((l[c]>>16&255)>>>0),p.push((l[c]>>8&255)>>>0),p.push((l[c]&255)>>>0);return r===!1?Promise.resolve(p):p}if(r===!1)return new Promise(p=>Lv(()=>{d().then(p)}))};if(r===!1)return d();{let p;for(;;)if(typeof(p=d())<"u")return p||[]}},Ov=e=>{try{let t;typeof window<"u"?t=window.crypto??window.msCrypto:t=globalThis.crypto;const n=new Uint32Array(e);return t==null||t.getRandomValues(n),Array.from(n)}catch{throw Error("WebCryptoAPI is not available")}},Pv=(e=10)=>{if(typeof e!="number")throw Error("Illegal arguments: "+typeof e);e<4?e=4:e>31&&(e=31);const t=[];return t.push("$2a$"),e<10&&t.push("0"),t.push(e.toString()),t.push("$"),t.push(Al(Ov(16),16)),t.join("")};function $v(e,t,n,r){if(typeof e!="string"||typeof t!="string"){const h=new Error("Invalid string / salt: Not a string");if(n===!1)return Promise.reject(h);throw h}let o,l;if(t.charAt(0)!=="$"||t.charAt(1)!=="2"){const h=new Error("Invalid salt version: "+t.substring(0,2));if(n===!1)return Promise.reject(h);throw h}if(t.charAt(2)==="$")o="\0",l=3;else{if(o=t.charAt(2),o!=="a"&&o!=="b"&&o!=="y"||t.charAt(3)!=="$"){const h=Error("Invalid salt revision: "+t.substring(2,4));if(n===!1)return Promise.reject(h);throw h}l=4}if(t.charAt(l+2)>"$"){const h=new Error("Missing salt rounds");if(n===!1)return Promise.reject(h);throw h}const s=parseInt(t.substring(l,l+1),10)*10,i=parseInt(t.substring(l+1,l+2),10),a=s+i,c=t.substring(l+3,l+25);e+=o>="a"?"\0":"";const u=Av(e),d=Cv(c,16),p=h=>{const m=[];return m.push("$2"),o>="a"&&m.push(o),m.push("$"),a<10&&m.push("0"),m.push(a.toString()),m.push("$"),m.push(Al(d,d.length)),m.push(Al(h,nf.length*4-1)),m.join("")};return n===!1?Ki(u,d,a,!1,r).then(h=>p(h)):p(Ki(u,d,a,!0,r))}const Rv=(e,t=10)=>{if(typeof t=="number"&&(t=Pv(t)),typeof e!="string"||typeof t!="string")throw Error("Illegal arguments: "+typeof e+", "+typeof t);return $v(e,t,!0)},Il=(e,t)=>{if(typeof e!="string"||typeof t!="string")throw Error("Illegal arguments: "+typeof e+", "+typeof t);return t.length!==60?!1:Rv(e,t.substring(0,t.length-31))===t};var rf=V({name:"PasswordModal",props:{full:Boolean},emits:["verify"],setup(e,{emit:t}){const n=Ae(),r=ye(),o=Y(""),l=Y(!1),s=Y(!1),i=T(()=>r.value.encryptLocales);let a=null;const c=()=>{a&&clearTimeout(a),l.value=!1,t("verify",o.value,s.value),Qt().then(()=>{l.value=!0,a=setTimeout(()=>{l.value=!1},1e3)})};return()=>f("div",{class:["vp-decrypt-layer",{expand:e.full||n.value.home}]},f("div",{class:"vp-decrypt-modal"},[f("div",{class:["vp-decrypt-hint",{tried:l.value}]},l.value?i.value.errorHint:f(tf,{"aria-label":i.value.iconLabel})),f("div",{class:"vp-decrypt-input"},[f("input",{type:"password",value:o.value,placeholder:i.value.placeholder,onInput:({target:u})=>{o.value=u.value},onKeydown:({key:u})=>{u==="Enter"&&c()}})]),f("div",{class:"vp-remember-password"},[f("input",{type:"checkbox",value:s.value,onChange:()=>s.value=!s.value}),i.value.remember]),f("button",{type:"button",class:"vp-decrypt-submit",onClick:()=>c()},"OK")]))}});const of=()=>{const e=en();return T(()=>e.value.encrypt||{})},Yi="VUEPRESS_HOPE_GLOBAL_TOKEN",Mv=()=>{const e=of(),t=Gn(Yi,""),n=Hc(Yi,""),r=T(()=>{const{global:l=!1,admin:s=[]}=e.value;return l&&s.length>0}),o=T(()=>{if(r.value){if(t.value)return e.value.admin.some(l=>Il(t.value,l));if(n.value)return e.value.admin.some(l=>Il(n.value,l))}return!1});return{isEncrypted:r,isDecrypted:o,validate:(l,s=!1)=>{(s?t:n).value=l}}},ol=(e="",t)=>!!e&&Il(e,t),Qi="VUEPRESS_HOPE_PATH_TOKEN",Nv=()=>{const e=Le(),t=of(),n=Gn(Qi,{}),r=Hc(Qi,{}),o=s=>qn(t.value.config)?Zt(t.value.config).filter(i=>Vn(decodeURI(s),i)).sort((i,a)=>a.length-i.length):[],l=s=>{const i=o(s);if(i.length>0){const{config:a={}}=t.value;return{isEncrypted:!0,isDecrypted:i.some(c=>n.value[c]&&a[c].some(u=>ol(n.value[c],u))||r.value[c]&&a[c].some(u=>ol(r.value[c],u)))}}return{isDecrypted:!1,isEncrypted:!1}};return{status:T(()=>l(e.value.path)),getStatus:l,validate:(s,i=!1)=>{const{config:a={}}=t.value,c=o(e.value.path);for(const u of c)if(a[u].filter(d=>ol(s,d))){(i?n:r).value[u]=s;break}}}};var Dv=V({name:"GlobalEncrypt",slots:Object,setup(e,{slots:t}){const{isDecrypted:n,isEncrypted:r,validate:o}=Mv(),l=Y(!1);return Ee(()=>{l.value=!0}),()=>f(Ju,()=>r.value?l.value?n.value?t.default():f(rf,{full:!0,onVerify:o}):null:t.default())}}),Fv=V({name:"LocalEncrypt",slots:Object,setup(e,{slots:t}){const{status:n,validate:r}=Nv(),o=Y(!1);return Ee(()=>{o.value=!0}),()=>{const{isEncrypted:l,isDecrypted:s}=n.value;return l?o.value?s?t.default():f(rf,{full:!0,onVerify:r}):null:t.default()}}});fh(e=>{const t=e.t,n=e.I!==!1,r=e.i;return n?{title:t,content:r?()=>[f(Ke,{icon:r}),t]:null,order:e.O,index:e.I}:null});const jv=et({enhance:({app:e,router:t})=>{const{scrollBehavior:n}=t.options;t.options.scrollBehavior=async(...r)=>(await Qu().wait(),n(...r)),C3(e),e.component("HopeIcon",Ke),e.component("GlobalEncrypt",Dv),e.component("LocalEncrypt",Fv)},setup:()=>{x3(),I3()},layouts:{Layout:_v,NotFound:Ev}}),Bv=e=>(Tr("data-v-3b58f839"),e=e(),Lr(),e),Hv={class:"item-card"},Vv={class:"item-name"},zv={class:"item-description"},Uv={class:"item-bar"},qv=["href"],Wv=Bv(()=>se("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},[se("path",{fill:"currentColor",d:"m7.775 3.275l1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0a.751.751 0 0 1 .018-1.042a.751.751 0 0 1 1.042-.018a1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018a.751.751 0 0 1-.018-1.042m-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018a.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0a.751.751 0 0 1-.018 1.042a.751.751 0 0 1-1.042.018a1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83"})],-1)),Gv=[Wv],Kv=["href"],Yv=["src"],Qv={class:"author-name"},Jv=V({__name:"ResItemCard",props:{item:Object},setup(e){const t=e;return(n,r)=>(yt(),Gt("div",Hv,[se("div",Vv,zt(t.item.name),1),se("div",zv,zt(t.item.description),1),se("div",Uv,[dn(' 三个可点击svg,一个github,一个下载,一个可点击"https://github.com/{{ username }}.png?size=80"个人头像配上id'),se("a",{href:t.item.link,class:""},Gv,8,qv),se("div",null,[se("a",{class:"author-info",href:`https://github.com/${t.item.author}`},[se("img",{class:"icon avatar",src:`https://github.com/${t.item.author}.png?size=80`,alt:""},null,8,Yv),se("div",Qv,zt(t.item.author),1)],8,Kv)])])]))}}),bn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},Xv=bn(Jv,[["__scopeId","data-v-3b58f839"],["__file","ResItemCard.vue"]]),Zv=e=>(Tr("data-v-002d38b2"),e=e(),Lr(),e),e4={class:"market"},t4=Zv(()=>se("h1",null,"主题/资源商店",-1)),n4={class:"search-box-div"},r4={class:"items"},o4=V({__name:"ResStore",setup(e){let t=T(()=>r.value?n.value.filter(o=>o.name.toLowerCase().includes(r.value.toLowerCase())||o.description.toLowerCase().includes(r.value.toLowerCase())||o.author.toLowerCase().includes(r.value.toLowerCase())).reverse():n.value.reverse()),n=Y([]),r=Y("");return fetch("/assets/resources.json").then(o=>o.json()).then(o=>{n.value=o}).catch(o=>console.error(o)),(o,l)=>(yt(),Gt("div",e4,[t4,se("div",n4,[Oa(se("input",{class:"item-search-box",type:"text",placeholder:"搜索资源","onUpdate:modelValue":l[0]||(l[0]=s=>Me(r)?r.value=s:r=s)},null,512),[[lc,rt(r)]])]),se("div",r4,[dn(" 使用filteredItems来布局商品 "),(yt(!0),Gt(Ue,null,Da(rt(t),s=>(yt(),Xl(Xv,{key:s.id,item:s},null,8,["item"]))),128))])]))}}),l4=bn(o4,[["__scopeId","data-v-002d38b2"],["__file","ResStore.vue"]]);var s4=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function i4(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var lf={exports:{}};/*! * clipboard.js v2.0.11 * https://clipboardjs.com/ * * Licensed MIT © Zeno Rocha - */(function(e,t){(function(r,o){e.exports=o()})(s4,function(){return function(){var n={686:function(l,s,i){i.d(s,{default:function(){return Ye}});var a=i(279),c=i.n(a),u=i(370),d=i.n(u),p=i(817),h=i.n(p);function m(Z){try{return document.execCommand(Z)}catch{return!1}}var _=function(z){var G=h()(z);return m("cut"),G},b=_;function w(Z){var z=document.documentElement.getAttribute("dir")==="rtl",G=document.createElement("textarea");G.style.fontSize="12pt",G.style.border="0",G.style.padding="0",G.style.margin="0",G.style.position="absolute",G.style[z?"right":"left"]="-9999px";var te=window.pageYOffset||document.documentElement.scrollTop;return G.style.top="".concat(te,"px"),G.setAttribute("readonly",""),G.value=Z,G}var C=function(z,G){var te=w(z);G.container.appendChild(te);var J=h()(te);return m("copy"),te.remove(),J},y=function(z){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},te="";return typeof z=="string"?te=C(z,G):z instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(z==null?void 0:z.type)?te=C(z.value,G):(te=h()(z),m("copy")),te},x=y;function P(Z){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?P=function(G){return typeof G}:P=function(G){return G&&typeof Symbol=="function"&&G.constructor===Symbol&&G!==Symbol.prototype?"symbol":typeof G},P(Z)}var S=function(){var z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},G=z.action,te=G===void 0?"copy":G,J=z.container,E=z.target,F=z.text;if(te!=="copy"&&te!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(E!==void 0)if(E&&P(E)==="object"&&E.nodeType===1){if(te==="copy"&&E.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(te==="cut"&&(E.hasAttribute("readonly")||E.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(F)return x(F,{container:J});if(E)return te==="cut"?b(E):x(E,{container:J})},I=S;function $(Z){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?$=function(G){return typeof G}:$=function(G){return G&&typeof Symbol=="function"&&G.constructor===Symbol&&G!==Symbol.prototype?"symbol":typeof G},$(Z)}function Q(Z,z){if(!(Z instanceof z))throw new TypeError("Cannot call a class as a function")}function O(Z,z){for(var G=0;G"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function W(Z){return W=Object.setPrototypeOf?Object.getPrototypeOf:function(G){return G.__proto__||Object.getPrototypeOf(G)},W(Z)}function Se(Z,z){var G="data-clipboard-".concat(Z);if(z.hasAttribute(G))return z.getAttribute(G)}var ot=function(Z){M(G,Z);var z=ke(G);function G(te,J){var E;return Q(this,G),E=z.call(this),E.resolveOptions(J),E.listenClick(te),E}return U(G,[{key:"resolveOptions",value:function(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof J.action=="function"?J.action:this.defaultAction,this.target=typeof J.target=="function"?J.target:this.defaultTarget,this.text=typeof J.text=="function"?J.text:this.defaultText,this.container=$(J.container)==="object"?J.container:document.body}},{key:"listenClick",value:function(J){var E=this;this.listener=d()(J,"click",function(F){return E.onClick(F)})}},{key:"onClick",value:function(J){var E=J.delegateTarget||J.currentTarget,F=this.action(E)||"copy",j=I({action:F,container:this.container,target:this.target(E),text:this.text(E)});this.emit(j?"success":"error",{action:F,text:j,trigger:E,clearSelection:function(){E&&E.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(J){return Se("action",J)}},{key:"defaultTarget",value:function(J){var E=Se("target",J);if(E)return document.querySelector(E)}},{key:"defaultText",value:function(J){return Se("text",J)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(J){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return x(J,E)}},{key:"cut",value:function(J){return b(J)}},{key:"isSupported",value:function(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],E=typeof J=="string"?[J]:J,F=!!document.queryCommandSupported;return E.forEach(function(j){F=F&&!!document.queryCommandSupported(j)}),F}}]),G}(c()),Ye=ot},828:function(l){var s=9;if(typeof Element<"u"&&!Element.prototype.matches){var i=Element.prototype;i.matches=i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}function a(c,u){for(;c&&c.nodeType!==s;){if(typeof c.matches=="function"&&c.matches(u))return c;c=c.parentNode}}l.exports=a},438:function(l,s,i){var a=i(828);function c(p,h,m,_,b){var w=d.apply(this,arguments);return p.addEventListener(m,w,b),{destroy:function(){p.removeEventListener(m,w,b)}}}function u(p,h,m,_,b){return typeof p.addEventListener=="function"?c.apply(null,arguments):typeof m=="function"?c.bind(null,document).apply(null,arguments):(typeof p=="string"&&(p=document.querySelectorAll(p)),Array.prototype.map.call(p,function(w){return c(w,h,m,_,b)}))}function d(p,h,m,_){return function(b){b.delegateTarget=a(b.target,h),b.delegateTarget&&_.call(p,b)}}l.exports=u},879:function(l,s){s.node=function(i){return i!==void 0&&i instanceof HTMLElement&&i.nodeType===1},s.nodeList=function(i){var a=Object.prototype.toString.call(i);return i!==void 0&&(a==="[object NodeList]"||a==="[object HTMLCollection]")&&"length"in i&&(i.length===0||s.node(i[0]))},s.string=function(i){return typeof i=="string"||i instanceof String},s.fn=function(i){var a=Object.prototype.toString.call(i);return a==="[object Function]"}},370:function(l,s,i){var a=i(879),c=i(438);function u(m,_,b){if(!m&&!_&&!b)throw new Error("Missing required arguments");if(!a.string(_))throw new TypeError("Second argument must be a String");if(!a.fn(b))throw new TypeError("Third argument must be a Function");if(a.node(m))return d(m,_,b);if(a.nodeList(m))return p(m,_,b);if(a.string(m))return h(m,_,b);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function d(m,_,b){return m.addEventListener(_,b),{destroy:function(){m.removeEventListener(_,b)}}}function p(m,_,b){return Array.prototype.forEach.call(m,function(w){w.addEventListener(_,b)}),{destroy:function(){Array.prototype.forEach.call(m,function(w){w.removeEventListener(_,b)})}}}function h(m,_,b){return c(document.body,m,_,b)}l.exports=u},817:function(l){function s(i){var a;if(i.nodeName==="SELECT")i.focus(),a=i.value;else if(i.nodeName==="INPUT"||i.nodeName==="TEXTAREA"){var c=i.hasAttribute("readonly");c||i.setAttribute("readonly",""),i.select(),i.setSelectionRange(0,i.value.length),c||i.removeAttribute("readonly"),a=i.value}else{i.hasAttribute("contenteditable")&&i.focus();var u=window.getSelection(),d=document.createRange();d.selectNodeContents(i),u.removeAllRanges(),u.addRange(d),a=u.toString()}return a}l.exports=s},279:function(l){function s(){}s.prototype={on:function(i,a,c){var u=this.e||(this.e={});return(u[i]||(u[i]=[])).push({fn:a,ctx:c}),this},once:function(i,a,c){var u=this;function d(){u.off(i,d),a.apply(c,arguments)}return d._=a,this.on(i,d,c)},emit:function(i){var a=[].slice.call(arguments,1),c=((this.e||(this.e={}))[i]||[]).slice(),u=0,d=c.length;for(u;u(Tr("data-v-fb9f7c66"),e=e(),Lr(),e),f4={class:"item-card"},d4={class:"item-name"},p4={class:"item-description"},h4={class:"item-bar"},v4=["href"],m4=u4(()=>se("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},[se("path",{fill:"currentColor",d:"m7.775 3.275l1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0a.751.751 0 0 1 .018-1.042a.751.751 0 0 1 1.042-.018a1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018a.751.751 0 0 1-.018-1.042m-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018a.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0a.751.751 0 0 1-.018 1.042a.751.751 0 0 1-1.042.018a1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83"})],-1)),g4=[m4],y4={class:"btn"},b4=["href"],_4=["src"],w4={class:"author-name"},E4=V({__name:"PluginItemCard",props:{item:Object},setup(e){const t=e,n=()=>{const r=new c4(".copy-btn",{text:()=>`npm install ${t.item.module_name}`});r.on("success",()=>{}),r.on("error",()=>{})};return(r,o)=>(yt(),Gt("div",f4,[se("div",d4,zt(t.item.name),1),se("div",p4,zt(t.item.desc),1),se("div",h4,[dn(' 三个可点击svg,一个github,一个下载,一个可点击"https://github.com/{{ username }}.png?size=80"个人头像配上id'),se("a",{href:t.item.homepage,class:"btn"},g4,8,v4),dn(' 点击后把安装命令写入剪贴板'),se("button",{class:"btn copy-btn",onClick:n},"复制安装命令"),se("div",y4,[se("a",{class:"author-info",href:`https://github.com/${t.item.author}`},[se("img",{class:"icon avatar",src:`https://github.com/${t.item.author}.png?size=80`,alt:""},null,8,_4),se("div",w4,zt(t.item.author),1)],8,b4)]),dn(" 复制键,复制安装命令,npm install props.item.module_name")])]))}}),k4=bn(E4,[["__scopeId","data-v-fb9f7c66"],["__file","PluginItemCard.vue"]]),sf=e=>(Tr("data-v-43257c18"),e=e(),Lr(),e),C4={class:"market"},x4=sf(()=>se("h1",null,"插件商店",-1)),S4=sf(()=>se("p",null,[fo("内容来自"),se("a",{href:"https://nonebot.dev/store/plugins"},"NoneBot插件商店"),fo("和轻雪商店,在此仅作引用,具体请访问NoneBot插件商店")],-1)),T4={class:"search-box-div"},L4={class:"items"},A4=V({__name:"PluginStore",setup(e){let t=T(()=>r.value?n.value.filter(o=>o.name.toLowerCase().includes(r.value.toLowerCase())||o.desc.toLowerCase().includes(r.value.toLowerCase())||o.author.toLowerCase().includes(r.value.toLowerCase())||o.module_name.toLowerCase().includes(r.value.toLowerCase())):n.value),n=Y([]),r=Y("");return fetch("/assets/plugins.json").then(o=>o.json()).then(o=>{n.value=o}).catch(o=>console.error(o)),fetch("https://registry.nonebot.dev/plugins.json").then(o=>o.json()).then(o=>{n.value=n.value.concat(o)}),(o,l)=>(yt(),Gt("div",C4,[x4,S4,dn(" 搜索框"),se("div",T4,[Oa(se("input",{class:"item-search-box",type:"text",placeholder:"搜索插件","onUpdate:modelValue":l[0]||(l[0]=s=>Me(r)?r.value=s:r=s)},null,512),[[lc,rt(r)]])]),se("div",L4,[dn(" 使用filteredItems来布局商品 "),(yt(!0),Gt(Ue,null,Da(rt(t),s=>(yt(),Xl(k4,{key:s.id,item:s},null,8,["item"]))),128))])]))}}),I4=bn(A4,[["__scopeId","data-v-43257c18"],["__file","PluginStore.vue"]]),O4={class:"info-box"},P4=se("h1",null,"Dashboard",-1),$4={class:"info"},R4={class:"info-item"},M4=se("h2",null,"Total",-1),N4={class:"info-item"},D4=se("h2",null,"Online",-1),F4=V({__name:"Dash",setup(e){let t=Y(0),n=Y(0);return fetch("https://api.liteyuki.icu/count").then(r=>r.json()).then(r=>{t.value=r.register}).catch(r=>console.error(r)),fetch("https://api.liteyuki.icu/online").then(r=>r.json()).then(r=>{n.value=r.online}).catch(r=>console.error(r)),(r,o)=>(yt(),Gt("div",O4,[P4,se("div",$4,[se("div",R4,[M4,se("p",null,zt(rt(t)),1)]),se("div",N4,[D4,se("p",null,zt(rt(n)),1)])])]))}}),j4=bn(F4,[["__file","Dash.vue"]]),H4={};function B4(e,t){return null}const V4=bn(H4,[["render",B4],["__file","Home.vue"]]),z4={},af=e=>(Tr("data-v-ab5c02e3"),e=e(),Lr(),e),U4=af(()=>se("div",{style:{"text-align":"center"}},[se("h2",null,"地理分布"),se("p",null,"数据来源于Liteyuki API")],-1)),q4=af(()=>se("div",{id:"main-chart",style:{width:"100%",height:"600px"}},null,-1)),W4=[U4,q4];function G4(e,t){return yt(),Gt("div",null,W4)}const K4=bn(z4,[["render",G4],["__scopeId","data-v-ab5c02e3"],["__file","Geo.vue"]]),Y4=et({enhance:({app:e,router:t,siteData:n})=>{e.component("homeComp",V4),e.component("dashComp",j4),e.component("resourceStoreComp",l4),e.component("pluginStoreComp",I4),e.component("geoComp",K4)}}),eo=[u0,oh,uh,mh,bh,kh,Th,Ph,Hh,Jh,$2,G2,u3,jv,Y4],Q4=JSON.parse('{"base":"/","lang":"en-US","title":"","description":"","head":[["script",{"src":"/js/style.js","type":"module"}],["link",{"rel":"icon","href":"https://cdn.liteyuki.icu/favicon.ico"}],["link",{"rel":"stylesheet","href":"https://cdn.bootcdn.net/ajax/libs/firacode/6.2.0/fira_code.min.css"}],["meta",{"name":"viewport","content":"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"}]],"locales":{"/":{"lang":"zh-CN","title":"LiteyukiBot 轻雪机器人","description":"LiteyukiBot | 轻雪机器人 | An OneBot Standard ChatBot | 一个OneBot标准的聊天机器人","head":[["script",{"src":"/js/zh/get_data.js","type":"module"}]]},"/en/":{"lang":"en-US","title":"LiteyukiBot","description":"LiteyukiBot | An OneBot Standard ChatBot ","head":[["script",{"src":"/js/en/get_data.js","type":"module"}]]}}}');var Zn=Fe(Q4),J4=Ap,X4=()=>{const e=t0({history:J4(es("/")),routes:[{name:"vuepress-route",path:"/:catchAll(.*)",components:{}}],scrollBehavior:(t,n,r)=>r||(t.hash?{el:t.hash}:{top:0})});return e.beforeResolve(async(t,n)=>{if(t.path!==n.path||n===Tt){const r=Lo(t.path);if(r.path!==t.path)return r.path;const o=await r.loader();t.meta={...r.meta,_pageChunk:o}}else t.path===n.path&&(t.meta=n.meta)}),e},Z4=e=>{e.component("ClientOnly",Ao),e.component("Content",kc),e.component("RouteLink",Je)},em=(e,t,n)=>{const r=T(()=>t.currentRoute.value.path),o=ql((b,w)=>({get(){return b(),t.currentRoute.value.meta._pageChunk},set(C){t.currentRoute.value.meta._pageChunk=C,w()}})),l=T(()=>on.resolveLayouts(n)),s=T(()=>on.resolveRouteLocale(Zn.value.locales,r.value)),i=T(()=>on.resolveSiteLocaleData(Zn.value,s.value)),a=T(()=>o.value.comp),c=T(()=>o.value.data),u=T(()=>c.value.frontmatter),d=T(()=>on.resolvePageHeadTitle(c.value,i.value)),p=T(()=>on.resolvePageHead(d.value,u.value,i.value)),h=T(()=>on.resolvePageLang(c.value,i.value)),m=T(()=>on.resolvePageLayout(c.value,l.value)),_={layouts:l,pageData:c,pageComponent:a,pageFrontmatter:u,pageHead:p,pageHeadTitle:d,pageLang:h,pageLayout:m,redirects:bl,routeLocale:s,routePath:r,routes:gr,siteData:Zn,siteLocaleData:i};return e.provide(rs,_),Object.defineProperties(e.config.globalProperties,{$frontmatter:{get:()=>u.value},$head:{get:()=>p.value},$headTitle:{get:()=>d.value},$lang:{get:()=>h.value},$page:{get:()=>c.value},$routeLocale:{get:()=>s.value},$site:{get:()=>Zn.value},$siteLocale:{get:()=>i.value},$withBase:{get:()=>Ge}}),_},tm=()=>{const e=o0(),t=os();let n=[];const r=()=>{e.value.forEach(s=>{const i=nm(s);i&&n.push(i)})},o=()=>{const s=[];return e.value.forEach(i=>{const a=rm(i);a&&s.push(a)}),s},l=()=>{document.documentElement.lang=t.value;const s=o();n.forEach((i,a)=>{const c=s.findIndex(u=>i.isEqualNode(u));c===-1?(i.remove(),delete n[a]):s.splice(c,1)}),s.forEach(i=>document.head.appendChild(i)),n=[...n.filter(i=>!!i),...s]};Pn(s0,l),Ee(()=>{r(),ve(e,l,{immediate:!1})})},nm=([e,t,n=""])=>{const r=Object.entries(t).map(([i,a])=>Pe(a)?`[${i}=${JSON.stringify(a)}]`:a===!0?`[${i}]`:"").join(""),o=`head > ${e}${r}`;return Array.from(document.querySelectorAll(o)).find(i=>i.innerText===n)||null},rm=([e,t,n])=>{if(!Pe(e))return null;const r=document.createElement(e);return qn(t)&&Object.entries(t).forEach(([o,l])=>{Pe(l)?r.setAttribute(o,l):l===!0&&r.setAttribute(o,"")}),Pe(n)&&r.appendChild(document.createTextNode(n)),r},om=F1,lm=async()=>{var n;const e=om({name:"Vuepress",setup(){var l;tm();for(const s of eo)(l=s.setup)==null||l.call(s);const r=eo.flatMap(({rootComponents:s=[]})=>s.map(i=>f(i))),o=l0();return()=>[f(o.value),r]}}),t=X4();Z4(e),em(e,t,eo);for(const r of eo)await((n=r.enhance)==null?void 0:n.call(r,{app:e,router:t,siteData:Zn}));return e.use(t),{app:e,router:t}};lm().then(({app:e,router:t})=>{t.isReady().then(()=>{e.mount("#app")})});export{bn as _,Oe as a,se as b,Gt as c,lm as createVueApp,fo as d,sm as e,yt as o,gt as r,rd as w}; + */(function(e,t){(function(r,o){e.exports=o()})(s4,function(){return function(){var n={686:function(l,s,i){i.d(s,{default:function(){return Ye}});var a=i(279),c=i.n(a),u=i(370),d=i.n(u),p=i(817),h=i.n(p);function m(Z){try{return document.execCommand(Z)}catch{return!1}}var _=function(z){var G=h()(z);return m("cut"),G},b=_;function w(Z){var z=document.documentElement.getAttribute("dir")==="rtl",G=document.createElement("textarea");G.style.fontSize="12pt",G.style.border="0",G.style.padding="0",G.style.margin="0",G.style.position="absolute",G.style[z?"right":"left"]="-9999px";var te=window.pageYOffset||document.documentElement.scrollTop;return G.style.top="".concat(te,"px"),G.setAttribute("readonly",""),G.value=Z,G}var C=function(z,G){var te=w(z);G.container.appendChild(te);var J=h()(te);return m("copy"),te.remove(),J},y=function(z){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},te="";return typeof z=="string"?te=C(z,G):z instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(z==null?void 0:z.type)?te=C(z.value,G):(te=h()(z),m("copy")),te},x=y;function P(Z){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?P=function(G){return typeof G}:P=function(G){return G&&typeof Symbol=="function"&&G.constructor===Symbol&&G!==Symbol.prototype?"symbol":typeof G},P(Z)}var S=function(){var z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},G=z.action,te=G===void 0?"copy":G,J=z.container,E=z.target,F=z.text;if(te!=="copy"&&te!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(E!==void 0)if(E&&P(E)==="object"&&E.nodeType===1){if(te==="copy"&&E.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(te==="cut"&&(E.hasAttribute("readonly")||E.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(F)return x(F,{container:J});if(E)return te==="cut"?b(E):x(E,{container:J})},I=S;function $(Z){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?$=function(G){return typeof G}:$=function(G){return G&&typeof Symbol=="function"&&G.constructor===Symbol&&G!==Symbol.prototype?"symbol":typeof G},$(Z)}function Q(Z,z){if(!(Z instanceof z))throw new TypeError("Cannot call a class as a function")}function O(Z,z){for(var G=0;G"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function W(Z){return W=Object.setPrototypeOf?Object.getPrototypeOf:function(G){return G.__proto__||Object.getPrototypeOf(G)},W(Z)}function Se(Z,z){var G="data-clipboard-".concat(Z);if(z.hasAttribute(G))return z.getAttribute(G)}var ot=function(Z){M(G,Z);var z=ke(G);function G(te,J){var E;return Q(this,G),E=z.call(this),E.resolveOptions(J),E.listenClick(te),E}return U(G,[{key:"resolveOptions",value:function(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof J.action=="function"?J.action:this.defaultAction,this.target=typeof J.target=="function"?J.target:this.defaultTarget,this.text=typeof J.text=="function"?J.text:this.defaultText,this.container=$(J.container)==="object"?J.container:document.body}},{key:"listenClick",value:function(J){var E=this;this.listener=d()(J,"click",function(F){return E.onClick(F)})}},{key:"onClick",value:function(J){var E=J.delegateTarget||J.currentTarget,F=this.action(E)||"copy",j=I({action:F,container:this.container,target:this.target(E),text:this.text(E)});this.emit(j?"success":"error",{action:F,text:j,trigger:E,clearSelection:function(){E&&E.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(J){return Se("action",J)}},{key:"defaultTarget",value:function(J){var E=Se("target",J);if(E)return document.querySelector(E)}},{key:"defaultText",value:function(J){return Se("text",J)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(J){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return x(J,E)}},{key:"cut",value:function(J){return b(J)}},{key:"isSupported",value:function(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],E=typeof J=="string"?[J]:J,F=!!document.queryCommandSupported;return E.forEach(function(j){F=F&&!!document.queryCommandSupported(j)}),F}}]),G}(c()),Ye=ot},828:function(l){var s=9;if(typeof Element<"u"&&!Element.prototype.matches){var i=Element.prototype;i.matches=i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}function a(c,u){for(;c&&c.nodeType!==s;){if(typeof c.matches=="function"&&c.matches(u))return c;c=c.parentNode}}l.exports=a},438:function(l,s,i){var a=i(828);function c(p,h,m,_,b){var w=d.apply(this,arguments);return p.addEventListener(m,w,b),{destroy:function(){p.removeEventListener(m,w,b)}}}function u(p,h,m,_,b){return typeof p.addEventListener=="function"?c.apply(null,arguments):typeof m=="function"?c.bind(null,document).apply(null,arguments):(typeof p=="string"&&(p=document.querySelectorAll(p)),Array.prototype.map.call(p,function(w){return c(w,h,m,_,b)}))}function d(p,h,m,_){return function(b){b.delegateTarget=a(b.target,h),b.delegateTarget&&_.call(p,b)}}l.exports=u},879:function(l,s){s.node=function(i){return i!==void 0&&i instanceof HTMLElement&&i.nodeType===1},s.nodeList=function(i){var a=Object.prototype.toString.call(i);return i!==void 0&&(a==="[object NodeList]"||a==="[object HTMLCollection]")&&"length"in i&&(i.length===0||s.node(i[0]))},s.string=function(i){return typeof i=="string"||i instanceof String},s.fn=function(i){var a=Object.prototype.toString.call(i);return a==="[object Function]"}},370:function(l,s,i){var a=i(879),c=i(438);function u(m,_,b){if(!m&&!_&&!b)throw new Error("Missing required arguments");if(!a.string(_))throw new TypeError("Second argument must be a String");if(!a.fn(b))throw new TypeError("Third argument must be a Function");if(a.node(m))return d(m,_,b);if(a.nodeList(m))return p(m,_,b);if(a.string(m))return h(m,_,b);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function d(m,_,b){return m.addEventListener(_,b),{destroy:function(){m.removeEventListener(_,b)}}}function p(m,_,b){return Array.prototype.forEach.call(m,function(w){w.addEventListener(_,b)}),{destroy:function(){Array.prototype.forEach.call(m,function(w){w.removeEventListener(_,b)})}}}function h(m,_,b){return c(document.body,m,_,b)}l.exports=u},817:function(l){function s(i){var a;if(i.nodeName==="SELECT")i.focus(),a=i.value;else if(i.nodeName==="INPUT"||i.nodeName==="TEXTAREA"){var c=i.hasAttribute("readonly");c||i.setAttribute("readonly",""),i.select(),i.setSelectionRange(0,i.value.length),c||i.removeAttribute("readonly"),a=i.value}else{i.hasAttribute("contenteditable")&&i.focus();var u=window.getSelection(),d=document.createRange();d.selectNodeContents(i),u.removeAllRanges(),u.addRange(d),a=u.toString()}return a}l.exports=s},279:function(l){function s(){}s.prototype={on:function(i,a,c){var u=this.e||(this.e={});return(u[i]||(u[i]=[])).push({fn:a,ctx:c}),this},once:function(i,a,c){var u=this;function d(){u.off(i,d),a.apply(c,arguments)}return d._=a,this.on(i,d,c)},emit:function(i){var a=[].slice.call(arguments,1),c=((this.e||(this.e={}))[i]||[]).slice(),u=0,d=c.length;for(u;u(Tr("data-v-fb9f7c66"),e=e(),Lr(),e),f4={class:"item-card"},d4={class:"item-name"},p4={class:"item-description"},h4={class:"item-bar"},v4=["href"],m4=u4(()=>se("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},[se("path",{fill:"currentColor",d:"m7.775 3.275l1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0a.751.751 0 0 1 .018-1.042a.751.751 0 0 1 1.042-.018a1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018a.751.751 0 0 1-.018-1.042m-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018a.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0a.751.751 0 0 1-.018 1.042a.751.751 0 0 1-1.042.018a1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83"})],-1)),g4=[m4],y4={class:"btn"},b4=["href"],_4=["src"],w4={class:"author-name"},E4=V({__name:"PluginItemCard",props:{item:Object},setup(e){const t=e,n=()=>{const r=new c4(".copy-btn",{text:()=>`npm install ${t.item.module_name}`});r.on("success",()=>{}),r.on("error",()=>{})};return(r,o)=>(yt(),Gt("div",f4,[se("div",d4,zt(t.item.name),1),se("div",p4,zt(t.item.desc),1),se("div",h4,[dn(' 三个可点击svg,一个github,一个下载,一个可点击"https://github.com/{{ username }}.png?size=80"个人头像配上id'),se("a",{href:t.item.homepage,class:"btn"},g4,8,v4),dn(' 点击后把安装命令写入剪贴板'),se("button",{class:"btn copy-btn",onClick:n},"复制安装命令"),se("div",y4,[se("a",{class:"author-info",href:`https://github.com/${t.item.author}`},[se("img",{class:"icon avatar",src:`https://github.com/${t.item.author}.png?size=80`,alt:""},null,8,_4),se("div",w4,zt(t.item.author),1)],8,b4)]),dn(" 复制键,复制安装命令,npm install props.item.module_name")])]))}}),k4=bn(E4,[["__scopeId","data-v-fb9f7c66"],["__file","PluginItemCard.vue"]]),sf=e=>(Tr("data-v-43257c18"),e=e(),Lr(),e),C4={class:"market"},x4=sf(()=>se("h1",null,"插件商店",-1)),S4=sf(()=>se("p",null,[fo("内容来自"),se("a",{href:"https://nonebot.dev/store/plugins"},"NoneBot插件商店"),fo("和轻雪商店,在此仅作引用,具体请访问NoneBot插件商店")],-1)),T4={class:"search-box-div"},L4={class:"items"},A4=V({__name:"PluginStore",setup(e){let t=T(()=>r.value?n.value.filter(o=>o.name.toLowerCase().includes(r.value.toLowerCase())||o.desc.toLowerCase().includes(r.value.toLowerCase())||o.author.toLowerCase().includes(r.value.toLowerCase())||o.module_name.toLowerCase().includes(r.value.toLowerCase())):n.value),n=Y([]),r=Y("");return fetch("/assets/plugins.json").then(o=>o.json()).then(o=>{n.value=o}).catch(o=>console.error(o)),fetch("https://registry.nonebot.dev/plugins.json").then(o=>o.json()).then(o=>{n.value=n.value.concat(o)}),(o,l)=>(yt(),Gt("div",C4,[x4,S4,dn(" 搜索框"),se("div",T4,[Oa(se("input",{class:"item-search-box",type:"text",placeholder:"搜索插件","onUpdate:modelValue":l[0]||(l[0]=s=>Me(r)?r.value=s:r=s)},null,512),[[lc,rt(r)]])]),se("div",L4,[dn(" 使用filteredItems来布局商品 "),(yt(!0),Gt(Ue,null,Da(rt(t),s=>(yt(),Xl(k4,{key:s.id,item:s},null,8,["item"]))),128))])]))}}),I4=bn(A4,[["__scopeId","data-v-43257c18"],["__file","PluginStore.vue"]]),O4={class:"info-box"},P4=se("h1",null,"Dashboard",-1),$4={class:"info"},R4={class:"info-item"},M4=se("h2",null,"Total",-1),N4={class:"info-item"},D4=se("h2",null,"Online",-1),F4=V({__name:"Dash",setup(e){let t=Y(0),n=Y(0);return fetch("https://api.liteyuki.icu/count").then(r=>r.json()).then(r=>{t.value=r.register}).catch(r=>console.error(r)),fetch("https://api.liteyuki.icu/online").then(r=>r.json()).then(r=>{n.value=r.online}).catch(r=>console.error(r)),(r,o)=>(yt(),Gt("div",O4,[P4,se("div",$4,[se("div",R4,[M4,se("p",null,zt(rt(t)),1)]),se("div",N4,[D4,se("p",null,zt(rt(n)),1)])])]))}}),j4=bn(F4,[["__file","Dash.vue"]]),B4={};function H4(e,t){return null}const V4=bn(B4,[["render",H4],["__file","Home.vue"]]),z4={},af=e=>(Tr("data-v-ab5c02e3"),e=e(),Lr(),e),U4=af(()=>se("div",{style:{"text-align":"center"}},[se("h2",null,"地理分布"),se("p",null,"数据来源于Liteyuki API")],-1)),q4=af(()=>se("div",{id:"main-chart",style:{width:"100%",height:"600px"}},null,-1)),W4=[U4,q4];function G4(e,t){return yt(),Gt("div",null,W4)}const K4=bn(z4,[["render",G4],["__scopeId","data-v-ab5c02e3"],["__file","Geo.vue"]]),Y4=et({enhance:({app:e,router:t,siteData:n})=>{e.component("homeComp",V4),e.component("dashComp",j4),e.component("resourceStoreComp",l4),e.component("pluginStoreComp",I4),e.component("geoComp",K4)}}),eo=[u0,oh,uh,mh,bh,kh,Th,Ph,Bh,Jh,$2,G2,u3,jv,Y4],Q4=JSON.parse('{"base":"/","lang":"en-US","title":"","description":"","head":[["script",{"src":"/js/style.js","type":"module"}],["link",{"rel":"icon","href":"https://cdn.liteyuki.icu/favicon.ico"}],["link",{"rel":"stylesheet","href":"https://cdn.bootcdn.net/ajax/libs/firacode/6.2.0/fira_code.min.css"}],["meta",{"name":"viewport","content":"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"}]],"locales":{"/":{"lang":"zh-CN","title":"LiteyukiBot 轻雪机器人","description":"LiteyukiBot | 轻雪机器人 | An OneBot Standard ChatBot | 一个OneBot标准的聊天机器人","head":[["script",{"src":"/js/zh/get_data.js","type":"module"}]]},"/en/":{"lang":"en-US","title":"LiteyukiBot","description":"LiteyukiBot | An OneBot Standard ChatBot ","head":[["script",{"src":"/js/en/get_data.js","type":"module"}]]}}}');var Zn=Fe(Q4),J4=Ap,X4=()=>{const e=t0({history:J4(es("/")),routes:[{name:"vuepress-route",path:"/:catchAll(.*)",components:{}}],scrollBehavior:(t,n,r)=>r||(t.hash?{el:t.hash}:{top:0})});return e.beforeResolve(async(t,n)=>{if(t.path!==n.path||n===Tt){const r=Lo(t.path);if(r.path!==t.path)return r.path;const o=await r.loader();t.meta={...r.meta,_pageChunk:o}}else t.path===n.path&&(t.meta=n.meta)}),e},Z4=e=>{e.component("ClientOnly",Ao),e.component("Content",kc),e.component("RouteLink",Je)},em=(e,t,n)=>{const r=T(()=>t.currentRoute.value.path),o=ql((b,w)=>({get(){return b(),t.currentRoute.value.meta._pageChunk},set(C){t.currentRoute.value.meta._pageChunk=C,w()}})),l=T(()=>on.resolveLayouts(n)),s=T(()=>on.resolveRouteLocale(Zn.value.locales,r.value)),i=T(()=>on.resolveSiteLocaleData(Zn.value,s.value)),a=T(()=>o.value.comp),c=T(()=>o.value.data),u=T(()=>c.value.frontmatter),d=T(()=>on.resolvePageHeadTitle(c.value,i.value)),p=T(()=>on.resolvePageHead(d.value,u.value,i.value)),h=T(()=>on.resolvePageLang(c.value,i.value)),m=T(()=>on.resolvePageLayout(c.value,l.value)),_={layouts:l,pageData:c,pageComponent:a,pageFrontmatter:u,pageHead:p,pageHeadTitle:d,pageLang:h,pageLayout:m,redirects:bl,routeLocale:s,routePath:r,routes:gr,siteData:Zn,siteLocaleData:i};return e.provide(rs,_),Object.defineProperties(e.config.globalProperties,{$frontmatter:{get:()=>u.value},$head:{get:()=>p.value},$headTitle:{get:()=>d.value},$lang:{get:()=>h.value},$page:{get:()=>c.value},$routeLocale:{get:()=>s.value},$site:{get:()=>Zn.value},$siteLocale:{get:()=>i.value},$withBase:{get:()=>Ge}}),_},tm=()=>{const e=o0(),t=os();let n=[];const r=()=>{e.value.forEach(s=>{const i=nm(s);i&&n.push(i)})},o=()=>{const s=[];return e.value.forEach(i=>{const a=rm(i);a&&s.push(a)}),s},l=()=>{document.documentElement.lang=t.value;const s=o();n.forEach((i,a)=>{const c=s.findIndex(u=>i.isEqualNode(u));c===-1?(i.remove(),delete n[a]):s.splice(c,1)}),s.forEach(i=>document.head.appendChild(i)),n=[...n.filter(i=>!!i),...s]};Pn(s0,l),Ee(()=>{r(),ve(e,l,{immediate:!1})})},nm=([e,t,n=""])=>{const r=Object.entries(t).map(([i,a])=>Pe(a)?`[${i}=${JSON.stringify(a)}]`:a===!0?`[${i}]`:"").join(""),o=`head > ${e}${r}`;return Array.from(document.querySelectorAll(o)).find(i=>i.innerText===n)||null},rm=([e,t,n])=>{if(!Pe(e))return null;const r=document.createElement(e);return qn(t)&&Object.entries(t).forEach(([o,l])=>{Pe(l)?r.setAttribute(o,l):l===!0&&r.setAttribute(o,"")}),Pe(n)&&r.appendChild(document.createTextNode(n)),r},om=F1,lm=async()=>{var n;const e=om({name:"Vuepress",setup(){var l;tm();for(const s of eo)(l=s.setup)==null||l.call(s);const r=eo.flatMap(({rootComponents:s=[]})=>s.map(i=>f(i))),o=l0();return()=>[f(o.value),r]}}),t=X4();Z4(e),em(e,t,eo);for(const r of eo)await((n=r.enhance)==null?void 0:n.call(r,{app:e,router:t,siteData:Zn}));return e.use(t),{app:e,router:t}};lm().then(({app:e,router:t})=>{t.isReady().then(()=>{e.mount("#app")})});export{bn as _,Oe as a,se as b,Gt as c,lm as createVueApp,fo as d,sm as e,yt as o,gt as r,rd as w}; diff --git a/assets/basic_command.html-DwsIe8eb.js b/assets/basic_command.html-DiJ5TjbZ.js similarity index 99% rename from assets/basic_command.html-DwsIe8eb.js rename to assets/basic_command.html-DiJ5TjbZ.js index aa4b547c..2122162f 100644 --- a/assets/basic_command.html-DwsIe8eb.js +++ b/assets/basic_command.html-DiJ5TjbZ.js @@ -1 +1 @@ -import{_ as t,o as e,c as d,e as n}from"./app-17zF81Of.js";const l={},a=n('

基础插件


Tips

参数<param>为必填参数,[option]为可选参数。

命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。

轻雪命令liteyuki_command

命令说明权限举例可用参数
reload-liteyuki重载轻雪超级用户
update-liteyuki更新轻雪超级用户
liteecho查看当前bot 版本超级用户
status查看统计信息和状态超级用户
config set <key> value添加配置项,若存在则会覆盖,输入值会被执行以转换为正确的类型,"10"和10是不一样的超级用户config set name 'liteyuki-bot'<key>: 若存在则覆盖, 若不存在则创建于config.yml ; value: yml格式的所有合法内容
config get [key] 查询配置项,不带key返回配置项列表,推荐私聊使用超级用户config get name<key>: 若存在则返回, 若不存在则返回空
switch-image-mode 在普通图片和Markdown大图之间切换,该功能需要commit:505468b及以后的Lagrange.OneBot,默认普通图片超级用户switch-image-mode
/api api_name [args] 调用机器人API超级用户/api get_group_member_list group_id=1234567<args>: 参数列表, 格式为onebot v11协议api, 可用%20代替空格
/function function_name [args] [kwargs] 调用机器人函数(.lyfunction语法)超级用户/function send_group_msg group_id=1234567 message='hello'<args><kwargs>: 参数列表, api格式为onebot v11协议api
group enable/disable [group_id]在群聊启用/停用机器人,group_id仅超级用户可用超级用户,群聊仅群主、管理员、超级用户可用group enable 1145141919810<group_id>: 群号
liteyuki-docs查看轻雪文档所有人

命令别名

命令别名
status状态
reload-liteyuki重启轻雪
update-liteyuki更新轻雪
reload-resources重载资源
config配置, set 设置 / get 查询
switch-image-mode切换图片模式
liteyuki-docs轻雪文档
group群聊, enable 启用 / disable 停用

插件/包管理器 liteyuki_pacman

  • 插件管理
命令说明权限
npm update更新插件商店索引超级用户
npm install <plugin_name>安装插件超级用户
npm uninstall <plugin_name>卸载插件超级用户
npm search <keywords...>通过关键词搜索插件超级用户
npm enable-global/disable-global <plugin_name>全局启用/停用插件超级用户
npm enable/disable <plugin_name> [--group <group_id>]当前会话启用/停用插件群聊仅群主、管理员、超级用户可用,私聊所有人可用
npm list [page] [num]列出所有插件 page为页数,num为每页显示数量群聊仅群主、管理员、超级用户可用,私聊所有人可用
help <plugin_name>查看插件帮助所有人
  • 资源包管理
命令说明权限
rpm list [page] [num]列出所有资源包 page为页数,num为每页显示数量超级用户
rpm load <pack_name>加载资源包超级用户
rpm unload <pack_name>卸载资源包超级用户
rpm change <pack_name>修改优先级超级用户
rpm reload重载所有资源包超级用户

命令别名

命令别名
npm插件管理
update更新
install安装
uninstall卸载
search搜索
enable启用
disable停用
enable-global全局启用
disable-global全局停用
rpm资源包
load加载
unload卸载
change更改
reload重载
list列表
help帮助

Warning

受限于NoneBot2钩子函数的依赖注入参数,插件停用只能阻断传入响应,对于主动推送的插件不生效,请阅读插件主页的说明。


用户管理liteyuki_user

命令说明权限
profile查看用户信息菜单所有人
profile set <key> [value]设置用户信息或打开属性设置菜单所有人
profile get <key>获取用户信息所有人

###命令别名

命令别名
profile个人信息
set设置
get查询
',22),r=[a];function c(i,o){return e(),d("div",null,r)}const g=t(l,[["render",c],["__file","basic_command.html.vue"]]),y=JSON.parse('{"path":"/en/usage/basic_command.html","title":"Basic Commands","lang":"en-US","frontmatter":{"title":"Basic Commands","icon":"comment","order":1,"category":"usage","description":"基础插件 Tips 参数:为必填参数,[option]为可选参数。 命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。 轻雪命令liteyuki_command 命令别名 插件/包管理器 liteyuki_pacman 插件管理 资源包管理 命令别名 Warning 受限于No...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/basic_command.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/usage/basic_command.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Basic Commands"}],["meta",{"property":"og:description","content":"基础插件 Tips 参数:为必填参数,[option]为可选参数。 命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。 轻雪命令liteyuki_command 命令别名 插件/包管理器 liteyuki_pacman 插件管理 资源包管理 命令别名 Warning 受限于No..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Basic Commands\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":2,"title":"轻雪命令liteyuki_command","slug":"轻雪命令liteyuki-command","link":"#轻雪命令liteyuki-command","children":[{"level":3,"title":"命令别名","slug":"命令别名","link":"#命令别名","children":[]}]},{"level":2,"title":"插件/包管理器 liteyuki_pacman","slug":"插件-包管理器-liteyuki-pacman","link":"#插件-包管理器-liteyuki-pacman","children":[{"level":3,"title":"命令别名","slug":"命令别名-1","link":"#命令别名-1","children":[]}]},{"level":2,"title":"用户管理liteyuki_user","slug":"用户管理liteyuki-user","link":"#用户管理liteyuki-user","children":[]}],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":3.16,"words":948},"filePathRelative":"en/usage/basic_command.md","localizedDate":"August 16, 2024","autoDesc":true}');export{g as comp,y as data}; +import{_ as t,o as e,c as d,e as n}from"./app-C58dQ12W.js";const l={},a=n('

基础插件


Tips

参数<param>为必填参数,[option]为可选参数。

命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。

轻雪命令liteyuki_command

命令说明权限举例可用参数
reload-liteyuki重载轻雪超级用户
update-liteyuki更新轻雪超级用户
liteecho查看当前bot 版本超级用户
status查看统计信息和状态超级用户
config set <key> value添加配置项,若存在则会覆盖,输入值会被执行以转换为正确的类型,"10"和10是不一样的超级用户config set name 'liteyuki-bot'<key>: 若存在则覆盖, 若不存在则创建于config.yml ; value: yml格式的所有合法内容
config get [key] 查询配置项,不带key返回配置项列表,推荐私聊使用超级用户config get name<key>: 若存在则返回, 若不存在则返回空
switch-image-mode 在普通图片和Markdown大图之间切换,该功能需要commit:505468b及以后的Lagrange.OneBot,默认普通图片超级用户switch-image-mode
/api api_name [args] 调用机器人API超级用户/api get_group_member_list group_id=1234567<args>: 参数列表, 格式为onebot v11协议api, 可用%20代替空格
/function function_name [args] [kwargs] 调用机器人函数(.lyfunction语法)超级用户/function send_group_msg group_id=1234567 message='hello'<args><kwargs>: 参数列表, api格式为onebot v11协议api
group enable/disable [group_id]在群聊启用/停用机器人,group_id仅超级用户可用超级用户,群聊仅群主、管理员、超级用户可用group enable 1145141919810<group_id>: 群号
liteyuki-docs查看轻雪文档所有人

命令别名

命令别名
status状态
reload-liteyuki重启轻雪
update-liteyuki更新轻雪
reload-resources重载资源
config配置, set 设置 / get 查询
switch-image-mode切换图片模式
liteyuki-docs轻雪文档
group群聊, enable 启用 / disable 停用

插件/包管理器 liteyuki_pacman

  • 插件管理
命令说明权限
npm update更新插件商店索引超级用户
npm install <plugin_name>安装插件超级用户
npm uninstall <plugin_name>卸载插件超级用户
npm search <keywords...>通过关键词搜索插件超级用户
npm enable-global/disable-global <plugin_name>全局启用/停用插件超级用户
npm enable/disable <plugin_name> [--group <group_id>]当前会话启用/停用插件群聊仅群主、管理员、超级用户可用,私聊所有人可用
npm list [page] [num]列出所有插件 page为页数,num为每页显示数量群聊仅群主、管理员、超级用户可用,私聊所有人可用
help <plugin_name>查看插件帮助所有人
  • 资源包管理
命令说明权限
rpm list [page] [num]列出所有资源包 page为页数,num为每页显示数量超级用户
rpm load <pack_name>加载资源包超级用户
rpm unload <pack_name>卸载资源包超级用户
rpm change <pack_name>修改优先级超级用户
rpm reload重载所有资源包超级用户

命令别名

命令别名
npm插件管理
update更新
install安装
uninstall卸载
search搜索
enable启用
disable停用
enable-global全局启用
disable-global全局停用
rpm资源包
load加载
unload卸载
change更改
reload重载
list列表
help帮助

Warning

受限于NoneBot2钩子函数的依赖注入参数,插件停用只能阻断传入响应,对于主动推送的插件不生效,请阅读插件主页的说明。


用户管理liteyuki_user

命令说明权限
profile查看用户信息菜单所有人
profile set <key> [value]设置用户信息或打开属性设置菜单所有人
profile get <key>获取用户信息所有人

###命令别名

命令别名
profile个人信息
set设置
get查询
',22),r=[a];function c(i,o){return e(),d("div",null,r)}const g=t(l,[["render",c],["__file","basic_command.html.vue"]]),y=JSON.parse('{"path":"/en/usage/basic_command.html","title":"Basic Commands","lang":"en-US","frontmatter":{"title":"Basic Commands","icon":"comment","order":1,"category":"usage","description":"基础插件 Tips 参数:为必填参数,[option]为可选参数。 命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。 轻雪命令liteyuki_command 命令别名 插件/包管理器 liteyuki_pacman 插件管理 资源包管理 命令别名 Warning 受限于No...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/basic_command.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/usage/basic_command.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Basic Commands"}],["meta",{"property":"og:description","content":"基础插件 Tips 参数:为必填参数,[option]为可选参数。 命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。 轻雪命令liteyuki_command 命令别名 插件/包管理器 liteyuki_pacman 插件管理 资源包管理 命令别名 Warning 受限于No..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Basic Commands\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":2,"title":"轻雪命令liteyuki_command","slug":"轻雪命令liteyuki-command","link":"#轻雪命令liteyuki-command","children":[{"level":3,"title":"命令别名","slug":"命令别名","link":"#命令别名","children":[]}]},{"level":2,"title":"插件/包管理器 liteyuki_pacman","slug":"插件-包管理器-liteyuki-pacman","link":"#插件-包管理器-liteyuki-pacman","children":[{"level":3,"title":"命令别名","slug":"命令别名-1","link":"#命令别名-1","children":[]}]},{"level":2,"title":"用户管理liteyuki_user","slug":"用户管理liteyuki-user","link":"#用户管理liteyuki-user","children":[]}],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":3.16,"words":948},"filePathRelative":"en/usage/basic_command.md","localizedDate":"August 16, 2024","autoDesc":true}');export{g as comp,y as data}; diff --git a/assets/basic_command.html-BArWMQip.js b/assets/basic_command.html-oIcSdl_m.js similarity index 99% rename from assets/basic_command.html-BArWMQip.js rename to assets/basic_command.html-oIcSdl_m.js index 288ce3b3..764fe5aa 100644 --- a/assets/basic_command.html-BArWMQip.js +++ b/assets/basic_command.html-oIcSdl_m.js @@ -1 +1 @@ -import{_ as t,o as e,c as d,e as l}from"./app-17zF81Of.js";const n={},a=l('

基础插件


提示

参数<param>为必填参数,[option]为可选参数。

命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。

轻雪命令liteyuki_command

命令说明权限举例可用参数
reload-liteyuki重载轻雪超级用户
update-liteyuki更新轻雪超级用户
liteecho查看当前bot 版本超级用户
status查看统计信息和状态超级用户
config set <key> value添加配置项,若存在则会覆盖,输入值会被执行以转换为正确的类型,"10"和10是不一样的超级用户config set name 'liteyuki-bot'<key>: 若存在则覆盖, 若不存在则创建于config.yml ; value: yml格式的所有合法内容
config get [key] 查询配置项,不带key返回配置项列表,推荐私聊使用超级用户config get name<key>: 若存在则返回, 若不存在则返回空
switch-image-mode 在普通图片和Markdown大图之间切换,该功能需要commit:505468b及以后的Lagrange.OneBot,默认普通图片超级用户switch-image-mode
/api api_name [args] 调用机器人API超级用户/api get_group_member_list group_id=1234567<args>: 参数列表, 格式为onebot v11协议api, 可用%20代替空格
/function function_name [args] [kwargs] 调用机器人函数(.lyfunction语法)超级用户/function send_group_msg group_id=1234567 message='hello'<args><kwargs>: 参数列表, api格式为onebot v11协议api
group enable/disable [group_id]在群聊启用/停用机器人,group_id仅超级用户可用超级用户,群聊仅群主、管理员、超级用户可用group enable 1145141919810<group_id>: 群号
liteyuki-docs查看轻雪文档所有人

命令别名

命令别名
status状态
reload-liteyuki重启轻雪
update-liteyuki更新轻雪
reload-resources重载资源
config配置, set 设置 / get 查询
switch-image-mode切换图片模式
liteyuki-docs轻雪文档
group群聊, enable 启用 / disable 停用

插件/包管理器 liteyuki_pacman

  • 插件管理
命令说明权限
npm update更新插件商店索引超级用户
npm install <plugin_name>安装插件超级用户
npm uninstall <plugin_name>卸载插件超级用户
npm search <keywords...>通过关键词搜索插件超级用户
npm enable-global/disable-global <plugin_name>全局启用/停用插件超级用户
npm enable/disable <plugin_name> [--group <group_id>]当前会话启用/停用插件群聊仅群主、管理员、超级用户可用,私聊所有人可用
npm list [page] [num]列出所有插件 page为页数,num为每页显示数量群聊仅群主、管理员、超级用户可用,私聊所有人可用
help <plugin_name>查看插件帮助所有人
  • 资源包管理
命令说明权限
rpm list [page] [num]列出所有资源包 page为页数,num为每页显示数量超级用户
rpm load <pack_name>加载资源包超级用户
rpm unload <pack_name>卸载资源包超级用户
rpm change <pack_name>修改优先级超级用户
rpm reload重载所有资源包超级用户

命令别名

命令别名
npm插件管理
update更新
install安装
uninstall卸载
search搜索
enable启用
disable停用
enable-global全局启用
disable-global全局停用
rpm资源包
load加载
unload卸载
change更改
reload重载
list列表
help帮助

注意

受限于NoneBot2钩子函数的依赖注入参数,插件停用只能阻断传入响应,对于主动推送的插件不生效,请阅读插件主页的说明。


用户管理liteyuki_user

命令说明权限
profile查看用户信息菜单所有人
profile set <key> [value]设置用户信息或打开属性设置菜单所有人
profile get <key>获取用户信息所有人

###命令别名

命令别名
profile个人信息
set设置
get查询
',22),r=[a];function c(i,o){return e(),d("div",null,r)}const g=t(n,[["render",c],["__file","basic_command.html.vue"]]),y=JSON.parse('{"path":"/usage/basic_command.html","title":"基础命令","lang":"zh-CN","frontmatter":{"title":"基础命令","icon":"comment","order":1,"category":"使用手册","description":"基础插件 提示 参数:为必填参数,[option]为可选参数。 命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。 轻雪命令liteyuki_command 命令别名 插件/包管理器 liteyuki_pacman 插件管理 资源包管理 命令别名 注意 受限于NoneBot2钩...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/usage/basic_command.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/basic_command.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"基础命令"}],["meta",{"property":"og:description","content":"基础插件 提示 参数:为必填参数,[option]为可选参数。 命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。 轻雪命令liteyuki_command 命令别名 插件/包管理器 liteyuki_pacman 插件管理 资源包管理 命令别名 注意 受限于NoneBot2钩..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-06-16T15:33:58.000Z"}],["meta",{"property":"article:modified_time","content":"2024-06-16T15:33:58.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"基础命令\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-06-16T15:33:58.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":2,"title":"轻雪命令liteyuki_command","slug":"轻雪命令liteyuki-command","link":"#轻雪命令liteyuki-command","children":[{"level":3,"title":"命令别名","slug":"命令别名","link":"#命令别名","children":[]}]},{"level":2,"title":"插件/包管理器 liteyuki_pacman","slug":"插件-包管理器-liteyuki-pacman","link":"#插件-包管理器-liteyuki-pacman","children":[{"level":3,"title":"命令别名","slug":"命令别名-1","link":"#命令别名-1","children":[]}]},{"level":2,"title":"用户管理liteyuki_user","slug":"用户管理liteyuki-user","link":"#用户管理liteyuki-user","children":[]}],"git":{"createdTime":1711598703000,"updatedTime":1718552038000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":20},{"name":"Snowykami","email":"79104275+snowykami@users.noreply.github.com","commits":4},{"name":"Nanaloveyuki","email":"miaomiao_159@outlook.com","commits":1}]},"readingTime":{"minutes":3.18,"words":953},"filePathRelative":"usage/basic_command.md","localizedDate":"2024年3月28日","autoDesc":true}');export{g as comp,y as data}; +import{_ as t,o as e,c as d,e as l}from"./app-C58dQ12W.js";const n={},a=l('

基础插件


提示

参数<param>为必填参数,[option]为可选参数。

命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。

轻雪命令liteyuki_command

命令说明权限举例可用参数
reload-liteyuki重载轻雪超级用户
update-liteyuki更新轻雪超级用户
liteecho查看当前bot 版本超级用户
status查看统计信息和状态超级用户
config set <key> value添加配置项,若存在则会覆盖,输入值会被执行以转换为正确的类型,"10"和10是不一样的超级用户config set name 'liteyuki-bot'<key>: 若存在则覆盖, 若不存在则创建于config.yml ; value: yml格式的所有合法内容
config get [key] 查询配置项,不带key返回配置项列表,推荐私聊使用超级用户config get name<key>: 若存在则返回, 若不存在则返回空
switch-image-mode 在普通图片和Markdown大图之间切换,该功能需要commit:505468b及以后的Lagrange.OneBot,默认普通图片超级用户switch-image-mode
/api api_name [args] 调用机器人API超级用户/api get_group_member_list group_id=1234567<args>: 参数列表, 格式为onebot v11协议api, 可用%20代替空格
/function function_name [args] [kwargs] 调用机器人函数(.lyfunction语法)超级用户/function send_group_msg group_id=1234567 message='hello'<args><kwargs>: 参数列表, api格式为onebot v11协议api
group enable/disable [group_id]在群聊启用/停用机器人,group_id仅超级用户可用超级用户,群聊仅群主、管理员、超级用户可用group enable 1145141919810<group_id>: 群号
liteyuki-docs查看轻雪文档所有人

命令别名

命令别名
status状态
reload-liteyuki重启轻雪
update-liteyuki更新轻雪
reload-resources重载资源
config配置, set 设置 / get 查询
switch-image-mode切换图片模式
liteyuki-docs轻雪文档
group群聊, enable 启用 / disable 停用

插件/包管理器 liteyuki_pacman

  • 插件管理
命令说明权限
npm update更新插件商店索引超级用户
npm install <plugin_name>安装插件超级用户
npm uninstall <plugin_name>卸载插件超级用户
npm search <keywords...>通过关键词搜索插件超级用户
npm enable-global/disable-global <plugin_name>全局启用/停用插件超级用户
npm enable/disable <plugin_name> [--group <group_id>]当前会话启用/停用插件群聊仅群主、管理员、超级用户可用,私聊所有人可用
npm list [page] [num]列出所有插件 page为页数,num为每页显示数量群聊仅群主、管理员、超级用户可用,私聊所有人可用
help <plugin_name>查看插件帮助所有人
  • 资源包管理
命令说明权限
rpm list [page] [num]列出所有资源包 page为页数,num为每页显示数量超级用户
rpm load <pack_name>加载资源包超级用户
rpm unload <pack_name>卸载资源包超级用户
rpm change <pack_name>修改优先级超级用户
rpm reload重载所有资源包超级用户

命令别名

命令别名
npm插件管理
update更新
install安装
uninstall卸载
search搜索
enable启用
disable停用
enable-global全局启用
disable-global全局停用
rpm资源包
load加载
unload卸载
change更改
reload重载
list列表
help帮助

注意

受限于NoneBot2钩子函数的依赖注入参数,插件停用只能阻断传入响应,对于主动推送的插件不生效,请阅读插件主页的说明。


用户管理liteyuki_user

命令说明权限
profile查看用户信息菜单所有人
profile set <key> [value]设置用户信息或打开属性设置菜单所有人
profile get <key>获取用户信息所有人

###命令别名

命令别名
profile个人信息
set设置
get查询
',22),r=[a];function c(i,o){return e(),d("div",null,r)}const g=t(n,[["render",c],["__file","basic_command.html.vue"]]),y=JSON.parse('{"path":"/usage/basic_command.html","title":"基础命令","lang":"zh-CN","frontmatter":{"title":"基础命令","icon":"comment","order":1,"category":"使用手册","description":"基础插件 提示 参数:为必填参数,[option]为可选参数。 命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。 轻雪命令liteyuki_command 命令别名 插件/包管理器 liteyuki_pacman 插件管理 资源包管理 命令别名 注意 受限于NoneBot2钩...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/usage/basic_command.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/basic_command.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"基础命令"}],["meta",{"property":"og:description","content":"基础插件 提示 参数:为必填参数,[option]为可选参数。 命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。 轻雪命令liteyuki_command 命令别名 插件/包管理器 liteyuki_pacman 插件管理 资源包管理 命令别名 注意 受限于NoneBot2钩..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-06-16T15:33:58.000Z"}],["meta",{"property":"article:modified_time","content":"2024-06-16T15:33:58.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"基础命令\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-06-16T15:33:58.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":2,"title":"轻雪命令liteyuki_command","slug":"轻雪命令liteyuki-command","link":"#轻雪命令liteyuki-command","children":[{"level":3,"title":"命令别名","slug":"命令别名","link":"#命令别名","children":[]}]},{"level":2,"title":"插件/包管理器 liteyuki_pacman","slug":"插件-包管理器-liteyuki-pacman","link":"#插件-包管理器-liteyuki-pacman","children":[{"level":3,"title":"命令别名","slug":"命令别名-1","link":"#命令别名-1","children":[]}]},{"level":2,"title":"用户管理liteyuki_user","slug":"用户管理liteyuki-user","link":"#用户管理liteyuki-user","children":[]}],"git":{"createdTime":1711598703000,"updatedTime":1718552038000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":20},{"name":"Snowykami","email":"79104275+snowykami@users.noreply.github.com","commits":4},{"name":"Nanaloveyuki","email":"miaomiao_159@outlook.com","commits":1}]},"readingTime":{"minutes":3.18,"words":953},"filePathRelative":"usage/basic_command.md","localizedDate":"2024年3月28日","autoDesc":true}');export{g as comp,y as data}; diff --git a/assets/config.html-BhHAL__Q.js b/assets/config.html-DyjodHjQ.js similarity index 99% rename from assets/config.html-BhHAL__Q.js rename to assets/config.html-DyjodHjQ.js index a32e06b1..301b4a97 100644 --- a/assets/config.html-BhHAL__Q.js +++ b/assets/config.html-DyjodHjQ.js @@ -1,4 +1,4 @@ -import{_ as e,r as t,o,c,b as n,d as s,a as l,e as p}from"./app-17zF81Of.js";const i={},u=p(`

轻雪支持yamljsontoml作为配置文件,取决于你个人的喜好

首次运行后生成config.ymlconfig目录,你可修改配置项后重启轻雪,绝大多数情况下,你只需要修改superusersnickname字段即可

启动时会加载项目目录下config.yml/yaml/json/tomlconfig目录下的所有配置文件,你可在config目录下创建多个配置文件,轻雪会自动合并这些配置文件

基础配置项

nonebot:
+import{_ as e,r as t,o,c,b as n,d as s,a as l,e as p}from"./app-C58dQ12W.js";const i={},u=p(`

轻雪支持yamljsontoml作为配置文件,取决于你个人的喜好

首次运行后生成config.ymlconfig目录,你可修改配置项后重启轻雪,绝大多数情况下,你只需要修改superusersnickname字段即可

启动时会加载项目目录下config.yml/yaml/json/tomlconfig目录下的所有配置文件,你可在config目录下创建多个配置文件,轻雪会自动合并这些配置文件

基础配置项

nonebot:
   # Nonebot机器人的配置,以前的最外层配置项仍可为Nonebot服务,但是部分内容会被覆盖,请尽快迁移
   command_start: [ "/", "" ] # 指令前缀,若没有""空命令头,请开启alconna_use_command_start保证alconna解析正常
   host: 127.0.0.1 # 监听地址,默认为本机,若要接收外部请求请填写0.0.0.0
diff --git a/assets/config.html-DFanaJbL.js b/assets/config.html-ytfTzOJk.js
similarity index 99%
rename from assets/config.html-DFanaJbL.js
rename to assets/config.html-ytfTzOJk.js
index 5d54f58e..ab340649 100644
--- a/assets/config.html-DFanaJbL.js
+++ b/assets/config.html-ytfTzOJk.js
@@ -1,4 +1,4 @@
-import{_ as e,r as t,o,c,b as n,d as s,a as l,e as p}from"./app-17zF81Of.js";const i={},r=p(`

轻雪支持yamljsontoml作为配置文件,取决于你个人的喜好

首次运行后生成config.ymlconfig目录,你可修改配置项后重启轻雪,绝大多数情况下,你只需要修改superusersnickname字段即可

启动时会加载项目目录下config.yml/yaml/json/tomlconfig目录下的所有配置文件,你可在config目录下创建多个配置文件,轻雪会自动合并这些配置文件

基础配置项

nonebot:
+import{_ as e,r as t,o,c,b as n,d as s,a as l,e as p}from"./app-C58dQ12W.js";const i={},r=p(`

轻雪支持yamljsontoml作为配置文件,取决于你个人的喜好

首次运行后生成config.ymlconfig目录,你可修改配置项后重启轻雪,绝大多数情况下,你只需要修改superusersnickname字段即可

启动时会加载项目目录下config.yml/yaml/json/tomlconfig目录下的所有配置文件,你可在config目录下创建多个配置文件,轻雪会自动合并这些配置文件

基础配置项

nonebot:
   # Nonebot机器人的配置,以前的最外层配置项仍可为Nonebot服务,但是部分内容会被覆盖,请尽快迁移
   command_start: [ "/", "" ] # 指令前缀,若没有""空命令头,请开启alconna_use_command_start保证alconna解析正常
   host: 127.0.0.1 # 监听地址,默认为本机,若要接收外部请求请填写0.0.0.0
diff --git a/assets/dev_comm.html-C7of7arn.js b/assets/dev_comm.html-BQLvp5qR.js
similarity index 99%
rename from assets/dev_comm.html-C7of7arn.js
rename to assets/dev_comm.html-BQLvp5qR.js
index 45467873..b651d0ef 100644
--- a/assets/dev_comm.html-C7of7arn.js
+++ b/assets/dev_comm.html-BQLvp5qR.js
@@ -1,4 +1,4 @@
-import{_ as e,r as t,o,c as p,b as n,d as s,a as c,e as i}from"./app-17zF81Of.js";const l={},u=i(`

通道通信

简介

轻雪运行在主进程 MainProcess 里,其他插件框架进程是伴随的子进程,因此无法通过内存共享和直接对象传递的方式进行通信,轻雪提供了一个通道Channel用于跨进程通信,你可以通过Channel发送消息给其他进程,也可以监听其他进程的消息。

例如子进程接收到用户信息需要重启机器人,这时可以通过通道对主进程发送消息,主进程接收到消息后重启对应子进程。

示例

通道是全双工的,有两种接收模式,但一个通道只能使用一种,即被动模式和主动模式,被动模式由chan.on_receive()装饰回调函数实现,主动模式需调用chan.receive()实现

  • 创建子进程的同时会初始化一个被动通道和一个主动通道,且通道标识为{process_name}-active{process_name}-passive
  • 主进程中通过get_channel函数获取通道对象
  • 子进程中导入单例active_channelpassive_channel即可

在轻雪插件中(主进程中)

import asyncio
+import{_ as e,r as t,o,c as p,b as n,d as s,a as c,e as i}from"./app-C58dQ12W.js";const l={},u=i(`

通道通信

简介

轻雪运行在主进程 MainProcess 里,其他插件框架进程是伴随的子进程,因此无法通过内存共享和直接对象传递的方式进行通信,轻雪提供了一个通道Channel用于跨进程通信,你可以通过Channel发送消息给其他进程,也可以监听其他进程的消息。

例如子进程接收到用户信息需要重启机器人,这时可以通过通道对主进程发送消息,主进程接收到消息后重启对应子进程。

示例

通道是全双工的,有两种接收模式,但一个通道只能使用一种,即被动模式和主动模式,被动模式由chan.on_receive()装饰回调函数实现,主动模式需调用chan.receive()实现

  • 创建子进程的同时会初始化一个被动通道和一个主动通道,且通道标识为{process_name}-active{process_name}-passive
  • 主进程中通过get_channel函数获取通道对象
  • 子进程中导入单例active_channelpassive_channel即可

在轻雪插件中(主进程中)

import asyncio
 
 from liteyuki.comm import get_channel, Channel
 from liteyuki import get_bot
diff --git a/assets/dev_comm.html-CF6N6yl3.js b/assets/dev_comm.html-CIlYvSY4.js
similarity index 99%
rename from assets/dev_comm.html-CF6N6yl3.js
rename to assets/dev_comm.html-CIlYvSY4.js
index 088c3328..fbb776fa 100644
--- a/assets/dev_comm.html-CF6N6yl3.js
+++ b/assets/dev_comm.html-CIlYvSY4.js
@@ -1,4 +1,4 @@
-import{_ as e,r as t,o,c as p,b as n,d as s,a as i,e as c}from"./app-17zF81Of.js";const l={},u=c(`

通道通信

简介

轻雪运行在主进程 MainProcess 里,其他插件框架进程是伴随的子进程,因此无法通过内存共享和直接对象传递的方式进行通信,轻雪提供了一个通道Channel用于跨进程通信,你可以通过Channel发送消息给其他进程,也可以监听其他进程的消息。

例如子进程接收到用户信息需要重启机器人,这时可以通过通道对主进程发送消息,主进程接收到消息后重启对应子进程。

示例

通道是全双工的,有两种接收模式,但一个通道只能使用一种,即被动模式和主动模式,被动模式由chan.on_receive()装饰回调函数实现,主动模式需调用chan.receive()实现

  • 创建子进程的同时会初始化一个被动通道和一个主动通道,且通道标识为{process_name}-active{process_name}-passive
  • 主进程中通过get_channel函数获取通道对象
  • 子进程中导入单例active_channelpassive_channel即可

在轻雪插件中(主进程中)

import asyncio
+import{_ as e,r as t,o,c as p,b as n,d as s,a as i,e as c}from"./app-C58dQ12W.js";const l={},u=c(`

通道通信

简介

轻雪运行在主进程 MainProcess 里,其他插件框架进程是伴随的子进程,因此无法通过内存共享和直接对象传递的方式进行通信,轻雪提供了一个通道Channel用于跨进程通信,你可以通过Channel发送消息给其他进程,也可以监听其他进程的消息。

例如子进程接收到用户信息需要重启机器人,这时可以通过通道对主进程发送消息,主进程接收到消息后重启对应子进程。

示例

通道是全双工的,有两种接收模式,但一个通道只能使用一种,即被动模式和主动模式,被动模式由chan.on_receive()装饰回调函数实现,主动模式需调用chan.receive()实现

  • 创建子进程的同时会初始化一个被动通道和一个主动通道,且通道标识为{process_name}-active{process_name}-passive
  • 主进程中通过get_channel函数获取通道对象
  • 子进程中导入单例active_channelpassive_channel即可

在轻雪插件中(主进程中)

import asyncio
 
 from liteyuki.comm import get_channel, Channel
 from liteyuki import get_bot
diff --git a/assets/dev_lyfunc.html-BP_dr0XI.js b/assets/dev_lyfunc.html-CH6hrgSC.js
similarity index 99%
rename from assets/dev_lyfunc.html-BP_dr0XI.js
rename to assets/dev_lyfunc.html-CH6hrgSC.js
index f65aea7a..7fd115be 100644
--- a/assets/dev_lyfunc.html-BP_dr0XI.js
+++ b/assets/dev_lyfunc.html-CH6hrgSC.js
@@ -1,4 +1,4 @@
-import{_ as t,r as o,o as i,c as l,b as n,d as e,a as s,e as c}from"./app-17zF81Of.js";const p={},r=c(`

轻雪函数

轻雪函数 Liteyuki Function 是轻雪的一个功能,它允许你在轻雪中运行一些自定义的由数据驱动的命令,类似于Minecraft的mcfunction,属于资源包的一部分,但需单独起篇幅.

函数文件

函数文件放在资源包的functions目录下,文件名以.mcfunction .lyfunction .lyf结尾,例如test.mcfunction,文件内容为一系列的命令,每行一个命令,支持单行注释#(编辑时的语法高亮可采取shell格式),例如:

# 在发信器输出"hello world"
+import{_ as t,r as o,o as i,c as l,b as n,d as e,a as s,e as c}from"./app-C58dQ12W.js";const p={},r=c(`

轻雪函数

轻雪函数 Liteyuki Function 是轻雪的一个功能,它允许你在轻雪中运行一些自定义的由数据驱动的命令,类似于Minecraft的mcfunction,属于资源包的一部分,但需单独起篇幅.

函数文件

函数文件放在资源包的functions目录下,文件名以.mcfunction .lyfunction .lyf结尾,例如test.mcfunction,文件内容为一系列的命令,每行一个命令,支持单行注释#(编辑时的语法高亮可采取shell格式),例如:

# 在发信器输出"hello world"
 cmd echo hello world
 
 # 如果你想同时输出多行内容可以尝试换行符(Python格式)
diff --git a/assets/dev_lyfunc.html-DPfdMzaU.js b/assets/dev_lyfunc.html-DJQEv_Ot.js
similarity index 99%
rename from assets/dev_lyfunc.html-DPfdMzaU.js
rename to assets/dev_lyfunc.html-DJQEv_Ot.js
index 0bd47dd1..df12963d 100644
--- a/assets/dev_lyfunc.html-DPfdMzaU.js
+++ b/assets/dev_lyfunc.html-DJQEv_Ot.js
@@ -1,4 +1,4 @@
-import{_ as t,r as o,o as i,c as l,b as n,d as e,a as s,e as c}from"./app-17zF81Of.js";const p={},r=c(`

轻雪函数

轻雪函数 Liteyuki Function 是轻雪的一个功能,它允许你在轻雪中运行一些自定义的由数据驱动的命令,类似于Minecraft的mcfunction,属于资源包的一部分,但需单独起篇幅.

函数文件

函数文件放在资源包的functions目录下,文件名以.mcfunction .lyfunction .lyf结尾,例如test.mcfunction,文件内容为一系列的命令,每行一个命令,支持单行注释#(编辑时的语法高亮可采取shell格式),例如:

# 在发信器输出"hello world"
+import{_ as t,r as o,o as i,c as l,b as n,d as e,a as s,e as c}from"./app-C58dQ12W.js";const p={},r=c(`

轻雪函数

轻雪函数 Liteyuki Function 是轻雪的一个功能,它允许你在轻雪中运行一些自定义的由数据驱动的命令,类似于Minecraft的mcfunction,属于资源包的一部分,但需单独起篇幅.

函数文件

函数文件放在资源包的functions目录下,文件名以.mcfunction .lyfunction .lyf结尾,例如test.mcfunction,文件内容为一系列的命令,每行一个命令,支持单行注释#(编辑时的语法高亮可采取shell格式),例如:

# 在发信器输出"hello world"
 cmd echo hello world
 
 # 如果你想同时输出多行内容可以尝试换行符(Python格式)
diff --git a/assets/dev_lyplugin.html-DXRMQUSw.js b/assets/dev_lyplugin.html-BBUkDcBL.js
similarity index 99%
rename from assets/dev_lyplugin.html-DXRMQUSw.js
rename to assets/dev_lyplugin.html-BBUkDcBL.js
index 383b9327..cf1bc9a7 100644
--- a/assets/dev_lyplugin.html-DXRMQUSw.js
+++ b/assets/dev_lyplugin.html-BBUkDcBL.js
@@ -1,4 +1,4 @@
-import{_ as n,o as s,c as a,e}from"./app-17zF81Of.js";const t={},o=e(`

简介

轻雪插件是轻雪内置的一部分功能,运行在主进程中,可以很高程度地扩展轻雪的功能

开始

创建插件

在标准项目中,位于liteyuki/plugins和src/liteyuki_plugins下的Python modules均会被当作插件加载,你可自行添加配置文件以指定插件的加载路径 一个.py文件或一个包含__init__.py的文件夹即可被识别为插件 创建一个文件夹,例如watchdog_plugin,并在其中创建一个__init__.py文件,即可创建一个插件

from liteyuki.plugin import PluginMetadata
+import{_ as n,o as s,c as a,e}from"./app-C58dQ12W.js";const t={},o=e(`

简介

轻雪插件是轻雪内置的一部分功能,运行在主进程中,可以很高程度地扩展轻雪的功能

开始

创建插件

在标准项目中,位于liteyuki/plugins和src/liteyuki_plugins下的Python modules均会被当作插件加载,你可自行添加配置文件以指定插件的加载路径 一个.py文件或一个包含__init__.py的文件夹即可被识别为插件 创建一个文件夹,例如watchdog_plugin,并在其中创建一个__init__.py文件,即可创建一个插件

from liteyuki.plugin import PluginMetadata
 
 # 定义插件元数据,推荐填写
 __plugin_meta__ = PluginMetadata(
diff --git a/assets/dev_lyplugin.html-BvZgbt9f.js b/assets/dev_lyplugin.html-DmJk7hsb.js
similarity index 99%
rename from assets/dev_lyplugin.html-BvZgbt9f.js
rename to assets/dev_lyplugin.html-DmJk7hsb.js
index 41275be2..3816b6e7 100644
--- a/assets/dev_lyplugin.html-BvZgbt9f.js
+++ b/assets/dev_lyplugin.html-DmJk7hsb.js
@@ -1,4 +1,4 @@
-import{_ as n,o as s,c as a,e}from"./app-17zF81Of.js";const t={},o=e(`

简介

轻雪插件是轻雪内置的一部分功能,运行在主进程中,可以很高程度地扩展轻雪的功能

开始

创建插件

在标准项目中,位于liteyuki/plugins和src/liteyuki_plugins下的Python modules均会被当作插件加载,你可自行添加配置文件以指定插件的加载路径 一个.py文件或一个包含__init__.py的文件夹即可被识别为插件 创建一个文件夹,例如watchdog_plugin,并在其中创建一个__init__.py文件,即可创建一个插件

from liteyuki.plugin import PluginMetadata
+import{_ as n,o as s,c as a,e}from"./app-C58dQ12W.js";const t={},o=e(`

简介

轻雪插件是轻雪内置的一部分功能,运行在主进程中,可以很高程度地扩展轻雪的功能

开始

创建插件

在标准项目中,位于liteyuki/plugins和src/liteyuki_plugins下的Python modules均会被当作插件加载,你可自行添加配置文件以指定插件的加载路径 一个.py文件或一个包含__init__.py的文件夹即可被识别为插件 创建一个文件夹,例如watchdog_plugin,并在其中创建一个__init__.py文件,即可创建一个插件

from liteyuki.plugin import PluginMetadata
 
 # 定义插件元数据,推荐填写
 __plugin_meta__ = PluginMetadata(
diff --git a/assets/dev_resource_pack.html-DHDY1X3Q.js b/assets/dev_resource_pack.html-DIkSF8C-.js
similarity index 99%
rename from assets/dev_resource_pack.html-DHDY1X3Q.js
rename to assets/dev_resource_pack.html-DIkSF8C-.js
index 711da1c2..861d04f2 100644
--- a/assets/dev_resource_pack.html-DHDY1X3Q.js
+++ b/assets/dev_resource_pack.html-DIkSF8C-.js
@@ -1,4 +1,4 @@
-import{_ as a,r as s,o as l,c as o,b as e,a as c,w as i,d as t,e as d}from"./app-17zF81Of.js";const r={},p=e("h2",{id:"简介",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#简介"},[e("span",null,"简介")])],-1),u=e("p",null,"资源包,亦可根据用途称为主题包、字体包、语言包等,它允许你一定程度上自定义轻雪的外观,并且不用修改源代码",-1),m=e("li",null,[t("资源包的制作很简单,如果你接触过"),e("code",null,"Minecraft"),t("的资源包,那么你能够很快就上手,仅需按照原有路径进行文件替换即可,讲起打包成一个新的资源包。")],-1),h=e("li",null,[t("部分内容制作需要一点点前端基础,例如"),e("code",null,"html"),t(","),e("code",null,"css")],-1),v=e("li",null,[t("轻雪原版资源包请查看"),e("code",null,"LiteyukiBot/liteyuki/resources"),t(",可以在此基础上进行修改")],-1),_=e("li",null,"欢迎各位投稿资源包到轻雪资源商店",-1),k=d(`

请注意,主题包中的html渲染使用Js来规定数据的渲染位置,请确保您所编写的html代码能被Bot解析,否则会导致渲染失败或渲染结果不理想/异常/错位等无法预料的事情发生。推荐在编写html时同时更改对应Js代码,以避免出现无法预料的问题。


加载资源包

  • 资源包通常是以.zip格式压缩的,只需要将其解压到根目录resources目录下即可,注意不要嵌套文件夹,正常的路径应该是这样的
main.py
+import{_ as a,r as s,o as l,c as o,b as e,a as c,w as i,d as t,e as d}from"./app-C58dQ12W.js";const r={},p=e("h2",{id:"简介",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#简介"},[e("span",null,"简介")])],-1),u=e("p",null,"资源包,亦可根据用途称为主题包、字体包、语言包等,它允许你一定程度上自定义轻雪的外观,并且不用修改源代码",-1),m=e("li",null,[t("资源包的制作很简单,如果你接触过"),e("code",null,"Minecraft"),t("的资源包,那么你能够很快就上手,仅需按照原有路径进行文件替换即可,讲起打包成一个新的资源包。")],-1),h=e("li",null,[t("部分内容制作需要一点点前端基础,例如"),e("code",null,"html"),t(","),e("code",null,"css")],-1),v=e("li",null,[t("轻雪原版资源包请查看"),e("code",null,"LiteyukiBot/liteyuki/resources"),t(",可以在此基础上进行修改")],-1),_=e("li",null,"欢迎各位投稿资源包到轻雪资源商店",-1),k=d(`

请注意,主题包中的html渲染使用Js来规定数据的渲染位置,请确保您所编写的html代码能被Bot解析,否则会导致渲染失败或渲染结果不理想/异常/错位等无法预料的事情发生。推荐在编写html时同时更改对应Js代码,以避免出现无法预料的问题。


加载资源包

  • 资源包通常是以.zip格式压缩的,只需要将其解压到根目录resources目录下即可,注意不要嵌套文件夹,正常的路径应该是这样的
main.py
 resources
 └─resource_pack_1
     ├─metadata.yml
diff --git a/assets/dev_resource_pack.html-BqVz38-_.js b/assets/dev_resource_pack.html-JcqyLzNA.js
similarity index 99%
rename from assets/dev_resource_pack.html-BqVz38-_.js
rename to assets/dev_resource_pack.html-JcqyLzNA.js
index 829fce7e..7fe7a354 100644
--- a/assets/dev_resource_pack.html-BqVz38-_.js
+++ b/assets/dev_resource_pack.html-JcqyLzNA.js
@@ -1,4 +1,4 @@
-import{_ as a,r as s,o as l,c as o,b as e,a as i,w as c,d as t,e as d}from"./app-17zF81Of.js";const r={},p=e("h2",{id:"简介",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#简介"},[e("span",null,"简介")])],-1),u=e("p",null,"资源包,亦可根据用途称为主题包、字体包、语言包等,它允许你一定程度上自定义轻雪的外观,并且不用修改源代码",-1),m=e("li",null,[t("资源包的制作很简单,如果你接触过"),e("code",null,"Minecraft"),t("的资源包,那么你能够很快就上手,仅需按照原有路径进行文件替换即可,讲起打包成一个新的资源包。")],-1),h=e("li",null,[t("部分内容制作需要一点点前端基础,例如"),e("code",null,"html"),t(","),e("code",null,"css")],-1),v=e("li",null,[t("轻雪原版资源包请查看"),e("code",null,"LiteyukiBot/liteyuki/resources"),t(",可以在此基础上进行修改")],-1),_=e("li",null,"欢迎各位投稿资源包到轻雪资源商店",-1),k=d(`

请注意,主题包中的html渲染使用Js来规定数据的渲染位置,请确保您所编写的html代码能被Bot解析,否则会导致渲染失败或渲染结果不理想/异常/错位等无法预料的事情发生。推荐在编写html时同时更改对应Js代码,以避免出现无法预料的问题。


加载资源包

  • 资源包通常是以.zip格式压缩的,只需要将其解压到根目录resources目录下即可,注意不要嵌套文件夹,正常的路径应该是这样的
main.py
+import{_ as a,r as s,o as l,c as o,b as e,a as i,w as c,d as t,e as d}from"./app-C58dQ12W.js";const r={},p=e("h2",{id:"简介",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#简介"},[e("span",null,"简介")])],-1),u=e("p",null,"资源包,亦可根据用途称为主题包、字体包、语言包等,它允许你一定程度上自定义轻雪的外观,并且不用修改源代码",-1),m=e("li",null,[t("资源包的制作很简单,如果你接触过"),e("code",null,"Minecraft"),t("的资源包,那么你能够很快就上手,仅需按照原有路径进行文件替换即可,讲起打包成一个新的资源包。")],-1),h=e("li",null,[t("部分内容制作需要一点点前端基础,例如"),e("code",null,"html"),t(","),e("code",null,"css")],-1),v=e("li",null,[t("轻雪原版资源包请查看"),e("code",null,"LiteyukiBot/liteyuki/resources"),t(",可以在此基础上进行修改")],-1),_=e("li",null,"欢迎各位投稿资源包到轻雪资源商店",-1),k=d(`

请注意,主题包中的html渲染使用Js来规定数据的渲染位置,请确保您所编写的html代码能被Bot解析,否则会导致渲染失败或渲染结果不理想/异常/错位等无法预料的事情发生。推荐在编写html时同时更改对应Js代码,以避免出现无法预料的问题。


加载资源包

  • 资源包通常是以.zip格式压缩的,只需要将其解压到根目录resources目录下即可,注意不要嵌套文件夹,正常的路径应该是这样的
main.py
 resources
 └─resource_pack_1
     ├─metadata.yml
diff --git a/assets/extra_command.html-DP0HF9oY.js b/assets/extra_command.html-4LGVQEJ7.js
similarity index 99%
rename from assets/extra_command.html-DP0HF9oY.js
rename to assets/extra_command.html-4LGVQEJ7.js
index e4762244..b34b834f 100644
--- a/assets/extra_command.html-DP0HF9oY.js
+++ b/assets/extra_command.html-4LGVQEJ7.js
@@ -1,4 +1,4 @@
-import{_ as t,o as e,c as a,e as n}from"./app-17zF81Of.js";const s={},r=n(`

功能插件命令

轻雪天气liteyuki_weather

查询实时天气,支持绑定城市,支持中英文城市名,支持多个关键词查询。

配置项

weather_key: "" # 和风天气的天气key,会自动判断key版本
+import{_ as t,o as e,c as a,e as n}from"./app-C58dQ12W.js";const s={},r=n(`

功能插件命令

轻雪天气liteyuki_weather

查询实时天气,支持绑定城市,支持中英文城市名,支持多个关键词查询。

配置项

weather_key: "" # 和风天气的天气key,会自动判断key版本
 

命令

weather <keywords...> # Keywords为城市名,支持中英文
 

查询目标地实时天气,例如:"天气 北京 海淀", "weather Tokyo Shinjuku"

bind-city <keywords...> # Keywords为城市名,支持中英文
 

绑定查询城市,个人全局生效

命令别名

命令别名
weather天气
bind-city绑定城市

统计信息liteyuki_statistics

统计信息 命令

statistic message --duration <duration> --period <period> --group [current|group_id] --bot [current|bot_id]
diff --git a/assets/extra_command.html-CncZTWmX.js b/assets/extra_command.html-BVsr1WSx.js
similarity index 99%
rename from assets/extra_command.html-CncZTWmX.js
rename to assets/extra_command.html-BVsr1WSx.js
index 6221cc35..b63b3ded 100644
--- a/assets/extra_command.html-CncZTWmX.js
+++ b/assets/extra_command.html-BVsr1WSx.js
@@ -1,4 +1,4 @@
-import{_ as t,o as e,c as a,e as n}from"./app-17zF81Of.js";const s={},r=n(`

功能插件命令

轻雪天气liteyuki_weather

查询实时天气,支持绑定城市,支持中英文城市名,支持多个关键词查询。

配置项

weather_key: "" # 和风天气的天气key,会自动判断key版本
+import{_ as t,o as e,c as a,e as n}from"./app-C58dQ12W.js";const s={},r=n(`

功能插件命令

轻雪天气liteyuki_weather

查询实时天气,支持绑定城市,支持中英文城市名,支持多个关键词查询。

配置项

weather_key: "" # 和风天气的天气key,会自动判断key版本
 

命令

weather <keywords...> # Keywords为城市名,支持中英文
 

查询目标地实时天气,例如:"天气 北京 海淀", "weather Tokyo Shinjuku"

bind-city <keywords...> # Keywords为城市名,支持中英文
 

绑定查询城市,个人全局生效

命令别名

命令别名
weather天气
bind-city绑定城市

统计信息liteyuki_statistics

统计信息 命令

statistic message --duration <duration> --period <period> --group [current|group_id] --bot [current|bot_id]
diff --git a/assets/fandq.html-CnB3XmyI.js b/assets/fandq.html-DjZsPJh9.js
similarity index 99%
rename from assets/fandq.html-CnB3XmyI.js
rename to assets/fandq.html-DjZsPJh9.js
index 4dc7b2be..e3e7b175 100644
--- a/assets/fandq.html-CnB3XmyI.js
+++ b/assets/fandq.html-DjZsPJh9.js
@@ -1 +1 @@
-import{_ as l,r,o as a,c as i,b as e,d as t,a as n,e as c}from"./app-17zF81Of.js";const p={},s=e("h2",{id:"常见问题",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#常见问题"},[e("span",null,[e("strong",null,"常见问题")])])],-1),h=c("
  • 设备上Python环境太乱了,pip和python不对应怎么办?

    • 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件
  • 为什么我启动后机器人没有反应?

    • 请检查配置文件的command_startsuperusers,确认你有权限使用命令并按照正确的命令发送
    • 确认命令头没有和nickname{}冲突,例如一个命令是help,但是Bot昵称有一个help,那么将会被解析为nickname而不是命令
  • 更新轻雪失败,报错InvalidGitRepositoryError

    • 请正确安装Git,并使用克隆而非直接下载的方式部署轻雪
  • 怎么登录聊天平台,例如QQ?

    • 你有这个问题说明你不是很了解这个项目,本项目不负责实现登录功能,只负责处理和回应消息,登录功能由实现端(协议端)提供, 实现端本身不负责处理响应逻辑,将消息按照OneBot标准处理好上报给轻雪 你需要使用Onebot标准的实现端来连接到轻雪并将消息上报给轻雪,下面已经列出一些推荐的实现端
  • Playwright安装失败

    • 输入playwright install安装浏览器
  • 有的插件安装后报错无法启动

    • 请先查阅插件文档,确认插件必要配置项完好后,仍然出现问题,请联系插件作者或在安全模式safe_mode: true下启动轻雪,在安全模式下你可以使用npm uninstall卸载问题插件
  • ",6),d=e("h2",{id:"其他问题",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#其他问题"},[e("span",null,"其他问题")])],-1),u={href:"http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=SzmDYbfR6jY94o9KFNon7AwelRyI6M_u&authKey=ygeBdEmdFNyCWuNR4w0M1M8%2B5oDg7k%2FDfN0tzBkYcnbB%2FGHNnlVEnCIGbdftsnn7&noverify=0&group_code=775840726",target:"_blank",rel:"noopener noreferrer"},m=e("h2",{id:"推荐方案-qq",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#推荐方案-qq"},[e("span",null,[e("strong",null,"推荐方案(QQ)")])])],-1),_={href:"https://github.com/KonataDev/Lagrange.Core",target:"_blank",rel:"noopener noreferrer"},g={href:"https://github.com/LLOneBot/LLOneBot",target:"_blank",rel:"noopener noreferrer"},f={href:"https://github.com/whitechi73/OpenShamrock",target:"_blank",rel:"noopener noreferrer"},y={href:"https://github.com/TimeRainStarSky/Yunzai",target:"_blank",rel:"noopener noreferrer"},b=e("code",null,"node.js",-1),k=e("code",null,"ws-plugin",-1),B={href:"https://github.com/Mrs4s/go-cqhttp",target:"_blank",rel:"noopener noreferrer"},q=e("code",null,"go",-1),O={href:"https://github.com/Hoshinonyaruko/Gensokyo",target:"_blank",rel:"noopener noreferrer"},Q=e("li",null,[t("人工实现的"),e("code",null,"Onebot"),t("协议,自己整一个WebSocket客户端,看着QQ的消息,然后给轻雪传输数据")],-1),x=e("h2",{id:"推荐方案-minecraft",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#推荐方案-minecraft"},[e("span",null,[e("strong",null,"推荐方案(Minecraft)")])])],-1),M={href:"https://github.com/snowykami/MinecraftOnebot",target:"_blank",rel:"noopener noreferrer"},N=e("p",null,"使用其他项目连接请先自行查阅文档,若有困难请联系对应开发者而不是Liteyuki的开发者",-1),v=e("h2",{id:"鸣谢",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#鸣谢"},[e("span",null,[e("strong",null,"鸣谢")])])],-1),L={href:"https://nonebot.dev",target:"_blank",rel:"noopener noreferrer"},w={href:"https://github.com/kexue-z/nonebot-plugin-htmlrender/tree/master",target:"_blank",rel:"noopener noreferrer"},S={href:"https://github.com/ArcletProject/nonebot-plugin-alconna",target:"_blank",rel:"noopener noreferrer"},T={href:"https://hyperos.mi.com/font/zh/",target:"_blank",rel:"noopener noreferrer"},z={href:"https://gitee.com/mirrors/Maple-Mono",target:"_blank",rel:"noopener noreferrer"};function G(R,C){const o=r("ExternalLinkIcon");return a(),i("div",null,[s,e("ul",null,[h,e("li",null,[d,e("p",null,[t("加入QQ群"),e("a",u,[t("775840726"),n(o)])])])]),m,e("ol",null,[e("li",null,[e("a",_,[t("Lagrange.OneBot"),n(o)]),t(",基于NTQQ的OneBot实现,目前Markdown消息支持Lagrange")]),e("li",null,[e("a",g,[t("LLOneBot"),n(o)]),t(",NTQQ的OneBot插件,需要安装NTQQ")]),e("li",null,[e("a",f,[t("OpenShamrock"),n(o)]),t(",基于Lsposed的OneBot11实现")]),e("li",null,[e("a",y,[t("TRSS-Yunzai"),n(o)]),t(",基于"),b,t(",可使用"),k,t("进行通信")]),e("li",null,[e("a",B,[t("go-cqhttp"),n(o)]),t(","),q,t("语言实现的OneBot11实现端,目前可用性较低")]),e("li",null,[e("a",O,[t("Gensokyo"),n(o)]),t(",基于 OneBot QQ官方机器人Api Golang 原生实现,需要官方机器人权限")]),Q]),x,e("ol",null,[e("li",null,[e("a",M,[t("MinecraftOneBot"),n(o)]),t(",我们专门为Minecraft开发的服务器Bot,支持OneBotV11标准")])]),N,v,e("ul",null,[e("li",null,[e("a",L,[t("Nonebot2"),n(o)]),t("提供的框架支持")]),e("li",null,[e("a",w,[t("nonebot-plugin-htmlrender"),n(o)]),t("提供的渲染功能")]),e("li",null,[e("a",S,[t("nonebot-plugin-alconna"),n(o)]),t("提供的命令解析功能")]),e("li",null,[e("a",T,[t("MiSans"),n(o)]),t(","),e("a",z,[t("MapleMono"),n(o)]),t("提供的字体,且遵守了相关字体开源协议")])])])}const E=l(p,[["render",G],["__file","fandq.html.vue"]]),P=JSON.parse('{"path":"/deploy/fandq.html","title":"答疑","lang":"zh-CN","frontmatter":{"title":"答疑","icon":"question","order":3,"category":"使用指南","tag":["配置","部署"],"description":"常见问题 设备上Python环境太乱了,pip和python不对应怎么办? 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件 为什么我启动后机器人没...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/deploy/fandq.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/deploy/fandq.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"答疑"}],["meta",{"property":"og:description","content":"常见问题 设备上Python环境太乱了,pip和python不对应怎么办? 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件 为什么我启动后机器人没..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:tag","content":"配置"}],["meta",{"property":"article:tag","content":"部署"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"答疑\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":2,"title":"常见问题","slug":"常见问题","link":"#常见问题","children":[]},{"level":2,"title":"推荐方案(QQ)","slug":"推荐方案-qq","link":"#推荐方案-qq","children":[]},{"level":2,"title":"推荐方案(Minecraft)","slug":"推荐方案-minecraft","link":"#推荐方案-minecraft","children":[]},{"level":2,"title":"鸣谢","slug":"鸣谢","link":"#鸣谢","children":[]}],"git":{"createdTime":1723832665000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":2.44,"words":731},"filePathRelative":"deploy/fandq.md","localizedDate":"2024年8月16日","autoDesc":true}');export{E as comp,P as data}; +import{_ as l,r,o as a,c as i,b as e,d as t,a as n,e as c}from"./app-C58dQ12W.js";const p={},s=e("h2",{id:"常见问题",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#常见问题"},[e("span",null,[e("strong",null,"常见问题")])])],-1),h=c("
  • 设备上Python环境太乱了,pip和python不对应怎么办?

    • 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件
  • 为什么我启动后机器人没有反应?

    • 请检查配置文件的command_startsuperusers,确认你有权限使用命令并按照正确的命令发送
    • 确认命令头没有和nickname{}冲突,例如一个命令是help,但是Bot昵称有一个help,那么将会被解析为nickname而不是命令
  • 更新轻雪失败,报错InvalidGitRepositoryError

    • 请正确安装Git,并使用克隆而非直接下载的方式部署轻雪
  • 怎么登录聊天平台,例如QQ?

    • 你有这个问题说明你不是很了解这个项目,本项目不负责实现登录功能,只负责处理和回应消息,登录功能由实现端(协议端)提供, 实现端本身不负责处理响应逻辑,将消息按照OneBot标准处理好上报给轻雪 你需要使用Onebot标准的实现端来连接到轻雪并将消息上报给轻雪,下面已经列出一些推荐的实现端
  • Playwright安装失败

    • 输入playwright install安装浏览器
  • 有的插件安装后报错无法启动

    • 请先查阅插件文档,确认插件必要配置项完好后,仍然出现问题,请联系插件作者或在安全模式safe_mode: true下启动轻雪,在安全模式下你可以使用npm uninstall卸载问题插件
  • ",6),d=e("h2",{id:"其他问题",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#其他问题"},[e("span",null,"其他问题")])],-1),u={href:"http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=SzmDYbfR6jY94o9KFNon7AwelRyI6M_u&authKey=ygeBdEmdFNyCWuNR4w0M1M8%2B5oDg7k%2FDfN0tzBkYcnbB%2FGHNnlVEnCIGbdftsnn7&noverify=0&group_code=775840726",target:"_blank",rel:"noopener noreferrer"},m=e("h2",{id:"推荐方案-qq",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#推荐方案-qq"},[e("span",null,[e("strong",null,"推荐方案(QQ)")])])],-1),_={href:"https://github.com/KonataDev/Lagrange.Core",target:"_blank",rel:"noopener noreferrer"},g={href:"https://github.com/LLOneBot/LLOneBot",target:"_blank",rel:"noopener noreferrer"},f={href:"https://github.com/whitechi73/OpenShamrock",target:"_blank",rel:"noopener noreferrer"},y={href:"https://github.com/TimeRainStarSky/Yunzai",target:"_blank",rel:"noopener noreferrer"},b=e("code",null,"node.js",-1),k=e("code",null,"ws-plugin",-1),B={href:"https://github.com/Mrs4s/go-cqhttp",target:"_blank",rel:"noopener noreferrer"},q=e("code",null,"go",-1),O={href:"https://github.com/Hoshinonyaruko/Gensokyo",target:"_blank",rel:"noopener noreferrer"},Q=e("li",null,[t("人工实现的"),e("code",null,"Onebot"),t("协议,自己整一个WebSocket客户端,看着QQ的消息,然后给轻雪传输数据")],-1),x=e("h2",{id:"推荐方案-minecraft",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#推荐方案-minecraft"},[e("span",null,[e("strong",null,"推荐方案(Minecraft)")])])],-1),M={href:"https://github.com/snowykami/MinecraftOnebot",target:"_blank",rel:"noopener noreferrer"},N=e("p",null,"使用其他项目连接请先自行查阅文档,若有困难请联系对应开发者而不是Liteyuki的开发者",-1),v=e("h2",{id:"鸣谢",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#鸣谢"},[e("span",null,[e("strong",null,"鸣谢")])])],-1),L={href:"https://nonebot.dev",target:"_blank",rel:"noopener noreferrer"},w={href:"https://github.com/kexue-z/nonebot-plugin-htmlrender/tree/master",target:"_blank",rel:"noopener noreferrer"},S={href:"https://github.com/ArcletProject/nonebot-plugin-alconna",target:"_blank",rel:"noopener noreferrer"},T={href:"https://hyperos.mi.com/font/zh/",target:"_blank",rel:"noopener noreferrer"},z={href:"https://gitee.com/mirrors/Maple-Mono",target:"_blank",rel:"noopener noreferrer"};function G(R,C){const o=r("ExternalLinkIcon");return a(),i("div",null,[s,e("ul",null,[h,e("li",null,[d,e("p",null,[t("加入QQ群"),e("a",u,[t("775840726"),n(o)])])])]),m,e("ol",null,[e("li",null,[e("a",_,[t("Lagrange.OneBot"),n(o)]),t(",基于NTQQ的OneBot实现,目前Markdown消息支持Lagrange")]),e("li",null,[e("a",g,[t("LLOneBot"),n(o)]),t(",NTQQ的OneBot插件,需要安装NTQQ")]),e("li",null,[e("a",f,[t("OpenShamrock"),n(o)]),t(",基于Lsposed的OneBot11实现")]),e("li",null,[e("a",y,[t("TRSS-Yunzai"),n(o)]),t(",基于"),b,t(",可使用"),k,t("进行通信")]),e("li",null,[e("a",B,[t("go-cqhttp"),n(o)]),t(","),q,t("语言实现的OneBot11实现端,目前可用性较低")]),e("li",null,[e("a",O,[t("Gensokyo"),n(o)]),t(",基于 OneBot QQ官方机器人Api Golang 原生实现,需要官方机器人权限")]),Q]),x,e("ol",null,[e("li",null,[e("a",M,[t("MinecraftOneBot"),n(o)]),t(",我们专门为Minecraft开发的服务器Bot,支持OneBotV11标准")])]),N,v,e("ul",null,[e("li",null,[e("a",L,[t("Nonebot2"),n(o)]),t("提供的框架支持")]),e("li",null,[e("a",w,[t("nonebot-plugin-htmlrender"),n(o)]),t("提供的渲染功能")]),e("li",null,[e("a",S,[t("nonebot-plugin-alconna"),n(o)]),t("提供的命令解析功能")]),e("li",null,[e("a",T,[t("MiSans"),n(o)]),t(","),e("a",z,[t("MapleMono"),n(o)]),t("提供的字体,且遵守了相关字体开源协议")])])])}const E=l(p,[["render",G],["__file","fandq.html.vue"]]),P=JSON.parse('{"path":"/deploy/fandq.html","title":"答疑","lang":"zh-CN","frontmatter":{"title":"答疑","icon":"question","order":3,"category":"使用指南","tag":["配置","部署"],"description":"常见问题 设备上Python环境太乱了,pip和python不对应怎么办? 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件 为什么我启动后机器人没...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/deploy/fandq.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/deploy/fandq.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"答疑"}],["meta",{"property":"og:description","content":"常见问题 设备上Python环境太乱了,pip和python不对应怎么办? 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件 为什么我启动后机器人没..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:tag","content":"配置"}],["meta",{"property":"article:tag","content":"部署"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"答疑\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":2,"title":"常见问题","slug":"常见问题","link":"#常见问题","children":[]},{"level":2,"title":"推荐方案(QQ)","slug":"推荐方案-qq","link":"#推荐方案-qq","children":[]},{"level":2,"title":"推荐方案(Minecraft)","slug":"推荐方案-minecraft","link":"#推荐方案-minecraft","children":[]},{"level":2,"title":"鸣谢","slug":"鸣谢","link":"#鸣谢","children":[]}],"git":{"createdTime":1723832665000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":2.44,"words":731},"filePathRelative":"deploy/fandq.md","localizedDate":"2024年8月16日","autoDesc":true}');export{E as comp,P as data}; diff --git a/assets/fandq.html-Csuo_Aal.js b/assets/fandq.html-Dv-FlYfc.js similarity index 99% rename from assets/fandq.html-Csuo_Aal.js rename to assets/fandq.html-Dv-FlYfc.js index 3c52c104..014d3776 100644 --- a/assets/fandq.html-Csuo_Aal.js +++ b/assets/fandq.html-Dv-FlYfc.js @@ -1 +1 @@ -import{_ as l,r,o as a,c as i,b as e,d as t,a as n,e as c}from"./app-17zF81Of.js";const p={},s=e("h2",{id:"常见问题",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#常见问题"},[e("span",null,[e("strong",null,"常见问题")])])],-1),h=c("
  • 设备上Python环境太乱了,pip和python不对应怎么办?

    • 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件
  • 为什么我启动后机器人没有反应?

    • 请检查配置文件的command_startsuperusers,确认你有权限使用命令并按照正确的命令发送
    • 确认命令头没有和nickname{}冲突,例如一个命令是help,但是Bot昵称有一个help,那么将会被解析为nickname而不是命令
  • 更新轻雪失败,报错InvalidGitRepositoryError

    • 请正确安装Git,并使用克隆而非直接下载的方式部署轻雪
  • 怎么登录聊天平台,例如QQ?

    • 你有这个问题说明你不是很了解这个项目,本项目不负责实现登录功能,只负责处理和回应消息,登录功能由实现端(协议端)提供, 实现端本身不负责处理响应逻辑,将消息按照OneBot标准处理好上报给轻雪 你需要使用Onebot标准的实现端来连接到轻雪并将消息上报给轻雪,下面已经列出一些推荐的实现端
  • Playwright安装失败

    • 输入playwright install安装浏览器
  • 有的插件安装后报错无法启动

    • 请先查阅插件文档,确认插件必要配置项完好后,仍然出现问题,请联系插件作者或在安全模式safe_mode: true下启动轻雪,在安全模式下你可以使用npm uninstall卸载问题插件
  • ",6),d=e("h2",{id:"其他问题",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#其他问题"},[e("span",null,"其他问题")])],-1),u={href:"http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=SzmDYbfR6jY94o9KFNon7AwelRyI6M_u&authKey=ygeBdEmdFNyCWuNR4w0M1M8%2B5oDg7k%2FDfN0tzBkYcnbB%2FGHNnlVEnCIGbdftsnn7&noverify=0&group_code=775840726",target:"_blank",rel:"noopener noreferrer"},m=e("h2",{id:"推荐方案-qq",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#推荐方案-qq"},[e("span",null,[e("strong",null,"推荐方案(QQ)")])])],-1),_={href:"https://github.com/KonataDev/Lagrange.Core",target:"_blank",rel:"noopener noreferrer"},g={href:"https://github.com/LLOneBot/LLOneBot",target:"_blank",rel:"noopener noreferrer"},f={href:"https://github.com/whitechi73/OpenShamrock",target:"_blank",rel:"noopener noreferrer"},y={href:"https://github.com/TimeRainStarSky/Yunzai",target:"_blank",rel:"noopener noreferrer"},b=e("code",null,"node.js",-1),k=e("code",null,"ws-plugin",-1),B={href:"https://github.com/Mrs4s/go-cqhttp",target:"_blank",rel:"noopener noreferrer"},q=e("code",null,"go",-1),Q={href:"https://github.com/Hoshinonyaruko/Gensokyo",target:"_blank",rel:"noopener noreferrer"},O=e("li",null,[t("人工实现的"),e("code",null,"Onebot"),t("协议,自己整一个WebSocket客户端,看着QQ的消息,然后给轻雪传输数据")],-1),x=e("h2",{id:"推荐方案-minecraft",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#推荐方案-minecraft"},[e("span",null,[e("strong",null,"推荐方案(Minecraft)")])])],-1),M={href:"https://github.com/snowykami/MinecraftOnebot",target:"_blank",rel:"noopener noreferrer"},v=e("p",null,"使用其他项目连接请先自行查阅文档,若有困难请联系对应开发者而不是Liteyuki的开发者",-1),N=e("h2",{id:"鸣谢",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#鸣谢"},[e("span",null,[e("strong",null,"鸣谢")])])],-1),L={href:"https://nonebot.dev",target:"_blank",rel:"noopener noreferrer"},S={href:"https://github.com/kexue-z/nonebot-plugin-htmlrender/tree/master",target:"_blank",rel:"noopener noreferrer"},w={href:"https://github.com/ArcletProject/nonebot-plugin-alconna",target:"_blank",rel:"noopener noreferrer"},T={href:"https://hyperos.mi.com/font/zh/",target:"_blank",rel:"noopener noreferrer"},A={href:"https://gitee.com/mirrors/Maple-Mono",target:"_blank",rel:"noopener noreferrer"};function F(z,G){const o=r("ExternalLinkIcon");return a(),i("div",null,[s,e("ul",null,[h,e("li",null,[d,e("p",null,[t("加入QQ群"),e("a",u,[t("775840726"),n(o)])])])]),m,e("ol",null,[e("li",null,[e("a",_,[t("Lagrange.OneBot"),n(o)]),t(",基于NTQQ的OneBot实现,目前Markdown消息支持Lagrange")]),e("li",null,[e("a",g,[t("LLOneBot"),n(o)]),t(",NTQQ的OneBot插件,需要安装NTQQ")]),e("li",null,[e("a",f,[t("OpenShamrock"),n(o)]),t(",基于Lsposed的OneBot11实现")]),e("li",null,[e("a",y,[t("TRSS-Yunzai"),n(o)]),t(",基于"),b,t(",可使用"),k,t("进行通信")]),e("li",null,[e("a",B,[t("go-cqhttp"),n(o)]),t(","),q,t("语言实现的OneBot11实现端,目前可用性较低")]),e("li",null,[e("a",Q,[t("Gensokyo"),n(o)]),t(",基于 OneBot QQ官方机器人Api Golang 原生实现,需要官方机器人权限")]),O]),x,e("ol",null,[e("li",null,[e("a",M,[t("MinecraftOneBot"),n(o)]),t(",我们专门为Minecraft开发的服务器Bot,支持OneBotV11标准")])]),v,N,e("ul",null,[e("li",null,[e("a",L,[t("Nonebot2"),n(o)]),t("提供的框架支持")]),e("li",null,[e("a",S,[t("nonebot-plugin-htmlrender"),n(o)]),t("提供的渲染功能")]),e("li",null,[e("a",w,[t("nonebot-plugin-alconna"),n(o)]),t("提供的命令解析功能")]),e("li",null,[e("a",T,[t("MiSans"),n(o)]),t(","),e("a",A,[t("MapleMono"),n(o)]),t("提供的字体,且遵守了相关字体开源协议")])])])}const D=l(p,[["render",F],["__file","fandq.html.vue"]]),E=JSON.parse('{"path":"/en/deploy/fandq.html","title":"FAQ","lang":"en-US","frontmatter":{"title":"FAQ","icon":"question","order":3,"category":"deployment","tag":["FAQ"],"description":"常见问题 设备上Python环境太乱了,pip和python不对应怎么办? 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件 为什么我启动后机器人没...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/deploy/fandq.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/deploy/fandq.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"FAQ"}],["meta",{"property":"og:description","content":"常见问题 设备上Python环境太乱了,pip和python不对应怎么办? 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件 为什么我启动后机器人没..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:tag","content":"FAQ"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"FAQ\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":2,"title":"常见问题","slug":"常见问题","link":"#常见问题","children":[]},{"level":2,"title":"推荐方案(QQ)","slug":"推荐方案-qq","link":"#推荐方案-qq","children":[]},{"level":2,"title":"推荐方案(Minecraft)","slug":"推荐方案-minecraft","link":"#推荐方案-minecraft","children":[]},{"level":2,"title":"鸣谢","slug":"鸣谢","link":"#鸣谢","children":[]}],"git":{"createdTime":1723832665000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":2.41,"words":724},"filePathRelative":"en/deploy/fandq.md","localizedDate":"August 16, 2024","autoDesc":true}');export{D as comp,E as data}; +import{_ as l,r,o as a,c as i,b as e,d as t,a as n,e as c}from"./app-C58dQ12W.js";const p={},s=e("h2",{id:"常见问题",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#常见问题"},[e("span",null,[e("strong",null,"常见问题")])])],-1),h=c("
  • 设备上Python环境太乱了,pip和python不对应怎么办?

    • 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件
  • 为什么我启动后机器人没有反应?

    • 请检查配置文件的command_startsuperusers,确认你有权限使用命令并按照正确的命令发送
    • 确认命令头没有和nickname{}冲突,例如一个命令是help,但是Bot昵称有一个help,那么将会被解析为nickname而不是命令
  • 更新轻雪失败,报错InvalidGitRepositoryError

    • 请正确安装Git,并使用克隆而非直接下载的方式部署轻雪
  • 怎么登录聊天平台,例如QQ?

    • 你有这个问题说明你不是很了解这个项目,本项目不负责实现登录功能,只负责处理和回应消息,登录功能由实现端(协议端)提供, 实现端本身不负责处理响应逻辑,将消息按照OneBot标准处理好上报给轻雪 你需要使用Onebot标准的实现端来连接到轻雪并将消息上报给轻雪,下面已经列出一些推荐的实现端
  • Playwright安装失败

    • 输入playwright install安装浏览器
  • 有的插件安装后报错无法启动

    • 请先查阅插件文档,确认插件必要配置项完好后,仍然出现问题,请联系插件作者或在安全模式safe_mode: true下启动轻雪,在安全模式下你可以使用npm uninstall卸载问题插件
  • ",6),d=e("h2",{id:"其他问题",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#其他问题"},[e("span",null,"其他问题")])],-1),u={href:"http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=SzmDYbfR6jY94o9KFNon7AwelRyI6M_u&authKey=ygeBdEmdFNyCWuNR4w0M1M8%2B5oDg7k%2FDfN0tzBkYcnbB%2FGHNnlVEnCIGbdftsnn7&noverify=0&group_code=775840726",target:"_blank",rel:"noopener noreferrer"},m=e("h2",{id:"推荐方案-qq",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#推荐方案-qq"},[e("span",null,[e("strong",null,"推荐方案(QQ)")])])],-1),_={href:"https://github.com/KonataDev/Lagrange.Core",target:"_blank",rel:"noopener noreferrer"},g={href:"https://github.com/LLOneBot/LLOneBot",target:"_blank",rel:"noopener noreferrer"},f={href:"https://github.com/whitechi73/OpenShamrock",target:"_blank",rel:"noopener noreferrer"},y={href:"https://github.com/TimeRainStarSky/Yunzai",target:"_blank",rel:"noopener noreferrer"},b=e("code",null,"node.js",-1),k=e("code",null,"ws-plugin",-1),B={href:"https://github.com/Mrs4s/go-cqhttp",target:"_blank",rel:"noopener noreferrer"},q=e("code",null,"go",-1),Q={href:"https://github.com/Hoshinonyaruko/Gensokyo",target:"_blank",rel:"noopener noreferrer"},O=e("li",null,[t("人工实现的"),e("code",null,"Onebot"),t("协议,自己整一个WebSocket客户端,看着QQ的消息,然后给轻雪传输数据")],-1),x=e("h2",{id:"推荐方案-minecraft",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#推荐方案-minecraft"},[e("span",null,[e("strong",null,"推荐方案(Minecraft)")])])],-1),M={href:"https://github.com/snowykami/MinecraftOnebot",target:"_blank",rel:"noopener noreferrer"},v=e("p",null,"使用其他项目连接请先自行查阅文档,若有困难请联系对应开发者而不是Liteyuki的开发者",-1),N=e("h2",{id:"鸣谢",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#鸣谢"},[e("span",null,[e("strong",null,"鸣谢")])])],-1),L={href:"https://nonebot.dev",target:"_blank",rel:"noopener noreferrer"},S={href:"https://github.com/kexue-z/nonebot-plugin-htmlrender/tree/master",target:"_blank",rel:"noopener noreferrer"},w={href:"https://github.com/ArcletProject/nonebot-plugin-alconna",target:"_blank",rel:"noopener noreferrer"},T={href:"https://hyperos.mi.com/font/zh/",target:"_blank",rel:"noopener noreferrer"},A={href:"https://gitee.com/mirrors/Maple-Mono",target:"_blank",rel:"noopener noreferrer"};function F(z,G){const o=r("ExternalLinkIcon");return a(),i("div",null,[s,e("ul",null,[h,e("li",null,[d,e("p",null,[t("加入QQ群"),e("a",u,[t("775840726"),n(o)])])])]),m,e("ol",null,[e("li",null,[e("a",_,[t("Lagrange.OneBot"),n(o)]),t(",基于NTQQ的OneBot实现,目前Markdown消息支持Lagrange")]),e("li",null,[e("a",g,[t("LLOneBot"),n(o)]),t(",NTQQ的OneBot插件,需要安装NTQQ")]),e("li",null,[e("a",f,[t("OpenShamrock"),n(o)]),t(",基于Lsposed的OneBot11实现")]),e("li",null,[e("a",y,[t("TRSS-Yunzai"),n(o)]),t(",基于"),b,t(",可使用"),k,t("进行通信")]),e("li",null,[e("a",B,[t("go-cqhttp"),n(o)]),t(","),q,t("语言实现的OneBot11实现端,目前可用性较低")]),e("li",null,[e("a",Q,[t("Gensokyo"),n(o)]),t(",基于 OneBot QQ官方机器人Api Golang 原生实现,需要官方机器人权限")]),O]),x,e("ol",null,[e("li",null,[e("a",M,[t("MinecraftOneBot"),n(o)]),t(",我们专门为Minecraft开发的服务器Bot,支持OneBotV11标准")])]),v,N,e("ul",null,[e("li",null,[e("a",L,[t("Nonebot2"),n(o)]),t("提供的框架支持")]),e("li",null,[e("a",S,[t("nonebot-plugin-htmlrender"),n(o)]),t("提供的渲染功能")]),e("li",null,[e("a",w,[t("nonebot-plugin-alconna"),n(o)]),t("提供的命令解析功能")]),e("li",null,[e("a",T,[t("MiSans"),n(o)]),t(","),e("a",A,[t("MapleMono"),n(o)]),t("提供的字体,且遵守了相关字体开源协议")])])])}const D=l(p,[["render",F],["__file","fandq.html.vue"]]),E=JSON.parse('{"path":"/en/deploy/fandq.html","title":"FAQ","lang":"en-US","frontmatter":{"title":"FAQ","icon":"question","order":3,"category":"deployment","tag":["FAQ"],"description":"常见问题 设备上Python环境太乱了,pip和python不对应怎么办? 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件 为什么我启动后机器人没...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/deploy/fandq.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/deploy/fandq.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"FAQ"}],["meta",{"property":"og:description","content":"常见问题 设备上Python环境太乱了,pip和python不对应怎么办? 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件 为什么我启动后机器人没..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:tag","content":"FAQ"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"FAQ\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":2,"title":"常见问题","slug":"常见问题","link":"#常见问题","children":[]},{"level":2,"title":"推荐方案(QQ)","slug":"推荐方案-qq","link":"#推荐方案-qq","children":[]},{"level":2,"title":"推荐方案(Minecraft)","slug":"推荐方案-minecraft","link":"#推荐方案-minecraft","children":[]},{"level":2,"title":"鸣谢","slug":"鸣谢","link":"#鸣谢","children":[]}],"git":{"createdTime":1723832665000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":2.41,"words":724},"filePathRelative":"en/deploy/fandq.md","localizedDate":"August 16, 2024","autoDesc":true}');export{D as comp,E as data}; diff --git a/assets/index.html-DQMLi85J.js b/assets/index.html-AQfk4Yrn.js similarity index 95% rename from assets/index.html-DQMLi85J.js rename to assets/index.html-AQfk4Yrn.js index 8c222438..a5fa7fbc 100644 --- a/assets/index.html-DQMLi85J.js +++ b/assets/index.html-AQfk4Yrn.js @@ -1 +1 @@ -import{_ as t,r as o,o as a,c as n,a as r}from"./app-17zF81Of.js";const c={};function p(s,i){const e=o("Catalog");return a(),n("div",null,[r(e)])}const m=t(c,[["render",p],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/en/usage/","title":"Usage","lang":"en-US","frontmatter":{"title":"Usage","index":false,"icon":"laptop-code","category":"usage","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/usage/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Usage"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Usage\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.04,"words":11},"filePathRelative":"en/usage/README.md","localizedDate":"August 16, 2024"}');export{m as comp,d as data}; +import{_ as t,r as o,o as a,c as n,a as r}from"./app-C58dQ12W.js";const c={};function p(s,i){const e=o("Catalog");return a(),n("div",null,[r(e)])}const m=t(c,[["render",p],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/en/usage/","title":"Usage","lang":"en-US","frontmatter":{"title":"Usage","index":false,"icon":"laptop-code","category":"usage","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/usage/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Usage"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Usage\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.04,"words":11},"filePathRelative":"en/usage/README.md","localizedDate":"August 16, 2024"}');export{m as comp,d as data}; diff --git a/assets/index.html-DlV1juqE.js b/assets/index.html-BPIKnUsh.js similarity index 95% rename from assets/index.html-DlV1juqE.js rename to assets/index.html-BPIKnUsh.js index 016778dc..c9268b19 100644 --- a/assets/index.html-DlV1juqE.js +++ b/assets/index.html-BPIKnUsh.js @@ -1 +1 @@ -import{_ as t,r as o,o as a,c as n,a as r}from"./app-17zF81Of.js";const p={};function c(i,l){const e=o("Catalog");return a(),n("div",null,[r(e)])}const s=t(p,[["render",c],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/deploy/","title":"项目部署","lang":"zh-CN","frontmatter":{"title":"项目部署","index":false,"icon":"laptop-code","category":"部署","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/deploy/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/deploy/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"项目部署"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"项目部署\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723832665000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.05,"words":15},"filePathRelative":"deploy/README.md","localizedDate":"2024年8月16日"}');export{s as comp,d as data}; +import{_ as t,r as o,o as a,c as n,a as r}from"./app-C58dQ12W.js";const p={};function c(i,l){const e=o("Catalog");return a(),n("div",null,[r(e)])}const s=t(p,[["render",c],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/deploy/","title":"项目部署","lang":"zh-CN","frontmatter":{"title":"项目部署","index":false,"icon":"laptop-code","category":"部署","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/deploy/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/deploy/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"项目部署"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"项目部署\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723832665000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.05,"words":15},"filePathRelative":"deploy/README.md","localizedDate":"2024年8月16日"}');export{s as comp,d as data}; diff --git a/assets/index.html-BZq03E42.js b/assets/index.html-Bvl3YK9w.js similarity index 98% rename from assets/index.html-BZq03E42.js rename to assets/index.html-Bvl3YK9w.js index be4e45eb..8f0fe4b8 100644 --- a/assets/index.html-BZq03E42.js +++ b/assets/index.html-Bvl3YK9w.js @@ -1 +1 @@ -import{_ as e,o as t,c as o}from"./app-17zF81Of.js";const i={};function a(s,n){return t(),o("div")}const r=e(i,[["render",a],["__file","index.html.vue"]]),c=JSON.parse('{"path":"/en/","title":"Home","lang":"en-US","frontmatter":{"home":true,"icon":"home","title":"Home","heroImage":"https://cdn.liteyuki.icu/static/svg/lylogo-full.svg","heroImageDark":"https://cdn.liteyuki.icu/static/svg/lylogo-full-dark.svg","bgImage":null,"bgImageDark":null,"bgImageStyle":{"background-attachment":"fixed"},"heroText":"LiteyukiBot","tagline":"LiteyukiBot A high-performance, easy-to-use chatbot framework and application","actions":[{"text":"Get Started","icon":"rocket","link":"./deploy/install.html","type":"primary"},{"text":"Usage","icon":"book","link":"./usage/basic_command.html"}],"highlights":[{"header":"Simple and Efficient","image":"/assets/image/layout.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/2-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/2-dark.svg","bgImageStyle":{"background-repeat":"repeat","background-size":"initial"},"features":[{"title":"Multi-Framework Support","icon":"robot","details":"Compatible with nonebot, melobot, etc., with good ecological support","link":"https://nonebot.dev/"},{"title":"Convenient Management","icon":"plug","details":"Use package manager to manage plugins and resource packs"},{"title":"Custom Themes Support","icon":"paint-brush","details":"Fully customize the appearance with resource packs","link":"https://bot.liteyuki.icu/usage/resource_pack.html"},{"title":"i18n","icon":"globe","details":"Support multiple languages through resource packs","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"Easy to Use","icon":"cog","details":"No need for cumbersome pre-processes, ready to use","link":"https://bot.liteyuki.icu/deployment/config.html"},{"title":"High Performance","icon":"tachometer-alt","details":"500 plugins, start within 2s"},{"title":"Rolling Update","icon":"cloud-download","details":"Keep your bot up to date"},{"title":"OpenSource","icon":"code","details":"MIT LICENCE open source project, welcome your contribution"}]},{"header":"Quick Start","image":"/assets/image/box.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/3-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/3-dark.svg","highlights":[{"title":"Install Git and Python3.10+ environment"},{"title":"Use git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1 to clone the project locally"},{"title":"Use cd LiteyukiBot to change the directory to the project root"},{"title":"Use pip install -r requirements.txt install the project dependencies","details":"If you have multiple Python environments, please use pythonx -m pip install -r requirements.txt."},{"title":"Start bot with python main.py."}]}],"copyright":"© 2021-2024 SnowyKami All Rights Reserved","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Home"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-16T20:50:27.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T20:50:27.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"Home\\"}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723841427000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2},{"name":"Snowykami","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":1,"words":300},"filePathRelative":"en/README.md","localizedDate":"August 16, 2024"}');export{r as comp,c as data}; +import{_ as e,o as t,c as o}from"./app-C58dQ12W.js";const i={};function a(s,n){return t(),o("div")}const r=e(i,[["render",a],["__file","index.html.vue"]]),c=JSON.parse('{"path":"/en/","title":"Home","lang":"en-US","frontmatter":{"home":true,"icon":"home","title":"Home","heroImage":"https://cdn.liteyuki.icu/static/svg/lylogo-full.svg","heroImageDark":"https://cdn.liteyuki.icu/static/svg/lylogo-full-dark.svg","bgImage":null,"bgImageDark":null,"bgImageStyle":{"background-attachment":"fixed"},"heroText":"LiteyukiBot","tagline":"LiteyukiBot A high-performance, easy-to-use chatbot framework and application","actions":[{"text":"Get Started","icon":"rocket","link":"./deploy/install.html","type":"primary"},{"text":"Usage","icon":"book","link":"./usage/basic_command.html"}],"highlights":[{"header":"Simple and Efficient","image":"/assets/image/layout.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/2-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/2-dark.svg","bgImageStyle":{"background-repeat":"repeat","background-size":"initial"},"features":[{"title":"Multi-Framework Support","icon":"robot","details":"Compatible with nonebot, melobot, etc., with good ecological support","link":"https://nonebot.dev/"},{"title":"Convenient Management","icon":"plug","details":"Use package manager to manage plugins and resource packs"},{"title":"Custom Themes Support","icon":"paint-brush","details":"Fully customize the appearance with resource packs","link":"https://bot.liteyuki.icu/usage/resource_pack.html"},{"title":"i18n","icon":"globe","details":"Support multiple languages through resource packs","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"Easy to Use","icon":"cog","details":"No need for cumbersome pre-processes, ready to use","link":"https://bot.liteyuki.icu/deployment/config.html"},{"title":"High Performance","icon":"tachometer-alt","details":"500 plugins, start within 2s"},{"title":"Rolling Update","icon":"cloud-download","details":"Keep your bot up to date"},{"title":"OpenSource","icon":"code","details":"MIT LICENCE open source project, welcome your contribution"}]},{"header":"Quick Start","image":"/assets/image/box.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/3-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/3-dark.svg","highlights":[{"title":"Install Git and Python3.10+ environment"},{"title":"Use git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1 to clone the project locally"},{"title":"Use cd LiteyukiBot to change the directory to the project root"},{"title":"Use pip install -r requirements.txt install the project dependencies","details":"If you have multiple Python environments, please use pythonx -m pip install -r requirements.txt."},{"title":"Start bot with python main.py."}]}],"copyright":"© 2021-2024 SnowyKami All Rights Reserved","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Home"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-16T20:50:27.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T20:50:27.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"Home\\"}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723841427000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2},{"name":"Snowykami","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":1,"words":300},"filePathRelative":"en/README.md","localizedDate":"August 16, 2024"}');export{r as comp,c as data}; diff --git a/assets/index.html-Djb6oiC9.js b/assets/index.html-C-sZzNPv.js similarity index 98% rename from assets/index.html-Djb6oiC9.js rename to assets/index.html-C-sZzNPv.js index 5edf9a8a..68c482f7 100644 --- a/assets/index.html-Djb6oiC9.js +++ b/assets/index.html-C-sZzNPv.js @@ -1 +1 @@ -import{_ as e,o as t,c as o}from"./app-17zF81Of.js";const i={};function a(s,l){return t(),o("div")}const c=e(i,[["render",a],["__file","index.html.vue"]]),m=JSON.parse('{"path":"/","title":"首页","lang":"zh-CN","frontmatter":{"home":true,"icon":"home","title":"首页","heroImage":"https://cdn.liteyuki.icu/static/svg/lylogo-full.svg","heroImageDark":"https://cdn.liteyuki.icu/static/svg/lylogo-full-dark.svg","bgImage":null,"bgImageDark":null,"bgImageStyle":{"background-attachment":"fixed"},"heroText":"LiteyukiBot","tagline":"LiteyukiBot 轻雪机器人,综合性的机器人应用及管理框架","actions":[{"text":"快速部署","icon":"rocket","link":"./deployment/install.html","type":"primary"},{"text":"使用手册","icon":"book","link":"./usage/basic_command.html"}],"highlights":[{"header":"简洁至上","image":"/assets/image/layout.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/2-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/2-dark.svg","bgImageStyle":{"background-repeat":"repeat","background-size":"initial"},"features":[{"title":"支持多种框架","icon":"robot","details":"兼容nonebot,melobot等,拥有良好的生态支持","link":"https://nonebot.dev/"},{"title":"便捷管理","icon":"plug","details":"使用包管理器,便捷管理插件及资源包"},{"title":"主题支持","icon":"paint-brush","details":"使用资源包对外观进行完全自定义","link":"https://bot.liteyuki.icu/usage/resource_pack.html"},{"title":"国际化","icon":"globe","details":"通过资源包支持多种语言","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"简易使用","icon":"cog","details":"无需繁琐前期过程,开箱即用","link":"https://bot.liteyuki.icu/deployment/config.html"},{"title":"超高性能","icon":"tachometer-alt","details":"500个插件,2s内启动"},{"title":"滚动更新","icon":"cloud-download","details":"让你的机器人保持最新提交"},{"title":"开源项目","icon":"code","details":"项目遵循MIT LICENCE开源,欢迎各位的贡献"}]},{"header":"快速部署","image":"/assets/image/box.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/3-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/3-dark.svg","highlights":[{"title":"安装 Git 及 Python3.10+"},{"title":"使用 git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1 以克隆项目至本地。","details":"如果无法连接到GitHub,可以使用 git clone https://gitee.com/snowykami/LiteyukiBot --depth=1。"},{"title":"使用 cd LiteyukiBot 切换到项目目录。"},{"title":"使用 pip install -r requirements.txt 安装项目依赖。","details":"如果你有多个 Python 环境,请使用 pythonx -m pip install -r requirements.txt。"},{"title":"使用 python main.py 启动项目。"}]}],"copyright":"© 2021-2024 SnowyKami All Rights Reserved","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"首页"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"首页\\"}"]]},"headers":[],"git":{"createdTime":1711460020000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":42},{"name":"Nanaloveyuki","email":"miaomiao_159@outlook.com","commits":1},{"name":"Snowykami","email":"79104275+snowykami@users.noreply.github.com","commits":1}]},"readingTime":{"minutes":1.37,"words":411},"filePathRelative":"README.md","localizedDate":"2024年3月26日"}');export{c as comp,m as data}; +import{_ as e,o as t,c as o}from"./app-C58dQ12W.js";const i={};function a(s,l){return t(),o("div")}const c=e(i,[["render",a],["__file","index.html.vue"]]),m=JSON.parse('{"path":"/","title":"首页","lang":"zh-CN","frontmatter":{"home":true,"icon":"home","title":"首页","heroImage":"https://cdn.liteyuki.icu/static/svg/lylogo-full.svg","heroImageDark":"https://cdn.liteyuki.icu/static/svg/lylogo-full-dark.svg","bgImage":null,"bgImageDark":null,"bgImageStyle":{"background-attachment":"fixed"},"heroText":"LiteyukiBot","tagline":"LiteyukiBot 轻雪机器人,综合性的机器人应用及管理框架","actions":[{"text":"快速部署","icon":"rocket","link":"./deployment/install.html","type":"primary"},{"text":"使用手册","icon":"book","link":"./usage/basic_command.html"}],"highlights":[{"header":"简洁至上","image":"/assets/image/layout.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/2-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/2-dark.svg","bgImageStyle":{"background-repeat":"repeat","background-size":"initial"},"features":[{"title":"支持多种框架","icon":"robot","details":"兼容nonebot,melobot等,拥有良好的生态支持","link":"https://nonebot.dev/"},{"title":"便捷管理","icon":"plug","details":"使用包管理器,便捷管理插件及资源包"},{"title":"主题支持","icon":"paint-brush","details":"使用资源包对外观进行完全自定义","link":"https://bot.liteyuki.icu/usage/resource_pack.html"},{"title":"国际化","icon":"globe","details":"通过资源包支持多种语言","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"简易使用","icon":"cog","details":"无需繁琐前期过程,开箱即用","link":"https://bot.liteyuki.icu/deployment/config.html"},{"title":"超高性能","icon":"tachometer-alt","details":"500个插件,2s内启动"},{"title":"滚动更新","icon":"cloud-download","details":"让你的机器人保持最新提交"},{"title":"开源项目","icon":"code","details":"项目遵循MIT LICENCE开源,欢迎各位的贡献"}]},{"header":"快速部署","image":"/assets/image/box.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/3-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/3-dark.svg","highlights":[{"title":"安装 Git 及 Python3.10+"},{"title":"使用 git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1 以克隆项目至本地。","details":"如果无法连接到GitHub,可以使用 git clone https://gitee.com/snowykami/LiteyukiBot --depth=1。"},{"title":"使用 cd LiteyukiBot 切换到项目目录。"},{"title":"使用 pip install -r requirements.txt 安装项目依赖。","details":"如果你有多个 Python 环境,请使用 pythonx -m pip install -r requirements.txt。"},{"title":"使用 python main.py 启动项目。"}]}],"copyright":"© 2021-2024 SnowyKami All Rights Reserved","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"首页"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"首页\\"}"]]},"headers":[],"git":{"createdTime":1711460020000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":42},{"name":"Nanaloveyuki","email":"miaomiao_159@outlook.com","commits":1},{"name":"Snowykami","email":"79104275+snowykami@users.noreply.github.com","commits":1}]},"readingTime":{"minutes":1.37,"words":411},"filePathRelative":"README.md","localizedDate":"2024年3月26日"}');export{c as comp,m as data}; diff --git a/assets/index.html-D09FXCgT.js b/assets/index.html-C1ikm7gY.js similarity index 95% rename from assets/index.html-D09FXCgT.js rename to assets/index.html-C1ikm7gY.js index 47ddddd6..8ca5811d 100644 --- a/assets/index.html-D09FXCgT.js +++ b/assets/index.html-C1ikm7gY.js @@ -1 +1 @@ -import{_ as t,r as o,o as a,c as n,a as p}from"./app-17zF81Of.js";const r={};function l(c,i){const e=o("Catalog");return a(),n("div",null,[p(e)])}const s=t(r,[["render",l],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/en/deploy/","title":"Deploy","lang":"en-US","frontmatter":{"title":"Deploy","index":false,"icon":"laptop-code","category":"deploy","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/deploy/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/deploy/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Deploy"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Deploy\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723832665000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.04,"words":11},"filePathRelative":"en/deploy/README.md","localizedDate":"August 16, 2024"}');export{s as comp,d as data}; +import{_ as t,r as o,o as a,c as n,a as p}from"./app-C58dQ12W.js";const r={};function l(c,i){const e=o("Catalog");return a(),n("div",null,[p(e)])}const s=t(r,[["render",l],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/en/deploy/","title":"Deploy","lang":"en-US","frontmatter":{"title":"Deploy","index":false,"icon":"laptop-code","category":"deploy","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/deploy/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/deploy/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Deploy"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Deploy\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723832665000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.04,"words":11},"filePathRelative":"en/deploy/README.md","localizedDate":"August 16, 2024"}');export{s as comp,d as data}; diff --git a/assets/index.html-BawXxKPX.js b/assets/index.html-Cqq_dMyq.js similarity index 96% rename from assets/index.html-BawXxKPX.js rename to assets/index.html-Cqq_dMyq.js index eb7a0f69..0596ad7c 100644 --- a/assets/index.html-BawXxKPX.js +++ b/assets/index.html-Cqq_dMyq.js @@ -1 +1 @@ -import{_ as t,r as o,o as a,c as n,a as r}from"./app-17zF81Of.js";const i={};function c(p,s){const e=o("Catalog");return a(),n("div",null,[r(e)])}const m=t(i,[["render",c],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/store/","title":"资源及插件商店","lang":"zh-CN","frontmatter":{"title":"资源及插件商店","index":false,"icon":"store","category":"商店","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/store/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/store/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"资源及插件商店"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-11T21:26:36.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-11T21:26:36.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"资源及插件商店\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-11T21:26:36.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1712364501000,"updatedTime":1723411596000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":5}]},"readingTime":{"minutes":0.06,"words":17},"filePathRelative":"store/README.md","localizedDate":"2024年4月6日"}');export{m as comp,d as data}; +import{_ as t,r as o,o as a,c as n,a as r}from"./app-C58dQ12W.js";const i={};function c(p,s){const e=o("Catalog");return a(),n("div",null,[r(e)])}const m=t(i,[["render",c],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/store/","title":"资源及插件商店","lang":"zh-CN","frontmatter":{"title":"资源及插件商店","index":false,"icon":"store","category":"商店","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/store/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/store/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"资源及插件商店"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-11T21:26:36.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-11T21:26:36.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"资源及插件商店\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-11T21:26:36.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1712364501000,"updatedTime":1723411596000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":5}]},"readingTime":{"minutes":0.06,"words":17},"filePathRelative":"store/README.md","localizedDate":"2024年4月6日"}');export{m as comp,d as data}; diff --git a/assets/index.html-C-tqsrYZ.js b/assets/index.html-Cx_JITyM.js similarity index 95% rename from assets/index.html-C-tqsrYZ.js rename to assets/index.html-Cx_JITyM.js index e0942811..b2c1121d 100644 --- a/assets/index.html-C-tqsrYZ.js +++ b/assets/index.html-Cx_JITyM.js @@ -1 +1 @@ -import{_ as t,r as o,o as a,c as n,a as r}from"./app-17zF81Of.js";const p={};function c(i,l){const e=o("Catalog");return a(),n("div",null,[r(e)])}const s=t(p,[["render",c],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/dev/","title":"开发及贡献","lang":"zh-CN","frontmatter":{"title":"开发及贡献","index":false,"icon":"laptop-code","category":"开发","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"开发及贡献"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-11T21:26:36.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-11T21:26:36.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"开发及贡献\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-11T21:26:36.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723411596000,"updatedTime":1723411596000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"dev/README.md","localizedDate":"2024年8月11日"}');export{s as comp,d as data}; +import{_ as t,r as o,o as a,c as n,a as r}from"./app-C58dQ12W.js";const p={};function c(i,l){const e=o("Catalog");return a(),n("div",null,[r(e)])}const s=t(p,[["render",c],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/dev/","title":"开发及贡献","lang":"zh-CN","frontmatter":{"title":"开发及贡献","index":false,"icon":"laptop-code","category":"开发","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"开发及贡献"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-11T21:26:36.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-11T21:26:36.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"开发及贡献\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-11T21:26:36.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723411596000,"updatedTime":1723411596000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"dev/README.md","localizedDate":"2024年8月11日"}');export{s as comp,d as data}; diff --git a/assets/index.html-UmXmqjtQ.js b/assets/index.html-DC4f89rn.js similarity index 95% rename from assets/index.html-UmXmqjtQ.js rename to assets/index.html-DC4f89rn.js index e2d4f67e..2dd4195c 100644 --- a/assets/index.html-UmXmqjtQ.js +++ b/assets/index.html-DC4f89rn.js @@ -1 +1 @@ -import{_ as t,r as o,o as a,c as n,a as r}from"./app-17zF81Of.js";const p={};function c(i,l){const e=o("Catalog");return a(),n("div",null,[r(e)])}const m=t(p,[["render",c],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/usage/","title":"使用手册","lang":"zh-CN","frontmatter":{"title":"使用手册","index":false,"icon":"laptop-code","category":"使用手册","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/usage/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"使用手册"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-03-28T04:05:03.000Z"}],["meta",{"property":"article:modified_time","content":"2024-03-28T04:05:03.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"使用手册\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-03-28T04:05:03.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1711589926000,"updatedTime":1711598703000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":4}]},"readingTime":{"minutes":0.06,"words":17},"filePathRelative":"usage/README.md","localizedDate":"2024年3月28日"}');export{m as comp,d as data}; +import{_ as t,r as o,o as a,c as n,a as r}from"./app-C58dQ12W.js";const p={};function c(i,l){const e=o("Catalog");return a(),n("div",null,[r(e)])}const m=t(p,[["render",c],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/usage/","title":"使用手册","lang":"zh-CN","frontmatter":{"title":"使用手册","index":false,"icon":"laptop-code","category":"使用手册","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/usage/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"使用手册"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-03-28T04:05:03.000Z"}],["meta",{"property":"article:modified_time","content":"2024-03-28T04:05:03.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"使用手册\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-03-28T04:05:03.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1711589926000,"updatedTime":1711598703000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":4}]},"readingTime":{"minutes":0.06,"words":17},"filePathRelative":"usage/README.md","localizedDate":"2024年3月28日"}');export{m as comp,d as data}; diff --git a/assets/index.html-BW5Zt-o6.js b/assets/index.html-DhYJEioj.js similarity index 95% rename from assets/index.html-BW5Zt-o6.js rename to assets/index.html-DhYJEioj.js index 876ab750..9f1467bb 100644 --- a/assets/index.html-BW5Zt-o6.js +++ b/assets/index.html-DhYJEioj.js @@ -1 +1 @@ -import{_ as t,r as o,o as n,c as a,a as r}from"./app-17zF81Of.js";const i={};function c(p,l){const e=o("Catalog");return n(),a("div",null,[r(e)])}const s=t(i,[["render",c],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/en/dev/","title":"Contribute","lang":"en-US","frontmatter":{"title":"Contribute","index":false,"icon":"laptop-code","category":"开发","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Contribute"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Contribute\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.04,"words":12},"filePathRelative":"en/dev/README.md","localizedDate":"August 16, 2024"}');export{s as comp,d as data}; +import{_ as t,r as o,o as n,c as a,a as r}from"./app-C58dQ12W.js";const i={};function c(p,l){const e=o("Catalog");return n(),a("div",null,[r(e)])}const s=t(i,[["render",c],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/en/dev/","title":"Contribute","lang":"en-US","frontmatter":{"title":"Contribute","index":false,"icon":"laptop-code","category":"开发","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Contribute"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Contribute\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.04,"words":12},"filePathRelative":"en/dev/README.md","localizedDate":"August 16, 2024"}');export{s as comp,d as data}; diff --git a/assets/index.html-CKbFH95_.js b/assets/index.html-i3pkgDBa.js similarity index 95% rename from assets/index.html-CKbFH95_.js rename to assets/index.html-i3pkgDBa.js index cb36b9b1..74621f99 100644 --- a/assets/index.html-CKbFH95_.js +++ b/assets/index.html-i3pkgDBa.js @@ -1 +1 @@ -import{_ as t,r as o,o as n,c as r,a}from"./app-17zF81Of.js";const s={};function i(c,p){const e=o("Catalog");return n(),r("div",null,[a(e)])}const m=t(s,[["render",i],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/en/store/","title":"Extensions Store","lang":"en-US","frontmatter":{"title":"Extensions Store","index":false,"icon":"store","category":"store","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/store/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/store/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Extensions Store"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Extensions Store\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.04,"words":11},"filePathRelative":"en/store/README.md","localizedDate":"August 16, 2024"}');export{m as comp,d as data}; +import{_ as t,r as o,o as n,c as r,a}from"./app-C58dQ12W.js";const s={};function i(c,p){const e=o("Catalog");return n(),r("div",null,[a(e)])}const m=t(s,[["render",i],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/en/store/","title":"Extensions Store","lang":"en-US","frontmatter":{"title":"Extensions Store","index":false,"icon":"store","category":"store","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/store/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/store/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Extensions Store"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Extensions Store\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.04,"words":11},"filePathRelative":"en/store/README.md","localizedDate":"August 16, 2024"}');export{m as comp,d as data}; diff --git a/assets/install.html-D5T2xzzA.js b/assets/install.html-B_0ybvg0.js similarity index 99% rename from assets/install.html-D5T2xzzA.js rename to assets/install.html-B_0ybvg0.js index 47a430ca..582c18ae 100644 --- a/assets/install.html-D5T2xzzA.js +++ b/assets/install.html-B_0ybvg0.js @@ -1,4 +1,4 @@ -import{_ as s,r as a,o as l,c as r,b as e,d as t,a as o,e as i}from"./app-17zF81Of.js";const c={},d=e("h2",{id:"installation",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#installation"},[e("span",null,[e("strong",null,"Installation")])])],-1),p=e("h3",{id:"conventional-deployment",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#conventional-deployment"},[e("span",null,[e("strong",null,"Conventional deployment")])])],-1),u={href:"https://git-scm.com/download/",target:"_blank",rel:"noopener noreferrer"},h=e("code",null,"Git",-1),m={href:"https://www.python.org/downloads/release/python-31010/",target:"_blank",rel:"noopener noreferrer"},v=e("code",null,"Python3.10+",-1),y=i(`
    # Clone the project locally, --depth=1 to reduce the size of the cloned repository, this project updates depend on Git
    +import{_ as s,r as a,o as l,c as r,b as e,d as t,a as o,e as i}from"./app-C58dQ12W.js";const c={},d=e("h2",{id:"installation",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#installation"},[e("span",null,[e("strong",null,"Installation")])])],-1),p=e("h3",{id:"conventional-deployment",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#conventional-deployment"},[e("span",null,[e("strong",null,"Conventional deployment")])])],-1),u={href:"https://git-scm.com/download/",target:"_blank",rel:"noopener noreferrer"},h=e("code",null,"Git",-1),m={href:"https://www.python.org/downloads/release/python-31010/",target:"_blank",rel:"noopener noreferrer"},v=e("code",null,"Python3.10+",-1),y=i(`
    # Clone the project locally, --depth=1 to reduce the size of the cloned repository, this project updates depend on Git
     git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1
     # change the directory to the project root
     cd LiteyukiBot
    diff --git a/assets/install.html-Dg4nKUEY.js b/assets/install.html-D5s_G2CO.js
    similarity index 99%
    rename from assets/install.html-Dg4nKUEY.js
    rename to assets/install.html-D5s_G2CO.js
    index 6a7f0c5b..88d7a724 100644
    --- a/assets/install.html-Dg4nKUEY.js
    +++ b/assets/install.html-D5s_G2CO.js
    @@ -1,4 +1,4 @@
    -import{_ as s,r as a,o as l,c,b as e,d as t,a as o,e as i}from"./app-17zF81Of.js";const r={},d=e("h2",{id:"开始安装",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#开始安装"},[e("span",null,[e("strong",null,"开始安装")])])],-1),p=e("h3",{id:"常规部署",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#常规部署"},[e("span",null,[e("strong",null,"常规部署")])])],-1),h={href:"https://git-scm.com/download/",target:"_blank",rel:"noopener noreferrer"},u=e("code",null,"Git",-1),m={href:"https://www.python.org/downloads/release/python-31010/",target:"_blank",rel:"noopener noreferrer"},v=e("code",null,"Python3.10+",-1),_=i(`
    # 克隆项目到本地,轻雪使用Git进行版本管理,该步骤为必要项
    +import{_ as s,r as a,o as l,c,b as e,d as t,a as o,e as i}from"./app-C58dQ12W.js";const r={},d=e("h2",{id:"开始安装",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#开始安装"},[e("span",null,[e("strong",null,"开始安装")])])],-1),p=e("h3",{id:"常规部署",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#常规部署"},[e("span",null,[e("strong",null,"常规部署")])])],-1),h={href:"https://git-scm.com/download/",target:"_blank",rel:"noopener noreferrer"},u=e("code",null,"Git",-1),m={href:"https://www.python.org/downloads/release/python-31010/",target:"_blank",rel:"noopener noreferrer"},v=e("code",null,"Python3.10+",-1),_=i(`
    # 克隆项目到本地,轻雪使用Git进行版本管理,该步骤为必要项
     git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1
     # 切换到Bot目录下
     cd LiteyukiBot
    diff --git a/assets/plugin.html-BfdgStdM.js b/assets/plugin.html-BwSVlp5P.js
    similarity index 96%
    rename from assets/plugin.html-BfdgStdM.js
    rename to assets/plugin.html-BwSVlp5P.js
    index 6e71c9cb..5ba8b4e6 100644
    --- a/assets/plugin.html-BfdgStdM.js
    +++ b/assets/plugin.html-BwSVlp5P.js
    @@ -1 +1 @@
    -import{_ as t,r as o,o as n,c as r,a}from"./app-17zF81Of.js";const p={};function i(l,c){const e=o("pluginStoreComp");return n(),r("div",null,[a(e)])}const s=t(p,[["render",i],["__file","plugin.html.vue"]]),d=JSON.parse('{"path":"/store/plugin.html","title":"插件商店","lang":"zh-CN","frontmatter":{"title":"插件商店","icon":"plug","order":2,"category":"使用手册","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/store/plugin.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/store/plugin.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"插件商店"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-04-19T20:10:20.000Z"}],["meta",{"property":"article:modified_time","content":"2024-04-19T20:10:20.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"插件商店\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-19T20:10:20.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1713557420000,"updatedTime":1713557420000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"store/plugin.md","localizedDate":"2024年4月19日"}');export{s as comp,d as data};
    +import{_ as t,r as o,o as n,c as r,a}from"./app-C58dQ12W.js";const p={};function i(l,c){const e=o("pluginStoreComp");return n(),r("div",null,[a(e)])}const s=t(p,[["render",i],["__file","plugin.html.vue"]]),d=JSON.parse('{"path":"/store/plugin.html","title":"插件商店","lang":"zh-CN","frontmatter":{"title":"插件商店","icon":"plug","order":2,"category":"使用手册","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/store/plugin.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/store/plugin.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"插件商店"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-04-19T20:10:20.000Z"}],["meta",{"property":"article:modified_time","content":"2024-04-19T20:10:20.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"插件商店\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-19T20:10:20.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1713557420000,"updatedTime":1713557420000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"store/plugin.md","localizedDate":"2024年4月19日"}');export{s as comp,d as data};
    diff --git a/assets/plugin.html-zKtPsyPJ.js b/assets/plugin.html-DS2xoHRg.js
    similarity index 96%
    rename from assets/plugin.html-zKtPsyPJ.js
    rename to assets/plugin.html-DS2xoHRg.js
    index 1e6e0ffd..6598048e 100644
    --- a/assets/plugin.html-zKtPsyPJ.js
    +++ b/assets/plugin.html-DS2xoHRg.js
    @@ -1 +1 @@
    -import{_ as t,r as o,o as n,c as r,a}from"./app-17zF81Of.js";const i={};function p(l,c){const e=o("pluginStoreComp");return n(),r("div",null,[a(e)])}const s=t(i,[["render",p],["__file","plugin.html.vue"]]),u=JSON.parse('{"path":"/en/store/plugin.html","title":"Plugin Store","lang":"en-US","frontmatter":{"title":"Plugin Store","icon":"plug","order":2,"category":"extension","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/store/plugin.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/store/plugin.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Plugin Store"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Plugin Store\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.04,"words":11},"filePathRelative":"en/store/plugin.md","localizedDate":"August 16, 2024"}');export{s as comp,u as data};
    +import{_ as t,r as o,o as n,c as r,a}from"./app-C58dQ12W.js";const i={};function p(l,c){const e=o("pluginStoreComp");return n(),r("div",null,[a(e)])}const s=t(i,[["render",p],["__file","plugin.html.vue"]]),u=JSON.parse('{"path":"/en/store/plugin.html","title":"Plugin Store","lang":"en-US","frontmatter":{"title":"Plugin Store","icon":"plug","order":2,"category":"extension","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/store/plugin.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/store/plugin.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Plugin Store"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Plugin Store\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.04,"words":11},"filePathRelative":"en/store/plugin.md","localizedDate":"August 16, 2024"}');export{s as comp,u as data};
    diff --git a/assets/resource.html-DdzlogdB.js b/assets/resource.html-CLUffFo6.js
    similarity index 96%
    rename from assets/resource.html-DdzlogdB.js
    rename to assets/resource.html-CLUffFo6.js
    index ebde0c1f..40e1b9e2 100644
    --- a/assets/resource.html-DdzlogdB.js
    +++ b/assets/resource.html-CLUffFo6.js
    @@ -1 +1 @@
    -import{_ as t,r as o,o as r,c as a,a as n}from"./app-17zF81Of.js";const c={};function s(p,m){const e=o("resourceStoreComp");return r(),a("div",null,[n(e)])}const l=t(c,[["render",s],["__file","resource.html.vue"]]),d=JSON.parse('{"path":"/store/resource.html","title":"资源商店","lang":"zh-CN","frontmatter":{"title":"资源商店","icon":"box","order":1,"category":"使用手册","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/store/resource.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/store/resource.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"资源商店"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-01T04:23:56.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-01T04:23:56.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"资源商店\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-01T04:23:56.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1713557420000,"updatedTime":1722486236000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"store/resource.md","localizedDate":"2024年4月19日"}');export{l as comp,d as data};
    +import{_ as t,r as o,o as r,c as a,a as n}from"./app-C58dQ12W.js";const c={};function s(p,m){const e=o("resourceStoreComp");return r(),a("div",null,[n(e)])}const l=t(c,[["render",s],["__file","resource.html.vue"]]),d=JSON.parse('{"path":"/store/resource.html","title":"资源商店","lang":"zh-CN","frontmatter":{"title":"资源商店","icon":"box","order":1,"category":"使用手册","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/store/resource.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/store/resource.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"资源商店"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-01T04:23:56.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-01T04:23:56.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"资源商店\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-01T04:23:56.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1713557420000,"updatedTime":1722486236000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"store/resource.md","localizedDate":"2024年4月19日"}');export{l as comp,d as data};
    diff --git a/assets/resource.html-cDb3jGqd.js b/assets/resource.html-CMHJaxPw.js
    similarity index 96%
    rename from assets/resource.html-cDb3jGqd.js
    rename to assets/resource.html-CMHJaxPw.js
    index e286e3ff..139f7b28 100644
    --- a/assets/resource.html-cDb3jGqd.js
    +++ b/assets/resource.html-CMHJaxPw.js
    @@ -1 +1 @@
    -import{_ as t,r as o,o as r,c as n,a}from"./app-17zF81Of.js";const c={};function s(p,m){const e=o("resourceStoreComp");return r(),n("div",null,[a(e)])}const l=t(c,[["render",s],["__file","resource.html.vue"]]),d=JSON.parse('{"path":"/en/store/resource.html","title":"Resource Store","lang":"en-US","frontmatter":{"title":"Resource Store","icon":"box","order":1,"category":"extension","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/store/resource.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/store/resource.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Resource Store"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Resource Store\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.04,"words":11},"filePathRelative":"en/store/resource.md","localizedDate":"August 16, 2024"}');export{l as comp,d as data};
    +import{_ as t,r as o,o as r,c as n,a}from"./app-C58dQ12W.js";const c={};function s(p,m){const e=o("resourceStoreComp");return r(),n("div",null,[a(e)])}const l=t(c,[["render",s],["__file","resource.html.vue"]]),d=JSON.parse('{"path":"/en/store/resource.html","title":"Resource Store","lang":"en-US","frontmatter":{"title":"Resource Store","icon":"box","order":1,"category":"extension","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/store/resource.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/store/resource.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Resource Store"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Resource Store\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.04,"words":11},"filePathRelative":"en/store/resource.md","localizedDate":"August 16, 2024"}');export{l as comp,d as data};
    diff --git a/deploy/config.html b/deploy/config.html
    index 838b6e63..a0863f61 100644
    --- a/deploy/config.html
    +++ b/deploy/config.html
    @@ -30,8 +30,8 @@
         
         配置 | LiteyukiBot 轻雪机器人
         
    -    
    -    
    +    
    +    
       
       
         
    跳至主要內容

    配置

    远野千束大约 2 分钟使用指南配置部署

    轻雪支持yamljsontoml作为配置文件,取决于你个人的喜好

    首次运行后生成config.ymlconfig目录,你可修改配置项后重启轻雪,绝大多数情况下,你只需要修改superusersnickname字段即可

    启动时会加载项目目录下config.yml/yaml/json/tomlconfig目录下的所有配置文件,你可在config目录下创建多个配置文件,轻雪会自动合并这些配置文件

    基础配置项

    nonebot:
    @@ -67,6 +67,6 @@
     
     ...
     

    提示

    如果要使用NoneBot和dotenv配置文件,请自行创建.env.{ENVIRONMENT},并在config.yml中添加nonebot.environment:{ENVIRONMENT}字段

    与NoneBot对接的OneBot实现端配置

    生产环境中推荐反向WebSocket 不同的实现端给出的字段可能不同,但是基本上都是一样的,这里给出一个参考值

    字段参考值说明
    协议反向WebSocket推荐使用反向ws协议进行通信,即轻雪作为服务端
    地址ws://127.0.0.1:20216/onebot/v11/ws地址取决于配置文件,本机默认为127.0.0.1:20216
    AccessToken""如果你给轻雪配置了AccessToken,请在此填写相同的值

    其他

    • 要使用其他通信方式请访问OneBot Adapteropen in new window获取详细信息
    • 轻雪不局限于OneBot适配器,你可以使用NoneBot2支持的任何适配器
    - + diff --git a/deploy/fandq.html b/deploy/fandq.html index aa9bb4f2..ac1d3bab 100644 --- a/deploy/fandq.html +++ b/deploy/fandq.html @@ -30,11 +30,11 @@ 答疑 | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    答疑

    远野千束大约 2 分钟使用指南配置部署

    常见问题

    • 设备上Python环境太乱了,pip和python不对应怎么办?

      • 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件
    • 为什么我启动后机器人没有反应?

      • 请检查配置文件的command_startsuperusers,确认你有权限使用命令并按照正确的命令发送
      • 确认命令头没有和nickname{}冲突,例如一个命令是help,但是Bot昵称有一个help,那么将会被解析为nickname而不是命令
    • 更新轻雪失败,报错InvalidGitRepositoryError

      • 请正确安装Git,并使用克隆而非直接下载的方式部署轻雪
    • 怎么登录聊天平台,例如QQ?

      • 你有这个问题说明你不是很了解这个项目,本项目不负责实现登录功能,只负责处理和回应消息,登录功能由实现端(协议端)提供, 实现端本身不负责处理响应逻辑,将消息按照OneBot标准处理好上报给轻雪 你需要使用Onebot标准的实现端来连接到轻雪并将消息上报给轻雪,下面已经列出一些推荐的实现端
    • Playwright安装失败

      • 输入playwright install安装浏览器
    • 有的插件安装后报错无法启动

      • 请先查阅插件文档,确认插件必要配置项完好后,仍然出现问题,请联系插件作者或在安全模式safe_mode: true下启动轻雪,在安全模式下你可以使用npm uninstall卸载问题插件
    • 其他问题

      加入QQ群775840726open in new window

    推荐方案(QQ)

    1. Lagrange.OneBotopen in new window,基于NTQQ的OneBot实现,目前Markdown消息支持Lagrange
    2. LLOneBotopen in new window,NTQQ的OneBot插件,需要安装NTQQ
    3. OpenShamrockopen in new window,基于Lsposed的OneBot11实现
    4. TRSS-Yunzaiopen in new window,基于node.js,可使用ws-plugin进行通信
    5. go-cqhttpopen in new windowgo语言实现的OneBot11实现端,目前可用性较低
    6. Gensokyoopen in new window,基于 OneBot QQ官方机器人Api Golang 原生实现,需要官方机器人权限
    7. 人工实现的Onebot协议,自己整一个WebSocket客户端,看着QQ的消息,然后给轻雪传输数据

    推荐方案(Minecraft)

    1. MinecraftOneBotopen in new window,我们专门为Minecraft开发的服务器Bot,支持OneBotV11标准

    使用其他项目连接请先自行查阅文档,若有困难请联系对应开发者而不是Liteyuki的开发者

    鸣谢

    - + diff --git a/deploy/index.html b/deploy/index.html index 171dbdf8..35977fb9 100644 --- a/deploy/index.html +++ b/deploy/index.html @@ -30,11 +30,11 @@ 项目部署 | LiteyukiBot 轻雪机器人 - - + + - + diff --git a/deploy/install.html b/deploy/install.html index 5350534d..af61c238 100644 --- a/deploy/install.html +++ b/deploy/install.html @@ -30,8 +30,8 @@ 安装 | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    安装

    远野千束大约 2 分钟使用指南安装

    开始安装

    常规部署

    1. 安装 Gitopen in new windowPython3.10+open in new window 环境
    # 克隆项目到本地,轻雪使用Git进行版本管理,该步骤为必要项
    @@ -43,6 +43,6 @@ pip install # 启动Bot
     python main.py
     

    提示

    推荐使用虚拟环境来运行轻雪,以避免依赖冲突,你可以使用python -m venv .venv来创建虚拟环境,然后使用.venv\Scripts\activate来激活虚拟环境(Linux下使用source .venv/bin/activate激活)

    使用Docker构建镜像部署

    1. 安装 Dockeropen in new window
    2. 克隆项目 git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1
    3. 进入轻雪目录 cd LiteyukiBot
    4. 构建镜像 docker build -t liteyukibot .
    5. 启动容器 docker run -p 20216:20216 -v $(pwd):/liteyukibot -v $(pwd)/.cache:/root/.cache liteyukibot

    提示

    Windows请使用项目绝对目录/path/to/LiteyukiBot代替$(pwd)
    若你修改了端口号请将20216:20216中的20216替换为你的端口号

    使用TRSS Scripts部署

    TRSS_Liteyuki轻雪机器人管理脚本open in new window,该功能由TRSS提供支持,不是LiteyukiBot官方提供的功能,推荐使用Arch Linux

    设备要求

    • Windows系统版本最低Windows10+/Windows Server 2019+
    • Linux系统要支持Python3.10+,推荐Ubuntu 20.04+(别用你那b CentOS)
    • CPU: 至少1vCPU
    • 内存: Bot无其他插件会占用300~500MB,包括chromiumnode等进程,其他插件占用视具体插件而定,建议1GB以上
    • 硬盘: 至少1GB空间

    注意

    如果设备上有多个环境,请使用path/to/python -m pip install -r requirements.txt来安装依赖,path/to/python为你的Python可执行文件路径

    注意

    轻雪的更新功能依赖Git,如果你没有安装Git直接下载源代码运行,你将无法使用更新功能

    其他问题请移步至答疑

    - + diff --git a/dev/dev_comm.html b/dev/dev_comm.html index df4724a1..d51b751b 100644 --- a/dev/dev_comm.html +++ b/dev/dev_comm.html @@ -30,8 +30,8 @@ 进程通信 | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    进程通信

    远野千束大约 3 分钟开发

    通道通信

    简介

    轻雪运行在主进程 MainProcess 里,其他插件框架进程是伴随的子进程,因此无法通过内存共享和直接对象传递的方式进行通信,轻雪提供了一个通道Channel用于跨进程通信,你可以通过Channel发送消息给其他进程,也可以监听其他进程的消息。

    例如子进程接收到用户信息需要重启机器人,这时可以通过通道对主进程发送消息,主进程接收到消息后重启对应子进程。

    示例

    通道是全双工的,有两种接收模式,但一个通道只能使用一种,即被动模式和主动模式,被动模式由chan.on_receive()装饰回调函数实现,主动模式需调用chan.receive()实现

    • 创建子进程的同时会初始化一个被动通道和一个主动通道,且通道标识为{process_name}-active{process_name}-passive
    • 主进程中通过get_channel函数获取通道对象
    • 子进程中导入单例active_channelpassive_channel即可

    在轻雪插件中(主进程中)

    import asyncio
    @@ -81,6 +81,6 @@ driver = get_driver.set("key", "value")  # 设置共享内存
     value = shared_memory.get("key")  # 获取共享内存
     

    源代码:liteyuki/comm/storage.pyopen in new window

    - + diff --git a/dev/dev_lyfunc.html b/dev/dev_lyfunc.html index f183faea..844430f2 100644 --- a/dev/dev_lyfunc.html +++ b/dev/dev_lyfunc.html @@ -30,8 +30,8 @@ 轻雪函数 | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    轻雪函数

    远野千束大约 2 分钟开发

    轻雪函数

    轻雪函数 Liteyuki Function 是轻雪的一个功能,它允许你在轻雪中运行一些自定义的由数据驱动的命令,类似于Minecraft的mcfunction,属于资源包的一部分,但需单独起篇幅.

    函数文件

    函数文件放在资源包的functions目录下,文件名以.mcfunction .lyfunction .lyf结尾,例如test.mcfunction,文件内容为一系列的命令,每行一个命令,支持单行注释#(编辑时的语法高亮可采取shell格式),例如:

    # 在发信器输出"hello world"
    @@ -58,6 +58,6 @@ api friend_poke user_idnohup function poke
     await
     

    API

    理论上所有基于onebotv11的api都可调用,不同Adapter api也有差别.

    Onebot v11 API文档open in new window

    结束关键字

    由于LiteyukiBot基于异步运行, 所以在编写lyfunction时也要注意异步的调用,避免出现"单线程走到底"的情况是效率提升的关键.

    await 异步任务结束关键字,用于结束当前已完成function的执行

    注意

    但若出现非单function的情况,有一个task任务没有完成而await被执行了,那么当前所有函数包的task都会被截停销毁

    提示

    编写轻雪函数推荐你使用VS Code插件Liteyuki Functionopen in new window实现语法高亮

    - + diff --git a/dev/dev_lyplugin.html b/dev/dev_lyplugin.html index 8310ad7d..6d72fb74 100644 --- a/dev/dev_lyplugin.html +++ b/dev/dev_lyplugin.html @@ -30,8 +30,8 @@ 轻雪插件开发 | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    轻雪插件开发

    远野千束大约 2 分钟开发

    简介

    轻雪插件是轻雪内置的一部分功能,运行在主进程中,可以很高程度地扩展轻雪的功能

    开始

    创建插件

    在标准项目中,位于liteyuki/plugins和src/liteyuki_plugins下的Python modules均会被当作插件加载,你可自行添加配置文件以指定插件的加载路径 一个.py文件或一个包含__init__.py的文件夹即可被识别为插件 创建一个文件夹,例如watchdog_plugin,并在其中创建一个__init__.py文件,即可创建一个插件

    from liteyuki.plugin import PluginMetadata
    @@ -64,6 +64,6 @@ exclude_extensions = .debug(f"File {event.src_path} changed, reloading nonebot...")
         liteyuki.restart_process("nonebot") # 调用重启进程方法
     

    加载插件

    在配置文件中的liteyuki.plugins中添加你的插件路径,例如watchdog_plugin,重启轻雪即可加载插件。然后我们在src/nonebot_plugins下创建一个文件,例如test.py,并在其中写入一些代码,保存后轻雪会自动重载NoneBot进程

    - + diff --git a/dev/dev_resource_pack.html b/dev/dev_resource_pack.html index e5fafc74..93db40d4 100644 --- a/dev/dev_resource_pack.html +++ b/dev/dev_resource_pack.html @@ -30,8 +30,8 @@ 资源包开发 | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    资源包开发

    远野千束大约 2 分钟开发

    简介

    资源包,亦可根据用途称为主题包、字体包、语言包等,它允许你一定程度上自定义轻雪的外观,并且不用修改源代码

    • 资源/主题商店提供了一些资源包供你选择,你也可以自己制作资源包
    • 资源包的制作很简单,如果你接触过Minecraft的资源包,那么你能够很快就上手,仅需按照原有路径进行文件替换即可,讲起打包成一个新的资源包。
    • 部分内容制作需要一点点前端基础,例如htmlcss
    • 轻雪原版资源包请查看LiteyukiBot/liteyuki/resources,可以在此基础上进行修改
    • 欢迎各位投稿资源包到轻雪资源商店

    请注意,主题包中的html渲染使用Js来规定数据的渲染位置,请确保您所编写的html代码能被Bot解析,否则会导致渲染失败或渲染结果不理想/异常/错位等无法预料的事情发生。推荐在编写html时同时更改对应Js代码,以避免出现无法预料的问题。


    加载资源包

    • 资源包通常是以.zip格式压缩的,只需要将其解压到根目录resources目录下即可,注意不要嵌套文件夹,正常的路径应该是这样的
    main.py
    @@ -49,6 +49,6 @@ resources
     # 你可以自定义一些信息,但请保证以上三个字段
     ...
     
    • 资源包加载遵循一个优先级,即后加载的资源包会覆盖前面的资源包,例如,你在A包中定义了一个index.html文件,B包也定义了一个index.html文件,那么加载B包后,A包中的index.html文件会被覆盖
    • 对于不同资源包的不同文件,是可以相对引用的,例如你在A中定义了templates/index.html,在B中定义了templates/style.css,可以在A的index.html中用./style.css相对路径引用B中的css

    提示

    资源包的结构会随着轻雪的更新而有变动,第三方资源包开发者需要注意版本兼容性,同时用户也应该自行选择可用的资源包

    - + diff --git a/dev/index.html b/dev/index.html index 0542f711..3152e2ed 100644 --- a/dev/index.html +++ b/dev/index.html @@ -30,11 +30,11 @@ 开发及贡献 | LiteyukiBot 轻雪机器人 - - + + - + diff --git a/en/deploy/config.html b/en/deploy/config.html index 97f5c5f5..6a06e3a6 100644 --- a/en/deploy/config.html +++ b/en/deploy/config.html @@ -30,8 +30,8 @@ Configuration | LiteyukiBot - - + +
    Skip to main content

    Configuration

    SnowyKamiAbout 2 mindeploymentConfiguration

    轻雪支持yamljsontoml作为配置文件,取决于你个人的喜好

    首次运行后生成config.ymlconfig目录,你可修改配置项后重启轻雪,绝大多数情况下,你只需要修改superusersnickname字段即可

    启动时会加载项目目录下config.yml/yaml/json/tomlconfig目录下的所有配置文件,你可在config目录下创建多个配置文件,轻雪会自动合并这些配置文件

    基础配置项

    nonebot:
    @@ -67,6 +67,6 @@
     
     ...
     

    Tips

    如果要使用NoneBot和dotenv配置文件,请自行创建.env.{ENVIRONMENT},并在config.yml中添加nonebot.environment:{ENVIRONMENT}字段

    与NoneBot对接的OneBot实现端配置

    生产环境中推荐反向WebSocket 不同的实现端给出的字段可能不同,但是基本上都是一样的,这里给出一个参考值

    字段参考值说明
    协议反向WebSocket推荐使用反向ws协议进行通信,即轻雪作为服务端
    地址ws://127.0.0.1:20216/onebot/v11/ws地址取决于配置文件,本机默认为127.0.0.1:20216
    AccessToken""如果你给轻雪配置了AccessToken,请在此填写相同的值

    其他

    • 要使用其他通信方式请访问OneBot Adapteropen in new window获取详细信息
    • 轻雪不局限于OneBot适配器,你可以使用NoneBot2支持的任何适配器
    - + diff --git a/en/deploy/fandq.html b/en/deploy/fandq.html index de6c8eac..a37a9386 100644 --- a/en/deploy/fandq.html +++ b/en/deploy/fandq.html @@ -30,11 +30,11 @@ FAQ | LiteyukiBot - - + +
    Skip to main content

    FAQ

    SnowyKamiAbout 2 mindeploymentFAQ

    常见问题

    • 设备上Python环境太乱了,pip和python不对应怎么办?

      • 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件
    • 为什么我启动后机器人没有反应?

      • 请检查配置文件的command_startsuperusers,确认你有权限使用命令并按照正确的命令发送
      • 确认命令头没有和nickname{}冲突,例如一个命令是help,但是Bot昵称有一个help,那么将会被解析为nickname而不是命令
    • 更新轻雪失败,报错InvalidGitRepositoryError

      • 请正确安装Git,并使用克隆而非直接下载的方式部署轻雪
    • 怎么登录聊天平台,例如QQ?

      • 你有这个问题说明你不是很了解这个项目,本项目不负责实现登录功能,只负责处理和回应消息,登录功能由实现端(协议端)提供, 实现端本身不负责处理响应逻辑,将消息按照OneBot标准处理好上报给轻雪 你需要使用Onebot标准的实现端来连接到轻雪并将消息上报给轻雪,下面已经列出一些推荐的实现端
    • Playwright安装失败

      • 输入playwright install安装浏览器
    • 有的插件安装后报错无法启动

      • 请先查阅插件文档,确认插件必要配置项完好后,仍然出现问题,请联系插件作者或在安全模式safe_mode: true下启动轻雪,在安全模式下你可以使用npm uninstall卸载问题插件
    • 其他问题

      加入QQ群775840726open in new window

    推荐方案(QQ)

    1. Lagrange.OneBotopen in new window,基于NTQQ的OneBot实现,目前Markdown消息支持Lagrange
    2. LLOneBotopen in new window,NTQQ的OneBot插件,需要安装NTQQ
    3. OpenShamrockopen in new window,基于Lsposed的OneBot11实现
    4. TRSS-Yunzaiopen in new window,基于node.js,可使用ws-plugin进行通信
    5. go-cqhttpopen in new windowgo语言实现的OneBot11实现端,目前可用性较低
    6. Gensokyoopen in new window,基于 OneBot QQ官方机器人Api Golang 原生实现,需要官方机器人权限
    7. 人工实现的Onebot协议,自己整一个WebSocket客户端,看着QQ的消息,然后给轻雪传输数据

    推荐方案(Minecraft)

    1. MinecraftOneBotopen in new window,我们专门为Minecraft开发的服务器Bot,支持OneBotV11标准

    使用其他项目连接请先自行查阅文档,若有困难请联系对应开发者而不是Liteyuki的开发者

    鸣谢

    - + diff --git a/en/deploy/index.html b/en/deploy/index.html index f2b0f82a..01f8ed68 100644 --- a/en/deploy/index.html +++ b/en/deploy/index.html @@ -30,11 +30,11 @@ Deploy | LiteyukiBot - - + + - + diff --git a/en/deploy/install.html b/en/deploy/install.html index c4739d36..768e8e46 100644 --- a/en/deploy/install.html +++ b/en/deploy/install.html @@ -30,8 +30,8 @@ Installation | LiteyukiBot - - + +
    Skip to main content

    Installation

    SnowyKamiAbout 1 mindeployment安装

    Installation

    Conventional deployment

    1. Install Gitopen in new window and Python3.10+open in new window environment
    # Clone the project locally, --depth=1 to reduce the size of the cloned repository, this project updates depend on Git
    @@ -43,6 +43,6 @@ pip install # start bot
     python main.py
     

    Tips

    Recommended to use venv to run Liteyuki to avoid dependency conflicts, you can use python -m venv .venv to create a virtual environment, and then use .venv\Scripts\activate to activate the virtual environment (use source .venv/bin/activate to activate on Linux)

    Use docker

    1. Install Dockeropen in new window
    2. Clone project repo git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1
    3. change directory cd LiteyukiBot
    4. build image with docker build -t liteyukibot .
    5. start container docker run -p 20216:20216 -v $(pwd):/liteyukibot -v $(pwd)/.cache:/root/.cache liteyukibot

    Tips

    For Windows, please use the absolute project directory /path/to/LiteyukiBot instead of $(pwd)

    If you have changed the port number, replace 20216 in 20216:20216 with your port number

    Use TRSS Scripts

    TRSS_Liteyuki LiteyukiBot manage scriptopen in new window, This feature is supported by TRSS and is not an official feature of LiteyukiBot. It is recommended to use Arch Linux.

    Device requirements

    • Minimum Windows system version: Windows 10+ / Windows Server 2019+
    • Linux systems need to support Python 3.10+, with Ubuntu 20.04+ recommended
    • CPU: 1 vCPU and more(Bot is multi processes, the more cores, the better the performance)
    • Memory: Without other plugins, the Bot will occupy 300~500MB, including processes like chromium and node. The memory occupied by other plugins depends on the specific plugins, and it is recommended to have more than 1GB.
    • Storage: At least 1GB of space is required.

    Warning

    If there are multiple environments on the device, please use path/to/python -m pip install -r requirements.txt to install dependencies, where path/to/python is the path to your Python executable.

    Warning

    The update feature of Liteyuki depends on Git. If you have not installed Git and directly download the source code to run, you will not be able to use the update feature.

    For other issues, please go to Q&A

    - + diff --git a/en/dev/dev_comm.html b/en/dev/dev_comm.html index 2ed9e923..ac438394 100644 --- a/en/dev/dev_comm.html +++ b/en/dev/dev_comm.html @@ -30,8 +30,8 @@ Communication | LiteyukiBot - - + +
    Skip to main content

    Communication

    SnowyKamiAbout 3 mindevelopment

    通道通信

    简介

    轻雪运行在主进程 MainProcess 里,其他插件框架进程是伴随的子进程,因此无法通过内存共享和直接对象传递的方式进行通信,轻雪提供了一个通道Channel用于跨进程通信,你可以通过Channel发送消息给其他进程,也可以监听其他进程的消息。

    例如子进程接收到用户信息需要重启机器人,这时可以通过通道对主进程发送消息,主进程接收到消息后重启对应子进程。

    示例

    通道是全双工的,有两种接收模式,但一个通道只能使用一种,即被动模式和主动模式,被动模式由chan.on_receive()装饰回调函数实现,主动模式需调用chan.receive()实现

    • 创建子进程的同时会初始化一个被动通道和一个主动通道,且通道标识为{process_name}-active{process_name}-passive
    • 主进程中通过get_channel函数获取通道对象
    • 子进程中导入单例active_channelpassive_channel即可

    在轻雪插件中(主进程中)

    import asyncio
    @@ -81,6 +81,6 @@ driver = get_driver.set("key", "value")  # 设置共享内存
     value = shared_memory.get("key")  # 获取共享内存
     
    - + diff --git a/en/dev/dev_lyfunc.html b/en/dev/dev_lyfunc.html index a7380410..4d10f8d8 100644 --- a/en/dev/dev_lyfunc.html +++ b/en/dev/dev_lyfunc.html @@ -30,8 +30,8 @@ Liteyuki Function | LiteyukiBot - - + +
    Skip to main content

    Liteyuki Function

    SnowyKamiAbout 2 mindevelopment

    轻雪函数

    轻雪函数 Liteyuki Function 是轻雪的一个功能,它允许你在轻雪中运行一些自定义的由数据驱动的命令,类似于Minecraft的mcfunction,属于资源包的一部分,但需单独起篇幅.

    函数文件

    函数文件放在资源包的functions目录下,文件名以.mcfunction .lyfunction .lyf结尾,例如test.mcfunction,文件内容为一系列的命令,每行一个命令,支持单行注释#(编辑时的语法高亮可采取shell格式),例如:

    # 在发信器输出"hello world"
    @@ -58,6 +58,6 @@ api friend_poke user_idnohup function poke
     await
     

    API

    理论上所有基于onebotv11的api都可调用,不同Adapter api也有差别.

    Onebot v11 API文档open in new window

    结束关键字

    由于LiteyukiBot基于异步运行, 所以在编写lyfunction时也要注意异步的调用,避免出现"单线程走到底"的情况是效率提升的关键.

    await 异步任务结束关键字,用于结束当前已完成function的执行

    Warning

    但若出现非单function的情况,有一个task任务没有完成而await被执行了,那么当前所有函数包的task都会被截停销毁

    Tips

    编写轻雪函数推荐你使用VS Code插件Liteyuki Functionopen in new window实现语法高亮

    - + diff --git a/en/dev/dev_lyplugin.html b/en/dev/dev_lyplugin.html index c3af79f3..d45c7f22 100644 --- a/en/dev/dev_lyplugin.html +++ b/en/dev/dev_lyplugin.html @@ -30,8 +30,8 @@ Liteyuki Plugin | LiteyukiBot - - + +
    Skip to main content

    Liteyuki Plugin

    SnowyKamiAbout 2 mindevelopment

    简介

    轻雪插件是轻雪内置的一部分功能,运行在主进程中,可以很高程度地扩展轻雪的功能

    开始

    创建插件

    在标准项目中,位于liteyuki/plugins和src/liteyuki_plugins下的Python modules均会被当作插件加载,你可自行添加配置文件以指定插件的加载路径 一个.py文件或一个包含__init__.py的文件夹即可被识别为插件 创建一个文件夹,例如watchdog_plugin,并在其中创建一个__init__.py文件,即可创建一个插件

    from liteyuki.plugin import PluginMetadata
    @@ -64,6 +64,6 @@ exclude_extensions = .debug(f"File {event.src_path} changed, reloading nonebot...")
         liteyuki.restart_process("nonebot") # 调用重启进程方法
     

    加载插件

    在配置文件中的liteyuki.plugins中添加你的插件路径,例如watchdog_plugin,重启轻雪即可加载插件。然后我们在src/nonebot_plugins下创建一个文件,例如test.py,并在其中写入一些代码,保存后轻雪会自动重载NoneBot进程

    - + diff --git a/en/dev/dev_resource_pack.html b/en/dev/dev_resource_pack.html index 78cf5e04..1a6b4386 100644 --- a/en/dev/dev_resource_pack.html +++ b/en/dev/dev_resource_pack.html @@ -30,8 +30,8 @@ Resource Pack | LiteyukiBot - - + +
    Skip to main content

    Resource Pack

    SnowyKamiAbout 2 mindevelopment

    简介

    资源包,亦可根据用途称为主题包、字体包、语言包等,它允许你一定程度上自定义轻雪的外观,并且不用修改源代码

    • 资源/主题商店提供了一些资源包供你选择,你也可以自己制作资源包
    • 资源包的制作很简单,如果你接触过Minecraft的资源包,那么你能够很快就上手,仅需按照原有路径进行文件替换即可,讲起打包成一个新的资源包。
    • 部分内容制作需要一点点前端基础,例如htmlcss
    • 轻雪原版资源包请查看LiteyukiBot/liteyuki/resources,可以在此基础上进行修改
    • 欢迎各位投稿资源包到轻雪资源商店

    请注意,主题包中的html渲染使用Js来规定数据的渲染位置,请确保您所编写的html代码能被Bot解析,否则会导致渲染失败或渲染结果不理想/异常/错位等无法预料的事情发生。推荐在编写html时同时更改对应Js代码,以避免出现无法预料的问题。


    加载资源包

    • 资源包通常是以.zip格式压缩的,只需要将其解压到根目录resources目录下即可,注意不要嵌套文件夹,正常的路径应该是这样的
    main.py
    @@ -49,6 +49,6 @@ resources
     # 你可以自定义一些信息,但请保证以上三个字段
     ...
     
    • 资源包加载遵循一个优先级,即后加载的资源包会覆盖前面的资源包,例如,你在A包中定义了一个index.html文件,B包也定义了一个index.html文件,那么加载B包后,A包中的index.html文件会被覆盖
    • 对于不同资源包的不同文件,是可以相对引用的,例如你在A中定义了templates/index.html,在B中定义了templates/style.css,可以在A的index.html中用./style.css相对路径引用B中的css

    Tips

    资源包的结构会随着轻雪的更新而有变动,第三方资源包开发者需要注意版本兼容性,同时用户也应该自行选择可用的资源包

    - + diff --git a/en/dev/index.html b/en/dev/index.html index 9af63221..b79e6338 100644 --- a/en/dev/index.html +++ b/en/dev/index.html @@ -30,11 +30,11 @@ Contribute | LiteyukiBot - - + + - + diff --git a/en/index.html b/en/index.html index 1ae8da67..137f6cac 100644 --- a/en/index.html +++ b/en/index.html @@ -30,11 +30,11 @@ Home | LiteyukiBot - - + +
    Skip to main content
    LiteyukiBotLiteyukiBot

    LiteyukiBot

    LiteyukiBot A high-performance, easy-to-use chatbot framework and application

    Get StartedUsage

    Simple and Efficient

    Multi-Framework Support

    Compatible with nonebot, melobot, etc., with good ecological support

    Convenient Management

    Use package manager to manage plugins and resource packs

    Custom Themes Support

    Fully customize the appearance with resource packs

    i18n

    Support multiple languages through resource packs

    Easy to Use

    No need for cumbersome pre-processes, ready to use

    High Performance

    500 plugins, start within 2s

    Rolling Update

    Keep your bot up to date

    OpenSource

    MIT LICENCE open source project, welcome your contribution

    Quick Start

    • Install Git and Python3.10+ environment

    • Use git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1 to clone the project locally

    • Use cd LiteyukiBot to change the directory to the project root

    • Use pip install -r requirements.txt install the project dependencies

      If you have multiple Python environments, please use pythonx -m pip install -r requirements.txt.

    • Start bot with python main.py.

    - + diff --git a/en/store/index.html b/en/store/index.html index 88ff179b..d5e71cda 100644 --- a/en/store/index.html +++ b/en/store/index.html @@ -30,11 +30,11 @@ Extensions Store | LiteyukiBot - - + + - + diff --git a/en/store/plugin.html b/en/store/plugin.html index 15be961b..8991cc2b 100644 --- a/en/store/plugin.html +++ b/en/store/plugin.html @@ -30,11 +30,11 @@ Plugin Store | LiteyukiBot - - + +
    Skip to main content

    Plugin Store

    SnowyKamiLess than 1 minuteextension

    插件商店

    内容来自NoneBot插件商店和轻雪商店,在此仅作引用,具体请访问NoneBot插件商店

    - + diff --git a/en/store/resource.html b/en/store/resource.html index 10087f38..96c352ae 100644 --- a/en/store/resource.html +++ b/en/store/resource.html @@ -30,11 +30,11 @@ Resource Store | LiteyukiBot - - + +
    Skip to main content

    Resource Store

    SnowyKamiLess than 1 minuteextension

    主题/资源商店

    - + diff --git a/en/usage/agreement.html b/en/usage/agreement.html index c89fdc09..4ef90e1d 100644 --- a/en/usage/agreement.html +++ b/en/usage/agreement.html @@ -30,11 +30,11 @@ User Agreement | LiteyukiBot - - + +
    Skip to main content

    User Agreement

    SnowyKamiLess than 1 minuteusage

    1. 本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息
    2. 你可以选择开启auto_report(默认开启),轻雪会收集以下内容
      • 运行环境的设备信息:CPU,内存,系统信息及Python信息
      • 插件信息(不含插件数据)
      • 部分异常信息,
      • 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务器,若你不希望提供这些信息,可以在配置文件中把auto_report设定为false
    3. 本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性
    4. 使用此项目代表你已经同意以上协议
    - + diff --git a/en/usage/basic_command.html b/en/usage/basic_command.html index 3e5fa881..0864fbdf 100644 --- a/en/usage/basic_command.html +++ b/en/usage/basic_command.html @@ -30,11 +30,11 @@ Basic Commands | LiteyukiBot - - + +
    Skip to main content

    Basic Commands

    SnowyKamiAbout 3 minusage

    基础插件


    Tips

    参数<param>为必填参数,[option]为可选参数。

    命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。

    轻雪命令liteyuki_command

    命令说明权限举例可用参数
    reload-liteyuki重载轻雪超级用户
    update-liteyuki更新轻雪超级用户
    liteecho查看当前bot 版本超级用户
    status查看统计信息和状态超级用户
    config set <key> value添加配置项,若存在则会覆盖,输入值会被执行以转换为正确的类型,"10"和10是不一样的超级用户config set name 'liteyuki-bot'<key>: 若存在则覆盖, 若不存在则创建于config.yml ; value: yml格式的所有合法内容
    config get [key] 查询配置项,不带key返回配置项列表,推荐私聊使用超级用户config get name<key>: 若存在则返回, 若不存在则返回空
    switch-image-mode 在普通图片和Markdown大图之间切换,该功能需要commit:505468b及以后的Lagrange.OneBot,默认普通图片超级用户switch-image-mode
    /api api_name [args] 调用机器人API超级用户/api get_group_member_list group_id=1234567<args>: 参数列表, 格式为onebot v11协议api, 可用%20代替空格
    /function function_name [args] [kwargs] 调用机器人函数(.lyfunction语法)超级用户/function send_group_msg group_id=1234567 message='hello'<args><kwargs>: 参数列表, api格式为onebot v11协议api
    group enable/disable [group_id]在群聊启用/停用机器人,group_id仅超级用户可用超级用户,群聊仅群主、管理员、超级用户可用group enable 1145141919810<group_id>: 群号
    liteyuki-docs查看轻雪文档所有人

    命令别名

    命令别名
    status状态
    reload-liteyuki重启轻雪
    update-liteyuki更新轻雪
    reload-resources重载资源
    config配置, set 设置 / get 查询
    switch-image-mode切换图片模式
    liteyuki-docs轻雪文档
    group群聊, enable 启用 / disable 停用

    插件/包管理器 liteyuki_pacman

    • 插件管理
    命令说明权限
    npm update更新插件商店索引超级用户
    npm install <plugin_name>安装插件超级用户
    npm uninstall <plugin_name>卸载插件超级用户
    npm search <keywords...>通过关键词搜索插件超级用户
    npm enable-global/disable-global <plugin_name>全局启用/停用插件超级用户
    npm enable/disable <plugin_name> [--group <group_id>]当前会话启用/停用插件群聊仅群主、管理员、超级用户可用,私聊所有人可用
    npm list [page] [num]列出所有插件 page为页数,num为每页显示数量群聊仅群主、管理员、超级用户可用,私聊所有人可用
    help <plugin_name>查看插件帮助所有人
    • 资源包管理
    命令说明权限
    rpm list [page] [num]列出所有资源包 page为页数,num为每页显示数量超级用户
    rpm load <pack_name>加载资源包超级用户
    rpm unload <pack_name>卸载资源包超级用户
    rpm change <pack_name>修改优先级超级用户
    rpm reload重载所有资源包超级用户

    命令别名

    命令别名
    npm插件管理
    update更新
    install安装
    uninstall卸载
    search搜索
    enable启用
    disable停用
    enable-global全局启用
    disable-global全局停用
    rpm资源包
    load加载
    unload卸载
    change更改
    reload重载
    list列表
    help帮助

    Warning

    受限于NoneBot2钩子函数的依赖注入参数,插件停用只能阻断传入响应,对于主动推送的插件不生效,请阅读插件主页的说明。


    用户管理liteyuki_user

    命令说明权限
    profile查看用户信息菜单所有人
    profile set <key> [value]设置用户信息或打开属性设置菜单所有人
    profile get <key>获取用户信息所有人

    ###命令别名

    命令别名
    profile个人信息
    set设置
    get查询
    - + diff --git a/en/usage/extra_command.html b/en/usage/extra_command.html index 6d11a626..85f17ca4 100644 --- a/en/usage/extra_command.html +++ b/en/usage/extra_command.html @@ -30,8 +30,8 @@ Extra Commands | LiteyukiBot - - + +
    Skip to main content

    Extra Commands

    SnowyKamiLess than 1 minuteusage

    功能插件命令

    轻雪天气liteyuki_weather

    查询实时天气,支持绑定城市,支持中英文城市名,支持多个关键词查询。

    配置项

    weather_key: "" # 和风天气的天气key,会自动判断key版本
    @@ -39,6 +39,6 @@
     

    查询目标地实时天气,例如:"天气 北京 海淀", "weather Tokyo Shinjuku"

    bind-city <keywords...> # Keywords为城市名,支持中英文
     

    绑定查询城市,个人全局生效

    命令别名

    命令别名
    weather天气
    bind-city绑定城市

    统计信息liteyuki_statistics

    统计信息 命令

    statistic message --duration <duration> --period <period> --group [current|group_id] --bot [current|bot_id]
     

    功能: 用于统计Bot接收到的消息, 统计周期为period, 统计时间范围为duration

    参数格式
    duration使用通用日期简写: 1d(天), 1h(小时), 45m(分钟), 14s(秒)
    period使用通用日期简写: 1d(天), 1h(小时), 45m(分钟), 14s(秒)
    groupcurrent (当前群聊) 或 group_id (QQ群号)
    botcurrent (当前Bot) 或 bot_id

    命令别名

    命令别名
    statisticstat
    messagem
    --duration-d
    --period`-p
    --group-g
    --bot-b
    currentc
    - + diff --git a/en/usage/index.html b/en/usage/index.html index 0e3affdf..1e704d52 100644 --- a/en/usage/index.html +++ b/en/usage/index.html @@ -30,11 +30,11 @@ Usage | LiteyukiBot - - + + - + diff --git a/index.html b/index.html index ad61ed01..0cee8f6c 100644 --- a/index.html +++ b/index.html @@ -30,11 +30,11 @@ 首页 | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容
    LiteyukiBotLiteyukiBot

    LiteyukiBot

    LiteyukiBot 轻雪机器人,综合性的机器人应用及管理框架

    快速部署使用手册

    简洁至上

    支持多种框架

    兼容nonebot,melobot等,拥有良好的生态支持

    便捷管理

    使用包管理器,便捷管理插件及资源包

    主题支持

    使用资源包对外观进行完全自定义

    国际化

    通过资源包支持多种语言

    简易使用

    无需繁琐前期过程,开箱即用

    超高性能

    500个插件,2s内启动

    滚动更新

    让你的机器人保持最新提交

    开源项目

    项目遵循MIT LICENCE开源,欢迎各位的贡献

    快速部署

    • 安装 Git 及 Python3.10+

    • 使用 git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1 以克隆项目至本地。

      如果无法连接到GitHub,可以使用 git clone https://gitee.com/snowykami/LiteyukiBot --depth=1

    • 使用 cd LiteyukiBot 切换到项目目录。

    • 使用 pip install -r requirements.txt 安装项目依赖。

      如果你有多个 Python 环境,请使用 pythonx -m pip install -r requirements.txt

    • 使用 python main.py 启动项目。

    - + diff --git a/store/index.html b/store/index.html index e96d99ce..7d91e921 100644 --- a/store/index.html +++ b/store/index.html @@ -30,11 +30,11 @@ 资源及插件商店 | LiteyukiBot 轻雪机器人 - - + + - + diff --git a/store/plugin.html b/store/plugin.html index 247dd536..3ed10fc0 100644 --- a/store/plugin.html +++ b/store/plugin.html @@ -30,11 +30,11 @@ 插件商店 | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    插件商店

    远野千束小于 1 分钟使用手册

    插件商店

    内容来自NoneBot插件商店和轻雪商店,在此仅作引用,具体请访问NoneBot插件商店

    - + diff --git a/store/resource.html b/store/resource.html index 28575b28..2b5b8f4e 100644 --- a/store/resource.html +++ b/store/resource.html @@ -30,11 +30,11 @@ 资源商店 | LiteyukiBot 轻雪机器人 - - + + - + diff --git a/usage/agreement.html b/usage/agreement.html index b89e7566..d054f632 100644 --- a/usage/agreement.html +++ b/usage/agreement.html @@ -30,11 +30,11 @@ 用户协议 | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    用户协议

    远野千束小于 1 分钟使用手册

    1. 本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息
    2. 你可以选择开启auto_report(默认开启),轻雪会收集以下内容
      • 运行环境的设备信息:CPU,内存,系统信息及Python信息
      • 插件信息(不含插件数据)
      • 部分异常信息,
      • 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务器,若你不希望提供这些信息,可以在配置文件中把auto_report设定为false
    3. 本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性
    4. 使用此项目代表你已经同意以上协议
    - + diff --git a/usage/basic_command.html b/usage/basic_command.html index d0c3e19a..26c12351 100644 --- a/usage/basic_command.html +++ b/usage/basic_command.html @@ -30,11 +30,11 @@ 基础命令 | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    基础命令

    远野千束大约 3 分钟使用手册

    基础插件


    提示

    参数<param>为必填参数,[option]为可选参数。

    命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。

    轻雪命令liteyuki_command

    命令说明权限举例可用参数
    reload-liteyuki重载轻雪超级用户
    update-liteyuki更新轻雪超级用户
    liteecho查看当前bot 版本超级用户
    status查看统计信息和状态超级用户
    config set <key> value添加配置项,若存在则会覆盖,输入值会被执行以转换为正确的类型,"10"和10是不一样的超级用户config set name 'liteyuki-bot'<key>: 若存在则覆盖, 若不存在则创建于config.yml ; value: yml格式的所有合法内容
    config get [key] 查询配置项,不带key返回配置项列表,推荐私聊使用超级用户config get name<key>: 若存在则返回, 若不存在则返回空
    switch-image-mode 在普通图片和Markdown大图之间切换,该功能需要commit:505468b及以后的Lagrange.OneBot,默认普通图片超级用户switch-image-mode
    /api api_name [args] 调用机器人API超级用户/api get_group_member_list group_id=1234567<args>: 参数列表, 格式为onebot v11协议api, 可用%20代替空格
    /function function_name [args] [kwargs] 调用机器人函数(.lyfunction语法)超级用户/function send_group_msg group_id=1234567 message='hello'<args><kwargs>: 参数列表, api格式为onebot v11协议api
    group enable/disable [group_id]在群聊启用/停用机器人,group_id仅超级用户可用超级用户,群聊仅群主、管理员、超级用户可用group enable 1145141919810<group_id>: 群号
    liteyuki-docs查看轻雪文档所有人

    命令别名

    命令别名
    status状态
    reload-liteyuki重启轻雪
    update-liteyuki更新轻雪
    reload-resources重载资源
    config配置, set 设置 / get 查询
    switch-image-mode切换图片模式
    liteyuki-docs轻雪文档
    group群聊, enable 启用 / disable 停用

    插件/包管理器 liteyuki_pacman

    • 插件管理
    命令说明权限
    npm update更新插件商店索引超级用户
    npm install <plugin_name>安装插件超级用户
    npm uninstall <plugin_name>卸载插件超级用户
    npm search <keywords...>通过关键词搜索插件超级用户
    npm enable-global/disable-global <plugin_name>全局启用/停用插件超级用户
    npm enable/disable <plugin_name> [--group <group_id>]当前会话启用/停用插件群聊仅群主、管理员、超级用户可用,私聊所有人可用
    npm list [page] [num]列出所有插件 page为页数,num为每页显示数量群聊仅群主、管理员、超级用户可用,私聊所有人可用
    help <plugin_name>查看插件帮助所有人
    • 资源包管理
    命令说明权限
    rpm list [page] [num]列出所有资源包 page为页数,num为每页显示数量超级用户
    rpm load <pack_name>加载资源包超级用户
    rpm unload <pack_name>卸载资源包超级用户
    rpm change <pack_name>修改优先级超级用户
    rpm reload重载所有资源包超级用户

    命令别名

    命令别名
    npm插件管理
    update更新
    install安装
    uninstall卸载
    search搜索
    enable启用
    disable停用
    enable-global全局启用
    disable-global全局停用
    rpm资源包
    load加载
    unload卸载
    change更改
    reload重载
    list列表
    help帮助

    注意

    受限于NoneBot2钩子函数的依赖注入参数,插件停用只能阻断传入响应,对于主动推送的插件不生效,请阅读插件主页的说明。


    用户管理liteyuki_user

    命令说明权限
    profile查看用户信息菜单所有人
    profile set <key> [value]设置用户信息或打开属性设置菜单所有人
    profile get <key>获取用户信息所有人

    ###命令别名

    命令别名
    profile个人信息
    set设置
    get查询
    - + diff --git a/usage/extra_command.html b/usage/extra_command.html index 9ed3252f..d6ea0941 100644 --- a/usage/extra_command.html +++ b/usage/extra_command.html @@ -30,8 +30,8 @@ 功能命令 | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    功能命令

    远野千束小于 1 分钟使用手册

    功能插件命令

    轻雪天气liteyuki_weather

    查询实时天气,支持绑定城市,支持中英文城市名,支持多个关键词查询。

    配置项

    weather_key: "" # 和风天气的天气key,会自动判断key版本
    @@ -39,6 +39,6 @@
     

    查询目标地实时天气,例如:"天气 北京 海淀", "weather Tokyo Shinjuku"

    bind-city <keywords...> # Keywords为城市名,支持中英文
     

    绑定查询城市,个人全局生效

    命令别名

    命令别名
    weather天气
    bind-city绑定城市

    统计信息liteyuki_statistics

    统计信息 命令

    statistic message --duration <duration> --period <period> --group [current|group_id] --bot [current|bot_id]
     

    功能: 用于统计Bot接收到的消息, 统计周期为period, 统计时间范围为duration

    参数格式
    duration使用通用日期简写: 1d(天), 1h(小时), 45m(分钟), 14s(秒)
    period使用通用日期简写: 1d(天), 1h(小时), 45m(分钟), 14s(秒)
    groupcurrent (当前群聊) 或 group_id (QQ群号)
    botcurrent (当前Bot) 或 bot_id

    命令别名

    命令别名
    statisticstat
    messagem
    --duration-d
    --period`-p
    --group-g
    --bot-b
    currentc
    - + diff --git a/usage/index.html b/usage/index.html index 99356eff..45d2ba14 100644 --- a/usage/index.html +++ b/usage/index.html @@ -30,11 +30,11 @@ 使用手册 | LiteyukiBot 轻雪机器人 - - + + - +