import { defineComponent as d, useSlots as l, useCssModule as p, openBlock as c, createElementBlock as r, normalizeClass as a, unref as e, createElementVNode as m, renderSlot as _, createCommentVNode as h } from "vue";
import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.js";
const g = ["id", "role"], u = /* @__PURE__ */ d({
  name: "ll-page-content",
  __name: "PageContent",
  props: {
    activeTab: { default: void 0 }
  },
  setup(i) {
    const s = i, o = l(), t = p();
    return (n, T) => (c(), r("div", {
      id: s.activeTab ? `tabpanel-${s.activeTab}` : void 0,
      class: a(["stash-page-content", [
        e(t).root,
        {
          [e(t)["stash-page-content--has-sidebar"]]: !!e(o).sidebar
        }
      ]]),
      "data-test": "stash-page-content",
      role: s.activeTab ? "tabpanel" : void 0
    }, [
      m("div", {
        class: a(e(t)["stash-page-content__main"])
      }, [
        _(n.$slots, "default")
      ], 2),
      e(o).sidebar ? (c(), r("aside", {
        key: 0,
        class: a(e(t)["stash-page-content__sidebar"])
      }, [
        _(n.$slots, "sidebar")
      ], 2)) : h("", !0)
    ], 10, g));
  }
}), v = "_root_Z8m7p", f = {
  root: v,
  "stash-page-content--has-sidebar": "_stash-page-content--has-sidebar_vgv94",
  "stash-page-content__main": "_stash-page-content__main_VFORH",
  "stash-page-content__sidebar": "_stash-page-content__sidebar_RUx0r"
}, C = {
  $style: f
}, y = /* @__PURE__ */ b(u, [["__cssModules", C]]);
export {
  y as default
};
//# sourceMappingURL=PageContent.js.map
