/* Metro module 16263; source: modules/headless_tasks/android/ToggleDeafen.tsx; dependencies: [1379, 16260, 10845, 10834, 2] */ function _fun125712(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#125712, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16471:6, offset: 0x025e1a66, size: 86 bytes, params: 8, frame: 14 const env0_0 = require; const channelStore = importDefault(1379) /* metro dependency 1379: ChannelStore */; module.exports = function({channelId}) { var Promise = global.Promise; var value = Object.create(Promise.prototype, {constructor: {value: Promise}}); var value2 = new Promise(_fun125714); return value2 instanceof Object ? value2 : value; }; (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/headless_tasks/android/ToggleDeafen.tsx'); } function exports_125713({channelId}) { // fn#125713, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16471:67, offset: 0x025e1abc, size: 51 bytes, params: 2, frame: 11 const Promise = global.Promise; const value = Object.create(Promise.prototype, {constructor: {value: Promise}}); const promise = new Promise(_fun125714); return promise instanceof Object ? promise : value; } function _fun125714(a0) { // fn#125714, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16471:97, offset: 0x025e1aef, size: 54 bytes, params: 2, frame: 12 var environment; const env0_0 = a0; const value = environment.__proto__; (importDefault(16260) /* metro dependency 16260: HeadlessTaskUtils */).awaitStorage(_fun125715); } function _fun125715() { // fn#125715, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16471:123, offset: 0x025e1b25, size: 105 bytes, params: 1, frame: 14 let value = environment.__proto__.__proto__; const channel = ChannelStore.getChannel(channelId); value = require(10845) /* metro dependency 10845: useDeafStates */; value = value.getDeafStates(channel); const voiceActionUtilsModule = require(10834) /* metro dependency 10834: VoiceActionUtils */; voiceActionUtilsModule.createDeafHandler(value).onPress(); env0_0(true); }