(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7123],{55065:function(e,n,t){"use strict";t.d(n,{G:function(){return a}});var i,a=((i={}).HOME_PAGE="HOMEPAGE",i.LANDING="LANDING",i.SEARCH="SEARCH",i.PRODUCT="PRODUCT",i.ACCOUNT="ACCOUNT",i.BASKET="BASKET",i.PRODUCT_LIST="PRODUCT_LIST",i.STORE_LOCATOR="STORE_LOCATOR",i.PERSONALISE="PERSONALISE_YOUR_BOX",i)},57194:function(e,n,t){"use strict";t.d(n,{K:function(){return w}});var i,a=t(82269),r=t(7328);t(2784);var o=t(2883),d=t(25237),s=t.n(d),l=t(41857),u=t(58406),c=t(7357),m=t(57776),v=t(48840),p=t(38237),g=t(55281),f=t(52322),k=["features","beforeMainContent","children"],h=s()(function(){return t.e(9561).then(t.bind(t,89561)).then(function(e){return e.FooterGlobalAccredditationsIcons})},{ssr:!0,loadableGenerated:{webpack:function(){return[89561]}}}),y=(0,c.b)(p.Z,"footer","enableLayoutESI","ENABLE_LAYOUT_ESI"),b=(0,o.Z)({on:["visible"]})(h),N=v.zo.div(i||(i=(0,r.Z)(["\n > main {\n &:target {\n scroll-margin-top: ","px;\n }\n }\n"])),function(e){return e.headerHeight}),w=function(e){var n,t,i,r,o,d=e.features,s=void 0===d?{stickyHeader:!0,showStripBanner:!0,wishlistNotification:!0}:d,c=e.beforeMainContent,v=e.children,p=(0,a.Z)(e,k),h=(0,l.Dx)().domain,w=(0,l.bW)().userAgent,S=(0,l.ZR)().assetPrefix,O=(0,l.ND)(),T=O.countryDomainMap,E=O.translatedCountryDomain,C=(0,u.lF)(),_=(0,u.to)(),P=T&&"".concat(S,"/static/flags/1x1/").concat(T[h],".svg"),F=(0,m.s)(w),D=p.pageLayoutData||{};return(0,f.jsxs)(N,{headerHeight:_,children:[(0,f.jsx)(g.c,{wishlistNotification:s.wishlistNotification,stickyHeader:s.stickyHeader,showStripBanner:s.showStripBanner,flagPath:P,userAgent:w,isMobile:F,headerHeight:_,pageType:p.pageType,header:null===(n=D.header)||void 0===n?void 0:n.header,brands:null===(t=D.header)||void 0===t?void 0:t.brands}),(0,f.jsx)("div",{id:"cookie-modal-container","data-testid":"cookie",style:{display:"flex",position:"fixed",bottom:0,padding:0,margin:"0px",width:"100%",zIndex:99999},ref:C.cookieModalContainerRef}),c&&c,(0,f.jsx)("main",{id:"main-content",children:v}),(0,f.jsx)(y,{userAgent:w,flagPath:P,cookieSettingsHandler:function(){var e,n;(null===(e=p.$window)||void 0===e||null===(e=e.Optanon)||void 0===e?void 0:e.ToggleInfoDisplay)&&(null===(n=p.$window)||void 0===n||null===(n=n.Optanon)||void 0===n||n.ToggleInfoDisplay())},Accreditations:b,navigation:null===(i=D.footer)||void 0===i?void 0:i.navigation,socialAccounts:null===(r=D.footer)||void 0===r?void 0:r.socialAccounts,paymentProviders:null===(o=D.footer)||void 0===o?void 0:o.paymentProviders,countryDomainList:E})]})}},22182:function(e,n,t){"use strict";t.d(n,{F:function(){return I}});var i,a,r,o=t(82269),d=t(8529),s=t(7328),l=t(95235),u=t(2784),c=t(5632),m=t(1761),v=t(11006),p=t(48840),g=t(81292),f=t(57209),k=t(67971),h=t(93421),y=t(55065),b=t(73153),N=t(63601),w=t(96412),S=t(13089),O=t(80304),T=t(29017),E=t(48200),C=t(70314),_=t.n(C),P=t(96965),F=t(52322),D=(0,P.Z)().captureExceptionComponentLevel,x=function(e){(0,O.Z)(i,e);var n,t=(n=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=(0,E.Z)(i);return e=n?Reflect.construct(t,arguments,(0,E.Z)(this).constructor):t.apply(this,arguments),(0,T.Z)(this,e)});function i(e){var n;return(0,w.Z)(this,i),(n=t.call(this,e)).state={error:null},n}return(0,S.Z)(i,[{key:"componentDidCatch",value:function(e,n){var t=_()().publicRuntimeConfig,i=this.context,a=i.logger,r=i.brand,o=i.subsite;t.IS_PRODUCTION&&D(e,r,o),a.error(e.message,{stack:n.componentStack}),this.setState({error:e})}},{key:"render",value:function(){return this.state.error?(0,F.jsx)("h1",{"data-testid":"error-message",children:"An error occured"}):this.props.children}}]),i}(u.Component);(0,l.Z)(x,"contextType",h.L);var j=["responsiveMargin","enableMaxWidth","children"];function R(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,i)}return t}function A(e){for(var n=1;n0&&(null===(e=window.performance.getEntriesByType("navigation")[0])||void 0===e?void 0:e.loadEventStart)!==0?v(!0):window.addEventListener("load",n),function(){window.removeEventListener("load",n)}},[]),u.useEffect(function(){var r=t.requestConfig.enableBrowserPageVisits&&e.sendPageVisit;!(window.performance.getEntriesByName("pageChangeStart").length>0)&&l&&!p.current&&r&&null!==g&&(t.updateHistory(),n({type:"page_visit",payload:i({basket:a,requestData:{start_timestamp:window.performance.timeOrigin,url:window.location.href,duration_ms:window.performance.getEntriesByType("navigation")[0].duration},eventData:{type:t.pageType&&L[t.pageType]?L[t.pageType]:"page_visit"}})}),p.current=!0)},[l,e.sendPageVisit,t.requestConfig.enableBrowserPageVisits,g]);var w=e.responsiveMargin,S=e.enableMaxWidth,O=e.children,T=(0,o.Z)(e,j);return(0,F.jsx)(x,{children:(0,F.jsx)(Z,A(A({},T),{},{responsiveMargin:void 0!==w&&w,className:e.className,enableMaxWidth:void 0===S||S,children:O}))})}},7357:function(e,n,t){"use strict";t.d(n,{b:function(){return f}});var i=t(82269),a=t(95235);t(2784);var r=t(70314),o=t.n(r);t(72670);var d=t(41857);t(8529),t(82841);var s=t(71941),l=t.n(s);t(48090),t(37518);var u=t(52322),c=t(34406),m=(c.env.REACT_ESI_PATH,c.env.REACT_ESI_SECRET||l().randomBytes(64).toString("hex"),["esi"]);function v(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,i)}return t}function p(e){for(var n=1;n2&&void 0!==arguments[2]?arguments[2]:"",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return function(r){r.esi;var o,s=(o=(0,i.Z)(r,m),window.__REACT_ESI__&&window.__REACT_ESI__[n]?p(p({},window.__REACT_ESI__[n]),o):p({},o)),l=(0,d.ND)();return g.publicRuntimeConfig[a],l[t],(0,u.jsx)(e,p({},s))}}},29173:function(e,n,t){"use strict";t.r(n);var i=t(8529),a=t(2784),r=t(97729),o=t.n(r),d=t(41857),s=t(28885),l=t(22182),u=t(4626),c=t(53678),m=t(53055),v=t(86283),p=t(90943),g=t(25695),f=t(52322);n.default=function(){var e=(0,d.ND)().enableStoreLocator,n=(0,d.Dx)().brand,t=(0,m.td)(g.o,{fetchPolicy:"no-cache"}),r=(0,i.Z)(t,2),k=r[0],h=r[1].data,y={title:(0,s.fY)("storelocator.storesearch.searchpage.title")(n.charAt(0).toUpperCase()+n.slice(1)),subtitle:(0,s.ag)("storelocator.storesearch.subtitle"),inputLabel:(0,s.ag)("storelocator.storesearch.inputlabel"),buttonLabel:(0,s.ag)("storelocator.storesearch.buttonlabel")};return e?(0,f.jsxs)(a.Fragment,{children:[(0,f.jsx)(o(),{children:(0,f.jsx)("title",{children:"Directory Index Page"})}),(0,f.jsx)(l.F,{compactMargin:!0,enableMaxWidth:!1,sendPageVisit:!0,children:(0,f.jsxs)(u.P,{colSpan:12,children:[(0,f.jsx)(p.Y,{alignment:c.K.CENTER,i18nText:y,getNearbyStores:k}),h]})})]}):(0,f.jsx)(v.default,{statusCode:404})}},64604:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/landing/stores",function(){return t(29173)}])},25695:function(e){e.exports.o={kind:"Document",operationName:"NearbyStores",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"NearbyStores"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"latitude"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"longitude"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Float"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"limit"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},defaultValue:{kind:"IntValue",value:"5"},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nearbyStores"},arguments:[{kind:"Argument",name:{kind:"Name",value:"latitude"},value:{kind:"Variable",name:{kind:"Name",value:"latitude"}}},{kind:"Argument",name:{kind:"Name",value:"longitude"},value:{kind:"Variable",name:{kind:"Name",value:"longitude"}}},{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"Variable",name:{kind:"Name",value:"limit"}}}],directives:[{kind:"Directive",name:{kind:"Name",value:"client"},arguments:[]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"displayName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"urlTag"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"phoneNumber"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"openingTimes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"day"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"openingTime"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"closingTime"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"address"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"country"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressLine1"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressLine2"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressLine3"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressLine4"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressLine5"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addresseeName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"companyName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"state"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"phoneNumber"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"postalCode"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"relativeDistance"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"longitude"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"latitude"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fulfilmentMethods"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"storeFacility"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"icon"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]}]}}]}}]}}],loc:{source:"\nquery NearbyStores($latitude: Float!, $longitude: Float!, $limit: Int! = 5) {\n nearbyStores(latitude: $latitude, longitude: $longitude, limit: $limit)\n @client {\n id\n displayName\n urlTag\n phoneNumber\n email\n openingTimes {\n day\n openingTime\n closingTime\n }\n address {\n country\n addressLine1\n addressLine2\n addressLine3\n addressLine4\n addressLine5\n addresseeName\n companyName\n state\n phoneNumber\n postalCode\n }\n status\n relativeDistance\n longitude\n latitude\n fulfilmentMethods\n storeFacility {\n icon\n title\n }\n }\n}\n"}}}},function(e){e.O(0,[2670,6461,3232,6910,5170,6796,9774,2888,179],function(){return e(e.s=64604)}),_N_E=e.O()}]); //# sourceMappingURL=stores-4aa64a867e149b32.js.map