(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4621],{86283:function(e,t,n){"use strict";n.r(t);var i,a,r,o,s,l,c=n(8529),d=n(7328),u=n(2784),p=n(41857),m=n(28885),g=n(92210),v=n(57194),h=n(11006),f=n(48840),y=n(87330),b=n(81292),x=n(51339),k=n(76910),P=n(83232),N=n(52322),S=h.zo.div(i||(i=(0,d.Z)(["\n flex-grow: 1;\n display: flex;\n flex-direction: column;\n align-items: center;\n background: ",";\n"])),function(e){return e.theme.colors.palette.greys.white}),w=h.zo.h1(a||(a=(0,d.Z)(["\n margin: "," auto "," auto;\n ","\n"])),(0,f.W0)(7),(0,f.W0)(1),(0,y.xv)("large2","default")),_=h.zo.div(r||(r=(0,d.Z)(["\n margin-bottom: ",";\n padding: ",";\n max-width: 560px;\n text-align: center;\n ","\n"])),(0,f.W0)(4),(0,f.W0)(2),(0,y.xv)("bodyText","default")),j=(0,h.zo)(x.zx)(o||(o=(0,d.Z)(["\n max-width: 95%;\n width: 345px;\n margin-bottom: ",";\n\n "," {\n width: 425px;\n }\n"])),(0,f.W0)(10),function(e){return(0,b.mq)(e.theme.breakpointUtils.map,"lg")}),O=h.zo.div(s||(s=(0,d.Z)(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n margin-bottom: ",";\n"])),(0,f.W0)(7)),T=h.zo.div(l||(l=(0,d.Z)(["\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n text-align: center;\n margin-bottom: ",";\n & p {\n ","\n }\n & img {\n padding: 7px;\n }\n "," {\n width: 50%;\n margin-bottom: 36px;\n }\n "," {\n width: 33%;\n }\n"])),(0,f.W0)(7),(0,y.xv)("bodyText","alternate"),function(e){return(0,b.mq)(e.theme.breakpointUtils.map,"xs")},function(e){return(0,b.mq)(e.theme.breakpointUtils.map,"sm")}),L=function(e){var t=e.statusCode,n=u.useState([]),i=(0,c.Z)(n,1)[0],a=(0,p.By)(),r=a.currency,o=a.shippingDestination,s={title:"",description:"",buttonDescription:(0,m.ag)("pageunavailable.enterprise.button.description")};return 404===t?(s.title=F((0,m.ag)("pageunavailable.pagenotfound.text")),s.description=(0,m.ag)("pageunavailable.pagenotfound.details.text")):(s.title=F((0,m.ag)("pageunavailable.servererror.text")),s.description=(0,m.ag)("pageunavailable.servererror.details.text")),(0,N.jsxs)(S,{children:[(0,N.jsx)(w,{children:s.title}),(0,N.jsx)(_,{children:s.description}),i.length>0&&(0,N.jsx)(C,{categories:i}),(0,N.jsx)(j,{emphasis:"medium",renderedAs:"a",href:g.Z5.HomePage,children:s.buttonDescription}),404===t&&(0,N.jsx)(k.ComponentWidgetRenderer,{componentName:P.ComponentName.PAGE_UNAVAILABLE,currency:r,shippingDestination:o})]})},C=function(e){var t=e.categories;return(0,N.jsx)(O,{children:t.map(function(e,t){return(0,N.jsxs)(T,{children:[(0,N.jsx)("img",{src:e.src,alt:e.alt}),(0,N.jsxs)("p",{children:["Category ",t+1]})]},t)})})},F=function(e){return e.replace(/\./g,"")};L.Layout=v.K,L.getInitialProps=function(e){var t=e.res,n=e.err;return{statusCode:t?t.statusCode:n?n.statusCode:404}},t.default=L},84621:function(e,t,n){"use strict";n.r(t),n.d(t,{BreadcrumbsRendererWrapper:function(){return en},__N_SSP:function(){return et},default:function(){return ea}});var i,a,r,o,s,l=n(20406),c=n(95235),d=n(7328),u=n(82841),p=n.n(u),m=n(2784),g=n(2883),v=n(31035),h=n(88472),f=n(97729),y=n.n(f),b=n(17971),x=n(796),k=n(37608),P=n(28885),N=n(58406),S=n(41857),w=n(92210),_=n(73716),j=n(22182),O=n(55065),T=n(57194),L=n(83232),C=n(12786),F=n(16422),D=n(11006),I=n(48840),W=n(81292),E=n(41386),R=n(45611),A=n(17559),M=n(76910),U=n(4626),Z=n(28905),B=n(45090),q=n(87330),z=I.zo.div(a||(a=(0,d.Z)(["\n max-width: ",";\n margin: 0 auto;\n padding: "," "," 0;\n align-items: center;\n\n "," {\n padding: "," "," 0;\n }\n"])),function(e){return e.theme.site.siteWidth},(0,I.W0)(3),(0,I.W0)(2),function(e){return(0,W.mq)(e.theme.breakpointUtils.map,"sm")},(0,I.W0)(3),(0,I.W0)(4)),G=I.zo.h1(r||(r=(0,d.Z)(["\n ",";\n margin: "," 0 "," 0;\n"])),(0,q.xv)("xlarge2","alternate"),(0,I.W0)(1),(0,I.W0)(2)),H=I.zo.p(o||(o=(0,d.Z)(["\n ",";\n margin: "," 0;\n padding-bottom: ","; ;\n"])),(0,q.xv)("bodyText","alternate"),(0,I.W0)(2),(0,I.W0)(2)),K=n(52322),V=function(){var e={title:(0,P.ag)("content.listresults.noresultsfound.title"),subtitle:(0,P.ag)("content.listresults.noresultsfound.subtitle")};return(0,K.jsxs)(z,{children:[(0,K.jsx)(G,{"data-testid":"no-list-results-found-title",children:e.title}),(0,K.jsxs)(H,{children:[" ",e.subtitle]})]})},$=n(33382),J=n(86283);function Q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function X(e){for(var t=1;t1?n.searchParams.set(A.vI.PAGE_NUMBER,t.pageNumber.toString()):n.searchParams.delete(A.vI.PAGE_NUMBER)),t.sort&&(n.searchParams.set(A.vI.SORT_ORDER,t.sort.toString()),n.searchParams.delete(A.vI.PAGE_NUMBER)),!t.facets){if(e.enableDataRefetchWithGetSSP){eu(n.search.slice(1));return}window.location.href=n.toString();return}ep(n,t.facets)},dataLayerMap:e.dataLayerMap||{}})]})}),(0,K.jsx)(ee,{widgets:e.componentWidgets||[],path:e.path,pageParams:e.pageParams})]})]})};ei.Layout=T.K,ei.supportsConcessions=!0,ei.pageType=function(e,t){return e===w.Z5.HomePage?O.G.HOME_PAGE:t.productList?O.G.PRODUCT_LIST:O.G.LANDING},ei.getConcessionCode=(i=(0,l.Z)(p().mark(function e(t,n){var i,a,r,o;return p().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=(i=t.req.horizonFeatures||[])&&i.includes(C.L0.Concessions)){e.next=3;break}return e.abrupt("return",void 0);case 3:if(null==i?void 0:i.includes(C.L0.Concessions)){e.next=6;break}return e.abrupt("return",void 0);case 6:if(!(!(a=(0,$.cy)(t).path)||""===a)){e.next=9;break}return e.abrupt("return",void 0);case 9:if(!n){e.next=17;break}return e.next=12,n.query({query:Z.h,variables:{pathName:a}});case 12:if(!(null!=(o=e.sent.data)&&null!==(r=o.page)&&void 0!==r&&null!==(r=r.concession)&&void 0!==r&&r.concessionCode)){e.next=16;break}return e.abrupt("return",o.page.concession.concessionCode);case 16:case 17:return e.abrupt("return",void 0);case 18:case"end":return e.stop()}},e)})),function(e,t){return i.apply(this,arguments)});var ea=ei},45090:function(e,t,n){"use strict";n.d(t,{Jp:function(){return c},Kb:function(){return d},Qy:function(){return u},kc:function(){return o}});var i=n(52746),a=n(92210),r=n(12786);n(41386);var o=function(e,t){var n=e||null;if(!t)return n||r.yO.Relevance;var i="v1|default_sort_relevance"===t.web_default_sort?r.yO.Relevance:"v2|default_sort_popularity"===t.web_default_sort?r.yO.Popularity:null;return n||i||r.yO.Relevance},s=function(e){return[{type:r.yO.Relevance,displayText:e("product.list.sort.relevance")},{type:r.yO.Popularity,displayText:e("product.list.sort.popularity")},{type:r.yO.PriceLowToHigh,displayText:e("product.list.sort.pricelowtohigh")},{type:r.yO.PriceHighToLow,displayText:e("product.list.sort.pricehightolow")},{type:r.yO.NameAlphabetically,displayText:e("product.list.sort.namealphabetically")},{type:r.yO.NewestToOldest,displayText:e("product.list.sort.newesttooldest")},{type:r.yO.DiscountPercentageHighToLow,displayText:e("product.list.sort.discountpercentagehightolow")}]},l=function(e){var t;return null===(t=s(e))||void 0===t?void 0:t.filter(function(e){return e.type!==r.yO.Relevance&&e.type!==r.yO.Popularity})},c=function(e,t){var n={type:r.yO.Relevance,displayText:t("product.list.sort.relevancetitle")},a={type:r.yO.Popularity,displayText:t("product.list.sort.popularity")},o=(null==e?void 0:e.web_default_sort)==="v1|default_sort_relevance",c=(null==e?void 0:e.web_default_sort)==="v2|default_sort_popularity";return o?[n,a].concat((0,i.Z)(l(t))):c?[a,n].concat((0,i.Z)(l(t))):s(t)},d=function(e){return e.map(function(e){return{text:e.displayName,url:"/"===e.pagePath?e.pagePath:e.pagePath.concat(a.$L)}})},u=function(e,t){return e.map(function(e,n){return{"@type":"ListItem",position:n+1,name:e.text,item:t.concat(e.url)}})}},28905:function(e){e.exports.h={kind:"Document",operationName:"ConcessionCode",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ConcessionCode"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"pathName"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"PagePath"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"page"},arguments:[{kind:"Argument",name:{kind:"Name",value:"path"},value:{kind:"Variable",name:{kind:"Name",value:"pathName"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"concession"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"concessionCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"footer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"navigation"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"topLevel"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"link"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"header"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"navigation"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"topLevel"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"displayName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"link"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}}]}}]}}]}}]}}]}}]}}],loc:{source:"\nquery ConcessionCode($pathName: PagePath!) {\n page(path: $pathName) {\n title\n concession {\n concessionCode\n footer {\n navigation {\n topLevel {\n link {\n url\n }\n }\n }\n }\n header {\n navigation {\n topLevel {\n displayName\n link {\n url\n }\n }\n }\n }\n }\n }\n}\n"}}}}]); //# sourceMappingURL=4621-219eda7c8015f435.js.map