// Module ID: 13198 // Function ID: 13199 // Name: UserProfileNote // Dependencies: [19, 21, 8319, 13199, 5691, 4634, 1115, 4605, 13201, 13205, 2] // Exports: default // Module 13198 (UserProfileNote) import ActionSheetActionCreatorsDefault from "ActionSheetActionCreators" /* 4605 */; import openEditNoteModalDefault from "openEditNoteModal" /* 13201 */; import noop from "module_19" /* 19 */; const require = fn; const jsx = fn(21).jsx; const size = fn(2); const result = size.fileFinishedImporting("modules/user_profile/native/UserProfileNote.tsx"); export default function UserProfileNote(userId) { userId = userId.userId; const onBack = userId.onBack; let trackUserProfileAction; trackUserProfileAction = userId(trackUserProfileAction[2]).useUserProfileAnalyticsContext().trackUserProfileAction; const note = onBack(trackUserProfileAction[3])(userId).note; let tmp3 = null != note; if (tmp3) { tmp3 = "" !== note; } const obj2 = { label: null, subLabel: null, accessibilityHint: null, onPress: null, trailing: null, arrow: null, start: true, end: true }; const obj3 = { variant: "text-sm/semibold", color: "text-default", children: null }; const intl = tmp(tmp2[6]).intl; obj3.children = intl.string(userId(trackUserProfileAction[6]).t["mQKv+v"]); obj2.label = jsx(userId(trackUserProfileAction[5]).Text, { variant: "text-sm/semibold", color: "text-default", children: null }); let tmp5; if (tmp3) { tmp5 = note; } obj2.subLabel = tmp5; const intl2 = tmp(tmp2[6]).intl; const string = intl2.string; const t = tmp(tmp2[6]).t; if (tmp3) { let stringResult = string(t["gs+qcM"]); } else { stringResult = string(t["1ZZtts"]); } obj2.accessibilityHint = stringResult; obj2.onPress = function onPress() { ActionSheetActionCreatorsDefault.hideActionSheet(); openEditNoteModalDefault({ userId, onBack, onSave() { return trackUserProfileAction({ action: "SET_NOTE" }); } }); }; let tmp4Result; if (!tmp3) { const obj4 = { IconComponent: tmp(tmp2[9]).PaperPlusIcon }; tmp4Result = tmp4(tmp(tmp2[4]).TableRow.Icon, obj4); } obj2.trailing = tmp4Result; obj2.arrow = tmp3; return jsx(userId(trackUserProfileAction[4]).TableRow, { label: null, subLabel: null, accessibilityHint: null, onPress: null, trailing: null, arrow: null, start: true, end: true }); };