Files
discord-decomp/sources/modules/guild_identity/GuildIdentityActionCreators.tsx
T
2026-07-27 16:20:00 +03:00

2476 lines
99 KiB
TypeScript

/* Metro module 7627; source: modules/guild_identity/GuildIdentityActionCreators.tsx; dependencies: [5, 661, 694, 507, 7618, 7615, 2] */
function _fun61114(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#61114, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7805:6, offset: 0x0171ab74, size: 215 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/guild_identity/GuildIdentityActionCreators.tsx');
exports.saveGuildIdentityChanges = function() {
return _saveGuildIdentityChanges.apply(this, arguments);
};
exports.setCurrentGuild = setCurrentGuild;
exports.initGuildIdentitySettings = initGuildIdentitySettings;
exports.resetPendingMemberChanges = resetPendingMemberChanges;
exports.resetPendingProfileChanges = resetPendingProfileChanges_61122;
exports.resetAllPending = resetAllPending_61123;
exports.clearErrors = clearErrors_61124;
}
function _saveGuildIdentityChanges() { // fn#61115, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7805:126, offset: 0x0171ac4b, size: 48 bytes, params: 1, frame: 14
return env0_3(_fun61117).apply(this, arguments);
}
function setCurrentGuild(a0) { // fn#61119, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7805:1742, offset: 0x0171afaa, size: 56 bytes, params: 2, frame: 13
(importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'USER_PROFILE_SETTINGS_SET_GUILD',
guildId: a0});
}
function initGuildIdentitySettings(a0) { // fn#61120, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7805:1868, offset: 0x0171afe2, size: 56 bytes, params: 2, frame: 13
(importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'USER_PROFILE_SETTINGS_INIT',
guildId: a0});
}
function resetPendingMemberChanges() { // fn#61121, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7805:1999, offset: 0x0171b01a, size: 49 bytes, params: 1, frame: 13
(importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'USER_PROFILE_SETTINGS_RESET_PENDING_ACCOUNT_CHANGES'});
}
function resetPendingProfileChanges_61122() { // fn#61122, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7805:2145, offset: 0x0171b04b, size: 49 bytes, params: 1, frame: 13
(importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'USER_PROFILE_SETTINGS_RESET_PENDING_PROFILE_CHANGES'});
}
function resetAllPending_61123() { // fn#61123, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7805:2281, offset: 0x0171b07c, size: 49 bytes, params: 1, frame: 13
(importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'USER_PROFILE_SETTINGS_RESET_PENDING_CHANGES'});
}
function clearErrors_61124() { // fn#61124, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7805:2394, offset: 0x0171b0ad, size: 49 bytes, params: 1, frame: 13
(importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'USER_PROFILE_SETTINGS_CLEAR_ERRORS'});
}
async function _fun61117(a0, {nick, avatar, avatarDescription, avatarId, avatarDecoration, nameplate, displayNameStyles, avatarOriginalMd5}) { // fn#61117, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7805:199, offset: 0x0171ac8d, size: 797 bytes, params: 3, frame: 31
var object3;
var r11;
var username;
var binding2;
var property;
var value9;
var HTTP;
var patch;
var object2;
var binding3;
var SET_GUILD_MEMBER;
var value10;
var binding4;
var value11;
var buildHeadersForMd5;
var value12;
var SafetyScannedUploadSurface;
var USER_GUILD_PROFILE_AVATAR;
var headersForMd5;
var value13;
var value14;
var value15;
var body;
var binding5;
var value16;
var value17;
var value18;
var value19;
var binding6;
var value20;
var error;
if (false) {
return undefined;
}
await undefined;
if (false) {
return undefined;
}
if (a0 == null) {
throw new global.Error('Need guildId');
}
let binding = env2_1;
binding(env2_2[2]).dispatch({type: 'USER_PROFILE_SETTINGS_SUBMIT', guildId: a0});
object3 = {nick: nick, avatar: avatar, avatar_description: avatarDescription, avatar_id: avatarId};
object3.avatar_decoration_sku_id = value === avatarDecoration ? value : (avatarDecoration == null ? value : avatarDecoration.skuId) ?? null;
object3.collectibles = value === nameplate ? value : {nameplate: nameplate === null ? null : {sku_id: nameplate.skuId}};
const value8 = value !== displayNameStyles;
object3.display_name_font_id = value8 ? displayNameStyles === null ? null : displayNameStyles.fontId : value;
object3.display_name_effect_id = value8 ? displayNameStyles === null ? null : displayNameStyles.effectId : value;
object3.display_name_colors = value8 ? displayNameStyles === null ? null : displayNameStyles.colors : value;
try {
binding = env2_0;
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
binding2 = env2_2;
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
property = binding2[3];
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
value9 = binding(property);
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
HTTP = value9.HTTP;
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
patch = HTTP.patch;
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
object2 = {};
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
binding3 = env2_4;
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
SET_GUILD_MEMBER = binding3.SET_GUILD_MEMBER;
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
value10 = Reflect.apply(SET_GUILD_MEMBER, binding3, [a0]);
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
object2.url = value10;
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
object2.body = object3;
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
binding4 = env2_1;
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
property = binding2[4];
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
value11 = binding4(property);
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
buildHeadersForMd5 = value11.buildHeadersForMd5;
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
object3 = {};
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
property = binding2[5];
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
value12 = binding(property);
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
SafetyScannedUploadSurface = value12.SafetyScannedUploadSurface;
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
USER_GUILD_PROFILE_AVATAR = SafetyScannedUploadSurface.USER_GUILD_PROFILE_AVATAR;
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
object3[USER_GUILD_PROFILE_AVATAR] = avatarOriginalMd5;
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
headersForMd5 = Reflect.apply(buildHeadersForMd5, value11, [object3]);
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
object2.headers = headersForMd5;
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
object2.oldFormErrors = true;
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
object2.rejectWithError = false;
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
value13 = Reflect.apply(patch, HTTP, [object2]);
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
await value13;
try {
value14 = undefined;
value15 = false;
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
if (!value15) {
try {
body = value14.body;
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
binding = env2_1;
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
binding5 = env2_2;
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
property = binding5[2];
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
value16 = binding(property);
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
dispatch = value16.dispatch;
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
object3 = {};
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
object3.type = 'USER_PROFILE_SETTINGS_SUBMIT_SUCCESS';
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
object3.guildId = a0;
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
Reflect.apply(dispatch, value16, [object3]);
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
property = binding5[2];
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
value17 = binding(property);
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
dispatch = value17.dispatch;
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
object3 = {};
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
object3.type = 'GUILD_MEMBER_PROFILE_UPDATE';
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
object3.guildMember = body;
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
object3.guildId = a0;
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
Reflect.apply(dispatch, value17, [object3]);
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
try {
value18 = avatar == null;
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0, errors: body}]);
return error;
}
if (value18) {
try {
value19 = avatarId == null;
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
r11 = value19;
} else {
r11 = value18;
}
if (!r11) {
try {
binding = env2_1;
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
try {
binding6 = env2_2;
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
try {
property = binding6[2];
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
try {
value20 = binding(property);
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
try {
dispatch = value20.dispatch;
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
try {
object3 = {};
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
try {
object3.type = 'RECENT_AVATARS_UPDATE';
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
try {
Reflect.apply(dispatch, value20, [object3]);
} catch (error) {
body = error.body;
if (body == null) {
username = value;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
if (username == null) {
value = env2_1(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
username = body.username;
body.nick = username;
delete body.username;
binding = env2_1;
value = binding(env2_2[2]);
dispatch = value.dispatch;
body = error.body;
Reflect.apply(dispatch, value, [{type: 'USER_PROFILE_SETTINGS_SUBMIT_FAILURE', guildId: a0,
errors: body}]);
return error;
}
}
}
return value14;
}