@planningcenter/chat-react-native 4.2.1-qa-staging.4 → 4.2.1-qa-staging.5

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.
@@ -157,7 +157,7 @@ export function ConversationScreen(t0) {
157
157
  return t10;
158
158
  }
159
159
  function ConversationScreenContent(t0) {
160
- const $ = _c(120);
160
+ const $ = _c(121);
161
161
  const {
162
162
  route,
163
163
  anchor,
@@ -211,118 +211,121 @@ function ConversationScreenContent(t0) {
211
211
  t2 = $[5];
212
212
  }
213
213
  const newestMessageId = t2;
214
- let t3;
215
- if ($[6] !== conversation_id || $[7] !== queryKey || $[8] !== reply_root_id) {
216
- t3 = {
214
+ const t3 = anchored ? onExitAnchoredMode : undefined;
215
+ let t4;
216
+ if ($[6] !== conversation_id || $[7] !== queryKey || $[8] !== reply_root_id || $[9] !== t3) {
217
+ t4 = {
217
218
  conversation_id,
218
219
  reply_root_id,
219
- queryKey
220
+ queryKey,
221
+ onTooFarBehind: t3
220
222
  };
221
223
  $[6] = conversation_id;
222
224
  $[7] = queryKey;
223
225
  $[8] = reply_root_id;
224
226
  $[9] = t3;
227
+ $[10] = t4;
225
228
  } else {
226
- t3 = $[9];
229
+ t4 = $[10];
227
230
  }
228
- const fetchNewer = useFetchNewerMessages(t3);
229
- let t4;
230
- if ($[10] !== caughtUp || $[11] !== fetchNewer || $[12] !== newestMessageId || $[13] !== readingHistory) {
231
- t4 = {
231
+ const fetchNewer = useFetchNewerMessages(t4);
232
+ let t5;
233
+ if ($[11] !== caughtUp || $[12] !== fetchNewer || $[13] !== newestMessageId || $[14] !== readingHistory) {
234
+ t5 = {
232
235
  fetchNewer,
233
236
  newestMessageId,
234
237
  readingHistory,
235
238
  caughtUp
236
239
  };
237
- $[10] = caughtUp;
238
- $[11] = fetchNewer;
239
- $[12] = newestMessageId;
240
- $[13] = readingHistory;
241
- $[14] = t4;
240
+ $[11] = caughtUp;
241
+ $[12] = fetchNewer;
242
+ $[13] = newestMessageId;
243
+ $[14] = readingHistory;
244
+ $[15] = t5;
242
245
  } else {
243
- t4 = $[14];
246
+ t5 = $[15];
244
247
  }
245
248
  const {
246
249
  onSkippedNewMessage
247
- } = useHeldBackMessages(t4);
248
- let t5;
249
- if ($[15] !== conversation_id) {
250
- t5 = {
250
+ } = useHeldBackMessages(t5);
251
+ let t6;
252
+ if ($[16] !== conversation_id) {
253
+ t6 = {
251
254
  conversationId: conversation_id
252
255
  };
253
- $[15] = conversation_id;
254
- $[16] = t5;
256
+ $[16] = conversation_id;
257
+ $[17] = t6;
255
258
  } else {
256
- t5 = $[16];
259
+ t6 = $[17];
257
260
  }
258
- useConversationJoltEvents(t5);
259
- const t6 = reply_root_id ?? null;
260
- const t7 = caughtUp && !readingHistory;
261
- let t8;
262
- if ($[17] !== onSkippedNewMessage || $[18] !== queryKey || $[19] !== t7) {
263
- t8 = gatedMessageCache({
261
+ useConversationJoltEvents(t6);
262
+ const t7 = reply_root_id ?? null;
263
+ const t8 = caughtUp && !readingHistory;
264
+ let t9;
265
+ if ($[18] !== onSkippedNewMessage || $[19] !== queryKey || $[20] !== t8) {
266
+ t9 = gatedMessageCache({
264
267
  queryKey,
265
- acceptNewMessages: t7,
268
+ acceptNewMessages: t8,
266
269
  onSkippedNewMessage
267
270
  });
268
- $[17] = onSkippedNewMessage;
269
- $[18] = queryKey;
270
- $[19] = t7;
271
+ $[18] = onSkippedNewMessage;
272
+ $[19] = queryKey;
271
273
  $[20] = t8;
274
+ $[21] = t9;
272
275
  } else {
273
- t8 = $[20];
276
+ t9 = $[21];
274
277
  }
275
- let t9;
276
- if ($[21] !== conversation_id || $[22] !== t6 || $[23] !== t8) {
277
- t9 = {
278
+ let t10;
279
+ if ($[22] !== conversation_id || $[23] !== t7 || $[24] !== t9) {
280
+ t10 = {
278
281
  conversationId: conversation_id,
279
- replyRootId: t6,
280
- messageCache: t8
282
+ replyRootId: t7,
283
+ messageCache: t9
281
284
  };
282
- $[21] = conversation_id;
283
- $[22] = t6;
284
- $[23] = t8;
285
+ $[22] = conversation_id;
286
+ $[23] = t7;
285
287
  $[24] = t9;
288
+ $[25] = t10;
286
289
  } else {
287
- t9 = $[24];
290
+ t10 = $[25];
288
291
  }
289
- useConversationMessagesJoltEvents(t9);
292
+ useConversationMessagesJoltEvents(t10);
290
293
  const {
291
294
  markHandledByMessageForm
292
295
  } = useVideoModerationJoltEvents();
293
296
  useEnsureConversationsRouteExists();
294
- const t10 = !behindLatest;
295
- let t11;
296
- if ($[25] !== conversation || $[26] !== messages || $[27] !== t10) {
297
- t11 = {
297
+ const t11 = !behindLatest;
298
+ let t12;
299
+ if ($[26] !== conversation || $[27] !== messages || $[28] !== t11) {
300
+ t12 = {
298
301
  conversation,
299
302
  messages,
300
- enabled: t10
303
+ enabled: t11
301
304
  };
302
- $[25] = conversation;
303
- $[26] = messages;
304
- $[27] = t10;
305
+ $[26] = conversation;
306
+ $[27] = messages;
305
307
  $[28] = t11;
308
+ $[29] = t12;
306
309
  } else {
307
- t11 = $[28];
310
+ t12 = $[29];
308
311
  }
309
- useMarkLatestMessageRead(t11);
310
- const t12 = anchored && caughtUp;
311
- let t13;
312
- if ($[29] !== fetchNewer || $[30] !== newestMessageId || $[31] !== t12) {
313
- t13 = {
312
+ useMarkLatestMessageRead(t12);
313
+ const t13 = anchored && caughtUp;
314
+ let t14;
315
+ if ($[30] !== fetchNewer || $[31] !== newestMessageId || $[32] !== t13) {
316
+ t14 = {
314
317
  fetchNewer,
315
318
  newestMessageId,
316
- enabled: t12
319
+ enabled: t13
317
320
  };
318
- $[29] = fetchNewer;
319
- $[30] = newestMessageId;
320
- $[31] = t12;
321
+ $[30] = fetchNewer;
322
+ $[31] = newestMessageId;
321
323
  $[32] = t13;
324
+ $[33] = t14;
322
325
  } else {
323
- t13 = $[32];
326
+ t14 = $[33];
324
327
  }
325
- useFetchNewerOnForeground(t13);
328
+ useFetchNewerOnForeground(t14);
326
329
  const noMessages = messages.length === 0;
327
330
  const {
328
331
  repliesDisabled,
@@ -332,47 +335,47 @@ function ConversationScreenContent(t0) {
332
335
  } = conversation;
333
336
  const canReply = memberAbility?.canReply;
334
337
  const showLeaderDisabledReplyBanner = canReply && repliesDisabled;
335
- let t14;
336
- if ($[33] !== editing_message_id || $[34] !== messages) {
337
- let t15;
338
- if ($[36] !== editing_message_id) {
339
- t15 = m => String(m.id) === String(editing_message_id);
340
- $[36] = editing_message_id;
341
- $[37] = t15;
338
+ let t15;
339
+ if ($[34] !== editing_message_id || $[35] !== messages) {
340
+ let t16;
341
+ if ($[37] !== editing_message_id) {
342
+ t16 = m => String(m.id) === String(editing_message_id);
343
+ $[37] = editing_message_id;
344
+ $[38] = t16;
342
345
  } else {
343
- t15 = $[37];
346
+ t16 = $[38];
344
347
  }
345
- t14 = messages.find(t15);
346
- $[33] = editing_message_id;
347
- $[34] = messages;
348
- $[35] = t14;
348
+ t15 = messages.find(t16);
349
+ $[34] = editing_message_id;
350
+ $[35] = messages;
351
+ $[36] = t15;
349
352
  } else {
350
- t14 = $[35];
353
+ t15 = $[36];
351
354
  }
352
- const currentlyEditingMessage = t14;
353
- let t15;
354
- if ($[38] !== reply_root_author_name) {
355
- t15 = reply_root_author_name?.split(" ")[0];
356
- $[38] = reply_root_author_name;
357
- $[39] = t15;
355
+ const currentlyEditingMessage = t15;
356
+ let t16;
357
+ if ($[39] !== reply_root_author_name) {
358
+ t16 = reply_root_author_name?.split(" ")[0];
359
+ $[39] = reply_root_author_name;
360
+ $[40] = t16;
358
361
  } else {
359
- t15 = $[39];
362
+ t16 = $[40];
360
363
  }
361
- const replyRootAuthorFirstName = t15;
364
+ const replyRootAuthorFirstName = t16;
362
365
  const replyHeaderTitle = replyRootAuthorFirstName ? `Reply to ${replyRootAuthorFirstName}` : "Reply";
363
366
  const muted = conversation.conversationMembership?.muted ?? conversation.muted;
364
367
  const listRef = useRef(null);
365
368
  const [hasDragged, setHasDragged] = useState(false);
366
369
  const holdListPosition = behindLatest || readingHistory;
367
- let t16;
368
- if ($[40] === Symbol.for("react.memo_cache_sentinel")) {
369
- t16 = {
370
+ let t17;
371
+ if ($[41] === Symbol.for("react.memo_cache_sentinel")) {
372
+ t17 = {
370
373
  listRef,
371
374
  enabled: Platform.OS === "ios"
372
375
  };
373
- $[40] = t16;
376
+ $[41] = t17;
374
377
  } else {
375
- t16 = $[40];
378
+ t17 = $[41];
376
379
  }
377
380
  const {
378
381
  restOffset,
@@ -380,36 +383,36 @@ function ConversationScreenContent(t0) {
380
383
  onContentSizeChange,
381
384
  onMomentumScrollEnd,
382
385
  onScrollEndDrag
383
- } = useRestAwayFromDismissEdge(t16);
384
- let t17;
385
- if ($[41] !== restOffset) {
386
- t17 = () => {
386
+ } = useRestAwayFromDismissEdge(t17);
387
+ let t18;
388
+ if ($[42] !== restOffset) {
389
+ t18 = () => {
387
390
  listRef.current?.scrollToOffset({
388
391
  offset: restOffset
389
392
  });
390
393
  };
391
- $[41] = restOffset;
392
- $[42] = t17;
394
+ $[42] = restOffset;
395
+ $[43] = t18;
393
396
  } else {
394
- t17 = $[42];
397
+ t18 = $[43];
395
398
  }
396
- const handleReturnToBottom = t17;
397
- let t18;
398
- if ($[43] !== handleReturnToBottom || $[44] !== onExitAnchoredMode) {
399
- t18 = () => {
399
+ const handleReturnToBottom = t18;
400
+ let t19;
401
+ if ($[44] !== handleReturnToBottom || $[45] !== onExitAnchoredMode) {
402
+ t19 = () => {
400
403
  onExitAnchoredMode();
401
404
  handleReturnToBottom();
402
405
  };
403
- $[43] = handleReturnToBottom;
404
- $[44] = onExitAnchoredMode;
405
- $[45] = t18;
406
+ $[44] = handleReturnToBottom;
407
+ $[45] = onExitAnchoredMode;
408
+ $[46] = t19;
406
409
  } else {
407
- t18 = $[45];
410
+ t19 = $[46];
408
411
  }
409
- const exitAnchoredMode = t18;
410
- let t19;
411
- if ($[46] !== anchored || $[47] !== exitAnchoredMode || $[48] !== handleReturnToBottom) {
412
- t19 = () => {
412
+ const exitAnchoredMode = t19;
413
+ let t20;
414
+ if ($[47] !== anchored || $[48] !== exitAnchoredMode || $[49] !== handleReturnToBottom) {
415
+ t20 = () => {
413
416
  setShowJumpToBottomButton(false);
414
417
  if (anchored) {
415
418
  exitAnchoredMode();
@@ -417,45 +420,45 @@ function ConversationScreenContent(t0) {
417
420
  handleReturnToBottom();
418
421
  }
419
422
  };
420
- $[46] = anchored;
421
- $[47] = exitAnchoredMode;
422
- $[48] = handleReturnToBottom;
423
- $[49] = t19;
423
+ $[47] = anchored;
424
+ $[48] = exitAnchoredMode;
425
+ $[49] = handleReturnToBottom;
426
+ $[50] = t20;
424
427
  } else {
425
- t19 = $[49];
428
+ t20 = $[50];
426
429
  }
427
- const jumpToLatest = t19;
428
- let t20;
429
- if ($[50] === Symbol.for("react.memo_cache_sentinel")) {
430
- t20 = event => {
430
+ const jumpToLatest = t20;
431
+ let t21;
432
+ if ($[51] === Symbol.for("react.memo_cache_sentinel")) {
433
+ t21 = event => {
431
434
  const offsetY = event.nativeEvent.contentOffset.y;
432
435
  setShowJumpToBottomButton(offsetY > 200);
433
436
  };
434
- $[50] = t20;
437
+ $[51] = t21;
435
438
  } else {
436
- t20 = $[50];
439
+ t21 = $[51];
437
440
  }
438
- const trackScroll = t20;
439
- let t21;
440
- if ($[51] !== fetchPreviousPage || $[52] !== hasPreviousPage || $[53] !== isFetchingPreviousPage) {
441
- t21 = () => {
441
+ const trackScroll = t21;
442
+ let t22;
443
+ if ($[52] !== fetchPreviousPage || $[53] !== hasPreviousPage || $[54] !== isFetchingPreviousPage) {
444
+ t22 = () => {
442
445
  if (!hasPreviousPage || isFetchingPreviousPage) {
443
446
  return;
444
447
  }
445
448
  setHasDragged(false);
446
449
  fetchPreviousPage();
447
450
  };
448
- $[51] = fetchPreviousPage;
449
- $[52] = hasPreviousPage;
450
- $[53] = isFetchingPreviousPage;
451
- $[54] = t21;
451
+ $[52] = fetchPreviousPage;
452
+ $[53] = hasPreviousPage;
453
+ $[54] = isFetchingPreviousPage;
454
+ $[55] = t22;
452
455
  } else {
453
- t21 = $[54];
456
+ t22 = $[55];
454
457
  }
455
- const loadNewerMessages = t21;
456
- let t22;
457
- if ($[55] !== badges?.[0] || $[56] !== conversation.deleted || $[57] !== muted || $[58] !== navigation || $[59] !== replyHeaderTitle || $[60] !== reply_root_id || $[61] !== title) {
458
- t22 = () => {
458
+ const loadNewerMessages = t22;
459
+ let t23;
460
+ if ($[56] !== badges?.[0] || $[57] !== conversation.deleted || $[58] !== muted || $[59] !== navigation || $[60] !== replyHeaderTitle || $[61] !== reply_root_id || $[62] !== title) {
461
+ t23 = () => {
459
462
  if (reply_root_id) {
460
463
  navigation.setParams({
461
464
  title: replyHeaderTitle
@@ -469,86 +472,86 @@ function ConversationScreenContent(t0) {
469
472
  });
470
473
  }
471
474
  };
472
- $[55] = badges?.[0];
473
- $[56] = conversation.deleted;
474
- $[57] = muted;
475
- $[58] = navigation;
476
- $[59] = replyHeaderTitle;
477
- $[60] = reply_root_id;
478
- $[61] = title;
479
- $[62] = t22;
480
- } else {
481
- t22 = $[62];
482
- }
483
- const t23 = conversation?.deleted;
484
- let t24;
485
- if ($[63] !== badges || $[64] !== muted || $[65] !== navigation || $[66] !== replyHeaderTitle || $[67] !== reply_root_id || $[68] !== t23 || $[69] !== title) {
486
- t24 = [navigation, title, badges, t23, reply_root_id, replyHeaderTitle, muted];
487
- $[63] = badges;
488
- $[64] = muted;
489
- $[65] = navigation;
490
- $[66] = replyHeaderTitle;
491
- $[67] = reply_root_id;
492
- $[68] = t23;
493
- $[69] = title;
494
- $[70] = t24;
495
- } else {
496
- t24 = $[70];
497
- }
498
- useEffect(t22, t24);
475
+ $[56] = badges?.[0];
476
+ $[57] = conversation.deleted;
477
+ $[58] = muted;
478
+ $[59] = navigation;
479
+ $[60] = replyHeaderTitle;
480
+ $[61] = reply_root_id;
481
+ $[62] = title;
482
+ $[63] = t23;
483
+ } else {
484
+ t23 = $[63];
485
+ }
486
+ const t24 = conversation?.deleted;
487
+ let t25;
488
+ if ($[64] !== badges || $[65] !== muted || $[66] !== navigation || $[67] !== replyHeaderTitle || $[68] !== reply_root_id || $[69] !== t24 || $[70] !== title) {
489
+ t25 = [navigation, title, badges, t24, reply_root_id, replyHeaderTitle, muted];
490
+ $[64] = badges;
491
+ $[65] = muted;
492
+ $[66] = navigation;
493
+ $[67] = replyHeaderTitle;
494
+ $[68] = reply_root_id;
495
+ $[69] = t24;
496
+ $[70] = title;
497
+ $[71] = t25;
498
+ } else {
499
+ t25 = $[71];
500
+ }
501
+ useEffect(t23, t25);
499
502
  if (!conversation || conversation.deleted) {
500
- let t25;
501
- if ($[71] === Symbol.for("react.memo_cache_sentinel")) {
502
- t25 = /*#__PURE__*/_jsx(BlankState.Imagery, {
503
+ let t26;
504
+ if ($[72] === Symbol.for("react.memo_cache_sentinel")) {
505
+ t26 = /*#__PURE__*/_jsx(BlankState.Imagery, {
503
506
  name: "general.outlinedTextMessage"
504
507
  });
505
- $[71] = t25;
508
+ $[72] = t26;
506
509
  } else {
507
- t25 = $[71];
510
+ t26 = $[72];
508
511
  }
509
- let t26;
510
- if ($[72] === Symbol.for("react.memo_cache_sentinel")) {
511
- t26 = /*#__PURE__*/_jsx(BlankState.Content, {
512
+ let t27;
513
+ if ($[73] === Symbol.for("react.memo_cache_sentinel")) {
514
+ t27 = /*#__PURE__*/_jsx(BlankState.Content, {
512
515
  children: /*#__PURE__*/_jsx(BlankState.Heading, {
513
516
  children: "This conversation has been deleted"
514
517
  })
515
518
  });
516
- $[72] = t26;
519
+ $[73] = t27;
517
520
  } else {
518
- t26 = $[72];
521
+ t27 = $[73];
519
522
  }
520
- let t27;
521
- if ($[73] !== navigation.goBack) {
522
- t27 = /*#__PURE__*/_jsxs(BlankState.Root, {
523
- children: [t25, t26, /*#__PURE__*/_jsx(BlankState.Button, {
523
+ let t28;
524
+ if ($[74] !== navigation.goBack) {
525
+ t28 = /*#__PURE__*/_jsxs(BlankState.Root, {
526
+ children: [t26, t27, /*#__PURE__*/_jsx(BlankState.Button, {
524
527
  onPress: navigation.goBack,
525
528
  title: "Back to conversations",
526
529
  accessibilityHint: "Navigates back to the conversations list",
527
530
  accessibilityRole: "link"
528
531
  })]
529
532
  });
530
- $[73] = navigation.goBack;
531
- $[74] = t27;
533
+ $[74] = navigation.goBack;
534
+ $[75] = t28;
532
535
  } else {
533
- t27 = $[74];
536
+ t28 = $[75];
534
537
  }
535
- let t28;
536
- if ($[75] !== styles.container || $[76] !== t27) {
537
- t28 = /*#__PURE__*/_jsx(View, {
538
+ let t29;
539
+ if ($[76] !== styles.container || $[77] !== t28) {
540
+ t29 = /*#__PURE__*/_jsx(View, {
538
541
  style: styles.container,
539
- children: t27
542
+ children: t28
540
543
  });
541
- $[75] = styles.container;
542
- $[76] = t27;
544
+ $[76] = styles.container;
543
545
  $[77] = t28;
546
+ $[78] = t29;
544
547
  } else {
545
- t28 = $[77];
548
+ t29 = $[78];
546
549
  }
547
- return t28;
550
+ return t29;
548
551
  }
549
- let t25;
550
- if ($[78] !== anchor || $[79] !== anchored || $[80] !== conversation || $[81] !== conversation_id || $[82] !== fetchNextPage || $[83] !== hasDragged || $[84] !== hasNextPage || $[85] !== holdListPosition || $[86] !== loadNewerMessages || $[87] !== messages || $[88] !== noMessages || $[89] !== onContentSizeChange || $[90] !== onLayout || $[91] !== onMomentumScrollEnd || $[92] !== onScrollEndDrag || $[93] !== reply_root_id || $[94] !== styles.emptyState) {
551
- t25 = noMessages ? /*#__PURE__*/_jsx(View, {
552
+ let t26;
553
+ if ($[79] !== anchor || $[80] !== anchored || $[81] !== conversation || $[82] !== conversation_id || $[83] !== fetchNextPage || $[84] !== hasDragged || $[85] !== hasNextPage || $[86] !== holdListPosition || $[87] !== loadNewerMessages || $[88] !== messages || $[89] !== noMessages || $[90] !== onContentSizeChange || $[91] !== onLayout || $[92] !== onMomentumScrollEnd || $[93] !== onScrollEndDrag || $[94] !== reply_root_id || $[95] !== styles.emptyState) {
554
+ t26 = noMessages ? /*#__PURE__*/_jsx(View, {
552
555
  style: styles.emptyState,
553
556
  children: /*#__PURE__*/_jsx(ConversationStartBanner, {
554
557
  conversation: conversation,
@@ -575,59 +578,59 @@ function ConversationScreenContent(t0) {
575
578
  minIndexForVisible: 0
576
579
  } : undefined
577
580
  });
578
- $[78] = anchor;
579
- $[79] = anchored;
580
- $[80] = conversation;
581
- $[81] = conversation_id;
582
- $[82] = fetchNextPage;
583
- $[83] = hasDragged;
584
- $[84] = hasNextPage;
585
- $[85] = holdListPosition;
586
- $[86] = loadNewerMessages;
587
- $[87] = messages;
588
- $[88] = noMessages;
589
- $[89] = onContentSizeChange;
590
- $[90] = onLayout;
591
- $[91] = onMomentumScrollEnd;
592
- $[92] = onScrollEndDrag;
593
- $[93] = reply_root_id;
594
- $[94] = styles.emptyState;
595
- $[95] = t25;
596
- } else {
597
- t25 = $[95];
598
- }
599
- const t26 = behindLatest || showJumpToBottomButton;
600
- let t27;
601
- if ($[96] !== jumpToLatest || $[97] !== t26) {
602
- t27 = /*#__PURE__*/_jsx(JumpToBottomButton, {
581
+ $[79] = anchor;
582
+ $[80] = anchored;
583
+ $[81] = conversation;
584
+ $[82] = conversation_id;
585
+ $[83] = fetchNextPage;
586
+ $[84] = hasDragged;
587
+ $[85] = hasNextPage;
588
+ $[86] = holdListPosition;
589
+ $[87] = loadNewerMessages;
590
+ $[88] = messages;
591
+ $[89] = noMessages;
592
+ $[90] = onContentSizeChange;
593
+ $[91] = onLayout;
594
+ $[92] = onMomentumScrollEnd;
595
+ $[93] = onScrollEndDrag;
596
+ $[94] = reply_root_id;
597
+ $[95] = styles.emptyState;
598
+ $[96] = t26;
599
+ } else {
600
+ t26 = $[96];
601
+ }
602
+ const t27 = behindLatest || showJumpToBottomButton;
603
+ let t28;
604
+ if ($[97] !== jumpToLatest || $[98] !== t27) {
605
+ t28 = /*#__PURE__*/_jsx(JumpToBottomButton, {
603
606
  onPress: jumpToLatest,
604
- visible: t26
607
+ visible: t27
605
608
  });
606
- $[96] = jumpToLatest;
607
- $[97] = t26;
609
+ $[97] = jumpToLatest;
608
610
  $[98] = t27;
611
+ $[99] = t28;
609
612
  } else {
610
- t27 = $[98];
611
- }
612
- let t28;
613
- if ($[99] !== noMessages) {
614
- t28 = !noMessages && /*#__PURE__*/_jsx(TypingIndicator, {});
615
- $[99] = noMessages;
616
- $[100] = t28;
617
- } else {
618
- t28 = $[100];
613
+ t28 = $[99];
619
614
  }
620
615
  let t29;
621
- if ($[101] !== showLeaderDisabledReplyBanner) {
622
- t29 = showLeaderDisabledReplyBanner && /*#__PURE__*/_jsx(LeaderMessagesDisabledBanner, {});
623
- $[101] = showLeaderDisabledReplyBanner;
624
- $[102] = t29;
616
+ if ($[100] !== noMessages) {
617
+ t29 = !noMessages && /*#__PURE__*/_jsx(TypingIndicator, {});
618
+ $[100] = noMessages;
619
+ $[101] = t29;
625
620
  } else {
626
- t29 = $[102];
621
+ t29 = $[101];
627
622
  }
628
623
  let t30;
629
- if ($[103] !== canReply || $[104] !== conversation || $[105] !== currentlyEditingMessage || $[106] !== jumpToLatest || $[107] !== markHandledByMessageForm || $[108] !== replyRootAuthorFirstName || $[109] !== reply_root_id) {
630
- t30 = /*#__PURE__*/_jsx(ConversationBottomBar, {
624
+ if ($[102] !== showLeaderDisabledReplyBanner) {
625
+ t30 = showLeaderDisabledReplyBanner && /*#__PURE__*/_jsx(LeaderMessagesDisabledBanner, {});
626
+ $[102] = showLeaderDisabledReplyBanner;
627
+ $[103] = t30;
628
+ } else {
629
+ t30 = $[103];
630
+ }
631
+ let t31;
632
+ if ($[104] !== canReply || $[105] !== conversation || $[106] !== currentlyEditingMessage || $[107] !== jumpToLatest || $[108] !== markHandledByMessageForm || $[109] !== replyRootAuthorFirstName || $[110] !== reply_root_id) {
633
+ t31 = /*#__PURE__*/_jsx(ConversationBottomBar, {
631
634
  conversation: conversation,
632
635
  canReply: canReply,
633
636
  replyRootAuthorFirstName: replyRootAuthorFirstName,
@@ -636,44 +639,44 @@ function ConversationScreenContent(t0) {
636
639
  onFlaggedInMessageForm: markHandledByMessageForm,
637
640
  onBeforeSubmit: jumpToLatest
638
641
  });
639
- $[103] = canReply;
640
- $[104] = conversation;
641
- $[105] = currentlyEditingMessage;
642
- $[106] = jumpToLatest;
643
- $[107] = markHandledByMessageForm;
644
- $[108] = replyRootAuthorFirstName;
645
- $[109] = reply_root_id;
646
- $[110] = t30;
642
+ $[104] = canReply;
643
+ $[105] = conversation;
644
+ $[106] = currentlyEditingMessage;
645
+ $[107] = jumpToLatest;
646
+ $[108] = markHandledByMessageForm;
647
+ $[109] = replyRootAuthorFirstName;
648
+ $[110] = reply_root_id;
649
+ $[111] = t31;
647
650
  } else {
648
- t30 = $[110];
651
+ t31 = $[111];
649
652
  }
650
- let t31;
651
- if ($[111] !== t25 || $[112] !== t27 || $[113] !== t28 || $[114] !== t29 || $[115] !== t30) {
652
- t31 = /*#__PURE__*/_jsxs(KeyboardView, {
653
- children: [t25, t27, t28, t29, t30]
653
+ let t32;
654
+ if ($[112] !== t26 || $[113] !== t28 || $[114] !== t29 || $[115] !== t30 || $[116] !== t31) {
655
+ t32 = /*#__PURE__*/_jsxs(KeyboardView, {
656
+ children: [t26, t28, t29, t30, t31]
654
657
  });
655
- $[111] = t25;
656
- $[112] = t27;
658
+ $[112] = t26;
657
659
  $[113] = t28;
658
660
  $[114] = t29;
659
661
  $[115] = t30;
660
662
  $[116] = t31;
663
+ $[117] = t32;
661
664
  } else {
662
- t31 = $[116];
665
+ t32 = $[117];
663
666
  }
664
- let t32;
665
- if ($[117] !== styles.container || $[118] !== t31) {
666
- t32 = /*#__PURE__*/_jsx(View, {
667
+ let t33;
668
+ if ($[118] !== styles.container || $[119] !== t32) {
669
+ t33 = /*#__PURE__*/_jsx(View, {
667
670
  style: styles.container,
668
- children: t31
671
+ children: t32
669
672
  });
670
- $[117] = styles.container;
671
- $[118] = t31;
673
+ $[118] = styles.container;
672
674
  $[119] = t32;
675
+ $[120] = t33;
673
676
  } else {
674
- t32 = $[119];
677
+ t33 = $[120];
675
678
  }
676
- return t32;
679
+ return t33;
677
680
  }
678
681
  function ConversationBottomBar(t0) {
679
682
  const $ = _c(16);