sceyt-chat-react-uikit 1.7.7-beta.13 → 1.7.7-beta.15

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
@@ -2669,6 +2669,49 @@ var CHANNEL_GROUP_TYPES = {
2669
2669
  DIRECT_PRIVATE: 'chats_groups',
2670
2670
  PUBLIC: 'channels'
2671
2671
  };
2672
+ var FIXED_TIMER_OPTIONS = {
2673
+ off: 0,
2674
+ '1day': 60 * 60 * 24,
2675
+ '1week': 60 * 60 * 24 * 7,
2676
+ '1month': 60 * 60 * 24 * 30,
2677
+ custom: 60 * 60 * 24 * 2
2678
+ };
2679
+ var CUSTOM_OPTIONS = [{
2680
+ label: '1 day',
2681
+ value: '1day',
2682
+ seconds: 60 * 60 * 24
2683
+ }, {
2684
+ label: '2 days',
2685
+ value: '2days',
2686
+ seconds: 60 * 60 * 24 * 2
2687
+ }, {
2688
+ label: '3 days',
2689
+ value: '3days',
2690
+ seconds: 60 * 60 * 24 * 3
2691
+ }, {
2692
+ label: '4 days',
2693
+ value: '4days',
2694
+ seconds: 60 * 60 * 24 * 4
2695
+ }, {
2696
+ label: '5 days',
2697
+ value: '5days',
2698
+ seconds: 60 * 60 * 24 * 5
2699
+ }, {
2700
+ label: '1 week',
2701
+ value: '1week',
2702
+ seconds: 60 * 60 * 24 * 7
2703
+ }, {
2704
+ label: '2 weeks',
2705
+ value: '2weeks',
2706
+ seconds: 60 * 60 * 24 * 14
2707
+ }, {
2708
+ label: '1 month',
2709
+ value: '1month',
2710
+ seconds: 60 * 60 * 24 * 30
2711
+ }];
2712
+ var CUSTOM_SECONDS_MAP = Object.fromEntries(CUSTOM_OPTIONS.map(function (o) {
2713
+ return [o.value, o.seconds];
2714
+ }));
2672
2715
 
2673
2716
  // A type of promise-like that resolves synchronously and supports only one observer
2674
2717
  const _Pact = /*#__PURE__*/(function() {
@@ -9035,6 +9078,7 @@ var memberCount = 10;
9035
9078
  var disableFrowardMentionsCount = false;
9036
9079
  var onUpdateChannel = function onUpdateChannel() {};
9037
9080
  var useInviteLink = false;
9081
+ var enableDisappearingMessages = true;
9038
9082
  var inviteLinkOptions = null;
9039
9083
  function setBaseUrlForInviteMembers(url) {
9040
9084
  baseUrlForInviteMembers = url;
@@ -9253,6 +9297,12 @@ var setShowChannelDetails = function setShowChannelDetails(state) {
9253
9297
  var getShowChannelDetails = function getShowChannelDetails() {
9254
9298
  return showChannelDetails;
9255
9299
  };
9300
+ var setEnableDisappearingMessages = function setEnableDisappearingMessages(state) {
9301
+ enableDisappearingMessages = state;
9302
+ };
9303
+ var getEnableDisappearingMessages = function getEnableDisappearingMessages() {
9304
+ return enableDisappearingMessages;
9305
+ };
9256
9306
  var sortChannelByLastMessage = function sortChannelByLastMessage(channels) {
9257
9307
  return channels.sort(function (a, b) {
9258
9308
  var aPinnedAt = a.pinnedAt ? new Date(a.pinnedAt) : null;
@@ -9701,6 +9751,7 @@ var UPDATE_CHANNEL_INVITE_KEY = 'UPDATE_CHANNEL_INVITE_KEY';
9701
9751
  var DESTROY_SESSION = 'DESTROY_SESSION';
9702
9752
  var GET_CHANNEL_BY_INVITE_KEY = 'GET_CHANNEL_BY_INVITE_KEY';
9703
9753
  var JOIN_TO_CHANNEL_WITH_INVITE_KEY = 'JOIN_TO_CHANNEL_WITH_INVITE_KEY';
9754
+ var SET_MESSAGE_RETENTION_PERIOD = 'SET_MESSAGE_RETENTION_PERIOD';
9704
9755
  var CHANNEL_EVENT_TYPES = {
9705
9756
  POLL_ADDED: 'POLL_ADDED',
9706
9757
  POLL_DELETED: 'POLL_DELETED',
@@ -10041,6 +10092,46 @@ var hashString = function hashString(str) {
10041
10092
  return Promise.reject(e);
10042
10093
  }
10043
10094
  };
10095
+ var formatDisappearingMessageTime = function formatDisappearingMessageTime(periodInMilliseconds) {
10096
+ if (!periodInMilliseconds) return 'Off';
10097
+ var periodInSeconds = periodInMilliseconds / 1000;
10098
+ switch (periodInSeconds) {
10099
+ case FIXED_TIMER_OPTIONS['1day']:
10100
+ return '1 day';
10101
+ case FIXED_TIMER_OPTIONS['1week']:
10102
+ return '1 week';
10103
+ case FIXED_TIMER_OPTIONS['1month']:
10104
+ return '1 month';
10105
+ }
10106
+ var customMatch = CUSTOM_OPTIONS.find(function (option) {
10107
+ return option.seconds === periodInSeconds;
10108
+ });
10109
+ if (customMatch) return customMatch.label;
10110
+ var SECONDS_PER_MINUTE = 60;
10111
+ var SECONDS_PER_HOUR = SECONDS_PER_MINUTE * 60;
10112
+ var SECONDS_PER_DAY = SECONDS_PER_HOUR * 24;
10113
+ var DAYS_PER_WEEK = 7;
10114
+ var DAYS_PER_MONTH = 30;
10115
+ var days = Math.floor(periodInSeconds / SECONDS_PER_DAY);
10116
+ var weeks = Math.floor(days / DAYS_PER_WEEK);
10117
+ var months = Math.floor(days / DAYS_PER_MONTH);
10118
+ var hours = Math.floor(periodInSeconds / SECONDS_PER_HOUR);
10119
+ var minutes = Math.floor(periodInSeconds / SECONDS_PER_MINUTE);
10120
+ switch (true) {
10121
+ case months > 0:
10122
+ return months + " " + (months === 1 ? 'month' : 'months');
10123
+ case weeks > 0:
10124
+ return weeks + " " + (weeks === 1 ? 'week' : 'weeks');
10125
+ case days > 0:
10126
+ return days + " " + (days === 1 ? 'day' : 'days');
10127
+ case hours > 0:
10128
+ return hours + " " + (hours === 1 ? 'hour' : 'hours');
10129
+ case minutes > 0:
10130
+ return minutes + " " + (minutes === 1 ? 'minute' : 'minutes');
10131
+ default:
10132
+ return periodInSeconds + " " + (periodInSeconds === 1 ? 'second' : 'seconds');
10133
+ }
10134
+ };
10044
10135
 
10045
10136
  var GET_MESSAGES = 'GET_MESSAGES';
10046
10137
  var GET_MESSAGE = 'GET_MESSAGE';
@@ -12734,6 +12825,15 @@ var joinChannelWithInviteKeyAC = function joinChannelWithInviteKeyAC(key) {
12734
12825
  }
12735
12826
  };
12736
12827
  };
12828
+ var setMessageRetentionPeriodAC = function setMessageRetentionPeriodAC(channelId, periodInMilliseconds) {
12829
+ return {
12830
+ type: SET_MESSAGE_RETENTION_PERIOD,
12831
+ payload: {
12832
+ channelId: channelId,
12833
+ periodInMilliseconds: periodInMilliseconds
12834
+ }
12835
+ };
12836
+ };
12737
12837
 
12738
12838
  var getUsersAC = function getUsersAC(params) {
12739
12839
  return {
@@ -13585,7 +13685,9 @@ var Button = styled.button(_templateObject12 || (_templateObject12 = _taggedTemp
13585
13685
  }, function (props) {
13586
13686
  return props.disabled ? props.disabledOpacity || 0.5 : 0.8;
13587
13687
  });
13588
- var PopupName = styled.h3(_templateObject13 || (_templateObject13 = _taggedTemplateLiteralLoose(["\n font-style: normal;\n font-weight: 500;\n font-size: 20px;\n line-height: 23px;\n color: ", ";\n margin: 0;\n margin-top: ", ";\n margin-bottom: ", ";\n padding: ", ";\n word-break: break-word;\n\n ", "\n"])), function (props) {
13688
+ var PopupName = styled.h3(_templateObject13 || (_templateObject13 = _taggedTemplateLiteralLoose(["\n font-style: normal;\n font-weight: 500;\n font-size: 20px;\n line-height: ", ";\n color: ", ";\n margin: 0;\n margin-top: ", ";\n margin-bottom: ", ";\n padding: ", ";\n word-break: break-word;\n\n ", "\n"])), function (props) {
13689
+ return props.lineHeight || '23px';
13690
+ }, function (props) {
13589
13691
  return props.color;
13590
13692
  }, function (props) {
13591
13693
  return props.marginTop;
@@ -13631,8 +13733,10 @@ var Popup = styled.div(_templateObject15 || (_templateObject15 = _taggedTemplate
13631
13733
  }, function (props) {
13632
13734
  return props.isLoading && "\n user-select: none;\n\n & > * {\n pointer-events: none;\n user-select: none;\n }\n\n " + ButtonBlock + " {\n a, button {\n pointer-events: none;\n user-select: none;\n opacity: 0.7;\n }\n }\n ";
13633
13735
  });
13634
- var PopupBody = styled.div(_templateObject16 || (_templateObject16 = _taggedTemplateLiteralLoose(["\n padding: ", ";\n margin-bottom: 8px;\n height: ", ";\n"])), function (props) {
13736
+ var PopupBody = styled.div(_templateObject16 || (_templateObject16 = _taggedTemplateLiteralLoose(["\n padding: ", ";\n margin-bottom: ", ";\n height: ", ";\n"])), function (props) {
13635
13737
  return (props.paddingV || 0) + " " + (props.paddingH || 0);
13738
+ }, function (props) {
13739
+ return props.marginBottom || '8px';
13636
13740
  }, function (props) {
13637
13741
  return props.withFooter ? "calc(100% - (54px + " + props.paddingV + "))" : 'calc(100% - 54px)';
13638
13742
  });
@@ -15919,7 +16023,8 @@ var _marked$2 = /*#__PURE__*/_regenerator().m(createChannel),
15919
16023
  _marked32 = /*#__PURE__*/_regenerator().m(updateChannelInviteKey),
15920
16024
  _marked33 = /*#__PURE__*/_regenerator().m(getChannelByInviteKey),
15921
16025
  _marked34 = /*#__PURE__*/_regenerator().m(joinChannelWithInviteKey),
15922
- _marked35 = /*#__PURE__*/_regenerator().m(ChannelsSaga);
16026
+ _marked35 = /*#__PURE__*/_regenerator().m(setMessageRetentionPeriod),
16027
+ _marked36 = /*#__PURE__*/_regenerator().m(ChannelsSaga);
15923
16028
  function createChannel(action) {
15924
16029
  var payload, channelData, dontCreateIfNotExists, callback, SceytChatClient, createChannelData, fileToUpload, isSelfChannel, channelIsExistOnAllChannels, createdChannel, allChannels, memberId, checkChannelExist, messageToSend, _allChannels, _memberId, _t;
15925
16030
  return _regenerator().w(function (_context) {
@@ -18204,121 +18309,177 @@ function joinChannelWithInviteKey(action) {
18204
18309
  }
18205
18310
  }, _marked34, null, [[0, 6]]);
18206
18311
  }
18207
- function ChannelsSaga() {
18312
+ function setMessageRetentionPeriod(action) {
18313
+ var payload, channelId, periodInMilliseconds, channel, messageToSend, _t35;
18208
18314
  return _regenerator().w(function (_context35) {
18209
- while (1) switch (_context35.n) {
18315
+ while (1) switch (_context35.p = _context35.n) {
18210
18316
  case 0:
18317
+ _context35.p = 0;
18318
+ payload = action.payload;
18319
+ channelId = payload.channelId, periodInMilliseconds = payload.periodInMilliseconds;
18211
18320
  _context35.n = 1;
18212
- return takeLatest(CREATE_CHANNEL, createChannel);
18321
+ return call(getChannelFromMap, channelId);
18213
18322
  case 1:
18323
+ channel = _context35.v;
18324
+ if (!channel) {
18325
+ channel = getChannelFromAllChannels(channelId);
18326
+ }
18327
+ if (!channel) {
18328
+ _context35.n = 4;
18329
+ break;
18330
+ }
18214
18331
  _context35.n = 2;
18215
- return takeLatest(GET_CHANNELS, getChannels);
18332
+ return call(channel.setMessageRetentionPeriod, periodInMilliseconds);
18216
18333
  case 2:
18217
18334
  _context35.n = 3;
18218
- return takeLatest(SEARCH_CHANNELS, searchChannels);
18335
+ return put(updateChannelDataAC(channelId, {
18336
+ messageRetentionPeriod: periodInMilliseconds
18337
+ }));
18219
18338
  case 3:
18339
+ updateChannelOnAllChannels(channelId, {
18340
+ messageRetentionPeriod: periodInMilliseconds
18341
+ });
18342
+ messageToSend = {
18343
+ metadata: {
18344
+ autoDeletePeriod: periodInMilliseconds.toString()
18345
+ },
18346
+ body: 'ADM',
18347
+ mentionedUsers: [],
18348
+ attachments: [],
18349
+ type: 'system'
18350
+ };
18220
18351
  _context35.n = 4;
18352
+ return put(sendTextMessageAC(messageToSend, channelId, CONNECTION_STATUS.CONNECTED));
18353
+ case 4:
18354
+ _context35.n = 6;
18355
+ break;
18356
+ case 5:
18357
+ _context35.p = 5;
18358
+ _t35 = _context35.v;
18359
+ log.error('ERROR in set message retention period', _t35);
18360
+ case 6:
18361
+ return _context35.a(2);
18362
+ }
18363
+ }, _marked35, null, [[0, 5]]);
18364
+ }
18365
+ function ChannelsSaga() {
18366
+ return _regenerator().w(function (_context36) {
18367
+ while (1) switch (_context36.n) {
18368
+ case 0:
18369
+ _context36.n = 1;
18370
+ return takeLatest(CREATE_CHANNEL, createChannel);
18371
+ case 1:
18372
+ _context36.n = 2;
18373
+ return takeLatest(GET_CHANNELS, getChannels);
18374
+ case 2:
18375
+ _context36.n = 3;
18376
+ return takeLatest(SEARCH_CHANNELS, searchChannels);
18377
+ case 3:
18378
+ _context36.n = 4;
18221
18379
  return takeLatest(GET_CHANNELS_FOR_FORWARD, getChannelsForForward);
18222
18380
  case 4:
18223
- _context35.n = 5;
18381
+ _context36.n = 5;
18224
18382
  return takeLatest(SEARCH_CHANNELS_FOR_FORWARD, searchChannelsForForward);
18225
18383
  case 5:
18226
- _context35.n = 6;
18384
+ _context36.n = 6;
18227
18385
  return takeLatest(LOAD_MORE_CHANNEL, channelsLoadMore);
18228
18386
  case 6:
18229
- _context35.n = 7;
18387
+ _context36.n = 7;
18230
18388
  return takeLatest(LOAD_MORE_CHANNELS_FOR_FORWARD, channelsForForwardLoadMore);
18231
18389
  case 7:
18232
- _context35.n = 8;
18390
+ _context36.n = 8;
18233
18391
  return takeEvery(SWITCH_CHANNEL, switchChannel);
18234
18392
  case 8:
18235
- _context35.n = 9;
18393
+ _context36.n = 9;
18236
18394
  return takeLatest(LEAVE_CHANNEL, leaveChannel);
18237
18395
  case 9:
18238
- _context35.n = 10;
18396
+ _context36.n = 10;
18239
18397
  return takeLatest(DELETE_CHANNEL, deleteChannel);
18240
18398
  case 10:
18241
- _context35.n = 11;
18399
+ _context36.n = 11;
18242
18400
  return takeLatest(BLOCK_CHANNEL, blockChannel);
18243
18401
  case 11:
18244
- _context35.n = 12;
18402
+ _context36.n = 12;
18245
18403
  return takeLatest(UPDATE_CHANNEL, updateChannel);
18246
18404
  case 12:
18247
- _context35.n = 13;
18405
+ _context36.n = 13;
18248
18406
  return takeEvery(MARK_MESSAGES_AS_READ, markMessagesRead);
18249
18407
  case 13:
18250
- _context35.n = 14;
18408
+ _context36.n = 14;
18251
18409
  return takeLatest(MARK_MESSAGES_AS_DELIVERED, markMessagesDelivered);
18252
18410
  case 14:
18253
- _context35.n = 15;
18411
+ _context36.n = 15;
18254
18412
  return takeLatest(MARK_VOICE_MESSAGE_AS_PLAYED, markVoiceMessageAsPlayed);
18255
18413
  case 15:
18256
- _context35.n = 16;
18414
+ _context36.n = 16;
18257
18415
  return takeLatest(WATCH_FOR_EVENTS, watchForChannelEvents);
18258
18416
  case 16:
18259
- _context35.n = 17;
18417
+ _context36.n = 17;
18260
18418
  return takeLatest(TURN_OFF_NOTIFICATION, notificationsTurnOff);
18261
18419
  case 17:
18262
- _context35.n = 18;
18420
+ _context36.n = 18;
18263
18421
  return takeLatest(TURN_ON_NOTIFICATION, notificationsTurnOn);
18264
18422
  case 18:
18265
- _context35.n = 19;
18423
+ _context36.n = 19;
18266
18424
  return takeLatest(MARK_CHANNEL_AS_READ, markChannelAsRead);
18267
18425
  case 19:
18268
- _context35.n = 20;
18426
+ _context36.n = 20;
18269
18427
  return takeLatest(MARK_CHANNEL_AS_UNREAD, markChannelAsUnRead);
18270
18428
  case 20:
18271
- _context35.n = 21;
18429
+ _context36.n = 21;
18272
18430
  return takeLatest(CHECK_USER_STATUS, checkUsersStatus);
18273
18431
  case 21:
18274
- _context35.n = 22;
18432
+ _context36.n = 22;
18275
18433
  return takeLatest(SEND_TYPING, sendTyping);
18276
18434
  case 22:
18277
- _context35.n = 23;
18435
+ _context36.n = 23;
18278
18436
  return takeLatest(SEND_RECORDING, sendRecording);
18279
18437
  case 23:
18280
- _context35.n = 24;
18438
+ _context36.n = 24;
18281
18439
  return takeLatest(PIN_CHANNEL, pinChannel);
18282
18440
  case 24:
18283
- _context35.n = 25;
18441
+ _context36.n = 25;
18284
18442
  return takeLatest(UNPIN_CHANNEL, unpinChannel);
18285
18443
  case 25:
18286
- _context35.n = 26;
18444
+ _context36.n = 26;
18287
18445
  return takeLatest(CLEAR_HISTORY, clearHistory);
18288
18446
  case 26:
18289
- _context35.n = 27;
18447
+ _context36.n = 27;
18290
18448
  return takeLatest(JOIN_TO_CHANNEL, joinChannel);
18291
18449
  case 27:
18292
- _context35.n = 28;
18450
+ _context36.n = 28;
18293
18451
  return takeLatest(DELETE_ALL_MESSAGES, deleteAllMessages);
18294
18452
  case 28:
18295
- _context35.n = 29;
18453
+ _context36.n = 29;
18296
18454
  return takeLatest(REMOVE_CHANNEL_CACHES, removeChannelCaches);
18297
18455
  case 29:
18298
- _context35.n = 30;
18456
+ _context36.n = 30;
18299
18457
  return takeLatest(GET_CHANNEL_MENTIONS, getChannelMentions);
18300
18458
  case 30:
18301
- _context35.n = 31;
18459
+ _context36.n = 31;
18302
18460
  return takeLatest(CREATE_CHANNEL_INVITE_KEY, createChannelInviteKey);
18303
18461
  case 31:
18304
- _context35.n = 32;
18462
+ _context36.n = 32;
18305
18463
  return takeLatest(UPDATE_CHANNEL_INVITE_KEY, updateChannelInviteKey);
18306
18464
  case 32:
18307
- _context35.n = 33;
18465
+ _context36.n = 33;
18308
18466
  return takeLatest(REGENERATE_CHANNEL_INVITE_KEY, regenerateChannelInviteKey);
18309
18467
  case 33:
18310
- _context35.n = 34;
18468
+ _context36.n = 34;
18311
18469
  return takeLatest(GET_CHANNEL_INVITE_KEYS, getChannelInviteKeys);
18312
18470
  case 34:
18313
- _context35.n = 35;
18471
+ _context36.n = 35;
18314
18472
  return takeLatest(GET_CHANNEL_BY_INVITE_KEY, getChannelByInviteKey);
18315
18473
  case 35:
18316
- _context35.n = 36;
18474
+ _context36.n = 36;
18317
18475
  return takeLatest(JOIN_TO_CHANNEL_WITH_INVITE_KEY, joinChannelWithInviteKey);
18318
18476
  case 36:
18319
- return _context35.a(2);
18477
+ _context36.n = 37;
18478
+ return takeLatest(SET_MESSAGE_RETENTION_PERIOD, setMessageRetentionPeriod);
18479
+ case 37:
18480
+ return _context36.a(2);
18320
18481
  }
18321
- }, _marked35);
18482
+ }, _marked36);
18322
18483
  }
18323
18484
 
18324
18485
  function rgbaToThumbHash(w, h, rgba) {
@@ -18849,8 +19010,31 @@ var addPendingMessage = function addPendingMessage(message, messageCopy, channel
18849
19010
  return Promise.reject(e);
18850
19011
  }
18851
19012
  };
19013
+ var updateMessage$1 = function updateMessage(actionType, pending, channel, scrollToNewMessage) {
19014
+ if (scrollToNewMessage === void 0) {
19015
+ scrollToNewMessage = true;
19016
+ }
19017
+ try {
19018
+ var activeChannelId = getActiveChannelId();
19019
+ if (actionType !== RESEND_MESSAGE) {
19020
+ addMessageToMap(channel.id, pending);
19021
+ if (activeChannelId === channel.id) {
19022
+ addAllMessages([pending], MESSAGE_LOAD_DIRECTION.NEXT);
19023
+ }
19024
+ if (activeChannelId === channel.id) {
19025
+ store.dispatch(addMessageAC(pending));
19026
+ }
19027
+ if (scrollToNewMessage) {
19028
+ store.dispatch(scrollToNewMessageAC(true));
19029
+ }
19030
+ }
19031
+ return Promise.resolve();
19032
+ } catch (e) {
19033
+ return Promise.reject(e);
19034
+ }
19035
+ };
18852
19036
  function sendMessage(action) {
18853
- var payload, message, connectionState, channelId, sendAttachmentsAsSeparateMessage, isAddToPendingMessagesMap, pendingMessages, channel, SceytChatClient, createChannelData, mentionedUserIds, customUploader, linkAttachment, attachmentsToSend, messagesToSend, mediaAttachments, _loop, i, messageBuilder, messageToSend, _loop2, _i, _t2;
19037
+ var payload, message, connectionState, channelId, sendAttachmentsAsSeparateMessage, isAddToPendingMessagesMap, pendingMessages, channel, SceytChatClient, createChannelData, mentionedUserIds, customUploader, linkAttachment, attachmentsToSend, messagesToSend, mediaAttachments, _loop, i, messageBuilder, messageToSend, pending, _loop2, _i, _t2;
18854
19038
  return _regenerator().w(function (_context3) {
18855
19039
  while (1) switch (_context3.p = _context3.n) {
18856
19040
  case 0:
@@ -18917,7 +19101,7 @@ function sendMessage(action) {
18917
19101
  break;
18918
19102
  }
18919
19103
  _loop = /*#__PURE__*/_regenerator().m(function _callee() {
18920
- var attachment, uri, attachmentBuilder, messageAttachment, handleUpdateUploadProgress, _messageBuilder, _messageToSend, messageForSend;
19104
+ var attachment, uri, attachmentBuilder, messageAttachment, handleUpdateUploadProgress, _messageBuilder, _messageToSend, messageForSend, _pending;
18921
19105
  return _regenerator().w(function (_context) {
18922
19106
  while (1) switch (_context.n) {
18923
19107
  case 0:
@@ -18982,9 +19166,12 @@ function sendMessage(action) {
18982
19166
  createdAt: new Date(Date.now())
18983
19167
  });
18984
19168
  messagesToSend.push(messageForSend);
18985
- pendingMessages.push(_extends({}, messageForSend, {
18986
- attachments: [attachment]
18987
- }));
19169
+ _pending = _extends({}, messageForSend, {
19170
+ attachments: [attachment],
19171
+ createdAt: new Date(Date.now())
19172
+ });
19173
+ pendingMessages.push(_pending);
19174
+ updateMessage$1(action.type, _pending, channel);
18988
19175
  } else {
18989
19176
  attachmentsToSend.push(messageAttachment);
18990
19177
  }
@@ -19021,9 +19208,12 @@ function sendMessage(action) {
19021
19208
  messageBuilder.setReplyInThread();
19022
19209
  }
19023
19210
  messageToSend = action.type === RESEND_MESSAGE ? action.payload.message : messageBuilder.create();
19024
- pendingMessages.push(_extends({}, messageToSend, {
19025
- attachments: message.attachments
19026
- }));
19211
+ pending = _extends({}, messageToSend, {
19212
+ attachments: message.attachments,
19213
+ createdAt: new Date(Date.now())
19214
+ });
19215
+ pendingMessages.push(pending);
19216
+ updateMessage$1(action.type, pending, channel);
19027
19217
  messageToSend = _extends({}, messageToSend, {
19028
19218
  attachments: attachmentsToSend
19029
19219
  });
@@ -19031,7 +19221,7 @@ function sendMessage(action) {
19031
19221
  }
19032
19222
  case 11:
19033
19223
  _loop2 = /*#__PURE__*/_regenerator().m(function _callee2() {
19034
- var messageAttachment, messageToSend, messageCopy, activeChannelId, _attachmentsToSend, linkAttachmentToSend, linkAttachmentBuilder, messageResponse, k, pendingAttachment, attachmentsToUpdate, currentAttachmentsMap, messageUpdateData, messageToUpdate, channelUpdateParam, pendingMessage, _t;
19224
+ var messageAttachment, messageToSend, messageCopy, _attachmentsToSend, linkAttachmentToSend, linkAttachmentBuilder, messageResponse, k, pendingAttachment, attachmentsToUpdate, currentAttachmentsMap, messageUpdateData, messageToUpdate, channelUpdateParam, pendingMessage, _t;
19035
19225
  return _regenerator().w(function (_context2) {
19036
19226
  while (1) switch (_context2.p = _context2.n) {
19037
19227
  case 0:
@@ -19039,23 +19229,6 @@ function sendMessage(action) {
19039
19229
  messageToSend = messagesToSend[_i];
19040
19230
  _context2.p = 1;
19041
19231
  messageCopy = JSON.parse(JSON.stringify(messagesToSend[_i]));
19042
- activeChannelId = getActiveChannelId();
19043
- if (action.type !== RESEND_MESSAGE) {
19044
- addMessageToMap(channel.id, _extends({}, messageToSend, {
19045
- createdAt: new Date(Date.now())
19046
- }));
19047
- if (activeChannelId === channel.id) {
19048
- addAllMessages([_extends({}, messageToSend, {
19049
- createdAt: new Date(Date.now())
19050
- })], MESSAGE_LOAD_DIRECTION.NEXT);
19051
- }
19052
- if (activeChannelId === channel.id) {
19053
- store.dispatch(addMessageAC(_extends({}, messageToSend, {
19054
- createdAt: new Date(Date.now())
19055
- })));
19056
- }
19057
- store.dispatch(scrollToNewMessageAC(true));
19058
- }
19059
19232
  if (!(connectionState === CONNECTION_STATUS.CONNECTED)) {
19060
19233
  _context2.n = 12;
19061
19234
  break;
@@ -19252,7 +19425,7 @@ function sendMessage(action) {
19252
19425
  }, _marked$3, null, [[1, 15]]);
19253
19426
  }
19254
19427
  function sendTextMessage(action) {
19255
- var payload, message, connectionState, channelId, isAddToPendingMessagesMap, channel, sendMessageTid, pendingMessage, activeChannelId, SceytChatClient, createChannelData, mentionedUserIds, attachments, attachmentBuilder, att, messageBuilder, createdMessage, messageToSend, _activeChannelId, _messageResponse, messageResponse, messageUpdateData, messageToUpdate, channelUpdateParam, _t3;
19428
+ var payload, message, connectionState, channelId, isAddToPendingMessagesMap, channel, sendMessageTid, pendingMessage, activeChannelId, SceytChatClient, createChannelData, mentionedUserIds, attachments, attachmentBuilder, att, messageBuilder, createdMessage, messageToSend, _messageResponse, messageResponse, messageUpdateData, messageToUpdate, channelUpdateParam, _t3;
19256
19429
  return _regenerator().w(function (_context4) {
19257
19430
  while (1) switch (_context4.p = _context4.n) {
19258
19431
  case 0:
@@ -19328,16 +19501,8 @@ function sendTextMessage(action) {
19328
19501
  if (pendingMessage && pendingMessage.metadata) {
19329
19502
  pendingMessage.metadata = JSON.parse(pendingMessage.metadata);
19330
19503
  }
19331
- if (action.type !== RESEND_MESSAGE && pendingMessage) {
19332
- _activeChannelId = getActiveChannelId();
19333
- addMessageToMap(channel.id, pendingMessage);
19334
- if (_activeChannelId === channel.id) {
19335
- addAllMessages([pendingMessage], MESSAGE_LOAD_DIRECTION.NEXT);
19336
- }
19337
- if (_activeChannelId === channel.id) {
19338
- store.dispatch(addMessageAC(pendingMessage));
19339
- }
19340
- store.dispatch(scrollToNewMessageAC(true));
19504
+ if (pendingMessage) {
19505
+ updateMessage$1(action.type, pendingMessage, channel);
19341
19506
  }
19342
19507
  if (!(connectionState === CONNECTION_STATUS.CONNECTED)) {
19343
19508
  _context4.n = 15;
@@ -19569,14 +19734,8 @@ function forwardMessage(action) {
19569
19734
  _context5.n = 8;
19570
19735
  return put(getMessagesAC(channel));
19571
19736
  case 8:
19572
- if (action.type !== RESEND_MESSAGE) {
19573
- addMessageToMap(channel.id, pendingMessage);
19574
- if (activeChannelId === channel.id) {
19575
- addAllMessages([pendingMessage], MESSAGE_LOAD_DIRECTION.NEXT);
19576
- }
19577
- if (activeChannelId === channel.id) {
19578
- store.dispatch(addMessageAC(pendingMessage));
19579
- }
19737
+ if (pendingMessage) {
19738
+ updateMessage$1(action.type, pendingMessage, channel, false);
19580
19739
  }
19581
19740
  if (!(connectionState === CONNECTION_STATUS.CONNECTED)) {
19582
19741
  _context5.n = 14;
@@ -23802,7 +23961,9 @@ var SceytChatContainer = function SceytChatContainer(_ref) {
23802
23961
  } : _ref$inviteLinkOption,
23803
23962
  _ref$embeddedJoinGrou = _ref.embeddedJoinGroupPopup,
23804
23963
  embeddedJoinGroupPopup = _ref$embeddedJoinGrou === void 0 ? false : _ref$embeddedJoinGrou,
23805
- onUpdateChannel = _ref.onUpdateChannel;
23964
+ onUpdateChannel = _ref.onUpdateChannel,
23965
+ _ref$enableDisappeari = _ref.enableDisappearingMessages,
23966
+ enableDisappearingMessages = _ref$enableDisappeari === void 0 ? false : _ref$enableDisappeari;
23806
23967
  useEffect(function () {
23807
23968
  log.setLevel(logLevel);
23808
23969
  if (baseUrlForInviteMembers) {
@@ -23814,7 +23975,8 @@ var SceytChatContainer = function SceytChatContainer(_ref) {
23814
23975
  if (inviteLinkOptions) {
23815
23976
  setInviteLinkOptions(inviteLinkOptions);
23816
23977
  }
23817
- }, []);
23978
+ setEnableDisappearingMessages(enableDisappearingMessages);
23979
+ }, [baseUrlForInviteMembers, useInviteLink, inviteLinkOptions, enableDisappearingMessages]);
23818
23980
  return /*#__PURE__*/React__default.createElement(Provider, {
23819
23981
  store: store,
23820
23982
  context: SceytReduxContext
@@ -24092,7 +24254,57 @@ function SvgPoll(props) {
24092
24254
  })));
24093
24255
  }
24094
24256
 
24095
- var _templateObject$6, _templateObject2$5, _templateObject3$5, _templateObject4$4, _templateObject5$3, _templateObject6$2, _templateObject7$2, _templateObject8$2, _templateObject9$1, _templateObject0$1, _templateObject1$1, _templateObject10$1, _templateObject11$1, _templateObject12$1, _templateObject13$1, _templateObject14$1, _templateObject15$1, _templateObject16$1, _templateObject17$1, _templateObject18$1, _templateObject19$1, _templateObject20$1;
24257
+ var _path$g, _g, _defs;
24258
+ function _extends$h() {
24259
+ return _extends$h = Object.assign ? Object.assign.bind() : function (n) {
24260
+ for (var e = 1; e < arguments.length; e++) {
24261
+ var t = arguments[e];
24262
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
24263
+ }
24264
+ return n;
24265
+ }, _extends$h.apply(null, arguments);
24266
+ }
24267
+ function SvgBadge(props) {
24268
+ return /*#__PURE__*/createElement$1("svg", _extends$h({
24269
+ width: 24,
24270
+ height: 24,
24271
+ fill: "none",
24272
+ xmlns: "http://www.w3.org/2000/svg"
24273
+ }, props), _path$g || (_path$g = /*#__PURE__*/createElement$1("path", {
24274
+ d: "M12 1c6.075 0 11 4.925 11 11s-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1z",
24275
+ fill: "url(#badge_svg__paint0_linear_5007_111116)",
24276
+ stroke: "transparent",
24277
+ strokeWidth: 2
24278
+ })), _g || (_g = /*#__PURE__*/createElement$1("g", {
24279
+ clipPath: "url(#badge_svg__clip0_5007_111116)"
24280
+ }, /*#__PURE__*/createElement$1("path", {
24281
+ d: "M12 8v4l2.667 1.333m-2.667-8A6.666 6.666 0 0116.92 16.5M5.667 9.917a6.667 6.667 0 00-.333 2m.553 2.75a6.668 6.668 0 001.62 2.266M7.09 7.49c.186-.203.384-.393.594-.571m2.078 11.36a6.666 6.666 0 005.087-.252",
24282
+ stroke: "transparent",
24283
+ strokeWidth: 1.6,
24284
+ strokeLinecap: "round",
24285
+ strokeLinejoin: "round"
24286
+ }))), _defs || (_defs = /*#__PURE__*/createElement$1("defs", null, /*#__PURE__*/createElement$1("linearGradient", {
24287
+ id: "badge_svg__paint0_linear_5007_111116",
24288
+ x1: -3.5,
24289
+ y1: -4,
24290
+ x2: 13,
24291
+ y2: 22,
24292
+ gradientUnits: "userSpaceOnUse"
24293
+ }, /*#__PURE__*/createElement$1("stop", {
24294
+ stopColor: "#EDEDED"
24295
+ }), /*#__PURE__*/createElement$1("stop", {
24296
+ offset: 1,
24297
+ stopColor: "#818C99"
24298
+ })), /*#__PURE__*/createElement$1("clipPath", {
24299
+ id: "badge_svg__clip0_5007_111116"
24300
+ }, /*#__PURE__*/createElement$1("path", {
24301
+ fill: "#fff",
24302
+ transform: "translate(4 4)",
24303
+ d: "M0 0h16v16H0z"
24304
+ })))));
24305
+ }
24306
+
24307
+ var _templateObject$6, _templateObject2$5, _templateObject3$5, _templateObject4$4, _templateObject5$3, _templateObject6$2, _templateObject7$2, _templateObject8$2, _templateObject9$1, _templateObject0$1, _templateObject1$1, _templateObject10$1, _templateObject11$1, _templateObject12$1, _templateObject13$1, _templateObject14$1, _templateObject15$1, _templateObject16$1, _templateObject17$1, _templateObject18$1, _templateObject19$1, _templateObject20$1, _templateObject21$1;
24096
24308
  var LastMessageAttachments = function LastMessageAttachments(_ref) {
24097
24309
  var lastMessage = _ref.lastMessage;
24098
24310
  return !!(lastMessage.attachments && lastMessage.attachments.length || lastMessage !== null && lastMessage !== void 0 && lastMessage.pollDetails && (lastMessage === null || lastMessage === void 0 ? void 0 : lastMessage.type) === MESSAGE_TYPE.POLL) && (lastMessage !== null && lastMessage !== void 0 && lastMessage.pollDetails && (lastMessage === null || lastMessage === void 0 ? void 0 : lastMessage.type) === MESSAGE_TYPE.POLL ? (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(SvgPoll, null), lastMessage.body ? '' : 'Poll')) : lastMessage.attachments[0].type === attachmentTypes.image ? (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(SvgPicture, null), lastMessage.body ? '' : 'Photo')) : lastMessage.attachments[0].type === attachmentTypes.video ? (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(SvgVideoCall, null), lastMessage.body ? '' : 'Video')) : lastMessage.attachments[0].type === attachmentTypes.file ? (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(SvgChoseFile, null), lastMessage.body ? '' : 'File')) : lastMessage.attachments[0].type === attachmentTypes.voice ? (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(SvgVoiceIcon, null), lastMessage.body ? '' : 'Voice')) : null);
@@ -24132,7 +24344,7 @@ var ChannelMessageText = function ChannelMessageText(_ref2) {
24132
24344
  return mem === user.id ? ' You' : " " + systemMessageUserName(mem, contactsMap && contactsMap[mem], lastMessage.mentionedUsers);
24133
24345
  })) + " " + (lastMessageMetas && lastMessageMetas.m && lastMessageMetas.m.length > 5 ? "and " + (lastMessageMetas.m.length - 5) + " more" : '') : lastMessage.body === 'RM' ? " removed " + (lastMessageMetas && lastMessageMetas.m && lastMessageMetas.m.slice(0, 5).map(function (mem) {
24134
24346
  return mem === user.id ? ' You' : " " + systemMessageUserName(mem, contactsMap && contactsMap[mem], lastMessage.mentionedUsers);
24135
- })) + " " + (lastMessageMetas && lastMessageMetas.m && lastMessageMetas.m.length > 5 ? "and " + (lastMessageMetas.m.length - 5) + " more" : '') : lastMessage.body === 'LG' ? 'Left this group' : lastMessage.body === 'JL' ? 'joined via invite link' : '') : (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(LastMessageDescription, {
24347
+ })) + " " + (lastMessageMetas && lastMessageMetas.m && lastMessageMetas.m.length > 5 ? "and " + (lastMessageMetas.m.length - 5) + " more" : '') : lastMessage.body === 'LG' ? 'Left this group' : lastMessage.body === 'JL' ? 'joined via invite link' : lastMessage.body === 'ADM' && getEnableDisappearingMessages() ? !Number(lastMessageMetas === null || lastMessageMetas === void 0 ? void 0 : lastMessageMetas.autoDeletePeriod) ? 'disabled disappearing messages' : "set disappearing message time to " + formatDisappearingMessageTime(lastMessageMetas !== null && lastMessageMetas !== void 0 && lastMessageMetas.autoDeletePeriod ? Number(lastMessageMetas.autoDeletePeriod) : null) : '') : (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(LastMessageDescription, {
24136
24348
  poll: (lastMessage === null || lastMessage === void 0 ? void 0 : lastMessage.pollDetails) && (lastMessage === null || lastMessage === void 0 ? void 0 : lastMessage.type) === MESSAGE_TYPE.POLL
24137
24349
  }, channel.lastReactedMessage && (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, "Reacted", /*#__PURE__*/React__default.createElement(ReactionItem, null, channel.newReactions && channel.newReactions[0] && channel.newReactions[0].key), "to", ' "')), LastMessageAttachments({
24138
24350
  lastMessage: lastMessage
@@ -24349,6 +24561,7 @@ var Channel = function Channel(_ref3) {
24349
24561
  }, [channel, activeChannel.id, setSelectedChannel]);
24350
24562
  return /*#__PURE__*/React__default.createElement(Container$3, {
24351
24563
  theme: theme,
24564
+ backgroundColor: background,
24352
24565
  selectedChannel: channel.id === activeChannel.id,
24353
24566
  selectedChannelLeftBorder: selectedChannelLeftBorder,
24354
24567
  selectedBackgroundColor: selectedChannelBackground || backgroundFocused,
@@ -24368,7 +24581,10 @@ var Channel = function Channel(_ref3) {
24368
24581
  size: channelAvatarSize || 50,
24369
24582
  textSize: channelAvatarTextSize || 16,
24370
24583
  setDefaultAvatar: isDirectChannel
24371
- }), isDirectChannel && directChannelUser && hideUserPresence && (hideUserPresence(directChannelUser) ? '' : directChannelUser.presence && directChannelUser.presence.state === USER_PRESENCE_STATUS.ONLINE) && (/*#__PURE__*/React__default.createElement(UserStatus, {
24584
+ }), !!(channel !== null && channel !== void 0 && channel.messageRetentionPeriod) && (/*#__PURE__*/React__default.createElement(DisappearingMessagesBadge, {
24585
+ color: accentColor,
24586
+ className: 'disappearing-messages-badge'
24587
+ })), isDirectChannel && directChannelUser && hideUserPresence && (hideUserPresence(directChannelUser) ? '' : directChannelUser.presence && directChannelUser.presence.state === USER_PRESENCE_STATUS.ONLINE) && (/*#__PURE__*/React__default.createElement(UserStatus, {
24372
24588
  backgroundColor: onlineStatus,
24373
24589
  borderColor: background
24374
24590
  })))), /*#__PURE__*/React__default.createElement(ChannelInfo, {
@@ -24427,7 +24643,7 @@ var Channel = function Channel(_ref3) {
24427
24643
  color: textPrimary
24428
24644
  }, /*#__PURE__*/React__default.createElement("span", {
24429
24645
  ref: messageAuthorRef
24430
- }, lastMessage.user.id === user.id ? 'You' : makeUsername(contactsMap && contactsMap[lastMessage.user.id], lastMessage.user, getFromContacts, true)))), !(typingOrRecording !== null && typingOrRecording !== void 0 && typingOrRecording.isTyping) && !(typingOrRecording !== null && typingOrRecording !== void 0 && typingOrRecording.isRecording) && (isDirectChannel ? !(typingOrRecording !== null && typingOrRecording !== void 0 && typingOrRecording.isTyping) && !(typingOrRecording !== null && typingOrRecording !== void 0 && typingOrRecording.isRecording) && (draftMessageText || lastMessage.user && lastMessage.state !== MESSAGE_STATUS.DELETE && (channel.lastReactedMessage && channel.newReactions && channel.newReactions[0] ? channel.newReactions[0].user && channel.newReactions[0].user.id === user.id : lastMessage.user.id === user.id)) : draftMessageText || lastMessage && lastMessage.state !== MESSAGE_STATUS.DELETE && lastMessage.type !== 'system') && (/*#__PURE__*/React__default.createElement(Points, {
24646
+ }, lastMessage.user.id === user.id ? 'You' : makeUsername(contactsMap && contactsMap[lastMessage.user.id], lastMessage.user, getFromContacts, true)))), !(typingOrRecording !== null && typingOrRecording !== void 0 && typingOrRecording.isTyping) && !(typingOrRecording !== null && typingOrRecording !== void 0 && typingOrRecording.isRecording) && (isDirectChannel ? !(typingOrRecording !== null && typingOrRecording !== void 0 && typingOrRecording.isTyping) && !(typingOrRecording !== null && typingOrRecording !== void 0 && typingOrRecording.isRecording) && (draftMessageText || lastMessage.user && lastMessage.state !== MESSAGE_STATUS.DELETE && (channel.lastReactedMessage && channel.newReactions && channel.newReactions[0] ? channel.newReactions[0].user && channel.newReactions[0].user.id === user.id : lastMessage.user.id === user.id && lastMessage.type !== MESSAGE_TYPE.SYSTEM)) : draftMessageText || lastMessage && lastMessage.state !== MESSAGE_STATUS.DELETE && lastMessage.type !== MESSAGE_TYPE.SYSTEM) && (/*#__PURE__*/React__default.createElement(Points, {
24431
24647
  color: draftMessageText && warningColor || textPrimary
24432
24648
  }, ": ")), /*#__PURE__*/React__default.createElement(LastMessageText, {
24433
24649
  color: textSecondary,
@@ -24489,12 +24705,15 @@ var LastMessage = styled.div(_templateObject3$5 || (_templateObject3$5 = _tagged
24489
24705
  return props.height || '20px';
24490
24706
  });
24491
24707
  var AvatarWrapper = styled.div(_templateObject4$4 || (_templateObject4$4 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n position: relative;\n"])));
24492
- var UserStatus = styled.span(_templateObject5$3 || (_templateObject5$3 = _taggedTemplateLiteralLoose(["\n position: absolute;\n width: 12px;\n height: 12px;\n right: 0;\n bottom: 0;\n border-radius: 50%;\n background-color: ", ";\n border: 2.5px solid ", ";\n box-sizing: border-box;\n"])), function (props) {
24708
+ var DisappearingMessagesBadge = styled(SvgBadge)(_templateObject5$3 || (_templateObject5$3 = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: -7px;\n right: -7px;\n width: 24px;\n height: 24px;\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 1;\n color: ", ";\n"])), function (props) {
24709
+ return props.color;
24710
+ });
24711
+ var UserStatus = styled.span(_templateObject6$2 || (_templateObject6$2 = _taggedTemplateLiteralLoose(["\n position: absolute;\n width: 12px;\n height: 12px;\n right: 0;\n bottom: 0;\n border-radius: 50%;\n background-color: ", ";\n border: 2.5px solid ", ";\n box-sizing: border-box;\n"])), function (props) {
24493
24712
  return props.backgroundColor || '#56E464';
24494
24713
  }, function (props) {
24495
24714
  return props.borderColor || '#ffffff';
24496
24715
  });
24497
- var Container$3 = styled.div(_templateObject6$2 || (_templateObject6$2 = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n align-items: center;\n cursor: pointer;\n background-color: ", ";\n border-left: ", ";\n // padding: selectedChannel ? '8px 16px 8px 13px' : '8px 16px'\n padding: ", ";\n margin: ", ";\n border-radius: ", ";\n\n transition: all 0.2s;\n &:hover {\n ", "\n ", " {\n border-color: ", ";\n }\n }\n ", " {\n ", "\n }\n"])), function (props) {
24716
+ var Container$3 = styled.div(_templateObject7$2 || (_templateObject7$2 = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n align-items: center;\n cursor: pointer;\n background-color: ", ";\n border-left: ", ";\n // padding: selectedChannel ? '8px 16px 8px 13px' : '8px 16px'\n padding: ", ";\n margin: ", ";\n border-radius: ", ";\n\n transition: all 0.2s;\n .disappearing-messages-badge {\n & > path:nth-child(1) {\n stroke: ", ";\n }\n g {\n path {\n stroke: ", ";\n }\n }\n }\n &:hover {\n ", "\n ", " {\n border-color: ", ";\n }\n .disappearing-messages-badge {\n & > path:nth-child(1) {\n stroke: ", ";\n }\n g {\n path {\n stroke: ", ";\n }\n }\n }\n }\n ", " {\n ", "\n }\n"])), function (props) {
24498
24717
  return props.selectedChannel ? props.selectedBackgroundColor : 'inherit';
24499
24718
  }, function (props) {
24500
24719
  return props.selectedChannel ? props.selectedChannelLeftBorder : null;
@@ -24504,32 +24723,40 @@ var Container$3 = styled.div(_templateObject6$2 || (_templateObject6$2 = _tagged
24504
24723
  return props.channelsMargin || '0 8px';
24505
24724
  }, function (props) {
24506
24725
  return props.selectedChannelBorderRadius || '12px';
24726
+ }, function (props) {
24727
+ return props.selectedChannel ? props.selectedBackgroundColor : props.backgroundColor;
24728
+ }, function (props) {
24729
+ return props.selectedChannel ? props.selectedBackgroundColor : props.backgroundColor;
24507
24730
  }, function (_ref5) {
24508
24731
  var selectedChannel = _ref5.selectedChannel,
24509
24732
  hoverBackground = _ref5.hoverBackground;
24510
24733
  return !selectedChannel && "\n background-color: " + hoverBackground + ";\n ";
24511
24734
  }, UserStatus, function (props) {
24512
24735
  return props.selectedChannel ? props.selectedBackgroundColor : props.hoverBackground;
24736
+ }, function (props) {
24737
+ return props.selectedChannel ? props.selectedBackgroundColor : props.hoverBackground;
24738
+ }, function (props) {
24739
+ return props.selectedChannel ? props.selectedBackgroundColor : props.hoverBackground;
24513
24740
  }, UserStatus, function (props) {
24514
24741
  return props.selectedChannel && "\n border-color: " + props.selectedBackgroundColor + ";\n ";
24515
24742
  });
24516
- var DraftMessageTitle = styled.span(_templateObject7$2 || (_templateObject7$2 = _taggedTemplateLiteralLoose(["\n color: ", ";\n margin-right: 4px;\n"])), function (props) {
24743
+ var DraftMessageTitle = styled.span(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteralLoose(["\n color: ", ";\n margin-right: 4px;\n"])), function (props) {
24517
24744
  return props.color;
24518
24745
  });
24519
- var DraftMessageText = styled.span(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n align-items: flex-end;\n gap: 4px;\n"])), function (props) {
24746
+ var DraftMessageText = styled.span(_templateObject9$1 || (_templateObject9$1 = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n align-items: flex-end;\n gap: 4px;\n"])), function (props) {
24520
24747
  return props.color;
24521
24748
  });
24522
- var LastMessageAuthor = styled.div(_templateObject9$1 || (_templateObject9$1 = _taggedTemplateLiteralLoose(["\n max-width: 120px;\n font-weight: 500;\n color: ", ";\n\n ", "\n & > span {\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 100%;\n }\n"])), function (props) {
24749
+ var LastMessageAuthor = styled.div(_templateObject0$1 || (_templateObject0$1 = _taggedTemplateLiteralLoose(["\n max-width: 120px;\n font-weight: 500;\n color: ", ";\n\n ", "\n & > span {\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 100%;\n }\n"])), function (props) {
24523
24750
  return props.color;
24524
24751
  }, function (_ref6) {
24525
24752
  var typing = _ref6.typing,
24526
24753
  recording = _ref6.recording;
24527
24754
  return (typing || recording) && "\n font-weight: 500;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: calc(100% - " + (typing ? 62 : 76) + "px);\n ";
24528
24755
  });
24529
- var Points = styled.span(_templateObject0$1 || (_templateObject0$1 = _taggedTemplateLiteralLoose(["\n margin-right: 4px;\n color: ", ";\n font-style: normal;\n"])), function (props) {
24756
+ var Points = styled.span(_templateObject1$1 || (_templateObject1$1 = _taggedTemplateLiteralLoose(["\n margin-right: 4px;\n color: ", ";\n font-style: normal;\n"])), function (props) {
24530
24757
  return props.color;
24531
24758
  });
24532
- var LastMessageText = styled.span(_templateObject1$1 || (_templateObject1$1 = _taggedTemplateLiteralLoose(["\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: ", ";\n font-style: ", ";\n transform: ", ";\n //height: 20px;\n\n > svg {\n width: 16px;\n height: 16px;\n min-width: 16px;\n min-height: 16px;\n margin-right: 4px;\n color: ", ";\n transform: translate(0px, 3px);\n }\n & > span {\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 100%;\n }\n & > div {\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 100%;\n & > svg {\n width: 18px;\n height: 18px;\n min-width: 18px;\n min-height: 18px;\n color: ", ";\n }\n }\n"])), function (props) {
24759
+ var LastMessageText = styled.span(_templateObject10$1 || (_templateObject10$1 = _taggedTemplateLiteralLoose(["\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: ", ";\n font-style: ", ";\n transform: ", ";\n //height: 20px;\n\n > svg {\n width: 16px;\n height: 16px;\n min-width: 16px;\n min-height: 16px;\n margin-right: 4px;\n color: ", ";\n transform: translate(0px, 3px);\n }\n & > span {\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 100%;\n }\n & > div {\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 100%;\n & > svg {\n width: 18px;\n height: 18px;\n min-width: 18px;\n min-height: 18px;\n color: ", ";\n }\n }\n"])), function (props) {
24533
24760
  return props.color;
24534
24761
  }, function (props) {
24535
24762
  return props.deletedMessage && 'italic';
@@ -24540,29 +24767,29 @@ var LastMessageText = styled.span(_templateObject1$1 || (_templateObject1$1 = _t
24540
24767
  }, function (props) {
24541
24768
  return props.color;
24542
24769
  });
24543
- var LastMessageDescription = styled.div(_templateObject10$1 || (_templateObject10$1 = _taggedTemplateLiteralLoose(["\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 100%;\n & > svg {\n width: 18px;\n height: 18px;\n margin: ", ";\n margin-right: 4px;\n }\n"])), function (props) {
24770
+ var LastMessageDescription = styled.div(_templateObject11$1 || (_templateObject11$1 = _taggedTemplateLiteralLoose(["\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 100%;\n & > svg {\n width: 18px;\n height: 18px;\n margin: ", ";\n margin-right: 4px;\n }\n"])), function (props) {
24544
24771
  return props.poll ? '0 0 -3px 0' : '3px 0 -3px 0';
24545
24772
  });
24546
- var ChannelStatus = styled.div(_templateObject11$1 || (_templateObject11$1 = _taggedTemplateLiteralLoose(["\n position: absolute;\n right: 16px;\n top: 15px;\n display: flex;\n flex-wrap: wrap;\n height: 42px;\n margin-left: auto;\n\n & > svg {\n width: 16px;\n height: 16px;\n color: ", ";\n }\n"])), function (props) {
24773
+ var ChannelStatus = styled.div(_templateObject12$1 || (_templateObject12$1 = _taggedTemplateLiteralLoose(["\n position: absolute;\n right: 16px;\n top: 15px;\n display: flex;\n flex-wrap: wrap;\n height: 42px;\n margin-left: auto;\n\n & > svg {\n width: 16px;\n height: 16px;\n color: ", ";\n }\n"])), function (props) {
24547
24774
  return props.color;
24548
24775
  });
24549
- var LastMessageDate = styled.span(_templateObject12$1 || (_templateObject12$1 = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size: ", ";\n line-height: 16px;\n"])), function (props) {
24776
+ var LastMessageDate = styled.span(_templateObject13$1 || (_templateObject13$1 = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size: ", ";\n line-height: 16px;\n"])), function (props) {
24550
24777
  return props.color;
24551
24778
  }, function (props) {
24552
24779
  return props.fontSize || '12px';
24553
24780
  });
24554
- var DeliveryIconCont = styled.span(_templateObject13$1 || (_templateObject13$1 = _taggedTemplateLiteralLoose(["\n margin-right: 6px;\n line-height: 13px;\n"])));
24555
- var UnreadMentionIconWrapper = styled.span(_templateObject14$1 || (_templateObject14$1 = _taggedTemplateLiteralLoose(["\n margin-right: ", ";\n line-height: 13px;\n\n & > svg {\n color: ", ";\n }\n"])), function (props) {
24781
+ var DeliveryIconCont = styled.span(_templateObject14$1 || (_templateObject14$1 = _taggedTemplateLiteralLoose(["\n margin-right: 6px;\n line-height: 13px;\n"])));
24782
+ var UnreadMentionIconWrapper = styled.span(_templateObject15$1 || (_templateObject15$1 = _taggedTemplateLiteralLoose(["\n margin-right: ", ";\n line-height: 13px;\n\n & > svg {\n color: ", ";\n }\n"])), function (props) {
24556
24783
  return props.rightMargin && '8px';
24557
24784
  }, function (props) {
24558
24785
  return props.iconColor;
24559
24786
  });
24560
- var TypingIndicator = styled.span(_templateObject15$1 || (_templateObject15$1 = _taggedTemplateLiteralLoose(["\n font-style: italic;\n"])));
24561
- var ReactionItem = styled.span(_templateObject16$1 || (_templateObject16$1 = _taggedTemplateLiteralLoose(["\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 padding: 0 3px;\n"])));
24562
- var UnreadInfo = styled.span(_templateObject17$1 || (_templateObject17$1 = _taggedTemplateLiteralLoose(["\n position: absolute;\n bottom: ", ";\n right: 16px;\n display: flex;\n margin-top: 7px;\n align-items: center;\n flex: 0 0 auto;\n margin-left: auto;\n"])), function (props) {
24787
+ var TypingIndicator = styled.span(_templateObject16$1 || (_templateObject16$1 = _taggedTemplateLiteralLoose(["\n font-style: italic;\n"])));
24788
+ var ReactionItem = styled.span(_templateObject17$1 || (_templateObject17$1 = _taggedTemplateLiteralLoose(["\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 padding: 0 3px;\n"])));
24789
+ var UnreadInfo = styled.span(_templateObject18$1 || (_templateObject18$1 = _taggedTemplateLiteralLoose(["\n position: absolute;\n bottom: ", ";\n right: 16px;\n display: flex;\n margin-top: 7px;\n align-items: center;\n flex: 0 0 auto;\n margin-left: auto;\n"])), function (props) {
24563
24790
  return props.bottom || '11px';
24564
24791
  });
24565
- var UnreadCount = styled.span(_templateObject18$1 || (_templateObject18$1 = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n background-color: ", ";\n padding: 0 4px;\n font-size: ", ";\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\n ", "\n"])), function (props) {
24792
+ var UnreadCount = styled.span(_templateObject19$1 || (_templateObject19$1 = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n background-color: ", ";\n padding: 0 4px;\n font-size: ", ";\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\n ", "\n"])), function (props) {
24566
24793
  return props.backgroundColor;
24567
24794
  }, function (props) {
24568
24795
  return props.fontSize || '13px';
@@ -24575,10 +24802,10 @@ var UnreadCount = styled.span(_templateObject18$1 || (_templateObject18$1 = _tag
24575
24802
  }, function (props) {
24576
24803
  return props.isMuted && "background-color: " + props.mutedBackgroundColor + ";";
24577
24804
  });
24578
- var PinnedIconWrapper = styled.span(_templateObject19$1 || (_templateObject19$1 = _taggedTemplateLiteralLoose(["\n & > svg {\n color: ", ";\n }\n"])), function (props) {
24805
+ var PinnedIconWrapper = styled.span(_templateObject20$1 || (_templateObject20$1 = _taggedTemplateLiteralLoose(["\n & > svg {\n color: ", ";\n }\n"])), function (props) {
24579
24806
  return props.color;
24580
24807
  });
24581
- var MessageTextContainer = styled.div(_templateObject20$1 || (_templateObject20$1 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: flex-end;\n gap: 4px;\n"])));
24808
+ var MessageTextContainer = styled.div(_templateObject21$1 || (_templateObject21$1 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: flex-end;\n gap: 4px;\n"])));
24582
24809
 
24583
24810
  var _templateObject$7, _templateObject2$6;
24584
24811
  var SearchInputContainer = styled.div(_templateObject$7 || (_templateObject$7 = _taggedTemplateLiteralLoose(["\n position: relative;\n width: 100%;\n max-width: ", ";\n box-sizing: border-box;\n padding: ", ";\n\n & ", " {\n ", ";\n }\n"])), function (props) {
@@ -24713,23 +24940,23 @@ var Container$4 = styled.div(_templateObject4$5 || (_templateObject4$5 = _tagged
24713
24940
  return props.hoverBackground;
24714
24941
  });
24715
24942
 
24716
- var _path$g;
24717
- function _extends$h() {
24718
- return _extends$h = Object.assign ? Object.assign.bind() : function (n) {
24943
+ var _path$h;
24944
+ function _extends$i() {
24945
+ return _extends$i = Object.assign ? Object.assign.bind() : function (n) {
24719
24946
  for (var e = 1; e < arguments.length; e++) {
24720
24947
  var t = arguments[e];
24721
24948
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
24722
24949
  }
24723
24950
  return n;
24724
- }, _extends$h.apply(null, arguments);
24951
+ }, _extends$i.apply(null, arguments);
24725
24952
  }
24726
24953
  function SvgCreateChannel(props) {
24727
- return /*#__PURE__*/createElement$1("svg", _extends$h({
24954
+ return /*#__PURE__*/createElement$1("svg", _extends$i({
24728
24955
  width: 20,
24729
24956
  height: 20,
24730
24957
  fill: "none",
24731
24958
  xmlns: "http://www.w3.org/2000/svg"
24732
- }, props), _path$g || (_path$g = /*#__PURE__*/createElement$1("path", {
24959
+ }, props), _path$h || (_path$h = /*#__PURE__*/createElement$1("path", {
24733
24960
  fillRule: "evenodd",
24734
24961
  clipRule: "evenodd",
24735
24962
  d: "M15.582 1.3c.31.117.517.414.517.745v2.833a3.448 3.448 0 010 6.71v2.831a.795.795 0 01-1.395.524c-.556-.636-1.531-1.238-2.857-1.68a13.047 13.047 0 00-1.935-.477v3.613a2.35 2.35 0 01-4.565.79l-.002-.005-1.788-5.122a4.33 4.33 0 012.024-8.16H7.2a16.675 16.675 0 001.837-.1 13.724 13.724 0 002.81-.6c1.325-.442 2.3-1.044 2.856-1.68a.795.795 0 01.878-.221zM8.322 5.46c-.368.022-.742.033-1.12.033H5.58a2.74 2.74 0 00-1.071 5.263M8.32 5.46v5.547a18.531 18.531 0 00-1.12-.034H5.58a2.73 2.73 0 01-1.07-.217m5.402.42V5.29c.87-.133 1.69-.329 2.439-.579a10.253 10.253 0 002.156-.988v9.019a10.257 10.257 0 00-2.156-.988c-.75-.25-1.57-.447-2.44-.58zm6.187-4.62V9.91a1.856 1.856 0 000-3.355zM8.32 12.6a16.92 16.92 0 00-1.12-.037H5.58c-.055 0-.11 0-.165-.003l1.43 4.095v.002a.76.76 0 001.475-.258V12.6z",
@@ -24737,23 +24964,23 @@ function SvgCreateChannel(props) {
24737
24964
  })));
24738
24965
  }
24739
24966
 
24740
- var _path$h;
24741
- function _extends$i() {
24742
- return _extends$i = Object.assign ? Object.assign.bind() : function (n) {
24967
+ var _path$i;
24968
+ function _extends$j() {
24969
+ return _extends$j = Object.assign ? Object.assign.bind() : function (n) {
24743
24970
  for (var e = 1; e < arguments.length; e++) {
24744
24971
  var t = arguments[e];
24745
24972
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
24746
24973
  }
24747
24974
  return n;
24748
- }, _extends$i.apply(null, arguments);
24975
+ }, _extends$j.apply(null, arguments);
24749
24976
  }
24750
24977
  function SvgCreateGroup(props) {
24751
- return /*#__PURE__*/createElement$1("svg", _extends$i({
24978
+ return /*#__PURE__*/createElement$1("svg", _extends$j({
24752
24979
  width: 20,
24753
24980
  height: 20,
24754
24981
  fill: "none",
24755
24982
  xmlns: "http://www.w3.org/2000/svg"
24756
- }, props), _path$h || (_path$h = /*#__PURE__*/createElement$1("path", {
24983
+ }, props), _path$i || (_path$i = /*#__PURE__*/createElement$1("path", {
24757
24984
  fillRule: "evenodd",
24758
24985
  clipRule: "evenodd",
24759
24986
  d: "M14.716 15.9h2.996a3.587 3.587 0 00-3.689-3.02c.01.085.031.175.065.259.35.862.567 1.792.628 2.76zM6.02 7.957a1.512 1.512 0 100-3.023 1.512 1.512 0 000 3.023zm8.15 0a1.511 1.511 0 100-3.023 1.511 1.511 0 000 3.023zM9.562 15.9a3.587 3.587 0 00-7.084 0h7.084zM6.02 9.557a3.112 3.112 0 100-6.224 3.112 3.112 0 000 6.224zm7.113 6.906c0 .55.418 1.037.967 1.037h4.22c.572 0 1.037-.464 1.037-1.037a5.187 5.187 0 00-5.848-5.145c-1.074.137-1.31 1.417-.904 2.421.34.841.528 1.76.528 2.724zm4.15-10.018a3.112 3.112 0 11-6.225 0 3.112 3.112 0 016.224 0zm-6.076 10.018a5.187 5.187 0 00-10.374 0c0 .573.465 1.037 1.038 1.037h8.298c.573 0 1.038-.464 1.038-1.037z",
@@ -24761,23 +24988,23 @@ function SvgCreateGroup(props) {
24761
24988
  })));
24762
24989
  }
24763
24990
 
24764
- var _path$i;
24765
- function _extends$j() {
24766
- return _extends$j = Object.assign ? Object.assign.bind() : function (n) {
24991
+ var _path$j;
24992
+ function _extends$k() {
24993
+ return _extends$k = Object.assign ? Object.assign.bind() : function (n) {
24767
24994
  for (var e = 1; e < arguments.length; e++) {
24768
24995
  var t = arguments[e];
24769
24996
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
24770
24997
  }
24771
24998
  return n;
24772
- }, _extends$j.apply(null, arguments);
24999
+ }, _extends$k.apply(null, arguments);
24773
25000
  }
24774
25001
  function SvgCreateChat(props) {
24775
- return /*#__PURE__*/createElement$1("svg", _extends$j({
25002
+ return /*#__PURE__*/createElement$1("svg", _extends$k({
24776
25003
  width: 20,
24777
25004
  height: 20,
24778
25005
  fill: "none",
24779
25006
  xmlns: "http://www.w3.org/2000/svg"
24780
- }, props), _path$i || (_path$i = /*#__PURE__*/createElement$1("path", {
25007
+ }, props), _path$j || (_path$j = /*#__PURE__*/createElement$1("path", {
24781
25008
  fillRule: "evenodd",
24782
25009
  clipRule: "evenodd",
24783
25010
  d: "M10 3.25a6.75 6.75 0 00-5.525 10.628 12.365 12.365 0 015.526-1.295c1.983 0 3.86.466 5.524 1.295a6.748 6.748 0 00-.752-8.651A6.75 6.75 0 0010 3.25zm6.323 12.05A8.249 8.249 0 004.166 4.166 8.25 8.25 0 1016.323 15.3zm-1.838-.256a10.872 10.872 0 00-4.485-.96h-.001a10.865 10.865 0 00-4.484.96 6.75 6.75 0 008.97 0zm-4.484-2.46l-.001.75v-.75zm-.001-6a1.75 1.75 0 100 3.5 1.75 1.75 0 000-3.5zm-2.298-.549a3.25 3.25 0 114.596 4.596 3.25 3.25 0 01-4.596-4.596z",
@@ -24785,24 +25012,24 @@ function SvgCreateChat(props) {
24785
25012
  })));
24786
25013
  }
24787
25014
 
24788
- var _path$j, _path2$2, _path3$1;
24789
- function _extends$k() {
24790
- return _extends$k = Object.assign ? Object.assign.bind() : function (n) {
25015
+ var _path$k, _path2$2, _path3$1;
25016
+ function _extends$l() {
25017
+ return _extends$l = Object.assign ? Object.assign.bind() : function (n) {
24791
25018
  for (var e = 1; e < arguments.length; e++) {
24792
25019
  var t = arguments[e];
24793
25020
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
24794
25021
  }
24795
25022
  return n;
24796
- }, _extends$k.apply(null, arguments);
25023
+ }, _extends$l.apply(null, arguments);
24797
25024
  }
24798
25025
  function SvgAddChat(props) {
24799
- return /*#__PURE__*/createElement$1("svg", _extends$k({
25026
+ return /*#__PURE__*/createElement$1("svg", _extends$l({
24800
25027
  width: 24,
24801
25028
  height: 24,
24802
25029
  viewBox: "0 0 24.01 24.01",
24803
25030
  fill: "none",
24804
25031
  xmlns: "http://www.w3.org/2000/svg"
24805
- }, props), _path$j || (_path$j = /*#__PURE__*/createElement$1("path", {
25032
+ }, props), _path$k || (_path$k = /*#__PURE__*/createElement$1("path", {
24806
25033
  fillRule: "evenodd",
24807
25034
  clipRule: "evenodd",
24808
25035
  d: "M4.128 2.179c.989-.529 1.962-.713 4.109-.713h7.66a1 1 0 110 2h-7.66c-2.041 0-2.615.182-3.165.476a2.86 2.86 0 00-1.196 1.196c-.294.55-.476 1.124-.476 3.165v7.66c0 2.041.182 2.615.476 3.165a2.86 2.86 0 001.196 1.196c.55.294 1.124.476 3.165.476h7.66c2.04 0 2.614-.182 3.165-.476a2.86 2.86 0 001.195-1.196c.295-.55.476-1.124.476-3.165v-7.66a1 1 0 012 0v7.66c0 2.147-.184 3.12-.712 4.108a4.86 4.86 0 01-2.016 2.016c-.989.53-1.962.713-4.109.713h-7.66c-2.146 0-3.12-.184-4.108-.713a4.86 4.86 0 01-2.016-2.016c-.528-.988-.712-1.961-.712-4.108v-7.66c0-2.147.184-3.12.712-4.108a4.86 4.86 0 012.016-2.016z",
@@ -24818,46 +25045,46 @@ function SvgAddChat(props) {
24818
25045
  })));
24819
25046
  }
24820
25047
 
24821
- var _path$k;
24822
- function _extends$l() {
24823
- return _extends$l = Object.assign ? Object.assign.bind() : function (n) {
25048
+ var _path$l;
25049
+ function _extends$m() {
25050
+ return _extends$m = Object.assign ? Object.assign.bind() : function (n) {
24824
25051
  for (var e = 1; e < arguments.length; e++) {
24825
25052
  var t = arguments[e];
24826
25053
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
24827
25054
  }
24828
25055
  return n;
24829
- }, _extends$l.apply(null, arguments);
25056
+ }, _extends$m.apply(null, arguments);
24830
25057
  }
24831
25058
  function SvgCross(props) {
24832
- return /*#__PURE__*/createElement$1("svg", _extends$l({
25059
+ return /*#__PURE__*/createElement$1("svg", _extends$m({
24833
25060
  width: 16,
24834
25061
  height: 16,
24835
25062
  fill: "none",
24836
25063
  xmlns: "http://www.w3.org/2000/svg"
24837
- }, props), _path$k || (_path$k = /*#__PURE__*/createElement$1("path", {
25064
+ }, props), _path$l || (_path$l = /*#__PURE__*/createElement$1("path", {
24838
25065
  d: "M7.114 8L4.85 5.736a.626.626 0 11.886-.886L8 7.114l2.264-2.264a.626.626 0 11.886.886L8.886 8l2.264 2.264a.626.626 0 01-.886.886L8 8.886 5.736 11.15a.626.626 0 01-.886-.886L7.114 8z",
24839
25066
  fill: "#818C99"
24840
25067
  })));
24841
25068
  }
24842
25069
 
24843
- var _path$l;
24844
- function _extends$m() {
24845
- return _extends$m = Object.assign ? Object.assign.bind() : function (n) {
25070
+ var _path$m;
25071
+ function _extends$n() {
25072
+ return _extends$n = Object.assign ? Object.assign.bind() : function (n) {
24846
25073
  for (var e = 1; e < arguments.length; e++) {
24847
25074
  var t = arguments[e];
24848
25075
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
24849
25076
  }
24850
25077
  return n;
24851
- }, _extends$m.apply(null, arguments);
25078
+ }, _extends$n.apply(null, arguments);
24852
25079
  }
24853
25080
  function SvgTick(props) {
24854
- return /*#__PURE__*/createElement$1("svg", _extends$m({
25081
+ return /*#__PURE__*/createElement$1("svg", _extends$n({
24855
25082
  width: 11,
24856
25083
  height: 9,
24857
25084
  viewBox: "0 0 10 10",
24858
25085
  fill: "none",
24859
25086
  xmlns: "http://www.w3.org/2000/svg"
24860
- }, props), _path$l || (_path$l = /*#__PURE__*/createElement$1("path", {
25087
+ }, props), _path$m || (_path$m = /*#__PURE__*/createElement$1("path", {
24861
25088
  d: "M1.28 4.775a.75.75 0 00-1.06 1.06l2.722 2.723a.75.75 0 001.06 0l6.445-6.445a.75.75 0 10-1.06-1.06L3.471 6.967 1.28 4.775z",
24862
25089
  fill: "#fff"
24863
25090
  })));
@@ -24922,23 +25149,23 @@ var CustomLabel = styled.label(_templateObject$9 || (_templateObject$9 = _tagged
24922
25149
  });
24923
25150
  var Checkbox = styled.input(_templateObject2$8 || (_templateObject2$8 = _taggedTemplateLiteralLoose(["\n display: none;\n"])));
24924
25151
 
24925
- var _path$m;
24926
- function _extends$n() {
24927
- return _extends$n = Object.assign ? Object.assign.bind() : function (n) {
25152
+ var _path$n;
25153
+ function _extends$o() {
25154
+ return _extends$o = Object.assign ? Object.assign.bind() : function (n) {
24928
25155
  for (var e = 1; e < arguments.length; e++) {
24929
25156
  var t = arguments[e];
24930
25157
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
24931
25158
  }
24932
25159
  return n;
24933
- }, _extends$n.apply(null, arguments);
25160
+ }, _extends$o.apply(null, arguments);
24934
25161
  }
24935
25162
  function SvgLinkIconWb(props) {
24936
- return /*#__PURE__*/createElement$1("svg", _extends$n({
25163
+ return /*#__PURE__*/createElement$1("svg", _extends$o({
24937
25164
  width: 19,
24938
25165
  height: 19,
24939
25166
  fill: "none",
24940
25167
  xmlns: "http://www.w3.org/2000/svg"
24941
- }, props), _path$m || (_path$m = /*#__PURE__*/createElement$1("path", {
25168
+ }, props), _path$n || (_path$n = /*#__PURE__*/createElement$1("path", {
24942
25169
  d: "M7.832 10.652c.41.39.41 1.03 0 1.42-.39.39-1.03.39-1.42 0a5.003 5.003 0 010-7.07l3.54-3.54a5.003 5.003 0 017.07 0 5.003 5.003 0 010 7.07l-1.49 1.49c.01-.82-.12-1.64-.4-2.42l.47-.48a2.982 2.982 0 000-4.24 2.982 2.982 0 00-4.24 0l-3.53 3.53a2.982 2.982 0 000 4.24zm2.82-4.24c.39-.39 1.03-.39 1.42 0a5.003 5.003 0 010 7.07l-3.54 3.54a5.003 5.003 0 01-7.07 0 5.003 5.003 0 010-7.07l1.49-1.49c-.01.82.12 1.64.4 2.43l-.47.47a2.982 2.982 0 000 4.24 2.982 2.982 0 004.24 0l3.53-3.53a2.982 2.982 0 000-4.24.973.973 0 010-1.42z",
24943
25170
  fill: "#0DBD8B"
24944
25171
  })));
@@ -25374,23 +25601,23 @@ var SelectedMemberName = styled.span(_templateObject0$2 || (_templateObject0$2 =
25374
25601
  });
25375
25602
  var StyledSubtractSvg = styled(SvgCross)(_templateObject1$2 || (_templateObject1$2 = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n margin-left: 4px;\n transform: translate(2px, 0);\n"])));
25376
25603
 
25377
- var _path$n;
25378
- function _extends$o() {
25379
- return _extends$o = Object.assign ? Object.assign.bind() : function (n) {
25604
+ var _path$o;
25605
+ function _extends$p() {
25606
+ return _extends$p = Object.assign ? Object.assign.bind() : function (n) {
25380
25607
  for (var e = 1; e < arguments.length; e++) {
25381
25608
  var t = arguments[e];
25382
25609
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
25383
25610
  }
25384
25611
  return n;
25385
- }, _extends$o.apply(null, arguments);
25612
+ }, _extends$p.apply(null, arguments);
25386
25613
  }
25387
25614
  function SvgCameraIcon(props) {
25388
- return /*#__PURE__*/createElement$1("svg", _extends$o({
25615
+ return /*#__PURE__*/createElement$1("svg", _extends$p({
25389
25616
  width: 42,
25390
25617
  height: 42,
25391
25618
  fill: "none",
25392
25619
  xmlns: "http://www.w3.org/2000/svg"
25393
- }, props), _path$n || (_path$n = /*#__PURE__*/createElement$1("path", {
25620
+ }, props), _path$o || (_path$o = /*#__PURE__*/createElement$1("path", {
25394
25621
  fillRule: "evenodd",
25395
25622
  clipRule: "evenodd",
25396
25623
  d: "M11.55 11.55c1.206 0 2.119-.428 2.813-1.095.511-.49.899-1.124 1.164-1.559l.115-.186c.315-.505.542-.802.82-1.005.238-.172.624-.355 1.388-.355h6.3c.763 0 1.15.183 1.387.355.278.203.505.5.82 1.005l.116.186c.265.435.652 1.068 1.163 1.56.695.666 1.607 1.094 2.814 1.094 1.539 0 2.078.008 2.496.091a4.725 4.725 0 013.713 3.712c.083.418.09.958.09 2.497v7.245c0 1.79 0 3.038-.08 4.01-.078.953-.223 1.5-.434 1.915a4.725 4.725 0 01-2.065 2.065c-.415.212-.963.357-1.916.435-.971.079-2.22.08-4.01.08H13.753c-1.79 0-3.038-.001-4.01-.08-.953-.078-1.5-.224-1.915-.435a4.725 4.725 0 01-2.065-2.065c-.212-.415-.357-.962-.435-1.915-.079-.972-.08-2.22-.08-4.01v-7.242c0-1.542.007-2.083.09-2.501a4.725 4.725 0 013.711-3.71c.42-.084.96-.092 2.502-.092zm6.3-7.35c-1.337 0-2.394.342-3.24.958-.804.585-1.299 1.337-1.64 1.882l-.158.255c-.285.459-.434.7-.63.888-.126.12-.264.217-.632.217h-.183c-1.29 0-2.17 0-2.934.152a7.875 7.875 0 00-6.184 6.184c-.153.765-.153 1.644-.152 2.934V25.163c0 1.707 0 3.083.09 4.198.095 1.148.293 2.156.768 3.09a7.875 7.875 0 003.442 3.44c.932.476 1.94.674 3.089.768 1.115.091 2.491.091 4.198.091h14.628c1.707 0 3.084 0 4.199-.09 1.148-.095 2.156-.293 3.089-.768a7.875 7.875 0 003.441-3.442c.476-.933.674-1.94.768-3.089.09-1.115.09-2.491.09-4.198v-7.495c.001-1.288.001-2.166-.15-2.93a7.875 7.875 0 00-6.188-6.186c-.764-.152-1.641-.152-2.93-.152h-.181c-.369 0-.506-.096-.632-.217-.197-.189-.346-.43-.63-.888-.05-.078-.102-.163-.159-.255-.34-.545-.835-1.297-1.64-1.882-.846-.616-1.903-.958-3.24-.958h-6.3zm7.875 17.325a4.725 4.725 0 11-9.45 0 4.725 4.725 0 019.45 0zm3.15 0a7.875 7.875 0 11-15.75 0 7.875 7.875 0 0115.75 0z",
@@ -26167,24 +26394,24 @@ var CreateDropdownButton = styled.div(_templateObject$f || (_templateObject$f =
26167
26394
  return props.iconColor;
26168
26395
  });
26169
26396
 
26170
- var _path$o;
26171
- function _extends$p() {
26172
- return _extends$p = Object.assign ? Object.assign.bind() : function (n) {
26397
+ var _path$p;
26398
+ function _extends$q() {
26399
+ return _extends$q = Object.assign ? Object.assign.bind() : function (n) {
26173
26400
  for (var e = 1; e < arguments.length; e++) {
26174
26401
  var t = arguments[e];
26175
26402
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
26176
26403
  }
26177
26404
  return n;
26178
- }, _extends$p.apply(null, arguments);
26405
+ }, _extends$q.apply(null, arguments);
26179
26406
  }
26180
26407
  function SvgArrowLeft(props) {
26181
- return /*#__PURE__*/createElement$1("svg", _extends$p({
26408
+ return /*#__PURE__*/createElement$1("svg", _extends$q({
26182
26409
  width: 32,
26183
26410
  height: 32,
26184
26411
  viewBox: "0 0 32.01 32.01",
26185
26412
  fill: "none",
26186
26413
  xmlns: "http://www.w3.org/2000/svg"
26187
- }, props), _path$o || (_path$o = /*#__PURE__*/createElement$1("path", {
26414
+ }, props), _path$p || (_path$p = /*#__PURE__*/createElement$1("path", {
26188
26415
  fillRule: "evenodd",
26189
26416
  clipRule: "evenodd",
26190
26417
  d: "M15.489 9.276a.941.941 0 010 1.33l-4.276 4.276H23.06a.941.941 0 110 1.883H11.213l4.276 4.275a.941.941 0 11-1.331 1.331L8.276 16.49a.941.941 0 010-1.331l5.882-5.882a.941.941 0 011.331 0z",
@@ -26192,70 +26419,70 @@ function SvgArrowLeft(props) {
26192
26419
  })));
26193
26420
  }
26194
26421
 
26195
- var _path$p;
26196
- function _extends$q() {
26197
- return _extends$q = Object.assign ? Object.assign.bind() : function (n) {
26422
+ var _path$q;
26423
+ function _extends$r() {
26424
+ return _extends$r = Object.assign ? Object.assign.bind() : function (n) {
26198
26425
  for (var e = 1; e < arguments.length; e++) {
26199
26426
  var t = arguments[e];
26200
26427
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
26201
26428
  }
26202
26429
  return n;
26203
- }, _extends$q.apply(null, arguments);
26430
+ }, _extends$r.apply(null, arguments);
26204
26431
  }
26205
26432
  function SvgNotifications(props) {
26206
- return /*#__PURE__*/createElement$1("svg", _extends$q({
26433
+ return /*#__PURE__*/createElement$1("svg", _extends$r({
26207
26434
  width: 20,
26208
26435
  height: 20,
26209
26436
  viewBox: "0 0 20.01 20.01",
26210
26437
  fill: "none",
26211
26438
  xmlns: "http://www.w3.org/2000/svg"
26212
- }, props), _path$p || (_path$p = /*#__PURE__*/createElement$1("path", {
26439
+ }, props), _path$q || (_path$q = /*#__PURE__*/createElement$1("path", {
26213
26440
  d: "M10.246 1.75c3.449 0 5.924 2.816 5.924 6.47v1.375c0 .196.166.457.619.924l.232.236c.929.942 1.296 1.485 1.296 2.358 0 .382-.044.68-.23 1.037-.391.754-1.222 1.174-2.464 1.174H13.98c-.54 2.004-1.83 3.093-3.738 3.093-1.928 0-3.225-1.112-3.755-3.157l.016.064H4.861c-1.278 0-2.118-.432-2.493-1.212-.164-.341-.201-.618-.201-.998 0-.874.367-1.417 1.296-2.359.12-.12.174-.176.232-.236.453-.467.62-.728.62-.924V8.22c0-3.652 2.48-6.47 5.93-6.47zm2.114 13.575H8.125c.391 1.071 1.066 1.545 2.118 1.545 1.052 0 1.727-.474 2.118-1.545zM10.247 3.296c-2.55 0-4.385 2.085-4.385 4.924v1.375c0 .732-.335 1.257-1.055 2l-.242.246c-.642.65-.851.96-.851 1.273 0 .164.012.25.049.328.092.192.372.335 1.1.335h10.76c.705 0 .991-.144 1.093-.34.043-.082.056-.17.056-.323 0-.313-.21-.622-.851-1.273-.12-.12-.179-.181-.242-.246-.72-.743-1.055-1.268-1.055-2V8.22c0-2.84-1.83-4.924-4.377-4.924z",
26214
26441
  fill: "currentColor"
26215
26442
  })));
26216
26443
  }
26217
26444
 
26218
- var _path$q;
26219
- function _extends$r() {
26220
- return _extends$r = Object.assign ? Object.assign.bind() : function (n) {
26445
+ var _path$r;
26446
+ function _extends$s() {
26447
+ return _extends$s = Object.assign ? Object.assign.bind() : function (n) {
26221
26448
  for (var e = 1; e < arguments.length; e++) {
26222
26449
  var t = arguments[e];
26223
26450
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
26224
26451
  }
26225
26452
  return n;
26226
- }, _extends$r.apply(null, arguments);
26453
+ }, _extends$s.apply(null, arguments);
26227
26454
  }
26228
26455
  function SvgLock(props) {
26229
- return /*#__PURE__*/createElement$1("svg", _extends$r({
26456
+ return /*#__PURE__*/createElement$1("svg", _extends$s({
26230
26457
  width: 20,
26231
26458
  height: 20,
26232
26459
  viewBox: "0 0 21 21",
26233
26460
  fill: "none",
26234
26461
  xmlns: "http://www.w3.org/2000/svg"
26235
- }, props), _path$q || (_path$q = /*#__PURE__*/createElement$1("path", {
26462
+ }, props), _path$r || (_path$r = /*#__PURE__*/createElement$1("path", {
26236
26463
  d: "M10 2.5a4.167 4.167 0 014.166 4.167v1.666h.364c.743 0 1.012.078 1.284.223.271.145.485.358.63.63.145.272.222.541.222 1.284v4.893c0 .743-.077 1.013-.222 1.284a1.514 1.514 0 01-.63.63c-.272.146-.541.223-1.284.223H5.47c-.743 0-1.013-.077-1.284-.223a1.515 1.515 0 01-.63-.63c-.146-.271-.223-.54-.223-1.284V10.47c0-.743.077-1.012.223-1.284.145-.272.358-.485.63-.63.271-.145.54-.223 1.284-.223h.362l.001-1.666A4.167 4.167 0 0110 2.5zm0 1.667a2.5 2.5 0 00-2.5 2.5l-.001 1.666h5V6.667a2.5 2.5 0 00-2.5-2.5z",
26237
26464
  fill: "CurrentColor"
26238
26465
  })));
26239
26466
  }
26240
26467
 
26241
- var _path$r;
26242
- function _extends$s() {
26243
- return _extends$s = Object.assign ? Object.assign.bind() : function (n) {
26468
+ var _path$s;
26469
+ function _extends$t() {
26470
+ return _extends$t = Object.assign ? Object.assign.bind() : function (n) {
26244
26471
  for (var e = 1; e < arguments.length; e++) {
26245
26472
  var t = arguments[e];
26246
26473
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
26247
26474
  }
26248
26475
  return n;
26249
- }, _extends$s.apply(null, arguments);
26476
+ }, _extends$t.apply(null, arguments);
26250
26477
  }
26251
26478
  function SvgLeave(props) {
26252
- return /*#__PURE__*/createElement$1("svg", _extends$s({
26479
+ return /*#__PURE__*/createElement$1("svg", _extends$t({
26253
26480
  width: 20,
26254
26481
  height: 20,
26255
26482
  viewBox: "0 0 20.01 20.01",
26256
26483
  fill: "none",
26257
26484
  xmlns: "http://www.w3.org/2000/svg"
26258
- }, props), _path$r || (_path$r = /*#__PURE__*/createElement$1("path", {
26485
+ }, props), _path$s || (_path$s = /*#__PURE__*/createElement$1("path", {
26259
26486
  d: "M9.457 9.68h-7.03c-.47 0-.86.362-.86.82 0 .458.39.82.86.82h7.03l-1.56 1.477a.793.793 0 000 1.163.89.89 0 001.213 0l3.038-2.878h0l.006-.006h0a.799.799 0 00.248-.573v-.005a.784.784 0 00-.066-.313M9.457 9.68l2.88.505m-2.88-.505l-1.56-1.477a.793.793 0 010-1.163.89.89 0 011.213 0l3.038 2.878m-2.69-.238l2.69.238m.188.267s0 0 0 0l-.091.04.091-.04zm-.188-.267l-.069.073.069-.073h0zm-1.365 8.599h2.011c.82 0 1.488 0 2.03-.042.559-.043 1.06-.135 1.525-.36a3.805 3.805 0 001.705-1.616c.238-.443.336-.919.381-1.45.045-.514.045-1.146.045-1.923V7.874c0-.776 0-1.409-.045-1.923-.045-.53-.143-1.007-.381-1.45a3.805 3.805 0 00-1.705-1.615c-.466-.225-.966-.317-1.526-.36-.541-.043-1.208-.043-2.029-.042h-.003 0-2.008c-.47 0-.86.361-.86.82 0 .457.39.819.86.819h1.975c.865 0 1.462 0 1.926.036.454.036.704.1.888.19.41.197.744.513.952.9.093.173.16.408.198.837.038.438.038 1.003.038 1.823v5.182c0 .82 0 1.385-.038 1.824-.037.429-.105.664-.198.836-.208.387-.541.703-.952.901-.184.089-.434.154-.888.189-.464.036-1.061.036-1.926.036h-1.975c-.47 0-.86.362-.86.82 0 .458.39.82.86.82z",
26260
26487
  fill: "CurrentColor",
26261
26488
  stroke: "CurrentColor",
@@ -27103,24 +27330,24 @@ var ChannelListHeader = styled.div(_templateObject0$3 || (_templateObject0$3 = _
27103
27330
  return props.withCustomList && "1px solid " + props.borderColor;
27104
27331
  });
27105
27332
 
27106
- var _path$s;
27107
- function _extends$t() {
27108
- return _extends$t = Object.assign ? Object.assign.bind() : function (n) {
27333
+ var _path$t;
27334
+ function _extends$u() {
27335
+ return _extends$u = Object.assign ? Object.assign.bind() : function (n) {
27109
27336
  for (var e = 1; e < arguments.length; e++) {
27110
27337
  var t = arguments[e];
27111
27338
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
27112
27339
  }
27113
27340
  return n;
27114
- }, _extends$t.apply(null, arguments);
27341
+ }, _extends$u.apply(null, arguments);
27115
27342
  }
27116
27343
  function SvgMessage(props) {
27117
- return /*#__PURE__*/createElement$1("svg", _extends$t({
27344
+ return /*#__PURE__*/createElement$1("svg", _extends$u({
27118
27345
  width: 48,
27119
27346
  height: 48,
27120
27347
  viewBox: "0 0 48.01 48.01",
27121
27348
  fill: "none",
27122
27349
  xmlns: "http://www.w3.org/2000/svg"
27123
- }, props), _path$s || (_path$s = /*#__PURE__*/createElement$1("path", {
27350
+ }, props), _path$t || (_path$t = /*#__PURE__*/createElement$1("path", {
27124
27351
  fillRule: "evenodd",
27125
27352
  clipRule: "evenodd",
27126
27353
  d: "M15.524 4.2h16.951c1.616 0 2.938 0 4.012.088 1.112.09 2.116.285 3.054.762a7.8 7.8 0 013.409 3.41c.477.937.671 1.941.762 3.053.088 1.074.088 2.396.088 4.012v10.95c0 1.617 0 2.938-.088 4.013-.09 1.111-.285 2.115-.762 3.053a7.8 7.8 0 01-3.409 3.409c-.938.478-1.942.672-3.054.762-1.074.088-2.396.088-4.012.088h-5.108c-1.32 0-1.73.009-2.107.086a4.2 4.2 0 00-1.066.374c-.342.175-.668.425-1.7 1.25l-4.822 3.858c-.37.296-.739.59-1.06.803-.308.204-.877.548-1.61.549a2.8 2.8 0 01-2.19-1.054c-.457-.572-.544-1.23-.577-1.599-.035-.383-.035-.855-.035-1.33V37.79c-.86-.02-1.573-.081-2.219-.255a7.8 7.8 0 01-5.515-5.515c-.267-.997-.267-2.152-.266-3.76V15.525c0-1.616 0-2.938.088-4.012.09-1.112.284-2.116.762-3.054A7.8 7.8 0 018.459 5.05c.938-.477 1.942-.671 3.053-.762 1.075-.088 2.396-.088 4.012-.088zm-3.718 3.676c-.89.073-1.367.206-1.713.382a4.2 4.2 0 00-1.835 1.835c-.177.346-.31.824-.382 1.713-.075.91-.076 2.084-.076 3.794V28c0 1.976.015 2.61.143 3.087a4.2 4.2 0 002.97 2.97c.476.128 1.111.143 3.087.143a1.8 1.8 0 011.8 1.8v4.255l4.446-3.557.126-.101c.853-.682 1.476-1.18 2.184-1.543a7.795 7.795 0 011.98-.695c.78-.16 1.577-.16 2.67-.159H32.4c1.71 0 2.884-.001 3.794-.076.89-.072 1.367-.205 1.713-.382a4.2 4.2 0 001.835-1.835c.176-.346.31-.823.382-1.713.075-.91.076-2.084.076-3.794V15.6c0-1.71-.002-2.884-.076-3.794-.073-.89-.206-1.367-.382-1.713a4.2 4.2 0 00-1.835-1.835c-.346-.176-.824-.31-1.713-.382-.91-.074-2.084-.076-3.794-.076H15.6c-1.71 0-2.884.002-3.794.076zM12.2 17a1.8 1.8 0 011.8-1.8h10a1.8 1.8 0 010 3.6H14a1.8 1.8 0 01-1.8-1.8zm0 7a1.8 1.8 0 011.8-1.8h16a1.8 1.8 0 010 3.6H14a1.8 1.8 0 01-1.8-1.8z",
@@ -27232,23 +27459,23 @@ var SelectChatDescription = styled.p(_templateObject5$8 || (_templateObject5$8 =
27232
27459
  return props.color;
27233
27460
  });
27234
27461
 
27235
- var _path$t;
27236
- function _extends$u() {
27237
- return _extends$u = Object.assign ? Object.assign.bind() : function (n) {
27462
+ var _path$u;
27463
+ function _extends$v() {
27464
+ return _extends$v = Object.assign ? Object.assign.bind() : function (n) {
27238
27465
  for (var e = 1; e < arguments.length; e++) {
27239
27466
  var t = arguments[e];
27240
27467
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
27241
27468
  }
27242
27469
  return n;
27243
- }, _extends$u.apply(null, arguments);
27470
+ }, _extends$v.apply(null, arguments);
27244
27471
  }
27245
27472
  function SvgInfo(props) {
27246
- return /*#__PURE__*/createElement$1("svg", _extends$u({
27473
+ return /*#__PURE__*/createElement$1("svg", _extends$v({
27247
27474
  width: 22,
27248
27475
  height: 22,
27249
27476
  fill: "none",
27250
27477
  xmlns: "http://www.w3.org/2000/svg"
27251
- }, props), _path$t || (_path$t = /*#__PURE__*/createElement$1("path", {
27478
+ }, props), _path$u || (_path$u = /*#__PURE__*/createElement$1("path", {
27252
27479
  d: "M11 20.167a9.167 9.167 0 100-18.333 9.167 9.167 0 000 18.333zM11 14.667V11M11 7.334h.01",
27253
27480
  stroke: "CurrentColor",
27254
27481
  strokeWidth: 2,
@@ -27502,24 +27729,24 @@ var unreadScrollToSelector = function unreadScrollToSelector(store) {
27502
27729
  return store.MessageReducer.unreadScrollTo;
27503
27730
  };
27504
27731
 
27505
- var _path$u;
27506
- function _extends$v() {
27507
- return _extends$v = Object.assign ? Object.assign.bind() : function (n) {
27732
+ var _path$v;
27733
+ function _extends$w() {
27734
+ return _extends$w = Object.assign ? Object.assign.bind() : function (n) {
27508
27735
  for (var e = 1; e < arguments.length; e++) {
27509
27736
  var t = arguments[e];
27510
27737
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
27511
27738
  }
27512
27739
  return n;
27513
- }, _extends$v.apply(null, arguments);
27740
+ }, _extends$w.apply(null, arguments);
27514
27741
  }
27515
27742
  function SvgChoseMedia(props) {
27516
- return /*#__PURE__*/createElement$1("svg", _extends$v({
27743
+ return /*#__PURE__*/createElement$1("svg", _extends$w({
27517
27744
  width: 18,
27518
27745
  height: 18,
27519
27746
  viewBox: "0 0 19 19",
27520
27747
  fill: "none",
27521
27748
  xmlns: "http://www.w3.org/2000/svg"
27522
- }, props), _path$u || (_path$u = /*#__PURE__*/createElement$1("path", {
27749
+ }, props), _path$v || (_path$v = /*#__PURE__*/createElement$1("path", {
27523
27750
  fillRule: "evenodd",
27524
27751
  clipRule: "evenodd",
27525
27752
  d: "M3.614 2.052C4.366 1.65 5.107 1.5 6.798 1.5h4.404c1.691 0 2.432.15 3.184.552.672.36 1.203.89 1.562 1.562.402.752.552 1.493.552 3.184v4.404c0 1.691-.15 2.432-.552 3.184a3.763 3.763 0 01-1.562 1.562c-.752.402-1.493.552-3.184.552H6.798c-1.691 0-2.432-.15-3.184-.552a3.764 3.764 0 01-1.562-1.562c-.402-.752-.552-1.493-.552-3.184V6.798c0-1.691.15-2.432.552-3.184.36-.672.89-1.203 1.562-1.562zm7.16 7.07a.297.297 0 01.482.004l3.04 4.193c.101.139.074.335-.06.44a.297.297 0 01-.183.062h-9.57a.309.309 0 01-.304-.314c0-.07.022-.137.064-.192l2.22-2.954a.297.297 0 01.473-.008l1.528 1.861 2.31-3.092zM5.785 6.857a1.071 1.071 0 100-2.143 1.071 1.071 0 000 2.143z",
@@ -27527,27 +27754,27 @@ function SvgChoseMedia(props) {
27527
27754
  })));
27528
27755
  }
27529
27756
 
27530
- var _path$v, _defs;
27531
- function _extends$w() {
27532
- return _extends$w = Object.assign ? Object.assign.bind() : function (n) {
27757
+ var _path$w, _defs$1;
27758
+ function _extends$x() {
27759
+ return _extends$x = Object.assign ? Object.assign.bind() : function (n) {
27533
27760
  for (var e = 1; e < arguments.length; e++) {
27534
27761
  var t = arguments[e];
27535
27762
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
27536
27763
  }
27537
27764
  return n;
27538
- }, _extends$w.apply(null, arguments);
27765
+ }, _extends$x.apply(null, arguments);
27539
27766
  }
27540
27767
  function SvgNoMessagesIcon(props) {
27541
- return /*#__PURE__*/createElement$1("svg", _extends$w({
27768
+ return /*#__PURE__*/createElement$1("svg", _extends$x({
27542
27769
  width: 49,
27543
27770
  height: 49,
27544
27771
  fill: "none",
27545
27772
  xmlns: "http://www.w3.org/2000/svg",
27546
27773
  xmlnsXlink: "http://www.w3.org/1999/xlink"
27547
- }, props), _path$v || (_path$v = /*#__PURE__*/createElement$1("path", {
27774
+ }, props), _path$w || (_path$w = /*#__PURE__*/createElement$1("path", {
27548
27775
  d: "M.5 48.36h48v-48H.5v48z",
27549
27776
  fill: "url(#noMessagesIcon_svg__pattern0)"
27550
- })), _defs || (_defs = /*#__PURE__*/createElement$1("defs", null, /*#__PURE__*/createElement$1("pattern", {
27777
+ })), _defs$1 || (_defs$1 = /*#__PURE__*/createElement$1("defs", null, /*#__PURE__*/createElement$1("pattern", {
27551
27778
  id: "noMessagesIcon_svg__pattern0",
27552
27779
  patternContentUnits: "objectBoundingBox",
27553
27780
  width: 1,
@@ -27654,70 +27881,70 @@ function MessageDivider(_ref) {
27654
27881
  }, dividerText)));
27655
27882
  }
27656
27883
 
27657
- var _path$w;
27658
- function _extends$x() {
27659
- return _extends$x = Object.assign ? Object.assign.bind() : function (n) {
27884
+ var _path$x;
27885
+ function _extends$y() {
27886
+ return _extends$y = Object.assign ? Object.assign.bind() : function (n) {
27660
27887
  for (var e = 1; e < arguments.length; e++) {
27661
27888
  var t = arguments[e];
27662
27889
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
27663
27890
  }
27664
27891
  return n;
27665
- }, _extends$x.apply(null, arguments);
27892
+ }, _extends$y.apply(null, arguments);
27666
27893
  }
27667
27894
  function SvgDownload(props) {
27668
- return /*#__PURE__*/createElement$1("svg", _extends$x({
27895
+ return /*#__PURE__*/createElement$1("svg", _extends$y({
27669
27896
  width: 32,
27670
27897
  height: 32,
27671
27898
  viewBox: "0 0 32.01 32.01",
27672
27899
  fill: "none",
27673
27900
  xmlns: "http://www.w3.org/2000/svg"
27674
- }, props), _path$w || (_path$w = /*#__PURE__*/createElement$1("path", {
27901
+ }, props), _path$x || (_path$x = /*#__PURE__*/createElement$1("path", {
27675
27902
  d: "M17.5 3.5a1.5 1.5 0 00-3 0v13.379l-4.44-4.44a1.5 1.5 0 00-2.12 2.122l7 7a1.5 1.5 0 002.12 0l7-7a1.5 1.5 0 00-2.12-2.122l-4.44 4.44V3.5zM5.5 25a1.5 1.5 0 000 3h21a1.5 1.5 0 000-3h-21z",
27676
27903
  fill: "#fff"
27677
27904
  })));
27678
27905
  }
27679
27906
 
27680
- var _path$x;
27681
- function _extends$y() {
27682
- return _extends$y = Object.assign ? Object.assign.bind() : function (n) {
27907
+ var _path$y;
27908
+ function _extends$z() {
27909
+ return _extends$z = Object.assign ? Object.assign.bind() : function (n) {
27683
27910
  for (var e = 1; e < arguments.length; e++) {
27684
27911
  var t = arguments[e];
27685
27912
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
27686
27913
  }
27687
27914
  return n;
27688
- }, _extends$y.apply(null, arguments);
27915
+ }, _extends$z.apply(null, arguments);
27689
27916
  }
27690
27917
  function SvgCancel(props) {
27691
- return /*#__PURE__*/createElement$1("svg", _extends$y({
27918
+ return /*#__PURE__*/createElement$1("svg", _extends$z({
27692
27919
  width: 20,
27693
27920
  height: 20,
27694
27921
  viewBox: "0 0 20.01 20.01",
27695
27922
  fill: "none",
27696
27923
  xmlns: "http://www.w3.org/2000/svg"
27697
- }, props), _path$x || (_path$x = /*#__PURE__*/createElement$1("path", {
27924
+ }, props), _path$y || (_path$y = /*#__PURE__*/createElement$1("path", {
27698
27925
  d: "M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z",
27699
27926
  fill: "#fff"
27700
27927
  })));
27701
27928
  }
27702
27929
 
27703
- var _path$y;
27704
- function _extends$z() {
27705
- return _extends$z = Object.assign ? Object.assign.bind() : function (n) {
27930
+ var _path$z;
27931
+ function _extends$A() {
27932
+ return _extends$A = Object.assign ? Object.assign.bind() : function (n) {
27706
27933
  for (var e = 1; e < arguments.length; e++) {
27707
27934
  var t = arguments[e];
27708
27935
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
27709
27936
  }
27710
27937
  return n;
27711
- }, _extends$z.apply(null, arguments);
27938
+ }, _extends$A.apply(null, arguments);
27712
27939
  }
27713
27940
  function SvgSliderButtonRight(props) {
27714
- return /*#__PURE__*/createElement$1("svg", _extends$z({
27941
+ return /*#__PURE__*/createElement$1("svg", _extends$A({
27715
27942
  width: 28,
27716
27943
  height: 28,
27717
27944
  viewBox: "0 0 28.01 28.01",
27718
27945
  fill: "none",
27719
27946
  xmlns: "http://www.w3.org/2000/svg"
27720
- }, props), _path$y || (_path$y = /*#__PURE__*/createElement$1("path", {
27947
+ }, props), _path$z || (_path$z = /*#__PURE__*/createElement$1("path", {
27721
27948
  fillRule: "evenodd",
27722
27949
  clipRule: "evenodd",
27723
27950
  d: "M9.846 5.763a1.75 1.75 0 012.475 0l7 7a1.75 1.75 0 010 2.474l-7 7a1.75 1.75 0 11-2.475-2.474L15.61 14 9.846 8.237a1.75 1.75 0 010-2.474z",
@@ -27725,24 +27952,24 @@ function SvgSliderButtonRight(props) {
27725
27952
  })));
27726
27953
  }
27727
27954
 
27728
- var _path$z;
27729
- function _extends$A() {
27730
- return _extends$A = Object.assign ? Object.assign.bind() : function (n) {
27955
+ var _path$A;
27956
+ function _extends$B() {
27957
+ return _extends$B = Object.assign ? Object.assign.bind() : function (n) {
27731
27958
  for (var e = 1; e < arguments.length; e++) {
27732
27959
  var t = arguments[e];
27733
27960
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
27734
27961
  }
27735
27962
  return n;
27736
- }, _extends$A.apply(null, arguments);
27963
+ }, _extends$B.apply(null, arguments);
27737
27964
  }
27738
27965
  function SvgSliderButtonLeft(props) {
27739
- return /*#__PURE__*/createElement$1("svg", _extends$A({
27966
+ return /*#__PURE__*/createElement$1("svg", _extends$B({
27740
27967
  width: 28,
27741
27968
  height: 28,
27742
27969
  viewBox: "0 0 28.01 28.01",
27743
27970
  fill: "none",
27744
27971
  xmlns: "http://www.w3.org/2000/svg"
27745
- }, props), _path$z || (_path$z = /*#__PURE__*/createElement$1("path", {
27972
+ }, props), _path$A || (_path$A = /*#__PURE__*/createElement$1("path", {
27746
27973
  fillRule: "evenodd",
27747
27974
  clipRule: "evenodd",
27748
27975
  d: "M18.154 5.763a1.75 1.75 0 00-2.475 0l-7 7a1.75 1.75 0 000 2.474l7 7a1.75 1.75 0 102.475-2.474L12.392 14l5.762-5.763a1.75 1.75 0 000-2.474z",
@@ -27750,24 +27977,24 @@ function SvgSliderButtonLeft(props) {
27750
27977
  })));
27751
27978
  }
27752
27979
 
27753
- var _path$A, _path2$3;
27754
- function _extends$B() {
27755
- return _extends$B = Object.assign ? Object.assign.bind() : function (n) {
27980
+ var _path$B, _path2$3;
27981
+ function _extends$C() {
27982
+ return _extends$C = Object.assign ? Object.assign.bind() : function (n) {
27756
27983
  for (var e = 1; e < arguments.length; e++) {
27757
27984
  var t = arguments[e];
27758
27985
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
27759
27986
  }
27760
27987
  return n;
27761
- }, _extends$B.apply(null, arguments);
27988
+ }, _extends$C.apply(null, arguments);
27762
27989
  }
27763
27990
  function SvgForward(props) {
27764
- return /*#__PURE__*/createElement$1("svg", _extends$B({
27991
+ return /*#__PURE__*/createElement$1("svg", _extends$C({
27765
27992
  width: 18,
27766
27993
  height: 18,
27767
27994
  viewBox: "0 0 18.01 18.01",
27768
27995
  fill: "none",
27769
27996
  xmlns: "http://www.w3.org/2000/svg"
27770
- }, props), _path$A || (_path$A = /*#__PURE__*/createElement$1("path", {
27997
+ }, props), _path$B || (_path$B = /*#__PURE__*/createElement$1("path", {
27771
27998
  fillRule: "evenodd",
27772
27999
  clipRule: "evenodd",
27773
28000
  d: "M14.764 7.12a.86.86 0 00-.86-.86h-7.63C3.77 6.26 1.8 8.36 1.8 10.88c0 2.519 1.97 4.62 4.473 4.62H7.96a.86.86 0 000-1.72H6.273c-1.49 0-2.754-1.266-2.754-2.9 0-1.635 1.265-2.901 2.754-2.901h7.631a.86.86 0 00.86-.86z",
@@ -27780,29 +28007,6 @@ function SvgForward(props) {
27780
28007
  })));
27781
28008
  }
27782
28009
 
27783
- var _path$B;
27784
- function _extends$C() {
27785
- return _extends$C = Object.assign ? Object.assign.bind() : function (n) {
27786
- for (var e = 1; e < arguments.length; e++) {
27787
- var t = arguments[e];
27788
- for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
27789
- }
27790
- return n;
27791
- }, _extends$C.apply(null, arguments);
27792
- }
27793
- function SvgDeleteChannel(props) {
27794
- return /*#__PURE__*/createElement$1("svg", _extends$C({
27795
- width: 20,
27796
- height: 21,
27797
- viewBox: "0 0 20.01 21.01",
27798
- fill: "none",
27799
- xmlns: "http://www.w3.org/2000/svg"
27800
- }, props), _path$B || (_path$B = /*#__PURE__*/createElement$1("path", {
27801
- d: "M5 16.333C5 17.25 5.75 18 6.667 18h6.666C14.25 18 15 17.25 15 16.333V8c0-.917-.75-1.667-1.667-1.667H6.667C5.75 6.333 5 7.083 5 8v8.333zm10-12.5h-2.083l-.592-.591A.84.84 0 0011.742 3H8.258a.84.84 0 00-.583.242l-.592.591H5a.836.836 0 00-.833.834c0 .458.375.833.833.833h10a.836.836 0 00.833-.833.836.836 0 00-.833-.834z",
27802
- fill: "CurrentColor"
27803
- })));
27804
- }
27805
-
27806
28010
  var _path$C;
27807
28011
  function _extends$D() {
27808
28012
  return _extends$D = Object.assign ? Object.assign.bind() : function (n) {
@@ -27813,16 +28017,16 @@ function _extends$D() {
27813
28017
  return n;
27814
28018
  }, _extends$D.apply(null, arguments);
27815
28019
  }
27816
- function SvgVideoPlayerPlay(props) {
28020
+ function SvgDeleteChannel(props) {
27817
28021
  return /*#__PURE__*/createElement$1("svg", _extends$D({
27818
28022
  width: 20,
27819
- height: 20,
27820
- viewBox: "0 0 20.01 20.01",
28023
+ height: 21,
28024
+ viewBox: "0 0 20.01 21.01",
27821
28025
  fill: "none",
27822
28026
  xmlns: "http://www.w3.org/2000/svg"
27823
28027
  }, props), _path$C || (_path$C = /*#__PURE__*/createElement$1("path", {
27824
- 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",
27825
- fill: "#fff"
28028
+ d: "M5 16.333C5 17.25 5.75 18 6.667 18h6.666C14.25 18 15 17.25 15 16.333V8c0-.917-.75-1.667-1.667-1.667H6.667C5.75 6.333 5 7.083 5 8v8.333zm10-12.5h-2.083l-.592-.591A.84.84 0 0011.742 3H8.258a.84.84 0 00-.583.242l-.592.591H5a.836.836 0 00-.833.834c0 .458.375.833.833.833h10a.836.836 0 00.833-.833.836.836 0 00-.833-.834z",
28029
+ fill: "CurrentColor"
27826
28030
  })));
27827
28031
  }
27828
28032
 
@@ -27836,7 +28040,7 @@ function _extends$E() {
27836
28040
  return n;
27837
28041
  }, _extends$E.apply(null, arguments);
27838
28042
  }
27839
- function SvgVideoPlayerPause(props) {
28043
+ function SvgVideoPlayerPlay(props) {
27840
28044
  return /*#__PURE__*/createElement$1("svg", _extends$E({
27841
28045
  width: 20,
27842
28046
  height: 20,
@@ -27844,7 +28048,7 @@ function SvgVideoPlayerPause(props) {
27844
28048
  fill: "none",
27845
28049
  xmlns: "http://www.w3.org/2000/svg"
27846
28050
  }, props), _path$D || (_path$D = /*#__PURE__*/createElement$1("path", {
27847
- 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",
28051
+ 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",
27848
28052
  fill: "#fff"
27849
28053
  })));
27850
28054
  }
@@ -27859,7 +28063,7 @@ function _extends$F() {
27859
28063
  return n;
27860
28064
  }, _extends$F.apply(null, arguments);
27861
28065
  }
27862
- function SvgVolume(props) {
28066
+ function SvgVideoPlayerPause(props) {
27863
28067
  return /*#__PURE__*/createElement$1("svg", _extends$F({
27864
28068
  width: 20,
27865
28069
  height: 20,
@@ -27867,7 +28071,7 @@ function SvgVolume(props) {
27867
28071
  fill: "none",
27868
28072
  xmlns: "http://www.w3.org/2000/svg"
27869
28073
  }, props), _path$E || (_path$E = /*#__PURE__*/createElement$1("path", {
27870
- d: "M11.667 2.5c.46 0 .833.373.833.833v13.334c0 .46-.373.833-.833.833a2.062 2.062 0 01-1.433-.579L5.66 12.5H3.334c-.92 0-1.667-.746-1.667-1.667V9.167c0-.92.746-1.667 1.667-1.667h2.304l4.595-4.422c.385-.37.9-.578 1.434-.578zm4.487 2.786a.75.75 0 011.06 0 6.667 6.667 0 010 9.428.75.75 0 01-1.06-1.06 5.167 5.167 0 000-7.307.75.75 0 010-1.061zm-2.122 2.121a.75.75 0 011.061 0 3.667 3.667 0 010 5.186.75.75 0 01-1.06-1.06 2.167 2.167 0 000-3.065.75.75 0 010-1.06z",
28074
+ 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",
27871
28075
  fill: "#fff"
27872
28076
  })));
27873
28077
  }
@@ -27882,7 +28086,7 @@ function _extends$G() {
27882
28086
  return n;
27883
28087
  }, _extends$G.apply(null, arguments);
27884
28088
  }
27885
- function SvgVolumeMute(props) {
28089
+ function SvgVolume(props) {
27886
28090
  return /*#__PURE__*/createElement$1("svg", _extends$G({
27887
28091
  width: 20,
27888
28092
  height: 20,
@@ -27890,7 +28094,7 @@ function SvgVolumeMute(props) {
27890
28094
  fill: "none",
27891
28095
  xmlns: "http://www.w3.org/2000/svg"
27892
28096
  }, props), _path$F || (_path$F = /*#__PURE__*/createElement$1("path", {
27893
- d: "M4.763 2.746l11.655 11.658a.833.833 0 01-1.1 1.248l-.078-.07-2.74-2.74v3.825c0 .427-.321.78-.736.827l-.097.006a2.062 2.062 0 01-1.433-.579L5.66 12.5H3.334c-.92 0-1.667-.746-1.667-1.667V9.167c0-.92.746-1.667 1.667-1.667h2.304l.775-.747-2.829-2.828a.833.833 0 011.179-1.179zm6.904-.246c.46 0 .833.373.833.833v4.8L8.812 4.445l1.421-1.367a2.068 2.068 0 011.274-.572l.16-.006z",
28097
+ d: "M11.667 2.5c.46 0 .833.373.833.833v13.334c0 .46-.373.833-.833.833a2.062 2.062 0 01-1.433-.579L5.66 12.5H3.334c-.92 0-1.667-.746-1.667-1.667V9.167c0-.92.746-1.667 1.667-1.667h2.304l4.595-4.422c.385-.37.9-.578 1.434-.578zm4.487 2.786a.75.75 0 011.06 0 6.667 6.667 0 010 9.428.75.75 0 01-1.06-1.06 5.167 5.167 0 000-7.307.75.75 0 010-1.061zm-2.122 2.121a.75.75 0 011.061 0 3.667 3.667 0 010 5.186.75.75 0 01-1.06-1.06 2.167 2.167 0 000-3.065.75.75 0 010-1.06z",
27894
28098
  fill: "#fff"
27895
28099
  })));
27896
28100
  }
@@ -27905,7 +28109,7 @@ function _extends$H() {
27905
28109
  return n;
27906
28110
  }, _extends$H.apply(null, arguments);
27907
28111
  }
27908
- function SvgFullscreen(props) {
28112
+ function SvgVolumeMute(props) {
27909
28113
  return /*#__PURE__*/createElement$1("svg", _extends$H({
27910
28114
  width: 20,
27911
28115
  height: 20,
@@ -27913,9 +28117,7 @@ function SvgFullscreen(props) {
27913
28117
  fill: "none",
27914
28118
  xmlns: "http://www.w3.org/2000/svg"
27915
28119
  }, props), _path$G || (_path$G = /*#__PURE__*/createElement$1("path", {
27916
- fillRule: "evenodd",
27917
- clipRule: "evenodd",
27918
- d: "M11.875 3.344c0-.466.378-.844.844-.844h3.937c.466 0 .844.378.844.844V7.28a.844.844 0 01-1.688 0v-1.9l-3.434 3.434a.844.844 0 01-1.193-1.193l3.434-3.434h-1.9a.844.844 0 01-.844-.844zM8.815 11.185c.33.33.33.863 0 1.193l-3.434 3.434H7.28a.844.844 0 010 1.688H3.344a.844.844 0 01-.844-.844V12.72a.844.844 0 111.688 0v1.9l3.434-3.434a.844.844 0 011.193 0z",
28120
+ d: "M4.763 2.746l11.655 11.658a.833.833 0 01-1.1 1.248l-.078-.07-2.74-2.74v3.825c0 .427-.321.78-.736.827l-.097.006a2.062 2.062 0 01-1.433-.579L5.66 12.5H3.334c-.92 0-1.667-.746-1.667-1.667V9.167c0-.92.746-1.667 1.667-1.667h2.304l.775-.747-2.829-2.828a.833.833 0 011.179-1.179zm6.904-.246c.46 0 .833.373.833.833v4.8L8.812 4.445l1.421-1.367a2.068 2.068 0 011.274-.572l.16-.006z",
27919
28121
  fill: "#fff"
27920
28122
  })));
27921
28123
  }
@@ -27930,7 +28132,7 @@ function _extends$I() {
27930
28132
  return n;
27931
28133
  }, _extends$I.apply(null, arguments);
27932
28134
  }
27933
- function SvgFullscreenExit(props) {
28135
+ function SvgFullscreen(props) {
27934
28136
  return /*#__PURE__*/createElement$1("svg", _extends$I({
27935
28137
  width: 20,
27936
28138
  height: 20,
@@ -27938,6 +28140,31 @@ function SvgFullscreenExit(props) {
27938
28140
  fill: "none",
27939
28141
  xmlns: "http://www.w3.org/2000/svg"
27940
28142
  }, props), _path$H || (_path$H = /*#__PURE__*/createElement$1("path", {
28143
+ fillRule: "evenodd",
28144
+ clipRule: "evenodd",
28145
+ d: "M11.875 3.344c0-.466.378-.844.844-.844h3.937c.466 0 .844.378.844.844V7.28a.844.844 0 01-1.688 0v-1.9l-3.434 3.434a.844.844 0 01-1.193-1.193l3.434-3.434h-1.9a.844.844 0 01-.844-.844zM8.815 11.185c.33.33.33.863 0 1.193l-3.434 3.434H7.28a.844.844 0 010 1.688H3.344a.844.844 0 01-.844-.844V12.72a.844.844 0 111.688 0v1.9l3.434-3.434a.844.844 0 011.193 0z",
28146
+ fill: "#fff"
28147
+ })));
28148
+ }
28149
+
28150
+ var _path$I;
28151
+ function _extends$J() {
28152
+ return _extends$J = Object.assign ? Object.assign.bind() : function (n) {
28153
+ for (var e = 1; e < arguments.length; e++) {
28154
+ var t = arguments[e];
28155
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
28156
+ }
28157
+ return n;
28158
+ }, _extends$J.apply(null, arguments);
28159
+ }
28160
+ function SvgFullscreenExit(props) {
28161
+ return /*#__PURE__*/createElement$1("svg", _extends$J({
28162
+ width: 20,
28163
+ height: 20,
28164
+ viewBox: "0 0 20.01 20.01",
28165
+ fill: "none",
28166
+ xmlns: "http://www.w3.org/2000/svg"
28167
+ }, props), _path$I || (_path$I = /*#__PURE__*/createElement$1("path", {
27941
28168
  fillRule: "evenodd",
27942
28169
  clipRule: "evenodd",
27943
28170
  d: "M3.438 11.781c0-.466.377-.844.843-.844H8.22c.466 0 .844.378.844.844v3.938a.844.844 0 01-1.688 0v-1.9L3.94 17.252a.844.844 0 11-1.193-1.193l3.435-3.435h-1.9a.844.844 0 01-.844-.844zM17.253 2.747c.33.33.33.864 0 1.193l-3.435 3.435h1.899a.844.844 0 110 1.688h-3.936a.844.844 0 01-.844-.844V4.28a.844.844 0 011.688 0v1.9l3.435-3.434a.844.844 0 011.193 0z",
@@ -28531,7 +28758,10 @@ var CustomRadio = function CustomRadio(_ref) {
28531
28758
  border = _ref.border,
28532
28759
  borderRadius = _ref.borderRadius,
28533
28760
  size = _ref.size,
28534
- disabled = _ref.disabled;
28761
+ disabled = _ref.disabled,
28762
+ _ref$variant = _ref.variant,
28763
+ variant = _ref$variant === void 0 ? 'radio' : _ref$variant;
28764
+ var isCheckboxStyle = variant === 'checkbox';
28535
28765
  return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(CustomLabel$1, {
28536
28766
  isChecked: state,
28537
28767
  size: size,
@@ -28539,8 +28769,9 @@ var CustomRadio = function CustomRadio(_ref) {
28539
28769
  borderColor: borderColor,
28540
28770
  border: border,
28541
28771
  borderRadius: borderRadius,
28772
+ isCheckboxStyle: isCheckboxStyle,
28542
28773
  htmlFor: "radio-" + index
28543
- }), /*#__PURE__*/React__default.createElement(Radio, {
28774
+ }, state && isCheckboxStyle && /*#__PURE__*/React__default.createElement(SvgTick, null)), /*#__PURE__*/React__default.createElement(Radio, {
28544
28775
  disabled: disabled,
28545
28776
  type: 'radio',
28546
28777
  id: "radio-" + index,
@@ -28550,7 +28781,7 @@ var CustomRadio = function CustomRadio(_ref) {
28550
28781
  }
28551
28782
  }));
28552
28783
  };
28553
- var CustomLabel$1 = styled.label(_templateObject$o || (_templateObject$o = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n width: ", ";\n height: ", ";\n cursor: pointer;\n border: ", ";\n border-radius: ", ";\n\n ", "\n"])), function (props) {
28784
+ var CustomLabel$1 = styled.label(_templateObject$o || (_templateObject$o = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n width: ", ";\n height: ", ";\n cursor: pointer;\n border: ", ";\n border-radius: ", ";\n\n ", "\n\n ", "\n"])), function (props) {
28554
28785
  return props.size || '12px';
28555
28786
  }, function (props) {
28556
28787
  return props.size || '12px';
@@ -28559,7 +28790,9 @@ var CustomLabel$1 = styled.label(_templateObject$o || (_templateObject$o = _tagg
28559
28790
  }, function (props) {
28560
28791
  return props.borderRadius || '50%';
28561
28792
  }, function (props) {
28562
- return props.isChecked && "\n &::after {\n content: '';\n position: absolute;\n width: calc(100% - 3px);\n height: calc(100% - 3px);\n border-radius: 50%;\n background-color: " + props.checkedBorderColor + ";\n }\n ";
28793
+ return props.isChecked && !props.isCheckboxStyle && "\n &::after {\n content: '';\n position: absolute;\n width: calc(100% - 3px);\n height: calc(100% - 3px);\n border-radius: 50%;\n background-color: " + props.checkedBorderColor + ";\n }\n ";
28794
+ }, function (props) {
28795
+ return props.isCheckboxStyle && "\n background-color: " + (props.isChecked ? props.checkedBorderColor : 'transparent') + ";\n border: " + (props.isChecked ? 'none' : props.border || "1px solid " + props.borderColor) + ";\n &::after {\n display: none;\n }\n & > svg {\n width: calc(100% - 4px);\n height: calc(100% - 4px);\n }\n ";
28563
28796
  });
28564
28797
  var Radio = styled.input(_templateObject2$l || (_templateObject2$l = _taggedTemplateLiteralLoose(["\n display: none;\n"])));
28565
28798
 
@@ -29340,7 +29573,7 @@ var Message = function Message(_ref) {
29340
29573
  return mem === user.id ? 'You' : " " + systemMessageUserName(mem, contactsMap[mem], message.mentionedUsers);
29341
29574
  })) + " " + (messageMetas && messageMetas.m && messageMetas.m.length > 5 ? "and " + (messageMetas.m.length - 5) + " more" : '') : message.body === 'RM' ? " removed " + (messageMetas && messageMetas.m && messageMetas.m.slice(0, 5).map(function (mem) {
29342
29575
  return mem === user.id ? 'You' : " " + systemMessageUserName(mem, contactsMap[mem], message.mentionedUsers);
29343
- })) + " " + (messageMetas && messageMetas.m && messageMetas.m.length > 5 ? "and " + (messageMetas.m.length - 5) + " more" : '') : message.body === 'LG' ? ' left the group' : message.body === 'JL' ? " joined via invite link" : ''));
29576
+ })) + " " + (messageMetas && messageMetas.m && messageMetas.m.length > 5 ? "and " + (messageMetas.m.length - 5) + " more" : '') : message.body === 'LG' ? ' left the group' : message.body === 'JL' ? " joined via invite link" : message.body === 'ADM' && getEnableDisappearingMessages() ? !Number(messageMetas === null || messageMetas === void 0 ? void 0 : messageMetas.autoDeletePeriod) ? ' disabled disappearing messages' : " set disappearing message time to " + formatDisappearingMessageTime(messageMetas !== null && messageMetas !== void 0 && messageMetas.autoDeletePeriod ? Number(messageMetas.autoDeletePeriod) : null) : ''));
29344
29577
  };
29345
29578
  var SystemMessage = /*#__PURE__*/React__default.memo(Message, function (prevProps, nextProps) {
29346
29579
  return prevProps.message.deliveryStatus === nextProps.message.deliveryStatus && prevProps.message.state === nextProps.message.state && prevProps.message.userMarkers === nextProps.message.userMarkers && prevProps.nextMessage === nextProps.nextMessage && prevProps.connectionStatus === nextProps.connectionStatus && prevProps.tabIsActive === nextProps.tabIsActive;
@@ -29361,18 +29594,18 @@ var Container$c = styled.div(_templateObject$r || (_templateObject$r = _taggedTe
29361
29594
  return props.borderRadius || '14px';
29362
29595
  });
29363
29596
 
29364
- var _circle$1, _path$I;
29365
- function _extends$J() {
29366
- return _extends$J = Object.assign ? Object.assign.bind() : function (n) {
29597
+ var _circle$1, _path$J;
29598
+ function _extends$K() {
29599
+ return _extends$K = Object.assign ? Object.assign.bind() : function (n) {
29367
29600
  for (var e = 1; e < arguments.length; e++) {
29368
29601
  var t = arguments[e];
29369
29602
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
29370
29603
  }
29371
29604
  return n;
29372
- }, _extends$J.apply(null, arguments);
29605
+ }, _extends$K.apply(null, arguments);
29373
29606
  }
29374
29607
  function SvgErrorIcon(props) {
29375
- return /*#__PURE__*/createElement$1("svg", _extends$J({
29608
+ return /*#__PURE__*/createElement$1("svg", _extends$K({
29376
29609
  width: 32,
29377
29610
  height: 32,
29378
29611
  viewBox: "0 0 32.01 32.01",
@@ -29384,7 +29617,7 @@ function SvgErrorIcon(props) {
29384
29617
  r: 12,
29385
29618
  stroke: "#FA4C56",
29386
29619
  strokeWidth: 2
29387
- })), _path$I || (_path$I = /*#__PURE__*/createElement$1("path", {
29620
+ })), _path$J || (_path$J = /*#__PURE__*/createElement$1("path", {
29388
29621
  fillRule: "evenodd",
29389
29622
  clipRule: "evenodd",
29390
29623
  d: "M16 9c.552 0 1 .537 1 1.2v6c0 .663-.448 1.2-1 1.2s-1-.537-1-1.2v-6c0-.663.448-1.2 1-1.2zM15 20.994c0-.55.445-.994.994-.994h.012a.994.994 0 110 1.988h-.012a.994.994 0 01-.994-.994z",
@@ -29392,24 +29625,24 @@ function SvgErrorIcon(props) {
29392
29625
  })));
29393
29626
  }
29394
29627
 
29395
- var _path$J;
29396
- function _extends$K() {
29397
- return _extends$K = Object.assign ? Object.assign.bind() : function (n) {
29628
+ var _path$K;
29629
+ function _extends$L() {
29630
+ return _extends$L = Object.assign ? Object.assign.bind() : function (n) {
29398
29631
  for (var e = 1; e < arguments.length; e++) {
29399
29632
  var t = arguments[e];
29400
29633
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
29401
29634
  }
29402
29635
  return n;
29403
- }, _extends$K.apply(null, arguments);
29636
+ }, _extends$L.apply(null, arguments);
29404
29637
  }
29405
29638
  function SvgSelectionIcon(props) {
29406
- return /*#__PURE__*/createElement$1("svg", _extends$K({
29639
+ return /*#__PURE__*/createElement$1("svg", _extends$L({
29407
29640
  width: 24,
29408
29641
  height: 24,
29409
29642
  viewBox: "0 0 24.01 24.01",
29410
29643
  fill: "none",
29411
29644
  xmlns: "http://www.w3.org/2000/svg"
29412
- }, props), _path$J || (_path$J = /*#__PURE__*/createElement$1("path", {
29645
+ }, props), _path$K || (_path$K = /*#__PURE__*/createElement$1("path", {
29413
29646
  fillRule: "evenodd",
29414
29647
  clipRule: "evenodd",
29415
29648
  d: "M12 23c6.075 0 11-4.925 11-11S18.075 1 12 1 1 5.925 1 12s4.925 11 11 11zm5.749-13.501a1 1 0 00-1.414-1.414l-6.168 6.167-2.502-2.5a1 1 0 00-1.414 1.413l3.209 3.209a1 1 0 001.414 0l6.875-6.875z",
@@ -29680,46 +29913,46 @@ var ReactionItem$1 = styled.li(_templateObject0$8 || (_templateObject0$8 = _tagg
29680
29913
  return props.hoverBackgroundColor;
29681
29914
  }, UserStatus);
29682
29915
 
29683
- var _path$K;
29684
- function _extends$L() {
29685
- return _extends$L = Object.assign ? Object.assign.bind() : function (n) {
29916
+ var _path$L;
29917
+ function _extends$M() {
29918
+ return _extends$M = Object.assign ? Object.assign.bind() : function (n) {
29686
29919
  for (var e = 1; e < arguments.length; e++) {
29687
29920
  var t = arguments[e];
29688
29921
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
29689
29922
  }
29690
29923
  return n;
29691
- }, _extends$L.apply(null, arguments);
29924
+ }, _extends$M.apply(null, arguments);
29692
29925
  }
29693
29926
  function SvgDeleteIcon(props) {
29694
- return /*#__PURE__*/createElement$1("svg", _extends$L({
29927
+ return /*#__PURE__*/createElement$1("svg", _extends$M({
29695
29928
  width: 20,
29696
29929
  height: 20,
29697
29930
  fill: "none",
29698
29931
  xmlns: "http://www.w3.org/2000/svg"
29699
- }, props), _path$K || (_path$K = /*#__PURE__*/createElement$1("path", {
29932
+ }, props), _path$L || (_path$L = /*#__PURE__*/createElement$1("path", {
29700
29933
  d: "M15.714 7.143v7.5a3.214 3.214 0 01-3.214 3.214h-5a3.214 3.214 0 01-3.214-3.214v-7.5h-.507a.922.922 0 01-.922-.922V5.178c0-1.085.88-1.964 1.964-1.964h1.18a2.144 2.144 0 011.856-1.071h4.286c.783 0 1.482.423 1.856 1.071h1.18c1.085 0 1.964.88 1.964 1.964v1.043a.922.922 0 01-.922.922h-.507zM15 5.714h.714v-.536a.536.536 0 00-.535-.535h-1.652a.714.714 0 01-.692-.537.715.715 0 00-.692-.535H7.857a.715.715 0 00-.692.535.714.714 0 01-.691.537H4.82a.536.536 0 00-.535.535v.536H15zM5.714 7.143v7.5c0 .986.8 1.785 1.786 1.785h5c.986 0 1.786-.8 1.786-1.785v-7.5H5.714z",
29701
29934
  fill: "CurrentColor"
29702
29935
  })));
29703
29936
  }
29704
29937
 
29705
- var _path$L;
29706
- function _extends$M() {
29707
- return _extends$M = Object.assign ? Object.assign.bind() : function (n) {
29938
+ var _path$M;
29939
+ function _extends$N() {
29940
+ return _extends$N = Object.assign ? Object.assign.bind() : function (n) {
29708
29941
  for (var e = 1; e < arguments.length; e++) {
29709
29942
  var t = arguments[e];
29710
29943
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
29711
29944
  }
29712
29945
  return n;
29713
- }, _extends$M.apply(null, arguments);
29946
+ }, _extends$N.apply(null, arguments);
29714
29947
  }
29715
29948
  function SvgCheckCircle(props) {
29716
- return /*#__PURE__*/createElement$1("svg", _extends$M({
29949
+ return /*#__PURE__*/createElement$1("svg", _extends$N({
29717
29950
  width: 18,
29718
29951
  height: 18,
29719
29952
  viewBox: "0 0 18.01 18.01",
29720
29953
  fill: "none",
29721
29954
  xmlns: "http://www.w3.org/2000/svg"
29722
- }, props), _path$L || (_path$L = /*#__PURE__*/createElement$1("path", {
29955
+ }, props), _path$M || (_path$M = /*#__PURE__*/createElement$1("path", {
29723
29956
  fillRule: "evenodd",
29724
29957
  clipRule: "evenodd",
29725
29958
  d: "M9 2.6a6.4 6.4 0 100 12.8A6.4 6.4 0 009 2.6zm-5.657.743a8 8 0 1111.314 11.314A8 8 0 013.343 3.343zm8.623 3.491a.8.8 0 010 1.132l-3.2 3.2a.8.8 0 01-1.132 0l-1.6-1.6a.8.8 0 011.132-1.132L8.2 9.47l2.634-2.635a.8.8 0 011.132 0z",
@@ -29727,23 +29960,23 @@ function SvgCheckCircle(props) {
29727
29960
  })));
29728
29961
  }
29729
29962
 
29730
- var _path$M;
29731
- function _extends$N() {
29732
- return _extends$N = Object.assign ? Object.assign.bind() : function (n) {
29963
+ var _path$N;
29964
+ function _extends$O() {
29965
+ return _extends$O = Object.assign ? Object.assign.bind() : function (n) {
29733
29966
  for (var e = 1; e < arguments.length; e++) {
29734
29967
  var t = arguments[e];
29735
29968
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
29736
29969
  }
29737
29970
  return n;
29738
- }, _extends$N.apply(null, arguments);
29971
+ }, _extends$O.apply(null, arguments);
29739
29972
  }
29740
29973
  function SvgReportIcon(props) {
29741
- return /*#__PURE__*/createElement$1("svg", _extends$N({
29974
+ return /*#__PURE__*/createElement$1("svg", _extends$O({
29742
29975
  width: 18,
29743
29976
  height: 18,
29744
29977
  fill: "none",
29745
29978
  xmlns: "http://www.w3.org/2000/svg"
29746
- }, props), _path$M || (_path$M = /*#__PURE__*/createElement$1("path", {
29979
+ }, props), _path$N || (_path$N = /*#__PURE__*/createElement$1("path", {
29747
29980
  fillRule: "evenodd",
29748
29981
  clipRule: "evenodd",
29749
29982
  d: "M6.623 1.5h4.754c.51-.001.908.16 1.274.528l3.321 3.32c.362.361.53.756.528 1.275v4.754c.001.519-.166.914-.528 1.274l-3.32 3.321c-.36.362-.756.53-1.275.528H6.623a1.675 1.675 0 01-1.274-.528l-3.321-3.32a1.675 1.675 0 01-.528-1.275V6.623a1.675 1.675 0 01.528-1.274l3.32-3.321A1.675 1.675 0 016.624 1.5zm-.337 1.52L3.02 6.285c-.136.136-.155.183-.155.375v4.678c0 .19.019.239.155.375l3.267 3.267c.136.136.183.155.375.155h4.678c.192 0 .239-.019.375-.155l3.267-3.267c.136-.136.155-.186.155-.375V6.66c0-.192-.02-.24-.155-.375L11.714 3.02c-.137-.136-.184-.155-.375-.155H6.66c-.192 0-.241.021-.375.155zm3.472 9.01a.758.758 0 11-1.516 0 .758.758 0 011.516 0zm-.076-6.136a.682.682 0 00-1.364 0v3.94a.682.682 0 001.364 0v-3.94z",
@@ -29751,24 +29984,24 @@ function SvgReportIcon(props) {
29751
29984
  })));
29752
29985
  }
29753
29986
 
29754
- var _path$N;
29755
- function _extends$O() {
29756
- return _extends$O = Object.assign ? Object.assign.bind() : function (n) {
29987
+ var _path$O;
29988
+ function _extends$P() {
29989
+ return _extends$P = Object.assign ? Object.assign.bind() : function (n) {
29757
29990
  for (var e = 1; e < arguments.length; e++) {
29758
29991
  var t = arguments[e];
29759
29992
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
29760
29993
  }
29761
29994
  return n;
29762
- }, _extends$O.apply(null, arguments);
29995
+ }, _extends$P.apply(null, arguments);
29763
29996
  }
29764
29997
  function SvgEditIcon(props) {
29765
- return /*#__PURE__*/createElement$1("svg", _extends$O({
29998
+ return /*#__PURE__*/createElement$1("svg", _extends$P({
29766
29999
  width: 20,
29767
30000
  height: 20,
29768
30001
  viewBox: "0 0 20.01 20.01",
29769
30002
  fill: "none",
29770
30003
  xmlns: "http://www.w3.org/2000/svg"
29771
- }, props), _path$N || (_path$N = /*#__PURE__*/createElement$1("path", {
30004
+ }, props), _path$O || (_path$O = /*#__PURE__*/createElement$1("path", {
29772
30005
  fillRule: "evenodd",
29773
30006
  clipRule: "evenodd",
29774
30007
  d: "M11.883 6.232l-7.531 7.53a.917.917 0 00-.269.65v1.422c0 .046.038.083.084.083h1.422a.917.917 0 00.648-.268l7.531-7.531-1.885-1.886zm1.06-1.06l1.886 1.885.943-.943a.5.5 0 000-.707l-1.179-1.179a.5.5 0 00-.707 0l-.943.943zm-9.652 7.53l9.534-9.534a2 2 0 012.829 0l1.178 1.178a2 2 0 010 2.829l-9.534 9.534a2.417 2.417 0 01-1.709.708H4.167a1.583 1.583 0 01-1.584-1.583V14.41c0-.64.255-1.256.708-1.709z",
@@ -29776,47 +30009,47 @@ function SvgEditIcon(props) {
29776
30009
  })));
29777
30010
  }
29778
30011
 
29779
- var _path$O;
29780
- function _extends$P() {
29781
- return _extends$P = Object.assign ? Object.assign.bind() : function (n) {
30012
+ var _path$P;
30013
+ function _extends$Q() {
30014
+ return _extends$Q = Object.assign ? Object.assign.bind() : function (n) {
29782
30015
  for (var e = 1; e < arguments.length; e++) {
29783
30016
  var t = arguments[e];
29784
30017
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
29785
30018
  }
29786
30019
  return n;
29787
- }, _extends$P.apply(null, arguments);
30020
+ }, _extends$Q.apply(null, arguments);
29788
30021
  }
29789
30022
  function SvgResend(props) {
29790
- return /*#__PURE__*/createElement$1("svg", _extends$P({
30023
+ return /*#__PURE__*/createElement$1("svg", _extends$Q({
29791
30024
  width: 17,
29792
30025
  height: 15,
29793
30026
  fill: "none",
29794
30027
  xmlns: "http://www.w3.org/2000/svg"
29795
- }, props), _path$O || (_path$O = /*#__PURE__*/createElement$1("path", {
30028
+ }, props), _path$P || (_path$P = /*#__PURE__*/createElement$1("path", {
29796
30029
  d: "M15.913 7.425l-7.23-6.281a.1.1 0 00-.165.075v3.585a.101.101 0 01-.095.101c-.616.037-4.069.305-5.627 1.728C.894 8.371.966 12.608 1.02 13.726c.005.093.123.126.179.05.49-.66 2.003-2.597 3.359-3.243 1.268-.604 3.411-.476 3.872-.44a.097.097 0 01.089.098v3.59a.1.1 0 00.166.075l7.23-6.28a.1.1 0 000-.151z",
29797
30030
  stroke: "currentColor",
29798
30031
  strokeWidth: 1.4
29799
30032
  })));
29800
30033
  }
29801
30034
 
29802
- var _path$P, _path2$4;
29803
- function _extends$Q() {
29804
- return _extends$Q = Object.assign ? Object.assign.bind() : function (n) {
30035
+ var _path$Q, _path2$4;
30036
+ function _extends$R() {
30037
+ return _extends$R = Object.assign ? Object.assign.bind() : function (n) {
29805
30038
  for (var e = 1; e < arguments.length; e++) {
29806
30039
  var t = arguments[e];
29807
30040
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
29808
30041
  }
29809
30042
  return n;
29810
- }, _extends$Q.apply(null, arguments);
30043
+ }, _extends$R.apply(null, arguments);
29811
30044
  }
29812
30045
  function SvgEmojiSmileIcon(props) {
29813
- return /*#__PURE__*/createElement$1("svg", _extends$Q({
30046
+ return /*#__PURE__*/createElement$1("svg", _extends$R({
29814
30047
  width: 20,
29815
30048
  height: 20,
29816
30049
  viewBox: "0 0 20.01 20.01",
29817
30050
  fill: "none",
29818
30051
  xmlns: "http://www.w3.org/2000/svg"
29819
- }, props), _path$P || (_path$P = /*#__PURE__*/createElement$1("path", {
30052
+ }, props), _path$Q || (_path$Q = /*#__PURE__*/createElement$1("path", {
29820
30053
  fillRule: "evenodd",
29821
30054
  clipRule: "evenodd",
29822
30055
  d: "M10 3.043a6.957 6.957 0 100 13.914 6.957 6.957 0 000-13.914zM1.667 10a8.333 8.333 0 1116.666 0 8.333 8.333 0 01-16.666 0zm4.97-2.293a1.07 1.07 0 112.14 0 1.07 1.07 0 01-2.14 0zm4.586 0a1.07 1.07 0 112.141 0 1.07 1.07 0 01-2.14 0z",
@@ -29829,24 +30062,24 @@ function SvgEmojiSmileIcon(props) {
29829
30062
  })));
29830
30063
  }
29831
30064
 
29832
- var _path$Q;
29833
- function _extends$R() {
29834
- return _extends$R = Object.assign ? Object.assign.bind() : function (n) {
30065
+ var _path$R;
30066
+ function _extends$S() {
30067
+ return _extends$S = Object.assign ? Object.assign.bind() : function (n) {
29835
30068
  for (var e = 1; e < arguments.length; e++) {
29836
30069
  var t = arguments[e];
29837
30070
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
29838
30071
  }
29839
30072
  return n;
29840
- }, _extends$R.apply(null, arguments);
30073
+ }, _extends$S.apply(null, arguments);
29841
30074
  }
29842
30075
  function SvgReplyIcon(props) {
29843
- return /*#__PURE__*/createElement$1("svg", _extends$R({
30076
+ return /*#__PURE__*/createElement$1("svg", _extends$S({
29844
30077
  width: 20,
29845
30078
  height: 20,
29846
30079
  viewBox: "0 0 20.01 20.01",
29847
30080
  fill: "none",
29848
30081
  xmlns: "http://www.w3.org/2000/svg"
29849
- }, props), _path$Q || (_path$Q = /*#__PURE__*/createElement$1("path", {
30082
+ }, props), _path$R || (_path$R = /*#__PURE__*/createElement$1("path", {
29850
30083
  fillRule: "evenodd",
29851
30084
  clipRule: "evenodd",
29852
30085
  d: "M6.364 3.637a.75.75 0 010 1.06L4.31 6.75h9.439a4.5 4.5 0 110 9H10a.75.75 0 010-1.5h3.75a3 3 0 100-6H4.31l2.054 2.053a.75.75 0 01-1.061 1.061L1.97 8.031a.75.75 0 010-1.061l3.333-3.333a.75.75 0 011.06 0z",
@@ -29854,23 +30087,23 @@ function SvgReplyIcon(props) {
29854
30087
  })));
29855
30088
  }
29856
30089
 
29857
- var _path$R, _path2$5;
29858
- function _extends$S() {
29859
- return _extends$S = Object.assign ? Object.assign.bind() : function (n) {
30090
+ var _path$S, _path2$5;
30091
+ function _extends$T() {
30092
+ return _extends$T = Object.assign ? Object.assign.bind() : function (n) {
29860
30093
  for (var e = 1; e < arguments.length; e++) {
29861
30094
  var t = arguments[e];
29862
30095
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
29863
30096
  }
29864
30097
  return n;
29865
- }, _extends$S.apply(null, arguments);
30098
+ }, _extends$T.apply(null, arguments);
29866
30099
  }
29867
30100
  function SvgRetractVote(props) {
29868
- return /*#__PURE__*/createElement$1("svg", _extends$S({
30101
+ return /*#__PURE__*/createElement$1("svg", _extends$T({
29869
30102
  width: 18,
29870
30103
  height: 18,
29871
30104
  fill: "none",
29872
30105
  xmlns: "http://www.w3.org/2000/svg"
29873
- }, props), _path$R || (_path$R = /*#__PURE__*/createElement$1("path", {
30106
+ }, props), _path$S || (_path$S = /*#__PURE__*/createElement$1("path", {
29874
30107
  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",
29875
30108
  fill: "#818C99"
29876
30109
  })), _path2$5 || (_path2$5 = /*#__PURE__*/createElement$1("path", {
@@ -29879,23 +30112,23 @@ function SvgRetractVote(props) {
29879
30112
  })));
29880
30113
  }
29881
30114
 
29882
- var _path$S, _path2$6;
29883
- function _extends$T() {
29884
- return _extends$T = Object.assign ? Object.assign.bind() : function (n) {
30115
+ var _path$T, _path2$6;
30116
+ function _extends$U() {
30117
+ return _extends$U = Object.assign ? Object.assign.bind() : function (n) {
29885
30118
  for (var e = 1; e < arguments.length; e++) {
29886
30119
  var t = arguments[e];
29887
30120
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
29888
30121
  }
29889
30122
  return n;
29890
- }, _extends$T.apply(null, arguments);
30123
+ }, _extends$U.apply(null, arguments);
29891
30124
  }
29892
30125
  function SvgEndVote(props) {
29893
- return /*#__PURE__*/createElement$1("svg", _extends$T({
30126
+ return /*#__PURE__*/createElement$1("svg", _extends$U({
29894
30127
  width: 18,
29895
30128
  height: 18,
29896
30129
  fill: "none",
29897
30130
  xmlns: "http://www.w3.org/2000/svg"
29898
- }, props), _path$S || (_path$S = /*#__PURE__*/createElement$1("path", {
30131
+ }, props), _path$T || (_path$T = /*#__PURE__*/createElement$1("path", {
29899
30132
  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",
29900
30133
  fill: "#818C99"
29901
30134
  })), _path2$6 || (_path2$6 = /*#__PURE__*/createElement$1("path", {
@@ -29906,24 +30139,24 @@ function SvgEndVote(props) {
29906
30139
  })));
29907
30140
  }
29908
30141
 
29909
- var _path$T;
29910
- function _extends$U() {
29911
- return _extends$U = Object.assign ? Object.assign.bind() : function (n) {
30142
+ var _path$U;
30143
+ function _extends$V() {
30144
+ return _extends$V = Object.assign ? Object.assign.bind() : function (n) {
29912
30145
  for (var e = 1; e < arguments.length; e++) {
29913
30146
  var t = arguments[e];
29914
30147
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
29915
30148
  }
29916
30149
  return n;
29917
- }, _extends$U.apply(null, arguments);
30150
+ }, _extends$V.apply(null, arguments);
29918
30151
  }
29919
30152
  function SvgCopyIcon(props) {
29920
- return /*#__PURE__*/createElement$1("svg", _extends$U({
30153
+ return /*#__PURE__*/createElement$1("svg", _extends$V({
29921
30154
  width: 20,
29922
30155
  height: 20,
29923
30156
  viewBox: "0 0 20.01 20.01",
29924
30157
  fill: "none",
29925
30158
  xmlns: "http://www.w3.org/2000/svg"
29926
- }, props), _path$T || (_path$T = /*#__PURE__*/createElement$1("path", {
30159
+ }, props), _path$U || (_path$U = /*#__PURE__*/createElement$1("path", {
29927
30160
  fillRule: "evenodd",
29928
30161
  clipRule: "evenodd",
29929
30162
  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",
@@ -29931,24 +30164,24 @@ function SvgCopyIcon(props) {
29931
30164
  })));
29932
30165
  }
29933
30166
 
29934
- var _path$U;
29935
- function _extends$V() {
29936
- return _extends$V = Object.assign ? Object.assign.bind() : function (n) {
30167
+ var _path$V;
30168
+ function _extends$W() {
30169
+ return _extends$W = Object.assign ? Object.assign.bind() : function (n) {
29937
30170
  for (var e = 1; e < arguments.length; e++) {
29938
30171
  var t = arguments[e];
29939
30172
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
29940
30173
  }
29941
30174
  return n;
29942
- }, _extends$V.apply(null, arguments);
30175
+ }, _extends$W.apply(null, arguments);
29943
30176
  }
29944
30177
  function SvgReplyInThreadIcon(props) {
29945
- return /*#__PURE__*/createElement$1("svg", _extends$V({
30178
+ return /*#__PURE__*/createElement$1("svg", _extends$W({
29946
30179
  width: 20,
29947
30180
  height: 20,
29948
30181
  viewBox: "0 0 20.01 20.01",
29949
30182
  fill: "none",
29950
30183
  xmlns: "http://www.w3.org/2000/svg"
29951
- }, props), _path$U || (_path$U = /*#__PURE__*/createElement$1("path", {
30184
+ }, props), _path$V || (_path$V = /*#__PURE__*/createElement$1("path", {
29952
30185
  fillRule: "evenodd",
29953
30186
  clipRule: "evenodd",
29954
30187
  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",
@@ -29956,24 +30189,24 @@ function SvgReplyInThreadIcon(props) {
29956
30189
  })));
29957
30190
  }
29958
30191
 
29959
- var _path$V;
29960
- function _extends$W() {
29961
- return _extends$W = Object.assign ? Object.assign.bind() : function (n) {
30192
+ var _path$W;
30193
+ function _extends$X() {
30194
+ return _extends$X = Object.assign ? Object.assign.bind() : function (n) {
29962
30195
  for (var e = 1; e < arguments.length; e++) {
29963
30196
  var t = arguments[e];
29964
30197
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
29965
30198
  }
29966
30199
  return n;
29967
- }, _extends$W.apply(null, arguments);
30200
+ }, _extends$X.apply(null, arguments);
29968
30201
  }
29969
30202
  function SvgArrowDown(props) {
29970
- return /*#__PURE__*/createElement$1("svg", _extends$W({
30203
+ return /*#__PURE__*/createElement$1("svg", _extends$X({
29971
30204
  width: 20,
29972
30205
  height: 8,
29973
30206
  viewBox: "0 0 20 20",
29974
30207
  fill: "none",
29975
30208
  xmlns: "http://www.w3.org/2000/svg"
29976
- }, props), _path$V || (_path$V = /*#__PURE__*/createElement$1("path", {
30209
+ }, props), _path$W || (_path$W = /*#__PURE__*/createElement$1("path", {
29977
30210
  fillRule: "evenodd",
29978
30211
  clipRule: "evenodd",
29979
30212
  d: "M10 8C7 8 4 0 0 0h20c-3.975 0-7 8-10 8z",
@@ -29981,23 +30214,23 @@ function SvgArrowDown(props) {
29981
30214
  })));
29982
30215
  }
29983
30216
 
29984
- var _path$W, _path2$7, _path3$2;
29985
- function _extends$X() {
29986
- return _extends$X = Object.assign ? Object.assign.bind() : function (n) {
30217
+ var _path$X, _path2$7, _path3$2;
30218
+ function _extends$Y() {
30219
+ return _extends$Y = Object.assign ? Object.assign.bind() : function (n) {
29987
30220
  for (var e = 1; e < arguments.length; e++) {
29988
30221
  var t = arguments[e];
29989
30222
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
29990
30223
  }
29991
30224
  return n;
29992
- }, _extends$X.apply(null, arguments);
30225
+ }, _extends$Y.apply(null, arguments);
29993
30226
  }
29994
30227
  function SvgInfoAction(props) {
29995
- return /*#__PURE__*/createElement$1("svg", _extends$X({
30228
+ return /*#__PURE__*/createElement$1("svg", _extends$Y({
29996
30229
  width: 18,
29997
30230
  height: 18,
29998
30231
  fill: "none",
29999
30232
  xmlns: "http://www.w3.org/2000/svg"
30000
- }, props), _path$W || (_path$W = /*#__PURE__*/createElement$1("path", {
30233
+ }, props), _path$X || (_path$X = /*#__PURE__*/createElement$1("path", {
30001
30234
  fillRule: "evenodd",
30002
30235
  clipRule: "evenodd",
30003
30236
  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",
@@ -30283,18 +30516,18 @@ var Action = styled.div(_templateObject3$k || (_templateObject3$k = _taggedTempl
30283
30516
  return props.hoverBackgroundColor;
30284
30517
  }, ItemNote);
30285
30518
 
30286
- var _rect$1, _path$X;
30287
- function _extends$Y() {
30288
- return _extends$Y = Object.assign ? Object.assign.bind() : function (n) {
30519
+ var _rect$1, _path$Y;
30520
+ function _extends$Z() {
30521
+ return _extends$Z = Object.assign ? Object.assign.bind() : function (n) {
30289
30522
  for (var e = 1; e < arguments.length; e++) {
30290
30523
  var t = arguments[e];
30291
30524
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
30292
30525
  }
30293
30526
  return n;
30294
- }, _extends$Y.apply(null, arguments);
30527
+ }, _extends$Z.apply(null, arguments);
30295
30528
  }
30296
30529
  function SvgFileIcon(props) {
30297
- return /*#__PURE__*/createElement$1("svg", _extends$Y({
30530
+ return /*#__PURE__*/createElement$1("svg", _extends$Z({
30298
30531
  width: 40,
30299
30532
  height: 40,
30300
30533
  viewBox: "0 0 40.01 40.01",
@@ -30305,24 +30538,24 @@ function SvgFileIcon(props) {
30305
30538
  height: 40,
30306
30539
  rx: 20,
30307
30540
  fill: "Transparent"
30308
- })), _path$X || (_path$X = /*#__PURE__*/createElement$1("path", {
30541
+ })), _path$Y || (_path$Y = /*#__PURE__*/createElement$1("path", {
30309
30542
  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",
30310
30543
  fill: "#fff"
30311
30544
  })));
30312
30545
  }
30313
30546
 
30314
- var _circle$2, _path$Y;
30315
- function _extends$Z() {
30316
- return _extends$Z = Object.assign ? Object.assign.bind() : function (n) {
30547
+ var _circle$2, _path$Z;
30548
+ function _extends$_() {
30549
+ return _extends$_ = Object.assign ? Object.assign.bind() : function (n) {
30317
30550
  for (var e = 1; e < arguments.length; e++) {
30318
30551
  var t = arguments[e];
30319
30552
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
30320
30553
  }
30321
30554
  return n;
30322
- }, _extends$Z.apply(null, arguments);
30555
+ }, _extends$_.apply(null, arguments);
30323
30556
  }
30324
30557
  function SvgDeleteUpload(props) {
30325
- return /*#__PURE__*/createElement$1("svg", _extends$Z({
30558
+ return /*#__PURE__*/createElement$1("svg", _extends$_({
30326
30559
  width: 20,
30327
30560
  height: 20,
30328
30561
  viewBox: "0 0 20.01 20.01",
@@ -30335,7 +30568,7 @@ function SvgDeleteUpload(props) {
30335
30568
  fill: "CurrentColor",
30336
30569
  stroke: "#fff",
30337
30570
  strokeWidth: 1.4
30338
- })), _path$Y || (_path$Y = /*#__PURE__*/createElement$1("path", {
30571
+ })), _path$Z || (_path$Z = /*#__PURE__*/createElement$1("path", {
30339
30572
  d: "M13.5 6.5l-7 7M6.5 6.5l7 7",
30340
30573
  stroke: "#fff",
30341
30574
  strokeWidth: 1.4,
@@ -30344,24 +30577,24 @@ function SvgDeleteUpload(props) {
30344
30577
  })));
30345
30578
  }
30346
30579
 
30347
- var _path$Z;
30348
- function _extends$_() {
30349
- return _extends$_ = Object.assign ? Object.assign.bind() : function (n) {
30580
+ var _path$_;
30581
+ function _extends$$() {
30582
+ return _extends$$ = Object.assign ? Object.assign.bind() : function (n) {
30350
30583
  for (var e = 1; e < arguments.length; e++) {
30351
30584
  var t = arguments[e];
30352
30585
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
30353
30586
  }
30354
30587
  return n;
30355
- }, _extends$_.apply(null, arguments);
30588
+ }, _extends$$.apply(null, arguments);
30356
30589
  }
30357
30590
  function SvgUpload(props) {
30358
- return /*#__PURE__*/createElement$1("svg", _extends$_({
30591
+ return /*#__PURE__*/createElement$1("svg", _extends$$({
30359
30592
  width: 32,
30360
30593
  height: 32,
30361
30594
  viewBox: "0 0 32.01 32.01",
30362
30595
  fill: "none",
30363
30596
  xmlns: "http://www.w3.org/2000/svg"
30364
- }, props), _path$Z || (_path$Z = /*#__PURE__*/createElement$1("path", {
30597
+ }, props), _path$_ || (_path$_ = /*#__PURE__*/createElement$1("path", {
30365
30598
  fillRule: "evenodd",
30366
30599
  clipRule: "evenodd",
30367
30600
  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",
@@ -30369,18 +30602,18 @@ function SvgUpload(props) {
30369
30602
  })));
30370
30603
  }
30371
30604
 
30372
- var _circle$3, _path$_;
30373
- function _extends$$() {
30374
- return _extends$$ = Object.assign ? Object.assign.bind() : function (n) {
30605
+ var _circle$3, _path$$;
30606
+ function _extends$10() {
30607
+ return _extends$10 = Object.assign ? Object.assign.bind() : function (n) {
30375
30608
  for (var e = 1; e < arguments.length; e++) {
30376
30609
  var t = arguments[e];
30377
30610
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
30378
30611
  }
30379
30612
  return n;
30380
- }, _extends$$.apply(null, arguments);
30613
+ }, _extends$10.apply(null, arguments);
30381
30614
  }
30382
30615
  function SvgPlayVideo(props) {
30383
- return /*#__PURE__*/createElement$1("svg", _extends$$({
30616
+ return /*#__PURE__*/createElement$1("svg", _extends$10({
30384
30617
  width: 56,
30385
30618
  height: 56,
30386
30619
  fill: "none",
@@ -30391,7 +30624,7 @@ function SvgPlayVideo(props) {
30391
30624
  r: 28,
30392
30625
  fill: "#17191C",
30393
30626
  fillOpacity: 0.4
30394
- })), _path$_ || (_path$_ = /*#__PURE__*/createElement$1("path", {
30627
+ })), _path$$ || (_path$$ = /*#__PURE__*/createElement$1("path", {
30395
30628
  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",
30396
30629
  fill: "#fff"
30397
30630
  })));
@@ -30575,18 +30808,18 @@ var AttachmentImg = styled.img(_templateObject7$b || (_templateObject7$b = _tagg
30575
30808
  return props.borderRadius || '6px';
30576
30809
  });
30577
30810
 
30578
- var _circle$4, _path$$;
30579
- function _extends$10() {
30580
- return _extends$10 = Object.assign ? Object.assign.bind() : function (n) {
30811
+ var _circle$4, _path$10;
30812
+ function _extends$11() {
30813
+ return _extends$11 = Object.assign ? Object.assign.bind() : function (n) {
30581
30814
  for (var e = 1; e < arguments.length; e++) {
30582
30815
  var t = arguments[e];
30583
30816
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
30584
30817
  }
30585
30818
  return n;
30586
- }, _extends$10.apply(null, arguments);
30819
+ }, _extends$11.apply(null, arguments);
30587
30820
  }
30588
30821
  function SvgPlay(props) {
30589
- return /*#__PURE__*/createElement$1("svg", _extends$10({
30822
+ return /*#__PURE__*/createElement$1("svg", _extends$11({
30590
30823
  width: 32,
30591
30824
  height: 32,
30592
30825
  viewBox: "0 0 33 33",
@@ -30597,24 +30830,24 @@ function SvgPlay(props) {
30597
30830
  cy: 16,
30598
30831
  r: 16,
30599
30832
  fill: "CurrentColor"
30600
- })), _path$$ || (_path$$ = /*#__PURE__*/createElement$1("path", {
30833
+ })), _path$10 || (_path$10 = /*#__PURE__*/createElement$1("path", {
30601
30834
  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",
30602
30835
  fill: "#fff"
30603
30836
  })));
30604
30837
  }
30605
30838
 
30606
- var _circle$5, _path$10;
30607
- function _extends$11() {
30608
- return _extends$11 = Object.assign ? Object.assign.bind() : function (n) {
30839
+ var _circle$5, _path$11;
30840
+ function _extends$12() {
30841
+ return _extends$12 = Object.assign ? Object.assign.bind() : function (n) {
30609
30842
  for (var e = 1; e < arguments.length; e++) {
30610
30843
  var t = arguments[e];
30611
30844
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
30612
30845
  }
30613
30846
  return n;
30614
- }, _extends$11.apply(null, arguments);
30847
+ }, _extends$12.apply(null, arguments);
30615
30848
  }
30616
30849
  function SvgPause(props) {
30617
- return /*#__PURE__*/createElement$1("svg", _extends$11({
30850
+ return /*#__PURE__*/createElement$1("svg", _extends$12({
30618
30851
  width: 32,
30619
30852
  height: 32,
30620
30853
  viewBox: "0 0 33 33",
@@ -30625,7 +30858,7 @@ function SvgPause(props) {
30625
30858
  cy: 16,
30626
30859
  r: 16,
30627
30860
  fill: "CurrentColor"
30628
- })), _path$10 || (_path$10 = /*#__PURE__*/createElement$1("path", {
30861
+ })), _path$11 || (_path$11 = /*#__PURE__*/createElement$1("path", {
30629
30862
  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",
30630
30863
  fill: "#fff"
30631
30864
  })));
@@ -33732,24 +33965,24 @@ var MessageHeaderCont = styled.div(_templateObject$z || (_templateObject$z = _ta
33732
33965
  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');
33733
33966
  });
33734
33967
 
33735
- var _path$11;
33736
- function _extends$12() {
33737
- return _extends$12 = Object.assign ? Object.assign.bind() : function (n) {
33968
+ var _path$12;
33969
+ function _extends$13() {
33970
+ return _extends$13 = Object.assign ? Object.assign.bind() : function (n) {
33738
33971
  for (var e = 1; e < arguments.length; e++) {
33739
33972
  var t = arguments[e];
33740
33973
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
33741
33974
  }
33742
33975
  return n;
33743
- }, _extends$12.apply(null, arguments);
33976
+ }, _extends$13.apply(null, arguments);
33744
33977
  }
33745
33978
  function SvgEmojiAnimalIcon(props) {
33746
- return /*#__PURE__*/createElement$1("svg", _extends$12({
33979
+ return /*#__PURE__*/createElement$1("svg", _extends$13({
33747
33980
  width: 20,
33748
33981
  height: 20,
33749
33982
  viewBox: "0 0 20.01 20.01",
33750
33983
  fill: "none",
33751
33984
  xmlns: "http://www.w3.org/2000/svg"
33752
- }, props), _path$11 || (_path$11 = /*#__PURE__*/createElement$1("path", {
33985
+ }, props), _path$12 || (_path$12 = /*#__PURE__*/createElement$1("path", {
33753
33986
  fillRule: "evenodd",
33754
33987
  clipRule: "evenodd",
33755
33988
  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",
@@ -33757,24 +33990,24 @@ function SvgEmojiAnimalIcon(props) {
33757
33990
  })));
33758
33991
  }
33759
33992
 
33760
- var _path$12, _path2$8, _path3$3;
33761
- function _extends$13() {
33762
- return _extends$13 = Object.assign ? Object.assign.bind() : function (n) {
33993
+ var _path$13, _path2$8, _path3$3;
33994
+ function _extends$14() {
33995
+ return _extends$14 = Object.assign ? Object.assign.bind() : function (n) {
33763
33996
  for (var e = 1; e < arguments.length; e++) {
33764
33997
  var t = arguments[e];
33765
33998
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
33766
33999
  }
33767
34000
  return n;
33768
- }, _extends$13.apply(null, arguments);
34001
+ }, _extends$14.apply(null, arguments);
33769
34002
  }
33770
34003
  function SvgEmojiFoodIcon(props) {
33771
- return /*#__PURE__*/createElement$1("svg", _extends$13({
34004
+ return /*#__PURE__*/createElement$1("svg", _extends$14({
33772
34005
  width: 20,
33773
34006
  height: 20,
33774
34007
  viewBox: "0 0 20.01 20.01",
33775
34008
  fill: "none",
33776
34009
  xmlns: "http://www.w3.org/2000/svg"
33777
- }, props), _path$12 || (_path$12 = /*#__PURE__*/createElement$1("path", {
34010
+ }, props), _path$13 || (_path$13 = /*#__PURE__*/createElement$1("path", {
33778
34011
  fillRule: "evenodd",
33779
34012
  clipRule: "evenodd",
33780
34013
  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",
@@ -33792,24 +34025,24 @@ function SvgEmojiFoodIcon(props) {
33792
34025
  })));
33793
34026
  }
33794
34027
 
33795
- var _path$13;
33796
- function _extends$14() {
33797
- return _extends$14 = Object.assign ? Object.assign.bind() : function (n) {
34028
+ var _path$14;
34029
+ function _extends$15() {
34030
+ return _extends$15 = Object.assign ? Object.assign.bind() : function (n) {
33798
34031
  for (var e = 1; e < arguments.length; e++) {
33799
34032
  var t = arguments[e];
33800
34033
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
33801
34034
  }
33802
34035
  return n;
33803
- }, _extends$14.apply(null, arguments);
34036
+ }, _extends$15.apply(null, arguments);
33804
34037
  }
33805
34038
  function SvgEmojiTravelIcon(props) {
33806
- return /*#__PURE__*/createElement$1("svg", _extends$14({
34039
+ return /*#__PURE__*/createElement$1("svg", _extends$15({
33807
34040
  width: 20,
33808
34041
  height: 20,
33809
34042
  viewBox: "0 0 20.01 20.01",
33810
34043
  fill: "none",
33811
34044
  xmlns: "http://www.w3.org/2000/svg"
33812
- }, props), _path$13 || (_path$13 = /*#__PURE__*/createElement$1("path", {
34045
+ }, props), _path$14 || (_path$14 = /*#__PURE__*/createElement$1("path", {
33813
34046
  fillRule: "evenodd",
33814
34047
  clipRule: "evenodd",
33815
34048
  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",
@@ -33817,31 +34050,31 @@ function SvgEmojiTravelIcon(props) {
33817
34050
  })));
33818
34051
  }
33819
34052
 
33820
- var _g, _defs$1;
33821
- function _extends$15() {
33822
- return _extends$15 = Object.assign ? Object.assign.bind() : function (n) {
34053
+ var _g$1, _defs$2;
34054
+ function _extends$16() {
34055
+ return _extends$16 = Object.assign ? Object.assign.bind() : function (n) {
33823
34056
  for (var e = 1; e < arguments.length; e++) {
33824
34057
  var t = arguments[e];
33825
34058
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
33826
34059
  }
33827
34060
  return n;
33828
- }, _extends$15.apply(null, arguments);
34061
+ }, _extends$16.apply(null, arguments);
33829
34062
  }
33830
34063
  function SvgEmojiObjectIcon(props) {
33831
- return /*#__PURE__*/createElement$1("svg", _extends$15({
34064
+ return /*#__PURE__*/createElement$1("svg", _extends$16({
33832
34065
  width: 20,
33833
34066
  height: 20,
33834
34067
  viewBox: "0 0 20.01 20.01",
33835
34068
  fill: "none",
33836
34069
  xmlns: "http://www.w3.org/2000/svg"
33837
- }, props), _g || (_g = /*#__PURE__*/createElement$1("g", {
34070
+ }, props), _g$1 || (_g$1 = /*#__PURE__*/createElement$1("g", {
33838
34071
  clipPath: "url(#emojiObjectIcon_svg__clip0_1048_8610)"
33839
34072
  }, /*#__PURE__*/createElement$1("path", {
33840
34073
  fillRule: "evenodd",
33841
34074
  clipRule: "evenodd",
33842
34075
  d: "M10 .917a.75.75 0 01.75.75V2.5a.75.75 0 01-1.5 0v-.833a.75.75 0 01.75-.75zM3.553 3.553a.75.75 0 011.06 0l.5.5a.75.75 0 11-1.06 1.061l-.5-.5a.75.75 0 010-1.06zm12.894 0a.75.75 0 010 1.061l-.5.5a.75.75 0 11-1.06-1.06l.5-.5a.75.75 0 011.06 0zM10 5.75a4.25 4.25 0 100 8.5 4.25 4.25 0 000-8.5zM4.25 10a5.75 5.75 0 118.167 5.22v1.447a2.417 2.417 0 01-4.834 0v-1.448A5.75 5.75 0 014.25 10zm4.833 5.678v.989a.917.917 0 101.834 0v-.99a5.795 5.795 0 01-1.834 0zM.917 10a.75.75 0 01.75-.75H2.5a.75.75 0 110 1.5h-.833a.75.75 0 01-.75-.75zm15.833 0a.75.75 0 01.75-.75h.833a.75.75 0 110 1.5H17.5a.75.75 0 01-.75-.75z",
33843
34076
  fill: "CurrentColor"
33844
- }))), _defs$1 || (_defs$1 = /*#__PURE__*/createElement$1("defs", null, /*#__PURE__*/createElement$1("clipPath", {
34077
+ }))), _defs$2 || (_defs$2 = /*#__PURE__*/createElement$1("defs", null, /*#__PURE__*/createElement$1("clipPath", {
33845
34078
  id: "emojiObjectIcon_svg__clip0_1048_8610"
33846
34079
  }, /*#__PURE__*/createElement$1("path", {
33847
34080
  fill: "CurrentColor",
@@ -33849,24 +34082,24 @@ function SvgEmojiObjectIcon(props) {
33849
34082
  })))));
33850
34083
  }
33851
34084
 
33852
- var _path$14;
33853
- function _extends$16() {
33854
- return _extends$16 = Object.assign ? Object.assign.bind() : function (n) {
34085
+ var _path$15;
34086
+ function _extends$17() {
34087
+ return _extends$17 = Object.assign ? Object.assign.bind() : function (n) {
33855
34088
  for (var e = 1; e < arguments.length; e++) {
33856
34089
  var t = arguments[e];
33857
34090
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
33858
34091
  }
33859
34092
  return n;
33860
- }, _extends$16.apply(null, arguments);
34093
+ }, _extends$17.apply(null, arguments);
33861
34094
  }
33862
34095
  function SvgEmojiSymbolsIcon(props) {
33863
- return /*#__PURE__*/createElement$1("svg", _extends$16({
34096
+ return /*#__PURE__*/createElement$1("svg", _extends$17({
33864
34097
  width: 20,
33865
34098
  height: 20,
33866
34099
  viewBox: "0 0 20.01 20.01",
33867
34100
  fill: "none",
33868
34101
  xmlns: "http://www.w3.org/2000/svg"
33869
- }, props), _path$14 || (_path$14 = /*#__PURE__*/createElement$1("path", {
34102
+ }, props), _path$15 || (_path$15 = /*#__PURE__*/createElement$1("path", {
33870
34103
  fillRule: "evenodd",
33871
34104
  clipRule: "evenodd",
33872
34105
  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",
@@ -33874,24 +34107,24 @@ function SvgEmojiSymbolsIcon(props) {
33874
34107
  })));
33875
34108
  }
33876
34109
 
33877
- var _path$15;
33878
- function _extends$17() {
33879
- return _extends$17 = Object.assign ? Object.assign.bind() : function (n) {
34110
+ var _path$16;
34111
+ function _extends$18() {
34112
+ return _extends$18 = Object.assign ? Object.assign.bind() : function (n) {
33880
34113
  for (var e = 1; e < arguments.length; e++) {
33881
34114
  var t = arguments[e];
33882
34115
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
33883
34116
  }
33884
34117
  return n;
33885
- }, _extends$17.apply(null, arguments);
34118
+ }, _extends$18.apply(null, arguments);
33886
34119
  }
33887
34120
  function SvgEmojiFlagicon(props) {
33888
- return /*#__PURE__*/createElement$1("svg", _extends$17({
34121
+ return /*#__PURE__*/createElement$1("svg", _extends$18({
33889
34122
  width: 20,
33890
34123
  height: 20,
33891
34124
  viewBox: "0 0 20.01 20.01",
33892
34125
  fill: "none",
33893
34126
  xmlns: "http://www.w3.org/2000/svg"
33894
- }, props), _path$15 || (_path$15 = /*#__PURE__*/createElement$1("path", {
34127
+ }, props), _path$16 || (_path$16 = /*#__PURE__*/createElement$1("path", {
33895
34128
  fillRule: "evenodd",
33896
34129
  clipRule: "evenodd",
33897
34130
  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",
@@ -34387,24 +34620,24 @@ var Emoji = styled.li(_templateObject8$c || (_templateObject8$c = _taggedTemplat
34387
34620
  return props.hoverBackgroundColor;
34388
34621
  });
34389
34622
 
34390
- var _path$16;
34391
- function _extends$18() {
34392
- return _extends$18 = Object.assign ? Object.assign.bind() : function (n) {
34623
+ var _path$17;
34624
+ function _extends$19() {
34625
+ return _extends$19 = Object.assign ? Object.assign.bind() : function (n) {
34393
34626
  for (var e = 1; e < arguments.length; e++) {
34394
34627
  var t = arguments[e];
34395
34628
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
34396
34629
  }
34397
34630
  return n;
34398
- }, _extends$18.apply(null, arguments);
34631
+ }, _extends$19.apply(null, arguments);
34399
34632
  }
34400
34633
  function SvgPlus(props) {
34401
- return /*#__PURE__*/createElement$1("svg", _extends$18({
34634
+ return /*#__PURE__*/createElement$1("svg", _extends$19({
34402
34635
  width: 20,
34403
34636
  height: 20,
34404
34637
  viewBox: "0 0 20.01 20.01",
34405
34638
  fill: "none",
34406
34639
  xmlns: "http://www.w3.org/2000/svg"
34407
- }, props), _path$16 || (_path$16 = /*#__PURE__*/createElement$1("path", {
34640
+ }, props), _path$17 || (_path$17 = /*#__PURE__*/createElement$1("path", {
34408
34641
  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",
34409
34642
  fill: "currentColor"
34410
34643
  })));
@@ -34962,23 +35195,23 @@ var Question = styled.div(_templateObject10$5 || (_templateObject10$5 = _taggedT
34962
35195
  return p.color;
34963
35196
  });
34964
35197
 
34965
- var _path$17;
34966
- function _extends$19() {
34967
- return _extends$19 = Object.assign ? Object.assign.bind() : function (n) {
35198
+ var _path$18;
35199
+ function _extends$1a() {
35200
+ return _extends$1a = Object.assign ? Object.assign.bind() : function (n) {
34968
35201
  for (var e = 1; e < arguments.length; e++) {
34969
35202
  var t = arguments[e];
34970
35203
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
34971
35204
  }
34972
35205
  return n;
34973
- }, _extends$19.apply(null, arguments);
35206
+ }, _extends$1a.apply(null, arguments);
34974
35207
  }
34975
35208
  function SvgFilledCheckbox(props) {
34976
- return /*#__PURE__*/createElement$1("svg", _extends$19({
35209
+ return /*#__PURE__*/createElement$1("svg", _extends$1a({
34977
35210
  width: 19,
34978
35211
  height: 19,
34979
35212
  fill: "none",
34980
35213
  xmlns: "http://www.w3.org/2000/svg"
34981
- }, props), _path$17 || (_path$17 = /*#__PURE__*/createElement$1("path", {
35214
+ }, props), _path$18 || (_path$18 = /*#__PURE__*/createElement$1("path", {
34982
35215
  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",
34983
35216
  fill: "currentColor"
34984
35217
  })));
@@ -39579,24 +39812,24 @@ var MemberName$2 = styled.h3(_templateObject5$q || (_templateObject5$q = _tagged
39579
39812
  return props.color;
39580
39813
  });
39581
39814
 
39582
- var _path$18;
39583
- function _extends$1a() {
39584
- return _extends$1a = Object.assign ? Object.assign.bind() : function (n) {
39815
+ var _path$19;
39816
+ function _extends$1b() {
39817
+ return _extends$1b = Object.assign ? Object.assign.bind() : function (n) {
39585
39818
  for (var e = 1; e < arguments.length; e++) {
39586
39819
  var t = arguments[e];
39587
39820
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
39588
39821
  }
39589
39822
  return n;
39590
- }, _extends$1a.apply(null, arguments);
39823
+ }, _extends$1b.apply(null, arguments);
39591
39824
  }
39592
39825
  function SvgBold(props) {
39593
- return /*#__PURE__*/createElement$1("svg", _extends$1a({
39826
+ return /*#__PURE__*/createElement$1("svg", _extends$1b({
39594
39827
  width: 18,
39595
39828
  height: 18,
39596
39829
  viewBox: "0 0 18.01 18.01",
39597
39830
  fill: "none",
39598
39831
  xmlns: "http://www.w3.org/2000/svg"
39599
- }, props), _path$18 || (_path$18 = /*#__PURE__*/createElement$1("path", {
39832
+ }, props), _path$19 || (_path$19 = /*#__PURE__*/createElement$1("path", {
39600
39833
  fillRule: "evenodd",
39601
39834
  clipRule: "evenodd",
39602
39835
  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",
@@ -39604,24 +39837,24 @@ function SvgBold(props) {
39604
39837
  })));
39605
39838
  }
39606
39839
 
39607
- var _path$19;
39608
- function _extends$1b() {
39609
- return _extends$1b = Object.assign ? Object.assign.bind() : function (n) {
39840
+ var _path$1a;
39841
+ function _extends$1c() {
39842
+ return _extends$1c = Object.assign ? Object.assign.bind() : function (n) {
39610
39843
  for (var e = 1; e < arguments.length; e++) {
39611
39844
  var t = arguments[e];
39612
39845
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
39613
39846
  }
39614
39847
  return n;
39615
- }, _extends$1b.apply(null, arguments);
39848
+ }, _extends$1c.apply(null, arguments);
39616
39849
  }
39617
39850
  function SvgItalic(props) {
39618
- return /*#__PURE__*/createElement$1("svg", _extends$1b({
39851
+ return /*#__PURE__*/createElement$1("svg", _extends$1c({
39619
39852
  width: 18,
39620
39853
  height: 18,
39621
39854
  viewBox: "0 0 18.01 18.01",
39622
39855
  fill: "none",
39623
39856
  xmlns: "http://www.w3.org/2000/svg"
39624
- }, props), _path$19 || (_path$19 = /*#__PURE__*/createElement$1("path", {
39857
+ }, props), _path$1a || (_path$1a = /*#__PURE__*/createElement$1("path", {
39625
39858
  fillRule: "evenodd",
39626
39859
  clipRule: "evenodd",
39627
39860
  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",
@@ -39629,24 +39862,24 @@ function SvgItalic(props) {
39629
39862
  })));
39630
39863
  }
39631
39864
 
39632
- var _g$1;
39633
- function _extends$1c() {
39634
- return _extends$1c = Object.assign ? Object.assign.bind() : function (n) {
39865
+ var _g$2;
39866
+ function _extends$1d() {
39867
+ return _extends$1d = Object.assign ? Object.assign.bind() : function (n) {
39635
39868
  for (var e = 1; e < arguments.length; e++) {
39636
39869
  var t = arguments[e];
39637
39870
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
39638
39871
  }
39639
39872
  return n;
39640
- }, _extends$1c.apply(null, arguments);
39873
+ }, _extends$1d.apply(null, arguments);
39641
39874
  }
39642
39875
  function SvgStrikethrough(props) {
39643
- return /*#__PURE__*/createElement$1("svg", _extends$1c({
39876
+ return /*#__PURE__*/createElement$1("svg", _extends$1d({
39644
39877
  width: 18,
39645
39878
  height: 18,
39646
39879
  viewBox: "0 0 18.01 18.01",
39647
39880
  fill: "none",
39648
39881
  xmlns: "http://www.w3.org/2000/svg"
39649
- }, props), _g$1 || (_g$1 = /*#__PURE__*/createElement$1("g", {
39882
+ }, props), _g$2 || (_g$2 = /*#__PURE__*/createElement$1("g", {
39650
39883
  fillRule: "evenodd",
39651
39884
  clipRule: "evenodd",
39652
39885
  fill: "CurrentColor"
@@ -39657,47 +39890,47 @@ function SvgStrikethrough(props) {
39657
39890
  }))));
39658
39891
  }
39659
39892
 
39660
- var _path$1a;
39661
- function _extends$1d() {
39662
- return _extends$1d = Object.assign ? Object.assign.bind() : function (n) {
39893
+ var _path$1b;
39894
+ function _extends$1e() {
39895
+ return _extends$1e = Object.assign ? Object.assign.bind() : function (n) {
39663
39896
  for (var e = 1; e < arguments.length; e++) {
39664
39897
  var t = arguments[e];
39665
39898
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
39666
39899
  }
39667
39900
  return n;
39668
- }, _extends$1d.apply(null, arguments);
39901
+ }, _extends$1e.apply(null, arguments);
39669
39902
  }
39670
39903
  function SvgMono(props) {
39671
- return /*#__PURE__*/createElement$1("svg", _extends$1d({
39904
+ return /*#__PURE__*/createElement$1("svg", _extends$1e({
39672
39905
  width: 18,
39673
39906
  height: 18,
39674
39907
  viewBox: "0 0 18.01 18.01",
39675
39908
  fill: "none",
39676
39909
  xmlns: "http://www.w3.org/2000/svg"
39677
- }, props), _path$1a || (_path$1a = /*#__PURE__*/createElement$1("path", {
39910
+ }, props), _path$1b || (_path$1b = /*#__PURE__*/createElement$1("path", {
39678
39911
  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",
39679
39912
  fill: "CurrentColor"
39680
39913
  })));
39681
39914
  }
39682
39915
 
39683
- var _g$2;
39684
- function _extends$1e() {
39685
- return _extends$1e = Object.assign ? Object.assign.bind() : function (n) {
39916
+ var _g$3;
39917
+ function _extends$1f() {
39918
+ return _extends$1f = Object.assign ? Object.assign.bind() : function (n) {
39686
39919
  for (var e = 1; e < arguments.length; e++) {
39687
39920
  var t = arguments[e];
39688
39921
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
39689
39922
  }
39690
39923
  return n;
39691
- }, _extends$1e.apply(null, arguments);
39924
+ }, _extends$1f.apply(null, arguments);
39692
39925
  }
39693
39926
  function SvgUnderline(props) {
39694
- return /*#__PURE__*/createElement$1("svg", _extends$1e({
39927
+ return /*#__PURE__*/createElement$1("svg", _extends$1f({
39695
39928
  width: 18,
39696
39929
  height: 18,
39697
39930
  viewBox: "0 0 18.01 18.01",
39698
39931
  fill: "none",
39699
39932
  xmlns: "http://www.w3.org/2000/svg"
39700
- }, props), _g$2 || (_g$2 = /*#__PURE__*/createElement$1("g", {
39933
+ }, props), _g$3 || (_g$3 = /*#__PURE__*/createElement$1("g", {
39701
39934
  fill: "CurrentColor"
39702
39935
  }, /*#__PURE__*/createElement$1("path", {
39703
39936
  d: "M13 9c0 2.79-1.368 4.184-4.105 4.184S4.789 11.79 4.789 9V2.384c0-.242.085-.447.253-.616a.864.864 0 01.632-.268c.242 0 .447.09.615.268a.814.814 0 01.269.616V9.08c0 .926.19 1.6.568 2.021.39.421.99.632 1.8.632s1.406-.21 1.784-.632c.39-.421.585-1.095.585-2.021V2.353a.82.82 0 01.252-.6.82.82 0 01.6-.253.82.82 0 01.6.253.82.82 0 01.253.6V9z"
@@ -40653,18 +40886,18 @@ var Emoji$1 = styled.li(_templateObject8$k || (_templateObject8$k = _taggedTempl
40653
40886
 
40654
40887
  var CAN_USE_DOM = typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined';
40655
40888
 
40656
- var _circle$6, _path$1b;
40657
- function _extends$1f() {
40658
- return _extends$1f = Object.assign ? Object.assign.bind() : function (n) {
40889
+ var _circle$6, _path$1c;
40890
+ function _extends$1g() {
40891
+ return _extends$1g = Object.assign ? Object.assign.bind() : function (n) {
40659
40892
  for (var e = 1; e < arguments.length; e++) {
40660
40893
  var t = arguments[e];
40661
40894
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
40662
40895
  }
40663
40896
  return n;
40664
- }, _extends$1f.apply(null, arguments);
40897
+ }, _extends$1g.apply(null, arguments);
40665
40898
  }
40666
40899
  function SvgSend(props) {
40667
- return /*#__PURE__*/createElement$1("svg", _extends$1f({
40900
+ return /*#__PURE__*/createElement$1("svg", _extends$1g({
40668
40901
  width: 32,
40669
40902
  height: 32,
40670
40903
  fill: "none",
@@ -40674,142 +40907,142 @@ function SvgSend(props) {
40674
40907
  cy: 16,
40675
40908
  r: 16,
40676
40909
  fill: "currentColor"
40677
- })), _path$1b || (_path$1b = /*#__PURE__*/createElement$1("path", {
40910
+ })), _path$1c || (_path$1c = /*#__PURE__*/createElement$1("path", {
40678
40911
  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",
40679
40912
  fill: "#fff"
40680
40913
  })));
40681
40914
  }
40682
40915
 
40683
- var _path$1c;
40684
- function _extends$1g() {
40685
- return _extends$1g = Object.assign ? Object.assign.bind() : function (n) {
40916
+ var _path$1d;
40917
+ function _extends$1h() {
40918
+ return _extends$1h = Object.assign ? Object.assign.bind() : function (n) {
40686
40919
  for (var e = 1; e < arguments.length; e++) {
40687
40920
  var t = arguments[e];
40688
40921
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
40689
40922
  }
40690
40923
  return n;
40691
- }, _extends$1g.apply(null, arguments);
40924
+ }, _extends$1h.apply(null, arguments);
40692
40925
  }
40693
40926
  function SvgEye(props) {
40694
- return /*#__PURE__*/createElement$1("svg", _extends$1g({
40927
+ return /*#__PURE__*/createElement$1("svg", _extends$1h({
40695
40928
  width: 25,
40696
40929
  height: 24,
40697
40930
  fill: "none",
40698
40931
  xmlns: "http://www.w3.org/2000/svg"
40699
- }, props), _path$1c || (_path$1c = /*#__PURE__*/createElement$1("path", {
40932
+ }, props), _path$1d || (_path$1d = /*#__PURE__*/createElement$1("path", {
40700
40933
  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",
40701
40934
  fill: "CurrentColor"
40702
40935
  })));
40703
40936
  }
40704
40937
 
40705
- var _path$1d;
40706
- function _extends$1h() {
40707
- return _extends$1h = Object.assign ? Object.assign.bind() : function (n) {
40938
+ var _path$1e;
40939
+ function _extends$1i() {
40940
+ return _extends$1i = Object.assign ? Object.assign.bind() : function (n) {
40708
40941
  for (var e = 1; e < arguments.length; e++) {
40709
40942
  var t = arguments[e];
40710
40943
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
40711
40944
  }
40712
40945
  return n;
40713
- }, _extends$1h.apply(null, arguments);
40946
+ }, _extends$1i.apply(null, arguments);
40714
40947
  }
40715
40948
  function SvgAddAttachment(props) {
40716
- return /*#__PURE__*/createElement$1("svg", _extends$1h({
40949
+ return /*#__PURE__*/createElement$1("svg", _extends$1i({
40717
40950
  width: 24,
40718
40951
  height: 24,
40719
40952
  viewBox: "0 0 24.01 24.01",
40720
40953
  fill: "none",
40721
40954
  xmlns: "http://www.w3.org/2000/svg"
40722
- }, props), _path$1d || (_path$1d = /*#__PURE__*/createElement$1("path", {
40955
+ }, props), _path$1e || (_path$1e = /*#__PURE__*/createElement$1("path", {
40723
40956
  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",
40724
40957
  fill: "CurrentColor"
40725
40958
  })));
40726
40959
  }
40727
40960
 
40728
- var _path$1e;
40729
- function _extends$1i() {
40730
- return _extends$1i = Object.assign ? Object.assign.bind() : function (n) {
40961
+ var _path$1f;
40962
+ function _extends$1j() {
40963
+ return _extends$1j = Object.assign ? Object.assign.bind() : function (n) {
40731
40964
  for (var e = 1; e < arguments.length; e++) {
40732
40965
  var t = arguments[e];
40733
40966
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
40734
40967
  }
40735
40968
  return n;
40736
- }, _extends$1i.apply(null, arguments);
40969
+ }, _extends$1j.apply(null, arguments);
40737
40970
  }
40738
40971
  function SvgErrorCircle(props) {
40739
- return /*#__PURE__*/createElement$1("svg", _extends$1i({
40972
+ return /*#__PURE__*/createElement$1("svg", _extends$1j({
40740
40973
  width: 25,
40741
40974
  height: 24,
40742
40975
  fill: "none",
40743
40976
  xmlns: "http://www.w3.org/2000/svg"
40744
- }, props), _path$1e || (_path$1e = /*#__PURE__*/createElement$1("path", {
40977
+ }, props), _path$1f || (_path$1f = /*#__PURE__*/createElement$1("path", {
40745
40978
  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",
40746
40979
  fill: "#FFB73D"
40747
40980
  })));
40748
40981
  }
40749
40982
 
40750
- var _path$1f;
40751
- function _extends$1j() {
40752
- return _extends$1j = Object.assign ? Object.assign.bind() : function (n) {
40983
+ var _path$1g;
40984
+ function _extends$1k() {
40985
+ return _extends$1k = Object.assign ? Object.assign.bind() : function (n) {
40753
40986
  for (var e = 1; e < arguments.length; e++) {
40754
40987
  var t = arguments[e];
40755
40988
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
40756
40989
  }
40757
40990
  return n;
40758
- }, _extends$1j.apply(null, arguments);
40991
+ }, _extends$1k.apply(null, arguments);
40759
40992
  }
40760
40993
  function SvgPlayRecord(props) {
40761
- return /*#__PURE__*/createElement$1("svg", _extends$1j({
40994
+ return /*#__PURE__*/createElement$1("svg", _extends$1k({
40762
40995
  width: 20,
40763
40996
  height: 20,
40764
40997
  viewBox: "0 0 20.01 20.01",
40765
40998
  fill: "none",
40766
40999
  xmlns: "http://www.w3.org/2000/svg"
40767
- }, props), _path$1f || (_path$1f = /*#__PURE__*/createElement$1("path", {
41000
+ }, props), _path$1g || (_path$1g = /*#__PURE__*/createElement$1("path", {
40768
41001
  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",
40769
41002
  fill: "CurrentColor"
40770
41003
  })));
40771
41004
  }
40772
41005
 
40773
- var _path$1g;
40774
- function _extends$1k() {
40775
- return _extends$1k = Object.assign ? Object.assign.bind() : function (n) {
41006
+ var _path$1h;
41007
+ function _extends$1l() {
41008
+ return _extends$1l = Object.assign ? Object.assign.bind() : function (n) {
40776
41009
  for (var e = 1; e < arguments.length; e++) {
40777
41010
  var t = arguments[e];
40778
41011
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
40779
41012
  }
40780
41013
  return n;
40781
- }, _extends$1k.apply(null, arguments);
41014
+ }, _extends$1l.apply(null, arguments);
40782
41015
  }
40783
41016
  function SvgPauseRecord(props) {
40784
- return /*#__PURE__*/createElement$1("svg", _extends$1k({
41017
+ return /*#__PURE__*/createElement$1("svg", _extends$1l({
40785
41018
  width: 20,
40786
41019
  height: 20,
40787
41020
  viewBox: "0 0 20.01 20.01",
40788
41021
  fill: "none",
40789
41022
  xmlns: "http://www.w3.org/2000/svg"
40790
- }, props), _path$1g || (_path$1g = /*#__PURE__*/createElement$1("path", {
41023
+ }, props), _path$1h || (_path$1h = /*#__PURE__*/createElement$1("path", {
40791
41024
  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",
40792
41025
  fill: "CurrentColor"
40793
41026
  })));
40794
41027
  }
40795
41028
 
40796
- var _path$1h;
40797
- function _extends$1l() {
40798
- return _extends$1l = Object.assign ? Object.assign.bind() : function (n) {
41029
+ var _path$1i;
41030
+ function _extends$1m() {
41031
+ return _extends$1m = Object.assign ? Object.assign.bind() : function (n) {
40799
41032
  for (var e = 1; e < arguments.length; e++) {
40800
41033
  var t = arguments[e];
40801
41034
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
40802
41035
  }
40803
41036
  return n;
40804
- }, _extends$1l.apply(null, arguments);
41037
+ }, _extends$1m.apply(null, arguments);
40805
41038
  }
40806
41039
  function SvgStopRecord(props) {
40807
- return /*#__PURE__*/createElement$1("svg", _extends$1l({
41040
+ return /*#__PURE__*/createElement$1("svg", _extends$1m({
40808
41041
  width: 20,
40809
41042
  height: 20,
40810
41043
  fill: "none",
40811
41044
  xmlns: "http://www.w3.org/2000/svg"
40812
- }, props), _path$1h || (_path$1h = /*#__PURE__*/createElement$1("path", {
41045
+ }, props), _path$1i || (_path$1i = /*#__PURE__*/createElement$1("path", {
40813
41046
  fillRule: "evenodd",
40814
41047
  clipRule: "evenodd",
40815
41048
  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",
@@ -40817,18 +41050,18 @@ function SvgStopRecord(props) {
40817
41050
  })));
40818
41051
  }
40819
41052
 
40820
- var _circle$7, _path$1i, _path2$9;
40821
- function _extends$1m() {
40822
- return _extends$1m = Object.assign ? Object.assign.bind() : function (n) {
41053
+ var _circle$7, _path$1j, _path2$9;
41054
+ function _extends$1n() {
41055
+ return _extends$1n = Object.assign ? Object.assign.bind() : function (n) {
40823
41056
  for (var e = 1; e < arguments.length; e++) {
40824
41057
  var t = arguments[e];
40825
41058
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
40826
41059
  }
40827
41060
  return n;
40828
- }, _extends$1m.apply(null, arguments);
41061
+ }, _extends$1n.apply(null, arguments);
40829
41062
  }
40830
41063
  function SvgRecordButton(props) {
40831
- return /*#__PURE__*/createElement$1("svg", _extends$1m({
41064
+ return /*#__PURE__*/createElement$1("svg", _extends$1n({
40832
41065
  width: 32,
40833
41066
  height: 32,
40834
41067
  viewBox: "0 0 32.01 32.01",
@@ -40839,7 +41072,7 @@ function SvgRecordButton(props) {
40839
41072
  cy: 16,
40840
41073
  r: 16,
40841
41074
  fill: "CurrentColor"
40842
- })), _path$1i || (_path$1i = /*#__PURE__*/createElement$1("path", {
41075
+ })), _path$1j || (_path$1j = /*#__PURE__*/createElement$1("path", {
40843
41076
  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",
40844
41077
  fill: "#fff"
40845
41078
  })), _path2$9 || (_path2$9 = /*#__PURE__*/createElement$1("path", {
@@ -41499,23 +41732,23 @@ var RecordingAnimation = function RecordingAnimation(_ref2) {
41499
41732
  }));
41500
41733
  };
41501
41734
 
41502
- var _path$1j;
41503
- function _extends$1n() {
41504
- return _extends$1n = Object.assign ? Object.assign.bind() : function (n) {
41735
+ var _path$1k;
41736
+ function _extends$1o() {
41737
+ return _extends$1o = Object.assign ? Object.assign.bind() : function (n) {
41505
41738
  for (var e = 1; e < arguments.length; e++) {
41506
41739
  var t = arguments[e];
41507
41740
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
41508
41741
  }
41509
41742
  return n;
41510
- }, _extends$1n.apply(null, arguments);
41743
+ }, _extends$1o.apply(null, arguments);
41511
41744
  }
41512
41745
  function SvgDotsVertica(props) {
41513
- return /*#__PURE__*/createElement$1("svg", _extends$1n({
41746
+ return /*#__PURE__*/createElement$1("svg", _extends$1o({
41514
41747
  width: 16,
41515
41748
  height: 16,
41516
41749
  fill: "none",
41517
41750
  xmlns: "http://www.w3.org/2000/svg"
41518
- }, props), _path$1j || (_path$1j = /*#__PURE__*/createElement$1("path", {
41751
+ }, props), _path$1k || (_path$1k = /*#__PURE__*/createElement$1("path", {
41519
41752
  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",
41520
41753
  fill: "#757D8B"
41521
41754
  })));
@@ -41941,7 +42174,7 @@ var SettingItem = styled.div(_templateObject9$i || (_templateObject9$i = _tagged
41941
42174
  return props.color;
41942
42175
  });
41943
42176
 
41944
- var _templateObject$R, _templateObject2$M, _templateObject3$F, _templateObject4$z, _templateObject5$u, _templateObject6$q, _templateObject7$p, _templateObject8$m, _templateObject9$j, _templateObject0$h, _templateObject1$e, _templateObject10$8, _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;
42177
+ var _templateObject$R, _templateObject2$M, _templateObject3$F, _templateObject4$z, _templateObject5$u, _templateObject6$q, _templateObject7$p, _templateObject8$m, _templateObject9$j, _templateObject0$h, _templateObject1$e, _templateObject10$8, _templateObject11$6, _templateObject12$5, _templateObject13$3, _templateObject14$2, _templateObject15$2, _templateObject16$2, _templateObject17$2, _templateObject18$2, _templateObject19$2, _templateObject20$2, _templateObject21$2, _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;
41945
42178
  function AutoFocusPlugin(_ref) {
41946
42179
  var messageForReply = _ref.messageForReply;
41947
42180
  var _useLexicalComposerCo = useLexicalComposerContext(),
@@ -43690,7 +43923,7 @@ var TypingFrom = styled.h5(_templateObject19$2 || (_templateObject19$2 = _tagged
43690
43923
  return props.color;
43691
43924
  });
43692
43925
  var sizeAnimation = keyframes(_templateObject20$2 || (_templateObject20$2 = _taggedTemplateLiteralLoose(["\n 0% {\n width: 2px;\n height: 2px;\n opacity: 0.4;\n }\n 50% {\n width: 2px;\n height: 2px;\n opacity: 0.4;\n }\n 100% {\n width: 6px;\n height: 6px;\n opacity: 1;\n }\n"])));
43693
- var DotOne = styled.span(_templateObject21$1 || (_templateObject21$1 = _taggedTemplateLiteralLoose([""])));
43926
+ var DotOne = styled.span(_templateObject21$2 || (_templateObject21$2 = _taggedTemplateLiteralLoose([""])));
43694
43927
  var DotTwo = styled.span(_templateObject22$1 || (_templateObject22$1 = _taggedTemplateLiteralLoose([""])));
43695
43928
  var DotThree = styled.span(_templateObject23$1 || (_templateObject23$1 = _taggedTemplateLiteralLoose([""])));
43696
43929
  var TypingAnimation = styled.div(_templateObject24$1 || (_templateObject24$1 = _taggedTemplateLiteralLoose(["\n display: flex;\n\n & > span {\n position: relative;\n width: 6px;\n height: 6px;\n margin-right: 3px;\n display: flex;\n align-items: center;\n justify-content: center;\n animation-timing-function: linear;\n\n &:after {\n content: '';\n position: absolute;\n\n width: 3.5px;\n height: 3.5px;\n border-radius: 50%;\n background-color: ", ";\n animation-name: ", ";\n animation-duration: 0.6s;\n animation-iteration-count: infinite;\n }\n }\n\n & ", " {\n &:after {\n animation-delay: 0s;\n }\n }\n\n & ", " {\n &:after {\n animation-delay: 0.2s;\n }\n }\n\n & ", " {\n &:after {\n animation-delay: 0.3s;\n }\n }\n"])), function (props) {
@@ -43766,23 +43999,23 @@ var copyToClipboard = function copyToClipboard(text) {
43766
43999
  }
43767
44000
  };
43768
44001
 
43769
- var _path$1k;
43770
- function _extends$1o() {
43771
- return _extends$1o = Object.assign ? Object.assign.bind() : function (n) {
44002
+ var _path$1l;
44003
+ function _extends$1p() {
44004
+ return _extends$1p = Object.assign ? Object.assign.bind() : function (n) {
43772
44005
  for (var e = 1; e < arguments.length; e++) {
43773
44006
  var t = arguments[e];
43774
44007
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
43775
44008
  }
43776
44009
  return n;
43777
- }, _extends$1o.apply(null, arguments);
44010
+ }, _extends$1p.apply(null, arguments);
43778
44011
  }
43779
44012
  function SvgBottom(props) {
43780
- return /*#__PURE__*/createElement$1("svg", _extends$1o({
44013
+ return /*#__PURE__*/createElement$1("svg", _extends$1p({
43781
44014
  width: 12,
43782
44015
  height: 7,
43783
44016
  fill: "none",
43784
44017
  xmlns: "http://www.w3.org/2000/svg"
43785
- }, props), _path$1k || (_path$1k = /*#__PURE__*/createElement$1("path", {
44018
+ }, props), _path$1l || (_path$1l = /*#__PURE__*/createElement$1("path", {
43786
44019
  d: "M1.5 1.5l4.5 4 4.5-4",
43787
44020
  stroke: "#676A7C",
43788
44021
  strokeWidth: 1.4,
@@ -43791,24 +44024,24 @@ function SvgBottom(props) {
43791
44024
  })));
43792
44025
  }
43793
44026
 
43794
- var _path$1l, _path2$a;
43795
- function _extends$1p() {
43796
- return _extends$1p = Object.assign ? Object.assign.bind() : function (n) {
44027
+ var _path$1m, _path2$a;
44028
+ function _extends$1q() {
44029
+ return _extends$1q = Object.assign ? Object.assign.bind() : function (n) {
43797
44030
  for (var e = 1; e < arguments.length; e++) {
43798
44031
  var t = arguments[e];
43799
44032
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
43800
44033
  }
43801
44034
  return n;
43802
- }, _extends$1p.apply(null, arguments);
44035
+ }, _extends$1q.apply(null, arguments);
43803
44036
  }
43804
44037
  function SvgMarkAsUnRead(props) {
43805
- return /*#__PURE__*/createElement$1("svg", _extends$1p({
44038
+ return /*#__PURE__*/createElement$1("svg", _extends$1q({
43806
44039
  width: 20,
43807
44040
  height: 20,
43808
44041
  viewBox: "0 0 20.01 20.01",
43809
44042
  fill: "none",
43810
44043
  xmlns: "http://www.w3.org/2000/svg"
43811
- }, props), _path$1l || (_path$1l = /*#__PURE__*/createElement$1("path", {
44044
+ }, props), _path$1m || (_path$1m = /*#__PURE__*/createElement$1("path", {
43812
44045
  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",
43813
44046
  fill: "currentColor"
43814
44047
  })), _path2$a || (_path2$a = /*#__PURE__*/createElement$1("path", {
@@ -43817,24 +44050,24 @@ function SvgMarkAsUnRead(props) {
43817
44050
  })));
43818
44051
  }
43819
44052
 
43820
- var _path$1m;
43821
- function _extends$1q() {
43822
- return _extends$1q = Object.assign ? Object.assign.bind() : function (n) {
44053
+ var _path$1n;
44054
+ function _extends$1r() {
44055
+ return _extends$1r = Object.assign ? Object.assign.bind() : function (n) {
43823
44056
  for (var e = 1; e < arguments.length; e++) {
43824
44057
  var t = arguments[e];
43825
44058
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
43826
44059
  }
43827
44060
  return n;
43828
- }, _extends$1q.apply(null, arguments);
44061
+ }, _extends$1r.apply(null, arguments);
43829
44062
  }
43830
44063
  function SvgMarkAsRead(props) {
43831
- return /*#__PURE__*/createElement$1("svg", _extends$1q({
44064
+ return /*#__PURE__*/createElement$1("svg", _extends$1r({
43832
44065
  width: 20,
43833
44066
  height: 20,
43834
44067
  viewBox: "0 0 20.01 20.01",
43835
44068
  fill: "none",
43836
44069
  xmlns: "http://www.w3.org/2000/svg"
43837
- }, props), _path$1m || (_path$1m = /*#__PURE__*/createElement$1("path", {
44070
+ }, props), _path$1n || (_path$1n = /*#__PURE__*/createElement$1("path", {
43838
44071
  fillRule: "evenodd",
43839
44072
  clipRule: "evenodd",
43840
44073
  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",
@@ -43842,23 +44075,23 @@ function SvgMarkAsRead(props) {
43842
44075
  })));
43843
44076
  }
43844
44077
 
43845
- var _path$1n;
43846
- function _extends$1r() {
43847
- return _extends$1r = Object.assign ? Object.assign.bind() : function (n) {
44078
+ var _path$1o;
44079
+ function _extends$1s() {
44080
+ return _extends$1s = Object.assign ? Object.assign.bind() : function (n) {
43848
44081
  for (var e = 1; e < arguments.length; e++) {
43849
44082
  var t = arguments[e];
43850
44083
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
43851
44084
  }
43852
44085
  return n;
43853
- }, _extends$1r.apply(null, arguments);
44086
+ }, _extends$1s.apply(null, arguments);
43854
44087
  }
43855
44088
  function SvgClear(props) {
43856
- return /*#__PURE__*/createElement$1("svg", _extends$1r({
44089
+ return /*#__PURE__*/createElement$1("svg", _extends$1s({
43857
44090
  width: 20,
43858
44091
  height: 21,
43859
44092
  fill: "none",
43860
44093
  xmlns: "http://www.w3.org/2000/svg"
43861
- }, props), _path$1n || (_path$1n = /*#__PURE__*/createElement$1("path", {
44094
+ }, props), _path$1o || (_path$1o = /*#__PURE__*/createElement$1("path", {
43862
44095
  fillRule: "evenodd",
43863
44096
  clipRule: "evenodd",
43864
44097
  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",
@@ -43866,46 +44099,46 @@ function SvgClear(props) {
43866
44099
  })));
43867
44100
  }
43868
44101
 
43869
- var _path$1o;
43870
- function _extends$1s() {
43871
- return _extends$1s = Object.assign ? Object.assign.bind() : function (n) {
44102
+ var _path$1p;
44103
+ function _extends$1t() {
44104
+ return _extends$1t = Object.assign ? Object.assign.bind() : function (n) {
43872
44105
  for (var e = 1; e < arguments.length; e++) {
43873
44106
  var t = arguments[e];
43874
44107
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
43875
44108
  }
43876
44109
  return n;
43877
- }, _extends$1s.apply(null, arguments);
44110
+ }, _extends$1t.apply(null, arguments);
43878
44111
  }
43879
44112
  function SvgBlockChannel(props) {
43880
- return /*#__PURE__*/createElement$1("svg", _extends$1s({
44113
+ return /*#__PURE__*/createElement$1("svg", _extends$1t({
43881
44114
  width: 20,
43882
44115
  height: 21,
43883
44116
  viewBox: "0 0 20.01 21.01",
43884
44117
  fill: "none",
43885
44118
  xmlns: "http://www.w3.org/2000/svg"
43886
- }, props), _path$1o || (_path$1o = /*#__PURE__*/createElement$1("path", {
44119
+ }, props), _path$1p || (_path$1p = /*#__PURE__*/createElement$1("path", {
43887
44120
  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",
43888
44121
  fill: "CurrentColor"
43889
44122
  })));
43890
44123
  }
43891
44124
 
43892
- var _path$1p, _path2$b;
43893
- function _extends$1t() {
43894
- return _extends$1t = Object.assign ? Object.assign.bind() : function (n) {
44125
+ var _path$1q, _path2$b;
44126
+ function _extends$1u() {
44127
+ return _extends$1u = Object.assign ? Object.assign.bind() : function (n) {
43895
44128
  for (var e = 1; e < arguments.length; e++) {
43896
44129
  var t = arguments[e];
43897
44130
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
43898
44131
  }
43899
44132
  return n;
43900
- }, _extends$1t.apply(null, arguments);
44133
+ }, _extends$1u.apply(null, arguments);
43901
44134
  }
43902
44135
  function SvgReport(props) {
43903
- return /*#__PURE__*/createElement$1("svg", _extends$1t({
44136
+ return /*#__PURE__*/createElement$1("svg", _extends$1u({
43904
44137
  width: 20,
43905
44138
  height: 21,
43906
44139
  fill: "none",
43907
44140
  xmlns: "http://www.w3.org/2000/svg"
43908
- }, props), _path$1p || (_path$1p = /*#__PURE__*/createElement$1("path", {
44141
+ }, props), _path$1q || (_path$1q = /*#__PURE__*/createElement$1("path", {
43909
44142
  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",
43910
44143
  fill: "CurrentColor"
43911
44144
  })), _path2$b || (_path2$b = /*#__PURE__*/createElement$1("path", {
@@ -43916,52 +44149,332 @@ function SvgReport(props) {
43916
44149
  })));
43917
44150
  }
43918
44151
 
43919
- var _path$1q;
43920
- function _extends$1u() {
43921
- return _extends$1u = Object.assign ? Object.assign.bind() : function (n) {
44152
+ var _path$1r;
44153
+ function _extends$1v() {
44154
+ return _extends$1v = Object.assign ? Object.assign.bind() : function (n) {
43922
44155
  for (var e = 1; e < arguments.length; e++) {
43923
44156
  var t = arguments[e];
43924
44157
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
43925
44158
  }
43926
44159
  return n;
43927
- }, _extends$1u.apply(null, arguments);
44160
+ }, _extends$1v.apply(null, arguments);
43928
44161
  }
43929
44162
  function SvgStar(props) {
43930
- return /*#__PURE__*/createElement$1("svg", _extends$1u({
44163
+ return /*#__PURE__*/createElement$1("svg", _extends$1v({
43931
44164
  width: 20,
43932
44165
  height: 20,
43933
44166
  fill: "none",
43934
44167
  xmlns: "http://www.w3.org/2000/svg"
43935
- }, props), _path$1q || (_path$1q = /*#__PURE__*/createElement$1("path", {
44168
+ }, props), _path$1r || (_path$1r = /*#__PURE__*/createElement$1("path", {
43936
44169
  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",
43937
44170
  fill: "#B2B6BE"
43938
44171
  })));
43939
44172
  }
43940
44173
 
43941
- var _path$1r;
43942
- function _extends$1v() {
43943
- return _extends$1v = Object.assign ? Object.assign.bind() : function (n) {
44174
+ var _path$1s;
44175
+ function _extends$1w() {
44176
+ return _extends$1w = Object.assign ? Object.assign.bind() : function (n) {
43944
44177
  for (var e = 1; e < arguments.length; e++) {
43945
44178
  var t = arguments[e];
43946
44179
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
43947
44180
  }
43948
44181
  return n;
43949
- }, _extends$1v.apply(null, arguments);
44182
+ }, _extends$1w.apply(null, arguments);
43950
44183
  }
43951
44184
  function SvgUnpin(props) {
43952
- return /*#__PURE__*/createElement$1("svg", _extends$1v({
44185
+ return /*#__PURE__*/createElement$1("svg", _extends$1w({
43953
44186
  width: 20,
43954
44187
  height: 21,
43955
44188
  viewBox: "0 0 20.01 21.01",
43956
44189
  fill: "none",
43957
44190
  xmlns: "http://www.w3.org/2000/svg"
43958
- }, props), _path$1r || (_path$1r = /*#__PURE__*/createElement$1("path", {
44191
+ }, props), _path$1s || (_path$1s = /*#__PURE__*/createElement$1("path", {
43959
44192
  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",
43960
44193
  fill: "CurrentColor"
43961
44194
  })));
43962
44195
  }
43963
44196
 
43964
- var _templateObject$S, _templateObject2$N, _templateObject3$G, _templateObject4$A, _templateObject5$v, _templateObject6$r, _templateObject7$q, _templateObject8$n, _templateObject9$k, _templateObject0$i, _templateObject1$f, _templateObject10$9, _templateObject11$7, _templateObject12$6, _templateObject13$4, _templateObject14$3, _templateObject15$3, _templateObject16$3;
44197
+ var _path$1t, _path2$c;
44198
+ function _extends$1x() {
44199
+ return _extends$1x = Object.assign ? Object.assign.bind() : function (n) {
44200
+ for (var e = 1; e < arguments.length; e++) {
44201
+ var t = arguments[e];
44202
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
44203
+ }
44204
+ return n;
44205
+ }, _extends$1x.apply(null, arguments);
44206
+ }
44207
+ function SvgWatch(props) {
44208
+ return /*#__PURE__*/createElement$1("svg", _extends$1x({
44209
+ width: 20,
44210
+ height: 20,
44211
+ fill: "none",
44212
+ xmlns: "http://www.w3.org/2000/svg"
44213
+ }, props), _path$1t || (_path$1t = /*#__PURE__*/createElement$1("path", {
44214
+ d: "M11.724 1.329a.814.814 0 110 1.628h-.91V4.23a7.206 7.206 0 013.556 1.42l.204.161.008.006h0l1.01 1.009.009.006-.001.001a7.243 7.243 0 11-6.414-2.603V2.958h-.909a.815.815 0 010-1.628h3.447z",
44215
+ fill: "currentColor",
44216
+ stroke: "currentColor",
44217
+ strokeWidth: 0.2
44218
+ })), _path2$c || (_path2$c = /*#__PURE__*/createElement$1("path", {
44219
+ className: "watch_svg__watch-ticks",
44220
+ fillRule: "evenodd",
44221
+ clipRule: "evenodd",
44222
+ d: "M10.015 7.788c.47 0 .849.38.849.848v2.821l2.48.93a.848.848 0 11-.596 1.59l-3.03-1.137a.849.849 0 01-.551-.795V8.636c0-.468.38-.848.848-.848z",
44223
+ fill: "currentColor"
44224
+ })));
44225
+ }
44226
+
44227
+ var _path$1u;
44228
+ function _extends$1y() {
44229
+ return _extends$1y = Object.assign ? Object.assign.bind() : function (n) {
44230
+ for (var e = 1; e < arguments.length; e++) {
44231
+ var t = arguments[e];
44232
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
44233
+ }
44234
+ return n;
44235
+ }, _extends$1y.apply(null, arguments);
44236
+ }
44237
+ function SvgChevronBottom(props) {
44238
+ return /*#__PURE__*/createElement$1("svg", _extends$1y({
44239
+ width: 16,
44240
+ height: 16,
44241
+ fill: "none",
44242
+ xmlns: "http://www.w3.org/2000/svg"
44243
+ }, props), _path$1u || (_path$1u = /*#__PURE__*/createElement$1("path", {
44244
+ fillRule: "evenodd",
44245
+ clipRule: "evenodd",
44246
+ d: "M3.293 5.626a1 1 0 000 1.414l4 4a1 1 0 001.414 0l4-4a1 1 0 00-1.414-1.414L8 8.919 4.707 5.626a1 1 0 00-1.414 0z",
44247
+ fill: "#818C99"
44248
+ })));
44249
+ }
44250
+
44251
+ var _templateObject$S, _templateObject2$N, _templateObject3$G, _templateObject4$A, _templateObject5$v, _templateObject6$r, _templateObject7$q, _templateObject8$n;
44252
+ var TIMER_OPTIONS = [{
44253
+ key: 'off',
44254
+ label: 'Off'
44255
+ }, {
44256
+ key: '1day',
44257
+ label: '1 day'
44258
+ }, {
44259
+ key: '1week',
44260
+ label: '1 week'
44261
+ }, {
44262
+ key: '1month',
44263
+ label: '1 month'
44264
+ }];
44265
+ function DisappearingMessagesPopup(_ref) {
44266
+ var theme = _ref.theme,
44267
+ togglePopup = _ref.togglePopup,
44268
+ handleSetTimer = _ref.handleSetTimer,
44269
+ currentTimer = _ref.currentTimer;
44270
+ var colors = useColors();
44271
+ var accentColor = colors[THEME_COLORS.ACCENT],
44272
+ background = colors[THEME_COLORS.BACKGROUND],
44273
+ textPrimary = colors[THEME_COLORS.TEXT_PRIMARY],
44274
+ surface1 = colors[THEME_COLORS.SURFACE_1],
44275
+ warningColor = colors[THEME_COLORS.WARNING],
44276
+ iconInactive = colors[THEME_COLORS.ICON_INACTIVE],
44277
+ textOnPrimary = colors[THEME_COLORS.TEXT_ON_PRIMARY],
44278
+ iconPrimary = colors[THEME_COLORS.ICON_PRIMARY],
44279
+ textSecondary = colors[THEME_COLORS.TEXT_SECONDARY],
44280
+ backgroundHovered = colors[THEME_COLORS.BACKGROUND_HOVERED],
44281
+ borderColor = colors[THEME_COLORS.BORDER];
44282
+ var _useState = useState('off'),
44283
+ selectedOption = _useState[0],
44284
+ setSelectedOption = _useState[1];
44285
+ var _useState2 = useState('2days'),
44286
+ customValue = _useState2[0],
44287
+ setCustomValue = _useState2[1];
44288
+ var _useState3 = useState(true),
44289
+ initialRender = _useState3[0],
44290
+ setInitialRender = _useState3[1];
44291
+ var _useState4 = useState(false),
44292
+ isDropdownOpen = _useState4[0],
44293
+ setDropdownOpen = _useState4[1];
44294
+ var previousTimerRef = useRef(currentTimer);
44295
+ var hasInitializedRef = useRef(false);
44296
+ useEffect(function () {
44297
+ if (previousTimerRef.current !== currentTimer) {
44298
+ setInitialRender(true);
44299
+ hasInitializedRef.current = false;
44300
+ previousTimerRef.current = currentTimer;
44301
+ }
44302
+ if (!currentTimer) {
44303
+ setSelectedOption('off');
44304
+ } else {
44305
+ var fixedMatch = Object.keys(FIXED_TIMER_OPTIONS).find(function (key) {
44306
+ return FIXED_TIMER_OPTIONS[key] === currentTimer;
44307
+ });
44308
+ if (fixedMatch) {
44309
+ setSelectedOption(fixedMatch);
44310
+ } else {
44311
+ var customMatch = CUSTOM_OPTIONS.find(function (o) {
44312
+ return o.seconds === currentTimer;
44313
+ });
44314
+ setSelectedOption('custom');
44315
+ setCustomValue((customMatch === null || customMatch === void 0 ? void 0 : customMatch.value) || '2days');
44316
+ }
44317
+ }
44318
+ }, [currentTimer]);
44319
+ useEffect(function () {
44320
+ if (!hasInitializedRef.current && initialRender) {
44321
+ hasInitializedRef.current = true;
44322
+ setInitialRender(false);
44323
+ }
44324
+ }, [initialRender]);
44325
+ var selectedTimerValue = useMemo(function () {
44326
+ return selectedOption === 'custom' ? CUSTOM_SECONDS_MAP[customValue] : FIXED_TIMER_OPTIONS[selectedOption];
44327
+ }, [selectedOption, customValue]);
44328
+ var isValueUnchanged = useMemo(function () {
44329
+ if (initialRender) return true;
44330
+ var normalizedCurrent = currentTimer === 0 ? null : currentTimer != null ? currentTimer : null;
44331
+ var normalizedSelected = selectedTimerValue === 0 ? null : selectedTimerValue != null ? selectedTimerValue : null;
44332
+ return normalizedCurrent === normalizedSelected;
44333
+ }, [currentTimer, selectedTimerValue, initialRender]);
44334
+ var handleSet = useCallback(function () {
44335
+ if (selectedOption === 'custom') {
44336
+ handleSetTimer(CUSTOM_SECONDS_MAP[customValue]);
44337
+ } else {
44338
+ handleSetTimer(FIXED_TIMER_OPTIONS[selectedOption]);
44339
+ }
44340
+ togglePopup();
44341
+ }, [selectedOption, customValue, handleSetTimer, togglePopup]);
44342
+ var selectedCustomLabel = useMemo(function () {
44343
+ var _CUSTOM_OPTIONS$find;
44344
+ return ((_CUSTOM_OPTIONS$find = CUSTOM_OPTIONS.find(function (o) {
44345
+ return o.value === customValue;
44346
+ })) === null || _CUSTOM_OPTIONS$find === void 0 ? void 0 : _CUSTOM_OPTIONS$find.label) || '2 days';
44347
+ }, [customValue]);
44348
+ return /*#__PURE__*/React__default.createElement(PopupContainer, null, /*#__PURE__*/React__default.createElement(Popup, {
44349
+ theme: theme,
44350
+ backgroundColor: background,
44351
+ maxWidth: '522px',
44352
+ minWidth: '522px',
44353
+ width: '100%',
44354
+ padding: '0'
44355
+ }, /*#__PURE__*/React__default.createElement(PopupBody, {
44356
+ paddingH: '24px',
44357
+ paddingV: '24px',
44358
+ marginBottom: '0'
44359
+ }, /*#__PURE__*/React__default.createElement(CloseIcon, {
44360
+ color: iconPrimary,
44361
+ onClick: togglePopup
44362
+ }), /*#__PURE__*/React__default.createElement(PopupName, {
44363
+ color: textPrimary,
44364
+ marginBottom: '20px',
44365
+ lineHeight: '24px'
44366
+ }, "Set a default message timer"), /*#__PURE__*/React__default.createElement(PopupDescription, {
44367
+ color: textPrimary,
44368
+ highlightColor: accentColor
44369
+ }, "Make messages in this chat disappear."), /*#__PURE__*/React__default.createElement(TimerOptionsSection, {
44370
+ marginTop: '20px'
44371
+ }, /*#__PURE__*/React__default.createElement(Label, {
44372
+ color: textPrimary,
44373
+ marginTop: '0'
44374
+ }, "Auto-delete after"), TIMER_OPTIONS.map(function (option) {
44375
+ return /*#__PURE__*/React__default.createElement(TimerOptionItem, {
44376
+ key: option.key,
44377
+ color: textPrimary,
44378
+ onClick: function onClick() {
44379
+ return setSelectedOption(option.key);
44380
+ }
44381
+ }, /*#__PURE__*/React__default.createElement(CustomRadio, {
44382
+ index: option.key,
44383
+ size: '18px',
44384
+ state: selectedOption === option.key,
44385
+ onChange: function onChange() {
44386
+ return setSelectedOption(option.key);
44387
+ },
44388
+ checkedBorderColor: accentColor,
44389
+ borderColor: iconInactive,
44390
+ borderRadius: '4px',
44391
+ variant: 'checkbox'
44392
+ }), option.label);
44393
+ }), /*#__PURE__*/React__default.createElement(TimerOptionItem, {
44394
+ color: textPrimary,
44395
+ onClick: function onClick() {
44396
+ return setSelectedOption('custom');
44397
+ }
44398
+ }, /*#__PURE__*/React__default.createElement(CustomRadio, {
44399
+ index: 'custom',
44400
+ size: '18px',
44401
+ state: selectedOption === 'custom',
44402
+ onChange: function onChange() {
44403
+ return setSelectedOption('custom');
44404
+ },
44405
+ checkedBorderColor: accentColor,
44406
+ borderColor: iconInactive,
44407
+ borderRadius: '4px',
44408
+ variant: 'checkbox'
44409
+ }), "Custom"), selectedOption === 'custom' && (/*#__PURE__*/React__default.createElement(CustomTimerSection, null, /*#__PURE__*/React__default.createElement(Label, {
44410
+ color: textPrimary,
44411
+ marginTop: '0'
44412
+ }, "Auto-delete after"), /*#__PURE__*/React__default.createElement(CustomSelectWrapper, {
44413
+ accentColor: accentColor
44414
+ }, /*#__PURE__*/React__default.createElement(CustomSelect, {
44415
+ backgroundColor: background,
44416
+ color: textPrimary,
44417
+ errorColor: warningColor,
44418
+ placeholderColor: textSecondary,
44419
+ borderColor: isDropdownOpen ? accentColor : borderColor,
44420
+ disabledColor: surface1,
44421
+ minWidth: '474px',
44422
+ maxWidth: '474px'
44423
+ }, /*#__PURE__*/React__default.createElement(DropDown, {
44424
+ withIcon: true,
44425
+ theme: theme,
44426
+ isSelect: true,
44427
+ position: 'top',
44428
+ trigger: /*#__PURE__*/React__default.createElement(CustomSelectTriggerStyled, {
44429
+ color: textPrimary
44430
+ }, selectedCustomLabel),
44431
+ watchToggleState: setDropdownOpen
44432
+ }, /*#__PURE__*/React__default.createElement(CustomDropdownOptionsUl, {
44433
+ theme: theme,
44434
+ accentColor: accentColor
44435
+ }, CUSTOM_OPTIONS.map(function (o) {
44436
+ return /*#__PURE__*/React__default.createElement(CustomDropdownOptionLi, {
44437
+ hoverBackground: backgroundHovered,
44438
+ key: o.value,
44439
+ onClick: function onClick() {
44440
+ return setCustomValue(o.value);
44441
+ },
44442
+ textColor: textPrimary
44443
+ }, o.label);
44444
+ }))))))))), /*#__PURE__*/React__default.createElement(PopupFooter, {
44445
+ backgroundColor: surface1
44446
+ }, /*#__PURE__*/React__default.createElement(Button, {
44447
+ type: 'button',
44448
+ color: textPrimary,
44449
+ backgroundColor: 'transparent',
44450
+ onClick: togglePopup
44451
+ }, "Cancel"), /*#__PURE__*/React__default.createElement(SetButton, {
44452
+ type: 'button',
44453
+ backgroundColor: accentColor,
44454
+ color: textOnPrimary,
44455
+ borderRadius: '8px',
44456
+ onClick: handleSet,
44457
+ disabled: isValueUnchanged
44458
+ }, "Set"))));
44459
+ }
44460
+ var TimerOptionsSection = styled.div(_templateObject$S || (_templateObject$S = _taggedTemplateLiteralLoose(["\n margin-top: ", ";\n"])), function (props) {
44461
+ return props.marginTop || '14px';
44462
+ });
44463
+ var TimerOptionItem = styled.div(_templateObject2$N || (_templateObject2$N = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n cursor: pointer;\n color: ", ";\n padding: 10px 0;\n font-weight: 400;\n font-size: 15px;\n line-height: 20px;\n\n & > label {\n margin-right: 10px;\n }\n"])), function (props) {
44464
+ return props.color;
44465
+ });
44466
+ var CustomTimerSection = styled.div(_templateObject3$G || (_templateObject3$G = _taggedTemplateLiteralLoose(["\n margin: 16px auto 0 auto;\n"])));
44467
+ var CustomSelectWrapper = styled.div(_templateObject4$A || (_templateObject4$A = _taggedTemplateLiteralLoose(["\n position: relative;\n width: 474px;\n\n .dropdown-wrapper {\n width: 100%;\n\n .dropdown-body {\n width: 474px;\n // height: 268px;\n max-height: 268px;\n border-color: ", "\n border-radius: 8px;\n }\n }\n"])), function (props) {
44468
+ return props.accentColor;
44469
+ });
44470
+ var CustomSelectTriggerStyled = styled(CustomSelectTrigger)(_templateObject5$v || (_templateObject5$v = _taggedTemplateLiteralLoose(["\n font-size: 15px;\n text-transform: none;\n"])));
44471
+ var CustomDropdownOptionLi = styled(DropdownOptionLi)(_templateObject6$r || (_templateObject6$r = _taggedTemplateLiteralLoose(["\n font-size: 15px;\n"])));
44472
+ var CustomDropdownOptionsUl = styled(DropdownOptionsUl)(_templateObject7$q || (_templateObject7$q = _taggedTemplateLiteralLoose(["\n border-color: ", ";\n height: 268px;\n max-height: 268px;\n border-radius: 0;\n\n ", " {\n padding-left: 24px;\n padding-right: 24px;\n }\n"])), function (props) {
44473
+ return props.accentColor;
44474
+ }, CustomDropdownOptionLi);
44475
+ var SetButton = styled(Button)(_templateObject8$n || (_templateObject8$n = _taggedTemplateLiteralLoose(["\n width: 57px;\n height: 36px;\n min-width: 57px;\n max-width: 57px;\n padding: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n"])));
44476
+
44477
+ var _templateObject$T, _templateObject2$O, _templateObject3$H, _templateObject4$B, _templateObject5$w, _templateObject6$s, _templateObject7$r, _templateObject8$o, _templateObject9$k, _templateObject0$i, _templateObject1$f, _templateObject10$9, _templateObject11$7, _templateObject12$6, _templateObject13$4, _templateObject14$3, _templateObject15$3, _templateObject16$3, _templateObject17$3, _templateObject18$3, _templateObject19$3, _templateObject20$3;
43965
44478
  var Actions = function Actions(_ref) {
43966
44479
  var setActionsHeight = _ref.setActionsHeight,
43967
44480
  channel = _ref.channel,
@@ -44038,9 +44551,11 @@ var Actions = function Actions(_ref) {
44038
44551
  borderColor = _ref.borderColor;
44039
44552
  var _useColor = useColors(),
44040
44553
  textPrimary = _useColor[THEME_COLORS.TEXT_PRIMARY],
44554
+ textSecondary = _useColor[THEME_COLORS.TEXT_SECONDARY],
44041
44555
  iconPrimary = _useColor[THEME_COLORS.ICON_PRIMARY],
44042
44556
  surface1 = _useColor[THEME_COLORS.SURFACE_1],
44043
- warningColor = _useColor[THEME_COLORS.WARNING];
44557
+ warningColor = _useColor[THEME_COLORS.WARNING],
44558
+ backgroundColor = _useColor[THEME_COLORS.BACKGROUND];
44044
44559
  var ChatClient = getClient();
44045
44560
  var user = ChatClient.user;
44046
44561
  var _useState = useState(false),
@@ -44067,14 +44582,17 @@ var Actions = function Actions(_ref) {
44067
44582
  var _useState8 = useState(false),
44068
44583
  reportUserPopupOpen = _useState8[0],
44069
44584
  setReportUserPopupOpen = _useState8[1];
44585
+ var _useState9 = useState(false),
44586
+ disappearingMessagesPopupOpen = _useState9[0],
44587
+ setDisappearingMessagesPopupOpen = _useState9[1];
44070
44588
  var _usePermissions = usePermissions(channel.userRole),
44071
44589
  checkActionPermission = _usePermissions[0];
44072
- var _useState9 = useState(''),
44073
- popupButtonText = _useState9[0],
44074
- setPopupButtonText = _useState9[1];
44075
44590
  var _useState0 = useState(''),
44076
- popupTitle = _useState0[0],
44077
- setPopupTitle = _useState0[1];
44591
+ popupButtonText = _useState0[0],
44592
+ setPopupButtonText = _useState0[1];
44593
+ var _useState1 = useState(''),
44594
+ popupTitle = _useState1[0],
44595
+ setPopupTitle = _useState1[1];
44078
44596
  var dispatch = useDispatch();
44079
44597
  var oneHour = 60 * 60 * 1000;
44080
44598
  var twoHours = oneHour * 2;
@@ -44088,6 +44606,8 @@ var Actions = function Actions(_ref) {
44088
44606
  var otherMembers = isDirectChannel && channel.members.filter(function (member) {
44089
44607
  return member.id && member.id !== user.id;
44090
44608
  }) || [];
44609
+ var hasPermissiontoSetDM = channel.userRole === 'admin' || channel.userRole === 'owner';
44610
+ var canToggleDisappearingMessages = isDirectChannel || hasPermissiontoSetDM;
44091
44611
  var handleToggleClearHistoryPopup = function handleToggleClearHistoryPopup() {
44092
44612
  setClearHistoryPopupOpen(!clearHistoryPopupOpen);
44093
44613
  };
@@ -44165,6 +44685,13 @@ var Actions = function Actions(_ref) {
44165
44685
  dispatch(pinChannelAC(channel.id));
44166
44686
  }
44167
44687
  };
44688
+ var handleToggleDisappearingMessagesPopup = function handleToggleDisappearingMessagesPopup() {
44689
+ setDisappearingMessagesPopupOpen(!disappearingMessagesPopupOpen);
44690
+ };
44691
+ var handleSetDisappearingMessagesTimer = function handleSetDisappearingMessagesTimer(timerInSeconds) {
44692
+ var periodInMilliseconds = timerInSeconds ? timerInSeconds * 1000 : 0;
44693
+ dispatch(setMessageRetentionPeriodAC(channel.id, periodInMilliseconds));
44694
+ };
44168
44695
  var containerRef = useRef(null);
44169
44696
  useEffect(function () {
44170
44697
  if (containerRef.current) {
@@ -44257,7 +44784,20 @@ var Actions = function Actions(_ref) {
44257
44784
  color: staredMessagesTextColor || textPrimary,
44258
44785
  hoverColor: staredMessagesTextColor || textPrimary,
44259
44786
  fontSize: actionItemsFontSize
44260
- }, /*#__PURE__*/React__default.createElement(React__default.Fragment, null, staredMessagesIcon || /*#__PURE__*/React__default.createElement(DefaultStarIcon, null), " Starred messages "))), showPinChannel && !channel.isMockChannel && (isDirectChannel && directChannelUser ? directChannelUser.state !== USER_STATE.DELETED : true) && (/*#__PURE__*/React__default.createElement(ActionItem, {
44787
+ }, /*#__PURE__*/React__default.createElement(React__default.Fragment, null, staredMessagesIcon || /*#__PURE__*/React__default.createElement(DefaultStarIcon, null), " Starred messages "))), getEnableDisappearingMessages() && !channel.isMockChannel && canToggleDisappearingMessages && (isDirectChannel && directChannelUser ? directChannelUser.state !== USER_STATE.DELETED : true) && (/*#__PURE__*/React__default.createElement(ActionItem, {
44788
+ key: 1.5,
44789
+ onClick: handleToggleDisappearingMessagesPopup,
44790
+ iconColor: iconPrimary,
44791
+ color: textPrimary,
44792
+ hoverColor: textPrimary,
44793
+ fontSize: actionItemsFontSize
44794
+ }, /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(DefaultWatchIcon, {
44795
+ "$isLightMode": backgroundColor === '#FFFFFF'
44796
+ }), "Disappearing messages", /*#__PURE__*/React__default.createElement(DisappearingMessagesStatusWrapper, null, /*#__PURE__*/React__default.createElement(DisappearingMessagesStatus, {
44797
+ color: textSecondary
44798
+ }, channel.messageRetentionPeriod ? 'On' : 'Off'), /*#__PURE__*/React__default.createElement(ChevronRightIconWrapper, null, /*#__PURE__*/React__default.createElement(SvgChevronBottom, {
44799
+ color: iconPrimary
44800
+ })))))), showPinChannel && !channel.isMockChannel && (isDirectChannel && directChannelUser ? directChannelUser.state !== USER_STATE.DELETED : true) && (/*#__PURE__*/React__default.createElement(ActionItem, {
44261
44801
  key: 2,
44262
44802
  onClick: handlePinUnpinChannel,
44263
44803
  order: pinChannelOrder,
@@ -44423,20 +44963,25 @@ var Actions = function Actions(_ref) {
44423
44963
  buttonText: popupButtonText,
44424
44964
  description: channel.type === DEFAULT_CHANNEL_TYPE.DIRECT ? 'Once you clear the history, the messages in this chat will be permanently removed for you.' : channel.type === DEFAULT_CHANNEL_TYPE.GROUP || channel.type === DEFAULT_CHANNEL_TYPE.PRIVATE ? 'Once you clear the history it will be permanently removed for you.' : channel.type === DEFAULT_CHANNEL_TYPE.BROADCAST || channel.type === DEFAULT_CHANNEL_TYPE.PUBLIC ? 'Once you clear the history, the messages in this channel will be permanently removed for all the subscribers.' : 'Are you sure you want to delete all messages? This action cannot be undone.',
44425
44965
  title: popupTitle
44966
+ })), disappearingMessagesPopupOpen && (/*#__PURE__*/React__default.createElement(DisappearingMessagesPopup, {
44967
+ theme: theme,
44968
+ togglePopup: handleToggleDisappearingMessagesPopup,
44969
+ handleSetTimer: handleSetDisappearingMessagesTimer,
44970
+ currentTimer: channel.messageRetentionPeriod
44426
44971
  })));
44427
44972
  };
44428
- var Container$n = styled.div(_templateObject$S || (_templateObject$S = _taggedTemplateLiteralLoose(["\n padding: 10px 16px;\n border-bottom: 6px solid ", ";\n]"])), function (props) {
44973
+ var Container$n = styled.div(_templateObject$T || (_templateObject$T = _taggedTemplateLiteralLoose(["\n padding: 10px 16px;\n border-bottom: 6px solid ", ";\n]"])), function (props) {
44429
44974
  return props.borderColor;
44430
44975
  });
44431
- var ActionHeader = styled.div(_templateObject2$N || (_templateObject2$N = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin: 25px 0 22px;\n cursor: pointer;\n"])));
44432
- var MenuTriggerIcon = styled.span(_templateObject3$G || (_templateObject3$G = _taggedTemplateLiteralLoose(["\n transition: all 0.2s;\n ", "\n"])), function (props) {
44976
+ var ActionHeader = styled.div(_templateObject2$O || (_templateObject2$O = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin: 25px 0 22px;\n cursor: pointer;\n"])));
44977
+ var MenuTriggerIcon = styled.span(_templateObject3$H || (_templateObject3$H = _taggedTemplateLiteralLoose(["\n transition: all 0.2s;\n ", "\n"])), function (props) {
44433
44978
  return !props.isOpen && ' transform: rotate(-90deg);';
44434
44979
  });
44435
- 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"])));
44436
- var DefaultMutedIcon = styled(SvgUnmuteNotifications)(_templateObject5$v || (_templateObject5$v = _taggedTemplateLiteralLoose([""])));
44437
- var DefaultMuteIcon = styled(SvgNotifications)(_templateObject6$r || (_templateObject6$r = _taggedTemplateLiteralLoose([""])));
44438
- var DefaultStarIcon = styled(SvgStar)(_templateObject7$q || (_templateObject7$q = _taggedTemplateLiteralLoose([""])));
44439
- var DefaultUnpinIcon = styled(SvgUnpin)(_templateObject8$n || (_templateObject8$n = _taggedTemplateLiteralLoose([""])));
44980
+ var ActionsMenu = styled.ul(_templateObject4$B || (_templateObject4$B = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n margin: 0;\n padding: 0;\n list-style: none;\n transition: all 0.2s;\n"])));
44981
+ var DefaultMutedIcon = styled(SvgUnmuteNotifications)(_templateObject5$w || (_templateObject5$w = _taggedTemplateLiteralLoose([""])));
44982
+ var DefaultMuteIcon = styled(SvgNotifications)(_templateObject6$s || (_templateObject6$s = _taggedTemplateLiteralLoose([""])));
44983
+ var DefaultStarIcon = styled(SvgStar)(_templateObject7$r || (_templateObject7$r = _taggedTemplateLiteralLoose([""])));
44984
+ var DefaultUnpinIcon = styled(SvgUnpin)(_templateObject8$o || (_templateObject8$o = _taggedTemplateLiteralLoose([""])));
44440
44985
  var DefaultPinIcon = styled(SvgPin)(_templateObject9$k || (_templateObject9$k = _taggedTemplateLiteralLoose([""])));
44441
44986
  var DefaultMarkAsRead = styled(SvgMarkAsRead)(_templateObject0$i || (_templateObject0$i = _taggedTemplateLiteralLoose([""])));
44442
44987
  var DefaultMarkAsUnRead = styled(SvgMarkAsUnRead)(_templateObject1$f || (_templateObject1$f = _taggedTemplateLiteralLoose([""])));
@@ -44446,7 +44991,10 @@ var DefaultClearIcon = styled(SvgClear)(_templateObject12$6 || (_templateObject1
44446
44991
  var DefaultDeleteChannelIcon = styled(SvgDeleteChannel)(_templateObject13$4 || (_templateObject13$4 = _taggedTemplateLiteralLoose([""])));
44447
44992
  var DefaultBottomIcon = styled(SvgBottom)(_templateObject14$3 || (_templateObject14$3 = _taggedTemplateLiteralLoose([""])));
44448
44993
  var DefaultMarkAsReadIcon = styled(SvgLeave)(_templateObject15$3 || (_templateObject15$3 = _taggedTemplateLiteralLoose([""])));
44449
- var ActionItem = styled.li(_templateObject16$3 || (_templateObject16$3 = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n align-items: center;\n padding: 10px 0;\n font-size: ", ";\n color: ", ";\n cursor: pointer;\n order: ", ";\n pointer-events: ", ";\n\n & > div {\n margin-left: auto;\n }\n\n & > svg {\n margin-right: 16px;\n color: ", ";\n width: 24px;\n height: 24px;\n }\n\n &:hover {\n color: ", ";\n }\n\n &:last-child {\n //margin-bottom: 0;\n }\n"])), function (props) {
44994
+ var DefaultWatchIcon = styled(SvgWatch)(_templateObject16$3 || (_templateObject16$3 = _taggedTemplateLiteralLoose(["\n width: 24px;\n height: 24px;\n\n path.watch-ticks,\n path:nth-child(2) {\n fill: ", " !important;\n }\n"])), function (props) {
44995
+ return props.$isLightMode ? '#FFFFFF' : '#000000';
44996
+ });
44997
+ var ActionItem = styled.li(_templateObject17$3 || (_templateObject17$3 = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n align-items: center;\n padding: 10px 0;\n font-size: ", ";\n color: ", ";\n cursor: pointer;\n order: ", ";\n pointer-events: ", ";\n\n & > div {\n margin-left: auto;\n }\n\n & > svg {\n margin-right: 16px;\n color: ", ";\n width: 24px;\n height: 24px;\n }\n\n &:hover {\n color: ", ";\n }\n\n &:last-child {\n //margin-bottom: 0;\n }\n"])), function (props) {
44450
44998
  return props.fontSize || '15px';
44451
44999
  }, function (props) {
44452
45000
  return props.color;
@@ -44459,19 +45007,24 @@ var ActionItem = styled.li(_templateObject16$3 || (_templateObject16$3 = _tagged
44459
45007
  }, function (props) {
44460
45008
  return props.hoverColor;
44461
45009
  });
45010
+ var DisappearingMessagesStatusWrapper = styled.div(_templateObject18$3 || (_templateObject18$3 = _taggedTemplateLiteralLoose(["\n margin-left: auto;\n display: flex;\n align-items: center;\n gap: 8px;\n"])));
45011
+ var DisappearingMessagesStatus = styled.span(_templateObject19$3 || (_templateObject19$3 = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-size: 14px;\n"])), function (props) {
45012
+ return props.color;
45013
+ });
45014
+ var ChevronRightIconWrapper = styled.span(_templateObject20$3 || (_templateObject20$3 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n\n & > svg {\n width: 16px;\n height: 16px;\n transform: rotate(-90deg);\n }\n"])));
44462
45015
 
44463
- var _rect$2, _rect2, _path$1s;
44464
- function _extends$1w() {
44465
- return _extends$1w = Object.assign ? Object.assign.bind() : function (n) {
45016
+ var _rect$2, _rect2, _path$1v;
45017
+ function _extends$1z() {
45018
+ return _extends$1z = Object.assign ? Object.assign.bind() : function (n) {
44466
45019
  for (var e = 1; e < arguments.length; e++) {
44467
45020
  var t = arguments[e];
44468
45021
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
44469
45022
  }
44470
45023
  return n;
44471
- }, _extends$1w.apply(null, arguments);
45024
+ }, _extends$1z.apply(null, arguments);
44472
45025
  }
44473
45026
  function SvgAddMember(props) {
44474
- return /*#__PURE__*/createElement$1("svg", _extends$1w({
45027
+ return /*#__PURE__*/createElement$1("svg", _extends$1z({
44475
45028
  width: 40,
44476
45029
  height: 40,
44477
45030
  viewBox: "0 0 40.01 40.01",
@@ -44491,35 +45044,35 @@ function SvgAddMember(props) {
44491
45044
  stroke: "#000",
44492
45045
  strokeOpacity: 0.08,
44493
45046
  strokeWidth: 0.5
44494
- })), _path$1s || (_path$1s = /*#__PURE__*/createElement$1("path", {
45047
+ })), _path$1v || (_path$1v = /*#__PURE__*/createElement$1("path", {
44495
45048
  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",
44496
45049
  fill: "CurrentColor"
44497
45050
  })));
44498
45051
  }
44499
45052
 
44500
- var _path$1t;
44501
- function _extends$1x() {
44502
- return _extends$1x = Object.assign ? Object.assign.bind() : function (n) {
45053
+ var _path$1w;
45054
+ function _extends$1A() {
45055
+ return _extends$1A = Object.assign ? Object.assign.bind() : function (n) {
44503
45056
  for (var e = 1; e < arguments.length; e++) {
44504
45057
  var t = arguments[e];
44505
45058
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
44506
45059
  }
44507
45060
  return n;
44508
- }, _extends$1x.apply(null, arguments);
45061
+ }, _extends$1A.apply(null, arguments);
44509
45062
  }
44510
45063
  function SvgMoreVert(props) {
44511
- return /*#__PURE__*/createElement$1("svg", _extends$1x({
45064
+ return /*#__PURE__*/createElement$1("svg", _extends$1A({
44512
45065
  width: 4,
44513
45066
  height: 14,
44514
45067
  fill: "none",
44515
45068
  xmlns: "http://www.w3.org/2000/svg"
44516
- }, props), _path$1t || (_path$1t = /*#__PURE__*/createElement$1("path", {
45069
+ }, props), _path$1w || (_path$1w = /*#__PURE__*/createElement$1("path", {
44517
45070
  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",
44518
45071
  fill: "#9B9DA8"
44519
45072
  })));
44520
45073
  }
44521
45074
 
44522
- var _templateObject$T, _templateObject2$O, _templateObject3$H;
45075
+ var _templateObject$U, _templateObject2$P, _templateObject3$I;
44523
45076
  var ChangeMemberRole = function ChangeMemberRole(_ref) {
44524
45077
  var theme = _ref.theme,
44525
45078
  channelId = _ref.channelId,
@@ -44622,12 +45175,12 @@ var ChangeMemberRole = function ChangeMemberRole(_ref) {
44622
45175
  onClick: handleSave
44623
45176
  }, "Save"))));
44624
45177
  };
44625
- var RolesSelect = styled.div(_templateObject$T || (_templateObject$T = _taggedTemplateLiteralLoose(["\n margin-bottom: 32px;\n"])));
44626
- var RoleLabel = styled.div(_templateObject2$O || (_templateObject2$O = _taggedTemplateLiteralLoose(["\n font-style: normal;\n font-weight: 500;\n font-size: 14px;\n margin: 20px 0 8px;\n color: ", ";\n"])), function (_ref2) {
45178
+ var RolesSelect = styled.div(_templateObject$U || (_templateObject$U = _taggedTemplateLiteralLoose(["\n margin-bottom: 32px;\n"])));
45179
+ var RoleLabel = styled.div(_templateObject2$P || (_templateObject2$P = _taggedTemplateLiteralLoose(["\n font-style: normal;\n font-weight: 500;\n font-size: 14px;\n margin: 20px 0 8px;\n color: ", ";\n"])), function (_ref2) {
44627
45180
  var color = _ref2.color;
44628
45181
  return color;
44629
45182
  });
44630
- var RoleSpan = styled.span(_templateObject3$H || (_templateObject3$H = _taggedTemplateLiteralLoose(["\n font-style: normal;\n font-weight: normal;\n font-size: 14px;\n text-transform: capitalize;\n"])));
45183
+ var RoleSpan = styled.span(_templateObject3$I || (_templateObject3$I = _taggedTemplateLiteralLoose(["\n font-style: normal;\n font-weight: normal;\n font-size: 14px;\n text-transform: capitalize;\n"])));
44631
45184
 
44632
45185
  function ResetLinkConfirmModal(_ref) {
44633
45186
  var _getInviteLinkOptions;
@@ -44664,7 +45217,7 @@ function ResetLinkConfirmModal(_ref) {
44664
45217
  });
44665
45218
  }
44666
45219
 
44667
- var _templateObject$U, _templateObject2$P, _templateObject3$I, _templateObject4$B, _templateObject5$w, _templateObject6$s, _templateObject7$r, _templateObject8$o, _templateObject9$l, _templateObject0$j, _templateObject1$g, _templateObject10$a, _templateObject11$8, _templateObject12$7, _templateObject13$5;
45220
+ var _templateObject$V, _templateObject2$Q, _templateObject3$J, _templateObject4$C, _templateObject5$x, _templateObject6$t, _templateObject7$s, _templateObject8$p, _templateObject9$l, _templateObject0$j, _templateObject1$g, _templateObject10$a, _templateObject11$8, _templateObject12$7, _templateObject13$5;
44668
45221
  function InviteLinkModal(_ref) {
44669
45222
  var _getInviteLinkOptions, _tabs$link, _tabs$qr, _tabs$link2, _tabs$qr2;
44670
45223
  var onClose = _ref.onClose,
@@ -45148,34 +45701,34 @@ function InviteLinkModal(_ref) {
45148
45701
  handleForward: handleForwardChannels
45149
45702
  })));
45150
45703
  }
45151
- var LogoIconCont = styled.div(_templateObject$U || (_templateObject$U = _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"])));
45152
- var Tabs$1 = styled.div(_templateObject2$P || (_templateObject2$P = _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) {
45704
+ var LogoIconCont = styled.div(_templateObject$V || (_templateObject$V = _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"])));
45705
+ var Tabs$1 = styled.div(_templateObject2$Q || (_templateObject2$Q = _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) {
45153
45706
  return p.backgroundColor;
45154
45707
  }, function (p) {
45155
45708
  return p.borderColor;
45156
45709
  });
45157
- var TabButton = styled.button(_templateObject3$I || (_templateObject3$I = _taggedTemplateLiteralLoose(["\n height: 36px;\n border: none;\n border-radius: 10px;\n cursor: pointer;\n background-color: ", ";\n ", "\n color: ", ";\n"])), function (p) {
45710
+ var TabButton = styled.button(_templateObject3$J || (_templateObject3$J = _taggedTemplateLiteralLoose(["\n height: 36px;\n border: none;\n border-radius: 10px;\n cursor: pointer;\n background-color: ", ";\n ", "\n color: ", ";\n"])), function (p) {
45158
45711
  return p.active ? p.activeBackgroundColor : p.backgroundColor;
45159
45712
  }, function (p) {
45160
45713
  return p.active && "\n box-shadow: 0px 3px 6px -4px #0000001F;\n ";
45161
45714
  }, function (p) {
45162
45715
  return p.active ? p.activeColor : p.inactiveColor;
45163
45716
  });
45164
- 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) {
45717
+ var Description = styled.p(_templateObject4$C || (_templateObject4$C = _taggedTemplateLiteralLoose(["\n margin: 8px 0 16px;\n font-size: 14px;\n line-height: 16px;\n color: ", ";\n"])), function (p) {
45165
45718
  return p.color;
45166
45719
  });
45167
- var FieldLabel = styled.span(_templateObject5$w || (_templateObject5$w = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n line-height: 16px;\n color: ", ";\n"])), function (p) {
45720
+ var FieldLabel = styled.span(_templateObject5$x || (_templateObject5$x = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n line-height: 16px;\n color: ", ";\n"])), function (p) {
45168
45721
  return p.color;
45169
45722
  });
45170
- 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) {
45723
+ var LinkField = styled.div(_templateObject6$t || (_templateObject6$t = _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) {
45171
45724
  return p.borderColor;
45172
45725
  }, function (p) {
45173
45726
  return p.backgroundColor;
45174
45727
  });
45175
- var LinkInput = styled.input(_templateObject7$r || (_templateObject7$r = _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) {
45728
+ var LinkInput = styled.input(_templateObject7$s || (_templateObject7$s = _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) {
45176
45729
  return p.color;
45177
45730
  });
45178
- 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"])));
45731
+ var CopyButton = styled.button(_templateObject8$p || (_templateObject8$p = _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"])));
45179
45732
  var CopyButtonWrapper = styled.div(_templateObject9$l || (_templateObject9$l = _taggedTemplateLiteralLoose(["\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n"])));
45180
45733
  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) {
45181
45734
  return p.color;
@@ -45196,7 +45749,7 @@ var QrHint = styled.p(_templateObject13$5 || (_templateObject13$5 = _taggedTempl
45196
45749
  return p.color;
45197
45750
  });
45198
45751
 
45199
- var _templateObject$V, _templateObject2$Q, _templateObject3$J, _templateObject4$C, _templateObject5$x, _templateObject6$t, _templateObject7$s, _templateObject8$p, _templateObject9$m;
45752
+ var _templateObject$W, _templateObject2$R, _templateObject3$K, _templateObject4$D, _templateObject5$y, _templateObject6$u, _templateObject7$t, _templateObject8$q, _templateObject9$m;
45200
45753
  var Members = function Members(_ref) {
45201
45754
  var _members$find;
45202
45755
  var channel = _ref.channel,
@@ -45518,18 +46071,18 @@ var Members = function Members(_ref) {
45518
46071
  channelId: channel.id
45519
46072
  })));
45520
46073
  };
45521
- var Container$o = styled.div(_templateObject$V || (_templateObject$V = _taggedTemplateLiteralLoose([""])));
45522
- var ActionsMenu$1 = styled.div(_templateObject2$Q || (_templateObject2$Q = _taggedTemplateLiteralLoose(["\n position: relative;\n transition: all 0.2s;\n"])));
45523
- var MemberNamePresence = styled.div(_templateObject3$J || (_templateObject3$J = _taggedTemplateLiteralLoose(["\n margin-left: 12px;\n max-width: calc(100% - 84px);\n\n & > ", " {\n display: block;\n }\n"])), SubTitle);
45524
- var MemberNameWrapper = styled.div(_templateObject4$C || (_templateObject4$C = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n"])));
45525
- 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) {
46074
+ var Container$o = styled.div(_templateObject$W || (_templateObject$W = _taggedTemplateLiteralLoose([""])));
46075
+ var ActionsMenu$1 = styled.div(_templateObject2$R || (_templateObject2$R = _taggedTemplateLiteralLoose(["\n position: relative;\n transition: all 0.2s;\n"])));
46076
+ var MemberNamePresence = styled.div(_templateObject3$K || (_templateObject3$K = _taggedTemplateLiteralLoose(["\n margin-left: 12px;\n max-width: calc(100% - 84px);\n\n & > ", " {\n display: block;\n }\n"])), SubTitle);
46077
+ var MemberNameWrapper = styled.div(_templateObject4$D || (_templateObject4$D = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n"])));
46078
+ var MemberName$3 = styled.h4(_templateObject5$y || (_templateObject5$y = _taggedTemplateLiteralLoose(["\n margin: 0;\n font-weight: 400;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n color: ", ";\n"])), function (props) {
45526
46079
  return props.color;
45527
46080
  });
45528
- 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) {
46081
+ var EditMemberIcon = styled.span(_templateObject6$u || (_templateObject6$u = _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) {
45529
46082
  return props.color;
45530
46083
  });
45531
- var MembersList = styled.ul(_templateObject7$s || (_templateObject7$s = _taggedTemplateLiteralLoose(["\n margin: 0;\n padding: 0;\n list-style: none;\n transition: all 0.2s;\n"])));
45532
- 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) {
46084
+ var MembersList = styled.ul(_templateObject7$t || (_templateObject7$t = _taggedTemplateLiteralLoose(["\n margin: 0;\n padding: 0;\n list-style: none;\n transition: all 0.2s;\n"])));
46085
+ var MemberItem$1 = styled.li(_templateObject8$q || (_templateObject8$q = _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) {
45533
46086
  return props.fontSize || '15px';
45534
46087
  }, function (props) {
45535
46088
  return props.color;
@@ -45546,7 +46099,7 @@ var RoleBadge = styled.span(_templateObject9$m || (_templateObject9$m = _taggedT
45546
46099
  return props.backgroundColor;
45547
46100
  });
45548
46101
 
45549
- var _templateObject$W;
46102
+ var _templateObject$X;
45550
46103
  var MonthHeader = function MonthHeader(_ref) {
45551
46104
  var currentCreatedAt = _ref.currentCreatedAt,
45552
46105
  previousCreatedAt = _ref.previousCreatedAt,
@@ -45571,7 +46124,7 @@ var MonthHeader = function MonthHeader(_ref) {
45571
46124
  }, [currentCreatedAt, previousCreatedAt, isFirst, textSecondary, padding, fullWidth]);
45572
46125
  return monthComponent;
45573
46126
  };
45574
- var MonthHeaderContainer = styled.div(_templateObject$W || (_templateObject$W = _taggedTemplateLiteralLoose(["\n padding: ", ";\n width: ", ";\n font-style: normal;\n font-weight: 500;\n font-size: 13px;\n line-height: 16px;\n color: ", ";\n text-transform: uppercase;\n"])), function (props) {
46127
+ var MonthHeaderContainer = styled.div(_templateObject$X || (_templateObject$X = _taggedTemplateLiteralLoose(["\n padding: ", ";\n width: ", ";\n font-style: normal;\n font-weight: 500;\n font-size: 13px;\n line-height: 16px;\n color: ", ";\n text-transform: uppercase;\n"])), function (props) {
45575
46128
  return props.padding || '9px 12px';
45576
46129
  }, function (props) {
45577
46130
  return props.fullWidth ? '100%' : 'auto';
@@ -45579,7 +46132,7 @@ var MonthHeaderContainer = styled.div(_templateObject$W || (_templateObject$W =
45579
46132
  return props.color;
45580
46133
  });
45581
46134
 
45582
- var _templateObject$X, _templateObject2$R;
46135
+ var _templateObject$Y, _templateObject2$S;
45583
46136
  var Media = function Media(_ref) {
45584
46137
  var channel = _ref.channel;
45585
46138
  var _useColor = useColors(),
@@ -45631,21 +46184,21 @@ var Media = function Media(_ref) {
45631
46184
  currentMediaFile: mediaFile
45632
46185
  })));
45633
46186
  };
45634
- var Container$p = styled.div(_templateObject$X || (_templateObject$X = _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"])));
45635
- var MediaItem = styled.div(_templateObject2$R || (_templateObject2$R = _taggedTemplateLiteralLoose(["\n width: calc(33.3333% - 4px);\n aspect-ratio: 1/1;\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"])));
46187
+ var Container$p = styled.div(_templateObject$Y || (_templateObject$Y = _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"])));
46188
+ var MediaItem = styled.div(_templateObject2$S || (_templateObject2$S = _taggedTemplateLiteralLoose(["\n width: calc(33.3333% - 4px);\n aspect-ratio: 1/1;\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"])));
45636
46189
 
45637
- var _rect$3, _path$1u;
45638
- function _extends$1y() {
45639
- return _extends$1y = Object.assign ? Object.assign.bind() : function (n) {
46190
+ var _rect$3, _path$1x;
46191
+ function _extends$1B() {
46192
+ return _extends$1B = Object.assign ? Object.assign.bind() : function (n) {
45640
46193
  for (var e = 1; e < arguments.length; e++) {
45641
46194
  var t = arguments[e];
45642
46195
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
45643
46196
  }
45644
46197
  return n;
45645
- }, _extends$1y.apply(null, arguments);
46198
+ }, _extends$1B.apply(null, arguments);
45646
46199
  }
45647
46200
  function SvgDocumentIcon(props) {
45648
- return /*#__PURE__*/createElement$1("svg", _extends$1y({
46201
+ return /*#__PURE__*/createElement$1("svg", _extends$1B({
45649
46202
  width: 40,
45650
46203
  height: 40,
45651
46204
  fill: "none",
@@ -45656,7 +46209,7 @@ function SvgDocumentIcon(props) {
45656
46209
  rx: 8,
45657
46210
  fill: "currentColor",
45658
46211
  fillOpacity: 0.2
45659
- })), _path$1u || (_path$1u = /*#__PURE__*/createElement$1("path", {
46212
+ })), _path$1x || (_path$1x = /*#__PURE__*/createElement$1("path", {
45660
46213
  fillRule: "evenodd",
45661
46214
  clipRule: "evenodd",
45662
46215
  d: "M17.593 9.5c-2.098 0-3.023.185-3.962.687a4.685 4.685 0 00-1.944 1.944c-.502.939-.687 1.864-.687 3.962v7.386c0 2.098.185 3.023.687 3.962a4.685 4.685 0 001.944 1.944c.939.502 1.864.686 3.962.686h3.957c2.098 0 3.023-.184 3.962-.687a4.685 4.685 0 001.944-1.944c.502-.938.687-1.863.687-3.961v-5.1c0-.683-.024-.99-.105-1.34a3.094 3.094 0 00-.399-.964c-.19-.305-.39-.54-.874-1.022l-4.175-4.175c-.483-.483-.717-.684-1.022-.874a3.096 3.096 0 00-.963-.4c-.294-.067-.556-.095-1.034-.102V9.5h-1.978zm0 1.714c-2.002 0-2.587.182-3.154.485a2.971 2.971 0 00-1.24 1.24c-.303.567-.485 1.152-.485 3.154v7.386c0 2.001.182 2.587.485 3.153a2.97 2.97 0 001.24 1.24c.567.304 1.152.485 3.154.485h3.957c2.001 0 2.587-.181 3.153-.484a2.97 2.97 0 001.241-1.241c.303-.566.485-1.152.485-3.153v-5.1c0-.118-.001-.22-.003-.308h-4.712a2.143 2.143 0 01-2.143-2.142l.002-4.713-.15-.001h-1.83zm3.785.876l-.092-.091v3.93c0 .21.151.385.351.421l.077.007 3.932.002-.093-.094-4.175-4.175zm-6.092 12.839c0-.474.383-.858.857-.858h3.428a.857.857 0 010 1.715h-3.428a.857.857 0 01-.857-.857zm.857-4.286a.857.857 0 100 1.714h6a.857.857 0 000-1.714h-6z",
@@ -45664,30 +46217,30 @@ function SvgDocumentIcon(props) {
45664
46217
  })));
45665
46218
  }
45666
46219
 
45667
- var _path$1v;
45668
- function _extends$1z() {
45669
- return _extends$1z = Object.assign ? Object.assign.bind() : function (n) {
46220
+ var _path$1y;
46221
+ function _extends$1C() {
46222
+ return _extends$1C = Object.assign ? Object.assign.bind() : function (n) {
45670
46223
  for (var e = 1; e < arguments.length; e++) {
45671
46224
  var t = arguments[e];
45672
46225
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
45673
46226
  }
45674
46227
  return n;
45675
- }, _extends$1z.apply(null, arguments);
46228
+ }, _extends$1C.apply(null, arguments);
45676
46229
  }
45677
46230
  function SvgDownloadFile(props) {
45678
- return /*#__PURE__*/createElement$1("svg", _extends$1z({
46231
+ return /*#__PURE__*/createElement$1("svg", _extends$1C({
45679
46232
  width: 24,
45680
46233
  height: 24,
45681
46234
  xmlns: "http://www.w3.org/2000/svg",
45682
46235
  fill: "currentColor"
45683
- }, props), _path$1v || (_path$1v = /*#__PURE__*/createElement$1("path", {
46236
+ }, props), _path$1y || (_path$1y = /*#__PURE__*/createElement$1("path", {
45684
46237
  fillRule: "evenodd",
45685
46238
  clipRule: "evenodd",
45686
46239
  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"
45687
46240
  })));
45688
46241
  }
45689
46242
 
45690
- var _templateObject$Y, _templateObject2$S, _templateObject3$K, _templateObject4$D, _templateObject5$y, _templateObject6$u, _templateObject7$t, _templateObject8$q;
46243
+ var _templateObject$Z, _templateObject2$T, _templateObject3$L, _templateObject4$E, _templateObject5$z, _templateObject6$v, _templateObject7$u, _templateObject8$r;
45691
46244
  var Files = function Files(_ref) {
45692
46245
  var channelId = _ref.channelId,
45693
46246
  filePreviewIcon = _ref.filePreviewIcon,
@@ -45809,30 +46362,30 @@ var Files = function Files(_ref) {
45809
46362
  }))) : filePreviewDownloadIcon || /*#__PURE__*/React__default.createElement(SvgDownloadFile, null))));
45810
46363
  }));
45811
46364
  };
45812
- var Container$q = styled.ul(_templateObject$Y || (_templateObject$Y = _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"])));
45813
- var DownloadWrapper = styled.a(_templateObject2$S || (_templateObject2$S = _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) {
46365
+ var Container$q = styled.ul(_templateObject$Z || (_templateObject$Z = _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"])));
46366
+ var DownloadWrapper = styled.a(_templateObject2$T || (_templateObject2$T = _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) {
45814
46367
  return props.visible ? 'visible' : 'hidden';
45815
46368
  }, function (props) {
45816
46369
  return props.iconColor;
45817
46370
  }, function (props) {
45818
46371
  return props.iconColor;
45819
46372
  });
45820
- var ProgressWrapper$2 = styled.span(_templateObject3$K || (_templateObject3$K = _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"])));
45821
- var FileIconCont = styled.span(_templateObject4$D || (_templateObject4$D = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n & > svg {\n width: 40px;\n height: 40px;\n color: ", ";\n rect {\n fill: ", ";\n }\n }\n"])), function (props) {
46373
+ var ProgressWrapper$2 = styled.span(_templateObject3$L || (_templateObject3$L = _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"])));
46374
+ var FileIconCont = styled.span(_templateObject4$E || (_templateObject4$E = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n & > svg {\n width: 40px;\n height: 40px;\n color: ", ";\n rect {\n fill: ", ";\n }\n }\n"])), function (props) {
45822
46375
  return props.iconColor;
45823
46376
  }, function (props) {
45824
46377
  return props.fillColor;
45825
46378
  });
45826
- var FileHoverIconCont = styled.span(_templateObject5$y || (_templateObject5$y = _taggedTemplateLiteralLoose(["\n display: none;\n & > svg {\n width: 40px;\n height: 40px;\n color: ", ";\n rect {\n fill: ", ";\n }\n }\n"])), function (props) {
46379
+ var FileHoverIconCont = styled.span(_templateObject5$z || (_templateObject5$z = _taggedTemplateLiteralLoose(["\n display: none;\n & > svg {\n width: 40px;\n height: 40px;\n color: ", ";\n rect {\n fill: ", ";\n }\n }\n"])), function (props) {
45827
46380
  return props.iconColor;
45828
46381
  }, function (props) {
45829
46382
  return props.fillColor;
45830
46383
  });
45831
- 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"])));
45832
- var FileItem = styled.div(_templateObject7$t || (_templateObject7$t = _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) {
46384
+ var FileThumb = styled.img(_templateObject6$v || (_templateObject6$v = _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"])));
46385
+ var FileItem = styled.div(_templateObject7$u || (_templateObject7$u = _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) {
45833
46386
  return props.hoverBackgroundColor;
45834
46387
  }, DownloadWrapper, FileIconCont, FileHoverIconCont);
45835
- 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) {
46388
+ var FileSizeAndDate = styled.span(_templateObject8$r || (_templateObject8$r = _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) {
45836
46389
  return props.fontSize || '13px';
45837
46390
  }, function (props) {
45838
46391
  return props.lineHeight || '16px';
@@ -45840,18 +46393,18 @@ var FileSizeAndDate = styled.span(_templateObject8$q || (_templateObject8$q = _t
45840
46393
  return props.color;
45841
46394
  });
45842
46395
 
45843
- var _rect$4, _path$1w;
45844
- function _extends$1A() {
45845
- return _extends$1A = Object.assign ? Object.assign.bind() : function (n) {
46396
+ var _rect$4, _path$1z;
46397
+ function _extends$1D() {
46398
+ return _extends$1D = Object.assign ? Object.assign.bind() : function (n) {
45846
46399
  for (var e = 1; e < arguments.length; e++) {
45847
46400
  var t = arguments[e];
45848
46401
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
45849
46402
  }
45850
46403
  return n;
45851
- }, _extends$1A.apply(null, arguments);
46404
+ }, _extends$1D.apply(null, arguments);
45852
46405
  }
45853
46406
  function SvgLinkIcon(props) {
45854
- return /*#__PURE__*/createElement$1("svg", _extends$1A({
46407
+ return /*#__PURE__*/createElement$1("svg", _extends$1D({
45855
46408
  width: 40,
45856
46409
  height: 40,
45857
46410
  fill: "none",
@@ -45863,7 +46416,7 @@ function SvgLinkIcon(props) {
45863
46416
  rx: 8,
45864
46417
  fill: "currentColor",
45865
46418
  fillOpacity: 0.2
45866
- })), _path$1w || (_path$1w = /*#__PURE__*/createElement$1("path", {
46419
+ })), _path$1z || (_path$1z = /*#__PURE__*/createElement$1("path", {
45867
46420
  fillRule: "evenodd",
45868
46421
  clipRule: "evenodd",
45869
46422
  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",
@@ -45871,7 +46424,7 @@ function SvgLinkIcon(props) {
45871
46424
  })));
45872
46425
  }
45873
46426
 
45874
- var _templateObject$Z, _templateObject2$T, _templateObject3$L, _templateObject4$E, _templateObject5$z;
46427
+ var _templateObject$_, _templateObject2$U, _templateObject3$M, _templateObject4$F, _templateObject5$A;
45875
46428
  var LinkItem = function LinkItem(_ref) {
45876
46429
  var link = _ref.link,
45877
46430
  linkPreviewIcon = _ref.linkPreviewIcon,
@@ -45902,25 +46455,25 @@ var LinkItem = function LinkItem(_ref) {
45902
46455
  color: linkPreviewColor || textPrimary
45903
46456
  }, link))));
45904
46457
  };
45905
- var LinkIconCont = styled.span(_templateObject$Z || (_templateObject$Z = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n > svg {\n color: ", ";\n rect {\n fill: ", ";\n }\n }\n"])), function (props) {
46458
+ var LinkIconCont = styled.span(_templateObject$_ || (_templateObject$_ = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n > svg {\n color: ", ";\n rect {\n fill: ", ";\n }\n }\n"])), function (props) {
45906
46459
  return props.iconColor;
45907
46460
  }, function (props) {
45908
46461
  return props.fillColor;
45909
46462
  });
45910
- var LinkHoverIconCont = styled.span(_templateObject2$T || (_templateObject2$T = _taggedTemplateLiteralLoose(["\n display: none;\n > svg {\n color: ", ";\n rect {\n fill: ", ";\n }\n }\n"])), function (props) {
46463
+ var LinkHoverIconCont = styled.span(_templateObject2$U || (_templateObject2$U = _taggedTemplateLiteralLoose(["\n display: none;\n > svg {\n color: ", ";\n rect {\n fill: ", ";\n }\n }\n"])), function (props) {
45911
46464
  return props.iconColor;
45912
46465
  }, function (props) {
45913
46466
  return props.fillColor;
45914
46467
  });
45915
- var LinkInfoCont = styled.div(_templateObject3$L || (_templateObject3$L = _taggedTemplateLiteralLoose(["\n margin-left: 12px;\n width: calc(100% - 40px);\n"])));
45916
- 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) {
46468
+ var LinkInfoCont = styled.div(_templateObject3$M || (_templateObject3$M = _taggedTemplateLiteralLoose(["\n margin-left: 12px;\n width: calc(100% - 40px);\n"])));
46469
+ var FileItem$1 = styled.li(_templateObject4$F || (_templateObject4$F = _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) {
45917
46470
  return props.hoverBackgroundColor;
45918
46471
  }, LinkIconCont, LinkHoverIconCont);
45919
- 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) {
46472
+ var LinkUrl = styled.span(_templateObject5$A || (_templateObject5$A = _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) {
45920
46473
  return props.color;
45921
46474
  });
45922
46475
 
45923
- var _templateObject$_;
46476
+ var _templateObject$$;
45924
46477
  var Links = function Links(_ref) {
45925
46478
  var channelId = _ref.channelId,
45926
46479
  linkPreviewIcon = _ref.linkPreviewIcon,
@@ -45951,20 +46504,20 @@ var Links = function Links(_ref) {
45951
46504
  }));
45952
46505
  }));
45953
46506
  };
45954
- 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"])));
46507
+ 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"])));
45955
46508
 
45956
- var _rect$5, _path$1x;
45957
- function _extends$1B() {
45958
- return _extends$1B = Object.assign ? Object.assign.bind() : function (n) {
46509
+ var _rect$5, _path$1A;
46510
+ function _extends$1E() {
46511
+ return _extends$1E = Object.assign ? Object.assign.bind() : function (n) {
45959
46512
  for (var e = 1; e < arguments.length; e++) {
45960
46513
  var t = arguments[e];
45961
46514
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
45962
46515
  }
45963
46516
  return n;
45964
- }, _extends$1B.apply(null, arguments);
46517
+ }, _extends$1E.apply(null, arguments);
45965
46518
  }
45966
46519
  function SvgVoicePreview(props) {
45967
- return /*#__PURE__*/createElement$1("svg", _extends$1B({
46520
+ return /*#__PURE__*/createElement$1("svg", _extends$1E({
45968
46521
  width: 40,
45969
46522
  height: 40,
45970
46523
  fill: "none",
@@ -45974,24 +46527,24 @@ function SvgVoicePreview(props) {
45974
46527
  height: 40,
45975
46528
  rx: 20,
45976
46529
  fill: "#5159F6"
45977
- })), _path$1x || (_path$1x = /*#__PURE__*/createElement$1("path", {
46530
+ })), _path$1A || (_path$1A = /*#__PURE__*/createElement$1("path", {
45978
46531
  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",
45979
46532
  fill: "#fff"
45980
46533
  })));
45981
46534
  }
45982
46535
 
45983
- var _rect$6, _path$1y;
45984
- function _extends$1C() {
45985
- return _extends$1C = Object.assign ? Object.assign.bind() : function (n) {
46536
+ var _rect$6, _path$1B;
46537
+ function _extends$1F() {
46538
+ return _extends$1F = Object.assign ? Object.assign.bind() : function (n) {
45986
46539
  for (var e = 1; e < arguments.length; e++) {
45987
46540
  var t = arguments[e];
45988
46541
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
45989
46542
  }
45990
46543
  return n;
45991
- }, _extends$1C.apply(null, arguments);
46544
+ }, _extends$1F.apply(null, arguments);
45992
46545
  }
45993
46546
  function SvgVoicePreviewPause(props) {
45994
- return /*#__PURE__*/createElement$1("svg", _extends$1C({
46547
+ return /*#__PURE__*/createElement$1("svg", _extends$1F({
45995
46548
  width: 40,
45996
46549
  height: 40,
45997
46550
  fill: "none",
@@ -46001,13 +46554,13 @@ function SvgVoicePreviewPause(props) {
46001
46554
  height: 40,
46002
46555
  rx: 20,
46003
46556
  fill: "#5159F6"
46004
- })), _path$1y || (_path$1y = /*#__PURE__*/createElement$1("path", {
46557
+ })), _path$1B || (_path$1B = /*#__PURE__*/createElement$1("path", {
46005
46558
  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",
46006
46559
  fill: "#fff"
46007
46560
  })));
46008
46561
  }
46009
46562
 
46010
- var _templateObject$$, _templateObject2$U, _templateObject3$M, _templateObject4$F, _templateObject5$A, _templateObject6$v, _templateObject7$u, _templateObject8$r;
46563
+ var _templateObject$10, _templateObject2$V, _templateObject3$N, _templateObject4$G, _templateObject5$B, _templateObject6$w, _templateObject7$v, _templateObject8$s;
46011
46564
  var VoiceItem = function VoiceItem(_ref) {
46012
46565
  var file = _ref.file,
46013
46566
  voicePreviewPlayIcon = _ref.voicePreviewPlayIcon,
@@ -46132,32 +46685,32 @@ var VoiceItem = function VoiceItem(_ref) {
46132
46685
  type: 'audio/mpeg'
46133
46686
  })));
46134
46687
  };
46135
- var FileIconCont$1 = styled.span(_templateObject$$ || (_templateObject$$ = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n display: inline-flex;\n fill: ", ";\n rect {\n fill: ", ";\n }\n"])), function (props) {
46688
+ var FileIconCont$1 = styled.span(_templateObject$10 || (_templateObject$10 = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n display: inline-flex;\n fill: ", ";\n rect {\n fill: ", ";\n }\n"])), function (props) {
46136
46689
  return props.fill || 'transparent';
46137
46690
  }, function (props) {
46138
46691
  return props.fill || 'transparent';
46139
46692
  });
46140
- var FileHoverIconCont$1 = styled.span(_templateObject2$U || (_templateObject2$U = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n display: none;\n fill: ", ";\n rect {\n fill: ", ";\n }\n"])), function (props) {
46693
+ var FileHoverIconCont$1 = styled.span(_templateObject2$V || (_templateObject2$V = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n display: none;\n fill: ", ";\n rect {\n fill: ", ";\n }\n"])), function (props) {
46141
46694
  return props.fill || 'transparent';
46142
46695
  }, function (props) {
46143
46696
  return props.fill || 'transparent';
46144
46697
  });
46145
- var FileItem$2 = styled.li(_templateObject3$M || (_templateObject3$M = _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) {
46698
+ var FileItem$2 = styled.li(_templateObject3$N || (_templateObject3$N = _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) {
46146
46699
  return props.hoverBackgroundColor;
46147
46700
  }, FileIconCont$1, FileHoverIconCont$1);
46148
- var AudioInfo = styled.div(_templateObject4$F || (_templateObject4$F = _taggedTemplateLiteralLoose(["\n position: relative;\n"])));
46149
- 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) {
46701
+ var AudioInfo = styled.div(_templateObject4$G || (_templateObject4$G = _taggedTemplateLiteralLoose(["\n position: relative;\n"])));
46702
+ var AudioTitle = styled.span(_templateObject5$B || (_templateObject5$B = _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) {
46150
46703
  return props.color;
46151
46704
  });
46152
- 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: 13px;\n line-height: 16px;\n color: ", ";\n"])), function (props) {
46705
+ var AudioDate = styled.span(_templateObject6$w || (_templateObject6$w = _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: 13px;\n line-height: 16px;\n color: ", ";\n"])), function (props) {
46153
46706
  return props.color;
46154
46707
  });
46155
- var AudioSendTime = styled.span(_templateObject7$u || (_templateObject7$u = _taggedTemplateLiteralLoose(["\n position: absolute;\n right: 0;\n top: 11px;\n color: ", ";\n font-size: 12px;\n line-height: 16px;\n"])), function (props) {
46708
+ var AudioSendTime = styled.span(_templateObject7$v || (_templateObject7$v = _taggedTemplateLiteralLoose(["\n position: absolute;\n right: 0;\n top: 11px;\n color: ", ";\n font-size: 12px;\n line-height: 16px;\n"])), function (props) {
46156
46709
  return props.color;
46157
46710
  });
46158
- var Audio = styled.audio(_templateObject8$r || (_templateObject8$r = _taggedTemplateLiteralLoose(["\n display: none;\n"])));
46711
+ var Audio = styled.audio(_templateObject8$s || (_templateObject8$s = _taggedTemplateLiteralLoose(["\n display: none;\n"])));
46159
46712
 
46160
- var _templateObject$10;
46713
+ var _templateObject$11;
46161
46714
  var Voices = function Voices(_ref) {
46162
46715
  var channelId = _ref.channelId,
46163
46716
  voicePreviewPlayIcon = _ref.voicePreviewPlayIcon,
@@ -46194,9 +46747,9 @@ var Voices = function Voices(_ref) {
46194
46747
  }));
46195
46748
  }));
46196
46749
  };
46197
- var Container$s = styled.ul(_templateObject$10 || (_templateObject$10 = _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"])));
46750
+ var Container$s = styled.ul(_templateObject$11 || (_templateObject$11 = _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"])));
46198
46751
 
46199
- var _templateObject$11, _templateObject2$V;
46752
+ var _templateObject$12, _templateObject2$W;
46200
46753
  var DetailsTab = function DetailsTab(_ref) {
46201
46754
  var channel = _ref.channel,
46202
46755
  theme = _ref.theme,
@@ -46347,8 +46900,8 @@ var DetailsTab = function DetailsTab(_ref) {
46347
46900
  voicePreviewHoverBackgroundColor: voicePreviewHoverBackgroundColor
46348
46901
  })));
46349
46902
  };
46350
- var Container$t = styled.div(_templateObject$11 || (_templateObject$11 = _taggedTemplateLiteralLoose(["\n min-height: calc(100vh - 64px);\n"])));
46351
- var DetailsTabHeader = styled.div(_templateObject2$V || (_templateObject2$V = _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) {
46903
+ var Container$t = styled.div(_templateObject$12 || (_templateObject$12 = _taggedTemplateLiteralLoose(["\n min-height: calc(100vh - 64px);\n"])));
46904
+ var DetailsTabHeader = styled.div(_templateObject2$W || (_templateObject2$W = _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) {
46352
46905
  return props.borderColor;
46353
46906
  }, function (props) {
46354
46907
  return props.backgroundColor || 'transparent';
@@ -46366,17 +46919,17 @@ var DetailsTabHeader = styled.div(_templateObject2$V || (_templateObject2$V = _t
46366
46919
  return props.activeTabColor;
46367
46920
  });
46368
46921
 
46369
- var _templateObject$12, _templateObject2$W, _templateObject3$N, _templateObject4$G;
46370
- var Container$u = styled.div(_templateObject$12 || (_templateObject$12 = _taggedTemplateLiteralLoose(["\n ", ";\n height: ", ";\n position: absolute;\n padding: 24px 16px;\n background-color: ", ";\n z-index: 25;\n"])), function (props) {
46922
+ var _templateObject$13, _templateObject2$X, _templateObject3$O, _templateObject4$H;
46923
+ var Container$u = styled.div(_templateObject$13 || (_templateObject$13 = _taggedTemplateLiteralLoose(["\n ", ";\n height: ", ";\n position: absolute;\n padding: 24px 16px;\n background-color: ", ";\n z-index: 25;\n"])), function (props) {
46371
46924
  return props.active ? 'display: block' : 'display: none';
46372
46925
  }, function (props) {
46373
46926
  return "calc(100vh - " + (props.heightOffset ? props.heightOffset + 48 : 48) + "px)";
46374
46927
  }, function (props) {
46375
46928
  return props.backgroundColor;
46376
46929
  });
46377
- var AvatarCont = styled.div(_templateObject2$W || (_templateObject2$W = _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"])));
46378
- var DropDownWrapper = styled.div(_templateObject3$N || (_templateObject3$N = _taggedTemplateLiteralLoose(["\n position: absolute;\n z-index: 4;\n width: 40px;\n height: 40px;\n"])));
46379
- var EditChannelFooter = styled(ButtonBlock)(_templateObject4$G || (_templateObject4$G = _taggedTemplateLiteralLoose(["\n margin-top: 24px;\n\n & > button {\n margin-left: 12px;\n }\n"])));
46930
+ var AvatarCont = styled.div(_templateObject2$X || (_templateObject2$X = _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"])));
46931
+ var DropDownWrapper = styled.div(_templateObject3$O || (_templateObject3$O = _taggedTemplateLiteralLoose(["\n position: absolute;\n z-index: 4;\n width: 40px;\n height: 40px;\n"])));
46932
+ var EditChannelFooter = styled(ButtonBlock)(_templateObject4$H || (_templateObject4$H = _taggedTemplateLiteralLoose(["\n margin-top: 24px;\n\n & > button {\n margin-left: 12px;\n }\n"])));
46380
46933
  var EditChannel = function EditChannel(_ref) {
46381
46934
  var channel = _ref.channel,
46382
46935
  theme = _ref.theme,
@@ -46631,7 +47184,7 @@ var EditChannel = function EditChannel(_ref) {
46631
47184
  })));
46632
47185
  };
46633
47186
 
46634
- var _templateObject$13, _templateObject2$X, _templateObject3$O, _templateObject4$H, _templateObject5$B, _templateObject6$w, _templateObject7$v, _templateObject8$s, _templateObject9$n, _templateObject0$k, _templateObject1$h, _templateObject10$b, _templateObject11$9;
47187
+ var _templateObject$14, _templateObject2$Y, _templateObject3$P, _templateObject4$I, _templateObject5$C, _templateObject6$x, _templateObject7$w, _templateObject8$t, _templateObject9$n, _templateObject0$k, _templateObject1$h, _templateObject10$b, _templateObject11$9;
46635
47188
  var Details = function Details(_ref) {
46636
47189
  var _activeChannel$member;
46637
47190
  var detailsTitleText = _ref.detailsTitleText,
@@ -47061,17 +47614,17 @@ var Details = function Details(_ref) {
47061
47614
  QRCodeIcon: QRCodeIcon
47062
47615
  }))));
47063
47616
  };
47064
- var Container$v = styled.div(_templateObject$13 || (_templateObject$13 = _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) {
47617
+ var Container$v = styled.div(_templateObject$14 || (_templateObject$14 = _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) {
47065
47618
  return props.borderColor;
47066
47619
  }, function (props) {
47067
47620
  return props.mounted && " width: " + (props.size === 'small' ? '300px' : props.size === 'medium' ? '350px' : '400px') + ";";
47068
47621
  }, function (props) {
47069
47622
  return props.backgroundColor;
47070
47623
  });
47071
- var ChannelDetailsHeader = styled.div(_templateObject2$X || (_templateObject2$X = _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) {
47624
+ var ChannelDetailsHeader = styled.div(_templateObject2$Y || (_templateObject2$Y = _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) {
47072
47625
  return props.borderColor;
47073
47626
  });
47074
- var ChatDetails = styled.div(_templateObject3$O || (_templateObject3$O = _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) {
47627
+ var ChatDetails = styled.div(_templateObject3$P || (_templateObject3$P = _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) {
47075
47628
  return props.size === 'small' ? '300px' : props.size === 'medium' ? '350px' : '400px';
47076
47629
  }, function (props) {
47077
47630
  return props.height ? "calc(100vh - " + props.heightOffset + "px)" : '100vh';
@@ -47080,21 +47633,21 @@ var ChatDetails = styled.div(_templateObject3$O || (_templateObject3$O = _tagged
47080
47633
  }, function (props) {
47081
47634
  return props.thumbColor;
47082
47635
  });
47083
- var AboutChannel = styled.div(_templateObject4$H || (_templateObject4$H = _taggedTemplateLiteralLoose(["\n margin-top: 20px;\n"])));
47084
- 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) {
47636
+ var AboutChannel = styled.div(_templateObject4$I || (_templateObject4$I = _taggedTemplateLiteralLoose(["\n margin-top: 20px;\n"])));
47637
+ var AboutChannelTitle = styled.h4(_templateObject5$C || (_templateObject5$C = _taggedTemplateLiteralLoose(["\n font-size: 12px;\n margin: 0;\n line-height: 16px;\n color: ", ";\n"])), function (props) {
47085
47638
  return props.color;
47086
47639
  });
47087
- 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) {
47640
+ var AboutChannelText = styled.h3(_templateObject6$x || (_templateObject6$x = _taggedTemplateLiteralLoose(["\n font-size: 15px;\n margin: 0;\n font-weight: 400;\n line-height: 20px;\n color: ", ";\n"])), function (props) {
47088
47641
  return props.color;
47089
47642
  });
47090
- var ChannelInfo$4 = styled.div(_templateObject7$v || (_templateObject7$v = _taggedTemplateLiteralLoose(["\n position: relative;\n margin-left: ", ";\n margin-top: ", ";\n text-align: ", ";\n"])), function (props) {
47643
+ var ChannelInfo$4 = styled.div(_templateObject7$w || (_templateObject7$w = _taggedTemplateLiteralLoose(["\n position: relative;\n margin-left: ", ";\n margin-top: ", ";\n text-align: ", ";\n"])), function (props) {
47091
47644
  return (!props.direction || props.direction !== 'column') && '16px';
47092
47645
  }, function (props) {
47093
47646
  return props.direction && props.direction === 'column' && '16px';
47094
47647
  }, function (props) {
47095
47648
  return props.direction && props.direction === 'column' && 'center';
47096
47649
  });
47097
- 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) {
47650
+ var DetailsHeader = styled.div(_templateObject8$t || (_templateObject8$t = _taggedTemplateLiteralLoose(["\n border-bottom: 6px solid ", ";\n align-items: center;\n box-sizing: border-box;\n padding: 20px 16px;\n"])), function (props) {
47098
47651
  return props.borderColor;
47099
47652
  });
47100
47653
  var ChannelAvatarAndName = styled.div(_templateObject9$n || (_templateObject9$n = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n align-items: center;\n box-sizing: border-box;\n flex-direction: ", ";\n"])), function (props) {
@@ -47111,7 +47664,7 @@ var ChannelNameWrapper = styled.div(_templateObject1$h || (_templateObject1$h =
47111
47664
  var EditButton = styled.span(_templateObject10$b || (_templateObject10$b = _taggedTemplateLiteralLoose(["\n margin-left: 6px;\n cursor: pointer;\n color: #b2b6be;\n"])));
47112
47665
  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"])));
47113
47666
 
47114
- var _templateObject$14;
47667
+ var _templateObject$15;
47115
47668
  var ChannelDetailsContainer = function ChannelDetailsContainer(_ref) {
47116
47669
  var _ref$size = _ref.size,
47117
47670
  size = _ref$size === void 0 ? 'large' : _ref$size,
@@ -47342,31 +47895,31 @@ var ChannelDetailsContainer = function ChannelDetailsContainer(_ref) {
47342
47895
  QRCodeIcon: QRCodeIcon
47343
47896
  })));
47344
47897
  };
47345
- var DetailsWrapper = styled.div(_templateObject$14 || (_templateObject$14 = _taggedTemplateLiteralLoose(["\n user-select: text;\n"])));
47898
+ var DetailsWrapper = styled.div(_templateObject$15 || (_templateObject$15 = _taggedTemplateLiteralLoose(["\n user-select: text;\n"])));
47346
47899
 
47347
- var _path$1z;
47348
- function _extends$1D() {
47349
- return _extends$1D = Object.assign ? Object.assign.bind() : function (n) {
47900
+ var _path$1C;
47901
+ function _extends$1G() {
47902
+ return _extends$1G = Object.assign ? Object.assign.bind() : function (n) {
47350
47903
  for (var e = 1; e < arguments.length; e++) {
47351
47904
  var t = arguments[e];
47352
47905
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
47353
47906
  }
47354
47907
  return n;
47355
- }, _extends$1D.apply(null, arguments);
47908
+ }, _extends$1G.apply(null, arguments);
47356
47909
  }
47357
47910
  function SvgChevronDown(props) {
47358
- return /*#__PURE__*/createElement$1("svg", _extends$1D({
47911
+ return /*#__PURE__*/createElement$1("svg", _extends$1G({
47359
47912
  width: 32,
47360
47913
  height: 32,
47361
47914
  fill: "none",
47362
47915
  xmlns: "http://www.w3.org/2000/svg"
47363
- }, props), _path$1z || (_path$1z = /*#__PURE__*/createElement$1("path", {
47916
+ }, props), _path$1C || (_path$1C = /*#__PURE__*/createElement$1("path", {
47364
47917
  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",
47365
47918
  fill: "CurrentColor"
47366
47919
  })));
47367
47920
  }
47368
47921
 
47369
- var _templateObject$15, _templateObject2$Y;
47922
+ var _templateObject$16, _templateObject2$Z;
47370
47923
  var MessagesScrollToBottomButton = function MessagesScrollToBottomButton(_ref) {
47371
47924
  var buttonIcon = _ref.buttonIcon,
47372
47925
  buttonWidth = _ref.buttonWidth,
@@ -47449,7 +48002,7 @@ var MessagesScrollToBottomButton = function MessagesScrollToBottomButton(_ref) {
47449
48002
  isMuted: channel.muted
47450
48003
  }, channel.newMessageCount ? channel.newMessageCount > 99 ? '99+' : channel.newMessageCount : '')), buttonIcon || /*#__PURE__*/React__default.createElement(SvgChevronDown, null)));
47451
48004
  };
47452
- var BottomButton = styled.div(_templateObject$15 || (_templateObject$15 = _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) {
48005
+ var BottomButton = styled.div(_templateObject$16 || (_templateObject$16 = _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) {
47453
48006
  return props.animateFrom === 'bottom' && "bottom: " + (props.bottomOffset + (props.bottomPosition === undefined ? 45 : props.bottomPosition) - 130) + "px";
47454
48007
  }, function (props) {
47455
48008
  return props.animateFrom === 'right' && "right: " + (props.rightPosition === undefined ? 16 : props.rightPosition - 100) + "px";
@@ -47460,7 +48013,7 @@ var BottomButton = styled.div(_templateObject$15 || (_templateObject$15 = _tagge
47460
48013
  }, function (props) {
47461
48014
  return props.backgroundColor;
47462
48015
  });
47463
- var UnreadCount$1 = 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) {
48016
+ var UnreadCount$1 = styled.span(_templateObject2$Z || (_templateObject2$Z = _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) {
47464
48017
  return props.backgroundColor;
47465
48018
  }, function (props) {
47466
48019
  return props.fontSize || '13px';
@@ -47472,29 +48025,29 @@ var UnreadCount$1 = styled.span(_templateObject2$Y || (_templateObject2$Y = _tag
47472
48025
  return props.textColor || '#fff';
47473
48026
  });
47474
48027
 
47475
- var _path$1A, _path2$c;
47476
- function _extends$1E() {
47477
- return _extends$1E = Object.assign ? Object.assign.bind() : function (n) {
48028
+ var _path$1D, _path2$d;
48029
+ function _extends$1H() {
48030
+ return _extends$1H = Object.assign ? Object.assign.bind() : function (n) {
47478
48031
  for (var e = 1; e < arguments.length; e++) {
47479
48032
  var t = arguments[e];
47480
48033
  for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
47481
48034
  }
47482
48035
  return n;
47483
- }, _extends$1E.apply(null, arguments);
48036
+ }, _extends$1H.apply(null, arguments);
47484
48037
  }
47485
48038
  function SvgMention(props) {
47486
- return /*#__PURE__*/createElement$1("svg", _extends$1E({
48039
+ return /*#__PURE__*/createElement$1("svg", _extends$1H({
47487
48040
  width: 24,
47488
48041
  height: 24,
47489
48042
  fill: "none",
47490
48043
  xmlns: "http://www.w3.org/2000/svg"
47491
- }, props), _path$1A || (_path$1A = /*#__PURE__*/createElement$1("path", {
48044
+ }, props), _path$1D || (_path$1D = /*#__PURE__*/createElement$1("path", {
47492
48045
  d: "M12 15.6a3.6 3.6 0 100-7.2 3.6 3.6 0 000 7.2z",
47493
48046
  stroke: "currentColor",
47494
48047
  strokeWidth: 1.8,
47495
48048
  strokeLinecap: "round",
47496
48049
  strokeLinejoin: "round"
47497
- })), _path2$c || (_path2$c = /*#__PURE__*/createElement$1("path", {
48050
+ })), _path2$d || (_path2$d = /*#__PURE__*/createElement$1("path", {
47498
48051
  d: "M15.6 8.4v4.5a2.7 2.7 0 005.4 0V12a9 9 0 10-3.528 7.145",
47499
48052
  stroke: "currentColor",
47500
48053
  strokeWidth: 1.8,
@@ -47503,7 +48056,7 @@ function SvgMention(props) {
47503
48056
  })));
47504
48057
  }
47505
48058
 
47506
- var _templateObject$16, _templateObject2$Z;
48059
+ var _templateObject$17, _templateObject2$_;
47507
48060
  var MessagesScrollToUnreadMentionsButton = function MessagesScrollToUnreadMentionsButton(_ref) {
47508
48061
  var buttonIcon = _ref.buttonIcon,
47509
48062
  buttonWidth = _ref.buttonWidth,
@@ -47646,7 +48199,7 @@ var MessagesScrollToUnreadMentionsButton = function MessagesScrollToUnreadMentio
47646
48199
  isMuted: channel.muted
47647
48200
  }, channel.newMentionCount ? channel.newMentionCount > 99 ? '99+' : channel.newMentionCount : '')), buttonIcon || /*#__PURE__*/React__default.createElement(SvgMention, null)));
47648
48201
  };
47649
- var BottomButton$1 = styled.div(_templateObject$16 || (_templateObject$16 = _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) {
48202
+ var BottomButton$1 = styled.div(_templateObject$17 || (_templateObject$17 = _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) {
47650
48203
  return props.animateFrom === 'bottom' && "bottom: " + (props.bottomOffset + (props.bottomPosition === undefined ? 45 : props.bottomPosition) + (props.showsUnreadMentionsButton ? 60 : 0) - 180) + "px";
47651
48204
  }, function (props) {
47652
48205
  return props.animateFrom === 'right' && "right: " + (props.rightPosition === undefined ? 16 : props.rightPosition - 100) + "px";
@@ -47657,7 +48210,7 @@ var BottomButton$1 = styled.div(_templateObject$16 || (_templateObject$16 = _tag
47657
48210
  }, function (props) {
47658
48211
  return props.backgroundColor;
47659
48212
  });
47660
- var UnreadCount$2 = styled.span(_templateObject2$Z || (_templateObject2$Z = _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) {
48213
+ var UnreadCount$2 = styled.span(_templateObject2$_ || (_templateObject2$_ = _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) {
47661
48214
  return props.backgroundColor;
47662
48215
  }, function (props) {
47663
48216
  return props.fontSize || '13px';