PageSourceSearch

https://aibr.org/build/assets/Paginated-jeXNJLzx.js

js aibr.org collected 2026-09-24 09:34:02 UTC 1,415 bytes, 1 lines download raw bytes

1import{j as e,d as a}from"./app-belrbPXN.js";import{ChevronIcon as o}from"./ChevronIcon-2kwZXCOy.js";import{u as f,P as m}from"./chunk-TNTFQBEK-SFGRqfrY.js";import"./index-taukuCH3.js";import"./chunk-2PIR7DFM-PKNoTa34.js";import"./chunk-3TAVD5Y3-JLEfvKNw.js";import"./chunk-XHQUSKIE-9yTKuk0T.js";import"./chunk-6BQDBGF4-B566eCa_.js";import"./chunk-MCFSCOSB--WO4Tv9A.js";const v=({total:x,from:d,currentPage:l,lastPage:s})=>{const{range:c}=f({total:s,showControls:!0,siblings:1,boundaries:1}),r=window.location.pathname;return e.jsx("div",{className:"flex flex-col gap-2 mt-4",children:e.jsx("ul",{className:"flex gap-2 items-center",children:c.map((t,n)=>{if(t===m.NEXT){const i=s>l+1?l+1:s;return e.jsx("li",{"aria-label":"next page",className:"w-8 h-8",children:e.jsx(a,{href:`${r}?page=${i}`,className:"flex items-center justify-center w-full h-full bg-default-200 rounded-full",children:e.jsx(o,{className:"rotate-180"})})},`next-${n}`)}if(t===m.PREV){const i=l>1?l-1:1;return e.jsx("li",{"aria-label":"previous page",className:"w-8 h-8",children:e.jsx(a,{href:`${r}?page=${i}`,className:"flex items-center justify-center w-full h-full bg-default-200 rounded-full",children:e.jsx(o,{})})},`prev-${n}`)}return e.jsx("li",{children:e.jsx(a,{href:`${r}?page=${t}`,className:`${l===t?"bg-neutral-400 text-white":"bg-white text-black"} px-4 py-2 rounded-md`,children:t})},`page-${t}`)})})})};export{v as Paginated};

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.