app/assets/chunks/theme.BWcG15Yb.js

12 lines
72 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/VPLocalSearchBox.B4O8Vy8L.js","assets/chunks/framework.C4_mTacX.js"])))=>i.map(i=>d[i]);
import{d as m,o as r,c as f,r as p,n as F,a as W,t as I,b as $,w as v,e as b,T as Ce,_ as S,u as Ae,i as Nt,f as Ct,g as Me,h as T,j as u,k as c,p as j,l as R,m as oe,q as Le,s as A,v as J,x as _e,y as te,z as ie,A as Ee,B as At,C as Mt,D as se,F as D,E as z,G as Ye,H as me,I as L,J as K,K as Xe,L as ge,M as ee,N as le,O as Et,P as be,Q as we,R as Bt,S as Qe,U as ke,V as Ot,W as Ht,X as Dt,Y as Ze,Z as et,$ as Ft,a0 as jt,a1 as Rt,a2 as Ut,a3 as zt,a4 as Gt,a5 as xt,a6 as tt,a7 as nt,a8 as Ve}from"./framework.C4_mTacX.js";const Kt=m({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(t){return(e,n)=>(r(),f("span",{class:F(["VPBadge",e.type])},[p(e.$slots,"default",{},()=>[W(I(e.text),1)])],2))}}),qt={key:0,class:"VPBackdrop"},Wt=m({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(t){return(e,n)=>(r(),$(Ce,{name:"fade"},{default:v(()=>[e.show?(r(),f("div",qt)):b("",!0)]),_:1}))}}),Jt=S(Wt,[["__scopeId","data-v-2cfdfdcf"]]),O=Ae;function Yt(t,e){let n,s=!1;return()=>{n&&clearTimeout(n),s?n=setTimeout(t,e):(t(),(s=!0)&&setTimeout(()=>s=!1,e))}}function Te(t){return/^\//.test(t)?t:`/${t}`}function Be(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(),l=e.endsWith("/")||e.endsWith(".html")?t:t.replace(/(?:(^\.+)\/)?.*$/,`$1${e.replace(/(\.md)?$/,a.value.cleanUrls?"":".html")}${n}${s}`);return Me(l)}function ce({correspondingLink:t=!1}={}){const{site:e,localeIndex:n,page:s,theme:o,hash:a}=O(),l=T(()=>{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:T(()=>Object.entries(e.value.locales).flatMap(([d,h])=>l.value.label===h.label?[]:{text:h.label,link:Xt(h.link||(d==="root"?"/":`/${d}/`),o.value.i18nRouting!==!1&&t,s.value.relativePath.slice(l.value.link.length-1),!e.value.cleanUrls)+a.value})),currentLang:l}}function Xt(t,e,n,s){return e?t.replace(/\/$/,"")+Te(n.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,s?".html":"")):t}const Qt=t=>(j("data-v-868b40d9"),t=t(),R(),t),Zt={class:"NotFound"},en={class:"code"},tn={class:"title"},nn=Qt(()=>u("div",{class:"divider"},null,-1)),on={class:"quote"},sn={class:"action"},an=["href","aria-label"],rn=m({__name:"NotFound",setup(t){const{theme:e}=O(),{currentLang:n}=ce();return(s,o)=>{var a,l,i,d,h;return r(),f("div",Zt,[u("p",en,I(((a=c(e).notFound)==null?void 0:a.code)??"404"),1),u("h1",tn,I(((l=c(e).notFound)==null?void 0:l.title)??"PAGE NOT FOUND"),1),nn,u("blockquote",on,I(((i=c(e).notFound)==null?void 0:i.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",sn,[u("a",{class:"link",href:c(Me)(c(n).link),"aria-label":((d=c(e).notFound)==null?void 0:d.linkLabel)??"go to home"},I(((h=c(e).notFound)==null?void 0:h.linkText)??"Take me home"),9,an)])])}}}),ln=S(rn,[["__scopeId","data-v-868b40d9"]]);function ot(t,e){if(Array.isArray(t))return pe(t);if(t==null)return[];e=Te(e);const n=Object.keys(t).sort((o,a)=>a.split("/").length-o.split("/").length).find(o=>e.startsWith(Te(o))),s=n?t[n]:[];return Array.isArray(s)?pe(s):pe(s.items,s.base)}function cn(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 un(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 Ie(t,e){return Array.isArray(e)?e.some(n=>Ie(t,n)):oe(t,e.link)?!0:e.items?Ie(t,e.items):!1}function pe(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=pe(s.items,o)),s})}function Y(){const{frontmatter:t,page:e,theme:n}=O(),s=Le("(min-width: 960px)"),o=A(!1),a=T(()=>{const M=n.value.sidebar,y=e.value.relativePath;return M?ot(M,y):[]}),l=A(a.value);J(a,(M,y)=>{JSON.stringify(M)!==JSON.stringify(y)&&(l.value=a.value)});const i=T(()=>t.value.sidebar!==!1&&l.value.length>0&&t.value.layout!=="home"),d=T(()=>h?t.value.aside==null?n.value.aside==="left":t.value.aside==="left":!1),h=T(()=>t.value.layout==="home"?!1:t.value.aside!=null?!!t.value.aside:n.value.aside!==!1),g=T(()=>i.value&&s.value),_=T(()=>i.value?cn(l.value):[]);function k(){o.value=!0}function N(){o.value=!1}function V(){o.value?N():k()}return{isOpen:o,sidebar:l,sidebarGroups:_,hasSidebar:i,hasAside:h,leftAside:d,isSidebarEnabled:g,open:k,close:N,toggle:V}}function dn(t,e){let n;_e(()=>{n=t.value?document.activeElement:void 0}),te(()=>{window.addEventListener("keyup",s)}),ie(()=>{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=A(!1),o=T(()=>t.value.collapsed!=null),a=T(()=>!!t.value.link),l=A(!1),i=()=>{l.value=oe(e.value.relativePath,t.value.link)};J([e,t,n],i),te(i);const d=T(()=>l.value?!0:t.value.items?Ie(e.value.relativePath,t.value.items):!1),h=T(()=>!!(t.value.items&&t.value.items.length));_e(()=>{s.value=!!(o.value&&t.value.collapsed)}),Ee(()=>{(l.value||d.value)&&(s.value=!1)});function g(){o.value&&(s.value=!s.value)}return{collapsed:s,collapsible:o,isLink:a,isActiveLink:l,hasActiveLink:d,hasChildren:h,toggle:g}}function pn(){const{hasSidebar:t}=Y(),e=Le("(min-width: 960px)"),n=Le("(min-width: 1280px)");return{isAsideEnabled:T(()=>!n.value&&!e.value?!1:t.value?n.value:e.value)}}const Ne=[];function st(t){return typeof t.outline=="object"&&!Array.isArray(t.outline)&&t.outline.label||t.outlineTitle||"On this page"}function Oe(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:vn(n),link:"#"+n.id,level:s}});return hn(e,t)}function vn(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 hn(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(l=>l.level>=s&&l.level<=o),Ne.length=0;for(const{element:l,link:i}of t)Ne.push({element:l,link:i});const a=[];e:for(let l=0;l<t.length;l++){const i=t[l];if(l===0)a.push(i);else{for(let d=l-1;d>=0;d--){const h=t[d];if(h.level<i.level){(h.children||(h.children=[])).push(i);continue e}}a.push(i)}}return a}function _n(t,e){const{isAsideEnabled:n}=pn(),s=Yt(a,100);let o=null;te(()=>{requestAnimationFrame(a),window.addEventListener("scroll",s)}),At(()=>{l(location.hash)}),ie(()=>{window.removeEventListener("scroll",s)});function a(){if(!n.value)return;const i=window.scrollY,d=window.innerHeight,h=document.body.offsetHeight,g=Math.abs(i+d-h)<1,_=Ne.map(({element:N,link:V})=>({link:V,top:mn(N)})).filter(({top:N})=>!Number.isNaN(N)).sort((N,V)=>N.top-V.top);if(!_.length){l(null);return}if(i<1){l(null);return}if(g){l(_[_.length-1].link);return}let k=null;for(const{link:N,top:V}of _){if(V>i+Mt()+4)break;k=N}l(k)}function l(i){o&&o.classList.remove("active"),i==null?o=null:o=t.value.querySelector(`a[href="${decodeURIComponent(i)}"]`);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 mn(t){let e=0;for(;t!==document.body;){if(t===null)return NaN;e+=t.offsetTop,t=t.offsetParent}return e}const gn=["href","title"],bn=m({__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=se("VPDocOutlineItem",!0);return r(),f("ul",{class:F(["VPDocOutlineItem",n.root?"root":"nested"])},[(r(!0),f(D,null,z(n.headers,({children:a,link:l,title:i})=>(r(),f("li",null,[u("a",{class:"outline-link",href:l,onClick:e,title:i},I(i),9,gn),a!=null&&a.length?(r(),$(o,{key:0,headers:a},null,8,["headers"])):b("",!0)]))),256))],2)}}}),at=S(bn,[["__scopeId","data-v-75b86f7a"]]),kn={class:"content"},yn={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},$n=m({__name:"VPDocAsideOutline",setup(t){const{frontmatter:e,theme:n}=O(),s=Ye([]);me(()=>{s.value=Oe(e.value.outline??n.value.outline)});const o=A(),a=A();return _n(o,a),(l,i)=>(r(),f("nav",{"aria-labelledby":"doc-outline-aria-label",class:F(["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",yn,I(c(st)(c(n))),1),L(at,{headers:s.value,root:!0},null,8,["headers"])])],2))}}),Sn=S($n,[["__scopeId","data-v-be1126ba"]]),Pn={class:"VPDocAsideCarbonAds"},Ln=m({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(t){const e=()=>null;return(n,s)=>(r(),f("div",Pn,[L(c(e),{"carbon-ads":n.carbonAds},null,8,["carbon-ads"])]))}}),wn=t=>(j("data-v-65ef6f81"),t=t(),R(),t),Vn={class:"VPDocAside"},Tn=wn(()=>u("div",{class:"spacer"},null,-1)),In=m({__name:"VPDocAside",setup(t){const{theme:e}=O();return(n,s)=>(r(),f("div",Vn,[p(n.$slots,"aside-top",{},void 0,!0),p(n.$slots,"aside-outline-before",{},void 0,!0),L(Sn),p(n.$slots,"aside-outline-after",{},void 0,!0),Tn,p(n.$slots,"aside-ads-before",{},void 0,!0),c(e).carbonAds?(r(),$(Ln,{key:0,"carbon-ads":c(e).carbonAds},null,8,["carbon-ads"])):b("",!0),p(n.$slots,"aside-ads-after",{},void 0,!0),p(n.$slots,"aside-bottom",{},void 0,!0)]))}}),Nn=S(In,[["__scopeId","data-v-65ef6f81"]]);function Cn(){const{theme:t,page:e}=O();return T(()=>{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 An(){const{page:t,theme:e,frontmatter:n}=O();return T(()=>{var h,g,_,k,N,V,M,y;const s=ot(e.value.sidebar,t.value.relativePath),o=un(s),a=Mn(o,U=>U.link.replace(/[?#].*$/,"")),l=a.findIndex(U=>oe(t.value.relativePath,U.link)),i=((h=e.value.docFooter)==null?void 0:h.prev)===!1&&!n.value.prev||n.value.prev===!1,d=((g=e.value.docFooter)==null?void 0:g.next)===!1&&!n.value.next||n.value.next===!1;return{prev:i?void 0:{text:(typeof n.value.prev=="string"?n.value.prev:typeof n.value.prev=="object"?n.value.prev.text:void 0)??((_=a[l-1])==null?void 0:_.docFooterText)??((k=a[l-1])==null?void 0:k.text),link:(typeof n.value.prev=="object"?n.value.prev.link:void 0)??((N=a[l-1])==null?void 0:N.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)??((V=a[l+1])==null?void 0:V.docFooterText)??((M=a[l+1])==null?void 0:M.text),link:(typeof n.value.next=="object"?n.value.next.link:void 0)??((y=a[l+1])==null?void 0:y.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=m({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(t){const e=t,n=T(()=>e.tag??(e.href?"a":"span")),s=T(()=>e.href&&Xe.test(e.href)||e.target==="_blank");return(o,a)=>(r(),$(K(n.value),{class:F(["VPLink",{link:o.href,"vp-external-link-icon":s.value,"no-icon":o.noIcon}]),href:o.href?c(Be)(o.href):void 0,target:o.target??(s.value?"_blank":void 0),rel:o.rel??(s.value?"noreferrer":void 0)},{default:v(()=>[p(o.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),En={class:"VPLastUpdated"},Bn=["datetime"],On=m({__name:"VPDocFooterLastUpdated",setup(t){const{theme:e,page:n,lang:s}=O(),o=T(()=>new Date(n.value.lastUpdated)),a=T(()=>o.value.toISOString()),l=A("");return te(()=>{_e(()=>{var i,d,h;l.value=new Intl.DateTimeFormat((d=(i=e.value.lastUpdated)==null?void 0:i.formatOptions)!=null&&d.forceLocale?s.value:void 0,((h=e.value.lastUpdated)==null?void 0:h.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(o.value)})}),(i,d)=>{var h;return r(),f("p",En,[W(I(((h=c(e).lastUpdated)==null?void 0:h.text)||c(e).lastUpdatedText||"Last updated")+": ",1),u("time",{datetime:a.value},I(l.value),9,Bn)])}}}),Hn=S(On,[["__scopeId","data-v-243e2690"]]),rt=t=>(j("data-v-e27a0cf7"),t=t(),R(),t),Dn={key:0,class:"VPDocFooter"},Fn={key:0,class:"edit-info"},jn={key:0,class:"edit-link"},Rn=rt(()=>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=rt(()=>u("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),xn={class:"pager"},Kn=["innerHTML"],qn=["innerHTML"],Wn={class:"pager"},Jn=["innerHTML"],Yn=["innerHTML"],Xn=m({__name:"VPDocFooter",setup(t){const{theme:e,page:n,frontmatter:s}=O(),o=Cn(),a=An(),l=T(()=>e.value.editLink&&s.value.editLink!==!1),i=T(()=>n.value.lastUpdated),d=T(()=>l.value||i.value||a.value.prev||a.value.next);return(h,g)=>{var _,k,N,V;return d.value?(r(),f("footer",Dn,[p(h.$slots,"doc-footer-before",{},void 0,!0),l.value||i.value?(r(),f("div",Fn,[l.value?(r(),f("div",jn,[L(q,{class:"edit-link-button",href:c(o).url,"no-icon":!0},{default:v(()=>[Rn,W(" "+I(c(o).text),1)]),_:1},8,["href"])])):b("",!0),i.value?(r(),f("div",Un,[L(Hn)])):b("",!0)])):b("",!0),(_=c(a).prev)!=null&&_.link||(k=c(a).next)!=null&&k.link?(r(),f("nav",zn,[Gn,u("div",xn,[(N=c(a).prev)!=null&&N.link?(r(),$(q,{key:0,class:"pager-link prev",href:c(a).prev.link},{default:v(()=>{var M;return[u("span",{class:"desc",innerHTML:((M=c(e).docFooter)==null?void 0:M.prev)||"Previous page"},null,8,Kn),u("span",{class:"title",innerHTML:c(a).prev.text},null,8,qn)]}),_:1},8,["href"])):b("",!0)]),u("div",Wn,[(V=c(a).next)!=null&&V.link?(r(),$(q,{key:0,class:"pager-link next",href:c(a).next.link},{default:v(()=>{var M;return[u("span",{class:"desc",innerHTML:((M=c(e).docFooter)==null?void 0:M.next)||"Next page"},null,8,Jn),u("span",{class:"title",innerHTML:c(a).next.text},null,8,Yn)]}),_:1},8,["href"])):b("",!0)])])):b("",!0)])):b("",!0)}}}),Qn=S(Xn,[["__scopeId","data-v-e27a0cf7"]]),Zn=t=>(j("data-v-4981c415"),t=t(),R(),t),eo={class:"container"},to=Zn(()=>u("div",{class:"aside-curtain"},null,-1)),no={class:"aside-container"},oo={class:"aside-content"},so={class:"content"},ao={class:"content-container"},ro={class:"main"},io=m({__name:"VPDoc",setup(t){const{theme:e}=O(),n=ge(),{hasSidebar:s,hasAside:o,leftAside:a}=Y(),l=T(()=>n.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(i,d)=>{const h=se("Content");return r(),f("div",{class:F(["VPDoc",{"has-sidebar":c(s),"has-aside":c(o)}])},[p(i.$slots,"doc-top",{},void 0,!0),u("div",eo,[c(o)?(r(),f("div",{key:0,class:F(["aside",{"left-aside":c(a)}])},[to,u("div",no,[u("div",oo,[L(Nn,null,{"aside-top":v(()=>[p(i.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[p(i.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[p(i.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[p(i.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[p(i.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[p(i.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):b("",!0),u("div",so,[u("div",ao,[p(i.$slots,"doc-before",{},void 0,!0),u("main",ro,[L(h,{class:F(["vp-doc",[l.value,c(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),L(Qn,null,{"doc-footer-before":v(()=>[p(i.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),p(i.$slots,"doc-after",{},void 0,!0)])])]),p(i.$slots,"doc-bottom",{},void 0,!0)],2)}}}),lo=S(io,[["__scopeId","data-v-4981c415"]]),co=m({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(t){const e=t,n=T(()=>e.href&&Xe.test(e.href)),s=T(()=>e.tag||e.href?"a":"button");return(o,a)=>(r(),$(K(s.value),{class:F(["VPButton",[o.size,o.theme]]),href:o.href?c(Be)(o.href):void 0,target:e.target??(n.value?"_blank":void 0),rel:e.rel??(n.value?"noreferrer":void 0)},{default:v(()=>[W(I(o.text),1)]),_:1},8,["class","href","target","rel"]))}}),uo=S(co,[["__scopeId","data-v-5208c6a8"]]),fo=["src","alt"],po=m({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(t){return(e,n)=>{const s=se("VPImage",!0);return e.image?(r(),f(D,{key:0},[typeof e.image=="string"||"src"in e.image?(r(),f("img",ee({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:c(Me)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,fo)):(r(),f(D,{key:1},[L(s,ee({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),L(s,ee({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):b("",!0)}}}),ve=S(po,[["__scopeId","data-v-6e911b93"]]),vo=t=>(j("data-v-4963d475"),t=t(),R(),t),ho={class:"container"},_o={class:"main"},mo={key:0,class:"name"},go=["innerHTML"],bo=["innerHTML"],ko=["innerHTML"],yo={key:0,class:"actions"},$o={key:0,class:"image"},So={class:"image-container"},Po=vo(()=>u("div",{class:"image-bg"},null,-1)),Lo=m({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(t){const e=le("hero-image-slot-exists");return(n,s)=>(r(),f("div",{class:F(["VPHero",{"has-image":n.image||c(e)}])},[u("div",ho,[u("div",_o,[p(n.$slots,"home-hero-info-before",{},void 0,!0),p(n.$slots,"home-hero-info",{},()=>[n.name?(r(),f("h1",mo,[u("span",{innerHTML:n.name,class:"clip"},null,8,go)])):b("",!0),n.text?(r(),f("p",{key:1,innerHTML:n.text,class:"text"},null,8,bo)):b("",!0),n.tagline?(r(),f("p",{key:2,innerHTML:n.tagline,class:"tagline"},null,8,ko)):b("",!0)],!0),p(n.$slots,"home-hero-info-after",{},void 0,!0),n.actions?(r(),f("div",yo,[(r(!0),f(D,null,z(n.actions,o=>(r(),f("div",{key:o.link,class:"action"},[L(uo,{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),p(n.$slots,"home-hero-actions-after",{},void 0,!0)]),n.image||c(e)?(r(),f("div",$o,[u("div",So,[Po,p(n.$slots,"home-hero-image",{},()=>[n.image?(r(),$(ve,{key:0,class:"image-src",image:n.image},null,8,["image"])):b("",!0)],!0)])])):b("",!0)])],2))}}),wo=S(Lo,[["__scopeId","data-v-4963d475"]]),Vo=m({__name:"VPHomeHero",setup(t){const{frontmatter:e}=O();return(n,s)=>c(e).hero?(r(),$(wo,{key:0,class:"VPHomeHero",name:c(e).hero.name,text:c(e).hero.text,tagline:c(e).hero.tagline,image:c(e).hero.image,actions:c(e).hero.actions},{"home-hero-info-before":v(()=>[p(n.$slots,"home-hero-info-before")]),"home-hero-info":v(()=>[p(n.$slots,"home-hero-info")]),"home-hero-info-after":v(()=>[p(n.$slots,"home-hero-info-after")]),"home-hero-actions-after":v(()=>[p(n.$slots,"home-hero-actions-after")]),"home-hero-image":v(()=>[p(n.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):b("",!0)}}),To=t=>(j("data-v-c6ed09d2"),t=t(),R(),t),Io={class:"box"},No={key:0,class:"icon"},Co=["innerHTML"],Ao=["innerHTML"],Mo=["innerHTML"],Eo={key:4,class:"link-text"},Bo={class:"link-text-value"},Oo=To(()=>u("span",{class:"vpi-arrow-right link-text-icon"},null,-1)),Ho=m({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(t){return(e,n)=>(r(),$(q,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:v(()=>[u("article",Io,[typeof e.icon=="object"&&e.icon.wrap?(r(),f("div",No,[L(ve,{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"?(r(),$(ve,{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?(r(),f("div",{key:2,class:"icon",innerHTML:e.icon},null,8,Co)):b("",!0),u("h2",{class:"title",innerHTML:e.title},null,8,Ao),e.details?(r(),f("p",{key:3,class:"details",innerHTML:e.details},null,8,Mo)):b("",!0),e.linkText?(r(),f("div",Eo,[u("p",Bo,[W(I(e.linkText)+" ",1),Oo])])):b("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),Do=S(Ho,[["__scopeId","data-v-c6ed09d2"]]),Fo={key:0,class:"VPFeatures"},jo={class:"container"},Ro={class:"items"},Uo=m({__name:"VPFeatures",props:{features:{}},setup(t){const e=t,n=T(()=>{const s=e.features.length;if(s){if(s===2)return"grid-2";if(s===3)return"grid-3";if(s%3===0)return"grid-6";if(s>3)return"grid-4"}else return});return(s,o)=>s.features?(r(),f("div",Fo,[u("div",jo,[u("div",Ro,[(r(!0),f(D,null,z(s.features,a=>(r(),f("div",{key:a.title,class:F(["item",[n.value]])},[L(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=S(Uo,[["__scopeId","data-v-c56833f4"]]),Go=m({__name:"VPHomeFeatures",setup(t){const{frontmatter:e}=O();return(n,s)=>c(e).features?(r(),$(zo,{key:0,class:"VPHomeFeatures",features:c(e).features},null,8,["features"])):b("",!0)}}),xo=m({__name:"VPHomeContent",setup(t){const{width:e}=Et({initialWidth:0,includeScrollbar:!1});return(n,s)=>(r(),f("div",{class:"vp-doc container",style:be(c(e)?{"--vp-offset":`calc(50% - ${c(e)/2}px)`}:{})},[p(n.$slots,"default",{},void 0,!0)],4))}}),Ko=S(xo,[["__scopeId","data-v-2763ee34"]]),qo={class:"VPHome"},Wo=m({__name:"VPHome",setup(t){const{frontmatter:e}=O();return(n,s)=>{const o=se("Content");return r(),f("div",qo,[p(n.$slots,"home-hero-before",{},void 0,!0),L(Vo,null,{"home-hero-info-before":v(()=>[p(n.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":v(()=>[p(n.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":v(()=>[p(n.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":v(()=>[p(n.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":v(()=>[p(n.$slots,"home-hero-image",{},void 0,!0)]),_:3}),p(n.$slots,"home-hero-after",{},void 0,!0),p(n.$slots,"home-features-before",{},void 0,!0),L(Go),p(n.$slots,"home-features-after",{},void 0,!0),c(e).markdownStyles!==!1?(r(),$(Ko,{key:0},{default:v(()=>[L(o)]),_:1})):(r(),$(o,{key:1}))])}}}),Jo=S(Wo,[["__scopeId","data-v-ceddc1ed"]]),Yo={},Xo={class:"VPPage"};function Qo(t,e){const n=se("Content");return r(),f("div",Xo,[p(t.$slots,"page-top"),L(n),p(t.$slots,"page-bottom")])}const Zo=S(Yo,[["render",Qo]]),es=m({__name:"VPContent",setup(t){const{page:e,frontmatter:n}=O(),{hasSidebar:s}=Y();return(o,a)=>(r(),f("div",{class:F(["VPContent",{"has-sidebar":c(s),"is-home":c(n).layout==="home"}]),id:"VPContent"},[c(e).isNotFound?p(o.$slots,"not-found",{key:0},()=>[L(ln)],!0):c(n).layout==="page"?(r(),$(Zo,{key:1},{"page-top":v(()=>[p(o.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[p(o.$slots,"page-bottom",{},void 0,!0)]),_:3})):c(n).layout==="home"?(r(),$(Jo,{key:2},{"home-hero-before":v(()=>[p(o.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":v(()=>[p(o.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":v(()=>[p(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":v(()=>[p(o.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":v(()=>[p(o.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":v(()=>[p(o.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[p(o.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[p(o.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[p(o.$slots,"home-features-after",{},void 0,!0)]),_:3})):c(n).layout&&c(n).layout!=="doc"?(r(),$(K(c(n).layout),{key:3})):(r(),$(lo,{key:4},{"doc-top":v(()=>[p(o.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[p(o.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":v(()=>[p(o.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[p(o.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[p(o.$slots,"doc-after",{},void 0,!0)]),"aside-top":v(()=>[p(o.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":v(()=>[p(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[p(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[p(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[p(o.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":v(()=>[p(o.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),ts=S(es,[["__scopeId","data-v-4e31bbd2"]]),ns={class:"container"},os=["innerHTML"],ss=["innerHTML"],as=m({__name:"VPFooter",setup(t){const{theme:e,frontmatter:n}=O(),{hasSidebar:s}=Y();return(o,a)=>c(e).footer&&c(n).footer!==!1?(r(),f("footer",{key:0,class:F(["VPFooter",{"has-sidebar":c(s)}])},[u("div",ns,[c(e).footer.message?(r(),f("p",{key:0,class:"message",innerHTML:c(e).footer.message},null,8,os)):b("",!0),c(e).footer.copyright?(r(),f("p",{key:1,class:"copyright",innerHTML:c(e).footer.copyright},null,8,ss)):b("",!0)])],2)):b("",!0)}}),rs=S(as,[["__scopeId","data-v-098a46ae"]]);function is(){const{theme:t,frontmatter:e}=O(),n=Ye([]),s=T(()=>n.value.length>0);return me(()=>{n.value=Oe(e.value.outline??t.value.outline)}),{headers:n,hasLocalNav:s}}const ls=t=>(j("data-v-5e8cf508"),t=t(),R(),t),cs={class:"menu-text"},us=ls(()=>u("span",{class:"vpi-chevron-right icon"},null,-1)),ds={class:"header"},fs={class:"outline"},ps=m({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(t){const e=t,{theme:n}=O(),s=A(!1),o=A(0),a=A(),l=A();function i(_){var k;(k=a.value)!=null&&k.contains(_.target)||(s.value=!1)}J(s,_=>{if(_){document.addEventListener("click",i);return}document.removeEventListener("click",i)}),we("Escape",()=>{s.value=!1}),me(()=>{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")&&(l.value&&(l.value.style.transition="none"),Bt(()=>{s.value=!1}))}function g(){s.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(_,k)=>(r(),f("div",{class:"VPLocalNavOutlineDropdown",style:be({"--vp-vh":o.value+"px"}),ref_key:"main",ref:a},[_.headers.length>0?(r(),f("button",{key:0,onClick:d,class:F({open:s.value})},[u("span",cs,I(c(st)(c(n))),1),us],2)):(r(),f("button",{key:1,onClick:g},I(c(n).returnToTopLabel||"Return to top"),1)),L(Ce,{name:"flyout"},{default:v(()=>[s.value?(r(),f("div",{key:0,ref_key:"items",ref:l,class:"items",onClick:h},[u("div",ds,[u("a",{class:"top-link",href:"#",onClick:g},I(c(n).returnToTopLabel||"Return to top"),1)]),u("div",fs,[L(at,{headers:_.headers},null,8,["headers"])])],512)):b("",!0)]),_:1})],4))}}),vs=S(ps,[["__scopeId","data-v-5e8cf508"]]),hs=t=>(j("data-v-b8036a12"),t=t(),R(),t),_s={class:"container"},ms=["aria-expanded"],gs=hs(()=>u("span",{class:"vpi-align-left menu-icon"},null,-1)),bs={class:"menu-text"},ks=m({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(t){const{theme:e,frontmatter:n}=O(),{hasSidebar:s}=Y(),{headers:o}=is(),{y:a}=Qe(),l=A(0);te(()=>{l.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),me(()=>{o.value=Oe(n.value.outline??e.value.outline)});const i=T(()=>o.value.length===0),d=T(()=>i.value&&!s.value),h=T(()=>({VPLocalNav:!0,"has-sidebar":s.value,empty:i.value,fixed:d.value}));return(g,_)=>c(n).layout!=="home"&&(!d.value||c(a)>=l.value)?(r(),f("div",{key:0,class:F(h.value)},[u("div",_s,[c(s)?(r(),f("button",{key:0,class:"menu","aria-expanded":g.open,"aria-controls":"VPSidebarNav",onClick:_[0]||(_[0]=k=>g.$emit("open-menu"))},[gs,u("span",bs,I(c(e).sidebarMenuLabel||"Menu"),1)],8,ms)):b("",!0),L(vs,{headers:c(o),navHeight:l.value},null,8,["headers","navHeight"])])],2)):b("",!0)}}),ys=S(ks,[["__scopeId","data-v-b8036a12"]]);function $s(){const t=A(!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=ge();return J(()=>a.path,n),{isScreenOpen:t,openScreen:e,closeScreen:n,toggleScreen:s}}const Ss={},Ps={class:"VPSwitch",type:"button",role:"switch"},Ls={class:"check"},ws={key:0,class:"icon"};function Vs(t,e){return r(),f("button",Ps,[u("span",Ls,[t.$slots.default?(r(),f("span",ws,[p(t.$slots,"default",{},void 0,!0)])):b("",!0)])])}const Ts=S(Ss,[["render",Vs],["__scopeId","data-v-b19619af"]]),it=t=>(j("data-v-0f382965"),t=t(),R(),t),Is=it(()=>u("span",{class:"vpi-sun sun"},null,-1)),Ns=it(()=>u("span",{class:"vpi-moon moon"},null,-1)),Cs=m({__name:"VPSwitchAppearance",setup(t){const{isDark:e,theme:n}=O(),s=le("toggle-appearance",()=>{e.value=!e.value}),o=A("");return Ee(()=>{o.value=e.value?n.value.lightModeSwitchTitle||"Switch to light theme":n.value.darkModeSwitchTitle||"Switch to dark theme"}),(a,l)=>(r(),$(Ts,{title:o.value,class:"VPSwitchAppearance","aria-checked":c(e),onClick:c(s)},{default:v(()=>[Is,Ns]),_:1},8,["title","aria-checked","onClick"]))}}),He=S(Cs,[["__scopeId","data-v-0f382965"]]),As={key:0,class:"VPNavBarAppearance"},Ms=m({__name:"VPNavBarAppearance",setup(t){const{site:e}=O();return(n,s)=>c(e).appearance&&c(e).appearance!=="force-dark"&&c(e).appearance!=="force-auto"?(r(),f("div",As,[L(He)])):b("",!0)}}),Es=S(Ms,[["__scopeId","data-v-0a1958c9"]]),De=A();let lt=!1,Pe=0;function Bs(t){const e=A(!1);if(ke){!lt&&Os(),Pe++;const n=J(De,s=>{var o,a,l;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,(l=t.onBlur)==null||l.call(t))});ie(()=>{n(),Pe--,Pe||Hs()})}return Ot(e)}function Os(){document.addEventListener("focusin",ct),lt=!0,De.value=document.activeElement}function Hs(){document.removeEventListener("focusin",ct)}function ct(){De.value=document.activeElement}const Ds={class:"VPMenuLink"},Fs=m({__name:"VPMenuLink",props:{item:{}},setup(t){const{page:e}=O();return(n,s)=>(r(),f("div",Ds,[L(q,{class:F({active:c(oe)(c(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(()=>[W(I(n.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),ye=S(Fs,[["__scopeId","data-v-19363427"]]),js={class:"VPMenuGroup"},Rs={key:0,class:"title"},Us=m({__name:"VPMenuGroup",props:{text:{},items:{}},setup(t){return(e,n)=>(r(),f("div",js,[e.text?(r(),f("p",Rs,I(e.text),1)):b("",!0),(r(!0),f(D,null,z(e.items,s=>(r(),f(D,null,["link"in s?(r(),$(ye,{key:0,item:s},null,8,["item"])):b("",!0)],64))),256))]))}}),zs=S(Us,[["__scopeId","data-v-e815e7e2"]]),Gs={class:"VPMenu"},xs={key:0,class:"items"},Ks=m({__name:"VPMenu",props:{items:{}},setup(t){return(e,n)=>(r(),f("div",Gs,[e.items?(r(),f("div",xs,[(r(!0),f(D,null,z(e.items,s=>(r(),f(D,{key:JSON.stringify(s)},["link"in s?(r(),$(ye,{key:0,item:s},null,8,["item"])):"component"in s?(r(),$(K(s.component),ee({key:1,ref_for:!0},s.props),null,16)):(r(),$(zs,{key:2,text:s.text,items:s.items},null,8,["text","items"]))],64))),128))])):b("",!0),p(e.$slots,"default",{},void 0,!0)]))}}),qs=S(Ks,[["__scopeId","data-v-0e22c6c5"]]),Ws=t=>(j("data-v-12ec5ee2"),t=t(),R(),t),Js=["aria-expanded","aria-label"],Ys={key:0,class:"text"},Xs=["innerHTML"],Qs=Ws(()=>u("span",{class:"vpi-chevron-down text-icon"},null,-1)),Zs={key:1,class:"vpi-more-horizontal icon"},ea={class:"menu"},ta=m({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(t){const e=A(!1),n=A();Bs({el:n,onBlur:s});function s(){e.value=!1}return(o,a)=>(r(),f("div",{class:"VPFlyout",ref_key:"el",ref:n,onMouseenter:a[1]||(a[1]=l=>e.value=!0),onMouseleave:a[2]||(a[2]=l=>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]=l=>e.value=!e.value)},[o.button||o.icon?(r(),f("span",Ys,[o.icon?(r(),f("span",{key:0,class:F([o.icon,"option-icon"])},null,2)):b("",!0),o.button?(r(),f("span",{key:1,innerHTML:o.button},null,8,Xs)):b("",!0),Qs])):(r(),f("span",Zs))],8,Js),u("div",ea,[L(qs,{items:o.items},{default:v(()=>[p(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),Fe=S(ta,[["__scopeId","data-v-12ec5ee2"]]),na=["href","aria-label","innerHTML"],oa=m({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(t){const e=t,n=T(()=>typeof e.icon=="object"?e.icon.svg:`<span class="vpi-social-${e.icon}" />`);return(s,o)=>(r(),f("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,na))}}),sa=S(oa,[["__scopeId","data-v-974e0aed"]]),aa={class:"VPSocialLinks"},ra=m({__name:"VPSocialLinks",props:{links:{}},setup(t){return(e,n)=>(r(),f("div",aa,[(r(!0),f(D,null,z(e.links,({link:s,icon:o,ariaLabel:a})=>(r(),$(sa,{key:s,icon:o,link:s,ariaLabel:a},null,8,["icon","link","ariaLabel"]))),128))]))}}),je=S(ra,[["__scopeId","data-v-52782a78"]]),ia={key:0,class:"group translations"},la={class:"trans-title"},ca={key:1,class:"group"},ua={class:"item appearance"},da={class:"label"},fa={class:"appearance-action"},pa={key:2,class:"group"},va={class:"item social-links"},ha=m({__name:"VPNavBarExtra",setup(t){const{site:e,theme:n}=O(),{localeLinks:s,currentLang:o}=ce({correspondingLink:!0}),a=T(()=>s.value.length&&o.value.label||e.value.appearance||n.value.socialLinks);return(l,i)=>a.value?(r(),$(Fe,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:v(()=>[c(s).length&&c(o).label?(r(),f("div",ia,[u("p",la,I(c(o).label),1),(r(!0),f(D,null,z(c(s),d=>(r(),$(ye,{key:d.link,item:d},null,8,["item"]))),128))])):b("",!0),c(e).appearance&&c(e).appearance!=="force-dark"&&c(e).appearance!=="force-auto"?(r(),f("div",ca,[u("div",ua,[u("p",da,I(c(n).darkModeSwitchLabel||"Appearance"),1),u("div",fa,[L(He)])])])):b("",!0),c(n).socialLinks?(r(),f("div",pa,[u("div",va,[L(je,{class:"social-links-list",links:c(n).socialLinks},null,8,["links"])])])):b("",!0)]),_:1})):b("",!0)}}),_a=S(ha,[["__scopeId","data-v-c34ef5aa"]]),ma=t=>(j("data-v-6a2ed68b"),t=t(),R(),t),ga=["aria-expanded"],ba=ma(()=>u("span",{class:"container"},[u("span",{class:"top"}),u("span",{class:"middle"}),u("span",{class:"bottom"})],-1)),ka=[ba],ya=m({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(t){return(e,n)=>(r(),f("button",{type:"button",class:F(["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,ga))}}),$a=S(ya,[["__scopeId","data-v-6a2ed68b"]]),Sa=["innerHTML"],Pa=m({__name:"VPNavBarMenuLink",props:{item:{}},setup(t){const{page:e}=O();return(n,s)=>(r(),$(q,{class:F({VPNavBarMenuLink:!0,active:c(oe)(c(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,Sa)]),_:1},8,["class","href","noIcon","target","rel"]))}}),La=S(Pa,[["__scopeId","data-v-c423e9f4"]]),wa=m({__name:"VPNavBarMenuGroup",props:{item:{}},setup(t){const e=t,{page:n}=O(),s=a=>"component"in a?!1:"link"in a?oe(n.value.relativePath,a.link,!!e.item.activeMatch):a.items.some(s),o=T(()=>s(e.item));return(a,l)=>(r(),$(Fe,{class:F({VPNavBarMenuGroup:!0,active:c(oe)(c(n).relativePath,a.item.activeMatch,!!a.item.activeMatch)||o.value}),button:a.item.text,items:a.item.items},null,8,["class","button","items"]))}}),Va=t=>(j("data-v-71183eee"),t=t(),R(),t),Ta={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Ia=Va(()=>u("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),Na=m({__name:"VPNavBarMenu",setup(t){const{theme:e}=O();return(n,s)=>c(e).nav?(r(),f("nav",Ta,[Ia,(r(!0),f(D,null,z(c(e).nav,o=>(r(),f(D,{key:JSON.stringify(o)},["link"in o?(r(),$(La,{key:0,item:o},null,8,["item"])):"component"in o?(r(),$(K(o.component),ee({key:1,ref_for:!0},o.props),null,16)):(r(),$(wa,{key:2,item:o},null,8,["item"]))],64))),128))])):b("",!0)}}),Ca=S(Na,[["__scopeId","data-v-71183eee"]]);function Aa(t){const{localeIndex:e,theme:n}=O();function s(o){var V,M,y;const a=o.split("."),l=(V=n.value.search)==null?void 0:V.options,i=l&&typeof l=="object",d=i&&((y=(M=l.locales)==null?void 0:M[e.value])==null?void 0:y.translations)||null,h=i&&l.translations||null;let g=d,_=h,k=t;const N=a.pop();for(const U of a){let G=null;const X=k==null?void 0:k[U];X&&(G=k=X);const ne=_==null?void 0:_[U];ne&&(G=_=ne);const Q=g==null?void 0:g[U];Q&&(G=g=Q),X||(k=G),ne||(_=G),Q||(g=G)}return(g==null?void 0:g[N])??(_==null?void 0:_[N])??(k==null?void 0:k[N])??""}return s}const Ma=["aria-label"],Ea={class:"DocSearch-Button-Container"},Ba=u("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1),Oa={class:"DocSearch-Button-Placeholder"},Ha=u("span",{class:"DocSearch-Button-Keys"},[u("kbd",{class:"DocSearch-Button-Key"}),u("kbd",{class:"DocSearch-Button-Key"},"K")],-1),ze=m({__name:"VPNavBarSearchButton",setup(t){const n=Aa({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(s,o)=>(r(),f("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":c(n)("button.buttonAriaLabel")},[u("span",Ea,[Ba,u("span",Oa,I(c(n)("button.buttonText")),1)]),Ha],8,Ma))}}),Da={class:"VPNavBarSearch"},Fa={id:"local-search"},ja={key:1,id:"docsearch"},Ra=m({__name:"VPNavBarSearch",setup(t){const e=Ht(()=>Dt(()=>import("./VPLocalSearchBox.B4O8Vy8L.js"),__vite__mapDeps([0,1]))),n=()=>null,{theme:s}=O(),o=A(!1),a=A(!1);te(()=>{});function l(){o.value||(o.value=!0,setTimeout(i,16))}function i(){const _=new Event("keydown");_.key="k",_.metaKey=!0,window.dispatchEvent(_),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||i()},16)}function d(_){const k=_.target,N=k.tagName;return k.isContentEditable||N==="INPUT"||N==="SELECT"||N==="TEXTAREA"}const h=A(!1);we("k",_=>{(_.ctrlKey||_.metaKey)&&(_.preventDefault(),h.value=!0)}),we("/",_=>{d(_)||(_.preventDefault(),h.value=!0)});const g="local";return(_,k)=>{var N;return r(),f("div",Da,[c(g)==="local"?(r(),f(D,{key:0},[h.value?(r(),$(c(e),{key:0,onClose:k[0]||(k[0]=V=>h.value=!1)})):b("",!0),u("div",Fa,[L(ze,{onClick:k[1]||(k[1]=V=>h.value=!0)})])],64)):c(g)==="algolia"?(r(),f(D,{key:1},[o.value?(r(),$(c(n),{key:0,algolia:((N=c(s).search)==null?void 0:N.options)??c(s).algolia,onVnodeBeforeMount:k[2]||(k[2]=V=>a.value=!0)},null,8,["algolia"])):b("",!0),a.value?b("",!0):(r(),f("div",ja,[L(ze,{onClick:l})]))],64)):b("",!0)])}}}),Ua=m({__name:"VPNavBarSocialLinks",setup(t){const{theme:e}=O();return(n,s)=>c(e).socialLinks?(r(),$(je,{key:0,class:"VPNavBarSocialLinks",links:c(e).socialLinks},null,8,["links"])):b("",!0)}}),za=S(Ua,[["__scopeId","data-v-edaebeb1"]]),Ga=["href","rel","target"],xa={key:1},Ka={key:2},qa=m({__name:"VPNavBarTitle",setup(t){const{site:e,theme:n}=O(),{hasSidebar:s}=Y(),{currentLang:o}=ce(),a=T(()=>{var d;return typeof n.value.logoLink=="string"?n.value.logoLink:(d=n.value.logoLink)==null?void 0:d.link}),l=T(()=>{var d;return typeof n.value.logoLink=="string"||(d=n.value.logoLink)==null?void 0:d.rel}),i=T(()=>{var d;return typeof n.value.logoLink=="string"||(d=n.value.logoLink)==null?void 0:d.target});return(d,h)=>(r(),f("div",{class:F(["VPNavBarTitle",{"has-sidebar":c(s)}])},[u("a",{class:"title",href:a.value??c(Be)(c(o).link),rel:l.value,target:i.value},[p(d.$slots,"nav-bar-title-before",{},void 0,!0),c(n).logo?(r(),$(ve,{key:0,class:"logo",image:c(n).logo},null,8,["image"])):b("",!0),c(n).siteTitle?(r(),f("span",xa,I(c(n).siteTitle),1)):c(n).siteTitle===void 0?(r(),f("span",Ka,I(c(e).title),1)):b("",!0),p(d.$slots,"nav-bar-title-after",{},void 0,!0)],8,Ga)],2))}}),Wa=S(qa,[["__scopeId","data-v-de953605"]]),Ja={class:"items"},Ya={class:"title"},Xa=m({__name:"VPNavBarTranslations",setup(t){const{theme:e}=O(),{localeLinks:n,currentLang:s}=ce({correspondingLink:!0});return(o,a)=>c(n).length&&c(s).label?(r(),$(Fe,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:c(e).langMenuLabel||"Change language"},{default:v(()=>[u("div",Ja,[u("p",Ya,I(c(s).label),1),(r(!0),f(D,null,z(c(n),l=>(r(),$(ye,{key:l.link,item:l},null,8,["item"]))),128))])]),_:1},8,["label"])):b("",!0)}}),Qa=S(Xa,[["__scopeId","data-v-d3047050"]]),Za=t=>(j("data-v-37a6b570"),t=t(),R(),t),er={class:"wrapper"},tr={class:"container"},nr={class:"title"},or={class:"content"},sr={class:"content-body"},ar=Za(()=>u("div",{class:"divider"},[u("div",{class:"divider-line"})],-1)),rr=m({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(t){const e=t,{y:n}=Qe(),{hasSidebar:s}=Y(),{frontmatter:o}=O(),a=A({});return Ee(()=>{a.value={"has-sidebar":s.value,home:o.value.layout==="home",top:n.value===0,"screen-open":e.isScreenOpen}}),(l,i)=>(r(),f("div",{class:F(["VPNavBar",a.value])},[u("div",er,[u("div",tr,[u("div",nr,[L(Wa,null,{"nav-bar-title-before":v(()=>[p(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[p(l.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),u("div",or,[u("div",sr,[p(l.$slots,"nav-bar-content-before",{},void 0,!0),L(Ra,{class:"search"}),L(Ca,{class:"menu"}),L(Qa,{class:"translations"}),L(Es,{class:"appearance"}),L(za,{class:"social-links"}),L(_a,{class:"extra"}),p(l.$slots,"nav-bar-content-after",{},void 0,!0),L($a,{class:"hamburger",active:l.isScreenOpen,onClick:i[0]||(i[0]=d=>l.$emit("toggle-screen"))},null,8,["active"])])])])]),ar],2))}}),ir=S(rr,[["__scopeId","data-v-37a6b570"]]),lr={key:0,class:"VPNavScreenAppearance"},cr={class:"text"},ur=m({__name:"VPNavScreenAppearance",setup(t){const{site:e,theme:n}=O();return(s,o)=>c(e).appearance&&c(e).appearance!=="force-dark"&&c(e).appearance!=="force-auto"?(r(),f("div",lr,[u("p",cr,I(c(n).darkModeSwitchLabel||"Appearance"),1),L(He)])):b("",!0)}}),dr=S(ur,[["__scopeId","data-v-beb3f918"]]),fr=m({__name:"VPNavScreenMenuLink",props:{item:{}},setup(t){const e=le("close-screen");return(n,s)=>(r(),$(q,{class:"VPNavScreenMenuLink",href:n.item.link,target:n.item.target,rel:n.item.rel,onClick:c(e),innerHTML:n.item.text},null,8,["href","target","rel","onClick","innerHTML"]))}}),pr=S(fr,[["__scopeId","data-v-6f3d2ab5"]]),vr=m({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(t){const e=le("close-screen");return(n,s)=>(r(),$(q,{class:"VPNavScreenMenuGroupLink",href:n.item.link,target:n.item.target,rel:n.item.rel,onClick:c(e)},{default:v(()=>[W(I(n.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),ut=S(vr,[["__scopeId","data-v-eab7bfa1"]]),hr={class:"VPNavScreenMenuGroupSection"},_r={key:0,class:"title"},mr=m({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(t){return(e,n)=>(r(),f("div",hr,[e.text?(r(),f("p",_r,I(e.text),1)):b("",!0),(r(!0),f(D,null,z(e.items,s=>(r(),$(ut,{key:s.text,item:s},null,8,["item"]))),128))]))}}),gr=S(mr,[["__scopeId","data-v-60ca4288"]]),br=t=>(j("data-v-9b54e8b4"),t=t(),R(),t),kr=["aria-controls","aria-expanded"],yr=["innerHTML"],$r=br(()=>u("span",{class:"vpi-plus button-icon"},null,-1)),Sr=["id"],Pr={key:0,class:"item"},Lr={key:1,class:"item"},wr={key:2,class:"group"},Vr=m({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(t){const e=t,n=A(!1),s=T(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function o(){n.value=!n.value}return(a,l)=>(r(),f("div",{class:F(["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,yr),$r],8,kr),u("div",{id:s.value,class:"items"},[(r(!0),f(D,null,z(a.items,i=>(r(),f(D,{key:JSON.stringify(i)},["link"in i?(r(),f("div",Pr,[L(ut,{item:i},null,8,["item"])])):"component"in i?(r(),f("div",Lr,[(r(),$(K(i.component),ee({ref_for:!0},i.props,{"screen-menu":""}),null,16))])):(r(),f("div",wr,[L(gr,{text:i.text,items:i.items},null,8,["text","items"])]))],64))),128))],8,Sr)],2))}}),Tr=S(Vr,[["__scopeId","data-v-9b54e8b4"]]),Ir={key:0,class:"VPNavScreenMenu"},Nr=m({__name:"VPNavScreenMenu",setup(t){const{theme:e}=O();return(n,s)=>c(e).nav?(r(),f("nav",Ir,[(r(!0),f(D,null,z(c(e).nav,o=>(r(),f(D,{key:JSON.stringify(o)},["link"in o?(r(),$(pr,{key:0,item:o},null,8,["item"])):"component"in o?(r(),$(K(o.component),ee({key:1,ref_for:!0},o.props,{"screen-menu":""}),null,16)):(r(),$(Tr,{key:2,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):b("",!0)}}),Cr=m({__name:"VPNavScreenSocialLinks",setup(t){const{theme:e}=O();return(n,s)=>c(e).socialLinks?(r(),$(je,{key:0,class:"VPNavScreenSocialLinks",links:c(e).socialLinks},null,8,["links"])):b("",!0)}}),dt=t=>(j("data-v-d9ff2423"),t=t(),R(),t),Ar=dt(()=>u("span",{class:"vpi-languages icon lang"},null,-1)),Mr=dt(()=>u("span",{class:"vpi-chevron-down icon chevron"},null,-1)),Er={class:"list"},Br=m({__name:"VPNavScreenTranslations",setup(t){const{localeLinks:e,currentLang:n}=ce({correspondingLink:!0}),s=A(!1);function o(){s.value=!s.value}return(a,l)=>c(e).length&&c(n).label?(r(),f("div",{key:0,class:F(["VPNavScreenTranslations",{open:s.value}])},[u("button",{class:"title",onClick:o},[Ar,W(" "+I(c(n).label)+" ",1),Mr]),u("ul",Er,[(r(!0),f(D,null,z(c(e),i=>(r(),f("li",{key:i.link,class:"item"},[L(q,{class:"link",href:i.link},{default:v(()=>[W(I(i.text),1)]),_:2},1032,["href"])]))),128))])],2)):b("",!0)}}),Or=S(Br,[["__scopeId","data-v-d9ff2423"]]),Hr={class:"container"},Dr=m({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(t){const e=A(null),n=Ze(ke?document.body:null);return(s,o)=>(r(),$(Ce,{name:"fade",onEnter:o[0]||(o[0]=a=>n.value=!0),onAfterLeave:o[1]||(o[1]=a=>n.value=!1)},{default:v(()=>[s.open?(r(),f("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e,id:"VPNavScreen"},[u("div",Hr,[p(s.$slots,"nav-screen-content-before",{},void 0,!0),L(Nr,{class:"menu"}),L(Or,{class:"translations"}),L(dr,{class:"appearance"}),L(Cr,{class:"social-links"}),p(s.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):b("",!0)]),_:3}))}}),Fr=S(Dr,[["__scopeId","data-v-c6c7bd45"]]),jr={key:0,class:"VPNav"},Rr=m({__name:"VPNav",setup(t){const{isScreenOpen:e,closeScreen:n,toggleScreen:s}=$s(),{frontmatter:o}=O(),a=T(()=>o.value.navbar!==!1);return et("close-screen",n),_e(()=>{ke&&document.documentElement.classList.toggle("hide-nav",!a.value)}),(l,i)=>a.value?(r(),f("header",jr,[L(ir,{"is-screen-open":c(e),onToggleScreen:c(s)},{"nav-bar-title-before":v(()=>[p(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[p(l.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[p(l.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[p(l.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),L(Fr,{open:c(e)},{"nav-screen-content-before":v(()=>[p(l.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[p(l.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):b("",!0)}}),Ur=S(Rr,[["__scopeId","data-v-d52d372b"]]),ft=t=>(j("data-v-b74067ae"),t=t(),R(),t),zr=["role","tabindex"],Gr=ft(()=>u("div",{class:"indicator"},null,-1)),xr=ft(()=>u("span",{class:"vpi-chevron-right caret-icon"},null,-1)),Kr=[xr],qr={key:1,class:"items"},Wr=m({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(t){const e=t,{collapsed:n,collapsible:s,isLink:o,isActiveLink:a,hasActiveLink:l,hasChildren:i,toggle:d}=fn(T(()=>e.item)),h=T(()=>i.value?"section":"div"),g=T(()=>o.value?"a":"div"),_=T(()=>i.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),k=T(()=>o.value?void 0:"button"),N=T(()=>[[`level-${e.depth}`],{collapsible:s.value},{collapsed:n.value},{"is-link":o.value},{"is-active":a.value},{"has-active":l.value}]);function V(y){"key"in y&&y.key!=="Enter"||!e.item.link&&d()}function M(){e.item.link&&d()}return(y,U)=>{const G=se("VPSidebarItem",!0);return r(),$(K(h.value),{class:F(["VPSidebarItem",N.value])},{default:v(()=>[y.item.text?(r(),f("div",ee({key:0,class:"item",role:k.value},Ft(y.item.items?{click:V,keydown:V}:{},!0),{tabindex:y.item.items&&0}),[Gr,y.item.link?(r(),$(q,{key:0,tag:g.value,class:"link",href:y.item.link,rel:y.item.rel,target:y.item.target},{default:v(()=>[(r(),$(K(_.value),{class:"text",innerHTML:y.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(r(),$(K(_.value),{key:1,class:"text",innerHTML:y.item.text},null,8,["innerHTML"])),y.item.collapsed!=null&&y.item.items&&y.item.items.length?(r(),f("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:M,onKeydown:jt(M,["enter"]),tabindex:"0"},Kr,32)):b("",!0)],16,zr)):b("",!0),y.item.items&&y.item.items.length?(r(),f("div",qr,[y.depth<5?(r(!0),f(D,{key:0},z(y.item.items,X=>(r(),$(G,{key:X.text,item:X,depth:y.depth+1},null,8,["item","depth"]))),128)):b("",!0)])):b("",!0)]),_:1},8,["class"])}}}),Jr=S(Wr,[["__scopeId","data-v-b74067ae"]]),Yr=m({__name:"VPSidebarGroup",props:{items:{}},setup(t){const e=A(!0);let n=null;return te(()=>{n=setTimeout(()=>{n=null,e.value=!1},300)}),Rt(()=>{n!=null&&(clearTimeout(n),n=null)}),(s,o)=>(r(!0),f(D,null,z(s.items,a=>(r(),f("div",{key:a.text,class:F(["group",{"no-transition":e.value}])},[L(Jr,{item:a,depth:0},null,8,["item"])],2))),128))}}),Xr=S(Yr,[["__scopeId","data-v-e3ecf1ec"]]),pt=t=>(j("data-v-f2245985"),t=t(),R(),t),Qr=pt(()=>u("div",{class:"curtain"},null,-1)),Zr={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},ei=pt(()=>u("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),ti=m({__name:"VPSidebar",props:{open:{type:Boolean}},setup(t){const{sidebarGroups:e,hasSidebar:n}=Y(),s=t,o=A(null),a=Ze(ke?document.body:null);J([s,o],()=>{var i;s.open?(a.value=!0,(i=o.value)==null||i.focus()):a.value=!1},{immediate:!0,flush:"post"});const l=A(0);return J(e,()=>{l.value+=1},{deep:!0}),(i,d)=>c(n)?(r(),f("aside",{key:0,class:F(["VPSidebar",{open:i.open}]),ref_key:"navEl",ref:o,onClick:d[0]||(d[0]=Ut(()=>{},["stop"]))},[Qr,u("nav",Zr,[ei,p(i.$slots,"sidebar-nav-before",{},void 0,!0),(r(),$(Xr,{items:c(e),key:l.value},null,8,["items"])),p(i.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):b("",!0)}}),ni=S(ti,[["__scopeId","data-v-f2245985"]]),oi=m({__name:"VPSkipLink",setup(t){const e=ge(),n=A();J(()=>e.path,()=>n.value.focus());function s({target:o}){const a=document.getElementById(decodeURIComponent(o.hash).slice(1));if(a){const l=()=>{a.removeAttribute("tabindex"),a.removeEventListener("blur",l)};a.setAttribute("tabindex","-1"),a.addEventListener("blur",l),a.focus(),window.scrollTo(0,0)}}return(o,a)=>(r(),f(D,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))}}),si=S(oi,[["__scopeId","data-v-a977b129"]]),ai=m({__name:"Layout",setup(t){const{isOpen:e,open:n,close:s}=Y(),o=ge();J(()=>o.path,s),dn(e,s);const{frontmatter:a}=O(),l=zt(),i=T(()=>!!l["home-hero-image"]);return et("hero-image-slot-exists",i),(d,h)=>{const g=se("Content");return c(a).layout!==!1?(r(),f("div",{key:0,class:F(["Layout",c(a).pageClass])},[p(d.$slots,"layout-top",{},void 0,!0),L(si),L(Jt,{class:"backdrop",show:c(e),onClick:c(s)},null,8,["show","onClick"]),L(Ur,null,{"nav-bar-title-before":v(()=>[p(d.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[p(d.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[p(d.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[p(d.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":v(()=>[p(d.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[p(d.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),L(ys,{open:c(e),onOpenMenu:c(n)},null,8,["open","onOpenMenu"]),L(ni,{open:c(e)},{"sidebar-nav-before":v(()=>[p(d.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":v(()=>[p(d.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),L(ts,null,{"page-top":v(()=>[p(d.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[p(d.$slots,"page-bottom",{},void 0,!0)]),"not-found":v(()=>[p(d.$slots,"not-found",{},void 0,!0)]),"home-hero-before":v(()=>[p(d.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":v(()=>[p(d.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":v(()=>[p(d.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":v(()=>[p(d.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":v(()=>[p(d.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":v(()=>[p(d.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[p(d.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[p(d.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[p(d.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":v(()=>[p(d.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[p(d.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[p(d.$slots,"doc-after",{},void 0,!0)]),"doc-top":v(()=>[p(d.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[p(d.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":v(()=>[p(d.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[p(d.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[p(d.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[p(d.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[p(d.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[p(d.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),L(rs),p(d.$slots,"layout-bottom",{},void 0,!0)],2)):(r(),$(g,{key:1}))}}}),ri=S(ai,[["__scopeId","data-v-7e3343f7"]]),vt={Layout:ri,enhanceApp:({app:t})=>{t.component("Badge",Kt)}},ht="LiteyukiStudio",_t="LiteyukiBot",ii="https://api.github.com",li="https://api.liteyuki.icu/online",ci="https://api.liteyuki.icu/count",fe=`https://github.com/${ht}/${_t}`,Ge="https://starmap.liteyuki.icu",re={getTotal:async()=>{try{return(await(await fetch(ci)).json()).register}catch{return-1}},getOnline:async()=>{try{return(await(await fetch(li)).json()).online}catch{return-1}},getGithubStats:async()=>{try{const e=await(await fetch(`${ii}/repos/${ht}/${_t}`)).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}}},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}}},ui={en:{stats:"Stats",online:"Online",offline:"Offline",total:"Total",fetching:"Fetching",stars:"Stars",forks:"Forks",issues:"Issues",prs:"Pull Requests",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"},zh:{stats:"统计信息",online:"在线",offline:"离线",total:"实例",fetching:"获取中",stars:"星星",forks:"叉子",issues:"开启议题",prs:"合并请求",size:"大小",plugins:"插件",resources:"主题资源",store:"商店",pluginStore:"插件商店",pluginStoreDesc:"内容来自轻雪插件商店轻雪通过lpnonebot插件对NoneBot实现支持引用了部分NoneBot插件",liteyukiOnly:"仅轻雪",search:"搜索",resourceStore:"资源商店"}};let he={};function mt(t,e){return t=Re(t),ui[t][e]}function Re(t){return t.includes("-")?t.split("-")[0]:t}function xe(){const t=Re(Ae().site.value.lang);for(let e in he)he[e].value=mt(t,e)}function Z(t){const e=Re(Ae().site.value.lang);return he[t]=mt(e,t),he[t]}/*!
* vue-router v4.4.3
* (c) 2024 Eduardo San Martin Morote
* @license MIT
*/var Ke;(function(t){t.pop="pop",t.push="push"})(Ke||(Ke={}));var qe;(function(t){t.back="back",t.forward="forward",t.unknown=""})(qe||(qe={}));var We;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(We||(We={}));const di=Symbol("");function fi(t,e,n){const s=()=>{t[e].delete(n)};ie(s),Gt(s),xt(()=>{t[e].add(n)}),t[e].add(n)}function pi(t){const e=le(di,{}).value;e&&fi(e,"updateGuards",t)}const vi=t=>(j("data-v-d5506e9d"),t=t(),R(),t),hi={class:"stats-bar-content"},_i={class:"stats-bar"},mi={class:"stats-info"},gi={class:"stats-title"},bi={class:"sections"},ki=["href"],yi={class:"section-tab"},$i={class:"text"},Si={class:"number"},Pi=vi(()=>u("div",{class:"starmap"},[u("iframe",{src:"https://starmap.liteyuki.icu/",width:"100%",height:"300px",class:"gamma"})],-1)),Li=m({__name:"StatsBar",setup(t){const{Layout:e}=vt;let n=null;const s={total:{name:"total",color:"#00a6ff",value:A(2005),link:Ge},online:{name:"online",color:"#00ff00",value:A(1145),link:Ge},stars:{name:"stars",color:"#ffcc00",value:A(1234),link:`${fe}/stargazers`},forks:{name:"forks",color:"#ff6600",value:A(9420),link:`${fe}/forks`},issues:{name:"issues",color:"#ff0000",value:A(1145),link:`${fe}/issues`},prs:{name:"prs",color:"#ff00ff",value:A(6543),link:`${fe}/pulls`},plugins:{name:"plugins",color:"#ff003e",value:A(1763),link:"./store/plugin"},resources:{name:"resources",color:"#ff00ff",value:A(6789),link:"./store/resource"}};async function o(){[s.online.value.value,s.total.value.value,s.plugins.value.value,s.resources.value.value,n]=await Promise.all([re.getOnline(),re.getTotal(),re.getPluginNum(),re.getResourceNum(),re.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}return te(()=>{const a=setInterval(o,1e4);o(),xe(),ie(()=>{clearInterval(a)})}),pi(()=>{xe()}),(a,l)=>(r(),$(c(e),null,{"home-features-before":v(()=>[u("div",hi,[u("div",_i,[u("div",mi,[u("div",gi,I(c(Z)("stats")),1),u("div",bi,[(r(!0),f(D,null,z(Object.values(s),i=>(r(),f("div",{key:i.name,class:"section"},[u("a",{href:i.link,target:"_blank"},[u("div",yi,[u("span",{class:"dot",style:be({backgroundColor:i.color})},null,4),u("span",$i,I(c(Z)(i.name)),1)]),u("div",Si,I(i.value.value),1)],8,ki)]))),128))])]),Pi])])]),_:1}))}}),Je=S(Li,[["__scopeId","data-v-d5506e9d"]]);var wi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Vi(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()})(wi,function(){return function(){var n={686:function(a,l,i){i.d(l,{default:function(){return It}});var d=i(279),h=i.n(d),g=i(370),_=i.n(g),k=i(817),N=i.n(k);function V(B){try{return document.execCommand(B)}catch{return!1}}var M=function(w){var P=N()(w);return V("cut"),P},y=M;function U(B){var w=document.documentElement.getAttribute("dir")==="rtl",P=document.createElement("textarea");P.style.fontSize="12pt",P.style.border="0",P.style.padding="0",P.style.margin="0",P.style.position="absolute",P.style[w?"right":"left"]="-9999px";var C=window.pageYOffset||document.documentElement.scrollTop;return P.style.top="".concat(C,"px"),P.setAttribute("readonly",""),P.value=B,P}var G=function(w,P){var C=U(w);P.container.appendChild(C);var E=N()(C);return V("copy"),C.remove(),E},X=function(w){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},C="";return typeof w=="string"?C=G(w,P):w instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(w==null?void 0:w.type)?C=G(w.value,P):(C=N()(w),V("copy")),C},ne=X;function Q(B){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Q=function(P){return typeof P}:Q=function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P},Q(B)}var bt=function(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},P=w.action,C=P===void 0?"copy":P,E=w.container,H=w.target,x=w.text;if(C!=="copy"&&C!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(H!==void 0)if(H&&Q(H)==="object"&&H.nodeType===1){if(C==="copy"&&H.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(C==="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(x)return ne(x,{container:E});if(H)return C==="cut"?y(H):ne(H,{container:E})},kt=bt;function ae(B){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ae=function(P){return typeof P}:ae=function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P},ae(B)}function yt(B,w){if(!(B instanceof w))throw new TypeError("Cannot call a class as a function")}function Ue(B,w){for(var P=0;P<w.length;P++){var C=w[P];C.enumerable=C.enumerable||!1,C.configurable=!0,"value"in C&&(C.writable=!0),Object.defineProperty(B,C.key,C)}}function $t(B,w,P){return w&&Ue(B.prototype,w),P&&Ue(B,P),B}function St(B,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function");B.prototype=Object.create(w&&w.prototype,{constructor:{value:B,writable:!0,configurable:!0}}),w&&$e(B,w)}function $e(B,w){return $e=Object.setPrototypeOf||function(C,E){return C.__proto__=E,C},$e(B,w)}function Pt(B){var w=Vt();return function(){var C=ue(B),E;if(w){var H=ue(this).constructor;E=Reflect.construct(C,arguments,H)}else E=C.apply(this,arguments);return Lt(this,E)}}function Lt(B,w){return w&&(ae(w)==="object"||typeof w=="function")?w:wt(B)}function wt(B){if(B===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return B}function Vt(){if(typeof Reflect>"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 ue(B){return ue=Object.setPrototypeOf?Object.getPrototypeOf:function(P){return P.__proto__||Object.getPrototypeOf(P)},ue(B)}function Se(B,w){var P="data-clipboard-".concat(B);if(w.hasAttribute(P))return w.getAttribute(P)}var Tt=function(B){St(P,B);var w=Pt(P);function P(C,E){var H;return yt(this,P),H=w.call(this),H.resolveOptions(E),H.listenClick(C),H}return $t(P,[{key:"resolveOptions",value:function(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof E.action=="function"?E.action:this.defaultAction,this.target=typeof E.target=="function"?E.target:this.defaultTarget,this.text=typeof E.text=="function"?E.text:this.defaultText,this.container=ae(E.container)==="object"?E.container:document.body}},{key:"listenClick",value:function(E){var H=this;this.listener=_()(E,"click",function(x){return H.onClick(x)})}},{key:"onClick",value:function(E){var H=E.delegateTarget||E.currentTarget,x=this.action(H)||"copy",de=kt({action:x,container:this.container,target:this.target(H),text:this.text(H)});this.emit(de?"success":"error",{action:x,text:de,trigger:H,clearSelection:function(){H&&H.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(E){return Se("action",E)}},{key:"defaultTarget",value:function(E){var H=Se("target",E);if(H)return document.querySelector(H)}},{key:"defaultText",value:function(E){return Se("text",E)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(E){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return ne(E,H)}},{key:"cut",value:function(E){return y(E)}},{key:"isSupported",value:function(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],H=typeof E=="string"?[E]:E,x=!!document.queryCommandSupported;return H.forEach(function(de){x=x&&!!document.queryCommandSupported(de)}),x}}]),P}(h()),It=Tt},828:function(a){var l=9;if(typeof Element<"u"&&!Element.prototype.matches){var i=Element.prototype;i.matches=i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}function d(h,g){for(;h&&h.nodeType!==l;){if(typeof h.matches=="function"&&h.matches(g))return h;h=h.parentNode}}a.exports=d},438:function(a,l,i){var d=i(828);function h(k,N,V,M,y){var U=_.apply(this,arguments);return k.addEventListener(V,U,y),{destroy:function(){k.removeEventListener(V,U,y)}}}function g(k,N,V,M,y){return typeof k.addEventListener=="function"?h.apply(null,arguments):typeof V=="function"?h.bind(null,document).apply(null,arguments):(typeof k=="string"&&(k=document.querySelectorAll(k)),Array.prototype.map.call(k,function(U){return h(U,N,V,M,y)}))}function _(k,N,V,M){return function(y){y.delegateTarget=d(y.target,N),y.delegateTarget&&M.call(k,y)}}a.exports=g},879:function(a,l){l.node=function(i){return i!==void 0&&i instanceof HTMLElement&&i.nodeType===1},l.nodeList=function(i){var d=Object.prototype.toString.call(i);return i!==void 0&&(d==="[object NodeList]"||d==="[object HTMLCollection]")&&"length"in i&&(i.length===0||l.node(i[0]))},l.string=function(i){return typeof i=="string"||i instanceof String},l.fn=function(i){var d=Object.prototype.toString.call(i);return d==="[object Function]"}},370:function(a,l,i){var d=i(879),h=i(438);function g(V,M,y){if(!V&&!M&&!y)throw new Error("Missing required arguments");if(!d.string(M))throw new TypeError("Second argument must be a String");if(!d.fn(y))throw new TypeError("Third argument must be a Function");if(d.node(V))return _(V,M,y);if(d.nodeList(V))return k(V,M,y);if(d.string(V))return N(V,M,y);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function _(V,M,y){return V.addEventListener(M,y),{destroy:function(){V.removeEventListener(M,y)}}}function k(V,M,y){return Array.prototype.forEach.call(V,function(U){U.addEventListener(M,y)}),{destroy:function(){Array.prototype.forEach.call(V,function(U){U.removeEventListener(M,y)})}}}function N(V,M,y){return h(document.body,V,M,y)}a.exports=g},817:function(a){function l(i){var d;if(i.nodeName==="SELECT")i.focus(),d=i.value;else if(i.nodeName==="INPUT"||i.nodeName==="TEXTAREA"){var h=i.hasAttribute("readonly");h||i.setAttribute("readonly",""),i.select(),i.setSelectionRange(0,i.value.length),h||i.removeAttribute("readonly"),d=i.value}else{i.hasAttribute("contenteditable")&&i.focus();var g=window.getSelection(),_=document.createRange();_.selectNodeContents(i),g.removeAllRanges(),g.addRange(_),d=g.toString()}return d}a.exports=l},279:function(a){function l(){}l.prototype={on:function(i,d,h){var g=this.e||(this.e={});return(g[i]||(g[i]=[])).push({fn:d,ctx:h}),this},once:function(i,d,h){var g=this;function _(){g.off(i,_),d.apply(h,arguments)}return _._=d,this.on(i,_,h)},emit:function(i){var d=[].slice.call(arguments,1),h=((this.e||(this.e={}))[i]||[]).slice(),g=0,_=h.length;for(g;g<_;g++)h[g].fn.apply(h[g].ctx,d);return this},off:function(i,d){var h=this.e||(this.e={}),g=h[i],_=[];if(g&&d)for(var k=0,N=g.length;k<N;k++)g[k].fn!==d&&g[k].fn._!==d&&_.push(g[k]);return _.length?h[i]=_:delete h[i],this}},a.exports=l,a.exports.TinyEmitter=l}},s={};function o(a){if(s[a])return s[a].exports;var l=s[a]={exports:{}};return n[a](l,l.exports,o),l.exports}return function(){o.n=function(a){var l=a&&a.__esModule?function(){return a.default}:function(){return a};return o.d(l,{a:l}),l}}(),function(){o.d=function(a,l){for(var i in l)o.o(l,i)&&!o.o(a,i)&&Object.defineProperty(a,i,{enumerable:!0,get:l[i]})}}(),function(){o.o=function(a,l){return Object.prototype.hasOwnProperty.call(a,l)}}(),o(686)}().default})})(gt);var Ti=gt.exports;const Ii=Vi(Ti),Ni=t=>(j("data-v-47fec8ad"),t=t(),R(),t),Ci={class:"item-card"},Ai={class:"item-name"},Mi={class:"item-description"},Ei={class:"tags"},Bi={class:"item-bar"},Oi=["href"],Hi=Ni(()=>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)),Di=[Hi],Fi={class:"btn"},ji=["href"],Ri=["src"],Ui={class:"author-name"},zi=m({__name:"PluginItemCard",props:{item:Object},setup(t){const e=t,n=()=>{const o=new Ii(".copy-btn",{text:()=>`npm install ${e.item.module_name}`});o.on("success",()=>{}),o.on("error",()=>{})},s=o=>{const a=o.replace(/^#/,""),[l,i,d]=a.match(/.{2}/g).map(g=>parseInt(g,16)),h=(l*299+i*587+d*114)/1e3;return{backgroundColor:o,color:h>128?"#000":"#fff"}};return(o,a)=>(r(),f("div",Ci,[u("div",Ai,I(e.item.name),1),u("div",Mi,I(e.item.desc),1),u("div",Ei,[(r(!0),f(D,null,z(e.item.tags,l=>(r(),f("span",{class:"tag",key:l,style:be(s(l.color))},I(l.label),5))),128))]),u("div",Bi,[u("a",{href:e.item.homepage,class:"btn"},Di,8,Oi),u("button",{class:"btn copy-btn",onClick:n},"复制安装命令"),u("div",Fi,[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,Ri),u("div",Ui,I(e.item.author),1)],8,ji)])])]))}}),Gi=S(zi,[["__scopeId","data-v-47fec8ad"]]),xi=t=>(j("data-v-b3db11d1"),t=t(),R(),t),Ki={class:"switch"},qi=["checked"],Wi=xi(()=>u("span",{class:"slider round"},null,-1)),Ji=m({__name:"ToggleSwitch",props:{modelValue:Boolean},emits:["update:modelValue"],setup(t,{emit:e}){const n=e,s=o=>{n("update:modelValue",o)};return(o,a)=>(r(),f("label",Ki,[u("input",{type:"checkbox",checked:t.modelValue,onChange:a[0]||(a[0]=l=>s(l.target.checked))},null,40,qi),Wi]))}}),Yi=S(Ji,[["__scopeId","data-v-b3db11d1"]]),Xi={class:"market"},Qi={class:"search-box-div"},Zi=["placeholder"],el={class:"items"},tl=m({__name:"PluginStore",setup(t){let e=A(!1),n=T(()=>{let a=s.value;return o.value&&(a=a.filter(l=>l.name.toLowerCase().includes(o.value.toLowerCase())||l.desc.toLowerCase().includes(o.value.toLowerCase())||l.author.toLowerCase().includes(o.value.toLowerCase())||l.module_name.toLowerCase().includes(o.value.toLowerCase()))),e.value&&(a=a.filter(l=>l.is_liteyuki_plugin)),a}),s=A([]),o=A("");return fetch("/plugins.json").then(a=>a.json()).then(a=>{a.forEach(l=>{l.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(l=>{l.is_official=!1}),s.value=s.value.concat(a)}),(a,l)=>(r(),f("div",Xi,[u("h1",null,I(c(Z)("pluginStore")),1),u("p",null,I(c(Z)("pluginStoreDesc")),1),u("div",Qi,[tt(u("input",{class:"item-search-box",type:"text","onUpdate:modelValue":l[0]||(l[0]=i=>Ve(o)?o.value=i:o=i),placeholder:c(Z)("search")},null,8,Zi),[[nt,c(o)]]),L(Yi,{modelValue:c(e),"onUpdate:modelValue":l[1]||(l[1]=i=>Ve(e)?e.value=i:e=i)},null,8,["modelValue"]),W(" "+I(c(Z)("liteyukiOnly")),1)]),u("div",el,[(r(!0),f(D,null,z(c(n),i=>(r(),$(Gi,{key:i.id,item:i},null,8,["item"]))),128))])]))}}),nl=S(tl,[["__scopeId","data-v-6346d2b7"]]),ol=t=>(j("data-v-debfd7f7"),t=t(),R(),t),sl={class:"item-card"},al={class:"item-name"},rl={class:"item-description"},il={class:"item-bar"},ll=["href"],cl=ol(()=>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)),ul=[cl],dl=["href"],fl=["src"],pl={class:"author-name"},vl=m({__name:"ResItemCard",props:{item:Object},setup(t){const e=t;return(n,s)=>(r(),f("div",sl,[u("div",al,I(e.item.name),1),u("div",rl,I(e.item.description),1),u("div",il,[u("a",{href:e.item.link,class:""},ul,8,ll),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,fl),u("div",pl,I(e.item.author),1)],8,dl)])])]))}}),hl=S(vl,[["__scopeId","data-v-debfd7f7"]]),_l={class:"market"},ml={class:"search-box-div"},gl=["placeholder"],bl={class:"items"},kl=m({__name:"ResStore",setup(t){let e=T(()=>s.value?n.value.filter(o=>o.name.toLowerCase().includes(s.value.toLowerCase())||o.description.toLowerCase().includes(s.value.toLowerCase())||o.author.toLowerCase().includes(s.value.toLowerCase())).reverse():n.value.reverse()),n=A([]),s=A("");return fetch("/resources.json").then(o=>o.json()).then(o=>{n.value=o}).catch(o=>console.error(o)),(o,a)=>(r(),f("div",_l,[u("h1",null,I(c(Z)("resourceStore")),1),u("div",ml,[tt(u("input",{class:"item-search-box",type:"text",placeholder:c(Z)("search"),"onUpdate:modelValue":a[0]||(a[0]=l=>Ve(s)?s.value=l:s=l)},null,8,gl),[[nt,c(s)]])]),u("div",bl,[(r(!0),f(D,null,z(c(e),l=>(r(),$(hl,{key:l.id,item:l},null,8,["item"]))),128))])]))}}),yl=S(kl,[["__scopeId","data-v-121a15bf"]]),Pl={extends:vt,enhanceApp({app:t}){t.component("StatsBar",Je),t.component("PluginStore",nl),t.component("ResStore",yl)},Layout:Je};export{Pl as R,Aa as c,O as u};