72 lines
4.9 KiB
TypeScript
72 lines
4.9 KiB
TypeScript
/* Metro module 11499; source: modules/safety_hub/native/AppealIngestionRequestSent.tsx; dependencies: [31, 27, 5267, 33, 4501, 11491, 1244, 11489, 11500, 4573, 11494, 2] */
|
|
function _fun88090(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#88090, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11685:6, offset: 0x01fd4b5f, size: 290 bytes, params: 8, frame: 19
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
importAll(31) /* metro dependency 31 */;
|
|
let value = require(27) /* metro dependency 27 */;
|
|
const env0_3 = value.View;
|
|
const env0_4 = value.Image;
|
|
value = require(5267) /* metro dependency 5267: SafetyHubConstants */;
|
|
const env0_5 = value.SafetyHubAnalyticsActions;
|
|
const env0_6 = value.SafetyHubLinks;
|
|
value = require(33) /* metro dependency 33 */;
|
|
const env0_7 = value.jsx;
|
|
const env0_8 = value.jsxs;
|
|
const env0_9 = (require(4501) /* metro dependency 4501: createStyles */).createStyles({container: {'flex': 1,
|
|
'padding': 8}, actionsHeader: {'marginTop': 31, 'marginBottom': 16}, checkboxPng: {'width': 86, 'height': 78.33,
|
|
'marginLeft': -2, 'alignSelf': 'center'}});
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/safety_hub/native/AppealIngestionRequestSent.tsx');
|
|
exports.default = AppealIngestionRequestSent;
|
|
}
|
|
|
|
function AppealIngestionRequestSent() { // fn#88091, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11685:489, offset: 0x01fd4c81, size: 588 bytes, params: 1, frame: 29
|
|
const env0_0 = (require(11491) /* metro dependency 11491: useEmitAppealIngestionEvent */).useEmitAppealIngestionEvent();
|
|
const styles = useStyles();
|
|
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
|
let string = intl.string;
|
|
const QMbTSu = (require(1244) /* metro dependency 1244: indexNative */).t.QMbTSu;
|
|
const value2 = Reflect.apply(string, intl, [QMbTSu]);
|
|
string = intl.string;
|
|
const Qdx8AP = (require(1244) /* metro dependency 1244: indexNative */).t.Qdx8AP;
|
|
const value3 = Reflect.apply(string, intl, [Qdx8AP]);
|
|
const AppealIngestionModalScreen = (require(11489) /* metro dependency 11489: AppealIngestionModal */).AppealIngestionModalScreen;
|
|
const items2 = [<Image source={importDefault(11500) /* metro dependency 11500 */} style={styles.checkboxPng} />];
|
|
const AppealIngestionModalHeader = (require(11489) /* metro dependency 11489: AppealIngestionModal */).AppealIngestionModalHeader;
|
|
items2[1] = <AppealIngestionModalHeader headerText={value2} subHeaderText={value3} />;
|
|
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
|
|
items2[2] = <Text variant="heading-md/bold" color="mobile-text-heading-primary" style={styles.actionsHeader}>{intl.string((require(1244) /* metro dependency 1244: indexNative */).t['9BRc1N'])}</Text>;
|
|
const AppealIngestionExternalLink2 = importDefault(11494) /* metro dependency 11494: AppealIngestionExternalLink */;
|
|
string = intl.string;
|
|
const PxL38B = (require(1244) /* metro dependency 1244: indexNative */).t.PxL38B;
|
|
const COMMUNITY_GUIDELINES = SafetyHubLinks.COMMUNITY_GUIDELINES;
|
|
items2[3] = <AppealIngestionExternalLink2 text={Reflect.apply(string, intl,
|
|
[PxL38B])} url={COMMUNITY_GUIDELINES} onPress={onPress_88092} />;
|
|
const AppealIngestionExternalLink = AppealIngestionExternalLink2;
|
|
string = intl.string;
|
|
const qC3XKa = (require(1244) /* metro dependency 1244: indexNative */).t.qC3XKa;
|
|
const WARNING_SYSTEM_HELPCENTER_LINK = SafetyHubLinks.WARNING_SYSTEM_HELPCENTER_LINK;
|
|
items2[4] = <AppealIngestionExternalLink text={Reflect.apply(string, intl,
|
|
[qC3XKa])} url={WARNING_SYSTEM_HELPCENTER_LINK} onPress={onPress_88093} />;
|
|
return (
|
|
<AppealIngestionModalScreen>
|
|
<View style={styles.container}>
|
|
{items2}
|
|
</View>
|
|
</AppealIngestionModalScreen>
|
|
);
|
|
}
|
|
|
|
function AppealIngestionRequestSentOnPress() { // fn#88092, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11685:1097, owner: AppealIngestionRequestSent.onPress, offset: 0x01fd4ecd, size: 29 bytes, params: 1, frame: 11
|
|
const binding = env0_0;
|
|
const ClickCommunityGuidelinesLink = SafetyHubAnalyticsActions.ClickCommunityGuidelinesLink;
|
|
return binding(ClickCommunityGuidelinesLink);
|
|
}
|
|
|
|
function AppealIngestionRequestSentOnPress_88093() { // fn#88093, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11685:1237, owner: AppealIngestionRequestSent.onPress, offset: 0x01fd4eea, size: 29 bytes, params: 1, frame: 11
|
|
const binding = env0_0;
|
|
const ClickWarningSystemHelpcenterLink = SafetyHubAnalyticsActions.ClickWarningSystemHelpcenterLink;
|
|
return binding(ClickWarningSystemHelpcenterLink);
|
|
}
|
|
|