PageSourceSearch

https://quikkred.in/_next/static/chunks/2t_mty0g5-ref.js

js quikkred.in collected 2026-09-24 13:22:25 UTC 33,742 bytes, 10 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,216623,e=>{"use strict";var t=e.i(843476),a=e.i(271645);e.s(["default",0,e=>{let{value:i,onChange:s,length:r=6,error:n=!1,autoFocus:l=!1,disabled:o=!1}=e,c=(0,a.useRef)([]),d=i.split("").slice(0,r);for(;d.length<r;)d.push("");(0,a.useEffect)(()=>{l&&c.current[0]&&c.current[0].focus()},[l]);let u=(0,a.useCallback)(e=>{e>=0&&e<r&&c.current[e]&&(c.current[e]?.focus(),c.current[e]?.select())},[r]),m=(0,a.useCallback)(e=>{s(e.join("").slice(0,r))},[r,s]),h=e=>{e.preventDefault();let t=e.clipboardData.getData("text").replace(/\D/g,"").slice(0,r);if(!t)return;let a=t.split("");for(;a.length<r;)a.push("");m(a),u(Math.min(t.length,r)-1)},x=e=>{e.target.select()};return(0,t.jsx)("div",{className:"flex items-center justify-center gap-2 sm:gap-3",children:d.map((e,i)=>(0,t.jsxs)(a.default.Fragment,{children:[i===Math.floor(r/2)&&(0,t.jsx)("div",{className:"w-2 sm:w-3 flex items-center justify-center",children:(0,t.jsx)("div",{className:"w-1.5 h-1.5 rounded-full bg-gray-300"})}),(0,t.jsx)("input",{ref:e=>{c.current[i]=e},type:"tel",inputMode:"numeric",maxLength:1,value:e,disabled:o,onChange:e=>((e,t)=>{let a=e.target.value.replace(/\D/g,"");if(!a)return;let i=[...d];if(a.length>1){let e=a.split("");for(let a=0;a<e.length&&t+a<r;a++)i[t+a]=e[a];m(i),u(Math.min(t+a.length,r-1));return}i[t]=a,m(i),u(t+1)})(e,i),onKeyDown:e=>((e,t)=>{if("Backspace"===e.key){e.preventDefault();let a=[...d];d[t]?(a[t]="",m(a)):t>0&&(a[t-1]="",m(a),u(t-1))}else"ArrowLeft"===e.key?(e.preventDefault(),u(t-1)):"ArrowRight"===e.key&&(e.preventDefault(),u(t+1))})(e,i),onPaste:h,onFocus:x,autoComplete:"one-time-code","aria-label":`OTP digit ${i+1}`,placeholder:"•",className:`
2              w-9 h-11 sm:w-10 sm:h-12
3              text-center text-base sm:text-lg font-bold
4              border-2 rounded-xl outline-none
5              transition-all duration-200
6              disabled:opacity-50 disabled:cursor-not-allowed
7              ${e?n?"border-red-400 bg-red-50 text-red-700":"border-emerald-500 bg-emerald-50/50 text-gray-900":n?"border-red-300 bg-red-50/30":"border-gray-200 bg-gray-50/50"}
8              focus:border-emerald-500 focus:ring-4 focus:ring-emerald-500/10 focus:bg-white
9              ${n?"focus:border-red-500 focus:ring-red-500/10":""}
10            `})]},i))})}])},331713,e=>{"use strict";var t=e.i(843476),a=e.i(846932),i=e.i(406321),s=e.i(631171),r=e.i(576144),n=e.i(271645),l=e.i(770703),o=e.i(618566),c=e.i(88653),d=e.i(217255),u=e.i(650561),m=e.i(383642),h=e.i(641877),x=e.i(563921),p=e.i(918549),v=e.i(123287),g=e.i(717521),f=e.i(360200),y=e.i(161664),b=e.i(108384),w=e.i(865701),N=e.i(307904),j=e.i(459521),k=e.i(216623),A=e.i(953883),C=e.i(395432),O=e.i(190615),I=e.i(977295),M=e.i(925147),E=e.i(531016);let L=["amount","mobile","email","otp"],S=[5e3,1e4,25e3,5e4].filter(e=>e>=b.LOAN_CONFIG.MIN_AMOUNT&&e<=b.LOAN_CONFIG.MAX_AMOUNT),T=e=>new Intl.NumberFormat("en-IN").format(e);function F(){let e=(0,o.useRouter)(),{language:i,setLanguage:r,availableLanguages:l}=(0,u.useLanguage)(),F=(0,E.useV3)(),{login:P}=(0,m.useAuth)(),[D,$]=(0,n.useState)("amount"),[_,R]=(0,n.useState)(String(b.LOAN_CONFIG.DEFAULT_AMOUNT)),[G,U]=(0,n.useState)(""),[z,H]=(0,n.useState)(""),[Q,B]=(0,n.useState)(""),[q,V]=(0,n.useState)(!1),[K,J]=(0,n.use
10State)(0),[X,W]=(0,n.useState)(!1),[Y,Z]=(0,n.useState)(""),[ee,et]=(0,n.useState)(!1),ea=(0,n.useRef)(null),ei=(0,n.useRef)(null);(0,C.useScrollVar)(ei);let es=parseInt(_||"0",10)||0,er=es>=b.LOAN_CONFIG.MIN_AMOUNT&&es<=b.LOAN_CONFIG.MAX_AMOUNT,en=b.VALIDATION.MOBILE.test(G),el=b.VALIDATION.EMAIL.test(z.trim());(0,n.useMemo)(()=>(0,b.calculateLoanDetails)(er?es:0,b.LOAN_CONFIG.DEFAULT_TENURE),[es,er]),(0,n.useEffect)(()=>{let e=e=>{ea.current&&!ea.current.contains(e.target)&&et(!1)};return ee&&document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[ee]),(0,n.useEffect)(()=>{if(K<=0)return;let e=setInterval(()=>J(e=>e-1),1e3);return()=>clearInterval(e)},[K]);let eo=async()=>{if(W(!0),Z(""),B(""),(0,N.isTestMode)()){V(!0),J(b.TIMERS.OTP_RESEND),$("otp"),W(!1);return}try{var e;let{latitude:t,longitude:a}=await (0,w.getCoordinates)(),i=z.trim().toLowerCase(),s=await fetch(`${y.API_BASE_URL}/api/auth/customer/create`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({mobile:G,email:i,type:"mobile_verification",latitude:t,longitude:a})}),r=await s.json().catch(()=>null);if(!s.ok)return void Z(r?.message||"Couldn't send the code. Please try again.");e={mobile:G,email:i,amount:String(es)},fetch(`${y.API_BASE_URL}/api/instantForm/create`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}).catch(()=>{}),V(!0),J(b.TIMERS.OTP_RESEND),$("otp")}catch(e){if(e instanceof w.LocationError)return void Z((0,w.locationErrorMessage)(e));Z("Network error. Please try again.")}finally{W(!1)}},ec=async()=>{if(6!==Q.length)return void Z("Enter the 6-digit code");W(!0),Z("");let t={mobile:G,email:z.trim().toLowerCase(),amount:String(es)};if((0,N.isTestMode)()){if(Q!==j.TEST_OTP){Z("Invalid code. Please try again."),W(!1);return}await P({mobile:G,apiData:null}),localStorage.setItem("heroFormData",JSON.stringify(t)),e.push(y.QUICK_FORM_URL);return}try{let a=await (0,d.signIn)("otp",{redirect:!1,emailOrPhone:G,otp:Q,loginMethod:"mobile",callbackUrl:y.QUICK_FORM_URL});if(!a?.ok)return void Z(a?.error||"Invalid code. Please try again.");let i=await (0,d.getSession)();if(!i?.user)return void Z("Verification failed. Please try again.");await P({mobile:G,apiData:i}),localStorage.setItem("heroFormData",JSON.stringify(t)),e.push(y.QUICK_FORM_URL)}catch{Z("Verification failed. Please try again.")}finally{W(!1)}},ed=()=>{(Z(""),"amount"===D)?es?es<b.LOAN_CONFIG.MIN_AMOUNT?Z(`Minimum loan amount is ₹${T(b.LOAN_CONFIG.MIN_AMOUNT)}`):es>b.LOAN_CONFIG.MAX_AMOUNT?Z(`Maximum loan amount is ₹${T(b.LOAN_CONFIG.MAX_AMOUNT)}`):$("mobile"):Z("Enter how much you need"):"mobile"===D?10!==G.length?Z("Mobile number must be exactly 10 digits"):en?$("email"):Z("Mobile number must start with 6, 7, 8, or 9"):"email"===D?z.trim()?el?eo():Z("Please enter a valid email address"):Z("Email is required"):ec()},eu=e=>{Z(""),$(e)},em=e=>{"Enter"!==e.key||X||ed()},eh="amount"===D?er:"mobile"===D?en:"email"===D?el:6===Q.length,ex=L.indexOf(D),ep="amount"===D?F.hero.amountQuestion:"mobile"===D?F.hero.mobileQuestion:"email"===D?F.hero.emailQuestion:F.hero.otpQuestion,ev="email"===D?F.hero.ctaSendCode:"otp"===D?F.hero.ctaVerify:F.hero.ctaContinue;return(0,t.jsxs)("section",{ref:ei,"data-v3-hero":!0,className:"v3-scope v3-section v3-ink v3-grain v3-under-header relative isolate flex min-h-[100svh] flex-col overflow-hidden",children:[(0,t.jsxs)("div",{className:"absolute inset-0 -z-10 overflow-hidden",children:[(0,t.jsx)(A.default,{slot:O.HF.heroPharmacy,priority:!0,kenBurns:!0,sizes:"100vw",className:"v3-depth v3-media-lift h-full w-full",objectPosition:"68% 46%"}),(0,t.jsx)("div",{className:"v3-scrim","aria-hidden":!0})]}),(0,t.jsx)("div",{className:"v3-shell relative z-20 pt-5 sm:pt-7",children:(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-1.5",children:[(0,t.jsx)(h.default,{className:"mr-1 h-3.5 w-3.5 text-[var(--v3-on-ink-faint)]","aria-hidden":!0}),l.slice(0,6).map(e=>(0,t.jsx)("button",{type:"button",onClick:()=>r(e.code),className:`min-h-[32px] rounded-full px-2.5 text-xs transition-colors ${i===e.code?"bg-[var(--v3-green)] font-semibold text-[#04120C]":"text-[var(--v3-on-ink-dim)] hover:bg-white/10 hover:text-white"}`,children:e.nativeName},e.code)),l.length>6&&(0,t.jsxs)("div",{className:"relative",ref:ea,children:[(0,t.jsxs)("button",{type:"button",onClick:()=>et(!ee),"aria-expanded":ee,className:"flex min-h-[32px] items-center gap-1 rounded-full px-2.5 text-xs font-medium text-[var(--v3-on-ink-dim)] hover:text-white",children:["+",l.length-6," ",F.hero.more,(0,t.jsx)(s.default,{className:`h-3 w-3 transition-transform ${ee?"rotate-180":""}`,"aria-hidden":!0})]}),(0,t.jsx)(c.AnimatePresence,{children:ee&&(0,t.jsx)(a.motion.div,{initial:{opacity:0,y:-8}
10,animate:{opacity:1,y:0},exit:{opacity:0,y:-8},transition:{duration:.18},className:"v3-glass !bg-[var(--v3-ink-2)] absolute right-0 top-full z-50 mt-2 max-h-64 w-44 overflow-y-auto p-1.5",children:l.slice(6).map(e=>(0,t.jsx)("button",{type:"button",onClick:()=>{r(e.code),et(!1)},className:`w-full rounded-lg px-3 py-2 text-left text-sm transition-colors ${i===e.code?"bg-[rgb(var(--v3-green-rgb)/0.15)] font-semibold text-[var(--v3-green-hi)]":"text-[var(--v3-on-ink-dim)] hover:bg-white/8 hover:text-white"}`,children:e.nativeName},e.code))})})]})]})}),(0,t.jsx)("div",{className:"v3-shell relative z-10 flex flex-1 items-center py-10 sm:py-14 lg:py-20",children:(0,t.jsxs)("div",{className:"grid w-full items-center gap-10 lg:grid-cols-[1.05fr_minmax(360px,440px)] lg:gap-16",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("p",{className:"v3-eyebrow mb-5 text-[var(--v3-green)]",children:[I.AMOUNT.rangeLabel," · ",F.hero.eyebrowSuffix]}),(0,t.jsxs)("h1",{className:"v3-display v3-display-xl text-[var(--v3-on-ink)]",children:[F.hero.headingA," ",(0,t.jsx)("span",{className:"text-[var(--v3-green)]",children:F.hero.headingAccent})," ",(0,t.jsx)("br",{className:"hidden sm:block"}),F.hero.headingB]}),(0,t.jsx)("p",{className:"v3-lede mt-6 text-[var(--v3-on-ink-dim)]",children:(0,M.fmt)(F.hero.lede,{decision:I.SPEED.decision,disbursal:I.SPEED.disbursal})}),(0,t.jsxs)("div",{className:"mt-7 flex flex-wrap gap-2",children:[(0,t.jsxs)("span",{className:"v3-chip",children:[(0,t.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-[var(--v3-green)]","aria-hidden":!0}),F.hero.chipRegulated]}),(0,t.jsxs)("span",{className:"v3-chip",children:[(0,t.jsx)(p.default,{className:"h-3.5 w-3.5","aria-hidden":!0}),F.hero.chipEncrypted]}),(0,t.jsxs)("span",{className:"v3-chip",children:[(0,t.jsx)(v.default,{className:"h-3.5 w-3.5","aria-hidden":!0}),F.hero.chipNoCollateral]})]})]}),(0,t.jsxs)("div",{className:"v3-glass p-5 sm:p-7",children:[(0,t.jsxs)("div",{className:"mb-5 flex items-center gap-3",children:[(0,t.jsx)("div",{className:"flex flex-1 gap-1.5",role:"group","aria-label":"Form progress",children:L.map((e,a)=>{let i=a<ex,s=i&&"otp"!==D;return(0,t.jsx)("button",{type:"button",disabled:!s,onClick:()=>s&&eu(e),"aria-label":`Step ${a+1} of ${L.length}: ${e} (${i?"completed":a===ex?"current":"upcoming"})`,"aria-current":a===ex?"step":void 0,className:`flex min-h-[44px] flex-1 items-center py-3 ${s?"cursor-pointer":"cursor-default"}`,children:(0,t.jsx)("span",{className:`h-[3px] w-full rounded-full transition-colors duration-300 ${a<=ex?"bg-[var(--v3-green)]":"bg-white/15"}`})},e)})}),ex>0&&er&&(0,t.jsxs)("span",{className:"v3-num flex-shrink-0 rounded-full border border-[rgb(var(--v3-green-rgb)/0.3)] bg-[rgb(var(--v3-green-rgb)/0.1)] px-2.5 py-1 text-sm font-bold text-[var(--v3-green-hi)]",children:["₹",T(es)]})]}),(0,t.jsx)(c.AnimatePresence,{mode:"wait",children:(0,t.jsxs)(a.motion.div,{initial:{opacity:0,x:18},animate:{opacity:1,x:0},exit:{opacity:0,x:-18},transition:{duration:.24,ease:"easeOut"},children:[(0,t.jsx)("label",{htmlFor:`hero-${D}`,className:"v3-display mb-4 block text-xl text-white sm:text-2xl",children:ep}),"amount"===D&&(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:`mb-4 flex items-baseline gap-1.5 border-b pb-2 transition-colors ${Y?"border-[var(--v3-red)]":"border-white/15 focus-within:border-[var(--v3-green)]"}`,children:[(0,t.jsx)("span",{className:"v3-num select-none text-3xl font-bold text-white/30",children:"₹"}),(0,t.jsx)("input",{id:"hero-amount",type:"text",inputMode:"numeric",value:_?T(parseInt(_,10)):"",onChange:e=>{R(e.target.value.replace(/\D/g,"").slice(0,6)),Z("")},onKeyDown:em,placeholder:T(b.LOAN_CONFIG.DEFAULT_AMOUNT),"aria-describedby":"hero-amount-range",className:"v3-num v3-field-bare w-full min-w-0 flex-1 text-4xl font-bold text-white placeholder:text-white/25"})]}),(0,t.jsx)("div",{className:"mb-4 grid grid-cols-4 gap-2",children:S.map(e=>(0,t.jsxs)("button",{type:"button",onClick:()=>{R(String(e)),Z("")},className:`v3-num min-h-[42px] rounded-xl text-sm font-semibold transition-colors ${es===e?"bg-[var(--v3-green)] text-[#04120C]":"bg-white/6 text-[var(--v3-on-ink-dim)] hover:bg-white/12 hover:text-white"}`,children:["₹",e>=1e3?`${e/1e3}k`:e]},e))})]}),"mobile"===D&&(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:`flex items-center overflow-hidden rounded-[14px] border transition-all ${Y?"border-[var(--v3-red)]":"border-[var(--v3-line-ink)] focus-within:border-[var(--v3-green)]"}`,children:[(0,t.jsx)("span",{className:"v3-num border-r border-[var(--v3-line-ink)] bg-white/5 px-4 py-[0.95rem] text-base font-semibold text-[var(--v3-on-ink-dim)]",children:"+91"}),(0,t.jsx)("input",{id:"hero-mobile",type:"tel",inputMode:"numeric",autoComplete:"tel-national",value:G,onChange:e=>{U(e.target.value.replace(/\D/g,"").slice(0,10)),Z("")},onKeyDown:em,maxLength:10,placeholder:"98765 43210",className:"v3-num v3-field-bare w-full min-w-0 flex-1 px-4 py-[0.95rem] text-base font-medium text-white placeholder:text-white/25",style:{fontSize:"16px"},autoFocus:!0})]}),(0,t.jsx)("p",{className:"mt-2.5 text-xs text-[var(--v3-on-ink-faint)]",children:F.hero.mobileHint})]}),"email"===D&&(0,t.jsxs)("div",{children:[(0,t.jsx)("input",{id:"hero-email",type:"email",inputMode:"email",autoComplete:"email",value:z,onChange:e=>{H(e.target.value),Z("")},onKeyDown:em,placeholder:"[email protected]",className:`v3-field ${Y?"v3-field-error":""}`,style:{fontSize:"16px"},autoFocus:!0}),(0,t.jsx)("p",{className:"mt-2.5 text-xs text-[var(--v3-on-ink-faint)]",children:F.hero.emailHint})]}),"otp"===D&&(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"mb-4 flex items-center justify-center gap-2 text-sm text-[var(--v3-on-ink-dim)]",children:[(0,t.jsxs)("span",{children:[F.hero.sentTo," ",(0,t.jsxs)("span",{className:"v3-num font-semibold text-white",children:["+91 ",G]})]}),(0,t.jsxs)("button",{type:"button",onClick:()=>{B(""),V(!1),J(0),eu("mobile")},className:"inline-flex min-h-[32px] items-center gap-1 px-1 font-semibold text-[var(--v3-green-hi)] hover:text-white",children:[(0,t.jsx)(f.default,{className:"h-3 w-3","aria-hidden":!0}),F.hero.change]})]}),(0,t.jsx)(k.default,{value:Q,onChange:e=>{B(e),Z("")},error:!!Y,autoFocus:!0,disabled:X}),(0,t.jsx)("div",{className:"mt-4 flex items-center justify-center gap-1.5 text-xs text-[var(--v3-on-ink-faint)]",children:K>0?(0,t.jsxs)("span",{children:[F.hero.resendIn," ",(0,t.jsxs)("span",{className:"v3-num font-medium text-white",children:[K,"s"]})]}):(0,t.jsx)("button",{type:"button",onClick:eo,disabled:X,className:"min-h-[32px] px-1 font-semibold text-[var(--v3-green-hi)] hover:underline disabled:opacity-50",children:F.hero.resend})})]}),Y&&(0,t.jsx)("p",{role:"alert",className:"mt-3 text-sm text-[var(--v3-red)]",children:Y}),(0,t.jsx)("button",{type:"button",onClick:ed,disabled:X||!eh,className:`v3-btn v3-btn-primary mt-5 w-full ${X||!eh?"cursor-not-allowed opacity-50":""}`,children:X?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(g.default,{className:"h-5 w-5 animate-spin","aria-hidden":!0}),(0,t.jsx)("span",{children:"otp"===D?F.hero.verifying:F.hero.sending})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{children:ev}),(0,t.jsx)(x.default,{className:"h-[18px] w-[18px]","aria-hidden":!0})]})}),(0,t.jsx)("p",{className:"mt-3.5 text-center text-[11px] leading-relaxed text-[var(--v3-on-ink-faint)]",children:(0,M.fmt)(F.hero.legalUnderCta,{rate:I.PRICING.interestPerDayPercent,tenures:(0,M.tenureText)(F,I.PRICING.tenures)})})]},D)})]})]})}),(0,t.jsx)("div",{className:"v3-rule-ink relative z-10 bg-[rgb(var(--v3-ink-rgb)/0.6)]",children:(0,t.jsx)("div",{className:"v3-shell grid grid-cols-2 divide-x divide-[var(--v3-line-ink)] py-4 sm:py-5 lg:grid-cols-4",children:[{k:I.AMOUNT.rangeLabel,v:F.hero.railAmount},{k:I.SPEED.decision,v:F.hero.railDecision}
10,{k:I.SPEED.disbursal,v:F.hero.railDisbursal},{k:(0,M.tenureText)(F,I.PRICING.tenures),v:F.hero.railTenure}].map((e,a)=>(0,t.jsxs)("div",{className:`px-3 py-2 sm:px-5 ${a%2==0?"border-l-0":""}`,children:[(0,t.jsx)("p",{className:"v3-num text-base font-bold text-white sm:text-lg",children:e.k}),(0,t.jsx)("p",{className:"mt-0.5 text-[11px] text-[var(--v3-on-ink-faint)] sm:text-xs",children:e.v})]},e.v))})})]})}var P=e.i(522016),D=e.i(469184),$=e.i(817342),_=e.i(991607),R=e.i(793734);let G=[{key:"medical",slot:O.HF.useMedical},{key:"shop",slot:O.HF.useShop},{key:"school",slot:O.HF.useSchool},{key:"emi",slot:O.HF.useEmi},{key:"festival",slot:O.HF.useFestival},{key:"emergency",slot:O.HF.useEmergency}];function U(){let e=(0,E.useV3)().useCases;return(0,t.jsxs)(_.default,{tone:"ink",id:"use-cases",children:[(0,t.jsxs)("div",{className:"max-w-3xl",children:[(0,t.jsx)(R.Eyebrow,{children:e.eyebrow}),(0,t.jsxs)(R.Display,{as:"h2",size:"l",className:"mt-4 text-[var(--v3-on-ink)]",children:[e.headingA," ",(0,t.jsx)(R.Accent,{children:e.headingAccent})," ",e.headingB]}),(0,t.jsx)(R.Lede,{className:"mt-5",children:e.lede})]}),(0,t.jsx)("div",{className:"mt-12 grid gap-4 sm:grid-cols-2 lg:grid-cols-3",children:G.map((a,i)=>{let s=e[a.key];return(0,t.jsx)($.default,{delay:70*i,children:(0,t.jsxs)(P.default,{href:"/apply/quick",className:"group relative block aspect-[4/5] overflow-hidden rounded-[22px] border border-[var(--v3-line-ink)]",children:[(0,t.jsx)(A.default,{slot:a.slot,sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw",className:"absolute inset-0 h-full w-full transition-transform duration-[900ms] ease-[cubic-bezier(0.22,0.61,0.28,1)] group-hover:scale-[1.06]"}),(0,t.jsx)("span",{"aria-hidden":!0,className:"absolute inset-0 bg-gradient-to-t from-[var(--v3-ink)] via-[rgb(var(--v3-ink-rgb)/0.55)] to-transparent"}),(0,t.jsxs)("span",{className:"absolute inset-x-0 bottom-0 block p-5 sm:p-6",children:[(0,t.jsx)("span",{className:"v3-eyebrow block text-[var(--v3-green)]",children:s.eyebrow}),(0,t.jsx)("span",{className:"v3-display mt-2 block text-2xl text-white",children:s.title}),(0,t.jsx)("span",{className:"mt-2 block text-sm leading-relaxed text-[var(--v3-on-ink-dim)]",children:s.line}),(0,t.jsxs)("span",{className:"mt-4 inline-flex items-center gap-1.5 text-sm font-semibold text-white",children:[e.cta,(0,t.jsx)(D.default,{className:"h-4 w-4 transition-transform duration-300 group-hover:translate-x-0.5 group-hover:-translate-y-0.5","aria-hidden":!0})]})]})]})},a.key)})})]})}let z=(0,l.default)(()=>e.A(554758),{loadableGenerated:{modules:[822766]}}),H=(0,l.default)(()=>e.A(316211),{loadableGenerated:{modules:[544777]}});(0,l.default)(()=>e.A(249340),{loadableGenerated:{modules:[479833]}});let Q=(0,l.default)(()=>e.A(395001),{loadableGenerated:{modules:[487207]}}),B=(0,l.default)(()=>
10e.A(504012),{loadableGenerated:{modules:[85786]}}),q=(0,l.default)(()=>e.A(417274),{loadableGenerated:{modules:[251]}});(0,l.default)(()=>e.A(685328),{loadableGenerated:{modules:[864227]}}),(0,l.default)(()=>e.A(478270),{loadableGenerated:{modules:[220695]}}),(0,l.default)(()=>e.A(101123),{loadableGenerated:{modules:[460196]}}),(0,l.default)(()=>e.A(727853),{loadableGenerated:{modules:[917486]}});let V=(0,l.default)(()=>e.A(814955),{loadableGenerated:{modules:[388498]}});function K(e){let{minHeight:a,children:i}=e;return(0,t.jsx)(n.Suspense,{fallback:(0,t.jsx)("div",{style:{minHeight:a},"aria-hidden":!0}),children:i})}(0,l.default)(()=>e.A(860247).then(e=>e.FinancialCTA),{loadableGenerated:{modules:[411809]}}),(0,l.default)(()=>e.A(289598),{loadableGenerated:{modules:[157213]}}),e.s(["default",0,function(){let{t:e}=(0,u.useLanguage)(),l=(0,E.useV3)(),o=Object.values(l.faq.items),[c,d]=(0,n.useState)(null);return(0,n.useRef)(null),(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:"v3-scope",children:[(0,t.jsx)(F,{}),(0,t.jsx)(z,{}),(0,t.jsx)(U,{}),(0,t.jsx)(H,{}),(0,t.jsx)("section",{className:"v3-clip-x flex items-center py-8 sm:py-10 lg:py-12 bg-[#F6F6F6]",children:(0,t.jsx)("div",{className:"container mx-auto sm:px-6 lg:px-8 flex items-center",children:(0,t.jsxs)("div",{className:"grid lg:grid-cols-2 gap-4 lg:gap-6 items-center w-full",children:[(0,t.jsxs)(a.motion.div,{initial:{opacity:0,x:-50},whileInView:{opacity:1,x:0},viewport:{once:!0},className:"order-2 lg:order-1",children:[(0,t.jsxs)("span",{className:"inline-block px-3 py-1.5 glass rounded-full text-xs font-semibold mb-3",children:[(0,t.jsx)(r.default,{className:"inline w-3.5 h-3.5 mr-1 text-yellow-500"}),e?.homepage?.sections?.calculator?.badge]}),(0,t.jsxs)("h2",{className:"text-xl sm:text-2xl lg:text-3xl xl:text-4xl font-bold font-sora mb-3 sm:mb-4",children:[e?.homepage?.sections?.calculator?.title,(0,t.jsx)("span",{className:"block text-[#1A6D4F]",children:e?.homepage?.sections?.calculator?.titleHighlight})]}),(0,t.jsx)("p",{className:"text-sm sm:text-base lg:text-lg text-gray-600 mb-4 sm:mb-6",children:e?.homepage?.sections?.calculator?.subtitle}),(0,t.jsxs)("div",{className:"space-y-2 sm:space-y-3",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(i.default,{className:"w-4 h-4 text-[#25B181] flex-shrink-0"}),(0,t.jsx)("span",{className:"text-xs sm:text-sm text-gray-600",children:e?.homepage?.sections?.calculator?.features.noHiddenCharges})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(i.default,{className:"w-4 h-4 text-[#25B181] flex-shrink-0"}),(0,t.jsx)("span",{className:"text-xs sm:text-sm text-gray-600",children:e?.homepage?.sections?.calculator?.features.flexibleTenure})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(i.default,{className:"w-4 h-4 text-[#25B181] flex-shrink-0"}),(0,t.jsx)("span",{className:"text-xs sm:text-sm text-gray-600",children:e?.homepage?.sections?.calculator?.features.lowestRates})]})]})]}),(0,t.jsx)(a.motion.div,{initial:{opacity:0,x:50},whileInView:{opacity:1,x:0},viewport:{once:!0},className:"order-1 lg:order-2",children:(0,t.jsx)(K,{minHeight:"560px",children:(0,t.jsx)(V,{})})})]})})}),(0,t.jsx)(Q,{}),(0,t.jsx)(B,{}),(0,t.jsx)(q,{}),(0,t.jsx)("section",{className:"min-h-[calc(100vh-80px)] flex items-center py-8 sm:py-10 lg:py-12 bg-white",children:(0,t.jsxs)("div",{className:"container mx-auto sm:px-6 lg:px-8 max-w-4xl",children:[(0,t.jsxs)(a.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-5 sm:mb-10",children:[(0,t.jsx)("span",{className:"inline-block px-4 py-2 bg-[#DAE6FF] text-[#2C3E99] rounded-full text-xs sm:text-sm font-semibold mb-3 sm:mb-4",children:l.faq.badge}),(0,t.jsx)("h2",{className:"text-2xl sm:text-3xl lg:text-4xl xl:text-5xl font-bold font-sora mb-3 sm:mb-4 px-4",children:e?.homepage?.faq?.heading}),(0,t.jsx)("p",{className:"text-sm sm:text-lg lg:text-xl text-gray-600 px-4",children:e?.homepage?.faq?.subtitle})]}),(0,t.jsx)("div",{className:"space-y-3 sm:space-y-4",children:o.map((e,i)=>(0,t.jsxs)(a.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.1*i},className:"bg-gray-100 rounded-2xl overflow-hidden shadow-soft",children:[(0,t.jsxs)("button",{onClick:()=>
10d(c===i?null:i),className:"w-full px-4 sm:px-6 py-3 sm:py-4 text-left flex items-center justify-between hover:bg-gray-200 transition-colors",children:[(0,t.jsx)("span",{className:"font-semibold text-sm sm:text-base text-gray-900 pr-4",children:e.question}),(0,t.jsx)(s.default,{className:`w-5 h-5 text-gray-600 transition-transform duration-300 flex-shrink-0 ${c===i?"rotate-180":""}`})]}),(0,t.jsx)(a.motion.div,{initial:!1,animate:{height:c===i?"auto":0,opacity:+(c===i)},transition:{duration:.3},className:"overflow-hidden",children:(0,t.jsx)("p",{className:"px-4 sm:px-6 py-3 sm:py-4 text-sm sm:text-base text-gray-600",children:e.answer})})]},e.question))})]})}),(0,t.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"FAQPage",mainEntity:o.map(e=>({"@type":"Question",name:e.question,acceptedAnswer:{"@type":"Answer",text:e.answer}}))})}})]})})}],331713)},953883,e=>{"use strict";var t=e.i(843476),a=e.i(657688),i=e.i(271645);e.s(["default",0,function(e){let{slot:s,priority:r=!1,kenBurns:n=!1,className:l="",sizes:o="100vw",objectPosition:c="center"}=e,d=(0,i.useRef)(null),u=(0,i.useRef)(null),[m,h]=(0,i.useState)(!1),[x,p]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{if(!s.video)return;let e=d.current;if(!e||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let t=navigator.connection;if(t?.saveData||t?.effectiveType&&/2g/.test(t.effectiveType))return;let a=new IntersectionObserver(t=>{for(let i of t)i.isIntersecting&&(h(!0),a.unobserve(e))},{rootMargin:"300px 0px"});return a.observe(e),()=>a.disconnect()},[s.video]),(0,i.useEffect)(()=>{let e=u.current,t=d.current;if(!e||!t||!m)return;let a=new IntersectionObserver(t=>{for(let a of t)a.isIntersecting?e.play().catch(()=>{}):e.pause()},{threshold:.12});return a.observe(t),()=>a.disconnect()},[m]),(0,t.jsxs)("div",{ref:d,className:`relative overflow-hidden ${l}`,children:[(0,t.jsx)(a.default,{src:s.poster,alt:s.alt,fill:!0,priority:r,sizes:o,className:`object-cover transition-opacity duration-700 ${x?"opacity-0":"opacity-100"} ${n&&!x?"v3-kenburns":""}`,style:{objectPosition:c}}),m&&s.video&&(0,t.jsx)("video",{ref:u,src:s.video,poster:s.poster,muted:!0,loop:!0,playsInline:!0,preload:"none","aria-hidden":!0,onLoadedData:()=>p(!0),className:`absolute inset-0 h-full w-full object-cover transition-opacity duration-700 ${x?"opacity-100":"opacity-0"}`,style:{objectPosition:c}})]})}])},817342,e=>{"use strict";var t=e.i(843476),a=e.i(271645);e.s(["default",0,function(e){let{as:i="div",delay:s=0,className:r="",children:n}=e,l=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let e=l.current;if(!e)return;if("u"<typeof IntersectionObserver)return void e.setAttribute("data-v3-reveal","in");let t=new IntersectionObserver(a=>{for(let i of a)i.isIntersecting&&(window.setTimeout(()=>e.setAttribute("data-v3-reveal","in"),s),t.unobserve(e))},{rootMargin:"0px 0px -12% 0px",threshold:.08});return t.observe(e),()=>t.disconnect()},[s]),(0,t.jsx)(i,{ref:l,"data-v3-reveal":"out",className:r,children:n})}])},991607,e=>{"use strict";var t=e.i(843476);let a={ink:"v3-ink",ink2:"v3-ink-2","ink-2":"v3-ink-2",paper:"v3-paper",paper2:"v3-paper-2","paper-2":"v3-paper-2",none:""};e.s(["default",0,function(e){let{tone:i="paper",id:s,bleed:r=!1,tight:n=!1,className:l="",children:o}=e;return(0,t.jsx)("section",{id:s,className:`v3-section relative ${a[i]} ${n?"py-14 sm:py-16":"py-20 sm:py-24 lg:py-32"} ${l}`,children:r?o:(0,t.jsx)("div",{className:"v3-shell",children:o})})}])},793734,e=>{"use strict";var t=e.i(843476);let a=function(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return t.filter(Boolean).join(" ")};e.s(["Accent",0,function(e){let{children:a}=e;return(0,t.jsx)("span",{className:"text-[var(--v3-green)]",children:a})},"Display",0,function(e){let{as:i="h2",size:s="l",children:r,className:n=""}=e;return(0,t.jsx)(i,{className:a("v3-display",`v3-display-${s}`,n),children:r})},"Eyebrow",0,function(e){let{children:i,tone:s="ink",className:r=""}=e;return(0,t.jsx)("p",{className:a("v3-eyebrow","green"===s?"text-[var(--v3-green)]":"paper"===s?"text-[var(--v3-on-paper-dim)]":"text-[var(--v3-on-ink-faint)]",r),children:i})},"Lede",0,function(e){let{children:i,tone:s="ink",className:r=""}=e;return(0,t.jsx)("p",{className:a("v3-lede","paper"===s?"text-[var(--v3-on-paper-dim)]":"text-[var(--v3-on-ink-dim)]",r),children:i})}])},395432,e=>{"use strict";var t=e.i(271645);e.s(["useScrollVar",0,function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"--v3-scroll",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"past";(0,t.useEffect)(()=>{let t=e.current;if(!t||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let s=null,r=()=>{s=null;let e=t.getBoundingClientRect();if(e.height<=0)return;let r="read"===i?Math.max(1,e.height-window.innerHeight):e.height,n=-e.top/r;t.style.setProperty(a,String(n<0?0:n>1?1:n))},n=()=>{null===s&&(s=requestAnimationFrame(r))};return r(),window.addEventListener("scroll",n,{passive:!0}),window.addEventListener("resize",n,{passive:!0}),()=>{window.removeEventListener("scroll",n),window.removeEventListener("resize",n),null!==s&&cancelAnimationFrame(s),t.style.removeProperty(a)}},[e,a,i])}])},865701,e=>{"use strict";var t=e.i(471874);
10class a extends Error{code;constructor(e,t){super(t),this.name="LocationError",this.code=e}}function i(e){return new Promise((t,a)=>{navigator.geolocation.getCurrentPosition(t,a,e)})}function s(e){return"object"==typeof e&&null!==e&&1===e.code}async function r(){try{if(!navigator.permissions?.query)return null;return(await navigator.permissions.query({name:"geolocation"})).state}catch{return null}}async function n(){try{let e=new AbortController,t=setTimeout(()=>e.abort(),6e3),a=await fetch("/api/geo",{signal:e.signal,cache:"no-store"}).finally(()=>clearTimeout(t));if(!a.ok)return null;let i=await a.json(),s=i?.data?.latitude,r=i?.data?.longitude;if("number"!=typeof s||"number"!=typeof r)return null;return{latitude:s,longitude:r,source:"ip"}}catch{return null}}async function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:15e3,{allowIpFallback:l=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!navigator.geolocation)throw new a("unsupported","Location services are not available on this device.");let o=await r();if("denied"===o)throw new a("denied","Location permission was denied.");let c=(e,a)=>{let i={latitude:e.coords.latitude,longitude:e.coords.longitude,source:a};return(0,t.saveLocationToHistory)({latitude:i.latitude,longitude:i.longitude,accuracy:e.coords.accuracy??null,source:"gps",timestamp:e.timestamp}),i},d=!1;try{let t=await i({enableHighAccuracy:!0,timeout:e,maximumAge:3e4});return c(t,"gps")}catch(e){s(e)&&(d=!0)}if(!d)try{let e=await i({enableHighAccuracy:!1,timeout:8e3,maximumAge:12e4});return c(e,"network")}catch(e){s(e)&&(d=!0)}let[u]=(0,t.getLocationHistory)();if(u&&null!=u.latitude&&null!=u.longitude)return{latitude:u.latitude,longitude:u.longitude,source:"cached"};if(l){let e=await n();if(e)return e}if(d)throw new a("granted"===o?"system-blocked":"denied","Location permission was denied.");throw new a("unavailable","Could not determine your location. Please try again.")}e.s(["LocationError",0,a,"getCoordinates",0,l,"locationErrorMessage",0,function(e){return e instanceof a&&"denied"===e.code?"Location access is required to continue. Please allow location permission in your browser settings and try again.":e instanceof a&&"system-blocked"===e.code?"Your browser has location access, but your device is blocking it. Turn on Location Services in your system settings (and allow your browser), then try again.":e instanceof a&&"unsupported"===e.code?"Your device or browser does not support location, which is required to continue.":"We couldn't detect your location. Please check that you're online and that location services are on, then try again."}])},190615,e=>{"use strict";let t="2026-08-18b",a=function(e,a){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{id:e,poster:`/hf/${e}.jpg?v=${t}`,video:i.video?`/hf/${e}.mp4?v=${t}`:null,scrub:i.scrub?`/hf/${e}.scrub.mp4?v=${t}`:null,alt:a}},i={heroPharmacy:a("hero-pharmacy","A late-night pharmacy counter, lit by a single overhead light",{video:!0}),heroPharmacyPortrait:a("hero-pharmacy-portrait","A late-night pharmacy counter, lit by a single overhead light"),useMedical:a("use-medical","A hospital billing window at night"),useShop:a("use-shop","A shop shutter being raised at dawn"),useSchool:a("use-school","A school fee counter in the morning"),useFestival:a("use-festival","A home lit for a festival evening"),useEmi:a("use-emi","A kitchen table with bills laid out"),useEmergency:a("use-emergency","A highway at night, headlights in rain"),stepApply:a("step-apply","A phone held in one hand, an application open",{video:!0}),stepDecide:a("step-decide","A decision returning in seconds",{video:!0}),stepMoney:a("step-money","Money landing in an account",{video:!0}),ctaStreet:a("cta-street","A tier-2 Indian street at golden hour",{video:!0,scrub:!0}),keyProducts:a("key-products","Quikkred loan products"),keyAbout:a("key-about","The people behind Quikkred"),keyPartners:a("key-partners","Quikkred partner network"),keyResources:a("key-resources","Borrowing tools and guides"),keyCareers:a("key-careers","Working at Quikkred"),keyPolicies:a("key-policies","Quikkred policy and legal documents"),keyContact:a("key-contact","Getting in touch with Quikkred"),keyDailyLadder:a("key-daily-ladder","The Quikkred Daily L
10adder product")};e.s(["HF",0,i],190615)},469184,e=>{"use strict";let t=(0,e.i(475254).default)("arrow-up-right",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);e.s(["default",0,t])},123287,e=>{"use strict";let t=(0,e.i(475254).default)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["default",0,t])},641877,e=>{"use strict";let t=(0,e.i(475254).default)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);e.s(["default",0,t])},360200,e=>{"use strict";let t=(0,e.i(475254).default)("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);e.s(["default",0,t])}]);

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.