1(self["webpackChunkaven_app"]=self["webpackChunkaven_app"]||[]).push([[1792],{62434:function(e,t,a){"use strict";a.d(t,{B:function(){return r}});var o=a(92902),l=a(83433),n=a(86308),i=a(79449);function r(){const e=(0,o.iH)(""),t=(0,o.iH)(!1),a=(0,o.iH)(!1),r=(0,o.iH)("Loading..."),s=(0,o.iH)((0,n.J8)(i.ap.getItem(i.Np.firstName)||"")),u=(0,o.iH)((0,n.J8)(i.ap.getItem(i.Np.lastName)||"")),d=(0,o.iH)((0,n.J8)(i.ap.getItem(i.Np.coApplicantFirstName)||"")),f=(0,o.iH)((0,n.J8)(i.ap.getItem(i.Np.coApplicantLastName)||"")),c=(0,l.Fl)(()=>!!i.ap.getItem(i.Np.coApplicantJwtTokens)),p=(0,l.Fl)(()=>"true"===i.ap.getItem(i.Np.isHomeUpgradeLoanApplication));return{errorText:e,submitting:t,loading:a,loadingTitle:r,primaryFirstName:s,primaryLastName:u,secondaryFirstName:d,secondaryLastName:f,hasCoApplicant:c,isHomeUpgradeLoanApplication:p}}},86308:function(e,t,a){"use strict";a.d(t,{AM:function(){return i},J8:function(){return n},JI:function(){return r}});a(30140),a(65216),a(80977),a(52618);var o=a(60844),l=a.n(o);const n=e=>e?e.split(" ").map(l()).join(" "):"",i=e=>e?e.replace(/\w+/g,e=>e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()):"",r=e=>{const t=e.split(" ");let a="";for(e of t)a+=e[0].toUpperCase().replace(/[^A-Z]/g,"");return a.slice(0,2)}},44580:function(e,t,a){"use strict";a.d(t,{BD:function(){return p},DR:function(){return w},FZ:function(){return c},Ld:function(){return f},T:function(){return v},U5:function(){return s},WT:function(){return u},hU:function(){return r},x6:function(){return d}});var o=a(84621),l=a(75044),n=a.n(l);let i=0;const r=()=>i++,s=()=>Number(`${r()}${Math.floor(100*Math.random())}`),u=(e,t,a)=>(e-t)%a===0,d=e=>o.q.numberToString(e),f=e=>1e3*Math.floor(e/1e3),c=e=>1e3*Math.ceil(e/1e3),p=e=>(n()(e>0,`Can't append ordinal suffix to a number <= 0: ${e}`),1===e?"first":2===e?"second":3===e?"third":4===e?"fourth":5===e?"fifth":6===e?"sixth":7===e?"seventh":8===e?"eighth":9===e?"ninth":10===e?"tenth":w(e)),w=e=>{n()(e>0,`Can't append ordinal suffix to a number <= 0: ${e}`);const t=e%10,a=e%100;return 1===t&&11!==a?`${e}st`:2===t&&12!==a?`${e}nd`:3===t&&13!==a?`${e}rd`:`${e}th`},v=e=>Math.round(100*e)},29233:function(e){function t(e,t){var a=-1,o=null==e?0:e.length,l=Array(o);while(++a<o)l[a]=t(e[a],a,e);return l}e.exports=t},59512:function(e){function t(e){return e.split("")}e.exports=t},77379:function(e){function t(e,t,a){var o=-1,l=e.length;t<0&&(t=-t>l?0:l+t),a=a>l?l:a,a<0&&(a+=l),l=t>a?0:a-t>>>0,t>>>=0;var n=Array(l);while(++o<l)n[o]=e[o+t];return n}e.exports=t},86245:function(e,t,a){var o=a(70861),l=a(29233),n=a(55589),i=a(52624),r=1/0,s=o?o.prototype:void 0,u=s?s.toString:void 0;function d(e){if("string"==typeof e)return e;if(n(e))return l(e,d)+"";if(i(e))return u?u.call(e):"";var t=e+"";return"0"==t&&1/e==-r?"-0":t}e.exports=d},3237:function(e,t,a){var o=a(77379);function l(e,t,a){var l=e.length;return a=void 0===a?l:a,!t&&a>=l?e:o(e,t,a)}e.exports=l},41254:function(e,t,a){var o=a(3237),l=a(63932),n=a(15233),i=a(99835);function r(e){return function(t){t=i(t);var a=l(t)?n(t):void 0,r=a?a[0]:t.charAt(0),s=a?o(a,1).join(""):t.slice(1);return r[e]()+s}}e.exports=r},63932:function(e){var t="\\ud800-\\udfff",a="\\u0300-\\u036f",o="\\ufe20-\\ufe2f",l="\\u20d0-\\u20ff",n=a+o+l,i="\\ufe0e\\ufe0f",r="\\u200d",s=RegExp("["+r+t+n+i+"]");function u(e){return s.test(e)}e.exports=u},15233:function(e,t,a){var o=a(59512),l=a(63932),n=a(32205);function i(e){return l(e)?n(e):o(e)}e.exports=i},32205:function(e){var t="\\ud800-\\udfff",a="\\u0300-\\u036f",o="\\ufe20-\\ufe2f",l="\\u20d0-\\u20ff",n=a+o+l,i="\\ufe0e\\ufe0f",r="["+t+"]",s="["+n+"]",u="\\ud83c[\\udffb-\\udfff]",d="(?:"+s+"|"+u+")",f="[^"+t+"]",c="(?:\\ud83c[\\udde6-\\uddff]){2}",p="[\\ud800-\\udbff][\\udc00-\\udfff]",w="\\u200d",v=d+"?",m="["+i+"]?",g="(?:"+w+"(?:"+[f,c,p].join("|")+")"+m+v+")*",h=m+v+g,_="(?:"+[f+s+"?",s,c,p,r].join("|")+")",x=RegExp(u+"(?="+u+")|"+_+h,"g");function y(e){return e.match(x)||[]}e.exports=y},60844:function(e,t,a){var o=a(99835),l=a(51309);function n(e){return l(o(e).toLowerCase())}e.exports=n},99835:function(e,t,a){var o=a(86245);function l(e){return null==e?"":o(e)}e.exports=l},51309:function(e,t,a){var o=a(41254),l=o("toUpperCase");e.exports=l},83259:function(e,t,a){"use strict";a.d(t,{Z:function(){return s}});a(52618);var o=a(83433);function l(e,t,a,l,n,i){return(0,o.wg)(),(0,o.iD)("button",{"data-testid":"footnotes-button",class:"footnotes-button",onClick:t[0]||(t[0]=(...e)=>
1a.openModal&&a.openModal(...e))},[(0,o.WI)(e.$slots,"default",{},void 0,!0)])}var n={name:"FootnotesButton",props:{openModal:{type:Function,required:!0}}},i=a(43379);const r=(0,i.Z)(n,[["render",l],["__scopeId","data-v-65648877"]]);var s=r},86708:function(e,t,a){"use strict";a.d(t,{Z:function(){return u}});var o=a(83433),l=a(66756),n=a(92902),i=a(5548),r=(0,o.aZ)({__name:"FootnotesModal",props:{onClose:{type:Function}},setup(e,{expose:t}){const a=e,r=(0,n.iH)(!1),s=()=>{var e;(0,i.Kz)("click_button_close_footnotes_modal"),r.value=!1,null===(e=a.onClose)||void 0===e||e.call(a)},u=()=>{(0,i.Kz)("click_button_open_footnotes_modal"),r.value=!0};return t({openModal:u}),(e,t)=>((0,o.wg)(),(0,o.j4)(l["default"],{title:"",class:"footnotes-modal","data-testid":"footnotes-modal",open:r.value,onOnModalCloseClick:s,"modal-dialog-style":"modal-dialog-centered modal-dialog-scrollable"},{default:(0,o.w5)(()=>[(0,o.WI)(e.$slots,"default")]),_:3},8,["open"]))}});const s=r;var u=s},21593:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return x}});var o=a(83433);function l(e,t,a,l,n,i){const r=(0,o.up)("jodl-return-otp-entry"),s=(0,o.up)("onboarding-layout");return(0,o.wg)(),(0,o.j4)(s,{loading:n.loading,"error-text":n.errorText},{default:(0,o.w5)(()=>[n.otpReturnToken?((0,o.wg)(),(0,o.j4)(r,{key:0,"return-token":n.otpReturnToken,"jodl-return-otp":n.jodlReturnOtp,onIssued:i.onJodlIssued,onError:i.onJodlError},null,8,["return-token","jodl-return-otp","onIssued","onError"])):(0,o.kq)("",!0)]),_:1},8,["loading","error-text"])}a(30140),a(65216);var n=a(67160),i=a(7173),r=a(51300),s=a(94747),u=a(28212),d=a(64096),f=a(77984),c=a(8546),p=a(4720),w=a(79449),v=a(11756),m=a(61235),g={components:{OnboardingLayout:n.Z,"jodl-return-otp-entry":i.Z},props:{returnPagePath:{type:String,required:!0}},data(){var e,t;return{applicantGuid:null===(e=this.$route.query)||void 0===e||null===(t=e.p)||void 0===t?void 0:t.substr(0,36),loading:!0,errorText:"",otpReturnToken:"",jodlReturnOtp:{beginApplicantReturn:(e,t)=>(0,r.vQM)(e,void 0,m.JodlReturnFlowVariant.origination,t),verifyApplicantReturnOtp:r.ZaR}}},mounted:async function(){this.$logEvent("view_origination_return",{applicantGuid:this.applicantGuid,returnPagePath:this.returnPagePath});try{if(w.ap.getItem(w.Np.jwtTokens))return c.c.info("User hit origination return page with jwt tokens. Clearing their stale state and reloading the page to acquire a new session"),(0,p.LL)();this.loading=!1,this.otpReturnToken=this.applicantGuid}catch(e){this.errorText=(0,d.D)(e),this.loading=!1}},methods:{onJodlIssued:function(e){return this.otpReturnToken="",this.loading=!0,this.finishReturn(e)},onJodlError:function(e){if("BLOCKED_APPLICATION"===e)return c.c.info("User is blocked from origination. Redirecting to blocked page"),this.$router.replace({path:u.M.THANKS,query:{reason:v.Bm.blockedApplication}});this.errorText=f.a.t("global.errors.generic"),this.loading=!1},finishReturn:async function(e){if(e.inviteCode){if(this.returnPagePath===s.ER.PRE_QUALIFICATION)return await this.$router.replace(s.ER.PRE_QUALIFICATION);if(this.returnPagePath===s.ER.STATED_INCOME)return await this.$router.replace(s.ER.STATED_INCOME)}return c.c.info("Received begin applicant returning response upon origination return: %{responseData}",{responseData:(0,c.X)(e)}),await this.$router.replace(this.returnPagePath)}}},h=a(43379);const _=(0,h.Z)(g,[["render",l]]);var x=_},62493:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return to}});a(82247),a(65542),a(17817),a(30140),a(65216),a(99969),a(38248),a(28229),a(70509),a(80977),a(78872),a(52618),a(20263),a(47846),a(52924),a(45747),a(76959),a(73835);var o=a(83433),l=a(92902),n=a(41110),i=a(97779),r=a(61235),s=a(78168),u=a(83259),d=a(3247),f=a(42057),c=a(8710),p=a(14579),w=a(76698),v=a(43277),m=a(55889),g=a(5548),h=a(57774),_=a(14699),x=a(75044),y=a.n(x);const E={key:0},R={key:1,class:"tw-flex tw-flex-col tw-gap-4"},T={class:"tw-border tw-border-gray-200 tw-border-solid tw-rounded-lg tw-p-5"},D={class:"tw-flex tw-justify-between"},O={class:"tw-m-0"},b={"data-testid":"product-details-line-size",class:"tw-font-bold tw-m-0"},A={class:"tw-flex tw-justify-between"},k={class:"tw-m-0"},S={"data-testid":"product-details-variable-apr",class:"tw-font-bold tw-m-0"},U={class:"tw-border tw-border-gray-200 tw-border-solid tw-rounded-lg tw-p-5"},C={class:"tw-mb-2 tw-text-gray-600 tw-text-[10px] tw-uppercase tw-tracking-[2px]"},F={key:0,class:"tw-flex tw-justify-between"},P={class:"tw-m-0"},N={"data-testid":"product-details-payoff-fee",class:"tw-text-sm text-muted m-0 tw-mt-1"},I={"data-testid":"prequal-info-options-heloc-refi-payoff-fee"},L={"data-testid":"product-details-payoff-amount",class:"tw-font-bold tw-m-0"},H={class:"tw-flex tw-justify-between"},M={"data-testid":"product-details-payoff-amount-without-fee",class:"tw-font-bold tw-m-0"},z={class:"tw-flex tw-justify-between"},W={class:"tw-m-0"},B={"data-testid":"product-details-payoff-fee-amount",class:"tw-font-bold tw-m-0"},Z={class:"tw-flex tw-justify-between"},j={class:"tw-m-0"},V={"data-testid":"product-details-fixed-apr",class:"tw-font-bold tw-m-0"},Q={class:"tw-flex tw-justify-between"},G={class:"tw-m-0"},Y={class:"sm high-top"},q={class:"tw-flex tw-gap-1 tw-items-center tw-m-0"},X={key:0,"data-testid":"product-details-second-lien-attested-monthly-payment",class:"tw-m-0 tw-text-gray-600 tw-line-through"},J={"data-testid":"product-details-estimated-monthly-payment",class:"tw-m-0 tw-font-bold"};var $=(0,o.aZ)({__name:"HelocRefiOffer",props:{offer:{},openFootnotesModal:{},isProductDetails:{type:Boolean,default:!1}},setup(e){const t=e,a=(0,l.iH)(!0),i=(0,o.Fl)(()=>t.isProductDetails?3:2),s=(0,h.X6)(h.oE.multiPage,h.Ro.helocRefiSeparatePayoffFeeRow),x=(0,f.ew)(),{helocRefiDetails:$,error:K,fetchHelocRefiDetails:ee}=(0,_.V)(),{offerLineSize:te,secondLienBalanceAmountWithFee:ae,formattedSecondLienBalanceAmountWithoutFee:oe,priorLienPayoffFeePercent:le,formattedPriorLienPayoffFeeAmount:ne,avenMonthlyPaymentAmount:ie,formattedMonthlyPayment:re}=(0,c.jX)({offer:(0,l.Vh)(t,"offer"),refiDetails:$}),se=(0,o.Fl)(()=>{var e;if(!t.offer)return"";const a=(0,p.zb)(t.offer,x.value);return a?(0,w.CX)(t.offer):(0,d.Q1)(null===(e=t.offer)||void 0===e?void 0:e.apr)}),ue=(0,o.Fl)(()=>{var e,a;if(!t.offer)return"";
1if(null!=t.offer.fixedTermApr)return(0,d.Q1)(t.offer.fixedTermApr);const o=null===(e=t.offer.teaserRateMap)||void 0===e||null===(a=e.HelocRefiPriorLienPayoffFee)||void 0===a?void 0:a.regularApr;return null!=o?(0,d.Q1)(o):(0,d.Q1)(t.offer.apr)}),de=(0,o.Fl)(()=>{var e,t,a;return null!==(e=null===(t=$.value)||void 0===t||null===(a=t.secondLienInfo)||void 0===a?void 0:a.lienLenderName)&&void 0!==e?e:""}),fe=(0,o.Fl)(()=>{var e,t,a;return null!==(e=null===(t=$.value)||void 0===t||null===(a=t.secondLienInfo)||void 0===a?void 0:a.lienAttestedMonthlyPaymentAmount)&&void 0!==e?e:0}),ce=new m.V(g.Mb);return(0,o.bv)(async()=>{y()(t.offer.identifier,"No offer identifier available to fetch HELOC refi details on HelocRefiOffer.vue"),await ee({readFromCache:!1,writeToCache:!1,offerIdentifier:t.offer.identifier}),a.value=!1,(0,v.l)(ce,r.CrossValidationType.HELOC_REFI_MOAP_OFFER_DETAILS_PAGE,a)}),(e,t)=>(0,l.SU)(K)?((0,o.wg)(),(0,o.iD)("div",E,(0,n.zw)((0,l.SU)(K)),1)):((0,o.wg)(),(0,o.iD)("div",R,[(0,o._)("div",T,[(0,o._)("div",D,[(0,o._)("p",O,(0,n.zw)(e.$t("components.helocRefiOffer.totalCreditLimit")),1),(0,o._)("p",b,(0,n.zw)((0,l.SU)(d.ro)((0,l.SU)(te))),1)]),t[1]||(t[1]=(0,o._)("hr",null,null,-1)),(0,o._)("div",A,[(0,o._)("p",k,[(0,o._)("span",null,(0,n.zw)(e.$t("components.helocRefiOffer.variableApr")),1),(0,o.Wm)(u.Z,{"open-modal":e.openFootnotesModal},{default:(0,o.w5)(()=>t[0]||(t[0]=[(0,o._)("sup",null,"1",-1)])),_:1},8,["open-modal"])]),(0,o._)("p",S,(0,n.zw)(se.value),1)])]),(0,o._)("div",U,[(0,o._)("p",C,(0,n.zw)(e.$t("components.helocRefiOffer.lenderRefinance",{lenderName:de.value})),1),(0,l.SU)(s)?((0,o.wg)(),(0,o.iD)(o.HY,{key:1},[(0,o._)("div",H,[t[3]||(t[3]=(0,o._)("p",{class:"tw-m-0"}," Balance We Pay Off ",-1)),(0,o._)("p",M,(0,n.zw)((0,l.SU)(oe)),1)]),t[5]||(t[5]=(0,o._)("hr",null,null,-1)),(0,o._)("div",z,[(0,o._)("p",W,[(0,o.Uk)((0,n.zw)((0,l.SU)(le))+"% Payoff Fee ",1),(0,o.Wm)(u.Z,{"open-modal":e.openFootnotesModal},{default:(0,o.w5)(()=>t[4]||(t[4]=[(0,o._)("sup",{class:"tw-text-[8px] tw-align-top"},"1",-1)])),_:1},8,["open-modal"])]),(0,o._)("p",B,(0,n.zw)((0,l.SU)(ne)),1)])],64)):((0,o.wg)(),(0,o.iD)("div",F,[(0,o._)("div",null,[(0,o._)("p",P,(0,n.zw)(e.$t("components.helocRefiOffer.payoffAmount")),1),(0,o._)("p",N,[(0,o._)("span",I,"Includes a "+(0,n.zw)((0,l.SU)(le))+"% fee",1),(0,o.Wm)(u.Z,{"open-modal":()=>e.openFootnotesModal(1)},{default:(0,o.w5)(()=>t[2]||(t[2]=[(0,o._)("sup",{class:"sm high-top"},"1",-1)])),_:1},8,["open-modal"])])]),(0,o._)("p",L,(0,n.zw)((0,l.SU)(ae)),1)])),t[7]||
1(t[7]=(0,o._)("hr",null,null,-1)),(0,o._)("div",Z,[(0,o._)("p",j,[(0,o.Uk)((0,n.zw)(e.$t("components.helocRefiOffer.fixedApr"))+" ",1),(0,o.Wm)(u.Z,{"open-modal":e.openFootnotesModal},{default:(0,o.w5)(()=>t[6]||(t[6]=[(0,o._)("sup",{class:"tw-text-[8px] tw-align-top"},"1",-1)])),_:1},8,["open-modal"])]),(0,o._)("p",V,[(0,o._)("span",null,(0,n.zw)(ue.value),1)])]),t[8]||(t[8]=(0,o._)("hr",null,null,-1)),(0,o._)("div",Q,[(0,o._)("p",G,[(0,o.Uk)((0,n.zw)(e.$t("components.helocRefiOffer.estimatedMonthlyPayment"))+" ",1),(0,o.Wm)(u.Z,{"open-modal":e.openFootnotesModal},{default:(0,o.w5)(()=>[(0,o._)("sup",Y,(0,n.zw)(i.value),1)]),_:1},8,["open-modal"])]),(0,o._)("div",q,[(0,l.SU)(ie)&&fe.value&&fe.value>0&&(0,l.SU)(ie)<fe.value?((0,o.wg)(),(0,o.iD)("p",X,(0,n.zw)((0,l.SU)(d.ro)(fe.value)),1)):(0,o.kq)("",!0),(0,o._)("p",J,[(0,o._)("span",null,(0,n.zw)(e.$t("components.helocRefiOffer.monthlyPaymentWithMo",{amount:(0,l.SU)(re)})),1)])])])])]))}});const K=$;var ee=K,te=a(86708),ae=a(92215),oe=a(95846),le=a(84),ne=a(5957),ie=a(54866);const re={class:"tw-text-xs tw-text-gray-400 tw-text-start"},se={class:"tw-text-xs tw-text-gray-400 tw-text-start"},ue={class:"tw-text-xs tw-text-gray-400 tw-text-start"},de={class:"tw-text-xs tw-text-gray-400 tw-text-start"},fe={class:"tw-text-xs tw-text-gray-400 tw-text-start"},ce=["innerHTML"],pe={class:"tw-text-xs tw-text-gray-400 tw-text-start"},we=["innerHTML"],ve={class:"tw-text-xs tw-text-gray-400 tw-text-start"},me=["innerHTML"],ge={class:"tw-text-xs tw-text-gray-400 tw-text-start"},he=["innerHTML"];var _e=(0,o.aZ)({__name:"ProductDetailsHelocRefiMoapFootnotesModal",props:{estimatedPayoffAmount:{},feeAmount:{}},setup(e,{expose:t}){const a=(0,l.iH)(null),i=()=>{var e;null===(e=a.value)||void 0===e||e.openModal()},r=e;t({openModal:i});const s=(0,f.ew)(),u=(0,o.Fl)(()=>(0,ie.Z)());return(e,t)=>((0,o.wg)(),(0,o.j4)(te.Z,{ref_key:"footnotesModalRef",ref:a},{default:(0,o.w5)(()=>{var a,i;return[(0,o._)("p",re," 1. "+(0,n.zw)(e.$t("footnotes.helocRefi.helocDescription")),1),(0,o._)("p",se,(0,n.zw)(e.$t("footnotes.helocRefi.revolvingLineApr",{rateIndexFullName:(0,l.SU)(s).rateIndexFullName,rateIndexEffectiveDate:(0,l.SU)(s).rateIndexEffectiveDate,rateValuePercentage:(0,l.SU)(s).rateValuePercentage})),1),(0,o._)("p",ue,(0,n.zw)(e.$t("footnotes.helocRefi.fixedRatePlans")),1),(0,o._)("p",de,(0,n.zw)(e.$t("footnotes.helocRefi.feesDisclosure",{maxCashOutFeePercentText:(0,l.SU)(d.mq)((0,l.SU)(s).MaxCOFeePercent)})),1),(0,o._)("p",fe,[(0,o._)("span",{innerHTML:e.$sanitizeHtml(e.$t("footnotes.helocRefi.autoPayDiscount"),"/workspace/build/buildkite/aven_frontend/aven/src/components/helocRefi/ProductDetailsHelocRefiMoapFootnotesModal.vue:47")},null,8,ce)]),(0,o._)("p",pe,[(0,o._)("span",{innerHTML:e.$sanitizeHtml(e.$t("footnotes.cashBackAvailableTo"),"/workspace/build/buildkite/aven_frontend/aven/src/components/helocRefi/ProductDetailsHelocRefiMoapFootnotesModal.vue:50")},null,8,we)]),(0,o._)("p",ve,[t[0]||(t[0]=(0,o.Uk)(" 2. ")),(0,o._)("span",{innerHTML:e.$sanitizeHtml(u.value,"/workspace/build/buildkite/aven_frontend/aven/src/components/helocRefi/ProductDetailsHelocRefiMoapFootnotesModal.vue:54")},null,8,me)]),(0,o._)("p",ge,[t[1]||(t[1]=(0,o.Uk)(" 3. ")),(0,o._)("span",{innerHTML:e.$sanitizeHtml(e.$t("footnotes.refinancingLien.monthlyPaymentEstimate")+" "+e.$t("footnotes.helocRefi.monthlyPaymentTerms",{estimatedPayoffAmount:(0,l.SU)(d.ro)(null!==(a=r.estimatedPayoffAmount)&&void 0!==a?a:0,"ceil"),feeAmount:(0,l.SU)(d.ro)(null!==(i=r.feeAmount)&&void 0!==i?i:0,"ceil")}),"/workspace/build/buildkite/aven_frontend/aven/src/components/helocRefi/ProductDetailsHelocRefiMoapFootnotesModal.vue:60")},null,8,he)])]}),_:1},512))}});const xe=_e;var ye=xe,Ee=(a(93782),a(59083));const Re={class:"tw-text-xs tw-text-gray-400 tw-text-start"},Te={class:"tw-text-xs tw-text-gray-400 tw-text-start"},De={class:"tw-text-xs tw-text-gray-400 tw-text-start"},Oe=["innerHTML"],be={key:0,class:"tw-text-xs tw-text-gray-400 tw-text-start"},Ae={class:"tw-text-xs tw-text-gray-400 tw-text-start"},ke=["innerHTML"],Se={class:"tw-text-xs tw-text-gray-400 tw-text-start"},Ue=["innerHTML"],Ce={key:1,class:"tw-text-xs tw-text-gray-400 tw-text-start"};var Fe=(0,o.aZ)({__name:"ProductDetailsAvenCashFootnotesModal",props:{isHelocRefi:{type:Boolean},estimatedPayoffAmount:{},estimatedCashAmount:{},feeAmount:{}},setup(e,{expose:t}){const a=(0,l.iH)(null),i=()=>{var e;null===(e=a.value)||void 0===e||e.openModal()},r=e;t({openModal:i});const s=(0,f.ew)(),u=(0,o.Fl)(()=>{var e,t,a;return null===(e=null===(t=s.value)||void 0===t||null===(a=t.rateIndexShortName)||void 0===a?void 0:a.includes("WSJ"))||void 0===e||e}),c=(0,o.Fl)(()=>{var e,t;return(0,d.Q1)(null!==(e=null===(t=s.value)||void 0===t?void 0:t.GlobalMaxAPR)&&void 0!==e?e:0)}),p=(0,o.Fl)(()=>{var e,t,a,o,l,n,i,r;return(0,Ee.L)(null!==(e=null===(t=s.value)||void 0===t?void 0:t.firstDrawFeePercent)&&void 0!==e?e:0,null===(a=s.value)||void 0===a?void 0:a.COFee,null===(o=s.value)||void 0===o?void 0:o.BTFee,null!==(l=null===(n=s.value)||void 0===n?void 0:n.ExperimentName)&&void 0!==l?l:"",null!==(i=null===(r=s.value)||void 0===r?void 0:r.originationFeePercent)&&void 0!==i?i:0)});return(e,t)=>
1((0,o.wg)(),(0,o.j4)(te.Z,{ref_key:"footnotesModalRef",ref:a},{default:(0,o.w5)(()=>{var t,a,i;return[(0,o._)("p",Re," 1. "+(0,n.zw)(e.$t("footnotes.avenCash.description")),1),(0,o._)("p",Te,(0,n.zw)(u.value?e.$t("footnotes.avenCash.wsjRevolvingLineApr",{rateIndexEffectiveDate:(0,l.SU)(s).rateIndexEffectiveDate,rateValuePercentage:(0,l.SU)(s).rateValuePercentage,maxApr:c.value}):e.$t("footnotes.avenCash.fftrulRevolvingLineApr",{rateIndexEffectiveDate:(0,l.SU)(s).rateIndexEffectiveDate,rateValuePercentage:(0,l.SU)(s).rateValuePercentage,maxApr:c.value})),1),(0,o._)("p",De,[(0,o._)("span",{innerHTML:e.$sanitizeHtml(p.value,"/workspace/build/buildkite/aven_frontend/aven/src/components/helocRefi/ProductDetailsAvenCashFootnotesModal.vue:59")},null,8,Oe)]),r.isHelocRefi?((0,o.wg)(),(0,o.iD)("p",be,(0,n.zw)(e.$t("footnotes.refinancingLien.description")),1)):(0,o.kq)("",!0),(0,o._)("p",Ae,[(0,o._)("span",{innerHTML:e.$sanitizeHtml(e.$t("footnotes.avenCash.autoPayDiscount"),"/workspace/build/buildkite/aven_frontend/aven/src/components/helocRefi/ProductDetailsAvenCashFootnotesModal.vue:68")},null,8,ke)]),(0,o._)("p",Se,[(0,o._)("span",{innerHTML:e.$sanitizeHtml(e.$t("footnotes.avenCash.cashBackTerms",{uwPolicyName:(0,l.SU)(s).ExperimentName}),"/workspace/build/buildkite/aven_frontend/aven/src/components/helocRefi/ProductDetailsAvenCashFootnotesModal.vue:71")},null,8,Ue)]),r.isHelocRefi?((0,o.wg)(),(0,o.iD)("p",Ce," 2. "+(0,n.zw)(e.$t("footnotes.avenCash.monthlyPaymentEstimate",{estimatedPayoffAmount:(0,l.SU)(d.ro)(null!==(t=r.estimatedPayoffAmount)&&void 0!==t?t:0,"ceil"),estimatedCashAmount:(0,l.SU)(d.ro)(null!==(a=r.estimatedCashAmount)&&void 0!==a?a:0,"ceil"),feeAmount:(0,l.SU)(d.ro)(null!==(i=r.feeAmount)&&void 0!==i?i:0,"ceil")})),1)):(0,o.kq)("",!0)]}),_:1},512))}});const Pe=Fe;var Ne=Pe,Ie=(a(8625),a(51300)),Le=a(8546);const He=()=>{const e={beginApplicantReturn:(e,t)=>(0,Ie.vQM)(e,void 0,r.JodlReturnFlowVariant.ogProductDetails,t),verifyApplicantReturnOtp:Ie.ZaR},t=(0,l.iH)(!0),a=(0,l.iH)(),o=(0,l.iH)([]),n=(0,l.iH)(),i=(0,l.iH)(),s=(0,l.iH)([]),u=(0,l.iH)(),d=(0,l.iH)(!0),f=(0,l.iH)(null),c=(0,l.iH)(""),p=(0,l.iH)(),w=(0,l.iH)(!1),v=(0,l.iH)(!1),m=(0,l.iH)(null),g=async()=>{d.value=!0;try{var e,t,a,l,r,g,h,_,x,y;const d=await(0,Ie.WdY)(),{success:E,payload:R,error:T}=d.data;if(!E||!R)return Le.c.error("Failed to fetch OG product details: %{error}",{error:T}),void(f.value=null!==T&&void 0!==T?T:"Failed to fetch OG product details");o.value=R.offers,n.value=R.uwMetadata,i.value=R.rewardNames,s.value=null!==(e=R.allRewards)&&void 0!==e?e:[],u.value=R.headlineBoost,c.value=R.loanApplicationStatus,p.value=R.helocRefiDetails,w.value=null!==(t=R.showRewardHighlights)&&void 0!==t&&t,v.value=null!==(a=R.isFirstLienHeloc)&&void 0!==a&&a,m.value=null!==(l=R.escrowElection)&&void 0!==l?l:null,Le.c.info("Fetched OG product rewards details. Showing highlights=%{showRewardHighlights}; RewardNames=%{rewardNames}; AllRewards=%{allRewards}; HeadlineBoost=%{headlineBoost}",{showRewardHighlights:w.value,rewardNames:null!==(r=null===(g=i.value)||void 0===g?void 0:g.length)&&void 0!==r?r:0,allRewards:null!==(h=null===(_=s.value)||void 0===_?void 0:_.length)&&void 0!==h?h:0,headlineBoost:null!==(x=null===(y=u.value)||void 0===y?void 0:y.rewardName)&&void 0!==x?x:"none"})}catch(E){Le.c.error("Failed to fetch applicant returning OG product details",{error:(0,Le.X)(E)}),f.value=E instanceof Error?E:new Error(String(E))}finally{d.value=!1}},h=async e=>{t.value=!1,a.value=e,await g()},_=e=>{Le.c.error("Failed to begin applicant returning OG flow",{error:(0,Le.X)(e)}),f.value=new Error(String(e)),d.value=!1};return{jodlReturnOtp:e,showOtp:t,onJodlIssued:h,onJodlError:_,returnApplicantData:a,offers:o,uwMetadata:n,rewardNames:i,allRewards:s,headlineBoost:u,loading:d,error:f,loanApplicationStatus:c,helocRefiDetails:p,showRewardHighlights:w,isFirstLienHeloc:v,escrowElection:m}};var Me=a(67160),ze=a(7173),We=a(21773),Be=a(75030),Ze=a(304),je=a(87506),Ve=a(53879);const Qe={class:"tw-mb-0"},Ge={class:"text-muted","data-testid":"product-details-fixed-term-first-draw-fee-text"},Ye={class:"tw-flex tw-flex-col tw-mt-5"},qe={class:"tw-flex tw-flex-col tw-mb-4"},Xe={class:"tw-flex tw-flex-col tw-gap-4"},Je={class:"tw-flex"},$e={class:"tw-flex-1"},Ke={class:"tw-text-xl tw-font-bold tw-text-black","data-testid":"offer-preview-fixed-term-length"},et={class:"tw-text-sm tw-text-gray-600 tw-leading-none"},tt={class:"tw-flex-1"},at={key:0,class:"tw-text-xl tw-font-bold tw-m-0","data-testid":"offer-preview-fixed-term-cash-upfront-apr"},ot={key:1,class:"tw-m-0"},lt={class:"tw-mb-0"},nt={class:"tw-text-xl tw-font-bold tw-m-0 tw-text-dark-green tw-relative tw-whitespace-nowrap","data-testid":"offer-preview-fixed-term-cash-upfront-teaser-apr"},it={class:"tw-text-xs tw-m-0 tw-text-dark-green tw-relative tw-whitespace-nowrap","data-testid":"offer-preview-fixed-term-cash-upfront-teaser-period-in-apr-section"},rt={class:"tw-text-[12px] tw-h-[16px] tw-text-gray-600 tw-m-0","data-testid":"offer-preview-fixed-term-cash-upfront-normal-apr"},st={class:"tw-text-sm tw-text-gray-600 tw-leading-none","data-testid":"offer-preview-fixed-apr-label"},ut={class:"tw-flex-1"},dt={key:0,class:"tw-text-xl tw-font-bold tw-m-0","data-testid":"offer-preview-fixed-term-cash-upfront-monthly-payment"},ft={key:1,class:"tw-m-0"},ct={class:"tw-m-0 tw-h-[28px]"},pt={class:"tw-text-xl tw-font-bold tw-m-0 tw-text-dark-green tw-relative tw-whitespace-nowrap","data-testid":"offer-preview-fixed-term-cash-upfront-teaser-monthly-payment"},wt={class:"tw-text-xs tw-m-0 tw-text-dark-green tw-relative tw-whitespace-nowrap","data-testid":"offer-preview-fixed-term-cash-upfront-teaser-period-in-payment-section"},vt={class:"tw-text-[12px] tw-h-[16px] tw-text-gray-600 tw-m-0","data-testid":"offer-preview-fixed-term-cash-upfront-normal-monthly-payment"},mt={class:"tw-text-sm tw-text-gray-600 tw-leading-none","data-testid":"offer-preview-monthly-payment-label"},gt={class:"row align-items-center tw-mb-8"},ht={class:"col-12 mt-2"},_t={class:"tw-rounded-lg tw-p-5 tw-border tw-border-solid tw-border-gray-100"},xt={class:"tw-flex tw-pb-2 tw-border-0 tw-border-b tw-border-solid tw-border-gray-100","data-testid":"offer-preview-fixed-term-cash-upfront-payoff-amount"},yt={class:"tw-font-bold tw-ml-auto"},Et={class:"tw-flex tw-py-2","data-testid":"offer-preview-fixed-term-cash-upfront-amount"},Rt={class:"tw-font-bold tw-ml-auto"},Tt={class:"tw-mb-0"},Dt={class:"tw-list-none tw-p-0 tw-m-0 tw-font-proxima-nova tw-text-[16
1px]"},Ot={class:"tw-flex tw-mb-3","data-testid":"highlight-aven-cash-paperwork"},bt={class:"tw-flex tw-mb-3","data-testid":"highlight-aven-cash-get-cash"},At={class:"tw-flex tw-mb-3","data-testid":"highlight-aven-cash-no-prepayment-fee"},kt={class:"tw-flex","data-testid":"highlight-aven-cash-subsequent-fee"};var St=(0,o.aZ)({__name:"HelocRefiAvenCash",props:{offer:{},openFootnotesModal:{},helocRefiDetails:{},isProductDetails:{type:Boolean,default:!1}},setup(e){const t=e,a=(0,o.Fl)(()=>t.isProductDetails),i=(0,l.iH)(),r=(0,l.iH)(),s=(0,o.Fl)(()=>{var e,a,o;return null!==(e=null===(a=t.helocRefiDetails)||void 0===a||null===(o=a.secondLienInfo)||void 0===o?void 0:o.lienBalanceAmount)&&void 0!==e?e:0}),f=(0,o.Fl)(()=>{var e,a,o;return void 0!==(null===(e=t.offer)||void 0===e||null===(a=e.teaserRateMap)||void 0===a||null===(o=a.HelocRefiFirstDrawFee)||void 0===o?void 0:o.teaserApr)}),c=(0,o.Fl)(()=>{var e,a;const o=null!==(e=null===(a=t.offer)||void 0===a?void 0:a.fixedTermMonths)&&void 0!==e?e:360;return o/12}),w=(0,o.Fl)(()=>{if(i.value)return(0,Ve.Z)(i.value,{multiLine:!1})});return(0,o.yX)(()=>{if(r.value){const e=new ResizeObserver(()=>{w.value&&w.value.fit()});e.observe(r.value)}}),(0,o.Rh)(()=>{const e=w.value;e&&e.fit()}),(e,t)=>{var w,v,m,g,h,_,x,y,E,R,T,D,O,b,A,k,S,U,C,F,P,N,I,L,H,M,z,W,B,Z,j;return(0,o.wg)(),(0,o.iD)(o.HY,null,[(0,o._)("h5",Qe,[(0,o.Uk)((0,n.zw)(e.$t("pages.origination.offerPreview.multiLienRefi.totalLine"))+" ",1),(0,o._)("span",Ge,(0,n.zw)(e.$t("pages.origination.offerPreview.multiLienRefi.oneTimeFee",{feePercent:(0,l.SU)(d.Xs)((null===(w=e.offer)||void 0===w?void 0:w.firstDrawFeePercent)||0)})),1),(0,o.Wm)(u.Z,{"open-modal":e.openFootnotesModal},{default:(0,o.w5)(()=>t[0]||(t[0]=[(0,o._)("sup",{class:"sm high-top"},"1",-1)])),_:1},8,["open-modal"])]),(0,o._)("div",Ye,[(0,o._)("div",qe,[(0,o._)("div",{ref_key:"fittyParent",ref:r},[(0,o._)("p",{ref_key:"fitTextContainer",ref:i,class:"fit numerics-2 tw-font-bold tw-m-0 tw-text-[64px]","data-testid":"offer-preview-fixed-term-cash-upfront-line-size"},(0,n.zw)((0,l.SU)(d.nX)(null!==(v=null===(m=e.offer)||void 0===m?void 0:m.lineSize)&&void 0!==v?v:0)),513)],512)]),(0,o._)("div",Xe,[(0,o._)("div",Je,[(0,o._)("div",$e,[(0,o._)("div",Ke,(0,n.zw)(c.value)+" Years ",1),(0,o._)("div",et,[t[2]||(t[2]=(0,o.Uk)(" Payback Term")),(0,o.Wm)(u.Z,{"open-modal":e.openFootnotesModal,class:(0,n.C_)({"tw-invisible":!0})},{default:(0,o.w5)(()=>t[1]||(t[1]=[(0,o._)("sup",{class:"tw-text-[8px] tw-align-top"},"1",-1)])),_:1},8,["open-modal"])])]),(0,o._)("div",tt,[f.value?(0,o.kq)("",!0):((0,o.wg)(),(0,o.iD)("p",at,(0,n.zw)((0,l.SU)(d.gQ)(null!==(g=null===(h=e.offer)||void 0===h?void 0:h.fixedTermApr)&&void 0!==g?g:0)),1)),f.value?((0,o.wg)(),(0,o.iD)("div",ot,[(0,o._)("p",lt,[(0,o._)("span",nt,(0,n.zw)((0,l.SU)(d.gQ)(null!==(_=null===(x=e.offer)||void 0===x||null===(y=x.teaserRateMap)||void 0===y||null===(E=y.HelocRefiFirstDrawFee)||void 0===E?void 0:E.teaserApr)&&void 0!==_?_:0)),1),(0,o._)("span",it,[(0,o.Uk)(" ("+(0,n.zw)(null===(R=e.offer)||void 0===R||null===(T=R.teaserRateMap)||void 0===T||null===(D=T.HelocRefiFirstDrawFee)||void 0===D?void 0:D.teaserPeriodInMonths)+" mo.)",1),(0,o.Wm)(u.Z,{"open-modal":e.openFootnotesModal},{default:(0,o.w5)(()=>t[3]||(t[3]=[(0,o._)("sup",{class:"sm high-top"},"2",-1)])),_:1},8,["open-modal"])])]),(0,o._)("p",rt,(0,n.zw)((0,l.SU)(d.gQ)(null!==(O=null===(b=e.offer)||void 0===b||null===(A=b.teaserRateMap)||void 0===A||null===(k=A.HelocRefiFirstDrawFee)||void 0===k?void 0:k.regularApr)&&void 0!==O?O:0))+" after ",1)])):(0,o.kq)("",!0),(0,o._)("div",st,[t[5]||(t[5]=(0,o.Uk)(" Fixed APR")),(0,o.Wm)(u.Z,{"open-modal":e.openFootnotesModal},{default:(0,o.w5)(()=>t[4]||(t[4]=[(0,o._)("sup",{class:"tw-text-[8px] tw-align-top"},"1",-1)])),_:1},8,["open-modal"])])]),(0,o._)("div",ut,[f.value?(0,o.kq)("",!0):((0,o.wg)(),(0,o.iD)("p",dt,(0,n.zw)((0,l.SU)(d.ro)(null!==(S=null===(U=e.offer)||void 0===U?void 0:U.fixedTermMonthlyPayment)&&void 0!==S?S:0,"ceil"))+"/mo ",1)),f.value?((0,o.wg)(),(0,o.iD)("div",ft,[(0,o._)("p",ct,[(0,o._)("span",pt,(0,n.zw)((0,l.SU)(d.ro)(null!==(C=null===(F=e.offer)||void 0===F||null===(P=F.teaserRateMap)||void 0===P||null===(N=P.HelocRefiFirstDrawFee)||void 0===N?void 0:N.teaserMonthlyPayment)&&void 0!==C?C:0,"ceil"))+"/mo ",1),(0,o._)("span",wt," ("+(0,n.zw)(null===(I=e.offer)||void 0===I||null===(L=I.teaserRateMap)||void 0===L||null===(H=L.HelocRefiFirstDrawFee)||void 0===H?void 0:H.teaserPer
1iodInMonths)+" mo.) ",1)]),(0,o._)("p",vt," Est. "+(0,n.zw)((0,l.SU)(d.ro)(null!==(M=null===(z=e.offer)||void 0===z?void 0:z.fixedTermMonthlyPayment)&&void 0!==M?M:0,"ceil"))+" after ",1)])):(0,o.kq)("",!0),(0,o._)("div",mt,[t[7]||(t[7]=(0,o.Uk)(" Monthly Payment")),a.value?((0,o.wg)(),(0,o.j4)(u.Z,{key:0,"open-modal":e.openFootnotesModal},{default:(0,o.w5)(()=>t[6]||(t[6]=[(0,o._)("sup",{class:"tw-text-[8px] tw-align-top"},"2",-1)])),_:1},8,["open-modal"])):(0,o.kq)("",!0)])])])]),(0,o._)("div",gt,[(0,o._)("div",ht,[(0,o._)("div",_t,[(0,o._)("div",xt,[t[8]||(t[8]=(0,o._)("span",null,"Est. Balance We Pay Off",-1)),(0,o._)("span",yt,(0,n.zw)((0,l.SU)(d.ro)(s.value,"ceil")),1)]),(0,o._)("div",Et,[t[9]||(t[9]=(0,o._)("div",{class:"tw-flex tw-flex-col"},[(0,o._)("span",null,"Cash You'll Get"),(0,o._)("span",{class:"tw-text-xs tw-text-gray-400"},"Available after your refinance is complete.")],-1)),(0,o._)("span",Rt,(0,n.zw)((0,l.SU)(d.ro)(null!==(W=null===(B=e.offer)||void 0===B?void 0:B.cashOutUpFrontAmountExcludingFee)&&void 0!==W?W:0,"ceil")),1)])])])]),(0,o._)("div",Tt,[t[21]||(t[21]=(0,o._)("h5",{class:"tw-mb-4 tw-font-proxima-nova tw-text-[12px] tw-leading-140 tw-tracking-2px tw-font-bold","data-testid":"aven-cash-highlights-header"}," HIGHLIGHTS ",-1)),(0,o._)("ul",Dt,[(0,o._)("li",Ot,[t[10]||(t[10]=(0,o._)("span",null,"⢠",-1)),t[11]||(t[11]=(0,o.Uk)("   ")),(0,o._)("span",null," We'll handle the paperwork for your "+(0,n.zw)((0,l.SU)(d.ro)(s.value,"ceil"))+" refinance.",1)]),(0,o._)("li",bt,[t[12]||(t[12]=(0,o._)("span",null,"⢠",-1)),t[13]||(t[13]=(0,o.Uk)("   ")),(0,o._)("span",null," You'll get "+(0,n.zw)((0,l.SU)(d.ro)(null!==(Z=null===(j=e.offer)||void 0===j?void 0:j.cashOutUpFrontAmountExcludingFee)&&void 0!==Z?Z:0,"ceil"))+" in cash, sent to your bank once your refinance is complete.",1)]),(0,o._)("li",At,[t[16]||(t[16]=(0,o._)("span",null,"⢠",-1)),t[17]||(t[17]=(0,o.Uk)("   ")),(0,o._)("span",null,[t[15]||(t[15]=(0,o.Uk)(" No prepayment, cancellation, or annual fee.")),(0,o.Wm)(u.Z,{"open-modal":e.openFootnotesModal},{default:(0,o.w5)(()=>t[14]||(t[14]=[(0,o._)("sup",{class:"sm high-top"},"1",-1)])),_:1},8,["open-modal"])])]),(0,o._)("li",kt,[t[19]||(t[19]=(0,o._)("span",null,"⢠",-1)),t[20]||(t[20]=(0,o.Uk)("   ")),(0,o._)("span",null,[(0,o.Uk)((0,n.zw)((0,l.SU)(d.gQ)((0,l.SU)(p.NH)(e.offer)))+" fee on subsequent cash outs or balance transfers.",1),(0,o.Wm)(u.Z,{"open-modal":e.openFootnotesModal},{default:(0,o.w5)(()=>t[18]||(t[18]=[(0,o._)("sup",{class:"sm high-top"},"1",-1)])),_:1},8,["open-modal"])])])])])])],64)}}});const Ut=St;var Ct,Ft=Ut,Pt=a(86308);(function(e){e[e["CONTINUE"]=100]="CONTINUE",e[e["SWITCHING_PROTOCOLS"]=101]="SWITCHING_PROTOCOLS",e[e["PROCESSING"]=102]="PROCESSING",e[e["EARLY_HINTS"]=103]="EARLY_HINTS",e[e["OK"]=200]="OK",e[e["CREATED"]=201]="CREATED",e[e["ACCEPTED"]=202]="ACCEPTED",e[e["NON_AUTHORITATIVE_INFORMATION"]=203]="NON_AUTHORITATIVE_INFORMATION",e[e["NO_CONTENT"]=204]="NO_CONTENT",e[e["RESET_CONTENT"]=205]="RESET_CONTENT",e[e["PARTIAL_CONTENT"]=206]="PARTIAL_CONTENT",e[e["MULTI_STATUS"]=207]="MULTI_STATUS",e[e["MULTIPLE_CHOICES"]=300]="MULTIPLE_CHOICES",e[e["MOVED_PERMANENTLY"]=301]="MOVED_PERMANENTLY",e[e["MOVED_TEMPORARILY"]=302]="MOVED_TEMPORARILY",e[e["SEE_OTHER"]=303]="SEE_OTHER",e[e["NOT_MODIFIED"]=304]="NOT_MODIFIED",e[e["USE_PROXY"]=305]="USE_PROXY",e[e["TEMPORARY_REDIRECT"]=307]="TEMPORARY_REDIRECT",e[e["PERMANENT_REDIRECT"]=308]="PERMANENT_REDIRECT",e[e["BAD_REQUEST"]=400]="BAD_REQUEST",e[e["UNAUTHORIZED"]=401]="UNAUTHORIZED",e[e["PAYMENT_REQUIRED"]=402]="PAYMENT_REQUIRED",e[e["FORBIDDEN"]=403]="FORBIDDEN",e[e["NOT_FOUND"]=404]="NOT_FOUND",e[e["METHOD_NOT_ALLOWED"]=405]="METHOD_NOT_ALLOWED",e[e["NOT_ACCEPTABLE"]=406]="NOT_ACCEPTABLE",e[e["PROXY_AUTHENTICATION_REQUIRED"]=407]="PROXY_AUTHENTICATION_REQUIRED",e[e["REQUEST_TIMEOUT"]=408]="REQUEST_TIMEOUT",e[e["CONFLICT"]=409]="CONFLICT",e[e["GONE"]=410]="GONE",e[e["LENGTH_REQUIRED"]=411]="LENGTH_REQUIRED",e[e["PRECONDITION_FAILED"]=412]="PRECONDITION_FAILED",e[e["REQUEST_TOO_LONG"]=413]="REQUEST_TOO_LONG",e[e["REQUEST_URI_TOO_LONG"]=414]="REQUEST_URI_TOO_LONG",e[e["UNSUPPORTED_MEDIA_TYPE"]=4
115]="UNSUPPORTED_MEDIA_TYPE",e[e["REQUESTED_RANGE_NOT_SATISFIABLE"]=416]="REQUESTED_RANGE_NOT_SATISFIABLE",e[e["EXPECTATION_FAILED"]=417]="EXPECTATION_FAILED",e[e["IM_A_TEAPOT"]=418]="IM_A_TEAPOT",e[e["INSUFFICIENT_SPACE_ON_RESOURCE"]=419]="INSUFFICIENT_SPACE_ON_RESOURCE",e[e["METHOD_FAILURE"]=420]="METHOD_FAILURE",e[e["MISDIRECTED_REQUEST"]=421]="MISDIRECTED_REQUEST",e[e["UNPROCESSABLE_ENTITY"]=422]="UNPROCESSABLE_ENTITY",e[e["LOCKED"]=423]="LOCKED",e[e["FAILED_DEPENDENCY"]=424]="FAILED_DEPENDENCY",e[e["UPGRADE_REQUIRED"]=426]="UPGRADE_REQUIRED",e[e["PRECONDITION_REQUIRED"]=428]="PRECONDITION_REQUIRED",e[e["TOO_MANY_REQUESTS"]=429]="TOO_MANY_REQUESTS",e[e["REQUEST_HEADER_FIELDS_TOO_LARGE"]=431]="REQUEST_HEADER_FIELDS_TOO_LARGE",e[e["UNAVAILABLE_FOR_LEGAL_REASONS"]=451]="UNAVAILABLE_FOR_LEGAL_REASONS",e[e["INTERNAL_SERVER_ERROR"]=500]="INTERNAL_SERVER_ERROR",e[e["NOT_IMPLEMENTED"]=501]="NOT_IMPLEMENTED",e[e["BAD_GATEWAY"]=502]="BAD_GATEWAY",e[e["SERVICE_UNAVAILABLE"]=503]="SERVICE_UNAVAILABLE",e[e["GATEWAY_TIMEOUT"]=504]="GATEWAY_TIMEOUT",e[e["HTTP_VERSION_NOT_SUPPORTED"]=505]="HTTP_VERSION_NOT_SUPPORTED",e[e["INSUFFICIENT_STORAGE"]=507]="INSUFFICIENT_STORAGE",e[e["NETWORK_AUTHENTICATION_REQUIRED"]=511]="NETWORK_AUTHENTICATION_REQUIRED"})(Ct||(Ct={}));var Nt=a(95787),It=a(18389),Lt=a(79449),Ht=a(63295),Mt=a(77984),zt=(0,o.aZ)({__name:"RewardHighlightItems",props:{rewards:{},show:{type:Boolean}},setup(e){return(e,t)=>e.show?((0,o.wg)(!0),(0,o.iD)(o.HY,{key:0},(0,o.Ko)(e.rewards,e=>((0,o.wg)(),(0,o.iD)("li",{key:e.rewardName,"data-testid":"reward-highlight-item"},(0,n.zw)(e.humanReadableDescription),1))),128)):(0,o.kq)("",!0)}});const Wt=zt;var Bt=Wt;const Zt={key:0,class:"tw-flex tw-flex-col tw-gap-10"},jt={class:"tw-font-normal tw-text-xl tw-m-0","data-testid":"product-details-congrats"},Vt={class:"tw-flex tw-flex-col tw-gap-4"},Qt={key:0,class:"tw-text-xs tw-m-0 tw-text-left tw-font-bold tw-tracking-[2px] tw-uppercase tw-mb-1","data-testid":"product-details-section-header"},Gt={key:1,class:"tw-text-xs tw-m-0 tw-text-center tw-font-bold tw-tracking-[2px] tw-uppercase","data-testid":"product-details-section-header"},Yt={key:2},qt={key:3},Xt={key:4},Jt={key:5},$t={key:6},Kt={key:0,class:"tw-flex tw-flex-col tw-gap-4"},ea={key:0,class:"tw-m-0 tw-flex tw-flex-col tw-gap-2"},ta={"data-testid":"highlight-heloc-refi-transfer-balance"},aa={"data-testid":"highlight-heloc-refi-visa-card"},oa={"data-testid":"highlight-heloc-refi-cashout"},la={"data-testid":"highlight-heloc-refi-no-cancellation-fee"},na={key:1,class:"tw-m-0 tw-flex tw-flex-col tw-gap-2"},ia={"data-testid":"highlight-fixed-term-initial-cashup"},ra=["innerHTML"],sa={"data-testid":"highlight-fixed-term-fixed-apr"},ua={"data-testid":"highlight-fixed-term-no-fees"},da={"data-testid":"highlight-fixed-term-no-cancellation-fee"},fa={key:2,class:"tw-m-0 tw-flex tw-flex-col tw-gap-2"},ca={key:3,class:"tw-m-0 tw-flex tw-flex-col tw-gap-2"},pa={"data-testid":"highlight-low-grow-start-with"},wa={"data-testid":"highlight-low-grow-visa-card"},va={"data-testid":"highlight-low-grow-btco"},ma={"data-testid":"highlight-low-grow-monthly-payments"},ga={"data-testid":"highlight-low-grow-fees"},ha={key:4,class:"tw-m-0 tw-flex tw-flex-col tw-gap-2"},_a={"data-testid":"highlight-prime-v3-visa-card"},xa={"data-testid":"highlight-prime-v3-btco"},ya={"data-testid":"highlight-prime-v3-monthly-payments"},Ea={"data-testid":"highlight-prime-v3-fees"},Ra={"data-testid":"highlight-prime-v3-apr-discount"},Ta={key:5,class:"tw-m-0 tw-flex tw-flex-col tw-gap-2"},Da={"data-testid":"highlight-teaser-apr"},Oa={"data-testid":"highlight-teaser-bt-fee"},ba={"data-testid":"highlight-teaser-visa-card"},Aa={"data-testid":"highlight-teaser-monthly-payments"},ka={"data-testid":"highlight-teaser-fees"},Sa={key:6,class:"tw-m-0 tw-flex tw-flex-col tw-gap-2"},Ua={"data-testid":"highlight-base-visa-card"},Ca={"data-testid":"highlight-base-btco"},Fa={"data-testid":"highlight-base-monthly-payments"},Pa={"data-testid":"highlight-base-fees"},Na={key:1,class:"tw-flex tw-flex-col tw-gap-4"},Ia={class:"tw-text-xs tw-m-0 tw-text-left tw-font-bold tw-tracking-[2px] tw-uppercase"},La={class:"tw-m-0 tw-flex tw-flex-col tw-gap-2"},Ha={key:2,class:"tw-flex tw-flex-col tw-gap-4"},Ma={class:"tw-text-xs tw-m-0 tw-text-left tw-font-bold tw-tracking-[2px] tw-uppercase"},za={class:"tw-m-0 tw-flex tw-flex-col tw-gap-2"},Wa={key:3,class:"tw-flex tw-flex-col tw-gap-4"},Ba={class:"tw-text-xs tw-m-0 tw-text-left tw-font-bold tw-tracking-[2px] tw-uppercase"},Za={class:"tw-m-0 tw-flex tw-flex-col tw-gap-2"},ja={key:0},Va={key:4,class:"tw-flex tw-flex-col tw-gap-4"},Qa={class:"tw-text-xs tw-m-0 tw-text-left tw-font-bold tw-tracking-[2px] tw-uppercase"},Ga={key:0,class:"tw-m-0 tw-flex tw-flex-col tw-gap-2"},Ya={key:0},qa={key:1,class:"tw-m-0 tw-flex tw-flex-col tw-gap-2"},Xa={key:0},Ja={class:"tw-flex tw-flex-col tw-gap-4 tw-mb-12"},$a={key:1,class:"tw-flex tw-flex-col tw-gap-2"};var Ka=(0,o.aZ)({__name:"ProductDetails",props:{returnToken:{}},setup(e){const t=e,{jodlReturnOtp:a,showOtp:f,onJodlIssued:c,onJodlError:w,returnApplicantData:v,offers:m,uwMetadata:h,rewardNames:_,allRewards:x,headlineBoost:y,loading:E,error:R,loanApplicationStatus:T,helocRefiDetails:D,showRewardHighlights:O,isFirstLienHeloc:b,escrowElection:A}=He();(0,o.YP)(_,()=>{Lt.ap.setItem(Lt.Np.rewardNames,JSON.stringify(_.value||[]))}),(0,o.YP)(h,()=>{h.value&&Lt.ap.setItem(Lt.Np.underwritingMetaData,JSON.stringify(h.value))});const k=(0,l.iH)(null),S=(0,l.iH)(null),U=(0,l.iH)(null),C=(0,l.iH)(null),F=(0,l.iH)(!1),P=(0,s.yj)(),N=(0,s.tv)(),I=()=>{k.value&&k.value.openModal()},L=()=>{U.value&&U.value.openModal()},H=()=>{C.value&&C.value.openModal()},M=()=>fe.value?H:L,z=async()=>{(0,g.Kz)("click_toggle_payment_calculator_button"),F.value=!F.value,setTimeout(()=>{var e;window.scrollTo({top:null===(e=S.value)||void 0===e?void 0:e.$el.getBoundingClientRect().bottom,behavior:"smooth"})},100)},W=window!==window.parent,B="notarization"===P.query.source,Z=()=>{const e=W?window.top:window,a=(0,r.getAccountAgreementDocTypeForLoanApplicationType)(v.value.a
1pplicationType);e.open(`/docs/${a}/${t.returnToken}`,"_blank")},j=async()=>{if((0,g.Kz)("click_product_details_continue_button"),B)return void window.close();const e=await(0,Ie.i7S)();if(!e.data.success)return N.replace({name:Be.OH.LANDING});const{nextApplicationAction:t,type:a}=e.data.payload;return(0,Ze.LE)({applicationType:a}),await N.push((0,Ze.Lg)(t))};(0,o.YP)(R,e=>{if(e&&e.response.status===Ct.SEE_OTHER){Le.c.info("Error status is %{statusCode}, so opening new tab to view %{href}",{statusCode:Ct.SEE_OTHER,href:window.location.href});const e=new URL(window.location.href);e.searchParams.append("cleanReload",!0),window.location.assign(e.toString())}else e&&(Le.c.info("Error on product details %{errorMessage}, navigating to %{landing}",{errorMessage:e.message,landing:Be.OH.LANDING}),N.replace({name:Be.OH.LANDING}))});const V=(0,o.Fl)(()=>{var e;return(null===(e=(0,l.SU)(m))||void 0===e?void 0:e.some(({offer:e})=>(0,p.xR)(e)))||!1}),Q=(0,o.Fl)(()=>{var e;return(null===(e=(0,l.SU)(m))||void 0===e?void 0:e.some(({offer:e})=>!!h.value&&(0,We.zb)(e,h.value)))||!1}),G=(0,o.Fl)(()=>{var e;return(null===(e=(0,l.SU)(m))||void 0===e?void 0:e.some(({offer:e})=>(0,p.K_)(e)))||!1}),Y=(0,o.Fl)(()=>{var e;return(null===(e=(0,l.SU)(m))||void 0===e?void 0:e.some(({offer:e})=>(0,je.x)(e)>0))||!1}),q=(0,o.Fl)(()=>{var e;return!(!m.value||0===m.value.length)&&!(null===(e=m.value[0].offer.fullLineSizeContingencies)||void 0===e||!e.length)}),X=(0,o.Fl)(()=>{var e;return!!q.value&&!(null===(e=m.value[0].offer.fullLineSizeContingencies)||void 0===e||!e.find(e=>e.type===r.FullCreditLineContingencyType.passPaymentPerformanceHardCut))}),J=(0,o.Fl)(()=>{var e;return h.value?(0,d.gQ)(null!==(e=h.value.cashbackRatio)&&void 0!==e?e:0):0}),$=(0,o.Fl)(()=>h.value?(0,d.mq)(h.value.MinCOFeePercent):0),K=(0,o.Fl)(()=>{var e;return h.value?(0,d.Xs)(null!==(e=h.value.firstDrawFeePercent)&&void 0!==e?e:0):""}),ie=(0,o.Fl)(()=>h.value&&h.value.cashOutUpfrontLineSizeDrawRatio?(0,d.mq)(h.value.cashOutUpfrontLineSizeDrawRatio):""),re=(0,o.Fl)(()=>{var e;return h.value?(0,d.mq)(null!==(e=h.value.primeV3LineSizeDrawRatio)&&void 0!==e?e:0):""}),se=(0,o.Fl)(()=>{var e;return h.value?(0,d.Q1)(null!==(e=h.value.primeV3AprReduction)&&void 0!==e?e:0):""}),ue=(0,o.Fl)(()=>{var e;return(null===(e=(0,l.SU)(m))||void 0===e?void 0:e.every(({metadata:e})=>e.isFixedTermPaymentOffer))||!1}),de=(0,o.Fl)(()=>{var e;return(null===(e=(0,l.SU)(m))||void 0===e?void 0:e.some(({metadata:e})=>e.isHelocRefiOffer))||!1}),fe=(0,o.Fl)(()=>{var e;return(null===(e=(0,l.SU)(m))||void 0===e?void 0:e.some(({metadata:e})=>e.isFixedTermPaymentOffer))||!1}),ce=(0,o.Fl)(()=>{var e;return(null===(e=m.value)||void 0===e?void 0:e.some(({metadata:e})=>e.isHelocRefiOffer&&e.isFixedTermPaymentOffer))||!1}),pe=(0,o.Fl)(()=>A.value===r.EscrowElection.optedIn),we=(0,o.Fl)(()=>b.value&&pe.value),ve=(0,o.Fl)(()=>{var e;return!0===(null===(e=h.value)||void 0===e?void 0:e.enableFirstLienRefi)}),me=(0,o.Fl)(()=>{var e,t,a;return null!==(e=null===(t=m.value)||void 0===t||null===(a=t[0])||void 0===a?void 0:a.offer)&&void 0!==e?e:null}),{firstLienOfferMortgageAmount:ge,firstLienOfferTermYears:he,effectiveRecordingCharges:_e}=(0,It.Bx)(me),xe=(0,o.Fl)(()=>{if(!m.value)return[];let e=!1;return m.value.filter(({metadata:t})=>{if(t.isFirstLienRefiOffer){if(e)return!1;e=!0}return!0})}),Ee=(0,o.Fl)(()=>{var e,t,a;return null!==(e=null===(t=D.value)||void 0===t||null===(a=t.secondLienInfo)||void 0===a?void 0:a.lienBalanceAmount)&&void 0!==e?e:0}),Re=(0,o.Fl)(()=>{var e,t,a,o;return 100*(null!==(e=null===(t=m.value)||void 0===t||null===(a=t[0])||void 0===a||null===(o=a.offer)||void 0===o?void 0:o.priorLienPayoffFee)&&void 0!==e?e:0)}),Te=(0,o.Fl)(()=>Ee.value*(Re.value/100)),De=(0,o.Fl)(()=>{var e,t,a,o;return null!==(e=null===(t=m.value)||void 0===t||null===(a=t[0])||void 0===a||null===(o=a.offer)||void 0===o?void 0:o.cashOutUpFrontAmountExcludingFee)&&void 0!==e?e:0}),Oe=e=>e.isHelocRefiOffer&&e.isFixedTermPaymentOffer?"Aven Cash Details":e.isHelocRefiOffer?"Offer Details":"Details",be=e=>{if(!h.value||!h.value.allowedInstallmentTermLengthInMonths)return[];const t=Object.keys(h.value.allowedInstallmentTermLengthInMonths).map(Number).sort((e,t)=>
1e-t);let a=t[0];for(const l of t){if(!(l<=e))break;a=l}const o=h.value.allowedInstallmentTermLengthInMonths[a];return Le.c.info("find allowedTerms for lineSize=%{allowedTermsValue}: %{allowedTerms}",{allowedTermsValue:o,allowedTerms:(0,Le.X)(o)}),o},Ae=(0,o.Fl)(()=>{const e=y.value?x.value.filter(e=>{var t;return e.rewardName!==(null===(t=y.value)||void 0===t?void 0:t.rewardName)}):x.value;return[...e].sort((e,t)=>{var a,o;return(null!==(a=t.cashbackAsPercentage)&&void 0!==a?a:0)-(null!==(o=e.cashbackAsPercentage)&&void 0!==o?o:0)})}),ke=e=>{if(y.value){const t=Ht.o[y.value.rewardName],a=t.getFormattedReward(r.RewardFormat.HUMAN_READABLE,{rewardsCheckingBundleMinCycleLimitDollars:e.rewardsCheckingBundleMinCycleLimitDollars});return Mt.a.t("pages.origination.productDetails.shared.getAvenVisaCardWithBoost",{cashbackBoostHumanReadable:a})}return e.isHelocRefiOffer?Mt.a.t("pages.origination.productDetails.helocRefi.getAvenVisaCard",{cashback:J.value}):Mt.a.t("pages.origination.productDetails.shared.getAvenVisaCard",{cashback:J.value})},Se=(0,o.Fl)(()=>{var e,t;return null!==(e=null===(t=h.value)||void 0===t?void 0:t.teaserBalanceTransferPromoApr)&&void 0!==e?e:null}),Ue=(0,o.Fl)(()=>{var e,t;return null!==(e=null===(t=h.value)||void 0===t?void 0:t.teaserBalanceTransferPromoDurationInMonth)&&void 0!==e?e:null}),Ce=(0,o.Fl)(()=>{var e,t;return null!==(e=null===(t=h.value)||void 0===t?void 0:t.teaserBalanceTransferPromoFeePercent)&&void 0!==e?e:null}),Fe=(0,o.Fl)(()=>{var e;return!0===(null===(e=h.value)||void 0===e?void 0:e.teaserPromoEnabled)&&null!==Se.value&&null!==Ue.value&&null!==Ce.value});return(0,o.bv)(async()=>{(0,g.Kz)("view_product_details_page")}),(e,r)=>(0,l.SU)(f)?((0,o.wg)(),(0,o.j4)(Me.Z,{key:0,loading:!1},{default:(0,o.w5)(()=>[(0,o.Wm)(ze.Z,{"return-token":t.returnToken,"jodl-return-otp":(0,l.SU)(a),onIssued:(0,l.SU)(c),onError:(0,l.SU)(w)},null,8,["return-token","jodl-return-otp","onIssued","onError"])]),_:1})):((0,o.wg)(),(0,o.j4)(Me.Z,{key:1,loading:(0,l.SU)(E)},{default:(0,o.w5)(()=>[(0,l.SU)(v)&&(0,l.SU)(m)&&(0,l.SU)(h)?((0,o.wg)(),(0,o.iD)("div",Zt,[(0,o._)("h2",jt," Congrats"+(0,n.zw)((0,l.SU)(v).firstName?` ${(0,l.SU)(Pt.J8)((0,l.SU)(v).firstName)}`:"")+"! Here are some details about your Aven offer. ",1),((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(xe.value,({offer:t,metadata:a,isOffer:s},f)=>{var c,p,w;return(0,o.wg)(),(0,o.iD)("div",{class:"tw-flex tw-flex-col tw-gap-10",key:f},[(0,o._)("div",Vt,[a.isHelocRefiOffer&&a.isFixedTermPaymentOffer&&!ve.value?((0,o.wg)(),(0,o.iD)("p",Qt," Details ")):a.isHelocRefiOffer&&a.isFixedTermPaymentOffer||ve.value?(0,o.kq)("",!0):((0,o.wg)(),(0,o.iD)("p",Gt,(0,n.zw)(Oe(a)),1)),a.isHelocRefiOffer&&!a.isFixedTermPaymentOffer?((0,o.wg)(),(0,o.iD)("div",Yt,[(0,l.SU)(E)?(0,o.kq)("",!0):((0,o.wg)(),(0,o.j4)(ee,{key:0,offer:t,"open-footnotes-modal":M(),"is-product-details":!0},null,8,["offer","open-footnotes-modal"]))])):a.isHelocRefiOffer&&a.isFixedTermPaymentOffer?((0,o.wg)(),(0,o.iD)("div",qt,[(0,o.Wm)(Ft,{offer:t,"open-footnotes-modal":M(),"heloc-refi-details":(0,l.SU)(D),"is-product-details":!0},null,8,["offer","open-footnotes-modal","heloc-refi-details"])])):ve.value?((0,o.wg)(),(0,o.iD)("div",Xt,[(0,o.Wm)(Nt.Z,{offer:t,"open-footnotes-modal":I},null,8,["offer"])])):a.isFixedTermPaymentOffer?((0,o.wg)(),(0,o.iD)("div",Jt,[(0,o.Wm)(ae.Z,{offer:t,index:f,"open-footnotes-modal":H,"has-submit-function":!1},null,8,["offer","index"])])):((0,o.wg)(),(0,o.iD)("div",$t,[(0,o.Wm)(oe.Z,{offer:t,index:f,"has-teaser-promotion":a.hasTeaserPromotion,"cash-out-up-front-experience":a.isCashOutUpFrontOffer,"has-boost-cash-back":a.hasBoostCashback,"has-prime-v2-offer":V.value,"has-closing-charges":Y.value,"has-full-line-size-contingencies":q.value,"has-full-line-size-payment-performance-contingency":X.value,"has-high-bt-co-fee":G.value,"has-submit-function":!1,"open-footnotes-modal":I,"underwriting-metadata":(0,l.SU)(h),"is-product-details":!0},null,8,["offer","index","has-teaser-promotion","cash-out-up-front-experience","has-boost-cash-back","has-prime-v2-offer","has-closing-charges","has-full-line-size-contingencies","has-full-line-size-payment-performance-contingency","has-high-bt-co-fee","underwriting-metadata"])])),s&&!W?((0,o.wg)(),(0,o.iD)("div",{key:7,class:(0,n.C_)(a.isHelocRefiOffer&&a.isFixedTermPaymentOffer?"tw-underline tw-text-center tw-text-xs tw-cursor-pointer tw-mt-4":"tw-underline text-center small tw-cursor-pointer"),onClick:Z,onKeydown:(0,i.D2)(Z,["enter"])}," Terms & Conditions ",34)):(0,o.kq)("",!0)]),a.isHelocRefiOffer&&a.isFixedTermPaymentOffer||ve.value?(0,o.kq)("",!0):((0,o.wg)(),(0,o.iD)("div",Kt,[r[22]||(r[22]=(0,o._)("p",{class:"tw-text-xs tw-m-0 tw-text-center tw-font-bold tw-tracking-[2px] tw-uppercase","data-testid":"product-details-highlights-header"}," Highlights ",-1)),a.isHelocRefiOffer?((0,o.wg)(),(0,o.iD)("ul",ea,[(0,o._)("li",ta,(0,n.zw)(e.$t("pages.origination.productDetails.helocRefi.transferYourBalance",{lenderName:null===(c=(0,l.SU)(D))||void 0===c?void 0:c.secondLienInfo.lienLenderName,termLength:null===(p=(0,l.SU)(D))||void 0===p?void 0:p.repaymentData.maturityPeriodYears})),1),(0,o._)("li",aa,[(0,o._)("span",null,(0,n.zw)(ke(a)),1),(0,o.Wm)(u.Z,{"open-modal":L},{default:(0,o.w5)(()=>r[0]||(r[0]=[(0,o._)("sup",null,"2",-1)])),_:1})]),(0,o.Wm)(Bt,{rewards:Ae.value,show:(0,l.SU)(O)},null,8,["rewards","show"]),(0,o._)("li",oa,[(0,o._)("span",null,(0,n.zw)(e.$t("pages.origination.productDetails.helocRefi.cashOut",{BTCOFee:$.value})),1),(0,o.Wm)(u.Z,{"open-modal":L},{default:(0,o.w5)(()=>r[1]||(r[1]=[(0,o._)("sup",null,"1",-1)])),_:1})]),(0,o._)("li",la,[(0,o._)("span",null,(0,n.zw)(e.$t("pages.origination.productDetails.shared.noCancellationOrFee")),1),(0,o.Wm)(u.Z,{"open-modal":L},{default:(0,o.w5)(()=>r[2]||(r[2]=[(0,o._)("sup",null,"1",-1)])),_:1})])])):a.isFixedTermPaymentOffer?((0,o.wg)(),(0,o.iD)("ul",na,[(0,o._)("li",ia,[(0,o._)("span",null,(0,n.zw)(e.$t("pages.origination.productDetails.fixedTerm.initialCashup",{termLength:(null!==(w=null===t||void 0===t?void 0:t.fixedTermMonths)&&void 0!==w?w:0)/12,firstDrawFeePercent:K.value})),1),(0,o.Wm)(u.Z,{"open-modal":H},{default:(0,o.w5)(()=>r[3]||(r[3]=[(0,o._)("sup",null,"1",-1)])),_:1})]),(0,o._)("li",{"data-testid":"highlight-fixed-term-monthly-payments",innerHTML:e.$sanitizeHtml(e.$t("pages.origination.productDetails.fixedTerm.fixedMonthlyPaymentsPlan",{allowedTermLengths:(0,l.SU)(d.jy)(be(t.lineSize))}),"/workspace/build/buildkite/aven_frontend/aven/src/pages/auth/ProductDetails.vue:529")},null,8,ra),(0,o._)("li",sa,(0,n.zw)(e.$t("pages.origination.productDetails.fixedTerm.fixedApr")),1),(0,o._)("li",ua,[(0,o._)("span",null,(0,n.zw)(e.$t("pages.origination.productDetails.fixedTerm.noFeesOnSubsequent")),1),(0,o.Wm)(u.Z,{"open-modal":H},{default:(0,o.w5)(()=>r[4]||(r[4]=[(0,o._)("sup",null,"1",-1)])),_:1})]),(0,o._)("li",da,[(0,o._)("span",null,(0,n.zw)(e.$t("pages.origination.productDetails.shared.noCancellationOrFee")),1),(0,o.Wm)(u.Z,{"open-modal":H},{default:(0,o.w5)(()=>r[5]||(r[5]=[(0,o._)("sup",null,"1",-1)])),_:1})]),(0,o.Wm)(Bt,{rewards:Ae.value,show:(0,l.SU)(O)},null,8,["rewards","show"])])):a.isCashOutUpFrontOffer?((0,o.wg)(),(0,o.iD)("ul",fa,[(0,o._)("li",null,(0,n.zw)(e.$t("pages.origination.productDetails.cashoutUpFront.initialCashup",{ratio:ie.value,BTCOFee:$.value})),1),(0,o._)("li",null,[(0,o._)("span",null,(0,n.zw)(ke(a)),1),(0,o.Wm)(u.Z,{"open-modal":I},{default:(0,o.w5)(()=>r[6]||(r[6]=[(0,o._)("sup",null,"1",-1)])),_:1})]),(0,o.Wm)(Bt,{rewards:Ae.value,show:(0,l.SU)(O)},null,8,["rewards","show"]),(0,o._)("li",null,[(0,o._)("span",null,(0,n.zw)(e.$t("pages.origination.productDetails.cashoutUpFront.additionalCashouts",{BTCOFee:$.value})),1),(0,o.Wm)(u.Z,{"open-modal":I},{default:(0,o.w5)(()=>r[7]||(r[7]=[(0,o._)("sup",null,"1",-1)])),_:1})]),(0,o._)("li",null,(0,n.zw)(e.$t("pages.origination.productDetails.shared.fixedMonthlyPaymentsPlan",{allowedTermLengths:(0,l.SU)(d.jy)(be(t.lineSize))})),1),(0,o._)("li",null,(0,n.zw)(e.$t("pages.origination.productDetails.shared.noCancellationOrFee")),1)])):a.isLowAndGrowOffer?((0,o.wg)(),(0,o.iD)("ul",ca,[(0,o._)("li",pa,(0,n.zw)(e.$t("pages.origination.productDetails.lowAndGrow.startWith")),1),(0,o._)("li",wa,[(0,o._)("span",null,(0,n.zw)(ke(a)),1),(0,o.Wm)(u.Z,{"open-modal":I},{default:(0,o.w5)(()=>r[8]||(r[8]=[(0,o._)("sup",null,"2",-1)])),_:1})]),(0,o.Wm)(Bt,{rewards:Ae.value,show:(0,l.SU)(O)},null,8,["rewards","show"]),(0,o._)("li",va,[(0,o._)("span",null,(0,n.zw)(e.$t("pages.origination.productDetails.shared.BTCO",{BTCOFee:$.value})),1),(0,o.Wm)(u.Z,{"open-modal":I},{default:(0,o.w5)(()=>r[9]||(r[9]=[(0,o._)("sup",null,"1",-1)])),_:1})]),(0,o._)("li",ma,(0,n.zw)(e.$t("pages.origination.productDetails.shared.fixedMonthlyPaymentsPlan",{allowedTermLengths:(0,l.SU)(d.jy)(be(t.lineSize))})),1),(0,o._)("li",ga,[(0,o._)("span",null,(0,n.zw)(e.$t("pages.origination.productDetails.shared.fees")),1),(0,o.Wm)(u.Z,{"open-modal":I},{default:(0,o.w5)(()=>r[10]||(r[10]=[(0,o._)("sup",null,"1",-1)])),_:1})])])):a.isPrimeV3Offer?((0,o.wg)(),(0,o.iD)("ul",ha,[(0,o._)("li",_a,[(0,o._)("span",null,(0,n.zw)(ke(a)),1),(0,o.Wm)(u.Z,{"open-modal":I},{default:(0,o.w5)(()=>r[11]||(r[11]=[(0,o._)("sup",null,"2",-1)])),_:1})]),(0,o.Wm)(Bt,{rewards:Ae.value,show:(0,l.SU)(O)},null,8,["rewards","show"]),(0,o._)("li",xa,[(0,o._)("span",null,(0,n.zw)(e.$t("pages.origination.productDetails.shared.BTCO",{BTCOFee:$.value})),1),(0,o.Wm)(u.Z,{"open-modal":I},{default:(0,o.w5)(()=>r[12]||(r[12]=[(0,o._)("sup",null,"1",-1)])),_:1})]),(0,o._)("li",ya,(0,n.zw)(e.$t("pages.origination.productDetails.shared.fixedMonthlyPaymentsPlan",{allowedTermLengths:(0,l.SU)(d.jy)(be(t.lineSize))})),1),(0,o._)("li",Ea,[(0,o._)("span",null,(0,n.zw)(e.$t("pages.origination.productDetails.shared.fees")),1),(0,o.Wm)(u.Z,{"open-modal":I},{default:(0,o.w5)(()=>r[13]||(r[13]=[(0,o._)("sup",null,"1",-1)])),_:1})]),(0,o._)("li",Ra,[(0,o._)("span",null,(0,n.zw)(e.$t("pages.origination.productDetails.primeV3.aprDiscount",{ratio:re.value,aprDiscount:se.value,effectiveDays:(0,l.SU)(h).primeV3LineSizeDrawEffectiveDays})),1),(0,o.Wm)(u.Z,{"open-modal":I},{default:(0,o.w5)(()=>r[14]||(r[14]=[(0,o._)("sup",null,"1",-1)])),_:1})])])):Fe.value?((0,o.wg)(),(0,o.iD)("ul",Ta,[(0,o._)("li",Da,[(0,o._)("span",null,(0,n.zw)(e.$t("pages.origination.productDetails.balanceTransferTeaserPromo.teaserApr",{teaserApr:Se.value,months:Ue.value})),1),(0,o.Wm)(u.Z,{"open-modal":I},{default:(0,o.w5)(()=>r[15]||(r[15]=[(0,o._)("sup",null,"â¡",-1)])),_:1})]),(0,o._)("li",Oa,[(0,o._)("span",null,(0,n.zw)(e.$t("pages.origination.productDetails.balanceTransferTeaserPromo.btFee",{btFee:Ce.value,months:Ue.value})),1),(0,o.Wm)(u.Z,{"open-modal":I},{default:(0,o.w5)(()=>r[16]||(r[16]=[(0,o._)("sup",null,"1",-1)])),_:1})]),(0,o._)("li",ba,[(0,o._)("span",null,(0,n.zw)(ke(a)),1),(0,o.Wm)(u.Z,{"open-modal":I},{default:(0,o.w5)(()=>r[17]||(r[17]=[(0,o._)("sup",null,"2",-1)])),_:1})]),(0,o.Wm)(Bt,{rewards:Ae.value,show:(0,l.SU)(O)},null,8,["rewards","show"]),(0,o._)("li",Aa,(0,n.zw)(e.$t("pages.origination.productDetails.shared.fixedMonthlyPaymentsPlan",{allowedTermLengths:(0,l.SU)(d.jy)(be(t.lineSize))})),1),(0,o._)("li",ka,[(0,o._)("span",null,(0,n.zw)(e.$t("pages.origination.productDetails.shared.fees")),1),(0,o.Wm)(u.Z,{"open-modal":I},{default:(0,o.w5)(()=>r[18]||(r[18]=[(0,o._)("sup",null,"1",-1)])),_:1})])])):((0,o.wg)(),(0,o.iD)("ul",Sa,[(0,o._)("li",Ua,[(0,o._)("span",null,(0,n.zw)(ke(a)),1),(0,o.Wm)(u.Z,{"open-modal":I},{default:(0,o.w5)(()=>r[19]||(r[19]=[(0,o._)("sup",null,"2",-1)])),_:1})]),(0,o.Wm)(Bt,{rewards:Ae.value,show:(0,l.SU)(O)},null,8,["rewards","show"]),(0,o._)("li",Ca,[(0,o._)("span",null,(0,n.zw)(e.$t("pages.origination.productDetails.shared.BTCO",{BTCOFee:$.value})),1),(0,o.Wm)(u.Z,{"open-modal":I},{default:(0,o.w5)(()=>r[20]||(r[20]=[(0,o._)("sup",null,"1",-1)])),_:1})]),(0,o._)("li",Fa,(0,n.zw)(e.$t("pages.origination.productDetails.shared.fixedMonthlyPaymentsPlan",{allowedTermLengths:(0,l.SU)(d.jy)(be(t.lineSize))})),1),(0,o._)("li",Pa,[(0,o._)("span",null,(0,n.zw)(e.$t("pages.origination.productDetails.shared.fees")),1),(0,o.Wm)(u.Z,{"open-modal":I},{default:(0,o.w5)(()=>r[21]||(r[21]=[(0,o._)("sup",null,"1",-1)])),_:1})])]))])),ve.value&&(0,l.SU)(ge)>0?((0,o.wg)(),(0,o.iD)("div",Na,[(0,o._)("p",Ia,(0,n.zw)(e.$t("pages.origination.productDetails.firstLien.refinanceDetails.title")),1),(0,o._)("ul",La,[(0,o._)("li",null,(0,n.zw)(e.$t("pages.origination.productDetails.firstLien.refinanceDetails.description",{termYears:(0,l.SU)(he)})),1)])])):(0,o.kq)("",!0),we.value?((0,o.wg)(),(0,o.iD)("div",Ha,[(0,o._)("p",Ma,(0,n.zw)(e.$t("pages.origination.productDetails.firstLien.escrowDetails.title")),1),(0,o._)("ul",za,[(0,o._)("li",null,(0,n.zw)(e.$t("pages.origination.productDetails.firstLien.escrowDetails.propertyTaxes")),1),(0,o._)("li",null,[(0,o._)("span",null,(0,n.zw)(e.$t("pages.origination.productDetails.firstLien.escrowDetails.earnApy")),1
1),(0,o.Wm)(u.Z,{"open-modal":I},{default:(0,o.w5)(()=>r[23]||(r[23]=[(0,o._)("sup",null,"2",-1)])),_:1})])])])):(0,o.kq)("",!0),ve.value?((0,o.wg)(),(0,o.iD)("div",Wa,[(0,o._)("p",Ba,(0,n.zw)(e.$t("pages.origination.productDetails.firstLien.offerDetails.title")),1),(0,o._)("ul",Za,[(0,o._)("li",null,(0,n.zw)(e.$t("pages.origination.productDetails.firstLien.offerDetails.noCancellationFee")),1),(0,o._)("li",null,[(0,o._)("span",null,(0,n.zw)(e.$t("pages.origination.productDetails.firstLien.offerDetails.getVisaCard",{cashback:J.value})),1),(0,o.Wm)(u.Z,{"open-modal":I},{default:(0,o.w5)(()=>r[24]||(r[24]=[(0,o._)("sup",null,"1",-1)])),_:1})]),(0,o._)("li",null,(0,n.zw)(e.$t("pages.origination.productDetails.firstLien.offerDetails.redrawAC")),1),(0,l.SU)(_e)>0?((0,o.wg)(),(0,o.iD)("li",ja,(0,n.zw)(e.$t("pages.origination.productDetails.firstLien.offerDetails.recordingCost",{amount:`$${(0,l.SU)(_e)}`})),1)):(0,o.kq)("",!0)]),W?(0,o.kq)("",!0):((0,o.wg)(),(0,o.iD)("div",{key:0,class:"tw-underline tw-text-center tw-text-xs tw-cursor-pointer",onClick:Z,onKeydown:(0,i.D2)(Z,["enter"])}," View Terms & Conditions ",32))])):(0,o.kq)("",!0),!we.value||a.isFirstLienRefiOffer||a.isHelocRefiOffer?(0,o.kq)("",!0):((0,o.wg)(),(0,o.iD)("div",Va,[(0,o._)("p",Qa,(0,n.zw)(e.$t("pages.origination.productDetails.firstLien.offerDetails.title")),1),a.isFixedTermPaymentOffer?((0,o.wg)(),(0,o.iD)("ul",Ga,[(0,o._)("li",null,(0,n.zw)(e.$t("pages.origination.productDetails.firstLien.offerDetails.noCancellationFee")),1),(0,o._)("li",null,[(0,o._)("span",null,(0,n.zw)(e.$t("pages.origination.productDetails.firstLien.offerDetails.getVisaCard",{cashback:J.value})),1),(0,o.Wm)(u.Z,{"open-modal":I},{default:(0,o.w5)(()=>r[25]||(r[25]=[(0,o._)("sup",null,"1",-1)])),_:1})]),(0,o._)("li",null,(0,n.zw)(e.$t("pages.origination.productDetails.firstLien.offerDetails.redrawAC")),1),(0,l.SU)(_e)>0?((0,o.wg)(),(0,o.iD)("li",Ya,(0,n.zw)(e.$t("pages.origination.productDetails.firstLien.offerDetails.recordingCost",{amount:`$${(0,l.SU)(_e)}`})),1)):(0,o.kq)("",!0)])):((0,o.wg)(),(0,o.iD)("ul",qa,[(0,o._)("li",null,(0,n.zw)(e.$t("pages.origination.productDetails.firstLien.offerDetails.noCancellationOriginationFee")),1),(0,o._)("li",null,[(0,o._)("span",null,(0,n.zw)(e.$t("pages.origination.productDetails.firstLien.offerDetails.getVisaCardMoap",{cashback:J.value})),1),(0,o.Wm)(u.Z,{"open-modal":I},{default:(0,o.w5)(()=>r[26]||(r[26]=[(0,o._)("sup",null,"1",-1)])),_:1})]),(0,o._)("li",null,(0,n.zw)(e.$t("pages.origination.productDetails.firstLien.offerDetails.cashOutMoap",{feePercent:$.value})),1),(0,l.SU)(_e)>0?((0,o.wg)(),(0,o.iD)("li",Xa,(0,n.zw)(e.$t("pages.origination.productDetails.firstLien.offerDetails.recordingCost",{amount:`$${(0,l.SU)(_e)}`})),1)):(0,o.kq)("",!0)]))]))])}),128)),(0,o._)("div",Ja,["approved"===(0,l.SU)(T)||W?(0,o.kq)("",!0):((0,o.wg)(),(0,o.iD)("button",{key:0,class:"tw-bg-black tw-text-white tw-py-4 tw-font-bold tw-rounded-lg tw-border-none hover:tw-opacity-85","data-testid":"continue-application-button",onClick:j},(0,n.zw)(B?"Back to Application":"Continue Application"),1)),ce.value?(0,o.kq)("",!0):((0,o.wg)(),(0,o.iD)("div",$a,[(0,o._)("button",{class:"tw-bg-white tw-text-black tw-py-4 tw-font-bold tw-border tw-border-solid tw-border-gray-200 tw-rounded-lg hover:tw-bg-gray-100",onClick:z,"data-testid":"show-monthly-payment-table-button"},(0,n.zw)(ue.value?"Estimate Redraw Monthly Payment":"Estimate Monthly Payment"),1),r[27]||(r[27]=(0,o._)("p",{class:"tw-text-xs tw-text-gray-400 tw-font-normal tw-m-0 tw-text-center"}," Estimates are for cash outs and balance transfers on your remaining line (excludes your HELOC transfer) ",-1))]))]),F.value?((0,o.wg)(),(0,o.j4)(ne.Z,{key:0,ref_key:"paymentCalculatorRef",ref:S,"display-top-section-header":!0,"is-fixed-term-offer":ue.value,"should-show-cta":!1,"is-heloc-refi-offer":de.value},null,8,["is-fixed-term-offer","is-heloc-refi-offer"])):(0,o.kq)("",!0)])):(0,o.kq)("",!0),(0,o.Wm)(te.Z,{ref_key:"footnotesModal",ref:k},{default:(0,o.w5)(()=>[(0,o.Wm)(le.Z,{"has-prime-v3-offer":Q.value,"is-fixed-term-payment-offer":ue.value,"has-heloc-refi-offer":de.value,"show-standalone-cash-back-footnote":!ue.value},null,8,["has-prime-v3-offer","is-fixed-term-payment-offer","has-heloc-refi-offer","show-standalone-cash-back-footnote"])]),_:1},512),de.value&&!fe.value?((0,o.wg)(),(0,o.j4)(ye,{key:1,ref_key:"moapHelocRefiFootnotesModal",ref:U,"estimated-payoff-amount":Ee.value,"fee-amount":Te.value},null,8,["estimated-payoff-amount","fee-amount"])):(0,o.kq)("",!0),fe.value?((0,o.wg)(),(0,o.j4)(Ne,{key:2,ref_key:"avenCashFootnotesModal",ref:C,"is-heloc-refi":de.value,"estimated-payoff-amount":Ee.value,"estimated-cash-amount":De.value,"fee-amount":Te.value},null,8,["is-heloc-refi","estimated-payoff-amount","estimated-cash-amount","fee-amount"])):(0,o.kq)("",!0)]),_:1},8,["loading"]))}});const eo=Ka;var to=eo},7173:function(e,t,a){"use strict";a.d(t,{Z:function(){return R}});a(30140),a(65216);var o=a(83433),l=a(92902),n=a(97779),i=a(41110),r=a(61235);const s=(e,t)=>{const a=(0,l.iH)(null),o=(0,l.iH)(!1),n=(0,l.iH)(""),i=async(o=r.JodlOtpDeliveryMethod.sms)=>{const l=await e.beginApplicantReturn(t(),o);return l.status===r.JodlApplicantReturnStatus.challenge?a.value={sid:l.sid,phoneLast4:l.phoneLast4}:l.status!==r.JodlApplicantReturnStatus.issued&&l.status!==r.JodlApplicantReturnStatus.resetSession||(a.value=null),l},s=async l=>{if(!a.value)return{status:r.JodlApplicantReturnStatus.error,error:"No OTP challenge in progress"};o.value=!0,n.value="";try{const o=await e.verifyApplicantReturnOtp(t(),a.value.sid,l);return o.status===r.JodlApplicantReturnStatus.verified||o.status===r.JodlApplicantReturnStatus.resetSession?a.value=null:n.value="Your confirmation code has expired. Resend to try again.",o}finally{o.value=!1}},u=async(e=r.JodlOtpDeliveryMethod.sms)=>{n.value="",o.value=!0;try{return await i(e)}finally{o.value=!1}};return{otpChallenge:a,submitting:o,errorMessage:n,beginReturn:i,submitOtp:s,resendOtp:u}},u={key:0,class:"tw-bg-dark-yellow tw-rounded-lg tw-p-6 tw-flex tw-flex-col tw-gap-4",role:"alert","data-testid":"otp-unable-to-verify"},d={class:"tw-text-xl tw-mb-0"},f={class:"tw-font-bold"},c={class:"tw-flex tw-flex-col tw-gap-4"},p={class:"tw-flex tw-flex-col tw-gap-2"},w=["disabled","aria-invalid","aria-describedby"],v={key:0,id:"otp-code-error",class:"tw-text-sm tw-text-dark-red tw-mb-0",role:"alert","data-testid":"otp-code-error"},m={key:0,class:"tw-flex tw-flex-col tw-gap-2","data-testid":"otp-need-new-code"},g=["disabled"],h=["disabled"],_={class:"tw-flex tw-flex-col tw-gap-4"},x=["disabled"];var y=(0,o.aZ)({__name:"JodlReturnOtpEntry",props:{returnToken:{},jodlReturnOtp:{},unableToVerify:{type:Boolean}},emits:["issued","error","getHelp","contactSupport"],setup(e,{emit:t}){const a=e,y=t,{otpChallenge:E,submitting:R,errorMessage:T,beginReturn:D,submitOtp:O,resendOtp:b}=s(a.jodlReturnOtp,()=>a.returnToken),A=(0,l.iH)(""),k=(0,o.Fl)(()=>{var e,t;return`â¢â¢â¢-â¢â¢â¢-${null!==(e=null===(t=E.value)||void 0===t?void 0:t.phoneLast4)&&void 0!==e?e:""}`}),S=(0,o.Fl)(()=>6===A.value.length&&!R.value&&!a.unableToVerify);(0,o.YP)(A,e=>{const t=e.replace(/\D/g,"").slice(0,6);t!==e&&(A.value=t)}),(0,o.bv)(async()=>{try{const e=await D();e.status===r.JodlApplicantReturnStatus.issued?y("issued",e.data):e.status===r.JodlApplicantReturnStatus.error&&y("error",e.error)}catch(e){y("error","UNKNOWN_ERROR")}});const U=async(e=r.JodlOtpDeliveryMethod.sms)=>{try{const t=await b(e);t.status===r.JodlApplicantReturnStatus.error?y("error",t.error):t.status===r.JodlApplicantReturnStatus.issued&&y("issued",t.data)}catch(t){y("error","UNKNOWN_ERROR")}},C=async()=>
1{if(S.value)try{const e=await O(A.value);e.status===r.JodlApplicantReturnStatus.verified&&y("issued",e.data)}catch(e){y("error","UNKNOWN_ERROR")}};return(e,t)=>(0,l.SU)(E)?((0,o.wg)(),(0,o.iD)("form",{key:0,class:"tw-flex tw-flex-col tw-gap-10","data-testid":"otp-entry",onSubmit:(0,n.iM)(C,["prevent"])},[e.unableToVerify?((0,o.wg)(),(0,o.iD)("div",u,[t[5]||(t[5]=(0,o._)("div",{class:"tw-flex tw-flex-col"},[(0,o._)("p",{class:"tw-text-lg tw-font-bold tw-mb-0"}," Unable to verify your code "),(0,o._)("p",{class:"tw-text-base tw-mb-0"}," We were unable to verify your 6-digit code. Please contact our support team to continue your application. ")],-1)),(0,o._)("button",{class:"btn btn-primary tw-w-full",type:"button","data-testid":"otp-contact-support","event-name":"click_button_contact_support",onClick:t[0]||(t[0]=e=>y("contactSupport"))}," Contact Support ")])):(0,o.kq)("",!0),(0,o._)("p",d,[t[6]||(t[6]=(0,o.Uk)(" Welcome back. To continue your application, please enter the 6-digit code we sent to ")),(0,o._)("span",f,(0,i.zw)(k.value)+".",1)]),(0,o._)("div",c,[(0,o._)("div",p,[t[7]||(t[7]=(0,o._)("label",{for:"otp-code-input",class:"tw-text-sm tw-font-bold"}," Confirmation Code ",-1)),(0,o.wy)((0,o._)("input",{id:"otp-code-input","onUpdate:modelValue":t[1]||(t[1]=e=>A.value=e),type:"tel",inputmode:"numeric",autocomplete:"one-time-code",maxlength:"6",disabled:e.unableToVerify,"aria-invalid":!!(0,l.SU)(T),"aria-describedby":(0,l.SU)(T)?"otp-code-error":void 0,class:(0,i.C_)(["tw-h-14 tw-px-4 tw-text-lg tw-font-bold tw-text-left tw-rounded-lg tw-border tw-border-solid focus:tw-outline-none focus:tw-ring-0 focus:tw-shadow-none",(0,l.SU)(T)?"tw-border-red":"tw-border-theme-border"]),placeholder:"XXXâXXX","data-testid":"otp-code-input"},null,10,w),[[n.nr,A.value]]),(0,l.SU)(T)?((0,o.wg)(),(0,o.iD)("p",v,(0,i.zw)((0,l.SU)(T)),1)):(0,o.kq)("",!0)]),e.unableToVerify?(0,o.kq)("",!0):((0,o.wg)(),(0,o.iD)("div",m,[t[8]||(t[8]=(0,o._)("p",{class:"tw-text-sm tw-font-bold tw-mb-0"}," Need a new code? ",-1)),(0,o._)("button",{class:"tw-self-start tw-text-sm tw-underline tw-cursor-pointer tw-text-gray-600 tw-bg-transparent tw-border-0 tw-p-0",type:"button",disabled:(0,l.SU)(R),"data-testid":"otp-resend-text","event-name":"click_button_resend_text",onClick:t[2]||(t[2]=e=>U())}," Resend text ",8,g),(0,o._)("button",{class:"tw-self-start tw-text-sm tw-underline tw-cursor-pointer tw-text-gray-600 tw-bg-transparent tw-border-0 tw-p-0",type:"button",disabled:(0,l.SU)(R),"data-testid":"otp-call","event-name":"click_button_call_with_code",onClick:t[3]||(t[3]=e=>U((0,l.SU)(r.JodlOtpDeliveryMethod).call))}," Call with code ",8,h)]))]),(0,o._)("div",_,[(0,o._)("button",{class:"btn btn-primary tw-w-full",disabled:!S.value,type:"submit","data-testid":"otp-submit","event-name":"click_button_otp_submit"}," Continue ",8,x),(0,o._)("button",{class:"btn btn-secondary tw-w-full",type:"button","data-testid":"otp-get-help","event-name":"click_button_get_help",onClick:t[4]||(t[4]=e=>y("getHelp"))}," Get Help ")])],32)):(0,o.kq)("",!0)}});const E=y;var R=E},80113:function(e,t,a){"use strict";e.exports=a.p+"img/arrow-down.90955f6e.svg"},59824:function(e,t,a){"use strict";e.exports=a.p+"img/check-circled-non-filled.c6fd2ef3.svg"},21200:function(e,t,a){"use strict";e.exports=a.p+"img/home-flood.25a6c84b.svg"},87805:function(e,t,a){"use strict";e.exports=a.p+"img/icon-check-circle.4527add9.svg"},82123:function(e,t,a){"use strict";e.exports=a.p+"img/info.c62c3d4a.svg"},81930:function(e,t,a){"use strict";e.exports=a.p+"img/no-payment.cee39f98.svg"},23333:function(e,t,a){"use strict";e.exports=a.p+"img/red-arrow-down.ae8dbaec.svg"},42438:function(e,t,a){"use strict";e.exports=a.p+"img/right-arrow.abcfcdab.svg"},99749:function(e,t,a){"use strict";e.exports=a.p+"img/right-arrow-long.7a58af89.svg"},19169:function(e){"use strict";e.exports="data:image/webp;base64,UklGRrwQAABXRUJQVlA4ILAQAADwjgCdASqOAp0BPpFIoUulpDUqItC42qASCWlLb9NK7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7Es4UXabwEINwBXx8U7/s7l9z7QzNXqYRd3oz4OjcGAm0lEf2wx1NvHEq7TqbgXQ0TClzlYmhy0eyv8Xuj2GdGBU0OB9kfzU0oKnca5l2Og46rWVAaWjsxEyk/NUD5tip8XLwI5gH0C//IZcUFh8DP6BP7sRsALdJtKYzo1Br69yotlQ8htDLihDgRZKHa2NhLn6Fw5+0Cp34FXCQ9BB6PxL4f5gFqbQdUBrlvWam4kuo9+IWewAAAA="}}]);
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.