1"use strict";(self["webpackChunkwww_getawaygogo_com"]=self["webpackChunkwww_getawaygogo_com"]||[]).push([[1998],{1998:function(e,a,s){s.r(a),s.d(a,{default:function(){return Q}});var t=s(4220),l=s(7700);const o=e=>((0,t.Qi)("data-v-47d7b4c6"),e=e(),(0,t.jt)(),e),n={class:"managerContact"},i={class:"managerMenu"},c={class:"managerLayout contactForm q-px-container row justify-center"},r={class:"col-12 col-sm-7"},m=o((()=>(0,t.Lk)("div",{class:"stepTitle"},"Contact Us",-1))),d={class:"formContainer"},p={class:"row"},u={class:"col-12 col-sm-6 inputField"},b=o((()=>(0,t.Lk)("div",{class:"fieldLabel"},[(0,t.eW)("Name"),(0,t.Lk)("span",{class:"text-red-8"},"*")],-1))),h={class:"col-12 col-sm-6 inputField"},f=o((()=>(0,t.Lk)("div",{class:"fieldLabel"},[(0,t.eW)("Email"),(0,t.Lk)("span",{class:"text-red-8"},"*")],-1))),g={class:"inputField"},k=o((()=>(0,t.Lk)("div",{class:"fieldLabel"},[(0,t.eW)("Message"),(0,t.Lk)("span",{class:"text-red-8"},"*")],-1))),v={class:"captchaField"};function F(e,a,s,o,F,V){const L=(0,t.g2)("q-route-tab"),R=(0,t.g2)("q-tabs"),w=(0,t.g2)("q-input"),A=(0,t.g2)("vue-recaptcha"),x=(0,t.g2)("q-btn"),y=(0,t.g2)("q-form");return(0,t.uX)(),(0,t.CE)("div",n,[(0,t.Lk)("div",i,[(0,t.bF)(R,{modelValue:F.managerDashboardTabs,"onUpdate:modelValue":a[0]||(a[0]=e=>F.managerDashboardTabs=e),class:"q-px-container text-white","active-class":"activeTab",align:"left","no-caps":""},{default:(0,t.k6)((()=>[(0,t.bF)(L,{to:{name:"ManagerHome"},name:"dashboard",ripple:!1,label:"Home",exact:""}),(0,t.bF)(L,{to:{name:"ManagerInbox"},name:"inbox",ripple:!1,label:"Messages",exact:""}),(0,t.bF)(L,{to:{name:"ManagerReservation"},name:"my-reservation",ripple:!1,label:"Reservations",exact:""}),(0,t.bF)(L,{to:{name:"ManagerDeals"},name:"gogo-deals",ripple:!1,label:"GoGo Deals",exact:""}),(0,t.bF)(L,{to:{name:"ManagerProfile"},name:"profile",ripple:!1,label:"Profile",exact:""}),(0,t.bF)(L,{to:{name:"ManagerAccount"},name:"account",ripple:!1,label:"Account",exact:""}),(0,t.bF)(L,{to:{name:"ManagerHelp"},name:"help",ripple:!1,label:"Help",exact:""})])),_:1},8,["modelValue"])]),(0,t.Lk)("div",c,[(0,t.Lk)("div",r,[m,(0,t.Lk)("div",d,[(0,t.bF)(y,{ref:"contactFromRef",onSubmit:V.sendContactDetails,onReset:V.resetForm},{default:(0,t.k6)((()=>[(0,t.Lk)("div",p,[(0,t.Lk)("div",u,[b,(0,t.bF)(w,{ref:"nameRef",modelValue:F.name,"onUpdate:modelValue":a[1]||(a[1]=e=>F.name=e),modelModifiers:{trim:!0},placeholder:"Your Name",dense:"",outlined:"","hide-bottom-space":"",rules:[a=>e.customValidations.generalValidation(a,"a Name")]},null,8,["modelValue","rules"])]),(0,t.Lk)("div",h,[f,(0,t.bF)(w,{ref:"emailRef",modelValue:F.email,"onUpdate:modelValue":a[2]||(a[2]=e=>F.email=e),modelModifiers:{trim:!0},placeholder:"Your Email Address",dense:"",outlined:"","hide-bottom-space":"",rules:[a=>e.customValidations.emailValidation(a)]},null,8,["modelValue","rules"])])]),(0,t.Lk)("div",g,[k,(0,t.bF)(w,{ref:"messageRef",modelValue:F.message,"onUpdate:modelValue":a[3]||(a[3]=e=>F.message=e),modelModifiers:{trim:!0},type:"textarea",placeholder:"Message...",dense:"","hide-bottom-space":"",outlined:"",rows:"10",rules:[e=>!!e||"Please enter a Message."]},null,8,["modelValue","rules"])]),(0,t.Lk)("div",v,[(0,t.bF)(A,{ref:"recaptchaRef",sitekey:F.recaptchaKey,onVerify:V.captchaResponse,onExpired:a[4]||(a[4]=e=>F.captchToken=null)},null,8,["sitekey","onVerify"])]),(0,t.bF)(x,{label:"Send",type:"submit",class:(0,l.C4)(["sendBtn btn btn--no-hover",{"full-width":e.$q.screen.lt.sm}]),disable:!F.captchToken,dense:"","no-caps":""},null,8,["class","disable"])])),_:1},8,["onSubmit","onReset"])])])])])}var V=s(8577),L=s(6910),R=s.n(L),w={components:{VueRecaptcha:V.A},data(){return{name:null,email:null,message:null,recaptchaKey:"6Le1mesaAAAAAMegCmRkwAR4GDTC4l0fHClEkkAW",captchToken:null,captchaError:!0,managerDashboardTabs:"dashboard"}},watch:{name(e){e&&(this.name=this.customValidations.allowOneSpace(e))},message(e){e&&(this.message=this.customValidations.allowOneSpace(e))}},methods:{captchaResponse(e){this.captchToken=e},resetForm(){this.name=null,this.email=null,this.message=null,this.$refs.nameRef.resetValidation(),this.$refs.emailRef.resetValidation(),this.$refs.messageRef.resetValidation()},sendContactDetails(){this.axios.post("/api/v1/property-manager/contact-us",{userId:R().get(this.$store,"state.storeUserDetails.userData.user_id"),isApi:!0,name:this.name,email:this.email,feedback:this.message,recaptchaResponse:this.captchToken}).then((e=>{this.$refs.contactFromRef.reset(),this.$refs.recaptchaRef.reset(),this.$q.notify({icon:"check_circle",color:"black",position:"bottom",message:e.data.message})})).catch((e=>{if(e.response.data.errors){const a=Object.values(e.response.data.errors)[0];this.$q.notify({icon:"cancel",color:"black",position:"bottom",message:a})}}))}}},A=s(1317),x=s(7750),y=s(9590),M=s(8506),T=s(9468),C=s(9354),q=s(7555),D=s(2110),_=s.n(D);const $=(0,A.A)(w,[["render",F],["__scopeId","data-v-47d7b4c6"]]);var Q=$;
1_()(w,"components",{QTabs:x.A,QRouteTab:y.A,QForm:M.A,QInput:T.A,QBtn:C.A,QTab:q.A})}}]); 2//# sourceMappingURL=1998.fdb10bf1.js.map
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.