import { useDictAuthors as a, openBlock as e, createElementBlock as s, createBaseVNode as o, Fragment as l, renderList as _, createVNode as d, withCtx as u, toDisplayString as p, unref as c } from "./composables-Ci32s3jE.js";
import { AccountBadge as h } from "./components.js";
const m = { class: "p-4" }, f = /* @__PURE__ */ o("div", { class: "text-xl" }, "Dictionary authors", -1), k = { class: "flex flex-wrap" }, v = ["onClick"], x = { class: "pr-2 font-bold" }, A = {
  __name: "DictAuthors",
  emits: ["author"],
  setup(b) {
    const r = a();
    return (n, g) => (e(), s("div", m, [
      f,
      o("div", k, [
        (e(!0), s(l, null, _(c(r), (i, t) => (e(), s("div", {
          class: "p-2",
          key: t,
          onClick: (y) => n.$emit("author", t)
        }, [
          d(c(h), { pub: t }, {
            default: u(() => [
              o("div", x, p(Object.keys(i).length), 1)
            ]),
            _: 2
          }, 1032, ["pub"])
        ], 8, v))), 128))
      ])
    ]));
  }
};
export {
  A as default
};
//# sourceMappingURL=DictAuthors-BUmT6D6E.js.map
