"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "config", {
    enumerable: true,
    get: function() {
        return config;
    }
});
var _emotion = require("@salutejs/plasma-new-hope/emotion");
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, _emotion.css)(_templateObject(), _emotion.segmentTokens.itemColor, _emotion.segmentTokens.itemBackgroundColor, _emotion.segmentTokens.itemColorHover, _emotion.segmentTokens.itemBackgroundColorHover, _emotion.segmentTokens.itemAdditionalColor, _emotion.segmentTokens.itemAdditionalColorHover, _emotion.segmentTokens.itemSelectedColor, _emotion.segmentTokens.itemSelectedBackgroundColor, _emotion.segmentTokens.itemSelectedColorHover, _emotion.segmentTokens.itemSelectedBackgroundColorHover, _emotion.segmentTokens.itemSelectedAdditionalColor, _emotion.segmentTokens.itemSelectedAdditionalColorHover, _emotion.segmentTokens.groupFilledBackgroundColor),
            secondary: (0, _emotion.css)(_templateObject1(), _emotion.segmentTokens.itemColor, _emotion.segmentTokens.itemBackgroundColor, _emotion.segmentTokens.itemColorHover, _emotion.segmentTokens.itemBackgroundColorHover, _emotion.segmentTokens.itemAdditionalColor, _emotion.segmentTokens.itemAdditionalColorHover, _emotion.segmentTokens.itemSelectedColor, _emotion.segmentTokens.itemSelectedBackgroundColor, _emotion.segmentTokens.itemSelectedColorHover, _emotion.segmentTokens.itemSelectedBackgroundColorHover, _emotion.segmentTokens.itemSelectedAdditionalColor, _emotion.segmentTokens.itemSelectedAdditionalColorHover, _emotion.segmentTokens.groupFilledBackgroundColor),
            default: (0, _emotion.css)(_templateObject2(), _emotion.segmentTokens.itemColor, _emotion.segmentTokens.itemBackgroundColor, _emotion.segmentTokens.itemColorHover, _emotion.segmentTokens.itemBackgroundColorHover, _emotion.segmentTokens.itemAdditionalColor, _emotion.segmentTokens.itemAdditionalColorHover, _emotion.segmentTokens.itemSelectedColor, _emotion.segmentTokens.itemSelectedBackgroundColor, _emotion.segmentTokens.itemSelectedColorHover, _emotion.segmentTokens.itemSelectedBackgroundColorHover, _emotion.segmentTokens.itemSelectedAdditionalColor, _emotion.segmentTokens.itemSelectedAdditionalColorHover, _emotion.segmentTokens.groupFilledBackgroundColor),
            accent: (0, _emotion.css)(_templateObject3(), _emotion.segmentTokens.itemColor, _emotion.segmentTokens.itemBackgroundColor, _emotion.segmentTokens.itemColorHover, _emotion.segmentTokens.itemBackgroundColorHover, _emotion.segmentTokens.itemAdditionalColor, _emotion.segmentTokens.itemAdditionalColorHover, _emotion.segmentTokens.itemSelectedColor, _emotion.segmentTokens.itemSelectedBackgroundColor, _emotion.segmentTokens.itemSelectedColorHover, _emotion.segmentTokens.itemSelectedBackgroundColorHover, _emotion.segmentTokens.itemSelectedAdditionalColor, _emotion.segmentTokens.itemSelectedAdditionalColorHover, _emotion.segmentTokens.groupFilledBackgroundColor)
        },
        size: {
            xs: (0, _emotion.css)(_templateObject4(), _emotion.segmentTokens.itemBorderRadius, _emotion.segmentTokens.itemWidth, _emotion.segmentTokens.itemHeight, _emotion.segmentTokens.itemPadding, _emotion.segmentTokens.itemPilledPadding, _emotion.segmentTokens.itemContentPadding, _emotion.segmentTokens.itemIconMargin, _emotion.segmentTokens.itemMarginLeft, _emotion.segmentTokens.fontFamily, _emotion.segmentTokens.fontSize, _emotion.segmentTokens.fontStyle, _emotion.segmentTokens.fontWeight, _emotion.segmentTokens.letterSpacing, _emotion.segmentTokens.lineHeight),
            s: (0, _emotion.css)(_templateObject5(), _emotion.segmentTokens.itemBorderRadius, _emotion.segmentTokens.itemWidth, _emotion.segmentTokens.itemHeight, _emotion.segmentTokens.itemPadding, _emotion.segmentTokens.itemPilledPadding, _emotion.segmentTokens.itemContentPadding, _emotion.segmentTokens.itemIconMargin, _emotion.segmentTokens.itemMarginLeft, _emotion.segmentTokens.fontFamily, _emotion.segmentTokens.fontSize, _emotion.segmentTokens.fontStyle, _emotion.segmentTokens.fontWeight, _emotion.segmentTokens.letterSpacing, _emotion.segmentTokens.lineHeight),
            m: (0, _emotion.css)(_templateObject6(), _emotion.segmentTokens.itemBorderRadius, _emotion.segmentTokens.itemWidth, _emotion.segmentTokens.itemHeight, _emotion.segmentTokens.itemPadding, _emotion.segmentTokens.itemPilledPadding, _emotion.segmentTokens.itemContentPadding, _emotion.segmentTokens.itemIconMargin, _emotion.segmentTokens.itemMarginLeft, _emotion.segmentTokens.fontFamily, _emotion.segmentTokens.fontSize, _emotion.segmentTokens.fontStyle, _emotion.segmentTokens.fontWeight, _emotion.segmentTokens.letterSpacing, _emotion.segmentTokens.lineHeight),
            l: (0, _emotion.css)(_templateObject7(), _emotion.segmentTokens.itemBorderRadius, _emotion.segmentTokens.itemWidth, _emotion.segmentTokens.itemHeight, _emotion.segmentTokens.itemPadding, _emotion.segmentTokens.itemPilledPadding, _emotion.segmentTokens.itemContentPadding, _emotion.segmentTokens.itemIconMargin, _emotion.segmentTokens.itemMarginLeft, _emotion.segmentTokens.fontFamily, _emotion.segmentTokens.fontSize, _emotion.segmentTokens.fontStyle, _emotion.segmentTokens.fontWeight, _emotion.segmentTokens.letterSpacing, _emotion.segmentTokens.lineHeight),
            xl: (0, _emotion.css)(_templateObject8(), _emotion.segmentTokens.itemBorderRadius, _emotion.segmentTokens.itemWidth, _emotion.segmentTokens.itemHeight, _emotion.segmentTokens.itemPadding, _emotion.segmentTokens.itemPilledPadding, _emotion.segmentTokens.itemContentPadding, _emotion.segmentTokens.itemIconMargin, _emotion.segmentTokens.itemMarginLeft, _emotion.segmentTokens.fontFamily, _emotion.segmentTokens.fontSize, _emotion.segmentTokens.fontStyle, _emotion.segmentTokens.fontWeight, _emotion.segmentTokens.letterSpacing, _emotion.segmentTokens.lineHeight)
        },
        disabled: {
            true: (0, _emotion.css)(_templateObject9(), _emotion.segmentTokens.disabledOpacity)
        },
        pilled: {
            true: (0, _emotion.css)(_templateObject10(), _emotion.segmentTokens.itemPilledBorderRadius)
        }
    }
};
