(function (factory) {
    if (typeof module === "object" && typeof module.exports === "object") {
        var v = factory(require, exports);
        if (v !== undefined) module.exports = v;
    }
    else if (typeof define === "function" && define.amd) {
        define(["require", "exports", "tslib", "styled-components", "../../../Pallette/style-utils", "../../../Pallette/Shape", "../../../Pallette/themes", "../../theme", "../../../utils/theme/getTheme"], factory);
    }
})(function (require, exports) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    exports.TrailContent = exports.LeadContentStyled = exports.HeaderRollStyled = void 0;
    var tslib_1 = require("tslib");
    var styled_components_1 = (0, tslib_1.__importStar)(require("styled-components"));
    var style_utils_1 = require("../../../Pallette/style-utils");
    var Shape_1 = require("../../../Pallette/Shape");
    var themes_1 = require("../../../Pallette/themes");
    var theme_1 = require("../../theme");
    var getTheme_1 = require("../../../utils/theme/getTheme");
    exports.HeaderRollStyled = styled_components_1.default.div.attrs(function (props) { return ({
        theme: (0, getTheme_1.getTheme)({
            theme: props.theme,
            defaultTheme: theme_1.defaultThemeRoll,
            componentName: "roll"
        })
    }); })(templateObject_3 || (templateObject_3 = (0, tslib_1.__makeTemplateObject)(["\n  display: flex;\n  align-items: center;\n  max-width: 100%;\n  flex-wrap: wrap;\n  gap: 12px;\n  justify-content: space-between;\n  ", ";\n\n  ", ";\n\n  .text {\n    text-overflow: ", ";\n    overflow: hidden;\n    white-space: nowrap;\n    min-width: 32px;\n  }\n\n  button {\n    margin: 0;\n  }\n"], ["\n  display: flex;\n  align-items: center;\n  max-width: 100%;\n  flex-wrap: wrap;\n  gap: 12px;\n  justify-content: space-between;\n  ", ";\n\n  ", ";\n\n  .text {\n    text-overflow: ", ";\n    overflow: hidden;\n    white-space: nowrap;\n    min-width: 32px;\n  }\n\n  button {\n    margin: 0;\n  }\n"])), function (_a) {
        var size = _a.size;
        return (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = (0, tslib_1.__makeTemplateObject)(["\n    ", ";\n  "], ["\n    ", ";\n  "])), size === "l" ? style_utils_1.Padding.allSide(4, 5) : style_utils_1.Padding.allSide(3, 5));
    }, function (_a) {
        var theme = _a.theme;
        return (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = (0, tslib_1.__makeTemplateObject)(["\n    ", ";\n    background: ", ";\n    .title {\n      color: ", ";\n    }\n\n    .sub-title {\n      color: ", ";\n    }\n  "], ["\n    ", ";\n    background: ", ";\n    .title {\n      color: ", ";\n    }\n\n    .sub-title {\n      color: ", ";\n    }\n  "])), style_utils_1.BorderRadius.roundBorder(Shape_1.Shape.borderRadiusMedium), theme.components.roll.background, theme.components.roll.color, theme.components.roll.colorSubText);
    }, function (_a) {
        var textOverflow = _a.textOverflow;
        return textOverflow;
    });
    exports.HeaderRollStyled.defaultProps = {
        theme: themes_1.LIGHT_THEME
    };
    exports.LeadContentStyled = styled_components_1.default.div(templateObject_4 || (templateObject_4 = (0, tslib_1.__makeTemplateObject)(["\n  display: flex;\n  gap: 8px;\n  max-width: 100%;\n"], ["\n  display: flex;\n  gap: 8px;\n  max-width: 100%;\n"])));
    exports.TrailContent = styled_components_1.default.div(templateObject_5 || (templateObject_5 = (0, tslib_1.__makeTemplateObject)(["\n  display: flex;\n  gap: 8px;\n"], ["\n  display: flex;\n  gap: 8px;\n"])));
    var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5;
});
