PageSourceSearch

https://www.totalqualitylending.com/_next/static/chunks/43e3c9a9cd36cdcc.js

js totalqualitylending.com collected 2026-10-02 00:34:36 UTC 31,397 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,871689,e=>{"use strict";let t=(0,e.i(475254).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["ArrowLeft",()=>t],871689)},269638,e=>{"use strict";let t=(0,e.i(475254).default)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);e.s(["CheckCircle",()=>t],269638)},346897,e=>{"use strict";let t=(0,e.i(475254).default)("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);e.s(["MapPin",()=>t],346897)},793479,e=>{"use strict";var t=e.i(843476),a=e.i(975157);function l({className:e,type:l,...r}){return(0,t.jsx)("input",{type:l,"data-slot":"input",className:(0,a.cn)("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",e),...r})}e.s(["Input",()=>l])},971693,84023,e=>{"use strict";var t=e.i(271645);let a={token:"",turnstileSiteKey:""},l=null,r=null;function i(e,t){let a=e[t];return"string"==typeof a?a:""}async function o(){try{var e;let t=await fetch("/api/partners/form-token",{method:"GET",cache:"no-store"});if(!t.ok)return a;let r=(e=await t.json(),"object"!=typeof e||null===e?a:{token:i(e,"token"),turnstileSiteKey:i(e,"turnstileSiteKey")});return(r.token||r.turnstileSiteKey)&&(l={config:r,fetchedAt:Date.now()}),r}catch{return a}}function n(){return l&&Date.now()-l.fetchedAt<54e5?Promise.resolve(l.config):r||(r=o().finally(()=>{r=null}))}e.s(["getFormConfig",()=>n],84023);let s=null;function d(){let e=(0,t.useRef)(null),a=(0,t.useRef)(null),l=(0,t.useRef)(null),r=(0,t.useRef)(null);return(0,t.useEffect)(()=>{let t=!1;return async function(){let i,{turnstileSiteKey:o}=await n();if(t||!o)return;let d=await (window.turnstile?Promise.resolve(window.turnstile):s||(s=new Promise(e=>{let t=document.createElement("script");t.src="https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit",t.async=!0,t.defer=!0,t.onload=()=>e(window.turnstile??null),t.onerror=()=>{s=null,e(null)},document.head.appendChild(t)})));if(t||!d)return;let c=((i=document.createElement("div")).style.cssText="position:fixed;bottom:0;left:0;width:0;height:0;overflow:hidden;opacity:0;pointer-events:none",i.setAttribute("aria-hidden","true"),document.body.appendChild(i),i),u=e=>{let t=r.current;r.current=null,t?.(e)},m=d.render(c,{sitekey:o,callback:e=>u(e),"error-callback":()=>u(""),"timeout-callback":()=>u(""),execution:"execute",appearance:"interaction-only",retry:"never"});t||!m?c.remove():(l.current=d,a.current=c,e.current=m)}(),()=>{t=!0,r.current?.(""),r.current=null,l.current&&e.current&&l.current.remove(e.current),a.current?.remove(),l.current=null,a.current=null,e.current=null}},[]),(0,t.useCallback)(async()=>{let t=l.current,a=e.current;if(!t||!a)return{};let i=await new Promise(e=>{let l=setTimeout(()=>{r.current=null,e("")},12e3);r.current=t=>{clearTimeout(l),e(t)};try{t.reset(a),t.execute(a)}catch{clearTimeout(l),r.current=null,e("")}});return i?{"x-turnstile-token":i}:{}},[])}e.s(["useTurnstile",()=>d],971693)},837714,618246,e=>{"use strict";var t=e.i(843476);let a="seq_ref";function l({inputRef:e}){return(0,t.jsx)("div",{"aria-hidden":"true",style:{display:"none"},children:(0,t.jsx)("input",{ref:e,type:"text",name:a,tabIndex:-1,autoComplete:"off",readOnly:!0,defaultValue:""})})}e.s(["HONEYPOT_FIELD",0,a],618246),e.s(["HoneypotField",()=>l],837714)},552160,e=>{"use strict";var t=e.i(503361),a=e.i(619534),l=e.i(386865);async function r(e){return Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256",
1new TextEncoder().encode(e))),e=>e.toString(16).padStart(2,"0")).join("")}async function i(e){var t;let a;if("u"<typeof crypto||!crypto.subtle)return;let l=e.email?function(e){let t=e.trim().toLowerCase(),a=t.lastIndexOf("@");if(a<1||a===t.length-1)return;let l=t.slice(a+1);if("gmail.com"!==l&&"googlemail.com"!==l)return t;let r=t.slice(0,a).split("+")[0].replace(/\./g,"");return r?`${r}@${l}`:void 0}(e.email):void 0,i=e.phone?(a=(t=e.phone).replace(/\D/g,""),t.trim().startsWith("+")?a.length>=8&&a.length<=15?`+${a}`:void 0:10===a.length?`+1${a}`:11===a.length&&a.startsWith("1")?`+${a}`:void 0):void 0,o={...l?{sha256_email_address:await r(l)}:{},...i?{sha256_phone_number:await r(i)}:{}};return Object.keys(o).length>0?o:void 0}async function o(e,a,l,r){let o=(0,t.isPrivacyOptedOut)()?void 0:await i(r).catch(()=>void 0),n=window.dataLayer=window.dataLayer??[];n.push({user_data:null}),n.push({event:"lead_accepted",form:e,lead_type:a,lead_id:l,...o?{user_data:o}:{}})}function n(e,t,r){let i=(0,a.newId)();(0,l.track)("form_submit",{form:e,lead_type:t,lead_id:i,status:"success"}),o(e,t,i,r).catch(()=>{})}e.s(["reportLeadAccepted",()=>n])},292738,166668,e=>{"use strict";var t=e.i(843476),a=e.i(271645),l=e.i(975157);function r({children:e,className:r,scroll:i=!0}){let o=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let e=o.current;if(!e||(e.focus({preventScroll:!0}),!i))return;let t=!1,a=()=>{if(t)return;let a=window.scrollY+e.getBoundingClientRect().top-108,l=document.documentElement,r=l.style.scrollBehavior;l.style.scrollBehavior="auto",window.scrollTo(window.scrollX,Math.max(a,0)),l.style.scrollBehavior=r},l=requestAnimationFrame(a),r=window.visualViewport;r?.addEventListener("resize",a);let n=()=>{t=!0};window.addEventListener("wheel",n,{passive:!0,once:!0}),window.addEventListener("touchmove",n,{passive:!0,once:!0});let s=window.setTimeout(n,700);return()=>{t=!0,cancelAnimationFrame(l),window.clearTimeout(s),r?.removeEventListener("resize",a),window.removeEventListener("wheel",n),window.removeEventListener("touchmove",n)}},[i]),(0,t.jsx)("div",{ref:o,tabIndex:-1,role:"status",className:(0,l.cn)("outline-none",r),children:e})}e.s(["FormSuccess",()=>r],292738);let i="Oops! Something went wrong while submitting the form. Please try again.";async function o(e){let t=await e.json().catch(()=>null);if(t&&"object"==typeof t){let e=t.message;if("string"==typeof e&&e.trim().length>0)return e}return i}e.s(["GENERIC_FORM_ERROR",0,i,"readFormErrorMessage",()=>o],166668)},643531,e=>{"use strict";var t=e.i(678745);e.s(["Check",()=>t.default])},24851,e=>{"use strict";var t=e.i(843476),a=e.i(762144),l=e.i(271645),r=e.i(519455),i=e.i(269638),o=e.i(972520),n=e.i(522016),s=e.i(164687),d=e.i(292738),c=e.i(334746),u=e.i(74152),m=e.i(166668),p=e.i(618246),h=e.i(386865),f=e.i(552160),x=e.i(362203),b=e.i(971693);let y={firstName:"",lastName:"",email:"",phone:"",notes:"",hasCoBorrower:!1,coBorrowerFirstName:"",coBorrowerLastName:""};function v({config:e,showIntro:r=!0,embedded:i=!1}){let[o,n]=(0,l.useState)(r?"intro":"questions"),[d,v]=(0,l.useState)(0),[N,k]=(0,l.useState)({}),[I,j]=(0,l.useState)(""),[C,T]=(0,l.useState)(!1),[S,q]=(0,l.useState)(y),L=(0,l.useRef)(null),R=(0,l.useRef)(!1),A=(0,b.useTurnstile)(),{steps:M,totalProgress:P}=e,O=M[d],E=O?(O.progressIndex??d)/P*100:0,W=M[0]?.type==="contact",B=(0,l.useCallback)(()=>{R.current||(R.current=!0,(0,h.track)("form_start",{form:e.slug}))},[e.slug]),F=(0,l.useCallback)(()=>{B(),n("questions")},[B]),$=(0,l.useCallback)(e=>{O&&(B(),k(t=>({...t,[O.id]:e})),v(t=>(0,u.nextStepIndex)(M,t,e)))},[O,B,M]),z=(0,l.useCallback)(e=>{O&&(B(),void 0!==e&&k(t=>({...t,[O.id]:e})),v(t=>(0,u.nextStepIndex)(M,t,e)))},[O,B,M]),D=(0,l.useCallback)(e=>{O&&k(t=>t[O.id]===e?t:{...t,[O.id]:e})},[O]),H=(0,l.useCallback)(()=>{d>0&&v(e=>e-1)},[d]),Y=(0,l.useCallback)((e,t)=>{B(),q(a=>({...a,[e]:"hasCoBorrower"===e?"true"===t:t}))},[B]),_=(0,l.useCallback)(async()=>{j(""),T(!0);try{let t=await fetch("/api/funnel/lead",{method:"POST",headers:{"Content-Type":"application/json",...await A()},body:JSON.stringify({slug:e.slug,answers:N,contact:{firstName:S.firstName.trim(),lastName:S.lastName.trim(),email:S.email.trim(),phone:S.phone.trim(),...S.notes.trim()?{notes:S.notes.trim()}:{},...S.hasCoBorrower&&S.coBorrowerFirstName.trim()&&S.coBorrowerLastName.trim()?{c
1oBorrower:{firstName:S.coBorrowerFirstName.trim(),lastName:S.coBorrowerLastName.trim()}}:{}},pageUrl:window.location.href,attribution:(0,c.getAttribution)(),[p.HONEYPOT_FIELD]:L.current?.value||void 0})});if(!t.ok)return void j(await (0,m.readFormErrorMessage)(t));(0,f.reportLeadAccepted)(e.slug,"borrower",S),n("complete")}catch{j(m.GENERIC_FORM_ERROR)}finally{T(!1)}},[N,e.slug,S]);return"complete"===o?(0,t.jsx)(w,{}):"intro"===o?(0,t.jsx)(a.LocalizedAttributes,{children:(0,t.jsx)(g,{title:e.title,description:e.description,onStart:F})}):(0,t.jsxs)("div",{className:"w-full",children:[!W&&(0,t.jsxs)("div",{className:"mb-8",children:[(0,t.jsx)("div",{className:"mb-2 flex items-center justify-end",children:(0,t.jsx)(x.TimeRemaining,{progressPercent:E})}),(0,t.jsx)("div",{className:"h-1.5 bg-white/10 rounded-full overflow-hidden",children:(0,t.jsx)("div",{className:"h-full bg-tql-blue transition-all duration-500 ease-out rounded-full",style:{width:`${Math.min(E,100)}%`}})})]}),O&&(0,t.jsx)(s.StepRenderer,{step:O,answers:N,onSelect:$,onBack:H,onNext:z,onChange:D,showBack:d>0,contactInfo:S,onContactChange:Y,onSubmit:_,isSubmitting:C,honeypotRef:L,embedded:i},O.id),I?(0,t.jsx)("p",{className:"mt-4 text-sm text-red-400",children:(0,t.jsx)(a.LocalizedText,{children:I})}):null]})}function g({title:e,description:l,onStart:i}){return(0,t.jsxs)("div",{className:"text-center md:text-left",children:[(0,t.jsx)("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-foreground leading-tight mb-4",children:(0,t.jsx)(a.LocalizedText,{children:"Let's build a plan that fits your goals"})}),(0,t.jsx)("p",{className:"text-tql-text-muted text-sm mb-2",children:(0,t.jsx)(a.LocalizedText,{children:e})}),(0,t.jsx)("p",{className:"text-tql-text-muted text-base md:text-lg mb-4 max-w-xl",children:(0,t.jsx)(a.LocalizedText,{children:l})}),(0,t.jsx)("p",{className:"text-tql-text-muted text-base md:text-lg mb-8 max-w-xl",children:(0,t.jsx)(a.LocalizedText,{children:"We don't just pre-qualify. We create purpose-driven lending strategies that help you scale smart and sustainably."})}),(0,t.jsxs)(r.Button,{onClick:i,className:"bg-tql-blue hover:bg-tql-blue-hover text-white h-12 px-8 rounded-xl text-base font-semibold",children:[(0,t.jsx)(a.LocalizedText,{children:"Start Questionnaire"}),(0,t.jsx)(o.ArrowRight,{className:"w-4 h-4 ml-2"})]})]})}function w(){return(0,t.jsxs)(d.FormSuccess,{className:"text-center py-8",children:[(0,t.jsx)("div",{className:"w-16 h-16 rounded-full bg-tql-blue/20 flex items-center justify-center mx-auto mb-6",children:(0,t.jsx)(i.CheckCircle,{className:"w-8 h-8 text-tql-blue"})}),(0,t.jsx)("h3",{className:"text-2xl md:text-3xl font-bold text-foreground mb-4",children:(0,t.jsx)(a.LocalizedText,{children:"All done"})}),(0,t.jsx)("p",{className:"text-tql-text-muted text-base md:text-lg mb-6 max-w-lg mx-auto",children:(0,t.jsx)(a.LocalizedText,{children:"At Total Quality Lending, we live by faith, family, and fitness and putting our clients first. We'll be in touch shortly to guide you through your next steps."})}),(0,t.jsxs)("p",{className:"text-foreground text-base font-semibold mb-8",children:[(0,t.jsx)(a.LocalizedText,{children:"Don't want to wait? Call us at"}),(0,t.jsx)(a.LocalizedText,{children:" "}),(0,t.jsx)("a",{href:"tel:(800)304-1925",className:"text-tql-blue hover:underline",children:(0,t.jsx)(a.LocalizedText,{children:"(800) 304-1925"})})]}),(0,t.jsx)(r.Button,{asChild:!0,className:"bg-tql-blue hover:bg-tql-blue-hover text-white h-12 px-8 rounded-xl text-base font-semibold",children:(0,t.jsx)(n.default,{href:"/",children:(0,t.jsx)(a.LocalizedText,{children:"Back to Home page"})})})]})}e.s(["FunnelForm",()=>v])},621381,e=>{"use strict";var t=e.i(843476),a=e.i(762144),l=e.i(271645),r=e.i(519455),i=e.i(975157),o=e.i(269638),n=e.i(522016);
1let s=[{code:"AL",name:"Alabama"},{code:"AK",name:"Alaska"},{code:"AZ",name:"Arizona"},{code:"AR",name:"Arkansas"},{code:"CA",name:"California"},{code:"CO",name:"Colorado"},{code:"CT",name:"Connecticut"},{code:"DE",name:"Delaware"},{code:"DC",name:"District of Columbia"},{code:"FL",name:"Florida"},{code:"GA",name:"Georgia"},{code:"HI",name:"Hawaii"},{code:"ID",name:"Idaho"},{code:"IL",name:"Illinois"},{code:"IN",name:"Indiana"},{code:"IA",name:"Iowa"},{code:"KS",name:"Kansas"},{code:"KY",name:"Kentucky"},{code:"LA",name:"Louisiana"},{code:"ME",name:"Maine"},{code:"MD",name:"Maryland"},{code:"MA",name:"Massachusetts"},{code:"MI",name:"Michigan"},{code:"MN",name:"Minnesota"},{code:"MS",name:"Mississippi"},{code:"MO",name:"Missouri"},{code:"MT",name:"Montana"},{code:"NE",name:"Nebraska"},{code:"NV",name:"Nevada"},{code:"NH",name:"New Hampshire"},{code:"NJ",name:"New Jersey"},{code:"NM",name:"New Mexico"},{code:"NY",name:"New York"},{code:"NC",name:"North Carolina"},{code:"ND",name:"North Dakota"},{code:"OH",name:"Ohio"},{code:"OK",name:"Oklahoma"},{code:"OR",name:"Oregon"},{code:"PA",name:"Pennsylvania"},{code:"RI",name:"Rhode Island"},{code:"SC",name:"South Carolina"},{code:"SD",name:"South Dakota"},{code:"TN",name:"Tennessee"},{code:"TX",name:"Texas"},{code:"UT",name:"Utah"},{code:"VT",name:"Vermont"},{code:"VA",name:"Virginia"},{code:"WA",name:"Washington"},{code:"WV",name:"West Virginia"},{code:"WI",name:"Wisconsin"},{code:"WY",name:"Wyoming"}],d=["FL","TN","CA","TX","NC","GA","IN","SC","VA","PA","CO","IL","OK","OR","OH","MI","AZ"],c=new Set(d),u=[{id:"purpose",question:"What brings you here today?",type:"choice",fieldName:"Purpose",progressIndex:1,options:[{value:"purchase",label:"Purchase a new property",icon:"home"},{value:"refinance",label:"Refinance my ‍current property",icon:"refinance"}]}
1,{id:"property-use",question:"How will this property be used?",type:"choice",fieldName:"Property-Use",progressIndex:2,options:[{value:"primary",label:"Primary",icon:"primary"},{value:"secondary",label:"Secondary",icon:"secondary"},{value:"investment",label:"Investment",icon:"investment"}]},{id:"first-time",question:"Are you a first time Home Buyer?",type:"choice",fieldName:"First-Time-Buyer",progressIndex:3,options:[{value:"yes",label:"Yes"},{value:"no",label:"No"}]},{id:"timeline",question:"When are you planning to make your purchase?",type:"choice",fieldName:"Timeline",progressIndex:4,options:[{value:"immediately",label:"Immediately Signed a Purchase Agreement"},{value:"asap",label:"ASAP Found a House / Offer Pending"},{value:"30-days",label:"Within 30 Days"},{value:"2-3-months",label:"2 – 3 Months"},{value:"3-6-months",label:"3 – 6 Months"},{value:"6-plus",label:"6+ Months"},{value:"researching",label:"No Time Frame Still Researching Options"}]},{id:"property-type",question:"What Type of Property Are You Looking For?",type:"choice",fieldName:"Property-Type",progressIndex:5,options:[{value:"single",label:"Single"},{value:"multi-2-4",label:"Multi-Family (2–4)"},{value:"multi-5-9",label:"Multi-Family (5–9)"},{value:"condo",label:"Condo"},{value:"townhome",label:"Townhome"},{value:"not-sure",label:"Not Sure"}]},{id:"specific-property",question:"Specific property in mind?",type:"choice",fieldName:"Specific-Property",progressIndex:6,options:[{value:"yes",label:"Yes"},{value:"no",label:"No"}]},{id:"property-address",question:"What is the address?",type:"address",fieldName:"Property-Address",placeholder:"Property Address",progressIndex:6},{id:"market-interest",question:"Which states are you interested in?",subtitle:"Select all that apply.",type:"multi-choice",fieldName:"Market-Interest",placeholder:"Search states",progressIndex:7,options:[...d.flatMap(e=>s.filter(t=>t.code===e)),...s.filter(e=>!c.has(e.code))].map(({code:e,name:t})=>({value:e,label:t}))},{id:"purchase-price",question:"What is Your Estimated Purchase Price?",type:"range-slider",fieldName:"Purchase-Price",progressIndex:8,rangeConfig:{min:1e5,max:1e6,step:1e4,prefix:"$",suffix:" +"}},{id:"down-payment",question:"How much do you currently have saved for a down payment?",type:"choice",fieldName:"Down-Payment",progressIndex:9,options:[{value:"5",label:"5% (Primary Only)"},{value:"10",label:"10%"},{value:"15",label:"15%"},{value:"20",label:"20%"},{value:"25",label:"25%"},{value:"30",label:"30%"}]},{id:"credit-score",question:"What Is Your Estimated Credit Score?",type:"choice",fieldName:"Credit-Score",progressIndex:10,options:[{value:"below-640",label:"<640"},{value:"640-plus",label:"640+"},{value:"680-plus",label:"680+"},{value:"700-plus",label:"700+"},{value:"740-plus",label:"740+"},{value:"780-plus",label:"780+"}]},{id:"scenario",question:"Which of These Scenarios Best Describe You?",subtitle:"Check if you are currently serving in the military or are a veteran.",type:"choice",fieldName:"Scenario",progressIndex:11,options:[{value:"w2-employed",label:"W-2 (Employed)"},{value:"1099-self-employed",label:"1099 Self-Employed"},{value:"retired",label:"Retired"},{value:"other",label:"Other"}]},{id:"qualification",question:"How Do You Intend to Qualify?",type:"choice",fieldName:"Qualification",progressIndex:12,options:[{value:"personal-income",label:"Using Personal Income and Debts"},{value:"property-income",label:"Using the Property’s Income Only"},{value:"assets-deposits",label:"Using my assets or my business bank deposits as income"}]},{id:"household-income",question:"What is your household gross income?",subtitle:"(This is income before taxes)",type:"choice",fieldName:"Household-Income",progressIndex:13,options:[{value:"200k-plus",label:"Greater than $200,000"},{value:"150k-200k",label:"$150,000 To $200,000"},{value:"100k-150k",label:"$100,000 To $150,000"},{value:"75k-100k",label:"$75,000 To $100,000"},{value:"50k-75k",label:"$50,000 To $75,000"},{value:"30k-50k",label:"$30,000 To $50,000"},{value:"below-30k",label:"Less than $30,000"}]},{id:"working-with-agent",question:"Are you working with an Agent?",type:"choice",fieldName:"Working-With-Agent",progressIndex:14,options:[{value:"yes",label:"Yes"},{value:"no",label:"No"}]},{id:"contact-info",question:"Contact Info",type:"contact",progressIndex:15}],m=[{id:"llc",question:"Do you plan on putting this property under a LLC?",type:"choice",fieldName:"LLC",progressIndex:2,options:[{value:"yes",label:"Yes"},{value:"no",label:"No"}]},{id:"rental-type",question:"How is the property being rented?",type:"choice",fieldName:"Rental-Type",progressIndex:3,options:[{value:"short-term",label:"Short Term Rental"},{value:"long-term",label:"Long Term Rental"}]},{id:"investment-count",question:"How many investment properties do you currently own?",type:"choice",fieldName:"Investment-Count",progressIndex:4,options:[{value:"0",label:"0"},{value:"1-2",label:"1-2"},{value:"3-5",label:"3-5"},{value:"6-plus",label:"6+"}]},{id:"primary-residence",question:"Have you owned your primary residence for the last 12 months?",type:"choice",fieldName:"Primary-Residence-12m",progressIndex:5,options:[{value:"yes",label:"Yes"},{value:"no",label:"No"}]},{id:"refi-market-interest",question:"What Market are you interested in?",type:"text-input",fieldName:"Refi-Market-Interest",placeholder:"City, State or Zip Code",progressIndex:6},{id:"refi-address",question:"What’s your current address?",subtitle:"Our secure platform ensures your information is kept confidential",type:"address",fieldName:"Current-Address",placeholder:"Current Address",progressIndex:7},{id:"refi-property-type",question:"What Type of Property is it?",type:"choice",fieldName:"Refi-Property-Type",progressIndex:8,options:[{value:"single",label:"Single"},{value:"multi-2-4",label:"Multi-Family (2–4)"},{value:"multi-5-9",label:"Multi-Family (5–9)"},{value:"condo",label:"Condo"},{value:"townhome",label:"Townhome"},{value:"not-sure",label:"Not Sure"}]},{id:"refi-goal",question:"What is your primary goal for refinancing?",type:"choice",fieldName:"Refi-Goal",progressIndex:9,options:[{value:"lower-rate",label:"Lower my interest rate"},{value:"cash-out",label:"Cash-out (access equity)"},{value:"change-term",label:"Change loan term (e.g., 30 15 years)"},{value:"switch-type",label:"Switch loan type FHA Conventional, etc."},{value:"add-remove-borrower",label:"Add/remove borrower"},{value:"move-to-llc",label:"Move property to LLC"}]}
1,{id:"refi-property-use",question:"What best describes ‍how you use this property?",type:"choice",fieldName:"Refi-Property-Use",progressIndex:10,options:[{value:"primary",label:"I live here (primary residence)",icon:"primary"},{value:"secondary",label:"It’s a second vacation home",icon:"secondary"},{value:"rental",label:"It’s an Investment Rental Property",icon:"investment"}]},{id:"loan-balance",question:"What is your current loan balance?",type:"range-slider",fieldName:"Loan-Balance",progressIndex:11,rangeConfig:{min:1e5,max:5e5,step:5e3,prefix:"$",suffix:" +"}},{id:"loan-type",question:"What Type of Loan is it?",type:"choice",fieldName:"Loan-Type",progressIndex:12,options:[{value:"conventional",label:"Conventional"},{value:"fha",label:"FHA"},{value:"va",label:"VA"},{value:"dscr",label:"DSCR"},{value:"other",label:"Other"}]},{id:"interest-rate",question:"What is your current interest rate?",type:"text-input",fieldName:"Interest-Rate",placeholder:"e.g. 6.5%",progressIndex:13},{id:"purchase-date",question:"When did you purchase the property?",type:"text-input",fieldName:"Purchase-Date",placeholder:"MM/YYYY",progressIndex:14},{id:"estimated-value",question:"What is the estimated value?",type:"range-slider",fieldName:"Estimated-Value",progressIndex:15,rangeConfig:{min:1e5,max:1e6,step:1e4,prefix:"$",suffix:" +"}},{id:"listed-recently",question:"Has the property been listed in the last 6months?",type:"choice",fieldName:"Listed-Recently",progressIndex:16,options:[{value:"yes",label:"Yes"},{value:"no",label:"No"}]},{id:"refi-credit-score",question:"What Is Your Estimated Credit Score?",type:"choice",fieldName:"Refi-Credit-Score",progressIndex:17,options:[{value:"below-640",label:"<640"},{value:"640-plus",label:"640+"},{value:"680-plus",label:"680+"},{value:"700-plus",label:"700+"},{value:"740-plus",label:"740+"},{value:"780-plus",label:"780+"}]},{id:"refi-household-income",question:"What is your household gross income?",subtitle:"(This is income before taxes)",type:"choice",fieldName:"Refi-Household-Income",progressIndex:18,options:[{value:"200k-plus",label:"Greater than $200,000"},{value:"150k-200k",label:"$150,000 To $200,000"},{value:"100k-150k",label:"$100,000 To $150,000"},{value:"75k-100k",label:"$75,000 To $100,000"},{value:"50k-75k",label:"$50,000 To $75,000"},{value:"30k-50k",label:"$30,000 To $50,000"},{value:"below-30k",label:"Less than $30,000"}]},{id:"refi-scenario",question:"Which of These Scenarios Best Describe You?",subtitle:"Check if you are currently serving in the military or are a veteran.",type:"choice",fieldName:"Refi-Scenario",progressIndex:19,options:[{value:"w2-employed",label:"W-2 (Employed)"},{value:"1099-self-employed",label:"1099 Self-Employed"},{value:"retired",label:"Retired"},{value:"other",label:"Other"}]},{id:"refi-qualification",question:"How Do You Intend to Qualify?",type:"choice",fieldName:"Refi-Qualification",progressIndex:20,options:[{value:"personal-income",label:"Using Personal Income and Debts"},{value:"property-income",label:"Using the Property’s Income Only"},{value:"assets-deposits",label:"Using my assets or my business bank deposits as income"}]},{id:"property-leased",question:"Is the current property leased?",type:"choice",fieldName:"Property-Leased",progressIndex:21,options:[{value:"yes",label:"Yes"},{value:"no",label:"No"}]},{id:"gross-monthly-revenue",question:"What is your Gross Monthly Revenue?",type:"text-input",fieldName:"Gross-Monthly-Revenue",placeholder:"e.g. $5,000",progressIndex:22},{id:"refi-contact-info",question:"Contact Info",type:"contact",progressIndex:23}];var p=e.i(164687),h=e.i(292738),f=e.i(334746),x=e.i(74152),b=e.i(166668),y=e.i(618246),v=e.i(386865),g=e.i(552160),w=e.i(362203),N=e.i(971693);let k={firstName:"",lastName:"",email:"",phone:"",notes:"",hasCoBorrower:!1,coBorrowerFirstName:"",coBorrowerLastName:""};function I(){let[e,r]=(0,l.useState)("questions"),[o,n]=(0,l.useState)(null),[s,d]=(0,l.useState)(0),[c,h]=(0,l.useState)({}),[I,C]=(0,l.useState)(k),[T,S]=(0,l.useState)(!1),[q,L]=(0,l.useState)(""),R=(0,l.useRef)(null),A=(0,l.useRef)(!1),M=(0,N.useTurnstile)(),P=(0,l.useMemo)(()=>{let e=u[0];return o?"purchase"===o?u:[e,...m]:[e]},[o]),O="refinance"===o?24:16,E=P[s],W=E?(E.progressIndex??s)/O*100:0,B=(0,l.useCallback)(e=>{if(E){if(h(t=>({...t,[E.id]:e}
1)),"purpose"===E.id){A.current||(A.current=!0,(0,v.track)("form_start",{form:"questionnaire"}));let t="refinance"===e?"refinance":"purchase";n(t);let a="purchase"===t?u:[u[0],...m];d(t=>(0,x.nextStepIndex)(a,t,e));return}d(t=>(0,x.nextStepIndex)(P,t,e))}},[E,P]),F=(0,l.useCallback)(e=>{E&&(void 0!==e&&h(t=>({...t,[E.id]:e})),d(t=>(0,x.nextStepIndex)(P,t,e)))},[E,P]),$=(0,l.useCallback)(e=>{E&&h(t=>t[E.id]===e?t:{...t,[E.id]:e})},[E]),z=(0,l.useCallback)(()=>{s>0&&d(e=>e-1)},[s]),D=(0,l.useCallback)((e,t)=>{C(a=>({...a,[e]:"hasCoBorrower"===e?"true"===t:t}))},[]),H=(0,l.useCallback)(async()=>{L(""),S(!0);let e="refinance"===o?"refinance":"purchase";try{let t=await fetch("/api/funnel/lead",{method:"POST",headers:{"Content-Type":"application/json",...await M()},body:JSON.stringify({slug:e,answers:c,contact:{firstName:I.firstName.trim(),lastName:I.lastName.trim(),email:I.email.trim(),phone:I.phone.trim(),...I.notes.trim()?{notes:I.notes.trim()}:{},...I.hasCoBorrower&&I.coBorrowerFirstName.trim()&&I.coBorrowerLastName.trim()?{coBorrower:{firstName:I.coBorrowerFirstName.trim(),lastName:I.coBorrowerLastName.trim()}}:{}},pageUrl:window.location.href,attribution:(0,f.getAttribution)(),[y.HONEYPOT_FIELD]:R.current?.value||void 0})});if(!t.ok)return void L(await (0,b.readFormErrorMessage)(t));(0,g.reportLeadAccepted)(e,"borrower",I),r("complete")}catch{L(b.GENERIC_FORM_ERROR)}finally{S(!1)}},[c,I,o]);return"complete"===e?(0,t.jsx)(j,{}):(0,t.jsxs)("div",{className:"w-full",children:[(0,t.jsx)("h1",{className:(0,i.cn)(0===s?"text-3xl md:text-[2.5rem] font-bold text-foreground leading-tight mb-6 max-w-[20ch]":"sr-only"),children:(0,t.jsx)(a.LocalizedText,{children:"Let's build a plan that fits your goals"})}),(0,t.jsxs)("div",{className:"mb-8 max-w-xs",children:[(0,t.jsx)("div",{className:"mb-2 flex items-center justify-end",children:(0,t.jsx)(w.TimeRemaining,{progressPercent:W})}),(0,t.jsx)("div",{className:"h-1.5 bg-border rounded-md overflow-hidden",children:(0,t.jsx)("div",{className:"h-full bg-[#0354b4] transition-all duration-500 ease-out rounded-md",style:{width:`${Math.min(W,100)}%`}})})]}),E&&(0,t.jsx)(p.StepRenderer,{step:E,answers:c,onSelect:B,onBack:z,onNext:F,onChange:$,showBack:s>0,contactInfo:I,onContactChange:D,onSubmit:H,isSubmitting:T,honeypotRef:R},E.id),q?(0,t.jsx)("p",{className:"mt-4 text-sm text-red-400",children:(0,t.jsx)(a.LocalizedText,{children:q})}):null]})}function j(){return(0,t.jsxs)(h.FormSuccess,{className:"text-center py-8",children:[(0,t.jsx)("div",{className:"w-16 h-16 rounded-full bg-tql-blue/20 flex items-center justify-center mx-auto mb-6",children:(0,t.jsx)(o.CheckCircle,{className:"w-8 h-8 text-tql-blue"})}),(0,t.jsx)("h3",{className:"text-2xl md:text-3xl font-semibold text-foreground mb-4",children:(0,t.jsx)(a.LocalizedText,{children:"All done"})}),(0,t.jsx)("p",{className:"text-tql-text-muted text-base md:text-lg mb-6 max-w-lg mx-auto",children:(0,t.jsx)(a.LocalizedText,{children:"At Total Quality Lending, we live by faith, family, and fitness and putting our clients first. We'll be in touch shortly to guide you through your next steps."})}),(0,t.jsxs)("p",{className:"text-foreground text-base font-semibold mb-8",children:[(0,t.jsx)(a.LocalizedText,{children:"Don't want to wait? Call us at"}),(0,t.jsx)(a.LocalizedText,{children:" "}),(0,t.jsx)("a",{href:"tel:(800)304-1925",className:"text-tql-blue hover:underline",children:(0,t.jsx)(a.LocalizedText,{children:"(800) 304-1925"})})]}),(0,t.jsx)(r.Button,{asChild:!0,className:"bg-tql-blue hover:bg-tql-blue-hover text-white h-12 px-8 rounded-xl text-base font-semibold",children:(0,t.jsx)(n.default,{href:"/",children:(0,t.jsx)(a.LocalizedText,{children:"Back to Home page"})})})]})}e.s(["QuestionnaireForm",()=>I],621381)},294048,e=>{"use strict";var t=e.i(843476),a=e.i(762144),l=e.i(271645),r=e.i(975157);let i=[{number:"01",title:"Complete Questionnaire",description:"Answer a few questions about your goals and current situation."},{number:"02",title:"Get Your Strategy",description:"Receive a custom lending strategy tailored to your investment goals."},{number:"03",title:"Connect with Expert",description:"Speak with a dedicated loan strategist who understands investors."},{number:"04",title:"Close Your Deal",description:"Close in as little as 15 days with our streamlined process."}];function o(){let e=(0,l.useRef)(null),[o,n]=(0,l.useState)(-1);return(0,l.useEffect)(()=>{let t=e.current;if(!t)return;let a=null,l=!1,r=new IntersectionObserver(e=>{let t=e[0];if(!t?.isIntersecting||l)return;if(l=!0,r.disconnect(),window.matchMedia("(prefers-reduced-motion: reduce)").matches)return void n(i.length);let o=0;n(0),a=window.setInterval(()=>{(o+=1)>=i.length?(null!==a&&(window.clearInterval(a),a=null),n(i.length)):n(o)},650)},{threshold:.3});return r.observe(t),()=>{r.disconnect(),null!==a&&window.clearInterval(a)}}
1,[]),(0,t.jsx)("section",{ref:e,className:"py-20 bg-tql-dark-secondary",children:(0,t.jsxs)("div",{className:"container-wide",children:[(0,t.jsx)("h2",{className:"text-3xl font-bold text-foreground text-center mb-12",children:(0,t.jsx)(a.LocalizedText,{children:"How It Works"})}),(0,t.jsx)("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-8",children:i.map((e,l)=>{let n=l<=o;return(0,t.jsxs)("div",{className:"relative",children:[l<i.length-1&&(0,t.jsx)("div",{className:"hidden lg:block absolute top-8 left-full w-full h-0.5 -translate-x-1/2 overflow-hidden bg-border","aria-hidden":"true",children:(0,t.jsx)("div",{className:(0,r.cn)("h-full bg-tql-blue transition-[width] duration-700 ease-out",l<o?"w-full":"w-0")})}),(0,t.jsxs)("div",{className:(0,r.cn)("bg-tql-dark rounded-xl border p-6 relative z-10 transition-all duration-500 ease-out",n?"border-tql-blue/50 shadow-lg shadow-tql-blue/10":"border-border",l===o&&"scale-[1.02]"),children:[(0,t.jsx)("div",{className:(0,r.cn)("text-4xl font-bold mb-4 transition-colors duration-500",n?"text-tql-blue":"text-tql-blue/60"),children:(0,t.jsx)(a.LocalizedText,{children:e.number})}),(0,t.jsx)("h3",{className:"text-lg font-semibold text-foreground mb-2",children:(0,t.jsx)(a.LocalizedText,{children:e.title})}),(0,t.jsx)("p",{className:"text-tql-text-muted text-sm",children:(0,t.jsx)(a.LocalizedText,{children:e.description})})]})]},e.number)})})]})})}e.s(["HowItWorks",()=>o])}]);

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.