"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("../constants/notifications.js");exports.getNotificationAttachmentByType=function(e,n){return[t.NOTIFICATION_TRIGGER_TYPES.activityComment,t.NOTIFICATION_TRIGGER_TYPES.dashboardAppAnnotation].includes(e)?n.attachment:e===t.NOTIFICATION_TRIGGER_TYPES.activity?n.context.post.attachment:null},exports.getNotificationMessageByType=function(e,n){return[t.NOTIFICATION_TRIGGER_TYPES.activityComment,t.NOTIFICATION_TRIGGER_TYPES.dashboardAppAnnotation].includes(e)?n.body:e===t.NOTIFICATION_TRIGGER_TYPES.activity?n.context.post.body:null},exports.getNotificationSourceUrl=function(t){return t?"/feed/".concat(t):null};
