import{u as Se,_ as Ne,a as Pe}from"./BWeJhrkh.js";import{_ as Ie}from"./BQ1rQp_p.js";import{h as Ve,u as Ue,j as Oe,k as Ee,J as Fe,K as Be,m as E,x as Ae,i as De,A as ce,L as F,o as Le,M as y,C as h,b as je,e as i,c as u,F as e,g as x,d as a,n as c,N as Z,t as r,f as b,O as z,P as W,w as B,Q as $,E as me,R as pe,T as v,U as S,V as A,W as Ge,H as _e,X as Re,Y as He,S as Me,I as Ze}from"./CMy8cRRO.js";import{c as ze,a as We}from"./B-_kvV4S.js";import{c as qe}from"./BNA1-8g2.js";import{u as Ye}from"./DqRmt5m0.js";import"./B2W7z4nR.js";import"./DNyoUGSK.js";import"./Bodsu7BH.js";const Je={key:0,class:"relative flex flex-col h-100vh md:h-80vh xl:h-70vh overflow-hidden"},Ke={class:"absolute top-0 left-0 w-full h-full flex flex-col items-center text-center text-white nl-sm:pb-16 pt-28 xl:pt-36"},Qe={class:"relative font-sans text-sm md:text-base tracking-wider uppercase px-4 mb-3 md:mb-5"},Xe={class:"relative font-serif text-3xl md:text-5xl xl:text-6xl tracking-wider uppercase max-w-4xl mx-auto px-4"},et={key:0,class:"relative font-sans text-sm md:text-base tracking-normal px-4 mt-3 md:mt-6"},tt={key:1,class:"nl-md:absolute nl-md:top-1/2 nl-md:transform nl-md:-translate-y-1/2 font-serif text-lg text-left tracking-normal list-disc md:mt-4 lg:mt-10 px-8 md:px-4"},at={class:"absolute bottom-0 flex flex-col w-full px-8 md:hidden mb-4 lg:mb-10"},st=["href"],ot={class:"flex-col md:flex-row md:items-center md:justify-center px-8 hidden md:block mb-10 mt-4 lg:mt-10"},nt={class:"relative flex flex-wrap md:grid md:grid-cols-2 max-w-site mx-auto"},lt={class:"w-full pb-4 md:pr-8 lg:pr-12 md:pt-4 row-span-1"},rt=["id"],it={key:1,class:"w-full md:pl-8 pt-8 -mt-8 row-span-2"},ut={key:0},dt={class:"font-serif text-lg normal-case tracking-normal mb-2"},ct={key:1},mt={class:"md:grid md:gap-8 md:grid-cols-2 mb-12"},pt=["placeholder"],_t={for:"firstnameTOP",class:"label-float"},ft=["placeholder"],bt={for:"surnameTOP",class:"label-float"},ht=["placeholder"],vt={for:"emailTOP",class:"label-float"},gt=["placeholder"],yt={for:"phoneTOP",class:"label-float"},xt={class:"label-checkbox flex font-serif tracking-normal text-base cursor-pointer py-4",for:"consent1TOP"},kt={class:"flex relative"},wt={class:"label-checkbox flex font-serif tracking-normal text-base cursor-pointer py-4",for:"consent2TOP"},$t={key:0,class:"p-5"},Tt={class:"flex flex-col items-center md:items-start row-span-1 nl-md:w-full nl-md:text-base nl-md:text-center tracking-wider uppercase nl-md:pt-12"},Ct=["href"],St={key:0,class:"mt-10 md:pr-8 lg:pr-12"},Nt={class:"flex justify-center md:justify-start text-base tracking-wider uppercase mb-2"},Pt={key:0,class:"font-serif text-lg tracking-normal normal-case"},It={class:"relative flex flex-wrap md:grid md:grid-cols-2 max-w-site mx-auto"},Vt={class:"w-full pb-4 md:pr-8 lg:pr-12 md:pt-4 row-span-1"},Ut={key:0,class:"w-full md:pl-8 row-span-2"},Ot=["id"],Et={key:1,class:"w-full md:pl-8 row-span-2"},Ft={key:0},Bt={class:"font-serif text-lg normal-case tracking-normal mb-2"},At={key:1},Dt={class:"md:grid md:gap-8 md:grid-cols-2 mb-12"},Lt=["placeholder"],jt={for:"firstnameBT",class:"label-float"},Gt=["placeholder"],Rt={for:"surnameBT",class:"label-float"},Ht=["placeholder"],Mt={for:"emailBT",class:"label-float"},Zt=["placeholder"],zt={for:"phoneBT",class:"label-float"},Wt={class:"label-checkbox flex font-serif tracking-normal text-base cursor-pointer py-4",for:"consent1BT"},qt={class:"flex relative"},Yt={class:"label-checkbox flex font-serif tracking-normal text-base cursor-pointer py-4",for:"consent2BT"},Jt={key:0,class:"p-5"},Kt={class:"flex flex-col items-center md:items-start row-span-1 nl-md:w-full nl-md:text-base nl-md:text-center tracking-wider uppercase nl-md:pt-12"},Qt=["href"],Xt={key:0,class:"mt-10 md:pr-8 lg:pr-12"},ea={class:"flex justify-center md:justify-start text-base tracking-wider uppercase mb-2"},ta={key:0,class:"font-serif text-lg tracking-normal normal-case"},aa="",q="absolute top-0 left-0 h-full w-full bg-cover bg-center bg-scroll lg:bg-fixed",fa=Ve({__name:"[uid]",async setup(sa){let _,T;const{client:Y}=Ue(),k=Oe(),J=Ee(),fe=Fe(),be=Be(),m=([_,T]=E(()=>Ye()),_=await _,T(),_),N=Ge(),K=Ae(),he=([_,T]=E(()=>Se()),_=await _,T(),_),{$pushGTMEvent:ve}=De(),{DEFAULT_CONVERSION_VALUE:ge}=ce(),{BASE_URL:D}=ce().public,Q={link_type:"Web",url:"https://enquirebooktour"},L=F(k.params.uid),P=F(!1),{data:s,error:oa}=([_,T]=E(()=>_e(L.value,()=>Y.getByUID("club_campaign",L.value,{lang:J.value[k.params.lang]}),"$g4WyZcdncG")),_=await _,T(),_),o=s.value.data,{data:j}=([_,T]=E(()=>_e(L.value+"related",()=>Y.getByID(o.club_relation.id,{lang:J.value[k.params.lang]}),"$3NUOHOYPPP")),_=await _,T(),_);if(Le(()=>{Te()}),fe.value=y(o.logo_label),"main_logo_link_override"in o){const t={...o.main_logo_link_override};t.type==="club_page"&&(t.location=k.params.controller),be.value=t}const X=F(!1);X.value=o.show_campaign_header_nav||!1;const ee=h(()=>new Date().toLocaleDateString("en-CA",{year:"numeric",month:"2-digit",day:"2-digit"})),te=h(()=>y(o.default_form_name)),ye=h(()=>y(o.default_portal_id)),xe=h(()=>y(o.default_form_id)),G=h(()=>y(o.embedded_form_name)),R=h(()=>y(o.embedded_portal_id)),C=h(()=>y(o.embedded_form_id)),I=h(()=>G.value!==""&&R.value!==""&&C.value!==""),ae=h(()=>({"transform -rotate-45":P})),ke=h(()=>o.campaign_header_nav?(o.campaign_header_nav.forEach(async t=>{if(ze(t.link)&&t.link.type==="club_page"){const n=await he[t.link.id];return n&&(t.link.location=n),t}}),[...o.campaign_header_nav]):[]),se=h(()=>!("only_use_first_form"in o&&o.only_use_first_form===!0)),we=h(()=>"canonical"in o&&"uid"in o.canonical&&o.canonical.uid?D+LinkResolver(o.canonical):D+k.path),O=F(null);function $e(){O.value&&O.value.scrollIntoView({behavior:"smooth"})}function Te(){setTimeout(()=>{var t,n;I?((t=window.hbspt)==null||t.forms.create({portalId:R.value,formId:C.value,formInstanceId:"hsfrm1",target:"#embedded-form1-"+C.value,onFormSubmitted:function(f,p){oe(1,p)},onFormSubmit:function(){H()}}),se.value&&((n=window.hbspt)==null||n.forms.create({portalId:R.value,formId:C.value,formInstanceId:"hsfrm2",target:"#embedded-form2-"+C.value,onFormSubmitted:function(f,p){oe(2,p)},onFormSubmit:function(){H()}}))):N.push({event:"api_form_loaded"})},1e3)}function oe(t,n){var p;const f=(p=n==null?void 0:n.submissionValues)==null?void 0:p.email;N==null||N.push({event:"form_submitted",club:y(j.value.data.internal_club_code),form_name:I?G:te,form_type:"page",email:f}),N==null||N.push({event:"ga4_form_submitted",glCurrency:"EUR",glValue:ge,glType:"Club campaign",ga4FormName:I?G:te}),ve("elementClick",{type:"hubspot-form",name:"Submit - Campaign - "+y(j.value.data.internal_club_code),destination:"NA",position:t,origin:"Embedded Form",pageUrl:k.path})}function H(){const t=document.querySelectorAll('input[name="asp_channel"]');for(let d=0,w=t.length;d<w;d++)t[d].value===""&&(t[d].value="Web - Campaign");const n=document.querySelectorAll('input[name="asp_source"]');for(let d=0,w=n.length;d<w;d++)console.log(`asp_source:'${n[d].value}'`),n[d].value===""&&(n[d].value="Digital");const f=document.querySelectorAll('input[name="asp_subsource"]');for(let d=0,w=f.length;d<w;d++)f[d].value===""&&(f[d].value="Other Paid Online Advertising");const p=document.querySelectorAll('input[name="ga_ref"]');for(let d=0,w=p.length;d<w;d++)p[d].value===""&&(p[d].value=ee)}function ne(){let t=0;s.firstName===""&&(s.errors.firstName=!0,t++),s.surname===""&&(s.errors.surname=!0,t++),s.email===""?(s.errors.email=!0,t++):/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/.test(s.email)?s.errors.emailInvalid=!1:(s.errors.emailInvalid=!0,t++);const n=/^[+]*[(]{0,1}[0-9]{1,4}[)]{0,1}[-\s./0-9]*$/;if(s.phoneNumber!==""&&(s.phoneNumber.length<8||!n.test(s.phoneNumber))&&(s.errors.phoneNumber=!0,t++),s.privacyPolicy===!1&&(s.errors.privacyPolicy=!0,t++),t===0){const f="https://api.hsforms.com/submissions/v3/integration/submit/"+ye.value+"/"+xe.value;$axios.$post(f,{fields:[{name:"main_club",value:y(j.value.data.internal_club_code)},{name:"email",value:s.email},{name:"firstname",value:s.firstName},{name:"lastname",value:s.surname},{name:"mobilephone",value:s.phoneNumber},{name:"communication_language",value:k.params.lang.toUpperCase()},{name:"asp_channel",value:V("u_channel")||"Web - Campaign"},{name:"asp_source",value:V("u_source")||"Digital"},{name:"asp_subsource",value:V("u_subsource")||"Other Paid Online Advertising"},{name:"ga_ref",value:V("u_ga_ref")||ee},{name:"asp_marketingcampaignformtype",value:"active campaign"},{name:"i_have_read_your_data_protection_policy",value:s.privacyPolicy.toString()},{name:"yes_keep_me_informed_via_email_about_aspria_s_news_exclusive_promotions_and_benefits_",value:s.newsletterSubscribe.toString()}],context:{hutk:V("hubspotutk"),pageUri:$route.path,pageName:document.title}}).then(p=>{s.submittedSuccess=!0,H()}).catch(p=>{throw hubspotErrors=p.response.data.errors,p})}}const g=s.value;(g.data.social_cards&&g.data.social_cards[0]&&g.data.social_cards[0].social_card_image.facebook?Object.keys(g.data.social_cards[0].social_card_image.facebook).length===0:!0)?K.value={}:(g.data.sharing_url=D+k.path,g.data.sharing_locale=g.lang?g.lang.split("-")[0]+"_"+g.lang.split("-")[1].toUpperCase():"en_GB",K.value=g.data);function V(t){return document.cookie.split("; ").find(f=>f.startsWith(t+"=")).split("=")[1]}return je({htmlAttrs:{lang:k.params.lang},title:o.meta_title||(m==null?void 0:m.meta_title_default),meta:[{hid:"description",name:"description",content:o.meta_description||(m==null?void 0:m.meta_description_default)||""}],link:[{rel:"canonical",href:we}],script:[{hid:"hubspot"+C.value,src:"https://js.hsforms.net/forms/v2.js",defer:!1}]}),(t,n)=>{var re,ie,ue,de;const f=Ne,p=Ie,d=Re,w=Pe,M=He,le=We,Ce=Me;return i(),u("section",null,[e(o)?(i(),u("header",Je,[x(f,{shownav:e(X),navitems:e(ke),navtitle:e(o).campaign_header_nav_title},null,8,["shownav","navitems","navtitle"]),a("div",{class:c(["hidden nl-md:block",q]),style:Z(`background-image: url(${e(o).image.smallorientport.url})`)},null,4),a("div",{class:c(["hidden md:block xl:hidden",q]),style:Z(`background-image: url(${e(o).image.largeorientland.url})`)},null,4),a("div",{class:c(["hidden xl:block",q]),style:Z(`background-image: url(${e(o).image.xlargeorientland.url})`)},null,4),a("div",Ke,[a("h1",Qe,r(t.$prismic.asText(e(o).eyebrow_headline)),1),a("h2",Xe,r(t.$prismic.asText(e(o).headline)),1),"sub_headline"in e(o)&&e(o).sub_headline.length?(i(),u("h3",et,r(t.$prismic.asText(e(o).sub_headline)),1)):b("",!0),"campaign_header_feature_item"in e(o)&&e(o).campaign_header_feature_item.length&&e(o).campaign_header_feature_item[0].text?(i(),u("ul",tt,[(i(!0),u(z,null,W(e(o).campaign_header_feature_item,(l,U)=>(i(),u("li",{key:"feature"+U,class:"mb-1"},r(l.text),1))),128))])):b("",!0),a("div",at,[x(d,{btnstyle:""},{default:B(()=>[x(p,{document:Q,class:c(["btn flex justify-center relative font-sans text-sm uppercase tracking-wider transition duration-500 ease-in-out bg-black border border-black shadow focus:outline-gbl primary mb-8",e(o).book_a_tour_button_style!==null?`primary btn--${e(o).book_a_tour_button_style}`:""]),slice_type:"header"},{default:B(()=>[$(r(t.$prismic.asText(e(m).book_a_tour)),1)]),_:1},8,["class"])]),_:1}),a("a",{class:"btn flex justify-center relative font-sans text-sm uppercase tracking-wider transition duration-500 ease-in-out border border-white shadow hover:bg-black hover:border-black hover:text-white focus:outline-gbl mb-8 px-6 py-3",href:"tel:"+e(o).club_phone_number},r(e(m).call_us),9,st),e(o).hide_form?b("",!0):(i(),u("button",{key:0,class:"w-content nav-item relative text-sm uppercase tracking-wider focus:outline-gbl mx-auto",onClick:n[0]||(n[0]=l=>$e())},[$(r(e(o).form_scrollto_text)+" ",1),n[19]||(n[19]=a("span",{class:"nav-item-underline-reverse bg-current"},null,-1))]))]),a("div",ot,[x(d,{btnstyle:""},{default:B(()=>[x(p,{document:Q,class:c(["btn flex justify-center relative font-sans text-sm uppercase tracking-wider transition duration-500 ease-in-out bg-black border border-black shadow focus:outline-gbl primary mb-8",e(o).book_a_tour_button_style!==null&&e(o).book_a_tour_button_style!==void 0?`primary btn--${e(o).book_a_tour_button_style}`:""]),slice_type:"header"},{default:B(()=>[$(r(e(o).book_a_tour_override||t.$prismic.asText(e(m).book_a_tour)),1)]),_:1},8,["class"])]),_:1})])])])):b("",!0),(ie=(re=e(s))==null?void 0:re.data)!=null&&ie.enable_dynamic_language_layer&&((ue=e(s))!=null&&ue.alternate_languages)?(i(),me(w,{key:1,languages:(de=e(s))==null?void 0:de.alternate_languages},null,8,["languages"])):b("",!0),a("section",{class:c(["relative z-30 transition-colors duration-700 bg-white",aa])},[e(o).hide_form?b("",!0):(i(),u("div",{key:0,class:c(["w-full py-12 px-6 md:px-12 md:pt-16 md:pb-20",t.$styling(e(o).backgroundColour)])},[a("div",nt,[a("div",lt,[x(M,{field:e(o).header_content,class:"article nl-md:text-center"},null,8,["field"])]),e(I)?(i(),u("div",{key:0,ref_key:"headerForm",ref:O,class:"w-full md:pl-8 pt-8 -mt-8 row-span-2"},[a("div",{id:"embedded-form1-"+e(C)},null,8,rt)],512)):(i(),u("div",it,[e(s).submittedSuccess?(i(),u("div",ut,[a("p",dt,r(t.$prismic.asText(e(o).form_confirmation_message)),1)])):(i(),u("div",ct,[a("form",{ref_key:"headerForm",ref:O,onSubmit:n[8]||(n[8]=pe(()=>{},["prevent"]))},[a("div",mt,[a("div",{class:c([e(s).errors.firstName&&e(s).firstName===""?"input-has-error":"","label-float-container mb-12 md:mb-4"])},[v(a("input",{id:"firstnameTOP","onUpdate:modelValue":n[1]||(n[1]=l=>e(s).firstName=l),placeholder:e(m).first_name+"*",type:"text",class:"label-float-input"},null,8,pt),[[S,e(s).firstName]]),a("label",_t,r(e(m).first_name+"*"),1)],2),a("div",{class:c([e(s).errors.surname&&e(s).surname===""?"input-has-error":"","label-float-container mb-12 md:mb-4"])},[v(a("input",{id:"surnameTOP","onUpdate:modelValue":n[2]||(n[2]=l=>e(s).surname=l),placeholder:e(m).last_name+"*",type:"text",class:"label-float-input"},null,8,ft),[[S,e(s).surname]]),a("label",bt,r(e(m).last_name+"*"),1)],2),a("div",{class:c([e(s).errors.email&&e(s).email===""||e(s).errors.emailInvalid?"input-has-error":"","label-float-container mb-12 md:mb-0"])},[v(a("input",{id:"emailTOP","onUpdate:modelValue":n[3]||(n[3]=l=>e(s).email=l),placeholder:e(m).email_address+"*",type:"email",class:"label-float-input"},null,8,ht),[[S,e(s).email]]),a("label",vt,r(e(m).email_address+"*"),1)],2),a("div",{class:c([e(s).errors.phoneNumber&&!t.currentStepIsValidated?"input-has-error":"","label-float-container"])},[v(a("input",{id:"phoneTOP","onUpdate:modelValue":n[4]||(n[4]=l=>e(s).phoneNumber=l),placeholder:e(m).phone_number,type:"tel",class:"label-float-input"},null,8,gt),[[S,e(s).phoneNumber]]),a("label",yt,r(e(m).phone_number),1)],2)]),a("div",{class:c([e(s).errors.privacyPolicy&&e(s).privacyPolicy===!1?"input-has-error":"","flex relative"])},[v(a("input",{id:"consent1TOP","onUpdate:modelValue":n[5]||(n[5]=l=>e(s).privacyPolicy=l),type:"checkbox",value:"true",class:"hidden"},null,512),[[A,e(s).privacyPolicy]]),a("label",xt,[x(M,{field:e(m).privacy_policy_checkbox_copy,class:"article"},null,8,["field"])])],2),a("div",kt,[v(a("input",{id:"consent2TOP","onUpdate:modelValue":n[6]||(n[6]=l=>e(s).consent2=l),type:"checkbox",value:"true",class:"hidden"},null,512),[[A,e(s).consent2]]),a("label",wt,r(t.$prismic.asText(e(m).subscription_newsletter_checkbox_copy)),1)]),a("button",{class:c(["flex justify-center relative font-sans text-sm uppercase tracking-wider transition duration-500 ease-in-out text-current shadow focus:outline-gbl mt-8 px-6 py-3",t.$styling("button__secondary")]),onClick:n[7]||(n[7]=l=>ne())},r(e(m).submit_button),3),t.hubspotErrors?(i(),u("div",$t,[(i(!0),u(z,null,W(t.hubspotErrors,(l,U)=>(i(),u("div",{key:"err"+U,class:"p-2"},r(l.errorType)+": "+r(l.message),1))),128))])):b("",!0)],544)]))])),a("div",Tt,[a("div",null,[$(r(t.$prismic.asText(e(o).club_phone_title))+" ",1),a("a",{class:"nav-item relative w-content block text-2xl md:text-3xl font-serif pt-2 nl-md:mx-auto",href:"tel:"+e(o).club_phone_number},[$(r(e(o).club_phone_number)+" ",1),n[20]||(n[20]=a("span",{class:"nav-item-underline-reverse bg-current"},null,-1))],8,Ct)]),e(o).show_covid_guarantee&&t.$store.state.covidGuarantee.covid_guarantee_headline&&t.$store.state.covidGuarantee.covid_guarantee_text?(i(),u("div",St,[a("div",Nt,[a("button",{class:"flex items-center font-sans text-base tracking-wider uppercase focus:outline-gbl md:cursor-default",onClick:n[9]||(n[9]=l=>P.value=!e(P))},[$(r(t.$prismic.asText(t.$store.state.covidGuarantee.covid_guarantee_headline))+" ",1),x(le,{class:c([e(ae),"transition-transform duration-500 ease-in-out ml-3 md:hidden"])},null,8,["class"])])]),t.alwaysVisibleDesktop||e(P)?(i(),u("p",Pt,r(t.$prismic.asText(t.$store.state.covidGuarantee.covid_guarantee_text)),1)):b("",!0)])):b("",!0)])])],2)),a("div",null,[e(o)?(i(),me(Ce,{key:0,slices:e(o).body,components:e(Ze)(e(qe))},null,8,["slices","components"])):b("",!0)]),e(se)&&!e(o).hide_form?(i(),u("div",{key:1,class:c(["w-full py-12 px-6 md:px-12 md:pt-16 md:pb-20",t.$styling(e(o).backgroundColour)])},[a("div",It,[a("div",Vt,[x(M,{field:e(o).footer_content[0].text.length?e(o).footer_content:e(o).header_content,class:"article nl-md:text-center"},null,8,["field"])]),e(I)?(i(),u("div",Ut,[a("div",{id:"embedded-form2-"+e(C)},null,8,Ot)])):(i(),u("div",Et,[e(s).submittedSuccess?(i(),u("div",Ft,[a("p",Bt,r(t.$prismic.asText(e(o).form_confirmation_message)),1)])):(i(),u("div",At,[a("form",{class:"",onSubmit:n[17]||(n[17]=pe(()=>{},["prevent"]))},[a("div",Dt,[a("div",{class:c([e(s).errors.firstName&&e(s).firstName===""?"input-has-error":"","label-float-container mb-12 md:mb-4"])},[v(a("input",{id:"firstnameBT","onUpdate:modelValue":n[10]||(n[10]=l=>e(s).firstName=l),placeholder:t.$store.state.statictext.first_name+"*",type:"text",class:"label-float-input"},null,8,Lt),[[S,e(s).firstName]]),a("label",jt,r(t.$store.state.statictext.first_name+"*"),1)],2),a("div",{class:c([e(s).errors.surname&&e(s).surname===""?"input-has-error":"","label-float-container mb-12 md:mb-4"])},[v(a("input",{id:"surnameBT","onUpdate:modelValue":n[11]||(n[11]=l=>e(s).surname=l),placeholder:t.$store.state.statictext.last_name+"*",type:"text",class:"label-float-input"},null,8,Gt),[[S,e(s).surname]]),a("label",Rt,r(t.$store.state.statictext.last_name+"*"),1)],2),a("div",{class:c([e(s).errors.email&&e(s).email===""||e(s).errors.emailInvalid?"input-has-error":"","label-float-container mb-12 md:mb-0"])},[v(a("input",{id:"emailBT","onUpdate:modelValue":n[12]||(n[12]=l=>e(s).email=l),placeholder:t.$store.state.statictext.email_address+"*",type:"email",class:"label-float-input"},null,8,Ht),[[S,e(s).email]]),a("label",Mt,r(t.$store.state.statictext.email_address+"*"),1)],2),a("div",{class:c([e(s).errors.phoneNumber&&!t.currentStepIsValidated?"input-has-error":"","label-float-container"])},[v(a("input",{id:"phoneBT","onUpdate:modelValue":n[13]||(n[13]=l=>e(s).phoneNumber=l),placeholder:t.$store.state.statictext.phone_number,type:"tel",class:"label-float-input"},null,8,Zt),[[S,e(s).phoneNumber]]),a("label",zt,r(t.$store.state.statictext.phone_number),1)],2)]),a("div",{class:c([e(s).errors.privacyPolicy&&e(s).privacyPolicy===!1?"input-has-error":"","flex relative"])},[v(a("input",{id:"consent1BT","onUpdate:modelValue":n[14]||(n[14]=l=>e(s).privacyPolicy=l),type:"checkbox",value:"true",class:"hidden"},null,512),[[A,e(s).privacyPolicy]]),a("label",Wt,r(t.$prismic.asText(t.$store.state.statictext.privacy_policy_checkbox_copy)),1)],2),a("div",qt,[v(a("input",{id:"consent2BT","onUpdate:modelValue":n[15]||(n[15]=l=>e(s).consent2=l),type:"checkbox",value:"true",class:"hidden"},null,512),[[A,e(s).consent2]]),a("label",Yt,r(t.$prismic.asText(t.$store.state.statictext.subscription_newsletter_checkbox_copy)),1)]),a("button",{class:c(["flex justify-center relative font-sans text-sm uppercase tracking-wider transition duration-500 ease-in-out text-current shadow focus:outline-gbl mt-8 px-6 py-3",t.$styling("button__secondary")]),onClick:n[16]||(n[16]=l=>ne())},r(t.$store.state.statictext.submit_button),3),t.hubspotErrors?(i(),u("div",Jt,[(i(!0),u(z,null,W(t.hubspotErrors,(l,U)=>(i(),u("div",{key:"err"+U,class:"p-2"},r(l.errorType)+": "+r(l.message),1))),128))])):b("",!0)],32)]))])),a("div",Kt,[a("div",null,[$(r(t.$prismic.asText(e(o).club_phone_title))+" ",1),a("a",{class:"nav-item relative w-content block text-2xl md:text-3xl font-serif pt-2 nl-md:mx-auto",href:"tel:"+e(o).club_phone_number},[$(r(e(o).club_phone_number)+" ",1),n[21]||(n[21]=a("span",{class:"nav-item-underline-reverse bg-current"},null,-1))],8,Qt)]),e(o).show_covid_guarantee&&t.$store.state.covidGuarantee.covid_guarantee_headline&&t.$store.state.covidGuarantee.covid_guarantee_text?(i(),u("div",Xt,[a("div",ea,[a("button",{class:"flex items-center font-sans text-base tracking-wider uppercase focus:outline-gbl md:cursor-default",onClick:n[18]||(n[18]=l=>P.value=!e(P))},[$(r(t.$prismic.asText(t.$store.state.covidGuarantee.covid_guarantee_headline))+" ",1),x(le,{class:c([e(ae),"transition-transform duration-500 ease-in-out ml-3 md:hidden"])},null,8,["class"])])]),t.alwaysVisibleDesktop||e(P)?(i(),u("p",ta,r(t.$prismic.asText(t.$store.state.covidGuarantee.covid_guarantee_text)),1)):b("",!0)])):b("",!0)])])],2)):b("",!0)])])}}});export{fa as default};