// Module ID: 10828 // Function ID: 10829 // Name: LottieType // Dependencies: [1923, 8003, 10829, 10830, 10831, 10832, 10833, 10834, 10835, 10836, 10837, 10838, 10839, 10840, 10841, 10842, 10843, 10844, 10845, 10846, 10847, 10848, 10849, 10850, 10851, 10852, 2] // Exports: getGiftAnimationData, getLottieType // Module 10828 (LottieType) import set from "set" /* 2 */; import GuildFeatures from "GuildFeatures" /* 1923 */; import _sendGiftMessage from "_sendGiftMessage" /* 8003 */; const PremiumGiftStyles = GuildFeatures.PremiumGiftStyles; const obj = { JSON: 0, [0]: "JSON", LOTTIE: 1, [1]: "LOTTIE" }; const result = set.fileFinishedImporting("modules/premium/native/utils/GiftAnimationData.tsx"); export const LottieType = obj; export const getLottieType = function getLottieType(giftStyle) { if (giftStyle === PremiumGiftStyles.NITROWEEN_STANDARD) { let _JSON = obj.LOTTIE; } else { _JSON = obj.JSON; } return _JSON; }; export const getGiftAnimationData = function getGiftAnimationData(giftStyle, ACTION) { if (PremiumGiftStyles.STANDARD_BOX === giftStyle) { if (_sendGiftMessage.AnimationState.IDLE === ACTION) { return tmp17(10829); } else if (tmp17(8003).AnimationState.LOOP === ACTION) { return tmp17(10830); } else { return tmp17(10831); } } else if (tmp.CAKE === giftStyle) { if (_sendGiftMessage.AnimationState.IDLE === ACTION) { return tmp15(10832); } else if (tmp15(8003).AnimationState.LOOP === ACTION) { return tmp15(10833); } else { return tmp15(10834); } } else if (tmp.CHEST === giftStyle) { if (_sendGiftMessage.AnimationState.IDLE === ACTION) { return tmp13(10835); } else if (tmp13(8003).AnimationState.LOOP === ACTION) { return tmp13(10836); } else { return tmp13(10837); } } else if (tmp.COFFEE === giftStyle) { if (_sendGiftMessage.AnimationState.IDLE === ACTION) { return tmp11(10838); } else if (tmp11(8003).AnimationState.LOOP === ACTION) { return tmp11(10839); } else { return tmp11(10840); } } else if (tmp.SEASONAL_STANDARD_BOX === giftStyle) { if (_sendGiftMessage.AnimationState.IDLE === ACTION) { return tmp9(10841); } else if (tmp9(8003).AnimationState.LOOP === ACTION) { return tmp9(10842); } else { return tmp9(10843); } } else if (tmp.SEASONAL_CAKE === giftStyle) { if (_sendGiftMessage.AnimationState.IDLE === ACTION) { return tmp7(10844); } else if (tmp7(8003).AnimationState.LOOP === ACTION) { return tmp7(10845); } else { return tmp7(10846); } } else if (tmp.SEASONAL_CHEST === giftStyle) { if (_sendGiftMessage.AnimationState.IDLE === ACTION) { return tmp5(10847); } else if (tmp5(8003).AnimationState.LOOP === ACTION) { return tmp5(10848); } else { return tmp5(10849); } } else if (tmp.SEASONAL_COFFEE === giftStyle) { if (_sendGiftMessage.AnimationState.IDLE === ACTION) { return tmp3(10850); } else if (tmp3(8003).AnimationState.LOOP === ACTION) { return tmp3(10851); } else { return tmp3(10852); } } else { if (tmp.SNOWGLOBE !== giftStyle) { if (tmp.BOX !== giftStyle) { const CUP = tmp.CUP; } } const _Error = Error; throw Error(); } };