code: function normalizeProperties(input) {
    if (!input) return;
  
    if (Array.isArray(input)) {
      return flatten(input).reduce(function (acc, o) {
        return Object.assign(acc, o);
      }, {});
    }
  
    return clone(input);
  }
docs: Takes the `input` properties value and normalizes it into a single object.
  
  @param {Mixed} input  The properties value to normalize.
  @return {Object}