"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 StyledArrow () {
        return StyledArrow;
    },
    get StyledArrows () {
        return StyledArrows;
    },
    get StyledCalendarHeader () {
        return StyledCalendarHeader;
    },
    get StyledDoubleHeaderWrapper () {
        return StyledDoubleHeaderWrapper;
    },
    get StyledHeader () {
        return StyledHeader;
    },
    get StyledHeaderArrow () {
        return StyledHeaderArrow;
    },
    get StyledHeaderDate () {
        return StyledHeaderDate;
    },
    get StyledHeaderDouble () {
        return StyledHeaderDouble;
    },
    get StyledNavigation () {
        return StyledNavigation;
    }
});
const _styled = /*#__PURE__*/ _interop_require_default(require("@emotion/styled"));
const _engines = require("../../../../engines");
const _mixins = require("../../../../mixins");
const _Calendartokens = require("../../Calendar.tokens");
const _IconButton = require("../../../IconButton");
const _mixins1 = require("../../mixins");
const _Icon = require("../../../_Icon");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
const mergedIconButtonConfig = (0, _engines.mergeConfig)(_IconButton.iconButtonConfig);
const IconButton = (0, _engines.component)(mergedIconButtonConfig);
const StyledCalendarHeader = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "efld0qd0",
    label: "StyledCalendarHeader"
})("display:flex;justify-content:space-between;align-items:center;padding:var(", _Calendartokens.tokens.calendarHeaderWrapperPadding, ");");
const StyledHeader = (0, /*#__PURE__*/ _styled.default)("button", {
    target: "efld0qd1",
    label: "StyledHeader"
})("border:none;background-color:transparent;padding:0;outline:none;font-family:var(", _Calendartokens.tokens.calendarHeaderFontFamily, ");font-size:var(", _Calendartokens.tokens.calendarHeaderFontSize, ");font-style:var(", _Calendartokens.tokens.calendarHeaderFontStyle, ");font-weight:var(", _Calendartokens.tokens.calendarHeaderFontWeightBold, ");letter-spacing:var(", _Calendartokens.tokens.calendarHeaderFontLetterSpacing, ");line-height:var(", _Calendartokens.tokens.calendarHeaderFontLineHeight, ");padding:var(", _Calendartokens.tokens.calendarHeaderPadding, ");color:var(", _Calendartokens.tokens.calendarContentPrimaryColor, ");cursor:pointer;display:flex;gap:var(", _Calendartokens.tokens.calendarHeaderDateGap, ");justify-content:space-between;align-items:center;&:hover,&:active{color:var(", _Calendartokens.tokens.calendarContentSecondaryColor, ");}", (0, _mixins.addFocus)({
    outlineSize: '0.063rem',
    outlineOffset: '0.125rem',
    outlineColor: `var(${_Calendartokens.tokens.calendarOutlineFocusColor})`,
    outlineRadius: '0.563rem'
}), ";");
const StyledHeaderDate = (0, /*#__PURE__*/ _styled.default)("span", {
    target: "efld0qd2",
    label: "StyledHeaderDate"
})(_mixins1.flexCenter, ";pointer-events:none;");
const StyledArrows = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "efld0qd3",
    label: "StyledArrows"
})("display:flex;gap:var(", _Calendartokens.tokens.calendarHeaderArrowGap, ");padding:var(", _Calendartokens.tokens.calendarHeaderArrowPadding, ");");
const StyledArrow = /*#__PURE__*/ (0, _styled.default)(IconButton, {
    target: "efld0qd4",
    label: "StyledArrow"
})(_IconButton.iconButtonTokens.iconButtonColor, ":var(", _Calendartokens.tokens.iconButtonColor, ");", _IconButton.iconButtonTokens.iconButtonBackgroundColor, ":var(", _Calendartokens.tokens.iconButtonBackgroundColor, ");", _IconButton.iconButtonTokens.iconButtonColorHover, ":var(", _Calendartokens.tokens.iconButtonColorHover, ");", _IconButton.iconButtonTokens.iconButtonBackgroundColorHover, ":var(", _Calendartokens.tokens.iconButtonBackgroundColorHover, ");", _IconButton.iconButtonTokens.iconButtonColorActive, ":var(", _Calendartokens.tokens.iconButtonColorActive, ");", _IconButton.iconButtonTokens.iconButtonBackgroundColorActive, ":var(", _Calendartokens.tokens.iconButtonBackgroundColorActive, ");", _IconButton.iconButtonTokens.iconButtonHeight, ":var(", _Calendartokens.tokens.iconButtonHeight, ");", _IconButton.iconButtonTokens.iconButtonWidth, ":var(", _Calendartokens.tokens.iconButtonWidth, ");", _IconButton.iconButtonTokens.iconButtonPadding, ":var(", _Calendartokens.tokens.iconButtonPadding, ");", _IconButton.iconButtonTokens.iconButtonRadius, ":var(", _Calendartokens.tokens.iconButtonRadius, ");", _IconButton.iconButtonTokens.iconButtonFocusColor, ":var(", _Calendartokens.tokens.iconButtonFocusColor, ");&.", _Calendartokens.classes.disabledPrevButton, "{cursor:not-allowed;opacity:0.4;&:hover,&:active{color:var(", _Calendartokens.tokens.iconButtonColor, ");}}");
const StyledNavigation = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "efld0qd5",
    label: "StyledNavigation"
})("width:100%;", _mixins1.flexCenter, ";");
const StyledDoubleHeaderWrapper = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "efld0qd6",
    label: "StyledDoubleHeaderWrapper"
})("width:100%;display:grid;align-items:center;grid-template-columns:var(", _Calendartokens.tokens.iconButtonWidth, ") 1fr var(", _Calendartokens.tokens.iconButtonWidth, ");grid-template-areas:'a b c';", StyledArrow, "{grid-area:a;}&.", _Calendartokens.classes.doubleHeaderLastDateWrapper, " ", StyledArrow, "{grid-area:c;}");
const StyledHeaderDouble = (0, /*#__PURE__*/ _styled.default)("button", {
    target: "efld0qd7",
    label: "StyledHeaderDouble"
})("border:none;background-color:transparent;padding:0;outline:none;font-family:var(", _Calendartokens.tokens.calendarHeaderFontFamily, ");font-size:var(", _Calendartokens.tokens.calendarHeaderFontSize, ");font-style:var(", _Calendartokens.tokens.calendarHeaderFontStyle, ");font-weight:var(", _Calendartokens.tokens.calendarHeaderFontWeightBold, ");letter-spacing:var(", _Calendartokens.tokens.calendarHeaderFontLetterSpacing, ");line-height:var(", _Calendartokens.tokens.calendarHeaderFontLineHeight, ");color:var(", _Calendartokens.tokens.calendarContentPrimaryColor, ");grid-area:b;justify-self:center;cursor:pointer;display:flex;gap:var(", _Calendartokens.tokens.calendarHeaderDateGap, ");justify-content:space-between;align-items:center;margin:0;height:fit-content;", String(_mixins1.flexCenter), ";", (0, _mixins.addFocus)({
    outlineSize: '0.063rem',
    outlineOffset: '0.125rem',
    outlineColor: `var(${_Calendartokens.tokens.calendarOutlineFocusColor})`,
    outlineRadius: '0.563rem'
}), ";");
const StyledHeaderArrow = /*#__PURE__*/ (0, _styled.default)(_Icon.IconDisclosureDownFill, {
    target: "efld0qd8",
    label: "StyledHeaderArrow"
})("color:var(", _Calendartokens.tokens.calendarHeaderArrowColor, ");");
