// Module ID: 12103 // Function ID: 12104 // Name: DiscoverabilityActionSheet // Dependencies: [19, 17, 12031, 676, 21, 4303, 712, 7967, 1236, 4299, 12034, 5764, 2] // Exports: default // Module 12103 (DiscoverabilityActionSheet) import noop from "noop"; import { View } from "get ActivityIndicator"; import ContactSyncModes from "ContactSyncModes"; import jsxProd from "jsxProd"; import createCacheKey from "createCacheKey"; let c4; let c5; let c9; let closure_6; let error; let metroImportAll; const require = arg1; ({ useContactSyncModalStore: c4, setAllowSync: c5, setAllowPhone: closure_6, setAllowEmail: error } = ContactSyncModes); ({ jsx: metroImportAll, jsxs: c9 } = jsxProd); createCacheKey = { container: null, formRow: null, syncRow: null, formText: null, info: null }; createCacheKey = { backgroundColor: require("Themes").colors.BACKGROUND_BASE_LOW, paddingBottom: 16 }; createCacheKey[0] = createCacheKey; createCacheKey[1] = { marginTop: 8, paddingVertical: 16, backgroundColor: require("Themes").colors.BACKGROUND_SURFACE_HIGH }; createCacheKey[2] = { marginTop: 24 }; let obj1 = { marginTop: 8, paddingVertical: 16, backgroundColor: require("Themes").colors.BACKGROUND_SURFACE_HIGH }; createCacheKey[3] = { fontFamily: require("ME").Fonts.PRIMARY_SEMIBOLD, color: require("Themes").colors.INTERACTIVE_TEXT_ACTIVE }; let obj2 = { fontFamily: require("ME").Fonts.PRIMARY_SEMIBOLD, color: require("Themes").colors.INTERACTIVE_TEXT_ACTIVE }; createCacheKey[4] = { marginTop: 8, fontSize: 14, lineHeight: 18, paddingHorizontal: 16, color: require("Themes").colors.TEXT_SUBTLE }; createCacheKey = createCacheKey.createStyles(createCacheKey); let obj3 = { marginTop: 8, fontSize: 14, lineHeight: 18, paddingHorizontal: 16, color: require("Themes").colors.TEXT_SUBTLE }; const result = require("ContactSyncModes").fileFinishedImporting("modules/nuf/native/components/DiscoverabilityActionSheet.tsx"); export default function DiscoverabilityActionSheet() { const tmp = createCacheKey(); const tmp2 = callback(); const allowPhone = tmp2.allowPhone; const allowEmail = tmp2.allowEmail; let tmp3 = allowPhone; if (!allowPhone) { tmp3 = allowEmail; } const React = tmp3; const items = [tmp3]; const items1 = [allowPhone]; callback = React.useCallback(() => { outer1_5(!noop); }, items); const items2 = [allowEmail]; const callback1 = React.useCallback(() => { outer1_6(!allowPhone); }, items1); let obj = { style: tmp.container, children: null }; const callback2 = React.useCallback(() => { outer1_7(!allowEmail); }, items2); obj = { DEPRECATED_style: items3, label: null, onPress: null, trailing: null }; items3 = [, ]; ({ formRow: arr4[0], syncRow: arr4[1] } = tmp); obj = { style: tmp.formText, text: null }; const intl = allowPhone(allowEmail[8]).intl; obj[1] = intl.string(allowPhone(allowEmail[8]).t.gMUgpv); obj[1] = callback2(allowPhone(allowEmail[7]).FormRow.Label, obj); obj[2] = callback; obj[3] = callback2(allowPhone(allowEmail[7]).FormRow.Checkbox, { selected: tmp3 }); const items4 = [callback2(allowPhone(allowEmail[7]).FormRow, obj), , , , , , ]; const obj1 = { style: tmp.info, children: null }; const intl2 = allowPhone(allowEmail[8]).intl; obj1[1] = intl2.string(allowPhone(allowEmail[8]).t.pfjsB5); items4[1] = callback2(allowPhone(allowEmail[7]).FormText, obj1); const obj2 = { style: tmp.info, children: null }; const intl3 = allowPhone(allowEmail[8]).intl; obj2[1] = intl3.string(allowPhone(allowEmail[8]).t.cW1nr9); items4[2] = callback2(allowPhone(allowEmail[7]).FormText, obj2); const obj3 = { style: tmp.info, children: null }; const intl4 = allowPhone(allowEmail[8]).intl; obj3[1] = intl4.format(allowPhone(allowEmail[8]).t.eswIfi, { learnMoreHook(arg0, arg1) { const obj = { onPress: null, variant: "text-sm/medium", color: "text-link", children: null }; obj[0] = allowPhone(allowEmail[10]).handleOpenLearnMoreLink; obj[3] = arg0; return callback(allowPhone(allowEmail[9]).Text, obj, arg1); } }); items4[3] = callback2(allowPhone(allowEmail[7]).FormText, obj3); const obj5 = { title: null, thinTitle: true }; const intl5 = allowPhone(allowEmail[8]).intl; obj5[0] = intl5.string(allowPhone(allowEmail[8]).t["0t2wRW"]); items4[4] = callback2(allowPhone(allowEmail[7]).FormTitle, obj5); const obj6 = { DEPRECATED_style: tmp.formRow, label: null, subLabel: null, onPress: null, trailing: null }; const obj7 = { style: tmp.formText, text: null }; const intl6 = allowPhone(allowEmail[8]).intl; obj7[1] = intl6.string(allowPhone(allowEmail[8]).t["eJnn0+"]); obj6[1] = callback2(allowPhone(allowEmail[7]).FormRow.Label, obj7); const obj8 = { variant: "text-sm/medium", color: "text-default", children: null }; const intl7 = allowPhone(allowEmail[8]).intl; obj8[2] = intl7.string(allowPhone(allowEmail[8]).t.X7pIKN); obj6[2] = callback2(allowPhone(allowEmail[9]).Text, obj8); obj6[3] = callback1; obj6[4] = callback2(allowPhone(allowEmail[7]).FormRow.Checkbox, { selected: allowPhone }); items4[5] = callback2(allowPhone(allowEmail[7]).FormRow, obj6); const obj9 = { DEPRECATED_style: tmp.formRow, label: null, subLabel: null, onPress: null, trailing: null }; const obj10 = { style: tmp.formText, text: null }; const intl8 = allowPhone(allowEmail[8]).intl; obj10[1] = intl8.string(allowPhone(allowEmail[8]).t.dI4d4S); obj9[1] = callback2(allowPhone(allowEmail[7]).FormRow.Label, obj10); const obj11 = { variant: "text-sm/medium", color: "text-default", children: null }; const intl9 = allowPhone(allowEmail[8]).intl; obj11[2] = intl9.string(allowPhone(allowEmail[8]).t.ilGsHE); obj9[2] = callback2(allowPhone(allowEmail[9]).Text, obj11); obj9[3] = callback2; obj9[4] = callback2(allowPhone(allowEmail[7]).FormRow.Checkbox, { selected: allowEmail }); items4[6] = callback2(allowPhone(allowEmail[7]).FormRow, obj9); obj[1] = items4; const children = callback3(View, obj); return callback2(allowPhone(allowEmail[11]).ActionSheet, { startExpanded: true, children }); };