61 lines
2.3 KiB
TypeScript
61 lines
2.3 KiB
TypeScript
// Module ID: 15117
|
|
// Function ID: 15118
|
|
// Name: CloseButton
|
|
// Dependencies: [21, 7377, 6992, 15116, 1114, 5624, 15118, 7000, 2]
|
|
// Exports: default
|
|
|
|
// Module 15117 (CloseButton)
|
|
import set from "set" /* 2 */;
|
|
import jsxProd from "jsxProd" /* 21 */;
|
|
import getSystemLocale from "getSystemLocale" /* 1114 */;
|
|
import registerAssetDefault from "registerAsset" /* 6992 */;
|
|
import NavigationStack from "NavigationStack" /* 7000 */;
|
|
import HeaderActionButton from "HeaderActionButton" /* 7377 */;
|
|
|
|
function CloseButton() {
|
|
const obj = {
|
|
source: registerAssetDefault,
|
|
onPress() {
|
|
return callback(table[3]).hideModal();
|
|
},
|
|
accessibilityLabel: null
|
|
};
|
|
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
|
|
});
|
|
}
|
|
const jsx = jsxProd.jsx;
|
|
let closure_4 = { DISCLOSURE: "disclosure" };
|
|
const result = set.fileFinishedImporting("modules/quests/native/QuestDisclosureModal/QuestDisclosureModal.tsx");
|
|
|
|
export default function QuestDisclosureModal(arg0) {
|
|
({ adCreativeType: require, isTargetedDisclosure: importDefault, gamePublisher: dependencyMap, gameTitle: jsx, cosponsorName: closure_4, isVideoQuest: CloseButton } = arg0);
|
|
function onClose() {
|
|
return callback2(15116).hideModal();
|
|
}
|
|
let obj = {
|
|
headerLeft: CloseButton,
|
|
headerRight() {
|
|
return null;
|
|
},
|
|
headerTitle() {
|
|
const obj = { title: null };
|
|
const intl = callback(1114).intl;
|
|
obj[0] = intl.string(callback(1114).t.GcsZKJ);
|
|
return callback3(callback(5624).NavigatorHeader, obj);
|
|
},
|
|
render() {
|
|
return closure_1_3(closure_1_1(closure_1_2[6]), { adCreativeType: closure_0, isTargetedDisclosure: closure_1, gamePublisher: closure_2, gameTitle: closure_3, onClose, cosponsorName: closure_4, isVideoQuest: closure_5 });
|
|
}
|
|
};
|
|
obj = { screens: { [closure_4.DISCLOSURE]: obj }, initialRouteName: constants.DISCLOSURE, headerBackTitle: null };
|
|
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 });
|
|
};
|