(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2729],{70714:function(e,n,t){"use strict";var a,i=t(52983);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e}).apply(this,arguments)}n.Z=function(e){return i.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:17.466,height:17.466},e),a||(a=i.createElement("g",{fill:"none",stroke:"#535e40",strokeLinecap:"round",strokeLinejoin:"round","data-name":"Icon feather-clock"},i.createElement("path",{d:"M16.966 8.733A8.233 8.233 0 1 1 8.733.5a8.233 8.233 0 0 1 8.233 8.233Z","data-name":"Path 491"}),i.createElement("path",{d:"M8.733 3.793v4.94l3.293 1.647","data-name":"Path 492"}))))}},92202:function(e,n,t){"use strict";var a,i=t(52983);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e}).apply(this,arguments)}n.Z=function(e){return i.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:17.13,height:20.714},e),a||(a=i.createElement("g",{fill:"none",stroke:"#535e40",strokeLinecap:"round",strokeLinejoin:"round","data-name":"Icon feather-map-pin"},i.createElement("path",{d:"M16.63 8.565c0 6.273-8.065 11.649-8.065 11.649S.5 14.838.5 8.565a8.065 8.065 0 1 1 16.13 0Z","data-name":"Path 62"}),i.createElement("path",{d:"M11.399 8.601a2.833 2.833 0 1 1-2.834-2.833 2.833 2.833 0 0 1 2.834 2.833Z","data-name":"Path 63"}))))}},77975:function(e,n,t){"use strict";var a,i=t(52983);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e}).apply(this,arguments)}n.Z=function(e){return i.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:17.694,height:17.694},e),a||(a=i.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round","data-name":"Icon feather-search"},i.createElement("path",{d:"M15.155 7.828A7.328 7.328 0 1 1 7.828.5a7.328 7.328 0 0 1 7.328 7.328Z","data-name":"Path 715"}),i.createElement("path",{d:"m16.987 16.987-3.984-3.984","data-name":"Path 716"}))))}},86470:function(e,n,t){"use strict";var a,i=t(52983);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e}).apply(this,arguments)}n.Z=function(e){return i.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:67.5,height:11.414},e),a||(a=i.createElement("g",{fill:"none",stroke:"currentColor","data-name":"Group 1886"},i.createElement("path",{d:"M0 5.707h67"}),i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m62 10.707 5-5-5-5"}),i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m59.675 9.358 3.651-3.651-3.651-3.649"}))))}},37188:function(e,n,t){"use strict";var a,i=t(52983);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e}).apply(this,arguments)}n.Z=function(e){return i.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 129 15"},e),a||(a=i.createElement("g",{fill:"currentColor","data-name":"Decoration top",opacity:.601},i.createElement("path",{d:"M118.5 15 108 0h21Z","data-name":"Polygon 4"}),i.createElement("path",{d:"M82.5 15 72 0h21Z","data-name":"Polygon 3"}),i.createElement("path",{d:"M46.5 15 36 0h21Z","data-name":"Polygon 2"}),i.createElement("path",{d:"M10.5 15 0 0h21Z","data-name":"Polygon 1"}))))}},52972:function(e,n,t){"use strict";var a,i=t(52983);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e}).apply(this,arguments)}n.Z=function(e){return i.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:19.964,height:20.002},e),a||(a=i.createElement("g",{"data-name":"Group 1753"},i.createElement("path",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",d:"M19.463 14.725v2.86a1.907 1.907 0 0 1-2.078 1.907 18.868 18.868 0 0 1-8.228-2.927 18.592 18.592 0 0 1-5.724-5.72A18.868 18.868 0 0 1 .509 2.578 1.907 1.907 0 0 1 2.406.5h2.86a1.907 1.907 0 0 1 1.907 1.64 12.242 12.242 0 0 0 .667 2.679 1.907 1.907 0 0 1-.429 2.012L6.2 8.042a15.255 15.255 0 0 0 5.721 5.721l1.212-1.212a1.907 1.907 0 0 1 2.012-.429 12.242 12.242 0 0 0 2.679.667 1.907 1.907 0 0 1 1.639 1.936Z","data-name":"Icon feather-phone"}))))}},91675:function(e,n,t){"use strict";t.d(n,{Z:function(){return v}});var a=t(97458),i=t(25881),o=t(55408),l=t.n(o);t(52983);var r=t(74743),s=t(38399),c=t(89070),d=t(70714),h=t(92202),u=t(77975),m=t(52972),p=t(14896),f=t.n(p);function v(){let{acf:{information:{general:{address:e,telephone:n},site:{yext_pub_id:t},times:{opening_times:o}}}}=(0,i.FC)();return e&&n?(0,a.jsxs)("div",{className:f().infoBar,children:[(0,a.jsxs)("div",{className:f().infoContainer,children:[(0,a.jsxs)("div",{className:f().addressBox,children:[(0,a.jsx)(h.Z,{title:"Location Map Pin Icon"}),(0,a.jsx)(r.Z,{href:"/our-pub?scroll=7",children:e})]}),(0,a.jsxs)("a",{href:"tel:".concat(n),className:f().phoneBox,children:[(0,a.jsx)(m.Z,{title:"Telephone Icon"}),(0,a.jsx)("span",{children:n})]}),o&&(0,a.jsxs)("div",{className:f().openTimeBox,children:[(0,a.jsx)(d.Z,{title:"Clock Icon"}),(0,a.jsx)(r.Z,{href:"/our-pub?scroll=7",className:f().addressContainer,onClick:()=>(0,c.Z)({event:"we_are_open"}),children:(0,a.jsx)(s.Z,{})})]})]}),t&&(0,a.jsx)("div",{className:f().searchContainer,children:(0,a.jsx)(l(),{href:"/results?query=&context=%7B%22pub%22%3A%22".concat(t,"%22%7D&verticalUrl=faqs.html"),"aria-label":"Search Results Page",children:(0,a.jsx)(u.Z,{})})})]}):null}},99550:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return Z}});var a,i,o,l,r=t(97458),s=t(25881),c=t(90007),d=t(2638),h=t.n(d),u=t(11579),m=t(52983),p=t(35212),f=t(71212),v=t(74743),g=t(94021),_=t(89070),x=t(86470),j=t(37188);function b(){return(b=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e}).apply(this,arguments)}var w=function(e){return m.createElement("svg",b({xmlns:"http://www.w3.org/2000/svg",width:94,height:34,fill:"none"},e),a||(a=m.createElement("g",{fill:"#fff",clipPath:"url(#trees_svg__a)"},m.createElement("path",{d:"M8.926 23.87H3.86l6.5-6.413H6.5l7.72-8.051h-3.307L18.493 2l7.594 7.393h-3.306l7.72 8.051h-3.86l6.5 6.414h-5.067L37 30.94s-11.315-2.506-18.506-2.506c-7.192 0-18.507 2.506-18.507 2.506l8.927-7.071h.012Z"}),m.createElement("path",{d:"M18.645 29.527h-4.652s.968 3.485 4.652 3.485c3.683 0 4.438-3.485 4.438-3.485h-4.438Z"}))),i||(i=m.createElement("g",{fill:"#fff",clipPath:"url(#trees_svg__b)"},m.createElement("path",{d:"M45.825 11.993h-2.739L46.6 8.476h-2.087l4.173-4.415h-1.787L50.997 0 55.1 4.054h-1.787l4.173 4.415H55.4l3.514 3.517h-2.739L61 15.871s-6.116-1.374-10.003-1.374c-3.888 0-10.004 1.374-10.004 1.374l4.825-3.878h.007Z"}),m.createElement("path",{d:"M51.078 15.095h-2.514s.523 1.912 2.514 1.912c1.991 0 2.4-1.912 2.4-1.912h-2.4Z"}))),o||(o=m.createElement("g",{fill:"#fff",clipPath:"url(#trees_svg__c)"},m.createElement("path",{d:"M71.237 26.637H67.13l5.27-5.172H69.27l6.26-6.493h-2.682L78.995 9l6.157 5.962H82.47l6.259 6.493H85.6l5.27 5.172h-4.108L94 32.34s-9.174-2.02-15.005-2.02c-5.83 0-15.005 2.02-15.005 2.02l7.237-5.702h.01Z"}),m.createElement("path",{d:"M79.117 31.199h-3.771s.784 2.811 3.771 2.811 3.599-2.811 3.599-2.811h-3.599Z"}))),l||(l=m.createElement("defs",null,m.createElement("clipPath",{id:"trees_svg__a"},m.createElement("path",{fill:"#fff",d:"M37 2H0v31h37z"})),m.createElement("clipPath",{id:"trees_svg__b"},m.createElement("path",{fill:"#fff",d:"M61 0H41v17h20z"})),m.createElement("clipPath",{id:"trees_svg__c"},m.createElement("path",{fill:"#fff",d:"M94 9H64v25h30z"})))))},y=t(91675),B=t(70855),k=t.n(B);function Z(e){let{button:n,enableVideo:t,gallery:a,heading:i,hideStripBar:o,position:l,postId:d,subheading:b,video:B}=e,{acf:{information:{times:{seasonal_times:Z}}}}=(0,s.FC)(),E=(0,u.useRouter)(),T=(0,m.useRef)(),N=(0,m.useRef)(null),P="/"===E.asPath.split("?")[0],I=(0,s.O_)(d);return(null==a?void 0:a.length)||i||b?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"container flush",children:[(0,r.jsx)(y.Z,{}),t&&(0,r.jsxs)("div",{className:k().content,children:[(0,r.jsxs)("div",{className:k().title,children:[(0,r.jsx)(j.Z,{title:"Set of Triangles Icon"}),(0,r.jsxs)("h1",{children:[(0,r.jsx)("span",{className:"font-secondary ".concat(k().subheading),children:b}),b&&i&&" ",(0,r.jsx)("span",{className:"stencil font-secondary ".concat(k().heading),children:i})]}),(0,r.jsx)(j.Z,{title:"Set of Triangles Icon"})]}),n.link_text&&n.link_url&&(0,r.jsx)("div",{className:k().buttons,children:(0,r.jsx)(v.Z,{href:"".concat(n.link_url),className:"button button-fill-banner",children:n.link_text})})]}),(0,r.jsxs)("div",{className:k().control,onClick:()=>{let e=document.querySelector('[data-position="2"]');e&&e.scrollIntoView({behavior:"smooth"})},onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),null!==N.current&&N.current.click())},ref:N,role:"button",tabIndex:0,"aria-label":"Scroll down",children:[(0,r.jsx)("span",{className:"text-s ".concat(k().controlText),children:"Scroll"}),(0,r.jsx)(x.Z,{title:"Scroll Arrow Icon"})]}),t?(0,r.jsx)("div",{className:k().media,children:(0,r.jsx)(g.Z,{videoId:B.videoId,videoPlayer:B.videoPlayer,fallbackImage:B.fallbackImage})}):(null==a?void 0:a.length)&&(0,r.jsx)("div",{className:k().media,children:(0,r.jsxs)(f.tq,{slidesPerView:"auto",enabled:a.length>1,speed:900,autoplay:a.length>1&&{delay:5e3},modules:[p.tl,p.pt],pagination:{el:".swiper-pagination-banner-t2",clickable:!0},onBeforeInit:e=>{T.current=e},className:k().slider,children:[a.length>1&&(0,r.jsx)("div",{className:"swiper-pagination-banner-t2"}),null==a?void 0:a.map((e,n)=>{var t,a,o,s,d,u,m,p,g,_,x,w;let y=null==I?void 0:I.find(e=>{var t,a,i;return Number(null===(i=e.acf)||void 0===i?void 0:null===(a=i.information)||void 0===a?void 0:null===(t=a.settings)||void 0===t?void 0:t.slide_index)===n+1}),B=0!==n||1!==l||P?"h2":"h1";return(0,r.jsxs)(f.o5,{className:k().slide,children:[(0,r.jsxs)("div",{className:k().content,children:[(0,r.jsxs)("div",{className:k().title,children:[(0,r.jsx)(j.Z,{title:"Set of Triangles Icon"}),(0,r.jsxs)(B,{children:[(0,r.jsx)("span",{className:"font-secondary ".concat(k().subheading),children:(null==y?void 0:null===(o=y.acf)||void 0===o?void 0:null===(a=o.information)||void 0===a?void 0:null===(t=a.content)||void 0===t?void 0:t.subtitle)||e.subtitle}),e.subtitle&&e.title&&" ",(0,r.jsx)("span",{className:"stencil font-secondary ".concat(k().heading),children:(null==y?void 0:null===(u=y.acf)||void 0===u?void 0:null===(d=u.information)||void 0===d?void 0:null===(s=d.content)||void 0===s?void 0:s.title)||e.title})]}),(0,r.jsx)(j.Z,{title:"Set of Triangles Icon"})]}),e.galleryButton.link_text&&e.galleryButton.link_url&&(0,r.jsx)("div",{className:k().buttons,children:(0,r.jsx)(v.Z,{href:"".concat((null==y?void 0:null===(g=y.acf)||void 0===g?void 0:null===(p=g.information)||void 0===p?void 0:null===(m=p.content)||void 0===m?void 0:m.galleryButton.link_url)||e.galleryButton.link_url),className:"button button-fill-banner",children:(null==y?void 0:null===(w=y.acf)||void 0===w?void 0:null===(x=w.information)||void 0===x?void 0:null===(_=x.content)||void 0===_?void 0:_.galleryButton.link_text)||e.galleryButton.link_text})})]}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:k().overlay}),(0,r.jsx)(r.Fragment,{children:e.image&&(0,r.jsx)(c.ZP,{className:k().image,src:(null==y?void 0:y.acf.information.content.image)||e.image,params:[{width:375,height:510},{width:750,height:1020},{width:1125,height:569},{width:1440,height:728},{width:1920,height:971}],width:"375",height:"510",preload:1===l&&0===n||void 0,Preloader:1===l&&0===n?h():void 0,loading:1===l&&0!==n?"lazy":void 0,fetchPriority:1===l&&0===n?"high":void 0,alt:"".concat(b," ").concat(i)})})]})]},"image-".concat(n+1))})]})})]}),(0,r.jsx)("div",{className:"container flush ".concat(k().stripBar," ").concat("/our-pub"===E.asPath||E.asPath.includes("/our-pub")?k().containerSpacing:"").trim(),"data-hide-strip":o,children:(0,r.jsx)("div",{className:k().bar,children:Z&&Z.opening_times.length>0&&("/"===E.asPath||E.asPath.includes("/home")||E.asPath.includes("/?y_source"))&&(0,r.jsx)("div",{className:k().seasonalBar,children:(0,r.jsxs)("div",{className:k().seasonalBarContent,children:[(0,r.jsx)(w,{}),(0,r.jsxs)(v.Z,{href:"?scroll=5",className:"font-secondary ".concat(k().seasonalBarLink),onClick:()=>(0,_.Z)({event:"we_are_open"}),children:["View ".concat(Z.occasion_heading)," ",(0,r.jsx)("span",{children:"Opening Times"})]}),(0,r.jsx)(w,{})]})})})})]}):null}t(2525)},38399:function(e,n,t){"use strict";t.d(n,{Z:function(){return c}});var a=t(97458),i=t(25881),o=t(52983),l=t(62310),r=t(78287),s=t.n(r);function c(){let{acf:{information:{times:{opening_times:e}}}}=(0,i.FC)(),{todaysOpeningTimes:n,isCurrentlyOpen:t,openingTimeDisplay:r}=function(e){let n=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],t=new Date().getDay(),a=n[t],i=e[a.toLowerCase()],l=n[(t+1)%7],r=e[l.toLowerCase()],[s,c]=(0,o.useState)(!1),[d,h]=(0,o.useState)(""),[u,m]=(0,o.useState)(""),[p,f]=(0,o.useState)(""),[v,g]=(0,o.useState)("");return(0,o.useEffect)(()=>{let e=new Date,n=e=>{if(!e||!e.includes(":"))return"";let[n,t]=e.split(":").map(e=>e.trim()),a=12>parseInt(n,10)?"am":"pm",i=parseInt(n,10),o=parseInt(t,10);return(0===i?i=12:i>12&&(i-=12),"00"!==t||11===i&&1===o)?"".concat(i,":").concat(t).concat(a):"".concat(i).concat(a)};if(i&&"closed"===i.toLowerCase()){r&&"closed"!==r.toLowerCase()?(g(n(r.split(/[–-]/)[0])),f(r.split(/[–-]/)[0])):g("closed"),c(!1);return}if(i){let[n,t]=i.split(/[–-]/)[0].split(":").map(Number),[a,o]=i.split(/[–-]/)[1].split(":").map(Number),l=new Date;l.setHours(n,t);let s=new Date;(a<n||a===n&&o<t)&&s.setDate(s.getDate()+1),s.setHours(a,o),c(e>=l&&e<=s),h(i.split(/[–-]/)[0]),m(i.split(/[–-]/)[1]),e>s&&r&&"closed"!==r.toLowerCase()&&(h(r.split(/[–-]/)[0]),m(r.split(/[–-]/)[1]))}r&&"closed"!==r.toLowerCase()?f(r.split(/[–-]/)[0]):f(""),s?g(n(u)):e.getTime()<new Date().setHours(24,0,0,0)?g(n(d)):g(n(p))},[i,r,s,u,d,p]),{openingTimeDisplay:v,todaysOpeningTimes:i,isCurrentlyOpen:s}}(e);return(0,a.jsx)(a.Fragment,{children:n&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("span",{className:"text-bold ".concat(s().openText),children:[t?"We Are Open!":"Currently Closed"," "]}),(0,a.jsxs)("span",{className:s().openTime,children:[t?"Today until":"We open at"," ",r,(0,a.jsx)(l.Z,{title:"Right Arrow Icon"})]})]})})}},94021:function(e,n,t){"use strict";t.d(n,{Z:function(){return u}});var a=t(97458),i=t(90007),o=t(70541),l=t(2638),r=t.n(l),s=t(52983),c=t(29957),d=t(12094),h=t.n(d);function u(e){let{fallbackImage:n,isPlay:t=!0,position:l=0,showPlayIcon:d=!1,videoId:u,videoPlayer:m}=e,[p,f]=(0,s.useState)(!1),v=(0,s.useRef)(null);return(0,s.useEffect)(()=>{var e;let n=null===(e=v.current)||void 0===e?void 0:e.internalPlayer;t?null==n||n.playVideo():null==n||n.pauseVideo()},[t]),(0,a.jsxs)(a.Fragment,{children:[n&&(0,a.jsx)(i.ZP,{className:"image-full-size image-cover ".concat(h().fallback,"\n          ").concat(p?h().hide:"").trim(),params:[{width:375,height:636},{width:750,height:1272},{width:1125,height:625},{width:1440,height:800},{width:1920,height:1067}],src:n,alt:"video fallback image",width:"375",height:"636",preload:1===l||void 0,Preloader:1===l?r():void 0,loading:l>1?"lazy":void 0}),"vimeo"===m&&u&&(0,a.jsxs)(a.Fragment,{children:[d&&(0,a.jsx)("div",{className:"".concat(h().videoIcon," ").concat(h().vimeoIcon)}),(0,a.jsx)(o.Z,{className:h().video,video:u,controls:!1,muted:!0,loop:!0,autoplay:t,onReady:()=>f(!0),paused:!t})]}),"youtube"===m&&u&&(0,a.jsxs)(a.Fragment,{children:[d&&(0,a.jsx)("div",{className:"".concat(h().videoIcon," ").concat(h().youtubeIcon)}),(0,a.jsx)(c.Z,{className:h().video,opts:{playerVars:{autoplay:t?1:0,mute:1,loop:1,playlist:u,controls:0,modestbranding:1}},videoId:u,onReady:e=>{t&&e.target.playVideo(),f(!0)},ref:v})]})]})}},14896:function(e){e.exports={breakpoint:"1280px",infoBar:"T2InfoBar_infoBar__tcIPD",infoContainer:"T2InfoBar_infoContainer__YRrPl",searchContainer:"T2InfoBar_searchContainer__DTUSW",openTimeBox:"T2InfoBar_openTimeBox__KzzLB",addressBox:"T2InfoBar_addressBox__xSu1i",phoneBox:"T2InfoBar_phoneBox__WhCFu"}},70855:function(e){e.exports={breakpoint:"820px",containerSpacing:"T2MainBannerBlock_containerSpacing__clh4z",seasonalBarContent:"T2MainBannerBlock_seasonalBarContent__51Uzf",control:"T2MainBannerBlock_control__OwXVR",media:"T2MainBannerBlock_media__oOImM",slider:"T2MainBannerBlock_slider__yGx9l",slide:"T2MainBannerBlock_slide__SjttZ",image:"T2MainBannerBlock_image__2wNnU",content:"T2MainBannerBlock_content__TlAbk",title:"T2MainBannerBlock_title__CdupO",subheading:"T2MainBannerBlock_subheading___nZuB",heading:"T2MainBannerBlock_heading__JTKAY",buttons:"T2MainBannerBlock_buttons__ha_8z",overlay:"T2MainBannerBlock_overlay__kfb28",stripBar:"T2MainBannerBlock_stripBar___5BYI",bar:"T2MainBannerBlock_bar__oOPlX",seasonalBar:"T2MainBannerBlock_seasonalBar__dgMjj",seasonalBarLink:"T2MainBannerBlock_seasonalBarLink__iH_SP"}},78287:function(e){e.exports={openText:"PubOpenTime_openText__s8UpH",openTime:"PubOpenTime_openTime__10d2Z"}},12094:function(e){e.exports={fallback:"Video_fallback__lXUeC",hide:"Video_hide__dMBuH",video:"Video_video__KYz0l",videoIcon:"Video_videoIcon__VdboE",vimeoIcon:"Video_vimeoIcon__LogGU",youtubeIcon:"Video_youtubeIcon__9rngS"}}}]);