export interface RagPdfMapping {
  filename: string
  totalPages?: number
  chunksPerPage?: number
  language: string
}

export const RAG_PDF_MAPPING: Record<string, RagPdfMapping> = {
  // EU Verordnungen
  GDPR: { filename: 'GDPR_DE.pdf', language: 'de', totalPages: 88 },
  EPRIVACY: { filename: 'EPRIVACY_DE.pdf', language: 'de' },
  SCC: { filename: 'SCC_DE.pdf', language: 'de' },
  SCC_FULL_TEXT: { filename: 'SCC_FULL_TEXT_DE.pdf', language: 'de' },
  AIACT: { filename: 'AIACT_DE.pdf', language: 'de', totalPages: 144 },
  CRA: { filename: 'CRA_DE.pdf', language: 'de' },
  NIS2: { filename: 'NIS2_DE.pdf', language: 'de' },
  DGA: { filename: 'DGA_DE.pdf', language: 'de' },
  DSA: { filename: 'DSA_DE.pdf', language: 'de' },
  PLD: { filename: 'PLD_DE.pdf', language: 'de' },
  E_COMMERCE_RL: { filename: 'E_COMMERCE_RL_DE.pdf', language: 'de' },
  VERBRAUCHERRECHTE_RL: { filename: 'VERBRAUCHERRECHTE_RL_DE.pdf', language: 'de' },
  DIGITALE_INHALTE_RL: { filename: 'DIGITALE_INHALTE_RL_DE.pdf', language: 'de' },
  DMA: { filename: 'DMA_DE.pdf', language: 'de' },
  DPF: { filename: 'DPF_DE.pdf', language: 'de' },
  EUCSA: { filename: 'EUCSA_DE.pdf', language: 'de' },
  DATAACT: { filename: 'DATAACT_DE.pdf', language: 'de' },
  DORA: { filename: 'DORA_DE.pdf', language: 'de' },
  PSD2: { filename: 'PSD2_DE.pdf', language: 'de' },
  AMLR: { filename: 'AMLR_DE.pdf', language: 'de' },
  MiCA: { filename: 'MiCA_DE.pdf', language: 'de' },
  EHDS: { filename: 'EHDS_DE.pdf', language: 'de' },
  EAA: { filename: 'EAA_DE.pdf', language: 'de' },
  DSM: { filename: 'DSM_DE.pdf', language: 'de' },
  GPSR: { filename: 'GPSR_DE.pdf', language: 'de' },
  MACHINERY_REG: { filename: 'MACHINERY_REG_DE.pdf', language: 'de' },
  BLUE_GUIDE: { filename: 'BLUE_GUIDE_DE.pdf', language: 'de' },
  // DE Gesetze
  TDDDG: { filename: 'TDDDG_DE.pdf', language: 'de' },
  BDSG_FULL: { filename: 'BDSG_FULL_DE.pdf', language: 'de' },
  DE_DDG: { filename: 'DE_DDG.pdf', language: 'de' },
  DE_BGB_AGB: { filename: 'DE_BGB_AGB.pdf', language: 'de' },
  DE_EGBGB: { filename: 'DE_EGBGB.pdf', language: 'de' },
  DE_HGB_RET: { filename: 'DE_HGB_RET.pdf', language: 'de' },
  DE_AO_RET: { filename: 'DE_AO_RET.pdf', language: 'de' },
  DE_UWG: { filename: 'DE_UWG.pdf', language: 'de' },
  DE_TKG: { filename: 'DE_TKG.pdf', language: 'de' },
  DE_PANGV: { filename: 'DE_PANGV.pdf', language: 'de' },
  DE_DLINFOV: { filename: 'DE_DLINFOV.pdf', language: 'de' },
  DE_BETRVG: { filename: 'DE_BETRVG.pdf', language: 'de' },
  DE_GESCHGEHG: { filename: 'DE_GESCHGEHG.pdf', language: 'de' },
  DE_BSIG: { filename: 'DE_BSIG.pdf', language: 'de' },
  DE_USTG_RET: { filename: 'DE_USTG_RET.pdf', language: 'de' },
  // BSI Standards
  'BSI-TR-03161-1': { filename: 'BSI-TR-03161-1.pdf', language: 'de' },
  'BSI-TR-03161-2': { filename: 'BSI-TR-03161-2.pdf', language: 'de' },
  'BSI-TR-03161-3': { filename: 'BSI-TR-03161-3.pdf', language: 'de' },
  // AT Gesetze
  AT_DSG: { filename: 'AT_DSG.pdf', language: 'de' },
  AT_DSG_FULL: { filename: 'AT_DSG_FULL.pdf', language: 'de' },
  AT_ECG: { filename: 'AT_ECG.pdf', language: 'de' },
  AT_TKG: { filename: 'AT_TKG.pdf', language: 'de' },
  AT_KSCHG: { filename: 'AT_KSCHG.pdf', language: 'de' },
  AT_FAGG: { filename: 'AT_FAGG.pdf', language: 'de' },
  AT_UGB_RET: { filename: 'AT_UGB_RET.pdf', language: 'de' },
  AT_BAO_RET: { filename: 'AT_BAO_RET.pdf', language: 'de' },
  AT_MEDIENG: { filename: 'AT_MEDIENG.pdf', language: 'de' },
  AT_ABGB_AGB: { filename: 'AT_ABGB_AGB.pdf', language: 'de' },
  AT_UWG: { filename: 'AT_UWG.pdf', language: 'de' },
  // CH Gesetze
  CH_DSG: { filename: 'CH_DSG.pdf', language: 'de' },
  CH_DSV: { filename: 'CH_DSV.pdf', language: 'de' },
  CH_OR_AGB: { filename: 'CH_OR_AGB.pdf', language: 'de' },
  CH_UWG: { filename: 'CH_UWG.pdf', language: 'de' },
  CH_FMG: { filename: 'CH_FMG.pdf', language: 'de' },
  CH_GEBUV: { filename: 'CH_GEBUV.pdf', language: 'de' },
  CH_ZERTES: { filename: 'CH_ZERTES.pdf', language: 'de' },
  CH_ZGB_PERS: { filename: 'CH_ZGB_PERS.pdf', language: 'de' },
  // LI
  LI_DSG: { filename: 'LI_DSG.pdf', language: 'de' },
  // Nationale DSG (andere EU)
  ES_LOPDGDD: { filename: 'ES_LOPDGDD.pdf', language: 'es' },
  IT_CODICE_PRIVACY: { filename: 'IT_CODICE_PRIVACY.pdf', language: 'it' },
  NL_UAVG: { filename: 'NL_UAVG.pdf', language: 'nl' },
  FR_CNIL_GUIDE: { filename: 'FR_CNIL_GUIDE.pdf', language: 'fr' },
  IE_DPA_2018: { filename: 'IE_DPA_2018.pdf', language: 'en' },
  UK_DPA_2018: { filename: 'UK_DPA_2018.pdf', language: 'en' },
  UK_GDPR: { filename: 'UK_GDPR.pdf', language: 'en' },
  NO_PERSONOPPLYSNINGSLOVEN: { filename: 'NO_PERSONOPPLYSNINGSLOVEN.pdf', language: 'no' },
  SE_DATASKYDDSLAG: { filename: 'SE_DATASKYDDSLAG.pdf', language: 'sv' },
  PL_UODO: { filename: 'PL_UODO.pdf', language: 'pl' },
  CZ_ZOU: { filename: 'CZ_ZOU.pdf', language: 'cs' },
  HU_INFOTV: { filename: 'HU_INFOTV.pdf', language: 'hu' },
  BE_DPA_LAW: { filename: 'BE_DPA_LAW.pdf', language: 'nl' },
  FI_TIETOSUOJALAKI: { filename: 'FI_TIETOSUOJALAKI.pdf', language: 'fi' },
  DK_DATABESKYTTELSESLOVEN: { filename: 'DK_DATABESKYTTELSESLOVEN.pdf', language: 'da' },
  LU_DPA_LAW: { filename: 'LU_DPA_LAW.pdf', language: 'fr' },
  // DE Gesetze (zusaetzlich)
  TMG_KOMPLETT: { filename: 'TMG_KOMPLETT.pdf', language: 'de' },
  DE_URHG: { filename: 'DE_URHG.pdf', language: 'de' },
  // EDPB Guidelines
  EDPB_GUIDELINES_5_2020: { filename: 'EDPB_GUIDELINES_5_2020.pdf', language: 'en' },
  EDPB_GUIDELINES_7_2020: { filename: 'EDPB_GUIDELINES_7_2020.pdf', language: 'en' },
  EDPB_GUIDELINES_1_2020: { filename: 'EDPB_GUIDELINES_1_2020.pdf', language: 'en' },
  EDPB_GUIDELINES_1_2022: { filename: 'EDPB_GUIDELINES_1_2022.pdf', language: 'en' },
  EDPB_GUIDELINES_2_2023: { filename: 'EDPB_GUIDELINES_2_2023.pdf', language: 'en' },
  EDPB_GUIDELINES_2_2024: { filename: 'EDPB_GUIDELINES_2_2024.pdf', language: 'en' },
  EDPB_GUIDELINES_4_2019: { filename: 'EDPB_GUIDELINES_4_2019.pdf', language: 'en' },
  EDPB_GUIDELINES_9_2022: { filename: 'EDPB_GUIDELINES_9_2022.pdf', language: 'en' },
  EDPB_DPIA_LIST: { filename: 'EDPB_DPIA_LIST.pdf', language: 'en' },
  EDPB_LEGITIMATE_INTEREST: { filename: 'EDPB_LEGITIMATE_INTEREST.pdf', language: 'en' },
  // EDPS
  EDPS_DPIA_LIST: { filename: 'EDPS_DPIA_LIST.pdf', language: 'en' },
  // Frameworks
  ENISA_SECURE_BY_DESIGN: { filename: 'ENISA_SECURE_BY_DESIGN.pdf', language: 'en' },
  ENISA_SUPPLY_CHAIN: { filename: 'ENISA_SUPPLY_CHAIN.pdf', language: 'en' },
  ENISA_THREAT_LANDSCAPE: { filename: 'ENISA_THREAT_LANDSCAPE.pdf', language: 'en' },
  ENISA_ICS_SCADA: { filename: 'ENISA_ICS_SCADA.pdf', language: 'en' },
  ENISA_CYBERSECURITY_2024: { filename: 'ENISA_CYBERSECURITY_2024.pdf', language: 'en' },
  NIST_SSDF: { filename: 'NIST_SSDF.pdf', language: 'en' },
  NIST_CSF_2: { filename: 'NIST_CSF_2.pdf', language: 'en' },
  OECD_AI_PRINCIPLES: { filename: 'OECD_AI_PRINCIPLES.pdf', language: 'en' },
  // EU-IFRS / EFRAG
  EU_IFRS_DE: { filename: 'EU_IFRS_DE.pdf', language: 'de' },
  EU_IFRS_EN: { filename: 'EU_IFRS_EN.pdf', language: 'en' },
  EFRAG_ENDORSEMENT: { filename: 'EFRAG_ENDORSEMENT.pdf', language: 'en' },
}
