2026-09-15 14:23:42 +00:00
|
|
|
// Module ID: 10964
|
|
|
|
|
// Function ID: 10965
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: GiftAnimationData
|
2026-09-15 14:23:42 +00:00
|
|
|
// Dependencies: [1374, 8190, 10965, 10966, 10967, 10968, 10969, 10970, 10971, 10972, 10973, 10974, 10975, 10976, 10977, 10978, 10979, 10980, 10981, 10982, 10983, 10984, 10985, 10986, 10987, 10988, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: getGiftAnimationData, getLottieType
|
|
|
|
|
|
2026-09-15 14:23:42 +00:00
|
|
|
// Module 10964 (GiftAnimationData)
|
|
|
|
|
import PremiumConstants from "PremiumConstants" /* 1374 */;
|
|
|
|
|
import PremiumGiftingUtils from "PremiumGiftingUtils" /* 8190 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const PremiumGiftStyles = PremiumConstants.PremiumGiftStyles;
|
|
|
|
|
const LottieType = { JSON: 0, [0]: "JSON", LOTTIE: 1, [1]: "LOTTIE" };
|
|
|
|
|
const result = size.fileFinishedImporting("modules/premium/native/utils/GiftAnimationData.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
export { LottieType };
|
2026-07-20 16:05:17 +00:00
|
|
|
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) {
|
2026-09-10 05:38:07 +00:00
|
|
|
if (PremiumGiftingUtils.AnimationState.IDLE === ACTION) {
|
2026-09-15 14:23:42 +00:00
|
|
|
return tmp17(10965);
|
|
|
|
|
} else if (tmp17(8190).AnimationState.LOOP === ACTION) {
|
|
|
|
|
return tmp17(10966);
|
2026-09-14 20:04:03 +00:00
|
|
|
} else {
|
2026-09-15 14:23:42 +00:00
|
|
|
return tmp17(10967);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
} else if (tmp.CAKE === giftStyle) {
|
2026-09-10 05:38:07 +00:00
|
|
|
if (PremiumGiftingUtils.AnimationState.IDLE === ACTION) {
|
2026-09-15 14:23:42 +00:00
|
|
|
return tmp15(10968);
|
|
|
|
|
} else if (tmp15(8190).AnimationState.LOOP === ACTION) {
|
|
|
|
|
return tmp15(10969);
|
2026-09-14 20:04:03 +00:00
|
|
|
} else {
|
2026-09-15 14:23:42 +00:00
|
|
|
return tmp15(10970);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
} else if (tmp.CHEST === giftStyle) {
|
2026-09-10 05:38:07 +00:00
|
|
|
if (PremiumGiftingUtils.AnimationState.IDLE === ACTION) {
|
2026-09-15 14:23:42 +00:00
|
|
|
return tmp13(10971);
|
|
|
|
|
} else if (tmp13(8190).AnimationState.LOOP === ACTION) {
|
|
|
|
|
return tmp13(10972);
|
2026-09-14 20:04:03 +00:00
|
|
|
} else {
|
2026-09-15 14:23:42 +00:00
|
|
|
return tmp13(10973);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
} else if (tmp.COFFEE === giftStyle) {
|
2026-09-10 05:38:07 +00:00
|
|
|
if (PremiumGiftingUtils.AnimationState.IDLE === ACTION) {
|
2026-09-15 14:23:42 +00:00
|
|
|
return tmp11(10974);
|
|
|
|
|
} else if (tmp11(8190).AnimationState.LOOP === ACTION) {
|
|
|
|
|
return tmp11(10975);
|
2026-09-14 20:04:03 +00:00
|
|
|
} else {
|
2026-09-15 14:23:42 +00:00
|
|
|
return tmp11(10976);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
} else if (tmp.SEASONAL_STANDARD_BOX === giftStyle) {
|
2026-09-10 05:38:07 +00:00
|
|
|
if (PremiumGiftingUtils.AnimationState.IDLE === ACTION) {
|
2026-09-15 14:23:42 +00:00
|
|
|
return tmp9(10977);
|
|
|
|
|
} else if (tmp9(8190).AnimationState.LOOP === ACTION) {
|
|
|
|
|
return tmp9(10978);
|
2026-09-14 20:04:03 +00:00
|
|
|
} else {
|
2026-09-15 14:23:42 +00:00
|
|
|
return tmp9(10979);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
} else if (tmp.SEASONAL_CAKE === giftStyle) {
|
2026-09-10 05:38:07 +00:00
|
|
|
if (PremiumGiftingUtils.AnimationState.IDLE === ACTION) {
|
2026-09-15 14:23:42 +00:00
|
|
|
return tmp7(10980);
|
|
|
|
|
} else if (tmp7(8190).AnimationState.LOOP === ACTION) {
|
|
|
|
|
return tmp7(10981);
|
2026-09-14 20:04:03 +00:00
|
|
|
} else {
|
2026-09-15 14:23:42 +00:00
|
|
|
return tmp7(10982);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
} else if (tmp.SEASONAL_CHEST === giftStyle) {
|
2026-09-10 05:38:07 +00:00
|
|
|
if (PremiumGiftingUtils.AnimationState.IDLE === ACTION) {
|
2026-09-15 14:23:42 +00:00
|
|
|
return tmp5(10983);
|
|
|
|
|
} else if (tmp5(8190).AnimationState.LOOP === ACTION) {
|
|
|
|
|
return tmp5(10984);
|
2026-09-14 20:04:03 +00:00
|
|
|
} else {
|
2026-09-15 14:23:42 +00:00
|
|
|
return tmp5(10985);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
} else if (tmp.SEASONAL_COFFEE === giftStyle) {
|
2026-09-10 05:38:07 +00:00
|
|
|
if (PremiumGiftingUtils.AnimationState.IDLE === ACTION) {
|
2026-09-15 14:23:42 +00:00
|
|
|
return tmp3(10986);
|
|
|
|
|
} else if (tmp3(8190).AnimationState.LOOP === ACTION) {
|
|
|
|
|
return tmp3(10987);
|
2026-09-14 20:04:03 +00:00
|
|
|
} else {
|
2026-09-15 14:23:42 +00:00
|
|
|
return tmp3(10988);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
} else {
|
2026-07-29 08:29:29 +00:00
|
|
|
if (tmp.SNOWGLOBE !== giftStyle) {
|
|
|
|
|
if (tmp.BOX !== giftStyle) {
|
|
|
|
|
const CUP = tmp.CUP;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
const _Error = Error;
|
|
|
|
|
throw Error();
|
|
|
|
|
}
|
|
|
|
|
};
|