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

const nameSpace = slice.name;

export const calendarSelector = (state$) => state$[nameSpace].calendar;
export const calendarCustomSelector = (state$) => state$[nameSpace].calendarCustom;
export const activeCardFilterSelector = (state$) => state$[nameSpace].activeCardFilter;
export const adFormatSelector = (state$) => state$[nameSpace].adFormat;
export const demandSourcesSelector = (state$) => state$[nameSpace].demandSources;
export const demandSourcesOptionsSelector = (state$) => state$[nameSpace].demandSourcesOptions;
export const playersSelector = (state$) => state$[nameSpace].players;
export const playersOptionsSelector = (state$) => state$[nameSpace].playersOptions;
export const domainsSelector = (state$) => state$[nameSpace].domains;
export const domainsOptionsSelector = (state$) => state$[nameSpace].domainsOptions;
export const countriesSelector = (state$) => state$[nameSpace].countries;
export const countriesOptionsSelector = (state$) => state$[nameSpace].countriesOptions;
export const devicesSelector = (state$) => state$[nameSpace].devices;
export const totalsSelector = (state$) => state$[nameSpace].totals;
export const chartDataSelector = (state$) => state$[nameSpace].chartData;
export const showFeesSelector = (state$) => state$[nameSpace].showFees;
export const countriesFullListSelector = (state$) => state$[nameSpace].countriesFullList;
export const isExportPdfLoadingSelector = (state$) => state$[nameSpace].isExportPdfLoading;
export const isTotalsLoadingSelector = (state$) => state$[nameSpace].isTotalsLoading;
export const isChartDataLoadingSelector = (state$) => state$[nameSpace].isChartDataLoading;
