@planningcenter/chat-react-native 4.4.1-qa-staging.23 → 4.4.1-rc.0
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/build/components/conversation/message.d.ts.map +1 -1
- package/build/components/conversation/message.js +145 -193
- package/build/components/conversation/message.js.map +1 -1
- package/build/components/conversation/reply_shadow_message.d.ts.map +1 -1
- package/build/components/conversation/reply_shadow_message.js +107 -135
- package/build/components/conversation/reply_shadow_message.js.map +1 -1
- package/build/screens/conversation_details_screen.d.ts.map +1 -1
- package/build/screens/conversation_details_screen.js +190 -190
- package/build/screens/conversation_details_screen.js.map +1 -1
- package/build/utils/styles.d.ts +0 -1
- package/build/utils/styles.d.ts.map +1 -1
- package/build/utils/styles.js +1 -1
- package/build/utils/styles.js.map +1 -1
- package/package.json +3 -3
- package/src/components/conversation/message.tsx +2 -10
- package/src/components/conversation/reply_shadow_message.tsx +3 -14
- package/src/screens/__tests__/conversation_details_screen.test.tsx +8 -0
- package/src/screens/conversation_details_screen.tsx +2 -1
- package/src/utils/styles.ts +0 -1
|
@@ -34,7 +34,7 @@ var SectionTypes = /*#__PURE__*/function (SectionTypes) {
|
|
|
34
34
|
// ====== Components ===============
|
|
35
35
|
// =================================
|
|
36
36
|
export function ConversationDetailsScreen(t0) {
|
|
37
|
-
const $ = _c(
|
|
37
|
+
const $ = _c(142);
|
|
38
38
|
const {
|
|
39
39
|
route
|
|
40
40
|
} = t0;
|
|
@@ -113,6 +113,7 @@ export function ConversationDetailsScreen(t0) {
|
|
|
113
113
|
}
|
|
114
114
|
const archived = t4;
|
|
115
115
|
const canUpdate = conversation.memberAbility?.canUpdate || false;
|
|
116
|
+
const canSaveTitle = canUpdate && !emptyTitle;
|
|
116
117
|
const canDelete = conversation.memberAbility?.canDelete || false;
|
|
117
118
|
const canArchive = manualArchivingEnabled && (conversation.memberAbility?.canArchive || false);
|
|
118
119
|
const isLeader = conversation.memberAbility?.leader || false;
|
|
@@ -268,113 +269,112 @@ export function ConversationDetailsScreen(t0) {
|
|
|
268
269
|
}
|
|
269
270
|
const HeaderTitle = t13;
|
|
270
271
|
let t14;
|
|
271
|
-
if ($[30] !==
|
|
272
|
+
if ($[30] !== canSaveTitle || $[31] !== navigation || $[32] !== saveTitle || $[33] !== trimmedTitle) {
|
|
272
273
|
t14 = {
|
|
273
274
|
icon: "general.check",
|
|
274
275
|
accessibilityLabel: "Done",
|
|
275
276
|
onPress: () => {
|
|
276
|
-
if (
|
|
277
|
+
if (canSaveTitle) {
|
|
277
278
|
saveTitle({
|
|
278
|
-
title: trimmedTitle
|
|
279
|
+
title: trimmedTitle
|
|
279
280
|
});
|
|
280
281
|
}
|
|
281
282
|
navigation.goBack();
|
|
282
283
|
}
|
|
283
284
|
};
|
|
284
|
-
$[30] =
|
|
285
|
-
$[31] =
|
|
286
|
-
$[32] =
|
|
287
|
-
$[33] =
|
|
288
|
-
$[34] =
|
|
289
|
-
$[35] = t14;
|
|
285
|
+
$[30] = canSaveTitle;
|
|
286
|
+
$[31] = navigation;
|
|
287
|
+
$[32] = saveTitle;
|
|
288
|
+
$[33] = trimmedTitle;
|
|
289
|
+
$[34] = t14;
|
|
290
290
|
} else {
|
|
291
|
-
t14 = $[
|
|
291
|
+
t14 = $[34];
|
|
292
292
|
}
|
|
293
293
|
useHeaderRight(t14);
|
|
294
294
|
let t15;
|
|
295
295
|
let t16;
|
|
296
|
-
if ($[
|
|
296
|
+
if ($[35] !== HeaderTitle || $[36] !== navigation) {
|
|
297
297
|
t15 = () => {
|
|
298
298
|
navigation.setOptions({
|
|
299
299
|
headerTitle: HeaderTitle
|
|
300
300
|
});
|
|
301
301
|
};
|
|
302
302
|
t16 = [HeaderTitle, navigation];
|
|
303
|
-
$[
|
|
304
|
-
$[
|
|
305
|
-
$[
|
|
306
|
-
$[
|
|
303
|
+
$[35] = HeaderTitle;
|
|
304
|
+
$[36] = navigation;
|
|
305
|
+
$[37] = t15;
|
|
306
|
+
$[38] = t16;
|
|
307
307
|
} else {
|
|
308
|
-
t15 = $[
|
|
309
|
-
t16 = $[
|
|
308
|
+
t15 = $[37];
|
|
309
|
+
t16 = $[38];
|
|
310
310
|
}
|
|
311
311
|
useEffect(t15, t16);
|
|
312
312
|
const t17 = canUpdate && customAvatarsEnabled ? SectionTypes.view : SectionTypes.hidden;
|
|
313
313
|
let t18;
|
|
314
|
-
if ($[
|
|
314
|
+
if ($[39] !== conversation_id || $[40] !== navigation) {
|
|
315
315
|
t18 = () => navigation.navigate("AvatarPicker", {
|
|
316
316
|
conversation_id
|
|
317
317
|
});
|
|
318
|
-
$[
|
|
319
|
-
$[
|
|
320
|
-
$[
|
|
318
|
+
$[39] = conversation_id;
|
|
319
|
+
$[40] = navigation;
|
|
320
|
+
$[41] = t18;
|
|
321
321
|
} else {
|
|
322
|
-
t18 = $[
|
|
322
|
+
t18 = $[41];
|
|
323
323
|
}
|
|
324
324
|
let t19;
|
|
325
|
-
if ($[
|
|
325
|
+
if ($[42] !== conversation || $[43] !== t18) {
|
|
326
326
|
t19 = {
|
|
327
327
|
children: /*#__PURE__*/_jsx(AvatarCard, {
|
|
328
328
|
conversation: conversation,
|
|
329
329
|
onPress: t18
|
|
330
330
|
})
|
|
331
331
|
};
|
|
332
|
-
$[
|
|
333
|
-
$[
|
|
334
|
-
$[
|
|
332
|
+
$[42] = conversation;
|
|
333
|
+
$[43] = t18;
|
|
334
|
+
$[44] = t19;
|
|
335
335
|
} else {
|
|
336
|
-
t19 = $[
|
|
336
|
+
t19 = $[44];
|
|
337
337
|
}
|
|
338
338
|
let t20;
|
|
339
|
-
if ($[
|
|
339
|
+
if ($[45] !== styles.sectionInnerAvatarCard || $[46] !== styles.sectionOuterAvatarCard || $[47] !== t17 || $[48] !== t19) {
|
|
340
340
|
t20 = {
|
|
341
341
|
type: t17,
|
|
342
342
|
data: t19,
|
|
343
343
|
sectionOuterStyle: styles.sectionOuterAvatarCard,
|
|
344
344
|
sectionInnerStyle: styles.sectionInnerAvatarCard
|
|
345
345
|
};
|
|
346
|
-
$[
|
|
347
|
-
$[
|
|
348
|
-
$[
|
|
349
|
-
$[
|
|
350
|
-
$[
|
|
346
|
+
$[45] = styles.sectionInnerAvatarCard;
|
|
347
|
+
$[46] = styles.sectionOuterAvatarCard;
|
|
348
|
+
$[47] = t17;
|
|
349
|
+
$[48] = t19;
|
|
350
|
+
$[49] = t20;
|
|
351
351
|
} else {
|
|
352
|
-
t20 = $[
|
|
352
|
+
t20 = $[49];
|
|
353
353
|
}
|
|
354
354
|
let t21;
|
|
355
|
-
if ($[
|
|
355
|
+
if ($[50] === Symbol.for("react.memo_cache_sentinel")) {
|
|
356
356
|
t21 = {
|
|
357
357
|
title: "Basic info"
|
|
358
358
|
};
|
|
359
|
-
$[
|
|
359
|
+
$[50] = t21;
|
|
360
360
|
} else {
|
|
361
|
-
t21 = $[
|
|
361
|
+
t21 = $[50];
|
|
362
362
|
}
|
|
363
363
|
let t22;
|
|
364
|
-
if ($[
|
|
364
|
+
if ($[51] !== styles.sectionInnerHeaderWithBottomBorder) {
|
|
365
365
|
t22 = {
|
|
366
366
|
type: SectionTypes.header,
|
|
367
367
|
data: t21,
|
|
368
368
|
showBottomBorder: true,
|
|
369
369
|
sectionInnerStyle: styles.sectionInnerHeaderWithBottomBorder
|
|
370
370
|
};
|
|
371
|
-
$[
|
|
372
|
-
$[
|
|
371
|
+
$[51] = styles.sectionInnerHeaderWithBottomBorder;
|
|
372
|
+
$[52] = t22;
|
|
373
373
|
} else {
|
|
374
|
-
t22 = $[
|
|
374
|
+
t22 = $[52];
|
|
375
375
|
}
|
|
376
376
|
let t23;
|
|
377
|
-
if ($[
|
|
377
|
+
if ($[53] !== canUpdate || $[54] !== emptyTitle || $[55] !== title) {
|
|
378
378
|
t23 = {
|
|
379
379
|
children: /*#__PURE__*/_jsx(TitleInput, {
|
|
380
380
|
canUpdate: canUpdate,
|
|
@@ -383,50 +383,50 @@ export function ConversationDetailsScreen(t0) {
|
|
|
383
383
|
isEmpty: emptyTitle
|
|
384
384
|
})
|
|
385
385
|
};
|
|
386
|
-
$[
|
|
387
|
-
$[
|
|
388
|
-
$[
|
|
389
|
-
$[
|
|
386
|
+
$[53] = canUpdate;
|
|
387
|
+
$[54] = emptyTitle;
|
|
388
|
+
$[55] = title;
|
|
389
|
+
$[56] = t23;
|
|
390
390
|
} else {
|
|
391
|
-
t23 = $[
|
|
391
|
+
t23 = $[56];
|
|
392
392
|
}
|
|
393
393
|
let t24;
|
|
394
|
-
if ($[
|
|
394
|
+
if ($[57] !== styles.sectionInnerTitleInput || $[58] !== t23) {
|
|
395
395
|
t24 = {
|
|
396
396
|
type: SectionTypes.view,
|
|
397
397
|
data: t23,
|
|
398
398
|
sectionInnerStyle: styles.sectionInnerTitleInput
|
|
399
399
|
};
|
|
400
|
-
$[
|
|
401
|
-
$[
|
|
402
|
-
$[
|
|
400
|
+
$[57] = styles.sectionInnerTitleInput;
|
|
401
|
+
$[58] = t23;
|
|
402
|
+
$[59] = t24;
|
|
403
403
|
} else {
|
|
404
|
-
t24 = $[
|
|
404
|
+
t24 = $[59];
|
|
405
405
|
}
|
|
406
406
|
let t25;
|
|
407
|
-
if ($[
|
|
407
|
+
if ($[60] === Symbol.for("react.memo_cache_sentinel")) {
|
|
408
408
|
t25 = {
|
|
409
409
|
title: "Settings"
|
|
410
410
|
};
|
|
411
|
-
$[
|
|
411
|
+
$[60] = t25;
|
|
412
412
|
} else {
|
|
413
|
-
t25 = $[
|
|
413
|
+
t25 = $[60];
|
|
414
414
|
}
|
|
415
415
|
let t26;
|
|
416
|
-
if ($[
|
|
416
|
+
if ($[61] !== styles.sectionInnerHeaderWithBottomBorder) {
|
|
417
417
|
t26 = {
|
|
418
418
|
type: SectionTypes.header,
|
|
419
419
|
data: t25,
|
|
420
420
|
showBottomBorder: true,
|
|
421
421
|
sectionInnerStyle: styles.sectionInnerHeaderWithBottomBorder
|
|
422
422
|
};
|
|
423
|
-
$[
|
|
424
|
-
$[
|
|
423
|
+
$[61] = styles.sectionInnerHeaderWithBottomBorder;
|
|
424
|
+
$[62] = t26;
|
|
425
425
|
} else {
|
|
426
|
-
t26 = $[
|
|
426
|
+
t26 = $[62];
|
|
427
427
|
}
|
|
428
428
|
let t27;
|
|
429
|
-
if ($[
|
|
429
|
+
if ($[63] !== archived || $[64] !== conversation || $[65] !== conversation_id || $[66] !== granularNotificationsEnabled || $[67] !== muted || $[68] !== navigation || $[69] !== notificationLevelDescription || $[70] !== setMuted || $[71] !== styles.unarchiveButton || $[72] !== unarchiveAction) {
|
|
430
430
|
t27 = archived ? {
|
|
431
431
|
type: SectionTypes.view,
|
|
432
432
|
data: {
|
|
@@ -466,32 +466,32 @@ export function ConversationDetailsScreen(t0) {
|
|
|
466
466
|
},
|
|
467
467
|
showBottomBorder: true
|
|
468
468
|
};
|
|
469
|
-
$[
|
|
470
|
-
$[
|
|
471
|
-
$[
|
|
472
|
-
$[
|
|
473
|
-
$[
|
|
474
|
-
$[
|
|
475
|
-
$[
|
|
476
|
-
$[
|
|
477
|
-
$[
|
|
478
|
-
$[
|
|
479
|
-
$[
|
|
480
|
-
} else {
|
|
481
|
-
t27 = $[
|
|
469
|
+
$[63] = archived;
|
|
470
|
+
$[64] = conversation;
|
|
471
|
+
$[65] = conversation_id;
|
|
472
|
+
$[66] = granularNotificationsEnabled;
|
|
473
|
+
$[67] = muted;
|
|
474
|
+
$[68] = navigation;
|
|
475
|
+
$[69] = notificationLevelDescription;
|
|
476
|
+
$[70] = setMuted;
|
|
477
|
+
$[71] = styles.unarchiveButton;
|
|
478
|
+
$[72] = unarchiveAction;
|
|
479
|
+
$[73] = t27;
|
|
480
|
+
} else {
|
|
481
|
+
t27 = $[73];
|
|
482
482
|
}
|
|
483
483
|
const t28 = canUpdate ? SectionTypes.setting : SectionTypes.hidden;
|
|
484
484
|
let t29;
|
|
485
|
-
if ($[
|
|
485
|
+
if ($[74] !== repliesDisabled || $[75] !== setRepliesDisabled) {
|
|
486
486
|
t29 = () => setRepliesDisabled(!repliesDisabled);
|
|
487
|
-
$[
|
|
488
|
-
$[
|
|
489
|
-
$[
|
|
487
|
+
$[74] = repliesDisabled;
|
|
488
|
+
$[75] = setRepliesDisabled;
|
|
489
|
+
$[76] = t29;
|
|
490
490
|
} else {
|
|
491
|
-
t29 = $[
|
|
491
|
+
t29 = $[76];
|
|
492
492
|
}
|
|
493
493
|
let t30;
|
|
494
|
-
if ($[
|
|
494
|
+
if ($[77] !== repliesDisabled || $[78] !== t29) {
|
|
495
495
|
t30 = {
|
|
496
496
|
title: "Only leaders can message",
|
|
497
497
|
rightItem: /*#__PURE__*/_jsx(Switch, {
|
|
@@ -499,247 +499,247 @@ export function ConversationDetailsScreen(t0) {
|
|
|
499
499
|
onChange: t29
|
|
500
500
|
})
|
|
501
501
|
};
|
|
502
|
-
$[
|
|
503
|
-
$[
|
|
504
|
-
$[
|
|
502
|
+
$[77] = repliesDisabled;
|
|
503
|
+
$[78] = t29;
|
|
504
|
+
$[79] = t30;
|
|
505
505
|
} else {
|
|
506
|
-
t30 = $[
|
|
506
|
+
t30 = $[79];
|
|
507
507
|
}
|
|
508
508
|
let t31;
|
|
509
|
-
if ($[
|
|
509
|
+
if ($[80] !== t28 || $[81] !== t30) {
|
|
510
510
|
t31 = {
|
|
511
511
|
type: t28,
|
|
512
512
|
data: t30,
|
|
513
513
|
showBottomBorder: true
|
|
514
514
|
};
|
|
515
|
-
$[
|
|
516
|
-
$[
|
|
517
|
-
$[
|
|
515
|
+
$[80] = t28;
|
|
516
|
+
$[81] = t30;
|
|
517
|
+
$[82] = t31;
|
|
518
518
|
} else {
|
|
519
|
-
t31 = $[
|
|
519
|
+
t31 = $[82];
|
|
520
520
|
}
|
|
521
521
|
const t32 = canArchive ? SectionTypes.setting : SectionTypes.hidden;
|
|
522
522
|
let t33;
|
|
523
|
-
if ($[
|
|
523
|
+
if ($[83] !== handleArchive || $[84] !== isArchiving) {
|
|
524
524
|
t33 = {
|
|
525
525
|
title: "Archive conversation\u2026",
|
|
526
526
|
disabled: isArchiving,
|
|
527
527
|
onPress: handleArchive
|
|
528
528
|
};
|
|
529
|
-
$[
|
|
530
|
-
$[
|
|
531
|
-
$[
|
|
529
|
+
$[83] = handleArchive;
|
|
530
|
+
$[84] = isArchiving;
|
|
531
|
+
$[85] = t33;
|
|
532
532
|
} else {
|
|
533
|
-
t33 = $[
|
|
533
|
+
t33 = $[85];
|
|
534
534
|
}
|
|
535
535
|
let t34;
|
|
536
|
-
if ($[
|
|
536
|
+
if ($[86] !== canDelete || $[87] !== t32 || $[88] !== t33) {
|
|
537
537
|
t34 = {
|
|
538
538
|
type: t32,
|
|
539
539
|
data: t33,
|
|
540
540
|
showBottomBorder: canDelete
|
|
541
541
|
};
|
|
542
|
-
$[
|
|
543
|
-
$[
|
|
544
|
-
$[
|
|
545
|
-
$[
|
|
542
|
+
$[86] = canDelete;
|
|
543
|
+
$[87] = t32;
|
|
544
|
+
$[88] = t33;
|
|
545
|
+
$[89] = t34;
|
|
546
546
|
} else {
|
|
547
|
-
t34 = $[
|
|
547
|
+
t34 = $[89];
|
|
548
548
|
}
|
|
549
549
|
const t35 = canDelete ? SectionTypes.setting : SectionTypes.hidden;
|
|
550
550
|
let t36;
|
|
551
|
-
if ($[
|
|
551
|
+
if ($[90] !== handleDelete || $[91] !== styles.deleteButtonText) {
|
|
552
552
|
t36 = {
|
|
553
553
|
title: "Delete conversation\u2026",
|
|
554
554
|
buttonTextStyle: styles.deleteButtonText,
|
|
555
555
|
appearance: "danger",
|
|
556
556
|
onPress: handleDelete
|
|
557
557
|
};
|
|
558
|
-
$[
|
|
559
|
-
$[
|
|
560
|
-
$[
|
|
558
|
+
$[90] = handleDelete;
|
|
559
|
+
$[91] = styles.deleteButtonText;
|
|
560
|
+
$[92] = t36;
|
|
561
561
|
} else {
|
|
562
|
-
t36 = $[
|
|
562
|
+
t36 = $[92];
|
|
563
563
|
}
|
|
564
564
|
let t37;
|
|
565
|
-
if ($[
|
|
565
|
+
if ($[93] !== t35 || $[94] !== t36) {
|
|
566
566
|
t37 = {
|
|
567
567
|
type: t35,
|
|
568
568
|
data: t36
|
|
569
569
|
};
|
|
570
|
-
$[
|
|
571
|
-
$[
|
|
572
|
-
$[
|
|
570
|
+
$[93] = t35;
|
|
571
|
+
$[94] = t36;
|
|
572
|
+
$[95] = t37;
|
|
573
573
|
} else {
|
|
574
|
-
t37 = $[
|
|
574
|
+
t37 = $[95];
|
|
575
575
|
}
|
|
576
576
|
const t38 = hasTeams ? SectionTypes.header : SectionTypes.hidden;
|
|
577
577
|
let t39;
|
|
578
|
-
if ($[
|
|
578
|
+
if ($[96] === Symbol.for("react.memo_cache_sentinel")) {
|
|
579
579
|
t39 = {
|
|
580
580
|
title: "Teams"
|
|
581
581
|
};
|
|
582
|
-
$[
|
|
582
|
+
$[96] = t39;
|
|
583
583
|
} else {
|
|
584
|
-
t39 = $[
|
|
584
|
+
t39 = $[96];
|
|
585
585
|
}
|
|
586
586
|
let t40;
|
|
587
|
-
if ($[
|
|
587
|
+
if ($[97] !== styles.sectionInnerHeader || $[98] !== t38) {
|
|
588
588
|
t40 = {
|
|
589
589
|
type: t38,
|
|
590
590
|
data: t39,
|
|
591
591
|
sectionInnerStyle: styles.sectionInnerHeader
|
|
592
592
|
};
|
|
593
|
-
$[
|
|
594
|
-
$[
|
|
595
|
-
$[
|
|
593
|
+
$[97] = styles.sectionInnerHeader;
|
|
594
|
+
$[98] = t38;
|
|
595
|
+
$[99] = t40;
|
|
596
596
|
} else {
|
|
597
|
-
t40 = $[
|
|
597
|
+
t40 = $[99];
|
|
598
598
|
}
|
|
599
599
|
const t41 = hasTeams ? SectionTypes.view : SectionTypes.hidden;
|
|
600
600
|
let t42;
|
|
601
|
-
if ($[
|
|
601
|
+
if ($[100] !== teamsGroup) {
|
|
602
602
|
t42 = {
|
|
603
603
|
children: /*#__PURE__*/_jsx(TeamsGroup, {
|
|
604
604
|
teams: teamsGroup
|
|
605
605
|
})
|
|
606
606
|
};
|
|
607
|
-
$[
|
|
608
|
-
$[
|
|
607
|
+
$[100] = teamsGroup;
|
|
608
|
+
$[101] = t42;
|
|
609
609
|
} else {
|
|
610
|
-
t42 = $[
|
|
610
|
+
t42 = $[101];
|
|
611
611
|
}
|
|
612
612
|
let t43;
|
|
613
|
-
if ($[
|
|
613
|
+
if ($[102] !== t41 || $[103] !== t42) {
|
|
614
614
|
t43 = {
|
|
615
615
|
type: t41,
|
|
616
616
|
data: t42
|
|
617
617
|
};
|
|
618
|
-
$[
|
|
619
|
-
$[
|
|
620
|
-
$[
|
|
618
|
+
$[102] = t41;
|
|
619
|
+
$[103] = t42;
|
|
620
|
+
$[104] = t43;
|
|
621
621
|
} else {
|
|
622
|
-
t43 = $[
|
|
622
|
+
t43 = $[104];
|
|
623
623
|
}
|
|
624
624
|
const t44 = showGenderFilter ? /*#__PURE__*/_jsx(Badge, {
|
|
625
625
|
label: `${genderLabel}-only`
|
|
626
626
|
}) : undefined;
|
|
627
627
|
let t45;
|
|
628
|
-
if ($[
|
|
628
|
+
if ($[105] !== t44) {
|
|
629
629
|
t45 = {
|
|
630
630
|
title: "People",
|
|
631
631
|
badge: t44
|
|
632
632
|
};
|
|
633
|
-
$[
|
|
634
|
-
$[
|
|
633
|
+
$[105] = t44;
|
|
634
|
+
$[106] = t45;
|
|
635
635
|
} else {
|
|
636
|
-
t45 = $[
|
|
636
|
+
t45 = $[106];
|
|
637
637
|
}
|
|
638
638
|
let t46;
|
|
639
|
-
if ($[
|
|
639
|
+
if ($[107] !== styles.sectionInnerHeader || $[108] !== t45) {
|
|
640
640
|
t46 = {
|
|
641
641
|
type: SectionTypes.header,
|
|
642
642
|
data: t45,
|
|
643
643
|
sectionInnerStyle: styles.sectionInnerHeader
|
|
644
644
|
};
|
|
645
|
-
$[
|
|
646
|
-
$[
|
|
647
|
-
$[
|
|
645
|
+
$[107] = styles.sectionInnerHeader;
|
|
646
|
+
$[108] = t45;
|
|
647
|
+
$[109] = t46;
|
|
648
648
|
} else {
|
|
649
|
-
t46 = $[
|
|
649
|
+
t46 = $[109];
|
|
650
650
|
}
|
|
651
651
|
const t47 = showGenderFilter ? SectionTypes.view : SectionTypes.hidden;
|
|
652
652
|
const t48 = genderLabel.toLowerCase();
|
|
653
653
|
let t49;
|
|
654
|
-
if ($[
|
|
654
|
+
if ($[110] !== t48) {
|
|
655
655
|
t49 = {
|
|
656
656
|
children: /*#__PURE__*/_jsxs(Text, {
|
|
657
657
|
variant: "tertiary",
|
|
658
658
|
children: ["This conversation will be automatically updated if any ", t48, " are added or removed from this group."]
|
|
659
659
|
})
|
|
660
660
|
};
|
|
661
|
-
$[
|
|
662
|
-
$[
|
|
661
|
+
$[110] = t48;
|
|
662
|
+
$[111] = t49;
|
|
663
663
|
} else {
|
|
664
|
-
t49 = $[
|
|
664
|
+
t49 = $[111];
|
|
665
665
|
}
|
|
666
666
|
let t50;
|
|
667
|
-
if ($[
|
|
667
|
+
if ($[112] !== styles.sectionInnerGenderNotice || $[113] !== t47 || $[114] !== t49) {
|
|
668
668
|
t50 = {
|
|
669
669
|
type: t47,
|
|
670
670
|
data: t49,
|
|
671
671
|
sectionInnerStyle: styles.sectionInnerGenderNotice
|
|
672
672
|
};
|
|
673
|
-
$[
|
|
674
|
-
$[
|
|
675
|
-
$[
|
|
676
|
-
$[
|
|
673
|
+
$[112] = styles.sectionInnerGenderNotice;
|
|
674
|
+
$[113] = t47;
|
|
675
|
+
$[114] = t49;
|
|
676
|
+
$[115] = t50;
|
|
677
677
|
} else {
|
|
678
|
-
t50 = $[
|
|
678
|
+
t50 = $[115];
|
|
679
679
|
}
|
|
680
680
|
const t51 = showAdultRequirementNotice ? SectionTypes.view : SectionTypes.hidden;
|
|
681
681
|
let t52;
|
|
682
|
-
if ($[
|
|
682
|
+
if ($[116] === Symbol.for("react.memo_cache_sentinel")) {
|
|
683
683
|
t52 = {
|
|
684
684
|
children: /*#__PURE__*/_jsx(AdultRequirementNotice, {})
|
|
685
685
|
};
|
|
686
|
-
$[
|
|
686
|
+
$[116] = t52;
|
|
687
687
|
} else {
|
|
688
|
-
t52 = $[
|
|
688
|
+
t52 = $[116];
|
|
689
689
|
}
|
|
690
690
|
let t53;
|
|
691
|
-
if ($[
|
|
691
|
+
if ($[117] !== styles.sectionInnerNotice || $[118] !== t51) {
|
|
692
692
|
t53 = {
|
|
693
693
|
type: t51,
|
|
694
694
|
data: t52,
|
|
695
695
|
sectionInnerStyle: styles.sectionInnerNotice
|
|
696
696
|
};
|
|
697
|
-
$[
|
|
698
|
-
$[
|
|
699
|
-
$[
|
|
697
|
+
$[117] = styles.sectionInnerNotice;
|
|
698
|
+
$[118] = t51;
|
|
699
|
+
$[119] = t53;
|
|
700
700
|
} else {
|
|
701
|
-
t53 = $[
|
|
701
|
+
t53 = $[119];
|
|
702
702
|
}
|
|
703
703
|
const t54 = hasChildren && isLeader ? SectionTypes.view : SectionTypes.hidden;
|
|
704
704
|
let t55;
|
|
705
|
-
if ($[
|
|
705
|
+
if ($[120] !== childMembers) {
|
|
706
706
|
t55 = {
|
|
707
707
|
children: /*#__PURE__*/_jsx(ChildNotice, {
|
|
708
708
|
childMembers: childMembers
|
|
709
709
|
})
|
|
710
710
|
};
|
|
711
|
-
$[
|
|
712
|
-
$[
|
|
711
|
+
$[120] = childMembers;
|
|
712
|
+
$[121] = t55;
|
|
713
713
|
} else {
|
|
714
|
-
t55 = $[
|
|
714
|
+
t55 = $[121];
|
|
715
715
|
}
|
|
716
716
|
let t56;
|
|
717
|
-
if ($[
|
|
717
|
+
if ($[122] !== styles.sectionInnerNotice || $[123] !== t54 || $[124] !== t55) {
|
|
718
718
|
t56 = {
|
|
719
719
|
type: t54,
|
|
720
720
|
data: t55,
|
|
721
721
|
sectionInnerStyle: styles.sectionInnerNotice
|
|
722
722
|
};
|
|
723
|
-
$[
|
|
724
|
-
$[
|
|
725
|
-
$[
|
|
726
|
-
$[
|
|
723
|
+
$[122] = styles.sectionInnerNotice;
|
|
724
|
+
$[123] = t54;
|
|
725
|
+
$[124] = t55;
|
|
726
|
+
$[125] = t56;
|
|
727
727
|
} else {
|
|
728
|
-
t56 = $[
|
|
728
|
+
t56 = $[125];
|
|
729
729
|
}
|
|
730
730
|
const listData = [t20, t22, t24, t26, t27, t31, t34, t37, t40, t43, t46, t50, t53, t56, ...memberItems, ...loadingMemberItems].filter(_temp5);
|
|
731
731
|
let t57;
|
|
732
|
-
if ($[
|
|
732
|
+
if ($[126] !== listData) {
|
|
733
733
|
t57 = listData.map(_temp6).filter(isDefined);
|
|
734
|
-
$[
|
|
735
|
-
$[
|
|
734
|
+
$[126] = listData;
|
|
735
|
+
$[127] = t57;
|
|
736
736
|
} else {
|
|
737
|
-
t57 = $[
|
|
737
|
+
t57 = $[127];
|
|
738
738
|
}
|
|
739
739
|
const headerIndices = t57;
|
|
740
740
|
const t58 = listData;
|
|
741
741
|
let t59;
|
|
742
|
-
if ($[
|
|
742
|
+
if ($[128] !== headerIndices || $[129] !== listData.length || $[130] !== styles.sectionHeaderRow) {
|
|
743
743
|
t59 = t60 => {
|
|
744
744
|
const {
|
|
745
745
|
item: item_0,
|
|
@@ -841,48 +841,48 @@ export function ConversationDetailsScreen(t0) {
|
|
|
841
841
|
}
|
|
842
842
|
}
|
|
843
843
|
};
|
|
844
|
-
$[
|
|
845
|
-
$[
|
|
846
|
-
$[
|
|
847
|
-
$[
|
|
844
|
+
$[128] = headerIndices;
|
|
845
|
+
$[129] = listData.length;
|
|
846
|
+
$[130] = styles.sectionHeaderRow;
|
|
847
|
+
$[131] = t59;
|
|
848
848
|
} else {
|
|
849
|
-
t59 = $[
|
|
849
|
+
t59 = $[131];
|
|
850
850
|
}
|
|
851
851
|
let t60;
|
|
852
|
-
if ($[
|
|
852
|
+
if ($[132] !== fetchNextPageOfMembers) {
|
|
853
853
|
t60 = () => fetchNextPageOfMembers();
|
|
854
|
-
$[
|
|
855
|
-
$[
|
|
854
|
+
$[132] = fetchNextPageOfMembers;
|
|
855
|
+
$[133] = t60;
|
|
856
856
|
} else {
|
|
857
|
-
t60 = $[
|
|
857
|
+
t60 = $[133];
|
|
858
858
|
}
|
|
859
859
|
let t61;
|
|
860
|
-
if ($[
|
|
860
|
+
if ($[134] !== styles.contentContainer || $[135] !== t58 || $[136] !== t59 || $[137] !== t60) {
|
|
861
861
|
t61 = /*#__PURE__*/_jsx(FlatList, {
|
|
862
862
|
data: t58,
|
|
863
863
|
contentContainerStyle: styles.contentContainer,
|
|
864
864
|
renderItem: t59,
|
|
865
865
|
onEndReached: t60
|
|
866
866
|
});
|
|
867
|
-
$[
|
|
868
|
-
$[
|
|
869
|
-
$[
|
|
870
|
-
$[
|
|
871
|
-
$[
|
|
867
|
+
$[134] = styles.contentContainer;
|
|
868
|
+
$[135] = t58;
|
|
869
|
+
$[136] = t59;
|
|
870
|
+
$[137] = t60;
|
|
871
|
+
$[138] = t61;
|
|
872
872
|
} else {
|
|
873
|
-
t61 = $[
|
|
873
|
+
t61 = $[138];
|
|
874
874
|
}
|
|
875
875
|
let t62;
|
|
876
|
-
if ($[
|
|
876
|
+
if ($[139] !== styles.listContainer || $[140] !== t61) {
|
|
877
877
|
t62 = /*#__PURE__*/_jsx(View, {
|
|
878
878
|
style: styles.listContainer,
|
|
879
879
|
children: t61
|
|
880
880
|
});
|
|
881
|
-
$[
|
|
882
|
-
$[
|
|
883
|
-
$[
|
|
881
|
+
$[139] = styles.listContainer;
|
|
882
|
+
$[140] = t61;
|
|
883
|
+
$[141] = t62;
|
|
884
884
|
} else {
|
|
885
|
-
t62 = $[
|
|
885
|
+
t62 = $[141];
|
|
886
886
|
}
|
|
887
887
|
return t62;
|
|
888
888
|
}
|