1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2090],{4754:(e,t,a)=>{"use strict";a.d(t,{q:()=>i});let i={name:"Debt Relief Karma",domain:"debtreliefkarma.com",siteUrl:"https://debtreliefkarma.com",social:{twitterHandle:"debtreliefkarma",twitterAt:"@debtreliefkarma",twitterUrl:"https://twitter.com/debtreliefkarma",tiktokUrl:"https://www.tiktok.com/@debtreliefkarma?_r=1&_t=ZP-93hELt6MG7S"},email:{noreply:"[email protected]",fromName:"Debt Relief Karma"}}},24659:(e,t,a)=>{"use strict";a.d(t,{H:()=>i});let i=a(53312)},46059:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/QualifyForDebtRelief",function(){return a(93446)}])},85669:(e,t,a)=>{"use strict";a.d(t,{C:()=>r});var i=a(4754);let r={name:i.q.name,tagline:{en:"We help people find their path to financial freedom through education and personalized debt relief options.",es:"Ayudamos a las personas a encontrar su camino hacia la libertad financiera a trav\xe9s de la educaci\xf3n y opciones personalizadas de alivio de deudas."},logo:{src:"/images/logo.webp",altHeader:"Debt Relief Karma",altFooter:"Debt Relief Karma Logo"},logoDev:{label:"Logos provided by Logo.dev",href:"https://logo.dev"},copyright:{en:"All rights reserved.",es:"Todos los derechos reservados."},footer:{navigationHeading:{en:"Navigation",es:"Navegaci\xf3n"},authorsLink:{en:"Authors",es:"Autores"},languageSwitch:{en:"English",es:"Espa\xf1ol"}},social:{...i.q.social,facebookPageUrl:"https://www.facebook.com/profile.php?id=61575846652382",linkedInCompanyUrl:"https://www.linkedin.com/company/debtreliefkarma",instagramUrl:"https://www.instagram.com/debtreliefkarma?igsh=eGR6OXlxMWxkM2w3&utm_source=qr"}}},93446:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>H});var i=a(37876),r=a(14232),l=a(99769),s=a(73516),n=a(95211),o=a(20343),d=a(50340),c=a(89993),u=a(73037),f=a(32518),m=a(14e3),h=a(31456),p=a(3250),x=a(4830),b=a(56723),y=a(28355),g=a(39949),v=a(98102),w=a(28936),N=a(44654),_=a(83696),j=a(24319),q=a(64195),k=a(78692);let S=[{value:"50,000+",label:"Americans Helped"},{value:"$1.2B+",label:"Debt Resolved"},{value:"4.8/5",label:"User Rating"}],C=[{qKey:"qualify.faq1.q",q:"Will this affect my credit score?",aKey:"qualify.faq1.a",a:"No. Our assessment uses a soft inquiry that has absolutely no impact on your credit score. Your score remains untouched throughout the process."},{qKey:"qualify.faq2.q",q:"Is this really free?",aKey:"qualify.faq2.a",a:"Yes, 100% free with no hidden fees. We earn a referral fee from debt relief providers only if you choose to enroll in a program â you never pay us anything."},{qKey:"qualify.faq3.q",q:"How long does the assessment take?",aKey:"qualify.faq3.a",a:"Most people complete it in about 2 minutes. You'll answer a few quick questions about your location and basic info, then we do the rest."},{qKey:"qualify.faq4.q",q:"What types of debt qualify?",aKey:"qualify.faq4.a",a:"Credit card debt, personal loans, medical bills, and other unsecured debts typically qualify. Student loans and mortgages generally require different programs."},{qKey:"qualify.faq5.q",q:"How do you match me with a program?",aKey:"qualify.faq5.a",a:"We analyze your debt profile, location, and financial situation, then match you with accredited debt relief providers that best fit your specific needs."}];function T(e){let{t}=e;return(0,i.jsx)("section",{className:"border-b border-slate-200 bg-slate-50",children:(0,i.jsx)("div",{className:"mx-auto max-w-5xl px-4 py-6 sm:px-6 lg:px-8",children:(0,i.jsx)("div",{className:"grid grid-cols-3 gap-4 text-center",children:S.map(e=>(0,i.jsxs)("div",{children:[(0,i.jsx)("p",{className:"text-xl font-extrabold text-blue-700 sm:text-2xl",children:e.value}),(0,i.jsx)("p",{className:"mt-0.5 text-xs font-medium text-slate-500 sm:text-sm",children:t("qualify.stat.".concat(e.label),e.label)})]},e.label))})})})}let R=["M9 12h3.75M9 15h3.75M9 18h3.75m3 .75H18a2.25 2.25 0 002.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 00-1.123-.08m-5.801 0c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 00.75-.75 2.25 2.25 0 00-.1-.664m-5.8 0A2.251 2.251 0 0113.5 2.25H15a2.25 2.25 0 012.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m0 0H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V9.375c0-.621-.504-1.125-1.125-1.125H8.25zM6.75 12h.008v.008H6.75V12zm0 3h.008v.008H6.75V15zm0 3h.008v.008H6.75V18z","M9 12.75L11.25 15 15 9.75m-3-7.036A11.959 11.959 0 013.598 6 11.99 11.99 0 003 9.749c0 5.592 3.824 10.29 9 11.623 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.571-.598-3.751h-.152c-3.196 0-6.1-1.248-8.25-3.285z","M11.48 3.499a.562.562 0 011.04 0l2.125 5.111a.563.563 0 00.475.345l5.518.442c.499.04.701.663.321.988l-4.204 3.602a.563.563 0 00-.182.557l1.285 5.385a.562.562 0 01-.84.61l-4.725-2.885a.563.563 0 00-.586 0L6.982 20.54a.562.562 0 01-.84-.61l1.285-5.386a.562.562 0 00-.182-.557l-4.204-3.602a.563.563 0 01.321-.988l5.518-.442a.563.563 0 00.475-.345L11.48 3.5z"],I=[{number:"1",titleKey:"qualify.step1Title",title:"Answer a Fe
1w Questions",descKey:"qualify.step1Desc",description:"Tell us about your debt situation â it only takes about 2 minutes."},{number:"2",titleKey:"qualify.step2Title",title:"Get Your Free Assessment",descKey:"qualify.step2Desc",description:"We securely analyze your debt profile with no impact to your credit score."},{number:"3",titleKey:"qualify.step3Title",title:"See Your Best Match",descKey:"qualify.step3Desc",description:"Get matched with the debt relief program that fits your unique situation."}];function O(e){let{path:t}=e;return(0,i.jsx)("svg",{className:"h-7 w-7",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:(0,i.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:t})})}function E(e){let{t}=e;return(0,i.jsx)("section",{className:"bg-white py-14 sm:py-20",children:(0,i.jsxs)("div",{className:"mx-auto max-w-5xl px-4 sm:px-6 lg:px-8",children:[(0,i.jsxs)("div",{className:"text-center",children:[(0,i.jsx)("h2",{className:"text-2xl font-bold text-slate-900 sm:text-3xl",children:t("qualify.howItWorksTitle","How It Works")}),(0,i.jsx)("p",{className:"mx-auto mt-3 max-w-2xl text-base text-slate-500",children:t("qualify.howItWorksSubtitle","Getting matched with the right debt relief program is simple, fast, and completely free.")})]}),(0,i.jsx)("div",{className:"mt-12 grid gap-8 sm:grid-cols-3",children:I.map((e,a)=>(0,i.jsxs)("div",{className:"group relative rounded-2xl border border-slate-200 bg-white p-6 text-center transition-all hover:border-blue-200 hover:shadow-lg hover:shadow-blue-100/50",children:[(0,i.jsx)("div",{className:"mx-auto mb-4 flex h-14 w-14 items-center justify-center rounded-2xl bg-blue-50 text-blue-600 transition-colors group-hover:bg-blue-600 group-hover:text-white",children:(0,i.jsx)(O,{path:R[a]})}),(0,i.jsxs)("div",{className:"mb-2 text-xs font-bold uppercase tracking-widest text-blue-500",children:[t("qualify.step","Step")," ",e.number]}),(0,i.jsx)("h3",{className:"mb-2 text-lg font-semibold text-slate-900",children:t(e.titleKey,e.title)}),(0,i.jsx)("p",{className:"text-sm leading-relaxed text-slate-500",children:t(e.descKey,e.description)})]},e.number))})]})})}let A=[{path:"M16.5 10.5V6.75a4.5 4.5 0 10-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 002.25-2.25v-6.75a2.25 2.25 0 00-2.25-2.25H6.75a2.25 2.25 0 00-2.25 2.25v6.75a2.25 2.25 0 002.25 2.25z",className:"h-7 w-7 text-blue-600"},{path:"M9 12.75L11.25 15 15 9.75m-3-7.036A11.959 11.959 0 013.598 6 11.99 11.99 0 003 9.749c0 5.592 3.824 10.29 9 11.623 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.571-.598-3.751h-.152c-3.196 0-6.1-1.248-8.25-3.285z",className:"h-7 w-7 text-blue-600"},{path:"M9 12.75L11.25 15 15 9.75M21 12a9 9 0 11-18 0 9 9 0 0118 0z",className:"h-7 w-7 text-emerald-600"},{path:"M16.5 18.75h-9m9 0a3 3 0 013 3h-15a3 3 0 013-3m9 0v-3.375c0-.621-.503-1.125-1.125-1.125h-.871M7.5 18.75v-3.375c0-.621.504-1.125 1.125-1.125h.872m5.007 0H9.497m5.007 0a7.454 7.454 0 01-.982-3.172M9.497 14.25a7.454 7.454 0 00.981-3.172M5.25 4.236c-.982.143-1.954.317-2.916.52A6.003 6.003 0 007.73 9.728M5.25 4.236V4.5c0 2.108.966 3.99 2.48 5.228M5.25 4.236V2.721C7.456 2.41 9.71 2.25 12 2.25c2.291 0 4.545.16 6.75.47v1.516M18.75 4.236c.982.143 1.954.317 2.916.52A6.003 6.003 0 0016.27 9.728M18.75 4.236V4.5c0 2.108-.966 3.99-2.48 5.228m0 0a6.003 6.003 0 01-5.54 0",className:"h-7 w-7 text-amber-600"}],P=[{titleKey:"qualify.trust.sslTitle",title:"256-bit SSL Encrypted",descKey:"qualify.trust.sslDesc",description:"Bank-level security protects your data"},{titleKey:"qualify.trust.noCreditTitle",title:"No Credit Score Impact",descKey:"qualify.trust.noCreditDesc",description:"Soft inquiry only â your score stays safe"},{titleKey:"qualify.trust.freeTitle",title:"100% Free Assessment",descKey:"qualify.trust.freeDesc",description:"No hidden fees, no obligation whatsoever"},{titleKey:"qualify.trust.topRatedTitle",title:"Top-Rated Programs",descKey:"qualify.trust.topRatedDesc",description:"We only match you with accredited providers"}];function M(e){let{path:t,className:a}=e;return(0,i.jsx)("svg",{className:a,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:(0,i.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:t})})}function D(e){let{t}=e;return(0,i.jsx)("section",{className:"bg-gradient-to-b from-slate-50 to-white py-14 sm:py-20",children:(0,i.jsxs)("div",{className:"mx-auto max-w-5xl px-4 sm:px-6 lg:px-8",children:[(0,i.jsx)("div",{className:"text-center",children:(0,i.jsx)("h2",{className:"text-2xl font-bold text-slate-900 sm:text-3xl",children:t("qualify.trustTitle","Your Privacy & Security Come First")})}),(0,i.jsx)("div",{className:"mt-12 grid gap-6 sm:grid-cols-2 lg:grid-cols-4",children:P.map((e,a)=>(0,i.jsxs)("div",{className:"rounded-2xl border border-slate-100 bg-white p-5 text-center shadow-sm",children:[(0,i.jsx)("div",{className:"mx-auto mb-3 flex h-12 w-12 items-center justify-center rounded-xl bg-slate-50",children:(0,i.jsx)(M,{path:A[a].path,className:A[a].className})}),(0,i.jsx)("h3",{className:"mb-1 text-sm font-bold text-slate-900",children:t(e.titleKey,e.title)}),(0,i.jsx)("p",{className:"text-xs leading-relaxed text-slate-500",children:t(e.descKey,e.description)})]},e.title))})]})})}var K=a(90703),F=a(5620);function U(e){let{question:t,answer:a,className:l,questionClassName:s,answerClassName:n}=e,[o,d]=(0,r.useState)(!1),c=(0,r.useId)(),u="faq-q-".concat(c),f="faq-a-".concat(c);return(0,i.jsxs)("div",{className:(0,K.cn)("py-4",l),children:[(0,i.jsxs)("button",{type:"button",id:u,onClick:()=>d(!o),className:"flex w-full items-center justify-between gap-4 text-left focus:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 rounded-md","aria-expanded":o,"aria-controls":f,children:[(0,i.jsx)("span",{className:(0,K.cn)("text-sm font-semibold text-foreground sm:text-base",s),children:t}),(0,i.jsx)(F.D3,{className:(0,K.cn)("h-5 w-5 flex-shrink-0 text-muted transition-transform",o&&"rotate-180"),size:20})]}),o&&(0,i.jsx)("p",{id:f,role:"region","aria-labelledby":u,className:(0,K.cn)("mt-3 text-sm leading-relaxed text-muted",n),children:a})]})}function z(e){let{t}=e;return(0,i.jsx)("section",{className:"bg-white py-14 sm:py-20",children:(0,i.jsxs)("div",{className:"mx-auto max-w-3xl px-4 sm:px-6 lg:px-8",children:[(0,i.jsx)("h2",{className:"text-center text-2xl font-bold text-slate-900 sm:text-3xl",children:t("qualify.faqTitle","Frequently Asked Questions")}),(0,i.jsx)("div",{className:"mt-10 divide-y divide-slate-200",children:C.map(e=>(0,i.jsx)(U,{question:t(e.qKey,e.q),answer:t(e.aKey,e.a)},e.q))})]})})}var L=a(6568);let W=["location","about-you","offers"];function H(){let{language:e,t}=(0,d.c)(),a=(0,l.eh)("qualify-for-debt-relief",e),S=null==a?void 0:a.hero,{location:C,states:R,isLocationLoading:I}=(0,h.z)(),O=(0,m.useSearchParams)(),A=r.useMemo(()=>(0,g.Yk)(),[null==O?void 0:O.toString()]),{recordingUrlRef:P}=(0,p.k)(),[M,K]=(0,r.useState)("location"),[U,H]=(0,r.useState)({}),[J,V]=(0,r.useState)(!1),[Y,B]=(0,r.useState)(""),[G,Q]=(0,r.useState)(0),[X,$]=(0,r.useState)(!1),[Z,ee]=(0,r.useState)(void 0),[et,ea]=(0,r.useState)(void 0),[ei,er]=(0,r.useState)(!1),[el,es]=(0,r.useState)(!1),[en,eo]=(0,r.useState)(!1),[ed,ec]=(0,r.useState)(""),[eu,ef]=(0,r.useState)(null),[em,eh]=(0,r.useState)(!1),[ep,ex]=(0,r.useState)(!1),[eb,ey]=(0,r.useState)(0),[eg,ev]=(0,r.useState)(void 0),[ew,eN]=(0,r.useState)(null),[e_,ej]=(0,r.useState)(!1),[eq,ek]=(0,r.useState)(0),[eS,eC]=(0,r.useState)(""),[eT,eR]=(0,r.useState)(null),[eI,eO]=(0,r.useState)(null),[eE,eA]=(0,r.useState)(null),[eP,eM]=(0,r.useState)(!1),[eD,eK]=(0,r.useState)(!1),eF=(0,r.useRef)(null),eU=(0,r.useRef)(null),ez=(0,r.useRef)(Date.now()),eL=(0,r.useRef)(!1),eW=(0,r.useRef)(null),eH=(0,r.useRef)(0),eJ=W.indexOf(M),eV=W.length;(0,r.useEffect)(()=>{(0,g.TZ)(),sessionStorage.removeItem("financial_checkup_form"),sessionStorage.removeItem("funnel_step"),sessionStorage.removeItem("funnel_data"),sessionStorage.removeItem("funnel_verified"),document.cookie="api_key=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT",document.cookie="api_user=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT",document.cookie="onboarding_complete=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT",document.cookie="code_confirmed=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT",document.cookie="email_provided=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT",document.cookie="email_confirmed=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT"},[]),(0,r.useEffect)(()=>{sessionStorage.setItem("funnel_step",M)},[M]),(0,r.useEffect)(()=>{"about-you"===M&&(0,s.dP)(!0).catch(()=>{})},[M]),(0,r.useEffect)(()=>{Object.keys(U).length>0&&sessionStorage.setItem("funnel_data",JSON.stringify(U))},[U]),(0,r.useEffect)(()=>{sessionStorage.setItem("funnel_verified",em?"true":"false")},[em]),(0,r.useEffect)(()=>{(0,c.rk)("financial_checkup_view",eJ+1,eV)}
1,[eJ,eV]),(0,r.useEffect)(()=>()=>{let e=Math.round((Date.now()-ez.current)/1e3);et||(0,c.lU)("financial_checkup_view",e)},[et]),(0,r.useEffect)(()=>()=>{eU.current&&clearTimeout(eU.current)},[]),(0,r.useEffect)(()=>{if(eb<=0)return;let e=window.setInterval(()=>{ey(e=>e<=1?0:e-1)},1e3);return()=>window.clearInterval(e)},[eb]);let eY=(0,r.useCallback)(async function(){let a=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(eL.current&&!a)return null;if(eW.current)return eW.current;let i=(async()=>{try{var a;let i=await (0,s.nr)("/api/login",{method:"POST",cache:"no-store"});if(i.ok)return eL.current=!0,null;eL.current=!1;let r=null;try{r=await i.json()}catch(e){r=null}return null!=(a=(0,o.C)(r,e))?a:{error:t("financialCheckup.unableToEstablishSession","Unable to establish a secure session. Please refresh and try again.")}}catch(e){return eL.current=!1,(0,o.W)(e)}finally{eW.current=null}})();return eW.current=i,i},[e,t]),eB=(0,r.useCallback)(e=>{let a=async()=>{try{let i=await (0,s.nr)("/api/tasks/".concat(e),{method:"GET"}),r=await i.json();if(!i.ok){eR(t("funnel.unableRetrieveReport","Unable to retrieve your financial report. Please try again later.")),ej(!1);return}if(ek(r.progressPercent||0),eC(r.statusMessage||t("funnel.fetchingReport","Fetching your financial report...")),"completed"===r.status&&r.result){eN((0,w.ensureQualifiedDebt)(r.result)),eR(null),ej(!1),eU.current&&(clearTimeout(eU.current),eU.current=null);return}if("failed"===r.status)return void function(e){var a;let i="string"==typeof e.error?e.error:JSON.stringify(null!=(a=e.error)?a:e),r="string"==typeof e.errorCode?e.errorCode:"",l=i.includes("USER_NOT_CONNECTED")||i.includes("Connect the user before ordering"),s="manual_review_required"===r||i.includes("MANUAL_REVIEW_REQUIRED");l?(eR(null),ej(!1),eh(!1),ex(!0),K("about-you"),ev(void 0),eH.current=0,ee({error:t("funnel.verifyAgain","We need to verify your phone again. Please enter the code we sent.")})):s?eR(t("funnel.manualReviewRequired","We couldn't automatically pull your credit report. This can happen when there's a fraud alert or security freeze on your file, or a mailing-address issue. Please contact support so we can help you continue.")):eR(i.includes("DAILY_USER_REQUEST_LIMIT_REACHED")||i.includes("one request per user per day")?t("funnel.reportProcessing","Your credit report is currently being processed. Please try again in 24 hours, or contact support if you need immediate assistance."):t("funnel.unableRetrieveReport","Unable to retrieve your financial report. Please try again later.")),ej(!1),eU.current&&(clearTimeout(eU.current),eU.current=null)}(r);eU.current=setTimeout(a,1e3*(r.retryAfterSeconds||L.oU))}catch(e){eR(t("funnel.unexpectedError","An unexpected error occurred. Please try again.")),ej(!1)}};a()},[t]),eG=(0,r.useCallback)(async()=>{ej(!0),ek(5),eC(t("funnel.fetchingReport","Fetching your financial report..."));try{var e,a,i;if(await eY()){eR(t("funnel.sessionError","Session error. Please try again.")),ej(!1);return}let r=crypto.randomUUID(),l=await (0,s.nr)("/api/tasks",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({taskId:r})}),n=await l.json(),o=null!=(i=null!=(a=null==(e=n.data)?void 0:e.taskId)?a:n.taskId)?i:r;if(o)return void eB(o);l.ok&&n.ok?eR(t("funnel.unableRetrieveData","No task ID returned. Please try again.")):eR(t("funnel.unableRetrieveData","Unable to retrieve your financial data. Please try again.")),ej(!1)}catch(e){eR(t("funnel.unexpectedError","An unexpected error occurred. Please try again.")),ej(!1)}},[eY,eB,t]);(0,r.useEffect)(()=>{if("offers"===M){var e;null==(e=eF.current)||e.scrollIntoView({behavior:"smooth",block:"start"})}},[M]),(0,r.useEffect)(()=>{if("offers"!==M||ew||e_||eT)return;if(eD)return void eG();let e=setTimeout(async()=>{try{var e,a,i;if(ej(!0),ek(5),eC(t("funnel.fetchingReport","Fetching your financial report...")),await eY()){eR(t("funnel.sessionError","Session error. Please try again.")),ej(!1);return}let r=(0,v.bg)(U),l=await (0,s.nr)("/api/onboarding",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)}),n=await l.json(),o=(null==(e=n.data)?void 0:e.taskId)||n.taskId;o?eB(o):((null==(a=n.data)?void 0:a.result)||n.result?eN((null==(i=n.data)?void 0:i.result)||n.result):eR(t("funnel.unableRetrieveFinancialData","Unable to retrieve financial data.")),ej(!1))}catch(e){eR(t("funnel.unexpectedError","An unexpected error occurred. Please try again.")),ej(!1)}},L.$Z);return()=>clearTimeout(e)},[M,ew,e_,eT,eY,U,eB,t,eD,eG]),(0,r.useEffect)(()=>{var e,t;if(!(null==ew||null==(e=ew.qualified_debt)?void 0:e.total_qualifying_debt)||eI)return;let a=Math.round(ew.qualified_debt.total_qualifying_debt),i=(null==(t=U.stateAbbr)?void 0:t.toUpperCase())||"";if(!i)return;let r={debtAmount:a,stateAbbr:i,slScore:null,excludeCreditSaint:(0,s.aR)(),cfClickId:A,ctaReady:(0,g.kf)(),firstName:U.firstName,lastName:U.lastName,email:U.email,zip:U.zip};if(null===eE){let e=(0,x.c)({...r,monthlyIncomeAtLeast2800:!0});if((null==e?void 0:e.type)==="creditsaint_call"||(null==e?void 0:e.routeId)==="creditsaint_linkout")return void eM(!0)}let l=(e,t,r,l,s)=>{eO({id:0,name:e,name_label:t,offer_url:r,min_debt:0,max_debt:999999,image_url:l,created_at:new Date().toISOString()});let n=(0,y.Mt)({debtAmount:a,stateAbbr:i,routeId:s,offerUrl:r,offerN
1ame:e,monthlyIncomeAtLeast2800:null!=eE?eE:void 0}),o={email:U.email||"",phone:U[v.Ij]||"",state:i,date_of_birth:U.dateOfBirth,first_name:ew.first_name,last_name:ew.last_name,full_name:ew.full_name,credit_score:ew.credit_score,credit_score_bureau:ew.credit_score_bureau,total_qualifying_debt:a,debt_breakdown:{credit_card_debt:ew.qualified_debt.credit_card_debt,personal_loan_debt:ew.qualified_debt.personal_loan_debt,medical_debt:ew.qualified_debt.medical_debt,collections_debt:ew.qualified_debt.collections_debt,other_qualifying_debt:ew.qualified_debt.other_qualifying_debt,total_non_qualifying_debt:ew.qualified_debt.total_non_qualifying_debt},offer_name:e,offer_url:r,offer_route_id:s,funnel_page:window.location.pathname,timestamp:new Date().toISOString(),cf_click_id:A,consent_cert_url:U[v.rr]||void 0,clarity_recording_url:P.current||void 0,selection_reason:n};(0,g._C)(o).catch(()=>{}),(0,g.WO)(o).catch(()=>{})},n=(0,x.c)({...r,monthlyIncomeAtLeast2800:!0===eE});if(n){if("creditsaint_call"===n.type||n.isCreditSaintInboundCall)return void l(n.branding.name,n.branding.label,"cs:inbound-call",n.branding.imageUrl,n.routeId);n.url&&l(n.branding.name,n.branding.label,n.url,n.branding.imageUrl,n.routeId)}},[ew,eI,U.stateAbbr,A,U.firstName,U.lastName,U.email,U.zip,eE,P]);let eQ=(0,r.useCallback)(async()=>{var e,t;let a=((null==ew?void 0:ew.first_name)||"").trim()||(U.firstName||"").trim(),i=((null==ew?void 0:ew.last_name)||"").trim()||(U.lastName||"").trim();return(0,b.p)({firstName:a,lastName:i,email:U.email||"",state:U.stateAbbr||"",zip:U.zip||"",debtAmount:null!=(t=null==ew||null==(e=ew.qualified_debt)?void 0:e.total_qualifying_debt)?t:0,clickId:A||"",funnelPage:window.location.pathname,clarityRecordingUrl:P.current||""})},[ew,U.firstName,U.lastName,U.email,U.stateAbbr,U.zip,A,P]),eX=(0,r.useCallback)((e,t)=>{ee(void 0);let a=e===v.Ij?(0,n.n4)(t):t;H(t=>({...t,[e]:a}))},[]),e$=(0,r.useCallback)((e,t,a)=>{H(i=>({...i,state:e,stateName:t,stateAbbr:a})),eo(!1),er(!1)},[]),eZ=(0,r.useCallback)(()=>{let e=U[v.Ij];return e&&10===(0,n.bA)(e).length?U.dateOfBirth?!!U.email&&!!U.email.includes("@")||(ee({error:t("validation.emailRequired","Please enter a valid email address")}),!1):(ee({error:t("validation.birthdayRequired","Please enter your date of birth")}),!1):(ee({error:t("validation.phoneRequired","Please enter a valid US mobile phone number")}),!1)},[U,t]),e0=(0,r.useCallback)(()=>{let e=(0,v.$d)();if(!e)return U;let t={...U,[v.rr]:e,[v.ls]:e};return H(t),t},[U]),e1=(0,r.useCallback)(async()=>{if(eZ()){V(!0),ee(void 0);try{let i=await eY();if(i){ee(i),V(!1);return}let r=(0,v.bg)(e0()),l=await (0,s.nr)("/api/onboarding",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)});401===l.status&&((0,s.i6)(),await eY(!0)||(l=await (0,s.nr)("/api/onboarding",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)})));let n=await l.json();if(!l.ok){var a;let i=JSON.stringify(n).toLowerCase();if(i.includes("already connected")||i.includes("user_already_connected")){eh(!0),eK(!0),K("offers"),e3();return}ee(null!=(a=(0,o.C)(n,e))?a:{error:t("funnel.sendCodeFailed","Failed to send verification code")}),V(!1);return}let d=n.data||n;if("already_connected"===d.status){eh(!0),eK(!0),ef(d.userId||d.user_id||d.extUserId),K("offers"),e3();return}if("already_verified"===d.status&&d.taskId){eh(!0),ef(d.userId||d.user_id),ej(!0),ek(0),eC(t("funnel.fetchingReport","Fetching your financial report...")),eB(d.taskId),K("offers"),e3();return}ef(d.user_id),ex(!0),ea(t("funnel.codeSent","Verification code sent to your phone!")),setTimeout(()=>ea(void 0),L.qR)}catch(e){ee({error:e instanceof Error?e.message:t("funnel.sendCodeFailed","Failed to send verification code")})}finally{V(!1)}}},[U,t,eY,eZ,e0]),e5=(0,r.useCallback)(async()=>{if(!ed||6!==ed.length)return void ee({error:t("validation.otpRequired","Please enter the 6-digit code")});$(!0),ee(void 0),Q(0),B(t("funnel.verifyingCode","Verifying your code..."));try{Q(30);let i=await (0,s.nr)("/api/verify-and-fetch",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({code:ed})});Q(50),B(t("funnel.processingVerification","Processing verification..."));let r=await i.json();if(!i.ok){var a;ee(null!=(a=(0,o.C)(r,e))?a:{error:t("validation.invalidCode","Invalid verification code")}),$(!1),B(""),Q(0);return}Q(70),B(t("funnel.connectingToCreditBureau","Connecting to credit bureau...")),eh(!0);try{await (0,s.nr)("/api/email-consent",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:U.email})})}catch(e){}try{await fetch("/api/onboarding/complete",{method:"POST",credentials:"include"})}catch(e){}Q(90),B(t("funnel.preparingYourOffers","Preparing your offers...")),r.taskId&&(ej(!0),ek(0),eC(t("funnel.fetchingReport","Fetching your financial report...")),eB(r.taskId)),Q(100),B(t("funnel.successRedirecting","Success! Loading results...")),(0,c.JM)("financial_checkup_success",eJ+1,eV),K("offers"),e3()}catch(e){ee({error:e instanceof Error?e.message:t("funnel.verificationFailed","Verification failed")})}finally{$(!1),B(""),Q(0)}}
1,[ed,U.email,t,eJ,eV]),e2=(0,r.useCallback)(async()=>{if(!(eb>0)){ee(void 0),ev(void 0),V(!0);try{var a,i,r;let l=await eY();if(l){ee(l),V(!1);return}let n=await (0,s.nr)("/api/onboarding/resend",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({})});401===n.status&&((0,s.i6)(),await eY(!0)||(n=await (0,s.nr)("/api/onboarding/resend",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({})})));let d=await n.json();if(!n.ok){ee(null!=(a=(0,o.C)(d,e))?a:{error:t("funnel.resendFailed","Failed to resend code")}),V(!1);return}let c=null!=(i=d.data)?i:d,u=null==c?void 0:c.status_details,f=30*(eH.current+1);eH.current+=1,(null==u?void 0:u.description)==="USER_ALREADY_CONNECTED"?(ev(null!=(r=d.message)?r:t("funnel.useExistingCode","Please use the existing code or wait for it to expire before requesting a new one.")),ey(f),eK(!0)):(ec(""),ea(t("funnel.codeResent","New verification code sent!")),setTimeout(()=>ea(void 0),L.qR),ey(f))}catch(e){ee({error:e instanceof Error?e.message:t("funnel.resendFailed","Failed to resend code")})}finally{V(!1)}}},[t,eY,eb]),e3=(0,r.useCallback)(()=>{var e;null==(e=eF.current)||e.scrollIntoView({behavior:"smooth",block:"start"})},[]),e4=(0,r.useCallback)(()=>{if(ep){ex(!1),ec(""),ee(void 0),ev(void 0),eH.current=0;return}eJ>0&&K(W[eJ-1])},[eJ,ep]),e6=(0,r.useCallback)(()=>{"location"!==M&&e4()},[M,e4]),e9="location"===M?t("qualify.step1","Step 1 of 3 â Select Your State"):"about-you"===M?t("qualify.step2","Step 2 of 3 â Your Information"):t("qualify.step3","Step 3 of 3 â Your Results"),e7="offers"===M&&!!ew&&!e_;return(0,i.jsxs)("div",{className:"min-h-screen bg-white",children:[(0,i.jsxs)("section",{className:"relative overflow-hidden bg-gradient-to-br from-blue-600 via-blue-700 to-indigo-800",children:[(0,i.jsxs)("div",{className:"absolute inset-0 opacity-10",children:[(0,i.jsx)("div",{className:"absolute -top-24 -right-24 h-96 w-96 rounded-full bg-white/20"}),(0,i.jsx)("div",{className:"absolute -bottom-32 -left-32 h-[500px] w-[500px] rounded-full bg-white/10"})]}),(0,i.jsx)("div",{className:"relative mx-auto max-w-6xl px-4 pb-16 pt-12 sm:px-6 sm:pb-20 sm:pt-16 lg:px-8",children:(0,i.jsxs)("div",{className:"flex flex-col items-center gap-10 lg:flex-row lg:items-start lg:gap-12",children:[(0,i.jsxs)("div",{className:"flex-1 text-center lg:text-left lg:pt-4 transition-all duration-500 ease-in-out",style:{opacity:+!e7,maxWidth:e7?0:void 0,maxHeight:e7?0:void 0,overflow:"hidden",transform:e7?"translateX(-40px)":"translateX(0)",width:e7?0:void 0,padding:e7?0:void 0,margin:e7?0:void 0,flexShrink:e7?1:void 0},"aria-hidden":e7,children:[(0,i.jsx)("h1",{className:"text-3xl font-extrabold tracking-tight text-white sm:text-4xl lg:text-5xl",children:(null==S?void 0:S.headline)||t("qualify.headline","Find Out If You Qualify for Debt Relief in Just 2 Minutes")}),(0,i.jsx)("p",{className:"mt-4 mx-auto max-w-xl text-lg leading-relaxed text-blue-100 sm:text-xl lg:mx-0",children:(null==S?void 0:S.subheadline)||t("qualify.subheadline","Take our free 2-minute assessment and get matched with a personalized debt relief plan â no credit score impact.")}),(0,i.jsx)("div",{className:"mt-6 flex flex-wrap justify-center gap-3 lg:justify-start",children:((null==S?void 0:S.trustBadges)||[t("qualify.badge.free","100% Free â No Obligation"),t("qualify.badge.fast","Takes Only 2 Minutes"),t("qualify.badge.safe","No Credit Score Impact")]).map((e,t)=>(0,i.jsxs)("span",{className:"inline-flex items-center gap-1.5 rounded-full bg-white/10 px-3 py-1 text-xs font-medium text-white backdrop-blur-sm",children:[(0,i.jsx)(F.Nr,{className:"h-3.5 w-3.5 text-emerald-400",size:14}),e]},t))}),(0,i.jsx)("div",{className:"mt-8 hidden lg:block w-full max-w-sm",children:(0,i.jsx)("div",{className:"rounded-xl bg-white/10 p-4 backdrop-blur-sm",children:(0,i.jsxs)("div",{className:"space-y-2 text-sm",children:[(0,i.jsxs)("div",{className:"flex items-center justify-between text-white/80",children:[(0,i.jsx)("span",{children:t("qualify.avgDebt","Average Debt")}),(0,i.jsx)("span",{className:"font-bold text-white",children:"$23,541"})]}),(0,i.jsxs)("div",{className:"flex items-center justify-between text-emerald-300",children:[(0,i.jsx)("span",{children:t("qualify.potentialSavings","Potential Savings")}),(0,i.jsx)("span",{className:"font-bold",children:"$10,593"})]}),(0,i.jsxs)("div",{className:"flex items-center justify-between text-blue-200",children:[(0,i.jsx)("span",{children:t("qualify.monthlyReduction","Monthly Reduction")}),(0,i.jsx)("span",{className:"font-bold",children:"Up to 50%"})]})]})})})]}),(0,i.jsx)("div",{ref:eF,className:"scroll-mt-20 transition-all duration-500 ease-in-out",style:{width:"100%",maxWidth:e7?"100%":"28rem",flexShrink:0,margin:e7?"0 auto":void 0},children:(0,i.jsx)("div",{className:"rounded-2xl bg-white/10 p-1 backdrop-blur-sm",children:(0,i.jsxs)("div",{className:"rounded-xl bg-white p-5 sm:p-6 shadow-2xl",children:[(0,i.jsx)("p",{className:"mb-4 text-center text-xs font-semibold uppercase tracking-widest text-blue-600",children:e9}),"offers"===M?eP?(0,i.jsx)(k.U,{onAnswer:e=>{eA(e),eM(!1)},t:(e,a)=>t(e,null!=a?a:"")}):(0,i.jsx)(q.A,{isFetchingReport:e_,fetchProgress:eq,fetchStatusMessage:eS,fetchError:eT,financialSummary:ew,matchedOffer:eI,isFetchingOffer:!1,onGoBack:()=>{eR(null),K("about-you")},onRestart:()=>{eR(null),eN(null),eO(null),ek(0),eC(""),K("location")},userState:U.stateAbbr?{abbr:U.stateAbbr,name:U.stateName||U.stateAbbr}:void 0,prefilledEmail:U.email||void 0,prefilledFirstName:(null==ew?void 0:e
1w.first_name)||U.firstName||void 0,dateOfBirth:U.dateOfBirth||void 0,onCreditSaintRequestCall:eQ,clickId:A||void 0,t:(e,a)=>t(e,null!=a?a:"")}):(0,i.jsxs)(i.Fragment,{children:["location"!==M&&(0,i.jsxs)("button",{type:"button",onClick:e6,className:"mb-3 inline-flex items-center gap-1.5 text-sm font-medium text-slate-600 transition hover:text-slate-900",children:[(0,i.jsx)(F.YJ,{className:"h-4 w-4",size:16,strokeWidth:2}),"Back"]}),"location"===M&&(0,i.jsx)(N.A,{isLocationLoading:I,formData:U,stateImageError:en,onStateImageError:()=>eo(!0),onSelectState:()=>er(!0),onContinue:()=>K("about-you"),t:(e,a)=>t(e,null!=a?a:"")}),"about-you"===M&&(0,i.jsx)(_.A,{showOtpInput:ep,isSendingOtp:J,isVerifyingOtp:X,formData:U,otpCode:ed,onOtpCodeChange:ec,loadingMessage:Y,error:Z,successMessage:et,resendInfoMessage:eg,resendCooldownSeconds:eb,onFieldChange:eX,onSendOtp:e1,onVerifyOtp:e5,onResendOtp:e2,onBack:e4,onOpenDatePicker:()=>es(!0),page:a,t:(e,a)=>t(e,null!=a?a:""),language:e})]})]})})})]})})]}),(0,i.jsx)(T,{t:(e,a)=>t(e,null!=a?a:"")}),(0,i.jsx)(E,{t:(e,a)=>t(e,null!=a?a:"")}),(0,i.jsx)(D,{t:(e,a)=>t(e,null!=a?a:"")}),(0,i.jsx)("section",{className:"bg-gradient-to-r from-blue-600 to-indigo-700 py-14 sm:py-20",children:(0,i.jsxs)("div",{className:"mx-auto max-w-3xl px-4 text-center sm:px-6 lg:px-8",children:[(0,i.jsx)("h2",{className:"text-2xl font-bold text-white sm:text-3xl",children:t("qualify.bottomCtaTitle","Ready to Take Control of Your Debt?")}),(0,i.jsx)("p",{className:"mx-auto mt-4 max-w-xl text-base text-blue-100",children:t("qualify.bottomCtaSubtitle","Join thousands of Americans who have found their path to financial freedom.")}),(0,i.jsxs)("button",{onClick:e3,className:"mt-8 inline-flex items-center gap-2 rounded-xl bg-emerald-500 px-10 py-4 text-lg font-bold text-white shadow-lg shadow-emerald-500/30 transition-all hover:bg-emerald-400 hover:shadow-xl hover:shadow-emerald-500/40 hover:-translate-y-0.5 active:translate-y-0",children:[(null==S?void 0:S.ctaText)||t("qualify.cta","Check If I Qualify"),(0,i.jsx)(F.fl,{className:"h-5 w-5",size:20,strokeWidth:2.5})]}),(0,i.jsx)("p",{className:"mt-4 text-sm text-blue-200",children:t("qualify.bottomNote","No credit card required ⢠No commitment ⢠100% free")})]})}),(0,i.jsx)(z,{t:(e,a)=>t(e,null!=a?a:"")}),(0,i.jsx)("section",{className:"border-t border-slate-200 bg-slate-50 py-6",children:(0,i.jsx)("div",{className:"mx-auto max-w-5xl px-4 sm:px-6 lg:px-8",children:(0,i.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-6 text-xs text-slate-400",children:[(0,i.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,i.jsx)(F.XA,{className:"h-4 w-4",size:16,strokeWidth:2}),t("qualify.trustFooter.encryption","256-bit Encryption")]}),(0,i.jsx)("span",{children:"|"}),(0,i.jsx)("span",{children:t("qualify.trustFooter.socHosting","SOC 2 Hosting")}),(0,i.jsx)("span",{children:"|"}),(0,i.jsx)("span",{children:t("qualify.trustFooter.ccpa","CCPA Compliant")})]})})}),(0,i.jsx)(j.default,{}),(0,i.jsx)(u.A,{isOpen:ei,onClose:()=>er(!1),onSelect:e$,selectedState:U.state}),(0,i.jsx)(f.A,{isOpen:el,onClose:()=>es(!1),onSelect:e=>eX("dateOfBirth",e),selectedDate:U.dateOfBirth,maxDate:new Date})]})}}},e=>{e.O(0,[4092,4e3,601,7218,9949,6645,2747,4373,4319,636,6593,8792],()=>e(e.s=46059)),_N_E=e.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.