@planningcenter/chat-react-native 4.4.0-rc.7 → 4.4.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 (339) hide show
  1. package/build/components/conversation/jump_to_bottom_button.d.ts.map +1 -1
  2. package/build/components/conversation/jump_to_bottom_button.js +42 -40
  3. package/build/components/conversation/jump_to_bottom_button.js.map +1 -1
  4. package/build/components/conversation/message.d.ts +2 -1
  5. package/build/components/conversation/message.d.ts.map +1 -1
  6. package/build/components/conversation/message.js +3 -1
  7. package/build/components/conversation/message.js.map +1 -1
  8. package/build/components/conversation/message_form.d.ts.map +1 -1
  9. package/build/components/conversation/message_form.js +3 -1
  10. package/build/components/conversation/message_form.js.map +1 -1
  11. package/build/components/conversation/message_list.d.ts.map +1 -1
  12. package/build/components/conversation/message_list.js +35 -31
  13. package/build/components/conversation/message_list.js.map +1 -1
  14. package/build/components/conversation/message_reaction.d.ts +2 -1
  15. package/build/components/conversation/message_reaction.d.ts.map +1 -1
  16. package/build/components/conversation/message_reaction.js +67 -60
  17. package/build/components/conversation/message_reaction.js.map +1 -1
  18. package/build/components/conversation/messages_disabled_banners.d.ts +7 -5
  19. package/build/components/conversation/messages_disabled_banners.d.ts.map +1 -1
  20. package/build/components/conversation/messages_disabled_banners.js +15 -14
  21. package/build/components/conversation/messages_disabled_banners.js.map +1 -1
  22. package/build/components/conversation/system_message.d.ts +2 -1
  23. package/build/components/conversation/system_message.d.ts.map +1 -1
  24. package/build/components/conversation/system_message.js +133 -100
  25. package/build/components/conversation/system_message.js.map +1 -1
  26. package/build/components/conversations/archived_results_footer.d.ts +6 -0
  27. package/build/components/conversations/archived_results_footer.d.ts.map +1 -0
  28. package/build/components/conversations/archived_results_footer.js +51 -0
  29. package/build/components/conversations/archived_results_footer.js.map +1 -0
  30. package/build/components/conversations/conversation_actions.d.ts.map +1 -1
  31. package/build/components/conversations/conversation_actions.js +241 -206
  32. package/build/components/conversations/conversation_actions.js.map +1 -1
  33. package/build/components/conversations/conversation_preview.d.ts.map +1 -1
  34. package/build/components/conversations/conversation_preview.js +102 -93
  35. package/build/components/conversations/conversation_preview.js.map +1 -1
  36. package/build/components/conversations/conversations.d.ts.map +1 -1
  37. package/build/components/conversations/conversations.js +66 -41
  38. package/build/components/conversations/conversations.js.map +1 -1
  39. package/build/components/conversations/conversations_blank_state.d.ts.map +1 -1
  40. package/build/components/conversations/conversations_blank_state.js +55 -12
  41. package/build/components/conversations/conversations_blank_state.js.map +1 -1
  42. package/build/components/conversations/filtered_results_footer.d.ts +2 -0
  43. package/build/components/conversations/filtered_results_footer.d.ts.map +1 -0
  44. package/build/components/conversations/filtered_results_footer.js +77 -0
  45. package/build/components/conversations/filtered_results_footer.js.map +1 -0
  46. package/build/components/display/action_button.d.ts.map +1 -1
  47. package/build/components/display/action_button.js +18 -16
  48. package/build/components/display/action_button.js.map +1 -1
  49. package/build/components/display/filter_dropdown.d.ts +14 -0
  50. package/build/components/display/filter_dropdown.d.ts.map +1 -0
  51. package/build/components/display/filter_dropdown.js +193 -0
  52. package/build/components/display/filter_dropdown.js.map +1 -0
  53. package/build/components/display/icon_tile.d.ts +13 -0
  54. package/build/components/display/icon_tile.d.ts.map +1 -0
  55. package/build/components/display/icon_tile.js +149 -0
  56. package/build/components/display/icon_tile.js.map +1 -0
  57. package/build/components/display/index.d.ts +2 -0
  58. package/build/components/display/index.d.ts.map +1 -1
  59. package/build/components/display/index.js +2 -0
  60. package/build/components/display/index.js.map +1 -1
  61. package/build/contexts/api_provider.d.ts.map +1 -1
  62. package/build/contexts/api_provider.js +21 -9
  63. package/build/contexts/api_provider.js.map +1 -1
  64. package/build/contexts/conversations_context.d.ts.map +1 -1
  65. package/build/contexts/conversations_context.js +21 -18
  66. package/build/contexts/conversations_context.js.map +1 -1
  67. package/build/hooks/groups/use_group_members_for_new_conversation.d.ts +196 -16
  68. package/build/hooks/groups/use_group_members_for_new_conversation.d.ts.map +1 -1
  69. package/build/hooks/groups/use_group_members_for_new_conversation.js +72 -58
  70. package/build/hooks/groups/use_group_members_for_new_conversation.js.map +1 -1
  71. package/build/hooks/index.d.ts +3 -0
  72. package/build/hooks/index.d.ts.map +1 -1
  73. package/build/hooks/index.js +3 -0
  74. package/build/hooks/index.js.map +1 -1
  75. package/build/hooks/use_animated_message_background_color.d.ts.map +1 -1
  76. package/build/hooks/use_animated_message_background_color.js +5 -3
  77. package/build/hooks/use_animated_message_background_color.js.map +1 -1
  78. package/build/hooks/use_api.d.ts +3 -2
  79. package/build/hooks/use_api.d.ts.map +1 -1
  80. package/build/hooks/use_api.js.map +1 -1
  81. package/build/hooks/use_can_browse_archived_conversations.d.ts +2 -0
  82. package/build/hooks/use_can_browse_archived_conversations.d.ts.map +1 -0
  83. package/build/hooks/use_can_browse_archived_conversations.js +29 -0
  84. package/build/hooks/use_can_browse_archived_conversations.js.map +1 -0
  85. package/build/hooks/use_clear_conversation_filters.d.ts +2 -0
  86. package/build/hooks/use_clear_conversation_filters.d.ts.map +1 -0
  87. package/build/hooks/use_clear_conversation_filters.js +25 -0
  88. package/build/hooks/use_clear_conversation_filters.js.map +1 -0
  89. package/build/hooks/use_conversation.d.ts +73 -1
  90. package/build/hooks/use_conversation.d.ts.map +1 -1
  91. package/build/hooks/use_conversation.js +130 -3
  92. package/build/hooks/use_conversation.js.map +1 -1
  93. package/build/hooks/use_conversation_messages.d.ts.map +1 -1
  94. package/build/hooks/use_conversation_messages.js +29 -26
  95. package/build/hooks/use_conversation_messages.js.map +1 -1
  96. package/build/hooks/use_current_person.d.ts.map +1 -1
  97. package/build/hooks/use_current_person.js +1 -1
  98. package/build/hooks/use_current_person.js.map +1 -1
  99. package/build/hooks/use_jolt.d.ts +1 -0
  100. package/build/hooks/use_jolt.d.ts.map +1 -1
  101. package/build/hooks/use_jolt.js +59 -0
  102. package/build/hooks/use_jolt.js.map +1 -1
  103. package/build/hooks/use_manual_archiving_enabled.d.ts +2 -0
  104. package/build/hooks/use_manual_archiving_enabled.d.ts.map +1 -0
  105. package/build/hooks/use_manual_archiving_enabled.js +18 -0
  106. package/build/hooks/use_manual_archiving_enabled.js.map +1 -0
  107. package/build/hooks/use_mark_latest_message_read.d.ts.map +1 -1
  108. package/build/hooks/use_mark_latest_message_read.js +3 -3
  109. package/build/hooks/use_mark_latest_message_read.js.map +1 -1
  110. package/build/hooks/use_reduce_motion.d.ts +2 -0
  111. package/build/hooks/use_reduce_motion.d.ts.map +1 -0
  112. package/build/hooks/use_reduce_motion.js +28 -0
  113. package/build/hooks/use_reduce_motion.js.map +1 -0
  114. package/build/hooks/use_unarchive_conversation_action.d.ts +7 -0
  115. package/build/hooks/use_unarchive_conversation_action.d.ts.map +1 -0
  116. package/build/hooks/use_unarchive_conversation_action.js +52 -0
  117. package/build/hooks/use_unarchive_conversation_action.js.map +1 -0
  118. package/build/screens/attachment_actions/attachment_actions_screen.d.ts.map +1 -1
  119. package/build/screens/attachment_actions/attachment_actions_screen.js +84 -61
  120. package/build/screens/attachment_actions/attachment_actions_screen.js.map +1 -1
  121. package/build/screens/conversation_details_screen.d.ts.map +1 -1
  122. package/build/screens/conversation_details_screen.js +490 -395
  123. package/build/screens/conversation_details_screen.js.map +1 -1
  124. package/build/screens/conversation_filters/components/conversation_filters.d.ts.map +1 -1
  125. package/build/screens/conversation_filters/components/conversation_filters.js +88 -18
  126. package/build/screens/conversation_filters/components/conversation_filters.js.map +1 -1
  127. package/build/screens/conversation_filters/components/rows.d.ts +9 -0
  128. package/build/screens/conversation_filters/components/rows.d.ts.map +1 -1
  129. package/build/screens/conversation_filters/components/rows.js +93 -1
  130. package/build/screens/conversation_filters/components/rows.js.map +1 -1
  131. package/build/screens/conversation_filters/context/conversation_filter_context.d.ts.map +1 -1
  132. package/build/screens/conversation_filters/context/conversation_filter_context.js +8 -4
  133. package/build/screens/conversation_filters/context/conversation_filter_context.js.map +1 -1
  134. package/build/screens/conversation_filters/filter_types.d.ts +1 -0
  135. package/build/screens/conversation_filters/filter_types.d.ts.map +1 -1
  136. package/build/screens/conversation_filters/filter_types.js +1 -0
  137. package/build/screens/conversation_filters/filter_types.js.map +1 -1
  138. package/build/screens/conversation_filters/screen_props.d.ts +1 -0
  139. package/build/screens/conversation_filters/screen_props.d.ts.map +1 -1
  140. package/build/screens/conversation_filters/screen_props.js.map +1 -1
  141. package/build/screens/conversation_filters_screen.d.ts +1 -0
  142. package/build/screens/conversation_filters_screen.d.ts.map +1 -1
  143. package/build/screens/conversation_filters_screen.js +79 -48
  144. package/build/screens/conversation_filters_screen.js.map +1 -1
  145. package/build/screens/conversation_new/components/groups_form.d.ts.map +1 -1
  146. package/build/screens/conversation_new/components/groups_form.js +37 -34
  147. package/build/screens/conversation_new/components/groups_form.js.map +1 -1
  148. package/build/screens/conversation_screen.d.ts.map +1 -1
  149. package/build/screens/conversation_screen.js +13 -10
  150. package/build/screens/conversation_screen.js.map +1 -1
  151. package/build/screens/conversations/components/filter_dropdown_list_header_component.d.ts +2 -0
  152. package/build/screens/conversations/components/filter_dropdown_list_header_component.d.ts.map +1 -0
  153. package/build/screens/conversations/components/filter_dropdown_list_header_component.js +580 -0
  154. package/build/screens/conversations/components/filter_dropdown_list_header_component.js.map +1 -0
  155. package/build/screens/conversations/components/list_header_component.d.ts.map +1 -1
  156. package/build/screens/conversations/components/list_header_component.js +95 -90
  157. package/build/screens/conversations/components/list_header_component.js.map +1 -1
  158. package/build/screens/conversations/components/search_list_header_component.d.ts.map +1 -1
  159. package/build/screens/conversations/components/search_list_header_component.js +100 -95
  160. package/build/screens/conversations/components/search_list_header_component.js.map +1 -1
  161. package/build/screens/conversations/conversations_screen.d.ts +1 -0
  162. package/build/screens/conversations/conversations_screen.d.ts.map +1 -1
  163. package/build/screens/conversations/conversations_screen.js +15 -2
  164. package/build/screens/conversations/conversations_screen.js.map +1 -1
  165. package/build/screens/design_system_screen.d.ts.map +1 -1
  166. package/build/screens/design_system_screen.js +275 -215
  167. package/build/screens/design_system_screen.js.map +1 -1
  168. package/build/screens/message_actions_screen.d.ts.map +1 -1
  169. package/build/screens/message_actions_screen.js +112 -92
  170. package/build/screens/message_actions_screen.js.map +1 -1
  171. package/build/screens/search/search_screen.d.ts.map +1 -1
  172. package/build/screens/search/search_screen.js +10 -2
  173. package/build/screens/search/search_screen.js.map +1 -1
  174. package/build/screens/send_giphy_screen.d.ts +1 -0
  175. package/build/screens/send_giphy_screen.d.ts.map +1 -1
  176. package/build/screens/send_giphy_screen.js +108 -106
  177. package/build/screens/send_giphy_screen.js.map +1 -1
  178. package/build/screens/team_conversation_screen.js +1 -1
  179. package/build/screens/team_conversation_screen.js.map +1 -1
  180. package/build/types/jolt_events/message_events.d.ts +2 -0
  181. package/build/types/jolt_events/message_events.d.ts.map +1 -1
  182. package/build/types/jolt_events/message_events.js.map +1 -1
  183. package/build/types/resources/conversation.d.ts +2 -2
  184. package/build/types/resources/conversation.d.ts.map +1 -1
  185. package/build/types/resources/conversation.js.map +1 -1
  186. package/build/types/resources/member_ability.d.ts +2 -0
  187. package/build/types/resources/member_ability.d.ts.map +1 -1
  188. package/build/types/resources/member_ability.js.map +1 -1
  189. package/build/types/resources/message.d.ts +2 -0
  190. package/build/types/resources/message.d.ts.map +1 -1
  191. package/build/types/resources/message.js.map +1 -1
  192. package/build/types/resources/person.d.ts +1 -0
  193. package/build/types/resources/person.d.ts.map +1 -1
  194. package/build/types/resources/person.js.map +1 -1
  195. package/build/utils/archived_conversation.d.ts +5 -0
  196. package/build/utils/archived_conversation.d.ts.map +1 -0
  197. package/build/utils/archived_conversation.js +5 -0
  198. package/build/utils/archived_conversation.js.map +1 -0
  199. package/build/utils/date.d.ts +1 -0
  200. package/build/utils/date.d.ts.map +1 -1
  201. package/build/utils/date.js +9 -0
  202. package/build/utils/date.js.map +1 -1
  203. package/build/utils/index.d.ts +1 -0
  204. package/build/utils/index.d.ts.map +1 -1
  205. package/build/utils/index.js +1 -0
  206. package/build/utils/index.js.map +1 -1
  207. package/build/utils/jolt/transform_message_event_data_to_message_resource.d.ts.map +1 -1
  208. package/build/utils/jolt/transform_message_event_data_to_message_resource.js +2 -1
  209. package/build/utils/jolt/transform_message_event_data_to_message_resource.js.map +1 -1
  210. package/build/utils/native_adapters/configuration.d.ts +3 -0
  211. package/build/utils/native_adapters/configuration.d.ts.map +1 -1
  212. package/build/utils/native_adapters/configuration.js +3 -0
  213. package/build/utils/native_adapters/configuration.js.map +1 -1
  214. package/build/utils/native_adapters/index.d.ts +1 -0
  215. package/build/utils/native_adapters/index.d.ts.map +1 -1
  216. package/build/utils/native_adapters/index.js +1 -0
  217. package/build/utils/native_adapters/index.js.map +1 -1
  218. package/build/utils/native_adapters/menu.d.ts +41 -0
  219. package/build/utils/native_adapters/menu.d.ts.map +1 -0
  220. package/build/utils/native_adapters/menu.js +56 -0
  221. package/build/utils/native_adapters/menu.js.map +1 -0
  222. package/build/utils/request/conversation.d.ts +2 -1
  223. package/build/utils/request/conversation.d.ts.map +1 -1
  224. package/build/utils/request/conversation.js +4 -1
  225. package/build/utils/request/conversation.js.map +1 -1
  226. package/build/utils/request/messages_data_options.d.ts.map +1 -1
  227. package/build/utils/request/messages_data_options.js +1 -1
  228. package/build/utils/request/messages_data_options.js.map +1 -1
  229. package/build/utils/system_messages.d.ts +7 -5
  230. package/build/utils/system_messages.d.ts.map +1 -1
  231. package/build/utils/system_messages.js +10 -2
  232. package/build/utils/system_messages.js.map +1 -1
  233. package/build/vendor/font_awesome_pro_solid_icons.d.ts +1 -0
  234. package/build/vendor/font_awesome_pro_solid_icons.d.ts.map +1 -1
  235. package/build/vendor/font_awesome_pro_solid_icons.js +5 -0
  236. package/build/vendor/font_awesome_pro_solid_icons.js.map +1 -1
  237. package/package.json +3 -3
  238. package/src/__tests__/hooks/use_can_browse_archived_conversations.test.tsx +98 -0
  239. package/src/__tests__/screens/conversation_filters/components/conversation_filters.test.tsx +132 -0
  240. package/src/__tests__/screens/conversation_filters_screen.test.tsx +76 -0
  241. package/src/__tests__/screens/conversation_new/components/services_form.test.tsx +1 -0
  242. package/src/__tests__/screens/message_actions_screen.test.tsx +65 -2
  243. package/src/__tests__/screens/send_giphy_screen.test.tsx +102 -0
  244. package/src/__tests__/utils/system_messages.ts +19 -32
  245. package/src/components/conversation/__tests__/message_list.test.tsx +68 -2
  246. package/src/components/conversation/__tests__/system_message.test.tsx +106 -0
  247. package/src/components/conversation/jump_to_bottom_button.tsx +4 -3
  248. package/src/components/conversation/message.tsx +3 -0
  249. package/src/components/conversation/message_form.tsx +3 -1
  250. package/src/components/conversation/message_list.tsx +9 -1
  251. package/src/components/conversation/message_reaction.tsx +7 -2
  252. package/src/components/conversation/messages_disabled_banners.tsx +17 -18
  253. package/src/components/conversation/system_message.tsx +44 -16
  254. package/src/components/conversations/__tests__/conversation_actions.test.tsx +67 -0
  255. package/src/components/conversations/__tests__/conversation_preview.test.tsx +105 -0
  256. package/src/components/conversations/__tests__/conversations.test.tsx +93 -0
  257. package/src/components/conversations/__tests__/conversations_blank_state.test.tsx +73 -0
  258. package/src/components/conversations/archived_results_footer.tsx +36 -0
  259. package/src/components/conversations/conversation_actions.tsx +27 -19
  260. package/src/components/conversations/conversation_preview.tsx +39 -10
  261. package/src/components/conversations/conversations.tsx +26 -3
  262. package/src/components/conversations/conversations_blank_state.tsx +21 -0
  263. package/src/components/conversations/filtered_results_footer.tsx +38 -0
  264. package/src/components/display/__tests__/filter_dropdown.test.tsx +114 -0
  265. package/src/components/display/__tests__/icon_tile.test.tsx +16 -0
  266. package/src/components/display/action_button.tsx +4 -3
  267. package/src/components/display/filter_dropdown.tsx +124 -0
  268. package/src/components/display/icon_tile.tsx +67 -0
  269. package/src/components/display/index.ts +2 -0
  270. package/src/contexts/api_provider.tsx +8 -0
  271. package/src/contexts/conversations_context.tsx +2 -1
  272. package/src/hooks/__tests__/use_conversation_archive.test.tsx +152 -0
  273. package/src/hooks/__tests__/use_conversation_jolt_events.test.tsx +74 -0
  274. package/src/hooks/__tests__/use_conversation_messages.test.tsx +10 -2
  275. package/src/hooks/__tests__/use_jolt.test.tsx +100 -1
  276. package/src/hooks/__tests__/use_mark_latest_message_read.test.tsx +21 -7
  277. package/src/hooks/__tests__/use_reduce_motion.test.tsx +61 -0
  278. package/src/hooks/__tests__/use_unarchive_conversation_action.test.tsx +67 -0
  279. package/src/hooks/groups/use_group_members_for_new_conversation.ts +21 -16
  280. package/src/hooks/index.ts +3 -0
  281. package/src/hooks/use_animated_message_background_color.ts +6 -3
  282. package/src/hooks/use_api.ts +9 -2
  283. package/src/hooks/use_can_browse_archived_conversations.ts +17 -0
  284. package/src/hooks/use_clear_conversation_filters.ts +16 -0
  285. package/src/hooks/use_conversation.ts +44 -3
  286. package/src/hooks/use_conversation_messages.ts +7 -5
  287. package/src/hooks/use_current_person.ts +1 -0
  288. package/src/hooks/use_jolt.ts +57 -1
  289. package/src/hooks/use_manual_archiving_enabled.ts +10 -0
  290. package/src/hooks/use_mark_latest_message_read.ts +4 -3
  291. package/src/hooks/use_reduce_motion.ts +19 -0
  292. package/src/hooks/use_unarchive_conversation_action.ts +24 -0
  293. package/src/screens/__tests__/conversation_details_screen.test.tsx +305 -0
  294. package/src/screens/attachment_actions/__tests__/attachment_actions_screen.test.tsx +72 -0
  295. package/src/screens/attachment_actions/attachment_actions_screen.tsx +3 -1
  296. package/src/screens/conversation_details_screen.tsx +80 -16
  297. package/src/screens/conversation_filters/__tests__/conversation_filters.test.tsx +101 -0
  298. package/src/screens/conversation_filters/components/conversation_filters.tsx +40 -7
  299. package/src/screens/conversation_filters/components/rows.tsx +29 -1
  300. package/src/screens/conversation_filters/context/conversation_filter_context.tsx +4 -0
  301. package/src/screens/conversation_filters/filter_types.ts +1 -0
  302. package/src/screens/conversation_filters/screen_props.ts +1 -0
  303. package/src/screens/conversation_filters_screen.tsx +25 -5
  304. package/src/screens/conversation_new/components/groups_form.tsx +1 -0
  305. package/src/screens/conversation_screen.tsx +4 -2
  306. package/src/screens/conversations/__tests__/conversations_screen.test.tsx +52 -0
  307. package/src/screens/conversations/components/__tests__/filter_dropdown_list_header_component.test.tsx +259 -0
  308. package/src/screens/conversations/components/__tests__/list_header_component.test.tsx +21 -4
  309. package/src/screens/conversations/components/filter_dropdown_list_header_component.tsx +286 -0
  310. package/src/screens/conversations/components/list_header_component.tsx +17 -12
  311. package/src/screens/conversations/components/search_list_header_component.tsx +17 -12
  312. package/src/screens/conversations/conversations_screen.tsx +15 -2
  313. package/src/screens/design_system_screen.tsx +26 -0
  314. package/src/screens/message_actions_screen.tsx +29 -20
  315. package/src/screens/search/__tests__/search_screen.test.tsx +13 -1
  316. package/src/screens/search/search_screen.tsx +8 -2
  317. package/src/screens/send_giphy_screen.tsx +6 -3
  318. package/src/screens/team_conversation_screen.tsx +1 -1
  319. package/src/types/jolt_events/message_events.ts +2 -0
  320. package/src/types/resources/conversation.ts +2 -2
  321. package/src/types/resources/member_ability.ts +2 -0
  322. package/src/types/resources/message.ts +3 -0
  323. package/src/types/resources/person.ts +1 -0
  324. package/src/utils/__tests__/conversation.test.ts +1 -0
  325. package/src/utils/__tests__/date.test.ts +23 -0
  326. package/src/utils/__tests__/group_messages.test.ts +1 -0
  327. package/src/utils/archived_conversation.ts +13 -0
  328. package/src/utils/date.ts +8 -0
  329. package/src/utils/index.ts +1 -0
  330. package/src/utils/jolt/__tests__/transform_message_event_data_to_message_resource.test.ts +35 -0
  331. package/src/utils/jolt/transform_message_event_data_to_message_resource.ts +1 -0
  332. package/src/utils/native_adapters/__tests__/menu.test.tsx +46 -0
  333. package/src/utils/native_adapters/configuration.ts +5 -0
  334. package/src/utils/native_adapters/index.ts +1 -0
  335. package/src/utils/native_adapters/menu.tsx +70 -0
  336. package/src/utils/request/conversation.ts +4 -0
  337. package/src/utils/request/messages_data_options.ts +1 -0
  338. package/src/utils/system_messages.ts +19 -10
  339. package/src/vendor/font_awesome_pro_solid_icons.ts +12 -0
@@ -7,17 +7,20 @@ import { AdultRequirementNotice, Badge, Button, ChildNotice, Heading, Icon, Pers
7
7
  import { ConversationAvatar } from '../components/display/conversation_avatar';
8
8
  import { useHeaderRight } from '../components/display/platform_modal_header_buttons';
9
9
  import { useSuspensePaginator, useTheme } from '../hooks';
10
- import { useConversation, useConversationDelete, useConversationDisableReplies, useConversationMute, useConversationUpdate } from '../hooks/use_conversation';
10
+ import { useConversation, useConversationArchive, useConversationDelete, useConversationDisableReplies, useConversationMute, useConversationUpdate } from '../hooks/use_conversation';
11
11
  import { availableFeatures, useFeatures } from '../hooks/use_features';
12
+ import { useManualArchivingEnabled } from '../hooks/use_manual_archiving_enabled';
12
13
  import { usePreviewAvatarDiameter } from '../hooks/use_preview_avatar_diameter';
14
+ import { useUnarchiveConversationAction } from '../hooks/use_unarchive_conversation_action';
13
15
  import { isDefined } from '../types';
14
16
  import { MAX_FONT_SIZE_MULTIPLIER_LANDMARK } from '../utils';
17
+ import { archivedConversationMessage, isArchivedConversation } from '../utils/archived_conversation';
15
18
  import { genderDisplayLabel } from '../utils/gender_display_label';
16
19
  import { tokens } from '../vendor/tapestry/tokens';
17
20
  // =========================================
18
21
  // ====== Factory Constants & Types ========
19
22
  // =========================================
20
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
23
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
21
24
  var SectionTypes = /*#__PURE__*/function (SectionTypes) {
22
25
  SectionTypes[SectionTypes["header"] = 0] = "header";
23
26
  SectionTypes[SectionTypes["hidden"] = 1] = "hidden";
@@ -31,7 +34,7 @@ var SectionTypes = /*#__PURE__*/function (SectionTypes) {
31
34
  // ====== Components ===============
32
35
  // =================================
33
36
  export function ConversationDetailsScreen(t0) {
34
- const $ = _c(127);
37
+ const $ = _c(142);
35
38
  const {
36
39
  route
37
40
  } = t0;
@@ -40,7 +43,7 @@ export function ConversationDetailsScreen(t0) {
40
43
  const {
41
44
  data: conversation
42
45
  } = useConversation(route.params);
43
- const [title, setTitle] = useState(conversation.title);
46
+ const [title, setTitle] = useState(conversation.title ?? "");
44
47
  const {
45
48
  conversation_id
46
49
  } = route.params;
@@ -54,6 +57,11 @@ export function ConversationDetailsScreen(t0) {
54
57
  const {
55
58
  mutate: deleteConversation
56
59
  } = useConversationDelete(route.params);
60
+ const {
61
+ setArchived,
62
+ isPending: isArchiving
63
+ } = useConversationArchive(route.params);
64
+ const unarchiveAction = useUnarchiveConversationAction(conversation);
57
65
  const {
58
66
  featureEnabled
59
67
  } = useFeatures();
@@ -67,6 +75,7 @@ export function ConversationDetailsScreen(t0) {
67
75
  }
68
76
  const granularNotificationsEnabled = t1;
69
77
  const customAvatarsEnabled = featureEnabled(availableFeatures.custom_conversation_avatars);
78
+ const manualArchivingEnabled = useManualArchivingEnabled();
70
79
  const showGenderFilter = featureEnabled(availableFeatures.gender_specific_conversations) && !!conversation.genderOption;
71
80
  const genderLabel = conversation.genderOption ? genderDisplayLabel(conversation.genderOption) : "";
72
81
  let t2;
@@ -92,42 +101,53 @@ export function ConversationDetailsScreen(t0) {
92
101
  t3 = $[5];
93
102
  }
94
103
  const trimmedTitle = t3;
95
- const emptyTitle = trimmedTitle === "" || title === null;
104
+ const emptyTitle = trimmedTitle === "";
96
105
  const notificationLevelDescription = conversation?.conversationMembership?.notificationLevelDescription;
106
+ let t4;
107
+ if ($[6] !== conversation) {
108
+ t4 = isArchivedConversation(conversation);
109
+ $[6] = conversation;
110
+ $[7] = t4;
111
+ } else {
112
+ t4 = $[7];
113
+ }
114
+ const archived = t4;
97
115
  const canUpdate = conversation.memberAbility?.canUpdate || false;
116
+ const canSaveTitle = canUpdate && !emptyTitle;
98
117
  const canDelete = conversation.memberAbility?.canDelete || false;
118
+ const canArchive = manualArchivingEnabled && (conversation.memberAbility?.canArchive || false);
99
119
  const isLeader = conversation.memberAbility?.leader || false;
100
120
  const isDisabled = conversation.disabled ?? false;
101
121
  const showAdultRequirementNotice = isDisabled && conversation.disabledReason === "safety_check";
102
- const t4 = `/me/conversations/${route.params.conversation_id}/members`;
103
- let t5;
104
- if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
105
- t5 = {
122
+ const t5 = `/me/conversations/${route.params.conversation_id}/members`;
123
+ let t6;
124
+ if ($[8] === Symbol.for("react.memo_cache_sentinel")) {
125
+ t6 = {
106
126
  include: ["person"],
107
127
  fields: {
108
128
  Member: ["avatar", "name", "first_name", "last_name", "child", "badges"]
109
129
  }
110
130
  };
111
- $[6] = t5;
131
+ $[8] = t6;
112
132
  } else {
113
- t5 = $[6];
133
+ t6 = $[8];
114
134
  }
115
- let t6;
116
- if ($[7] !== t4) {
117
- t6 = {
118
- url: t4,
119
- data: t5
135
+ let t7;
136
+ if ($[9] !== t5) {
137
+ t7 = {
138
+ url: t5,
139
+ data: t6
120
140
  };
121
- $[7] = t4;
122
- $[8] = t6;
141
+ $[9] = t5;
142
+ $[10] = t7;
123
143
  } else {
124
- t6 = $[8];
144
+ t7 = $[10];
125
145
  }
126
146
  const {
127
147
  data: members,
128
148
  fetchNextPage: fetchNextPageOfMembers,
129
149
  isFetchingNextPage: isLoadingMembers
130
- } = useSuspensePaginator(t6);
150
+ } = useSuspensePaginator(t7);
131
151
  const memberSectionStyleMap = {
132
152
  first: styles.sectionInnerFirstMember,
133
153
  middle: styles.sectionInnerMiddleMiddle,
@@ -144,47 +164,47 @@ export function ConversationDetailsScreen(t0) {
144
164
  sectionInnerStyle: memberSectionStyle
145
165
  };
146
166
  });
147
- let t7;
148
- if ($[9] !== isLoadingMembers || $[10] !== styles.sectionInnerFirstMember) {
149
- t7 = isLoadingMembers ? [{
167
+ let t8;
168
+ if ($[11] !== isLoadingMembers || $[12] !== styles.sectionInnerFirstMember) {
169
+ t8 = isLoadingMembers ? [{
150
170
  type: SectionTypes.loadingMembers,
151
171
  data: {},
152
172
  sectionInnerStyle: styles.sectionInnerFirstMember
153
173
  }] : [];
154
- $[9] = isLoadingMembers;
155
- $[10] = styles.sectionInnerFirstMember;
156
- $[11] = t7;
157
- } else {
158
- t7 = $[11];
159
- }
160
- const loadingMemberItems = t7;
161
- let t8;
162
- if ($[12] !== members) {
163
- t8 = members.filter(_temp);
164
- $[12] = members;
174
+ $[11] = isLoadingMembers;
175
+ $[12] = styles.sectionInnerFirstMember;
165
176
  $[13] = t8;
166
177
  } else {
167
178
  t8 = $[13];
168
179
  }
169
- const childMembers = t8;
170
- const hasChildren = childMembers.length > 0;
180
+ const loadingMemberItems = t8;
171
181
  let t9;
172
- if ($[14] !== conversation.groups) {
173
- t9 = conversation.groups?.filter(_temp2)?.filter(_temp3)?.filter(_temp4) || [];
174
- $[14] = conversation.groups;
182
+ if ($[14] !== members) {
183
+ t9 = members.filter(_temp);
184
+ $[14] = members;
175
185
  $[15] = t9;
176
186
  } else {
177
187
  t9 = $[15];
178
188
  }
179
- const teamsGroup = t9;
189
+ const childMembers = t9;
190
+ const hasChildren = childMembers.length > 0;
191
+ let t10;
192
+ if ($[16] !== conversation.groups) {
193
+ t10 = conversation.groups?.filter(_temp2)?.filter(_temp3)?.filter(_temp4) || [];
194
+ $[16] = conversation.groups;
195
+ $[17] = t10;
196
+ } else {
197
+ t10 = $[17];
198
+ }
199
+ const teamsGroup = t10;
180
200
  const hasTeams = teamsGroup.length > 0;
181
201
  const badge = conversation.badges?.[0];
182
202
  const resourceType = badge?.pcoResourceType || "";
183
203
  const productName = badge?.appName;
184
204
  const name = badge?.text || undefined;
185
- let t10;
186
- if ($[16] !== deleteConversation || $[17] !== navigation || $[18] !== title) {
187
- t10 = () => {
205
+ let t11;
206
+ if ($[18] !== deleteConversation || $[19] !== navigation || $[20] !== title) {
207
+ t11 = () => {
188
208
  Alert.alert("Delete conversation", `All messages in ${title} will be deleted for everyone. This action cannot be undone.`, [{
189
209
  text: "Cancel",
190
210
  style: "cancel"
@@ -197,17 +217,34 @@ export function ConversationDetailsScreen(t0) {
197
217
  }
198
218
  }]);
199
219
  };
200
- $[16] = deleteConversation;
201
- $[17] = navigation;
202
- $[18] = title;
203
- $[19] = t10;
220
+ $[18] = deleteConversation;
221
+ $[19] = navigation;
222
+ $[20] = title;
223
+ $[21] = t11;
204
224
  } else {
205
- t10 = $[19];
225
+ t11 = $[21];
206
226
  }
207
- const handleDelete = t10;
208
- let t11;
209
- if ($[20] !== name || $[21] !== productName || $[22] !== resourceType || $[23] !== styles.headerTitleBadge || $[24] !== styles.headerTitleContainer) {
210
- t11 = props => /*#__PURE__*/_jsxs(View, {
227
+ const handleDelete = t11;
228
+ let t12;
229
+ if ($[22] !== setArchived) {
230
+ t12 = () => {
231
+ Alert.alert("Archive conversation", "This conversation will be archived for everyone. Only its leaders and creator can open and unarchive it.", [{
232
+ text: "Cancel",
233
+ style: "cancel"
234
+ }, {
235
+ text: "Archive",
236
+ onPress: () => setArchived(true)
237
+ }]);
238
+ };
239
+ $[22] = setArchived;
240
+ $[23] = t12;
241
+ } else {
242
+ t12 = $[23];
243
+ }
244
+ const handleArchive = t12;
245
+ let t13;
246
+ if ($[24] !== name || $[25] !== productName || $[26] !== resourceType || $[27] !== styles.headerTitleBadge || $[28] !== styles.headerTitleContainer) {
247
+ t13 = props => /*#__PURE__*/_jsxs(View, {
211
248
  style: styles.headerTitleContainer,
212
249
  children: [/*#__PURE__*/_jsx(ElementsHeaderTitle, {
213
250
  maxFontSizeMultiplier: 1,
@@ -221,122 +258,124 @@ export function ConversationDetailsScreen(t0) {
221
258
  maxFontSizeMultiplier: 1
222
259
  })]
223
260
  });
224
- $[20] = name;
225
- $[21] = productName;
226
- $[22] = resourceType;
227
- $[23] = styles.headerTitleBadge;
228
- $[24] = styles.headerTitleContainer;
229
- $[25] = t11;
261
+ $[24] = name;
262
+ $[25] = productName;
263
+ $[26] = resourceType;
264
+ $[27] = styles.headerTitleBadge;
265
+ $[28] = styles.headerTitleContainer;
266
+ $[29] = t13;
230
267
  } else {
231
- t11 = $[25];
268
+ t13 = $[29];
232
269
  }
233
- const HeaderTitle = t11;
234
- let t12;
235
- if ($[26] !== conversation.title || $[27] !== navigation || $[28] !== saveTitle || $[29] !== trimmedTitle) {
236
- t12 = {
270
+ const HeaderTitle = t13;
271
+ let t14;
272
+ if ($[30] !== canSaveTitle || $[31] !== navigation || $[32] !== saveTitle || $[33] !== trimmedTitle) {
273
+ t14 = {
237
274
  icon: "general.check",
238
275
  accessibilityLabel: "Done",
239
276
  onPress: () => {
240
- saveTitle({
241
- title: trimmedTitle || conversation.title
242
- });
277
+ if (canSaveTitle) {
278
+ saveTitle({
279
+ title: trimmedTitle
280
+ });
281
+ }
243
282
  navigation.goBack();
244
283
  }
245
284
  };
246
- $[26] = conversation.title;
247
- $[27] = navigation;
248
- $[28] = saveTitle;
249
- $[29] = trimmedTitle;
250
- $[30] = t12;
285
+ $[30] = canSaveTitle;
286
+ $[31] = navigation;
287
+ $[32] = saveTitle;
288
+ $[33] = trimmedTitle;
289
+ $[34] = t14;
251
290
  } else {
252
- t12 = $[30];
291
+ t14 = $[34];
253
292
  }
254
- useHeaderRight(t12);
255
- let t13;
256
- let t14;
257
- if ($[31] !== HeaderTitle || $[32] !== navigation) {
258
- t13 = () => {
293
+ useHeaderRight(t14);
294
+ let t15;
295
+ let t16;
296
+ if ($[35] !== HeaderTitle || $[36] !== navigation) {
297
+ t15 = () => {
259
298
  navigation.setOptions({
260
299
  headerTitle: HeaderTitle
261
300
  });
262
301
  };
263
- t14 = [HeaderTitle, navigation];
264
- $[31] = HeaderTitle;
265
- $[32] = navigation;
266
- $[33] = t13;
267
- $[34] = t14;
302
+ t16 = [HeaderTitle, navigation];
303
+ $[35] = HeaderTitle;
304
+ $[36] = navigation;
305
+ $[37] = t15;
306
+ $[38] = t16;
268
307
  } else {
269
- t13 = $[33];
270
- t14 = $[34];
308
+ t15 = $[37];
309
+ t16 = $[38];
271
310
  }
272
- useEffect(t13, t14);
273
- const t15 = canUpdate && customAvatarsEnabled ? SectionTypes.view : SectionTypes.hidden;
274
- let t16;
275
- if ($[35] !== conversation_id || $[36] !== navigation) {
276
- t16 = () => navigation.navigate("AvatarPicker", {
311
+ useEffect(t15, t16);
312
+ const t17 = canUpdate && customAvatarsEnabled ? SectionTypes.view : SectionTypes.hidden;
313
+ let t18;
314
+ if ($[39] !== conversation_id || $[40] !== navigation) {
315
+ t18 = () => navigation.navigate("AvatarPicker", {
277
316
  conversation_id
278
317
  });
279
- $[35] = conversation_id;
280
- $[36] = navigation;
281
- $[37] = t16;
318
+ $[39] = conversation_id;
319
+ $[40] = navigation;
320
+ $[41] = t18;
282
321
  } else {
283
- t16 = $[37];
322
+ t18 = $[41];
284
323
  }
285
- let t17;
286
- if ($[38] !== conversation || $[39] !== t16) {
287
- t17 = {
324
+ let t19;
325
+ if ($[42] !== conversation || $[43] !== t18) {
326
+ t19 = {
288
327
  children: /*#__PURE__*/_jsx(AvatarCard, {
289
328
  conversation: conversation,
290
- onPress: t16
329
+ onPress: t18
291
330
  })
292
331
  };
293
- $[38] = conversation;
294
- $[39] = t16;
295
- $[40] = t17;
332
+ $[42] = conversation;
333
+ $[43] = t18;
334
+ $[44] = t19;
296
335
  } else {
297
- t17 = $[40];
336
+ t19 = $[44];
298
337
  }
299
- let t18;
300
- if ($[41] !== styles.sectionInnerAvatarCard || $[42] !== styles.sectionOuterAvatarCard || $[43] !== t15 || $[44] !== t17) {
301
- t18 = {
302
- type: t15,
303
- data: t17,
338
+ let t20;
339
+ if ($[45] !== styles.sectionInnerAvatarCard || $[46] !== styles.sectionOuterAvatarCard || $[47] !== t17 || $[48] !== t19) {
340
+ t20 = {
341
+ type: t17,
342
+ data: t19,
304
343
  sectionOuterStyle: styles.sectionOuterAvatarCard,
305
344
  sectionInnerStyle: styles.sectionInnerAvatarCard
306
345
  };
307
- $[41] = styles.sectionInnerAvatarCard;
308
- $[42] = styles.sectionOuterAvatarCard;
309
- $[43] = t15;
310
- $[44] = t17;
311
- $[45] = t18;
346
+ $[45] = styles.sectionInnerAvatarCard;
347
+ $[46] = styles.sectionOuterAvatarCard;
348
+ $[47] = t17;
349
+ $[48] = t19;
350
+ $[49] = t20;
312
351
  } else {
313
- t18 = $[45];
352
+ t20 = $[49];
314
353
  }
315
- let t19;
316
- if ($[46] === Symbol.for("react.memo_cache_sentinel")) {
317
- t19 = {
354
+ let t21;
355
+ if ($[50] === Symbol.for("react.memo_cache_sentinel")) {
356
+ t21 = {
318
357
  title: "Basic info"
319
358
  };
320
- $[46] = t19;
359
+ $[50] = t21;
321
360
  } else {
322
- t19 = $[46];
361
+ t21 = $[50];
323
362
  }
324
- let t20;
325
- if ($[47] !== styles.sectionInnerHeaderWithBottomBorder) {
326
- t20 = {
363
+ let t22;
364
+ if ($[51] !== styles.sectionInnerHeaderWithBottomBorder) {
365
+ t22 = {
327
366
  type: SectionTypes.header,
328
- data: t19,
367
+ data: t21,
329
368
  showBottomBorder: true,
330
369
  sectionInnerStyle: styles.sectionInnerHeaderWithBottomBorder
331
370
  };
332
- $[47] = styles.sectionInnerHeaderWithBottomBorder;
333
- $[48] = t20;
371
+ $[51] = styles.sectionInnerHeaderWithBottomBorder;
372
+ $[52] = t22;
334
373
  } else {
335
- t20 = $[48];
374
+ t22 = $[52];
336
375
  }
337
- let t21;
338
- if ($[49] !== canUpdate || $[50] !== emptyTitle || $[51] !== title) {
339
- t21 = {
376
+ let t23;
377
+ if ($[53] !== canUpdate || $[54] !== emptyTitle || $[55] !== title) {
378
+ t23 = {
340
379
  children: /*#__PURE__*/_jsx(TitleInput, {
341
380
  canUpdate: canUpdate,
342
381
  title: title,
@@ -344,51 +383,69 @@ export function ConversationDetailsScreen(t0) {
344
383
  isEmpty: emptyTitle
345
384
  })
346
385
  };
347
- $[49] = canUpdate;
348
- $[50] = emptyTitle;
349
- $[51] = title;
350
- $[52] = t21;
386
+ $[53] = canUpdate;
387
+ $[54] = emptyTitle;
388
+ $[55] = title;
389
+ $[56] = t23;
351
390
  } else {
352
- t21 = $[52];
391
+ t23 = $[56];
353
392
  }
354
- let t22;
355
- if ($[53] !== styles.sectionInnerTitleInput || $[54] !== t21) {
356
- t22 = {
393
+ let t24;
394
+ if ($[57] !== styles.sectionInnerTitleInput || $[58] !== t23) {
395
+ t24 = {
357
396
  type: SectionTypes.view,
358
- data: t21,
397
+ data: t23,
359
398
  sectionInnerStyle: styles.sectionInnerTitleInput
360
399
  };
361
- $[53] = styles.sectionInnerTitleInput;
362
- $[54] = t21;
363
- $[55] = t22;
400
+ $[57] = styles.sectionInnerTitleInput;
401
+ $[58] = t23;
402
+ $[59] = t24;
364
403
  } else {
365
- t22 = $[55];
404
+ t24 = $[59];
366
405
  }
367
- let t23;
368
- if ($[56] === Symbol.for("react.memo_cache_sentinel")) {
369
- t23 = {
406
+ let t25;
407
+ if ($[60] === Symbol.for("react.memo_cache_sentinel")) {
408
+ t25 = {
370
409
  title: "Settings"
371
410
  };
372
- $[56] = t23;
411
+ $[60] = t25;
373
412
  } else {
374
- t23 = $[56];
413
+ t25 = $[60];
375
414
  }
376
- let t24;
377
- if ($[57] !== styles.sectionInnerHeaderWithBottomBorder) {
378
- t24 = {
415
+ let t26;
416
+ if ($[61] !== styles.sectionInnerHeaderWithBottomBorder) {
417
+ t26 = {
379
418
  type: SectionTypes.header,
380
- data: t23,
419
+ data: t25,
381
420
  showBottomBorder: true,
382
421
  sectionInnerStyle: styles.sectionInnerHeaderWithBottomBorder
383
422
  };
384
- $[57] = styles.sectionInnerHeaderWithBottomBorder;
385
- $[58] = t24;
423
+ $[61] = styles.sectionInnerHeaderWithBottomBorder;
424
+ $[62] = t26;
386
425
  } else {
387
- t24 = $[58];
426
+ t26 = $[62];
388
427
  }
389
- let t25;
390
- if ($[59] !== conversation_id || $[60] !== granularNotificationsEnabled || $[61] !== muted || $[62] !== navigation || $[63] !== notificationLevelDescription || $[64] !== setMuted) {
391
- t25 = granularNotificationsEnabled ? {
428
+ let t27;
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
+ t27 = archived ? {
431
+ type: SectionTypes.view,
432
+ data: {
433
+ children: /*#__PURE__*/_jsxs(_Fragment, {
434
+ children: [/*#__PURE__*/_jsx(Text, {
435
+ variant: "tertiary",
436
+ children: archivedConversationMessage(conversation)
437
+ }), unarchiveAction && /*#__PURE__*/_jsx(Button, {
438
+ variant: "fill",
439
+ size: "lg",
440
+ title: unarchiveAction.label,
441
+ onPress: unarchiveAction.onPress,
442
+ loading: unarchiveAction.loading,
443
+ style: styles.unarchiveButton
444
+ })]
445
+ })
446
+ },
447
+ showBottomBorder: true
448
+ } : granularNotificationsEnabled ? {
392
449
  type: SectionTypes.navigableSetting,
393
450
  data: {
394
451
  title: "Notifications",
@@ -409,253 +466,285 @@ export function ConversationDetailsScreen(t0) {
409
466
  },
410
467
  showBottomBorder: true
411
468
  };
412
- $[59] = conversation_id;
413
- $[60] = granularNotificationsEnabled;
414
- $[61] = muted;
415
- $[62] = navigation;
416
- $[63] = notificationLevelDescription;
417
- $[64] = setMuted;
418
- $[65] = t25;
419
- } else {
420
- t25 = $[65];
421
- }
422
- const t26 = canUpdate ? SectionTypes.setting : SectionTypes.hidden;
423
- let t27;
424
- if ($[66] !== repliesDisabled || $[67] !== setRepliesDisabled) {
425
- t27 = () => setRepliesDisabled(!repliesDisabled);
426
- $[66] = repliesDisabled;
427
- $[67] = setRepliesDisabled;
428
- $[68] = 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
+ }
483
+ const t28 = canUpdate ? SectionTypes.setting : SectionTypes.hidden;
484
+ let t29;
485
+ if ($[74] !== repliesDisabled || $[75] !== setRepliesDisabled) {
486
+ t29 = () => setRepliesDisabled(!repliesDisabled);
487
+ $[74] = repliesDisabled;
488
+ $[75] = setRepliesDisabled;
489
+ $[76] = t29;
429
490
  } else {
430
- t27 = $[68];
491
+ t29 = $[76];
431
492
  }
432
- let t28;
433
- if ($[69] !== repliesDisabled || $[70] !== t27) {
434
- t28 = {
493
+ let t30;
494
+ if ($[77] !== repliesDisabled || $[78] !== t29) {
495
+ t30 = {
435
496
  title: "Only leaders can message",
436
497
  rightItem: /*#__PURE__*/_jsx(Switch, {
437
498
  value: repliesDisabled,
438
- onChange: t27
499
+ onChange: t29
439
500
  })
440
501
  };
441
- $[69] = repliesDisabled;
442
- $[70] = t27;
443
- $[71] = t28;
502
+ $[77] = repliesDisabled;
503
+ $[78] = t29;
504
+ $[79] = t30;
444
505
  } else {
445
- t28 = $[71];
506
+ t30 = $[79];
446
507
  }
447
- let t29;
448
- if ($[72] !== t26 || $[73] !== t28) {
449
- t29 = {
450
- type: t26,
451
- data: t28,
508
+ let t31;
509
+ if ($[80] !== t28 || $[81] !== t30) {
510
+ t31 = {
511
+ type: t28,
512
+ data: t30,
452
513
  showBottomBorder: true
453
514
  };
454
- $[72] = t26;
455
- $[73] = t28;
456
- $[74] = t29;
515
+ $[80] = t28;
516
+ $[81] = t30;
517
+ $[82] = t31;
518
+ } else {
519
+ t31 = $[82];
520
+ }
521
+ const t32 = canArchive ? SectionTypes.setting : SectionTypes.hidden;
522
+ let t33;
523
+ if ($[83] !== handleArchive || $[84] !== isArchiving) {
524
+ t33 = {
525
+ title: "Archive conversation\u2026",
526
+ disabled: isArchiving,
527
+ onPress: handleArchive
528
+ };
529
+ $[83] = handleArchive;
530
+ $[84] = isArchiving;
531
+ $[85] = t33;
457
532
  } else {
458
- t29 = $[74];
533
+ t33 = $[85];
459
534
  }
460
- const t30 = canDelete ? SectionTypes.setting : SectionTypes.hidden;
461
- let t31;
462
- if ($[75] !== handleDelete || $[76] !== styles.deleteButtonText) {
463
- t31 = {
535
+ let t34;
536
+ if ($[86] !== canDelete || $[87] !== t32 || $[88] !== t33) {
537
+ t34 = {
538
+ type: t32,
539
+ data: t33,
540
+ showBottomBorder: canDelete
541
+ };
542
+ $[86] = canDelete;
543
+ $[87] = t32;
544
+ $[88] = t33;
545
+ $[89] = t34;
546
+ } else {
547
+ t34 = $[89];
548
+ }
549
+ const t35 = canDelete ? SectionTypes.setting : SectionTypes.hidden;
550
+ let t36;
551
+ if ($[90] !== handleDelete || $[91] !== styles.deleteButtonText) {
552
+ t36 = {
464
553
  title: "Delete conversation\u2026",
465
554
  buttonTextStyle: styles.deleteButtonText,
466
555
  appearance: "danger",
467
556
  onPress: handleDelete
468
557
  };
469
- $[75] = handleDelete;
470
- $[76] = styles.deleteButtonText;
471
- $[77] = t31;
558
+ $[90] = handleDelete;
559
+ $[91] = styles.deleteButtonText;
560
+ $[92] = t36;
472
561
  } else {
473
- t31 = $[77];
562
+ t36 = $[92];
474
563
  }
475
- let t32;
476
- if ($[78] !== t30 || $[79] !== t31) {
477
- t32 = {
478
- type: t30,
479
- data: t31
564
+ let t37;
565
+ if ($[93] !== t35 || $[94] !== t36) {
566
+ t37 = {
567
+ type: t35,
568
+ data: t36
480
569
  };
481
- $[78] = t30;
482
- $[79] = t31;
483
- $[80] = t32;
570
+ $[93] = t35;
571
+ $[94] = t36;
572
+ $[95] = t37;
484
573
  } else {
485
- t32 = $[80];
574
+ t37 = $[95];
486
575
  }
487
- const t33 = hasTeams ? SectionTypes.header : SectionTypes.hidden;
488
- let t34;
489
- if ($[81] === Symbol.for("react.memo_cache_sentinel")) {
490
- t34 = {
576
+ const t38 = hasTeams ? SectionTypes.header : SectionTypes.hidden;
577
+ let t39;
578
+ if ($[96] === Symbol.for("react.memo_cache_sentinel")) {
579
+ t39 = {
491
580
  title: "Teams"
492
581
  };
493
- $[81] = t34;
582
+ $[96] = t39;
494
583
  } else {
495
- t34 = $[81];
584
+ t39 = $[96];
496
585
  }
497
- let t35;
498
- if ($[82] !== styles.sectionInnerHeader || $[83] !== t33) {
499
- t35 = {
500
- type: t33,
501
- data: t34,
586
+ let t40;
587
+ if ($[97] !== styles.sectionInnerHeader || $[98] !== t38) {
588
+ t40 = {
589
+ type: t38,
590
+ data: t39,
502
591
  sectionInnerStyle: styles.sectionInnerHeader
503
592
  };
504
- $[82] = styles.sectionInnerHeader;
505
- $[83] = t33;
506
- $[84] = t35;
593
+ $[97] = styles.sectionInnerHeader;
594
+ $[98] = t38;
595
+ $[99] = t40;
507
596
  } else {
508
- t35 = $[84];
597
+ t40 = $[99];
509
598
  }
510
- const t36 = hasTeams ? SectionTypes.view : SectionTypes.hidden;
511
- let t37;
512
- if ($[85] !== teamsGroup) {
513
- t37 = {
599
+ const t41 = hasTeams ? SectionTypes.view : SectionTypes.hidden;
600
+ let t42;
601
+ if ($[100] !== teamsGroup) {
602
+ t42 = {
514
603
  children: /*#__PURE__*/_jsx(TeamsGroup, {
515
604
  teams: teamsGroup
516
605
  })
517
606
  };
518
- $[85] = teamsGroup;
519
- $[86] = t37;
607
+ $[100] = teamsGroup;
608
+ $[101] = t42;
520
609
  } else {
521
- t37 = $[86];
610
+ t42 = $[101];
522
611
  }
523
- let t38;
524
- if ($[87] !== t36 || $[88] !== t37) {
525
- t38 = {
526
- type: t36,
527
- data: t37
612
+ let t43;
613
+ if ($[102] !== t41 || $[103] !== t42) {
614
+ t43 = {
615
+ type: t41,
616
+ data: t42
528
617
  };
529
- $[87] = t36;
530
- $[88] = t37;
531
- $[89] = t38;
618
+ $[102] = t41;
619
+ $[103] = t42;
620
+ $[104] = t43;
532
621
  } else {
533
- t38 = $[89];
622
+ t43 = $[104];
534
623
  }
535
- const t39 = showGenderFilter ? /*#__PURE__*/_jsx(Badge, {
624
+ const t44 = showGenderFilter ? /*#__PURE__*/_jsx(Badge, {
536
625
  label: `${genderLabel}-only`
537
626
  }) : undefined;
538
- let t40;
539
- if ($[90] !== t39) {
540
- t40 = {
627
+ let t45;
628
+ if ($[105] !== t44) {
629
+ t45 = {
541
630
  title: "People",
542
- badge: t39
631
+ badge: t44
543
632
  };
544
- $[90] = t39;
545
- $[91] = t40;
633
+ $[105] = t44;
634
+ $[106] = t45;
546
635
  } else {
547
- t40 = $[91];
636
+ t45 = $[106];
548
637
  }
549
- let t41;
550
- if ($[92] !== styles.sectionInnerHeader || $[93] !== t40) {
551
- t41 = {
638
+ let t46;
639
+ if ($[107] !== styles.sectionInnerHeader || $[108] !== t45) {
640
+ t46 = {
552
641
  type: SectionTypes.header,
553
- data: t40,
642
+ data: t45,
554
643
  sectionInnerStyle: styles.sectionInnerHeader
555
644
  };
556
- $[92] = styles.sectionInnerHeader;
557
- $[93] = t40;
558
- $[94] = t41;
645
+ $[107] = styles.sectionInnerHeader;
646
+ $[108] = t45;
647
+ $[109] = t46;
559
648
  } else {
560
- t41 = $[94];
649
+ t46 = $[109];
561
650
  }
562
- const t42 = showGenderFilter ? SectionTypes.view : SectionTypes.hidden;
563
- const t43 = genderLabel.toLowerCase();
564
- let t44;
565
- if ($[95] !== t43) {
566
- t44 = {
651
+ const t47 = showGenderFilter ? SectionTypes.view : SectionTypes.hidden;
652
+ const t48 = genderLabel.toLowerCase();
653
+ let t49;
654
+ if ($[110] !== t48) {
655
+ t49 = {
567
656
  children: /*#__PURE__*/_jsxs(Text, {
568
657
  variant: "tertiary",
569
- children: ["This conversation will be automatically updated if any ", t43, " are added or removed from this group."]
658
+ children: ["This conversation will be automatically updated if any ", t48, " are added or removed from this group."]
570
659
  })
571
660
  };
572
- $[95] = t43;
573
- $[96] = t44;
661
+ $[110] = t48;
662
+ $[111] = t49;
574
663
  } else {
575
- t44 = $[96];
664
+ t49 = $[111];
576
665
  }
577
- let t45;
578
- if ($[97] !== styles.sectionInnerGenderNotice || $[98] !== t42 || $[99] !== t44) {
579
- t45 = {
580
- type: t42,
581
- data: t44,
666
+ let t50;
667
+ if ($[112] !== styles.sectionInnerGenderNotice || $[113] !== t47 || $[114] !== t49) {
668
+ t50 = {
669
+ type: t47,
670
+ data: t49,
582
671
  sectionInnerStyle: styles.sectionInnerGenderNotice
583
672
  };
584
- $[97] = styles.sectionInnerGenderNotice;
585
- $[98] = t42;
586
- $[99] = t44;
587
- $[100] = t45;
673
+ $[112] = styles.sectionInnerGenderNotice;
674
+ $[113] = t47;
675
+ $[114] = t49;
676
+ $[115] = t50;
588
677
  } else {
589
- t45 = $[100];
678
+ t50 = $[115];
590
679
  }
591
- const t46 = showAdultRequirementNotice ? SectionTypes.view : SectionTypes.hidden;
592
- let t47;
593
- if ($[101] === Symbol.for("react.memo_cache_sentinel")) {
594
- t47 = {
680
+ const t51 = showAdultRequirementNotice ? SectionTypes.view : SectionTypes.hidden;
681
+ let t52;
682
+ if ($[116] === Symbol.for("react.memo_cache_sentinel")) {
683
+ t52 = {
595
684
  children: /*#__PURE__*/_jsx(AdultRequirementNotice, {})
596
685
  };
597
- $[101] = t47;
686
+ $[116] = t52;
598
687
  } else {
599
- t47 = $[101];
688
+ t52 = $[116];
600
689
  }
601
- let t48;
602
- if ($[102] !== styles.sectionInnerNotice || $[103] !== t46) {
603
- t48 = {
604
- type: t46,
605
- data: t47,
690
+ let t53;
691
+ if ($[117] !== styles.sectionInnerNotice || $[118] !== t51) {
692
+ t53 = {
693
+ type: t51,
694
+ data: t52,
606
695
  sectionInnerStyle: styles.sectionInnerNotice
607
696
  };
608
- $[102] = styles.sectionInnerNotice;
609
- $[103] = t46;
610
- $[104] = t48;
697
+ $[117] = styles.sectionInnerNotice;
698
+ $[118] = t51;
699
+ $[119] = t53;
611
700
  } else {
612
- t48 = $[104];
701
+ t53 = $[119];
613
702
  }
614
- const t49 = hasChildren && isLeader ? SectionTypes.view : SectionTypes.hidden;
615
- let t50;
616
- if ($[105] !== childMembers) {
617
- t50 = {
703
+ const t54 = hasChildren && isLeader ? SectionTypes.view : SectionTypes.hidden;
704
+ let t55;
705
+ if ($[120] !== childMembers) {
706
+ t55 = {
618
707
  children: /*#__PURE__*/_jsx(ChildNotice, {
619
708
  childMembers: childMembers
620
709
  })
621
710
  };
622
- $[105] = childMembers;
623
- $[106] = t50;
711
+ $[120] = childMembers;
712
+ $[121] = t55;
624
713
  } else {
625
- t50 = $[106];
714
+ t55 = $[121];
626
715
  }
627
- let t51;
628
- if ($[107] !== styles.sectionInnerNotice || $[108] !== t49 || $[109] !== t50) {
629
- t51 = {
630
- type: t49,
631
- data: t50,
716
+ let t56;
717
+ if ($[122] !== styles.sectionInnerNotice || $[123] !== t54 || $[124] !== t55) {
718
+ t56 = {
719
+ type: t54,
720
+ data: t55,
632
721
  sectionInnerStyle: styles.sectionInnerNotice
633
722
  };
634
- $[107] = styles.sectionInnerNotice;
635
- $[108] = t49;
636
- $[109] = t50;
637
- $[110] = t51;
723
+ $[122] = styles.sectionInnerNotice;
724
+ $[123] = t54;
725
+ $[124] = t55;
726
+ $[125] = t56;
638
727
  } else {
639
- t51 = $[110];
728
+ t56 = $[125];
640
729
  }
641
- const listData = [t18, t20, t22, t24, t25, t29, t32, t35, t38, t41, t45, t48, t51, ...memberItems, ...loadingMemberItems].filter(_temp5);
642
- let t52;
643
- if ($[111] !== listData) {
644
- t52 = listData.map(_temp6).filter(isDefined);
645
- $[111] = listData;
646
- $[112] = t52;
647
- } else {
648
- t52 = $[112];
649
- }
650
- const headerIndices = t52;
651
- const t53 = listData;
652
- let t54;
653
- if ($[113] !== headerIndices || $[114] !== listData.length || $[115] !== styles.sectionHeaderRow) {
654
- t54 = t55 => {
730
+ const listData = [t20, t22, t24, t26, t27, t31, t34, t37, t40, t43, t46, t50, t53, t56, ...memberItems, ...loadingMemberItems].filter(_temp5);
731
+ let t57;
732
+ if ($[126] !== listData) {
733
+ t57 = listData.map(_temp6).filter(isDefined);
734
+ $[126] = listData;
735
+ $[127] = t57;
736
+ } else {
737
+ t57 = $[127];
738
+ }
739
+ const headerIndices = t57;
740
+ const t58 = listData;
741
+ let t59;
742
+ if ($[128] !== headerIndices || $[129] !== listData.length || $[130] !== styles.sectionHeaderRow) {
743
+ t59 = t60 => {
655
744
  const {
656
745
  item: item_0,
657
746
  index: index_1
658
- } = t55;
747
+ } = t60;
659
748
  const [isStart, isEnd] = [index_1 === 0 || headerIndices.includes(index_1), index_1 === listData.length - 1 || headerIndices.includes(index_1 + 1)];
660
749
  switch (item_0.type) {
661
750
  case SectionTypes.header:
@@ -752,50 +841,50 @@ export function ConversationDetailsScreen(t0) {
752
841
  }
753
842
  }
754
843
  };
755
- $[113] = headerIndices;
756
- $[114] = listData.length;
757
- $[115] = styles.sectionHeaderRow;
758
- $[116] = t54;
844
+ $[128] = headerIndices;
845
+ $[129] = listData.length;
846
+ $[130] = styles.sectionHeaderRow;
847
+ $[131] = t59;
759
848
  } else {
760
- t54 = $[116];
849
+ t59 = $[131];
761
850
  }
762
- let t55;
763
- if ($[117] !== fetchNextPageOfMembers) {
764
- t55 = () => fetchNextPageOfMembers();
765
- $[117] = fetchNextPageOfMembers;
766
- $[118] = t55;
851
+ let t60;
852
+ if ($[132] !== fetchNextPageOfMembers) {
853
+ t60 = () => fetchNextPageOfMembers();
854
+ $[132] = fetchNextPageOfMembers;
855
+ $[133] = t60;
767
856
  } else {
768
- t55 = $[118];
857
+ t60 = $[133];
769
858
  }
770
- let t56;
771
- if ($[119] !== styles.contentContainer || $[120] !== t53 || $[121] !== t54 || $[122] !== t55) {
772
- t56 = /*#__PURE__*/_jsx(FlatList, {
773
- data: t53,
859
+ let t61;
860
+ if ($[134] !== styles.contentContainer || $[135] !== t58 || $[136] !== t59 || $[137] !== t60) {
861
+ t61 = /*#__PURE__*/_jsx(FlatList, {
862
+ data: t58,
774
863
  contentContainerStyle: styles.contentContainer,
775
- renderItem: t54,
776
- onEndReached: t55
864
+ renderItem: t59,
865
+ onEndReached: t60
777
866
  });
778
- $[119] = styles.contentContainer;
779
- $[120] = t53;
780
- $[121] = t54;
781
- $[122] = t55;
782
- $[123] = t56;
867
+ $[134] = styles.contentContainer;
868
+ $[135] = t58;
869
+ $[136] = t59;
870
+ $[137] = t60;
871
+ $[138] = t61;
783
872
  } else {
784
- t56 = $[123];
873
+ t61 = $[138];
785
874
  }
786
- let t57;
787
- if ($[124] !== styles.listContainer || $[125] !== t56) {
788
- t57 = /*#__PURE__*/_jsx(View, {
875
+ let t62;
876
+ if ($[139] !== styles.listContainer || $[140] !== t61) {
877
+ t62 = /*#__PURE__*/_jsx(View, {
789
878
  style: styles.listContainer,
790
- children: t56
879
+ children: t61
791
880
  });
792
- $[124] = styles.listContainer;
793
- $[125] = t56;
794
- $[126] = t57;
881
+ $[139] = styles.listContainer;
882
+ $[140] = t61;
883
+ $[141] = t62;
795
884
  } else {
796
- t57 = $[126];
885
+ t62 = $[141];
797
886
  }
798
- return t57;
887
+ return t62;
799
888
  }
800
889
  function _temp6(t0, index_0) {
801
890
  const {
@@ -1038,7 +1127,7 @@ function TitleInput(t0) {
1038
1127
  return t11;
1039
1128
  }
1040
1129
  function SettingRow(t0) {
1041
- const $ = _c(37);
1130
+ const $ = _c(38);
1042
1131
  const {
1043
1132
  title,
1044
1133
  style,
@@ -1048,6 +1137,7 @@ function SettingRow(t0) {
1048
1137
  rightItem,
1049
1138
  rightItemStyle: t3,
1050
1139
  appearance,
1140
+ disabled,
1051
1141
  onPress
1052
1142
  } = t0;
1053
1143
  let t4;
@@ -1089,104 +1179,106 @@ function SettingRow(t0) {
1089
1179
  t7 = $[8];
1090
1180
  }
1091
1181
  let t8;
1092
- if ($[9] !== appearance || $[10] !== buttonTextStyle || $[11] !== onPress || $[12] !== t7 || $[13] !== title) {
1182
+ if ($[9] !== appearance || $[10] !== buttonTextStyle || $[11] !== disabled || $[12] !== onPress || $[13] !== t7 || $[14] !== title) {
1093
1183
  t8 = /*#__PURE__*/_jsx(TextButton, {
1094
1184
  style: t7,
1095
1185
  textStyle: buttonTextStyle,
1096
1186
  appearance: appearance,
1187
+ disabled: disabled,
1097
1188
  onPress: onPress,
1098
1189
  children: title
1099
1190
  });
1100
1191
  $[9] = appearance;
1101
1192
  $[10] = buttonTextStyle;
1102
- $[11] = onPress;
1103
- $[12] = t7;
1104
- $[13] = title;
1105
- $[14] = t8;
1193
+ $[11] = disabled;
1194
+ $[12] = onPress;
1195
+ $[13] = t7;
1196
+ $[14] = title;
1197
+ $[15] = t8;
1106
1198
  } else {
1107
- t8 = $[14];
1199
+ t8 = $[15];
1108
1200
  }
1109
1201
  return t8;
1110
1202
  }
1111
1203
  let t7;
1112
- if ($[15] !== style || $[16] !== styles.settingRow) {
1204
+ if ($[16] !== style || $[17] !== styles.settingRow) {
1113
1205
  t7 = [styles.settingRow, style];
1114
- $[15] = style;
1115
- $[16] = styles.settingRow;
1116
- $[17] = t7;
1206
+ $[16] = style;
1207
+ $[17] = styles.settingRow;
1208
+ $[18] = t7;
1117
1209
  } else {
1118
- t7 = $[17];
1210
+ t7 = $[18];
1119
1211
  }
1120
1212
  let t8;
1121
- if ($[18] !== styles.settingRowText || $[19] !== titleStyle) {
1213
+ if ($[19] !== styles.settingRowText || $[20] !== titleStyle) {
1122
1214
  t8 = [styles.settingRowText, titleStyle];
1123
- $[18] = styles.settingRowText;
1124
- $[19] = titleStyle;
1125
- $[20] = t8;
1215
+ $[19] = styles.settingRowText;
1216
+ $[20] = titleStyle;
1217
+ $[21] = t8;
1126
1218
  } else {
1127
- t8 = $[20];
1219
+ t8 = $[21];
1128
1220
  }
1129
1221
  let t9;
1130
- if ($[21] !== t8 || $[22] !== title) {
1222
+ if ($[22] !== t8 || $[23] !== title) {
1131
1223
  t9 = /*#__PURE__*/_jsx(Text, {
1132
1224
  variant: "plain",
1133
1225
  style: t8,
1134
1226
  children: title
1135
1227
  });
1136
- $[21] = t8;
1137
- $[22] = title;
1138
- $[23] = t9;
1228
+ $[22] = t8;
1229
+ $[23] = title;
1230
+ $[24] = t9;
1139
1231
  } else {
1140
- t9 = $[23];
1232
+ t9 = $[24];
1141
1233
  }
1142
1234
  let t10;
1143
- if ($[24] !== subtitle) {
1235
+ if ($[25] !== subtitle) {
1144
1236
  t10 = Boolean(subtitle) && /*#__PURE__*/_jsx(Text, {
1145
1237
  variant: "footnote",
1146
1238
  children: subtitle
1147
1239
  });
1148
- $[24] = subtitle;
1149
- $[25] = t10;
1240
+ $[25] = subtitle;
1241
+ $[26] = t10;
1150
1242
  } else {
1151
- t10 = $[25];
1243
+ t10 = $[26];
1152
1244
  }
1153
1245
  let t11;
1154
- if ($[26] !== styles.settingRowContent || $[27] !== t10 || $[28] !== t9) {
1246
+ if ($[27] !== styles.settingRowContent || $[28] !== t10 || $[29] !== t9) {
1155
1247
  t11 = /*#__PURE__*/_jsxs(View, {
1156
1248
  style: styles.settingRowContent,
1157
1249
  children: [t9, t10]
1158
1250
  });
1159
- $[26] = styles.settingRowContent;
1160
- $[27] = t10;
1161
- $[28] = t9;
1162
- $[29] = t11;
1251
+ $[27] = styles.settingRowContent;
1252
+ $[28] = t10;
1253
+ $[29] = t9;
1254
+ $[30] = t11;
1163
1255
  } else {
1164
- t11 = $[29];
1256
+ t11 = $[30];
1165
1257
  }
1166
1258
  let t12;
1167
- if ($[30] !== rightItem || $[31] !== rightItemStyle) {
1259
+ if ($[31] !== rightItem || $[32] !== rightItemStyle) {
1168
1260
  t12 = Boolean(rightItem) && /*#__PURE__*/_jsx(View, {
1169
1261
  style: rightItemStyle,
1170
1262
  children: rightItem
1171
1263
  });
1172
- $[30] = rightItem;
1173
- $[31] = rightItemStyle;
1174
- $[32] = t12;
1264
+ $[31] = rightItem;
1265
+ $[32] = rightItemStyle;
1266
+ $[33] = t12;
1175
1267
  } else {
1176
- t12 = $[32];
1268
+ t12 = $[33];
1177
1269
  }
1178
1270
  let t13;
1179
- if ($[33] !== t11 || $[34] !== t12 || $[35] !== t7) {
1271
+ if ($[34] !== t11 || $[35] !== t12 || $[36] !== t7) {
1180
1272
  t13 = /*#__PURE__*/_jsxs(View, {
1181
1273
  style: t7,
1182
1274
  children: [t11, t12]
1183
1275
  });
1184
- $[33] = t11;
1185
- $[34] = t12;
1186
- $[35] = t7;
1187
- $[36] = t13;
1276
+ $[34] = t11;
1277
+ $[35] = t12;
1278
+ $[36] = t7;
1279
+ $[37] = t13;
1188
1280
  } else {
1189
- t13 = $[36];
1281
+ t13 = $[37];
1190
1282
  }
1191
1283
  return t13;
1192
1284
  }
@@ -1501,6 +1593,9 @@ const useStyles = t0 => {
1501
1593
  deleteButtonText: {
1502
1594
  fontWeight: "normal"
1503
1595
  },
1596
+ unarchiveButton: {
1597
+ marginTop: 12
1598
+ },
1504
1599
  settingRowText: {
1505
1600
  lineHeight: 20
1506
1601
  },