{"ast":null,"code":"import { TinyColor } from '@ctrl/tinycolor';\nimport { genActiveStyle, genBasicInputStyle, genHoverStyle, initComponentToken, initInputToken } from '../../input/style';\nimport { resetComponent, roundedArrow, textEllipsis } from '../../style';\nimport { genCompactItemStyle } from '../../style/compact-item';\nimport { initMoveMotion, initSlideMotion, slideDownIn, slideDownOut, slideUpIn, slideUpOut } from '../../style/motion';\nimport { genComponentStyleHook, mergeToken } from '../../theme/internal';\nconst genPikerPadding = (token, inputHeight, fontSize, paddingHorizontal) => {\n  const {\n    lineHeight\n  } = token;\n  const fontHeight = Math.floor(fontSize * lineHeight) + 2;\n  const paddingTop = Math.max((inputHeight - fontHeight) / 2, 0);\n  const paddingBottom = Math.max(inputHeight - fontHeight - paddingTop, 0);\n  return {\n    padding: `${paddingTop}px ${paddingHorizontal}px ${paddingBottom}px`\n  };\n};\nconst genPickerCellInnerStyle = token => {\n  const {\n    componentCls,\n    pickerCellCls,\n    pickerCellInnerCls,\n    cellHeight,\n    motionDurationSlow,\n    borderRadiusSM,\n    motionDurationMid,\n    cellHoverBg,\n    lineWidth,\n    lineType,\n    colorPrimary,\n    cellActiveWithRangeBg,\n    colorTextLightSolid,\n    controlHeightSM,\n    cellRangeBorderColor,\n    pickerCellBorderGap,\n    cellHoverWithRangeBg,\n    cellWidth,\n    colorTextDisabled,\n    cellBgDisabled\n  } = token;\n  return {\n    '&::before': {\n      position: 'absolute',\n      top: '50%',\n      insetInlineStart: 0,\n      insetInlineEnd: 0,\n      zIndex: 1,\n      height: cellHeight,\n      transform: 'translateY(-50%)',\n      transition: `all ${motionDurationSlow}`,\n      content: '\"\"'\n    },\n    // >>> Default\n    [pickerCellInnerCls]: {\n      position: 'relative',\n      zIndex: 2,\n      display: 'inline-block',\n      minWidth: cellHeight,\n      height: cellHeight,\n      lineHeight: `${cellHeight}px`,\n      borderRadius: borderRadiusSM,\n      transition: `background ${motionDurationMid}, border ${motionDurationMid}`\n    },\n    [`&-range-hover-start, &-range-hover-end`]: {\n      [pickerCellInnerCls]: {\n        borderStartEndRadius: 0,\n        borderEndEndRadius: 0\n      }\n    },\n    // >>> Hover\n    [`&:hover:not(${pickerCellCls}-in-view),\n    &:hover:not(${pickerCellCls}-selected):not(${pickerCellCls}-range-start):not(${pickerCellCls}-range-end):not(${pickerCellCls}-range-hover-start):not(${pickerCellCls}-range-hover-end)`]: {\n      [pickerCellInnerCls]: {\n        background: cellHoverBg\n      }\n    },\n    // >>> Today\n    [`&-in-view${pickerCellCls}-today ${pickerCellInnerCls}`]: {\n      '&::before': {\n        position: 'absolute',\n        top: 0,\n        insetInlineEnd: 0,\n        bottom: 0,\n        insetInlineStart: 0,\n        zIndex: 1,\n        border: `${lineWidth}px ${lineType} ${colorPrimary}`,\n        borderRadius: borderRadiusSM,\n        content: '\"\"'\n      }\n    },\n    // >>> In Range\n    [`&-in-view${pickerCellCls}-in-range`]: {\n      position: 'relative',\n      '&::before': {\n        background: cellActiveWithRangeBg\n      }\n    },\n    // >>> Selected\n    [`&-in-view${pickerCellCls}-selected ${pickerCellInnerCls},\n      &-in-view${pickerCellCls}-range-start ${pickerCellInnerCls},\n      &-in-view${pickerCellCls}-range-end ${pickerCellInnerCls}`]: {\n      color: colorTextLightSolid,\n      background: colorPrimary\n    },\n    [`&-in-view${pickerCellCls}-range-start:not(${pickerCellCls}-range-start-single),\n      &-in-view${pickerCellCls}-range-end:not(${pickerCellCls}-range-end-single)`]: {\n      '&::before': {\n        background: cellActiveWithRangeBg\n      }\n    },\n    [`&-in-view${pickerCellCls}-range-start::before`]: {\n      insetInlineStart: '50%'\n    },\n    [`&-in-view${pickerCellCls}-range-end::before`]: {\n      insetInlineEnd: '50%'\n    },\n    // >>> Range Hover\n    [`&-in-view${pickerCellCls}-range-hover-start:not(${pickerCellCls}-in-range):not(${pickerCellCls}-range-start):not(${pickerCellCls}-range-end),\n      &-in-view${pickerCellCls}-range-hover-end:not(${pickerCellCls}-in-range):not(${pickerCellCls}-range-start):not(${pickerCellCls}-range-end),\n      &-in-view${pickerCellCls}-range-hover-start${pickerCellCls}-range-start-single,\n      &-in-view${pickerCellCls}-range-hover-start${pickerCellCls}-range-start${pickerCellCls}-range-end${pickerCellCls}-range-end-near-hover,\n      &-in-view${pickerCellCls}-range-hover-end${pickerCellCls}-range-start${pickerCellCls}-range-end${pickerCellCls}-range-start-near-hover,\n      &-in-view${pickerCellCls}-range-hover-end${pickerCellCls}-range-end-single,\n      &-in-view${pickerCellCls}-range-hover:not(${pickerCellCls}-in-range)`]: {\n      '&::after': {\n        position: 'absolute',\n        top: '50%',\n        zIndex: 0,\n        height: controlHeightSM,\n        borderTop: `${lineWidth}px dashed ${cellRangeBorderColor}`,\n        borderBottom: `${lineWidth}px dashed ${cellRangeBorderColor}`,\n        transform: 'translateY(-50%)',\n        transition: `all ${motionDurationSlow}`,\n        content: '\"\"'\n      }\n    },\n    // Add space for stash\n    [`&-range-hover-start::after,\n      &-range-hover-end::after,\n      &-range-hover::after`]: {\n      insetInlineEnd: 0,\n      insetInlineStart: pickerCellBorderGap\n    },\n    // Hover with in range\n    [`&-in-view${pickerCellCls}-in-range${pickerCellCls}-range-hover::before,\n      &-in-view${pickerCellCls}-in-range${pickerCellCls}-range-hover-start::before,\n      &-in-view${pickerCellCls}-in-range${pickerCellCls}-range-hover-end::before,\n      &-in-view${pickerCellCls}-range-start${pickerCellCls}-range-hover::before,\n      &-in-view${pickerCellCls}-range-end${pickerCellCls}-range-hover::before,\n      &-in-view${pickerCellCls}-range-start:not(${pickerCellCls}-range-start-single)${pickerCellCls}-range-hover-start::before,\n      &-in-view${pickerCellCls}-range-end:not(${pickerCellCls}-range-end-single)${pickerCellCls}-range-hover-end::before,\n      ${componentCls}-panel\n      > :not(${componentCls}-date-panel)\n      &-in-view${pickerCellCls}-in-range${pickerCellCls}-range-hover-start::before,\n      ${componentCls}-panel\n      > :not(${componentCls}-date-panel)\n      &-in-view${pickerCellCls}-in-range${pickerCellCls}-range-hover-end::before`]: {\n      background: cellHoverWithRangeBg\n    },\n    // range start border-radius\n    [`&-in-view${pickerCellCls}-range-start:not(${pickerCellCls}-range-start-single):not(${pickerCellCls}-range-end) ${pickerCellInnerCls}`]: {\n      borderStartStartRadius: borderRadiusSM,\n      borderEndStartRadius: borderRadiusSM,\n      borderStartEndRadius: 0,\n      borderEndEndRadius: 0\n    },\n    // range end border-radius\n    [`&-in-view${pickerCellCls}-range-end:not(${pickerCellCls}-range-end-single):not(${pickerCellCls}-range-start) ${pickerCellInnerCls}`]: {\n      borderStartStartRadius: 0,\n      borderEndStartRadius: 0,\n      borderStartEndRadius: borderRadiusSM,\n      borderEndEndRadius: borderRadiusSM\n    },\n    [`&-range-hover${pickerCellCls}-range-end::after`]: {\n      insetInlineStart: '50%'\n    },\n    // Edge start\n    [`tr > &-in-view${pickerCellCls}-range-hover:first-child::after,\n      tr > &-in-view${pickerCellCls}-range-hover-end:first-child::after,\n      &-in-view${pickerCellCls}-start${pickerCellCls}-range-hover-edge-start${pickerCellCls}-range-hover-edge-start-near-range::after,\n      &-in-view${pickerCellCls}-range-hover-edge-start:not(${pickerCellCls}-range-hover-edge-start-near-range)::after,\n      &-in-view${pickerCellCls}-range-hover-start::after`]: {\n      insetInlineStart: (cellWidth - cellHeight) / 2,\n      borderInlineStart: `${lineWidth}px dashed ${cellRangeBorderColor}`,\n      borderStartStartRadius: borderRadiusSM,\n      borderEndStartRadius: borderRadiusSM\n    },\n    // Edge end\n    [`tr > &-in-view${pickerCellCls}-range-hover:last-child::after,\n      tr > &-in-view${pickerCellCls}-range-hover-start:last-child::after,\n      &-in-view${pickerCellCls}-end${pickerCellCls}-range-hover-edge-end${pickerCellCls}-range-hover-edge-end-near-range::after,\n      &-in-view${pickerCellCls}-range-hover-edge-end:not(${pickerCellCls}-range-hover-edge-end-near-range)::after,\n      &-in-view${pickerCellCls}-range-hover-end::after`]: {\n      insetInlineEnd: (cellWidth - cellHeight) / 2,\n      borderInlineEnd: `${lineWidth}px dashed ${cellRangeBorderColor}`,\n      borderStartEndRadius: borderRadiusSM,\n      borderEndEndRadius: borderRadiusSM\n    },\n    // >>> Disabled\n    '&-disabled': {\n      color: colorTextDisabled,\n      pointerEvents: 'none',\n      [pickerCellInnerCls]: {\n        background: 'transparent'\n      },\n      '&::before': {\n        background: cellBgDisabled\n      }\n    },\n    [`&-disabled${pickerCellCls}-today ${pickerCellInnerCls}::before`]: {\n      borderColor: colorTextDisabled\n    }\n  };\n};\nexport const genPanelStyle = token => {\n  const {\n    componentCls,\n    pickerCellCls,\n    pickerCellInnerCls,\n    pickerYearMonthCellWidth,\n    pickerControlIconSize,\n    cellWidth,\n    paddingSM,\n    paddingXS,\n    paddingXXS,\n    colorBgContainer,\n    lineWidth,\n    lineType,\n    borderRadiusLG,\n    colorPrimary,\n    colorTextHeading,\n    colorSplit,\n    pickerControlIconBorderWidth,\n    colorIcon,\n    textHeight,\n    motionDurationMid,\n    colorIconHover,\n    fontWeightStrong,\n    cellHeight,\n    pickerCellPaddingVertical,\n    colorTextDisabled,\n    colorText,\n    fontSize,\n    cellHoverWithRangeBg,\n    motionDurationSlow,\n    withoutTimeCellHeight,\n    pickerQuarterPanelContentHeight,\n    colorLink,\n    colorLinkActive,\n    colorLinkHover,\n    cellRangeBorderColor,\n    borderRadiusSM,\n    colorTextLightSolid,\n    cellHoverBg,\n    timeColumnHeight,\n    timeColumnWidth,\n    timeCellHeight,\n    controlItemBgActive,\n    marginXXS,\n    pickerDatePanelPaddingHorizontal\n  } = token;\n  const pickerPanelWidth = cellWidth * 7 + pickerDatePanelPaddingHorizontal * 2;\n  const commonHoverCellFixedDistance = (pickerPanelWidth - paddingXS * 2) / 3 - pickerYearMonthCellWidth - paddingSM;\n  const quarterHoverCellFixedDistance = (pickerPanelWidth - paddingXS * 2) / 4 - pickerYearMonthCellWidth;\n  return {\n    [componentCls]: {\n      '&-panel': {\n        display: 'inline-flex',\n        flexDirection: 'column',\n        textAlign: 'center',\n        background: colorBgContainer,\n        border: `${lineWidth}px ${lineType} ${colorSplit}`,\n        borderRadius: borderRadiusLG,\n        outline: 'none',\n        '&-focused': {\n          borderColor: colorPrimary\n        },\n        '&-rtl': {\n          direction: 'rtl',\n          [`${componentCls}-prev-icon,\n              ${componentCls}-super-prev-icon`]: {\n            transform: 'rotate(45deg)'\n          },\n          [`${componentCls}-next-icon,\n              ${componentCls}-super-next-icon`]: {\n            transform: 'rotate(-135deg)'\n          }\n        }\n      },\n      // ========================================================\n      // =                     Shared Panel                     =\n      // ========================================================\n      [`&-decade-panel,\n        &-year-panel,\n        &-quarter-panel,\n        &-month-panel,\n        &-week-panel,\n        &-date-panel,\n        &-time-panel`]: {\n        display: 'flex',\n        flexDirection: 'column',\n        width: pickerPanelWidth\n      },\n      // ======================= Header =======================\n      '&-header': {\n        display: 'flex',\n        padding: `0 ${paddingXS}px`,\n        color: colorTextHeading,\n        borderBottom: `${lineWidth}px ${lineType} ${colorSplit}`,\n        '> *': {\n          flex: 'none'\n        },\n        button: {\n          padding: 0,\n          color: colorIcon,\n          lineHeight: `${textHeight}px`,\n          background: 'transparent',\n          border: 0,\n          cursor: 'pointer',\n          transition: `color ${motionDurationMid}`,\n          fontSize: 'inherit'\n        },\n        '> button': {\n          minWidth: '1.6em',\n          fontSize,\n          '&:hover': {\n            color: colorIconHover\n          }\n        },\n        '&-view': {\n          flex: 'auto',\n          fontWeight: fontWeightStrong,\n          lineHeight: `${textHeight}px`,\n          button: {\n            color: 'inherit',\n            fontWeight: 'inherit',\n            verticalAlign: 'top',\n            '&:not(:first-child)': {\n              marginInlineStart: paddingXS\n            },\n            '&:hover': {\n              color: colorPrimary\n            }\n          }\n        }\n      },\n      // Arrow button\n      [`&-prev-icon,\n        &-next-icon,\n        &-super-prev-icon,\n        &-super-next-icon`]: {\n        position: 'relative',\n        display: 'inline-block',\n        width: pickerControlIconSize,\n        height: pickerControlIconSize,\n        '&::before': {\n          position: 'absolute',\n          top: 0,\n          insetInlineStart: 0,\n          display: 'inline-block',\n          width: pickerControlIconSize,\n          height: pickerControlIconSize,\n          border: `0 solid currentcolor`,\n          borderBlockStartWidth: pickerControlIconBorderWidth,\n          borderBlockEndWidth: 0,\n          borderInlineStartWidth: pickerControlIconBorderWidth,\n          borderInlineEndWidth: 0,\n          content: '\"\"'\n        }\n      },\n      [`&-super-prev-icon,\n        &-super-next-icon`]: {\n        '&::after': {\n          position: 'absolute',\n          top: Math.ceil(pickerControlIconSize / 2),\n          insetInlineStart: Math.ceil(pickerControlIconSize / 2),\n          display: 'inline-block',\n          width: pickerControlIconSize,\n          height: pickerControlIconSize,\n          border: '0 solid currentcolor',\n          borderBlockStartWidth: pickerControlIconBorderWidth,\n          borderBlockEndWidth: 0,\n          borderInlineStartWidth: pickerControlIconBorderWidth,\n          borderInlineEndWidth: 0,\n          content: '\"\"'\n        }\n      },\n      [`&-prev-icon,\n        &-super-prev-icon`]: {\n        transform: 'rotate(-45deg)'\n      },\n      [`&-next-icon,\n        &-super-next-icon`]: {\n        transform: 'rotate(135deg)'\n      },\n      // ======================== Body ========================\n      '&-content': {\n        width: '100%',\n        tableLayout: 'fixed',\n        borderCollapse: 'collapse',\n        'th, td': {\n          position: 'relative',\n          minWidth: cellHeight,\n          fontWeight: 'normal'\n        },\n        th: {\n          height: cellHeight + pickerCellPaddingVertical * 2,\n          color: colorText,\n          verticalAlign: 'middle'\n        }\n      },\n      '&-cell': Object.assign({\n        padding: `${pickerCellPaddingVertical}px 0`,\n        color: colorTextDisabled,\n        cursor: 'pointer',\n        // In view\n        '&-in-view': {\n          color: colorText\n        }\n      }, genPickerCellInnerStyle(token)),\n      // DatePanel only\n      [`&-date-panel ${componentCls}-cell-in-view${componentCls}-cell-in-range${componentCls}-cell-range-hover-start ${pickerCellInnerCls},\n        &-date-panel ${componentCls}-cell-in-view${componentCls}-cell-in-range${componentCls}-cell-range-hover-end ${pickerCellInnerCls}`]: {\n        '&::after': {\n          position: 'absolute',\n          top: 0,\n          bottom: 0,\n          zIndex: -1,\n          background: cellHoverWithRangeBg,\n          transition: `all ${motionDurationSlow}`,\n          content: '\"\"'\n        }\n      },\n      [`&-date-panel\n        ${componentCls}-cell-in-view${componentCls}-cell-in-range${componentCls}-cell-range-hover-start\n        ${pickerCellInnerCls}::after`]: {\n        insetInlineEnd: -(cellWidth - cellHeight) / 2,\n        insetInlineStart: 0\n      },\n      [`&-date-panel ${componentCls}-cell-in-view${componentCls}-cell-in-range${componentCls}-cell-range-hover-end ${pickerCellInnerCls}::after`]: {\n        insetInlineEnd: 0,\n        insetInlineStart: -(cellWidth - cellHeight) / 2\n      },\n      // Hover with range start & end\n      [`&-range-hover${componentCls}-range-start::after`]: {\n        insetInlineEnd: '50%'\n      },\n      [`&-decade-panel,\n        &-year-panel,\n        &-quarter-panel,\n        &-month-panel`]: {\n        [`${componentCls}-content`]: {\n          height: withoutTimeCellHeight * 4\n        },\n        [pickerCellInnerCls]: {\n          padding: `0 ${paddingXS}px`\n        }\n      },\n      '&-quarter-panel': {\n        [`${componentCls}-content`]: {\n          height: pickerQuarterPanelContentHeight\n        },\n        // Quarter Panel Special Style\n        [`${componentCls}-cell-range-hover-start::after`]: {\n          insetInlineStart: quarterHoverCellFixedDistance,\n          borderInlineStart: `${lineWidth}px dashed ${cellRangeBorderColor}`,\n          [`${componentCls}-panel-rtl &`]: {\n            insetInlineEnd: quarterHoverCellFixedDistance,\n            borderInlineEnd: `${lineWidth}px dashed ${cellRangeBorderColor}`\n          }\n        },\n        [`${componentCls}-cell-range-hover-end::after`]: {\n          insetInlineEnd: quarterHoverCellFixedDistance,\n          borderInlineEnd: `${lineWidth}px dashed ${cellRangeBorderColor}`,\n          [`${componentCls}-panel-rtl &`]: {\n            insetInlineStart: quarterHoverCellFixedDistance,\n            borderInlineStart: `${lineWidth}px dashed ${cellRangeBorderColor}`\n          }\n        }\n      },\n      // ======================== Footer ========================\n      [`&-panel ${componentCls}-footer`]: {\n        borderTop: `${lineWidth}px ${lineType} ${colorSplit}`\n      },\n      '&-footer': {\n        width: 'min-content',\n        minWidth: '100%',\n        lineHeight: `${textHeight - 2 * lineWidth}px`,\n        textAlign: 'center',\n        '&-extra': {\n          padding: `0 ${paddingSM}px`,\n          lineHeight: `${textHeight - 2 * lineWidth}px`,\n          textAlign: 'start',\n          '&:not(:last-child)': {\n            borderBottom: `${lineWidth}px ${lineType} ${colorSplit}`\n          }\n        }\n      },\n      '&-now': {\n        textAlign: 'start'\n      },\n      '&-today-btn': {\n        color: colorLink,\n        '&:hover': {\n          color: colorLinkHover\n        },\n        '&:active': {\n          color: colorLinkActive\n        },\n        [`&${componentCls}-today-btn-disabled`]: {\n          color: colorTextDisabled,\n          cursor: 'not-allowed'\n        }\n      },\n      // ========================================================\n      // =                       Special                        =\n      // ========================================================\n      // ===================== Decade Panel =====================\n      '&-decade-panel': {\n        [pickerCellInnerCls]: {\n          padding: `0 ${paddingXS / 2}px`\n        },\n        [`${componentCls}-cell::before`]: {\n          display: 'none'\n        }\n      },\n      // ============= Year & Quarter & Month Panel =============\n      [`&-year-panel,\n        &-quarter-panel,\n        &-month-panel`]: {\n        [`${componentCls}-body`]: {\n          padding: `0 ${paddingXS}px`\n        },\n        [pickerCellInnerCls]: {\n          width: pickerYearMonthCellWidth\n        },\n        [`${componentCls}-cell-range-hover-start::after`]: {\n          borderStartStartRadius: borderRadiusSM,\n          borderEndStartRadius: borderRadiusSM,\n          borderStartEndRadius: 0,\n          borderEndEndRadius: 0,\n          [`${componentCls}-panel-rtl &`]: {\n            borderStartStartRadius: 0,\n            borderEndStartRadius: 0,\n            borderStartEndRadius: borderRadiusSM,\n            borderEndEndRadius: borderRadiusSM\n          }\n        },\n        [`${componentCls}-cell-range-hover-end::after`]: {\n          borderStartStartRadius: 0,\n          borderEndStartRadius: 0,\n          borderStartEndRadius: borderRadiusSM,\n          borderEndEndRadius: borderRadiusSM,\n          [`${componentCls}-panel-rtl &`]: {\n            borderStartStartRadius: borderRadiusSM,\n            borderEndStartRadius: borderRadiusSM,\n            borderStartEndRadius: 0,\n            borderEndEndRadius: 0\n          }\n        }\n      },\n      [`&-year-panel,\n        &-month-panel`]: {\n        [`${componentCls}-cell-range-hover-start::after`]: {\n          insetInlineStart: commonHoverCellFixedDistance,\n          borderInlineStart: `${lineWidth}px dashed ${cellRangeBorderColor}`,\n          [`${componentCls}-panel-rtl &`]: {\n            insetInlineEnd: commonHoverCellFixedDistance,\n            borderInlineEnd: `${lineWidth}px dashed ${cellRangeBorderColor}`\n          }\n        },\n        [`${componentCls}-cell-range-hover-end::after`]: {\n          insetInlineEnd: commonHoverCellFixedDistance,\n          borderInlineEnd: `${lineWidth}px dashed ${cellRangeBorderColor}`,\n          [`${componentCls}-panel-rtl &`]: {\n            insetInlineStart: commonHoverCellFixedDistance,\n            borderInlineStart: `${lineWidth}px dashed ${cellRangeBorderColor}`\n          }\n        }\n      },\n      // ====================== Week Panel ======================\n      '&-week-panel': {\n        [`${componentCls}-body`]: {\n          padding: `${paddingXS}px ${paddingSM}px`\n        },\n        // Clear cell style\n        [`${componentCls}-cell`]: {\n          [`&:hover ${pickerCellInnerCls},\n            &-selected ${pickerCellInnerCls},\n            ${pickerCellInnerCls}`]: {\n            background: 'transparent !important'\n          }\n        },\n        '&-row': {\n          td: {\n            '&:before': {\n              transition: `background ${motionDurationMid}`\n            },\n            '&:first-child:before': {\n              borderStartStartRadius: borderRadiusSM,\n              borderEndStartRadius: borderRadiusSM\n            },\n            '&:last-child:before': {\n              borderStartEndRadius: borderRadiusSM,\n              borderEndEndRadius: borderRadiusSM\n            }\n          },\n          [`&:hover td`]: {\n            '&:before': {\n              background: cellHoverBg\n            }\n          },\n          [`&-range-start td,\n            &-range-end td,\n            &-selected td`]: {\n            // Rise priority to override hover style\n            [`&${pickerCellCls}`]: {\n              '&:before': {\n                background: colorPrimary\n              },\n              [`&${componentCls}-cell-week`]: {\n                color: new TinyColor(colorTextLightSolid).setAlpha(0.5).toHexString()\n              },\n              [pickerCellInnerCls]: {\n                color: colorTextLightSolid\n              }\n            }\n          },\n          [`&-range-hover td:before`]: {\n            background: controlItemBgActive\n          }\n        }\n      },\n      // ====================== Date Panel ======================\n      '&-date-panel': {\n        [`${componentCls}-body`]: {\n          padding: `${paddingXS}px ${pickerDatePanelPaddingHorizontal}px`\n        },\n        [`${componentCls}-content`]: {\n          width: cellWidth * 7,\n          th: {\n            width: cellWidth,\n            boxSizing: 'border-box',\n            padding: 0\n          }\n        }\n      },\n      // ==================== Datetime Panel ====================\n      '&-datetime-panel': {\n        display: 'flex',\n        [`${componentCls}-time-panel`]: {\n          borderInlineStart: `${lineWidth}px ${lineType} ${colorSplit}`\n        },\n        [`${componentCls}-date-panel,\n          ${componentCls}-time-panel`]: {\n          transition: `opacity ${motionDurationSlow}`\n        },\n        // Keyboard\n        '&-active': {\n          [`${componentCls}-date-panel,\n            ${componentCls}-time-panel`]: {\n            opacity: 0.3,\n            '&-active': {\n              opacity: 1\n            }\n          }\n        }\n      },\n      // ====================== Time Panel ======================\n      '&-time-panel': {\n        width: 'auto',\n        minWidth: 'auto',\n        direction: 'ltr',\n        [`${componentCls}-content`]: {\n          display: 'flex',\n          flex: 'auto',\n          height: timeColumnHeight\n        },\n        '&-column': {\n          flex: '1 0 auto',\n          width: timeColumnWidth,\n          margin: `${paddingXXS}px 0`,\n          padding: 0,\n          overflowY: 'hidden',\n          textAlign: 'start',\n          listStyle: 'none',\n          transition: `background ${motionDurationMid}`,\n          overflowX: 'hidden',\n          '&::after': {\n            display: 'block',\n            height: timeColumnHeight - timeCellHeight,\n            content: '\"\"'\n          },\n          '&:not(:first-child)': {\n            borderInlineStart: `${lineWidth}px ${lineType} ${colorSplit}`\n          },\n          '&-active': {\n            background: new TinyColor(controlItemBgActive).setAlpha(0.2).toHexString()\n          },\n          '&:hover': {\n            overflowY: 'auto'\n          },\n          '> li': {\n            margin: 0,\n            padding: 0,\n            [`&${componentCls}-time-panel-cell`]: {\n              marginInline: marginXXS,\n              [`${componentCls}-time-panel-cell-inner`]: {\n                display: 'block',\n                width: timeColumnWidth - 2 * marginXXS,\n                height: timeCellHeight,\n                margin: 0,\n                paddingBlock: 0,\n                paddingInlineEnd: 0,\n                paddingInlineStart: (timeColumnWidth - timeCellHeight) / 2,\n                color: colorText,\n                lineHeight: `${timeCellHeight}px`,\n                borderRadius: borderRadiusSM,\n                cursor: 'pointer',\n                transition: `background ${motionDurationMid}`,\n                '&:hover': {\n                  background: cellHoverBg\n                }\n              },\n              '&-selected': {\n                [`${componentCls}-time-panel-cell-inner`]: {\n                  background: controlItemBgActive\n                }\n              },\n              '&-disabled': {\n                [`${componentCls}-time-panel-cell-inner`]: {\n                  color: colorTextDisabled,\n                  background: 'transparent',\n                  cursor: 'not-allowed'\n                }\n              }\n            }\n          }\n        }\n      },\n      // https://github.com/ant-design/ant-design/issues/39227\n      [`&-datetime-panel ${componentCls}-time-panel-column:after`]: {\n        height: timeColumnHeight - timeCellHeight + paddingXXS * 2\n      }\n    }\n  };\n};\nconst genPickerStatusStyle = token => {\n  const {\n    componentCls,\n    colorBgContainer,\n    colorError,\n    errorActiveShadow,\n    colorWarning,\n    warningActiveShadow,\n    colorErrorHover,\n    colorWarningHover\n  } = token;\n  return {\n    [`${componentCls}:not(${componentCls}-disabled):not([disabled])`]: {\n      [`&${componentCls}-status-error`]: {\n        backgroundColor: colorBgContainer,\n        borderColor: colorError,\n        '&:hover': {\n          borderColor: colorErrorHover\n        },\n        [`&${componentCls}-focused, &:focus`]: Object.assign({}, genActiveStyle(mergeToken(token, {\n          activeBorderColor: colorError,\n          activeShadow: errorActiveShadow\n        }))),\n        [`${componentCls}-active-bar`]: {\n          background: colorError\n        }\n      },\n      [`&${componentCls}-status-warning`]: {\n        backgroundColor: colorBgContainer,\n        borderColor: colorWarning,\n        '&:hover': {\n          borderColor: colorWarningHover\n        },\n        [`&${componentCls}-focused, &:focus`]: Object.assign({}, genActiveStyle(mergeToken(token, {\n          activeBorderColor: colorWarning,\n          activeShadow: warningActiveShadow\n        }))),\n        [`${componentCls}-active-bar`]: {\n          background: colorWarning\n        }\n      }\n    }\n  };\n};\nconst genPickerStyle = token => {\n  const {\n    componentCls,\n    antCls,\n    controlHeight,\n    fontSize,\n    paddingInline,\n    colorBgContainer,\n    lineWidth,\n    lineType,\n    colorBorder,\n    borderRadius,\n    motionDurationMid,\n    colorBgContainerDisabled,\n    colorTextDisabled,\n    colorTextPlaceholder,\n    controlHeightLG,\n    fontSizeLG,\n    controlHeightSM,\n    paddingInlineSM,\n    paddingXS,\n    marginXS,\n    colorTextDescription,\n    lineWidthBold,\n    lineHeight,\n    colorPrimary,\n    motionDurationSlow,\n    zIndexPopup,\n    paddingXXS,\n    paddingSM,\n    textHeight,\n    cellActiveWithRangeBg,\n    colorPrimaryBorder,\n    sizePopupArrow,\n    borderRadiusXS,\n    borderRadiusOuter,\n    colorBgElevated,\n    borderRadiusLG,\n    boxShadowSecondary,\n    borderRadiusSM,\n    colorSplit,\n    cellHoverBg,\n    presetsWidth,\n    presetsMaxWidth,\n    boxShadowPopoverArrow,\n    colorTextQuaternary\n  } = token;\n  return [{\n    [componentCls]: Object.assign(Object.assign(Object.assign({}, resetComponent(token)), genPikerPadding(token, controlHeight, fontSize, paddingInline)), {\n      position: 'relative',\n      display: 'inline-flex',\n      alignItems: 'center',\n      background: colorBgContainer,\n      lineHeight: 1,\n      border: `${lineWidth}px ${lineType} ${colorBorder}`,\n      borderRadius,\n      transition: `border ${motionDurationMid}, box-shadow ${motionDurationMid}`,\n      '&:hover': Object.assign({}, genHoverStyle(token)),\n      [`&-focused${componentCls}`]: Object.assign({}, genActiveStyle(token)),\n      [`&${componentCls}-disabled`]: {\n        background: colorBgContainerDisabled,\n        borderColor: colorBorder,\n        cursor: 'not-allowed',\n        [`${componentCls}-suffix`]: {\n          color: colorTextQuaternary\n        }\n      },\n      [`&${componentCls}-borderless`]: {\n        backgroundColor: 'transparent !important',\n        borderColor: 'transparent !important',\n        boxShadow: 'none !important'\n      },\n      // ======================== Input =========================\n      [`${componentCls}-input`]: {\n        position: 'relative',\n        display: 'inline-flex',\n        alignItems: 'center',\n        width: '100%',\n        '> input': Object.assign(Object.assign({}, genBasicInputStyle(token)), {\n          flex: 'auto',\n          // Fix Firefox flex not correct:\n          // https://github.com/ant-design/ant-design/pull/20023#issuecomment-564389553\n          minWidth: 1,\n          height: 'auto',\n          padding: 0,\n          background: 'transparent',\n          border: 0,\n          borderRadius: 0,\n          fontFamily: 'inherit',\n          '&:focus': {\n            boxShadow: 'none'\n          },\n          '&[disabled]': {\n            background: 'transparent'\n          }\n        }),\n        '&:hover': {\n          [`${componentCls}-clear`]: {\n            opacity: 1\n          }\n        },\n        '&-placeholder': {\n          '> input': {\n            color: colorTextPlaceholder\n          }\n        }\n      },\n      // Size\n      '&-large': Object.assign(Object.assign({}, genPikerPadding(token, controlHeightLG, fontSizeLG, paddingInline)), {\n        [`${componentCls}-input > input`]: {\n          fontSize: fontSizeLG\n        }\n      }),\n      '&-small': Object.assign({}, genPikerPadding(token, controlHeightSM, fontSize, paddingInlineSM)),\n      [`${componentCls}-suffix`]: {\n        display: 'flex',\n        flex: 'none',\n        alignSelf: 'center',\n        marginInlineStart: paddingXS / 2,\n        color: colorTextDisabled,\n        lineHeight: 1,\n        pointerEvents: 'none',\n        '> *': {\n          verticalAlign: 'top',\n          '&:not(:last-child)': {\n            marginInlineEnd: marginXS\n          }\n        }\n      },\n      [`${componentCls}-clear`]: {\n        position: 'absolute',\n        top: '50%',\n        insetInlineEnd: 0,\n        color: colorTextDisabled,\n        lineHeight: 1,\n        background: colorBgContainer,\n        transform: 'translateY(-50%)',\n        cursor: 'pointer',\n        opacity: 0,\n        transition: `opacity ${motionDurationMid}, color ${motionDurationMid}`,\n        '> *': {\n          verticalAlign: 'top'\n        },\n        '&:hover': {\n          color: colorTextDescription\n        }\n      },\n      [`${componentCls}-separator`]: {\n        position: 'relative',\n        display: 'inline-block',\n        width: '1em',\n        height: fontSizeLG,\n        color: colorTextDisabled,\n        fontSize: fontSizeLG,\n        verticalAlign: 'top',\n        cursor: 'default',\n        [`${componentCls}-focused &`]: {\n          color: colorTextDescription\n        },\n        [`${componentCls}-range-separator &`]: {\n          [`${componentCls}-disabled &`]: {\n            cursor: 'not-allowed'\n          }\n        }\n      },\n      // ======================== Range =========================\n      '&-range': {\n        position: 'relative',\n        display: 'inline-flex',\n        // Clear\n        [`${componentCls}-clear`]: {\n          insetInlineEnd: paddingInline\n        },\n        '&:hover': {\n          [`${componentCls}-clear`]: {\n            opacity: 1\n          }\n        },\n        // Active bar\n        [`${componentCls}-active-bar`]: {\n          bottom: -lineWidth,\n          height: lineWidthBold,\n          marginInlineStart: paddingInline,\n          background: colorPrimary,\n          opacity: 0,\n          transition: `all ${motionDurationSlow} ease-out`,\n          pointerEvents: 'none'\n        },\n        [`&${componentCls}-focused`]: {\n          [`${componentCls}-active-bar`]: {\n            opacity: 1\n          }\n        },\n        [`${componentCls}-range-separator`]: {\n          alignItems: 'center',\n          padding: `0 ${paddingXS}px`,\n          lineHeight: 1\n        },\n        [`&${componentCls}-small`]: {\n          [`${componentCls}-clear`]: {\n            insetInlineEnd: paddingInlineSM\n          },\n          [`${componentCls}-active-bar`]: {\n            marginInlineStart: paddingInlineSM\n          }\n        }\n      },\n      // ======================= Dropdown =======================\n      '&-dropdown': Object.assign(Object.assign(Object.assign({}, resetComponent(token)), genPanelStyle(token)), {\n        position: 'absolute',\n        // Fix incorrect position of picker popup\n        // https://github.com/ant-design/ant-design/issues/35590\n        top: -9999,\n        left: {\n          _skip_check_: true,\n          value: -9999\n        },\n        zIndex: zIndexPopup,\n        [`&${componentCls}-dropdown-hidden`]: {\n          display: 'none'\n        },\n        [`&${componentCls}-dropdown-placement-bottomLeft`]: {\n          [`${componentCls}-range-arrow`]: {\n            top: 0,\n            display: 'block',\n            transform: 'translateY(-100%)'\n          }\n        },\n        [`&${componentCls}-dropdown-placement-topLeft`]: {\n          [`${componentCls}-range-arrow`]: {\n            bottom: 0,\n            display: 'block',\n            transform: 'translateY(100%) rotate(180deg)'\n          }\n        },\n        [`&${antCls}-slide-up-enter${antCls}-slide-up-enter-active${componentCls}-dropdown-placement-topLeft,\n          &${antCls}-slide-up-enter${antCls}-slide-up-enter-active${componentCls}-dropdown-placement-topRight,\n          &${antCls}-slide-up-appear${antCls}-slide-up-appear-active${componentCls}-dropdown-placement-topLeft,\n          &${antCls}-slide-up-appear${antCls}-slide-up-appear-active${componentCls}-dropdown-placement-topRight`]: {\n          animationName: slideDownIn\n        },\n        [`&${antCls}-slide-up-enter${antCls}-slide-up-enter-active${componentCls}-dropdown-placement-bottomLeft,\n          &${antCls}-slide-up-enter${antCls}-slide-up-enter-active${componentCls}-dropdown-placement-bottomRight,\n          &${antCls}-slide-up-appear${antCls}-slide-up-appear-active${componentCls}-dropdown-placement-bottomLeft,\n          &${antCls}-slide-up-appear${antCls}-slide-up-appear-active${componentCls}-dropdown-placement-bottomRight`]: {\n          animationName: slideUpIn\n        },\n        [`&${antCls}-slide-up-leave${antCls}-slide-up-leave-active${componentCls}-dropdown-placement-topLeft,\n          &${antCls}-slide-up-leave${antCls}-slide-up-leave-active${componentCls}-dropdown-placement-topRight`]: {\n          animationName: slideDownOut\n        },\n        [`&${antCls}-slide-up-leave${antCls}-slide-up-leave-active${componentCls}-dropdown-placement-bottomLeft,\n          &${antCls}-slide-up-leave${antCls}-slide-up-leave-active${componentCls}-dropdown-placement-bottomRight`]: {\n          animationName: slideUpOut\n        },\n        // Time picker with additional style\n        [`${componentCls}-panel > ${componentCls}-time-panel`]: {\n          paddingTop: paddingXXS\n        },\n        // ======================== Ranges ========================\n        [`${componentCls}-ranges`]: {\n          marginBottom: 0,\n          padding: `${paddingXXS}px ${paddingSM}px`,\n          overflow: 'hidden',\n          lineHeight: `${textHeight - 2 * lineWidth - paddingXS / 2}px`,\n          textAlign: 'start',\n          listStyle: 'none',\n          display: 'flex',\n          justifyContent: 'space-between',\n          '> li': {\n            display: 'inline-block'\n          },\n          // https://github.com/ant-design/ant-design/issues/23687\n          [`${componentCls}-preset > ${antCls}-tag-blue`]: {\n            color: colorPrimary,\n            background: cellActiveWithRangeBg,\n            borderColor: colorPrimaryBorder,\n            cursor: 'pointer'\n          },\n          [`${componentCls}-ok`]: {\n            marginInlineStart: 'auto'\n          }\n        },\n        [`${componentCls}-range-wrapper`]: {\n          display: 'flex',\n          position: 'relative'\n        },\n        [`${componentCls}-range-arrow`]: Object.assign({\n          position: 'absolute',\n          zIndex: 1,\n          display: 'none',\n          marginInlineStart: paddingInline * 1.5,\n          transition: `left ${motionDurationSlow} ease-out`\n        }, roundedArrow(sizePopupArrow, borderRadiusXS, borderRadiusOuter, colorBgElevated, boxShadowPopoverArrow)),\n        [`${componentCls}-panel-container`]: {\n          overflow: 'hidden',\n          verticalAlign: 'top',\n          background: colorBgElevated,\n          borderRadius: borderRadiusLG,\n          boxShadow: boxShadowSecondary,\n          transition: `margin ${motionDurationSlow}`,\n          // ======================== Layout ========================\n          [`${componentCls}-panel-layout`]: {\n            display: 'flex',\n            flexWrap: 'nowrap',\n            alignItems: 'stretch'\n          },\n          // ======================== Preset ========================\n          [`${componentCls}-presets`]: {\n            display: 'flex',\n            flexDirection: 'column',\n            minWidth: presetsWidth,\n            maxWidth: presetsMaxWidth,\n            ul: {\n              height: 0,\n              flex: 'auto',\n              listStyle: 'none',\n              overflow: 'auto',\n              margin: 0,\n              padding: paddingXS,\n              borderInlineEnd: `${lineWidth}px ${lineType} ${colorSplit}`,\n              li: Object.assign(Object.assign({}, textEllipsis), {\n                borderRadius: borderRadiusSM,\n                paddingInline: paddingXS,\n                paddingBlock: (controlHeightSM - Math.round(fontSize * lineHeight)) / 2,\n                cursor: 'pointer',\n                transition: `all ${motionDurationSlow}`,\n                '+ li': {\n                  marginTop: marginXS\n                },\n                '&:hover': {\n                  background: cellHoverBg\n                }\n              })\n            }\n          },\n          // ======================== Panels ========================\n          [`${componentCls}-panels`]: {\n            display: 'inline-flex',\n            flexWrap: 'nowrap',\n            direction: 'ltr',\n            [`${componentCls}-panel`]: {\n              borderWidth: `0 0 ${lineWidth}px`\n            },\n            '&:last-child': {\n              [`${componentCls}-panel`]: {\n                borderWidth: 0\n              }\n            }\n          },\n          [`${componentCls}-panel`]: {\n            verticalAlign: 'top',\n            background: 'transparent',\n            borderRadius: 0,\n            borderWidth: 0,\n            [`${componentCls}-content,\n            table`]: {\n              textAlign: 'center'\n            },\n            '&-focused': {\n              borderColor: colorBorder\n            }\n          }\n        }\n      }),\n      '&-dropdown-range': {\n        padding: `${sizePopupArrow * 2 / 3}px 0`,\n        '&-hidden': {\n          display: 'none'\n        }\n      },\n      '&-rtl': {\n        direction: 'rtl',\n        [`${componentCls}-separator`]: {\n          transform: 'rotate(180deg)'\n        },\n        [`${componentCls}-footer`]: {\n          '&-extra': {\n            direction: 'rtl'\n          }\n        }\n      }\n    })\n  },\n  // Follow code may reuse in other components\n  initSlideMotion(token, 'slide-up'), initSlideMotion(token, 'slide-down'), initMoveMotion(token, 'move-up'), initMoveMotion(token, 'move-down')];\n};\nexport const initPickerPanelToken = token => {\n  const {\n    componentCls,\n    controlHeightLG,\n    paddingXXS,\n    padding\n  } = token;\n  return {\n    pickerCellCls: `${componentCls}-cell`,\n    pickerCellInnerCls: `${componentCls}-cell-inner`,\n    pickerYearMonthCellWidth: controlHeightLG * 1.5,\n    pickerQuarterPanelContentHeight: controlHeightLG * 1.4,\n    pickerCellPaddingVertical: paddingXXS + paddingXXS / 2,\n    pickerCellBorderGap: 2,\n    pickerControlIconSize: 7,\n    pickerControlIconBorderWidth: 1.5,\n    pickerDatePanelPaddingHorizontal: padding + paddingXXS / 2 // 18 in normal\n  };\n};\n\nexport const initPanelComponentToken = token => ({\n  cellHoverBg: token.controlItemBgHover,\n  cellActiveWithRangeBg: token.controlItemBgActive,\n  cellHoverWithRangeBg: new TinyColor(token.colorPrimary).lighten(35).toHexString(),\n  cellRangeBorderColor: new TinyColor(token.colorPrimary).lighten(20).toHexString(),\n  cellBgDisabled: token.colorBgContainerDisabled,\n  timeColumnWidth: token.controlHeightLG * 1.4,\n  timeColumnHeight: 28 * 8,\n  timeCellHeight: 28,\n  cellWidth: token.controlHeightSM * 1.5,\n  cellHeight: token.controlHeightSM,\n  textHeight: token.controlHeightLG,\n  withoutTimeCellHeight: token.controlHeightLG * 1.65\n});\n// ============================== Export ==============================\nexport default genComponentStyleHook('DatePicker', token => {\n  const pickerToken = mergeToken(initInputToken(token), initPickerPanelToken(token));\n  return [genPickerStyle(pickerToken), genPickerStatusStyle(pickerToken),\n  // =====================================================\n  // ==             Space Compact                       ==\n  // =====================================================\n  genCompactItemStyle(token, {\n    focusElCls: `${token.componentCls}-focused`\n  })];\n}, token => Object.assign(Object.assign(Object.assign({}, initComponentToken(token)), initPanelComponentToken(token)), {\n  presetsWidth: 120,\n  presetsMaxWidth: 200,\n  zIndexPopup: token.zIndexPopupBase + 50\n}));","map":{"version":3,"names":["TinyColor","genActiveStyle","genBasicInputStyle","genHoverStyle","initComponentToken","initInputToken","resetComponent","roundedArrow","textEllipsis","genCompactItemStyle","initMoveMotion","initSlideMotion","slideDownIn","slideDownOut","slideUpIn","slideUpOut","genComponentStyleHook","mergeToken","genPikerPadding","token","inputHeight","fontSize","paddingHorizontal","lineHeight","fontHeight","Math","floor","paddingTop","max","paddingBottom","padding","genPickerCellInnerStyle","componentCls","pickerCellCls","pickerCellInnerCls","cellHeight","motionDurationSlow","borderRadiusSM","motionDurationMid","cellHoverBg","lineWidth","lineType","colorPrimary","cellActiveWithRangeBg","colorTextLightSolid","controlHeightSM","cellRangeBorderColor","pickerCellBorderGap","cellHoverWithRangeBg","cellWidth","colorTextDisabled","cellBgDisabled","position","top","insetInlineStart","insetInlineEnd","zIndex","height","transform","transition","content","display","minWidth","borderRadius","borderStartEndRadius","borderEndEndRadius","background","bottom","border","color","borderTop","borderBottom","borderStartStartRadius","borderEndStartRadius","borderInlineStart","borderInlineEnd","pointerEvents","borderColor","genPanelStyle","pickerYearMonthCellWidth","pickerControlIconSize","paddingSM","paddingXS","paddingXXS","colorBgContainer","borderRadiusLG","colorTextHeading","colorSplit","pickerControlIconBorderWidth","colorIcon","textHeight","colorIconHover","fontWeightStrong","pickerCellPaddingVertical","colorText","withoutTimeCellHeight","pickerQuarterPanelContentHeight","colorLink","colorLinkActive","colorLinkHover","timeColumnHeight","timeColumnWidth","timeCellHeight","controlItemBgActive","marginXXS","pickerDatePanelPaddingHorizontal","pickerPanelWidth","commonHoverCellFixedDistance","quarterHoverCellFixedDistance","flexDirection","textAlign","outline","direction","width","flex","button","cursor","fontWeight","verticalAlign","marginInlineStart","borderBlockStartWidth","borderBlockEndWidth","borderInlineStartWidth","borderInlineEndWidth","ceil","tableLayout","borderCollapse","th","Object","assign","td","setAlpha","toHexString","boxSizing","opacity","margin","overflowY","listStyle","overflowX","marginInline","paddingBlock","paddingInlineEnd","paddingInlineStart","genPickerStatusStyle","colorError","errorActiveShadow","colorWarning","warningActiveShadow","colorErrorHover","colorWarningHover","backgroundColor","activeBorderColor","activeShadow","genPickerStyle","antCls","controlHeight","paddingInline","colorBorder","colorBgContainerDisabled","colorTextPlaceholder","controlHeightLG","fontSizeLG","paddingInlineSM","marginXS","colorTextDescription","lineWidthBold","zIndexPopup","colorPrimaryBorder","sizePopupArrow","borderRadiusXS","borderRadiusOuter","colorBgElevated","boxShadowSecondary","presetsWidth","presetsMaxWidth","boxShadowPopoverArrow","colorTextQuaternary","alignItems","boxShadow","fontFamily","alignSelf","marginInlineEnd","left","_skip_check_","value","animationName","marginBottom","overflow","justifyContent","flexWrap","maxWidth","ul","li","round","marginTop","borderWidth","initPickerPanelToken","initPanelComponentToken","controlItemBgHover","lighten","pickerToken","focusElCls","zIndexPopupBase"],"sources":["/var/www/gavt/node_modules/antd/es/date-picker/style/index.js"],"sourcesContent":["import { TinyColor } from '@ctrl/tinycolor';\nimport { genActiveStyle, genBasicInputStyle, genHoverStyle, initComponentToken, initInputToken } from '../../input/style';\nimport { resetComponent, roundedArrow, textEllipsis } from '../../style';\nimport { genCompactItemStyle } from '../../style/compact-item';\nimport { initMoveMotion, initSlideMotion, slideDownIn, slideDownOut, slideUpIn, slideUpOut } from '../../style/motion';\nimport { genComponentStyleHook, mergeToken } from '../../theme/internal';\nconst genPikerPadding = (token, inputHeight, fontSize, paddingHorizontal) => {\n  const {\n    lineHeight\n  } = token;\n  const fontHeight = Math.floor(fontSize * lineHeight) + 2;\n  const paddingTop = Math.max((inputHeight - fontHeight) / 2, 0);\n  const paddingBottom = Math.max(inputHeight - fontHeight - paddingTop, 0);\n  return {\n    padding: `${paddingTop}px ${paddingHorizontal}px ${paddingBottom}px`\n  };\n};\nconst genPickerCellInnerStyle = token => {\n  const {\n    componentCls,\n    pickerCellCls,\n    pickerCellInnerCls,\n    cellHeight,\n    motionDurationSlow,\n    borderRadiusSM,\n    motionDurationMid,\n    cellHoverBg,\n    lineWidth,\n    lineType,\n    colorPrimary,\n    cellActiveWithRangeBg,\n    colorTextLightSolid,\n    controlHeightSM,\n    cellRangeBorderColor,\n    pickerCellBorderGap,\n    cellHoverWithRangeBg,\n    cellWidth,\n    colorTextDisabled,\n    cellBgDisabled\n  } = token;\n  return {\n    '&::before': {\n      position: 'absolute',\n      top: '50%',\n      insetInlineStart: 0,\n      insetInlineEnd: 0,\n      zIndex: 1,\n      height: cellHeight,\n      transform: 'translateY(-50%)',\n      transition: `all ${motionDurationSlow}`,\n      content: '\"\"'\n    },\n    // >>> Default\n    [pickerCellInnerCls]: {\n      position: 'relative',\n      zIndex: 2,\n      display: 'inline-block',\n      minWidth: cellHeight,\n      height: cellHeight,\n      lineHeight: `${cellHeight}px`,\n      borderRadius: borderRadiusSM,\n      transition: `background ${motionDurationMid}, border ${motionDurationMid}`\n    },\n    [`&-range-hover-start, &-range-hover-end`]: {\n      [pickerCellInnerCls]: {\n        borderStartEndRadius: 0,\n        borderEndEndRadius: 0\n      }\n    },\n    // >>> Hover\n    [`&:hover:not(${pickerCellCls}-in-view),\n    &:hover:not(${pickerCellCls}-selected):not(${pickerCellCls}-range-start):not(${pickerCellCls}-range-end):not(${pickerCellCls}-range-hover-start):not(${pickerCellCls}-range-hover-end)`]: {\n      [pickerCellInnerCls]: {\n        background: cellHoverBg\n      }\n    },\n    // >>> Today\n    [`&-in-view${pickerCellCls}-today ${pickerCellInnerCls}`]: {\n      '&::before': {\n        position: 'absolute',\n        top: 0,\n        insetInlineEnd: 0,\n        bottom: 0,\n        insetInlineStart: 0,\n        zIndex: 1,\n        border: `${lineWidth}px ${lineType} ${colorPrimary}`,\n        borderRadius: borderRadiusSM,\n        content: '\"\"'\n      }\n    },\n    // >>> In Range\n    [`&-in-view${pickerCellCls}-in-range`]: {\n      position: 'relative',\n      '&::before': {\n        background: cellActiveWithRangeBg\n      }\n    },\n    // >>> Selected\n    [`&-in-view${pickerCellCls}-selected ${pickerCellInnerCls},\n      &-in-view${pickerCellCls}-range-start ${pickerCellInnerCls},\n      &-in-view${pickerCellCls}-range-end ${pickerCellInnerCls}`]: {\n      color: colorTextLightSolid,\n      background: colorPrimary\n    },\n    [`&-in-view${pickerCellCls}-range-start:not(${pickerCellCls}-range-start-single),\n      &-in-view${pickerCellCls}-range-end:not(${pickerCellCls}-range-end-single)`]: {\n      '&::before': {\n        background: cellActiveWithRangeBg\n      }\n    },\n    [`&-in-view${pickerCellCls}-range-start::before`]: {\n      insetInlineStart: '50%'\n    },\n    [`&-in-view${pickerCellCls}-range-end::before`]: {\n      insetInlineEnd: '50%'\n    },\n    // >>> Range Hover\n    [`&-in-view${pickerCellCls}-range-hover-start:not(${pickerCellCls}-in-range):not(${pickerCellCls}-range-start):not(${pickerCellCls}-range-end),\n      &-in-view${pickerCellCls}-range-hover-end:not(${pickerCellCls}-in-range):not(${pickerCellCls}-range-start):not(${pickerCellCls}-range-end),\n      &-in-view${pickerCellCls}-range-hover-start${pickerCellCls}-range-start-single,\n      &-in-view${pickerCellCls}-range-hover-start${pickerCellCls}-range-start${pickerCellCls}-range-end${pickerCellCls}-range-end-near-hover,\n      &-in-view${pickerCellCls}-range-hover-end${pickerCellCls}-range-start${pickerCellCls}-range-end${pickerCellCls}-range-start-near-hover,\n      &-in-view${pickerCellCls}-range-hover-end${pickerCellCls}-range-end-single,\n      &-in-view${pickerCellCls}-range-hover:not(${pickerCellCls}-in-range)`]: {\n      '&::after': {\n        position: 'absolute',\n        top: '50%',\n        zIndex: 0,\n        height: controlHeightSM,\n        borderTop: `${lineWidth}px dashed ${cellRangeBorderColor}`,\n        borderBottom: `${lineWidth}px dashed ${cellRangeBorderColor}`,\n        transform: 'translateY(-50%)',\n        transition: `all ${motionDurationSlow}`,\n        content: '\"\"'\n      }\n    },\n    // Add space for stash\n    [`&-range-hover-start::after,\n      &-range-hover-end::after,\n      &-range-hover::after`]: {\n      insetInlineEnd: 0,\n      insetInlineStart: pickerCellBorderGap\n    },\n    // Hover with in range\n    [`&-in-view${pickerCellCls}-in-range${pickerCellCls}-range-hover::before,\n      &-in-view${pickerCellCls}-in-range${pickerCellCls}-range-hover-start::before,\n      &-in-view${pickerCellCls}-in-range${pickerCellCls}-range-hover-end::before,\n      &-in-view${pickerCellCls}-range-start${pickerCellCls}-range-hover::before,\n      &-in-view${pickerCellCls}-range-end${pickerCellCls}-range-hover::before,\n      &-in-view${pickerCellCls}-range-start:not(${pickerCellCls}-range-start-single)${pickerCellCls}-range-hover-start::before,\n      &-in-view${pickerCellCls}-range-end:not(${pickerCellCls}-range-end-single)${pickerCellCls}-range-hover-end::before,\n      ${componentCls}-panel\n      > :not(${componentCls}-date-panel)\n      &-in-view${pickerCellCls}-in-range${pickerCellCls}-range-hover-start::before,\n      ${componentCls}-panel\n      > :not(${componentCls}-date-panel)\n      &-in-view${pickerCellCls}-in-range${pickerCellCls}-range-hover-end::before`]: {\n      background: cellHoverWithRangeBg\n    },\n    // range start border-radius\n    [`&-in-view${pickerCellCls}-range-start:not(${pickerCellCls}-range-start-single):not(${pickerCellCls}-range-end) ${pickerCellInnerCls}`]: {\n      borderStartStartRadius: borderRadiusSM,\n      borderEndStartRadius: borderRadiusSM,\n      borderStartEndRadius: 0,\n      borderEndEndRadius: 0\n    },\n    // range end border-radius\n    [`&-in-view${pickerCellCls}-range-end:not(${pickerCellCls}-range-end-single):not(${pickerCellCls}-range-start) ${pickerCellInnerCls}`]: {\n      borderStartStartRadius: 0,\n      borderEndStartRadius: 0,\n      borderStartEndRadius: borderRadiusSM,\n      borderEndEndRadius: borderRadiusSM\n    },\n    [`&-range-hover${pickerCellCls}-range-end::after`]: {\n      insetInlineStart: '50%'\n    },\n    // Edge start\n    [`tr > &-in-view${pickerCellCls}-range-hover:first-child::after,\n      tr > &-in-view${pickerCellCls}-range-hover-end:first-child::after,\n      &-in-view${pickerCellCls}-start${pickerCellCls}-range-hover-edge-start${pickerCellCls}-range-hover-edge-start-near-range::after,\n      &-in-view${pickerCellCls}-range-hover-edge-start:not(${pickerCellCls}-range-hover-edge-start-near-range)::after,\n      &-in-view${pickerCellCls}-range-hover-start::after`]: {\n      insetInlineStart: (cellWidth - cellHeight) / 2,\n      borderInlineStart: `${lineWidth}px dashed ${cellRangeBorderColor}`,\n      borderStartStartRadius: borderRadiusSM,\n      borderEndStartRadius: borderRadiusSM\n    },\n    // Edge end\n    [`tr > &-in-view${pickerCellCls}-range-hover:last-child::after,\n      tr > &-in-view${pickerCellCls}-range-hover-start:last-child::after,\n      &-in-view${pickerCellCls}-end${pickerCellCls}-range-hover-edge-end${pickerCellCls}-range-hover-edge-end-near-range::after,\n      &-in-view${pickerCellCls}-range-hover-edge-end:not(${pickerCellCls}-range-hover-edge-end-near-range)::after,\n      &-in-view${pickerCellCls}-range-hover-end::after`]: {\n      insetInlineEnd: (cellWidth - cellHeight) / 2,\n      borderInlineEnd: `${lineWidth}px dashed ${cellRangeBorderColor}`,\n      borderStartEndRadius: borderRadiusSM,\n      borderEndEndRadius: borderRadiusSM\n    },\n    // >>> Disabled\n    '&-disabled': {\n      color: colorTextDisabled,\n      pointerEvents: 'none',\n      [pickerCellInnerCls]: {\n        background: 'transparent'\n      },\n      '&::before': {\n        background: cellBgDisabled\n      }\n    },\n    [`&-disabled${pickerCellCls}-today ${pickerCellInnerCls}::before`]: {\n      borderColor: colorTextDisabled\n    }\n  };\n};\nexport const genPanelStyle = token => {\n  const {\n    componentCls,\n    pickerCellCls,\n    pickerCellInnerCls,\n    pickerYearMonthCellWidth,\n    pickerControlIconSize,\n    cellWidth,\n    paddingSM,\n    paddingXS,\n    paddingXXS,\n    colorBgContainer,\n    lineWidth,\n    lineType,\n    borderRadiusLG,\n    colorPrimary,\n    colorTextHeading,\n    colorSplit,\n    pickerControlIconBorderWidth,\n    colorIcon,\n    textHeight,\n    motionDurationMid,\n    colorIconHover,\n    fontWeightStrong,\n    cellHeight,\n    pickerCellPaddingVertical,\n    colorTextDisabled,\n    colorText,\n    fontSize,\n    cellHoverWithRangeBg,\n    motionDurationSlow,\n    withoutTimeCellHeight,\n    pickerQuarterPanelContentHeight,\n    colorLink,\n    colorLinkActive,\n    colorLinkHover,\n    cellRangeBorderColor,\n    borderRadiusSM,\n    colorTextLightSolid,\n    cellHoverBg,\n    timeColumnHeight,\n    timeColumnWidth,\n    timeCellHeight,\n    controlItemBgActive,\n    marginXXS,\n    pickerDatePanelPaddingHorizontal\n  } = token;\n  const pickerPanelWidth = cellWidth * 7 + pickerDatePanelPaddingHorizontal * 2;\n  const commonHoverCellFixedDistance = (pickerPanelWidth - paddingXS * 2) / 3 - pickerYearMonthCellWidth - paddingSM;\n  const quarterHoverCellFixedDistance = (pickerPanelWidth - paddingXS * 2) / 4 - pickerYearMonthCellWidth;\n  return {\n    [componentCls]: {\n      '&-panel': {\n        display: 'inline-flex',\n        flexDirection: 'column',\n        textAlign: 'center',\n        background: colorBgContainer,\n        border: `${lineWidth}px ${lineType} ${colorSplit}`,\n        borderRadius: borderRadiusLG,\n        outline: 'none',\n        '&-focused': {\n          borderColor: colorPrimary\n        },\n        '&-rtl': {\n          direction: 'rtl',\n          [`${componentCls}-prev-icon,\n              ${componentCls}-super-prev-icon`]: {\n            transform: 'rotate(45deg)'\n          },\n          [`${componentCls}-next-icon,\n              ${componentCls}-super-next-icon`]: {\n            transform: 'rotate(-135deg)'\n          }\n        }\n      },\n      // ========================================================\n      // =                     Shared Panel                     =\n      // ========================================================\n      [`&-decade-panel,\n        &-year-panel,\n        &-quarter-panel,\n        &-month-panel,\n        &-week-panel,\n        &-date-panel,\n        &-time-panel`]: {\n        display: 'flex',\n        flexDirection: 'column',\n        width: pickerPanelWidth\n      },\n      // ======================= Header =======================\n      '&-header': {\n        display: 'flex',\n        padding: `0 ${paddingXS}px`,\n        color: colorTextHeading,\n        borderBottom: `${lineWidth}px ${lineType} ${colorSplit}`,\n        '> *': {\n          flex: 'none'\n        },\n        button: {\n          padding: 0,\n          color: colorIcon,\n          lineHeight: `${textHeight}px`,\n          background: 'transparent',\n          border: 0,\n          cursor: 'pointer',\n          transition: `color ${motionDurationMid}`,\n          fontSize: 'inherit'\n        },\n        '> button': {\n          minWidth: '1.6em',\n          fontSize,\n          '&:hover': {\n            color: colorIconHover\n          }\n        },\n        '&-view': {\n          flex: 'auto',\n          fontWeight: fontWeightStrong,\n          lineHeight: `${textHeight}px`,\n          button: {\n            color: 'inherit',\n            fontWeight: 'inherit',\n            verticalAlign: 'top',\n            '&:not(:first-child)': {\n              marginInlineStart: paddingXS\n            },\n            '&:hover': {\n              color: colorPrimary\n            }\n          }\n        }\n      },\n      // Arrow button\n      [`&-prev-icon,\n        &-next-icon,\n        &-super-prev-icon,\n        &-super-next-icon`]: {\n        position: 'relative',\n        display: 'inline-block',\n        width: pickerControlIconSize,\n        height: pickerControlIconSize,\n        '&::before': {\n          position: 'absolute',\n          top: 0,\n          insetInlineStart: 0,\n          display: 'inline-block',\n          width: pickerControlIconSize,\n          height: pickerControlIconSize,\n          border: `0 solid currentcolor`,\n          borderBlockStartWidth: pickerControlIconBorderWidth,\n          borderBlockEndWidth: 0,\n          borderInlineStartWidth: pickerControlIconBorderWidth,\n          borderInlineEndWidth: 0,\n          content: '\"\"'\n        }\n      },\n      [`&-super-prev-icon,\n        &-super-next-icon`]: {\n        '&::after': {\n          position: 'absolute',\n          top: Math.ceil(pickerControlIconSize / 2),\n          insetInlineStart: Math.ceil(pickerControlIconSize / 2),\n          display: 'inline-block',\n          width: pickerControlIconSize,\n          height: pickerControlIconSize,\n          border: '0 solid currentcolor',\n          borderBlockStartWidth: pickerControlIconBorderWidth,\n          borderBlockEndWidth: 0,\n          borderInlineStartWidth: pickerControlIconBorderWidth,\n          borderInlineEndWidth: 0,\n          content: '\"\"'\n        }\n      },\n      [`&-prev-icon,\n        &-super-prev-icon`]: {\n        transform: 'rotate(-45deg)'\n      },\n      [`&-next-icon,\n        &-super-next-icon`]: {\n        transform: 'rotate(135deg)'\n      },\n      // ======================== Body ========================\n      '&-content': {\n        width: '100%',\n        tableLayout: 'fixed',\n        borderCollapse: 'collapse',\n        'th, td': {\n          position: 'relative',\n          minWidth: cellHeight,\n          fontWeight: 'normal'\n        },\n        th: {\n          height: cellHeight + pickerCellPaddingVertical * 2,\n          color: colorText,\n          verticalAlign: 'middle'\n        }\n      },\n      '&-cell': Object.assign({\n        padding: `${pickerCellPaddingVertical}px 0`,\n        color: colorTextDisabled,\n        cursor: 'pointer',\n        // In view\n        '&-in-view': {\n          color: colorText\n        }\n      }, genPickerCellInnerStyle(token)),\n      // DatePanel only\n      [`&-date-panel ${componentCls}-cell-in-view${componentCls}-cell-in-range${componentCls}-cell-range-hover-start ${pickerCellInnerCls},\n        &-date-panel ${componentCls}-cell-in-view${componentCls}-cell-in-range${componentCls}-cell-range-hover-end ${pickerCellInnerCls}`]: {\n        '&::after': {\n          position: 'absolute',\n          top: 0,\n          bottom: 0,\n          zIndex: -1,\n          background: cellHoverWithRangeBg,\n          transition: `all ${motionDurationSlow}`,\n          content: '\"\"'\n        }\n      },\n      [`&-date-panel\n        ${componentCls}-cell-in-view${componentCls}-cell-in-range${componentCls}-cell-range-hover-start\n        ${pickerCellInnerCls}::after`]: {\n        insetInlineEnd: -(cellWidth - cellHeight) / 2,\n        insetInlineStart: 0\n      },\n      [`&-date-panel ${componentCls}-cell-in-view${componentCls}-cell-in-range${componentCls}-cell-range-hover-end ${pickerCellInnerCls}::after`]: {\n        insetInlineEnd: 0,\n        insetInlineStart: -(cellWidth - cellHeight) / 2\n      },\n      // Hover with range start & end\n      [`&-range-hover${componentCls}-range-start::after`]: {\n        insetInlineEnd: '50%'\n      },\n      [`&-decade-panel,\n        &-year-panel,\n        &-quarter-panel,\n        &-month-panel`]: {\n        [`${componentCls}-content`]: {\n          height: withoutTimeCellHeight * 4\n        },\n        [pickerCellInnerCls]: {\n          padding: `0 ${paddingXS}px`\n        }\n      },\n      '&-quarter-panel': {\n        [`${componentCls}-content`]: {\n          height: pickerQuarterPanelContentHeight\n        },\n        // Quarter Panel Special Style\n        [`${componentCls}-cell-range-hover-start::after`]: {\n          insetInlineStart: quarterHoverCellFixedDistance,\n          borderInlineStart: `${lineWidth}px dashed ${cellRangeBorderColor}`,\n          [`${componentCls}-panel-rtl &`]: {\n            insetInlineEnd: quarterHoverCellFixedDistance,\n            borderInlineEnd: `${lineWidth}px dashed ${cellRangeBorderColor}`\n          }\n        },\n        [`${componentCls}-cell-range-hover-end::after`]: {\n          insetInlineEnd: quarterHoverCellFixedDistance,\n          borderInlineEnd: `${lineWidth}px dashed ${cellRangeBorderColor}`,\n          [`${componentCls}-panel-rtl &`]: {\n            insetInlineStart: quarterHoverCellFixedDistance,\n            borderInlineStart: `${lineWidth}px dashed ${cellRangeBorderColor}`\n          }\n        }\n      },\n      // ======================== Footer ========================\n      [`&-panel ${componentCls}-footer`]: {\n        borderTop: `${lineWidth}px ${lineType} ${colorSplit}`\n      },\n      '&-footer': {\n        width: 'min-content',\n        minWidth: '100%',\n        lineHeight: `${textHeight - 2 * lineWidth}px`,\n        textAlign: 'center',\n        '&-extra': {\n          padding: `0 ${paddingSM}px`,\n          lineHeight: `${textHeight - 2 * lineWidth}px`,\n          textAlign: 'start',\n          '&:not(:last-child)': {\n            borderBottom: `${lineWidth}px ${lineType} ${colorSplit}`\n          }\n        }\n      },\n      '&-now': {\n        textAlign: 'start'\n      },\n      '&-today-btn': {\n        color: colorLink,\n        '&:hover': {\n          color: colorLinkHover\n        },\n        '&:active': {\n          color: colorLinkActive\n        },\n        [`&${componentCls}-today-btn-disabled`]: {\n          color: colorTextDisabled,\n          cursor: 'not-allowed'\n        }\n      },\n      // ========================================================\n      // =                       Special                        =\n      // ========================================================\n      // ===================== Decade Panel =====================\n      '&-decade-panel': {\n        [pickerCellInnerCls]: {\n          padding: `0 ${paddingXS / 2}px`\n        },\n        [`${componentCls}-cell::before`]: {\n          display: 'none'\n        }\n      },\n      // ============= Year & Quarter & Month Panel =============\n      [`&-year-panel,\n        &-quarter-panel,\n        &-month-panel`]: {\n        [`${componentCls}-body`]: {\n          padding: `0 ${paddingXS}px`\n        },\n        [pickerCellInnerCls]: {\n          width: pickerYearMonthCellWidth\n        },\n        [`${componentCls}-cell-range-hover-start::after`]: {\n          borderStartStartRadius: borderRadiusSM,\n          borderEndStartRadius: borderRadiusSM,\n          borderStartEndRadius: 0,\n          borderEndEndRadius: 0,\n          [`${componentCls}-panel-rtl &`]: {\n            borderStartStartRadius: 0,\n            borderEndStartRadius: 0,\n            borderStartEndRadius: borderRadiusSM,\n            borderEndEndRadius: borderRadiusSM\n          }\n        },\n        [`${componentCls}-cell-range-hover-end::after`]: {\n          borderStartStartRadius: 0,\n          borderEndStartRadius: 0,\n          borderStartEndRadius: borderRadiusSM,\n          borderEndEndRadius: borderRadiusSM,\n          [`${componentCls}-panel-rtl &`]: {\n            borderStartStartRadius: borderRadiusSM,\n            borderEndStartRadius: borderRadiusSM,\n            borderStartEndRadius: 0,\n            borderEndEndRadius: 0\n          }\n        }\n      },\n      [`&-year-panel,\n        &-month-panel`]: {\n        [`${componentCls}-cell-range-hover-start::after`]: {\n          insetInlineStart: commonHoverCellFixedDistance,\n          borderInlineStart: `${lineWidth}px dashed ${cellRangeBorderColor}`,\n          [`${componentCls}-panel-rtl &`]: {\n            insetInlineEnd: commonHoverCellFixedDistance,\n            borderInlineEnd: `${lineWidth}px dashed ${cellRangeBorderColor}`\n          }\n        },\n        [`${componentCls}-cell-range-hover-end::after`]: {\n          insetInlineEnd: commonHoverCellFixedDistance,\n          borderInlineEnd: `${lineWidth}px dashed ${cellRangeBorderColor}`,\n          [`${componentCls}-panel-rtl &`]: {\n            insetInlineStart: commonHoverCellFixedDistance,\n            borderInlineStart: `${lineWidth}px dashed ${cellRangeBorderColor}`\n          }\n        }\n      },\n      // ====================== Week Panel ======================\n      '&-week-panel': {\n        [`${componentCls}-body`]: {\n          padding: `${paddingXS}px ${paddingSM}px`\n        },\n        // Clear cell style\n        [`${componentCls}-cell`]: {\n          [`&:hover ${pickerCellInnerCls},\n            &-selected ${pickerCellInnerCls},\n            ${pickerCellInnerCls}`]: {\n            background: 'transparent !important'\n          }\n        },\n        '&-row': {\n          td: {\n            '&:before': {\n              transition: `background ${motionDurationMid}`\n            },\n            '&:first-child:before': {\n              borderStartStartRadius: borderRadiusSM,\n              borderEndStartRadius: borderRadiusSM\n            },\n            '&:last-child:before': {\n              borderStartEndRadius: borderRadiusSM,\n              borderEndEndRadius: borderRadiusSM\n            }\n          },\n          [`&:hover td`]: {\n            '&:before': {\n              background: cellHoverBg\n            }\n          },\n          [`&-range-start td,\n            &-range-end td,\n            &-selected td`]: {\n            // Rise priority to override hover style\n            [`&${pickerCellCls}`]: {\n              '&:before': {\n                background: colorPrimary\n              },\n              [`&${componentCls}-cell-week`]: {\n                color: new TinyColor(colorTextLightSolid).setAlpha(0.5).toHexString()\n              },\n              [pickerCellInnerCls]: {\n                color: colorTextLightSolid\n              }\n            }\n          },\n          [`&-range-hover td:before`]: {\n            background: controlItemBgActive\n          }\n        }\n      },\n      // ====================== Date Panel ======================\n      '&-date-panel': {\n        [`${componentCls}-body`]: {\n          padding: `${paddingXS}px ${pickerDatePanelPaddingHorizontal}px`\n        },\n        [`${componentCls}-content`]: {\n          width: cellWidth * 7,\n          th: {\n            width: cellWidth,\n            boxSizing: 'border-box',\n            padding: 0\n          }\n        }\n      },\n      // ==================== Datetime Panel ====================\n      '&-datetime-panel': {\n        display: 'flex',\n        [`${componentCls}-time-panel`]: {\n          borderInlineStart: `${lineWidth}px ${lineType} ${colorSplit}`\n        },\n        [`${componentCls}-date-panel,\n          ${componentCls}-time-panel`]: {\n          transition: `opacity ${motionDurationSlow}`\n        },\n        // Keyboard\n        '&-active': {\n          [`${componentCls}-date-panel,\n            ${componentCls}-time-panel`]: {\n            opacity: 0.3,\n            '&-active': {\n              opacity: 1\n            }\n          }\n        }\n      },\n      // ====================== Time Panel ======================\n      '&-time-panel': {\n        width: 'auto',\n        minWidth: 'auto',\n        direction: 'ltr',\n        [`${componentCls}-content`]: {\n          display: 'flex',\n          flex: 'auto',\n          height: timeColumnHeight\n        },\n        '&-column': {\n          flex: '1 0 auto',\n          width: timeColumnWidth,\n          margin: `${paddingXXS}px 0`,\n          padding: 0,\n          overflowY: 'hidden',\n          textAlign: 'start',\n          listStyle: 'none',\n          transition: `background ${motionDurationMid}`,\n          overflowX: 'hidden',\n          '&::after': {\n            display: 'block',\n            height: timeColumnHeight - timeCellHeight,\n            content: '\"\"'\n          },\n          '&:not(:first-child)': {\n            borderInlineStart: `${lineWidth}px ${lineType} ${colorSplit}`\n          },\n          '&-active': {\n            background: new TinyColor(controlItemBgActive).setAlpha(0.2).toHexString()\n          },\n          '&:hover': {\n            overflowY: 'auto'\n          },\n          '> li': {\n            margin: 0,\n            padding: 0,\n            [`&${componentCls}-time-panel-cell`]: {\n              marginInline: marginXXS,\n              [`${componentCls}-time-panel-cell-inner`]: {\n                display: 'block',\n                width: timeColumnWidth - 2 * marginXXS,\n                height: timeCellHeight,\n                margin: 0,\n                paddingBlock: 0,\n                paddingInlineEnd: 0,\n                paddingInlineStart: (timeColumnWidth - timeCellHeight) / 2,\n                color: colorText,\n                lineHeight: `${timeCellHeight}px`,\n                borderRadius: borderRadiusSM,\n                cursor: 'pointer',\n                transition: `background ${motionDurationMid}`,\n                '&:hover': {\n                  background: cellHoverBg\n                }\n              },\n              '&-selected': {\n                [`${componentCls}-time-panel-cell-inner`]: {\n                  background: controlItemBgActive\n                }\n              },\n              '&-disabled': {\n                [`${componentCls}-time-panel-cell-inner`]: {\n                  color: colorTextDisabled,\n                  background: 'transparent',\n                  cursor: 'not-allowed'\n                }\n              }\n            }\n          }\n        }\n      },\n      // https://github.com/ant-design/ant-design/issues/39227\n      [`&-datetime-panel ${componentCls}-time-panel-column:after`]: {\n        height: timeColumnHeight - timeCellHeight + paddingXXS * 2\n      }\n    }\n  };\n};\nconst genPickerStatusStyle = token => {\n  const {\n    componentCls,\n    colorBgContainer,\n    colorError,\n    errorActiveShadow,\n    colorWarning,\n    warningActiveShadow,\n    colorErrorHover,\n    colorWarningHover\n  } = token;\n  return {\n    [`${componentCls}:not(${componentCls}-disabled):not([disabled])`]: {\n      [`&${componentCls}-status-error`]: {\n        backgroundColor: colorBgContainer,\n        borderColor: colorError,\n        '&:hover': {\n          borderColor: colorErrorHover\n        },\n        [`&${componentCls}-focused, &:focus`]: Object.assign({}, genActiveStyle(mergeToken(token, {\n          activeBorderColor: colorError,\n          activeShadow: errorActiveShadow\n        }))),\n        [`${componentCls}-active-bar`]: {\n          background: colorError\n        }\n      },\n      [`&${componentCls}-status-warning`]: {\n        backgroundColor: colorBgContainer,\n        borderColor: colorWarning,\n        '&:hover': {\n          borderColor: colorWarningHover\n        },\n        [`&${componentCls}-focused, &:focus`]: Object.assign({}, genActiveStyle(mergeToken(token, {\n          activeBorderColor: colorWarning,\n          activeShadow: warningActiveShadow\n        }))),\n        [`${componentCls}-active-bar`]: {\n          background: colorWarning\n        }\n      }\n    }\n  };\n};\nconst genPickerStyle = token => {\n  const {\n    componentCls,\n    antCls,\n    controlHeight,\n    fontSize,\n    paddingInline,\n    colorBgContainer,\n    lineWidth,\n    lineType,\n    colorBorder,\n    borderRadius,\n    motionDurationMid,\n    colorBgContainerDisabled,\n    colorTextDisabled,\n    colorTextPlaceholder,\n    controlHeightLG,\n    fontSizeLG,\n    controlHeightSM,\n    paddingInlineSM,\n    paddingXS,\n    marginXS,\n    colorTextDescription,\n    lineWidthBold,\n    lineHeight,\n    colorPrimary,\n    motionDurationSlow,\n    zIndexPopup,\n    paddingXXS,\n    paddingSM,\n    textHeight,\n    cellActiveWithRangeBg,\n    colorPrimaryBorder,\n    sizePopupArrow,\n    borderRadiusXS,\n    borderRadiusOuter,\n    colorBgElevated,\n    borderRadiusLG,\n    boxShadowSecondary,\n    borderRadiusSM,\n    colorSplit,\n    cellHoverBg,\n    presetsWidth,\n    presetsMaxWidth,\n    boxShadowPopoverArrow,\n    colorTextQuaternary\n  } = token;\n  return [{\n    [componentCls]: Object.assign(Object.assign(Object.assign({}, resetComponent(token)), genPikerPadding(token, controlHeight, fontSize, paddingInline)), {\n      position: 'relative',\n      display: 'inline-flex',\n      alignItems: 'center',\n      background: colorBgContainer,\n      lineHeight: 1,\n      border: `${lineWidth}px ${lineType} ${colorBorder}`,\n      borderRadius,\n      transition: `border ${motionDurationMid}, box-shadow ${motionDurationMid}`,\n      '&:hover': Object.assign({}, genHoverStyle(token)),\n      [`&-focused${componentCls}`]: Object.assign({}, genActiveStyle(token)),\n      [`&${componentCls}-disabled`]: {\n        background: colorBgContainerDisabled,\n        borderColor: colorBorder,\n        cursor: 'not-allowed',\n        [`${componentCls}-suffix`]: {\n          color: colorTextQuaternary\n        }\n      },\n      [`&${componentCls}-borderless`]: {\n        backgroundColor: 'transparent !important',\n        borderColor: 'transparent !important',\n        boxShadow: 'none !important'\n      },\n      // ======================== Input =========================\n      [`${componentCls}-input`]: {\n        position: 'relative',\n        display: 'inline-flex',\n        alignItems: 'center',\n        width: '100%',\n        '> input': Object.assign(Object.assign({}, genBasicInputStyle(token)), {\n          flex: 'auto',\n          // Fix Firefox flex not correct:\n          // https://github.com/ant-design/ant-design/pull/20023#issuecomment-564389553\n          minWidth: 1,\n          height: 'auto',\n          padding: 0,\n          background: 'transparent',\n          border: 0,\n          borderRadius: 0,\n          fontFamily: 'inherit',\n          '&:focus': {\n            boxShadow: 'none'\n          },\n          '&[disabled]': {\n            background: 'transparent'\n          }\n        }),\n        '&:hover': {\n          [`${componentCls}-clear`]: {\n            opacity: 1\n          }\n        },\n        '&-placeholder': {\n          '> input': {\n            color: colorTextPlaceholder\n          }\n        }\n      },\n      // Size\n      '&-large': Object.assign(Object.assign({}, genPikerPadding(token, controlHeightLG, fontSizeLG, paddingInline)), {\n        [`${componentCls}-input > input`]: {\n          fontSize: fontSizeLG\n        }\n      }),\n      '&-small': Object.assign({}, genPikerPadding(token, controlHeightSM, fontSize, paddingInlineSM)),\n      [`${componentCls}-suffix`]: {\n        display: 'flex',\n        flex: 'none',\n        alignSelf: 'center',\n        marginInlineStart: paddingXS / 2,\n        color: colorTextDisabled,\n        lineHeight: 1,\n        pointerEvents: 'none',\n        '> *': {\n          verticalAlign: 'top',\n          '&:not(:last-child)': {\n            marginInlineEnd: marginXS\n          }\n        }\n      },\n      [`${componentCls}-clear`]: {\n        position: 'absolute',\n        top: '50%',\n        insetInlineEnd: 0,\n        color: colorTextDisabled,\n        lineHeight: 1,\n        background: colorBgContainer,\n        transform: 'translateY(-50%)',\n        cursor: 'pointer',\n        opacity: 0,\n        transition: `opacity ${motionDurationMid}, color ${motionDurationMid}`,\n        '> *': {\n          verticalAlign: 'top'\n        },\n        '&:hover': {\n          color: colorTextDescription\n        }\n      },\n      [`${componentCls}-separator`]: {\n        position: 'relative',\n        display: 'inline-block',\n        width: '1em',\n        height: fontSizeLG,\n        color: colorTextDisabled,\n        fontSize: fontSizeLG,\n        verticalAlign: 'top',\n        cursor: 'default',\n        [`${componentCls}-focused &`]: {\n          color: colorTextDescription\n        },\n        [`${componentCls}-range-separator &`]: {\n          [`${componentCls}-disabled &`]: {\n            cursor: 'not-allowed'\n          }\n        }\n      },\n      // ======================== Range =========================\n      '&-range': {\n        position: 'relative',\n        display: 'inline-flex',\n        // Clear\n        [`${componentCls}-clear`]: {\n          insetInlineEnd: paddingInline\n        },\n        '&:hover': {\n          [`${componentCls}-clear`]: {\n            opacity: 1\n          }\n        },\n        // Active bar\n        [`${componentCls}-active-bar`]: {\n          bottom: -lineWidth,\n          height: lineWidthBold,\n          marginInlineStart: paddingInline,\n          background: colorPrimary,\n          opacity: 0,\n          transition: `all ${motionDurationSlow} ease-out`,\n          pointerEvents: 'none'\n        },\n        [`&${componentCls}-focused`]: {\n          [`${componentCls}-active-bar`]: {\n            opacity: 1\n          }\n        },\n        [`${componentCls}-range-separator`]: {\n          alignItems: 'center',\n          padding: `0 ${paddingXS}px`,\n          lineHeight: 1\n        },\n        [`&${componentCls}-small`]: {\n          [`${componentCls}-clear`]: {\n            insetInlineEnd: paddingInlineSM\n          },\n          [`${componentCls}-active-bar`]: {\n            marginInlineStart: paddingInlineSM\n          }\n        }\n      },\n      // ======================= Dropdown =======================\n      '&-dropdown': Object.assign(Object.assign(Object.assign({}, resetComponent(token)), genPanelStyle(token)), {\n        position: 'absolute',\n        // Fix incorrect position of picker popup\n        // https://github.com/ant-design/ant-design/issues/35590\n        top: -9999,\n        left: {\n          _skip_check_: true,\n          value: -9999\n        },\n        zIndex: zIndexPopup,\n        [`&${componentCls}-dropdown-hidden`]: {\n          display: 'none'\n        },\n        [`&${componentCls}-dropdown-placement-bottomLeft`]: {\n          [`${componentCls}-range-arrow`]: {\n            top: 0,\n            display: 'block',\n            transform: 'translateY(-100%)'\n          }\n        },\n        [`&${componentCls}-dropdown-placement-topLeft`]: {\n          [`${componentCls}-range-arrow`]: {\n            bottom: 0,\n            display: 'block',\n            transform: 'translateY(100%) rotate(180deg)'\n          }\n        },\n        [`&${antCls}-slide-up-enter${antCls}-slide-up-enter-active${componentCls}-dropdown-placement-topLeft,\n          &${antCls}-slide-up-enter${antCls}-slide-up-enter-active${componentCls}-dropdown-placement-topRight,\n          &${antCls}-slide-up-appear${antCls}-slide-up-appear-active${componentCls}-dropdown-placement-topLeft,\n          &${antCls}-slide-up-appear${antCls}-slide-up-appear-active${componentCls}-dropdown-placement-topRight`]: {\n          animationName: slideDownIn\n        },\n        [`&${antCls}-slide-up-enter${antCls}-slide-up-enter-active${componentCls}-dropdown-placement-bottomLeft,\n          &${antCls}-slide-up-enter${antCls}-slide-up-enter-active${componentCls}-dropdown-placement-bottomRight,\n          &${antCls}-slide-up-appear${antCls}-slide-up-appear-active${componentCls}-dropdown-placement-bottomLeft,\n          &${antCls}-slide-up-appear${antCls}-slide-up-appear-active${componentCls}-dropdown-placement-bottomRight`]: {\n          animationName: slideUpIn\n        },\n        [`&${antCls}-slide-up-leave${antCls}-slide-up-leave-active${componentCls}-dropdown-placement-topLeft,\n          &${antCls}-slide-up-leave${antCls}-slide-up-leave-active${componentCls}-dropdown-placement-topRight`]: {\n          animationName: slideDownOut\n        },\n        [`&${antCls}-slide-up-leave${antCls}-slide-up-leave-active${componentCls}-dropdown-placement-bottomLeft,\n          &${antCls}-slide-up-leave${antCls}-slide-up-leave-active${componentCls}-dropdown-placement-bottomRight`]: {\n          animationName: slideUpOut\n        },\n        // Time picker with additional style\n        [`${componentCls}-panel > ${componentCls}-time-panel`]: {\n          paddingTop: paddingXXS\n        },\n        // ======================== Ranges ========================\n        [`${componentCls}-ranges`]: {\n          marginBottom: 0,\n          padding: `${paddingXXS}px ${paddingSM}px`,\n          overflow: 'hidden',\n          lineHeight: `${textHeight - 2 * lineWidth - paddingXS / 2}px`,\n          textAlign: 'start',\n          listStyle: 'none',\n          display: 'flex',\n          justifyContent: 'space-between',\n          '> li': {\n            display: 'inline-block'\n          },\n          // https://github.com/ant-design/ant-design/issues/23687\n          [`${componentCls}-preset > ${antCls}-tag-blue`]: {\n            color: colorPrimary,\n            background: cellActiveWithRangeBg,\n            borderColor: colorPrimaryBorder,\n            cursor: 'pointer'\n          },\n          [`${componentCls}-ok`]: {\n            marginInlineStart: 'auto'\n          }\n        },\n        [`${componentCls}-range-wrapper`]: {\n          display: 'flex',\n          position: 'relative'\n        },\n        [`${componentCls}-range-arrow`]: Object.assign({\n          position: 'absolute',\n          zIndex: 1,\n          display: 'none',\n          marginInlineStart: paddingInline * 1.5,\n          transition: `left ${motionDurationSlow} ease-out`\n        }, roundedArrow(sizePopupArrow, borderRadiusXS, borderRadiusOuter, colorBgElevated, boxShadowPopoverArrow)),\n        [`${componentCls}-panel-container`]: {\n          overflow: 'hidden',\n          verticalAlign: 'top',\n          background: colorBgElevated,\n          borderRadius: borderRadiusLG,\n          boxShadow: boxShadowSecondary,\n          transition: `margin ${motionDurationSlow}`,\n          // ======================== Layout ========================\n          [`${componentCls}-panel-layout`]: {\n            display: 'flex',\n            flexWrap: 'nowrap',\n            alignItems: 'stretch'\n          },\n          // ======================== Preset ========================\n          [`${componentCls}-presets`]: {\n            display: 'flex',\n            flexDirection: 'column',\n            minWidth: presetsWidth,\n            maxWidth: presetsMaxWidth,\n            ul: {\n              height: 0,\n              flex: 'auto',\n              listStyle: 'none',\n              overflow: 'auto',\n              margin: 0,\n              padding: paddingXS,\n              borderInlineEnd: `${lineWidth}px ${lineType} ${colorSplit}`,\n              li: Object.assign(Object.assign({}, textEllipsis), {\n                borderRadius: borderRadiusSM,\n                paddingInline: paddingXS,\n                paddingBlock: (controlHeightSM - Math.round(fontSize * lineHeight)) / 2,\n                cursor: 'pointer',\n                transition: `all ${motionDurationSlow}`,\n                '+ li': {\n                  marginTop: marginXS\n                },\n                '&:hover': {\n                  background: cellHoverBg\n                }\n              })\n            }\n          },\n          // ======================== Panels ========================\n          [`${componentCls}-panels`]: {\n            display: 'inline-flex',\n            flexWrap: 'nowrap',\n            direction: 'ltr',\n            [`${componentCls}-panel`]: {\n              borderWidth: `0 0 ${lineWidth}px`\n            },\n            '&:last-child': {\n              [`${componentCls}-panel`]: {\n                borderWidth: 0\n              }\n            }\n          },\n          [`${componentCls}-panel`]: {\n            verticalAlign: 'top',\n            background: 'transparent',\n            borderRadius: 0,\n            borderWidth: 0,\n            [`${componentCls}-content,\n            table`]: {\n              textAlign: 'center'\n            },\n            '&-focused': {\n              borderColor: colorBorder\n            }\n          }\n        }\n      }),\n      '&-dropdown-range': {\n        padding: `${sizePopupArrow * 2 / 3}px 0`,\n        '&-hidden': {\n          display: 'none'\n        }\n      },\n      '&-rtl': {\n        direction: 'rtl',\n        [`${componentCls}-separator`]: {\n          transform: 'rotate(180deg)'\n        },\n        [`${componentCls}-footer`]: {\n          '&-extra': {\n            direction: 'rtl'\n          }\n        }\n      }\n    })\n  },\n  // Follow code may reuse in other components\n  initSlideMotion(token, 'slide-up'), initSlideMotion(token, 'slide-down'), initMoveMotion(token, 'move-up'), initMoveMotion(token, 'move-down')];\n};\nexport const initPickerPanelToken = token => {\n  const {\n    componentCls,\n    controlHeightLG,\n    paddingXXS,\n    padding\n  } = token;\n  return {\n    pickerCellCls: `${componentCls}-cell`,\n    pickerCellInnerCls: `${componentCls}-cell-inner`,\n    pickerYearMonthCellWidth: controlHeightLG * 1.5,\n    pickerQuarterPanelContentHeight: controlHeightLG * 1.4,\n    pickerCellPaddingVertical: paddingXXS + paddingXXS / 2,\n    pickerCellBorderGap: 2,\n    pickerControlIconSize: 7,\n    pickerControlIconBorderWidth: 1.5,\n    pickerDatePanelPaddingHorizontal: padding + paddingXXS / 2 // 18 in normal\n  };\n};\n\nexport const initPanelComponentToken = token => ({\n  cellHoverBg: token.controlItemBgHover,\n  cellActiveWithRangeBg: token.controlItemBgActive,\n  cellHoverWithRangeBg: new TinyColor(token.colorPrimary).lighten(35).toHexString(),\n  cellRangeBorderColor: new TinyColor(token.colorPrimary).lighten(20).toHexString(),\n  cellBgDisabled: token.colorBgContainerDisabled,\n  timeColumnWidth: token.controlHeightLG * 1.4,\n  timeColumnHeight: 28 * 8,\n  timeCellHeight: 28,\n  cellWidth: token.controlHeightSM * 1.5,\n  cellHeight: token.controlHeightSM,\n  textHeight: token.controlHeightLG,\n  withoutTimeCellHeight: token.controlHeightLG * 1.65\n});\n// ============================== Export ==============================\nexport default genComponentStyleHook('DatePicker', token => {\n  const pickerToken = mergeToken(initInputToken(token), initPickerPanelToken(token));\n  return [genPickerStyle(pickerToken), genPickerStatusStyle(pickerToken),\n  // =====================================================\n  // ==             Space Compact                       ==\n  // =====================================================\n  genCompactItemStyle(token, {\n    focusElCls: `${token.componentCls}-focused`\n  })];\n}, token => Object.assign(Object.assign(Object.assign({}, initComponentToken(token)), initPanelComponentToken(token)), {\n  presetsWidth: 120,\n  presetsMaxWidth: 200,\n  zIndexPopup: token.zIndexPopupBase + 50\n}));"],"mappings":"AAAA,SAASA,SAAS,QAAQ,iBAAiB;AAC3C,SAASC,cAAc,EAAEC,kBAAkB,EAAEC,aAAa,EAAEC,kBAAkB,EAAEC,cAAc,QAAQ,mBAAmB;AACzH,SAASC,cAAc,EAAEC,YAAY,EAAEC,YAAY,QAAQ,aAAa;AACxE,SAASC,mBAAmB,QAAQ,0BAA0B;AAC9D,SAASC,cAAc,EAAEC,eAAe,EAAEC,WAAW,EAAEC,YAAY,EAAEC,SAAS,EAAEC,UAAU,QAAQ,oBAAoB;AACtH,SAASC,qBAAqB,EAAEC,UAAU,QAAQ,sBAAsB;AACxE,MAAMC,eAAe,GAAGA,CAACC,KAAK,EAAEC,WAAW,EAAEC,QAAQ,EAAEC,iBAAiB,KAAK;EAC3E,MAAM;IACJC;EACF,CAAC,GAAGJ,KAAK;EACT,MAAMK,UAAU,GAAGC,IAAI,CAACC,KAAK,CAACL,QAAQ,GAAGE,UAAU,CAAC,GAAG,CAAC;EACxD,MAAMI,UAAU,GAAGF,IAAI,CAACG,GAAG,CAAC,CAACR,WAAW,GAAGI,UAAU,IAAI,CAAC,EAAE,CAAC,CAAC;EAC9D,MAAMK,aAAa,GAAGJ,IAAI,CAACG,GAAG,CAACR,WAAW,GAAGI,UAAU,GAAGG,UAAU,EAAE,CAAC,CAAC;EACxE,OAAO;IACLG,OAAO,EAAG,GAAEH,UAAW,MAAKL,iBAAkB,MAAKO,aAAc;EACnE,CAAC;AACH,CAAC;AACD,MAAME,uBAAuB,GAAGZ,KAAK,IAAI;EACvC,MAAM;IACJa,YAAY;IACZC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