1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8890],{70714:function(e,n,t){"use strict";var a,o=t(52983);function r(){return(r=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 o.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",width:17.466,height:17.466},e),a||(a=o.createElement("g",{fill:"none",stroke:"#535e40",strokeLinecap:"round",strokeLinejoin:"round","data-name":"Icon feather-clock"},o.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"}),o.createElement("path",{d:"M8.733 3.793v4.94l3.293 1.647","data-name":"Path 492"}))))}},92202:function(e,n,t){"use strict";var a,o=t(52983);function r(){return(r=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 o.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",width:17.13,height:20.714},e),a||(a=o.createElement("g",{fill:"none",stroke:"#535e40",strokeLinecap:"round",strokeLinejoin:"round","data-name":"Icon feather-map-pin"},o.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"}),o.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"}))))}},86470:function(e,n,t){"use strict";var a,o=t(52983);function r(){return(r=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 o.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",width:67.5,height:11.414},e),a||(a=o.createElement("g",{fill:"none",stroke:"currentColor","data-name":"Group 1886"},o.createElement("path",{d:"M0 5.707h67"}),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m62 10.707 5-5-5-5"}),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m59.675 9.358 3.651-3.651-3.651-3.649"}))))}},52972:function(e,n,t){"use strict";var a,o=t(52983);function r(){return(r=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 o.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",width:19.964,height:20.002},e),a||(a=o.createElement("g",{"data-name":"Group 1753"},o.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"}))))}},38890:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return Z}});var a=t(97458),o=t(40370),r=t(40511),i=t(2638),s=t.n(i),l=t(52983),c=t(74743),d=t(86919),h=t(94021),u=t(76142),p=t(86470),m=t(38461),_=t.n(m),f=t(31536),g=t(11579),v=t(38399),x=t(89070),j=t(70714),w=t(92202),B=t(52972),b=t(56289),k=t.n(b);function T(e){let{isDesktop:n}=e,t=(0,g.useRouter)(),{acf:{information:{general:{address:o,telephone:r},times:{opening_times:i}}}}=(0,f.FC)();return o&&r&&("/"===t.asPath||t.asPath.includes("/home")||t.asPath.includes("y_source"))?(0,a.jsx)("div",{className:k().infoBar,"data-desktop":n,children:(0,a.jsxs)("div",{className:k().infoContainer,children:[(0,a.jsxs)("div",{className:k().infoTop,children:[(0,a.jsxs)("span",{className:k().address,children:[(0,a.jsx)(w.Z,{title:"Location Map Pin Icon"}),(0,a.jsx)(c.Z,{href:"/our-pub?scroll=4",children:(0,a.jsx)("span",{className:k().addressText,children:o})})]}),(0,a.jsxs)("a",{href:"tel:".concat(r),className:k().telephone,children:[(0,a.jsx)(B.Z,{title:"Telephone Icon"}),(0,a.jsx)("span",{children:r})]})]}),(0,a.jsxs)("a",{href:"tel:".concat(r),className:k().telephone,children:[(0,a.jsx)(B.Z,{title:"Telephone Icon"}),(0,a.jsx)("span",{children:r})]}),i&&(0,a.jsxs)("div",{className:k().infoBottom,children:[(0,a.jsx)(j.Z,{title:"Clock Icon"}),(0,a.jsx)(c.Z,{href:"/our-pub?scroll=4",className:k().addressContainer,onClick:()=>(0,x.Z)({event:"we_are_open"}),children:(0,a.jsx)(v.Z,{})})]})]})}):null}var y=t(38186),I=t.n(y);function Z(e){let{enableVideo:n,fallbackImage:t,mainBannerButton:i,mainBannerContent:m,mainBannerImage:f,mainHeadingBottom:g,mainHeadingTop:v,mobileImage:x,position:j,reverseBanner:w,videoId:B,videoPlayer:b}=e,k=(0,l.useRef)(null),y=(0,o.Z)();return v?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(T,{isDesktop:!1}),(0,a.jsx)("div",{className:"container flush","data-reverse":w,children:(0,a.jsxs)("div",{className:I().innerContainer,children:[(0,a.jsxs)("div",{className:I().content,children:[(0,a.jsx)(T,{isDesktop:!0}),(0,a.jsxs)("div",{className:I().innerContent,children:[(0,a.jsxs)("h1",{className:"font-secondary ".concat(I().heading),children:[(0,a.jsx)("span",{className:I().headingTop,children:v}),v&&g&&" ",g&&(0,a.jsx)("span",{className:"stencil ".concat(I().headingBottom),children:g})]}),m&&(0,a.jsx)("p",{className:I().text,children:m}),i.link_text&&i.link_url&&(0,a.jsx)("div",{className:I().buttons,children:(0,a.jsx)(c.Z,{href:(0,u.Z)(i.link_url,y),className:"button button-primary",children:i.link_text})})]}),(0,a.jsx)("div",{className:I().controlContainer,children:(0,a.jsxs)("div",{className:I().control,onClick:()=>{let e=document.querySelector('[data-position="2"]');e&&e.scrollIntoView({behavior:"smooth"})},onKeyDown:e=>
1{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),null!==k.current&&k.current.click())},ref:k,role:"button",tabIndex:0,"aria-label":"Scroll down",children:[(0,a.jsx)(p.Z,{title:"Scroll Arrow Icon"}),(0,a.jsx)("span",{className:"text-s ".concat(I().controlText),children:"Scroll"})]})})]}),(0,a.jsx)(d.Z,{isDesktop:!1}),(0,a.jsx)("div",{className:I().media,children:n?(0,a.jsx)(h.Z,{videoId:B,videoPlayer:b,fallbackImage:t}):(0,a.jsxs)(a.Fragment,{children:[x&&(0,a.jsx)(r.ZP,{className:"image-full-width image-cover ".concat(I().image," ").concat(_().overrideImage),src:x,params:[{width:375,height:329},{width:750,height:658},{width:820,height:720}],width:"375",height:"329",alt:"".concat(v," ").concat(g)}),f&&(0,a.jsx)(r.ZP,{className:"image-full-width image-cover ".concat(I().image," ").concat(x?_().hiddenImage:"").trim(),src:f,params:[{width:375,height:329},{width:750,height:658},{width:820,height:720},{width:1125,height:987}],width:"375",height:"329",preload:1===j||void 0,Preloader:1===j?s():void 0,loading:1===j?"lazy":void 0,fetchPriority:1===j?"high":void 0,alt:"".concat(v," ").concat(g)})]})})]})}),(0,a.jsx)(d.Z,{isDesktop:!0})]}):null}},38399:function(e,n,t){"use strict";t.d(n,{Z:function(){return c}});var a=t(97458),o=t(31536),r=t(52983),i=t(62310),s=t(78287),l=t.n(s);function c(){let{acf:{information:{times:{opening_times:e}}}}=(0,o.FC)(),{todaysOpeningTimes:n,isCurrentlyOpen:t,openingTimeDisplay:s}=function(e){let n=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],t=new Date().getDay(),a=n[t],o=e[a.toLowerCase()],i=n[(t+1)%7],s=e[i.toLowerCase()],[l,c]=(0,r.useState)(!1),[d,h]=(0,r.useState)(""),[u,p]=(0,r.useState)(""),[m,_]=(0,r.useState)(""),[f,g]=(0,r.useState)("");return(0,r.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",o=parseInt(n,10),r=parseInt(t,10);return(0===o?o=12:o>12&&(o-=12),"00"!==t||11===o&&1===r)?"".concat(o,":").concat(t).concat(a):"".concat(o).concat(a)};if(o&&"closed"===o.toLowerCase()){s&&"closed"!==s.toLowerCase()?(g(n(s.split(/[â-]/)[0])),_(s.split(/[â-]/)[0])):g("closed"),c(!1);return}if(o){let[n,t]=o.split(/[â-]/)[0].split(":").map(Number),[a,r]=o.split(/[â-]/)[1].split(":").map(Number),i=new Date;i.setHours(n,t);let l=new Date;(a<n||a===n&&r<t)&&l.setDate(l.getDate()+1),l.setHours(a,r),c(e>=i&&e<=l),h(o.split(/[â-]/)[0]),p(o.split(/[â-]/)[1]),e>l&&s&&"closed"!==s.toLowerCase()&&(h(s.split(/[â-]/)[0]),p(s.split(/[â-]/)[1]))}s&&"closed"!==s.toLowerCase()?_(s.split(/[â-]/)[0]):_(""),l?g(n(u)):e.getTime()<new Date().setHours(24,0,0,0)?g(n(d)):g(n(m))},[o,s,l,u,d,m]),{openingTimeDisplay:f,todaysOpeningTimes:o,isCurrentlyOpen:l}}(e);return(0,a.jsx)(a.Fragment,{children:n&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("span",{className:"text-bold ".concat(l().openText),children:[t?"We Are Open!":"Currently Closed"," "]}),"closed"!==n&&(0,a.jsxs)("span",{className:l().openTime,children:[t?"Today until":"We open at"," ",s,(0,a.jsx)(i.Z,{title:"Right Arrow Icon"})]})]})})}},86919:function(e,n,t){"use strict";t.d(n,{Z:function(){return f}});var a,o,r,i,s=t(97458),l=t(31536),c=t(11579),d=t(52983),h=t(89070);function u(){return(u=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 p=function(e){return d.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",width:94,height:34,fill:"none"},e),a||(a=d.createElement("g",{fill:"#fff",clipPath:"url(#trees_svg__a)"},d.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"}),d.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"}))),o||(o=d.createElement("g",{fill:"#fff",clipPath:"url(#trees_svg__b)"},d.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"}),d.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"}))),r||(r=d.createElement("g",{fill:"#fff",clipPath:"url(#trees_svg__c)"},d.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.
101Z"}),d.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"}))),i||(i=d.createElement("defs",null,d.createElement("clipPath",{id:"trees_svg__a"},d.createElement("path",{fill:"#fff",d:"M37 2H0v31h37z"})),d.createElement("clipPath",{id:"trees_svg__b"},d.createElement("path",{fill:"#fff",d:"M61 0H41v17h20z"})),d.createElement("clipPath",{id:"trees_svg__c"},d.createElement("path",{fill:"#fff",d:"M94 9H64v25h30z"})))))},m=t(18547),_=t.n(m);function f(e){var n;let{hideStripBar:t,isDesktop:a}=e,{acf:{information:{appearance:{template:o},times:{seasonal_times:r,seasonalBarPosition:i}}}}=(0,l.FC)(),{slug:u}=(0,l.Tt)(),m=(0,c.useRouter)(),f=null==r?void 0:null===(n=r.occasion_heading)||void 0===n?void 0:n.toLowerCase().includes("christmas"),g=(0,d.useCallback)(()=>{let e=document.querySelector('[data-position="'.concat(i,'"]'));e&&(e.scrollIntoView({behavior:"auto",block:"start"}),(0,h.Z)({event:"we_are_open"}))},[i]);return(0,s.jsx)("div",{className:"container flush ".concat(_().stripBar," ").concat("/our-pub"===m.asPath||m.asPath.includes("/our-pub")?_().containerSpacing:"").trim(),"data-hide-strip":t,"data-template":o,"data-desktop":a,"data-format":u,children:(0,s.jsx)("div",{className:_().bar,children:!!(r&&r.opening_times.length&&"/"===m.asPath||m.asPath.includes("/home")||m.asPath.includes("y_source"))&&(0,s.jsx)("div",{className:_().seasonalBar,"data-christmas":f,children:(0,s.jsxs)("div",{className:_().seasonalBarContent,children:[f&&(0,s.jsx)(p,{}),(0,s.jsxs)("button",{className:"font-secondary ".concat(_().seasonalBarLink),onClick:g,children:["View ".concat(r.occasion_heading)," ",(0,s.jsx)("span",{children:"Opening Times"})]}),f&&(0,s.jsx)(p,{})]})})})})}},94021:function(e,n,t){"use strict";t.d(n,{Z:function(){return u}});var a=t(97458),o=t(40511),r=t(37048),i=t(2638),s=t.n(i),l=t(52983),c=t(29957),d=t(12094),h=t.n(d);function u(e){let{fallbackImage:n,isPlay:t=!0,playSound:i,position:d=0,showPlayIcon:u=!1,videoId:p,videoPlayer:m}=e,[_,f]=(0,l.useState)(!1),g=(0,l.useRef)(null);return(0,l.useEffect)(()=>{var e;let n=null===(e=g.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)(o.ZP,{className:"image-full-size image-cover ".concat(h().fallback,"\n ").concat(_?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===d||void 0,Preloader:1===d?s():void 0,loading:d>1?"lazy":void 0}),"vimeo"===m&&p&&(0,a.jsxs)(a.Fragment,{children:[u&&(0,a.jsx)("div",{className:"".concat(h().videoIcon," ").concat(h().vimeoIcon)}),(0,a.jsx)(r.Z,{className:h().video,video:p,controls:!1,muted:!i,loop:!0,autoplay:t,onReady:()=>f(!0),paused:!t})]}),"youtube"===m&&p&&(0,a.jsxs)(a.Fragment,{children:[u&&(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:p,controls:0,modestbranding:1}},videoId:p,onReady:e=>{t&&e.target.playVideo(),f(!0)},ref:g})]})]})}},56289:function(e){e.exports={infoTop:"T1InfoBar_infoTop__zgZJ3",infoBottom:"T1InfoBar_infoBottom__QEUAd",address:"T1InfoBar_address__Pk7O4",telephone:"T1InfoBar_telephone__WoUIh",infoBar:"T1InfoBar_infoBar__g_Jmc",infoContainer:"T1InfoBar_infoContainer__nDS_f",telephoneMobile:"T1InfoBar_telephoneMobile__GtTBz",addressText:"T1InfoBar_addressText__A6YQd",addressContainer:"T1InfoBar_addressContainer__Pbt9m"}},38186:function(e){e.exports={breakpoint:"821px",innerContainer:"T1MainBannerBlock_innerContainer__ZtbYY",content:"T1MainBannerBlock_content__MOgE3",innerContent:"T1MainBannerBlock_innerContent__32qXo",controlContainer:"T1MainBannerBlock_controlContainer__pKt9J",control:"T1MainBannerBlock_control__P9FWB",heading:"T1MainBannerBlock_heading__DTISz",headingTop:"T1MainBannerBlock_headingTop__nD_nF",headingBottom:"T1MainBannerBlock_headingBottom__pypWf",text:"T1MainBannerBlock_text__aOsDe",buttons:"T1MainBannerBlock_buttons__hLRyV",media:"T1MainBannerBlock_media__1gJJh",image:"T1MainBannerBlock_image__HLMu0",controlText:"T1MainBannerBlock_controlText__e8d_9"}},78287:function(e){e.exports={openText:"PubOpenTime_openText__s8UpH",openTime:"PubOpenTime_openTime__10d2Z"}},18547:function(e){e.exports={seasonalBarContent:"SeasonalStripBar_seasonalBarContent__OGYl5",bar:"SeasonalStripBar_bar__WRTRj",stripBar:"SeasonalStripBar_stripBar__tT8d0",containerSpacing:"SeasonalStripBar_containerSpacing__exBTU",seasonalBarLink:"SeasonalStripBar_seasonalBarLink__nlCs8",seasonalBar:"SeasonalStripBar_seasonalBar__vrzjp"}},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"}},38461:function(e){e.exports={overrideImage:"MainBanner_overrideImage__22lm_",hiddenImage:"MainBanner_hiddenImage__Ul6Rw"}}}]);
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.