function analyzeOriginalValue(originalValue) {
  const isNum = isNumber(originalValue)
  const logicallessValue = isNum
    ? originalValue
    : originalValue.replace(/^\s*logical\s*/i, '')
  const isLogical = !isNum && logicallessValue.length !== originalValue.length
  const importantlessValue = isNum
    ? logicallessValue
    : logicallessValue.replace(/\s*!important.*?$/, '')
  const isImportant =
    !isNum && importantlessValue.length !== logicallessValue.length

  return {isLogical, logicallessValue, isImportant, importantlessValue}
}
function analyzeOriginalValue(originalValue) {
  const isNum = isNumber(originalValue)
  const logicallessValue = isNum
    ? originalValue
    : originalValue.replace(/^\s*logical\s*/i, '')
  const isLogical = !isNum && logicallessValue.length !== originalValue.length
  const importantlessValue = isNum
    ? logicallessValue
    : logicallessValue.replace(/\s*!important.*?$/, '')
  const isImportant =
    !isNum && importantlessValue.length !== logicallessValue.length

  return {isLogical, logicallessValue, isImportant, importantlessValue}
}
function analyzeOriginalValue ( originalValue ) { const isNum = isNumber ( originalValue ) const logicallessValue = isNum ? originalValue : originalValue . replace ( / ^\s*logical\s* / i , '' ) const isLogical = ! isNum && logicallessValue . length !== originalValue . length const importantlessValue = isNum ? logicallessValue : logicallessValue . replace ( / \s*!important.*?$ / , '' ) const isImportant = ! isNum && importantlessValue . length !== logicallessValue . length return { isLogical , logicallessValue , isImportant , importantlessValue } }
/* eslint-enable complexity
/ * eslint - enable complexity