// Module ID: 10296 // Function ID: 10297 // Name: forwardRef // Dependencies: [19, 21, 4315, 1363, 10297, 10300, 2] // Module 10296 (forwardRef) import closure_2 from "noop" /* 19 */; import noop from "noop" /* 19 */; import { jsx } from "jsxProd" /* 21 */; const require = arg1; ({ useRef: c3, useEffect: c4, forwardRef } = noop); const forwardRefResult = forwardRef((animationType, ref) => { animationType = animationType.animationType; dependencyMap = undefined; let obj = animationType(4315); const theme = obj.useTheme(); const obj2 = animationType(1363); const tmp5 = callback(null); dependencyMap = tmp5; const items = [animationType]; callback2(() => { if (null !== animationType) { const current = ref.current; if (current != null) { current.play(); } } }, items); const imperativeHandle = React.useImperativeHandle(ref, () => ({ play() { const current = ref.current; let playResult; if (current != null) { playResult = current.play(); } return playResult; } })); if (isThemeLightResult) { let SpendEarnOrbsLottie = tmp(10297).SpendEarnOrbsLightThemeLottie; } else { SpendEarnOrbsLottie = tmp(10300).SpendEarnOrbsLottie; } obj = { ref: tmp5, size: "custom", width: 60, height: 60, opacity: 0.8, animation: null, useLottieDefaultColors: true }; let str = "spend"; if (null != animationType) { str = animationType; } obj[5] = str; return ; }); forwardRefResult.displayName = "OrbsLottieAnimation"; const result = require("set").fileFinishedImporting("modules/virtual_currency/native/OrbLottieAnimation.tsx"); export default forwardRefResult; export const OrbLottieAnimation = forwardRefResult;