decord/source/modules/quests/native/BountiesModal/BountiesModal.tsx

43 lines
1.7 KiB
TypeScript
Raw Normal View History

2026-07-27 11:26:19 +00:00
// Module ID: 13969
// Function ID: 106850
// Dependencies: [31, 4977, 33, 10819, 13970, 14021, 8105, 11060, 2]
2026-07-20 16:05:17 +00:00
2026-07-27 11:26:19 +00:00
// Module 13969
2026-07-23 10:11:24 +00:00
import importAllResult from "result";
import { QuestsExperimentLocations } from "QuestsExperimentLocations";
import { jsx } from "jsxProd";
const require = arg1;
2026-07-20 16:05:17 +00:00
const memoResult = importAllResult.memo(function BountiesModal(bountyId) {
bountyId = bountyId.bountyId;
const sourceQuestContent = bountyId.sourceQuestContent;
2026-07-23 10:11:24 +00:00
let obj = bountyId(verticalScrollEnabled[3]);
verticalScrollEnabled = obj.useBountiesExperience(QuestsExperimentLocations.VIDEO_MODAL_MOBILE).verticalScrollEnabled;
2026-07-20 16:05:17 +00:00
const items = [bountyId, sourceQuestContent, verticalScrollEnabled];
2026-07-23 10:11:24 +00:00
const memo = importAllResult.useMemo(() => ({
2026-07-20 16:05:17 +00:00
["bounty_main"]: {
fullscreen: true,
headerLeft() {
return null;
},
render() {
2026-07-23 10:11:24 +00:00
if (outer1_2) {
2026-07-20 16:05:17 +00:00
let tmp4 = tmp3[4];
} else {
tmp4 = tmp3[5];
}
2026-07-23 10:11:24 +00:00
return outer2_5(sourceQuestContent(tmp4), { bountyId: outer1_0, sourceQuestContent: outer1_1 });
2026-07-20 16:05:17 +00:00
}
}
}), items);
const layoutEffect = importAllResult.useLayoutEffect(() => {
bountyId(verticalScrollEnabled[6]).lockOrientation("PORTRAIT", true);
return bountyId(verticalScrollEnabled[6]).restoreDefaultOrientation;
}, []);
2026-07-23 10:11:24 +00:00
obj = { hideTitle: true, initialRouteName: "bounty_main", screens: memo, viewStyle: { backgroundColor: "#000000" } };
return jsx(bountyId(verticalScrollEnabled[7]).Modal, { hideTitle: true, initialRouteName: "bounty_main", screens: memo, viewStyle: { backgroundColor: "#000000" } });
2026-07-20 16:05:17 +00:00
});
2026-07-23 10:11:24 +00:00
const result = require("jsxProd").fileFinishedImporting("modules/quests/native/BountiesModal/BountiesModal.tsx");
2026-07-20 16:05:17 +00:00
export default memoResult;