1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[694],{47443:function(e,n,t){var r=t(42118);e.exports=function(e,n){return!!(null==e?0:e.length)&&r(e,n,0)>-1}},1196:function(e){e.exports=function(e,n,t){for(var r=-1,s=null==e?0:e.length;++r<s;)if(t(n,e[r]))return!0;return!1}},41848:function(e){e.exports=function(e,n,t,r){for(var s=e.length,a=t+(r?1:-1);r?a--:++a<s;)if(n(e[a],a,e))return a;return -1}},42118:function(e,n,t){var r=t(41848),s=t(62722),a=t(42351);e.exports=function(e,n,t){return n==n?a(e,n,t):r(e,s,t)}},62722:function(e){e.exports=function(e){return e!=e}},45652:function(e,n,t){var r=t(88668),s=t(47443),a=t(1196),l=t(74757),i=t(23593),c=t(21814);e.exports=function(e,n,t){var o=-1,u=s,d=e.length,f=!0,x=[],m=x;if(t)f=!1,u=a;else if(d>=200){var h=n?null:i(e);if(h)return c(h);f=!1,u=l,m=new r}else m=n?[]:x;e:for(;++o<d;){var p=e[o],j=n?n(p):p;if(p=t||0!==p?p:0,f&&j==j){for(var v=m.length;v--;)if(m[v]===j)continue e;n&&m.push(j),x.push(p)}else u(m,j,t)||(m!==x&&m.push(j),x.push(p))}return x}},23593:function(e,n,t){var r=t(58525),s=t(50308),a=t(21814),l=r&&1/a(new r([,-0]))[1]==1/0?function(e){return new r(e)}:s;e.exports=l},42351:function(e){e.exports=function(e,n,t){for(var r=t-1,s=e.length;++r<s;)if(e[r]===n)return r;return -1}},50308:function(e){e.exports=function(){}},44908:function(e,n,t){var r=t(45652);e.exports=function(e){return e&&e.length?r(e):[]}},48679:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/stores/[storeId]",function(){return t(59386)}])},43745:function(e,n,t){"use strict";var r=t(85893);t(67294);var s=t(8732);n.Z=e=>{let{opening:n,unavailableLabel:t="Closed"}=e,a=(0,s.Z)(n);return(0,r.jsx)("ul",{className:"flex flex-col",children:a.map(e=>{let{weekday:n,isAvailable:s,isOpen24Hours:a,dailyTimeRanges:l}=e;return(0,r.jsxs)("li",{className:"flex justify-between items-baseline gap-5 py-1 border-b [border-color:color-mix(in_srgb,currentColor_10%,transparent)] last:border-b-0",children:[(0,r.jsx)("span",{children:n}),(0,r.jsxs)("span",{className:"flex flex-col items-end opacity-70",children:[s?null:t,s&&a?"24h":null,s&&!a&&l?l.map(e=>(0,r.jsx)("span",{children:"".concat(e.opening," - ").concat(e.closing)},"".concat(e.opening,"-").concat(e.closing))):null]})]},n)})})}},1711:function(e,n,t){"use strict";t.d(n,{i:function(){return StoreInfoChips}});var r=t(85893);t(67294);var s=t(81072),a=t(95377),l=t(61682);let i={delivery:"bike",takeaway:"shoppingBag",sitin:"chair",table:"conciergeBell"},StoreInfoChips=e=>{let{orderStatus:n,collection:t}=e,{disableOnlineOrdering:c}=(0,s.Fx)();return c?null:(0,r.jsxs)("ul",{className:"flex flex-wrap items-center gap-2",children:[(0,r.jsx)("li",{children:(0,r.jsxs)(l.Z,{variant:"surface",className:"gap-1 py-1 font-bold",children:[(0,r.jsx)(a.Z,{name:"clock",className:"text-primaryContainer"}),n]})}),t.map(e=>{let{id:n,name:t,orderStatus:s}=e;return(0,r.jsx)("li",{children:(0,r.jsxs)(l.Z,{variant:"surface",className:"gap-1 py-1",children:[(0,r.jsx)(a.Z,{name:i[n],className:"text-primaryContainer"}),"".concat(t,": ").concat(s)]})},n)})]})}},59386:function(e,n,t){"use strict";t.r(n);var r=t(85893),s=t(67294),a=t(11163),l=t(18487),i=t(67528),c=t(33742),o=t(10124),u=t(9836);n.default=()=>{let e=(0,c.E)(),{initiateBasket:n,setFulfilmentMethods:t,setOrderModes:d}=(0,l.V)(),f=(0,a.useRouter)(),x=f.query.storeId,m=e.useStore({storeId:x});return(0,s.useEffect)(()=>{n(x);let e=m.data;e&&(t(e.collection),d(e.orderModes,e.orderStatus))},[x,m.data]),(0,r.jsx)("div",{className:"flex flex-col grow",children:(0,r.jsx)(i.Z,{reload:m.reload,requests:{store:m},children:e=>{let{store:n}=e;return(0,r.jsxs)(s.Fragment,{children:[(0,r.jsx)(u.Z,{page:"".concat(n.name," menu - Order Online"),description:"View the full menu from ".concat(n.name," and place your order online"),schema:{type:"store",store:n}}),(0,r.jsx)(o.Z,{store:n},n.storeId)]})}})})}},42736:function(e,n,t){"use strict";var r=t(85893);t(67294);var s=t(43745),a=t(14859),l=t(95377);let Section=e=>{let{title:n,children:t}=e;return(0,r.jsxs)("section",{className:"mb-5 last:mb-0",children:[(0,r.jsx)("h3",{className:"font-sectionHeader text-xl font-bold mb-2",children:n}),t]})},Contact=e=>{let{address:n,email:t,telephone:s,telephoneE164:a}=e;return n||t||s?(0,r.jsx)(Section,{title:"Contact",children:(0,r.jsxs)("ul",{className:"flex flex-col gap-1",children:[n?(0,r.jsxs)("li",{className:"flex items-baseline",children:[(0,r.jsx)(l.Z,{name:"marker",className:"mr-2 shrink-0"}),n]}
1):null,s?(0,r.jsxs)("li",{className:"flex items-baseline",children:[(0,r.jsx)(l.Z,{name:"phone",className:"mr-2 shrink-0"}),(0,r.jsx)("a",{href:"tel:".concat(a||s),className:"underline",children:s})]}):null,t?(0,r.jsxs)("li",{className:"flex items-baseline",children:[(0,r.jsx)(l.Z,{name:"email",className:"mr-2 shrink-0"}),(0,r.jsx)("a",{href:"mailto:".concat(encodeURIComponent(t)),className:"underline break-all",children:t})]}):null]})}):null};n.Z=e=>{let{isOpen:n,closeModal:t,opening:l,collection:i,address:c,telephone:o,telephoneE164:u,email:d}=e;return(0,r.jsx)(a.u,{show:n,onClose:t,title:"Store information",name:"info",children:(0,r.jsxs)("div",{className:"p-3",children:[(0,r.jsx)(Section,{title:"Opening times",children:(0,r.jsx)(s.Z,{opening:l})}),i.map(e=>{let{id:n,name:t,schedule:a}=e;return(0,r.jsx)(Section,{title:t,children:(0,r.jsx)(s.Z,{opening:a,unavailableLabel:"Not available"})},n)}),(0,r.jsx)(Contact,{address:c,telephone:o,telephoneE164:u,email:d})]})})}},14859:function(e,n,t){"use strict";t.d(n,{u:function(){return Modal}});var r=t(85893),s=t(18687),a=t(13145),l=t(11163),i=t(67294),c=t(95377);let Modal=e=>{let{show:n,onClose:t,title:o,name:u,headerless:d=!1,containerClassName:f,children:x,afterLeave:m=()=>null}=e,h="#".concat(u||"modal"),p=(0,l.useRouter)(),j=(0,i.useRef)(null),v=(0,i.useRef)(0),g=(0,i.useRef)(!1),y=(0,i.useRef)(!1),cleanURL=()=>{p.asPath.includes(h)&&(g.current=!0,p.back())},releasePopState=()=>{y.current=!1,p.beforePopState(()=>!0)},onCloseHandler=()=>{cleanURL(),releasePopState(),t()};return(0,i.useEffect)(()=>{let restoreScroll=()=>{g.current&&(g.current=!1,window.scrollTo(0,v.current))};return window.addEventListener("hashchange",restoreScroll),()=>{window.removeEventListener("hashchange",restoreScroll)}},[]),(0,i.useEffect)(()=>{n?(v.current=window.scrollY,y.current=!0,p.beforePopState(()=>(onCloseHandler(),!0)),p.push(h)):y.current&&releasePopState()},[n]),(0,r.jsx)(s.u,{show:n,as:i.Fragment,children:(0,r.jsxs)(a.Vq,{as:"div",initialFocus:j,className:"fixed safe-inset-0 z-50 min-w-[350px]",onClose:onCloseHandler,children:[(0,r.jsx)(s.x,{as:i.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,r.jsx)("div",{className:"fixed inset-0 bg-black/30","aria-hidden":"true"})}),(0,r.jsx)("div",{ref:j,className:"fixed flex inset-0 justify-center items-end md:items-center h-full",style:{fontSize:0},children:(0,r.jsx)(a.EM,{as:i.Fragment,children:(0,r.jsx)(s.x,{afterLeave:()=>{cleanURL(),m()},as:i.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 md:translate-y-0",enterTo:"opacity-100 translate-y-0",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-4 md:translate-y-0",children:(0,r.jsxs)("div",{className:"text-base shadow w-screen md:w-[450px] max-h-full md:max-h-[90vh] overflow-auto md:rounded bg-surface text-onSurface ".concat(f||""),children:[d?null:(0,r.jsx)("div",{className:"w-full text-center relative sticky top-0 z-50 bg-secondary text-onSecondary ".concat(o?"shadow":""),children:(0,r.jsxs)("div",{className:"flex justify-center items-stretch min-h-[60px]",children:[(0,r.jsx)("div",{className:"w-[50px] shrink-0"}),o?(0,r.jsx)("div",{className:"grow flex justify-center items-center truncate",children:(0,r.jsx)("h2",{className:"font-header text-2xl p-3 truncate",children:o})}):(0,r.jsx)("div",{className:"grow p-3"}),(0,r.jsx)("button",{type:"button",className:"w-[50px] flex items-center justify-center shrink-0",onClick:t,children:(0,r.jsx)(c.Z,{name:"times",size:20})})]})}),(0,r.jsx)(i.Fragment,{children:x})]})})})})]})})}},61682:function(e,n,t){"use strict";var r=t(85893);let s={primary:"bg-primaryContainer text-onPrimaryContainer",surface:"bg-surfaceVariant text-onSurfaceVariant"};n.Z=e=>{let{className:n,variant:t="primary",children:a}=e;return(0,r.jsx)("span",{className:"text-xs ".concat(s[t]," btn-radius px-2 flex justify-center items-center min-h-[1rem] ").concat(n||""),children:a})}},31519:function(e,n){"use strict";n.Z={getShopAddress:e=>{let{addressLine1:n,addressLine2:t,town:r,county:s,postcode:a}=e;
1return[n,t,r,s,a].filter(Boolean).join(", ")||null}}}},function(e){e.O(0,[36,85,774,888,179],function(){return e(e.s=48679)}),_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.