(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3867],{70714:function(e,n,t){"use strict";var a,r=t(52983);function s(){return(s=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",s({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 s(){return(s=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",s({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 s(){return(s=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",s({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"}))))}},52972:function(e,n,t){"use strict";var a,r=t(52983);function s(){return(s=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",s({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"}))))}},43867:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return l}});var a=t(97458),r=t(25881),s=t(11579);t(52983);var o=t(91675),i=t(85187),c=t.n(i);function l(e){let{displayAddressBar:n,position:t,textBannerHeading:i,textBannerSubtitle:l}=e,u=(0,s.useRouter)(),{slug:d}=(0,r.Tt)(),{acf:{information:{appearance:{template:h}}}}=(0,r.FC)();return i?(0,a.jsxs)(a.Fragment,{children:["t2"===h&&1===t&&n&&(0,a.jsx)(o.Z,{}),(0,a.jsx)("div",{className:"container flush padded ".concat(u.asPath.includes("/results")?c().resultsContainer:c().container).trim(),children:1===t?(0,a.jsxs)("h1",{children:[l&&(0,a.jsx)("span",{className:"".concat("signature"===d?"font-tertiary":"font-secondary"," ").concat(c().subheading),children:l}),(0,a.jsx)("span",{className:"font-secondary ".concat("t3"!==h?"stencil heading-underline heading-underline--center heading-underline--no-spacing":""," ").concat(c().heading).trim(),children:i})]}):(0,a.jsxs)("h2",{children:[l&&(0,a.jsx)("span",{className:"".concat("signature"===d?"font-tertiary":"font-secondary"," ").concat(c().subheading),children:l}),(0,a.jsx)("span",{className:"font-secondary ".concat("t3"!==h?"stencil heading-underline heading-underline--center heading-underline--no-spacing":""," ").concat(c().heading).trim(),children:i})]})})]}):null}},91675:function(e,n,t){"use strict";t.d(n,{Z:function(){return g}});var a=t(97458),r=t(25881),s=t(55408),o=t.n(s);t(52983);var i=t(74743),c=t(38399),l=t(89070),u=t(70714),d=t(92202),h=t(77975),p=t(52972),f=t(14896),m=t.n(f);function g(){let{acf:{information:{general:{address:e,telephone:n},site:{yext_pub_id:t},times:{opening_times:s}}}}=(0,r.FC)();return e&&n?(0,a.jsxs)("div",{className:m().infoBar,children:[(0,a.jsxs)("div",{className:m().infoContainer,children:[(0,a.jsxs)("div",{className:m().addressBox,children:[(0,a.jsx)(d.Z,{title:"Location Map Pin Icon"}),(0,a.jsx)(i.Z,{href:"/our-pub?scroll=7",children:e})]}),(0,a.jsxs)("a",{href:"tel:".concat(n),className:m().phoneBox,children:[(0,a.jsx)(p.Z,{title:"Telephone Icon"}),(0,a.jsx)("span",{children:n})]}),s&&(0,a.jsxs)("div",{className:m().openTimeBox,children:[(0,a.jsx)(u.Z,{title:"Clock Icon"}),(0,a.jsx)(i.Z,{href:"/our-pub?scroll=7",className:m().addressContainer,onClick:()=>(0,l.Z)({event:"we_are_open"}),children:(0,a.jsx)(c.Z,{})})]})]}),t&&(0,a.jsx)("div",{className:m().searchContainer,children:(0,a.jsx)(o(),{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)(h.Z,{})})})]}):null}},38399:function(e,n,t){"use strict";t.d(n,{Z:function(){return l}});var a=t(97458),r=t(25881),s=t(52983),o=t(62310),i=t(78287),c=t.n(i);function l(){let{acf:{information:{times:{opening_times:e}}}}=(0,r.FC)(),{todaysOpeningTimes:n,isCurrentlyOpen:t,openingTimeDisplay:i}=function(e){let n=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],t=new Date().getDay(),a=n[t],r=e[a.toLowerCase()],o=n[(t+1)%7],i=e[o.toLowerCase()],[c,l]=(0,s.useState)(!1),[u,d]=(0,s.useState)(""),[h,p]=(0,s.useState)(""),[f,m]=(0,s.useState)(""),[g,x]=(0,s.useState)("");return(0,s.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),s=parseInt(t,10);return(0===r?r=12:r>12&&(r-=12),"00"!==t||11===r&&1===s)?"".concat(r,":").concat(t).concat(a):"".concat(r).concat(a)};if(r&&"closed"===r.toLowerCase()){i&&"closed"!==i.toLowerCase()?(x(n(i.split(/[–-]/)[0])),m(i.split(/[–-]/)[0])):x("closed"),l(!1);return}if(r){let[n,t]=r.split(/[–-]/)[0].split(":").map(Number),[a,s]=r.split(/[–-]/)[1].split(":").map(Number),o=new Date;o.setHours(n,t);let c=new Date;(a<n||a===n&&s<t)&&c.setDate(c.getDate()+1),c.setHours(a,s),l(e>=o&&e<=c),d(r.split(/[–-]/)[0]),p(r.split(/[–-]/)[1]),e>c&&i&&"closed"!==i.toLowerCase()&&(d(i.split(/[–-]/)[0]),p(i.split(/[–-]/)[1]))}i&&"closed"!==i.toLowerCase()?m(i.split(/[–-]/)[0]):m(""),c?x(n(h)):e.getTime()<new Date().setHours(24,0,0,0)?x(n(u)):x(n(f))},[r,i,c,h,u,f]),{openingTimeDisplay:g,todaysOpeningTimes:r,isCurrentlyOpen:c}}(e);return(0,a.jsx)(a.Fragment,{children:n&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("span",{className:"text-bold ".concat(c().openText),children:[t?"We Are Open!":"Currently Closed"," "]}),(0,a.jsxs)("span",{className:c().openTime,children:[t?"Today until":"We open at"," ",i,(0,a.jsx)(o.Z,{title:"Right Arrow Icon"})]})]})})}},85187:function(e){e.exports={container:"TextBannerBlock_container__qvlzp",resultsContainer:"TextBannerBlock_resultsContainer__ue5q3",heading:"TextBannerBlock_heading__1YxOP",subheading:"TextBannerBlock_subheading__92w9_"}},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"}},78287:function(e){e.exports={openText:"PubOpenTime_openText__s8UpH",openTime:"PubOpenTime_openTime__10d2Z"}}}]);