-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththeme.BxoX7LQB.js
2 lines (2 loc) · 103 KB
/
theme.BxoX7LQB.js
1
2
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/VPLocalSearchBox.D53LkpU5.js","assets/chunks/framework.DgZLXPSQ.js"])))=>i.map(i=>d[i]);
import{d as k,o as l,c as p,r as h,n as H,a as D,t as I,b as T,w as v,T as kt,e as $,_ as L,u as Ko,i as Yo,f as Xo,g as Pt,h as V,j as d,k as u,p as F,l as R,m as we,q as pt,s as B,v as pe,x as Ye,y as ke,z as St,A as Tt,B as Jo,C as Qo,D as J,F as E,E as U,G as no,H as Xe,I as S,J as ae,K as so,L as Je,M as re,N as Qe,O as Zo,P as Le,Q as ht,R as io,S as ao,U as Ze,V as en,W as tn,X as on,Y as ro,Z as lo,$ as co,a0 as nn,a1 as sn,a2 as an,a3 as rn,a4 as ln,a5 as cn,a6 as dn,a7 as un,a8 as pn}from"./framework.DgZLXPSQ.js";const hn=k({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(e){return(t,o)=>(l(),p("span",{class:H(["VPBadge",t.type])},[h(t.$slots,"default",{},()=>[D(I(t.text),1)])],2))}}),fn={key:0,class:"VPBackdrop"},mn=k({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(t,o)=>(l(),T(kt,{name:"fade"},{default:v(()=>[t.show?(l(),p("div",fn)):$("",!0)]),_:1}))}}),vn=L(mn,[["__scopeId","data-v-c79a1216"]]),N=Ko;function _n(e,t){let o,n=!1;return()=>{o&&clearTimeout(o),n?o=setTimeout(e,t):(e(),(n=!0)&&setTimeout(()=>n=!1,t))}}function ft(e){return/^\//.test(e)?e:`/${e}`}function Lt(e){const{pathname:t,search:o,hash:n,protocol:s}=new URL(e,"http://a.com");if(Yo(e)||e.startsWith("#")||!s.startsWith("http")||!Xo(t))return e;const{site:i}=N(),a=t.endsWith("/")||t.endsWith(".html")?e:e.replace(/(?:(^\.+)\/)?.*$/,`$1${t.replace(/(\.md)?$/,i.value.cleanUrls?"":".html")}${o}${n}`);return Pt(a)}function Oe({correspondingLink:e=!1}={}){const{site:t,localeIndex:o,page:n,theme:s,hash:i}=N(),a=V(()=>{var c,f;return{label:(c=t.value.locales[o.value])==null?void 0:c.label,link:((f=t.value.locales[o.value])==null?void 0:f.link)||(o.value==="root"?"/":`/${o.value}/`)}});return{localeLinks:V(()=>Object.entries(t.value.locales).flatMap(([c,f])=>a.value.label===f.label?[]:{text:f.label,link:gn(f.link||(c==="root"?"/":`/${c}/`),s.value.i18nRouting!==!1&&e,n.value.relativePath.slice(a.value.link.length-1),!t.value.cleanUrls)+i.value})),currentLang:a}}function gn(e,t,o,n){return t?e.replace(/\/$/,"")+ft(o.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,n?".html":"")):e}const yn=e=>(F("data-v-d6be1790"),e=e(),R(),e),bn={class:"NotFound"},$n={class:"code"},wn={class:"title"},kn=yn(()=>d("div",{class:"divider"},null,-1)),Pn={class:"quote"},Sn={class:"action"},Tn=["href","aria-label"],Ln=k({__name:"NotFound",setup(e){const{theme:t}=N(),{currentLang:o}=Oe();return(n,s)=>{var i,a,r,c,f;return l(),p("div",bn,[d("p",$n,I(((i=u(t).notFound)==null?void 0:i.code)??"404"),1),d("h1",wn,I(((a=u(t).notFound)==null?void 0:a.title)??"PAGE NOT FOUND"),1),kn,d("blockquote",Pn,I(((r=u(t).notFound)==null?void 0:r.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),d("div",Sn,[d("a",{class:"link",href:u(Pt)(u(o).link),"aria-label":((c=u(t).notFound)==null?void 0:c.linkLabel)??"go to home"},I(((f=u(t).notFound)==null?void 0:f.linkText)??"Take me home"),9,Tn)])])}}}),An=L(Ln,[["__scopeId","data-v-d6be1790"]]);function uo(e,t){if(Array.isArray(e))return Fe(e);if(e==null)return[];t=ft(t);const o=Object.keys(e).sort((s,i)=>i.split("/").length-s.split("/").length).find(s=>t.startsWith(ft(s))),n=o?e[o]:[];return Array.isArray(n)?Fe(n):Fe(n.items,n.base)}function Vn(e){const t=[];let o=0;for(const n in e){const s=e[n];if(s.items){o=t.push(s);continue}t[o]||t.push({items:[]}),t[o].items.push(s)}return t}function Cn(e){const t=[];function o(n){for(const s of n)s.text&&s.link&&t.push({text:s.text,link:s.link,docFooterText:s.docFooterText}),s.items&&o(s.items)}return o(e),t}function mt(e,t){return Array.isArray(t)?t.some(o=>mt(e,o)):we(e,t.link)?!0:t.items?mt(e,t.items):!1}function Fe(e,t){return[...e].map(o=>{const n={...o},s=n.base||t;return s&&n.link&&(n.link=s+n.link),n.items&&(n.items=Fe(n.items,s)),n})}function he(){const{frontmatter:e,page:t,theme:o}=N(),n=pt("(min-width: 960px)"),s=B(!1),i=V(()=>{const P=o.value.sidebar,w=t.value.relativePath;return P?uo(P,w):[]}),a=B(i.value);pe(i,(P,w)=>{JSON.stringify(P)!==JSON.stringify(w)&&(a.value=i.value)});const r=V(()=>e.value.sidebar!==!1&&a.value.length>0&&e.value.layout!=="home"),c=V(()=>f?e.value.aside==null?o.value.aside==="left":e.value.aside==="left":!1),f=V(()=>e.value.layout==="home"?!1:e.value.aside!=null?!!e.value.aside:o.value.aside!==!1),y=V(()=>r.value&&n.value),m=V(()=>r.value?Vn(a.value):[]);function _(){s.value=!0}function g(){s.value=!1}function b(){s.value?g():_()}return{isOpen:s,sidebar:a,sidebarGroups:m,hasSidebar:r,hasAside:f,leftAside:c,isSidebarEnabled:y,open:_,close:g,toggle:b}}function Nn(e,t){let o;Ye(()=>{o=e.value?document.activeElement:void 0}),ke(()=>{window.addEventListener("keyup",n)}),St(()=>{window.removeEventListener("keyup",n)});function n(s){s.key==="Escape"&&e.value&&(t(),o==null||o.focus())}}function Mn(e){const{page:t,hash:o}=N(),n=B(!1),s=V(()=>e.value.collapsed!=null),i=V(()=>!!e.value.link),a=B(!1),r=()=>{a.value=we(t.value.relativePath,e.value.link)};pe([t,e,o],r),ke(r);const c=V(()=>a.value?!0:e.value.items?mt(t.value.relativePath,e.value.items):!1),f=V(()=>!!(e.value.items&&e.value.items.length));Ye(()=>{n.value=!!(s.value&&e.value.collapsed)}),Tt(()=>{(a.value||c.value)&&(n.value=!1)});function y(){s.value&&(n.value=!n.value)}return{collapsed:n,collapsible:s,isLink:i,isActiveLink:a,hasActiveLink:c,hasChildren:f,toggle:y}}function xn(){const{hasSidebar:e}=he(),t=pt("(min-width: 960px)"),o=pt("(min-width: 1280px)");return{isAsideEnabled:V(()=>!o.value&&!t.value?!1:e.value?o.value:t.value)}}const vt=[];function po(e){return typeof e.outline=="object"&&!Array.isArray(e.outline)&&e.outline.label||e.outlineTitle||"On this page"}function At(e){const t=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(o=>o.id&&o.hasChildNodes()).map(o=>{const n=Number(o.tagName[1]);return{element:o,title:In(o),link:"#"+o.id,level:n}});return Hn(t,e)}function In(e){let t="";for(const o of e.childNodes)if(o.nodeType===1){if(o.classList.contains("VPBadge")||o.classList.contains("header-anchor")||o.classList.contains("ignore-header"))continue;t+=o.textContent}else o.nodeType===3&&(t+=o.textContent);return t.trim()}function Hn(e,t){if(t===!1)return[];const o=(typeof t=="object"&&!Array.isArray(t)?t.level:t)||2,[n,s]=typeof o=="number"?[o,o]:o==="deep"?[2,6]:o;e=e.filter(a=>a.level>=n&&a.level<=s),vt.length=0;for(const{element:a,link:r}of e)vt.push({element:a,link:r});const i=[];e:for(let a=0;a<e.length;a++){const r=e[a];if(a===0)i.push(r);else{for(let c=a-1;c>=0;c--){const f=e[c];if(f.level<r.level){(f.children||(f.children=[])).push(r);continue e}}i.push(r)}}return i}function Bn(e,t){const{isAsideEnabled:o}=xn(),n=_n(i,100);let s=null;ke(()=>{requestAnimationFrame(i),window.addEventListener("scroll",n)}),Jo(()=>{a(location.hash)}),St(()=>{window.removeEventListener("scroll",n)});function i(){if(!o.value)return;const r=window.scrollY,c=window.innerHeight,f=document.body.offsetHeight,y=Math.abs(r+c-f)<1,m=vt.map(({element:g,link:b})=>({link:b,top:On(g)})).filter(({top:g})=>!Number.isNaN(g)).sort((g,b)=>g.top-b.top);if(!m.length){a(null);return}if(r<1){a(null);return}if(y){a(m[m.length-1].link);return}let _=null;for(const{link:g,top:b}of m){if(b>r+Qo()+4)break;_=g}a(_)}function a(r){s&&s.classList.remove("active"),r==null?s=null:s=e.value.querySelector(`a[href="${decodeURIComponent(r)}"]`);const c=s;c?(c.classList.add("active"),t.value.style.top=c.offsetTop+39+"px",t.value.style.opacity="1"):(t.value.style.top="33px",t.value.style.opacity="0")}}function On(e){let t=0;for(;e!==document.body;){if(e===null)return NaN;t+=e.offsetTop,e=e.offsetParent}return t}const En=["href","title"],Dn=k({__name:"VPDocOutlineItem",props:{headers:{},root:{type:Boolean}},setup(e){function t({target:o}){const n=o.href.split("#")[1],s=document.getElementById(decodeURIComponent(n));s==null||s.focus({preventScroll:!0})}return(o,n)=>{const s=J("VPDocOutlineItem",!0);return l(),p("ul",{class:H(["VPDocOutlineItem",o.root?"root":"nested"])},[(l(!0),p(E,null,U(o.headers,({children:i,link:a,title:r})=>(l(),p("li",null,[d("a",{class:"outline-link",href:a,onClick:t,title:r},I(r),9,En),i!=null&&i.length?(l(),T(s,{key:0,headers:i},null,8,["headers"])):$("",!0)]))),256))],2)}}}),ho=L(Dn,[["__scopeId","data-v-b933a997"]]),zn={class:"content"},Fn={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},Rn=k({__name:"VPDocAsideOutline",setup(e){const{frontmatter:t,theme:o}=N(),n=no([]);Xe(()=>{n.value=At(t.value.outline??o.value.outline)});const s=B(),i=B();return Bn(s,i),(a,r)=>(l(),p("nav",{"aria-labelledby":"doc-outline-aria-label",class:H(["VPDocAsideOutline",{"has-outline":n.value.length>0}]),ref_key:"container",ref:s},[d("div",zn,[d("div",{class:"outline-marker",ref_key:"marker",ref:i},null,512),d("div",Fn,I(u(po)(u(o))),1),S(ho,{headers:n.value,root:!0},null,8,["headers"])])],2))}}),jn=L(Rn,[["__scopeId","data-v-a5bbad30"]]),Wn={class:"VPDocAsideCarbonAds"},Gn=k({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(e){const t=()=>null;return(o,n)=>(l(),p("div",Wn,[S(u(t),{"carbon-ads":o.carbonAds},null,8,["carbon-ads"])]))}}),Un=e=>(F("data-v-3f215769"),e=e(),R(),e),qn={class:"VPDocAside"},Kn=Un(()=>d("div",{class:"spacer"},null,-1)),Yn=k({__name:"VPDocAside",setup(e){const{theme:t}=N();return(o,n)=>(l(),p("div",qn,[h(o.$slots,"aside-top",{},void 0,!0),h(o.$slots,"aside-outline-before",{},void 0,!0),S(jn),h(o.$slots,"aside-outline-after",{},void 0,!0),Kn,h(o.$slots,"aside-ads-before",{},void 0,!0),u(t).carbonAds?(l(),T(Gn,{key:0,"carbon-ads":u(t).carbonAds},null,8,["carbon-ads"])):$("",!0),h(o.$slots,"aside-ads-after",{},void 0,!0),h(o.$slots,"aside-bottom",{},void 0,!0)]))}}),Xn=L(Yn,[["__scopeId","data-v-3f215769"]]);function Jn(){const{theme:e,page:t}=N();return V(()=>{const{text:o="Edit this page",pattern:n=""}=e.value.editLink||{};let s;return typeof n=="function"?s=n(t.value):s=n.replace(/:path/g,t.value.filePath),{url:s,text:o}})}function Qn(){const{page:e,theme:t,frontmatter:o}=N();return V(()=>{var f,y,m,_,g,b,P,w;const n=uo(t.value.sidebar,e.value.relativePath),s=Cn(n),i=Zn(s,A=>A.link.replace(/[?#].*$/,"")),a=i.findIndex(A=>we(e.value.relativePath,A.link)),r=((f=t.value.docFooter)==null?void 0:f.prev)===!1&&!o.value.prev||o.value.prev===!1,c=((y=t.value.docFooter)==null?void 0:y.next)===!1&&!o.value.next||o.value.next===!1;return{prev:r?void 0:{text:(typeof o.value.prev=="string"?o.value.prev:typeof o.value.prev=="object"?o.value.prev.text:void 0)??((m=i[a-1])==null?void 0:m.docFooterText)??((_=i[a-1])==null?void 0:_.text),link:(typeof o.value.prev=="object"?o.value.prev.link:void 0)??((g=i[a-1])==null?void 0:g.link)},next:c?void 0:{text:(typeof o.value.next=="string"?o.value.next:typeof o.value.next=="object"?o.value.next.text:void 0)??((b=i[a+1])==null?void 0:b.docFooterText)??((P=i[a+1])==null?void 0:P.text),link:(typeof o.value.next=="object"?o.value.next.link:void 0)??((w=i[a+1])==null?void 0:w.link)}}})}function Zn(e,t){const o=new Set;return e.filter(n=>{const s=t(n);return o.has(s)?!1:o.add(s)})}const X=k({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(e){const t=e,o=V(()=>t.tag??(t.href?"a":"span")),n=V(()=>t.href&&so.test(t.href)||t.target==="_blank");return(s,i)=>(l(),T(ae(o.value),{class:H(["VPLink",{link:s.href,"vp-external-link-icon":n.value,"no-icon":s.noIcon}]),href:s.href?u(Lt)(s.href):void 0,target:s.target??(n.value?"_blank":void 0),rel:s.rel??(n.value?"noreferrer":void 0)},{default:v(()=>[h(s.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),es={class:"VPLastUpdated"},ts=["datetime"],os=k({__name:"VPDocFooterLastUpdated",setup(e){const{theme:t,page:o,lang:n}=N(),s=V(()=>new Date(o.value.lastUpdated)),i=V(()=>s.value.toISOString()),a=B("");return ke(()=>{Ye(()=>{var r,c,f;a.value=new Intl.DateTimeFormat((c=(r=t.value.lastUpdated)==null?void 0:r.formatOptions)!=null&&c.forceLocale?n.value:void 0,((f=t.value.lastUpdated)==null?void 0:f.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(s.value)})}),(r,c)=>{var f;return l(),p("p",es,[D(I(((f=u(t).lastUpdated)==null?void 0:f.text)||u(t).lastUpdatedText||"Last updated")+": ",1),d("time",{datetime:i.value},I(a.value),9,ts)])}}}),ns=L(os,[["__scopeId","data-v-e98dd255"]]),fo=e=>(F("data-v-e257564d"),e=e(),R(),e),ss={key:0,class:"VPDocFooter"},is={key:0,class:"edit-info"},as={key:0,class:"edit-link"},rs=fo(()=>d("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),ls={key:1,class:"last-updated"},cs={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},ds=fo(()=>d("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),us={class:"pager"},ps=["innerHTML"],hs=["innerHTML"],fs={class:"pager"},ms=["innerHTML"],vs=["innerHTML"],_s=k({__name:"VPDocFooter",setup(e){const{theme:t,page:o,frontmatter:n}=N(),s=Jn(),i=Qn(),a=V(()=>t.value.editLink&&n.value.editLink!==!1),r=V(()=>o.value.lastUpdated),c=V(()=>a.value||r.value||i.value.prev||i.value.next);return(f,y)=>{var m,_,g,b;return c.value?(l(),p("footer",ss,[h(f.$slots,"doc-footer-before",{},void 0,!0),a.value||r.value?(l(),p("div",is,[a.value?(l(),p("div",as,[S(X,{class:"edit-link-button",href:u(s).url,"no-icon":!0},{default:v(()=>[rs,D(" "+I(u(s).text),1)]),_:1},8,["href"])])):$("",!0),r.value?(l(),p("div",ls,[S(ns)])):$("",!0)])):$("",!0),(m=u(i).prev)!=null&&m.link||(_=u(i).next)!=null&&_.link?(l(),p("nav",cs,[ds,d("div",us,[(g=u(i).prev)!=null&&g.link?(l(),T(X,{key:0,class:"pager-link prev",href:u(i).prev.link},{default:v(()=>{var P;return[d("span",{class:"desc",innerHTML:((P=u(t).docFooter)==null?void 0:P.prev)||"Previous page"},null,8,ps),d("span",{class:"title",innerHTML:u(i).prev.text},null,8,hs)]}),_:1},8,["href"])):$("",!0)]),d("div",fs,[(b=u(i).next)!=null&&b.link?(l(),T(X,{key:0,class:"pager-link next",href:u(i).next.link},{default:v(()=>{var P;return[d("span",{class:"desc",innerHTML:((P=u(t).docFooter)==null?void 0:P.next)||"Next page"},null,8,ms),d("span",{class:"title",innerHTML:u(i).next.text},null,8,vs)]}),_:1},8,["href"])):$("",!0)])])):$("",!0)])):$("",!0)}}}),gs=L(_s,[["__scopeId","data-v-e257564d"]]),ys=e=>(F("data-v-39a288b8"),e=e(),R(),e),bs={class:"container"},$s=ys(()=>d("div",{class:"aside-curtain"},null,-1)),ws={class:"aside-container"},ks={class:"aside-content"},Ps={class:"content"},Ss={class:"content-container"},Ts={class:"main"},Ls=k({__name:"VPDoc",setup(e){const{theme:t}=N(),o=Je(),{hasSidebar:n,hasAside:s,leftAside:i}=he(),a=V(()=>o.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(r,c)=>{const f=J("Content");return l(),p("div",{class:H(["VPDoc",{"has-sidebar":u(n),"has-aside":u(s)}])},[h(r.$slots,"doc-top",{},void 0,!0),d("div",bs,[u(s)?(l(),p("div",{key:0,class:H(["aside",{"left-aside":u(i)}])},[$s,d("div",ws,[d("div",ks,[S(Xn,null,{"aside-top":v(()=>[h(r.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[h(r.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[h(r.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[h(r.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[h(r.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[h(r.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):$("",!0),d("div",Ps,[d("div",Ss,[h(r.$slots,"doc-before",{},void 0,!0),d("main",Ts,[S(f,{class:H(["vp-doc",[a.value,u(t).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),S(gs,null,{"doc-footer-before":v(()=>[h(r.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),h(r.$slots,"doc-after",{},void 0,!0)])])]),h(r.$slots,"doc-bottom",{},void 0,!0)],2)}}}),As=L(Ls,[["__scopeId","data-v-39a288b8"]]),Vs=k({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(e){const t=e,o=V(()=>t.href&&so.test(t.href)),n=V(()=>t.tag||t.href?"a":"button");return(s,i)=>(l(),T(ae(n.value),{class:H(["VPButton",[s.size,s.theme]]),href:s.href?u(Lt)(s.href):void 0,target:t.target??(o.value?"_blank":void 0),rel:t.rel??(o.value?"noreferrer":void 0)},{default:v(()=>[D(I(s.text),1)]),_:1},8,["class","href","target","rel"]))}}),Cs=L(Vs,[["__scopeId","data-v-cad61b99"]]),Ns=["src","alt"],Ms=k({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(e){return(t,o)=>{const n=J("VPImage",!0);return t.image?(l(),p(E,{key:0},[typeof t.image=="string"||"src"in t.image?(l(),p("img",re({key:0,class:"VPImage"},typeof t.image=="string"?t.$attrs:{...t.image,...t.$attrs},{src:u(Pt)(typeof t.image=="string"?t.image:t.image.src),alt:t.alt??(typeof t.image=="string"?"":t.image.alt||"")}),null,16,Ns)):(l(),p(E,{key:1},[S(n,re({class:"dark",image:t.image.dark,alt:t.image.alt},t.$attrs),null,16,["image","alt"]),S(n,re({class:"light",image:t.image.light,alt:t.image.alt},t.$attrs),null,16,["image","alt"])],64))],64)):$("",!0)}}}),je=L(Ms,[["__scopeId","data-v-8426fc1a"]]),xs=e=>(F("data-v-303bb580"),e=e(),R(),e),Is={class:"container"},Hs={class:"main"},Bs={key:0,class:"name"},Os=["innerHTML"],Es=["innerHTML"],Ds=["innerHTML"],zs={key:0,class:"actions"},Fs={key:0,class:"image"},Rs={class:"image-container"},js=xs(()=>d("div",{class:"image-bg"},null,-1)),Ws=k({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(e){const t=Qe("hero-image-slot-exists");return(o,n)=>(l(),p("div",{class:H(["VPHero",{"has-image":o.image||u(t)}])},[d("div",Is,[d("div",Hs,[h(o.$slots,"home-hero-info-before",{},void 0,!0),h(o.$slots,"home-hero-info",{},()=>[o.name?(l(),p("h1",Bs,[d("span",{innerHTML:o.name,class:"clip"},null,8,Os)])):$("",!0),o.text?(l(),p("p",{key:1,innerHTML:o.text,class:"text"},null,8,Es)):$("",!0),o.tagline?(l(),p("p",{key:2,innerHTML:o.tagline,class:"tagline"},null,8,Ds)):$("",!0)],!0),h(o.$slots,"home-hero-info-after",{},void 0,!0),o.actions?(l(),p("div",zs,[(l(!0),p(E,null,U(o.actions,s=>(l(),p("div",{key:s.link,class:"action"},[S(Cs,{tag:"a",size:"medium",theme:s.theme,text:s.text,href:s.link,target:s.target,rel:s.rel},null,8,["theme","text","href","target","rel"])]))),128))])):$("",!0),h(o.$slots,"home-hero-actions-after",{},void 0,!0)]),o.image||u(t)?(l(),p("div",Fs,[d("div",Rs,[js,h(o.$slots,"home-hero-image",{},()=>[o.image?(l(),T(je,{key:0,class:"image-src",image:o.image},null,8,["image"])):$("",!0)],!0)])])):$("",!0)])],2))}}),Gs=L(Ws,[["__scopeId","data-v-303bb580"]]),Us=k({__name:"VPHomeHero",setup(e){const{frontmatter:t}=N();return(o,n)=>u(t).hero?(l(),T(Gs,{key:0,class:"VPHomeHero",name:u(t).hero.name,text:u(t).hero.text,tagline:u(t).hero.tagline,image:u(t).hero.image,actions:u(t).hero.actions},{"home-hero-info-before":v(()=>[h(o.$slots,"home-hero-info-before")]),"home-hero-info":v(()=>[h(o.$slots,"home-hero-info")]),"home-hero-info-after":v(()=>[h(o.$slots,"home-hero-info-after")]),"home-hero-actions-after":v(()=>[h(o.$slots,"home-hero-actions-after")]),"home-hero-image":v(()=>[h(o.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):$("",!0)}}),qs=e=>(F("data-v-a3976bdc"),e=e(),R(),e),Ks={class:"box"},Ys={key:0,class:"icon"},Xs=["innerHTML"],Js=["innerHTML"],Qs=["innerHTML"],Zs={key:4,class:"link-text"},ei={class:"link-text-value"},ti=qs(()=>d("span",{class:"vpi-arrow-right link-text-icon"},null,-1)),oi=k({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(e){return(t,o)=>(l(),T(X,{class:"VPFeature",href:t.link,rel:t.rel,target:t.target,"no-icon":!0,tag:t.link?"a":"div"},{default:v(()=>[d("article",Ks,[typeof t.icon=="object"&&t.icon.wrap?(l(),p("div",Ys,[S(je,{image:t.icon,alt:t.icon.alt,height:t.icon.height||48,width:t.icon.width||48},null,8,["image","alt","height","width"])])):typeof t.icon=="object"?(l(),T(je,{key:1,image:t.icon,alt:t.icon.alt,height:t.icon.height||48,width:t.icon.width||48},null,8,["image","alt","height","width"])):t.icon?(l(),p("div",{key:2,class:"icon",innerHTML:t.icon},null,8,Xs)):$("",!0),d("h2",{class:"title",innerHTML:t.title},null,8,Js),t.details?(l(),p("p",{key:3,class:"details",innerHTML:t.details},null,8,Qs)):$("",!0),t.linkText?(l(),p("div",Zs,[d("p",ei,[D(I(t.linkText)+" ",1),ti])])):$("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),ni=L(oi,[["__scopeId","data-v-a3976bdc"]]),si={key:0,class:"VPFeatures"},ii={class:"container"},ai={class:"items"},ri=k({__name:"VPFeatures",props:{features:{}},setup(e){const t=e,o=V(()=>{const n=t.features.length;if(n){if(n===2)return"grid-2";if(n===3)return"grid-3";if(n%3===0)return"grid-6";if(n>3)return"grid-4"}else return});return(n,s)=>n.features?(l(),p("div",si,[d("div",ii,[d("div",ai,[(l(!0),p(E,null,U(n.features,i=>(l(),p("div",{key:i.title,class:H(["item",[o.value]])},[S(ni,{icon:i.icon,title:i.title,details:i.details,link:i.link,"link-text":i.linkText,rel:i.rel,target:i.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):$("",!0)}}),li=L(ri,[["__scopeId","data-v-a6181336"]]),ci=k({__name:"VPHomeFeatures",setup(e){const{frontmatter:t}=N();return(o,n)=>u(t).features?(l(),T(li,{key:0,class:"VPHomeFeatures",features:u(t).features},null,8,["features"])):$("",!0)}}),di=k({__name:"VPHomeContent",setup(e){const{width:t}=Zo({initialWidth:0,includeScrollbar:!1});return(o,n)=>(l(),p("div",{class:"vp-doc container",style:Le(u(t)?{"--vp-offset":`calc(50% - ${u(t)/2}px)`}:{})},[h(o.$slots,"default",{},void 0,!0)],4))}}),ui=L(di,[["__scopeId","data-v-8e2d4988"]]),pi={class:"VPHome"},hi=k({__name:"VPHome",setup(e){const{frontmatter:t}=N();return(o,n)=>{const s=J("Content");return l(),p("div",pi,[h(o.$slots,"home-hero-before",{},void 0,!0),S(Us,null,{"home-hero-info-before":v(()=>[h(o.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":v(()=>[h(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":v(()=>[h(o.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":v(()=>[h(o.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":v(()=>[h(o.$slots,"home-hero-image",{},void 0,!0)]),_:3}),h(o.$slots,"home-hero-after",{},void 0,!0),h(o.$slots,"home-features-before",{},void 0,!0),S(ci),h(o.$slots,"home-features-after",{},void 0,!0),u(t).markdownStyles!==!1?(l(),T(ui,{key:0},{default:v(()=>[S(s)]),_:1})):(l(),T(s,{key:1}))])}}}),fi=L(hi,[["__scopeId","data-v-686f80a6"]]),mi={},vi={class:"VPPage"};function _i(e,t){const o=J("Content");return l(),p("div",vi,[h(e.$slots,"page-top"),S(o),h(e.$slots,"page-bottom")])}const gi=L(mi,[["render",_i]]),yi=k({__name:"VPContent",setup(e){const{page:t,frontmatter:o}=N(),{hasSidebar:n}=he();return(s,i)=>(l(),p("div",{class:H(["VPContent",{"has-sidebar":u(n),"is-home":u(o).layout==="home"}]),id:"VPContent"},[u(t).isNotFound?h(s.$slots,"not-found",{key:0},()=>[S(An)],!0):u(o).layout==="page"?(l(),T(gi,{key:1},{"page-top":v(()=>[h(s.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[h(s.$slots,"page-bottom",{},void 0,!0)]),_:3})):u(o).layout==="home"?(l(),T(fi,{key:2},{"home-hero-before":v(()=>[h(s.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":v(()=>[h(s.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":v(()=>[h(s.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":v(()=>[h(s.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":v(()=>[h(s.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":v(()=>[h(s.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[h(s.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[h(s.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[h(s.$slots,"home-features-after",{},void 0,!0)]),_:3})):u(o).layout&&u(o).layout!=="doc"?(l(),T(ae(u(o).layout),{key:3})):(l(),T(As,{key:4},{"doc-top":v(()=>[h(s.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[h(s.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":v(()=>[h(s.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[h(s.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[h(s.$slots,"doc-after",{},void 0,!0)]),"aside-top":v(()=>[h(s.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":v(()=>[h(s.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[h(s.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[h(s.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[h(s.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":v(()=>[h(s.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),bi=L(yi,[["__scopeId","data-v-1428d186"]]),$i={class:"container"},wi=["innerHTML"],ki=["innerHTML"],Pi=k({__name:"VPFooter",setup(e){const{theme:t,frontmatter:o}=N(),{hasSidebar:n}=he();return(s,i)=>u(t).footer&&u(o).footer!==!1?(l(),p("footer",{key:0,class:H(["VPFooter",{"has-sidebar":u(n)}])},[d("div",$i,[u(t).footer.message?(l(),p("p",{key:0,class:"message",innerHTML:u(t).footer.message},null,8,wi)):$("",!0),u(t).footer.copyright?(l(),p("p",{key:1,class:"copyright",innerHTML:u(t).footer.copyright},null,8,ki)):$("",!0)])],2)):$("",!0)}}),Si=L(Pi,[["__scopeId","data-v-e315a0ad"]]);function Ti(){const{theme:e,frontmatter:t}=N(),o=no([]),n=V(()=>o.value.length>0);return Xe(()=>{o.value=At(t.value.outline??e.value.outline)}),{headers:o,hasLocalNav:n}}const Li=e=>(F("data-v-17a5e62e"),e=e(),R(),e),Ai={class:"menu-text"},Vi=Li(()=>d("span",{class:"vpi-chevron-right icon"},null,-1)),Ci={class:"header"},Ni={class:"outline"},Mi=k({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(e){const t=e,{theme:o}=N(),n=B(!1),s=B(0),i=B(),a=B();function r(m){var _;(_=i.value)!=null&&_.contains(m.target)||(n.value=!1)}pe(n,m=>{if(m){document.addEventListener("click",r);return}document.removeEventListener("click",r)}),ht("Escape",()=>{n.value=!1}),Xe(()=>{n.value=!1});function c(){n.value=!n.value,s.value=window.innerHeight+Math.min(window.scrollY-t.navHeight,0)}function f(m){m.target.classList.contains("outline-link")&&(a.value&&(a.value.style.transition="none"),io(()=>{n.value=!1}))}function y(){n.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(m,_)=>(l(),p("div",{class:"VPLocalNavOutlineDropdown",style:Le({"--vp-vh":s.value+"px"}),ref_key:"main",ref:i},[m.headers.length>0?(l(),p("button",{key:0,onClick:c,class:H({open:n.value})},[d("span",Ai,I(u(po)(u(o))),1),Vi],2)):(l(),p("button",{key:1,onClick:y},I(u(o).returnToTopLabel||"Return to top"),1)),S(kt,{name:"flyout"},{default:v(()=>[n.value?(l(),p("div",{key:0,ref_key:"items",ref:a,class:"items",onClick:f},[d("div",Ci,[d("a",{class:"top-link",href:"#",onClick:y},I(u(o).returnToTopLabel||"Return to top"),1)]),d("div",Ni,[S(ho,{headers:m.headers},null,8,["headers"])])],512)):$("",!0)]),_:1})],4))}}),xi=L(Mi,[["__scopeId","data-v-17a5e62e"]]),Ii=e=>(F("data-v-a6f0e41e"),e=e(),R(),e),Hi={class:"container"},Bi=["aria-expanded"],Oi=Ii(()=>d("span",{class:"vpi-align-left menu-icon"},null,-1)),Ei={class:"menu-text"},Di=k({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(e){const{theme:t,frontmatter:o}=N(),{hasSidebar:n}=he(),{headers:s}=Ti(),{y:i}=ao(),a=B(0);ke(()=>{a.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),Xe(()=>{s.value=At(o.value.outline??t.value.outline)});const r=V(()=>s.value.length===0),c=V(()=>r.value&&!n.value),f=V(()=>({VPLocalNav:!0,"has-sidebar":n.value,empty:r.value,fixed:c.value}));return(y,m)=>u(o).layout!=="home"&&(!c.value||u(i)>=a.value)?(l(),p("div",{key:0,class:H(f.value)},[d("div",Hi,[u(n)?(l(),p("button",{key:0,class:"menu","aria-expanded":y.open,"aria-controls":"VPSidebarNav",onClick:m[0]||(m[0]=_=>y.$emit("open-menu"))},[Oi,d("span",Ei,I(u(t).sidebarMenuLabel||"Menu"),1)],8,Bi)):$("",!0),S(xi,{headers:u(s),navHeight:a.value},null,8,["headers","navHeight"])])],2)):$("",!0)}}),zi=L(Di,[["__scopeId","data-v-a6f0e41e"]]);function Fi(){const e=B(!1);function t(){e.value=!0,window.addEventListener("resize",s)}function o(){e.value=!1,window.removeEventListener("resize",s)}function n(){e.value?o():t()}function s(){window.outerWidth>=768&&o()}const i=Je();return pe(()=>i.path,o),{isScreenOpen:e,openScreen:t,closeScreen:o,toggleScreen:n}}const Ri={},ji={class:"VPSwitch",type:"button",role:"switch"},Wi={class:"check"},Gi={key:0,class:"icon"};function Ui(e,t){return l(),p("button",ji,[d("span",Wi,[e.$slots.default?(l(),p("span",Gi,[h(e.$slots,"default",{},void 0,!0)])):$("",!0)])])}const qi=L(Ri,[["render",Ui],["__scopeId","data-v-1d5665e3"]]),mo=e=>(F("data-v-5337faa4"),e=e(),R(),e),Ki=mo(()=>d("span",{class:"vpi-sun sun"},null,-1)),Yi=mo(()=>d("span",{class:"vpi-moon moon"},null,-1)),Xi=k({__name:"VPSwitchAppearance",setup(e){const{isDark:t,theme:o}=N(),n=Qe("toggle-appearance",()=>{t.value=!t.value}),s=B("");return Tt(()=>{s.value=t.value?o.value.lightModeSwitchTitle||"Switch to light theme":o.value.darkModeSwitchTitle||"Switch to dark theme"}),(i,a)=>(l(),T(qi,{title:s.value,class:"VPSwitchAppearance","aria-checked":u(t),onClick:u(n)},{default:v(()=>[Ki,Yi]),_:1},8,["title","aria-checked","onClick"]))}}),Vt=L(Xi,[["__scopeId","data-v-5337faa4"]]),Ji={key:0,class:"VPNavBarAppearance"},Qi=k({__name:"VPNavBarAppearance",setup(e){const{site:t}=N();return(o,n)=>u(t).appearance&&u(t).appearance!=="force-dark"&&u(t).appearance!=="force-auto"?(l(),p("div",Ji,[S(Vt)])):$("",!0)}}),Zi=L(Qi,[["__scopeId","data-v-6c893767"]]),Ct=B();let vo=!1,lt=0;function ea(e){const t=B(!1);if(Ze){!vo&&ta(),lt++;const o=pe(Ct,n=>{var s,i,a;n===e.el.value||(s=e.el.value)!=null&&s.contains(n)?(t.value=!0,(i=e.onFocus)==null||i.call(e)):(t.value=!1,(a=e.onBlur)==null||a.call(e))});St(()=>{o(),lt--,lt||oa()})}return en(t)}function ta(){document.addEventListener("focusin",_o),vo=!0,Ct.value=document.activeElement}function oa(){document.removeEventListener("focusin",_o)}function _o(){Ct.value=document.activeElement}const na={class:"VPMenuLink"},sa=k({__name:"VPMenuLink",props:{item:{}},setup(e){const{page:t}=N();return(o,n)=>(l(),p("div",na,[S(X,{class:H({active:u(we)(u(t).relativePath,o.item.activeMatch||o.item.link,!!o.item.activeMatch)}),href:o.item.link,target:o.item.target,rel:o.item.rel},{default:v(()=>[D(I(o.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),et=L(sa,[["__scopeId","data-v-43f1e123"]]),ia={class:"VPMenuGroup"},aa={key:0,class:"title"},ra=k({__name:"VPMenuGroup",props:{text:{},items:{}},setup(e){return(t,o)=>(l(),p("div",ia,[t.text?(l(),p("p",aa,I(t.text),1)):$("",!0),(l(!0),p(E,null,U(t.items,n=>(l(),p(E,null,["link"in n?(l(),T(et,{key:0,item:n},null,8,["item"])):$("",!0)],64))),256))]))}}),la=L(ra,[["__scopeId","data-v-69e747b5"]]),ca={class:"VPMenu"},da={key:0,class:"items"},ua=k({__name:"VPMenu",props:{items:{}},setup(e){return(t,o)=>(l(),p("div",ca,[t.items?(l(),p("div",da,[(l(!0),p(E,null,U(t.items,n=>(l(),p(E,{key:JSON.stringify(n)},["link"in n?(l(),T(et,{key:0,item:n},null,8,["item"])):"component"in n?(l(),T(ae(n.component),re({key:1,ref_for:!0},n.props),null,16)):(l(),T(la,{key:2,text:n.text,items:n.items},null,8,["text","items"]))],64))),128))])):$("",!0),h(t.$slots,"default",{},void 0,!0)]))}}),pa=L(ua,[["__scopeId","data-v-b98bc113"]]),ha=e=>(F("data-v-b6c34ac9"),e=e(),R(),e),fa=["aria-expanded","aria-label"],ma={key:0,class:"text"},va=["innerHTML"],_a=ha(()=>d("span",{class:"vpi-chevron-down text-icon"},null,-1)),ga={key:1,class:"vpi-more-horizontal icon"},ya={class:"menu"},ba=k({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(e){const t=B(!1),o=B();ea({el:o,onBlur:n});function n(){t.value=!1}return(s,i)=>(l(),p("div",{class:"VPFlyout",ref_key:"el",ref:o,onMouseenter:i[1]||(i[1]=a=>t.value=!0),onMouseleave:i[2]||(i[2]=a=>t.value=!1)},[d("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":t.value,"aria-label":s.label,onClick:i[0]||(i[0]=a=>t.value=!t.value)},[s.button||s.icon?(l(),p("span",ma,[s.icon?(l(),p("span",{key:0,class:H([s.icon,"option-icon"])},null,2)):$("",!0),s.button?(l(),p("span",{key:1,innerHTML:s.button},null,8,va)):$("",!0),_a])):(l(),p("span",ga))],8,fa),d("div",ya,[S(pa,{items:s.items},{default:v(()=>[h(s.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),Nt=L(ba,[["__scopeId","data-v-b6c34ac9"]]),$a=["href","aria-label","innerHTML"],wa=k({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(e){const t=e,o=V(()=>typeof t.icon=="object"?t.icon.svg:`<span class="vpi-social-${t.icon}" />`);return(n,s)=>(l(),p("a",{class:"VPSocialLink no-icon",href:n.link,"aria-label":n.ariaLabel??(typeof n.icon=="string"?n.icon:""),target:"_blank",rel:"noopener",innerHTML:o.value},null,8,$a))}}),ka=L(wa,[["__scopeId","data-v-eee4e7cb"]]),Pa={class:"VPSocialLinks"},Sa=k({__name:"VPSocialLinks",props:{links:{}},setup(e){return(t,o)=>(l(),p("div",Pa,[(l(!0),p(E,null,U(t.links,({link:n,icon:s,ariaLabel:i})=>(l(),T(ka,{key:n,icon:s,link:n,ariaLabel:i},null,8,["icon","link","ariaLabel"]))),128))]))}}),tt=L(Sa,[["__scopeId","data-v-7bc22406"]]),Ta={key:0,class:"group translations"},La={class:"trans-title"},Aa={key:1,class:"group"},Va={class:"item appearance"},Ca={class:"label"},Na={class:"appearance-action"},Ma={key:2,class:"group"},xa={class:"item social-links"},Ia=k({__name:"VPNavBarExtra",setup(e){const{site:t,theme:o}=N(),{localeLinks:n,currentLang:s}=Oe({correspondingLink:!0}),i=V(()=>n.value.length&&s.value.label||t.value.appearance||o.value.socialLinks);return(a,r)=>i.value?(l(),T(Nt,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:v(()=>[u(n).length&&u(s).label?(l(),p("div",Ta,[d("p",La,I(u(s).label),1),(l(!0),p(E,null,U(u(n),c=>(l(),T(et,{key:c.link,item:c},null,8,["item"]))),128))])):$("",!0),u(t).appearance&&u(t).appearance!=="force-dark"&&u(t).appearance!=="force-auto"?(l(),p("div",Aa,[d("div",Va,[d("p",Ca,I(u(o).darkModeSwitchLabel||"Appearance"),1),d("div",Na,[S(Vt)])])])):$("",!0),u(o).socialLinks?(l(),p("div",Ma,[d("div",xa,[S(tt,{class:"social-links-list",links:u(o).socialLinks},null,8,["links"])])])):$("",!0)]),_:1})):$("",!0)}}),Ha=L(Ia,[["__scopeId","data-v-bb2aa2f0"]]),Ba=e=>(F("data-v-e5dd9c1c"),e=e(),R(),e),Oa=["aria-expanded"],Ea=Ba(()=>d("span",{class:"container"},[d("span",{class:"top"}),d("span",{class:"middle"}),d("span",{class:"bottom"})],-1)),Da=[Ea],za=k({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(e){return(t,o)=>(l(),p("button",{type:"button",class:H(["VPNavBarHamburger",{active:t.active}]),"aria-label":"mobile navigation","aria-expanded":t.active,"aria-controls":"VPNavScreen",onClick:o[0]||(o[0]=n=>t.$emit("click"))},Da,10,Oa))}}),Fa=L(za,[["__scopeId","data-v-e5dd9c1c"]]),Ra=["innerHTML"],ja=k({__name:"VPNavBarMenuLink",props:{item:{}},setup(e){const{page:t}=N();return(o,n)=>(l(),T(X,{class:H({VPNavBarMenuLink:!0,active:u(we)(u(t).relativePath,o.item.activeMatch||o.item.link,!!o.item.activeMatch)}),href:o.item.link,noIcon:o.item.noIcon,target:o.item.target,rel:o.item.rel,tabindex:"0"},{default:v(()=>[d("span",{innerHTML:o.item.text},null,8,Ra)]),_:1},8,["class","href","noIcon","target","rel"]))}}),Wa=L(ja,[["__scopeId","data-v-9c663999"]]),Ga=k({__name:"VPNavBarMenuGroup",props:{item:{}},setup(e){const t=e,{page:o}=N(),n=i=>"component"in i?!1:"link"in i?we(o.value.relativePath,i.link,!!t.item.activeMatch):i.items.some(n),s=V(()=>n(t.item));return(i,a)=>(l(),T(Nt,{class:H({VPNavBarMenuGroup:!0,active:u(we)(u(o).relativePath,i.item.activeMatch,!!i.item.activeMatch)||s.value}),button:i.item.text,items:i.item.items},null,8,["class","button","items"]))}}),Ua=e=>(F("data-v-dc692963"),e=e(),R(),e),qa={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Ka=Ua(()=>d("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),Ya=k({__name:"VPNavBarMenu",setup(e){const{theme:t}=N();return(o,n)=>u(t).nav?(l(),p("nav",qa,[Ka,(l(!0),p(E,null,U(u(t).nav,s=>(l(),p(E,{key:JSON.stringify(s)},["link"in s?(l(),T(Wa,{key:0,item:s},null,8,["item"])):"component"in s?(l(),T(ae(s.component),re({key:1,ref_for:!0},s.props),null,16)):(l(),T(Ga,{key:2,item:s},null,8,["item"]))],64))),128))])):$("",!0)}}),Xa=L(Ya,[["__scopeId","data-v-dc692963"]]);function Ja(e){const{localeIndex:t,theme:o}=N();function n(s){var b,P,w;const i=s.split("."),a=(b=o.value.search)==null?void 0:b.options,r=a&&typeof a=="object",c=r&&((w=(P=a.locales)==null?void 0:P[t.value])==null?void 0:w.translations)||null,f=r&&a.translations||null;let y=c,m=f,_=e;const g=i.pop();for(const A of i){let C=null;const M=_==null?void 0:_[A];M&&(C=_=M);const z=m==null?void 0:m[A];z&&(C=m=z);const O=y==null?void 0:y[A];O&&(C=y=O),M||(_=C),z||(m=C),O||(y=C)}return(y==null?void 0:y[g])??(m==null?void 0:m[g])??(_==null?void 0:_[g])??""}return n}const Qa=["aria-label"],Za={class:"DocSearch-Button-Container"},er=d("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1),tr={class:"DocSearch-Button-Placeholder"},or=d("span",{class:"DocSearch-Button-Keys"},[d("kbd",{class:"DocSearch-Button-Key"}),d("kbd",{class:"DocSearch-Button-Key"},"K")],-1),Bt=k({__name:"VPNavBarSearchButton",setup(e){const o=Ja({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(n,s)=>(l(),p("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":u(o)("button.buttonAriaLabel")},[d("span",Za,[er,d("span",tr,I(u(o)("button.buttonText")),1)]),or],8,Qa))}}),nr={class:"VPNavBarSearch"},sr={id:"local-search"},ir={key:1,id:"docsearch"},ar=k({__name:"VPNavBarSearch",setup(e){const t=tn(()=>on(()=>import("./VPLocalSearchBox.D53LkpU5.js"),__vite__mapDeps([0,1]))),o=()=>null,{theme:n}=N(),s=B(!1),i=B(!1);ke(()=>{});function a(){s.value||(s.value=!0,setTimeout(r,16))}function r(){const m=new Event("keydown");m.key="k",m.metaKey=!0,window.dispatchEvent(m),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||r()},16)}function c(m){const _=m.target,g=_.tagName;return _.isContentEditable||g==="INPUT"||g==="SELECT"||g==="TEXTAREA"}const f=B(!1);ht("k",m=>{(m.ctrlKey||m.metaKey)&&(m.preventDefault(),f.value=!0)}),ht("/",m=>{c(m)||(m.preventDefault(),f.value=!0)});const y="local";return(m,_)=>{var g;return l(),p("div",nr,[u(y)==="local"?(l(),p(E,{key:0},[f.value?(l(),T(u(t),{key:0,onClose:_[0]||(_[0]=b=>f.value=!1)})):$("",!0),d("div",sr,[S(Bt,{onClick:_[1]||(_[1]=b=>f.value=!0)})])],64)):u(y)==="algolia"?(l(),p(E,{key:1},[s.value?(l(),T(u(o),{key:0,algolia:((g=u(n).search)==null?void 0:g.options)??u(n).algolia,onVnodeBeforeMount:_[2]||(_[2]=b=>i.value=!0)},null,8,["algolia"])):$("",!0),i.value?$("",!0):(l(),p("div",ir,[S(Bt,{onClick:a})]))],64)):$("",!0)])}}}),rr=k({__name:"VPNavBarSocialLinks",setup(e){const{theme:t}=N();return(o,n)=>u(t).socialLinks?(l(),T(tt,{key:0,class:"VPNavBarSocialLinks",links:u(t).socialLinks},null,8,["links"])):$("",!0)}}),lr=L(rr,[["__scopeId","data-v-0394ad82"]]),cr=["href","rel","target"],dr={key:1},ur={key:2},pr=k({__name:"VPNavBarTitle",setup(e){const{site:t,theme:o}=N(),{hasSidebar:n}=he(),{currentLang:s}=Oe(),i=V(()=>{var c;return typeof o.value.logoLink=="string"?o.value.logoLink:(c=o.value.logoLink)==null?void 0:c.link}),a=V(()=>{var c;return typeof o.value.logoLink=="string"||(c=o.value.logoLink)==null?void 0:c.rel}),r=V(()=>{var c;return typeof o.value.logoLink=="string"||(c=o.value.logoLink)==null?void 0:c.target});return(c,f)=>(l(),p("div",{class:H(["VPNavBarTitle",{"has-sidebar":u(n)}])},[d("a",{class:"title",href:i.value??u(Lt)(u(s).link),rel:a.value,target:r.value},[h(c.$slots,"nav-bar-title-before",{},void 0,!0),u(o).logo?(l(),T(je,{key:0,class:"logo",image:u(o).logo},null,8,["image"])):$("",!0),u(o).siteTitle?(l(),p("span",dr,I(u(o).siteTitle),1)):u(o).siteTitle===void 0?(l(),p("span",ur,I(u(t).title),1)):$("",!0),h(c.$slots,"nav-bar-title-after",{},void 0,!0)],8,cr)],2))}}),hr=L(pr,[["__scopeId","data-v-ab179fa1"]]),fr={class:"items"},mr={class:"title"},vr=k({__name:"VPNavBarTranslations",setup(e){const{theme:t}=N(),{localeLinks:o,currentLang:n}=Oe({correspondingLink:!0});return(s,i)=>u(o).length&&u(n).label?(l(),T(Nt,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:u(t).langMenuLabel||"Change language"},{default:v(()=>[d("div",fr,[d("p",mr,I(u(n).label),1),(l(!0),p(E,null,U(u(o),a=>(l(),T(et,{key:a.link,item:a},null,8,["item"]))),128))])]),_:1},8,["label"])):$("",!0)}}),_r=L(vr,[["__scopeId","data-v-88af2de4"]]),gr=e=>(F("data-v-6aa21345"),e=e(),R(),e),yr={class:"wrapper"},br={class:"container"},$r={class:"title"},wr={class:"content"},kr={class:"content-body"},Pr=gr(()=>d("div",{class:"divider"},[d("div",{class:"divider-line"})],-1)),Sr=k({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(e){const t=e,{y:o}=ao(),{hasSidebar:n}=he(),{frontmatter:s}=N(),i=B({});return Tt(()=>{i.value={"has-sidebar":n.value,home:s.value.layout==="home",top:o.value===0,"screen-open":t.isScreenOpen}}),(a,r)=>(l(),p("div",{class:H(["VPNavBar",i.value])},[d("div",yr,[d("div",br,[d("div",$r,[S(hr,null,{"nav-bar-title-before":v(()=>[h(a.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[h(a.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),d("div",wr,[d("div",kr,[h(a.$slots,"nav-bar-content-before",{},void 0,!0),S(ar,{class:"search"}),S(Xa,{class:"menu"}),S(_r,{class:"translations"}),S(Zi,{class:"appearance"}),S(lr,{class:"social-links"}),S(Ha,{class:"extra"}),h(a.$slots,"nav-bar-content-after",{},void 0,!0),S(Fa,{class:"hamburger",active:a.isScreenOpen,onClick:r[0]||(r[0]=c=>a.$emit("toggle-screen"))},null,8,["active"])])])])]),Pr],2))}}),Tr=L(Sr,[["__scopeId","data-v-6aa21345"]]),Lr={key:0,class:"VPNavScreenAppearance"},Ar={class:"text"},Vr=k({__name:"VPNavScreenAppearance",setup(e){const{site:t,theme:o}=N();return(n,s)=>u(t).appearance&&u(t).appearance!=="force-dark"&&u(t).appearance!=="force-auto"?(l(),p("div",Lr,[d("p",Ar,I(u(o).darkModeSwitchLabel||"Appearance"),1),S(Vt)])):$("",!0)}}),Cr=L(Vr,[["__scopeId","data-v-b44890b2"]]),Nr=k({__name:"VPNavScreenMenuLink",props:{item:{}},setup(e){const t=Qe("close-screen");return(o,n)=>(l(),T(X,{class:"VPNavScreenMenuLink",href:o.item.link,target:o.item.target,rel:o.item.rel,onClick:u(t),innerHTML:o.item.text},null,8,["href","target","rel","onClick","innerHTML"]))}}),Mr=L(Nr,[["__scopeId","data-v-7f31e1f6"]]),xr=k({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(e){const t=Qe("close-screen");return(o,n)=>(l(),T(X,{class:"VPNavScreenMenuGroupLink",href:o.item.link,target:o.item.target,rel:o.item.rel,onClick:u(t)},{default:v(()=>[D(I(o.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),go=L(xr,[["__scopeId","data-v-19976ae1"]]),Ir={class:"VPNavScreenMenuGroupSection"},Hr={key:0,class:"title"},Br=k({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(e){return(t,o)=>(l(),p("div",Ir,[t.text?(l(),p("p",Hr,I(t.text),1)):$("",!0),(l(!0),p(E,null,U(t.items,n=>(l(),T(go,{key:n.text,item:n},null,8,["item"]))),128))]))}}),Or=L(Br,[["__scopeId","data-v-8133b170"]]),Er=e=>(F("data-v-b9ab8c58"),e=e(),R(),e),Dr=["aria-controls","aria-expanded"],zr=["innerHTML"],Fr=Er(()=>d("span",{class:"vpi-plus button-icon"},null,-1)),Rr=["id"],jr={key:0,class:"item"},Wr={key:1,class:"item"},Gr={key:2,class:"group"},Ur=k({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(e){const t=e,o=B(!1),n=V(()=>`NavScreenGroup-${t.text.replace(" ","-").toLowerCase()}`);function s(){o.value=!o.value}return(i,a)=>(l(),p("div",{class:H(["VPNavScreenMenuGroup",{open:o.value}])},[d("button",{class:"button","aria-controls":n.value,"aria-expanded":o.value,onClick:s},[d("span",{class:"button-text",innerHTML:i.text},null,8,zr),Fr],8,Dr),d("div",{id:n.value,class:"items"},[(l(!0),p(E,null,U(i.items,r=>(l(),p(E,{key:JSON.stringify(r)},["link"in r?(l(),p("div",jr,[S(go,{item:r},null,8,["item"])])):"component"in r?(l(),p("div",Wr,[(l(),T(ae(r.component),re({ref_for:!0},r.props,{"screen-menu":""}),null,16))])):(l(),p("div",Gr,[S(Or,{text:r.text,items:r.items},null,8,["text","items"])]))],64))),128))],8,Rr)],2))}}),qr=L(Ur,[["__scopeId","data-v-b9ab8c58"]]),Kr={key:0,class:"VPNavScreenMenu"},Yr=k({__name:"VPNavScreenMenu",setup(e){const{theme:t}=N();return(o,n)=>u(t).nav?(l(),p("nav",Kr,[(l(!0),p(E,null,U(u(t).nav,s=>(l(),p(E,{key:JSON.stringify(s)},["link"in s?(l(),T(Mr,{key:0,item:s},null,8,["item"])):"component"in s?(l(),T(ae(s.component),re({key:1,ref_for:!0},s.props,{"screen-menu":""}),null,16)):(l(),T(qr,{key:2,text:s.text||"",items:s.items},null,8,["text","items"]))],64))),128))])):$("",!0)}}),Xr=k({__name:"VPNavScreenSocialLinks",setup(e){const{theme:t}=N();return(o,n)=>u(t).socialLinks?(l(),T(tt,{key:0,class:"VPNavScreenSocialLinks",links:u(t).socialLinks},null,8,["links"])):$("",!0)}}),yo=e=>(F("data-v-858fe1a4"),e=e(),R(),e),Jr=yo(()=>d("span",{class:"vpi-languages icon lang"},null,-1)),Qr=yo(()=>d("span",{class:"vpi-chevron-down icon chevron"},null,-1)),Zr={class:"list"},el=k({__name:"VPNavScreenTranslations",setup(e){const{localeLinks:t,currentLang:o}=Oe({correspondingLink:!0}),n=B(!1);function s(){n.value=!n.value}return(i,a)=>u(t).length&&u(o).label?(l(),p("div",{key:0,class:H(["VPNavScreenTranslations",{open:n.value}])},[d("button",{class:"title",onClick:s},[Jr,D(" "+I(u(o).label)+" ",1),Qr]),d("ul",Zr,[(l(!0),p(E,null,U(u(t),r=>(l(),p("li",{key:r.link,class:"item"},[S(X,{class:"link",href:r.link},{default:v(()=>[D(I(r.text),1)]),_:2},1032,["href"])]))),128))])],2)):$("",!0)}}),tl=L(el,[["__scopeId","data-v-858fe1a4"]]),ol={class:"container"},nl=k({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(e){const t=B(null),o=ro(Ze?document.body:null);return(n,s)=>(l(),T(kt,{name:"fade",onEnter:s[0]||(s[0]=i=>o.value=!0),onAfterLeave:s[1]||(s[1]=i=>o.value=!1)},{default:v(()=>[n.open?(l(),p("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:t,id:"VPNavScreen"},[d("div",ol,[h(n.$slots,"nav-screen-content-before",{},void 0,!0),S(Yr,{class:"menu"}),S(tl,{class:"translations"}),S(Cr,{class:"appearance"}),S(Xr,{class:"social-links"}),h(n.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):$("",!0)]),_:3}))}}),sl=L(nl,[["__scopeId","data-v-f2779853"]]),il={key:0,class:"VPNav"},al=k({__name:"VPNav",setup(e){const{isScreenOpen:t,closeScreen:o,toggleScreen:n}=Fi(),{frontmatter:s}=N(),i=V(()=>s.value.navbar!==!1);return lo("close-screen",o),Ye(()=>{Ze&&document.documentElement.classList.toggle("hide-nav",!i.value)}),(a,r)=>i.value?(l(),p("header",il,[S(Tr,{"is-screen-open":u(t),onToggleScreen:u(n)},{"nav-bar-title-before":v(()=>[h(a.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[h(a.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[h(a.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[h(a.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),S(sl,{open:u(t)},{"nav-screen-content-before":v(()=>[h(a.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[h(a.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):$("",!0)}}),rl=L(al,[["__scopeId","data-v-ae24b3ad"]]),bo=e=>(F("data-v-b7550ba0"),e=e(),R(),e),ll=["role","tabindex"],cl=bo(()=>d("div",{class:"indicator"},null,-1)),dl=bo(()=>d("span",{class:"vpi-chevron-right caret-icon"},null,-1)),ul=[dl],pl={key:1,class:"items"},hl=k({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(e){const t=e,{collapsed:o,collapsible:n,isLink:s,isActiveLink:i,hasActiveLink:a,hasChildren:r,toggle:c}=Mn(V(()=>t.item)),f=V(()=>r.value?"section":"div"),y=V(()=>s.value?"a":"div"),m=V(()=>r.value?t.depth+2===7?"p":`h${t.depth+2}`:"p"),_=V(()=>s.value?void 0:"button"),g=V(()=>[[`level-${t.depth}`],{collapsible:n.value},{collapsed:o.value},{"is-link":s.value},{"is-active":i.value},{"has-active":a.value}]);function b(w){"key"in w&&w.key!=="Enter"||!t.item.link&&c()}function P(){t.item.link&&c()}return(w,A)=>{const C=J("VPSidebarItem",!0);return l(),T(ae(f.value),{class:H(["VPSidebarItem",g.value])},{default:v(()=>[w.item.text?(l(),p("div",re({key:0,class:"item",role:_.value},nn(w.item.items?{click:b,keydown:b}:{},!0),{tabindex:w.item.items&&0}),[cl,w.item.link?(l(),T(X,{key:0,tag:y.value,class:"link",href:w.item.link,rel:w.item.rel,target:w.item.target},{default:v(()=>[(l(),T(ae(m.value),{class:"text",innerHTML:w.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(l(),T(ae(m.value),{key:1,class:"text",innerHTML:w.item.text},null,8,["innerHTML"])),w.item.collapsed!=null&&w.item.items&&w.item.items.length?(l(),p("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:P,onKeydown:co(P,["enter"]),tabindex:"0"},ul,32)):$("",!0)],16,ll)):$("",!0),w.item.items&&w.item.items.length?(l(),p("div",pl,[w.depth<5?(l(!0),p(E,{key:0},U(w.item.items,M=>(l(),T(C,{key:M.text,item:M,depth:w.depth+1},null,8,["item","depth"]))),128)):$("",!0)])):$("",!0)]),_:1},8,["class"])}}}),fl=L(hl,[["__scopeId","data-v-b7550ba0"]]),ml=k({__name:"VPSidebarGroup",props:{items:{}},setup(e){const t=B(!0);let o=null;return ke(()=>{o=setTimeout(()=>{o=null,t.value=!1},300)}),sn(()=>{o!=null&&(clearTimeout(o),o=null)}),(n,s)=>(l(!0),p(E,null,U(n.items,i=>(l(),p("div",{key:i.text,class:H(["group",{"no-transition":t.value}])},[S(fl,{item:i,depth:0},null,8,["item"])],2))),128))}}),vl=L(ml,[["__scopeId","data-v-c40bc020"]]),$o=e=>(F("data-v-319d5ca6"),e=e(),R(),e),_l=$o(()=>d("div",{class:"curtain"},null,-1)),gl={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},yl=$o(()=>d("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),bl=k({__name:"VPSidebar",props:{open:{type:Boolean}},setup(e){const{sidebarGroups:t,hasSidebar:o}=he(),n=e,s=B(null),i=ro(Ze?document.body:null);pe([n,s],()=>{var r;n.open?(i.value=!0,(r=s.value)==null||r.focus()):i.value=!1},{immediate:!0,flush:"post"});const a=B(0);return pe(t,()=>{a.value+=1},{deep:!0}),(r,c)=>u(o)?(l(),p("aside",{key:0,class:H(["VPSidebar",{open:r.open}]),ref_key:"navEl",ref:s,onClick:c[0]||(c[0]=an(()=>{},["stop"]))},[_l,d("nav",gl,[yl,h(r.$slots,"sidebar-nav-before",{},void 0,!0),(l(),T(vl,{items:u(t),key:a.value},null,8,["items"])),h(r.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):$("",!0)}}),$l=L(bl,[["__scopeId","data-v-319d5ca6"]]),wl=k({__name:"VPSkipLink",setup(e){const t=Je(),o=B();pe(()=>t.path,()=>o.value.focus());function n({target:s}){const i=document.getElementById(decodeURIComponent(s.hash).slice(1));if(i){const a=()=>{i.removeAttribute("tabindex"),i.removeEventListener("blur",a)};i.setAttribute("tabindex","-1"),i.addEventListener("blur",a),i.focus(),window.scrollTo(0,0)}}return(s,i)=>(l(),p(E,null,[d("span",{ref_key:"backToTop",ref:o,tabindex:"-1"},null,512),d("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:n}," Skip to content ")],64))}}),kl=L(wl,[["__scopeId","data-v-0f60ec36"]]),Pl=k({__name:"Layout",setup(e){const{isOpen:t,open:o,close:n}=he(),s=Je();pe(()=>s.path,n),Nn(t,n);const{frontmatter:i}=N(),a=rn(),r=V(()=>!!a["home-hero-image"]);return lo("hero-image-slot-exists",r),(c,f)=>{const y=J("Content");return u(i).layout!==!1?(l(),p("div",{key:0,class:H(["Layout",u(i).pageClass])},[h(c.$slots,"layout-top",{},void 0,!0),S(kl),S(vn,{class:"backdrop",show:u(t),onClick:u(n)},null,8,["show","onClick"]),S(rl,null,{"nav-bar-title-before":v(()=>[h(c.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[h(c.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[h(c.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[h(c.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":v(()=>[h(c.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[h(c.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),S(zi,{open:u(t),onOpenMenu:u(o)},null,8,["open","onOpenMenu"]),S($l,{open:u(t)},{"sidebar-nav-before":v(()=>[h(c.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":v(()=>[h(c.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),S(bi,null,{"page-top":v(()=>[h(c.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[h(c.$slots,"page-bottom",{},void 0,!0)]),"not-found":v(()=>[h(c.$slots,"not-found",{},void 0,!0)]),"home-hero-before":v(()=>[h(c.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":v(()=>[h(c.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":v(()=>[h(c.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":v(()=>[h(c.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":v(()=>[h(c.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":v(()=>[h(c.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[h(c.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[h(c.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[h(c.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":v(()=>[h(c.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[h(c.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[h(c.$slots,"doc-after",{},void 0,!0)]),"doc-top":v(()=>[h(c.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[h(c.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":v(()=>[h(c.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[h(c.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[h(c.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[h(c.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[h(c.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[h(c.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),S(Si),h(c.$slots,"layout-bottom",{},void 0,!0)],2)):(l(),T(y,{key:1}))}}}),Sl=L(Pl,[["__scopeId","data-v-5d98c3a5"]]),Tl=e=>(F("data-v-f3fa364a"),e=e(),R(),e),Ll={class:"profile"},Al={class:"avatar"},Vl=["src","alt"],Cl={class:"data"},Nl={class:"name"},Ml={key:0,class:"affiliation"},xl={key:0,class:"title"},Il={key:1,class:"at"},Hl=["innerHTML"],Bl={key:2,class:"links"},Ol={key:0,class:"sp"},El=Tl(()=>d("span",{class:"vpi-heart sp-icon"},null,-1)),Dl=k({__name:"VPTeamMembersItem",props:{size:{default:"medium"},member:{}},setup(e){return(t,o)=>(l(),p("article",{class:H(["VPTeamMembersItem",[t.size]])},[d("div",Ll,[d("figure",Al,[d("img",{class:"avatar-img",src:t.member.avatar,alt:t.member.name},null,8,Vl)]),d("div",Cl,[d("h1",Nl,I(t.member.name),1),t.member.title||t.member.org?(l(),p("p",Ml,[t.member.title?(l(),p("span",xl,I(t.member.title),1)):$("",!0),t.member.title&&t.member.org?(l(),p("span",Il," @ ")):$("",!0),t.member.org?(l(),T(X,{key:2,class:H(["org",{link:t.member.orgLink}]),href:t.member.orgLink,"no-icon":""},{default:v(()=>[D(I(t.member.org),1)]),_:1},8,["class","href"])):$("",!0)])):$("",!0),t.member.desc?(l(),p("p",{key:1,class:"desc",innerHTML:t.member.desc},null,8,Hl)):$("",!0),t.member.links?(l(),p("div",Bl,[S(tt,{links:t.member.links},null,8,["links"])])):$("",!0)])]),t.member.sponsor?(l(),p("div",Ol,[S(X,{class:"sp-link",href:t.member.sponsor,"no-icon":""},{default:v(()=>[El,D(" "+I(t.member.actionText||"Sponsor"),1)]),_:1},8,["href"])])):$("",!0)],2))}}),zl=L(Dl,[["__scopeId","data-v-f3fa364a"]]),Fl={class:"container"},Rl=k({__name:"VPTeamMembers",props:{size:{default:"medium"},members:{}},setup(e){const t=e,o=V(()=>[t.size,`count-${t.members.length}`]);return(n,s)=>(l(),p("div",{class:H(["VPTeamMembers",o.value])},[d("div",Fl,[(l(!0),p(E,null,U(n.members,i=>(l(),p("div",{key:i.name,class:"item"},[S(zl,{size:n.size,member:i},null,8,["size","member"])]))),128))])],2))}}),Qc=L(Rl,[["__scopeId","data-v-6cb0dbc4"]]),_t={Layout:Sl,enhanceApp:({app:e})=>{e.component("Badge",hn)}},jl="/viking.png",ot=e=>(F("data-v-a4de5d60"),e=e(),R(),e),Wl=ot(()=>d("div",{class:"container"},[d("img",{src:jl,class:"viking"}),d("h2",{class:"main-brand yellow"},"Axe API"),d("h1",{class:"text title"},[D(" A "),d("span",{class:"indigo"},"framework"),D(" to build "),d("span",{class:"indigo"},"Rest API")]),d("div",{class:"button-container"},[d("a",{class:"button primary",href:"/learn/quick-start"}," Getting started "),d("a",{class:"button secondary",href:"/reference/api-configs"}," API References ")]),d("a",{href:"https://www.producthunt.com/posts/axe-api?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-axe-api",target:"_blank"},[d("img",{src:"https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=404818&theme=light",alt:"Axe API - The next-generation Rest API framework | Product Hunt",style:{width:"250px",height:"54px"},width:"250",height:"54"})])],-1)),Gl=ot(()=>d("div",{class:"description-section"},[d("div",{class:"description-box"},[D(` "This is the framework that is missing to build Rest API with best practices. It's build on `),d("span",{class:"important"},"TypeScript"),D(". Supports all major RDBMS such as "),d("span",{class:"important"},"PostgreSQL"),D(", "),d("span",{class:"important"},"MSSQL"),D(", "),d("span",{class:"important"},"MySQL"),D(", "),d("span",{class:"important"},"MariaDB"),D(", "),d("span",{class:"important"},"Oracle"),D(" and "),d("span",{class:"important"},"Amazon Redshift"),D('." ')])],-1)),Ul=ot(()=>d("div",{class:"box-sections"},[d("div",{class:"box"},[d("p",null,"Frontend developers are going crazy!"),d("p",null," Many APIs are out there with a lack of documentation and inconsistent design. Yet you can find millions of blog posts discussing the Best Practices of APIs! Backend developers claim they know how to design a high-quality API, but finding a good example is not easy. "),d("p",null,"It is a total mess!"),d("p",null,[D(" Think about how many times you've seen stale API documentation. Nobody has time to maintain it! What about inconsistency in routes? Or, "),d("b",null,"over-fetching"),D(" and "),d("b",null,"under-fetching"),D(" issues? ")]),d("p",{class:"oversize"},"It should NOT be that hard!"),d("p",null," Instead, building a Rest API should be easy. We know how to build very well. But the missing part is a framework that is designed to build API. "),d("p",null,[D("That’s where "),d("span",{class:"brand"},"Axe API"),D(" comes in.")])])],-1)),ql=ot(()=>d("h2",{class:"h2"},"Features",-1)),Kl={__name:"CustomIndex",setup(e){const{Layout:t}=_t;return(o,n)=>(l(),T(u(t),null,{"home-hero-info":v(()=>[Wl,Gl,Ul,ql]),_:1}))}},Yl=L(Kl,[["__scopeId","data-v-a4de5d60"]]),Xl=["top","right","bottom","left"],Ot=["start","end"],Et=Xl.reduce((e,t)=>e.concat(t,t+"-"+Ot[0],t+"-"+Ot[1]),[]),Me=Math.min,$e=Math.max,Jl={left:"right",right:"left",bottom:"top",top:"bottom"},Ql={start:"end",end:"start"};function gt(e,t,o){return $e(e,Me(t,o))}function Pe(e,t){return typeof e=="function"?e(t):e}function de(e){return e.split("-")[0]}function oe(e){return e.split("-")[1]}function wo(e){return e==="x"?"y":"x"}function Mt(e){return e==="y"?"height":"width"}function Ee(e){return["top","bottom"].includes(de(e))?"y":"x"}function xt(e){return wo(Ee(e))}function ko(e,t,o){o===void 0&&(o=!1);const n=oe(e),s=xt(e),i=Mt(s);let a=s==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Ge(a)),[a,Ge(a)]}function Zl(e){const t=Ge(e);return[We(e),t,We(t)]}function We(e){return e.replace(/start|end/g,t=>Ql[t])}function ec(e,t,o){const n=["left","right"],s=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return o?t?s:n:t?n:s;case"left":case"right":return t?i:a;default:return[]}}function tc(e,t,o,n){const s=oe(e);let i=ec(de(e),o==="start",n);return s&&(i=i.map(a=>a+"-"+s),t&&(i=i.concat(i.map(We)))),i}function Ge(e){return e.replace(/left|right|bottom|top/g,t=>Jl[t])}function oc(e){return{top:0,right:0,bottom:0,left:0,...e}}function Po(e){return typeof e!="number"?oc(e):{top:e,right:e,bottom:e,left:e}}function Ae(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Dt(e,t,o){let{reference:n,floating:s}=e;const i=Ee(t),a=xt(t),r=Mt(a),c=de(t),f=i==="y",y=n.x+n.width/2-s.width/2,m=n.y+n.height/2-s.height/2,_=n[r]/2-s[r]/2;let g;switch(c){case"top":g={x:y,y:n.y-s.height};break;case"bottom":g={x:y,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:m};break;case"left":g={x:n.x-s.width,y:m};break;default:g={x:n.x,y:n.y}}switch(oe(t)){case"start":g[a]-=_*(o&&f?-1:1);break;case"end":g[a]+=_*(o&&f?-1:1);break}return g}const nc=async(e,t,o)=>{const{placement:n="bottom",strategy:s="absolute",middleware:i=[],platform:a}=o,r=i.filter(Boolean),c=await(a.isRTL==null?void 0:a.isRTL(t));let f=await a.getElementRects({reference:e,floating:t,strategy:s}),{x:y,y:m}=Dt(f,n,c),_=n,g={},b=0;for(let P=0;P<r.length;P++){const{name:w,fn:A}=r[P],{x:C,y:M,data:z,reset:O}=await A({x:y,y:m,initialPlacement:n,placement:_,strategy:s,middlewareData:g,rects:f,platform:a,elements:{reference:e,floating:t}});if(y=C??y,m=M??m,g={...g,[w]:{...g[w],...z}},O&&b<=50){b++,typeof O=="object"&&(O.placement&&(_=O.placement),O.rects&&(f=O.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:s}):O.rects),{x:y,y:m}=Dt(f,_,c)),P=-1;continue}}return{x:y,y:m,placement:_,strategy:s,middlewareData:g}};async function nt(e,t){var o;t===void 0&&(t={});const{x:n,y:s,platform:i,rects:a,elements:r,strategy:c}=e,{boundary:f="clippingAncestors",rootBoundary:y="viewport",elementContext:m="floating",altBoundary:_=!1,padding:g=0}=Pe(t,e),b=Po(g),w=r[_?m==="floating"?"reference":"floating":m],A=Ae(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(w)))==null||o?w:w.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(r.floating)),boundary:f,rootBoundary:y,strategy:c})),C=m==="floating"?{...a.floating,x:n,y:s}:a.reference,M=await(i.getOffsetParent==null?void 0:i.getOffsetParent(r.floating)),z=await(i.isElement==null?void 0:i.isElement(M))?await(i.getScale==null?void 0:i.getScale(M))||{x:1,y:1}:{x:1,y:1},O=Ae(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:C,offsetParent:M,strategy:c}):C);return{top:(A.top-O.top+b.top)/z.y,bottom:(O.bottom-A.bottom+b.bottom)/z.y,left:(A.left-O.left+b.left)/z.x,right:(O.right-A.right+b.right)/z.x}}const sc=e=>({name:"arrow",options:e,async fn(t){const{x:o,y:n,placement:s,rects:i,platform:a,elements:r,middlewareData:c}=t,{element:f,padding:y=0}=Pe(e,t)||{};if(f==null)return{};const m=Po(y),_={x:o,y:n},g=xt(s),b=Mt(g),P=await a.getDimensions(f),w=g==="y",A=w?"top":"left",C=w?"bottom":"right",M=w?"clientHeight":"clientWidth",z=i.reference[b]+i.reference[g]-_[g]-i.floating[b],O=_[g]-i.reference[g],j=await(a.getOffsetParent==null?void 0:a.getOffsetParent(f));let W=j?j[M]:0;(!W||!await(a.isElement==null?void 0:a.isElement(j)))&&(W=r.floating[M]||i.floating[b]);const Q=z/2-O/2,Z=W/2-P[b]/2-1,G=Me(m[A],Z),ee=Me(m[C],Z),q=G,ye=W-P[b]-ee,K=W/2-P[b]/2+Q,se=gt(q,K,ye),ie=!c.arrow&&oe(s)!=null&&K!=se&&i.reference[b]/2-(K<q?G:ee)-P[b]/2<0,ue=ie?K<q?K-q:K-ye:0;return{[g]:_[g]+ue,data:{[g]:se,centerOffset:K-se-ue,...ie&&{alignmentOffset:ue}},reset:ie}}});function ic(e,t,o){return(e?[...o.filter(s=>oe(s)===e),...o.filter(s=>oe(s)!==e)]:o.filter(s=>de(s)===s)).filter(s=>e?oe(s)===e||(t?We(s)!==s:!1):!0)}const ac=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,s;const{rects:i,middlewareData:a,placement:r,platform:c,elements:f}=t,{crossAxis:y=!1,alignment:m,allowedPlacements:_=Et,autoAlignment:g=!0,...b}=Pe(e,t),P=m!==void 0||_===Et?ic(m||null,g,_):_,w=await nt(t,b),A=((o=a.autoPlacement)==null?void 0:o.index)||0,C=P[A];if(C==null)return{};const M=ko(C,i,await(c.isRTL==null?void 0:c.isRTL(f.floating)));if(r!==C)return{reset:{placement:P[0]}};const z=[w[de(C)],w[M[0]],w[M[1]]],O=[...((n=a.autoPlacement)==null?void 0:n.overflows)||[],{placement:C,overflows:z}],j=P[A+1];if(j)return{data:{index:A+1,overflows:O},reset:{placement:j}};const W=O.map(G=>{const ee=oe(G.placement);return[G.placement,ee&&y?G.overflows.slice(0,2).reduce((q,ye)=>q+ye,0):G.overflows[0],G.overflows]}).sort((G,ee)=>G[1]-ee[1]),Z=((s=W.filter(G=>G[2].slice(0,oe(G[0])?2:3).every(ee=>ee<=0))[0])==null?void 0:s[0])||W[0][0];return Z!==r?{data:{index:A+1,overflows:O},reset:{placement:Z}}:{}}}},rc=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var o,n;const{placement:s,middlewareData:i,rects:a,initialPlacement:r,platform:c,elements:f}=t,{mainAxis:y=!0,crossAxis:m=!0,fallbackPlacements:_,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:P=!0,...w}=Pe(e,t);if((o=i.arrow)!=null&&o.alignmentOffset)return{};const A=de(s),C=de(r)===r,M=await(c.isRTL==null?void 0:c.isRTL(f.floating)),z=_||(C||!P?[Ge(r)]:Zl(r));!_&&b!=="none"&&z.push(...tc(r,P,b,M));const O=[r,...z],j=await nt(t,w),W=[];let Q=((n=i.flip)==null?void 0:n.overflows)||[];if(y&&W.push(j[A]),m){const q=ko(s,a,M);W.push(j[q[0]],j[q[1]])}if(Q=[...Q,{placement:s,overflows:W}],!W.every(q=>q<=0)){var Z,G;const q=(((Z=i.flip)==null?void 0:Z.index)||0)+1,ye=O[q];if(ye)return{data:{index:q,overflows:Q},reset:{placement:ye}};let K=(G=Q.filter(se=>se.overflows[0]<=0).sort((se,ie)=>se.overflows[1]-ie.overflows[1])[0])==null?void 0:G.placement;if(!K)switch(g){case"bestFit":{var ee;const se=(ee=Q.map(ie=>[ie.placement,ie.overflows.filter(ue=>ue>0).reduce((ue,qo)=>ue+qo,0)]).sort((ie,ue)=>ie[1]-ue[1])[0])==null?void 0:ee[0];se&&(K=se);break}case"initialPlacement":K=r;break}if(s!==K)return{reset:{placement:K}}}return{}}}};async function lc(e,t){const{placement:o,platform:n,elements:s}=e,i=await(n.isRTL==null?void 0:n.isRTL(s.floating)),a=de(o),r=oe(o),c=Ee(o)==="y",f=["left","top"].includes(a)?-1:1,y=i&&c?-1:1,m=Pe(t,e);let{mainAxis:_,crossAxis:g,alignmentAxis:b}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...m};return r&&typeof b=="number"&&(g=r==="end"?b*-1:b),c?{x:g*y,y:_*f}:{x:_*f,y:g*y}}const cc=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:o,y:n}=t,s=await lc(t,e);return{x:o+s.x,y:n+s.y,data:s}}}},dc=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:o,y:n,placement:s}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:r={fn:w=>{let{x:A,y:C}=w;return{x:A,y:C}}},...c}=Pe(e,t),f={x:o,y:n},y=await nt(t,c),m=Ee(de(s)),_=wo(m);let g=f[_],b=f[m];if(i){const w=_==="y"?"top":"left",A=_==="y"?"bottom":"right",C=g+y[w],M=g-y[A];g=gt(C,g,M)}if(a){const w=m==="y"?"top":"left",A=m==="y"?"bottom":"right",C=b+y[w],M=b-y[A];b=gt(C,b,M)}const P=r.fn({...t,[_]:g,[m]:b});return{...P,data:{x:P.x-o,y:P.y-n}}}}},uc=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:o,rects:n,platform:s,elements:i}=t,{apply:a=()=>{},...r}=Pe(e,t),c=await nt(t,r),f=de(o),y=oe(o),m=Ee(o)==="y",{width:_,height:g}=n.floating;let b,P;f==="top"||f==="bottom"?(b=f,P=y===(await(s.isRTL==null?void 0:s.isRTL(i.floating))?"start":"end")?"left":"right"):(P=f,b=y==="end"?"top":"bottom");const w=g-c[b],A=_-c[P],C=!t.middlewareData.shift;let M=w,z=A;if(m){const j=_-c.left-c.right;z=y||C?Me(A,j):j}else{const j=g-c.top-c.bottom;M=y||C?Me(w,j):j}if(C&&!y){const j=$e(c.left,0),W=$e(c.right,0),Q=$e(c.top,0),Z=$e(c.bottom,0);m?z=_-2*(j!==0||W!==0?j+W:$e(c.left,c.right)):M=g-2*(Q!==0||Z!==0?Q+Z:$e(c.top,c.bottom))}await a({...t,availableWidth:z,availableHeight:M});const O=await s.getDimensions(i.floating);return _!==O.width||g!==O.height?{reset:{rects:!0}}:{}}}};function Y(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function le(e){return Y(e).getComputedStyle(e)}const zt=Math.min,Ve=Math.max,Ue=Math.round;function So(e){const t=le(e);let o=parseFloat(t.width),n=parseFloat(t.height);const s=e.offsetWidth,i=e.offsetHeight,a=Ue(o)!==s||Ue(n)!==i;return a&&(o=s,n=i),{width:o,height:n,fallback:a}}function ge(e){return Lo(e)?(e.nodeName||"").toLowerCase():""}let De;function To(){if(De)return De;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(De=e.brands.map(t=>t.brand+"/"+t.version).join(" "),De):navigator.userAgent}function ce(e){return e instanceof Y(e).HTMLElement}function ve(e){return e instanceof Y(e).Element}function Lo(e){return e instanceof Y(e).Node}function Ft(e){return typeof ShadowRoot>"u"?!1:e instanceof Y(e).ShadowRoot||e instanceof ShadowRoot}function st(e){const{overflow:t,overflowX:o,overflowY:n,display:s}=le(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(s)}function pc(e){return["table","td","th"].includes(ge(e))}function yt(e){const t=/firefox/i.test(To()),o=le(e),n=o.backdropFilter||o.WebkitBackdropFilter;return o.transform!=="none"||o.perspective!=="none"||!!n&&n!=="none"||t&&o.willChange==="filter"||t&&!!o.filter&&o.filter!=="none"||["transform","perspective"].some(s=>o.willChange.includes(s))||["paint","layout","strict","content"].some(s=>{const i=o.contain;return i!=null&&i.includes(s)})}function Ao(){return!/^((?!chrome|android).)*safari/i.test(To())}function It(e){return["html","body","#document"].includes(ge(e))}function Vo(e){return ve(e)?e:e.contextElement}const Co={x:1,y:1};function Se(e){const t=Vo(e);if(!ce(t))return Co;const o=t.getBoundingClientRect(),{width:n,height:s,fallback:i}=So(t);let a=(i?Ue(o.width):o.width)/n,r=(i?Ue(o.height):o.height)/s;return a&&Number.isFinite(a)||(a=1),r&&Number.isFinite(r)||(r=1),{x:a,y:r}}function xe(e,t,o,n){var s,i;t===void 0&&(t=!1),o===void 0&&(o=!1);const a=e.getBoundingClientRect(),r=Vo(e);let c=Co;t&&(n?ve(n)&&(c=Se(n)):c=Se(e));const f=r?Y(r):window,y=!Ao()&&o;let m=(a.left+(y&&((s=f.visualViewport)==null?void 0:s.offsetLeft)||0))/c.x,_=(a.top+(y&&((i=f.visualViewport)==null?void 0:i.offsetTop)||0))/c.y,g=a.width/c.x,b=a.height/c.y;if(r){const P=Y(r),w=n&&ve(n)?Y(n):n;let A=P.frameElement;for(;A&&n&&w!==P;){const C=Se(A),M=A.getBoundingClientRect(),z=getComputedStyle(A);M.x+=(A.clientLeft+parseFloat(z.paddingLeft))*C.x,M.y+=(A.clientTop+parseFloat(z.paddingTop))*C.y,m*=C.x,_*=C.y,g*=C.x,b*=C.y,m+=M.x,_+=M.y,A=Y(A).frameElement}}return{width:g,height:b,top:_,right:m+g,bottom:_+b,left:m,x:m,y:_}}function _e(e){return((Lo(e)?e.ownerDocument:e.document)||window.document).documentElement}function it(e){return ve(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function No(e){return xe(_e(e)).left+it(e).scrollLeft}function Ie(e){if(ge(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ft(e)&&e.host||_e(e);return Ft(t)?t.host:t}function Mo(e){const t=Ie(e);return It(t)?t.ownerDocument.body:ce(t)&&st(t)?t:Mo(t)}function qe(e,t){var o;t===void 0&&(t=[]);const n=Mo(e),s=n===((o=e.ownerDocument)==null?void 0:o.body),i=Y(n);return s?t.concat(i,i.visualViewport||[],st(n)?n:[]):t.concat(n,qe(n))}function Rt(e,t,o){return t==="viewport"?Ae(function(n,s){const i=Y(n),a=_e(n),r=i.visualViewport;let c=a.clientWidth,f=a.clientHeight,y=0,m=0;if(r){c=r.width,f=r.height;const _=Ao();(_||!_&&s==="fixed")&&(y=r.offsetLeft,m=r.offsetTop)}return{width:c,height:f,x:y,y:m}}(e,o)):ve(t)?Ae(function(n,s){const i=xe(n,!0,s==="fixed"),a=i.top+n.clientTop,r=i.left+n.clientLeft,c=ce(n)?Se(n):{x:1,y:1};return{width:n.clientWidth*c.x,height:n.clientHeight*c.y,x:r*c.x,y:a*c.y}}(t,o)):Ae(function(n){const s=_e(n),i=it(n),a=n.ownerDocument.body,r=Ve(s.scrollWidth,s.clientWidth,a.scrollWidth,a.clientWidth),c=Ve(s.scrollHeight,s.clientHeight,a.scrollHeight,a.clientHeight);let f=-i.scrollLeft+No(n);const y=-i.scrollTop;return le(a).direction==="rtl"&&(f+=Ve(s.clientWidth,a.clientWidth)-r),{width:r,height:c,x:f,y}}(_e(e)))}function jt(e){return ce(e)&&le(e).position!=="fixed"?e.offsetParent:null}function Wt(e){const t=Y(e);let o=jt(e);for(;o&&pc(o)&&le(o).position==="static";)o=jt(o);return o&&(ge(o)==="html"||ge(o)==="body"&&le(o).position==="static"&&!yt(o))?t:o||function(n){let s=Ie(n);for(;ce(s)&&!It(s);){if(yt(s))return s;s=Ie(s)}return null}(e)||t}function hc(e,t,o){const n=ce(t),s=_e(t),i=xe(e,!0,o==="fixed",t);let a={scrollLeft:0,scrollTop:0};const r={x:0,y:0};if(n||!n&&o!=="fixed")if((ge(t)!=="body"||st(s))&&(a=it(t)),ce(t)){const c=xe(t,!0);r.x=c.x+t.clientLeft,r.y=c.y+t.clientTop}else s&&(r.x=No(s));return{x:i.left+a.scrollLeft-r.x,y:i.top+a.scrollTop-r.y,width:i.width,height:i.height}}const fc={getClippingRect:function(e){let{element:t,boundary:o,rootBoundary:n,strategy:s}=e;const i=o==="clippingAncestors"?function(f,y){const m=y.get(f);if(m)return m;let _=qe(f).filter(w=>ve(w)&&ge(w)!=="body"),g=null;const b=le(f).position==="fixed";let P=b?Ie(f):f;for(;ve(P)&&!It(P);){const w=le(P),A=yt(P);(b?A||g:A||w.position!=="static"||!g||!["absolute","fixed"].includes(g.position))?g=w:_=_.filter(C=>C!==P),P=Ie(P)}return y.set(f,_),_}(t,this._c):[].concat(o),a=[...i,n],r=a[0],c=a.reduce((f,y)=>{const m=Rt(t,y,s);return f.top=Ve(m.top,f.top),f.right=zt(m.right,f.right),f.bottom=zt(m.bottom,f.bottom),f.left=Ve(m.left,f.left),f},Rt(t,r,s));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:o,strategy:n}=e;const s=ce(o),i=_e(o);if(o===i)return t;let a={scrollLeft:0,scrollTop:0},r={x:1,y:1};const c={x:0,y:0};if((s||!s&&n!=="fixed")&&((ge(o)!=="body"||st(i))&&(a=it(o)),ce(o))){const f=xe(o);r=Se(o),c.x=f.x+o.clientLeft,c.y=f.y+o.clientTop}return{width:t.width*r.x,height:t.height*r.y,x:t.x*r.x-a.scrollLeft*r.x+c.x,y:t.y*r.y-a.scrollTop*r.y+c.y}},isElement:ve,getDimensions:function(e){return ce(e)?So(e):e.getBoundingClientRect()},getOffsetParent:Wt,getDocumentElement:_e,getScale:Se,async getElementRects(e){let{reference:t,floating:o,strategy:n}=e;const s=this.getOffsetParent||Wt,i=this.getDimensions;return{reference:hc(t,await s(o),n),floating:{x:0,y:0,...await i(o)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>le(e).direction==="rtl"},mc=(e,t,o)=>{const n=new Map,s={platform:fc,...o},i={...s.platform,_c:n};return nc(e,t,{...s,platform:i})};function xo(e,t){for(const o in t)Object.prototype.hasOwnProperty.call(t,o)&&(typeof t[o]=="object"&&e[o]?xo(e[o],t[o]):e[o]=t[o])}const ne={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function He(e,t){let o=ne.themes[e]||{},n;do n=o[t],typeof n>"u"?o.$extend?o=ne.themes[o.$extend]||{}:(o=null,n=ne[t]):o=null;while(o);return n}function vc(e){const t=[e];let o=ne.themes[e]||{};do o.$extend&&!o.$resetCss?(t.push(o.$extend),o=ne.themes[o.$extend]||{}):o=null;while(o);return t.map(n=>`v-popper--theme-${n}`)}function Gt(e){const t=[e];let o=ne.themes[e]||{};do o.$extend?(t.push(o.$extend),o=ne.themes[o.$extend]||{}):o=null;while(o);return t}let Te=!1;if(typeof window<"u"){Te=!1;try{const e=Object.defineProperty({},"passive",{get(){Te=!0}});window.addEventListener("test",null,e)}catch{}}let Io=!1;typeof window<"u"&&typeof navigator<"u"&&(Io=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Ho=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Ut={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},qt={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Kt(e,t){const o=e.indexOf(t);o!==-1&&e.splice(o,1)}function ct(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const te=[];let be=null;const Yt={};function Xt(e){let t=Yt[e];return t||(t=Yt[e]=[]),t}let bt=function(){};typeof window<"u"&&(bt=window.Element);function x(e){return function(t){return He(t.theme,e)}}const dt="__floating-vue__popper",Bo=()=>k({name:"VPopper",provide(){return{[dt]:{parentPopper:this}}},inject:{[dt]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:x("disabled")},positioningDisabled:{type:Boolean,default:x("positioningDisabled")},placement:{type:String,default:x("placement"),validator:e=>Ho.includes(e)},delay:{type:[String,Number,Object],default:x("delay")},distance:{type:[Number,String],default:x("distance")},skidding:{type:[Number,String],default:x("skidding")},triggers:{type:Array,default:x("triggers")},showTriggers:{type:[Array,Function],default:x("showTriggers")},hideTriggers:{type:[Array,Function],default:x("hideTriggers")},popperTriggers:{type:Array,default:x("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:x("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:x("popperHideTriggers")},container:{type:[String,Object,bt,Boolean],default:x("container")},boundary:{type:[String,bt],default:x("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:x("strategy")},autoHide:{type:[Boolean,Function],default:x("autoHide")},handleResize:{type:Boolean,default:x("handleResize")},instantMove:{type:Boolean,default:x("instantMove")},eagerMount:{type:Boolean,default:x("eagerMount")},popperClass:{type:[String,Array,Object],default:x("popperClass")},computeTransformOrigin:{type:Boolean,default:x("computeTransformOrigin")},autoMinSize:{type:Boolean,default:x("autoMinSize")},autoSize:{type:[Boolean,String],default:x("autoSize")},autoMaxSize:{type:Boolean,default:x("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:x("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:x("preventOverflow")},overflowPadding:{type:[Number,String],default:x("overflowPadding")},arrowPadding:{type:[Number,String],default:x("arrowPadding")},arrowOverflow:{type:Boolean,default:x("arrowOverflow")},flip:{type:Boolean,default:x("flip")},shift:{type:Boolean,default:x("shift")},shiftCrossAxis:{type:Boolean,default:x("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:x("noAutoFocus")},disposeTimeout:{type:Number,default:x("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[dt])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:o=!1}={}){var n,s;(n=this.parentPopper)!=null&&n.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(o||!this.disabled)&&(((s=this.parentPopper)==null?void 0:s.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var o;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((o=this.parentPopper)==null?void 0:o.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(cc({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(ac({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(dc({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(rc({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(sc({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:n,rects:s,middlewareData:i})=>{let a;const{centerOffset:r}=i.arrow;return n.startsWith("top")||n.startsWith("bottom")?a=Math.abs(r)>s.reference.width/2:a=Math.abs(r)>s.reference.height/2,{data:{overflow:a}}}}),this.autoMinSize||this.autoSize){const n=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:s,placement:i,middlewareData:a})=>{var r;if((r=a.autoSize)!=null&&r.skip)return{};let c,f;return i.startsWith("top")||i.startsWith("bottom")?c=s.reference.width:f=s.reference.height,this.$_innerNode.style[n==="min"?"minWidth":n==="max"?"maxWidth":"width"]=c!=null?`${c}px`:null,this.$_innerNode.style[n==="min"?"minHeight":n==="max"?"maxHeight":"height"]=f!=null?`${f}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(uc({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:n,availableHeight:s})=>{this.$_innerNode.style.maxWidth=n!=null?`${n}px`:null,this.$_innerNode.style.maxHeight=s!=null?`${s}px`:null}})));const o=await mc(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:o.x,y:o.y,placement:o.placement,strategy:o.strategy,arrow:{...o.middlewareData.arrow,...o.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),be&&this.instantMove&&be.instantMove&&be!==this.parentPopper){be.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(be=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await ct(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...qe(this.$_referenceNode),...qe(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),o=this.$_popperNode.querySelector(".v-popper__wrapper"),n=o.parentNode.getBoundingClientRect(),s=t.x+t.width/2-(n.left+o.offsetLeft),i=t.y+t.height/2-(n.top+o.offsetTop);this.result.transformOrigin=`${s}px ${i}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let o=0;o<te.length;o++)t=te[o],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}te.push(this),document.body.classList.add("v-popper--some-open");for(const t of Gt(this.theme))Xt(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await ct(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,Kt(te,this),te.length===0&&document.body.classList.remove("v-popper--some-open");for(const o of Gt(this.theme)){const n=Xt(o);Kt(n,this),n.length===0&&document.body.classList.remove(`v-popper--some-open--${o}`)}be===this&&(be=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await ct(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=o=>{this.isShown&&!this.$_hideInProgress||(o.usedByTooltip=!0,!this.$_preventShow&&this.show({event:o}))};this.$_registerTriggerListeners(this.$_targetNodes,Ut,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Ut,this.popperTriggers,this.popperShowTriggers,e);const t=o=>{o.usedByTooltip||this.hide({event:o})};this.$_registerTriggerListeners(this.$_targetNodes,qt,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],qt,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,o){this.$_events.push({targetNodes:e,eventType:t,handler:o}),e.forEach(n=>n.addEventListener(t,o,Te?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,o,n,s){let i=o;n!=null&&(i=typeof n=="function"?n(i):n),i.forEach(a=>{const r=t[a];r&&this.$_registerEventListeners(e,r,s)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(o=>{const{targetNodes:n,eventType:s,handler:i}=o;!e||e===s?n.forEach(a=>a.removeEventListener(s,i)):t.push(o)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const o of this.$_targetNodes){const n=o.getAttribute(e);n&&(o.removeAttribute(e),o.setAttribute(t,n))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const o in e){const n=e[o];n==null?t.removeAttribute(o):t.setAttribute(o,n)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(Ce>=e.left&&Ce<=e.right&&Ne>=e.top&&Ne<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),o=Ce-fe,n=Ne-me,s=t.left+t.width/2-fe+(t.top+t.height/2)-me+t.width+t.height,i=fe+o*s,a=me+n*s;return ze(fe,me,i,a,t.left,t.top,t.left,t.bottom)||ze(fe,me,i,a,t.left,t.top,t.right,t.top)||ze(fe,me,i,a,t.right,t.top,t.right,t.bottom)||ze(fe,me,i,a,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(Io){const e=Te?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>Jt(t,!0),e),document.addEventListener("touchend",t=>Qt(t,!0),e)}else window.addEventListener("mousedown",e=>Jt(e,!1),!0),window.addEventListener("click",e=>Qt(e,!1),!0);window.addEventListener("resize",gc)}function Jt(e,t){if(ne.autoHideOnMousedown)Oo(e,t);else for(let o=0;o<te.length;o++){const n=te[o];try{n.mouseDownContains=n.popperNode().contains(e.target)}catch{}}}function Qt(e,t){ne.autoHideOnMousedown||Oo(e,t)}function Oo(e,t){const o={};for(let n=te.length-1;n>=0;n--){const s=te[n];try{const i=s.containsGlobalTarget=s.mouseDownContains||s.popperNode().contains(e.target);s.pendingHide=!1,requestAnimationFrame(()=>{if(s.pendingHide=!1,!o[s.randomId]&&Zt(s,i,e)){if(s.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&i){let r=s.parentPopper;for(;r;)o[r.randomId]=!0,r=r.parentPopper;return}let a=s.parentPopper;for(;a&&Zt(a,a.containsGlobalTarget,e);)a.$_handleGlobalClose(e,t),a=a.parentPopper}})}catch{}}}function Zt(e,t,o){return o.closeAllPopover||o.closePopover&&t||_c(e,o)&&!t}function _c(e,t){if(typeof e.autoHide=="function"){const o=e.autoHide(t);return e.lastAutoHide=o,o}return e.autoHide}function gc(){for(let e=0;e<te.length;e++)te[e].$_computePosition()}let fe=0,me=0,Ce=0,Ne=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{fe=Ce,me=Ne,Ce=e.clientX,Ne=e.clientY},Te?{passive:!0}:void 0);function ze(e,t,o,n,s,i,a,r){const c=((a-s)*(t-i)-(r-i)*(e-s))/((r-i)*(o-e)-(a-s)*(n-t)),f=((o-e)*(t-i)-(n-t)*(e-s))/((r-i)*(o-e)-(a-s)*(n-t));return c>=0&&c<=1&&f>=0&&f<=1}const yc={extends:Bo()},at=(e,t)=>{const o=e.__vccOpts||e;for(const[n,s]of t)o[n]=s;return o};function bc(e,t,o,n,s,i){return l(),p("div",{ref:"reference",class:H(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[h(e.$slots,"default",cn(dn(e.slotData)))],2)}const $c=at(yc,[["render",bc]]);function wc(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var o=e.indexOf("Trident/");if(o>0){var n=e.indexOf("rv:");return parseInt(e.substring(n+3,e.indexOf(".",n)),10)}var s=e.indexOf("Edge/");return s>0?parseInt(e.substring(s+5,e.indexOf(".",s)),10):-1}let Re;function $t(){$t.init||($t.init=!0,Re=wc()!==-1)}var rt={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){$t(),io(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",Re&&this.$el.appendChild(e),e.data="about:blank",Re||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!Re&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const kc=ln();F("data-v-b329ee4c");const Pc={class:"resize-observer",tabindex:"-1"};R();const Sc=kc((e,t,o,n,s,i)=>(l(),T("div",Pc)));rt.render=Sc;rt.__scopeId="data-v-b329ee4c";rt.__file="src/components/ResizeObserver.vue";const Eo=(e="theme")=>({computed:{themeClass(){return vc(this[e])}}}),Tc=k({name:"VPopperContent",components:{ResizeObserver:rt},mixins:[Eo()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),Lc=["id","aria-hidden","tabindex","data-popper-placement"],Ac={ref:"inner",class:"v-popper__inner"},Vc=d("div",{class:"v-popper__arrow-outer"},null,-1),Cc=d("div",{class:"v-popper__arrow-inner"},null,-1),Nc=[Vc,Cc];function Mc(e,t,o,n,s,i){const a=J("ResizeObserver");return l(),p("div",{id:e.popperId,ref:"popover",class:H(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:Le(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=co(r=>e.autoHide&&e.$emit("hide"),["esc"]))},[d("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=r=>e.autoHide&&e.$emit("hide"))}),d("div",{class:"v-popper__wrapper",style:Le(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[d("div",Ac,[e.mounted?(l(),p(E,{key:0},[d("div",null,[h(e.$slots,"default")]),e.handleResize?(l(),T(a,{key:0,onNotify:t[1]||(t[1]=r=>e.$emit("resize",r))})):$("",!0)],64)):$("",!0)],512),d("div",{ref:"arrow",class:"v-popper__arrow-container",style:Le(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},Nc,4)],4)],46,Lc)}const Do=at(Tc,[["render",Mc]]),zo={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let wt=function(){};typeof window<"u"&&(wt=window.Element);const xc=k({name:"VPopperWrapper",components:{Popper:$c,PopperContent:Do},mixins:[zo,Eo("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,wt,Boolean],default:void 0},boundary:{type:[String,wt],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function Ic(e,t,o,n,s,i){const a=J("PopperContent"),r=J("Popper");return l(),T(r,re({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=c=>e.$emit("update:shown",c)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:v(({popperId:c,isShown:f,shouldMountContent:y,skipTransition:m,autoHide:_,show:g,hide:b,handleResize:P,onResize:w,classes:A,result:C})=>[h(e.$slots,"default",{shown:f,show:g,hide:b}),S(a,{ref:"popperContent","popper-id":c,theme:e.finalTheme,shown:f,mounted:y,"skip-transition":m,"auto-hide":_,"handle-resize":P,classes:A,result:C,onHide:b,onResize:w},{default:v(()=>[h(e.$slots,"popper",{shown:f,hide:b})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const Ht=at(xc,[["render",Ic]]),Hc={...Ht,name:"VDropdown",vPopperTheme:"dropdown"},Bc={...Ht,name:"VMenu",vPopperTheme:"menu"},Oc={...Ht,name:"VTooltip",vPopperTheme:"tooltip"},Ec=k({name:"VTooltipDirective",components:{Popper:Bo(),PopperContent:Do},mixins:[zo],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>He(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>He(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,o=this.content(this);o.then?o.then(n=>this.onResult(t,n)):this.onResult(t,o)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),Dc=["innerHTML"],zc=["textContent"];function Fc(e,t,o,n,s,i){const a=J("PopperContent"),r=J("Popper");return l(),T(r,re({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:v(({popperId:c,isShown:f,shouldMountContent:y,skipTransition:m,autoHide:_,hide:g,handleResize:b,onResize:P,classes:w,result:A})=>[S(a,{ref:"popperContent",class:H({"v-popper--tooltip-loading":e.loading}),"popper-id":c,theme:e.theme,shown:f,mounted:y,"skip-transition":m,"auto-hide":_,"handle-resize":b,classes:w,result:A,onHide:g,onResize:P},{default:v(()=>[e.html?(l(),p("div",{key:0,innerHTML:e.finalContent},null,8,Dc)):(l(),p("div",{key:1,textContent:I(e.finalContent)},null,8,zc))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const Rc=at(Ec,[["render",Fc]]),Fo="v-popper--has-tooltip";function jc(e,t){let o=e.placement;if(!o&&t)for(const n of Ho)t[n]&&(o=n);return o||(o=He(e.theme||"tooltip","placement")),o}function Ro(e,t,o){let n;const s=typeof t;return s==="string"?n={content:t}:t&&s==="object"?n=t:n={content:!1},n.placement=jc(n,o),n.targetNodes=()=>[e],n.referenceNode=()=>e,n}let ut,Be,Wc=0;function Gc(){if(ut)return;Be=B([]),ut=un({name:"VTooltipDirectiveApp",setup(){return{directives:Be}},render(){return this.directives.map(t=>pn(Rc,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),ut.mount(e)}function Uc(e,t,o){Gc();const n=B(Ro(e,t,o)),s=B(!1),i={id:Wc++,options:n,shown:s};return Be.value.push(i),e.classList&&e.classList.add(Fo),e.$_popper={options:n,item:i,show(){s.value=!0},hide(){s.value=!1}}}function jo(e){if(e.$_popper){const t=Be.value.indexOf(e.$_popper.item);t!==-1&&Be.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Fo)}function eo(e,{value:t,modifiers:o}){const n=Ro(e,t,o);if(!n.content||He(n.theme||"tooltip","disabled"))jo(e);else{let s;e.$_popper?(s=e.$_popper,s.options.value=n):s=Uc(e,t,o),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?s.show():s.hide())}}const qc={beforeMount:eo,updated:eo,beforeUnmount(e){jo(e)}};function to(e){e.addEventListener("mousedown",Ke),e.addEventListener("click",Ke),e.addEventListener("touchstart",Wo,Te?{passive:!0}:!1)}function oo(e){e.removeEventListener("mousedown",Ke),e.removeEventListener("click",Ke),e.removeEventListener("touchstart",Wo),e.removeEventListener("touchend",Go),e.removeEventListener("touchcancel",Uo)}function Ke(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Wo(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const o=e.changedTouches[0];t.$_vclosepopover_touchPoint=o,t.addEventListener("touchend",Go),t.addEventListener("touchcancel",Uo)}}function Go(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const o=e.changedTouches[0],n=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(o.screenY-n.screenY)<20&&Math.abs(o.screenX-n.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function Uo(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const Kc={beforeMount(e,{value:t,modifiers:o}){e.$_closePopoverModifiers=o,(typeof t>"u"||t)&&to(e)},updated(e,{value:t,oldValue:o,modifiers:n}){e.$_closePopoverModifiers=n,t!==o&&(typeof t>"u"||t?to(e):oo(e))},beforeUnmount(e){oo(e)}};function Yc(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,xo(ne,t),e.directive("tooltip",qc),e.directive("close-popper",Kc),e.component("VTooltip",Oc),e.component("VDropdown",Hc),e.component("VMenu",Bc))}const Xc={version:"5.2.2",install:Yc,options:ne},Zc={extends:_t,Layout:Yl,async enhanceApp(e){const{app:t}=e;await _t.enhanceApp(e),t.use(Xc)}};export{Zc as R,Qc as V,Ja as c,N as u};