import { jsx } from "react/jsx-runtime";
import SidebarNavigationScreenMain from "../sidebar-navigation-screen-main";
import SidebarNavigationScreenUnsupported from "../sidebar-navigation-screen-unsupported";
import Editor from "../editor";
import { isClassicThemeWithStyleBookSupport } from "./utils";
const homeRoute = {
  name: "home",
  path: "/",
  areas: {
    sidebar({ siteData }) {
      const isBlockTheme = siteData.currentTheme?.is_block_theme;
      return isBlockTheme || isClassicThemeWithStyleBookSupport(siteData) ? /* @__PURE__ */ jsx(SidebarNavigationScreenMain, {}) : /* @__PURE__ */ jsx(SidebarNavigationScreenUnsupported, {});
    },
    preview({ siteData }) {
      const isBlockTheme = siteData.currentTheme?.is_block_theme;
      return isBlockTheme || isClassicThemeWithStyleBookSupport(siteData) ? /* @__PURE__ */ jsx(Editor, { isHomeRoute: true }) : void 0;
    },
    mobile({ siteData }) {
      const isBlockTheme = siteData.currentTheme?.is_block_theme;
      return isBlockTheme || isClassicThemeWithStyleBookSupport(siteData) ? /* @__PURE__ */ jsx(SidebarNavigationScreenMain, {}) : /* @__PURE__ */ jsx(SidebarNavigationScreenUnsupported, {});
    }
  }
};
export {
  homeRoute
};
//# sourceMappingURL=home.js.map
