import { defineComponent as r, createBlock as a, openBlock as e, withCtx as t, renderSlot as n } from "vue";
import l from "./ClassicLayout.vue.js";
import u from "./ModernLayout.vue.js";
const m = /* @__PURE__ */ r({
  __name: "Tag",
  props: {
    tag: {},
    layout: {},
    moreThanOneTag: { type: Boolean },
    isLoading: { type: Boolean },
    onShowMore: { type: Function }
  },
  setup(s) {
    return (o, i) => o.layout === "classic" ? (e(), a(l, {
      key: 0,
      layout: o.layout,
      tag: o.tag
    }, {
      default: t(() => [
        n(o.$slots, "default")
      ]),
      _: 3
    }, 8, ["layout", "tag"])) : (e(), a(u, {
      key: 1,
      isLoading: o.isLoading,
      layout: o.layout,
      moreThanOneTag: o.moreThanOneTag,
      onShowMore: o.onShowMore,
      tag: o.tag
    }, {
      default: t(() => [
        n(o.$slots, "default")
      ]),
      _: 3
    }, 8, ["isLoading", "layout", "moreThanOneTag", "onShowMore", "tag"]));
  }
});
export {
  m as default
};
