import{_ as v,d as y,G as g,o as l,c as b,a as t,f as h,w as x,h as _,i as w,t as n,b as p,Q as j,x as k,j as N}from"./entry-d195bacb.mjs";const B=y({name:"DocsPrevNext",setup(m,{expose:d}){d();const{prev:f,next:e,navigation:r}=g(),{navFromPath:o}=j(),s={prev:f,next:e,navigation:r,navFromPath:o,directory:u=>{const c=o(u._path,r.value||[]);if(c&&c[0])return c[0]._path;{const i=u.split("/");return(i.length>1?i[i.length-2]:"").split("-").map(k).join(" ")}}};return Object.defineProperty(s,"__isScriptSetup",{enumerable:!1,value:!0}),s}}),D={key:0,class:"flex flex-row-reverse items-center justify-between gap-4 font-medium leading-7 group"},C={class:"flex items-center justify-start flex-1 w-full"},P={class:"relative flex flex-col items-end truncate"},S={class:"mb-1 text-xs leading-tight d-secondary-text"},V={class:"flex items-center w-full leading-tight"},A={class:"truncate"},F={class:"flex justify-end flex-1 order-first h-full"},E={class:"relative flex flex-col items-start truncate"},G={class:"mb-1 text-xs leading-tight d-secondary-text"},H={class:"flex items-center w-full leading-tight"},I={class:"truncate"};function L(m,d,f,e,r,o){const a=N,s=w;return e.prev||e.next?(l(),b("div",D,[t("div",C,[e.prev?(l(),h(s,{key:0,to:e.prev._path,class:"transition-base surface-border hover:surface-border-hover hover:text-secondary-hover group inline-flex w-full items-center justify-start truncate rounded-xl border px-4 py-2.5 transition"},{default:x(()=>[t("span",P,[t("span",S,n(e.directory(e.prev._path)||"\xA0"),1),t("span",V,[p(a,{name:"heroicons-outline:chevron-double-left",class:"flex-shrink-0 w-4 h-4 mr-2"}),t("span",A,n(e.prev.title),1)])])]),_:1},8,["to"])):_("",!0)]),t("div",F,[e.next?(l(),h(s,{key:0,to:e.next._path,class:"transition-base surface-border hover:surface-border-hover hover:text-secondary-hover group inline-flex w-full h-full items-center justify-end truncate rounded-xl border px-4 py-2.5 transition"},{default:x(()=>[t("span",E,[t("span",G,n(e.directory(e.next._path)||"\xA0"),1),t("span",H,[t("span",I,n(e.next.title),1),p(a,{name:"heroicons-outline:chevron-double-right",class:"flex-shrink-0 w-4 h-4 ml-2"})])])]),_:1},8,["to"])):_("",!0)])])):_("",!0)}var q=v(B,[["render",L]]);export{q as default};
