116 lines
3.7 KiB
TypeScript
116 lines
3.7 KiB
TypeScript
// Metro module 8779 (f8780).
|
|
import { PremiumGiftStyles } from "../../PremiumConstants";
|
|
import { AnimationState } from "../../PremiumGiftingUtils";
|
|
import * as _Module8780 from "../../../../_bundle/Module8780";
|
|
import * as _Module8781 from "../../../../_bundle/Module8781";
|
|
import * as _Module8782 from "../../../../_bundle/Module8782";
|
|
import * as _Module8783 from "../../../../_bundle/Module8783";
|
|
import * as _Module8784 from "../../../../_bundle/Module8784";
|
|
import * as _Module8785 from "../../../../_bundle/Module8785";
|
|
import * as _Module8786 from "../../../../_bundle/Module8786";
|
|
import * as _Module8787 from "../../../../_bundle/Module8787";
|
|
import * as _Module8788 from "../../../../_bundle/Module8788";
|
|
import * as _Module8789 from "../../../../_bundle/Module8789";
|
|
import * as _Module8790 from "../../../../_bundle/Module8790";
|
|
import * as _Module8791 from "../../../../_bundle/Module8791";
|
|
import * as _Module8792 from "../../../../_bundle/Module8792";
|
|
import * as _Module8793 from "../../../../_bundle/Module8793";
|
|
import * as _Module8794 from "../../../../_bundle/Module8794";
|
|
import * as _Module8795 from "../../../../_bundle/Module8795";
|
|
import * as _Module8796 from "../../../../_bundle/Module8796";
|
|
import * as _Module8797 from "../../../../_bundle/Module8797";
|
|
import * as _Module8798 from "../../../../_bundle/Module8798";
|
|
import * as _Module8799 from "../../../../_bundle/Module8799";
|
|
import * as _Module8800 from "../../../../_bundle/Module8800";
|
|
import * as _Module8801 from "../../../../_bundle/Module8801";
|
|
import * as _Module8802 from "../../../../_bundle/Module8802";
|
|
import * as _Module8803 from "../../../../_bundle/Module8803";
|
|
let c5735_3 = {
|
|
JSON: 0,
|
|
0: "JSON",
|
|
LOTTIE: 1,
|
|
1: "LOTTIE"
|
|
};
|
|
export { c5735_3 as LottieType };
|
|
export function getLottieType(a0) {
|
|
return a0 === PremiumGiftStyles.NITROWEEN_STANDARD ? c5735_3.LOTTIE : c5735_3.JSON;
|
|
}
|
|
export function getGiftAnimationData(a0, a1) {
|
|
if (PremiumGiftStyles.STANDARD_BOX === a0) {
|
|
if (AnimationState.IDLE === a1) {
|
|
return _Module8780;
|
|
}
|
|
if (AnimationState.LOOP === a1) {
|
|
return _Module8781;
|
|
}
|
|
return _Module8782;
|
|
}
|
|
if (PremiumGiftStyles.CAKE === a0) {
|
|
if (AnimationState.IDLE === a1) {
|
|
return _Module8783;
|
|
}
|
|
if (AnimationState.LOOP === a1) {
|
|
return _Module8784;
|
|
}
|
|
return _Module8785;
|
|
}
|
|
if (PremiumGiftStyles.CHEST === a0) {
|
|
if (AnimationState.IDLE === a1) {
|
|
return _Module8786;
|
|
}
|
|
if (AnimationState.LOOP === a1) {
|
|
return _Module8787;
|
|
}
|
|
return _Module8788;
|
|
}
|
|
if (PremiumGiftStyles.COFFEE === a0) {
|
|
if (AnimationState.IDLE === a1) {
|
|
return _Module8789;
|
|
}
|
|
if (AnimationState.LOOP === a1) {
|
|
return _Module8790;
|
|
}
|
|
return _Module8791;
|
|
}
|
|
if (PremiumGiftStyles.SEASONAL_STANDARD_BOX === a0) {
|
|
if (AnimationState.IDLE === a1) {
|
|
return _Module8792;
|
|
}
|
|
if (AnimationState.LOOP === a1) {
|
|
return _Module8793;
|
|
}
|
|
return _Module8794;
|
|
}
|
|
if (PremiumGiftStyles.SEASONAL_CAKE === a0) {
|
|
if (AnimationState.IDLE === a1) {
|
|
return _Module8795;
|
|
}
|
|
if (AnimationState.LOOP === a1) {
|
|
return _Module8796;
|
|
}
|
|
return _Module8797;
|
|
}
|
|
if (PremiumGiftStyles.SEASONAL_CHEST === a0) {
|
|
if (AnimationState.IDLE === a1) {
|
|
return _Module8798;
|
|
}
|
|
if (AnimationState.LOOP === a1) {
|
|
return _Module8799;
|
|
}
|
|
return _Module8800;
|
|
}
|
|
if (PremiumGiftStyles.SEASONAL_COFFEE === a0) {
|
|
if (AnimationState.IDLE === a1) {
|
|
return _Module8801;
|
|
}
|
|
if (AnimationState.LOOP === a1) {
|
|
return _Module8802;
|
|
}
|
|
return _Module8803;
|
|
}
|
|
if (PremiumGiftStyles.SNOWGLOBE !== a0 && PremiumGiftStyles.BOX !== a0) {
|
|
PremiumGiftStyles.CUP;
|
|
}
|
|
throw Error();
|
|
}
|