Files
discord-decomp/sources/modules/virtual_currency/shared/AnimationUtils.tsx
T
2026-07-28 01:06:53 +03:00

21 lines
1.4 KiB
TypeScript

/* Metro module 10133; source: modules/virtual_currency/shared/AnimationUtils.tsx; dependencies: [2] */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
function _fun79057(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#79057, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10319:6, offset: 0x01e42ccb, size: 125 bytes, params: 8, frame: 17
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(FileImportTrackerModule).fileFinishedImporting('modules/virtual_currency/shared/AnimationUtils.tsx');
exports.EXPECTED_ORB_LOTTIE_ANIMATION_DURATION_MS = 3000;
exports.ORB_LOTTIE_COUNTER_ANIMATION_FACTORS = {'EARN': 0.25, 'SPEND': 0.3};
exports.getDesiredAnimationConfigs = getDesiredAnimationConfigs;
function getDesiredAnimationConfigs(a0, a1) { // fn#79058, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10319:320, offset: 0x01e42d48, size: 64 bytes, params: 3, frame: 6
const value = 0;
const value2 = a0 > value;
const value6 = a1 * env0_0[value2 ? 'EARN' : 'SPEND'];
return {duration: value6, delay: value2 ? a1 - value6 : value};
}
}
global.__d(_fun79057, 10133, [2]) /* metro module 10133, dependencies: [2] */;