decord/source/modules/user_profile/native/UserProfileGameFriendsCard.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

76 lines
3.3 KiB
TypeScript

// Module ID: 13078
// Function ID: 13079
// Name: UserProfileGameFriendsCard
// Dependencies: [19, 21, 4560, 7168, 1114, 12628, 7207, 4556, 2]
// Exports: default
// Module 13078 (UserProfileGameFriendsCard)
import noopAll from "noop" /* 19 */;
import useGetOrFetchApplicationsDefault from "useGetOrFetchApplications" /* 7168 */;
import UserProfileCardDefault from "UserProfileCard" /* 7207 */;
import { jsx } from "jsxProd" /* 21 */;
import createCacheKey from "createCacheKey" /* 4560 */;
const require = arg1;
noopAll;
let closure_4 = createCacheKey.createStyles({ card: { flexDirection: "column" } });
const result = require("set").fileFinishedImporting("modules/user_profile/native/UserProfileGameFriendsCard.tsx");
export default function UserProfileGameFriendsCard(arg0) {
let found;
importDefault = undefined;
dependencyMap = undefined;
jsx = undefined;
({ applicationIds, style } = arg0);
const tmp = callback();
const tmp2 = importDefault;
found = useGetOrFetchApplicationsDefault(applicationIds).filter((arg0) => null != arg0);
if (0 === found.length) {
return null;
} else {
importDefault = "text-md/normal";
if (1 === found.length) {
const intl2 = found(1114).intl;
let obj = { applicationName: null };
obj[0] = function applicationName() {
return lib(textmdnormal(12628), { application: found[0], textVariant: textmdnormal, iconSize: 16 }, found[0].id);
};
let formatResult = intl2.format(found(1114).t.wQ6urw, obj);
let tmp6 = found;
} else if (2 === found.length) {
const intl = found(1114).intl;
obj = { applicationName: null, applicationName2: null };
obj[0] = function applicationName() {
return lib(textmdnormal(12628), { application: found[0], textVariant: textmdnormal, iconSize: 16 }, found[0].id);
};
obj[1] = function applicationName2() {
return lib(textmdnormal(12628), { application: found[1], textVariant: textmdnormal, iconSize: 16 }, found[1].id);
};
formatResult = intl.format(found(1114).t.C98CSN, obj);
tmp6 = found;
} else {
dependencyMap = found[found.length - 1];
jsx = found.slice(0, -1);
const intl4 = found(1114).intl;
obj = { applications: null, applicationNameLast: null };
obj[0] = function applications(arg0) {
return lib.map((application) => closure_1_3(closure_1_1(closure_1_2[5]), { application, useComma: true, textVariant: closure_1, iconSize: 16 }, application.id));
};
obj[1] = function applicationNameLast() {
return lib(textmdnormal(12628), { application: dependencyMap, textVariant: textmdnormal, iconSize: 16 });
};
formatResult = intl4.format(found(1114).t.UxpwAh, obj);
tmp6 = found;
}
obj1 = { style: null, title: null, children: null };
const items = [tmp.card, style];
obj1[0] = items;
const intl3 = tmp6(1114).intl;
obj1[1] = intl3.string(tmp6(1114).t["Uv/eTx"]);
const obj2 = { variant: "text-md/normal", color: "text-default", children: null };
obj2[2] = formatResult;
obj1[2] = jsx(tmp6(4556).Text, { variant: "text-md/normal", color: "text-default", children: null });
return jsx(UserProfileCardDefault, { style: null, title: null, children: null });
}
const arr = useGetOrFetchApplicationsDefault(applicationIds);
};