2026-08-25 06:04:03 +00:00
|
|
|
// Module ID: 13430
|
|
|
|
|
// Function ID: 13431
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: clientIdToActivateDevicePlatform
|
2026-08-25 06:04:03 +00:00
|
|
|
// Dependencies: [676, 10618, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: clientIdToActivateDevicePlatform
|
|
|
|
|
|
2026-08-25 06:04:03 +00:00
|
|
|
// Module 13430 (clientIdToActivateDevicePlatform)
|
2026-08-24 06:08:38 +00:00
|
|
|
import set from "set" /* 2 */;
|
|
|
|
|
import ME from "ME" /* 676 */;
|
2026-08-25 06:04:03 +00:00
|
|
|
import set2 from "set" /* 10618 */;
|
2026-07-22 07:54:56 +00:00
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
const PlatformTypes = ME.PlatformTypes;
|
|
|
|
|
const result = set.fileFinishedImporting("modules/activate_device/ActivateDeviceUtils.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const clientIdToActivateDevicePlatform = function clientIdToActivateDevicePlatform(clientId) {
|
2026-08-24 06:08:38 +00:00
|
|
|
if (clientId === set2.ConsoleOAuthApplications.PLAYSTATION_APPLICATION_ID) {
|
2026-07-20 16:05:17 +00:00
|
|
|
let PLAYSTATION = PlatformTypes.PLAYSTATION;
|
|
|
|
|
} else {
|
|
|
|
|
PLAYSTATION = null;
|
2026-08-24 06:08:38 +00:00
|
|
|
if (clientId === set2.ConsoleOAuthApplications.PLAYSTATION_STAGING_APPLICATION_ID) {
|
2026-07-20 16:05:17 +00:00
|
|
|
PLAYSTATION = PlatformTypes.PLAYSTATION_STAGING;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return PLAYSTATION;
|
|
|
|
|
};
|