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,58 @@
// Metro module 8945 (f8946).
import { ActivityGamePlatforms } from "../../Constants";
import { OAuth2Scopes } from "../../_bundle/Module8174";
const r12 = [OAuth2Scopes.VOICE, OAuth2Scopes.DM_CHANNELS_READ, OAuth2Scopes.GUILDS, OAuth2Scopes.GUILDS_MEMBERS_READ, OAuth2Scopes.IDENTIFY, OAuth2Scopes.CONNECTIONS, OAuth2Scopes.ACTIVITIES_READ];
const r11 = [OAuth2Scopes.VOICE, OAuth2Scopes.DM_CHANNELS_READ, OAuth2Scopes.GUILDS, OAuth2Scopes.GUILDS_MEMBERS_READ, OAuth2Scopes.IDENTIFY, OAuth2Scopes.CONNECTIONS];
const r10 = {
PLAYSTATION: "playstation",
XBOX: "xbox"
};
const set = new Set([r10.XBOX, r10.PLAYSTATION]);
const set2 = new Set([ActivityGamePlatforms.XBOX, ActivityGamePlatforms.PS5]);
const r90 = {
CONSOLE_DEVICE_PASSCODE_UNLOCK_REQUIRED: 270000
};
r90[270000] = "CONSOLE_DEVICE_PASSCODE_UNLOCK_REQUIRED";
r90.CONSOLE_DEVICE_UNAVAILABLE = 270001;
r90[270001] = "CONSOLE_DEVICE_UNAVAILABLE";
r90.CONSOLE_DEVICE_UNVAILABLE_FROM_OTHER_USERS = 270002;
r90[270002] = "CONSOLE_DEVICE_UNVAILABLE_FROM_OTHER_USERS";
r90.CONSOLE_DEVICE_COMMUNICATION_RESTRICTED = 270003;
r90[270003] = "CONSOLE_DEVICE_COMMUNICATION_RESTRICTED";
r90.CONSOLE_DEVICE_INVALID_POWER_MODE = 270004;
r90[270004] = "CONSOLE_DEVICE_INVALID_POWER_MODE";
r90.CONSOLE_DEVICE_ACCOUNT_LINK_ERROR = 270005;
r90[270005] = "CONSOLE_DEVICE_ACCOUNT_LINK_ERROR";
r90.CONSOLE_DEVICE_MAX_MEMBERS_REACHED = 270006;
r90[270006] = "CONSOLE_DEVICE_MAX_MEMBERS_REACHED";
r90.CONSOLE_DEVICE_BAD_COMMAND = 270007;
r90[270007] = "CONSOLE_DEVICE_BAD_COMMAND";
const set3 = new Set([r90.CONSOLE_DEVICE_PASSCODE_UNLOCK_REQUIRED]);
export const XBOX_URL_BASE = "xbox://communitylinking/donut/audio";
export const XBOX_IOS_APP_LINK = "https://apps.apple.com/us/app/xbox/id736179781";
export const XBOX_ANDROID_APP_LINK = "https://play.google.com/store/apps/details?id=com.microsoft.xboxone.smartglass";
export const XBOX_APP_WEB_LINK = "https://www.xbox.com/en-US/apps/xbox-app-for-mobile";
export const XBOX_LINK_DEST_ORIGIN = "https://login.live.com";
export { r12 as XBOX_CLIENT_SCOPES };
export { r11 as PLAYSTATION_CLIENT_SCOPES };
export const PLAYSTATION_LINK_DEST_ORIGIN = "https://my.account.sony.com";
export const XBOX_HANDOFF_SEARCH_PARAMS = ({ guildId, channelName, guildName, channelId, muted, deafened, nonce }) => {
const r3 = {
channelid: channelId,
guildid: guildId,
channelname: channelName,
guildname: guildName,
muted: String(muted),
deafened: String(deafened)
};
if (nonce != null) {
r3.nonce = nonce;
}
return new URLSearchParams(r3);
};
export { r10 as GameConsoleTypes };
export { set as GAME_CONSOLE_SESSIONS };
export { set2 as CONSOLE_VOICE_PLATFORMS };
export { r90 as GameConsoleCommandResultErrorCodes };
export { set3 as USER_ACTION_REQUIRED_ERROR_CODES };
export const GAME_CONSOLE_ALERT_MODAL_LOCATION = "console error alert";