1"use strict";(self["webpackChunkaven_app"]=self["webpackChunkaven_app"]||[]).push([[2081],{51559:function(e,t,n){var l=n(67974);t["Z"]={methods:{showWebWidget:l.L}}},67974:function(e,t,n){n.d(t,{L:function(){return o}});var l=n(92514);const o=()=>{(0,l.PC)()}},29848:function(e,t,n){n.d(t,{Z:function(){return p}});var l=n(83433);const o={class:"section"},i={key:0,class:"container-lg"},s={class:"row"},a={class:"col-12 col-sm-8 offset-sm-2 col-md-6 offset-md-3 pt-sm-6"};function r(e,t,n,r,c,m){return(0,l.wg)(),(0,l.iD)("div",o,[n.skinnyContainerLg?((0,l.wg)(),(0,l.iD)("div",i,[(0,l._)("div",s,[(0,l._)("div",a,[(0,l.WI)(e.$slots,"default",{},void 0,!0)])])])):(0,l.WI)(e.$slots,"default",{key:1},void 0,!0)])}var c={name:"SectionBlock",props:{skinnyContainerLg:{type:Boolean,default:!1}}},m=n(43379);const d=(0,m.Z)(c,[["render",r],["__scopeId","data-v-66f5332e"]]);var p=d},85008:function(e,t,n){n.r(t),n.d(t,{default:function(){return fe}});n(52618);var l=n(83433),o=n(41110),i=n(97779),s=n(12484),a=n(97860),r=n(29119),c=n(40363),m=n(49995),d=n(48527),p=n(72499),g=n(96635);const u={class:"container-fluid px-0"},f={id:"origination-form-container-pif-for-all",class:"container"},h={"data-testid":"landing-page-headline-title",class:"row"},_={class:"col-10"},v={class:"text-responsive mb-2 mb-md-0"},w={class:"row mt-5"},b={class:"col-12 col-lg-6"},A={class:"row"},k={class:"col-12 col-lg-5 mt-3 phone-input-form-container"},x=["innerHTML"],L={class:"container"},y={class:"row"},F={class:"col-lg-4 text-lg-center offset-lg-4"},I={class:"text-responsive"},W={class:"row"},E={class:"col-lg-4 d-flex flex-row"},T={class:"col-lg-4 d-flex flex-row"},D={class:"col-lg-4 d-flex flex-row"},$={class:"container"},B={class:"row align-items-center flex-wrap-reverse"},M={class:"col-12 col-lg-5 mt-2 mt-lg-0"},S=["innerHTML"],C={class:"mt-2 mt-md-3"},P={class:"container"},U={class:"row gy-3"},H={class:"col-12 col-md-6"},z={class:"bg-light rounded-3 px-3 py-5 px-md-5 py-md-7"},N=["innerHTML"],O={class:"col-12 col-md-6"},G={class:"bg-light rounded-3 px-3 py-5 px-md-5 py-md-7 h-100"},V=["innerHTML"];function Z(e,t,n,Z,R,Q){const j=(0,l.up)("form-field-v2"),J=(0,l.up)("form-button-v2"),K=(0,l.up)("form-container-v2"),X=(0,l.up)("section-block"),q=(0,l.up)("form-field-phone"),Y=(0,l.up)("marketing-layout");return(0,l.wg)(),(0,l.j4)(Y,{class:"abTestLandingV1","has-pif-for-all-landing-footer":!0},{default:(0,l.w5)(()=>[(0,l._)("div",u,[(0,l.Wm)(X,{class:"pb-0 pt-0 pt-lg-8"},{default:(0,l.w5)(()=>[(0,l._)("div",f,[(0,l._)("div",h,[(0,l._)("div",_,[(0,l._)("h1",v,(0,o.zw)(e.$t("pages.marketing.pifForAllLanding.heroText")),1)])]),(0,l._)("div",w,[(0,l._)("div",b,[(0,l._)("h5",null,(0,o.zw)(e.$t("pages.marketing.pifForAllLanding.heroSubText",{formattedDollarAmount:Q.formattedBonusAmount})),1)])]),(0,l._)("div",A,[(0,l._)("div",k,[(0,l.Wm)(K,{id:"pif-for-all-form",ref:"form",onOnSubmit:t[1]||(t[1]=()=>Q.onSubmit("upper")),onError:Q.onError},{default:(0,l.w5)(()=>[(0,l.Wm)(j,{id:"pifPhone",type:"phone","data-testid":"pif-all-phone-number-input",name:"phone",ref:"phoneField",label:"Mobile Number",modelValue:e.phoneUpper,"onUpdate:modelValue":t[0]||(t[0]=t=>e.phoneUpper=t)},null,8,["modelValue"]),(0,l.Wm)(J,{class:"mt-3",label:Q.ctaText,"event-name":"click_button_submit_pif_for_all_phone","event-props":{position:"upper",phoneNumber:this.phoneUpper},submitting:e.submitting,"data-testid":"pif-all-submit-phone-button"},null,8,["label","event-props","submitting"])]),_:1},8,["onError"]),(0,l._)("p",{class:"mt-1 text-muted small",innerHTML:e.$sanitizeHtml(e.$t("pages.marketing.landing.phoneLegalText"),"/workspace/build/buildkite/aven_frontend/aven/src/experiments/src/pages/marketing/PifForAllLandingPage.vue:57")},null,8,x)])])])]),_:1}),(0,l.Wm)(X,{class:"bg-light"},{default:(0,l.w5)(()=>[(0,l._)("div",L,[(0,l._)("div",y,[(0,l._)("div",F,[(0,l._)("h3",I,(0,o.zw)(e.$t("pages.marketing.pifForAllLanding.howItWorks.title")),1)])]),(0,l._)("div",W,[(0,l._)("div",E,[t[6]||(t[6]=(0,l._)("div",{class:"big-ol-markers"}," 1. ",-1)),(0,l._)("div",null,[(0,l._)("h5",null,(0,o.zw)(e.$t("pages.marketing.pifForAllLanding.howItWorks.pointOne.title")),1),(0,l._)("p",null,(0,o.zw)(e.$t("pages.marketing.pifForAllLanding.howItWorks.pointOne.body")),1)])]),(0,l._)("div",T,[t[7]||(t[7]=(0,l._)("div",{class:"big-ol-markers"}," 2. ",-1)),(0,l._)("div",null,[(0,l._)("h5",null,(0,o.zw)(e.$t("pages.marketing.pifForAllLanding.howItWorks.pointTwo.title")),1),(0,l._)("p",null,(0,o.zw)(e.$t("pages.marketing.pifForAllLanding.howItWorks.pointTwo.body")),1)])]),(0,l._)("div",D,[t[8]||(t[8]=(0,l._)("div",{class:"big-ol-markers"}," 3. ",-1)),(0,l._)("div",null,[(0,l._)("h5",null,(0,o.zw)(e.$t("pages.marketing.pifForAllLanding.howItWorks.pointThree.title",{formattedDollarAmount:Q.formattedBonusAmount})),1),(0,l._)("p",null,(0,o.zw)(e.$t("pages.marketing.pifForAllLanding.howItWorks.pointThree.body",{formattedDollarAmount:Q.formattedBonusAmount})),1)])])])])]),_:1}),(0,l.Wm)(X,null,{default:(0,l.w5)(()=>[(0,l._)("div",$,[(0,l._)("div",B,[(0,l._)("div",M,[(0,l._)("h2",{class:"text-responsive","data-testid":"landing-page-fees-title",innerHTML:e.$sanitizeHtml(e.$t("pages.marketing.pifForAllLanding.whatItIs.title",{formattedDollarAmount:Q.formattedBonusAmount}
1),"/workspace/build/buildkite/aven_frontend/aven/src/experiments/src/pages/marketing/PifForAllLandingPage.vue:116")},null,8,S),(0,l._)("p",C,(0,o.zw)(e.$t("pages.marketing.pifForAllLanding.whatItIs.body")),1)]),t[9]||(t[9]=(0,l._)("div",{class:"col-12 col-lg-7 d-flex"},[(0,l._)("img",{src:s,class:"img-fluid mx-auto",alt:"Aven Card"})],-1))])])]),_:1}),(0,l.Wm)(X,{class:"bg-light"},{default:(0,l.w5)(()=>t[10]||(t[10]=[(0,l._)("div",{class:"container"},[(0,l._)("div",{class:"row text-md-center"},[(0,l._)("div",{class:"col-12 col-md-6 offset-md-3"},[(0,l._)("h3",{class:"text-responsive mb-0"}," Who is this for? ")])]),(0,l._)("div",{class:"row mt-2 mt-lg-8"},[(0,l._)("div",{class:"col-12 col-lg-4 mt-2 d-flex flex-lg-column flex-row justify-content-lg-center align-items-center"},[(0,l._)("img",{src:a,class:"img-fluid icon-img-who-is-this-for",alt:"Group of coins icon"}),(0,l._)("span",{class:"d-block text-lg-center mt-lg-2 ms-2 ms-lg-0"}," Financial Advisors ")]),(0,l._)("div",{class:"col-12 col-lg-4 mt-2 d-flex flex-lg-column flex-row justify-content-lg-center align-items-center"},[(0,l._)("img",{src:r,class:"img-fluid icon-img-who-is-this-for",alt:"House with coin icon"}),(0,l._)("span",{class:"d-block text-lg-center mt-lg-2 ms-2 ms-lg-0"}," Mortgage Brokers ")]),(0,l._)("div",{class:"col-12 col-lg-4 mt-2 d-flex flex-lg-column flex-row justify-content-lg-center align-items-center"},[(0,l._)("img",{src:c,class:"img-fluid icon-img-who-is-this-for",alt:"Real Estate Sign Icon"}),(0,l._)("span",{class:"d-block text-lg-center mt-lg-2 ms-2 ms-lg-0"}," Real Estate Agents ")]),(0,l._)("div",{class:"col-12 col-lg-6 mt-2 mt-lg-6 d-flex flex-lg-column flex-row justify-content-lg-center align-items-center"},[(0,l._)("img",{src:m,class:"img-fluid icon-img-who-is-this-for",alt:"Megaphone Icon"}),(0,l._)("span",{class:"d-block text-lg-center mt-lg-2 ms-2 ms-lg-0"}," Influencers ")]),(0,l._)("div",{class:"col-12 col-lg-6 mt-2 mt-lg-6 d-flex flex-lg-column flex-row justify-content-lg-center align-items-center"},[(0,l._)("img",{src:d,class:"img-fluid icon-img-who-is-this-for",alt:"Heart Icon"}),(0,l._)("span",{class:"d-block text-lg-center mt-lg-2 ms-2 ms-lg-0"}," Fans Of Aven ")])])],-1)])),_:1}),(0,l.Wm)(X,null,{default:(0,l.w5)(()=>[(0,l._)("div",P,[(0,l._)("div",U,[(0,l._)("div",H,[(0,l._)("div",z,[t[11]||(t[11]=(0,l._)("img",{src:p,width:"48",height:"48",alt:"Gift Icon",class:"mb-3"},null,-1)),t[12]||(t[12]=(0,l._)("h3",{class:"mb-3"},[(0,l.Uk)(" Create your link."),(0,l._)("br"),(0,l.Uk)(" Itâs free. ")],-1)),(0,l._)("div",null,[(0,l.Wm)(K,{ref:"formLower",onOnSubmit:t[3]||(t[3]=()=>Q.onSubmit("lower")),onError:Q.onError},{default:(0,l.w5)(()=>[(0,l.Wm)(q,{"data-testid":"pif-all-phone-number-input",name:"phone",ref:"phoneField",placeholder:"Mobile Number",label:"Mobile Number",modelValue:e.phoneLower,"onUpdate:modelValue":t[2]||(t[2]=t=>e.phoneLower=t)},null,8,["modelValue"]),(0,l.Wm)(J,{class:"mt-3",label:Q.ctaText,"event-name":"click_button_submit_pif_for_all_phone","event-props":{position:"upper",phoneNumber:this.phoneLower},submitting:e.submitting,"data-testid":"pif-all-submit-phone-button"},null,8,["label","event-props","submitting"])]),_:1},8,["onError"]),(0,l._)("p",{class:"mt-1 text-muted small",innerHTML:e.$sanitizeHtml(e.$t("pages.marketing.landing.phoneLegalText"),"/workspace/build/buildkite/aven_frontend/aven/src/experiments/src/pages/marketing/PifForAllLandingPage.vue:227")},null,8,N)])])]),(0,l._)("div",O,[(0,l._)("div",G,[t[13]||(t[13]=(0,l._)("img",{src:g,width:"48",height:"48",alt:"Contact Us",class:"mb-3"},null,-1)),t[14]||(t[14]=(0,l._)("h3",{class:"mb-3"},[(0,l.Uk)(" Reach out with"),(0,l._)("br"),(0,l.Uk)(" any questions ")],-1)),(0,l._)("h5",{class:"mb-3",innerHTML:e.$sanitizeHtml(e.$t("pages.marketing.landing.reengage.contactInfoHtml"),"/workspace/build/buildkite/aven_frontend/aven/src/experiments/src/pages/marketing/PifForAllLandingPage.vue:247")},null,8,V),(0,l._)("a",{onClick:t[4]||(t[4]=(...t)=>e.showWebWidget&&e.showWebWidget(...t)),onKeydown:t[5]||(t[5]=(0,i.D2)((...t)=>e.showWebWidget&&e.showWebWidget(...t),["enter"])),class:"btn btn-secondary w-100"},(0,o.zw)(e.$t("pages.marketing.landing.reengage.messageUs")),33)])])])])]),_:1})])]),_:1})}n(82247),n(30140),n(65216);var R=n(70705),Q=n(40977),j=n(55783),J=n(29848),K=n(33810),X=n(3247),q=n(51559),Y=n(12313),ee=n(28212),te=n(51300),ne=n(77984),le=n(63527),oe=n(8546),ie=n(44580),se=n(4720),ae=n(79449),re=n(54875),ce=n(61235);const me="There was a problem submitting your phone number. Please make sure you're connected to the internet and try again.",de="Please enter a valid phone number and try again.";
1var pe={name:"PifForAllLanding",setup(){(0,re.U)({title:"Aven | The Home Equity Credit Card",meta:[{name:"description",content:String(ne.a.t("pages.marketing.landing.description"))}]})},data:()=>({pifBonusDollars:0,showPifInfoModal:!1,phoneUpper:"",phoneLower:"",submitting:!1}),components:{FormContainerV2:Q.Z,FormFieldV2:j.Z,FormButtonV2:R["default"],"section-block":J.Z,"marketing-layout":K.Z},mixins:[q.Z,X.ZP],created:function(){ae.ap.setItem(ae.Np.currentFlow,ce.Flows.pifForAll)},mounted:async function(){if(!(0,se.u9)()){try{const e=await(0,te.PlL)();this.pifBonusDollars=e.data.payload.currentAmountDollars,ae.ap.setItem(ae.Np.pifForAllBonusDollars,String(this.pifBonusDollars))}catch(e){return oe.c.fatal("Error getting PIF for All config response",{error:e}),await this.$router.replace({path:ee.M.PAGE_NOT_FOUND})}this.logViewEvent()}},computed:{ctaText(){return"Create My Invite Link<sub>â </sub>"},formattedBonusAmount(){return this.toFormattedUSDNoCents(this.pifBonusDollars)}},methods:{numberWithCommas:ie.x6,logViewEvent:function(){this.$logEvent("view_pif_for_all_landing",{query:window.location.search,version:le.OB,pifBonusDollars:this.pifBonusDollars})},onSubmit:async function(e){const t="upper"===e?this.phoneUpper:this.phoneLower,n="upper"===e?this.$refs.form:this.$refs.formLower;try{this.submitting=!0;const e=await(0,te.BbK)(t);return e.data.success?await this.$router.push({name:Y.pW.SENDER_INFO}):void(e.data.error===te.Yvt.INVALID_PHONE_NUMBER?n.applyErrorOnField({phone:de}):n.applyGeneralError(me))}catch(l){oe.c.fatal("Error creating a PIF for All sender with phone number %{phone}",{phone:t,error:l}),n.applyGeneralError(me)}finally{this.submitting=!1}},onError:async function(){this.$refs.form.applyGeneralError(me)}}},ge=n(43379);const ue=(0,ge.Z)(pe,[["render",Z]]);var fe=ue},96635:function(e,t,n){e.exports=n.p+"img/PhoneIcon.670e5c01.svg"},97860:function(e,t,n){e.exports=n.p+"img/AccountingCoins.83aeecf4.svg"},12484:function(e,t,n){e.exports=n.p+"img/CardWithFriends.76aad237.svg"},48527:function(e,t,n){e.exports=n.p+"img/LoveIt.32db3860.svg"},49995:function(e,t,n){e.exports=n.p+"img/Megaphone.1f7cd257.svg"},40363:function(e,t,n){e.exports=n.p+"img/RealEstateSignSale.cd1308ae.svg"},72499:function(e){e.exports="data:image/webp;base64,UklGRiIBAABXRUJQVlA4WAoAAAAQAAAALwAALwAAQUxQSNIAAAABgFXbdtzmQhAEQRAEQTCDGIIY5DFwGCgMDEEQDOFBEISTTp46tz8RMQF692Ec4xshj8NxE8D0SnLA00FXep3hKik6rTo9HhIgSRmSVGmSZm6HZJok3WiKECUNtEMSy4vQyRWTpHxQ6BRJMhaIkoJTDlGB7u4dwN0dPG4LxdY6m6utLVHSpXPmiyLMtifYnnd6KFTtCtp1phh2JsO+A7eTZTyeJzmDGqdepHDv5+kW9CpoM2gzaOX/u046LtLXGG5bwTZOTl0TFk7YwhppsMOzXgdWUDggKgAAADADAJ0BKjAAMAA+kUifS6WkIqGjiACwEglpAAAbgb0+DgAA/vjO/SgAAA=="}}]);
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.