1function a(){return{baseUrl:"/campaign/houses-of-heifer",ctaText:"Become a Monthly Donor",ctaUrl:"/",errorText:"",formInvalid:!0,house:"harvest",showError:!1,async handleSubmit(){var r;let o={};const s=new FormData(this.$refs.form);for(let[t,e]of s.entries())o[t]=e;try{const e=await(await fetch("/jobs/hoh-login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(o)})).json();e.success?(this.showError=!1,(r=e.data)!=null&&r.hoh_house&&(this.house=e.data.hoh_house.replace("_default","")),window.location.href=`${this.baseUrl}/${this.house}-house${window.location.search}`):e.redirectToHouseSelect?(this.showError=!0,this.errorText="You have not chosen a house yet.",this.ctaText="Select One Now.",this.ctaUrl=`${this.baseUrl}${window.location.search}`):e.redirectToLapsedFOH?(this.showError=!0,this.errorText="You must be a Friend of Heifer to unlock this exclusive content.",this.ctaText="Become a Monthly Donor",this.ctaUrl=`${this.baseUrl}/welcome-back${window.location.search}`):(this.showError=!0,this.errorText="Something went wrong. Please contact Donor Services.",this.ctaText="Call 855.948.6437",this.ctaUrl="tel:+18559486437")}catch(t){console.error("Error:",t)}},checkFormValidity(){this.formInvalid=!this.$event.currentTarget.checkValidity()}}}export{a as default};
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.