"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const Vue = require("vue");
const index = require("../Chat/index/index.js");
const index$2 = require("../RoomFooter/ApplyControl/MasterApplyControl/index.js");
const index$1 = require("../ManageMember/index.js");
const PopUpH5 = require("../common/base/PopUpH5.vue.js");
const useSideBarHooks = require("./useSideBarHooks.js");
const index$3 = require("../Chat/ChatEditor/index.js");
const _hoisted_1 = { style: { "height": "100%" } };
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
  __name: "indexH5",
  setup(__props) {
    const { title, sidebarName, showSideBar } = useSideBarHooks.default();
    return (_ctx, _cache) => {
      return Vue.unref(showSideBar) ? (Vue.openBlock(), Vue.createBlock(PopUpH5.default, {
        key: 0,
        title: Vue.unref(title),
        class: "sidebar-container-mobile"
      }, {
        sidebarContent: Vue.withCtx(() => [
          Vue.createElementVNode("div", _hoisted_1, [
            Vue.unref(sidebarName) === "chat" ? (Vue.openBlock(), Vue.createBlock(Vue.unref(index.default), { key: 0 })) : Vue.createCommentVNode("", true),
            Vue.unref(sidebarName) === "manage-member" ? (Vue.openBlock(), Vue.createBlock(Vue.unref(index$1.default), { key: 1 })) : Vue.createCommentVNode("", true),
            Vue.unref(sidebarName) === "apply" ? (Vue.openBlock(), Vue.createBlock(Vue.unref(index$2.default), { key: 2 })) : Vue.createCommentVNode("", true)
          ])
        ]),
        sidebarFooter: Vue.withCtx(() => [
          Vue.createElementVNode("div", null, [
            Vue.unref(sidebarName) === "chat" ? (Vue.openBlock(), Vue.createBlock(Vue.unref(index$3.default), { key: 0 })) : Vue.createCommentVNode("", true)
          ])
        ]),
        _: 1
      }, 8, ["title"])) : Vue.createCommentVNode("", true);
    };
  }
});
exports.default = _sfc_main;
