This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

@@ -0,0 +1,71 @@
// Metro module 8494 (f8495).
import { ThirdPartyGameApplicationWebsiteCategory } from "../../../../_bundle/Module8490";
import { SteamNeutralIcon } from "../../../../design/components/Icon/native/redesign/generated/SteamNeutralIcon";
import { GameProfileTrackActionActions } from "../../GameProfileAnalyticUtils";
import { intl, t } from "../../../../intl/index.native";
import { EpicGamesNeutralIcon } from "../../../../design/components/Icon/native/redesign/generated/EpicGamesNeutralIcon";
import { RobloxNeutralIcon } from "../../../../design/components/Icon/native/redesign/generated/RobloxNeutralIcon";
import { BattlenetNeutralIcon } from "../../../../design/components/Icon/native/redesign/generated/BattlenetNeutralIcon";
import { RiotGamesNeutralIcon } from "../../../../design/components/Icon/native/redesign/generated/RiotGamesNeutralIcon";
import { MinecraftNeutralIcon } from "../../../../design/components/Icon/native/redesign/generated/MinecraftNeutralIcon";
import { XboxNeutralIcon } from "../../../../design/components/Icon/native/redesign/generated/XboxNeutralIcon";
export default function getGameProfileStoreWebsiteData(a0) {
const category = a0.category;
if (ThirdPartyGameApplicationWebsiteCategory.STEAM === category) {
return {
icon: <SteamNeutralIcon size="md" />,
action: GameProfileTrackActionActions.SteamStoreLink,
title: intl.string(t.FsANs4),
url: a0.url
};
}
if (ThirdPartyGameApplicationWebsiteCategory.EPICGAMES === category) {
return {
icon: <EpicGamesNeutralIcon size="md" />,
action: GameProfileTrackActionActions.EpicStoreLink,
title: intl.string(t.ZbBMHa),
url: a0.url
};
}
if (ThirdPartyGameApplicationWebsiteCategory.ROBLOX === category) {
return {
icon: <RobloxNeutralIcon size="md" />,
action: GameProfileTrackActionActions.RobloxStoreLink,
title: intl.string(t["pJ+P+h"]),
url: a0.url
};
}
if (ThirdPartyGameApplicationWebsiteCategory.BATTLENET === category) {
return {
icon: <BattlenetNeutralIcon size="md" />,
action: GameProfileTrackActionActions.BattlenetStoreLink,
title: intl.string(t["A7grp+"]),
url: a0.url
};
}
if (ThirdPartyGameApplicationWebsiteCategory.RIOT === category) {
return {
icon: <RiotGamesNeutralIcon size="md" />,
action: GameProfileTrackActionActions.RiotStoreLink,
title: intl.string(t.h6MapL),
url: a0.url
};
}
if (ThirdPartyGameApplicationWebsiteCategory.MINECRAFT === category) {
return {
icon: <MinecraftNeutralIcon size="md" />,
action: GameProfileTrackActionActions.MinecraftStoreLink,
title: intl.string(t["HZbmO+"]),
url: a0.url
};
}
if (category === "XBOX_GAME_PASS") {
return {
icon: <XboxNeutralIcon size="md" />,
action: GameProfileTrackActionActions.XboxGamePassStoreLink,
title: intl.string(t["QpN/Iz"]),
url: a0.url
};
}
return null;
};
@@ -0,0 +1,80 @@
// Metro module 11934 (f11935).
import { ThirdPartyGameApplicationWebsiteCategory } from "../../../../_bundle/Module8490";
import { GlobeEarthIcon } from "../../../../design/components/Icon/native/redesign/generated/GlobeEarthIcon";
import { GameProfileTrackActionActions } from "../../GameProfileAnalyticUtils";
import { intl, t } from "../../../../intl/index.native";
import { XNeutralIcon } from "../../../../design/components/Icon/native/redesign/generated/XNeutralIcon";
import { YoutubeNeutralIcon } from "../../../../design/components/Icon/native/redesign/generated/YoutubeNeutralIcon";
import { FacebookNeutralIcon } from "../../../../design/components/Icon/native/redesign/generated/FacebookNeutralIcon";
import { InstagramNeutralIcon } from "../../../../design/components/Icon/native/redesign/generated/InstagramNeutralIcon";
import { BlueskyNeutralIcon } from "../../../../design/components/Icon/native/redesign/generated/BlueskyNeutralIcon";
import { RedditNeutralIcon } from "../../../../design/components/Icon/native/redesign/generated/RedditNeutralIcon";
import { TwitchNeutralIcon } from "../../../../design/components/Icon/native/redesign/generated/TwitchNeutralIcon";
export default function getGameProfileWebsiteData(a0, a1) {
const category = a0.category;
if (ThirdPartyGameApplicationWebsiteCategory.OFFICIAL === category) {
return {
icon: <GlobeEarthIcon size="md" color={a1} />,
action: GameProfileTrackActionActions.WebsiteLink,
title: intl.string(t.fOUKvg),
url: a0.url
};
}
if (ThirdPartyGameApplicationWebsiteCategory.TWITTER === category) {
return {
icon: <XNeutralIcon size="md" color={a1} />,
action: GameProfileTrackActionActions.XLink,
title: intl.string(t.INic4y),
url: a0.url
};
}
if (ThirdPartyGameApplicationWebsiteCategory.YOUTUBE === category) {
return {
icon: <YoutubeNeutralIcon size="md" color={a1} />,
action: GameProfileTrackActionActions.YouTubeLink,
title: intl.string(t.lNmxbE),
url: a0.url
};
}
if (ThirdPartyGameApplicationWebsiteCategory.FACEBOOK === category) {
return {
icon: <FacebookNeutralIcon size="md" color={a1} />,
action: GameProfileTrackActionActions.FacebookLink,
title: intl.string(t.FjyREK),
url: a0.url
};
}
if (ThirdPartyGameApplicationWebsiteCategory.INSTAGRAM === category) {
return {
icon: <InstagramNeutralIcon size="md" color={a1} />,
action: GameProfileTrackActionActions.InstagramLink,
title: intl.string(t["cgR+IK"]),
url: a0.url
};
}
if (ThirdPartyGameApplicationWebsiteCategory.BLUESKY === category) {
return {
icon: <BlueskyNeutralIcon size="md" color={a1} />,
action: GameProfileTrackActionActions.BlueskyLink,
title: intl.string(t["D/PHq5"]),
url: a0.url
};
}
if (ThirdPartyGameApplicationWebsiteCategory.REDDIT === category) {
return {
icon: <RedditNeutralIcon size="md" color={a1} />,
action: GameProfileTrackActionActions.RedditLink,
title: intl.string(t["Hgb+fc"]),
url: a0.url
};
}
if (ThirdPartyGameApplicationWebsiteCategory.TWITCH === category) {
return {
icon: <TwitchNeutralIcon size="md" color={a1} />,
action: GameProfileTrackActionActions.TwitchLink,
title: intl.string(t["7xtz4G"]),
url: a0.url
};
}
return null;
};