import{n as e,t}from"./jsx-runtime-BrKkGzFB.js";import{t as n}from"./trending-up-DfH_Vz33.js";import{T as r,wt as i}from"./app-KzKSswgw.js";import{r as a}from"./utils-Bv0pu62v.js";import{t as o}from"./feature-card-DF8JacK7.js";var s=i(`CalendarRange`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`4`,rx:`2`,key:`1hopcy`}],[`path`,{d:`M16 2v4`,key:`4m81vk`}],[`path`,{d:`M3 10h18`,key:`8toen8`}],[`path`,{d:`M8 2v4`,key:`1cmpym`}],[`path`,{d:`M17 14h-6`,key:`bkmgh3`}],[`path`,{d:`M13 18H7`,key:`bb0bb7`}],[`path`,{d:`M7 14h.01`,key:`1qa3f1`}],[`path`,{d:`M17 18h.01`,key:`1bdyru`}]]),c=i(`Cpu`,[[`rect`,{width:`16`,height:`16`,x:`4`,y:`4`,rx:`2`,key:`14l7u7`}],[`rect`,{width:`6`,height:`6`,x:`9`,y:`9`,rx:`1`,key:`5aljv4`}],[`path`,{d:`M15 2v2`,key:`13l42r`}],[`path`,{d:`M15 20v2`,key:`15mkzm`}],[`path`,{d:`M2 15h2`,key:`1gxd5l`}],[`path`,{d:`M2 9h2`,key:`1bbxkp`}],[`path`,{d:`M20 15h2`,key:`19e6y8`}],[`path`,{d:`M20 9h2`,key:`19tzq7`}],[`path`,{d:`M9 2v2`,key:`165o2o`}],[`path`,{d:`M9 20v2`,key:`i2bqo8`}]]),l=i(`Lock`,[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`,key:`1w4ew1`}],[`path`,{d:`M7 11V7a5 5 0 0 1 10 0v4`,key:`fwvmzm`}]]),u=e(),d=t();function f(e){let t=(0,u.c)(32),{durations:i,maxAmount:f,minAmount:h,monthlyReturn:g}=e,_;t[0]===i?_=t[1]:(_=i.map(m).join(`, `),t[0]=i,t[1]=_);let v=_,y=`${g}% mensual`,b=`${v} meses`,x;t[2]===h?x=t[3]:(x=a(h),t[2]=h,t[3]=x);let S=`${x} min.`,C;t[4]===f?C=t[5]:(C=a(f),t[4]=f,t[5]=C);let w=`${C} max.`,T;t[6]!==y||t[7]!==b||t[8]!==S||t[9]!==w?(T=[y,b,S,w],t[6]=y,t[7]=b,t[8]=S,t[9]=w,t[10]=T):T=t[10];let E=T,D;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(D=(0,d.jsxs)(`div`,{className:`space-y-1`,children:[(0,d.jsx)(`h2`,{className:`text-lg font-semibold`,children:`Detalles del Producto`}),(0,d.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Conoce los beneficios de tu inversión`})]}),t[11]=D):D=t[11];let O=`${g}% mensual (tasa actual)`,k;t[12]===O?k=t[13]:(k=(0,d.jsx)(o,{icon:n,title:`Rendimiento Mensual`,description:O,highlighted:!0}),t[12]=O,t[13]=k);let A=`Elige entre ${v} meses`,j;t[14]===A?j=t[15]:(j=(0,d.jsx)(o,{icon:s,title:`Flexibilidad`,description:A,highlighted:!0}),t[14]=A,t[15]=j);let M,N;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,d.jsx)(o,{icon:l,title:`Seguridad`,description:`Capital protegido`}),N=(0,d.jsx)(o,{icon:c,title:`Automático`,description:`Ganancias calculadas automáticamente`}),t[16]=M,t[17]=N):(M=t[16],N=t[17]);let P;t[18]!==k||t[19]!==j?(P=(0,d.jsxs)(`div`,{className:`space-y-3`,children:[k,j,M,N]}),t[18]=k,t[19]=j,t[20]=P):P=t[20];let F;t[21]===Symbol.for(`react.memo_cache_sentinel`)?(F=(0,d.jsx)(`h3`,{className:`font-semibold`,children:`Características del plan`}),t[21]=F):F=t[21];let I;t[22]===E?I=t[23]:(I=(0,d.jsx)(`div`,{className:`flex flex-wrap gap-2`,children:E.map(p)}),t[22]=E,t[23]=I);let L;t[24]===Symbol.for(`react.memo_cache_sentinel`)?(L=(0,d.jsxs)(`ul`,{className:`space-y-1.5 text-sm text-muted-foreground`,children:[(0,d.jsx)(`li`,{children:`Liquidación: Al final del período`}),(0,d.jsx)(`li`,{children:`Seguimiento: Dashboard en tiempo real`}),(0,d.jsx)(`li`,{children:`Tasa variable según configuración mensual`})]}),t[24]=L):L=t[24];let R;t[25]===I?R=t[26]:(R=(0,d.jsxs)(`div`,{className:`space-y-2.5`,children:[F,I,L]}),t[25]=I,t[26]=R);let z;t[27]===Symbol.for(`react.memo_cache_sentinel`)?(z=(0,d.jsx)(r,{className:`h-fit shrink-0 self-center bg-primary px-2.5 py-1.5 text-xs text-primary-foreground`,children:`Nuevo`}),t[27]=z):z=t[27];let B;t[28]===Symbol.for(`react.memo_cache_sentinel`)?(B=(0,d.jsxs)(`div`,{className:`flex gap-3 rounded-lg border border-primary/40 bg-primary/10 p-4`,children:[z,(0,d.jsxs)(`div`,{className:`min-w-0`,children:[(0,d.jsx)(`p`,{className:`font-semibold`,children:`Sistema automatizado`}),(0,d.jsx)(`p`,{className:`mt-1 text-sm leading-relaxed text-muted-foreground`,children:`Tus ganancias se calculan y actualizan automáticamente cada mes.`})]})]}),t[28]=B):B=t[28];let V;return t[29]!==P||t[30]!==R?(V=(0,d.jsxs)(`aside`,{className:`space-y-5`,children:[D,P,R,B]}),t[29]=P,t[30]=R,t[31]=V):V=t[31],V}function p(e){return(0,d.jsx)(`span`,{className:`rounded-full border border-primary/30 bg-primary/10 px-2.5 py-0.5 text-xs font-medium text-primary`,children:e},e)}function m(e){return e.months}export{f as default};