PageSourceSearch

https://baredfootwear.com/assets/PaginationNumbered-BbU6wZe0.js

js baredfootwear.com collected 2026-09-25 15:03:53 UTC 1,277 bytes, 1 lines download raw bytes

1import{j as r,r as p}from"./chunk-OIYGIGL5-BtmXETWf.js";import{c as i}from"./clsx-B-dksMZM.js";import{t as x}from"./Sections-C5lBi8Oa.js";import{t as m}from"./useLiveChat-CuZZGLfR.js";function h({onChange:t,className:c,totalPages:s,currentPage:e}){const n=[];for(let a=1;a<=s;a++){const o=a-e;(a===1||s===a||[-1,0,1].includes(o))&&n.push(a)}return r.jsxs("nav",{className:i("flex gap-micro",c),"aria-label":"Pagination",children:[r.jsx("button",{type:"button","aria-label":"Go to previous page",disabled:e===1,className:"px-pico disabled:opacity-50",onClick:()=>t(e-1),children:r.jsx(x,{className:"w-[12px]"})}),n.map((a,o)=>{const l=n[o-1];return r.jsxs(p.Fragment,{children:[l&&a-l>1&&r.jsx("span",{"aria-hidden":!0,className:"flex h-[35px] w-[35px] items-center justify-center",children:"…"}),r.jsx("button",{type:"button",onClick:()=>t(a),"aria-label":a===e?`Current page, ${a}`:`Go to page ${a}`,className:i("h-[35px] w-[35px] border",a===e?"border-primary bg-primary text-white":"border-quaternary hover:bg-tertiary"),"aria-current":a===e?"page":void 0,children:a})]},a)}),r.jsx("button",{type:"button","aria-label":"Go to next page",disabled:e>=s,className:"px-pico disabled:opacity-50",onClick:()=>t(e+1),children:r.jsx(m,{className:"w-[12px]"})})]})}export{h as N};

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.