"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "base", {
    enumerable: true,
    get: function() {
        return base;
    }
});
const _react = require("@emotion/react");
const _Ratingtokens = require("../../Rating.tokens");
const _Ratingstyles = require("../../Rating.styles");
const _constants = require("../../../../utils/constants");
const getIconMediaQueries = (prefix = _Ratingtokens.iconSizePrefixes.multiple)=>{
    return Object.entries(_constants.screenGroupBreakpoints).map(([name, minWidth])=>{
        return `
@media (min-width: ${minWidth}) {
    width: var(${prefix}_${name}-screen, var(${_Ratingtokens.tokens.iconSize}));
    height: var(${prefix}_${name}-screen, var(${_Ratingtokens.tokens.iconSize}));
}`;
    }).join('\n');
};
const base = (0, /*#__PURE__*/ _react.css)("gap:var(", _Ratingtokens.tokens.gap, ");", _Ratingstyles.Content, "{gap:var(", _Ratingtokens.tokens.contentGap, ");&.", _Ratingtokens.classes.singleIconContent, "{gap:var(", _Ratingtokens.tokens.singleIconContentGap, ");}&.", _Ratingtokens.classes.valueAfter, "{flex-direction:row-reverse;justify-content:flex-end;}}", _Ratingstyles.Score, "{font-family:var(", _Ratingtokens.tokens.fontFamily, ");font-size:var(", _Ratingtokens.tokens.fontSize, ");font-style:var(", _Ratingtokens.tokens.fontStyle, ");font-weight:var(", _Ratingtokens.tokens.fontWeight, ");letter-spacing:var(", _Ratingtokens.tokens.letterSpacing, ");line-height:var(", _Ratingtokens.tokens.lineHeight, ");}", _Ratingstyles.HelperText, "{font-family:var(", _Ratingtokens.tokens.helperTextFontFamily, ");font-size:var(", _Ratingtokens.tokens.helperTextFontSize, ");font-style:var(", _Ratingtokens.tokens.helperTextFontStyle, ");font-weight:var(", _Ratingtokens.tokens.helperTextFontWeight, ");letter-spacing:var(", _Ratingtokens.tokens.helperTextLetterSpacing, ");line-height:var(", _Ratingtokens.tokens.helperTextLineHeight, ");}", _Ratingstyles.Wrapper, "{gap:var(", _Ratingtokens.tokens.wrapperGap, ");}", _Ratingstyles.StarsWrapper, "{gap:var(", _Ratingtokens.tokens.starsWrapperGap, ");}", _Ratingstyles.Star, "{margin-bottom:var(", _Ratingtokens.tokens.iconMarginBottom, ",0);width:var(", _Ratingtokens.tokens.iconSize, ");height:var(", _Ratingtokens.tokens.iconSize, ");", getIconMediaQueries(), "        \n        ", _Ratingtokens.privateTokens.iconSize, ":var(", _Ratingtokens.tokens.actualIconSize, ",100%);.", _Ratingtokens.classes.customIconSizing, "{display:inline-block;width:var(", _Ratingtokens.tokens.actualIconSize, ",100%);height:var(", _Ratingtokens.tokens.actualIconSize, ",100%);}svg{width:var(", _Ratingtokens.tokens.actualIconSize, ",100%);height:var(", _Ratingtokens.tokens.actualIconSize, ",100%);transform-origin:top left;transform:scale(var(", _Ratingtokens.tokens.scaleFactor, ",1));}&.", _Ratingtokens.classes.singleIcon, "{margin-bottom:var(", _Ratingtokens.tokens.singleIconMarginBottom, ",0);width:var(", _Ratingtokens.tokens.singleIconSize, ");height:var(", _Ratingtokens.tokens.singleIconSize, ");", getIconMediaQueries(_Ratingtokens.iconSizePrefixes.single), "}}", "base");
