// Module ID: 9646 // Function ID: 9647 // Name: LottieType // Dependencies: [1924, 8248, 9647, 9648, 9649, 9650, 9651, 9652, 9653, 9654, 9655, 9656, 9657, 9658, 9659, 9660, 9661, 9662, 9663, 9664, 9665, 9666, 9667, 9668, 9669, 9670, 2] // Exports: getGiftAnimationData, getLottieType // Module 9646 (LottieType) import { PremiumGiftStyles } from "GuildFeatures"; const obj = { JSON: 0, [0]: "JSON", LOTTIE: 1, [1]: "LOTTIE" }; const result = require("module_9647").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 (require(8248) /* _sendGiftMessage */.AnimationState.IDLE === ACTION) { return tmp17(9647); } else if (tmp17(8248).AnimationState.LOOP === ACTION) { return tmp17(9648); } else { return tmp17(9649); } } else if (tmp.CAKE === giftStyle) { if (require(8248) /* _sendGiftMessage */.AnimationState.IDLE === ACTION) { return tmp15(9650); } else if (tmp15(8248).AnimationState.LOOP === ACTION) { return tmp15(9651); } else { return tmp15(9652); } } else if (tmp.CHEST === giftStyle) { if (require(8248) /* _sendGiftMessage */.AnimationState.IDLE === ACTION) { return tmp13(9653); } else if (tmp13(8248).AnimationState.LOOP === ACTION) { return tmp13(9654); } else { return tmp13(9655); } } else if (tmp.COFFEE === giftStyle) { if (require(8248) /* _sendGiftMessage */.AnimationState.IDLE === ACTION) { return tmp11(9656); } else if (tmp11(8248).AnimationState.LOOP === ACTION) { return tmp11(9657); } else { return tmp11(9658); } } else if (tmp.SEASONAL_STANDARD_BOX === giftStyle) { if (require(8248) /* _sendGiftMessage */.AnimationState.IDLE === ACTION) { return tmp9(9659); } else if (tmp9(8248).AnimationState.LOOP === ACTION) { return tmp9(9660); } else { return tmp9(9661); } } else if (tmp.SEASONAL_CAKE === giftStyle) { if (require(8248) /* _sendGiftMessage */.AnimationState.IDLE === ACTION) { return tmp7(9662); } else if (tmp7(8248).AnimationState.LOOP === ACTION) { return tmp7(9663); } else { return tmp7(9664); } } else if (tmp.SEASONAL_CHEST === giftStyle) { if (require(8248) /* _sendGiftMessage */.AnimationState.IDLE === ACTION) { return tmp5(9665); } else if (tmp5(8248).AnimationState.LOOP === ACTION) { return tmp5(9666); } else { return tmp5(9667); } } else if (tmp.SEASONAL_COFFEE === giftStyle) { if (require(8248) /* _sendGiftMessage */.AnimationState.IDLE === ACTION) { return tmp3(9668); } else if (tmp3(8248).AnimationState.LOOP === ACTION) { return tmp3(9669); } else { return tmp3(9670); } } else { if (tmp.SNOWGLOBE !== giftStyle) { if (tmp.BOX !== giftStyle) { const CUP = tmp.CUP; } } const _Error = Error; throw Error(); } };