decord/source/modules/safety_flows/native/OverviewScreen.tsx

89 lines
3.4 KiB
TypeScript
Raw Normal View History

2026-08-15 05:55:55 +00:00
// Module ID: 17088
// Function ID: 17089
2026-07-20 16:05:17 +00:00
// Name: OverviewScreen
2026-08-15 05:55:55 +00:00
// Dependencies: [19, 21, 4661, 17089, 1500, 17090, 5440, 5445, 4733, 712, 4734, 1236, 2597, 6286, 6692, 17084, 11114, 17091, 11964, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-15 05:55:55 +00:00
// Module 17088 (OverviewScreen)
2026-07-29 08:29:29 +00:00
import set from "set";
2026-07-23 10:11:24 +00:00
import jsxProd from "jsxProd";
2026-07-29 08:29:29 +00:00
import createCacheKey from "createCacheKey";
2026-07-23 10:11:24 +00:00
2026-07-29 08:29:29 +00:00
let c4;
let c5;
2026-07-23 10:11:24 +00:00
const require = arg1;
2026-07-29 08:29:29 +00:00
({ jsx: c4, jsxs: c5 } = jsxProd);
let closure_6 = createCacheKey.createStyles({ content: { margin: "auto", overflow: "visible", justifyContent: "center", textAlign: "center", alignItems: "center" }, title: { textAlign: "center", textTransform: "uppercase", lineHeight: 50 } });
const result = require("createCacheKey").fileFinishedImporting("modules/safety_flows/native/OverviewScreen.tsx");
2026-07-20 16:05:17 +00:00
export default function OverviewScreen() {
2026-07-29 08:29:29 +00:00
let tmp = callback2();
2026-08-15 05:55:55 +00:00
let obj = task(17089);
2026-07-23 10:11:24 +00:00
task = obj.useSafetyFlowTask().task;
2026-08-15 05:55:55 +00:00
let obj1 = task(1500);
2026-07-20 16:05:17 +00:00
const navigation = obj1.useNavigation();
const items = [task, navigation];
const callback = React.useCallback(() => {
2026-07-23 10:11:24 +00:00
const screensForTaskType = task(outer1_2[5]).getScreensForTaskType(task.task_type);
2026-07-20 16:05:17 +00:00
let tmp = null != screensForTaskType;
if (tmp) {
tmp = screensForTaskType.length > 0;
}
if (tmp) {
tmp = null != screensForTaskType[0];
}
if (tmp) {
navigation.push(screensForTaskType[0]);
}
}, items);
2026-07-29 08:29:29 +00:00
obj = { spacing: null, style: null, children: null };
obj[0] = navigation(712).space.PX_16;
obj[1] = tmp.content;
obj = { variant: "display-lg", style: tmp.title, children: null };
const intl = task(1236).intl;
2026-08-15 05:55:55 +00:00
obj[2] = intl.string(navigation(2597).RRamMH);
const items1 = [callback(task(4734).Text, obj), , ];
2026-07-29 08:29:29 +00:00
obj1 = { variant: "text-md/medium", color: "text-strong", children: null };
const intl2 = task(1236).intl;
2026-08-15 05:55:55 +00:00
obj1[2] = intl2.string(navigation(2597).I2Ctk1);
items1[1] = callback(task(4734).Text, obj1);
2026-07-29 08:29:29 +00:00
const obj2 = { spacing: null, children: null };
obj2[0] = navigation(712).space.PX_8;
2026-07-20 16:05:17 +00:00
const flow_context = task.flow_context;
let mapped;
2026-07-29 08:29:29 +00:00
if (flow_context != null) {
2026-07-20 16:05:17 +00:00
const tasks = flow_context.tasks;
2026-07-29 08:29:29 +00:00
if (tasks != null) {
2026-07-20 16:05:17 +00:00
mapped = tasks.map((task_type) => {
2026-07-29 08:29:29 +00:00
const obj = { tip: null, index: null };
2026-08-15 05:55:55 +00:00
obj[0] = task(17084).TASK_TYPE_TO_TITLE[task_type.task_type];
2026-07-29 08:29:29 +00:00
obj[1] = arg1 + 1;
2026-08-15 05:55:55 +00:00
return callback(navigation(6692), obj, task_type.task_type);
2026-07-20 16:05:17 +00:00
});
}
}
2026-07-29 08:29:29 +00:00
const obj3 = { children: null };
const obj4 = { children: null };
2026-08-15 05:55:55 +00:00
const items2 = [callback(task(6286).TableRowGroup, { hasIcons: true, children: mapped }), ];
2026-07-29 08:29:29 +00:00
const obj5 = { variant: "text-xs/medium", color: "text-muted", children: null };
const intl3 = tmp2(1236).intl;
2026-08-15 05:55:55 +00:00
obj5[2] = intl3.string(navigation(2597)["0TnUrG"]);
items2[1] = callback(task(4734).Text, obj5);
2026-07-29 08:29:29 +00:00
obj2[1] = items2;
2026-08-15 05:55:55 +00:00
items1[2] = closure_5(task(4733).Stack, obj2);
2026-07-29 08:29:29 +00:00
obj[2] = items1;
2026-08-15 05:55:55 +00:00
obj4[0] = closure_5(task(4733).Stack, obj);
const items3 = [callback(task(5445).ModalContent, obj4), ];
2026-07-29 08:29:29 +00:00
const obj6 = { children: null };
2026-08-15 05:55:55 +00:00
const items4 = [callback(navigation(17091), {}), ];
2026-07-29 08:29:29 +00:00
const obj7 = { variant: "primary", text: null, onPress: null };
const intl4 = tmp2(1236).intl;
2026-08-15 05:55:55 +00:00
obj7[1] = intl4.string(navigation(2597).Ks6opt);
2026-07-29 08:29:29 +00:00
obj7[2] = callback;
2026-08-15 05:55:55 +00:00
items4[1] = callback(task(11964).ModalActionButton, obj7);
2026-07-29 08:29:29 +00:00
obj6[0] = items4;
2026-08-15 05:55:55 +00:00
items3[1] = closure_5(task(11114).ModalFooter, obj6);
2026-07-29 08:29:29 +00:00
obj3[0] = items3;
2026-08-15 05:55:55 +00:00
return closure_5(task(5440).ModalScreen, obj3);
2026-07-20 16:05:17 +00:00
};