1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8830,983],{93617:function(e,n,a){"use strict";a.d(n,{L:function(){return g}});var t=a(85893),r=a(41664),i=a.n(r),o=a(9008),c=a.n(o),l=a(39223),s=a.n(l),p=a(67294);let g=20;n.Z=e=>{let{currentPage:n,totalCount:a,path:r}=e,o=Math.ceil(a/g),l=function(e,n){let a=!(arguments.length>2)||void 0===arguments[2]||arguments[2];return Array.from({length:n-e+1},(n,t)=>({page:e+t,mobileDisplay:a}))},u=()=>o<=5?l(1,o):n<=4?l(1,5).concat({page:o,mobileDisplay:!0}):n>=o-2?[{page:1,mobileDisplay:!0}].concat(l(o-5+1,o)):[{page:1,mobileDisplay:!0}].concat({page:n-2,mobileDisplay:!1},l(n-2+1,n+2-1),{page:n+2,mobileDisplay:!1},{page:o,mobileDisplay:!0}),h=(e,n)=>(0,t.jsx)(c(),{children:(0,t.jsx)("link",{rel:n,href:"".concat("https://golf-medley.com").concat(e)})});return(0,t.jsx)("div",{className:s().pager,children:(0,t.jsx)("ul",{className:s().pagination,children:(()=>{let e=u();return e.map((a,o)=>{let{page:c,mobileDisplay:l}=a,g=r(c);return(0,t.jsxs)(p.Fragment,{children:[0===o||c-e[o-1].page==1?(0,t.jsx)(t.Fragment,{}):(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-6 h-6 text-gray-500",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 12a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM12.75 12a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM18.75 12a.75.75 0 11-1.5 0 .75.75 0 011.5 0z"})},"dot-".concat(o)),(0,t.jsxs)("li",{className:"".concat(c===n?s().currentPage:""," ").concat(l?"inline-block":"hidden md:inline-block"),children:[c===n-1&&h(g,"prev"),c===n+1&&h(g,"next"),(0,t.jsx)(i(),{href:g,prefetch:!1,children:(0,t.jsx)("span",{children:c})})]})]},"page-".concat(c,"-").concat(o))})})()})})}},88830:function(e,n,a){"use strict";a.r(n);var t=a(85893),r=a(93617),i=a(54887);n.default=e=>{let{currentPage:n,totalCount:a}=e;return(0,t.jsx)(r.Z,{currentPage:n,totalCount:a,path:e=>{let n=location.pathname,a=location.search,t=i.Z.parse(a),r=i.Z.stringifyUrl({url:n,query:{...t,page:e}});return 1===e?i.Z.exclude(r,["page"]):r}})}},39223:function(e){e.exports={pager:"PagenationCore_pager__2MYBo",pagination:"PagenationCore_pagination__TwZW4",currentPage:"PagenationCore_currentPage__Rv45X",active:"PagenationCore_active__M6BT_"}}}]);
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.