PageSourceSearch

https://tukompa.com/_next/static/chunks/1zag7fjgyjiv9.js

js tukompa.com collected 2026-10-08 13:39:01 UTC 23,414 bytes, 12 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,48735,65161,88465,e=>{"use strict";function t(e){let t=new Date(e);for(;0===t.getDay()||6===t.getDay();)t.setDate(t.getDate()-1);return t}function o(e){return`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`}function i(e){return!Number.isFinite(e)||e<=-100?0:Math.round((Math.pow(1+e/100,1/12)-1)*1e4)/100}function n(e,t){return Math.round((t.getTime()-e.getTime())/864e5)}e.s(["calcular",0,function(e,o,r,s="MENSUAL",a=0){let{v_com:l,v_gas:d}=function(e,t=0){let o=e<=200?{v_com:.14,v_gas:.14}:e<=400?{v_com:.07,v_gas:.07}:e<=600?{v_com:.065,v_gas:.065}:e<=800?{v_com:.055,v_gas:.055}:{v_com:.05,v_gas:.05};return{v_com:o.v_com-t,v_gas:o.v_gas-t}}(e,a),c=Math.pow(1.999,("QUINCENAL"===s?15:30)/360)-1,u=function(e,o){let i=e.getDate()>=28,n=e.getMonth(),r=e.getFullYear(),s=[];for(let e=0;e<o;e++){let o=n+e,a=r+Math.floor(o/12),l=o%12;s.push(i?t(new Date(a,l+1,0)):t(new Date(a,l,15)))}return s}(r,o),p=new Date;p.setHours(0,0,0,0);let g=function(e,t){let o=e.getDate()>=28,i=e.getMonth(),n=e.getFullYear(),r=[];for(let e=0;e<t;e++){let t=i+e,s=n+Math.floor(t/12),a=t%12;r.push(o?new Date(s,a+1,0):new Date(s,a,15))}return r}(r,o),h=g.map((e,t)=>n(0===t?p:g[t-1],e)),m=e*l,x=e*d,f=(e,t)=>e*(Math.pow(1.999,t/360)-1),b=t=>{let i=e;for(let e=0;e<o;e++){let o=f(i,h[e]),n=.18*(o+m+x);i-=t-o-m-x-n}return i},y=e/o,j=3*e+o*(l+d)*e*2.36;j>y||(j=10*e),j<10*e&&(j=Math.max(j,10*e));for(let e=0;e<60;e++){let e=(y+j)/2;b(e)>0?y=e:j=e}let v=(y+j)/2,S=[],w=[],k=[],E=[],M=[],F=e;for(let e=0;e<o;e++){let t=F;if(S[e]=t,k[e]=f(t,h[e]),E[e]=.18*(k[e]+m+x),e===o-1){let o=Math.max(t,0);w[e]=o,M[e]=o+k[e]+E[e]+m+x,F=0}else w[e]=v-k[e]-m-x-E[e],M[e]=v,F=t-w[e]}let C=u.map((e,t)=>({n:t+1,fecha:`${["dom","lun","mar","mié","jue","vie","sáb"][e.getDay()]} ${e.getDate()} ${["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"][e.getMonth()]} ${e.getFullYear()}`,dias:h[t],saldo:Math.round(100*S[t])/100,amort:Math.round(100*w[t])/100,interes:Math.round(100*k[t])/100,comision:Math.round(100*m)/100,gastos:Math.round(100*x)/100,igv:Math.round(100*E[t])/100,cuota:Math.round(100*M[t])/100})),B=Math.round(100*function(e,t,o,i){let r=i.map(e=>n(o,e)),s=o=>-e+t.reduce((e,t,i)=>e+t/Math.pow(1+o,r[i]/365),0),a=0,l=1e3;for(let e=0;e<200;e++){let e=(a+l)/2;s(e)>0?a=e:l=e}return(a+l)/2}(e,M,p,u)*100)/100;return{cuota:Math.round(100*M[0])/100,total:Math.round(100*M.reduce((e,t)=>e+t,0))/100,intereses:Math.round(100*k.reduce((e,t)=>e+t,0))/100,igv:Math.round(100*E.reduce((e,t)=>e+t,0))/100,comision:Math.round(m*o*100)/100,gastos:Math.round(x*o*100)/100,tcea:B,tcem:i(B),tem:Math.round(100*c*1e3)/1e3,cronograma:C}},"generarFechasDisponibles",0,function(e=new Date){let o=e.getMonth(),i=e.getFullYear(),n=11===o?0:o+1,r=11===o?i+1:i;return 7>=e.getDate()?[t(new Date(i,o+1,0)),t(new Date(r,n,15))]:[t(new Date(r,n,15)),t(new Date(r,n+1,0))]},"tcemFromTcea",0,i,"toIsoDate",0,o],48735);var r=e.i(71645);async function s(e){let t,n,r=await fetch("/api/cuota-ref",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({monto:e.monto,plazo:e.plazo,frecuencia:"MENSUAL",primera_cuota:o(e.primeraCuota)}),signal:e.signal}),s=await r.json();if(!r.ok||s?.error||s?.monto_total==null||!s.cronograma?.length)throw Error(s?.error||"No se pudo calcular la cuota");return t=Number(s.tcea),n=Number(s.tcem),{cuota:Math.round(100*Number(s.monto_total))/100,total:Number(s.total),intereses:Number(s.intereses),igv:Number(s.igv),comision:Number(s.comision),gastos:Number(s.gastos),tcea:t,tcem:Number.isFinite(n)?n:i(t),tem:Number(s.tem),cronograma:(s.cronograma||[]).map(e=>({n:e.n,fecha:e.fecha,dias:e.dias,saldo:Number(e.saldo),amort:Number(e.amort),interes:Number(e.interes),comision:Number(e.comision),gastos:Number(e.gastos),igv:Number(e.igv),cuota:Number(e.cuota)}))}}e.s(["useCuotaRef",0,function(e,t,i){let[n,a]=(0,r.useState)(null),[l,d]=(0,r.useState)(!0),[c,u]=(0,r.useState)(!1),p=o(i);return(0,r.useEffect)(()=>{a(null),d(!0),u(!1);let o=new AbortController,i=setTimeout(()=>{s({monto:e,plazo:t,primeraCuota:new Date(`${p}T12:00:00`),signal:o.signal}).then(e=>{a(e),d(!1)}).catch(e=>{e?.name!=="AbortError"&&(a(null),u(!0),d(!1))})},300);return()=>{clearTimeout(i),o.abort()}},[e,t,p]),{resultado:n,calculando:l,error:c}}],65161);var a=e.i(43476);function l({width:e=88,height:t=18,light:o=!1}
1){return(0,a.jsx)("span",{"aria-hidden":!0,className:"cuota-skeleton",style:{display:"inline-block",width:e,height:t,borderRadius:6,verticalAlign:"middle",background:o?"rgba(255,255,255,.28)":"#E4E6F2"}})}e.s(["CuotaSkeleton",0,l,"MoneyValue",0,function({loading:e,value:t,format:o="money",prefix:i,suffix:n,light:r=!1,width:s,height:d}){if(!(!e&&null!=t&&Number.isFinite(t)))return(0,a.jsx)(l,{width:s??("percent"===o?56:88),height:d??18,light:r});let c="percent"===o?`${t}%`:"fixed2"===o?`${i??"S/ "}${t.toFixed(2)}`:"plain2"===o?t.toFixed(2):"int"===o?`${i??"S/ "}${t.toLocaleString("es-PE")}`:`${i??"S/ "}${t.toLocaleString("es-PE",{minimumFractionDigits:2,maximumFractionDigits:2})}`;return(0,a.jsxs)(a.Fragment,{children:[c,n]})}],88465)},69640,e=>{"use strict";var t=e.i(43476),o=e.i(71645),i=e.i(18566),n=e.i(48735),r=e.i(65161),s=e.i(88465);function a(e){return["Dom","Lun","Mar","Mié","Jue","Vie","Sáb"][e.getDay()]}function l(e){return`${e.getDate()} ${["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"][e.getMonth()]} ${e.getFullYear()}`}e.s(["default",0,function(){let e=(0,i.useRouter)(),[d,c]=(0,o.useState)(600),[u,p]=(0,o.useState)(3),[g,h]=(0,o.useState)(0),[m,x]=(0,o.useState)(!1),[f]=(0,o.useState)(()=>(0,n.generarFechasDisponibles)()),b=(d-200)/800*100,y=d<=200?[1]:d<=400?[2]:d<=600?[2,3]:[3,4];(0,o.useEffect)(()=>{y.includes(u)||p(y[0])},[d]);let j=f[g],{resultado:v,calculando:S,error:w}=(0,r.useCuotaRef)(d,u,j),k=v?.cuota,E=v?.total,M=v?.cronograma??[],F=null!=v?v.intereses+v.comision+v.gastos:void 0;return(0,t.jsxs)("div",{style:{background:"#fff",borderRadius:24,padding:28,boxShadow:"0 24px 60px rgba(27,20,100,.18)",position:"relative"},children:[(0,t.jsx)("div",{style:{position:"absolute",top:-14,right:24,background:"#F7941E",color:"#fff",fontSize:12,fontWeight:700,letterSpacing:".06em",padding:"7px 18px",borderRadius:999,boxShadow:"0 8px 24px rgba(247,148,30,.4)"},children:"Simula gratis"}),(0,t.jsx)("div",{style:{fontSize:13,fontWeight:600,color:"#555A78",marginBottom:4},children:"¿Cuánto necesitas?"}),(0,t.jsxs)("div",{style:{fontSize:56,fontWeight:800,color:"#1B1464",lineHeight:1,marginBottom:4},children:[(0,t.jsx)("sup",{style:{fontSize:22,fontWeight:700,verticalAlign:"super",marginRight:2},children:"S/"}),(0,t.jsx)("span",{children:d.toLocaleString("es-PE")})]}),(0,t.jsxs)("div",{style:{position:"relative",marginBottom:4},children:[(0,t.jsx)("div",{style:{position:"absolute",left:0,top:"50%",transform:"translateY(-50%)",height:5,borderRadius:3,background:"#F7941E",width:`${b}%`,pointerEvents:"none",zIndex:1}}),(0,t.jsx)("div",{style:{position:"absolute",left:0,right:0,top:"50%",transform:"translateY(-50%)",height:5,borderRadius:3,background:"#E2E4EF"}}),(0,t.jsx)("input",{type:"range",min:200,max:1e3,step:200,value:d,onChange:e=>c(Number(e.target.value)),style:{width:"100%",height:30,background:"transparent",outline:"none",WebkitAppearance:"none",cursor:"pointer",position:"relative",zIndex:2}})]}),(0,t.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",fontSize:11,color:"#9095B0",marginBottom:20},children:[(0,t.jsx)("span",{children:"S/ 200"}),(0,t.jsx)("span",{children:"S/ 1,000"})]}),(0,t.jsx)("div",{style:{fontSize:13,fontWeight:600,color:"#555A78",marginBottom:10},children:"¿En cuántas cuotas?"}),(0,t.jsx)("div",{style:{display:"flex",gap:8,marginBottom:20},children:y.map(e=>(0,t.jsxs)("button",{onClick:()=>p(e),style:{flex:1,padding:"12px 8px",border:`1.5px solid ${u===e?"#1B1464":"#E2E4EF"}`,borderRadius:10,background:u===e?"#1B1464":"#fff",fontSize:13,fontWeight:700,color:u===e?"#fff":"#555A78",cursor:"pointer",transition:".15s",fontFamily:"inherit"},children:[e," ",1===e?"cuota":"cuotas"]},e))}),(0,t.jsx)("div",{style:{fontSize:13,fontWeight:600,color:"#555A78",marginBottom:10},children:"¿Cuándo prefieres pagar tu primera cuota?"}),(0,t.jsx)("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:8,marginBottom:8},children:f.map((e,o)=>{let i=o===g;return(0,t.jsxs)("div",{onClick:()=>h(o),style:{border:`1.5px solid ${i?"#1B1464":"#E2E4EF"}`,borderRadius:12,padding:"12px 14px",cursor:"pointer",background:i?"#F4F4FB":"#fff",position:"relative",transition:".15s"},children:[(0,t.jsxs)("div",{style:{fontSize:12,color:"#9095B0",fontWeight:600},children:[a(e)," ",l(e)]}),i&&(0,t.jsx)("div",{style:{position:"absolute",top:10,right:10,width:18,height:18,borderRadius:"50%",background:"#1B1464",display:"flex",alignItems:"center",justifyContent:"center"},children:(0,t.jsx)("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",children:(0,t.jsx)("path",{d:"M2 5l2 2 4-4",stroke:"#fff",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]},o)})}),(0,t.jsxs)("div",{style:{background:"#1B1464",borderRadius:14,padding:"16px 20px",marginTop:16,marginBottom:8,display:"flex",alignItems:"center",justifyContent:"space-between"},children:[(0,t.jsx)("span",{style:{fontSize:13,fontWeight:600,color:"rgba(255,255,255,.72)"},children:S?"Calculando tu cuota…":"Tu cuota mensual"}),(0,t.jsx)("span",{style:{fontSize:28,fontWeight:800,color:"#fff",letterSpacing:"-.01em",minHeight:34,display:"inline-flex",alignItems:"center"},children:(0,t.jsx)(s.MoneyValue,{loading:S,value:k,format:"fixed2",light:!0,height:28,width:120})})]}),w&&!S&&(0,t.jsx)("div",{style:{fontSize:12,color:"#E2453D",marginBottom:10},children:"No se pudo calcular la cuota. Probá de nuevo."}),(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:8,fontSize:13,color:"#555A78",marginBottom:14},children:[(0,t.jsxs)("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"#F7941E",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("rect",{x:"3",y:"4",width:"18",height:"17",rx:"2"}),(0,t.jsx)("path",{d:"M3 9h18M8 2v4M16 2v4"})]}),(0,t.jsxs)("span",{children:["Tu primer pago: ",(0,t.jsxs)("strong",{style:{color:"#1B1464"},children:[a(j)," ",l(j)]})]})]}),(0,t.jsxs)("div",{style:{border:"1px solid #E2E4EF",borderRadius:12,overflow:"hidden",marginBottom:14},children:[(0,t.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",padding:"10px 16px",fontSize:13,borderBottom:"1px solid #E2E4EF"},children:[(0,t.jsx)("span",{style:{color:"#555A78"},children:"Monto solicitado"}),(0,t.jsxs)("span",{style:{fontWeight:600,color:"#1B1464"},children:["S/ ",d.toFixed(2)]})]}),(0,t.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",padding:"10px 16px",fontSize:13,borderBottom:"1px solid #E2E4EF"},children:[(0,t.jsx)("span",{style:{color:"#F7941E"},children:"Intereses y comisiones"}),(0,t.jsx)("span",{style:{fontWeight:600,color:"#1B1464"},children:(0,t.jsx)(s.MoneyValue,{loading:S,value:F,format:"fixed2"})})]}),(0,t.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",padding:"10px 16px",fontSize:13,borderBottom:"1px solid #E2E4EF"},children:[(0,t.jsx)("span",{style:{color:"#555A78"},children:"IGV"}),(0,t.jsx)("span",{style:{fontWeight:600,color:"#1B1464"},children:(0,t.jsx)(s.MoneyValue,{loading:S,value:v?.igv,format:"fixed2"})})]}),(0,t.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",padding:"10px 16px",fontSize:13,borderBottom:"1px solid #E2E4EF",background:"#FFF6EA"},children:[(0,t.jsx)("span",{style:{color:"#1A1A2E",fontWeight:700},children:"Total a pagar"}),(0,t.jsx)("span",{style:{fontWeight:800,color:"#F7941E",fontSize:15},children:(0,t.jsx)(s.MoneyValue,{loading:S,value:E,format:"fixed2",height:18,width:96})})]}),(0,t.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",padding:"10px 16px",fontSize:13},children:[(0,t.jsxs)("span",{style:{color:"#555A78",display:"flex",alignItems:"center",gap:4},children:["TCEM referencial",(0,t.jsx)("span",{title:"Tasa de Costo Efectivo Mensual referencial.",style:{width:14,height:14,borderRadius:"50%",background:"#E2E4EF",color:"#9095B0",fontSize:9,fontWeight:700,display:"inline-flex",alignItems:"center",justifyContent:"center",cursor:"help"},children:"?"})]}),(0,t.jsx)("span",{style:{fontWeight:700,color:"#1B1464"},children:(0,t.jsx)(s.MoneyValue,{loading:S,value:v?.tcem,format:"percent"})})]})]}),(0,t.jsxs)("button",{onClick:()=>x(!m),style:{width:"100%",background:"none",border:"1px solid #E2E4EF",borderRadius:10,padding:"10px 16px",fontFamily:"inherit",fontSize:13,fontWeight:600,color:"#1B1464",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:12},children:[(0,t.jsxs)("span",{style:{display:"flex",alignItems:"center",gap:8},children:[(0,t.jsxs)("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("rect",{x:"3",y:"4",width:"18",height:"17",rx:"2"}),(0,t.jsx)("path",{d:"M3 9h18M8 2v4M16 2v4"})]}),"Ver cronograma de pagos"]}),(0,t.jsx)("span",{style:{fontSize:16,transform:m?"rotate(180deg)":"none",display:"inline-block",transition:".2s"},children:"⌄"})]}),m&&(0,t.jsxs)("div",{style:{border:"1px solid #E2E4EF",borderRadius:12,overflow:"hidden",marginBottom:14},children:[(0,t.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"28px 1fr 44px 60px 68px",background:"#F7F8FC",padding:"8px 12px",fontSize:11,fontWeight:700,color:"#9095B0",textTransform:"uppercase",letterSpacing:".06em",borderBottom:"1px solid #E2E4EF"},children:[(0,t.jsx)("span",{children:"N°"}),(0,t.jsx)("span",{children:"Fecha"}),(0,t.jsx)("span",{style:{textAlign:"center"},children:"Días"}),(0,t.jsx)("span",{style:{textAlign:"right"},children:"Interés"}),(0,t.jsx)("span",{style:{textAlign:"right"},children:"Cuota"})]}),S?Array.from({length:u},(e,o)=>(0,t.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"28px 1fr 44px 60px 68px",padding:"9px 12px",fontSize:12.5,borderBottom:"1px solid #F0F0F6",alignItems:"center"},children:[(0,t.jsx)("span",{style:{color:"#9095B0",fontWeight:600},children:o+1}),(0,t.jsx)(s.CuotaSkeleton,{width:110,height:14}),(0,t.jsx)("span",{style:{textAlign:"center"},children:(0,t.jsx)(s.CuotaSkeleton,{width:28,height:14})}),(0,t.jsx)("span",{style:{textAlign:"right"},children:(0,t.jsx)(s.CuotaSkeleton,{width:44,height:14})}),(0,t.jsx)("span",{style:{textAlign:"right"},children:(0,t.jsx)(s.CuotaSkeleton,{width:52,height:14})})]},o)):M.map(e=>(0,t.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"28px 1fr 44px 60px 68px",padding:"9px 12px",fontSize:12.5,borderBottom:"1px solid #F0F0F6",alignItems:"center"},children:[(0,t.jsx)("span",{style:{color:"#9095B0",fontWeight:600},children:e.n}),(0,t.jsx)("span",{style:{color:"#1B1464",fontWeight:500},children:e.fecha}),(0,t.jsx)("span",{style:{color:"#F7941E",fontWeight:600,textAlign:"center"},children:e.dias}),(0,t.jsx)("span",{style:{color:"#555A78",textAlign:"right"},children:e.interes.toFixed(2)}),(0,t.jsx)("span",{style:{color:"#1B1464",fontWeight:700,textAlign:"right"},children:e.cuota.toFixed(2)})]},e.n)),(0,t.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"28px 1fr 44px 60px 68px",padding:"9px 12px",fontSize:12.5,background:"#F7F8FC",fontWeight:700},children:[(0,t.jsx)("span",{}),(0,t.jsx)("span",{style:{color:"#1B1464"},children:"Total"}),(0,t.jsx)("span",{}),(0,t.jsx)("span",{style:{color:"#555A78",textAlign:"right"},children:(0,t.jsx)(s.MoneyValue,{loading:S,value:v?.intereses,format:"plain2",width:44,height:14})}),(0,t.jsx)("span",{style:{color:"#1B1464",textAlign:"right"},children:(0,t.jsx)(s.MoneyValue,{loading:S,value:E,format:"plain2",width:52,height:14})})]})]}),(0,t.jsx)("p",{style:{fontSize:11,color:"#9095B0",lineHeight:1.5,marginBottom:14},children:"*Simulación referencial. La cuota y la tasa finales dependen de tu perfil crediticio."}),(0,t.jsx)("button",{onClick:function(){localStorage.setItem("tukompa_sim",JSON.stringify({amount:d,term:u,firstIdx:g})),e.push("/solicitar")},disabled:S,className:"btn btn-primary btn-block",style:{padding:"14px 0",fontSize:15,fontWeight:700,opacity:S?.6:1,cursor:S?"wait":"pointer"},children:S?"Calculando cuota…":"Continuar mi solicitud"}),(0,t.jsx)("style",{children:`
2        input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #1B1464; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(27,20,100,.35); cursor: pointer; margin-top: -8px; }
3        input[type=range]::-webkit-slider-runnable-track { height: 5px; border-radius: 3px; background: transparent; }
4        input[type=range]::-moz-range-track { height: 5px; border-radius: 3px; background: transparent; }
5        input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #1B1464; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(27,20,100,.35); cursor: pointer; }
6      `})]})}])},4532,e=>{"use strict";var t=e.i(43476),o=e.i(71645);function i({s:e,i:n}){let{count:r,ref:s}=function(e,t=1500){let[i,n]=(0,o.useState)(e),r=(0,o.useRef)(null),s=(0,o.useRef)(!1);return(0,o.useEffect)(()=>{n(0);let o=new IntersectionObserver(([o])=>{if(o.isIntersecting&&!s.current){s.current=!0;let o=performance.now(),i=r=>{let s=Math.min((r-o)/t,1);n(Math.round((1-Math.pow(1-s,3))*e)),s<1&&requestAnimationFrame(i)};requestAnimationFrame(i)}},{threshold:.3});return r.current&&o.observe(r.current),()=>o.disconnect()},[e,t]),{count:i,ref:r}}(e.decimal?10*e.target:e.target),a=e.decimal?(r/10).toFixed(1):r.toLocaleStr
6ing("es-PE");return(0,t.jsxs)("div",{ref:s,style:{textAlign:"center",color:"#fff",position:"relative"},children:[n>0&&(0,t.jsx)("span",{style:{position:"absolute",left:0,top:"50%",transform:"translateY(-50%)",height:42,width:1,background:"rgba(255,255,255,.28)"}}),(0,t.jsxs)("div",{style:{fontSize:"clamp(28px,3vw,38px)",fontWeight:800,lineHeight:1,letterSpacing:"-.02em"},children:[e.prefix,a,e.suffix]}),(0,t.jsx)("div",{style:{fontSize:13.5,color:"rgba(255,255,255,.9)",marginTop:7,fontWeight:500},children:e.label})]})}e.s(["default",0,function(){return(0,t.jsx)("section",{style:{background:"#F7941E",padding:"32px max(24px,5vw)"},children:(0,t.jsx)("div",{style:{maxWidth:1180,margin:"0 auto",display:"grid",gridTemplateColumns:"repeat(4,1fr)",gap:20},className:"stats-grid",children:[{target:5e3,prefix:"+",suffix:"",label:"Peruanos atendidos"},{target:8,prefix:"",suffix:" min",label:"Tiempo de respuesta"},{target:24,prefix:"",suffix:" h",label:"Para recibir tu dinero"},{target:4.8,prefix:"",suffix:" ★",label:"Satisfacción de clientes",decimal:!0}].map((e,o)=>(0,t.jsx)(i,{s:e,i:o},o))})})}])},32153,e=>{"use strict";var t=e.i(43476),o=e.i(71645);let i=[{nombre:"Rosa",ciudad:"Trujillo",monto:800,meses:6},{nombre:"Carlos",ciudad:"Lima",monto:1e3,meses:6},{nombre:"María",ciudad:"Arequipa",monto:600,meses:3},{nombre:"Jorge",ciudad:"Cusco",monto:500,meses:3},{nombre:"Ana",ciudad:"Piura",monto:900,meses:5},{nombre:"Luis",ciudad:"Chiclayo",monto:700,meses:4},{nombre:"Sofía",ciudad:"Ica",monto:1e3,meses:6},{nombre:"Pedro",ciudad:"Huancayo",monto:600,meses:3}];e.s(["SocialProofToast",0,function(){let[e,n]=(0,o.useState)(!1),[r,s]=(0,o.useState)(!1),[a,l]=(0,o.useState)(i[0]),[d,c]=(0,o.useState)(1);return(0,o.useEffect)(()=>{let e,t;return e=setTimeout(function o(){r||(l(i[Math.floor(Math.random()*i.length)]),c(Math.floor(8*Math.random())+1),s(!1),n(!0),t=setTimeout(()=>{n(!1),e=setTimeout(o,6e3*Math.random()+5e3)},5e3))},3e3),()=>{clearTimeout(e),clearTimeout(t)}},[]),(0,t.jsxs)("div",{className:"social-proof-toast",style:{position:"fixed",bottom:24,left:24,zIndex:9999,background:"#fff",borderRadius:12,padding:"12px 14px",boxShadow:"0 4px 20px rgba(18,12,69,.13)",border:"1px solid #E2E4EF",maxWidth:290,width:"calc(100vw - 48px)",transition:"opacity .3s, transform .3s",opacity:e&&!r?1:0,transform:e&&!r?"translateY(0)":"translateY(10px)",pointerEvents:e&&!r?"auto":"none"},children:[(0,t.jsx)("button",{onClick:()=>s(!0),style:{position:"absolute",top:8,right:8,background:"none",border:"none",cursor:"pointer",fontSize:13,color:"#A0A3B8",lineHeight:1,padding:2},"aria-label":"Cerrar",children:"✕"}),(0,t.jsxs)("div",{style:{fontSize:13,color:"#1B1464",lineHeight:1.4,paddingRight:16},children:[(0,t.jsxs)("span",{style:{fontWeight:700},children:[a.nombre," de ",a.ciudad]})," completó su solicitud por"]}),(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:7,marginTop:5},children:[(0,t.jsx)("span",{style:{width:8,height:8,borderRadius:"50%",background:"#22C55E",flexShrink:0,display:"inline-block"}}),(0,t.jsxs)("span",{style:{fontSize:13,fontWeight:700,color:"#1B1464"},children:["S/ ",a.monto," a ",a.meses," meses"]})]}),(0,t.jsxs)("div",{style:{fontSize:11,color:"#A0A3B8",marginTop:4},children:["hace ",d," minuto",1!==d?"s":""]})]})}])},29958,e=>{"use strict";var t=e.i(43476),o=e.i(71645);let i="tk_promo_usdt_popup_dismissed";e.s(["PromoUsdtPopup",0,function(){let[e,n]=(0,o.useState)(!1);function r(){n(!1);try{sessionStorage.setItem(i,"1")}catch{}}return((0,o.useEffect)(()=>{let e=!1;try{e="1"===sessionStorage.getItem(i)}catch{}if(e)return;let t=setTimeout(()=>n(!0),1200);return()=>clearTimeout(t)},[]),(0,o.useEffect)(()=>{if(!e)return;function t(e){"Escape"===e.key&&r()}document.addEventListener("keydown",t);let o=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",t),document.body.style.overflow=o}},[e]),e)?(0,t.jsxs)("div",{role:"dialog","aria-modal":"true","aria-label":"Promoción crédito en dólares digitales",onClick:r,style:{position:"fixed",inset:0,zIndex:1e4,background:"rgba(12,8,48,.65)",display:"flex",alignItems:"center",justifyContent:"center",padding:20},children:[(0,t.jsxs)("div",{className:"promo-popup-card",onClick:e=>e.stopPropagation(),style:{position:"relative",maxWidth:720,width:"100%",borderRadius:24,overflow:"hidden",boxShadow:"0 24px 70px rgba(0,0,0,.45)"},children:[(0,t.jsx)("button",{onClick:r,"aria-label":"Cerrar",style:{position:"absolute",top:12,right:12,width:32,height:32,borderRadius:"50%",border:"none",background:"rgba(0,0,0,.4)",color:"#fff",fontSize:16,cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center"},children:"✕"}),(0,t.jsxs)("a",{href:"/solicitar",style:{display:"block"},children:[(0,t.jsx)("img",{src:"/promo-usdt-desktop.png",alt:"¡Me gané! Pide tu crédito hoy en dólares digitales. Mismo monto, cuota más baja.",className:"promo-usdt-desktop",style:{display:"block",width:"100%",height:"auto"}}),(0,t.jsx)("img",{src:"/promo-usdt-mobile.png",alt:"¡Me gané! Pide tu crédito hoy en dólares digitales. Mismo monto, cuota más baja.",className:"promo-usdt-mobile",style:{display:"none",width:"100%",height:"auto"}})]})]}),(0,t.jsx)("style",{children:`
7        @media (max-width: 640px) {
8          .promo-popup-card { max-width: 360px !important; }
9          .promo-popup-card .promo-usdt-desktop { display: none !important; }
10          .promo-popup-card .promo-usdt-mobile { display: block !important; }
11        }
12      `})]}):null}])}]);

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.