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

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.modern.js CHANGED
@@ -11085,11 +11085,6 @@ function setPollVotesLoadingStateAC(pollId, optionId, loadingState) {
11085
11085
  loadingState: loadingState
11086
11086
  });
11087
11087
  }
11088
- function setPollVotesInitialCountAC(initialCount) {
11089
- return setPollVotesInitialCount({
11090
- initialCount: initialCount
11091
- });
11092
- }
11093
11088
 
11094
11089
  var initialState$1 = {
11095
11090
  messagesLoadingState: null,
@@ -11679,8 +11674,7 @@ var _messageSlice$actions = messageSlice.actions,
11679
11674
  setPollVotesList = _messageSlice$actions.setPollVotesList,
11680
11675
  addPollVotesToList = _messageSlice$actions.addPollVotesToList,
11681
11676
  setPollVotesLoadingState = _messageSlice$actions.setPollVotesLoadingState,
11682
- deletePollVotesFromList = _messageSlice$actions.deletePollVotesFromList,
11683
- setPollVotesInitialCount = _messageSlice$actions.setPollVotesInitialCount;
11677
+ deletePollVotesFromList = _messageSlice$actions.deletePollVotesFromList;
11684
11678
  var MessageReducer = messageSlice.reducer;
11685
11679
 
11686
11680
  var initialState$2 = {
@@ -14339,7 +14333,7 @@ function watchForEvents() {
14339
14333
  };
14340
14334
  });
14341
14335
  _loop = /*#__PURE__*/_regenerator().m(function _callee() {
14342
- 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;
14336
+ 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;
14343
14337
  return _regenerator().w(function (_context) {
14344
14338
  while (1) switch (_context.n) {
14345
14339
  case 0:
@@ -14350,7 +14344,7 @@ function watchForEvents() {
14350
14344
  type = _yield$take.type;
14351
14345
  args = _yield$take.args;
14352
14346
  _t = type;
14353
- _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;
14347
+ _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;
14354
14348
  break;
14355
14349
  case 2:
14356
14350
  createdChannel = args.createdChannel;
@@ -14384,7 +14378,7 @@ function watchForEvents() {
14384
14378
  addChannelToAllChannels(createdChannel);
14385
14379
  }
14386
14380
  case 6:
14387
- return _context.a(3, 159);
14381
+ return _context.a(3, 160);
14388
14382
  case 7:
14389
14383
  channel = args.channel;
14390
14384
  log.info('channel JOIN ... . ', channel);
@@ -14395,7 +14389,7 @@ function watchForEvents() {
14395
14389
  if (!_chan2) {
14396
14390
  addChannelToAllChannels(channel);
14397
14391
  }
14398
- return _context.a(3, 159);
14392
+ return _context.a(3, 160);
14399
14393
  case 9:
14400
14394
  _channel = args.channel, member = args.member;
14401
14395
  log.info('channel LEAVE ... ', _channel, member);
@@ -14454,7 +14448,7 @@ function watchForEvents() {
14454
14448
  mutedTill: _channel.mutedTill
14455
14449
  });
14456
14450
  case 18:
14457
- return _context.a(3, 159);
14451
+ return _context.a(3, 160);
14458
14452
  case 19:
14459
14453
  log.info('channel BLOCK ... ');
14460
14454
  _channel2 = args.channel;
@@ -14466,10 +14460,10 @@ function watchForEvents() {
14466
14460
  _context.n = 20;
14467
14461
  return put(removeChannelAC(_channel2.id));
14468
14462
  case 20:
14469
- return _context.a(3, 159);
14463
+ return _context.a(3, 160);
14470
14464
  case 21:
14471
14465
  log.info('channel UNBLOCK ... ');
14472
- return _context.a(3, 159);
14466
+ return _context.a(3, 160);
14473
14467
  case 22:
14474
14468
  _channel3 = args.channel, removedMembers = args.removedMembers;
14475
14469
  log.info('channel KICK_MEMBERS ... ', removedMembers);
@@ -14539,7 +14533,7 @@ function watchForEvents() {
14539
14533
  muted: _channel3.muted,
14540
14534
  mutedTill: _channel3.mutedTill
14541
14535
  });
14542
- return _context.a(3, 159);
14536
+ return _context.a(3, 160);
14543
14537
  case 33:
14544
14538
  _channel4 = args.channel, addedMembers = args.addedMembers;
14545
14539
  log.info('channel ADD_MEMBERS ... ', addedMembers);
@@ -14594,7 +14588,7 @@ function watchForEvents() {
14594
14588
  muted: _channel4.muted,
14595
14589
  mutedTill: _channel4.mutedTill
14596
14590
  });
14597
- return _context.a(3, 159);
14591
+ return _context.a(3, 160);
14598
14592
  case 43:
14599
14593
  log.info('channel UPDATE_CHANNEL ... ');
14600
14594
  updatedChannel = args.updatedChannel;
@@ -14641,7 +14635,7 @@ function watchForEvents() {
14641
14635
  mutedTill: mutedTill,
14642
14636
  metadata: isJSON(metadata) ? JSON.parse(metadata) : metadata
14643
14637
  });
14644
- return _context.a(3, 159);
14638
+ return _context.a(3, 160);
14645
14639
  case 48:
14646
14640
  _channel5 = args.channel, message = args.message;
14647
14641
  log.info('channel MESSAGE ... id : ', message.id, ', channel.id: ', _channel5.id);
@@ -14806,7 +14800,7 @@ function watchForEvents() {
14806
14800
  });
14807
14801
  updateChannelLastMessageOnAllChannels(_channel5.id, _channel5.lastMessage);
14808
14802
  case 64:
14809
- return _context.a(3, 159);
14803
+ return _context.a(3, 160);
14810
14804
  case 65:
14811
14805
  channelId = args.channelId, markerList = args.markerList;
14812
14806
  _context.n = 66;
@@ -14876,7 +14870,7 @@ function watchForEvents() {
14876
14870
  _context.n = 71;
14877
14871
  return put(updateMessagesMarkersAC(channelId, markerList.name, markerList));
14878
14872
  case 71:
14879
- return _context.a(3, 159);
14873
+ return _context.a(3, 160);
14880
14874
  case 72:
14881
14875
  _channelId = args.channelId;
14882
14876
  log.info('channel DELETE ... ');
@@ -14885,7 +14879,7 @@ function watchForEvents() {
14885
14879
  return put(setChannelToRemoveAC(_channel7));
14886
14880
  case 73:
14887
14881
  deleteChannelFromAllChannels(_channelId);
14888
- return _context.a(3, 159);
14882
+ return _context.a(3, 160);
14889
14883
  case 74:
14890
14884
  _channel8 = args.channel, deletedMessage = args.deletedMessage;
14891
14885
  _activeChannelId7 = getActiveChannelId();
@@ -14926,7 +14920,7 @@ function watchForEvents() {
14926
14920
  muted: _channel8.muted,
14927
14921
  mutedTill: _channel8.mutedTill
14928
14922
  }, deletedMessage);
14929
- return _context.a(3, 159);
14923
+ return _context.a(3, 160);
14930
14924
  case 78:
14931
14925
  _channel9 = args.channel, _message = args.message;
14932
14926
  _activeChannelId8 = getActiveChannelId();
@@ -14972,7 +14966,7 @@ function watchForEvents() {
14972
14966
  });
14973
14967
  }
14974
14968
  updateChannelOnAllChannels(_channel9.id, {}, _message);
14975
- return _context.a(3, 159);
14969
+ return _context.a(3, 160);
14976
14970
  case 82:
14977
14971
  _channel0 = args.channel, user = args.user, _message2 = args.message, reaction = args.reaction;
14978
14972
  isSelf = user.id === SceytChatClient.user.id;
@@ -15046,7 +15040,7 @@ function watchForEvents() {
15046
15040
  if (checkChannelExistsOnMessagesMap(_channel0.id)) {
15047
15041
  addReactionToMessageOnMap(_channel0.id, _message2, reaction, true);
15048
15042
  }
15049
- return _context.a(3, 159);
15043
+ return _context.a(3, 160);
15050
15044
  case 89:
15051
15045
  _channel1 = args.channel, pollDetails = args.pollDetails, messageId = args.messageId;
15052
15046
  _activeChannelId0 = getActiveChannelId();
@@ -15060,7 +15054,8 @@ function watchForEvents() {
15060
15054
  _context.n = 92;
15061
15055
  break;
15062
15056
  }
15063
- hasNext = ((_store$getState$Messa = store.getState().MessageReducer.pollVotesHasMore) === null || _store$getState$Messa === void 0 ? void 0 : _store$getState$Messa[pollDetails.id]) || false;
15057
+ key = pollDetails.id + "_" + addedVotes[0].optionId;
15058
+ hasNext = ((_store$getState$Messa = store.getState().MessageReducer.pollVotesHasMore) === null || _store$getState$Messa === void 0 ? void 0 : _store$getState$Messa[key]) || false;
15064
15059
  _iterator = _createForOfIteratorHelperLoose(addedVotes);
15065
15060
  case 90:
15066
15061
  if ((_step = _iterator()).done) {
@@ -15079,14 +15074,14 @@ function watchForEvents() {
15079
15074
  params: {}
15080
15075
  }, obj);
15081
15076
  if (!(_channel1.id === _activeChannelId0)) {
15082
- _context.n = 94;
15077
+ _context.n = 93;
15083
15078
  break;
15084
15079
  }
15085
15080
  updateMessageOnAllMessages(messageId, {}, obj);
15086
15081
  _context.n = 93;
15087
15082
  return put(updateMessageAC(messageId, {}, undefined, obj));
15088
15083
  case 93:
15089
- return _context.a(3, 159);
15084
+ return _context.a(3, 160);
15090
15085
  case 94:
15091
15086
  _channel10 = args.channel, _pollDetails = args.pollDetails, _messageId = args.messageId;
15092
15087
  _activeChannelId1 = getActiveChannelId();
@@ -15116,7 +15111,7 @@ function watchForEvents() {
15116
15111
  votesPerOption: _pollDetails.votesPerOption
15117
15112
  });
15118
15113
  if (!(_channel10.id === _activeChannelId1)) {
15119
- _context.n = 99;
15114
+ _context.n = 98;
15120
15115
  break;
15121
15116
  }
15122
15117
  updateMessageOnAllMessages(_messageId, {}, {
@@ -15129,10 +15124,8 @@ function watchForEvents() {
15129
15124
  votesPerOption: _pollDetails.votesPerOption || {}
15130
15125
  }));
15131
15126
  case 98:
15132
- return _context.a(3, 159);
15127
+ return _context.a(3, 160);
15133
15128
  case 99:
15134
- return _context.a(3, 159);
15135
- case 100:
15136
15129
  _channel11 = args.channel, _pollDetails2 = args.pollDetails, _messageId2 = args.messageId;
15137
15130
  _activeChannelId10 = getActiveChannelId();
15138
15131
  retractedVotes = (_pollDetails2 === null || _pollDetails2 === void 0 ? void 0 : _pollDetails2.votes) || [];
@@ -15143,24 +15136,39 @@ function watchForEvents() {
15143
15136
  deletedVotes: retractedVotes,
15144
15137
  votesPerOption: _pollDetails2.votesPerOption
15145
15138
  });
15146
- if (!(_channel11.id === _activeChannelId10)) {
15139
+ if (!(_pollDetails2 !== null && _pollDetails2 !== void 0 && _pollDetails2.id && retractedVotes.length > 0)) {
15147
15140
  _context.n = 102;
15148
15141
  break;
15149
15142
  }
15143
+ _iterator3 = _createForOfIteratorHelperLoose(retractedVotes);
15144
+ case 100:
15145
+ if ((_step3 = _iterator3()).done) {
15146
+ _context.n = 102;
15147
+ break;
15148
+ }
15149
+ _vote2 = _step3.value;
15150
+ _context.n = 101;
15151
+ return put(deletePollVotesFromListAC(_pollDetails2.id, _vote2.optionId, [_vote2], _messageId2));
15152
+ case 101:
15153
+ _context.n = 100;
15154
+ break;
15155
+ case 102:
15156
+ if (!(_channel11.id === _activeChannelId10)) {
15157
+ _context.n = 103;
15158
+ break;
15159
+ }
15150
15160
  updateMessageOnAllMessages(_messageId2, {}, {
15151
15161
  deletedVotes: retractedVotes,
15152
15162
  votesPerOption: _pollDetails2.votesPerOption || {}
15153
15163
  });
15154
- _context.n = 101;
15164
+ _context.n = 103;
15155
15165
  return put(updateMessageAC(_messageId2, {}, undefined, {
15156
15166
  deletedVotes: retractedVotes,
15157
15167
  votesPerOption: _pollDetails2.votesPerOption || {}
15158
15168
  }));
15159
- case 101:
15160
- return _context.a(3, 159);
15161
- case 102:
15162
- return _context.a(3, 159);
15163
15169
  case 103:
15170
+ return _context.a(3, 160);
15171
+ case 104:
15164
15172
  _channel12 = args.channel, _messageId3 = args.messageId;
15165
15173
  _activeChannelId11 = getActiveChannelId();
15166
15174
  updateMessageOnMap(_channel12.id, {
@@ -15170,55 +15178,55 @@ function watchForEvents() {
15170
15178
  closed: true
15171
15179
  });
15172
15180
  if (!(_channel12.id === _activeChannelId11)) {
15173
- _context.n = 105;
15181
+ _context.n = 106;
15174
15182
  break;
15175
15183
  }
15176
15184
  updateMessageOnAllMessages(_messageId3, {}, {
15177
15185
  closed: true
15178
15186
  });
15179
- _context.n = 104;
15187
+ _context.n = 105;
15180
15188
  return put(updateMessageAC(_messageId3, {}, undefined, {
15181
15189
  closed: true
15182
15190
  }));
15183
- case 104:
15184
- return _context.a(3, 159);
15185
15191
  case 105:
15186
- return _context.a(3, 159);
15192
+ return _context.a(3, 160);
15187
15193
  case 106:
15194
+ return _context.a(3, 160);
15195
+ case 107:
15188
15196
  _channel13 = args.channel, _user = args.user, _message3 = args.message, _reaction = args.reaction;
15189
15197
  log.info('channel REACTION_DELETED ... ', _channel13);
15190
15198
  channelFromMap = getChannelFromMap(_channel13.id);
15191
15199
  _isSelf = _user.id === SceytChatClient.user.id;
15192
15200
  _activeChannelId12 = getActiveChannelId();
15193
15201
  if (!(_channel13.id === _activeChannelId12)) {
15194
- _context.n = 108;
15202
+ _context.n = 109;
15195
15203
  break;
15196
15204
  }
15197
- _context.n = 107;
15205
+ _context.n = 108;
15198
15206
  return put(deleteReactionFromMessageAC(_message3, _reaction, _isSelf));
15199
- case 107:
15200
- removeReactionOnAllMessages(_message3, _reaction, true);
15201
15207
  case 108:
15208
+ removeReactionOnAllMessages(_message3, _reaction, true);
15209
+ case 109:
15202
15210
  _channelUpdateParams = JSON.parse(JSON.stringify(_channel13));
15203
15211
  if (channelFromMap && channelFromMap.lastReactedMessage && channelFromMap.lastReactedMessage.id === _message3.id) {
15204
15212
  _channelUpdateParams.lastReactedMessage = null;
15205
15213
  }
15206
- _context.n = 109;
15214
+ _context.n = 110;
15207
15215
  return put(updateChannelDataAC(_channel13.id, _channelUpdateParams));
15208
- case 109:
15216
+ case 110:
15209
15217
  updateChannelOnAllChannels(_channel13.id, _channelUpdateParams);
15210
15218
  if (checkChannelExistsOnMessagesMap(_channel13.id)) {
15211
15219
  removeReactionToMessageOnMap(_channel13.id, _message3, _reaction, true);
15212
15220
  }
15213
- return _context.a(3, 159);
15214
- case 110:
15221
+ return _context.a(3, 160);
15222
+ case 111:
15215
15223
  _channel14 = args.channel;
15216
15224
  if (!_channel14) {
15217
- _context.n = 112;
15225
+ _context.n = 113;
15218
15226
  break;
15219
15227
  }
15220
15228
  _updatedChannel = JSON.parse(JSON.stringify(_channel14));
15221
- _context.n = 111;
15229
+ _context.n = 112;
15222
15230
  return put(updateChannelDataAC(_channel14.id, {
15223
15231
  lastMessage: _channel14.lastMessage,
15224
15232
  newMessageCount: _channel14.newMessageCount,
@@ -15231,36 +15239,36 @@ function watchForEvents() {
15231
15239
  lastDisplayedMessageId: _channel14.lastDisplayedMessageId,
15232
15240
  messageRetentionPeriod: _channel14.messageRetentionPeriod
15233
15241
  }));
15234
- case 111:
15235
- updateChannelOnAllChannels(_channel14.id, _updatedChannel);
15236
15242
  case 112:
15237
- return _context.a(3, 159);
15243
+ updateChannelOnAllChannels(_channel14.id, _updatedChannel);
15238
15244
  case 113:
15245
+ return _context.a(3, 160);
15246
+ case 114:
15239
15247
  _channel15 = args.channel;
15240
15248
  log.info('CLEAR_HISTORY: ', _channel15);
15241
- _context.n = 114;
15249
+ _context.n = 115;
15242
15250
  return call(getActiveChannelId);
15243
- case 114:
15251
+ case 115:
15244
15252
  _activeChannelId13 = _context.v;
15245
- _context.n = 115;
15253
+ _context.n = 116;
15246
15254
  return call(checkChannelExists, _channel15.id);
15247
- case 115:
15255
+ case 116:
15248
15256
  channelExist = _context.v;
15249
15257
  if (!(_channel15.id === _activeChannelId13)) {
15250
- _context.n = 117;
15258
+ _context.n = 118;
15251
15259
  break;
15252
15260
  }
15253
- _context.n = 116;
15261
+ _context.n = 117;
15254
15262
  return put(clearMessagesAC());
15255
- case 116:
15256
- removeAllMessages();
15257
15263
  case 117:
15264
+ removeAllMessages();
15265
+ case 118:
15258
15266
  removeMessagesFromMap(_channel15.id);
15259
15267
  if (!channelExist) {
15260
- _context.n = 118;
15268
+ _context.n = 119;
15261
15269
  break;
15262
15270
  }
15263
- _context.n = 118;
15271
+ _context.n = 119;
15264
15272
  return put(updateChannelDataAC(_channel15.id, {
15265
15273
  lastMessage: null,
15266
15274
  newMessageCount: 0,
@@ -15268,7 +15276,7 @@ function watchForEvents() {
15268
15276
  muted: _channel15.muted,
15269
15277
  mutedTill: _channel15.mutedTill
15270
15278
  }));
15271
- case 118:
15279
+ case 119:
15272
15280
  updateChannelOnAllChannels(_channel15.id, {
15273
15281
  lastMessage: null,
15274
15282
  newMessageCount: 0,
@@ -15276,173 +15284,173 @@ function watchForEvents() {
15276
15284
  muted: _channel15.muted,
15277
15285
  mutedTill: _channel15.mutedTill
15278
15286
  });
15279
- return _context.a(3, 159);
15280
- case 119:
15287
+ return _context.a(3, 160);
15288
+ case 120:
15281
15289
  _channel16 = args.channel;
15282
15290
  log.info('channel MUTE ... ');
15283
- _context.n = 120;
15291
+ _context.n = 121;
15284
15292
  return put(updateChannelDataAC(_channel16.id, {
15285
15293
  muted: _channel16.muted,
15286
15294
  mutedTill: _channel16.mutedTill
15287
15295
  }));
15288
- case 120:
15296
+ case 121:
15289
15297
  updateChannelOnAllChannels(_channel16.id, {
15290
15298
  muted: _channel16.muted,
15291
15299
  mutedTill: _channel16.mutedTill
15292
15300
  });
15293
- return _context.a(3, 159);
15294
- case 121:
15301
+ return _context.a(3, 160);
15302
+ case 122:
15295
15303
  _channel17 = args.channel;
15296
15304
  log.info('channel UNMUTE ... ');
15297
- _context.n = 122;
15305
+ _context.n = 123;
15298
15306
  return put(updateChannelDataAC(_channel17.id, {
15299
15307
  muted: _channel17.muted,
15300
15308
  mutedTill: _channel17.mutedTill
15301
15309
  }));
15302
- case 122:
15310
+ case 123:
15303
15311
  updateChannelOnAllChannels(_channel17.id, {
15304
15312
  muted: _channel17.muted,
15305
15313
  mutedTill: _channel17.mutedTill
15306
15314
  });
15307
- return _context.a(3, 159);
15308
- case 123:
15315
+ return _context.a(3, 160);
15316
+ case 124:
15309
15317
  _channel18 = args.channel;
15310
15318
  log.info('channel PINED ... ');
15311
- _context.n = 124;
15319
+ _context.n = 125;
15312
15320
  return put(updateChannelDataAC(_channel18.id, {
15313
15321
  pinnedAt: _channel18.pinnedAt
15314
15322
  }, true));
15315
- case 124:
15323
+ case 125:
15316
15324
  updateChannelOnAllChannels(_channel18.id, {
15317
15325
  pinnedAt: _channel18.pinnedAt
15318
15326
  });
15319
- return _context.a(3, 159);
15320
- case 125:
15327
+ return _context.a(3, 160);
15328
+ case 126:
15321
15329
  _channel19 = args.channel;
15322
15330
  log.info('channel UNPINED ... ');
15323
- _context.n = 126;
15331
+ _context.n = 127;
15324
15332
  return put(updateChannelDataAC(_channel19.id, {
15325
15333
  pinnedAt: _channel19.pinnedAt
15326
15334
  }, false, true));
15327
- case 126:
15335
+ case 127:
15328
15336
  updateChannelOnAllChannels(_channel19.id, {
15329
15337
  pinnedAt: _channel19.pinnedAt
15330
15338
  });
15331
- return _context.a(3, 159);
15332
- case 127:
15339
+ return _context.a(3, 160);
15340
+ case 128:
15333
15341
  _channel20 = args.channel;
15334
15342
  log.info('channel HIDE ... ');
15335
- _context.n = 128;
15343
+ _context.n = 129;
15336
15344
  return put(setChannelToHideAC(_channel20));
15337
- case 128:
15338
- return _context.a(3, 159);
15339
15345
  case 129:
15346
+ return _context.a(3, 160);
15347
+ case 130:
15340
15348
  _channel21 = args.channel;
15341
15349
  log.info('channel UNHIDE ... ');
15342
- _context.n = 130;
15350
+ _context.n = 131;
15343
15351
  return put(setChannelToUnHideAC(_channel21));
15344
- case 130:
15345
- return _context.a(3, 159);
15346
15352
  case 131:
15353
+ return _context.a(3, 160);
15354
+ case 132:
15347
15355
  _channel22 = args.channel;
15348
- _context.n = 132;
15356
+ _context.n = 133;
15349
15357
  return put(updateChannelDataAC(_channel22.id, {
15350
15358
  unread: _channel22.unread,
15351
15359
  muted: _channel22.muted,
15352
15360
  mutedTill: _channel22.mutedTill
15353
15361
  }));
15354
- case 132:
15362
+ case 133:
15355
15363
  _groupName5 = getChannelGroupName(_channel22);
15356
- _context.n = 133;
15364
+ _context.n = 134;
15357
15365
  return put(updateSearchedChannelDataAC(_channel22.id, {
15358
15366
  unread: _channel22.unread
15359
15367
  }, _groupName5));
15360
- case 133:
15368
+ case 134:
15361
15369
  updateChannelOnAllChannels(_channel22.id, {
15362
15370
  unread: _channel22.unread
15363
15371
  });
15364
- return _context.a(3, 159);
15365
- case 134:
15372
+ return _context.a(3, 160);
15373
+ case 135:
15366
15374
  _channel23 = args.channel;
15367
- _context.n = 135;
15375
+ _context.n = 136;
15368
15376
  return put(updateChannelDataAC(_channel23.id, {
15369
15377
  unread: _channel23.unread,
15370
15378
  muted: _channel23.muted,
15371
15379
  mutedTill: _channel23.mutedTill
15372
15380
  }));
15373
- case 135:
15381
+ case 136:
15374
15382
  _groupName6 = getChannelGroupName(_channel23);
15375
- _context.n = 136;
15383
+ _context.n = 137;
15376
15384
  return put(updateSearchedChannelDataAC(_channel23.id, {
15377
15385
  unread: _channel23.unread
15378
15386
  }, _groupName6));
15379
- case 136:
15387
+ case 137:
15380
15388
  updateChannelOnAllChannels(_channel23.id, {
15381
15389
  unread: _channel23.unread
15382
15390
  });
15383
- return _context.a(3, 159);
15384
- case 137:
15391
+ return _context.a(3, 160);
15392
+ case 138:
15385
15393
  _channel24 = args.channel, members = args.members;
15386
15394
  log.info('channel CHANGE_ROLE channel ... ', _channel24);
15387
15395
  log.info('channel CHANGE_ROLE member ... ', members);
15388
- _context.n = 138;
15396
+ _context.n = 139;
15389
15397
  return call(getActiveChannelId);
15390
- case 138:
15398
+ case 139:
15391
15399
  _activeChannelId14 = _context.v;
15392
15400
  if (!(_channel24.id === _activeChannelId14)) {
15393
- _context.n = 139;
15401
+ _context.n = 140;
15394
15402
  break;
15395
15403
  }
15396
- _context.n = 139;
15404
+ _context.n = 140;
15397
15405
  return put(updateMembersAC(members));
15398
- case 139:
15399
- i = 0;
15400
15406
  case 140:
15407
+ i = 0;
15408
+ case 141:
15401
15409
  if (!(i < members.length)) {
15402
- _context.n = 143;
15410
+ _context.n = 144;
15403
15411
  break;
15404
15412
  }
15405
15413
  if (!(members[i].id === SceytChatClient.user.id)) {
15406
- _context.n = 142;
15414
+ _context.n = 143;
15407
15415
  break;
15408
15416
  }
15409
- _context.n = 141;
15417
+ _context.n = 142;
15410
15418
  return put(updateChannelDataAC(_channel24.id, {
15411
15419
  userRole: members[i].role,
15412
15420
  muted: _channel24.muted,
15413
15421
  mutedTill: _channel24.mutedTill
15414
15422
  }));
15415
- case 141:
15423
+ case 142:
15416
15424
  updateChannelOnAllChannels(_channel24.id, {
15417
15425
  userRole: members[i].role,
15418
15426
  muted: _channel24.muted,
15419
15427
  mutedTill: _channel24.mutedTill
15420
15428
  });
15421
- case 142:
15429
+ case 143:
15422
15430
  i++;
15423
- _context.n = 140;
15431
+ _context.n = 141;
15424
15432
  break;
15425
- case 143:
15426
- return _context.a(3, 159);
15427
15433
  case 144:
15434
+ return _context.a(3, 160);
15435
+ case 145:
15428
15436
  _channel25 = args.channel;
15429
15437
  log.info('channel frozen channel ... ', _channel25);
15430
- return _context.a(3, 159);
15431
- case 145:
15438
+ return _context.a(3, 160);
15439
+ case 146:
15432
15440
  _channel26 = args.channel;
15433
15441
  log.info('channel unfrozen channel ... ', _channel26);
15434
- return _context.a(3, 159);
15435
- case 146:
15442
+ return _context.a(3, 160);
15443
+ case 147:
15436
15444
  _channelId2 = args.channelId, from = args.from, name = args.name;
15437
15445
  log.info('channel event received >>>... . . . . . ', args);
15438
15446
  if (!(from.id === SceytChatClient.user.id)) {
15439
- _context.n = 147;
15447
+ _context.n = 148;
15440
15448
  break;
15441
15449
  }
15442
- return _context.a(3, 159);
15443
- case 147:
15450
+ return _context.a(3, 160);
15451
+ case 148:
15444
15452
  if (!(name === 'start_typing')) {
15445
- _context.n = 149;
15453
+ _context.n = 150;
15446
15454
  break;
15447
15455
  }
15448
15456
  if (!usersTimeout[_channelId2]) {
@@ -15454,27 +15462,27 @@ function watchForEvents() {
15454
15462
  usersTimeout[_channelId2][from.id] = setTimeout(function () {
15455
15463
  channelListener.onReceivedChannelEvent(_channelId2, from, 'stop_typing');
15456
15464
  }, 5000);
15457
- _context.n = 148;
15465
+ _context.n = 149;
15458
15466
  return put(switchTypingIndicatorAC(true, _channelId2, from));
15459
- case 148:
15460
- _context.n = 154;
15461
- break;
15462
15467
  case 149:
15468
+ _context.n = 155;
15469
+ break;
15470
+ case 150:
15463
15471
  if (!(name === 'stop_typing')) {
15464
- _context.n = 151;
15472
+ _context.n = 152;
15465
15473
  break;
15466
15474
  }
15467
15475
  if (usersTimeout[_channelId2] && usersTimeout[_channelId2][from.id]) {
15468
15476
  clearTimeout(usersTimeout[_channelId2][from.id]);
15469
15477
  }
15470
- _context.n = 150;
15478
+ _context.n = 151;
15471
15479
  return put(switchTypingIndicatorAC(false, _channelId2, from));
15472
- case 150:
15473
- _context.n = 154;
15474
- break;
15475
15480
  case 151:
15481
+ _context.n = 155;
15482
+ break;
15483
+ case 152:
15476
15484
  if (!(name === 'start_recording')) {
15477
- _context.n = 153;
15485
+ _context.n = 154;
15478
15486
  break;
15479
15487
  }
15480
15488
  if (!usersTimeout[_channelId2]) {
@@ -15486,40 +15494,40 @@ function watchForEvents() {
15486
15494
  usersTimeout[_channelId2][from.id] = setTimeout(function () {
15487
15495
  channelListener.onReceivedChannelEvent(_channelId2, from, 'stop_recording');
15488
15496
  }, 5000);
15489
- _context.n = 152;
15497
+ _context.n = 153;
15490
15498
  return put(switchRecordingIndicatorAC(true, _channelId2, from));
15491
- case 152:
15492
- _context.n = 154;
15493
- break;
15494
15499
  case 153:
15500
+ _context.n = 155;
15501
+ break;
15502
+ case 154:
15495
15503
  if (!(name === 'stop_recording')) {
15496
- _context.n = 154;
15504
+ _context.n = 155;
15497
15505
  break;
15498
15506
  }
15499
15507
  if (usersTimeout[_channelId2] && usersTimeout[_channelId2][from.id]) {
15500
15508
  clearTimeout(usersTimeout[_channelId2][from.id]);
15501
15509
  }
15502
- _context.n = 154;
15510
+ _context.n = 155;
15503
15511
  return put(switchRecordingIndicatorAC(false, _channelId2, from));
15504
- case 154:
15505
- return _context.a(3, 159);
15506
15512
  case 155:
15513
+ return _context.a(3, 160);
15514
+ case 156:
15507
15515
  status = args.status;
15508
15516
  log.info('connection status changed . . . . . ', status);
15509
- _context.n = 156;
15517
+ _context.n = 157;
15510
15518
  return put(setConnectionStatusAC(status));
15511
- case 156:
15519
+ case 157:
15512
15520
  if (!(status === CONNECTION_STATUS.CONNECTED)) {
15513
- _context.n = 157;
15521
+ _context.n = 158;
15514
15522
  break;
15515
15523
  }
15516
- _context.n = 157;
15524
+ _context.n = 158;
15517
15525
  return put(getRolesAC());
15518
- case 157:
15519
- return _context.a(3, 159);
15520
15526
  case 158:
15521
- log.warn('UNHANDLED EVENT FROM REDUX-SAGA EVENT-CHANNEL');
15527
+ return _context.a(3, 160);
15522
15528
  case 159:
15529
+ log.warn('UNHANDLED EVENT FROM REDUX-SAGA EVENT-CHANNEL');
15530
+ case 160:
15523
15531
  return _context.a(2);
15524
15532
  }
15525
15533
  }, _callee);
@@ -29208,24 +29216,22 @@ function _extends$S() {
29208
29216
  return n;
29209
29217
  }, _extends$S.apply(null, arguments);
29210
29218
  }
29211
- function SvgEndVote(props) {
29219
+ function SvgRetractVote(props) {
29212
29220
  return /*#__PURE__*/createElement$1("svg", _extends$S({
29213
29221
  width: 18,
29214
29222
  height: 18,
29215
29223
  fill: "none",
29216
29224
  xmlns: "http://www.w3.org/2000/svg"
29217
29225
  }, props), _path$R || (_path$R = /*#__PURE__*/createElement$1("path", {
29218
- 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",
29226
+ 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",
29219
29227
  fill: "#818C99"
29220
29228
  })), _path2$5 || (_path2$5 = /*#__PURE__*/createElement$1("path", {
29221
- fillRule: "evenodd",
29222
- clipRule: "evenodd",
29223
- 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",
29229
+ 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",
29224
29230
  fill: "#818C99"
29225
29231
  })));
29226
29232
  }
29227
29233
 
29228
- var _path$S;
29234
+ var _path$S, _path2$6;
29229
29235
  function _extends$T() {
29230
29236
  return _extends$T = Object.assign ? Object.assign.bind() : function (n) {
29231
29237
  for (var e = 1; e < arguments.length; e++) {
@@ -29235,18 +29241,20 @@ function _extends$T() {
29235
29241
  return n;
29236
29242
  }, _extends$T.apply(null, arguments);
29237
29243
  }
29238
- function SvgCopyIcon(props) {
29244
+ function SvgEndVote(props) {
29239
29245
  return /*#__PURE__*/createElement$1("svg", _extends$T({
29240
- width: 20,
29241
- height: 20,
29242
- viewBox: "0 0 20.01 20.01",
29246
+ width: 18,
29247
+ height: 18,
29243
29248
  fill: "none",
29244
29249
  xmlns: "http://www.w3.org/2000/svg"
29245
29250
  }, props), _path$S || (_path$S = /*#__PURE__*/createElement$1("path", {
29251
+ 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",
29252
+ fill: "#818C99"
29253
+ })), _path2$6 || (_path2$6 = /*#__PURE__*/createElement$1("path", {
29246
29254
  fillRule: "evenodd",
29247
29255
  clipRule: "evenodd",
29248
- 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",
29249
- fill: "CurrentColor"
29256
+ 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",
29257
+ fill: "#818C99"
29250
29258
  })));
29251
29259
  }
29252
29260
 
@@ -29260,7 +29268,7 @@ function _extends$U() {
29260
29268
  return n;
29261
29269
  }, _extends$U.apply(null, arguments);
29262
29270
  }
29263
- function SvgReplyInThreadIcon(props) {
29271
+ function SvgCopyIcon(props) {
29264
29272
  return /*#__PURE__*/createElement$1("svg", _extends$U({
29265
29273
  width: 20,
29266
29274
  height: 20,
@@ -29270,7 +29278,7 @@ function SvgReplyInThreadIcon(props) {
29270
29278
  }, props), _path$T || (_path$T = /*#__PURE__*/createElement$1("path", {
29271
29279
  fillRule: "evenodd",
29272
29280
  clipRule: "evenodd",
29273
- 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",
29281
+ 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",
29274
29282
  fill: "CurrentColor"
29275
29283
  })));
29276
29284
  }
@@ -29285,22 +29293,22 @@ function _extends$V() {
29285
29293
  return n;
29286
29294
  }, _extends$V.apply(null, arguments);
29287
29295
  }
29288
- function SvgArrowDown(props) {
29296
+ function SvgReplyInThreadIcon(props) {
29289
29297
  return /*#__PURE__*/createElement$1("svg", _extends$V({
29290
29298
  width: 20,
29291
- height: 8,
29292
- viewBox: "0 0 20 20",
29299
+ height: 20,
29300
+ viewBox: "0 0 20.01 20.01",
29293
29301
  fill: "none",
29294
29302
  xmlns: "http://www.w3.org/2000/svg"
29295
29303
  }, props), _path$U || (_path$U = /*#__PURE__*/createElement$1("path", {
29296
29304
  fillRule: "evenodd",
29297
29305
  clipRule: "evenodd",
29298
- d: "M10 8C7 8 4 0 0 0h20c-3.975 0-7 8-10 8z",
29299
- fill: "currentColor"
29306
+ 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",
29307
+ fill: "CurrentColor"
29300
29308
  })));
29301
29309
  }
29302
29310
 
29303
- var _path$V, _path2$6, _path3$2;
29311
+ var _path$V;
29304
29312
  function _extends$W() {
29305
29313
  return _extends$W = Object.assign ? Object.assign.bind() : function (n) {
29306
29314
  for (var e = 1; e < arguments.length; e++) {
@@ -29310,18 +29318,43 @@ function _extends$W() {
29310
29318
  return n;
29311
29319
  }, _extends$W.apply(null, arguments);
29312
29320
  }
29313
- function SvgInfoAction(props) {
29321
+ function SvgArrowDown(props) {
29314
29322
  return /*#__PURE__*/createElement$1("svg", _extends$W({
29323
+ width: 20,
29324
+ height: 8,
29325
+ viewBox: "0 0 20 20",
29326
+ fill: "none",
29327
+ xmlns: "http://www.w3.org/2000/svg"
29328
+ }, props), _path$V || (_path$V = /*#__PURE__*/createElement$1("path", {
29329
+ fillRule: "evenodd",
29330
+ clipRule: "evenodd",
29331
+ d: "M10 8C7 8 4 0 0 0h20c-3.975 0-7 8-10 8z",
29332
+ fill: "currentColor"
29333
+ })));
29334
+ }
29335
+
29336
+ var _path$W, _path2$7, _path3$2;
29337
+ function _extends$X() {
29338
+ return _extends$X = Object.assign ? Object.assign.bind() : function (n) {
29339
+ for (var e = 1; e < arguments.length; e++) {
29340
+ var t = arguments[e];
29341
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
29342
+ }
29343
+ return n;
29344
+ }, _extends$X.apply(null, arguments);
29345
+ }
29346
+ function SvgInfoAction(props) {
29347
+ return /*#__PURE__*/createElement$1("svg", _extends$X({
29315
29348
  width: 18,
29316
29349
  height: 18,
29317
29350
  fill: "none",
29318
29351
  xmlns: "http://www.w3.org/2000/svg"
29319
- }, props), _path$V || (_path$V = /*#__PURE__*/createElement$1("path", {
29352
+ }, props), _path$W || (_path$W = /*#__PURE__*/createElement$1("path", {
29320
29353
  fillRule: "evenodd",
29321
29354
  clipRule: "evenodd",
29322
29355
  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",
29323
29356
  fill: "currentColor"
29324
- })), _path2$6 || (_path2$6 = /*#__PURE__*/createElement$1("path", {
29357
+ })), _path2$7 || (_path2$7 = /*#__PURE__*/createElement$1("path", {
29325
29358
  fillRule: "evenodd",
29326
29359
  clipRule: "evenodd",
29327
29360
  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",
@@ -29345,6 +29378,7 @@ function MessageActions(_ref) {
29345
29378
  handleReportMessage = _ref.handleReportMessage,
29346
29379
  messageStatus = _ref.messageStatus,
29347
29380
  handleSelectMessage = _ref.handleSelectMessage,
29381
+ handleRetractVote = _ref.handleRetractVote,
29348
29382
  handleEndVote = _ref.handleEndVote,
29349
29383
  handleReplyMessage = _ref.handleReplyMessage,
29350
29384
  handleOpenInfoMessage = _ref.handleOpenInfoMessage,
@@ -29366,6 +29400,7 @@ function MessageActions(_ref) {
29366
29400
  copyIcon = _ref.copyIcon,
29367
29401
  replyIcon = _ref.replyIcon,
29368
29402
  replyInThreadIcon = _ref.replyInThreadIcon,
29403
+ retractVoteIcon = _ref.retractVoteIcon,
29369
29404
  endVoteIcon = _ref.endVoteIcon,
29370
29405
  deleteIcon = _ref.deleteIcon,
29371
29406
  selectIcon = _ref.selectIcon,
@@ -29495,7 +29530,16 @@ function MessageActions(_ref) {
29495
29530
  disabledColor: textSecondary,
29496
29531
  bgColor: tooltipBackground,
29497
29532
  direction: 'top'
29498
- }, copyIconTooltipText || 'Copy', /*#__PURE__*/React__default.createElement(SvgArrowDown, null)), copyIcon || /*#__PURE__*/React__default.createElement(SvgCopyIcon, null))), !isPollMessage && (/*#__PURE__*/React__default.createElement(Action, {
29533
+ }, copyIconTooltipText || 'Copy', /*#__PURE__*/React__default.createElement(SvgArrowDown, null)), copyIcon || /*#__PURE__*/React__default.createElement(SvgCopyIcon, null))), isPollMessage && (/*#__PURE__*/React__default.createElement(Action, {
29534
+ onClick: handleRetractVote,
29535
+ iconColor: messageActionIconsColor || iconInactive,
29536
+ hoverBackgroundColor: backgroundHovered,
29537
+ hoverIconColor: accentColor
29538
+ }, /*#__PURE__*/React__default.createElement(ItemNote, {
29539
+ disabledColor: textSecondary,
29540
+ bgColor: tooltipBackground,
29541
+ direction: 'top'
29542
+ }, "Retract Vote", /*#__PURE__*/React__default.createElement(SvgArrowDown, null)), retractVoteIcon || /*#__PURE__*/React__default.createElement(SvgRetractVote, null))), !isPollMessage && (/*#__PURE__*/React__default.createElement(Action, {
29499
29543
  onClick: handleEndVote,
29500
29544
  iconColor: messageActionIconsColor || iconInactive,
29501
29545
  hoverBackgroundColor: backgroundHovered,
@@ -29591,18 +29635,18 @@ var Action = styled.div(_templateObject3$j || (_templateObject3$j = _taggedTempl
29591
29635
  return props.hoverBackgroundColor;
29592
29636
  }, ItemNote);
29593
29637
 
29594
- var _rect$1, _path$W;
29595
- function _extends$X() {
29596
- return _extends$X = Object.assign ? Object.assign.bind() : function (n) {
29638
+ var _rect$1, _path$X;
29639
+ function _extends$Y() {
29640
+ return _extends$Y = Object.assign ? Object.assign.bind() : function (n) {
29597
29641
  for (var e = 1; e < arguments.length; e++) {
29598
29642
  var t = arguments[e];
29599
29643
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
29600
29644
  }
29601
29645
  return n;
29602
- }, _extends$X.apply(null, arguments);
29646
+ }, _extends$Y.apply(null, arguments);
29603
29647
  }
29604
29648
  function SvgFileIcon(props) {
29605
- return /*#__PURE__*/createElement$1("svg", _extends$X({
29649
+ return /*#__PURE__*/createElement$1("svg", _extends$Y({
29606
29650
  width: 40,
29607
29651
  height: 40,
29608
29652
  viewBox: "0 0 40.01 40.01",
@@ -29613,24 +29657,24 @@ function SvgFileIcon(props) {
29613
29657
  height: 40,
29614
29658
  rx: 20,
29615
29659
  fill: "Transparent"
29616
- })), _path$W || (_path$W = /*#__PURE__*/createElement$1("path", {
29660
+ })), _path$X || (_path$X = /*#__PURE__*/createElement$1("path", {
29617
29661
  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",
29618
29662
  fill: "#fff"
29619
29663
  })));
29620
29664
  }
29621
29665
 
29622
- var _circle$2, _path$X;
29623
- function _extends$Y() {
29624
- return _extends$Y = Object.assign ? Object.assign.bind() : function (n) {
29666
+ var _circle$2, _path$Y;
29667
+ function _extends$Z() {
29668
+ return _extends$Z = Object.assign ? Object.assign.bind() : function (n) {
29625
29669
  for (var e = 1; e < arguments.length; e++) {
29626
29670
  var t = arguments[e];
29627
29671
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
29628
29672
  }
29629
29673
  return n;
29630
- }, _extends$Y.apply(null, arguments);
29674
+ }, _extends$Z.apply(null, arguments);
29631
29675
  }
29632
29676
  function SvgDeleteUpload(props) {
29633
- return /*#__PURE__*/createElement$1("svg", _extends$Y({
29677
+ return /*#__PURE__*/createElement$1("svg", _extends$Z({
29634
29678
  width: 20,
29635
29679
  height: 20,
29636
29680
  viewBox: "0 0 20.01 20.01",
@@ -29643,7 +29687,7 @@ function SvgDeleteUpload(props) {
29643
29687
  fill: "CurrentColor",
29644
29688
  stroke: "#fff",
29645
29689
  strokeWidth: 1.4
29646
- })), _path$X || (_path$X = /*#__PURE__*/createElement$1("path", {
29690
+ })), _path$Y || (_path$Y = /*#__PURE__*/createElement$1("path", {
29647
29691
  d: "M13.5 6.5l-7 7M6.5 6.5l7 7",
29648
29692
  stroke: "#fff",
29649
29693
  strokeWidth: 1.4,
@@ -29652,24 +29696,24 @@ function SvgDeleteUpload(props) {
29652
29696
  })));
29653
29697
  }
29654
29698
 
29655
- var _path$Y;
29656
- function _extends$Z() {
29657
- return _extends$Z = Object.assign ? Object.assign.bind() : function (n) {
29699
+ var _path$Z;
29700
+ function _extends$_() {
29701
+ return _extends$_ = Object.assign ? Object.assign.bind() : function (n) {
29658
29702
  for (var e = 1; e < arguments.length; e++) {
29659
29703
  var t = arguments[e];
29660
29704
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
29661
29705
  }
29662
29706
  return n;
29663
- }, _extends$Z.apply(null, arguments);
29707
+ }, _extends$_.apply(null, arguments);
29664
29708
  }
29665
29709
  function SvgUpload(props) {
29666
- return /*#__PURE__*/createElement$1("svg", _extends$Z({
29710
+ return /*#__PURE__*/createElement$1("svg", _extends$_({
29667
29711
  width: 32,
29668
29712
  height: 32,
29669
29713
  viewBox: "0 0 32.01 32.01",
29670
29714
  fill: "none",
29671
29715
  xmlns: "http://www.w3.org/2000/svg"
29672
- }, props), _path$Y || (_path$Y = /*#__PURE__*/createElement$1("path", {
29716
+ }, props), _path$Z || (_path$Z = /*#__PURE__*/createElement$1("path", {
29673
29717
  fillRule: "evenodd",
29674
29718
  clipRule: "evenodd",
29675
29719
  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",
@@ -29677,18 +29721,18 @@ function SvgUpload(props) {
29677
29721
  })));
29678
29722
  }
29679
29723
 
29680
- var _circle$3, _path$Z;
29681
- function _extends$_() {
29682
- return _extends$_ = Object.assign ? Object.assign.bind() : function (n) {
29724
+ var _circle$3, _path$_;
29725
+ function _extends$$() {
29726
+ return _extends$$ = Object.assign ? Object.assign.bind() : function (n) {
29683
29727
  for (var e = 1; e < arguments.length; e++) {
29684
29728
  var t = arguments[e];
29685
29729
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
29686
29730
  }
29687
29731
  return n;
29688
- }, _extends$_.apply(null, arguments);
29732
+ }, _extends$$.apply(null, arguments);
29689
29733
  }
29690
29734
  function SvgPlayVideo(props) {
29691
- return /*#__PURE__*/createElement$1("svg", _extends$_({
29735
+ return /*#__PURE__*/createElement$1("svg", _extends$$({
29692
29736
  width: 56,
29693
29737
  height: 56,
29694
29738
  fill: "none",
@@ -29699,7 +29743,7 @@ function SvgPlayVideo(props) {
29699
29743
  r: 28,
29700
29744
  fill: "#17191C",
29701
29745
  fillOpacity: 0.4
29702
- })), _path$Z || (_path$Z = /*#__PURE__*/createElement$1("path", {
29746
+ })), _path$_ || (_path$_ = /*#__PURE__*/createElement$1("path", {
29703
29747
  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",
29704
29748
  fill: "#fff"
29705
29749
  })));
@@ -29883,18 +29927,18 @@ var AttachmentImg = styled.img(_templateObject7$b || (_templateObject7$b = _tagg
29883
29927
  return props.borderRadius || '6px';
29884
29928
  });
29885
29929
 
29886
- var _circle$4, _path$_;
29887
- function _extends$$() {
29888
- return _extends$$ = Object.assign ? Object.assign.bind() : function (n) {
29930
+ var _circle$4, _path$$;
29931
+ function _extends$10() {
29932
+ return _extends$10 = Object.assign ? Object.assign.bind() : function (n) {
29889
29933
  for (var e = 1; e < arguments.length; e++) {
29890
29934
  var t = arguments[e];
29891
29935
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
29892
29936
  }
29893
29937
  return n;
29894
- }, _extends$$.apply(null, arguments);
29938
+ }, _extends$10.apply(null, arguments);
29895
29939
  }
29896
29940
  function SvgPlay(props) {
29897
- return /*#__PURE__*/createElement$1("svg", _extends$$({
29941
+ return /*#__PURE__*/createElement$1("svg", _extends$10({
29898
29942
  width: 32,
29899
29943
  height: 32,
29900
29944
  viewBox: "0 0 33 33",
@@ -29905,24 +29949,24 @@ function SvgPlay(props) {
29905
29949
  cy: 16,
29906
29950
  r: 16,
29907
29951
  fill: "CurrentColor"
29908
- })), _path$_ || (_path$_ = /*#__PURE__*/createElement$1("path", {
29952
+ })), _path$$ || (_path$$ = /*#__PURE__*/createElement$1("path", {
29909
29953
  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",
29910
29954
  fill: "#fff"
29911
29955
  })));
29912
29956
  }
29913
29957
 
29914
- var _circle$5, _path$$;
29915
- function _extends$10() {
29916
- return _extends$10 = Object.assign ? Object.assign.bind() : function (n) {
29958
+ var _circle$5, _path$10;
29959
+ function _extends$11() {
29960
+ return _extends$11 = Object.assign ? Object.assign.bind() : function (n) {
29917
29961
  for (var e = 1; e < arguments.length; e++) {
29918
29962
  var t = arguments[e];
29919
29963
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
29920
29964
  }
29921
29965
  return n;
29922
- }, _extends$10.apply(null, arguments);
29966
+ }, _extends$11.apply(null, arguments);
29923
29967
  }
29924
29968
  function SvgPause(props) {
29925
- return /*#__PURE__*/createElement$1("svg", _extends$10({
29969
+ return /*#__PURE__*/createElement$1("svg", _extends$11({
29926
29970
  width: 32,
29927
29971
  height: 32,
29928
29972
  viewBox: "0 0 33 33",
@@ -29933,7 +29977,7 @@ function SvgPause(props) {
29933
29977
  cy: 16,
29934
29978
  r: 16,
29935
29979
  fill: "CurrentColor"
29936
- })), _path$$ || (_path$$ = /*#__PURE__*/createElement$1("path", {
29980
+ })), _path$10 || (_path$10 = /*#__PURE__*/createElement$1("path", {
29937
29981
  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",
29938
29982
  fill: "#fff"
29939
29983
  })));
@@ -32944,24 +32988,24 @@ var MessageHeaderCont = styled.div(_templateObject$y || (_templateObject$y = _ta
32944
32988
  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');
32945
32989
  });
32946
32990
 
32947
- var _path$10;
32948
- function _extends$11() {
32949
- return _extends$11 = Object.assign ? Object.assign.bind() : function (n) {
32991
+ var _path$11;
32992
+ function _extends$12() {
32993
+ return _extends$12 = Object.assign ? Object.assign.bind() : function (n) {
32950
32994
  for (var e = 1; e < arguments.length; e++) {
32951
32995
  var t = arguments[e];
32952
32996
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
32953
32997
  }
32954
32998
  return n;
32955
- }, _extends$11.apply(null, arguments);
32999
+ }, _extends$12.apply(null, arguments);
32956
33000
  }
32957
33001
  function SvgEmojiAnimalIcon(props) {
32958
- return /*#__PURE__*/createElement$1("svg", _extends$11({
33002
+ return /*#__PURE__*/createElement$1("svg", _extends$12({
32959
33003
  width: 20,
32960
33004
  height: 20,
32961
33005
  viewBox: "0 0 20.01 20.01",
32962
33006
  fill: "none",
32963
33007
  xmlns: "http://www.w3.org/2000/svg"
32964
- }, props), _path$10 || (_path$10 = /*#__PURE__*/createElement$1("path", {
33008
+ }, props), _path$11 || (_path$11 = /*#__PURE__*/createElement$1("path", {
32965
33009
  fillRule: "evenodd",
32966
33010
  clipRule: "evenodd",
32967
33011
  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",
@@ -32969,29 +33013,29 @@ function SvgEmojiAnimalIcon(props) {
32969
33013
  })));
32970
33014
  }
32971
33015
 
32972
- var _path$11, _path2$7, _path3$3;
32973
- function _extends$12() {
32974
- return _extends$12 = Object.assign ? Object.assign.bind() : function (n) {
33016
+ var _path$12, _path2$8, _path3$3;
33017
+ function _extends$13() {
33018
+ return _extends$13 = Object.assign ? Object.assign.bind() : function (n) {
32975
33019
  for (var e = 1; e < arguments.length; e++) {
32976
33020
  var t = arguments[e];
32977
33021
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
32978
33022
  }
32979
33023
  return n;
32980
- }, _extends$12.apply(null, arguments);
33024
+ }, _extends$13.apply(null, arguments);
32981
33025
  }
32982
33026
  function SvgEmojiFoodIcon(props) {
32983
- return /*#__PURE__*/createElement$1("svg", _extends$12({
33027
+ return /*#__PURE__*/createElement$1("svg", _extends$13({
32984
33028
  width: 20,
32985
33029
  height: 20,
32986
33030
  viewBox: "0 0 20.01 20.01",
32987
33031
  fill: "none",
32988
33032
  xmlns: "http://www.w3.org/2000/svg"
32989
- }, props), _path$11 || (_path$11 = /*#__PURE__*/createElement$1("path", {
33033
+ }, props), _path$12 || (_path$12 = /*#__PURE__*/createElement$1("path", {
32990
33034
  fillRule: "evenodd",
32991
33035
  clipRule: "evenodd",
32992
33036
  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",
32993
33037
  fill: "CurrentColor"
32994
- })), _path2$7 || (_path2$7 = /*#__PURE__*/createElement$1("path", {
33038
+ })), _path2$8 || (_path2$8 = /*#__PURE__*/createElement$1("path", {
32995
33039
  fillRule: "evenodd",
32996
33040
  clipRule: "evenodd",
32997
33041
  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",
@@ -33004,24 +33048,24 @@ function SvgEmojiFoodIcon(props) {
33004
33048
  })));
33005
33049
  }
33006
33050
 
33007
- var _path$12;
33008
- function _extends$13() {
33009
- return _extends$13 = Object.assign ? Object.assign.bind() : function (n) {
33051
+ var _path$13;
33052
+ function _extends$14() {
33053
+ return _extends$14 = Object.assign ? Object.assign.bind() : function (n) {
33010
33054
  for (var e = 1; e < arguments.length; e++) {
33011
33055
  var t = arguments[e];
33012
33056
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
33013
33057
  }
33014
33058
  return n;
33015
- }, _extends$13.apply(null, arguments);
33059
+ }, _extends$14.apply(null, arguments);
33016
33060
  }
33017
33061
  function SvgEmojiTravelIcon(props) {
33018
- return /*#__PURE__*/createElement$1("svg", _extends$13({
33062
+ return /*#__PURE__*/createElement$1("svg", _extends$14({
33019
33063
  width: 20,
33020
33064
  height: 20,
33021
33065
  viewBox: "0 0 20.01 20.01",
33022
33066
  fill: "none",
33023
33067
  xmlns: "http://www.w3.org/2000/svg"
33024
- }, props), _path$12 || (_path$12 = /*#__PURE__*/createElement$1("path", {
33068
+ }, props), _path$13 || (_path$13 = /*#__PURE__*/createElement$1("path", {
33025
33069
  fillRule: "evenodd",
33026
33070
  clipRule: "evenodd",
33027
33071
  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",
@@ -33030,17 +33074,17 @@ function SvgEmojiTravelIcon(props) {
33030
33074
  }
33031
33075
 
33032
33076
  var _g, _defs$1;
33033
- function _extends$14() {
33034
- return _extends$14 = Object.assign ? Object.assign.bind() : function (n) {
33077
+ function _extends$15() {
33078
+ return _extends$15 = Object.assign ? Object.assign.bind() : function (n) {
33035
33079
  for (var e = 1; e < arguments.length; e++) {
33036
33080
  var t = arguments[e];
33037
33081
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
33038
33082
  }
33039
33083
  return n;
33040
- }, _extends$14.apply(null, arguments);
33084
+ }, _extends$15.apply(null, arguments);
33041
33085
  }
33042
33086
  function SvgEmojiObjectIcon(props) {
33043
- return /*#__PURE__*/createElement$1("svg", _extends$14({
33087
+ return /*#__PURE__*/createElement$1("svg", _extends$15({
33044
33088
  width: 20,
33045
33089
  height: 20,
33046
33090
  viewBox: "0 0 20.01 20.01",
@@ -33061,24 +33105,24 @@ function SvgEmojiObjectIcon(props) {
33061
33105
  })))));
33062
33106
  }
33063
33107
 
33064
- var _path$13;
33065
- function _extends$15() {
33066
- return _extends$15 = Object.assign ? Object.assign.bind() : function (n) {
33108
+ var _path$14;
33109
+ function _extends$16() {
33110
+ return _extends$16 = Object.assign ? Object.assign.bind() : function (n) {
33067
33111
  for (var e = 1; e < arguments.length; e++) {
33068
33112
  var t = arguments[e];
33069
33113
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
33070
33114
  }
33071
33115
  return n;
33072
- }, _extends$15.apply(null, arguments);
33116
+ }, _extends$16.apply(null, arguments);
33073
33117
  }
33074
33118
  function SvgEmojiSymbolsIcon(props) {
33075
- return /*#__PURE__*/createElement$1("svg", _extends$15({
33119
+ return /*#__PURE__*/createElement$1("svg", _extends$16({
33076
33120
  width: 20,
33077
33121
  height: 20,
33078
33122
  viewBox: "0 0 20.01 20.01",
33079
33123
  fill: "none",
33080
33124
  xmlns: "http://www.w3.org/2000/svg"
33081
- }, props), _path$13 || (_path$13 = /*#__PURE__*/createElement$1("path", {
33125
+ }, props), _path$14 || (_path$14 = /*#__PURE__*/createElement$1("path", {
33082
33126
  fillRule: "evenodd",
33083
33127
  clipRule: "evenodd",
33084
33128
  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",
@@ -33086,24 +33130,24 @@ function SvgEmojiSymbolsIcon(props) {
33086
33130
  })));
33087
33131
  }
33088
33132
 
33089
- var _path$14;
33090
- function _extends$16() {
33091
- return _extends$16 = Object.assign ? Object.assign.bind() : function (n) {
33133
+ var _path$15;
33134
+ function _extends$17() {
33135
+ return _extends$17 = Object.assign ? Object.assign.bind() : function (n) {
33092
33136
  for (var e = 1; e < arguments.length; e++) {
33093
33137
  var t = arguments[e];
33094
33138
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
33095
33139
  }
33096
33140
  return n;
33097
- }, _extends$16.apply(null, arguments);
33141
+ }, _extends$17.apply(null, arguments);
33098
33142
  }
33099
33143
  function SvgEmojiFlagicon(props) {
33100
- return /*#__PURE__*/createElement$1("svg", _extends$16({
33144
+ return /*#__PURE__*/createElement$1("svg", _extends$17({
33101
33145
  width: 20,
33102
33146
  height: 20,
33103
33147
  viewBox: "0 0 20.01 20.01",
33104
33148
  fill: "none",
33105
33149
  xmlns: "http://www.w3.org/2000/svg"
33106
- }, props), _path$14 || (_path$14 = /*#__PURE__*/createElement$1("path", {
33150
+ }, props), _path$15 || (_path$15 = /*#__PURE__*/createElement$1("path", {
33107
33151
  fillRule: "evenodd",
33108
33152
  clipRule: "evenodd",
33109
33153
  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",
@@ -33599,24 +33643,24 @@ var Emoji = styled.li(_templateObject8$c || (_templateObject8$c = _taggedTemplat
33599
33643
  return props.hoverBackgroundColor;
33600
33644
  });
33601
33645
 
33602
- var _path$15;
33603
- function _extends$17() {
33604
- return _extends$17 = Object.assign ? Object.assign.bind() : function (n) {
33646
+ var _path$16;
33647
+ function _extends$18() {
33648
+ return _extends$18 = Object.assign ? Object.assign.bind() : function (n) {
33605
33649
  for (var e = 1; e < arguments.length; e++) {
33606
33650
  var t = arguments[e];
33607
33651
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
33608
33652
  }
33609
33653
  return n;
33610
- }, _extends$17.apply(null, arguments);
33654
+ }, _extends$18.apply(null, arguments);
33611
33655
  }
33612
33656
  function SvgPlus(props) {
33613
- return /*#__PURE__*/createElement$1("svg", _extends$17({
33657
+ return /*#__PURE__*/createElement$1("svg", _extends$18({
33614
33658
  width: 20,
33615
33659
  height: 20,
33616
33660
  viewBox: "0 0 20.01 20.01",
33617
33661
  fill: "none",
33618
33662
  xmlns: "http://www.w3.org/2000/svg"
33619
- }, props), _path$15 || (_path$15 = /*#__PURE__*/createElement$1("path", {
33663
+ }, props), _path$16 || (_path$16 = /*#__PURE__*/createElement$1("path", {
33620
33664
  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",
33621
33665
  fill: "currentColor"
33622
33666
  })));
@@ -33874,61 +33918,174 @@ var MessageStatusUpdated = styled.span(_templateObject4$m || (_templateObject4$m
33874
33918
  return props.color;
33875
33919
  });
33876
33920
 
33877
- var _templateObject$C, _templateObject2$x, _templateObject3$r, _templateObject4$n, _templateObject5$i, _templateObject6$g, _templateObject7$e, _templateObject8$d, _templateObject9$b, _templateObject0$a;
33878
- var VotesResultsPopup = function VotesResultsPopup(_ref) {
33879
- var _poll$options2;
33921
+ 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;
33922
+ var POLL_VOTES_LIMIT = 20;
33923
+ var AllVotesPopup = function AllVotesPopup(_ref) {
33924
+ var _pollVotesHasMore$key, _poll$votesPerOption;
33880
33925
  var onClose = _ref.onClose,
33881
33926
  poll = _ref.poll,
33882
33927
  messageId = _ref.messageId,
33883
- initialCount = _ref.initialCount,
33884
- onViewMoreOption = _ref.onViewMoreOption;
33885
- var initialVotesCount = useMemo(function () {
33886
- var _poll$options;
33887
- 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;
33888
- }, [initialCount, poll === null || poll === void 0 ? void 0 : (_poll$options2 = poll.options) === null || _poll$options2 === void 0 ? void 0 : _poll$options2.length]);
33889
- useEffect(function () {
33890
- if (initialVotesCount) {
33891
- dispatch(setPollVotesInitialCountAC(initialVotesCount));
33892
- }
33893
- }, [initialVotesCount]);
33928
+ optionId = _ref.optionId,
33929
+ optionName = _ref.optionName;
33894
33930
  var _useColor = useColors(),
33895
33931
  background = _useColor[THEME_COLORS.BACKGROUND],
33896
- surface1 = _useColor[THEME_COLORS.SURFACE_1],
33897
33932
  textPrimary = _useColor[THEME_COLORS.TEXT_PRIMARY],
33898
33933
  textSecondary = _useColor[THEME_COLORS.TEXT_SECONDARY],
33899
- border = _useColor[THEME_COLORS.BORDER],
33900
- accent = _useColor[THEME_COLORS.ACCENT];
33934
+ surface1 = _useColor[THEME_COLORS.SURFACE_1];
33901
33935
  var dispatch = useDispatch();
33936
+ var key = poll.id + "_" + optionId;
33902
33937
  var pollVotesList = useSelector(pollVotesListSelector);
33903
33938
  var pollVotesHasMore = useSelector(pollVotesHasMoreSelector);
33904
33939
  var pollVotesLoadingState = useSelector(pollVotesLoadingStateSelector);
33940
+ var allVotes = pollVotesList[key] || [];
33941
+ var hasMore = (_pollVotesHasMore$key = pollVotesHasMore[key]) != null ? _pollVotesHasMore$key : false;
33942
+ var isLoading = pollVotesLoadingState[key] === LOADING_STATE.LOADING;
33943
+ var totalVotes = ((_poll$votesPerOption = poll.votesPerOption) === null || _poll$votesPerOption === void 0 ? void 0 : _poll$votesPerOption[optionId]) || 0;
33944
+ var isLoadingInitial = allVotes.length === 0 && (isLoading || totalVotes > 0);
33905
33945
  useEffect(function () {
33906
- poll.options.forEach(function (option) {
33907
- var key = poll.id + "_" + option.id;
33908
- var reduxVotes = pollVotesList[key] || [];
33909
- if (reduxVotes.length === 0) {
33910
- var _poll$votesPerOption;
33911
- var totalVotes = ((_poll$votesPerOption = poll.votesPerOption) === null || _poll$votesPerOption === void 0 ? void 0 : _poll$votesPerOption[option.id]) || 0;
33912
- if (totalVotes > 0) {
33913
- dispatch(getPollVotesAC(messageId, poll.id, option.id, initialVotesCount));
33914
- }
33915
- }
33916
- });
33946
+ if (allVotes.length === 0 && totalVotes > 0 && !isLoading) {
33947
+ dispatch(getPollVotesAC(messageId, poll.id, optionId, POLL_VOTES_LIMIT));
33948
+ }
33917
33949
  }, []);
33918
- var handleViewMore = useCallback(function (optionId) {
33919
- if (onViewMoreOption) {
33920
- onViewMoreOption(optionId);
33950
+ useEffect(function () {
33951
+ if (allVotes.length > 0 && hasMore && !isLoading && allVotes.length < POLL_VOTES_LIMIT) {
33952
+ dispatch(loadMorePollVotesAC(poll.id, optionId, POLL_VOTES_LIMIT));
33953
+ }
33954
+ }, [allVotes.length, hasMore, isLoading, poll.id, optionId, dispatch]);
33955
+ var handleScroll = useCallback(function (event) {
33956
+ var target = event.currentTarget;
33957
+ var isNearBottom = target.scrollTop >= target.scrollHeight - target.offsetHeight - 100;
33958
+ if (isNearBottom && hasMore && isLoading === false) {
33959
+ dispatch(loadMorePollVotesAC(poll.id, optionId, POLL_VOTES_LIMIT));
33960
+ }
33961
+ }, [hasMore, isLoading, dispatch, poll.id, optionId]);
33962
+ var formatDate = function formatDate(d) {
33963
+ try {
33964
+ var date = new Date(d);
33965
+ var month = date.toLocaleString(undefined, {
33966
+ month: 'short'
33967
+ });
33968
+ var day = date.getDate();
33969
+ var year = date.getFullYear();
33970
+ return month + " " + day + ", " + year;
33971
+ } catch (_unused) {
33972
+ return '';
33921
33973
  }
33922
- dispatch(loadMorePollVotesAC(poll.id, optionId, 20));
33923
- }, [dispatch, poll.id, onViewMoreOption]);
33974
+ };
33975
+ return /*#__PURE__*/React__default.createElement(PopupContainer, null, /*#__PURE__*/React__default.createElement(Popup, {
33976
+ backgroundColor: background,
33977
+ maxWidth: '560px',
33978
+ minWidth: '560px',
33979
+ padding: '0'
33980
+ }, /*#__PURE__*/React__default.createElement(PopupBody, {
33981
+ paddingH: '24px',
33982
+ paddingV: '20px'
33983
+ }, /*#__PURE__*/React__default.createElement(BackButton, {
33984
+ onClick: onClose,
33985
+ color: textSecondary
33986
+ }, /*#__PURE__*/React__default.createElement(SvgArrowLeft, null)), /*#__PURE__*/React__default.createElement(TitleWrapper, null, /*#__PURE__*/React__default.createElement(PopupName, {
33987
+ color: textPrimary,
33988
+ marginTop: '1'
33989
+ }, optionName)), /*#__PURE__*/React__default.createElement(CloseIcon, {
33990
+ color: textSecondary,
33991
+ onClick: onClose
33992
+ }), /*#__PURE__*/React__default.createElement(VotesContainer, {
33993
+ backgroundColor: surface1
33994
+ }, /*#__PURE__*/React__default.createElement(VotesCount, {
33995
+ color: textSecondary
33996
+ }, totalVotes, " votes"), isLoadingInitial ? (/*#__PURE__*/React__default.createElement(LoaderContainer, null, /*#__PURE__*/React__default.createElement(Loader, {
33997
+ color: textSecondary
33998
+ }))) : (/*#__PURE__*/React__default.createElement(VotesList, {
33999
+ onScroll: handleScroll
34000
+ }, allVotes.map(function (vote) {
34001
+ return /*#__PURE__*/React__default.createElement(VoterRow, {
34002
+ key: vote.optionId + "_" + vote.user.id
34003
+ }, /*#__PURE__*/React__default.createElement(Avatar, {
34004
+ image: vote.user.profile.avatar,
34005
+ name: vote.user.profile.firstName || vote.user.id,
34006
+ size: 40,
34007
+ textSize: 16,
34008
+ setDefaultAvatar: true
34009
+ }), /*#__PURE__*/React__default.createElement(VoterInfo, null, /*#__PURE__*/React__default.createElement(VoterName, {
34010
+ color: textPrimary
34011
+ }, vote.user.profile.firstName || vote.user.id, " ", vote.user.profile.lastName || ''), /*#__PURE__*/React__default.createElement(VotedAt, {
34012
+ color: textSecondary
34013
+ }, formatDate(new Date(vote.createdAt)))));
34014
+ }), isLoading && allVotes.length > 0 && /*#__PURE__*/React__default.createElement(LoadingText, {
34015
+ color: textSecondary
34016
+ }, "Loading...")))))));
34017
+ };
34018
+ var VotesList = styled.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"])));
34019
+ var VoterRow = styled.div(_templateObject2$x || (_templateObject2$x = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: 12px;\n padding: 6px 0;\n"])));
34020
+ var VoterInfo = styled.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"])));
34021
+ var VoterName = styled.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) {
34022
+ return p.color;
34023
+ });
34024
+ var VotedAt = styled.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) {
34025
+ return p.color;
34026
+ });
34027
+ var LoadingText = styled.div(_templateObject6$g || (_templateObject6$g = _taggedTemplateLiteralLoose(["\n color: ", ";\n text-align: center;\n padding: 16px;\n font-size: 14px;\n"])), function (p) {
34028
+ return p.color;
34029
+ });
34030
+ var TitleWrapper = styled.div(_templateObject7$e || (_templateObject7$e = _taggedTemplateLiteralLoose(["\n max-width: calc(100% - 54px);\n margin: 0 auto;\n"])));
34031
+ var BackButton = styled.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) {
34032
+ return p.color;
34033
+ });
34034
+ var VotesContainer = styled.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) {
34035
+ return p.backgroundColor;
34036
+ });
34037
+ var VotesCount = styled.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) {
34038
+ return p.color;
34039
+ });
34040
+ var LoaderContainer = styled.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"])));
34041
+ var Loader = styled.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) {
34042
+ return p.color;
34043
+ }, function (p) {
34044
+ return p.color;
34045
+ });
34046
+
34047
+ var _templateObject$D, _templateObject2$y, _templateObject3$s, _templateObject4$o, _templateObject5$j, _templateObject6$h, _templateObject7$f, _templateObject8$e, _templateObject9$c, _templateObject0$b;
34048
+ var VotesResultsPopup = function VotesResultsPopup(_ref) {
34049
+ var _poll$options$find;
34050
+ var onClose = _ref.onClose,
34051
+ poll = _ref.poll,
34052
+ messageId = _ref.messageId,
34053
+ onViewMoreOption = _ref.onViewMoreOption;
34054
+ var _useState = useState(null),
34055
+ selectedOptionId = _useState[0],
34056
+ setSelectedOptionId = _useState[1];
34057
+ var _useColor = useColors(),
34058
+ background = _useColor[THEME_COLORS.BACKGROUND],
34059
+ surface1 = _useColor[THEME_COLORS.SURFACE_1],
34060
+ textPrimary = _useColor[THEME_COLORS.TEXT_PRIMARY],
34061
+ textSecondary = _useColor[THEME_COLORS.TEXT_SECONDARY],
34062
+ border = _useColor[THEME_COLORS.BORDER],
34063
+ accent = _useColor[THEME_COLORS.ACCENT];
33924
34064
  var optionIdToVotes = useMemo(function () {
33925
34065
  var votes = {};
33926
34066
  poll.options.forEach(function (opt) {
33927
- var key = poll.id + "_" + opt.id;
33928
- votes[opt.id] = pollVotesList[key] || [];
34067
+ var allOptionVotes = (poll.votes || []).filter(function (vote) {
34068
+ return vote.optionId === opt.id;
34069
+ });
34070
+ var ownVote = poll.ownVotes.find(function (vote) {
34071
+ return vote.optionId === opt.id;
34072
+ });
34073
+ if (ownVote) {
34074
+ allOptionVotes.push(ownVote);
34075
+ }
34076
+ votes[opt.id] = allOptionVotes;
33929
34077
  });
33930
34078
  return votes;
33931
- }, [pollVotesList, poll.id, poll.options]);
34079
+ }, [poll.votes, poll.options, poll.ownVotes]);
34080
+ var handleShowAll = useCallback(function (optionId) {
34081
+ if (onViewMoreOption) {
34082
+ onViewMoreOption(optionId);
34083
+ }
34084
+ setSelectedOptionId(optionId);
34085
+ }, [onViewMoreOption]);
34086
+ var handleCloseAllVotes = useCallback(function () {
34087
+ setSelectedOptionId(null);
34088
+ }, []);
33932
34089
  var formatDate = function formatDate(d) {
33933
34090
  try {
33934
34091
  var date = new Date(d);
@@ -33942,7 +34099,7 @@ var VotesResultsPopup = function VotesResultsPopup(_ref) {
33942
34099
  return '';
33943
34100
  }
33944
34101
  };
33945
- return /*#__PURE__*/React__default.createElement(PopupContainer, null, /*#__PURE__*/React__default.createElement(Popup, {
34102
+ return /*#__PURE__*/React__default.createElement("div", null, !selectedOptionId && (/*#__PURE__*/React__default.createElement(PopupContainer, null, /*#__PURE__*/React__default.createElement(Popup, {
33946
34103
  backgroundColor: background,
33947
34104
  maxWidth: '560px',
33948
34105
  minWidth: '560px',
@@ -33957,11 +34114,9 @@ var VotesResultsPopup = function VotesResultsPopup(_ref) {
33957
34114
  color: textPrimary,
33958
34115
  marginBottom: '16px'
33959
34116
  }, "Vote results"), /*#__PURE__*/React__default.createElement(OptionsList, null, poll.options.map(function (opt) {
33960
- var _pollVotesHasMore$key;
33961
- var key = poll.id + "_" + opt.id;
34117
+ var _poll$votesPerOption;
33962
34118
  var allVotes = optionIdToVotes[opt.id] || [];
33963
- var hasMore = (_pollVotesHasMore$key = pollVotesHasMore[key]) != null ? _pollVotesHasMore$key : false;
33964
- var isLoading = pollVotesLoadingState[key] === LOADING_STATE.LOADING;
34119
+ var totalVotes = ((_poll$votesPerOption = poll.votesPerOption) === null || _poll$votesPerOption === void 0 ? void 0 : _poll$votesPerOption[opt.id]) || 0;
33965
34120
  return /*#__PURE__*/React__default.createElement(OptionBlock, {
33966
34121
  key: opt.id,
33967
34122
  background: surface1,
@@ -33970,8 +34125,8 @@ var VotesResultsPopup = function VotesResultsPopup(_ref) {
33970
34125
  color: textPrimary
33971
34126
  }, opt.name), /*#__PURE__*/React__default.createElement(OptionCount, {
33972
34127
  color: textSecondary
33973
- }, poll.votesPerOption && poll.votesPerOption[opt.id] || allVotes.length, " votes")), /*#__PURE__*/React__default.createElement(Voters, null, allVotes.map(function (vote) {
33974
- return /*#__PURE__*/React__default.createElement(VoterRow, {
34128
+ }, totalVotes, " votes")), /*#__PURE__*/React__default.createElement(Voters, null, allVotes.map(function (vote) {
34129
+ return /*#__PURE__*/React__default.createElement(VoterRow$1, {
33975
34130
  key: opt.id + "_" + vote.user.id
33976
34131
  }, /*#__PURE__*/React__default.createElement(Avatar, {
33977
34132
  image: vote.user.profile.avatar,
@@ -33979,12 +34134,12 @@ var VotesResultsPopup = function VotesResultsPopup(_ref) {
33979
34134
  size: 40,
33980
34135
  textSize: 16,
33981
34136
  setDefaultAvatar: true
33982
- }), /*#__PURE__*/React__default.createElement(VoterInfo, null, /*#__PURE__*/React__default.createElement(VoterName, {
34137
+ }), /*#__PURE__*/React__default.createElement(VoterInfo$1, null, /*#__PURE__*/React__default.createElement(VoterName$1, {
33983
34138
  color: textPrimary
33984
- }, vote.user.profile.firstName || vote.user.id, " ", vote.user.profile.lastName || ''), /*#__PURE__*/React__default.createElement(VotedAt, {
34139
+ }, vote.user.profile.firstName || vote.user.id, " ", vote.user.profile.lastName || ''), /*#__PURE__*/React__default.createElement(VotedAt$1, {
33985
34140
  color: textSecondary
33986
34141
  }, formatDate(new Date(vote.createdAt)))));
33987
- })), hasMore && (/*#__PURE__*/React__default.createElement(Row, {
34142
+ })), allVotes.length < totalVotes && (/*#__PURE__*/React__default.createElement(Row, {
33988
34143
  justify: 'center',
33989
34144
  paddingBottom: '5px '
33990
34145
  }, /*#__PURE__*/React__default.createElement(Button, {
@@ -33992,58 +34147,65 @@ var VotesResultsPopup = function VotesResultsPopup(_ref) {
33992
34147
  backgroundColor: 'transparent',
33993
34148
  color: accent,
33994
34149
  onClick: function onClick() {
33995
- return handleViewMore(opt.id);
33996
- },
33997
- disabled: isLoading
33998
- }, isLoading ? 'Loading...' : 'View More'))));
33999
- })))));
34150
+ return handleShowAll(opt.id);
34151
+ }
34152
+ }, "Show All"))));
34153
+ })))))), selectedOptionId && (/*#__PURE__*/React__default.createElement(AllVotesPopup, {
34154
+ onClose: handleCloseAllVotes,
34155
+ poll: poll,
34156
+ messageId: messageId,
34157
+ optionId: selectedOptionId,
34158
+ optionName: ((_poll$options$find = poll.options.find(function (opt) {
34159
+ return opt.id === selectedOptionId;
34160
+ })) === null || _poll$options$find === void 0 ? void 0 : _poll$options$find.name) || ''
34161
+ })));
34000
34162
  };
34001
- var OptionsList = styled.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"])));
34002
- var OptionBlock = styled.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) {
34163
+ var OptionsList = styled.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"])));
34164
+ var OptionBlock = styled.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) {
34003
34165
  return p.background;
34004
34166
  }, function (p) {
34005
34167
  return p.border;
34006
34168
  });
34007
- var OptionHeader = styled.div(_templateObject3$r || (_templateObject3$r = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 8px;\n"])));
34008
- var OptionTitle = styled.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) {
34169
+ var OptionHeader = styled.div(_templateObject3$s || (_templateObject3$s = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 8px;\n"])));
34170
+ var OptionTitle = styled.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) {
34009
34171
  return p.color;
34010
34172
  });
34011
- var OptionCount = styled.div(_templateObject5$i || (_templateObject5$i = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size: 13px;\n"])), function (p) {
34173
+ var OptionCount = styled.div(_templateObject5$j || (_templateObject5$j = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size: 13px;\n"])), function (p) {
34012
34174
  return p.color;
34013
34175
  });
34014
- var Voters = styled.div(_templateObject6$g || (_templateObject6$g = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n margin-bottom: 5px;\n"])));
34015
- var VoterRow = styled.div(_templateObject7$e || (_templateObject7$e = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: 12px;\n padding: 6px 0;\n"])));
34016
- var VoterInfo = styled.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"])));
34017
- var VoterName = styled.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) {
34176
+ var Voters = styled.div(_templateObject6$h || (_templateObject6$h = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n margin-bottom: 5px;\n"])));
34177
+ var VoterRow$1 = styled.div(_templateObject7$f || (_templateObject7$f = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: 12px;\n padding: 6px 0;\n"])));
34178
+ var VoterInfo$1 = styled.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"])));
34179
+ var VoterName$1 = styled.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) {
34018
34180
  return p.color;
34019
34181
  });
34020
- var VotedAt = styled.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) {
34182
+ var VotedAt$1 = styled.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) {
34021
34183
  return p.color;
34022
34184
  });
34023
34185
 
34024
- var _path$16;
34025
- function _extends$18() {
34026
- return _extends$18 = Object.assign ? Object.assign.bind() : function (n) {
34186
+ var _path$17;
34187
+ function _extends$19() {
34188
+ return _extends$19 = Object.assign ? Object.assign.bind() : function (n) {
34027
34189
  for (var e = 1; e < arguments.length; e++) {
34028
34190
  var t = arguments[e];
34029
34191
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
34030
34192
  }
34031
34193
  return n;
34032
- }, _extends$18.apply(null, arguments);
34194
+ }, _extends$19.apply(null, arguments);
34033
34195
  }
34034
34196
  function SvgFilledCheckbox(props) {
34035
- return /*#__PURE__*/createElement$1("svg", _extends$18({
34197
+ return /*#__PURE__*/createElement$1("svg", _extends$19({
34036
34198
  width: 19,
34037
34199
  height: 19,
34038
34200
  fill: "none",
34039
34201
  xmlns: "http://www.w3.org/2000/svg"
34040
- }, props), _path$16 || (_path$16 = /*#__PURE__*/createElement$1("path", {
34202
+ }, props), _path$17 || (_path$17 = /*#__PURE__*/createElement$1("path", {
34041
34203
  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",
34042
34204
  fill: "currentColor"
34043
34205
  })));
34044
34206
  }
34045
34207
 
34046
- 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;
34208
+ 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;
34047
34209
  var PollMessage = function PollMessage(_ref) {
34048
34210
  var message = _ref.message;
34049
34211
  var _useColor = useColors(),
@@ -34117,13 +34279,13 @@ var PollMessage = function PollMessage(_ref) {
34117
34279
  },
34118
34280
  role: 'button',
34119
34281
  disabled: poll === null || poll === void 0 ? void 0 : poll.closed
34120
- }, /*#__PURE__*/React__default.createElement(TopRow, null, !poll.closed && /*#__PURE__*/React__default.createElement(Indicator, {
34282
+ }, /*#__PURE__*/React__default.createElement(TopRow, null, !poll.closed && (/*#__PURE__*/React__default.createElement(Indicator, {
34121
34283
  disabled: poll === null || poll === void 0 ? void 0 : poll.closed
34122
34284
  }, selected ? /*#__PURE__*/React__default.createElement(StyledCheck, {
34123
34285
  color: accent
34124
34286
  }) : /*#__PURE__*/React__default.createElement(EmptyCircle, {
34125
34287
  border: borderSecondary
34126
- })), /*#__PURE__*/React__default.createElement(Title$2, {
34288
+ }))), /*#__PURE__*/React__default.createElement(Title$2, {
34127
34289
  color: textPrimary
34128
34290
  }, opt.name), poll.anonymous ? null : (/*#__PURE__*/React__default.createElement(UsersContainer, null, optionVotesUsers.map(function (vote) {
34129
34291
  var _vote$user, _vote$user2, _vote$user2$profile, _vote$user3, _vote$user3$profile;
@@ -34166,38 +34328,38 @@ var PollMessage = function PollMessage(_ref) {
34166
34328
  messageId: message.id
34167
34329
  })));
34168
34330
  };
34169
- var Container$h = styled.div(_templateObject$D || (_templateObject$D = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n min-width: 250px;\n"])));
34170
- var Question = styled.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) {
34331
+ var Container$h = styled.div(_templateObject$E || (_templateObject$E = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n min-width: 250px;\n"])));
34332
+ var Question = styled.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) {
34171
34333
  return p.color;
34172
34334
  });
34173
- var SubTitle$1 = styled.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) {
34335
+ var SubTitle$1 = styled.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) {
34174
34336
  return p.color;
34175
34337
  });
34176
- var Options = styled.div(_templateObject4$o || (_templateObject4$o = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n margin-top: 4px;\n"])));
34177
- var Option = styled.div(_templateObject5$j || (_templateObject5$j = _taggedTemplateLiteralLoose(["\n padding: 10px 0;\n color: ", ";\n cursor: pointer;\n user-select: none;\n cursor: ", ";\n"])), function (p) {
34338
+ var Options = styled.div(_templateObject4$p || (_templateObject4$p = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n margin-top: 4px;\n"])));
34339
+ var Option = styled.div(_templateObject5$k || (_templateObject5$k = _taggedTemplateLiteralLoose(["\n padding: 10px 0;\n color: ", ";\n cursor: pointer;\n user-select: none;\n cursor: ", ";\n"])), function (p) {
34178
34340
  return p.color;
34179
34341
  }, function (p) {
34180
34342
  return p.disabled ? 'not-allowed' : 'pointer';
34181
34343
  });
34182
- var TopRow = styled.div(_templateObject6$h || (_templateObject6$h = _taggedTemplateLiteralLoose(["\n display: flex;\n margin-bottom: 6px;\n min-height: 22px;\n"])));
34183
- var Indicator = styled.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) {
34344
+ var TopRow = styled.div(_templateObject6$i || (_templateObject6$i = _taggedTemplateLiteralLoose(["\n display: flex;\n margin-bottom: 6px;\n min-height: 22px;\n"])));
34345
+ var Indicator = styled.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) {
34184
34346
  return p.disabled ? 0.5 : 1;
34185
34347
  }, function (p) {
34186
34348
  return p.disabled ? 'not-allowed' : 'pointer';
34187
34349
  });
34188
- var EmptyCircle = styled.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) {
34350
+ var EmptyCircle = styled.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) {
34189
34351
  return p.border;
34190
34352
  });
34191
- var StyledCheck = styled(SvgFilledCheckbox)(_templateObject9$c || (_templateObject9$c = _taggedTemplateLiteralLoose(["\n color: ", ";\n width: 18.5px;\n height: 18.5px;\n"])), function (p) {
34353
+ var StyledCheck = styled(SvgFilledCheckbox)(_templateObject9$d || (_templateObject9$d = _taggedTemplateLiteralLoose(["\n color: ", ";\n width: 18.5px;\n height: 18.5px;\n"])), function (p) {
34192
34354
  return p.color;
34193
34355
  });
34194
- var Title$2 = styled.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) {
34356
+ var Title$2 = styled.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) {
34195
34357
  return p.color;
34196
34358
  });
34197
- var Votes = styled.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) {
34359
+ var Votes = styled.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) {
34198
34360
  return p.color;
34199
34361
  });
34200
- var Bar = styled.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) {
34362
+ var Bar = styled.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) {
34201
34363
  return p.closed ? '100%' : "calc(100% - 28px)";
34202
34364
  }, function (p) {
34203
34365
  return p.track;
@@ -34205,7 +34367,7 @@ var Bar = styled.div(_templateObject10$4 || (_templateObject10$4 = _taggedTempla
34205
34367
  var Fill = styled.div(_templateObject11$4 || (_templateObject11$4 = _taggedTemplateLiteralLoose(["\n height: 100%;\n border-radius: 6px;\n transition: width 0.3s ease-in-out;\n"])));
34206
34368
  var UsersContainer = styled.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"])));
34207
34369
 
34208
- var _templateObject$E, _templateObject2$z, _templateObject3$t, _templateObject4$p, _templateObject5$k, _templateObject6$i, _templateObject7$g, _templateObject8$f, _templateObject9$d, _templateObject0$c, _templateObject1$8;
34370
+ var _templateObject$F, _templateObject2$A, _templateObject3$u, _templateObject4$q, _templateObject5$l, _templateObject6$j, _templateObject7$h, _templateObject8$g, _templateObject9$e, _templateObject0$d, _templateObject1$9;
34209
34371
  var validateUrl = function validateUrl(url) {
34210
34372
  try {
34211
34373
  var urlObj = new URL(url);
@@ -34534,14 +34696,14 @@ var OGMetadata = function OGMetadata(_ref) {
34534
34696
  padding: ogContainerPadding,
34535
34697
  className: ogContainerClassName,
34536
34698
  containerMargin: ogContainerMargin,
34537
- as: "a",
34699
+ as: 'a',
34538
34700
  href: attachment === null || attachment === void 0 ? void 0 : attachment.url,
34539
34701
  target: target,
34540
34702
  rel: target === '_blank' ? 'noopener noreferrer' : undefined
34541
34703
  }, content);
34542
34704
  };
34543
34705
  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";
34544
- var OGMetadataContainer = styled.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) {
34706
+ var OGMetadataContainer = styled.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) {
34545
34707
  var showBackground = _ref2.showBackground,
34546
34708
  customBg = _ref2.customBg,
34547
34709
  bgColor = _ref2.bgColor;
@@ -34559,7 +34721,7 @@ var OGMetadataContainer = styled.div(_templateObject$E || (_templateObject$E = _
34559
34721
  var padding = _ref6.padding;
34560
34722
  return padding != null ? padding : '0';
34561
34723
  });
34562
- var ImageContainer = styled.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) {
34724
+ var ImageContainer = styled.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) {
34563
34725
  var containerHeight = _ref7.containerHeight;
34564
34726
  return containerHeight ? containerHeight + "px" : '0px';
34565
34727
  }, function (_ref8) {
@@ -34572,14 +34734,14 @@ var ImageContainer = styled.div(_templateObject2$z || (_templateObject2$z = _tag
34572
34734
  containerHeight = _ref9.containerHeight;
34573
34735
  return shouldAnimate && showOGMetadata && containerHeight && "\n animation: expandHeight 0.3s ease-out forwards;\n ";
34574
34736
  });
34575
- var OGText = styled.div(_templateObject3$t || (_templateObject3$t = _taggedTemplateLiteralLoose(["\n ", "\n display: flex;\n flex-direction: column;\n gap: 0;\n ", "\n ", ";\n"])), sharedKeyframes, function (_ref0) {
34737
+ var OGText = styled.div(_templateObject3$u || (_templateObject3$u = _taggedTemplateLiteralLoose(["\n ", "\n display: flex;\n flex-direction: column;\n gap: 0;\n ", "\n ", ";\n"])), sharedKeyframes, function (_ref0) {
34576
34738
  var shouldAnimate = _ref0.shouldAnimate;
34577
34739
  return shouldAnimate && "\n animation: fadeInSlideUp 0.3s ease-out forwards;\n ";
34578
34740
  }, function (_ref1) {
34579
34741
  var margin = _ref1.margin;
34580
34742
  return margin ? '12px' : '0';
34581
34743
  });
34582
- var Title$3 = styled.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) {
34744
+ var Title$3 = styled.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) {
34583
34745
  var padding = _ref10.padding;
34584
34746
  return padding != null ? padding : '0';
34585
34747
  }, function (_ref11) {
@@ -34589,7 +34751,7 @@ var Title$3 = styled.p(_templateObject4$p || (_templateObject4$p = _taggedTempla
34589
34751
  var shouldAnimate = _ref12.shouldAnimate;
34590
34752
  return shouldAnimate && "\n animation: fadeInSlideUp 0.3s ease-out 0.1s backwards;\n ";
34591
34753
  });
34592
- var Desc = styled.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) {
34754
+ var Desc = styled.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) {
34593
34755
  var padding = _ref13.padding;
34594
34756
  return padding != null ? padding : '0';
34595
34757
  }, function (_ref14) {
@@ -34602,7 +34764,7 @@ var Desc = styled.p(_templateObject5$k || (_templateObject5$k = _taggedTemplateL
34602
34764
  var shouldAnimate = _ref16.shouldAnimate;
34603
34765
  return shouldAnimate && "\n animation: fadeInSlideUp 0.3s ease-out 0.2s backwards;\n ";
34604
34766
  });
34605
- var Url = styled.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) {
34767
+ var Url = styled.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) {
34606
34768
  var padding = _ref17.padding;
34607
34769
  return padding != null ? padding : '0';
34608
34770
  }, function (_ref18) {
@@ -34612,16 +34774,16 @@ var Url = styled.p(_templateObject6$i || (_templateObject6$i = _taggedTemplateLi
34612
34774
  var shouldAnimate = _ref19.shouldAnimate;
34613
34775
  return shouldAnimate && "\n animation: fadeInSlideUp 0.3s ease-out 0.3s backwards;\n ";
34614
34776
  });
34615
- var Img = styled.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) {
34777
+ var Img = styled.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) {
34616
34778
  var shouldAnimate = _ref20.shouldAnimate;
34617
34779
  return shouldAnimate && "\n animation: fadeIn 0.4s ease-out forwards;\n ";
34618
34780
  });
34619
- var OGRow = styled.div(_templateObject8$f || (_templateObject8$f = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n"])));
34620
- var OGTextWrapper = styled.div(_templateObject9$d || (_templateObject9$d = _taggedTemplateLiteralLoose(["\n flex: 1 1 auto;\n"])));
34621
- var FaviconContainer = styled.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"])));
34622
- var FaviconImg = styled.img(_templateObject1$8 || (_templateObject1$8 = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 100%;\n object-fit: cover;\n display: block;\n"])));
34781
+ var OGRow = styled.div(_templateObject8$g || (_templateObject8$g = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n"])));
34782
+ var OGTextWrapper = styled.div(_templateObject9$e || (_templateObject9$e = _taggedTemplateLiteralLoose(["\n flex: 1 1 auto;\n"])));
34783
+ var FaviconContainer = styled.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"])));
34784
+ var FaviconImg = styled.img(_templateObject1$9 || (_templateObject1$9 = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 100%;\n object-fit: cover;\n display: block;\n"])));
34623
34785
 
34624
- var _templateObject$F, _templateObject2$A, _templateObject3$u, _templateObject4$q, _templateObject5$l;
34786
+ var _templateObject$G, _templateObject2$B, _templateObject3$v, _templateObject4$r, _templateObject5$m;
34625
34787
  var MessageBody = function MessageBody(_ref) {
34626
34788
  var message = _ref.message,
34627
34789
  channel = _ref.channel,
@@ -35040,7 +35202,7 @@ var MessageBody = function MessageBody(_ref) {
35040
35202
  ogContainerShowBackground: ogMetadataProps === null || ogMetadataProps === void 0 ? void 0 : ogMetadataProps.ogContainerShowBackground,
35041
35203
  ogContainerBackground: ogMetadataProps === null || ogMetadataProps === void 0 ? void 0 : ogMetadataProps.ogContainerBackground,
35042
35204
  infoPadding: ogMetadataProps === null || ogMetadataProps === void 0 ? void 0 : ogMetadataProps.infoPadding
35043
- })), /*#__PURE__*/React__default.createElement("span", {
35205
+ })), message.type !== MESSAGE_TYPE.POLL && (/*#__PURE__*/React__default.createElement("span", {
35044
35206
  ref: messageTextRef
35045
35207
  }, MessageTextFormat({
35046
35208
  text: message.body,
@@ -35052,7 +35214,7 @@ var MessageBody = function MessageBody(_ref) {
35052
35214
  onMentionNameClick: handleOpenUserProfile,
35053
35215
  shouldOpenUserProfileForMention: !!shouldOpenUserProfileForMention,
35054
35216
  unsupportedMessage: unsupportedMessage
35055
- })), !withAttachments && message.state === MESSAGE_STATUS.DELETE ? (/*#__PURE__*/React__default.createElement(MessageStatusDeleted$1, {
35217
+ }))), !withAttachments && message.state === MESSAGE_STATUS.DELETE ? (/*#__PURE__*/React__default.createElement(MessageStatusDeleted$1, {
35056
35218
  color: textSecondary
35057
35219
  }, " Message was deleted. ")) : '', !ogContainerFirst && linkAttachment && !mediaAttachment && !withMediaAttachment && !fileAttachment && (/*#__PURE__*/React__default.createElement(OGMetadata, {
35058
35220
  maxWidth: (ogMetadataProps === null || ogMetadataProps === void 0 ? void 0 : ogMetadataProps.maxWidth) || 400,
@@ -35136,7 +35298,7 @@ var MessageBody = function MessageBody(_ref) {
35136
35298
  channelId: message.channelId,
35137
35299
  incoming: message.incoming
35138
35300
  });
35139
- }), message.type === 'poll' && /*#__PURE__*/React__default.createElement(PollMessage, {
35301
+ }), message.type === MESSAGE_TYPE.POLL && /*#__PURE__*/React__default.createElement(PollMessage, {
35140
35302
  message: message
35141
35303
  }), emojisPopupOpen && emojisPopupPosition && (/*#__PURE__*/React__default.createElement(EmojiContainer, {
35142
35304
  id: message.id + "_emoji_popup_container",
@@ -35165,7 +35327,7 @@ var MessageBody$1 = /*#__PURE__*/React__default.memo(MessageBody, function (prev
35165
35327
  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;
35166
35328
  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));
35167
35329
  });
35168
- var ForwardedTitle = styled.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) {
35330
+ var ForwardedTitle = styled.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) {
35169
35331
  return props.color;
35170
35332
  }, function (props) {
35171
35333
  return props.withAttachments && props.withBody ? '0' : '0 0 4px';
@@ -35178,12 +35340,12 @@ var ForwardedTitle = styled.h3(_templateObject$F || (_templateObject$F = _tagged
35178
35340
  }, function (props) {
35179
35341
  return props.color;
35180
35342
  });
35181
- var MessageStatusDeleted$1 = styled.span(_templateObject2$A || (_templateObject2$A = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size: ", ";\n font-style: italic;\n"])), function (props) {
35343
+ var MessageStatusDeleted$1 = styled.span(_templateObject2$B || (_templateObject2$B = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size: ", ";\n font-style: italic;\n"])), function (props) {
35182
35344
  return props.color;
35183
35345
  }, function (props) {
35184
35346
  return props.fontSize;
35185
35347
  });
35186
- var MessageBodyContainer = styled.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) {
35348
+ var MessageBodyContainer = styled.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) {
35187
35349
  var _props$outgoingMessag, _props$incomingMessag;
35188
35350
  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;
35189
35351
  }, function (props) {
@@ -35200,7 +35362,7 @@ var MessageBodyContainer = styled.div(_templateObject3$u || (_templateObject3$u
35200
35362
  }, function (props) {
35201
35363
  return props.noBody && 'hidden';
35202
35364
  });
35203
- var EmojiContainer = styled.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) {
35365
+ var EmojiContainer = styled.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) {
35204
35366
  return props.rtlDirection ? '' : '0';
35205
35367
  }, function (props) {
35206
35368
  return props.rtlDirection && '0';
@@ -35211,13 +35373,13 @@ var EmojiContainer = styled.div(_templateObject4$q || (_templateObject4$q = _tag
35211
35373
  }, function (props) {
35212
35374
  return props.position === 'top' && 'calc(100% + 4px)';
35213
35375
  });
35214
- var FrequentlyEmojisContainer = styled.div(_templateObject5$l || (_templateObject5$l = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: ", ";\n right: ", ";\n top: -50px;\n z-index: 99;\n"])), function (props) {
35376
+ var FrequentlyEmojisContainer = styled.div(_templateObject5$m || (_templateObject5$m = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: ", ";\n right: ", ";\n top: -50px;\n z-index: 99;\n"])), function (props) {
35215
35377
  return props.rtlDirection ? '' : '0';
35216
35378
  }, function (props) {
35217
35379
  return props.rtlDirection && '0';
35218
35380
  });
35219
35381
 
35220
- var _templateObject$G, _templateObject2$B, _templateObject3$v, _templateObject4$r, _templateObject5$m, _templateObject6$j, _templateObject7$h, _templateObject8$g, _templateObject9$e, _templateObject0$d, _templateObject1$9;
35382
+ var _templateObject$H, _templateObject2$C, _templateObject3$w, _templateObject4$s, _templateObject5$n, _templateObject6$k, _templateObject7$i, _templateObject8$h, _templateObject9$f, _templateObject0$e, _templateObject1$a;
35221
35383
  var defaultFormatDate = function defaultFormatDate(date) {
35222
35384
  var m = moment(date);
35223
35385
  if (m.isSame(moment(), 'day')) {
@@ -35589,31 +35751,31 @@ function sortByDateDesc(a, b) {
35589
35751
  var bTime = bDate ? new Date(bDate).getTime() : 0;
35590
35752
  return bTime - aTime;
35591
35753
  }
35592
- var Tabs = styled.div(_templateObject$G || (_templateObject$G = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: 8px;\n justify-content: start;\n margin-bottom: 8px;\n"])));
35593
- var Tab = styled.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) {
35754
+ var Tabs = styled.div(_templateObject$H || (_templateObject$H = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: 8px;\n justify-content: start;\n margin-bottom: 8px;\n"])));
35755
+ var Tab = styled.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) {
35594
35756
  return p.active ? p.textOnPrimary : p.textSecondary;
35595
35757
  }, function (p) {
35596
35758
  return p.background;
35597
35759
  }, function (p) {
35598
35760
  return p.active ? p.background : p.borderColor;
35599
35761
  });
35600
- var List$1 = styled.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) {
35762
+ var List$1 = styled.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) {
35601
35763
  return p.maxHeight ? p.maxHeight + "px" : 'unset';
35602
35764
  });
35603
- var Row$2 = styled.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) {
35765
+ var Row$2 = styled.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) {
35604
35766
  return p.backgroundHover;
35605
35767
  });
35606
- var RowInfo = styled.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"])));
35607
- var RowTitle = styled.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) {
35768
+ var RowInfo = styled.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"])));
35769
+ var RowTitle = styled.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) {
35608
35770
  return p.color;
35609
35771
  });
35610
- var RowDate = styled.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) {
35772
+ var RowDate = styled.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) {
35611
35773
  return p.color;
35612
35774
  });
35613
- var Empty = styled.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) {
35775
+ var Empty = styled.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) {
35614
35776
  return p.color;
35615
35777
  });
35616
- var DropdownRoot = styled.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) {
35778
+ var DropdownRoot = styled.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) {
35617
35779
  return p.flip ? 'auto' : 'calc(100% + 8px)';
35618
35780
  }, function (p) {
35619
35781
  return p.flip ? 'calc(100% + 8px)' : 'auto';
@@ -35625,7 +35787,7 @@ var DropdownRoot = styled.div(_templateObject9$e || (_templateObject9$e = _tagge
35625
35787
  }, function (p) {
35626
35788
  return p.ready ? 'visible' : 'hidden';
35627
35789
  });
35628
- var Panel = styled.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) {
35790
+ var Panel = styled.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) {
35629
35791
  return p.bg;
35630
35792
  }, function (p) {
35631
35793
  return p.open ? Math.min(p.heightPx || 0, parseInt(String(p.maxHeight || '300'), 10) || 300) + "px" : '0';
@@ -35634,7 +35796,7 @@ var Panel = styled.div(_templateObject0$d || (_templateObject0$d = _taggedTempla
35634
35796
  }, function (p) {
35635
35797
  return p.minWidth || '340px';
35636
35798
  });
35637
- var Content = styled.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"])));
35799
+ var Content = styled.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"])));
35638
35800
 
35639
35801
  function ConfirmEndPollPopup(_ref) {
35640
35802
  var handleFunction = _ref.handleFunction,
@@ -35651,7 +35813,7 @@ function ConfirmEndPollPopup(_ref) {
35651
35813
  });
35652
35814
  }
35653
35815
 
35654
- 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;
35816
+ 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;
35655
35817
  var Message$1 = function Message(_ref) {
35656
35818
  var message = _ref.message,
35657
35819
  channel = _ref.channel,
@@ -36462,11 +36624,11 @@ var Message$1 = function Message(_ref) {
36462
36624
  var Message$2 = /*#__PURE__*/React__default.memo(Message$1, function (prevProps, nextProps) {
36463
36625
  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;
36464
36626
  });
36465
- var MessageReactionKey = styled.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"])));
36466
- var ReactionItemCount = styled.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) {
36627
+ var MessageReactionKey = styled.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"])));
36628
+ var ReactionItemCount = styled.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) {
36467
36629
  return props.color;
36468
36630
  });
36469
- var MessageReaction = styled.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) {
36631
+ var MessageReaction = styled.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) {
36470
36632
  return props.margin || '0 8px 0 0';
36471
36633
  }, function (props) {
36472
36634
  return props.isLastReaction && '0';
@@ -36485,26 +36647,26 @@ var MessageReaction = styled.span(_templateObject3$w || (_templateObject3$w = _t
36485
36647
  }, function (props) {
36486
36648
  return props.backgroundColor;
36487
36649
  });
36488
- var ThreadMessageCountContainer = styled.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) {
36650
+ var ThreadMessageCountContainer = styled.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) {
36489
36651
  return props.color;
36490
36652
  });
36491
- var FailedMessageIcon = styled.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) {
36653
+ var FailedMessageIcon = styled.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) {
36492
36654
  return !props.rtl && '-24px';
36493
36655
  }, function (props) {
36494
36656
  return props.rtl && '-24px';
36495
36657
  });
36496
- var ErrorIconWrapper = styled(SvgErrorIcon)(_templateObject6$k || (_templateObject6$k = _taggedTemplateLiteralLoose(["\n width: 20px;\n height: 20px;\n"])));
36497
- var SelectMessageWrapper = styled.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) {
36658
+ var ErrorIconWrapper = styled(SvgErrorIcon)(_templateObject6$l || (_templateObject6$l = _taggedTemplateLiteralLoose(["\n width: 20px;\n height: 20px;\n"])));
36659
+ var SelectMessageWrapper = styled.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) {
36498
36660
  return !props.disabled && 'pointer';
36499
36661
  }, function (props) {
36500
36662
  return props.activeColor;
36501
36663
  });
36502
- var EmptySelection = styled.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) {
36664
+ var EmptySelection = styled.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) {
36503
36665
  return props.borderColor;
36504
36666
  }, function (props) {
36505
36667
  return props.disabled && '0.5';
36506
36668
  });
36507
- var ReactionsContainer = styled.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) {
36669
+ var ReactionsContainer = styled.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) {
36508
36670
  return props.rtlDirection && 'auto';
36509
36671
  }, function (props) {
36510
36672
  return !props.rtlDirection && 'auto';
@@ -36523,13 +36685,13 @@ var ReactionsContainer = styled.div(_templateObject9$f || (_templateObject9$f =
36523
36685
  }, function (props) {
36524
36686
  return props.isReacted ? '16px' : '0';
36525
36687
  });
36526
- var MessageReactionsCont = styled.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) {
36688
+ var MessageReactionsCont = styled.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) {
36527
36689
  return props.rtlDirection && 'ltr';
36528
36690
  });
36529
- var MessageStatus$1 = styled.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) {
36691
+ var MessageStatus$1 = styled.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) {
36530
36692
  return props.height || '14px';
36531
36693
  });
36532
- var HiddenMessageTime$1 = styled.span(_templateObject10$5 || (_templateObject10$5 = _taggedTemplateLiteralLoose(["\n display: ", ";\n font-weight: 400;\n font-size: ", ";\n color: ", ";\n"])), function (props) {
36694
+ var HiddenMessageTime$1 = styled.span(_templateObject10$6 || (_templateObject10$6 = _taggedTemplateLiteralLoose(["\n display: ", ";\n font-weight: 400;\n font-size: ", ";\n color: ", ";\n"])), function (props) {
36533
36695
  return props.hide && 'none';
36534
36696
  }, function (props) {
36535
36697
  return props.fontSize || '12px';
@@ -36565,7 +36727,7 @@ var MessageItem = styled.div(_templateObject12$4 || (_templateObject12$4 = _tagg
36565
36727
  return props.hoverBackground || '';
36566
36728
  }, HiddenMessageTime$1, MessageStatus$1);
36567
36729
 
36568
- var _templateObject$I, _templateObject2$D, _templateObject3$x, _templateObject4$t, _templateObject5$o, _templateObject6$l, _templateObject7$j, _templateObject8$i, _templateObject9$g, _templateObject0$f, _templateObject1$b;
36730
+ var _templateObject$J, _templateObject2$E, _templateObject3$y, _templateObject4$u, _templateObject5$p, _templateObject6$m, _templateObject7$k, _templateObject8$j, _templateObject9$h, _templateObject0$g, _templateObject1$c;
36569
36731
  var CreateMessageDateDivider = function CreateMessageDateDivider(_ref) {
36570
36732
  var lastIndex = _ref.lastIndex,
36571
36733
  currentMessageDate = _ref.currentMessageDate,
@@ -37635,14 +37797,14 @@ var MessageList = function MessageList(_ref2) {
37635
37797
  attachmentsPreview: attachmentsPreview
37636
37798
  })))));
37637
37799
  };
37638
- var Container$i = styled.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) {
37800
+ var Container$i = styled.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) {
37639
37801
  return props.backgroundColor;
37640
37802
  }, function (props) {
37641
37803
  return props.thumbColor;
37642
37804
  });
37643
- var EmptyDiv = styled.div(_templateObject2$D || (_templateObject2$D = _taggedTemplateLiteralLoose(["\n height: 300px;\n"])));
37644
- var MessagesBox = styled.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"])));
37645
- var MessageTopDate = styled.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) {
37805
+ var EmptyDiv = styled.div(_templateObject2$E || (_templateObject2$E = _taggedTemplateLiteralLoose(["\n height: 300px;\n"])));
37806
+ var MessagesBox = styled.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"])));
37807
+ var MessageTopDate = styled.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) {
37646
37808
  return props.topOffset ? props.topOffset + 22 + "px" : '22px';
37647
37809
  }, function (props) {
37648
37810
  return props.marginTop;
@@ -37661,19 +37823,19 @@ var MessageTopDate = styled.div(_templateObject4$t || (_templateObject4$t = _tag
37661
37823
  }, function (props) {
37662
37824
  return props.dateDividerBorderRadius || '14px';
37663
37825
  });
37664
- var DragAndDropContainer = styled.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) {
37826
+ var DragAndDropContainer = styled.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) {
37665
37827
  return props.topOffset ? props.topOffset + 2 + "px" : 0;
37666
37828
  }, function (props) {
37667
37829
  return props.height ? props.height + 30 + "px" : '100%';
37668
37830
  }, function (props) {
37669
37831
  return props.backgroundColor;
37670
37832
  });
37671
- var IconWrapper$1 = styled.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) {
37833
+ var IconWrapper$1 = styled.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) {
37672
37834
  return props.backgroundColor;
37673
37835
  }, function (props) {
37674
37836
  return props.iconColor;
37675
37837
  });
37676
- var DropAttachmentArea = styled.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) {
37838
+ var DropAttachmentArea = styled.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) {
37677
37839
  return props.borderColor;
37678
37840
  }, function (props) {
37679
37841
  return props.margin || '12px 32px 32px';
@@ -37686,16 +37848,16 @@ var DropAttachmentArea = styled.div(_templateObject7$j || (_templateObject7$j =
37686
37848
  }, IconWrapper$1, function (props) {
37687
37849
  return props.iconBackgroundColor;
37688
37850
  });
37689
- var MessageWrapper = styled.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) {
37851
+ var MessageWrapper = styled.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) {
37690
37852
  return props.highlightBg || '#d5d5d5';
37691
37853
  });
37692
- var NoMessagesContainer = styled.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) {
37854
+ var NoMessagesContainer = styled.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) {
37693
37855
  return props.color;
37694
37856
  });
37695
- var NoMessagesTitle = styled.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) {
37857
+ var NoMessagesTitle = styled.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) {
37696
37858
  return props.color;
37697
37859
  });
37698
- var NoMessagesText = styled.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) {
37860
+ var NoMessagesText = styled.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) {
37699
37861
  return props.color;
37700
37862
  });
37701
37863
 
@@ -38111,7 +38273,7 @@ function $isMentionNode(node) {
38111
38273
  return node instanceof MentionNode;
38112
38274
  }
38113
38275
 
38114
- var _templateObject$J, _templateObject2$E, _templateObject3$y, _templateObject4$u, _templateObject5$p;
38276
+ var _templateObject$K, _templateObject2$F, _templateObject3$z, _templateObject4$v, _templateObject5$q;
38115
38277
  var PUNCTUATION = '\\.,\\+\\*\\?\\$\\@\\|#{}\\(\\)\\^\\-\\[\\]\\\\/!%\'"~=<>_:;';
38116
38278
  var NAME = '\\b[A-Z][^\\s' + PUNCTUATION + ']';
38117
38279
  var DocumentMentionsRegex = {
@@ -38391,8 +38553,8 @@ function MentionsPlugin(_ref3) {
38391
38553
  }
38392
38554
  });
38393
38555
  }
38394
- var MentionsContainerWrapper = styled.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"])));
38395
- var MentionsList = styled.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) {
38556
+ var MentionsContainerWrapper = styled.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"])));
38557
+ var MentionsList = styled.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) {
38396
38558
  return props.backgroundColor;
38397
38559
  }, function (props) {
38398
38560
  return props.withBorder && "1px solid " + props.borderColor;
@@ -38401,32 +38563,32 @@ var MentionsList = styled.ul(_templateObject2$E || (_templateObject2$E = _tagged
38401
38563
  }, function (props) {
38402
38564
  return props.hidden ? 'hidden' : 'visible';
38403
38565
  });
38404
- var MemberItem = styled.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) {
38566
+ var MemberItem = styled.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) {
38405
38567
  return props.isActiveItem && props.activeBackgroundColor;
38406
38568
  }, UserStatus);
38407
- var UserNamePresence$2 = styled.div(_templateObject4$u || (_templateObject4$u = _taggedTemplateLiteralLoose(["\n width: calc(100% - 44px);\n margin-left: 12px;\n"])));
38408
- var MemberName$2 = styled.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) {
38569
+ var UserNamePresence$2 = styled.div(_templateObject4$v || (_templateObject4$v = _taggedTemplateLiteralLoose(["\n width: calc(100% - 44px);\n margin-left: 12px;\n"])));
38570
+ var MemberName$2 = styled.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) {
38409
38571
  return props.color;
38410
38572
  });
38411
38573
 
38412
- var _path$17;
38413
- function _extends$19() {
38414
- return _extends$19 = Object.assign ? Object.assign.bind() : function (n) {
38574
+ var _path$18;
38575
+ function _extends$1a() {
38576
+ return _extends$1a = Object.assign ? Object.assign.bind() : function (n) {
38415
38577
  for (var e = 1; e < arguments.length; e++) {
38416
38578
  var t = arguments[e];
38417
38579
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
38418
38580
  }
38419
38581
  return n;
38420
- }, _extends$19.apply(null, arguments);
38582
+ }, _extends$1a.apply(null, arguments);
38421
38583
  }
38422
38584
  function SvgBold(props) {
38423
- return /*#__PURE__*/createElement$1("svg", _extends$19({
38585
+ return /*#__PURE__*/createElement$1("svg", _extends$1a({
38424
38586
  width: 18,
38425
38587
  height: 18,
38426
38588
  viewBox: "0 0 18.01 18.01",
38427
38589
  fill: "none",
38428
38590
  xmlns: "http://www.w3.org/2000/svg"
38429
- }, props), _path$17 || (_path$17 = /*#__PURE__*/createElement$1("path", {
38591
+ }, props), _path$18 || (_path$18 = /*#__PURE__*/createElement$1("path", {
38430
38592
  fillRule: "evenodd",
38431
38593
  clipRule: "evenodd",
38432
38594
  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",
@@ -38434,24 +38596,24 @@ function SvgBold(props) {
38434
38596
  })));
38435
38597
  }
38436
38598
 
38437
- var _path$18;
38438
- function _extends$1a() {
38439
- return _extends$1a = Object.assign ? Object.assign.bind() : function (n) {
38599
+ var _path$19;
38600
+ function _extends$1b() {
38601
+ return _extends$1b = Object.assign ? Object.assign.bind() : function (n) {
38440
38602
  for (var e = 1; e < arguments.length; e++) {
38441
38603
  var t = arguments[e];
38442
38604
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
38443
38605
  }
38444
38606
  return n;
38445
- }, _extends$1a.apply(null, arguments);
38607
+ }, _extends$1b.apply(null, arguments);
38446
38608
  }
38447
38609
  function SvgItalic(props) {
38448
- return /*#__PURE__*/createElement$1("svg", _extends$1a({
38610
+ return /*#__PURE__*/createElement$1("svg", _extends$1b({
38449
38611
  width: 18,
38450
38612
  height: 18,
38451
38613
  viewBox: "0 0 18.01 18.01",
38452
38614
  fill: "none",
38453
38615
  xmlns: "http://www.w3.org/2000/svg"
38454
- }, props), _path$18 || (_path$18 = /*#__PURE__*/createElement$1("path", {
38616
+ }, props), _path$19 || (_path$19 = /*#__PURE__*/createElement$1("path", {
38455
38617
  fillRule: "evenodd",
38456
38618
  clipRule: "evenodd",
38457
38619
  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",
@@ -38460,17 +38622,17 @@ function SvgItalic(props) {
38460
38622
  }
38461
38623
 
38462
38624
  var _g$1;
38463
- function _extends$1b() {
38464
- return _extends$1b = Object.assign ? Object.assign.bind() : function (n) {
38625
+ function _extends$1c() {
38626
+ return _extends$1c = Object.assign ? Object.assign.bind() : function (n) {
38465
38627
  for (var e = 1; e < arguments.length; e++) {
38466
38628
  var t = arguments[e];
38467
38629
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
38468
38630
  }
38469
38631
  return n;
38470
- }, _extends$1b.apply(null, arguments);
38632
+ }, _extends$1c.apply(null, arguments);
38471
38633
  }
38472
38634
  function SvgStrikethrough(props) {
38473
- return /*#__PURE__*/createElement$1("svg", _extends$1b({
38635
+ return /*#__PURE__*/createElement$1("svg", _extends$1c({
38474
38636
  width: 18,
38475
38637
  height: 18,
38476
38638
  viewBox: "0 0 18.01 18.01",
@@ -38487,41 +38649,41 @@ function SvgStrikethrough(props) {
38487
38649
  }))));
38488
38650
  }
38489
38651
 
38490
- var _path$19;
38491
- function _extends$1c() {
38492
- return _extends$1c = Object.assign ? Object.assign.bind() : function (n) {
38652
+ var _path$1a;
38653
+ function _extends$1d() {
38654
+ return _extends$1d = Object.assign ? Object.assign.bind() : function (n) {
38493
38655
  for (var e = 1; e < arguments.length; e++) {
38494
38656
  var t = arguments[e];
38495
38657
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
38496
38658
  }
38497
38659
  return n;
38498
- }, _extends$1c.apply(null, arguments);
38660
+ }, _extends$1d.apply(null, arguments);
38499
38661
  }
38500
38662
  function SvgMono(props) {
38501
- return /*#__PURE__*/createElement$1("svg", _extends$1c({
38663
+ return /*#__PURE__*/createElement$1("svg", _extends$1d({
38502
38664
  width: 18,
38503
38665
  height: 18,
38504
38666
  viewBox: "0 0 18.01 18.01",
38505
38667
  fill: "none",
38506
38668
  xmlns: "http://www.w3.org/2000/svg"
38507
- }, props), _path$19 || (_path$19 = /*#__PURE__*/createElement$1("path", {
38669
+ }, props), _path$1a || (_path$1a = /*#__PURE__*/createElement$1("path", {
38508
38670
  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",
38509
38671
  fill: "CurrentColor"
38510
38672
  })));
38511
38673
  }
38512
38674
 
38513
38675
  var _g$2;
38514
- function _extends$1d() {
38515
- return _extends$1d = Object.assign ? Object.assign.bind() : function (n) {
38676
+ function _extends$1e() {
38677
+ return _extends$1e = Object.assign ? Object.assign.bind() : function (n) {
38516
38678
  for (var e = 1; e < arguments.length; e++) {
38517
38679
  var t = arguments[e];
38518
38680
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
38519
38681
  }
38520
38682
  return n;
38521
- }, _extends$1d.apply(null, arguments);
38683
+ }, _extends$1e.apply(null, arguments);
38522
38684
  }
38523
38685
  function SvgUnderline(props) {
38524
- return /*#__PURE__*/createElement$1("svg", _extends$1d({
38686
+ return /*#__PURE__*/createElement$1("svg", _extends$1e({
38525
38687
  width: 18,
38526
38688
  height: 18,
38527
38689
  viewBox: "0 0 18.01 18.01",
@@ -38538,7 +38700,7 @@ function SvgUnderline(props) {
38538
38700
  }))));
38539
38701
  }
38540
38702
 
38541
- var _templateObject$K, _templateObject2$F;
38703
+ var _templateObject$L, _templateObject2$G;
38542
38704
  function mergeRegister() {
38543
38705
  for (var _len = arguments.length, func = new Array(_len), _key = 0; _key < _len; _key++) {
38544
38706
  func[_key] = arguments[_key];
@@ -38919,10 +39081,10 @@ function FloatingTextFormatToolbarPlugin(_ref3) {
38919
39081
  editor = _useLexicalComposerCo[0];
38920
39082
  return useFloatingTextFormatToolbar(editor, anchorElem);
38921
39083
  }
38922
- var FloatingTextFormatPopup = styled.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) {
39084
+ var FloatingTextFormatPopup = styled.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) {
38923
39085
  return props.popupColor;
38924
39086
  });
38925
- var Action$1 = styled.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) {
39087
+ var Action$1 = styled.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) {
38926
39088
  return props.iconColor;
38927
39089
  }, function (props) {
38928
39090
  return props.isActive && "\n color: " + props.hoverIconColor + ";\n background-color: " + props.hoverBackgroundColor + ";\n ";
@@ -39245,7 +39407,7 @@ function FormatMessagePlugin(_ref) {
39245
39407
  return null;
39246
39408
  }
39247
39409
 
39248
- var _templateObject$L, _templateObject2$G, _templateObject3$z, _templateObject4$v, _templateObject5$q, _templateObject6$m, _templateObject7$k, _templateObject8$j;
39410
+ var _templateObject$M, _templateObject2$H, _templateObject3$A, _templateObject4$w, _templateObject5$r, _templateObject6$n, _templateObject7$l, _templateObject8$k;
39249
39411
  var EmojiIcon$1 = function EmojiIcon(_ref) {
39250
39412
  var collectionName = _ref.collectionName;
39251
39413
  switch (collectionName) {
@@ -39440,7 +39602,7 @@ function EmojisPopup$1(_ref2) {
39440
39602
  }));
39441
39603
  }))));
39442
39604
  }
39443
- var Container$j = styled.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) {
39605
+ var Container$j = styled.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) {
39444
39606
  return props.leftPosition ? 'fixed' : props.relativePosition ? 'relative' : 'absolute';
39445
39607
  }, function (props) {
39446
39608
  return props.rightSide ? "calc(" + props.leftPosition + " - 250px)" : props.leftPosition || (props.rtlDirection ? '' : props.rightSide ? '' : '5px');
@@ -39461,40 +39623,40 @@ var Container$j = styled.div(_templateObject$L || (_templateObject$L = _taggedTe
39461
39623
  }, function (props) {
39462
39624
  return props.rendered && "\n height: 225px;\n ";
39463
39625
  });
39464
- var EmojiHeader$1 = styled.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) {
39626
+ var EmojiHeader$1 = styled.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) {
39465
39627
  return props.color;
39466
39628
  }, function (props) {
39467
39629
  return props.padding || '6px 18px';
39468
39630
  });
39469
- var EmojiSection$1 = styled.div(_templateObject3$z || (_templateObject3$z = _taggedTemplateLiteralLoose(["\n height: 180px;\n overflow-x: hidden;\n\n & ::selection {\n color: inherit;\n background: inherit;\n }\n"])));
39470
- var EmojiCollection$1 = styled.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) {
39631
+ var EmojiSection$1 = styled.div(_templateObject3$A || (_templateObject3$A = _taggedTemplateLiteralLoose(["\n height: 180px;\n overflow-x: hidden;\n\n & ::selection {\n color: inherit;\n background: inherit;\n }\n"])));
39632
+ var EmojiCollection$1 = styled.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) {
39471
39633
  return props.iconColor;
39472
39634
  });
39473
- var CollectionPointer$1 = styled.span(_templateObject5$q || (_templateObject5$q = _taggedTemplateLiteralLoose([""])));
39474
- var AllEmojis$1 = styled.ul(_templateObject6$m || (_templateObject6$m = _taggedTemplateLiteralLoose(["\n overflow: hidden;\n padding: 0 8px 8px;\n margin: 0;\n"])));
39475
- var EmojiFooter$1 = styled.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) {
39635
+ var CollectionPointer$1 = styled.span(_templateObject5$r || (_templateObject5$r = _taggedTemplateLiteralLoose([""])));
39636
+ var AllEmojis$1 = styled.ul(_templateObject6$n || (_templateObject6$n = _taggedTemplateLiteralLoose(["\n overflow: hidden;\n padding: 0 8px 8px;\n margin: 0;\n"])));
39637
+ var EmojiFooter$1 = styled.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) {
39476
39638
  return props.emojisCategoryIconsPosition !== 'top' && "1px solid " + props.borderColor;
39477
39639
  }, function (props) {
39478
39640
  return props.emojisCategoryIconsPosition === 'top' && "1px solid " + props.borderColor;
39479
39641
  });
39480
- var Emoji$1 = styled.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) {
39642
+ var Emoji$1 = styled.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) {
39481
39643
  return props.hoverBackgroundColor;
39482
39644
  });
39483
39645
 
39484
39646
  var CAN_USE_DOM = typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined';
39485
39647
 
39486
- var _circle$6, _path$1a;
39487
- function _extends$1e() {
39488
- return _extends$1e = Object.assign ? Object.assign.bind() : function (n) {
39648
+ var _circle$6, _path$1b;
39649
+ function _extends$1f() {
39650
+ return _extends$1f = Object.assign ? Object.assign.bind() : function (n) {
39489
39651
  for (var e = 1; e < arguments.length; e++) {
39490
39652
  var t = arguments[e];
39491
39653
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
39492
39654
  }
39493
39655
  return n;
39494
- }, _extends$1e.apply(null, arguments);
39656
+ }, _extends$1f.apply(null, arguments);
39495
39657
  }
39496
39658
  function SvgSend(props) {
39497
- return /*#__PURE__*/createElement$1("svg", _extends$1e({
39659
+ return /*#__PURE__*/createElement$1("svg", _extends$1f({
39498
39660
  width: 32,
39499
39661
  height: 32,
39500
39662
  fill: "none",
@@ -39504,142 +39666,142 @@ function SvgSend(props) {
39504
39666
  cy: 16,
39505
39667
  r: 16,
39506
39668
  fill: "currentColor"
39507
- })), _path$1a || (_path$1a = /*#__PURE__*/createElement$1("path", {
39669
+ })), _path$1b || (_path$1b = /*#__PURE__*/createElement$1("path", {
39508
39670
  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",
39509
39671
  fill: "#fff"
39510
39672
  })));
39511
39673
  }
39512
39674
 
39513
- var _path$1b;
39514
- function _extends$1f() {
39515
- return _extends$1f = Object.assign ? Object.assign.bind() : function (n) {
39675
+ var _path$1c;
39676
+ function _extends$1g() {
39677
+ return _extends$1g = Object.assign ? Object.assign.bind() : function (n) {
39516
39678
  for (var e = 1; e < arguments.length; e++) {
39517
39679
  var t = arguments[e];
39518
39680
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
39519
39681
  }
39520
39682
  return n;
39521
- }, _extends$1f.apply(null, arguments);
39683
+ }, _extends$1g.apply(null, arguments);
39522
39684
  }
39523
39685
  function SvgEye(props) {
39524
- return /*#__PURE__*/createElement$1("svg", _extends$1f({
39686
+ return /*#__PURE__*/createElement$1("svg", _extends$1g({
39525
39687
  width: 25,
39526
39688
  height: 24,
39527
39689
  fill: "none",
39528
39690
  xmlns: "http://www.w3.org/2000/svg"
39529
- }, props), _path$1b || (_path$1b = /*#__PURE__*/createElement$1("path", {
39691
+ }, props), _path$1c || (_path$1c = /*#__PURE__*/createElement$1("path", {
39530
39692
  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",
39531
39693
  fill: "CurrentColor"
39532
39694
  })));
39533
39695
  }
39534
39696
 
39535
- var _path$1c;
39536
- function _extends$1g() {
39537
- return _extends$1g = Object.assign ? Object.assign.bind() : function (n) {
39697
+ var _path$1d;
39698
+ function _extends$1h() {
39699
+ return _extends$1h = Object.assign ? Object.assign.bind() : function (n) {
39538
39700
  for (var e = 1; e < arguments.length; e++) {
39539
39701
  var t = arguments[e];
39540
39702
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
39541
39703
  }
39542
39704
  return n;
39543
- }, _extends$1g.apply(null, arguments);
39705
+ }, _extends$1h.apply(null, arguments);
39544
39706
  }
39545
39707
  function SvgAddAttachment(props) {
39546
- return /*#__PURE__*/createElement$1("svg", _extends$1g({
39708
+ return /*#__PURE__*/createElement$1("svg", _extends$1h({
39547
39709
  width: 24,
39548
39710
  height: 24,
39549
39711
  viewBox: "0 0 24.01 24.01",
39550
39712
  fill: "none",
39551
39713
  xmlns: "http://www.w3.org/2000/svg"
39552
- }, props), _path$1c || (_path$1c = /*#__PURE__*/createElement$1("path", {
39714
+ }, props), _path$1d || (_path$1d = /*#__PURE__*/createElement$1("path", {
39553
39715
  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",
39554
39716
  fill: "CurrentColor"
39555
39717
  })));
39556
39718
  }
39557
39719
 
39558
- var _path$1d;
39559
- function _extends$1h() {
39560
- return _extends$1h = Object.assign ? Object.assign.bind() : function (n) {
39720
+ var _path$1e;
39721
+ function _extends$1i() {
39722
+ return _extends$1i = Object.assign ? Object.assign.bind() : function (n) {
39561
39723
  for (var e = 1; e < arguments.length; e++) {
39562
39724
  var t = arguments[e];
39563
39725
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
39564
39726
  }
39565
39727
  return n;
39566
- }, _extends$1h.apply(null, arguments);
39728
+ }, _extends$1i.apply(null, arguments);
39567
39729
  }
39568
39730
  function SvgErrorCircle(props) {
39569
- return /*#__PURE__*/createElement$1("svg", _extends$1h({
39731
+ return /*#__PURE__*/createElement$1("svg", _extends$1i({
39570
39732
  width: 25,
39571
39733
  height: 24,
39572
39734
  fill: "none",
39573
39735
  xmlns: "http://www.w3.org/2000/svg"
39574
- }, props), _path$1d || (_path$1d = /*#__PURE__*/createElement$1("path", {
39736
+ }, props), _path$1e || (_path$1e = /*#__PURE__*/createElement$1("path", {
39575
39737
  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",
39576
39738
  fill: "#FFB73D"
39577
39739
  })));
39578
39740
  }
39579
39741
 
39580
- var _path$1e;
39581
- function _extends$1i() {
39582
- return _extends$1i = Object.assign ? Object.assign.bind() : function (n) {
39742
+ var _path$1f;
39743
+ function _extends$1j() {
39744
+ return _extends$1j = Object.assign ? Object.assign.bind() : function (n) {
39583
39745
  for (var e = 1; e < arguments.length; e++) {
39584
39746
  var t = arguments[e];
39585
39747
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
39586
39748
  }
39587
39749
  return n;
39588
- }, _extends$1i.apply(null, arguments);
39750
+ }, _extends$1j.apply(null, arguments);
39589
39751
  }
39590
39752
  function SvgPlayRecord(props) {
39591
- return /*#__PURE__*/createElement$1("svg", _extends$1i({
39753
+ return /*#__PURE__*/createElement$1("svg", _extends$1j({
39592
39754
  width: 20,
39593
39755
  height: 20,
39594
39756
  viewBox: "0 0 20.01 20.01",
39595
39757
  fill: "none",
39596
39758
  xmlns: "http://www.w3.org/2000/svg"
39597
- }, props), _path$1e || (_path$1e = /*#__PURE__*/createElement$1("path", {
39759
+ }, props), _path$1f || (_path$1f = /*#__PURE__*/createElement$1("path", {
39598
39760
  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",
39599
39761
  fill: "CurrentColor"
39600
39762
  })));
39601
39763
  }
39602
39764
 
39603
- var _path$1f;
39604
- function _extends$1j() {
39605
- return _extends$1j = Object.assign ? Object.assign.bind() : function (n) {
39765
+ var _path$1g;
39766
+ function _extends$1k() {
39767
+ return _extends$1k = Object.assign ? Object.assign.bind() : function (n) {
39606
39768
  for (var e = 1; e < arguments.length; e++) {
39607
39769
  var t = arguments[e];
39608
39770
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
39609
39771
  }
39610
39772
  return n;
39611
- }, _extends$1j.apply(null, arguments);
39773
+ }, _extends$1k.apply(null, arguments);
39612
39774
  }
39613
39775
  function SvgPauseRecord(props) {
39614
- return /*#__PURE__*/createElement$1("svg", _extends$1j({
39776
+ return /*#__PURE__*/createElement$1("svg", _extends$1k({
39615
39777
  width: 20,
39616
39778
  height: 20,
39617
39779
  viewBox: "0 0 20.01 20.01",
39618
39780
  fill: "none",
39619
39781
  xmlns: "http://www.w3.org/2000/svg"
39620
- }, props), _path$1f || (_path$1f = /*#__PURE__*/createElement$1("path", {
39782
+ }, props), _path$1g || (_path$1g = /*#__PURE__*/createElement$1("path", {
39621
39783
  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",
39622
39784
  fill: "CurrentColor"
39623
39785
  })));
39624
39786
  }
39625
39787
 
39626
- var _path$1g;
39627
- function _extends$1k() {
39628
- return _extends$1k = Object.assign ? Object.assign.bind() : function (n) {
39788
+ var _path$1h;
39789
+ function _extends$1l() {
39790
+ return _extends$1l = Object.assign ? Object.assign.bind() : function (n) {
39629
39791
  for (var e = 1; e < arguments.length; e++) {
39630
39792
  var t = arguments[e];
39631
39793
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
39632
39794
  }
39633
39795
  return n;
39634
- }, _extends$1k.apply(null, arguments);
39796
+ }, _extends$1l.apply(null, arguments);
39635
39797
  }
39636
39798
  function SvgStopRecord(props) {
39637
- return /*#__PURE__*/createElement$1("svg", _extends$1k({
39799
+ return /*#__PURE__*/createElement$1("svg", _extends$1l({
39638
39800
  width: 20,
39639
39801
  height: 20,
39640
39802
  fill: "none",
39641
39803
  xmlns: "http://www.w3.org/2000/svg"
39642
- }, props), _path$1g || (_path$1g = /*#__PURE__*/createElement$1("path", {
39804
+ }, props), _path$1h || (_path$1h = /*#__PURE__*/createElement$1("path", {
39643
39805
  fillRule: "evenodd",
39644
39806
  clipRule: "evenodd",
39645
39807
  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",
@@ -39647,18 +39809,18 @@ function SvgStopRecord(props) {
39647
39809
  })));
39648
39810
  }
39649
39811
 
39650
- var _circle$7, _path$1h, _path2$8;
39651
- function _extends$1l() {
39652
- return _extends$1l = Object.assign ? Object.assign.bind() : function (n) {
39812
+ var _circle$7, _path$1i, _path2$9;
39813
+ function _extends$1m() {
39814
+ return _extends$1m = Object.assign ? Object.assign.bind() : function (n) {
39653
39815
  for (var e = 1; e < arguments.length; e++) {
39654
39816
  var t = arguments[e];
39655
39817
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
39656
39818
  }
39657
39819
  return n;
39658
- }, _extends$1l.apply(null, arguments);
39820
+ }, _extends$1m.apply(null, arguments);
39659
39821
  }
39660
39822
  function SvgRecordButton(props) {
39661
- return /*#__PURE__*/createElement$1("svg", _extends$1l({
39823
+ return /*#__PURE__*/createElement$1("svg", _extends$1m({
39662
39824
  width: 32,
39663
39825
  height: 32,
39664
39826
  viewBox: "0 0 32.01 32.01",
@@ -39669,16 +39831,16 @@ function SvgRecordButton(props) {
39669
39831
  cy: 16,
39670
39832
  r: 16,
39671
39833
  fill: "CurrentColor"
39672
- })), _path$1h || (_path$1h = /*#__PURE__*/createElement$1("path", {
39834
+ })), _path$1i || (_path$1i = /*#__PURE__*/createElement$1("path", {
39673
39835
  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",
39674
39836
  fill: "#fff"
39675
- })), _path2$8 || (_path2$8 = /*#__PURE__*/createElement$1("path", {
39837
+ })), _path2$9 || (_path2$9 = /*#__PURE__*/createElement$1("path", {
39676
39838
  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",
39677
39839
  fill: "#fff"
39678
39840
  })));
39679
39841
  }
39680
39842
 
39681
- var _templateObject$M, _templateObject2$H, _templateObject3$A, _templateObject4$w, _templateObject5$r, _templateObject6$n, _templateObject7$l;
39843
+ var _templateObject$N, _templateObject2$I, _templateObject3$B, _templateObject4$x, _templateObject5$s, _templateObject6$o, _templateObject7$m;
39682
39844
  var shouldDraw = false;
39683
39845
  var DEFAULT_MAX_RECORDING_DURATION = 600;
39684
39846
  var AudioRecord = function AudioRecord(_ref) {
@@ -40256,10 +40418,10 @@ var AudioRecord = function AudioRecord(_ref) {
40256
40418
  iconColor: accentColor
40257
40419
  }, showRecording || currentRecordedFile ? /*#__PURE__*/React__default.createElement(SvgSend, null) : /*#__PURE__*/React__default.createElement(SvgRecordButton, null)));
40258
40420
  };
40259
- var Container$k = styled.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) {
40421
+ var Container$k = styled.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) {
40260
40422
  return props.recording && "width: 400px";
40261
40423
  });
40262
- var AudioWrapper = styled.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) {
40424
+ var AudioWrapper = styled.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) {
40263
40425
  return props.recording ? 'calc(100% - 84px)' : '0';
40264
40426
  }, function (props) {
40265
40427
  return props.recording ? '0 8px' : '0';
@@ -40268,10 +40430,10 @@ var AudioWrapper = styled.div(_templateObject2$H || (_templateObject2$H = _tagge
40268
40430
  }, function (props) {
40269
40431
  return props.recording ? '0 12px 0 0' : '0';
40270
40432
  });
40271
- var RecordIconWrapper = styled.span(_templateObject3$A || (_templateObject3$A = _taggedTemplateLiteralLoose(["\n display: flex;\n cursor: pointer;\n > svg {\n color: ", ";\n }\n"])), function (props) {
40433
+ var RecordIconWrapper = styled.span(_templateObject3$B || (_templateObject3$B = _taggedTemplateLiteralLoose(["\n display: flex;\n cursor: pointer;\n > svg {\n color: ", ";\n }\n"])), function (props) {
40272
40434
  return props.iconColor;
40273
40435
  });
40274
- var AudioVisualization$1 = styled.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) {
40436
+ var AudioVisualization$1 = styled.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) {
40275
40437
  var show = _ref5.show;
40276
40438
  return show ? '1' : '0';
40277
40439
  }, function (_ref6) {
@@ -40283,10 +40445,10 @@ var AudioVisualization$1 = styled.div(_templateObject4$w || (_templateObject4$w
40283
40445
  }, function (props) {
40284
40446
  return props.color;
40285
40447
  });
40286
- var PlayPause$1 = styled.div(_templateObject5$r || (_templateObject5$r = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n padding: 10px;\n > svg {\n color: ", ";\n }\n"])), function (props) {
40448
+ var PlayPause$1 = styled.div(_templateObject5$s || (_templateObject5$s = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n padding: 10px;\n > svg {\n color: ", ";\n }\n"])), function (props) {
40287
40449
  return props.iconColor;
40288
40450
  });
40289
- var Canvas = styled.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) {
40451
+ var Canvas = styled.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) {
40290
40452
  var recording = _ref8.recording;
40291
40453
  return recording ? '300px' : '0';
40292
40454
  }, function (_ref9) {
@@ -40296,14 +40458,14 @@ var Canvas = styled.canvas(_templateObject6$n || (_templateObject6$n = _taggedTe
40296
40458
  var hide = _ref0.hide;
40297
40459
  return hide && '-1';
40298
40460
  });
40299
- var Timer$2 = styled.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) {
40461
+ var Timer$2 = styled.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) {
40300
40462
  return props.color;
40301
40463
  });
40302
40464
 
40303
- var _templateObject$N, _templateObject2$I, _templateObject3$B;
40304
- var wave = 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"])));
40305
- var Wrapper = styled.div(_templateObject2$I || (_templateObject2$I = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: flex-end;\n height: 8px;\n gap: 1.5px;\n"])));
40306
- var Bar$1 = styled.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) {
40465
+ var _templateObject$O, _templateObject2$J, _templateObject3$C;
40466
+ var wave = 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"])));
40467
+ var Wrapper = styled.div(_templateObject2$J || (_templateObject2$J = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: flex-end;\n height: 8px;\n gap: 1.5px;\n"])));
40468
+ var Bar$1 = styled.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) {
40307
40469
  return props.borderColor;
40308
40470
  }, wave, function (_ref) {
40309
40471
  var delay = _ref.delay;
@@ -40329,29 +40491,29 @@ var RecordingAnimation = function RecordingAnimation(_ref2) {
40329
40491
  }));
40330
40492
  };
40331
40493
 
40332
- var _path$1i;
40333
- function _extends$1m() {
40334
- return _extends$1m = Object.assign ? Object.assign.bind() : function (n) {
40494
+ var _path$1j;
40495
+ function _extends$1n() {
40496
+ return _extends$1n = Object.assign ? Object.assign.bind() : function (n) {
40335
40497
  for (var e = 1; e < arguments.length; e++) {
40336
40498
  var t = arguments[e];
40337
40499
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
40338
40500
  }
40339
40501
  return n;
40340
- }, _extends$1m.apply(null, arguments);
40502
+ }, _extends$1n.apply(null, arguments);
40341
40503
  }
40342
40504
  function SvgDotsVertica(props) {
40343
- return /*#__PURE__*/createElement$1("svg", _extends$1m({
40505
+ return /*#__PURE__*/createElement$1("svg", _extends$1n({
40344
40506
  width: 16,
40345
40507
  height: 16,
40346
40508
  fill: "none",
40347
40509
  xmlns: "http://www.w3.org/2000/svg"
40348
- }, props), _path$1i || (_path$1i = /*#__PURE__*/createElement$1("path", {
40510
+ }, props), _path$1j || (_path$1j = /*#__PURE__*/createElement$1("path", {
40349
40511
  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",
40350
40512
  fill: "#757D8B"
40351
40513
  })));
40352
40514
  }
40353
40515
 
40354
- var _templateObject$O, _templateObject2$J, _templateObject3$C, _templateObject4$x, _templateObject5$s, _templateObject6$o, _templateObject7$m, _templateObject8$k;
40516
+ var _templateObject$P, _templateObject2$K, _templateObject3$D, _templateObject4$y, _templateObject5$t, _templateObject6$p, _templateObject7$n, _templateObject8$l;
40355
40517
  var CreatePollPopup = function CreatePollPopup(_ref) {
40356
40518
  var togglePopup = _ref.togglePopup,
40357
40519
  onCreate = _ref.onCreate;
@@ -40697,17 +40859,17 @@ var CreatePollPopup = function CreatePollPopup(_ref) {
40697
40859
  buttonText: 'Discard'
40698
40860
  })));
40699
40861
  };
40700
- var QuestionInputWrapper = styled.div(_templateObject$O || (_templateObject$O = _taggedTemplateLiteralLoose(["\n position: relative;\n"])));
40701
- var TextCounter = styled.span(_templateObject2$J || (_templateObject2$J = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 13px;\n right: 12px;\n font-size: 12px;\n color: ", ";\n"])), function (props) {
40862
+ var QuestionInputWrapper = styled.div(_templateObject$P || (_templateObject$P = _taggedTemplateLiteralLoose(["\n position: relative;\n"])));
40863
+ var TextCounter = styled.span(_templateObject2$K || (_templateObject2$K = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 13px;\n right: 12px;\n font-size: 12px;\n color: ", ";\n"])), function (props) {
40702
40864
  return props.color;
40703
40865
  });
40704
- var OptionsList$1 = styled.div(_templateObject3$C || (_templateObject3$C = _taggedTemplateLiteralLoose(["\n max-height: 240px;\n overflow-y: auto;\n margin-top: 8px;\n padding-right: 6px;\n"])));
40705
- var OptionRow = styled.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) {
40866
+ var OptionsList$1 = styled.div(_templateObject3$D || (_templateObject3$D = _taggedTemplateLiteralLoose(["\n max-height: 240px;\n overflow-y: auto;\n margin-top: 8px;\n padding-right: 6px;\n"])));
40867
+ var OptionRow = styled.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) {
40706
40868
  return props.isDragOver ? '1px dashed #A0A1B0' : '1px solid transparent';
40707
40869
  }, function (props) {
40708
40870
  return props.isDragging ? 0.6 : 1;
40709
40871
  });
40710
- var RemoveOptionIcon = styled(SvgClose)(_templateObject5$s || (_templateObject5$s = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n color: ", ";\n width: ", ";\n height: ", ";\n opacity: ", ";\n"])), function (props) {
40872
+ var RemoveOptionIcon = styled(SvgClose)(_templateObject5$t || (_templateObject5$t = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n color: ", ";\n width: ", ";\n height: ", ";\n opacity: ", ";\n"])), function (props) {
40711
40873
  return props.color;
40712
40874
  }, function (props) {
40713
40875
  return props.width;
@@ -40716,15 +40878,15 @@ var RemoveOptionIcon = styled(SvgClose)(_templateObject5$s || (_templateObject5$
40716
40878
  }, function (props) {
40717
40879
  return props.disabled ? 0.5 : 1;
40718
40880
  });
40719
- var AddOptionButton = styled.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) {
40881
+ var AddOptionButton = styled.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) {
40720
40882
  return props.color;
40721
40883
  });
40722
- var Settings = styled.div(_templateObject7$m || (_templateObject7$m = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n gap: 12px;\n margin-top: 8px;\n"])));
40723
- var SettingItem = styled.div(_templateObject8$k || (_templateObject8$k = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: 10px;\n color: ", ";\n"])), function (props) {
40884
+ var Settings = styled.div(_templateObject7$n || (_templateObject7$n = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n gap: 12px;\n margin-top: 8px;\n"])));
40885
+ var SettingItem = styled.div(_templateObject8$l || (_templateObject8$l = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: 10px;\n color: ", ";\n"])), function (props) {
40724
40886
  return props.color;
40725
40887
  });
40726
40888
 
40727
- 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;
40889
+ 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;
40728
40890
  function AutoFocusPlugin(_ref) {
40729
40891
  var messageForReply = _ref.messageForReply;
40730
40892
  var _useLexicalComposerCo = useLexicalComposerContext(),
@@ -42346,10 +42508,10 @@ var SendMessageInput = function SendMessageInput(_ref3) {
42346
42508
  maxRecordingDuration: audioRecordingMaxDuration
42347
42509
  }))))))))));
42348
42510
  };
42349
- var SendMessageWrapper = styled.div(_templateObject$P || (_templateObject$P = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n position: relative;\n z-index: 100;\n"])), function (props) {
42511
+ var SendMessageWrapper = styled.div(_templateObject$Q || (_templateObject$Q = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n position: relative;\n z-index: 100;\n"])), function (props) {
42350
42512
  return props.backgroundColor;
42351
42513
  });
42352
- var Container$l = styled.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) {
42514
+ var Container$l = styled.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) {
42353
42515
  return props.margin || '30px 0 16px';
42354
42516
  }, function (props) {
42355
42517
  return props.border || '';
@@ -42366,7 +42528,7 @@ var Container$l = styled.div(_templateObject2$K || (_templateObject2$K = _tagged
42366
42528
  }, function (props) {
42367
42529
  return props.mentionColor;
42368
42530
  });
42369
- var EditReplyMessageCont = styled.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) {
42531
+ var EditReplyMessageCont = styled.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) {
42370
42532
  return props.left || '0';
42371
42533
  }, function (props) {
42372
42534
  return props.bottom || '0';
@@ -42381,19 +42543,19 @@ var EditReplyMessageCont = styled.div(_templateObject3$D || (_templateObject3$D
42381
42543
  }, function (props) {
42382
42544
  return props.backgroundColor;
42383
42545
  });
42384
- var EditMessageText = styled.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"])));
42385
- var UploadErrorMessage = styled.p(_templateObject5$t || (_templateObject5$t = _taggedTemplateLiteralLoose(["\n margin: 0;\n position: absolute;\n top: -30px;\n color: ", ";\n"])), function (props) {
42546
+ var EditMessageText = styled.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"])));
42547
+ var UploadErrorMessage = styled.p(_templateObject5$u || (_templateObject5$u = _taggedTemplateLiteralLoose(["\n margin: 0;\n position: absolute;\n top: -30px;\n color: ", ";\n"])), function (props) {
42386
42548
  return props.color;
42387
42549
  });
42388
- var CloseEditMode = styled.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) {
42550
+ var CloseEditMode = styled.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) {
42389
42551
  return props.color;
42390
42552
  });
42391
- var UserName$1 = styled.span(_templateObject7$n || (_templateObject7$n = _taggedTemplateLiteralLoose(["\n font-weight: 500;\n margin-left: 4px;\n"])));
42392
- var ReplyMessageBody$1 = styled.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"])));
42393
- var EditReplyMessageHeader = styled.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) {
42553
+ var UserName$1 = styled.span(_templateObject7$o || (_templateObject7$o = _taggedTemplateLiteralLoose(["\n font-weight: 500;\n margin-left: 4px;\n"])));
42554
+ var ReplyMessageBody$1 = styled.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"])));
42555
+ var EditReplyMessageHeader = styled.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) {
42394
42556
  return props.color;
42395
42557
  });
42396
- var AddAttachmentIcon = styled.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) {
42558
+ var AddAttachmentIcon = styled.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) {
42397
42559
  return props.height ? props.height + "px" : '36px';
42398
42560
  }, function (props) {
42399
42561
  return props.order === 0 || props.order ? props.order : 1;
@@ -42402,14 +42564,14 @@ var AddAttachmentIcon = styled.span(_templateObject0$g || (_templateObject0$g =
42402
42564
  }, function (props) {
42403
42565
  return props.hoverColor;
42404
42566
  });
42405
- var SendMessageInputContainer = styled.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) {
42567
+ var SendMessageInputContainer = styled.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) {
42406
42568
  return props.minHeight || '36px';
42407
42569
  }, function (props) {
42408
42570
  return props.messageForReply ? '0 0 4px 4px' : '4px';
42409
42571
  }, AddAttachmentIcon, function (props) {
42410
42572
  return props.iconColor;
42411
42573
  });
42412
- var MessageInputWrapper = styled.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) {
42574
+ var MessageInputWrapper = styled.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) {
42413
42575
  return props.channelDetailsIsOpen ? "calc(100% - " + (props.channelDetailsIsOpen ? 362 : 0) + "px)" : '';
42414
42576
  }, function (props) {
42415
42577
  return props.backgroundColor;
@@ -42538,23 +42700,23 @@ var copyToClipboard = function copyToClipboard(text) {
42538
42700
  }
42539
42701
  };
42540
42702
 
42541
- var _path$1j;
42542
- function _extends$1n() {
42543
- return _extends$1n = Object.assign ? Object.assign.bind() : function (n) {
42703
+ var _path$1k;
42704
+ function _extends$1o() {
42705
+ return _extends$1o = Object.assign ? Object.assign.bind() : function (n) {
42544
42706
  for (var e = 1; e < arguments.length; e++) {
42545
42707
  var t = arguments[e];
42546
42708
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
42547
42709
  }
42548
42710
  return n;
42549
- }, _extends$1n.apply(null, arguments);
42711
+ }, _extends$1o.apply(null, arguments);
42550
42712
  }
42551
42713
  function SvgBottom(props) {
42552
- return /*#__PURE__*/createElement$1("svg", _extends$1n({
42714
+ return /*#__PURE__*/createElement$1("svg", _extends$1o({
42553
42715
  width: 12,
42554
42716
  height: 7,
42555
42717
  fill: "none",
42556
42718
  xmlns: "http://www.w3.org/2000/svg"
42557
- }, props), _path$1j || (_path$1j = /*#__PURE__*/createElement$1("path", {
42719
+ }, props), _path$1k || (_path$1k = /*#__PURE__*/createElement$1("path", {
42558
42720
  d: "M1.5 1.5l4.5 4 4.5-4",
42559
42721
  stroke: "#676A7C",
42560
42722
  strokeWidth: 1.4,
@@ -42563,50 +42725,50 @@ function SvgBottom(props) {
42563
42725
  })));
42564
42726
  }
42565
42727
 
42566
- var _path$1k, _path2$9;
42567
- function _extends$1o() {
42568
- return _extends$1o = Object.assign ? Object.assign.bind() : function (n) {
42728
+ var _path$1l, _path2$a;
42729
+ function _extends$1p() {
42730
+ return _extends$1p = Object.assign ? Object.assign.bind() : function (n) {
42569
42731
  for (var e = 1; e < arguments.length; e++) {
42570
42732
  var t = arguments[e];
42571
42733
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
42572
42734
  }
42573
42735
  return n;
42574
- }, _extends$1o.apply(null, arguments);
42736
+ }, _extends$1p.apply(null, arguments);
42575
42737
  }
42576
42738
  function SvgMarkAsUnRead(props) {
42577
- return /*#__PURE__*/createElement$1("svg", _extends$1o({
42739
+ return /*#__PURE__*/createElement$1("svg", _extends$1p({
42578
42740
  width: 20,
42579
42741
  height: 20,
42580
42742
  viewBox: "0 0 20.01 20.01",
42581
42743
  fill: "none",
42582
42744
  xmlns: "http://www.w3.org/2000/svg"
42583
- }, props), _path$1k || (_path$1k = /*#__PURE__*/createElement$1("path", {
42745
+ }, props), _path$1l || (_path$1l = /*#__PURE__*/createElement$1("path", {
42584
42746
  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",
42585
42747
  fill: "currentColor"
42586
- })), _path2$9 || (_path2$9 = /*#__PURE__*/createElement$1("path", {
42748
+ })), _path2$a || (_path2$a = /*#__PURE__*/createElement$1("path", {
42587
42749
  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",
42588
42750
  fill: "currentColor"
42589
42751
  })));
42590
42752
  }
42591
42753
 
42592
- var _path$1l;
42593
- function _extends$1p() {
42594
- return _extends$1p = Object.assign ? Object.assign.bind() : function (n) {
42754
+ var _path$1m;
42755
+ function _extends$1q() {
42756
+ return _extends$1q = Object.assign ? Object.assign.bind() : function (n) {
42595
42757
  for (var e = 1; e < arguments.length; e++) {
42596
42758
  var t = arguments[e];
42597
42759
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
42598
42760
  }
42599
42761
  return n;
42600
- }, _extends$1p.apply(null, arguments);
42762
+ }, _extends$1q.apply(null, arguments);
42601
42763
  }
42602
42764
  function SvgMarkAsRead(props) {
42603
- return /*#__PURE__*/createElement$1("svg", _extends$1p({
42765
+ return /*#__PURE__*/createElement$1("svg", _extends$1q({
42604
42766
  width: 20,
42605
42767
  height: 20,
42606
42768
  viewBox: "0 0 20.01 20.01",
42607
42769
  fill: "none",
42608
42770
  xmlns: "http://www.w3.org/2000/svg"
42609
- }, props), _path$1l || (_path$1l = /*#__PURE__*/createElement$1("path", {
42771
+ }, props), _path$1m || (_path$1m = /*#__PURE__*/createElement$1("path", {
42610
42772
  fillRule: "evenodd",
42611
42773
  clipRule: "evenodd",
42612
42774
  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",
@@ -42614,23 +42776,23 @@ function SvgMarkAsRead(props) {
42614
42776
  })));
42615
42777
  }
42616
42778
 
42617
- var _path$1m;
42618
- function _extends$1q() {
42619
- return _extends$1q = Object.assign ? Object.assign.bind() : function (n) {
42779
+ var _path$1n;
42780
+ function _extends$1r() {
42781
+ return _extends$1r = Object.assign ? Object.assign.bind() : function (n) {
42620
42782
  for (var e = 1; e < arguments.length; e++) {
42621
42783
  var t = arguments[e];
42622
42784
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
42623
42785
  }
42624
42786
  return n;
42625
- }, _extends$1q.apply(null, arguments);
42787
+ }, _extends$1r.apply(null, arguments);
42626
42788
  }
42627
42789
  function SvgClear(props) {
42628
- return /*#__PURE__*/createElement$1("svg", _extends$1q({
42790
+ return /*#__PURE__*/createElement$1("svg", _extends$1r({
42629
42791
  width: 20,
42630
42792
  height: 21,
42631
42793
  fill: "none",
42632
42794
  xmlns: "http://www.w3.org/2000/svg"
42633
- }, props), _path$1m || (_path$1m = /*#__PURE__*/createElement$1("path", {
42795
+ }, props), _path$1n || (_path$1n = /*#__PURE__*/createElement$1("path", {
42634
42796
  fillRule: "evenodd",
42635
42797
  clipRule: "evenodd",
42636
42798
  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",
@@ -42638,49 +42800,49 @@ function SvgClear(props) {
42638
42800
  })));
42639
42801
  }
42640
42802
 
42641
- var _path$1n;
42642
- function _extends$1r() {
42643
- return _extends$1r = Object.assign ? Object.assign.bind() : function (n) {
42803
+ var _path$1o;
42804
+ function _extends$1s() {
42805
+ return _extends$1s = Object.assign ? Object.assign.bind() : function (n) {
42644
42806
  for (var e = 1; e < arguments.length; e++) {
42645
42807
  var t = arguments[e];
42646
42808
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
42647
42809
  }
42648
42810
  return n;
42649
- }, _extends$1r.apply(null, arguments);
42811
+ }, _extends$1s.apply(null, arguments);
42650
42812
  }
42651
42813
  function SvgBlockChannel(props) {
42652
- return /*#__PURE__*/createElement$1("svg", _extends$1r({
42814
+ return /*#__PURE__*/createElement$1("svg", _extends$1s({
42653
42815
  width: 20,
42654
42816
  height: 21,
42655
42817
  viewBox: "0 0 20.01 21.01",
42656
42818
  fill: "none",
42657
42819
  xmlns: "http://www.w3.org/2000/svg"
42658
- }, props), _path$1n || (_path$1n = /*#__PURE__*/createElement$1("path", {
42820
+ }, props), _path$1o || (_path$1o = /*#__PURE__*/createElement$1("path", {
42659
42821
  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",
42660
42822
  fill: "CurrentColor"
42661
42823
  })));
42662
42824
  }
42663
42825
 
42664
- var _path$1o, _path2$a;
42665
- function _extends$1s() {
42666
- return _extends$1s = Object.assign ? Object.assign.bind() : function (n) {
42826
+ var _path$1p, _path2$b;
42827
+ function _extends$1t() {
42828
+ return _extends$1t = Object.assign ? Object.assign.bind() : function (n) {
42667
42829
  for (var e = 1; e < arguments.length; e++) {
42668
42830
  var t = arguments[e];
42669
42831
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
42670
42832
  }
42671
42833
  return n;
42672
- }, _extends$1s.apply(null, arguments);
42834
+ }, _extends$1t.apply(null, arguments);
42673
42835
  }
42674
42836
  function SvgReport(props) {
42675
- return /*#__PURE__*/createElement$1("svg", _extends$1s({
42837
+ return /*#__PURE__*/createElement$1("svg", _extends$1t({
42676
42838
  width: 20,
42677
42839
  height: 21,
42678
42840
  fill: "none",
42679
42841
  xmlns: "http://www.w3.org/2000/svg"
42680
- }, props), _path$1o || (_path$1o = /*#__PURE__*/createElement$1("path", {
42842
+ }, props), _path$1p || (_path$1p = /*#__PURE__*/createElement$1("path", {
42681
42843
  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",
42682
42844
  fill: "CurrentColor"
42683
- })), _path2$a || (_path2$a = /*#__PURE__*/createElement$1("path", {
42845
+ })), _path2$b || (_path2$b = /*#__PURE__*/createElement$1("path", {
42684
42846
  fillRule: "evenodd",
42685
42847
  clipRule: "evenodd",
42686
42848
  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",
@@ -42688,52 +42850,52 @@ function SvgReport(props) {
42688
42850
  })));
42689
42851
  }
42690
42852
 
42691
- var _path$1p;
42692
- function _extends$1t() {
42693
- return _extends$1t = Object.assign ? Object.assign.bind() : function (n) {
42853
+ var _path$1q;
42854
+ function _extends$1u() {
42855
+ return _extends$1u = Object.assign ? Object.assign.bind() : function (n) {
42694
42856
  for (var e = 1; e < arguments.length; e++) {
42695
42857
  var t = arguments[e];
42696
42858
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
42697
42859
  }
42698
42860
  return n;
42699
- }, _extends$1t.apply(null, arguments);
42861
+ }, _extends$1u.apply(null, arguments);
42700
42862
  }
42701
42863
  function SvgStar(props) {
42702
- return /*#__PURE__*/createElement$1("svg", _extends$1t({
42864
+ return /*#__PURE__*/createElement$1("svg", _extends$1u({
42703
42865
  width: 20,
42704
42866
  height: 20,
42705
42867
  fill: "none",
42706
42868
  xmlns: "http://www.w3.org/2000/svg"
42707
- }, props), _path$1p || (_path$1p = /*#__PURE__*/createElement$1("path", {
42869
+ }, props), _path$1q || (_path$1q = /*#__PURE__*/createElement$1("path", {
42708
42870
  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",
42709
42871
  fill: "#B2B6BE"
42710
42872
  })));
42711
42873
  }
42712
42874
 
42713
- var _path$1q;
42714
- function _extends$1u() {
42715
- return _extends$1u = Object.assign ? Object.assign.bind() : function (n) {
42875
+ var _path$1r;
42876
+ function _extends$1v() {
42877
+ return _extends$1v = Object.assign ? Object.assign.bind() : function (n) {
42716
42878
  for (var e = 1; e < arguments.length; e++) {
42717
42879
  var t = arguments[e];
42718
42880
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
42719
42881
  }
42720
42882
  return n;
42721
- }, _extends$1u.apply(null, arguments);
42883
+ }, _extends$1v.apply(null, arguments);
42722
42884
  }
42723
42885
  function SvgUnpin(props) {
42724
- return /*#__PURE__*/createElement$1("svg", _extends$1u({
42886
+ return /*#__PURE__*/createElement$1("svg", _extends$1v({
42725
42887
  width: 20,
42726
42888
  height: 21,
42727
42889
  viewBox: "0 0 20.01 21.01",
42728
42890
  fill: "none",
42729
42891
  xmlns: "http://www.w3.org/2000/svg"
42730
- }, props), _path$1q || (_path$1q = /*#__PURE__*/createElement$1("path", {
42892
+ }, props), _path$1r || (_path$1r = /*#__PURE__*/createElement$1("path", {
42731
42893
  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",
42732
42894
  fill: "CurrentColor"
42733
42895
  })));
42734
42896
  }
42735
42897
 
42736
- 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;
42898
+ 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;
42737
42899
  var Actions = function Actions(_ref) {
42738
42900
  var setActionsHeight = _ref.setActionsHeight,
42739
42901
  channel = _ref.channel,
@@ -43197,22 +43359,22 @@ var Actions = function Actions(_ref) {
43197
43359
  title: popupTitle
43198
43360
  })));
43199
43361
  };
43200
- var Container$m = styled.div(_templateObject$Q || (_templateObject$Q = _taggedTemplateLiteralLoose(["\n padding: 10px 16px;\n border-bottom: 6px solid ", ";\n]"])), function (props) {
43362
+ var Container$m = styled.div(_templateObject$R || (_templateObject$R = _taggedTemplateLiteralLoose(["\n padding: 10px 16px;\n border-bottom: 6px solid ", ";\n]"])), function (props) {
43201
43363
  return props.borderColor;
43202
43364
  });
43203
- var ActionHeader = styled.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"])));
43204
- var MenuTriggerIcon = styled.span(_templateObject3$E || (_templateObject3$E = _taggedTemplateLiteralLoose(["\n transition: all 0.2s;\n ", "\n"])), function (props) {
43365
+ var ActionHeader = styled.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"])));
43366
+ var MenuTriggerIcon = styled.span(_templateObject3$F || (_templateObject3$F = _taggedTemplateLiteralLoose(["\n transition: all 0.2s;\n ", "\n"])), function (props) {
43205
43367
  return !props.isOpen && ' transform: rotate(-90deg);';
43206
43368
  });
43207
- var ActionsMenu = styled.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"])));
43208
- var DefaultMutedIcon = styled(SvgUnmuteNotifications)(_templateObject5$u || (_templateObject5$u = _taggedTemplateLiteralLoose([""])));
43209
- var DefaultMuteIcon = styled(SvgNotifications)(_templateObject6$q || (_templateObject6$q = _taggedTemplateLiteralLoose([""])));
43210
- var DefaultStarIcon = styled(SvgStar)(_templateObject7$o || (_templateObject7$o = _taggedTemplateLiteralLoose([""])));
43211
- var DefaultUnpinIcon = styled(SvgUnpin)(_templateObject8$m || (_templateObject8$m = _taggedTemplateLiteralLoose([""])));
43212
- var DefaultPinIcon = styled(SvgPin)(_templateObject9$i || (_templateObject9$i = _taggedTemplateLiteralLoose([""])));
43213
- var DefaultMarkAsRead = styled(SvgMarkAsRead)(_templateObject0$h || (_templateObject0$h = _taggedTemplateLiteralLoose([""])));
43214
- var DefaultMarkAsUnRead = styled(SvgMarkAsUnRead)(_templateObject1$d || (_templateObject1$d = _taggedTemplateLiteralLoose([""])));
43215
- var DefaultBlockIcon = styled(SvgBlockChannel)(_templateObject10$7 || (_templateObject10$7 = _taggedTemplateLiteralLoose([""])));
43369
+ var ActionsMenu = styled.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"])));
43370
+ var DefaultMutedIcon = styled(SvgUnmuteNotifications)(_templateObject5$v || (_templateObject5$v = _taggedTemplateLiteralLoose([""])));
43371
+ var DefaultMuteIcon = styled(SvgNotifications)(_templateObject6$r || (_templateObject6$r = _taggedTemplateLiteralLoose([""])));
43372
+ var DefaultStarIcon = styled(SvgStar)(_templateObject7$p || (_templateObject7$p = _taggedTemplateLiteralLoose([""])));
43373
+ var DefaultUnpinIcon = styled(SvgUnpin)(_templateObject8$n || (_templateObject8$n = _taggedTemplateLiteralLoose([""])));
43374
+ var DefaultPinIcon = styled(SvgPin)(_templateObject9$j || (_templateObject9$j = _taggedTemplateLiteralLoose([""])));
43375
+ var DefaultMarkAsRead = styled(SvgMarkAsRead)(_templateObject0$i || (_templateObject0$i = _taggedTemplateLiteralLoose([""])));
43376
+ var DefaultMarkAsUnRead = styled(SvgMarkAsUnRead)(_templateObject1$e || (_templateObject1$e = _taggedTemplateLiteralLoose([""])));
43377
+ var DefaultBlockIcon = styled(SvgBlockChannel)(_templateObject10$8 || (_templateObject10$8 = _taggedTemplateLiteralLoose([""])));
43216
43378
  var DefaultReportIcon = styled(SvgReport)(_templateObject11$7 || (_templateObject11$7 = _taggedTemplateLiteralLoose([""])));
43217
43379
  var DefaultClearIcon = styled(SvgClear)(_templateObject12$6 || (_templateObject12$6 = _taggedTemplateLiteralLoose([""])));
43218
43380
  var DefaultDeleteChannelIcon = styled(SvgDeleteChannel)(_templateObject13$4 || (_templateObject13$4 = _taggedTemplateLiteralLoose([""])));
@@ -43232,18 +43394,18 @@ var ActionItem = styled.li(_templateObject16$3 || (_templateObject16$3 = _tagged
43232
43394
  return props.hoverColor;
43233
43395
  });
43234
43396
 
43235
- var _rect$2, _rect2, _path$1r;
43236
- function _extends$1v() {
43237
- return _extends$1v = Object.assign ? Object.assign.bind() : function (n) {
43397
+ var _rect$2, _rect2, _path$1s;
43398
+ function _extends$1w() {
43399
+ return _extends$1w = Object.assign ? Object.assign.bind() : function (n) {
43238
43400
  for (var e = 1; e < arguments.length; e++) {
43239
43401
  var t = arguments[e];
43240
43402
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
43241
43403
  }
43242
43404
  return n;
43243
- }, _extends$1v.apply(null, arguments);
43405
+ }, _extends$1w.apply(null, arguments);
43244
43406
  }
43245
43407
  function SvgAddMember(props) {
43246
- return /*#__PURE__*/createElement$1("svg", _extends$1v({
43408
+ return /*#__PURE__*/createElement$1("svg", _extends$1w({
43247
43409
  width: 40,
43248
43410
  height: 40,
43249
43411
  viewBox: "0 0 40.01 40.01",
@@ -43263,35 +43425,35 @@ function SvgAddMember(props) {
43263
43425
  stroke: "#000",
43264
43426
  strokeOpacity: 0.08,
43265
43427
  strokeWidth: 0.5
43266
- })), _path$1r || (_path$1r = /*#__PURE__*/createElement$1("path", {
43428
+ })), _path$1s || (_path$1s = /*#__PURE__*/createElement$1("path", {
43267
43429
  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",
43268
43430
  fill: "CurrentColor"
43269
43431
  })));
43270
43432
  }
43271
43433
 
43272
- var _path$1s;
43273
- function _extends$1w() {
43274
- return _extends$1w = Object.assign ? Object.assign.bind() : function (n) {
43434
+ var _path$1t;
43435
+ function _extends$1x() {
43436
+ return _extends$1x = Object.assign ? Object.assign.bind() : function (n) {
43275
43437
  for (var e = 1; e < arguments.length; e++) {
43276
43438
  var t = arguments[e];
43277
43439
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
43278
43440
  }
43279
43441
  return n;
43280
- }, _extends$1w.apply(null, arguments);
43442
+ }, _extends$1x.apply(null, arguments);
43281
43443
  }
43282
43444
  function SvgMoreVert(props) {
43283
- return /*#__PURE__*/createElement$1("svg", _extends$1w({
43445
+ return /*#__PURE__*/createElement$1("svg", _extends$1x({
43284
43446
  width: 4,
43285
43447
  height: 14,
43286
43448
  fill: "none",
43287
43449
  xmlns: "http://www.w3.org/2000/svg"
43288
- }, props), _path$1s || (_path$1s = /*#__PURE__*/createElement$1("path", {
43450
+ }, props), _path$1t || (_path$1t = /*#__PURE__*/createElement$1("path", {
43289
43451
  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",
43290
43452
  fill: "#9B9DA8"
43291
43453
  })));
43292
43454
  }
43293
43455
 
43294
- var _templateObject$R, _templateObject2$M, _templateObject3$F;
43456
+ var _templateObject$S, _templateObject2$N, _templateObject3$G;
43295
43457
  var ChangeMemberRole = function ChangeMemberRole(_ref) {
43296
43458
  var theme = _ref.theme,
43297
43459
  channelId = _ref.channelId,
@@ -43391,12 +43553,12 @@ var ChangeMemberRole = function ChangeMemberRole(_ref) {
43391
43553
  onClick: handleSave
43392
43554
  }, "Save"))));
43393
43555
  };
43394
- var RolesSelect = styled.div(_templateObject$R || (_templateObject$R = _taggedTemplateLiteralLoose(["\n margin-bottom: 32px;\n"])));
43395
- var RoleLabel = styled.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) {
43556
+ var RolesSelect = styled.div(_templateObject$S || (_templateObject$S = _taggedTemplateLiteralLoose(["\n margin-bottom: 32px;\n"])));
43557
+ var RoleLabel = styled.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) {
43396
43558
  var color = _ref2.color;
43397
43559
  return color;
43398
43560
  });
43399
- var RoleSpan = styled.span(_templateObject3$F || (_templateObject3$F = _taggedTemplateLiteralLoose(["\n font-style: normal;\n font-weight: normal;\n font-size: 14px;\n text-transform: capitalize;\n"])));
43561
+ var RoleSpan = styled.span(_templateObject3$G || (_templateObject3$G = _taggedTemplateLiteralLoose(["\n font-style: normal;\n font-weight: normal;\n font-size: 14px;\n text-transform: capitalize;\n"])));
43400
43562
 
43401
43563
  function ResetLinkConfirmModal(_ref) {
43402
43564
  var _getInviteLinkOptions;
@@ -43433,7 +43595,7 @@ function ResetLinkConfirmModal(_ref) {
43433
43595
  });
43434
43596
  }
43435
43597
 
43436
- 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;
43598
+ 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;
43437
43599
  function InviteLinkModal(_ref) {
43438
43600
  var _getInviteLinkOptions, _tabs$link, _tabs$qr, _tabs$link2, _tabs$qr2;
43439
43601
  var onClose = _ref.onClose,
@@ -43905,40 +44067,40 @@ function InviteLinkModal(_ref) {
43905
44067
  handleForward: handleForwardChannels
43906
44068
  })));
43907
44069
  }
43908
- var LogoIconCont = styled.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"])));
43909
- var Tabs$1 = styled.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) {
44070
+ var LogoIconCont = styled.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"])));
44071
+ var Tabs$1 = styled.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) {
43910
44072
  return p.backgroundColor;
43911
44073
  }, function (p) {
43912
44074
  return p.borderColor;
43913
44075
  });
43914
- var TabButton = styled.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) {
44076
+ var TabButton = styled.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) {
43915
44077
  return p.active ? p.activeBackgroundColor : p.backgroundColor;
43916
44078
  }, function (p) {
43917
44079
  return p.active && "\n box-shadow: 0px 3px 6px -4px #0000001F;\n ";
43918
44080
  }, function (p) {
43919
44081
  return p.active ? p.activeColor : p.inactiveColor;
43920
44082
  });
43921
- var Description = styled.p(_templateObject4$A || (_templateObject4$A = _taggedTemplateLiteralLoose(["\n margin: 8px 0 16px;\n font-size: 14px;\n line-height: 16px;\n color: ", ";\n"])), function (p) {
44083
+ var Description = styled.p(_templateObject4$B || (_templateObject4$B = _taggedTemplateLiteralLoose(["\n margin: 8px 0 16px;\n font-size: 14px;\n line-height: 16px;\n color: ", ";\n"])), function (p) {
43922
44084
  return p.color;
43923
44085
  });
43924
- var FieldLabel = styled.span(_templateObject5$v || (_templateObject5$v = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n line-height: 16px;\n color: ", ";\n"])), function (p) {
44086
+ var FieldLabel = styled.span(_templateObject5$w || (_templateObject5$w = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n line-height: 16px;\n color: ", ";\n"])), function (p) {
43925
44087
  return p.color;
43926
44088
  });
43927
- var LinkField = styled.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) {
44089
+ var LinkField = styled.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) {
43928
44090
  return p.borderColor;
43929
44091
  }, function (p) {
43930
44092
  return p.backgroundColor;
43931
44093
  });
43932
- var LinkInput = styled.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) {
44094
+ var LinkInput = styled.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) {
43933
44095
  return p.color;
43934
44096
  });
43935
- var CopyButton = styled.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"])));
43936
- var CopyButtonWrapper = styled.div(_templateObject9$j || (_templateObject9$j = _taggedTemplateLiteralLoose(["\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n"])));
43937
- var SectionTitle = styled.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) {
44097
+ var CopyButton = styled.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"])));
44098
+ var CopyButtonWrapper = styled.div(_templateObject9$k || (_templateObject9$k = _taggedTemplateLiteralLoose(["\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n"])));
44099
+ var SectionTitle = styled.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) {
43938
44100
  return p.color;
43939
44101
  });
43940
- var HistoryRow = styled.div(_templateObject1$e || (_templateObject1$e = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 12px;\n"])));
43941
- var Switch = styled.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) {
44102
+ var HistoryRow = styled.div(_templateObject1$f || (_templateObject1$f = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 12px;\n"])));
44103
+ var Switch = styled.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) {
43942
44104
  return p.active ? p.accent : 'rgba(226,226,226,1)';
43943
44105
  }, function (p) {
43944
44106
  return p.active ? '22px' : '3px';
@@ -43953,7 +44115,7 @@ var QrHint = styled.p(_templateObject13$5 || (_templateObject13$5 = _taggedTempl
43953
44115
  return p.color;
43954
44116
  });
43955
44117
 
43956
- var _templateObject$T, _templateObject2$O, _templateObject3$H, _templateObject4$B, _templateObject5$w, _templateObject6$s, _templateObject7$q, _templateObject8$o, _templateObject9$k;
44118
+ var _templateObject$U, _templateObject2$P, _templateObject3$I, _templateObject4$C, _templateObject5$x, _templateObject6$t, _templateObject7$r, _templateObject8$p, _templateObject9$l;
43957
44119
  var Members = function Members(_ref) {
43958
44120
  var _members$find;
43959
44121
  var channel = _ref.channel,
@@ -44275,18 +44437,18 @@ var Members = function Members(_ref) {
44275
44437
  channelId: channel.id
44276
44438
  })));
44277
44439
  };
44278
- var Container$n = styled.div(_templateObject$T || (_templateObject$T = _taggedTemplateLiteralLoose([""])));
44279
- var ActionsMenu$1 = styled.div(_templateObject2$O || (_templateObject2$O = _taggedTemplateLiteralLoose(["\n position: relative;\n transition: all 0.2s;\n"])));
44280
- var MemberNamePresence = styled.div(_templateObject3$H || (_templateObject3$H = _taggedTemplateLiteralLoose(["\n margin-left: 12px;\n max-width: calc(100% - 84px);\n\n & > ", " {\n display: block;\n }\n"])), SubTitle);
44281
- var MemberNameWrapper = styled.div(_templateObject4$B || (_templateObject4$B = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n"])));
44282
- var MemberName$3 = styled.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) {
44440
+ var Container$n = styled.div(_templateObject$U || (_templateObject$U = _taggedTemplateLiteralLoose([""])));
44441
+ var ActionsMenu$1 = styled.div(_templateObject2$P || (_templateObject2$P = _taggedTemplateLiteralLoose(["\n position: relative;\n transition: all 0.2s;\n"])));
44442
+ var MemberNamePresence = styled.div(_templateObject3$I || (_templateObject3$I = _taggedTemplateLiteralLoose(["\n margin-left: 12px;\n max-width: calc(100% - 84px);\n\n & > ", " {\n display: block;\n }\n"])), SubTitle);
44443
+ var MemberNameWrapper = styled.div(_templateObject4$C || (_templateObject4$C = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n"])));
44444
+ var MemberName$3 = styled.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) {
44283
44445
  return props.color;
44284
44446
  });
44285
- var EditMemberIcon = styled.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) {
44447
+ var EditMemberIcon = styled.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) {
44286
44448
  return props.color;
44287
44449
  });
44288
- var MembersList = styled.ul(_templateObject7$q || (_templateObject7$q = _taggedTemplateLiteralLoose(["\n margin: 0;\n padding: 0;\n list-style: none;\n transition: all 0.2s;\n"])));
44289
- var MemberItem$1 = styled.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) {
44450
+ var MembersList = styled.ul(_templateObject7$r || (_templateObject7$r = _taggedTemplateLiteralLoose(["\n margin: 0;\n padding: 0;\n list-style: none;\n transition: all 0.2s;\n"])));
44451
+ var MemberItem$1 = styled.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) {
44290
44452
  return props.fontSize || '15px';
44291
44453
  }, function (props) {
44292
44454
  return props.color;
@@ -44297,13 +44459,13 @@ var MemberItem$1 = styled.li(_templateObject8$o || (_templateObject8$o = _tagged
44297
44459
  }, function (props) {
44298
44460
  return props.hoverBackground;
44299
44461
  }, EditMemberIcon, UserStatus);
44300
- var RoleBadge = styled.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) {
44462
+ var RoleBadge = styled.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) {
44301
44463
  return props.color;
44302
44464
  }, function (props) {
44303
44465
  return props.backgroundColor;
44304
44466
  });
44305
44467
 
44306
- var _templateObject$U, _templateObject2$P;
44468
+ var _templateObject$V, _templateObject2$Q;
44307
44469
  var Media = function Media(_ref) {
44308
44470
  var channel = _ref.channel;
44309
44471
  var _useColor = useColors(),
@@ -44349,21 +44511,21 @@ var Media = function Media(_ref) {
44349
44511
  currentMediaFile: mediaFile
44350
44512
  })));
44351
44513
  };
44352
- var Container$o = styled.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"])));
44353
- var MediaItem = styled.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"])));
44514
+ var Container$o = styled.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"])));
44515
+ var MediaItem = styled.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"])));
44354
44516
 
44355
- var _rect$3, _path$1t;
44356
- function _extends$1x() {
44357
- return _extends$1x = Object.assign ? Object.assign.bind() : function (n) {
44517
+ var _rect$3, _path$1u;
44518
+ function _extends$1y() {
44519
+ return _extends$1y = Object.assign ? Object.assign.bind() : function (n) {
44358
44520
  for (var e = 1; e < arguments.length; e++) {
44359
44521
  var t = arguments[e];
44360
44522
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
44361
44523
  }
44362
44524
  return n;
44363
- }, _extends$1x.apply(null, arguments);
44525
+ }, _extends$1y.apply(null, arguments);
44364
44526
  }
44365
44527
  function SvgFileIcon$1(props) {
44366
- return /*#__PURE__*/createElement$1("svg", _extends$1x({
44528
+ return /*#__PURE__*/createElement$1("svg", _extends$1y({
44367
44529
  width: 40,
44368
44530
  height: 40,
44369
44531
  fill: "none",
@@ -44375,7 +44537,7 @@ function SvgFileIcon$1(props) {
44375
44537
  rx: 8,
44376
44538
  fill: "currentColor",
44377
44539
  fillOpacity: 0.2
44378
- })), _path$1t || (_path$1t = /*#__PURE__*/createElement$1("path", {
44540
+ })), _path$1u || (_path$1u = /*#__PURE__*/createElement$1("path", {
44379
44541
  fillRule: "evenodd",
44380
44542
  clipRule: "evenodd",
44381
44543
  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",
@@ -44383,30 +44545,30 @@ function SvgFileIcon$1(props) {
44383
44545
  })));
44384
44546
  }
44385
44547
 
44386
- var _path$1u;
44387
- function _extends$1y() {
44388
- return _extends$1y = Object.assign ? Object.assign.bind() : function (n) {
44548
+ var _path$1v;
44549
+ function _extends$1z() {
44550
+ return _extends$1z = Object.assign ? Object.assign.bind() : function (n) {
44389
44551
  for (var e = 1; e < arguments.length; e++) {
44390
44552
  var t = arguments[e];
44391
44553
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
44392
44554
  }
44393
44555
  return n;
44394
- }, _extends$1y.apply(null, arguments);
44556
+ }, _extends$1z.apply(null, arguments);
44395
44557
  }
44396
44558
  function SvgDownloadFile(props) {
44397
- return /*#__PURE__*/createElement$1("svg", _extends$1y({
44559
+ return /*#__PURE__*/createElement$1("svg", _extends$1z({
44398
44560
  width: 24,
44399
44561
  height: 24,
44400
44562
  xmlns: "http://www.w3.org/2000/svg",
44401
44563
  fill: "currentColor"
44402
- }, props), _path$1u || (_path$1u = /*#__PURE__*/createElement$1("path", {
44564
+ }, props), _path$1v || (_path$1v = /*#__PURE__*/createElement$1("path", {
44403
44565
  fillRule: "evenodd",
44404
44566
  clipRule: "evenodd",
44405
44567
  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"
44406
44568
  })));
44407
44569
  }
44408
44570
 
44409
- var _templateObject$V, _templateObject2$Q, _templateObject3$I, _templateObject4$C, _templateObject5$x, _templateObject6$t, _templateObject7$r, _templateObject8$p;
44571
+ var _templateObject$W, _templateObject2$R, _templateObject3$J, _templateObject4$D, _templateObject5$y, _templateObject6$u, _templateObject7$s, _templateObject8$q;
44410
44572
  var Files = function Files(_ref) {
44411
44573
  var channelId = _ref.channelId,
44412
44574
  filePreviewIcon = _ref.filePreviewIcon,
@@ -44522,30 +44684,30 @@ var Files = function Files(_ref) {
44522
44684
  }))) : filePreviewDownloadIcon || /*#__PURE__*/React__default.createElement(SvgDownloadFile, null)));
44523
44685
  }));
44524
44686
  };
44525
- var Container$p = styled.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"])));
44526
- var DownloadWrapper = styled.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) {
44687
+ var Container$p = styled.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"])));
44688
+ var DownloadWrapper = styled.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) {
44527
44689
  return props.visible ? 'visible' : 'hidden';
44528
44690
  }, function (props) {
44529
44691
  return props.iconColor;
44530
44692
  }, function (props) {
44531
44693
  return props.iconColor;
44532
44694
  });
44533
- var ProgressWrapper$2 = styled.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"])));
44534
- var FileIconCont = styled.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) {
44695
+ var ProgressWrapper$2 = styled.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"])));
44696
+ var FileIconCont = styled.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) {
44535
44697
  return props.iconColor;
44536
44698
  }, function (props) {
44537
44699
  return props.fillColor;
44538
44700
  });
44539
- var FileHoverIconCont = styled.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) {
44701
+ var FileHoverIconCont = styled.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) {
44540
44702
  return props.iconColor;
44541
44703
  }, function (props) {
44542
44704
  return props.fillColor;
44543
44705
  });
44544
- var FileThumb = styled.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"])));
44545
- var FileItem = styled.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) {
44706
+ var FileThumb = styled.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"])));
44707
+ var FileItem = styled.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) {
44546
44708
  return props.hoverBackgroundColor;
44547
44709
  }, DownloadWrapper, FileIconCont, FileHoverIconCont);
44548
- var FileSizeAndDate = styled.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) {
44710
+ var FileSizeAndDate = styled.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) {
44549
44711
  return props.fontSize || '13px';
44550
44712
  }, function (props) {
44551
44713
  return props.lineHeight || '16px';
@@ -44553,18 +44715,18 @@ var FileSizeAndDate = styled.span(_templateObject8$p || (_templateObject8$p = _t
44553
44715
  return props.color;
44554
44716
  });
44555
44717
 
44556
- var _rect$4, _path$1v;
44557
- function _extends$1z() {
44558
- return _extends$1z = Object.assign ? Object.assign.bind() : function (n) {
44718
+ var _rect$4, _path$1w;
44719
+ function _extends$1A() {
44720
+ return _extends$1A = Object.assign ? Object.assign.bind() : function (n) {
44559
44721
  for (var e = 1; e < arguments.length; e++) {
44560
44722
  var t = arguments[e];
44561
44723
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
44562
44724
  }
44563
44725
  return n;
44564
- }, _extends$1z.apply(null, arguments);
44726
+ }, _extends$1A.apply(null, arguments);
44565
44727
  }
44566
44728
  function SvgLinkIcon(props) {
44567
- return /*#__PURE__*/createElement$1("svg", _extends$1z({
44729
+ return /*#__PURE__*/createElement$1("svg", _extends$1A({
44568
44730
  width: 40,
44569
44731
  height: 40,
44570
44732
  fill: "none",
@@ -44576,7 +44738,7 @@ function SvgLinkIcon(props) {
44576
44738
  rx: 8,
44577
44739
  fill: "currentColor",
44578
44740
  fillOpacity: 0.2
44579
- })), _path$1v || (_path$1v = /*#__PURE__*/createElement$1("path", {
44741
+ })), _path$1w || (_path$1w = /*#__PURE__*/createElement$1("path", {
44580
44742
  fillRule: "evenodd",
44581
44743
  clipRule: "evenodd",
44582
44744
  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",
@@ -44584,7 +44746,7 @@ function SvgLinkIcon(props) {
44584
44746
  })));
44585
44747
  }
44586
44748
 
44587
- var _templateObject$W, _templateObject2$R, _templateObject3$J, _templateObject4$D, _templateObject5$y;
44749
+ var _templateObject$X, _templateObject2$S, _templateObject3$K, _templateObject4$E, _templateObject5$z;
44588
44750
  var LinkItem = function LinkItem(_ref) {
44589
44751
  var link = _ref.link,
44590
44752
  linkPreviewIcon = _ref.linkPreviewIcon,
@@ -44615,25 +44777,25 @@ var LinkItem = function LinkItem(_ref) {
44615
44777
  color: linkPreviewColor || textPrimary
44616
44778
  }, link))));
44617
44779
  };
44618
- var LinkIconCont = styled.span(_templateObject$W || (_templateObject$W = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n > svg {\n color: ", ";\n fill: ", ";\n }\n"])), function (props) {
44780
+ var LinkIconCont = styled.span(_templateObject$X || (_templateObject$X = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n > svg {\n color: ", ";\n fill: ", ";\n }\n"])), function (props) {
44619
44781
  return props.iconColor;
44620
44782
  }, function (props) {
44621
44783
  return props.fillColor;
44622
44784
  });
44623
- var LinkHoverIconCont = styled.span(_templateObject2$R || (_templateObject2$R = _taggedTemplateLiteralLoose(["\n display: none;\n > svg {\n color: ", ";\n fill: ", ";\n }\n"])), function (props) {
44785
+ var LinkHoverIconCont = styled.span(_templateObject2$S || (_templateObject2$S = _taggedTemplateLiteralLoose(["\n display: none;\n > svg {\n color: ", ";\n fill: ", ";\n }\n"])), function (props) {
44624
44786
  return props.iconColor;
44625
44787
  }, function (props) {
44626
44788
  return props.fillColor;
44627
44789
  });
44628
- var LinkInfoCont = styled.div(_templateObject3$J || (_templateObject3$J = _taggedTemplateLiteralLoose(["\n margin-left: 12px;\n width: calc(100% - 40px);\n"])));
44629
- var FileItem$1 = styled.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) {
44790
+ var LinkInfoCont = styled.div(_templateObject3$K || (_templateObject3$K = _taggedTemplateLiteralLoose(["\n margin-left: 12px;\n width: calc(100% - 40px);\n"])));
44791
+ var FileItem$1 = styled.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) {
44630
44792
  return props.hoverBackgroundColor;
44631
44793
  }, LinkIconCont, LinkHoverIconCont);
44632
- var LinkUrl = styled.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) {
44794
+ var LinkUrl = styled.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) {
44633
44795
  return props.color;
44634
44796
  });
44635
44797
 
44636
- var _templateObject$X;
44798
+ var _templateObject$Y;
44637
44799
  var Links = function Links(_ref) {
44638
44800
  var channelId = _ref.channelId,
44639
44801
  linkPreviewIcon = _ref.linkPreviewIcon,
@@ -44658,20 +44820,20 @@ var Links = function Links(_ref) {
44658
44820
  });
44659
44821
  }));
44660
44822
  };
44661
- var Container$q = styled.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"])));
44823
+ var Container$q = styled.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"])));
44662
44824
 
44663
- var _rect$5, _path$1w;
44664
- function _extends$1A() {
44665
- return _extends$1A = Object.assign ? Object.assign.bind() : function (n) {
44825
+ var _rect$5, _path$1x;
44826
+ function _extends$1B() {
44827
+ return _extends$1B = Object.assign ? Object.assign.bind() : function (n) {
44666
44828
  for (var e = 1; e < arguments.length; e++) {
44667
44829
  var t = arguments[e];
44668
44830
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
44669
44831
  }
44670
44832
  return n;
44671
- }, _extends$1A.apply(null, arguments);
44833
+ }, _extends$1B.apply(null, arguments);
44672
44834
  }
44673
44835
  function SvgVoicePreview(props) {
44674
- return /*#__PURE__*/createElement$1("svg", _extends$1A({
44836
+ return /*#__PURE__*/createElement$1("svg", _extends$1B({
44675
44837
  width: 40,
44676
44838
  height: 40,
44677
44839
  fill: "none",
@@ -44681,24 +44843,24 @@ function SvgVoicePreview(props) {
44681
44843
  height: 40,
44682
44844
  rx: 20,
44683
44845
  fill: "#5159F6"
44684
- })), _path$1w || (_path$1w = /*#__PURE__*/createElement$1("path", {
44846
+ })), _path$1x || (_path$1x = /*#__PURE__*/createElement$1("path", {
44685
44847
  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",
44686
44848
  fill: "#fff"
44687
44849
  })));
44688
44850
  }
44689
44851
 
44690
- var _rect$6, _path$1x;
44691
- function _extends$1B() {
44692
- return _extends$1B = Object.assign ? Object.assign.bind() : function (n) {
44852
+ var _rect$6, _path$1y;
44853
+ function _extends$1C() {
44854
+ return _extends$1C = Object.assign ? Object.assign.bind() : function (n) {
44693
44855
  for (var e = 1; e < arguments.length; e++) {
44694
44856
  var t = arguments[e];
44695
44857
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
44696
44858
  }
44697
44859
  return n;
44698
- }, _extends$1B.apply(null, arguments);
44860
+ }, _extends$1C.apply(null, arguments);
44699
44861
  }
44700
44862
  function SvgVoicePreviewPause(props) {
44701
- return /*#__PURE__*/createElement$1("svg", _extends$1B({
44863
+ return /*#__PURE__*/createElement$1("svg", _extends$1C({
44702
44864
  width: 40,
44703
44865
  height: 40,
44704
44866
  fill: "none",
@@ -44708,13 +44870,13 @@ function SvgVoicePreviewPause(props) {
44708
44870
  height: 40,
44709
44871
  rx: 20,
44710
44872
  fill: "#5159F6"
44711
- })), _path$1x || (_path$1x = /*#__PURE__*/createElement$1("path", {
44873
+ })), _path$1y || (_path$1y = /*#__PURE__*/createElement$1("path", {
44712
44874
  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",
44713
44875
  fill: "#fff"
44714
44876
  })));
44715
44877
  }
44716
44878
 
44717
- var _templateObject$Y, _templateObject2$S, _templateObject3$K, _templateObject4$E, _templateObject5$z, _templateObject6$u, _templateObject7$s, _templateObject8$q;
44879
+ var _templateObject$Z, _templateObject2$T, _templateObject3$L, _templateObject4$F, _templateObject5$A, _templateObject6$v, _templateObject7$t, _templateObject8$r;
44718
44880
  var VoiceItem = function VoiceItem(_ref) {
44719
44881
  var file = _ref.file,
44720
44882
  voicePreviewPlayIcon = _ref.voicePreviewPlayIcon,
@@ -44839,32 +45001,32 @@ var VoiceItem = function VoiceItem(_ref) {
44839
45001
  type: 'audio/mpeg'
44840
45002
  })));
44841
45003
  };
44842
- var FileIconCont$1 = styled.span(_templateObject$Y || (_templateObject$Y = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n display: inline-flex;\n fill: ", ";\n rect {\n fill: ", ";\n }\n"])), function (props) {
45004
+ var FileIconCont$1 = styled.span(_templateObject$Z || (_templateObject$Z = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n display: inline-flex;\n fill: ", ";\n rect {\n fill: ", ";\n }\n"])), function (props) {
44843
45005
  return props.fill || 'transparent';
44844
45006
  }, function (props) {
44845
45007
  return props.fill || 'transparent';
44846
45008
  });
44847
- var FileHoverIconCont$1 = styled.span(_templateObject2$S || (_templateObject2$S = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n display: none;\n fill: ", ";\n rect {\n fill: ", ";\n }\n"])), function (props) {
45009
+ var FileHoverIconCont$1 = styled.span(_templateObject2$T || (_templateObject2$T = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n display: none;\n fill: ", ";\n rect {\n fill: ", ";\n }\n"])), function (props) {
44848
45010
  return props.fill || 'transparent';
44849
45011
  }, function (props) {
44850
45012
  return props.fill || 'transparent';
44851
45013
  });
44852
- var FileItem$2 = styled.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) {
45014
+ var FileItem$2 = styled.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) {
44853
45015
  return props.hoverBackgroundColor;
44854
45016
  }, FileIconCont$1, FileHoverIconCont$1);
44855
- var AudioInfo = styled.div(_templateObject4$E || (_templateObject4$E = _taggedTemplateLiteralLoose(["\n position: relative;\n"])));
44856
- var AudioTitle = styled.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) {
45017
+ var AudioInfo = styled.div(_templateObject4$F || (_templateObject4$F = _taggedTemplateLiteralLoose(["\n position: relative;\n"])));
45018
+ var AudioTitle = styled.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) {
44857
45019
  return props.color;
44858
45020
  });
44859
- var AudioDate = styled.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) {
45021
+ var AudioDate = styled.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) {
44860
45022
  return props.color;
44861
45023
  });
44862
- var AudioSendTime = styled.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) {
45024
+ var AudioSendTime = styled.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) {
44863
45025
  return props.color;
44864
45026
  });
44865
- var Audio = styled.audio(_templateObject8$q || (_templateObject8$q = _taggedTemplateLiteralLoose(["\n display: none;\n"])));
45027
+ var Audio = styled.audio(_templateObject8$r || (_templateObject8$r = _taggedTemplateLiteralLoose(["\n display: none;\n"])));
44866
45028
 
44867
- var _templateObject$Z;
45029
+ var _templateObject$_;
44868
45030
  var Voices = function Voices(_ref) {
44869
45031
  var channelId = _ref.channelId,
44870
45032
  voicePreviewPlayIcon = _ref.voicePreviewPlayIcon,
@@ -44895,9 +45057,9 @@ var Voices = function Voices(_ref) {
44895
45057
  });
44896
45058
  }));
44897
45059
  };
44898
- var Container$r = styled.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"])));
45060
+ var Container$r = styled.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"])));
44899
45061
 
44900
- var _templateObject$_, _templateObject2$T;
45062
+ var _templateObject$$, _templateObject2$U;
44901
45063
  var DetailsTab = function DetailsTab(_ref) {
44902
45064
  var channel = _ref.channel,
44903
45065
  theme = _ref.theme,
@@ -45048,8 +45210,8 @@ var DetailsTab = function DetailsTab(_ref) {
45048
45210
  voicePreviewHoverBackgroundColor: voicePreviewHoverBackgroundColor
45049
45211
  })));
45050
45212
  };
45051
- var Container$s = styled.div(_templateObject$_ || (_templateObject$_ = _taggedTemplateLiteralLoose(["\n min-height: calc(100vh - 64px);\n"])));
45052
- var DetailsTabHeader = styled.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) {
45213
+ var Container$s = styled.div(_templateObject$$ || (_templateObject$$ = _taggedTemplateLiteralLoose(["\n min-height: calc(100vh - 64px);\n"])));
45214
+ var DetailsTabHeader = styled.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) {
45053
45215
  return props.borderColor;
45054
45216
  }, function (props) {
45055
45217
  return props.backgroundColor || 'transparent';
@@ -45067,17 +45229,17 @@ var DetailsTabHeader = styled.div(_templateObject2$T || (_templateObject2$T = _t
45067
45229
  return props.activeTabColor;
45068
45230
  });
45069
45231
 
45070
- var _templateObject$$, _templateObject2$U, _templateObject3$L, _templateObject4$F;
45071
- var Container$t = styled.div(_templateObject$$ || (_templateObject$$ = _taggedTemplateLiteralLoose(["\n ", ";\n height: ", ";\n position: absolute;\n padding: 24px 16px;\n background-color: ", ";\n z-index: 25;\n"])), function (props) {
45232
+ var _templateObject$10, _templateObject2$V, _templateObject3$M, _templateObject4$G;
45233
+ var Container$t = styled.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) {
45072
45234
  return props.active ? 'display: block' : 'display: none';
45073
45235
  }, function (props) {
45074
45236
  return "calc(100vh - " + (props.heightOffset ? props.heightOffset + 48 : 48) + "px)";
45075
45237
  }, function (props) {
45076
45238
  return props.backgroundColor;
45077
45239
  });
45078
- var AvatarCont = styled.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"])));
45079
- var DropDownWrapper = styled.div(_templateObject3$L || (_templateObject3$L = _taggedTemplateLiteralLoose(["\n position: absolute;\n z-index: 4;\n width: 40px;\n height: 40px;\n"])));
45080
- var EditChannelFooter = styled(ButtonBlock)(_templateObject4$F || (_templateObject4$F = _taggedTemplateLiteralLoose(["\n margin-top: 24px;\n\n & > button {\n margin-left: 12px;\n }\n"])));
45240
+ var AvatarCont = styled.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"])));
45241
+ var DropDownWrapper = styled.div(_templateObject3$M || (_templateObject3$M = _taggedTemplateLiteralLoose(["\n position: absolute;\n z-index: 4;\n width: 40px;\n height: 40px;\n"])));
45242
+ var EditChannelFooter = styled(ButtonBlock)(_templateObject4$G || (_templateObject4$G = _taggedTemplateLiteralLoose(["\n margin-top: 24px;\n\n & > button {\n margin-left: 12px;\n }\n"])));
45081
45243
  var EditChannel = function EditChannel(_ref) {
45082
45244
  var channel = _ref.channel,
45083
45245
  theme = _ref.theme,
@@ -45332,7 +45494,7 @@ var EditChannel = function EditChannel(_ref) {
45332
45494
  })));
45333
45495
  };
45334
45496
 
45335
- 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;
45497
+ 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;
45336
45498
  var Details = function Details(_ref) {
45337
45499
  var _activeChannel$member;
45338
45500
  var detailsTitleText = _ref.detailsTitleText,
@@ -45762,17 +45924,17 @@ var Details = function Details(_ref) {
45762
45924
  QRCodeIcon: QRCodeIcon
45763
45925
  }))));
45764
45926
  };
45765
- var Container$u = styled.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) {
45927
+ var Container$u = styled.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) {
45766
45928
  return props.borderColor;
45767
45929
  }, function (props) {
45768
45930
  return props.mounted && " width: " + (props.size === 'small' ? '300px' : props.size === 'medium' ? '350px' : '400px') + ";";
45769
45931
  }, function (props) {
45770
45932
  return props.backgroundColor;
45771
45933
  });
45772
- var ChannelDetailsHeader = styled.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) {
45934
+ var ChannelDetailsHeader = styled.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) {
45773
45935
  return props.borderColor;
45774
45936
  });
45775
- var ChatDetails = styled.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) {
45937
+ var ChatDetails = styled.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) {
45776
45938
  return props.size === 'small' ? '300px' : props.size === 'medium' ? '350px' : '400px';
45777
45939
  }, function (props) {
45778
45940
  return props.height ? "calc(100vh - " + props.heightOffset + "px)" : '100vh';
@@ -45781,38 +45943,38 @@ var ChatDetails = styled.div(_templateObject3$M || (_templateObject3$M = _tagged
45781
45943
  }, function (props) {
45782
45944
  return props.thumbColor;
45783
45945
  });
45784
- var AboutChannel = styled.div(_templateObject4$G || (_templateObject4$G = _taggedTemplateLiteralLoose(["\n margin-top: 20px;\n"])));
45785
- var AboutChannelTitle = styled.h4(_templateObject5$A || (_templateObject5$A = _taggedTemplateLiteralLoose(["\n font-size: 12px;\n margin: 0;\n line-height: 16px;\n color: ", ";\n"])), function (props) {
45946
+ var AboutChannel = styled.div(_templateObject4$H || (_templateObject4$H = _taggedTemplateLiteralLoose(["\n margin-top: 20px;\n"])));
45947
+ var AboutChannelTitle = styled.h4(_templateObject5$B || (_templateObject5$B = _taggedTemplateLiteralLoose(["\n font-size: 12px;\n margin: 0;\n line-height: 16px;\n color: ", ";\n"])), function (props) {
45786
45948
  return props.color;
45787
45949
  });
45788
- var AboutChannelText = styled.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) {
45950
+ var AboutChannelText = styled.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) {
45789
45951
  return props.color;
45790
45952
  });
45791
- var ChannelInfo$4 = styled.div(_templateObject7$t || (_templateObject7$t = _taggedTemplateLiteralLoose(["\n position: relative;\n margin-left: ", ";\n margin-top: ", ";\n text-align: ", ";\n"])), function (props) {
45953
+ var ChannelInfo$4 = styled.div(_templateObject7$u || (_templateObject7$u = _taggedTemplateLiteralLoose(["\n position: relative;\n margin-left: ", ";\n margin-top: ", ";\n text-align: ", ";\n"])), function (props) {
45792
45954
  return (!props.direction || props.direction !== 'column') && '16px';
45793
45955
  }, function (props) {
45794
45956
  return props.direction && props.direction === 'column' && '16px';
45795
45957
  }, function (props) {
45796
45958
  return props.direction && props.direction === 'column' && 'center';
45797
45959
  });
45798
- var DetailsHeader = styled.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) {
45960
+ var DetailsHeader = styled.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) {
45799
45961
  return props.borderColor;
45800
45962
  });
45801
- var ChannelAvatarAndName = styled.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) {
45963
+ var ChannelAvatarAndName = styled.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) {
45802
45964
  return props.direction;
45803
45965
  });
45804
- var ChannelName$1 = styled(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) {
45966
+ var ChannelName$1 = styled(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) {
45805
45967
  return props.isDirect ? '200px' : '168px';
45806
45968
  }, function (props) {
45807
45969
  return props.color;
45808
45970
  }, function (props) {
45809
45971
  return props.uppercase && 'uppercase';
45810
45972
  });
45811
- var ChannelNameWrapper = styled.div(_templateObject1$f || (_templateObject1$f = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: center;\n"])));
45812
- var EditButton = styled.span(_templateObject10$9 || (_templateObject10$9 = _taggedTemplateLiteralLoose(["\n margin-left: 6px;\n cursor: pointer;\n color: #b2b6be;\n"])));
45973
+ var ChannelNameWrapper = styled.div(_templateObject1$g || (_templateObject1$g = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: center;\n"])));
45974
+ var EditButton = styled.span(_templateObject10$a || (_templateObject10$a = _taggedTemplateLiteralLoose(["\n margin-left: 6px;\n cursor: pointer;\n color: #b2b6be;\n"])));
45813
45975
  var PhoneNumberContainer = styled.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"])));
45814
45976
 
45815
- var _templateObject$11;
45977
+ var _templateObject$12;
45816
45978
  var ChannelDetailsContainer = function ChannelDetailsContainer(_ref) {
45817
45979
  var _ref$size = _ref.size,
45818
45980
  size = _ref$size === void 0 ? 'large' : _ref$size,
@@ -46043,31 +46205,31 @@ var ChannelDetailsContainer = function ChannelDetailsContainer(_ref) {
46043
46205
  QRCodeIcon: QRCodeIcon
46044
46206
  })));
46045
46207
  };
46046
- var DetailsWrapper = styled.div(_templateObject$11 || (_templateObject$11 = _taggedTemplateLiteralLoose(["\n user-select: text;\n"])));
46208
+ var DetailsWrapper = styled.div(_templateObject$12 || (_templateObject$12 = _taggedTemplateLiteralLoose(["\n user-select: text;\n"])));
46047
46209
 
46048
- var _path$1y;
46049
- function _extends$1C() {
46050
- return _extends$1C = Object.assign ? Object.assign.bind() : function (n) {
46210
+ var _path$1z;
46211
+ function _extends$1D() {
46212
+ return _extends$1D = Object.assign ? Object.assign.bind() : function (n) {
46051
46213
  for (var e = 1; e < arguments.length; e++) {
46052
46214
  var t = arguments[e];
46053
46215
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
46054
46216
  }
46055
46217
  return n;
46056
- }, _extends$1C.apply(null, arguments);
46218
+ }, _extends$1D.apply(null, arguments);
46057
46219
  }
46058
46220
  function SvgChevronDown(props) {
46059
- return /*#__PURE__*/createElement$1("svg", _extends$1C({
46221
+ return /*#__PURE__*/createElement$1("svg", _extends$1D({
46060
46222
  width: 32,
46061
46223
  height: 32,
46062
46224
  fill: "none",
46063
46225
  xmlns: "http://www.w3.org/2000/svg"
46064
- }, props), _path$1y || (_path$1y = /*#__PURE__*/createElement$1("path", {
46226
+ }, props), _path$1z || (_path$1z = /*#__PURE__*/createElement$1("path", {
46065
46227
  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",
46066
46228
  fill: "CurrentColor"
46067
46229
  })));
46068
46230
  }
46069
46231
 
46070
- var _templateObject$12, _templateObject2$W;
46232
+ var _templateObject$13, _templateObject2$X;
46071
46233
  var MessagesScrollToBottomButton = function MessagesScrollToBottomButton(_ref) {
46072
46234
  var buttonIcon = _ref.buttonIcon,
46073
46235
  buttonWidth = _ref.buttonWidth,
@@ -46150,7 +46312,7 @@ var MessagesScrollToBottomButton = function MessagesScrollToBottomButton(_ref) {
46150
46312
  isMuted: channel.muted
46151
46313
  }, channel.newMessageCount ? channel.newMessageCount > 99 ? '99+' : channel.newMessageCount : '')), buttonIcon || /*#__PURE__*/React__default.createElement(SvgChevronDown, null)));
46152
46314
  };
46153
- var BottomButton = styled.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) {
46315
+ var BottomButton = styled.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) {
46154
46316
  return props.animateFrom === 'bottom' && "bottom: " + (props.bottomOffset + (props.bottomPosition === undefined ? 45 : props.bottomPosition) - 130) + "px";
46155
46317
  }, function (props) {
46156
46318
  return props.animateFrom === 'right' && "right: " + (props.rightPosition === undefined ? 16 : props.rightPosition - 100) + "px";
@@ -46161,7 +46323,7 @@ var BottomButton = styled.div(_templateObject$12 || (_templateObject$12 = _tagge
46161
46323
  }, function (props) {
46162
46324
  return props.backgroundColor;
46163
46325
  });
46164
- var UnreadCount$1 = styled.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) {
46326
+ var UnreadCount$1 = styled.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) {
46165
46327
  return props.backgroundColor;
46166
46328
  }, function (props) {
46167
46329
  return props.fontSize || '13px';
@@ -46173,29 +46335,29 @@ var UnreadCount$1 = styled.span(_templateObject2$W || (_templateObject2$W = _tag
46173
46335
  return props.textColor || '#fff';
46174
46336
  });
46175
46337
 
46176
- var _path$1z, _path2$b;
46177
- function _extends$1D() {
46178
- return _extends$1D = Object.assign ? Object.assign.bind() : function (n) {
46338
+ var _path$1A, _path2$c;
46339
+ function _extends$1E() {
46340
+ return _extends$1E = Object.assign ? Object.assign.bind() : function (n) {
46179
46341
  for (var e = 1; e < arguments.length; e++) {
46180
46342
  var t = arguments[e];
46181
46343
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
46182
46344
  }
46183
46345
  return n;
46184
- }, _extends$1D.apply(null, arguments);
46346
+ }, _extends$1E.apply(null, arguments);
46185
46347
  }
46186
46348
  function SvgMention(props) {
46187
- return /*#__PURE__*/createElement$1("svg", _extends$1D({
46349
+ return /*#__PURE__*/createElement$1("svg", _extends$1E({
46188
46350
  width: 24,
46189
46351
  height: 24,
46190
46352
  fill: "none",
46191
46353
  xmlns: "http://www.w3.org/2000/svg"
46192
- }, props), _path$1z || (_path$1z = /*#__PURE__*/createElement$1("path", {
46354
+ }, props), _path$1A || (_path$1A = /*#__PURE__*/createElement$1("path", {
46193
46355
  d: "M12 15.6a3.6 3.6 0 100-7.2 3.6 3.6 0 000 7.2z",
46194
46356
  stroke: "currentColor",
46195
46357
  strokeWidth: 1.8,
46196
46358
  strokeLinecap: "round",
46197
46359
  strokeLinejoin: "round"
46198
- })), _path2$b || (_path2$b = /*#__PURE__*/createElement$1("path", {
46360
+ })), _path2$c || (_path2$c = /*#__PURE__*/createElement$1("path", {
46199
46361
  d: "M15.6 8.4v4.5a2.7 2.7 0 005.4 0V12a9 9 0 10-3.528 7.145",
46200
46362
  stroke: "currentColor",
46201
46363
  strokeWidth: 1.8,
@@ -46204,7 +46366,7 @@ function SvgMention(props) {
46204
46366
  })));
46205
46367
  }
46206
46368
 
46207
- var _templateObject$13, _templateObject2$X;
46369
+ var _templateObject$14, _templateObject2$Y;
46208
46370
  var MessagesScrollToUnreadMentionsButton = function MessagesScrollToUnreadMentionsButton(_ref) {
46209
46371
  var buttonIcon = _ref.buttonIcon,
46210
46372
  buttonWidth = _ref.buttonWidth,
@@ -46347,7 +46509,7 @@ var MessagesScrollToUnreadMentionsButton = function MessagesScrollToUnreadMentio
46347
46509
  isMuted: channel.muted
46348
46510
  }, channel.newMentionCount ? channel.newMentionCount > 99 ? '99+' : channel.newMentionCount : '')), buttonIcon || /*#__PURE__*/React__default.createElement(SvgMention, null)));
46349
46511
  };
46350
- var BottomButton$1 = styled.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) {
46512
+ var BottomButton$1 = styled.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) {
46351
46513
  return props.animateFrom === 'bottom' && "bottom: " + (props.bottomOffset + (props.bottomPosition === undefined ? 45 : props.bottomPosition) + (props.showsUnreadMentionsButton ? 60 : 0) - 180) + "px";
46352
46514
  }, function (props) {
46353
46515
  return props.animateFrom === 'right' && "right: " + (props.rightPosition === undefined ? 16 : props.rightPosition - 100) + "px";
@@ -46358,7 +46520,7 @@ var BottomButton$1 = styled.div(_templateObject$13 || (_templateObject$13 = _tag
46358
46520
  }, function (props) {
46359
46521
  return props.backgroundColor;
46360
46522
  });
46361
- var UnreadCount$2 = styled.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) {
46523
+ var UnreadCount$2 = styled.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) {
46362
46524
  return props.backgroundColor;
46363
46525
  }, function (props) {
46364
46526
  return props.fontSize || '13px';