import{N as A,g as u}from"./Notification-15e980db.js";import{M as N}from"./ModalMixin-f1c0fe4e.js";import{_ as M,O as p,r as w,o as l,c as i,a as e,j as _,f as r,d as f,x as I,t as h,k as d,q as m,v as k,F as x,i as y,e as O,g as L,w as C,b as E}from"./app-9daf7b25.js";const T={props:{title:String},components:{Notification:A},mixins:[N],created(){axios.get("/default-league").then(t=>{window.location.pathname=="/festival"?this.defaultLeague=t.data.festival.id:this.defaultLeague=t.data.league.id})},mounted(){!this.user&&window.location.pathname=="/"&&(localStorage.getItem("wasVisited")===null?(this.showModal(),localStorage.setItem("wasVisited","1")):localStorage.getItem("wasVisited")!==null&&localStorage.getItem("wasVisited")<5&&(this.showModal(),localStorage.setItem("wasVisited",parseInt(localStorage.getItem("wasVisited"))+1))),this.emitter.on("market-active",t=>{this.defaultLeague=t})},watch:{flashMessage(t,s){t&&t!==s&&setTimeout(()=>{this.$page.flash={message:null}},2500)},showMainMenu(t){t&&(this.showAboutSubmenu=!1,this.showMarketSubmenu=!1,this.showOtherSportsSubmenu=!1)},showAboutSubmenu(t){t&&(this.showMarketSubmenu=!1,this.showOtherSportsSubmenu=!1)},showMarketSubmenu(t){t&&(this.showAboutSubmenu=!1,this.showOtherSportsSubmenu=!1)},showOtherSportsSubmenu(t){t&&(this.showAboutSubmenu=!1,this.showMarketSubmenu=!1)}},computed:{marketsWithStateSorting(){let t=u(this.$page,"markets_list",[]),s={};t.forEach(c=>{c.full_state_name=this.convertStateName(c.state),s[c.full_state_name]?s[c.full_state_name].push(c):s[c.full_state_name]=[c]});let b={};return Object.keys(s).sort().forEach(function(c){b[c]=s[c]}),b},user(){return u(this.$page.props,"auth.user",null)},flashMessage(){return u(this.$page,"flash.message",null)},market(){return u(this.$page,"market",null)},activeLeagues(){return u(this.market,"activeLeagues",[])},activeLeague(){return this.activeLeagues[0]||null},currentMarket(){return this.market?this.market.id:""},states(){return["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West Virginia","Wisconsin","Wyoming"]}},data(){return{defaultLeague:!1,showMainMenu:!1,showAboutSubmenu:!1,showMarketSubmenu:!1,showOtherSportsSubmenu:!1,contactForm:{name:null,email:null,state:null,message:null,market_id:36,type:null},errors:{},notification:{enabled:!1,type:"success",message:null},messageTypes:[{id:0,name:"General Inquiry"},{id:1,name:"Partner with Join Pickleball"},{id:2,name:"Start a Company Team"},{id:3,name:"Start a League"},{id:4,name:"Become a Ref"}]}},methods:{showModal(){this.$refs.modal.show()},hideModal(){this.$refs.modal.hide()},convertStateName(t){return{AZ:"ARIZONA",AL:"ALABAMA",AK:"ALASKA",AR:"ARKANSAS",CA:"CALIFORNIA",CO:"COLORADO",CT:"CONNECTICUT",DC:"DISTRICT OF COLUMBIA",DE:"DELAWARE",FL:"FLORIDA",GA:"GEORGIA",HI:"HAWAII",ID:"IDAHO",IL:"ILLINOIS",IN:"INDIANA",IA:"IOWA",KS:"KANSAS",KY:"KENTUCKY",LA:"LOUISIANA",ME:"MAINE",MD:"MARYLAND",MA:"MASSACHUSETTS",MI:"MICHIGAN",MN:"MINNESOTA",MS:"MISSISSIPPI",MO:"MISSOURI",MT:"MONTANA",NE:"NEBRASKA",NV:"NEVADA",NH:"NEW HAMPSHIRE",NJ:"NEW JERSEY",NM:"NEW MEXICO",NY:"NEW YORK",NC:"NORTH CAROLINA",ND:"NORTH DAKOTA",OH:"OHIO",OK:"OKLAHOMA",OR:"OREGON",PA:"PENNSYLVANIA",RI:"RHODE ISLAND",SC:"SOUTH CAROLINA",SD:"SOUTH DAKOTA",TN:"TENNESSEE",TX:"TEXAS",UT:"UTAH",VT:"VERMONT",VA:"VIRGINIA",WA:"WASHINGTON",WV:"WEST VIRGINIA",WI:"WISCONSIN",WY:"WYOMING"}[t]},toggleMainMenu(){this.showMainMenu=!this.showMainMenu},toggleAboutSubmenu(){this.showAboutSubmenu=!this.showAboutSubmenu},toggleMarketSubmenu(){this.showMarketSubmenu=!this.showMarketSubmenu},toggleOtherSportsSubmenu(){this.showOtherSportsSubmenu=!this.showOtherSportsSubmenu},async submitContactForm(){this.errors={};let t=route("joinpickleball.submit-contact-form");try{await axios.post(t,this.contactForm),this.contactForm={name:null,email:null,state:null,message:null,type:null},this.notification.enabled=!0,this.notification.message="Contact form has been submitted.",setTimeout(()=>{this.notification.enabled=!1,this.notification.message=null},2500)}catch(s){this.errors=u(s,"response.data.errors")}},registerNow(){this.defaultLeague&&p.visit(route("registration.initiate.handle",{league_id:this.defaultLeague}))},logout(){localStorage.clear(),p.visit(route("logout"))}}},F={id:"app",class:"app h-screen"},R={class:"w-full flex items-center flex-wrap py-6 fixed top-0 z-50 bg-pickleball-green"},H={class:"w-full min-w-full justify-between container mx-auto flex flex-wrap lg:flex-no-wrap items-center"},V={class:"flex items-center flex-shrink-0 text-white mr-6 lg:mr-3 xl:mr-6 h-10 lg:h-6 xl:h-10"},W=["href"],D=e("img",{class:"flex items-center max-h-full",src:"/pickleball/join-pickleball-logo-full-color-green-background-rgb-400px@72ppi.png"},null,-1),P=[D],U={class:"block my-auto ml-auto lg:hidden"},J=e("svg",{class:"fill-current h-3 w-3",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[e("title",null,"Menu"),e("path",{d:"M0 3h20v2H0V3zm0 6h20v2H0V9zm0 6h20v2H0v-2z"})],-1),K=[J],j={class:"hidden lg:flex flex-no-wrap items-center text-right w-auto"},B={class:"text-sm lg:flex-grow"},Y={class:"inline-block mt-0 mr-6 lg:mr-3 xl:mr-6 text-white"},G=["href"],q=e("li",{class:"group py-4 inline-block text-white mr-6 lg:mr-3 xl:mr-6 relative"},[e("a",{href:"/leagues-events",class:"font-normal"}," Leagues/Events ")],-1),z={class:"group py-4 inline-block text-white mr-6 lg:mr-3 xl:mr-6 relative"},Q=e("a",{href:"#",class:"font-normal"},[f(" About/FAQs "),e("span",{class:"caret inline-block ml-1"},"∨")],-1),X={class:"w-56 mt-4 -ml-3 text-left absolute border-t-2 border-black py-3 pl-3 px-8 text-white font-semibold hidden group-hover:block overflow-auto bg-pickleball-green"},Z={class:"transition duration-300 ease-in-out text-white mt-0 py-2"},$=["href"],ee={class:"transition duration-300 ease-in-out text-white mt-0 py-2"},te=["href"],se={class:"transition duration-300 ease-in-out text-white mt-0 py-2"},oe=["href"],le={class:"transition duration-300 ease-in-out text-white mt-0 py-2"},ie=["href"],ae={class:"transition duration-300 ease-in-out text-white mt-0 py-2"},ne=["href"],re={class:"transition duration-300 ease-in-out text-white mt-0 py-2"},ce=["href"],he={class:"transition duration-300 ease-in-out text-white mt-0 py-2"},ue=["href"],de={class:"transition duration-300 ease-in-out text-white mt-0 py-2"},me=["href"],fe={class:"transition duration-300 ease-in-out text-white mt-0 py-2"},be=["href"],ge={class:"transition duration-300 ease-in-out text-white mt-0 py-2"},_e=["href"],pe={class:"transition duration-300 ease-in-out text-white mt-0 py-2"},we=["href"],ke=e("li",{class:"transition duration-300 ease-in-out text-white mt-0 py-2"},[e("a",{href:"/festival"},"Festivals")],-1),xe=e("li",{class:"transition duration-300 ease-in-out text-white mt-0 py-2"},[e("a",{href:"#contact-form"},"Contact Us")],-1),ye={class:"inline-block text-white mr-6 lg:mr-3 xl:mr-6"},ve=["href"],Se={key:0,class:"inline-block text-white mr-6 lg:mr-3 xl:mr-6"},Ae=["href"],Ne={key:1,class:"inline-block text-white mr-6"},Me=["href"],Ie={key:2,class:"inline-block text-white mr-6"},Oe=e("a",{href:"/ballstand",class:"font-semibold lg:font-normal"},"Ballstand",-1),Le=[Oe],Ce=e("li",{class:"inline-block mt-4 mr-6 lg:mr-3 xl:mr-6"},[e("a",{href:"/markets/leagues-events/sign-up"},[e("button",{class:"text-sm px-4 py-2 leading-none border rounded-full text-black bg-white border-white hover:border-transparent hover:text-white hover:bg-black"}," Sign Up ")])],-1),Ee={key:3,class:"inline-block mr-6 mt-4"},Te=["href"],Fe=e("button",{class:"text-sm px-4 py-2 leading-none border rounded-full text-black bg-white border-white hover:border-transparent hover:text-white hover:bg-black"}," Join Email List ",-1),Re=[Fe],He={key:4,class:"inline-block mt-4"},Ve=e("button",{class:"text-sm px-4 py-2 leading-none border rounded-full text-black bg-white border-white hover:border-transparent hover:text-white hover:bg-black"}," Logout ",-1),We=[Ve],De={key:0,class:"w-full block lg:hidden flex-grow flex-wrap overflow-y-scroll max-h-[88vh]"},Pe={class:"text-sm"},Ue={class:"block mt-6 text-white"},Je=["href"],Ke=e("li",{class:"block mt-6 text-white"},[e("a",{href:"/leagues-events",class:"font-semibold lg:font-normal"},"Leagues/Events")],-1),je={class:"group block mt-4 text-white relative"},Be=e("span",{class:"caret inline-block ml-1"},"∨",-1),Ye={key:0,class:"w-56 text-left relative py-3 pl-3 bg-pickleball-green font-normal overflow-auto"},Ge={class:"mt-4"},qe=["href"],ze={class:"mt-4"},Qe=["href"],Xe={class:"mt-4"},Ze=["href"],$e={class:"mt-4"},et=["href"],tt={class:"mt-4"},st=["href"],ot={class:"mt-4"},lt=["href"],it={class:"mt-4"},at=["href"],nt={class:"mt-4"},rt=["href"],ct={class:"mt-4"},ht=["href"],ut={class:"mt-4"},dt=["href"],mt={class:"mt-4"},ft=["href"],bt=e("li",{class:"mt-4"},[e("a",{href:"/festival"},"Festivals")],-1),gt=e("li",{class:"mt-4"},[e("a",{href:"#contact-form"},"Contact Us")],-1),_t={class:"block mt-4 text-white"},pt=["href"],wt={key:0,class:"block mt-4 text-white"},kt=["href"],xt={key:1,class:"block mt-4 text-white"},yt=["href"],vt={key:2,class:"block mt-4 text-white"},St=e("a",{href:"/ballstand",class:"font-semibold lg:font-normal"},"Ballstand",-1),At=[St],Nt={key:3,class:"block mt-4 text-white"},Mt=["href"],It=e("li",{class:"inline-block text-sm px-4 py-2 leading-none border rounded-full text-black bg-white border-white hover:border-transparent hover:text-white hover:bg-black mt-4"},[e("a",{href:"/leagues-events"},"Sign Up")],-1),Ot={key:4,class:"inline-block text-sm px-4 py-2 leading-none border rounded-full text-black bg-white border-white hover:border-transparent hover:text-white hover:bg-black mt-4 ml-4"},Lt=["href"],Ct={class:"content h-auto mt-20"},Et={key:0,class:"w-56 fixed right-0 top-0 p-6 text-sm shadow text-white bg-blue rounded mr-4 mt-4 z-50 text-center"},Tt=e("div",{class:"top-divider w-full"},null,-1),Ft={id:"footer",class:"bg-black pt-8 pb-12 w-full"},Rt={class:"container mx-auto"},Ht={class:"flex flex-wrap mb-4 w-full"},Vt={class:"w-full md:w-1/3 h-auto items-center pr-10"},Wt=E('<img class="mb-5 h-8" src="/pickleball/join-pickleball-logo-full-color-black-background-rgb-1200px@72ppi.png"><div class="flex space-x-4 mb-5"><a href="https://www.facebook.com/JOINPickleballNation" class="w-12 h-12 bg-white rounded-full p-3"><img src="/pickleball/icons/facebook.png" alt="facebook" class="w-full"></a><a href="https://www.instagram.com/joinpickleball/" class="w-12 h-12 bg-white rounded-full p-3"><img src="/pickleball/icons/instagram.png" alt="facebook" class="w-full"></a><a href="" class="w-12 h-12 bg-white rounded-full p-3"><img src="/pickleball/icons/youtube.png" alt="facebook" class="w-full"></a></div>',2),Dt=["href"],Pt={class:"w-full md:w-2/3 md:pl-10 h-auto",id:"contact"},Ut=e("h3",{class:"pt-6 md:py-6 text-lg text-gray md:pl-16"},"Have a question - send us a Message:",-1),Jt=e("a",{name:"contact-form"},null,-1),Kt={class:"w-full md:w-1/2 mb-5"},jt={key:0,class:"flex items-center w-full p-2 bg-red shadow text-white mb-1 mt-1 text-sm"},Bt={class:"ml-1"},Yt={class:"w-full md:w-1/2 mb-5 md:pl-3"},Gt={key:0,class:"flex items-center w-full p-2 bg-red shadow text-white mb-1 mt-1 text-sm"},qt={class:"ml-1"},zt={class:"w-full md:w-1/2 lg:w-1/3 mb-5"},Qt={key:null,value:null},Xt=["value"],Zt={key:0,class:"flex items-center w-full p-2 bg-red shadow text-white mb-1 mt-1 text-sm"},$t={class:"ml-1"},es={class:"w-full md:w-1/2 lg:w-1/3 mb-5 md:pl-3"},ts={key:0,class:"flex items-center w-full p-2 bg-red shadow text-white mb-1 text-sm"},ss={class:"ml-1"},os={class:"w-full md:w-full lg:w-1/3 mb-5 lg:pl-3"},ls=e("option",{value:null},"Purpose",-1),is=["value"],as={key:0,class:"flex items-center w-full p-2 bg-red shadow text-white mb-1 text-sm"},ns=e("span",{class:"ml-1"},"The purpose field is required.",-1),rs=[ns],cs={class:"w-full mb-5"},hs={key:0,class:"flex items-center w-full p-2 bg-red shadow text-white mb-1 text-sm"},us={class:"ml-1"},ds={key:1,class:"flex items-center w-full p-2 bg-red shadow text-white mb-1 text-sm"},ms={class:"ml-1"},fs={class:"flex w-full mb-5 justify-end space-x-6"},bs=e("button",{type:"submit",class:"w-fit bg-pickleball-green py-3 px-10 text-white text-lg rounded-full hover:bg-pickleball-gray transition-all duration-500"}," Submit ",-1),gs={class:"w-full h-auto text-center pt-5"},_s={class:"mb-5 text-xs text-gray"},ps=["href"],ws=["href"],ks={class:"text-xs text-gray"},xs=e("h1",{class:"text-6xl leading-none font-header uppercase mb-8 text-pickleball-green"},[f("Stay in the loop! "),e("br"),e("span",{class:"text-pickleball-gray"},"Join our email list!")],-1),ys=e("p",{class:"mb-1 text-pickleball-gray font-semibold text-base"},"We promise not to spam you 🙂",-1),vs=e("p",{class:"mb-8 text-pickleball-gray text-base"},"We only send you an email when we have something we think you really need.",-1),Ss=["href"],As=e("button",{class:"bg-white border-2 border-pickleball-green button rounded-full text-pickleball-green py-2 mt-6 px-10 block"}," Join Email List ",-1),Ns=[As];function Ms(t,s,b,c,o,n){const v=w("Notification"),S=w("modal");return l(),i("div",F,[e("nav",R,[e("div",H,[e("div",V,[e("a",{href:t.route("home"),class:"h-10 lg:h-6 xl:h-10"},P,8,W)]),e("div",U,[e("button",{onClick:s[0]||(s[0]=_((...a)=>n.toggleMainMenu&&n.toggleMainMenu(...a),["prevent"])),class:"flex items-center px-3 py-2 border rounded text-white border-white hover:border-white"},K)]),e("div",j,[e("ul",B,[e("li",Y,[e("a",{href:t.route("home"),class:"font-normal"},"Home",8,G)]),q,e("li",z,[Q,e("ul",X,[e("li",Z,[e("a",{href:t.route("pickleball.how-to-sign-up")},"How to Sign-up",8,$)]),e("li",ee,[e("a",{href:t.route("pickleball.about-jpb")},"About JOIN Pickleball",8,te)]),e("li",se,[e("a",{href:t.route("faqs")},"FAQs",8,oe)]),e("li",le,[e("a",{href:t.route("pickleball.pickleball-101")},"JOIN Pickleball 101",8,ie)]),e("li",ae,[e("a",{href:t.route("pickleball.rules")},"Rules of JOIN Pickleball",8,ne)]),e("li",re,[e("a",{href:t.route("player-waiver")},"Player Waiver",8,ce)]),e("li",he,[e("a",{href:t.route("pickleball.skill-level-rating")},"Skill Level Rating",8,ue)]),e("li",de,[e("a",{href:t.route("pickleball.flex-league-work")},"How Flex Leagues Work",8,me)]),e("li",fe,[e("a",{href:t.route("pickleball.fixed-league-work")},"How Fixed Leagues Work",8,be)]),e("li",ge,[e("a",{href:t.route("pickleball.club-challenge-league")},"Club Challenge League",8,_e)]),e("li",pe,[e("a",{href:t.route("pickleball.corporate-outing")},"Schedule Outing",8,we)]),ke,xe])]),e("li",ye,[e("a",{href:t.route("pickleball.corporate-outing")},"Request an Event",8,ve)]),n.user?r("",!0):(l(),i("li",Se,[e("a",{href:t.route("login"),class:"font-semibold lg:font-normal"},"Login",8,Ae)])),n.user?(l(),i("li",Ne,[e("a",{href:t.route("my-profile"),class:"font-semibold lg:font-normal"},"My Account",8,Me)])):r("",!0),n.user&&n.user.is_admin?(l(),i("li",Ie,Le)):r("",!0),Ce,n.user?r("",!0):(l(),i("li",Ee,[e("a",{href:t.route("pickleball.join-email-list")},Re,8,Te)])),n.user?(l(),i("li",He,[e("a",{href:"#",onClick:s[1]||(s[1]=(...a)=>n.logout&&n.logout(...a))},We)])):r("",!0)])]),o.showMainMenu?(l(),i("div",De,[e("ul",Pe,[e("li",Ue,[e("a",{href:t.route("home"),class:"font-semibold lg:font-normal"},"Home",8,Je)]),Ke,e("li",je,[e("a",{href:"#",onClick:s[2]||(s[2]=_((...a)=>n.toggleAboutSubmenu&&n.toggleAboutSubmenu(...a),["prevent"])),class:"font-semibold"},[f(" About/FAQs "),Be]),o.showAboutSubmenu?(l(),i("ul",Ye,[e("li",Ge,[e("a",{href:t.route("pickleball.how-to-sign-up")},"How to Sign-up",8,qe)]),e("li",ze,[e("a",{href:t.route("pickleball.about-jpb")},"About JOIN Pickleball",8,Qe)]),e("li",Xe,[e("a",{href:t.route("pickleball.faqs")},"FAQs",8,Ze)]),e("li",$e,[e("a",{href:t.route("pickleball.pickleball-101")},"Pickleball 101",8,et)]),e("li",tt,[e("a",{href:t.route("pickleball.rules")},"Rules of JOIN Pickleball",8,st)]),e("li",ot,[e("a",{href:t.route("player-waiver")},"Player Waiver",8,lt)]),e("li",it,[e("a",{href:t.route("pickleball.skill-level-rating")},"Skill Level Rating",8,at)]),e("li",nt,[e("a",{href:t.route("pickleball.flex-league-work")},"How Flex Leagues Work",8,rt)]),e("li",ct,[e("a",{href:t.route("pickleball.fixed-league-work")},"How Fixed Leagues Work",8,ht)]),e("li",ut,[e("a",{href:t.route("pickleball.club-challenge-league")},"Club Challenge League",8,dt)]),e("li",mt,[e("a",{href:t.route("pickleball.corporate-outing")},"Schedule Outing",8,ft)]),bt,gt])):r("",!0)]),e("li",_t,[e("a",{href:t.route("pickleball.corporate-outing")},"Request an Event",8,pt)]),n.user?r("",!0):(l(),i("li",wt,[e("a",{href:t.route("login"),class:"font-semibold lg:font-normal"},"Login",8,kt)])),n.user?(l(),i("li",xt,[e("a",{href:t.route("my-profile"),class:"font-semibold lg:font-normal"},"My Account",8,yt)])):r("",!0),n.user&&n.user.is_admin?(l(),i("li",vt,At)):r("",!0),n.user?r("",!0):(l(),i("li",Nt,[e("a",{href:t.route("pickleball.join-email-list"),class:"font-semibold lg:font-normal"},"Join Email List",8,Mt)])),It,n.user?(l(),i("li",Ot,[e("a",{href:t.route("logout")},"Logout",8,Lt)])):r("",!0)])])):r("",!0)])]),e("div",Ct,[I(t.$slots,"default"),n.flashMessage?(l(),i("div",Et,h(n.flashMessage),1)):r("",!0)]),Tt,e("div",Ft,[e("div",Rt,[e("div",Ht,[e("div",Vt,[Wt,e("a",{href:t.route("join-email-list"),class:"inline-block text-sm px-4 py-2 leading-none border rounded-full bg-white border-white hover:border-transparent text-pickleball-green mt-4 lg:mt-0"},"Join our Email List",8,Dt)]),e("div",Pt,[Ut,Jt,e("form",{class:"w-full mt-10 md:mt-0 md:float-right md:pl-16 flex flex-wrap",onSubmit:s[9]||(s[9]=_((...a)=>n.submitContactForm&&n.submitContactForm(...a),["prevent"]))},[e("div",Kt,[d(e("input",{class:"py-4 px-3 w-full text-gray-700 leading-tight focus:outline-none focus:shadow-outline bg-grey-500",type:"text",placeholder:"Full Name","onUpdate:modelValue":s[3]||(s[3]=a=>o.contactForm.name=a)},null,512),[[m,o.contactForm.name]]),o.errors.name?(l(),i("div",jt,[e("span",Bt,h(o.errors.name[0]),1)])):r("",!0)]),e("div",Yt,[d(e("input",{class:"py-4 px-3 w-full text-gray-700 leading-tight focus:outline-none focus:shadow-outline bg-grey-500",type:"email",placeholder:"Email Address","onUpdate:modelValue":s[4]||(s[4]=a=>o.contactForm.email=a)},null,512),[[m,o.contactForm.email]]),o.errors.email?(l(),i("div",Gt,[e("span",qt,h(o.errors.email[0]),1)])):r("",!0)]),e("div",zt,[d(e("select",{class:"px-3 h-13 w-full h-full text-gray-700 leading-tight focus:outline-none focus:shadow-outline bg-grey-500",placeholder:"What city are you in?","onUpdate:modelValue":s[5]||(s[5]=a=>o.contactForm.state=a)},[(l(),i("option",Qt,"Choose Your State")),(l(!0),i(x,null,y(n.states,(a,g)=>(l(),i("option",{key:g,value:a},h(a),9,Xt))),128))],512),[[k,o.contactForm.state]]),o.errors.state?(l(),i("div",Zt,[e("span",$t,h(o.errors.state[0]),1)])):r("",!0)]),e("div",es,[d(e("input",{class:"py-4 px-3 w-full text-gray-700 leading-tight focus:outline-none focus:shadow-outline bg-grey-500",type:"text",placeholder:"What city are you in?","onUpdate:modelValue":s[6]||(s[6]=a=>o.contactForm.city=a)},null,512),[[m,o.contactForm.city]]),o.errors.city?(l(),i("div",ts,[e("span",ss,h(o.errors.city[0]),1)])):r("",!0)]),e("div",os,[d(e("select",{class:"px-3 h-13 w-full h-full text-gray-700 leading-tight focus:outline-none focus:shadow-outline bg-grey-500","onUpdate:modelValue":s[7]||(s[7]=a=>o.contactForm.type=a)},[ls,(l(!0),i(x,null,y(o.messageTypes,(a,g)=>(l(),i("option",{key:g,value:a.name},h(a.name),9,is))),128))],512),[[k,o.contactForm.type]]),o.errors.type?(l(),i("div",as,rs)):r("",!0)]),e("div",cs,[d(e("textarea",{class:"py-4 px-3 w-full text-gray-700 leading-tight focus:outline-none focus:shadow-outline bg-grey-500",placeholder:"Message",rows:"4","onUpdate:modelValue":s[8]||(s[8]=a=>o.contactForm.message=a)},null,512),[[m,o.contactForm.message]]),o.errors.message?(l(),i("div",hs,[e("span",us,h(o.errors.message[0]),1)])):r("",!0),o.errors.market?(l(),i("div",ds,[e("span",ms,h(o.errors.market),1)])):r("",!0)]),e("div",fs,[o.notification.enabled?(l(),O(v,{key:0,type:o.notification.type,message:o.notification.message},null,8,["type","message"])):r("",!0),bs])],32)])]),e("div",gs,[e("p",_s,[e("a",{href:t.route("privacy-policy")},"Privacy Policy",8,ps),f(" | "),e("a",{href:t.route("terms")},"Terms and Conditions",8,ws)]),e("p",ks," © Copyright "+h(new Date().getFullYear())+" JOIN Pickleball. All Rights Reserved. ",1)])])]),e("div",null,[L(S,{ref:"modal",clickToClose:!0,escToClose:!0,overlayClass:"bg-pickleball-green z-40 overflow-auto left-0 top-0 bottom-0 right-0 w-full h-full fixed opacity-50"},{default:C(()=>[xs,ys,vs,e("a",{href:t.route("pickleball.join-email-list")},Ns,8,Ss)]),_:1},512)])])}const Cs=M(T,[["render",Ms]]);export{Cs as J};