sceyt-chat-react-uikit 1.7.5-beta.10 → 1.7.5-beta.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -11086,11 +11086,6 @@ function setPollVotesLoadingStateAC(pollId, optionId, loadingState) {
11086
11086
  loadingState: loadingState
11087
11087
  });
11088
11088
  }
11089
- function setPollVotesInitialCountAC(initialCount) {
11090
- return setPollVotesInitialCount({
11091
- initialCount: initialCount
11092
- });
11093
- }
11094
11089
 
11095
11090
  var initialState$1 = {
11096
11091
  messagesLoadingState: null,
@@ -11680,8 +11675,7 @@ var _messageSlice$actions = messageSlice.actions,
11680
11675
  setPollVotesList = _messageSlice$actions.setPollVotesList,
11681
11676
  addPollVotesToList = _messageSlice$actions.addPollVotesToList,
11682
11677
  setPollVotesLoadingState = _messageSlice$actions.setPollVotesLoadingState,
11683
- deletePollVotesFromList = _messageSlice$actions.deletePollVotesFromList,
11684
- setPollVotesInitialCount = _messageSlice$actions.setPollVotesInitialCount;
11678
+ deletePollVotesFromList = _messageSlice$actions.deletePollVotesFromList;
11685
11679
  var MessageReducer = messageSlice.reducer;
11686
11680
 
11687
11681
  var initialState$2 = {
@@ -14340,7 +14334,7 @@ function watchForEvents() {
14340
14334
  };
14341
14335
  });
14342
14336
  _loop = /*#__PURE__*/_regenerator().m(function _callee() {
14343
- var _yield$take, type, args, createdChannel, channelFilterTypes, getFromContacts, channelExists, _chan, channel, _chan2, _channel, member, _channelExists, _activeChannelId, groupName, updateChannelData, _channel2, _channelExists2, _channel3, removedMembers, _activeChannelId2, _channelExists3, activeChannel, _updateChannelData, _groupName, _channel4, addedMembers, _activeChannelId3, _channelExists4, _updateChannelData2, _groupName2, updatedChannel, _channelExists5, subject, avatarUrl, muted, mutedTill, metadata, _activeChannelId4, _groupName3, _channel5, message, messageToHandle, _channelFilterTypes, _activeChannelId5, _channelExists6, channelForAdd, hasNextMessage, _groupName4, showNotifications, tabIsActive, _state$ThemeReducer$n, _state$ThemeReducer$n2, _state$ThemeReducer$n3, _state$ThemeReducer$n4, _state$ThemeReducer$n5, _state$ThemeReducer$n6, contactsMap, _getFromContacts, state, theme, accentColor, textSecondary, messageBody, channelId, markerList, _channel6, _activeChannelId6, updateLastMessage, markersMap, activeChannelMessages, lastMessage, _channelId, _channel7, _channel8, deletedMessage, _activeChannelId7, _channelExists7, _channel9, _message, _activeChannelId8, _channelExists8, _channel0, user, _message2, reaction, isSelf, _activeChannelId9, _state$ThemeReducer$n7, _state$ThemeReducer$n8, _state$ThemeReducer$n9, _state$ThemeReducer$n0, _state$ThemeReducer$n1, _state$ThemeReducer$n10, _contactsMap, _getFromContacts2, _state, _theme, _accentColor, _textSecondary, _messageBody, channelUpdateParams, _channel1, pollDetails, messageId, _activeChannelId0, addedVotes, obj, _store$getState$Messa, hasNext, _iterator, _step, vote, _channel10, _pollDetails, _messageId, _activeChannelId1, deletedVotes, _iterator2, _step2, _vote, _channel11, _pollDetails2, _messageId2, _activeChannelId10, retractedVotes, _channel12, _messageId3, _activeChannelId11, _channel13, _user, _message3, _reaction, channelFromMap, _isSelf, _activeChannelId12, _channelUpdateParams, _channel14, _updatedChannel, _channel15, _activeChannelId13, channelExist, _channel16, _channel17, _channel18, _channel19, _channel20, _channel21, _channel22, _groupName5, _channel23, _groupName6, _channel24, members, _activeChannelId14, i, _channel25, _channel26, _channelId2, from, name, status, _t;
14337
+ var _yield$take, type, args, createdChannel, channelFilterTypes, getFromContacts, channelExists, _chan, channel, _chan2, _channel, member, _channelExists, _activeChannelId, groupName, updateChannelData, _channel2, _channelExists2, _channel3, removedMembers, _activeChannelId2, _channelExists3, activeChannel, _updateChannelData, _groupName, _channel4, addedMembers, _activeChannelId3, _channelExists4, _updateChannelData2, _groupName2, updatedChannel, _channelExists5, subject, avatarUrl, muted, mutedTill, metadata, _activeChannelId4, _groupName3, _channel5, message, messageToHandle, _channelFilterTypes, _activeChannelId5, _channelExists6, channelForAdd, hasNextMessage, _groupName4, showNotifications, tabIsActive, _state$ThemeReducer$n, _state$ThemeReducer$n2, _state$ThemeReducer$n3, _state$ThemeReducer$n4, _state$ThemeReducer$n5, _state$ThemeReducer$n6, contactsMap, _getFromContacts, state, theme, accentColor, textSecondary, messageBody, channelId, markerList, _channel6, _activeChannelId6, updateLastMessage, markersMap, activeChannelMessages, lastMessage, _channelId, _channel7, _channel8, deletedMessage, _activeChannelId7, _channelExists7, _channel9, _message, _activeChannelId8, _channelExists8, _channel0, user, _message2, reaction, isSelf, _activeChannelId9, _state$ThemeReducer$n7, _state$ThemeReducer$n8, _state$ThemeReducer$n9, _state$ThemeReducer$n0, _state$ThemeReducer$n1, _state$ThemeReducer$n10, _contactsMap, _getFromContacts2, _state, _theme, _accentColor, _textSecondary, _messageBody, channelUpdateParams, _channel1, pollDetails, messageId, _activeChannelId0, addedVotes, obj, _store$getState$Messa, key, hasNext, _iterator, _step, vote, _channel10, _pollDetails, _messageId, _activeChannelId1, deletedVotes, _iterator2, _step2, _vote, _channel11, _pollDetails2, _messageId2, _activeChannelId10, retractedVotes, _iterator3, _step3, _vote2, _channel12, _messageId3, _activeChannelId11, _channel13, _user, _message3, _reaction, channelFromMap, _isSelf, _activeChannelId12, _channelUpdateParams, _channel14, _updatedChannel, _channel15, _activeChannelId13, channelExist, _channel16, _channel17, _channel18, _channel19, _channel20, _channel21, _channel22, _groupName5, _channel23, _groupName6, _channel24, members, _activeChannelId14, i, _channel25, _channel26, _channelId2, from, name, status, _t;
14344
14338
  return _regenerator().w(function (_context) {
14345
14339
  while (1) switch (_context.n) {
14346
14340
  case 0:
@@ -14351,7 +14345,7 @@ function watchForEvents() {
14351
14345
  type = _yield$take.type;
14352
14346
  args = _yield$take.args;
14353
14347
  _t = type;
14354
- _context.n = _t === CHANNEL_EVENT_TYPES.CREATE ? 2 : _t === CHANNEL_EVENT_TYPES.JOIN ? 7 : _t === CHANNEL_EVENT_TYPES.LEAVE ? 9 : _t === CHANNEL_EVENT_TYPES.BLOCK ? 19 : _t === CHANNEL_EVENT_TYPES.UNBLOCK ? 21 : _t === CHANNEL_EVENT_TYPES.KICK_MEMBERS ? 22 : _t === CHANNEL_EVENT_TYPES.ADD_MEMBERS ? 33 : _t === CHANNEL_EVENT_TYPES.UPDATE_CHANNEL ? 43 : _t === CHANNEL_EVENT_TYPES.MESSAGE ? 48 : _t === CHANNEL_EVENT_TYPES.MESSAGE_MARKERS_RECEIVED ? 65 : _t === CHANNEL_EVENT_TYPES.DELETE ? 72 : _t === CHANNEL_EVENT_TYPES.DELETE_MESSAGE ? 74 : _t === CHANNEL_EVENT_TYPES.EDIT_MESSAGE ? 78 : _t === CHANNEL_EVENT_TYPES.REACTION_ADDED ? 82 : _t === CHANNEL_EVENT_TYPES.POLL_ADDED ? 89 : _t === CHANNEL_EVENT_TYPES.POLL_DELETED ? 94 : _t === CHANNEL_EVENT_TYPES.POLL_RETRACTED ? 100 : _t === CHANNEL_EVENT_TYPES.POLL_CLOSED ? 103 : _t === CHANNEL_EVENT_TYPES.REACTION_DELETED ? 106 : _t === CHANNEL_EVENT_TYPES.UNREAD_MESSAGES_INFO ? 110 : _t === CHANNEL_EVENT_TYPES.CLEAR_HISTORY ? 113 : _t === CHANNEL_EVENT_TYPES.MUTE ? 119 : _t === CHANNEL_EVENT_TYPES.UNMUTE ? 121 : _t === CHANNEL_EVENT_TYPES.PINED ? 123 : _t === CHANNEL_EVENT_TYPES.UNPINED ? 125 : _t === CHANNEL_EVENT_TYPES.HIDE ? 127 : _t === CHANNEL_EVENT_TYPES.UNHIDE ? 129 : _t === CHANNEL_EVENT_TYPES.CHANNEL_MARKED_AS_UNREAD ? 131 : _t === CHANNEL_EVENT_TYPES.CHANNEL_MARKED_AS_READ ? 134 : _t === CHANNEL_EVENT_TYPES.CHANGE_ROLE ? 137 : _t === CHANNEL_EVENT_TYPES.FROZEN ? 144 : _t === CHANNEL_EVENT_TYPES.UNFROZEN ? 145 : _t === CHANNEL_EVENT_TYPES.CHANNEL_EVENT ? 146 : _t === CONNECTION_EVENT_TYPES.CONNECTION_STATUS_CHANGED ? 155 : 158;
14348
+ _context.n = _t === CHANNEL_EVENT_TYPES.CREATE ? 2 : _t === CHANNEL_EVENT_TYPES.JOIN ? 7 : _t === CHANNEL_EVENT_TYPES.LEAVE ? 9 : _t === CHANNEL_EVENT_TYPES.BLOCK ? 19 : _t === CHANNEL_EVENT_TYPES.UNBLOCK ? 21 : _t === CHANNEL_EVENT_TYPES.KICK_MEMBERS ? 22 : _t === CHANNEL_EVENT_TYPES.ADD_MEMBERS ? 33 : _t === CHANNEL_EVENT_TYPES.UPDATE_CHANNEL ? 43 : _t === CHANNEL_EVENT_TYPES.MESSAGE ? 48 : _t === CHANNEL_EVENT_TYPES.MESSAGE_MARKERS_RECEIVED ? 65 : _t === CHANNEL_EVENT_TYPES.DELETE ? 72 : _t === CHANNEL_EVENT_TYPES.DELETE_MESSAGE ? 74 : _t === CHANNEL_EVENT_TYPES.EDIT_MESSAGE ? 78 : _t === CHANNEL_EVENT_TYPES.REACTION_ADDED ? 82 : _t === CHANNEL_EVENT_TYPES.POLL_ADDED ? 89 : _t === CHANNEL_EVENT_TYPES.POLL_DELETED ? 94 : _t === CHANNEL_EVENT_TYPES.POLL_RETRACTED ? 99 : _t === CHANNEL_EVENT_TYPES.POLL_CLOSED ? 104 : _t === CHANNEL_EVENT_TYPES.REACTION_DELETED ? 107 : _t === CHANNEL_EVENT_TYPES.UNREAD_MESSAGES_INFO ? 111 : _t === CHANNEL_EVENT_TYPES.CLEAR_HISTORY ? 114 : _t === CHANNEL_EVENT_TYPES.MUTE ? 120 : _t === CHANNEL_EVENT_TYPES.UNMUTE ? 122 : _t === CHANNEL_EVENT_TYPES.PINED ? 124 : _t === CHANNEL_EVENT_TYPES.UNPINED ? 126 : _t === CHANNEL_EVENT_TYPES.HIDE ? 128 : _t === CHANNEL_EVENT_TYPES.UNHIDE ? 130 : _t === CHANNEL_EVENT_TYPES.CHANNEL_MARKED_AS_UNREAD ? 132 : _t === CHANNEL_EVENT_TYPES.CHANNEL_MARKED_AS_READ ? 135 : _t === CHANNEL_EVENT_TYPES.CHANGE_ROLE ? 138 : _t === CHANNEL_EVENT_TYPES.FROZEN ? 145 : _t === CHANNEL_EVENT_TYPES.UNFROZEN ? 146 : _t === CHANNEL_EVENT_TYPES.CHANNEL_EVENT ? 147 : _t === CONNECTION_EVENT_TYPES.CONNECTION_STATUS_CHANGED ? 156 : 159;
14355
14349
  break;
14356
14350
  case 2:
14357
14351
  createdChannel = args.createdChannel;
@@ -14385,7 +14379,7 @@ function watchForEvents() {
14385
14379
  addChannelToAllChannels(createdChannel);
14386
14380
  }
14387
14381
  case 6:
14388
- return _context.a(3, 159);
14382
+ return _context.a(3, 160);
14389
14383
  case 7:
14390
14384
  channel = args.channel;
14391
14385
  log.info('channel JOIN ... . ', channel);
@@ -14396,7 +14390,7 @@ function watchForEvents() {
14396
14390
  if (!_chan2) {
14397
14391
  addChannelToAllChannels(channel);
14398
14392
  }
14399
- return _context.a(3, 159);
14393
+ return _context.a(3, 160);
14400
14394
  case 9:
14401
14395
  _channel = args.channel, member = args.member;
14402
14396
  log.info('channel LEAVE ... ', _channel, member);
@@ -14455,7 +14449,7 @@ function watchForEvents() {
14455
14449
  mutedTill: _channel.mutedTill
14456
14450
  });
14457
14451
  case 18:
14458
- return _context.a(3, 159);
14452
+ return _context.a(3, 160);
14459
14453
  case 19:
14460
14454
  log.info('channel BLOCK ... ');
14461
14455
  _channel2 = args.channel;
@@ -14467,10 +14461,10 @@ function watchForEvents() {
14467
14461
  _context.n = 20;
14468
14462
  return effects.put(removeChannelAC(_channel2.id));
14469
14463
  case 20:
14470
- return _context.a(3, 159);
14464
+ return _context.a(3, 160);
14471
14465
  case 21:
14472
14466
  log.info('channel UNBLOCK ... ');
14473
- return _context.a(3, 159);
14467
+ return _context.a(3, 160);
14474
14468
  case 22:
14475
14469
  _channel3 = args.channel, removedMembers = args.removedMembers;
14476
14470
  log.info('channel KICK_MEMBERS ... ', removedMembers);
@@ -14540,7 +14534,7 @@ function watchForEvents() {
14540
14534
  muted: _channel3.muted,
14541
14535
  mutedTill: _channel3.mutedTill
14542
14536
  });
14543
- return _context.a(3, 159);
14537
+ return _context.a(3, 160);
14544
14538
  case 33:
14545
14539
  _channel4 = args.channel, addedMembers = args.addedMembers;
14546
14540
  log.info('channel ADD_MEMBERS ... ', addedMembers);
@@ -14595,7 +14589,7 @@ function watchForEvents() {
14595
14589
  muted: _channel4.muted,
14596
14590
  mutedTill: _channel4.mutedTill
14597
14591
  });
14598
- return _context.a(3, 159);
14592
+ return _context.a(3, 160);
14599
14593
  case 43:
14600
14594
  log.info('channel UPDATE_CHANNEL ... ');
14601
14595
  updatedChannel = args.updatedChannel;
@@ -14642,7 +14636,7 @@ function watchForEvents() {
14642
14636
  mutedTill: mutedTill,
14643
14637
  metadata: isJSON(metadata) ? JSON.parse(metadata) : metadata
14644
14638
  });
14645
- return _context.a(3, 159);
14639
+ return _context.a(3, 160);
14646
14640
  case 48:
14647
14641
  _channel5 = args.channel, message = args.message;
14648
14642
  log.info('channel MESSAGE ... id : ', message.id, ', channel.id: ', _channel5.id);
@@ -14807,7 +14801,7 @@ function watchForEvents() {
14807
14801
  });
14808
14802
  updateChannelLastMessageOnAllChannels(_channel5.id, _channel5.lastMessage);
14809
14803
  case 64:
14810
- return _context.a(3, 159);
14804
+ return _context.a(3, 160);
14811
14805
  case 65:
14812
14806
  channelId = args.channelId, markerList = args.markerList;
14813
14807
  _context.n = 66;
@@ -14877,7 +14871,7 @@ function watchForEvents() {
14877
14871
  _context.n = 71;
14878
14872
  return effects.put(updateMessagesMarkersAC(channelId, markerList.name, markerList));
14879
14873
  case 71:
14880
- return _context.a(3, 159);
14874
+ return _context.a(3, 160);
14881
14875
  case 72:
14882
14876
  _channelId = args.channelId;
14883
14877
  log.info('channel DELETE ... ');
@@ -14886,7 +14880,7 @@ function watchForEvents() {
14886
14880
  return effects.put(setChannelToRemoveAC(_channel7));
14887
14881
  case 73:
14888
14882
  deleteChannelFromAllChannels(_channelId);
14889
- return _context.a(3, 159);
14883
+ return _context.a(3, 160);
14890
14884
  case 74:
14891
14885
  _channel8 = args.channel, deletedMessage = args.deletedMessage;
14892
14886
  _activeChannelId7 = getActiveChannelId();
@@ -14927,7 +14921,7 @@ function watchForEvents() {
14927
14921
  muted: _channel8.muted,
14928
14922
  mutedTill: _channel8.mutedTill
14929
14923
  }, deletedMessage);
14930
- return _context.a(3, 159);
14924
+ return _context.a(3, 160);
14931
14925
  case 78:
14932
14926
  _channel9 = args.channel, _message = args.message;
14933
14927
  _activeChannelId8 = getActiveChannelId();
@@ -14973,7 +14967,7 @@ function watchForEvents() {
14973
14967
  });
14974
14968
  }
14975
14969
  updateChannelOnAllChannels(_channel9.id, {}, _message);
14976
- return _context.a(3, 159);
14970
+ return _context.a(3, 160);
14977
14971
  case 82:
14978
14972
  _channel0 = args.channel, user = args.user, _message2 = args.message, reaction = args.reaction;
14979
14973
  isSelf = user.id === SceytChatClient.user.id;
@@ -15047,7 +15041,7 @@ function watchForEvents() {
15047
15041
  if (checkChannelExistsOnMessagesMap(_channel0.id)) {
15048
15042
  addReactionToMessageOnMap(_channel0.id, _message2, reaction, true);
15049
15043
  }
15050
- return _context.a(3, 159);
15044
+ return _context.a(3, 160);
15051
15045
  case 89:
15052
15046
  _channel1 = args.channel, pollDetails = args.pollDetails, messageId = args.messageId;
15053
15047
  _activeChannelId0 = getActiveChannelId();
@@ -15061,7 +15055,8 @@ function watchForEvents() {
15061
15055
  _context.n = 92;
15062
15056
  break;
15063
15057
  }
15064
- hasNext = ((_store$getState$Messa = store.getState().MessageReducer.pollVotesHasMore) === null || _store$getState$Messa === void 0 ? void 0 : _store$getState$Messa[pollDetails.id]) || false;
15058
+ key = pollDetails.id + "_" + addedVotes[0].optionId;
15059
+ hasNext = ((_store$getState$Messa = store.getState().MessageReducer.pollVotesHasMore) === null || _store$getState$Messa === void 0 ? void 0 : _store$getState$Messa[key]) || false;
15065
15060
  _iterator = _createForOfIteratorHelperLoose(addedVotes);
15066
15061
  case 90:
15067
15062
  if ((_step = _iterator()).done) {
@@ -15080,14 +15075,14 @@ function watchForEvents() {
15080
15075
  params: {}
15081
15076
  }, obj);
15082
15077
  if (!(_channel1.id === _activeChannelId0)) {
15083
- _context.n = 94;
15078
+ _context.n = 93;
15084
15079
  break;
15085
15080
  }
15086
15081
  updateMessageOnAllMessages(messageId, {}, obj);
15087
15082
  _context.n = 93;
15088
15083
  return effects.put(updateMessageAC(messageId, {}, undefined, obj));
15089
15084
  case 93:
15090
- return _context.a(3, 159);
15085
+ return _context.a(3, 160);
15091
15086
  case 94:
15092
15087
  _channel10 = args.channel, _pollDetails = args.pollDetails, _messageId = args.messageId;
15093
15088
  _activeChannelId1 = getActiveChannelId();
@@ -15117,7 +15112,7 @@ function watchForEvents() {
15117
15112
  votesPerOption: _pollDetails.votesPerOption
15118
15113
  });
15119
15114
  if (!(_channel10.id === _activeChannelId1)) {
15120
- _context.n = 99;
15115
+ _context.n = 98;
15121
15116
  break;
15122
15117
  }
15123
15118
  updateMessageOnAllMessages(_messageId, {}, {
@@ -15130,10 +15125,8 @@ function watchForEvents() {
15130
15125
  votesPerOption: _pollDetails.votesPerOption || {}
15131
15126
  }));
15132
15127
  case 98:
15133
- return _context.a(3, 159);
15128
+ return _context.a(3, 160);
15134
15129
  case 99:
15135
- return _context.a(3, 159);
15136
- case 100:
15137
15130
  _channel11 = args.channel, _pollDetails2 = args.pollDetails, _messageId2 = args.messageId;
15138
15131
  _activeChannelId10 = getActiveChannelId();
15139
15132
  retractedVotes = (_pollDetails2 === null || _pollDetails2 === void 0 ? void 0 : _pollDetails2.votes) || [];
@@ -15144,24 +15137,39 @@ function watchForEvents() {
15144
15137
  deletedVotes: retractedVotes,
15145
15138
  votesPerOption: _pollDetails2.votesPerOption
15146
15139
  });
15147
- if (!(_channel11.id === _activeChannelId10)) {
15140
+ if (!(_pollDetails2 !== null && _pollDetails2 !== void 0 && _pollDetails2.id && retractedVotes.length > 0)) {
15148
15141
  _context.n = 102;
15149
15142
  break;
15150
15143
  }
15144
+ _iterator3 = _createForOfIteratorHelperLoose(retractedVotes);
15145
+ case 100:
15146
+ if ((_step3 = _iterator3()).done) {
15147
+ _context.n = 102;
15148
+ break;
15149
+ }
15150
+ _vote2 = _step3.value;
15151
+ _context.n = 101;
15152
+ return effects.put(deletePollVotesFromListAC(_pollDetails2.id, _vote2.optionId, [_vote2], _messageId2));
15153
+ case 101:
15154
+ _context.n = 100;
15155
+ break;
15156
+ case 102:
15157
+ if (!(_channel11.id === _activeChannelId10)) {
15158
+ _context.n = 103;
15159
+ break;
15160
+ }
15151
15161
  updateMessageOnAllMessages(_messageId2, {}, {
15152
15162
  deletedVotes: retractedVotes,
15153
15163
  votesPerOption: _pollDetails2.votesPerOption || {}
15154
15164
  });
15155
- _context.n = 101;
15165
+ _context.n = 103;
15156
15166
  return effects.put(updateMessageAC(_messageId2, {}, undefined, {
15157
15167
  deletedVotes: retractedVotes,
15158
15168
  votesPerOption: _pollDetails2.votesPerOption || {}
15159
15169
  }));
15160
- case 101:
15161
- return _context.a(3, 159);
15162
- case 102:
15163
- return _context.a(3, 159);
15164
15170
  case 103:
15171
+ return _context.a(3, 160);
15172
+ case 104:
15165
15173
  _channel12 = args.channel, _messageId3 = args.messageId;
15166
15174
  _activeChannelId11 = getActiveChannelId();
15167
15175
  updateMessageOnMap(_channel12.id, {
@@ -15171,55 +15179,55 @@ function watchForEvents() {
15171
15179
  closed: true
15172
15180
  });
15173
15181
  if (!(_channel12.id === _activeChannelId11)) {
15174
- _context.n = 105;
15182
+ _context.n = 106;
15175
15183
  break;
15176
15184
  }
15177
15185
  updateMessageOnAllMessages(_messageId3, {}, {
15178
15186
  closed: true
15179
15187
  });
15180
- _context.n = 104;
15188
+ _context.n = 105;
15181
15189
  return effects.put(updateMessageAC(_messageId3, {}, undefined, {
15182
15190
  closed: true
15183
15191
  }));
15184
- case 104:
15185
- return _context.a(3, 159);
15186
15192
  case 105:
15187
- return _context.a(3, 159);
15193
+ return _context.a(3, 160);
15188
15194
  case 106:
15195
+ return _context.a(3, 160);
15196
+ case 107:
15189
15197
  _channel13 = args.channel, _user = args.user, _message3 = args.message, _reaction = args.reaction;
15190
15198
  log.info('channel REACTION_DELETED ... ', _channel13);
15191
15199
  channelFromMap = getChannelFromMap(_channel13.id);
15192
15200
  _isSelf = _user.id === SceytChatClient.user.id;
15193
15201
  _activeChannelId12 = getActiveChannelId();
15194
15202
  if (!(_channel13.id === _activeChannelId12)) {
15195
- _context.n = 108;
15203
+ _context.n = 109;
15196
15204
  break;
15197
15205
  }
15198
- _context.n = 107;
15206
+ _context.n = 108;
15199
15207
  return effects.put(deleteReactionFromMessageAC(_message3, _reaction, _isSelf));
15200
- case 107:
15201
- removeReactionOnAllMessages(_message3, _reaction, true);
15202
15208
  case 108:
15209
+ removeReactionOnAllMessages(_message3, _reaction, true);
15210
+ case 109:
15203
15211
  _channelUpdateParams = JSON.parse(JSON.stringify(_channel13));
15204
15212
  if (channelFromMap && channelFromMap.lastReactedMessage && channelFromMap.lastReactedMessage.id === _message3.id) {
15205
15213
  _channelUpdateParams.lastReactedMessage = null;
15206
15214
  }
15207
- _context.n = 109;
15215
+ _context.n = 110;
15208
15216
  return effects.put(updateChannelDataAC(_channel13.id, _channelUpdateParams));
15209
- case 109:
15217
+ case 110:
15210
15218
  updateChannelOnAllChannels(_channel13.id, _channelUpdateParams);
15211
15219
  if (checkChannelExistsOnMessagesMap(_channel13.id)) {
15212
15220
  removeReactionToMessageOnMap(_channel13.id, _message3, _reaction, true);
15213
15221
  }
15214
- return _context.a(3, 159);
15215
- case 110:
15222
+ return _context.a(3, 160);
15223
+ case 111:
15216
15224
  _channel14 = args.channel;
15217
15225
  if (!_channel14) {
15218
- _context.n = 112;
15226
+ _context.n = 113;
15219
15227
  break;
15220
15228
  }
15221
15229
  _updatedChannel = JSON.parse(JSON.stringify(_channel14));
15222
- _context.n = 111;
15230
+ _context.n = 112;
15223
15231
  return effects.put(updateChannelDataAC(_channel14.id, {
15224
15232
  lastMessage: _channel14.lastMessage,
15225
15233
  newMessageCount: _channel14.newMessageCount,
@@ -15232,36 +15240,36 @@ function watchForEvents() {
15232
15240
  lastDisplayedMessageId: _channel14.lastDisplayedMessageId,
15233
15241
  messageRetentionPeriod: _channel14.messageRetentionPeriod
15234
15242
  }));
15235
- case 111:
15236
- updateChannelOnAllChannels(_channel14.id, _updatedChannel);
15237
15243
  case 112:
15238
- return _context.a(3, 159);
15244
+ updateChannelOnAllChannels(_channel14.id, _updatedChannel);
15239
15245
  case 113:
15246
+ return _context.a(3, 160);
15247
+ case 114:
15240
15248
  _channel15 = args.channel;
15241
15249
  log.info('CLEAR_HISTORY: ', _channel15);
15242
- _context.n = 114;
15250
+ _context.n = 115;
15243
15251
  return effects.call(getActiveChannelId);
15244
- case 114:
15252
+ case 115:
15245
15253
  _activeChannelId13 = _context.v;
15246
- _context.n = 115;
15254
+ _context.n = 116;
15247
15255
  return effects.call(checkChannelExists, _channel15.id);
15248
- case 115:
15256
+ case 116:
15249
15257
  channelExist = _context.v;
15250
15258
  if (!(_channel15.id === _activeChannelId13)) {
15251
- _context.n = 117;
15259
+ _context.n = 118;
15252
15260
  break;
15253
15261
  }
15254
- _context.n = 116;
15262
+ _context.n = 117;
15255
15263
  return effects.put(clearMessagesAC());
15256
- case 116:
15257
- removeAllMessages();
15258
15264
  case 117:
15265
+ removeAllMessages();
15266
+ case 118:
15259
15267
  removeMessagesFromMap(_channel15.id);
15260
15268
  if (!channelExist) {
15261
- _context.n = 118;
15269
+ _context.n = 119;
15262
15270
  break;
15263
15271
  }
15264
- _context.n = 118;
15272
+ _context.n = 119;
15265
15273
  return effects.put(updateChannelDataAC(_channel15.id, {
15266
15274
  lastMessage: null,
15267
15275
  newMessageCount: 0,
@@ -15269,7 +15277,7 @@ function watchForEvents() {
15269
15277
  muted: _channel15.muted,
15270
15278
  mutedTill: _channel15.mutedTill
15271
15279
  }));
15272
- case 118:
15280
+ case 119:
15273
15281
  updateChannelOnAllChannels(_channel15.id, {
15274
15282
  lastMessage: null,
15275
15283
  newMessageCount: 0,
@@ -15277,173 +15285,173 @@ function watchForEvents() {
15277
15285
  muted: _channel15.muted,
15278
15286
  mutedTill: _channel15.mutedTill
15279
15287
  });
15280
- return _context.a(3, 159);
15281
- case 119:
15288
+ return _context.a(3, 160);
15289
+ case 120:
15282
15290
  _channel16 = args.channel;
15283
15291
  log.info('channel MUTE ... ');
15284
- _context.n = 120;
15292
+ _context.n = 121;
15285
15293
  return effects.put(updateChannelDataAC(_channel16.id, {
15286
15294
  muted: _channel16.muted,
15287
15295
  mutedTill: _channel16.mutedTill
15288
15296
  }));
15289
- case 120:
15297
+ case 121:
15290
15298
  updateChannelOnAllChannels(_channel16.id, {
15291
15299
  muted: _channel16.muted,
15292
15300
  mutedTill: _channel16.mutedTill
15293
15301
  });
15294
- return _context.a(3, 159);
15295
- case 121:
15302
+ return _context.a(3, 160);
15303
+ case 122:
15296
15304
  _channel17 = args.channel;
15297
15305
  log.info('channel UNMUTE ... ');
15298
- _context.n = 122;
15306
+ _context.n = 123;
15299
15307
  return effects.put(updateChannelDataAC(_channel17.id, {
15300
15308
  muted: _channel17.muted,
15301
15309
  mutedTill: _channel17.mutedTill
15302
15310
  }));
15303
- case 122:
15311
+ case 123:
15304
15312
  updateChannelOnAllChannels(_channel17.id, {
15305
15313
  muted: _channel17.muted,
15306
15314
  mutedTill: _channel17.mutedTill
15307
15315
  });
15308
- return _context.a(3, 159);
15309
- case 123:
15316
+ return _context.a(3, 160);
15317
+ case 124:
15310
15318
  _channel18 = args.channel;
15311
15319
  log.info('channel PINED ... ');
15312
- _context.n = 124;
15320
+ _context.n = 125;
15313
15321
  return effects.put(updateChannelDataAC(_channel18.id, {
15314
15322
  pinnedAt: _channel18.pinnedAt
15315
15323
  }, true));
15316
- case 124:
15324
+ case 125:
15317
15325
  updateChannelOnAllChannels(_channel18.id, {
15318
15326
  pinnedAt: _channel18.pinnedAt
15319
15327
  });
15320
- return _context.a(3, 159);
15321
- case 125:
15328
+ return _context.a(3, 160);
15329
+ case 126:
15322
15330
  _channel19 = args.channel;
15323
15331
  log.info('channel UNPINED ... ');
15324
- _context.n = 126;
15332
+ _context.n = 127;
15325
15333
  return effects.put(updateChannelDataAC(_channel19.id, {
15326
15334
  pinnedAt: _channel19.pinnedAt
15327
15335
  }, false, true));
15328
- case 126:
15336
+ case 127:
15329
15337
  updateChannelOnAllChannels(_channel19.id, {
15330
15338
  pinnedAt: _channel19.pinnedAt
15331
15339
  });
15332
- return _context.a(3, 159);
15333
- case 127:
15340
+ return _context.a(3, 160);
15341
+ case 128:
15334
15342
  _channel20 = args.channel;
15335
15343
  log.info('channel HIDE ... ');
15336
- _context.n = 128;
15344
+ _context.n = 129;
15337
15345
  return effects.put(setChannelToHideAC(_channel20));
15338
- case 128:
15339
- return _context.a(3, 159);
15340
15346
  case 129:
15347
+ return _context.a(3, 160);
15348
+ case 130:
15341
15349
  _channel21 = args.channel;
15342
15350
  log.info('channel UNHIDE ... ');
15343
- _context.n = 130;
15351
+ _context.n = 131;
15344
15352
  return effects.put(setChannelToUnHideAC(_channel21));
15345
- case 130:
15346
- return _context.a(3, 159);
15347
15353
  case 131:
15354
+ return _context.a(3, 160);
15355
+ case 132:
15348
15356
  _channel22 = args.channel;
15349
- _context.n = 132;
15357
+ _context.n = 133;
15350
15358
  return effects.put(updateChannelDataAC(_channel22.id, {
15351
15359
  unread: _channel22.unread,
15352
15360
  muted: _channel22.muted,
15353
15361
  mutedTill: _channel22.mutedTill
15354
15362
  }));
15355
- case 132:
15363
+ case 133:
15356
15364
  _groupName5 = getChannelGroupName(_channel22);
15357
- _context.n = 133;
15365
+ _context.n = 134;
15358
15366
  return effects.put(updateSearchedChannelDataAC(_channel22.id, {
15359
15367
  unread: _channel22.unread
15360
15368
  }, _groupName5));
15361
- case 133:
15369
+ case 134:
15362
15370
  updateChannelOnAllChannels(_channel22.id, {
15363
15371
  unread: _channel22.unread
15364
15372
  });
15365
- return _context.a(3, 159);
15366
- case 134:
15373
+ return _context.a(3, 160);
15374
+ case 135:
15367
15375
  _channel23 = args.channel;
15368
- _context.n = 135;
15376
+ _context.n = 136;
15369
15377
  return effects.put(updateChannelDataAC(_channel23.id, {
15370
15378
  unread: _channel23.unread,
15371
15379
  muted: _channel23.muted,
15372
15380
  mutedTill: _channel23.mutedTill
15373
15381
  }));
15374
- case 135:
15382
+ case 136:
15375
15383
  _groupName6 = getChannelGroupName(_channel23);
15376
- _context.n = 136;
15384
+ _context.n = 137;
15377
15385
  return effects.put(updateSearchedChannelDataAC(_channel23.id, {
15378
15386
  unread: _channel23.unread
15379
15387
  }, _groupName6));
15380
- case 136:
15388
+ case 137:
15381
15389
  updateChannelOnAllChannels(_channel23.id, {
15382
15390
  unread: _channel23.unread
15383
15391
  });
15384
- return _context.a(3, 159);
15385
- case 137:
15392
+ return _context.a(3, 160);
15393
+ case 138:
15386
15394
  _channel24 = args.channel, members = args.members;
15387
15395
  log.info('channel CHANGE_ROLE channel ... ', _channel24);
15388
15396
  log.info('channel CHANGE_ROLE member ... ', members);
15389
- _context.n = 138;
15397
+ _context.n = 139;
15390
15398
  return effects.call(getActiveChannelId);
15391
- case 138:
15399
+ case 139:
15392
15400
  _activeChannelId14 = _context.v;
15393
15401
  if (!(_channel24.id === _activeChannelId14)) {
15394
- _context.n = 139;
15402
+ _context.n = 140;
15395
15403
  break;
15396
15404
  }
15397
- _context.n = 139;
15405
+ _context.n = 140;
15398
15406
  return effects.put(updateMembersAC(members));
15399
- case 139:
15400
- i = 0;
15401
15407
  case 140:
15408
+ i = 0;
15409
+ case 141:
15402
15410
  if (!(i < members.length)) {
15403
- _context.n = 143;
15411
+ _context.n = 144;
15404
15412
  break;
15405
15413
  }
15406
15414
  if (!(members[i].id === SceytChatClient.user.id)) {
15407
- _context.n = 142;
15415
+ _context.n = 143;
15408
15416
  break;
15409
15417
  }
15410
- _context.n = 141;
15418
+ _context.n = 142;
15411
15419
  return effects.put(updateChannelDataAC(_channel24.id, {
15412
15420
  userRole: members[i].role,
15413
15421
  muted: _channel24.muted,
15414
15422
  mutedTill: _channel24.mutedTill
15415
15423
  }));
15416
- case 141:
15424
+ case 142:
15417
15425
  updateChannelOnAllChannels(_channel24.id, {
15418
15426
  userRole: members[i].role,
15419
15427
  muted: _channel24.muted,
15420
15428
  mutedTill: _channel24.mutedTill
15421
15429
  });
15422
- case 142:
15430
+ case 143:
15423
15431
  i++;
15424
- _context.n = 140;
15432
+ _context.n = 141;
15425
15433
  break;
15426
- case 143:
15427
- return _context.a(3, 159);
15428
15434
  case 144:
15435
+ return _context.a(3, 160);
15436
+ case 145:
15429
15437
  _channel25 = args.channel;
15430
15438
  log.info('channel frozen channel ... ', _channel25);
15431
- return _context.a(3, 159);
15432
- case 145:
15439
+ return _context.a(3, 160);
15440
+ case 146:
15433
15441
  _channel26 = args.channel;
15434
15442
  log.info('channel unfrozen channel ... ', _channel26);
15435
- return _context.a(3, 159);
15436
- case 146:
15443
+ return _context.a(3, 160);
15444
+ case 147:
15437
15445
  _channelId2 = args.channelId, from = args.from, name = args.name;
15438
15446
  log.info('channel event received >>>... . . . . . ', args);
15439
15447
  if (!(from.id === SceytChatClient.user.id)) {
15440
- _context.n = 147;
15448
+ _context.n = 148;
15441
15449
  break;
15442
15450
  }
15443
- return _context.a(3, 159);
15444
- case 147:
15451
+ return _context.a(3, 160);
15452
+ case 148:
15445
15453
  if (!(name === 'start_typing')) {
15446
- _context.n = 149;
15454
+ _context.n = 150;
15447
15455
  break;
15448
15456
  }
15449
15457
  if (!usersTimeout[_channelId2]) {
@@ -15455,27 +15463,27 @@ function watchForEvents() {
15455
15463
  usersTimeout[_channelId2][from.id] = setTimeout(function () {
15456
15464
  channelListener.onReceivedChannelEvent(_channelId2, from, 'stop_typing');
15457
15465
  }, 5000);
15458
- _context.n = 148;
15466
+ _context.n = 149;
15459
15467
  return effects.put(switchTypingIndicatorAC(true, _channelId2, from));
15460
- case 148:
15461
- _context.n = 154;
15462
- break;
15463
15468
  case 149:
15469
+ _context.n = 155;
15470
+ break;
15471
+ case 150:
15464
15472
  if (!(name === 'stop_typing')) {
15465
- _context.n = 151;
15473
+ _context.n = 152;
15466
15474
  break;
15467
15475
  }
15468
15476
  if (usersTimeout[_channelId2] && usersTimeout[_channelId2][from.id]) {
15469
15477
  clearTimeout(usersTimeout[_channelId2][from.id]);
15470
15478
  }
15471
- _context.n = 150;
15479
+ _context.n = 151;
15472
15480
  return effects.put(switchTypingIndicatorAC(false, _channelId2, from));
15473
- case 150:
15474
- _context.n = 154;
15475
- break;
15476
15481
  case 151:
15482
+ _context.n = 155;
15483
+ break;
15484
+ case 152:
15477
15485
  if (!(name === 'start_recording')) {
15478
- _context.n = 153;
15486
+ _context.n = 154;
15479
15487
  break;
15480
15488
  }
15481
15489
  if (!usersTimeout[_channelId2]) {
@@ -15487,40 +15495,40 @@ function watchForEvents() {
15487
15495
  usersTimeout[_channelId2][from.id] = setTimeout(function () {
15488
15496
  channelListener.onReceivedChannelEvent(_channelId2, from, 'stop_recording');
15489
15497
  }, 5000);
15490
- _context.n = 152;
15498
+ _context.n = 153;
15491
15499
  return effects.put(switchRecordingIndicatorAC(true, _channelId2, from));
15492
- case 152:
15493
- _context.n = 154;
15494
- break;
15495
15500
  case 153:
15501
+ _context.n = 155;
15502
+ break;
15503
+ case 154:
15496
15504
  if (!(name === 'stop_recording')) {
15497
- _context.n = 154;
15505
+ _context.n = 155;
15498
15506
  break;
15499
15507
  }
15500
15508
  if (usersTimeout[_channelId2] && usersTimeout[_channelId2][from.id]) {
15501
15509
  clearTimeout(usersTimeout[_channelId2][from.id]);
15502
15510
  }
15503
- _context.n = 154;
15511
+ _context.n = 155;
15504
15512
  return effects.put(switchRecordingIndicatorAC(false, _channelId2, from));
15505
- case 154:
15506
- return _context.a(3, 159);
15507
15513
  case 155:
15514
+ return _context.a(3, 160);
15515
+ case 156:
15508
15516
  status = args.status;
15509
15517
  log.info('connection status changed . . . . . ', status);
15510
- _context.n = 156;
15518
+ _context.n = 157;
15511
15519
  return effects.put(setConnectionStatusAC(status));
15512
- case 156:
15520
+ case 157:
15513
15521
  if (!(status === CONNECTION_STATUS.CONNECTED)) {
15514
- _context.n = 157;
15522
+ _context.n = 158;
15515
15523
  break;
15516
15524
  }
15517
- _context.n = 157;
15525
+ _context.n = 158;
15518
15526
  return effects.put(getRolesAC());
15519
- case 157:
15520
- return _context.a(3, 159);
15521
15527
  case 158:
15522
- log.warn('UNHANDLED EVENT FROM REDUX-SAGA EVENT-CHANNEL');
15528
+ return _context.a(3, 160);
15523
15529
  case 159:
15530
+ log.warn('UNHANDLED EVENT FROM REDUX-SAGA EVENT-CHANNEL');
15531
+ case 160:
15524
15532
  return _context.a(2);
15525
15533
  }
15526
15534
  }, _callee);
@@ -29209,24 +29217,22 @@ function _extends$S() {
29209
29217
  return n;
29210
29218
  }, _extends$S.apply(null, arguments);
29211
29219
  }
29212
- function SvgEndVote(props) {
29220
+ function SvgRetractVote(props) {
29213
29221
  return /*#__PURE__*/React.createElement("svg", _extends$S({
29214
29222
  width: 18,
29215
29223
  height: 18,
29216
29224
  fill: "none",
29217
29225
  xmlns: "http://www.w3.org/2000/svg"
29218
29226
  }, props), _path$R || (_path$R = /*#__PURE__*/React.createElement("path", {
29219
- d: "M11.265 6.802a.783.783 0 111.107 1.108L8.771 11.51a.783.783 0 01-1.108 0L5.627 9.476a.783.783 0 011.108-1.108L8.217 9.85l3.048-3.048z",
29227
+ d: "M10.998 1.875c.746 0 1.35 0 1.84.04.507.041.956.129 1.374.341.404.206.762.488 1.056.826a.748.748 0 01-1.13.98 2.008 2.008 0 00-.605-.472c-.171-.088-.402-.15-.816-.184-.421-.035-.965-.036-1.749-.036H7.032c-.784 0-1.327.001-1.75.036-.413.034-.644.096-.815.184-.378.192-.685.5-.877.877-.088.171-.15.402-.184.816-.035.422-.036.965-.036 1.749v3.936c0 .784.001 1.328.036 1.75.034.413.096.643.184.815.192.378.5.685.877.877.171.088.402.15.816.184.422.035.965.036 1.749.036h3.936c.784 0 1.328-.001 1.75-.036.413-.034.643-.096.815-.184.378-.192.685-.5.877-.877.083-.162.143-.377.178-.75a.749.749 0 011.49.14c-.044.471-.133.894-.334 1.29a3.505 3.505 0 01-1.532 1.53c-.418.213-.867.3-1.373.342-.49.04-1.095.04-1.84.04H7.001c-.746 0-1.35 0-1.84-.04-.507-.041-.956-.129-1.374-.341a3.505 3.505 0 01-1.532-1.532c-.212-.418-.3-.867-.341-1.373-.04-.49-.04-1.095-.04-1.84V7.001c0-.746 0-1.35.04-1.84.041-.507.129-.956.341-1.374a3.506 3.506 0 011.532-1.532c.418-.212.867-.3 1.373-.341.49-.04 1.095-.04 1.84-.04h3.997z",
29220
29228
  fill: "#818C99"
29221
29229
  })), _path2$5 || (_path2$5 = /*#__PURE__*/React.createElement("path", {
29222
- fillRule: "evenodd",
29223
- clipRule: "evenodd",
29224
- d: "M10.987 1.875c.74 0 1.344 0 1.834.04.505.041.958.129 1.38.344a3.524 3.524 0 011.54 1.54c.215.422.303.875.344 1.38.04.49.04 1.093.04 1.834v3.974c0 .74 0 1.344-.04 1.834-.041.505-.129.958-.344 1.38a3.524 3.524 0 01-1.54 1.54c-.422.215-.875.303-1.38.344-.49.04-1.093.04-1.834.04H7.013c-.74 0-1.344 0-1.834-.04-.505-.041-.958-.129-1.38-.344a3.524 3.524 0 01-1.54-1.54c-.215-.422-.303-.875-.344-1.38-.04-.49-.04-1.093-.04-1.834V7.013c0-.74 0-1.344.04-1.834.041-.505.129-.958.344-1.38a3.524 3.524 0 011.54-1.54c.422-.215.875-.303 1.38-.344.49-.04 1.093-.04 1.834-.04h3.974zM7.043 3.441c-.78 0-1.32 0-1.737.034-.408.034-.633.096-.797.18a1.957 1.957 0 00-.855.854c-.083.164-.145.389-.179.797-.034.418-.034.956-.034 1.737v3.914c0 .78 0 1.32.034 1.737.034.408.096.632.18.797.187.368.486.667.854.855.164.083.389.145.797.179.418.034.956.034 1.737.034h3.914c.78 0 1.32 0 1.737-.034.408-.034.632-.096.797-.18.368-.187.667-.486.855-.854.083-.165.145-.389.179-.797.034-.418.034-.956.034-1.737V7.042c0-.78 0-1.318-.034-1.736-.034-.408-.096-.633-.18-.797a1.958 1.958 0 00-.854-.855c-.165-.083-.389-.145-.797-.179-.418-.034-.956-.034-1.737-.034H7.042z",
29230
+ d: "M15.378 5.812c.413 0 .747.335.747.748v1.653a2.322 2.322 0 01-2.322 2.322H8.406L9.6 11.691a.747.747 0 11-1.04 1.074l-2.52-2.44a.748.748 0 010-1.075l2.52-2.44a.748.748 0 111.04 1.074L8.406 9.039h5.397c.456 0 .826-.37.827-.826V6.56c0-.413.335-.748.748-.748z",
29225
29231
  fill: "#818C99"
29226
29232
  })));
29227
29233
  }
29228
29234
 
29229
- var _path$S;
29235
+ var _path$S, _path2$6;
29230
29236
  function _extends$T() {
29231
29237
  return _extends$T = Object.assign ? Object.assign.bind() : function (n) {
29232
29238
  for (var e = 1; e < arguments.length; e++) {
@@ -29236,18 +29242,20 @@ function _extends$T() {
29236
29242
  return n;
29237
29243
  }, _extends$T.apply(null, arguments);
29238
29244
  }
29239
- function SvgCopyIcon(props) {
29245
+ function SvgEndVote(props) {
29240
29246
  return /*#__PURE__*/React.createElement("svg", _extends$T({
29241
- width: 20,
29242
- height: 20,
29243
- viewBox: "0 0 20.01 20.01",
29247
+ width: 18,
29248
+ height: 18,
29244
29249
  fill: "none",
29245
29250
  xmlns: "http://www.w3.org/2000/svg"
29246
29251
  }, props), _path$S || (_path$S = /*#__PURE__*/React.createElement("path", {
29252
+ d: "M11.265 6.802a.783.783 0 111.107 1.108L8.771 11.51a.783.783 0 01-1.108 0L5.627 9.476a.783.783 0 011.108-1.108L8.217 9.85l3.048-3.048z",
29253
+ fill: "#818C99"
29254
+ })), _path2$6 || (_path2$6 = /*#__PURE__*/React.createElement("path", {
29247
29255
  fillRule: "evenodd",
29248
29256
  clipRule: "evenodd",
29249
- d: "M14.121 3.564c-.497-.041-1.134-.042-2.042-.042H6.401a.72.72 0 010-1.439h5.71c.868 0 1.565 0 2.127.046.578.047 1.079.146 1.54.381a3.919 3.919 0 011.711 1.712c.235.46.334.961.382 1.54.046.562.046 1.258.046 2.127v5.71a.72.72 0 01-1.44 0V7.92c0-.908 0-1.545-.041-2.043-.04-.489-.115-.778-.229-1.002a2.48 2.48 0 00-1.083-1.083c-.224-.114-.514-.19-1.003-.23zM5.334 4.882h6.533c.424 0 .785 0 1.081.024.311.025.614.081.904.229.436.222.79.577 1.013 1.013.147.29.203.592.229.903.024.297.024.657.024 1.081v6.534c0 .424 0 .784-.024 1.08-.026.312-.082.615-.229.904a2.32 2.32 0 01-1.013 1.014c-.29.147-.593.203-.904.228-.296.024-.657.024-1.08.024H5.333c-.424 0-.785 0-1.081-.024-.311-.025-.614-.08-.904-.228a2.32 2.32 0 01-1.013-1.014c-.147-.29-.203-.592-.229-.903-.024-.296-.024-.657-.024-1.081V8.132c0-.424 0-.784.024-1.08.026-.312.082-.615.229-.904a2.319 2.319 0 011.013-1.013c.29-.148.593-.204.904-.229.296-.024.657-.024 1.08-.024zM4.37 6.34c-.222.018-.314.05-.367.076a.88.88 0 00-.384.385c-.027.052-.059.144-.077.367-.019.23-.02.532-.02.991v6.478c0 .46.001.761.02.992.018.222.05.314.077.367a.88.88 0 00.384.384c.053.027.145.058.367.076.23.02.532.02.992.02h6.477c.46 0 .761 0 .992-.02.222-.018.314-.05.367-.076a.88.88 0 00.384-.384c.027-.053.059-.145.077-.367.019-.231.02-.533.02-.992V8.16c0-.46-.001-.76-.02-.991-.018-.223-.05-.315-.077-.367a.88.88 0 00-.384-.385c-.053-.027-.145-.058-.367-.076-.23-.02-.532-.02-.992-.02H5.362c-.46 0-.761 0-.992.02z",
29250
- fill: "CurrentColor"
29257
+ d: "M10.987 1.875c.74 0 1.344 0 1.834.04.505.041.958.129 1.38.344a3.524 3.524 0 011.54 1.54c.215.422.303.875.344 1.38.04.49.04 1.093.04 1.834v3.974c0 .74 0 1.344-.04 1.834-.041.505-.129.958-.344 1.38a3.524 3.524 0 01-1.54 1.54c-.422.215-.875.303-1.38.344-.49.04-1.093.04-1.834.04H7.013c-.74 0-1.344 0-1.834-.04-.505-.041-.958-.129-1.38-.344a3.524 3.524 0 01-1.54-1.54c-.215-.422-.303-.875-.344-1.38-.04-.49-.04-1.093-.04-1.834V7.013c0-.74 0-1.344.04-1.834.041-.505.129-.958.344-1.38a3.524 3.524 0 011.54-1.54c.422-.215.875-.303 1.38-.344.49-.04 1.093-.04 1.834-.04h3.974zM7.043 3.441c-.78 0-1.32 0-1.737.034-.408.034-.633.096-.797.18a1.957 1.957 0 00-.855.854c-.083.164-.145.389-.179.797-.034.418-.034.956-.034 1.737v3.914c0 .78 0 1.32.034 1.737.034.408.096.632.18.797.187.368.486.667.854.855.164.083.389.145.797.179.418.034.956.034 1.737.034h3.914c.78 0 1.32 0 1.737-.034.408-.034.632-.096.797-.18.368-.187.667-.486.855-.854.083-.165.145-.389.179-.797.034-.418.034-.956.034-1.737V7.042c0-.78 0-1.318-.034-1.736-.034-.408-.096-.633-.18-.797a1.958 1.958 0 00-.854-.855c-.165-.083-.389-.145-.797-.179-.418-.034-.956-.034-1.737-.034H7.042z",
29258
+ fill: "#818C99"
29251
29259
  })));
29252
29260
  }
29253
29261
 
@@ -29261,7 +29269,7 @@ function _extends$U() {
29261
29269
  return n;
29262
29270
  }, _extends$U.apply(null, arguments);
29263
29271
  }
29264
- function SvgReplyInThreadIcon(props) {
29272
+ function SvgCopyIcon(props) {
29265
29273
  return /*#__PURE__*/React.createElement("svg", _extends$U({
29266
29274
  width: 20,
29267
29275
  height: 20,
@@ -29271,7 +29279,7 @@ function SvgReplyInThreadIcon(props) {
29271
29279
  }, props), _path$T || (_path$T = /*#__PURE__*/React.createElement("path", {
29272
29280
  fillRule: "evenodd",
29273
29281
  clipRule: "evenodd",
29274
- d: "M6.469 1.75h7.062c.674 0 1.225 0 1.672.037.463.037.882.118 1.273.317a3.25 3.25 0 011.42 1.42c.199.391.28.81.317 1.273.037.448.037.998.037 1.672v4.562c0 .674 0 1.224-.037 1.672-.037.463-.118.882-.317 1.273a3.25 3.25 0 01-1.42 1.42c-.391.199-.81.28-1.273.317-.447.037-.998.037-1.671.037h-2.129c-.55 0-.72.004-.878.036a1.752 1.752 0 00-.444.156c-.143.073-.279.177-.708.52l-2.01 1.608a6.553 6.553 0 01-.441.334c-.129.085-.366.229-.67.23-.356 0-.692-.162-.914-.44-.19-.238-.226-.513-.24-.666-.015-.16-.015-.356-.015-.554v-1.229c-.358-.008-.655-.034-.924-.106a3.25 3.25 0 01-2.298-2.298c-.111-.415-.111-.896-.111-1.566V6.469c0-.674 0-1.224.037-1.672.037-.463.118-.882.317-1.272a3.25 3.25 0 011.42-1.42c.391-.2.81-.28 1.273-.318.448-.037.998-.037 1.672-.037zm-1.55 1.532c-.37.03-.57.085-.713.159a1.75 1.75 0 00-.765.765c-.074.144-.13.343-.16.713-.03.38-.03.869-.03 1.581v5.167c0 .823.006 1.087.059 1.286a1.75 1.75 0 001.237 1.237c.199.054.463.06 1.286.06a.75.75 0 01.75.75v1.773l1.853-1.482.053-.042c.355-.285.614-.492.91-.643.26-.133.538-.23.825-.29.324-.066.657-.066 1.112-.066H13.5c.713 0 1.202 0 1.581-.032.37-.03.57-.085.713-.159a1.75 1.75 0 00.765-.764c.074-.145.13-.344.16-.714.03-.38.031-.869.031-1.581V6.5c0-.712 0-1.202-.032-1.58-.03-.371-.085-.57-.159-.714a1.75 1.75 0 00-.765-.765c-.144-.074-.343-.13-.713-.16-.38-.03-.868-.031-1.58-.031h-7c-.713 0-1.203 0-1.582.032zm.164 3.801a.75.75 0 01.75-.75H10a.75.75 0 010 1.5H5.833a.75.75 0 01-.75-.75zm0 2.917a.75.75 0 01.75-.75H12.5a.75.75 0 010 1.5H5.833a.75.75 0 01-.75-.75z",
29282
+ d: "M14.121 3.564c-.497-.041-1.134-.042-2.042-.042H6.401a.72.72 0 010-1.439h5.71c.868 0 1.565 0 2.127.046.578.047 1.079.146 1.54.381a3.919 3.919 0 011.711 1.712c.235.46.334.961.382 1.54.046.562.046 1.258.046 2.127v5.71a.72.72 0 01-1.44 0V7.92c0-.908 0-1.545-.041-2.043-.04-.489-.115-.778-.229-1.002a2.48 2.48 0 00-1.083-1.083c-.224-.114-.514-.19-1.003-.23zM5.334 4.882h6.533c.424 0 .785 0 1.081.024.311.025.614.081.904.229.436.222.79.577 1.013 1.013.147.29.203.592.229.903.024.297.024.657.024 1.081v6.534c0 .424 0 .784-.024 1.08-.026.312-.082.615-.229.904a2.32 2.32 0 01-1.013 1.014c-.29.147-.593.203-.904.228-.296.024-.657.024-1.08.024H5.333c-.424 0-.785 0-1.081-.024-.311-.025-.614-.08-.904-.228a2.32 2.32 0 01-1.013-1.014c-.147-.29-.203-.592-.229-.903-.024-.296-.024-.657-.024-1.081V8.132c0-.424 0-.784.024-1.08.026-.312.082-.615.229-.904a2.319 2.319 0 011.013-1.013c.29-.148.593-.204.904-.229.296-.024.657-.024 1.08-.024zM4.37 6.34c-.222.018-.314.05-.367.076a.88.88 0 00-.384.385c-.027.052-.059.144-.077.367-.019.23-.02.532-.02.991v6.478c0 .46.001.761.02.992.018.222.05.314.077.367a.88.88 0 00.384.384c.053.027.145.058.367.076.23.02.532.02.992.02h6.477c.46 0 .761 0 .992-.02.222-.018.314-.05.367-.076a.88.88 0 00.384-.384c.027-.053.059-.145.077-.367.019-.231.02-.533.02-.992V8.16c0-.46-.001-.76-.02-.991-.018-.223-.05-.315-.077-.367a.88.88 0 00-.384-.385c-.053-.027-.145-.058-.367-.076-.23-.02-.532-.02-.992-.02H5.362c-.46 0-.761 0-.992.02z",
29275
29283
  fill: "CurrentColor"
29276
29284
  })));
29277
29285
  }
@@ -29286,22 +29294,22 @@ function _extends$V() {
29286
29294
  return n;
29287
29295
  }, _extends$V.apply(null, arguments);
29288
29296
  }
29289
- function SvgArrowDown(props) {
29297
+ function SvgReplyInThreadIcon(props) {
29290
29298
  return /*#__PURE__*/React.createElement("svg", _extends$V({
29291
29299
  width: 20,
29292
- height: 8,
29293
- viewBox: "0 0 20 20",
29300
+ height: 20,
29301
+ viewBox: "0 0 20.01 20.01",
29294
29302
  fill: "none",
29295
29303
  xmlns: "http://www.w3.org/2000/svg"
29296
29304
  }, props), _path$U || (_path$U = /*#__PURE__*/React.createElement("path", {
29297
29305
  fillRule: "evenodd",
29298
29306
  clipRule: "evenodd",
29299
- d: "M10 8C7 8 4 0 0 0h20c-3.975 0-7 8-10 8z",
29300
- fill: "currentColor"
29307
+ d: "M6.469 1.75h7.062c.674 0 1.225 0 1.672.037.463.037.882.118 1.273.317a3.25 3.25 0 011.42 1.42c.199.391.28.81.317 1.273.037.448.037.998.037 1.672v4.562c0 .674 0 1.224-.037 1.672-.037.463-.118.882-.317 1.273a3.25 3.25 0 01-1.42 1.42c-.391.199-.81.28-1.273.317-.447.037-.998.037-1.671.037h-2.129c-.55 0-.72.004-.878.036a1.752 1.752 0 00-.444.156c-.143.073-.279.177-.708.52l-2.01 1.608a6.553 6.553 0 01-.441.334c-.129.085-.366.229-.67.23-.356 0-.692-.162-.914-.44-.19-.238-.226-.513-.24-.666-.015-.16-.015-.356-.015-.554v-1.229c-.358-.008-.655-.034-.924-.106a3.25 3.25 0 01-2.298-2.298c-.111-.415-.111-.896-.111-1.566V6.469c0-.674 0-1.224.037-1.672.037-.463.118-.882.317-1.272a3.25 3.25 0 011.42-1.42c.391-.2.81-.28 1.273-.318.448-.037.998-.037 1.672-.037zm-1.55 1.532c-.37.03-.57.085-.713.159a1.75 1.75 0 00-.765.765c-.074.144-.13.343-.16.713-.03.38-.03.869-.03 1.581v5.167c0 .823.006 1.087.059 1.286a1.75 1.75 0 001.237 1.237c.199.054.463.06 1.286.06a.75.75 0 01.75.75v1.773l1.853-1.482.053-.042c.355-.285.614-.492.91-.643.26-.133.538-.23.825-.29.324-.066.657-.066 1.112-.066H13.5c.713 0 1.202 0 1.581-.032.37-.03.57-.085.713-.159a1.75 1.75 0 00.765-.764c.074-.145.13-.344.16-.714.03-.38.031-.869.031-1.581V6.5c0-.712 0-1.202-.032-1.58-.03-.371-.085-.57-.159-.714a1.75 1.75 0 00-.765-.765c-.144-.074-.343-.13-.713-.16-.38-.03-.868-.031-1.58-.031h-7c-.713 0-1.203 0-1.582.032zm.164 3.801a.75.75 0 01.75-.75H10a.75.75 0 010 1.5H5.833a.75.75 0 01-.75-.75zm0 2.917a.75.75 0 01.75-.75H12.5a.75.75 0 010 1.5H5.833a.75.75 0 01-.75-.75z",
29308
+ fill: "CurrentColor"
29301
29309
  })));
29302
29310
  }
29303
29311
 
29304
- var _path$V, _path2$6, _path3$2;
29312
+ var _path$V;
29305
29313
  function _extends$W() {
29306
29314
  return _extends$W = Object.assign ? Object.assign.bind() : function (n) {
29307
29315
  for (var e = 1; e < arguments.length; e++) {
@@ -29311,18 +29319,43 @@ function _extends$W() {
29311
29319
  return n;
29312
29320
  }, _extends$W.apply(null, arguments);
29313
29321
  }
29314
- function SvgInfoAction(props) {
29322
+ function SvgArrowDown(props) {
29315
29323
  return /*#__PURE__*/React.createElement("svg", _extends$W({
29324
+ width: 20,
29325
+ height: 8,
29326
+ viewBox: "0 0 20 20",
29327
+ fill: "none",
29328
+ xmlns: "http://www.w3.org/2000/svg"
29329
+ }, props), _path$V || (_path$V = /*#__PURE__*/React.createElement("path", {
29330
+ fillRule: "evenodd",
29331
+ clipRule: "evenodd",
29332
+ d: "M10 8C7 8 4 0 0 0h20c-3.975 0-7 8-10 8z",
29333
+ fill: "currentColor"
29334
+ })));
29335
+ }
29336
+
29337
+ var _path$W, _path2$7, _path3$2;
29338
+ function _extends$X() {
29339
+ return _extends$X = Object.assign ? Object.assign.bind() : function (n) {
29340
+ for (var e = 1; e < arguments.length; e++) {
29341
+ var t = arguments[e];
29342
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
29343
+ }
29344
+ return n;
29345
+ }, _extends$X.apply(null, arguments);
29346
+ }
29347
+ function SvgInfoAction(props) {
29348
+ return /*#__PURE__*/React.createElement("svg", _extends$X({
29316
29349
  width: 18,
29317
29350
  height: 18,
29318
29351
  fill: "none",
29319
29352
  xmlns: "http://www.w3.org/2000/svg"
29320
- }, props), _path$V || (_path$V = /*#__PURE__*/React.createElement("path", {
29353
+ }, props), _path$W || (_path$W = /*#__PURE__*/React.createElement("path", {
29321
29354
  fillRule: "evenodd",
29322
29355
  clipRule: "evenodd",
29323
29356
  d: "M8.333 1.376a6.957 6.957 0 100 13.914 6.957 6.957 0 000-13.914zM0 8.333a8.333 8.333 0 1116.667 0A8.333 8.333 0 010 8.333z",
29324
29357
  fill: "currentColor"
29325
- })), _path2$6 || (_path2$6 = /*#__PURE__*/React.createElement("path", {
29358
+ })), _path2$7 || (_path2$7 = /*#__PURE__*/React.createElement("path", {
29326
29359
  fillRule: "evenodd",
29327
29360
  clipRule: "evenodd",
29328
29361
  d: "M7.008 7.696c0-.38.308-.688.688-.688h.637c.38 0 .688.308.688.688v3.774a.688.688 0 01-.05 1.374h-.638a.688.688 0 01-.688-.688V8.382a.688.688 0 01-.637-.686z",
@@ -29346,6 +29379,7 @@ function MessageActions(_ref) {
29346
29379
  handleReportMessage = _ref.handleReportMessage,
29347
29380
  messageStatus = _ref.messageStatus,
29348
29381
  handleSelectMessage = _ref.handleSelectMessage,
29382
+ handleRetractVote = _ref.handleRetractVote,
29349
29383
  handleEndVote = _ref.handleEndVote,
29350
29384
  handleReplyMessage = _ref.handleReplyMessage,
29351
29385
  handleOpenInfoMessage = _ref.handleOpenInfoMessage,
@@ -29367,6 +29401,7 @@ function MessageActions(_ref) {
29367
29401
  copyIcon = _ref.copyIcon,
29368
29402
  replyIcon = _ref.replyIcon,
29369
29403
  replyInThreadIcon = _ref.replyInThreadIcon,
29404
+ retractVoteIcon = _ref.retractVoteIcon,
29370
29405
  endVoteIcon = _ref.endVoteIcon,
29371
29406
  deleteIcon = _ref.deleteIcon,
29372
29407
  selectIcon = _ref.selectIcon,
@@ -29496,7 +29531,16 @@ function MessageActions(_ref) {
29496
29531
  disabledColor: textSecondary,
29497
29532
  bgColor: tooltipBackground,
29498
29533
  direction: 'top'
29499
- }, copyIconTooltipText || 'Copy', /*#__PURE__*/React__default.createElement(SvgArrowDown, null)), copyIcon || /*#__PURE__*/React__default.createElement(SvgCopyIcon, null))), !isPollMessage && (/*#__PURE__*/React__default.createElement(Action, {
29534
+ }, copyIconTooltipText || 'Copy', /*#__PURE__*/React__default.createElement(SvgArrowDown, null)), copyIcon || /*#__PURE__*/React__default.createElement(SvgCopyIcon, null))), isPollMessage && (/*#__PURE__*/React__default.createElement(Action, {
29535
+ onClick: handleRetractVote,
29536
+ iconColor: messageActionIconsColor || iconInactive,
29537
+ hoverBackgroundColor: backgroundHovered,
29538
+ hoverIconColor: accentColor
29539
+ }, /*#__PURE__*/React__default.createElement(ItemNote, {
29540
+ disabledColor: textSecondary,
29541
+ bgColor: tooltipBackground,
29542
+ direction: 'top'
29543
+ }, "Retract Vote", /*#__PURE__*/React__default.createElement(SvgArrowDown, null)), retractVoteIcon || /*#__PURE__*/React__default.createElement(SvgRetractVote, null))), !isPollMessage && (/*#__PURE__*/React__default.createElement(Action, {
29500
29544
  onClick: handleEndVote,
29501
29545
  iconColor: messageActionIconsColor || iconInactive,
29502
29546
  hoverBackgroundColor: backgroundHovered,
@@ -29592,18 +29636,18 @@ var Action = styled__default.div(_templateObject3$j || (_templateObject3$j = _ta
29592
29636
  return props.hoverBackgroundColor;
29593
29637
  }, ItemNote);
29594
29638
 
29595
- var _rect$1, _path$W;
29596
- function _extends$X() {
29597
- return _extends$X = Object.assign ? Object.assign.bind() : function (n) {
29639
+ var _rect$1, _path$X;
29640
+ function _extends$Y() {
29641
+ return _extends$Y = Object.assign ? Object.assign.bind() : function (n) {
29598
29642
  for (var e = 1; e < arguments.length; e++) {
29599
29643
  var t = arguments[e];
29600
29644
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
29601
29645
  }
29602
29646
  return n;
29603
- }, _extends$X.apply(null, arguments);
29647
+ }, _extends$Y.apply(null, arguments);
29604
29648
  }
29605
29649
  function SvgFileIcon(props) {
29606
- return /*#__PURE__*/React.createElement("svg", _extends$X({
29650
+ return /*#__PURE__*/React.createElement("svg", _extends$Y({
29607
29651
  width: 40,
29608
29652
  height: 40,
29609
29653
  viewBox: "0 0 40.01 40.01",
@@ -29614,24 +29658,24 @@ function SvgFileIcon(props) {
29614
29658
  height: 40,
29615
29659
  rx: 20,
29616
29660
  fill: "Transparent"
29617
- })), _path$W || (_path$W = /*#__PURE__*/React.createElement("path", {
29661
+ })), _path$X || (_path$X = /*#__PURE__*/React.createElement("path", {
29618
29662
  d: "M22.48 10.097c.298.068.56.177.819.338.258.162.468.332 1.015.88l3.372 3.37c.547.548.717.758.879 1.016.161.258.27.521.338.818.069.297.097.565.097 1.34v7.295c0 1.337-.14 1.822-.4 2.311a2.726 2.726 0 01-1.135 1.134c-.489.262-.974.401-2.31.401h-9.31c-1.337 0-1.821-.14-2.31-.4a2.726 2.726 0 01-1.134-1.135c-.262-.489-.401-.974-.401-2.31v-11.31c0-1.337.14-1.821.4-2.31a2.726 2.726 0 011.135-1.134c.489-.262.973-.401 2.31-.401h5.296c.775 0 1.043.028 1.34.097zm-.68 1.827a.3.3 0 00-.3.3V16a.5.5 0 00.5.5h3.776a.3.3 0 00.212-.512l-3.976-3.976a.3.3 0 00-.212-.088z",
29619
29663
  fill: "#fff"
29620
29664
  })));
29621
29665
  }
29622
29666
 
29623
- var _circle$2, _path$X;
29624
- function _extends$Y() {
29625
- return _extends$Y = Object.assign ? Object.assign.bind() : function (n) {
29667
+ var _circle$2, _path$Y;
29668
+ function _extends$Z() {
29669
+ return _extends$Z = Object.assign ? Object.assign.bind() : function (n) {
29626
29670
  for (var e = 1; e < arguments.length; e++) {
29627
29671
  var t = arguments[e];
29628
29672
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
29629
29673
  }
29630
29674
  return n;
29631
- }, _extends$Y.apply(null, arguments);
29675
+ }, _extends$Z.apply(null, arguments);
29632
29676
  }
29633
29677
  function SvgDeleteUpload(props) {
29634
- return /*#__PURE__*/React.createElement("svg", _extends$Y({
29678
+ return /*#__PURE__*/React.createElement("svg", _extends$Z({
29635
29679
  width: 20,
29636
29680
  height: 20,
29637
29681
  viewBox: "0 0 20.01 20.01",
@@ -29644,7 +29688,7 @@ function SvgDeleteUpload(props) {
29644
29688
  fill: "CurrentColor",
29645
29689
  stroke: "#fff",
29646
29690
  strokeWidth: 1.4
29647
- })), _path$X || (_path$X = /*#__PURE__*/React.createElement("path", {
29691
+ })), _path$Y || (_path$Y = /*#__PURE__*/React.createElement("path", {
29648
29692
  d: "M13.5 6.5l-7 7M6.5 6.5l7 7",
29649
29693
  stroke: "#fff",
29650
29694
  strokeWidth: 1.4,
@@ -29653,24 +29697,24 @@ function SvgDeleteUpload(props) {
29653
29697
  })));
29654
29698
  }
29655
29699
 
29656
- var _path$Y;
29657
- function _extends$Z() {
29658
- return _extends$Z = Object.assign ? Object.assign.bind() : function (n) {
29700
+ var _path$Z;
29701
+ function _extends$_() {
29702
+ return _extends$_ = Object.assign ? Object.assign.bind() : function (n) {
29659
29703
  for (var e = 1; e < arguments.length; e++) {
29660
29704
  var t = arguments[e];
29661
29705
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
29662
29706
  }
29663
29707
  return n;
29664
- }, _extends$Z.apply(null, arguments);
29708
+ }, _extends$_.apply(null, arguments);
29665
29709
  }
29666
29710
  function SvgUpload(props) {
29667
- return /*#__PURE__*/React.createElement("svg", _extends$Z({
29711
+ return /*#__PURE__*/React.createElement("svg", _extends$_({
29668
29712
  width: 32,
29669
29713
  height: 32,
29670
29714
  viewBox: "0 0 32.01 32.01",
29671
29715
  fill: "none",
29672
29716
  xmlns: "http://www.w3.org/2000/svg"
29673
- }, props), _path$Y || (_path$Y = /*#__PURE__*/React.createElement("path", {
29717
+ }, props), _path$Z || (_path$Z = /*#__PURE__*/React.createElement("path", {
29674
29718
  fillRule: "evenodd",
29675
29719
  clipRule: "evenodd",
29676
29720
  d: "M14.5 20.5a1.5 1.5 0 003 0V7.121l4.44 4.44a1.5 1.5 0 002.12-2.122l-7-7a1.5 1.5 0 00-2.12 0l-7 7a1.5 1.5 0 002.12 2.122l4.44-4.44V20.5zm-9 4.5a1.5 1.5 0 000 3h21a1.5 1.5 0 000-3h-21z",
@@ -29678,18 +29722,18 @@ function SvgUpload(props) {
29678
29722
  })));
29679
29723
  }
29680
29724
 
29681
- var _circle$3, _path$Z;
29682
- function _extends$_() {
29683
- return _extends$_ = Object.assign ? Object.assign.bind() : function (n) {
29725
+ var _circle$3, _path$_;
29726
+ function _extends$$() {
29727
+ return _extends$$ = Object.assign ? Object.assign.bind() : function (n) {
29684
29728
  for (var e = 1; e < arguments.length; e++) {
29685
29729
  var t = arguments[e];
29686
29730
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
29687
29731
  }
29688
29732
  return n;
29689
- }, _extends$_.apply(null, arguments);
29733
+ }, _extends$$.apply(null, arguments);
29690
29734
  }
29691
29735
  function SvgPlayVideo(props) {
29692
- return /*#__PURE__*/React.createElement("svg", _extends$_({
29736
+ return /*#__PURE__*/React.createElement("svg", _extends$$({
29693
29737
  width: 56,
29694
29738
  height: 56,
29695
29739
  fill: "none",
@@ -29700,7 +29744,7 @@ function SvgPlayVideo(props) {
29700
29744
  r: 28,
29701
29745
  fill: "#17191C",
29702
29746
  fillOpacity: 0.4
29703
- })), _path$Z || (_path$Z = /*#__PURE__*/React.createElement("path", {
29747
+ })), _path$_ || (_path$_ = /*#__PURE__*/React.createElement("path", {
29704
29748
  d: "M38.048 26.262c1.27.767 1.27 2.706 0 3.473l-13.224 7.996c-1.258.76-2.824-.202-2.824-1.737V20.003c0-1.535 1.566-2.498 2.824-1.737l13.224 7.996z",
29705
29749
  fill: "#fff"
29706
29750
  })));
@@ -29884,18 +29928,18 @@ var AttachmentImg = styled__default.img(_templateObject7$b || (_templateObject7$
29884
29928
  return props.borderRadius || '6px';
29885
29929
  });
29886
29930
 
29887
- var _circle$4, _path$_;
29888
- function _extends$$() {
29889
- return _extends$$ = Object.assign ? Object.assign.bind() : function (n) {
29931
+ var _circle$4, _path$$;
29932
+ function _extends$10() {
29933
+ return _extends$10 = Object.assign ? Object.assign.bind() : function (n) {
29890
29934
  for (var e = 1; e < arguments.length; e++) {
29891
29935
  var t = arguments[e];
29892
29936
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
29893
29937
  }
29894
29938
  return n;
29895
- }, _extends$$.apply(null, arguments);
29939
+ }, _extends$10.apply(null, arguments);
29896
29940
  }
29897
29941
  function SvgPlay(props) {
29898
- return /*#__PURE__*/React.createElement("svg", _extends$$({
29942
+ return /*#__PURE__*/React.createElement("svg", _extends$10({
29899
29943
  width: 32,
29900
29944
  height: 32,
29901
29945
  viewBox: "0 0 33 33",
@@ -29906,24 +29950,24 @@ function SvgPlay(props) {
29906
29950
  cy: 16,
29907
29951
  r: 16,
29908
29952
  fill: "CurrentColor"
29909
- })), _path$_ || (_path$_ = /*#__PURE__*/React.createElement("path", {
29953
+ })), _path$$ || (_path$$ = /*#__PURE__*/React.createElement("path", {
29910
29954
  d: "M21.652 15.022c.714.432.714 1.522 0 1.954l-7.438 4.498c-.708.428-1.589-.114-1.589-.977v-8.995c0-.864.88-1.405 1.589-.977l7.438 4.497z",
29911
29955
  fill: "#fff"
29912
29956
  })));
29913
29957
  }
29914
29958
 
29915
- var _circle$5, _path$$;
29916
- function _extends$10() {
29917
- return _extends$10 = Object.assign ? Object.assign.bind() : function (n) {
29959
+ var _circle$5, _path$10;
29960
+ function _extends$11() {
29961
+ return _extends$11 = Object.assign ? Object.assign.bind() : function (n) {
29918
29962
  for (var e = 1; e < arguments.length; e++) {
29919
29963
  var t = arguments[e];
29920
29964
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
29921
29965
  }
29922
29966
  return n;
29923
- }, _extends$10.apply(null, arguments);
29967
+ }, _extends$11.apply(null, arguments);
29924
29968
  }
29925
29969
  function SvgPause(props) {
29926
- return /*#__PURE__*/React.createElement("svg", _extends$10({
29970
+ return /*#__PURE__*/React.createElement("svg", _extends$11({
29927
29971
  width: 32,
29928
29972
  height: 32,
29929
29973
  viewBox: "0 0 33 33",
@@ -29934,7 +29978,7 @@ function SvgPause(props) {
29934
29978
  cy: 16,
29935
29979
  r: 16,
29936
29980
  fill: "CurrentColor"
29937
- })), _path$$ || (_path$$ = /*#__PURE__*/React.createElement("path", {
29981
+ })), _path$10 || (_path$10 = /*#__PURE__*/React.createElement("path", {
29938
29982
  d: "M13.721 10.375c.401 0 .547.042.694.12a.818.818 0 01.34.34c.078.147.12.293.12.694v8.942c0 .401-.042.547-.12.694a.818.818 0 01-.34.34c-.147.078-.293.12-.694.12h-1.067c-.401 0-.547-.042-.694-.12a.818.818 0 01-.34-.34c-.078-.147-.12-.293-.12-.694V11.53c0-.401.042-.547.12-.694a.818.818 0 01.34-.34c.147-.078.293-.12.694-.12h1.067zm5.625 0c.401 0 .547.042.694.12a.818.818 0 01.34.34c.078.147.12.293.12.694v8.942c0 .401-.042.547-.12.694a.818.818 0 01-.34.34c-.147.078-.293.12-.694.12H18.28c-.401 0-.547-.042-.694-.12a.818.818 0 01-.34-.34c-.078-.147-.12-.293-.12-.694V11.53c0-.401.042-.547.12-.694a.818.818 0 01.34-.34c.147-.078.293-.12.694-.12h1.067z",
29939
29983
  fill: "#fff"
29940
29984
  })));
@@ -32945,24 +32989,24 @@ var MessageHeaderCont = styled__default.div(_templateObject$y || (_templateObjec
32945
32989
  return props.withPadding && (props.isForwarded ? '8px 0 2px 12px' : !props.isReplied && !props.messageBody ? props.withMediaAttachment ? '8px 0 8px 12px' : '8px 0 0 12px' : '8px 0 0 12px');
32946
32990
  });
32947
32991
 
32948
- var _path$10;
32949
- function _extends$11() {
32950
- return _extends$11 = Object.assign ? Object.assign.bind() : function (n) {
32992
+ var _path$11;
32993
+ function _extends$12() {
32994
+ return _extends$12 = Object.assign ? Object.assign.bind() : function (n) {
32951
32995
  for (var e = 1; e < arguments.length; e++) {
32952
32996
  var t = arguments[e];
32953
32997
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
32954
32998
  }
32955
32999
  return n;
32956
- }, _extends$11.apply(null, arguments);
33000
+ }, _extends$12.apply(null, arguments);
32957
33001
  }
32958
33002
  function SvgEmojiAnimalIcon(props) {
32959
- return /*#__PURE__*/React.createElement("svg", _extends$11({
33003
+ return /*#__PURE__*/React.createElement("svg", _extends$12({
32960
33004
  width: 20,
32961
33005
  height: 20,
32962
33006
  viewBox: "0 0 20.01 20.01",
32963
33007
  fill: "none",
32964
33008
  xmlns: "http://www.w3.org/2000/svg"
32965
- }, props), _path$10 || (_path$10 = /*#__PURE__*/React.createElement("path", {
33009
+ }, props), _path$11 || (_path$11 = /*#__PURE__*/React.createElement("path", {
32966
33010
  fillRule: "evenodd",
32967
33011
  clipRule: "evenodd",
32968
33012
  d: "M7.188 3.875a.813.813 0 100 1.625.813.813 0 000-1.625zm-2.313.813a2.312 2.312 0 114.625 0 2.312 2.312 0 01-4.625 0zm7.938-.813a.813.813 0 100 1.625.813.813 0 000-1.625zm-2.313.813a2.312 2.312 0 114.625 0 2.312 2.312 0 01-4.625 0zM3.437 7.624a.813.813 0 100 1.625.813.813 0 000-1.625zm-2.312.813a2.312 2.312 0 114.625 0 2.312 2.312 0 01-4.625 0zm15.438-.813a.813.813 0 100 1.625.813.813 0 000-1.625zm-2.313.813a2.312 2.312 0 114.625 0 2.312 2.312 0 01-4.625 0zm-6.393-.359a3.563 3.563 0 015.567 1.862c.193.672.643 1.24 1.252 1.582a3.25 3.25 0 01-1.548 6.102h-.002c-.435 0-.864-.086-1.265-.253a4.859 4.859 0 00-3.722 0h.001a3.28 3.28 0 01-1.265.253h-.003a3.25 3.25 0 01-1.548-6.101A2.657 2.657 0 006.576 9.94a3.563 3.563 0 011.28-1.862zM10 8.863a2.062 2.062 0 00-1.982 1.493 4.156 4.156 0 01-1.964 2.478l-.008.004a1.75 1.75 0 001.517 3.15l.001-.001a6.358 6.358 0 014.872 0h.001a1.75 1.75 0 001.516-3.15l-.007-.003a4.156 4.156 0 01-1.964-2.478A2.062 2.062 0 0010 8.863z",
@@ -32970,29 +33014,29 @@ function SvgEmojiAnimalIcon(props) {
32970
33014
  })));
32971
33015
  }
32972
33016
 
32973
- var _path$11, _path2$7, _path3$3;
32974
- function _extends$12() {
32975
- return _extends$12 = Object.assign ? Object.assign.bind() : function (n) {
33017
+ var _path$12, _path2$8, _path3$3;
33018
+ function _extends$13() {
33019
+ return _extends$13 = Object.assign ? Object.assign.bind() : function (n) {
32976
33020
  for (var e = 1; e < arguments.length; e++) {
32977
33021
  var t = arguments[e];
32978
33022
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
32979
33023
  }
32980
33024
  return n;
32981
- }, _extends$12.apply(null, arguments);
33025
+ }, _extends$13.apply(null, arguments);
32982
33026
  }
32983
33027
  function SvgEmojiFoodIcon(props) {
32984
- return /*#__PURE__*/React.createElement("svg", _extends$12({
33028
+ return /*#__PURE__*/React.createElement("svg", _extends$13({
32985
33029
  width: 20,
32986
33030
  height: 20,
32987
33031
  viewBox: "0 0 20.01 20.01",
32988
33032
  fill: "none",
32989
33033
  xmlns: "http://www.w3.org/2000/svg"
32990
- }, props), _path$11 || (_path$11 = /*#__PURE__*/React.createElement("path", {
33034
+ }, props), _path$12 || (_path$12 = /*#__PURE__*/React.createElement("path", {
32991
33035
  fillRule: "evenodd",
32992
33036
  clipRule: "evenodd",
32993
33037
  d: "M12.143 7.855c0-.395.32-.714.714-.714.779 0 1.501.261 2.033.779.535.52.824 1.249.824 2.078a.714.714 0 11-1.428 0c0-.49-.165-.833-.392-1.054-.23-.224-.579-.375-1.037-.375a.714.714 0 01-.714-.714z",
32994
33038
  fill: "CurrentColor"
32995
- })), _path2$7 || (_path2$7 = /*#__PURE__*/React.createElement("path", {
33039
+ })), _path2$8 || (_path2$8 = /*#__PURE__*/React.createElement("path", {
32996
33040
  fillRule: "evenodd",
32997
33041
  clipRule: "evenodd",
32998
33042
  d: "M10.083 2.222c-.616.616-.81 1.522-.797 2.367a6.008 6.008 0 00-1.905-.306c-3.438 0-5.952 2.45-5.952 5.858 0 1.644.588 3.698 1.574 5.35.968 1.622 2.465 3.08 4.378 3.08a5.98 5.98 0 002.62-.596 5.98 5.98 0 002.618.597c1.914 0 3.41-1.46 4.378-3.081.986-1.652 1.574-3.706 1.574-5.35 0-3.208-2.229-5.568-5.36-5.833.223-.434.307-.893.34-1.244.049-.518-.016-1.016-.09-1.528-.513-.072-1.01-.14-1.528-.09-.524.048-1.288.213-1.85.776zM7.38 5.712c-2.674 0-4.524 1.835-4.524 4.43 0 1.356.503 3.16 1.372 4.616.887 1.486 2.01 2.385 3.152 2.385.758 0 1.454-.178 2.075-.492a1.206 1.206 0 011.088 0 4.55 4.55 0 002.075.492c1.142 0 2.265-.899 3.152-2.385.869-1.456 1.372-3.26 1.372-4.617 0-2.594-1.85-4.43-4.524-4.43a4.57 4.57 0 00-2.073.493 1.206 1.206 0 01-1.09 0 4.551 4.551 0 00-2.075-.492zm3.341-1.437c.362-.026.776-.105 1.043-.37.265-.267.344-.682.37-1.043-.361.026-.776.104-1.042.37-.266.267-.345.681-.37 1.043z",
@@ -33005,24 +33049,24 @@ function SvgEmojiFoodIcon(props) {
33005
33049
  })));
33006
33050
  }
33007
33051
 
33008
- var _path$12;
33009
- function _extends$13() {
33010
- return _extends$13 = Object.assign ? Object.assign.bind() : function (n) {
33052
+ var _path$13;
33053
+ function _extends$14() {
33054
+ return _extends$14 = Object.assign ? Object.assign.bind() : function (n) {
33011
33055
  for (var e = 1; e < arguments.length; e++) {
33012
33056
  var t = arguments[e];
33013
33057
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
33014
33058
  }
33015
33059
  return n;
33016
- }, _extends$13.apply(null, arguments);
33060
+ }, _extends$14.apply(null, arguments);
33017
33061
  }
33018
33062
  function SvgEmojiTravelIcon(props) {
33019
- return /*#__PURE__*/React.createElement("svg", _extends$13({
33063
+ return /*#__PURE__*/React.createElement("svg", _extends$14({
33020
33064
  width: 20,
33021
33065
  height: 20,
33022
33066
  viewBox: "0 0 20.01 20.01",
33023
33067
  fill: "none",
33024
33068
  xmlns: "http://www.w3.org/2000/svg"
33025
- }, props), _path$12 || (_path$12 = /*#__PURE__*/React.createElement("path", {
33069
+ }, props), _path$13 || (_path$13 = /*#__PURE__*/React.createElement("path", {
33026
33070
  fillRule: "evenodd",
33027
33071
  clipRule: "evenodd",
33028
33072
  d: "M13.763 2.458a2.6 2.6 0 013.748 3.604l-2.135 2.236a5.065 5.065 0 00-.188.204.076.076 0 00-.004.017l.004.03c.008.05.024.116.053.241l1.327 5.754.012.05c.044.189.096.412.079.639-.015.197-.07.39-.162.564-.106.202-.268.364-.406.5l-.036.037-.306.306c-.215.215-.409.408-.58.55-.175.147-.406.309-.705.362a1.46 1.46 0 01-1.124-.266c-.244-.18-.378-.429-.47-.638-.089-.204-.175-.464-.272-.752l-1.2-3.6-1.779 1.78a4.815 4.815 0 00-.172.178.076.076 0 00-.005.015l.001.027c.003.045.01.105.022.22l.141 1.27.005.045c.02.168.042.368.01.567a1.46 1.46 0 01-.172.49c-.1.176-.242.317-.362.437l-.032.032-.152.151-.018.019c-.166.166-.32.32-.46.438-.15.125-.338.258-.583.322a1.46 1.46 0 01-1.007-.1 1.49 1.49 0 01-.508-.43c-.114-.142-.236-.325-.366-.52l-1.22-1.83a4.929 4.929 0 00-.063-.09l-.009-.006a4.655 4.655 0 00-.077-.052l-1.829-1.22a7.783 7.783 0 01-.52-.365 1.492 1.492 0 01-.43-.509 1.46 1.46 0 01-.1-1.006c.065-.245.197-.434.323-.584.117-.14.272-.294.438-.46l.018-.018.152-.152.031-.032c.12-.12.262-.262.437-.362.152-.086.318-.145.49-.172a2.09 2.09 0 01.568.01l.044.005 1.27.141a4.747 4.747 0 00.247.023.075.075 0 00.015-.005 4.867 4.867 0 00.178-.172l1.78-1.78-3.6-1.199a9.48 9.48 0 01-.752-.272c-.209-.092-.457-.226-.638-.47a1.46 1.46 0 01-.265-1.124c.053-.298.215-.53.36-.705.143-.171.337-.365.552-.58l.02-.02.285-.285.037-.037c.136-.137.298-.3.5-.406a1.46 1.46 0 01.564-.161c.228-.018.45.034.64.078l.05.012 5.731 1.323a5.096 5.096 0 00.275.057.075.075 0 00.019-.005 5.146 5.146 0 00.199-.197l2.082-2.152zm2.728.948a1.216 1.216 0 00-1.734.014l-2.082 2.151-.036.037c-.132.137-.288.3-.483.407a1.46 1.46 0 01-.602.178c-.223.016-.442-.036-.627-.079l-.05-.011L5.146 4.78a5.06 5.06 0 00-.279-.059.077.077 0 00-.017.005 5.065 5.065 0 00-.205.197l-.285.285c-.243.243-.39.392-.487.508a.915.915 0 00-.063.083c0 .006.002.012.004.018.016.01.045.025.094.046.138.06.337.128.662.236l4.633 1.544a.692.692 0 01.27 1.146l-2.57 2.57-.032.032c-.12.12-.261.262-.436.362a1.459 1.459 0 01-.492.172 2.09 2.09 0 01-.567-.01l-.044-.005-1.27-.141a4.747 4.747 0 00-.247-.023.075.075 0 00-.015.005 4.867 4.867 0 00-.178.172l-.152.152c-.19.19-.301.302-.375.39a.735.735 0 00-.045.058c0 .008 0 .015.002.023.01.009.027.025.056.048.09.072.22.16.444.309l1.808 1.205.015.01a1.466 1.466 0 01.507.507l.01.016 1.206 1.807c.15.225.237.355.308.444.024.03.04.047.049.056a.076.076 0 00.022.002.723.723 0 00.059-.045c.087-.073.199-.184.39-.375l.151-.151a4.89 4.89 0 00.172-.178.077.077 0 00.005-.016v-.026a4.94 4.94 0 00-.023-.22l-.14-1.27-.006-.045a2.091 2.091 0 01-.01-.567 1.46 1.46 0 01.172-.491c.1-.175.242-.317.363-.437l.031-.031 2.57-2.57a.692.692 0 011.146.27L13.9 15.43c.109.325.175.523.236.662a.9.9 0 00.046.093.073.073 0 00.019.004.917.917 0 00.083-.063c.116-.096.264-.244.507-.486l.285-.285a5.078 5.078 0 00.197-.206.073.073 0 00.005-.017 5.042 5.042 0 00-.058-.279l-1.328-5.753-.011-.049c-.044-.184-.095-.401-.079-.624a1.46 1.46 0 01.152-.553c.1-.199.255-.36.386-.496l.034-.037 2.136-2.236a1.216 1.216 0 00-.02-1.7z",
@@ -33031,17 +33075,17 @@ function SvgEmojiTravelIcon(props) {
33031
33075
  }
33032
33076
 
33033
33077
  var _g, _defs$1;
33034
- function _extends$14() {
33035
- return _extends$14 = Object.assign ? Object.assign.bind() : function (n) {
33078
+ function _extends$15() {
33079
+ return _extends$15 = Object.assign ? Object.assign.bind() : function (n) {
33036
33080
  for (var e = 1; e < arguments.length; e++) {
33037
33081
  var t = arguments[e];
33038
33082
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
33039
33083
  }
33040
33084
  return n;
33041
- }, _extends$14.apply(null, arguments);
33085
+ }, _extends$15.apply(null, arguments);
33042
33086
  }
33043
33087
  function SvgEmojiObjectIcon(props) {
33044
- return /*#__PURE__*/React.createElement("svg", _extends$14({
33088
+ return /*#__PURE__*/React.createElement("svg", _extends$15({
33045
33089
  width: 20,
33046
33090
  height: 20,
33047
33091
  viewBox: "0 0 20.01 20.01",
@@ -33062,24 +33106,24 @@ function SvgEmojiObjectIcon(props) {
33062
33106
  })))));
33063
33107
  }
33064
33108
 
33065
- var _path$13;
33066
- function _extends$15() {
33067
- return _extends$15 = Object.assign ? Object.assign.bind() : function (n) {
33109
+ var _path$14;
33110
+ function _extends$16() {
33111
+ return _extends$16 = Object.assign ? Object.assign.bind() : function (n) {
33068
33112
  for (var e = 1; e < arguments.length; e++) {
33069
33113
  var t = arguments[e];
33070
33114
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
33071
33115
  }
33072
33116
  return n;
33073
- }, _extends$15.apply(null, arguments);
33117
+ }, _extends$16.apply(null, arguments);
33074
33118
  }
33075
33119
  function SvgEmojiSymbolsIcon(props) {
33076
- return /*#__PURE__*/React.createElement("svg", _extends$15({
33120
+ return /*#__PURE__*/React.createElement("svg", _extends$16({
33077
33121
  width: 20,
33078
33122
  height: 20,
33079
33123
  viewBox: "0 0 20.01 20.01",
33080
33124
  fill: "none",
33081
33125
  xmlns: "http://www.w3.org/2000/svg"
33082
- }, props), _path$13 || (_path$13 = /*#__PURE__*/React.createElement("path", {
33126
+ }, props), _path$14 || (_path$14 = /*#__PURE__*/React.createElement("path", {
33083
33127
  fillRule: "evenodd",
33084
33128
  clipRule: "evenodd",
33085
33129
  d: "M8.04 1.76a.75.75 0 01.616.863l-.548 3.294h5.146l.59-3.54a.75.75 0 111.48.246l-.55 3.294h2.31a.75.75 0 010 1.5h-2.56l-.86 5.167h2.586a.75.75 0 110 1.5h-2.837l-.59 3.54a.75.75 0 11-1.48-.247l.55-3.293H6.745l-.59 3.54a.75.75 0 11-1.48-.247l.55-3.293H2.083a.75.75 0 010-1.5h3.393l.86-5.167h-3.42a.75.75 0 110-1.5h3.67l.59-3.54a.75.75 0 01.864-.617zm-.182 5.657l-.862 5.167h5.146l.862-5.167H7.858z",
@@ -33087,24 +33131,24 @@ function SvgEmojiSymbolsIcon(props) {
33087
33131
  })));
33088
33132
  }
33089
33133
 
33090
- var _path$14;
33091
- function _extends$16() {
33092
- return _extends$16 = Object.assign ? Object.assign.bind() : function (n) {
33134
+ var _path$15;
33135
+ function _extends$17() {
33136
+ return _extends$17 = Object.assign ? Object.assign.bind() : function (n) {
33093
33137
  for (var e = 1; e < arguments.length; e++) {
33094
33138
  var t = arguments[e];
33095
33139
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
33096
33140
  }
33097
33141
  return n;
33098
- }, _extends$16.apply(null, arguments);
33142
+ }, _extends$17.apply(null, arguments);
33099
33143
  }
33100
33144
  function SvgEmojiFlagicon(props) {
33101
- return /*#__PURE__*/React.createElement("svg", _extends$16({
33145
+ return /*#__PURE__*/React.createElement("svg", _extends$17({
33102
33146
  width: 20,
33103
33147
  height: 20,
33104
33148
  viewBox: "0 0 20.01 20.01",
33105
33149
  fill: "none",
33106
33150
  xmlns: "http://www.w3.org/2000/svg"
33107
- }, props), _path$14 || (_path$14 = /*#__PURE__*/React.createElement("path", {
33151
+ }, props), _path$15 || (_path$15 = /*#__PURE__*/React.createElement("path", {
33108
33152
  fillRule: "evenodd",
33109
33153
  clipRule: "evenodd",
33110
33154
  d: "M4.167 3.25a.917.917 0 00-.917.917v7.764c.288-.118.6-.181.917-.181h5.416a.75.75 0 01.53.22l.614.613h5.56L14.329 8.67a.75.75 0 010-.671l1.957-3.915H10.75V7.5a.75.75 0 01-1.5 0V3.25H4.167zm6.56-.667l-.613-.613a.75.75 0 00-.53-.22H4.166A2.417 2.417 0 001.75 4.167V17.5a.75.75 0 001.5 0v-3.333a.917.917 0 01.917-.917h5.106l.613.614c.141.14.332.22.53.22H17.5a.75.75 0 00.67-1.086l-2.332-4.665 2.333-4.664a.75.75 0 00-.671-1.086h-6.773z",
@@ -33600,24 +33644,24 @@ var Emoji = styled__default.li(_templateObject8$c || (_templateObject8$c = _tagg
33600
33644
  return props.hoverBackgroundColor;
33601
33645
  });
33602
33646
 
33603
- var _path$15;
33604
- function _extends$17() {
33605
- return _extends$17 = Object.assign ? Object.assign.bind() : function (n) {
33647
+ var _path$16;
33648
+ function _extends$18() {
33649
+ return _extends$18 = Object.assign ? Object.assign.bind() : function (n) {
33606
33650
  for (var e = 1; e < arguments.length; e++) {
33607
33651
  var t = arguments[e];
33608
33652
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
33609
33653
  }
33610
33654
  return n;
33611
- }, _extends$17.apply(null, arguments);
33655
+ }, _extends$18.apply(null, arguments);
33612
33656
  }
33613
33657
  function SvgPlus(props) {
33614
- return /*#__PURE__*/React.createElement("svg", _extends$17({
33658
+ return /*#__PURE__*/React.createElement("svg", _extends$18({
33615
33659
  width: 20,
33616
33660
  height: 20,
33617
33661
  viewBox: "0 0 20.01 20.01",
33618
33662
  fill: "none",
33619
33663
  xmlns: "http://www.w3.org/2000/svg"
33620
- }, props), _path$15 || (_path$15 = /*#__PURE__*/React.createElement("path", {
33664
+ }, props), _path$16 || (_path$16 = /*#__PURE__*/React.createElement("path", {
33621
33665
  d: "M10 3.778c.43 0 .778.348.778.778v4.666h4.666a.778.778 0 110 1.556h-4.666v4.666a.778.778 0 11-1.556 0v-4.666H4.556a.778.778 0 110-1.556h4.666V4.556c0-.43.348-.778.778-.778z",
33622
33666
  fill: "currentColor"
33623
33667
  })));
@@ -33875,61 +33919,174 @@ var MessageStatusUpdated = styled__default.span(_templateObject4$m || (_template
33875
33919
  return props.color;
33876
33920
  });
33877
33921
 
33878
- var _templateObject$C, _templateObject2$x, _templateObject3$r, _templateObject4$n, _templateObject5$i, _templateObject6$g, _templateObject7$e, _templateObject8$d, _templateObject9$b, _templateObject0$a;
33879
- var VotesResultsPopup = function VotesResultsPopup(_ref) {
33880
- var _poll$options2;
33922
+ var _templateObject$C, _templateObject2$x, _templateObject3$r, _templateObject4$n, _templateObject5$i, _templateObject6$g, _templateObject7$e, _templateObject8$d, _templateObject9$b, _templateObject0$a, _templateObject1$7, _templateObject10$4;
33923
+ var POLL_VOTES_LIMIT = 20;
33924
+ var AllVotesPopup = function AllVotesPopup(_ref) {
33925
+ var _pollVotesHasMore$key, _poll$votesPerOption;
33881
33926
  var onClose = _ref.onClose,
33882
33927
  poll = _ref.poll,
33883
33928
  messageId = _ref.messageId,
33884
- initialCount = _ref.initialCount,
33885
- onViewMoreOption = _ref.onViewMoreOption;
33886
- var initialVotesCount = React.useMemo(function () {
33887
- var _poll$options;
33888
- return initialCount ? initialCount : (poll === null || poll === void 0 ? void 0 : (_poll$options = poll.options) === null || _poll$options === void 0 ? void 0 : _poll$options.length) >= 3 ? 2 : 4;
33889
- }, [initialCount, poll === null || poll === void 0 ? void 0 : (_poll$options2 = poll.options) === null || _poll$options2 === void 0 ? void 0 : _poll$options2.length]);
33890
- React.useEffect(function () {
33891
- if (initialVotesCount) {
33892
- dispatch(setPollVotesInitialCountAC(initialVotesCount));
33893
- }
33894
- }, [initialVotesCount]);
33929
+ optionId = _ref.optionId,
33930
+ optionName = _ref.optionName;
33895
33931
  var _useColor = useColors(),
33896
33932
  background = _useColor[THEME_COLORS.BACKGROUND],
33897
- surface1 = _useColor[THEME_COLORS.SURFACE_1],
33898
33933
  textPrimary = _useColor[THEME_COLORS.TEXT_PRIMARY],
33899
33934
  textSecondary = _useColor[THEME_COLORS.TEXT_SECONDARY],
33900
- border = _useColor[THEME_COLORS.BORDER],
33901
- accent = _useColor[THEME_COLORS.ACCENT];
33935
+ surface1 = _useColor[THEME_COLORS.SURFACE_1];
33902
33936
  var dispatch = useDispatch();
33937
+ var key = poll.id + "_" + optionId;
33903
33938
  var pollVotesList = useSelector(pollVotesListSelector);
33904
33939
  var pollVotesHasMore = useSelector(pollVotesHasMoreSelector);
33905
33940
  var pollVotesLoadingState = useSelector(pollVotesLoadingStateSelector);
33941
+ var allVotes = pollVotesList[key] || [];
33942
+ var hasMore = (_pollVotesHasMore$key = pollVotesHasMore[key]) != null ? _pollVotesHasMore$key : false;
33943
+ var isLoading = pollVotesLoadingState[key] === LOADING_STATE.LOADING;
33944
+ var totalVotes = ((_poll$votesPerOption = poll.votesPerOption) === null || _poll$votesPerOption === void 0 ? void 0 : _poll$votesPerOption[optionId]) || 0;
33945
+ var isLoadingInitial = allVotes.length === 0 && (isLoading || totalVotes > 0);
33906
33946
  React.useEffect(function () {
33907
- poll.options.forEach(function (option) {
33908
- var key = poll.id + "_" + option.id;
33909
- var reduxVotes = pollVotesList[key] || [];
33910
- if (reduxVotes.length === 0) {
33911
- var _poll$votesPerOption;
33912
- var totalVotes = ((_poll$votesPerOption = poll.votesPerOption) === null || _poll$votesPerOption === void 0 ? void 0 : _poll$votesPerOption[option.id]) || 0;
33913
- if (totalVotes > 0) {
33914
- dispatch(getPollVotesAC(messageId, poll.id, option.id, initialVotesCount));
33915
- }
33916
- }
33917
- });
33947
+ if (allVotes.length === 0 && totalVotes > 0 && !isLoading) {
33948
+ dispatch(getPollVotesAC(messageId, poll.id, optionId, POLL_VOTES_LIMIT));
33949
+ }
33918
33950
  }, []);
33919
- var handleViewMore = React.useCallback(function (optionId) {
33920
- if (onViewMoreOption) {
33921
- onViewMoreOption(optionId);
33951
+ React.useEffect(function () {
33952
+ if (allVotes.length > 0 && hasMore && !isLoading && allVotes.length < POLL_VOTES_LIMIT) {
33953
+ dispatch(loadMorePollVotesAC(poll.id, optionId, POLL_VOTES_LIMIT));
33954
+ }
33955
+ }, [allVotes.length, hasMore, isLoading, poll.id, optionId, dispatch]);
33956
+ var handleScroll = React.useCallback(function (event) {
33957
+ var target = event.currentTarget;
33958
+ var isNearBottom = target.scrollTop >= target.scrollHeight - target.offsetHeight - 100;
33959
+ if (isNearBottom && hasMore && isLoading === false) {
33960
+ dispatch(loadMorePollVotesAC(poll.id, optionId, POLL_VOTES_LIMIT));
33961
+ }
33962
+ }, [hasMore, isLoading, dispatch, poll.id, optionId]);
33963
+ var formatDate = function formatDate(d) {
33964
+ try {
33965
+ var date = new Date(d);
33966
+ var month = date.toLocaleString(undefined, {
33967
+ month: 'short'
33968
+ });
33969
+ var day = date.getDate();
33970
+ var year = date.getFullYear();
33971
+ return month + " " + day + ", " + year;
33972
+ } catch (_unused) {
33973
+ return '';
33922
33974
  }
33923
- dispatch(loadMorePollVotesAC(poll.id, optionId, 20));
33924
- }, [dispatch, poll.id, onViewMoreOption]);
33975
+ };
33976
+ return /*#__PURE__*/React__default.createElement(PopupContainer, null, /*#__PURE__*/React__default.createElement(Popup, {
33977
+ backgroundColor: background,
33978
+ maxWidth: '560px',
33979
+ minWidth: '560px',
33980
+ padding: '0'
33981
+ }, /*#__PURE__*/React__default.createElement(PopupBody, {
33982
+ paddingH: '24px',
33983
+ paddingV: '20px'
33984
+ }, /*#__PURE__*/React__default.createElement(BackButton, {
33985
+ onClick: onClose,
33986
+ color: textSecondary
33987
+ }, /*#__PURE__*/React__default.createElement(SvgArrowLeft, null)), /*#__PURE__*/React__default.createElement(TitleWrapper, null, /*#__PURE__*/React__default.createElement(PopupName, {
33988
+ color: textPrimary,
33989
+ marginTop: '1'
33990
+ }, optionName)), /*#__PURE__*/React__default.createElement(CloseIcon, {
33991
+ color: textSecondary,
33992
+ onClick: onClose
33993
+ }), /*#__PURE__*/React__default.createElement(VotesContainer, {
33994
+ backgroundColor: surface1
33995
+ }, /*#__PURE__*/React__default.createElement(VotesCount, {
33996
+ color: textSecondary
33997
+ }, totalVotes, " votes"), isLoadingInitial ? (/*#__PURE__*/React__default.createElement(LoaderContainer, null, /*#__PURE__*/React__default.createElement(Loader, {
33998
+ color: textSecondary
33999
+ }))) : (/*#__PURE__*/React__default.createElement(VotesList, {
34000
+ onScroll: handleScroll
34001
+ }, allVotes.map(function (vote) {
34002
+ return /*#__PURE__*/React__default.createElement(VoterRow, {
34003
+ key: vote.optionId + "_" + vote.user.id
34004
+ }, /*#__PURE__*/React__default.createElement(Avatar, {
34005
+ image: vote.user.profile.avatar,
34006
+ name: vote.user.profile.firstName || vote.user.id,
34007
+ size: 40,
34008
+ textSize: 16,
34009
+ setDefaultAvatar: true
34010
+ }), /*#__PURE__*/React__default.createElement(VoterInfo, null, /*#__PURE__*/React__default.createElement(VoterName, {
34011
+ color: textPrimary
34012
+ }, vote.user.profile.firstName || vote.user.id, " ", vote.user.profile.lastName || ''), /*#__PURE__*/React__default.createElement(VotedAt, {
34013
+ color: textSecondary
34014
+ }, formatDate(new Date(vote.createdAt)))));
34015
+ }), isLoading && allVotes.length > 0 && /*#__PURE__*/React__default.createElement(LoadingText, {
34016
+ color: textSecondary
34017
+ }, "Loading...")))))));
34018
+ };
34019
+ var VotesList = styled__default.div(_templateObject$C || (_templateObject$C = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n overflow-y: auto;\n max-height: 60vh;\n padding: 8px 0;\n"])));
34020
+ var VoterRow = styled__default.div(_templateObject2$x || (_templateObject2$x = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: 12px;\n padding: 6px 0;\n"])));
34021
+ var VoterInfo = styled__default.div(_templateObject3$r || (_templateObject3$r = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: 10px;\n width: 100%;\n justify-content: space-between;\n"])));
34022
+ var VoterName = styled__default.div(_templateObject4$n || (_templateObject4$n = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-weight: 500;\n font-size: 15px;\n line-height: 20px;\n letter-spacing: -0.2px;\n"])), function (p) {
34023
+ return p.color;
34024
+ });
34025
+ var VotedAt = styled__default.div(_templateObject5$i || (_templateObject5$i = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-weight: 400;\n font-size: 15px;\n line-height: 20px;\n letter-spacing: -0.2px;\n"])), function (p) {
34026
+ return p.color;
34027
+ });
34028
+ var LoadingText = styled__default.div(_templateObject6$g || (_templateObject6$g = _taggedTemplateLiteralLoose(["\n color: ", ";\n text-align: center;\n padding: 16px;\n font-size: 14px;\n"])), function (p) {
34029
+ return p.color;
34030
+ });
34031
+ var TitleWrapper = styled__default.div(_templateObject7$e || (_templateObject7$e = _taggedTemplateLiteralLoose(["\n max-width: calc(100% - 54px);\n margin: 0 auto;\n"])));
34032
+ var BackButton = styled__default.button(_templateObject8$d || (_templateObject8$d = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: 13px;\n top: 13px;\n padding: 9px;\n cursor: pointer;\n box-sizing: content-box;\n background: transparent;\n border: none;\n display: flex;\n align-items: center;\n justify-content: center;\n color: ", ";\n flex-shrink: 0;\n\n & > svg {\n width: 24px;\n height: 24px;\n }\n\n &:hover {\n opacity: 0.7;\n }\n"])), function (p) {
34033
+ return p.color;
34034
+ });
34035
+ var VotesContainer = styled__default.div(_templateObject9$b || (_templateObject9$b = _taggedTemplateLiteralLoose(["\n padding: 0 16px 8px 16px;\n border-radius: 10px;\n background-color: ", ";\n margin-top: 16px;\n"])), function (p) {
34036
+ return p.backgroundColor;
34037
+ });
34038
+ var VotesCount = styled__default.div(_templateObject0$a || (_templateObject0$a = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-weight: 400;\n font-size: 15px;\n line-height: 20px;\n letter-spacing: -0.4px;\n padding: 12px 0;\n"])), function (p) {
34039
+ return p.color;
34040
+ });
34041
+ var LoaderContainer = styled__default.div(_templateObject1$7 || (_templateObject1$7 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 40px 0;\n min-height: 100px;\n"])));
34042
+ var Loader = styled__default.div(_templateObject10$4 || (_templateObject10$4 = _taggedTemplateLiteralLoose(["\n width: 40px;\n height: 40px;\n border: 3px solid ", "20;\n border-top-color: ", ";\n border-radius: 50%;\n animation: spin 1s linear infinite;\n\n @keyframes spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n"])), function (p) {
34043
+ return p.color;
34044
+ }, function (p) {
34045
+ return p.color;
34046
+ });
34047
+
34048
+ var _templateObject$D, _templateObject2$y, _templateObject3$s, _templateObject4$o, _templateObject5$j, _templateObject6$h, _templateObject7$f, _templateObject8$e, _templateObject9$c, _templateObject0$b;
34049
+ var VotesResultsPopup = function VotesResultsPopup(_ref) {
34050
+ var _poll$options$find;
34051
+ var onClose = _ref.onClose,
34052
+ poll = _ref.poll,
34053
+ messageId = _ref.messageId,
34054
+ onViewMoreOption = _ref.onViewMoreOption;
34055
+ var _useState = React.useState(null),
34056
+ selectedOptionId = _useState[0],
34057
+ setSelectedOptionId = _useState[1];
34058
+ var _useColor = useColors(),
34059
+ background = _useColor[THEME_COLORS.BACKGROUND],
34060
+ surface1 = _useColor[THEME_COLORS.SURFACE_1],
34061
+ textPrimary = _useColor[THEME_COLORS.TEXT_PRIMARY],
34062
+ textSecondary = _useColor[THEME_COLORS.TEXT_SECONDARY],
34063
+ border = _useColor[THEME_COLORS.BORDER],
34064
+ accent = _useColor[THEME_COLORS.ACCENT];
33925
34065
  var optionIdToVotes = React.useMemo(function () {
33926
34066
  var votes = {};
33927
34067
  poll.options.forEach(function (opt) {
33928
- var key = poll.id + "_" + opt.id;
33929
- votes[opt.id] = pollVotesList[key] || [];
34068
+ var allOptionVotes = (poll.votes || []).filter(function (vote) {
34069
+ return vote.optionId === opt.id;
34070
+ });
34071
+ var ownVote = poll.ownVotes.find(function (vote) {
34072
+ return vote.optionId === opt.id;
34073
+ });
34074
+ if (ownVote) {
34075
+ allOptionVotes.push(ownVote);
34076
+ }
34077
+ votes[opt.id] = allOptionVotes;
33930
34078
  });
33931
34079
  return votes;
33932
- }, [pollVotesList, poll.id, poll.options]);
34080
+ }, [poll.votes, poll.options, poll.ownVotes]);
34081
+ var handleShowAll = React.useCallback(function (optionId) {
34082
+ if (onViewMoreOption) {
34083
+ onViewMoreOption(optionId);
34084
+ }
34085
+ setSelectedOptionId(optionId);
34086
+ }, [onViewMoreOption]);
34087
+ var handleCloseAllVotes = React.useCallback(function () {
34088
+ setSelectedOptionId(null);
34089
+ }, []);
33933
34090
  var formatDate = function formatDate(d) {
33934
34091
  try {
33935
34092
  var date = new Date(d);
@@ -33943,7 +34100,7 @@ var VotesResultsPopup = function VotesResultsPopup(_ref) {
33943
34100
  return '';
33944
34101
  }
33945
34102
  };
33946
- return /*#__PURE__*/React__default.createElement(PopupContainer, null, /*#__PURE__*/React__default.createElement(Popup, {
34103
+ return /*#__PURE__*/React__default.createElement("div", null, !selectedOptionId && (/*#__PURE__*/React__default.createElement(PopupContainer, null, /*#__PURE__*/React__default.createElement(Popup, {
33947
34104
  backgroundColor: background,
33948
34105
  maxWidth: '560px',
33949
34106
  minWidth: '560px',
@@ -33958,11 +34115,9 @@ var VotesResultsPopup = function VotesResultsPopup(_ref) {
33958
34115
  color: textPrimary,
33959
34116
  marginBottom: '16px'
33960
34117
  }, "Vote results"), /*#__PURE__*/React__default.createElement(OptionsList, null, poll.options.map(function (opt) {
33961
- var _pollVotesHasMore$key;
33962
- var key = poll.id + "_" + opt.id;
34118
+ var _poll$votesPerOption;
33963
34119
  var allVotes = optionIdToVotes[opt.id] || [];
33964
- var hasMore = (_pollVotesHasMore$key = pollVotesHasMore[key]) != null ? _pollVotesHasMore$key : false;
33965
- var isLoading = pollVotesLoadingState[key] === LOADING_STATE.LOADING;
34120
+ var totalVotes = ((_poll$votesPerOption = poll.votesPerOption) === null || _poll$votesPerOption === void 0 ? void 0 : _poll$votesPerOption[opt.id]) || 0;
33966
34121
  return /*#__PURE__*/React__default.createElement(OptionBlock, {
33967
34122
  key: opt.id,
33968
34123
  background: surface1,
@@ -33971,8 +34126,8 @@ var VotesResultsPopup = function VotesResultsPopup(_ref) {
33971
34126
  color: textPrimary
33972
34127
  }, opt.name), /*#__PURE__*/React__default.createElement(OptionCount, {
33973
34128
  color: textSecondary
33974
- }, poll.votesPerOption && poll.votesPerOption[opt.id] || allVotes.length, " votes")), /*#__PURE__*/React__default.createElement(Voters, null, allVotes.map(function (vote) {
33975
- return /*#__PURE__*/React__default.createElement(VoterRow, {
34129
+ }, totalVotes, " votes")), /*#__PURE__*/React__default.createElement(Voters, null, allVotes.map(function (vote) {
34130
+ return /*#__PURE__*/React__default.createElement(VoterRow$1, {
33976
34131
  key: opt.id + "_" + vote.user.id
33977
34132
  }, /*#__PURE__*/React__default.createElement(Avatar, {
33978
34133
  image: vote.user.profile.avatar,
@@ -33980,12 +34135,12 @@ var VotesResultsPopup = function VotesResultsPopup(_ref) {
33980
34135
  size: 40,
33981
34136
  textSize: 16,
33982
34137
  setDefaultAvatar: true
33983
- }), /*#__PURE__*/React__default.createElement(VoterInfo, null, /*#__PURE__*/React__default.createElement(VoterName, {
34138
+ }), /*#__PURE__*/React__default.createElement(VoterInfo$1, null, /*#__PURE__*/React__default.createElement(VoterName$1, {
33984
34139
  color: textPrimary
33985
- }, vote.user.profile.firstName || vote.user.id, " ", vote.user.profile.lastName || ''), /*#__PURE__*/React__default.createElement(VotedAt, {
34140
+ }, vote.user.profile.firstName || vote.user.id, " ", vote.user.profile.lastName || ''), /*#__PURE__*/React__default.createElement(VotedAt$1, {
33986
34141
  color: textSecondary
33987
34142
  }, formatDate(new Date(vote.createdAt)))));
33988
- })), hasMore && (/*#__PURE__*/React__default.createElement(Row, {
34143
+ })), allVotes.length < totalVotes && (/*#__PURE__*/React__default.createElement(Row, {
33989
34144
  justify: 'center',
33990
34145
  paddingBottom: '5px '
33991
34146
  }, /*#__PURE__*/React__default.createElement(Button, {
@@ -33993,58 +34148,65 @@ var VotesResultsPopup = function VotesResultsPopup(_ref) {
33993
34148
  backgroundColor: 'transparent',
33994
34149
  color: accent,
33995
34150
  onClick: function onClick() {
33996
- return handleViewMore(opt.id);
33997
- },
33998
- disabled: isLoading
33999
- }, isLoading ? 'Loading...' : 'View More'))));
34000
- })))));
34151
+ return handleShowAll(opt.id);
34152
+ }
34153
+ }, "Show All"))));
34154
+ })))))), selectedOptionId && (/*#__PURE__*/React__default.createElement(AllVotesPopup, {
34155
+ onClose: handleCloseAllVotes,
34156
+ poll: poll,
34157
+ messageId: messageId,
34158
+ optionId: selectedOptionId,
34159
+ optionName: ((_poll$options$find = poll.options.find(function (opt) {
34160
+ return opt.id === selectedOptionId;
34161
+ })) === null || _poll$options$find === void 0 ? void 0 : _poll$options$find.name) || ''
34162
+ })));
34001
34163
  };
34002
- var OptionsList = styled__default.div(_templateObject$C || (_templateObject$C = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n gap: 16px;\n overflow-y: auto;\n max-height: 64vh;\n"])));
34003
- var OptionBlock = styled__default.div(_templateObject2$x || (_templateObject2$x = _taggedTemplateLiteralLoose(["\n background: ", ";\n border-radius: 12px;\n border: 1px solid ", "0F; /* subtle */\n padding: 14px 16px 0 16px;\n"])), function (p) {
34164
+ var OptionsList = styled__default.div(_templateObject$D || (_templateObject$D = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n gap: 16px;\n overflow-y: auto;\n max-height: 64vh;\n"])));
34165
+ var OptionBlock = styled__default.div(_templateObject2$y || (_templateObject2$y = _taggedTemplateLiteralLoose(["\n background: ", ";\n border-radius: 12px;\n border: 1px solid ", "0F; /* subtle */\n padding: 14px 16px 0 16px;\n"])), function (p) {
34004
34166
  return p.background;
34005
34167
  }, function (p) {
34006
34168
  return p.border;
34007
34169
  });
34008
- var OptionHeader = styled__default.div(_templateObject3$r || (_templateObject3$r = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 8px;\n"])));
34009
- var OptionTitle = styled__default.div(_templateObject4$n || (_templateObject4$n = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-weight: 400;\n font-size: 15px;\n line-height: 20px;\n letter-spacing: -0.4px;\n"])), function (p) {
34170
+ var OptionHeader = styled__default.div(_templateObject3$s || (_templateObject3$s = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 8px;\n"])));
34171
+ var OptionTitle = styled__default.div(_templateObject4$o || (_templateObject4$o = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-weight: 400;\n font-size: 15px;\n line-height: 20px;\n letter-spacing: -0.4px;\n"])), function (p) {
34010
34172
  return p.color;
34011
34173
  });
34012
- var OptionCount = styled__default.div(_templateObject5$i || (_templateObject5$i = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size: 13px;\n"])), function (p) {
34174
+ var OptionCount = styled__default.div(_templateObject5$j || (_templateObject5$j = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size: 13px;\n"])), function (p) {
34013
34175
  return p.color;
34014
34176
  });
34015
- var Voters = styled__default.div(_templateObject6$g || (_templateObject6$g = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n margin-bottom: 5px;\n"])));
34016
- var VoterRow = styled__default.div(_templateObject7$e || (_templateObject7$e = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: 12px;\n padding: 6px 0;\n"])));
34017
- var VoterInfo = styled__default.div(_templateObject8$d || (_templateObject8$d = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: 10px;\n width: 100%;\n justify-content: space-between;\n"])));
34018
- var VoterName = styled__default.div(_templateObject9$b || (_templateObject9$b = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-weight: 500;\n font-size: 15px;\n line-height: 20px;\n letter-spacing: -0.2px;\n"])), function (p) {
34177
+ var Voters = styled__default.div(_templateObject6$h || (_templateObject6$h = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n margin-bottom: 5px;\n"])));
34178
+ var VoterRow$1 = styled__default.div(_templateObject7$f || (_templateObject7$f = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: 12px;\n padding: 6px 0;\n"])));
34179
+ var VoterInfo$1 = styled__default.div(_templateObject8$e || (_templateObject8$e = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: 10px;\n width: 100%;\n justify-content: space-between;\n"])));
34180
+ var VoterName$1 = styled__default.div(_templateObject9$c || (_templateObject9$c = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-weight: 500;\n font-size: 15px;\n line-height: 20px;\n letter-spacing: -0.2px;\n"])), function (p) {
34019
34181
  return p.color;
34020
34182
  });
34021
- var VotedAt = styled__default.div(_templateObject0$a || (_templateObject0$a = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-weight: 400;\n font-size: 15px;\n line-height: 20px;\n letter-spacing: -0.2px;\n"])), function (p) {
34183
+ var VotedAt$1 = styled__default.div(_templateObject0$b || (_templateObject0$b = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-weight: 400;\n font-size: 15px;\n line-height: 20px;\n letter-spacing: -0.2px;\n"])), function (p) {
34022
34184
  return p.color;
34023
34185
  });
34024
34186
 
34025
- var _path$16;
34026
- function _extends$18() {
34027
- return _extends$18 = Object.assign ? Object.assign.bind() : function (n) {
34187
+ var _path$17;
34188
+ function _extends$19() {
34189
+ return _extends$19 = Object.assign ? Object.assign.bind() : function (n) {
34028
34190
  for (var e = 1; e < arguments.length; e++) {
34029
34191
  var t = arguments[e];
34030
34192
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
34031
34193
  }
34032
34194
  return n;
34033
- }, _extends$18.apply(null, arguments);
34195
+ }, _extends$19.apply(null, arguments);
34034
34196
  }
34035
34197
  function SvgFilledCheckbox(props) {
34036
- return /*#__PURE__*/React.createElement("svg", _extends$18({
34198
+ return /*#__PURE__*/React.createElement("svg", _extends$19({
34037
34199
  width: 19,
34038
34200
  height: 19,
34039
34201
  fill: "none",
34040
34202
  xmlns: "http://www.w3.org/2000/svg"
34041
- }, props), _path$16 || (_path$16 = /*#__PURE__*/React.createElement("path", {
34203
+ }, props), _path$17 || (_path$17 = /*#__PURE__*/React.createElement("path", {
34042
34204
  d: "M9.167 0a9.167 9.167 0 11-.001 18.333A9.167 9.167 0 019.167 0zm4.79 5.904a.834.834 0 00-1.179 0l-5.14 5.139-2.084-2.084a.834.834 0 00-1.178 1.179l2.673 2.674a.834.834 0 001.179 0l5.729-5.73a.833.833 0 000-1.178z",
34043
34205
  fill: "currentColor"
34044
34206
  })));
34045
34207
  }
34046
34208
 
34047
- var _templateObject$D, _templateObject2$y, _templateObject3$s, _templateObject4$o, _templateObject5$j, _templateObject6$h, _templateObject7$f, _templateObject8$e, _templateObject9$c, _templateObject0$b, _templateObject1$7, _templateObject10$4, _templateObject11$4, _templateObject12$3;
34209
+ var _templateObject$E, _templateObject2$z, _templateObject3$t, _templateObject4$p, _templateObject5$k, _templateObject6$i, _templateObject7$g, _templateObject8$f, _templateObject9$d, _templateObject0$c, _templateObject1$8, _templateObject10$5, _templateObject11$4, _templateObject12$3;
34048
34210
  var PollMessage = function PollMessage(_ref) {
34049
34211
  var message = _ref.message;
34050
34212
  var _useColor = useColors(),
@@ -34118,13 +34280,13 @@ var PollMessage = function PollMessage(_ref) {
34118
34280
  },
34119
34281
  role: 'button',
34120
34282
  disabled: poll === null || poll === void 0 ? void 0 : poll.closed
34121
- }, /*#__PURE__*/React__default.createElement(TopRow, null, !poll.closed && /*#__PURE__*/React__default.createElement(Indicator, {
34283
+ }, /*#__PURE__*/React__default.createElement(TopRow, null, !poll.closed && (/*#__PURE__*/React__default.createElement(Indicator, {
34122
34284
  disabled: poll === null || poll === void 0 ? void 0 : poll.closed
34123
34285
  }, selected ? /*#__PURE__*/React__default.createElement(StyledCheck, {
34124
34286
  color: accent
34125
34287
  }) : /*#__PURE__*/React__default.createElement(EmptyCircle, {
34126
34288
  border: borderSecondary
34127
- })), /*#__PURE__*/React__default.createElement(Title$2, {
34289
+ }))), /*#__PURE__*/React__default.createElement(Title$2, {
34128
34290
  color: textPrimary
34129
34291
  }, opt.name), poll.anonymous ? null : (/*#__PURE__*/React__default.createElement(UsersContainer, null, optionVotesUsers.map(function (vote) {
34130
34292
  var _vote$user, _vote$user2, _vote$user2$profile, _vote$user3, _vote$user3$profile;
@@ -34167,38 +34329,38 @@ var PollMessage = function PollMessage(_ref) {
34167
34329
  messageId: message.id
34168
34330
  })));
34169
34331
  };
34170
- var Container$h = styled__default.div(_templateObject$D || (_templateObject$D = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n min-width: 250px;\n"])));
34171
- var Question = styled__default.div(_templateObject2$y || (_templateObject2$y = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-weight: 500;\n font-size: 15px;\n line-height: 18px;\n letter-spacing: -0.4px;\n"])), function (p) {
34332
+ var Container$h = styled__default.div(_templateObject$E || (_templateObject$E = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n min-width: 250px;\n"])));
34333
+ var Question = styled__default.div(_templateObject2$z || (_templateObject2$z = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-weight: 500;\n font-size: 15px;\n line-height: 18px;\n letter-spacing: -0.4px;\n"])), function (p) {
34172
34334
  return p.color;
34173
34335
  });
34174
- var SubTitle$1 = styled__default.div(_templateObject3$s || (_templateObject3$s = _taggedTemplateLiteralLoose(["\n color: ", ";\n margin: 4px 0 6px 0;\n font-weight: 400;\n font-size: 13px;\n line-height: 16px;\n letter-spacing: -0.08px;\n"])), function (p) {
34336
+ var SubTitle$1 = styled__default.div(_templateObject3$t || (_templateObject3$t = _taggedTemplateLiteralLoose(["\n color: ", ";\n margin: 4px 0 6px 0;\n font-weight: 400;\n font-size: 13px;\n line-height: 16px;\n letter-spacing: -0.08px;\n"])), function (p) {
34175
34337
  return p.color;
34176
34338
  });
34177
- var Options = styled__default.div(_templateObject4$o || (_templateObject4$o = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n margin-top: 4px;\n"])));
34178
- var Option = styled__default.div(_templateObject5$j || (_templateObject5$j = _taggedTemplateLiteralLoose(["\n padding: 10px 0;\n color: ", ";\n cursor: pointer;\n user-select: none;\n cursor: ", ";\n"])), function (p) {
34339
+ var Options = styled__default.div(_templateObject4$p || (_templateObject4$p = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n margin-top: 4px;\n"])));
34340
+ var Option = styled__default.div(_templateObject5$k || (_templateObject5$k = _taggedTemplateLiteralLoose(["\n padding: 10px 0;\n color: ", ";\n cursor: pointer;\n user-select: none;\n cursor: ", ";\n"])), function (p) {
34179
34341
  return p.color;
34180
34342
  }, function (p) {
34181
34343
  return p.disabled ? 'not-allowed' : 'pointer';
34182
34344
  });
34183
- var TopRow = styled__default.div(_templateObject6$h || (_templateObject6$h = _taggedTemplateLiteralLoose(["\n display: flex;\n margin-bottom: 6px;\n min-height: 22px;\n"])));
34184
- var Indicator = styled__default.div(_templateObject7$f || (_templateObject7$f = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 20px;\n min-width: 20px;\n height: 20px;\n margin-right: 8px;\n opacity: ", ";\n cursor: ", ";\n"])), function (p) {
34345
+ var TopRow = styled__default.div(_templateObject6$i || (_templateObject6$i = _taggedTemplateLiteralLoose(["\n display: flex;\n margin-bottom: 6px;\n min-height: 22px;\n"])));
34346
+ var Indicator = styled__default.div(_templateObject7$g || (_templateObject7$g = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 20px;\n min-width: 20px;\n height: 20px;\n margin-right: 8px;\n opacity: ", ";\n cursor: ", ";\n"])), function (p) {
34185
34347
  return p.disabled ? 0.5 : 1;
34186
34348
  }, function (p) {
34187
34349
  return p.disabled ? 'not-allowed' : 'pointer';
34188
34350
  });
34189
- var EmptyCircle = styled__default.span(_templateObject8$e || (_templateObject8$e = _taggedTemplateLiteralLoose(["\n display: inline-block;\n width: 18.5px;\n height: 18.5px;\n border-radius: 50%;\n border: 1px solid ", ";\n box-sizing: border-box;\n"])), function (p) {
34351
+ var EmptyCircle = styled__default.span(_templateObject8$f || (_templateObject8$f = _taggedTemplateLiteralLoose(["\n display: inline-block;\n width: 18.5px;\n height: 18.5px;\n border-radius: 50%;\n border: 1px solid ", ";\n box-sizing: border-box;\n"])), function (p) {
34190
34352
  return p.border;
34191
34353
  });
34192
- var StyledCheck = styled__default(SvgFilledCheckbox)(_templateObject9$c || (_templateObject9$c = _taggedTemplateLiteralLoose(["\n color: ", ";\n width: 18.5px;\n height: 18.5px;\n"])), function (p) {
34354
+ var StyledCheck = styled__default(SvgFilledCheckbox)(_templateObject9$d || (_templateObject9$d = _taggedTemplateLiteralLoose(["\n color: ", ";\n width: 18.5px;\n height: 18.5px;\n"])), function (p) {
34193
34355
  return p.color;
34194
34356
  });
34195
- var Title$2 = styled__default.div(_templateObject0$b || (_templateObject0$b = _taggedTemplateLiteralLoose(["\n flex: 1 1 auto;\n color: ", ";\n margin-right: auto;\n font-weight: 400;\n font-size: 14px;\n line-height: 20px;\n letter-spacing: -0.2px;\n"])), function (p) {
34357
+ var Title$2 = styled__default.div(_templateObject0$c || (_templateObject0$c = _taggedTemplateLiteralLoose(["\n flex: 1 1 auto;\n color: ", ";\n margin-right: auto;\n font-weight: 400;\n font-size: 14px;\n line-height: 20px;\n letter-spacing: -0.2px;\n"])), function (p) {
34196
34358
  return p.color;
34197
34359
  });
34198
- var Votes = styled__default.span(_templateObject1$7 || (_templateObject1$7 = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-weight: 400;\n font-size: 14px;\n line-height: 20px;\n letter-spacing: -0.2px;\n margin-left: 4px;\n margin-top: auto;\n margin-bottom: 1px;\n"])), function (p) {
34360
+ var Votes = styled__default.span(_templateObject1$8 || (_templateObject1$8 = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-weight: 400;\n font-size: 14px;\n line-height: 20px;\n letter-spacing: -0.2px;\n margin-left: 4px;\n margin-top: auto;\n margin-bottom: 1px;\n"])), function (p) {
34199
34361
  return p.color;
34200
34362
  });
34201
- var Bar = styled__default.div(_templateObject10$4 || (_templateObject10$4 = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: 6px;\n border-radius: 6px;\n background: ", ";\n overflow: hidden;\n margin-left: auto;\n"])), function (p) {
34363
+ var Bar = styled__default.div(_templateObject10$5 || (_templateObject10$5 = _taggedTemplateLiteralLoose(["\n width: ", ";\n height: 6px;\n border-radius: 6px;\n background: ", ";\n overflow: hidden;\n margin-left: auto;\n"])), function (p) {
34202
34364
  return p.closed ? '100%' : "calc(100% - 28px)";
34203
34365
  }, function (p) {
34204
34366
  return p.track;
@@ -34206,7 +34368,7 @@ var Bar = styled__default.div(_templateObject10$4 || (_templateObject10$4 = _tag
34206
34368
  var Fill = styled__default.div(_templateObject11$4 || (_templateObject11$4 = _taggedTemplateLiteralLoose(["\n height: 100%;\n border-radius: 6px;\n transition: width 0.3s ease-in-out;\n"])));
34207
34369
  var UsersContainer = styled__default.div(_templateObject12$3 || (_templateObject12$3 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n margin-left: auto;\n padding-left: 16px;\n height: max-content;\n margin-top: auto;\n"])));
34208
34370
 
34209
- var _templateObject$E, _templateObject2$z, _templateObject3$t, _templateObject4$p, _templateObject5$k, _templateObject6$i, _templateObject7$g, _templateObject8$f, _templateObject9$d, _templateObject0$c, _templateObject1$8;
34371
+ var _templateObject$F, _templateObject2$A, _templateObject3$u, _templateObject4$q, _templateObject5$l, _templateObject6$j, _templateObject7$h, _templateObject8$g, _templateObject9$e, _templateObject0$d, _templateObject1$9;
34210
34372
  var validateUrl = function validateUrl(url) {
34211
34373
  try {
34212
34374
  var urlObj = new URL(url);
@@ -34535,14 +34697,14 @@ var OGMetadata = function OGMetadata(_ref) {
34535
34697
  padding: ogContainerPadding,
34536
34698
  className: ogContainerClassName,
34537
34699
  containerMargin: ogContainerMargin,
34538
- as: "a",
34700
+ as: 'a',
34539
34701
  href: attachment === null || attachment === void 0 ? void 0 : attachment.url,
34540
34702
  target: target,
34541
34703
  rel: target === '_blank' ? 'noopener noreferrer' : undefined
34542
34704
  }, content);
34543
34705
  };
34544
34706
  var sharedKeyframes = "\n @keyframes fadeInSlideUp {\n from {\n opacity: 0;\n transform: translateY(10px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n }\n\n @keyframes fadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n\n @keyframes expandHeight {\n from {\n max-height: 0;\n opacity: 0;\n }\n to {\n max-height: 1000px;\n opacity: 1;\n }\n }\n";
34545
- var OGMetadataContainer = styled__default.div(_templateObject$E || (_templateObject$E = _taggedTemplateLiteralLoose(["\n min-width: inherit;\n max-width: inherit;\n width: 100%;\n display: grid;\n grid-template-columns: 1fr;\n background-color: ", ";\n border-radius: ", ";\n margin: ", ";\n // margin-bottom: ", ";\n padding: ", ";\n text-decoration: none;\n color: inherit;\n &:hover {\n opacity: 0.9;\n cursor: pointer;\n }\n"])), function (_ref2) {
34707
+ var OGMetadataContainer = styled__default.div(_templateObject$F || (_templateObject$F = _taggedTemplateLiteralLoose(["\n min-width: inherit;\n max-width: inherit;\n width: 100%;\n display: grid;\n grid-template-columns: 1fr;\n background-color: ", ";\n border-radius: ", ";\n margin: ", ";\n // margin-bottom: ", ";\n padding: ", ";\n text-decoration: none;\n color: inherit;\n &:hover {\n opacity: 0.9;\n cursor: pointer;\n }\n"])), function (_ref2) {
34546
34708
  var showBackground = _ref2.showBackground,
34547
34709
  customBg = _ref2.customBg,
34548
34710
  bgColor = _ref2.bgColor;
@@ -34560,7 +34722,7 @@ var OGMetadataContainer = styled__default.div(_templateObject$E || (_templateObj
34560
34722
  var padding = _ref6.padding;
34561
34723
  return padding != null ? padding : '0';
34562
34724
  });
34563
- var ImageContainer = styled__default.div(_templateObject2$z || (_templateObject2$z = _taggedTemplateLiteralLoose(["\n ", "\n width: 100%;\n height: ", ";\n opacity: ", ";\n margin: 0 auto;\n overflow: hidden;\n ", "\n"])), sharedKeyframes, function (_ref7) {
34725
+ var ImageContainer = styled__default.div(_templateObject2$A || (_templateObject2$A = _taggedTemplateLiteralLoose(["\n ", "\n width: 100%;\n height: ", ";\n opacity: ", ";\n margin: 0 auto;\n overflow: hidden;\n ", "\n"])), sharedKeyframes, function (_ref7) {
34564
34726
  var containerHeight = _ref7.containerHeight;
34565
34727
  return containerHeight ? containerHeight + "px" : '0px';
34566
34728
  }, function (_ref8) {
@@ -34573,14 +34735,14 @@ var ImageContainer = styled__default.div(_templateObject2$z || (_templateObject2
34573
34735
  containerHeight = _ref9.containerHeight;
34574
34736
  return shouldAnimate && showOGMetadata && containerHeight && "\n animation: expandHeight 0.3s ease-out forwards;\n ";
34575
34737
  });
34576
- var OGText = styled__default.div(_templateObject3$t || (_templateObject3$t = _taggedTemplateLiteralLoose(["\n ", "\n display: flex;\n flex-direction: column;\n gap: 0;\n ", "\n ", ";\n"])), sharedKeyframes, function (_ref0) {
34738
+ var OGText = styled__default.div(_templateObject3$u || (_templateObject3$u = _taggedTemplateLiteralLoose(["\n ", "\n display: flex;\n flex-direction: column;\n gap: 0;\n ", "\n ", ";\n"])), sharedKeyframes, function (_ref0) {
34577
34739
  var shouldAnimate = _ref0.shouldAnimate;
34578
34740
  return shouldAnimate && "\n animation: fadeInSlideUp 0.3s ease-out forwards;\n ";
34579
34741
  }, function (_ref1) {
34580
34742
  var margin = _ref1.margin;
34581
34743
  return margin ? '12px' : '0';
34582
34744
  });
34583
- var Title$3 = styled__default.p(_templateObject4$p || (_templateObject4$p = _taggedTemplateLiteralLoose(["\n ", "\n font-weight: bold;\n font-size: 13px;\n line-height: 16px;\n margin: 8px 0 0 0;\n padding: ", ";\n box-sizing: border-box;\n ", "\n ", "\n"])), sharedKeyframes, function (_ref10) {
34745
+ var Title$3 = styled__default.p(_templateObject4$q || (_templateObject4$q = _taggedTemplateLiteralLoose(["\n ", "\n font-weight: bold;\n font-size: 13px;\n line-height: 16px;\n margin: 8px 0 0 0;\n padding: ", ";\n box-sizing: border-box;\n ", "\n ", "\n"])), sharedKeyframes, function (_ref10) {
34584
34746
  var padding = _ref10.padding;
34585
34747
  return padding != null ? padding : '0';
34586
34748
  }, function (_ref11) {
@@ -34590,7 +34752,7 @@ var Title$3 = styled__default.p(_templateObject4$p || (_templateObject4$p = _tag
34590
34752
  var shouldAnimate = _ref12.shouldAnimate;
34591
34753
  return shouldAnimate && "\n animation: fadeInSlideUp 0.3s ease-out 0.1s backwards;\n ";
34592
34754
  });
34593
- var Desc = styled__default.p(_templateObject5$k || (_templateObject5$k = _taggedTemplateLiteralLoose(["\n ", "\n font-weight: normal;\n font-size: 13px;\n line-height: 16px;\n margin: 0 0 8px 0;\n padding: ", ";\n color: ", ";\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n overflow: hidden;\n box-sizing: border-box;\n ", "\n ", "\n"])), sharedKeyframes, function (_ref13) {
34755
+ var Desc = styled__default.p(_templateObject5$l || (_templateObject5$l = _taggedTemplateLiteralLoose(["\n ", "\n font-weight: normal;\n font-size: 13px;\n line-height: 16px;\n margin: 0 0 8px 0;\n padding: ", ";\n color: ", ";\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n overflow: hidden;\n box-sizing: border-box;\n ", "\n ", "\n"])), sharedKeyframes, function (_ref13) {
34594
34756
  var padding = _ref13.padding;
34595
34757
  return padding != null ? padding : '0';
34596
34758
  }, function (_ref14) {
@@ -34603,7 +34765,7 @@ var Desc = styled__default.p(_templateObject5$k || (_templateObject5$k = _tagged
34603
34765
  var shouldAnimate = _ref16.shouldAnimate;
34604
34766
  return shouldAnimate && "\n animation: fadeInSlideUp 0.3s ease-out 0.2s backwards;\n ";
34605
34767
  });
34606
- var Url = styled__default.p(_templateObject6$i || (_templateObject6$i = _taggedTemplateLiteralLoose(["\n ", "\n font-weight: normal;\n font-size: 13px;\n line-height: 16px;\n margin: 0 0 12px 0;\n padding: ", ";\n color: gray;\n box-sizing: border-box;\n ", "\n ", "\n"])), sharedKeyframes, function (_ref17) {
34768
+ var Url = styled__default.p(_templateObject6$j || (_templateObject6$j = _taggedTemplateLiteralLoose(["\n ", "\n font-weight: normal;\n font-size: 13px;\n line-height: 16px;\n margin: 0 0 12px 0;\n padding: ", ";\n color: gray;\n box-sizing: border-box;\n ", "\n ", "\n"])), sharedKeyframes, function (_ref17) {
34607
34769
  var padding = _ref17.padding;
34608
34770
  return padding != null ? padding : '0';
34609
34771
  }, function (_ref18) {
@@ -34613,16 +34775,16 @@ var Url = styled__default.p(_templateObject6$i || (_templateObject6$i = _taggedT
34613
34775
  var shouldAnimate = _ref19.shouldAnimate;
34614
34776
  return shouldAnimate && "\n animation: fadeInSlideUp 0.3s ease-out 0.3s backwards;\n ";
34615
34777
  });
34616
- var Img = styled__default.img(_templateObject7$g || (_templateObject7$g = _taggedTemplateLiteralLoose(["\n ", "\n width: 100%;\n height: 100%;\n object-fit: cover;\n display: block;\n border-radius: inherit;\n ", "\n"])), sharedKeyframes, function (_ref20) {
34778
+ var Img = styled__default.img(_templateObject7$h || (_templateObject7$h = _taggedTemplateLiteralLoose(["\n ", "\n width: 100%;\n height: 100%;\n object-fit: cover;\n display: block;\n border-radius: inherit;\n ", "\n"])), sharedKeyframes, function (_ref20) {
34617
34779
  var shouldAnimate = _ref20.shouldAnimate;
34618
34780
  return shouldAnimate && "\n animation: fadeIn 0.4s ease-out forwards;\n ";
34619
34781
  });
34620
- var OGRow = styled__default.div(_templateObject8$f || (_templateObject8$f = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n"])));
34621
- var OGTextWrapper = styled__default.div(_templateObject9$d || (_templateObject9$d = _taggedTemplateLiteralLoose(["\n flex: 1 1 auto;\n"])));
34622
- var FaviconContainer = styled__default.div(_templateObject0$c || (_templateObject0$c = _taggedTemplateLiteralLoose(["\n width: 52px;\n height: 52px;\n border-radius: 8px;\n overflow: hidden;\n margin: 12px;\n flex: 0 0 52px;\n"])));
34623
- var FaviconImg = styled__default.img(_templateObject1$8 || (_templateObject1$8 = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 100%;\n object-fit: cover;\n display: block;\n"])));
34782
+ var OGRow = styled__default.div(_templateObject8$g || (_templateObject8$g = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n"])));
34783
+ var OGTextWrapper = styled__default.div(_templateObject9$e || (_templateObject9$e = _taggedTemplateLiteralLoose(["\n flex: 1 1 auto;\n"])));
34784
+ var FaviconContainer = styled__default.div(_templateObject0$d || (_templateObject0$d = _taggedTemplateLiteralLoose(["\n width: 52px;\n height: 52px;\n border-radius: 8px;\n overflow: hidden;\n margin: 12px;\n flex: 0 0 52px;\n"])));
34785
+ var FaviconImg = styled__default.img(_templateObject1$9 || (_templateObject1$9 = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 100%;\n object-fit: cover;\n display: block;\n"])));
34624
34786
 
34625
- var _templateObject$F, _templateObject2$A, _templateObject3$u, _templateObject4$q, _templateObject5$l;
34787
+ var _templateObject$G, _templateObject2$B, _templateObject3$v, _templateObject4$r, _templateObject5$m;
34626
34788
  var MessageBody = function MessageBody(_ref) {
34627
34789
  var message = _ref.message,
34628
34790
  channel = _ref.channel,
@@ -35166,7 +35328,7 @@ var MessageBody$1 = /*#__PURE__*/React__default.memo(MessageBody, function (prev
35166
35328
  var _prevProps$ogMetadata, _nextProps$ogMetadata, _prevProps$ogMetadata2, _nextProps$ogMetadata2, _prevProps$ogMetadata3, _nextProps$ogMetadata3, _prevProps$ogMetadata4, _nextProps$ogMetadata4, _prevProps$ogMetadata5, _nextProps$ogMetadata5, _prevProps$ogMetadata6, _nextProps$ogMetadata6;
35167
35329
  return !!(prevProps.message.deliveryStatus === nextProps.message.deliveryStatus && prevProps.message.state === nextProps.message.state && prevProps.message.userReactions === nextProps.message.userReactions && prevProps.message.body === nextProps.message.body && prevProps.message.reactionTotals === nextProps.message.reactionTotals && prevProps.message.attachments === nextProps.message.attachments && prevProps.message.userMarkers === nextProps.message.userMarkers && prevProps.prevMessage === nextProps.prevMessage && prevProps.nextMessage === nextProps.nextMessage && prevProps.selectedMessagesMap === nextProps.selectedMessagesMap && prevProps.contactsMap === nextProps.contactsMap && prevProps.connectionStatus === nextProps.connectionStatus && prevProps.openedMessageMenuId === nextProps.openedMessageMenuId && prevProps.ownMessageOnRightSide === nextProps.ownMessageOnRightSide && prevProps.showSenderNameOnDirectChannel === nextProps.showSenderNameOnDirectChannel && prevProps.showSenderNameOnGroupChannel === nextProps.showSenderNameOnGroupChannel && prevProps.showSenderNameOnOwnMessages === nextProps.showSenderNameOnOwnMessages && prevProps.messageStatusAndTimePosition === nextProps.messageStatusAndTimePosition && prevProps.messageStatusDisplayingType === nextProps.messageStatusDisplayingType && prevProps.outgoingMessageStyles === nextProps.outgoingMessageStyles && prevProps.incomingMessageStyles === nextProps.incomingMessageStyles && prevProps.ownRepliedMessageBackground === nextProps.ownRepliedMessageBackground && prevProps.incomingRepliedMessageBackground === nextProps.incomingRepliedMessageBackground && prevProps.showMessageStatus === nextProps.showMessageStatus && prevProps.showMessageTimeAndStatusOnlyOnHover === nextProps.showMessageTimeAndStatusOnlyOnHover && prevProps.showMessageTime === nextProps.showMessageTime && prevProps.showMessageStatusForEachMessage === nextProps.showMessageStatusForEachMessage && prevProps.showMessageTimeForEachMessage === nextProps.showMessageTimeForEachMessage && prevProps.messageReaction === nextProps.messageReaction && prevProps.editMessage === nextProps.editMessage && prevProps.copyMessage === nextProps.copyMessage && prevProps.replyMessage === nextProps.replyMessage && prevProps.replyMessageInThread === nextProps.replyMessageInThread && prevProps.forwardMessage === nextProps.forwardMessage && prevProps.deleteMessage === nextProps.deleteMessage && prevProps.selectMessage === nextProps.selectMessage && prevProps.allowEditDeleteIncomingMessage === nextProps.allowEditDeleteIncomingMessage && prevProps.reportMessage === nextProps.reportMessage && prevProps.reactionIcon === nextProps.reactionIcon && prevProps.editIcon === nextProps.editIcon && prevProps.copyIcon === nextProps.copyIcon && prevProps.replyIcon === nextProps.replyIcon && prevProps.replyInThreadIcon === nextProps.replyInThreadIcon && prevProps.forwardIcon === nextProps.forwardIcon && prevProps.deleteIcon === nextProps.deleteIcon && prevProps.selectIcon === nextProps.selectIcon && prevProps.starIcon === nextProps.starIcon && prevProps.staredIcon === nextProps.staredIcon && prevProps.reportIcon === nextProps.reportIcon && prevProps.fixEmojiCategoriesTitleOnTop === nextProps.fixEmojiCategoriesTitleOnTop && prevProps.emojisCategoryIconsPosition === nextProps.emojisCategoryIconsPosition && prevProps.emojisContainerBorderRadius === nextProps.emojisContainerBorderRadius && prevProps.reactionIconOrder === nextProps.reactionIconOrder && prevProps.editIconOrder === nextProps.editIconOrder && prevProps.copyIconOrder === nextProps.copyIconOrder && prevProps.replyIconOrder === nextProps.replyIconOrder && prevProps.replyInThreadIconOrder === nextProps.replyInThreadIconOrder && prevProps.forwardIconOrder === nextProps.forwardIconOrder && prevProps.deleteIconOrder === nextProps.deleteIconOrder && prevProps.selectIconOrder === nextProps.selectIconOrder && prevProps.starIconOrder === nextProps.starIconOrder && prevProps.reportIconOrder === nextProps.reportIconOrder && prevProps.reactionIconTooltipText === nextProps.reactionIconTooltipText && prevProps.editIconTooltipText === nextProps.editIconTooltipText && prevProps.copyIconTooltipText === nextProps.copyIconTooltipText && prevProps.replyIconTooltipText === nextProps.replyIconTooltipText && prevProps.replyInThreadIconTooltipText === nextProps.replyInThreadIconTooltipText && prevProps.forwardIconTooltipText === nextProps.forwardIconTooltipText && prevProps.deleteIconTooltipText === nextProps.deleteIconTooltipText && prevProps.selectIconTooltipText === nextProps.selectIconTooltipText && prevProps.starIconTooltipText === nextProps.starIconTooltipText && prevProps.reportIconTooltipText === nextProps.reportIconTooltipText && prevProps.messageActionIconsColor === nextProps.messageActionIconsColor && prevProps.inlineReactionIcon === nextProps.inlineReactionIcon && prevProps.messageStatusSize === nextProps.messageStatusSize && prevProps.messageStatusColor === nextProps.messageStatusColor && prevProps.messageReadStatusColor === nextProps.messageReadStatusColor && prevProps.messageStateFontSize === nextProps.messageStateFontSize && prevProps.messageStateColor === nextProps.messageStateColor && prevProps.messageTimeFontSize === nextProps.messageTimeFontSize && prevProps.messageTimeColor === nextProps.messageTimeColor && prevProps.messageStatusAndTimeLineHeight === nextProps.messageStatusAndTimeLineHeight && prevProps.fileAttachmentsBoxWidth === nextProps.fileAttachmentsBoxWidth && prevProps.fileAttachmentsBoxBackground === nextProps.fileAttachmentsBoxBackground && prevProps.fileAttachmentsBoxBorder === nextProps.fileAttachmentsBoxBorder && prevProps.fileAttachmentsTitleColor === nextProps.fileAttachmentsTitleColor && prevProps.fileAttachmentsSizeColor === nextProps.fileAttachmentsSizeColor && prevProps.fileAttachmentsIcon === nextProps.fileAttachmentsIcon && prevProps.imageAttachmentMaxWidth === nextProps.imageAttachmentMaxWidth && prevProps.imageAttachmentMaxHeight === nextProps.imageAttachmentMaxHeight && prevProps.videoAttachmentMaxWidth === nextProps.videoAttachmentMaxWidth && prevProps.videoAttachmentMaxHeight === nextProps.videoAttachmentMaxHeight && prevProps.theme === nextProps.theme && prevProps.messageTextFontSize === nextProps.messageTextFontSize && prevProps.messageTextLineHeight === nextProps.messageTextLineHeight && prevProps.messageActionsShow === nextProps.messageActionsShow && prevProps.emojisPopupOpen === nextProps.emojisPopupOpen && prevProps.emojisPopupPosition === nextProps.emojisPopupPosition && prevProps.frequentlyEmojisOpen === nextProps.frequentlyEmojisOpen && (((_prevProps$ogMetadata = prevProps.ogMetadataProps) === null || _prevProps$ogMetadata === void 0 ? void 0 : _prevProps$ogMetadata.ogLayoutOrder) || 'og-first') === (((_nextProps$ogMetadata = nextProps.ogMetadataProps) === null || _nextProps$ogMetadata === void 0 ? void 0 : _nextProps$ogMetadata.ogLayoutOrder) || 'og-first') && ((_prevProps$ogMetadata2 = prevProps.ogMetadataProps) === null || _prevProps$ogMetadata2 === void 0 ? void 0 : _prevProps$ogMetadata2.ogShowUrl) === ((_nextProps$ogMetadata2 = nextProps.ogMetadataProps) === null || _nextProps$ogMetadata2 === void 0 ? void 0 : _nextProps$ogMetadata2.ogShowUrl) && ((_prevProps$ogMetadata3 = prevProps.ogMetadataProps) === null || _prevProps$ogMetadata3 === void 0 ? void 0 : _prevProps$ogMetadata3.ogShowTitle) === ((_nextProps$ogMetadata3 = nextProps.ogMetadataProps) === null || _nextProps$ogMetadata3 === void 0 ? void 0 : _nextProps$ogMetadata3.ogShowTitle) && ((_prevProps$ogMetadata4 = prevProps.ogMetadataProps) === null || _prevProps$ogMetadata4 === void 0 ? void 0 : _prevProps$ogMetadata4.ogShowDescription) === ((_nextProps$ogMetadata4 = nextProps.ogMetadataProps) === null || _nextProps$ogMetadata4 === void 0 ? void 0 : _nextProps$ogMetadata4.ogShowDescription) && ((_prevProps$ogMetadata5 = prevProps.ogMetadataProps) === null || _prevProps$ogMetadata5 === void 0 ? void 0 : _prevProps$ogMetadata5.ogShowFavicon) === ((_nextProps$ogMetadata5 = nextProps.ogMetadataProps) === null || _nextProps$ogMetadata5 === void 0 ? void 0 : _nextProps$ogMetadata5.ogShowFavicon) && ((_prevProps$ogMetadata6 = prevProps.ogMetadataProps) === null || _prevProps$ogMetadata6 === void 0 ? void 0 : _prevProps$ogMetadata6.order) === ((_nextProps$ogMetadata6 = nextProps.ogMetadataProps) === null || _nextProps$ogMetadata6 === void 0 ? void 0 : _nextProps$ogMetadata6.order));
35168
35330
  });
35169
- var ForwardedTitle = styled__default.h3(_templateObject$F || (_templateObject$F = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n font-weight: 500;\n font-size: 13px;\n line-height: 16px;\n color: ", ";\n // margin: ", ";\n margin: 0;\n padding: ", ";\n padding-top: ", ";\n padding-bottom: ", ";\n\n & > svg {\n margin-right: 4px;\n width: 16px;\n height: 16px;\n color: ", ";\n }\n"])), function (props) {
35331
+ var ForwardedTitle = styled__default.h3(_templateObject$G || (_templateObject$G = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n font-weight: 500;\n font-size: 13px;\n line-height: 16px;\n color: ", ";\n // margin: ", ";\n margin: 0;\n padding: ", ";\n padding-top: ", ";\n padding-bottom: ", ";\n\n & > svg {\n margin-right: 4px;\n width: 16px;\n height: 16px;\n color: ", ";\n }\n"])), function (props) {
35170
35332
  return props.color;
35171
35333
  }, function (props) {
35172
35334
  return props.withAttachments && props.withBody ? '0' : '0 0 4px';
@@ -35179,12 +35341,12 @@ var ForwardedTitle = styled__default.h3(_templateObject$F || (_templateObject$F
35179
35341
  }, function (props) {
35180
35342
  return props.color;
35181
35343
  });
35182
- var MessageStatusDeleted$1 = styled__default.span(_templateObject2$A || (_templateObject2$A = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size: ", ";\n font-style: italic;\n"])), function (props) {
35344
+ var MessageStatusDeleted$1 = styled__default.span(_templateObject2$B || (_templateObject2$B = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size: ", ";\n font-style: italic;\n"])), function (props) {
35183
35345
  return props.color;
35184
35346
  }, function (props) {
35185
35347
  return props.fontSize;
35186
35348
  });
35187
- var MessageBodyContainer = styled__default.div(_templateObject3$u || (_templateObject3$u = _taggedTemplateLiteralLoose(["\n position: relative;\n background-color: ", ";\n //display: inline-block;\n border-radius: ", ";\n direction: ", ";\n max-width: ", ";\n width: max-content;\n padding: ", ";\n //direction: ", ";\n //overflow: ", ";\n transition: all 0.3s;\n transform-origin: right;\n"])), function (props) {
35349
+ var MessageBodyContainer = styled__default.div(_templateObject3$v || (_templateObject3$v = _taggedTemplateLiteralLoose(["\n position: relative;\n background-color: ", ";\n //display: inline-block;\n border-radius: ", ";\n direction: ", ";\n max-width: ", ";\n width: max-content;\n padding: ", ";\n //direction: ", ";\n //overflow: ", ";\n transition: all 0.3s;\n transform-origin: right;\n"])), function (props) {
35188
35350
  var _props$outgoingMessag, _props$incomingMessag;
35189
35351
  return props.isSelfMessage ? (_props$outgoingMessag = props.outgoingMessageStyles) === null || _props$outgoingMessag === void 0 ? void 0 : _props$outgoingMessag.background : (_props$incomingMessag = props.incomingMessageStyles) === null || _props$incomingMessag === void 0 ? void 0 : _props$incomingMessag.background;
35190
35352
  }, function (props) {
@@ -35201,7 +35363,7 @@ var MessageBodyContainer = styled__default.div(_templateObject3$u || (_templateO
35201
35363
  }, function (props) {
35202
35364
  return props.noBody && 'hidden';
35203
35365
  });
35204
- var EmojiContainer = styled__default.div(_templateObject4$q || (_templateObject4$q = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: ", ";\n right: ", ";\n //top: ", ";\n top: ", ";\n bottom: ", ";\n z-index: 99;\n"])), function (props) {
35366
+ var EmojiContainer = styled__default.div(_templateObject4$r || (_templateObject4$r = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: ", ";\n right: ", ";\n //top: ", ";\n top: ", ";\n bottom: ", ";\n z-index: 99;\n"])), function (props) {
35205
35367
  return props.rtlDirection ? '' : '0';
35206
35368
  }, function (props) {
35207
35369
  return props.rtlDirection && '0';
@@ -35212,13 +35374,13 @@ var EmojiContainer = styled__default.div(_templateObject4$q || (_templateObject4
35212
35374
  }, function (props) {
35213
35375
  return props.position === 'top' && 'calc(100% + 4px)';
35214
35376
  });
35215
- var FrequentlyEmojisContainer = styled__default.div(_templateObject5$l || (_templateObject5$l = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: ", ";\n right: ", ";\n top: -50px;\n z-index: 99;\n"])), function (props) {
35377
+ var FrequentlyEmojisContainer = styled__default.div(_templateObject5$m || (_templateObject5$m = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: ", ";\n right: ", ";\n top: -50px;\n z-index: 99;\n"])), function (props) {
35216
35378
  return props.rtlDirection ? '' : '0';
35217
35379
  }, function (props) {
35218
35380
  return props.rtlDirection && '0';
35219
35381
  });
35220
35382
 
35221
- var _templateObject$G, _templateObject2$B, _templateObject3$v, _templateObject4$r, _templateObject5$m, _templateObject6$j, _templateObject7$h, _templateObject8$g, _templateObject9$e, _templateObject0$d, _templateObject1$9;
35383
+ var _templateObject$H, _templateObject2$C, _templateObject3$w, _templateObject4$s, _templateObject5$n, _templateObject6$k, _templateObject7$i, _templateObject8$h, _templateObject9$f, _templateObject0$e, _templateObject1$a;
35222
35384
  var defaultFormatDate = function defaultFormatDate(date) {
35223
35385
  var m = moment(date);
35224
35386
  if (m.isSame(moment(), 'day')) {
@@ -35590,31 +35752,31 @@ function sortByDateDesc(a, b) {
35590
35752
  var bTime = bDate ? new Date(bDate).getTime() : 0;
35591
35753
  return bTime - aTime;
35592
35754
  }
35593
- var Tabs = styled__default.div(_templateObject$G || (_templateObject$G = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: 8px;\n justify-content: start;\n margin-bottom: 8px;\n"])));
35594
- var Tab = styled__default.button(_templateObject2$B || (_templateObject2$B = _taggedTemplateLiteralLoose(["\n border: none;\n background: transparent;\n cursor: pointer;\n padding: 6px 11px;\n border-radius: 16px;\n color: ", ";\n background: ", ";\n border: 1px solid ", ";\n &:hover {\n opacity: 0.9;\n }\n font-weight: 500;\n font-size: 15px;\n line-height: 20px;\n letter-spacing: 0px;\n text-align: center;\n"])), function (p) {
35755
+ var Tabs = styled__default.div(_templateObject$H || (_templateObject$H = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: 8px;\n justify-content: start;\n margin-bottom: 8px;\n"])));
35756
+ var Tab = styled__default.button(_templateObject2$C || (_templateObject2$C = _taggedTemplateLiteralLoose(["\n border: none;\n background: transparent;\n cursor: pointer;\n padding: 6px 11px;\n border-radius: 16px;\n color: ", ";\n background: ", ";\n border: 1px solid ", ";\n &:hover {\n opacity: 0.9;\n }\n font-weight: 500;\n font-size: 15px;\n line-height: 20px;\n letter-spacing: 0px;\n text-align: center;\n"])), function (p) {
35595
35757
  return p.active ? p.textOnPrimary : p.textSecondary;
35596
35758
  }, function (p) {
35597
35759
  return p.background;
35598
35760
  }, function (p) {
35599
35761
  return p.active ? p.background : p.borderColor;
35600
35762
  });
35601
- var List$1 = styled__default.div(_templateObject3$v || (_templateObject3$v = _taggedTemplateLiteralLoose(["\n margin-top: 8px;\n flex: 1 1 auto;\n min-height: 0;\n overflow-y: auto;\n max-height: ", ";\n"])), function (p) {
35763
+ var List$1 = styled__default.div(_templateObject3$w || (_templateObject3$w = _taggedTemplateLiteralLoose(["\n margin-top: 8px;\n flex: 1 1 auto;\n min-height: 0;\n overflow-y: auto;\n max-height: ", ";\n"])), function (p) {
35602
35764
  return p.maxHeight ? p.maxHeight + "px" : 'unset';
35603
35765
  });
35604
- var Row$2 = styled__default.div(_templateObject4$r || (_templateObject4$r = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: 12px;\n padding: 6px;\n border-radius: 10px;\n cursor: pointer;\n &:hover {\n background-color: ", ";\n }\n"])), function (p) {
35766
+ var Row$2 = styled__default.div(_templateObject4$s || (_templateObject4$s = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: 12px;\n padding: 6px;\n border-radius: 10px;\n cursor: pointer;\n &:hover {\n background-color: ", ";\n }\n"])), function (p) {
35605
35767
  return p.backgroundHover;
35606
35768
  });
35607
- var RowInfo = styled__default.div(_templateObject5$m || (_templateObject5$m = _taggedTemplateLiteralLoose(["\n display: flex;\n margin-right: auto;\n min-width: 0;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n"])));
35608
- var RowTitle = styled__default.div(_templateObject6$j || (_templateObject6$j = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size: 16px;\n font-weight: 500;\n line-height: 22px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"])), function (p) {
35769
+ var RowInfo = styled__default.div(_templateObject5$n || (_templateObject5$n = _taggedTemplateLiteralLoose(["\n display: flex;\n margin-right: auto;\n min-width: 0;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n"])));
35770
+ var RowTitle = styled__default.div(_templateObject6$k || (_templateObject6$k = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size: 16px;\n font-weight: 500;\n line-height: 22px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"])), function (p) {
35609
35771
  return p.color;
35610
35772
  });
35611
- var RowDate = styled__default.div(_templateObject7$h || (_templateObject7$h = _taggedTemplateLiteralLoose(["\n color: ", ";\n min-width: max-content;\n font-weight: 400;\n font-size: 13px;\n line-height: 16px;\n"])), function (p) {
35773
+ var RowDate = styled__default.div(_templateObject7$i || (_templateObject7$i = _taggedTemplateLiteralLoose(["\n color: ", ";\n min-width: max-content;\n font-weight: 400;\n font-size: 13px;\n line-height: 16px;\n"])), function (p) {
35612
35774
  return p.color;
35613
35775
  });
35614
- var Empty = styled__default.div(_templateObject8$g || (_templateObject8$g = _taggedTemplateLiteralLoose(["\n color: ", ";\n text-align: center;\n padding: 16px 0;\n font-size: 14px;\n height: calc(100% - 32px);\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n"])), function (p) {
35776
+ var Empty = styled__default.div(_templateObject8$h || (_templateObject8$h = _taggedTemplateLiteralLoose(["\n color: ", ";\n text-align: center;\n padding: 16px 0;\n font-size: 14px;\n height: calc(100% - 32px);\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n"])), function (p) {
35615
35777
  return p.color;
35616
35778
  });
35617
- var DropdownRoot = styled__default.div(_templateObject9$e || (_templateObject9$e = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: ", ";\n bottom: ", ";\n ", "\n z-index: 15;\n background: ", ";\n box-shadow: 0px 0px 24px 0px #11153929;\n border-radius: 16px;\n direction: initial;\n visibility: ", ";\n"])), function (p) {
35779
+ var DropdownRoot = styled__default.div(_templateObject9$f || (_templateObject9$f = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: ", ";\n bottom: ", ";\n ", "\n z-index: 15;\n background: ", ";\n box-shadow: 0px 0px 24px 0px #11153929;\n border-radius: 16px;\n direction: initial;\n visibility: ", ";\n"])), function (p) {
35618
35780
  return p.flip ? 'auto' : 'calc(100% + 8px)';
35619
35781
  }, function (p) {
35620
35782
  return p.flip ? 'calc(100% + 8px)' : 'auto';
@@ -35626,7 +35788,7 @@ var DropdownRoot = styled__default.div(_templateObject9$e || (_templateObject9$e
35626
35788
  }, function (p) {
35627
35789
  return p.ready ? 'visible' : 'hidden';
35628
35790
  });
35629
- var Panel = styled__default.div(_templateObject0$d || (_templateObject0$d = _taggedTemplateLiteralLoose(["\n background: ", ";\n border-radius: 16px;\n overflow: hidden;\n transition: height 0.25s ease;\n height: ", ";\n width: ", ";\n min-width: ", ";\n display: flex;\n flex-direction: column;\n"])), function (p) {
35791
+ var Panel = styled__default.div(_templateObject0$e || (_templateObject0$e = _taggedTemplateLiteralLoose(["\n background: ", ";\n border-radius: 16px;\n overflow: hidden;\n transition: height 0.25s ease;\n height: ", ";\n width: ", ";\n min-width: ", ";\n display: flex;\n flex-direction: column;\n"])), function (p) {
35630
35792
  return p.bg;
35631
35793
  }, function (p) {
35632
35794
  return p.open ? Math.min(p.heightPx || 0, parseInt(String(p.maxHeight || '300'), 10) || 300) + "px" : '0';
@@ -35635,7 +35797,7 @@ var Panel = styled__default.div(_templateObject0$d || (_templateObject0$d = _tag
35635
35797
  }, function (p) {
35636
35798
  return p.minWidth || '340px';
35637
35799
  });
35638
- var Content = styled__default.div(_templateObject1$9 || (_templateObject1$9 = _taggedTemplateLiteralLoose(["\n padding: 16px 12px;\n height: 100%;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n"])));
35800
+ var Content = styled__default.div(_templateObject1$a || (_templateObject1$a = _taggedTemplateLiteralLoose(["\n padding: 16px 12px;\n height: 100%;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n"])));
35639
35801
 
35640
35802
  function ConfirmEndPollPopup(_ref) {
35641
35803
  var handleFunction = _ref.handleFunction,
@@ -35652,7 +35814,7 @@ function ConfirmEndPollPopup(_ref) {
35652
35814
  });
35653
35815
  }
35654
35816
 
35655
- var _templateObject$H, _templateObject2$C, _templateObject3$w, _templateObject4$s, _templateObject5$n, _templateObject6$k, _templateObject7$i, _templateObject8$h, _templateObject9$f, _templateObject0$e, _templateObject1$a, _templateObject10$5, _templateObject11$5, _templateObject12$4;
35817
+ var _templateObject$I, _templateObject2$D, _templateObject3$x, _templateObject4$t, _templateObject5$o, _templateObject6$l, _templateObject7$j, _templateObject8$i, _templateObject9$g, _templateObject0$f, _templateObject1$b, _templateObject10$6, _templateObject11$5, _templateObject12$4;
35656
35818
  var Message$1 = function Message(_ref) {
35657
35819
  var message = _ref.message,
35658
35820
  channel = _ref.channel,
@@ -36463,11 +36625,11 @@ var Message$1 = function Message(_ref) {
36463
36625
  var Message$2 = /*#__PURE__*/React__default.memo(Message$1, function (prevProps, nextProps) {
36464
36626
  return prevProps.message.deliveryStatus === nextProps.message.deliveryStatus && prevProps.message.state === nextProps.message.state && prevProps.message.userReactions === nextProps.message.userReactions && prevProps.message.body === nextProps.message.body && prevProps.message.reactionTotals === nextProps.message.reactionTotals && prevProps.message.attachments === nextProps.message.attachments && prevProps.message.metadata === nextProps.message.metadata && prevProps.message.userMarkers === nextProps.message.userMarkers && prevProps.message.pollDetails === nextProps.message.pollDetails && prevProps.prevMessage === nextProps.prevMessage && prevProps.nextMessage === nextProps.nextMessage && prevProps.selectedMessagesMap === nextProps.selectedMessagesMap && prevProps.contactsMap === nextProps.contactsMap && prevProps.connectionStatus === nextProps.connectionStatus && prevProps.openedMessageMenuId === nextProps.openedMessageMenuId && prevProps.theme === nextProps.theme;
36465
36627
  });
36466
- var MessageReactionKey = styled__default.span(_templateObject$H || (_templateObject$H = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n align-items: center;\n font-family:\n apple color emoji,\n segoe ui emoji,\n noto color emoji,\n android emoji,\n emojisymbols,\n emojione mozilla,\n twemoji mozilla,\n segoe ui symbol;\n"])));
36467
- var ReactionItemCount = styled__default.span(_templateObject2$C || (_templateObject2$C = _taggedTemplateLiteralLoose(["\n margin-left: 2px;\n font-family: Inter, sans-serif;\n font-weight: 400;\n font-size: 14px;\n line-height: 16px;\n color: ", ";\n"])), function (props) {
36628
+ var MessageReactionKey = styled__default.span(_templateObject$I || (_templateObject$I = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n align-items: center;\n font-family:\n apple color emoji,\n segoe ui emoji,\n noto color emoji,\n android emoji,\n emojisymbols,\n emojione mozilla,\n twemoji mozilla,\n segoe ui symbol;\n"])));
36629
+ var ReactionItemCount = styled__default.span(_templateObject2$D || (_templateObject2$D = _taggedTemplateLiteralLoose(["\n margin-left: 2px;\n font-family: Inter, sans-serif;\n font-weight: 400;\n font-size: 14px;\n line-height: 16px;\n color: ", ";\n"])), function (props) {
36468
36630
  return props.color;
36469
36631
  });
36470
- var MessageReaction = styled__default.span(_templateObject3$w || (_templateObject3$w = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n //min-width: 23px;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n margin: ", ";\n margin-right: ", ";\n border: ", ";\n color: ", ";\n box-sizing: border-box;\n border-radius: ", ";\n font-size: ", ";\n line-height: ", ";\n padding: ", ";\n background-color: ", ";\n white-space: nowrap;\n\n &:last-child {\n margin-right: 0;\n }\n"])), function (props) {
36632
+ var MessageReaction = styled__default.span(_templateObject3$x || (_templateObject3$x = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n //min-width: 23px;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n margin: ", ";\n margin-right: ", ";\n border: ", ";\n color: ", ";\n box-sizing: border-box;\n border-radius: ", ";\n font-size: ", ";\n line-height: ", ";\n padding: ", ";\n background-color: ", ";\n white-space: nowrap;\n\n &:last-child {\n margin-right: 0;\n }\n"])), function (props) {
36471
36633
  return props.margin || '0 8px 0 0';
36472
36634
  }, function (props) {
36473
36635
  return props.isLastReaction && '0';
@@ -36486,26 +36648,26 @@ var MessageReaction = styled__default.span(_templateObject3$w || (_templateObjec
36486
36648
  }, function (props) {
36487
36649
  return props.backgroundColor;
36488
36650
  });
36489
- var ThreadMessageCountContainer = styled__default.div(_templateObject4$s || (_templateObject4$s = _taggedTemplateLiteralLoose(["\n position: relative;\n color: ", ";\n font-weight: 500;\n font-size: 13px;\n line-height: 15px;\n margin: 12px;\n cursor: pointer;\n\n &::before {\n content: '';\n position: absolute;\n left: -25px;\n top: -21px;\n width: 16px;\n height: 26px;\n border-left: 2px solid #cdcdcf;\n border-bottom: 2px solid #cdcdcf;\n border-radius: 0 0 0 14px;\n }\n"])), function (props) {
36651
+ var ThreadMessageCountContainer = styled__default.div(_templateObject4$t || (_templateObject4$t = _taggedTemplateLiteralLoose(["\n position: relative;\n color: ", ";\n font-weight: 500;\n font-size: 13px;\n line-height: 15px;\n margin: 12px;\n cursor: pointer;\n\n &::before {\n content: '';\n position: absolute;\n left: -25px;\n top: -21px;\n width: 16px;\n height: 26px;\n border-left: 2px solid #cdcdcf;\n border-bottom: 2px solid #cdcdcf;\n border-radius: 0 0 0 14px;\n }\n"])), function (props) {
36490
36652
  return props.color;
36491
36653
  });
36492
- var FailedMessageIcon = styled__default.div(_templateObject5$n || (_templateObject5$n = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: -6px;\n left: ", ";\n right: ", ";\n width: 20px;\n height: 20px;\n"])), function (props) {
36654
+ var FailedMessageIcon = styled__default.div(_templateObject5$o || (_templateObject5$o = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: -6px;\n left: ", ";\n right: ", ";\n width: 20px;\n height: 20px;\n"])), function (props) {
36493
36655
  return !props.rtl && '-24px';
36494
36656
  }, function (props) {
36495
36657
  return props.rtl && '-24px';
36496
36658
  });
36497
- var ErrorIconWrapper = styled__default(SvgErrorIcon)(_templateObject6$k || (_templateObject6$k = _taggedTemplateLiteralLoose(["\n width: 20px;\n height: 20px;\n"])));
36498
- var SelectMessageWrapper = styled__default.div(_templateObject7$i || (_templateObject7$i = _taggedTemplateLiteralLoose(["\n display: flex;\n padding: 10px;\n position: absolute;\n left: 4%;\n bottom: calc(50% - 22px);\n cursor: ", ";\n & > svg {\n color: ", ";\n width: 24px;\n height: 24px;\n }\n"])), function (props) {
36659
+ var ErrorIconWrapper = styled__default(SvgErrorIcon)(_templateObject6$l || (_templateObject6$l = _taggedTemplateLiteralLoose(["\n width: 20px;\n height: 20px;\n"])));
36660
+ var SelectMessageWrapper = styled__default.div(_templateObject7$j || (_templateObject7$j = _taggedTemplateLiteralLoose(["\n display: flex;\n padding: 10px;\n position: absolute;\n left: 4%;\n bottom: calc(50% - 22px);\n cursor: ", ";\n & > svg {\n color: ", ";\n width: 24px;\n height: 24px;\n }\n"])), function (props) {
36499
36661
  return !props.disabled && 'pointer';
36500
36662
  }, function (props) {
36501
36663
  return props.activeColor;
36502
36664
  });
36503
- var EmptySelection = styled__default.span(_templateObject8$h || (_templateObject8$h = _taggedTemplateLiteralLoose(["\n display: inline-block;\n width: 24px;\n height: 24px;\n border: 1.5px solid ", ";\n box-sizing: border-box;\n border-radius: 50%;\n transform: scale(0.92);\n opacity: ", ";\n"])), function (props) {
36665
+ var EmptySelection = styled__default.span(_templateObject8$i || (_templateObject8$i = _taggedTemplateLiteralLoose(["\n display: inline-block;\n width: 24px;\n height: 24px;\n border: 1.5px solid ", ";\n box-sizing: border-box;\n border-radius: 50%;\n transform: scale(0.92);\n opacity: ", ";\n"])), function (props) {
36504
36666
  return props.borderColor;
36505
36667
  }, function (props) {
36506
36668
  return props.disabled && '0.5';
36507
36669
  });
36508
- var ReactionsContainer = styled__default.div(_templateObject9$f || (_templateObject9$f = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n margin-left: ", ";\n margin-right: ", ";\n\n margin-top: 4px;\n justify-content: flex-end;\n border: ", ";\n box-shadow: ", ";\n filter: drop-shadow(0px 0px 2px rgba(17, 21, 57, 0.08));\n border-radius: ", ";\n background-color: ", ";\n padding: ", ";\n z-index: 9;\n ", ";\n overflow: hidden;\n height: ", ";\n transition: all 0.3s;\n"])), function (props) {
36670
+ var ReactionsContainer = styled__default.div(_templateObject9$g || (_templateObject9$g = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n margin-left: ", ";\n margin-right: ", ";\n\n margin-top: 4px;\n justify-content: flex-end;\n border: ", ";\n box-shadow: ", ";\n filter: drop-shadow(0px 0px 2px rgba(17, 21, 57, 0.08));\n border-radius: ", ";\n background-color: ", ";\n padding: ", ";\n z-index: 9;\n ", ";\n overflow: hidden;\n height: ", ";\n transition: all 0.3s;\n"])), function (props) {
36509
36671
  return props.rtlDirection && 'auto';
36510
36672
  }, function (props) {
36511
36673
  return !props.rtlDirection && 'auto';
@@ -36524,13 +36686,13 @@ var ReactionsContainer = styled__default.div(_templateObject9$f || (_templateObj
36524
36686
  }, function (props) {
36525
36687
  return props.isReacted ? '16px' : '0';
36526
36688
  });
36527
- var MessageReactionsCont = styled__default.div(_templateObject0$e || (_templateObject0$e = _taggedTemplateLiteralLoose(["\n position: relative;\n display: inline-flex;\n max-width: 300px;\n direction: ", ";\n cursor: pointer;\n"])), function (props) {
36689
+ var MessageReactionsCont = styled__default.div(_templateObject0$f || (_templateObject0$f = _taggedTemplateLiteralLoose(["\n position: relative;\n display: inline-flex;\n max-width: 300px;\n direction: ", ";\n cursor: pointer;\n"])), function (props) {
36528
36690
  return props.rtlDirection && 'ltr';
36529
36691
  });
36530
- var MessageStatus$1 = styled__default.span(_templateObject1$a || (_templateObject1$a = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n align-items: center;\n margin-left: 4px;\n text-align: right;\n height: ", ";\n & > svg {\n height: 16px;\n width: 16px;\n }\n"])), function (props) {
36692
+ var MessageStatus$1 = styled__default.span(_templateObject1$b || (_templateObject1$b = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n align-items: center;\n margin-left: 4px;\n text-align: right;\n height: ", ";\n & > svg {\n height: 16px;\n width: 16px;\n }\n"])), function (props) {
36531
36693
  return props.height || '14px';
36532
36694
  });
36533
- var HiddenMessageTime$1 = styled__default.span(_templateObject10$5 || (_templateObject10$5 = _taggedTemplateLiteralLoose(["\n display: ", ";\n font-weight: 400;\n font-size: ", ";\n color: ", ";\n"])), function (props) {
36695
+ var HiddenMessageTime$1 = styled__default.span(_templateObject10$6 || (_templateObject10$6 = _taggedTemplateLiteralLoose(["\n display: ", ";\n font-weight: 400;\n font-size: ", ";\n color: ", ";\n"])), function (props) {
36534
36696
  return props.hide && 'none';
36535
36697
  }, function (props) {
36536
36698
  return props.fontSize || '12px';
@@ -36566,7 +36728,7 @@ var MessageItem = styled__default.div(_templateObject12$4 || (_templateObject12$
36566
36728
  return props.hoverBackground || '';
36567
36729
  }, HiddenMessageTime$1, MessageStatus$1);
36568
36730
 
36569
- var _templateObject$I, _templateObject2$D, _templateObject3$x, _templateObject4$t, _templateObject5$o, _templateObject6$l, _templateObject7$j, _templateObject8$i, _templateObject9$g, _templateObject0$f, _templateObject1$b;
36731
+ var _templateObject$J, _templateObject2$E, _templateObject3$y, _templateObject4$u, _templateObject5$p, _templateObject6$m, _templateObject7$k, _templateObject8$j, _templateObject9$h, _templateObject0$g, _templateObject1$c;
36570
36732
  var CreateMessageDateDivider = function CreateMessageDateDivider(_ref) {
36571
36733
  var lastIndex = _ref.lastIndex,
36572
36734
  currentMessageDate = _ref.currentMessageDate,
@@ -37636,14 +37798,14 @@ var MessageList = function MessageList(_ref2) {
37636
37798
  attachmentsPreview: attachmentsPreview
37637
37799
  })))));
37638
37800
  };
37639
- var Container$i = styled__default.div(_templateObject$I || (_templateObject$I = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column-reverse;\n flex-grow: 1;\n position: relative;\n overflow: auto;\n scroll-behavior: smooth;\n will-change: left, top;\n background-color: ", ";\n overflow-x: hidden;\n\n &::-webkit-scrollbar {\n width: 8px;\n background: transparent;\n }\n &::-webkit-scrollbar-thumb {\n background: transparent;\n }\n\n &.show-scrollbar::-webkit-scrollbar-thumb {\n background: ", ";\n border-radius: 4px;\n }\n &.show-scrollbar::-webkit-scrollbar-track {\n background: transparent;\n }\n"])), function (props) {
37801
+ var Container$i = styled__default.div(_templateObject$J || (_templateObject$J = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column-reverse;\n flex-grow: 1;\n position: relative;\n overflow: auto;\n scroll-behavior: smooth;\n will-change: left, top;\n background-color: ", ";\n overflow-x: hidden;\n\n &::-webkit-scrollbar {\n width: 8px;\n background: transparent;\n }\n &::-webkit-scrollbar-thumb {\n background: transparent;\n }\n\n &.show-scrollbar::-webkit-scrollbar-thumb {\n background: ", ";\n border-radius: 4px;\n }\n &.show-scrollbar::-webkit-scrollbar-track {\n background: transparent;\n }\n"])), function (props) {
37640
37802
  return props.backgroundColor;
37641
37803
  }, function (props) {
37642
37804
  return props.thumbColor;
37643
37805
  });
37644
- var EmptyDiv = styled__default.div(_templateObject2$D || (_templateObject2$D = _taggedTemplateLiteralLoose(["\n height: 300px;\n"])));
37645
- var MessagesBox = styled__default.div(_templateObject3$x || (_templateObject3$x = _taggedTemplateLiteralLoose(["\n //height: auto;\n display: flex;\n //flex-direction: column-reverse;\n flex-direction: column;\n padding-bottom: 20px;\n //overflow: auto;\n //scroll-behavior: unset;\n"])));
37646
- var MessageTopDate = styled__default.div(_templateObject4$t || (_templateObject4$t = _taggedTemplateLiteralLoose(["\n position: absolute;\n justify-content: center;\n width: 100%;\n top: ", ";\n left: 0;\n margin-top: ", ";\n margin-bottom: ", ";\n text-align: center;\n z-index: 10;\n background: transparent;\n opacity: ", ";\n transition: all 0.2s ease-in-out;\n width: calc(100% - 8px);\n\n span {\n display: inline-block;\n max-width: 380px;\n font-style: normal;\n font-weight: normal;\n font-size: ", ";\n color: ", ";\n background-color: ", ";\n border: ", ";\n box-sizing: border-box;\n border-radius: ", ";\n padding: 5px 16px;\n box-shadow:\n 0 0 2px rgba(0, 0, 0, 0.08),\n 0 2px 24px rgba(0, 0, 0, 0.08);\n text-overflow: ellipsis;\n overflow: hidden;\n }\n"])), function (props) {
37806
+ var EmptyDiv = styled__default.div(_templateObject2$E || (_templateObject2$E = _taggedTemplateLiteralLoose(["\n height: 300px;\n"])));
37807
+ var MessagesBox = styled__default.div(_templateObject3$y || (_templateObject3$y = _taggedTemplateLiteralLoose(["\n //height: auto;\n display: flex;\n //flex-direction: column-reverse;\n flex-direction: column;\n padding-bottom: 20px;\n //overflow: auto;\n //scroll-behavior: unset;\n"])));
37808
+ var MessageTopDate = styled__default.div(_templateObject4$u || (_templateObject4$u = _taggedTemplateLiteralLoose(["\n position: absolute;\n justify-content: center;\n width: 100%;\n top: ", ";\n left: 0;\n margin-top: ", ";\n margin-bottom: ", ";\n text-align: center;\n z-index: 10;\n background: transparent;\n opacity: ", ";\n transition: all 0.2s ease-in-out;\n width: calc(100% - 8px);\n\n span {\n display: inline-block;\n max-width: 380px;\n font-style: normal;\n font-weight: normal;\n font-size: ", ";\n color: ", ";\n background-color: ", ";\n border: ", ";\n box-sizing: border-box;\n border-radius: ", ";\n padding: 5px 16px;\n box-shadow:\n 0 0 2px rgba(0, 0, 0, 0.08),\n 0 2px 24px rgba(0, 0, 0, 0.08);\n text-overflow: ellipsis;\n overflow: hidden;\n }\n"])), function (props) {
37647
37809
  return props.topOffset ? props.topOffset + 22 + "px" : '22px';
37648
37810
  }, function (props) {
37649
37811
  return props.marginTop;
@@ -37662,19 +37824,19 @@ var MessageTopDate = styled__default.div(_templateObject4$t || (_templateObject4
37662
37824
  }, function (props) {
37663
37825
  return props.dateDividerBorderRadius || '14px';
37664
37826
  });
37665
- var DragAndDropContainer = styled__default.div(_templateObject5$o || (_templateObject5$o = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n margin-bottom: -31px;\n margin-top: -2px;\n\n position: absolute;\n left: 0;\n top: ", ";\n width: 100%;\n height: ", ";\n background-color: ", ";\n z-index: 999;\n"])), function (props) {
37827
+ var DragAndDropContainer = styled__default.div(_templateObject5$p || (_templateObject5$p = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n margin-bottom: -31px;\n margin-top: -2px;\n\n position: absolute;\n left: 0;\n top: ", ";\n width: 100%;\n height: ", ";\n background-color: ", ";\n z-index: 999;\n"])), function (props) {
37666
37828
  return props.topOffset ? props.topOffset + 2 + "px" : 0;
37667
37829
  }, function (props) {
37668
37830
  return props.height ? props.height + 30 + "px" : '100%';
37669
37831
  }, function (props) {
37670
37832
  return props.backgroundColor;
37671
37833
  });
37672
- var IconWrapper$1 = styled__default.span(_templateObject6$l || (_templateObject6$l = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: center;\n height: 64px;\n width: 64px;\n background-color: ", ";\n border-radius: 50%;\n text-align: center;\n margin-bottom: 16px;\n transition: all 0.3s;\n pointer-events: none;\n\n & > svg {\n color: ", ";\n width: 32px;\n height: 32px;\n }\n"])), function (props) {
37834
+ var IconWrapper$1 = styled__default.span(_templateObject6$m || (_templateObject6$m = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: center;\n height: 64px;\n width: 64px;\n background-color: ", ";\n border-radius: 50%;\n text-align: center;\n margin-bottom: 16px;\n transition: all 0.3s;\n pointer-events: none;\n\n & > svg {\n color: ", ";\n width: 32px;\n height: 32px;\n }\n"])), function (props) {
37673
37835
  return props.backgroundColor;
37674
37836
  }, function (props) {
37675
37837
  return props.iconColor;
37676
37838
  });
37677
- var DropAttachmentArea = styled__default.div(_templateObject7$j || (_templateObject7$j = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n height: 100%;\n border: 1px dashed ", ";\n border-radius: 16px;\n margin: ", ";\n font-weight: 400;\n font-size: 15px;\n line-height: 18px;\n letter-spacing: -0.2px;\n color: ", ";\n transition: all 0.1s;\n\n &.dragover {\n background-color: ", ";\n border: 1px dashed ", ";\n\n ", " {\n background-color: ", ";\n }\n }\n"])), function (props) {
37839
+ var DropAttachmentArea = styled__default.div(_templateObject7$k || (_templateObject7$k = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n height: 100%;\n border: 1px dashed ", ";\n border-radius: 16px;\n margin: ", ";\n font-weight: 400;\n font-size: 15px;\n line-height: 18px;\n letter-spacing: -0.2px;\n color: ", ";\n transition: all 0.1s;\n\n &.dragover {\n background-color: ", ";\n border: 1px dashed ", ";\n\n ", " {\n background-color: ", ";\n }\n }\n"])), function (props) {
37678
37840
  return props.borderColor;
37679
37841
  }, function (props) {
37680
37842
  return props.margin || '12px 32px 32px';
@@ -37687,16 +37849,16 @@ var DropAttachmentArea = styled__default.div(_templateObject7$j || (_templateObj
37687
37849
  }, IconWrapper$1, function (props) {
37688
37850
  return props.iconBackgroundColor;
37689
37851
  });
37690
- var MessageWrapper = styled__default.div(_templateObject8$i || (_templateObject8$i = _taggedTemplateLiteralLoose(["\n &.highlight {\n & .message_item {\n transition: all 0.2s ease-in-out;\n padding-top: 4px;\n padding-bottom: 4px;\n background-color: ", ";\n }\n }\n\n & .message_item {\n transition: all 0.2s ease-in-out;\n }\n"])), function (props) {
37852
+ var MessageWrapper = styled__default.div(_templateObject8$j || (_templateObject8$j = _taggedTemplateLiteralLoose(["\n &.highlight {\n & .message_item {\n transition: all 0.2s ease-in-out;\n padding-top: 4px;\n padding-bottom: 4px;\n background-color: ", ";\n }\n }\n\n & .message_item {\n transition: all 0.2s ease-in-out;\n }\n"])), function (props) {
37691
37853
  return props.highlightBg || '#d5d5d5';
37692
37854
  });
37693
- var NoMessagesContainer = styled__default.div(_templateObject9$g || (_templateObject9$g = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n height: 100%;\n width: 100%;\n font-weight: 400;\n font-size: 15px;\n line-height: 18px;\n letter-spacing: -0.2px;\n color: ", ";\n"])), function (props) {
37855
+ var NoMessagesContainer = styled__default.div(_templateObject9$h || (_templateObject9$h = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n height: 100%;\n width: 100%;\n font-weight: 400;\n font-size: 15px;\n line-height: 18px;\n letter-spacing: -0.2px;\n color: ", ";\n"])), function (props) {
37694
37856
  return props.color;
37695
37857
  });
37696
- var NoMessagesTitle = styled__default.h4(_templateObject0$f || (_templateObject0$f = _taggedTemplateLiteralLoose(["\n margin: 12px 0 8px;\n font-family: Inter, sans-serif;\n text-align: center;\n font-size: 20px;\n font-style: normal;\n font-weight: 500;\n line-height: 24px;\n color: ", ";\n"])), function (props) {
37858
+ var NoMessagesTitle = styled__default.h4(_templateObject0$g || (_templateObject0$g = _taggedTemplateLiteralLoose(["\n margin: 12px 0 8px;\n font-family: Inter, sans-serif;\n text-align: center;\n font-size: 20px;\n font-style: normal;\n font-weight: 500;\n line-height: 24px;\n color: ", ";\n"])), function (props) {
37697
37859
  return props.color;
37698
37860
  });
37699
- var NoMessagesText = styled__default.p(_templateObject1$b || (_templateObject1$b = _taggedTemplateLiteralLoose(["\n margin: 0;\n text-align: center;\n font-feature-settings:\n 'clig' off,\n 'liga' off;\n font-family: Inter, sans-serif;\n font-size: 15px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n color: ", ";\n"])), function (props) {
37861
+ var NoMessagesText = styled__default.p(_templateObject1$c || (_templateObject1$c = _taggedTemplateLiteralLoose(["\n margin: 0;\n text-align: center;\n font-feature-settings:\n 'clig' off,\n 'liga' off;\n font-family: Inter, sans-serif;\n font-size: 15px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n color: ", ";\n"])), function (props) {
37700
37862
  return props.color;
37701
37863
  });
37702
37864
 
@@ -38112,7 +38274,7 @@ function $isMentionNode(node) {
38112
38274
  return node instanceof MentionNode;
38113
38275
  }
38114
38276
 
38115
- var _templateObject$J, _templateObject2$E, _templateObject3$y, _templateObject4$u, _templateObject5$p;
38277
+ var _templateObject$K, _templateObject2$F, _templateObject3$z, _templateObject4$v, _templateObject5$q;
38116
38278
  var PUNCTUATION = '\\.,\\+\\*\\?\\$\\@\\|#{}\\(\\)\\^\\-\\[\\]\\\\/!%\'"~=<>_:;';
38117
38279
  var NAME = '\\b[A-Z][^\\s' + PUNCTUATION + ']';
38118
38280
  var DocumentMentionsRegex = {
@@ -38392,8 +38554,8 @@ function MentionsPlugin(_ref3) {
38392
38554
  }
38393
38555
  });
38394
38556
  }
38395
- var MentionsContainerWrapper = styled__default.div(_templateObject$J || (_templateObject$J = _taggedTemplateLiteralLoose(["\n position: relative;\n animation: fadeIn 0.2s ease-in-out;\n @keyframes fadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n"])));
38396
- var MentionsList = styled__default.ul(_templateObject2$E || (_templateObject2$E = _taggedTemplateLiteralLoose(["\n position: absolute;\n bottom: 100%;\n width: 300px;\n transition: all 0.2s;\n overflow: auto;\n max-height: 240px;\n z-index: 200;\n padding: 2px 0 0;\n background: ", ";\n border: ", ";\n box-sizing: border-box;\n box-shadow: ", ";\n border-radius: 6px;\n visibility: ", ";\n"])), function (props) {
38557
+ var MentionsContainerWrapper = styled__default.div(_templateObject$K || (_templateObject$K = _taggedTemplateLiteralLoose(["\n position: relative;\n animation: fadeIn 0.2s ease-in-out;\n @keyframes fadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n"])));
38558
+ var MentionsList = styled__default.ul(_templateObject2$F || (_templateObject2$F = _taggedTemplateLiteralLoose(["\n position: absolute;\n bottom: 100%;\n width: 300px;\n transition: all 0.2s;\n overflow: auto;\n max-height: 240px;\n z-index: 200;\n padding: 2px 0 0;\n background: ", ";\n border: ", ";\n box-sizing: border-box;\n box-shadow: ", ";\n border-radius: 6px;\n visibility: ", ";\n"])), function (props) {
38397
38559
  return props.backgroundColor;
38398
38560
  }, function (props) {
38399
38561
  return props.withBorder && "1px solid " + props.borderColor;
@@ -38402,32 +38564,32 @@ var MentionsList = styled__default.ul(_templateObject2$E || (_templateObject2$E
38402
38564
  }, function (props) {
38403
38565
  return props.hidden ? 'hidden' : 'visible';
38404
38566
  });
38405
- var MemberItem = styled__default.li(_templateObject3$y || (_templateObject3$y = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n font-size: 15px;\n padding: 6px 16px;\n transition: all 0.2s;\n cursor: pointer;\n background-color: ", ";\n\n & ", " {\n width: 10px;\n height: 10px;\n }\n"])), function (props) {
38567
+ var MemberItem = styled__default.li(_templateObject3$z || (_templateObject3$z = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n font-size: 15px;\n padding: 6px 16px;\n transition: all 0.2s;\n cursor: pointer;\n background-color: ", ";\n\n & ", " {\n width: 10px;\n height: 10px;\n }\n"])), function (props) {
38406
38568
  return props.isActiveItem && props.activeBackgroundColor;
38407
38569
  }, UserStatus);
38408
- var UserNamePresence$2 = styled__default.div(_templateObject4$u || (_templateObject4$u = _taggedTemplateLiteralLoose(["\n width: calc(100% - 44px);\n margin-left: 12px;\n"])));
38409
- var MemberName$2 = styled__default.h3(_templateObject5$p || (_templateObject5$p = _taggedTemplateLiteralLoose(["\n margin: 0;\n max-width: calc(100% - 1px);\n font-weight: 500;\n font-size: 15px;\n line-height: 18px;\n letter-spacing: -0.2px;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n color: ", ";\n"])), function (props) {
38570
+ var UserNamePresence$2 = styled__default.div(_templateObject4$v || (_templateObject4$v = _taggedTemplateLiteralLoose(["\n width: calc(100% - 44px);\n margin-left: 12px;\n"])));
38571
+ var MemberName$2 = styled__default.h3(_templateObject5$q || (_templateObject5$q = _taggedTemplateLiteralLoose(["\n margin: 0;\n max-width: calc(100% - 1px);\n font-weight: 500;\n font-size: 15px;\n line-height: 18px;\n letter-spacing: -0.2px;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n color: ", ";\n"])), function (props) {
38410
38572
  return props.color;
38411
38573
  });
38412
38574
 
38413
- var _path$17;
38414
- function _extends$19() {
38415
- return _extends$19 = Object.assign ? Object.assign.bind() : function (n) {
38575
+ var _path$18;
38576
+ function _extends$1a() {
38577
+ return _extends$1a = Object.assign ? Object.assign.bind() : function (n) {
38416
38578
  for (var e = 1; e < arguments.length; e++) {
38417
38579
  var t = arguments[e];
38418
38580
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
38419
38581
  }
38420
38582
  return n;
38421
- }, _extends$19.apply(null, arguments);
38583
+ }, _extends$1a.apply(null, arguments);
38422
38584
  }
38423
38585
  function SvgBold(props) {
38424
- return /*#__PURE__*/React.createElement("svg", _extends$19({
38586
+ return /*#__PURE__*/React.createElement("svg", _extends$1a({
38425
38587
  width: 18,
38426
38588
  height: 18,
38427
38589
  viewBox: "0 0 18.01 18.01",
38428
38590
  fill: "none",
38429
38591
  xmlns: "http://www.w3.org/2000/svg"
38430
- }, props), _path$17 || (_path$17 = /*#__PURE__*/React.createElement("path", {
38592
+ }, props), _path$18 || (_path$18 = /*#__PURE__*/React.createElement("path", {
38431
38593
  fillRule: "evenodd",
38432
38594
  clipRule: "evenodd",
38433
38595
  d: "M6.35 3.029A1.1 1.1 0 005 4.1v10a1.1 1.1 0 001.35 1.072c.08.018.164.028.25.028h3.429c1.998 0 3.671-1.583 3.671-3.6a3.566 3.566 0 00-1.596-2.969c.38-.588.596-1.294.596-2.031 0-1.904-1.444-3.6-3.408-3.6H6.6c-.086 0-.17.01-.25.029zm3.41 7.138a3.318 3.318 0 01-.468.033H7.2V13h2.829c.842 0 1.471-.656 1.471-1.4 0-.744-.63-1.4-1.471-1.4a1.1 1.1 0 01-.268-.033zM7.2 8h2.092c.586 0 1.208-.542 1.208-1.4 0-.858-.622-1.4-1.208-1.4H7.2V8z",
@@ -38435,24 +38597,24 @@ function SvgBold(props) {
38435
38597
  })));
38436
38598
  }
38437
38599
 
38438
- var _path$18;
38439
- function _extends$1a() {
38440
- return _extends$1a = Object.assign ? Object.assign.bind() : function (n) {
38600
+ var _path$19;
38601
+ function _extends$1b() {
38602
+ return _extends$1b = Object.assign ? Object.assign.bind() : function (n) {
38441
38603
  for (var e = 1; e < arguments.length; e++) {
38442
38604
  var t = arguments[e];
38443
38605
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
38444
38606
  }
38445
38607
  return n;
38446
- }, _extends$1a.apply(null, arguments);
38608
+ }, _extends$1b.apply(null, arguments);
38447
38609
  }
38448
38610
  function SvgItalic(props) {
38449
- return /*#__PURE__*/React.createElement("svg", _extends$1a({
38611
+ return /*#__PURE__*/React.createElement("svg", _extends$1b({
38450
38612
  width: 18,
38451
38613
  height: 18,
38452
38614
  viewBox: "0 0 18.01 18.01",
38453
38615
  fill: "none",
38454
38616
  xmlns: "http://www.w3.org/2000/svg"
38455
- }, props), _path$18 || (_path$18 = /*#__PURE__*/React.createElement("path", {
38617
+ }, props), _path$19 || (_path$19 = /*#__PURE__*/React.createElement("path", {
38456
38618
  fillRule: "evenodd",
38457
38619
  clipRule: "evenodd",
38458
38620
  d: "M9.984 3.2H8a.8.8 0 000 1.6h1.024l-1.68 8.4H6a.8.8 0 100 1.6h4a.8.8 0 000-1.6H8.976l1.68-8.4H12a.8.8 0 000-1.6H9.984z",
@@ -38461,17 +38623,17 @@ function SvgItalic(props) {
38461
38623
  }
38462
38624
 
38463
38625
  var _g$1;
38464
- function _extends$1b() {
38465
- return _extends$1b = Object.assign ? Object.assign.bind() : function (n) {
38626
+ function _extends$1c() {
38627
+ return _extends$1c = Object.assign ? Object.assign.bind() : function (n) {
38466
38628
  for (var e = 1; e < arguments.length; e++) {
38467
38629
  var t = arguments[e];
38468
38630
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
38469
38631
  }
38470
38632
  return n;
38471
- }, _extends$1b.apply(null, arguments);
38633
+ }, _extends$1c.apply(null, arguments);
38472
38634
  }
38473
38635
  function SvgStrikethrough(props) {
38474
- return /*#__PURE__*/React.createElement("svg", _extends$1b({
38636
+ return /*#__PURE__*/React.createElement("svg", _extends$1c({
38475
38637
  width: 18,
38476
38638
  height: 18,
38477
38639
  viewBox: "0 0 18.01 18.01",
@@ -38488,41 +38650,41 @@ function SvgStrikethrough(props) {
38488
38650
  }))));
38489
38651
  }
38490
38652
 
38491
- var _path$19;
38492
- function _extends$1c() {
38493
- return _extends$1c = Object.assign ? Object.assign.bind() : function (n) {
38653
+ var _path$1a;
38654
+ function _extends$1d() {
38655
+ return _extends$1d = Object.assign ? Object.assign.bind() : function (n) {
38494
38656
  for (var e = 1; e < arguments.length; e++) {
38495
38657
  var t = arguments[e];
38496
38658
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
38497
38659
  }
38498
38660
  return n;
38499
- }, _extends$1c.apply(null, arguments);
38661
+ }, _extends$1d.apply(null, arguments);
38500
38662
  }
38501
38663
  function SvgMono(props) {
38502
- return /*#__PURE__*/React.createElement("svg", _extends$1c({
38664
+ return /*#__PURE__*/React.createElement("svg", _extends$1d({
38503
38665
  width: 18,
38504
38666
  height: 18,
38505
38667
  viewBox: "0 0 18.01 18.01",
38506
38668
  fill: "none",
38507
38669
  xmlns: "http://www.w3.org/2000/svg"
38508
- }, props), _path$19 || (_path$19 = /*#__PURE__*/React.createElement("path", {
38670
+ }, props), _path$1a || (_path$1a = /*#__PURE__*/React.createElement("path", {
38509
38671
  d: "M4.98 14.753A.826.826 0 014.37 15a.882.882 0 01-.624-.247.882.882 0 01-.247-.624V3.87c0-.24.082-.444.247-.608A.853.853 0 014.37 3c.581 0 1.003.258 1.266.773l3.238 6.28c0 .01.006.015.017.015.01 0 .016-.005.016-.016l3.222-6.247c.274-.537.712-.805 1.315-.805.252 0 .466.088.641.263a.873.873 0 01.263.641v10.192a.873.873 0 01-.263.641.872.872 0 01-.64.263.873.873 0 01-.642-.263.873.873 0 01-.263-.641V6.14c0-.011-.005-.017-.016-.017s-.017.006-.017.017l-2.433 4.833c-.252.493-.646.74-1.183.74s-.932-.247-1.184-.74L5.275 6.14c0-.011-.005-.017-.016-.017s-.017.006-.017.017v7.989c0 .24-.087.45-.263.624z",
38510
38672
  fill: "CurrentColor"
38511
38673
  })));
38512
38674
  }
38513
38675
 
38514
38676
  var _g$2;
38515
- function _extends$1d() {
38516
- return _extends$1d = Object.assign ? Object.assign.bind() : function (n) {
38677
+ function _extends$1e() {
38678
+ return _extends$1e = Object.assign ? Object.assign.bind() : function (n) {
38517
38679
  for (var e = 1; e < arguments.length; e++) {
38518
38680
  var t = arguments[e];
38519
38681
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
38520
38682
  }
38521
38683
  return n;
38522
- }, _extends$1d.apply(null, arguments);
38684
+ }, _extends$1e.apply(null, arguments);
38523
38685
  }
38524
38686
  function SvgUnderline(props) {
38525
- return /*#__PURE__*/React.createElement("svg", _extends$1d({
38687
+ return /*#__PURE__*/React.createElement("svg", _extends$1e({
38526
38688
  width: 18,
38527
38689
  height: 18,
38528
38690
  viewBox: "0 0 18.01 18.01",
@@ -38539,7 +38701,7 @@ function SvgUnderline(props) {
38539
38701
  }))));
38540
38702
  }
38541
38703
 
38542
- var _templateObject$K, _templateObject2$F;
38704
+ var _templateObject$L, _templateObject2$G;
38543
38705
  function mergeRegister() {
38544
38706
  for (var _len = arguments.length, func = new Array(_len), _key = 0; _key < _len; _key++) {
38545
38707
  func[_key] = arguments[_key];
@@ -38920,10 +39082,10 @@ function FloatingTextFormatToolbarPlugin(_ref3) {
38920
39082
  editor = _useLexicalComposerCo[0];
38921
39083
  return useFloatingTextFormatToolbar(editor, anchorElem);
38922
39084
  }
38923
- var FloatingTextFormatPopup = styled__default.div(_templateObject$K || (_templateObject$K = _taggedTemplateLiteralLoose(["\n display: flex;\n background: ", ";\n vertical-align: middle;\n position: absolute;\n top: 0;\n left: 0;\n opacity: 0;\n box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);\n border-radius: 8px;\n transition: opacity 0.5s;\n padding: 12px;\n will-change: transform;\n z-index: 99;\n\n & button.popup-item {\n border: 0;\n display: flex;\n background: none;\n border-radius: 10px;\n padding: 8px;\n cursor: pointer;\n vertical-align: middle;\n }\n & button.popup-item:disabled {\n cursor: not-allowed;\n }\n & button.popup-item.spaced {\n margin-right: 2px;\n }\n & button.popup-item i.format {\n background-size: contain;\n height: 18px;\n width: 18px;\n margin-top: 2px;\n vertical-align: -0.25em;\n display: flex;\n opacity: 0.6;\n }\n\n & button.popup-item:disabled i.format {\n opacity: 0.2;\n }\n & button.popup-item.active {\n background-color: rgba(223, 232, 250, 0.3);\n }\n & button.popup-item.active i {\n opacity: 1;\n }\n & .popup-item:hover:not([disabled]) {\n background-color: #eee;\n }\n & select.popup-item {\n border: 0;\n display: flex;\n background: none;\n border-radius: 10px;\n padding: 8px;\n vertical-align: middle;\n -webkit-appearance: none;\n -moz-appearance: none;\n width: 70px;\n font-size: 14px;\n color: #777;\n text-overflow: ellipsis;\n }\n & select.code-language {\n text-transform: capitalize;\n width: 130px;\n }\n\n & .popup-item .text {\n display: flex;\n line-height: 20px;\n vertical-align: middle;\n font-size: 14px;\n color: #777;\n text-overflow: ellipsis;\n width: 70px;\n overflow: hidden;\n height: 20px;\n text-align: left;\n }\n\n & .popup-item .icon {\n display: flex;\n width: 20px;\n height: 20px;\n user-select: none;\n margin-right: 8px;\n line-height: 16px;\n background-size: contain;\n }\n & i.chevron-down {\n margin-top: 3px;\n width: 16px;\n height: 16px;\n display: flex;\n user-select: none;\n }\n & i.chevron-down.inside {\n width: 16px;\n height: 16px;\n display: flex;\n margin-left: -25px;\n margin-top: 11px;\n margin-right: 10px;\n pointer-events: none;\n }\n & .divider {\n width: 1px;\n background-color: #eee;\n margin: 0 4px;\n }\n @media (max-width: 1024px) {\n & button.insert-comment {\n display: none;\n }\n }\n"])), function (props) {
39085
+ var FloatingTextFormatPopup = styled__default.div(_templateObject$L || (_templateObject$L = _taggedTemplateLiteralLoose(["\n display: flex;\n background: ", ";\n vertical-align: middle;\n position: absolute;\n top: 0;\n left: 0;\n opacity: 0;\n box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);\n border-radius: 8px;\n transition: opacity 0.5s;\n padding: 12px;\n will-change: transform;\n z-index: 99;\n\n & button.popup-item {\n border: 0;\n display: flex;\n background: none;\n border-radius: 10px;\n padding: 8px;\n cursor: pointer;\n vertical-align: middle;\n }\n & button.popup-item:disabled {\n cursor: not-allowed;\n }\n & button.popup-item.spaced {\n margin-right: 2px;\n }\n & button.popup-item i.format {\n background-size: contain;\n height: 18px;\n width: 18px;\n margin-top: 2px;\n vertical-align: -0.25em;\n display: flex;\n opacity: 0.6;\n }\n\n & button.popup-item:disabled i.format {\n opacity: 0.2;\n }\n & button.popup-item.active {\n background-color: rgba(223, 232, 250, 0.3);\n }\n & button.popup-item.active i {\n opacity: 1;\n }\n & .popup-item:hover:not([disabled]) {\n background-color: #eee;\n }\n & select.popup-item {\n border: 0;\n display: flex;\n background: none;\n border-radius: 10px;\n padding: 8px;\n vertical-align: middle;\n -webkit-appearance: none;\n -moz-appearance: none;\n width: 70px;\n font-size: 14px;\n color: #777;\n text-overflow: ellipsis;\n }\n & select.code-language {\n text-transform: capitalize;\n width: 130px;\n }\n\n & .popup-item .text {\n display: flex;\n line-height: 20px;\n vertical-align: middle;\n font-size: 14px;\n color: #777;\n text-overflow: ellipsis;\n width: 70px;\n overflow: hidden;\n height: 20px;\n text-align: left;\n }\n\n & .popup-item .icon {\n display: flex;\n width: 20px;\n height: 20px;\n user-select: none;\n margin-right: 8px;\n line-height: 16px;\n background-size: contain;\n }\n & i.chevron-down {\n margin-top: 3px;\n width: 16px;\n height: 16px;\n display: flex;\n user-select: none;\n }\n & i.chevron-down.inside {\n width: 16px;\n height: 16px;\n display: flex;\n margin-left: -25px;\n margin-top: 11px;\n margin-right: 10px;\n pointer-events: none;\n }\n & .divider {\n width: 1px;\n background-color: #eee;\n margin: 0 4px;\n }\n @media (max-width: 1024px) {\n & button.insert-comment {\n display: none;\n }\n }\n"])), function (props) {
38924
39086
  return props.popupColor;
38925
39087
  });
38926
- var Action$1 = styled__default.button(_templateObject2$F || (_templateObject2$F = _taggedTemplateLiteralLoose(["\n border: 0;\n display: flex;\n background-color: inherit;\n vertical-align: middle;\n position: relative;\n padding: 3px;\n margin-right: 10px;\n //margin: 8px 6px;\n cursor: pointer;\n transition: all 0.2s;\n color: ", ";\n border-radius: 50%;\n ", "\n\n &:last-child {\n margin-right: 0;\n }\n\n &:hover {\n color: ", ";\n background-color: ", ";\n\n ", " {\n display: block;\n }\n }\n"])), function (props) {
39088
+ var Action$1 = styled__default.button(_templateObject2$G || (_templateObject2$G = _taggedTemplateLiteralLoose(["\n border: 0;\n display: flex;\n background-color: inherit;\n vertical-align: middle;\n position: relative;\n padding: 3px;\n margin-right: 10px;\n //margin: 8px 6px;\n cursor: pointer;\n transition: all 0.2s;\n color: ", ";\n border-radius: 50%;\n ", "\n\n &:last-child {\n margin-right: 0;\n }\n\n &:hover {\n color: ", ";\n background-color: ", ";\n\n ", " {\n display: block;\n }\n }\n"])), function (props) {
38927
39089
  return props.iconColor;
38928
39090
  }, function (props) {
38929
39091
  return props.isActive && "\n color: " + props.hoverIconColor + ";\n background-color: " + props.hoverBackgroundColor + ";\n ";
@@ -39246,7 +39408,7 @@ function FormatMessagePlugin(_ref) {
39246
39408
  return null;
39247
39409
  }
39248
39410
 
39249
- var _templateObject$L, _templateObject2$G, _templateObject3$z, _templateObject4$v, _templateObject5$q, _templateObject6$m, _templateObject7$k, _templateObject8$j;
39411
+ var _templateObject$M, _templateObject2$H, _templateObject3$A, _templateObject4$w, _templateObject5$r, _templateObject6$n, _templateObject7$l, _templateObject8$k;
39250
39412
  var EmojiIcon$1 = function EmojiIcon(_ref) {
39251
39413
  var collectionName = _ref.collectionName;
39252
39414
  switch (collectionName) {
@@ -39441,7 +39603,7 @@ function EmojisPopup$1(_ref2) {
39441
39603
  }));
39442
39604
  }))));
39443
39605
  }
39444
- var Container$j = styled__default.div(_templateObject$L || (_templateObject$L = _taggedTemplateLiteralLoose(["\n position: ", ";\n left: ", ";\n right: ", ";\n direction: ", ";\n bottom: ", ";\n width: 306px;\n border: ", ";\n box-sizing: border-box;\n box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);\n border-radius: ", ";\n background: ", ";\n z-index: 35;\n //transform: scaleY(0);\n height: 0;\n overflow: hidden;\n transform-origin: ", ";\n transition: all 0.2s ease-in-out;\n ", ";\n"])), function (props) {
39606
+ var Container$j = styled__default.div(_templateObject$M || (_templateObject$M = _taggedTemplateLiteralLoose(["\n position: ", ";\n left: ", ";\n right: ", ";\n direction: ", ";\n bottom: ", ";\n width: 306px;\n border: ", ";\n box-sizing: border-box;\n box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);\n border-radius: ", ";\n background: ", ";\n z-index: 35;\n //transform: scaleY(0);\n height: 0;\n overflow: hidden;\n transform-origin: ", ";\n transition: all 0.2s ease-in-out;\n ", ";\n"])), function (props) {
39445
39607
  return props.leftPosition ? 'fixed' : props.relativePosition ? 'relative' : 'absolute';
39446
39608
  }, function (props) {
39447
39609
  return props.rightSide ? "calc(" + props.leftPosition + " - 250px)" : props.leftPosition || (props.rtlDirection ? '' : props.rightSide ? '' : '5px');
@@ -39462,40 +39624,40 @@ var Container$j = styled__default.div(_templateObject$L || (_templateObject$L =
39462
39624
  }, function (props) {
39463
39625
  return props.rendered && "\n height: 225px;\n ";
39464
39626
  });
39465
- var EmojiHeader$1 = styled__default.div(_templateObject2$G || (_templateObject2$G = _taggedTemplateLiteralLoose(["\n align-items: flex-end;\n font-style: normal;\n font-weight: 500;\n font-size: 12px;\n line-height: 22px;\n text-transform: uppercase;\n color: ", ";\n display: flex;\n padding: ", ";\n"])), function (props) {
39627
+ var EmojiHeader$1 = styled__default.div(_templateObject2$H || (_templateObject2$H = _taggedTemplateLiteralLoose(["\n align-items: flex-end;\n font-style: normal;\n font-weight: 500;\n font-size: 12px;\n line-height: 22px;\n text-transform: uppercase;\n color: ", ";\n display: flex;\n padding: ", ";\n"])), function (props) {
39466
39628
  return props.color;
39467
39629
  }, function (props) {
39468
39630
  return props.padding || '6px 18px';
39469
39631
  });
39470
- var EmojiSection$1 = styled__default.div(_templateObject3$z || (_templateObject3$z = _taggedTemplateLiteralLoose(["\n height: 180px;\n overflow-x: hidden;\n\n & ::selection {\n color: inherit;\n background: inherit;\n }\n"])));
39471
- var EmojiCollection$1 = styled__default.span(_templateObject4$v || (_templateObject4$v = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n display: flex;\n justify-content: center;\n align-items: center;\n\n & > * {\n color: ", ";\n }\n"])), function (props) {
39632
+ var EmojiSection$1 = styled__default.div(_templateObject3$A || (_templateObject3$A = _taggedTemplateLiteralLoose(["\n height: 180px;\n overflow-x: hidden;\n\n & ::selection {\n color: inherit;\n background: inherit;\n }\n"])));
39633
+ var EmojiCollection$1 = styled__default.span(_templateObject4$w || (_templateObject4$w = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n display: flex;\n justify-content: center;\n align-items: center;\n\n & > * {\n color: ", ";\n }\n"])), function (props) {
39472
39634
  return props.iconColor;
39473
39635
  });
39474
- var CollectionPointer$1 = styled__default.span(_templateObject5$q || (_templateObject5$q = _taggedTemplateLiteralLoose([""])));
39475
- var AllEmojis$1 = styled__default.ul(_templateObject6$m || (_templateObject6$m = _taggedTemplateLiteralLoose(["\n overflow: hidden;\n padding: 0 8px 8px;\n margin: 0;\n"])));
39476
- var EmojiFooter$1 = styled__default.div(_templateObject7$k || (_templateObject7$k = _taggedTemplateLiteralLoose(["\n height: 42px;\n display: flex;\n justify-content: space-around;\n align-items: center;\n border-top: ", ";\n border-bottom: ", ";\n padding: 0 10px;\n & > span {\n width: 100%;\n text-align: center;\n }\n"])), function (props) {
39636
+ var CollectionPointer$1 = styled__default.span(_templateObject5$r || (_templateObject5$r = _taggedTemplateLiteralLoose([""])));
39637
+ var AllEmojis$1 = styled__default.ul(_templateObject6$n || (_templateObject6$n = _taggedTemplateLiteralLoose(["\n overflow: hidden;\n padding: 0 8px 8px;\n margin: 0;\n"])));
39638
+ var EmojiFooter$1 = styled__default.div(_templateObject7$l || (_templateObject7$l = _taggedTemplateLiteralLoose(["\n height: 42px;\n display: flex;\n justify-content: space-around;\n align-items: center;\n border-top: ", ";\n border-bottom: ", ";\n padding: 0 10px;\n & > span {\n width: 100%;\n text-align: center;\n }\n"])), function (props) {
39477
39639
  return props.emojisCategoryIconsPosition !== 'top' && "1px solid " + props.borderColor;
39478
39640
  }, function (props) {
39479
39641
  return props.emojisCategoryIconsPosition === 'top' && "1px solid " + props.borderColor;
39480
39642
  });
39481
- var Emoji$1 = styled__default.li(_templateObject8$j || (_templateObject8$j = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n width: 32px;\n height: 32px;\n margin: 0 2px;\n display: inline-block;\n box-sizing: border-box;\n border-radius: 50%;\n padding-top: 2px;\n text-align: center;\n background: transparent;\n font-family:\n apple color emoji,\n segoe ui emoji,\n noto color emoji,\n android emoji,\n emojisymbols,\n emojione mozilla,\n twemoji mozilla,\n segoe ui symbol;\n & > * {\n font-size: 22px;\n }\n &:hover {\n background: ", ";\n }\n"])), function (props) {
39643
+ var Emoji$1 = styled__default.li(_templateObject8$k || (_templateObject8$k = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n width: 32px;\n height: 32px;\n margin: 0 2px;\n display: inline-block;\n box-sizing: border-box;\n border-radius: 50%;\n padding-top: 2px;\n text-align: center;\n background: transparent;\n font-family:\n apple color emoji,\n segoe ui emoji,\n noto color emoji,\n android emoji,\n emojisymbols,\n emojione mozilla,\n twemoji mozilla,\n segoe ui symbol;\n & > * {\n font-size: 22px;\n }\n &:hover {\n background: ", ";\n }\n"])), function (props) {
39482
39644
  return props.hoverBackgroundColor;
39483
39645
  });
39484
39646
 
39485
39647
  var CAN_USE_DOM = typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined';
39486
39648
 
39487
- var _circle$6, _path$1a;
39488
- function _extends$1e() {
39489
- return _extends$1e = Object.assign ? Object.assign.bind() : function (n) {
39649
+ var _circle$6, _path$1b;
39650
+ function _extends$1f() {
39651
+ return _extends$1f = Object.assign ? Object.assign.bind() : function (n) {
39490
39652
  for (var e = 1; e < arguments.length; e++) {
39491
39653
  var t = arguments[e];
39492
39654
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
39493
39655
  }
39494
39656
  return n;
39495
- }, _extends$1e.apply(null, arguments);
39657
+ }, _extends$1f.apply(null, arguments);
39496
39658
  }
39497
39659
  function SvgSend(props) {
39498
- return /*#__PURE__*/React.createElement("svg", _extends$1e({
39660
+ return /*#__PURE__*/React.createElement("svg", _extends$1f({
39499
39661
  width: 32,
39500
39662
  height: 32,
39501
39663
  fill: "none",
@@ -39505,142 +39667,142 @@ function SvgSend(props) {
39505
39667
  cy: 16,
39506
39668
  r: 16,
39507
39669
  fill: "currentColor"
39508
- })), _path$1a || (_path$1a = /*#__PURE__*/React.createElement("path", {
39670
+ })), _path$1b || (_path$1b = /*#__PURE__*/React.createElement("path", {
39509
39671
  d: "M10.953 18.945c-.545 1.46-.888 2.485-1.028 3.076-.439 1.856-.758 2.274.879 1.392 1.637-.882 9.56-5.251 11.329-6.222 2.304-1.266 2.335-1.167-.124-2.511-1.873-1.024-9.704-5.279-11.205-6.115-1.501-.835-1.318-.464-.879 1.392.142.6.49 1.634 1.043 3.105a3.143 3.143 0 002.35 1.98l4.595.88a.079.079 0 010 .155l-4.606.88a3.143 3.143 0 00-2.354 1.988z",
39510
39672
  fill: "#fff"
39511
39673
  })));
39512
39674
  }
39513
39675
 
39514
- var _path$1b;
39515
- function _extends$1f() {
39516
- return _extends$1f = Object.assign ? Object.assign.bind() : function (n) {
39676
+ var _path$1c;
39677
+ function _extends$1g() {
39678
+ return _extends$1g = Object.assign ? Object.assign.bind() : function (n) {
39517
39679
  for (var e = 1; e < arguments.length; e++) {
39518
39680
  var t = arguments[e];
39519
39681
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
39520
39682
  }
39521
39683
  return n;
39522
- }, _extends$1f.apply(null, arguments);
39684
+ }, _extends$1g.apply(null, arguments);
39523
39685
  }
39524
39686
  function SvgEye(props) {
39525
- return /*#__PURE__*/React.createElement("svg", _extends$1f({
39687
+ return /*#__PURE__*/React.createElement("svg", _extends$1g({
39526
39688
  width: 25,
39527
39689
  height: 24,
39528
39690
  fill: "none",
39529
39691
  xmlns: "http://www.w3.org/2000/svg"
39530
- }, props), _path$1b || (_path$1b = /*#__PURE__*/React.createElement("path", {
39692
+ }, props), _path$1c || (_path$1c = /*#__PURE__*/React.createElement("path", {
39531
39693
  d: "M12.5 5c6 0 10 5.6 10 7 0 1.4-4 7-10 7s-10-5.6-10-7c0-1.4 4-7 10-7zm0 2a5 5 0 100 10 5 5 0 000-10zm.001 2.5a2.5 2.5 0 110 5 2.5 2.5 0 010-5z",
39532
39694
  fill: "CurrentColor"
39533
39695
  })));
39534
39696
  }
39535
39697
 
39536
- var _path$1c;
39537
- function _extends$1g() {
39538
- return _extends$1g = Object.assign ? Object.assign.bind() : function (n) {
39698
+ var _path$1d;
39699
+ function _extends$1h() {
39700
+ return _extends$1h = Object.assign ? Object.assign.bind() : function (n) {
39539
39701
  for (var e = 1; e < arguments.length; e++) {
39540
39702
  var t = arguments[e];
39541
39703
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
39542
39704
  }
39543
39705
  return n;
39544
- }, _extends$1g.apply(null, arguments);
39706
+ }, _extends$1h.apply(null, arguments);
39545
39707
  }
39546
39708
  function SvgAddAttachment(props) {
39547
- return /*#__PURE__*/React.createElement("svg", _extends$1g({
39709
+ return /*#__PURE__*/React.createElement("svg", _extends$1h({
39548
39710
  width: 24,
39549
39711
  height: 24,
39550
39712
  viewBox: "0 0 24.01 24.01",
39551
39713
  fill: "none",
39552
39714
  xmlns: "http://www.w3.org/2000/svg"
39553
- }, props), _path$1c || (_path$1c = /*#__PURE__*/React.createElement("path", {
39715
+ }, props), _path$1d || (_path$1d = /*#__PURE__*/React.createElement("path", {
39554
39716
  d: "M12 1.714c5.68 0 10.286 4.605 10.286 10.286 0 5.68-4.605 10.286-10.286 10.286C6.32 22.286 1.714 17.68 1.714 12 1.714 6.32 6.32 1.714 12 1.714zm0 1.715a8.571 8.571 0 100 17.143 8.571 8.571 0 000-17.143zm0 3.428c.473 0 .857.384.857.857v3.429h3.429a.857.857 0 010 1.714h-3.429v3.429a.857.857 0 11-1.714 0v-3.429H7.714a.857.857 0 110-1.714h3.429V7.714c0-.473.384-.857.857-.857z",
39555
39717
  fill: "CurrentColor"
39556
39718
  })));
39557
39719
  }
39558
39720
 
39559
- var _path$1d;
39560
- function _extends$1h() {
39561
- return _extends$1h = Object.assign ? Object.assign.bind() : function (n) {
39721
+ var _path$1e;
39722
+ function _extends$1i() {
39723
+ return _extends$1i = Object.assign ? Object.assign.bind() : function (n) {
39562
39724
  for (var e = 1; e < arguments.length; e++) {
39563
39725
  var t = arguments[e];
39564
39726
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
39565
39727
  }
39566
39728
  return n;
39567
- }, _extends$1h.apply(null, arguments);
39729
+ }, _extends$1i.apply(null, arguments);
39568
39730
  }
39569
39731
  function SvgErrorCircle(props) {
39570
- return /*#__PURE__*/React.createElement("svg", _extends$1h({
39732
+ return /*#__PURE__*/React.createElement("svg", _extends$1i({
39571
39733
  width: 25,
39572
39734
  height: 24,
39573
39735
  fill: "none",
39574
39736
  xmlns: "http://www.w3.org/2000/svg"
39575
- }, props), _path$1d || (_path$1d = /*#__PURE__*/React.createElement("path", {
39737
+ }, props), _path$1e || (_path$1e = /*#__PURE__*/React.createElement("path", {
39576
39738
  d: "M12.5 1.714c5.68 0 10.286 4.605 10.286 10.286 0 5.68-4.605 10.285-10.286 10.285C6.82 22.285 2.214 17.68 2.214 12 2.214 6.319 6.82 1.714 12.5 1.714zm0 1.714a8.571 8.571 0 100 17.143 8.571 8.571 0 000-17.143zm0 11.657a1.2 1.2 0 110 2.4 1.2 1.2 0 010-2.4zm.063-8.228c.204 0 .332.032.443.091.112.06.2.148.26.26.06.111.091.24.091.443v5.269c0 .204-.032.331-.091.443a.623.623 0 01-.26.26c-.111.059-.24.09-.443.09h-.126c-.204 0-.332-.031-.443-.09a.624.624 0 01-.26-.26c-.06-.112-.091-.24-.091-.443V7.65c0-.203.032-.33.091-.442.06-.112.148-.2.26-.26.111-.06.24-.091.443-.091h.126z",
39577
39739
  fill: "#FFB73D"
39578
39740
  })));
39579
39741
  }
39580
39742
 
39581
- var _path$1e;
39582
- function _extends$1i() {
39583
- return _extends$1i = Object.assign ? Object.assign.bind() : function (n) {
39743
+ var _path$1f;
39744
+ function _extends$1j() {
39745
+ return _extends$1j = Object.assign ? Object.assign.bind() : function (n) {
39584
39746
  for (var e = 1; e < arguments.length; e++) {
39585
39747
  var t = arguments[e];
39586
39748
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
39587
39749
  }
39588
39750
  return n;
39589
- }, _extends$1i.apply(null, arguments);
39751
+ }, _extends$1j.apply(null, arguments);
39590
39752
  }
39591
39753
  function SvgPlayRecord(props) {
39592
- return /*#__PURE__*/React.createElement("svg", _extends$1i({
39754
+ return /*#__PURE__*/React.createElement("svg", _extends$1j({
39593
39755
  width: 20,
39594
39756
  height: 20,
39595
39757
  viewBox: "0 0 20.01 20.01",
39596
39758
  fill: "none",
39597
39759
  xmlns: "http://www.w3.org/2000/svg"
39598
- }, props), _path$1e || (_path$1e = /*#__PURE__*/React.createElement("path", {
39760
+ }, props), _path$1f || (_path$1f = /*#__PURE__*/React.createElement("path", {
39599
39761
  d: "M16.28 8.913c.793.48.793 1.692 0 2.172l-8.265 4.997c-.787.475-1.765-.126-1.765-1.086V5.002c0-.96.979-1.561 1.765-1.086l8.265 4.997z",
39600
39762
  fill: "CurrentColor"
39601
39763
  })));
39602
39764
  }
39603
39765
 
39604
- var _path$1f;
39605
- function _extends$1j() {
39606
- return _extends$1j = Object.assign ? Object.assign.bind() : function (n) {
39766
+ var _path$1g;
39767
+ function _extends$1k() {
39768
+ return _extends$1k = Object.assign ? Object.assign.bind() : function (n) {
39607
39769
  for (var e = 1; e < arguments.length; e++) {
39608
39770
  var t = arguments[e];
39609
39771
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
39610
39772
  }
39611
39773
  return n;
39612
- }, _extends$1j.apply(null, arguments);
39774
+ }, _extends$1k.apply(null, arguments);
39613
39775
  }
39614
39776
  function SvgPauseRecord(props) {
39615
- return /*#__PURE__*/React.createElement("svg", _extends$1j({
39777
+ return /*#__PURE__*/React.createElement("svg", _extends$1k({
39616
39778
  width: 20,
39617
39779
  height: 20,
39618
39780
  viewBox: "0 0 20.01 20.01",
39619
39781
  fill: "none",
39620
39782
  xmlns: "http://www.w3.org/2000/svg"
39621
- }, props), _path$1f || (_path$1f = /*#__PURE__*/React.createElement("path", {
39783
+ }, props), _path$1g || (_path$1g = /*#__PURE__*/React.createElement("path", {
39622
39784
  d: "M7.468 3.75c.446 0 .607.046.77.134.163.087.291.215.378.378.088.163.134.324.134.77v9.936c0 .446-.046.607-.134.77a.908.908 0 01-.378.378c-.163.088-.324.134-.77.134H6.282c-.446 0-.607-.046-.77-.134a.908.908 0 01-.378-.378c-.088-.162-.134-.324-.134-.77V5.032c0-.446.046-.607.134-.77a.909.909 0 01.378-.378c.163-.088.324-.134.77-.134h1.186zm6.25 0c.446 0 .607.046.77.134.163.087.291.215.378.378.088.163.134.324.134.77v9.936c0 .446-.046.607-.134.77a.908.908 0 01-.378.378c-.162.088-.324.134-.77.134h-1.186c-.446 0-.607-.046-.77-.134a.908.908 0 01-.378-.378c-.088-.162-.134-.324-.134-.77V5.032c0-.446.046-.607.134-.77a.908.908 0 01.378-.378c.162-.088.324-.134.77-.134h1.186z",
39623
39785
  fill: "CurrentColor"
39624
39786
  })));
39625
39787
  }
39626
39788
 
39627
- var _path$1g;
39628
- function _extends$1k() {
39629
- return _extends$1k = Object.assign ? Object.assign.bind() : function (n) {
39789
+ var _path$1h;
39790
+ function _extends$1l() {
39791
+ return _extends$1l = Object.assign ? Object.assign.bind() : function (n) {
39630
39792
  for (var e = 1; e < arguments.length; e++) {
39631
39793
  var t = arguments[e];
39632
39794
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
39633
39795
  }
39634
39796
  return n;
39635
- }, _extends$1k.apply(null, arguments);
39797
+ }, _extends$1l.apply(null, arguments);
39636
39798
  }
39637
39799
  function SvgStopRecord(props) {
39638
- return /*#__PURE__*/React.createElement("svg", _extends$1k({
39800
+ return /*#__PURE__*/React.createElement("svg", _extends$1l({
39639
39801
  width: 20,
39640
39802
  height: 20,
39641
39803
  fill: "none",
39642
39804
  xmlns: "http://www.w3.org/2000/svg"
39643
- }, props), _path$1g || (_path$1g = /*#__PURE__*/React.createElement("path", {
39805
+ }, props), _path$1h || (_path$1h = /*#__PURE__*/React.createElement("path", {
39644
39806
  fillRule: "evenodd",
39645
39807
  clipRule: "evenodd",
39646
39808
  d: "M4.421 5.441c-.254.5-.254 1.153-.254 2.46v4.2c0 1.306 0 1.96.254 2.459.224.439.581.796 1.02 1.02.5.254 1.153.254 2.46.254h4.2c1.306 0 1.96 0 2.459-.255.439-.223.796-.58 1.02-1.02.254-.498.254-1.152.254-2.459V7.9c0-1.306 0-1.96-.255-2.459a2.333 2.333 0 00-1.02-1.02c-.498-.254-1.152-.254-2.459-.254H7.9c-1.306 0-1.96 0-2.459.254-.439.224-.796.581-1.02 1.02z",
@@ -39648,18 +39810,18 @@ function SvgStopRecord(props) {
39648
39810
  })));
39649
39811
  }
39650
39812
 
39651
- var _circle$7, _path$1h, _path2$8;
39652
- function _extends$1l() {
39653
- return _extends$1l = Object.assign ? Object.assign.bind() : function (n) {
39813
+ var _circle$7, _path$1i, _path2$9;
39814
+ function _extends$1m() {
39815
+ return _extends$1m = Object.assign ? Object.assign.bind() : function (n) {
39654
39816
  for (var e = 1; e < arguments.length; e++) {
39655
39817
  var t = arguments[e];
39656
39818
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
39657
39819
  }
39658
39820
  return n;
39659
- }, _extends$1l.apply(null, arguments);
39821
+ }, _extends$1m.apply(null, arguments);
39660
39822
  }
39661
39823
  function SvgRecordButton(props) {
39662
- return /*#__PURE__*/React.createElement("svg", _extends$1l({
39824
+ return /*#__PURE__*/React.createElement("svg", _extends$1m({
39663
39825
  width: 32,
39664
39826
  height: 32,
39665
39827
  viewBox: "0 0 32.01 32.01",
@@ -39670,16 +39832,16 @@ function SvgRecordButton(props) {
39670
39832
  cy: 16,
39671
39833
  r: 16,
39672
39834
  fill: "CurrentColor"
39673
- })), _path$1h || (_path$1h = /*#__PURE__*/React.createElement("path", {
39835
+ })), _path$1i || (_path$1i = /*#__PURE__*/React.createElement("path", {
39674
39836
  d: "M12.875 10.375a3.125 3.125 0 116.25 0v5a3.125 3.125 0 11-6.25 0v-5zM15.219 22.406a.781.781 0 111.562 0v1.563a.781.781 0 11-1.562 0v-1.563zM23.5 14.906a.781.781 0 11-1.563 0 .781.781 0 011.563 0zM10.063 14.906a.781.781 0 11-1.563 0 .781.781 0 011.563 0z",
39675
39837
  fill: "#fff"
39676
- })), _path2$8 || (_path2$8 = /*#__PURE__*/React.createElement("path", {
39838
+ })), _path2$9 || (_path2$9 = /*#__PURE__*/React.createElement("path", {
39677
39839
  d: "M16 22.25a7.5 7.5 0 007.5-7.5h-1.563a5.937 5.937 0 11-11.875 0H8.5a7.5 7.5 0 007.5 7.5z",
39678
39840
  fill: "#fff"
39679
39841
  })));
39680
39842
  }
39681
39843
 
39682
- var _templateObject$M, _templateObject2$H, _templateObject3$A, _templateObject4$w, _templateObject5$r, _templateObject6$n, _templateObject7$l;
39844
+ var _templateObject$N, _templateObject2$I, _templateObject3$B, _templateObject4$x, _templateObject5$s, _templateObject6$o, _templateObject7$m;
39683
39845
  var shouldDraw = false;
39684
39846
  var DEFAULT_MAX_RECORDING_DURATION = 600;
39685
39847
  var AudioRecord = function AudioRecord(_ref) {
@@ -40257,10 +40419,10 @@ var AudioRecord = function AudioRecord(_ref) {
40257
40419
  iconColor: accentColor
40258
40420
  }, showRecording || currentRecordedFile ? /*#__PURE__*/React__default.createElement(SvgSend, null) : /*#__PURE__*/React__default.createElement(SvgRecordButton, null)));
40259
40421
  };
40260
- var Container$k = styled__default.div(_templateObject$M || (_templateObject$M = _taggedTemplateLiteralLoose(["\n width: 32px;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n ", ";\n transition: all 0.3s ease-in-out;\n"])), function (props) {
40422
+ var Container$k = styled__default.div(_templateObject$N || (_templateObject$N = _taggedTemplateLiteralLoose(["\n width: 32px;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n ", ";\n transition: all 0.3s ease-in-out;\n"])), function (props) {
40261
40423
  return props.recording && "width: 400px";
40262
40424
  });
40263
- var AudioWrapper = styled__default.div(_templateObject2$H || (_templateObject2$H = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n align-items: center;\n height: 36px;\n width: ", ";\n overflow: hidden;\n margin: ", ";\n background-color: ", ";\n padding: ", ";\n border-radius: 20px;\n"])), function (props) {
40425
+ var AudioWrapper = styled__default.div(_templateObject2$I || (_templateObject2$I = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n align-items: center;\n height: 36px;\n width: ", ";\n overflow: hidden;\n margin: ", ";\n background-color: ", ";\n padding: ", ";\n border-radius: 20px;\n"])), function (props) {
40264
40426
  return props.recording ? 'calc(100% - 84px)' : '0';
40265
40427
  }, function (props) {
40266
40428
  return props.recording ? '0 8px' : '0';
@@ -40269,10 +40431,10 @@ var AudioWrapper = styled__default.div(_templateObject2$H || (_templateObject2$H
40269
40431
  }, function (props) {
40270
40432
  return props.recording ? '0 12px 0 0' : '0';
40271
40433
  });
40272
- var RecordIconWrapper = styled__default.span(_templateObject3$A || (_templateObject3$A = _taggedTemplateLiteralLoose(["\n display: flex;\n cursor: pointer;\n > svg {\n color: ", ";\n }\n"])), function (props) {
40434
+ var RecordIconWrapper = styled__default.span(_templateObject3$B || (_templateObject3$B = _taggedTemplateLiteralLoose(["\n display: flex;\n cursor: pointer;\n > svg {\n color: ", ";\n }\n"])), function (props) {
40273
40435
  return props.iconColor;
40274
40436
  });
40275
- var AudioVisualization$1 = styled__default.div(_templateObject4$w || (_templateObject4$w = _taggedTemplateLiteralLoose(["\n position: absolute;\n opacity: ", ";\n z-index: ", ";\n visibility: ", ";\n width: 300px;\n height: 28px;\n max-width: calc(100% - 100px);\n left: 40px;\n background-color: ", ";\n"])), function (_ref5) {
40437
+ var AudioVisualization$1 = styled__default.div(_templateObject4$x || (_templateObject4$x = _taggedTemplateLiteralLoose(["\n position: absolute;\n opacity: ", ";\n z-index: ", ";\n visibility: ", ";\n width: 300px;\n height: 28px;\n max-width: calc(100% - 100px);\n left: 40px;\n background-color: ", ";\n"])), function (_ref5) {
40276
40438
  var show = _ref5.show;
40277
40439
  return show ? '1' : '0';
40278
40440
  }, function (_ref6) {
@@ -40284,10 +40446,10 @@ var AudioVisualization$1 = styled__default.div(_templateObject4$w || (_templateO
40284
40446
  }, function (props) {
40285
40447
  return props.color;
40286
40448
  });
40287
- var PlayPause$1 = styled__default.div(_templateObject5$r || (_templateObject5$r = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n padding: 10px;\n > svg {\n color: ", ";\n }\n"])), function (props) {
40449
+ var PlayPause$1 = styled__default.div(_templateObject5$s || (_templateObject5$s = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n padding: 10px;\n > svg {\n color: ", ";\n }\n"])), function (props) {
40288
40450
  return props.iconColor;
40289
40451
  });
40290
- var Canvas = styled__default.canvas(_templateObject6$n || (_templateObject6$n = _taggedTemplateLiteralLoose(["\n height: 28px;\n width: ", ";\n max-width: calc(100% - 110px);\n position: absolute;\n opacity: ", ";\n z-index: ", ";\n left: 42px;\n"])), function (_ref8) {
40452
+ var Canvas = styled__default.canvas(_templateObject6$o || (_templateObject6$o = _taggedTemplateLiteralLoose(["\n height: 28px;\n width: ", ";\n max-width: calc(100% - 110px);\n position: absolute;\n opacity: ", ";\n z-index: ", ";\n left: 42px;\n"])), function (_ref8) {
40291
40453
  var recording = _ref8.recording;
40292
40454
  return recording ? '300px' : '0';
40293
40455
  }, function (_ref9) {
@@ -40297,14 +40459,14 @@ var Canvas = styled__default.canvas(_templateObject6$n || (_templateObject6$n =
40297
40459
  var hide = _ref0.hide;
40298
40460
  return hide && '-1';
40299
40461
  });
40300
- var Timer$2 = styled__default.div(_templateObject7$l || (_templateObject7$l = _taggedTemplateLiteralLoose(["\n width: 40px;\n font-weight: 400;\n font-size: 16px;\n line-height: 12px;\n color: ", ";\n margin-left: auto;\n"])), function (props) {
40462
+ var Timer$2 = styled__default.div(_templateObject7$m || (_templateObject7$m = _taggedTemplateLiteralLoose(["\n width: 40px;\n font-weight: 400;\n font-size: 16px;\n line-height: 12px;\n color: ", ";\n margin-left: auto;\n"])), function (props) {
40301
40463
  return props.color;
40302
40464
  });
40303
40465
 
40304
- var _templateObject$N, _templateObject2$I, _templateObject3$B;
40305
- var wave = styled.keyframes(_templateObject$N || (_templateObject$N = _taggedTemplateLiteralLoose(["\n 0%, 100% {\n transform: scaleY(0.5);\n opacity: 0.6;\n }\n 50% {\n transform: scaleY(1.2);\n opacity: 1;\n }\n"])));
40306
- var Wrapper = styled__default.div(_templateObject2$I || (_templateObject2$I = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: flex-end;\n height: 8px;\n gap: 1.5px;\n"])));
40307
- var Bar$1 = styled__default.span(_templateObject3$B || (_templateObject3$B = _taggedTemplateLiteralLoose(["\n display: block;\n width: 3px;\n height: 8px;\n border-radius: 2px;\n background: ", ";\n animation: ", " 1s infinite;\n animation-delay: ", "s;\n"])), function (props) {
40466
+ var _templateObject$O, _templateObject2$J, _templateObject3$C;
40467
+ var wave = styled.keyframes(_templateObject$O || (_templateObject$O = _taggedTemplateLiteralLoose(["\n 0%, 100% {\n transform: scaleY(0.5);\n opacity: 0.6;\n }\n 50% {\n transform: scaleY(1.2);\n opacity: 1;\n }\n"])));
40468
+ var Wrapper = styled__default.div(_templateObject2$J || (_templateObject2$J = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: flex-end;\n height: 8px;\n gap: 1.5px;\n"])));
40469
+ var Bar$1 = styled__default.span(_templateObject3$C || (_templateObject3$C = _taggedTemplateLiteralLoose(["\n display: block;\n width: 3px;\n height: 8px;\n border-radius: 2px;\n background: ", ";\n animation: ", " 1s infinite;\n animation-delay: ", "s;\n"])), function (props) {
40308
40470
  return props.borderColor;
40309
40471
  }, wave, function (_ref) {
40310
40472
  var delay = _ref.delay;
@@ -40330,29 +40492,29 @@ var RecordingAnimation = function RecordingAnimation(_ref2) {
40330
40492
  }));
40331
40493
  };
40332
40494
 
40333
- var _path$1i;
40334
- function _extends$1m() {
40335
- return _extends$1m = Object.assign ? Object.assign.bind() : function (n) {
40495
+ var _path$1j;
40496
+ function _extends$1n() {
40497
+ return _extends$1n = Object.assign ? Object.assign.bind() : function (n) {
40336
40498
  for (var e = 1; e < arguments.length; e++) {
40337
40499
  var t = arguments[e];
40338
40500
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
40339
40501
  }
40340
40502
  return n;
40341
- }, _extends$1m.apply(null, arguments);
40503
+ }, _extends$1n.apply(null, arguments);
40342
40504
  }
40343
40505
  function SvgDotsVertica(props) {
40344
- return /*#__PURE__*/React.createElement("svg", _extends$1m({
40506
+ return /*#__PURE__*/React.createElement("svg", _extends$1n({
40345
40507
  width: 16,
40346
40508
  height: 16,
40347
40509
  fill: "none",
40348
40510
  xmlns: "http://www.w3.org/2000/svg"
40349
- }, props), _path$1i || (_path$1i = /*#__PURE__*/React.createElement("path", {
40511
+ }, props), _path$1j || (_path$1j = /*#__PURE__*/React.createElement("path", {
40350
40512
  d: "M6.5 3a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM6.5 8a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM6.5 13a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM12.5 3a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM12.5 8a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM12.5 13a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0z",
40351
40513
  fill: "#757D8B"
40352
40514
  })));
40353
40515
  }
40354
40516
 
40355
- var _templateObject$O, _templateObject2$J, _templateObject3$C, _templateObject4$x, _templateObject5$s, _templateObject6$o, _templateObject7$m, _templateObject8$k;
40517
+ var _templateObject$P, _templateObject2$K, _templateObject3$D, _templateObject4$y, _templateObject5$t, _templateObject6$p, _templateObject7$n, _templateObject8$l;
40356
40518
  var CreatePollPopup = function CreatePollPopup(_ref) {
40357
40519
  var togglePopup = _ref.togglePopup,
40358
40520
  onCreate = _ref.onCreate;
@@ -40698,17 +40860,17 @@ var CreatePollPopup = function CreatePollPopup(_ref) {
40698
40860
  buttonText: 'Discard'
40699
40861
  })));
40700
40862
  };
40701
- var QuestionInputWrapper = styled__default.div(_templateObject$O || (_templateObject$O = _taggedTemplateLiteralLoose(["\n position: relative;\n"])));
40702
- var TextCounter = styled__default.span(_templateObject2$J || (_templateObject2$J = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 13px;\n right: 12px;\n font-size: 12px;\n color: ", ";\n"])), function (props) {
40863
+ var QuestionInputWrapper = styled__default.div(_templateObject$P || (_templateObject$P = _taggedTemplateLiteralLoose(["\n position: relative;\n"])));
40864
+ var TextCounter = styled__default.span(_templateObject2$K || (_templateObject2$K = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 13px;\n right: 12px;\n font-size: 12px;\n color: ", ";\n"])), function (props) {
40703
40865
  return props.color;
40704
40866
  });
40705
- var OptionsList$1 = styled__default.div(_templateObject3$C || (_templateObject3$C = _taggedTemplateLiteralLoose(["\n max-height: 240px;\n overflow-y: auto;\n margin-top: 8px;\n padding-right: 6px;\n"])));
40706
- var OptionRow = styled__default.div(_templateObject4$x || (_templateObject4$x = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: 8px;\n margin-top: 8px;\n cursor: grab;\n border: ", ";\n border-radius: 6px;\n padding: 4px;\n opacity: ", ";\n"])), function (props) {
40867
+ var OptionsList$1 = styled__default.div(_templateObject3$D || (_templateObject3$D = _taggedTemplateLiteralLoose(["\n max-height: 240px;\n overflow-y: auto;\n margin-top: 8px;\n padding-right: 6px;\n"])));
40868
+ var OptionRow = styled__default.div(_templateObject4$y || (_templateObject4$y = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: 8px;\n margin-top: 8px;\n cursor: grab;\n border: ", ";\n border-radius: 6px;\n padding: 4px;\n opacity: ", ";\n"])), function (props) {
40707
40869
  return props.isDragOver ? '1px dashed #A0A1B0' : '1px solid transparent';
40708
40870
  }, function (props) {
40709
40871
  return props.isDragging ? 0.6 : 1;
40710
40872
  });
40711
- var RemoveOptionIcon = styled__default(SvgClose)(_templateObject5$s || (_templateObject5$s = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n color: ", ";\n width: ", ";\n height: ", ";\n opacity: ", ";\n"])), function (props) {
40873
+ var RemoveOptionIcon = styled__default(SvgClose)(_templateObject5$t || (_templateObject5$t = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n color: ", ";\n width: ", ";\n height: ", ";\n opacity: ", ";\n"])), function (props) {
40712
40874
  return props.color;
40713
40875
  }, function (props) {
40714
40876
  return props.width;
@@ -40717,15 +40879,15 @@ var RemoveOptionIcon = styled__default(SvgClose)(_templateObject5$s || (_templat
40717
40879
  }, function (props) {
40718
40880
  return props.disabled ? 0.5 : 1;
40719
40881
  });
40720
- var AddOptionButton = styled__default.button(_templateObject6$o || (_templateObject6$o = _taggedTemplateLiteralLoose(["\n margin: 16px 0 0 0;\n background: transparent;\n border: none;\n color: ", ";\n cursor: pointer;\n width: 100%;\n text-align: left;\n padding-left: 32px;\n"])), function (props) {
40882
+ var AddOptionButton = styled__default.button(_templateObject6$p || (_templateObject6$p = _taggedTemplateLiteralLoose(["\n margin: 16px 0 0 0;\n background: transparent;\n border: none;\n color: ", ";\n cursor: pointer;\n width: 100%;\n text-align: left;\n padding-left: 32px;\n"])), function (props) {
40721
40883
  return props.color;
40722
40884
  });
40723
- var Settings = styled__default.div(_templateObject7$m || (_templateObject7$m = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n gap: 12px;\n margin-top: 8px;\n"])));
40724
- var SettingItem = styled__default.div(_templateObject8$k || (_templateObject8$k = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: 10px;\n color: ", ";\n"])), function (props) {
40885
+ var Settings = styled__default.div(_templateObject7$n || (_templateObject7$n = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n gap: 12px;\n margin-top: 8px;\n"])));
40886
+ var SettingItem = styled__default.div(_templateObject8$l || (_templateObject8$l = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: 10px;\n color: ", ";\n"])), function (props) {
40725
40887
  return props.color;
40726
40888
  });
40727
40889
 
40728
- var _templateObject$P, _templateObject2$K, _templateObject3$D, _templateObject4$y, _templateObject5$t, _templateObject6$p, _templateObject7$n, _templateObject8$l, _templateObject9$h, _templateObject0$g, _templateObject1$c, _templateObject10$6, _templateObject11$6, _templateObject12$5, _templateObject13$3, _templateObject14$2, _templateObject15$2, _templateObject16$2, _templateObject17$2, _templateObject18$2, _templateObject19$2, _templateObject20$2, _templateObject21$1, _templateObject22$1, _templateObject23$1, _templateObject24$1, _templateObject25$1, _templateObject26$1, _templateObject27$1, _templateObject28$1, _templateObject29$1, _templateObject30$1, _templateObject31$1, _templateObject32$1, _templateObject33$1, _templateObject34$1;
40890
+ var _templateObject$Q, _templateObject2$L, _templateObject3$E, _templateObject4$z, _templateObject5$u, _templateObject6$q, _templateObject7$o, _templateObject8$m, _templateObject9$i, _templateObject0$h, _templateObject1$d, _templateObject10$7, _templateObject11$6, _templateObject12$5, _templateObject13$3, _templateObject14$2, _templateObject15$2, _templateObject16$2, _templateObject17$2, _templateObject18$2, _templateObject19$2, _templateObject20$2, _templateObject21$1, _templateObject22$1, _templateObject23$1, _templateObject24$1, _templateObject25$1, _templateObject26$1, _templateObject27$1, _templateObject28$1, _templateObject29$1, _templateObject30$1, _templateObject31$1, _templateObject32$1, _templateObject33$1, _templateObject34$1;
40729
40891
  function AutoFocusPlugin(_ref) {
40730
40892
  var messageForReply = _ref.messageForReply;
40731
40893
  var _useLexicalComposerCo = LexicalComposerContext.useLexicalComposerContext(),
@@ -42347,10 +42509,10 @@ var SendMessageInput = function SendMessageInput(_ref3) {
42347
42509
  maxRecordingDuration: audioRecordingMaxDuration
42348
42510
  }))))))))));
42349
42511
  };
42350
- var SendMessageWrapper = styled__default.div(_templateObject$P || (_templateObject$P = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n position: relative;\n z-index: 100;\n"])), function (props) {
42512
+ var SendMessageWrapper = styled__default.div(_templateObject$Q || (_templateObject$Q = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n position: relative;\n z-index: 100;\n"])), function (props) {
42351
42513
  return props.backgroundColor;
42352
42514
  });
42353
- var Container$l = styled__default.div(_templateObject2$K || (_templateObject2$K = _taggedTemplateLiteralLoose(["\n margin: ", ";\n border: ", ";\n border-radius: ", ";\n position: relative;\n padding: ", ";\n z-index: 100;\n\n & span.rdw-suggestion-dropdown {\n position: absolute;\n bottom: 100%;\n height: 160px;\n min-width: 150px;\n display: flex;\n flex-direction: column;\n overflow: auto;\n padding: 6px 12px;\n border: 1px solid #ccc;\n background: #fff;\n z-index: 99;\n }\n\n & .text_formatting_toolbar {\n display: ", ";\n position: fixed;\n top: ", ";\n left: ", ";\n }\n\n & .rdw-suggestion-option-active {\n background-color: rgb(243, 245, 248);\n }\n\n & .custom_editor {\n cursor: text;\n\n & .rdw-mention-link {\n color: ", ";\n }\n }\n"])), function (props) {
42515
+ var Container$l = styled__default.div(_templateObject2$L || (_templateObject2$L = _taggedTemplateLiteralLoose(["\n margin: ", ";\n border: ", ";\n border-radius: ", ";\n position: relative;\n padding: ", ";\n z-index: 100;\n\n & span.rdw-suggestion-dropdown {\n position: absolute;\n bottom: 100%;\n height: 160px;\n min-width: 150px;\n display: flex;\n flex-direction: column;\n overflow: auto;\n padding: 6px 12px;\n border: 1px solid #ccc;\n background: #fff;\n z-index: 99;\n }\n\n & .text_formatting_toolbar {\n display: ", ";\n position: fixed;\n top: ", ";\n left: ", ";\n }\n\n & .rdw-suggestion-option-active {\n background-color: rgb(243, 245, 248);\n }\n\n & .custom_editor {\n cursor: text;\n\n & .rdw-mention-link {\n color: ", ";\n }\n }\n"])), function (props) {
42354
42516
  return props.margin || '30px 0 16px';
42355
42517
  }, function (props) {
42356
42518
  return props.border || '';
@@ -42367,7 +42529,7 @@ var Container$l = styled__default.div(_templateObject2$K || (_templateObject2$K
42367
42529
  }, function (props) {
42368
42530
  return props.mentionColor;
42369
42531
  });
42370
- var EditReplyMessageCont = styled__default.div(_templateObject3$D || (_templateObject3$D = _taggedTemplateLiteralLoose(["\n position: relative;\n left: ", ";\n bottom: ", ";\n width: ", ";\n border-radius: ", ";\n padding: ", ";\n font-weight: 400;\n font-size: 15px;\n line-height: 20px;\n letter-spacing: -0.2px;\n color: ", ";\n background-color: ", ";\n z-index: 19;\n box-sizing: content-box;\n"])), function (props) {
42532
+ var EditReplyMessageCont = styled__default.div(_templateObject3$E || (_templateObject3$E = _taggedTemplateLiteralLoose(["\n position: relative;\n left: ", ";\n bottom: ", ";\n width: ", ";\n border-radius: ", ";\n padding: ", ";\n font-weight: 400;\n font-size: 15px;\n line-height: 20px;\n letter-spacing: -0.2px;\n color: ", ";\n background-color: ", ";\n z-index: 19;\n box-sizing: content-box;\n"])), function (props) {
42371
42533
  return props.left || '0';
42372
42534
  }, function (props) {
42373
42535
  return props.bottom || '0';
@@ -42382,19 +42544,19 @@ var EditReplyMessageCont = styled__default.div(_templateObject3$D || (_templateO
42382
42544
  }, function (props) {
42383
42545
  return props.backgroundColor;
42384
42546
  });
42385
- var EditMessageText = styled__default.p(_templateObject4$y || (_templateObject4$y = _taggedTemplateLiteralLoose(["\n margin: 0;\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n word-break: break-word;\n"])));
42386
- var UploadErrorMessage = styled__default.p(_templateObject5$t || (_templateObject5$t = _taggedTemplateLiteralLoose(["\n margin: 0;\n position: absolute;\n top: -30px;\n color: ", ";\n"])), function (props) {
42547
+ var EditMessageText = styled__default.p(_templateObject4$z || (_templateObject4$z = _taggedTemplateLiteralLoose(["\n margin: 0;\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n word-break: break-word;\n"])));
42548
+ var UploadErrorMessage = styled__default.p(_templateObject5$u || (_templateObject5$u = _taggedTemplateLiteralLoose(["\n margin: 0;\n position: absolute;\n top: -30px;\n color: ", ";\n"])), function (props) {
42387
42549
  return props.color;
42388
42550
  });
42389
- var CloseEditMode = styled__default.span(_templateObject6$p || (_templateObject6$p = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 8px;\n right: 12px;\n width: 20px;\n height: 20px;\n text-align: center;\n line-height: 22px;\n cursor: pointer;\n\n & > svg {\n color: ", ";\n }\n"])), function (props) {
42551
+ var CloseEditMode = styled__default.span(_templateObject6$q || (_templateObject6$q = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 8px;\n right: 12px;\n width: 20px;\n height: 20px;\n text-align: center;\n line-height: 22px;\n cursor: pointer;\n\n & > svg {\n color: ", ";\n }\n"])), function (props) {
42390
42552
  return props.color;
42391
42553
  });
42392
- var UserName$1 = styled__default.span(_templateObject7$n || (_templateObject7$n = _taggedTemplateLiteralLoose(["\n font-weight: 500;\n margin-left: 4px;\n"])));
42393
- var ReplyMessageBody$1 = styled__default.div(_templateObject8$l || (_templateObject8$l = _taggedTemplateLiteralLoose(["\n word-break: break-word;\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n"])));
42394
- var EditReplyMessageHeader = styled__default.h4(_templateObject9$h || (_templateObject9$h = _taggedTemplateLiteralLoose(["\n display: flex;\n margin: 0 0 2px;\n font-weight: 400;\n font-size: 13px;\n line-height: 16px;\n color: ", ";\n\n > svg {\n margin-right: 4px;\n width: 16px;\n height: 16px;\n }\n"])), function (props) {
42554
+ var UserName$1 = styled__default.span(_templateObject7$o || (_templateObject7$o = _taggedTemplateLiteralLoose(["\n font-weight: 500;\n margin-left: 4px;\n"])));
42555
+ var ReplyMessageBody$1 = styled__default.div(_templateObject8$m || (_templateObject8$m = _taggedTemplateLiteralLoose(["\n word-break: break-word;\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n"])));
42556
+ var EditReplyMessageHeader = styled__default.h4(_templateObject9$i || (_templateObject9$i = _taggedTemplateLiteralLoose(["\n display: flex;\n margin: 0 0 2px;\n font-weight: 400;\n font-size: 13px;\n line-height: 16px;\n color: ", ";\n\n > svg {\n margin-right: 4px;\n width: 16px;\n height: 16px;\n }\n"])), function (props) {
42395
42557
  return props.color;
42396
42558
  });
42397
- var AddAttachmentIcon = styled__default.span(_templateObject0$g || (_templateObject0$g = _taggedTemplateLiteralLoose(["\n display: flex;\n height: ", ";\n align-items: center;\n margin: 0 8px;\n cursor: pointer;\n line-height: 13px;\n z-index: 2;\n order: ", ";\n\n > svg {\n ", ";\n width: 24px;\n }\n\n &:hover > svg {\n color: ", ";\n }\n"])), function (props) {
42559
+ var AddAttachmentIcon = styled__default.span(_templateObject0$h || (_templateObject0$h = _taggedTemplateLiteralLoose(["\n display: flex;\n height: ", ";\n align-items: center;\n margin: 0 8px;\n cursor: pointer;\n line-height: 13px;\n z-index: 2;\n order: ", ";\n\n > svg {\n ", ";\n width: 24px;\n }\n\n &:hover > svg {\n color: ", ";\n }\n"])), function (props) {
42398
42560
  return props.height ? props.height + "px" : '36px';
42399
42561
  }, function (props) {
42400
42562
  return props.order === 0 || props.order ? props.order : 1;
@@ -42403,14 +42565,14 @@ var AddAttachmentIcon = styled__default.span(_templateObject0$g || (_templateObj
42403
42565
  }, function (props) {
42404
42566
  return props.hoverColor;
42405
42567
  });
42406
- var SendMessageInputContainer = styled__default.div(_templateObject1$c || (_templateObject1$c = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: flex-end;\n justify-content: space-between;\n position: relative;\n min-height: ", ";\n box-sizing: border-box;\n border-radius: ", ";\n\n & .dropdown-trigger.open {\n color: #ccc;\n\n & ", " {\n & > svg {\n color: ", ";\n }\n ;\n }\n }\n}\n"])), function (props) {
42568
+ var SendMessageInputContainer = styled__default.div(_templateObject1$d || (_templateObject1$d = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: flex-end;\n justify-content: space-between;\n position: relative;\n min-height: ", ";\n box-sizing: border-box;\n border-radius: ", ";\n\n & .dropdown-trigger.open {\n color: #ccc;\n\n & ", " {\n & > svg {\n color: ", ";\n }\n ;\n }\n }\n}\n"])), function (props) {
42407
42569
  return props.minHeight || '36px';
42408
42570
  }, function (props) {
42409
42571
  return props.messageForReply ? '0 0 4px 4px' : '4px';
42410
42572
  }, AddAttachmentIcon, function (props) {
42411
42573
  return props.iconColor;
42412
42574
  });
42413
- var MessageInputWrapper = styled__default.div(_templateObject10$6 || (_templateObject10$6 = _taggedTemplateLiteralLoose(["\n display: flex;\n width: 100%;\n max-width: calc(100% - 50px);\n //max-width: ", ";\n //max-width: calc(100% - 110px);\n background-color: ", ";\n border-radius: ", ";\n position: relative;\n"])), function (props) {
42575
+ var MessageInputWrapper = styled__default.div(_templateObject10$7 || (_templateObject10$7 = _taggedTemplateLiteralLoose(["\n display: flex;\n width: 100%;\n max-width: calc(100% - 50px);\n //max-width: ", ";\n //max-width: calc(100% - 110px);\n background-color: ", ";\n border-radius: ", ";\n position: relative;\n"])), function (props) {
42414
42576
  return props.channelDetailsIsOpen ? "calc(100% - " + (props.channelDetailsIsOpen ? 362 : 0) + "px)" : '';
42415
42577
  }, function (props) {
42416
42578
  return props.backgroundColor;
@@ -42539,23 +42701,23 @@ var copyToClipboard = function copyToClipboard(text) {
42539
42701
  }
42540
42702
  };
42541
42703
 
42542
- var _path$1j;
42543
- function _extends$1n() {
42544
- return _extends$1n = Object.assign ? Object.assign.bind() : function (n) {
42704
+ var _path$1k;
42705
+ function _extends$1o() {
42706
+ return _extends$1o = Object.assign ? Object.assign.bind() : function (n) {
42545
42707
  for (var e = 1; e < arguments.length; e++) {
42546
42708
  var t = arguments[e];
42547
42709
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
42548
42710
  }
42549
42711
  return n;
42550
- }, _extends$1n.apply(null, arguments);
42712
+ }, _extends$1o.apply(null, arguments);
42551
42713
  }
42552
42714
  function SvgBottom(props) {
42553
- return /*#__PURE__*/React.createElement("svg", _extends$1n({
42715
+ return /*#__PURE__*/React.createElement("svg", _extends$1o({
42554
42716
  width: 12,
42555
42717
  height: 7,
42556
42718
  fill: "none",
42557
42719
  xmlns: "http://www.w3.org/2000/svg"
42558
- }, props), _path$1j || (_path$1j = /*#__PURE__*/React.createElement("path", {
42720
+ }, props), _path$1k || (_path$1k = /*#__PURE__*/React.createElement("path", {
42559
42721
  d: "M1.5 1.5l4.5 4 4.5-4",
42560
42722
  stroke: "#676A7C",
42561
42723
  strokeWidth: 1.4,
@@ -42564,50 +42726,50 @@ function SvgBottom(props) {
42564
42726
  })));
42565
42727
  }
42566
42728
 
42567
- var _path$1k, _path2$9;
42568
- function _extends$1o() {
42569
- return _extends$1o = Object.assign ? Object.assign.bind() : function (n) {
42729
+ var _path$1l, _path2$a;
42730
+ function _extends$1p() {
42731
+ return _extends$1p = Object.assign ? Object.assign.bind() : function (n) {
42570
42732
  for (var e = 1; e < arguments.length; e++) {
42571
42733
  var t = arguments[e];
42572
42734
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
42573
42735
  }
42574
42736
  return n;
42575
- }, _extends$1o.apply(null, arguments);
42737
+ }, _extends$1p.apply(null, arguments);
42576
42738
  }
42577
42739
  function SvgMarkAsUnRead(props) {
42578
- return /*#__PURE__*/React.createElement("svg", _extends$1o({
42740
+ return /*#__PURE__*/React.createElement("svg", _extends$1p({
42579
42741
  width: 20,
42580
42742
  height: 20,
42581
42743
  viewBox: "0 0 20.01 20.01",
42582
42744
  fill: "none",
42583
42745
  xmlns: "http://www.w3.org/2000/svg"
42584
- }, props), _path$1k || (_path$1k = /*#__PURE__*/React.createElement("path", {
42746
+ }, props), _path$1l || (_path$1l = /*#__PURE__*/React.createElement("path", {
42585
42747
  d: "M18.25 7.189v3.843c0 .673 0 1.224-.037 1.671-.037.464-.118.882-.317 1.273a3.25 3.25 0 01-1.42 1.42c-.391.2-.81.28-1.273.318-.447.036-.998.036-1.671.036h-2.129c-.55 0-.72.004-.878.036a1.752 1.752 0 00-.444.156c-.143.073-.279.177-.708.52l-2.01 1.608c-.154.124-.307.246-.441.335-.129.085-.366.228-.67.228-.356 0-.692-.16-.914-.438-.19-.239-.226-.513-.24-.667-.015-.16-.015-.356-.015-.554v-1.228c-.358-.01-.655-.034-.924-.107a3.25 3.25 0 01-2.298-2.298c-.111-.415-.111-.896-.111-1.566V6.469c0-.674 0-1.224.037-1.672.037-.463.118-.881.317-1.272a3.25 3.25 0 011.42-1.42c.391-.2.81-.28 1.273-.318.448-.037.998-.037 1.672-.037h6.342c-.19.464-.3.97-.31 1.5h-6c-.713 0-1.203 0-1.582.032-.37.03-.57.086-.713.159a1.75 1.75 0 00-.765.765c-.074.144-.13.343-.16.713-.03.38-.03.869-.03 1.581v5.167c0 .823.006 1.088.059 1.286a1.75 1.75 0 001.237 1.238c.199.053.463.06 1.286.06a.75.75 0 01.75.75v1.772L8.49 15.25c.355-.284.614-.492.91-.643.26-.133.538-.23.825-.29.324-.066.657-.066 1.112-.066H13.5c.713 0 1.202 0 1.581-.031.37-.03.57-.086.713-.16a1.75 1.75 0 00.765-.764c.074-.144.13-.343.16-.714.03-.38.031-.868.031-1.58V7.498c.53-.01 1.036-.12 1.5-.31z",
42586
42748
  fill: "currentColor"
42587
- })), _path2$9 || (_path2$9 = /*#__PURE__*/React.createElement("path", {
42749
+ })), _path2$a || (_path2$a = /*#__PURE__*/React.createElement("path", {
42588
42750
  d: "M5.833 6.334a.75.75 0 100 1.5H10a.75.75 0 000-1.5H5.833zM5.833 9.25a.75.75 0 100 1.5H12.5a.75.75 0 100-1.5H5.833zM19.167 3.333a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0z",
42589
42751
  fill: "currentColor"
42590
42752
  })));
42591
42753
  }
42592
42754
 
42593
- var _path$1l;
42594
- function _extends$1p() {
42595
- return _extends$1p = Object.assign ? Object.assign.bind() : function (n) {
42755
+ var _path$1m;
42756
+ function _extends$1q() {
42757
+ return _extends$1q = Object.assign ? Object.assign.bind() : function (n) {
42596
42758
  for (var e = 1; e < arguments.length; e++) {
42597
42759
  var t = arguments[e];
42598
42760
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
42599
42761
  }
42600
42762
  return n;
42601
- }, _extends$1p.apply(null, arguments);
42763
+ }, _extends$1q.apply(null, arguments);
42602
42764
  }
42603
42765
  function SvgMarkAsRead(props) {
42604
- return /*#__PURE__*/React.createElement("svg", _extends$1p({
42766
+ return /*#__PURE__*/React.createElement("svg", _extends$1q({
42605
42767
  width: 20,
42606
42768
  height: 20,
42607
42769
  viewBox: "0 0 20.01 20.01",
42608
42770
  fill: "none",
42609
42771
  xmlns: "http://www.w3.org/2000/svg"
42610
- }, props), _path$1l || (_path$1l = /*#__PURE__*/React.createElement("path", {
42772
+ }, props), _path$1m || (_path$1m = /*#__PURE__*/React.createElement("path", {
42611
42773
  fillRule: "evenodd",
42612
42774
  clipRule: "evenodd",
42613
42775
  d: "M6.469 1.75h7.062c.674 0 1.225 0 1.672.037.463.037.882.118 1.273.317a3.25 3.25 0 011.42 1.42c.199.391.28.81.317 1.273.037.448.037.998.037 1.672v4.562c0 .674 0 1.224-.037 1.672-.037.463-.118.882-.317 1.273a3.25 3.25 0 01-1.42 1.42c-.391.199-.81.28-1.273.317-.447.037-.998.037-1.671.037h-2.129c-.55 0-.72.004-.878.036a1.752 1.752 0 00-.444.156c-.143.073-.279.177-.708.52l-2.01 1.608a6.553 6.553 0 01-.441.334c-.129.085-.366.229-.67.23-.356 0-.692-.162-.914-.44-.19-.238-.226-.513-.24-.666-.015-.16-.015-.356-.015-.554v-1.229c-.358-.008-.655-.034-.924-.106a3.25 3.25 0 01-2.298-2.298c-.111-.415-.111-.896-.111-1.566V6.469c0-.674 0-1.224.037-1.672.037-.463.118-.882.317-1.272a3.25 3.25 0 011.42-1.42c.391-.2.81-.28 1.273-.318.448-.037.998-.037 1.672-.037zm-1.55 1.532c-.37.03-.57.085-.713.159a1.75 1.75 0 00-.765.765c-.074.144-.13.343-.16.713-.03.38-.03.869-.03 1.581v5.167c0 .823.006 1.087.059 1.286a1.75 1.75 0 001.237 1.237c.199.054.463.06 1.286.06a.75.75 0 01.75.75v1.773l1.853-1.482.053-.042c.355-.285.614-.492.91-.643.26-.133.538-.23.825-.29.324-.066.657-.066 1.112-.066H13.5c.713 0 1.202 0 1.581-.032.37-.03.57-.085.713-.159a1.75 1.75 0 00.765-.764c.074-.145.13-.344.16-.714.03-.38.031-.869.031-1.581V6.5c0-.712 0-1.202-.032-1.58-.03-.371-.085-.57-.159-.714a1.75 1.75 0 00-.765-.765c-.144-.074-.343-.13-.713-.16-.38-.03-.868-.031-1.58-.031h-7c-.713 0-1.203 0-1.582.032zm.164 3.801a.75.75 0 01.75-.75H10a.75.75 0 010 1.5H5.833a.75.75 0 01-.75-.75zm0 2.917a.75.75 0 01.75-.75H12.5a.75.75 0 010 1.5H5.833a.75.75 0 01-.75-.75z",
@@ -42615,23 +42777,23 @@ function SvgMarkAsRead(props) {
42615
42777
  })));
42616
42778
  }
42617
42779
 
42618
- var _path$1m;
42619
- function _extends$1q() {
42620
- return _extends$1q = Object.assign ? Object.assign.bind() : function (n) {
42780
+ var _path$1n;
42781
+ function _extends$1r() {
42782
+ return _extends$1r = Object.assign ? Object.assign.bind() : function (n) {
42621
42783
  for (var e = 1; e < arguments.length; e++) {
42622
42784
  var t = arguments[e];
42623
42785
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
42624
42786
  }
42625
42787
  return n;
42626
- }, _extends$1q.apply(null, arguments);
42788
+ }, _extends$1r.apply(null, arguments);
42627
42789
  }
42628
42790
  function SvgClear(props) {
42629
- return /*#__PURE__*/React.createElement("svg", _extends$1q({
42791
+ return /*#__PURE__*/React.createElement("svg", _extends$1r({
42630
42792
  width: 20,
42631
42793
  height: 21,
42632
42794
  fill: "none",
42633
42795
  xmlns: "http://www.w3.org/2000/svg"
42634
- }, props), _path$1m || (_path$1m = /*#__PURE__*/React.createElement("path", {
42796
+ }, props), _path$1n || (_path$1n = /*#__PURE__*/React.createElement("path", {
42635
42797
  fillRule: "evenodd",
42636
42798
  clipRule: "evenodd",
42637
42799
  d: "M10 3.833a6.667 6.667 0 100 13.333 6.667 6.667 0 000-13.333zm-8.333 6.666a8.333 8.333 0 1116.667 0 8.333 8.333 0 01-16.667 0zM6.911 7.41a.833.833 0 011.179 0L10 9.32l1.911-1.91A.833.833 0 0113.09 8.59l-1.911 1.91 1.91 1.911a.833.833 0 01-1.178 1.179l-1.91-1.911-1.911 1.91A.833.833 0 016.91 12.41l1.91-1.91-1.91-1.911a.833.833 0 010-1.179z",
@@ -42639,49 +42801,49 @@ function SvgClear(props) {
42639
42801
  })));
42640
42802
  }
42641
42803
 
42642
- var _path$1n;
42643
- function _extends$1r() {
42644
- return _extends$1r = Object.assign ? Object.assign.bind() : function (n) {
42804
+ var _path$1o;
42805
+ function _extends$1s() {
42806
+ return _extends$1s = Object.assign ? Object.assign.bind() : function (n) {
42645
42807
  for (var e = 1; e < arguments.length; e++) {
42646
42808
  var t = arguments[e];
42647
42809
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
42648
42810
  }
42649
42811
  return n;
42650
- }, _extends$1r.apply(null, arguments);
42812
+ }, _extends$1s.apply(null, arguments);
42651
42813
  }
42652
42814
  function SvgBlockChannel(props) {
42653
- return /*#__PURE__*/React.createElement("svg", _extends$1r({
42815
+ return /*#__PURE__*/React.createElement("svg", _extends$1s({
42654
42816
  width: 20,
42655
42817
  height: 21,
42656
42818
  viewBox: "0 0 20.01 21.01",
42657
42819
  fill: "none",
42658
42820
  xmlns: "http://www.w3.org/2000/svg"
42659
- }, props), _path$1n || (_path$1n = /*#__PURE__*/React.createElement("path", {
42821
+ }, props), _path$1o || (_path$1o = /*#__PURE__*/React.createElement("path", {
42660
42822
  d: "M10 2.167A8.336 8.336 0 001.667 10.5c0 4.6 3.733 8.334 8.333 8.334s8.333-3.734 8.333-8.334S14.6 2.167 10 2.167zm0 15A6.665 6.665 0 013.333 10.5c0-1.541.525-2.958 1.409-4.083l9.341 9.342A6.586 6.586 0 0110 17.167zm5.258-2.583L5.917 5.242A6.585 6.585 0 0110 3.834a6.665 6.665 0 016.667 6.666 6.586 6.586 0 01-1.409 4.084z",
42661
42823
  fill: "CurrentColor"
42662
42824
  })));
42663
42825
  }
42664
42826
 
42665
- var _path$1o, _path2$a;
42666
- function _extends$1s() {
42667
- return _extends$1s = Object.assign ? Object.assign.bind() : function (n) {
42827
+ var _path$1p, _path2$b;
42828
+ function _extends$1t() {
42829
+ return _extends$1t = Object.assign ? Object.assign.bind() : function (n) {
42668
42830
  for (var e = 1; e < arguments.length; e++) {
42669
42831
  var t = arguments[e];
42670
42832
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
42671
42833
  }
42672
42834
  return n;
42673
- }, _extends$1s.apply(null, arguments);
42835
+ }, _extends$1t.apply(null, arguments);
42674
42836
  }
42675
42837
  function SvgReport(props) {
42676
- return /*#__PURE__*/React.createElement("svg", _extends$1s({
42838
+ return /*#__PURE__*/React.createElement("svg", _extends$1t({
42677
42839
  width: 20,
42678
42840
  height: 21,
42679
42841
  fill: "none",
42680
42842
  xmlns: "http://www.w3.org/2000/svg"
42681
- }, props), _path$1o || (_path$1o = /*#__PURE__*/React.createElement("path", {
42843
+ }, props), _path$1p || (_path$1p = /*#__PURE__*/React.createElement("path", {
42682
42844
  d: "M9.096 10.402a.882.882 0 011.765 0v3.627a.882.882 0 11-1.765 0v-3.627zM9.979 6.088a.98.98 0 100 1.96.98.98 0 000-1.96z",
42683
42845
  fill: "CurrentColor"
42684
- })), _path2$a || (_path2$a = /*#__PURE__*/React.createElement("path", {
42846
+ })), _path2$b || (_path2$b = /*#__PURE__*/React.createElement("path", {
42685
42847
  fillRule: "evenodd",
42686
42848
  clipRule: "evenodd",
42687
42849
  d: "M10 17.27A6.77 6.77 0 1010 3.73a6.77 6.77 0 000 13.542zm0 1.563a8.333 8.333 0 100-16.667 8.333 8.333 0 000 16.667z",
@@ -42689,52 +42851,52 @@ function SvgReport(props) {
42689
42851
  })));
42690
42852
  }
42691
42853
 
42692
- var _path$1p;
42693
- function _extends$1t() {
42694
- return _extends$1t = Object.assign ? Object.assign.bind() : function (n) {
42854
+ var _path$1q;
42855
+ function _extends$1u() {
42856
+ return _extends$1u = Object.assign ? Object.assign.bind() : function (n) {
42695
42857
  for (var e = 1; e < arguments.length; e++) {
42696
42858
  var t = arguments[e];
42697
42859
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
42698
42860
  }
42699
42861
  return n;
42700
- }, _extends$1t.apply(null, arguments);
42862
+ }, _extends$1u.apply(null, arguments);
42701
42863
  }
42702
42864
  function SvgStar(props) {
42703
- return /*#__PURE__*/React.createElement("svg", _extends$1t({
42865
+ return /*#__PURE__*/React.createElement("svg", _extends$1u({
42704
42866
  width: 20,
42705
42867
  height: 20,
42706
42868
  fill: "none",
42707
42869
  xmlns: "http://www.w3.org/2000/svg"
42708
- }, props), _path$1p || (_path$1p = /*#__PURE__*/React.createElement("path", {
42870
+ }, props), _path$1q || (_path$1q = /*#__PURE__*/React.createElement("path", {
42709
42871
  d: "M12.888 7.002l3.823.367c1.33.128 1.739 1.43.711 2.285l-2.993 2.49 1.111 4.06c.365 1.332-.767 2.14-1.901 1.337l-3.637-2.573-3.637 2.573c-1.13.799-2.267-.005-1.902-1.338l1.111-4.058-2.993-2.491c-1.032-.86-.625-2.156.711-2.285l3.823-.367 1.684-3.889c.528-1.217 1.878-1.217 2.405 0l1.684 3.889z",
42710
42872
  fill: "#B2B6BE"
42711
42873
  })));
42712
42874
  }
42713
42875
 
42714
- var _path$1q;
42715
- function _extends$1u() {
42716
- return _extends$1u = Object.assign ? Object.assign.bind() : function (n) {
42876
+ var _path$1r;
42877
+ function _extends$1v() {
42878
+ return _extends$1v = Object.assign ? Object.assign.bind() : function (n) {
42717
42879
  for (var e = 1; e < arguments.length; e++) {
42718
42880
  var t = arguments[e];
42719
42881
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
42720
42882
  }
42721
42883
  return n;
42722
- }, _extends$1u.apply(null, arguments);
42884
+ }, _extends$1v.apply(null, arguments);
42723
42885
  }
42724
42886
  function SvgUnpin(props) {
42725
- return /*#__PURE__*/React.createElement("svg", _extends$1u({
42887
+ return /*#__PURE__*/React.createElement("svg", _extends$1v({
42726
42888
  width: 20,
42727
42889
  height: 21,
42728
42890
  viewBox: "0 0 20.01 21.01",
42729
42891
  fill: "none",
42730
42892
  xmlns: "http://www.w3.org/2000/svg"
42731
- }, props), _path$1q || (_path$1q = /*#__PURE__*/React.createElement("path", {
42893
+ }, props), _path$1r || (_path$1r = /*#__PURE__*/React.createElement("path", {
42732
42894
  d: "M8.74 6.616l1.09 1.089 2.995 2.996 1.09 1.088 3.557 3.559a.77.77 0 01-1.09 1.09l-3.365-3.366-.306 3.982a1.059 1.059 0 01-1.805.667l-3.504-3.504-4.356 4.356c-.726.726-1.816-.363-1.09-1.089l4.357-4.356L2.81 9.624a1.059 1.059 0 01.667-1.805l3.982-.306L4.06 4.115a.77.77 0 011.09-1.09l3.59 3.591zm1.634-1.634l.32-.32a.385.385 0 00.106-.197l.34-1.699a.77.77 0 011.3-.394l5.717 5.718a.77.77 0 01-.393 1.3l-1.7.34a.385.385 0 00-.196.105l-.32.32a.77.77 0 01-1.09-1.089l.32-.32c.27-.269.612-.452.985-.526l.288-.058-3.683-3.683-.058.288a1.926 1.926 0 01-.526.984l-.32.32a.77.77 0 11-1.09-1.089zM8.701 8.755a1.925 1.925 0 01-.849.272l-3.214.247 6.617 6.618.248-3.214c.023-.303.117-.593.272-.849L8.7 8.755z",
42733
42895
  fill: "CurrentColor"
42734
42896
  })));
42735
42897
  }
42736
42898
 
42737
- var _templateObject$Q, _templateObject2$L, _templateObject3$E, _templateObject4$z, _templateObject5$u, _templateObject6$q, _templateObject7$o, _templateObject8$m, _templateObject9$i, _templateObject0$h, _templateObject1$d, _templateObject10$7, _templateObject11$7, _templateObject12$6, _templateObject13$4, _templateObject14$3, _templateObject15$3, _templateObject16$3;
42899
+ var _templateObject$R, _templateObject2$M, _templateObject3$F, _templateObject4$A, _templateObject5$v, _templateObject6$r, _templateObject7$p, _templateObject8$n, _templateObject9$j, _templateObject0$i, _templateObject1$e, _templateObject10$8, _templateObject11$7, _templateObject12$6, _templateObject13$4, _templateObject14$3, _templateObject15$3, _templateObject16$3;
42738
42900
  var Actions = function Actions(_ref) {
42739
42901
  var setActionsHeight = _ref.setActionsHeight,
42740
42902
  channel = _ref.channel,
@@ -43198,22 +43360,22 @@ var Actions = function Actions(_ref) {
43198
43360
  title: popupTitle
43199
43361
  })));
43200
43362
  };
43201
- var Container$m = styled__default.div(_templateObject$Q || (_templateObject$Q = _taggedTemplateLiteralLoose(["\n padding: 10px 16px;\n border-bottom: 6px solid ", ";\n]"])), function (props) {
43363
+ var Container$m = styled__default.div(_templateObject$R || (_templateObject$R = _taggedTemplateLiteralLoose(["\n padding: 10px 16px;\n border-bottom: 6px solid ", ";\n]"])), function (props) {
43202
43364
  return props.borderColor;
43203
43365
  });
43204
- var ActionHeader = styled__default.div(_templateObject2$L || (_templateObject2$L = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin: 25px 0 22px;\n cursor: pointer;\n"])));
43205
- var MenuTriggerIcon = styled__default.span(_templateObject3$E || (_templateObject3$E = _taggedTemplateLiteralLoose(["\n transition: all 0.2s;\n ", "\n"])), function (props) {
43366
+ var ActionHeader = styled__default.div(_templateObject2$M || (_templateObject2$M = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin: 25px 0 22px;\n cursor: pointer;\n"])));
43367
+ var MenuTriggerIcon = styled__default.span(_templateObject3$F || (_templateObject3$F = _taggedTemplateLiteralLoose(["\n transition: all 0.2s;\n ", "\n"])), function (props) {
43206
43368
  return !props.isOpen && ' transform: rotate(-90deg);';
43207
43369
  });
43208
- var ActionsMenu = styled__default.ul(_templateObject4$z || (_templateObject4$z = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n margin: 0;\n padding: 0;\n list-style: none;\n transition: all 0.2s;\n"])));
43209
- var DefaultMutedIcon = styled__default(SvgUnmuteNotifications)(_templateObject5$u || (_templateObject5$u = _taggedTemplateLiteralLoose([""])));
43210
- var DefaultMuteIcon = styled__default(SvgNotifications)(_templateObject6$q || (_templateObject6$q = _taggedTemplateLiteralLoose([""])));
43211
- var DefaultStarIcon = styled__default(SvgStar)(_templateObject7$o || (_templateObject7$o = _taggedTemplateLiteralLoose([""])));
43212
- var DefaultUnpinIcon = styled__default(SvgUnpin)(_templateObject8$m || (_templateObject8$m = _taggedTemplateLiteralLoose([""])));
43213
- var DefaultPinIcon = styled__default(SvgPin)(_templateObject9$i || (_templateObject9$i = _taggedTemplateLiteralLoose([""])));
43214
- var DefaultMarkAsRead = styled__default(SvgMarkAsRead)(_templateObject0$h || (_templateObject0$h = _taggedTemplateLiteralLoose([""])));
43215
- var DefaultMarkAsUnRead = styled__default(SvgMarkAsUnRead)(_templateObject1$d || (_templateObject1$d = _taggedTemplateLiteralLoose([""])));
43216
- var DefaultBlockIcon = styled__default(SvgBlockChannel)(_templateObject10$7 || (_templateObject10$7 = _taggedTemplateLiteralLoose([""])));
43370
+ var ActionsMenu = styled__default.ul(_templateObject4$A || (_templateObject4$A = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n margin: 0;\n padding: 0;\n list-style: none;\n transition: all 0.2s;\n"])));
43371
+ var DefaultMutedIcon = styled__default(SvgUnmuteNotifications)(_templateObject5$v || (_templateObject5$v = _taggedTemplateLiteralLoose([""])));
43372
+ var DefaultMuteIcon = styled__default(SvgNotifications)(_templateObject6$r || (_templateObject6$r = _taggedTemplateLiteralLoose([""])));
43373
+ var DefaultStarIcon = styled__default(SvgStar)(_templateObject7$p || (_templateObject7$p = _taggedTemplateLiteralLoose([""])));
43374
+ var DefaultUnpinIcon = styled__default(SvgUnpin)(_templateObject8$n || (_templateObject8$n = _taggedTemplateLiteralLoose([""])));
43375
+ var DefaultPinIcon = styled__default(SvgPin)(_templateObject9$j || (_templateObject9$j = _taggedTemplateLiteralLoose([""])));
43376
+ var DefaultMarkAsRead = styled__default(SvgMarkAsRead)(_templateObject0$i || (_templateObject0$i = _taggedTemplateLiteralLoose([""])));
43377
+ var DefaultMarkAsUnRead = styled__default(SvgMarkAsUnRead)(_templateObject1$e || (_templateObject1$e = _taggedTemplateLiteralLoose([""])));
43378
+ var DefaultBlockIcon = styled__default(SvgBlockChannel)(_templateObject10$8 || (_templateObject10$8 = _taggedTemplateLiteralLoose([""])));
43217
43379
  var DefaultReportIcon = styled__default(SvgReport)(_templateObject11$7 || (_templateObject11$7 = _taggedTemplateLiteralLoose([""])));
43218
43380
  var DefaultClearIcon = styled__default(SvgClear)(_templateObject12$6 || (_templateObject12$6 = _taggedTemplateLiteralLoose([""])));
43219
43381
  var DefaultDeleteChannelIcon = styled__default(SvgDeleteChannel)(_templateObject13$4 || (_templateObject13$4 = _taggedTemplateLiteralLoose([""])));
@@ -43233,18 +43395,18 @@ var ActionItem = styled__default.li(_templateObject16$3 || (_templateObject16$3
43233
43395
  return props.hoverColor;
43234
43396
  });
43235
43397
 
43236
- var _rect$2, _rect2, _path$1r;
43237
- function _extends$1v() {
43238
- return _extends$1v = Object.assign ? Object.assign.bind() : function (n) {
43398
+ var _rect$2, _rect2, _path$1s;
43399
+ function _extends$1w() {
43400
+ return _extends$1w = Object.assign ? Object.assign.bind() : function (n) {
43239
43401
  for (var e = 1; e < arguments.length; e++) {
43240
43402
  var t = arguments[e];
43241
43403
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
43242
43404
  }
43243
43405
  return n;
43244
- }, _extends$1v.apply(null, arguments);
43406
+ }, _extends$1w.apply(null, arguments);
43245
43407
  }
43246
43408
  function SvgAddMember(props) {
43247
- return /*#__PURE__*/React.createElement("svg", _extends$1v({
43409
+ return /*#__PURE__*/React.createElement("svg", _extends$1w({
43248
43410
  width: 40,
43249
43411
  height: 40,
43250
43412
  viewBox: "0 0 40.01 40.01",
@@ -43264,35 +43426,35 @@ function SvgAddMember(props) {
43264
43426
  stroke: "#000",
43265
43427
  strokeOpacity: 0.08,
43266
43428
  strokeWidth: 0.5
43267
- })), _path$1r || (_path$1r = /*#__PURE__*/React.createElement("path", {
43429
+ })), _path$1s || (_path$1s = /*#__PURE__*/React.createElement("path", {
43268
43430
  d: "M20 12a1 1 0 011 1v6h6a1 1 0 110 2h-6v6a1 1 0 11-2 0l-.001-6H13a1 1 0 110-2h5.999L19 13a1 1 0 011-1z",
43269
43431
  fill: "CurrentColor"
43270
43432
  })));
43271
43433
  }
43272
43434
 
43273
- var _path$1s;
43274
- function _extends$1w() {
43275
- return _extends$1w = Object.assign ? Object.assign.bind() : function (n) {
43435
+ var _path$1t;
43436
+ function _extends$1x() {
43437
+ return _extends$1x = Object.assign ? Object.assign.bind() : function (n) {
43276
43438
  for (var e = 1; e < arguments.length; e++) {
43277
43439
  var t = arguments[e];
43278
43440
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
43279
43441
  }
43280
43442
  return n;
43281
- }, _extends$1w.apply(null, arguments);
43443
+ }, _extends$1x.apply(null, arguments);
43282
43444
  }
43283
43445
  function SvgMoreVert(props) {
43284
- return /*#__PURE__*/React.createElement("svg", _extends$1w({
43446
+ return /*#__PURE__*/React.createElement("svg", _extends$1x({
43285
43447
  width: 4,
43286
43448
  height: 14,
43287
43449
  fill: "none",
43288
43450
  xmlns: "http://www.w3.org/2000/svg"
43289
- }, props), _path$1s || (_path$1s = /*#__PURE__*/React.createElement("path", {
43451
+ }, props), _path$1t || (_path$1t = /*#__PURE__*/React.createElement("path", {
43290
43452
  d: "M.532 11.012c.355-.355.764-.533 1.228-.533.464 0 .874.178 1.228.533.355.354.532.764.532 1.228 0 .464-.177.873-.532 1.228-.354.355-.764.532-1.228.532-.464 0-.873-.177-1.228-.532C.177 13.113 0 12.704 0 12.24c0-.464.177-.873.532-1.228zm0-5.24c.355-.355.764-.532 1.228-.532.464 0 .874.177 1.228.532.355.355.532.764.532 1.228 0 .464-.177.873-.532 1.228-.354.355-.764.532-1.228.532-.464 0-.873-.177-1.228-.532C.177 7.873 0 7.464 0 7c0-.464.177-.873.532-1.228zm2.456-2.784c-.354.355-.764.532-1.228.532-.464 0-.873-.177-1.228-.532C.177 2.634 0 2.224 0 1.76 0 1.296.177.887.532.532.887.177 1.296 0 1.76 0c.464 0 .874.177 1.228.532.355.355.532.764.532 1.228 0 .464-.177.874-.532 1.228z",
43291
43453
  fill: "#9B9DA8"
43292
43454
  })));
43293
43455
  }
43294
43456
 
43295
- var _templateObject$R, _templateObject2$M, _templateObject3$F;
43457
+ var _templateObject$S, _templateObject2$N, _templateObject3$G;
43296
43458
  var ChangeMemberRole = function ChangeMemberRole(_ref) {
43297
43459
  var theme = _ref.theme,
43298
43460
  channelId = _ref.channelId,
@@ -43392,12 +43554,12 @@ var ChangeMemberRole = function ChangeMemberRole(_ref) {
43392
43554
  onClick: handleSave
43393
43555
  }, "Save"))));
43394
43556
  };
43395
- var RolesSelect = styled__default.div(_templateObject$R || (_templateObject$R = _taggedTemplateLiteralLoose(["\n margin-bottom: 32px;\n"])));
43396
- var RoleLabel = styled__default.div(_templateObject2$M || (_templateObject2$M = _taggedTemplateLiteralLoose(["\n font-style: normal;\n font-weight: 500;\n font-size: 14px;\n margin: 20px 0 8px;\n color: ", ";\n"])), function (_ref2) {
43557
+ var RolesSelect = styled__default.div(_templateObject$S || (_templateObject$S = _taggedTemplateLiteralLoose(["\n margin-bottom: 32px;\n"])));
43558
+ var RoleLabel = styled__default.div(_templateObject2$N || (_templateObject2$N = _taggedTemplateLiteralLoose(["\n font-style: normal;\n font-weight: 500;\n font-size: 14px;\n margin: 20px 0 8px;\n color: ", ";\n"])), function (_ref2) {
43397
43559
  var color = _ref2.color;
43398
43560
  return color;
43399
43561
  });
43400
- var RoleSpan = styled__default.span(_templateObject3$F || (_templateObject3$F = _taggedTemplateLiteralLoose(["\n font-style: normal;\n font-weight: normal;\n font-size: 14px;\n text-transform: capitalize;\n"])));
43562
+ var RoleSpan = styled__default.span(_templateObject3$G || (_templateObject3$G = _taggedTemplateLiteralLoose(["\n font-style: normal;\n font-weight: normal;\n font-size: 14px;\n text-transform: capitalize;\n"])));
43401
43563
 
43402
43564
  function ResetLinkConfirmModal(_ref) {
43403
43565
  var _getInviteLinkOptions;
@@ -43434,7 +43596,7 @@ function ResetLinkConfirmModal(_ref) {
43434
43596
  });
43435
43597
  }
43436
43598
 
43437
- var _templateObject$S, _templateObject2$N, _templateObject3$G, _templateObject4$A, _templateObject5$v, _templateObject6$r, _templateObject7$p, _templateObject8$n, _templateObject9$j, _templateObject0$i, _templateObject1$e, _templateObject10$8, _templateObject11$8, _templateObject12$7, _templateObject13$5;
43599
+ var _templateObject$T, _templateObject2$O, _templateObject3$H, _templateObject4$B, _templateObject5$w, _templateObject6$s, _templateObject7$q, _templateObject8$o, _templateObject9$k, _templateObject0$j, _templateObject1$f, _templateObject10$9, _templateObject11$8, _templateObject12$7, _templateObject13$5;
43438
43600
  function InviteLinkModal(_ref) {
43439
43601
  var _getInviteLinkOptions, _tabs$link, _tabs$qr, _tabs$link2, _tabs$qr2;
43440
43602
  var onClose = _ref.onClose,
@@ -43906,40 +44068,40 @@ function InviteLinkModal(_ref) {
43906
44068
  handleForward: handleForwardChannels
43907
44069
  })));
43908
44070
  }
43909
- var LogoIconCont = styled__default.div(_templateObject$S || (_templateObject$S = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: calc(50% - 11%);\n left: calc(50% - 11%);\n width: 22%;\n height: 22%;\n img {\n width: 100%;\n height: 100%;\n object-fit: contain;\n border-radius: 10px;\n }\n svg {\n width: 100%;\n height: 100%;\n object-fit: contain;\n border-radius: 10px;\n }\n"])));
43910
- var Tabs$1 = styled__default.div(_templateObject2$N || (_templateObject2$N = _taggedTemplateLiteralLoose(["\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: 8px;\n border-radius: 10px;\n background-color: ", ";\n padding: 2px;\n margin: 4px 0 16px;\n border: 1px solid ", ";\n"])), function (p) {
44071
+ var LogoIconCont = styled__default.div(_templateObject$T || (_templateObject$T = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: calc(50% - 11%);\n left: calc(50% - 11%);\n width: 22%;\n height: 22%;\n img {\n width: 100%;\n height: 100%;\n object-fit: contain;\n border-radius: 10px;\n }\n svg {\n width: 100%;\n height: 100%;\n object-fit: contain;\n border-radius: 10px;\n }\n"])));
44072
+ var Tabs$1 = styled__default.div(_templateObject2$O || (_templateObject2$O = _taggedTemplateLiteralLoose(["\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: 8px;\n border-radius: 10px;\n background-color: ", ";\n padding: 2px;\n margin: 4px 0 16px;\n border: 1px solid ", ";\n"])), function (p) {
43911
44073
  return p.backgroundColor;
43912
44074
  }, function (p) {
43913
44075
  return p.borderColor;
43914
44076
  });
43915
- var TabButton = styled__default.button(_templateObject3$G || (_templateObject3$G = _taggedTemplateLiteralLoose(["\n height: 36px;\n border: none;\n border-radius: 10px;\n cursor: pointer;\n background-color: ", ";\n ", "\n color: ", ";\n"])), function (p) {
44077
+ var TabButton = styled__default.button(_templateObject3$H || (_templateObject3$H = _taggedTemplateLiteralLoose(["\n height: 36px;\n border: none;\n border-radius: 10px;\n cursor: pointer;\n background-color: ", ";\n ", "\n color: ", ";\n"])), function (p) {
43916
44078
  return p.active ? p.activeBackgroundColor : p.backgroundColor;
43917
44079
  }, function (p) {
43918
44080
  return p.active && "\n box-shadow: 0px 3px 6px -4px #0000001F;\n ";
43919
44081
  }, function (p) {
43920
44082
  return p.active ? p.activeColor : p.inactiveColor;
43921
44083
  });
43922
- var Description = styled__default.p(_templateObject4$A || (_templateObject4$A = _taggedTemplateLiteralLoose(["\n margin: 8px 0 16px;\n font-size: 14px;\n line-height: 16px;\n color: ", ";\n"])), function (p) {
44084
+ var Description = styled__default.p(_templateObject4$B || (_templateObject4$B = _taggedTemplateLiteralLoose(["\n margin: 8px 0 16px;\n font-size: 14px;\n line-height: 16px;\n color: ", ";\n"])), function (p) {
43923
44085
  return p.color;
43924
44086
  });
43925
- var FieldLabel = styled__default.span(_templateObject5$v || (_templateObject5$v = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n line-height: 16px;\n color: ", ";\n"])), function (p) {
44087
+ var FieldLabel = styled__default.span(_templateObject5$w || (_templateObject5$w = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n line-height: 16px;\n color: ", ";\n"])), function (p) {
43926
44088
  return p.color;
43927
44089
  });
43928
- var LinkField = styled__default.div(_templateObject6$r || (_templateObject6$r = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n border: 1px solid ", ";\n border-radius: 8px;\n margin-top: 8px;\n padding-left: 12px;\n background-color: ", ";\n"])), function (p) {
44090
+ var LinkField = styled__default.div(_templateObject6$s || (_templateObject6$s = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n border: 1px solid ", ";\n border-radius: 8px;\n margin-top: 8px;\n padding-left: 12px;\n background-color: ", ";\n"])), function (p) {
43929
44091
  return p.borderColor;
43930
44092
  }, function (p) {
43931
44093
  return p.backgroundColor;
43932
44094
  });
43933
- var LinkInput = styled__default.input(_templateObject7$p || (_templateObject7$p = _taggedTemplateLiteralLoose(["\n flex: 1;\n border: none;\n outline: none;\n height: 40px;\n background: transparent;\n color: ", ";\n font-size: 14px;\n"])), function (p) {
44095
+ var LinkInput = styled__default.input(_templateObject7$q || (_templateObject7$q = _taggedTemplateLiteralLoose(["\n flex: 1;\n border: none;\n outline: none;\n height: 40px;\n background: transparent;\n color: ", ";\n font-size: 14px;\n"])), function (p) {
43934
44096
  return p.color;
43935
44097
  });
43936
- var CopyButton = styled__default.button(_templateObject8$n || (_templateObject8$n = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 40px;\n height: 40px;\n border: none;\n background: transparent;\n cursor: pointer;\n"])));
43937
- var CopyButtonWrapper = styled__default.div(_templateObject9$j || (_templateObject9$j = _taggedTemplateLiteralLoose(["\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n"])));
43938
- var SectionTitle = styled__default.h4(_templateObject0$i || (_templateObject0$i = _taggedTemplateLiteralLoose(["\n margin: 16px 0 8px;\n font-weight: 500;\n font-size: 15px;\n line-height: 16px;\n color: ", ";\n"])), function (p) {
44098
+ var CopyButton = styled__default.button(_templateObject8$o || (_templateObject8$o = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 40px;\n height: 40px;\n border: none;\n background: transparent;\n cursor: pointer;\n"])));
44099
+ var CopyButtonWrapper = styled__default.div(_templateObject9$k || (_templateObject9$k = _taggedTemplateLiteralLoose(["\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n"])));
44100
+ var SectionTitle = styled__default.h4(_templateObject0$j || (_templateObject0$j = _taggedTemplateLiteralLoose(["\n margin: 16px 0 8px;\n font-weight: 500;\n font-size: 15px;\n line-height: 16px;\n color: ", ";\n"])), function (p) {
43939
44101
  return p.color;
43940
44102
  });
43941
- var HistoryRow = styled__default.div(_templateObject1$e || (_templateObject1$e = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 12px;\n"])));
43942
- var Switch = styled__default.div(_templateObject10$8 || (_templateObject10$8 = _taggedTemplateLiteralLoose(["\n width: 44px;\n height: 26px;\n border-radius: 13px;\n background: ", ";\n position: relative;\n cursor: pointer;\n transition: background 0.2s ease;\n\n &:after {\n content: '';\n position: absolute;\n top: 3px;\n left: ", ";\n width: 20px;\n height: 20px;\n background: #fff;\n border-radius: 50%;\n transition: left 0.2s ease;\n }\n"])), function (p) {
44103
+ var HistoryRow = styled__default.div(_templateObject1$f || (_templateObject1$f = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 12px;\n"])));
44104
+ var Switch = styled__default.div(_templateObject10$9 || (_templateObject10$9 = _taggedTemplateLiteralLoose(["\n width: 44px;\n height: 26px;\n border-radius: 13px;\n background: ", ";\n position: relative;\n cursor: pointer;\n transition: background 0.2s ease;\n\n &:after {\n content: '';\n position: absolute;\n top: 3px;\n left: ", ";\n width: 20px;\n height: 20px;\n background: #fff;\n border-radius: 50%;\n transition: left 0.2s ease;\n }\n"])), function (p) {
43943
44105
  return p.active ? p.accent : 'rgba(226,226,226,1)';
43944
44106
  }, function (p) {
43945
44107
  return p.active ? '22px' : '3px';
@@ -43954,7 +44116,7 @@ var QrHint = styled__default.p(_templateObject13$5 || (_templateObject13$5 = _ta
43954
44116
  return p.color;
43955
44117
  });
43956
44118
 
43957
- var _templateObject$T, _templateObject2$O, _templateObject3$H, _templateObject4$B, _templateObject5$w, _templateObject6$s, _templateObject7$q, _templateObject8$o, _templateObject9$k;
44119
+ var _templateObject$U, _templateObject2$P, _templateObject3$I, _templateObject4$C, _templateObject5$x, _templateObject6$t, _templateObject7$r, _templateObject8$p, _templateObject9$l;
43958
44120
  var Members = function Members(_ref) {
43959
44121
  var _members$find;
43960
44122
  var channel = _ref.channel,
@@ -44276,18 +44438,18 @@ var Members = function Members(_ref) {
44276
44438
  channelId: channel.id
44277
44439
  })));
44278
44440
  };
44279
- var Container$n = styled__default.div(_templateObject$T || (_templateObject$T = _taggedTemplateLiteralLoose([""])));
44280
- var ActionsMenu$1 = styled__default.div(_templateObject2$O || (_templateObject2$O = _taggedTemplateLiteralLoose(["\n position: relative;\n transition: all 0.2s;\n"])));
44281
- var MemberNamePresence = styled__default.div(_templateObject3$H || (_templateObject3$H = _taggedTemplateLiteralLoose(["\n margin-left: 12px;\n max-width: calc(100% - 84px);\n\n & > ", " {\n display: block;\n }\n"])), SubTitle);
44282
- var MemberNameWrapper = styled__default.div(_templateObject4$B || (_templateObject4$B = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n"])));
44283
- var MemberName$3 = styled__default.h4(_templateObject5$w || (_templateObject5$w = _taggedTemplateLiteralLoose(["\n margin: 0;\n font-weight: 400;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n color: ", ";\n"])), function (props) {
44441
+ var Container$n = styled__default.div(_templateObject$U || (_templateObject$U = _taggedTemplateLiteralLoose([""])));
44442
+ var ActionsMenu$1 = styled__default.div(_templateObject2$P || (_templateObject2$P = _taggedTemplateLiteralLoose(["\n position: relative;\n transition: all 0.2s;\n"])));
44443
+ var MemberNamePresence = styled__default.div(_templateObject3$I || (_templateObject3$I = _taggedTemplateLiteralLoose(["\n margin-left: 12px;\n max-width: calc(100% - 84px);\n\n & > ", " {\n display: block;\n }\n"])), SubTitle);
44444
+ var MemberNameWrapper = styled__default.div(_templateObject4$C || (_templateObject4$C = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n"])));
44445
+ var MemberName$3 = styled__default.h4(_templateObject5$x || (_templateObject5$x = _taggedTemplateLiteralLoose(["\n margin: 0;\n font-weight: 400;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n color: ", ";\n"])), function (props) {
44284
44446
  return props.color;
44285
44447
  });
44286
- var EditMemberIcon = styled__default.span(_templateObject6$s || (_templateObject6$s = _taggedTemplateLiteralLoose(["\n margin-left: auto;\n cursor: pointer;\n padding: 15px;\n opacity: 0;\n visibility: hidden;\n transition: all 0.2s;\n\n & svg {\n color: ", ";\n }\n"])), function (props) {
44448
+ var EditMemberIcon = styled__default.span(_templateObject6$t || (_templateObject6$t = _taggedTemplateLiteralLoose(["\n margin-left: auto;\n cursor: pointer;\n padding: 15px;\n opacity: 0;\n visibility: hidden;\n transition: all 0.2s;\n\n & svg {\n color: ", ";\n }\n"])), function (props) {
44287
44449
  return props.color;
44288
44450
  });
44289
- var MembersList = styled__default.ul(_templateObject7$q || (_templateObject7$q = _taggedTemplateLiteralLoose(["\n margin: 0;\n padding: 0;\n list-style: none;\n transition: all 0.2s;\n"])));
44290
- var MemberItem$1 = styled__default.li(_templateObject8$o || (_templateObject8$o = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n font-size: ", ";\n font-weight: 500;\n padding: 6px 16px;\n transition: all 0.2s;\n color: ", ";\n cursor: pointer;\n\n & > svg {\n rect {\n fill: transparent;\n }\n }\n\n &:first-child {\n cursor: pointer;\n\n > svg {\n color: ", ";\n margin-right: 12px;\n & > rect {\n fill: ", " !important;\n }\n }\n }\n\n &:hover {\n background-color: ", ";\n }\n\n &:hover ", " {\n opacity: 1;\n visibility: visible;\n }\n\n & .dropdown-wrapper {\n margin-left: auto;\n }\n\n & ", " {\n width: 12px;\n height: 12px;\n right: -1px;\n bottom: -1px;\n }\n"])), function (props) {
44451
+ var MembersList = styled__default.ul(_templateObject7$r || (_templateObject7$r = _taggedTemplateLiteralLoose(["\n margin: 0;\n padding: 0;\n list-style: none;\n transition: all 0.2s;\n"])));
44452
+ var MemberItem$1 = styled__default.li(_templateObject8$p || (_templateObject8$p = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n font-size: ", ";\n font-weight: 500;\n padding: 6px 16px;\n transition: all 0.2s;\n color: ", ";\n cursor: pointer;\n\n & > svg {\n rect {\n fill: transparent;\n }\n }\n\n &:first-child {\n cursor: pointer;\n\n > svg {\n color: ", ";\n margin-right: 12px;\n & > rect {\n fill: ", " !important;\n }\n }\n }\n\n &:hover {\n background-color: ", ";\n }\n\n &:hover ", " {\n opacity: 1;\n visibility: visible;\n }\n\n & .dropdown-wrapper {\n margin-left: auto;\n }\n\n & ", " {\n width: 12px;\n height: 12px;\n right: -1px;\n bottom: -1px;\n }\n"])), function (props) {
44291
44453
  return props.fontSize || '15px';
44292
44454
  }, function (props) {
44293
44455
  return props.color;
@@ -44298,13 +44460,13 @@ var MemberItem$1 = styled__default.li(_templateObject8$o || (_templateObject8$o
44298
44460
  }, function (props) {
44299
44461
  return props.hoverBackground;
44300
44462
  }, EditMemberIcon, UserStatus);
44301
- var RoleBadge = styled__default.span(_templateObject9$k || (_templateObject9$k = _taggedTemplateLiteralLoose(["\n position: relative;\n padding: 2px 8px;\n border-radius: 12px;\n margin-left: 4px;\n font-weight: 500;\n font-size: 12px;\n line-height: 16px;\n color: ", ";\n\n &::after {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n border-radius: 12px;\n width: 100%;\n height: 100%;\n background-color: ", ";\n opacity: 0.1;\n }\n"])), function (props) {
44463
+ var RoleBadge = styled__default.span(_templateObject9$l || (_templateObject9$l = _taggedTemplateLiteralLoose(["\n position: relative;\n padding: 2px 8px;\n border-radius: 12px;\n margin-left: 4px;\n font-weight: 500;\n font-size: 12px;\n line-height: 16px;\n color: ", ";\n\n &::after {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n border-radius: 12px;\n width: 100%;\n height: 100%;\n background-color: ", ";\n opacity: 0.1;\n }\n"])), function (props) {
44302
44464
  return props.color;
44303
44465
  }, function (props) {
44304
44466
  return props.backgroundColor;
44305
44467
  });
44306
44468
 
44307
- var _templateObject$U, _templateObject2$P;
44469
+ var _templateObject$V, _templateObject2$Q;
44308
44470
  var Media = function Media(_ref) {
44309
44471
  var channel = _ref.channel;
44310
44472
  var _useColor = useColors(),
@@ -44350,21 +44512,21 @@ var Media = function Media(_ref) {
44350
44512
  currentMediaFile: mediaFile
44351
44513
  })));
44352
44514
  };
44353
- var Container$o = styled__default.div(_templateObject$U || (_templateObject$U = _taggedTemplateLiteralLoose(["\n padding: 6px 4px;\n overflow-x: hidden;\n overflow-y: auto;\n list-style: none;\n transition: all 0.2s;\n align-items: flex-start;\n display: flex;\n flex-wrap: wrap;\n"])));
44354
- var MediaItem = styled__default.div(_templateObject2$P || (_templateObject2$P = _taggedTemplateLiteralLoose(["\n width: calc(33.3333% - 4px);\n height: 110px;\n box-sizing: border-box;\n //border: 1px solid #ccc;\n border: 0.5px solid rgba(0, 0, 0, 0.1);\n border-radius: 8px;\n overflow: hidden;\n margin: 2px;\n"])));
44515
+ var Container$o = styled__default.div(_templateObject$V || (_templateObject$V = _taggedTemplateLiteralLoose(["\n padding: 6px 4px;\n overflow-x: hidden;\n overflow-y: auto;\n list-style: none;\n transition: all 0.2s;\n align-items: flex-start;\n display: flex;\n flex-wrap: wrap;\n"])));
44516
+ var MediaItem = styled__default.div(_templateObject2$Q || (_templateObject2$Q = _taggedTemplateLiteralLoose(["\n width: calc(33.3333% - 4px);\n height: 110px;\n box-sizing: border-box;\n //border: 1px solid #ccc;\n border: 0.5px solid rgba(0, 0, 0, 0.1);\n border-radius: 8px;\n overflow: hidden;\n margin: 2px;\n"])));
44355
44517
 
44356
- var _rect$3, _path$1t;
44357
- function _extends$1x() {
44358
- return _extends$1x = Object.assign ? Object.assign.bind() : function (n) {
44518
+ var _rect$3, _path$1u;
44519
+ function _extends$1y() {
44520
+ return _extends$1y = Object.assign ? Object.assign.bind() : function (n) {
44359
44521
  for (var e = 1; e < arguments.length; e++) {
44360
44522
  var t = arguments[e];
44361
44523
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
44362
44524
  }
44363
44525
  return n;
44364
- }, _extends$1x.apply(null, arguments);
44526
+ }, _extends$1y.apply(null, arguments);
44365
44527
  }
44366
44528
  function SvgFileIcon$1(props) {
44367
- return /*#__PURE__*/React.createElement("svg", _extends$1x({
44529
+ return /*#__PURE__*/React.createElement("svg", _extends$1y({
44368
44530
  width: 40,
44369
44531
  height: 40,
44370
44532
  fill: "none",
@@ -44376,7 +44538,7 @@ function SvgFileIcon$1(props) {
44376
44538
  rx: 8,
44377
44539
  fill: "currentColor",
44378
44540
  fillOpacity: 0.2
44379
- })), _path$1t || (_path$1t = /*#__PURE__*/React.createElement("path", {
44541
+ })), _path$1u || (_path$1u = /*#__PURE__*/React.createElement("path", {
44380
44542
  fillRule: "evenodd",
44381
44543
  clipRule: "evenodd",
44382
44544
  d: "M18.022 9.714c-2.098 0-3.023.185-3.962.687a4.685 4.685 0 00-1.944 1.944c-.502.94-.687 1.864-.687 3.962v7.386c0 2.098.184 3.023.687 3.962a4.686 4.686 0 001.944 1.944c.938.502 1.864.687 3.962.687h3.957c2.098 0 3.023-.185 3.962-.687a4.686 4.686 0 001.944-1.944c.502-.939.687-1.864.687-3.962v-5.1c0-.683-.024-.99-.105-1.34a3.097 3.097 0 00-.399-.964c-.19-.305-.391-.539-.874-1.022l-4.175-4.175c-.483-.483-.717-.683-1.022-.874a3.095 3.095 0 00-.964-.399c-.293-.068-.556-.095-1.033-.103v-.002h-1.978zm0 1.715c-2.002 0-2.587.181-3.154.484a2.971 2.971 0 00-1.24 1.24c-.304.567-.485 1.153-.485 3.154v7.386c0 2.001.181 2.587.484 3.153.288.538.704.954 1.241 1.241.566.303 1.152.485 3.154.485h3.957c2.001 0 2.587-.182 3.153-.485a2.971 2.971 0 001.241-1.24c.303-.567.484-1.153.484-3.154v-5.1c0-.117 0-.219-.002-.308h-4.712A2.143 2.143 0 0120 16.144l.001-4.712-.15-.002h-1.83zm3.784.875l-.092-.091v3.93c0 .21.152.385.352.422l.077.006 3.932.002-.093-.093-4.176-4.176zm-6.092 12.839c0-.474.384-.857.858-.857H20A.857.857 0 1120 26h-3.428a.857.857 0 01-.858-.857zm.858-4.286a.857.857 0 000 1.715h6a.857.857 0 000-1.715h-6z",
@@ -44384,30 +44546,30 @@ function SvgFileIcon$1(props) {
44384
44546
  })));
44385
44547
  }
44386
44548
 
44387
- var _path$1u;
44388
- function _extends$1y() {
44389
- return _extends$1y = Object.assign ? Object.assign.bind() : function (n) {
44549
+ var _path$1v;
44550
+ function _extends$1z() {
44551
+ return _extends$1z = Object.assign ? Object.assign.bind() : function (n) {
44390
44552
  for (var e = 1; e < arguments.length; e++) {
44391
44553
  var t = arguments[e];
44392
44554
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
44393
44555
  }
44394
44556
  return n;
44395
- }, _extends$1y.apply(null, arguments);
44557
+ }, _extends$1z.apply(null, arguments);
44396
44558
  }
44397
44559
  function SvgDownloadFile(props) {
44398
- return /*#__PURE__*/React.createElement("svg", _extends$1y({
44560
+ return /*#__PURE__*/React.createElement("svg", _extends$1z({
44399
44561
  width: 24,
44400
44562
  height: 24,
44401
44563
  xmlns: "http://www.w3.org/2000/svg",
44402
44564
  fill: "currentColor"
44403
- }, props), _path$1u || (_path$1u = /*#__PURE__*/React.createElement("path", {
44565
+ }, props), _path$1v || (_path$1v = /*#__PURE__*/React.createElement("path", {
44404
44566
  fillRule: "evenodd",
44405
44567
  clipRule: "evenodd",
44406
44568
  d: "M12 2a.91.91 0 01.91.91v11.44l2.993-2.993a.91.91 0 011.285 1.286l-4.545 4.545a.91.91 0 01-1.286 0l-4.545-4.545a.909.909 0 111.285-1.286l2.994 2.994V2.909A.91.91 0 0112 2zM2.91 15.636a.91.91 0 01.908.91v1.136a2.5 2.5 0 002.5 2.5h11.364a2.5 2.5 0 002.5-2.5v-1.136a.91.91 0 111.818 0v1.136A4.318 4.318 0 0117.682 22H6.318A4.318 4.318 0 012 17.682v-1.136a.91.91 0 01.91-.91z"
44407
44569
  })));
44408
44570
  }
44409
44571
 
44410
- var _templateObject$V, _templateObject2$Q, _templateObject3$I, _templateObject4$C, _templateObject5$x, _templateObject6$t, _templateObject7$r, _templateObject8$p;
44572
+ var _templateObject$W, _templateObject2$R, _templateObject3$J, _templateObject4$D, _templateObject5$y, _templateObject6$u, _templateObject7$s, _templateObject8$q;
44411
44573
  var Files = function Files(_ref) {
44412
44574
  var channelId = _ref.channelId,
44413
44575
  filePreviewIcon = _ref.filePreviewIcon,
@@ -44523,30 +44685,30 @@ var Files = function Files(_ref) {
44523
44685
  }))) : filePreviewDownloadIcon || /*#__PURE__*/React__default.createElement(SvgDownloadFile, null)));
44524
44686
  }));
44525
44687
  };
44526
- var Container$p = styled__default.ul(_templateObject$V || (_templateObject$V = _taggedTemplateLiteralLoose(["\n margin: 0;\n padding: 0;\n overflow-x: hidden;\n overflow-y: auto;\n list-style: none;\n transition: all 0.2s;\n"])));
44527
- var DownloadWrapper = styled__default.a(_templateObject2$Q || (_templateObject2$Q = _taggedTemplateLiteralLoose(["\n text-decoration: none;\n visibility: ", ";\n padding: 5px 6px;\n position: absolute;\n top: 25%;\n right: 16px;\n cursor: pointer;\n & > svg {\n & path {\n fill: ", ";\n }\n color: ", ";\n }\n"])), function (props) {
44688
+ var Container$p = styled__default.ul(_templateObject$W || (_templateObject$W = _taggedTemplateLiteralLoose(["\n margin: 0;\n padding: 0;\n overflow-x: hidden;\n overflow-y: auto;\n list-style: none;\n transition: all 0.2s;\n"])));
44689
+ var DownloadWrapper = styled__default.a(_templateObject2$R || (_templateObject2$R = _taggedTemplateLiteralLoose(["\n text-decoration: none;\n visibility: ", ";\n padding: 5px 6px;\n position: absolute;\n top: 25%;\n right: 16px;\n cursor: pointer;\n & > svg {\n & path {\n fill: ", ";\n }\n color: ", ";\n }\n"])), function (props) {
44528
44690
  return props.visible ? 'visible' : 'hidden';
44529
44691
  }, function (props) {
44530
44692
  return props.iconColor;
44531
44693
  }, function (props) {
44532
44694
  return props.iconColor;
44533
44695
  });
44534
- var ProgressWrapper$2 = styled__default.span(_templateObject3$I || (_templateObject3$I = _taggedTemplateLiteralLoose(["\n display: inline-block;\n width: 20px;\n height: 20px;\n animation: preloader 1.5s linear infinite;\n\n @keyframes preloader {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n"])));
44535
- var FileIconCont = styled__default.span(_templateObject4$C || (_templateObject4$C = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n\n & > svg {\n width: 40px;\n height: 40px;\n color: ", ";\n fill: ", ";\n }\n"])), function (props) {
44696
+ var ProgressWrapper$2 = styled__default.span(_templateObject3$J || (_templateObject3$J = _taggedTemplateLiteralLoose(["\n display: inline-block;\n width: 20px;\n height: 20px;\n animation: preloader 1.5s linear infinite;\n\n @keyframes preloader {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n"])));
44697
+ var FileIconCont = styled__default.span(_templateObject4$D || (_templateObject4$D = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n\n & > svg {\n width: 40px;\n height: 40px;\n color: ", ";\n fill: ", ";\n }\n"])), function (props) {
44536
44698
  return props.iconColor;
44537
44699
  }, function (props) {
44538
44700
  return props.fillColor;
44539
44701
  });
44540
- var FileHoverIconCont = styled__default.span(_templateObject5$x || (_templateObject5$x = _taggedTemplateLiteralLoose(["\n display: none;\n & > svg {\n color: ", ";\n width: 40px;\n height: 40px;\n fill: ", ";\n }\n"])), function (props) {
44702
+ var FileHoverIconCont = styled__default.span(_templateObject5$y || (_templateObject5$y = _taggedTemplateLiteralLoose(["\n display: none;\n & > svg {\n color: ", ";\n width: 40px;\n height: 40px;\n fill: ", ";\n }\n"])), function (props) {
44541
44703
  return props.iconColor;
44542
44704
  }, function (props) {
44543
44705
  return props.fillColor;
44544
44706
  });
44545
- var FileThumb = styled__default.img(_templateObject6$t || (_templateObject6$t = _taggedTemplateLiteralLoose(["\n width: 40px;\n height: 40px;\n border: 0.5px solid rgba(0, 0, 0, 0.1);\n border-radius: 8px;\n object-fit: cover;\n"])));
44546
- var FileItem = styled__default.div(_templateObject7$r || (_templateObject7$r = _taggedTemplateLiteralLoose(["\n position: relative;\n padding: 11px 16px;\n display: flex;\n align-items: center;\n font-size: 15px;\n transition: all 0.2s;\n div {\n margin-left: 7px;\n width: calc(100% - 48px);\n }\n &:hover {\n background-color: ", ";\n ", " {\n visibility: visible;\n }\n & ", " {\n display: none;\n }\n & ", " {\n display: inline-flex;\n }\n }\n /*&.isHover {\n\n }*/\n"])), function (props) {
44707
+ var FileThumb = styled__default.img(_templateObject6$u || (_templateObject6$u = _taggedTemplateLiteralLoose(["\n width: 40px;\n height: 40px;\n border: 0.5px solid rgba(0, 0, 0, 0.1);\n border-radius: 8px;\n object-fit: cover;\n"])));
44708
+ var FileItem = styled__default.div(_templateObject7$s || (_templateObject7$s = _taggedTemplateLiteralLoose(["\n position: relative;\n padding: 11px 16px;\n display: flex;\n align-items: center;\n font-size: 15px;\n transition: all 0.2s;\n div {\n margin-left: 7px;\n width: calc(100% - 48px);\n }\n &:hover {\n background-color: ", ";\n ", " {\n visibility: visible;\n }\n & ", " {\n display: none;\n }\n & ", " {\n display: inline-flex;\n }\n }\n /*&.isHover {\n\n }*/\n"])), function (props) {
44547
44709
  return props.hoverBackgroundColor;
44548
44710
  }, DownloadWrapper, FileIconCont, FileHoverIconCont);
44549
- var FileSizeAndDate = styled__default.span(_templateObject8$p || (_templateObject8$p = _taggedTemplateLiteralLoose(["\n display: block;\n font-style: normal;\n font-weight: normal;\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n margin-top: 2px;\n"])), function (props) {
44711
+ var FileSizeAndDate = styled__default.span(_templateObject8$q || (_templateObject8$q = _taggedTemplateLiteralLoose(["\n display: block;\n font-style: normal;\n font-weight: normal;\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n margin-top: 2px;\n"])), function (props) {
44550
44712
  return props.fontSize || '13px';
44551
44713
  }, function (props) {
44552
44714
  return props.lineHeight || '16px';
@@ -44554,18 +44716,18 @@ var FileSizeAndDate = styled__default.span(_templateObject8$p || (_templateObjec
44554
44716
  return props.color;
44555
44717
  });
44556
44718
 
44557
- var _rect$4, _path$1v;
44558
- function _extends$1z() {
44559
- return _extends$1z = Object.assign ? Object.assign.bind() : function (n) {
44719
+ var _rect$4, _path$1w;
44720
+ function _extends$1A() {
44721
+ return _extends$1A = Object.assign ? Object.assign.bind() : function (n) {
44560
44722
  for (var e = 1; e < arguments.length; e++) {
44561
44723
  var t = arguments[e];
44562
44724
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
44563
44725
  }
44564
44726
  return n;
44565
- }, _extends$1z.apply(null, arguments);
44727
+ }, _extends$1A.apply(null, arguments);
44566
44728
  }
44567
44729
  function SvgLinkIcon(props) {
44568
- return /*#__PURE__*/React.createElement("svg", _extends$1z({
44730
+ return /*#__PURE__*/React.createElement("svg", _extends$1A({
44569
44731
  width: 40,
44570
44732
  height: 40,
44571
44733
  fill: "none",
@@ -44577,7 +44739,7 @@ function SvgLinkIcon(props) {
44577
44739
  rx: 8,
44578
44740
  fill: "currentColor",
44579
44741
  fillOpacity: 0.2
44580
- })), _path$1v || (_path$1v = /*#__PURE__*/React.createElement("path", {
44742
+ })), _path$1w || (_path$1w = /*#__PURE__*/React.createElement("path", {
44581
44743
  fillRule: "evenodd",
44582
44744
  clipRule: "evenodd",
44583
44745
  d: "M21.547 11.524a4.9 4.9 0 016.928 6.929l-.01.011-4 4a4.9 4.9 0 01-6.93 0 .9.9 0 011.273-1.273 3.1 3.1 0 004.384 0l3.994-3.994a3.1 3.1 0 00-4.384-4.383l-1.094 1.094a.9.9 0 01-1.272-1.273l1.1-1.1.01-.01zm-6.011 6.011a4.9 4.9 0 016.928 0 .9.9 0 11-1.272 1.273 3.1 3.1 0 00-4.384 0l-4 4-.01.011a3.1 3.1 0 104.383 4.384l.01-.012 1.103-1.1a.9.9 0 111.272 1.272l-1.097 1.096a4.9 4.9 0 11-6.928-6.929l3.995-3.995z",
@@ -44585,7 +44747,7 @@ function SvgLinkIcon(props) {
44585
44747
  })));
44586
44748
  }
44587
44749
 
44588
- var _templateObject$W, _templateObject2$R, _templateObject3$J, _templateObject4$D, _templateObject5$y;
44750
+ var _templateObject$X, _templateObject2$S, _templateObject3$K, _templateObject4$E, _templateObject5$z;
44589
44751
  var LinkItem = function LinkItem(_ref) {
44590
44752
  var link = _ref.link,
44591
44753
  linkPreviewIcon = _ref.linkPreviewIcon,
@@ -44616,25 +44778,25 @@ var LinkItem = function LinkItem(_ref) {
44616
44778
  color: linkPreviewColor || textPrimary
44617
44779
  }, link))));
44618
44780
  };
44619
- var LinkIconCont = styled__default.span(_templateObject$W || (_templateObject$W = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n > svg {\n color: ", ";\n fill: ", ";\n }\n"])), function (props) {
44781
+ var LinkIconCont = styled__default.span(_templateObject$X || (_templateObject$X = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n > svg {\n color: ", ";\n fill: ", ";\n }\n"])), function (props) {
44620
44782
  return props.iconColor;
44621
44783
  }, function (props) {
44622
44784
  return props.fillColor;
44623
44785
  });
44624
- var LinkHoverIconCont = styled__default.span(_templateObject2$R || (_templateObject2$R = _taggedTemplateLiteralLoose(["\n display: none;\n > svg {\n color: ", ";\n fill: ", ";\n }\n"])), function (props) {
44786
+ var LinkHoverIconCont = styled__default.span(_templateObject2$S || (_templateObject2$S = _taggedTemplateLiteralLoose(["\n display: none;\n > svg {\n color: ", ";\n fill: ", ";\n }\n"])), function (props) {
44625
44787
  return props.iconColor;
44626
44788
  }, function (props) {
44627
44789
  return props.fillColor;
44628
44790
  });
44629
- var LinkInfoCont = styled__default.div(_templateObject3$J || (_templateObject3$J = _taggedTemplateLiteralLoose(["\n margin-left: 12px;\n width: calc(100% - 40px);\n"])));
44630
- var FileItem$1 = styled__default.li(_templateObject4$D || (_templateObject4$D = _taggedTemplateLiteralLoose(["\n padding: 9px 16px;\n a {\n display: flex;\n align-items: center;\n text-decoration: none;\n }\n &:hover {\n background-color: ", ";\n & ", " {\n display: none;\n }\n & ", " {\n display: inline-flex;\n }\n }\n"])), function (props) {
44791
+ var LinkInfoCont = styled__default.div(_templateObject3$K || (_templateObject3$K = _taggedTemplateLiteralLoose(["\n margin-left: 12px;\n width: calc(100% - 40px);\n"])));
44792
+ var FileItem$1 = styled__default.li(_templateObject4$E || (_templateObject4$E = _taggedTemplateLiteralLoose(["\n padding: 9px 16px;\n a {\n display: flex;\n align-items: center;\n text-decoration: none;\n }\n &:hover {\n background-color: ", ";\n & ", " {\n display: none;\n }\n & ", " {\n display: inline-flex;\n }\n }\n"])), function (props) {
44631
44793
  return props.hoverBackgroundColor;
44632
44794
  }, LinkIconCont, LinkHoverIconCont);
44633
- var LinkUrl = styled__default.span(_templateObject5$y || (_templateObject5$y = _taggedTemplateLiteralLoose(["\n display: block;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n max-width: calc(100% - 52px);\n font-style: normal;\n font-weight: normal;\n font-size: 13px;\n line-height: 16px;\n text-decoration: underline;\n color: ", ";\n"])), function (props) {
44795
+ var LinkUrl = styled__default.span(_templateObject5$z || (_templateObject5$z = _taggedTemplateLiteralLoose(["\n display: block;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n max-width: calc(100% - 52px);\n font-style: normal;\n font-weight: normal;\n font-size: 13px;\n line-height: 16px;\n text-decoration: underline;\n color: ", ";\n"])), function (props) {
44634
44796
  return props.color;
44635
44797
  });
44636
44798
 
44637
- var _templateObject$X;
44799
+ var _templateObject$Y;
44638
44800
  var Links = function Links(_ref) {
44639
44801
  var channelId = _ref.channelId,
44640
44802
  linkPreviewIcon = _ref.linkPreviewIcon,
@@ -44659,20 +44821,20 @@ var Links = function Links(_ref) {
44659
44821
  });
44660
44822
  }));
44661
44823
  };
44662
- var Container$q = styled__default.ul(_templateObject$X || (_templateObject$X = _taggedTemplateLiteralLoose(["\n margin: 0;\n padding: 11px 0 0;\n overflow-x: hidden;\n overflow-y: auto;\n list-style: none;\n transition: all 0.2s;\n"])));
44824
+ var Container$q = styled__default.ul(_templateObject$Y || (_templateObject$Y = _taggedTemplateLiteralLoose(["\n margin: 0;\n padding: 11px 0 0;\n overflow-x: hidden;\n overflow-y: auto;\n list-style: none;\n transition: all 0.2s;\n"])));
44663
44825
 
44664
- var _rect$5, _path$1w;
44665
- function _extends$1A() {
44666
- return _extends$1A = Object.assign ? Object.assign.bind() : function (n) {
44826
+ var _rect$5, _path$1x;
44827
+ function _extends$1B() {
44828
+ return _extends$1B = Object.assign ? Object.assign.bind() : function (n) {
44667
44829
  for (var e = 1; e < arguments.length; e++) {
44668
44830
  var t = arguments[e];
44669
44831
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
44670
44832
  }
44671
44833
  return n;
44672
- }, _extends$1A.apply(null, arguments);
44834
+ }, _extends$1B.apply(null, arguments);
44673
44835
  }
44674
44836
  function SvgVoicePreview(props) {
44675
- return /*#__PURE__*/React.createElement("svg", _extends$1A({
44837
+ return /*#__PURE__*/React.createElement("svg", _extends$1B({
44676
44838
  width: 40,
44677
44839
  height: 40,
44678
44840
  fill: "none",
@@ -44682,24 +44844,24 @@ function SvgVoicePreview(props) {
44682
44844
  height: 40,
44683
44845
  rx: 20,
44684
44846
  fill: "#5159F6"
44685
- })), _path$1w || (_path$1w = /*#__PURE__*/React.createElement("path", {
44847
+ })), _path$1x || (_path$1x = /*#__PURE__*/React.createElement("path", {
44686
44848
  d: "M27.536 18.696c.952.576.952 2.03 0 2.605l-9.918 5.997c-.944.57-2.118-.151-2.118-1.303V14.002c0-1.151 1.174-1.873 2.118-1.303l9.918 5.997z",
44687
44849
  fill: "#fff"
44688
44850
  })));
44689
44851
  }
44690
44852
 
44691
- var _rect$6, _path$1x;
44692
- function _extends$1B() {
44693
- return _extends$1B = Object.assign ? Object.assign.bind() : function (n) {
44853
+ var _rect$6, _path$1y;
44854
+ function _extends$1C() {
44855
+ return _extends$1C = Object.assign ? Object.assign.bind() : function (n) {
44694
44856
  for (var e = 1; e < arguments.length; e++) {
44695
44857
  var t = arguments[e];
44696
44858
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
44697
44859
  }
44698
44860
  return n;
44699
- }, _extends$1B.apply(null, arguments);
44861
+ }, _extends$1C.apply(null, arguments);
44700
44862
  }
44701
44863
  function SvgVoicePreviewPause(props) {
44702
- return /*#__PURE__*/React.createElement("svg", _extends$1B({
44864
+ return /*#__PURE__*/React.createElement("svg", _extends$1C({
44703
44865
  width: 40,
44704
44866
  height: 40,
44705
44867
  fill: "none",
@@ -44709,13 +44871,13 @@ function SvgVoicePreviewPause(props) {
44709
44871
  height: 40,
44710
44872
  rx: 20,
44711
44873
  fill: "#5159F6"
44712
- })), _path$1x || (_path$1x = /*#__PURE__*/React.createElement("path", {
44874
+ })), _path$1y || (_path$1y = /*#__PURE__*/React.createElement("path", {
44713
44875
  d: "M16.962 12.5c.535 0 .729.056.924.16.196.105.35.258.454.454.104.195.16.39.16.924v11.924c0 .535-.056.729-.16.924a1.09 1.09 0 01-.454.454c-.195.104-.39.16-.924.16h-1.424c-.535 0-.729-.056-.924-.16a1.09 1.09 0 01-.454-.454c-.104-.195-.16-.39-.16-.924V14.038c0-.535.056-.729.16-.924a1.09 1.09 0 01.454-.454c.195-.104.39-.16.924-.16h1.424zm7.5 0c.535 0 .729.056.924.16.196.105.35.258.454.454.104.195.16.39.16.924v11.924c0 .535-.056.729-.16.924a1.09 1.09 0 01-.454.454c-.195.104-.39.16-.924.16h-1.424c-.535 0-.729-.056-.924-.16a1.09 1.09 0 01-.454-.454c-.104-.195-.16-.39-.16-.924V14.038c0-.535.056-.729.16-.924a1.09 1.09 0 01.454-.454c.195-.104.39-.16.924-.16h1.424z",
44714
44876
  fill: "#fff"
44715
44877
  })));
44716
44878
  }
44717
44879
 
44718
- var _templateObject$Y, _templateObject2$S, _templateObject3$K, _templateObject4$E, _templateObject5$z, _templateObject6$u, _templateObject7$s, _templateObject8$q;
44880
+ var _templateObject$Z, _templateObject2$T, _templateObject3$L, _templateObject4$F, _templateObject5$A, _templateObject6$v, _templateObject7$t, _templateObject8$r;
44719
44881
  var VoiceItem = function VoiceItem(_ref) {
44720
44882
  var file = _ref.file,
44721
44883
  voicePreviewPlayIcon = _ref.voicePreviewPlayIcon,
@@ -44840,32 +45002,32 @@ var VoiceItem = function VoiceItem(_ref) {
44840
45002
  type: 'audio/mpeg'
44841
45003
  })));
44842
45004
  };
44843
- var FileIconCont$1 = styled__default.span(_templateObject$Y || (_templateObject$Y = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n display: inline-flex;\n fill: ", ";\n rect {\n fill: ", ";\n }\n"])), function (props) {
45005
+ var FileIconCont$1 = styled__default.span(_templateObject$Z || (_templateObject$Z = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n display: inline-flex;\n fill: ", ";\n rect {\n fill: ", ";\n }\n"])), function (props) {
44844
45006
  return props.fill || 'transparent';
44845
45007
  }, function (props) {
44846
45008
  return props.fill || 'transparent';
44847
45009
  });
44848
- var FileHoverIconCont$1 = styled__default.span(_templateObject2$S || (_templateObject2$S = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n display: none;\n fill: ", ";\n rect {\n fill: ", ";\n }\n"])), function (props) {
45010
+ var FileHoverIconCont$1 = styled__default.span(_templateObject2$T || (_templateObject2$T = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n display: none;\n fill: ", ";\n rect {\n fill: ", ";\n }\n"])), function (props) {
44849
45011
  return props.fill || 'transparent';
44850
45012
  }, function (props) {
44851
45013
  return props.fill || 'transparent';
44852
45014
  });
44853
- var FileItem$2 = styled__default.li(_templateObject3$K || (_templateObject3$K = _taggedTemplateLiteralLoose(["\n padding: 9px 16px;\n display: flex;\n align-items: center;\n text-decoration: none;\n\n &:hover {\n background-color: ", ";\n }\n div {\n margin-left: 12px;\n width: 100%;\n }\n img {\n width: 42px;\n height: 42px;\n border: 0.5px solid rgba(0, 0, 0, 0.1);\n box-sizing: border-box;\n border-radius: 6px;\n }\n\n &.isHover {\n & ", " {\n display: none;\n }\n & ", " {\n display: inline-flex;\n }\n }\n"])), function (props) {
45015
+ var FileItem$2 = styled__default.li(_templateObject3$L || (_templateObject3$L = _taggedTemplateLiteralLoose(["\n padding: 9px 16px;\n display: flex;\n align-items: center;\n text-decoration: none;\n\n &:hover {\n background-color: ", ";\n }\n div {\n margin-left: 12px;\n width: 100%;\n }\n img {\n width: 42px;\n height: 42px;\n border: 0.5px solid rgba(0, 0, 0, 0.1);\n box-sizing: border-box;\n border-radius: 6px;\n }\n\n &.isHover {\n & ", " {\n display: none;\n }\n & ", " {\n display: inline-flex;\n }\n }\n"])), function (props) {
44854
45016
  return props.hoverBackgroundColor;
44855
45017
  }, FileIconCont$1, FileHoverIconCont$1);
44856
- var AudioInfo = styled__default.div(_templateObject4$E || (_templateObject4$E = _taggedTemplateLiteralLoose(["\n position: relative;\n"])));
44857
- var AudioTitle = styled__default.span(_templateObject5$z || (_templateObject5$z = _taggedTemplateLiteralLoose(["\n display: block;\n font-style: normal;\n font-weight: 500;\n font-size: 15px;\n line-height: 20px;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n max-width: calc(100% - 72px);\n color: ", ";\n"])), function (props) {
45018
+ var AudioInfo = styled__default.div(_templateObject4$F || (_templateObject4$F = _taggedTemplateLiteralLoose(["\n position: relative;\n"])));
45019
+ var AudioTitle = styled__default.span(_templateObject5$A || (_templateObject5$A = _taggedTemplateLiteralLoose(["\n display: block;\n font-style: normal;\n font-weight: 500;\n font-size: 15px;\n line-height: 20px;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n max-width: calc(100% - 72px);\n color: ", ";\n"])), function (props) {
44858
45020
  return props.color;
44859
45021
  });
44860
- var AudioDate = styled__default.span(_templateObject6$u || (_templateObject6$u = _taggedTemplateLiteralLoose(["\n display: block;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n max-width: calc(100% - 72px);\n font-style: normal;\n font-weight: normal;\n font-size: 12px;\n line-height: 16px;\n color: ", ";\n"])), function (props) {
45022
+ var AudioDate = styled__default.span(_templateObject6$v || (_templateObject6$v = _taggedTemplateLiteralLoose(["\n display: block;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n max-width: calc(100% - 72px);\n font-style: normal;\n font-weight: normal;\n font-size: 12px;\n line-height: 16px;\n color: ", ";\n"])), function (props) {
44861
45023
  return props.color;
44862
45024
  });
44863
- var AudioSendTime = styled__default.span(_templateObject7$s || (_templateObject7$s = _taggedTemplateLiteralLoose(["\n position: absolute;\n right: 0;\n top: 11px;\n color: ", ";\n font-size: 12px;\n line-height: 16px;\n"])), function (props) {
45025
+ var AudioSendTime = styled__default.span(_templateObject7$t || (_templateObject7$t = _taggedTemplateLiteralLoose(["\n position: absolute;\n right: 0;\n top: 11px;\n color: ", ";\n font-size: 12px;\n line-height: 16px;\n"])), function (props) {
44864
45026
  return props.color;
44865
45027
  });
44866
- var Audio = styled__default.audio(_templateObject8$q || (_templateObject8$q = _taggedTemplateLiteralLoose(["\n display: none;\n"])));
45028
+ var Audio = styled__default.audio(_templateObject8$r || (_templateObject8$r = _taggedTemplateLiteralLoose(["\n display: none;\n"])));
44867
45029
 
44868
- var _templateObject$Z;
45030
+ var _templateObject$_;
44869
45031
  var Voices = function Voices(_ref) {
44870
45032
  var channelId = _ref.channelId,
44871
45033
  voicePreviewPlayIcon = _ref.voicePreviewPlayIcon,
@@ -44896,9 +45058,9 @@ var Voices = function Voices(_ref) {
44896
45058
  });
44897
45059
  }));
44898
45060
  };
44899
- var Container$r = styled__default.ul(_templateObject$Z || (_templateObject$Z = _taggedTemplateLiteralLoose(["\n margin: 0;\n padding: 11px 0 0;\n overflow-x: hidden;\n overflow-y: auto;\n list-style: none;\n transition: all 0.2s;\n"])));
45061
+ var Container$r = styled__default.ul(_templateObject$_ || (_templateObject$_ = _taggedTemplateLiteralLoose(["\n margin: 0;\n padding: 11px 0 0;\n overflow-x: hidden;\n overflow-y: auto;\n list-style: none;\n transition: all 0.2s;\n"])));
44900
45062
 
44901
- var _templateObject$_, _templateObject2$T;
45063
+ var _templateObject$$, _templateObject2$U;
44902
45064
  var DetailsTab = function DetailsTab(_ref) {
44903
45065
  var channel = _ref.channel,
44904
45066
  theme = _ref.theme,
@@ -45049,8 +45211,8 @@ var DetailsTab = function DetailsTab(_ref) {
45049
45211
  voicePreviewHoverBackgroundColor: voicePreviewHoverBackgroundColor
45050
45212
  })));
45051
45213
  };
45052
- var Container$s = styled__default.div(_templateObject$_ || (_templateObject$_ = _taggedTemplateLiteralLoose(["\n min-height: calc(100vh - 64px);\n"])));
45053
- var DetailsTabHeader = styled__default.div(_templateObject2$T || (_templateObject2$T = _taggedTemplateLiteralLoose(["\n overflow-x: auto;\n overflow-y: hidden;\n border-bottom: 1px solid ", ";\n background-color: ", ";\n display: flex;\n justify-content: space-between;\n position: sticky;\n top: 0;\n z-index: 12;\n /* width */\n &::-webkit-scrollbar {\n width: 0;\n height: 0;\n }\n\n /* Track */\n &::-webkit-scrollbar-track {\n background: transparent;\n }\n\n /* Handle */\n &::-webkit-scrollbar-thumb {\n background: transparent;\n }\n\n /* Handle on hover */\n &::-webkit-scrollbar-thumb:hover {\n background: transparent;\n }\n button {\n position: relative;\n border: none;\n background: transparent;\n outline: none;\n height: 44px;\n text-transform: capitalize;\n font-style: normal;\n font-weight: 500;\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n min-width: ", ";\n cursor: pointer;\n }\n\n & span {\n position: relative;\n display: inline-flex;\n align-items: center;\n height: 100%;\n }\n\n & .active span {\n color: ", ";\n\n &:after {\n content: '';\n width: 100%;\n border-radius: 2px;\n height: 2px;\n background-color: ", ";\n position: absolute;\n top: calc(100% - 1px);\n left: 0;\n }\n }\n"])), function (props) {
45214
+ var Container$s = styled__default.div(_templateObject$$ || (_templateObject$$ = _taggedTemplateLiteralLoose(["\n min-height: calc(100vh - 64px);\n"])));
45215
+ var DetailsTabHeader = styled__default.div(_templateObject2$U || (_templateObject2$U = _taggedTemplateLiteralLoose(["\n overflow-x: auto;\n overflow-y: hidden;\n border-bottom: 1px solid ", ";\n background-color: ", ";\n display: flex;\n justify-content: space-between;\n position: sticky;\n top: 0;\n z-index: 12;\n /* width */\n &::-webkit-scrollbar {\n width: 0;\n height: 0;\n }\n\n /* Track */\n &::-webkit-scrollbar-track {\n background: transparent;\n }\n\n /* Handle */\n &::-webkit-scrollbar-thumb {\n background: transparent;\n }\n\n /* Handle on hover */\n &::-webkit-scrollbar-thumb:hover {\n background: transparent;\n }\n button {\n position: relative;\n border: none;\n background: transparent;\n outline: none;\n height: 44px;\n text-transform: capitalize;\n font-style: normal;\n font-weight: 500;\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n min-width: ", ";\n cursor: pointer;\n }\n\n & span {\n position: relative;\n display: inline-flex;\n align-items: center;\n height: 100%;\n }\n\n & .active span {\n color: ", ";\n\n &:after {\n content: '';\n width: 100%;\n border-radius: 2px;\n height: 2px;\n background-color: ", ";\n position: absolute;\n top: calc(100% - 1px);\n left: 0;\n }\n }\n"])), function (props) {
45054
45216
  return props.borderColor;
45055
45217
  }, function (props) {
45056
45218
  return props.backgroundColor || 'transparent';
@@ -45068,17 +45230,17 @@ var DetailsTabHeader = styled__default.div(_templateObject2$T || (_templateObjec
45068
45230
  return props.activeTabColor;
45069
45231
  });
45070
45232
 
45071
- var _templateObject$$, _templateObject2$U, _templateObject3$L, _templateObject4$F;
45072
- var Container$t = styled__default.div(_templateObject$$ || (_templateObject$$ = _taggedTemplateLiteralLoose(["\n ", ";\n height: ", ";\n position: absolute;\n padding: 24px 16px;\n background-color: ", ";\n z-index: 25;\n"])), function (props) {
45233
+ var _templateObject$10, _templateObject2$V, _templateObject3$M, _templateObject4$G;
45234
+ var Container$t = styled__default.div(_templateObject$10 || (_templateObject$10 = _taggedTemplateLiteralLoose(["\n ", ";\n height: ", ";\n position: absolute;\n padding: 24px 16px;\n background-color: ", ";\n z-index: 25;\n"])), function (props) {
45073
45235
  return props.active ? 'display: block' : 'display: none';
45074
45236
  }, function (props) {
45075
45237
  return "calc(100vh - " + (props.heightOffset ? props.heightOffset + 48 : 48) + "px)";
45076
45238
  }, function (props) {
45077
45239
  return props.backgroundColor;
45078
45240
  });
45079
- var AvatarCont = styled__default.div(_templateObject2$U || (_templateObject2$U = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n margin-bottom: 4px;\n\n &::after {\n content: '';\n position: absolute;\n width: 120px;\n height: 120px;\n border-radius: 50%;\n background-color: rgba(0, 0, 0, 0.4);\n }\n .dropdown-body {\n top: inherit;\n right: inherit;\n bottom: -90px;\n }\n"])));
45080
- var DropDownWrapper = styled__default.div(_templateObject3$L || (_templateObject3$L = _taggedTemplateLiteralLoose(["\n position: absolute;\n z-index: 4;\n width: 40px;\n height: 40px;\n"])));
45081
- var EditChannelFooter = styled__default(ButtonBlock)(_templateObject4$F || (_templateObject4$F = _taggedTemplateLiteralLoose(["\n margin-top: 24px;\n\n & > button {\n margin-left: 12px;\n }\n"])));
45241
+ var AvatarCont = styled__default.div(_templateObject2$V || (_templateObject2$V = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n margin-bottom: 4px;\n\n &::after {\n content: '';\n position: absolute;\n width: 120px;\n height: 120px;\n border-radius: 50%;\n background-color: rgba(0, 0, 0, 0.4);\n }\n .dropdown-body {\n top: inherit;\n right: inherit;\n bottom: -90px;\n }\n"])));
45242
+ var DropDownWrapper = styled__default.div(_templateObject3$M || (_templateObject3$M = _taggedTemplateLiteralLoose(["\n position: absolute;\n z-index: 4;\n width: 40px;\n height: 40px;\n"])));
45243
+ var EditChannelFooter = styled__default(ButtonBlock)(_templateObject4$G || (_templateObject4$G = _taggedTemplateLiteralLoose(["\n margin-top: 24px;\n\n & > button {\n margin-left: 12px;\n }\n"])));
45082
45244
  var EditChannel = function EditChannel(_ref) {
45083
45245
  var channel = _ref.channel,
45084
45246
  theme = _ref.theme,
@@ -45333,7 +45495,7 @@ var EditChannel = function EditChannel(_ref) {
45333
45495
  })));
45334
45496
  };
45335
45497
 
45336
- var _templateObject$10, _templateObject2$V, _templateObject3$M, _templateObject4$G, _templateObject5$A, _templateObject6$v, _templateObject7$t, _templateObject8$r, _templateObject9$l, _templateObject0$j, _templateObject1$f, _templateObject10$9, _templateObject11$9;
45498
+ var _templateObject$11, _templateObject2$W, _templateObject3$N, _templateObject4$H, _templateObject5$B, _templateObject6$w, _templateObject7$u, _templateObject8$s, _templateObject9$m, _templateObject0$k, _templateObject1$g, _templateObject10$a, _templateObject11$9;
45337
45499
  var Details = function Details(_ref) {
45338
45500
  var _activeChannel$member;
45339
45501
  var detailsTitleText = _ref.detailsTitleText,
@@ -45763,17 +45925,17 @@ var Details = function Details(_ref) {
45763
45925
  QRCodeIcon: QRCodeIcon
45764
45926
  }))));
45765
45927
  };
45766
- var Container$u = styled__default.div(_templateObject$10 || (_templateObject$10 = _taggedTemplateLiteralLoose(["\n flex: 0 0 auto;\n width: 0;\n border-left: 1px solid ", ";\n //transition: all 0.1s;\n ", "\n background-color: ", ";\n}\n"])), function (props) {
45928
+ var Container$u = styled__default.div(_templateObject$11 || (_templateObject$11 = _taggedTemplateLiteralLoose(["\n flex: 0 0 auto;\n width: 0;\n border-left: 1px solid ", ";\n //transition: all 0.1s;\n ", "\n background-color: ", ";\n}\n"])), function (props) {
45767
45929
  return props.borderColor;
45768
45930
  }, function (props) {
45769
45931
  return props.mounted && " width: " + (props.size === 'small' ? '300px' : props.size === 'medium' ? '350px' : '400px') + ";";
45770
45932
  }, function (props) {
45771
45933
  return props.backgroundColor;
45772
45934
  });
45773
- var ChannelDetailsHeader = styled__default.div(_templateObject2$V || (_templateObject2$V = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n padding: 16px;\n position: relative;\n height: 64px;\n box-sizing: border-box;\n border-bottom: 1px solid ", ";\n\n & svg {\n cursor: pointer;\n }\n"])), function (props) {
45935
+ var ChannelDetailsHeader = styled__default.div(_templateObject2$W || (_templateObject2$W = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n padding: 16px;\n position: relative;\n height: 64px;\n box-sizing: border-box;\n border-bottom: 1px solid ", ";\n\n & svg {\n cursor: pointer;\n }\n"])), function (props) {
45774
45936
  return props.borderColor;
45775
45937
  });
45776
- var ChatDetails = styled__default.div(_templateObject3$M || (_templateObject3$M = _taggedTemplateLiteralLoose(["\n //position: relative;\n width: ", ";\n //height: ", ";\n height: ", ";\n overflow-y: auto;\n\n &::-webkit-scrollbar {\n width: 8px;\n background: transparent;\n }\n &::-webkit-scrollbar-thumb {\n background: transparent;\n }\n\n &.show-scrollbar::-webkit-scrollbar-thumb {\n background: ", ";\n border-radius: 4px;\n }\n &.show-scrollbar::-webkit-scrollbar-track {\n background: transparent;\n }\n"])), function (props) {
45938
+ var ChatDetails = styled__default.div(_templateObject3$N || (_templateObject3$N = _taggedTemplateLiteralLoose(["\n //position: relative;\n width: ", ";\n //height: ", ";\n height: ", ";\n overflow-y: auto;\n\n &::-webkit-scrollbar {\n width: 8px;\n background: transparent;\n }\n &::-webkit-scrollbar-thumb {\n background: transparent;\n }\n\n &.show-scrollbar::-webkit-scrollbar-thumb {\n background: ", ";\n border-radius: 4px;\n }\n &.show-scrollbar::-webkit-scrollbar-track {\n background: transparent;\n }\n"])), function (props) {
45777
45939
  return props.size === 'small' ? '300px' : props.size === 'medium' ? '350px' : '400px';
45778
45940
  }, function (props) {
45779
45941
  return props.height ? "calc(100vh - " + props.heightOffset + "px)" : '100vh';
@@ -45782,38 +45944,38 @@ var ChatDetails = styled__default.div(_templateObject3$M || (_templateObject3$M
45782
45944
  }, function (props) {
45783
45945
  return props.thumbColor;
45784
45946
  });
45785
- var AboutChannel = styled__default.div(_templateObject4$G || (_templateObject4$G = _taggedTemplateLiteralLoose(["\n margin-top: 20px;\n"])));
45786
- var AboutChannelTitle = styled__default.h4(_templateObject5$A || (_templateObject5$A = _taggedTemplateLiteralLoose(["\n font-size: 12px;\n margin: 0;\n line-height: 16px;\n color: ", ";\n"])), function (props) {
45947
+ var AboutChannel = styled__default.div(_templateObject4$H || (_templateObject4$H = _taggedTemplateLiteralLoose(["\n margin-top: 20px;\n"])));
45948
+ var AboutChannelTitle = styled__default.h4(_templateObject5$B || (_templateObject5$B = _taggedTemplateLiteralLoose(["\n font-size: 12px;\n margin: 0;\n line-height: 16px;\n color: ", ";\n"])), function (props) {
45787
45949
  return props.color;
45788
45950
  });
45789
- var AboutChannelText = styled__default.h3(_templateObject6$v || (_templateObject6$v = _taggedTemplateLiteralLoose(["\n font-size: 15px;\n margin: 0;\n font-weight: 400;\n line-height: 20px;\n color: ", ";\n"])), function (props) {
45951
+ var AboutChannelText = styled__default.h3(_templateObject6$w || (_templateObject6$w = _taggedTemplateLiteralLoose(["\n font-size: 15px;\n margin: 0;\n font-weight: 400;\n line-height: 20px;\n color: ", ";\n"])), function (props) {
45790
45952
  return props.color;
45791
45953
  });
45792
- var ChannelInfo$4 = styled__default.div(_templateObject7$t || (_templateObject7$t = _taggedTemplateLiteralLoose(["\n position: relative;\n margin-left: ", ";\n margin-top: ", ";\n text-align: ", ";\n"])), function (props) {
45954
+ var ChannelInfo$4 = styled__default.div(_templateObject7$u || (_templateObject7$u = _taggedTemplateLiteralLoose(["\n position: relative;\n margin-left: ", ";\n margin-top: ", ";\n text-align: ", ";\n"])), function (props) {
45793
45955
  return (!props.direction || props.direction !== 'column') && '16px';
45794
45956
  }, function (props) {
45795
45957
  return props.direction && props.direction === 'column' && '16px';
45796
45958
  }, function (props) {
45797
45959
  return props.direction && props.direction === 'column' && 'center';
45798
45960
  });
45799
- var DetailsHeader = styled__default.div(_templateObject8$r || (_templateObject8$r = _taggedTemplateLiteralLoose(["\n border-bottom: 6px solid ", ";\n align-items: center;\n box-sizing: border-box;\n padding: 20px 16px;\n"])), function (props) {
45961
+ var DetailsHeader = styled__default.div(_templateObject8$s || (_templateObject8$s = _taggedTemplateLiteralLoose(["\n border-bottom: 6px solid ", ";\n align-items: center;\n box-sizing: border-box;\n padding: 20px 16px;\n"])), function (props) {
45800
45962
  return props.borderColor;
45801
45963
  });
45802
- var ChannelAvatarAndName = styled__default.div(_templateObject9$l || (_templateObject9$l = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n align-items: center;\n box-sizing: border-box;\n flex-direction: ", ";\n"])), function (props) {
45964
+ var ChannelAvatarAndName = styled__default.div(_templateObject9$m || (_templateObject9$m = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n align-items: center;\n box-sizing: border-box;\n flex-direction: ", ";\n"])), function (props) {
45803
45965
  return props.direction;
45804
45966
  });
45805
- var ChannelName$1 = styled__default(SectionHeader)(_templateObject0$j || (_templateObject0$j = _taggedTemplateLiteralLoose(["\n white-space: nowrap;\n max-width: ", ";\n text-overflow: ellipsis;\n text-color: ", ";\n overflow: hidden;\n text-transform: ", ";\n"])), function (props) {
45967
+ var ChannelName$1 = styled__default(SectionHeader)(_templateObject0$k || (_templateObject0$k = _taggedTemplateLiteralLoose(["\n white-space: nowrap;\n max-width: ", ";\n text-overflow: ellipsis;\n text-color: ", ";\n overflow: hidden;\n text-transform: ", ";\n"])), function (props) {
45806
45968
  return props.isDirect ? '200px' : '168px';
45807
45969
  }, function (props) {
45808
45970
  return props.color;
45809
45971
  }, function (props) {
45810
45972
  return props.uppercase && 'uppercase';
45811
45973
  });
45812
- var ChannelNameWrapper = styled__default.div(_templateObject1$f || (_templateObject1$f = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: center;\n"])));
45813
- var EditButton = styled__default.span(_templateObject10$9 || (_templateObject10$9 = _taggedTemplateLiteralLoose(["\n margin-left: 6px;\n cursor: pointer;\n color: #b2b6be;\n"])));
45974
+ var ChannelNameWrapper = styled__default.div(_templateObject1$g || (_templateObject1$g = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: center;\n"])));
45975
+ var EditButton = styled__default.span(_templateObject10$a || (_templateObject10$a = _taggedTemplateLiteralLoose(["\n margin-left: 6px;\n cursor: pointer;\n color: #b2b6be;\n"])));
45814
45976
  var PhoneNumberContainer = styled__default.span(_templateObject11$9 || (_templateObject11$9 = _taggedTemplateLiteralLoose(["\n position: relative;\n display: inline-flex;\n align-items: center;\n cursor: pointer;\n user-select: text;\n"])));
45815
45977
 
45816
- var _templateObject$11;
45978
+ var _templateObject$12;
45817
45979
  var ChannelDetailsContainer = function ChannelDetailsContainer(_ref) {
45818
45980
  var _ref$size = _ref.size,
45819
45981
  size = _ref$size === void 0 ? 'large' : _ref$size,
@@ -46044,31 +46206,31 @@ var ChannelDetailsContainer = function ChannelDetailsContainer(_ref) {
46044
46206
  QRCodeIcon: QRCodeIcon
46045
46207
  })));
46046
46208
  };
46047
- var DetailsWrapper = styled__default.div(_templateObject$11 || (_templateObject$11 = _taggedTemplateLiteralLoose(["\n user-select: text;\n"])));
46209
+ var DetailsWrapper = styled__default.div(_templateObject$12 || (_templateObject$12 = _taggedTemplateLiteralLoose(["\n user-select: text;\n"])));
46048
46210
 
46049
- var _path$1y;
46050
- function _extends$1C() {
46051
- return _extends$1C = Object.assign ? Object.assign.bind() : function (n) {
46211
+ var _path$1z;
46212
+ function _extends$1D() {
46213
+ return _extends$1D = Object.assign ? Object.assign.bind() : function (n) {
46052
46214
  for (var e = 1; e < arguments.length; e++) {
46053
46215
  var t = arguments[e];
46054
46216
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
46055
46217
  }
46056
46218
  return n;
46057
- }, _extends$1C.apply(null, arguments);
46219
+ }, _extends$1D.apply(null, arguments);
46058
46220
  }
46059
46221
  function SvgChevronDown(props) {
46060
- return /*#__PURE__*/React.createElement("svg", _extends$1C({
46222
+ return /*#__PURE__*/React.createElement("svg", _extends$1D({
46061
46223
  width: 32,
46062
46224
  height: 32,
46063
46225
  fill: "none",
46064
46226
  xmlns: "http://www.w3.org/2000/svg"
46065
- }, props), _path$1y || (_path$1y = /*#__PURE__*/React.createElement("path", {
46227
+ }, props), _path$1z || (_path$1z = /*#__PURE__*/React.createElement("path", {
46066
46228
  d: "M9.298 12.937a1.056 1.056 0 10-1.374 1.603l7.39 6.333c.395.339.978.339 1.373 0l7.389-6.333a1.056 1.056 0 10-1.374-1.603L16 18.68l-6.702-5.744z",
46067
46229
  fill: "CurrentColor"
46068
46230
  })));
46069
46231
  }
46070
46232
 
46071
- var _templateObject$12, _templateObject2$W;
46233
+ var _templateObject$13, _templateObject2$X;
46072
46234
  var MessagesScrollToBottomButton = function MessagesScrollToBottomButton(_ref) {
46073
46235
  var buttonIcon = _ref.buttonIcon,
46074
46236
  buttonWidth = _ref.buttonWidth,
@@ -46151,7 +46313,7 @@ var MessagesScrollToBottomButton = function MessagesScrollToBottomButton(_ref) {
46151
46313
  isMuted: channel.muted
46152
46314
  }, channel.newMessageCount ? channel.newMessageCount > 99 ? '99+' : channel.newMessageCount : '')), buttonIcon || /*#__PURE__*/React__default.createElement(SvgChevronDown, null)));
46153
46315
  };
46154
- var BottomButton = styled__default.div(_templateObject$12 || (_templateObject$12 = _taggedTemplateLiteralLoose(["\n transition: all 0.3s ease-in-out;\n position: absolute;\n ", ";\n\n ", ";\n\n ", ";\n right: ", "px;\n\n margin-right: 16px;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ", ";\n border: 0.5px solid rgba(0, 0, 0, 0.1);\n border-radius: 50px;\n width: 48px;\n height: 48px;\n cursor: pointer;\n z-index: 14;\n & > svg {\n color: rgba(129, 140, 153, 1);\n }\n\n & > span {\n bottom: 32px;\n right: 0;\n }\n"])), function (props) {
46316
+ var BottomButton = styled__default.div(_templateObject$13 || (_templateObject$13 = _taggedTemplateLiteralLoose(["\n transition: all 0.3s ease-in-out;\n position: absolute;\n ", ";\n\n ", ";\n\n ", ";\n right: ", "px;\n\n margin-right: 16px;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ", ";\n border: 0.5px solid rgba(0, 0, 0, 0.1);\n border-radius: 50px;\n width: 48px;\n height: 48px;\n cursor: pointer;\n z-index: 14;\n & > svg {\n color: rgba(129, 140, 153, 1);\n }\n\n & > span {\n bottom: 32px;\n right: 0;\n }\n"])), function (props) {
46155
46317
  return props.animateFrom === 'bottom' && "bottom: " + (props.bottomOffset + (props.bottomPosition === undefined ? 45 : props.bottomPosition) - 130) + "px";
46156
46318
  }, function (props) {
46157
46319
  return props.animateFrom === 'right' && "right: " + (props.rightPosition === undefined ? 16 : props.rightPosition - 100) + "px";
@@ -46162,7 +46324,7 @@ var BottomButton = styled__default.div(_templateObject$12 || (_templateObject$12
46162
46324
  }, function (props) {
46163
46325
  return props.backgroundColor;
46164
46326
  });
46165
- var UnreadCount$1 = styled__default.span(_templateObject2$W || (_templateObject2$W = _taggedTemplateLiteralLoose(["\n position: absolute;\n bottom: 11px;\n right: 16px;\n flex: 0 0 auto;\n margin-left: auto;\n background-color: ", ";\n padding: 0 4px;\n font-size: ", ";\n line-height: 20px;\n min-width: ", ";\n height: ", ";\n text-align: center;\n font-weight: 500;\n color: ", ";\n border-radius: 10px;\n box-sizing: border-box;\n"])), function (props) {
46327
+ var UnreadCount$1 = styled__default.span(_templateObject2$X || (_templateObject2$X = _taggedTemplateLiteralLoose(["\n position: absolute;\n bottom: 11px;\n right: 16px;\n flex: 0 0 auto;\n margin-left: auto;\n background-color: ", ";\n padding: 0 4px;\n font-size: ", ";\n line-height: 20px;\n min-width: ", ";\n height: ", ";\n text-align: center;\n font-weight: 500;\n color: ", ";\n border-radius: 10px;\n box-sizing: border-box;\n"])), function (props) {
46166
46328
  return props.backgroundColor;
46167
46329
  }, function (props) {
46168
46330
  return props.fontSize || '13px';
@@ -46174,29 +46336,29 @@ var UnreadCount$1 = styled__default.span(_templateObject2$W || (_templateObject2
46174
46336
  return props.textColor || '#fff';
46175
46337
  });
46176
46338
 
46177
- var _path$1z, _path2$b;
46178
- function _extends$1D() {
46179
- return _extends$1D = Object.assign ? Object.assign.bind() : function (n) {
46339
+ var _path$1A, _path2$c;
46340
+ function _extends$1E() {
46341
+ return _extends$1E = Object.assign ? Object.assign.bind() : function (n) {
46180
46342
  for (var e = 1; e < arguments.length; e++) {
46181
46343
  var t = arguments[e];
46182
46344
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
46183
46345
  }
46184
46346
  return n;
46185
- }, _extends$1D.apply(null, arguments);
46347
+ }, _extends$1E.apply(null, arguments);
46186
46348
  }
46187
46349
  function SvgMention(props) {
46188
- return /*#__PURE__*/React.createElement("svg", _extends$1D({
46350
+ return /*#__PURE__*/React.createElement("svg", _extends$1E({
46189
46351
  width: 24,
46190
46352
  height: 24,
46191
46353
  fill: "none",
46192
46354
  xmlns: "http://www.w3.org/2000/svg"
46193
- }, props), _path$1z || (_path$1z = /*#__PURE__*/React.createElement("path", {
46355
+ }, props), _path$1A || (_path$1A = /*#__PURE__*/React.createElement("path", {
46194
46356
  d: "M12 15.6a3.6 3.6 0 100-7.2 3.6 3.6 0 000 7.2z",
46195
46357
  stroke: "currentColor",
46196
46358
  strokeWidth: 1.8,
46197
46359
  strokeLinecap: "round",
46198
46360
  strokeLinejoin: "round"
46199
- })), _path2$b || (_path2$b = /*#__PURE__*/React.createElement("path", {
46361
+ })), _path2$c || (_path2$c = /*#__PURE__*/React.createElement("path", {
46200
46362
  d: "M15.6 8.4v4.5a2.7 2.7 0 005.4 0V12a9 9 0 10-3.528 7.145",
46201
46363
  stroke: "currentColor",
46202
46364
  strokeWidth: 1.8,
@@ -46205,7 +46367,7 @@ function SvgMention(props) {
46205
46367
  })));
46206
46368
  }
46207
46369
 
46208
- var _templateObject$13, _templateObject2$X;
46370
+ var _templateObject$14, _templateObject2$Y;
46209
46371
  var MessagesScrollToUnreadMentionsButton = function MessagesScrollToUnreadMentionsButton(_ref) {
46210
46372
  var buttonIcon = _ref.buttonIcon,
46211
46373
  buttonWidth = _ref.buttonWidth,
@@ -46348,7 +46510,7 @@ var MessagesScrollToUnreadMentionsButton = function MessagesScrollToUnreadMentio
46348
46510
  isMuted: channel.muted
46349
46511
  }, channel.newMentionCount ? channel.newMentionCount > 99 ? '99+' : channel.newMentionCount : '')), buttonIcon || /*#__PURE__*/React__default.createElement(SvgMention, null)));
46350
46512
  };
46351
- var BottomButton$1 = styled__default.div(_templateObject$13 || (_templateObject$13 = _taggedTemplateLiteralLoose(["\n transition: all 0.3s ease-in-out;\n position: absolute;\n ", ";\n\n ", ";\n\n ", ";\n right: ", ";\n margin-right: 16px;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ", ";\n border: 0.5px solid rgba(0, 0, 0, 0.1);\n border-radius: 50px;\n width: 48px;\n height: 48px;\n cursor: pointer;\n z-index: 14;\n\n & > svg {\n color: rgba(129, 140, 153, 1);\n }\n\n & > span {\n bottom: 32px;\n right: 0;\n }\n"])), function (props) {
46513
+ var BottomButton$1 = styled__default.div(_templateObject$14 || (_templateObject$14 = _taggedTemplateLiteralLoose(["\n transition: all 0.3s ease-in-out;\n position: absolute;\n ", ";\n\n ", ";\n\n ", ";\n right: ", ";\n margin-right: 16px;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ", ";\n border: 0.5px solid rgba(0, 0, 0, 0.1);\n border-radius: 50px;\n width: 48px;\n height: 48px;\n cursor: pointer;\n z-index: 14;\n\n & > svg {\n color: rgba(129, 140, 153, 1);\n }\n\n & > span {\n bottom: 32px;\n right: 0;\n }\n"])), function (props) {
46352
46514
  return props.animateFrom === 'bottom' && "bottom: " + (props.bottomOffset + (props.bottomPosition === undefined ? 45 : props.bottomPosition) + (props.showsUnreadMentionsButton ? 60 : 0) - 180) + "px";
46353
46515
  }, function (props) {
46354
46516
  return props.animateFrom === 'right' && "right: " + (props.rightPosition === undefined ? 16 : props.rightPosition - 100) + "px";
@@ -46359,7 +46521,7 @@ var BottomButton$1 = styled__default.div(_templateObject$13 || (_templateObject$
46359
46521
  }, function (props) {
46360
46522
  return props.backgroundColor;
46361
46523
  });
46362
- var UnreadCount$2 = styled__default.span(_templateObject2$X || (_templateObject2$X = _taggedTemplateLiteralLoose(["\n position: absolute;\n bottom: 11px;\n right: 16px;\n flex: 0 0 auto;\n margin-left: auto;\n background-color: ", ";\n padding: 0 4px;\n font-size: ", ";\n line-height: 20px;\n min-width: ", ";\n height: ", ";\n text-align: center;\n font-weight: 500;\n color: ", ";\n border-radius: 10px;\n box-sizing: border-box;\n"])), function (props) {
46524
+ var UnreadCount$2 = styled__default.span(_templateObject2$Y || (_templateObject2$Y = _taggedTemplateLiteralLoose(["\n position: absolute;\n bottom: 11px;\n right: 16px;\n flex: 0 0 auto;\n margin-left: auto;\n background-color: ", ";\n padding: 0 4px;\n font-size: ", ";\n line-height: 20px;\n min-width: ", ";\n height: ", ";\n text-align: center;\n font-weight: 500;\n color: ", ";\n border-radius: 10px;\n box-sizing: border-box;\n"])), function (props) {
46363
46525
  return props.backgroundColor;
46364
46526
  }, function (props) {
46365
46527
  return props.fontSize || '13px';