"use strict";var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;exports.__esModule = true;exports.styles = void 0;var _taggedTemplateLiteralLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteralLoose"));var _Emotion = require("../../lib/theming/Emotion");var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10;


var styles = exports.styles = (0, _Emotion.memoizeStyle)({
  headerMonth: function headerMonth(t) {
    return (0, _Emotion.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteralLoose2.default)(["\n      display: inline-block;\n      padding: ", " 0 ", ";\n    "])),

    t.calendarMonthTitlePaddingTop, t.calendarMonthTitlePaddingBottom);

  },

  headerYear: function headerYear(t) {
    return (0, _Emotion.css)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteralLoose2.default)(["\n      display: inline-block;\n      position: absolute;\n      right: 0;\n      padding: ", " 0 ", ";\n    "])),



    t.calendarMonthTitlePaddingTop, t.calendarMonthTitlePaddingBottom);

  },

  month: function month(t) {
    var width = parseInt(t.calendarCellWidth) * 7;
    return (0, _Emotion.css)(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteralLoose2.default)(["\n      position: absolute;\n      width: ", "px;\n    "])),

    width);

  },

  monthMobile: function monthMobile() {
    return (0, _Emotion.css)(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteralLoose2.default)(["\n      width: 100%;\n    "])));


  },

  header: function header() {
    return (0, _Emotion.css)(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteralLoose2.default)(["\n      position: relative;\n    "])));


  },

  headerSticky: function headerSticky(t) {
    return (0, _Emotion.css)(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteralLoose2.default)(["\n      background-color: ", ";\n      z-index: 2;\n    "])),
    t.calendarMonthHeaderStickedBgColor);


  },

  monthTitle: function monthTitle(t) {
    return (0, _Emotion.css)(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteralLoose2.default)(["\n      border-bottom: 1px solid ", ";\n      font-weight: ", ";\n      margin: 0 ", " ", ";\n      line-height: ", ";\n    "])),
    t.calendarMonthTitleBorderBottomColor,
    t.dateSelectFontWeight,
    t.calendarMonthTitleMarginX, t.calendarMonthTitleMarginBottom,
    t.calendarMonthTitleLineHeight);

  },

  /* Note: this could've been
   * display: grid;
   * grid-template-columns: repeat(7, minmax(0, 1fr));
   */
  monthDayGrid: function monthDayGrid(t) {
    return (0, _Emotion.css)(_templateObject8 || (_templateObject8 = (0, _taggedTemplateLiteralLoose2.default)(["\n      line-height: ", ";\n      display: flex;\n      flex-direction: column;\n      padding: ", " 0px;\n    "])),
    t.calendarCellLineHeight,


    t.calendarGridRowSpacing);

  },

  monthDayRow: function monthDayRow(t) {
    return (0, _Emotion.css)(_templateObject9 || (_templateObject9 = (0, _taggedTemplateLiteralLoose2.default)(["\n      display: flex;\n      justify-content: space-between;\n\n      & + & {\n        margin-top: ", ";\n      }\n    "])),




    t.calendarGridRowSpacing);


  },

  nativeSelect: function nativeSelect() {
    return (0, _Emotion.css)(_templateObject10 || (_templateObject10 = (0, _taggedTemplateLiteralLoose2.default)(["\n      position: absolute;\n      top: -12px;\n      right: 0;\n      bottom: -8px;\n      left: 0;\n      cursor: pointer;\n      appearance: none;\n      opacity: 0;\n      border: none;\n    "])));










  }
});