"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("styled-components"),t=require("../../../../utils/index.js"),i=require("../day/styles.js");function o(e){return e&&e.__esModule?e:{default:e}}var r=o(n);const s=r.default.div`
  min-width: 312px;

  @media (max-width: 420px) {
    min-width: 0;
  }
`;r.default.div`
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: ${t.getSpacing("s04","s05")};
  font-weight: ${e=>e.theme.font.weightExtrabold};
  ${t.getFontSize("size16")};
  color: ${t.getColorAlias("contentDefault")};
`;r.default.div`
  display: flex;
`;r.default.span`
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  ${t.getFontSize("size14")};
  font-weight: ${e=>e.theme.font.weightRegular};
  color: ${t.getColorAlias("contentDisabled")};
  margin: ${t.getSpacing("s00","s02")};
`;function d(e,a){return e===0?a?"7n":"7n + 1":a?`7n - ${e-1}`:`7n - ${e-2}`}const l=r.default.div.withConfig({shouldForwardProp:t.convertToTransientProps(["startColumn"])})`
  padding: ${t.getSpacing("s00","s04","s04")};
  display: grid;
  grid-template-columns: repeat(7, 1fr);

  ${({startColumn:e})=>n.css`
      ${i.Wrapper}:nth-child(${d(e,!0)}) {
        border-bottom-right-radius: 20px;
        border-top-right-radius: 20px;
      }
      ${i.Wrapper}:nth-child(${d(e,!1)}) {
        border-bottom-left-radius: 20px;
        border-top-left-radius: 20px;
      }
      ${i.Wrapper}:first-of-type {
        grid-column: ${e};
        border-bottom-left-radius: 20px;
        border-top-left-radius: 20px;
      }
    `}
  ${i.Wrapper}:last-child {
    border-bottom-right-radius: 20px;
    border-top-right-radius: 20px;
  }
`,p=r.default.div`
  padding: ${t.getSpacing("s04")};
  margin-left: ${t.getSpacing("s02")};
  font-weight: ${e=>e.theme.font.weightExtrabold};
`;exports.CalendarWrapper=s;exports.Dates=l;exports.NarrowMonth=p;
