"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 config = {
    defaults: {
        view: 'default',
        size: 'xxl',
        shape: 'circled'
    },
    variations: {
        view: {
            default: (0, _styledcomponents.css)`
                ${_styledcomponents.avatarTokens.color}: var(--text-accent-gradient);
                ${_styledcomponents.avatarTokens.backgroundColor}: linear-gradient(94deg, rgba(62, 121, 240, 0.2) 6.49%, rgba(39, 198, 229, 0.2) 93.51%);
                ${_styledcomponents.avatarTokens.statusOnlineColor}: var(--surface-positive);
                ${_styledcomponents.avatarTokens.statusOfflineColor}: var(--surface-solid-tertiary);
                ${_styledcomponents.avatarTokens.scaleHover}: 1.02;
                ${_styledcomponents.avatarTokens.fontFamily}: var(--plasma-typo-text-font-family);
            `
        },
        size: {
            // TODO: #1044 токены типографики в Avatar
            xxl: (0, _styledcomponents.css)`
                ${_styledcomponents.avatarTokens.avatarSize}: 6.25rem;
                ${_styledcomponents.avatarTokens.fontSize}: 2rem;
                ${_styledcomponents.avatarTokens.fontWeight}: 600;
                ${_styledcomponents.avatarTokens.lineHeight}: 2rem;
                ${_styledcomponents.avatarTokens.statusIconSize}: 0.75rem;
                ${_styledcomponents.avatarTokens.borderRadius}: 1.125rem;

                ${_styledcomponents.avatarTokens.badgeBorderRadius}: 0.5rem;
                ${_styledcomponents.avatarTokens.badgeHeight}: 1.75rem;
                ${_styledcomponents.avatarTokens.badgePadding}: 0 0.688rem;
                ${_styledcomponents.avatarTokens.badgePaddingIconOnly}: 0 0.375rem;

                ${_styledcomponents.avatarTokens.badgeFontFamily}: var(--plasma-typo-body-s-font-family);
                ${_styledcomponents.avatarTokens.badgeFontSize}: var(--plasma-typo-body-s-font-size);
                ${_styledcomponents.avatarTokens.badgeFontStyle}: var(--plasma-typo-body-s-font-style);
                ${_styledcomponents.avatarTokens.badgeFontWeight}: var(--plasma-typo-body-s-font-weight);
                ${_styledcomponents.avatarTokens.badgeLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
                ${_styledcomponents.avatarTokens.badgeLineHeight}: var(--plasma-typo-body-s-line-height);

                ${_styledcomponents.avatarTokens.badgeLeftContentMarginLeft}: -0.063rem;
                ${_styledcomponents.avatarTokens.badgeLeftContentMarginRight}: 0.25rem;

                ${_styledcomponents.avatarTokens.badgeRightContentMarginLeft}: 0.25rem;
                ${_styledcomponents.avatarTokens.badgeRightContentMarginRight}: -0.063rem;
                ${_styledcomponents.avatarTokens.badgePilledBorderRadius}: 1.25rem;

                ${_styledcomponents.avatarTokens.counterBorderRadius}: 1rem;
                ${_styledcomponents.avatarTokens.counterHeight}: 1.75rem;
                ${_styledcomponents.avatarTokens.counterPadding}: 0 0.625rem;
                ${_styledcomponents.avatarTokens.counterFontFamily}: var(--plasma-typo-body-s-font-family);
                ${_styledcomponents.avatarTokens.counterFontSize}: var(--plasma-typo-body-s-font-size);
                ${_styledcomponents.avatarTokens.counterFontStyle}: var(--plasma-typo-body-s-font-style);
                ${_styledcomponents.avatarTokens.counterFontWeight}: var(--plasma-typo-body-s-font-weight);
                ${_styledcomponents.avatarTokens.counterLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
                ${_styledcomponents.avatarTokens.counterLineHeight}: var(--plasma-typo-body-s-line-height);
            `,
            l: (0, _styledcomponents.css)`
                ${_styledcomponents.avatarTokens.avatarSize}: 3rem;
                ${_styledcomponents.avatarTokens.fontSize}: 1.25rem;
                ${_styledcomponents.avatarTokens.fontWeight}: 600;
                ${_styledcomponents.avatarTokens.lineHeight}: 1.25rem;
                ${_styledcomponents.avatarTokens.statusIconSize}: 0.5rem;
                ${_styledcomponents.avatarTokens.borderRadius}: 0.75rem;

                ${_styledcomponents.avatarTokens.extraPlacementFactor}: 2;

                ${_styledcomponents.avatarTokens.badgeBorderRadius}: 0.375rem;
                ${_styledcomponents.avatarTokens.badgeHeight}: 1.25rem;
                ${_styledcomponents.avatarTokens.badgePadding}: 0 0.438rem;
                ${_styledcomponents.avatarTokens.badgePaddingIconOnly}: 0 0.25rem;

                ${_styledcomponents.avatarTokens.badgeFontFamily}: var(--plasma-typo-body-xxs-font-family);
                ${_styledcomponents.avatarTokens.badgeFontSize}: var(--plasma-typo-body-xxs-font-size);
                ${_styledcomponents.avatarTokens.badgeFontStyle}: var(--plasma-typo-body-xxs-font-style);
                ${_styledcomponents.avatarTokens.badgeFontWeight}: var(--plasma-typo-body-xxs-font-weight);
                ${_styledcomponents.avatarTokens.badgeLetterSpacing}: var(--plasma-typo-body-xxs-letter-spacing);
                ${_styledcomponents.avatarTokens.badgeLineHeight}: var(--plasma-typo-body-xxs-line-height);

                ${_styledcomponents.avatarTokens.badgeLeftContentMarginLeft}: -0.063rem;
                ${_styledcomponents.avatarTokens.badgeLeftContentMarginRight}: 0.125rem;

                ${_styledcomponents.avatarTokens.badgeRightContentMarginLeft}: 0.125rem;
                ${_styledcomponents.avatarTokens.badgeRightContentMarginRight}: -0.063rem;
                ${_styledcomponents.avatarTokens.badgePilledBorderRadius}: 1.25rem;

                ${_styledcomponents.avatarTokens.counterBorderRadius}: 1rem;
                ${_styledcomponents.avatarTokens.counterHeight}: 1.25rem;
                ${_styledcomponents.avatarTokens.counterPadding}: 0 0.375rem;
                ${_styledcomponents.avatarTokens.counterFontFamily}: var(--plasma-typo-body-xxs-font-family);
                ${_styledcomponents.avatarTokens.counterFontSize}: var(--plasma-typo-body-xxs-font-size);
                ${_styledcomponents.avatarTokens.counterFontStyle}: var(--plasma-typo-body-xxs-font-style);
                ${_styledcomponents.avatarTokens.counterFontWeight}: var(--plasma-typo-body-xxs-font-weight);
                ${_styledcomponents.avatarTokens.counterLetterSpacing}: var(--plasma-typo-body-xxs-letter-spacing);
                ${_styledcomponents.avatarTokens.counterLineHeight}: var(--plasma-typo-body-xxs-line-height);
            `,
            m: (0, _styledcomponents.css)`
                ${_styledcomponents.avatarTokens.avatarSize}: 2.25rem;
                ${_styledcomponents.avatarTokens.fontSize}: 0.875rem;
                ${_styledcomponents.avatarTokens.fontWeight}: 600;
                ${_styledcomponents.avatarTokens.lineHeight}: 0.875rem;
                ${_styledcomponents.avatarTokens.statusIconSize}: 0.5rem;
                ${_styledcomponents.avatarTokens.borderRadius}: 0.625rem;

                ${_styledcomponents.avatarTokens.extraPlacementFactor}: 2;

                ${_styledcomponents.avatarTokens.badgeBorderRadius}: 0.25rem;
                ${_styledcomponents.avatarTokens.badgeHeight}: 1rem;
                ${_styledcomponents.avatarTokens.badgePadding}: 0 0.25rem;
                ${_styledcomponents.avatarTokens.badgePaddingIconOnly}: 0 0.188rem;

                ${_styledcomponents.avatarTokens.badgeFontFamily}: var(--plasma-typo-body-xxs-font-family);
                ${_styledcomponents.avatarTokens.badgeFontSize}: var(--plasma-typo-body-xxs-font-size);
                ${_styledcomponents.avatarTokens.badgeFontStyle}: var(--plasma-typo-body-xxs-font-style);
                ${_styledcomponents.avatarTokens.badgeFontWeight}: var(--plasma-typo-body-xxs-font-weight);
                ${_styledcomponents.avatarTokens.badgeLetterSpacing}: var(--plasma-typo-body-xxs-letter-spacing);
                ${_styledcomponents.avatarTokens.badgeLineHeight}: var(--plasma-typo-body-xxs-line-height);

                ${_styledcomponents.avatarTokens.badgeLeftContentMarginLeft}: -0.063rem;
                ${_styledcomponents.avatarTokens.badgeLeftContentMarginRight}: 0.125rem;

                ${_styledcomponents.avatarTokens.badgeRightContentMarginLeft}: 0.125rem;
                ${_styledcomponents.avatarTokens.badgeRightContentMarginRight}: -0.063rem;
                ${_styledcomponents.avatarTokens.badgePilledBorderRadius}: 1.25rem;

                ${_styledcomponents.avatarTokens.counterBorderRadius}: 1rem;
                ${_styledcomponents.avatarTokens.counterHeight}: 1rem;
                ${_styledcomponents.avatarTokens.counterPadding}: 0 0.25rem;
                ${_styledcomponents.avatarTokens.counterFontFamily}: var(--plasma-typo-body-xxs-font-family);
                ${_styledcomponents.avatarTokens.counterFontSize}: var(--plasma-typo-body-xxs-font-size);
                ${_styledcomponents.avatarTokens.counterFontStyle}: var(--plasma-typo-body-xxs-font-style);
                ${_styledcomponents.avatarTokens.counterFontWeight}: var(--plasma-typo-body-xxs-font-weight);
                ${_styledcomponents.avatarTokens.counterLetterSpacing}: var(--plasma-typo-body-xxs-letter-spacing);
                ${_styledcomponents.avatarTokens.counterLineHeight}: var(--plasma-typo-body-xxs-line-height);
            `,
            s: (0, _styledcomponents.css)`
                ${_styledcomponents.avatarTokens.avatarSize}: 1.5rem;
                ${_styledcomponents.avatarTokens.fontSize}: 0.5rem;
                ${_styledcomponents.avatarTokens.fontWeight}: 600;
                ${_styledcomponents.avatarTokens.lineHeight}: 0.5rem;
                ${_styledcomponents.avatarTokens.statusIconSize}: 0.375rem;
                ${_styledcomponents.avatarTokens.borderRadius}: 0.5rem;

                ${_styledcomponents.avatarTokens.extraPlacementFactor}: 1;

                ${_styledcomponents.avatarTokens.counterBorderRadius}: 1rem;
                ${_styledcomponents.avatarTokens.counterHeight}: 0.75rem;
                ${_styledcomponents.avatarTokens.counterPadding}: 0 0.125rem;
                ${_styledcomponents.avatarTokens.counterFontFamily}: var(--plasma-typo-body-xxs-font-family);
                ${_styledcomponents.avatarTokens.counterFontSize}: var(--plasma-typo-body-xxs-font-size);
                ${_styledcomponents.avatarTokens.counterFontStyle}: var(--plasma-typo-body-xxs-font-style);
                ${_styledcomponents.avatarTokens.counterFontWeight}: var(--plasma-typo-body-xxs-font-weight);
                ${_styledcomponents.avatarTokens.counterLetterSpacing}: var(--plasma-typo-body-xxs-letter-spacing);
                ${_styledcomponents.avatarTokens.counterLineHeight}: var(--plasma-typo-body-xxs-line-height);
            `,
            fit: (0, _styledcomponents.css)`
                ${_styledcomponents.avatarTokens.avatarSize}: 100%;
                ${_styledcomponents.avatarTokens.fontSize}: 0;
                ${_styledcomponents.avatarTokens.fontWeight}: 0;
                ${_styledcomponents.avatarTokens.lineHeight}: 0;
                ${_styledcomponents.avatarTokens.statusIconSize}: 0;
            `
        },
        shape: {
            circled: (0, _styledcomponents.css)`
                ${_styledcomponents.avatarTokens.borderRadius}: 50%;
                ${_styledcomponents.avatarTokens.statusLeft}: calc(0.867 * var(${_styledcomponents.avatarTokens.avatarSize}) - var(${_styledcomponents.avatarTokens.statusIconSize}) / 2);
                ${_styledcomponents.avatarTokens.statusTop}: calc(0.867 * var(${_styledcomponents.avatarTokens.avatarSize}) - var(${_styledcomponents.avatarTokens.statusIconSize}) / 2);
            `,
            rounded: (0, _styledcomponents.css)`
                ${_styledcomponents.avatarTokens.statusLeft}: calc(var(${_styledcomponents.avatarTokens.avatarSize}) - var(${_styledcomponents.avatarTokens.statusIconSize}));
                ${_styledcomponents.avatarTokens.statusTop}: calc(var(${_styledcomponents.avatarTokens.avatarSize}) - var(${_styledcomponents.avatarTokens.statusIconSize}));
            `
        },
        badgeView: {
            default: (0, _styledcomponents.css)`
                ${_styledcomponents.avatarTokens.badgeColor}: var(--inverse-text-primary);
                ${_styledcomponents.avatarTokens.badgeBackground}: var(--surface-solid-default);

                ${_styledcomponents.avatarTokens.badgeColorTransparent}: var(--text-primary);
                ${_styledcomponents.avatarTokens.badgeBackgroundTransparent}: var(--surface-transparent-secondary);

                ${_styledcomponents.avatarTokens.badgeColorClear}: var(--text-primary);
                ${_styledcomponents.avatarTokens.badgeBackgroundClear}: var(--surface-clear);
            `,
            accent: (0, _styledcomponents.css)`
                ${_styledcomponents.avatarTokens.badgeColor}: var(--on-dark-text-primary);
                ${_styledcomponents.avatarTokens.badgeBackground}: var(--surface-accent);

                ${_styledcomponents.avatarTokens.badgeColorTransparent}: var(--text-accent);
                ${_styledcomponents.avatarTokens.badgeBackgroundTransparent}: var(--surface-transparent-accent);

                ${_styledcomponents.avatarTokens.badgeColorClear}: var(--text-accent);
                ${_styledcomponents.avatarTokens.badgeBackgroundClear}: var(--surface-clear);
            `,
            positive: (0, _styledcomponents.css)`
                ${_styledcomponents.avatarTokens.badgeColor}: var(--on-dark-text-primary);
                ${_styledcomponents.avatarTokens.badgeBackground}: var(--surface-positive);

                ${_styledcomponents.avatarTokens.badgeColorTransparent}: var(--text-positive);
                ${_styledcomponents.avatarTokens.badgeBackgroundTransparent}: var(--surface-transparent-positive);

                ${_styledcomponents.avatarTokens.badgeColorClear}: var(--text-positive);
                ${_styledcomponents.avatarTokens.badgeBackgroundClear}: var(--surface-clear);
            `,
            warning: (0, _styledcomponents.css)`
                ${_styledcomponents.avatarTokens.badgeColor}: var(--on-dark-text-primary);
                ${_styledcomponents.avatarTokens.badgeBackground}: var(--surface-warning);

                ${_styledcomponents.avatarTokens.badgeColorTransparent}: var(--text-warning);
                ${_styledcomponents.avatarTokens.badgeBackgroundTransparent}: var(--surface-transparent-warning);

                ${_styledcomponents.avatarTokens.badgeColorClear}: var(--text-warning);
                ${_styledcomponents.avatarTokens.badgeBackgroundClear}: var(--surface-clear);
            `,
            negative: (0, _styledcomponents.css)`
                ${_styledcomponents.avatarTokens.badgeColor}: var(--on-dark-text-primary);
                ${_styledcomponents.avatarTokens.badgeBackground}: var(--surface-negative);

                ${_styledcomponents.avatarTokens.badgeColorTransparent}: var(--text-negative);
                ${_styledcomponents.avatarTokens.badgeBackgroundTransparent}: var(--surface-transparent-negative);

                ${_styledcomponents.avatarTokens.badgeColorClear}: var(--text-negative);
                ${_styledcomponents.avatarTokens.badgeBackgroundClear}: var(--surface-clear);
            `,
            dark: (0, _styledcomponents.css)`
                ${_styledcomponents.avatarTokens.badgeColor}: var(--on-dark-text-primary);
                ${_styledcomponents.avatarTokens.badgeBackground}: var(--on-light-surface-solid-default);

                ${_styledcomponents.avatarTokens.badgeColorTransparent}: var(--on-dark-text-primary);
                ${_styledcomponents.avatarTokens.badgeBackgroundTransparent}: var(--on-light-surface-transparent-deep);

                ${_styledcomponents.avatarTokens.badgeColorClear}: var(--on-light-text-primary);
                ${_styledcomponents.avatarTokens.badgeBackgroundClear}: var(--surface-clear);
            `,
            light: (0, _styledcomponents.css)`
                ${_styledcomponents.avatarTokens.badgeColor}: var(--on-light-text-primary);
                ${_styledcomponents.avatarTokens.badgeBackground}: var(--on-dark-surface-solid-default);

                ${_styledcomponents.avatarTokens.badgeColorTransparent}: var(--on-dark-text-primary);
                ${_styledcomponents.avatarTokens.badgeBackgroundTransparent}: var(--on-dark-surface-transparent-card);

                ${_styledcomponents.avatarTokens.badgeColorClear}: var(--on-dark-text-primary);
                ${_styledcomponents.avatarTokens.badgeBackgroundClear}: var(--surface-clear);
            `
        },
        counterView: {
            default: (0, _styledcomponents.css)`
                ${_styledcomponents.avatarTokens.counterColor}: var(--inverse-text-primary);
                ${_styledcomponents.avatarTokens.counterBackground}: var(--surface-solid-default);
            `,
            accent: (0, _styledcomponents.css)`
                ${_styledcomponents.avatarTokens.counterColor}: var(--on-dark-text-primary);
                ${_styledcomponents.avatarTokens.counterBackground}: var(--surface-accent);
            `,
            positive: (0, _styledcomponents.css)`
                ${_styledcomponents.avatarTokens.counterColor}: var(--on-dark-text-primary);
                ${_styledcomponents.avatarTokens.counterBackground}: var(--surface-positive);
            `,
            warning: (0, _styledcomponents.css)`
                ${_styledcomponents.avatarTokens.counterColor}: var(--on-dark-text-primary);
                ${_styledcomponents.avatarTokens.counterBackground}: var(--surface-warning);
            `,
            negative: (0, _styledcomponents.css)`
                ${_styledcomponents.avatarTokens.counterColor}: var(--on-dark-text-primary);
                ${_styledcomponents.avatarTokens.counterBackground}: var(--surface-negative);
            `,
            dark: (0, _styledcomponents.css)`
                ${_styledcomponents.avatarTokens.counterColor}: var(--on-dark-text-primary);
                ${_styledcomponents.avatarTokens.counterBackground}: var(--on-light-surface-solid-default);
            `,
            light: (0, _styledcomponents.css)`
                ${_styledcomponents.avatarTokens.counterColor}: var(--on-light-text-primary);
                ${_styledcomponents.avatarTokens.counterBackground}: var(--on-dark-surface-solid-default);
            `
        }
    }
};
