1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4773],{84953:function(e,t,n){var i=n(27573),a=n(8960);t.Z=e=>{let{fontSize:t,...n}=e;return(0,i.jsx)(a.Z,{$fontSize:t,...n,dangerouslySetInnerHTML:{__html:'<path d="M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"></path>'}})}},34773:function(e,t,n){n.r(t),n.d(t,{Pagination:function(){return m}});var i=n(27573),a=n(63160),r=n(7653),l=n(63074),s=n.n(l),o=n(62233),d=n(8960),p=e=>{let{fontSize:t,...n}=e;return(0,i.jsx)(d.Z,{$fontSize:t,...n,dangerouslySetInnerHTML:{__html:'<path d="M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"></path>'}})},c=n(84953),u=e=>{let{fontSize:t,...n}=e;return(0,i.jsx)(d.Z,{$fontSize:t,...n,dangerouslySetInnerHTML:{__html:'<path d="M15.5 5H11l5 7-5 7h4.5l5-7z"></path><path d="M8.5 5H4l5 7-5 7h4.5l5-7z"></path>'}})};let h=(0,a.ZP)("div").withConfig({displayName:"Pagination__Container",componentId:"sc-bbe6174e-0"})(["display:flex;align-items:center;margin:5px 0 20px;justify-content:",";@media (max-width:576px){margin:5px 0;}"],e=>e.justifyContent),g=(0,a.iv)(["background:",";color:white;"],e=>e.theme.colors.manatee),x=(0,a.iv)(["cursor:default;opacity:0.5;"]),f=(0,a.ZP)("button").attrs({type:"button"}).withConfig({displayName:"Pagination__Box",componentId:"sc-bbe6174e-1"})(["appearance:none;box-sizing:inherit;padding:0;margin:0;border:0;background:none;font:inherit;color:inherit;text-align:inherit;background:",";cursor:pointer;width:20px;height:20px;display:flex;align-items:center;justify-content:center;border-radius:3px;color:",";font-size:",";svg{color:white};margin-right:10px;&:first-of-type{margin-left:15px;}&:last-of-type{margin-right:15px;}",";",";"],e=>e.theme.colors.silver,e=>e.theme.colors.boulder,e=>e.theme.typography.xSmallText,e=>e.selected&&g,e=>e.disabled&&x),b=(0,a.ZP)(e=>{let{left:t,...n}=e;return(0,i.jsx)(u,{...n})}).withConfig({displayName:"Pagination__CustomIcon",componentId:"sc-bbe6174e-2"})(["font-size:11px;transform:",";"],e=>e.left?"rotate(180deg)":0),m=e=>{let{total:t,page:n,perPage:a,onChange:l}=e,{width:s}=(0,o.Z)();n=Number(n);let d=Math.ceil((t=Number(t||0))/(a=Number(a||1))),u=Array(d).fill(0),g=(0,r.useCallback)(e=>{e<1?l(1):e>d?l(d):l(e)},[d]);return!t||t<a?null:(0,i.jsxs)(h,{as:"nav","aria-label":"Pagination",justifyContent:"space-between",style:{maxWidth:"100%"},children:[(0,i.jsxs)(h,{justifyContent:"flex-start",children:[(0,i.jsx)(f,{onClick:()=>g(1),"aria-label":"First page",disabled:1===n,children:(0,i.jsx)(b,{left:!0})}),(0,i.jsx)(f,{onClick:()=>g(n-1),"aria-label":"Previous page",disabled:1===n,children:(0,i.jsx)(p,{style:{fontSize:"14px"}})})]}),(0,i.jsx)(h,{justifyContent:"center",children:u.map((e,t)=>Math.abs(t+1-n)>(s<576?2:3)?null:(0,i.jsx)(f,{selected:n===t+1,onClick:()=>g(t+1),"aria-label":"Page ".concat(t+1),"aria-current":n===t+1?"page":void 0,children:t+1},t))}),(0,i.jsxs)(h,{justifyContent:"flex-end",children:[(0,i.jsx)(f,{onClick:()=>g(n+1),"aria-label":"Next page",disabled:n===d,children:(0,i.jsx)(c.Z,{style:{fontSize:"14px"}})}),(0,i.jsx)(f,{onClick:()=>g(d),"aria-label":"Last page",disabled:n===d,children:(0,i.jsx)(b,{})})]})]})};m.propTypes={total:s().oneOfType([s().number.isRequired,s().string.isRequired]),page:s().oneOfType([s().number.isRequired,s().string.isRequired]),perPage:s().oneOfType([s().number.isRequired,s().string.isRequired]),onChange:s().func.isRequired}}}]);
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.