"use strict";

require("core-js/modules/es.object.define-property.js");
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.AttendeeActions = void 0;
var _i18n = require("../../../i18n");
var _action = require("../../button/action");
var _jsxRuntime = require("react/jsx-runtime");
var AttendeeActions = exports.AttendeeActions = function AttendeeActions(user) {
  var t = (0, _i18n.useI18n)();
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
    children: user.isMe ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_action.FcrActionButton, {
      size: "small",
      children: user.hasAudio ? t('fmt_device_label_audio_mute') : t('fmt_participants_member_button_unmute')
    }) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_action.FcrActionButton, {
      size: "small",
      children: t('fmt_chats_label_privatechat')
    })
  });
};