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