1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[421,2633,8747],{6696:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSG:()=>m,default:()=>A});var s=r(47758),n=r(86435),i=r(79069),o=r(24123),a=r(38345),l=r(3934),c=r(24366),d=r(3843),u=r(484),x=r.n(u),p=r(39139),h=r(49864),f=r(66805);let g={container:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",textAlign:"center",py:{xs:4,md:5},px:2,background:"#fff",minHeight:"30vh",mb:0,mt:2},errorHeader:{fontWeight:900,fontSize:{xs:"6rem",md:"10rem"},color:"primary.main",lineHeight:1,mb:2,textShadow:"2px 4px 10px rgba(0,0,0,0.1)"},message:{fontWeight:700,mb:2,textTransform:"uppercase",letterSpacing:"0.05em"},description:{color:"text.secondary",mb:4,maxWidth:500,fontSize:"1.1rem"},actions:{display:"flex",gap:2,mb:4}};var m=!0;let A=function(e){let{t}=(0,n.A)(),[r,u]=(0,l.useState)([]);return(0,l.useEffect)(()=>{(0,c.oc)()&&(async()=>{try{let t="/api/product/accessories",s={shopId:f.constants.SHOP_ID,countryCode:f.constants.COUNTRY};f.constants.SEARCH_PROXY_URL&&!(0,c.l4)()&&(t=f.constants.SEARCH_PROXY_URL+t);try{var e;let r=await h.A.get(t,{params:s}),n=f.constants.SEARCH_PROXY_URL&&!(0,c.l4)()?null==(e=r.data)?void 0:e.products:r.data;if(null==n?void 0:n.length){let e=n.slice(0).filter(e=>(null==e?void 0:e.availabilityCount)>10||(null==e?void 0:e.availabilityCount)===void 0).splice(0,20);u(e)}}catch(e){console.error("Failure with accessory search",e),u({...r,loading:!1,list:[],loaded:!0,fullList:[]})}}catch(e){console.error("Error loading suggested products",e)}})()},[]),(0,s.jsxs)(i.A,{children:[(0,s.jsx)(d.A,{categories:e.categories||[],groups:e.itemTypeGroups}),(0,s.jsxs)(i.A,{sx:g.container,children:[(0,s.jsx)(o.A,{variant:"h1",sx:g.errorHeader,children:"500"}),(0,s.jsx)(o.A,{variant:"h4",sx:g.message,children:t("Unexpected error")}),(0,s.jsx)(o.A,{variant:"body1",sx:g.description,children:t("We have an issue with our system. Try again later")}),(0,s.jsx)(i.A,{sx:g.actions,children:(0,s.jsx)(x(),{href:"/",passHref:!0,legacyBehavior:!0,children:(0,s.jsx)(a.A,{variant:"contained",color:"primary",size:"large",disableElevation:!0,sx:{px:4,py:1.5},children:t("Goto homepage")})})})]}),r&&r.length>0&&(0,s.jsx)(i.A,{sx:{width:"100%",pb:2,pt:1,backgroundColor:"#f2f2f2"}
1,children:(0,s.jsx)(p.default,{products:r,title:t("Recommended for you"),gridMargin:!1,condensedCard:!0,feedItem:!0,listIdentifier:"suggested",disableBackground:!0})})]})}},23691:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var s=r(74497),n=r(47758);let i=(0,s.A)((0,n.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m3.88-11.71L10 14.17l-1.88-1.88a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l2.59 2.59c.39.39 1.02.39 1.41 0L17.3 9.7c.39-.39.39-1.02 0-1.41s-1.03-.39-1.42 0"}),"CheckCircleOutlineRounded")},36726:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var s=r(74497),n=r(47758);let i=(0,s.A)((0,n.jsx)("path",{d:"M14.29 5.71c-.39.39-.39 1.02 0 1.41L18.17 11H3c-.55 0-1 .45-1 1s.45 1 1 1h15.18l-3.88 3.88c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0l5.59-5.59c.39-.39.39-1.02 0-1.41l-5.6-5.58c-.38-.39-1.02-.39-1.41 0"}),"EastRounded")},39139:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>A});var s=r(47758),n=r(3934),i=r(79069),o=r(24123),a=r(6771),l=r(70984),c=r(78654),d=r(24366),u=r(50084),x=r.n(u),p=r(484),h=r.n(p),f=r(86435),g=r(36726);let m=e=>{let{products:t,title:r,condensedCard:u=!1,dataTestId:x="",feedItem:p=!1,listIdentifier:m=null,linkToMore:A=null}=e,{state:y,dispatch:b}=(0,n.useContext)(c.z),{t:v}=(0,f.A)(),{trackViewItemList:j}=(0,l.A)();return((0,n.useEffect)(()=>{(null==t?void 0:t.length)>0&&p&&t.map(e=>{e.availabilityCount<10&&!y["".concat(e.productNumber,"--A1")]&&(0,d.YJ)(b,e.productNumber)})},[t,p]),(0,n.useEffect)(()=>{t&&0!==t.length&&j(m,t)},[]),t&&0!==t.length)?(0,s.jsxs)(i.A,{sx:{p:{xs:1,tablet:1,lg:0},pb:2,backgroundColor:"background.page.body",mb:2},"data-test-id":x,children:[r&&(0,s.jsx)(o.A,{variant:"h5",sx:{px:.5,fontWeight:"700",fontSize:{xs:"1rem",sm:"1.5rem"}},children:r}),(0,s.jsxs)(i.A,{sx:{display:"flex",overflowX:"auto"},children:[(t&&t.length?t:[]).map((e,t)=>(0,s.jsx)(i.A,{sx:{width:u?"150px":"200px",backgroundColor:"#fff",m:1,display:"flex",flex:u?"0 0 150px":"0 0 200px","&:first-of-type":{ml:0}},children:(0,s.jsx)(a.default,{product:e,gridMargin:!1,condensedCard:u,feedItem:p,listIdentifier:m||null,forcedVertical:!0},"".concat(e.productNumber,"_").concat(t))},t)),A&&(0,s.jsx)(i.A,{sx:{width:u?"150px":"200px",m:1,display:"flex",flex:u?"0 0 150px":"0 0 200px"},children:(0,s.jsx)(h(),{href:A,passHref:!0,style:{textDecoration:"none",width:"100%"},children:(0,s.jsxs)(i.A,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",textAlign:"center",width:"100%",height:"100%",backgroundColor:"grey.200",color:"text.primary",p:2,"&:hover":{backgroundColor:"grey.300"}},children:[(0,s.jsx)(o.A,{variant:"h6",sx:{fontWeight:"bold"},children:v("See more")}),(0,s.jsx)(g.A,{sx:{mt:1,fontSize:"2rem"}})]})})})]})]}):(0,s.jsx)(s.Fragment,{})};m.propTypes={products:x().array.isRequired,title:x().string,condensedCard:x().bool,dataTestId:x().string,feedItem:x().bool,listIdentifier:x().string,linkToMore:x().string};let A=m},43877:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var s=r(99550),n=r(82450);function i(e,t){(0,n.A)(2,arguments);var r=(0,s.A)(e),i=(0,s.A)(t);return r.getTime()>i.getTime()}},74597:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var s=r(74497),n=r(47758);let i=(0,s.A)((0,n.jsx)("path",{d:"M18 13H6c-.55 0-1-.45-1-1s.45-1 1-1h12c.55 0 1 .45 1 1s-.45 1-1 1"}),"RemoveRounded")},88368:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/500",function(){return r(6696)}])}},e=>{e.O(0,[6771,636,6593,8792],()=>e(e.s=88368)),_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.