const PAGES = { HOME : 'HOME' , ADDRESSES : 'ADDRESSES' , ESTABLISHMENTS : 'ESTABLISHMENTS' , CADASTRAL_OBJECTS : 'CADASTRAL_OBJECTS' , PANORAMA : 'PANORAMA' , DATASET_DETAIL : 'DATASET_DETAIL' , DATASET_SEARCH : 'DATASET_SEARCH' , DATA : 'DATA' , DATA_DETAIL : 'DATA_DETAIL' , DATA_SEARCH : 'DATA_SEARCH' , DATA_SEARCH_GEO : 'DATA_SEARCH_GEO' , DATA_SEARCH_CATEGORY : 'SEARCH_DATA_CATEGORY' , SEARCH : 'SEARCH' , CONSTRUCTION_DOSSIER : 'CONSTRUCTION_DOSSIER' , ARTICLE_DETAIL : 'ARTICLE_DETAIL' , ARTICLE_SEARCH : 'ARTICLE_SEARCH' , SPECIAL_SEARCH : 'SPECIALS_SEARCH' , SPECIAL_DETAIL : 'SPECIAL_DETAIL' , PUBLICATION_DETAIL : 'PUBLICATION_DETAIL' , PUBLICATION_SEARCH : 'PUBLICATION_SEARCH' , COLLECTION_DETAIL : 'COLLECTION_DETAIL' , COLLECTION_SEARCH : 'COLLECTION_SEARCH' , MAP : 'MAP' , MAP_SEARCH : 'MAP_SEARCH' , UPDATES : 'UPDATES' , LOGIN : 'LOGIN' , HELP : 'HELP' , NOT_FOUND : 'NOT_FOUND' , ABOUT : 'ABOUT' , ABOUT_OIS : 'ABOUT_OIS' , ABOUT_WEBSITE : 'ABOUT_WEBSITE' , DATA_POLICY : 'DATA_POLICY' , SOURCES : 'SOURCES' , CONTACT : 'CONTACT' , DATA_CONTACT : 'DATA_CONTACT' , PRODUCTS : 'PRODUCTS' , ACCESSIBILITY : 'ACCESSIBILITY' , TECHNICAL_MANAGEMENT : 'TECHNICAL_MANAGEMENT' , PRIVACY : 'PRIVACY' , QUALITY : 'QUALITY' , FAQ : 'FAQ' , FEATURES : 'FEATURES' , SERVICES : 'SERVICES' , TABLES : 'TABLES' , EMPLOYEES : 'EMPLOYEES' , MAP_LAYERS_INFO : 'MAP_LAYERS_INFO' , } ; export default PAGES ; export const isContentPage = ( page ) => page === PAGES . UPDATES || page === PAGES . LOGIN || page === PAGES . NOT_FOUND || page === PAGES . HELP || page === PAGES . ABOUT || page === PAGES . ABOUT_OIS || page === PAGES . ABOUT_WEBSITE || page === PAGES . DATA_POLICY || page === PAGES . SOURCES || page === PAGES . CONTACT || page === PAGES . DATA_CONTACT || page === PAGES . PRODUCTS || page === PAGES . ACCESSIBILITY || page === PAGES . TECHNICAL_MANAGEMENT || page === PAGES . PRIVACY || page === PAGES . QUALITY || page === PAGES . FAQ || page === PAGES . FEATURES || page === PAGES . SERVICES || page === PAGES . TABLES || page === PAGES . EMPLOYEES || page === PAGES . MAP_LAYERS_INFO ; export const isEditorialDetailPage = ( page ) => page === PAGES . ARTICLE_DETAIL || page === PAGES . PUBLICATION_DETAIL || page === PAGES . SPECIAL_DETAIL || page === PAGES . COLLECTION_DETAIL ; export const isSearchPage = ( page ) => page === PAGES . SEARCH || page === PAGES . DATA_SEARCH || page === PAGES . DATASET_SEARCH || page === PAGES . ARTICLE_SEARCH || page === PAGES . PUBLICATION_SEARCH || page === PAGES . SPECIAL_SEARCH || page === PAGES . COLLECTION_SEARCH || page === PAGES . MAP_SEARCH ; export const isAllResultsPage = ( page ) => page === PAGES . SEARCH ; export const isDataSearchPage = ( page ) => page === PAGES . DATA_SEARCH ; export const isMapSearchPage = ( page ) => page === PAGES . MAP_SEARCH ;