function _tagged_template_literal(strings, raw) {
    if (!raw) {
        raw = strings.slice(0);
    }
    return Object.freeze(Object.defineProperties(strings, {
        raw: {
            value: Object.freeze(raw)
        }
    }));
}
function _templateObject() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--text-secondary);\n                ",
        ": var(--text-negative);\n\n                ",
        ": var(--text-primary);\n                ",
        ": var(--text-negative);\n                ",
        ": var(--outline-accent);\n            "
    ]);
    _templateObject = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject1() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 2.5rem;\n                ",
        ": 0.75rem;\n\n                ",
        ": 0.75rem;\n\n                ",
        ": var(--plasma-typo-dspl-l-font-family);\n                ",
        ": var(--plasma-typo-dspl-l-font-style);\n                ",
        ": var(--plasma-typo-dspl-l-bold-font-weight);\n                ",
        ": var(--plasma-typo-dspl-l-letter-spacing);\n\n                ",
        ": 8rem;\n                ",
        ": 8rem;\n\n                ",
        ": 7rem;\n                ",
        ": 7rem;\n\n                ",
        ": 5.5rem;\n                ",
        ": 5.75rem;\n\n                ",
        ": var(--plasma-typo-h3-font-family);\n                ",
        ": var(--plasma-typo-h3-font-size);\n                ",
        ": var(--plasma-typo-h3-font-style);\n                ",
        ": var(--plasma-typo-h3-font-weight);\n                ",
        ": var(--plasma-typo-h3-letter-spacing);\n                ",
        ": var(--plasma-typo-h3-line-height);\n\n                ",
        ": 5rem;\n                ",
        ": 8rem;\n\n                ",
        ": 4.5rem;\n                ",
        ": 7rem;\n\n                ",
        ": 3.5rem;\n                ",
        ": 5.75rem;\n\n                ",
        ": 0.125rem;\n                ",
        ": 1.5rem;\n            "
    ]);
    _templateObject1 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject2() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 1.75rem;\n                ",
        ": 0.5rem;\n\n                ",
        ": 0.75rem;\n\n                ",
        ": var(--plasma-typo-dspl-m-font-family);\n                ",
        ": var(--plasma-typo-body-m-font-style);\n                ",
        ": var(--plasma-typo-body-m-bold-font-weight);\n                ",
        ": var(--plasma-typo-body-m-letter-spacing);\n\n                ",
        ": 5.5rem;\n                ",
        ": 5.75rem;\n\n                ",
        ": 4.5rem;\n                ",
        ": 4.75rem;\n\n                ",
        ": 3.5rem;\n                ",
        ": 3.75rem;\n\n                ",
        ": var(--plasma-typo-h4-font-family);\n                ",
        ": var(--plasma-typo-h4-font-size);\n                ",
        ": var(--plasma-typo-h4-font-style);\n                ",
        ": var(--plasma-typo-h4-font-weight);\n                ",
        ": var(--plasma-typo-h4-letter-spacing);\n                ",
        ": var(--plasma-typo-h4-line-height);\n\n                ",
        ": 3.5rem;\n                ",
        ": 5.75rem;\n\n                ",
        ": 3rem;\n                ",
        ": 4.75rem;\n\n                ",
        ": 2.25rem;\n                ",
        ": 3.75rem;\n\n                ",
        ": 0.094rem;\n                ",
        ": 1rem;\n            "
    ]);
    _templateObject2 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject3() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 1.5rem;\n                ",
        ": 0.25rem;\n\n                ",
        ": 0.5rem;\n\n                ",
        ": var(--plasma-typo-dspl-s-font-family);\n                ",
        ": var(--plasma-typo-body-s-font-style);\n                ",
        ": var(--plasma-typo-body-s-bold-font-weight);\n                ",
        ": var(--plasma-typo-body-s-letter-spacing);\n\n                ",
        ": 4rem;\n                ",
        ": 4.25rem;\n\n                ",
        ": 3rem;\n                ",
        ": 3.25rem;\n\n                ",
        ": 2.5rem;\n                ",
        ": 2.75rem;\n\n                ",
        ": var(--plasma-typo-h5-font-family);\n                ",
        ": var(--plasma-typo-h5-font-size);\n                ",
        ": var(--plasma-typo-h5-font-style);\n                ",
        ": var(--plasma-typo-h5-font-weight);\n                ",
        ": var(--plasma-typo-h5-letter-spacing);\n                ",
        ": var(--plasma-typo-h5-line-height);\n\n                ",
        ": 2.5rem;\n                ",
        ": 4.25rem;\n\n                ",
        ": 2rem;\n                ",
        ": 3.25rem;\n\n                ",
        ": 1.625rem;\n                ",
        ": 2.75rem;\n\n                ",
        ": 0.063rem;\n                ",
        ": 0.75rem;\n            "
    ]);
    _templateObject3 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject4() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0.4;\n            "
    ]);
    _templateObject4 = function _templateObject() {
        return data;
    };
    return data;
}
import { css, codeInputTokens as tokens } from '@salutejs/plasma-new-hope/styled-components';
export var config = {
    defaults: {
        view: 'default',
        size: 'l'
    },
    variations: {
        view: {
            default: css(_templateObject(), tokens.captionColor, tokens.captionColorError, tokens.codeColor, tokens.codeColorError, tokens.borderColorFocus)
        },
        size: {
            l: css(_templateObject1(), tokens.captionGap, tokens.codeItemsGap, tokens.separatorWidth, tokens.fontFamily, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.largeFontSize, tokens.largeLineHeight, tokens.mediumFontSize, tokens.mediumLineHeight, tokens.smallFontSize, tokens.smallLineHeight, tokens.captionFontFamily, tokens.captionFontSize, tokens.captionFontStyle, tokens.captionFontWeight, tokens.captionLetterSpacing, tokens.captionLineHeight, tokens.largeCodeItemWidth, tokens.largeCodeItemHeight, tokens.mediumCodeItemWidth, tokens.mediumCodeItemHeight, tokens.smallCodeItemWidth, tokens.smallCodeItemHeight, tokens.codeItemCircleBorderWidth, tokens.codeItemCircleSize),
            m: css(_templateObject2(), tokens.captionGap, tokens.codeItemsGap, tokens.separatorWidth, tokens.fontFamily, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.largeFontSize, tokens.largeLineHeight, tokens.mediumFontSize, tokens.mediumLineHeight, tokens.smallFontSize, tokens.smallLineHeight, tokens.captionFontFamily, tokens.captionFontSize, tokens.captionFontStyle, tokens.captionFontWeight, tokens.captionLetterSpacing, tokens.captionLineHeight, tokens.largeCodeItemWidth, tokens.largeCodeItemHeight, tokens.mediumCodeItemWidth, tokens.mediumCodeItemHeight, tokens.smallCodeItemWidth, tokens.smallCodeItemHeight, tokens.codeItemCircleBorderWidth, tokens.codeItemCircleSize),
            s: css(_templateObject3(), tokens.captionGap, tokens.codeItemsGap, tokens.separatorWidth, tokens.fontFamily, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.largeFontSize, tokens.largeLineHeight, tokens.mediumFontSize, tokens.mediumLineHeight, tokens.smallFontSize, tokens.smallLineHeight, tokens.captionFontFamily, tokens.captionFontSize, tokens.captionFontStyle, tokens.captionFontWeight, tokens.captionLetterSpacing, tokens.captionLineHeight, tokens.largeCodeItemWidth, tokens.largeCodeItemHeight, tokens.mediumCodeItemWidth, tokens.mediumCodeItemHeight, tokens.smallCodeItemWidth, tokens.smallCodeItemHeight, tokens.codeItemCircleBorderWidth, tokens.codeItemCircleSize)
        },
        disabled: {
            true: css(_templateObject4(), tokens.disabledOpacity)
        }
    }
};
