"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "config", {
    enumerable: true,
    get: function() {
        return config;
    }
});
const _styledcomponents = require("@salutejs/plasma-new-hope/styled-components");
const _sdds_serv = require("@salutejs/sdds-themes/tokens/sdds_serv");
const config = {
    defaults: {
        view: 'default',
        size: 'm'
    },
    variations: {
        view: {
            default: (0, _styledcomponents.css)`
                ${_styledcomponents.fileTokens.embedIconButtonColor}: ${_sdds_serv.textPrimary};
                ${_styledcomponents.fileTokens.embedIconButtonColorHover}: ${_sdds_serv.textPrimaryHover};
                ${_styledcomponents.fileTokens.embedIconButtonColorActive}: ${_sdds_serv.textPrimaryActive};
                ${_styledcomponents.fileTokens.embedIconButtonFocusColor}: ${_sdds_serv.surfaceAccent};

                ${_styledcomponents.fileTokens.cellTitleColor}: ${_sdds_serv.textPrimary};
                ${_styledcomponents.fileTokens.cellSubtitleColor}: ${_sdds_serv.textSecondary};

                ${_styledcomponents.fileTokens.progressBarCircularContentColor}: ${_sdds_serv.textPrimary};
                ${_styledcomponents.fileTokens.progressBarCircularBackgroundStroke}: ${_sdds_serv.surfaceTransparentTertiary};
                ${_styledcomponents.fileTokens.progressBarCircularStroke}: ${_sdds_serv.surfaceSolidDefault};

                ${_styledcomponents.fileTokens.progressTrackBackgroundColor}: ${_sdds_serv.surfaceTransparentSecondary};
                ${_styledcomponents.fileTokens.progressFilledBackgroundColor}: ${_sdds_serv.surfaceSolidDefault};
            `,
            negative: (0, _styledcomponents.css)`
                ${_styledcomponents.fileTokens.embedIconButtonColor}: ${_sdds_serv.textPrimary};
                ${_styledcomponents.fileTokens.embedIconButtonColorHover}: ${_sdds_serv.textPrimaryHover};
                ${_styledcomponents.fileTokens.embedIconButtonColorActive}: ${_sdds_serv.textPrimaryActive};
                ${_styledcomponents.fileTokens.embedIconButtonFocusColor}: ${_sdds_serv.surfaceAccent};

                ${_styledcomponents.fileTokens.cellTitleColor}: ${_sdds_serv.textPrimary};
                ${_styledcomponents.fileTokens.cellSubtitleColor}: ${_sdds_serv.textNegative};

                ${_styledcomponents.fileTokens.progressBarCircularContentColor}: ${_sdds_serv.textPrimary};
                ${_styledcomponents.fileTokens.progressBarCircularBackgroundStroke}: ${_sdds_serv.surfaceTransparentTertiary};
                ${_styledcomponents.fileTokens.progressBarCircularStroke}: ${_sdds_serv.surfaceNegative};

                ${_styledcomponents.fileTokens.progressTrackBackgroundColor}: ${_sdds_serv.surfaceTransparentSecondary};
                ${_styledcomponents.fileTokens.progressFilledBackgroundColor}: ${_sdds_serv.surfaceNegative};
            `
        },
        size: {
            l: (0, _styledcomponents.css)`
                ${_styledcomponents.fileTokens.embedIconButtonHeight}: 2.5rem;
                ${_styledcomponents.fileTokens.embedIconButtonWidth}: 2.5rem;
                ${_styledcomponents.fileTokens.embedIconButtonPadding}: 0.5rem;
                ${_styledcomponents.fileTokens.embedIconButtonRadius}: 0.625rem;

                ${_styledcomponents.fileTokens.cellHeight}: 2.5rem;
                ${_styledcomponents.fileTokens.cellTextboxGap}: 0.125rem;
                ${_styledcomponents.fileTokens.cellGap}: 0.75rem;
                ${_styledcomponents.fileTokens.cellPaddingRightContent}: 0.75rem;

                ${_styledcomponents.fileTokens.cellTitleFontFamily}: ${_sdds_serv.bodyL.fontFamily};
                ${_styledcomponents.fileTokens.cellTitleFontSize}: ${_sdds_serv.bodyL.fontSize};
                ${_styledcomponents.fileTokens.cellTitleFontStyle}: ${_sdds_serv.bodyL.fontStyle};
                ${_styledcomponents.fileTokens.cellTitleFontWeight}: ${_sdds_serv.bodyL.fontWeight};
                ${_styledcomponents.fileTokens.cellTitleLetterSpacing}: ${_sdds_serv.bodyL.letterSpacing};
                ${_styledcomponents.fileTokens.cellTitleLineHeight}: ${_sdds_serv.bodyL.lineHeight};

                ${_styledcomponents.fileTokens.cellSubtitleFontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_styledcomponents.fileTokens.cellSubtitleFontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_styledcomponents.fileTokens.cellSubtitleFontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_styledcomponents.fileTokens.cellSubtitleFontWeight}: ${_sdds_serv.bodyXS.fontWeight};
                ${_styledcomponents.fileTokens.cellSubtitleLetterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_styledcomponents.fileTokens.cellSubtitleLineHeight}: ${_sdds_serv.bodyXS.lineHeight};

                ${_styledcomponents.fileTokens.progressBarCircularSize}: 36;
                ${_styledcomponents.fileTokens.progressBarCircularHeight}: 2.25rem;
                ${_styledcomponents.fileTokens.progressBarCircularWidth}: 2.25rem;

                ${_styledcomponents.fileTokens.progressBarCircularStrokeWidth}: 0.125rem;
                ${_styledcomponents.fileTokens.progressBarCircularStrokeSize}: 2;

                ${_styledcomponents.fileTokens.progressTrackHeight}: 0.25rem;
                ${_styledcomponents.fileTokens.progressTrackBorderRadius}: 0.125rem;
                ${_styledcomponents.fileTokens.progressFilledHeight}: 0.25rem;
                ${_styledcomponents.fileTokens.progressFilledBorderRadius}: 0.375rem;

                ${_styledcomponents.fileTokens.progressLinearGap}: 0.5rem;

                ${_styledcomponents.fileTokens.fileThumbSize}: 2.5rem;
                ${_styledcomponents.fileTokens.fileThumbRadius}: 0.625rem;
            `,
            m: (0, _styledcomponents.css)`
                ${_styledcomponents.fileTokens.embedIconButtonHeight}: 2.5rem;
                ${_styledcomponents.fileTokens.embedIconButtonWidth}: 2.5rem;
                ${_styledcomponents.fileTokens.embedIconButtonPadding}: 0.5rem;
                ${_styledcomponents.fileTokens.embedIconButtonRadius}: 0.625rem;

                ${_styledcomponents.fileTokens.cellHeight}: 2.5rem;
                ${_styledcomponents.fileTokens.cellTextboxGap}: 0.125rem;
                ${_styledcomponents.fileTokens.cellGap}: 0.625rem;
                ${_styledcomponents.fileTokens.cellPaddingRightContent}: 0.625rem;

                ${_styledcomponents.fileTokens.cellTitleFontFamily}: ${_sdds_serv.bodyM.fontFamily};
                ${_styledcomponents.fileTokens.cellTitleFontSize}: ${_sdds_serv.bodyM.fontSize};
                ${_styledcomponents.fileTokens.cellTitleFontStyle}: ${_sdds_serv.bodyM.fontStyle};
                ${_styledcomponents.fileTokens.cellTitleFontWeight}: ${_sdds_serv.bodyM.fontWeight};
                ${_styledcomponents.fileTokens.cellTitleLetterSpacing}: ${_sdds_serv.bodyM.letterSpacing};
                ${_styledcomponents.fileTokens.cellTitleLineHeight}: ${_sdds_serv.bodyM.lineHeight};

                ${_styledcomponents.fileTokens.cellSubtitleFontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_styledcomponents.fileTokens.cellSubtitleFontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_styledcomponents.fileTokens.cellSubtitleFontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_styledcomponents.fileTokens.cellSubtitleFontWeight}: ${_sdds_serv.bodyXS.fontWeight};
                ${_styledcomponents.fileTokens.cellSubtitleLetterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_styledcomponents.fileTokens.cellSubtitleLineHeight}: ${_sdds_serv.bodyXS.lineHeight};

                ${_styledcomponents.fileTokens.progressBarCircularSize}: 36;
                ${_styledcomponents.fileTokens.progressBarCircularHeight}: 2.25rem;
                ${_styledcomponents.fileTokens.progressBarCircularWidth}: 2.25rem;

                ${_styledcomponents.fileTokens.progressBarCircularStrokeWidth}: 0.125rem;
                ${_styledcomponents.fileTokens.progressBarCircularStrokeSize}: 2;

                ${_styledcomponents.fileTokens.progressTrackHeight}: 0.25rem;
                ${_styledcomponents.fileTokens.progressTrackBorderRadius}: 0.125rem;
                ${_styledcomponents.fileTokens.progressFilledHeight}: 0.25rem;
                ${_styledcomponents.fileTokens.progressFilledBorderRadius}: 0.375rem;

                ${_styledcomponents.fileTokens.progressLinearGap}: 0.5rem;

                ${_styledcomponents.fileTokens.fileThumbSize}: 2.25rem;
                ${_styledcomponents.fileTokens.fileThumbRadius}: 0.625rem;
            `,
            s: (0, _styledcomponents.css)`
                ${_styledcomponents.fileTokens.embedIconButtonHeight}: 2.5rem;
                ${_styledcomponents.fileTokens.embedIconButtonWidth}: 2.5rem;
                ${_styledcomponents.fileTokens.embedIconButtonPadding}: 0.5rem;
                ${_styledcomponents.fileTokens.embedIconButtonRadius}: 0.625rem;

                ${_styledcomponents.fileTokens.cellHeight}: 2.5rem;
                ${_styledcomponents.fileTokens.cellTextboxGap}: 0.125rem;
                ${_styledcomponents.fileTokens.cellGap}: 0.5rem;
                ${_styledcomponents.fileTokens.cellPaddingRightContent}: 0.5rem;

                ${_styledcomponents.fileTokens.cellTitleFontFamily}: ${_sdds_serv.bodyS.fontFamily};
                ${_styledcomponents.fileTokens.cellTitleFontSize}: ${_sdds_serv.bodyS.fontSize};
                ${_styledcomponents.fileTokens.cellTitleFontStyle}: ${_sdds_serv.bodyS.fontStyle};
                ${_styledcomponents.fileTokens.cellTitleFontWeight}: ${_sdds_serv.bodyS.fontWeight};
                ${_styledcomponents.fileTokens.cellTitleLetterSpacing}: ${_sdds_serv.bodyS.letterSpacing};
                ${_styledcomponents.fileTokens.cellTitleLineHeight}: ${_sdds_serv.bodyS.lineHeight};

                ${_styledcomponents.fileTokens.cellSubtitleFontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_styledcomponents.fileTokens.cellSubtitleFontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_styledcomponents.fileTokens.cellSubtitleFontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_styledcomponents.fileTokens.cellSubtitleFontWeight}: ${_sdds_serv.bodyXS.fontWeight};
                ${_styledcomponents.fileTokens.cellSubtitleLetterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_styledcomponents.fileTokens.cellSubtitleLineHeight}: ${_sdds_serv.bodyXS.lineHeight};

                ${_styledcomponents.fileTokens.progressBarCircularSize}: 36;
                ${_styledcomponents.fileTokens.progressBarCircularHeight}: 2.25rem;
                ${_styledcomponents.fileTokens.progressBarCircularWidth}: 2.25rem;

                ${_styledcomponents.fileTokens.progressBarCircularStrokeWidth}: 0.125rem;
                ${_styledcomponents.fileTokens.progressBarCircularStrokeSize}: 2;

                ${_styledcomponents.fileTokens.progressTrackHeight}: 0.25rem;
                ${_styledcomponents.fileTokens.progressTrackBorderRadius}: 0.125rem;
                ${_styledcomponents.fileTokens.progressFilledHeight}: 0.25rem;
                ${_styledcomponents.fileTokens.progressFilledBorderRadius}: 0.375rem;

                ${_styledcomponents.fileTokens.progressLinearGap}: 0.5rem;

                ${_styledcomponents.fileTokens.fileThumbSize}: 2.25rem;
                ${_styledcomponents.fileTokens.fileThumbRadius}: 0.625rem;
            `,
            xs: (0, _styledcomponents.css)`
                ${_styledcomponents.fileTokens.embedIconButtonHeight}: 2rem;
                ${_styledcomponents.fileTokens.embedIconButtonWidth}: 2rem;
                ${_styledcomponents.fileTokens.embedIconButtonPadding}: 0.5rem;
                ${_styledcomponents.fileTokens.embedIconButtonRadius}: 0.5rem;

                ${_styledcomponents.fileTokens.cellHeight}: 2rem;
                ${_styledcomponents.fileTokens.cellTextboxGap}: 0.125rem;
                ${_styledcomponents.fileTokens.cellGap}: 0.375rem;
                ${_styledcomponents.fileTokens.cellPaddingRightContent}: 0.375rem;

                ${_styledcomponents.fileTokens.cellTitleFontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_styledcomponents.fileTokens.cellTitleFontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_styledcomponents.fileTokens.cellTitleFontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_styledcomponents.fileTokens.cellTitleFontWeight}: ${_sdds_serv.bodyXS.fontWeight};
                ${_styledcomponents.fileTokens.cellTitleLetterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_styledcomponents.fileTokens.cellTitleLineHeight}: ${_sdds_serv.bodyXS.lineHeight};

                ${_styledcomponents.fileTokens.cellSubtitleFontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_styledcomponents.fileTokens.cellSubtitleFontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_styledcomponents.fileTokens.cellSubtitleFontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_styledcomponents.fileTokens.cellSubtitleFontWeight}: ${_sdds_serv.bodyXS.fontWeight};
                ${_styledcomponents.fileTokens.cellSubtitleLetterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_styledcomponents.fileTokens.cellSubtitleLineHeight}: ${_sdds_serv.bodyXS.lineHeight};

                ${_styledcomponents.fileTokens.progressBarCircularSize}: 24;
                ${_styledcomponents.fileTokens.progressBarCircularHeight}: 1.5rem;
                ${_styledcomponents.fileTokens.progressBarCircularWidth}: 1.5rem;

                ${_styledcomponents.fileTokens.progressBarCircularStrokeWidth}: 0.125rem;
                ${_styledcomponents.fileTokens.progressBarCircularStrokeSize}: 2;

                ${_styledcomponents.fileTokens.progressTrackHeight}: 0.25rem;
                ${_styledcomponents.fileTokens.progressTrackBorderRadius}: 0.125rem;
                ${_styledcomponents.fileTokens.progressFilledHeight}: 0.25rem;
                ${_styledcomponents.fileTokens.progressFilledBorderRadius}: 0.375rem;

                ${_styledcomponents.fileTokens.progressLinearGap}: 0.5rem;

                ${_styledcomponents.fileTokens.fileThumbSize}: 1.75rem;
                ${_styledcomponents.fileTokens.fileThumbRadius}: 0.625rem;
            `
        },
        disabled: {
            true: (0, _styledcomponents.css)`
                ${_styledcomponents.fileTokens.fileDisabledOpacity}: 0.4;
            `
        }
    }
};
