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

87 lines
2.4 KiB
TypeScript
Raw Permalink Normal View History

2026-10-12 16:32:48 +00:00
// Module ID: 18100
// Function ID: 18101
// Name: getActivityReportOptions
2026-10-12 16:32:48 +00:00
// Dependencies: [2024, 1126, 2]
// Exports: default
2026-10-12 16:32:48 +00:00
// Module 18100 (getActivityReportOptions)
2026-10-07 22:43:51 +00:00
import intl7 from "intl" /* 1126 */;
2026-10-12 16:32:48 +00:00
import Constants from "Constants" /* 2024 */;
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-01 14:13:23 +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-01 14:13:23 +00:00
const obj = { value: ActivityFeedbackReasons.FAILED_LOAD, label: stringResult };
const intl = intl7.intl;
const string = intl.string;
2026-10-01 14:13:23 +00:00
const t = intl7.t;
if (arg0) {
2026-10-01 14:13:23 +00:00
stringResult = string(t.uaiF6B);
tmp6 = tmp2;
} else {
stringResult = string(t.aO6OMZ);
tmp6 = tmp2;
}
const items = [obj, , , , ];
2026-10-01 14:13:23 +00:00
const obj2 = { value: ActivityFeedbackReasons.LAGGING, label: string2Result };
2026-10-07 22:43:51 +00:00
const intl2 = tmp6(1126).intl;
const string2 = intl2.string;
2026-10-07 22:43:51 +00:00
const t2 = tmp6(1126).t;
if (arg0) {
2026-10-01 14:13:23 +00:00
string2Result = string2(t2["/nJOlj"]);
} else {
string2Result = string2(t2["79HFwf"]);
}
items[1] = obj2;
2026-10-01 14:13:23 +00:00
const obj3 = { value: ActivityFeedbackReasons.CONFUSING, label: string3Result };
2026-10-07 22:43:51 +00:00
const intl3 = tmp6(1126).intl;
const string3 = intl3.string;
2026-10-07 22:43:51 +00:00
const t3 = tmp6(1126).t;
if (arg0) {
2026-10-01 14:13:23 +00:00
string3Result = string3(t3["/8psS7"]);
} else {
string3Result = string3(t3.iSv55N);
}
items[2] = obj3;
2026-10-01 14:13:23 +00:00
const obj4 = { value: ActivityFeedbackReasons.NOT_FUN, label: string4Result };
2026-10-07 22:43:51 +00:00
const intl4 = tmp6(1126).intl;
const string4 = intl4.string;
2026-10-07 22:43:51 +00:00
const t4 = tmp6(1126).t;
if (arg0) {
2026-10-01 14:13:23 +00:00
string4Result = string4(t4["7GVmLm"]);
} else {
string4Result = string4(t4.GnVff5);
}
items[3] = obj4;
2026-10-07 22:43:51 +00:00
const obj5 = { value: ActivityFeedbackReasons.OTHER, label: intl5.string(tmp6(1126).t.emlT91) };
intl5 = tmp6(1126).intl;
items[4] = obj5;
2026-10-01 14:13:23 +00:00
if (flag) {
const push = items.push;
const obj6 = { value: ActivityFeedbackReasons.ADS, label: string5Result };
2026-10-07 22:43:51 +00:00
const intl6 = tmp6(1126).intl;
const string5 = intl6.string;
2026-10-07 22:43:51 +00:00
const t5 = tmp6(1126).t;
if (arg0) {
2026-10-01 14:13:23 +00:00
string5Result = string5(t5["5o1UL6"]);
} else {
2026-10-01 14:13:23 +00:00
string5Result = string5(t5.XeeDhK);
}
2026-10-01 14:13:23 +00:00
push(obj6);
}
2026-10-01 14:13:23 +00:00
return items;
};