const o = {
  // Imágenes
  "image/jpeg": "JPEG",
  "image/jpg": "JPG",
  "image/png": "PNG",
  "image/gif": "GIF",
  "image/webp": "WEBP",
  "image/svg+xml": "SVG",
  "image/ico": "ICO",
  "image/vnd.microsoft.icon": "ICO",
  "image/x-icon": "ICO",
  // Documentos
  "application/pdf": "PDF",
  "application/msword": "DOC",
  "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "DOCX",
  "application/vnd.ms-excel": "XLS",
  "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": "XLSX",
  "application/vnd.ms-powerpoint": "PPT",
  "application/vnd.openxmlformats-officedocument.presentationml.presentation": "PPTX",
  // Texto
  "text/plain": "TXT",
  "text/html": "HTML",
  "text/css": "CSS",
  "text/javascript": "JS",
  // Comprimidos
  "application/zip": "ZIP",
  "application/x-rar-compressed": "RAR",
  "application/x-7z-compressed": "7Z",
  // Audio
  "audio/mpeg": "MP3",
  "audio/wav": "WAV",
  "audio/ogg": "OGG",
  // Video
  "video/mp4": "MP4",
  "video/mpeg": "MPEG",
  "video/webm": "WEBM",
  "video/quicktime": "MOV"
}, p = (e) => {
  if (e in o)
    return o[e];
  const [a, i] = e.split("/");
  return i === "*" ? {
    image: "Imagen",
    audio: "Audio",
    video: "Video",
    text: "Texto",
    application: "Aplicación"
  }[a] || e : i.toUpperCase() || e;
};
export {
  p as getReadableFileType
};
