"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
function _export(target, all) {
    for(var name in all)Object.defineProperty(target, name, {
        enumerable: true,
        get: Object.getOwnPropertyDescriptor(all, name).get
    });
}
_export(exports, {
    get StyledCalendar () {
        return StyledCalendar;
    },
    get StyledCalendarDouble () {
        return StyledCalendarDouble;
    }
});
var _styled = /*#__PURE__*/ _interop_require_default(require("@emotion/styled"));
var _Calendar = require("../../../Calendar");
var _engines = require("../../../../engines");
var _DatePickertokens = require("../../DatePicker.tokens");
var _DatePickerBasestyles = require("../../DatePickerBase.styles");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
var mergedCalendarDoubleConfig = (0, _engines.mergeConfig)(_Calendar.calendarDoubleConfig);
var CalendarDouble = (0, _engines.component)(mergedCalendarDoubleConfig);
var mergedCalendarConfig = (0, _engines.mergeConfig)(_Calendar.calendarBaseConfig);
var Calendar = (0, _engines.component)(mergedCalendarConfig);
var CalendarDoubleRange = (0, _Calendar.withRange)(CalendarDouble);
var CalendarRange = (0, _Calendar.withRange)(Calendar);
var StyledCalendarDouble = /*#__PURE__*/ (0, _styled.default)(CalendarDoubleRange, {
    target: "e1x6jtfe0",
    label: "StyledCalendarDouble"
})(_DatePickertokens.privateTokens.calendarDoubleWidth, ":calc(var(", _DatePickertokens.tokens.calendarWidth, ") * 2 + 2.063rem);flex-shrink:", function(param) {
    var innerWidth = param.innerWidth;
    return innerWidth && innerWidth !== '0' ? '1' : '0';
}, ";width:", function(param) {
    var innerWidth = param.innerWidth;
    return innerWidth && innerWidth !== '0' ? '100%' : "var(".concat(_DatePickertokens.privateTokens.calendarDoubleWidth, ")");
}, ";height:", function(param) {
    var innerHeight = param.innerHeight;
    return innerHeight && innerHeight !== '0' ? '100%' : "var(".concat(_DatePickertokens.tokens.calendarHeight, ")");
}, ";", _DatePickerBasestyles.baseCalendarTokens, " ", _Calendar.calendarBaseTokens.calendarSeparatorBackground, ":var(", _DatePickertokens.tokens.popoverSeparatorBackground, ");");
var StyledCalendar = /*#__PURE__*/ (0, _styled.default)(CalendarRange, {
    target: "e1x6jtfe1",
    label: "StyledCalendar"
})("flex-shrink:", function(param) {
    var innerWidth = param.innerWidth;
    return innerWidth && innerWidth !== '0' ? '1' : '0';
}, ";width:", function(param) {
    var innerWidth = param.innerWidth;
    return innerWidth && innerWidth !== '0' ? '100%' : "var(".concat(_DatePickertokens.tokens.calendarWidth, ")");
}, ";height:", function(param) {
    var innerHeight = param.innerHeight;
    return innerHeight && innerHeight !== '0' ? '100%' : "var(".concat(_DatePickertokens.tokens.calendarHeight, ")");
}, ";", _DatePickerBasestyles.baseCalendarTokens);
