1import{i as x,o as s,c as a,e as l,d as _,al as p,a7 as f,y as h,b as m,l as c,n as u,F as v,m as y,S as b,t as k}from"./G7JqIrEk.js";const w={},C={xmlns:"http://www.w3.org/2000/svg",class:"h-5 w-5",viewBox:"0 0 20 20",fill:"currentColor"},V=l("path",{"fill-rule":"evenodd",d:"M9.707 14.707a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 1.414L7.414 9H15a1 1 0 110 2H7.414l2.293 2.293a1 1 0 010 1.414z","clip-rule":"evenodd"},null,-1),N=[V];function $(e,t){return s(),a("svg",C,N)}const M=x(w,[["render",$]]),P={class:"w-full border-t-2 border-gray-200 px-4 flex items-center justify-between sm:px-0"},B=["disabled"],j=l("span",null,"Vorige",-1),q={key:0,class:"hidden md:flex items-end text-gray-500 text-sm font-medium"},z={key:0},A=["onClick"],F={key:1},H=["disabled"],L=l("span",null,"Volgende",-1),E=_({__name:"Paginate",props:p({total:{type:Number,required:!0},hidePageNumbers:{type:Boolean,default:!1}},{modelValue:{type:Number,required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=f(e,"modelValue"),g=e,i=h(()=>{const r=Math.max(1,t.value-2),n=Math.min(g.total,r+4);return Array.from({length:n-r+1},(d,o)=>r+o)});return(r,n)=>{const d=M;return s(),a("nav",P,[l("button",{onClick:n[0]||(n[0]=o=>t.value--),class:"flex-1 pt-4 pr-1 inline-flex gap-3 items-center text-sm font-medium text-gray-700 hover:text-gray-800 disabled:opacity-30",disabled:t.value===1},[m(d,{class:"text-gray-400 group-hover:text-indigo-500 transition-colors"}),j],8,B),e.hidePageNumbers?u("",!0):(s(),a("div",q,[e.total>5&&!c(i).includes(1)?(s(),a("span",z," ... ")):u("",!0),(s(!0),a(v,null,y(c(i),o=>(s(),a("div",{key:o,class:b(["flex items-end pt-4 px-4",[t.value===o?"border-indigo-500 text-indigo-600":"hover:text-gray-700 hover:border-gray-300"]])},[l("button",{onClick:S=>t.value=o},k(o),9,A)],2))),128)),e.total>5&&!c(i).includes(e.total)?(s(),a("span",F," ... ")):u("",!0)])),l("button",{onClick:n[1]||(n[1]=o=>t.value++),class:"group flex-1 justify-end pt-4 pl-1 inline-flex gap-3 items-center text-sm font-medium text-gray-700 hover:text-gray-800 disabled:opacity-30",disabled:t.value>=e.total},[L,m(d,{class:"rotate-180 text-gray-400 group-hover:text-indigo-500 transition-colors"})],8,H)])}}});export{E as _,M as a};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.