"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "StyledTimeGrid", {
    enumerable: true,
    get: function() {
        return StyledTimeGrid;
    }
});
var _styledcomponents = /*#__PURE__*/ _interop_require_default(require("styled-components"));
var _TimePickerGrid = require("../../../TimePickerGrid");
var _engines = require("../../../../engines");
var _DateTimePickertokens = require("../../DateTimePicker.tokens");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
var mergedTimePickerGrid = (0, _engines.mergeConfig)(_TimePickerGrid.timePickerGridConfig);
var TimePickerGrid = (0, _engines.component)(mergedTimePickerGrid);
var StyledTimeGrid = (0, _styledcomponents.default)(TimePickerGrid).withConfig({
    displayName: "TimeGrid.styles__StyledTimeGrid",
    componentId: "sc-1a280a0d-0"
})([
    "flex-shrink:2;",
    ":",
    ";",
    ":",
    ";",
    ":var(",
    ");",
    ":var(",
    ");",
    ":var(",
    ");",
    ":var(",
    ");",
    ":var(",
    ");",
    ":var(",
    ");",
    ":var(",
    ");",
    ":var(",
    ");",
    ":var(",
    ");",
    ":var(",
    ");",
    ":var(",
    ");",
    ":var(",
    ");",
    ":var(",
    ");",
    ":var(",
    ");",
    ":var(",
    ");",
    ":var(",
    ");"
], _TimePickerGrid.timePickerGridTokens.timePickerGridWidth, function(param) {
    var innerWidth = param.innerWidth, columns = param.columns;
    return innerWidth && innerWidth !== '0' ? '100%' : "calc(var(".concat(_DateTimePickertokens.tokens.timePickerColumnWidth, ") * ").concat(columns, " + var(").concat(_DateTimePickertokens.tokens.timePickerColumnGap, ") * ").concat(columns - 1, ")");
}, _TimePickerGrid.timePickerGridTokens.columnHeight, function(param) {
    var innerHeight = param.innerHeight;
    return innerHeight && innerHeight !== '0' ? "calc(".concat(innerHeight, " - var(").concat(_DateTimePickertokens.tokens.popoverVerticalPadding, "))") : "var(".concat(_DateTimePickertokens.tokens.timePickerColumnHeight, ")");
}, _TimePickerGrid.timePickerGridTokens.itemHeight, _DateTimePickertokens.tokens.timePickerItemHeight, _TimePickerGrid.timePickerGridTokens.itemBorderRadius, _DateTimePickertokens.tokens.timePickerItemBorderRadius, _TimePickerGrid.timePickerGridTokens.itemPadding, _DateTimePickertokens.tokens.timePickerItemPadding, _TimePickerGrid.timePickerGridTokens.itemBackgroundHover, _DateTimePickertokens.tokens.timePickerItemBackgroundHover, _TimePickerGrid.timePickerGridTokens.itemBackgroundActive, _DateTimePickertokens.tokens.timePickerItemBackgroundActive, _TimePickerGrid.timePickerGridTokens.itemFontFamily, _DateTimePickertokens.tokens.timePickerItemFontFamily, _TimePickerGrid.timePickerGridTokens.itemFontSize, _DateTimePickertokens.tokens.timePickerItemFontSize, _TimePickerGrid.timePickerGridTokens.itemFontStyle, _DateTimePickertokens.tokens.timePickerItemFontStyle, _TimePickerGrid.timePickerGridTokens.itemFontWeight, _DateTimePickertokens.tokens.timePickerItemFontWeight, _TimePickerGrid.timePickerGridTokens.itemLetterSpacing, _DateTimePickertokens.tokens.timePickerItemLetterSpacing, _TimePickerGrid.timePickerGridTokens.itemLineHeight, _DateTimePickertokens.tokens.timePickerItemLineHeight, _TimePickerGrid.timePickerGridTokens.scrollbarWidth, _DateTimePickertokens.tokens.timePickerScrollbarWidth, _TimePickerGrid.timePickerGridTokens.scrollbarColor, _DateTimePickertokens.tokens.timePickerScrollbarColor, _TimePickerGrid.timePickerGridTokens.scrollbarTrackColor, _DateTimePickertokens.tokens.timePickerScrollbarTrackColor, _TimePickerGrid.timePickerGridTokens.scrollbarMargin, _DateTimePickertokens.tokens.timePickerScrollbarMargin, _TimePickerGrid.timePickerGridTokens.disabledOpacity, _DateTimePickertokens.tokens.disabledOpacity);
