/* Metro module 15002; source: actions/PruneGuildModalActionCreators.tsx; dependencies: [5, 661, 507, 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 _fun113403(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#113403, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15199:6, offset: 0x023f74d2, size: 169 bytes, params: 8, frame: 18 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); object = {updateEstimate: updateEstimate_113404, updateEstimateV2: updateEstimateV2, prune: function(a0, a1, a2) { var HTTP = require(dependencyMap[2]).HTTP; var object = {}; object.url = Endpoints.GUILD_PRUNE(a0); object.body = {days: a1, compute_prune_count: false, include_roles: a2}; object.oldFormErrors = true; object.rejectWithError = false; return HTTP.post(object); }}; (FileImportTrackerModule).fileFinishedImporting('actions/PruneGuildModalActionCreators.tsx'); exports.default = object; function updateEstimate_113404(a0) { // fn#113404, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15199:144, offset: 0x023f757b, size: 57 bytes, params: 2, frame: 12 const value = a1; const env0_0 = a0; const env0_1 = value !== undefined ? value : 7; return a2(_fun113406)(); function* _fun113406() { // fn#113406, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15199:158, offset: 0x023f75bf, size: 148 bytes, params: 1, frame: 16 if (false) { return undefined; } value = environment.__proto__.__proto__; let binding = env2_0; const HTTP = binding(env2_1[2]).HTTP; const get = HTTP.get; binding = env2_3; const GUILD_PRUNE = binding.GUILD_PRUNE; value = environment.__proto__; yield Reflect.apply(get, HTTP, [{url: Reflect.apply(GUILD_PRUNE, binding, [require]), query: {days: dependencyMap, include_roles: env1_2}, oldFormErrors: true, rejectWithError: false}]); value = undefined; if (false) { return value; } return value.body.pruned; } } function updateEstimateV2(a0) { // fn#113407, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15199:326, offset: 0x023f7653, size: 57 bytes, params: 2, frame: 12 const value = a1; const env0_0 = a0; const env0_1 = value !== undefined ? value : 7; return a2(_fun113409)(); function* _fun113409() { // fn#113409, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15199:340, offset: 0x023f7697, size: 135 bytes, params: 1, frame: 17 if (true) { value = environment.__proto__.__proto__; var binding = env2_0; var HTTP = binding(env2_1[2]).HTTP; var get = HTTP.get; binding = env2_3; var GUILD_PRUNE_V2 = binding.GUILD_PRUNE_V2; value = environment.__proto__; yield Reflect.apply(get, HTTP, [{url: Reflect.apply(GUILD_PRUNE_V2, binding, [require]), query: {days: dependencyMap, include_roles: env1_2}, oldFormErrors: true, rejectWithError: false}]); } } } } global.__d(_fun113403, 15002, [5, 661, 507, 2]) /* metro module 15002, dependencies: [5, 661, 507, 2] */;