/* Metro module 5418; source: unknown; dependencies: [57, 29, 31, 27, 33, 1485] */ function _fun47732(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#47732, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5596:6, offset: 0x011cb0ee, size: 230 bytes, params: 8, frame: 19 const env0_0 = require; const env0_2 = ['onPressIn', 'onPressOut', 'android_ripple', 'pressColor', 'pressOpacity', 'style']; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const env0_3 = importDefault(57) /* metro dependency 57 */; const env0_4 = importDefault(29) /* metro dependency 29 */; const env0_5 = importAll(31) /* metro dependency 31 */; const value = require(27) /* metro dependency 27 */; const Animated = value.Animated; const env0_7 = value.Easing; const Platform = value.Platform; const Pressable = value.Pressable; const env0_8 = (require(33) /* metro dependency 33 */).jsx; const env0_9 = Animated.createAnimatedComponent(Pressable); const Version = Platform.Version; const result = Version >= 21; exports.default = PlatformPressable_47733; } function PlatformPressable_47733(a0) { // fn#47733, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5596:347, offset: 0x011cb1d4, size: 323 bytes, params: 2, frame: 28 const env0_0 = a0.onPressIn; const env0_1 = a0.onPressOut; const android_ripple = a0.android_ripple; const pressColor = a0.pressColor; const pressOpacity = a0.pressOpacity; const value = 0.3; const value2 = undefined; const env0_2 = value2 === pressOpacity ? value : pressOpacity; const style = a0.style; let binding = env0_4; const value3 = binding(a0, env0_2); const moduleValue = require(1485) /* metro dependency 1485 */; const useTheme = moduleValue.useTheme; const dark = Reflect.apply(useTheme, moduleValue, []).dark; const value4 = env0_5.useState(_fun47734); const value5 = 1; const property = env0_3(value4, value5)[0]; binding = env0_9; const Object = global.Object; return ((Component) => )(binding); } function _fun47734() { // fn#47734, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5596:538, offset: 0x011cb317, size: 38 bytes, params: 1, frame: 11 let value = environment.__proto__; const Value = Animated.Value; value = Object.create(Value.prototype, {constructor: {value: Value}}); const value2 = new Value(1); return value2 instanceof Object ? value2 : value; } function PlatformPressable_47733AnimateTo(a0, a1) { // fn#47735, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5596:588, owner: PlatformPressable_47733.animateTo, offset: 0x011cb33d, size: 96 bytes, params: 3, frame: 16 const value = environment.__proto__; if (!result) { Animated.timing(env0_3, {toValue: a0, duration: a1, easing: Easing.inOut(Easing.quad), useNativeDriver: true}).start(); } } function PlatformPressable_47733OnPressIn(a0) { // fn#47736, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5596:737, owner: PlatformPressable_47733.onPressIn, offset: 0x011cb39d, size: 45 bytes, params: 2, frame: 14 PlatformPressable_47733AnimateTo(env0_2, 0); if (onPressIn != null) { onPressIn(a0); } }