PageSourceSearch

https://www.wingboss.com/_next/static/chunks/pages/user-profile/loyalty-store-8a3ecd6962b2cf92.js

js wingboss.com collected 2026-09-29 14:38:06 UTC 21,637 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2782],{12798:(e,t,i)=>{"use strict";i.d(t,{A:()=>n});let n={src:"/_next/static/media/LoyaltyStar.80817f05.png",height:36,width:36,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAVFBMVEWDdxEWEQDYHip2YgAAABL2qSSkiQA+KiIiGxclGBpOQQD/4gD//wAtJQAgHABRRQAAAAC8nwD2zwCYgQPrxwCZgABpXgCkigBQRACQeACkigDauQDPURDdAAAAGnRSTlMBSCaqIgnYDRI0jfsRl3+wPPzzTfiDgqZ7uEX4nTkAAAAJcEhZcwAACxMAAAsTAQCanBgAAABASURBVHicFYlHDsAgDMBcIIRA9x7//2cVyQfLBlVRgGJ6jC6WJMfiZYvLnocC99vaNft8vvUMAfpc62QCdMn5AUSRAfP5v1fTAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8}},36247:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/user-profile/loyalty-store",function(){return i(64863)}])},53645:(e,t,i)=>{"use strict";i.d(t,{A:()=>n});let n={src:"/_next/static/media/arrow_r.0c029842.svg",height:50,width:50,blurWidth:0,blurHeight:0}},61198:(e,t,i)=>{"use strict";i.d(t,{A:()=>F});var n=i(37876),o=i(54587),a=i.n(o),s=i(85633),d=i(92517),l=i(44264),r=i(28074);let c=l.Ay.div.withConfig({componentId:"sc-26ceb8ab-0"})(["overflow:hidden;position:relative;border-radius:16px;width:328px;@media only screen and (min-width:","){width:650px;}"],d.A.breakpoints.tabletLandscape),p=l.Ay.div.withConfig({componentId:"sc-26ceb8ab-1"})(["width:100%;height:180px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;@media only screen and (min-width:","){height:260px;}"],d.A.breakpoints.tabletLandscape),h=l.Ay.div.withConfig({componentId:"sc-26ceb8ab-2"})(["position:absolute;border-radius:50%;background:#fff7d0;width:699px;height:499px;bottom:0;left:-186px;@media only screen and (min-width:","){width:837px;left:-78px;}"],d.A.breakpoints.tabletLandscape),g=l.Ay.div.withConfig({componentId:"sc-26ceb8ab-3"})(["padding:16px;@media only screen and (min-width:","){padding:32px;}"],d.A.breakpoints.tabletLandscape),x=l.Ay.h3.withConfig({componentId:"sc-26ceb8ab-4"})(["font-size:24px;text-transform:none;margin-bottom:0;@media only screen and (min-width:","){font-size:32px;}"],d.A.breakpoints.tabletLandscape),m=l.Ay.span.withConfig({componentId:"sc-26ceb8ab-5"})(["font-size:18px;color:#575757;display:block;margin-bottom:24px;"]),f=l.Ay.span.withConfig({componentId:"sc-26ceb8ab-6"})(["font-size:16px;text-align:center;margin-bottom:16px;display:block;"]),u=(0,l.Ay)(r.Ay).withConfig({componentId:"sc-26ceb8ab-7"})(["height:min-content;padding:12px;margin:0;span{text-wrap:balance;}"]),b=l.Ay.div.withConfig({componentId:"sc-26ceb8ab-8"})(["display:flex;flex-direction:column-reverse;gap:12px;@media only screen and (min-width:","){flex-direction:row;gap:16px;}"],d.A.breakpoints.tabletLandscape);var A=i(44232),w=i(30464),y=i(66932),v=i(14232),C=i(9099),j=i(43264),I=i(26046),k=i(89099),S=i(9114),_=i(4523),L=i(60729);let P=e=>{let{loyaltyStoreItem:t,setLoyaltyStoreItem:i,refetch:n,isInCart:o}=e,[a,s]=(0,v.useState)(!1),[d,l]=(0,v.useState)(""),[r,c]=(0,v.useState)(!1),[p,h]=(0,v.useState)(null),{push:g,query:x}=(0,k.useRouter)(),m=(0,S.A)(),f=null==x?void 0:x.locale;return{handleOnExchangeClick:(0,v.useCallback)(async()=>{try{let d=(0,y.R5)(w.rC.quote),r=null==t?void 0:t.id;if(r){s(!0),i(null);let t=await j.A.post((0,I.A)(C.A.LOYALTY_STORE_SPECIFIC_ITEM,{itemId:r}),void 0);if(o&&t)if((null==t?void 0:t.isLoyaltyItem)&&(null==t?void 0:t.itemId)){let i=await j.A.get((0,I.A)(C.A.LOCATION_SPECIFIC_ITEM_SPECIFIC_LOYALTY_DETAILS,{locationId:null==d?void 0:d.locationId,itemId:t.itemId}));if(i){var e,a;(0,y.St)({name:w.rC.quote,props:{...d,brandLocationId:void 0,itemInstanceId:i.itemInstanceId,loyaltyCouponCode:t.code},options:w.xD}),g((0,_.$)({menuType:L.UC.orderMenu,countryCode:m,locale:f,locationSlug:null!=(a=null==(e=i.primaryLocation)?void 0:e.slug)?a:i.locationSlug,sectionSlug:i.sectionSlug,itemInstanceSlug:i.itemInstanceSlug}))}else{l("Can not find loyalty item"),c(!0);return}}else await j.A.post((0,I.A)(C.A.APPLY_COUPON,{orderId:d.quoteId}),{code:t.code});else t&&h(t);s(!1),await n()}}catch(e){l(e.message),c(!0),s(!1)}},[null==t?void 0:t.id,i,o,n,g,m,f]),isLoading:a,error:d,showReactionModal:r,setShowReactionModal:c,walletItem:p,setWalletItem:h}};var R=i(84274),T=i(51948),z=i(50538),E=i(66241),N=i(29475);let M=l.Ay.div.withConfig({componentId:"sc-fe0526b1-0"})(["background:white;position:absolute;right:24px;top:74px;border-radius:16px;box-shadow:1px 16px 40px 0px #23304414;padding:16px;display:flex;> div{>
1 span{display:block;}}"]),O=l.Ay.div.withConfig({componentId:"sc-fe0526b1-1"})(["position:fixed;top:104px;width:100vw;left:0;height:140px;background:linear-gradient(180deg,rgba(0,0,0,0.16) 0%,rgba(0,0,0,0) 100%);z-index:1;"]),D=l.Ay.div.withConfig({componentId:"sc-fe0526b1-2"})(["width:105px;height:105px;position:relative;margin-right:12px;"]),B=l.Ay.div.withConfig({componentId:"sc-fe0526b1-3"})(["width:16px;height:16px;opacity:0.7;background-image:url(",");object-fit:cover;object-position:center;background-repeat:no-repeat;position:absolute;right:16px;cursor:pointer;"],N.A.src),Y=(0,l.Ay)(r.Ay).withConfig({componentId:"sc-fe0526b1-4"})(["font-size:16px;@media only screen and (min-width:","){font-size:18px;}"],d.A.breakpoints.tabletPortrait),W=e=>{let{walletItem:t,setWalletItem:i}=e,[n,o]=(0,v.useState)(null);return{handleOnRedeemClick:(0,v.useCallback)(()=>{o(t),i(null)},[t,i]),reward:n,setReward:o}},Q=e=>{var t;let{walletItem:i,setWalletItem:o,canClaimLoyalty:s=!0}=e,{handleOnRedeemClick:d,reward:l,setReward:r}=W({walletItem:i,setWalletItem:o});return(0,n.jsxs)(n.Fragment,{children:[i?(0,n.jsx)(O,{children:(0,n.jsxs)(M,{children:[(0,n.jsx)(D,{children:(0,n.jsx)(a(),{src:(null==i||null==(t=i.image)?void 0:t.url)||z.A.src,fill:!0,style:{objectFit:"contain",objectPosition:"center"},alt:null==i?void 0:i.label})}),(0,n.jsxs)("div",{children:[(0,n.jsx)(B,{role:"button",onClick:()=>o(null)}),(0,n.jsx)("span",{style:{marginRight:"28px"},children:(0,n.jsx)("b",{children:"Reward Added"})}),(0,n.jsx)("span",{children:null==i?void 0:i.label}),(0,n.jsx)(Y,{inverted:!0,onClick:d,className:void 0,blank:void 0,block:void 0,disabled:!s,important:void 0,onBlur:void 0,onFocus:void 0,onKeyPress:void 0,type:void 0,tabIndex:void 0,fullWidth:void 0,children:"Redeem"})]})]})}):null,(0,n.jsx)(E.A,{redeemReward:l,setReedemReward:r})]})},F=e=>{var t;let{loyaltyStoreItem:i,setLoyaltyStoreItem:o,refetch:d,isInCart:l,canClaimLoyalty:r=!0}=e,{error:w,handleOnExchangeClick:y,setShowReactionModal:v,showReactionModal:C,isLoading:j,walletItem:I,setWalletItem:k}=P({loyaltyStoreItem:i,setLoyaltyStoreItem:o,refetch:d,isInCart:l});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(T.A,{isLoading:j}),(0,n.jsx)(Q,{walletItem:I,setWalletItem:k,canClaimLoyalty:r}),(0,n.jsx)(A.A,{show:!!i,setShow:()=>o(null),modalItemClose:void 0,fullWidth:void 0,setShowTipModal:void 0,isOnSide:void 0,wide:void 0,padding:"0",modalOnSmallScreen:!0,children:i?(0,n.jsxs)(c,{children:[(0,n.jsxs)(p,{children:[(0,n.jsx)(h,{}),(0,n.jsx)(a(),{src:(null==i||null==(t=i.image)?void 0:t.url)||s.A.src,width:625,height:350,style:{position:"relative",width:"auto",height:"100%",maxWidth:"100%",objectFit:"contain"},alt:null==i?void 0:i.label})]}),(0,n.jsxs)(g,{children:[(0,n.jsx)(x,{children:null==i?void 0:i.label}),i.pointsCost?(0,n.jsxs)(m,{children:[i.pointsCost," ",1===i.pointsCost?"Point":"Points"]}):null,i.pointsCost?(0,n.jsxs)(f,{children:["Are you sure you want to redeem ",i.pointsCost," points for this reward?"]}):null,(0,n.jsxs)(b,{children:[l?null:(0,n.jsx)(u,{inverted:!0,fullWidth:!0,onClick:()=>o(null),children:"Cancel"}),(0,n.jsx)(u,{fullWidth:!0,onClick:y,children:l?"Yes, redeem and add to cart":"Yes, redeem"})]})]})]}):null}),(0,n.jsx)(R.A,{isSuccess:!1,errorMessage:w,setShow:v,show:C,Route:void 0,successMessage:void 0,warningMessage:void 0,errorTitle:void 0,warningTitle:void 0,warning:void 0,setShowTipModal:void 0,successTitle:void 0,refetch:void 0})]})}},63493:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var n=i(14232),o=i(9099),a=i(43264);let s=()=>{let[e,t]=(0,n.useState)(!1),i=(0,n.useCallback)(async()=>{try{let e=await a.A.get(o.A.LOYALTY_MYSTERY_REWARD_PROGRESS);e&&t(e.canClaimLoyaltyReward)}catch(e){console.log(e.message)}},[]);return(0,n.useEffect)(()=>{i()},[]),e}},64863:(e,t,i)=>{"use strict";i.r(t),i.d(t,{__N_SSG:()=>X,default:()=>J});var n=i(37876),o=i(39433),a=i(65964),s=i(48230),d=i.n(s),l=i(44264),r=i(90639),c=i(92517);let p=l.Ay.div.withConfig({componentId:"sc-cfda815e-0"})(["background-image:url(",");height:16px;width:16px;transform:rotate(90deg);margin-right:8px;margin-bottom:4px;"],r.A.src),h=l.Ay.div.withConfig({componentId:"sc-cfda815e-1"})(["display:inline-flex;align-items:center;justify-content:flex-start;margin-bottom:8px;padding:0 16px;@media only screen and (min-width:","){margin-bottom:16px;padding:0 24px;}"],c.A.breakpoints.tabletLandscape),g=l.Ay.span.withConfig({componentId:"sc-cfda815e-2"})(["cursor:pointer;text-decoration:none;span{font-weight:700;}"]),x=l.Ay.div.withConfig({componentId:"sc-cfda815e-3"})(["display:flex;flex-direction:column;gap:16px;align-items:flex-start;@media only screen and (min-width:","){gap:24px;flex-direction:row;}"],c.A.breakpoints.tabletLandscape),m=l.Ay.div.withConfig({componentId:"sc-cfda815e-4"})([""]),f=l.Ay.div.withConfig({componentId:"sc-cfda815e-5"})(["width:100%;"]),u=l.Ay.span.withConfig({componentId:"sc-cfda815e-6"})(["display:block;color:",";font-size:14px;@media only screen and (min-width:","){text-align:center;}"],e=>{let{isPositive:t}=e;return t?"#00761C":"#DD140B"},c.A.breakpoints.tabletLandscape),b=l.Ay.span.withConfig({componentId:"sc-cfda815e-7"})(["display:block;font-weight:700;line-height:1.2;font-size:26px;text-align:center;@media only screen and (min-width:","){font-size:32px;}"],c.A.breakpoints.tabletLandscape),A=l.Ay.div.withConfig({componentId:"sc-cfda815e-8"})(["display:flex;flex-direction:row-reverse;background:white;padding:16px;align-items:center;width:100%;justify-content:flex-end;@media only screen and (min-width:","){flex-direction:column;justify-content:center;border-radius:16px;width:300px;padding:24px;}"],c.A.breakpoints.tabletLandscape),w=l.Ay.div.withConfig({componentId:"sc-cfda815e-9"})(["background-image:url(",");width:60px;height:60px;background-position:center;background-size:cover;margin-right:8px;@media only screen and (min-width:","){width:140px;height:140px;}"],"/_next/static/media/HandHoldingPhoneIcon.87337f01.svg",c.A.breakpoints.tabletLandscape);var y=i(89099),v=i(14232),C=i(9099),j=i(43264),I=i(63493);let k=()=>{let{query:e}=(0,y.useRouter)(),[t,i]=(0,v.useState)(!1),[n,o]=(0,v.useState)(""),[a,s]=(0,v.useState)(null),[d,l]=(0,v.useState)(null),[r,c]=(0,v.useState)(0),[p,h]=(0,v.useState)(!1),[g,x]=(0,v.useState)(e.page&&Number(e.page)||1),m=(0,I.A)(),f=(0,v.useCallback)(async()=>{try{i(!0);let e=await j.A.get(C.A.LOYALTY_STORE_ITEMS,{page:g,limit:10});e&&(l(e.customerPoints),s(e.loyaltyStoreItems.data),c(e.loyaltyStoreItems.totalCount))}catch(e){o(e.message),h(!0)}finally{i(!1)}},[g]);return(0,v.useEffect)(()=>{f()},[g]),{isLoading:t,error:n,loyaltyStoreItems:a,customerPoints:d,totalCount:r,showReactionModal:p,setShowReactionModal:h,setCurrentPage:x,fetchLoyaltyStoreItems:f,currentPage:g,canClaimLoyalty:m}};var S=i(84274),_=i(54587),L=i.n(_),P=i(28074);let R=l.Ay.div.withConfig({componentId:"sc-e77f7c2e-0"})(["padding:16px;display:flex;flex-direction:column;gap:16px;@media only screen and (min-width:","){padding:0;}"],c.A.breakpoints.tabletLandscape),T=l.Ay.div.withConfig({componentId:"sc-e77f7c2e-1"})(["position:relative;margin-right:18px;overflow:hidden;min-width:96px;width:96px;height:auto;min-height:96px;@media only screen and (min-width:","){min-width:106px;height:114px;width:114px;}@media only screen and (min-width:","){min-width:80px;height:80px;width:80px;}"],c.A.breakpoints.tabletPortrait,c.A.breakpoints.tabletLandscape),z=l.Ay.div.withConfig({componentId:"sc-e77f7c2e-2"})(["position:absolute;height:162px;width:162px;background:#fff7d0;border-radius:50%;left:-66px;top:-20px;@media only screen and (min-width:","){left:-56px;top:-24px;}@media only screen and (min-width:","){left:-82px;top:-40px;}"],c.A.breakpoints.tabletPortrait,c.A.breakpoints.tabletLandscape),E=l.Ay.div.withConfig({componentId:"sc-e77f7c2e-3"})(["display:flex;align-items:stretch;justify-content:stretch;background:white;box-shadow:2px 2px 6px 0px #a6abbdcc,-2px -2px 4px 0px #ffffffbf,4px 4px 8px 0px #a6abbd1a inset;border-radius:8px;overflow:hidden;",""],e=>{let{isDisabled:t}=e;return t?(0,l.AH)(["opacity:0.5;"]):""}),N=l.Ay.h5.withConfig({componentId:"sc-e77f7c2e-4"})(["font-size:18px;margin-bottom:0;text-transform:none;"]),M=l.Ay.span.withConfig({componentId:"sc-e77f7c2e-5"})(["display:block;color:#575757;font-size:16px;margin-bottom:8px;"]),O=l.Ay.div.withConfig({componentId:"sc-e77f7c2e-6"})(["width:100%;"]),D=l.Ay.div.withConfig({componentId:"sc-e77f7c2e-7"})([">
1 span{display:block;min-width:max-content;font-size:16px;color:#575757;}> button{> span{font-size:16px;}}display:flex;justify-content:right;@media only screen and (min-width:","){padding:16px;}"],c.A.breakpoints.tabletLandscape),B=(0,l.Ay)(P.Ay).withConfig({componentId:"sc-e77f7c2e-8"})(["height:40px;width:100%;padding:0 32px;max-width:250px;"]),Y=l.Ay.div.withConfig({componentId:"sc-e77f7c2e-9"})(["display:flex;flex-direction:column;width:100%;padding:8px 8px 8px 0;@media only screen and (min-width:","){padding:16px 16px 16px 0;padding:0;flex-direction:row;align-items:center;}"],c.A.breakpoints.tabletLandscape),W=l.Ay.div.withConfig({componentId:"sc-e77f7c2e-10"})(["padding:16px;display:flex;flex-direction:column;width:100%;text-align:center;> span{display:block;}@media only screen and (min-width:","){padding:32px 0 32px 40px;flex-direction:row;justify-content:space-between;}"],c.A.breakpoints.tabletLandscape),Q=(0,l.Ay)(P.Ay).withConfig({componentId:"sc-e77f7c2e-11"})(["font-weight:700;padding:0 16px;margin:0 auto;> span{display:flex;align-items:center;> span{display:block;text-decoration:underline;text-underline-offset:4px;text-decoration-color:",";text-decoration-thickness:2px;margin-right:8px;margin-bottom:8px;}> div{transform:rotate(270deg);}}@media only screen and (min-width:","){> span{> span{margin-bottom:0px;}}margin:0;}"],c.A.colors.primary,c.A.breakpoints.tabletLandscape);var F=i(50538),G=i(51615),H=i(35580),U=i(72876),q=i(61198);let K=e=>{let{loyaltyItems:t,spendablePoints:i,totalCount:o,currentPage:a,fetchLoyaltyStoreItems:s,setCurrentPage:d,canClaimLoyalty:l}=e,[r,c]=(0,v.useState)(!1),[h,g]=(0,v.useState)(null);return(0,n.jsxs)(R,{children:[t.map(e=>{var t;return(0,n.jsxs)(E,{isDisabled:e.pointsCost>i,children:[(0,n.jsxs)(T,{children:[(0,n.jsx)(z,{}),(0,n.jsx)(L(),{src:(null==(t=e.image)?void 0:t.url)||F.A.src,alt:e.label,fill:!0,style:{objectFit:"contain",objectPosition:"center"}})]}),(0,n.jsxs)(Y,{children:[(0,n.jsxs)(O,{children:[(0,n.jsxs)(N,{children:[" ",e.label]}),(0,n.jsxs)(M,{children:[new Intl.NumberFormat().format(e.pointsCost)," ",1===e.pointsCost?"Point":"Points"]})]}),(0,n.jsx)(D,{children:e.pointsCost<=i?(0,n.jsx)(B,{onClick:()=>g(e),children:"Redeem"}):(0,n.jsx)("span",{children:(0,n.jsx)("em",{children:"Not enough Points"})})})]})]},e.id)}),(0,n.jsx)(E,{children:(0,n.jsxs)(W,{children:[(0,n.jsx)("span",{children:"Need More Points?"}),(0,n.jsxs)(Q,{blank:!0,onClick:()=>c(!0),children:[(0,n.jsx)("span",{children:"Start an Order"})," ",(0,n.jsx)(p,{})]})]})}),(0,n.jsx)(U.A,{currentPage:a,fetchDifferentPage:void 0,itemsPerPage:10,setCurrentPage:d,totalItemCount:o,isQuote:void 0,isPosts:void 0,category:void 0,pathname:void 0}),(0,n.jsx)(G.A,{closeable:!1,show:r,setShow:c,wide:void 0,modalItemClose:void 0,setShowTipModal:void 0,isOnSide:void 0,padding:void 0,children:(0,n.jsx)(H.A,{isCanada:!1,isGetAQuote:!1,setShowHandoffModal:()=>c(!1)})}),(0,n.jsx)(q.A,{loyaltyStoreItem:h,setLoyaltyStoreItem:g,refetch:s,canClaimLoyalty:l})]})},V=()=>{let{isLoading:e,error:t,customerPoints:i,loyaltyStoreItems:s,totalCount:l,showReactionModal:r,setShowReactionModal:c,currentPage:y,setCurrentPage:v,fetchLoyaltyStoreItems:C,canClaimLoyalty:j}=k();return(0,n.jsx)(o.A,{isLoading:e,title:"Available Rewards",children:(0,n.jsxs)(a.Rp,{children:[(0,n.jsx)(d(),{href:"/user-profile/loyalty",passHref:!0,children:(0,n.jsx)(g,{children:(0,n.jsxs)(h,{children:[(0,n.jsx)(p,{}),(0,n.jsx)("span",{children:"Back"})]})})}),(0,n.jsxs)(x,{children:[(0,n.jsxs)(A,{children:[(0,n.jsxs)(m,{children:[(null==i?void 0:i.lastWeekPointsGained)?(0,n.jsxs)(u,{isPositive:(null==i?void 0:i.lastWeekPointsGained)>0,children:[(null==i?void 0:i.lastWeekPointsGained)>0?"+":"",new Intl.NumberFormat().format(null==i?void 0:i.lastWeekPointsGained)," last week"]}):null,(0,n.jsxs)(b,{children:[new Intl.NumberFormat().format((null==i?void 0:i.spendablePoints)||0)," ",(null==i?void 0:i.spendablePoints)===1?"point":"points"]})]}),(0,n.jsx)(w,{})]}),(0,n.jsx)(f,{children:s?(0,n.jsx)(K,{currentPage:y,setCurrentPage:v,loyaltyItems:s,totalCount:l,spendablePoints:(null==i?void 0:i.spendablePoints)||0,fetchLoyaltyStoreItems:C,canClaimLoyalty:j}):null})]}),(0,n.jsx)(S.A,{isSuccess:!1,show:r,setShow:c,Route:void 0,errorMessage:t,successMessage:void 0,warningMessage:void 0,errorTitle:void 0,warningTitle:void 0,warning:void 0,setShowTipModal:void 0,successTitle:void 0,refetch:void 0})]})})};var X=!0;let J=()=>(0,n.jsx)(V,{})},65964:(e,t,i)=>{"use strict";i.d(t,{Gg:()=>r,ON:()=>c,Rp:()=>d,aG:()=>l});var n=i(92517),o=i(61028),a=i(44264),s=i(12798);a.Ay.div.withConfig({componentId:"sc-61f759ba-0"})(["background:",";"],o.A.newTheme.colors.headerGrey);let d=a.Ay.div.withConfig({componentId:"sc-61f759ba-1"})(["max-width:1080px;margin:0 auto;padding:18px 0;@media only screen and (min-width:","){padding:44px;}"],n.A.breakpoints.tabletLandscape),l=a.Ay.div.withConfig({componentId:"sc-61f759ba-2"})(["display:flex;align-items:center;justify-content:space-between;padding:0 16px;font-weight:700;font-size:18px;margin-bottom:8px;@media only screen and (min-width:","){padding:0 24px;font-size:24px;}"],n.A.breakpoints.tabletLandscape),r=a.Ay.div.withConfig({componentId:"sc-61f759ba-3"})(["background-image:url(",");width:32px;height:32px;background-size:cover;margin-right:4px;@media only screen and (min-width:","){width:36px;height:36px;}"],s.A.src,n.A.breakpoints.tabletLandscape),c=a.Ay.div.withConfig({componentId:"sc-61f759ba-4"})(["display:flex;align-items:center;justify-content:space-between;"])},72876:(e,t,i)=>{"use strict";i.d(t,{A:()=>h});var n=i(37876),o=i(14232),a=i(89099),s=i(48230),d=i.n(s),l=i(44264),r=i(85323);let c=l.Ay.div.withConfig({componentId:"sc-62d877f9-0"})(["display:flex;justify-content:center;align-items:center;margin-bottom:",";.pagination{list-style:none;display:flex;justify-content:center;align-items:center;font-size:",";color:#707077;margin-bottom:0;cursor:pointer;&__page{margin-left:17px;margin-bottom:",";&:first-child{margin-left:0;}&.","{font-size:",";font-weight:",";color:#131313;border-bottom:2px solid transparent;border-image:linear-gradient(to right,",",#ff9900);border-image-slice:1;}&:hover{font-size:",";font-weight:",";color:#131313;border-bottom:2px solid transparent;border-image:linear-gradient(to right,",",#ff9900);border-image-slice:1;}a{text-decoration:none;}}&__next-page{height:50px;width:50px;cursor:pointer;margin-left:44px;margin-bottom:",";img{height:100%;width:100%;}}&__previous-page{height:50px;width:50px;cursor:pointer;margin-right:44px;margin-bottom:",";img{height:100%;width:100%;transform:rotate(180deg);}}}@media (max-width:","){flex-wrap:wrap;margin-bottom:22px;.pagination{flex-basis:100%;&__page{margin-left:12px;}&__next-page{margin-left:",";margin-top:5px;order:3;}&__previous-page{margin-right:0;margin-top:5px;order:2;}}}"],r.A.spacingXXL,r.A.fontSizeS,r.A.spacingS,r.A.classNames.active,r.A.fontSizeBody,r.A.fontWeightBold,r.A.colors.primary,r.A.fontSizeBody,r.A.fontWeightBold,r.A.colors.primary,r.A.spacingS,r.A.spacingS,r.A.breakpoints.mobile,r.A.spacingS);var p=i(53645);let h=e=>{let{currentPage:t,fetchDifferentPage:i,itemsPerPage:s,setCurrentPage:l,totalItemCount:h,isQuote:g,isPosts:x,category:m,pathname:f}=e,u=(0,a.useRouter)(),[b,A]=(0,o.useState)(!1),[w,y]=(0,o.useState)(1),[v,C]=(0,o.useState)(h),j=[...Array(Math.ceil(h/s)).keys()];(0,o.useEffect)(()=>{A(!0)},[]),(0,o.useEffect)(()=>{j.length<=10?(y(1),C(j.length)):t<=6?(y(1),C(10)):t+4>=j.length?(y(j.length-9),C(j.length)):(y(t-5),C(t+4)),b&&!g&&!x&&i&&i({variables:{page:{size:s,number:t}},updateQuery:(e,t)=>{let{fetchMoreResult:i}=t;return i||e}})},[t,h]);let I=(e,t)=>{if(t>j.length)return l(1);let i=e.target.id?e.target.id.replace("pagination__page-",""):t;u.push(x?{pathname:f||u.pathname,query:{page:i,category:m}}:{pathname:f||u.pathname,query:{page:i}},void 0,{shallow:!x}),l(Number(i))};return(0,n.jsxs)(c,{children:[t>1&&(0,n.jsx)("div",{role:"button",tabIndex:"0",className:"pagination__previous-page",onClick:e=>I(e,t-1),onKeyPress:e=>I(e,t-1),children:(0,n.jsx)("img",{src:p.A.src,alt:"previous arrow"})}),(0,n.jsx)("ul",{className:"pagination",children:j.slice(w-1,v).map(e=>(0,n.jsx)("li",{className:"pagination__page ".concat(e+1===Number(t)?r.A.classNames.active:""),onClick:t=>I(t,Number(e+1)),onKeyPress:e=>I(e),id:"pagination__page-".concat(e+1),children:(0,n.jsx)(d(),{href:{pathname:x?m:f||u.pathname,query:{page:e+1}},children:e+1<10?"0".concat(e+1):e+1})},e))}),j.length>1&&(0,n.jsx)("div",{role:"button",tabIndex:"0",className:"pagination__next-page",onClick:e=>I(e,Number(t+1)),onKeyPress:e=>I(e,t+1),children:(0,n.jsx)("img",{src:p.A.src,alt:"next arrow"})})]})}}},e=>{var t=t=>e(e.s=t);e.O(0,[6894,8706,6948,10,636,6593,8792],()=>t(36247)),_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.