import{d as i,w as c,c as e,o as s,b as r,F as l,r as p,E as d,a as u,j as _,u as h,P as v}from"./app-BidmlC59.js";const y={class:"pagination-container"},g={"aria-label":"Page navigation example"},b={class:"pagination"},m={key:0,class:"ri-arrow-right-double-line"},f={key:1,class:"ri-arrow-left-double-line"},k=["innerHTML"],w={key:1,class:"page-item"},P={href:"javascript:void(0)",class:"page-link"},B={key:0,class:"ri-arrow-right-double-line"},L={key:1,class:"ri-arrow-left-double-line"},H=["innerHTML"],T=i({__name:"Pagination",props:{links:{},preserveScroll:{type:Boolean},preserveState:{type:Boolean},only:{}},setup(t){return c(t.links,o=>{console.log(o)}),(o,N)=>(s(),e("div",y,[r("nav",g,[r("ul",b,[(s(!0),e(l,null,p(o.links,(a,n)=>(s(),e(l,{key:n},[a.url!=null?(s(),e("li",{key:0,class:d({"page-item":!0,active:a.active})},[u(h(v),{href:o.$page.props.appEnv=="production"?a.url.replace("http://","https://"):a.url,"preserve-state":o.preserveState,"preserve-scroll":o.preserveScroll,only:o.only!=null?[""+o.only]:void 0,class:"page-link"},{default:_(()=>[a.label.includes("Previous")?(s(),e("i",m)):a.label.includes("Next")?(s(),e("i",f)):(s(),e("span",{key:2,innerHTML:a.label},null,8,k))]),_:2},1032,["href","preserve-state","preserve-scroll","only"])],2)):(s(),e("li",w,[r("a",P,[a.label.includes("Previous")?(s(),e("i",B)):a.label.includes("Next")?(s(),e("i",L)):(s(),e("span",{key:2,innerHTML:a.label},null,8,H))])]))],64))),128))])])]))}});export{T as _};
