/* Metro module 8055; source: modules/interactions/InteractionActionCreators.tsx; dependencies: [5, 661, 694, 507, 2] */ function _fun63897(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#63897, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8233:6, offset: 0x01b9504c, size: 180 bytes, params: 8, frame: 19 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const env0_3 = importDefault(5) /* metro dependency 5 */; const env0_4 = (require(661) /* metro dependency 661: Constants */).Endpoints; (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/interactions/InteractionActionCreators.tsx'); exports.queueInteractionComponentState = queueInteractionComponentState; exports.addQueued = addQueued; exports.setFailed = setFailed; exports.fetchMessageInteractionData = function() { return _fetchMessageInteractionData.apply(this, arguments); }; } function _fetchMessageInteractionData() { // fn#63898, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8233:126, offset: 0x01b95100, size: 48 bytes, params: 1, frame: 14 return env0_3(_fun63900).apply(this, arguments); } function queueInteractionComponentState(a0, a1, a2, a3) { // fn#63901, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8233:617, offset: 0x01b951ee, size: 79 bytes, params: 5, frame: 13 (importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'QUEUE_INTERACTION_COMPONENT_STATE', messageId: a0, nonce: a1, state: a2, componentId: a3}); } function addQueued(a0, {data, messageId, preflight, onCreate, onSuccess, onFailure}) { // fn#63902, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8233:782, offset: 0x01b9523d, size: 120 bytes, params: 3, frame: 19 const dispatcher = importDefault(694) /* metro dependency 694: Dispatcher */; dispatcher.dispatch({type: 'INTERACTION_QUEUE', data: data, nonce: a0, messageId: messageId, preflight: preflight, onCreate: onCreate, onSuccess: onSuccess, onFailure: onFailure}); } function setFailed(a0, a1, a2, a3) { // fn#63903, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8233:1004, offset: 0x01b952b5, size: 78 bytes, params: 5, frame: 13 (importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'INTERACTION_FAILURE', nonce: a0, errorMessage: a2, errorCode: a1, status: a3}); } function* _fun63900(a0, a1) { // fn#63900, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8233:205, offset: 0x01b95139, size: 181 bytes, params: 3, frame: 19 var body; if (false) { return undefined; } value = environment.__proto__.__proto__; const HTTP = env2_0(env2_2[3]).HTTP; const get = HTTP.get; const object2 = {'url': null, 'oldFormErrors': true, 'rejectWithError': false}; object2.url = env2_4.MESSAGE_INTERACTION_DATA(a0, a1); yield Reflect.apply(get, HTTP, [object2]); const value3 = undefined; if (false) { return value3; } if (value3.ok) { body = value3.body; value = env2_1(env2_2[2]); value.dispatch({type: 'LOAD_MESSAGE_INTERACTION_DATA_SUCCESS', channelId: a0, messageId: a1, interactionData: body}); return body; } return null; }