"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var re_reselect_1 = __importDefault(require("re-reselect"));
var get_chart_id_1 = require("../../../../state/selectors/get_chart_id");
var get_chart_theme_1 = require("../../../../state/selectors/get_chart_theme");
var is_histogram_mode_enabled_1 = require("./is_histogram_mode_enabled");
exports.getBarPaddingsSelector = re_reselect_1.default([is_histogram_mode_enabled_1.isHistogramModeEnabledSelector, get_chart_theme_1.getChartThemeSelector], function (isHistogramMode, chartTheme) {
    return isHistogramMode ? chartTheme.scales.histogramPadding : chartTheme.scales.barsPadding;
})(get_chart_id_1.getChartIdSelector);
//# sourceMappingURL=get_bar_paddings.js.map