/* Metro module 15953; source: actions/native/GuildActionCreators.tsx; dependencies: [661, 694, 507, 2] */ import Dispatcher from '../../Dispatcher.tsx'; /* Metro dependency 694 */ import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ import * as ConstantsModule from '../../Constants.tsx'; /* Metro dependency 661 */ function _fun123307(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#123307, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16161:6, offset: 0x02587d3b, size: 155 bytes, params: 8, frame: 20 const env0_0 = require; const batchChannelUpdate_1233082 = batchChannelUpdate_123308; const batchRoleUpdate_1233102 = batchRoleUpdate_123310; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); object = {batchChannelUpdate: batchChannelUpdate_1233082, batchRoleUpdate: batchRoleUpdate_1233102}; (FileImportTrackerModule).fileFinishedImporting('actions/native/GuildActionCreators.tsx'); exports.default = object; exports.batchChannelUpdate = batchChannelUpdate_1233082; exports.batchRoleUpdate = batchRoleUpdate_1233102; function batchChannelUpdate_123308(a0, a1) { // fn#123308, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16161:116, offset: 0x02587dd6, size: 157 bytes, params: 3, frame: 18 var object; var HTTP; var patch; const batchChannelUpdate_123308OnEnd2 = batchChannelUpdate_123308OnEnd; if (!(a1.length <= 0)) { (importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'GUILD_SETTINGS_SUBMIT'}); HTTP = (require(507) /* metro dependency 507: HTTPUtils */).HTTP; patch = HTTP.patch; object = {}; object.url = Endpoints.GUILD_CHANNELS(a0); object.body = a1; object.oldFormErrors = true; object.rejectWithError = true; Reflect.apply(patch, HTTP, [object]).then(batchChannelUpdate_123308OnEnd2, batchChannelUpdate_123308OnEnd2); } function batchChannelUpdate_123308OnEnd() { // fn#123309, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16161:149, owner: batchChannelUpdate_123308.onEnd, offset: 0x02587e73, size: 47 bytes, params: 1, frame: 12 const value = environment.__proto__; return (Dispatcher).dispatch({type: 'GUILD_SETTINGS_SUBMIT_SUCCESS'}); } } function batchRoleUpdate_123310(a0, a1) { // fn#123310, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16161:401, offset: 0x02587ea2, size: 157 bytes, params: 3, frame: 18 var object; var HTTP; var patch; const batchRoleUpdate_123310OnEnd2 = batchRoleUpdate_123310OnEnd; if (!(a1.length <= 0)) { (importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'GUILD_SETTINGS_SUBMIT'}); HTTP = (require(507) /* metro dependency 507: HTTPUtils */).HTTP; patch = HTTP.patch; object = {}; object.url = Endpoints.GUILD_ROLES(a0); object.body = a1; object.oldFormErrors = true; object.rejectWithError = true; Reflect.apply(patch, HTTP, [object]).then(batchRoleUpdate_123310OnEnd2, batchRoleUpdate_123310OnEnd2); } function batchRoleUpdate_123310OnEnd() { // fn#123311, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16161:431, owner: batchRoleUpdate_123310.onEnd, offset: 0x02587e73, size: 47 bytes, params: 1, frame: 12 const value = environment.__proto__; return (Dispatcher).dispatch({type: 'GUILD_SETTINGS_SUBMIT_SUCCESS'}); } } } global.__d(_fun123307, 15953, [661, 694, 507, 2]) /* metro module 15953, dependencies: [661, 694, 507, 2] */;