/* Metro module 112; source: unknown; dependencies: [29, 113, 31, 33, 114, 79, 115] */ function _fun1611(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#1611, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:137:6, offset: 0x00c6361c, size: 208 bytes, params: 8, frame: 20 const env0_3 = ['accessibilityState', 'accessibilityValue', 'aria-busy', 'aria-checked', 'aria-disabled', 'aria-expanded', 'aria-hidden', 'aria-label', 'aria-labelledby', 'aria-live', 'aria-selected', 'aria-valuemax', 'aria-valuemin', 'aria-valuenow', 'aria-valuetext', 'id', 'tabIndex']; const env0_4 = ['accessibilityElementsHidden', 'accessibilityLabel', 'accessibilityLabelledBy', 'accessibilityLiveRegion', 'accessibilityState', 'accessibilityValue', 'aria-busy', 'aria-checked', 'aria-disabled', 'aria-expanded', 'aria-hidden', 'aria-label', 'aria-labelledby', 'aria-live', 'aria-selected', 'aria-valuemax', 'aria-valuemin', 'aria-valuenow', 'aria-valuetext', 'focusable', 'id', 'importantForAccessibility', 'nativeID', 'tabIndex']; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const env0_5 = importDefault(29) /* metro dependency 29 */; const env0_6 = importDefault(113) /* metro dependency 113 */; let value = importAll(31) /* metro dependency 31 */; const env0_7 = (require(31) /* metro dependency 31 */).use; const env0_8 = (require(33) /* metro dependency 33 */).jsx; value = value.forwardRef(View_withRef); value.displayName = 'View'; exports.default = value; } function View_withRef(a0, a1) { // fn#1612, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:137:846, offset: 0x00c636ec, size: 1472 bytes, params: 3, frame: 46 var r6; var r17; var r15; var r20; var r4; var r25; var accessibilityElementsHidden; var accessibilityLabel; var accessibilityLabelledBy; var accessibilityLiveRegion; var accessibilityState; var accessibilityValue; var property; var property2; var property3; var property4; var property5; var property6; var property7; var property8; var property9; var property10; var property11; var property12; var property13; var focusable; var id; var importantForAccessibility; var nativeID; var tabIndex; var value5; var object2; var defaultImport; var property14; var property15; var property16; var property17; var property18; var property19; var property20; var property21; var property22; var property23; var property24; var property25; var value11; let Object = global.Object; let assign = Object.assign; const value2 = undefined; env0_6(a0); const value3 = Reflect.apply(assign, Object, [{}, a0]); const value4 = use(importDefault(114) /* metro dependency 114 */); const moduleValue = importAll(79) /* metro dependency 79 */; if (moduleValue.reduceDefaultPropsInView()) { accessibilityState = value3.accessibilityState; accessibilityValue = value3.accessibilityValue; property = value3['aria-busy']; property14 = value3['aria-checked']; property15 = value3['aria-disabled']; property16 = value3['aria-expanded']; property17 = value3['aria-hidden']; property18 = value3['aria-label']; property19 = value3['aria-labelledby']; property20 = value3['aria-live']; property21 = value3['aria-selected']; property22 = value3['aria-valuemax']; property23 = value3['aria-valuemin']; property24 = value3['aria-valuenow']; property25 = value3['aria-valuetext']; id = value3.id; tabIndex = value3.tabIndex; value11 = env0_5(value3, env0_3); r25 = property19 == null ? value2 : property19.split(RegExp('\\s*,\\s*', 'g')); if (value2 !== r25) { value11.accessibilityLabelledBy = r25; } if (value2 !== property18) { value11.accessibilityLabel = property18; } if (value2 !== property20) { value11.accessibilityLiveRegion = property20 === 'off' ? 'none' : property20; } if (value2 !== property17) { value11.accessibilityElementsHidden = property17; if (property17 === true) { value11.importantForAccessibility = 'no-hide-descendants'; } } if (value2 !== id) { value11.nativeID = id; } if (value2 !== tabIndex) { value11.focusable = !tabIndex; } r6 = accessibilityState == null && property == null; r6 = r6 && property14 == null; r6 = r6 && property15 == null; r6 = r6 && property16 == null; r6 = r6 && property21 == null; if (!r6) { value11.accessibilityState = {busy: property ?? (accessibilityState == null ? value2 : accessibilityState.busy), checked: property14 ?? (accessibilityState == null ? value2 : accessibilityState.checked), disabled: property15 ?? (accessibilityState == null ? value2 : accessibilityState.disabled), expanded: property16 ?? (accessibilityState == null ? value2 : accessibilityState.expanded), selected: property21 ?? (accessibilityState == null ? value2 : accessibilityState.selected)}; } r6 = accessibilityValue == null && property22 == null; r6 = r6 && property23 == null; r6 = r6 && property24 == null; r6 = r6 && property25 == null; if (!r6) { value11.accessibilityValue = {max: property22 ?? (accessibilityValue == null ? value2 : accessibilityValue.max), min: property23 ?? (accessibilityValue == null ? value2 : accessibilityValue.min), now: property24 ?? (accessibilityValue == null ? value2 : accessibilityValue.now), text: property25 ?? (accessibilityValue == null ? value2 : accessibilityValue.text)}; } r4 = ((Component) => )(importDefault(115) /* metro dependency 115 */); } else { accessibilityElementsHidden = value3.accessibilityElementsHidden; accessibilityLabel = value3.accessibilityLabel; accessibilityLabelledBy = value3.accessibilityLabelledBy; accessibilityLiveRegion = value3.accessibilityLiveRegion; accessibilityState = value3.accessibilityState; accessibilityValue = value3.accessibilityValue; property = value3['aria-busy']; property2 = value3['aria-checked']; property3 = value3['aria-disabled']; property4 = value3['aria-expanded']; property5 = value3['aria-hidden']; property6 = value3['aria-label']; property7 = value3['aria-labelledby']; property8 = value3['aria-live']; property9 = value3['aria-selected']; property10 = value3['aria-valuemax']; property11 = value3['aria-valuemin']; property12 = value3['aria-valuenow']; property13 = value3['aria-valuetext']; focusable = value3.focusable; id = value3.id; importantForAccessibility = value3.importantForAccessibility; nativeID = value3.nativeID; tabIndex = value3.tabIndex; value5 = env0_5(value3, env0_4); r17 = (property7 == null ? value2 : property7.split(RegExp('\\s*,\\s*', 'g'))) ?? accessibilityLabelledBy; r20 = accessibilityState != null || property != null || (property2 != null || property3 != null) || (property4 != null || property9 != null) ? {busy: property ?? (accessibilityState == null ? value2 : accessibilityState.busy), checked: property2 ?? (accessibilityState == null ? value2 : accessibilityState.checked), disabled: property3 ?? (accessibilityState == null ? value2 : accessibilityState.disabled), expanded: property4 ?? (accessibilityState == null ? value2 : accessibilityState.expanded), selected: property9 ?? (accessibilityState == null ? value2 : accessibilityState.selected)} : value2; r15 = accessibilityValue != null || property10 != null || (property11 != null || property12 != null) || property13 != null ? {max: property10 ?? (accessibilityValue == null ? value2 : accessibilityValue.max), min: property11 ?? (accessibilityValue == null ? value2 : accessibilityValue.min), now: property12 ?? (accessibilityValue == null ? value2 : accessibilityValue.now), text: property13 ?? (accessibilityValue == null ? value2 : accessibilityValue.text)} : value2; defaultImport = importDefault(115) /* metro dependency 115 */; Object = global.Object; assign = Object.assign; object2 = {}; object2.accessibilityLiveRegion = property8 === 'off' ? 'none' : property8 ?? accessibilityLiveRegion; object2.accessibilityLabel = property6 ?? accessibilityLabel; object2.focusable = value2 === tabIndex ? focusable : !tabIndex; object2.accessibilityState = r20; object2.accessibilityElementsHidden = property5 ?? accessibilityElementsHidden; object2.accessibilityLabelledBy = r17; object2.accessibilityValue = r15; r15 = property5 === true ? 'no-hide-descendants' : importantForAccessibility; object2.importantForAccessibility = r15; r4 = id ?? nativeID; object2.nativeID = r4; object2.ref = a1; r4 = ((Component) => )(defaultImport); } if (value4) { return ((Component) => {r4})(importDefault(114) /* metro dependency 114 */); } return r4; }