Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,61 @@
|
||||
/* Metro module 10194; source: modules/suspicious_downloads/native/SuspiciousDownloadActionSheet.tsx; dependencies: [31, 33, 4501, 697, 1585, 6275, 4572, 5473, 4573, 1244, 4578, 4080, 3847, 2] */
|
||||
function _fun79305(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#79305, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10380:6, offset: 0x01e4cc41, size: 232 bytes, params: 8, frame: 21
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
importAll(31) /* metro dependency 31 */;
|
||||
let value = require(33) /* metro dependency 33 */;
|
||||
const env0_3 = value.jsx;
|
||||
const env0_4 = value.jsxs;
|
||||
value = require(4501) /* metro dependency 4501: createStyles */;
|
||||
const createStyles = value.createStyles;
|
||||
const PX_12 = (importDefault(697) /* metro dependency 697: native */).space.PX_12;
|
||||
const env0_5 = Reflect.apply(createStyles, value, [{container: {padding: PX_12}, title: {textAlign: 'center'},
|
||||
body: {textAlign: 'center'}}]);
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/suspicious_downloads/native/SuspiciousDownloadActionSheet.tsx');
|
||||
exports.default = _default_79306;
|
||||
}
|
||||
|
||||
function _default_79306({href}) { // fn#79306, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10380:259, offset: 0x01e4cd29, size: 682 bytes, params: 2, frame: 31
|
||||
const styles = useStyles();
|
||||
const bottom = (importDefault(1585) /* metro dependency 1585: useSafeAreaInsetsNative */)().bottom;
|
||||
const BottomSheet = (require(6275) /* metro dependency 6275: BottomSheetNative */).BottomSheet;
|
||||
const Stack = (require(4572) /* metro dependency 4572: StackNative */).Stack;
|
||||
const items4 = [styles.container];
|
||||
items4[1] = {paddingBottom: bottom};
|
||||
const Stack2 = (require(4572) /* metro dependency 4572: StackNative */).Stack;
|
||||
const TrafficConeSpotIllustration = (require(5473) /* metro dependency 5473: native */).TrafficConeSpotIllustration;
|
||||
const items2 = [<TrafficConeSpotIllustration />];
|
||||
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
let string = intl.string;
|
||||
const XtDo9Z = (require(1244) /* metro dependency 1244: indexNative */).t.XtDo9Z;
|
||||
items2[1] = <Text style={styles.title} accessibilityRole="header" variant="heading-lg/extrabold" color="mobile-text-heading-primary">{Reflect.apply(string,
|
||||
intl, [XtDo9Z])}</Text>;
|
||||
string = intl.string;
|
||||
const L9yFko = (require(1244) /* metro dependency 1244: indexNative */).t.L9yFko;
|
||||
items2[2] = <Text style={styles.body} variant="text-md/medium">{Reflect.apply(string, intl, [L9yFko])}</Text>;
|
||||
const items3 = [<Stack2 spacing={8} justify="center" align="center">{items2}</Stack2>];
|
||||
const Stack3 = (require(4572) /* metro dependency 4572: StackNative */).Stack;
|
||||
const Button = (require(4578) /* metro dependency 4578: ButtonNative */).Button;
|
||||
items3[1] = <Stack3 spacing={8}><Button text={intl.string((require(1244) /* metro dependency 1244: indexNative */).t.j7Vi2i)} onPress={onPress_79307} /><Button text={intl.string((require(1244) /* metro dependency 1244: indexNative */).t['/bHu89'])} onPress={onPress_79308} variant="secondary" /></Stack3>;
|
||||
return (
|
||||
<BottomSheet startExpanded>
|
||||
<Stack
|
||||
spacing={16}
|
||||
justify="center"
|
||||
align="center"
|
||||
style={items4}
|
||||
>
|
||||
{items3}
|
||||
</Stack>
|
||||
</BottomSheet>
|
||||
);
|
||||
}
|
||||
|
||||
function _default_79306OnPress_79308() { // fn#79308, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10380:1068, owner: _default_79306.onPress, offset: 0x01e4cff8, size: 64 bytes, params: 1, frame: 14
|
||||
const value = environment.__proto__;
|
||||
(importDefault(4080) /* metro dependency 4080: ActionSheetActionCreators */).hideActionSheet();
|
||||
(importDefault(3847) /* metro dependency 3847: openURL */)(href, true);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user