import{o as r,c as t,d as l,F as n,P as o,i as c,n as i,u,D as d,e as m}from"./app-I4K73wff.js";const p={key:0},h={class:"flex flex-wrap -mb-1"},x=["innerHTML"],g={__name:"Pagination",props:{links:Array},setup(s){return(_,b)=>s.links.length>3?(r(),t("div",p,[l("div",h,[(r(!0),t(n,null,o(s.links,(e,a)=>(r(),t(n,null,[e.url===null?(r(),t("div",{key:a,class:"px-2 py-1 mr-1 mb-1 text-sm leading-4 text-gray-400 rounded border",innerHTML:e.label},null,8,x)):(r(),c(u(d),{key:a+1,class:i(["px-2 py-1 mr-1 mb-1 text-sm leading-4 rounded border hover:bg-purple-500 hover:text-white focus:border-purple-500 focus:text-white",{"text-white bg-purple-500":e.active}]),href:e.url,innerHTML:e.label},null,8,["class","href","innerHTML"]))],64))),256))])])):m("",!0)}};export{g as _};
