import { IMenuPosition } from '@common-stack/core';
import { getFilteredMenus, getFilteredRoutes } from '@common-stack/client-react/lib/utils/filteredRoutes.js';
const ROOT_LAYOUT_PATH = '/';
const browserRoutes = {
  LANDING: '/landing',
  HELP_CENTER: '/help',
  HELP_CATEGORY: '/help/:categoryId',
  HELP_ARTICLE: '/help/:categoryId/:articleSlug',
  PRIVACY: '/privacy',
  FEEDBACK: '/feedback',
  CONTACT_US: '/contact-us',
  THANKS: '/thanks',
  GUESTS: '/guests',
  HOST: '/host',
  NEIGHBORS: '/neighbors',
  TRUST_SAFTEY: '/trust-saftey',
  RESORTIFI_NEWS: '/resortifi-news',
  TERMS: '/terms'
};
const MainRoutes = [{
  key: 'root-layout',
  name: 'root layout',
  path: '/',
  auth: 'optional',
  extraPermissions: ['*'],
  exact: false,
  componentPath: '@admin-layout/tailwind-design-pro/lib/components/Layout/ProTailwindLayout.js',
  hasLoader: true,
  hasClientLoader: true,
  hasComponent: true,
  hasLinks: true,
  hasShouldRevalidate: true,
  hasHandle: true,
  loaderReturnInfo: {
    hasOptions: false,
    keys: ['newMenuData', 'apolloState', 'permissions']
  }
}, {
  path: `${ROOT_LAYOUT_PATH}${browserRoutes.LANDING}`,
  key: 'landing',
  exact: true,
  hideInMenu: true,
  index: true,
  position: IMenuPosition.Middle,
  componentPath: "@pubngo-stack/help-browser/lib/pages/home.js",
  hasComponent: true,
  hasLinks: true
}, {
  exact: true,
  key: 'contact-us',
  name: 'Contact Us',
  hideInMenu: true,
  path: `${ROOT_LAYOUT_PATH}${browserRoutes.CONTACT_US}`,
  componentPath: "@pubngo-stack/help-browser/lib/pages/contact-us.js",
  hasComponent: true,
  hasLinks: true
}, {
  exact: true,
  key: 'feedback',
  name: 'feedback',
  hideInMenu: true,
  path: `${ROOT_LAYOUT_PATH}${browserRoutes.FEEDBACK}`,
  componentPath: "@pubngo-stack/help-browser/lib/pages/feedback.js",
  hasComponent: true,
  hasLinks: true
}, {
  exact: true,
  key: 'guests',
  name: 'guests',
  hideInMenu: true,
  path: `${ROOT_LAYOUT_PATH}${browserRoutes.GUESTS}`,
  componentPath: "@pubngo-stack/help-browser/lib/pages/guests.js",
  hasComponent: true,
  hasLinks: true
}, {
  exact: true,
  key: 'help',
  name: 'Help',
  path: `${ROOT_LAYOUT_PATH}${browserRoutes.HELP_CENTER}`,
  componentPath: "@pubngo-stack/help-browser/lib/pages/help.js",
  hasComponent: true,
  hasLinks: true
}, {
  path: `${ROOT_LAYOUT_PATH}${browserRoutes.HELP_CATEGORY}`,
  key: 'help-category',
  exact: true,
  hideInMenu: true,
  position: IMenuPosition.Middle,
  componentPath: "@pubngo-stack/help-browser/lib/pages/CategoryCollection/index.js",
  hasComponent: true
}, {
  path: `${ROOT_LAYOUT_PATH}${browserRoutes.HELP_ARTICLE}`,
  key: 'help-article',
  exact: true,
  hideInMenu: true,
  position: IMenuPosition.Middle,
  componentPath: "@pubngo-stack/help-browser/lib/pages/Markdown/index.js",
  hasComponent: true
}, {
  exact: true,
  key: 'host',
  name: 'Host',
  hideInMenu: true,
  path: `${ROOT_LAYOUT_PATH}${browserRoutes.HOST}`,
  componentPath: "@pubngo-stack/help-browser/lib/pages/host.js",
  hasComponent: true,
  hasLinks: true
}, {
  exact: true,
  key: 'neighbors',
  name: 'neighbors',
  hideInMenu: true,
  path: `${ROOT_LAYOUT_PATH}${browserRoutes.NEIGHBORS}`,
  componentPath: "@pubngo-stack/help-browser/lib/pages/neighbors.js",
  hasComponent: true,
  hasLinks: true
}, {
  exact: true,
  key: 'trust-saftey',
  name: 'trust-saftey',
  hideInMenu: true,
  path: `${ROOT_LAYOUT_PATH}${browserRoutes.TRUST_SAFTEY}`,
  componentPath: "@pubngo-stack/help-browser/lib/pages/trust-saftey.js",
  hasComponent: true,
  hasLinks: true
}, {
  exact: true,
  key: 'privacy',
  name: 'privacy',
  hideInMenu: true,
  path: `${ROOT_LAYOUT_PATH}${browserRoutes.PRIVACY}`,
  componentPath: "@pubngo-stack/help-browser/lib/pages/privacy.js",
  hasComponent: true,
  hasLinks: true
}, {
  exact: true,
  key: 'resortifi-news',
  name: 'resortifi-news',
  hideInMenu: true,
  path: `${ROOT_LAYOUT_PATH}${browserRoutes.RESORTIFI_NEWS}`,
  componentPath: "@pubngo-stack/help-browser/lib/pages/resortifi-news.js",
  hasComponent: true,
  hasLinks: true
}, {
  exact: true,
  key: 'terms',
  name: 'terms',
  hideInMenu: true,
  path: `${ROOT_LAYOUT_PATH}${browserRoutes.TERMS}`,
  componentPath: "@pubngo-stack/help-browser/lib/pages/terms.js",
  hasComponent: true,
  hasLinks: true
}, {
  exact: true,
  key: 'thanks',
  name: 'thanks',
  hideInMenu: true,
  path: `${ROOT_LAYOUT_PATH}${browserRoutes.THANKS}`,
  componentPath: "@pubngo-stack/help-browser/lib/pages/thanks.js",
  hasComponent: true
}];
// Using '*' to select all routes and menus
const selectedAll = '*';
// Get menus
getFilteredMenus(MainRoutes, selectedAll);
// Get routes
const filteredRoutes = getFilteredRoutes(MainRoutes, selectedAll);
export { MainRoutes, filteredRoutes }; //# sourceMappingURL=compute.js.map