const n = ["read", "received", "sent", "pending", "error"], s = (r) => {
  switch (r) {
    case "read":
      return "status--read";
    case "received":
      return "status--received";
    case "pending":
      return "status--pending";
    case "error":
      return "status--error";
    default:
      return "";
  }
}, c = (r, t) => {
  let e = "";
  switch (r) {
    case "pending":
      e = "Отправляется";
      break;
    case "sent":
      e = "Отправлено";
      break;
    case "received":
      e = "Доставлено";
      break;
    case "read":
      e = "Прочитано";
      break;
    case "error":
      e = "Ошибка";
      break;
    default:
      return "";
  }
  const a = t == null ? void 0 : t.trim();
  return a || e;
};
export {
  s as getStatus,
  c as getStatusTitle,
  n as statuses
};
