import { slice } from '../slices';

const nameSpace = slice.name;

export const filterDateSelector = (state$) => state$[nameSpace].filterDate;
export const formatFilterIdSelector = (state$) => state$[nameSpace].formatFilterId;
export const formatFilterSelector = (state$) => state$[nameSpace].formatFilter;
export const geoSelector = (state$) => state$[nameSpace].geo;
export const deviceSelector = (state$) => state$[nameSpace].device;
export const totalSelector = (state$) => state$[nameSpace].total;
export const comparisonFilterSelector = (state$) => state$[nameSpace].comparisonFilter;
export const comparisonHistogramSelector = (state$) => state$[nameSpace].comparisonHistogram;
export const performanceFilterSelector = (state$) => state$[nameSpace].performanceFilter;
export const performanceHistogramSelector = (state$) => state$[nameSpace].performanceHistogram;
export const financialsFilterSelector = (state$) => state$[nameSpace].financialsFilter;
export const financialsHistogramSelector = (state$) => state$[nameSpace].financialsHistogram;
export const searchResultSelector = (state$) => state$[nameSpace].searchResult;
export const isSearchLoadingSelector = (state$) => state$[nameSpace].isSearchLoading;
export const userHubsSelector = (state$) => state$[nameSpace].userHubs;
export const userDemandAccountsSelector = (state$) => state$[nameSpace].userDemandAccounts;
export const pageConfigSelector = (state$) => state$[nameSpace].pageConfig;
