Files
discord-decomp/sources/modules/guild_role_subscriptions/GuildRoleSubscriptionsHttpApi.tsx
T
2026-07-28 01:06:53 +03:00

3895 lines
162 KiB
TypeScript

/* Metro module 6846; source: modules/guild_role_subscriptions/GuildRoleSubscriptionsHttpApi.tsx; dependencies: [5, 661, 482, 507, 4131, 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 '../../external/discord_common/js/shared/Constants.tsx'; /* Metro dependency 482 */
import * as ConstantsModule2 from '../../Constants.tsx'; /* Metro dependency 661 */
function _fun53950(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#53950, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:6, offset: 0x01359c8c, size: 417 bytes, params: 8, frame: 33
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const value = _fun53951();
const value2 = _fun53955();
const value3 = _fun53959();
const value4 = _fun53963();
const value5 = _fun53967();
const value6 = _fun53971();
const value7 = _fun53975();
const value8 = _fun53979();
const value9 = _fun53983();
const value10 = _fun53987();
const value11 = _fun53991();
const value12 = _fun53995();
const value13 = _fun53999();
const value14 = _fun54003();
const value15 = _fun54007();
const value16 = _fun54011();
const value17 = _fun54015();
const value18 = _fun54019();
(FileImportTrackerModule).fileFinishedImporting('modules/guild_role_subscriptions/GuildRoleSubscriptionsHttpApi.tsx');
exports.updateGuildRoleSubscriptionGroupListing = value;
exports.createGuildRoleSubscriptionGroupListing = value2;
exports.deleteGuildRoleSubscriptionGroupListing = value3;
exports.createGuildRoleSubscriptionListing = value4;
exports.updateGuildRoleSubscriptionListing = value5;
exports.getGuildRoleSubscriptionGroupListingsForGuild = value6;
exports.getGuildRoleSubscriptionsSettings = value7;
exports.updateGuildRoleSubscriptionsSettings = value8;
exports.getPriceTiers = value9;
exports.getGuildRoleSubscriptionGroupListing = value10;
exports.getGuildRoleSubscriptionGroupForSubscriptionPlan = value11;
exports.deleteGuildRoleSubscriptionListing = value12;
exports.archiveGuildRoleSubscriptionListing = value13;
exports.getGuildRoleSubscriptionTrials = value14;
exports.updateGuildRoleSubscriptionsTrial = value15;
exports.getGuildRoleSubscriptionTrialEligibility = value16;
exports.getGuildMonetizationRestrictions = value17;
exports.fetchHighlightedCreatorGuildDetails = value18;
function _fun53951() { // fn#53951, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:155, offset: 0x01359e2d, size: 32 bytes, params: 1, frame: 12
const env0_0 = Module00005(_fun53953);
return _fun53954;
function* _fun53953(a0, a1, a2) { // fn#53953, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:175, offset: 0x01359e56, size: 174 bytes, params: 4, frame: 18
var binding;
var binding2;
var property;
var value3;
var HTTP;
var patch;
var object;
var GUILD_ROLE_SUBSCRIPTION_GROUP_LISTINGS;
var value4;
var value5;
var value6;
var value7;
var body;
var error;
var APIError;
var prototype;
var aPIError;
if (false) {
return undefined;
}
value = environment.__proto__.__proto__;
try {
binding = env2_0;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
binding2 = env2_1;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
property = binding2[3];
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value3 = binding(property);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
HTTP = value3.HTTP;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
patch = HTTP.patch;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object = {};
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
binding = env2_3;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
GUILD_ROLE_SUBSCRIPTION_GROUP_LISTINGS = binding.GUILD_ROLE_SUBSCRIPTION_GROUP_LISTINGS;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value4 = Reflect.apply(GUILD_ROLE_SUBSCRIPTION_GROUP_LISTINGS, binding, [a0, a1]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.url = value4;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.body = a2;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.rejectWithError = false;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value5 = Reflect.apply(patch, HTTP, [object]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
yield value5;
try {
value6 = undefined;
value7 = false;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
if (value7) {
return value6;
}
try {
body = value6.body;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
return body;
}
function _fun53954() { // fn#53954, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:364, offset: 0x00c3945f, size: 30 bytes, params: 1, frame: 13
return env0_0.apply(this, arguments);
}
}
function _fun53955() { // fn#53955, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:412, offset: 0x01359f04, size: 32 bytes, params: 1, frame: 12
const env0_0 = Module00005(_fun53957);
return _fun53958;
function* _fun53957(a0, a1) { // fn#53957, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:432, offset: 0x01359f2d, size: 170 bytes, params: 3, frame: 16
var binding;
var binding2;
var property;
var value3;
var HTTP;
var post;
var object;
var GUILD_ROLE_SUBSCRIPTION_GROUP_LISTINGS;
var value4;
var value5;
var value6;
var value7;
var body;
var error;
var APIError;
var prototype;
var aPIError;
if (false) {
return undefined;
}
value = environment.__proto__.__proto__;
try {
binding = env2_0;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
binding2 = env2_1;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
property = binding2[3];
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value3 = binding(property);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
HTTP = value3.HTTP;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
post = HTTP.post;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object = {};
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
binding = env2_3;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
GUILD_ROLE_SUBSCRIPTION_GROUP_LISTINGS = binding.GUILD_ROLE_SUBSCRIPTION_GROUP_LISTINGS;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value4 = Reflect.apply(GUILD_ROLE_SUBSCRIPTION_GROUP_LISTINGS, binding, [a0]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.url = value4;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.body = a1;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.rejectWithError = false;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value5 = Reflect.apply(post, HTTP, [object]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
yield value5;
try {
value6 = undefined;
value7 = false;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
if (value7) {
return value6;
}
try {
body = value6.body;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
return body;
}
function _fun53958() { // fn#53958, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:616, offset: 0x00c3945f, size: 30 bytes, params: 1, frame: 13
return env0_0.apply(this, arguments);
}
}
function _fun53959() { // fn#53959, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:664, offset: 0x01359fd7, size: 32 bytes, params: 1, frame: 12
const env0_0 = Module00005(_fun53961);
return _fun53962;
function* _fun53961(a0, a1) { // fn#53961, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:684, offset: 0x0135a000, size: 162 bytes, params: 3, frame: 18
var binding;
var binding2;
var property;
var value3;
var HTTP;
var del;
var object;
var GUILD_ROLE_SUBSCRIPTION_GROUP_LISTINGS;
var value4;
var value5;
var value6;
var value7;
var error;
var APIError;
var prototype;
var aPIError;
if (false) {
return undefined;
}
value = environment.__proto__.__proto__;
try {
binding = env2_0;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
binding2 = env2_1;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
property = binding2[3];
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value3 = binding(property);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
HTTP = value3.HTTP;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
del = HTTP.del;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object = {};
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
binding = env2_3;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
GUILD_ROLE_SUBSCRIPTION_GROUP_LISTINGS = binding.GUILD_ROLE_SUBSCRIPTION_GROUP_LISTINGS;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value4 = Reflect.apply(GUILD_ROLE_SUBSCRIPTION_GROUP_LISTINGS, binding, [a0, a1]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.url = value4;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.rejectWithError = false;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value5 = Reflect.apply(del, HTTP, [object]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
yield value5;
try {
value6 = undefined;
value7 = false;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
return value7 ? value6 : undefined;
}
function _fun53962() { // fn#53962, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:849, offset: 0x00c3945f, size: 30 bytes, params: 1, frame: 13
return env0_0.apply(this, arguments);
}
}
function _fun53963() { // fn#53963, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:897, offset: 0x0135a0a2, size: 32 bytes, params: 1, frame: 12
const env0_0 = Module00005(_fun53965);
return _fun53966;
async function _fun53965(a0, a1, a2) { // fn#53965, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:917, offset: 0x0135a0d4, size: 242 bytes, params: 4, frame: 22
var binding;
var binding2;
var property;
var value7;
var HTTP;
var post;
var object;
var GUILD_ROLE_SUBSCRIPTION_LISTINGS;
var value8;
var object2;
var value9;
var body;
var error;
var APIError;
var prototype;
var aPIError;
if (false) {
return undefined;
}
const priceTier = a2.priceTier;
value = Object.create(null);
value.priceTier = 0;
const value3 = copyDataProperties({}, a2, value, undefined);
await undefined;
if (false) {
return undefined;
}
try {
binding = env2_0;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
binding2 = env2_1;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
property = binding2[3];
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value7 = binding(property);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
HTTP = value7.HTTP;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
post = HTTP.post;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object = {};
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
binding = env2_3;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
GUILD_ROLE_SUBSCRIPTION_LISTINGS = binding.GUILD_ROLE_SUBSCRIPTION_LISTINGS;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value8 = Reflect.apply(GUILD_ROLE_SUBSCRIPTION_LISTINGS, binding, [a0, a1]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.url = value8;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object2 = {};
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
copyDataProperties(object2, value3, value);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object2['price_tier'] = priceTier;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.body = object2;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.rejectWithError = false;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value = Reflect.apply(post, HTTP, [object]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
await value;
try {
value = undefined;
value9 = false;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
if (value9) {
return value;
}
try {
body = value.body;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
return body;
}
function _fun53966() { // fn#53966, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:1134, offset: 0x00c3945f, size: 30 bytes, params: 1, frame: 13
return env0_0.apply(this, arguments);
}
}
function _fun53967() { // fn#53967, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:1182, offset: 0x0135a1c6, size: 32 bytes, params: 1, frame: 12
const env0_0 = Module00005(_fun53969);
return _fun53970;
async function _fun53969(a0, a1, a2, a3) { // fn#53969, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:1202, offset: 0x0135a1f8, size: 246 bytes, params: 5, frame: 23
var binding;
var binding2;
var property;
var value7;
var HTTP;
var patch;
var object;
var GUILD_ROLE_SUBSCRIPTION_LISTINGS;
var value8;
var object2;
var value9;
var body;
var error;
var APIError;
var prototype;
var aPIError;
if (false) {
return undefined;
}
const priceTier = a3.priceTier;
value = Object.create(null);
value.priceTier = 0;
const value3 = copyDataProperties({}, a3, value, undefined);
await undefined;
if (false) {
return undefined;
}
try {
binding = env2_0;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
binding2 = env2_1;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
property = binding2[3];
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value7 = binding(property);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
HTTP = value7.HTTP;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
patch = HTTP.patch;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object = {};
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
binding = env2_3;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
GUILD_ROLE_SUBSCRIPTION_LISTINGS = binding.GUILD_ROLE_SUBSCRIPTION_LISTINGS;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value8 = Reflect.apply(GUILD_ROLE_SUBSCRIPTION_LISTINGS, binding, [a0, a1, a2]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.url = value8;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object2 = {};
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
copyDataProperties(object2, value3, value);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object2['price_tier'] = priceTier;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.body = object2;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.rejectWithError = false;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value = Reflect.apply(patch, HTTP, [object]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
await value;
try {
value = undefined;
value9 = false;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
if (value9) {
return value;
}
try {
body = value.body;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
return body;
}
function _fun53970() { // fn#53970, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:1424, offset: 0x00c3945f, size: 30 bytes, params: 1, frame: 13
return env0_0.apply(this, arguments);
}
}
function _fun53971() { // fn#53971, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:1472, offset: 0x0135a2ee, size: 32 bytes, params: 1, frame: 12
const env0_0 = Module00005(_fun53973);
return _fun53974;
async function _fun53973(a0) { // fn#53973, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:1492, offset: 0x0135a320, size: 234 bytes, params: 2, frame: 18
var binding;
var binding2;
var property;
var value5;
var HTTP;
var get;
var object;
var GUILD_ROLE_SUBSCRIPTION_GROUP_LISTINGS;
var value6;
var value7;
var value8;
var value9;
var body;
var error;
var APIError;
var prototype;
var aPIError;
let value = a1;
if (false) {
return undefined;
}
const r1 = value !== undefined ? value : {includeSoftDeleted: false};
await undefined;
if (false) {
return undefined;
}
const object2 = {};
object2.include_soft_deleted = r1.includeSoftDeleted;
object2.country_code = r1.countryCode;
value = environment.__proto__.__proto__;
try {
binding = env2_0;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
binding2 = env2_1;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
property = binding2[3];
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value5 = binding(property);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
HTTP = value5.HTTP;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
get = HTTP.get;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object = {};
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
binding = env2_3;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
GUILD_ROLE_SUBSCRIPTION_GROUP_LISTINGS = binding.GUILD_ROLE_SUBSCRIPTION_GROUP_LISTINGS;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value6 = Reflect.apply(GUILD_ROLE_SUBSCRIPTION_GROUP_LISTINGS, binding, [a0]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.url = value6;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.query = object2;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.rejectWithError = false;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value7 = Reflect.apply(get, HTTP, [object]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
await value7;
try {
value8 = undefined;
value9 = false;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
if (value9) {
return value8;
}
try {
body = value8.body;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
return body;
}
function _fun53974() { // fn#53974, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:1777, offset: 0x00c3945f, size: 30 bytes, params: 1, frame: 13
return env0_0.apply(this, arguments);
}
}
function _fun53975() { // fn#53975, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:1825, offset: 0x0135a40a, size: 32 bytes, params: 1, frame: 12
const env0_0 = Module00005(_fun53977);
return _fun53978;
function* _fun53977(a0) { // fn#53977, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:1845, offset: 0x0135a433, size: 101 bytes, params: 2, frame: 15
if (false) {
return undefined;
}
value = environment.__proto__.__proto__;
const HTTP = env2_0(env2_1[3]).HTTP;
const get = HTTP.get;
const object = {};
object.url = env2_3.GUILD_ROLE_SUBSCRIPTIONS_SETTINGS(a0);
object.rejectWithError = false;
yield Reflect.apply(get, HTTP, [object]);
value = undefined;
if (false) {
return value;
}
return value.body;
}
function _fun53978() { // fn#53978, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:1969, offset: 0x00c3945f, size: 30 bytes, params: 1, frame: 13
return env0_0.apply(this, arguments);
}
}
function _fun53979() { // fn#53979, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:2017, offset: 0x0135a498, size: 32 bytes, params: 1, frame: 12
const env0_0 = Module00005(_fun53981);
return _fun53982;
function* _fun53981(a0, a1) { // fn#53981, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:2037, offset: 0x0135a4c1, size: 170 bytes, params: 3, frame: 16
var binding;
var binding2;
var property;
var value3;
var HTTP;
var patch;
var object;
var GUILD_ROLE_SUBSCRIPTIONS_SETTINGS;
var value4;
var value5;
var value6;
var value7;
var body;
var error;
var APIError;
var prototype;
var aPIError;
if (false) {
return undefined;
}
value = environment.__proto__.__proto__;
try {
binding = env2_0;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
binding2 = env2_1;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
property = binding2[3];
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value3 = binding(property);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
HTTP = value3.HTTP;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
patch = HTTP.patch;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object = {};
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
binding = env2_3;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
GUILD_ROLE_SUBSCRIPTIONS_SETTINGS = binding.GUILD_ROLE_SUBSCRIPTIONS_SETTINGS;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value4 = Reflect.apply(GUILD_ROLE_SUBSCRIPTIONS_SETTINGS, binding, [a0]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.url = value4;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.body = a1;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.rejectWithError = false;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value5 = Reflect.apply(patch, HTTP, [object]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
yield value5;
try {
value6 = undefined;
value7 = false;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
if (value7) {
return value6;
}
try {
body = value6.body;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
return body;
}
function _fun53982() { // fn#53982, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:2217, offset: 0x00c3945f, size: 30 bytes, params: 1, frame: 13
return env0_0.apply(this, arguments);
}
}
function _fun53983() { // fn#53983, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:2265, offset: 0x0135a56b, size: 32 bytes, params: 1, frame: 12
const env0_0 = Module00005(_fun53985);
return _fun53986;
function* _fun53985(a0) { // fn#53985, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:2285, offset: 0x0135a594, size: 185 bytes, params: 2, frame: 15
var binding;
var binding2;
var property;
var value3;
var HTTP;
var get;
var object;
var PRICE_TIERS;
var object2;
var GUILD_ROLE_SUBSCRIPTIONS;
var value4;
var value5;
var value6;
var body;
var error;
var APIError;
var prototype;
var aPIError;
if (false) {
return undefined;
}
value = environment.__proto__.__proto__;
try {
binding = env2_0;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
binding2 = env2_1;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
property = binding2[3];
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value3 = binding(property);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
HTTP = value3.HTTP;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
get = HTTP.get;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object = {};
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
binding = env2_3;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
PRICE_TIERS = binding.PRICE_TIERS;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.url = PRICE_TIERS;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object2 = {};
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
binding = env2_4;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
GUILD_ROLE_SUBSCRIPTIONS = binding.GUILD_ROLE_SUBSCRIPTIONS;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object2.price_tier_type = GUILD_ROLE_SUBSCRIPTIONS;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object2.guild_id = a0;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.query = object2;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.rejectWithError = false;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value4 = Reflect.apply(get, HTTP, [object]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
yield value4;
try {
value5 = undefined;
value6 = false;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
if (value6) {
return value5;
}
try {
body = value5.body;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
return body;
}
function _fun53986() { // fn#53986, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:2491, offset: 0x00c3945f, size: 30 bytes, params: 1, frame: 13
return env0_0.apply(this, arguments);
}
}
function _fun53987() { // fn#53987, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:2539, offset: 0x0135a64d, size: 32 bytes, params: 1, frame: 12
const env0_0 = Module00005(_fun53989);
return _fun53990;
async function _fun53989(a0, a1) { // fn#53989, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:2559, offset: 0x0135a67f, size: 227 bytes, params: 3, frame: 20
var object;
var binding;
var binding2;
var property;
var value5;
var HTTP;
var get;
var GUILD_ROLE_SUBSCRIPTION_GROUP_LISTINGS;
var value6;
var object2;
var includeDraftListings;
var includeArchivedListings;
var value7;
var value8;
var value9;
var body;
var error;
var APIError;
var prototype;
var aPIError;
let value = a2;
if (false) {
return undefined;
}
const r1 = value !== undefined ? value : {};
await undefined;
if (false) {
return undefined;
}
value = environment.__proto__.__proto__;
try {
binding = env2_0;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
binding2 = env2_1;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
property = binding2[3];
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value5 = binding(property);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
HTTP = value5.HTTP;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
get = HTTP.get;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object = {};
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
binding = env2_3;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
GUILD_ROLE_SUBSCRIPTION_GROUP_LISTINGS = binding.GUILD_ROLE_SUBSCRIPTION_GROUP_LISTINGS;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value6 = Reflect.apply(GUILD_ROLE_SUBSCRIPTION_GROUP_LISTINGS, binding, [a0, a1]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.url = value6;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object2 = {};
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
includeDraftListings = r1.includeDraftListings;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object2.include_draft_listings = includeDraftListings;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
includeArchivedListings = r1.includeArchivedListings;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object2.include_archived_listings = includeArchivedListings;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.query = object2;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.rejectWithError = false;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value7 = Reflect.apply(get, HTTP, [object]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
await value7;
try {
value8 = undefined;
value9 = false;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
if (value9) {
return value8;
}
try {
body = value8.body;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
return body;
}
function _fun53990() { // fn#53990, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:2848, offset: 0x00c3945f, size: 30 bytes, params: 1, frame: 13
return env0_0.apply(this, arguments);
}
}
function _fun53991() { // fn#53991, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:2896, offset: 0x0135a762, size: 32 bytes, params: 1, frame: 12
const env0_0 = Module00005(_fun53993);
return _fun53994;
function* _fun53993(a0) { // fn#53993, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:2916, offset: 0x0135a78b, size: 162 bytes, params: 2, frame: 15
var binding;
var binding2;
var property;
var value3;
var HTTP;
var get;
var object;
var SUBSCRIPTION_PLAN_GUILD_ROLE_GROUP_LISTING;
var value4;
var value5;
var value6;
var value7;
var body;
var error;
var APIError;
var prototype;
var aPIError;
if (false) {
return undefined;
}
value = environment.__proto__.__proto__;
try {
binding = env2_0;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
binding2 = env2_1;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
property = binding2[3];
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value3 = binding(property);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
HTTP = value3.HTTP;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
get = HTTP.get;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object = {};
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
binding = env2_3;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
SUBSCRIPTION_PLAN_GUILD_ROLE_GROUP_LISTING = binding.SUBSCRIPTION_PLAN_GUILD_ROLE_GROUP_LISTING;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value4 = Reflect.apply(SUBSCRIPTION_PLAN_GUILD_ROLE_GROUP_LISTING, binding, [a0]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.url = value4;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.rejectWithError = false;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value5 = Reflect.apply(get, HTTP, [object]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
yield value5;
try {
value6 = undefined;
value7 = false;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
if (value7) {
return value6;
}
try {
body = value6.body;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
return body;
}
function _fun53994() { // fn#53994, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:3094, offset: 0x00c3945f, size: 30 bytes, params: 1, frame: 13
return env0_0.apply(this, arguments);
}
}
function _fun53995() { // fn#53995, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:3142, offset: 0x0135a82d, size: 32 bytes, params: 1, frame: 12
const env0_0 = Module00005(_fun53997);
return _fun53998;
function* _fun53997(a0, a1, a2) { // fn#53997, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:3162, offset: 0x0135a856, size: 166 bytes, params: 4, frame: 20
var binding;
var binding2;
var property;
var value3;
var HTTP;
var del;
var object;
var GUILD_ROLE_SUBSCRIPTION_LISTINGS;
var value4;
var value5;
var value6;
var value7;
var error;
var APIError;
var prototype;
var aPIError;
if (false) {
return undefined;
}
value = environment.__proto__.__proto__;
try {
binding = env2_0;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
binding2 = env2_1;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
property = binding2[3];
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value3 = binding(property);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
HTTP = value3.HTTP;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
del = HTTP.del;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object = {};
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
binding = env2_3;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
GUILD_ROLE_SUBSCRIPTION_LISTINGS = binding.GUILD_ROLE_SUBSCRIPTION_LISTINGS;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value4 = Reflect.apply(GUILD_ROLE_SUBSCRIPTION_LISTINGS, binding, [a0, a1, a2]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.url = value4;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.rejectWithError = false;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value5 = Reflect.apply(del, HTTP, [object]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
yield value5;
try {
value6 = undefined;
value7 = false;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
return value7 ? value6 : undefined;
}
function _fun53998() { // fn#53998, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:3325, offset: 0x00c3945f, size: 30 bytes, params: 1, frame: 13
return env0_0.apply(this, arguments);
}
}
function _fun53999() { // fn#53999, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:3373, offset: 0x0135a8fc, size: 32 bytes, params: 1, frame: 12
const env0_0 = Module00005(_fun54001);
return _fun54002;
function* _fun54001(a0, a1, a2) { // fn#54001, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:3393, offset: 0x0135a925, size: 171 bytes, params: 4, frame: 19
var binding;
var binding2;
var property;
var value3;
var HTTP;
var post;
var object;
var GUILD_ROLE_SUBSCRIPTION_GROUP_LISTING_ARCHIVE;
var value4;
var value5;
var value6;
var value7;
var body;
var error;
var APIError;
var prototype;
var aPIError;
if (false) {
return undefined;
}
value = environment.__proto__.__proto__;
try {
binding = env2_0;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
binding2 = env2_1;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
property = binding2[3];
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value3 = binding(property);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
HTTP = value3.HTTP;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
post = HTTP.post;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object = {};
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
binding = env2_3;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
GUILD_ROLE_SUBSCRIPTION_GROUP_LISTING_ARCHIVE = binding.GUILD_ROLE_SUBSCRIPTION_GROUP_LISTING_ARCHIVE;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value4 = Reflect.apply(GUILD_ROLE_SUBSCRIPTION_GROUP_LISTING_ARCHIVE, binding, [a0, a1, a2]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.url = value4;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.rejectWithError = false;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value5 = Reflect.apply(post, HTTP, [object]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
yield value5;
try {
value6 = undefined;
value7 = false;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
if (value7) {
return value6;
}
try {
body = value6.body;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
return body;
}
function _fun54002() { // fn#54002, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:3583, offset: 0x00c3945f, size: 30 bytes, params: 1, frame: 13
return env0_0.apply(this, arguments);
}
}
function _fun54003() { // fn#54003, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:3631, offset: 0x0135a9d0, size: 32 bytes, params: 1, frame: 12
const env0_0 = Module00005(_fun54005);
return _fun54006;
function* _fun54005(a0) { // fn#54005, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:3651, offset: 0x0135a9f9, size: 162 bytes, params: 2, frame: 15
var binding;
var binding2;
var property;
var value3;
var HTTP;
var get;
var object;
var GUILD_ROLE_SUBSCRIPTION_TRIALS;
var value4;
var value5;
var value6;
var value7;
var body;
var error;
var APIError;
var prototype;
var aPIError;
if (false) {
return undefined;
}
value = environment.__proto__.__proto__;
try {
binding = env2_0;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
binding2 = env2_1;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
property = binding2[3];
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value3 = binding(property);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
HTTP = value3.HTTP;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
get = HTTP.get;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object = {};
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
binding = env2_3;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
GUILD_ROLE_SUBSCRIPTION_TRIALS = binding.GUILD_ROLE_SUBSCRIPTION_TRIALS;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value4 = Reflect.apply(GUILD_ROLE_SUBSCRIPTION_TRIALS, binding, [a0]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.url = value4;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.rejectWithError = false;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value5 = Reflect.apply(get, HTTP, [object]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
yield value5;
try {
value6 = undefined;
value7 = false;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
if (value7) {
return value6;
}
try {
body = value6.body;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
return body;
}
function _fun54006() { // fn#54006, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:3817, offset: 0x00c3945f, size: 30 bytes, params: 1, frame: 13
return env0_0.apply(this, arguments);
}
}
function _fun54007() { // fn#54007, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:3865, offset: 0x0135aa9b, size: 32 bytes, params: 1, frame: 12
const env0_0 = Module00005(_fun54009);
return _fun54010;
function* _fun54009(a0, a1, a2) { // fn#54009, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:3885, offset: 0x0135aac4, size: 174 bytes, params: 4, frame: 18
var binding;
var binding2;
var property;
var value3;
var HTTP;
var patch;
var object;
var GUILD_ROLE_SUBSCRIPTION_LISTING_TRIAL;
var value4;
var value5;
var value6;
var value7;
var body;
var error;
var APIError;
var prototype;
var aPIError;
if (false) {
return undefined;
}
value = environment.__proto__.__proto__;
try {
binding = env2_0;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
binding2 = env2_1;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
property = binding2[3];
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value3 = binding(property);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
HTTP = value3.HTTP;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
patch = HTTP.patch;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object = {};
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
binding = env2_3;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
GUILD_ROLE_SUBSCRIPTION_LISTING_TRIAL = binding.GUILD_ROLE_SUBSCRIPTION_LISTING_TRIAL;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value4 = Reflect.apply(GUILD_ROLE_SUBSCRIPTION_LISTING_TRIAL, binding, [a0, a1]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.url = value4;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.body = a2;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.rejectWithError = false;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value5 = Reflect.apply(patch, HTTP, [object]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
yield value5;
try {
value6 = undefined;
value7 = false;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
if (value7) {
return value6;
}
try {
body = value6.body;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
return body;
}
function _fun54010() { // fn#54010, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:4073, offset: 0x00c3945f, size: 30 bytes, params: 1, frame: 13
return env0_0.apply(this, arguments);
}
}
function _fun54011() { // fn#54011, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:4121, offset: 0x0135ab72, size: 32 bytes, params: 1, frame: 12
const env0_0 = Module00005(_fun54013);
return _fun54014;
function* _fun54013(a0, a1, a2) { // fn#54013, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:4141, offset: 0x0135ab9b, size: 170 bytes, params: 4, frame: 19
var binding;
var binding2;
var property;
var value3;
var HTTP;
var get;
var object;
var GUILD_ROLE_SUBSCRIPTION_TRIAL_ELIGIBILITY;
var value4;
var value5;
var value6;
var value7;
var body;
var error;
var APIError;
var prototype;
var aPIError;
if (false) {
return undefined;
}
value = environment.__proto__.__proto__;
try {
binding = env2_0;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
binding2 = env2_1;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
property = binding2[3];
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value3 = binding(property);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
HTTP = value3.HTTP;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
get = HTTP.get;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object = {};
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
binding = env2_3;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
GUILD_ROLE_SUBSCRIPTION_TRIAL_ELIGIBILITY = binding.GUILD_ROLE_SUBSCRIPTION_TRIAL_ELIGIBILITY;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value4 = Reflect.apply(GUILD_ROLE_SUBSCRIPTION_TRIAL_ELIGIBILITY, binding, [a0, a1, a2]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.url = value4;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.rejectWithError = false;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value5 = Reflect.apply(get, HTTP, [object]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
yield value5;
try {
value6 = undefined;
value7 = false;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
if (value7) {
return value6;
}
try {
body = value6.body;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
return body;
}
function _fun54014() { // fn#54014, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:4326, offset: 0x00c3945f, size: 30 bytes, params: 1, frame: 13
return env0_0.apply(this, arguments);
}
}
function _fun54015() { // fn#54015, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:4374, offset: 0x0135ac45, size: 32 bytes, params: 1, frame: 12
const env0_0 = Module00005(_fun54017);
return _fun54018;
async function _fun54017(a0) { // fn#54017, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:4394, offset: 0x0135ac77, size: 196 bytes, params: 2, frame: 18
var object;
var binding;
var binding2;
var property;
var value5;
var HTTP;
var get;
var CREATOR_MONETIZATION_RESTRICTIONS;
var value6;
var value7;
var value8;
var value9;
var body;
var error;
var APIError;
var prototype;
var aPIError;
let value = a1;
if (false) {
return undefined;
}
const signal = (value !== undefined ? value : {}).signal;
await undefined;
if (false) {
return undefined;
}
value = environment.__proto__.__proto__;
try {
binding = env2_0;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
binding2 = env2_1;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
property = binding2[3];
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value5 = binding(property);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
HTTP = value5.HTTP;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
get = HTTP.get;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object = {};
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
binding = env2_3;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
CREATOR_MONETIZATION_RESTRICTIONS = binding.CREATOR_MONETIZATION_RESTRICTIONS;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value6 = Reflect.apply(CREATOR_MONETIZATION_RESTRICTIONS, binding, [a0]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.url = value6;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.signal = signal;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.rejectWithError = false;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value7 = Reflect.apply(get, HTTP, [object]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
await value7;
try {
value8 = undefined;
value9 = false;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
if (value9) {
return value8;
}
try {
body = value8.body;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
return body;
}
function _fun54018() { // fn#54018, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:4586, offset: 0x00c3945f, size: 30 bytes, params: 1, frame: 13
return env0_0.apply(this, arguments);
}
}
function _fun54019() { // fn#54019, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:4634, offset: 0x0135ad3b, size: 32 bytes, params: 1, frame: 12
const env0_0 = Module00005(_fun54021);
return _fun54022;
function* _fun54021(a0) { // fn#54021, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:4654, offset: 0x0135ad64, size: 205 bytes, params: 2, frame: 18
var r2;
var binding;
var binding2;
var property;
var value3;
var HTTP;
var get;
var object;
var GUILD_DISCOVERY_SLUG;
var value4;
var value5;
var value6;
var value7;
var body;
var value8;
var JSON;
var parse;
var text;
var value9;
var error;
var APIError;
var prototype;
var aPIError;
if (false) {
return undefined;
}
value = environment.__proto__.__proto__;
try {
binding = env2_0;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
binding2 = env2_1;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
property = binding2[3];
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value3 = binding(property);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
HTTP = value3.HTTP;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
get = HTTP.get;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object = {};
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
binding = env2_3;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
GUILD_DISCOVERY_SLUG = binding.GUILD_DISCOVERY_SLUG;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value4 = Reflect.apply(GUILD_DISCOVERY_SLUG, binding, [a0]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.url = value4;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
object.rejectWithError = false;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value5 = Reflect.apply(get, HTTP, [object]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
yield value5;
try {
value6 = undefined;
value7 = false;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
if (value7) {
return value6;
}
try {
body = value6.body;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value8 = body != null;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
if (value8) {
r2 = body;
} else {
try {
JSON = global.JSON;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
parse = JSON.parse;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
text = value6.text;
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
try {
value9 = Reflect.apply(parse, JSON, [text]);
} catch (error) {
binding = env2_0;
APIError = binding(env2_1[4]).APIError;
prototype = APIError.prototype;
value = Object.create(prototype, {constructor: {value: APIError}});
aPIError = new APIError();
value = aPIError instanceof Object ? aPIError : value;
throw value;
}
r2 = value9;
}
return r2;
}
function _fun54022() { // fn#54022, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7024:4850, offset: 0x00c3945f, size: 30 bytes, params: 1, frame: 13
return env0_0.apply(this, arguments);
}
}
}
global.__d(_fun53950, 6846, [5, 661, 482, 507, 4131,
2]) /* metro module 6846, dependencies: [5, 661, 482, 507, 4131, 2] */;