import{_ as S,e as t,c as a,d as l,t as d,n as _,N as D,f as m,h as z,j as B,m as I,L as P,o as L,F as s,g as y,w as f,Y as N,V as w,Z as V,W as q,u as E,l as U,C as H,H as R,T as v,U as $,E as O}from"./CSGWN0Ke.js";import{_ as j}from"./RssLZfLx.js";import{a as Y}from"./BITtZpNW.js";import{u as W}from"./00Wz9xmJ.js";const X={props:{content:{type:Object,required:!0,default:()=>{}}},data(){return{pageOffset:0,animationStopped:!1}},computed:{offset(){return this.pageOffset*.5}},mounted(){this.content.headline.length&&"IntersectionObserver"in window&&new IntersectionObserver((o,r)=>{o[0].isIntersecting?(this.animationStopped=!1,requestAnimationFrame(this.calcOffset)):this.animationStopped=!0}).observe(this.$el)},methods:{calcOffset(){this.pageOffset=window.pageYOffset,this.animationStopped||requestAnimationFrame(this.calcOffset)}}},Z={class:"font-sans text-sm md:text-base tracking-wider uppercase mb-3 md:mb-5"},G={class:"font-serif text-3xl md:text-5xl lg:text-6xl tracking-wider uppercase"};function J(h,o,r,k,x,p){return r.content.headline.length?(t(),a("section",{key:0,class:_(["w-full overflow-hidden mx-auto z-10",`text-${r.content.text_style||"center"}`])},[l("header",{class:_(["relative flex flex-col justify-center h-56 md:h-64 w-full max-w-site-wide mx-auto px-6",h.$styling(r.content.backgroundColour)]),style:D({"will-change":"transform",transform:`translate3d(0, ${p.offset}px, 0)`})},[l("h1",Z,d(h.$prismic.asText(r.content.eyebrow_headline)),1),l("h2",G,d(h.$prismic.asText(r.content.headline)),1)],6)],2)):m("",!0)}const St=S(X,[["render",J]]),K=["id"],Q={class:"md:flex md:flex-grow md:mr-4"},tt={class:"flex flex-col self-center mr-4 md:mr-12"},et={class:"font-sans text-base uppercase md:hidden"},st={key:0,class:"font-sans text-xs uppercase nl-md:hidden"},at={key:0},nt={key:1,class:"md:absolute bottom-0 left-0 text-2xs md:ml-6 md:mb-2"},ot={class:"md:flex md:flex-shrink-0 nl-md:items-center nl-md:mt-4 ml-auto"},lt=["aria-label"],Pt=z({__name:"StickyPromo",props:{stickydata:{type:Object,default:null}},async setup(h){let o,r;const k=B(),x=([o,r]=I(()=>W()),o=await o,r(),o),p=q(),i=h,e=P(!0),u=P(!1);L(()=>{window.addEventListener("scroll",()=>{setTimeout(()=>{u.value=!0},1e3)},{once:!0})});function T(){e.value=!e.value,e.value||(p==null||p.push({event:"custom_event",category:"Sticky Promo",action:"Promo Close",label:k.path}),p==null||p.push({event:"stickyPromo",sticky_promo_action:"Close"}))}return(c,g)=>{const C=j,A=V,n=Y;return i.stickydata&&i.stickydata.data&&i.stickydata.data.sticky_promo_active?(t(),a("section",{key:0,id:i.stickydata.id,class:_(["w-full md:w-content md:max-w-sticky-promo fixed bottom-0 z-20 transform translate-y-0 duration-300",{"translate-y-full":!s(u)||!s(e)}])},[l("div",{class:_([c.$styling(i.stickydata.data.sticky_promo_background_color),"md:flex shadow py-5 px-4 md:px-6"])},[l("div",Q,[l("div",tt,[l("h2",{class:"font-sans text-base uppercase nl-md:hidden",onClick:g[0]||(g[0]=b=>e.value=!0)},d(c.$prismic.asText(i.stickydata.data.sticky_promo_headline)),1),l("h2",et,d(c.$prismic.asText(i.stickydata.data.sticky_promo_mobile_override)||c.$prismic.asText(i.stickydata.data.sticky_promo_headline)),1),i.stickydata.data.sticky_promo_subtitle.length?(t(),a("p",st,[s(e)?(t(),a("span",at,d(c.$prismic.asText(i.stickydata.data.sticky_promo_subtitle)),1)):m("",!0)])):m("",!0),"terms_and_conditions_apply"in s(x)?(t(),a("p",nt,d(s(x).terms_and_conditions_apply),1)):m("",!0)]),l("div",ot,[y(A,{btnstyle:"secondary",class:"focus:outline-gbl"},{default:f(()=>[y(C,{document:i.stickydata.data.sticky_promo_link,channeloverride:c.$prismic.asText(i.stickydata.data.channel_override),campaignoverride:c.$prismic.asText(i.stickydata.data.campaign_override),gaeventcategory:"Sticky Promo",gaeventaction:"Promo Click",gaeventlabel:(c._.provides[N]||c.$route).path,class:_(c.$styling("button__secondary")),slice_type:"sticky_promo"},{default:f(()=>[w(d(c.$prismic.asText(i.stickydata.data.sticky_promo_link_text)),1)]),_:1},8,["document","channeloverride","campaignoverride","gaeventlabel","class"])]),_:1})])]),l("span",{class:_({"nl-md:hidden":!s(u)||!s(e)})},[l("button",{class:_(["nl-md:-translate-y-full nl-md:transform nl-md:absolute nl-md:top-0 nl-md:right-0 flex items-center justify-center self-center w-10 h-12 focus:outline-gbl ml-auto",c.$styling(i.stickydata.data.sticky_promo_background_color)]),"aria-label":s(x).link_view,onClick:g[1]||(g[1]=b=>T())},[y(n,{class:"transform rotate-45"})],10,lt)],2)],2)],10,K)):m("",!0)}}}),rt={props:{colour:{type:Object,default:()=>{}}}};function it(h,o,r,k,x,p){return t(),a("svg",{width:"15",height:"1",class:_(["fill-current",r.colour]),xmlns:"http://www.w3.org/2000/svg"},o[0]||(o[0]=[l("path",{d:"M.313 0a.313.313 0 100 .625c6.841 0 14.4.006 14.375 0a.313.313 0 100-.625z"},null,-1)]),2)}const ct=S(rt,[["render",it]]),dt={props:{colour:{type:String,default:"black"},iconbrand:{type:String,default:null}}},mt=["fill"],ut=["fill"],_t=["fill"];function pt(h,o,r,k,x,p){return t(),a("div",null,[r.iconbrand==="Facebook"?(t(),a("svg",{key:0,fill:r.colour,xmlns:"http://www.w3.org/2000/svg",width:"23.998",height:"23.852",viewBox:"0 0 23.998 23.852"},o[0]||(o[0]=[l("path",{d:"M24 12a12 12 0 10-13.876 11.852v-8.384H7.078V12h3.047V9.356c0-3.007 1.791-4.668 4.532-4.668a18.453 18.453 0 012.686.234v2.952h-1.514a1.734 1.734 0 00-1.955 1.874V12H17.2l-.532 3.469h-2.8v8.385A12 12 0 0024 12z"},null,-1)]),8,mt)):m("",!0),r.iconbrand==="Instagram"?(t(),a("svg",{key:1,fill:r.colour,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},o[1]||(o[1]=[l("path",{d:"M12 0C8.74 0 8.333.015 7.053.072A8.849 8.849 0 004.14.63a5.876 5.876 0 00-2.126 1.384A5.855 5.855 0 00.63 4.14a8.823 8.823 0 00-.558 2.913C.012 8.333 0 8.74 0 12s.015 3.667.072 4.947A8.854 8.854 0 00.63 19.86a5.885 5.885 0 001.384 2.126A5.868 5.868 0 004.14 23.37a8.86 8.86 0 002.913.558C8.333 23.988 8.74 24 12 24s3.667-.015 4.947-.072a8.88 8.88 0 002.913-.558 6.133 6.133 0 003.51-3.51 8.854 8.854 0 00.558-2.913c.06-1.28.072-1.687.072-4.947s-.015-3.667-.072-4.947a8.874 8.874 0 00-.558-2.913 5.89 5.89 0 00-1.384-2.126A5.847 5.847 0 0019.86.63a8.828 8.828 0 00-2.913-.558C15.667.012 15.26 0 12 0zm0 2.16c3.2 0 3.585.016 4.85.071a6.611 6.611 0 012.227.415 3.949 3.949 0 012.278 2.277 6.625 6.625 0 01.413 2.227c.057 1.266.07 1.646.07 4.85s-.015 3.585-.074 4.85a6.753 6.753 0 01-.421 2.227 3.81 3.81 0 01-.9 1.382 3.744 3.744 0 01-1.38.9 6.674 6.674 0 01-2.235.413c-1.274.057-1.649.07-4.859.07s-3.586-.015-4.859-.074a6.8 6.8 0 01-2.236-.421 3.716 3.716 0 01-1.379-.9 3.644 3.644 0 01-.9-1.38 6.81 6.81 0 01-.42-2.235c-.045-1.26-.061-1.649-.061-4.844s.016-3.586.061-4.861A6.8 6.8 0 012.6 4.89a3.557 3.557 0 01.9-1.381 3.549 3.549 0 011.379-.9A6.642 6.642 0 017.1 2.19c1.275-.045 1.65-.06 4.859-.06l.041.03zm0 3.678A6.162 6.162 0 1018.162 12 6.162 6.162 0 0012 5.838zM12 16a4 4 0 114-4 4 4 0 01-4 4zm7.846-10.4a1.44 1.44 0 11-1.44-1.439 1.441 1.441 0 011.44 1.439z"},null,-1)]),8,ut)):m("",!0),r.iconbrand==="Twitter"?(t(),a("svg",{key:2,fill:r.colour,viewBox:"0 0 274 223",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"},o[2]||(o[2]=[l("g",null,[l("path",{d:"M85.98 223C54.3 223 24.82 213.72 0 197.8c4.39.52 8.85.78 13.38.78 26.28 0 50.46-8.96 69.66-24a56.14 56.14 0 01-52.4-38.96 56.01 56.01 0 0025.33-.96A56.12 56.12 0 0111 78.96a55.87 55.87 0 0025.4 7.01A56.06 56.06 0 0111.44 39.3a55.83 55.83 0 017.6-28.2 159.24 159.24 0 00115.6 58.6A56.1 56.1 0 01189.28.82c16.13 0 30.7 6.81 40.94 17.72a112.33 112.33 0 0035.62-13.62 56.26 56.26 0 01-24.66 31.03 112.15 112.15 0 0032.21-8.83 114 114 0 01-27.99 29.04c.11 2.4.16 4.82.16 7.25 0 74.12-56.41 159.59-159.58 159.59"})],-1)]),8,_t)):m("",!0)])}const ft=S(dt,[["render",pt]]),yt={class:"font-sans text uppercase mb-4"},bt={class:"md:flex pt-16 md:pt-6 md:pb-16"},ht={class:"hidden md:block md:mr-10"},xt={key:0,class:"hidden md:block md:inline-flex"},gt={key:0,class:"relative md:flex md:grid md:grid-cols-2 wd:grid-cols-4 wd:gap-16 xl:gap-0"},kt={key:0,class:"pb-4 md:pb-0 md:absolute uppercase"},vt={key:1,class:"flex items-center border-t border-grey-300 md:border-none py-4"},wt={class:"flex"},$t={key:0,class:"flex wd:flex-row-reverse md:absolute md:bottom-0 wd:top-0 wd:right-0"},zt=z({__name:"ClubPreFooter",async setup(h){let o,r;const{client:k}=E(),x=U(),p=B(),i=H(()=>p.params.controller),{data:e}=([o,r]=I(()=>R(i.value+x.value,()=>k.getByUID("club",i.value,{lang:x.value}),"$aqpXimDjpU")),o=await o,r(),o);return(u,T)=>{const c=j,g=V,C=ct,A=ft;return s(e)&&s(e).data.club_title&&s(e).data.subtitle.length&&s(e).data.address.length&&s(e).data.primary_button_text[0].text!=""&&s(e).data.location_relation?(t(),a("section",{key:0,class:_([u.$styling(s(e).data.club_footer_background_color),"px-4 md:px-8 xl:px-16 py-16 xl:py-20"])},[l("h2",yt,d(s(e).data.location_relation.slug)+" "+d(u.$prismic.asText(s(e).data.club_title)),1),(t(!0),a(v,null,$(s(e).data.address,(n,b)=>(t(),a("p",{key:"address"+b,class:"font-serif text-3xl md:text-4xl lg:text-5xl tracking-normal md:mb-2"},d(n.text),1))),128)),l("div",bt,[l("div",ht,[y(g,{btnstyle:"primary"},{default:f(()=>[y(c,{document:s(e).data.primary_button,class:_(u.$styling("button__primary"))},{default:f(()=>[w(d(u.$prismic.asText(s(e).data.primary_button_text)),1)]),_:1},8,["document","class"])]),_:1})]),s(e).data.arrow_button_group&&s(e).data.arrow_button_group[0].arrow_button_text.length>0?(t(),a("div",xt,[(t(!0),a(v,null,$(s(e).data.arrow_button_group,(n,b)=>(t(),a(v,null,[n.arrow_button_text?(t(),O(g,{key:"btn"+b,btnstyle:"alternative",class:"md:mr-10"},{default:f(()=>[y(c,{document:n.arrow_button,class:_(u.$styling("button__alternative"))},{default:f(()=>[w(d(u.$prismic.asText(n.arrow_button_text)),1)]),_:2},1032,["document","class"])]),_:2},1024)):m("",!0)],64))),256))])):m("",!0)]),s(e).data.columns?(t(),a("div",gt,[(t(!0),a(v,null,$(s(e).data.columns,(n,b)=>(t(),a("div",{key:"cpfcol"+b,class:_([{"border-t border-grey-300 md:border-none pt-8 md:pt-0 wd:ml-6":b===2},"md:flex wd:flex-col pb-4 md:pb-0 md:mb-12 wd:mb-0"])},[l("div",null,[n.column_title?(t(),a("p",kt,d(u.$prismic.asText(n.column_title)),1)):m("",!0),T[0]||(T[0]=l("span",{class:"hidden md:block md:pb-8"},null,-1)),n.column_subtitle.length&&n.column_subtitle[0].text?(t(),a("p",vt,[w(d(u.$prismic.asText(n.column_subtitle))+" ",1),y(C,{class:"ml-2"})])):m("",!0),(t(!0),a(v,null,$(n.column_body,(M,F)=>(t(),a("p",{key:"cbix"+F,class:"font-serif text-lg tracking-normal"},d(M.text),1))),128)),l("div",wt,[n.column_email.url||n.column_email.isBroken===!1?(t(),O(g,{key:0,btnstyle:"alternative",class:"mt-8 xl:mt-6 mb-6 xl:mb-0 mr-8 md:mr-10"},{default:f(()=>[y(c,{document:n.column_email,class:_(u.$styling("button__alternative"))},{default:f(()=>[w(d(u.$prismic.asText(n.column_email_text)),1)]),_:2},1032,["document","class"])]),_:2},1024)):m("",!0),n.column_press.url?(t(),O(g,{key:1,btnstyle:"alternative",class:"mt-8 xl:mt-6 mb-6 xl:mb-0 mr-8"},{default:f(()=>[y(c,{document:n.column_press,class:_(u.$styling("button__alternative"))},{default:f(()=>[w(d(u.$prismic.asText(n.column_press_text)),1)]),_:2},1032,["document","class"])]),_:2},1024)):m("",!0)])])],2))),128)),s(e).data.social_buttons?(t(),a("div",$t,[(t(!0),a(v,null,$(s(e).data.social_buttons,(n,b)=>(t(),a("div",{key:"sbtn"+b},[y(c,{document:n.social_button,class:"flex mr-3 xl:mr-0 xl:ml-3"},{default:f(()=>[y(A,{iconbrand:n.social_type},null,8,["iconbrand"])]),_:2},1032,["document"])]))),128))])):m("",!0)])):m("",!0)],2)):m("",!0)}}});export{St as _,Pt as a,zt as b};