import { resolveComponent, openBlock, createBlock, withCtx, resolveDynamicComponent, KeepAlive, defineComponent, unref } from "vue";
import { _ as _export_sfc } from "./index-e2623483.js";
const _sfc_main$1 = {};
function _sfc_render(_ctx, _cache) {
  const _component_router_view = resolveComponent("router-view");
  return openBlock(), createBlock(_component_router_view, null, {
    default: withCtx(({ Component, route }) => [
      route.meta.noKeepAlive ? (openBlock(), createBlock(resolveDynamicComponent(Component), { key: 0 })) : (openBlock(), createBlock(KeepAlive, { key: 1 }, [
        (openBlock(), createBlock(resolveDynamicComponent(Component)))
      ], 1024))
    ]),
    _: 1
  });
}
const LayoutMain = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render]]);
const _sfc_main = /* @__PURE__ */ defineComponent({
  __name: "index",
  setup(__props) {
    return (_ctx, _cache) => {
      return openBlock(), createBlock(unref(LayoutMain));
    };
  }
});
export {
  _sfc_main as default
};
