"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "config", {
    enumerable: true,
    get: function() {
        return config;
    }
});
const _emotion = require("@salutejs/plasma-new-hope/emotion");
const _sdds_serv = require("@salutejs/sdds-themes/tokens/sdds_serv");
const config = {
    defaults: {
        view: 'default',
        size: 'm'
    },
    variations: {
        view: {
            default: (0, _emotion.css)`
                ${_emotion.loaderTokens.progressBarCircularBackgroundStroke}: ${_sdds_serv.surfaceTransparentTertiary};
                ${_emotion.loaderTokens.progressBarCircularStroke}: ${_sdds_serv.surfaceSolidDefault};
                ${_emotion.loaderTokens.progressBarCircularContentColor}: ${_sdds_serv.textPrimary};

                ${_emotion.loaderTokens.spinnerColor}: ${_sdds_serv.textPrimary};

                ${_emotion.loaderTokens.overlayColor}: ${_sdds_serv.overlaySoft};
            `,
            secondary: (0, _emotion.css)`
                ${_emotion.loaderTokens.progressBarCircularBackgroundStroke}: ${_sdds_serv.surfaceTransparentTertiary};
                ${_emotion.loaderTokens.progressBarCircularStroke}: ${_sdds_serv.surfaceTransparentSecondary};
                ${_emotion.loaderTokens.progressBarCircularContentColor}: ${_sdds_serv.textPrimary};

                ${_emotion.loaderTokens.spinnerColor}: ${_sdds_serv.textSecondary};

                ${_emotion.loaderTokens.overlayColor}: ${_sdds_serv.overlaySoft};
            `,
            accent: (0, _emotion.css)`
                ${_emotion.loaderTokens.progressBarCircularBackgroundStroke}: ${_sdds_serv.surfaceTransparentTertiary};
                ${_emotion.loaderTokens.progressBarCircularStroke}: ${_sdds_serv.surfaceAccent};
                ${_emotion.loaderTokens.progressBarCircularContentColor}: ${_sdds_serv.textPrimary};

                ${_emotion.loaderTokens.spinnerColor}: ${_sdds_serv.textAccent};

                ${_emotion.loaderTokens.overlayColor}: ${_sdds_serv.overlaySoft};
            `,
            positive: (0, _emotion.css)`
                ${_emotion.loaderTokens.progressBarCircularBackgroundStroke}: ${_sdds_serv.surfaceTransparentTertiary};
                ${_emotion.loaderTokens.progressBarCircularStroke}: ${_sdds_serv.surfacePositive};
                ${_emotion.loaderTokens.progressBarCircularContentColor}: ${_sdds_serv.textPrimary};

                ${_emotion.loaderTokens.spinnerColor}: ${_sdds_serv.textPositive};

                ${_emotion.loaderTokens.overlayColor}: ${_sdds_serv.overlaySoft};
            `,
            warning: (0, _emotion.css)`
                ${_emotion.loaderTokens.progressBarCircularBackgroundStroke}: ${_sdds_serv.surfaceTransparentTertiary};
                ${_emotion.loaderTokens.progressBarCircularStroke}: ${_sdds_serv.surfaceWarning};
                ${_emotion.loaderTokens.progressBarCircularContentColor}: ${_sdds_serv.textPrimary};

                ${_emotion.loaderTokens.spinnerColor}: ${_sdds_serv.textWarning};

                ${_emotion.loaderTokens.overlayColor}: ${_sdds_serv.overlaySoft};
            `,
            negative: (0, _emotion.css)`
                ${_emotion.loaderTokens.progressBarCircularBackgroundStroke}: ${_sdds_serv.surfaceTransparentTertiary};
                ${_emotion.loaderTokens.progressBarCircularStroke}: ${_sdds_serv.surfaceNegative};
                ${_emotion.loaderTokens.progressBarCircularContentColor}: ${_sdds_serv.textPrimary};

                ${_emotion.loaderTokens.spinnerColor}: ${_sdds_serv.textNegative};

                ${_emotion.loaderTokens.overlayColor}: ${_sdds_serv.overlaySoft};
            `,
            info: (0, _emotion.css)`
                ${_emotion.loaderTokens.progressBarCircularBackgroundStroke}: ${_sdds_serv.surfaceTransparentTertiary};
                ${_emotion.loaderTokens.progressBarCircularStroke}: ${_sdds_serv.surfaceInfo};
                ${_emotion.loaderTokens.progressBarCircularContentColor}: ${_sdds_serv.textPrimary};

                ${_emotion.loaderTokens.spinnerColor}: ${_sdds_serv.textInfo};

                ${_emotion.loaderTokens.overlayColor}: ${_sdds_serv.overlaySoft};
            `
        },
        size: {
            xxl: (0, _emotion.css)`
                ${_emotion.loaderTokens.width}: 100%;
                ${_emotion.loaderTokens.height}: 100%;

                ${_emotion.loaderTokens.progressBarCircularSize}: 128;
                ${_emotion.loaderTokens.progressBarCircularHeight}: 8rem;
                ${_emotion.loaderTokens.progressBarCircularWidth}: 8rem;
                ${_emotion.loaderTokens.progressBarCircularStrokeWidth}: 0.25rem;
                ${_emotion.loaderTokens.progressBarCircularStrokeSize}: 4;
                ${_emotion.loaderTokens.progressBarCircularContentFontFamily}: ${_sdds_serv.h2.fontFamily};
                ${_emotion.loaderTokens.progressBarCircularContentFontSize}: ${_sdds_serv.h2.fontSize};
                ${_emotion.loaderTokens.progressBarCircularContentFontStyle}: ${_sdds_serv.h2.fontStyle};
                ${_emotion.loaderTokens.progressBarCircularContentFontWeight}: ${_sdds_serv.h2Bold.fontWeight};
                ${_emotion.loaderTokens.progressBarCircularContentLetterSpacing}: ${_sdds_serv.h2.letterSpacing};
                ${_emotion.loaderTokens.progressBarCircularContentLineHeight}: ${_sdds_serv.h2.lineHeight};

                ${_emotion.loaderTokens.spinnerSize}: 8rem;
            `,
            xl: (0, _emotion.css)`
                ${_emotion.loaderTokens.width}: 100%;
                ${_emotion.loaderTokens.height}: 100%;

                ${_emotion.loaderTokens.progressBarCircularSize}: 88;
                ${_emotion.loaderTokens.progressBarCircularHeight}: 5.5rem;
                ${_emotion.loaderTokens.progressBarCircularWidth}: 5.5rem;
                ${_emotion.loaderTokens.progressBarCircularStrokeWidth}: 0.25rem;
                ${_emotion.loaderTokens.progressBarCircularStrokeSize}: 4;
                ${_emotion.loaderTokens.progressBarCircularContentFontFamily}: ${_sdds_serv.h5.fontFamily};
                ${_emotion.loaderTokens.progressBarCircularContentFontSize}: ${_sdds_serv.h5.fontSize};
                ${_emotion.loaderTokens.progressBarCircularContentFontStyle}: ${_sdds_serv.h5.fontStyle};
                ${_emotion.loaderTokens.progressBarCircularContentFontWeight}: ${_sdds_serv.h5Bold.fontWeight};
                ${_emotion.loaderTokens.progressBarCircularContentLetterSpacing}: ${_sdds_serv.h5.letterSpacing};
                ${_emotion.loaderTokens.progressBarCircularContentLineHeight}: ${_sdds_serv.h5.lineHeight};

                ${_emotion.loaderTokens.spinnerSize}: 5.5rem;
            `,
            l: (0, _emotion.css)`
                ${_emotion.loaderTokens.width}: 100%;
                ${_emotion.loaderTokens.height}: 100%;

                ${_emotion.loaderTokens.progressBarCircularSize}: 56;
                ${_emotion.loaderTokens.progressBarCircularHeight}: 3.5rem;
                ${_emotion.loaderTokens.progressBarCircularWidth}: 3.5rem;
                ${_emotion.loaderTokens.progressBarCircularStrokeWidth}: 0.125rem;
                ${_emotion.loaderTokens.progressBarCircularStrokeSize}: 2;
                ${_emotion.loaderTokens.progressBarCircularContentFontFamily}: ${_sdds_serv.bodyL.fontFamily};
                ${_emotion.loaderTokens.progressBarCircularContentFontSize}: ${_sdds_serv.bodyL.fontSize};
                ${_emotion.loaderTokens.progressBarCircularContentFontStyle}: ${_sdds_serv.bodyL.fontStyle};
                ${_emotion.loaderTokens.progressBarCircularContentFontWeight}: ${_sdds_serv.bodyL.fontWeight};
                ${_emotion.loaderTokens.progressBarCircularContentLetterSpacing}: ${_sdds_serv.bodyL.letterSpacing};
                ${_emotion.loaderTokens.progressBarCircularContentLineHeight}: ${_sdds_serv.bodyL.lineHeight};

                ${_emotion.loaderTokens.spinnerSize}: 3.5rem;
            `,
            m: (0, _emotion.css)`
                ${_emotion.loaderTokens.width}: 100%;
                ${_emotion.loaderTokens.height}: 100%;

                ${_emotion.loaderTokens.progressBarCircularSize}: 48;
                ${_emotion.loaderTokens.progressBarCircularHeight}: 3rem;
                ${_emotion.loaderTokens.progressBarCircularWidth}: 3rem;
                ${_emotion.loaderTokens.progressBarCircularStrokeWidth}: 0.125rem;
                ${_emotion.loaderTokens.progressBarCircularStrokeSize}: 2;
                ${_emotion.loaderTokens.progressBarCircularContentFontFamily}: ${_sdds_serv.bodyM.fontFamily};
                ${_emotion.loaderTokens.progressBarCircularContentFontSize}: ${_sdds_serv.bodyM.fontSize};
                ${_emotion.loaderTokens.progressBarCircularContentFontStyle}: ${_sdds_serv.bodyM.fontStyle};
                ${_emotion.loaderTokens.progressBarCircularContentFontWeight}: ${_sdds_serv.bodyM.fontWeight};
                ${_emotion.loaderTokens.progressBarCircularContentLetterSpacing}: ${_sdds_serv.bodyM.letterSpacing};
                ${_emotion.loaderTokens.progressBarCircularContentLineHeight}: ${_sdds_serv.bodyM.lineHeight};

                ${_emotion.loaderTokens.spinnerSize}: 3rem;
            `,
            s: (0, _emotion.css)`
                ${_emotion.loaderTokens.width}: 100%;
                ${_emotion.loaderTokens.height}: 100%;

                ${_emotion.loaderTokens.progressBarCircularSize}: 32;
                ${_emotion.loaderTokens.progressBarCircularHeight}: 2.25rem;
                ${_emotion.loaderTokens.progressBarCircularWidth}: 2.25rem;
                ${_emotion.loaderTokens.progressBarCircularStrokeWidth}: 0.125rem;
                ${_emotion.loaderTokens.progressBarCircularStrokeSize}: 2;
                ${_emotion.loaderTokens.progressBarCircularContentFontFamily}: ${_sdds_serv.bodyS.fontFamily};
                ${_emotion.loaderTokens.progressBarCircularContentFontSize}: ${_sdds_serv.bodyS.fontSize};
                ${_emotion.loaderTokens.progressBarCircularContentFontStyle}: ${_sdds_serv.bodyS.fontStyle};
                ${_emotion.loaderTokens.progressBarCircularContentFontWeight}: ${_sdds_serv.bodyS.fontWeight};
                ${_emotion.loaderTokens.progressBarCircularContentLetterSpacing}: ${_sdds_serv.bodyS.letterSpacing};
                ${_emotion.loaderTokens.progressBarCircularContentLineHeight}: ${_sdds_serv.bodyS.lineHeight};

                ${_emotion.loaderTokens.spinnerSize}: 2.25rem;
            `,
            xs: (0, _emotion.css)`
                ${_emotion.loaderTokens.width}: 100%;
                ${_emotion.loaderTokens.height}: 100%;

                ${_emotion.loaderTokens.progressBarCircularSize}: 24;
                ${_emotion.loaderTokens.progressBarCircularHeight}: 1.5rem;
                ${_emotion.loaderTokens.progressBarCircularWidth}: 1.5rem;
                ${_emotion.loaderTokens.progressBarCircularStrokeWidth}: 0.125rem;
                ${_emotion.loaderTokens.progressBarCircularStrokeSize}: 2;
                ${_emotion.loaderTokens.progressBarCircularContentFontFamily}: ${_sdds_serv.bodyXS.fontFamily};
                ${_emotion.loaderTokens.progressBarCircularContentFontSize}: ${_sdds_serv.bodyXS.fontSize};
                ${_emotion.loaderTokens.progressBarCircularContentFontStyle}: ${_sdds_serv.bodyXS.fontStyle};
                ${_emotion.loaderTokens.progressBarCircularContentFontWeight}: ${_sdds_serv.bodyXS.fontWeight};
                ${_emotion.loaderTokens.progressBarCircularContentLetterSpacing}: ${_sdds_serv.bodyXS.letterSpacing};
                ${_emotion.loaderTokens.progressBarCircularContentLineHeight}: ${_sdds_serv.bodyXS.lineHeight};

                ${_emotion.loaderTokens.spinnerSize}: 1.5rem;
            `,
            xxs: (0, _emotion.css)`
                ${_emotion.loaderTokens.width}: 100%;
                ${_emotion.loaderTokens.height}: 100%;

                ${_emotion.loaderTokens.progressBarCircularSize}: 16;
                ${_emotion.loaderTokens.progressBarCircularHeight}: 1rem;
                ${_emotion.loaderTokens.progressBarCircularWidth}: 1rem;
                ${_emotion.loaderTokens.progressBarCircularStrokeWidth}: 0.125rem;
                ${_emotion.loaderTokens.progressBarCircularStrokeSize}: 2;
                ${_emotion.loaderTokens.progressBarCircularContentFontFamily}: ${_sdds_serv.bodyXXS.fontFamily};
                ${_emotion.loaderTokens.progressBarCircularContentFontSize}: ${_sdds_serv.bodyXXS.fontSize};
                ${_emotion.loaderTokens.progressBarCircularContentFontStyle}: ${_sdds_serv.bodyXXS.fontStyle};
                ${_emotion.loaderTokens.progressBarCircularContentFontWeight}: ${_sdds_serv.bodyXXS.fontWeight};
                ${_emotion.loaderTokens.progressBarCircularContentLetterSpacing}: ${_sdds_serv.bodyXXS.letterSpacing};
                ${_emotion.loaderTokens.progressBarCircularContentLineHeight}: ${_sdds_serv.bodyXXS.lineHeight};

                ${_emotion.loaderTokens.spinnerSize}: 1rem;
            `
        }
    }
};
