Files
2026-07-28 01:06:53 +03:00

74 lines
3.8 KiB
TypeScript

/* Metro module 9421; source: modules/game_console/native/beginConsoleTransfer.tsx; dependencies: [5, 661, 9422, 9429, 4080, 9430, 1962, 480, 9433, 2] */
import Module00005 from '../../../by-id/module-00005.js'; /* Metro dependency 5 */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ConstantsModule from '../../../Constants.tsx'; /* Metro dependency 661 */
function _fun73345(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#73345, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9607:6, offset: 0x01d69aec, size: 204 bytes, params: 8, frame: 20
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const PlatformTypes = (ConstantsModule).PlatformTypes;
const Set = global.Set;
const PLAYSTATION = PlatformTypes.PLAYSTATION;
const PLAYSTATION_STAGING = PlatformTypes.PLAYSTATION_STAGING;
const set = new Set([PLAYSTATION, PLAYSTATION_STAGING]);
(FileImportTrackerModule).fileFinishedImporting('modules/game_console/native/beginConsoleTransfer.tsx');
exports.beginConsoleTransfer = function() {
return _beginConsoleTransfer.apply(this, arguments);
};
function _beginConsoleTransfer() { // fn#73346, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9607:179, offset: 0x01d69bb8, size: 50 bytes, params: 1, frame: 14
return Module00005(_fun73348).apply(this, arguments);
function* _fun73348(a0, a1) { // fn#73348, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9607:244, offset: 0x01d69bf5, size: 325 bytes, params: 3, frame: 23
var value3;
var value4;
var property;
var binding2;
var value7;
var openLazy;
var value8;
var object;
if (true) {
value = environment.__proto__.__proto__;
var binding = env2_4;
if (binding.has(a1)) {
binding = env2_0;
value3 = binding(env2_2[2]);
yield value3.fetchDevices(a1);
value4 = undefined;
if (false) {
return value4;
}
if (value4.length !== 1) {
binding = env2_1;
binding2 = env2_2;
value7 = binding(binding2[4]);
openLazy = value7.openLazy;
binding = env2_0;
value = binding(binding2[6]);
value = value(binding2[5], binding2.paths);
value8 = 'GameConsoleDeviceListActionSheet' + a0.id;
object = {channel: a0, platform: a1};
object.impressionName = binding(binding2[7]).ImpressionNames.GAME_CONSOLE_DEVICE_LIST;
return Reflect.apply(openLazy, value7, [value, value8, object]);
}
property = value4[0];
binding = env2_0;
value = binding(env2_2[3]);
yield value.transferToPlaystationWithAlert(a1, property, a0);
value = undefined;
if (false) {
return value;
}
} else {
env2_1(env2_2[8])(a0);
}
}
}
}
}
global.__d(_fun73345, 9421, [5, 661, 9422, 9429, 4080, 9430, 1962, 480, 9433,
2]) /* metro module 9421, dependencies: [5, 661, 9422, 9429, 4080, 9430, 1962, 480, 9433, 2] */;