/* global React, DictoIcons, DictoShell */ // Steps3-4.jsx — Knowledge base + Competitor/Peer/Topic affini (Brand/Personal/Topic variants) const { IconUpload, IconLink, IconFile, IconTrash, IconPlus, IconSearch, IconInfo, IconSparkles, IconCheck, IconX, IconChevDown, IconFolder, } = window.DictoIcons; const { Wizard } = window.DictoShell; // ─── Step 03: Knowledge base ──────────────────────────────── function Step03({ tipologia = 'brand', nav = {} }) { const filesByType = { brand: [ { ic:'pdf', name:'Nutella_Brand_Guidelines_2025.pdf', info:'4.2 MB · 28 pagine', status:'processing', pct:62 }, { ic:'pdf', name:'Ferrero_Sustainability_Report_2024.pdf', info:'12.1 MB · 84 pagine', status:'queued' }, { ic:'doc', name:'Messaging Framework Q2.docx', info:'320 KB · Documento interno', status:'ready' }, { ic:'xls', name:'Category_Sales_FY24.xlsx', info:'1.8 MB · 14 sheet', status:'ready' }, { ic:'link', name:'www.nutella.com/it — sito ufficiale', info:'Crawl profondo · 84 URL', status:'ready' }, { ic:'link', name:'Articolo Il Sole 24 Ore — Marzo 2026', info:'Articolo singolo', status:'ready' }, ], personal: [ { ic:'pdf', name:'Intesa_Sanpaolo_Annual_Report_2024.pdf', info:'8.6 MB · 312 pagine', status:'processing', pct:48 }, { ic:'pdf', name:'Carlo_Messina_CV_Bio.pdf', info:'420 KB · 4 pagine', status:'ready' }, { ic:'doc', name:'Speech_Assemblea_Soci_2025.docx', info:'180 KB · Trascrizione ufficiale', status:'ready' }, { ic:'link', name:'group.intesasanpaolo.com — sito ufficiale', info:'Crawl mirato · area governance · 42 URL', status:'ready' }, { ic:'link', name:'Intervista Financial Times — Gennaio 2026', info:'Articolo singolo', status:'ready' }, { ic:'link', name:'Intervista Il Sole 24 Ore — Marzo 2026', info:'Articolo singolo', status:'queued' }, ], topic: [ { ic:'pdf', name:'EU_Proposta_Regolamento_UPF_2026.pdf', info:'3.1 MB · 64 pagine', status:'processing', pct:73 }, { ic:'pdf', name:'WHO_NOVA_Classification_Brief.pdf', info:'1.4 MB · 22 pagine', status:'ready' }, { ic:'pdf', name:'Posizione_Industria_Dolciaria_AIDEPI.pdf', info:'2.0 MB · 18 pagine', status:'ready' }, { ic:'xls', name:'Mercato_UPF_Italia_2020-2025.xlsx', info:'960 KB · 6 sheet', status:'ready' }, { ic:'link', name:'efsa.europa.eu/it — area UPF', info:'Crawl mirato · 28 URL', status:'ready' }, { ic:'link', name:'The Lancet — UPF and health (review 2025)', info:'Articolo singolo', status:'queued' }, ], }; const files = filesByType[tipologia] || filesByType.brand; const subjectLabel = { brand: 'sul brand', personal: 'sulla persona', topic: 'sul tema', }[tipologia]; const statusEl = (f) => { if (f.status === 'ready') return Indicizzato; if (f.status === 'queued') return In coda; return ( {f.pct}% ); }; return (

Contestualizza l'analisi

Aggiungi documenti, siti web o link che rappresentano la "verità" {subjectLabel}. Dicto userà questa knowledge base per confrontare ciò che dicono le AI con le fonti ufficiali e identificare gap o allucinazioni.

Trascina i file qui oppure
sfoglia dal tuo computer. Accetta PDF, DOCX, XLSX, PPTX, MD, TXT — max 50 MB per file.

Fonti aggiunte · {files.length}

{files.map((f,i) => (
{f.ic === 'link' ? : }
{f.name}
{f.info}
{statusEl(f)}
))}
Dicto elabora i contenuti per estrarre fatti, claim e messaggi chiave. L'elaborazione avviene in background — puoi continuare a configurare il progetto.
); } // ─── Step 04: Competitor / Peer / Topic affini ───────────── function Step04({ tipologia = 'brand', nav = {} }) { const isPersonal = tipologia === 'personal'; const isTopic = tipologia === 'topic'; const brandComps = [ { name:'Pan di Stelle Crema', owner:'Barilla', share:'Italia · 14%', seed:true, ic:'P', c:'#7A1F1F' }, { name:'Novi Crema', owner:'Novi Elah Dufour', share:'Italia · 9%', seed:true, ic:'N', c:'#1C1C1C' }, { name:'Nocciolata Rigoni', owner:'Rigoni di Asiago', share:'Italia · 7%', seed:true, ic:'R', c:'#2F5E2F' }, { name:'Hershey\'s Chocolate Spread', owner:'Hershey', share:'US · 6%', seed:true, ic:'H', c:'#5B2D1A' }, ]; const personalPeers = [ { name:'Andrea Orcel', owner:'CEO, UniCredit', share:'Banking IT/EU', seed:true, ic:'AO', c:'#C1272D' }, { name:'Philippe Donnet', owner:'Group CEO, Generali', share:'Insurance IT', seed:true, ic:'PD', c:'#9B1B30' }, { name:'Luigi Lovaglio', owner:'CEO, Monte dei Paschi', share:'Banking IT', seed:true, ic:'LL', c:'#0A4D8F' }, ]; const topicAffini = [ { name:'Nutri-Score & etichettatura nutrizionale', owner:'Topic affine · Regolamentazione UE', share:'+42% YoY', seed:true, ic:'NS', c:'#1E40AF' }, { name:'Zuccheri aggiunti e tassazione', owner:'Topic affine · Health policy', share:'+18% YoY', seed:true, ic:'ZA', c:'#9333EA' }, ]; const suggestedBrand = [ { name:'Lindt Hello Spread', owner:'Lindt & Sprüngli', c:'#7B1E2B', ic:'L' }, { name:'Milka Haselnusscreme', owner:'Mondelēz', c:'#5E3E94', ic:'M' }, { name:'Crema Pan di Stelle Dark', owner:'Barilla', c:'#2C1810', ic:'P' }, { name:'Biscoff Spread', owner:'Lotus Bakeries', c:'#D97706', ic:'B' }, ]; const suggestedPersonal = [ { name:'Alberto Nagel', owner:'CEO, Mediobanca', c:'#0B3A7A', ic:'AN' }, { name:'Victor Massiah', owner:'Ex CEO, UBI Banca', c:'#1F2937', ic:'VM' }, ]; const suggestedTopic = [ { name:'Olio di palma e sostenibilità', owner:'Topic affine · Supply chain', c:'#15803D', ic:'OP' }, { name:'Cibo per bambini e marketing', owner:'Topic affine · Regolamentazione', c:'#B45309', ic:'CB' }, ]; const seeded = isPersonal ? personalPeers : isTopic ? topicAffini : brandComps; const suggested = isPersonal ? suggestedPersonal : isTopic ? suggestedTopic : suggestedBrand; const sectionTitle = isPersonal ? 'Con chi confrontare Carlo Messina?' : isTopic ? 'Quali topic affini di riferimento?' : 'Con chi confrontare Nutella?'; const sectionDesc = isPersonal ? 'Seleziona altri executive o figure pubbliche di pari grado, oltre a quelli trovati da Dicto AI. Dicto confronterà visibilità AI, narrativa e sentiment.' : isTopic ? <>Topic affini di riferimento — non obbligatorio. Servono per misurare la "salience" del tema rispetto a categorie limitrofe e capire dove le AI lo collocano. : 'Seleziona i competitor diretti, oltre a questi trovati da Dicto AI. Dicto confronterà la narrativa AI — share of voice, sentiment, attributi associati — tra Nutella e questi brand.'; const cardTitle = isPersonal ? 'Peer selezionati' : isTopic ? 'Topic affini selezionati' : 'Competitor selezionati'; const stepLabel = isPersonal ? 'Peer' : isTopic ? 'Topic affini' : 'Competitor'; return (

{sectionTitle}

{sectionDesc}

Dicto AI ha identificato {seeded.length} {isPersonal ? 'peer' : isTopic ? 'topic affini' : 'competitor diretti'}.{' '} Conferma quelli rilevanti, elimina i non pertinenti o aggiungine altri.

{cardTitle} · {seeded.length}

{isPersonal ? 'Inclusi in ogni analisi comparativa.' : isTopic ? 'Usati come riferimento per misurare la rilevanza relativa del tema.' : 'Inclusi in ogni analisi comparativa.'}

{seeded.map((c,i) => (
0 ? 8 : 0}}>
1?11:13}}>{c.ic}
{c.name}
{c.owner}{c.share ? ' · ' + c.share : ''}
{c.seed && Auto · da confermare}
))}

{isPersonal ? 'Aggiungi altri peer' : isTopic ? 'Aggiungi un topic affine' : 'Aggiungi altri competitor'}

Massimo 8 per progetto
{suggested.length > 0 && <>
Suggeriti per te
{suggested.map((c,i) => (
1?11:13}}>{c.ic}
{c.name}
{c.owner}
))}
}
); } window.DictoSteps34 = { Step03, Step04 };