"use strict";Object.defineProperty(exports, "__esModule", {value: true});

var _chunkABN7F6EVjs = require('./chunk-ABN7F6EV.js');


var _chunkMBVY4LQVjs = require('./chunk-MBVY4LQV.js');

// tmp-babel/notifications/web/NotificationsList/NotificationItem/ReactionCreated/index.js
var _utils = require('@baseapp-frontend/utils');
var _jsxruntime = require('react/jsx-runtime');
var ReactionCreated = function ReactionCreated2(_ref) {
  var _notification$target, _notification$actor, _notification$actor2, _notification$actor3, _notification$target2;
  var notification = _ref.notification;
  var message = "liked your ".concat((_notification$target = notification.target) === null || _notification$target === void 0 ? void 0 : _notification$target.__typename.toLowerCase());
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkABN7F6EVjs.Notification_default.Root, {
    children: [/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkABN7F6EVjs.Notification_default.Avatar, {
      actorAvatar: (_notification$actor = notification.actor) === null || _notification$actor === void 0 || (_notification$actor = _notification$actor.avatar) === null || _notification$actor === void 0 ? void 0 : _notification$actor.url,
      actorName: (_notification$actor2 = notification.actor) === null || _notification$actor2 === void 0 ? void 0 : _notification$actor2.fullName
    }), /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkMBVY4LQVjs.NotificationContent_default, {
      children: [/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMBVY4LQVjs.NotificationContent_default.Header, {
        message,
        timestamp: _utils.formatRelativeTime.call(void 0, notification.timestamp),
        actorName: (_notification$actor3 = notification.actor) === null || _notification$actor3 === void 0 ? void 0 : _notification$actor3.fullName,
        unread: notification.unread
      }), /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMBVY4LQVjs.NotificationContent_default.Body, {
        content: (_notification$target2 = notification.target) === null || _notification$target2 === void 0 ? void 0 : _notification$target2.body
      })]
    })]
  });
};
var ReactionCreated_default = ReactionCreated;



exports.ReactionCreated_default = ReactionCreated_default;
//# sourceMappingURL=chunk-3AZJO4AS.js.map