import{r as c,c as t,i as o,o as r,F as i,g as u,e as p,n,w as m,a as v}from"./app-Do7K7VDV.js";const _={key:0,class:"pagination-two style-none d-flex align-items-center pt-20"},d=["innerHTML"],f=["innerHTML"],k={__name:"Pagination",props:{links:[Object,Array],preserveState:!1,preserveScroll:!1},setup(s){return(h,L)=>{const l=c("Link");return s.links.length>3?(r(),t("ul",_,[(r(!0),t(i,null,u(s.links,(e,a)=>(r(),t("li",{key:a},[e.url===null?(r(),t("a",{key:a,class:n({current:e.active}),innerHTML:e.label.includes("Next")?"»":"«"},null,10,d)):(r(),p(l,{"preserve-state":s.preserveState,"preserve-scroll":s.preserveScroll,key:`link-${a}`,class:n({current:e.active}),href:e.url},{default:m(()=>[v("span",{class:"text-nowrap",innerHTML:e.label},null,8,f)]),_:2},1032,["preserve-state","preserve-scroll","class","href"]))]))),128))])):o("",!0)}}};export{k as _};
