`); alert('✅ Ventana de exportación abierta!\n\n' + '📋 El CSV está seleccionado automáticamente\n' + '⌨️ Presiona Ctrl+C para copiar\n' + '📊 Pega en Excel o Google Sheets'); } else { // Fallback si no se puede abrir ventana alert('❌ No se pudo abrir ventana de exportación.\n\n' + 'CSV generado:\n\n' + csvContent.substring(0, 500) + '...\n\n' + 'Copia este contenido manualmente.'); } } catch (error) { console.error('Error en exportación:', error); alert('❌ Error exportando: ' + error.message); } }; const getIntentColor = (intent) => { const colors = { informational: 'bg-blue-100 text-blue-800', commercial: 'bg-green-100 text-green-800', transactional: 'bg-purple-100 text-purple-800', mixed: 'bg-orange-100 text-orange-800', manual: 'bg-indigo-100 text-indigo-800', general: 'bg-gray-100 text-gray-800' }; return colors[intent] || 'bg-gray-100 text-gray-800'; }; const getAllKeywords = () => { return [...new Set([...keywords, ...clusters.flatMap(c => c.keywords)])]; }; return (
{/* Header */}

Keyword Clustering AI

Agrupa automáticamente tus keywords por intención de búsqueda y temática usando algoritmos de NLP avanzados

{/* Panel de entrada */}

Cargar Keywords

o