/* Metro module 14755; source: modules/multi_account/native/FadeInOut.tsx; dependencies: [31, 33, 4017, 4504, 2] */ function _fun111403(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#111403, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14952:6, offset: 0x023a0be8, size: 185 bytes, params: 8, frame: 18 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); let value = importAll(31) /* metro dependency 31 */; const env0_4 = (require(33) /* metro dependency 33 */).jsx; object = {code: 'function FadeInOutTsx1(){const{opacity}=this.__closure;return{opacity:opacity.get()};}'}; object = {code: 'function FadeInOutTsx2(finished){const{runOnJS,handleTransitionFinished}=this.__closure;if(finished){runOnJS(handleTransitionFinished)();}}'}; value = value.forwardRef(_fun111404); (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/multi_account/native/FadeInOut.tsx'); exports.default = value; } function _fun111404({children, duration, style}, a1) { // fn#111404, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14952:385, offset: 0x023a0ca1, size: 255 bytes, params: 3, frame: 21 const value2 = (require(4017) /* metro dependency 4017: ReanimatedRexport */).useSharedValue(0); const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */; const useAnimatedStyle = reanimatedRexportModule.useAnimatedStyle; const closure = h_111405; closure.__closure = {opacity: value2}; closure.__workletHash = 8749472415282; closure.__initData = env0_5; const value3 = Reflect.apply(useAnimatedStyle, reanimatedRexportModule, [closure]); const binding = env0_3; var env0_3 = binding.useCallback(_fun111406, [binding.useRef(null)]); binding.useImperativeHandle(a1, function() { return {componentDidAppear: _fun111408, componentDidEnter: _fun111409, componentWillLeave: _fun111410}; }); const View = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).View; return ( {children} ); } function _fun111406() { // fn#111406, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14952:624, offset: 0x023a0da0, size: 35 bytes, params: 1, frame: 10 if (env0_2.current != null) { env0_2.current(); } } function _fun111407() { // fn#111407, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14952:697, offset: 0x023a0dc3, size: 42 bytes, params: 1, frame: 3 return {componentDidAppear: componentDidAppear_111408, componentDidEnter: componentDidEnter_111409, componentWillLeave: componentWillLeave_111410}; } function componentDidAppear_111408() { // fn#111408, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14952:703, offset: 0x023a0ded, size: 68 bytes, params: 1, frame: 16 const binding = env1_1; const set = binding.set; const timingModule = require(4504) /* metro dependency 4504: timing */; Reflect.apply(set, binding, [timingModule.withTiming(1, {duration: duration})]); } function componentWillLeave_111410(a0) { // fn#111410, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14952:830, offset: 0x023a0e31, size: 166 bytes, params: 2, frame: 24 env1_2.current = a0; const binding = env1_1; const set = binding.set; const timingModule = require(4504) /* metro dependency 4504: timing */; const withTiming = timingModule.withTiming; const object3 = {}; object3.duration = duration; const closure = componentWillLeave_111410T; const object4 = {}; object4.runOnJS = (require(4017) /* metro dependency 4017: ReanimatedRexport */).runOnJS; object4.handleTransitionFinished = env1_3; closure.__closure = object4; closure.__workletHash = 7644958904451; closure.__initData = env2_6; Reflect.apply(set, binding, [Reflect.apply(withTiming, timingModule, [0, object3, 'respect-motion-settings', closure])]); } function componentWillLeave_111410T(a0) { // fn#111411, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14952:940, owner: componentWillLeave_111410.t, offset: 0x023a0ed7, size: 56 bytes, params: 2, frame: 12 var value; var runOnJS; var value2; if (a0) { value = environment.__proto__.__proto__.__proto__; value = require(4017) /* metro dependency 4017: ReanimatedRexport */; runOnJS = value.runOnJS; value2 = environment.__proto__.__proto__; Reflect.apply(runOnJS, value, [env2_3])(); } }