const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/VPLocalSearchBox.Bbjziijm.js","assets/chunks/framework.C4_mTacX.js"])))=>i.map(i=>d[i]); import{u as Ee,d as g,o as i,c as p,r as f,n as D,a as J,t as V,b as P,w as v,e as b,T as Me,_ as $,i as Nt,f as Ct,g as Be,h as I,j as u,k as r,p as F,l as j,m as ae,q as Ve,s as N,v as Y,x as ge,y as te,z as ue,A as Oe,B as At,C as Et,D as re,F as x,E as z,G as Ze,H as be,I as S,J as K,K as et,L as ye,M as ee,N as de,O as Mt,P as ke,Q as Te,R as Bt,S as tt,U as $e,V as Ot,W as Ht,X as xt,Y as nt,Z as ot,$ as Dt,a0 as Rt,a1 as Ft,a2 as st,a3 as jt,a4 as Ut,a5 as zt,a6 as oe,a7 as se,a8 as Ie}from"./framework.C4_mTacX.js";const Gt={en:{stats:"Stats",online:"Online",offline:"Offline",total:"Total",fetching:"Fetching",stars:"Stars",forks:"Forks",issues:"Issues",prs:"Pull Requests",visitors:"Visitors",size:"Size",plugins:"Plugins",resources:"Resources",pluginStore:"Plugin Store",pluginStoreDesc:"Content from the LightSnow Plugin Store, LightSnow supports NoneBot through the lpnonebot plugin, and references some NoneBot plugins",liteyukiOnly:"Liteyuki Only",search:"Search",resourceStore:"Resources Store",thx_contributors:"Thanks the following contributors!",easterEgg:"Congratulations on finding the Easter egg!",publishPlugin:"Publish Plugin",publishRes:"Publish Resource",closeButtonText:"Close",submitButtonText:"Submit",resName:"Name",resDesc:"Description",resAuthor:"Author",resLink:"Download Link",resHomepage:"Homepage",resNameText:"Example: Kawaii Style Theme",resDescText:"Example: A kawaii style and color theme",resAuthorText:"Usually the github username, Example: yanyongyu",resLinkText:"Direct download link, usually zip package link",resHomepageText:'Optional, can be the name of the git platform repository"'},zh:{stats:"统计信息",online:"在线",offline:"离线",total:"实例",fetching:"获取中",stars:"星星",forks:"分叉",issues:"议题",prs:"拉取请求",visitors:"访客",size:"大小",plugins:"插件",resources:"主题资源",store:"商店",pluginStore:"插件商店",pluginStoreDesc:"内容来自轻雪插件商店,轻雪通过lpnonebot插件对NoneBot实现支持,引用了部分NoneBot插件",liteyukiOnly:"仅轻雪",search:"搜索",resourceStore:"资源商店",thx_contributors:"感谢以下贡献者!",easterEgg:"恭喜你发现了彩蛋!",publishPlugin:"发布插件",publishRes:"发布资源",closeButtonText:"关闭",submitButtonText:"提交",resName:"名称",resDesc:"描述",resAuthor:"作者",resLink:"下载链接",resHomepage:"主页",resNameText:"示例:可爱风格主题",resDescText:"示例:一个可爱风格和配色的主题",resAuthorText:"通常为github用户名,示例:yanyongyu",resLinkText:"直接下载链接,通常为zip包链接",resHomepageText:"可选,可为git平台仓库名"}};let _e={};function at(t,e){return t=He(t),Gt[t][e]}function He(t){return t.includes("-")?t.split("-")[0]:t}function Wt(){const t=He(Ee().site.value.lang);for(let e in _e)_e[e].value=at(t,e)}function R(t){const e=He(Ee().site.value.lang);return _e[t]=at(e,t),_e[t]||t}const Kt=g({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(t){return(e,n)=>(i(),p("span",{class:D(["VPBadge",e.type])},[f(e.$slots,"default",{},()=>[J(V(e.text),1)])],2))}}),qt={key:0,class:"VPBackdrop"},Jt=g({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(t){return(e,n)=>(i(),P(Me,{name:"fade"},{default:v(()=>[e.show?(i(),p("div",qt)):b("",!0)]),_:1}))}}),Yt=$(Jt,[["__scopeId","data-v-7e9fed24"]]),O=Ee;function Xt(t,e){let n,s=!1;return()=>{n&&clearTimeout(n),s?n=setTimeout(t,e):(t(),(s=!0)&&setTimeout(()=>s=!1,e))}}function Ne(t){return/^\//.test(t)?t:`/${t}`}function xe(t){const{pathname:e,search:n,hash:s,protocol:o}=new URL(t,"http://a.com");if(Nt(t)||t.startsWith("#")||!o.startsWith("http")||!Ct(e))return t;const{site:a}=O(),c=e.endsWith("/")||e.endsWith(".html")?t:t.replace(/(?:(^\.+)\/)?.*$/,`$1${e.replace(/(\.md)?$/,a.value.cleanUrls?"":".html")}${n}${s}`);return Be(c)}function pe({correspondingLink:t=!1}={}){const{site:e,localeIndex:n,page:s,theme:o,hash:a}=O(),c=I(()=>{var d,h;return{label:(d=e.value.locales[n.value])==null?void 0:d.label,link:((h=e.value.locales[n.value])==null?void 0:h.link)||(n.value==="root"?"/":`/${n.value}/`)}});return{localeLinks:I(()=>Object.entries(e.value.locales).flatMap(([d,h])=>c.value.label===h.label?[]:{text:h.label,link:Qt(h.link||(d==="root"?"/":`/${d}/`),o.value.i18nRouting!==!1&&t,s.value.relativePath.slice(c.value.link.length-1),!e.value.cleanUrls)+a.value})),currentLang:c}}function Qt(t,e,n,s){return e?t.replace(/\/$/,"")+Ne(n.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,s?".html":"")):t}const Zt=t=>(F("data-v-743bc607"),t=t(),j(),t),en={class:"NotFound"},tn={class:"code"},nn={class:"title"},on=Zt(()=>u("div",{class:"divider"},null,-1)),sn={class:"quote"},an={class:"action"},rn=["href","aria-label"],ln=g({__name:"NotFound",setup(t){const{theme:e}=O(),{currentLang:n}=pe();return(s,o)=>{var a,c,l,d,h;return i(),p("div",en,[u("p",tn,V(((a=r(e).notFound)==null?void 0:a.code)??"404"),1),u("h1",nn,V(((c=r(e).notFound)==null?void 0:c.title)??"PAGE NOT FOUND"),1),on,u("blockquote",sn,V(((l=r(e).notFound)==null?void 0:l.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),u("div",an,[u("a",{class:"link",href:r(Be)(r(n).link),"aria-label":((d=r(e).notFound)==null?void 0:d.linkLabel)??"go to home"},V(((h=r(e).notFound)==null?void 0:h.linkText)??"Take me home"),9,rn)])])}}}),cn=$(ln,[["__scopeId","data-v-743bc607"]]);function rt(t,e){if(Array.isArray(t))return he(t);if(t==null)return[];e=Ne(e);const n=Object.keys(t).sort((o,a)=>a.split("/").length-o.split("/").length).find(o=>e.startsWith(Ne(o))),s=n?t[n]:[];return Array.isArray(s)?he(s):he(s.items,s.base)}function un(t){const e=[];let n=0;for(const s in t){const o=t[s];if(o.items){n=e.push(o);continue}e[n]||e.push({items:[]}),e[n].items.push(o)}return e}function dn(t){const e=[];function n(s){for(const o of s)o.text&&o.link&&e.push({text:o.text,link:o.link,docFooterText:o.docFooterText}),o.items&&n(o.items)}return n(t),e}function Ce(t,e){return Array.isArray(e)?e.some(n=>Ce(t,n)):ae(t,e.link)?!0:e.items?Ce(t,e.items):!1}function he(t,e){return[...t].map(n=>{const s={...n},o=s.base||e;return o&&s.link&&(s.link=o+s.link),s.items&&(s.items=he(s.items,o)),s})}function X(){const{frontmatter:t,page:e,theme:n}=O(),s=Ve("(min-width: 960px)"),o=N(!1),a=I(()=>{const E=n.value.sidebar,k=e.value.relativePath;return E?rt(E,k):[]}),c=N(a.value);Y(a,(E,k)=>{JSON.stringify(E)!==JSON.stringify(k)&&(c.value=a.value)});const l=I(()=>t.value.sidebar!==!1&&c.value.length>0&&t.value.layout!=="home"),d=I(()=>h?t.value.aside==null?n.value.aside==="left":t.value.aside==="left":!1),h=I(()=>t.value.layout==="home"?!1:t.value.aside!=null?!!t.value.aside:n.value.aside!==!1),m=I(()=>l.value&&s.value),_=I(()=>l.value?un(c.value):[]);function y(){o.value=!0}function C(){o.value=!1}function T(){o.value?C():y()}return{isOpen:o,sidebar:c,sidebarGroups:_,hasSidebar:l,hasAside:h,leftAside:d,isSidebarEnabled:m,open:y,close:C,toggle:T}}function pn(t,e){let n;ge(()=>{n=t.value?document.activeElement:void 0}),te(()=>{window.addEventListener("keyup",s)}),ue(()=>{window.removeEventListener("keyup",s)});function s(o){o.key==="Escape"&&t.value&&(e(),n==null||n.focus())}}function fn(t){const{page:e,hash:n}=O(),s=N(!1),o=I(()=>t.value.collapsed!=null),a=I(()=>!!t.value.link),c=N(!1),l=()=>{c.value=ae(e.value.relativePath,t.value.link)};Y([e,t,n],l),te(l);const d=I(()=>c.value?!0:t.value.items?Ce(e.value.relativePath,t.value.items):!1),h=I(()=>!!(t.value.items&&t.value.items.length));ge(()=>{s.value=!!(o.value&&t.value.collapsed)}),Oe(()=>{(c.value||d.value)&&(s.value=!1)});function m(){o.value&&(s.value=!s.value)}return{collapsed:s,collapsible:o,isLink:a,isActiveLink:c,hasActiveLink:d,hasChildren:h,toggle:m}}function vn(){const{hasSidebar:t}=X(),e=Ve("(min-width: 960px)"),n=Ve("(min-width: 1280px)");return{isAsideEnabled:I(()=>!n.value&&!e.value?!1:t.value?n.value:e.value)}}const Ae=[];function it(t){return typeof t.outline=="object"&&!Array.isArray(t.outline)&&t.outline.label||t.outlineTitle||"On this page"}function De(t){const e=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(n=>n.id&&n.hasChildNodes()).map(n=>{const s=Number(n.tagName[1]);return{element:n,title:hn(n),link:"#"+n.id,level:s}});return _n(e,t)}function hn(t){let e="";for(const n of t.childNodes)if(n.nodeType===1){if(n.classList.contains("VPBadge")||n.classList.contains("header-anchor")||n.classList.contains("ignore-header"))continue;e+=n.textContent}else n.nodeType===3&&(e+=n.textContent);return e.trim()}function _n(t,e){if(e===!1)return[];const n=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[s,o]=typeof n=="number"?[n,n]:n==="deep"?[2,6]:n;t=t.filter(c=>c.level>=s&&c.level<=o),Ae.length=0;for(const{element:c,link:l}of t)Ae.push({element:c,link:l});const a=[];e:for(let c=0;c=0;d--){const h=t[d];if(h.level{requestAnimationFrame(a),window.addEventListener("scroll",s)}),At(()=>{c(location.hash)}),ue(()=>{window.removeEventListener("scroll",s)});function a(){if(!n.value)return;const l=window.scrollY,d=window.innerHeight,h=document.body.offsetHeight,m=Math.abs(l+d-h)<1,_=Ae.map(({element:C,link:T})=>({link:T,top:gn(C)})).filter(({top:C})=>!Number.isNaN(C)).sort((C,T)=>C.top-T.top);if(!_.length){c(null);return}if(l<1){c(null);return}if(m){c(_[_.length-1].link);return}let y=null;for(const{link:C,top:T}of _){if(T>l+Et()+4)break;y=C}c(y)}function c(l){o&&o.classList.remove("active"),l==null?o=null:o=t.value.querySelector(`a[href="${decodeURIComponent(l)}"]`);const d=o;d?(d.classList.add("active"),e.value.style.top=d.offsetTop+39+"px",e.value.style.opacity="1"):(e.value.style.top="33px",e.value.style.opacity="0")}}function gn(t){let e=0;for(;t!==document.body;){if(t===null)return NaN;e+=t.offsetTop,t=t.offsetParent}return e}const bn=["href","title"],yn=g({__name:"VPDocOutlineItem",props:{headers:{},root:{type:Boolean}},setup(t){function e({target:n}){const s=n.href.split("#")[1],o=document.getElementById(decodeURIComponent(s));o==null||o.focus({preventScroll:!0})}return(n,s)=>{const o=re("VPDocOutlineItem",!0);return i(),p("ul",{class:D(["VPDocOutlineItem",n.root?"root":"nested"])},[(i(!0),p(x,null,z(n.headers,({children:a,link:c,title:l})=>(i(),p("li",null,[u("a",{class:"outline-link",href:c,onClick:e,title:l},V(l),9,bn),a!=null&&a.length?(i(),P(o,{key:0,headers:a},null,8,["headers"])):b("",!0)]))),256))],2)}}}),lt=$(yn,[["__scopeId","data-v-1406b17f"]]),kn={class:"content"},$n={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},Sn=g({__name:"VPDocAsideOutline",setup(t){const{frontmatter:e,theme:n}=O(),s=Ze([]);be(()=>{s.value=De(e.value.outline??n.value.outline)});const o=N(),a=N();return mn(o,a),(c,l)=>(i(),p("nav",{"aria-labelledby":"doc-outline-aria-label",class:D(["VPDocAsideOutline",{"has-outline":s.value.length>0}]),ref_key:"container",ref:o},[u("div",kn,[u("div",{class:"outline-marker",ref_key:"marker",ref:a},null,512),u("div",$n,V(r(it)(r(n))),1),S(lt,{headers:s.value,root:!0},null,8,["headers"])])],2))}}),Pn=$(Sn,[["__scopeId","data-v-d2c84864"]]),wn={class:"VPDocAsideCarbonAds"},Ln=g({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(t){const e=()=>null;return(n,s)=>(i(),p("div",wn,[S(r(e),{"carbon-ads":n.carbonAds},null,8,["carbon-ads"])]))}}),Vn=t=>(F("data-v-2fb953a0"),t=t(),j(),t),Tn={class:"VPDocAside"},In=Vn(()=>u("div",{class:"spacer"},null,-1)),Nn=g({__name:"VPDocAside",setup(t){const{theme:e}=O();return(n,s)=>(i(),p("div",Tn,[f(n.$slots,"aside-top",{},void 0,!0),f(n.$slots,"aside-outline-before",{},void 0,!0),S(Pn),f(n.$slots,"aside-outline-after",{},void 0,!0),In,f(n.$slots,"aside-ads-before",{},void 0,!0),r(e).carbonAds?(i(),P(Ln,{key:0,"carbon-ads":r(e).carbonAds},null,8,["carbon-ads"])):b("",!0),f(n.$slots,"aside-ads-after",{},void 0,!0),f(n.$slots,"aside-bottom",{},void 0,!0)]))}}),Cn=$(Nn,[["__scopeId","data-v-2fb953a0"]]);function An(){const{theme:t,page:e}=O();return I(()=>{const{text:n="Edit this page",pattern:s=""}=t.value.editLink||{};let o;return typeof s=="function"?o=s(e.value):o=s.replace(/:path/g,e.value.filePath),{url:o,text:n}})}function En(){const{page:t,theme:e,frontmatter:n}=O();return I(()=>{var h,m,_,y,C,T,E,k;const s=rt(e.value.sidebar,t.value.relativePath),o=dn(s),a=Mn(o,U=>U.link.replace(/[?#].*$/,"")),c=a.findIndex(U=>ae(t.value.relativePath,U.link)),l=((h=e.value.docFooter)==null?void 0:h.prev)===!1&&!n.value.prev||n.value.prev===!1,d=((m=e.value.docFooter)==null?void 0:m.next)===!1&&!n.value.next||n.value.next===!1;return{prev:l?void 0:{text:(typeof n.value.prev=="string"?n.value.prev:typeof n.value.prev=="object"?n.value.prev.text:void 0)??((_=a[c-1])==null?void 0:_.docFooterText)??((y=a[c-1])==null?void 0:y.text),link:(typeof n.value.prev=="object"?n.value.prev.link:void 0)??((C=a[c-1])==null?void 0:C.link)},next:d?void 0:{text:(typeof n.value.next=="string"?n.value.next:typeof n.value.next=="object"?n.value.next.text:void 0)??((T=a[c+1])==null?void 0:T.docFooterText)??((E=a[c+1])==null?void 0:E.text),link:(typeof n.value.next=="object"?n.value.next.link:void 0)??((k=a[c+1])==null?void 0:k.link)}}})}function Mn(t,e){const n=new Set;return t.filter(s=>{const o=e(s);return n.has(o)?!1:n.add(o)})}const q=g({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(t){const e=t,n=I(()=>e.tag??(e.href?"a":"span")),s=I(()=>e.href&&et.test(e.href)||e.target==="_blank");return(o,a)=>(i(),P(K(n.value),{class:D(["VPLink",{link:o.href,"vp-external-link-icon":s.value,"no-icon":o.noIcon}]),href:o.href?r(xe)(o.href):void 0,target:o.target??(s.value?"_blank":void 0),rel:o.rel??(s.value?"noreferrer":void 0)},{default:v(()=>[f(o.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),Bn={class:"VPLastUpdated"},On=["datetime"],Hn=g({__name:"VPDocFooterLastUpdated",setup(t){const{theme:e,page:n,lang:s}=O(),o=I(()=>new Date(n.value.lastUpdated)),a=I(()=>o.value.toISOString()),c=N("");return te(()=>{ge(()=>{var l,d,h;c.value=new Intl.DateTimeFormat((d=(l=e.value.lastUpdated)==null?void 0:l.formatOptions)!=null&&d.forceLocale?s.value:void 0,((h=e.value.lastUpdated)==null?void 0:h.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(o.value)})}),(l,d)=>{var h;return i(),p("p",Bn,[J(V(((h=r(e).lastUpdated)==null?void 0:h.text)||r(e).lastUpdatedText||"Last updated")+": ",1),u("time",{datetime:a.value},V(c.value),9,On)])}}}),xn=$(Hn,[["__scopeId","data-v-8a8c5efc"]]),ct=t=>(F("data-v-655c432b"),t=t(),j(),t),Dn={key:0,class:"VPDocFooter"},Rn={key:0,class:"edit-info"},Fn={key:0,class:"edit-link"},jn=ct(()=>u("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),Un={key:1,class:"last-updated"},zn={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},Gn=ct(()=>u("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),Wn={class:"pager"},Kn=["innerHTML"],qn=["innerHTML"],Jn={class:"pager"},Yn=["innerHTML"],Xn=["innerHTML"],Qn=g({__name:"VPDocFooter",setup(t){const{theme:e,page:n,frontmatter:s}=O(),o=An(),a=En(),c=I(()=>e.value.editLink&&s.value.editLink!==!1),l=I(()=>n.value.lastUpdated),d=I(()=>c.value||l.value||a.value.prev||a.value.next);return(h,m)=>{var _,y,C,T;return d.value?(i(),p("footer",Dn,[f(h.$slots,"doc-footer-before",{},void 0,!0),c.value||l.value?(i(),p("div",Rn,[c.value?(i(),p("div",Fn,[S(q,{class:"edit-link-button",href:r(o).url,"no-icon":!0},{default:v(()=>[jn,J(" "+V(r(o).text),1)]),_:1},8,["href"])])):b("",!0),l.value?(i(),p("div",Un,[S(xn)])):b("",!0)])):b("",!0),(_=r(a).prev)!=null&&_.link||(y=r(a).next)!=null&&y.link?(i(),p("nav",zn,[Gn,u("div",Wn,[(C=r(a).prev)!=null&&C.link?(i(),P(q,{key:0,class:"pager-link prev",href:r(a).prev.link},{default:v(()=>{var E;return[u("span",{class:"desc",innerHTML:((E=r(e).docFooter)==null?void 0:E.prev)||"Previous page"},null,8,Kn),u("span",{class:"title",innerHTML:r(a).prev.text},null,8,qn)]}),_:1},8,["href"])):b("",!0)]),u("div",Jn,[(T=r(a).next)!=null&&T.link?(i(),P(q,{key:0,class:"pager-link next",href:r(a).next.link},{default:v(()=>{var E;return[u("span",{class:"desc",innerHTML:((E=r(e).docFooter)==null?void 0:E.next)||"Next page"},null,8,Yn),u("span",{class:"title",innerHTML:r(a).next.text},null,8,Xn)]}),_:1},8,["href"])):b("",!0)])])):b("",!0)])):b("",!0)}}}),Zn=$(Qn,[["__scopeId","data-v-655c432b"]]),eo=t=>(F("data-v-1c9751e9"),t=t(),j(),t),to={class:"container"},no=eo(()=>u("div",{class:"aside-curtain"},null,-1)),oo={class:"aside-container"},so={class:"aside-content"},ao={class:"content"},ro={class:"content-container"},io={class:"main"},lo=g({__name:"VPDoc",setup(t){const{theme:e}=O(),n=ye(),{hasSidebar:s,hasAside:o,leftAside:a}=X(),c=I(()=>n.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(l,d)=>{const h=re("Content");return i(),p("div",{class:D(["VPDoc",{"has-sidebar":r(s),"has-aside":r(o)}])},[f(l.$slots,"doc-top",{},void 0,!0),u("div",to,[r(o)?(i(),p("div",{key:0,class:D(["aside",{"left-aside":r(a)}])},[no,u("div",oo,[u("div",so,[S(Cn,null,{"aside-top":v(()=>[f(l.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[f(l.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[f(l.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[f(l.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[f(l.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[f(l.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):b("",!0),u("div",ao,[u("div",ro,[f(l.$slots,"doc-before",{},void 0,!0),u("main",io,[S(h,{class:D(["vp-doc",[c.value,r(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),S(Zn,null,{"doc-footer-before":v(()=>[f(l.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),f(l.$slots,"doc-after",{},void 0,!0)])])]),f(l.$slots,"doc-bottom",{},void 0,!0)],2)}}}),co=$(lo,[["__scopeId","data-v-1c9751e9"]]),uo=g({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(t){const e=t,n=I(()=>e.href&&et.test(e.href)),s=I(()=>e.tag||e.href?"a":"button");return(o,a)=>(i(),P(K(s.value),{class:D(["VPButton",[o.size,o.theme]]),href:o.href?r(xe)(o.href):void 0,target:e.target??(n.value?"_blank":void 0),rel:e.rel??(n.value?"noreferrer":void 0)},{default:v(()=>[J(V(o.text),1)]),_:1},8,["class","href","target","rel"]))}}),po=$(uo,[["__scopeId","data-v-885c0d42"]]),fo=["src","alt"],vo=g({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(t){return(e,n)=>{const s=re("VPImage",!0);return e.image?(i(),p(x,{key:0},[typeof e.image=="string"||"src"in e.image?(i(),p("img",ee({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:r(Be)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,fo)):(i(),p(x,{key:1},[S(s,ee({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),S(s,ee({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):b("",!0)}}}),me=$(vo,[["__scopeId","data-v-e2df84be"]]),ho=t=>(F("data-v-fad16c33"),t=t(),j(),t),_o={class:"container"},mo={class:"main"},go={key:0,class:"name"},bo=["innerHTML"],yo=["innerHTML"],ko=["innerHTML"],$o={key:0,class:"actions"},So={key:0,class:"image"},Po={class:"image-container"},wo=ho(()=>u("div",{class:"image-bg"},null,-1)),Lo=g({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(t){const e=de("hero-image-slot-exists");return(n,s)=>(i(),p("div",{class:D(["VPHero",{"has-image":n.image||r(e)}])},[u("div",_o,[u("div",mo,[f(n.$slots,"home-hero-info-before",{},void 0,!0),f(n.$slots,"home-hero-info",{},()=>[n.name?(i(),p("h1",go,[u("span",{innerHTML:n.name,class:"clip"},null,8,bo)])):b("",!0),n.text?(i(),p("p",{key:1,innerHTML:n.text,class:"text"},null,8,yo)):b("",!0),n.tagline?(i(),p("p",{key:2,innerHTML:n.tagline,class:"tagline"},null,8,ko)):b("",!0)],!0),f(n.$slots,"home-hero-info-after",{},void 0,!0),n.actions?(i(),p("div",$o,[(i(!0),p(x,null,z(n.actions,o=>(i(),p("div",{key:o.link,class:"action"},[S(po,{tag:"a",size:"medium",theme:o.theme,text:o.text,href:o.link,target:o.target,rel:o.rel},null,8,["theme","text","href","target","rel"])]))),128))])):b("",!0),f(n.$slots,"home-hero-actions-after",{},void 0,!0)]),n.image||r(e)?(i(),p("div",So,[u("div",Po,[wo,f(n.$slots,"home-hero-image",{},()=>[n.image?(i(),P(me,{key:0,class:"image-src",image:n.image},null,8,["image"])):b("",!0)],!0)])])):b("",!0)])],2))}}),Vo=$(Lo,[["__scopeId","data-v-fad16c33"]]),To=g({__name:"VPHomeHero",setup(t){const{frontmatter:e}=O();return(n,s)=>r(e).hero?(i(),P(Vo,{key:0,class:"VPHomeHero",name:r(e).hero.name,text:r(e).hero.text,tagline:r(e).hero.tagline,image:r(e).hero.image,actions:r(e).hero.actions},{"home-hero-info-before":v(()=>[f(n.$slots,"home-hero-info-before")]),"home-hero-info":v(()=>[f(n.$slots,"home-hero-info")]),"home-hero-info-after":v(()=>[f(n.$slots,"home-hero-info-after")]),"home-hero-actions-after":v(()=>[f(n.$slots,"home-hero-actions-after")]),"home-hero-image":v(()=>[f(n.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):b("",!0)}}),Io=t=>(F("data-v-cf4dac36"),t=t(),j(),t),No={class:"box"},Co={key:0,class:"icon"},Ao=["innerHTML"],Eo=["innerHTML"],Mo=["innerHTML"],Bo={key:4,class:"link-text"},Oo={class:"link-text-value"},Ho=Io(()=>u("span",{class:"vpi-arrow-right link-text-icon"},null,-1)),xo=g({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(t){return(e,n)=>(i(),P(q,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:v(()=>[u("article",No,[typeof e.icon=="object"&&e.icon.wrap?(i(),p("div",Co,[S(me,{image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])])):typeof e.icon=="object"?(i(),P(me,{key:1,image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])):e.icon?(i(),p("div",{key:2,class:"icon",innerHTML:e.icon},null,8,Ao)):b("",!0),u("h2",{class:"title",innerHTML:e.title},null,8,Eo),e.details?(i(),p("p",{key:3,class:"details",innerHTML:e.details},null,8,Mo)):b("",!0),e.linkText?(i(),p("div",Bo,[u("p",Oo,[J(V(e.linkText)+" ",1),Ho])])):b("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),Do=$(xo,[["__scopeId","data-v-cf4dac36"]]),Ro={key:0,class:"VPFeatures"},Fo={class:"container"},jo={class:"items"},Uo=g({__name:"VPFeatures",props:{features:{}},setup(t){const e=t,n=I(()=>{const s=e.features.length;if(s){if(s===2)return"grid-2";if(s===3)return"grid-3";if(s%3===0)return"grid-6";if(s>3)return"grid-4"}else return});return(s,o)=>s.features?(i(),p("div",Ro,[u("div",Fo,[u("div",jo,[(i(!0),p(x,null,z(s.features,a=>(i(),p("div",{key:a.title,class:D(["item",[n.value]])},[S(Do,{icon:a.icon,title:a.title,details:a.details,link:a.link,"link-text":a.linkText,rel:a.rel,target:a.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):b("",!0)}}),zo=$(Uo,[["__scopeId","data-v-ac35a1e4"]]),Go=g({__name:"VPHomeFeatures",setup(t){const{frontmatter:e}=O();return(n,s)=>r(e).features?(i(),P(zo,{key:0,class:"VPHomeFeatures",features:r(e).features},null,8,["features"])):b("",!0)}}),Wo=g({__name:"VPHomeContent",setup(t){const{width:e}=Mt({initialWidth:0,includeScrollbar:!1});return(n,s)=>(i(),p("div",{class:"vp-doc container",style:ke(r(e)?{"--vp-offset":`calc(50% - ${r(e)/2}px)`}:{})},[f(n.$slots,"default",{},void 0,!0)],4))}}),Ko=$(Wo,[["__scopeId","data-v-6adace40"]]),qo={class:"VPHome"},Jo=g({__name:"VPHome",setup(t){const{frontmatter:e}=O();return(n,s)=>{const o=re("Content");return i(),p("div",qo,[f(n.$slots,"home-hero-before",{},void 0,!0),S(To,null,{"home-hero-info-before":v(()=>[f(n.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":v(()=>[f(n.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":v(()=>[f(n.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":v(()=>[f(n.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":v(()=>[f(n.$slots,"home-hero-image",{},void 0,!0)]),_:3}),f(n.$slots,"home-hero-after",{},void 0,!0),f(n.$slots,"home-features-before",{},void 0,!0),S(Go),f(n.$slots,"home-features-after",{},void 0,!0),r(e).markdownStyles!==!1?(i(),P(Ko,{key:0},{default:v(()=>[S(o)]),_:1})):(i(),P(o,{key:1}))])}}}),Yo=$(Jo,[["__scopeId","data-v-da614b08"]]),Xo={},Qo={class:"VPPage"};function Zo(t,e){const n=re("Content");return i(),p("div",Qo,[f(t.$slots,"page-top"),S(n),f(t.$slots,"page-bottom")])}const es=$(Xo,[["render",Zo]]),ts=g({__name:"VPContent",setup(t){const{page:e,frontmatter:n}=O(),{hasSidebar:s}=X();return(o,a)=>(i(),p("div",{class:D(["VPContent",{"has-sidebar":r(s),"is-home":r(n).layout==="home"}]),id:"VPContent"},[r(e).isNotFound?f(o.$slots,"not-found",{key:0},()=>[S(cn)],!0):r(n).layout==="page"?(i(),P(es,{key:1},{"page-top":v(()=>[f(o.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[f(o.$slots,"page-bottom",{},void 0,!0)]),_:3})):r(n).layout==="home"?(i(),P(Yo,{key:2},{"home-hero-before":v(()=>[f(o.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":v(()=>[f(o.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":v(()=>[f(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":v(()=>[f(o.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":v(()=>[f(o.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":v(()=>[f(o.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[f(o.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[f(o.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[f(o.$slots,"home-features-after",{},void 0,!0)]),_:3})):r(n).layout&&r(n).layout!=="doc"?(i(),P(K(r(n).layout),{key:3})):(i(),P(co,{key:4},{"doc-top":v(()=>[f(o.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[f(o.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":v(()=>[f(o.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[f(o.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[f(o.$slots,"doc-after",{},void 0,!0)]),"aside-top":v(()=>[f(o.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":v(()=>[f(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[f(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[f(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[f(o.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":v(()=>[f(o.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),ns=$(ts,[["__scopeId","data-v-f70c28c5"]]),os={class:"container"},ss=["innerHTML"],as=["innerHTML"],rs=g({__name:"VPFooter",setup(t){const{theme:e,frontmatter:n}=O(),{hasSidebar:s}=X();return(o,a)=>r(e).footer&&r(n).footer!==!1?(i(),p("footer",{key:0,class:D(["VPFooter",{"has-sidebar":r(s)}])},[u("div",os,[r(e).footer.message?(i(),p("p",{key:0,class:"message",innerHTML:r(e).footer.message},null,8,ss)):b("",!0),r(e).footer.copyright?(i(),p("p",{key:1,class:"copyright",innerHTML:r(e).footer.copyright},null,8,as)):b("",!0)])],2)):b("",!0)}}),is=$(rs,[["__scopeId","data-v-1a52749f"]]);function ls(){const{theme:t,frontmatter:e}=O(),n=Ze([]),s=I(()=>n.value.length>0);return be(()=>{n.value=De(e.value.outline??t.value.outline)}),{headers:n,hasLocalNav:s}}const cs=t=>(F("data-v-c1bcce0a"),t=t(),j(),t),us={class:"menu-text"},ds=cs(()=>u("span",{class:"vpi-chevron-right icon"},null,-1)),ps={class:"header"},fs={class:"outline"},vs=g({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(t){const e=t,{theme:n}=O(),s=N(!1),o=N(0),a=N(),c=N();function l(_){var y;(y=a.value)!=null&&y.contains(_.target)||(s.value=!1)}Y(s,_=>{if(_){document.addEventListener("click",l);return}document.removeEventListener("click",l)}),Te("Escape",()=>{s.value=!1}),be(()=>{s.value=!1});function d(){s.value=!s.value,o.value=window.innerHeight+Math.min(window.scrollY-e.navHeight,0)}function h(_){_.target.classList.contains("outline-link")&&(c.value&&(c.value.style.transition="none"),Bt(()=>{s.value=!1}))}function m(){s.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(_,y)=>(i(),p("div",{class:"VPLocalNavOutlineDropdown",style:ke({"--vp-vh":o.value+"px"}),ref_key:"main",ref:a},[_.headers.length>0?(i(),p("button",{key:0,onClick:d,class:D({open:s.value})},[u("span",us,V(r(it)(r(n))),1),ds],2)):(i(),p("button",{key:1,onClick:m},V(r(n).returnToTopLabel||"Return to top"),1)),S(Me,{name:"flyout"},{default:v(()=>[s.value?(i(),p("div",{key:0,ref_key:"items",ref:c,class:"items",onClick:h},[u("div",ps,[u("a",{class:"top-link",href:"#",onClick:m},V(r(n).returnToTopLabel||"Return to top"),1)]),u("div",fs,[S(lt,{headers:_.headers},null,8,["headers"])])],512)):b("",!0)]),_:1})],4))}}),hs=$(vs,[["__scopeId","data-v-c1bcce0a"]]),_s=t=>(F("data-v-cb0eba99"),t=t(),j(),t),ms={class:"container"},gs=["aria-expanded"],bs=_s(()=>u("span",{class:"vpi-align-left menu-icon"},null,-1)),ys={class:"menu-text"},ks=g({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(t){const{theme:e,frontmatter:n}=O(),{hasSidebar:s}=X(),{headers:o}=ls(),{y:a}=tt(),c=N(0);te(()=>{c.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),be(()=>{o.value=De(n.value.outline??e.value.outline)});const l=I(()=>o.value.length===0),d=I(()=>l.value&&!s.value),h=I(()=>({VPLocalNav:!0,"has-sidebar":s.value,empty:l.value,fixed:d.value}));return(m,_)=>r(n).layout!=="home"&&(!d.value||r(a)>=c.value)?(i(),p("div",{key:0,class:D(h.value)},[u("div",ms,[r(s)?(i(),p("button",{key:0,class:"menu","aria-expanded":m.open,"aria-controls":"VPSidebarNav",onClick:_[0]||(_[0]=y=>m.$emit("open-menu"))},[bs,u("span",ys,V(r(e).sidebarMenuLabel||"Menu"),1)],8,gs)):b("",!0),S(hs,{headers:r(o),navHeight:c.value},null,8,["headers","navHeight"])])],2)):b("",!0)}}),$s=$(ks,[["__scopeId","data-v-cb0eba99"]]);function Ss(){const t=N(!1);function e(){t.value=!0,window.addEventListener("resize",o)}function n(){t.value=!1,window.removeEventListener("resize",o)}function s(){t.value?n():e()}function o(){window.outerWidth>=768&&n()}const a=ye();return Y(()=>a.path,n),{isScreenOpen:t,openScreen:e,closeScreen:n,toggleScreen:s}}const Ps={},ws={class:"VPSwitch",type:"button",role:"switch"},Ls={class:"check"},Vs={key:0,class:"icon"};function Ts(t,e){return i(),p("button",ws,[u("span",Ls,[t.$slots.default?(i(),p("span",Vs,[f(t.$slots,"default",{},void 0,!0)])):b("",!0)])])}const Is=$(Ps,[["render",Ts],["__scopeId","data-v-be0da757"]]),ut=t=>(F("data-v-d86ee44f"),t=t(),j(),t),Ns=ut(()=>u("span",{class:"vpi-sun sun"},null,-1)),Cs=ut(()=>u("span",{class:"vpi-moon moon"},null,-1)),As=g({__name:"VPSwitchAppearance",setup(t){const{isDark:e,theme:n}=O(),s=de("toggle-appearance",()=>{e.value=!e.value}),o=N("");return Oe(()=>{o.value=e.value?n.value.lightModeSwitchTitle||"Switch to light theme":n.value.darkModeSwitchTitle||"Switch to dark theme"}),(a,c)=>(i(),P(Is,{title:o.value,class:"VPSwitchAppearance","aria-checked":r(e),onClick:r(s)},{default:v(()=>[Ns,Cs]),_:1},8,["title","aria-checked","onClick"]))}}),Re=$(As,[["__scopeId","data-v-d86ee44f"]]),Es={key:0,class:"VPNavBarAppearance"},Ms=g({__name:"VPNavBarAppearance",setup(t){const{site:e}=O();return(n,s)=>r(e).appearance&&r(e).appearance!=="force-dark"&&r(e).appearance!=="force-auto"?(i(),p("div",Es,[S(Re)])):b("",!0)}}),Bs=$(Ms,[["__scopeId","data-v-06e253f6"]]),Fe=N();let dt=!1,Le=0;function Os(t){const e=N(!1);if($e){!dt&&Hs(),Le++;const n=Y(Fe,s=>{var o,a,c;s===t.el.value||(o=t.el.value)!=null&&o.contains(s)?(e.value=!0,(a=t.onFocus)==null||a.call(t)):(e.value=!1,(c=t.onBlur)==null||c.call(t))});ue(()=>{n(),Le--,Le||xs()})}return Ot(e)}function Hs(){document.addEventListener("focusin",pt),dt=!0,Fe.value=document.activeElement}function xs(){document.removeEventListener("focusin",pt)}function pt(){Fe.value=document.activeElement}const Ds={class:"VPMenuLink"},Rs=g({__name:"VPMenuLink",props:{item:{}},setup(t){const{page:e}=O();return(n,s)=>(i(),p("div",Ds,[S(q,{class:D({active:r(ae)(r(e).relativePath,n.item.activeMatch||n.item.link,!!n.item.activeMatch)}),href:n.item.link,target:n.item.target,rel:n.item.rel},{default:v(()=>[J(V(n.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),Se=$(Rs,[["__scopeId","data-v-01a82388"]]),Fs={class:"VPMenuGroup"},js={key:0,class:"title"},Us=g({__name:"VPMenuGroup",props:{text:{},items:{}},setup(t){return(e,n)=>(i(),p("div",Fs,[e.text?(i(),p("p",js,V(e.text),1)):b("",!0),(i(!0),p(x,null,z(e.items,s=>(i(),p(x,null,["link"in s?(i(),P(Se,{key:0,item:s},null,8,["item"])):b("",!0)],64))),256))]))}}),zs=$(Us,[["__scopeId","data-v-655b43d5"]]),Gs={class:"VPMenu"},Ws={key:0,class:"items"},Ks=g({__name:"VPMenu",props:{items:{}},setup(t){return(e,n)=>(i(),p("div",Gs,[e.items?(i(),p("div",Ws,[(i(!0),p(x,null,z(e.items,s=>(i(),p(x,{key:JSON.stringify(s)},["link"in s?(i(),P(Se,{key:0,item:s},null,8,["item"])):"component"in s?(i(),P(K(s.component),ee({key:1,ref_for:!0},s.props),null,16)):(i(),P(zs,{key:2,text:s.text,items:s.items},null,8,["text","items"]))],64))),128))])):b("",!0),f(e.$slots,"default",{},void 0,!0)]))}}),qs=$(Ks,[["__scopeId","data-v-ce2cf657"]]),Js=t=>(F("data-v-062a5734"),t=t(),j(),t),Ys=["aria-expanded","aria-label"],Xs={key:0,class:"text"},Qs=["innerHTML"],Zs=Js(()=>u("span",{class:"vpi-chevron-down text-icon"},null,-1)),ea={key:1,class:"vpi-more-horizontal icon"},ta={class:"menu"},na=g({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(t){const e=N(!1),n=N();Os({el:n,onBlur:s});function s(){e.value=!1}return(o,a)=>(i(),p("div",{class:"VPFlyout",ref_key:"el",ref:n,onMouseenter:a[1]||(a[1]=c=>e.value=!0),onMouseleave:a[2]||(a[2]=c=>e.value=!1)},[u("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":o.label,onClick:a[0]||(a[0]=c=>e.value=!e.value)},[o.button||o.icon?(i(),p("span",Xs,[o.icon?(i(),p("span",{key:0,class:D([o.icon,"option-icon"])},null,2)):b("",!0),o.button?(i(),p("span",{key:1,innerHTML:o.button},null,8,Qs)):b("",!0),Zs])):(i(),p("span",ea))],8,Ys),u("div",ta,[S(qs,{items:o.items},{default:v(()=>[f(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),je=$(na,[["__scopeId","data-v-062a5734"]]),oa=["href","aria-label","innerHTML"],sa=g({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(t){const e=t,n=I(()=>typeof e.icon=="object"?e.icon.svg:``);return(s,o)=>(i(),p("a",{class:"VPSocialLink no-icon",href:s.link,"aria-label":s.ariaLabel??(typeof s.icon=="string"?s.icon:""),target:"_blank",rel:"noopener",innerHTML:n.value},null,8,oa))}}),aa=$(sa,[["__scopeId","data-v-99aaa61b"]]),ra={class:"VPSocialLinks"},ia=g({__name:"VPSocialLinks",props:{links:{}},setup(t){return(e,n)=>(i(),p("div",ra,[(i(!0),p(x,null,z(e.links,({link:s,icon:o,ariaLabel:a})=>(i(),P(aa,{key:s,icon:o,link:s,ariaLabel:a},null,8,["icon","link","ariaLabel"]))),128))]))}}),Ue=$(ia,[["__scopeId","data-v-ca9cff1c"]]),la={key:0,class:"group translations"},ca={class:"trans-title"},ua={key:1,class:"group"},da={class:"item appearance"},pa={class:"label"},fa={class:"appearance-action"},va={key:2,class:"group"},ha={class:"item social-links"},_a=g({__name:"VPNavBarExtra",setup(t){const{site:e,theme:n}=O(),{localeLinks:s,currentLang:o}=pe({correspondingLink:!0}),a=I(()=>s.value.length&&o.value.label||e.value.appearance||n.value.socialLinks);return(c,l)=>a.value?(i(),P(je,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:v(()=>[r(s).length&&r(o).label?(i(),p("div",la,[u("p",ca,V(r(o).label),1),(i(!0),p(x,null,z(r(s),d=>(i(),P(Se,{key:d.link,item:d},null,8,["item"]))),128))])):b("",!0),r(e).appearance&&r(e).appearance!=="force-dark"&&r(e).appearance!=="force-auto"?(i(),p("div",ua,[u("div",da,[u("p",pa,V(r(n).darkModeSwitchLabel||"Appearance"),1),u("div",fa,[S(Re)])])])):b("",!0),r(n).socialLinks?(i(),p("div",va,[u("div",ha,[S(Ue,{class:"social-links-list",links:r(n).socialLinks},null,8,["links"])])])):b("",!0)]),_:1})):b("",!0)}}),ma=$(_a,[["__scopeId","data-v-cf308650"]]),ga=t=>(F("data-v-cdf5d88e"),t=t(),j(),t),ba=["aria-expanded"],ya=ga(()=>u("span",{class:"container"},[u("span",{class:"top"}),u("span",{class:"middle"}),u("span",{class:"bottom"})],-1)),ka=[ya],$a=g({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(t){return(e,n)=>(i(),p("button",{type:"button",class:D(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:n[0]||(n[0]=s=>e.$emit("click"))},ka,10,ba))}}),Sa=$($a,[["__scopeId","data-v-cdf5d88e"]]),Pa=["innerHTML"],wa=g({__name:"VPNavBarMenuLink",props:{item:{}},setup(t){const{page:e}=O();return(n,s)=>(i(),P(q,{class:D({VPNavBarMenuLink:!0,active:r(ae)(r(e).relativePath,n.item.activeMatch||n.item.link,!!n.item.activeMatch)}),href:n.item.link,noIcon:n.item.noIcon,target:n.item.target,rel:n.item.rel,tabindex:"0"},{default:v(()=>[u("span",{innerHTML:n.item.text},null,8,Pa)]),_:1},8,["class","href","noIcon","target","rel"]))}}),La=$(wa,[["__scopeId","data-v-2a328df5"]]),Va=g({__name:"VPNavBarMenuGroup",props:{item:{}},setup(t){const e=t,{page:n}=O(),s=a=>"component"in a?!1:"link"in a?ae(n.value.relativePath,a.link,!!e.item.activeMatch):a.items.some(s),o=I(()=>s(e.item));return(a,c)=>(i(),P(je,{class:D({VPNavBarMenuGroup:!0,active:r(ae)(r(n).relativePath,a.item.activeMatch,!!a.item.activeMatch)||o.value}),button:a.item.text,items:a.item.items},null,8,["class","button","items"]))}}),Ta=t=>(F("data-v-dc270a69"),t=t(),j(),t),Ia={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Na=Ta(()=>u("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),Ca=g({__name:"VPNavBarMenu",setup(t){const{theme:e}=O();return(n,s)=>r(e).nav?(i(),p("nav",Ia,[Na,(i(!0),p(x,null,z(r(e).nav,o=>(i(),p(x,{key:JSON.stringify(o)},["link"in o?(i(),P(La,{key:0,item:o},null,8,["item"])):"component"in o?(i(),P(K(o.component),ee({key:1,ref_for:!0},o.props),null,16)):(i(),P(Va,{key:2,item:o},null,8,["item"]))],64))),128))])):b("",!0)}}),Aa=$(Ca,[["__scopeId","data-v-dc270a69"]]);function Ea(t){const{localeIndex:e,theme:n}=O();function s(o){var T,E,k;const a=o.split("."),c=(T=n.value.search)==null?void 0:T.options,l=c&&typeof c=="object",d=l&&((k=(E=c.locales)==null?void 0:E[e.value])==null?void 0:k.translations)||null,h=l&&c.translations||null;let m=d,_=h,y=t;const C=a.pop();for(const U of a){let G=null;const Q=y==null?void 0:y[U];Q&&(G=y=Q);const ne=_==null?void 0:_[U];ne&&(G=_=ne);const Z=m==null?void 0:m[U];Z&&(G=m=Z),Q||(y=G),ne||(_=G),Z||(m=G)}return(m==null?void 0:m[C])??(_==null?void 0:_[C])??(y==null?void 0:y[C])??""}return s}const Ma=["aria-label"],Ba={class:"DocSearch-Button-Container"},Oa=u("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1),Ha={class:"DocSearch-Button-Placeholder"},xa=u("span",{class:"DocSearch-Button-Keys"},[u("kbd",{class:"DocSearch-Button-Key"}),u("kbd",{class:"DocSearch-Button-Key"},"K")],-1),Ke=g({__name:"VPNavBarSearchButton",setup(t){const n=Ea({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(s,o)=>(i(),p("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":r(n)("button.buttonAriaLabel")},[u("span",Ba,[Oa,u("span",Ha,V(r(n)("button.buttonText")),1)]),xa],8,Ma))}}),Da={class:"VPNavBarSearch"},Ra={id:"local-search"},Fa={key:1,id:"docsearch"},ja=g({__name:"VPNavBarSearch",setup(t){const e=Ht(()=>xt(()=>import("./VPLocalSearchBox.Bbjziijm.js"),__vite__mapDeps([0,1]))),n=()=>null,{theme:s}=O(),o=N(!1),a=N(!1);te(()=>{});function c(){o.value||(o.value=!0,setTimeout(l,16))}function l(){const _=new Event("keydown");_.key="k",_.metaKey=!0,window.dispatchEvent(_),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||l()},16)}function d(_){const y=_.target,C=y.tagName;return y.isContentEditable||C==="INPUT"||C==="SELECT"||C==="TEXTAREA"}const h=N(!1);Te("k",_=>{(_.ctrlKey||_.metaKey)&&(_.preventDefault(),h.value=!0)}),Te("/",_=>{d(_)||(_.preventDefault(),h.value=!0)});const m="local";return(_,y)=>{var C;return i(),p("div",Da,[r(m)==="local"?(i(),p(x,{key:0},[h.value?(i(),P(r(e),{key:0,onClose:y[0]||(y[0]=T=>h.value=!1)})):b("",!0),u("div",Ra,[S(Ke,{onClick:y[1]||(y[1]=T=>h.value=!0)})])],64)):r(m)==="algolia"?(i(),p(x,{key:1},[o.value?(i(),P(r(n),{key:0,algolia:((C=r(s).search)==null?void 0:C.options)??r(s).algolia,onVnodeBeforeMount:y[2]||(y[2]=T=>a.value=!0)},null,8,["algolia"])):b("",!0),a.value?b("",!0):(i(),p("div",Fa,[S(Ke,{onClick:c})]))],64)):b("",!0)])}}}),Ua=g({__name:"VPNavBarSocialLinks",setup(t){const{theme:e}=O();return(n,s)=>r(e).socialLinks?(i(),P(Ue,{key:0,class:"VPNavBarSocialLinks",links:r(e).socialLinks},null,8,["links"])):b("",!0)}}),za=$(Ua,[["__scopeId","data-v-489228c3"]]),Ga=["href","rel","target"],Wa={key:1},Ka={key:2},qa=g({__name:"VPNavBarTitle",setup(t){const{site:e,theme:n}=O(),{hasSidebar:s}=X(),{currentLang:o}=pe(),a=I(()=>{var d;return typeof n.value.logoLink=="string"?n.value.logoLink:(d=n.value.logoLink)==null?void 0:d.link}),c=I(()=>{var d;return typeof n.value.logoLink=="string"||(d=n.value.logoLink)==null?void 0:d.rel}),l=I(()=>{var d;return typeof n.value.logoLink=="string"||(d=n.value.logoLink)==null?void 0:d.target});return(d,h)=>(i(),p("div",{class:D(["VPNavBarTitle",{"has-sidebar":r(s)}])},[u("a",{class:"title",href:a.value??r(xe)(r(o).link),rel:c.value,target:l.value},[f(d.$slots,"nav-bar-title-before",{},void 0,!0),r(n).logo?(i(),P(me,{key:0,class:"logo",image:r(n).logo},null,8,["image"])):b("",!0),r(n).siteTitle?(i(),p("span",Wa,V(r(n).siteTitle),1)):r(n).siteTitle===void 0?(i(),p("span",Ka,V(r(e).title),1)):b("",!0),f(d.$slots,"nav-bar-title-after",{},void 0,!0)],8,Ga)],2))}}),Ja=$(qa,[["__scopeId","data-v-d1e2cfaa"]]),Ya={class:"items"},Xa={class:"title"},Qa=g({__name:"VPNavBarTranslations",setup(t){const{theme:e}=O(),{localeLinks:n,currentLang:s}=pe({correspondingLink:!0});return(o,a)=>r(n).length&&r(s).label?(i(),P(je,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:r(e).langMenuLabel||"Change language"},{default:v(()=>[u("div",Ya,[u("p",Xa,V(r(s).label),1),(i(!0),p(x,null,z(r(n),c=>(i(),P(Se,{key:c.link,item:c},null,8,["item"]))),128))])]),_:1},8,["label"])):b("",!0)}}),Za=$(Qa,[["__scopeId","data-v-1cf30254"]]),er=t=>(F("data-v-6db865c9"),t=t(),j(),t),tr={class:"wrapper"},nr={class:"container"},or={class:"title"},sr={class:"content"},ar={class:"content-body"},rr=er(()=>u("div",{class:"divider"},[u("div",{class:"divider-line"})],-1)),ir=g({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(t){const e=t,{y:n}=tt(),{hasSidebar:s}=X(),{frontmatter:o}=O(),a=N({});return Oe(()=>{a.value={"has-sidebar":s.value,home:o.value.layout==="home",top:n.value===0,"screen-open":e.isScreenOpen}}),(c,l)=>(i(),p("div",{class:D(["VPNavBar",a.value])},[u("div",tr,[u("div",nr,[u("div",or,[S(Ja,null,{"nav-bar-title-before":v(()=>[f(c.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[f(c.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),u("div",sr,[u("div",ar,[f(c.$slots,"nav-bar-content-before",{},void 0,!0),S(ja,{class:"search"}),S(Aa,{class:"menu"}),S(Za,{class:"translations"}),S(Bs,{class:"appearance"}),S(za,{class:"social-links"}),S(ma,{class:"extra"}),f(c.$slots,"nav-bar-content-after",{},void 0,!0),S(Sa,{class:"hamburger",active:c.isScreenOpen,onClick:l[0]||(l[0]=d=>c.$emit("toggle-screen"))},null,8,["active"])])])])]),rr],2))}}),lr=$(ir,[["__scopeId","data-v-6db865c9"]]),cr={key:0,class:"VPNavScreenAppearance"},ur={class:"text"},dr=g({__name:"VPNavScreenAppearance",setup(t){const{site:e,theme:n}=O();return(s,o)=>r(e).appearance&&r(e).appearance!=="force-dark"&&r(e).appearance!=="force-auto"?(i(),p("div",cr,[u("p",ur,V(r(n).darkModeSwitchLabel||"Appearance"),1),S(Re)])):b("",!0)}}),pr=$(dr,[["__scopeId","data-v-d86aab40"]]),fr=g({__name:"VPNavScreenMenuLink",props:{item:{}},setup(t){const e=de("close-screen");return(n,s)=>(i(),P(q,{class:"VPNavScreenMenuLink",href:n.item.link,target:n.item.target,rel:n.item.rel,onClick:r(e),innerHTML:n.item.text},null,8,["href","target","rel","onClick","innerHTML"]))}}),vr=$(fr,[["__scopeId","data-v-a0f676ea"]]),hr=g({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(t){const e=de("close-screen");return(n,s)=>(i(),P(q,{class:"VPNavScreenMenuGroupLink",href:n.item.link,target:n.item.target,rel:n.item.rel,onClick:r(e)},{default:v(()=>[J(V(n.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),ft=$(hr,[["__scopeId","data-v-63dc5c8c"]]),_r={class:"VPNavScreenMenuGroupSection"},mr={key:0,class:"title"},gr=g({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(t){return(e,n)=>(i(),p("div",_r,[e.text?(i(),p("p",mr,V(e.text),1)):b("",!0),(i(!0),p(x,null,z(e.items,s=>(i(),P(ft,{key:s.text,item:s},null,8,["item"]))),128))]))}}),br=$(gr,[["__scopeId","data-v-e26000b6"]]),yr=t=>(F("data-v-2d86c186"),t=t(),j(),t),kr=["aria-controls","aria-expanded"],$r=["innerHTML"],Sr=yr(()=>u("span",{class:"vpi-plus button-icon"},null,-1)),Pr=["id"],wr={key:0,class:"item"},Lr={key:1,class:"item"},Vr={key:2,class:"group"},Tr=g({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(t){const e=t,n=N(!1),s=I(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function o(){n.value=!n.value}return(a,c)=>(i(),p("div",{class:D(["VPNavScreenMenuGroup",{open:n.value}])},[u("button",{class:"button","aria-controls":s.value,"aria-expanded":n.value,onClick:o},[u("span",{class:"button-text",innerHTML:a.text},null,8,$r),Sr],8,kr),u("div",{id:s.value,class:"items"},[(i(!0),p(x,null,z(a.items,l=>(i(),p(x,{key:JSON.stringify(l)},["link"in l?(i(),p("div",wr,[S(ft,{item:l},null,8,["item"])])):"component"in l?(i(),p("div",Lr,[(i(),P(K(l.component),ee({ref_for:!0},l.props,{"screen-menu":""}),null,16))])):(i(),p("div",Vr,[S(br,{text:l.text,items:l.items},null,8,["text","items"])]))],64))),128))],8,Pr)],2))}}),Ir=$(Tr,[["__scopeId","data-v-2d86c186"]]),Nr={key:0,class:"VPNavScreenMenu"},Cr=g({__name:"VPNavScreenMenu",setup(t){const{theme:e}=O();return(n,s)=>r(e).nav?(i(),p("nav",Nr,[(i(!0),p(x,null,z(r(e).nav,o=>(i(),p(x,{key:JSON.stringify(o)},["link"in o?(i(),P(vr,{key:0,item:o},null,8,["item"])):"component"in o?(i(),P(K(o.component),ee({key:1,ref_for:!0},o.props,{"screen-menu":""}),null,16)):(i(),P(Ir,{key:2,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):b("",!0)}}),Ar=g({__name:"VPNavScreenSocialLinks",setup(t){const{theme:e}=O();return(n,s)=>r(e).socialLinks?(i(),P(Ue,{key:0,class:"VPNavScreenSocialLinks",links:r(e).socialLinks},null,8,["links"])):b("",!0)}}),vt=t=>(F("data-v-66e76a18"),t=t(),j(),t),Er=vt(()=>u("span",{class:"vpi-languages icon lang"},null,-1)),Mr=vt(()=>u("span",{class:"vpi-chevron-down icon chevron"},null,-1)),Br={class:"list"},Or=g({__name:"VPNavScreenTranslations",setup(t){const{localeLinks:e,currentLang:n}=pe({correspondingLink:!0}),s=N(!1);function o(){s.value=!s.value}return(a,c)=>r(e).length&&r(n).label?(i(),p("div",{key:0,class:D(["VPNavScreenTranslations",{open:s.value}])},[u("button",{class:"title",onClick:o},[Er,J(" "+V(r(n).label)+" ",1),Mr]),u("ul",Br,[(i(!0),p(x,null,z(r(e),l=>(i(),p("li",{key:l.link,class:"item"},[S(q,{class:"link",href:l.link},{default:v(()=>[J(V(l.text),1)]),_:2},1032,["href"])]))),128))])],2)):b("",!0)}}),Hr=$(Or,[["__scopeId","data-v-66e76a18"]]),xr={class:"container"},Dr=g({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(t){const e=N(null),n=nt($e?document.body:null);return(s,o)=>(i(),P(Me,{name:"fade",onEnter:o[0]||(o[0]=a=>n.value=!0),onAfterLeave:o[1]||(o[1]=a=>n.value=!1)},{default:v(()=>[s.open?(i(),p("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e,id:"VPNavScreen"},[u("div",xr,[f(s.$slots,"nav-screen-content-before",{},void 0,!0),S(Cr,{class:"menu"}),S(Hr,{class:"translations"}),S(pr,{class:"appearance"}),S(Ar,{class:"social-links"}),f(s.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):b("",!0)]),_:3}))}}),Rr=$(Dr,[["__scopeId","data-v-3ff2bb85"]]),Fr={key:0,class:"VPNav"},jr=g({__name:"VPNav",setup(t){const{isScreenOpen:e,closeScreen:n,toggleScreen:s}=Ss(),{frontmatter:o}=O(),a=I(()=>o.value.navbar!==!1);return ot("close-screen",n),ge(()=>{$e&&document.documentElement.classList.toggle("hide-nav",!a.value)}),(c,l)=>a.value?(i(),p("header",Fr,[S(lr,{"is-screen-open":r(e),onToggleScreen:r(s)},{"nav-bar-title-before":v(()=>[f(c.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[f(c.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[f(c.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[f(c.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),S(Rr,{open:r(e)},{"nav-screen-content-before":v(()=>[f(c.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[f(c.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):b("",!0)}}),Ur=$(jr,[["__scopeId","data-v-3aff48bd"]]),ht=t=>(F("data-v-fe6d72fb"),t=t(),j(),t),zr=["role","tabindex"],Gr=ht(()=>u("div",{class:"indicator"},null,-1)),Wr=ht(()=>u("span",{class:"vpi-chevron-right caret-icon"},null,-1)),Kr=[Wr],qr={key:1,class:"items"},Jr=g({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(t){const e=t,{collapsed:n,collapsible:s,isLink:o,isActiveLink:a,hasActiveLink:c,hasChildren:l,toggle:d}=fn(I(()=>e.item)),h=I(()=>l.value?"section":"div"),m=I(()=>o.value?"a":"div"),_=I(()=>l.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),y=I(()=>o.value?void 0:"button"),C=I(()=>[[`level-${e.depth}`],{collapsible:s.value},{collapsed:n.value},{"is-link":o.value},{"is-active":a.value},{"has-active":c.value}]);function T(k){"key"in k&&k.key!=="Enter"||!e.item.link&&d()}function E(){e.item.link&&d()}return(k,U)=>{const G=re("VPSidebarItem",!0);return i(),P(K(h.value),{class:D(["VPSidebarItem",C.value])},{default:v(()=>[k.item.text?(i(),p("div",ee({key:0,class:"item",role:y.value},Dt(k.item.items?{click:T,keydown:T}:{},!0),{tabindex:k.item.items&&0}),[Gr,k.item.link?(i(),P(q,{key:0,tag:m.value,class:"link",href:k.item.link,rel:k.item.rel,target:k.item.target},{default:v(()=>[(i(),P(K(_.value),{class:"text",innerHTML:k.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(i(),P(K(_.value),{key:1,class:"text",innerHTML:k.item.text},null,8,["innerHTML"])),k.item.collapsed!=null&&k.item.items&&k.item.items.length?(i(),p("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:E,onKeydown:Rt(E,["enter"]),tabindex:"0"},Kr,32)):b("",!0)],16,zr)):b("",!0),k.item.items&&k.item.items.length?(i(),p("div",qr,[k.depth<5?(i(!0),p(x,{key:0},z(k.item.items,Q=>(i(),P(G,{key:Q.text,item:Q,depth:k.depth+1},null,8,["item","depth"]))),128)):b("",!0)])):b("",!0)]),_:1},8,["class"])}}}),Yr=$(Jr,[["__scopeId","data-v-fe6d72fb"]]),Xr=g({__name:"VPSidebarGroup",props:{items:{}},setup(t){const e=N(!0);let n=null;return te(()=>{n=setTimeout(()=>{n=null,e.value=!1},300)}),Ft(()=>{n!=null&&(clearTimeout(n),n=null)}),(s,o)=>(i(!0),p(x,null,z(s.items,a=>(i(),p("div",{key:a.text,class:D(["group",{"no-transition":e.value}])},[S(Yr,{item:a,depth:0},null,8,["item"])],2))),128))}}),Qr=$(Xr,[["__scopeId","data-v-1e9a5d2e"]]),_t=t=>(F("data-v-bc2dce68"),t=t(),j(),t),Zr=_t(()=>u("div",{class:"curtain"},null,-1)),ei={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},ti=_t(()=>u("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),ni=g({__name:"VPSidebar",props:{open:{type:Boolean}},setup(t){const{sidebarGroups:e,hasSidebar:n}=X(),s=t,o=N(null),a=nt($e?document.body:null);Y([s,o],()=>{var l;s.open?(a.value=!0,(l=o.value)==null||l.focus()):a.value=!1},{immediate:!0,flush:"post"});const c=N(0);return Y(e,()=>{c.value+=1},{deep:!0}),(l,d)=>r(n)?(i(),p("aside",{key:0,class:D(["VPSidebar",{open:l.open}]),ref_key:"navEl",ref:o,onClick:d[0]||(d[0]=st(()=>{},["stop"]))},[Zr,u("nav",ei,[ti,f(l.$slots,"sidebar-nav-before",{},void 0,!0),(i(),P(Qr,{items:r(e),key:c.value},null,8,["items"])),f(l.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):b("",!0)}}),oi=$(ni,[["__scopeId","data-v-bc2dce68"]]),si=g({__name:"VPSkipLink",setup(t){const e=ye(),n=N();Y(()=>e.path,()=>n.value.focus());function s({target:o}){const a=document.getElementById(decodeURIComponent(o.hash).slice(1));if(a){const c=()=>{a.removeAttribute("tabindex"),a.removeEventListener("blur",c)};a.setAttribute("tabindex","-1"),a.addEventListener("blur",c),a.focus(),window.scrollTo(0,0)}}return(o,a)=>(i(),p(x,null,[u("span",{ref_key:"backToTop",ref:n,tabindex:"-1"},null,512),u("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:s}," Skip to content ")],64))}}),ai=$(si,[["__scopeId","data-v-5ffb6bc3"]]),ri=g({__name:"Layout",setup(t){const{isOpen:e,open:n,close:s}=X(),o=ye();Y(()=>o.path,s),pn(e,s);const{frontmatter:a}=O(),c=jt(),l=I(()=>!!c["home-hero-image"]);return ot("hero-image-slot-exists",l),(d,h)=>{const m=re("Content");return r(a).layout!==!1?(i(),p("div",{key:0,class:D(["Layout",r(a).pageClass])},[f(d.$slots,"layout-top",{},void 0,!0),S(ai),S(Yt,{class:"backdrop",show:r(e),onClick:r(s)},null,8,["show","onClick"]),S(Ur,null,{"nav-bar-title-before":v(()=>[f(d.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[f(d.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[f(d.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[f(d.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":v(()=>[f(d.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[f(d.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),S($s,{open:r(e),onOpenMenu:r(n)},null,8,["open","onOpenMenu"]),S(oi,{open:r(e)},{"sidebar-nav-before":v(()=>[f(d.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":v(()=>[f(d.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),S(ns,null,{"page-top":v(()=>[f(d.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[f(d.$slots,"page-bottom",{},void 0,!0)]),"not-found":v(()=>[f(d.$slots,"not-found",{},void 0,!0)]),"home-hero-before":v(()=>[f(d.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":v(()=>[f(d.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":v(()=>[f(d.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":v(()=>[f(d.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":v(()=>[f(d.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":v(()=>[f(d.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[f(d.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[f(d.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[f(d.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":v(()=>[f(d.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[f(d.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[f(d.$slots,"doc-after",{},void 0,!0)]),"doc-top":v(()=>[f(d.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[f(d.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":v(()=>[f(d.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[f(d.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[f(d.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[f(d.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[f(d.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[f(d.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),S(is),f(d.$slots,"layout-bottom",{},void 0,!0)],2)):(i(),P(m,{key:1}))}}}),ii=$(ri,[["__scopeId","data-v-5047c77d"]]),mt={Layout:ii,enhanceApp:({app:t})=>{t.component("Badge",Kt)}},ze="LiteyukiStudio",Ge="LiteyukiBot",li="https://api.github.com",ci="https://git.liteyuki.icu/api/v1",ui="https://api.liteyuki.icu/online",di="https://api.liteyuki.icu/count",pi="https://api.liteyuki.icu/visit",fi="https://api.liteyuki.icu/visit_count",le=`https://github.com/${ze}/${Ge}`,qe="https://starmap.liteyuki.icu";async function vi(){try{const t=`${ci}/repos/${ze}/${Ge}`;console.log(t);const n=await(await fetch(t)).json();return{stars:n.stars_count,forks:n.forks_count,watchers:n.watchers_count,issues:0,prs:0,size:n.size}}catch{return{stars:-1,forks:-1,watchers:-1,issues:-1,prs:-1,size:-1}}}async function hi(){try{const e=await(await fetch(`${li}/repos/${ze}/${Ge}`)).json();return{stars:e.stargazers_count,forks:e.forks_count,watchers:e.watchers_count,issues:e.open_issues_count,prs:e.open_issues_count,size:e.size}}catch{return{stars:-1,forks:-1,watchers:-1,issues:-1,prs:-1,size:-1}}}async function _i(){const t=await hi(),e=await vi();return{stars:t.stars+e.stars,forks:t.forks+e.forks,watchers:t.watchers+e.watchers,issues:t.issues+e.issues,prs:t.prs+e.prs,size:t.size+e.size}}const ie={getTotal:async()=>{try{return(await(await fetch(di)).json()).register}catch{return-1}},getOnline:async()=>{try{return(await(await fetch(ui)).json()).online}catch{return-1}},getGithubStats:_i,getPluginNum:async()=>{try{return(await(await fetch("/plugins.json")).json()).length}catch{return-1}},getResourceNum:async()=>{try{return(await(await fetch("/resources.json")).json()).length}catch{return-1}},getVisitCount:async()=>{try{return(await(await fetch(fi)).json()).count}catch{return-1}}};function mi(){const t="deviceId";let e=localStorage.getItem(t);return e||(e=bi(),localStorage.setItem(t,e)),e}async function gi(){const t=mi();try{await fetch(pi,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({device_id:t}).toString()})}catch(e){console.error("Failed to upload visit record:",e)}}function bi(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=Math.random()*16|0,n=t==="x"?e:e&3|8;return n.toString(16)})}/*! * vue-router v4.4.3 * (c) 2024 Eduardo San Martin Morote * @license MIT */var Je;(function(t){t.pop="pop",t.push="push"})(Je||(Je={}));var Ye;(function(t){t.back="back",t.forward="forward",t.unknown=""})(Ye||(Ye={}));var Xe;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(Xe||(Xe={}));const yi=Symbol("");function ki(t,e,n){const s=()=>{t[e].delete(n)};ue(s),Ut(s),zt(()=>{t[e].add(n)}),t[e].add(n)}function $i(t){const e=de(yi,{}).value;e&&ki(e,"updateGuards",t)}const Si=t=>(F("data-v-2391887b"),t=t(),j(),t),Pi={class:"stats-bar-content"},wi={class:"stats-bar"},Li={class:"stats-info"},Vi={class:"stats-title"},Ti={class:"sections"},Ii=["href"],Ni={class:"section-tab"},Ci={class:"text"},Ai={class:"number"},Ei=Si(()=>u("div",{class:"starmap"},[u("iframe",{src:"https://starmap.liteyuki.icu/",width:"100%",height:"300px",class:"gamma"})],-1)),Mi=g({__name:"StatsBar",setup(t){const{Layout:e}=mt;let n=null;const s={total:{name:"total",color:"#00a6ff",value:N(-1),link:qe},online:{name:"online",color:"#7eff7e",value:N(-1),link:qe},stars:{name:"stars",color:"#ffcc00",value:N(-1),link:`${le}/stargazers`},forks:{name:"forks",color:"#ff6600",value:N(-1),link:`${le}/forks`},issues:{name:"issues",color:"#ff0000",value:N(-1),link:`${le}/issues`},prs:{name:"prs",color:"#f15df1",value:N(-1),link:`${le}/pulls`},plugins:{name:"plugins",color:"#a766ff",value:N(-1),link:"./store/plugin"},resources:{name:"resources",color:"#5a54fa",value:N(-1),link:"./store/resource"},visitors:{name:"visitors",color:"#00a6ff",value:N(-1),link:le}};async function o(){[s.online.value.value,s.total.value.value,s.plugins.value.value,s.resources.value.value,s.visitors.value.value,n]=await Promise.all([ie.getOnline(),ie.getTotal(),ie.getPluginNum(),ie.getResourceNum(),ie.getVisitCount(),ie.getGithubStats()]),s.stars.value.value=(n==null?void 0:n.stars)||0,s.forks.value.value=(n==null?void 0:n.forks)||0,s.issues.value.value=(n==null?void 0:n.issues)||0,s.prs.value.value=(n==null?void 0:n.prs)||0}function a(c){return c.value.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")}return te(()=>{const c=setInterval(o,1e4);o(),gi(),ue(()=>{clearInterval(c)})}),$i(()=>{Wt()}),console.log(` _ _ _ _ _ ____ _ | | (_) | | | (_) _ \\ | | | | _| |_ ___ _ _ _ _| | ___| |_) | ___ | |_ | | | | __/ _ \\ | | | | | | |/ / | _ < / _ \\| __| | |____| | || __/ |_| | |_| | <| | |_) | (_) | |_ |______|_|\\__\\___|\\__, |\\__,_|_|\\_\\_|____/ \\___/ \\__| __/ | |___/ `),console.log(R("easterEgg")),(c,l)=>(i(),P(r(e),null,{"home-features-before":v(()=>[u("div",Pi,[u("div",wi,[u("div",Li,[u("div",Vi,V(r(R)("stats")),1),u("div",Ti,[(i(!0),p(x,null,z(Object.values(s),d=>(i(),p("div",{key:d.name,class:"section"},[u("a",{href:d.link,target:"_blank"},[u("div",Ni,[u("span",{class:"dot",style:ke({backgroundColor:d.color})},null,4),u("span",Ci,V(r(R)(d.name)),1)]),u("div",Ai,V(a(d.value)),1)],8,Ii)]))),128))])]),Ei])])]),_:1}))}}),Qe=$(Mi,[["__scopeId","data-v-2391887b"]]);var Bi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Oi(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var gt={exports:{}};/*! * clipboard.js v2.0.11 * https://clipboardjs.com/ * * Licensed MIT © Zeno Rocha */(function(t,e){(function(s,o){t.exports=o()})(Bi,function(){return function(){var n={686:function(a,c,l){l.d(c,{default:function(){return It}});var d=l(279),h=l.n(d),m=l(370),_=l.n(m),y=l(817),C=l.n(y);function T(B){try{return document.execCommand(B)}catch{return!1}}var E=function(L){var w=C()(L);return T("cut"),w},k=E;function U(B){var L=document.documentElement.getAttribute("dir")==="rtl",w=document.createElement("textarea");w.style.fontSize="12pt",w.style.border="0",w.style.padding="0",w.style.margin="0",w.style.position="absolute",w.style[L?"right":"left"]="-9999px";var A=window.pageYOffset||document.documentElement.scrollTop;return w.style.top="".concat(A,"px"),w.setAttribute("readonly",""),w.value=B,w}var G=function(L,w){var A=U(L);w.container.appendChild(A);var M=C()(A);return T("copy"),A.remove(),M},Q=function(L){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},A="";return typeof L=="string"?A=G(L,w):L instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(L==null?void 0:L.type)?A=G(L.value,w):(A=C()(L),T("copy")),A},ne=Q;function Z(B){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Z=function(w){return typeof w}:Z=function(w){return w&&typeof Symbol=="function"&&w.constructor===Symbol&&w!==Symbol.prototype?"symbol":typeof w},Z(B)}var bt=function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},w=L.action,A=w===void 0?"copy":w,M=L.container,H=L.target,W=L.text;if(A!=="copy"&&A!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(H!==void 0)if(H&&Z(H)==="object"&&H.nodeType===1){if(A==="copy"&&H.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(A==="cut"&&(H.hasAttribute("readonly")||H.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(W)return ne(W,{container:M});if(H)return A==="cut"?k(H):ne(H,{container:M})},yt=bt;function ce(B){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ce=function(w){return typeof w}:ce=function(w){return w&&typeof Symbol=="function"&&w.constructor===Symbol&&w!==Symbol.prototype?"symbol":typeof w},ce(B)}function kt(B,L){if(!(B instanceof L))throw new TypeError("Cannot call a class as a function")}function We(B,L){for(var w=0;w"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function fe(B){return fe=Object.setPrototypeOf?Object.getPrototypeOf:function(w){return w.__proto__||Object.getPrototypeOf(w)},fe(B)}function we(B,L){var w="data-clipboard-".concat(B);if(L.hasAttribute(w))return L.getAttribute(w)}var Tt=function(B){St(w,B);var L=Pt(w);function w(A,M){var H;return kt(this,w),H=L.call(this),H.resolveOptions(M),H.listenClick(A),H}return $t(w,[{key:"resolveOptions",value:function(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof M.action=="function"?M.action:this.defaultAction,this.target=typeof M.target=="function"?M.target:this.defaultTarget,this.text=typeof M.text=="function"?M.text:this.defaultText,this.container=ce(M.container)==="object"?M.container:document.body}},{key:"listenClick",value:function(M){var H=this;this.listener=_()(M,"click",function(W){return H.onClick(W)})}},{key:"onClick",value:function(M){var H=M.delegateTarget||M.currentTarget,W=this.action(H)||"copy",ve=yt({action:W,container:this.container,target:this.target(H),text:this.text(H)});this.emit(ve?"success":"error",{action:W,text:ve,trigger:H,clearSelection:function(){H&&H.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(M){return we("action",M)}},{key:"defaultTarget",value:function(M){var H=we("target",M);if(H)return document.querySelector(H)}},{key:"defaultText",value:function(M){return we("text",M)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(M){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return ne(M,H)}},{key:"cut",value:function(M){return k(M)}},{key:"isSupported",value:function(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],H=typeof M=="string"?[M]:M,W=!!document.queryCommandSupported;return H.forEach(function(ve){W=W&&!!document.queryCommandSupported(ve)}),W}}]),w}(h()),It=Tt},828:function(a){var c=9;if(typeof Element<"u"&&!Element.prototype.matches){var l=Element.prototype;l.matches=l.matchesSelector||l.mozMatchesSelector||l.msMatchesSelector||l.oMatchesSelector||l.webkitMatchesSelector}function d(h,m){for(;h&&h.nodeType!==c;){if(typeof h.matches=="function"&&h.matches(m))return h;h=h.parentNode}}a.exports=d},438:function(a,c,l){var d=l(828);function h(y,C,T,E,k){var U=_.apply(this,arguments);return y.addEventListener(T,U,k),{destroy:function(){y.removeEventListener(T,U,k)}}}function m(y,C,T,E,k){return typeof y.addEventListener=="function"?h.apply(null,arguments):typeof T=="function"?h.bind(null,document).apply(null,arguments):(typeof y=="string"&&(y=document.querySelectorAll(y)),Array.prototype.map.call(y,function(U){return h(U,C,T,E,k)}))}function _(y,C,T,E){return function(k){k.delegateTarget=d(k.target,C),k.delegateTarget&&E.call(y,k)}}a.exports=m},879:function(a,c){c.node=function(l){return l!==void 0&&l instanceof HTMLElement&&l.nodeType===1},c.nodeList=function(l){var d=Object.prototype.toString.call(l);return l!==void 0&&(d==="[object NodeList]"||d==="[object HTMLCollection]")&&"length"in l&&(l.length===0||c.node(l[0]))},c.string=function(l){return typeof l=="string"||l instanceof String},c.fn=function(l){var d=Object.prototype.toString.call(l);return d==="[object Function]"}},370:function(a,c,l){var d=l(879),h=l(438);function m(T,E,k){if(!T&&!E&&!k)throw new Error("Missing required arguments");if(!d.string(E))throw new TypeError("Second argument must be a String");if(!d.fn(k))throw new TypeError("Third argument must be a Function");if(d.node(T))return _(T,E,k);if(d.nodeList(T))return y(T,E,k);if(d.string(T))return C(T,E,k);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function _(T,E,k){return T.addEventListener(E,k),{destroy:function(){T.removeEventListener(E,k)}}}function y(T,E,k){return Array.prototype.forEach.call(T,function(U){U.addEventListener(E,k)}),{destroy:function(){Array.prototype.forEach.call(T,function(U){U.removeEventListener(E,k)})}}}function C(T,E,k){return h(document.body,T,E,k)}a.exports=m},817:function(a){function c(l){var d;if(l.nodeName==="SELECT")l.focus(),d=l.value;else if(l.nodeName==="INPUT"||l.nodeName==="TEXTAREA"){var h=l.hasAttribute("readonly");h||l.setAttribute("readonly",""),l.select(),l.setSelectionRange(0,l.value.length),h||l.removeAttribute("readonly"),d=l.value}else{l.hasAttribute("contenteditable")&&l.focus();var m=window.getSelection(),_=document.createRange();_.selectNodeContents(l),m.removeAllRanges(),m.addRange(_),d=m.toString()}return d}a.exports=c},279:function(a){function c(){}c.prototype={on:function(l,d,h){var m=this.e||(this.e={});return(m[l]||(m[l]=[])).push({fn:d,ctx:h}),this},once:function(l,d,h){var m=this;function _(){m.off(l,_),d.apply(h,arguments)}return _._=d,this.on(l,_,h)},emit:function(l){var d=[].slice.call(arguments,1),h=((this.e||(this.e={}))[l]||[]).slice(),m=0,_=h.length;for(m;m<_;m++)h[m].fn.apply(h[m].ctx,d);return this},off:function(l,d){var h=this.e||(this.e={}),m=h[l],_=[];if(m&&d)for(var y=0,C=m.length;y(F("data-v-47fec8ad"),t=t(),j(),t),Ri={class:"item-card"},Fi={class:"item-name"},ji={class:"item-description"},Ui={class:"tags"},zi={class:"item-bar"},Gi=["href"],Wi=Di(()=>u("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},[u("path",{fill:"currentColor",d:"m7.775 3.275l1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0a.751.751 0 0 1 .018-1.042a.751.751 0 0 1 1.042-.018a1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018a.751.751 0 0 1-.018-1.042m-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018a.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0a.751.751 0 0 1-.018 1.042a.751.751 0 0 1-1.042.018a1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83"})],-1)),Ki=[Wi],qi={class:"btn"},Ji=["href"],Yi=["src"],Xi={class:"author-name"},Qi=g({__name:"PluginItemCard",props:{item:Object},setup(t){const e=t,n=()=>{const o=new xi(".copy-btn",{text:()=>`npm install ${e.item.module_name}`});o.on("success",()=>{}),o.on("error",()=>{})},s=o=>{const a=o.replace(/^#/,""),[c,l,d]=a.match(/.{2}/g).map(m=>parseInt(m,16)),h=(c*299+l*587+d*114)/1e3;return{backgroundColor:o,color:h>128?"#000":"#fff"}};return(o,a)=>(i(),p("div",Ri,[u("div",Fi,V(e.item.name),1),u("div",ji,V(e.item.desc),1),u("div",Ui,[(i(!0),p(x,null,z(e.item.tags,c=>(i(),p("span",{class:"tag",key:c,style:ke(s(c.color))},V(c.label),5))),128))]),u("div",zi,[u("a",{href:e.item.homepage,class:"btn"},Ki,8,Gi),u("button",{class:"btn copy-btn",onClick:n},"复制安装命令"),u("div",qi,[u("a",{class:"author-info",href:`https://github.com/${e.item.author}`},[u("img",{class:"icon avatar",src:`https://github.com/${e.item.author}.png?size=80`,alt:""},null,8,Yi),u("div",Xi,V(e.item.author),1)],8,Ji)])])]))}}),Zi=$(Qi,[["__scopeId","data-v-47fec8ad"]]),el=t=>(F("data-v-b3db11d1"),t=t(),j(),t),tl={class:"switch"},nl=["checked"],ol=el(()=>u("span",{class:"slider round"},null,-1)),sl=g({__name:"ToggleSwitch",props:{modelValue:Boolean},emits:["update:modelValue"],setup(t,{emit:e}){const n=e,s=o=>{n("update:modelValue",o)};return(o,a)=>(i(),p("label",tl,[u("input",{type:"checkbox",checked:t.modelValue,onChange:a[0]||(a[0]=c=>s(c.target.checked))},null,40,nl),ol]))}}),al=$(sl,[["__scopeId","data-v-b3db11d1"]]),rl={class:"market"},il={class:"search-box-div"},ll=["placeholder"],cl={class:"items"},ul=g({__name:"PluginStore",setup(t){let e=N(!1),n=I(()=>{let a=s.value;return o.value&&(a=a.filter(c=>c.name.toLowerCase().includes(o.value.toLowerCase())||c.desc.toLowerCase().includes(o.value.toLowerCase())||c.author.toLowerCase().includes(o.value.toLowerCase())||c.module_name.toLowerCase().includes(o.value.toLowerCase()))),e.value&&(a=a.filter(c=>c.is_liteyuki_plugin)),a}),s=N([]),o=N("");return fetch("/plugins.json").then(a=>a.json()).then(a=>{a.forEach(c=>{c.is_liteyuki_plugin=!0}),s.value=a}).catch(a=>console.error(a)),fetch("https://registry.nonebot.dev/plugins.json").then(a=>a.json()).then(a=>{a.forEach(c=>{c.is_official=!1}),s.value=s.value.concat(a)}),(a,c)=>(i(),p("div",rl,[u("h1",null,V(r(R)("pluginStore")),1),u("p",null,V(r(R)("pluginStoreDesc")),1),u("div",il,[oe(u("input",{class:"item-search-box",type:"text","onUpdate:modelValue":c[0]||(c[0]=l=>Ie(o)?o.value=l:o=l),placeholder:r(R)("search")},null,8,ll),[[se,r(o)]]),S(al,{modelValue:r(e),"onUpdate:modelValue":c[1]||(c[1]=l=>Ie(e)?e.value=l:e=l)},null,8,["modelValue"]),J(" "+V(r(R)("liteyukiOnly")),1)]),u("div",cl,[(i(!0),p(x,null,z(r(n),l=>(i(),P(Zi,{key:l.id,item:l},null,8,["item"]))),128))])]))}}),dl=$(ul,[["__scopeId","data-v-3fa9a176"]]),pl=t=>(F("data-v-debfd7f7"),t=t(),j(),t),fl={class:"item-card"},vl={class:"item-name"},hl={class:"item-description"},_l={class:"item-bar"},ml=["href"],gl=pl(()=>u("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},[u("path",{fill:"currentColor",d:"m7.775 3.275l1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0a.751.751 0 0 1 .018-1.042a.751.751 0 0 1 1.042-.018a1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018a.751.751 0 0 1-.018-1.042m-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018a.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0a.751.751 0 0 1-.018 1.042a.751.751 0 0 1-1.042.018a1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83"})],-1)),bl=[gl],yl=["href"],kl=["src"],$l={class:"author-name"},Sl=g({__name:"ResItemCard",props:{item:Object},setup(t){const e=t;return(n,s)=>(i(),p("div",fl,[u("div",vl,V(e.item.name),1),u("div",hl,V(e.item.description),1),u("div",_l,[u("a",{href:e.item.link,class:""},bl,8,ml),u("div",null,[u("a",{class:"author-info",href:`https://github.com/${e.item.author}`},[u("img",{class:"icon avatar",src:`https://github.com/${e.item.author}.png?size=80`,alt:""},null,8,kl),u("div",$l,V(e.item.author),1)],8,yl)])])]))}}),Pl=$(Sl,[["__scopeId","data-v-debfd7f7"]]),wl={key:0,class:"floating-window"},Ll={class:"window-content"},Vl=g({__name:"ResPubWindow",props:{isVisible:Boolean},setup(t){return(e,n)=>t.isVisible?(i(),p("div",wl,[u("div",Ll,[f(e.$slots,"default",{},void 0,!0)])])):b("",!0)}}),Tl=$(Vl,[["__scopeId","data-v-8b5829b6"]]),Il={class:"market"},Nl={class:"search-box-div"},Cl=["placeholder"],Al={class:"store-tabs",style:{display:"flex"}},El={class:"items"},Ml={for:"name"},Bl=["placeholder"],Ol={for:"desc"},Hl=["placeholder"],xl={for:"author"},Dl=["placeholder"],Rl={for:"link"},Fl=["placeholder"],jl={for:"homepage"},Ul=["placeholder"],zl={class:"pub-options",style:{display:"flex","justify-content":"center"}},Gl={class:"pub-option submit",type:"submit"},Wl=g({__name:"ResStore",setup(t){let e=I(()=>s.value?n.value.filter(h=>h.name.toLowerCase().includes(s.value.toLowerCase())||h.description.toLowerCase().includes(s.value.toLowerCase())||h.author.toLowerCase().includes(s.value.toLowerCase())).reverse():n.value.reverse()),n=N([]),s=N("");fetch("/resources.json").then(h=>h.json()).then(h=>{n.value=h}).catch(h=>console.error(h));const o=N(!1);let a=N({name:"",desc:"",author:"",homepage:"",link:""});function c(){o.value=!0}function l(){o.value=!1}const d=()=>{const h=encodeURI(`Resource: ${a.value.name}`);let m=encodeURI(`--- name: ${a.value.name} desc: ${a.value.desc} author: ${a.value.author} homepage: ${a.value.homepage} link: ${a.value.link} --- `);const _=`${le}/issues/new?title=${h}&body=${m}`;window.open(_,"_blank")};return(h,m)=>(i(),p("div",Il,[u("h1",null,V(r(R)("resourceStore")),1),u("div",Nl,[oe(u("input",{class:"item-search-box",type:"text",placeholder:r(R)("search"),"onUpdate:modelValue":m[0]||(m[0]=_=>Ie(s)?s.value=_:s=_)},null,8,Cl),[[se,r(s)]])]),u("div",Al,[u("button",{class:"store-button publish-button",onClick:c},V(r(R)("publishRes")),1)]),u("div",El,[(i(!0),p(x,null,z(r(e),_=>(i(),P(Pl,{key:_.id,item:_},null,8,["item"]))),128))]),S(Tl,{class:"pub-window","is-visible":o.value},{default:v(()=>[u("h2",null,V(r(R)("publishRes")),1),u("form",{onSubmit:st(d,["prevent"])},[u("label",Ml,V(r(R)("resName")),1),oe(u("input",{type:"text",id:"name","onUpdate:modelValue":m[1]||(m[1]=_=>r(a).name=_),placeholder:r(R)("resNameText")},null,8,Bl),[[se,r(a).name]]),u("label",Ol,V(r(R)("resDesc")),1),oe(u("input",{type:"text",id:"desc","onUpdate:modelValue":m[2]||(m[2]=_=>r(a).desc=_),placeholder:r(R)("resDescText")},null,8,Hl),[[se,r(a).desc]]),u("label",xl,V(r(R)("resAuthor")),1),oe(u("input",{type:"text",id:"author","onUpdate:modelValue":m[3]||(m[3]=_=>r(a).author=_),placeholder:r(R)("resAuthorText")},null,8,Dl),[[se,r(a).author]]),u("label",Rl,V(r(R)("resLink")),1),oe(u("input",{type:"text",id:"link","onUpdate:modelValue":m[4]||(m[4]=_=>r(a).link=_),placeholder:r(R)("resLinkText")},null,8,Fl),[[se,r(a).link]]),u("label",jl,V(r(R)("resHomepage")),1),oe(u("input",{type:"text",id:"homepage","onUpdate:modelValue":m[5]||(m[5]=_=>r(a).homepage=_),placeholder:r(R)("resHomepageText")},null,8,Ul),[[se,r(a).homepage]]),u("div",zl,[u("button",{class:"pub-option close",type:"button",onClick:l},V(r(R)("closeButtonText")),1),u("button",Gl,V(r(R)("submitButtonText")),1)])],32)]),_:1},8,["is-visible"])]))}}),Kl=$(Wl,[["__scopeId","data-v-b3593407"]]),Yl={extends:mt,enhanceApp({app:t}){t.component("StatsBar",Qe),t.component("PluginStore",dl),t.component("ResStore",Kl)},Layout:Qe};export{Yl as R,Ea as c,R as g,O as u};