function calculateHighlightClass(date, highlights) {
  return (
    configMapping(
      highlights || {},
      date,
      (dateArg) => dateArg.toISODate(),
      'rev-Calendar-body-bodyCell--highlighted'
    ) || ''
  )
}
/**
 * A className for a date depending on whether or not it is 'highlighted.'
 * @private
 * @param {DateTime} date - the date in question as a Luxon DateTime
 * @param {object|Array|Function} highlights a mapping between dates and
 *   highlight classes. If an array, gives a standard --highlighted modifier to
 *   a found date cell.
 * @return {string} - a class to use for styling
 */
A className for a date depending on whether or not it is 'highlighted.'
@private
@param {DateTime} date - the date in question as a Luxon DateTime
@param {object|Array|Function} highlights a mapping between dates and
highlight classes. If an array, gives a standard --highlighted modifier to
a found date cell.
@return {string} - a class to use for styling
A className for a date depending on whether or not it is ' highlighted . ' @private @param { DateTime } date - the date in question as a Luxon DateTime @param { object|Array|Function } highlights a mapping between dates and highlight classes . If an array gives a standard -- highlighted modifier to a found date cell . @return { string } - a class to use for styling
function calculateHighlightClass(date, highlights) {
  return (
    configMapping(
      highlights || {},
      date,
      (dateArg) => dateArg.toISODate(),
      'rev-Calendar-body-bodyCell--highlighted'
    ) || ''
  )
}
function calculateHighlightClass ( date , highlights ) { return ( configMapping ( highlights || { } , date , ( dateArg ) => dateArg . toISODate ( ) , 'rev-Calendar-body-bodyCell--highlighted' ) || '' ) }
A className for a date depending on whether or not it is 'highlighted.'
A className for a date depending on whether or not it is ' highlighted . '