From b6be0e6608c2ba6e1be80fb6af5f73351ed36fc0 Mon Sep 17 00:00:00 2001 From: snowykami Date: Tue, 23 Jul 2024 18:37:46 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20Liteyuki?= =?UTF-8?q?Studio/LiteyukiBot@c137f2f916fe3840a623ed5d8dd0dd1092c4c05a=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 +++--- assets/{404.html-_ukgX0cT.js => 404.html-BiJdt6U0.js} | 2 +- ...greement.html-CBPSkfeF.js => agreement.html-JPAatXqt.js} | 2 +- assets/{app-DyBg2AMf.js => app-tipHsUUe.js} | 4 ++-- ...mand.html-B1R7FCH6.js => basic_command.html-DeqEvqvj.js} | 2 +- ...ak.html-DAPGSyq2.js => childrensdaybak.html-BEUTGGDa.js} | 2 +- assets/{config.html-DoO8tJKQ.js => config.html-ELkZIUrA.js} | 2 +- ...mand.html-CepT3st1.js => extra_command.html-BF1cb8-p.js} | 2 +- assets/{fandq.html-C1cVbktr.js => fandq.html-XhYAhw3A.js} | 2 +- ...{foolsday.html-Ce3vIswz.js => foolsday.html-D35n-64a.js} | 2 +- assets/{index.html-D-3iUaR0.js => index.html-BA4dlCFL.js} | 2 +- assets/{index.html-BdPDNp4h.js => index.html-D8iTrrF5.js} | 2 +- assets/{index.html-DR4wnnZI.js => index.html-DgWfZ0ve.js} | 2 +- assets/{index.html-CrqGzqMH.js => index.html-nkSAG1B8.js} | 2 +- .../{install.html-rwPStACj.js => install.html-DSndZhD-.js} | 2 +- assets/{lyapi.html-CSuTu9HR.js => lyapi.html-EXQNyB_q.js} | 2 +- assets/{lyfunc.html-DgQtPF8B.js => lyfunc.html-DVo_dKnZ.js} | 2 +- assets/{plugin.html-BjAe4YMQ.js => plugin.html-BDeSKIIx.js} | 2 +- ...{resource.html-DTRpyxeM.js => resource.html-5_m2WW1F.js} | 2 +- ...pack.html-BdpW_QRR.js => resource_pack.html-DdnlQLuK.js} | 2 +- childrensdaybak.html | 6 +++--- deployment/config.html | 6 +++--- deployment/fandq.html | 6 +++--- deployment/index.html | 6 +++--- deployment/install.html | 6 +++--- foolsday.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 +++--- usage/lyapi.html | 6 +++--- usage/lyfunc.html | 6 +++--- usage/resource_pack.html | 6 +++--- 37 files changed, 74 insertions(+), 74 deletions(-) rename assets/{404.html-_ukgX0cT.js => 404.html-BiJdt6U0.js} (93%) rename assets/{agreement.html-CBPSkfeF.js => agreement.html-JPAatXqt.js} (98%) rename assets/{app-DyBg2AMf.js => app-tipHsUUe.js} (99%) rename assets/{basic_command.html-B1R7FCH6.js => basic_command.html-DeqEvqvj.js} (99%) rename assets/{childrensdaybak.html-DAPGSyq2.js => childrensdaybak.html-BEUTGGDa.js} (98%) rename assets/{config.html-DoO8tJKQ.js => config.html-ELkZIUrA.js} (99%) rename assets/{extra_command.html-CepT3st1.js => extra_command.html-BF1cb8-p.js} (99%) rename assets/{fandq.html-C1cVbktr.js => fandq.html-XhYAhw3A.js} (99%) rename assets/{foolsday.html-Ce3vIswz.js => foolsday.html-D35n-64a.js} (98%) rename assets/{index.html-D-3iUaR0.js => index.html-BA4dlCFL.js} (95%) rename assets/{index.html-BdPDNp4h.js => index.html-D8iTrrF5.js} (95%) rename assets/{index.html-DR4wnnZI.js => index.html-DgWfZ0ve.js} (95%) rename assets/{index.html-CrqGzqMH.js => index.html-nkSAG1B8.js} (98%) rename assets/{install.html-rwPStACj.js => install.html-DSndZhD-.js} (99%) rename assets/{lyapi.html-CSuTu9HR.js => lyapi.html-EXQNyB_q.js} (98%) rename assets/{lyfunc.html-DgQtPF8B.js => lyfunc.html-DVo_dKnZ.js} (99%) rename assets/{plugin.html-BjAe4YMQ.js => plugin.html-BDeSKIIx.js} (95%) rename assets/{resource.html-DTRpyxeM.js => resource.html-5_m2WW1F.js} (95%) rename assets/{resource_pack.html-BdpW_QRR.js => resource_pack.html-DdnlQLuK.js} (99%) diff --git a/404.html b/404.html index ce6d72a9..74933de4 100644 --- a/404.html +++ b/404.html @@ -30,11 +30,11 @@ LiteyukiBot 轻雪机器人 - - + +
跳至主要內容

404

页面不存在

这里什么也没有

- + diff --git a/assets/404.html-_ukgX0cT.js b/assets/404.html-BiJdt6U0.js similarity index 93% rename from assets/404.html-_ukgX0cT.js rename to assets/404.html-BiJdt6U0.js index 6a524957..31936b83 100644 --- a/assets/404.html-_ukgX0cT.js +++ b/assets/404.html-BiJdt6U0.js @@ -1 +1 @@ -import{_ as t,o as e,c as o,b as n}from"./app-DyBg2AMf.js";const r={},a=n("p",null,"404 Not Found",-1),c=[a];function p(s,i){return e(),o("div",null,c)}const m=t(r,[["render",p],["__file","404.html.vue"]]),d=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"}],["meta",{"property":"article:author","content":"远野千束"}],["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{m as comp,d as data}; +import{_ as t,o as e,c as o,b as n}from"./app-tipHsUUe.js";const r={},a=n("p",null,"404 Not Found",-1),c=[a];function p(s,i){return e(),o("div",null,c)}const m=t(r,[["render",p],["__file","404.html.vue"]]),d=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"}],["meta",{"property":"article:author","content":"远野千束"}],["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{m as comp,d as data}; diff --git a/assets/agreement.html-CBPSkfeF.js b/assets/agreement.html-JPAatXqt.js similarity index 98% rename from assets/agreement.html-CBPSkfeF.js rename to assets/agreement.html-JPAatXqt.js index d4acbb81..f3aaa146 100644 --- a/assets/agreement.html-CBPSkfeF.js +++ b/assets/agreement.html-JPAatXqt.js @@ -1 +1 @@ -import{_ as e,o as t,c as o,e as a}from"./app-DyBg2AMf.js";const r={},i=a("
  1. 本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息
  2. 你可以选择开启auto_report(默认开启),轻雪会收集以下内容
    • 运行环境的设备信息:CPU,内存,系统信息及Python信息
    • 插件信息(不含插件数据)
    • 部分异常信息,
    • 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务器,若你不希望提供这些信息,可以在配置文件中把auto_report设定为false
  3. 本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性
  4. 使用此项目代表你已经同意以上协议
",1),n=[i];function c(l,m){return t(),o("div",null,n)}const s=e(r,[["render",c],["__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":[["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:updated_time","content":"2024-07-20T16:40:55.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["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\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://sfkm.me\\"}]}"]]},"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-tipHsUUe.js";const r={},i=a("
  1. 本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息
  2. 你可以选择开启auto_report(默认开启),轻雪会收集以下内容
    • 运行环境的设备信息:CPU,内存,系统信息及Python信息
    • 插件信息(不含插件数据)
    • 部分异常信息,
    • 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务器,若你不希望提供这些信息,可以在配置文件中把auto_report设定为false
  3. 本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性
  4. 使用此项目代表你已经同意以上协议
",1),n=[i];function c(l,m){return t(),o("div",null,n)}const s=e(r,[["render",c],["__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":[["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:updated_time","content":"2024-07-20T16:40:55.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["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\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://sfkm.me\\"}]}"]]},"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/app-DyBg2AMf.js b/assets/app-tipHsUUe.js similarity index 99% rename from assets/app-DyBg2AMf.js rename to assets/app-tipHsUUe.js index 4d0389cf..db729ee9 100644 --- a/assets/app-DyBg2AMf.js +++ b/assets/app-tipHsUUe.js @@ -20,14 +20,14 @@ function __vite__mapDeps(indexes) { * @vue/runtime-dom v3.4.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const qk="http://www.w3.org/2000/svg",Gk="http://www.w3.org/1998/Math/MathML",Gl=typeof document<"u"?document:null,Xg=Gl&&Gl.createElement("template"),Yk={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const l=t==="svg"?Gl.createElementNS(qk,e):t==="mathml"?Gl.createElementNS(Gk,e):Gl.createElement(e,n?{is:n}:void 0);return e==="select"&&o&&o.multiple!=null&&l.setAttribute("multiple",o.multiple),l},createText:e=>Gl.createTextNode(e),createComment:e=>Gl.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Gl.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,l,a){const r=n?n.previousSibling:t.lastChild;if(l&&(l===a||l.nextSibling))for(;t.insertBefore(l.cloneNode(!0),n),!(l===a||!(l=l.nextSibling)););else{Xg.innerHTML=o==="svg"?`${e}`:o==="mathml"?`${e}`:e;const s=Xg.content;if(o==="svg"||o==="mathml"){const i=s.firstChild;for(;i.firstChild;)s.appendChild(i.firstChild);s.removeChild(i)}t.insertBefore(s,n)}return[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Dl="transition",Ls="animation",es=Symbol("_vtc"),Kt=(e,{slots:t})=>P(lk,U2(e),t);Kt.displayName="Transition";const W2={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},Xk=Kt.props=dn({},S2,W2),Sa=(e,t=[])=>{Re(e)?e.forEach(n=>n(...t)):e&&e(...t)},Zg=e=>e?Re(e)?e.some(t=>t.length>1):e.length>1:!1;function U2(e){const t={};for(const D in e)D in W2||(t[D]=e[D]);if(e.css===!1)return t;const{name:n="v",type:o,duration:l,enterFromClass:a=`${n}-enter-from`,enterActiveClass:r=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:i=a,appearActiveClass:c=r,appearToClass:f=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,m=Zk(l),v=m&&m[0],y=m&&m[1],{onBeforeEnter:g,onEnter:w,onEnterCancelled:b,onLeave:C,onLeaveCancelled:_,onBeforeAppear:k=g,onAppear:$=w,onAppearCancelled:T=b}=t,R=(D,W,j)=>{Hl(D,W?f:s),Hl(D,W?c:r),j&&j()},I=(D,W)=>{D._isLeaving=!1,Hl(D,d),Hl(D,h),Hl(D,p),W&&W()},x=D=>(W,j)=>{const H=D?$:w,L=()=>R(W,D,j);Sa(H,[W,L]),Jg(()=>{Hl(W,D?i:a),fl(W,D?f:s),Zg(H)||Qg(W,o,v,L)})};return dn(t,{onBeforeEnter(D){Sa(g,[D]),fl(D,a),fl(D,r)},onBeforeAppear(D){Sa(k,[D]),fl(D,i),fl(D,c)},onEnter:x(!1),onAppear:x(!0),onLeave(D,W){D._isLeaving=!0;const j=()=>I(D,W);fl(D,d),G2(),fl(D,p),Jg(()=>{D._isLeaving&&(Hl(D,d),fl(D,h),Zg(C)||Qg(D,o,y,j))}),Sa(C,[D,j])},onEnterCancelled(D){R(D,!1),Sa(b,[D])},onAppearCancelled(D){R(D,!0),Sa(T,[D])},onLeaveCancelled(D){I(D),Sa(_,[D])}})}function Zk(e){if(e==null)return null;if(rt(e))return[Of(e.enter),Of(e.leave)];{const t=Of(e);return[t,t]}}function Of(e){return s5(e)}function fl(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[es]||(e[es]=new Set)).add(t)}function Hl(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[es];n&&(n.delete(t),n.size||(e[es]=void 0))}function Jg(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Jk=0;function Qg(e,t,n,o){const l=e._endId=++Jk,a=()=>{l===e._endId&&o()};if(n)return setTimeout(a,n);const{type:r,timeout:s,propCount:i}=q2(e,t);if(!r)return o();const c=r+"end";let f=0;const d=()=>{e.removeEventListener(c,p),a()},p=h=>{h.target===e&&++f>=i&&d()};setTimeout(()=>{f(n[m]||"").split(", "),l=o(`${Dl}Delay`),a=o(`${Dl}Duration`),r=e0(l,a),s=o(`${Ls}Delay`),i=o(`${Ls}Duration`),c=e0(s,i);let f=null,d=0,p=0;t===Dl?r>0&&(f=Dl,d=r,p=a.length):t===Ls?c>0&&(f=Ls,d=c,p=i.length):(d=Math.max(r,c),f=d>0?r>c?Dl:Ls:null,p=f?f===Dl?a.length:i.length:0);const h=f===Dl&&/\b(transform|all)(,|$)/.test(o(`${Dl}Property`).toString());return{type:f,timeout:d,propCount:p,hasTransform:h}}function e0(e,t){for(;e.lengtht0(n)+t0(e[o])))}function t0(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function G2(){return document.body.offsetHeight}function Qk(e,t,n){const o=e[es];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Xc=Symbol("_vod"),Y2=Symbol("_vsh"),St={beforeMount(e,{value:t},{transition:n}){e[Xc]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Ds(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Ds(e,!0),o.enter(e)):o.leave(e,()=>{Ds(e,!1)}):Ds(e,t))},beforeUnmount(e,{value:t}){Ds(e,t)}};function Ds(e,t){e.style.display=t?e[Xc]:"none",e[Y2]=!t}const e_=Symbol(""),t_=/(^|;)\s*display\s*:/;function n_(e,t,n){const o=e.style,l=Qe(n);let a=!1;if(n&&!l){if(t)if(Qe(t))for(const r of t.split(";")){const s=r.slice(0,r.indexOf(":")).trim();n[s]==null&&hc(o,s,"")}else for(const r in t)n[r]==null&&hc(o,r,"");for(const r in n)r==="display"&&(a=!0),hc(o,r,n[r])}else if(l){if(t!==n){const r=o[e_];r&&(n+=";"+r),o.cssText=n,a=t_.test(n)}}else t&&e.removeAttribute("style");Xc in e&&(e[Xc]=a?o.display:"",e[Y2]&&(o.display="none"))}const n0=/\s*!important$/;function hc(e,t,n){if(Re(n))n.forEach(o=>hc(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=o_(e,t);n0.test(n)?e.setProperty(va(o),n.replace(n0,""),"important"):e[o]=n}}const o0=["Webkit","Moz","ms"],If={};function o_(e,t){const n=If[t];if(n)return n;let o=eo(t);if(o!=="filter"&&o in e)return If[t]=o;o=Ss(o);for(let l=0;lxf||(u_.then(()=>xf=0),xf=Date.now());function d_(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;yo(f_(o,n.value),t,5,[o])};return n.value=e,n.attached=c_(),n}function f_(e,t){if(Re(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>l=>!l._stopped&&o&&o(l))}else return t}const s0=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,p_=(e,t,n,o,l,a,r,s,i)=>{const c=l==="svg";t==="class"?Qk(e,o,c):t==="style"?n_(e,n,o):Xi(t)?oh(t)||s_(e,t,n,o,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):v_(e,t,o,c))?a_(e,t,o,a,r,s,i):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),l_(e,t,o,c))};function v_(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&s0(t)&&Ye(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 l=e.tagName;if(l==="IMG"||l==="VIDEO"||l==="CANVAS"||l==="SOURCE")return!1}return s0(t)&&Qe(n)?!1:t in e}const X2=new WeakMap,Z2=new WeakMap,Zc=Symbol("_moveCb"),i0=Symbol("_enterCb"),J2={name:"TransitionGroup",props:dn({},Xk,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=nt(),o=C2();let l,a;return Il(()=>{if(!l.length)return;const r=e.moveClass||`${e.name||"v"}-move`;if(!b_(l[0].el,n.vnode.el,r))return;l.forEach(m_),l.forEach(g_);const s=l.filter(y_);G2(),s.forEach(i=>{const c=i.el,f=c.style;fl(c,r),f.transform=f.webkitTransform=f.transitionDuration="";const d=c[Zc]=p=>{p&&p.target!==c||(!p||/transform$/.test(p.propertyName))&&(c.removeEventListener("transitionend",d),c[Zc]=null,Hl(c,r))};c.addEventListener("transitionend",d)})}),()=>{const r=Tt(e),s=U2(r);let i=r.tag||ze;l=a,a=t.default?Ch(t.default()):[];for(let c=0;cdelete e.mode;J2.props;const $h=J2;function m_(e){const t=e.el;t[Zc]&&t[Zc](),t[i0]&&t[i0]()}function g_(e){Z2.set(e,e.el.getBoundingClientRect())}function y_(e){const t=X2.get(e),n=Z2.get(e),o=t.left-n.left,l=t.top-n.top;if(o||l){const a=e.el.style;return a.transform=a.webkitTransform=`translate(${o}px,${l}px)`,a.transitionDuration="0s",e}}function b_(e,t,n){const o=e.cloneNode(),l=e[es];l&&l.forEach(s=>{s.split(/\s+/).forEach(i=>i&&o.classList.remove(i))}),n.split(/\s+/).forEach(s=>s&&o.classList.add(s)),o.style.display="none";const a=t.nodeType===1?t:t.parentNode;a.appendChild(o);const{hasTransform:r}=q2(o);return a.removeChild(o),r}const ts=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Re(t)?n=>pc(t,n):t};function w_(e){e.target.composing=!0}function u0(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const wl=Symbol("_assign"),nu={created(e,{modifiers:{lazy:t,trim:n,number:o}},l){e[wl]=ts(l);const a=o||l.props&&l.props.type==="number";Xl(e,t?"change":"input",r=>{if(r.target.composing)return;let s=e.value;n&&(s=s.trim()),a&&(s=Cp(s)),e[wl](s)}),n&&Xl(e,"change",()=>{e.value=e.value.trim()}),t||(Xl(e,"compositionstart",w_),Xl(e,"compositionend",u0),Xl(e,"change",u0))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:l}},a){if(e[wl]=ts(a),e.composing)return;const r=l||e.type==="number"?Cp(e.value):e.value,s=t??"";r!==s&&(document.activeElement===e&&e.type!=="range"&&(n||o&&e.value.trim()===s)||(e.value=s))}},Jc={deep:!0,created(e,t,n){e[wl]=ts(n),Xl(e,"change",()=>{const o=e._modelValue,l=ew(e),a=e.checked,r=e[wl];if(Re(o)){const s=Gb(o,l),i=s!==-1;if(a&&!i)r(o.concat(l));else if(!a&&i){const c=[...o];c.splice(s,1),r(c)}}else if(wd(o)){const s=new Set(o);a?s.add(l):s.delete(l),r(s)}else r(tw(e,a))})},mounted:c0,beforeUpdate(e,t,n){e[wl]=ts(n),c0(e,t,n)}};function c0(e,{value:t,oldValue:n},o){e._modelValue=t,Re(t)?e.checked=Gb(t,o.props.value)>-1:wd(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=Zr(t,tw(e,!0)))}const Q2={created(e,{value:t},n){e.checked=Zr(t,n.props.value),e[wl]=ts(n),Xl(e,"change",()=>{e[wl](ew(e))})},beforeUpdate(e,{value:t,oldValue:n},o){e[wl]=ts(o),t!==n&&(e.checked=Zr(t,o.props.value))}};function ew(e){return"_value"in e?e._value:e.value}function tw(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const C_=["ctrl","shift","alt","meta"],S_={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>C_.some(n=>e[`${n}Key`]&&!t.includes(n))},Ze=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(l,...a)=>{for(let r=0;r{const n=e._withKeys||(e._withKeys={}),o=t.join(".");return n[o]||(n[o]=l=>{if(!("key"in l))return;const a=va(l.key);if(t.some(r=>r===a||k_[r]===a))return e(l)})},nw=dn({patchProp:p_},Yk);let oi,d0=!1;function ow(){return oi||(oi=Ik(nw))}function __(){return oi=d0?oi:xk(nw),d0=!0,oi}const sa=(...e)=>{ow().render(...e)},E_=(...e)=>{const t=ow().createApp(...e),{mount:n}=t;return t.mount=o=>{const l=aw(o);if(!l)return;const a=t._component;!Ye(a)&&!a.render&&!a.template&&(a.template=l.innerHTML),l.innerHTML="";const r=n(l,!1,lw(l));return l instanceof Element&&(l.removeAttribute("v-cloak"),l.setAttribute("data-v-app","")),r},t},$_=(...e)=>{const t=__().createApp(...e),{mount:n}=t;return t.mount=o=>{const l=aw(o);if(l)return n(l,!0,lw(l))},t};function lw(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function aw(e){return Qe(e)?document.querySelector(e):e}var T_=["link","meta","script","style","noscript","template"],O_=["title","base"],I_=([e,t,n])=>O_.includes(e)?e:T_.includes(e)?e==="meta"&&t.name?`${e}.${t.name}`:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,Object.entries(t).map(([o,l])=>typeof l=="boolean"?l?[o,""]:null:[o,l]).filter(o=>o!=null).sort(([o],[l])=>o.localeCompare(l)),n]):null,x_=e=>{const t=new Set,n=[];return e.forEach(o=>{const l=I_(o);l&&!t.has(l)&&(t.add(l),n.push(o))}),n},M_=e=>e[0]==="/"?e:`/${e}`,rw=e=>e[e.length-1]==="/"||e.endsWith(".html")?e:`${e}/`,sr=e=>/^(https?:)?\/\//.test(e),N_=/.md((\?|#).*)?$/,ns=(e,t="/")=>!!(sr(e)||e.startsWith("/")&&!e.startsWith(t)&&!N_.test(e)),sw=e=>/^[a-z][a-z0-9+.-]*:/.test(e),_s=e=>Object.prototype.toString.call(e)==="[object Object]",A_=e=>{const[t,...n]=e.split(/(\?|#)/);if(!t||t.endsWith("/"))return e;let o=t.replace(/(^|\/)README.md$/i,"$1index.html");return o.endsWith(".md")?o=o.substring(0,o.length-3)+".html":o.endsWith(".html")||(o=o+".html"),o.endsWith("/index.html")&&(o=o.substring(0,o.length-10)),o+n.join("")},Th=e=>e[e.length-1]==="/"?e.slice(0,-1):e,iw=e=>e[0]==="/"?e.slice(1):e,P_=(e,t)=>{const n=Object.keys(e).sort((o,l)=>{const a=l.split("/").length-o.split("/").length;return a!==0?a:l.length-o.length});for(const o of n)if(t.startsWith(o))return o;return"/"},rn=e=>typeof e=="string";const R_="modulepreload",L_=function(e){return"/"+e},f0={},cn=function(t,n,o){let l=Promise.resolve();if(n&&n.length>0){const a=document.getElementsByTagName("link"),r=document.querySelector("meta[property=csp-nonce]"),s=(r==null?void 0:r.nonce)||(r==null?void 0:r.getAttribute("nonce"));l=Promise.all(n.map(i=>{if(i=L_(i),i in f0)return;f0[i]=!0;const c=i.endsWith(".css"),f=c?'[rel="stylesheet"]':"";if(!!o)for(let h=a.length-1;h>=0;h--){const m=a[h];if(m.href===i&&(!c||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${f}`))return;const p=document.createElement("link");if(p.rel=c?"stylesheet":R_,c||(p.as="script",p.crossOrigin=""),p.href=i,s&&p.setAttribute("nonce",s),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 ${i}`)))})}))}return l.then(()=>t()).catch(a=>{const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=a,window.dispatchEvent(r),!r.defaultPrevented)throw a})},D_=JSON.parse("{}"),B_=Object.fromEntries([["/",{loader:()=>cn(()=>import("./index.html-CrqGzqMH.js"),__vite__mapDeps([])),meta:{t:"首页",i:"home"}}],["/childrensdaybak.html",{loader:()=>cn(()=>import("./childrensdaybak.html-DAPGSyq2.js"),__vite__mapDeps([])),meta:{t:"首页",i:"home"}}],["/foolsday.html",{loader:()=>cn(()=>import("./foolsday.html-Ce3vIswz.js"),__vite__mapDeps([])),meta:{t:"首页",i:"home"}}],["/deployment/",{loader:()=>cn(()=>import("./index.html-BdPDNp4h.js"),__vite__mapDeps([])),meta:{t:"项目部署",i:"laptop-code"}}],["/deployment/config.html",{loader:()=>cn(()=>import("./config.html-DoO8tJKQ.js"),__vite__mapDeps([])),meta:{t:"配置",i:"cog",O:2}}],["/deployment/fandq.html",{loader:()=>cn(()=>import("./fandq.html-C1cVbktr.js"),__vite__mapDeps([])),meta:{t:"答疑",i:"question",O:3}}],["/deployment/install.html",{loader:()=>cn(()=>import("./install.html-rwPStACj.js"),__vite__mapDeps([])),meta:{t:"安装",i:"download",O:1}}],["/store/",{loader:()=>cn(()=>import("./index.html-D-3iUaR0.js"),__vite__mapDeps([])),meta:{t:"资源商店",i:"store"}}],["/store/plugin.html",{loader:()=>cn(()=>import("./plugin.html-BjAe4YMQ.js"),__vite__mapDeps([])),meta:{t:"插件商店",i:"plug",O:2}}],["/store/resource.html",{loader:()=>cn(()=>import("./resource.html-DTRpyxeM.js"),__vite__mapDeps([])),meta:{t:"资源商店",i:"box",O:1}}],["/usage/",{loader:()=>cn(()=>import("./index.html-DR4wnnZI.js"),__vite__mapDeps([])),meta:{t:"使用手册",i:"laptop-code"}}],["/usage/agreement.html",{loader:()=>cn(()=>import("./agreement.html-CBPSkfeF.js"),__vite__mapDeps([])),meta:{t:"用户协议",i:"user-secret",O:3}}],["/usage/basic_command.html",{loader:()=>cn(()=>import("./basic_command.html-B1R7FCH6.js"),__vite__mapDeps([])),meta:{t:"基础命令",i:"comment",O:1}}],["/usage/extra_command.html",{loader:()=>cn(()=>import("./extra_command.html-CepT3st1.js"),__vite__mapDeps([])),meta:{t:"功能命令",i:"comment",O:2}}],["/usage/lyapi.html",{loader:()=>cn(()=>import("./lyapi.html-CSuTu9HR.js"),__vite__mapDeps([])),meta:{t:"轻雪API",i:"code",O:5}}],["/usage/lyfunc.html",{loader:()=>cn(()=>import("./lyfunc.html-DgQtPF8B.js"),__vite__mapDeps([])),meta:{t:"轻雪函数",i:"code",O:4}}],["/usage/resource_pack.html",{loader:()=>cn(()=>import("./resource_pack.html-BdpW_QRR.js"),__vite__mapDeps([])),meta:{t:"资源包",i:"paint-brush",O:3}}],["/404.html",{loader:()=>cn(()=>import("./404.html-_ukgX0cT.js"),__vite__mapDeps([])),meta:{t:""}}]]);/*! +**/const qk="http://www.w3.org/2000/svg",Gk="http://www.w3.org/1998/Math/MathML",Gl=typeof document<"u"?document:null,Xg=Gl&&Gl.createElement("template"),Yk={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const l=t==="svg"?Gl.createElementNS(qk,e):t==="mathml"?Gl.createElementNS(Gk,e):Gl.createElement(e,n?{is:n}:void 0);return e==="select"&&o&&o.multiple!=null&&l.setAttribute("multiple",o.multiple),l},createText:e=>Gl.createTextNode(e),createComment:e=>Gl.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Gl.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,l,a){const r=n?n.previousSibling:t.lastChild;if(l&&(l===a||l.nextSibling))for(;t.insertBefore(l.cloneNode(!0),n),!(l===a||!(l=l.nextSibling)););else{Xg.innerHTML=o==="svg"?`${e}`:o==="mathml"?`${e}`:e;const s=Xg.content;if(o==="svg"||o==="mathml"){const i=s.firstChild;for(;i.firstChild;)s.appendChild(i.firstChild);s.removeChild(i)}t.insertBefore(s,n)}return[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Dl="transition",Ls="animation",es=Symbol("_vtc"),Kt=(e,{slots:t})=>P(lk,U2(e),t);Kt.displayName="Transition";const W2={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},Xk=Kt.props=dn({},S2,W2),Sa=(e,t=[])=>{Re(e)?e.forEach(n=>n(...t)):e&&e(...t)},Zg=e=>e?Re(e)?e.some(t=>t.length>1):e.length>1:!1;function U2(e){const t={};for(const D in e)D in W2||(t[D]=e[D]);if(e.css===!1)return t;const{name:n="v",type:o,duration:l,enterFromClass:a=`${n}-enter-from`,enterActiveClass:r=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:i=a,appearActiveClass:c=r,appearToClass:f=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,m=Zk(l),v=m&&m[0],y=m&&m[1],{onBeforeEnter:g,onEnter:w,onEnterCancelled:b,onLeave:C,onLeaveCancelled:_,onBeforeAppear:k=g,onAppear:$=w,onAppearCancelled:T=b}=t,R=(D,W,j)=>{Hl(D,W?f:s),Hl(D,W?c:r),j&&j()},I=(D,W)=>{D._isLeaving=!1,Hl(D,d),Hl(D,h),Hl(D,p),W&&W()},x=D=>(W,j)=>{const H=D?$:w,L=()=>R(W,D,j);Sa(H,[W,L]),Jg(()=>{Hl(W,D?i:a),fl(W,D?f:s),Zg(H)||Qg(W,o,v,L)})};return dn(t,{onBeforeEnter(D){Sa(g,[D]),fl(D,a),fl(D,r)},onBeforeAppear(D){Sa(k,[D]),fl(D,i),fl(D,c)},onEnter:x(!1),onAppear:x(!0),onLeave(D,W){D._isLeaving=!0;const j=()=>I(D,W);fl(D,d),G2(),fl(D,p),Jg(()=>{D._isLeaving&&(Hl(D,d),fl(D,h),Zg(C)||Qg(D,o,y,j))}),Sa(C,[D,j])},onEnterCancelled(D){R(D,!1),Sa(b,[D])},onAppearCancelled(D){R(D,!0),Sa(T,[D])},onLeaveCancelled(D){I(D),Sa(_,[D])}})}function Zk(e){if(e==null)return null;if(rt(e))return[Of(e.enter),Of(e.leave)];{const t=Of(e);return[t,t]}}function Of(e){return s5(e)}function fl(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[es]||(e[es]=new Set)).add(t)}function Hl(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[es];n&&(n.delete(t),n.size||(e[es]=void 0))}function Jg(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Jk=0;function Qg(e,t,n,o){const l=e._endId=++Jk,a=()=>{l===e._endId&&o()};if(n)return setTimeout(a,n);const{type:r,timeout:s,propCount:i}=q2(e,t);if(!r)return o();const c=r+"end";let f=0;const d=()=>{e.removeEventListener(c,p),a()},p=h=>{h.target===e&&++f>=i&&d()};setTimeout(()=>{f(n[m]||"").split(", "),l=o(`${Dl}Delay`),a=o(`${Dl}Duration`),r=e0(l,a),s=o(`${Ls}Delay`),i=o(`${Ls}Duration`),c=e0(s,i);let f=null,d=0,p=0;t===Dl?r>0&&(f=Dl,d=r,p=a.length):t===Ls?c>0&&(f=Ls,d=c,p=i.length):(d=Math.max(r,c),f=d>0?r>c?Dl:Ls:null,p=f?f===Dl?a.length:i.length:0);const h=f===Dl&&/\b(transform|all)(,|$)/.test(o(`${Dl}Property`).toString());return{type:f,timeout:d,propCount:p,hasTransform:h}}function e0(e,t){for(;e.lengtht0(n)+t0(e[o])))}function t0(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function G2(){return document.body.offsetHeight}function Qk(e,t,n){const o=e[es];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Xc=Symbol("_vod"),Y2=Symbol("_vsh"),St={beforeMount(e,{value:t},{transition:n}){e[Xc]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Ds(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Ds(e,!0),o.enter(e)):o.leave(e,()=>{Ds(e,!1)}):Ds(e,t))},beforeUnmount(e,{value:t}){Ds(e,t)}};function Ds(e,t){e.style.display=t?e[Xc]:"none",e[Y2]=!t}const e_=Symbol(""),t_=/(^|;)\s*display\s*:/;function n_(e,t,n){const o=e.style,l=Qe(n);let a=!1;if(n&&!l){if(t)if(Qe(t))for(const r of t.split(";")){const s=r.slice(0,r.indexOf(":")).trim();n[s]==null&&hc(o,s,"")}else for(const r in t)n[r]==null&&hc(o,r,"");for(const r in n)r==="display"&&(a=!0),hc(o,r,n[r])}else if(l){if(t!==n){const r=o[e_];r&&(n+=";"+r),o.cssText=n,a=t_.test(n)}}else t&&e.removeAttribute("style");Xc in e&&(e[Xc]=a?o.display:"",e[Y2]&&(o.display="none"))}const n0=/\s*!important$/;function hc(e,t,n){if(Re(n))n.forEach(o=>hc(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=o_(e,t);n0.test(n)?e.setProperty(va(o),n.replace(n0,""),"important"):e[o]=n}}const o0=["Webkit","Moz","ms"],If={};function o_(e,t){const n=If[t];if(n)return n;let o=eo(t);if(o!=="filter"&&o in e)return If[t]=o;o=Ss(o);for(let l=0;lxf||(u_.then(()=>xf=0),xf=Date.now());function d_(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;yo(f_(o,n.value),t,5,[o])};return n.value=e,n.attached=c_(),n}function f_(e,t){if(Re(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>l=>!l._stopped&&o&&o(l))}else return t}const s0=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,p_=(e,t,n,o,l,a,r,s,i)=>{const c=l==="svg";t==="class"?Qk(e,o,c):t==="style"?n_(e,n,o):Xi(t)?oh(t)||s_(e,t,n,o,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):v_(e,t,o,c))?a_(e,t,o,a,r,s,i):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),l_(e,t,o,c))};function v_(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&s0(t)&&Ye(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 l=e.tagName;if(l==="IMG"||l==="VIDEO"||l==="CANVAS"||l==="SOURCE")return!1}return s0(t)&&Qe(n)?!1:t in e}const X2=new WeakMap,Z2=new WeakMap,Zc=Symbol("_moveCb"),i0=Symbol("_enterCb"),J2={name:"TransitionGroup",props:dn({},Xk,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=nt(),o=C2();let l,a;return Il(()=>{if(!l.length)return;const r=e.moveClass||`${e.name||"v"}-move`;if(!b_(l[0].el,n.vnode.el,r))return;l.forEach(m_),l.forEach(g_);const s=l.filter(y_);G2(),s.forEach(i=>{const c=i.el,f=c.style;fl(c,r),f.transform=f.webkitTransform=f.transitionDuration="";const d=c[Zc]=p=>{p&&p.target!==c||(!p||/transform$/.test(p.propertyName))&&(c.removeEventListener("transitionend",d),c[Zc]=null,Hl(c,r))};c.addEventListener("transitionend",d)})}),()=>{const r=Tt(e),s=U2(r);let i=r.tag||ze;l=a,a=t.default?Ch(t.default()):[];for(let c=0;cdelete e.mode;J2.props;const $h=J2;function m_(e){const t=e.el;t[Zc]&&t[Zc](),t[i0]&&t[i0]()}function g_(e){Z2.set(e,e.el.getBoundingClientRect())}function y_(e){const t=X2.get(e),n=Z2.get(e),o=t.left-n.left,l=t.top-n.top;if(o||l){const a=e.el.style;return a.transform=a.webkitTransform=`translate(${o}px,${l}px)`,a.transitionDuration="0s",e}}function b_(e,t,n){const o=e.cloneNode(),l=e[es];l&&l.forEach(s=>{s.split(/\s+/).forEach(i=>i&&o.classList.remove(i))}),n.split(/\s+/).forEach(s=>s&&o.classList.add(s)),o.style.display="none";const a=t.nodeType===1?t:t.parentNode;a.appendChild(o);const{hasTransform:r}=q2(o);return a.removeChild(o),r}const ts=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Re(t)?n=>pc(t,n):t};function w_(e){e.target.composing=!0}function u0(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const wl=Symbol("_assign"),nu={created(e,{modifiers:{lazy:t,trim:n,number:o}},l){e[wl]=ts(l);const a=o||l.props&&l.props.type==="number";Xl(e,t?"change":"input",r=>{if(r.target.composing)return;let s=e.value;n&&(s=s.trim()),a&&(s=Cp(s)),e[wl](s)}),n&&Xl(e,"change",()=>{e.value=e.value.trim()}),t||(Xl(e,"compositionstart",w_),Xl(e,"compositionend",u0),Xl(e,"change",u0))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:l}},a){if(e[wl]=ts(a),e.composing)return;const r=l||e.type==="number"?Cp(e.value):e.value,s=t??"";r!==s&&(document.activeElement===e&&e.type!=="range"&&(n||o&&e.value.trim()===s)||(e.value=s))}},Jc={deep:!0,created(e,t,n){e[wl]=ts(n),Xl(e,"change",()=>{const o=e._modelValue,l=ew(e),a=e.checked,r=e[wl];if(Re(o)){const s=Gb(o,l),i=s!==-1;if(a&&!i)r(o.concat(l));else if(!a&&i){const c=[...o];c.splice(s,1),r(c)}}else if(wd(o)){const s=new Set(o);a?s.add(l):s.delete(l),r(s)}else r(tw(e,a))})},mounted:c0,beforeUpdate(e,t,n){e[wl]=ts(n),c0(e,t,n)}};function c0(e,{value:t,oldValue:n},o){e._modelValue=t,Re(t)?e.checked=Gb(t,o.props.value)>-1:wd(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=Zr(t,tw(e,!0)))}const Q2={created(e,{value:t},n){e.checked=Zr(t,n.props.value),e[wl]=ts(n),Xl(e,"change",()=>{e[wl](ew(e))})},beforeUpdate(e,{value:t,oldValue:n},o){e[wl]=ts(o),t!==n&&(e.checked=Zr(t,o.props.value))}};function ew(e){return"_value"in e?e._value:e.value}function tw(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const C_=["ctrl","shift","alt","meta"],S_={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>C_.some(n=>e[`${n}Key`]&&!t.includes(n))},Ze=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(l,...a)=>{for(let r=0;r{const n=e._withKeys||(e._withKeys={}),o=t.join(".");return n[o]||(n[o]=l=>{if(!("key"in l))return;const a=va(l.key);if(t.some(r=>r===a||k_[r]===a))return e(l)})},nw=dn({patchProp:p_},Yk);let oi,d0=!1;function ow(){return oi||(oi=Ik(nw))}function __(){return oi=d0?oi:xk(nw),d0=!0,oi}const sa=(...e)=>{ow().render(...e)},E_=(...e)=>{const t=ow().createApp(...e),{mount:n}=t;return t.mount=o=>{const l=aw(o);if(!l)return;const a=t._component;!Ye(a)&&!a.render&&!a.template&&(a.template=l.innerHTML),l.innerHTML="";const r=n(l,!1,lw(l));return l instanceof Element&&(l.removeAttribute("v-cloak"),l.setAttribute("data-v-app","")),r},t},$_=(...e)=>{const t=__().createApp(...e),{mount:n}=t;return t.mount=o=>{const l=aw(o);if(l)return n(l,!0,lw(l))},t};function lw(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function aw(e){return Qe(e)?document.querySelector(e):e}var T_=["link","meta","script","style","noscript","template"],O_=["title","base"],I_=([e,t,n])=>O_.includes(e)?e:T_.includes(e)?e==="meta"&&t.name?`${e}.${t.name}`:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,Object.entries(t).map(([o,l])=>typeof l=="boolean"?l?[o,""]:null:[o,l]).filter(o=>o!=null).sort(([o],[l])=>o.localeCompare(l)),n]):null,x_=e=>{const t=new Set,n=[];return e.forEach(o=>{const l=I_(o);l&&!t.has(l)&&(t.add(l),n.push(o))}),n},M_=e=>e[0]==="/"?e:`/${e}`,rw=e=>e[e.length-1]==="/"||e.endsWith(".html")?e:`${e}/`,sr=e=>/^(https?:)?\/\//.test(e),N_=/.md((\?|#).*)?$/,ns=(e,t="/")=>!!(sr(e)||e.startsWith("/")&&!e.startsWith(t)&&!N_.test(e)),sw=e=>/^[a-z][a-z0-9+.-]*:/.test(e),_s=e=>Object.prototype.toString.call(e)==="[object Object]",A_=e=>{const[t,...n]=e.split(/(\?|#)/);if(!t||t.endsWith("/"))return e;let o=t.replace(/(^|\/)README.md$/i,"$1index.html");return o.endsWith(".md")?o=o.substring(0,o.length-3)+".html":o.endsWith(".html")||(o=o+".html"),o.endsWith("/index.html")&&(o=o.substring(0,o.length-10)),o+n.join("")},Th=e=>e[e.length-1]==="/"?e.slice(0,-1):e,iw=e=>e[0]==="/"?e.slice(1):e,P_=(e,t)=>{const n=Object.keys(e).sort((o,l)=>{const a=l.split("/").length-o.split("/").length;return a!==0?a:l.length-o.length});for(const o of n)if(t.startsWith(o))return o;return"/"},rn=e=>typeof e=="string";const R_="modulepreload",L_=function(e){return"/"+e},f0={},cn=function(t,n,o){let l=Promise.resolve();if(n&&n.length>0){const a=document.getElementsByTagName("link"),r=document.querySelector("meta[property=csp-nonce]"),s=(r==null?void 0:r.nonce)||(r==null?void 0:r.getAttribute("nonce"));l=Promise.all(n.map(i=>{if(i=L_(i),i in f0)return;f0[i]=!0;const c=i.endsWith(".css"),f=c?'[rel="stylesheet"]':"";if(!!o)for(let h=a.length-1;h>=0;h--){const m=a[h];if(m.href===i&&(!c||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${f}`))return;const p=document.createElement("link");if(p.rel=c?"stylesheet":R_,c||(p.as="script",p.crossOrigin=""),p.href=i,s&&p.setAttribute("nonce",s),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 ${i}`)))})}))}return l.then(()=>t()).catch(a=>{const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=a,window.dispatchEvent(r),!r.defaultPrevented)throw a})},D_=JSON.parse("{}"),B_=Object.fromEntries([["/",{loader:()=>cn(()=>import("./index.html-nkSAG1B8.js"),__vite__mapDeps([])),meta:{t:"首页",i:"home"}}],["/childrensdaybak.html",{loader:()=>cn(()=>import("./childrensdaybak.html-BEUTGGDa.js"),__vite__mapDeps([])),meta:{t:"首页",i:"home"}}],["/foolsday.html",{loader:()=>cn(()=>import("./foolsday.html-D35n-64a.js"),__vite__mapDeps([])),meta:{t:"首页",i:"home"}}],["/deployment/",{loader:()=>cn(()=>import("./index.html-D8iTrrF5.js"),__vite__mapDeps([])),meta:{t:"项目部署",i:"laptop-code"}}],["/deployment/config.html",{loader:()=>cn(()=>import("./config.html-ELkZIUrA.js"),__vite__mapDeps([])),meta:{t:"配置",i:"cog",O:2}}],["/deployment/fandq.html",{loader:()=>cn(()=>import("./fandq.html-XhYAhw3A.js"),__vite__mapDeps([])),meta:{t:"答疑",i:"question",O:3}}],["/deployment/install.html",{loader:()=>cn(()=>import("./install.html-DSndZhD-.js"),__vite__mapDeps([])),meta:{t:"安装",i:"download",O:1}}],["/store/",{loader:()=>cn(()=>import("./index.html-BA4dlCFL.js"),__vite__mapDeps([])),meta:{t:"资源商店",i:"store"}}],["/store/plugin.html",{loader:()=>cn(()=>import("./plugin.html-BDeSKIIx.js"),__vite__mapDeps([])),meta:{t:"插件商店",i:"plug",O:2}}],["/store/resource.html",{loader:()=>cn(()=>import("./resource.html-5_m2WW1F.js"),__vite__mapDeps([])),meta:{t:"资源商店",i:"box",O:1}}],["/usage/",{loader:()=>cn(()=>import("./index.html-DgWfZ0ve.js"),__vite__mapDeps([])),meta:{t:"使用手册",i:"laptop-code"}}],["/usage/agreement.html",{loader:()=>cn(()=>import("./agreement.html-JPAatXqt.js"),__vite__mapDeps([])),meta:{t:"用户协议",i:"user-secret",O:3}}],["/usage/basic_command.html",{loader:()=>cn(()=>import("./basic_command.html-DeqEvqvj.js"),__vite__mapDeps([])),meta:{t:"基础命令",i:"comment",O:1}}],["/usage/extra_command.html",{loader:()=>cn(()=>import("./extra_command.html-BF1cb8-p.js"),__vite__mapDeps([])),meta:{t:"功能命令",i:"comment",O:2}}],["/usage/lyapi.html",{loader:()=>cn(()=>import("./lyapi.html-EXQNyB_q.js"),__vite__mapDeps([])),meta:{t:"轻雪API",i:"code",O:5}}],["/usage/lyfunc.html",{loader:()=>cn(()=>import("./lyfunc.html-DVo_dKnZ.js"),__vite__mapDeps([])),meta:{t:"轻雪函数",i:"code",O:4}}],["/usage/resource_pack.html",{loader:()=>cn(()=>import("./resource_pack.html-DdnlQLuK.js"),__vite__mapDeps([])),meta:{t:"资源包",i:"paint-brush",O:3}}],["/404.html",{loader:()=>cn(()=>import("./404.html-BiJdt6U0.js"),__vite__mapDeps([])),meta:{t:""}}]]);/*! * vue-router v4.4.0 * (c) 2024 Eduardo San Martin Morote * @license MIT */const Er=typeof document<"u";function F_(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Bt=Object.assign;function Mf(e,t){const n={};for(const o in t){const l=t[o];n[o]=Do(l)?l.map(e):e(l)}return n}const li=()=>{},Do=Array.isArray,uw=/#/g,V_=/&/g,H_=/\//g,z_=/=/g,K_=/\?/g,cw=/\+/g,j_=/%5B/g,W_=/%5D/g,dw=/%5E/g,U_=/%60/g,fw=/%7B/g,q_=/%7C/g,pw=/%7D/g,G_=/%20/g;function Oh(e){return encodeURI(""+e).replace(q_,"|").replace(j_,"[").replace(W_,"]")}function Y_(e){return Oh(e).replace(fw,"{").replace(pw,"}").replace(dw,"^")}function Np(e){return Oh(e).replace(cw,"%2B").replace(G_,"+").replace(uw,"%23").replace(V_,"%26").replace(U_,"`").replace(fw,"{").replace(pw,"}").replace(dw,"^")}function X_(e){return Np(e).replace(z_,"%3D")}function Z_(e){return Oh(e).replace(uw,"%23").replace(K_,"%3F")}function J_(e){return e==null?"":Z_(e).replace(H_,"%2F")}function Si(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Q_=/\/$/,eE=e=>e.replace(Q_,"");function Nf(e,t,n="/"){let o,l={},a="",r="";const s=t.indexOf("#");let i=t.indexOf("?");return s=0&&(i=-1),i>-1&&(o=t.slice(0,i),a=t.slice(i+1,s>-1?s:t.length),l=e(a)),s>-1&&(o=o||t.slice(0,s),r=t.slice(s,t.length)),o=lE(o??t,n),{fullPath:o+(a&&"?")+a+r,path:o,query:l,hash:Si(r)}}function tE(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function p0(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function nE(e,t,n){const o=t.matched.length-1,l=n.matched.length-1;return o>-1&&o===l&&os(t.matched[o],n.matched[l])&&vw(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function os(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function vw(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!oE(e[n],t[n]))return!1;return!0}function oE(e,t){return Do(e)?v0(e,t):Do(t)?v0(t,e):e===t}function v0(e,t){return Do(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function lE(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),l=o[o.length-1];(l===".."||l===".")&&o.push("");let a=n.length-1,r,s;for(r=0;r1&&a--;else break;return n.slice(0,a).join("/")+"/"+o.slice(r).join("/")}const pl={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var ki;(function(e){e.pop="pop",e.push="push"})(ki||(ki={}));var ai;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ai||(ai={}));function aE(e){if(!e)if(Er){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),eE(e)}const rE=/^[^#]+#/;function sE(e,t){return e.replace(rE,"#")+t}function iE(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const Pd=()=>({left:window.scrollX,top:window.scrollY});function uE(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),l=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!l)return;t=iE(l,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 h0(e,t){return(history.state?history.state.position-t:-1)+e}const Ap=new Map;function cE(e,t){Ap.set(e,t)}function dE(e){const t=Ap.get(e);return Ap.delete(e),t}let fE=()=>location.protocol+"//"+location.host;function hw(e,t){const{pathname:n,search:o,hash:l}=t,a=e.indexOf("#");if(a>-1){let s=l.includes(e.slice(a))?e.slice(a).length:1,i=l.slice(s);return i[0]!=="/"&&(i="/"+i),p0(i,"")}return p0(n,e)+o+l}function pE(e,t,n,o){let l=[],a=[],r=null;const s=({state:p})=>{const h=hw(e,location),m=n.value,v=t.value;let y=0;if(p){if(n.value=h,t.value=p,r&&r===m){r=null;return}y=v?p.position-v.position:0}else o(h);l.forEach(g=>{g(n.value,m,{delta:y,type:ki.pop,direction:y?y>0?ai.forward:ai.back:ai.unknown})})};function i(){r=n.value}function c(p){l.push(p);const h=()=>{const m=l.indexOf(p);m>-1&&l.splice(m,1)};return a.push(h),h}function f(){const{history:p}=window;p.state&&p.replaceState(Bt({},p.state,{scroll:Pd()}),"")}function d(){for(const p of a)p();a=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",f,{passive:!0}),{pauseListeners:i,listen:c,destroy:d}}function m0(e,t,n,o=!1,l=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:l?Pd():null}}function vE(e){const{history:t,location:n}=window,o={value:hw(e,n)},l={value:t.state};l.value||a(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(i,c,f){const d=e.indexOf("#"),p=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+i:fE()+e+i;try{t[f?"replaceState":"pushState"](c,"",p),l.value=c}catch(h){console.error(h),n[f?"replace":"assign"](p)}}function r(i,c){const f=Bt({},t.state,m0(l.value.back,i,l.value.forward,!0),c,{position:l.value.position});a(i,f,!0),o.value=i}function s(i,c){const f=Bt({},l.value,t.state,{forward:i,scroll:Pd()});a(f.current,f,!0);const d=Bt({},m0(o.value,i,null),{position:f.position+1},c);a(i,d,!1),o.value=i}return{location:o,state:l,push:s,replace:r}}function hE(e){e=aE(e);const t=vE(e),n=pE(e,t.state,t.location,t.replace);function o(a,r=!0){r||n.pauseListeners(),history.go(a)}const l=Bt({location:"",base:e,go:o,createHref:sE.bind(null,e)},t,n);return Object.defineProperty(l,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(l,"state",{enumerable:!0,get:()=>t.state.value}),l}function mE(e){return typeof e=="string"||e&&typeof e=="object"}function mw(e){return typeof e=="string"||typeof e=="symbol"}const gw=Symbol("");var g0;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(g0||(g0={}));function ls(e,t){return Bt(new Error,{type:e,[gw]:!0},t)}function cl(e,t){return e instanceof Error&&gw in e&&(t==null||!!(e.type&t))}const y0="[^/]+?",gE={sensitive:!1,strict:!1,start:!0,end:!0},yE=/[.+*?^${}()[\]/\\]/g;function bE(e,t){const n=Bt({},gE,t),o=[];let l=n.start?"^":"";const a=[];for(const c of e){const f=c.length?[]:[90];n.strict&&!c.length&&(l+="/");for(let d=0;dt.length?t.length===1&&t[0]===80?1:-1:0}function yw(e,t){let n=0;const o=e.score,l=t.score;for(;n0&&t[t.length-1]<0}const CE={type:0,value:""},SE=/[a-zA-Z0-9_]/;function kE(e){if(!e)return[[]];if(e==="/")return[[CE]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,o=n;const l=[];let a;function r(){a&&l.push(a),a=[]}let s=0,i,c="",f="";function d(){c&&(n===0?a.push({type:0,value:c}):n===1||n===2||n===3?(a.length>1&&(i==="*"||i==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:c,regexp:f,repeatable:i==="*"||i==="+",optional:i==="*"||i==="?"})):t("Invalid state to consume buffer"),c="")}function p(){c+=i}for(;s{r(b)}:li}function r(d){if(mw(d)){const p=o.get(d);p&&(o.delete(d),n.splice(n.indexOf(p),1),p.children.forEach(r),p.alias.forEach(r))}else{const p=n.indexOf(d);p>-1&&(n.splice(p,1),d.record.name&&o.delete(d.record.name),d.children.forEach(r),d.alias.forEach(r))}}function s(){return n}function i(d){const p=IE(d,n);n.splice(p,0,d),d.record.name&&!C0(d)&&o.set(d.record.name,d)}function c(d,p){let h,m={},v,y;if("name"in d&&d.name){if(h=o.get(d.name),!h)throw ls(1,{location:d});y=h.record.name,m=Bt(w0(p.params,h.keys.filter(b=>!b.optional).concat(h.parent?h.parent.keys.filter(b=>b.optional):[]).map(b=>b.name)),d.params&&w0(d.params,h.keys.map(b=>b.name))),v=h.stringify(m)}else if(d.path!=null)v=d.path,h=n.find(b=>b.re.test(v)),h&&(m=h.parse(v),y=h.record.name);else{if(h=p.name?o.get(p.name):n.find(b=>b.re.test(p.path)),!h)throw ls(1,{location:d,currentLocation:p});y=h.record.name,m=Bt({},p.params,d.params),v=h.stringify(m)}const g=[];let w=h;for(;w;)g.unshift(w.record),w=w.parent;return{name:y,path:v,params:m,matched:g,meta:OE(g)}}e.forEach(d=>a(d));function f(){n.length=0,o.clear()}return{addRoute:a,resolve:c,removeRoute:r,clearRoutes:f,getRoutes:s,getRecordMatcher:l}}function w0(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function $E(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:TE(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 TE(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]=typeof n=="object"?n[o]:n;return t}function C0(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function OE(e){return e.reduce((t,n)=>Bt(t,n.meta),{})}function S0(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function IE(e,t){let n=0,o=t.length;for(;n!==o;){const a=n+o>>1;yw(e,t[a])<0?o=a:n=a+1}const l=xE(e);return l&&(o=t.lastIndexOf(l,o-1)),o}function xE(e){let t=e;for(;t=t.parent;)if(bw(t)&&yw(e,t)===0)return t}function bw({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function ME(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let l=0;la&&Np(a)):[o&&Np(o)]).forEach(a=>{a!==void 0&&(t+=(t.length?"&":"")+n,a!=null&&(t+="="+a))})}return t}function NE(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=Do(o)?o.map(l=>l==null?null:""+l):o==null?o:""+o)}return t}const AE=Symbol(""),_0=Symbol(""),Rd=Symbol(""),Ih=Symbol(""),Pp=Symbol("");function Bs(){let e=[];function t(o){return e.push(o),()=>{const l=e.indexOf(o);l>-1&&e.splice(l,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Yl(e,t,n,o,l,a=r=>r()){const r=o&&(o.enterCallbacks[l]=o.enterCallbacks[l]||[]);return()=>new Promise((s,i)=>{const c=p=>{p===!1?i(ls(4,{from:n,to:t})):p instanceof Error?i(p):mE(p)?i(ls(2,{from:t,to:p})):(r&&o.enterCallbacks[l]===r&&typeof p=="function"&&r.push(p),s())},f=a(()=>e.call(o&&o.instances[l],t,n,c));let d=Promise.resolve(f);e.length<3&&(d=d.then(c)),d.catch(p=>i(p))})}function Af(e,t,n,o,l=a=>a()){const a=[];for(const r of e)for(const s in r.components){let i=r.components[s];if(!(t!=="beforeRouteEnter"&&!r.instances[s]))if(PE(i)){const f=(i.__vccOpts||i)[t];f&&a.push(Yl(f,n,o,r,s,l))}else{let c=i();a.push(()=>c.then(f=>{if(!f)return Promise.reject(new Error(`Couldn't resolve component "${s}" at "${r.path}"`));const d=F_(f)?f.default:f;r.components[s]=d;const h=(d.__vccOpts||d)[t];return h&&Yl(h,n,o,r,s,l)()}))}}return a}function PE(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function E0(e){const t=Pe(Rd),n=Pe(Ih),o=S(()=>{const i=u(e.to);return t.resolve(i)}),l=S(()=>{const{matched:i}=o.value,{length:c}=i,f=i[c-1],d=n.matched;if(!f||!d.length)return-1;const p=d.findIndex(os.bind(null,f));if(p>-1)return p;const h=$0(i[c-2]);return c>1&&$0(f)===h&&d[d.length-1].path!==h?d.findIndex(os.bind(null,i[c-2])):p}),a=S(()=>l.value>-1&&BE(n.params,o.value.params)),r=S(()=>l.value>-1&&l.value===n.matched.length-1&&vw(n.params,o.value.params));function s(i={}){return DE(i)?t[u(e.replace)?"replace":"push"](u(e.to)).catch(li):Promise.resolve()}return{route:o,href:S(()=>o.value.href),isActive:a,isExactActive:r,navigate:s}}const RE=z({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:E0,setup(e,{slots:t}){const n=kt(E0(e)),{options:o}=Pe(Rd),l=S(()=>({[T0(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[T0(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const a=t.default&&t.default(n);return e.custom?a:P("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:l.value},a)}}}),LE=RE;function DE(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 BE(e,t){for(const n in t){const o=t[n],l=e[n];if(typeof o=="string"){if(o!==l)return!1}else if(!Do(l)||l.length!==o.length||o.some((a,r)=>a!==l[r]))return!1}return!0}function $0(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const T0=(e,t,n)=>e??t??n,FE=z({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Pe(Pp),l=S(()=>e.route||o.value),a=Pe(_0,0),r=S(()=>{let c=u(a);const{matched:f}=l.value;let d;for(;(d=f[c])&&!d.components;)c++;return c}),s=S(()=>l.value.matched[r.value]);ct(_0,S(()=>r.value+1)),ct(AE,s),ct(Pp,l);const i=M();return fe(()=>[i.value,s.value,e.name],([c,f,d],[p,h,m])=>{f&&(f.instances[d]=c,h&&h!==f&&c&&c===p&&(f.leaveGuards.size||(f.leaveGuards=h.leaveGuards),f.updateGuards.size||(f.updateGuards=h.updateGuards))),c&&f&&(!h||!os(f,h)||!p)&&(f.enterCallbacks[d]||[]).forEach(v=>v(c))},{flush:"post"}),()=>{const c=l.value,f=e.name,d=s.value,p=d&&d.components[f];if(!p)return O0(n.default,{Component:p,route:c});const h=d.props[f],m=h?h===!0?c.params:typeof h=="function"?h(c):h:null,y=P(p,Bt({},m,t,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(d.instances[f]=null)},ref:i}));return O0(n.default,{Component:y,route:c})||y}}});function O0(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const VE=FE;function HE(e){const t=EE(e.routes,e),n=e.parseQuery||ME,o=e.stringifyQuery||k0,l=e.history,a=Bs(),r=Bs(),s=Bs(),i=wt(pl);let c=pl;Er&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=Mf.bind(null,U=>""+U),d=Mf.bind(null,J_),p=Mf.bind(null,Si);function h(U,Q){let de,ae;return mw(U)?(de=t.getRecordMatcher(U),ae=Q):ae=U,t.addRoute(ae,de)}function m(U){const Q=t.getRecordMatcher(U);Q&&t.removeRoute(Q)}function v(){return t.getRoutes().map(U=>U.record)}function y(U){return!!t.getRecordMatcher(U)}function g(U,Q){if(Q=Bt({},Q||i.value),typeof U=="string"){const ee=Nf(n,U,Q.path),ve=t.resolve({path:ee.path},Q),ke=l.createHref(ee.fullPath);return Bt(ee,ve,{params:p(ve.params),hash:Si(ee.hash),redirectedFrom:void 0,href:ke})}let de;if(U.path!=null)de=Bt({},U,{path:Nf(n,U.path,Q.path).path});else{const ee=Bt({},U.params);for(const ve in ee)ee[ve]==null&&delete ee[ve];de=Bt({},U,{params:d(ee)}),Q.params=d(Q.params)}const ae=t.resolve(de,Q),he=U.hash||"";ae.params=f(p(ae.params));const _e=tE(o,Bt({},U,{hash:Y_(he),path:ae.path})),G=l.createHref(_e);return Bt({fullPath:_e,hash:he,query:o===k0?NE(U.query):U.query||{}},ae,{redirectedFrom:void 0,href:G})}function w(U){return typeof U=="string"?Nf(n,U,i.value.path):Bt({},U)}function b(U,Q){if(c!==U)return ls(8,{from:Q,to:U})}function C(U){return $(U)}function _(U){return C(Bt(w(U),{replace:!0}))}function k(U){const Q=U.matched[U.matched.length-1];if(Q&&Q.redirect){const{redirect:de}=Q;let ae=typeof de=="function"?de(U):de;return typeof ae=="string"&&(ae=ae.includes("?")||ae.includes("#")?ae=w(ae):{path:ae},ae.params={}),Bt({query:U.query,hash:U.hash,params:ae.path!=null?{}:U.params},ae)}}function $(U,Q){const de=c=g(U),ae=i.value,he=U.state,_e=U.force,G=U.replace===!0,ee=k(de);if(ee)return $(Bt(w(ee),{state:typeof ee=="object"?Bt({},he,ee.state):he,force:_e,replace:G}),Q||de);const ve=de;ve.redirectedFrom=Q;let ke;return!_e&&nE(o,ae,de)&&(ke=ls(16,{to:ve,from:ae}),Y(ae,ae,!0,!1)),(ke?Promise.resolve(ke):I(ve,ae)).catch(pe=>cl(pe)?cl(pe,2)?pe:F(pe):B(pe,ve,ae)).then(pe=>{if(pe){if(cl(pe,2))return $(Bt({replace:G},w(pe.to),{state:typeof pe.to=="object"?Bt({},he,pe.to.state):he,force:_e}),Q||ve)}else pe=D(ve,ae,!0,G,he);return x(ve,ae,pe),pe})}function T(U,Q){const de=b(U,Q);return de?Promise.reject(de):Promise.resolve()}function R(U){const Q=oe.values().next().value;return Q&&typeof Q.runWithContext=="function"?Q.runWithContext(U):U()}function I(U,Q){let de;const[ae,he,_e]=zE(U,Q);de=Af(ae.reverse(),"beforeRouteLeave",U,Q);for(const ee of ae)ee.leaveGuards.forEach(ve=>{de.push(Yl(ve,U,Q))});const G=T.bind(null,U,Q);return de.push(G),J(de).then(()=>{de=[];for(const ee of a.list())de.push(Yl(ee,U,Q));return de.push(G),J(de)}).then(()=>{de=Af(he,"beforeRouteUpdate",U,Q);for(const ee of he)ee.updateGuards.forEach(ve=>{de.push(Yl(ve,U,Q))});return de.push(G),J(de)}).then(()=>{de=[];for(const ee of _e)if(ee.beforeEnter)if(Do(ee.beforeEnter))for(const ve of ee.beforeEnter)de.push(Yl(ve,U,Q));else de.push(Yl(ee.beforeEnter,U,Q));return de.push(G),J(de)}).then(()=>(U.matched.forEach(ee=>ee.enterCallbacks={}),de=Af(_e,"beforeRouteEnter",U,Q,R),de.push(G),J(de))).then(()=>{de=[];for(const ee of r.list())de.push(Yl(ee,U,Q));return de.push(G),J(de)}).catch(ee=>cl(ee,8)?ee:Promise.reject(ee))}function x(U,Q,de){s.list().forEach(ae=>R(()=>ae(U,Q,de)))}function D(U,Q,de,ae,he){const _e=b(U,Q);if(_e)return _e;const G=Q===pl,ee=Er?history.state:{};de&&(ae||G?l.replace(U.fullPath,Bt({scroll:G&&ee&&ee.scroll},he)):l.push(U.fullPath,he)),i.value=U,Y(U,Q,de,G),F()}let W;function j(){W||(W=l.listen((U,Q,de)=>{if(!ce.listening)return;const ae=g(U),he=k(ae);if(he){$(Bt(he,{replace:!0}),ae).catch(li);return}c=ae;const _e=i.value;Er&&cE(h0(_e.fullPath,de.delta),Pd()),I(ae,_e).catch(G=>cl(G,12)?G:cl(G,2)?($(G.to,ae).then(ee=>{cl(ee,20)&&!de.delta&&de.type===ki.pop&&l.go(-1,!1)}).catch(li),Promise.reject()):(de.delta&&l.go(-de.delta,!1),B(G,ae,_e))).then(G=>{G=G||D(ae,_e,!1),G&&(de.delta&&!cl(G,8)?l.go(-de.delta,!1):de.type===ki.pop&&cl(G,20)&&l.go(-1,!1)),x(ae,_e,G)}).catch(li)}))}let H=Bs(),L=Bs(),N;function B(U,Q,de){F(U);const ae=L.list();return ae.length?ae.forEach(he=>he(U,Q,de)):console.error(U),Promise.reject(U)}function A(){return N&&i.value!==pl?Promise.resolve():new Promise((U,Q)=>{H.add([U,Q])})}function F(U){return N||(N=!U,j(),H.list().forEach(([Q,de])=>U?de(U):Q()),H.reset()),U}function Y(U,Q,de,ae){const{scrollBehavior:he}=e;if(!Er||!he)return Promise.resolve();const _e=!de&&dE(h0(U.fullPath,0))||(ae||!de)&&history.state&&history.state.scroll||null;return Ke().then(()=>he(U,Q,_e)).then(G=>G&&uE(G)).catch(G=>B(G,U,Q))}const q=U=>l.go(U);let Z;const oe=new Set,ce={currentRoute:i,listening:!0,addRoute:h,removeRoute:m,clearRoutes:t.clearRoutes,hasRoute:y,getRoutes:v,resolve:g,options:e,push:C,replace:_,go:q,back:()=>q(-1),forward:()=>q(1),beforeEach:a.add,beforeResolve:r.add,afterEach:s.add,onError:L.add,isReady:A,install(U){const Q=this;U.component("RouterLink",LE),U.component("RouterView",VE),U.config.globalProperties.$router=Q,Object.defineProperty(U.config.globalProperties,"$route",{enumerable:!0,get:()=>u(i)}),Er&&!Z&&i.value===pl&&(Z=!0,C(l.location).catch(he=>{}));const de={};for(const he in pl)Object.defineProperty(de,he,{get:()=>i.value[he],enumerable:!0});U.provide(Rd,Q),U.provide(Ih,ph(de)),U.provide(Pp,i);const ae=U.unmount;oe.add(U),U.unmount=function(){oe.delete(U),oe.size<1&&(c=pl,W&&W(),W=null,i.value=pl,Z=!1,N=!1),ae()}}};function J(U){return U.reduce((Q,de)=>Q.then(()=>R(de)),Promise.resolve())}return ce}function zE(e,t){const n=[],o=[],l=[],a=Math.max(t.matched.length,e.matched.length);for(let r=0;ros(c,s))?o.push(s):n.push(s));const i=e.matched[r];i&&(t.matched.find(c=>os(c,i))||l.push(i))}return[n,o,l]}function ir(){return Pe(Rd)}function ur(e){return Pe(Ih)}var xh=Symbol(""),tl=()=>{const e=Pe(xh);if(!e)throw new Error("useClientData() is called without provider.");return e},KE=()=>tl().pageComponent,on=()=>tl().pageData,an=()=>tl().pageFrontmatter,jE=()=>tl().pageHead,Mh=()=>tl().pageLang,WE=()=>tl().pageLayout,cr=()=>tl().routeLocale,UE=()=>tl().routes,ww=()=>tl().siteData,Nh=()=>tl().siteLocaleData,qE=Symbol(""),Rp=wt(D_),_i=wt(B_),Cw=e=>{const t=A_(e);if(_i.value[t])return t;const n=encodeURI(t);return _i.value[n]?n:Rp.value[t]||Rp.value[n]||t},Ld=e=>{const t=Cw(e),n=_i.value[t]??{..._i.value["/404.html"],notFound:!0};return{path:t,notFound:!1,...n}},Dd=z({name:"ClientOnly",setup(e,t){const n=M(!1);return qe(()=>{n.value=!0}),()=>{var o,l;return n.value?(l=(o=t.slots).default)==null?void 0:l.call(o):null}}}),Sw=z({name:"Content",props:{path:{type:String,required:!1,default:""}},setup(e){const t=KE(),n=S(()=>{if(!e.path)return t.value;const o=Ld(e.path);return ak(()=>o.loader().then(({comp:l})=>l))});return()=>P(n.value)}}),oo=(e={})=>e,Fn=e=>sr(e)?e:`/${iw(e)}`,GE=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}},Yn=({active:e=!1,activeClass:t="route-link-active",to:n,...o},{slots:l})=>{var i;const a=ir(),r=Cw(n),s=r.startsWith("#")||r.startsWith("?")?r:Fn(r);return P("a",{...o,class:["route-link",{[t]:e}],href:s,onClick:(c={})=>{GE(c)?a.push(n).catch():Promise.resolve()}},(i=l.default)==null?void 0:i.call(l))};Yn.displayName="RouteLink";Yn.props={active:Boolean,activeClass:String,to:String};var YE="Layout",XE="en-US",ka=kt({resolveLayouts:e=>e.reduce((t,n)=>({...t,...n.layouts}),{}),resolvePageHead:(e,t,n)=>{const o=rn(t.description)?t.description:n.description,l=[...Array.isArray(t.head)?t.head:[],...n.head,["title",{},e],["meta",{name:"description",content:o}]];return x_(l)},resolvePageHeadTitle:(e,t)=>[e.title,t.title].filter(n=>!!n).join(" | "),resolvePageLang:(e,t)=>e.lang||t.lang||XE,resolvePageLayout:(e,t)=>{const n=rn(e.frontmatter.layout)?e.frontmatter.layout:YE;if(!t[n])throw new Error(`[vuepress] Cannot resolve layout: ${n}`);return t[n]},resolveRouteLocale:(e,t)=>P_(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 ZE={},ou=e=>{const t=cr();return S(()=>e[t.value]??{})};var Bn=Uint8Array,Mr=Uint16Array,JE=Int32Array,kw=new Bn([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]),_w=new Bn([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]),QE=new Bn([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Ew=function(e,t){for(var n=new Mr(31),o=0;o<31;++o)n[o]=t+=1<>1|(Zt&21845)<<1;Bl=(Bl&52428)>>2|(Bl&13107)<<2,Bl=(Bl&61680)>>4|(Bl&3855)<<4,Lp[Zt]=((Bl&65280)>>8|(Bl&255)<<8)>>1}var ri=function(e,t,n){for(var o=e.length,l=0,a=new Mr(t);l>i]=c}else for(s=new Mr(o),l=0;l>15-e[l]);return s},lu=new Bn(288);for(var Zt=0;Zt<144;++Zt)lu[Zt]=8;for(var Zt=144;Zt<256;++Zt)lu[Zt]=9;for(var Zt=256;Zt<280;++Zt)lu[Zt]=7;for(var Zt=280;Zt<288;++Zt)lu[Zt]=8;var Ow=new Bn(32);for(var Zt=0;Zt<32;++Zt)Ow[Zt]=5;var o$=ri(lu,9,1),l$=ri(Ow,5,1),Pf=function(e){for(var t=e[0],n=1;nt&&(t=e[n]);return t},Io=function(e,t,n){var o=t/8|0;return(e[o]|e[o+1]<<8)>>(t&7)&n},Rf=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(t&7)},a$=function(e){return(e+7)/8|0},Ah=function(e,t,n){return(t==null||t<0)&&(t=0),(n==null||n>e.length)&&(n=e.length),new Bn(e.subarray(t,n))},r$=["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"],po=function(e,t,n){var o=new Error(t||r$[e]);if(o.code=e,Error.captureStackTrace&&Error.captureStackTrace(o,po),!n)throw o;return o},s$=function(e,t,n,o){var l=e.length,a=o?o.length:0;if(!l||t.f&&!t.l)return n||new Bn(0);var r=!n,s=r||t.i!=2,i=t.i;r&&(n=new Bn(l*3));var c=function(he){var _e=n.length;if(he>_e){var G=new Bn(Math.max(_e*2,he));G.set(n),n=G}},f=t.f||0,d=t.p||0,p=t.b||0,h=t.l,m=t.d,v=t.m,y=t.n,g=l*8;do{if(!h){f=Io(e,d,1);var w=Io(e,d+1,3);if(d+=3,w)if(w==1)h=o$,m=l$,v=9,y=5;else if(w==2){var k=Io(e,d,31)+257,$=Io(e,d+10,15)+4,T=k+Io(e,d+5,31)+1;d+=14;for(var R=new Bn(T),I=new Bn(19),x=0;x<$;++x)I[QE[x]]=Io(e,d+x*3,7);d+=$*3;for(var D=Pf(I),W=(1<>4;if(b<16)R[x++]=b;else{var L=0,N=0;for(b==16?(N=3+Io(e,d,3),d+=2,L=R[x-1]):b==17?(N=3+Io(e,d,7),d+=3):b==18&&(N=11+Io(e,d,127),d+=7);N--;)R[x++]=L}}var B=R.subarray(0,k),A=R.subarray(k);v=Pf(B),y=Pf(A),h=ri(B,v,1),m=ri(A,y,1)}else po(1);else{var b=a$(d)+4,C=e[b-4]|e[b-3]<<8,_=b+C;if(_>l){i&&po(0);break}s&&c(p+C),n.set(e.subarray(b,_),p),t.b=p+=C,t.p=d=_*8,t.f=f;continue}if(d>g){i&&po(0);break}}s&&c(p+131072);for(var F=(1<>4;if(d+=L&15,d>g){i&&po(0);break}if(L||po(2),Z<256)n[p++]=Z;else if(Z==256){q=d,h=null;break}else{var oe=Z-254;if(Z>264){var x=Z-257,ce=kw[x];oe=Io(e,d,(1<>4;J||po(3),d+=J&15;var A=n$[U];if(U>3){var ce=_w[U];A+=Rf(e,d)&(1<g){i&&po(0);break}s&&c(p+131072);var Q=p+oe;if(p>4>7||(e[0]<<8|e[1])%31)&&po(6,"invalid zlib data"),(e[1]>>5&1)==+!t&&po(6,"invalid zlib data: "+(e[1]&32?"need":"unexpected")+" dictionary"),(e[1]>>3&4)+2};function c$(e,t){return s$(e.subarray(u$(e,t&&t.dictionary),-4),{i:2},t&&t.out,t&&t.dictionary)}var I0=typeof TextEncoder<"u"&&new TextEncoder,Dp=typeof TextDecoder<"u"&&new TextDecoder,d$=0;try{Dp.decode(i$,{stream:!0}),d$=1}catch{}var f$=function(e){for(var t="",n=0;;){var o=e[n++],l=(o>127)+(o>223)+(o>239);if(n+l>e.length)return{s:t,r:Ah(e,n-1)};l?l==3?(o=((o&15)<<18|(e[n++]&63)<<12|(e[n++]&63)<<6|e[n++]&63)-65536,t+=String.fromCharCode(55296|o>>10,56320|o&1023)):l&1?t+=String.fromCharCode((o&31)<<6|e[n++]&63):t+=String.fromCharCode((o&15)<<12|(e[n++]&63)<<6|e[n++]&63):t+=String.fromCharCode(o)}};function p$(e,t){if(t){for(var n=new Bn(e.length),o=0;o>1)),r=0,s=function(f){a[r++]=f},o=0;oa.length){var i=new Bn(r+8+(l-o<<1));i.set(a),a=i}var c=e.charCodeAt(o);c<128||t?s(c):c<2048?(s(192|c>>6),s(128|c&63)):c>55295&&c<57344?(c=65536+(c&1047552)|e.charCodeAt(++o)&1023,s(240|c>>18),s(128|c>>12&63),s(128|c>>6&63),s(128|c&63)):(s(224|c>>12),s(128|c>>6&63),s(128|c&63))}return Ah(a,0,r)}function v$(e,t){if(t){for(var n="",o=0;o{const t=atob(e);return v$(c$(p$(t,!0)))},bo=(e,t)=>{var o;const n=(o=(t==null?void 0:t._instance)||nt())==null?void 0:o.appContext.components;return n?e in n||eo(e)in n||Ss(eo(e))in n:!1},Iw=e=>new Promise(t=>setTimeout(t,e)),xw=e=>typeof e<"u",Lf=e=>typeof e=="number",Bp=Array.isArray,as=(e,t)=>rn(e)&&e.startsWith(t),h$=(e,t)=>rn(e)&&e.endsWith(t),m$=Object.entries,dr=Object.keys,g$=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},Ph=e=>as(e,"/");function Mw(e,t){let n,o,l;const a=M(!0),r=()=>{a.value=!0,l()};fe(e,r,{flush:"sync"});const s=typeof t=="function"?t:t.get,i=typeof t=="function"?void 0:t.set,c=kd((f,d)=>(o=f,l=d,{get(){return a.value&&(n=s(),a.value=!1),o(),n},set(p){i==null||i(p)}}));return Object.isExtensible(c)&&(c.trigger=r),c}function Es(e){return rh()?(sh(e),!0):!1}function En(e){return typeof e=="function"?e():u(e)}const au=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const y$=Object.prototype.toString,b$=e=>y$.call(e)==="[object Object]",Ga=()=>{},M0=w$();function w$(){var e,t;return au&&((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 Rh(e,t){function n(...o){return new Promise((l,a)=>{Promise.resolve(e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})).then(l).catch(a)})}return n}const Nw=e=>e();function C$(e,t={}){let n,o,l=Ga;const a=s=>{clearTimeout(s),l(),l=Ga};return s=>{const i=En(e),c=En(t.maxWait);return n&&a(n),i<=0||c!==void 0&&c<=0?(o&&(a(o),o=null),Promise.resolve(s())):new Promise((f,d)=>{l=t.rejectOnCancel?d:f,c&&!o&&(o=setTimeout(()=>{n&&a(n),o=null,f(s())},c)),n=setTimeout(()=>{o&&a(o),o=null,f(s())},i)})}}function S$(...e){let t=0,n,o=!0,l=Ga,a,r,s,i,c;!Nt(e[0])&&typeof e[0]=="object"?{delay:r,trailing:s=!0,leading:i=!0,rejectOnCancel:c=!1}=e[0]:[r,s=!0,i=!0,c=!1]=e;const f=()=>{n&&(clearTimeout(n),n=void 0,l(),l=Ga)};return p=>{const h=En(r),m=Date.now()-t,v=()=>a=p();return f(),h<=0?(t=Date.now(),v()):(m>h&&(i||!o)?(t=Date.now(),v()):s&&(a=new Promise((y,g)=>{l=c?g:y,n=setTimeout(()=>{t=Date.now(),o=!0,y(v()),f()},Math.max(0,h-m))})),!i&&!n&&(n=setTimeout(()=>o=!0,h)),o=!1,a)}}function k$(e=Nw){const t=M(!0);function n(){t.value=!1}function o(){t.value=!0}const l=(...a)=>{t.value&&e(...a)};return{isActive:Tl(t),pause:n,resume:o,eventFilter:l}}function _$(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const o=t;t=void 0,o&&await o},n}function Aw(e){return e||nt()}function E$(...e){if(e.length!==1)return Et(...e);const t=e[0];return typeof t=="function"?Tl(kd(()=>({get:t,set:Ga}))):M(t)}function $$(e,t=200,n={}){return Rh(C$(t,n),e)}function T$(e,t=200,n=!1,o=!0,l=!1){return Rh(S$(t,n,o,l),e)}function O$(e,t,n={}){const{eventFilter:o=Nw,...l}=n;return fe(e,Rh(o,t),l)}function I$(e,t,n={}){const{eventFilter:o,...l}=n,{eventFilter:a,pause:r,resume:s,isActive:i}=k$(o);return{stop:O$(e,t,{...l,eventFilter:a}),pause:r,resume:s,isActive:i}}function Bd(e,t=!0,n){Aw()?qe(e,n):t?e():Ke(e)}function x$(e,t){Aw(t)&&Oo(e,t)}function M$(e,t,n={}){const{immediate:o=!0}=n,l=M(!1);let a=null;function r(){a&&(clearTimeout(a),a=null)}function s(){l.value=!1,r()}function i(...c){r(),l.value=!0,a=setTimeout(()=>{l.value=!1,a=null,e(...c)},En(t))}return o&&(l.value=!0,au&&i()),Es(s),{isPending:Tl(l),start:i,stop:s}}function Ei(e=!1,t={}){const{truthyValue:n=!0,falsyValue:o=!1}=t,l=Nt(e),a=M(e);function r(s){if(arguments.length)return a.value=s,a.value;{const i=En(n);return a.value=a.value===i?En(o):i,a.value}}return l?r:[a,r]}function gl(e){var t;const n=En(e);return(t=n==null?void 0:n.$el)!=null?t:n}const kl=au?window:void 0,Pw=au?window.document:void 0,Rw=au?window.navigator:void 0;function bn(...e){let t,n,o,l;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,l]=e,t=kl):[t,n,o,l]=e,!t)return Ga;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const a=[],r=()=>{a.forEach(f=>f()),a.length=0},s=(f,d,p,h)=>(f.addEventListener(d,p,h),()=>f.removeEventListener(d,p,h)),i=fe(()=>[gl(t),En(l)],([f,d])=>{if(r(),!f)return;const p=b$(d)?{...d}:d;a.push(...n.flatMap(h=>o.map(m=>s(f,h,m,p))))},{immediate:!0,flush:"post"}),c=()=>{i(),r()};return Es(c),c}function N$(){const e=M(!1),t=nt();return t&&qe(()=>{e.value=!0},t),e}function ru(e){const t=N$();return S(()=>(t.value,!!e()))}function Lw(e,t={}){const{window:n=kl}=t,o=ru(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let l;const a=M(!1),r=c=>{a.value=c.matches},s=()=>{l&&("removeEventListener"in l?l.removeEventListener("change",r):l.removeListener(r))},i=hn(()=>{o.value&&(s(),l=n.matchMedia(En(e)),"addEventListener"in l?l.addEventListener("change",r):l.addListener(r),a.value=l.matches)});return Es(()=>{i(),s(),l=void 0}),a}function N0(e,t={}){const{controls:n=!1,navigator:o=Rw}=t,l=ru(()=>o&&"permissions"in o);let a;const r=typeof e=="string"?{name:e}:e,s=M(),i=()=>{a&&(s.value=a.state)},c=_$(async()=>{if(l.value){if(!a)try{a=await o.permissions.query(r),bn(a,"change",i),i()}catch{s.value="prompt"}return a}});return c(),n?{state:s,isSupported:l,query:c}:s}function A$(e={}){const{navigator:t=Rw,read:n=!1,source:o,copiedDuring:l=1500,legacy:a=!1}=e,r=ru(()=>t&&"clipboard"in t),s=N0("clipboard-read"),i=N0("clipboard-write"),c=S(()=>r.value||a),f=M(""),d=M(!1),p=M$(()=>d.value=!1,l);function h(){r.value&&g(s.value)?t.clipboard.readText().then(w=>{f.value=w}):f.value=y()}c.value&&n&&bn(["copy","cut"],h);async function m(w=En(o)){c.value&&w!=null&&(r.value&&g(i.value)?await t.clipboard.writeText(w):v(w),f.value=w,d.value=!0,p.start())}function v(w){const b=document.createElement("textarea");b.value=w??"",b.style.position="absolute",b.style.opacity="0",document.body.appendChild(b),b.select(),document.execCommand("copy"),b.remove()}function y(){var w,b,C;return(C=(b=(w=document==null?void 0:document.getSelection)==null?void 0:w.call(document))==null?void 0:b.toString())!=null?C:""}function g(w){return w==="granted"||w==="prompt"}return{isSupported:c,text:f,copied:d,copy:m}}const Vu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Hu="__vueuse_ssr_handlers__",P$=R$();function R$(){return Hu in Vu||(Vu[Hu]=Vu[Hu]||{}),Vu[Hu]}function L$(e,t){return P$[e]||t}function D$(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 B$={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()}},A0="vueuse-storage";function $s(e,t,n,o={}){var l;const{flush:a="pre",deep:r=!0,listenToStorageChanges:s=!0,writeDefaults:i=!0,mergeDefaults:c=!1,shallow:f,window:d=kl,eventFilter:p,onError:h=I=>{console.error(I)},initOnMounted:m}=o,v=(f?wt:M)(typeof t=="function"?t():t);if(!n)try{n=L$("getDefaultStorage",()=>{var I;return(I=kl)==null?void 0:I.localStorage})()}catch(I){h(I)}if(!n)return v;const y=En(t),g=D$(y),w=(l=o.serializer)!=null?l:B$[g],{pause:b,resume:C}=I$(v,()=>k(v.value),{flush:a,deep:r,eventFilter:p});d&&s&&Bd(()=>{bn(d,"storage",T),bn(d,A0,R),m&&T()}),m||T();function _(I,x){d&&d.dispatchEvent(new CustomEvent(A0,{detail:{key:e,oldValue:I,newValue:x,storageArea:n}}))}function k(I){try{const x=n.getItem(e);if(I==null)_(x,null),n.removeItem(e);else{const D=w.write(I);x!==D&&(n.setItem(e,D),_(x,D))}}catch(x){h(x)}}function $(I){const x=I?I.newValue:n.getItem(e);if(x==null)return i&&y!=null&&n.setItem(e,w.write(y)),y;if(!I&&c){const D=w.read(x);return typeof c=="function"?c(D,y):g==="object"&&!Array.isArray(D)?{...y,...D}:D}else return typeof x!="string"?x:w.read(x)}function T(I){if(!(I&&I.storageArea!==n)){if(I&&I.key==null){v.value=y;return}if(!(I&&I.key!==e)){b();try{(I==null?void 0:I.newValue)!==w.write(v.value)&&(v.value=$(I))}catch(x){h(x)}finally{I?Ke(C):C()}}}}function R(I){T(I.detail)}return v}function F$(e){return Lw("(prefers-color-scheme: dark)",e)}function V$(e,t,n={}){const{window:o=kl,...l}=n;let a;const r=ru(()=>o&&"ResizeObserver"in o),s=()=>{a&&(a.disconnect(),a=void 0)},i=S(()=>Array.isArray(e)?e.map(d=>gl(d)):[gl(e)]),c=fe(i,d=>{if(s(),r.value&&o){a=new ResizeObserver(t);for(const p of d)p&&a.observe(p,l)}},{immediate:!0,flush:"post"}),f=()=>{s(),c()};return Es(f),{isSupported:r,stop:f}}function H$(e,t={width:0,height:0},n={}){const{window:o=kl,box:l="content-box"}=n,a=S(()=>{var d,p;return(p=(d=gl(e))==null?void 0:d.namespaceURI)==null?void 0:p.includes("svg")}),r=M(t.width),s=M(t.height),{stop:i}=V$(e,([d])=>{const p=l==="border-box"?d.borderBoxSize:l==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(o&&a.value){const h=gl(e);if(h){const m=o.getComputedStyle(h);r.value=Number.parseFloat(m.width),s.value=Number.parseFloat(m.height)}}else if(p){const h=Array.isArray(p)?p:[p];r.value=h.reduce((m,{inlineSize:v})=>m+v,0),s.value=h.reduce((m,{blockSize:v})=>m+v,0)}else r.value=d.contentRect.width,s.value=d.contentRect.height},n);Bd(()=>{const d=gl(e);d&&(r.value="offsetWidth"in d?d.offsetWidth:t.width,s.value="offsetHeight"in d?d.offsetHeight:t.height)});const c=fe(()=>gl(e),d=>{r.value=d?t.width:0,s.value=d?t.height:0});function f(){i(),c()}return{width:r,height:s,stop:f}}const P0=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function Lh(e,t={}){const{document:n=Pw,autoExit:o=!1}=t,l=S(()=>{var g;return(g=gl(e))!=null?g:n==null?void 0:n.querySelector("html")}),a=M(!1),r=S(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(g=>n&&g in n||l.value&&g in l.value)),s=S(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(g=>n&&g in n||l.value&&g in l.value)),i=S(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(g=>n&&g in n||l.value&&g in l.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(g=>n&&g in n),f=ru(()=>l.value&&n&&r.value!==void 0&&s.value!==void 0&&i.value!==void 0),d=()=>c?(n==null?void 0:n[c])===l.value:!1,p=()=>{if(i.value){if(n&&n[i.value]!=null)return n[i.value];{const g=l.value;if((g==null?void 0:g[i.value])!=null)return!!g[i.value]}}return!1};async function h(){if(!(!f.value||!a.value)){if(s.value)if((n==null?void 0:n[s.value])!=null)await n[s.value]();else{const g=l.value;(g==null?void 0:g[s.value])!=null&&await g[s.value]()}a.value=!1}}async function m(){if(!f.value||a.value)return;p()&&await h();const g=l.value;r.value&&(g==null?void 0:g[r.value])!=null&&(await g[r.value](),a.value=!0)}async function v(){await(a.value?h():m())}const y=()=>{const g=p();(!g||g&&d())&&(a.value=g)};return bn(n,P0,y,!1),bn(()=>gl(l),P0,y,!1),o&&Es(h),{isSupported:f,isFullscreen:a,enter:m,exit:h,toggle:v}}function Df(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Bf(e,t=Ga,n={}){const{immediate:o=!0,manual:l=!1,type:a="text/javascript",async:r=!0,crossOrigin:s,referrerPolicy:i,noModule:c,defer:f,document:d=Pw,attrs:p={}}=n,h=M(null);let m=null;const v=w=>new Promise((b,C)=>{const _=T=>(h.value=T,b(T),T);if(!d){b(!1);return}let k=!1,$=d.querySelector(`script[src="${En(e)}"]`);$?$.hasAttribute("data-loaded")&&_($):($=d.createElement("script"),$.type=a,$.async=r,$.src=En(e),f&&($.defer=f),s&&($.crossOrigin=s),c&&($.noModule=c),i&&($.referrerPolicy=i),Object.entries(p).forEach(([T,R])=>$==null?void 0:$.setAttribute(T,R)),k=!0),$.addEventListener("error",T=>C(T)),$.addEventListener("abort",T=>C(T)),$.addEventListener("load",()=>{$.setAttribute("data-loaded","true"),t($),_($)}),k&&($=d.head.appendChild($)),w||_($)}),y=(w=!0)=>(m||(m=v(w)),m),g=()=>{if(!d)return;m=null,h.value&&(h.value=null);const w=d.querySelector(`script[src="${En(e)}"]`);w&&d.head.removeChild(w)};return o&&!l&&Bd(y),l||x$(g),{scriptTag:h,load:y,unload:g}}function Dw(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 zu=new WeakMap;function Bw(e,t=!1){const n=M(t);let o=null;fe(E$(e),r=>{const s=Df(En(r));if(s){const i=s;zu.get(i)||zu.set(i,i.style.overflow),n.value&&(i.style.overflow="hidden")}},{immediate:!0});const l=()=>{const r=Df(En(e));!r||n.value||(M0&&(o=bn(r,"touchmove",s=>{z$(s)},{passive:!1})),r.style.overflow="hidden",n.value=!0)},a=()=>{var r;const s=Df(En(e));!s||!n.value||(M0&&(o==null||o()),s.style.overflow=(r=zu.get(s))!=null?r:"",zu.delete(s),n.value=!1)};return Es(a),S({get(){return n.value},set(r){r?l():a()}})}function Fw(e,t,n={}){const{window:o=kl}=n;return $s(e,t,o==null?void 0:o.sessionStorage,n)}function K$(e={}){const{window:t=kl,behavior:n="auto"}=e;if(!t)return{x:M(0),y:M(0)};const o=M(t.scrollX),l=M(t.scrollY),a=S({get(){return o.value},set(s){scrollTo({left:s,behavior:n})}}),r=S({get(){return l.value},set(s){scrollTo({top:s,behavior:n})}});return bn(t,"scroll",()=>{o.value=t.scrollX,l.value=t.scrollY},{capture:!1,passive:!0}),{x:a,y:r}}function j$(e={}){const{window:t=kl,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:o=Number.POSITIVE_INFINITY,listenOrientation:l=!0,includeScrollbar:a=!0}=e,r=M(n),s=M(o),i=()=>{t&&(a?(r.value=t.innerWidth,s.value=t.innerHeight):(r.value=t.document.documentElement.clientWidth,s.value=t.document.documentElement.clientHeight))};if(i(),Bd(i),bn("resize",i,{passive:!0}),l){const c=Lw("(orientation: portrait)");fe(c,()=>i())}return{width:r,height:s}}var W$=z({name:"FontIcon",props:{icon:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""}},setup(e){const t=S(()=>{const o=["font-icon icon"],l=`fas fa-${e.icon}`;return o.push("fa-fw fa-sm"),o.push(e.icon.includes(" ")?e.icon:l),o}),n=S(()=>{const o={};return e.color&&(o.color=e.color),e.size&&(o["font-size"]=Number.isNaN(Number(e.size))?e.size:`${e.size}px`),dr(o).length?o:null});return()=>e.icon?P("span",{key:e.icon,class:t.value,style:n.value}):null}});const Vw=({type:e="info",text:t="",vertical:n,color:o},{slots:l})=>{var a;return P("span",{class:["vp-badge",e,{diy:o}],style:{verticalAlign:n??!1,backgroundColor:o??!1}},((a=l.default)==null?void 0:a.call(l))||t)};Vw.displayName="Badge";const Hw=({title:e,desc:t="",logo:n,background:o,color:l,link:a})=>{const r=[n?P("img",{class:"vp-card-logo",src:Fn(n),loading:"lazy","no-view":""}):null,P("div",{class:"vp-card-content"},[P("div",{class:"vp-card-title",innerHTML:e}),P("hr"),P("div",{class:"vp-card-desc",innerHTML:t})])],s={};return o&&(s.background=o),l&&(s.color=l),a?ns(a)?P("a",{class:"vp-card",href:a,target:"_blank",style:s},r):P(Yn,{to:a,class:"vp-card",style:s},()=>r):P("div",{class:"vp-card",style:s},r)};Hw.displayName="VPCard";const U$=oo({enhance:({app:e})=>{bo("FontIcon")||e.component("FontIcon",W$),bo("Badge")||e.component("Badge",Vw),bo("VPCard")||e.component("VPCard",Hw)},setup:()=>{Bf("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/brands.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),Bf("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/solid.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),Bf("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/fontawesome.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}})},rootComponents:[]}),R0=async(e,t)=>{const{path:n,query:o}=e.currentRoute.value,{scrollBehavior:l}=e.options;e.options.scrollBehavior=void 0,await e.replace({path:n,query:o,hash:t}),e.options.scrollBehavior=l},q$=({headerLinkSelector:e,headerAnchorSelector:t,delay:n,offset:o=5})=>{const l=ir();bn("scroll",$$(()=>{var m,v;const r=Math.max(window.scrollY,document.documentElement.scrollTop,document.body.scrollTop);if(Math.abs(r-0)d.some(g=>g.hash===y.hash));for(let y=0;y=(((m=g.parentElement)==null?void 0:m.offsetTop)??0)-o,C=!w||r<(((v=w.parentElement)==null?void 0:v.offsetTop)??0)-o;if(!(b&&C))continue;const k=decodeURIComponent(l.currentRoute.value.hash),$=decodeURIComponent(g.hash);if(k===$)return;if(f){for(let T=y+1;Trn(e.title)?{title:e.title}:null;const Kw=Symbol(""),Q$=e=>{zw=e},e7=()=>Pe(Kw),t7=e=>{e.provide(Kw,zw)};var n7={"/":{title:"目录",empty:"暂无目录"}};const o7=z({name:"Catalog",props:{base:{type:String,default:""},level:{type:Number,default:3},index:Boolean,hideHeading:Boolean},setup(e){const t=e7(),n=ou(n7),o=on(),l=UE(),a=ww(),s=wt(m$(l.value).map(([c,{meta:f}])=>{const d=t(f);if(!d)return null;const p=c.split("/").length;return{level:h$(c,"/")?p-2:p-1,base:c.replace(/\/[^/]+\/?$/,"/"),path:c,...d}}).filter(c=>_s(c)&&rn(c.title))),i=S(()=>{const c=e.base?M_(rw(e.base)):o.value.path.replace(/\/[^/]+$/,"/"),f=c.split("/").length-2,d=[];return s.value.filter(({level:p,path:h})=>{if(!as(h,c)||h===c)return!1;if(c==="/"){const m=dr(a.value.locales).filter(v=>v!=="/");if(h==="/404.html"||m.some(v=>as(h,v)))return!1}return p-f<=e.level}).sort(({title:p,level:h,order:m},{title:v,level:y,order:g})=>{const w=h-y;return w||(Lf(m)?Lf(g)?m>0?g>0?m-g:-1:g<0?m-g:1:m:Lf(g)?g:p.localeCompare(v))}).forEach(p=>{var v;const{base:h,level:m}=p;switch(m-f){case 1:{d.push(p);break}case 2:{const y=d.find(g=>g.path===h);y&&(y.children??(y.children=[])).push(p);break}default:{const y=d.find(g=>g.path===h.replace(/\/[^/]+\/$/,"/"));if(y){const g=(v=y.children)==null?void 0:v.find(w=>w.path===h);g&&(g.children??(g.children=[])).push(p)}}}}),d});return()=>{const c=i.value.some(f=>f.children);return P("div",{class:["vp-catalog-wrapper",{index:e.index}]},[e.hideHeading?null:P("h2",{class:"vp-catalog-main-title"},n.value.title),i.value.length?P(e.index?"ol":"ul",{class:["vp-catalogs",{deep:c}]},i.value.map(({children:f=[],title:d,path:p,content:h})=>{const m=P(Yn,{class:"vp-catalog-title",to:p},()=>h?P(h):d);return P("li",{class:"vp-catalog"},c?[P("h3",{id:d,class:["vp-catalog-child-title",{"has-children":f.length}]},[P("a",{href:`#${d}`,class:"vp-catalog-header-anchor","aria-hidden":!0},"#"),m]),f.length?P(e.index?"ol":"ul",{class:"vp-child-catalogs"},f.map(({children:v=[],content:y,path:g,title:w})=>P("li",{class:"vp-child-catalog"},[P("div",{class:["vp-catalog-sub-title",{"has-children":v.length}]},[P("a",{href:`#${w}`,class:"vp-catalog-header-anchor"},"#"),P(Yn,{class:"vp-catalog-title",to:g},()=>y?P(y):w)]),v.length?P(e.index?"ol":"div",{class:e.index?"vp-sub-catalogs":"vp-sub-catalogs-wrapper"},v.map(({content:b,path:C,title:_})=>e.index?P("li",{class:"vp-sub-catalog"},P(Yn,{to:C},()=>b?P(b):_)):P(Yn,{class:"vp-sub-catalog-link",to:C},()=>b?P(b):_))):null]))):null]:P("div",{class:"vp-catalog-child-title"},m))})):P("p",{class:"vp-empty-catalog"},n.value.empty)])}}}),l7=oo({enhance:({app:e})=>{t7(e),bo("Catalog",e)||e.component("Catalog",o7)}});var a7={"/":{backToTop:"返回顶部"}};const r7=z({name:"BackToTop",setup(e){const t=an(),n=ou(a7),o=wt(),{height:l}=H$(o),{height:a}=j$(),{y:r}=K$(),s=S(()=>t.value.backToTop!==!1&&r.value>100),i=S(()=>r.value/(l.value-a.value)*100);return qe(()=>{o.value=document.body}),()=>P(Kt,{name:"back-to-top"},()=>s.value?P("button",{type:"button",class:"vp-back-to-top-button","aria-label":n.value.backToTop,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}},[P("span",{class:"vp-scroll-progress",role:"progressbar","aria-labelledby":"loadinglabel","aria-valuenow":i.value},P("svg",P("circle",{cx:"50%",cy:"50%",style:{"stroke-dasharray":`calc(${Math.PI*i.value}% - ${4*Math.PI}px) calc(${Math.PI*100}% - ${4*Math.PI}px)`}}))),P("div",{class:"back-to-top-icon"})]):null)}}),s7=oo({rootComponents:[r7]}),i7=P("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"},[P("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"}),P("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"})]),jw=z({name:"ExternalLinkIcon",props:{locales:{type:Object,required:!1,default:()=>({})}},setup(e){const t=cr(),n=S(()=>e.locales[t.value]??{openInNewWindow:"open in new window"});return()=>P("span",[i7,P("span",{class:"external-link-icon-sr-only"},n.value.openInNewWindow)])}});var u7={};const c7=u7,d7=oo({enhance({app:e}){e.component("ExternalLinkIcon",P(jw,{locales:c7}))}});/** * NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress * @license MIT - */const Pt={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=Pt.isStarted();e=Ff(e,Pt.settings.minimum,1),Pt.status=e===1?null:e;const n=Pt.render(!t),o=n.querySelector(Pt.settings.barSelector),l=Pt.settings.speed,a=Pt.settings.easing;return n.offsetWidth,f7(r=>{Ku(o,{transform:"translate3d("+L0(e)+"%,0,0)",transition:"all "+l+"ms "+a}),e===1?(Ku(n,{transition:"none",opacity:"1"}),n.offsetWidth,setTimeout(function(){Ku(n,{transition:"all "+l+"ms linear",opacity:"0"}),setTimeout(function(){Pt.remove(),r()},l)},l)):setTimeout(()=>r(),l)}),Pt},isStarted:()=>typeof Pt.status=="number",start:()=>{Pt.status||Pt.set(0);const e=()=>{setTimeout(()=>{Pt.status&&(Pt.trickle(),e())},Pt.settings.trickleSpeed)};return Pt.settings.trickle&&e(),Pt},done:e=>!e&&!Pt.status?Pt:Pt.inc(.3+.5*Math.random()).set(1),inc:e=>{let t=Pt.status;return t?(typeof e!="number"&&(e=(1-t)*Ff(Math.random()*t,.1,.95)),t=Ff(t+e,0,.994),Pt.set(t)):Pt.start()},trickle:()=>Pt.inc(Math.random()*Pt.settings.trickleRate),render:e=>{if(Pt.isRendered())return document.getElementById("nprogress");D0(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=Pt.settings.template;const n=t.querySelector(Pt.settings.barSelector),o=e?"-100":L0(Pt.status||0),l=document.querySelector(Pt.settings.parent);return Ku(n,{transition:"all 0 linear",transform:"translate3d("+o+"%,0,0)"}),l!==document.body&&D0(l,"nprogress-custom-parent"),l==null||l.appendChild(t),t},remove:()=>{B0(document.documentElement,"nprogress-busy"),B0(document.querySelector(Pt.settings.parent),"nprogress-custom-parent");const e=document.getElementById("nprogress");e&&p7(e)},isRendered:()=>!!document.getElementById("nprogress")},Ff=(e,t,n)=>en?n:e,L0=e=>(-1+e)*100,f7=function(){const e=[];function t(){const n=e.shift();n&&n(t)}return function(n){e.push(n),e.length===1&&t()}}(),Ku=function(){const e=["Webkit","O","Moz","ms"],t={};function n(r){return r.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(s,i){return i.toUpperCase()})}function o(r){const s=document.body.style;if(r in s)return r;let i=e.length;const c=r.charAt(0).toUpperCase()+r.slice(1);let f;for(;i--;)if(f=e[i]+c,f in s)return f;return r}function l(r){return r=n(r),t[r]??(t[r]=o(r))}function a(r,s,i){s=l(s),r.style[s]=i}return function(r,s){for(const i in s){const c=s[i];c!==void 0&&Object.prototype.hasOwnProperty.call(s,i)&&a(r,i,c)}}}(),Ww=(e,t)=>(typeof e=="string"?e:Dh(e)).indexOf(" "+t+" ")>=0,D0=(e,t)=>{const n=Dh(e),o=n+t;Ww(n,t)||(e.className=o.substring(1))},B0=(e,t)=>{const n=Dh(e);if(!Ww(e,t))return;const o=n.replace(" "+t+" "," ");e.className=o.substring(1,o.length-1)},Dh=e=>(" "+(e.className||"")+" ").replace(/\s+/gi," "),p7=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)},v7=()=>{qe(()=>{const e=ir(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||Pt.start()}),e.afterEach(n=>{t.add(n.path),Pt.done()})})},h7=oo({setup(){v7()}}),m7=JSON.parse('{"encrypt":{"config":{"/demo/encrypt.html":["$2a$10$TU1l28WX7ntnPBOMJzL/1OMRmcnE9mvoIP2vuFX0bgz1s/Zb5BBdW"]}},"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,"locales":{"/":{"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":"/deployment/","prefix":"deployment/"},{"text":"使用及开发","link":"/usage/","prefix":"usage/"},{"text":"资源及插件","link":"/store/resource","prefix":"store/"}],"sidebar":{"/":["",{"text":"安装及部署","icon":"laptop-code","prefix":"deployment/","children":"structure"},{"text":"使用及开发","icon":"book","prefix":"usage/","children":"structure"},{"text":"资源及插件","icon":"store","prefix":"store/","children":"structure"}]}}}}'),g7=M(m7),Uw=()=>g7,qw=Symbol(""),y7=()=>{const e=Pe(qw);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},b7=(e,t)=>{const{locales:n,...o}=e;return{...o,...n==null?void 0:n[t]}},w7=oo({enhance({app:e}){const t=Uw(),n=e._context.provides[xh],o=S(()=>b7(t.value,n.routeLocale.value));e.provide(qw,o),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return o.value}}})}});var C7={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 S7=C7;let k7=S7;const Gw=Symbol(""),Yw=()=>Pe(Gw),_7=Yw,E7=e=>{e.provide(Gw,k7)},Xw=()=>P("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",preserveAspectRatio:"xMidYMid",viewBox:"0 0 100 100"},[P("circle",{cx:"28",cy:"75",r:"11",fill:"currentColor"},P("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),P("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 47a28 28 0 0 1 28 28"},P("animate",{attributeName:"stroke-opacity",begin:"0.1s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),P("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 25a50 50 0 0 1 50 50"},P("animate",{attributeName:"stroke-opacity",begin:"0.2s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"}))]);Xw.displayName="LoadingIcon";const F0=["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"],$7=z({name:"GiscusComment",props:{identifier:{type:String,required:!0},darkmode:Boolean},setup(e){const t=_7(),n=Mh(),o=!!(t.repo&&t.repoId&&t.category&&t.categoryId),{repo:l,repoId:a,category:r,categoryId:s}=t,i=M(!1),c=S(()=>{if(F0.includes(n.value))return n.value;const d=n.value.split("-")[0];return F0.includes(d)?d:"en"}),f=S(()=>({repo:l,repoId:a,category:r,categoryId:s,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 qe(async()=>{await cn(()=>import("./giscus-7BMGhbDA.js"),__vite__mapDeps([])),i.value=!0}),()=>o?P("div",{id:"comment",class:["giscus-wrapper",{"input-top":t.inputPosition!=="bottom"}]},i.value?P("giscus-widget",f.value):P(Xw)):null}}),T7=z({name:"CommentService",props:{darkmode:Boolean},setup(e){const t=Yw(),n=on(),o=an(),l=t.comment!==!1,a=S(()=>o.value.comment||l&&o.value.comment!==!1);return()=>P($7,{id:"vp-comment",identifier:o.value.commentID||n.value.path,darkmode:e.darkmode,style:{display:a.value?"block":"none"}})}}),O7=oo({enhance:({app:e})=>{E7(e),e.component("CommentService",T7)}}),I7=/\b(?:Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini)/i,x7=()=>typeof window<"u"&&window.navigator&&"userAgent"in window.navigator&&I7.test(navigator.userAgent),M7=({delay:e=500,duration:t=2e3,locales:n,selector:o,showInMobile:l})=>{const{copy:a,copied:r}=A$({legacy:!0,copiedDuring:t}),s=ou(n),i=on(),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",s.value.copy),h.setAttribute("data-copied",s.value.copied),p.parentElement&&p.parentElement.insertBefore(h,p),p.setAttribute("copy-code-registered","")}},f=()=>{Ke().then(()=>Iw(e)).then(()=>{o.forEach(p=>{document.querySelectorAll(p).forEach(c)})})},d=(p,h,m)=>{let{innerText:v=""}=h;/language-(shellscript|shell|bash|sh|zsh)/.test(p.classList.toString())&&(v=v.replace(/^ *(\$|>) /gm,"")),a(v).then(()=>{m.classList.add("copied"),fe(r,()=>{m.classList.remove("copied"),m.blur()},{once:!0})})};qe(()=>{const p=!x7()||l;p&&f(),bn("click",h=>{const m=h.target;if(m.matches('div[class*="language-"] > button.copy')){const v=m.parentElement,y=m.nextElementSibling;y&&d(v,y,m)}else if(m.matches('div[class*="language-"] div.vp-copy-icon')){const v=m.parentElement,y=v.parentElement,g=v.nextElementSibling;g&&d(y,g,v)}}),fe(()=>i.value.path,()=>{p&&f()})})};var N7={"/":{copy:"复制代码",copied:"已复制"}},A7=['.theme-hope-content div[class*="language-"] pre'];const P7=500,R7=2e3,L7=N7,D7=A7,B7=!1,F7=oo({setup:()=>{M7({selector:D7,locales:L7,duration:R7,delay:P7,showInMobile:B7})}}),ju=$s("VUEPRESS_CODE_TAB_STORE",{});var V7=z({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=M(e.active),o=wt([]),l=()=>{e.tabId&&(ju.value[e.tabId]=e.data[n.value].id)},a=(c=n.value)=>{n.value=c{n.value=c>0?c-1:o.value.length-1,o.value[n.value].focus()},s=(c,f)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=f):c.key==="ArrowRight"?(c.preventDefault(),a()):c.key==="ArrowLeft"&&(c.preventDefault(),r()),e.tabId&&(ju.value[e.tabId]=e.data[n.value].id)},i=()=>{if(e.tabId){const c=e.data.findIndex(({id:f})=>ju.value[e.tabId]===f);if(c!==-1)return c}return e.active};return qe(()=>{n.value=i(),fe(()=>ju.value[e.tabId],(c,f)=>{if(e.tabId&&c!==f){const d=e.data.findIndex(({id:p})=>p===c);d!==-1&&(n.value=d)}})}),()=>e.data.length?P("div",{class:"vp-code-tabs"},[P("div",{class:"vp-code-tabs-nav",role:"tablist"},e.data.map(({id:c},f)=>{const d=f===n.value;return P("button",{type:"button",ref:p=>{p&&(o.value[f]=p)},class:["vp-code-tab-nav",{active:d}],role:"tab","aria-controls":`codetab-${e.id}-${f}`,"aria-selected":d,onClick:()=>{n.value=f,l()},onKeydown:p=>s(p,f)},t[`title${f}`]({value:c,isActive:d}))})),e.data.map(({id:c},f)=>{const d=f===n.value;return P("div",{class:["vp-code-tab",{active:d}],id:`codetab-${e.id}-${f}`,role:"tabpanel","aria-expanded":d},[P("div",{class:"vp-code-tab-title"},t[`title${f}`]({value:c,isActive:d})),t[`tab${f}`]({value:c,isActive:d})])})]):null}});const Zw=({active:e=!1},{slots:t})=>{var n;return P("div",{class:["code-group-item",{active:e}],"aria-selected":e},(n=t.default)==null?void 0:n.call(t))};Zw.displayName="CodeGroupItem";const H7=z({name:"CodeGroup",slots:Object,setup(e,{slots:t}){const n=M(-1),o=wt([]),l=(s=n.value)=>{n.value=s{n.value=s>0?s-1:o.value.length-1,o.value[n.value].focus()},r=(s,i)=>{s.key===" "||s.key==="Enter"?(s.preventDefault(),n.value=i):s.key==="ArrowRight"?(s.preventDefault(),l(i)):s.key==="ArrowLeft"&&(s.preventDefault(),a(i))};return()=>{var i;const s=(((i=t.default)==null?void 0:i.call(t))||[]).filter(c=>c.type.name==="CodeGroupItem").map(c=>(c.props===null&&(c.props={}),c));return s.length===0?null:(n.value<0||n.value>s.length-1?(n.value=s.findIndex(c=>"active"in c.props),n.value===-1&&(n.value=0)):s.forEach((c,f)=>{c.props.active=f===n.value}),P("div",{class:"code-group"},[P("div",{class:"code-group-nav"},s.map((c,f)=>{const d=f===n.value;return P("button",{type:"button",ref:p=>{p&&(o.value[f]=p)},class:["code-group-nav-tab",{active:d}],"aria-pressed":d,"aria-expanded":d,onClick:()=>{n.value=f},onKeydown:p=>r(p,f)},c.props.title)})),s]))}}}),un=({name:e="",color:t="currentColor"},{slots:n})=>{var o;return P("svg",{xmlns:"http://www.w3.org/2000/svg",class:["icon",`${e}-icon`],viewBox:"0 0 1024 1024",fill:t,"aria-label":`${e} icon`},(o=n.default)==null?void 0:o.call(n))};un.displayName="IconBase";const Jw=({size:e=48,stroke:t=4,wrapper:n=!0,height:o=2*e})=>{const l=P("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,preserveAspectRatio:"xMidYMid",viewBox:"25 25 50 50"},[P("animateTransform",{attributeName:"transform",type:"rotate",dur:"2s",keyTimes:"0;1",repeatCount:"indefinite",values:"0;360"}),P("circle",{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":t,"stroke-linecap":"round"},[P("animate",{attributeName:"stroke-dasharray",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"1,200;90,200;1,200"}),P("animate",{attributeName:"stroke-dashoffset",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"0;-35px;-125px"})])]);return n?P("div",{class:"loading-icon-wrapper",style:`display:flex;align-items:center;justify-content:center;height:${o}px`},l):l};Jw.displayName="LoadingIcon";const Qw=(e,{slots:t})=>{var n;return(n=t.default)==null?void 0:n.call(t)},e3=()=>P(un,{name:"github"},()=>P("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"}));e3.displayName="GitHubIcon";const t3=()=>P(un,{name:"gitlab"},()=>P("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"}));t3.displayName="GitLabIcon";const n3=()=>P(un,{name:"gitee"},()=>P("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"}));n3.displayName="GiteeIcon";const o3=()=>P(un,{name:"bitbucket"},()=>P("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"}));o3.displayName="BitbucketIcon";const l3=()=>P(un,{name:"source"},()=>P("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"}));l3.displayName="SourceIcon";const a3=(e,t)=>{let n=1;for(let o=0;o>6;return n+=n<<3,n^=n>>11,n%t},r3=/#.*$/u,z7=e=>{const t=r3.exec(e);return t?t[0]:""},V0=e=>decodeURI(e).replace(r3,"").replace(/\/index\.html$/iu,"/").replace(/\.html$/iu,"").replace(/(README|index)?\.md$/iu,""),s3=(e,t)=>{if(!xw(t))return!1;const n=V0(e.path),o=V0(t),l=z7(t);return l?l===e.hash&&(!o||n===o):n===o},K7=e=>sr(e)?e:`https://github.com/${e}`,i3=e=>!sr(e)||/github\.com/.test(e)?"GitHub":/bitbucket\.org/.test(e)?"Bitbucket":/gitlab\.com/.test(e)?"GitLab":/gitee\.com/.test(e)?"Gitee":null;var j7=e=>Object.prototype.toString.call(e)==="[object Object]",$i=e=>typeof e=="string";const u3=Array.isArray,H0=e=>j7(e)&&$i(e.name),z0=(e,t=!1)=>e?u3(e)?e.map(n=>$i(n)?{name:n}:H0(n)?n:null).filter(n=>n!==null):$i(e)?[{name:e}]:H0(e)?[e]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${t?"":"| false"} | undefined\`, but got`,e),[]):[],c3=(e,t)=>{if(e){if(u3(e)&&e.every($i))return e;if($i(e))return[e];console.error(`Expect ${t||"value"} to be \`string[] | string | undefined\`, but got`,e)}return[]},W7=e=>c3(e,"category"),U7=e=>c3(e,"tag"),q7='',G7='';var Y7={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 Vf=Y7,K0={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"}}},X7=(e,t,n)=>{const o=document.createElement(e);return _s(t)&&dr(t).forEach(l=>{if(l.indexOf("data"))o[l]=t[l];else{const a=l.replace("data","");o.dataset[a]=t[l]}}),n&&n.forEach(l=>{o.appendChild(l)}),o},Bh=e=>({...Vf,...e,jsLib:Array.from(new Set([...Vf.jsLib||[],...e.jsLib||[]])),cssLib:Array.from(new Set([...Vf.cssLib||[],...e.cssLib||[]]))}),zr=(e,t)=>{if(xw(e[t]))return e[t];const n=new Promise(o=>{var a;const l=document.createElement("script");l.src=t,(a=document.querySelector("body"))==null||a.appendChild(l),l.onload=()=>{o()}});return e[t]=n,n},Z7=(e,t)=>{if(t.css&&Array.from(e.childNodes).every(n=>n.nodeName!=="STYLE")){const n=X7("style",{innerHTML:t.css});e.appendChild(n)}},J7=(e,t,n)=>{const o=n.getScript();if(o&&Array.from(t.childNodes).every(l=>l.nodeName!=="SCRIPT")){const l=document.createElement("script");l.appendChild(document.createTextNode(`{const document=window.document.querySelector('#${e} .vp-code-demo-display').shadowRoot; + */const Pt={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=Pt.isStarted();e=Ff(e,Pt.settings.minimum,1),Pt.status=e===1?null:e;const n=Pt.render(!t),o=n.querySelector(Pt.settings.barSelector),l=Pt.settings.speed,a=Pt.settings.easing;return n.offsetWidth,f7(r=>{Ku(o,{transform:"translate3d("+L0(e)+"%,0,0)",transition:"all "+l+"ms "+a}),e===1?(Ku(n,{transition:"none",opacity:"1"}),n.offsetWidth,setTimeout(function(){Ku(n,{transition:"all "+l+"ms linear",opacity:"0"}),setTimeout(function(){Pt.remove(),r()},l)},l)):setTimeout(()=>r(),l)}),Pt},isStarted:()=>typeof Pt.status=="number",start:()=>{Pt.status||Pt.set(0);const e=()=>{setTimeout(()=>{Pt.status&&(Pt.trickle(),e())},Pt.settings.trickleSpeed)};return Pt.settings.trickle&&e(),Pt},done:e=>!e&&!Pt.status?Pt:Pt.inc(.3+.5*Math.random()).set(1),inc:e=>{let t=Pt.status;return t?(typeof e!="number"&&(e=(1-t)*Ff(Math.random()*t,.1,.95)),t=Ff(t+e,0,.994),Pt.set(t)):Pt.start()},trickle:()=>Pt.inc(Math.random()*Pt.settings.trickleRate),render:e=>{if(Pt.isRendered())return document.getElementById("nprogress");D0(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=Pt.settings.template;const n=t.querySelector(Pt.settings.barSelector),o=e?"-100":L0(Pt.status||0),l=document.querySelector(Pt.settings.parent);return Ku(n,{transition:"all 0 linear",transform:"translate3d("+o+"%,0,0)"}),l!==document.body&&D0(l,"nprogress-custom-parent"),l==null||l.appendChild(t),t},remove:()=>{B0(document.documentElement,"nprogress-busy"),B0(document.querySelector(Pt.settings.parent),"nprogress-custom-parent");const e=document.getElementById("nprogress");e&&p7(e)},isRendered:()=>!!document.getElementById("nprogress")},Ff=(e,t,n)=>en?n:e,L0=e=>(-1+e)*100,f7=function(){const e=[];function t(){const n=e.shift();n&&n(t)}return function(n){e.push(n),e.length===1&&t()}}(),Ku=function(){const e=["Webkit","O","Moz","ms"],t={};function n(r){return r.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(s,i){return i.toUpperCase()})}function o(r){const s=document.body.style;if(r in s)return r;let i=e.length;const c=r.charAt(0).toUpperCase()+r.slice(1);let f;for(;i--;)if(f=e[i]+c,f in s)return f;return r}function l(r){return r=n(r),t[r]??(t[r]=o(r))}function a(r,s,i){s=l(s),r.style[s]=i}return function(r,s){for(const i in s){const c=s[i];c!==void 0&&Object.prototype.hasOwnProperty.call(s,i)&&a(r,i,c)}}}(),Ww=(e,t)=>(typeof e=="string"?e:Dh(e)).indexOf(" "+t+" ")>=0,D0=(e,t)=>{const n=Dh(e),o=n+t;Ww(n,t)||(e.className=o.substring(1))},B0=(e,t)=>{const n=Dh(e);if(!Ww(e,t))return;const o=n.replace(" "+t+" "," ");e.className=o.substring(1,o.length-1)},Dh=e=>(" "+(e.className||"")+" ").replace(/\s+/gi," "),p7=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)},v7=()=>{qe(()=>{const e=ir(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||Pt.start()}),e.afterEach(n=>{t.add(n.path),Pt.done()})})},h7=oo({setup(){v7()}}),m7=JSON.parse('{"encrypt":{"config":{"/demo/encrypt.html":["$2a$10$/ElBGts86UjX6n/5Fkos.e1ozhCZeEn8AcGmVZ9MWrS7di8adFhom"]}},"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,"locales":{"/":{"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":"/deployment/","prefix":"deployment/"},{"text":"使用及开发","link":"/usage/","prefix":"usage/"},{"text":"资源及插件","link":"/store/resource","prefix":"store/"}],"sidebar":{"/":["",{"text":"安装及部署","icon":"laptop-code","prefix":"deployment/","children":"structure"},{"text":"使用及开发","icon":"book","prefix":"usage/","children":"structure"},{"text":"资源及插件","icon":"store","prefix":"store/","children":"structure"}]}}}}'),g7=M(m7),Uw=()=>g7,qw=Symbol(""),y7=()=>{const e=Pe(qw);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},b7=(e,t)=>{const{locales:n,...o}=e;return{...o,...n==null?void 0:n[t]}},w7=oo({enhance({app:e}){const t=Uw(),n=e._context.provides[xh],o=S(()=>b7(t.value,n.routeLocale.value));e.provide(qw,o),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return o.value}}})}});var C7={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 S7=C7;let k7=S7;const Gw=Symbol(""),Yw=()=>Pe(Gw),_7=Yw,E7=e=>{e.provide(Gw,k7)},Xw=()=>P("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",preserveAspectRatio:"xMidYMid",viewBox:"0 0 100 100"},[P("circle",{cx:"28",cy:"75",r:"11",fill:"currentColor"},P("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),P("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 47a28 28 0 0 1 28 28"},P("animate",{attributeName:"stroke-opacity",begin:"0.1s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),P("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 25a50 50 0 0 1 50 50"},P("animate",{attributeName:"stroke-opacity",begin:"0.2s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"}))]);Xw.displayName="LoadingIcon";const F0=["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"],$7=z({name:"GiscusComment",props:{identifier:{type:String,required:!0},darkmode:Boolean},setup(e){const t=_7(),n=Mh(),o=!!(t.repo&&t.repoId&&t.category&&t.categoryId),{repo:l,repoId:a,category:r,categoryId:s}=t,i=M(!1),c=S(()=>{if(F0.includes(n.value))return n.value;const d=n.value.split("-")[0];return F0.includes(d)?d:"en"}),f=S(()=>({repo:l,repoId:a,category:r,categoryId:s,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 qe(async()=>{await cn(()=>import("./giscus-7BMGhbDA.js"),__vite__mapDeps([])),i.value=!0}),()=>o?P("div",{id:"comment",class:["giscus-wrapper",{"input-top":t.inputPosition!=="bottom"}]},i.value?P("giscus-widget",f.value):P(Xw)):null}}),T7=z({name:"CommentService",props:{darkmode:Boolean},setup(e){const t=Yw(),n=on(),o=an(),l=t.comment!==!1,a=S(()=>o.value.comment||l&&o.value.comment!==!1);return()=>P($7,{id:"vp-comment",identifier:o.value.commentID||n.value.path,darkmode:e.darkmode,style:{display:a.value?"block":"none"}})}}),O7=oo({enhance:({app:e})=>{E7(e),e.component("CommentService",T7)}}),I7=/\b(?:Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini)/i,x7=()=>typeof window<"u"&&window.navigator&&"userAgent"in window.navigator&&I7.test(navigator.userAgent),M7=({delay:e=500,duration:t=2e3,locales:n,selector:o,showInMobile:l})=>{const{copy:a,copied:r}=A$({legacy:!0,copiedDuring:t}),s=ou(n),i=on(),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",s.value.copy),h.setAttribute("data-copied",s.value.copied),p.parentElement&&p.parentElement.insertBefore(h,p),p.setAttribute("copy-code-registered","")}},f=()=>{Ke().then(()=>Iw(e)).then(()=>{o.forEach(p=>{document.querySelectorAll(p).forEach(c)})})},d=(p,h,m)=>{let{innerText:v=""}=h;/language-(shellscript|shell|bash|sh|zsh)/.test(p.classList.toString())&&(v=v.replace(/^ *(\$|>) /gm,"")),a(v).then(()=>{m.classList.add("copied"),fe(r,()=>{m.classList.remove("copied"),m.blur()},{once:!0})})};qe(()=>{const p=!x7()||l;p&&f(),bn("click",h=>{const m=h.target;if(m.matches('div[class*="language-"] > button.copy')){const v=m.parentElement,y=m.nextElementSibling;y&&d(v,y,m)}else if(m.matches('div[class*="language-"] div.vp-copy-icon')){const v=m.parentElement,y=v.parentElement,g=v.nextElementSibling;g&&d(y,g,v)}}),fe(()=>i.value.path,()=>{p&&f()})})};var N7={"/":{copy:"复制代码",copied:"已复制"}},A7=['.theme-hope-content div[class*="language-"] pre'];const P7=500,R7=2e3,L7=N7,D7=A7,B7=!1,F7=oo({setup:()=>{M7({selector:D7,locales:L7,duration:R7,delay:P7,showInMobile:B7})}}),ju=$s("VUEPRESS_CODE_TAB_STORE",{});var V7=z({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=M(e.active),o=wt([]),l=()=>{e.tabId&&(ju.value[e.tabId]=e.data[n.value].id)},a=(c=n.value)=>{n.value=c{n.value=c>0?c-1:o.value.length-1,o.value[n.value].focus()},s=(c,f)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=f):c.key==="ArrowRight"?(c.preventDefault(),a()):c.key==="ArrowLeft"&&(c.preventDefault(),r()),e.tabId&&(ju.value[e.tabId]=e.data[n.value].id)},i=()=>{if(e.tabId){const c=e.data.findIndex(({id:f})=>ju.value[e.tabId]===f);if(c!==-1)return c}return e.active};return qe(()=>{n.value=i(),fe(()=>ju.value[e.tabId],(c,f)=>{if(e.tabId&&c!==f){const d=e.data.findIndex(({id:p})=>p===c);d!==-1&&(n.value=d)}})}),()=>e.data.length?P("div",{class:"vp-code-tabs"},[P("div",{class:"vp-code-tabs-nav",role:"tablist"},e.data.map(({id:c},f)=>{const d=f===n.value;return P("button",{type:"button",ref:p=>{p&&(o.value[f]=p)},class:["vp-code-tab-nav",{active:d}],role:"tab","aria-controls":`codetab-${e.id}-${f}`,"aria-selected":d,onClick:()=>{n.value=f,l()},onKeydown:p=>s(p,f)},t[`title${f}`]({value:c,isActive:d}))})),e.data.map(({id:c},f)=>{const d=f===n.value;return P("div",{class:["vp-code-tab",{active:d}],id:`codetab-${e.id}-${f}`,role:"tabpanel","aria-expanded":d},[P("div",{class:"vp-code-tab-title"},t[`title${f}`]({value:c,isActive:d})),t[`tab${f}`]({value:c,isActive:d})])})]):null}});const Zw=({active:e=!1},{slots:t})=>{var n;return P("div",{class:["code-group-item",{active:e}],"aria-selected":e},(n=t.default)==null?void 0:n.call(t))};Zw.displayName="CodeGroupItem";const H7=z({name:"CodeGroup",slots:Object,setup(e,{slots:t}){const n=M(-1),o=wt([]),l=(s=n.value)=>{n.value=s{n.value=s>0?s-1:o.value.length-1,o.value[n.value].focus()},r=(s,i)=>{s.key===" "||s.key==="Enter"?(s.preventDefault(),n.value=i):s.key==="ArrowRight"?(s.preventDefault(),l(i)):s.key==="ArrowLeft"&&(s.preventDefault(),a(i))};return()=>{var i;const s=(((i=t.default)==null?void 0:i.call(t))||[]).filter(c=>c.type.name==="CodeGroupItem").map(c=>(c.props===null&&(c.props={}),c));return s.length===0?null:(n.value<0||n.value>s.length-1?(n.value=s.findIndex(c=>"active"in c.props),n.value===-1&&(n.value=0)):s.forEach((c,f)=>{c.props.active=f===n.value}),P("div",{class:"code-group"},[P("div",{class:"code-group-nav"},s.map((c,f)=>{const d=f===n.value;return P("button",{type:"button",ref:p=>{p&&(o.value[f]=p)},class:["code-group-nav-tab",{active:d}],"aria-pressed":d,"aria-expanded":d,onClick:()=>{n.value=f},onKeydown:p=>r(p,f)},c.props.title)})),s]))}}}),un=({name:e="",color:t="currentColor"},{slots:n})=>{var o;return P("svg",{xmlns:"http://www.w3.org/2000/svg",class:["icon",`${e}-icon`],viewBox:"0 0 1024 1024",fill:t,"aria-label":`${e} icon`},(o=n.default)==null?void 0:o.call(n))};un.displayName="IconBase";const Jw=({size:e=48,stroke:t=4,wrapper:n=!0,height:o=2*e})=>{const l=P("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,preserveAspectRatio:"xMidYMid",viewBox:"25 25 50 50"},[P("animateTransform",{attributeName:"transform",type:"rotate",dur:"2s",keyTimes:"0;1",repeatCount:"indefinite",values:"0;360"}),P("circle",{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":t,"stroke-linecap":"round"},[P("animate",{attributeName:"stroke-dasharray",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"1,200;90,200;1,200"}),P("animate",{attributeName:"stroke-dashoffset",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"0;-35px;-125px"})])]);return n?P("div",{class:"loading-icon-wrapper",style:`display:flex;align-items:center;justify-content:center;height:${o}px`},l):l};Jw.displayName="LoadingIcon";const Qw=(e,{slots:t})=>{var n;return(n=t.default)==null?void 0:n.call(t)},e3=()=>P(un,{name:"github"},()=>P("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"}));e3.displayName="GitHubIcon";const t3=()=>P(un,{name:"gitlab"},()=>P("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"}));t3.displayName="GitLabIcon";const n3=()=>P(un,{name:"gitee"},()=>P("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"}));n3.displayName="GiteeIcon";const o3=()=>P(un,{name:"bitbucket"},()=>P("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"}));o3.displayName="BitbucketIcon";const l3=()=>P(un,{name:"source"},()=>P("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"}));l3.displayName="SourceIcon";const a3=(e,t)=>{let n=1;for(let o=0;o>6;return n+=n<<3,n^=n>>11,n%t},r3=/#.*$/u,z7=e=>{const t=r3.exec(e);return t?t[0]:""},V0=e=>decodeURI(e).replace(r3,"").replace(/\/index\.html$/iu,"/").replace(/\.html$/iu,"").replace(/(README|index)?\.md$/iu,""),s3=(e,t)=>{if(!xw(t))return!1;const n=V0(e.path),o=V0(t),l=z7(t);return l?l===e.hash&&(!o||n===o):n===o},K7=e=>sr(e)?e:`https://github.com/${e}`,i3=e=>!sr(e)||/github\.com/.test(e)?"GitHub":/bitbucket\.org/.test(e)?"Bitbucket":/gitlab\.com/.test(e)?"GitLab":/gitee\.com/.test(e)?"Gitee":null;var j7=e=>Object.prototype.toString.call(e)==="[object Object]",$i=e=>typeof e=="string";const u3=Array.isArray,H0=e=>j7(e)&&$i(e.name),z0=(e,t=!1)=>e?u3(e)?e.map(n=>$i(n)?{name:n}:H0(n)?n:null).filter(n=>n!==null):$i(e)?[{name:e}]:H0(e)?[e]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${t?"":"| false"} | undefined\`, but got`,e),[]):[],c3=(e,t)=>{if(e){if(u3(e)&&e.every($i))return e;if($i(e))return[e];console.error(`Expect ${t||"value"} to be \`string[] | string | undefined\`, but got`,e)}return[]},W7=e=>c3(e,"category"),U7=e=>c3(e,"tag"),q7='',G7='';var Y7={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 Vf=Y7,K0={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"}}},X7=(e,t,n)=>{const o=document.createElement(e);return _s(t)&&dr(t).forEach(l=>{if(l.indexOf("data"))o[l]=t[l];else{const a=l.replace("data","");o.dataset[a]=t[l]}}),n&&n.forEach(l=>{o.appendChild(l)}),o},Bh=e=>({...Vf,...e,jsLib:Array.from(new Set([...Vf.jsLib||[],...e.jsLib||[]])),cssLib:Array.from(new Set([...Vf.cssLib||[],...e.cssLib||[]]))}),zr=(e,t)=>{if(xw(e[t]))return e[t];const n=new Promise(o=>{var a;const l=document.createElement("script");l.src=t,(a=document.querySelector("body"))==null||a.appendChild(l),l.onload=()=>{o()}});return e[t]=n,n},Z7=(e,t)=>{if(t.css&&Array.from(e.childNodes).every(n=>n.nodeName!=="STYLE")){const n=X7("style",{innerHTML:t.css});e.appendChild(n)}},J7=(e,t,n)=>{const o=n.getScript();if(o&&Array.from(t.childNodes).every(l=>l.nodeName!=="SCRIPT")){const l=document.createElement("script");l.appendChild(document.createTextNode(`{const document=window.document.querySelector('#${e} .vp-code-demo-display').shadowRoot; ${o}}`)),t.appendChild(l)}},Q7=e=>{const t=dr(e),n={html:[],js:[],css:[],isLegal:!1};return["html","js","css"].forEach(o=>{const l=t.filter(a=>K0[o].types.includes(a));if(l.length){const a=l[0];n[o]=[e[a].replace(/^\n|\n$/g,""),K0[o].map[a]||a]}}),n.isLegal=(!n.html.length||n.html[1]==="none")&&(!n.js.length||n.js[1]==="none")&&(!n.css.length||n.css[1]==="none"),n},d3=e=>e.replace(/
/g,"
").replace(/<((\S+)[^<]*?)\s+\/>/g,"<$1>"),f3=e=>`
${d3(e)}
`,eT=e=>`${e.replace("export default ","const $reactApp = ").replace(/App\.__style__(\s*)=(\s*)`([\s\S]*)?`/,"")}; diff --git a/assets/basic_command.html-B1R7FCH6.js b/assets/basic_command.html-DeqEvqvj.js similarity index 99% rename from assets/basic_command.html-B1R7FCH6.js rename to assets/basic_command.html-DeqEvqvj.js index e40f9cc3..5a57b8f6 100644 --- a/assets/basic_command.html-B1R7FCH6.js +++ b/assets/basic_command.html-DeqEvqvj.js @@ -1 +1 @@ -import{_ as t,o as e,c as d,e as l}from"./app-DyBg2AMf.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":[["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:updated_time","content":"2024-06-16T15:33:58.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["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\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://sfkm.me\\"}]}"]]},"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-tipHsUUe.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":[["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:updated_time","content":"2024-06-16T15:33:58.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["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\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://sfkm.me\\"}]}"]]},"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/childrensdaybak.html-DAPGSyq2.js b/assets/childrensdaybak.html-BEUTGGDa.js similarity index 98% rename from assets/childrensdaybak.html-DAPGSyq2.js rename to assets/childrensdaybak.html-BEUTGGDa.js index af593e9d..ccb7a9a6 100644 --- a/assets/childrensdaybak.html-DAPGSyq2.js +++ b/assets/childrensdaybak.html-BEUTGGDa.js @@ -1 +1 @@ -import{_ as t,o as e,c as i}from"./app-DyBg2AMf.js";const o={};function a(s,n){return e(),i("div")}const c=t(o,[["render",a],["__file","childrensdaybak.html.vue"]]),r=JSON.parse('{"path":"/childrensdaybak.html","title":"首页","lang":"zh-CN","frontmatter":{"home":true,"icon":"home","title":"首页","heroImage":"https://cdn.liteyuki.icu/static/img/logo.png","bgImage":null,"bgImageDark":null,"bgImageStyle":{"background-attachment":"fixed"},"heroText":"LiteyukiBot","tagline":"轻雪机器人,一个以轻量和简洁为设计理念基于Nonebot2的OneBot标准聊天机器人","actions":[{"text":"快速部署","icon":"lightbulb","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":"基于Nonebot2","icon":"robot","details":"拥有良好的生态支持","link":"https://nonebot.dev/"},{"title":"便捷插件管理","icon":"plug","details":"使用包管理器,无需命令行操作即可安装/卸载插件"},{"title":"人性化交互","icon":"mouse-pointer","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个插件,3s内启动"},{"title":"滚动更新","icon":"cloud-download","details":"让你的机器人保持最新提交"},{"title":"开源","icon":"code","details":"项目遵循MIT协议开源,欢迎各位的贡献"}]},{"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/snowykami/LiteyukiBot 以克隆项目至本地。","details":"如果无法连接到GitHub,可以使用 git clone https://gitee.com/snowykami/LiteyukiBot。"},{"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":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/childrensdaybak.html"}],["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:updated_time","content":"2024-06-01T07:01:04.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-06-01T07:01:04.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"首页\\"}"]]},"headers":[],"git":{"createdTime":1717225264000,"updatedTime":1717225264000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":1.45,"words":435},"filePathRelative":"childrensdaybak.md","localizedDate":"2024年6月1日"}');export{c as comp,r as data}; +import{_ as t,o as e,c as i}from"./app-tipHsUUe.js";const o={};function a(s,n){return e(),i("div")}const c=t(o,[["render",a],["__file","childrensdaybak.html.vue"]]),r=JSON.parse('{"path":"/childrensdaybak.html","title":"首页","lang":"zh-CN","frontmatter":{"home":true,"icon":"home","title":"首页","heroImage":"https://cdn.liteyuki.icu/static/img/logo.png","bgImage":null,"bgImageDark":null,"bgImageStyle":{"background-attachment":"fixed"},"heroText":"LiteyukiBot","tagline":"轻雪机器人,一个以轻量和简洁为设计理念基于Nonebot2的OneBot标准聊天机器人","actions":[{"text":"快速部署","icon":"lightbulb","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":"基于Nonebot2","icon":"robot","details":"拥有良好的生态支持","link":"https://nonebot.dev/"},{"title":"便捷插件管理","icon":"plug","details":"使用包管理器,无需命令行操作即可安装/卸载插件"},{"title":"人性化交互","icon":"mouse-pointer","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个插件,3s内启动"},{"title":"滚动更新","icon":"cloud-download","details":"让你的机器人保持最新提交"},{"title":"开源","icon":"code","details":"项目遵循MIT协议开源,欢迎各位的贡献"}]},{"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/snowykami/LiteyukiBot 以克隆项目至本地。","details":"如果无法连接到GitHub,可以使用 git clone https://gitee.com/snowykami/LiteyukiBot。"},{"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":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/childrensdaybak.html"}],["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:updated_time","content":"2024-06-01T07:01:04.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-06-01T07:01:04.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"首页\\"}"]]},"headers":[],"git":{"createdTime":1717225264000,"updatedTime":1717225264000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":1.45,"words":435},"filePathRelative":"childrensdaybak.md","localizedDate":"2024年6月1日"}');export{c as comp,r as data}; diff --git a/assets/config.html-DoO8tJKQ.js b/assets/config.html-ELkZIUrA.js similarity index 99% rename from assets/config.html-DoO8tJKQ.js rename to assets/config.html-ELkZIUrA.js index 45680245..58d9022b 100644 --- a/assets/config.html-DoO8tJKQ.js +++ b/assets/config.html-ELkZIUrA.js @@ -1,4 +1,4 @@ -import{_ as s,r as t,o,c,b as n,d as a,a as l,e as p}from"./app-DyBg2AMf.js";const i={},r=p(`

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

基础配置项

command_start: [ "/", "" ] # 指令前缀,若没有""空命令头,请开启alconna_use_command_start保证alconna解析正常
+import{_ as s,r as t,o,c,b as n,d as a,a as l,e as p}from"./app-tipHsUUe.js";const i={},r=p(`

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

基础配置项

command_start: [ "/", "" ] # 指令前缀,若没有""空命令头,请开启alconna_use_command_start保证alconna解析正常
 host: 127.0.0.1 # 监听地址,默认为本机,若要接收外部请求请填写0.0.0.0
 port: 20216 # 绑定端口
 nickname: [ "liteyuki" ]  # 机器人昵称列表
diff --git a/assets/extra_command.html-CepT3st1.js b/assets/extra_command.html-BF1cb8-p.js
similarity index 99%
rename from assets/extra_command.html-CepT3st1.js
rename to assets/extra_command.html-BF1cb8-p.js
index 472e9472..bc70c0dd 100644
--- a/assets/extra_command.html-CepT3st1.js
+++ b/assets/extra_command.html-BF1cb8-p.js
@@ -1,4 +1,4 @@
-import{_ as t,o as e,c as a,e as n}from"./app-DyBg2AMf.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-tipHsUUe.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-C1cVbktr.js b/assets/fandq.html-XhYAhw3A.js
similarity index 99%
rename from assets/fandq.html-C1cVbktr.js
rename to assets/fandq.html-XhYAhw3A.js
index 041de9cd..40910121 100644
--- a/assets/fandq.html-C1cVbktr.js
+++ b/assets/fandq.html-XhYAhw3A.js
@@ -1 +1 @@
-import{_ as r,r as l,o as a,c as i,b as e,d as t,a as n,e as c}from"./app-DyBg2AMf.js";const s={},p=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),w={href:"https://nonebot.dev",target:"_blank",rel:"noopener noreferrer"},L={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(P,R){const o=l("ExternalLinkIcon");return a(),i("div",null,[p,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",w,[t("Nonebot2"),n(o)]),t("提供的框架支持")]),e("li",null,[e("a",L,[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 D=r(s,[["render",G],["__file","fandq.html.vue"]]),E=JSON.parse('{"path":"/deployment/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":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/deployment/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:updated_time","content":"2024-04-23T16:23:05.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:tag","content":"配置"}],["meta",{"property":"article:tag","content":"部署"}],["meta",{"property":"article:modified_time","content":"2024-04-23T16:23:05.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"答疑\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-23T16:23:05.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://sfkm.me\\"}]}"]]},"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":1711695504000,"updatedTime":1713889385000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":10},{"name":"Snowykami","email":"79104275+snowykami@users.noreply.github.com","commits":1}]},"readingTime":{"minutes":2.44,"words":731},"filePathRelative":"deployment/fandq.md","localizedDate":"2024年3月29日","autoDesc":true}');export{D as comp,E as data}; +import{_ as r,r as l,o as a,c as i,b as e,d as t,a as n,e as c}from"./app-tipHsUUe.js";const s={},p=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),w={href:"https://nonebot.dev",target:"_blank",rel:"noopener noreferrer"},L={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(P,R){const o=l("ExternalLinkIcon");return a(),i("div",null,[p,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",w,[t("Nonebot2"),n(o)]),t("提供的框架支持")]),e("li",null,[e("a",L,[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 D=r(s,[["render",G],["__file","fandq.html.vue"]]),E=JSON.parse('{"path":"/deployment/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":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/deployment/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:updated_time","content":"2024-04-23T16:23:05.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:tag","content":"配置"}],["meta",{"property":"article:tag","content":"部署"}],["meta",{"property":"article:modified_time","content":"2024-04-23T16:23:05.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"答疑\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-23T16:23:05.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://sfkm.me\\"}]}"]]},"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":1711695504000,"updatedTime":1713889385000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":10},{"name":"Snowykami","email":"79104275+snowykami@users.noreply.github.com","commits":1}]},"readingTime":{"minutes":2.44,"words":731},"filePathRelative":"deployment/fandq.md","localizedDate":"2024年3月29日","autoDesc":true}');export{D as comp,E as data}; diff --git a/assets/foolsday.html-Ce3vIswz.js b/assets/foolsday.html-D35n-64a.js similarity index 98% rename from assets/foolsday.html-Ce3vIswz.js rename to assets/foolsday.html-D35n-64a.js index a12c114b..e5b66947 100644 --- a/assets/foolsday.html-Ce3vIswz.js +++ b/assets/foolsday.html-D35n-64a.js @@ -1 +1 @@ -import{_ as t,o as e,c as o}from"./app-DyBg2AMf.js";const i={};function a(n,s){return e(),o("div")}const c=t(i,[["render",a],["__file","foolsday.html.vue"]]),m=JSON.parse('{"path":"/foolsday.html","title":"首页","lang":"zh-CN","frontmatter":{"home":true,"icon":"home","title":"首页","heroImage":"https://cdn.liteyuki.icu/static/img/lykwi.png","bgImage":null,"bgImageDark":null,"bgImageStyle":{"background-attachment":"fixed"},"heroText":"HeavylavaBot666","tagline":"重浆机器人,一个以笨重和复杂为设计理念基于Koishi114514的TwoBotv1919810标准聊天机器人,可用于雪地清扫,使用Typethon编写","actions":[{"text":"快速结束","icon":"lightbulb","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":"基于Koishi.js233","icon":"robot","details":"拥有辣鸡的生态支持","link":"https://nonebot.dev/"},{"title":"盲目插件管理","icon":"plug","details":"基于nbshi使用xmpn和bib,让你无法安装/卸载插件"},{"title":"纯命令行","icon":"mouse-pointer","details":"老的掉牙的交互模式,必须手打指令"},{"title":"猪蹄支持","icon":"paint-brush","details":"支持多种烤猪蹄样式,丢弃烤箱,拥抱烧烤架,满足你的干饭需求"},{"title":"去国际化","icon":"globe","details":"支持多种语言,包括i18n部分语言和自行扩展的语言代码","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"超难配置","icon":"cog","details":"无需过多配置,开箱即用","link":"https://bot.liteyuki.icu/deployment/config.html"},{"title":"高占用","icon":"memory","details":"使用更多的意义不明的依赖和资源"},{"title":"一个Bot标准","icon":"link","details":"支持OneBotv11/12标准的四种通信协议","link":"https://onebot.dev/"},{"title":"Alconna","icon":"link","details":"使用Alconna实现低效命令解析","link":"https://github.com/nonebot/plugin-alconna"},{"title":"不准更新","icon":"cloud-download","details":"要更新自己写新版本去"},{"title":"服务支持","icon":"server","details":"内置重浆API,但随时可能提桶跑路"},{"title":"闭源","icon":"code","details":"要源代码自己逆向去"}]},{"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":"安装 winget 和 nothing.js"},{"title":"使用 git clone https://github.com/snowykami/LiteyukiBot 以克隆项目至FTP。","details":"如果无法连接到PoonHub,可以使用 git clone https://gitee.com/snowykami/LiteyukiBot。"},{"title":"使用 cd LiteyukiBot 切换到项目目录。"},{"title":"使用 npm install -r requirements.txt 安装项目依赖。","details":"如果你有多个 nothing.js 环境,请使用 pythonx -m npm install -r requirements.txt。"},{"title":"使用 node main.py 启动项目。"}]}],"copyright":"© 2021-2024 SnowyKami All Rights Reserved","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/foolsday.html"}],["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:updated_time","content":"2024-06-16T15:33:58.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-06-16T15:33:58.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"首页\\"}"]]},"headers":[],"git":{"createdTime":1711987288000,"updatedTime":1718552038000,"contributors":[{"name":"Nanaloveyuki","email":"miaomiao_159@outlook.com","commits":1},{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":2.16,"words":649},"filePathRelative":"foolsday.md","localizedDate":"2024年4月1日"}');export{c as comp,m as data}; +import{_ as t,o as e,c as o}from"./app-tipHsUUe.js";const i={};function a(n,s){return e(),o("div")}const c=t(i,[["render",a],["__file","foolsday.html.vue"]]),m=JSON.parse('{"path":"/foolsday.html","title":"首页","lang":"zh-CN","frontmatter":{"home":true,"icon":"home","title":"首页","heroImage":"https://cdn.liteyuki.icu/static/img/lykwi.png","bgImage":null,"bgImageDark":null,"bgImageStyle":{"background-attachment":"fixed"},"heroText":"HeavylavaBot666","tagline":"重浆机器人,一个以笨重和复杂为设计理念基于Koishi114514的TwoBotv1919810标准聊天机器人,可用于雪地清扫,使用Typethon编写","actions":[{"text":"快速结束","icon":"lightbulb","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":"基于Koishi.js233","icon":"robot","details":"拥有辣鸡的生态支持","link":"https://nonebot.dev/"},{"title":"盲目插件管理","icon":"plug","details":"基于nbshi使用xmpn和bib,让你无法安装/卸载插件"},{"title":"纯命令行","icon":"mouse-pointer","details":"老的掉牙的交互模式,必须手打指令"},{"title":"猪蹄支持","icon":"paint-brush","details":"支持多种烤猪蹄样式,丢弃烤箱,拥抱烧烤架,满足你的干饭需求"},{"title":"去国际化","icon":"globe","details":"支持多种语言,包括i18n部分语言和自行扩展的语言代码","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"超难配置","icon":"cog","details":"无需过多配置,开箱即用","link":"https://bot.liteyuki.icu/deployment/config.html"},{"title":"高占用","icon":"memory","details":"使用更多的意义不明的依赖和资源"},{"title":"一个Bot标准","icon":"link","details":"支持OneBotv11/12标准的四种通信协议","link":"https://onebot.dev/"},{"title":"Alconna","icon":"link","details":"使用Alconna实现低效命令解析","link":"https://github.com/nonebot/plugin-alconna"},{"title":"不准更新","icon":"cloud-download","details":"要更新自己写新版本去"},{"title":"服务支持","icon":"server","details":"内置重浆API,但随时可能提桶跑路"},{"title":"闭源","icon":"code","details":"要源代码自己逆向去"}]},{"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":"安装 winget 和 nothing.js"},{"title":"使用 git clone https://github.com/snowykami/LiteyukiBot 以克隆项目至FTP。","details":"如果无法连接到PoonHub,可以使用 git clone https://gitee.com/snowykami/LiteyukiBot。"},{"title":"使用 cd LiteyukiBot 切换到项目目录。"},{"title":"使用 npm install -r requirements.txt 安装项目依赖。","details":"如果你有多个 nothing.js 环境,请使用 pythonx -m npm install -r requirements.txt。"},{"title":"使用 node main.py 启动项目。"}]}],"copyright":"© 2021-2024 SnowyKami All Rights Reserved","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/foolsday.html"}],["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:updated_time","content":"2024-06-16T15:33:58.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-06-16T15:33:58.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"首页\\"}"]]},"headers":[],"git":{"createdTime":1711987288000,"updatedTime":1718552038000,"contributors":[{"name":"Nanaloveyuki","email":"miaomiao_159@outlook.com","commits":1},{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":2.16,"words":649},"filePathRelative":"foolsday.md","localizedDate":"2024年4月1日"}');export{c as comp,m as data}; diff --git a/assets/index.html-D-3iUaR0.js b/assets/index.html-BA4dlCFL.js similarity index 95% rename from assets/index.html-D-3iUaR0.js rename to assets/index.html-BA4dlCFL.js index a3ad492d..6ae0525d 100644 --- a/assets/index.html-D-3iUaR0.js +++ b/assets/index.html-BA4dlCFL.js @@ -1 +1 @@ -import{_ as e,o as t,c as o}from"./app-DyBg2AMf.js";const r={};function a(n,i){return t(),o("div")}const p=e(r,[["render",a],["__file","index.html.vue"]]),m=JSON.parse('{"path":"/store/","title":"资源商店","lang":"zh-CN","frontmatter":{"title":"资源商店","icon":"store","index":false,"head":[["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:updated_time","content":"2024-04-19T20:10:20.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["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\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://sfkm.me\\"}]}"]]},"headers":[],"git":{"createdTime":1712364501000,"updatedTime":1713557420000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":4}]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"store/README.md","localizedDate":"2024年4月6日"}');export{p as comp,m as data}; +import{_ as e,o as t,c as o}from"./app-tipHsUUe.js";const r={};function a(n,i){return t(),o("div")}const p=e(r,[["render",a],["__file","index.html.vue"]]),m=JSON.parse('{"path":"/store/","title":"资源商店","lang":"zh-CN","frontmatter":{"title":"资源商店","icon":"store","index":false,"head":[["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:updated_time","content":"2024-04-19T20:10:20.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["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\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://sfkm.me\\"}]}"]]},"headers":[],"git":{"createdTime":1712364501000,"updatedTime":1713557420000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":4}]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"store/README.md","localizedDate":"2024年4月6日"}');export{p as comp,m as data}; diff --git a/assets/index.html-BdPDNp4h.js b/assets/index.html-D8iTrrF5.js similarity index 95% rename from assets/index.html-BdPDNp4h.js rename to assets/index.html-D8iTrrF5.js index 6028ef7a..6fe2bee4 100644 --- a/assets/index.html-BdPDNp4h.js +++ b/assets/index.html-D8iTrrF5.js @@ -1 +1 @@ -import{_ as t,r as o,o as a,c as n,a as r}from"./app-DyBg2AMf.js";const p={};function c(i,m){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":"/deployment/","title":"项目部署","lang":"zh-CN","frontmatter":{"title":"项目部署","index":false,"icon":"laptop-code","category":"部署","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/deployment/"}],["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:updated_time","content":"2024-03-28T04:05:03.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["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\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://sfkm.me\\"}]}"]]},"headers":[],"git":{"createdTime":1711589926000,"updatedTime":1711598703000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":4}]},"readingTime":{"minutes":0.05,"words":15},"filePathRelative":"deployment/README.md","localizedDate":"2024年3月28日"}');export{s as comp,d as data}; +import{_ as t,r as o,o as a,c as n,a as r}from"./app-tipHsUUe.js";const p={};function c(i,m){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":"/deployment/","title":"项目部署","lang":"zh-CN","frontmatter":{"title":"项目部署","index":false,"icon":"laptop-code","category":"部署","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/deployment/"}],["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:updated_time","content":"2024-03-28T04:05:03.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["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\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://sfkm.me\\"}]}"]]},"headers":[],"git":{"createdTime":1711589926000,"updatedTime":1711598703000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":4}]},"readingTime":{"minutes":0.05,"words":15},"filePathRelative":"deployment/README.md","localizedDate":"2024年3月28日"}');export{s as comp,d as data}; diff --git a/assets/index.html-DR4wnnZI.js b/assets/index.html-DgWfZ0ve.js similarity index 95% rename from assets/index.html-DR4wnnZI.js rename to assets/index.html-DgWfZ0ve.js index 051b1159..c3e2606d 100644 --- a/assets/index.html-DR4wnnZI.js +++ b/assets/index.html-DgWfZ0ve.js @@ -1 +1 @@ -import{_ as t,r as o,o as a,c as n,a as r}from"./app-DyBg2AMf.js";const c={};function i(p,m){const e=o("Catalog");return a(),n("div",null,[r(e)])}const l=t(c,[["render",i],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/usage/","title":"使用手册","lang":"zh-CN","frontmatter":{"title":"使用手册","index":false,"icon":"laptop-code","category":"使用手册","head":[["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:updated_time","content":"2024-03-28T04:05:03.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["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\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://sfkm.me\\"}]}"]]},"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{l as comp,d as data}; +import{_ as t,r as o,o as a,c as n,a as r}from"./app-tipHsUUe.js";const c={};function i(p,m){const e=o("Catalog");return a(),n("div",null,[r(e)])}const l=t(c,[["render",i],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/usage/","title":"使用手册","lang":"zh-CN","frontmatter":{"title":"使用手册","index":false,"icon":"laptop-code","category":"使用手册","head":[["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:updated_time","content":"2024-03-28T04:05:03.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["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\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://sfkm.me\\"}]}"]]},"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{l as comp,d as data}; diff --git a/assets/index.html-CrqGzqMH.js b/assets/index.html-nkSAG1B8.js similarity index 98% rename from assets/index.html-CrqGzqMH.js rename to assets/index.html-nkSAG1B8.js index 087e10ec..c73c0cdc 100644 --- a/assets/index.html-CrqGzqMH.js +++ b/assets/index.html-nkSAG1B8.js @@ -1 +1 @@ -import{_ as t,o as e,c as o}from"./app-DyBg2AMf.js";const i={};function a(s,l){return e(),o("div")}const c=t(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 轻雪机器人,基于NoneBot2构建的综合应用型聊天机器人","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":"基于NoneBot2","icon":"robot","details":"拥有良好的生态支持","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/snowykami/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":[["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:updated_time","content":"2024-07-20T16:40:55.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-07-20T16:40:55.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"首页\\"}"]]},"headers":[],"git":{"createdTime":1711460020000,"updatedTime":1721493655000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":35},{"name":"Nanaloveyuki","email":"miaomiao_159@outlook.com","commits":1},{"name":"Snowykami","email":"79104275+snowykami@users.noreply.github.com","commits":1}]},"readingTime":{"minutes":1.35,"words":405},"filePathRelative":"README.md","localizedDate":"2024年3月26日"}');export{c as comp,m as data}; +import{_ as t,o as e,c as o}from"./app-tipHsUUe.js";const i={};function a(s,l){return e(),o("div")}const c=t(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 轻雪机器人,基于NoneBot2构建的综合应用型聊天机器人","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":"基于NoneBot2","icon":"robot","details":"拥有良好的生态支持","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/snowykami/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":[["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:updated_time","content":"2024-07-20T16:40:55.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-07-20T16:40:55.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"首页\\"}"]]},"headers":[],"git":{"createdTime":1711460020000,"updatedTime":1721493655000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":35},{"name":"Nanaloveyuki","email":"miaomiao_159@outlook.com","commits":1},{"name":"Snowykami","email":"79104275+snowykami@users.noreply.github.com","commits":1}]},"readingTime":{"minutes":1.35,"words":405},"filePathRelative":"README.md","localizedDate":"2024年3月26日"}');export{c as comp,m as data}; diff --git a/assets/install.html-rwPStACj.js b/assets/install.html-DSndZhD-.js similarity index 99% rename from assets/install.html-rwPStACj.js rename to assets/install.html-DSndZhD-.js index 849fb71c..b1f98503 100644 --- a/assets/install.html-rwPStACj.js +++ b/assets/install.html-DSndZhD-.js @@ -1,4 +1,4 @@ -import{_ as s,r as a,o as c,c as l,b as e,d as t,a as o,e as i}from"./app-DyBg2AMf.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"},m=e("code",null,"Git",-1),u={href:"https://www.python.org/downloads/release/python-31010/",target:"_blank",rel:"noopener noreferrer"},v=e("code",null,"Python3.10+",-1),k=i(`
    # 克隆项目到本地,轻雪使用Git进行版本管理,该步骤为必要项
    +import{_ as s,r as a,o as c,c as l,b as e,d as t,a as o,e as i}from"./app-tipHsUUe.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"},m=e("code",null,"Git",-1),u={href:"https://www.python.org/downloads/release/python-31010/",target:"_blank",rel:"noopener noreferrer"},v=e("code",null,"Python3.10+",-1),k=i(`
    # 克隆项目到本地,轻雪使用Git进行版本管理,该步骤为必要项
     git clone https://github.com/snowykami/LiteyukiBot --depth=1
     # 切换到Bot目录下
     cd LiteyukiBot
    diff --git a/assets/lyapi.html-CSuTu9HR.js b/assets/lyapi.html-EXQNyB_q.js
    similarity index 98%
    rename from assets/lyapi.html-CSuTu9HR.js
    rename to assets/lyapi.html-EXQNyB_q.js
    index 54308059..695dc0f0 100644
    --- a/assets/lyapi.html-CSuTu9HR.js
    +++ b/assets/lyapi.html-EXQNyB_q.js
    @@ -1 +1 @@
    -import{_ as e,o,c as t,e as i}from"./app-DyBg2AMf.js";const c={},l=i('

    轻雪API

    轻雪API是轻雪运行中部分服务的支持,由go语言编写,例如错误反馈,图床链接等,目前服务由轻雪服务器提供,用户无需额外部署

    接口

    • url https://api.liteyuki.icu

    • POST /register 注册一个Bot

      • 参数
        • name string Bot名称
        • version string Bot版本
        • version_id int Bot版本ID
        • python string Python版本
        • os string 操作系统
      • 返回
        • code int 状态码
        • liteyuki_id string 轻雪ID
    • POST /bug_report 上报错误

      • 参数
        • liteyuki_id string 轻雪ID
        • content string 错误信息
        • device_info string 设备信息
      • 返回
        • code int 状态码
        • report_id string 错误ID
    • POST /upload_image 图床上传

      • 参数
        • image file 图片文件
        • liteyuki_id string 轻雪ID,用于鉴权
      • 返回
        • code int 状态码
        • url string 图床链接
    ',4),d=[l];function r(n,a){return o(),t("div",null,d)}const s=e(c,[["render",r],["__file","lyapi.html.vue"]]),u=JSON.parse('{"path":"/usage/lyapi.html","title":"轻雪API","lang":"zh-CN","frontmatter":{"title":"轻雪API","icon":"code","order":5,"category":"使用指南","tag":["配置","部署"],"description":"轻雪API 轻雪API是轻雪运行中部分服务的支持,由go语言编写,例如错误反馈,图床链接等,目前服务由轻雪服务器提供,用户无需额外部署 接口 url https://api.liteyuki.icu POST /register 注册一个Bot 参数 name string Bot名称 version string Bot版本 version_id i...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/lyapi.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"轻雪API"}],["meta",{"property":"og:description","content":"轻雪API 轻雪API是轻雪运行中部分服务的支持,由go语言编写,例如错误反馈,图床链接等,目前服务由轻雪服务器提供,用户无需额外部署 接口 url https://api.liteyuki.icu POST /register 注册一个Bot 参数 name string Bot名称 version string Bot版本 version_id i..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-05-31T15:15:40.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:tag","content":"配置"}],["meta",{"property":"article:tag","content":"部署"}],["meta",{"property":"article:modified_time","content":"2024-05-31T15:15:40.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"轻雪API\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-05-31T15:15:40.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://sfkm.me\\"}]}"]]},"headers":[{"level":2,"title":"轻雪API","slug":"轻雪api","link":"#轻雪api","children":[]}],"git":{"createdTime":1713603777000,"updatedTime":1717168540000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.67,"words":200},"filePathRelative":"usage/lyapi.md","localizedDate":"2024年4月20日","autoDesc":true}');export{s as comp,u as data}; +import{_ as e,o,c as t,e as i}from"./app-tipHsUUe.js";const c={},l=i('

    轻雪API

    轻雪API是轻雪运行中部分服务的支持,由go语言编写,例如错误反馈,图床链接等,目前服务由轻雪服务器提供,用户无需额外部署

    接口

    • url https://api.liteyuki.icu

    • POST /register 注册一个Bot

      • 参数
        • name string Bot名称
        • version string Bot版本
        • version_id int Bot版本ID
        • python string Python版本
        • os string 操作系统
      • 返回
        • code int 状态码
        • liteyuki_id string 轻雪ID
    • POST /bug_report 上报错误

      • 参数
        • liteyuki_id string 轻雪ID
        • content string 错误信息
        • device_info string 设备信息
      • 返回
        • code int 状态码
        • report_id string 错误ID
    • POST /upload_image 图床上传

      • 参数
        • image file 图片文件
        • liteyuki_id string 轻雪ID,用于鉴权
      • 返回
        • code int 状态码
        • url string 图床链接
    ',4),d=[l];function r(n,a){return o(),t("div",null,d)}const s=e(c,[["render",r],["__file","lyapi.html.vue"]]),u=JSON.parse('{"path":"/usage/lyapi.html","title":"轻雪API","lang":"zh-CN","frontmatter":{"title":"轻雪API","icon":"code","order":5,"category":"使用指南","tag":["配置","部署"],"description":"轻雪API 轻雪API是轻雪运行中部分服务的支持,由go语言编写,例如错误反馈,图床链接等,目前服务由轻雪服务器提供,用户无需额外部署 接口 url https://api.liteyuki.icu POST /register 注册一个Bot 参数 name string Bot名称 version string Bot版本 version_id i...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/lyapi.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"轻雪API"}],["meta",{"property":"og:description","content":"轻雪API 轻雪API是轻雪运行中部分服务的支持,由go语言编写,例如错误反馈,图床链接等,目前服务由轻雪服务器提供,用户无需额外部署 接口 url https://api.liteyuki.icu POST /register 注册一个Bot 参数 name string Bot名称 version string Bot版本 version_id i..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-05-31T15:15:40.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:tag","content":"配置"}],["meta",{"property":"article:tag","content":"部署"}],["meta",{"property":"article:modified_time","content":"2024-05-31T15:15:40.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"轻雪API\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-05-31T15:15:40.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://sfkm.me\\"}]}"]]},"headers":[{"level":2,"title":"轻雪API","slug":"轻雪api","link":"#轻雪api","children":[]}],"git":{"createdTime":1713603777000,"updatedTime":1717168540000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.67,"words":200},"filePathRelative":"usage/lyapi.md","localizedDate":"2024年4月20日","autoDesc":true}');export{s as comp,u as data}; diff --git a/assets/lyfunc.html-DgQtPF8B.js b/assets/lyfunc.html-DVo_dKnZ.js similarity index 99% rename from assets/lyfunc.html-DgQtPF8B.js rename to assets/lyfunc.html-DVo_dKnZ.js index 64f44215..ab869b1d 100644 --- a/assets/lyfunc.html-DgQtPF8B.js +++ b/assets/lyfunc.html-DVo_dKnZ.js @@ -1,4 +1,4 @@ -import{_ as s,r as t,o,c as i,b as n,d as e,a as l,e as c}from"./app-DyBg2AMf.js";const p={},r=c(`

    轻雪函数

    轻雪函数 Liteyuki Function 是轻雪的一个功能,它允许你在轻雪中运行一些自定义的由数据驱动的命令,类似于Minecraft的mcfunction.

    函数文件

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

    # 在发信器输出"hello world"
    +import{_ as s,r as t,o,c as i,b as n,d as e,a as l,e as c}from"./app-tipHsUUe.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/plugin.html-BjAe4YMQ.js b/assets/plugin.html-BDeSKIIx.js
    similarity index 95%
    rename from assets/plugin.html-BjAe4YMQ.js
    rename to assets/plugin.html-BDeSKIIx.js
    index 4b01dc76..4332ecf9 100644
    --- a/assets/plugin.html-BjAe4YMQ.js
    +++ b/assets/plugin.html-BDeSKIIx.js
    @@ -1 +1 @@
    -import{_ as t,r as o,o as r,c as n,a}from"./app-DyBg2AMf.js";const p={};function i(m,c){const e=o("pluginStoreComp");return r(),n("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":[["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:updated_time","content":"2024-04-19T20:10:20.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["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\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://sfkm.me\\"}]}"]]},"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 r,c as n,a}from"./app-tipHsUUe.js";const p={};function i(m,c){const e=o("pluginStoreComp");return r(),n("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":[["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:updated_time","content":"2024-04-19T20:10:20.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["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\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://sfkm.me\\"}]}"]]},"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/resource.html-DTRpyxeM.js b/assets/resource.html-5_m2WW1F.js
    similarity index 95%
    rename from assets/resource.html-DTRpyxeM.js
    rename to assets/resource.html-5_m2WW1F.js
    index 3ad70c6f..0806d700 100644
    --- a/assets/resource.html-DTRpyxeM.js
    +++ b/assets/resource.html-5_m2WW1F.js
    @@ -1 +1 @@
    -import{_ as t,r as o,o as r,c as a,a as c}from"./app-DyBg2AMf.js";const n={};function m(s,p){const e=o("resourceStoreComp");return r(),a("div",null,[c(e)])}const l=t(n,[["render",m],["__file","resource.html.vue"]]),d=JSON.parse('{"path":"/store/resource.html","title":"资源商店","lang":"zh-CN","frontmatter":{"title":"资源商店","icon":"box","order":1,"category":"使用手册","head":[["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:updated_time","content":"2024-04-19T20:10:20.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["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\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://sfkm.me\\"}]}"]]},"headers":[],"git":{"createdTime":1713557420000,"updatedTime":1713557420000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"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 c}from"./app-tipHsUUe.js";const n={};function m(s,p){const e=o("resourceStoreComp");return r(),a("div",null,[c(e)])}const l=t(n,[["render",m],["__file","resource.html.vue"]]),d=JSON.parse('{"path":"/store/resource.html","title":"资源商店","lang":"zh-CN","frontmatter":{"title":"资源商店","icon":"box","order":1,"category":"使用手册","head":[["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:updated_time","content":"2024-04-19T20:10:20.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["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\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://sfkm.me\\"}]}"]]},"headers":[],"git":{"createdTime":1713557420000,"updatedTime":1713557420000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"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_pack.html-BdpW_QRR.js b/assets/resource_pack.html-DdnlQLuK.js
    similarity index 99%
    rename from assets/resource_pack.html-BdpW_QRR.js
    rename to assets/resource_pack.html-DdnlQLuK.js
    index 27c5da40..0b48f99c 100644
    --- a/assets/resource_pack.html-BdpW_QRR.js
    +++ b/assets/resource_pack.html-DdnlQLuK.js
    @@ -1,4 +1,4 @@
    -import{_ as a,r as s,o,c as l,b as e,a as i,w as c,d as t,e as d}from"./app-DyBg2AMf.js";const r={},m=e("h2",{id:"简介",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#简介"},[e("span",null,"简介")])],-1),u=e("p",null,"资源包,亦可根据用途称为主题包、字体包、语言包等,它允许你一定程度上自定义轻雪的外观,并且不用修改源代码",-1),p=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,c as l,b as e,a as i,w as c,d as t,e as d}from"./app-tipHsUUe.js";const r={},m=e("h2",{id:"简介",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#简介"},[e("span",null,"简介")])],-1),u=e("p",null,"资源包,亦可根据用途称为主题包、字体包、语言包等,它允许你一定程度上自定义轻雪的外观,并且不用修改源代码",-1),p=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/childrensdaybak.html b/childrensdaybak.html
    index 4ffd13fb..8f2b4938 100644
    --- a/childrensdaybak.html
    +++ b/childrensdaybak.html
    @@ -30,11 +30,11 @@
         
         首页 | LiteyukiBot 轻雪机器人
         
    -    
    -    
    +    
    +    
       
       
         
    跳至主要內容
    LiteyukiBot

    LiteyukiBot

    轻雪机器人,一个以轻量和简洁为设计理念基于Nonebot2的OneBot标准聊天机器人

    快速部署使用手册

    简洁至上

    基于Nonebot2

    拥有良好的生态支持

    便捷插件管理

    使用包管理器,无需命令行操作即可安装/卸载插件

    人性化交互

    新的点击交互模式,拒绝手打指令

    主题支持

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

    国际化

    通过资源包支持多种语言

    简易配置

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

    高性能

    500个插件,3s内启动

    滚动更新

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

    开源

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

    快速部署

    • 安装 Git 和 Python3.10+

    • 使用 git clone https://github.com/snowykami/LiteyukiBot 以克隆项目至本地。

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

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

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

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

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

    - + diff --git a/deployment/config.html b/deployment/config.html index e60a39d2..121fc91a 100644 --- a/deployment/config.html +++ b/deployment/config.html @@ -30,8 +30,8 @@ 配置 | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    配置

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

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

    基础配置项

    command_start: [ "/", "" ] # 指令前缀,若没有""空命令头,请开启alconna_use_command_start保证alconna解析正常
    @@ -55,6 +55,6 @@
     custom_config_2: "custom_value2"
     ...
     

    提示

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

    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/deployment/fandq.html b/deployment/fandq.html index c8aeb94c..f1de90d1 100644 --- a/deployment/fandq.html +++ b/deployment/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/deployment/index.html b/deployment/index.html index f0038059..ca653cb8 100644 --- a/deployment/index.html +++ b/deployment/index.html @@ -30,11 +30,11 @@ 项目部署 | LiteyukiBot 轻雪机器人 - - + + - + diff --git a/deployment/install.html b/deployment/install.html index 730ab744..dfd4fedd 100644 --- a/deployment/install.html +++ b/deployment/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来激活虚拟环境

    使用Docker构建镜像部署

    1. 安装 Dockeropen in new window
    2. 克隆项目 git clone https://github.com/snowykami/LiteyukiBot
    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/foolsday.html b/foolsday.html index c1e01089..5001d92e 100644 --- a/foolsday.html +++ b/foolsday.html @@ -30,11 +30,11 @@ 首页 | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容
    HeavylavaBot666

    HeavylavaBot666

    重浆机器人,一个以笨重和复杂为设计理念基于Koishi114514的TwoBotv1919810标准聊天机器人,可用于雪地清扫,使用Typethon编写

    快速结束奇怪的册子

    简洁至下

    基于Koishi.js233

    拥有辣鸡的生态支持

    盲目插件管理

    基于nbshi使用xmpn和bib,让你无法安装/卸载插件

    纯命令行

    老的掉牙的交互模式,必须手打指令

    猪蹄支持

    支持多种烤猪蹄样式,丢弃烤箱,拥抱烧烤架,满足你的干饭需求

    去国际化

    支持多种语言,包括i18n部分语言和自行扩展的语言代码

    超难配置

    无需过多配置,开箱即用

    高占用

    使用更多的意义不明的依赖和资源

    一个Bot标准

    支持OneBotv11/12标准的四种通信协议

    Alconna

    使用Alconna实现低效命令解析

    不准更新

    要更新自己写新版本去

    服务支持

    内置重浆API,但随时可能提桶跑路

    闭源

    要源代码自己逆向去

    慢速部署

    • 安装 winget 和 nothing.js

    • 使用 git clone https://github.com/snowykami/LiteyukiBot 以克隆项目至FTP。

      如果无法连接到PoonHub,可以使用 git clone https://gitee.com/snowykami/LiteyukiBot

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

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

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

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

    - + diff --git a/index.html b/index.html index b52b9327..37c99b12 100644 --- a/index.html +++ b/index.html @@ -30,11 +30,11 @@ 首页 | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容
    LiteyukiBotLiteyukiBot

    LiteyukiBot

    LiteyukiBot 轻雪机器人,基于NoneBot2构建的综合应用型聊天机器人

    快速部署使用手册

    简洁至上

    基于NoneBot2

    拥有良好的生态支持

    便捷管理

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

    主题支持

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

    国际化

    通过资源包支持多种语言

    简易使用

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

    超高性能

    500个插件,2s内启动

    滚动更新

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

    开源项目

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

    快速部署

    • 安装 Git 及 Python3.10+

    • 使用 git clone https://github.com/snowykami/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 e94110fb..57c1148f 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 33b488a2..e17ab2c3 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 7ff0a90e..c51cf2b2 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 b9c6dc84..1f525a40 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 eab44e29..6f0db791 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 22f21939..907698af 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 95b6891d..56490023 100644 --- a/usage/index.html +++ b/usage/index.html @@ -30,11 +30,11 @@ 使用手册 | LiteyukiBot 轻雪机器人 - - + + - + diff --git a/usage/lyapi.html b/usage/lyapi.html index a9939fc0..ba476909 100644 --- a/usage/lyapi.html +++ b/usage/lyapi.html @@ -30,11 +30,11 @@ 轻雪API | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    轻雪API

    远野千束小于 1 分钟使用指南配置部署

    轻雪API

    轻雪API是轻雪运行中部分服务的支持,由go语言编写,例如错误反馈,图床链接等,目前服务由轻雪服务器提供,用户无需额外部署

    接口

    • url https://api.liteyuki.icu

    • POST /register 注册一个Bot

      • 参数
        • name string Bot名称
        • version string Bot版本
        • version_id int Bot版本ID
        • python string Python版本
        • os string 操作系统
      • 返回
        • code int 状态码
        • liteyuki_id string 轻雪ID
    • POST /bug_report 上报错误

      • 参数
        • liteyuki_id string 轻雪ID
        • content string 错误信息
        • device_info string 设备信息
      • 返回
        • code int 状态码
        • report_id string 错误ID
    • POST /upload_image 图床上传

      • 参数
        • image file 图片文件
        • liteyuki_id string 轻雪ID,用于鉴权
      • 返回
        • code int 状态码
        • url string 图床链接
    - + diff --git a/usage/lyfunc.html b/usage/lyfunc.html index cb8d0a92..bd5cc3da 100644 --- a/usage/lyfunc.html +++ b/usage/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都会被截停销毁

    - + diff --git a/usage/resource_pack.html b/usage/resource_pack.html index 2e09397d..f032a36d 100644 --- a/usage/resource_pack.html +++ b/usage/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
    - +