import { defineComponent as r, usePrivateChatCount as c, openBlock as p, createElementBlock as u, createBaseVNode as o, toDisplayString as d, unref as e, normalizeStyle as m } from "./composables-Ci32s3jE.js";
const h = /* @__PURE__ */ o("div", { class: "i-ph-chats-light text-xl" }, null, -1), f = { class: "font-bold text-lg mx-2" }, x = /* @__PURE__ */ r({
  __name: "ChatPrivateCount",
  props: {
    pub: {
      default: "",
      type: String
    }
  },
  emits: ["chat"],
  setup(n) {
    const s = n, { count: a, available: l } = c(s.pub);
    return (i, t) => (p(), u("div", {
      class: "pl-2 flex items-center bg-light-200 dark-bg-dark-600 rounded-xl cursor-pointer",
      style: m({ opacity: e(l) ? 1 : 0.1 }),
      onClick: t[0] || (t[0] = (g) => i.$emit("chat"))
    }, [
      h,
      o("div", f, d(e(a)), 1)
    ], 4));
  }
});
export {
  x as default
};
//# sourceMappingURL=ChatPrivateCount-kaHcU2St.js.map
