import{d as x,G as y,I as t,b as n,c as r,K as h,w as u,g as m,e as p,t as i,f as d,a8 as k,O as g,E as w,a9 as N,l as C}from"./entry.02b0a3f0.js";const B={key:0,class:"docs-prev-next"},D={class:"wrapper"},b={key:0,class:"directory"},I={class:"title"},P={key:1},V={class:"wrapper"},E={key:0,class:"directory"},F={class:"title"},j=x({__name:"DocsPrevNext",setup(G){const{prev:e,next:s,navigation:v}=y(),{navDirFromPath:f}=N(),_=l=>{var a;const c=f(l._path,v.value||[]);if(c&&c[0])return((a=c[0])==null?void 0:a._path)??"";{const o=l.split("/");return(o.length>1?o[o.length-2]:"").split("-").map(k).join(" ")}};return(l,c)=>{const a=g,o=w;return t(e)||t(s)?(n(),r("div",B,[t(e)&&t(e)._path?(n(),h(o,{key:0,to:t(e)._path,class:"prev"},{default:u(()=>[m(a,{name:"heroicons-outline:arrow-sm-left",class:"icon"}),p("div",D,[_(t(e)._path)?(n(),r("span",b,i(_(t(e)._path)),1)):d("",!0),p("span",I,i(t(e).title),1)])]),_:1},8,["to"])):(n(),r("span",P)),t(s)&&t(s)._path?(n(),h(o,{key:2,to:t(s)._path,class:"next"},{default:u(()=>[p("div",V,[_(t(s)._path)?(n(),r("span",E,i(_(t(s)._path)),1)):d("",!0),p("span",F,i(t(s).title),1)]),m(a,{name:"heroicons-outline:arrow-sm-right",class:"icon"})]),_:1},8,["to"])):d("",!0)])):d("",!0)}}});const L=C(j,[["__scopeId","data-v-3b1dd3f8"]]);export{L as default};