decord/source/modules/activities/getActivityReportOptions.tsx

87 lines
2.4 KiB
TypeScript
Raw Normal View History

// Module ID: 17471
// Function ID: 17472
2026-07-20 16:05:17 +00:00
// Name: getActivityReportOptions
// Dependencies: [1920, 1114, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
// Module 17471 (getActivityReportOptions)
import util from "util" /* 1114 */;
import Constants from "Constants" /* 1920 */;
import size from "module_2" /* 2 */;
2026-07-23 10:11:24 +00:00
const ActivityFeedbackReasons = Constants.ActivityFeedbackReasons;
const result = size.fileFinishedImporting("modules/activities/getActivityReportOptions.tsx");
2026-07-20 16:05:17 +00:00
export default function getActivityReportOptions(arg0) {
let flag = arg1;
if (arg1 === undefined) {
flag = false;
}
const obj = { value: ActivityFeedbackReasons.FAILED_LOAD, label: null };
const intl = util.intl;
2026-07-20 16:05:17 +00:00
const string = intl.string;
const t = util.t;
2026-07-20 16:05:17 +00:00
if (arg0) {
let stringResult = string(t.uaiF6B);
2026-07-29 08:29:29 +00:00
let tmp6 = tmp2;
2026-07-20 16:05:17 +00:00
} else {
stringResult = string(t.aO6OMZ);
2026-07-29 08:29:29 +00:00
tmp6 = tmp2;
2026-07-20 16:05:17 +00:00
}
obj.label = stringResult;
2026-07-20 16:05:17 +00:00
const items = [obj, , , , ];
const obj2 = { value: ActivityFeedbackReasons.LAGGING, label: null };
const intl2 = tmp6(1114).intl;
2026-07-20 16:05:17 +00:00
const string2 = intl2.string;
const t2 = tmp6(1114).t;
2026-07-20 16:05:17 +00:00
if (arg0) {
2026-07-23 10:11:24 +00:00
let string2Result = string2(t2["/nJOlj"]);
2026-07-20 16:05:17 +00:00
} else {
2026-07-23 10:11:24 +00:00
string2Result = string2(t2["79HFwf"]);
2026-07-20 16:05:17 +00:00
}
obj2.label = string2Result;
items[1] = obj2;
const obj3 = { value: ActivityFeedbackReasons.CONFUSING, label: null };
const intl3 = tmp6(1114).intl;
2026-07-20 16:05:17 +00:00
const string3 = intl3.string;
const t3 = tmp6(1114).t;
2026-07-20 16:05:17 +00:00
if (arg0) {
2026-07-23 10:11:24 +00:00
let string3Result = string3(t3["/8psS7"]);
2026-07-20 16:05:17 +00:00
} else {
string3Result = string3(t3.iSv55N);
}
obj3.label = string3Result;
items[2] = obj3;
const obj4 = { value: ActivityFeedbackReasons.NOT_FUN, label: null };
const intl4 = tmp6(1114).intl;
2026-07-20 16:05:17 +00:00
const string4 = intl4.string;
const t4 = tmp6(1114).t;
2026-07-20 16:05:17 +00:00
if (arg0) {
2026-07-23 10:11:24 +00:00
let string4Result = string4(t4["7GVmLm"]);
2026-07-20 16:05:17 +00:00
} else {
string4Result = string4(t4.GnVff5);
}
obj4.label = string4Result;
items[3] = obj4;
const obj5 = { value: ActivityFeedbackReasons.OTHER, label: null };
const intl5 = tmp6(1114).intl;
obj5.label = intl5.string(tmp6(1114).t.emlT91);
items[4] = obj5;
2026-07-20 16:05:17 +00:00
if (!flag) {
return items;
} else {
let obj6 = { value: tmp.ADS, label: null };
const intl6 = tmp6(1114).intl;
2026-07-20 16:05:17 +00:00
const string5 = intl6.string;
let t1 = tmp6(1114).t;
2026-07-20 16:05:17 +00:00
if (arg0) {
t1 = t1["5o1UL6"];
let string5Result = string5(t1);
2026-07-20 16:05:17 +00:00
} else {
string5Result = string5(t1.XeeDhK);
2026-07-20 16:05:17 +00:00
}
obj6.label = string5Result;
obj6 = items.push(obj6);
2026-07-20 16:05:17 +00:00
}
};