"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(--text-secondary);\n                ",
        ": transparent;\n                ",
        ": var(--text-primary-hover);\n                ",
        ": transparent;\n                ",
        ": var(--text-tertiary);\n                ",
        ": var(--text-secondary);\n                ",
        ": var(--text-primary-hover);\n                ",
        ": transparent;\n                ",
        ": var(--text-primary);\n                ",
        ": transparent;\n                ",
        ": var(--text-secondary);\n                ",
        ": var(--text-secondary);\n\n                ",
        ": var(--text-accent);\n            "
    ]);
    _templateObject = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject1() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--text-primary);\n                ",
        ": transparent;\n                ",
        ": var(--text-primary-hover);\n                ",
        ": transparent;\n                ",
        ": var(--text-secondary);\n                ",
        ": var(--text-secondary);\n                ",
        ": var(--text-primary);\n                ",
        ": var(--surface-transparent-card);\n                ",
        ": var(--text-primary-hover);\n                ",
        ": var(--surface-transparent-card);\n                ",
        ": var(--text-secondary);\n                ",
        ": var(--text-secondary);\n\n                ",
        ": var(--text-accent);\n            "
    ]);
    _templateObject1 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject2() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--text-primary);\n                ",
        ": transparent;\n                ",
        ": var(--text-primary-hover);\n                ",
        ": transparent;\n                ",
        ": var(--text-secondary);\n                ",
        ": var(--text-secondary);\n                ",
        ": var(--inverse-text-primary);\n                ",
        ": var(--surface-solid-default);\n                ",
        ": var(--inverse-text-primary-hover);\n                ",
        ": var(--surface-solid-default);\n                ",
        ": var(--inverse-text-secondary);\n                ",
        ": var(--inverse-text-secondary);\n\n                ",
        ": var(--text-accent);\n            "
    ]);
    _templateObject2 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject3() {
    var data = _tagged_template_literal([
        "\n                ",
        ": var(--text-primary);\n                ",
        ": transparent;\n                ",
        ": var(--text-primary-hover);\n                ",
        ": transparent;\n                ",
        ": var(--text-secondary);\n                ",
        ": var(--text-secondary);\n                ",
        ": var(--on-dark-text-primary);\n                ",
        ": var(--surface-accent);\n                ",
        ": var(--on-dark-text-primary-hover);\n                ",
        ": var(--surface-accent);\n                ",
        ": var(--on-dark-text-secondary);\n                ",
        ": var(--on-dark-text-secondary);\n\n                ",
        ": var(--text-accent);\n            "
    ]);
    _templateObject3 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject4() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0.5rem;\n                ",
        ": auto;\n                ",
        ": 2rem;\n                ",
        ": 0.5rem 0.75rem;\n                ",
        ": 0.5rem 0.5rem;\n                ",
        ": 0.0625rem 0.125rem;\n                ",
        ": 0.125rem;\n                ",
        ": 0;\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-bold-font-weight);\n                ",
        ": var(--plasma-typo-body-xs-letter-spacing);\n                ",
        ": var(--plasma-typo-body-xs-line-height);\n            "
    ]);
    _templateObject4 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject5() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0.625rem;\n                ",
        ": auto;\n                ",
        ": 2.5rem;\n                ",
        ": 0.5rem 1rem;\n                ",
        ": 0.5rem 0.5rem;\n                ",
        ": 0.1875rem 0.125rem;\n                ",
        ": 0.125rem;\n                ",
        ": 0rem;\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-bold-font-weight);\n                ",
        ": var(--plasma-typo-body-s-letter-spacing);\n                ",
        ": var(--plasma-typo-body-s-line-height);\n            "
    ]);
    _templateObject5 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject6() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0.75rem;\n                ",
        ": auto;\n                ",
        ": 3rem;\n                ",
        ": 0.75rem 1.25rem;\n                ",
        ": 0.75rem 0.75rem;\n                ",
        ": 0.125rem;\n                ",
        ": 0.25rem;\n                ",
        ": 0rem;\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            "
    ]);
    _templateObject6 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject7() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0.875rem;\n                ",
        ": auto;\n                ",
        ": 3.5rem;\n                ",
        ": 1rem 1.5rem; /* 1.625 */\n                ",
        ": 1rem 1rem;\n                ",
        ": 0.0625rem 0.125rem;\n                ",
        ": 0.375rem;\n                ",
        ": 0;\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            "
    ]);
    _templateObject7 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject8() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 1rem;\n                ",
        ": auto;\n                ",
        ": 4rem;\n                ",
        ": 1.25rem 1.75rem;\n                ",
        ": 1.25rem;\n                ",
        ": 0.0625rem 0.125rem;\n                ",
        ": 0.375rem;\n                ",
        ": 0;\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            "
    ]);
    _templateObject8 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject9() {
    var data = _tagged_template_literal([
        "\n                ",
        ": 0.4;\n            "
    ]);
    _templateObject9 = function _templateObject() {
        return data;
    };
    return data;
}
function _templateObject10() {
    var data = _tagged_template_literal([
        "\n                // NOTE: change on token when added\n                ",
        ": 1000px;\n            "
    ]);
    _templateObject10 = function _templateObject() {
        return data;
    };
    return data;
}
var config = {
    defaults: {
        view: 'clear',
        size: 'xs'
    },
    variations: {
        view: {
            clear: (0, _styledcomponents.css)(_templateObject(), _styledcomponents.segmentTokens.itemColor, _styledcomponents.segmentTokens.itemBackgroundColor, _styledcomponents.segmentTokens.itemColorHover, _styledcomponents.segmentTokens.itemBackgroundColorHover, _styledcomponents.segmentTokens.itemAdditionalColor, _styledcomponents.segmentTokens.itemAdditionalColorHover, _styledcomponents.segmentTokens.itemSelectedColor, _styledcomponents.segmentTokens.itemSelectedBackgroundColor, _styledcomponents.segmentTokens.itemSelectedColorHover, _styledcomponents.segmentTokens.itemSelectedBackgroundColorHover, _styledcomponents.segmentTokens.itemSelectedAdditionalColor, _styledcomponents.segmentTokens.itemSelectedAdditionalColorHover, _styledcomponents.segmentTokens.outlineFocusColor),
            secondary: (0, _styledcomponents.css)(_templateObject1(), _styledcomponents.segmentTokens.itemColor, _styledcomponents.segmentTokens.itemBackgroundColor, _styledcomponents.segmentTokens.itemColorHover, _styledcomponents.segmentTokens.itemBackgroundColorHover, _styledcomponents.segmentTokens.itemAdditionalColor, _styledcomponents.segmentTokens.itemAdditionalColorHover, _styledcomponents.segmentTokens.itemSelectedColor, _styledcomponents.segmentTokens.itemSelectedBackgroundColor, _styledcomponents.segmentTokens.itemSelectedColorHover, _styledcomponents.segmentTokens.itemSelectedBackgroundColorHover, _styledcomponents.segmentTokens.itemSelectedAdditionalColor, _styledcomponents.segmentTokens.itemSelectedAdditionalColorHover, _styledcomponents.segmentTokens.outlineFocusColor),
            default: (0, _styledcomponents.css)(_templateObject2(), _styledcomponents.segmentTokens.itemColor, _styledcomponents.segmentTokens.itemBackgroundColor, _styledcomponents.segmentTokens.itemColorHover, _styledcomponents.segmentTokens.itemBackgroundColorHover, _styledcomponents.segmentTokens.itemAdditionalColor, _styledcomponents.segmentTokens.itemAdditionalColorHover, _styledcomponents.segmentTokens.itemSelectedColor, _styledcomponents.segmentTokens.itemSelectedBackgroundColor, _styledcomponents.segmentTokens.itemSelectedColorHover, _styledcomponents.segmentTokens.itemSelectedBackgroundColorHover, _styledcomponents.segmentTokens.itemSelectedAdditionalColor, _styledcomponents.segmentTokens.itemSelectedAdditionalColorHover, _styledcomponents.segmentTokens.outlineFocusColor),
            accent: (0, _styledcomponents.css)(_templateObject3(), _styledcomponents.segmentTokens.itemColor, _styledcomponents.segmentTokens.itemBackgroundColor, _styledcomponents.segmentTokens.itemColorHover, _styledcomponents.segmentTokens.itemBackgroundColorHover, _styledcomponents.segmentTokens.itemAdditionalColor, _styledcomponents.segmentTokens.itemAdditionalColorHover, _styledcomponents.segmentTokens.itemSelectedColor, _styledcomponents.segmentTokens.itemSelectedBackgroundColor, _styledcomponents.segmentTokens.itemSelectedColorHover, _styledcomponents.segmentTokens.itemSelectedBackgroundColorHover, _styledcomponents.segmentTokens.itemSelectedAdditionalColor, _styledcomponents.segmentTokens.itemSelectedAdditionalColorHover, _styledcomponents.segmentTokens.groupFilledBackgroundColor)
        },
        size: {
            xs: (0, _styledcomponents.css)(_templateObject4(), _styledcomponents.segmentTokens.itemBorderRadius, _styledcomponents.segmentTokens.itemWidth, _styledcomponents.segmentTokens.itemHeight, _styledcomponents.segmentTokens.itemPadding, _styledcomponents.segmentTokens.itemPilledPadding, _styledcomponents.segmentTokens.itemContentPadding, _styledcomponents.segmentTokens.itemIconMargin, _styledcomponents.segmentTokens.itemMarginLeft, _styledcomponents.segmentTokens.fontFamily, _styledcomponents.segmentTokens.fontSize, _styledcomponents.segmentTokens.fontStyle, _styledcomponents.segmentTokens.fontWeight, _styledcomponents.segmentTokens.letterSpacing, _styledcomponents.segmentTokens.lineHeight),
            s: (0, _styledcomponents.css)(_templateObject5(), _styledcomponents.segmentTokens.itemBorderRadius, _styledcomponents.segmentTokens.itemWidth, _styledcomponents.segmentTokens.itemHeight, _styledcomponents.segmentTokens.itemPadding, _styledcomponents.segmentTokens.itemPilledPadding, _styledcomponents.segmentTokens.itemContentPadding, _styledcomponents.segmentTokens.itemIconMargin, _styledcomponents.segmentTokens.itemMarginLeft, _styledcomponents.segmentTokens.fontFamily, _styledcomponents.segmentTokens.fontSize, _styledcomponents.segmentTokens.fontStyle, _styledcomponents.segmentTokens.fontWeight, _styledcomponents.segmentTokens.letterSpacing, _styledcomponents.segmentTokens.lineHeight),
            m: (0, _styledcomponents.css)(_templateObject6(), _styledcomponents.segmentTokens.itemBorderRadius, _styledcomponents.segmentTokens.itemWidth, _styledcomponents.segmentTokens.itemHeight, _styledcomponents.segmentTokens.itemPadding, _styledcomponents.segmentTokens.itemPilledPadding, _styledcomponents.segmentTokens.itemContentPadding, _styledcomponents.segmentTokens.itemIconMargin, _styledcomponents.segmentTokens.itemMarginLeft, _styledcomponents.segmentTokens.fontFamily, _styledcomponents.segmentTokens.fontSize, _styledcomponents.segmentTokens.fontStyle, _styledcomponents.segmentTokens.fontWeight, _styledcomponents.segmentTokens.letterSpacing, _styledcomponents.segmentTokens.lineHeight),
            l: (0, _styledcomponents.css)(_templateObject7(), _styledcomponents.segmentTokens.itemBorderRadius, _styledcomponents.segmentTokens.itemWidth, _styledcomponents.segmentTokens.itemHeight, _styledcomponents.segmentTokens.itemPadding, _styledcomponents.segmentTokens.itemPilledPadding, _styledcomponents.segmentTokens.itemContentPadding, _styledcomponents.segmentTokens.itemIconMargin, _styledcomponents.segmentTokens.itemMarginLeft, _styledcomponents.segmentTokens.fontFamily, _styledcomponents.segmentTokens.fontSize, _styledcomponents.segmentTokens.fontStyle, _styledcomponents.segmentTokens.fontWeight, _styledcomponents.segmentTokens.letterSpacing, _styledcomponents.segmentTokens.lineHeight),
            xl: (0, _styledcomponents.css)(_templateObject8(), _styledcomponents.segmentTokens.itemBorderRadius, _styledcomponents.segmentTokens.itemWidth, _styledcomponents.segmentTokens.itemHeight, _styledcomponents.segmentTokens.itemPadding, _styledcomponents.segmentTokens.itemPilledPadding, _styledcomponents.segmentTokens.itemContentPadding, _styledcomponents.segmentTokens.itemIconMargin, _styledcomponents.segmentTokens.itemMarginLeft, _styledcomponents.segmentTokens.fontFamily, _styledcomponents.segmentTokens.fontSize, _styledcomponents.segmentTokens.fontStyle, _styledcomponents.segmentTokens.fontWeight, _styledcomponents.segmentTokens.letterSpacing, _styledcomponents.segmentTokens.lineHeight)
        },
        disabled: {
            true: (0, _styledcomponents.css)(_templateObject9(), _styledcomponents.segmentTokens.disabledOpacity)
        },
        pilled: {
            true: (0, _styledcomponents.css)(_templateObject10(), _styledcomponents.segmentTokens.itemPilledBorderRadius)
        }
    }
};
