/* educator-data.jsx — data constants */

const ME = { name:'Eva Andersson', initials:'EA', role:'Senior Educator', streak:9, xp:3240 };

const COHORTS = [
  { id:1, course:'IPMA-D® Certification', icon:'graduation', client:'Shell',        type:'On-site', pp:15, start:'2 Jun',  end:"5 Jun '26",  status:'Conducting',      completion:67, color:'var(--vh-blue-500)' },
  { id:2, course:'BiSL® Foundation',      icon:'layers',     client:'ABN AMRO',     type:'Blended', pp:14, start:'1 Jun',  end:"2 Jun '26",  status:'Conducting',      completion:90, color:'var(--vh-teal)' },
  { id:3, course:'ITIL® 4 Foundation',    icon:'globe',      client:'Microsoft NL', type:'Online',  pp:28, start:'6 Jul',  end:"9 Jul '26",  status:'Planned',         completion:0,  color:'var(--vh-blue-400)' },
  { id:4, course:'PRINCE2® Foundation',   icon:'shield',     client:'Novartis NL',  type:'On-site', pp:18, start:'17 Feb', end:"20 Feb '26", status:'Completed',       completion:100,color:'#7c3aed' },
  { id:5, course:'IPMA-D® Certification', icon:'graduation', client:'Accenture NL', type:'On-site', pp:12, start:'8 Dec',  end:"11 Dec '25", status:'Evaluation Sent', completion:100,color:'var(--vh-blue-500)' },
];

const LEARNERS = [
  { id:1, name:'Mara de Vries',  initials:'MV', role:'Service Delivery Lead', org:'Shell',         courses:['IPMA-D®','BiSL®'],     xp:2840, streak:7,  last:'Today',     status:'active', completion:67 },
  { id:2, name:'Jonas Bakker',   initials:'JB', role:'Project Coordinator',   org:'ING Bank',      courses:['IPMA-D®','ITIL® 4'],   xp:3210, streak:12, last:'Today',     status:'active', completion:82 },
  { id:3, name:'Aisha Karim',    initials:'AK', role:'IT Manager',            org:'Philips',       courses:['ITIL® 4','TOGAF®'],    xp:2510, streak:5,  last:'Yesterday', status:'active', completion:55 },
  { id:4, name:'Pieter van Dam', initials:'PD', role:'Programme Manager',     org:'Rabobank',      courses:['IPMA-D®','PRINCE2®'],  xp:4120, streak:18, last:'2 Jun',     status:'active', completion:91 },
  { id:5, name:'Sophie Janssen', initials:'SJ', role:'Business Analyst',      org:'Nationale-Ned.',courses:['BiSL®'],              xp:628,  streak:2,  last:'3 Jun',     status:'behind', completion:34 },
  { id:6, name:'Lars Hoekstra',  initials:'LH', role:'IT Architect',          org:'ABN AMRO',      courses:['BiSL®','ITIL® 4'],     xp:1840, streak:9,  last:'Today',     status:'active', completion:78 },
  { id:7, name:'Daan Vermeer',   initials:'DV', role:'Process Manager',       org:'Shell',         courses:['IPMA-D®'],             xp:980,  streak:3,  last:'4 Jun',     status:'behind', completion:42 },
  { id:8, name:'Luca de Boer',   initials:'LB', role:'Project Lead',          org:'KPN',           courses:['BiSL®','TOGAF®'],      xp:1290, streak:6,  last:'Today',     status:'active', completion:61 },
];

const ACTIVITY = [
  { icon:'checkCircle', text:'Sara Brouwer completed Quiz 3 — 88%',               time:'5 min ago',  bg:'var(--vh-blue-50)',  ic:'var(--vh-blue-500)' },
  { icon:'medal',       text:'Jonas Bakker earned "Speed Learner" badge',         time:'12 min ago', bg:'var(--accent-soft)', ic:'var(--accent)' },
  { icon:'wand',        text:'Daan Vermeer is behind on Chapter 2',               time:'28 min ago', bg:'#ffebee',            ic:'#c62828' },
  { icon:'book',        text:'Mara de Vries started Chapter 4: Risk Management',  time:'1h ago',     bg:'var(--vh-blue-50)',  ic:'var(--vh-teal)' },
  { icon:'cert',        text:'Pieter van Dam reached certification readiness',    time:'2h ago',     bg:'#e8f5e9',            ic:'#2e7d32' },
];

const SESSIONS = [
  { day:'4', mon:'JUN', course:'IPMA-D® | Shell',   time:'09:00 – 17:00', type:'On-site', topic:'Module 3: Stakeholder Engagement', color:'var(--vh-blue-500)' },
  { day:'4', mon:'JUN', course:'BiSL® | ABN AMRO',  time:'10:00 – 18:00', type:'Blended', topic:'Module 5: Information Management',  color:'var(--vh-teal)' },
  { day:'5', mon:'JUN', course:'IPMA-D® | Shell',   time:'09:00 – 16:00', type:'On-site', topic:'Module 4: Leadership & Teams',      color:'var(--vh-blue-500)' },
];

const LB_DATA = [
  { rank:1, name:'Mara de Vries',  initials:'MV', org:'Shell',        courses:['IPMA-D®','BiSL®'],    xp:2840 },
  { rank:2, name:'Pieter van Dam', initials:'PD', org:'Rabobank',     courses:['IPMA-D®','PRINCE2®'], xp:2750 },
  { rank:3, name:'Jonas Bakker',   initials:'JB', org:'ING Bank',     courses:['IPMA-D®','ITIL® 4'],  xp:2510 },
  { rank:4, name:'Lars Hoekstra',  initials:'LH', org:'ABN AMRO',     courses:['BiSL®','ITIL® 4'],    xp:1840 },
  { rank:5, name:'Bas Hoekstra',   initials:'BH', org:'Accenture NL', courses:['IPMA-D®','PRINCE2®'], xp:1685 },
  { rank:6, name:'Luca de Boer',   initials:'LB', org:'KPN',          courses:['BiSL®','TOGAF®'],     xp:1290 },
  { rank:7, name:'Daan Vermeer',   initials:'DV', org:'Shell',        courses:['IPMA-D®'],            xp:980  },
  { rank:8, name:'Sophie Janssen', initials:'SJ', org:'Nat.-Ned.',    courses:['BiSL®'],              xp:628  },
];

const GAMIFY_DATA = [
  { id:'ipma', name:'IPMA-D® Certification', icon:'graduation', color:'var(--vh-blue-500)', learners:15, completion:67, quizzes:5, badges:5, xpLesson:50, xpQuiz:150, on:true  },
  { id:'bisl', name:'BiSL® Foundation',      icon:'layers',     color:'var(--vh-teal)',      learners:14, completion:90, quizzes:3, badges:5, xpLesson:50, xpQuiz:150, on:true  },
  { id:'itil', name:'ITIL® 4 Foundation',    icon:'globe',      color:'var(--vh-blue-400)',  learners:28, completion:0,  quizzes:6, badges:5, xpLesson:50, xpQuiz:150, on:false },
];

const KPI_DATA = {
  score:4.5, nps:55, satisfaction:83, responses:28,
  dimensions:[
    { label:'Learning Materials', score:4.5, color:'var(--vh-teal)' },
    { label:'Trainer Quality',    score:4.6, color:'var(--vh-blue-500)' },
    { label:'Communication',      score:4.4, color:'#7c3aed' },
    { label:'Value for Money',    score:4.3, color:'var(--accent)' },
    { label:'User Experience',    score:4.4, color:'#e53935' },
    { label:'Lunch & Catering',   score:4.1, color:'#f99d25' },
  ],
  monthly:[3.9,4.1,4.2,4.3,4.4,4.5],
  ratings:[62,24,9,3,2],
};

const COURSE_CHIP_COLORS = {
  'IPMA-D®':  { bg:'#deedf9', color:'#1281c4' },
  'BiSL®':    { bg:'#d0f4f7', color:'#00838f' },
  'ITIL® 4':  { bg:'#e8eaf6', color:'#3949ab' },
  'PRINCE2®': { bg:'#f0e6ff', color:'#7c3aed' },
  'TOGAF®':   { bg:'#e8f5e9', color:'#2e7d32' },
};

Object.assign(window, { ME, COHORTS, LEARNERS, ACTIVITY, SESSIONS, LB_DATA, GAMIFY_DATA, KPI_DATA, COURSE_CHIP_COLORS });
