{"version":3,"sources":["../node_modules/@mui/material/utils/useId.js","../node_modules/@mui/utils/esm/useId.js","../node_modules/@mui/styles/getThemeProps/getThemeProps.js","../node_modules/@mui/styles/withStyles/withStyles.js","../node_modules/@mui/utils/esm/visuallyHidden.js","../node_modules/@mui/material/internal/svg-icons/Star.js","../node_modules/@mui/material/internal/svg-icons/StarBorder.js","../node_modules/@mui/material/Rating/ratingClasses.js","../node_modules/@mui/material/Rating/Rating.js"],"names":["useId","globalId","idOverride","React","defaultId","setDefaultId","id","getThemeProps","params","theme","name","props","components","defaultProps","propName","output","_extends","undefined","_excluded","_excluded2","withStyles","stylesOrCreator","options","Component","defaultTheme","withTheme","stylesOptions","_objectWithoutPropertiesLoose","classNamePrefix","useStyles","makeStyles","displayName","WithStyles","ref","other","classes","more","useTheme","_jsx","hoistNonReactStatics","visuallyHidden","border","clip","height","margin","overflow","padding","position","whiteSpace","width","createSvgIcon","d","getRatingUtilityClass","slot","generateUtilityClass","ratingClasses","generateUtilityClasses","roundValueToPrecision","value","precision","nearest","Math","round","Number","toFixed","num","decimalPart","toString","split","length","getDecimalPrecision","RatingRoot","styled","overridesResolver","styles","ownerState","root","capitalize","size","readOnly","display","fontSize","typography","pxToRem","color","cursor","textAlign","WebkitTapHighlightColor","disabled","opacity","palette","action","disabledOpacity","pointerEvents","focusVisible","iconActive","outline","RatingLabel","label","emptyValueFocused","top","bottom","RatingIcon","icon","iconEmpty","iconFilled","iconHover","iconFocus","transition","transitions","create","duration","shortest","transform","RatingDecimal","shouldForwardProp","prop","slotShouldForwardProp","decimal","IconContainer","RatingItem","emptyIcon","focus","getLabelText","highlightSelectedOnly","hover","IconContainerComponent","isActive","itemValue","labelProps","onBlur","onChange","onClick","onFocus","ratingValue","isFilled","isHovered","isFocused","isChecked","ratingValueRounded","container","as","className","clsx","children","_jsxs","htmlFor","type","checked","defaultIcon","Star","defaultEmptyIcon","StarBorder","defaultLabelText","Rating","inProps","useThemeProps","defaultValue","emptyLabelText","max","nameProp","onChangeActive","onMouseLeave","onMouseMove","valueProp","useControlled","controlled","default","valueDerived","setValueState","valueRounded","setState","useIsFocusVisible","isFocusVisibleRef","handleBlurVisible","handleFocusVisible","focusVisibleRef","setFocusVisible","rootRef","handleFocusRef","useForkRef","handleRef","handleChange","event","newValue","target","parseFloat","handleClear","clientX","clientY","handleFocus","current","newFocus","prev","handleBlur","setEmptyValueFocused","slots","labelEmptyValue","composeClasses","useUtilityClasses","percent","rootNode","getBoundingClientRect","right","left","firstChild","direction","newHover","min","clamp","role","Array","from","map","_","index","ratingItemProps","ceil","items","$","indexDecimal","itemDecimalValue","style"],"mappings":"iIAAA,aACeA,MAAf,G,sFCAIC,EAAW,EACA,SAASD,EAAME,GAAY,MACNC,WAAeD,GADT,mBACjCE,EADiC,KACtBC,EADsB,KAElCC,EAAKJ,GAAcE,EAWzB,OAVAD,aAAgB,WACG,MAAbC,GAMFC,EAAa,OAAD,OADZJ,GAAY,MAGb,CAACG,IACGE,I,4FCZM,SAASC,EAAcC,GAAQ,IAE1CC,EAGED,EAHFC,MACAC,EAEEF,EAFFE,KACAC,EACEH,EADFG,MAGF,IAAKF,IAAUA,EAAMG,aAAeH,EAAMG,WAAWF,KAAUD,EAAMG,WAAWF,GAAMG,aACpF,OAAOF,EAGT,IAKIG,EALEC,EAASC,YAAS,GAAIL,GAItBE,EAAeJ,EAAMG,WAAWF,GAAMG,aAG5C,IAAKC,KAAYD,OACUI,IAArBF,EAAOD,KACTC,EAAOD,GAAYD,EAAaC,IAIpC,OAAOC,E,oBCzBHG,EAAY,CAAC,eAAgB,YAAa,QAC1CC,EAAa,CAAC,WAwGLC,IA3FI,SAACC,GAAD,IAAkBC,EAAlB,uDAA4B,GAA5B,OAAmC,SAAAC,GAAa,IAE/DC,EAGEF,EAHFE,aAF+D,EAK7DF,EAFFG,iBAH+D,SAI/Df,EACEY,EADFZ,KAEIgB,EAAgBC,YAA8BL,EAASJ,GAQ7D,IAAIU,EAAkBlB,EAahBmB,EAAYC,YAA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KkF,EAAYxG,YAAS,GAAIwM,EAAiB,CAEjEzF,UAAU,EACVC,UAAW6F,EACX5F,WAAY,CACV6F,MAAOJ,EAAMrJ,OAAS,IAAMuJ,EAAe,GAAK,CAC9C3K,MAAO4K,IAAqBnK,GAArB,WAAiCkK,EAAe,GAAKjK,EAAY,IAAjE,KAA0E,KACjFd,SAAU,SACVE,SAAU,eAGZ8K,OAEL7F,GAGL,OAAoB1F,cAAKkF,EAAYxG,YAAS,GAAIwM,EAAiB,CACjEzF,SAAUA,EACVC,UAAWA,IACTA,OACDjD,KAAaS,GAAyByD,eAAMhD,EAAa,CAC5D6C,UAAWC,YAAK5G,GAAQ+D,MAAO/D,GAAQkK,iBACvC1H,WAAYA,GACZqE,SAAU,CAAc1G,cAAK,QAAS,CACpCwG,UAAW3G,GAAQK,eACnBkB,MAAO,GACPpD,GAAI,GAAF,OAAKI,GAAL,UACFyI,KAAM,QACNzI,KAAMA,GACN0I,QAAyB,MAAhBsB,GACTrC,QAAS,kBAAM8D,IAAqB,IACpCjE,OAAQ,kBAAMiE,IAAqB,IACnChE,SAAUmD,KACKhJ,cAAK,OAAQ,CAC5BwG,UAAW3G,GAAQK,eACnBwG,SAAUc,cA0JHJ","file":"static/js/22.b3ece509.chunk.js","sourcesContent":["import { unstable_useId as useId } from '@mui/utils';\nexport default useId;","import * as React from 'react';\nlet globalId = 0;\nexport default function useId(idOverride) {\n const [defaultId, setDefaultId] = React.useState(idOverride);\n const id = idOverride || defaultId;\n React.useEffect(() => {\n if (defaultId == null) {\n // Fallback to this default id when possible.\n // Use the incrementing value for client-side rendering only.\n // We can't use it server-side.\n // If you want to use random values please consider the Birthday Problem: https://en.wikipedia.org/wiki/Birthday_problem\n globalId += 1;\n setDefaultId(`mui-${globalId}`);\n }\n }, [defaultId]);\n return id;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\n\n/* eslint-disable no-restricted-syntax */\nexport default function getThemeProps(params) {\n const {\n theme,\n name,\n props\n } = params;\n\n if (!theme || !theme.components || !theme.components[name] || !theme.components[name].defaultProps) {\n return props;\n }\n\n const output = _extends({}, props); // Resolve default props, code borrow from React source.\n // https://github.com/facebook/react/blob/15a8f031838a553e41c0b66eb1bcf1da8448104d/packages/react/src/ReactElement.js#L221\n\n\n const defaultProps = theme.components[name].defaultProps;\n let propName;\n\n for (propName in defaultProps) {\n if (output[propName] === undefined) {\n output[propName] = defaultProps[propName];\n }\n }\n\n return output;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"defaultTheme\", \"withTheme\", \"name\"],\n _excluded2 = [\"classes\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport hoistNonReactStatics from 'hoist-non-react-statics';\nimport { getDisplayName } from '@mui/utils';\nimport makeStyles from '../makeStyles';\nimport getThemeProps from '../getThemeProps';\nimport useTheme from '../useTheme'; // Link a style sheet with a component.\n// It does not modify the component passed to it;\n// instead, it returns a new component, with a `classes` property.\n\nimport { jsx as _jsx } from \"react/jsx-runtime\";\n\nconst withStyles = (stylesOrCreator, options = {}) => Component => {\n const {\n defaultTheme,\n withTheme = false,\n name\n } = options,\n stylesOptions = _objectWithoutPropertiesLoose(options, _excluded);\n\n if (process.env.NODE_ENV !== 'production') {\n if (Component === undefined) {\n throw new Error(['You are calling withStyles(styles)(Component) with an undefined component.', 'You may have forgotten to import it.'].join('\\n'));\n }\n }\n\n let classNamePrefix = name;\n\n if (process.env.NODE_ENV !== 'production') {\n if (!name) {\n // Provide a better DX outside production.\n const displayName = getDisplayName(Component);\n\n if (displayName !== undefined) {\n classNamePrefix = displayName;\n }\n }\n }\n\n const useStyles = makeStyles(stylesOrCreator, _extends({\n defaultTheme,\n Component,\n name: name || Component.displayName,\n classNamePrefix\n }, stylesOptions));\n const WithStyles = /*#__PURE__*/React.forwardRef(function WithStyles(props, ref) {\n const other = _objectWithoutPropertiesLoose(props, _excluded2); // The wrapper receives only user supplied props, which could be a subset of\n // the actual props Component might receive due to merging with defaultProps.\n // So copying it here would give us the same result in the wrapper as well.\n\n\n const classes = useStyles(_extends({}, Component.defaultProps, props));\n let theme;\n let more = other;\n\n if (typeof name === 'string' || withTheme) {\n // name and withTheme are invariant in the outer scope\n // eslint-disable-next-line react-hooks/rules-of-hooks\n theme = useTheme() || defaultTheme;\n\n if (name) {\n more = getThemeProps({\n theme,\n name,\n props: other\n });\n } // Provide the theme to the wrapped component.\n // So we don't have to use the `withTheme()` Higher-order Component.\n\n\n if (withTheme && !more.theme) {\n more.theme = theme;\n }\n }\n\n return /*#__PURE__*/_jsx(Component, _extends({\n ref: ref,\n classes: classes\n }, more));\n });\n process.env.NODE_ENV !== \"production\" ? WithStyles.propTypes = {\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object\n } : void 0;\n\n if (process.env.NODE_ENV !== 'production') {\n WithStyles.displayName = `WithStyles(${getDisplayName(Component)})`;\n }\n\n hoistNonReactStatics(WithStyles, Component);\n\n if (process.env.NODE_ENV !== 'production') {\n // Exposed for test purposes.\n WithStyles.Naked = Component;\n WithStyles.options = options;\n WithStyles.useStyles = useStyles;\n }\n\n return WithStyles;\n};\n\nexport default withStyles;","const visuallyHidden = {\n border: 0,\n clip: 'rect(0 0 0 0)',\n height: '1px',\n margin: -1,\n overflow: 'hidden',\n padding: 0,\n position: 'absolute',\n whiteSpace: 'nowrap',\n width: '1px'\n};\nexport default visuallyHidden;","import * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n/**\n * @ignore - internal component.\n */\n\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z\"\n}), 'Star');","import * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n/**\n * @ignore - internal component.\n */\n\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon( /*#__PURE__*/_jsx(\"path\", {\n d: \"M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z\"\n}), 'StarBorder');","import { generateUtilityClass, generateUtilityClasses } from '@mui/base';\nexport function getRatingUtilityClass(slot) {\n return generateUtilityClass('MuiRating', slot);\n}\nconst ratingClasses = generateUtilityClasses('MuiRating', ['root', 'sizeSmall', 'sizeMedium', 'sizeLarge', 'readOnly', 'disabled', 'focusVisible', 'visuallyHidden', 'pristine', 'label', 'labelEmptyValueActive', 'icon', 'iconEmpty', 'iconFilled', 'iconHover', 'iconFocus', 'iconActive', 'decimal']);\nexport default ratingClasses;","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"value\"],\n _excluded2 = [\"className\", \"defaultValue\", \"disabled\", \"emptyIcon\", \"emptyLabelText\", \"getLabelText\", \"highlightSelectedOnly\", \"icon\", \"IconContainerComponent\", \"max\", \"name\", \"onChange\", \"onChangeActive\", \"onMouseLeave\", \"onMouseMove\", \"precision\", \"readOnly\", \"size\", \"value\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { chainPropTypes, visuallyHidden } from '@mui/utils';\nimport { unstable_composeClasses as composeClasses } from '@mui/base';\nimport useTheme from '../styles/useTheme';\nimport { capitalize, useForkRef, useIsFocusVisible, useControlled, unstable_useId as useId } from '../utils';\nimport Star from '../internal/svg-icons/Star';\nimport StarBorder from '../internal/svg-icons/StarBorder';\nimport useThemeProps from '../styles/useThemeProps';\nimport styled, { slotShouldForwardProp } from '../styles/styled';\nimport ratingClasses, { getRatingUtilityClass } from './ratingClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\n\nfunction clamp(value, min, max) {\n if (value < min) {\n return min;\n }\n\n if (value > max) {\n return max;\n }\n\n return value;\n}\n\nfunction getDecimalPrecision(num) {\n const decimalPart = num.toString().split('.')[1];\n return decimalPart ? decimalPart.length : 0;\n}\n\nfunction roundValueToPrecision(value, precision) {\n if (value == null) {\n return value;\n }\n\n const nearest = Math.round(value / precision) * precision;\n return Number(nearest.toFixed(getDecimalPrecision(precision)));\n}\n\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n size,\n readOnly,\n disabled,\n emptyValueFocused,\n focusVisible\n } = ownerState;\n const slots = {\n root: ['root', `size${capitalize(size)}`, disabled && 'disabled', focusVisible && 'focusVisible', readOnly && 'readyOnly'],\n label: ['label', 'pristine'],\n labelEmptyValue: [emptyValueFocused && 'labelEmptyValueActive'],\n icon: ['icon'],\n iconEmpty: ['iconEmpty'],\n iconFilled: ['iconFilled'],\n iconHover: ['iconHover'],\n iconFocus: ['iconFocus'],\n iconActive: ['iconActive'],\n decimal: ['decimal'],\n visuallyHidden: ['visuallyHidden']\n };\n return composeClasses(slots, getRatingUtilityClass, classes);\n};\n\nconst RatingRoot = styled('span', {\n name: 'MuiRating',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [{\n [`& .${ratingClasses.visuallyHidden}`]: styles.visuallyHidden\n }, styles.root, styles[`size${capitalize(ownerState.size)}`], ownerState.readOnly && styles.readOnly];\n }\n})(({\n theme,\n ownerState\n}) => _extends({\n display: 'inline-flex',\n // Required to position the pristine input absolutely\n position: 'relative',\n fontSize: theme.typography.pxToRem(24),\n color: '#faaf00',\n cursor: 'pointer',\n textAlign: 'left',\n WebkitTapHighlightColor: 'transparent',\n [`&.${ratingClasses.disabled}`]: {\n opacity: theme.palette.action.disabledOpacity,\n pointerEvents: 'none'\n },\n [`&.${ratingClasses.focusVisible} .${ratingClasses.iconActive}`]: {\n outline: '1px solid #999'\n },\n [`& .${ratingClasses.visuallyHidden}`]: visuallyHidden\n}, ownerState.size === 'small' && {\n fontSize: theme.typography.pxToRem(18)\n}, ownerState.size === 'large' && {\n fontSize: theme.typography.pxToRem(30)\n}, ownerState.readOnly && {\n pointerEvents: 'none'\n}));\nconst RatingLabel = styled('label', {\n name: 'MuiRating',\n slot: 'Label',\n overridesResolver: (props, styles) => styles.label\n})(({\n ownerState\n}) => _extends({\n cursor: 'inherit'\n}, ownerState.emptyValueFocused && {\n top: 0,\n bottom: 0,\n position: 'absolute',\n outline: '1px solid #999',\n width: '100%'\n}));\nconst RatingIcon = styled('span', {\n name: 'MuiRating',\n slot: 'Icon',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.icon, ownerState.iconEmpty && styles.iconEmpty, ownerState.iconFilled && styles.iconFilled, ownerState.iconHover && styles.iconHover, ownerState.iconFocus && styles.iconFocus, ownerState.iconActive && styles.iconActive];\n }\n})(({\n theme,\n ownerState\n}) => _extends({\n // Fit wrapper to actual icon size.\n display: 'flex',\n transition: theme.transitions.create('transform', {\n duration: theme.transitions.duration.shortest\n }),\n // Fix mouseLeave issue.\n // https://github.com/facebook/react/issues/4492\n pointerEvents: 'none'\n}, ownerState.iconActive && {\n transform: 'scale(1.2)'\n}, ownerState.iconEmpty && {\n color: theme.palette.action.disabled\n}));\nconst RatingDecimal = styled('span', {\n name: 'MuiRating',\n slot: 'Decimal',\n shouldForwardProp: prop => slotShouldForwardProp(prop) && prop !== 'iconActive',\n overridesResolver: (props, styles) => {\n const {\n iconActive\n } = props;\n return [styles.decimal, iconActive && styles.iconActive];\n }\n})(({\n iconActive\n}) => _extends({\n position: 'relative'\n}, iconActive && {\n transform: 'scale(1.2)'\n}));\n\nfunction IconContainer(props) {\n const other = _objectWithoutPropertiesLoose(props, _excluded);\n\n return /*#__PURE__*/_jsx(\"span\", _extends({}, other));\n}\n\nprocess.env.NODE_ENV !== \"production\" ? IconContainer.propTypes = {\n value: PropTypes.number.isRequired\n} : void 0;\n\nfunction RatingItem(props) {\n const {\n classes,\n disabled,\n emptyIcon,\n focus,\n getLabelText,\n highlightSelectedOnly,\n hover,\n icon,\n IconContainerComponent,\n isActive,\n itemValue,\n labelProps,\n name,\n onBlur,\n onChange,\n onClick,\n onFocus,\n readOnly,\n ownerState,\n ratingValue,\n ratingValueRounded\n } = props;\n const isFilled = highlightSelectedOnly ? itemValue === ratingValue : itemValue <= ratingValue;\n const isHovered = itemValue <= hover;\n const isFocused = itemValue <= focus;\n const isChecked = itemValue === ratingValueRounded;\n const id = useId();\n\n const container = /*#__PURE__*/_jsx(RatingIcon, {\n as: IconContainerComponent,\n value: itemValue,\n className: clsx(classes.icon, isFilled ? classes.iconFilled : classes.iconEmpty, isHovered && classes.iconHover, isFocused && classes.iconFocus, isActive && classes.iconActive),\n ownerState: _extends({}, ownerState, {\n iconEmpty: !isFilled,\n iconFilled: isFilled,\n iconHover: isHovered,\n iconFocus: isFocused,\n iconActive: isActive\n }),\n children: emptyIcon && !isFilled ? emptyIcon : icon\n });\n\n if (readOnly) {\n return /*#__PURE__*/_jsx(\"span\", _extends({}, labelProps, {\n children: container\n }));\n }\n\n return /*#__PURE__*/_jsxs(React.Fragment, {\n children: [/*#__PURE__*/_jsxs(RatingLabel, _extends({\n ownerState: _extends({}, ownerState, {\n emptyValueFocused: undefined\n }),\n htmlFor: id\n }, labelProps, {\n children: [container, /*#__PURE__*/_jsx(\"span\", {\n className: classes.visuallyHidden,\n children: getLabelText(itemValue)\n })]\n })), /*#__PURE__*/_jsx(\"input\", {\n className: classes.visuallyHidden,\n onFocus: onFocus,\n onBlur: onBlur,\n onChange: onChange,\n onClick: onClick,\n disabled: disabled,\n value: itemValue,\n id: id,\n type: \"radio\",\n name: name,\n checked: isChecked\n })]\n });\n}\n\nprocess.env.NODE_ENV !== \"production\" ? RatingItem.propTypes = {\n classes: PropTypes.object.isRequired,\n disabled: PropTypes.bool.isRequired,\n emptyIcon: PropTypes.node,\n focus: PropTypes.number.isRequired,\n getLabelText: PropTypes.func.isRequired,\n highlightSelectedOnly: PropTypes.bool.isRequired,\n hover: PropTypes.number.isRequired,\n icon: PropTypes.node,\n IconContainerComponent: PropTypes.elementType.isRequired,\n isActive: PropTypes.bool.isRequired,\n itemValue: PropTypes.number.isRequired,\n labelProps: PropTypes.object,\n name: PropTypes.string,\n onBlur: PropTypes.func.isRequired,\n onChange: PropTypes.func.isRequired,\n onClick: PropTypes.func.isRequired,\n onFocus: PropTypes.func.isRequired,\n ownerState: PropTypes.object.isRequired,\n ratingValue: PropTypes.number,\n ratingValueRounded: PropTypes.number,\n readOnly: PropTypes.bool.isRequired\n} : void 0;\n\nconst defaultIcon = /*#__PURE__*/_jsx(Star, {\n fontSize: \"inherit\"\n});\n\nconst defaultEmptyIcon = /*#__PURE__*/_jsx(StarBorder, {\n fontSize: \"inherit\"\n});\n\nfunction defaultLabelText(value) {\n return `${value} Star${value !== 1 ? 's' : ''}`;\n}\n\nconst Rating = /*#__PURE__*/React.forwardRef(function Rating(inProps, ref) {\n const props = useThemeProps({\n name: 'MuiRating',\n props: inProps\n });\n\n const {\n className,\n defaultValue = null,\n disabled = false,\n emptyIcon = defaultEmptyIcon,\n emptyLabelText = 'Empty',\n getLabelText = defaultLabelText,\n highlightSelectedOnly = false,\n icon = defaultIcon,\n IconContainerComponent = IconContainer,\n max = 5,\n name: nameProp,\n onChange,\n onChangeActive,\n onMouseLeave,\n onMouseMove,\n precision = 1,\n readOnly = false,\n size = 'medium',\n value: valueProp\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded2);\n\n const name = useId(nameProp);\n const [valueDerived, setValueState] = useControlled({\n controlled: valueProp,\n default: defaultValue,\n name: 'Rating'\n });\n const valueRounded = roundValueToPrecision(valueDerived, precision);\n const theme = useTheme();\n const [{\n hover,\n focus\n }, setState] = React.useState({\n hover: -1,\n focus: -1\n });\n let value = valueRounded;\n\n if (hover !== -1) {\n value = hover;\n }\n\n if (focus !== -1) {\n value = focus;\n }\n\n const {\n isFocusVisibleRef,\n onBlur: handleBlurVisible,\n onFocus: handleFocusVisible,\n ref: focusVisibleRef\n } = useIsFocusVisible();\n const [focusVisible, setFocusVisible] = React.useState(false);\n const rootRef = React.useRef();\n const handleFocusRef = useForkRef(focusVisibleRef, rootRef);\n const handleRef = useForkRef(handleFocusRef, ref);\n\n const handleMouseMove = event => {\n if (onMouseMove) {\n onMouseMove(event);\n }\n\n const rootNode = rootRef.current;\n const {\n right,\n left\n } = rootNode.getBoundingClientRect();\n const {\n width\n } = rootNode.firstChild.getBoundingClientRect();\n let percent;\n\n if (theme.direction === 'rtl') {\n percent = (right - event.clientX) / (width * max);\n } else {\n percent = (event.clientX - left) / (width * max);\n }\n\n let newHover = roundValueToPrecision(max * percent + precision / 2, precision);\n newHover = clamp(newHover, precision, max);\n setState(prev => prev.hover === newHover && prev.focus === newHover ? prev : {\n hover: newHover,\n focus: newHover\n });\n setFocusVisible(false);\n\n if (onChangeActive && hover !== newHover) {\n onChangeActive(event, newHover);\n }\n };\n\n const handleMouseLeave = event => {\n if (onMouseLeave) {\n onMouseLeave(event);\n }\n\n const newHover = -1;\n setState({\n hover: newHover,\n focus: newHover\n });\n\n if (onChangeActive && hover !== newHover) {\n onChangeActive(event, newHover);\n }\n };\n\n const handleChange = event => {\n let newValue = event.target.value === '' ? null : parseFloat(event.target.value); // Give mouse priority over keyboard\n // Fix https://github.com/mui-org/material-ui/issues/22827\n\n if (hover !== -1) {\n newValue = hover;\n }\n\n setValueState(newValue);\n\n if (onChange) {\n onChange(event, newValue);\n }\n };\n\n const handleClear = event => {\n // Ignore keyboard events\n // https://github.com/facebook/react/issues/7407\n if (event.clientX === 0 && event.clientY === 0) {\n return;\n }\n\n setState({\n hover: -1,\n focus: -1\n });\n setValueState(null);\n\n if (onChange && parseFloat(event.target.value) === valueRounded) {\n onChange(event, null);\n }\n };\n\n const handleFocus = event => {\n handleFocusVisible(event);\n\n if (isFocusVisibleRef.current === true) {\n setFocusVisible(true);\n }\n\n const newFocus = parseFloat(event.target.value);\n setState(prev => ({\n hover: prev.hover,\n focus: newFocus\n }));\n };\n\n const handleBlur = event => {\n if (hover !== -1) {\n return;\n }\n\n handleBlurVisible(event);\n\n if (isFocusVisibleRef.current === false) {\n setFocusVisible(false);\n }\n\n const newFocus = -1;\n setState(prev => ({\n hover: prev.hover,\n focus: newFocus\n }));\n };\n\n const [emptyValueFocused, setEmptyValueFocused] = React.useState(false);\n\n const ownerState = _extends({}, props, {\n defaultValue,\n disabled,\n emptyIcon,\n emptyLabelText,\n emptyValueFocused,\n focusVisible,\n getLabelText,\n icon,\n IconContainerComponent,\n max,\n precision,\n readOnly,\n size\n });\n\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsxs(RatingRoot, _extends({\n ref: handleRef,\n onMouseMove: handleMouseMove,\n onMouseLeave: handleMouseLeave,\n className: clsx(classes.root, className),\n ownerState: ownerState,\n role: readOnly ? 'img' : null,\n \"aria-label\": readOnly ? getLabelText(value) : null\n }, other, {\n children: [Array.from(new Array(max)).map((_, index) => {\n const itemValue = index + 1;\n const ratingItemProps = {\n classes,\n disabled,\n emptyIcon,\n focus,\n getLabelText,\n highlightSelectedOnly,\n hover,\n icon,\n IconContainerComponent,\n name,\n onBlur: handleBlur,\n onChange: handleChange,\n onClick: handleClear,\n onFocus: handleFocus,\n ratingValue: value,\n ratingValueRounded: valueRounded,\n readOnly,\n ownerState\n };\n const isActive = itemValue === Math.ceil(value) && (hover !== -1 || focus !== -1);\n\n if (precision < 1) {\n const items = Array.from(new Array(1 / precision));\n return /*#__PURE__*/_jsx(RatingDecimal, {\n className: clsx(classes.decimal, isActive && classes.iconActive),\n ownerState: ownerState,\n iconActive: isActive,\n children: items.map(($, indexDecimal) => {\n const itemDecimalValue = roundValueToPrecision(itemValue - 1 + (indexDecimal + 1) * precision, precision);\n return /*#__PURE__*/_jsx(RatingItem, _extends({}, ratingItemProps, {\n // The icon is already displayed as active\n isActive: false,\n itemValue: itemDecimalValue,\n labelProps: {\n style: items.length - 1 === indexDecimal ? {} : {\n width: itemDecimalValue === value ? `${(indexDecimal + 1) * precision * 100}%` : '0%',\n overflow: 'hidden',\n position: 'absolute'\n }\n }\n }), itemDecimalValue);\n })\n }, itemValue);\n }\n\n return /*#__PURE__*/_jsx(RatingItem, _extends({}, ratingItemProps, {\n isActive: isActive,\n itemValue: itemValue\n }), itemValue);\n }), !readOnly && !disabled && /*#__PURE__*/_jsxs(RatingLabel, {\n className: clsx(classes.label, classes.labelEmptyValue),\n ownerState: ownerState,\n children: [/*#__PURE__*/_jsx(\"input\", {\n className: classes.visuallyHidden,\n value: \"\",\n id: `${name}-empty`,\n type: \"radio\",\n name: name,\n checked: valueRounded == null,\n onFocus: () => setEmptyValueFocused(true),\n onBlur: () => setEmptyValueFocused(false),\n onChange: handleChange\n }), /*#__PURE__*/_jsx(\"span\", {\n className: classes.visuallyHidden,\n children: emptyLabelText\n })]\n })]\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? Rating.propTypes\n/* remove-proptypes */\n= {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The default value. Use when the component is not controlled.\n * @default null\n */\n defaultValue: PropTypes.number,\n\n /**\n * If `true`, the component is disabled.\n * @default false\n */\n disabled: PropTypes.bool,\n\n /**\n * The icon to display when empty.\n * @default \n */\n emptyIcon: PropTypes.node,\n\n /**\n * The label read when the rating input is empty.\n * @default 'Empty'\n */\n emptyLabelText: PropTypes.node,\n\n /**\n * Accepts a function which returns a string value that provides a user-friendly name for the current value of the rating.\n * This is important for screen reader users.\n *\n * For localization purposes, you can use the provided [translations](/guides/localization/).\n * @param {number} value The rating label's value to format.\n * @returns {string}\n * @default function defaultLabelText(value) {\n * return `${value} Star${value !== 1 ? 's' : ''}`;\n * }\n */\n getLabelText: PropTypes.func,\n\n /**\n * If `true`, only the selected icon will be highlighted.\n * @default false\n */\n highlightSelectedOnly: PropTypes.bool,\n\n /**\n * The icon to display.\n * @default \n */\n icon: PropTypes.node,\n\n /**\n * The component containing the icon.\n * @default function IconContainer(props) {\n * const { value, ...other } = props;\n * return ;\n * }\n */\n IconContainerComponent: PropTypes.elementType,\n\n /**\n * Maximum rating.\n * @default 5\n */\n max: PropTypes.number,\n\n /**\n * The name attribute of the radio `input` elements.\n * This input `name` should be unique within the page.\n * Being unique within a form is insufficient since the `name` is used to generated IDs.\n */\n name: PropTypes.string,\n\n /**\n * Callback fired when the value changes.\n * @param {React.SyntheticEvent} event The event source of the callback.\n * @param {number|null} value The new value.\n */\n onChange: PropTypes.func,\n\n /**\n * Callback function that is fired when the hover state changes.\n * @param {React.SyntheticEvent} event The event source of the callback.\n * @param {number} value The new value.\n */\n onChangeActive: PropTypes.func,\n\n /**\n * @ignore\n */\n onMouseLeave: PropTypes.func,\n\n /**\n * @ignore\n */\n onMouseMove: PropTypes.func,\n\n /**\n * The minimum increment value change allowed.\n * @default 1\n */\n precision: chainPropTypes(PropTypes.number, props => {\n if (props.precision < 0.1) {\n return new Error(['MUI: The prop `precision` should be above 0.1.', 'A value below this limit has an imperceptible impact.'].join('\\n'));\n }\n\n return null;\n }),\n\n /**\n * Removes all hover effects and pointer events.\n * @default false\n */\n readOnly: PropTypes.bool,\n\n /**\n * The size of the component.\n * @default 'medium'\n */\n size: PropTypes\n /* @typescript-to-proptypes-ignore */\n .oneOfType([PropTypes.oneOf(['small', 'medium', 'large']), PropTypes.string]),\n\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n\n /**\n * The rating value.\n */\n value: PropTypes.number\n} : void 0;\nexport default Rating;"],"sourceRoot":""}