"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "config", {
    enumerable: true,
    get: function() {
        return config;
    }
});
var _styledcomponents = require("@salutejs/plasma-new-hope/styled-components");
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(--surface-accent);\n\n                ",
        ": var(--text-secondary);\n                ",
        ": var(--text-negative);\n\n                ",
        ": var(--text-primary);\n                ",
        ": var(--text-negative);\n                ",
        ": var(--outline-accent);\n\n                ",
        ": var(--surface-transparent-tertiary);\n                ",
        ": var(--text-secondary);\n                ",
        ": var(--surface-accent);\n                ",
        ": var(--surface-negative);\n            "
    ]);
    _templateObject = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject1() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0.875rem;\n                ",
        ": 0.125rem;\n\n                ",
        ": 0.25rem;\n\n                ",
        ": 2.75rem;\n                ",
        ": 3.5rem;\n\n                ",
        ": var(--plasma-typo-body-l-font-family);\n                ",
        ": var(--plasma-typo-body-l-font-size);\n                ",
        ": var(--plasma-typo-body-l-font-style);\n                ",
        ": var(--plasma-typo-body-l-bold-font-weight);\n                ",
        ": var(--plasma-typo-body-l-letter-spacing);\n                ",
        ": var(--plasma-typo-body-l-line-height);\n\n                ",
        ": var(--plasma-typo-body-s-font-family);\n                ",
        ": var(--plasma-typo-body-s-font-size);\n                ",
        ": var(--plasma-typo-body-s-font-style);\n                ",
        ": var(--plasma-typo-body-s-font-weight);\n                ",
        ": var(--plasma-typo-body-s-letter-spacing);\n                ",
        ": var(--plasma-typo-body-s-line-height);\n\n                ",
        ": 0.063rem;\n                ",
        ": 0.875rem;\n                ",
        ": 0.375rem;\n                ",
        ": 0.875rem;\n            "
    ]);
    _templateObject1 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject2() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0.75rem;\n                ",
        ": 0.125rem;\n\n                ",
        ": 0.25rem;\n\n                ",
        ": 2.375rem;\n                ",
        ": 3rem;\n\n                ",
        ": var(--plasma-typo-body-m-font-family);\n                ",
        ": var(--plasma-typo-body-m-font-size);\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                ",
        ": var(--plasma-typo-body-m-line-height);\n\n                ",
        ": var(--plasma-typo-body-xs-font-family);\n                ",
        ": var(--plasma-typo-body-xs-font-size);\n                ",
        ": var(--plasma-typo-body-xs-font-style);\n                ",
        ": var(--plasma-typo-body-xs-font-weight);\n                ",
        ": var(--plasma-typo-body-xs-letter-spacing);\n                ",
        ": var(--plasma-typo-body-xs-line-height);\n\n                ",
        ": 0.063rem;\n                ",
        ": 0.75rem;\n                ",
        ": 0.25rem;\n                ",
        ": 0.75rem;\n            "
    ]);
    _templateObject2 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject3() {
    var data = _tagged_template_literal([
        ""
    ]);
    _templateObject3 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject4() {
    var data = _tagged_template_literal([
        ""
    ]);
    _templateObject4 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject5() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0.4;\n            "
    ]);
    _templateObject5 = function _templateObject() {
        return data;
    };
    return data;
}
var config = {
    defaults: {
        view: 'default',
        size: 'l',
        shape: 'default'
    },
    variations: {
        view: {
            default: (0, _styledcomponents.css)(_templateObject(), _styledcomponents.codeFieldTokens.caretColor, _styledcomponents.codeFieldTokens.captionColor, _styledcomponents.codeFieldTokens.captionColorError, _styledcomponents.codeFieldTokens.codeColor, _styledcomponents.codeFieldTokens.codeColorError, _styledcomponents.codeFieldTokens.borderColorFocus, _styledcomponents.codeFieldTokens.borderColor, _styledcomponents.codeFieldTokens.borderColorHover, _styledcomponents.codeFieldTokens.borderColorFocus, _styledcomponents.codeFieldTokens.borderErrorColor)
        },
        size: {
            l: (0, _styledcomponents.css)(_templateObject1(), _styledcomponents.codeFieldTokens.captionGap, _styledcomponents.codeFieldTokens.codeItemsGap, _styledcomponents.codeFieldTokens.separatorWidth, _styledcomponents.codeFieldTokens.codeItemWidth, _styledcomponents.codeFieldTokens.codeItemHeight, _styledcomponents.codeFieldTokens.fontFamily, _styledcomponents.codeFieldTokens.fontSize, _styledcomponents.codeFieldTokens.fontStyle, _styledcomponents.codeFieldTokens.fontWeight, _styledcomponents.codeFieldTokens.letterSpacing, _styledcomponents.codeFieldTokens.lineHeight, _styledcomponents.codeFieldTokens.captionFontFamily, _styledcomponents.codeFieldTokens.captionFontSize, _styledcomponents.codeFieldTokens.captionFontStyle, _styledcomponents.codeFieldTokens.captionFontWeight, _styledcomponents.codeFieldTokens.captionLetterSpacing, _styledcomponents.codeFieldTokens.captionLineHeight, _styledcomponents.codeFieldTokens.borderWidth, _styledcomponents.codeFieldTokens.borderRadius, _styledcomponents.codeFieldTokens.borderRadiusSegmented, _styledcomponents.codeFieldTokens.segmentedSideBorderRadius),
            m: (0, _styledcomponents.css)(_templateObject2(), _styledcomponents.codeFieldTokens.captionGap, _styledcomponents.codeFieldTokens.codeItemsGap, _styledcomponents.codeFieldTokens.separatorWidth, _styledcomponents.codeFieldTokens.codeItemWidth, _styledcomponents.codeFieldTokens.codeItemHeight, _styledcomponents.codeFieldTokens.fontFamily, _styledcomponents.codeFieldTokens.fontSize, _styledcomponents.codeFieldTokens.fontStyle, _styledcomponents.codeFieldTokens.fontWeight, _styledcomponents.codeFieldTokens.letterSpacing, _styledcomponents.codeFieldTokens.lineHeight, _styledcomponents.codeFieldTokens.captionFontFamily, _styledcomponents.codeFieldTokens.captionFontSize, _styledcomponents.codeFieldTokens.captionFontStyle, _styledcomponents.codeFieldTokens.captionFontWeight, _styledcomponents.codeFieldTokens.captionLetterSpacing, _styledcomponents.codeFieldTokens.captionLineHeight, _styledcomponents.codeFieldTokens.borderWidth, _styledcomponents.codeFieldTokens.borderRadius, _styledcomponents.codeFieldTokens.borderRadiusSegmented, _styledcomponents.codeFieldTokens.segmentedSideBorderRadius)
        },
        shape: {
            default: (0, _styledcomponents.css)(_templateObject3()),
            segmented: (0, _styledcomponents.css)(_templateObject4())
        },
        disabled: {
            true: (0, _styledcomponents.css)(_templateObject5(), _styledcomponents.codeFieldTokens.disabledOpacity)
        }
    }
};
