78 lines
2.4 KiB
TypeScript
78 lines
2.4 KiB
TypeScript
// Module ID: 16351
|
|
// Function ID: 16352
|
|
// Name: HolidayEmojiAnimationType
|
|
// Dependencies: [16348, 2]
|
|
|
|
// Module 16351 (HolidayEmojiAnimationType)
|
|
const result = require("set").fileFinishedImporting("modules/holidays/HolidayEventsUtils.tsx");
|
|
|
|
export default {
|
|
isEligible() {
|
|
const isExperimentEligible = importDefault(16348).getIsExperimentEligible();
|
|
const timestamp = Date.now();
|
|
const obj = importDefault(16348);
|
|
const tmp = importDefault;
|
|
return timestamp >= importDefault(16348).startTimeMs && timestamp <= importDefault(16348).endTimeMs && isExperimentEligible;
|
|
},
|
|
useHolidaySoundpack() {
|
|
let obj = importDefault(16348);
|
|
const isExperimentEligible = obj.useIsExperimentEligible();
|
|
const timestamp = Date.now();
|
|
let tmp6 = null;
|
|
if (tmp5) {
|
|
tmp6 = null;
|
|
if (null != tmp(16348).soundpack) {
|
|
tmp6 = null;
|
|
if (null != tmp(16348).soundpackLabel) {
|
|
obj = { soundpack: null, soundpackLabel: null };
|
|
obj[0] = tmp(16348).soundpack;
|
|
obj[1] = tmp(16348).soundpackLabel;
|
|
tmp6 = obj;
|
|
}
|
|
}
|
|
}
|
|
return tmp6;
|
|
},
|
|
useIsEligible() {
|
|
const isExperimentEligible = importDefault(16348).useIsExperimentEligible();
|
|
const timestamp = Date.now();
|
|
const obj = importDefault(16348);
|
|
const tmp = importDefault;
|
|
return timestamp >= importDefault(16348).startTimeMs && timestamp <= importDefault(16348).endTimeMs && isExperimentEligible;
|
|
},
|
|
getAppSpinnerSources() {
|
|
const timestamp = Date.now();
|
|
let appSpinnerSources = null;
|
|
if (tmp4) {
|
|
appSpinnerSources = tmp2(16348).appSpinnerSources;
|
|
}
|
|
return appSpinnerSources;
|
|
},
|
|
getLoadingTips() {
|
|
const timestamp = Date.now();
|
|
let tmp5 = null;
|
|
if (tmp4) {
|
|
const getLoadingTips = tmp2(16348).getLoadingTips;
|
|
let loadingTips;
|
|
if (getLoadingTips != null) {
|
|
loadingTips = getLoadingTips();
|
|
}
|
|
tmp5 = loadingTips;
|
|
const tmp2Result = tmp2(16348);
|
|
}
|
|
return tmp5;
|
|
},
|
|
getHolidaySoundpack() {
|
|
const isExperimentEligible = importDefault(16348).getIsExperimentEligible();
|
|
const timestamp = Date.now();
|
|
const obj = importDefault(16348);
|
|
let soundpack = null;
|
|
if (tmp5) {
|
|
soundpack = null;
|
|
if (null != tmp(16348).soundpack) {
|
|
soundpack = tmp(16348).soundpack;
|
|
}
|
|
}
|
|
return soundpack;
|
|
}
|
|
};
|