sceyt-chat-react-uikit 1.6.3 → 1.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -7845,7 +7845,7 @@ var downloadFile = function downloadFile(attachment, download, done, progressCal
7845
7845
  }();
7846
7846
  if (_temp && _temp.then) return _temp.then(function () {});
7847
7847
  }, function (e) {
7848
- log.info('error on download... ', e);
7848
+ log.error('error on download... ', e);
7849
7849
  if (done) {
7850
7850
  done(attachment.id || '', true);
7851
7851
  }
@@ -11436,7 +11436,7 @@ var MessageTextFormat = function MessageTextFormat(_ref2) {
11436
11436
  }, "" + text.slice(attributeOffset, attributeOffset + attribute.length))), index === combinedAttributesList.length - 1 ? secondPart : '');
11437
11437
  }
11438
11438
  } catch (e) {
11439
- log.info('Error on format message text, message: ', message, 'error: ', e);
11439
+ log.error('Error on format message text, message: ', message, 'error: ', e);
11440
11440
  }
11441
11441
  });
11442
11442
  } else {
@@ -11447,7 +11447,7 @@ var MessageTextFormat = function MessageTextFormat(_ref2) {
11447
11447
  }
11448
11448
  return messageText.length > 1 ? asSampleText ? messageText.join('') : messageText : text;
11449
11449
  } catch (e) {
11450
- log.info(' failed to format message .>>> ', e);
11450
+ log.error(' failed to format message .>>> ', e);
11451
11451
  log.info('message: ', message);
11452
11452
  return text;
11453
11453
  }
@@ -11644,7 +11644,7 @@ function watchForEvents() {
11644
11644
  });
11645
11645
  };
11646
11646
  channelListener.onTotalUnreadCountUpdated = function (unreadChannels, totalUnread, channel, channelUnreadCount, channelUnreadMentions, channelUnreadReactions) {
11647
- if (shouldSkip(channel)) return;
11647
+ if (channel && shouldSkip(channel)) return;
11648
11648
  emitter({
11649
11649
  type: CHANNEL_EVENT_TYPES.UNREAD_MESSAGES_INFO,
11650
11650
  args: {
@@ -12744,7 +12744,7 @@ function watchForEvents() {
12744
12744
  case 421:
12745
12745
  return _context.abrupt("break", 423);
12746
12746
  case 422:
12747
- console.warn('UNHANDLED EVENT FROM REDUX-SAGA EVENT-CHANNEL');
12747
+ log.warn('UNHANDLED EVENT FROM REDUX-SAGA EVENT-CHANNEL');
12748
12748
  case 423:
12749
12749
  case "end":
12750
12750
  return _context.stop();
@@ -13038,7 +13038,7 @@ function createChannel(action) {
13038
13038
  case 53:
13039
13039
  _context.prev = 53;
13040
13040
  _context.t0 = _context["catch"](0);
13041
- log.info(_context.t0, 'Error on create channel');
13041
+ log.error(_context.t0, 'Error on create channel');
13042
13042
  case 56:
13043
13043
  case "end":
13044
13044
  return _context.stop();
@@ -13125,7 +13125,7 @@ function getChannels(action) {
13125
13125
  channelMessageMap[channel.id] = messages[0];
13126
13126
  resolve(true);
13127
13127
  })["catch"](function (e) {
13128
- log.info(e, 'Error on getMessagesById');
13128
+ log.error(e, 'Error on getMessagesById');
13129
13129
  resolve(true);
13130
13130
  });
13131
13131
  }));
@@ -13173,7 +13173,7 @@ function getChannels(action) {
13173
13173
  allChannelsQueryBuilder = new SceytChatClient.ChannelListQueryBuilder();
13174
13174
  allChannelsQueryBuilder.order('lastMessage');
13175
13175
  if (channelTypesFilter !== null && channelTypesFilter !== void 0 && channelTypesFilter.length) {
13176
- channelQueryBuilder.types(channelTypesFilter);
13176
+ allChannelsQueryBuilder.types(channelTypesFilter);
13177
13177
  }
13178
13178
  allChannelsQueryBuilder.limit(50);
13179
13179
  _context2.next = 65;
@@ -13204,7 +13204,7 @@ function getChannels(action) {
13204
13204
  case 79:
13205
13205
  _context2.prev = 79;
13206
13206
  _context2.t1 = _context2["catch"](70);
13207
- log.info(_context2.t1, 'Error on get all channels');
13207
+ log.error(_context2.t1, 'Error on get all channels');
13208
13208
  case 82:
13209
13209
  i++;
13210
13210
  _context2.next = 68;
@@ -13215,7 +13215,7 @@ function getChannels(action) {
13215
13215
  case 87:
13216
13216
  _context2.prev = 87;
13217
13217
  _context2.t2 = _context2["catch"](0);
13218
- log.info(_context2.t2, 'Error on get channels');
13218
+ log.error(_context2.t2, 'Error on get channels');
13219
13219
  case 91:
13220
13220
  case "end":
13221
13221
  return _context2.stop();
@@ -13332,7 +13332,7 @@ function searchChannels(action) {
13332
13332
  case 44:
13333
13333
  _context3.prev = 44;
13334
13334
  _context3.t0 = _context3["catch"](0);
13335
- log.info(_context3.t0, 'Error on get channels');
13335
+ log.error(_context3.t0, 'Error on get channels');
13336
13336
  case 48:
13337
13337
  case "end":
13338
13338
  return _context3.stop();
@@ -13392,7 +13392,7 @@ function getChannelsForForward() {
13392
13392
  case 29:
13393
13393
  _context4.prev = 29;
13394
13394
  _context4.t0 = _context4["catch"](0);
13395
- log.info(_context4.t0, 'Error on get for forward channels');
13395
+ log.error(_context4.t0, 'Error on get for forward channels');
13396
13396
  case 33:
13397
13397
  case "end":
13398
13398
  return _context4.stop();
@@ -13508,7 +13508,7 @@ function searchChannelsForForward(action) {
13508
13508
  case 43:
13509
13509
  _context5.prev = 43;
13510
13510
  _context5.t0 = _context5["catch"](0);
13511
- log.info(_context5.t0, 'Error on get channels');
13511
+ log.error(_context5.t0, 'Error on get channels');
13512
13512
  case 47:
13513
13513
  case "end":
13514
13514
  return _context5.stop();
@@ -13558,7 +13558,7 @@ function channelsLoadMore(action) {
13558
13558
  channelMessageMap[channel.id] = messages[0];
13559
13559
  resolve(true);
13560
13560
  })["catch"](function (e) {
13561
- log.info(e, 'Error on getMessagesById');
13561
+ log.error(e, 'Error on getMessagesById');
13562
13562
  resolve(true);
13563
13563
  });
13564
13564
  }));
@@ -13589,7 +13589,7 @@ function channelsLoadMore(action) {
13589
13589
  case 28:
13590
13590
  _context6.prev = 28;
13591
13591
  _context6.t0 = _context6["catch"](0);
13592
- log.info(_context6.t0, 'Error in load more channels');
13592
+ log.error(_context6.t0, 'Error in load more channels');
13593
13593
  case 31:
13594
13594
  case "end":
13595
13595
  return _context6.stop();
@@ -13640,7 +13640,7 @@ function channelsForForwardLoadMore(action) {
13640
13640
  case 24:
13641
13641
  _context7.prev = 24;
13642
13642
  _context7.t0 = _context7["catch"](0);
13643
- log.info(_context7.t0, 'Error in load more channels for forward');
13643
+ log.error(_context7.t0, 'Error in load more channels for forward');
13644
13644
  case 27:
13645
13645
  case "end":
13646
13646
  return _context7.stop();
@@ -13714,7 +13714,7 @@ function markMessagesRead(action) {
13714
13714
  case 26:
13715
13715
  _context8.prev = 26;
13716
13716
  _context8.t0 = _context8["catch"](5);
13717
- log.info(_context8.t0, 'Error on mark messages read');
13717
+ log.error(_context8.t0, 'Error on mark messages read');
13718
13718
  case 29:
13719
13719
  case "end":
13720
13720
  return _context8.stop();
@@ -13752,7 +13752,7 @@ function markMessagesDelivered(action) {
13752
13752
  case 13:
13753
13753
  _context9.prev = 13;
13754
13754
  _context9.t0 = _context9["catch"](2);
13755
- log.info(_context9.t0, 'Error on mark messages delivered');
13755
+ log.error(_context9.t0, 'Error on mark messages delivered');
13756
13756
  case 16:
13757
13757
  case "end":
13758
13758
  return _context9.stop();
@@ -13834,7 +13834,7 @@ function switchChannel(action) {
13834
13834
  case 44:
13835
13835
  _context10.prev = 44;
13836
13836
  _context10.t0 = _context10["catch"](0);
13837
- log.info('error in switch channel');
13837
+ log.error('error in switch channel', _context10.t0);
13838
13838
  case 47:
13839
13839
  case "end":
13840
13840
  return _context10.stop();
@@ -13875,7 +13875,7 @@ function notificationsTurnOff(action) {
13875
13875
  case 16:
13876
13876
  _context11.prev = 16;
13877
13877
  _context11.t0 = _context11["catch"](7);
13878
- log.info('ERROR turn off notifications', _context11.t0.message);
13878
+ log.error('ERROR turn off notifications', _context11.t0.message);
13879
13879
  case 19:
13880
13880
  case "end":
13881
13881
  return _context11.stop();
@@ -13915,7 +13915,7 @@ function notificationsTurnOn() {
13915
13915
  case 15:
13916
13916
  _context12.prev = 15;
13917
13917
  _context12.t0 = _context12["catch"](6);
13918
- log.info('ERROR turn on notifications: ', _context12.t0.message);
13918
+ log.error('ERROR turn on notifications: ', _context12.t0.message);
13919
13919
  case 18:
13920
13920
  case "end":
13921
13921
  return _context12.stop();
@@ -13953,7 +13953,7 @@ function markChannelAsRead(action) {
13953
13953
  case 14:
13954
13954
  _context13.prev = 14;
13955
13955
  _context13.t0 = _context13["catch"](0);
13956
- log.info(_context13.t0, 'Error in set channel unread');
13956
+ log.error(_context13.t0, 'Error in set channel unread');
13957
13957
  case 17:
13958
13958
  case "end":
13959
13959
  return _context13.stop();
@@ -13990,7 +13990,7 @@ function markChannelAsUnRead(action) {
13990
13990
  case 13:
13991
13991
  _context14.prev = 13;
13992
13992
  _context14.t0 = _context14["catch"](0);
13993
- log.info(_context14.t0, 'Error in set channel unread');
13993
+ log.error(_context14.t0, 'Error in set channel unread');
13994
13994
  case 16:
13995
13995
  case "end":
13996
13996
  return _context14.stop();
@@ -14028,7 +14028,7 @@ function pinChannel(action) {
14028
14028
  case 14:
14029
14029
  _context15.prev = 14;
14030
14030
  _context15.t0 = _context15["catch"](0);
14031
- log.info(_context15.t0, 'Error in pinChannel');
14031
+ log.error(_context15.t0, 'Error in pinChannel');
14032
14032
  case 17:
14033
14033
  case "end":
14034
14034
  return _context15.stop();
@@ -14066,7 +14066,7 @@ function unpinChannel(action) {
14066
14066
  case 14:
14067
14067
  _context16.prev = 14;
14068
14068
  _context16.t0 = _context16["catch"](0);
14069
- log.info(_context16.t0, 'Error in unpinChannel');
14069
+ log.error(_context16.t0, 'Error in unpinChannel');
14070
14070
  case 17:
14071
14071
  case "end":
14072
14072
  return _context16.stop();
@@ -14152,7 +14152,7 @@ function leaveChannel(action) {
14152
14152
  case 26:
14153
14153
  _context18.prev = 26;
14154
14154
  _context18.t0 = _context18["catch"](0);
14155
- log.info('ERROR in leave channel - ', _context18.t0.message);
14155
+ log.error('ERROR in leave channel - ', _context18.t0.message);
14156
14156
  case 29:
14157
14157
  case "end":
14158
14158
  return _context18.stop();
@@ -14195,7 +14195,7 @@ function deleteChannel(action) {
14195
14195
  case 18:
14196
14196
  _context19.prev = 18;
14197
14197
  _context19.t0 = _context19["catch"](0);
14198
- log.info('ERROR in delete channel');
14198
+ log.error('ERROR in delete channel', _context19.t0);
14199
14199
  case 21:
14200
14200
  case "end":
14201
14201
  return _context19.stop();
@@ -14235,7 +14235,7 @@ function blockChannel(action) {
14235
14235
  case 16:
14236
14236
  _context20.prev = 16;
14237
14237
  _context20.t0 = _context20["catch"](0);
14238
- log.info('ERROR in block channel - ', _context20.t0.message);
14238
+ log.error('ERROR in block channel - ', _context20.t0.message);
14239
14239
  case 19:
14240
14240
  case "end":
14241
14241
  return _context20.stop();
@@ -14312,7 +14312,7 @@ function updateChannel(action) {
14312
14312
  case 28:
14313
14313
  _context21.prev = 28;
14314
14314
  _context21.t0 = _context21["catch"](0);
14315
- log.info('ERROR in update channel', _context21.t0.message);
14315
+ log.error('ERROR in update channel', _context21.t0.message);
14316
14316
  case 31:
14317
14317
  case "end":
14318
14318
  return _context21.stop();
@@ -14359,7 +14359,7 @@ function checkUsersStatus() {
14359
14359
  case 19:
14360
14360
  _context22.prev = 19;
14361
14361
  _context22.t0 = _context22["catch"](0);
14362
- log.info('ERROR in check user status : ', _context22.t0.message);
14362
+ log.error('ERROR in check user status : ', _context22.t0.message);
14363
14363
  case 22:
14364
14364
  case "end":
14365
14365
  return _context22.stop();
@@ -14403,7 +14403,7 @@ function sendTyping(action) {
14403
14403
  case 18:
14404
14404
  _context23.prev = 18;
14405
14405
  _context23.t0 = _context23["catch"](7);
14406
- log.info('ERROR in send typing', _context23.t0);
14406
+ log.error('ERROR in send typing', _context23.t0);
14407
14407
  case 21:
14408
14408
  case "end":
14409
14409
  return _context23.stop();
@@ -14471,7 +14471,7 @@ function clearHistory(action) {
14471
14471
  case 27:
14472
14472
  _context24.prev = 27;
14473
14473
  _context24.t0 = _context24["catch"](0);
14474
- log.info('ERROR in clear history');
14474
+ log.error('ERROR in clear history', _context24.t0);
14475
14475
  case 30:
14476
14476
  case "end":
14477
14477
  return _context24.stop();
@@ -14542,7 +14542,7 @@ function deleteAllMessages(action) {
14542
14542
  case 28:
14543
14543
  _context25.prev = 28;
14544
14544
  _context25.t0 = _context25["catch"](0);
14545
- log.info('ERROR in clear history');
14545
+ log.error('ERROR in clear history', _context25.t0);
14546
14546
  case 31:
14547
14547
  case "end":
14548
14548
  return _context25.stop();
@@ -14596,7 +14596,7 @@ function joinChannel(action) {
14596
14596
  case 26:
14597
14597
  _context26.prev = 26;
14598
14598
  _context26.t0 = _context26["catch"](0);
14599
- log.info(_context26.t0, 'Error in join to channel');
14599
+ log.error(_context26.t0, 'Error in join to channel');
14600
14600
  case 29:
14601
14601
  case "end":
14602
14602
  return _context26.stop();
@@ -15042,7 +15042,7 @@ var _setDataToDB = function setDataToDB(dbName, storeName, data, keyPath) {
15042
15042
  addData(db, storeName, keyPath, data);
15043
15043
  };
15044
15044
  openRequest.onerror = function () {
15045
- console.error('Indexeddb Error ', openRequest.error);
15045
+ log.error('Indexeddb Error ', openRequest.error);
15046
15046
  };
15047
15047
  openRequest.onsuccess = function (event) {
15048
15048
  var db = event.target.result;
@@ -15104,7 +15104,7 @@ var _getDataFromDB = function getDataFromDB(dbName, storeName, keyPath, keyPatNa
15104
15104
  };
15105
15105
  request.onerror = function (event) {
15106
15106
  db.close();
15107
- console.error('Error retrieving data: ', event.target.error);
15107
+ log.error('Error retrieving data: ', event.target.error);
15108
15108
  };
15109
15109
  } else {
15110
15110
  db.close();
@@ -15681,7 +15681,7 @@ function sendMessage(action) {
15681
15681
  case 49:
15682
15682
  _context2.prev = 49;
15683
15683
  _context2.t0 = _context2["catch"](2);
15684
- log.info('Error on uploading attachment', message.tid, _context2.t0);
15684
+ log.error('Error on uploading attachment', message.tid, _context2.t0);
15685
15685
  _context2.next = 54;
15686
15686
  return effects.put(updateAttachmentUploadingStateAC(UPLOAD_STATE.FAIL, message.tid));
15687
15687
  case 54:
@@ -15721,7 +15721,7 @@ function sendMessage(action) {
15721
15721
  case 80:
15722
15722
  _context3.prev = 80;
15723
15723
  _context3.t2 = _context3["catch"](2);
15724
- log.info('error on send message ... ', _context3.t2);
15724
+ log.error('error on send message ... ', _context3.t2);
15725
15725
  case 83:
15726
15726
  case "end":
15727
15727
  return _context3.stop();
@@ -15903,7 +15903,7 @@ function sendTextMessage(action) {
15903
15903
  case 82:
15904
15904
  _context4.prev = 82;
15905
15905
  _context4.t0 = _context4["catch"](8);
15906
- log.info('error on send text message ... ', _context4.t0);
15906
+ log.error('error on send text message ... ', _context4.t0);
15907
15907
  updateMessageOnMap(channel.id, {
15908
15908
  messageId: sendMessageTid,
15909
15909
  params: {
@@ -16098,7 +16098,7 @@ function forwardMessage(action) {
16098
16098
  case 73:
16099
16099
  _context5.prev = 73;
16100
16100
  _context5.t0 = _context5["catch"](0);
16101
- log.info('error on forward message ... ', _context5.t0);
16101
+ log.error('error on forward message ... ', _context5.t0);
16102
16102
  case 76:
16103
16103
  _context5.next = 78;
16104
16104
  return effects.put(setMessagesLoadingStateAC(LOADING_STATE.LOADED));
@@ -16307,7 +16307,7 @@ function resendMessage(action) {
16307
16307
  case 85:
16308
16308
  _context6.prev = 85;
16309
16309
  _context6.t0 = _context6["catch"](29);
16310
- log.info('fail upload attachment on resend message ... ', _context6.t0);
16310
+ log.error('fail upload attachment on resend message ... ', _context6.t0);
16311
16311
  _context6.next = 90;
16312
16312
  return effects.put(updateAttachmentUploadingStateAC(UPLOAD_STATE.FAIL, messageAttachment.tid));
16313
16313
  case 90:
@@ -16397,7 +16397,7 @@ function resendMessage(action) {
16397
16397
  case 125:
16398
16398
  _context6.prev = 125;
16399
16399
  _context6.t1 = _context6["catch"](7);
16400
- log.info('ERROR in resend message', _context6.t1.message, 'channel.. . ', channel);
16400
+ log.error('ERROR in resend message', _context6.t1.message, 'channel.. . ', channel);
16401
16401
  _context6.next = 130;
16402
16402
  return effects.put(updateMessageAC(message.tid, {
16403
16403
  state: MESSAGE_STATUS.FAILED
@@ -16466,7 +16466,7 @@ function deleteMessage(action) {
16466
16466
  case 22:
16467
16467
  _context7.prev = 22;
16468
16468
  _context7.t0 = _context7["catch"](0);
16469
- log.info('ERROR in delete message', _context7.t0.message);
16469
+ log.error('ERROR in delete message', _context7.t0.message);
16470
16470
  case 25:
16471
16471
  case "end":
16472
16472
  return _context7.stop();
@@ -16524,7 +16524,7 @@ function editMessage(action) {
16524
16524
  case 21:
16525
16525
  _context8.prev = 21;
16526
16526
  _context8.t0 = _context8["catch"](0);
16527
- log.info('ERROR in edit message', _context8.t0.message);
16527
+ log.error('ERROR in edit message', _context8.t0.message);
16528
16528
  case 24:
16529
16529
  case "end":
16530
16530
  return _context8.stop();
@@ -16853,7 +16853,7 @@ function getMessagesQuery(action) {
16853
16853
  case 177:
16854
16854
  _context9.prev = 177;
16855
16855
  _context9.t0 = _context9["catch"](0);
16856
- log.info('error in message query', _context9.t0);
16856
+ log.error('error in message query', _context9.t0);
16857
16857
  case 180:
16858
16858
  case "end":
16859
16859
  return _context9.stop();
@@ -16962,7 +16962,7 @@ function loadMoreMessages(action) {
16962
16962
  case 55:
16963
16963
  _context10.prev = 55;
16964
16964
  _context10.t0 = _context10["catch"](0);
16965
- log.info('error in load more messages', _context10.t0);
16965
+ log.error('error in load more messages', _context10.t0);
16966
16966
  case 58:
16967
16967
  case "end":
16968
16968
  return _context10.stop();
@@ -17024,7 +17024,7 @@ function addReaction(action) {
17024
17024
  case 28:
17025
17025
  _context11.prev = 28;
17026
17026
  _context11.t0 = _context11["catch"](0);
17027
- log.info('ERROR in add reaction', _context11.t0.message);
17027
+ log.error('ERROR in add reaction', _context11.t0.message);
17028
17028
  case 31:
17029
17029
  case "end":
17030
17030
  return _context11.stop();
@@ -17082,7 +17082,7 @@ function deleteReaction(action) {
17082
17082
  case 26:
17083
17083
  _context12.prev = 26;
17084
17084
  _context12.t0 = _context12["catch"](0);
17085
- log.info('ERROR in delete reaction', _context12.t0.message);
17085
+ log.error('ERROR in delete reaction', _context12.t0.message);
17086
17086
  case 29:
17087
17087
  case "end":
17088
17088
  return _context12.stop();
@@ -17126,7 +17126,7 @@ function getReactions(action) {
17126
17126
  case 22:
17127
17127
  _context13.prev = 22;
17128
17128
  _context13.t0 = _context13["catch"](0);
17129
- log.info('ERROR in get reactions', _context13.t0.message);
17129
+ log.error('ERROR in get reactions', _context13.t0.message);
17130
17130
  case 25:
17131
17131
  case "end":
17132
17132
  return _context13.stop();
@@ -17163,7 +17163,7 @@ function loadMoreReactions(action) {
17163
17163
  case 16:
17164
17164
  _context14.prev = 16;
17165
17165
  _context14.t0 = _context14["catch"](0);
17166
- log.info('ERROR in load more reactions', _context14.t0.message);
17166
+ log.error('ERROR in load more reactions', _context14.t0.message);
17167
17167
  case 19:
17168
17168
  case "end":
17169
17169
  return _context14.stop();
@@ -17250,7 +17250,7 @@ function getMessageAttachments(action) {
17250
17250
  case 41:
17251
17251
  _context15.prev = 41;
17252
17252
  _context15.t0 = _context15["catch"](0);
17253
- log.info('error in message attachment query');
17253
+ log.error('error in message attachment query', _context15.t0);
17254
17254
  case 44:
17255
17255
  case "end":
17256
17256
  return _context15.stop();
@@ -17303,7 +17303,7 @@ function loadMoreMessageAttachments(action) {
17303
17303
  case 24:
17304
17304
  _context16.prev = 24;
17305
17305
  _context16.t0 = _context16["catch"](0);
17306
- log.info('error in message attachment query', _context16.t0);
17306
+ log.error('error in message attachment query', _context16.t0);
17307
17307
  case 28:
17308
17308
  case "end":
17309
17309
  return _context16.stop();
@@ -17334,7 +17334,7 @@ function pauseAttachmentUploading(action) {
17334
17334
  case 9:
17335
17335
  _context17.prev = 9;
17336
17336
  _context17.t0 = _context17["catch"](0);
17337
- log.info('error in pause attachment uploading', _context17.t0);
17337
+ log.error('error in pause attachment uploading', _context17.t0);
17338
17338
  case 13:
17339
17339
  case "end":
17340
17340
  return _context17.stop();
@@ -17366,7 +17366,7 @@ function resumeAttachmentUploading(action) {
17366
17366
  case 10:
17367
17367
  _context18.prev = 10;
17368
17368
  _context18.t0 = _context18["catch"](0);
17369
- log.info('error in resume attachment uploading', _context18.t0);
17369
+ log.error('error in resume attachment uploading', _context18.t0);
17370
17370
  case 14:
17371
17371
  case "end":
17372
17372
  return _context18.stop();
@@ -17475,7 +17475,7 @@ function getMembers(action) {
17475
17475
  case 22:
17476
17476
  _context.prev = 22;
17477
17477
  _context.t0 = _context["catch"](0);
17478
- log.info('ERROR in get members - ', _context.t0.message);
17478
+ log.error('ERROR in get members - ', _context.t0.message);
17479
17479
  case 26:
17480
17480
  case "end":
17481
17481
  return _context.stop();
@@ -17579,7 +17579,7 @@ function addMembers(action) {
17579
17579
  case 24:
17580
17580
  _context3.prev = 24;
17581
17581
  _context3.t0 = _context3["catch"](0);
17582
- log.info('error on add members... ', _context3.t0);
17582
+ log.error('error on add members... ', _context3.t0);
17583
17583
  case 27:
17584
17584
  case "end":
17585
17585
  return _context3.stop();
@@ -17706,7 +17706,7 @@ function changeMemberRole(action) {
17706
17706
  case 13:
17707
17707
  _context6.prev = 13;
17708
17708
  _context6.t0 = _context6["catch"](0);
17709
- log.info('error in change member role');
17709
+ log.error('error in change member role', _context6.t0);
17710
17710
  case 16:
17711
17711
  case "end":
17712
17712
  return _context6.stop();
@@ -17729,7 +17729,7 @@ function reportMember(action) {
17729
17729
  case 7:
17730
17730
  _context7.prev = 7;
17731
17731
  _context7.t0 = _context7["catch"](2);
17732
- log.info('ERROR report user', _context7.t0.message);
17732
+ log.error('ERROR report user', _context7.t0.message);
17733
17733
  case 10:
17734
17734
  case "end":
17735
17735
  return _context7.stop();
@@ -17759,7 +17759,7 @@ function getRoles(action) {
17759
17759
  case 12:
17760
17760
  _context8.prev = 12;
17761
17761
  _context8.t0 = _context8["catch"](1);
17762
- log.info('ERROR get roles', _context8.t0);
17762
+ log.error('ERROR get roles', _context8.t0);
17763
17763
  _context8.next = 17;
17764
17764
  return effects.put(getRolesFailAC((timeout || 0) + 300, (attempts || 0) + 1));
17765
17765
  case 17:
@@ -17831,7 +17831,7 @@ function getContacts() {
17831
17831
  case 11:
17832
17832
  _context.prev = 11;
17833
17833
  _context.t0 = _context["catch"](0);
17834
- log.info('ERROR in get contacts - :', _context.t0.message);
17834
+ log.error('ERROR in get contacts - :', _context.t0.message);
17835
17835
  case 15:
17836
17836
  case "end":
17837
17837
  return _context.stop();
@@ -17893,7 +17893,7 @@ function blockUser(action) {
17893
17893
  case 21:
17894
17894
  _context2.prev = 21;
17895
17895
  _context2.t0 = _context2["catch"](0);
17896
- log.info('error in block users', _context2.t0.message);
17896
+ log.error('error in block users', _context2.t0.message);
17897
17897
  case 24:
17898
17898
  case "end":
17899
17899
  return _context2.stop();
@@ -17955,7 +17955,7 @@ function unblockUser(action) {
17955
17955
  case 21:
17956
17956
  _context3.prev = 21;
17957
17957
  _context3.t0 = _context3["catch"](0);
17958
- log.info('error in unblock users', _context3.t0.message);
17958
+ log.error('error in unblock users', _context3.t0.message);
17959
17959
  case 24:
17960
17960
  case "end":
17961
17961
  return _context3.stop();
@@ -18014,7 +18014,7 @@ function updateProfile(action) {
18014
18014
  case 23:
18015
18015
  _context4.prev = 23;
18016
18016
  _context4.t0 = _context4["catch"](0);
18017
- log.info(_context4.t0, 'Error on update user');
18017
+ log.error(_context4.t0, 'Error on update user');
18018
18018
  case 26:
18019
18019
  case "end":
18020
18020
  return _context4.stop();
@@ -18083,7 +18083,7 @@ function getUsers(action) {
18083
18083
  case 31:
18084
18084
  _context5.prev = 31;
18085
18085
  _context5.t0 = _context5["catch"](0);
18086
- log.info('ERROR on get users', _context5.t0.message);
18086
+ log.error('ERROR on get users', _context5.t0.message);
18087
18087
  case 35:
18088
18088
  case "end":
18089
18089
  return _context5.stop();
@@ -18121,7 +18121,7 @@ function loadMoreUsers(action) {
18121
18121
  case 17:
18122
18122
  _context6.prev = 17;
18123
18123
  _context6.t0 = _context6["catch"](0);
18124
- log.info('ERROR load more users', _context6.t0.message);
18124
+ log.error('ERROR load more users', _context6.t0.message);
18125
18125
  case 21:
18126
18126
  case "end":
18127
18127
  return _context6.stop();
@@ -18513,7 +18513,7 @@ var SceytChat = function SceytChat(_ref) {
18513
18513
  });
18514
18514
  }
18515
18515
  } catch (e) {
18516
- console.error('safari Notification request permission', e);
18516
+ log.error('safari Notification request permission', e);
18517
18517
  }
18518
18518
  window.sceytTabNotifications = null;
18519
18519
  window.sceytTabUrl = window.location.href;
@@ -20140,7 +20140,7 @@ var ImageCrop = function ImageCrop(_ref) {
20140
20140
  handleClosePopup(true);
20141
20141
  });
20142
20142
  }, function (e) {
20143
- console.error(e);
20143
+ log.error(e);
20144
20144
  });
20145
20145
  return Promise.resolve(_temp && _temp.then ? _temp.then(function () {}) : void 0);
20146
20146
  } catch (e) {
@@ -22285,7 +22285,7 @@ var setAttachmentToCache = function setAttachmentToCache(attachmentUrl, attachme
22285
22285
  var getAttachmentUrlFromCache = function getAttachmentUrlFromCache(attachmentUrl) {
22286
22286
  try {
22287
22287
  if (!cacheAvailable) {
22288
- console.error('Cache is not available');
22288
+ log.error('Cache is not available');
22289
22289
  return Promise.reject(new Error('Cache not available'));
22290
22290
  }
22291
22291
  return Promise.resolve(caches.match(attachmentUrl)).then(function (response) {
@@ -23394,7 +23394,7 @@ var SliderPopup = function SliderPopup(_ref) {
23394
23394
  }
23395
23395
  }
23396
23396
  })["catch"](function (e) {
23397
- return log.info(e);
23397
+ return log.error(e);
23398
23398
  });
23399
23399
  }
23400
23400
  }, [currentFile]);
@@ -25035,8 +25035,8 @@ var AudioPlayer = function AudioPlayer(_ref) {
25035
25035
  setIsRendered(true);
25036
25036
  }
25037
25037
  });
25038
- }, function () {
25039
- log.info('Failed to init wavesurfer');
25038
+ }, function (e) {
25039
+ log.error('Failed to init wavesurfer', e);
25040
25040
  });
25041
25041
  return Promise.resolve(_temp && _temp.then ? _temp.then(function () {}) : void 0);
25042
25042
  } catch (e) {
@@ -25165,7 +25165,7 @@ var Attachment = function Attachment(_ref) {
25165
25165
  attachmentThumb = attachment.metadata && attachment.metadata.tmb;
25166
25166
  }
25167
25167
  } catch (e) {
25168
- log.info('error on get attachmentThumb', e);
25168
+ log.error('error on get attachmentThumb', e);
25169
25169
  }
25170
25170
  }
25171
25171
  var downloadImage = function downloadImage(url) {
@@ -25176,7 +25176,7 @@ var Attachment = function Attachment(_ref) {
25176
25176
  setDownloadingFile(false);
25177
25177
  };
25178
25178
  image.onerror = function () {
25179
- console.error('Error on download image', url);
25179
+ log.error('Error on download image', url);
25180
25180
  };
25181
25181
  };
25182
25182
  var handlePauseResumeDownload = function handlePauseResumeDownload(e) {
@@ -26957,7 +26957,8 @@ var MessageBody = function MessageBody(_ref) {
26957
26957
  handleMouseEnter = _ref.handleMouseEnter,
26958
26958
  handleMouseLeave = _ref.handleMouseLeave,
26959
26959
  handleReactionAddDelete = _ref.handleReactionAddDelete,
26960
- handleCreateChat = _ref.handleCreateChat;
26960
+ handleCreateChat = _ref.handleCreateChat,
26961
+ messageTextRef = _ref.messageTextRef;
26961
26962
  var _useColor = useColors(),
26962
26963
  accentColor = _useColor[THEME_COLORS.ACCENT],
26963
26964
  textPrimary = _useColor[THEME_COLORS.TEXT_PRIMARY],
@@ -26967,7 +26968,6 @@ var MessageBody = function MessageBody(_ref) {
26967
26968
  var ChatClient = getClient();
26968
26969
  var user = ChatClient.user;
26969
26970
  var getFromContacts = getShowOnlyContactUsers();
26970
- var messageTextRef = React.useRef(null);
26971
26971
  var messageUserID = message.user ? message.user.id : 'deleted';
26972
26972
  var prevMessageUserID = prevMessage ? prevMessage.user ? prevMessage.user.id : 'deleted' : null;
26973
26973
  var nextMessageUserID = nextMessage ? nextMessage.user ? nextMessage.user.id : 'deleted' : null;
@@ -27881,7 +27881,8 @@ var Message$1 = function Message(_ref) {
27881
27881
  handleMouseEnter: handleMouseEnter,
27882
27882
  handleMouseLeave: handleMouseLeave,
27883
27883
  handleDeletePendingMessage: handleDeletePendingMessage,
27884
- handleCreateChat: handleCreateChat
27884
+ handleCreateChat: handleCreateChat,
27885
+ messageTextRef: messageTextRef
27885
27886
  })), messageStatusAndTimePosition === 'bottomOfMessage' && (messageStatusVisible || messageTimeVisible) && (/*#__PURE__*/React__default.createElement(MessageStatusAndTime$1, {
27886
27887
  message: message,
27887
27888
  showMessageTimeAndStatusOnlyOnHover: showMessageTimeAndStatusOnlyOnHover,
@@ -30569,7 +30570,7 @@ function EmojisPopup$1(_ref2) {
30569
30570
  editor = _useLexicalComposerCo[0];
30570
30571
  richTextEditor = editor;
30571
30572
  } catch (e) {
30572
- log.info('error getting editor', e);
30573
+ log.error('error getting editor', e);
30573
30574
  }
30574
30575
  var _useState = React.useState(false),
30575
30576
  rendered = _useState[0],
@@ -31053,7 +31054,7 @@ var AudioRecord = function AudioRecord(_ref) {
31053
31054
  }
31054
31055
  soundAllowed(stream);
31055
31056
  })["catch"](function (e) {
31056
- console.error(e);
31057
+ log.error(e);
31057
31058
  });
31058
31059
  }
31059
31060
  });
@@ -31155,7 +31156,7 @@ var AudioRecord = function AudioRecord(_ref) {
31155
31156
  };
31156
31157
  reader.readAsArrayBuffer(blob);
31157
31158
  })["catch"](function (e) {
31158
- console.error(e);
31159
+ log.error(e);
31159
31160
  });
31160
31161
  }
31161
31162
  var handlePlayPause = function handlePlayPause() {
@@ -31247,8 +31248,8 @@ var AudioRecord = function AudioRecord(_ref) {
31247
31248
  }
31248
31249
  }();
31249
31250
  return _temp && _temp.then ? _temp.then(_temp2) : _temp2(_temp);
31250
- }, function () {
31251
- log.info('Failed to init wavesurfer');
31251
+ }, function (e) {
31252
+ log.error('Failed to init wavesurfer', e);
31252
31253
  });
31253
31254
  return Promise.resolve(_temp3 && _temp3.then ? _temp3.then(function () {}) : void 0);
31254
31255
  } catch (e) {
@@ -31278,8 +31279,8 @@ var AudioRecord = function AudioRecord(_ref) {
31278
31279
  });
31279
31280
  setRecorder(recorder);
31280
31281
  });
31281
- }, function () {
31282
- log.info('Failed to init mic-recorder-to-mp3');
31282
+ }, function (e) {
31283
+ log.error('Failed to init mic-recorder-to-mp3', e);
31283
31284
  });
31284
31285
  if (_temp4 && _temp4.then) return _temp4.then(function () {});
31285
31286
  }
@@ -31368,7 +31369,7 @@ var Timer$1 = styled__default.div(_templateObject7$g || (_templateObject7$g = _t
31368
31369
  return props.color;
31369
31370
  });
31370
31371
 
31371
- var _templateObject$H, _templateObject2$C, _templateObject3$v, _templateObject4$r, _templateObject5$n, _templateObject6$j, _templateObject7$h, _templateObject8$f, _templateObject9$d, _templateObject10$c, _templateObject11$8, _templateObject12$5, _templateObject13$5, _templateObject14$4, _templateObject15$3, _templateObject16$2, _templateObject17$2, _templateObject18$2, _templateObject19$2, _templateObject20$1, _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;
31372
+ var _templateObject$H, _templateObject2$C, _templateObject3$v, _templateObject4$r, _templateObject5$n, _templateObject6$j, _templateObject7$h, _templateObject8$f, _templateObject9$d, _templateObject10$c, _templateObject11$8, _templateObject12$5, _templateObject13$5, _templateObject14$4, _templateObject15$3, _templateObject16$2, _templateObject17$2, _templateObject18$2, _templateObject19$2, _templateObject20$1, _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, _templateObject35$1;
31372
31373
  function AutoFocusPlugin(_ref) {
31373
31374
  var messageForReply = _ref.messageForReply;
31374
31375
  var _useLexicalComposerCo = LexicalComposerContext.useLexicalComposerContext(),
@@ -31426,7 +31427,7 @@ function ClearEditorPlugin(_ref2) {
31426
31427
  return null;
31427
31428
  }
31428
31429
  function onError(error) {
31429
- console.error(error);
31430
+ log.error(error);
31430
31431
  }
31431
31432
  var prevActiveChannelId;
31432
31433
  var attachmentsUpdate = [];
@@ -32253,7 +32254,7 @@ var SendMessageInput = function SendMessageInput(_ref3) {
32253
32254
  dataFromDb = _getDataFromDB;
32254
32255
  });
32255
32256
  }, function (e) {
32256
- log.info('error in get data from db . . . . ', e);
32257
+ log.error('error in get data from db . . . . ', e);
32257
32258
  });
32258
32259
  return _temp11 && _temp11.then ? _temp11.then(_temp12) : _temp12(_temp11);
32259
32260
  });
@@ -32681,7 +32682,7 @@ var SendMessageInput = function SendMessageInput(_ref3) {
32681
32682
  isRepliedMessage: true
32682
32683
  })) : messageForReply.attachments[0].type === attachmentTypes.file && (/*#__PURE__*/React__default.createElement(ReplyIconWrapper, {
32683
32684
  backgroundColor: accentColor
32684
- }, /*#__PURE__*/React__default.createElement(SvgChoseFile, null)))), /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(EditReplyMessageHeader, {
32685
+ }, /*#__PURE__*/React__default.createElement(SvgChoseFile, null)))), /*#__PURE__*/React__default.createElement(ReplyMessageBody$1, null, /*#__PURE__*/React__default.createElement(EditReplyMessageHeader, {
32685
32686
  color: accentColor
32686
32687
  }, replyMessageIcon || /*#__PURE__*/React__default.createElement(SvgReplyIcon, null), " Reply to", /*#__PURE__*/React__default.createElement(UserName$1, null, user.id === messageForReply.user.id ? user.firstName ? user.firstName + " " + user.lastName : user.id : makeUsername(contactsMap[messageForReply.user.id], messageForReply.user, getFromContacts))), messageForReply.attachments && messageForReply.attachments.length ? messageForReply.attachments[0].type === attachmentTypes.voice ? 'Voice' : messageForReply.attachments[0].type === attachmentTypes.image ? (/*#__PURE__*/React__default.createElement(TextInOneLine, null, messageForReply.body || 'Photo')) : messageForReply.attachments[0].type === attachmentTypes.video ? (/*#__PURE__*/React__default.createElement(TextInOneLine, null, messageForReply.body || 'Video')) : (/*#__PURE__*/React__default.createElement(TextInOneLine, null, messageForReply.body || 'File')) : MessageTextFormat({
32687
32688
  text: messageForReply.body,
@@ -32884,7 +32885,7 @@ var EditReplyMessageCont = styled__default.div(_templateObject3$v || (_templateO
32884
32885
  }, function (props) {
32885
32886
  return props.backgroundColor;
32886
32887
  });
32887
- var EditMessageText = styled__default.p(_templateObject4$r || (_templateObject4$r = _taggedTemplateLiteralLoose(["\n margin: 0;\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n"])));
32888
+ var EditMessageText = styled__default.p(_templateObject4$r || (_templateObject4$r = _taggedTemplateLiteralLoose(["\n margin: 0;\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n word-break: break-word;\n"])));
32888
32889
  var UploadErrorMessage = styled__default.p(_templateObject5$n || (_templateObject5$n = _taggedTemplateLiteralLoose(["\n margin: 0;\n position: absolute;\n top: -30px;\n color: ", ";\n"])), function (props) {
32889
32890
  return props.color;
32890
32891
  });
@@ -32892,10 +32893,11 @@ var CloseEditMode = styled__default.span(_templateObject6$j || (_templateObject6
32892
32893
  return props.color;
32893
32894
  });
32894
32895
  var UserName$1 = styled__default.span(_templateObject7$h || (_templateObject7$h = _taggedTemplateLiteralLoose(["\n font-weight: 500;\n margin-left: 4px;\n"])));
32895
- var EditReplyMessageHeader = styled__default.h4(_templateObject8$f || (_templateObject8$f = _taggedTemplateLiteralLoose(["\n display: flex;\n margin: 0 0 2px;\n font-weight: 400;\n font-size: 13px;\n line-height: 16px;\n color: ", ";\n\n > svg {\n margin-right: 4px;\n width: 16px;\n height: 16px;\n }\n"])), function (props) {
32896
+ var ReplyMessageBody$1 = styled__default.div(_templateObject8$f || (_templateObject8$f = _taggedTemplateLiteralLoose(["\n word-break: break-word;\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n"])));
32897
+ var EditReplyMessageHeader = styled__default.h4(_templateObject9$d || (_templateObject9$d = _taggedTemplateLiteralLoose(["\n display: flex;\n margin: 0 0 2px;\n font-weight: 400;\n font-size: 13px;\n line-height: 16px;\n color: ", ";\n\n > svg {\n margin-right: 4px;\n width: 16px;\n height: 16px;\n }\n"])), function (props) {
32896
32898
  return props.color;
32897
32899
  });
32898
- var AddAttachmentIcon = styled__default.span(_templateObject9$d || (_templateObject9$d = _taggedTemplateLiteralLoose(["\n display: flex;\n height: ", ";\n align-items: center;\n margin: 0 8px;\n cursor: pointer;\n line-height: 13px;\n z-index: 2;\n order: ", ";\n\n > svg {\n ", ";\n width: 24px;\n }\n\n &:hover > svg {\n color: ", ";\n }\n"])), function (props) {
32900
+ var AddAttachmentIcon = styled__default.span(_templateObject10$c || (_templateObject10$c = _taggedTemplateLiteralLoose(["\n display: flex;\n height: ", ";\n align-items: center;\n margin: 0 8px;\n cursor: pointer;\n line-height: 13px;\n z-index: 2;\n order: ", ";\n\n > svg {\n ", ";\n width: 24px;\n }\n\n &:hover > svg {\n color: ", ";\n }\n"])), function (props) {
32899
32901
  return props.height ? props.height + "px" : '36px';
32900
32902
  }, function (props) {
32901
32903
  return props.order === 0 || props.order ? props.order : 1;
@@ -32904,21 +32906,21 @@ var AddAttachmentIcon = styled__default.span(_templateObject9$d || (_templateObj
32904
32906
  }, function (props) {
32905
32907
  return props.hoverColor;
32906
32908
  });
32907
- var SendMessageInputContainer = styled__default.div(_templateObject10$c || (_templateObject10$c = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: flex-end;\n justify-content: space-between;\n position: relative;\n min-height: ", ";\n box-sizing: border-box;\n border-radius: ", ";\n\n & .dropdown-trigger.open {\n color: #ccc;\n\n & ", " {\n & > svg {\n color: ", ";\n }\n ;\n }\n }\n}\n"])), function (props) {
32909
+ var SendMessageInputContainer = styled__default.div(_templateObject11$8 || (_templateObject11$8 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: flex-end;\n justify-content: space-between;\n position: relative;\n min-height: ", ";\n box-sizing: border-box;\n border-radius: ", ";\n\n & .dropdown-trigger.open {\n color: #ccc;\n\n & ", " {\n & > svg {\n color: ", ";\n }\n ;\n }\n }\n}\n"])), function (props) {
32908
32910
  return props.minHeight || '36px';
32909
32911
  }, function (props) {
32910
32912
  return props.messageForReply ? '0 0 4px 4px' : '4px';
32911
32913
  }, AddAttachmentIcon, function (props) {
32912
32914
  return props.iconColor;
32913
32915
  });
32914
- var MessageInputWrapper = styled__default.div(_templateObject11$8 || (_templateObject11$8 = _taggedTemplateLiteralLoose(["\n display: flex;\n width: 100%;\n max-width: calc(100% - 50px);\n //max-width: ", ";\n //max-width: calc(100% - 110px);\n background-color: ", ";\n border-radius: ", ";\n position: relative;\n"])), function (props) {
32916
+ var MessageInputWrapper = styled__default.div(_templateObject12$5 || (_templateObject12$5 = _taggedTemplateLiteralLoose(["\n display: flex;\n width: 100%;\n max-width: calc(100% - 50px);\n //max-width: ", ";\n //max-width: calc(100% - 110px);\n background-color: ", ";\n border-radius: ", ";\n position: relative;\n"])), function (props) {
32915
32917
  return props.channelDetailsIsOpen ? "calc(100% - " + (props.channelDetailsIsOpen ? 362 : 0) + "px)" : '';
32916
32918
  }, function (props) {
32917
32919
  return props.backgroundColor;
32918
32920
  }, function (props) {
32919
32921
  return props.borderRadius || '18px';
32920
32922
  });
32921
- var LexicalWrapper = styled__default.div(_templateObject12$5 || (_templateObject12$5 = _taggedTemplateLiteralLoose(["\n position: relative;\n width: 100%;\n\n & .rich_text_editor {\n width: 100%;\n max-height: 80px;\n min-height: 20px;\n display: block;\n border: none;\n box-sizing: border-box;\n outline: none !important;\n overflow: auto;\n border-radius: ", ";\n background-color: ", ";\n padding: ", ";\n color: ", ";\n order: ", ";\n\n & p {\n font-size: 15px;\n line-height: 20px;\n color: ", ";\n }\n\n &::selection {\n background-color: ", ";\n }\n\n & *::selection {\n background-color: ", ";\n }\n\n & span::selection {\n background-color: ", ";\n }\n\n &:empty:before {\n content: attr(data-placeholder);\n }\n\n & .content_editable_input {\n border: none !important;\n outline: none !important;\n }\n\n & .mention {\n color: ", ";\n background-color: inherit !important;\n user-modify: read-only;\n }\n\n & span.bold {\n font-weight: bold;\n }\n\n & .editor_paragraph {\n margin: 0;\n }\n\n & .text_bold {\n font-weight: 600;\n }\n\n & .text_italic {\n font-style: italic;\n }\n\n & .text_underline {\n text-decoration: underline;\n }\n\n & .text_strikethrough {\n text-decoration: line-through;\n }\n\n & .text_underlineStrikethrough {\n text-decoration: underline line-through;\n }\n\n & code {\n font-family: inherit;\n letter-spacing: 4px;\n }\n }\n"])), function (props) {
32923
+ var LexicalWrapper = styled__default.div(_templateObject13$5 || (_templateObject13$5 = _taggedTemplateLiteralLoose(["\n position: relative;\n width: 100%;\n\n & .rich_text_editor {\n width: 100%;\n max-height: 80px;\n min-height: 20px;\n display: block;\n border: none;\n box-sizing: border-box;\n outline: none !important;\n overflow: auto;\n border-radius: ", ";\n background-color: ", ";\n padding: ", ";\n color: ", ";\n order: ", ";\n\n & p {\n font-size: 15px;\n line-height: 20px;\n color: ", ";\n }\n\n &::selection {\n background-color: ", ";\n }\n\n & *::selection {\n background-color: ", ";\n }\n\n & span::selection {\n background-color: ", ";\n }\n\n &:empty:before {\n content: attr(data-placeholder);\n }\n\n & .content_editable_input {\n border: none !important;\n outline: none !important;\n }\n\n & .mention {\n color: ", ";\n background-color: inherit !important;\n user-modify: read-only;\n }\n\n & span.bold {\n font-weight: bold;\n }\n\n & .editor_paragraph {\n margin: 0;\n }\n\n & .text_bold {\n font-weight: 600;\n }\n\n & .text_italic {\n font-style: italic;\n }\n\n & .text_underline {\n text-decoration: underline;\n }\n\n & .text_strikethrough {\n text-decoration: line-through;\n }\n\n & .text_underlineStrikethrough {\n text-decoration: underline line-through;\n }\n\n & code {\n font-family: inherit;\n letter-spacing: 4px;\n }\n }\n"])), function (props) {
32922
32924
  return props.borderRadius;
32923
32925
  }, function (props) {
32924
32926
  return props.backgroundColor;
@@ -32939,12 +32941,12 @@ var LexicalWrapper = styled__default.div(_templateObject12$5 || (_templateObject
32939
32941
  }, function (props) {
32940
32942
  return props.mentionColor;
32941
32943
  });
32942
- var Placeholder = styled__default.span(_templateObject13$5 || (_templateObject13$5 = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 0;\n left: 0;\n pointer-events: none;\n color: ", ";\n padding: ", ";\n line-height: 20px;\n\n @media (max-width: 768px) {\n font-size: 13px;\n }\n"])), function (props) {
32944
+ var Placeholder = styled__default.span(_templateObject14$4 || (_templateObject14$4 = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 0;\n left: 0;\n pointer-events: none;\n color: ", ";\n padding: ", ";\n line-height: 20px;\n\n @media (max-width: 768px) {\n font-size: 13px;\n }\n"])), function (props) {
32943
32945
  return props.color || colors.placeholderTextColor;
32944
32946
  }, function (props) {
32945
32947
  return props.paddings || '8px 6px';
32946
32948
  });
32947
- var EmojiButton = styled__default.span(_templateObject14$4 || (_templateObject14$4 = _taggedTemplateLiteralLoose(["\n display: flex;\n height: ", ";\n align-items: center;\n position: relative;\n margin: auto 8px 0 8px;\n cursor: pointer;\n line-height: 13px;\n z-index: 2;\n order: ", ";\n -webkit-tap-highlight-color: transparent;\n\n > svg {\n ", ";\n width: 24px;\n height: 24px;\n }\n\n &:hover > svg {\n color: ", ";\n }\n"])), function (props) {
32949
+ var EmojiButton = styled__default.span(_templateObject15$3 || (_templateObject15$3 = _taggedTemplateLiteralLoose(["\n display: flex;\n height: ", ";\n align-items: center;\n position: relative;\n margin: auto 8px 0 8px;\n cursor: pointer;\n line-height: 13px;\n z-index: 2;\n order: ", ";\n -webkit-tap-highlight-color: transparent;\n\n > svg {\n ", ";\n width: 24px;\n height: 24px;\n }\n\n &:hover > svg {\n color: ", ";\n }\n"])), function (props) {
32948
32950
  return props.height ? props.height + "px" : '36px';
32949
32951
  }, function (props) {
32950
32952
  return props.order === 0 || props.order ? props.order : 2;
@@ -32953,48 +32955,48 @@ var EmojiButton = styled__default.span(_templateObject14$4 || (_templateObject14
32953
32955
  }, function (props) {
32954
32956
  return props.hoverColor;
32955
32957
  });
32956
- var SendMessageButton = styled__default.span(_templateObject15$3 || (_templateObject15$3 = _taggedTemplateLiteralLoose(["\n ", "\n"])), function (props) {
32958
+ var SendMessageButton = styled__default.span(_templateObject16$2 || (_templateObject16$2 = _taggedTemplateLiteralLoose(["\n ", "\n"])), function (props) {
32957
32959
  return !props.isCustomButton && "\n display: flex;\n height: " + (props.height ? props.height + "px" : '36px') + ";\n align-items: center;\n // margin: 0 8px 0 auto;\n cursor: " + (props.isActive && 'pointer') + ";\n line-height: 13px;\n order: " + (props.order === 0 || props.order ? props.order : 4) + ";\n -webkit-tap-highlight-color: transparent;\n\n color: " + (props.isActive ? colors.primary : props.color) + ";\n & > svg {\n color: " + props.iconColor + ";\n }\n ";
32958
32960
  });
32959
- var AudioCont = styled__default.div(_templateObject16$2 || (_templateObject16$2 = _taggedTemplateLiteralLoose(["\n display: flex;\n width: 100%;\n justify-content: flex-end;\n"])));
32960
- var ChosenAttachments = styled__default.div(_templateObject17$2 || (_templateObject17$2 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n padding: 16px 16px 14px;\n overflow-x: auto;\n\n & ", " {\n width: 100%;\n height: 100%;\n border-radius: 4px;\n object-fit: cover;\n }\n\n & ", " {\n width: 240px;\n padding: 5px 12px;\n border-radius: 8px;\n height: 50px;\n }\n"])), AttachmentImg$1, AttachmentFile$1);
32961
- var TypingIndicator$1 = styled__default.div(_templateObject18$2 || (_templateObject18$2 = _taggedTemplateLiteralLoose(["\n position: absolute;\n bottom: 100%;\n left: 16px;\n"])));
32962
- var TypingIndicatorCont = styled__default.div(_templateObject19$2 || (_templateObject19$2 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n margin-bottom: 12px;\n"])));
32963
- var TypingFrom = styled__default.h5(_templateObject20$1 || (_templateObject20$1 = _taggedTemplateLiteralLoose(["\n margin: 0 4px 0 0;\n font-weight: 400;\n font-size: 13px;\n line-height: 16px;\n letter-spacing: -0.2px;\n color: ", ";\n"])), function (props) {
32961
+ var AudioCont = styled__default.div(_templateObject17$2 || (_templateObject17$2 = _taggedTemplateLiteralLoose(["\n display: flex;\n width: 100%;\n justify-content: flex-end;\n"])));
32962
+ var ChosenAttachments = styled__default.div(_templateObject18$2 || (_templateObject18$2 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n padding: 16px 16px 14px;\n overflow-x: auto;\n\n & ", " {\n width: 100%;\n height: 100%;\n border-radius: 4px;\n object-fit: cover;\n }\n\n & ", " {\n width: 240px;\n padding: 5px 12px;\n border-radius: 8px;\n height: 50px;\n }\n"])), AttachmentImg$1, AttachmentFile$1);
32963
+ var TypingIndicator$1 = styled__default.div(_templateObject19$2 || (_templateObject19$2 = _taggedTemplateLiteralLoose(["\n position: absolute;\n bottom: 100%;\n left: 16px;\n"])));
32964
+ var TypingIndicatorCont = styled__default.div(_templateObject20$1 || (_templateObject20$1 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n margin-bottom: 12px;\n"])));
32965
+ var TypingFrom = styled__default.h5(_templateObject21$1 || (_templateObject21$1 = _taggedTemplateLiteralLoose(["\n margin: 0 4px 0 0;\n font-weight: 400;\n font-size: 13px;\n line-height: 16px;\n letter-spacing: -0.2px;\n color: ", ";\n"])), function (props) {
32964
32966
  return props.color;
32965
32967
  });
32966
- var sizeAnimation = styled.keyframes(_templateObject21$1 || (_templateObject21$1 = _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"])));
32967
- var DotOne = styled__default.span(_templateObject22$1 || (_templateObject22$1 = _taggedTemplateLiteralLoose([""])));
32968
- var DotTwo = styled__default.span(_templateObject23$1 || (_templateObject23$1 = _taggedTemplateLiteralLoose([""])));
32969
- var DotThree = styled__default.span(_templateObject24$1 || (_templateObject24$1 = _taggedTemplateLiteralLoose([""])));
32970
- var TypingAnimation = styled__default.div(_templateObject25$1 || (_templateObject25$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"])), colors.borderColor2, sizeAnimation, DotOne, DotTwo, DotThree);
32971
- var Loading = styled__default.div(_templateObject26$1 || (_templateObject26$1 = _taggedTemplateLiteralLoose(["\n height: 36px;\n"])));
32972
- var BlockedUserInfo = styled__default.div(_templateObject27$1 || (_templateObject27$1 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 12px;\n font-weight: 400;\n font-size: 15px;\n line-height: 20px;\n color: ", ";\n\n & > svg {\n margin-right: 12px;\n }\n"])), function (props) {
32968
+ var sizeAnimation = styled.keyframes(_templateObject22$1 || (_templateObject22$1 = _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"])));
32969
+ var DotOne = styled__default.span(_templateObject23$1 || (_templateObject23$1 = _taggedTemplateLiteralLoose([""])));
32970
+ var DotTwo = styled__default.span(_templateObject24$1 || (_templateObject24$1 = _taggedTemplateLiteralLoose([""])));
32971
+ var DotThree = styled__default.span(_templateObject25$1 || (_templateObject25$1 = _taggedTemplateLiteralLoose([""])));
32972
+ var TypingAnimation = styled__default.div(_templateObject26$1 || (_templateObject26$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"])), colors.borderColor2, sizeAnimation, DotOne, DotTwo, DotThree);
32973
+ var Loading = styled__default.div(_templateObject27$1 || (_templateObject27$1 = _taggedTemplateLiteralLoose(["\n height: 36px;\n"])));
32974
+ var BlockedUserInfo = styled__default.div(_templateObject28$1 || (_templateObject28$1 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 12px;\n font-weight: 400;\n font-size: 15px;\n line-height: 20px;\n color: ", ";\n\n & > svg {\n margin-right: 12px;\n }\n"])), function (props) {
32973
32975
  return props.color;
32974
32976
  });
32975
- var JoinChannelCont = styled__default.div(_templateObject28$1 || (_templateObject28$1 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: center;\n margin: 0 -12px;\n padding: 14px;\n font-weight: 500;\n font-size: 15px;\n line-height: 20px;\n letter-spacing: -0.2px;\n color: ", ";\n background-color: ", ";\n cursor: pointer;\n"])), function (props) {
32977
+ var JoinChannelCont = styled__default.div(_templateObject29$1 || (_templateObject29$1 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: center;\n margin: 0 -12px;\n padding: 14px;\n font-weight: 500;\n font-size: 15px;\n line-height: 20px;\n letter-spacing: -0.2px;\n color: ", ";\n background-color: ", ";\n cursor: pointer;\n"])), function (props) {
32976
32978
  return props.color || colors.primary;
32977
32979
  }, function (props) {
32978
32980
  return props.backgroundColor;
32979
32981
  });
32980
- var ReadOnlyCont = styled__default.div(_templateObject29$1 || (_templateObject29$1 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 12px;\n font-weight: 500;\n font-size: 15px;\n line-height: 20px;\n letter-spacing: -0.2px;\n color: ", ";\n\n & > svg {\n margin-right: 12px;\n color: ", ";\n }\n"])), function (props) {
32982
+ var ReadOnlyCont = styled__default.div(_templateObject30$1 || (_templateObject30$1 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 12px;\n font-weight: 500;\n font-size: 15px;\n line-height: 20px;\n letter-spacing: -0.2px;\n color: ", ";\n\n & > svg {\n margin-right: 12px;\n color: ", ";\n }\n"])), function (props) {
32981
32983
  return props.color;
32982
32984
  }, function (props) {
32983
32985
  return props.iconColor || colors.primary;
32984
32986
  });
32985
- var ReplyMessageCont = styled__default.div(_templateObject30$1 || (_templateObject30$1 = _taggedTemplateLiteralLoose(["\n display: flex;\n"])));
32986
- var ReplyIconWrapper = styled__default.span(_templateObject31$1 || (_templateObject31$1 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: center;\n margin-right: 12px;\n width: 40px;\n height: 40px;\n background-color: ", ";\n border-radius: 50%;\n\n & > svg {\n width: 20px;\n height: 20px;\n color: ", ";\n }\n"])), function (props) {
32987
+ var ReplyMessageCont = styled__default.div(_templateObject31$1 || (_templateObject31$1 = _taggedTemplateLiteralLoose(["\n display: flex;\n"])));
32988
+ var ReplyIconWrapper = styled__default.span(_templateObject32$1 || (_templateObject32$1 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: center;\n margin-right: 12px;\n width: 40px;\n height: 40px;\n background-color: ", ";\n border-radius: 50%;\n\n & > svg {\n width: 20px;\n height: 20px;\n color: ", ";\n }\n"])), function (props) {
32987
32989
  return props.backgroundColor;
32988
32990
  }, colors.white);
32989
- var SelectedMessagesWrapper = styled__default.div(_templateObject32$1 || (_templateObject32$1 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n padding: 12px 16px;\n"])));
32990
- var CustomButton = styled__default.span(_templateObject33$1 || (_templateObject33$1 = _taggedTemplateLiteralLoose(["\n color: ", ";\n padding: 8px 16px;\n background-color: ", ";\n margin-left: ", ";\n border-radius: 8px;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n font-family: Inter, sans-serif;\n font-size: 15px;\n font-weight: 500;\n cursor: pointer;\n\n > svg {\n width: 20px;\n height: 20px;\n margin-right: 8px;\n }\n"])), function (props) {
32991
+ var SelectedMessagesWrapper = styled__default.div(_templateObject33$1 || (_templateObject33$1 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n padding: 12px 16px;\n"])));
32992
+ var CustomButton = styled__default.span(_templateObject34$1 || (_templateObject34$1 = _taggedTemplateLiteralLoose(["\n color: ", ";\n padding: 8px 16px;\n background-color: ", ";\n margin-left: ", ";\n border-radius: 8px;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n font-family: Inter, sans-serif;\n font-size: 15px;\n font-weight: 500;\n cursor: pointer;\n\n > svg {\n width: 20px;\n height: 20px;\n margin-right: 8px;\n }\n"])), function (props) {
32991
32993
  return props.color;
32992
32994
  }, function (props) {
32993
32995
  return props.backgroundColor || colors.primaryLight;
32994
32996
  }, function (props) {
32995
32997
  return props.marginLeft || '8px';
32996
32998
  });
32997
- var CloseIconWrapper = styled__default.span(_templateObject34$1 || (_templateObject34$1 = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n cursor: pointer;\n margin-left: auto;\n padding: 10px;\n"])));
32999
+ var CloseIconWrapper = styled__default.span(_templateObject35$1 || (_templateObject35$1 = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n cursor: pointer;\n margin-left: auto;\n padding: 10px;\n"])));
32998
33000
 
32999
33001
  var _path$1c;
33000
33002
  function _extends$1g() {