// Module ID: 16056 // Function ID: 16057 // Name: PromotionalEmailCheckBox // Dependencies: [19, 17, 6666, 21, 4607, 4325, 1114, 5669, 4603, 2] // Exports: default // Module 16056 (PromotionalEmailCheckBox) import noop from "module_19" /* 19 */; const require = globalThis.__r; const require = fn; get_ActivityIndicator = fn(17); ({ View: c2, Pressable: c3 } = get_ActivityIndicator); const PromoEmailConsentStore = fn(6666); ({ usePromoEmailConsentStore: closure_4, setPromoEmailConsentChecked: hasOwnProperty } = PromoEmailConsentStore); const jsxProd = fn(21); ({ jsx: metroRequire, jsxs: closure_7 } = jsxProd); const createStyles = fn(4607); let closure_8 = createStyles.createStyles({ checkboxRow: { flexDirection: "row", alignItems: "flex-start", gap: 8 }, checkboxLabel: { flex: 1 } }); const size = fn(2); const result = size.fileFinishedImporting("modules/auth/native/components/PromotionalEmailCheckBox.tsx"); export default function PromotionalEmailCheckBox(style) { const tmp = closure_8(); const tmp3 = closure_4((checked) => checked.checked); _require = tmp3; const tmp2 = closure_4((required) => required.required); const checkboxA11yNative = require("useA11yRolesNative").useCheckboxA11yNative({ checked: tmp3 }); let tmp9 = null; if (tmp2) { const obj2 = { style: style.style, children: null }; const obj3 = { accessibilityRole: tmp7, accessibilityLabel: null, accessibilityState: null, onPress: null, style: null, children: null }; const intl = tmp4(1114).intl; obj3.accessibilityLabel = intl.string(tmp4(1114).t.ylFCLt); obj3.accessibilityState = tmp8; obj3.onPress = function onPress() { return hasOwnProperty(!closure_0); }; obj3.style = tmp.checkboxRow; const obj4 = { checked: tmp3 }; const items = [closure_6(tmp4(5669).FormCheckbox, obj4), ]; const obj5 = { variant: "text-xs/medium", color: "text-muted", style: tmp.checkboxLabel, children: null }; const intl2 = tmp4(1114).intl; obj5.children = intl2.string(tmp4(1114).t.ylFCLt); items[1] = closure_6(tmp4(4603).Text, obj5); obj3.children = items; obj2.children = closure_7(closure_3, obj3); tmp9 = closure_6(closure_2, obj2); } return tmp9; };