import { useLayout } from "../../hooks/useLayout.js";
import TheCommandPalette_default from "../../components/CommandPalette/TheCommandPalette.vue.js";
import SideNav_default from "../../components/SideNav/SideNav.vue.js";
import { createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, openBlock, renderSlot, unref } from "vue";
//#region src/layouts/App/MainLayout.vue?vue&type=script&setup=true&lang.ts
var MainLayout_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
	__name: "MainLayout",
	setup(__props) {
		const { layout } = useLayout();
		return (_ctx, _cache) => {
			return openBlock(), createElementBlock("main", { class: normalizeClass(["flex min-h-0 flex-1 flex-col", unref(layout) === "web" ? "sm:flex-col" : "sm:flex-row"]) }, [
				createVNode(SideNav_default, { class: "sidenav order-last sm:order-none" }),
				createVNode(unref(TheCommandPalette_default)),
				createElementVNode("div", { class: normalizeClass(["flex min-h-0 min-w-0 flex-1 flex-col", { "border sm:mr-1.5 sm:mb-1.5 sm:rounded-lg sm:*:rounded-lg": unref(layout) === "desktop" }]) }, [renderSlot(_ctx.$slots, "default")], 2)
			], 2);
		};
	}
});
//#endregion
export { MainLayout_vue_vue_type_script_setup_true_lang_default as default };

//# sourceMappingURL=MainLayout.vue.script.js.map