'use strict';constpropertyToValueAliases=require('./data/mappings.js');constmatchPropertyValue=function(property,value){constaliasToValue=propertyToValueAliases.get(property);if(!aliasToValue){thrownewError(`Unknown property \`${property}\`.`);}constcanonicalValue=aliasToValue.get(value);if(canonicalValue){returncanonicalValue;}thrownewError(`Unknown value \`${value}\` for property \`${property}\`.`);};module.exports=matchPropertyValue;