/* Metro module 4514; source: unknown; dependencies: [29, 31, 27, 33, 4515, 4516, 4517, 4513, 4518, 4519, 4520, 4522, 4523, 4524] */ import ObjectWithoutProperties from './module-00029-ObjectWithoutProperties.js'; /* Metro dependency 29 */ import React from './module-00031-React.js'; /* Metro dependency 31 */ import __INTERNAL_VIEW_CONFIG from './module-04515-__INTERNAL_VIEW_CONFIG.js'; /* Metro dependency 4515 */ import __INTERNAL_VIEW_CONFIG2 from './module-04516-__INTERNAL_VIEW_CONFIG.js'; /* Metro dependency 4516 */ import * as ReactNativeModule from './module-00027-ReactNative.js'; /* Metro dependency 27 */ import * as JsxRuntimeModule from './module-00033-JsxRuntime.js'; /* Metro dependency 33 */ import * as UsePreviousModule from './module-04517-usePrevious.js'; /* Metro dependency 4517 */ function _fun38579(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#38579, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4692:6, offset: 0x010c3e0b, size: 313 bytes, params: 8, frame: 20 const env0_0 = require; const env0_3 = ['enabled', 'freezeOnBlur', 'shouldFreeze']; const env0_4 = ['active', 'activityState', 'children', 'isNativeStack', 'fullScreenSwipeEnabled', 'gestureResponseDistance', 'scrollEdgeEffects', 'onGestureCancel', 'style']; const env0_5 = ['active', 'activityState', 'style', 'onComponentRef']; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); let value = React; const Animated = ReactNativeModule.Animated; ReactNativeModule.Platform; const env0_10 = Animated.createAnimatedComponent(__INTERNAL_VIEW_CONFIG); Animated.createAnimatedComponent(__INTERNAL_VIEW_CONFIG2); const value3 = value.forwardRef(InnerScreen); const context = value.createContext(value3); value = value.forwardRef(_fun38585); value.displayName = 'Screen'; exports.default = value; exports.InnerScreen = value3; exports.ScreenContext = context; function InnerScreen(a0, a1) { // fn#38580, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4692:510, offset: 0x010c3f44, size: 1710 bytes, params: 3, frame: 50 var r31; var top; var bottom; var object; var active; var style; var Object; var assign; var sheetAllowedDetents2; var moduleValue5; var resolveSheetLargestUndimmedDetent; var length; var sheetLargestUndimmedDetent; var moduleValue6; var resolveSheetInitialDetentIndex; var sheetInitialDetentIndex2; var children; var isNativeStack; var fullScreenSwipeEnabled; var gestureResponseDistance; var scrollEdgeEffects; var onGestureCancel; var value27; var defaultImport2; var object3; var object5; var experiment; const env0_0 = a0; let binding = env0_7; let useRef = binding.useRef; const env0_1 = Reflect.apply(useRef, binding, [null]); let closure = _fun38581; binding.useImperativeHandle(a1, closure, []); const value2 = undefined; const usePrevious = UsePreviousModule.usePrevious; let activityState = a0.activityState; const value3 = Reflect.apply(usePrevious, UsePreviousModule, [activityState]); closure = ref_38582; useRef = binding.useRef; let Value = Animated.Value; const value4 = Object.create(Value.prototype, {constructor: {value: Value}}); const value5 = 0; const value6 = new Value(value5); const current = Reflect.apply(useRef, binding, [value6 instanceof Object ? value6 : value4]).current; useRef = binding.useRef; Value = Animated.Value; const value8 = Object.create(Value.prototype, {constructor: {value: Value}}); const value9 = new Value(value5); const current2 = Reflect.apply(useRef, binding, [value9 instanceof Object ? value9 : value8]).current; useRef = binding.useRef; Value = Animated.Value; const value11 = Object.create(Value.prototype, {constructor: {value: Value}}); const value12 = new Value(value5); const current3 = Reflect.apply(useRef, binding, [value12 instanceof Object ? value12 : value11]).current; const enabled = a0.enabled; const r5 = value2 !== enabled ? enabled : (require(4513) /* metro dependency 4513 */).screensEnabled(); const freezeOnBlur = a0.freezeOnBlur; let r6 = value2 !== freezeOnBlur ? freezeOnBlur : (require(4513) /* metro dependency 4513 */).freezeEnabled(); const shouldFreeze = a0.shouldFreeze; const value16 = ObjectWithoutProperties(a0, env0_3); const sheetAllowedDetents = value16.sheetAllowedDetents; const r13 = value2 !== sheetAllowedDetents ? sheetAllowedDetents : [1]; const sheetLargestUndimmedDetentIndex = value16.sheetLargestUndimmedDetentIndex; const r21 = value2 !== sheetLargestUndimmedDetentIndex ? sheetLargestUndimmedDetentIndex : (require(4518) /* metro dependency 4518 */).SHEET_DIMMED_ALWAYS; const sheetGrabberVisible = value16.sheetGrabberVisible; const r24 = value2 !== sheetGrabberVisible && sheetGrabberVisible; const sheetCornerRadius = value16.sheetCornerRadius; const value18 = -1; const r23 = value2 === sheetCornerRadius ? value18 : sheetCornerRadius; const sheetExpandsWhenScrolledToEdge = value16.sheetExpandsWhenScrolledToEdge; let r20 = value2 === sheetExpandsWhenScrolledToEdge || sheetExpandsWhenScrolledToEdge; const sheetElevation = value16.sheetElevation; const r27 = value2 === sheetElevation ? 24 : sheetElevation; const sheetInitialDetentIndex = value16.sheetInitialDetentIndex; const r9 = value2 === sheetInitialDetentIndex ? value5 : sheetInitialDetentIndex; const sheetShouldOverflowTopInset = value16.sheetShouldOverflowTopInset; const r26 = value2 !== sheetShouldOverflowTopInset && sheetShouldOverflowTopInset; const sheetDefaultResizeAnimationEnabled = value16.sheetDefaultResizeAnimationEnabled; const r25 = value2 === sheetDefaultResizeAnimationEnabled || sheetDefaultResizeAnimationEnabled; const screenId = value16.screenId; value16.stackPresentation; const onAppear = value16.onAppear; const onDisappear = value16.onDisappear; const onWillAppear = value16.onWillAppear; const onWillDisappear = value16.onWillDisappear; if (r5) { if ((require(4513) /* metro dependency 4513 */).isNativePlatformSupported) { sheetAllowedDetents2 = (require(4518) /* metro dependency 4518 */).resolveSheetAllowedDetents(r13); moduleValue5 = require(4518) /* metro dependency 4518 */; resolveSheetLargestUndimmedDetent = moduleValue5.resolveSheetLargestUndimmedDetent; length = sheetAllowedDetents2.length; sheetLargestUndimmedDetent = Reflect.apply(resolveSheetLargestUndimmedDetent, moduleValue5, [r21, length - 1]); moduleValue6 = require(4518) /* metro dependency 4518 */; resolveSheetInitialDetentIndex = moduleValue6.resolveSheetInitialDetentIndex; length = sheetAllowedDetents2.length; sheetInitialDetentIndex2 = Reflect.apply(resolveSheetInitialDetentIndex, moduleValue6, [r9, length - 1]); binding = env0_10; active = value16.active; activityState = value16.activityState; children = value16.children; isNativeStack = value16.isNativeStack; fullScreenSwipeEnabled = value16.fullScreenSwipeEnabled; gestureResponseDistance = value16.gestureResponseDistance; scrollEdgeEffects = value16.scrollEdgeEffects; onGestureCancel = value16.onGestureCancel; style = value16.style; value27 = ObjectWithoutProperties(value16, env0_4); if (value2 !== active && value2 === activityState) { global.console.warn('It appears that you are using old version of react-navigation library. Please update @react-navigation/bottom-tabs, @react-navigation/stack and @react-navigation/drawer to version 5.10.0 or above to take full advantage of new functionality added to react-native-screens'); r31 = value5 === active ? value5 : 2; } else { r31 = activityState; } (importDefault(4519) /* metro dependency 4519 */)(false, '[RNScreens] Using featureFlags `ios26AllowInteractionsDuringTransition` with `iosPreventReattachmentOfDismissedScreens` disabled is discouraged and will result in visual bugs on screen transitions. See flags description for details.'); if (isNativeStack) { if (value2 === value3) { r6 = r6 && (value2 !== shouldFreeze ? shouldFreeze : value5 === r31); defaultImport2 = importDefault(4520) /* metro dependency 4520 */; object = {freeze: r6}; Object = global.Object; assign = Object.assign; object3 = {onAppear: onAppear, onDisappear: onDisappear, onWillAppear: onWillAppear, onWillDisappear: onWillDisappear}; object3.onGestureCancel = onGestureCancel ?? (function() { }); object3.style = [style, {zIndex: value2}]; object3.activityState = r31; object3.screenId = screenId; object3.sheetAllowedDetents = sheetAllowedDetents2; object3.sheetLargestUndimmedDetent = sheetLargestUndimmedDetent; object3.sheetElevation = r27; object3.sheetShouldOverflowTopInset = r26; object3.sheetDefaultResizeAnimationEnabled = r25; object3.sheetGrabberVisible = r24; object3.sheetCornerRadius = r23; object3.sheetExpandsWhenScrolledToEdge = r20; object3.sheetInitialDetent = sheetInitialDetentIndex2; object3.fullScreenSwipeEnabled = (require(4522) /* metro dependency 4522 */).parseBooleanToOptionalBooleanNativeProp(fullScreenSwipeEnabled); object5 = {}; r20 = (gestureResponseDistance == null ? value2 : gestureResponseDistance.start) ?? value18; object5.start = r20; r20 = (gestureResponseDistance == null ? value2 : gestureResponseDistance.end) ?? value18; object5.end = r20; top = gestureResponseDistance == null ? value2 : gestureResponseDistance.top; r20 = top ?? value18; object5.top = r20; bottom = gestureResponseDistance == null ? value2 : gestureResponseDistance.bottom; object5.bottom = bottom ?? value18; object3.gestureResponseDistance = object5; object3.ref = ref_38584; object3.onTransitionProgress = isNativeStack ? Animated.event([{nativeEvent: {progress: current2, closing: current, goingForward: current3}}], {useNativeDriver: true}) : value2; bottom = scrollEdgeEffects == null ? value2 : scrollEdgeEffects.bottom; object3.bottomScrollEdgeEffect = bottom; object3.leftScrollEdgeEffect = scrollEdgeEffects == null ? value2 : scrollEdgeEffects.left; object3.rightScrollEdgeEffect = scrollEdgeEffects == null ? value2 : scrollEdgeEffects.right; top = scrollEdgeEffects == null ? value2 : scrollEdgeEffects.top; object3.topScrollEdgeEffect = top; experiment = (importDefault(4523) /* metro dependency 4523 */).experiment; object3.synchronousShadowStateUpdatesEnabled = experiment.synchronousScreenUpdatesEnabled; experiment = (importDefault(4523) /* metro dependency 4523 */).experiment; object3.androidResetScreenShadowStateOnOrientationChangeEnabled = experiment.androidResetScreenShadowStateOnOrientationChangeEnabled; experiment = (importDefault(4523) /* metro dependency 4523 */).experiment; object3.ios26AllowInteractionsDuringTransition = experiment.ios26AllowInteractionsDuringTransition; object3.children = ( isNativeStack ? ((Provider) => {children})((importDefault(4524) /* metro dependency 4524 */).Provider) : children ); return ((Component) => {((Component) => )(binding)})(defaultImport2); } if (value2 === r31) { r6 = r6 && (value2 !== shouldFreeze ? shouldFreeze : value5 === r31); defaultImport2 = importDefault(4520) /* metro dependency 4520 */; object = {freeze: r6}; Object = global.Object; assign = Object.assign; object3 = {onAppear: onAppear, onDisappear: onDisappear, onWillAppear: onWillAppear, onWillDisappear: onWillDisappear}; object3.onGestureCancel = onGestureCancel ?? _fun38583; object3.style = [style, {zIndex: value2}]; object3.activityState = r31; object3.screenId = screenId; object3.sheetAllowedDetents = sheetAllowedDetents2; object3.sheetLargestUndimmedDetent = sheetLargestUndimmedDetent; object3.sheetElevation = r27; object3.sheetShouldOverflowTopInset = r26; object3.sheetDefaultResizeAnimationEnabled = r25; object3.sheetGrabberVisible = r24; object3.sheetCornerRadius = r23; object3.sheetExpandsWhenScrolledToEdge = r20; object3.sheetInitialDetent = sheetInitialDetentIndex2; object3.fullScreenSwipeEnabled = (require(4522) /* metro dependency 4522 */).parseBooleanToOptionalBooleanNativeProp(fullScreenSwipeEnabled); object5 = {}; r20 = (gestureResponseDistance == null ? value2 : gestureResponseDistance.start) ?? value18; object5.start = r20; r20 = (gestureResponseDistance == null ? value2 : gestureResponseDistance.end) ?? value18; object5.end = r20; top = gestureResponseDistance == null ? value2 : gestureResponseDistance.top; r20 = top ?? value18; object5.top = r20; bottom = gestureResponseDistance == null ? value2 : gestureResponseDistance.bottom; object5.bottom = bottom ?? value18; object3.gestureResponseDistance = object5; object3.ref = ref_38584; object3.onTransitionProgress = isNativeStack ? Animated.event([{nativeEvent: {progress: current2, closing: current, goingForward: current3}}], {useNativeDriver: true}) : value2; bottom = scrollEdgeEffects == null ? value2 : scrollEdgeEffects.bottom; object3.bottomScrollEdgeEffect = bottom; object3.leftScrollEdgeEffect = scrollEdgeEffects == null ? value2 : scrollEdgeEffects.left; object3.rightScrollEdgeEffect = scrollEdgeEffects == null ? value2 : scrollEdgeEffects.right; top = scrollEdgeEffects == null ? value2 : scrollEdgeEffects.top; object3.topScrollEdgeEffect = top; experiment = (importDefault(4523) /* metro dependency 4523 */).experiment; object3.synchronousShadowStateUpdatesEnabled = experiment.synchronousScreenUpdatesEnabled; experiment = (importDefault(4523) /* metro dependency 4523 */).experiment; object3.androidResetScreenShadowStateOnOrientationChangeEnabled = experiment.androidResetScreenShadowStateOnOrientationChangeEnabled; experiment = (importDefault(4523) /* metro dependency 4523 */).experiment; object3.ios26AllowInteractionsDuringTransition = experiment.ios26AllowInteractionsDuringTransition; object3.children = ( isNativeStack ? ((Provider) => {children})((importDefault(4524) /* metro dependency 4524 */).Provider) : children ); return ((Component) => {((Component) => )(binding)})(defaultImport2); } if (value3 > r31) { throw new global.Error('[RNScreens] activityState cannot be decreased in NativeStack'); } r6 = r6 && (value2 !== shouldFreeze ? shouldFreeze : value5 === r31); defaultImport2 = importDefault(4520) /* metro dependency 4520 */; object = {freeze: r6}; Object = global.Object; assign = Object.assign; object3 = {onAppear: onAppear, onDisappear: onDisappear, onWillAppear: onWillAppear, onWillDisappear: onWillDisappear}; object3.onGestureCancel = onGestureCancel ?? _fun38583; object3.style = [style, {zIndex: value2}]; object3.activityState = r31; object3.screenId = screenId; object3.sheetAllowedDetents = sheetAllowedDetents2; object3.sheetLargestUndimmedDetent = sheetLargestUndimmedDetent; object3.sheetElevation = r27; object3.sheetShouldOverflowTopInset = r26; object3.sheetDefaultResizeAnimationEnabled = r25; object3.sheetGrabberVisible = r24; object3.sheetCornerRadius = r23; object3.sheetExpandsWhenScrolledToEdge = r20; object3.sheetInitialDetent = sheetInitialDetentIndex2; object3.fullScreenSwipeEnabled = (require(4522) /* metro dependency 4522 */).parseBooleanToOptionalBooleanNativeProp(fullScreenSwipeEnabled); object5 = {}; r20 = (gestureResponseDistance == null ? value2 : gestureResponseDistance.start) ?? value18; object5.start = r20; r20 = (gestureResponseDistance == null ? value2 : gestureResponseDistance.end) ?? value18; object5.end = r20; top = gestureResponseDistance == null ? value2 : gestureResponseDistance.top; r20 = top ?? value18; object5.top = r20; bottom = gestureResponseDistance == null ? value2 : gestureResponseDistance.bottom; object5.bottom = bottom ?? value18; object3.gestureResponseDistance = object5; object3.ref = ref_38584; object3.onTransitionProgress = isNativeStack ? Animated.event([{nativeEvent: {progress: current2, closing: current, goingForward: current3}}], {useNativeDriver: true}) : value2; bottom = scrollEdgeEffects == null ? value2 : scrollEdgeEffects.bottom; object3.bottomScrollEdgeEffect = bottom; object3.leftScrollEdgeEffect = scrollEdgeEffects == null ? value2 : scrollEdgeEffects.left; object3.rightScrollEdgeEffect = scrollEdgeEffects == null ? value2 : scrollEdgeEffects.right; top = scrollEdgeEffects == null ? value2 : scrollEdgeEffects.top; object3.topScrollEdgeEffect = top; experiment = (importDefault(4523) /* metro dependency 4523 */).experiment; object3.synchronousShadowStateUpdatesEnabled = experiment.synchronousScreenUpdatesEnabled; experiment = (importDefault(4523) /* metro dependency 4523 */).experiment; object3.androidResetScreenShadowStateOnOrientationChangeEnabled = experiment.androidResetScreenShadowStateOnOrientationChangeEnabled; experiment = (importDefault(4523) /* metro dependency 4523 */).experiment; object3.ios26AllowInteractionsDuringTransition = experiment.ios26AllowInteractionsDuringTransition; object3.children = ( isNativeStack ? ((Provider) => {children})((importDefault(4524) /* metro dependency 4524 */).Provider) : children ); return ((Component) => {((Component) => )(binding)})(defaultImport2); } r6 = r6 && (value2 !== shouldFreeze ? shouldFreeze : value5 === r31); defaultImport2 = importDefault(4520) /* metro dependency 4520 */; object = {freeze: r6}; Object = global.Object; assign = Object.assign; object3 = {onAppear: onAppear, onDisappear: onDisappear, onWillAppear: onWillAppear, onWillDisappear: onWillDisappear}; object3.onGestureCancel = onGestureCancel ?? _fun38583; object3.style = [style, {zIndex: value2}]; object3.activityState = r31; object3.screenId = screenId; object3.sheetAllowedDetents = sheetAllowedDetents2; object3.sheetLargestUndimmedDetent = sheetLargestUndimmedDetent; object3.sheetElevation = r27; object3.sheetShouldOverflowTopInset = r26; object3.sheetDefaultResizeAnimationEnabled = r25; object3.sheetGrabberVisible = r24; object3.sheetCornerRadius = r23; object3.sheetExpandsWhenScrolledToEdge = r20; object3.sheetInitialDetent = sheetInitialDetentIndex2; object3.fullScreenSwipeEnabled = (require(4522) /* metro dependency 4522 */).parseBooleanToOptionalBooleanNativeProp(fullScreenSwipeEnabled); object5 = {}; r20 = (gestureResponseDistance == null ? value2 : gestureResponseDistance.start) ?? value18; object5.start = r20; r20 = (gestureResponseDistance == null ? value2 : gestureResponseDistance.end) ?? value18; object5.end = r20; top = gestureResponseDistance == null ? value2 : gestureResponseDistance.top; r20 = top ?? value18; object5.top = r20; bottom = gestureResponseDistance == null ? value2 : gestureResponseDistance.bottom; object5.bottom = bottom ?? value18; object3.gestureResponseDistance = object5; object3.ref = ref_38584; object3.onTransitionProgress = isNativeStack ? Animated.event([{nativeEvent: {progress: current2, closing: current, goingForward: current3}}], {useNativeDriver: true}) : value2; bottom = scrollEdgeEffects == null ? value2 : scrollEdgeEffects.bottom; object3.bottomScrollEdgeEffect = bottom; object3.leftScrollEdgeEffect = scrollEdgeEffects == null ? value2 : scrollEdgeEffects.left; object3.rightScrollEdgeEffect = scrollEdgeEffects == null ? value2 : scrollEdgeEffects.right; top = scrollEdgeEffects == null ? value2 : scrollEdgeEffects.top; object3.topScrollEdgeEffect = top; experiment = (importDefault(4523) /* metro dependency 4523 */).experiment; object3.synchronousShadowStateUpdatesEnabled = experiment.synchronousScreenUpdatesEnabled; experiment = (importDefault(4523) /* metro dependency 4523 */).experiment; object3.androidResetScreenShadowStateOnOrientationChangeEnabled = experiment.androidResetScreenShadowStateOnOrientationChangeEnabled; experiment = (importDefault(4523) /* metro dependency 4523 */).experiment; object3.ios26AllowInteractionsDuringTransition = experiment.ios26AllowInteractionsDuringTransition; object3.children = ( isNativeStack ? ((Provider) => {children})((importDefault(4524) /* metro dependency 4524 */).Provider) : children ); return ((Component) => {((Component) => )(binding)})(defaultImport2); } } active = value16.active; activityState = value16.activityState; style = value16.style; value16.onComponentRef; const value23 = ObjectWithoutProperties(value16, env0_5); const r32 = value2 !== active && value2 === activityState ? value5 === active ? value5 : 2 : activityState; const View = Animated.View; Object = global.Object; return ; function _fun38581() { // fn#38581, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4692:582, offset: 0x010c45f2, size: 14 bytes, params: 1, frame: 1 return env0_1.current; } function InnerScreenRef(a0) { // fn#38582, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4692:661, owner: InnerScreen.ref, offset: 0x010c4600, size: 51 bytes, params: 2, frame: 12 env0_1.current = a0; if (env0_0.onComponentRef != null) { env0_0.onComponentRef(a0); } } function InnerScreenRef_38584(a0) { // fn#38584, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4692:3391, owner: InnerScreen.ref, offset: 0x010c4633, size: 345 bytes, params: 2, frame: 18 var r1; var r4; var r3; var viewConfig; var validAttributes; var _viewConfig; var value; var __viewConfig; var Object; var assign; if (a0 == null) { if (a0 == null) { value = a0 != null; if (value) { __viewConfig = a0.__viewConfig; r1 = __viewConfig != null; r4 = __viewConfig; } else { r1 = value; r4 = undefined; } if (r1) { validAttributes = r4.validAttributes; r1 = validAttributes != null; r3 = validAttributes; } else { r3 = r4; } r1 = r1 && r3.style; if (r1) { __viewConfig = a0.__viewConfig; validAttributes = __viewConfig.validAttributes; Object = global.Object; assign = Object.assign; __viewConfig = a0.__viewConfig; validAttributes.style = Reflect.apply(assign, Object, [{}, __viewConfig.validAttributes.style, {display: null}]); } } else { _viewConfig = a0._viewConfig; if (_viewConfig == null) { value = a0 != null; if (value) { __viewConfig = a0.__viewConfig; r1 = __viewConfig != null; r4 = __viewConfig; } else { r1 = value; r4 = undefined; } if (r1) { validAttributes = r4.validAttributes; r1 = validAttributes != null; r3 = validAttributes; } else { r3 = r4; } r1 = r1 && r3.style; if (r1) { __viewConfig = a0.__viewConfig; validAttributes = __viewConfig.validAttributes; Object = global.Object; assign = Object.assign; __viewConfig = a0.__viewConfig; validAttributes.style = Reflect.apply(assign, Object, [{}, __viewConfig.validAttributes.style, {display: null}]); } } else { validAttributes = _viewConfig.validAttributes; if (validAttributes == null) { value = a0 != null; if (value) { __viewConfig = a0.__viewConfig; r1 = __viewConfig != null; r4 = __viewConfig; } else { r1 = value; r4 = undefined; } if (r1) { validAttributes = r4.validAttributes; r1 = validAttributes != null; r3 = validAttributes; } else { r3 = r4; } r1 = r1 && r3.style; if (r1) { __viewConfig = a0.__viewConfig; validAttributes = __viewConfig.validAttributes; Object = global.Object; assign = Object.assign; __viewConfig = a0.__viewConfig; validAttributes.style = Reflect.apply(assign, Object, [{}, __viewConfig.validAttributes.style, {display: null}]); } } else if (validAttributes.style) { _viewConfig = a0._viewConfig; validAttributes = _viewConfig.validAttributes; Object = global.Object; assign = Object.assign; _viewConfig = a0._viewConfig; validAttributes.style = Reflect.apply(assign, Object, [{}, _viewConfig.validAttributes.style, {display: null}]); } else { value = a0 != null; if (value) { __viewConfig = a0.__viewConfig; r1 = __viewConfig != null; r4 = __viewConfig; } else { r1 = value; r4 = undefined; } if (r1) { validAttributes = r4.validAttributes; r1 = validAttributes != null; r3 = validAttributes; } else { r3 = r4; } r1 = r1 && r3.style; if (r1) { __viewConfig = a0.__viewConfig; validAttributes = __viewConfig.validAttributes; Object = global.Object; assign = Object.assign; __viewConfig = a0.__viewConfig; validAttributes.style = Reflect.apply(assign, Object, [{}, __viewConfig.validAttributes.style, {display: null}]); } } } } } else { viewConfig = a0.viewConfig; if (viewConfig == null) { if (a0 == null) { value = a0 != null; if (value) { __viewConfig = a0.__viewConfig; r1 = __viewConfig != null; r4 = __viewConfig; } else { r1 = value; r4 = undefined; } if (r1) { validAttributes = r4.validAttributes; r1 = validAttributes != null; r3 = validAttributes; } else { r3 = r4; } r1 = r1 && r3.style; if (r1) { __viewConfig = a0.__viewConfig; validAttributes = __viewConfig.validAttributes; Object = global.Object; assign = Object.assign; __viewConfig = a0.__viewConfig; validAttributes.style = Reflect.apply(assign, Object, [{}, __viewConfig.validAttributes.style, {display: null}]); } } else { _viewConfig = a0._viewConfig; if (_viewConfig == null) { value = a0 != null; if (value) { __viewConfig = a0.__viewConfig; r1 = __viewConfig != null; r4 = __viewConfig; } else { r1 = value; r4 = undefined; } if (r1) { validAttributes = r4.validAttributes; r1 = validAttributes != null; r3 = validAttributes; } else { r3 = r4; } r1 = r1 && r3.style; if (r1) { __viewConfig = a0.__viewConfig; validAttributes = __viewConfig.validAttributes; Object = global.Object; assign = Object.assign; __viewConfig = a0.__viewConfig; validAttributes.style = Reflect.apply(assign, Object, [{}, __viewConfig.validAttributes.style, {display: null}]); } } else { validAttributes = _viewConfig.validAttributes; if (validAttributes == null) { value = a0 != null; if (value) { __viewConfig = a0.__viewConfig; r1 = __viewConfig != null; r4 = __viewConfig; } else { r1 = value; r4 = undefined; } if (r1) { validAttributes = r4.validAttributes; r1 = validAttributes != null; r3 = validAttributes; } else { r3 = r4; } r1 = r1 && r3.style; if (r1) { __viewConfig = a0.__viewConfig; validAttributes = __viewConfig.validAttributes; Object = global.Object; assign = Object.assign; __viewConfig = a0.__viewConfig; validAttributes.style = Reflect.apply(assign, Object, [{}, __viewConfig.validAttributes.style, {display: null}]); } } else if (validAttributes.style) { _viewConfig = a0._viewConfig; validAttributes = _viewConfig.validAttributes; Object = global.Object; assign = Object.assign; _viewConfig = a0._viewConfig; validAttributes.style = Reflect.apply(assign, Object, [{}, _viewConfig.validAttributes.style, {display: null}]); } else { value = a0 != null; if (value) { __viewConfig = a0.__viewConfig; r1 = __viewConfig != null; r4 = __viewConfig; } else { r1 = value; r4 = undefined; } if (r1) { validAttributes = r4.validAttributes; r1 = validAttributes != null; r3 = validAttributes; } else { r3 = r4; } r1 = r1 && r3.style; if (r1) { __viewConfig = a0.__viewConfig; validAttributes = __viewConfig.validAttributes; Object = global.Object; assign = Object.assign; __viewConfig = a0.__viewConfig; validAttributes.style = Reflect.apply(assign, Object, [{}, __viewConfig.validAttributes.style, {display: null}]); } } } } } else { validAttributes = viewConfig.validAttributes; if (validAttributes == null) { if (a0 == null) { value = a0 != null; if (value) { __viewConfig = a0.__viewConfig; r1 = __viewConfig != null; r4 = __viewConfig; } else { r1 = value; r4 = undefined; } if (r1) { validAttributes = r4.validAttributes; r1 = validAttributes != null; r3 = validAttributes; } else { r3 = r4; } r1 = r1 && r3.style; if (r1) { __viewConfig = a0.__viewConfig; validAttributes = __viewConfig.validAttributes; Object = global.Object; assign = Object.assign; __viewConfig = a0.__viewConfig; validAttributes.style = Reflect.apply(assign, Object, [{}, __viewConfig.validAttributes.style, {display: null}]); } } else { _viewConfig = a0._viewConfig; if (_viewConfig == null) { value = a0 != null; if (value) { __viewConfig = a0.__viewConfig; r1 = __viewConfig != null; r4 = __viewConfig; } else { r1 = value; r4 = undefined; } if (r1) { validAttributes = r4.validAttributes; r1 = validAttributes != null; r3 = validAttributes; } else { r3 = r4; } r1 = r1 && r3.style; if (r1) { __viewConfig = a0.__viewConfig; validAttributes = __viewConfig.validAttributes; Object = global.Object; assign = Object.assign; __viewConfig = a0.__viewConfig; validAttributes.style = Reflect.apply(assign, Object, [{}, __viewConfig.validAttributes.style, {display: null}]); } } else { validAttributes = _viewConfig.validAttributes; if (validAttributes == null) { value = a0 != null; if (value) { __viewConfig = a0.__viewConfig; r1 = __viewConfig != null; r4 = __viewConfig; } else { r1 = value; r4 = undefined; } if (r1) { validAttributes = r4.validAttributes; r1 = validAttributes != null; r3 = validAttributes; } else { r3 = r4; } r1 = r1 && r3.style; if (r1) { __viewConfig = a0.__viewConfig; validAttributes = __viewConfig.validAttributes; Object = global.Object; assign = Object.assign; __viewConfig = a0.__viewConfig; validAttributes.style = Reflect.apply(assign, Object, [{}, __viewConfig.validAttributes.style, {display: null}]); } } else if (validAttributes.style) { _viewConfig = a0._viewConfig; validAttributes = _viewConfig.validAttributes; Object = global.Object; assign = Object.assign; _viewConfig = a0._viewConfig; validAttributes.style = Reflect.apply(assign, Object, [{}, _viewConfig.validAttributes.style, {display: null}]); } else { value = a0 != null; if (value) { __viewConfig = a0.__viewConfig; r1 = __viewConfig != null; r4 = __viewConfig; } else { r1 = value; r4 = undefined; } if (r1) { validAttributes = r4.validAttributes; r1 = validAttributes != null; r3 = validAttributes; } else { r3 = r4; } r1 = r1 && r3.style; if (r1) { __viewConfig = a0.__viewConfig; validAttributes = __viewConfig.validAttributes; Object = global.Object; assign = Object.assign; __viewConfig = a0.__viewConfig; validAttributes.style = Reflect.apply(assign, Object, [{}, __viewConfig.validAttributes.style, {display: null}]); } } } } } else if (validAttributes.style) { viewConfig = a0.viewConfig; validAttributes = viewConfig.validAttributes; Object = global.Object; assign = Object.assign; viewConfig = a0.viewConfig; validAttributes.style = Reflect.apply(assign, Object, [{}, viewConfig.validAttributes.style, {display: null}]); } else if (a0 == null) { value = a0 != null; if (value) { __viewConfig = a0.__viewConfig; r1 = __viewConfig != null; r4 = __viewConfig; } else { r1 = value; r4 = undefined; } if (r1) { validAttributes = r4.validAttributes; r1 = validAttributes != null; r3 = validAttributes; } else { r3 = r4; } r1 = r1 && r3.style; if (r1) { __viewConfig = a0.__viewConfig; validAttributes = __viewConfig.validAttributes; Object = global.Object; assign = Object.assign; __viewConfig = a0.__viewConfig; validAttributes.style = Reflect.apply(assign, Object, [{}, __viewConfig.validAttributes.style, {display: null}]); } } else { _viewConfig = a0._viewConfig; if (_viewConfig == null) { value = a0 != null; if (value) { __viewConfig = a0.__viewConfig; r1 = __viewConfig != null; r4 = __viewConfig; } else { r1 = value; r4 = undefined; } if (r1) { validAttributes = r4.validAttributes; r1 = validAttributes != null; r3 = validAttributes; } else { r3 = r4; } r1 = r1 && r3.style; if (r1) { __viewConfig = a0.__viewConfig; validAttributes = __viewConfig.validAttributes; Object = global.Object; assign = Object.assign; __viewConfig = a0.__viewConfig; validAttributes.style = Reflect.apply(assign, Object, [{}, __viewConfig.validAttributes.style, {display: null}]); } } else { validAttributes = _viewConfig.validAttributes; if (validAttributes == null) { value = a0 != null; if (value) { __viewConfig = a0.__viewConfig; r1 = __viewConfig != null; r4 = __viewConfig; } else { r1 = value; r4 = undefined; } if (r1) { validAttributes = r4.validAttributes; r1 = validAttributes != null; r3 = validAttributes; } else { r3 = r4; } r1 = r1 && r3.style; if (r1) { __viewConfig = a0.__viewConfig; validAttributes = __viewConfig.validAttributes; Object = global.Object; assign = Object.assign; __viewConfig = a0.__viewConfig; validAttributes.style = Reflect.apply(assign, Object, [{}, __viewConfig.validAttributes.style, {display: null}]); } } else if (validAttributes.style) { _viewConfig = a0._viewConfig; validAttributes = _viewConfig.validAttributes; Object = global.Object; assign = Object.assign; _viewConfig = a0._viewConfig; validAttributes.style = Reflect.apply(assign, Object, [{}, _viewConfig.validAttributes.style, {display: null}]); } else { value = a0 != null; if (value) { __viewConfig = a0.__viewConfig; r1 = __viewConfig != null; r4 = __viewConfig; } else { r1 = value; r4 = undefined; } if (r1) { validAttributes = r4.validAttributes; r1 = validAttributes != null; r3 = validAttributes; } else { r3 = r4; } r1 = r1 && r3.style; if (r1) { __viewConfig = a0.__viewConfig; validAttributes = __viewConfig.validAttributes; Object = global.Object; assign = Object.assign; __viewConfig = a0.__viewConfig; validAttributes.style = Reflect.apply(assign, Object, [{}, __viewConfig.validAttributes.style, {display: null}]); } } } } } } ref_38582(a0); } } function _fun38585(a0, a1) { // fn#38585, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4692:4920, offset: 0x010c478c, size: 77 bytes, params: 3, frame: 17 const r3 = env0_7.useContext(env0_12) || env0_11; const Object = global.Object; return ((Component) => )(r3); } } function _fun38583() { // fn#38583, offset: 0x00c37b63, size: 4 bytes, params: 1, frame: 1 } global.__d(_fun38579, 4514, [29, 31, 27, 33, 4515, 4516, 4517, 4513, 4518, 4519, 4520, 4522, 4523, 4524]) /* metro module 4514, dependencies: [29, 31, 27, 33, 4515, 4516, 4517, 4513, 4518, 4519, 4520, 4522, 4523, 4524] */;