diff --git a/404.html b/404.html index 5b702312..a01b1249 100644 --- a/404.html +++ b/404.html @@ -30,11 +30,11 @@ LiteyukiBot 轻雪机器人 - - + + -
跳至主要內容

404

页面不存在

这 是 四 零 四 !

- +
跳至主要內容

404

页面不存在

这里什么也没有

+ diff --git a/assets/404.html-TnRv4YJe.js b/assets/404.html-DpPpkLwT.js similarity index 93% rename from assets/404.html-TnRv4YJe.js rename to assets/404.html-DpPpkLwT.js index 7033c917..1b9e3d75 100644 --- a/assets/404.html-TnRv4YJe.js +++ b/assets/404.html-DpPpkLwT.js @@ -1 +1 @@ -import{_ as t,o as e,c as o,b as n}from"./app-BlLEDWhb.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-Bpo-kmLe.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-D6abN47a.js b/assets/agreement.html-CPbV1x-H.js similarity index 98% rename from assets/agreement.html-D6abN47a.js rename to assets/agreement.html-CPbV1x-H.js index 8231b954..75f5d875 100644 --- a/assets/agreement.html-D6abN47a.js +++ b/assets/agreement.html-CPbV1x-H.js @@ -1 +1 @@ -import{_ as e,o as t,c as o,e as r}from"./app-BlLEDWhb.js";const a={},i=r("
  1. 本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息
  2. 你可以选择开启auto_report(默认开启),轻雪会收集以下内容
  3. 本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性
  4. 使用此项目代表你已经同意以上协议
",1),n=[i];function c(l,p){return t(),o("div",null,n)}const s=e(a,[["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-03-31T02:59:17.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-03-31T02:59:17.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"用户协议\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-03-31T02:59:17.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[],"git":{"createdTime":1711621856000,"updatedTime":1711853957000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.75,"words":226},"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 r}from"./app-Bpo-kmLe.js";const a={},i=r("
  1. 本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息
  2. 你可以选择开启auto_report(默认开启),轻雪会收集以下内容
  3. 本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性
  4. 使用此项目代表你已经同意以上协议
",1),n=[i];function c(l,p){return t(),o("div",null,n)}const s=e(a,[["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-03-31T02:59:17.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-03-31T02:59:17.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"用户协议\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-03-31T02:59:17.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[],"git":{"createdTime":1711621856000,"updatedTime":1711853957000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.75,"words":226},"filePathRelative":"usage/agreement.md","localizedDate":"2024年3月28日","autoDesc":true}');export{s as comp,d as data}; diff --git a/assets/app-BlLEDWhb.js b/assets/app-Bpo-kmLe.js similarity index 99% rename from assets/app-BlLEDWhb.js rename to assets/app-Bpo-kmLe.js index 5839fd9b..05873fca 100644 --- a/assets/app-BlLEDWhb.js +++ b/assets/app-Bpo-kmLe.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 q1="http://www.w3.org/2000/svg",U1="http://www.w3.org/1998/Math/MathML",Ft=typeof document<"u"?document:null,Ol=Ft&&Ft.createElement("template"),W1={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Ft.createElementNS(q1,e):t==="mathml"?Ft.createElementNS(U1,e):Ft.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Ft.createTextNode(e),createComment:e=>Ft.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ft.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const l=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{Ol.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const a=Ol.content;if(r==="svg"||r==="mathml"){const i=a.firstChild;for(;i.firstChild;)a.appendChild(i.firstChild);a.removeChild(i)}t.insertBefore(a,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ot="transition",zn="animation",$n=Symbol("_vtc"),Wt=(e,{slots:t})=>f(Xf,zi(e),t);Wt.displayName="Transition";const Vi={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},G1=Wt.props=Te({},_i,Vi),Jt=(e,t=[])=>{X(e)?e.forEach(n=>n(...t)):e&&e(...t)},Rl=e=>e?X(e)?e.some(t=>t.length>1):e.length>1:!1;function zi(e){const t={};for(const M in e)M in Vi||(t[M]=e[M]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:i=s,appearActiveClass:c=l,appearToClass:u=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,g=K1(o),_=g&&g[0],w=g&&g[1],{onBeforeEnter:b,onEnter:C,onEnterCancelled:y,onLeave:S,onLeaveCancelled:R,onBeforeAppear:k=b,onAppear:P=C,onAppearCancelled:O=y}=t,K=(M,Z,be)=>{Mt(M,Z?u:a),Mt(M,Z?c:l),be&&be()},$=(M,Z)=>{M._isLeaving=!1,Mt(M,d),Mt(M,v),Mt(M,p),Z&&Z()},q=M=>(Z,be)=>{const me=M?P:C,U=()=>K(Z,M,be);Jt(me,[Z,U]),Pl(()=>{Mt(Z,M?i:s),kt(Z,M?u:a),Rl(me)||Ml(Z,r,_,U)})};return Te(t,{onBeforeEnter(M){Jt(b,[M]),kt(M,s),kt(M,l)},onBeforeAppear(M){Jt(k,[M]),kt(M,i),kt(M,c)},onEnter:q(!1),onAppear:q(!0),onLeave(M,Z){M._isLeaving=!0;const be=()=>$(M,Z);kt(M,d),Ui(),kt(M,p),Pl(()=>{M._isLeaving&&(Mt(M,d),kt(M,v),Rl(S)||Ml(M,r,w,be))}),Jt(S,[M,be])},onEnterCancelled(M){K(M,!1),Jt(y,[M])},onAppearCancelled(M){K(M,!0),Jt(O,[M])},onLeaveCancelled(M){$(M),Jt(R,[M])}})}function K1(e){if(e==null)return null;if(pe(e))return[Io(e.enter),Io(e.leave)];{const t=Io(e);return[t,t]}}function Io(e){return Ju(e)}function kt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[$n]||(e[$n]=new Set)).add(t)}function Mt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[$n];n&&(n.delete(t),n.size||(e[$n]=void 0))}function Pl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Y1=0;function Ml(e,t,n,r){const o=e._endId=++Y1,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:l,timeout:a,propCount:i}=qi(e,t);if(!l)return r();const c=l+"end";let u=0;const d=()=>{e.removeEventListener(c,p),s()},p=v=>{v.target===e&&++u>=i&&d()};setTimeout(()=>{u(n[g]||"").split(", "),o=r(`${Ot}Delay`),s=r(`${Ot}Duration`),l=Nl(o,s),a=r(`${zn}Delay`),i=r(`${zn}Duration`),c=Nl(a,i);let u=null,d=0,p=0;t===Ot?l>0&&(u=Ot,d=l,p=s.length):t===zn?c>0&&(u=zn,d=c,p=i.length):(d=Math.max(l,c),u=d>0?l>c?Ot:zn:null,p=u?u===Ot?s.length:i.length:0);const v=u===Ot&&/\b(transform|all)(,|$)/.test(r(`${Ot}Property`).toString());return{type:u,timeout:d,propCount:p,hasTransform:v}}function Nl(e,t){for(;e.lengthDl(n)+Dl(e[r])))}function Dl(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Ui(){return document.body.offsetHeight}function J1(e,t,n){const r=e[$n];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const jl=Symbol("_vod"),Q1=Symbol("_vsh"),X1=Symbol(""),Z1=/(^|;)\s*display\s*:/;function ed(e,t,n){const r=e.style,o=Ae(n);let s=!1;if(n&&!o){if(t)if(Ae(t))for(const l of t.split(";")){const a=l.slice(0,l.indexOf(":")).trim();n[a]==null&&Yr(r,a,"")}else for(const l in t)n[l]==null&&Yr(r,l,"");for(const l in n)l==="display"&&(s=!0),Yr(r,l,n[l])}else if(o){if(t!==n){const l=r[X1];l&&(n+=";"+l),r.cssText=n,s=Z1.test(n)}}else t&&e.removeAttribute("style");jl in e&&(e[jl]=s?r.display:"",e[Q1]&&(r.display="none"))}const Fl=/\s*!important$/;function Yr(e,t,n){if(X(n))n.forEach(r=>Yr(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=td(e,t);Fl.test(n)?e.setProperty(Dn(r),n.replace(Fl,""),"important"):e[r]=n}}const Bl=["Webkit","Moz","ms"],$o={};function td(e,t){const n=$o[t];if(n)return n;let r=it(t);if(r!=="filter"&&r in e)return $o[t]=r;r=yr(r);for(let o=0;oOo||(id.then(()=>Oo=0),Oo=Date.now());function ud(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;st(fd(r,n.value),t,5,[r])};return n.value=e,n.attached=cd(),n}function fd(e,t){if(X(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const ql=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,dd=(e,t,n,r,o,s,l,a,i)=>{const c=o==="svg";t==="class"?J1(e,r,c):t==="style"?ed(e,n,r):gr(t)?Es(t)||ld(e,t,n,r,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):pd(e,t,r,c))?rd(e,t,r,s,l,a,i):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),nd(e,t,r,c))};function pd(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&ql(t)&&ne(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return ql(t)&&Ae(n)?!1:t in e}const Wi=new WeakMap,Gi=new WeakMap,oo=Symbol("_moveCb"),Ul=Symbol("_enterCb"),Ki={name:"TransitionGroup",props:Te({},G1,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Cr(),r=wi();let o,s;return ki(()=>{if(!o.length)return;const l=e.moveClass||`${e.name||"v"}-move`;if(!bd(o[0].el,n.vnode.el,l))return;o.forEach(md),o.forEach(gd);const a=o.filter(yd);Ui(),a.forEach(i=>{const c=i.el,u=c.style;kt(c,l),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[oo]=p=>{p&&p.target!==c||(!p||/transform$/.test(p.propertyName))&&(c.removeEventListener("transitionend",d),c[oo]=null,Mt(c,l))};c.addEventListener("transitionend",d)})}),()=>{const l=oe(e),a=zi(l);let i=l.tag||Ue;o=s,s=t.default?js(t.default()):[];for(let c=0;cdelete e.mode;Ki.props;const vd=Ki;function md(e){const t=e.el;t[oo]&&t[oo](),t[Ul]&&t[Ul]()}function gd(e){Gi.set(e,e.el.getBoundingClientRect())}function yd(e){const t=Wi.get(e),n=Gi.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const s=e.el.style;return s.transform=s.webkitTransform=`translate(${r}px,${o}px)`,s.transitionDuration="0s",e}}function bd(e,t,n){const r=e.cloneNode(),o=e[$n];o&&o.forEach(a=>{a.split(/\s+/).forEach(i=>i&&r.classList.remove(i))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:l}=qi(r);return s.removeChild(r),l}const wd=Te({patchProp:dd},W1);let Ro,Wl=!1;function _d(){return Ro=Wl?Ro:x1(wd),Wl=!0,Ro}const Ed=(...e)=>{const t=_d().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=kd(r);if(o)return n(o,!0,Cd(o))},t};function Cd(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function kd(e){return Ae(e)?document.querySelector(e):e}var Sd=["link","meta","script","style","noscript","template"],xd=["title","base"],Td=([e,t,n])=>xd.includes(e)?e:Sd.includes(e)?e==="meta"&&t.name?`${e}.${t.name}`:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,Object.entries(t).map(([r,o])=>typeof o=="boolean"?o?[r,""]:null:[r,o]).filter(r=>r!=null).sort(([r],[o])=>r.localeCompare(o)),n]):null,Ad=e=>{const t=new Set,n=[];return e.forEach(r=>{const o=Td(r);o&&!t.has(o)&&(t.add(o),n.push(r))}),n},Ld=e=>e[0]==="/"?e:`/${e}`,Yi=e=>e[e.length-1]==="/"||e.endsWith(".html")?e:`${e}/`,ln=e=>/^(https?:)?\/\//.test(e),Id=/.md((\?|#).*)?$/,On=(e,t="/")=>!!(ln(e)||e.startsWith("/")&&!e.startsWith(t)&&!Id.test(e)),Ji=e=>/^[a-z][a-z0-9+.-]*:/.test(e),Fn=e=>Object.prototype.toString.call(e)==="[object Object]",$d=e=>{const[t,...n]=e.split(/(\?|#)/);if(!t||t.endsWith("/"))return e;let r=t.replace(/(^|\/)README.md$/i,"$1index.html");return r.endsWith(".md")?r=r.substring(0,r.length-3)+".html":r.endsWith(".html")||(r=r+".html"),r.endsWith("/index.html")&&(r=r.substring(0,r.length-10)),r+n.join("")},qs=e=>e[e.length-1]==="/"?e.slice(0,-1):e,Qi=e=>e[0]==="/"?e.slice(1):e,Od=(e,t)=>{const n=Object.keys(e).sort((r,o)=>{const s=o.split("/").length-r.split("/").length;return s!==0?s:o.length-r.length});for(const r of n)if(t.startsWith(r))return r;return"/"},Ce=e=>typeof e=="string";const Rd="modulepreload",Pd=function(e){return"/"+e},Gl={},Fe=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const s=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),a=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));o=Promise.all(n.map(i=>{if(i=Pd(i),i in Gl)return;Gl[i]=!0;const c=i.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!r)for(let v=s.length-1;v>=0;v--){const g=s[v];if(g.href===i&&(!c||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${u}`))return;const p=document.createElement("link");if(p.rel=c?"stylesheet":Rd,c||(p.as="script",p.crossOrigin=""),p.href=i,a&&p.setAttribute("nonce",a),document.head.appendChild(p),c)return new Promise((v,g)=>{p.addEventListener("load",v),p.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${i}`)))})}))}return o.then(()=>t()).catch(s=>{const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=s,window.dispatchEvent(l),!l.defaultPrevented)throw s})},Md=JSON.parse("{}"),Nd=Object.fromEntries([["/",{loader:()=>Fe(()=>import("./index.html-89EYFOzn.js"),__vite__mapDeps([])),meta:{t:"首页",i:"home"}}],["/foolsday.html",{loader:()=>Fe(()=>import("./foolsday.html-Cd0mpKAV.js"),__vite__mapDeps([])),meta:{t:"首页",i:"home"}}],["/deployment/",{loader:()=>Fe(()=>import("./index.html-BBIWXjyA.js"),__vite__mapDeps([])),meta:{t:"项目部署",i:"laptop-code"}}],["/deployment/config.html",{loader:()=>Fe(()=>import("./config.html-DJ63oVlJ.js"),__vite__mapDeps([])),meta:{t:"配置",i:"cog",O:2}}],["/deployment/fandq.html",{loader:()=>Fe(()=>import("./fandq.html-DqPMJ2H7.js"),__vite__mapDeps([])),meta:{t:"答疑",i:"question",O:3}}],["/deployment/install.html",{loader:()=>Fe(()=>import("./install.html-C--x_wYt.js"),__vite__mapDeps([])),meta:{t:"安装",i:"download",O:1}}],["/store/",{loader:()=>Fe(()=>import("./index.html-DCbeKeaA.js"),__vite__mapDeps([])),meta:{t:"资源商店",i:"store"}}],["/usage/",{loader:()=>Fe(()=>import("./index.html-DBxsb1RS.js"),__vite__mapDeps([])),meta:{t:"使用手册",i:"laptop-code"}}],["/usage/agreement.html",{loader:()=>Fe(()=>import("./agreement.html-D6abN47a.js"),__vite__mapDeps([])),meta:{t:"用户协议",i:"user-secret",O:3}}],["/usage/basic_command.html",{loader:()=>Fe(()=>import("./basic_command.html-DL1HGzM9.js"),__vite__mapDeps([])),meta:{t:"基础命令",i:"comment",O:1}}],["/usage/extra_command.html",{loader:()=>Fe(()=>import("./extra_command.html-Dms5HQzr.js"),__vite__mapDeps([])),meta:{t:"功能命令",i:"comment",O:2}}],["/usage/resource_pack.html",{loader:()=>Fe(()=>import("./resource_pack.html-DkE2PCfS.js"),__vite__mapDeps([])),meta:{t:"资源包",i:"paint-brush",O:3}}],["/404.html",{loader:()=>Fe(()=>import("./404.html-TnRv4YJe.js"),__vite__mapDeps([])),meta:{t:""}}]]);/*! +**/const q1="http://www.w3.org/2000/svg",U1="http://www.w3.org/1998/Math/MathML",Ft=typeof document<"u"?document:null,Ol=Ft&&Ft.createElement("template"),W1={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Ft.createElementNS(q1,e):t==="mathml"?Ft.createElementNS(U1,e):Ft.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Ft.createTextNode(e),createComment:e=>Ft.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ft.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const l=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{Ol.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const a=Ol.content;if(r==="svg"||r==="mathml"){const i=a.firstChild;for(;i.firstChild;)a.appendChild(i.firstChild);a.removeChild(i)}t.insertBefore(a,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ot="transition",zn="animation",$n=Symbol("_vtc"),Wt=(e,{slots:t})=>f(Xf,zi(e),t);Wt.displayName="Transition";const Vi={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},G1=Wt.props=Te({},_i,Vi),Jt=(e,t=[])=>{X(e)?e.forEach(n=>n(...t)):e&&e(...t)},Rl=e=>e?X(e)?e.some(t=>t.length>1):e.length>1:!1;function zi(e){const t={};for(const M in e)M in Vi||(t[M]=e[M]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:i=s,appearActiveClass:c=l,appearToClass:u=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,g=K1(o),_=g&&g[0],w=g&&g[1],{onBeforeEnter:b,onEnter:C,onEnterCancelled:y,onLeave:S,onLeaveCancelled:R,onBeforeAppear:k=b,onAppear:P=C,onAppearCancelled:O=y}=t,K=(M,Z,be)=>{Mt(M,Z?u:a),Mt(M,Z?c:l),be&&be()},$=(M,Z)=>{M._isLeaving=!1,Mt(M,d),Mt(M,v),Mt(M,p),Z&&Z()},q=M=>(Z,be)=>{const me=M?P:C,U=()=>K(Z,M,be);Jt(me,[Z,U]),Pl(()=>{Mt(Z,M?i:s),kt(Z,M?u:a),Rl(me)||Ml(Z,r,_,U)})};return Te(t,{onBeforeEnter(M){Jt(b,[M]),kt(M,s),kt(M,l)},onBeforeAppear(M){Jt(k,[M]),kt(M,i),kt(M,c)},onEnter:q(!1),onAppear:q(!0),onLeave(M,Z){M._isLeaving=!0;const be=()=>$(M,Z);kt(M,d),Ui(),kt(M,p),Pl(()=>{M._isLeaving&&(Mt(M,d),kt(M,v),Rl(S)||Ml(M,r,w,be))}),Jt(S,[M,be])},onEnterCancelled(M){K(M,!1),Jt(y,[M])},onAppearCancelled(M){K(M,!0),Jt(O,[M])},onLeaveCancelled(M){$(M),Jt(R,[M])}})}function K1(e){if(e==null)return null;if(pe(e))return[Io(e.enter),Io(e.leave)];{const t=Io(e);return[t,t]}}function Io(e){return Ju(e)}function kt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[$n]||(e[$n]=new Set)).add(t)}function Mt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[$n];n&&(n.delete(t),n.size||(e[$n]=void 0))}function Pl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Y1=0;function Ml(e,t,n,r){const o=e._endId=++Y1,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:l,timeout:a,propCount:i}=qi(e,t);if(!l)return r();const c=l+"end";let u=0;const d=()=>{e.removeEventListener(c,p),s()},p=v=>{v.target===e&&++u>=i&&d()};setTimeout(()=>{u(n[g]||"").split(", "),o=r(`${Ot}Delay`),s=r(`${Ot}Duration`),l=Nl(o,s),a=r(`${zn}Delay`),i=r(`${zn}Duration`),c=Nl(a,i);let u=null,d=0,p=0;t===Ot?l>0&&(u=Ot,d=l,p=s.length):t===zn?c>0&&(u=zn,d=c,p=i.length):(d=Math.max(l,c),u=d>0?l>c?Ot:zn:null,p=u?u===Ot?s.length:i.length:0);const v=u===Ot&&/\b(transform|all)(,|$)/.test(r(`${Ot}Property`).toString());return{type:u,timeout:d,propCount:p,hasTransform:v}}function Nl(e,t){for(;e.lengthDl(n)+Dl(e[r])))}function Dl(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Ui(){return document.body.offsetHeight}function J1(e,t,n){const r=e[$n];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const jl=Symbol("_vod"),Q1=Symbol("_vsh"),X1=Symbol(""),Z1=/(^|;)\s*display\s*:/;function ed(e,t,n){const r=e.style,o=Ae(n);let s=!1;if(n&&!o){if(t)if(Ae(t))for(const l of t.split(";")){const a=l.slice(0,l.indexOf(":")).trim();n[a]==null&&Yr(r,a,"")}else for(const l in t)n[l]==null&&Yr(r,l,"");for(const l in n)l==="display"&&(s=!0),Yr(r,l,n[l])}else if(o){if(t!==n){const l=r[X1];l&&(n+=";"+l),r.cssText=n,s=Z1.test(n)}}else t&&e.removeAttribute("style");jl in e&&(e[jl]=s?r.display:"",e[Q1]&&(r.display="none"))}const Fl=/\s*!important$/;function Yr(e,t,n){if(X(n))n.forEach(r=>Yr(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=td(e,t);Fl.test(n)?e.setProperty(Dn(r),n.replace(Fl,""),"important"):e[r]=n}}const Bl=["Webkit","Moz","ms"],$o={};function td(e,t){const n=$o[t];if(n)return n;let r=it(t);if(r!=="filter"&&r in e)return $o[t]=r;r=yr(r);for(let o=0;oOo||(id.then(()=>Oo=0),Oo=Date.now());function ud(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;st(fd(r,n.value),t,5,[r])};return n.value=e,n.attached=cd(),n}function fd(e,t){if(X(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const ql=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,dd=(e,t,n,r,o,s,l,a,i)=>{const c=o==="svg";t==="class"?J1(e,r,c):t==="style"?ed(e,n,r):gr(t)?Es(t)||ld(e,t,n,r,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):pd(e,t,r,c))?rd(e,t,r,s,l,a,i):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),nd(e,t,r,c))};function pd(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&ql(t)&&ne(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return ql(t)&&Ae(n)?!1:t in e}const Wi=new WeakMap,Gi=new WeakMap,oo=Symbol("_moveCb"),Ul=Symbol("_enterCb"),Ki={name:"TransitionGroup",props:Te({},G1,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Cr(),r=wi();let o,s;return ki(()=>{if(!o.length)return;const l=e.moveClass||`${e.name||"v"}-move`;if(!bd(o[0].el,n.vnode.el,l))return;o.forEach(md),o.forEach(gd);const a=o.filter(yd);Ui(),a.forEach(i=>{const c=i.el,u=c.style;kt(c,l),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[oo]=p=>{p&&p.target!==c||(!p||/transform$/.test(p.propertyName))&&(c.removeEventListener("transitionend",d),c[oo]=null,Mt(c,l))};c.addEventListener("transitionend",d)})}),()=>{const l=oe(e),a=zi(l);let i=l.tag||Ue;o=s,s=t.default?js(t.default()):[];for(let c=0;cdelete e.mode;Ki.props;const vd=Ki;function md(e){const t=e.el;t[oo]&&t[oo](),t[Ul]&&t[Ul]()}function gd(e){Gi.set(e,e.el.getBoundingClientRect())}function yd(e){const t=Wi.get(e),n=Gi.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const s=e.el.style;return s.transform=s.webkitTransform=`translate(${r}px,${o}px)`,s.transitionDuration="0s",e}}function bd(e,t,n){const r=e.cloneNode(),o=e[$n];o&&o.forEach(a=>{a.split(/\s+/).forEach(i=>i&&r.classList.remove(i))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:l}=qi(r);return s.removeChild(r),l}const wd=Te({patchProp:dd},W1);let Ro,Wl=!1;function _d(){return Ro=Wl?Ro:x1(wd),Wl=!0,Ro}const Ed=(...e)=>{const t=_d().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=kd(r);if(o)return n(o,!0,Cd(o))},t};function Cd(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function kd(e){return Ae(e)?document.querySelector(e):e}var Sd=["link","meta","script","style","noscript","template"],xd=["title","base"],Td=([e,t,n])=>xd.includes(e)?e:Sd.includes(e)?e==="meta"&&t.name?`${e}.${t.name}`:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,Object.entries(t).map(([r,o])=>typeof o=="boolean"?o?[r,""]:null:[r,o]).filter(r=>r!=null).sort(([r],[o])=>r.localeCompare(o)),n]):null,Ad=e=>{const t=new Set,n=[];return e.forEach(r=>{const o=Td(r);o&&!t.has(o)&&(t.add(o),n.push(r))}),n},Ld=e=>e[0]==="/"?e:`/${e}`,Yi=e=>e[e.length-1]==="/"||e.endsWith(".html")?e:`${e}/`,ln=e=>/^(https?:)?\/\//.test(e),Id=/.md((\?|#).*)?$/,On=(e,t="/")=>!!(ln(e)||e.startsWith("/")&&!e.startsWith(t)&&!Id.test(e)),Ji=e=>/^[a-z][a-z0-9+.-]*:/.test(e),Fn=e=>Object.prototype.toString.call(e)==="[object Object]",$d=e=>{const[t,...n]=e.split(/(\?|#)/);if(!t||t.endsWith("/"))return e;let r=t.replace(/(^|\/)README.md$/i,"$1index.html");return r.endsWith(".md")?r=r.substring(0,r.length-3)+".html":r.endsWith(".html")||(r=r+".html"),r.endsWith("/index.html")&&(r=r.substring(0,r.length-10)),r+n.join("")},qs=e=>e[e.length-1]==="/"?e.slice(0,-1):e,Qi=e=>e[0]==="/"?e.slice(1):e,Od=(e,t)=>{const n=Object.keys(e).sort((r,o)=>{const s=o.split("/").length-r.split("/").length;return s!==0?s:o.length-r.length});for(const r of n)if(t.startsWith(r))return r;return"/"},Ce=e=>typeof e=="string";const Rd="modulepreload",Pd=function(e){return"/"+e},Gl={},Fe=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const s=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),a=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));o=Promise.all(n.map(i=>{if(i=Pd(i),i in Gl)return;Gl[i]=!0;const c=i.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!r)for(let v=s.length-1;v>=0;v--){const g=s[v];if(g.href===i&&(!c||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${u}`))return;const p=document.createElement("link");if(p.rel=c?"stylesheet":Rd,c||(p.as="script",p.crossOrigin=""),p.href=i,a&&p.setAttribute("nonce",a),document.head.appendChild(p),c)return new Promise((v,g)=>{p.addEventListener("load",v),p.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${i}`)))})}))}return o.then(()=>t()).catch(s=>{const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=s,window.dispatchEvent(l),!l.defaultPrevented)throw s})},Md=JSON.parse("{}"),Nd=Object.fromEntries([["/",{loader:()=>Fe(()=>import("./index.html-DbnPbPo-.js"),__vite__mapDeps([])),meta:{t:"首页",i:"home"}}],["/foolsday.html",{loader:()=>Fe(()=>import("./foolsday.html-BMsSOP5X.js"),__vite__mapDeps([])),meta:{t:"首页",i:"home"}}],["/deployment/",{loader:()=>Fe(()=>import("./index.html-DnZkyq7Q.js"),__vite__mapDeps([])),meta:{t:"项目部署",i:"laptop-code"}}],["/deployment/config.html",{loader:()=>Fe(()=>import("./config.html-DtVbCcwf.js"),__vite__mapDeps([])),meta:{t:"配置",i:"cog",O:2}}],["/deployment/fandq.html",{loader:()=>Fe(()=>import("./fandq.html-DIjLIDaJ.js"),__vite__mapDeps([])),meta:{t:"答疑",i:"question",O:3}}],["/deployment/install.html",{loader:()=>Fe(()=>import("./install.html-BRS2bET7.js"),__vite__mapDeps([])),meta:{t:"安装",i:"download",O:1}}],["/store/",{loader:()=>Fe(()=>import("./index.html-J_ffJVHV.js"),__vite__mapDeps([])),meta:{t:"资源商店",i:"store"}}],["/usage/",{loader:()=>Fe(()=>import("./index.html-Ta9UwKwu.js"),__vite__mapDeps([])),meta:{t:"使用手册",i:"laptop-code"}}],["/usage/agreement.html",{loader:()=>Fe(()=>import("./agreement.html-CPbV1x-H.js"),__vite__mapDeps([])),meta:{t:"用户协议",i:"user-secret",O:3}}],["/usage/basic_command.html",{loader:()=>Fe(()=>import("./basic_command.html-DQ29aJD_.js"),__vite__mapDeps([])),meta:{t:"基础命令",i:"comment",O:1}}],["/usage/extra_command.html",{loader:()=>Fe(()=>import("./extra_command.html-C3sZS0Oo.js"),__vite__mapDeps([])),meta:{t:"功能命令",i:"comment",O:2}}],["/usage/resource_pack.html",{loader:()=>Fe(()=>import("./resource_pack.html-x0NGvJLp.js"),__vite__mapDeps([])),meta:{t:"资源包",i:"paint-brush",O:3}}],["/404.html",{loader:()=>Fe(()=>import("./404.html-DpPpkLwT.js"),__vite__mapDeps([])),meta:{t:""}}]]);/*! * vue-router v4.3.0 * (c) 2024 Eduardo San Martin Morote * @license MIT */const vn=typeof document<"u";function Dd(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ce=Object.assign;function Po(e,t){const n={};for(const r in t){const o=t[r];n[r]=ht(o)?o.map(e):e(o)}return n}const tr=()=>{},ht=Array.isArray,Xi=/#/g,jd=/&/g,Fd=/\//g,Bd=/=/g,Hd=/\?/g,Zi=/\+/g,Vd=/%5B/g,zd=/%5D/g,ec=/%5E/g,qd=/%60/g,tc=/%7B/g,Ud=/%7C/g,nc=/%7D/g,Wd=/%20/g;function Us(e){return encodeURI(""+e).replace(Ud,"|").replace(Vd,"[").replace(zd,"]")}function Gd(e){return Us(e).replace(tc,"{").replace(nc,"}").replace(ec,"^")}function as(e){return Us(e).replace(Zi,"%2B").replace(Wd,"+").replace(Xi,"%23").replace(jd,"%26").replace(qd,"`").replace(tc,"{").replace(nc,"}").replace(ec,"^")}function Kd(e){return as(e).replace(Bd,"%3D")}function Yd(e){return Us(e).replace(Xi,"%23").replace(Hd,"%3F")}function Jd(e){return e==null?"":Yd(e).replace(Fd,"%2F")}function ur(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Qd=/\/$/,Xd=e=>e.replace(Qd,"");function Mo(e,t,n="/"){let r,o={},s="",l="";const a=t.indexOf("#");let i=t.indexOf("?");return a=0&&(i=-1),i>-1&&(r=t.slice(0,i),s=t.slice(i+1,a>-1?a:t.length),o=e(s)),a>-1&&(r=r||t.slice(0,a),l=t.slice(a,t.length)),r=n0(r??t,n),{fullPath:r+(s&&"?")+s+l,path:r,query:o,hash:ur(l)}}function Zd(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Kl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function e0(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Rn(t.matched[r],n.matched[o])&&rc(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Rn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function rc(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!t0(e[n],t[n]))return!1;return!0}function t0(e,t){return ht(e)?Yl(e,t):ht(t)?Yl(t,e):e===t}function Yl(e,t){return ht(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function n0(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,l,a;for(l=0;l1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(l).join("/")}var fr;(function(e){e.pop="pop",e.push="push"})(fr||(fr={}));var nr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(nr||(nr={}));function r0(e){if(!e)if(vn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Xd(e)}const o0=/^[^#]+#/;function s0(e,t){return e.replace(o0,"#")+t}function l0(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const vo=()=>({left:window.scrollX,top:window.scrollY});function a0(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=l0(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Jl(e,t){return(history.state?history.state.position-t:-1)+e}const is=new Map;function i0(e,t){is.set(e,t)}function c0(e){const t=is.get(e);return is.delete(e),t}let u0=()=>location.protocol+"//"+location.host;function oc(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,i=o.slice(a);return i[0]!=="/"&&(i="/"+i),Kl(i,"")}return Kl(n,e)+r+o}function f0(e,t,n,r){let o=[],s=[],l=null;const a=({state:p})=>{const v=oc(e,location),g=n.value,_=t.value;let w=0;if(p){if(n.value=v,t.value=p,l&&l===g){l=null;return}w=_?p.position-_.position:0}else r(v);o.forEach(b=>{b(n.value,g,{delta:w,type:fr.pop,direction:w?w>0?nr.forward:nr.back:nr.unknown})})};function i(){l=n.value}function c(p){o.push(p);const v=()=>{const g=o.indexOf(p);g>-1&&o.splice(g,1)};return s.push(v),v}function u(){const{history:p}=window;p.state&&p.replaceState(ce({},p.state,{scroll:vo()}),"")}function d(){for(const p of s)p();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:i,listen:c,destroy:d}}function Ql(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?vo():null}}function d0(e){const{history:t,location:n}=window,r={value:oc(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(i,c,u){const d=e.indexOf("#"),p=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+i:u0()+e+i;try{t[u?"replaceState":"pushState"](c,"",p),o.value=c}catch(v){console.error(v),n[u?"replace":"assign"](p)}}function l(i,c){const u=ce({},t.state,Ql(o.value.back,i,o.value.forward,!0),c,{position:o.value.position});s(i,u,!0),r.value=i}function a(i,c){const u=ce({},o.value,t.state,{forward:i,scroll:vo()});s(u.current,u,!0);const d=ce({},Ql(r.value,i,null),{position:u.position+1},c);s(i,d,!1),r.value=i}return{location:r,state:o,push:a,replace:l}}function p0(e){e=r0(e);const t=d0(e),n=f0(e,t.state,t.location,t.replace);function r(s,l=!0){l||n.pauseListeners(),history.go(s)}const o=ce({location:"",base:e,go:r,createHref:s0.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function h0(e){return typeof e=="string"||e&&typeof e=="object"}function sc(e){return typeof e=="string"||typeof e=="symbol"}const St={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},lc=Symbol("");var Xl;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Xl||(Xl={}));function Pn(e,t){return ce(new Error,{type:e,[lc]:!0},t)}function Ct(e,t){return e instanceof Error&&lc in e&&(t==null||!!(e.type&t))}const Zl="[^/]+?",v0={sensitive:!1,strict:!1,start:!0,end:!0},m0=/[.+*?^${}()[\]/\\]/g;function g0(e,t){const n=ce({},v0,t),r=[];let o=n.start?"^":"";const s=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let d=0;dt.length?t.length===1&&t[0]===80?1:-1:0}function b0(e,t){let n=0;const r=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const w0={type:0,value:""},_0=/[a-zA-Z0-9_]/;function E0(e){if(!e)return[[]];if(e==="/")return[[w0]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(v){throw new Error(`ERR (${n})/"${c}": ${v}`)}let n=0,r=n;const o=[];let s;function l(){s&&o.push(s),s=[]}let a=0,i,c="",u="";function d(){c&&(n===0?s.push({type:0,value:c}):n===1||n===2||n===3?(s.length>1&&(i==="*"||i==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:i==="*"||i==="+",optional:i==="*"||i==="?"})):t("Invalid state to consume buffer"),c="")}function p(){c+=i}for(;a{l(C)}:tr}function l(u){if(sc(u)){const d=r.get(u);d&&(r.delete(u),n.splice(n.indexOf(d),1),d.children.forEach(l),d.alias.forEach(l))}else{const d=n.indexOf(u);d>-1&&(n.splice(d,1),u.record.name&&r.delete(u.record.name),u.children.forEach(l),u.alias.forEach(l))}}function a(){return n}function i(u){let d=0;for(;d=0&&(u.record.path!==n[d].record.path||!ac(u,n[d]));)d++;n.splice(d,0,u),u.record.name&&!na(u)&&r.set(u.record.name,u)}function c(u,d){let p,v={},g,_;if("name"in u&&u.name){if(p=r.get(u.name),!p)throw Pn(1,{location:u});_=p.record.name,v=ce(ta(d.params,p.keys.filter(C=>!C.optional).concat(p.parent?p.parent.keys.filter(C=>C.optional):[]).map(C=>C.name)),u.params&&ta(u.params,p.keys.map(C=>C.name))),g=p.stringify(v)}else if(u.path!=null)g=u.path,p=n.find(C=>C.re.test(g)),p&&(v=p.parse(g),_=p.record.name);else{if(p=d.name?r.get(d.name):n.find(C=>C.re.test(d.path)),!p)throw Pn(1,{location:u,currentLocation:d});_=p.record.name,v=ce({},d.params,u.params),g=p.stringify(v)}const w=[];let b=p;for(;b;)w.unshift(b.record),b=b.parent;return{name:_,path:g,params:v,matched:w,meta:T0(w)}}return e.forEach(u=>s(u)),{addRoute:s,resolve:c,removeRoute:l,getRoutes:a,getRecordMatcher:o}}function ta(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function S0(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:x0(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 x0(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function na(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function T0(e){return e.reduce((t,n)=>ce(t,n.meta),{})}function ra(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function ac(e,t){return t.children.some(n=>n===e||ac(e,n))}function A0(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;os&&as(s)):[r&&as(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function L0(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=ht(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const I0=Symbol(""),sa=Symbol(""),mo=Symbol(""),Ws=Symbol(""),cs=Symbol("");function qn(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Bt(e,t,n,r,o,s=l=>l()){const l=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,i)=>{const c=p=>{p===!1?i(Pn(4,{from:n,to:t})):p instanceof Error?i(p):h0(p)?i(Pn(2,{from:t,to:p})):(l&&r.enterCallbacks[o]===l&&typeof p=="function"&&l.push(p),a())},u=s(()=>e.call(r&&r.instances[o],t,n,c));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch(p=>i(p))})}function No(e,t,n,r,o=s=>s()){const s=[];for(const l of e)for(const a in l.components){let i=l.components[a];if(!(t!=="beforeRouteEnter"&&!l.instances[a]))if($0(i)){const u=(i.__vccOpts||i)[t];u&&s.push(Bt(u,n,r,l,a,o))}else{let c=i();s.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${l.path}"`));const d=Dd(u)?u.default:u;l.components[a]=d;const v=(d.__vccOpts||d)[t];return v&&Bt(v,n,r,l,a,o)()}))}}return s}function $0(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function la(e){const t=Re(mo),n=Re(Ws),r=x(()=>t.resolve(Vt(e.to))),o=x(()=>{const{matched:i}=r.value,{length:c}=i,u=i[c-1],d=n.matched;if(!u||!d.length)return-1;const p=d.findIndex(Rn.bind(null,u));if(p>-1)return p;const v=aa(i[c-2]);return c>1&&aa(u)===v&&d[d.length-1].path!==v?d.findIndex(Rn.bind(null,i[c-2])):p}),s=x(()=>o.value>-1&&M0(n.params,r.value.params)),l=x(()=>o.value>-1&&o.value===n.matched.length-1&&rc(n.params,r.value.params));function a(i={}){return P0(i)?t[Vt(e.replace)?"replace":"push"](Vt(e.to)).catch(tr):Promise.resolve()}return{route:r,href:x(()=>r.value.href),isActive:s,isExactActive:l,navigate:a}}const O0=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:la,setup(e,{slots:t}){const n=br(la(e)),{options:r}=Re(mo),o=x(()=>({[ia(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[ia(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:f("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),R0=O0;function P0(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 M0(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!ht(o)||o.length!==r.length||r.some((s,l)=>s!==o[l]))return!1}return!0}function aa(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ia=(e,t,n)=>e??t??n,N0=z({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Re(cs),o=x(()=>e.route||r.value),s=Re(sa,0),l=x(()=>{let c=Vt(s);const{matched:u}=o.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),a=x(()=>o.value.matched[l.value]);Sn(sa,x(()=>l.value+1)),Sn(I0,a),Sn(cs,o);const i=Y();return ie(()=>[i.value,a.value,e.name],([c,u,d],[p,v,g])=>{u&&(u.instances[d]=c,v&&v!==u&&c&&c===p&&(u.leaveGuards.size||(u.leaveGuards=v.leaveGuards),u.updateGuards.size||(u.updateGuards=v.updateGuards))),c&&u&&(!v||!Rn(u,v)||!p)&&(u.enterCallbacks[d]||[]).forEach(_=>_(c))},{flush:"post"}),()=>{const c=o.value,u=e.name,d=a.value,p=d&&d.components[u];if(!p)return ca(n.default,{Component:p,route:c});const v=d.props[u],g=v?v===!0?c.params:typeof v=="function"?v(c):v:null,w=f(p,ce({},g,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(d.instances[u]=null)},ref:i}));return ca(n.default,{Component:w,route:c})||w}}});function ca(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const D0=N0;function j0(e){const t=k0(e.routes,e),n=e.parseQuery||A0,r=e.stringifyQuery||oa,o=e.history,s=qn(),l=qn(),a=qn(),i=Me(St);let c=St;vn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Po.bind(null,T=>""+T),d=Po.bind(null,Jd),p=Po.bind(null,ur);function v(T,H){let F,G;return sc(T)?(F=t.getRecordMatcher(T),G=H):G=T,t.addRoute(G,F)}function g(T){const H=t.getRecordMatcher(T);H&&t.removeRoute(H)}function _(){return t.getRoutes().map(T=>T.record)}function w(T){return!!t.getRecordMatcher(T)}function b(T,H){if(H=ce({},H||i.value),typeof T=="string"){const m=Mo(n,T,H.path),E=t.resolve({path:m.path},H),L=o.createHref(m.fullPath);return ce(m,E,{params:p(E.params),hash:ur(m.hash),redirectedFrom:void 0,href:L})}let F;if(T.path!=null)F=ce({},T,{path:Mo(n,T.path,H.path).path});else{const m=ce({},T.params);for(const E in m)m[E]==null&&delete m[E];F=ce({},T,{params:d(m)}),H.params=d(H.params)}const G=t.resolve(F,H),se=T.hash||"";G.params=u(p(G.params));const fe=Zd(r,ce({},T,{hash:Gd(se),path:G.path})),h=o.createHref(fe);return ce({fullPath:fe,hash:se,query:r===oa?L0(T.query):T.query||{}},G,{redirectedFrom:void 0,href:h})}function C(T){return typeof T=="string"?Mo(n,T,i.value.path):ce({},T)}function y(T,H){if(c!==T)return Pn(8,{from:H,to:T})}function S(T){return P(T)}function R(T){return S(ce(C(T),{replace:!0}))}function k(T){const H=T.matched[T.matched.length-1];if(H&&H.redirect){const{redirect:F}=H;let G=typeof F=="function"?F(T):F;return typeof G=="string"&&(G=G.includes("?")||G.includes("#")?G=C(G):{path:G},G.params={}),ce({query:T.query,hash:T.hash,params:G.path!=null?{}:T.params},G)}}function P(T,H){const F=c=b(T),G=i.value,se=T.state,fe=T.force,h=T.replace===!0,m=k(F);if(m)return P(ce(C(m),{state:typeof m=="object"?ce({},se,m.state):se,force:fe,replace:h}),H||F);const E=F;E.redirectedFrom=H;let L;return!fe&&e0(r,G,F)&&(L=Pn(16,{to:E,from:G}),Ze(G,G,!0,!1)),(L?Promise.resolve(L):$(E,G)).catch(A=>Ct(A)?Ct(A,2)?A:vt(A):W(A,E,G)).then(A=>{if(A){if(Ct(A,2))return P(ce({replace:h},C(A.to),{state:typeof A.to=="object"?ce({},se,A.to.state):se,force:fe}),H||E)}else A=M(E,G,!0,h,se);return q(E,G,A),A})}function O(T,H){const F=y(T,H);return F?Promise.reject(F):Promise.resolve()}function K(T){const H=Et.values().next().value;return H&&typeof H.runWithContext=="function"?H.runWithContext(T):T()}function $(T,H){let F;const[G,se,fe]=F0(T,H);F=No(G.reverse(),"beforeRouteLeave",T,H);for(const m of G)m.leaveGuards.forEach(E=>{F.push(Bt(E,T,H))});const h=O.bind(null,T,H);return F.push(h),xe(F).then(()=>{F=[];for(const m of s.list())F.push(Bt(m,T,H));return F.push(h),xe(F)}).then(()=>{F=No(se,"beforeRouteUpdate",T,H);for(const m of se)m.updateGuards.forEach(E=>{F.push(Bt(E,T,H))});return F.push(h),xe(F)}).then(()=>{F=[];for(const m of fe)if(m.beforeEnter)if(ht(m.beforeEnter))for(const E of m.beforeEnter)F.push(Bt(E,T,H));else F.push(Bt(m.beforeEnter,T,H));return F.push(h),xe(F)}).then(()=>(T.matched.forEach(m=>m.enterCallbacks={}),F=No(fe,"beforeRouteEnter",T,H,K),F.push(h),xe(F))).then(()=>{F=[];for(const m of l.list())F.push(Bt(m,T,H));return F.push(h),xe(F)}).catch(m=>Ct(m,8)?m:Promise.reject(m))}function q(T,H,F){a.list().forEach(G=>K(()=>G(T,H,F)))}function M(T,H,F,G,se){const fe=y(T,H);if(fe)return fe;const h=H===St,m=vn?history.state:{};F&&(G||h?o.replace(T.fullPath,ce({scroll:h&&m&&m.scroll},se)):o.push(T.fullPath,se)),i.value=T,Ze(T,H,F,h),vt()}let Z;function be(){Z||(Z=o.listen((T,H,F)=>{if(!mt.listening)return;const G=b(T),se=k(G);if(se){P(ce(se,{replace:!0}),G).catch(tr);return}c=G;const fe=i.value;vn&&i0(Jl(fe.fullPath,F.delta),vo()),$(G,fe).catch(h=>Ct(h,12)?h:Ct(h,2)?(P(h.to,G).then(m=>{Ct(m,20)&&!F.delta&&F.type===fr.pop&&o.go(-1,!1)}).catch(tr),Promise.reject()):(F.delta&&o.go(-F.delta,!1),W(h,G,fe))).then(h=>{h=h||M(G,fe,!1),h&&(F.delta&&!Ct(h,8)?o.go(-F.delta,!1):F.type===fr.pop&&Ct(h,20)&&o.go(-1,!1)),q(G,fe,h)}).catch(tr)}))}let me=qn(),U=qn(),ee;function W(T,H,F){vt(T);const G=U.list();return G.length?G.forEach(se=>se(T,H,F)):console.error(T),Promise.reject(T)}function Se(){return ee&&i.value!==St?Promise.resolve():new Promise((T,H)=>{me.add([T,H])})}function vt(T){return ee||(ee=!T,be(),me.list().forEach(([H,F])=>T?F(T):H()),me.reset()),T}function Ze(T,H,F,G){const{scrollBehavior:se}=e;if(!vn||!se)return Promise.resolve();const fe=!F&&c0(Jl(T.fullPath,0))||(G||!F)&&history.state&&history.state.scroll||null;return Gt().then(()=>se(T,H,fe)).then(h=>h&&a0(h)).catch(h=>W(h,T,H))}const Ie=T=>o.go(T);let Je;const Et=new Set,mt={currentRoute:i,listening:!0,addRoute:v,removeRoute:g,hasRoute:w,getRoutes:_,resolve:b,options:e,push:S,replace:R,go:Ie,back:()=>Ie(-1),forward:()=>Ie(1),beforeEach:s.add,beforeResolve:l.add,afterEach:a.add,onError:U.add,isReady:Se,install(T){const H=this;T.component("RouterLink",R0),T.component("RouterView",D0),T.config.globalProperties.$router=H,Object.defineProperty(T.config.globalProperties,"$route",{enumerable:!0,get:()=>Vt(i)}),vn&&!Je&&i.value===St&&(Je=!0,S(o.location).catch(se=>{}));const F={};for(const se in St)Object.defineProperty(F,se,{get:()=>i.value[se],enumerable:!0});T.provide(mo,H),T.provide(Ws,ri(F)),T.provide(cs,i);const G=T.unmount;Et.add(T),T.unmount=function(){Et.delete(T),Et.size<1&&(c=St,Z&&Z(),Z=null,i.value=St,Je=!1,ee=!1),G()}}};function xe(T){return T.reduce((H,F)=>H.then(()=>K(F)),Promise.resolve())}return mt}function F0(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let l=0;lRn(c,a))?r.push(a):n.push(a));const i=e.matched[l];i&&(t.matched.find(c=>Rn(c,i))||o.push(i))}return[n,r,o]}function an(){return Re(mo)}function cn(){return Re(Ws)}var Gs=Symbol(""),_t=()=>{const e=Re(Gs);if(!e)throw new Error("useClientData() is called without provider.");return e},B0=()=>_t().pageComponent,we=()=>_t().pageData,_e=()=>_t().pageFrontmatter,H0=()=>_t().pageHead,Ks=()=>_t().pageLang,V0=()=>_t().pageLayout,un=()=>_t().routeLocale,z0=()=>_t().routes,ic=()=>_t().siteData,Ys=()=>_t().siteLocaleData,q0=Symbol(""),us=Me(Md),dr=Me(Nd),cc=e=>{const t=$d(e);if(dr.value[t])return t;const n=encodeURI(t);return dr.value[n]?n:us.value[t]||us.value[n]||t},go=e=>{const t=cc(e),n=dr.value[t]??{...dr.value["/404.html"],notFound:!0};return{path:t,notFound:!1,...n}},yo=z({name:"ClientOnly",setup(e,t){const n=Y(!1);return ve(()=>{n.value=!0}),()=>{var r,o;return n.value?(o=(r=t.slots).default)==null?void 0:o.call(r):null}}}),uc=z({name:"Content",props:{path:{type:String,required:!1,default:""}},setup(e){const t=B0(),n=x(()=>{if(!e.path)return t.value;const r=go(e.path);return Zf(()=>r.loader().then(({comp:o})=>o))});return()=>f(n.value)}}),Ye=(e={})=>e,He=e=>ln(e)?e:`/${Qi(e)}`,U0=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}},We=({active:e=!1,activeClass:t="route-link-active",to:n,...r},{slots:o})=>{var i;const s=an(),l=cc(n),a=l.startsWith("#")||l.startsWith("?")?l:He(l);return f("a",{...r,class:["route-link",{[t]:e}],href:a,onClick:(c={})=>{U0(c)?s.push(n).catch():Promise.resolve()}},(i=o.default)==null?void 0:i.call(o))};We.displayName="RouteLink";We.props={active:Boolean,activeClass:String,to:String};var W0="Layout",G0="en-US",Qt=br({resolveLayouts:e=>e.reduce((t,n)=>({...t,...n.layouts}),{}),resolvePageHead:(e,t,n)=>{const r=Ce(t.description)?t.description:n.description,o=[...Array.isArray(t.head)?t.head:[],...n.head,["title",{},e],["meta",{name:"description",content:r}]];return Ad(o)},resolvePageHeadTitle:(e,t)=>[e.title,t.title].filter(n=>!!n).join(" | "),resolvePageLang:(e,t)=>e.lang||t.lang||G0,resolvePageLayout:(e,t)=>{const n=Ce(e.frontmatter.layout)?e.frontmatter.layout:W0;if(!t[n])throw new Error(`[vuepress] Cannot resolve layout: ${n}`);return t[n]},resolveRouteLocale:(e,t)=>Od(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 K0={},xr=e=>{const t=un();return x(()=>e[t.value]??{})};var Be=Uint8Array,yn=Uint16Array,Y0=Int32Array,fc=new Be([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]),dc=new Be([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]),J0=new Be([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),pc=function(e,t){for(var n=new yn(31),r=0;r<31;++r)n[r]=t+=1<>1|(he&21845)<<1;Rt=(Rt&52428)>>2|(Rt&13107)<<2,Rt=(Rt&61680)>>4|(Rt&3855)<<4,fs[he]=((Rt&65280)>>8|(Rt&255)<<8)>>1}var rr=function(e,t,n){for(var r=e.length,o=0,s=new yn(t);o>i]=c}else for(a=new yn(r),o=0;o>15-e[o]);return a},Tr=new Be(288);for(var he=0;he<144;++he)Tr[he]=8;for(var he=144;he<256;++he)Tr[he]=9;for(var he=256;he<280;++he)Tr[he]=7;for(var he=280;he<288;++he)Tr[he]=8;var mc=new Be(32);for(var he=0;he<32;++he)mc[he]=5;var e2=rr(Tr,9,1),t2=rr(mc,5,1),Do=function(e){for(var t=e[0],n=1;nt&&(t=e[n]);return t},ut=function(e,t,n){var r=t/8|0;return(e[r]|e[r+1]<<8)>>(t&7)&n},jo=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(t&7)},n2=function(e){return(e+7)/8|0},Js=function(e,t,n){return(t==null||t<0)&&(t=0),(n==null||n>e.length)&&(n=e.length),new Be(e.subarray(t,n))},r2=["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"],nt=function(e,t,n){var r=new Error(t||r2[e]);if(r.code=e,Error.captureStackTrace&&Error.captureStackTrace(r,nt),!n)throw r;return r},o2=function(e,t,n,r){var o=e.length,s=r?r.length:0;if(!o||t.f&&!t.l)return n||new Be(0);var l=!n,a=l||t.i!=2,i=t.i;l&&(n=new Be(o*3));var c=function(se){var fe=n.length;if(se>fe){var h=new Be(Math.max(fe*2,se));h.set(n),n=h}},u=t.f||0,d=t.p||0,p=t.b||0,v=t.l,g=t.d,_=t.m,w=t.n,b=o*8;do{if(!v){u=ut(e,d,1);var C=ut(e,d+1,3);if(d+=3,C)if(C==1)v=e2,g=t2,_=9,w=5;else if(C==2){var k=ut(e,d,31)+257,P=ut(e,d+10,15)+4,O=k+ut(e,d+5,31)+1;d+=14;for(var K=new Be(O),$=new Be(19),q=0;q>4;if(y<16)K[q++]=y;else{var U=0,ee=0;for(y==16?(ee=3+ut(e,d,3),d+=2,U=K[q-1]):y==17?(ee=3+ut(e,d,7),d+=3):y==18&&(ee=11+ut(e,d,127),d+=7);ee--;)K[q++]=U}}var W=K.subarray(0,k),Se=K.subarray(k);_=Do(W),w=Do(Se),v=rr(W,_,1),g=rr(Se,w,1)}else nt(1);else{var y=n2(d)+4,S=e[y-4]|e[y-3]<<8,R=y+S;if(R>o){i&&nt(0);break}a&&c(p+S),n.set(e.subarray(y,R),p),t.b=p+=S,t.p=d=R*8,t.f=u;continue}if(d>b){i&&nt(0);break}}a&&c(p+131072);for(var vt=(1<<_)-1,Ze=(1<>4;if(d+=U&15,d>b){i&&nt(0);break}if(U||nt(2),Je<256)n[p++]=Je;else if(Je==256){Ie=d,v=null;break}else{var Et=Je-254;if(Je>264){var q=Je-257,mt=fc[q];Et=ut(e,d,(1<>4;xe||nt(3),d+=xe&15;var Se=Z0[T];if(T>3){var mt=dc[T];Se+=jo(e,d)&(1<b){i&&nt(0);break}a&&c(p+131072);var H=p+Et;if(p>4>7||(e[0]<<8|e[1])%31)&&nt(6,"invalid zlib data"),(e[1]>>5&1)==+!t&&nt(6,"invalid zlib data: "+(e[1]&32?"need":"unexpected")+" dictionary"),(e[1]>>3&4)+2};function a2(e,t){return o2(e.subarray(l2(e,t&&t.dictionary),-4),{i:2},t&&t.out,t&&t.dictionary)}var ua=typeof TextEncoder<"u"&&new TextEncoder,ds=typeof TextDecoder<"u"&&new TextDecoder,i2=0;try{ds.decode(s2,{stream:!0}),i2=1}catch{}var c2=function(e){for(var t="",n=0;;){var r=e[n++],o=(r>127)+(r>223)+(r>239);if(n+o>e.length)return{s:t,r:Js(e,n-1)};o?o==3?(r=((r&15)<<18|(e[n++]&63)<<12|(e[n++]&63)<<6|e[n++]&63)-65536,t+=String.fromCharCode(55296|r>>10,56320|r&1023)):o&1?t+=String.fromCharCode((r&31)<<6|e[n++]&63):t+=String.fromCharCode((r&15)<<12|(e[n++]&63)<<6|e[n++]&63):t+=String.fromCharCode(r)}};function u2(e,t){if(t){for(var n=new Be(e.length),r=0;r>1)),l=0,a=function(u){s[l++]=u},r=0;rs.length){var i=new Be(l+8+(o-r<<1));i.set(s),s=i}var c=e.charCodeAt(r);c<128||t?a(c):c<2048?(a(192|c>>6),a(128|c&63)):c>55295&&c<57344?(c=65536+(c&1047552)|e.charCodeAt(++r)&1023,a(240|c>>18),a(128|c>>12&63),a(128|c>>6&63),a(128|c&63)):(a(224|c>>12),a(128|c>>6&63),a(128|c&63))}return Js(s,0,l)}function f2(e,t){if(t){for(var n="",r=0;r{const t=atob(e);return f2(a2(u2(t,!0)))},at=(e,t)=>{var r;const n=(r=(t==null?void 0:t._instance)||Cr())==null?void 0:r.appContext.components;return n?e in n||it(e)in n||yr(it(e))in n:!1},gc=e=>new Promise(t=>setTimeout(t,e)),yc=e=>typeof e<"u",Fo=e=>typeof e=="number",ps=Array.isArray,Mn=(e,t)=>Ce(e)&&e.startsWith(t),d2=(e,t)=>Ce(e)&&e.endsWith(t),p2=Object.entries,fn=Object.keys,h2=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},Qs=e=>Mn(e,"/");function bc(e,t){let n,r,o;const s=Y(!0),l=()=>{s.value=!0,o()};ie(e,l,{flush:"sync"});const a=typeof t=="function"?t:t.get,i=typeof t=="function"?void 0:t.set,c=Ms((u,d)=>(r=u,o=d,{get(){return s.value&&(n=a(),s.value=!1),r(),n},set(p){i==null||i(p)}}));return Object.isExtensible(c)&&(c.trigger=l),c}function Bn(e){return Ua()?(sf(e),!0):!1}function Ne(e){return typeof e=="function"?e():Vt(e)}const Ar=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const v2=Object.prototype.toString,m2=e=>v2.call(e)==="[object Object]",rn=()=>{},da=g2();function g2(){var e,t;return Ar&&((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 Xs(e,t){function n(...r){return new Promise((o,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(s)})}return n}const wc=e=>e();function y2(e,t={}){let n,r,o=rn;const s=a=>{clearTimeout(a),o(),o=rn};return a=>{const i=Ne(e),c=Ne(t.maxWait);return n&&s(n),i<=0||c!==void 0&&c<=0?(r&&(s(r),r=null),Promise.resolve(a())):new Promise((u,d)=>{o=t.rejectOnCancel?d:u,c&&!r&&(r=setTimeout(()=>{n&&s(n),r=null,u(a())},c)),n=setTimeout(()=>{r&&s(r),r=null,u(a())},i)})}}function b2(...e){let t=0,n,r=!0,o=rn,s,l,a,i,c;!Pe(e[0])&&typeof e[0]=="object"?{delay:l,trailing:a=!0,leading:i=!0,rejectOnCancel:c=!1}=e[0]:[l,a=!0,i=!0,c=!1]=e;const u=()=>{n&&(clearTimeout(n),n=void 0,o(),o=rn)};return p=>{const v=Ne(l),g=Date.now()-t,_=()=>s=p();return u(),v<=0?(t=Date.now(),_()):(g>v&&(i||!r)?(t=Date.now(),_()):a&&(s=new Promise((w,b)=>{o=c?b:w,n=setTimeout(()=>{t=Date.now(),r=!0,w(_()),u()},Math.max(0,v-g))})),!i&&!n&&(n=setTimeout(()=>r=!0,v)),r=!1,s)}}function w2(e=wc){const t=Y(!0);function n(){t.value=!1}function r(){t.value=!0}const o=(...s)=>{t.value&&e(...s)};return{isActive:wr(t),pause:n,resume:r,eventFilter:o}}function _2(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const r=t;t=void 0,r&&await r},n}function _c(e){return e||Cr()}function E2(...e){if(e.length!==1)return io(...e);const t=e[0];return typeof t=="function"?wr(Ms(()=>({get:t,set:rn}))):Y(t)}function C2(e,t=200,n={}){return Xs(y2(t,n),e)}function k2(e,t=200,n=!1,r=!0,o=!1){return Xs(b2(t,n,r,o),e)}function S2(e,t,n={}){const{eventFilter:r=wc,...o}=n;return ie(e,Xs(r,t),o)}function x2(e,t,n={}){const{eventFilter:r,...o}=n,{eventFilter:s,pause:l,resume:a,isActive:i}=w2(r);return{stop:S2(e,t,{...o,eventFilter:s}),pause:l,resume:a,isActive:i}}function bo(e,t=!0,n){_c()?ve(e,n):t?e():Gt(e)}function T2(e,t){_c(t)&&jn(e,t)}function A2(e,t,n={}){const{immediate:r=!0}=n,o=Y(!1);let s=null;function l(){s&&(clearTimeout(s),s=null)}function a(){o.value=!1,l()}function i(...c){l(),o.value=!0,s=setTimeout(()=>{o.value=!1,s=null,e(...c)},Ne(t))}return r&&(o.value=!0,Ar&&i()),Bn(a),{isPending:wr(o),start:i,stop:a}}function pr(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,o=Pe(e),s=Y(e);function l(a){if(arguments.length)return s.value=a,s.value;{const i=Ne(n);return s.value=s.value===i?Ne(r):i,s.value}}return o?l:[s,l]}function xt(e){var t;const n=Ne(e);return(t=n==null?void 0:n.$el)!=null?t:n}const At=Ar?window:void 0,Ec=Ar?window.document:void 0,Cc=Ar?window.navigator:void 0;function Le(...e){let t,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,t=At):[t,n,r,o]=e,!t)return rn;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const s=[],l=()=>{s.forEach(u=>u()),s.length=0},a=(u,d,p,v)=>(u.addEventListener(d,p,v),()=>u.removeEventListener(d,p,v)),i=ie(()=>[xt(t),Ne(o)],([u,d])=>{if(l(),!u)return;const p=m2(d)?{...d}:d;s.push(...n.flatMap(v=>r.map(g=>a(u,v,g,p))))},{immediate:!0,flush:"post"}),c=()=>{i(),l()};return Bn(c),c}function L2(){const e=Y(!1),t=Cr();return t&&ve(()=>{e.value=!0},t),e}function Lr(e){const t=L2();return x(()=>(t.value,!!e()))}function kc(e,t={}){const{window:n=At}=t,r=Lr(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const s=Y(!1),l=c=>{s.value=c.matches},a=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",l):o.removeListener(l))},i=yi(()=>{r.value&&(a(),o=n.matchMedia(Ne(e)),"addEventListener"in o?o.addEventListener("change",l):o.addListener(l),s.value=o.matches)});return Bn(()=>{i(),a(),o=void 0}),s}function pa(e,t={}){const{controls:n=!1,navigator:r=Cc}=t,o=Lr(()=>r&&"permissions"in r);let s;const l=typeof e=="string"?{name:e}:e,a=Y(),i=()=>{s&&(a.value=s.state)},c=_2(async()=>{if(o.value){if(!s)try{s=await r.permissions.query(l),Le(s,"change",i),i()}catch{a.value="prompt"}return s}});return c(),n?{state:a,isSupported:o,query:c}:a}function I2(e={}){const{navigator:t=Cc,read:n=!1,source:r,copiedDuring:o=1500,legacy:s=!1}=e,l=Lr(()=>t&&"clipboard"in t),a=pa("clipboard-read"),i=pa("clipboard-write"),c=x(()=>l.value||s),u=Y(""),d=Y(!1),p=A2(()=>d.value=!1,o);function v(){l.value&&b(a.value)?t.clipboard.readText().then(C=>{u.value=C}):u.value=w()}c.value&&n&&Le(["copy","cut"],v);async function g(C=Ne(r)){c.value&&C!=null&&(l.value&&b(i.value)?await t.clipboard.writeText(C):_(C),u.value=C,d.value=!0,p.start())}function _(C){const y=document.createElement("textarea");y.value=C??"",y.style.position="absolute",y.style.opacity="0",document.body.appendChild(y),y.select(),document.execCommand("copy"),y.remove()}function w(){var C,y,S;return(S=(y=(C=document==null?void 0:document.getSelection)==null?void 0:C.call(document))==null?void 0:y.toString())!=null?S:""}function b(C){return C==="granted"||C==="prompt"}return{isSupported:c,text:u,copied:d,copy:g}}const Hr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Vr="__vueuse_ssr_handlers__",$2=O2();function O2(){return Vr in Hr||(Hr[Vr]=Hr[Vr]||{}),Hr[Vr]}function R2(e,t){return $2[e]||t}function P2(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 M2={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()}},ha="vueuse-storage";function Hn(e,t,n,r={}){var o;const{flush:s="pre",deep:l=!0,listenToStorageChanges:a=!0,writeDefaults:i=!0,mergeDefaults:c=!1,shallow:u,window:d=At,eventFilter:p,onError:v=$=>{console.error($)},initOnMounted:g}=r,_=(u?Me:Y)(typeof t=="function"?t():t);if(!n)try{n=R2("getDefaultStorage",()=>{var $;return($=At)==null?void 0:$.localStorage})()}catch($){v($)}if(!n)return _;const w=Ne(t),b=P2(w),C=(o=r.serializer)!=null?o:M2[b],{pause:y,resume:S}=x2(_,()=>k(_.value),{flush:s,deep:l,eventFilter:p});d&&a&&bo(()=>{Le(d,"storage",O),Le(d,ha,K),g&&O()}),g||O();function R($,q){d&&d.dispatchEvent(new CustomEvent(ha,{detail:{key:e,oldValue:$,newValue:q,storageArea:n}}))}function k($){try{const q=n.getItem(e);if($==null)R(q,null),n.removeItem(e);else{const M=C.write($);q!==M&&(n.setItem(e,M),R(q,M))}}catch(q){v(q)}}function P($){const q=$?$.newValue:n.getItem(e);if(q==null)return i&&w!=null&&n.setItem(e,C.write(w)),w;if(!$&&c){const M=C.read(q);return typeof c=="function"?c(M,w):b==="object"&&!Array.isArray(M)?{...w,...M}:M}else return typeof q!="string"?q:C.read(q)}function O($){if(!($&&$.storageArea!==n)){if($&&$.key==null){_.value=w;return}if(!($&&$.key!==e)){y();try{($==null?void 0:$.newValue)!==C.write(_.value)&&(_.value=P($))}catch(q){v(q)}finally{$?Gt(S):S()}}}}function K($){O($.detail)}return _}function N2(e){return kc("(prefers-color-scheme: dark)",e)}function D2(e,t,n={}){const{window:r=At,...o}=n;let s;const l=Lr(()=>r&&"ResizeObserver"in r),a=()=>{s&&(s.disconnect(),s=void 0)},i=x(()=>Array.isArray(e)?e.map(d=>xt(d)):[xt(e)]),c=ie(i,d=>{if(a(),l.value&&r){s=new ResizeObserver(t);for(const p of d)p&&s.observe(p,o)}},{immediate:!0,flush:"post"}),u=()=>{a(),c()};return Bn(u),{isSupported:l,stop:u}}function j2(e,t={width:0,height:0},n={}){const{window:r=At,box:o="content-box"}=n,s=x(()=>{var d,p;return(p=(d=xt(e))==null?void 0:d.namespaceURI)==null?void 0:p.includes("svg")}),l=Y(t.width),a=Y(t.height),{stop:i}=D2(e,([d])=>{const p=o==="border-box"?d.borderBoxSize:o==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(r&&s.value){const v=xt(e);if(v){const g=r.getComputedStyle(v);l.value=Number.parseFloat(g.width),a.value=Number.parseFloat(g.height)}}else if(p){const v=Array.isArray(p)?p:[p];l.value=v.reduce((g,{inlineSize:_})=>g+_,0),a.value=v.reduce((g,{blockSize:_})=>g+_,0)}else l.value=d.contentRect.width,a.value=d.contentRect.height},n);bo(()=>{const d=xt(e);d&&(l.value="offsetWidth"in d?d.offsetWidth:t.width,a.value="offsetHeight"in d?d.offsetHeight:t.height)});const c=ie(()=>xt(e),d=>{l.value=d?t.width:0,a.value=d?t.height:0});function u(){i(),c()}return{width:l,height:a,stop:u}}const va=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function Zs(e,t={}){const{document:n=Ec,autoExit:r=!1}=t,o=x(()=>{var b;return(b=xt(e))!=null?b:n==null?void 0:n.querySelector("html")}),s=Y(!1),l=x(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(b=>n&&b in n||o.value&&b in o.value)),a=x(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(b=>n&&b in n||o.value&&b in o.value)),i=x(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(b=>n&&b in n||o.value&&b in o.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(b=>n&&b in n),u=Lr(()=>o.value&&n&&l.value!==void 0&&a.value!==void 0&&i.value!==void 0),d=()=>c?(n==null?void 0:n[c])===o.value:!1,p=()=>{if(i.value){if(n&&n[i.value]!=null)return n[i.value];{const b=o.value;if((b==null?void 0:b[i.value])!=null)return!!b[i.value]}}return!1};async function v(){if(!(!u.value||!s.value)){if(a.value)if((n==null?void 0:n[a.value])!=null)await n[a.value]();else{const b=o.value;(b==null?void 0:b[a.value])!=null&&await b[a.value]()}s.value=!1}}async function g(){if(!u.value||s.value)return;p()&&await v();const b=o.value;l.value&&(b==null?void 0:b[l.value])!=null&&(await b[l.value](),s.value=!0)}async function _(){await(s.value?v():g())}const w=()=>{const b=p();(!b||b&&d())&&(s.value=b)};return Le(n,va,w,!1),Le(()=>xt(o),va,w,!1),r&&Bn(v),{isSupported:u,isFullscreen:s,enter:g,exit:v,toggle:_}}function Bo(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Ho(e,t=rn,n={}){const{immediate:r=!0,manual:o=!1,type:s="text/javascript",async:l=!0,crossOrigin:a,referrerPolicy:i,noModule:c,defer:u,document:d=Ec,attrs:p={}}=n,v=Y(null);let g=null;const _=C=>new Promise((y,S)=>{const R=O=>(v.value=O,y(O),O);if(!d){y(!1);return}let k=!1,P=d.querySelector(`script[src="${Ne(e)}"]`);P?P.hasAttribute("data-loaded")&&R(P):(P=d.createElement("script"),P.type=s,P.async=l,P.src=Ne(e),u&&(P.defer=u),a&&(P.crossOrigin=a),c&&(P.noModule=c),i&&(P.referrerPolicy=i),Object.entries(p).forEach(([O,K])=>P==null?void 0:P.setAttribute(O,K)),k=!0),P.addEventListener("error",O=>S(O)),P.addEventListener("abort",O=>S(O)),P.addEventListener("load",()=>{P.setAttribute("data-loaded","true"),t(P),R(P)}),k&&(P=d.head.appendChild(P)),C||R(P)}),w=(C=!0)=>(g||(g=_(C)),g),b=()=>{if(!d)return;g=null,v.value&&(v.value=null);const C=d.querySelector(`script[src="${Ne(e)}"]`);C&&d.head.removeChild(C)};return r&&!o&&bo(w),o||T2(b),{scriptTag:v,load:w,unload:b}}function Sc(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 zr=new WeakMap;function xc(e,t=!1){const n=Y(t);let r=null;ie(E2(e),l=>{const a=Bo(Ne(l));if(a){const i=a;zr.get(i)||zr.set(i,i.style.overflow),n.value&&(i.style.overflow="hidden")}},{immediate:!0});const o=()=>{const l=Bo(Ne(e));!l||n.value||(da&&(r=Le(l,"touchmove",a=>{F2(a)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},s=()=>{var l;const a=Bo(Ne(e));!a||!n.value||(da&&(r==null||r()),a.style.overflow=(l=zr.get(a))!=null?l:"",zr.delete(a),n.value=!1)};return Bn(s),x({get(){return n.value},set(l){l?o():s()}})}function Tc(e,t,n={}){const{window:r=At}=n;return Hn(e,t,r==null?void 0:r.sessionStorage,n)}function B2(e={}){const{window:t=At,behavior:n="auto"}=e;if(!t)return{x:Y(0),y:Y(0)};const r=Y(t.scrollX),o=Y(t.scrollY),s=x({get(){return r.value},set(a){scrollTo({left:a,behavior:n})}}),l=x({get(){return o.value},set(a){scrollTo({top:a,behavior:n})}});return Le(t,"scroll",()=>{r.value=t.scrollX,o.value=t.scrollY},{capture:!1,passive:!0}),{x:s,y:l}}function H2(e={}){const{window:t=At,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:o=!0,includeScrollbar:s=!0}=e,l=Y(n),a=Y(r),i=()=>{t&&(s?(l.value=t.innerWidth,a.value=t.innerHeight):(l.value=t.document.documentElement.clientWidth,a.value=t.document.documentElement.clientHeight))};if(i(),bo(i),Le("resize",i,{passive:!0}),o){const c=kc("(orientation: portrait)");ie(c,()=>i())}return{width:l,height:a}}var V2=z({name:"FontIcon",props:{icon:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""}},setup(e){const t=x(()=>{const r=["font-icon icon"],o=`fas fa-${e.icon}`;return r.push("fa-fw fa-sm"),r.push(e.icon.includes(" ")?e.icon:o),r}),n=x(()=>{const r={};return e.color&&(r.color=e.color),e.size&&(r["font-size"]=Number.isNaN(Number(e.size))?e.size:`${e.size}px`),fn(r).length?r:null});return()=>e.icon?f("span",{key:e.icon,class:t.value,style:n.value}):null}});const Ac=({type:e="info",text:t="",vertical:n,color:r},{slots:o})=>{var s;return f("span",{class:["vp-badge",e,{diy:r}],style:{verticalAlign:n??!1,backgroundColor:r??!1}},((s=o.default)==null?void 0:s.call(o))||t)};Ac.displayName="Badge";const Lc=({title:e,desc:t="",logo:n,background:r,color:o,link:s})=>{const l=[n?f("img",{class:"vp-card-logo",src:He(n),loading:"lazy","no-view":""}):null,f("div",{class:"vp-card-content"},[f("div",{class:"vp-card-title",innerHTML:e}),f("hr"),f("div",{class:"vp-card-desc",innerHTML:t})])],a={};return r&&(a.background=r),o&&(a.color=o),s?On(s)?f("a",{class:"vp-card",href:s,target:"_blank",style:a},l):f(We,{to:s,class:"vp-card",style:a},()=>l):f("div",{class:"vp-card",style:a},l)};Lc.displayName="VPCard";const z2=Ye({enhance:({app:e})=>{at("FontIcon")||e.component("FontIcon",V2),at("Badge")||e.component("Badge",Ac),at("VPCard")||e.component("VPCard",Lc)},setup:()=>{Ho("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/brands.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),Ho("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/solid.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),Ho("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/fontawesome.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}})},rootComponents:[]}),ma=async(e,t)=>{const{path:n,query:r}=e.currentRoute.value,{scrollBehavior:o}=e.options;e.options.scrollBehavior=void 0,await e.replace({path:n,query:r,hash:t}),e.options.scrollBehavior=o},q2=({headerLinkSelector:e,headerAnchorSelector:t,delay:n,offset:r=5})=>{const o=an();Le("scroll",C2(()=>{var g,_;const l=Math.max(window.scrollY,document.documentElement.scrollTop,document.body.scrollTop);if(Math.abs(l-0)d.some(b=>b.hash===w.hash));for(let w=0;w=(((g=b.parentElement)==null?void 0:g.offsetTop)??0)-r,S=!C||l<(((_=C.parentElement)==null?void 0:_.offsetTop)??0)-r;if(!(y&&S))continue;const k=decodeURIComponent(o.currentRoute.value.hash),P=decodeURIComponent(b.hash);if(k===P)return;if(u){for(let O=w+1;OCe(e.title)?{title:e.title}:null;const $c=Symbol(""),J2=e=>{Ic=e},Q2=()=>Re($c),X2=e=>{e.provide($c,Ic)};var Z2={"/":{title:"目录",empty:"暂无目录"}};const ep=z({name:"Catalog",props:{base:{type:String,default:""},level:{type:Number,default:3},index:Boolean,hideHeading:Boolean},setup(e){const t=Q2(),n=xr(Z2),r=we(),o=z0(),s=ic(),a=Me(p2(o.value).map(([c,{meta:u}])=>{const d=t(u);if(!d)return null;const p=c.split("/").length;return{level:d2(c,"/")?p-2:p-1,base:c.replace(/\/[^/]+\/?$/,"/"),path:c,...d}}).filter(c=>Fn(c)&&Ce(c.title))),i=x(()=>{const c=e.base?Ld(Yi(e.base)):r.value.path.replace(/\/[^/]+$/,"/"),u=c.split("/").length-2,d=[];return a.value.filter(({level:p,path:v})=>{if(!Mn(v,c)||v===c)return!1;if(c==="/"){const g=fn(s.value.locales).filter(_=>_!=="/");if(v==="/404.html"||g.some(_=>Mn(v,_)))return!1}return p-u<=e.level}).sort(({title:p,level:v,order:g},{title:_,level:w,order:b})=>{const C=v-w;return C||(Fo(g)?Fo(b)?g>0?b>0?g-b:-1:b<0?g-b:1:g:Fo(b)?b:p.localeCompare(_))}).forEach(p=>{var _;const{base:v,level:g}=p;switch(g-u){case 1:{d.push(p);break}case 2:{const w=d.find(b=>b.path===v);w&&(w.children??(w.children=[])).push(p);break}default:{const w=d.find(b=>b.path===v.replace(/\/[^/]+\/$/,"/"));if(w){const b=(_=w.children)==null?void 0:_.find(C=>C.path===v);b&&(b.children??(b.children=[])).push(p)}}}}),d});return()=>{const c=i.value.some(u=>u.children);return f("div",{class:["vp-catalog-wrapper",{index:e.index}]},[e.hideHeading?null:f("h2",{class:"vp-catalog-main-title"},n.value.title),i.value.length?f(e.index?"ol":"ul",{class:["vp-catalogs",{deep:c}]},i.value.map(({children:u=[],title:d,path:p,content:v})=>{const g=f(We,{class:"vp-catalog-title",to:p},()=>v?f(v):d);return f("li",{class:"vp-catalog"},c?[f("h3",{id:d,class:["vp-catalog-child-title",{"has-children":u.length}]},[f("a",{href:`#${d}`,class:"vp-catalog-header-anchor","aria-hidden":!0},"#"),g]),u.length?f(e.index?"ol":"ul",{class:"vp-child-catalogs"},u.map(({children:_=[],content:w,path:b,title:C})=>f("li",{class:"vp-child-catalog"},[f("div",{class:["vp-catalog-sub-title",{"has-children":_.length}]},[f("a",{href:`#${C}`,class:"vp-catalog-header-anchor"},"#"),f(We,{class:"vp-catalog-title",to:b},()=>w?f(w):C)]),_.length?f(e.index?"ol":"div",{class:e.index?"vp-sub-catalogs":"vp-sub-catalogs-wrapper"},_.map(({content:y,path:S,title:R})=>e.index?f("li",{class:"vp-sub-catalog"},f(We,{to:S},()=>y?f(y):R)):f(We,{class:"vp-sub-catalog-link",to:S},()=>y?f(y):R))):null]))):null]:f("div",{class:"vp-catalog-child-title"},g))})):f("p",{class:"vp-empty-catalog"},n.value.empty)])}}}),tp=Ye({enhance:({app:e})=>{X2(e),at("Catalog",e)||e.component("Catalog",ep)}});var np={"/":{backToTop:"返回顶部"}};const rp=z({name:"BackToTop",setup(e){const t=_e(),n=xr(np),r=Me(),{height:o}=j2(r),{height:s}=H2(),{y:l}=B2(),a=x(()=>t.value.backToTop!==!1&&l.value>100),i=x(()=>l.value/(o.value-s.value)*100);return ve(()=>{r.value=document.body}),()=>f(Wt,{name:"back-to-top"},()=>a.value?f("button",{type:"button",class:"vp-back-to-top-button","aria-label":n.value.backToTop,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}},[f("span",{class:"vp-scroll-progress",role:"progressbar","aria-labelledby":"loadinglabel","aria-valuenow":i.value},f("svg",f("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)`}}))),f("div",{class:"back-to-top-icon"})]):null)}}),op=Ye({rootComponents:[rp]}),sp=f("svg",{class:"external-link-icon",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15"},[f("path",{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}),f("polygon",{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"})]),Oc=z({name:"ExternalLinkIcon",props:{locales:{type:Object,required:!1,default:()=>({})}},setup(e){const t=un(),n=x(()=>e.locales[t.value]??{openInNewWindow:"open in new window"});return()=>f("span",[sp,f("span",{class:"external-link-icon-sr-only"},n.value.openInNewWindow)])}});var lp={};const ap=lp,ip=Ye({enhance({app:e}){e.component("ExternalLinkIcon",f(Oc,{locales:ap}))}});/** * NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress * @license MIT - */const le={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=le.isStarted();e=Vo(e,le.settings.minimum,1),le.status=e===1?null:e;const n=le.render(!t),r=n.querySelector(le.settings.barSelector),o=le.settings.speed,s=le.settings.easing;return n.offsetWidth,cp(l=>{qr(r,{transform:"translate3d("+ga(e)+"%,0,0)",transition:"all "+o+"ms "+s}),e===1?(qr(n,{transition:"none",opacity:"1"}),n.offsetWidth,setTimeout(function(){qr(n,{transition:"all "+o+"ms linear",opacity:"0"}),setTimeout(function(){le.remove(),l()},o)},o)):setTimeout(()=>l(),o)}),le},isStarted:()=>typeof le.status=="number",start:()=>{le.status||le.set(0);const e=()=>{setTimeout(()=>{le.status&&(le.trickle(),e())},le.settings.trickleSpeed)};return le.settings.trickle&&e(),le},done:e=>!e&&!le.status?le:le.inc(.3+.5*Math.random()).set(1),inc:e=>{let t=le.status;return t?(typeof e!="number"&&(e=(1-t)*Vo(Math.random()*t,.1,.95)),t=Vo(t+e,0,.994),le.set(t)):le.start()},trickle:()=>le.inc(Math.random()*le.settings.trickleRate),render:e=>{if(le.isRendered())return document.getElementById("nprogress");ya(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=le.settings.template;const n=t.querySelector(le.settings.barSelector),r=e?"-100":ga(le.status||0),o=document.querySelector(le.settings.parent);return qr(n,{transition:"all 0 linear",transform:"translate3d("+r+"%,0,0)"}),o!==document.body&&ya(o,"nprogress-custom-parent"),o==null||o.appendChild(t),t},remove:()=>{ba(document.documentElement,"nprogress-busy"),ba(document.querySelector(le.settings.parent),"nprogress-custom-parent");const e=document.getElementById("nprogress");e&&up(e)},isRendered:()=>!!document.getElementById("nprogress")},Vo=(e,t,n)=>en?n:e,ga=e=>(-1+e)*100,cp=function(){const e=[];function t(){const n=e.shift();n&&n(t)}return function(n){e.push(n),e.length===1&&t()}}(),qr=function(){const e=["Webkit","O","Moz","ms"],t={};function n(l){return l.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(a,i){return i.toUpperCase()})}function r(l){const a=document.body.style;if(l in a)return l;let i=e.length;const c=l.charAt(0).toUpperCase()+l.slice(1);let u;for(;i--;)if(u=e[i]+c,u in a)return u;return l}function o(l){return l=n(l),t[l]??(t[l]=r(l))}function s(l,a,i){a=o(a),l.style[a]=i}return function(l,a){for(const i in a){const c=a[i];c!==void 0&&Object.prototype.hasOwnProperty.call(a,i)&&s(l,i,c)}}}(),Rc=(e,t)=>(typeof e=="string"?e:el(e)).indexOf(" "+t+" ")>=0,ya=(e,t)=>{const n=el(e),r=n+t;Rc(n,t)||(e.className=r.substring(1))},ba=(e,t)=>{const n=el(e);if(!Rc(e,t))return;const r=n.replace(" "+t+" "," ");e.className=r.substring(1,r.length-1)},el=e=>(" "+(e.className||"")+" ").replace(/\s+/gi," "),up=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)},fp=()=>{ve(()=>{const e=an(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||le.start()}),e.afterEach(n=>{t.add(n.path),le.done()})})},dp=Ye({setup(){fp()}}),pp=JSON.parse('{"encrypt":{"config":{"/demo/encrypt.html":["$2a$10$q/MGeyKmlvLczqflMs31IOoekVtJ2SEwR2qGKgO1mbHTAbV4ayuPu"]}},"author":{"name":"远野千束","url":"https://snowykami.me"},"logo":"https://cdn.liteyuki.icu/static/img/liteyuki_icon_640.png","repo":"https://github.com/snowykami/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/","prefix":"store/"}],"sidebar":{"/":["",{"text":"项目部署","icon":"laptop-code","prefix":"deployment/","children":"structure"},{"text":"使用手册","icon":"book","prefix":"usage/","children":"structure"},{"text":"资源商店","icon":"store","prefix":"store/","link":"/store/","children":"structure"}]}}}}'),hp=Y(pp),Pc=()=>hp,Mc=Symbol(""),vp=()=>{const e=Re(Mc);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},mp=(e,t)=>{const{locales:n,...r}=e;return{...r,...n==null?void 0:n[t]}},gp=Ye({enhance({app:e}){const t=Pc(),n=e._context.provides[Gs],r=x(()=>mp(t.value,n.routeLocale.value));e.provide(Mc,r),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return r.value}}})}});var yp={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 bp=yp;let wp=bp;const Nc=Symbol(""),Dc=()=>Re(Nc),_p=Dc,Ep=e=>{e.provide(Nc,wp)},jc=()=>f("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",preserveAspectRatio:"xMidYMid",viewBox:"0 0 100 100"},[f("circle",{cx:"28",cy:"75",r:"11",fill:"currentColor"},f("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),f("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 47a28 28 0 0 1 28 28"},f("animate",{attributeName:"stroke-opacity",begin:"0.1s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),f("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 25a50 50 0 0 1 50 50"},f("animate",{attributeName:"stroke-opacity",begin:"0.2s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"}))]);jc.displayName="LoadingIcon";const wa=["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"],Cp=z({name:"GiscusComment",props:{identifier:{type:String,required:!0},darkmode:Boolean},setup(e){const t=_p(),n=Ks(),r=!!(t.repo&&t.repoId&&t.category&&t.categoryId),{repo:o,repoId:s,category:l,categoryId:a}=t,i=Y(!1),c=x(()=>{if(wa.includes(n.value))return n.value;const d=n.value.split("-")[0];return wa.includes(d)?d:"en"}),u=x(()=>({repo:o,repoId:s,category:l,categoryId:a,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 ve(async()=>{await Fe(()=>import("./giscus-7BMGhbDA.js"),__vite__mapDeps([])),i.value=!0}),()=>r?f("div",{id:"comment",class:["giscus-wrapper",{"input-top":t.inputPosition!=="bottom"}]},i.value?f("giscus-widget",u.value):f(jc)):null}}),kp=z({name:"CommentService",props:{darkmode:Boolean},setup(e){const t=Dc(),n=we(),r=_e(),o=t.comment!==!1,s=x(()=>r.value.comment||o&&r.value.comment!==!1);return()=>f(Cp,{id:"vp-comment",identifier:r.value.commentID||n.value.path,darkmode:e.darkmode,style:{display:s.value?"block":"none"}})}}),Sp=Ye({enhance:({app:e})=>{Ep(e),e.component("CommentService",kp)}}),xp=/\b(?:Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini)/i,Tp=()=>typeof window<"u"&&window.navigator&&"userAgent"in window.navigator&&xp.test(navigator.userAgent),Ap=({delay:e=500,duration:t=2e3,locales:n,selector:r,showInMobile:o})=>{const{copy:s,copied:l}=I2({legacy:!0,copiedDuring:t}),a=xr(n),i=we(),c=p=>{if(!p.hasAttribute("copy-code-registered")){const v=document.createElement("button");v.type="button",v.classList.add("vp-copy-code-button"),v.innerHTML='
',v.setAttribute("aria-label",a.value.copy),v.setAttribute("data-copied",a.value.copied),p.parentElement&&p.parentElement.insertBefore(v,p),p.setAttribute("copy-code-registered","")}},u=()=>{Gt().then(()=>gc(e)).then(()=>{r.forEach(p=>{document.querySelectorAll(p).forEach(c)})})},d=(p,v,g)=>{let{innerText:_=""}=v;/language-(shellscript|shell|bash|sh|zsh)/.test(p.classList.toString())&&(_=_.replace(/^ *(\$|>) /gm,"")),s(_).then(()=>{g.classList.add("copied"),ie(l,()=>{g.classList.remove("copied"),g.blur()},{once:!0})})};ve(()=>{const p=!Tp()||o;p&&u(),Le("click",v=>{const g=v.target;if(g.matches('div[class*="language-"] > button.copy')){const _=g.parentElement,w=g.nextElementSibling;w&&d(_,w,g)}else if(g.matches('div[class*="language-"] div.vp-copy-icon')){const _=g.parentElement,w=_.parentElement,b=_.nextElementSibling;b&&d(w,b,_)}}),ie(()=>i.value.path,()=>{p&&u()})})};var Lp={"/":{copy:"复制代码",copied:"已复制"}},Ip=['.theme-hope-content div[class*="language-"] pre'];const $p=500,Op=2e3,Rp=Lp,Pp=Ip,Mp=!1,Np=Ye({setup:()=>{Ap({selector:Pp,locales:Rp,duration:Op,delay:$p,showInMobile:Mp})}}),Ur=Hn("VUEPRESS_CODE_TAB_STORE",{});var Dp=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=Y(e.active),r=Me([]),o=()=>{e.tabId&&(Ur.value[e.tabId]=e.data[n.value].id)},s=(c=n.value)=>{n.value=c{n.value=c>0?c-1:r.value.length-1,r.value[n.value].focus()},a=(c,u)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=u):c.key==="ArrowRight"?(c.preventDefault(),s()):c.key==="ArrowLeft"&&(c.preventDefault(),l()),e.tabId&&(Ur.value[e.tabId]=e.data[n.value].id)},i=()=>{if(e.tabId){const c=e.data.findIndex(({id:u})=>Ur.value[e.tabId]===u);if(c!==-1)return c}return e.active};return ve(()=>{n.value=i(),ie(()=>Ur.value[e.tabId],(c,u)=>{if(e.tabId&&c!==u){const d=e.data.findIndex(({id:p})=>p===c);d!==-1&&(n.value=d)}})}),()=>e.data.length?f("div",{class:"vp-code-tabs"},[f("div",{class:"vp-code-tabs-nav",role:"tablist"},e.data.map(({id:c},u)=>{const d=u===n.value;return f("button",{type:"button",ref:p=>{p&&(r.value[u]=p)},class:["vp-code-tab-nav",{active:d}],role:"tab","aria-controls":`codetab-${e.id}-${u}`,"aria-selected":d,onClick:()=>{n.value=u,o()},onKeydown:p=>a(p,u)},t[`title${u}`]({value:c,isActive:d}))})),e.data.map(({id:c},u)=>{const d=u===n.value;return f("div",{class:["vp-code-tab",{active:d}],id:`codetab-${e.id}-${u}`,role:"tabpanel","aria-expanded":d},[f("div",{class:"vp-code-tab-title"},t[`title${u}`]({value:c,isActive:d})),t[`tab${u}`]({value:c,isActive:d})])})]):null}});const Fc=({active:e=!1},{slots:t})=>{var n;return f("div",{class:["code-group-item",{active:e}],"aria-selected":e},(n=t.default)==null?void 0:n.call(t))};Fc.displayName="CodeGroupItem";const jp=z({name:"CodeGroup",slots:Object,setup(e,{slots:t}){const n=Y(-1),r=Me([]),o=(a=n.value)=>{n.value=a{n.value=a>0?a-1:r.value.length-1,r.value[n.value].focus()},l=(a,i)=>{a.key===" "||a.key==="Enter"?(a.preventDefault(),n.value=i):a.key==="ArrowRight"?(a.preventDefault(),o(i)):a.key==="ArrowLeft"&&(a.preventDefault(),s(i))};return()=>{var i;const a=(((i=t.default)==null?void 0:i.call(t))||[]).filter(c=>c.type.name==="CodeGroupItem").map(c=>(c.props===null&&(c.props={}),c));return a.length===0?null:(n.value<0||n.value>a.length-1?(n.value=a.findIndex(c=>"active"in c.props),n.value===-1&&(n.value=0)):a.forEach((c,u)=>{c.props.active=u===n.value}),f("div",{class:"code-group"},[f("div",{class:"code-group-nav"},a.map((c,u)=>{const d=u===n.value;return f("button",{type:"button",ref:p=>{p&&(r.value[u]=p)},class:["code-group-nav-tab",{active:d}],"aria-pressed":d,"aria-expanded":d,onClick:()=>{n.value=u},onKeydown:p=>l(p,u)},c.props.title)})),a]))}}}),ke=({name:e="",color:t="currentColor"},{slots:n})=>{var r;return f("svg",{xmlns:"http://www.w3.org/2000/svg",class:["icon",`${e}-icon`],viewBox:"0 0 1024 1024",fill:t,"aria-label":`${e} icon`},(r=n.default)==null?void 0:r.call(n))};ke.displayName="IconBase";const Bc=({size:e=48,stroke:t=4,wrapper:n=!0,height:r=2*e})=>{const o=f("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,preserveAspectRatio:"xMidYMid",viewBox:"25 25 50 50"},[f("animateTransform",{attributeName:"transform",type:"rotate",dur:"2s",keyTimes:"0;1",repeatCount:"indefinite",values:"0;360"}),f("circle",{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":t,"stroke-linecap":"round"},[f("animate",{attributeName:"stroke-dasharray",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"1,200;90,200;1,200"}),f("animate",{attributeName:"stroke-dashoffset",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"0;-35px;-125px"})])]);return n?f("div",{class:"loading-icon-wrapper",style:`display:flex;align-items:center;justify-content:center;height:${r}px`},o):o};Bc.displayName="LoadingIcon";const Hc=(e,{slots:t})=>{var n;return(n=t.default)==null?void 0:n.call(t)},Vc=()=>f(ke,{name:"github"},()=>f("path",{d:"M511.957 21.333C241.024 21.333 21.333 240.981 21.333 512c0 216.832 140.544 400.725 335.574 465.664 24.49 4.395 32.256-10.07 32.256-23.083 0-11.69.256-44.245 0-85.205-136.448 29.61-164.736-64.64-164.736-64.64-22.315-56.704-54.4-71.765-54.4-71.765-44.587-30.464 3.285-29.824 3.285-29.824 49.195 3.413 75.179 50.517 75.179 50.517 43.776 75.008 114.816 53.333 142.762 40.79 4.523-31.66 17.152-53.377 31.19-65.537-108.971-12.458-223.488-54.485-223.488-242.602 0-53.547 19.114-97.323 50.517-131.67-5.035-12.33-21.93-62.293 4.779-129.834 0 0 41.258-13.184 134.912 50.346a469.803 469.803 0 0 1 122.88-16.554c41.642.213 83.626 5.632 122.88 16.554 93.653-63.488 134.784-50.346 134.784-50.346 26.752 67.541 9.898 117.504 4.864 129.834 31.402 34.347 50.474 78.123 50.474 131.67 0 188.586-114.73 230.016-224.042 242.09 17.578 15.232 33.578 44.672 33.578 90.454v135.85c0 13.142 7.936 27.606 32.854 22.87C862.25 912.597 1002.667 728.747 1002.667 512c0-271.019-219.648-490.667-490.71-490.667z"}));Vc.displayName="GitHubIcon";const zc=()=>f(ke,{name:"gitlab"},()=>f("path",{d:"M229.333 78.688C223.52 62 199.895 62 193.895 78.688L87.958 406.438h247.5c-.188 0-106.125-327.75-106.125-327.75zM33.77 571.438c-4.875 15 .563 31.687 13.313 41.25l464.812 345L87.77 406.438zm301.5-165 176.813 551.25 176.812-551.25zm655.125 165-54-165-424.312 551.25 464.812-345c12.938-9.563 18.188-26.25 13.5-41.25zM830.27 78.688c-5.812-16.688-29.437-16.688-35.437 0l-106.125 327.75h247.5z"}));zc.displayName="GitLabIcon";const qc=()=>f(ke,{name:"gitee"},()=>f("path",{d:"M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm242.97-533.34H482.39a23.7 23.7 0 0 0-23.7 23.7l-.03 59.28c0 13.08 10.59 23.7 23.7 23.7h165.96a23.7 23.7 0 0 1 23.7 23.7v11.85a71.1 71.1 0 0 1-71.1 71.1H375.71a23.7 23.7 0 0 1-23.7-23.7V423.11a71.1 71.1 0 0 1 71.1-71.1h331.8a23.7 23.7 0 0 0 23.7-23.7l.06-59.25a23.73 23.73 0 0 0-23.7-23.73H423.11a177.78 177.78 0 0 0-177.78 177.75v331.83c0 13.08 10.62 23.7 23.7 23.7h349.62a159.99 159.99 0 0 0 159.99-159.99V482.33a23.7 23.7 0 0 0-23.7-23.7z"}));qc.displayName="GiteeIcon";const Uc=()=>f(ke,{name:"bitbucket"},()=>f("path",{d:"M575.256 490.862c6.29 47.981-52.005 85.723-92.563 61.147-45.714-20.004-45.714-92.562-1.133-113.152 38.29-23.442 93.696 7.424 93.696 52.005zm63.451-11.996c-10.276-81.152-102.29-134.839-177.152-101.156-47.433 21.138-79.433 71.424-77.129 124.562 2.853 69.705 69.157 126.866 138.862 120.576S647.3 548.571 638.708 478.83zm136.558-309.723c-25.161-33.134-67.986-38.839-105.728-45.13-106.862-17.151-216.576-17.7-323.438 1.134-35.438 5.706-75.447 11.996-97.719 43.996 36.572 34.304 88.576 39.424 135.424 45.129 84.553 10.862 171.447 11.447 256 .585 47.433-5.705 99.987-10.276 135.424-45.714zm32.585 591.433c-16.018 55.99-6.839 131.438-66.304 163.986-102.29 56.576-226.304 62.867-338.87 42.862-59.43-10.862-129.135-29.696-161.72-85.723-14.3-54.858-23.442-110.848-32.585-166.84l3.438-9.142 10.276-5.157c170.277 112.567 408.576 112.567 579.438 0 26.844 8.01 6.84 40.558 6.29 60.014zm103.424-549.157c-19.42 125.148-41.728 249.71-63.415 374.272-6.29 36.572-41.728 57.162-71.424 72.558-106.862 53.724-231.424 62.866-348.562 50.286-79.433-8.558-160.585-29.696-225.134-79.433-30.28-23.443-30.28-63.415-35.986-97.134-20.005-117.138-42.862-234.277-57.161-352.585 6.839-51.42 64.585-73.728 107.447-89.71 57.16-21.138 118.272-30.866 178.87-36.571 129.134-12.58 261.157-8.01 386.304 28.562 44.581 13.13 92.563 31.415 122.844 69.705 13.714 17.7 9.143 40.01 6.29 60.014z"}));Uc.displayName="BitbucketIcon";const Wc=()=>f(ke,{name:"source"},()=>f("path",{d:"M601.92 475.2c0 76.428-8.91 83.754-28.512 99.594-14.652 11.88-43.956 14.058-78.012 16.434-18.81 1.386-40.392 2.97-62.172 6.534-18.612 2.97-36.432 9.306-53.064 17.424V299.772c37.818-21.978 63.36-62.766 63.36-109.692 0-69.894-56.826-126.72-126.72-126.72S190.08 120.186 190.08 190.08c0 46.926 25.542 87.714 63.36 109.692v414.216c-37.818 21.978-63.36 62.766-63.36 109.692 0 69.894 56.826 126.72 126.72 126.72s126.72-56.826 126.72-126.72c0-31.086-11.286-59.598-29.7-81.576 13.266-9.504 27.522-17.226 39.996-19.206 16.038-2.574 32.868-3.762 50.688-5.148 48.312-3.366 103.158-7.326 148.896-44.55 61.182-49.698 74.25-103.158 75.24-187.902V475.2h-126.72zM316.8 126.72c34.848 0 63.36 28.512 63.36 63.36s-28.512 63.36-63.36 63.36-63.36-28.512-63.36-63.36 28.512-63.36 63.36-63.36zm0 760.32c-34.848 0-63.36-28.512-63.36-63.36s28.512-63.36 63.36-63.36 63.36 28.512 63.36 63.36-28.512 63.36-63.36 63.36zM823.68 158.4h-95.04V63.36h-126.72v95.04h-95.04v126.72h95.04v95.04h126.72v-95.04h95.04z"}));Wc.displayName="SourceIcon";const Gc=(e,t)=>{let n=1;for(let r=0;r>6;return n+=n<<3,n^=n>>11,n%t},Kc=/#.*$/u,Fp=e=>{const t=Kc.exec(e);return t?t[0]:""},_a=e=>decodeURI(e).replace(Kc,"").replace(/\/index\.html$/iu,"/").replace(/\.html$/iu,"").replace(/(README|index)?\.md$/iu,""),Yc=(e,t)=>{if(!yc(t))return!1;const n=_a(e.path),r=_a(t),o=Fp(t);return o?o===e.hash&&(!r||n===r):n===r},Bp=e=>ln(e)?e:`https://github.com/${e}`,Jc=e=>!ln(e)||/github\.com/.test(e)?"GitHub":/bitbucket\.org/.test(e)?"Bitbucket":/gitlab\.com/.test(e)?"GitLab":/gitee\.com/.test(e)?"Gitee":null;var Hp=e=>Object.prototype.toString.call(e)==="[object Object]",hr=e=>typeof e=="string";const Qc=Array.isArray,Ea=e=>Hp(e)&&hr(e.name),Ca=(e,t=!1)=>e?Qc(e)?e.map(n=>hr(n)?{name:n}:Ea(n)?n:null).filter(n=>n!==null):hr(e)?[{name:e}]:Ea(e)?[e]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${t?"":"| false"} | undefined\`, but got`,e),[]):[],Xc=(e,t)=>{if(e){if(Qc(e)&&e.every(hr))return e;if(hr(e))return[e];console.error(`Expect ${t||"value"} to be \`string[] | string | undefined\`, but got`,e)}return[]},Vp=e=>Xc(e,"category"),zp=e=>Xc(e,"tag"),qp='',Up='';var Wp={useBabel:!1,jsLib:[],cssLib:[],codepenLayout:"left",codepenEditors:"101",babel:"https://unpkg.com/@babel/standalone/babel.min.js",vue:"https://unpkg.com/vue/dist/vue.global.prod.js",react:"https://unpkg.com/react/umd/react.production.min.js",reactDOM:"https://unpkg.com/react-dom/umd/react-dom.production.min.js"};const zo=Wp,ka={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"}}},Gp=(e,t,n)=>{const r=document.createElement(e);return Fn(t)&&fn(t).forEach(o=>{if(o.indexOf("data"))r[o]=t[o];else{const s=o.replace("data","");r.dataset[s]=t[o]}}),n&&n.forEach(o=>{r.appendChild(o)}),r},tl=e=>({...zo,...e,jsLib:Array.from(new Set([...zo.jsLib||[],...e.jsLib||[]])),cssLib:Array.from(new Set([...zo.cssLib||[],...e.cssLib||[]]))}),xn=(e,t)=>{if(yc(e[t]))return e[t];const n=new Promise(r=>{var s;const o=document.createElement("script");o.src=t,(s=document.querySelector("body"))==null||s.appendChild(o),o.onload=()=>{r()}});return e[t]=n,n},Kp=(e,t)=>{if(t.css&&Array.from(e.childNodes).every(n=>n.nodeName!=="STYLE")){const n=Gp("style",{innerHTML:t.css});e.appendChild(n)}},Yp=(e,t,n)=>{const r=n.getScript();if(r&&Array.from(t.childNodes).every(o=>o.nodeName!=="SCRIPT")){const o=document.createElement("script");o.appendChild(document.createTextNode(`{const document=window.document.querySelector('#${e} .vp-code-demo-display').shadowRoot; + */const le={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=le.isStarted();e=Vo(e,le.settings.minimum,1),le.status=e===1?null:e;const n=le.render(!t),r=n.querySelector(le.settings.barSelector),o=le.settings.speed,s=le.settings.easing;return n.offsetWidth,cp(l=>{qr(r,{transform:"translate3d("+ga(e)+"%,0,0)",transition:"all "+o+"ms "+s}),e===1?(qr(n,{transition:"none",opacity:"1"}),n.offsetWidth,setTimeout(function(){qr(n,{transition:"all "+o+"ms linear",opacity:"0"}),setTimeout(function(){le.remove(),l()},o)},o)):setTimeout(()=>l(),o)}),le},isStarted:()=>typeof le.status=="number",start:()=>{le.status||le.set(0);const e=()=>{setTimeout(()=>{le.status&&(le.trickle(),e())},le.settings.trickleSpeed)};return le.settings.trickle&&e(),le},done:e=>!e&&!le.status?le:le.inc(.3+.5*Math.random()).set(1),inc:e=>{let t=le.status;return t?(typeof e!="number"&&(e=(1-t)*Vo(Math.random()*t,.1,.95)),t=Vo(t+e,0,.994),le.set(t)):le.start()},trickle:()=>le.inc(Math.random()*le.settings.trickleRate),render:e=>{if(le.isRendered())return document.getElementById("nprogress");ya(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=le.settings.template;const n=t.querySelector(le.settings.barSelector),r=e?"-100":ga(le.status||0),o=document.querySelector(le.settings.parent);return qr(n,{transition:"all 0 linear",transform:"translate3d("+r+"%,0,0)"}),o!==document.body&&ya(o,"nprogress-custom-parent"),o==null||o.appendChild(t),t},remove:()=>{ba(document.documentElement,"nprogress-busy"),ba(document.querySelector(le.settings.parent),"nprogress-custom-parent");const e=document.getElementById("nprogress");e&&up(e)},isRendered:()=>!!document.getElementById("nprogress")},Vo=(e,t,n)=>en?n:e,ga=e=>(-1+e)*100,cp=function(){const e=[];function t(){const n=e.shift();n&&n(t)}return function(n){e.push(n),e.length===1&&t()}}(),qr=function(){const e=["Webkit","O","Moz","ms"],t={};function n(l){return l.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(a,i){return i.toUpperCase()})}function r(l){const a=document.body.style;if(l in a)return l;let i=e.length;const c=l.charAt(0).toUpperCase()+l.slice(1);let u;for(;i--;)if(u=e[i]+c,u in a)return u;return l}function o(l){return l=n(l),t[l]??(t[l]=r(l))}function s(l,a,i){a=o(a),l.style[a]=i}return function(l,a){for(const i in a){const c=a[i];c!==void 0&&Object.prototype.hasOwnProperty.call(a,i)&&s(l,i,c)}}}(),Rc=(e,t)=>(typeof e=="string"?e:el(e)).indexOf(" "+t+" ")>=0,ya=(e,t)=>{const n=el(e),r=n+t;Rc(n,t)||(e.className=r.substring(1))},ba=(e,t)=>{const n=el(e);if(!Rc(e,t))return;const r=n.replace(" "+t+" "," ");e.className=r.substring(1,r.length-1)},el=e=>(" "+(e.className||"")+" ").replace(/\s+/gi," "),up=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)},fp=()=>{ve(()=>{const e=an(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||le.start()}),e.afterEach(n=>{t.add(n.path),le.done()})})},dp=Ye({setup(){fp()}}),pp=JSON.parse('{"encrypt":{"config":{"/demo/encrypt.html":["$2a$10$AN9yhgLkQZIyV83lQtTaJOsXdxbsM9q7cMop2BQvpS2NqbDM6Yohq"]}},"author":{"name":"远野千束","url":"https://snowykami.me"},"logo":"https://cdn.liteyuki.icu/static/img/liteyuki_icon_640.png","repo":"https://github.com/snowykami/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/","prefix":"store/"}],"sidebar":{"/":["",{"text":"项目部署","icon":"laptop-code","prefix":"deployment/","children":"structure"},{"text":"使用手册","icon":"book","prefix":"usage/","children":"structure"},{"text":"资源商店","icon":"store","prefix":"store/","link":"/store/","children":"structure"}]}}}}'),hp=Y(pp),Pc=()=>hp,Mc=Symbol(""),vp=()=>{const e=Re(Mc);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},mp=(e,t)=>{const{locales:n,...r}=e;return{...r,...n==null?void 0:n[t]}},gp=Ye({enhance({app:e}){const t=Pc(),n=e._context.provides[Gs],r=x(()=>mp(t.value,n.routeLocale.value));e.provide(Mc,r),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return r.value}}})}});var yp={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 bp=yp;let wp=bp;const Nc=Symbol(""),Dc=()=>Re(Nc),_p=Dc,Ep=e=>{e.provide(Nc,wp)},jc=()=>f("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",preserveAspectRatio:"xMidYMid",viewBox:"0 0 100 100"},[f("circle",{cx:"28",cy:"75",r:"11",fill:"currentColor"},f("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),f("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 47a28 28 0 0 1 28 28"},f("animate",{attributeName:"stroke-opacity",begin:"0.1s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),f("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 25a50 50 0 0 1 50 50"},f("animate",{attributeName:"stroke-opacity",begin:"0.2s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"}))]);jc.displayName="LoadingIcon";const wa=["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"],Cp=z({name:"GiscusComment",props:{identifier:{type:String,required:!0},darkmode:Boolean},setup(e){const t=_p(),n=Ks(),r=!!(t.repo&&t.repoId&&t.category&&t.categoryId),{repo:o,repoId:s,category:l,categoryId:a}=t,i=Y(!1),c=x(()=>{if(wa.includes(n.value))return n.value;const d=n.value.split("-")[0];return wa.includes(d)?d:"en"}),u=x(()=>({repo:o,repoId:s,category:l,categoryId:a,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 ve(async()=>{await Fe(()=>import("./giscus-7BMGhbDA.js"),__vite__mapDeps([])),i.value=!0}),()=>r?f("div",{id:"comment",class:["giscus-wrapper",{"input-top":t.inputPosition!=="bottom"}]},i.value?f("giscus-widget",u.value):f(jc)):null}}),kp=z({name:"CommentService",props:{darkmode:Boolean},setup(e){const t=Dc(),n=we(),r=_e(),o=t.comment!==!1,s=x(()=>r.value.comment||o&&r.value.comment!==!1);return()=>f(Cp,{id:"vp-comment",identifier:r.value.commentID||n.value.path,darkmode:e.darkmode,style:{display:s.value?"block":"none"}})}}),Sp=Ye({enhance:({app:e})=>{Ep(e),e.component("CommentService",kp)}}),xp=/\b(?:Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini)/i,Tp=()=>typeof window<"u"&&window.navigator&&"userAgent"in window.navigator&&xp.test(navigator.userAgent),Ap=({delay:e=500,duration:t=2e3,locales:n,selector:r,showInMobile:o})=>{const{copy:s,copied:l}=I2({legacy:!0,copiedDuring:t}),a=xr(n),i=we(),c=p=>{if(!p.hasAttribute("copy-code-registered")){const v=document.createElement("button");v.type="button",v.classList.add("vp-copy-code-button"),v.innerHTML='
',v.setAttribute("aria-label",a.value.copy),v.setAttribute("data-copied",a.value.copied),p.parentElement&&p.parentElement.insertBefore(v,p),p.setAttribute("copy-code-registered","")}},u=()=>{Gt().then(()=>gc(e)).then(()=>{r.forEach(p=>{document.querySelectorAll(p).forEach(c)})})},d=(p,v,g)=>{let{innerText:_=""}=v;/language-(shellscript|shell|bash|sh|zsh)/.test(p.classList.toString())&&(_=_.replace(/^ *(\$|>) /gm,"")),s(_).then(()=>{g.classList.add("copied"),ie(l,()=>{g.classList.remove("copied"),g.blur()},{once:!0})})};ve(()=>{const p=!Tp()||o;p&&u(),Le("click",v=>{const g=v.target;if(g.matches('div[class*="language-"] > button.copy')){const _=g.parentElement,w=g.nextElementSibling;w&&d(_,w,g)}else if(g.matches('div[class*="language-"] div.vp-copy-icon')){const _=g.parentElement,w=_.parentElement,b=_.nextElementSibling;b&&d(w,b,_)}}),ie(()=>i.value.path,()=>{p&&u()})})};var Lp={"/":{copy:"复制代码",copied:"已复制"}},Ip=['.theme-hope-content div[class*="language-"] pre'];const $p=500,Op=2e3,Rp=Lp,Pp=Ip,Mp=!1,Np=Ye({setup:()=>{Ap({selector:Pp,locales:Rp,duration:Op,delay:$p,showInMobile:Mp})}}),Ur=Hn("VUEPRESS_CODE_TAB_STORE",{});var Dp=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=Y(e.active),r=Me([]),o=()=>{e.tabId&&(Ur.value[e.tabId]=e.data[n.value].id)},s=(c=n.value)=>{n.value=c{n.value=c>0?c-1:r.value.length-1,r.value[n.value].focus()},a=(c,u)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=u):c.key==="ArrowRight"?(c.preventDefault(),s()):c.key==="ArrowLeft"&&(c.preventDefault(),l()),e.tabId&&(Ur.value[e.tabId]=e.data[n.value].id)},i=()=>{if(e.tabId){const c=e.data.findIndex(({id:u})=>Ur.value[e.tabId]===u);if(c!==-1)return c}return e.active};return ve(()=>{n.value=i(),ie(()=>Ur.value[e.tabId],(c,u)=>{if(e.tabId&&c!==u){const d=e.data.findIndex(({id:p})=>p===c);d!==-1&&(n.value=d)}})}),()=>e.data.length?f("div",{class:"vp-code-tabs"},[f("div",{class:"vp-code-tabs-nav",role:"tablist"},e.data.map(({id:c},u)=>{const d=u===n.value;return f("button",{type:"button",ref:p=>{p&&(r.value[u]=p)},class:["vp-code-tab-nav",{active:d}],role:"tab","aria-controls":`codetab-${e.id}-${u}`,"aria-selected":d,onClick:()=>{n.value=u,o()},onKeydown:p=>a(p,u)},t[`title${u}`]({value:c,isActive:d}))})),e.data.map(({id:c},u)=>{const d=u===n.value;return f("div",{class:["vp-code-tab",{active:d}],id:`codetab-${e.id}-${u}`,role:"tabpanel","aria-expanded":d},[f("div",{class:"vp-code-tab-title"},t[`title${u}`]({value:c,isActive:d})),t[`tab${u}`]({value:c,isActive:d})])})]):null}});const Fc=({active:e=!1},{slots:t})=>{var n;return f("div",{class:["code-group-item",{active:e}],"aria-selected":e},(n=t.default)==null?void 0:n.call(t))};Fc.displayName="CodeGroupItem";const jp=z({name:"CodeGroup",slots:Object,setup(e,{slots:t}){const n=Y(-1),r=Me([]),o=(a=n.value)=>{n.value=a{n.value=a>0?a-1:r.value.length-1,r.value[n.value].focus()},l=(a,i)=>{a.key===" "||a.key==="Enter"?(a.preventDefault(),n.value=i):a.key==="ArrowRight"?(a.preventDefault(),o(i)):a.key==="ArrowLeft"&&(a.preventDefault(),s(i))};return()=>{var i;const a=(((i=t.default)==null?void 0:i.call(t))||[]).filter(c=>c.type.name==="CodeGroupItem").map(c=>(c.props===null&&(c.props={}),c));return a.length===0?null:(n.value<0||n.value>a.length-1?(n.value=a.findIndex(c=>"active"in c.props),n.value===-1&&(n.value=0)):a.forEach((c,u)=>{c.props.active=u===n.value}),f("div",{class:"code-group"},[f("div",{class:"code-group-nav"},a.map((c,u)=>{const d=u===n.value;return f("button",{type:"button",ref:p=>{p&&(r.value[u]=p)},class:["code-group-nav-tab",{active:d}],"aria-pressed":d,"aria-expanded":d,onClick:()=>{n.value=u},onKeydown:p=>l(p,u)},c.props.title)})),a]))}}}),ke=({name:e="",color:t="currentColor"},{slots:n})=>{var r;return f("svg",{xmlns:"http://www.w3.org/2000/svg",class:["icon",`${e}-icon`],viewBox:"0 0 1024 1024",fill:t,"aria-label":`${e} icon`},(r=n.default)==null?void 0:r.call(n))};ke.displayName="IconBase";const Bc=({size:e=48,stroke:t=4,wrapper:n=!0,height:r=2*e})=>{const o=f("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,preserveAspectRatio:"xMidYMid",viewBox:"25 25 50 50"},[f("animateTransform",{attributeName:"transform",type:"rotate",dur:"2s",keyTimes:"0;1",repeatCount:"indefinite",values:"0;360"}),f("circle",{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":t,"stroke-linecap":"round"},[f("animate",{attributeName:"stroke-dasharray",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"1,200;90,200;1,200"}),f("animate",{attributeName:"stroke-dashoffset",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"0;-35px;-125px"})])]);return n?f("div",{class:"loading-icon-wrapper",style:`display:flex;align-items:center;justify-content:center;height:${r}px`},o):o};Bc.displayName="LoadingIcon";const Hc=(e,{slots:t})=>{var n;return(n=t.default)==null?void 0:n.call(t)},Vc=()=>f(ke,{name:"github"},()=>f("path",{d:"M511.957 21.333C241.024 21.333 21.333 240.981 21.333 512c0 216.832 140.544 400.725 335.574 465.664 24.49 4.395 32.256-10.07 32.256-23.083 0-11.69.256-44.245 0-85.205-136.448 29.61-164.736-64.64-164.736-64.64-22.315-56.704-54.4-71.765-54.4-71.765-44.587-30.464 3.285-29.824 3.285-29.824 49.195 3.413 75.179 50.517 75.179 50.517 43.776 75.008 114.816 53.333 142.762 40.79 4.523-31.66 17.152-53.377 31.19-65.537-108.971-12.458-223.488-54.485-223.488-242.602 0-53.547 19.114-97.323 50.517-131.67-5.035-12.33-21.93-62.293 4.779-129.834 0 0 41.258-13.184 134.912 50.346a469.803 469.803 0 0 1 122.88-16.554c41.642.213 83.626 5.632 122.88 16.554 93.653-63.488 134.784-50.346 134.784-50.346 26.752 67.541 9.898 117.504 4.864 129.834 31.402 34.347 50.474 78.123 50.474 131.67 0 188.586-114.73 230.016-224.042 242.09 17.578 15.232 33.578 44.672 33.578 90.454v135.85c0 13.142 7.936 27.606 32.854 22.87C862.25 912.597 1002.667 728.747 1002.667 512c0-271.019-219.648-490.667-490.71-490.667z"}));Vc.displayName="GitHubIcon";const zc=()=>f(ke,{name:"gitlab"},()=>f("path",{d:"M229.333 78.688C223.52 62 199.895 62 193.895 78.688L87.958 406.438h247.5c-.188 0-106.125-327.75-106.125-327.75zM33.77 571.438c-4.875 15 .563 31.687 13.313 41.25l464.812 345L87.77 406.438zm301.5-165 176.813 551.25 176.812-551.25zm655.125 165-54-165-424.312 551.25 464.812-345c12.938-9.563 18.188-26.25 13.5-41.25zM830.27 78.688c-5.812-16.688-29.437-16.688-35.437 0l-106.125 327.75h247.5z"}));zc.displayName="GitLabIcon";const qc=()=>f(ke,{name:"gitee"},()=>f("path",{d:"M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm242.97-533.34H482.39a23.7 23.7 0 0 0-23.7 23.7l-.03 59.28c0 13.08 10.59 23.7 23.7 23.7h165.96a23.7 23.7 0 0 1 23.7 23.7v11.85a71.1 71.1 0 0 1-71.1 71.1H375.71a23.7 23.7 0 0 1-23.7-23.7V423.11a71.1 71.1 0 0 1 71.1-71.1h331.8a23.7 23.7 0 0 0 23.7-23.7l.06-59.25a23.73 23.73 0 0 0-23.7-23.73H423.11a177.78 177.78 0 0 0-177.78 177.75v331.83c0 13.08 10.62 23.7 23.7 23.7h349.62a159.99 159.99 0 0 0 159.99-159.99V482.33a23.7 23.7 0 0 0-23.7-23.7z"}));qc.displayName="GiteeIcon";const Uc=()=>f(ke,{name:"bitbucket"},()=>f("path",{d:"M575.256 490.862c6.29 47.981-52.005 85.723-92.563 61.147-45.714-20.004-45.714-92.562-1.133-113.152 38.29-23.442 93.696 7.424 93.696 52.005zm63.451-11.996c-10.276-81.152-102.29-134.839-177.152-101.156-47.433 21.138-79.433 71.424-77.129 124.562 2.853 69.705 69.157 126.866 138.862 120.576S647.3 548.571 638.708 478.83zm136.558-309.723c-25.161-33.134-67.986-38.839-105.728-45.13-106.862-17.151-216.576-17.7-323.438 1.134-35.438 5.706-75.447 11.996-97.719 43.996 36.572 34.304 88.576 39.424 135.424 45.129 84.553 10.862 171.447 11.447 256 .585 47.433-5.705 99.987-10.276 135.424-45.714zm32.585 591.433c-16.018 55.99-6.839 131.438-66.304 163.986-102.29 56.576-226.304 62.867-338.87 42.862-59.43-10.862-129.135-29.696-161.72-85.723-14.3-54.858-23.442-110.848-32.585-166.84l3.438-9.142 10.276-5.157c170.277 112.567 408.576 112.567 579.438 0 26.844 8.01 6.84 40.558 6.29 60.014zm103.424-549.157c-19.42 125.148-41.728 249.71-63.415 374.272-6.29 36.572-41.728 57.162-71.424 72.558-106.862 53.724-231.424 62.866-348.562 50.286-79.433-8.558-160.585-29.696-225.134-79.433-30.28-23.443-30.28-63.415-35.986-97.134-20.005-117.138-42.862-234.277-57.161-352.585 6.839-51.42 64.585-73.728 107.447-89.71 57.16-21.138 118.272-30.866 178.87-36.571 129.134-12.58 261.157-8.01 386.304 28.562 44.581 13.13 92.563 31.415 122.844 69.705 13.714 17.7 9.143 40.01 6.29 60.014z"}));Uc.displayName="BitbucketIcon";const Wc=()=>f(ke,{name:"source"},()=>f("path",{d:"M601.92 475.2c0 76.428-8.91 83.754-28.512 99.594-14.652 11.88-43.956 14.058-78.012 16.434-18.81 1.386-40.392 2.97-62.172 6.534-18.612 2.97-36.432 9.306-53.064 17.424V299.772c37.818-21.978 63.36-62.766 63.36-109.692 0-69.894-56.826-126.72-126.72-126.72S190.08 120.186 190.08 190.08c0 46.926 25.542 87.714 63.36 109.692v414.216c-37.818 21.978-63.36 62.766-63.36 109.692 0 69.894 56.826 126.72 126.72 126.72s126.72-56.826 126.72-126.72c0-31.086-11.286-59.598-29.7-81.576 13.266-9.504 27.522-17.226 39.996-19.206 16.038-2.574 32.868-3.762 50.688-5.148 48.312-3.366 103.158-7.326 148.896-44.55 61.182-49.698 74.25-103.158 75.24-187.902V475.2h-126.72zM316.8 126.72c34.848 0 63.36 28.512 63.36 63.36s-28.512 63.36-63.36 63.36-63.36-28.512-63.36-63.36 28.512-63.36 63.36-63.36zm0 760.32c-34.848 0-63.36-28.512-63.36-63.36s28.512-63.36 63.36-63.36 63.36 28.512 63.36 63.36-28.512 63.36-63.36 63.36zM823.68 158.4h-95.04V63.36h-126.72v95.04h-95.04v126.72h95.04v95.04h126.72v-95.04h95.04z"}));Wc.displayName="SourceIcon";const Gc=(e,t)=>{let n=1;for(let r=0;r>6;return n+=n<<3,n^=n>>11,n%t},Kc=/#.*$/u,Fp=e=>{const t=Kc.exec(e);return t?t[0]:""},_a=e=>decodeURI(e).replace(Kc,"").replace(/\/index\.html$/iu,"/").replace(/\.html$/iu,"").replace(/(README|index)?\.md$/iu,""),Yc=(e,t)=>{if(!yc(t))return!1;const n=_a(e.path),r=_a(t),o=Fp(t);return o?o===e.hash&&(!r||n===r):n===r},Bp=e=>ln(e)?e:`https://github.com/${e}`,Jc=e=>!ln(e)||/github\.com/.test(e)?"GitHub":/bitbucket\.org/.test(e)?"Bitbucket":/gitlab\.com/.test(e)?"GitLab":/gitee\.com/.test(e)?"Gitee":null;var Hp=e=>Object.prototype.toString.call(e)==="[object Object]",hr=e=>typeof e=="string";const Qc=Array.isArray,Ea=e=>Hp(e)&&hr(e.name),Ca=(e,t=!1)=>e?Qc(e)?e.map(n=>hr(n)?{name:n}:Ea(n)?n:null).filter(n=>n!==null):hr(e)?[{name:e}]:Ea(e)?[e]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${t?"":"| false"} | undefined\`, but got`,e),[]):[],Xc=(e,t)=>{if(e){if(Qc(e)&&e.every(hr))return e;if(hr(e))return[e];console.error(`Expect ${t||"value"} to be \`string[] | string | undefined\`, but got`,e)}return[]},Vp=e=>Xc(e,"category"),zp=e=>Xc(e,"tag"),qp='',Up='';var Wp={useBabel:!1,jsLib:[],cssLib:[],codepenLayout:"left",codepenEditors:"101",babel:"https://unpkg.com/@babel/standalone/babel.min.js",vue:"https://unpkg.com/vue/dist/vue.global.prod.js",react:"https://unpkg.com/react/umd/react.production.min.js",reactDOM:"https://unpkg.com/react-dom/umd/react-dom.production.min.js"};const zo=Wp,ka={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"}}},Gp=(e,t,n)=>{const r=document.createElement(e);return Fn(t)&&fn(t).forEach(o=>{if(o.indexOf("data"))r[o]=t[o];else{const s=o.replace("data","");r.dataset[s]=t[o]}}),n&&n.forEach(o=>{r.appendChild(o)}),r},tl=e=>({...zo,...e,jsLib:Array.from(new Set([...zo.jsLib||[],...e.jsLib||[]])),cssLib:Array.from(new Set([...zo.cssLib||[],...e.cssLib||[]]))}),xn=(e,t)=>{if(yc(e[t]))return e[t];const n=new Promise(r=>{var s;const o=document.createElement("script");o.src=t,(s=document.querySelector("body"))==null||s.appendChild(o),o.onload=()=>{r()}});return e[t]=n,n},Kp=(e,t)=>{if(t.css&&Array.from(e.childNodes).every(n=>n.nodeName!=="STYLE")){const n=Gp("style",{innerHTML:t.css});e.appendChild(n)}},Yp=(e,t,n)=>{const r=n.getScript();if(r&&Array.from(t.childNodes).every(o=>o.nodeName!=="SCRIPT")){const o=document.createElement("script");o.appendChild(document.createTextNode(`{const document=window.document.querySelector('#${e} .vp-code-demo-display').shadowRoot; ${r}}`)),t.appendChild(o)}},Jp=e=>{const t=fn(e),n={html:[],js:[],css:[],isLegal:!1};return["html","js","css"].forEach(r=>{const o=t.filter(s=>ka[r].types.includes(s));if(o.length){const s=o[0];n[r]=[e[s].replace(/^\n|\n$/g,""),ka[r].map[s]||s]}}),n.isLegal=(!n.html.length||n.html[1]==="none")&&(!n.js.length||n.js[1]==="none")&&(!n.css.length||n.css[1]==="none"),n},Zc=e=>e.replace(/
/g,"
").replace(/<((\S+)[^<]*?)\s+\/>/g,"<$1>"),eu=e=>`
${Zc(e)}
`,Qp=e=>`${e.replace("export default ","const $reactApp = ").replace(/App\.__style__(\s*)=(\s*)`([\s\S]*)?`/,"")}; diff --git a/assets/basic_command.html-DL1HGzM9.js b/assets/basic_command.html-DQ29aJD_.js similarity index 99% rename from assets/basic_command.html-DL1HGzM9.js rename to assets/basic_command.html-DQ29aJD_.js index feb8d1a0..d891921c 100644 --- a/assets/basic_command.html-DL1HGzM9.js +++ b/assets/basic_command.html-DQ29aJD_.js @@ -1,4 +1,4 @@ -import{_ as n,o as s,c as a,e}from"./app-BlLEDWhb.js";const t={},o=e(`

基础插件

轻雪 liteyuki

# 仅超级用户
+import{_ as n,o as s,c as a,e}from"./app-Bpo-kmLe.js";const t={},o=e(`

基础插件

轻雪 liteyuki

# 仅超级用户
 reload-liteyuki  # 重载轻雪
 update-liteyuki  # 更新轻雪
 liteecho # 查看当前bot
diff --git a/assets/config.html-DJ63oVlJ.js b/assets/config.html-DtVbCcwf.js
similarity index 99%
rename from assets/config.html-DJ63oVlJ.js
rename to assets/config.html-DtVbCcwf.js
index 7bc5014d..ab4942e0 100644
--- a/assets/config.html-DJ63oVlJ.js
+++ b/assets/config.html-DtVbCcwf.js
@@ -1,4 +1,4 @@
-import{_ as e,r as t,o,c,b as n,d as s,a as l,e as p}from"./app-BlLEDWhb.js";const i={},r=p(`

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

基础配置项

command_start: [ "/", "" ] # 指令前缀,若没有""空命令头,请开启alconna_use_command_start保证alconna解析正常
+import{_ as e,r as t,o,c,b as n,d as s,a as l,e as p}from"./app-Bpo-kmLe.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-Dms5HQzr.js b/assets/extra_command.html-C3sZS0Oo.js
similarity index 98%
rename from assets/extra_command.html-Dms5HQzr.js
rename to assets/extra_command.html-C3sZS0Oo.js
index 75e3bd79..37a58f46 100644
--- a/assets/extra_command.html-Dms5HQzr.js
+++ b/assets/extra_command.html-C3sZS0Oo.js
@@ -1,4 +1,4 @@
-import{_ as e,o as t,c as a,e as n}from"./app-BlLEDWhb.js";const o={},s=n(`

功能插件命令

轻雪天气liteyuki_weather

配置项

weather-key # 和风天气的天气key
+import{_ as e,o as t,c as a,e as n}from"./app-Bpo-kmLe.js";const o={},s=n(`

功能插件命令

轻雪天气liteyuki_weather

配置项

weather-key # 和风天气的天气key
 

命令

weather <keywords...> # 查询目标地实时天气,例如:"天气 北京 海淀", "weather Tokyo Shinjuku"
 bind-city <keywords...> # 绑定查询城市,个人全局生效
 别名:weather 天气
diff --git a/assets/fandq.html-DqPMJ2H7.js b/assets/fandq.html-DIjLIDaJ.js
similarity index 99%
rename from assets/fandq.html-DqPMJ2H7.js
rename to assets/fandq.html-DIjLIDaJ.js
index b3487aab..f88e9834 100644
--- a/assets/fandq.html-DqPMJ2H7.js
+++ b/assets/fandq.html-DIjLIDaJ.js
@@ -1 +1 @@
-import{_ as l,r,o as a,c as i,b as e,d as t,a as n,e as c}from"./app-BlLEDWhb.js";const p={},s=e("h2",{id:"常见问题",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#常见问题"},[e("span",null,[e("strong",null,"常见问题")])])],-1),h=c("
  • 设备上Python环境太乱了,pip和python不对应怎么办?

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

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

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

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

    • 输入playwright install安装浏览器
  • ",5),d=e("p",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"},y={href:"https://github.com/whitechi73/OpenShamrock",target:"_blank",rel:"noopener noreferrer"},f={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),N=e("h2",{id:"推荐方案-minecraft",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#推荐方案-minecraft"},[e("span",null,[e("strong",null,"推荐方案(Minecraft)")])])],-1),w={href:"https://github.com/snowykami/MinecraftOnebot",target:"_blank",rel:"noopener noreferrer"},x=e("p",null,"使用其他项目连接请先自行查阅文档,若有困难请联系对应开发者而不是Liteyuki的开发者",-1),v=e("h2",{id:"鸣谢",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#鸣谢"},[e("span",null,[e("strong",null,"鸣谢")])])],-1),L={href:"https://nonebot.dev",target:"_blank",rel:"noopener noreferrer"},T={href:"https://github.com/kexue-z/nonebot-plugin-htmlrender/tree/master",target:"_blank",rel:"noopener noreferrer"},M={href:"https://github.com/ArcletProject/nonebot-plugin-alconna",target:"_blank",rel:"noopener noreferrer"};function S(z,G){const o=r("ExternalLinkIcon");return a(),i("div",null,[s,e("ul",null,[h,e("li",null,[d,e("ul",null,[e("li",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",y,[t("OpenShamrock"),n(o)]),t(",基于Lsposed的OneBot11实现")]),e("li",null,[e("a",f,[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]),N,e("ol",null,[e("li",null,[e("a",w,[t("MinecraftOneBot"),n(o)]),t(",我们专门为Minecraft开发的服务器Bot,支持OneBotV11标准")])]),x,v,e("ul",null,[e("li",null,[e("a",L,[t("Nonebot2"),n(o)]),t("提供的框架支持")]),e("li",null,[e("a",T,[t("nonebot-plugin-htmlrender"),n(o)]),t("提供的渲染功能")]),e("li",null,[e("a",M,[t("nonebot-plugin-alconna"),n(o)]),t("提供的命令解析功能")])])])}const R=l(p,[["render",S],["__file","fandq.html.vue"]]),C=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-12T05:07:19.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:tag","content":"配置"}],["meta",{"property":"article:tag","content":"部署"}],["meta",{"property":"article:modified_time","content":"2024-04-12T05:07:19.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"答疑\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-12T05:07:19.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.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":1712898439000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":8},{"name":"Snowykami","email":"79104275+snowykami@users.noreply.github.com","commits":1}]},"readingTime":{"minutes":2.1,"words":629},"filePathRelative":"deployment/fandq.md","localizedDate":"2024年3月29日","autoDesc":true}');export{R as comp,C as data}; +import{_ as l,r,o as a,c as i,b as e,d as t,a as n,e as c}from"./app-Bpo-kmLe.js";const p={},s=e("h2",{id:"常见问题",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#常见问题"},[e("span",null,[e("strong",null,"常见问题")])])],-1),h=c("
  • 设备上Python环境太乱了,pip和python不对应怎么办?

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

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

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

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

    • 输入playwright install安装浏览器
  • ",5),d=e("p",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"},y={href:"https://github.com/whitechi73/OpenShamrock",target:"_blank",rel:"noopener noreferrer"},f={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),N=e("h2",{id:"推荐方案-minecraft",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#推荐方案-minecraft"},[e("span",null,[e("strong",null,"推荐方案(Minecraft)")])])],-1),w={href:"https://github.com/snowykami/MinecraftOnebot",target:"_blank",rel:"noopener noreferrer"},x=e("p",null,"使用其他项目连接请先自行查阅文档,若有困难请联系对应开发者而不是Liteyuki的开发者",-1),v=e("h2",{id:"鸣谢",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#鸣谢"},[e("span",null,[e("strong",null,"鸣谢")])])],-1),L={href:"https://nonebot.dev",target:"_blank",rel:"noopener noreferrer"},T={href:"https://github.com/kexue-z/nonebot-plugin-htmlrender/tree/master",target:"_blank",rel:"noopener noreferrer"},M={href:"https://github.com/ArcletProject/nonebot-plugin-alconna",target:"_blank",rel:"noopener noreferrer"};function S(z,G){const o=r("ExternalLinkIcon");return a(),i("div",null,[s,e("ul",null,[h,e("li",null,[d,e("ul",null,[e("li",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",y,[t("OpenShamrock"),n(o)]),t(",基于Lsposed的OneBot11实现")]),e("li",null,[e("a",f,[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]),N,e("ol",null,[e("li",null,[e("a",w,[t("MinecraftOneBot"),n(o)]),t(",我们专门为Minecraft开发的服务器Bot,支持OneBotV11标准")])]),x,v,e("ul",null,[e("li",null,[e("a",L,[t("Nonebot2"),n(o)]),t("提供的框架支持")]),e("li",null,[e("a",T,[t("nonebot-plugin-htmlrender"),n(o)]),t("提供的渲染功能")]),e("li",null,[e("a",M,[t("nonebot-plugin-alconna"),n(o)]),t("提供的命令解析功能")])])])}const R=l(p,[["render",S],["__file","fandq.html.vue"]]),C=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-12T05:07:19.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:tag","content":"配置"}],["meta",{"property":"article:tag","content":"部署"}],["meta",{"property":"article:modified_time","content":"2024-04-12T05:07:19.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"答疑\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-12T05:07:19.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.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":1712898439000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":8},{"name":"Snowykami","email":"79104275+snowykami@users.noreply.github.com","commits":1}]},"readingTime":{"minutes":2.1,"words":629},"filePathRelative":"deployment/fandq.md","localizedDate":"2024年3月29日","autoDesc":true}');export{R as comp,C as data}; diff --git a/assets/foolsday.html-Cd0mpKAV.js b/assets/foolsday.html-BMsSOP5X.js similarity index 98% rename from assets/foolsday.html-Cd0mpKAV.js rename to assets/foolsday.html-BMsSOP5X.js index ce8ab033..a1fb3fb8 100644 --- a/assets/foolsday.html-Cd0mpKAV.js +++ b/assets/foolsday.html-BMsSOP5X.js @@ -1 +1 @@ -import{_ as t,o as e,c as o}from"./app-BlLEDWhb.js";const i={};function a(s,n){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/logo.png","bgImage":null,"bgImageDark":null,"bgImageStyle":{"background-attachment":"fixed"},"heroText":"HeavyyukiBot666","tagline":"重雪机器人,一个以笨重和复杂为设计理念基于Koishi114514的OneBotv1919810标准聊天机器人,可用于雪地清扫,使用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使用npmx和pip,让你无法安装/卸载插件"},{"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":"安装 Git 和 node.js+"},{"title":"使用 git clone https://github.com/snowykami/LiteyukiBot 以克隆项目至本地。","details":"如果无法连接到GitHub,可以使用 git clone https://gitee.com/snowykami/LiteyukiBot。"},{"title":"使用 cd LiteyukiBot 切换到项目目录。"},{"title":"使用 npm install -r requirements.txt 安装项目依赖。","details":"如果你有多个 node.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-04-01T16:01:28.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-01T16:01:28.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"首页\\"}"]]},"headers":[],"git":{"createdTime":1711987288000,"updatedTime":1711987288000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":2.11,"words":633},"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-Bpo-kmLe.js";const i={};function a(s,n){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/logo.png","bgImage":null,"bgImageDark":null,"bgImageStyle":{"background-attachment":"fixed"},"heroText":"HeavyyukiBot666","tagline":"重雪机器人,一个以笨重和复杂为设计理念基于Koishi114514的OneBotv1919810标准聊天机器人,可用于雪地清扫,使用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使用npmx和pip,让你无法安装/卸载插件"},{"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":"安装 Git 和 node.js+"},{"title":"使用 git clone https://github.com/snowykami/LiteyukiBot 以克隆项目至本地。","details":"如果无法连接到GitHub,可以使用 git clone https://gitee.com/snowykami/LiteyukiBot。"},{"title":"使用 cd LiteyukiBot 切换到项目目录。"},{"title":"使用 npm install -r requirements.txt 安装项目依赖。","details":"如果你有多个 node.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-04-01T16:01:28.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-01T16:01:28.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"首页\\"}"]]},"headers":[],"git":{"createdTime":1711987288000,"updatedTime":1711987288000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":2.11,"words":633},"filePathRelative":"foolsday.md","localizedDate":"2024年4月1日"}');export{c as comp,m as data}; diff --git a/assets/index.html-89EYFOzn.js b/assets/index.html-DbnPbPo-.js similarity index 98% rename from assets/index.html-89EYFOzn.js rename to assets/index.html-DbnPbPo-.js index c64cd95a..9ed85064 100644 --- a/assets/index.html-89EYFOzn.js +++ b/assets/index.html-DbnPbPo-.js @@ -1 +1 @@ -import{_ as t,o as e,c as i}from"./app-BlLEDWhb.js";const o={};function n(a,s){return e(),i("div")}const c=t(o,[["render",n],["__file","index.html.vue"]]),m=JSON.parse('{"path":"/","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":"使用npm,无需命令行操作即可安装/卸载插件"},{"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":"OneBot标准","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":"项目遵循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/"}],["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-04-12T05:07:19.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-12T05:07:19.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"首页\\"}"]]},"headers":[],"git":{"createdTime":1711460020000,"updatedTime":1712898439000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":24}]},"readingTime":{"minutes":1.73,"words":520},"filePathRelative":"README.md","localizedDate":"2024年3月26日"}');export{c as comp,m as data}; +import{_ as t,o as e,c as i}from"./app-Bpo-kmLe.js";const o={};function n(a,s){return e(),i("div")}const c=t(o,[["render",n],["__file","index.html.vue"]]),m=JSON.parse('{"path":"/","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":"使用npm,无需命令行操作即可安装/卸载插件"},{"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":"OneBot标准","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":"项目遵循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/"}],["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-04-12T05:07:19.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-12T05:07:19.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"首页\\"}"]]},"headers":[],"git":{"createdTime":1711460020000,"updatedTime":1712898439000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":24}]},"readingTime":{"minutes":1.73,"words":520},"filePathRelative":"README.md","localizedDate":"2024年3月26日"}');export{c as comp,m as data}; diff --git a/assets/index.html-BBIWXjyA.js b/assets/index.html-DnZkyq7Q.js similarity index 95% rename from assets/index.html-BBIWXjyA.js rename to assets/index.html-DnZkyq7Q.js index af6a18d1..dcac3434 100644 --- a/assets/index.html-BBIWXjyA.js +++ b/assets/index.html-DnZkyq7Q.js @@ -1 +1 @@ -import{_ as t,r as o,o as a,c as n,a as r}from"./app-BlLEDWhb.js";const p={};function i(c,m){const e=o("Catalog");return a(),n("div",null,[r(e)])}const s=t(p,[["render",i],["__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://snowykami.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-Bpo-kmLe.js";const p={};function i(c,m){const e=o("Catalog");return a(),n("div",null,[r(e)])}const s=t(p,[["render",i],["__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://snowykami.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-DCbeKeaA.js b/assets/index.html-J_ffJVHV.js similarity index 95% rename from assets/index.html-DCbeKeaA.js rename to assets/index.html-J_ffJVHV.js index 279d6db5..08d46f33 100644 --- a/assets/index.html-DCbeKeaA.js +++ b/assets/index.html-J_ffJVHV.js @@ -1 +1 @@ -import{_ as t,r as o,o as r,c as a,a as n}from"./app-BlLEDWhb.js";const i={};function p(c,m){const e=o("storeComp");return r(),a("div",null,[n(e)])}const l=t(i,[["render",p],["__file","index.html.vue"]]),d=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-08T09:01:55.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-08T09:01:55.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"资源商店\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-08T09:01:55.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[],"git":{"createdTime":1712364501000,"updatedTime":1712566915000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":3}]},"readingTime":{"minutes":0.04,"words":11},"filePathRelative":"store/README.md","localizedDate":"2024年4月6日"}');export{l as comp,d as data}; +import{_ as t,r as o,o as r,c as a,a as n}from"./app-Bpo-kmLe.js";const i={};function p(c,m){const e=o("storeComp");return r(),a("div",null,[n(e)])}const l=t(i,[["render",p],["__file","index.html.vue"]]),d=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-08T09:01:55.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-08T09:01:55.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"资源商店\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-08T09:01:55.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[],"git":{"createdTime":1712364501000,"updatedTime":1712566915000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":3}]},"readingTime":{"minutes":0.04,"words":11},"filePathRelative":"store/README.md","localizedDate":"2024年4月6日"}');export{l as comp,d as data}; diff --git a/assets/index.html-DBxsb1RS.js b/assets/index.html-Ta9UwKwu.js similarity index 95% rename from assets/index.html-DBxsb1RS.js rename to assets/index.html-Ta9UwKwu.js index abc9e4c7..cb871554 100644 --- a/assets/index.html-DBxsb1RS.js +++ b/assets/index.html-Ta9UwKwu.js @@ -1 +1 @@ -import{_ as t,r as o,o as a,c as n,a as r}from"./app-BlLEDWhb.js";const i={};function c(p,m){const e=o("Catalog");return a(),n("div",null,[r(e)])}const l=t(i,[["render",c],["__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://snowykami.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-Bpo-kmLe.js";const i={};function c(p,m){const e=o("Catalog");return a(),n("div",null,[r(e)])}const l=t(i,[["render",c],["__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://snowykami.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/install.html-C--x_wYt.js b/assets/install.html-BRS2bET7.js similarity index 98% rename from assets/install.html-C--x_wYt.js rename to assets/install.html-BRS2bET7.js index 50f55a00..157b6ab0 100644 --- a/assets/install.html-C--x_wYt.js +++ b/assets/install.html-BRS2bET7.js @@ -1 +1 @@ -import{_ as i,r as a,o as l,c,b as t,d as e,a as n,e as r}from"./app-BlLEDWhb.js";const s={},d=t("h2",{id:"开始安装",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#开始安装"},[t("span",null,[t("strong",null,"开始安装")])])],-1),p={href:"https://git-scm.com/download/",target:"_blank",rel:"noopener noreferrer"},h=t("code",null,"Git",-1),m={href:"https://www.python.org/downloads/release/python-31010/",target:"_blank",rel:"noopener noreferrer"},u=t("code",null,"Python3.10+",-1),y=t("li",null,[e("克隆项目 "),t("code",null,"git clone https://github.com/snowykami/LiteyukiBot")],-1),_=t("li",null,[e("进入轻雪目录 "),t("code",null,"cd LiteyukiBot")],-1),g=t("li",null,[e("安装依赖 "),t("code",null,"pip install -r requirements.txt")],-1),v=t("li",null,[e("启动 "),t("code",null,"python main.py")],-1),k=r('

    设备要求

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

    注意

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

    提示

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

    注意

    轻雪的更新功能依赖Git,如果你没有安装Git,你将无法使用更新功能

    其他问题请移步至答疑

    ',6);function f(w,x){const o=a("ExternalLinkIcon");return l(),c("div",null,[d,t("ol",null,[t("li",null,[e("安装 "),t("a",p,[h,n(o)]),e(" 和 "),t("a",m,[u,n(o)]),e(" 环境")]),y,_,g,v]),k])}const b=i(s,[["render",f],["__file","install.html.vue"]]),L=JSON.parse('{"path":"/deployment/install.html","title":"安装","lang":"zh-CN","frontmatter":{"title":"安装","icon":"download","order":1,"category":"使用指南","tag":["安装"],"description":"开始安装 安装 Git 和 Python3.10+ 环境 克隆项目 git clone https://github.com/snowykami/LiteyukiBot 进入轻雪目录 cd LiteyukiBot 安装依赖 pip install -r requirements.txt 启动 python main.py 设备要求 Windows系统版...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/deployment/install.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"安装"}],["meta",{"property":"og:description","content":"开始安装 安装 Git 和 Python3.10+ 环境 克隆项目 git clone https://github.com/snowykami/LiteyukiBot 进入轻雪目录 cd LiteyukiBot 安装依赖 pip install -r requirements.txt 启动 python main.py 设备要求 Windows系统版..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-12T05:07:19.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:tag","content":"安装"}],["meta",{"property":"article:modified_time","content":"2024-04-12T05:07:19.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"安装\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-12T05:07:19.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[{"level":2,"title":"开始安装","slug":"开始安装","link":"#开始安装","children":[]},{"level":2,"title":"设备要求","slug":"设备要求","link":"#设备要求","children":[]}],"git":{"createdTime":1711589926000,"updatedTime":1712898439000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":7}]},"readingTime":{"minutes":1.05,"words":316},"filePathRelative":"deployment/install.md","localizedDate":"2024年3月28日","autoDesc":true}');export{b as comp,L as data}; +import{_ as i,r as a,o as l,c,b as t,d as e,a as n,e as r}from"./app-Bpo-kmLe.js";const s={},d=t("h2",{id:"开始安装",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#开始安装"},[t("span",null,[t("strong",null,"开始安装")])])],-1),p={href:"https://git-scm.com/download/",target:"_blank",rel:"noopener noreferrer"},h=t("code",null,"Git",-1),m={href:"https://www.python.org/downloads/release/python-31010/",target:"_blank",rel:"noopener noreferrer"},u=t("code",null,"Python3.10+",-1),y=t("li",null,[e("克隆项目 "),t("code",null,"git clone https://github.com/snowykami/LiteyukiBot")],-1),_=t("li",null,[e("进入轻雪目录 "),t("code",null,"cd LiteyukiBot")],-1),g=t("li",null,[e("安装依赖 "),t("code",null,"pip install -r requirements.txt")],-1),v=t("li",null,[e("启动 "),t("code",null,"python main.py")],-1),k=r('

    设备要求

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

    注意

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

    提示

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

    注意

    轻雪的更新功能依赖Git,如果你没有安装Git,你将无法使用更新功能

    其他问题请移步至答疑

    ',6);function f(w,x){const o=a("ExternalLinkIcon");return l(),c("div",null,[d,t("ol",null,[t("li",null,[e("安装 "),t("a",p,[h,n(o)]),e(" 和 "),t("a",m,[u,n(o)]),e(" 环境")]),y,_,g,v]),k])}const b=i(s,[["render",f],["__file","install.html.vue"]]),L=JSON.parse('{"path":"/deployment/install.html","title":"安装","lang":"zh-CN","frontmatter":{"title":"安装","icon":"download","order":1,"category":"使用指南","tag":["安装"],"description":"开始安装 安装 Git 和 Python3.10+ 环境 克隆项目 git clone https://github.com/snowykami/LiteyukiBot 进入轻雪目录 cd LiteyukiBot 安装依赖 pip install -r requirements.txt 启动 python main.py 设备要求 Windows系统版...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/deployment/install.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"安装"}],["meta",{"property":"og:description","content":"开始安装 安装 Git 和 Python3.10+ 环境 克隆项目 git clone https://github.com/snowykami/LiteyukiBot 进入轻雪目录 cd LiteyukiBot 安装依赖 pip install -r requirements.txt 启动 python main.py 设备要求 Windows系统版..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-12T05:07:19.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:tag","content":"安装"}],["meta",{"property":"article:modified_time","content":"2024-04-12T05:07:19.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"安装\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-12T05:07:19.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[{"level":2,"title":"开始安装","slug":"开始安装","link":"#开始安装","children":[]},{"level":2,"title":"设备要求","slug":"设备要求","link":"#设备要求","children":[]}],"git":{"createdTime":1711589926000,"updatedTime":1712898439000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":7}]},"readingTime":{"minutes":1.05,"words":316},"filePathRelative":"deployment/install.md","localizedDate":"2024年3月28日","autoDesc":true}');export{b as comp,L as data}; diff --git a/assets/resource_pack.html-DkE2PCfS.js b/assets/resource_pack.html-x0NGvJLp.js similarity index 99% rename from assets/resource_pack.html-DkE2PCfS.js rename to assets/resource_pack.html-x0NGvJLp.js index 19babdc0..698e28ba 100644 --- a/assets/resource_pack.html-DkE2PCfS.js +++ b/assets/resource_pack.html-x0NGvJLp.js @@ -1,4 +1,4 @@ -import{_ as a,r as s,o as l,c as o,b as e,a as i,w as c,d as t,e as d}from"./app-BlLEDWhb.js";const r={},u=e("h2",{id:"简介",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#简介"},[e("span",null,"简介")])],-1),p=e("p",null,"资源包,亦可根据用途称为主题包、字体包、语言包等,它允许你一定程度上自定义轻雪的外观,并且不用修改源代码",-1),m=e("li",null,[t("资源包的制作很简单,如果你接触过"),e("code",null,"Minecraft"),t("的资源包,那么你能够很快就上手,仅需按照原有路径进行文件替换即可,讲起打包成一个新的资源包。")],-1),h=e("li",null,[t("部分内容制作需要一点点前端基础,例如"),e("code",null,"html"),t(","),e("code",null,"css")],-1),v=e("li",null,[t("轻雪原版资源包请查看"),e("code",null,"LiteyukiBot/liteyuki/resources"),t(",可以在此基础上进行修改")],-1),_=e("li",null,"欢迎各位投稿资源包到轻雪资源商店",-1),y=d(`

    加载资源包

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

    加载资源包

    • 资源包通常是以.zip格式压缩的,只需要将其解压到根目录resources目录下即可,注意不要嵌套文件夹,正常的路径应该是这样的
    main.py
     resources
     └─resource_pack_1
         ├─metadata.yml
    diff --git a/deployment/config.html b/deployment/config.html
    index bb370eb9..6f52f2d1 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解析正常
    @@ -61,6 +61,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 74b44cd2..50d6f654 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安装浏览器
    • 其他问题

    推荐方案(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 32bb9b7a..789cb779 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 382aacdc..cfbfd1a8 100644 --- a/deployment/install.html +++ b/deployment/install.html @@ -30,11 +30,11 @@ 安装 | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    安装

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

    开始安装

    1. 安装 Gitopen in new windowPython3.10+open in new window 环境
    2. 克隆项目 git clone https://github.com/snowykami/LiteyukiBot
    3. 进入轻雪目录 cd LiteyukiBot
    4. 安装依赖 pip install -r requirements.txt
    5. 启动 python main.py

    设备要求

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

    注意

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

    提示

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

    注意

    轻雪的更新功能依赖Git,如果你没有安装Git,你将无法使用更新功能

    其他问题请移步至答疑

    - + diff --git a/foolsday.html b/foolsday.html index 007eb6bb..a7940563 100644 --- a/foolsday.html +++ b/foolsday.html @@ -30,11 +30,11 @@ 首页 | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容
    HeavyyukiBot666

    HeavyyukiBot666

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

    快速结束奇怪的册子

    简洁至下

    基于Koishi.js233

    拥有良好的生态支持

    盲目插件管理

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

    点击无法交互

    老的的点击交互模式,必须手打指令

    猪蹄支持

    支持多种主题,可自定义资源包,满足你的审美需求

    非国际化

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

    超难配置

    无需过多配置,开箱即用

    高占用

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

    一个Bot标准

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

    Alconna

    使用Alconna实现低效命令解析

    不准更新

    要更新自己下新版本去

    服务支持

    内置轻雪API,但随时可能跑路

    闭源

    要源代码自己逆向去

    快速部署

    • 安装 Git 和 node.js+

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

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

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

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

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

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

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

    LiteyukiBot

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

    快速部署使用手册

    简洁至上

    基于Nonebot2

    拥有良好的生态支持

    可视化插件管理

    使用npm,无需命令行操作即可安装/卸载插件

    点击交互

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

    主题支持

    支持多种主题,可自定义资源包,满足你的审美需求

    国际化

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

    简易配置

    无需过多配置,开箱即用

    低占用

    使用更少的依赖和资源

    OneBot标准

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

    Alconna命令解析

    使用Alconna实现高效命令解析

    便捷更新

    聊天窗口命令更新,无需手动下载

    服务支持

    内置轻雪API,可自动收集错误,提供图床服务

    开源

    项目遵循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/store/index.html b/store/index.html index 37b65aa6..a5496293 100644 --- a/store/index.html +++ b/store/index.html @@ -30,11 +30,11 @@ 资源商店 | LiteyukiBot 轻雪机器人 - - + + - + diff --git a/usage/agreement.html b/usage/agreement.html index 28bcd591..77d2a7de 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 627835af..f416d4a0 100644 --- a/usage/basic_command.html +++ b/usage/basic_command.html @@ -30,8 +30,8 @@ 基础命令 | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    基础命令

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

    基础插件

    轻雪 liteyuki

    # 仅超级用户
    @@ -79,6 +79,6 @@ profile set <key>  # 获取用户信息
     

    命令别名

    profile 个人信息 | set 设置 | get 查询
     

    提示

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

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

    - + diff --git a/usage/extra_command.html b/usage/extra_command.html index 7ed06a83..69f836c1 100644 --- a/usage/extra_command.html +++ b/usage/extra_command.html @@ -30,8 +30,8 @@ 功能命令 | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    功能命令

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

    功能插件命令

    轻雪天气liteyuki_weather

    配置项

    weather-key # 和风天气的天气key
    @@ -39,6 +39,6 @@
     bind-city <keywords...> # 绑定查询城市,个人全局生效
     别名:weather 天气
     
    - + diff --git a/usage/index.html b/usage/index.html index 9d67e13b..f6f60d5c 100644 --- a/usage/index.html +++ b/usage/index.html @@ -30,11 +30,11 @@ 使用手册 | LiteyukiBot 轻雪机器人 - - + + - + diff --git a/usage/resource_pack.html b/usage/resource_pack.html index 791c2443..48c1fcae 100644 --- a/usage/resource_pack.html +++ b/usage/resource_pack.html @@ -30,8 +30,8 @@ 资源包 | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    资源包

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

    简介

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

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

    加载资源包

    • 资源包通常是以.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
    - +