import { defineComponent as c, createElementBlock as s, openBlock as a, Fragment as o, createElementVNode as l, normalizeClass as i, createCommentVNode as t, toDisplayString as n } from "vue";
const m = { class: "call-message__text-container" }, r = { key: 0 }, d = { class: "call-message__reply-description" }, g = {
  key: 0,
  class: "call-message__title"
}, _ = {
  key: 1,
  class: "call-message__title"
}, u = { key: 1 }, C = /* @__PURE__ */ c({
  __name: "ReplyCallMessage",
  props: {
    message: {
      type: Object,
      required: !0
    }
  },
  setup(e) {
    return console.log(e.message), (h, y) => (a(), s(o, null, [
      l("div", null, [
        l("span", {
          class: i(["call-message__icon pi pi-phone", { "call-message__icon-missed": e.message.isMissedCall }])
        }, null, 2)
      ]),
      l("div", m, [
        e.message.header ? (a(), s("p", r, n(e.message.header), 1)) : t("", !0),
        l("div", d, [
          e.message.isMissedCall ? (a(), s("span", _, " Пропущенный аудиозвонок ")) : (a(), s("span", g, " Аудиозвонок "))
        ]),
        e.message.callDuration ? (a(), s("p", u, n(e.message.callDuration), 1)) : t("", !0)
      ])
    ], 64));
  }
});
export {
  C as default
};
