"use strict";Object.defineProperty(exports, "__esModule", {value: true});// tmp-babel/activity-log/web/ActivityLogComponent/utils.js
var getUpdateMessage = function getUpdateMessage2(verb, diff) {
  var baseMessage = "Updated ".concat(verb.split(".")[0]);
  if (!diff) {
    return baseMessage;
  }
  var updateMessages = Object.keys(diff).map(function(key) {
    switch (key) {
      case "image":
        return "Updated their profile picture";
      case "banner_image":
        return "Updated their profile banner";
      case "biography":
        return "Updated their bio";
      default:
        return "Updated ".concat(key.replace("_", " "));
    }
  });
  return updateMessages.length > 0 ? updateMessages.join(", ") : baseMessage;
};



exports.getUpdateMessage = getUpdateMessage;
//# sourceMappingURL=chunk-FFG7IVDO.js.map