1import"./CREXsFur.js";import{p as C,d as s,l as c,s as x,r as d,t as q,e as b,a as A,b as D,u as v,c as E}from"./BQYUv87j.js";import{p as g,B as y}from"./DMa-LMKw.js";import{I as k}from"./CeX9oDsX.js";var F=E('<div class="pagination-wrapper flex w-full flex-row items-center justify-center gap-6"><!> <div class="flex flex-row gap-1 text-base font-normal"><span> </span> <span>/</span> <span> </span></div> <!></div>');function L(z,t){C(t,!0);let e=g(t,"currPage",3,1),i=g(t,"totalPage",3,1),B=g(t,"actionUpdate",3,!1);const h=(a,n)=>{var r,l,P,_;B()?(a==="next"&&e()<i()&&((r=t.handleNext)==null||r.call(t,e()+1)),a==="prev"&&e()>1&&((l=t.handlePrev)==null||l.call(t,e()-1))):(a==="next"&&e()<i()&&((P=t.handleNext)==null||P.call(t,e()+n)),a==="prev"&&e()>1&&((_=t.handlePrev)==null||_.call(t,e()+n)))};var f=F(),m=s(f);{let a=v(()=>["btn-tertiary !h-10 !w-10 !min-w-10 !p-0",e()===1?"!text-[var(--icon-primary)]":"!text-[var(--icon-active)]"]),n=v(()=>e()===1);y(m,{get class(){return c(a)},size:"md",onclick:()=>h("prev",-1),get disabled(){return c(n)},children:(r,l)=>{k(r,{icon:"fe:arrow-left",class:"!h-6 !w-6"})},$$slots:{default:!0}})}var o=x(m,2),u=s(o),I=s(u,!0);d(u);var w=x(u,4),U=s(w,!0);d(w),d(o);var j=x(o,2);{let a=v(()=>["btn-tertiary !h-10 !w-10 !min-w-10 !p-0",e()===i()?"!text-[var(--icon-primary)]":"!text-[var(--icon-active)]"]),n=v(()=>e()===i());y(j,{get class(){return c(a)},size:"md",onclick:()=>h("next",1),get disabled(){return c(n)},children:(r,l)=>{k(r,{icon:"fe:arrow-right",class:"!h-6 !w-6"})},$$slots:{default:!0}})}d(f),q(()=>{b(I,e()),b(U,i())}),A(z,f),D()}export{L as P};
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.