Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,58 @@
|
||||
/* Metro module 13410; source: modules/parent_tools/native/FamilyCenterTopUsersBottomSheet.tsx; dependencies: [31, 1878, 33, 4501, 5187, 6238, 3995, 1305, 6805, 4573, 1244, 2224, 6231, 2] */
|
||||
function _fun102048(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#102048, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13600:6, offset: 0x022296e1, size: 216 bytes, params: 8, frame: 20
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
importAll(31) /* metro dependency 31 */;
|
||||
const userStore = importDefault(1878) /* metro dependency 1878: UserStore */;
|
||||
const value = require(33) /* metro dependency 33 */;
|
||||
const env0_4 = value.jsx;
|
||||
const env0_5 = value.jsxs;
|
||||
const env0_6 = (require(4501) /* metro dependency 4501: createStyles */).createStyles({header: {textAlign: 'center'}});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/parent_tools/native/FamilyCenterTopUsersBottomSheet.tsx');
|
||||
exports.default = FamilyCenterTopUsersBottomSheet;
|
||||
}
|
||||
|
||||
function UserRow_102049({userActivity}) { // fn#102049, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13600:195, offset: 0x022297b9, size: 227 bytes, params: 2, frame: 21
|
||||
const getUser = UserStore.getUser;
|
||||
const user_id = userActivity.user_id;
|
||||
const value2 = Reflect.apply(getUser, UserStore, [user_id]);
|
||||
if (value2 == null) {
|
||||
return null;
|
||||
}
|
||||
const topUserOrGuildDescription = (require(5187) /* metro dependency 5187: FamilyCenterUtils */).getTopUserOrGuildDescription(userActivity.dms_sent,
|
||||
userActivity.call_count);
|
||||
const TableRow = (require(6238) /* metro dependency 6238: TableRowNative */).TableRow;
|
||||
const tableRowProps = {label: (importDefault(3995) /* metro dependency 3995: UserUtils */).getName(value2),
|
||||
subLabel: topUserOrGuildDescription};
|
||||
const Avatar = (require(1305) /* metro dependency 1305: native */).Avatar;
|
||||
const AvatarSizes = (require(1305) /* metro dependency 1305: native */).AvatarSizes;
|
||||
const SMALL = AvatarSizes.SMALL;
|
||||
tableRowProps.icon = <Avatar size={SMALL} user={value2} guildId={undefined} />;
|
||||
return <TableRow {...tableRowProps} />;
|
||||
}
|
||||
|
||||
function FamilyCenterTopUsersBottomSheet({topUserActivities}) { // fn#102050, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13600:599, offset: 0x0222989c, size: 239 bytes, params: 2, frame: 24
|
||||
const styles = useStyles();
|
||||
const ActionSheet = (require(6805) /* metro dependency 6805: ActionSheetNative */).ActionSheet;
|
||||
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
const string = intl.string;
|
||||
const BxbvS7 = (importDefault(2224) /* metro dependency 2224: FamilyCenterMessages */).BxbvS7;
|
||||
const text = <Text variant="text-md/bold" style={styles.header}>{Reflect.apply(string, intl, [BxbvS7])}</Text>;
|
||||
const TableRowGroup = (require(6231) /* metro dependency 6231: TableRowGroupNative */).TableRowGroup;
|
||||
return (
|
||||
<ActionSheet>
|
||||
{text}
|
||||
<TableRowGroup hasIcons>
|
||||
{topUserActivities.map(_fun102051)}
|
||||
</TableRowGroup>
|
||||
</ActionSheet>
|
||||
);
|
||||
}
|
||||
|
||||
function _fun102051(a0) { // fn#102051, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13600:870, offset: 0x0222998b, size: 38 bytes, params: 2, frame: 15
|
||||
const user_id = a0.user_id;
|
||||
return <UserRow_102049 userActivity={a0} key={user_id} />;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user