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

62 lines
2.2 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 14526
// Function ID: 14527
2026-07-20 16:05:17 +00:00
// Name: CloseButton
2026-08-24 06:08:38 +00:00
// Dependencies: [21, 5437, 8182, 14525, 1236, 6345, 14527, 6343, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-24 06:08:38 +00:00
// Module 14526 (CloseButton)
import set from "set" /* 2 */;
import jsxProd from "jsxProd" /* 21 */;
import getSystemLocale from "getSystemLocale" /* 1236 */;
import HeaderActionButton from "HeaderActionButton" /* 5437 */;
import NavigationStack from "NavigationStack" /* 6343 */;
import registerAssetDefault from "registerAsset" /* 8182 */;
2026-07-23 10:11:24 +00:00
2026-07-20 16:05:17 +00:00
function CloseButton() {
2026-08-24 06:08:38 +00:00
const obj = {
source: registerAssetDefault,
onPress() {
return callback(table[3]).hideModal();
},
accessibilityLabel: null
2026-07-20 16:05:17 +00:00
};
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
obj[2] = intl.string(getSystemLocale.t.cpT0Cq);
return jsx(HeaderActionButton.HeaderActionButton, {
source: registerAssetDefault,
onPress() {
return callback(table[3]).hideModal();
},
accessibilityLabel: null
});
2026-07-20 16:05:17 +00:00
}
2026-08-24 06:08:38 +00:00
const jsx = jsxProd.jsx;
2026-07-20 16:05:17 +00:00
let closure_4 = { DISCLOSURE: "disclosure" };
2026-08-24 06:08:38 +00:00
const result = set.fileFinishedImporting("modules/quests/native/QuestDisclosureModal/QuestDisclosureModal.tsx");
2026-07-20 16:05:17 +00:00
export default function QuestDisclosureModal(arg0) {
2026-07-23 10:11:24 +00:00
({ isTargetedDisclosure: require, gamePublisher: importDefault, gameTitle: dependencyMap, cosponsorName: jsx, isVideoQuest: closure_4 } = arg0);
2026-07-20 16:05:17 +00:00
function onClose() {
2026-08-24 06:08:38 +00:00
return callback2(14525).hideModal();
2026-07-20 16:05:17 +00:00
}
let obj = {
headerLeft: onClose,
headerRight() {
return null;
},
headerTitle() {
2026-07-29 08:29:29 +00:00
const obj = { title: null };
const intl = callback(1236).intl;
obj[0] = intl.string(callback(1236).t.GcsZKJ);
2026-08-24 06:08:38 +00:00
return callback3(callback(6345).NavigatorHeader, obj);
2026-07-20 16:05:17 +00:00
},
render() {
2026-08-24 06:08:38 +00:00
return closure_1_3(closure_1_1(closure_1_2[6]), { isTargetedDisclosure: closure_0, gamePublisher: closure_1, gameTitle: closure_2, onClose, cosponsorName: closure_3, isVideoQuest: closure_4 });
2026-07-20 16:05:17 +00:00
}
};
2026-07-29 08:29:29 +00:00
obj = { screens: { [closure_4.DISCLOSURE]: obj }, initialRouteName: constants.DISCLOSURE, headerBackTitle: null };
2026-08-24 06:08:38 +00:00
let intl = getSystemLocale.intl;
obj[2] = intl.string(getSystemLocale.t["13/7kX"]);
return jsx(NavigationStack.Navigator, { screens: { [closure_4.DISCLOSURE]: obj }, initialRouteName: constants.DISCLOSURE, headerBackTitle: null });
2026-07-20 16:05:17 +00:00
};