1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9304],{27150:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return q}});var a=n(97458),o=n(31536),s=n(40511),i=n(55408),c=n.n(i),r=n(11579),l=n(52983),d=n(74743),u=n(75218),h=n(49577),m=n(88242),_=n(62474),p=n(24220),x=n.n(p),b=n(99492),g=n(87935),j=n(16413),N=n(60060),v=n.n(N),f=n(280),k=n(11562),T=n(83386),M=n(60619),C=n(77162),w=n(89070),y=n(61642),H=n(35421),Z=n(18615),I=n(47304),L=n(62310),B=n(33165),S=n.n(B);function F(e){let{closeNavModal:t,pubGeneralInfo:{address:n,email:s,telephone:i},pubLinks:c}=e,r=(0,y.Z)("(min-width: ".concat(S().breakpoint,")")),{slug:l}=(0,o.Tt)();return(0,a.jsx)(a.Fragment,{children:(n||s||i)&&(0,a.jsxs)(a.Fragment,{children:[c&&c.order_at_table&&r&&(0,a.jsxs)(d.Z,{href:"".concat(c.order_at_table),className:"button button-scooped button-filled",onClick:()=>{null==t||t(),(0,w.Z)({event:"order_at_table_page"})},children:["revere"===l&&(0,a.jsx)("span",{className:"button-scooped-inner"}),(0,a.jsx)("span",{className:"button-scooped-outer button-filled-outer",children:(0,a.jsx)("span",{className:"button-scooped-text",children:"Order At Table"})})]}),(0,a.jsx)("span",{className:"".concat("signature"===l?"font-tertiary text-xl":"font-secondary text-l"," ").concat(S().addressHeading).trim(),children:"Find Us"}),(0,a.jsx)("div",{className:S().address,children:(0,a.jsx)(I.Z,{address:n,email:s,telephone:i})}),(0,a.jsx)(d.Z,{className:"button button-secondary ".concat(S().button),href:"/our-pub?scroll=4",onClick:()=>{null==t||t(),(0,w.Z)({event:"contact_us",button_category:"Footer"})},children:(0,a.jsxs)("span",{children:["Contact Us",(0,a.jsx)(L.Z,{})]})})]})})}var E=n(77071),O=n(32970);let U=["menus","offers","whats-on","our-pub","stay-with-us"];function V(e){let{pubPages:t,setShowModal:n}=e,o=(0,l.useMemo)(()=>(0,O.Z)({orderedMenuItems:U,pubPages:t}).slice(0,3),[t]);return(0,a.jsx)("ul",{className:"reset ".concat(x().desktopLinksList),children:o.map(e=>{let{label:t,slug:o}=e;return(0,a.jsx)(E.Z,{label:t,slug:o,setShowModal:n},"header-desktop-item-".concat(o))})})}var P=n(45911),A=n.n(P);let G=["menus","offers","sports","whats-on","our-pub","stay-with-us","private-hire","giftcards"];function R(e){var t;let{headerNavigation:n,pubGeneralInfo:{hide_signup_menu:s},pubLinks:i,pubPages:c,setShowModal:u}=e,{slug:h}=(0,o.Tt)(),{acf:{information:{bookings:{is_enabled:m},general:{telephone:_}}}}=(0,o.FC)(),p=(0,l.useMemo)(()=>(0,O.Z)({orderedMenuItems:G,pubPages:c}),[c]),b=(0,r.useRouter)(),g=(null===(t=b.query.slug)||void 0===t?void 0:t.toString())||"",j=p.some(e=>"Stay With Us"===e.label);return(0,a.jsxs)(a.Fragment,{children:[p.map(e=>{let{label:t,slug:n}=e;return(0,a.jsx)(f.ck,{className:"".concat(A().menuItem," ").concat(x().menuItem),children:(0,a.jsx)(f.rU,{asChild:!0,children:(0,a.jsx)(d.Z,{className:"font-secondary ".concat(A().menuLink," ").concat(x().menuLink," ").concat(g===n?A().menuActive:"").trim(),href:"/".concat(n),onClick:()=>{u(!1),(0,w.Z)({event:"".concat(t),button_category:"Header Navigation"})},children:t})})},"header-mobile-item-".concat(n))}),i&&i.stay_with_us&&!j&&(0,a.jsx)(f.ck,{className:"".concat(A().menuItem," ").concat(x().menuItem),children:(0,a.jsx)(f.rU,{className:"font-secondary text-xl ".concat(A().menuLink," ").concat(x().menuLink),href:i.stay_with_us,onClick:()=>{u(!1),(0,w.Z)({event:"stay_with_us_page"})},target:"_blank",children:"Stay With Us"})}),n&&(0,a.jsx)(f.ck,{className:"".concat(A().menuItem," ").concat(x().menuItem),children:(0,a.jsx)(f.rU,{className:"font-secondary ".concat(A().menuLink," ").concat(x().menuLink),href:"/".concat(null==n?void 0:n.acf.information.settings.slug),onClick:()=>{u(!1),(0,w.Z)({event:"campaign_page",button_category:"Header Navigation"})},children:(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:n.title.rendered}})})}),!s&&(0,a.jsx)(f.ck,{className:"".concat(A().menuItem," ").concat(x().menuItem),children:(0,a.jsx)(f.rU,{className:"font-secondary ".concat(A().menuLink," ").concat(x().menuLink),href:"signup",onClick:()=>{u(!1),(0,w.Z)({event:"sign_up_page",button_category:"Header Navigation"})},children:"Sign Up"})}),m&&_&&(0,a.jsx)(f.ck,{className:"".concat(A().menuItem," ").concat(x().menuItem),
1children:(0,a.jsxs)(d.Z,{href:"?booking=true",ga4Location:"Header",className:"button button-scooped button-filled",children:["revere"===h&&(0,a.jsx)("span",{className:"button-scooped-inner"}),(0,a.jsx)("span",{className:"button-scooped-outer button-filled-outer",children:(0,a.jsx)("span",{className:"button-scooped-text",children:"Book Now"})})]})})]})}var Y=n(59714),J=n.n(Y);function W(e){let{closeNavModal:t,headerNavigation:n,isNoticeVisible:s,openNavigation:i,pubBookingModal:{is_enabled:c},pubGeneralInfo:{address:r,email:l,telephone:u,...h},pubLinks:m,pubPages:_,pubSiteInfo:p,redLetter:b,setShowModal:g,showModal:j,pubTitle:N}=e,v=(0,y.Z)("(max-width: ".concat(J().breakpoint,")")),I=(0,o.om)(),{slug:L}=(0,o.Tt)(),{acf:{information:{appearance:{template:B}}}}=(0,o.FC)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(f.fC,{className:"".concat(J().navigation," ").concat(x().navigation),children:(0,a.jsx)(C.Z,{title:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:J().burgerMenu}),(0,a.jsx)(V,{pubPages:_})]}),styles:{content:"".concat(J().menuContent," ").concat(s?J().withNotice:J().withoutNotice).trim(),trigger:"".concat(J().menuTrigger," ").concat(x().menuTrigger),overlay:"".concat(J().menuOverlay," ").concat(x().menuOverlay," ").concat(s?x().withNotice:x().withoutNotice).trim()},setShowModal:g,showModal:j,children:(0,a.jsx)(f.aV,{className:"reset ".concat(x().menuList),children:(0,a.jsxs)("div",{className:"".concat(J().innerContainer," ").concat(x().innerContainer),"data-template":B,"data-theme":L,children:[(0,a.jsxs)(k.E.div,{className:"".concat(J().headerTitle," ").concat(x().headerTitle),initial:{visibility:"hidden"},whileInView:{visibility:"visible"},viewport:{once:!0,amount:0},transition:{duration:.3,ease:"easeIn"},children:[N,(0,a.jsx)("div",{className:J().closeBox,children:(0,a.jsx)("button",{type:"button",className:"".concat(J().closeButton," ").concat(x().closeButton),onClick:()=>g(!1),children:(0,a.jsx)(k.E.span,{initial:{opacity:0}
1,whileInView:{opacity:1},viewport:{once:!0,amount:0},transition:{duration:.3,ease:"easeInOut",delay:.35},className:"".concat(x().closeText," ").concat(J().closeText," font-secondary"),children:"Close"})})}),!v&&(0,a.jsx)("div",{className:J().promoBox,children:(0,a.jsx)("div",{className:J().headerButtons,children:(0,a.jsx)(T.Z,{isEnabled:c,redLetter:b,setShowModal:g,telephone:u})})})]}),(0,a.jsxs)(k.E.div,{initial:{opacity:0},whileInView:{opacity:1},viewport:{once:!0,amount:0},transition:{duration:.3,ease:"easeIn"},className:"".concat(J().navContent," ").concat(x().navContent),children:[v&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(T.Z,{isEnabled:c,redLetter:b,setShowModal:g,telephone:u}),p.yext_pub_id&&(0,a.jsx)(Z.Z,{})]}),(0,a.jsx)("div",{className:x().headerRegion,"data-desktop":"false",children:(0,a.jsx)(R,{headerNavigation:n,pubGeneralInfo:{...h},pubLinks:m,pubPages:_,setShowModal:g})}),(0,a.jsx)("div",{className:x().headerRegion,"data-desktop":"true",children:(0,a.jsxs)("div",{className:J().modalContent,children:[(0,a.jsx)("div",{className:J().leftContent,children:(0,a.jsx)(R,{headerNavigation:n,pubGeneralInfo:{...h},pubLinks:m,pubPages:_,setShowModal:g})}),(0,a.jsxs)("div",{className:"".concat(J().rightContent," ").concat(i?J().openNavCampaign:"").trim(),children:[p.yext_pub_id&&(0,a.jsx)(k.E.div,{initial:{opacity:0}
1,whileInView:{opacity:1},viewport:{once:!0,amount:0},transition:{duration:.3,ease:"easeInOut",delay:.35},className:J().searchField,children:(0,a.jsx)(Z.Z,{})}),(0,a.jsx)(H.Z,{closeNavModal:()=>g(!1),pubLinks:m,openNavigation:i})]})]})}),(0,a.jsxs)("div",{className:x().headerRegion,"data-desktop":"false",children:[m&&m.order_at_table&&"t3"===B&&(0,a.jsxs)(d.Z,{href:"".concat(m.order_at_table),className:"button button-scooped button-filled ".concat(x().orderTableBtn),onClick:()=>{null==t||t(),(0,w.Z)({event:"order_at_table_page"})},children:["revere"===L&&(0,a.jsx)("span",{className:"button-scooped-inner"}),(0,a.jsx)("span",{className:"button-scooped-outer button-filled-outer",children:(0,a.jsx)("span",{className:"button-scooped-text",children:"Order At Table"})})]}),(0,a.jsx)(H.Z,{closeNavModal:()=>g(!1),openNavigation:i})]}),(0,a.jsx)(f.ck,{className:"".concat(J().bottom," ").concat(x().bottom),children:(0,a.jsx)(F,{pubGeneralInfo:{address:r,email:l,telephone:u,...h},pubLinks:m,closeNavModal:()=>g(!1)})})]})]})})})}),(0,a.jsx)("div",{className:x().headerRegion,"data-desktop":"true",children:(0,a.jsx)(T.Z,{isEnabled:c,redLetter:b,setShowModal:g,telephone:u})}),!(null==I?void 0:I.enabled)&&(0,a.jsx)(M.Z,{dmnId:null==I?void 0:I.id,isNoticeVisible:s})]})}function q(e){let{headerNavigation:t,openNavigation:n,pubBookingModal:i,pubGeneralInfo:p,pubHeaderNotices:{copy:N,display_header:f,link_text:k,link_url:T},pubLinks:M,pubPages:C,pubSiteInfo:w,pubTitle:y,redLetter:H,sidePanel:Z,statusCode:I}=e,L=(0,r.useRouter)(),{slug:B}=(0,o.Tt)(),[S,F]=(0,l.useState)(!0),[E,O]=(0,l.useState)(!1),{acf:{information:{appearance:{template:U},general:{location:V},media:{pub_logo:P},popup:{popup_content:A,popup_heading:G,show_popup:R},site:{yext_pub_id:Y}}}}=(0,o.FC)(),J=(0,m.Z)(y),q=()=>(0,a.jsx)(d.Z,{href:"/",className:"font-secondary pub-title ".concat(v().title," ").concat(x().title," ").concat((0,h.Z)(y)),onClick:()=>O(!1),children:"revere"===B&&P?(0,a.jsx)(s.ZP,{className:"image-full-size image-cover ".concat(v().pubLogo),src:P,params:[{width:100,height:100},{width:200,height:200},{width:300,height:300}],width:"100",height:"100",alt:J}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:y}}),(0,a.jsx)("span",{className:v().locationName,children:V})]})});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("header",{className:"".concat(x().header," ").concat(v().header),"data-status-code":I,"data-template":U,"data-theme":B,"data-visible-notice":!!(N&&f&&S),children:[(0,a.jsx)(b.Z,{pubHeaderNotices:{copy:N,display_header:f,link_text:k,link_url:T},onChange:e=>F(e)}),(0,a.jsxs)("div",{className:"".concat(v().headerBar," ").concat(x().headerBar,"\n ").concat(E?"".concat(v().withNotice," ").concat(x().withNotice," ").concat(v().hidden):"").trim(),"data-with-notice":!!(N&&f&&S),children:[(0,a.jsxs)("div",{className:"".concat(v().left," ").concat(x().left),children:[q(),Y&&(0,a.jsx)("div",{className:"".concat(x().searchContainer," ").concat(v().searchContainer," ").concat(E?x().hideSearch:"").trim(),children:(0,a.jsx)(c(),{href:"/results?query=&context=%7B%22pub%22%3A%22".concat(Y,"%22%7D&verticalUrl=faqs.html"),"aria-label":"Search Results Page",children:(0,a.jsx)(_.Z,{})})})]}),(0,a.jsx)(W,{headerNavigation:t,isNoticeVisible:S,openNavigation:n,pubBookingModal:i,pubGeneralInfo:p,pubLinks:M,pubPages:C,pubSiteInfo:w,pubTitle:q(),redLetter:H,showModal:E,setShowModal:O})]}),!E&&(0,a.jsx)(g.Z,{})]}),R&&A&&G&&(0,a.jsx)(u.Z,{}),("/"===L.asPath||L.asPath.includes("/home")||L.asPath.includes("y_source"))&&Z&&(0,a.jsx)(j.Z,{sidePanel:Z})]})}},33165:function(e){e.exports={breakpoint:"1281px",addressHeading:"T3BottomBar_addressHeading__tJO1E",address:"T3BottomBar_address__YaOA7",stripBox:"T3BottomBar_str
1ipBox__nalDP",stripLink:"T3BottomBar_stripLink__6Yzvg",button:"T3BottomBar_button__aV2f_"}},60060:function(e){e.exports={breakpoint:"1280px",headerBar:"T3Header_headerBar__JxmM6",hidden:"T3Header_hidden__oVMZU",fadeOut:"T3Header_fadeOut__InYSC",left:"T3Header_left__imId4",title:"T3Header_title__kZmIN",locationName:"T3Header_locationName__iEOYE",pubLogo:"T3Header_pubLogo__hzCam"}},59714:function(e){e.exports={breakpoint:"1280px",headerButtons:"T3HeaderMenu_headerButtons__Zl_1E",headerTitle:"T3HeaderMenu_headerTitle__8uYRQ",closeButton:"T3HeaderMenu_closeButton__yIWbj",menuContent:"T3HeaderMenu_menuContent__C91Il",withNotice:"T3HeaderMenu_withNotice__NJWTr",withoutNotice:"T3HeaderMenu_withoutNotice__JfJaV",navigation:"T3HeaderMenu_navigation__ICEn_",menuTrigger:"T3HeaderMenu_menuTrigger__1cqXl",burgerMenu:"T3HeaderMenu_burgerMenu__3ORC0",bottom:"T3HeaderMenu_bottom__x8pnA",menuOverlay:"T3HeaderMenu_menuOverlay__LCbFV",navContent:"T3HeaderMenu_navContent__5ZM5V",modalContent:"T3HeaderMenu_modalContent__JhXuL",leftContent:"T3HeaderMenu_leftContent__nhkFb",rightContent:"T3HeaderMenu_rightContent__64HoY",openNavCampaign:"T3HeaderMenu_openNavCampaign__G9m32",searchField:"T3HeaderMenu_searchField__iGWUY",promoBox:"T3HeaderMenu_promoBox__MOpdT",closeBox:"T3HeaderMenu_closeBox__CiLYy",closeText:"T3HeaderMenu_closeText__4ajj1",innerContainer:"T3HeaderMenu_innerContainer__x1X8U",searchWrappper:"T3HeaderMenu_searchWrappper__ul4ol"}},45911:function(e){e.exports={menuLink:"T3HeaderMenuLinks_menuLink__pgq3e",menuActive:"T3HeaderMenuLinks_menuActive__J7jfA",menuItem:"T3HeaderMenuLinks_menuItem__4Ex8Z"}}}]);
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.