1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7305],{70714:function(e,n,t){"use strict";var a,r=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 r.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:17.466,height:17.466},e),a||(a=r.createElement("g",{fill:"none",stroke:"#535e40",strokeLinecap:"round",strokeLinejoin:"round","data-name":"Icon feather-clock"},r.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"}),r.createElement("path",{d:"M8.733 3.793v4.94l3.293 1.647","data-name":"Path 492"}))))}},92202:function(e,n,t){"use strict";var a,r=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 r.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:17.13,height:20.714},e),a||(a=r.createElement("g",{fill:"none",stroke:"#535e40",strokeLinecap:"round",strokeLinejoin:"round","data-name":"Icon feather-map-pin"},r.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"}),r.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,r=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 r.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:17.694,height:17.694},e),a||(a=r.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round","data-name":"Icon feather-search"},r.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"}),r.createElement("path",{d:"m16.987 16.987-3.984-3.984","data-name":"Path 716"}))))}},86470:function(e,n,t){"use strict";var a,r=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 r.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:67.5,height:11.414},e),a||(a=r.createElement("g",{fill:"none",stroke:"currentColor","data-name":"Group 1886"},r.createElement("path",{d:"M0 5.707h67"}),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m62 10.707 5-5-5-5"}),r.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,r=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 r.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 129 15"},e),a||(a=r.createElement("g",{fill:"currentColor","data-name":"Decoration top",opacity:.601},r.createElement("path",{d:"M118.5 15 108 0h21Z","data-name":"Polygon 4"}),r.createElement("path",{d:"M82.5 15 72 0h21Z","data-name":"Polygon 3"}),r.createElement("path",{d:"M46.5 15 36 0h21Z","data-name":"Polygon 2"}),r.createElement("path",{d:"M10.5 15 0 0h21Z","data-name":"Polygon 1"}))))}},52972:function(e,n,t){"use strict";var a,r=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 r.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:19.964,height:20.002},e),a||(a=r.createElement("g",{"data-name":"Group 1753"},r.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 _}});var a=t(97458),r=t(31536),o=t(55408),i=t.n(o);t(52983);var s=t(74743),l=t(38399),c=t(89070),d=t(70714),u=t(92202),h=t(77975),p=t(52972),m=t(14896),f=t.n(m);function _(){let{slug:e}
1=(0,r.Tt)(),{acf:{information:{general:{address:n,telephone:t},site:{yext_pub_id:o},times:{opening_times:m}}}}=(0,r.FC)();return n&&t?(0,a.jsxs)("div",{className:f().infoBar,"data-format":e,children:[(0,a.jsxs)("div",{className:f().infoContainer,children:[(0,a.jsxs)("div",{className:f().addressBox,children:[(0,a.jsx)(u.Z,{title:"Location Map Pin Icon"}),(0,a.jsx)(s.Z,{href:"/our-pub?scroll=7",children:n})]}),(0,a.jsxs)("a",{href:"tel:".concat(t),className:f().phoneBox,children:[(0,a.jsx)(p.Z,{title:"Telephone Icon"}),(0,a.jsx)("span",{children:t})]}),m&&(0,a.jsxs)("div",{className:f().openTimeBox,children:[(0,a.jsx)(d.Z,{title:"Clock Icon"}),(0,a.jsx)(s.Z,{href:"/our-pub?scroll=7",className:f().addressContainer,onClick:()=>(0,c.Z)({event:"we_are_open"}),children:(0,a.jsx)(l.Z,{})})]})]}),o&&(0,a.jsx)("div",{className:f().searchContainer,children:(0,a.jsx)(i(),{href:"/results?query=&context=%7B%22pub%22%3A%22".concat(o,"%22%7D&verticalUrl=faqs.html"),"aria-label":"Search Results Page",children:(0,a.jsx)(h.Z,{})})})]}):null}},37305:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return _}});var a=t(97458),r=t(31536),o=t(23082),i=t.n(o),s=t(52983),l=t(91675),c=t(70855),d=t.n(c),u=t(74743),h=t(94021),p=t(76142),m=t(86470),f=t(37188);function _(e){let{button:n,enableVideo:t,fallbackImage:o,heading:c,prevLayout:_,subheading:g,videoId:v,videoPlayer:x}=e,j=(0,s.useRef)(null),[b,w]=(0,s.useState)(!1),y=(0,r.FC)();return t&&v?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"container flush ".concat(void 0!==_?d().mainWrapper:"").trim(),children:[void 0===_&&(0,a.jsx)(l.Z,{}),g||c||n.link_text&&n.link_url&&(0,a.jsxs)("div",{className:d().content,children:[(0,a.jsxs)("div",{className:d().title,children:[(0,a.jsx)(f.Z,{title:"Set of Triangles Icon"}),(0,a.jsxs)("h1",{children:[(0,a.jsx)("span",{className:"font-secondary ".concat(d().subheading),children:g}),g&&c&&" ",(0,a.jsx)("span",{className:"stencil font-secondary ".concat(d().heading),children:c}),c&&(0,a.jsx)("span",{className:"stencil font-secondary ".concat(d().heading),dangerouslySetInnerHTML:{__html:i().sanitize(c.replace(/\r\n/g,"<br />"))}})]}),(0,a.jsx)(f.Z,{title:"Set of Triangles Icon"})]}),n.link_text&&n.link_url&&(0,a.jsx)("div",{className:d().buttons,children:(0,a.jsx)(u.Z,{href:(0,p.Z)("".concat(n.link_url),y),className:"button button-fill-banner",children:n.link_text})})]}),void 0===_&&(0,a.jsxs)("div",{className:d().control,onClick:()=>{let e=document.querySelector('[data-position="2"]');e&&e.scrollIntoView({behavior:"smooth"})},onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),null!==j.current&&j.current.click())},ref:j,role:"button",tabIndex:0,"aria-label":"Scroll down",children:[(0,a.jsx)("span",{className:"text-s ".concat(d().controlText),children:"Scroll"}),(0,a.jsx)(m.Z,{title:"Scroll Arrow Icon"})]}),t&&(0,a.jsx)("div",{className:d().media,onClick:()=>{w(!b)},children:(0,a.jsx)(h.Z,{videoId:v,videoPlayer:x,fallbackImage:o,isPlay:b,playSound:!0,showPlayIcon:!b})})]}),void 0===_&&(0,a.jsx)("div",{className:"container flush ".concat(d().stripBar),children:(0,a.jsx)("div",{className:d().bar})})]}):null}},38399:function(e,n,t){"use strict";t.d(n,{Z:function(){return c}});var a=t(97458),r=t(31536),o=t(52983),i=t(62310),s=t(78287),l=t.n(s);function c(){let{acf:{information:{times:{opening_times:e}}}}=(0,r.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],r=e[a.toLowerCase()],i=n[(t+1)%7],s=e[i.toLowerCase()],[l,c]=(0,o.useState)(!1),[d,u]=(0,o.useState)(""),[h,p]=(0,o.useState)(""),[m,f]=(0,o.useState)(""),[_,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",r=parseInt(n,10),o=parseInt(t,10);return(0===r?r=12:r>12&&(r-=12),"00"!==t||11===r&&1===o)?"".concat(r,":").concat(t).concat(a):"".concat(r).concat(a)};if(r&&"closed"===r.toLowerCase()){s&&"closed"!==s.toLowerCase()?(g(n(s.split(/[â-]/)[0])),f(s.split(/[â-]/)[0])):g("closed"),c(!1);return}if(r){let[n,t]=r.split(/[â-]/)[0].split(":").map(Number),[a,o]=r.split(/[â-]/)[1].split(":").map(Number),i=new Date;i.setHours(n,t);let l=new Date;(a<n||a===n&&o<t)&&l.setDate(l.getDate()+1),l.setHours(a,o),c(e>=i&&e<=l),u(r.split(/[â-]/)[0]),p(r.split(/[â-]/)[1]),e>l&&s&&"closed"!==s.toLowerCase()&&(u(s.split(/[â-]/)[0]),p(s.split(/[â-]/)[1]))}s&&"closed"!==s.toLowerCase()?f(s.split(/[â-]/)[0]):f(""),l?g(n(h
1)):e.getTime()<new Date().setHours(24,0,0,0)?g(n(d)):g(n(m))},[r,s,l,h,d,m]),{openingTimeDisplay:_,todaysOpeningTimes:r,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"})]})]})})}},94021:function(e,n,t){"use strict";t.d(n,{Z:function(){return h}});var a=t(97458),r=t(40511),o=t(37048),i=t(2638),s=t.n(i),l=t(52983),c=t(29957),d=t(12094),u=t.n(d);function h(e){let{fallbackImage:n,isPlay:t=!0,playSound:i,position:d=0,showPlayIcon:h=!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)(r.ZP,{className:"image-full-size image-cover ".concat(u().fallback,"\n ").concat(f?u().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:[h&&(0,a.jsx)("div",{className:"".concat(u().videoIcon," ").concat(u().vimeoIcon)}),(0,a.jsx)(o.Z,{className:u().video,video:p,controls:!1,muted:!i,loop:!0,autoplay:t,onReady:()=>_(!0),paused:!t})]}),"youtube"===m&&p&&(0,a.jsxs)(a.Fragment,{children:[h&&(0,a.jsx)("div",{className:"".concat(u().videoIcon," ").concat(u().youtubeIcon)}),(0,a.jsx)(c.Z,{className:u().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(),_(!0)},ref:g})]})]})}},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",mainWrapper:"T2MainBannerBlock_mainWrapper__JuJLQ",bar:"T2MainBannerBlock_bar__oOPlX",stripBar:"T2MainBannerBlock_stripBar___5BYI",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"}},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"}}}]);
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.