dist/node_modules/msw/lib/umd/index.js
/**
  	* Selects a color for a debug namespace
  	* @param {String} namespace The namespace string for the for the debug instance to be colored
  	* @return {Number|String} An ANSI color code for the given namespace
  	* @api private
  	*/
Selects a color for a debug namespace
@param {String} namespace The namespace string for the for the debug instance to be colored
@return {Number|String} An ANSI color code for the given namespace
@api private
Selects a color for a debug namespace @param { String } namespace The namespace string for the for the debug instance to be colored @return { Number|String } An ANSI color code for the given namespace @api private
function selectColor(namespace) {
  		let hash = 0;
  		for (let i = 0; i < namespace.length; i++) {
  			hash = ((hash << 5) - hash) + namespace.charCodeAt(i);
  			hash |= 0; 
  		}
  		return createDebug.colors[Math.abs(hash) % createDebug.colors.length];
  	}
function selectColor ( namespace ) { let hash = 0 ; for ( let i = 0 ; i < namespace . length ; i ++ ) { hash = ( ( hash << 5 ) - hash ) + namespace . charCodeAt ( i ) ; hash |= 0 ; } return createDebug . colors [ Math . abs ( hash ) % createDebug . colors . length ] ; }
Selects a color for a debug namespace
 @param {String} namespace The namespace string for the for the debug instance to be colored
 @return {Number|String} An ANSI color code for the given namespace
 @api private
Selects a color for a debug namespace @param { String } namespace The namespace string for the for the debug instance to be colored @return { Number|String } An ANSI color code for the given namespace @api private
// Convert to 32bit integer