2026-08-24 06:08:38 +00:00
|
|
|
// Module ID: 15706
|
|
|
|
|
// Function ID: 15707
|
|
|
|
|
// Dependencies: [19, 21, 4119, 4671, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
// Module 15706
|
|
|
|
|
import importAllResult from "noop" /* 19 */;
|
|
|
|
|
import { jsx } from "jsxProd" /* 21 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
|
|
|
|
const require = arg1;
|
2026-07-29 08:29:29 +00:00
|
|
|
let c3 = importAllResult;
|
2026-07-20 16:05:17 +00:00
|
|
|
let closure_5 = { code: "function FadeInOutTsx1(){const{opacity}=this.__closure;return{opacity:opacity.get()};}" };
|
|
|
|
|
let closure_6 = { code: "function FadeInOutTsx2(finished){const{runOnJS,handleTransitionFinished}=this.__closure;if(finished){runOnJS(handleTransitionFinished)();}}" };
|
2026-07-29 08:29:29 +00:00
|
|
|
const forwardRefResult = importAllResult.forwardRef((duration, ref) => {
|
2026-07-23 10:11:24 +00:00
|
|
|
duration = duration.duration;
|
2026-07-29 08:29:29 +00:00
|
|
|
let sharedValue;
|
|
|
|
|
ref = undefined;
|
2026-08-24 06:08:38 +00:00
|
|
|
importAllResult = undefined;
|
2026-07-20 16:05:17 +00:00
|
|
|
({ children, style } = duration);
|
2026-07-29 08:29:29 +00:00
|
|
|
sharedValue = duration(ref[2]).useSharedValue(0);
|
2026-07-23 10:11:24 +00:00
|
|
|
let obj = duration(ref[2]);
|
|
|
|
|
let fn = function h() {
|
2026-07-20 16:05:17 +00:00
|
|
|
return { opacity: sharedValue.get() };
|
|
|
|
|
};
|
|
|
|
|
fn.__closure = { opacity: sharedValue };
|
|
|
|
|
fn.__workletHash = 8749472415282;
|
|
|
|
|
fn.__initData = closure_5;
|
2026-07-23 10:11:24 +00:00
|
|
|
const animatedStyle = duration(ref[2]).useAnimatedStyle(fn);
|
|
|
|
|
ref = importAllResult.useRef(null);
|
2026-07-20 16:05:17 +00:00
|
|
|
const items = [ref];
|
2026-07-23 10:11:24 +00:00
|
|
|
importAllResult = importAllResult.useCallback(() => {
|
2026-07-29 08:29:29 +00:00
|
|
|
const current = ref.current;
|
|
|
|
|
if (current != null) {
|
|
|
|
|
current();
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
}, items);
|
2026-07-29 08:29:29 +00:00
|
|
|
const imperativeHandle = importAllResult.useImperativeHandle(ref, () => ({
|
2026-07-20 16:05:17 +00:00
|
|
|
componentDidAppear() {
|
2026-08-24 06:08:38 +00:00
|
|
|
let obj = closure_1_0(closure_1_2[3]);
|
2026-07-29 08:29:29 +00:00
|
|
|
obj = { duration: closure_0 };
|
|
|
|
|
const result = store.set(obj.withTiming(1, obj));
|
2026-07-20 16:05:17 +00:00
|
|
|
},
|
|
|
|
|
componentDidEnter() {
|
2026-08-24 06:08:38 +00:00
|
|
|
let obj = closure_1_0(closure_1_2[3]);
|
2026-07-29 08:29:29 +00:00
|
|
|
obj = { duration: closure_0 };
|
|
|
|
|
const result = store.set(obj.withTiming(1, obj));
|
2026-07-20 16:05:17 +00:00
|
|
|
},
|
|
|
|
|
componentWillLeave(current) {
|
2026-07-29 08:29:29 +00:00
|
|
|
closure_2.current = current;
|
2026-08-24 06:08:38 +00:00
|
|
|
let obj = closure_1_0(closure_1_2[3]);
|
2026-07-29 08:29:29 +00:00
|
|
|
obj = { duration: closure_0 };
|
2026-07-20 16:05:17 +00:00
|
|
|
const fn = function t(arg0) {
|
|
|
|
|
if (arg0) {
|
2026-08-24 06:08:38 +00:00
|
|
|
closure_1_0(closure_1_2[2]).runOnJS(closure_3)();
|
|
|
|
|
const obj = closure_1_0(closure_1_2[2]);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|
2026-08-24 06:08:38 +00:00
|
|
|
obj = { runOnJS: closure_1_0(closure_1_2[2]).runOnJS, handleTransitionFinished: closure_3 };
|
2026-07-20 16:05:17 +00:00
|
|
|
fn.__closure = obj;
|
|
|
|
|
fn.__workletHash = 7644958904451;
|
2026-08-24 06:08:38 +00:00
|
|
|
fn.__initData = closure_1_6;
|
2026-07-29 08:29:29 +00:00
|
|
|
const result = store.set(obj.withTiming(0, obj, "respect-motion-settings", fn));
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
}));
|
|
|
|
|
style = [, ];
|
|
|
|
|
style[0] = style;
|
|
|
|
|
style[1] = animatedStyle;
|
2026-07-23 10:11:24 +00:00
|
|
|
return jsx(sharedValue(ref[2]).View, { style, children });
|
2026-07-20 16:05:17 +00:00
|
|
|
});
|
2026-08-24 06:08:38 +00:00
|
|
|
let result = require("set").fileFinishedImporting("modules/multi_account/native/FadeInOut.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default forwardRefResult;
|