{"version":3,"file":"resident-benefits.DqXHf5Ud.js","sources":["../../../src/components/cap-rating/cap-full-icon.tsx","../../../src/components/cap-rating/cap-half-icon.tsx","../../../src/components/cap-rating/cap-empty-icon.tsx","../../../src/components/cap-rating/cap-rating.tsx","../../../src/components/resident-benefits/resident-benefits-best-image.webp","../../../src/components/resident-benefits/resident-benefits-good-image.webp","../../../src/components/resident-benefits/resident-benefits-basic-image.webp","../../../src/components/resident-benefits/resident-benefits-empty-image.webp","../../../src/components/resident-benefits/resident-benefits.tsx"],"sourcesContent":["export default function CapFullIcon() {\n return (\n \n )\n}\n","export default function CapHalfIcon() {\n return (\n \n )\n}\n","export default function CapEmptyIcon() {\n return (\n \n )\n}\n","import { cn } from '@lib/utils'\nimport CapFullIcon from './cap-full-icon'\nimport CapHalfIcon from './cap-half-icon'\nimport CapEmptyIcon from './cap-empty-icon'\n\nexport const CapRating = ({\n rating,\n hideText = false,\n className\n}: {\n rating: string\n hideText?: boolean\n className?: string\n}) => {\n const { numericRating, fullCaps, halfCaps, emptyCaps } = calculateCapRatings(rating)\n\n return (\n
\n {numericRating}{' '}\n / 5\n
\n )}\n\n {stateCode ? `${stateCode} resident` : 'Resident'} benefits\n
\n