decord/stable/source/modules/activities/getActivityReportOptions.tsx

87 lines
2.4 KiB
TypeScript
Raw Permalink Normal View History

2026-10-06 22:12:49 +00:00
// Module ID: 16327
// Function ID: 16328
// Name: getActivityReportOptions
2026-10-06 22:12:49 +00:00
// Dependencies: [2011, 1127, 2]
// Exports: default
2026-10-06 22:12:49 +00:00
// Module 16327 (getActivityReportOptions)
import intl7 from "intl" /* 1127 */;
import Constants from "Constants" /* 2011 */;
import size from "module_2" /* 2 */;
const ActivityFeedbackReasons = Constants.ActivityFeedbackReasons;
const result = size.fileFinishedImporting("modules/activities/getActivityReportOptions.tsx");
export default function getActivityReportOptions(arg0) {
2026-10-06 22:12:49 +00:00
let intl5;
let string2Result;
let string3Result;
let string4Result;
let string5Result;
let stringResult;
let tmp6;
let flag = arg1;
if (arg1 === undefined) {
flag = false;
}
2026-10-06 22:12:49 +00:00
const obj = { value: ActivityFeedbackReasons.FAILED_LOAD, label: stringResult };
const intl = intl7.intl;
const string = intl.string;
2026-10-06 22:12:49 +00:00
const t = intl7.t;
if (arg0) {
2026-10-06 22:12:49 +00:00
stringResult = string(t.uaiF6B);
tmp6 = tmp2;
} else {
stringResult = string(t.aO6OMZ);
tmp6 = tmp2;
}
const items = [obj, , , , ];
2026-10-06 22:12:49 +00:00
const obj2 = { value: ActivityFeedbackReasons.LAGGING, label: string2Result };
const intl2 = tmp6(1127).intl;
const string2 = intl2.string;
2026-10-06 22:12:49 +00:00
const t2 = tmp6(1127).t;
if (arg0) {
2026-10-06 22:12:49 +00:00
string2Result = string2(t2["/nJOlj"]);
} else {
string2Result = string2(t2["79HFwf"]);
}
items[1] = obj2;
2026-10-06 22:12:49 +00:00
const obj3 = { value: ActivityFeedbackReasons.CONFUSING, label: string3Result };
const intl3 = tmp6(1127).intl;
const string3 = intl3.string;
2026-10-06 22:12:49 +00:00
const t3 = tmp6(1127).t;
if (arg0) {
2026-10-06 22:12:49 +00:00
string3Result = string3(t3["/8psS7"]);
} else {
string3Result = string3(t3.iSv55N);
}
items[2] = obj3;
2026-10-06 22:12:49 +00:00
const obj4 = { value: ActivityFeedbackReasons.NOT_FUN, label: string4Result };
const intl4 = tmp6(1127).intl;
const string4 = intl4.string;
2026-10-06 22:12:49 +00:00
const t4 = tmp6(1127).t;
if (arg0) {
2026-10-06 22:12:49 +00:00
string4Result = string4(t4["7GVmLm"]);
} else {
string4Result = string4(t4.GnVff5);
}
items[3] = obj4;
2026-10-06 22:12:49 +00:00
const obj5 = { value: ActivityFeedbackReasons.OTHER, label: intl5.string(tmp6(1127).t.emlT91) };
intl5 = tmp6(1127).intl;
items[4] = obj5;
2026-10-06 22:12:49 +00:00
if (flag) {
const push = items.push;
const obj6 = { value: ActivityFeedbackReasons.ADS, label: string5Result };
const intl6 = tmp6(1127).intl;
const string5 = intl6.string;
2026-10-06 22:12:49 +00:00
const t5 = tmp6(1127).t;
if (arg0) {
2026-10-06 22:12:49 +00:00
string5Result = string5(t5["5o1UL6"]);
} else {
2026-10-06 22:12:49 +00:00
string5Result = string5(t5.XeeDhK);
}
2026-10-06 22:12:49 +00:00
push(obj6);
}
2026-10-06 22:12:49 +00:00
return items;
};