@planningcenter/chat-react-native 4.7.0 → 4.7.1-qa-staging.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.
Files changed (76) hide show
  1. package/build/components/conversations/conversation_actions.d.ts.map +1 -1
  2. package/build/components/conversations/conversation_actions.js +322 -186
  3. package/build/components/conversations/conversation_actions.js.map +1 -1
  4. package/build/components/display/toast.d.ts +3 -0
  5. package/build/components/display/toast.d.ts.map +1 -0
  6. package/build/components/display/toast.js +224 -0
  7. package/build/components/display/toast.js.map +1 -0
  8. package/build/components/group_conversation_list.d.ts.map +1 -1
  9. package/build/components/group_conversation_list.js +1 -0
  10. package/build/components/group_conversation_list.js.map +1 -1
  11. package/build/contexts/conversations_context.d.ts +3 -1
  12. package/build/contexts/conversations_context.d.ts.map +1 -1
  13. package/build/contexts/conversations_context.js +32 -27
  14. package/build/contexts/conversations_context.js.map +1 -1
  15. package/build/hooks/use_conversation.d.ts.map +1 -1
  16. package/build/hooks/use_conversation.js +1 -1
  17. package/build/hooks/use_conversation.js.map +1 -1
  18. package/build/hooks/use_features.d.ts +1 -0
  19. package/build/hooks/use_features.d.ts.map +1 -1
  20. package/build/hooks/use_features.js +2 -1
  21. package/build/hooks/use_features.js.map +1 -1
  22. package/build/hooks/use_hide_conversation.d.ts +107 -0
  23. package/build/hooks/use_hide_conversation.d.ts.map +1 -0
  24. package/build/hooks/use_hide_conversation.js +238 -0
  25. package/build/hooks/use_hide_conversation.js.map +1 -0
  26. package/build/hooks/use_hide_conversations_enabled.d.ts +2 -0
  27. package/build/hooks/use_hide_conversations_enabled.d.ts.map +1 -0
  28. package/build/hooks/use_hide_conversations_enabled.js +18 -0
  29. package/build/hooks/use_hide_conversations_enabled.js.map +1 -0
  30. package/build/navigation/index.d.ts +5 -0
  31. package/build/navigation/index.d.ts.map +1 -1
  32. package/build/navigation/index.js +5 -0
  33. package/build/navigation/index.js.map +1 -1
  34. package/build/screens/conversation_actions_screen.d.ts +7 -0
  35. package/build/screens/conversation_actions_screen.d.ts.map +1 -0
  36. package/build/screens/conversation_actions_screen.js +89 -0
  37. package/build/screens/conversation_actions_screen.js.map +1 -0
  38. package/build/screens/conversation_details_screen.d.ts.map +1 -1
  39. package/build/screens/conversation_details_screen.js +460 -394
  40. package/build/screens/conversation_details_screen.js.map +1 -1
  41. package/build/screens/conversations/conversations_screen.d.ts.map +1 -1
  42. package/build/screens/conversations/conversations_screen.js +18 -10
  43. package/build/screens/conversations/conversations_screen.js.map +1 -1
  44. package/build/screens/index.d.ts +1 -0
  45. package/build/screens/index.d.ts.map +1 -1
  46. package/build/screens/index.js +1 -0
  47. package/build/screens/index.js.map +1 -1
  48. package/build/types/resources/conversation_membership.d.ts +1 -0
  49. package/build/types/resources/conversation_membership.d.ts.map +1 -1
  50. package/build/types/resources/conversation_membership.js.map +1 -1
  51. package/build/utils/toast_store.d.ts +21 -0
  52. package/build/utils/toast_store.d.ts.map +1 -0
  53. package/build/utils/toast_store.js +27 -0
  54. package/build/utils/toast_store.js.map +1 -0
  55. package/package.json +3 -3
  56. package/src/components/conversations/__tests__/conversation_actions.test.tsx +76 -2
  57. package/src/components/conversations/conversation_actions.tsx +68 -4
  58. package/src/components/display/__tests__/toast.test.tsx +55 -0
  59. package/src/components/display/toast.tsx +115 -0
  60. package/src/components/group_conversation_list.tsx +4 -1
  61. package/src/contexts/conversations_context.tsx +6 -1
  62. package/src/hooks/__tests__/use_hide_conversation.test.tsx +147 -0
  63. package/src/hooks/use_conversation.ts +1 -0
  64. package/src/hooks/use_features.ts +1 -0
  65. package/src/hooks/use_hide_conversation.ts +118 -0
  66. package/src/hooks/use_hide_conversations_enabled.ts +7 -0
  67. package/src/navigation/index.tsx +8 -0
  68. package/src/screens/__tests__/conversation_actions_screen.test.tsx +79 -0
  69. package/src/screens/__tests__/conversation_details_screen.test.tsx +49 -1
  70. package/src/screens/conversation_actions_screen.tsx +53 -0
  71. package/src/screens/conversation_details_screen.tsx +19 -0
  72. package/src/screens/conversations/__tests__/conversations_screen.test.tsx +1 -0
  73. package/src/screens/conversations/conversations_screen.tsx +2 -0
  74. package/src/screens/index.ts +1 -0
  75. package/src/types/resources/conversation_membership.ts +1 -0
  76. package/src/utils/toast_store.ts +45 -0
@@ -9,6 +9,8 @@ import { useHeaderRight } from '../components/display/platform_modal_header_butt
9
9
  import { useSuspensePaginator, useTheme } from '../hooks';
10
10
  import { useConversation, useConversationArchive, useConversationDelete, useConversationDisableReplies, useConversationMute, useConversationUpdate } from '../hooks/use_conversation';
11
11
  import { availableFeatures, useFeatures } from '../hooks/use_features';
12
+ import { useHideConversation } from '../hooks/use_hide_conversation';
13
+ import { useHideConversationsEnabled } from '../hooks/use_hide_conversations_enabled';
12
14
  import { useManualArchivingEnabled } from '../hooks/use_manual_archiving_enabled';
13
15
  import { usePreviewAvatarDiameter } from '../hooks/use_preview_avatar_diameter';
14
16
  import { useUnarchiveConversationAction } from '../hooks/use_unarchive_conversation_action';
@@ -34,7 +36,7 @@ var SectionTypes = /*#__PURE__*/function (SectionTypes) {
34
36
  // ====== Components ===============
35
37
  // =================================
36
38
  export function ConversationDetailsScreen(t0) {
37
- const $ = _c(142);
39
+ const $ = _c(156);
38
40
  const {
39
41
  route
40
42
  } = t0;
@@ -76,79 +78,96 @@ export function ConversationDetailsScreen(t0) {
76
78
  const granularNotificationsEnabled = t1;
77
79
  const customAvatarsEnabled = featureEnabled(availableFeatures.custom_conversation_avatars);
78
80
  const manualArchivingEnabled = useManualArchivingEnabled();
79
- const showGenderFilter = featureEnabled(availableFeatures.gender_specific_conversations) && !!conversation.genderOption;
80
- const genderLabel = conversation.genderOption ? genderDisplayLabel(conversation.genderOption) : "";
81
+ const hideConversationsEnabled = useHideConversationsEnabled();
81
82
  let t2;
82
- if ($[2] !== conversation_id) {
83
+ if ($[2] !== conversation) {
83
84
  t2 = {
84
- conversation_id
85
+ conversation
85
86
  };
86
- $[2] = conversation_id;
87
+ $[2] = conversation;
87
88
  $[3] = t2;
88
89
  } else {
89
90
  t2 = $[3];
90
91
  }
91
92
  const {
92
- muted,
93
- setMuted
94
- } = useConversationMute(t2);
93
+ hidden,
94
+ setHidden,
95
+ isPending: isHidePending
96
+ } = useHideConversation(t2);
97
+ const showGenderFilter = featureEnabled(availableFeatures.gender_specific_conversations) && !!conversation.genderOption;
98
+ const genderLabel = conversation.genderOption ? genderDisplayLabel(conversation.genderOption) : "";
95
99
  let t3;
96
- if ($[4] !== title) {
97
- t3 = title.trim();
98
- $[4] = title;
100
+ if ($[4] !== conversation_id) {
101
+ t3 = {
102
+ conversation_id
103
+ };
104
+ $[4] = conversation_id;
99
105
  $[5] = t3;
100
106
  } else {
101
107
  t3 = $[5];
102
108
  }
103
- const trimmedTitle = t3;
104
- const emptyTitle = trimmedTitle === "";
105
- const notificationLevelDescription = conversation?.conversationMembership?.notificationLevelDescription;
109
+ const {
110
+ muted,
111
+ setMuted
112
+ } = useConversationMute(t3);
106
113
  let t4;
107
- if ($[6] !== conversation) {
108
- t4 = isArchivedConversation(conversation);
109
- $[6] = conversation;
114
+ if ($[6] !== title) {
115
+ t4 = title.trim();
116
+ $[6] = title;
110
117
  $[7] = t4;
111
118
  } else {
112
119
  t4 = $[7];
113
120
  }
114
- const archived = t4;
121
+ const trimmedTitle = t4;
122
+ const emptyTitle = trimmedTitle === "";
123
+ const notificationLevelDescription = conversation?.conversationMembership?.notificationLevelDescription;
124
+ let t5;
125
+ if ($[8] !== conversation) {
126
+ t5 = isArchivedConversation(conversation);
127
+ $[8] = conversation;
128
+ $[9] = t5;
129
+ } else {
130
+ t5 = $[9];
131
+ }
132
+ const archived = t5;
115
133
  const canUpdate = conversation.memberAbility?.canUpdate || false;
116
134
  const canSaveTitle = canUpdate && !emptyTitle;
117
135
  const canDelete = conversation.memberAbility?.canDelete || false;
118
136
  const canArchive = manualArchivingEnabled && (conversation.memberAbility?.canArchive || false);
137
+ const canHide = hideConversationsEnabled && !archived;
119
138
  const isLeader = conversation.memberAbility?.leader || false;
120
139
  const isDisabled = conversation.disabled ?? false;
121
140
  const showAdultRequirementNotice = isDisabled && conversation.disabledReason === "safety_check";
122
- const t5 = `/me/conversations/${route.params.conversation_id}/members`;
123
- let t6;
124
- if ($[8] === Symbol.for("react.memo_cache_sentinel")) {
125
- t6 = {
141
+ const t6 = `/me/conversations/${route.params.conversation_id}/members`;
142
+ let t7;
143
+ if ($[10] === Symbol.for("react.memo_cache_sentinel")) {
144
+ t7 = {
126
145
  include: ["person"],
127
146
  fields: {
128
147
  Member: ["avatar", "name", "first_name", "last_name", "child", "badges"]
129
148
  },
130
149
  order: "role_and_name"
131
150
  };
132
- $[8] = t6;
151
+ $[10] = t7;
133
152
  } else {
134
- t6 = $[8];
153
+ t7 = $[10];
135
154
  }
136
- let t7;
137
- if ($[9] !== t5) {
138
- t7 = {
139
- url: t5,
140
- data: t6
155
+ let t8;
156
+ if ($[11] !== t6) {
157
+ t8 = {
158
+ url: t6,
159
+ data: t7
141
160
  };
142
- $[9] = t5;
143
- $[10] = t7;
161
+ $[11] = t6;
162
+ $[12] = t8;
144
163
  } else {
145
- t7 = $[10];
164
+ t8 = $[12];
146
165
  }
147
166
  const {
148
167
  data: members,
149
168
  fetchNextPage: fetchNextPageOfMembers,
150
169
  isFetchingNextPage: isLoadingMembers
151
- } = useSuspensePaginator(t7);
170
+ } = useSuspensePaginator(t8);
152
171
  const memberSectionStyleMap = {
153
172
  first: styles.sectionInnerFirstMember,
154
173
  middle: styles.sectionInnerMiddleMiddle,
@@ -165,47 +184,47 @@ export function ConversationDetailsScreen(t0) {
165
184
  sectionInnerStyle: memberSectionStyle
166
185
  };
167
186
  });
168
- let t8;
169
- if ($[11] !== isLoadingMembers || $[12] !== styles.sectionInnerFirstMember) {
170
- t8 = isLoadingMembers ? [{
187
+ let t9;
188
+ if ($[13] !== isLoadingMembers || $[14] !== styles.sectionInnerFirstMember) {
189
+ t9 = isLoadingMembers ? [{
171
190
  type: SectionTypes.loadingMembers,
172
191
  data: {},
173
192
  sectionInnerStyle: styles.sectionInnerFirstMember
174
193
  }] : [];
175
- $[11] = isLoadingMembers;
176
- $[12] = styles.sectionInnerFirstMember;
177
- $[13] = t8;
178
- } else {
179
- t8 = $[13];
180
- }
181
- const loadingMemberItems = t8;
182
- let t9;
183
- if ($[14] !== members) {
184
- t9 = members.filter(_temp);
185
- $[14] = members;
194
+ $[13] = isLoadingMembers;
195
+ $[14] = styles.sectionInnerFirstMember;
186
196
  $[15] = t9;
187
197
  } else {
188
198
  t9 = $[15];
189
199
  }
190
- const childMembers = t9;
191
- const hasChildren = childMembers.length > 0;
200
+ const loadingMemberItems = t9;
192
201
  let t10;
193
- if ($[16] !== conversation.groups) {
194
- t10 = conversation.groups?.filter(_temp2)?.filter(_temp3)?.filter(_temp4) || [];
195
- $[16] = conversation.groups;
202
+ if ($[16] !== members) {
203
+ t10 = members.filter(_temp);
204
+ $[16] = members;
196
205
  $[17] = t10;
197
206
  } else {
198
207
  t10 = $[17];
199
208
  }
200
- const teamsGroup = t10;
209
+ const childMembers = t10;
210
+ const hasChildren = childMembers.length > 0;
211
+ let t11;
212
+ if ($[18] !== conversation.groups) {
213
+ t11 = conversation.groups?.filter(_temp2)?.filter(_temp3)?.filter(_temp4) || [];
214
+ $[18] = conversation.groups;
215
+ $[19] = t11;
216
+ } else {
217
+ t11 = $[19];
218
+ }
219
+ const teamsGroup = t11;
201
220
  const hasTeams = teamsGroup.length > 0;
202
221
  const badge = conversation.badges?.[0];
203
222
  const resourceType = badge?.pcoResourceType || "";
204
223
  const productName = badge?.appName;
205
224
  const name = badge?.text || undefined;
206
- let t11;
207
- if ($[18] !== deleteConversation || $[19] !== navigation || $[20] !== title) {
208
- t11 = () => {
225
+ let t12;
226
+ if ($[20] !== deleteConversation || $[21] !== navigation || $[22] !== title) {
227
+ t12 = () => {
209
228
  Alert.alert("Delete conversation", `All messages in ${title} will be deleted for everyone. This action cannot be undone.`, [{
210
229
  text: "Cancel",
211
230
  style: "cancel"
@@ -218,17 +237,17 @@ export function ConversationDetailsScreen(t0) {
218
237
  }
219
238
  }]);
220
239
  };
221
- $[18] = deleteConversation;
222
- $[19] = navigation;
223
- $[20] = title;
224
- $[21] = t11;
240
+ $[20] = deleteConversation;
241
+ $[21] = navigation;
242
+ $[22] = title;
243
+ $[23] = t12;
225
244
  } else {
226
- t11 = $[21];
245
+ t12 = $[23];
227
246
  }
228
- const handleDelete = t11;
229
- let t12;
230
- if ($[22] !== setArchived) {
231
- t12 = () => {
247
+ const handleDelete = t12;
248
+ let t13;
249
+ if ($[24] !== setArchived) {
250
+ t13 = () => {
232
251
  Alert.alert("Archive conversation", "This conversation will be archived for everyone. Only its leaders and creator can open and unarchive it.", [{
233
252
  text: "Cancel",
234
253
  style: "cancel"
@@ -237,15 +256,31 @@ export function ConversationDetailsScreen(t0) {
237
256
  onPress: () => setArchived(true)
238
257
  }]);
239
258
  };
240
- $[22] = setArchived;
241
- $[23] = t12;
259
+ $[24] = setArchived;
260
+ $[25] = t13;
242
261
  } else {
243
- t12 = $[23];
262
+ t13 = $[25];
244
263
  }
245
- const handleArchive = t12;
246
- let t13;
247
- if ($[24] !== name || $[25] !== productName || $[26] !== resourceType || $[27] !== styles.headerTitleBadge || $[28] !== styles.headerTitleContainer) {
248
- t13 = props => /*#__PURE__*/_jsxs(View, {
264
+ const handleArchive = t13;
265
+ let t14;
266
+ if ($[26] !== hidden || $[27] !== navigation || $[28] !== setHidden) {
267
+ t14 = () => {
268
+ setHidden(!hidden);
269
+ if (!hidden) {
270
+ navigation.dispatch(StackActions.popToTop());
271
+ }
272
+ };
273
+ $[26] = hidden;
274
+ $[27] = navigation;
275
+ $[28] = setHidden;
276
+ $[29] = t14;
277
+ } else {
278
+ t14 = $[29];
279
+ }
280
+ const handleHide = t14;
281
+ let t15;
282
+ if ($[30] !== name || $[31] !== productName || $[32] !== resourceType || $[33] !== styles.headerTitleBadge || $[34] !== styles.headerTitleContainer) {
283
+ t15 = props => /*#__PURE__*/_jsxs(View, {
249
284
  style: styles.headerTitleContainer,
250
285
  children: [/*#__PURE__*/_jsx(ElementsHeaderTitle, {
251
286
  maxFontSizeMultiplier: 1,
@@ -259,19 +294,19 @@ export function ConversationDetailsScreen(t0) {
259
294
  maxFontSizeMultiplier: 1
260
295
  })]
261
296
  });
262
- $[24] = name;
263
- $[25] = productName;
264
- $[26] = resourceType;
265
- $[27] = styles.headerTitleBadge;
266
- $[28] = styles.headerTitleContainer;
267
- $[29] = t13;
297
+ $[30] = name;
298
+ $[31] = productName;
299
+ $[32] = resourceType;
300
+ $[33] = styles.headerTitleBadge;
301
+ $[34] = styles.headerTitleContainer;
302
+ $[35] = t15;
268
303
  } else {
269
- t13 = $[29];
304
+ t15 = $[35];
270
305
  }
271
- const HeaderTitle = t13;
272
- let t14;
273
- if ($[30] !== canSaveTitle || $[31] !== navigation || $[32] !== saveTitle || $[33] !== trimmedTitle) {
274
- t14 = {
306
+ const HeaderTitle = t15;
307
+ let t16;
308
+ if ($[36] !== canSaveTitle || $[37] !== navigation || $[38] !== saveTitle || $[39] !== trimmedTitle) {
309
+ t16 = {
275
310
  icon: "general.check",
276
311
  accessibilityLabel: "Done",
277
312
  onPress: () => {
@@ -283,100 +318,100 @@ export function ConversationDetailsScreen(t0) {
283
318
  navigation.goBack();
284
319
  }
285
320
  };
286
- $[30] = canSaveTitle;
287
- $[31] = navigation;
288
- $[32] = saveTitle;
289
- $[33] = trimmedTitle;
290
- $[34] = t14;
321
+ $[36] = canSaveTitle;
322
+ $[37] = navigation;
323
+ $[38] = saveTitle;
324
+ $[39] = trimmedTitle;
325
+ $[40] = t16;
291
326
  } else {
292
- t14 = $[34];
327
+ t16 = $[40];
293
328
  }
294
- useHeaderRight(t14);
295
- let t15;
296
- let t16;
297
- if ($[35] !== HeaderTitle || $[36] !== navigation) {
298
- t15 = () => {
329
+ useHeaderRight(t16);
330
+ let t17;
331
+ let t18;
332
+ if ($[41] !== HeaderTitle || $[42] !== navigation) {
333
+ t17 = () => {
299
334
  navigation.setOptions({
300
335
  headerTitle: HeaderTitle
301
336
  });
302
337
  };
303
- t16 = [HeaderTitle, navigation];
304
- $[35] = HeaderTitle;
305
- $[36] = navigation;
306
- $[37] = t15;
307
- $[38] = t16;
338
+ t18 = [HeaderTitle, navigation];
339
+ $[41] = HeaderTitle;
340
+ $[42] = navigation;
341
+ $[43] = t17;
342
+ $[44] = t18;
308
343
  } else {
309
- t15 = $[37];
310
- t16 = $[38];
344
+ t17 = $[43];
345
+ t18 = $[44];
311
346
  }
312
- useEffect(t15, t16);
313
- const t17 = canUpdate && customAvatarsEnabled ? SectionTypes.view : SectionTypes.hidden;
314
- let t18;
315
- if ($[39] !== conversation_id || $[40] !== navigation) {
316
- t18 = () => navigation.navigate("AvatarPicker", {
347
+ useEffect(t17, t18);
348
+ const t19 = canUpdate && customAvatarsEnabled ? SectionTypes.view : SectionTypes.hidden;
349
+ let t20;
350
+ if ($[45] !== conversation_id || $[46] !== navigation) {
351
+ t20 = () => navigation.navigate("AvatarPicker", {
317
352
  conversation_id
318
353
  });
319
- $[39] = conversation_id;
320
- $[40] = navigation;
321
- $[41] = t18;
354
+ $[45] = conversation_id;
355
+ $[46] = navigation;
356
+ $[47] = t20;
322
357
  } else {
323
- t18 = $[41];
358
+ t20 = $[47];
324
359
  }
325
- let t19;
326
- if ($[42] !== conversation || $[43] !== t18) {
327
- t19 = {
360
+ let t21;
361
+ if ($[48] !== conversation || $[49] !== t20) {
362
+ t21 = {
328
363
  children: /*#__PURE__*/_jsx(AvatarCard, {
329
364
  conversation: conversation,
330
- onPress: t18
365
+ onPress: t20
331
366
  })
332
367
  };
333
- $[42] = conversation;
334
- $[43] = t18;
335
- $[44] = t19;
368
+ $[48] = conversation;
369
+ $[49] = t20;
370
+ $[50] = t21;
336
371
  } else {
337
- t19 = $[44];
372
+ t21 = $[50];
338
373
  }
339
- let t20;
340
- if ($[45] !== styles.sectionInnerAvatarCard || $[46] !== styles.sectionOuterAvatarCard || $[47] !== t17 || $[48] !== t19) {
341
- t20 = {
342
- type: t17,
343
- data: t19,
374
+ let t22;
375
+ if ($[51] !== styles.sectionInnerAvatarCard || $[52] !== styles.sectionOuterAvatarCard || $[53] !== t19 || $[54] !== t21) {
376
+ t22 = {
377
+ type: t19,
378
+ data: t21,
344
379
  sectionOuterStyle: styles.sectionOuterAvatarCard,
345
380
  sectionInnerStyle: styles.sectionInnerAvatarCard
346
381
  };
347
- $[45] = styles.sectionInnerAvatarCard;
348
- $[46] = styles.sectionOuterAvatarCard;
349
- $[47] = t17;
350
- $[48] = t19;
351
- $[49] = t20;
382
+ $[51] = styles.sectionInnerAvatarCard;
383
+ $[52] = styles.sectionOuterAvatarCard;
384
+ $[53] = t19;
385
+ $[54] = t21;
386
+ $[55] = t22;
352
387
  } else {
353
- t20 = $[49];
388
+ t22 = $[55];
354
389
  }
355
- let t21;
356
- if ($[50] === Symbol.for("react.memo_cache_sentinel")) {
357
- t21 = {
390
+ let t23;
391
+ if ($[56] === Symbol.for("react.memo_cache_sentinel")) {
392
+ t23 = {
358
393
  title: "Basic info"
359
394
  };
360
- $[50] = t21;
395
+ $[56] = t23;
361
396
  } else {
362
- t21 = $[50];
397
+ t23 = $[56];
363
398
  }
364
- let t22;
365
- if ($[51] !== styles.sectionInnerHeaderWithBottomBorder) {
366
- t22 = {
399
+ let t24;
400
+ if ($[57] !== styles.sectionInnerHeaderWithBottomBorder) {
401
+ t24 = {
367
402
  type: SectionTypes.header,
368
- data: t21,
403
+ data: t23,
369
404
  showBottomBorder: true,
370
405
  sectionInnerStyle: styles.sectionInnerHeaderWithBottomBorder
371
406
  };
372
- $[51] = styles.sectionInnerHeaderWithBottomBorder;
373
- $[52] = t22;
407
+ $[57] = styles.sectionInnerHeaderWithBottomBorder;
408
+ $[58] = t24;
374
409
  } else {
375
- t22 = $[52];
410
+ t24 = $[58];
376
411
  }
377
- let t23;
378
- if ($[53] !== canUpdate || $[54] !== emptyTitle || $[55] !== title) {
379
- t23 = {
412
+ let t25;
413
+ if ($[59] !== canUpdate || $[60] !== emptyTitle || $[61] !== title) {
414
+ t25 = {
380
415
  children: /*#__PURE__*/_jsx(TitleInput, {
381
416
  canUpdate: canUpdate,
382
417
  title: title,
@@ -384,51 +419,51 @@ export function ConversationDetailsScreen(t0) {
384
419
  isEmpty: emptyTitle
385
420
  })
386
421
  };
387
- $[53] = canUpdate;
388
- $[54] = emptyTitle;
389
- $[55] = title;
390
- $[56] = t23;
422
+ $[59] = canUpdate;
423
+ $[60] = emptyTitle;
424
+ $[61] = title;
425
+ $[62] = t25;
391
426
  } else {
392
- t23 = $[56];
427
+ t25 = $[62];
393
428
  }
394
- let t24;
395
- if ($[57] !== styles.sectionInnerTitleInput || $[58] !== t23) {
396
- t24 = {
429
+ let t26;
430
+ if ($[63] !== styles.sectionInnerTitleInput || $[64] !== t25) {
431
+ t26 = {
397
432
  type: SectionTypes.view,
398
- data: t23,
433
+ data: t25,
399
434
  sectionInnerStyle: styles.sectionInnerTitleInput
400
435
  };
401
- $[57] = styles.sectionInnerTitleInput;
402
- $[58] = t23;
403
- $[59] = t24;
436
+ $[63] = styles.sectionInnerTitleInput;
437
+ $[64] = t25;
438
+ $[65] = t26;
404
439
  } else {
405
- t24 = $[59];
440
+ t26 = $[65];
406
441
  }
407
- let t25;
408
- if ($[60] === Symbol.for("react.memo_cache_sentinel")) {
409
- t25 = {
442
+ let t27;
443
+ if ($[66] === Symbol.for("react.memo_cache_sentinel")) {
444
+ t27 = {
410
445
  title: "Settings"
411
446
  };
412
- $[60] = t25;
447
+ $[66] = t27;
413
448
  } else {
414
- t25 = $[60];
449
+ t27 = $[66];
415
450
  }
416
- let t26;
417
- if ($[61] !== styles.sectionInnerHeaderWithBottomBorder) {
418
- t26 = {
451
+ let t28;
452
+ if ($[67] !== styles.sectionInnerHeaderWithBottomBorder) {
453
+ t28 = {
419
454
  type: SectionTypes.header,
420
- data: t25,
455
+ data: t27,
421
456
  showBottomBorder: true,
422
457
  sectionInnerStyle: styles.sectionInnerHeaderWithBottomBorder
423
458
  };
424
- $[61] = styles.sectionInnerHeaderWithBottomBorder;
425
- $[62] = t26;
459
+ $[67] = styles.sectionInnerHeaderWithBottomBorder;
460
+ $[68] = t28;
426
461
  } else {
427
- t26 = $[62];
462
+ t28 = $[68];
428
463
  }
429
- let t27;
430
- if ($[63] !== archived || $[64] !== conversation || $[65] !== conversation_id || $[66] !== granularNotificationsEnabled || $[67] !== muted || $[68] !== navigation || $[69] !== notificationLevelDescription || $[70] !== setMuted || $[71] !== styles.unarchiveButton || $[72] !== unarchiveAction) {
431
- t27 = archived ? {
464
+ let t29;
465
+ if ($[69] !== archived || $[70] !== conversation || $[71] !== conversation_id || $[72] !== granularNotificationsEnabled || $[73] !== muted || $[74] !== navigation || $[75] !== notificationLevelDescription || $[76] !== setMuted || $[77] !== styles.unarchiveButton || $[78] !== unarchiveAction) {
466
+ t29 = archived ? {
432
467
  type: SectionTypes.view,
433
468
  data: {
434
469
  children: /*#__PURE__*/_jsxs(_Fragment, {
@@ -467,285 +502,316 @@ export function ConversationDetailsScreen(t0) {
467
502
  },
468
503
  showBottomBorder: true
469
504
  };
470
- $[63] = archived;
471
- $[64] = conversation;
472
- $[65] = conversation_id;
473
- $[66] = granularNotificationsEnabled;
474
- $[67] = muted;
475
- $[68] = navigation;
476
- $[69] = notificationLevelDescription;
477
- $[70] = setMuted;
478
- $[71] = styles.unarchiveButton;
479
- $[72] = unarchiveAction;
480
- $[73] = t27;
481
- } else {
482
- t27 = $[73];
483
- }
484
- const t28 = canUpdate ? SectionTypes.setting : SectionTypes.hidden;
485
- let t29;
486
- if ($[74] !== repliesDisabled || $[75] !== setRepliesDisabled) {
487
- t29 = () => setRepliesDisabled(!repliesDisabled);
488
- $[74] = repliesDisabled;
489
- $[75] = setRepliesDisabled;
490
- $[76] = t29;
505
+ $[69] = archived;
506
+ $[70] = conversation;
507
+ $[71] = conversation_id;
508
+ $[72] = granularNotificationsEnabled;
509
+ $[73] = muted;
510
+ $[74] = navigation;
511
+ $[75] = notificationLevelDescription;
512
+ $[76] = setMuted;
513
+ $[77] = styles.unarchiveButton;
514
+ $[78] = unarchiveAction;
515
+ $[79] = t29;
516
+ } else {
517
+ t29 = $[79];
518
+ }
519
+ const t30 = canUpdate ? SectionTypes.setting : SectionTypes.hidden;
520
+ let t31;
521
+ if ($[80] !== repliesDisabled || $[81] !== setRepliesDisabled) {
522
+ t31 = () => setRepliesDisabled(!repliesDisabled);
523
+ $[80] = repliesDisabled;
524
+ $[81] = setRepliesDisabled;
525
+ $[82] = t31;
491
526
  } else {
492
- t29 = $[76];
527
+ t31 = $[82];
493
528
  }
494
- let t30;
495
- if ($[77] !== repliesDisabled || $[78] !== t29) {
496
- t30 = {
529
+ let t32;
530
+ if ($[83] !== repliesDisabled || $[84] !== t31) {
531
+ t32 = {
497
532
  title: "Only leaders can message",
498
533
  rightItem: /*#__PURE__*/_jsx(Switch, {
499
534
  value: repliesDisabled,
500
- onChange: t29
535
+ onChange: t31
501
536
  })
502
537
  };
503
- $[77] = repliesDisabled;
504
- $[78] = t29;
505
- $[79] = t30;
538
+ $[83] = repliesDisabled;
539
+ $[84] = t31;
540
+ $[85] = t32;
506
541
  } else {
507
- t30 = $[79];
542
+ t32 = $[85];
508
543
  }
509
- let t31;
510
- if ($[80] !== t28 || $[81] !== t30) {
511
- t31 = {
512
- type: t28,
513
- data: t30,
544
+ let t33;
545
+ if ($[86] !== t30 || $[87] !== t32) {
546
+ t33 = {
547
+ type: t30,
548
+ data: t32,
514
549
  showBottomBorder: true
515
550
  };
516
- $[80] = t28;
517
- $[81] = t30;
518
- $[82] = t31;
551
+ $[86] = t30;
552
+ $[87] = t32;
553
+ $[88] = t33;
519
554
  } else {
520
- t31 = $[82];
555
+ t33 = $[88];
521
556
  }
522
- const t32 = canArchive ? SectionTypes.setting : SectionTypes.hidden;
523
- let t33;
524
- if ($[83] !== handleArchive || $[84] !== isArchiving) {
525
- t33 = {
557
+ const t34 = canHide ? SectionTypes.setting : SectionTypes.hidden;
558
+ const t35 = hidden ? "Unhide conversation" : "Hide conversation";
559
+ let t36;
560
+ if ($[89] !== handleHide || $[90] !== isHidePending || $[91] !== t35) {
561
+ t36 = {
562
+ title: t35,
563
+ disabled: isHidePending,
564
+ onPress: handleHide
565
+ };
566
+ $[89] = handleHide;
567
+ $[90] = isHidePending;
568
+ $[91] = t35;
569
+ $[92] = t36;
570
+ } else {
571
+ t36 = $[92];
572
+ }
573
+ const t37 = canArchive || canDelete;
574
+ let t38;
575
+ if ($[93] !== t34 || $[94] !== t36 || $[95] !== t37) {
576
+ t38 = {
577
+ type: t34,
578
+ data: t36,
579
+ showBottomBorder: t37
580
+ };
581
+ $[93] = t34;
582
+ $[94] = t36;
583
+ $[95] = t37;
584
+ $[96] = t38;
585
+ } else {
586
+ t38 = $[96];
587
+ }
588
+ const t39 = canArchive ? SectionTypes.setting : SectionTypes.hidden;
589
+ let t40;
590
+ if ($[97] !== handleArchive || $[98] !== isArchiving) {
591
+ t40 = {
526
592
  title: "Archive conversation\u2026",
527
593
  disabled: isArchiving,
528
594
  onPress: handleArchive
529
595
  };
530
- $[83] = handleArchive;
531
- $[84] = isArchiving;
532
- $[85] = t33;
596
+ $[97] = handleArchive;
597
+ $[98] = isArchiving;
598
+ $[99] = t40;
533
599
  } else {
534
- t33 = $[85];
600
+ t40 = $[99];
535
601
  }
536
- let t34;
537
- if ($[86] !== canDelete || $[87] !== t32 || $[88] !== t33) {
538
- t34 = {
539
- type: t32,
540
- data: t33,
602
+ let t41;
603
+ if ($[100] !== canDelete || $[101] !== t39 || $[102] !== t40) {
604
+ t41 = {
605
+ type: t39,
606
+ data: t40,
541
607
  showBottomBorder: canDelete
542
608
  };
543
- $[86] = canDelete;
544
- $[87] = t32;
545
- $[88] = t33;
546
- $[89] = t34;
609
+ $[100] = canDelete;
610
+ $[101] = t39;
611
+ $[102] = t40;
612
+ $[103] = t41;
547
613
  } else {
548
- t34 = $[89];
614
+ t41 = $[103];
549
615
  }
550
- const t35 = canDelete ? SectionTypes.setting : SectionTypes.hidden;
551
- let t36;
552
- if ($[90] !== handleDelete || $[91] !== styles.deleteButtonText) {
553
- t36 = {
616
+ const t42 = canDelete ? SectionTypes.setting : SectionTypes.hidden;
617
+ let t43;
618
+ if ($[104] !== handleDelete || $[105] !== styles.deleteButtonText) {
619
+ t43 = {
554
620
  title: "Delete conversation\u2026",
555
621
  buttonTextStyle: styles.deleteButtonText,
556
622
  appearance: "danger",
557
623
  onPress: handleDelete
558
624
  };
559
- $[90] = handleDelete;
560
- $[91] = styles.deleteButtonText;
561
- $[92] = t36;
625
+ $[104] = handleDelete;
626
+ $[105] = styles.deleteButtonText;
627
+ $[106] = t43;
562
628
  } else {
563
- t36 = $[92];
629
+ t43 = $[106];
564
630
  }
565
- let t37;
566
- if ($[93] !== t35 || $[94] !== t36) {
567
- t37 = {
568
- type: t35,
569
- data: t36
631
+ let t44;
632
+ if ($[107] !== t42 || $[108] !== t43) {
633
+ t44 = {
634
+ type: t42,
635
+ data: t43
570
636
  };
571
- $[93] = t35;
572
- $[94] = t36;
573
- $[95] = t37;
637
+ $[107] = t42;
638
+ $[108] = t43;
639
+ $[109] = t44;
574
640
  } else {
575
- t37 = $[95];
641
+ t44 = $[109];
576
642
  }
577
- const t38 = hasTeams ? SectionTypes.header : SectionTypes.hidden;
578
- let t39;
579
- if ($[96] === Symbol.for("react.memo_cache_sentinel")) {
580
- t39 = {
643
+ const t45 = hasTeams ? SectionTypes.header : SectionTypes.hidden;
644
+ let t46;
645
+ if ($[110] === Symbol.for("react.memo_cache_sentinel")) {
646
+ t46 = {
581
647
  title: "Teams"
582
648
  };
583
- $[96] = t39;
649
+ $[110] = t46;
584
650
  } else {
585
- t39 = $[96];
651
+ t46 = $[110];
586
652
  }
587
- let t40;
588
- if ($[97] !== styles.sectionInnerHeader || $[98] !== t38) {
589
- t40 = {
590
- type: t38,
591
- data: t39,
653
+ let t47;
654
+ if ($[111] !== styles.sectionInnerHeader || $[112] !== t45) {
655
+ t47 = {
656
+ type: t45,
657
+ data: t46,
592
658
  sectionInnerStyle: styles.sectionInnerHeader
593
659
  };
594
- $[97] = styles.sectionInnerHeader;
595
- $[98] = t38;
596
- $[99] = t40;
660
+ $[111] = styles.sectionInnerHeader;
661
+ $[112] = t45;
662
+ $[113] = t47;
597
663
  } else {
598
- t40 = $[99];
664
+ t47 = $[113];
599
665
  }
600
- const t41 = hasTeams ? SectionTypes.view : SectionTypes.hidden;
601
- let t42;
602
- if ($[100] !== teamsGroup) {
603
- t42 = {
666
+ const t48 = hasTeams ? SectionTypes.view : SectionTypes.hidden;
667
+ let t49;
668
+ if ($[114] !== teamsGroup) {
669
+ t49 = {
604
670
  children: /*#__PURE__*/_jsx(TeamsGroup, {
605
671
  teams: teamsGroup
606
672
  })
607
673
  };
608
- $[100] = teamsGroup;
609
- $[101] = t42;
674
+ $[114] = teamsGroup;
675
+ $[115] = t49;
610
676
  } else {
611
- t42 = $[101];
677
+ t49 = $[115];
612
678
  }
613
- let t43;
614
- if ($[102] !== t41 || $[103] !== t42) {
615
- t43 = {
616
- type: t41,
617
- data: t42
679
+ let t50;
680
+ if ($[116] !== t48 || $[117] !== t49) {
681
+ t50 = {
682
+ type: t48,
683
+ data: t49
618
684
  };
619
- $[102] = t41;
620
- $[103] = t42;
621
- $[104] = t43;
685
+ $[116] = t48;
686
+ $[117] = t49;
687
+ $[118] = t50;
622
688
  } else {
623
- t43 = $[104];
689
+ t50 = $[118];
624
690
  }
625
- const t44 = showGenderFilter ? /*#__PURE__*/_jsx(Badge, {
691
+ const t51 = showGenderFilter ? /*#__PURE__*/_jsx(Badge, {
626
692
  label: `${genderLabel}-only`
627
693
  }) : undefined;
628
- let t45;
629
- if ($[105] !== t44) {
630
- t45 = {
694
+ let t52;
695
+ if ($[119] !== t51) {
696
+ t52 = {
631
697
  title: "People",
632
- badge: t44
698
+ badge: t51
633
699
  };
634
- $[105] = t44;
635
- $[106] = t45;
700
+ $[119] = t51;
701
+ $[120] = t52;
636
702
  } else {
637
- t45 = $[106];
703
+ t52 = $[120];
638
704
  }
639
- let t46;
640
- if ($[107] !== styles.sectionInnerHeader || $[108] !== t45) {
641
- t46 = {
705
+ let t53;
706
+ if ($[121] !== styles.sectionInnerHeader || $[122] !== t52) {
707
+ t53 = {
642
708
  type: SectionTypes.header,
643
- data: t45,
709
+ data: t52,
644
710
  sectionInnerStyle: styles.sectionInnerHeader
645
711
  };
646
- $[107] = styles.sectionInnerHeader;
647
- $[108] = t45;
648
- $[109] = t46;
712
+ $[121] = styles.sectionInnerHeader;
713
+ $[122] = t52;
714
+ $[123] = t53;
649
715
  } else {
650
- t46 = $[109];
716
+ t53 = $[123];
651
717
  }
652
- const t47 = showGenderFilter ? SectionTypes.view : SectionTypes.hidden;
653
- const t48 = genderLabel.toLowerCase();
654
- let t49;
655
- if ($[110] !== t48) {
656
- t49 = {
718
+ const t54 = showGenderFilter ? SectionTypes.view : SectionTypes.hidden;
719
+ const t55 = genderLabel.toLowerCase();
720
+ let t56;
721
+ if ($[124] !== t55) {
722
+ t56 = {
657
723
  children: /*#__PURE__*/_jsxs(Text, {
658
724
  variant: "tertiary",
659
- children: ["This conversation will be automatically updated if any ", t48, " are added or removed from this group."]
725
+ children: ["This conversation will be automatically updated if any ", t55, " are added or removed from this group."]
660
726
  })
661
727
  };
662
- $[110] = t48;
663
- $[111] = t49;
728
+ $[124] = t55;
729
+ $[125] = t56;
664
730
  } else {
665
- t49 = $[111];
731
+ t56 = $[125];
666
732
  }
667
- let t50;
668
- if ($[112] !== styles.sectionInnerGenderNotice || $[113] !== t47 || $[114] !== t49) {
669
- t50 = {
670
- type: t47,
671
- data: t49,
733
+ let t57;
734
+ if ($[126] !== styles.sectionInnerGenderNotice || $[127] !== t54 || $[128] !== t56) {
735
+ t57 = {
736
+ type: t54,
737
+ data: t56,
672
738
  sectionInnerStyle: styles.sectionInnerGenderNotice
673
739
  };
674
- $[112] = styles.sectionInnerGenderNotice;
675
- $[113] = t47;
676
- $[114] = t49;
677
- $[115] = t50;
740
+ $[126] = styles.sectionInnerGenderNotice;
741
+ $[127] = t54;
742
+ $[128] = t56;
743
+ $[129] = t57;
678
744
  } else {
679
- t50 = $[115];
745
+ t57 = $[129];
680
746
  }
681
- const t51 = showAdultRequirementNotice ? SectionTypes.view : SectionTypes.hidden;
682
- let t52;
683
- if ($[116] === Symbol.for("react.memo_cache_sentinel")) {
684
- t52 = {
747
+ const t58 = showAdultRequirementNotice ? SectionTypes.view : SectionTypes.hidden;
748
+ let t59;
749
+ if ($[130] === Symbol.for("react.memo_cache_sentinel")) {
750
+ t59 = {
685
751
  children: /*#__PURE__*/_jsx(AdultRequirementNotice, {})
686
752
  };
687
- $[116] = t52;
753
+ $[130] = t59;
688
754
  } else {
689
- t52 = $[116];
755
+ t59 = $[130];
690
756
  }
691
- let t53;
692
- if ($[117] !== styles.sectionInnerNotice || $[118] !== t51) {
693
- t53 = {
694
- type: t51,
695
- data: t52,
757
+ let t60;
758
+ if ($[131] !== styles.sectionInnerNotice || $[132] !== t58) {
759
+ t60 = {
760
+ type: t58,
761
+ data: t59,
696
762
  sectionInnerStyle: styles.sectionInnerNotice
697
763
  };
698
- $[117] = styles.sectionInnerNotice;
699
- $[118] = t51;
700
- $[119] = t53;
764
+ $[131] = styles.sectionInnerNotice;
765
+ $[132] = t58;
766
+ $[133] = t60;
701
767
  } else {
702
- t53 = $[119];
768
+ t60 = $[133];
703
769
  }
704
- const t54 = hasChildren && isLeader ? SectionTypes.view : SectionTypes.hidden;
705
- let t55;
706
- if ($[120] !== childMembers) {
707
- t55 = {
770
+ const t61 = hasChildren && isLeader ? SectionTypes.view : SectionTypes.hidden;
771
+ let t62;
772
+ if ($[134] !== childMembers) {
773
+ t62 = {
708
774
  children: /*#__PURE__*/_jsx(ChildNotice, {
709
775
  childMembers: childMembers
710
776
  })
711
777
  };
712
- $[120] = childMembers;
713
- $[121] = t55;
778
+ $[134] = childMembers;
779
+ $[135] = t62;
714
780
  } else {
715
- t55 = $[121];
781
+ t62 = $[135];
716
782
  }
717
- let t56;
718
- if ($[122] !== styles.sectionInnerNotice || $[123] !== t54 || $[124] !== t55) {
719
- t56 = {
720
- type: t54,
721
- data: t55,
783
+ let t63;
784
+ if ($[136] !== styles.sectionInnerNotice || $[137] !== t61 || $[138] !== t62) {
785
+ t63 = {
786
+ type: t61,
787
+ data: t62,
722
788
  sectionInnerStyle: styles.sectionInnerNotice
723
789
  };
724
- $[122] = styles.sectionInnerNotice;
725
- $[123] = t54;
726
- $[124] = t55;
727
- $[125] = t56;
728
- } else {
729
- t56 = $[125];
730
- }
731
- const listData = [t20, t22, t24, t26, t27, t31, t34, t37, t40, t43, t46, t50, t53, t56, ...memberItems, ...loadingMemberItems].filter(_temp5);
732
- let t57;
733
- if ($[126] !== listData) {
734
- t57 = listData.map(_temp6).filter(isDefined);
735
- $[126] = listData;
736
- $[127] = t57;
737
- } else {
738
- t57 = $[127];
739
- }
740
- const headerIndices = t57;
741
- const t58 = listData;
742
- let t59;
743
- if ($[128] !== headerIndices || $[129] !== listData.length || $[130] !== styles.sectionHeaderRow) {
744
- t59 = t60 => {
790
+ $[136] = styles.sectionInnerNotice;
791
+ $[137] = t61;
792
+ $[138] = t62;
793
+ $[139] = t63;
794
+ } else {
795
+ t63 = $[139];
796
+ }
797
+ const listData = [t22, t24, t26, t28, t29, t33, t38, t41, t44, t47, t50, t53, t57, t60, t63, ...memberItems, ...loadingMemberItems].filter(_temp5);
798
+ let t64;
799
+ if ($[140] !== listData) {
800
+ t64 = listData.map(_temp6).filter(isDefined);
801
+ $[140] = listData;
802
+ $[141] = t64;
803
+ } else {
804
+ t64 = $[141];
805
+ }
806
+ const headerIndices = t64;
807
+ const t65 = listData;
808
+ let t66;
809
+ if ($[142] !== headerIndices || $[143] !== listData.length || $[144] !== styles.sectionHeaderRow) {
810
+ t66 = t67 => {
745
811
  const {
746
812
  item: item_0,
747
813
  index: index_1
748
- } = t60;
814
+ } = t67;
749
815
  const [isStart, isEnd] = [index_1 === 0 || headerIndices.includes(index_1), index_1 === listData.length - 1 || headerIndices.includes(index_1 + 1)];
750
816
  switch (item_0.type) {
751
817
  case SectionTypes.header:
@@ -842,51 +908,51 @@ export function ConversationDetailsScreen(t0) {
842
908
  }
843
909
  }
844
910
  };
845
- $[128] = headerIndices;
846
- $[129] = listData.length;
847
- $[130] = styles.sectionHeaderRow;
848
- $[131] = t59;
911
+ $[142] = headerIndices;
912
+ $[143] = listData.length;
913
+ $[144] = styles.sectionHeaderRow;
914
+ $[145] = t66;
849
915
  } else {
850
- t59 = $[131];
916
+ t66 = $[145];
851
917
  }
852
- let t60;
853
- if ($[132] !== fetchNextPageOfMembers) {
854
- t60 = () => fetchNextPageOfMembers();
855
- $[132] = fetchNextPageOfMembers;
856
- $[133] = t60;
918
+ let t67;
919
+ if ($[146] !== fetchNextPageOfMembers) {
920
+ t67 = () => fetchNextPageOfMembers();
921
+ $[146] = fetchNextPageOfMembers;
922
+ $[147] = t67;
857
923
  } else {
858
- t60 = $[133];
924
+ t67 = $[147];
859
925
  }
860
- let t61;
861
- if ($[134] !== styles.contentContainer || $[135] !== t58 || $[136] !== t59 || $[137] !== t60) {
862
- t61 = /*#__PURE__*/_jsx(FlatList, {
926
+ let t68;
927
+ if ($[148] !== styles.contentContainer || $[149] !== t65 || $[150] !== t66 || $[151] !== t67) {
928
+ t68 = /*#__PURE__*/_jsx(FlatList, {
863
929
  contentInsetAdjustmentBehavior: "automatic",
864
- data: t58,
930
+ data: t65,
865
931
  contentContainerStyle: styles.contentContainer,
866
- renderItem: t59,
867
- onEndReached: t60
932
+ renderItem: t66,
933
+ onEndReached: t67
868
934
  });
869
- $[134] = styles.contentContainer;
870
- $[135] = t58;
871
- $[136] = t59;
872
- $[137] = t60;
873
- $[138] = t61;
935
+ $[148] = styles.contentContainer;
936
+ $[149] = t65;
937
+ $[150] = t66;
938
+ $[151] = t67;
939
+ $[152] = t68;
874
940
  } else {
875
- t61 = $[138];
941
+ t68 = $[152];
876
942
  }
877
- let t62;
878
- if ($[139] !== styles.listContainer || $[140] !== t61) {
879
- t62 = /*#__PURE__*/_jsx(View, {
943
+ let t69;
944
+ if ($[153] !== styles.listContainer || $[154] !== t68) {
945
+ t69 = /*#__PURE__*/_jsx(View, {
880
946
  style: styles.listContainer,
881
- children: t61
947
+ children: t68
882
948
  });
883
- $[139] = styles.listContainer;
884
- $[140] = t61;
885
- $[141] = t62;
949
+ $[153] = styles.listContainer;
950
+ $[154] = t68;
951
+ $[155] = t69;
886
952
  } else {
887
- t62 = $[141];
953
+ t69 = $[155];
888
954
  }
889
- return t62;
955
+ return t69;
890
956
  }
891
957
  function _temp6(t0, index_0) {
892
958
  const {