PageSourceSearch

https://www.elktop.com/_next/static/chunks/app/(website)/products/page-0f0e7ab87bd88ca5.js

js elktop.com collected 2026-10-02 01:28:31 UTC 3,769 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5963,789],{55373:function(e,t,n){Promise.resolve().then(n.bind(n,89627)),Promise.resolve().then(n.bind(n,46908)),Promise.resolve().then(n.t.bind(n,65878,23)),Promise.resolve().then(n.t.bind(n,72972,23))},89627:function(e,t,n){"use strict";n.d(t,{default:function(){return o}});var r=n(57437),i=n(99376),s=n(52700),a=n(73910),l=function(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=function e(t){var n,r,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t){if(Array.isArray(t)){var s=t.length;for(n=0;n<s;n++)t[n]&&(r=e(t[n]))&&(i&&(i+=" "),i+=r)}else for(r in t)t[r]&&(i&&(i+=" "),i+=r)}return i}(e))&&(r&&(r+=" "),r+=t);return r};function o(e){let{pageIndex:t,totalPages:n,paramName:o="page",basePath:c="/archive"}=e,d=(0,i.useRouter)(),u=(0,i.useSearchParams)(),h=function(e,t){if(t<=7)return Array.from({length:t},(e,t)=>t+1);let n=[1];e>3&&n.push("ellipsis");let r=Math.max(2,e-1),i=Math.min(t-1,e+1);for(let e=r;e<=i;e++)n.includes(e)||n.push(e);return e<t-2&&n.push("ellipsis"),t>1&&!n.includes(t)&&n.push(t),n}(t,n),p=e=>{let t=new URLSearchParams(u.toString());t.delete("productPage"),e<=1?t.delete(o):t.set(o,e.toString());let n=t.toString();d.push(n?"".concat(c,"?").concat(n):c)};if(n<=1)return null;let f="inline-flex items-center gap-1.5 text-sm font-medium text-elktop-text-1 transition-opacity hover:opacity-70 disabled:cursor-not-allowed disabled:opacity-40 dark:text-white";return(0,r.jsx)("div",{className:"mb-6 mt-12 flex items-center justify-center",children:(0,r.jsxs)("nav",{className:"flex items-center gap-5 sm:gap-6","aria-label":"Pagination",children:[(0,r.jsxs)("button",{type:"button",disabled:t<=1,onClick:()=>p(t-1),className:f,children:[(0,r.jsx)(s.Z,{className:"h-4 w-4","aria-hidden":"true"}),(0,r.jsx)("span",{children:"Previous"})]}),(0,r.jsx)("div",{className:"flex items-center gap-4 sm:gap-5",children:h.map((e,n)=>"ellipsis"===e?(0,r.jsx)("span",{className:"select-none text-sm text-elktop-text-3 dark:text-white/70","aria-hidden":"true",children:"…"},"ellipsis-".concat(n)):(0,r.jsx)("button",{type:"button",onClick:()=>p(e),"aria-current":e===t?"page":void 0,className:l("inline-flex h-9 min-w-9 items-center justify-center px-2 text-sm font-medium text-elktop-text-1 transition-opacity hover:opacity-70 dark:text-white",e===t&&"rounded-lg border border-elktop-border bg-elktop-canvas hover:opacity-100 dark:border-zinc-600 dark:bg-zinc-900"),children:e},e))}),(0,r.jsxs)("button",{type:"button",onClick:()=>p(t+1),disabled:t>=n,className:f,children:[(0,r.jsx)("span",{children:"Next"}),(0,r.jsx)(a.Z,{className:"h-4 w-4","aria-hidden":"true"})]})]})})}},52700:function(e,t,n){"use strict";var r=n(2265);let i=r.forwardRef(function(e,t){let{title:n,titleId:i,...s}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},s),n?r.createElement("title",{id:i},n):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 19.5 8.25 12l7.5-7.5"}))});t.Z=i},73910:function(e,t,n){"use strict";var r=n(2265);let i=r.forwardRef(function(e,t){let{title:n,titleId:i,...s}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},s),n?r.createElement("title",{id:i},n):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m8.25 4.5 7.5 7.5-7.5 7.5"}))});t.Z=i}},function(e){e.O(0,[2972,7801,2971,2117,1744],function(){return e(e.s=55373)}),_N_E=e.O()}]);

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.