import styled, { css } from "styled-components";
import { component, mergeConfig } from "../../../engines";
import { rangeConfig, rangeTokens } from "../../Range";
import { classes, tokens } from "../DatePicker.tokens";
const mergedRangeConfig = mergeConfig(rangeConfig);
const Range = component(mergedRangeConfig);
// NOTE: переопределение токенов Range
export const StyledRange = styled(Range).withConfig({
    displayName: "RangeDate.styles__StyledRange",
    componentId: "sc-4350efd1-0"
})([
    ``,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`,
    `:var(`,
    `);`
], rangeTokens.background, tokens.background, rangeTokens.backgroundError, tokens.backgroundError, rangeTokens.backgroundSuccess, tokens.backgroundSuccess, rangeTokens.backgroundEdited, tokens.backgroundEdited, rangeTokens.readOnlyOpacity, tokens.rangeReadOnlyOpacity, rangeTokens.borderColor, tokens.borderColor, rangeTokens.borderColorError, tokens.borderColorError, rangeTokens.borderColorSuccess, tokens.borderColorSuccess, rangeTokens.borderColorEdited, tokens.borderColorEdited, rangeTokens.borderColorReadOnly, tokens.borderColorReadOnly, rangeTokens.borderWidth, tokens.textFieldBorderWidth, rangeTokens.clearDividerColor, tokens.clearDividerColor, rangeTokens.dividerColor, tokens.dividerColor, rangeTokens.labelColor, tokens.labelColor, rangeTokens.labelColorReadOnly, tokens.labelColorReadOnly, rangeTokens.leftHelperColor, tokens.leftHelperColor, rangeTokens.leftHelperColorSuccess, tokens.leftHelperColorSuccess, rangeTokens.leftHelperColorError, tokens.leftHelperColorError, rangeTokens.leftHelperColorEdited, tokens.leftHelperColorEdited, rangeTokens.textFieldColor, tokens.textFieldColor, rangeTokens.textFieldColorSuccess, tokens.textFieldColorSuccess, rangeTokens.textFieldColorError, tokens.textFieldColorError, rangeTokens.textFieldColorEdited, tokens.textFieldColorEdited, rangeTokens.textFieldPlaceholderColor, tokens.textFieldPlaceholderColor, rangeTokens.textFieldPlaceholderColorFocus, tokens.textFieldPlaceholderColorFocus, rangeTokens.textFieldClearPlaceholderColorFocus, tokens.textFieldClearPlaceholderColorFocus, rangeTokens.textFieldCaretColor, tokens.textFieldCaretColor, rangeTokens.textFieldBackgroundColorFocus, tokens.textFieldBackgroundColorFocus, rangeTokens.textFieldBackgroundErrorColor, tokens.textFieldBackgroundErrorColor, rangeTokens.textFieldBackgroundErrorColorFocus, tokens.textFieldBackgroundErrorColorFocus, rangeTokens.textFieldBackgroundSuccessColor, tokens.textFieldBackgroundSuccessColor, rangeTokens.textFieldBackgroundSuccessColorFocus, tokens.textFieldBackgroundSuccessColorFocus, rangeTokens.textFieldBackgroundEditedColor, tokens.textFieldBackgroundEditedColor, rangeTokens.textFieldBackgroundEditedColorFocus, tokens.textFieldBackgroundEditedColorFocus, rangeTokens.textFieldBorderWidth, tokens.textFieldBorderWidth, rangeTokens.textFieldBorderColorFocus, tokens.textFieldBorderColorFocus, rangeTokens.textFieldBorderColorError, tokens.textFieldBorderColorError, rangeTokens.textFieldBorderColorErrorFocus, tokens.textFieldBorderColorErrorFocus, rangeTokens.textFieldBorderColorSuccess, tokens.textFieldBorderColorSuccess, rangeTokens.textFieldBorderColorSuccessFocus, tokens.textFieldBorderColorSuccessFocus, rangeTokens.textFieldBorderColorEdited, tokens.textFieldBorderColorEdited, rangeTokens.textFieldBorderColorEditedFocus, tokens.textFieldBorderColorEditedFocus, rangeTokens.textFieldTextBeforeColor, tokens.textFieldTextBeforeColor, rangeTokens.textFieldTextAfterColor, tokens.textFieldTextAfterColor, rangeTokens.focusColor, tokens.focusColor, rangeTokens.borderRadius, tokens.borderRadius, rangeTokens.dividerPadding, tokens.dividerPadding, rangeTokens.dividerFontFamily, tokens.dividerFontFamily, rangeTokens.dividerFontStyle, tokens.dividerFontStyle, rangeTokens.dividerFontSize, tokens.dividerFontSize, rangeTokens.dividerFontWeight, tokens.dividerFontWeight, rangeTokens.dividerLetterSpacing, tokens.dividerLetterSpacing, rangeTokens.dividerLineHeight, tokens.dividerLineHeight, rangeTokens.leftContentMargin, tokens.leftContentMargin, rangeTokens.rightContentMargin, tokens.rightContentMargin, rangeTokens.contentSlotColor, tokens.contentSlotColor, rangeTokens.contentSlotColorHover, tokens.contentSlotColorHover, rangeTokens.contentSlotColorActive, tokens.contentSlotColorActive, rangeTokens.contentSlotColorSuccess, tokens.contentSlotColorSuccess, rangeTokens.contentSlotColorSuccessHover, tokens.contentSlotColorSuccessHover, rangeTokens.contentSlotColorSuccessActive, tokens.contentSlotColorSuccessActive, rangeTokens.contentSlotColorError, tokens.contentSlotColorError, rangeTokens.contentSlotColorErrorHover, tokens.contentSlotColorErrorHover, rangeTokens.contentSlotColorErrorActive, tokens.contentSlotColorErrorActive, rangeTokens.contentSlotRightColor, tokens.contentSlotRightColor, rangeTokens.contentSlotRightColorHover, tokens.contentSlotRightColorHover, rangeTokens.contentSlotRightColorActive, tokens.contentSlotRightColorActive, rangeTokens.embedIconButtonHeight, tokens.embedIconButtonHeight, rangeTokens.embedIconButtonWidth, tokens.embedIconButtonWidth, rangeTokens.embedIconButtonPadding, tokens.embedIconButtonPadding, rangeTokens.embedIconButtonRadius, tokens.embedIconButtonRadius, rangeTokens.embedIconButtonFocusColor, tokens.embedIconButtonFocusColor, rangeTokens.textFieldContentSlotColor, tokens.textFieldContentSlotColor, rangeTokens.textFieldContentSlotColorHover, tokens.textFieldContentSlotColorHover, rangeTokens.textFieldContentSlotColorActive, tokens.textFieldContentSlotColorActive, rangeTokens.textFieldContentSlotColorSuccess, tokens.textFieldContentSlotColorSuccess, rangeTokens.textFieldContentSlotColorSuccessHover, tokens.textFieldContentSlotColorSuccessHover, rangeTokens.textFieldContentSlotColorSuccessActive, tokens.textFieldContentSlotColorSuccessActive, rangeTokens.textFieldContentSlotColorError, tokens.textFieldContentSlotColorError, rangeTokens.textFieldContentSlotColorErrorHover, tokens.textFieldContentSlotColorErrorHover, rangeTokens.textFieldContentSlotColorErrorActive, tokens.textFieldContentSlotColorErrorActive, rangeTokens.textFieldContentSlotRightColor, tokens.textFieldContentSlotRightColor, rangeTokens.textFieldContentSlotRightColorHover, tokens.textFieldContentSlotRightColorHover, rangeTokens.textFieldContentSlotRightColorActive, tokens.textFieldContentSlotRightColorActive, rangeTokens.labelWrapperOffset, tokens.labelOffset, rangeTokens.labelWrapperOffset, tokens.labelWrapperOffset, rangeTokens.labelFontFamily, tokens.labelFontFamily, rangeTokens.labelFontStyle, tokens.labelFontStyle, rangeTokens.labelFontSize, tokens.labelFontSize, rangeTokens.labelFontWeight, tokens.labelFontWeight, rangeTokens.labelLetterSpacing, tokens.labelLetterSpacing, rangeTokens.labelLineHeight, tokens.labelLineHeight, rangeTokens.titleCaptionOffset, tokens.titleCaptionOffset, rangeTokens.titleCaptionColor, tokens.titleCaptionColor, rangeTokens.titleCaptionFontFamily, tokens.titleCaptionFontFamily, rangeTokens.titleCaptionFontStyle, tokens.titleCaptionFontStyle, rangeTokens.titleCaptionFontSize, tokens.titleCaptionFontSize, rangeTokens.titleCaptionFontWeight, tokens.titleCaptionFontWeight, rangeTokens.titleCaptionLetterSpacing, tokens.titleCaptionLetterSpacing, rangeTokens.titleCaptionLineHeight, tokens.titleCaptionLineHeight, rangeTokens.indicatorWrapperGap, tokens.indicatorWrapperGap, rangeTokens.indicatorColor, tokens.indicatorColor, rangeTokens.indicatorSizeInner, tokens.indicatorSizeInner, rangeTokens.indicatorSizeOuter, tokens.indicatorSizeOuter, rangeTokens.indicatorMarginTop, tokens.indicatorMarginTop, rangeTokens.indicatorOuterLeft, tokens.indicatorOuterLeft, rangeTokens.indicatorWithoutLabelInner, tokens.indicatorWithoutLabelInner, rangeTokens.indicatorWithoutLabelInnerLeft, tokens.indicatorWithoutLabelInnerLeft, rangeTokens.indicatorWithoutLabelOuterHint, tokens.indicatorWithoutLabelOuterHint, rangeTokens.hintMargin, tokens.hintMargin, rangeTokens.hintTargetSize, tokens.hintTargetSize, rangeTokens.hintCustomIconTargetSize, tokens.hintCustomIconTargetSize, rangeTokens.hintIconColor, tokens.hintIconColor, rangeTokens.hintWithoutLabelPlacementOffset, tokens.hintWithoutLabelPlacementOffset, rangeTokens.tooltipBackgroundColor, tokens.hintTooltipBackgroundColor, rangeTokens.tooltipBoxShadow, tokens.hintTooltipBoxShadow, rangeTokens.tooltipColor, tokens.hintTooltipColor, rangeTokens.tooltipPaddingTop, tokens.hintTooltipPaddingTop, rangeTokens.tooltipPaddingRight, tokens.hintTooltipPaddingRight, rangeTokens.tooltipPaddingBottom, tokens.hintTooltipPaddingBottom, rangeTokens.tooltipPaddingLeft, tokens.hintTooltipPaddingLeft, rangeTokens.tooltipMinHeight, tokens.hintTooltipMinHeight, rangeTokens.tooltipBorderRadius, tokens.hintTooltipBorderRadius, rangeTokens.tooltipTextFontFamily, tokens.hintTooltipTextFontFamily, rangeTokens.tooltipTextFontSize, tokens.hintTooltipTextFontSize, rangeTokens.tooltipTextFontStyle, tokens.hintTooltipTextFontStyle, rangeTokens.tooltipTextFontWeight, tokens.hintTooltipTextFontWeight, rangeTokens.tooltipTextFontLetterSpacing, tokens.hintTooltipTextFontLetterSpacing, rangeTokens.tooltipTextFontLineHeight, tokens.hintTooltipTextFontLineHeight, rangeTokens.tooltipContentLeftMargin, tokens.hintTooltipContentLeftMargin, rangeTokens.tooltipArrowMaskWidth, tokens.hintTooltipArrowMaskWidth, rangeTokens.tooltipArrowMaskHeight, tokens.hintTooltipArrowMaskHeight, rangeTokens.tooltipArrowMaskImage, tokens.hintTooltipArrowMaskImage, rangeTokens.tooltipArrowHeight, tokens.hintTooltipArrowHeight, rangeTokens.tooltipArrowEdgeMargin, tokens.hintTooltipArrowEdgeMargin, rangeTokens.tooltipArrowBackground, tokens.hintTooltipArrowBackground, rangeTokens.textFieldHeight, tokens.textFieldHeight, rangeTokens.textFieldBorderRadius, tokens.textFieldBorderRadius, rangeTokens.textFieldPadding, tokens.textFieldPadding, rangeTokens.textFieldFontFamily, tokens.textFieldFontFamily, rangeTokens.textFieldFontStyle, tokens.textFieldFontStyle, rangeTokens.textFieldFontSize, tokens.textFieldFontSize, rangeTokens.textFieldFontWeight, tokens.textFieldFontWeight, rangeTokens.textFieldLetterSpacing, tokens.textFieldLetterSpacing, rangeTokens.textFieldLineHeight, tokens.textFieldLineHeight, rangeTokens.helpersPadding, tokens.leftHelperOffset, rangeTokens.leftHelperFontFamily, tokens.leftHelperFontFamily, rangeTokens.leftHelperFontStyle, tokens.leftHelperFontStyle, rangeTokens.leftHelperFontSize, tokens.leftHelperFontSize, rangeTokens.leftHelperFontWeight, tokens.leftHelperFontWeight, rangeTokens.leftHelperLetterSpacing, tokens.leftHelperLetterSpacing, rangeTokens.leftHelperLineHeight, tokens.leftHelperLineHeight, rangeTokens.textFieldLeftContentMargin, tokens.textFieldLeftContentMargin, rangeTokens.textFieldRightContentMargin, tokens.textFieldRightContentMargin, rangeTokens.rightContentOpacityReadOnly, tokens.rightContentOpacityReadOnly, rangeTokens.textFieldTextBeforeMargin, tokens.textFieldTextBeforeMargin, rangeTokens.textFieldTextAfterMargin, tokens.textFieldTextAfterMargin, rangeTokens.backgroundReadOnly, tokens.backgroundReadOnly, rangeTokens.dividerColorReadOnly, tokens.dividerColorReadOnly, rangeTokens.dividerOpacityReadOnly, tokens.dividerOpacityReadOnly, rangeTokens.textFieldDividerColorSuccess, tokens.textFieldDividerColorSuccess, rangeTokens.textFieldDividerColorError, tokens.textFieldDividerColorError, rangeTokens.textFieldDividerColorHover, tokens.textFieldDividerColorHover, rangeTokens.textFieldDividerColorFocus, tokens.textFieldDividerColorFocus, rangeTokens.textFieldColorReadOnly, tokens.textFieldColorReadOnly, rangeTokens.textFieldBackgroundColorReadOnly, tokens.textFieldBackgroundColorReadOnly, rangeTokens.textFieldPlaceholderColorReadOnly, tokens.textFieldPlaceholderColorReadOnly);
export const base = css([
    `display:inline-block;&.`,
    `{width:100%;& > div{width:100%;}`,
    `{width:100%;}}`
], classes.datePickerstretched, StyledRange);
