/* Metro module 8080; source: modules/rpc/native/server/NativeRPCHelpers.tsx; dependencies: [5, 4135, 661, 8081, 8076, 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 */ import * as ConstantsModule2 from '../../Constants.tsx'; /* Metro dependency 4135 */ function _fun64748(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#64748, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8265:6, offset: 0x01bb416f, size: 186 bytes, params: 8, frame: 19 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const value = _fun64749(); (FileImportTrackerModule).fileFinishedImporting('modules/rpc/native/server/NativeRPCHelpers.tsx'); exports.validateSocketClient = value; exports.getDeprecatedVoiceSettings = getDeprecatedVoiceSettings; exports.getVoiceSettings = getVoiceSettings; function _fun64749() { // fn#64749, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8265:157, offset: 0x01bb4229, size: 32 bytes, params: 1, frame: 12 const env0_0 = Module00005(_fun64751); return _fun64752; function* _fun64751(a0, a1, a2) { // fn#64751, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8265:177, offset: 0x01bb4252, size: 261 bytes, params: 4, frame: 22 var Promise; if (false) { return undefined; } value = environment.__proto__.__proto__; env2_0(env2_2[3]).validateOriginAndUpdateSocket(a0, a1); if (a2 == null) { Promise = global.Promise; return Promise.reject(new env2_1(env2_2[4])({closeCode: env2_5.INVALID_CLIENTID}, 'No Client ID Specified')); } const transport = a0.transport; const POST_MESSAGE = env2_4.POST_MESSAGE; const value4 = env2_0(env2_2[3]); yield value4.processSocketThrottlers(a2, transport !== POST_MESSAGE, a0.abortController.signal); if (false) { return undefined; } return env2_0(env2_2[3]).validateSocketApplication(a0, a2, a1); } function _fun64752() { // fn#64752, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8265:502, offset: 0x00c3945f, size: 30 bytes, params: 1, frame: 13 return env0_0.apply(this, arguments); } } function getDeprecatedVoiceSettings() { // fn#64753, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8265:682, offset: 0x01bb4357, size: 45 bytes, params: 1, frame: 11 return (require(8081) /* metro dependency 8081: RPCHelpers */).getDeprecatedVoiceSettingsWithShortcut(function() { return []; }); } function getVoiceSettings(a0) { // fn#64755, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8265:762, offset: 0x01bb4384, size: 49 bytes, params: 2, frame: 13 return (require(8081) /* metro dependency 8081: RPCHelpers */).getVoiceSettingsWithShortcut(a0, function() { return ''; }); } } global.__d(_fun64748, 8080, [5, 4135, 661, 8081, 8076, 2]) /* metro module 8080, dependencies: [5, 4135, 661, 8081, 8076, 2] */;