const { Button, Badge, Stat, Icon } = window.Academia_fb1ae0; function Hero({ onEnroll }) { const t = window.GIO.t; const destacados = window.GIO.cursos.filter(c => c.destacado).slice(0, 3); const stats = [ [t.hero_stat_1_valor, t.hero_stat_1_label, 'brand'], [t.hero_stat_2_valor, t.hero_stat_2_label, 'accent'], [t.hero_stat_3_valor, t.hero_stat_3_label, 'plain'], ].filter(([v, l]) => v || l); return (
{t.hero_badge ? {t.hero_badge} : null}

{t.hero_titulo}{t.hero_titulo_destacado ? ' ' : ''} {t.hero_titulo_destacado} {t.hero_titulo_final}

{t.hero_subtitulo}

{stats.length ? (
{stats.map(([v, l, tone]) => )}
) : null}
{destacados.length ? (
{t.hero_panel_titulo} {destacados.map(c => ( ))}
) : null} {t.hero_aviso ? ( {t.hero_aviso} ) : null}
); } Object.assign(window, { Hero });