function decode(input) {
  return decodeURIComponent(input.replace(/\+/g, ' '));
}
Decode a URI encoded string.

@param {String} input The URI encoded string.
@returns {String} The decoded string.
@api private