Initial commit

This commit is contained in:
janisslsm committed 2026-07-27 16:20:00 +03:00
commit af3b49f756
16065 files changed
+2938410

No files matched your search

@@ -0,0 +1,77 @@
/* Metro module 10360; source: modules/user_profile/native/UserProfileGameFriendsCard.tsx; dependencies: [31, 33, 4501, 6777, 1244, 10349, 6815, 4573, 2] */
function _fun80252(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#80252, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10546:6, offset: 0x01e72fad, size: 181 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 env0_3 = (require(33) /* metro dependency 33 */).jsx;
const env0_4 = (require(4501) /* metro dependency 4501: createStyles */).createStyles({card: {flexDirection: 'column'}});
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/user_profile/native/UserProfileGameFriendsCard.tsx');
exports.default = UserProfileGameFriendsCard;
}
function UserProfileGameFriendsCard({applicationIds, style}) { // fn#80253, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10546:276, offset: 0x01e73062, size: 590 bytes, params: 2, frame: 20
var r6;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
var env0_2;
var env0_3;
const styles = useStyles();
const value3 = (importDefault(6777) /* metro dependency 6777: useGetOrFetchApplications */)(applicationIds).filter(function(a0) {
return a0 != null;
});
if (value3.length === 0) {
return null;
}
if (value3.length === 1) {
r6 = intl.format((require(1244) /* metro dependency 1244: indexNative */).t.wQ6urw,
{applicationName: applicationName_80255});
} else if (value3.length === 2) {
r6 = intl.format((require(1244) /* metro dependency 1244: indexNative */).t.C98CSN,
{applicationName: applicationName, applicationName2: applicationName2});
} else {
env0_2 = value3[value3.length - 1];
env0_3 = value3.slice(0, -1);
r6 = intl.format((require(1244) /* metro dependency 1244: indexNative */).t.UxpwAh, {applications: applications,
applicationNameLast: applicationNameLast});
}
const UserProfileCard = importDefault(6815) /* metro dependency 6815: UserProfileCard */;
const userProfileCardProps = {style: [styles.card, style],
title: intl.string((require(1244) /* metro dependency 1244: indexNative */).t['Uv/eTx'])};
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
return (
<UserProfileCard {...userProfileCardProps}>
<Text variant="text-md/normal" color="text-default">
{r6}
</Text>
</UserProfileCard>
);
}
function UserProfileGameFriendsCardApplicationName() { // fn#80255, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10546:514, owner: UserProfileGameFriendsCard.applicationName, offset: 0x01e732b0, size: 83 bytes, params: 1, frame: 18
let value = environment.__proto__;
value = importDefault(10349) /* metro dependency 10349: ApplicationIconAndName */;
const binding = env0_0;
return ((Component) => <Component application={binding[0]} textVariant={env0_1} iconSize={16} key={binding[0].id} />)(value);
}
function applicationName2() { // fn#80257, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10546:746, owner: UserProfileGameFriendsCard.applicationName2, offset: 0x01e73303, size: 84 bytes, params: 1, frame: 18
let value = environment.__proto__;
value = importDefault(10349) /* metro dependency 10349: ApplicationIconAndName */;
const binding = env0_0;
return ((Component) => <Component application={binding[1]} textVariant={env0_1} iconSize={16} key={binding[1].id} />)(value);
}
function applications() { // fn#80258, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10546:910, owner: UserProfileGameFriendsCard.applications, offset: 0x01e73357, size: 28 bytes, params: 1, frame: 11
return env0_3.map(_fun80259);
}
function applicationNameLast() { // fn#80260, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10546:1016, owner: UserProfileGameFriendsCard.applicationNameLast, offset: 0x01e733c2, size: 67 bytes, params: 1, frame: 15
const value = environment.__proto__;
return ((Component) => <Component application={env0_2} textVariant={env0_1} iconSize={16} />)(importDefault(10349) /* metro dependency 10349: ApplicationIconAndName */);
}
function _fun80259(a0) { // fn#80259, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10546:921, offset: 0x01e73373, size: 79 bytes, params: 2, frame: 16
const value = environment.__proto__.__proto__;
return ((Component) => <Component application={a0} useComma textVariant={env1_1} iconSize={16} key={a0.id} />)(importDefault(10349) /* metro dependency 10349: ApplicationIconAndName */);
}