Initial commit

This commit is contained in:
janisslsm committed 2026-07-27 16:20:00 +03:00
commit af3b49f756
16065 files changed
+2938410

No files matched your search

@@ -0,0 +1,454 @@
/* Metro module 16220; source: modules/application_account_linking/AccountLinkManager.tsx; dependencies: [57, 6, 7, 15, 17, 18, 5, 5109, 16221, 6775, 661, 672, 507, 4860, 2] */
function _fun125420(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#125420, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16428:6, offset: 0x025d816e, size: 447 bytes, params: 8, frame: 20
const env0_0 = require;
const _arrayLikeToArray_125423 = function(a0, a1) {
var r0;
var r1;
var r2;
var value3;
var length;
var value5;
var value = undefined;
var value2 = value == null;
reducibleJoin2: while (true) {
if (value2) {
r0 = value2;
break reducibleJoin2;
}
value3 = value > a0.length;
r0 = value3;
break reducibleJoin2;
}
reducibleJoin4: while (true) {
if (r0) {
length = a0.length;
r1 = length;
break reducibleJoin4;
}
r1 = value;
break reducibleJoin4;
}
value = (0, global.Array)(r1);
var value4 = 0;
if (value4 < r1) {
r2 = value4;
reducibleLoop5: while (true) {
value[r2] = a0[r2];
value5 = typeof r2 === 'bigint' ? r2 + 1n : +r2 + 1;
if (value5 < r1) {
r2 = value5;
continue reducibleLoop5;
}
break reducibleLoop5;
}
}
return value;
};
const closure = function() {
return _claimIncentivizedAccountLinkingReward.apply(this, arguments);
};
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_2 = importDefault(57) /* metro dependency 57 */;
const env0_3 = importDefault(6) /* metro dependency 6 */;
const env0_4 = importDefault(7) /* metro dependency 7 */;
const env0_5 = importDefault(15) /* metro dependency 15 */;
const env0_6 = importDefault(17) /* metro dependency 17 */;
const env0_7 = importDefault(18) /* metro dependency 18 */;
const env0_8 = importDefault(5) /* metro dependency 5 */;
const authorizedAppsStore = importDefault(5109) /* metro dependency 5109: AuthorizedAppsStore */;
const accountLinkStore = importDefault(16221) /* metro dependency 16221: AccountLinkStore */;
const env0_11 = (require(6775) /* metro dependency 6775: ApplicationAccountLinkingConstants */).IncentivizedAccountLinkingApplicationIds;
let value = require(661) /* metro dependency 661: Constants */;
const env0_12 = value.AppStates;
const env0_13 = value.Endpoints;
const Millis = (importDefault(672) /* metro dependency 672: Durations */).Millis;
const MINUTE = Millis.MINUTE;
const env0_14 = 20 * MINUTE;
value = importDefault(4860) /* metro dependency 4860: AutomaticLifecycleManager */;
value = _fun125431(value);
value.displayName = 'AccountLinkManager';
let value3 = new value();
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/application_account_linking/AccountLinkManager.tsx');
exports.default = value3;
exports.claimIncentivizedAccountLinkingReward = closure;
exports.AccountLinkManager = value;
}
function _createForOfIteratorHelperLoose_125421(a0, a1) { // fn#125421, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16428:282, offset: 0x025d832d, size: 372 bytes, params: 3, frame: 20
var r6;
var r9;
var r5;
var value3;
var regexp;
const env0_0 = a0;
const Symbol = global.Symbol;
let value = typeof Symbol !== 'undefined';
let r1 = value && a0[global.Symbol.iterator];
r1 = !r1 ? a0['@@iterator'] : r1;
if (r1) {
value = r1.call(a0);
return value.next.bind(value);
}
const Array = global.Array;
if (Array.isArray(a0)) {
if (r1) {
}
return _fun125422;
}
value = undefined;
if (a0) {
if (typeof a0 === 'string') {
value = _arrayLikeToArray_125423(a0, value);
r5 = value;
} else {
value3 = ({}).toString.call(a0).slice(8, -1);
r6 = value3 === 'Object' && a0.constructor;
r9 = r6 ? a0.constructor.name : value3;
if (r9 === 'Map') {
r6 = global.Array.from(a0);
} else if (r9 === 'Set') {
r6 = global.Array.from(a0);
} else if (r9 === 'Arguments') {
value = _arrayLikeToArray_125423(a0, value);
r6 = value;
} else {
regexp = RegExp('^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$', '');
if (regexp.test(r9)) {
value = _arrayLikeToArray_125423(a0, value);
r6 = value;
} else {
r6 = value;
}
}
r5 = r6;
}
} else {
r5 = value;
}
if (r5) {
if (r5) {
}
return _fun125422;
}
const TypeError = global.TypeError;
throw new TypeError('Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.');
}
function _isNativeReflectConstruct_125424() { // fn#125424, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16428:1192, offset: 0x025d84a1, size: 98 bytes, params: 1, frame: 18
var Boolean;
var prototype;
var valueOf;
var call;
var Reflect;
var construct;
var closure;
var value;
var error;
try {
Boolean = global.Boolean;
prototype = Boolean.prototype;
valueOf = prototype.valueOf;
call = valueOf.call;
Reflect = global.Reflect;
construct = Reflect.construct;
Boolean = global.Boolean;
closure = function() {
};
value = Reflect.apply(construct, Reflect, [Boolean, [], closure]);
value = Reflect.apply(call, valueOf, [value]);
var result = !value;
} catch (error) {
}
return (_isNativeReflectConstruct_125424_isNativeReflectConstruct = function() {
return !!result;
})();
}
function _claimIncentivizedAccountLinkingReward() { // fn#125428, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16428:1534, offset: 0x025d8503, size: 50 bytes, params: 1, frame: 14
return env0_8(_fun125430).apply(this, arguments);
}
function _fun125431(a0) { // fn#125431, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16428:1870, offset: 0x025d85f0, size: 178 bytes, params: 2, frame: 16
const closure = AccountLinkManager;
env0_7(closure, a0);
return env0_4(closure, [{key: 'evaluatePending', value: value_125437}, {key: 'handleOAuth2TokenCreate',
value: value_125438}, {key: 'handleAuthorizedAppsUpdate', value: function() {
this.evaluatePending();
}}, {key: 'handleAccountLinkAuthorizationCompleted', value: value_125440}, {key: 'handleAppStateUpdate',
value: function({state}) {
if (state === AppStates.ACTIVE) {
this.evaluatePending();
}
}}]);
}
async function _fun125430({applicationId, onSuccess, onError}) { // fn#125430, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16428:1633, offset: 0x025d8549, size: 167 bytes, params: 2, frame: 19
var binding;
var binding2;
var property;
var value4;
var HTTP;
var post;
var object3;
var OAUTH2_ACCOUNT_LINKING_ACHIEVEMENT;
var object4;
var value5;
var error;
if (true) {
await undefined;
if (false) {
return undefined;
}
value = environment.__proto__.__proto__;
reducibleJoin5: while (true) {
reduciblePort30: while (true) {
exceptionLanding28: while (true) {
try {
binding = env2_0;
} catch (error) {
break exceptionLanding28;
}
break reducibleJoin5;
}
reducibleJoin30: while (true) {
if (onError == null) {
break reducibleJoin30;
}
onError(error);
break reducibleJoin30;
}
break reduciblePort30;
}
return undefined;
}
try {
binding2 = env2_1;
} catch (error) {
break exceptionLanding28;
}
try {
property = binding2[12];
} catch (error) {
break exceptionLanding28;
}
try {
value4 = binding(property);
} catch (error) {
break exceptionLanding28;
}
try {
HTTP = value4.HTTP;
} catch (error) {
break exceptionLanding28;
}
try {
post = HTTP.post;
} catch (error) {
break exceptionLanding28;
}
try {
object3 = {};
} catch (error) {
break exceptionLanding28;
}
try {
binding = env2_13;
} catch (error) {
break exceptionLanding28;
}
try {
OAUTH2_ACCOUNT_LINKING_ACHIEVEMENT = binding.OAUTH2_ACCOUNT_LINKING_ACHIEVEMENT;
} catch (error) {
break exceptionLanding28;
}
try {
object3.url = OAUTH2_ACCOUNT_LINKING_ACHIEVEMENT;
} catch (error) {
break exceptionLanding28;
}
try {
object4 = {};
} catch (error) {
break exceptionLanding28;
}
try {
object4.application_id = applicationId;
} catch (error) {
break exceptionLanding28;
}
try {
object3.body = object4;
} catch (error) {
break exceptionLanding28;
}
try {
object3.rejectWithError = true;
} catch (error) {
break exceptionLanding28;
}
try {
value = Reflect.apply(post, HTTP, [object3]);
} catch (error) {
break exceptionLanding28;
}
await value;
try {
value = undefined;
value5 = false;
} catch (error) {
break exceptionLanding28;
}
if (value5) {
return value;
}
try {
value = onSuccess == null;
} catch (error) {
break exceptionLanding28;
}
reducibleJoin30: while (true) {
if (value) {
break reducibleJoin30;
}
try {
onSuccess();
} catch (error) {
break exceptionLanding28;
}
break reducibleJoin30;
}
}
}
function AccountLinkManager(a0) { // fn#125432, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16428:1882, offset: 0x025d86a2, size: 190 bytes, params: 2, frame: 20
var r0;
var Reflect;
let value = copyRestArgs(0, undefined);
let binding = env1_3;
binding(this, AccountLinkManager);
const items = [];
arraySpread(items, value, 0, items);
value = env1_6(AccountLinkManager);
binding = env1_5;
if (_isNativeReflectConstruct_125424()) {
Reflect = global.Reflect;
value = Reflect.construct(value, items, env1_6(this).constructor);
r0 = value;
} else {
value = value.apply(this, items);
r0 = value;
}
value = binding(this, r0);
value.actions = {OAUTH2_TOKEN_CREATE: OAUTH2_TOKEN_CREATE_125433,
USER_AUTHORIZED_APPS_UPDATE: USER_AUTHORIZED_APPS_UPDATE_125434, APP_STATE_UPDATE: APP_STATE_UPDATE_125435,
ACCOUNT_LINK_AUTHORIZATION_COMPLETED: ACCOUNT_LINK_AUTHORIZATION_COMPLETED};
return value;
}
function value_125437() { // fn#125437, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16428:2464, offset: 0x025d87a7, size: 278 bytes, params: 1, frame: 23
var r1;
var r0;
var value3;
var value4;
var value5;
var done;
var value6;
var value7;
var property;
var property2;
var startedAt;
var value8;
var getNewestTokenForApplication;
var value9;
var value10;
var claimIncentivizedAccountLinkingRewardCallbacks;
var value11;
var claimIncentivizedAccountLinkingRewardBinding;
var onSuccess;
var onError;
var value12;
const pendingAuthorizations = AccountLinkStore.getPendingAuthorizations();
if (pendingAuthorizations.size !== 0) {
value3 = global.Date.now();
value4 = _createForOfIteratorHelperLoose_125421(pendingAuthorizations);
value5 = value4();
done = value5.done;
if (!done) {
r1 = value5;
while (true) {
value6 = r1.value;
value7 = env1_2(value6, 2);
property = value7[0];
property2 = value7[1];
startedAt = property2.startedAt;
value8 = value3 - startedAt;
if (!(value8 > env1_14)) {
getNewestTokenForApplication = AuthorizedAppsStore.getNewestTokenForApplication;
value9 = Reflect.apply(getNewestTokenForApplication, AuthorizedAppsStore, [property]) != null;
if (!value9) {
r0 = value9;
continue;
}
value10 = IncentivizedAccountLinkingApplicationIds.has(property);
r0 = value10;
if (!r0) {
continue;
}
claimIncentivizedAccountLinkingRewardCallbacks = property2.claimIncentivizedAccountLinkingRewardCallbacks;
value11 = claimIncentivizedAccountLinkingRewardCallbacks != null;
r0 = value11;
if (r0) {
claimIncentivizedAccountLinkingRewardBinding = claimIncentivizedAccountLinkingReward;
claimIncentivizedAccountLinkingRewardCallbacks = property2.claimIncentivizedAccountLinkingRewardCallbacks;
onSuccess = claimIncentivizedAccountLinkingRewardCallbacks.onSuccess;
claimIncentivizedAccountLinkingRewardCallbacks = property2.claimIncentivizedAccountLinkingRewardCallbacks;
onError = claimIncentivizedAccountLinkingRewardCallbacks.onError;
claimIncentivizedAccountLinkingRewardBinding({applicationId: property, onSuccess: onSuccess,
onError: onError});
AccountLinkStore.deletePendingAuthorization(property);
break;
}
break;
}
AccountLinkStore.deletePendingAuthorization(property);
value12 = value4();
done = value12.done;
if (done) {
break;
}
r1 = value12;
continue;
}
}
}
}
function value_125438({application}) { // fn#125438, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16428:3057, offset: 0x025d88bd, size: 60 bytes, params: 2, frame: 12
let value = environment.__proto__;
value = AccountLinkStore.getPendingAuthorizations();
if (value.has(application.id)) {
this.evaluatePending();
}
}
function value_125440({applicationId}) { // fn#125440, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16428:3275, offset: 0x025d890a, size: 55 bytes, params: 2, frame: 12
let value = environment.__proto__;
value = AccountLinkStore.getPendingAuthorizations();
if (value.has(applicationId)) {
this.evaluatePending();
}
}
function AccountLinkManagerOAUTH2_TOKEN_CREATE(a0) { // fn#125433, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16428:2153, owner: AccountLinkManager.OAUTH2_TOKEN_CREATE, offset: 0x025d8760, size: 25 bytes, params: 2, frame: 11
return env0_0.handleOAuth2TokenCreate(a0);
}
function AccountLinkManagerUSER_AUTHORIZED_APPS_UPDATE() { // fn#125434, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16428:2213, owner: AccountLinkManager.USER_AUTHORIZED_APPS_UPDATE, offset: 0x025d8779, size: 21 bytes, params: 1, frame: 9
return env0_0.handleAuthorizedAppsUpdate();
}
function ACCOUNT_LINK_AUTHORIZATION_COMPLETED(a0) { // fn#125436, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16428:2331, owner: AccountLinkManager.ACCOUNT_LINK_AUTHORIZATION_COMPLETED, offset: 0x025d878e, size: 25 bytes, params: 2, frame: 11
return env0_0.handleAccountLinkAuthorizationCompleted(a0);
}
@@ -0,0 +1,82 @@
/* Metro module 16221; source: modules/application_account_linking/AccountLinkStore.tsx; dependencies: [6, 7, 15, 17, 18, 5109, 566, 694, 2] */
function _fun125442(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#125442, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16429:6, offset: 0x025d896b, size: 313 bytes, params: 8, frame: 19
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_0 = importDefault(6) /* metro dependency 6 */;
const env0_1 = importDefault(7) /* metro dependency 7 */;
const env0_2 = importDefault(15) /* metro dependency 15 */;
const env0_3 = importDefault(17) /* metro dependency 17 */;
const env0_4 = importDefault(18) /* metro dependency 18 */;
const authorizedAppsStore = importDefault(5109) /* metro dependency 5109: AuthorizedAppsStore */;
const Map = global.Map;
let map = new Map();
const Store = (importDefault(566) /* metro dependency 566: flux */).Store;
_fun125446(Store).displayName = 'AccountLinkStore';
map = new map(importDefault(694) /* metro dependency 694: Dispatcher */,
{ACCOUNT_LINK_AUTHORIZATION_STARTED: ACCOUNT_LINK_AUTHORIZATION_STARTED});
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/application_account_linking/AccountLinkStore.tsx');
exports.default = map;
}
function _isNativeReflectConstruct_125443() { // fn#125443, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16429:158, offset: 0x025d8aa4, size: 98 bytes, params: 1, frame: 18
var Boolean;
var prototype;
var valueOf;
var call;
var Reflect;
var construct;
var closure;
var value;
var error;
try {
Boolean = global.Boolean;
prototype = Boolean.prototype;
valueOf = prototype.valueOf;
call = valueOf.call;
Reflect = global.Reflect;
construct = Reflect.construct;
Boolean = global.Boolean;
closure = function() {
};
value = Reflect.apply(construct, Reflect, [Boolean, [], closure]);
value = Reflect.apply(call, valueOf, [value]);
var result = !value;
} catch (error) {
}
return (_isNativeReflectConstruct_125443_isNativeReflectConstruct = function() {
return !!result;
})();
}
function _fun125446(a0) { // fn#125446, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16429:371, offset: 0x025d8b06, size: 122 bytes, params: 2, frame: 16
const closure = AccountLinkStore;
env0_4(closure, a0);
return env0_1(closure, [{key: 'initialize', value: function() {
this.waitFor(AuthorizedAppsStore);
}}, {key: 'getPendingAuthorizations', value: value_125449}, {key: 'deletePendingAuthorization',
value: value_125450}]);
}
function ACCOUNT_LINK_AUTHORIZATION_STARTED(a0) { // fn#125451, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16429:943, offset: 0x025d8b98, size: 111 bytes, params: 2, frame: 16
var binding;
var set;
var object2;
const getNewestTokenForApplication = AuthorizedAppsStore.getNewestTokenForApplication;
let applicationId = a0.applicationId;
if (Reflect.apply(getNewestTokenForApplication, AuthorizedAppsStore, [applicationId]) == null) {
binding = env0_6;
set = binding.set;
applicationId = a0.applicationId;
object2 = {};
object2.applicationId = a0.applicationId;
object2.startedAt = global.Date.now();
object2.accountLinkCallbacks = a0.accountLinkCallbacks;
object2.claimIncentivizedAccountLinkingRewardCallbacks = a0.claimIncentivizedAccountLinkingRewardCallbacks;
Reflect.apply(set, binding, [applicationId, object2]);
}
}
function value_125450(a0) { // fn#125450, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16429:810, offset: 0x025d8b80, size: 24 bytes, params: 2, frame: 11
env1_6.delete(a0);
}
@@ -0,0 +1,289 @@
/* Metro module 2838; source: modules/application_account_linking/AccountLinking.messages.js; dependencies: [1247, 2839, 2840, 2841, 2842, 2843, 2844, 2845, 2846, 2847, 2848, 2849, 2850, 2851, 2852, 2853, 2854, 2855, 2856, 2857, 2858, 2859, 2860, 2861, 2862, 2863, 2864, 2865, 2866, 2867, 2868, 2869, 1282, 2] */
function _fun24492(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#24492, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2965:6, offset: 0x00f1a864, size: 453 bytes, params: 8, frame: 19
var object2;
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
object2 = {bg: bg_24493, cs: cs_24495, da: da_24497, de: de_24499, el: el_24501};
object2['en-GB'] = _fun24503;
object2['es-419'] = _fun24505;
object2['es-ES'] = _fun24507;
object2.fi = fi_24509;
object2.fr = fr_24511;
object2.hi = hi_24513;
object2.hr = hr_24515;
object2.hu = hu_24517;
object2.it = it_24519;
object2.ja = ja_24521;
object2.ko = ko_24523;
object2.lt = lt_24525;
object2.nl = nl_24527;
object2.no = no_24529;
object2.pl = pl_24531;
object2['pt-BR'] = _fun24533;
object2.ro = ro_24535;
object2.ru = ru_24537;
object2['sv-SE'] = _fun24539;
object2.th = th_24541;
object2.tr = tr_24543;
object2.uk = uk_24545;
object2.vi = vi_24547;
object2['zh-CN'] = _fun24549;
object2['zh-TW'] = _fun24551;
object2['en-US'] = _fun24553;
let value = require(1282) /* metro dependency 1282 */;
value = value.createLoader(object2, 'en-US');
const messagesProxy = (require(1282) /* metro dependency 1282 */).makeMessagesProxy(value);
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/application_account_linking/AccountLinking.messages.js');
exports.default = messagesProxy;
exports.messagesLoader = value;
}
function bg_24493() { // fn#24493, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2965:102, offset: 0x00f1aa29, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2839) /* metro dependency 2839 */);
return value.then(function(a0) {
return {default: a0};
});
}
function cs_24495() { // fn#24495, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2965:165, offset: 0x00f1aa6a, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2840) /* metro dependency 2840 */);
return value.then(function(a0) {
return {default: a0};
});
}
function da_24497() { // fn#24497, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2965:228, offset: 0x00f1aaab, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2841) /* metro dependency 2841 */);
return value.then(function(a0) {
return {default: a0};
});
}
function de_24499() { // fn#24499, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2965:291, offset: 0x00f1aaec, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2842) /* metro dependency 2842 */);
return value.then(function(a0) {
return {default: a0};
});
}
function el_24501() { // fn#24501, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2965:354, offset: 0x00f1ab2d, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2843) /* metro dependency 2843 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24503() { // fn#24503, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2965:422, offset: 0x00f1ab6e, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2844) /* metro dependency 2844 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24505() { // fn#24505, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2965:491, offset: 0x00f1abaf, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2845) /* metro dependency 2845 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24507() { // fn#24507, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2965:559, offset: 0x00f1abf0, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2846) /* metro dependency 2846 */);
return value.then(function(a0) {
return {default: a0};
});
}
function fi_24509() { // fn#24509, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2965:622, offset: 0x00f1ac31, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2847) /* metro dependency 2847 */);
return value.then(function(a0) {
return {default: a0};
});
}
function fr_24511() { // fn#24511, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2965:685, offset: 0x00f1ac72, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2848) /* metro dependency 2848 */);
return value.then(function(a0) {
return {default: a0};
});
}
function hi_24513() { // fn#24513, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2965:749, offset: 0x00f1acb3, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2849) /* metro dependency 2849 */);
return value.then(function(a0) {
return {default: a0};
});
}
function hr_24515() { // fn#24515, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2965:813, offset: 0x00f1acf4, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2850) /* metro dependency 2850 */);
return value.then(function(a0) {
return {default: a0};
});
}
function hu_24517() { // fn#24517, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2965:877, offset: 0x00f1ad35, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2851) /* metro dependency 2851 */);
return value.then(function(a0) {
return {default: a0};
});
}
function it_24519() { // fn#24519, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2965:941, offset: 0x00f1ad76, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2852) /* metro dependency 2852 */);
return value.then(function(a0) {
return {default: a0};
});
}
function ja_24521() { // fn#24521, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2965:1005, offset: 0x00f1adb7, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2853) /* metro dependency 2853 */);
return value.then(function(a0) {
return {default: a0};
});
}
function ko_24523() { // fn#24523, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2965:1069, offset: 0x00f1adf8, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2854) /* metro dependency 2854 */);
return value.then(function(a0) {
return {default: a0};
});
}
function lt_24525() { // fn#24525, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2965:1133, offset: 0x00f1ae39, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2855) /* metro dependency 2855 */);
return value.then(function(a0) {
return {default: a0};
});
}
function nl_24527() { // fn#24527, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2965:1197, offset: 0x00f1ae7a, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2856) /* metro dependency 2856 */);
return value.then(function(a0) {
return {default: a0};
});
}
function no_24529() { // fn#24529, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2965:1261, offset: 0x00f1aebb, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2857) /* metro dependency 2857 */);
return value.then(function(a0) {
return {default: a0};
});
}
function pl_24531() { // fn#24531, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2965:1325, offset: 0x00f1aefc, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2858) /* metro dependency 2858 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24533() { // fn#24533, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2965:1394, offset: 0x00f1af3d, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2859) /* metro dependency 2859 */);
return value.then(function(a0) {
return {default: a0};
});
}
function ro_24535() { // fn#24535, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2965:1458, offset: 0x00f1af7e, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2860) /* metro dependency 2860 */);
return value.then(function(a0) {
return {default: a0};
});
}
function ru_24537() { // fn#24537, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2965:1522, offset: 0x00f1afbf, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2861) /* metro dependency 2861 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24539() { // fn#24539, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2965:1591, offset: 0x00f1b000, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2862) /* metro dependency 2862 */);
return value.then(function(a0) {
return {default: a0};
});
}
function th_24541() { // fn#24541, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2965:1655, offset: 0x00f1b041, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2863) /* metro dependency 2863 */);
return value.then(function(a0) {
return {default: a0};
});
}
function tr_24543() { // fn#24543, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2965:1719, offset: 0x00f1b082, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2864) /* metro dependency 2864 */);
return value.then(function(a0) {
return {default: a0};
});
}
function uk_24545() { // fn#24545, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2965:1783, offset: 0x00f1b0c3, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2865) /* metro dependency 2865 */);
return value.then(function(a0) {
return {default: a0};
});
}
function vi_24547() { // fn#24547, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2965:1847, offset: 0x00f1b104, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2866) /* metro dependency 2866 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24549() { // fn#24549, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2965:1916, offset: 0x00f1b145, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2867) /* metro dependency 2867 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24551() { // fn#24551, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2965:1985, offset: 0x00f1b186, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2868) /* metro dependency 2868 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24553() { // fn#24553, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2965:2054, offset: 0x00f1b1c7, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2869) /* metro dependency 2869 */);
return value.then(function(a0) {
return {default: a0};
});
}
@@ -0,0 +1,19 @@
/* Metro module 15296; source: modules/application_account_linking/AccountLinkingActionCreators.tsx; dependencies: [694, 2] */
function _fun116976(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#116976, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15493:6, offset: 0x0249e729, size: 114 bytes, params: 8, frame: 17
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/application_account_linking/AccountLinkingActionCreators.tsx');
exports.accountLinkAuthorizationStarted = accountLinkAuthorizationStarted;
exports.accountLinkAuthorizationCompleted = accountLinkAuthorizationCompleted;
}
function accountLinkAuthorizationStarted(a0, a1, a2) { // fn#116977, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15493:228, offset: 0x0249e79b, size: 71 bytes, params: 4, frame: 13
(importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'ACCOUNT_LINK_AUTHORIZATION_STARTED',
applicationId: a0, accountLinkCallbacks: a1, claimIncentivizedAccountLinkingRewardCallbacks: a2});
}
function accountLinkAuthorizationCompleted(a0) { // fn#116978, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15493:463, offset: 0x0249e7e2, size: 55 bytes, params: 2, frame: 13
(importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'ACCOUNT_LINK_AUTHORIZATION_COMPLETED',
applicationId: a0});
}
@@ -0,0 +1,289 @@
/* Metro module 2774; source: modules/application_account_linking/ApplicationAccountLinking.messages.js; dependencies: [1247, 2775, 2776, 2777, 2778, 2779, 2780, 2781, 2782, 2783, 2784, 2785, 2786, 2787, 2788, 2789, 2790, 2791, 2792, 2793, 2794, 2795, 2796, 2797, 2798, 2799, 2800, 2801, 2802, 2803, 2804, 2805, 1282, 2] */
function _fun24304(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#24304, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2901:6, offset: 0x00f18428, size: 453 bytes, params: 8, frame: 19
var object2;
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
object2 = {bg: bg_24305, cs: cs_24307, da: da_24309, de: de_24311, el: el_24313};
object2['en-GB'] = _fun24315;
object2['es-419'] = _fun24317;
object2['es-ES'] = _fun24319;
object2.fi = fi_24321;
object2.fr = fr_24323;
object2.hi = hi_24325;
object2.hr = hr_24327;
object2.hu = hu_24329;
object2.it = it_24331;
object2.ja = ja_24333;
object2.ko = ko_24335;
object2.lt = lt_24337;
object2.nl = nl_24339;
object2.no = no_24341;
object2.pl = pl_24343;
object2['pt-BR'] = _fun24345;
object2.ro = ro_24347;
object2.ru = ru_24349;
object2['sv-SE'] = _fun24351;
object2.th = th_24353;
object2.tr = tr_24355;
object2.uk = uk_24357;
object2.vi = vi_24359;
object2['zh-CN'] = _fun24361;
object2['zh-TW'] = _fun24363;
object2['en-US'] = _fun24365;
let value = require(1282) /* metro dependency 1282 */;
value = value.createLoader(object2, 'en-US');
const messagesProxy = (require(1282) /* metro dependency 1282 */).makeMessagesProxy(value);
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/application_account_linking/ApplicationAccountLinking.messages.js');
exports.default = messagesProxy;
exports.messagesLoader = value;
}
function bg_24305() { // fn#24305, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2901:102, offset: 0x00f185ed, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2775) /* metro dependency 2775 */);
return value.then(function(a0) {
return {default: a0};
});
}
function cs_24307() { // fn#24307, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2901:165, offset: 0x00f1862e, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2776) /* metro dependency 2776 */);
return value.then(function(a0) {
return {default: a0};
});
}
function da_24309() { // fn#24309, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2901:228, offset: 0x00f1866f, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2777) /* metro dependency 2777 */);
return value.then(function(a0) {
return {default: a0};
});
}
function de_24311() { // fn#24311, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2901:291, offset: 0x00f186b0, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2778) /* metro dependency 2778 */);
return value.then(function(a0) {
return {default: a0};
});
}
function el_24313() { // fn#24313, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2901:354, offset: 0x00f186f1, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2779) /* metro dependency 2779 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24315() { // fn#24315, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2901:422, offset: 0x00f18732, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2780) /* metro dependency 2780 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24317() { // fn#24317, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2901:491, offset: 0x00f18773, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2781) /* metro dependency 2781 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24319() { // fn#24319, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2901:559, offset: 0x00f187b4, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2782) /* metro dependency 2782 */);
return value.then(function(a0) {
return {default: a0};
});
}
function fi_24321() { // fn#24321, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2901:622, offset: 0x00f187f5, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2783) /* metro dependency 2783 */);
return value.then(function(a0) {
return {default: a0};
});
}
function fr_24323() { // fn#24323, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2901:685, offset: 0x00f18836, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2784) /* metro dependency 2784 */);
return value.then(function(a0) {
return {default: a0};
});
}
function hi_24325() { // fn#24325, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2901:749, offset: 0x00f18877, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2785) /* metro dependency 2785 */);
return value.then(function(a0) {
return {default: a0};
});
}
function hr_24327() { // fn#24327, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2901:813, offset: 0x00f188b8, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2786) /* metro dependency 2786 */);
return value.then(function(a0) {
return {default: a0};
});
}
function hu_24329() { // fn#24329, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2901:877, offset: 0x00f188f9, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2787) /* metro dependency 2787 */);
return value.then(function(a0) {
return {default: a0};
});
}
function it_24331() { // fn#24331, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2901:941, offset: 0x00f1893a, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2788) /* metro dependency 2788 */);
return value.then(function(a0) {
return {default: a0};
});
}
function ja_24333() { // fn#24333, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2901:1005, offset: 0x00f1897b, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2789) /* metro dependency 2789 */);
return value.then(function(a0) {
return {default: a0};
});
}
function ko_24335() { // fn#24335, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2901:1069, offset: 0x00f189bc, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2790) /* metro dependency 2790 */);
return value.then(function(a0) {
return {default: a0};
});
}
function lt_24337() { // fn#24337, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2901:1133, offset: 0x00f189fd, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2791) /* metro dependency 2791 */);
return value.then(function(a0) {
return {default: a0};
});
}
function nl_24339() { // fn#24339, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2901:1197, offset: 0x00f18a3e, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2792) /* metro dependency 2792 */);
return value.then(function(a0) {
return {default: a0};
});
}
function no_24341() { // fn#24341, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2901:1261, offset: 0x00f18a7f, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2793) /* metro dependency 2793 */);
return value.then(function(a0) {
return {default: a0};
});
}
function pl_24343() { // fn#24343, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2901:1325, offset: 0x00f18ac0, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2794) /* metro dependency 2794 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24345() { // fn#24345, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2901:1394, offset: 0x00f18b01, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2795) /* metro dependency 2795 */);
return value.then(function(a0) {
return {default: a0};
});
}
function ro_24347() { // fn#24347, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2901:1458, offset: 0x00f18b42, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2796) /* metro dependency 2796 */);
return value.then(function(a0) {
return {default: a0};
});
}
function ru_24349() { // fn#24349, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2901:1522, offset: 0x00f18b83, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2797) /* metro dependency 2797 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24351() { // fn#24351, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2901:1591, offset: 0x00f18bc4, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2798) /* metro dependency 2798 */);
return value.then(function(a0) {
return {default: a0};
});
}
function th_24353() { // fn#24353, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2901:1655, offset: 0x00f18c05, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2799) /* metro dependency 2799 */);
return value.then(function(a0) {
return {default: a0};
});
}
function tr_24355() { // fn#24355, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2901:1719, offset: 0x00f18c46, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2800) /* metro dependency 2800 */);
return value.then(function(a0) {
return {default: a0};
});
}
function uk_24357() { // fn#24357, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2901:1783, offset: 0x00f18c87, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2801) /* metro dependency 2801 */);
return value.then(function(a0) {
return {default: a0};
});
}
function vi_24359() { // fn#24359, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2901:1847, offset: 0x00f18cc8, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2802) /* metro dependency 2802 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24361() { // fn#24361, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2901:1916, offset: 0x00f18d09, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2803) /* metro dependency 2803 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24363() { // fn#24363, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2901:1985, offset: 0x00f18d4a, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2804) /* metro dependency 2804 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24365() { // fn#24365, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2901:2054, offset: 0x00f18d8b, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2805) /* metro dependency 2805 */);
return value.then(function(a0) {
return {default: a0};
});
}
@@ -0,0 +1,14 @@
/* Metro module 6775; source: modules/application_account_linking/ApplicationAccountLinkingConstants.tsx; dependencies: [2] */
function _fun53384(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#53384, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6953:6, offset: 0x01347598, size: 184 bytes, params: 8, frame: 18
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const Set = global.Set;
const set = new Set(['1443349464290168976', '1443350165678198935', '1443033465766281327']);
const Date = global.Date;
const date = new Date('2026-07-10Z-07:00');
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/application_account_linking/ApplicationAccountLinkingConstants.tsx');
exports.AuthorizeFlow = {RPC: 'rpc', WEB: 'web'};
exports.IncentivizedAccountLinkingApplicationIds = set;
exports.RIOT_CONNECTION_DEPRECATION_DATE = date;
}
@@ -0,0 +1,289 @@
/* Metro module 2870; source: modules/application_account_linking/IncentivizedAccountLinking.messages.js; dependencies: [1247, 2839, 2840, 2841, 2842, 2843, 2844, 2845, 2846, 2847, 2848, 2849, 2850, 2851, 2852, 2853, 2854, 2855, 2856, 2857, 2858, 2859, 2860, 2861, 2862, 2863, 2864, 2865, 2866, 2867, 2868, 2871, 1282, 2] */
function _fun24586(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#24586, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2997:6, offset: 0x00f1ba82, size: 453 bytes, params: 8, frame: 19
var object2;
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
object2 = {bg: bg_24587, cs: cs_24589, da: da_24591, de: de_24593, el: el_24595};
object2['en-GB'] = _fun24597;
object2['es-419'] = _fun24599;
object2['es-ES'] = _fun24601;
object2.fi = fi_24603;
object2.fr = fr_24605;
object2.hi = hi_24607;
object2.hr = hr_24609;
object2.hu = hu_24611;
object2.it = it_24613;
object2.ja = ja_24615;
object2.ko = ko_24617;
object2.lt = lt_24619;
object2.nl = nl_24621;
object2.no = no_24623;
object2.pl = pl_24625;
object2['pt-BR'] = _fun24627;
object2.ro = ro_24629;
object2.ru = ru_24631;
object2['sv-SE'] = _fun24633;
object2.th = th_24635;
object2.tr = tr_24637;
object2.uk = uk_24639;
object2.vi = vi_24641;
object2['zh-CN'] = _fun24643;
object2['zh-TW'] = _fun24645;
object2['en-US'] = _fun24647;
let value = require(1282) /* metro dependency 1282 */;
value = value.createLoader(object2, 'en-US');
const messagesProxy = (require(1282) /* metro dependency 1282 */).makeMessagesProxy(value);
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/application_account_linking/IncentivizedAccountLinking.messages.js');
exports.default = messagesProxy;
exports.messagesLoader = value;
}
function bg_24587() { // fn#24587, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2997:102, offset: 0x00f1bc47, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2839) /* metro dependency 2839 */);
return value.then(function(a0) {
return {default: a0};
});
}
function cs_24589() { // fn#24589, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2997:165, offset: 0x00f1bc88, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2840) /* metro dependency 2840 */);
return value.then(function(a0) {
return {default: a0};
});
}
function da_24591() { // fn#24591, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2997:228, offset: 0x00f1bcc9, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2841) /* metro dependency 2841 */);
return value.then(function(a0) {
return {default: a0};
});
}
function de_24593() { // fn#24593, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2997:291, offset: 0x00f1bd0a, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2842) /* metro dependency 2842 */);
return value.then(function(a0) {
return {default: a0};
});
}
function el_24595() { // fn#24595, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2997:354, offset: 0x00f1bd4b, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2843) /* metro dependency 2843 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24597() { // fn#24597, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2997:422, offset: 0x00f1bd8c, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2844) /* metro dependency 2844 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24599() { // fn#24599, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2997:491, offset: 0x00f1bdcd, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2845) /* metro dependency 2845 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24601() { // fn#24601, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2997:559, offset: 0x00f1be0e, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2846) /* metro dependency 2846 */);
return value.then(function(a0) {
return {default: a0};
});
}
function fi_24603() { // fn#24603, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2997:622, offset: 0x00f1be4f, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2847) /* metro dependency 2847 */);
return value.then(function(a0) {
return {default: a0};
});
}
function fr_24605() { // fn#24605, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2997:685, offset: 0x00f1be90, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2848) /* metro dependency 2848 */);
return value.then(function(a0) {
return {default: a0};
});
}
function hi_24607() { // fn#24607, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2997:749, offset: 0x00f1bed1, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2849) /* metro dependency 2849 */);
return value.then(function(a0) {
return {default: a0};
});
}
function hr_24609() { // fn#24609, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2997:813, offset: 0x00f1bf12, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2850) /* metro dependency 2850 */);
return value.then(function(a0) {
return {default: a0};
});
}
function hu_24611() { // fn#24611, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2997:877, offset: 0x00f1bf53, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2851) /* metro dependency 2851 */);
return value.then(function(a0) {
return {default: a0};
});
}
function it_24613() { // fn#24613, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2997:941, offset: 0x00f1bf94, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2852) /* metro dependency 2852 */);
return value.then(function(a0) {
return {default: a0};
});
}
function ja_24615() { // fn#24615, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2997:1005, offset: 0x00f1bfd5, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2853) /* metro dependency 2853 */);
return value.then(function(a0) {
return {default: a0};
});
}
function ko_24617() { // fn#24617, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2997:1069, offset: 0x00f1c016, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2854) /* metro dependency 2854 */);
return value.then(function(a0) {
return {default: a0};
});
}
function lt_24619() { // fn#24619, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2997:1133, offset: 0x00f1c057, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2855) /* metro dependency 2855 */);
return value.then(function(a0) {
return {default: a0};
});
}
function nl_24621() { // fn#24621, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2997:1197, offset: 0x00f1c098, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2856) /* metro dependency 2856 */);
return value.then(function(a0) {
return {default: a0};
});
}
function no_24623() { // fn#24623, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2997:1261, offset: 0x00f1c0d9, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2857) /* metro dependency 2857 */);
return value.then(function(a0) {
return {default: a0};
});
}
function pl_24625() { // fn#24625, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2997:1325, offset: 0x00f1c11a, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2858) /* metro dependency 2858 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24627() { // fn#24627, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2997:1394, offset: 0x00f1c15b, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2859) /* metro dependency 2859 */);
return value.then(function(a0) {
return {default: a0};
});
}
function ro_24629() { // fn#24629, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2997:1458, offset: 0x00f1c19c, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2860) /* metro dependency 2860 */);
return value.then(function(a0) {
return {default: a0};
});
}
function ru_24631() { // fn#24631, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2997:1522, offset: 0x00f1c1dd, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2861) /* metro dependency 2861 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24633() { // fn#24633, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2997:1591, offset: 0x00f1c21e, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2862) /* metro dependency 2862 */);
return value.then(function(a0) {
return {default: a0};
});
}
function th_24635() { // fn#24635, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2997:1655, offset: 0x00f1c25f, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2863) /* metro dependency 2863 */);
return value.then(function(a0) {
return {default: a0};
});
}
function tr_24637() { // fn#24637, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2997:1719, offset: 0x00f1c2a0, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2864) /* metro dependency 2864 */);
return value.then(function(a0) {
return {default: a0};
});
}
function uk_24639() { // fn#24639, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2997:1783, offset: 0x00f1c2e1, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2865) /* metro dependency 2865 */);
return value.then(function(a0) {
return {default: a0};
});
}
function vi_24641() { // fn#24641, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2997:1847, offset: 0x00f1c322, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2866) /* metro dependency 2866 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24643() { // fn#24643, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2997:1916, offset: 0x00f1c363, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2867) /* metro dependency 2867 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24645() { // fn#24645, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2997:1985, offset: 0x00f1c3a4, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2868) /* metro dependency 2868 */);
return value.then(function(a0) {
return {default: a0};
});
}
function _fun24647() { // fn#24647, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2997:2054, offset: 0x00f1c3e5, size: 65 bytes, params: 1, frame: 14
let value = require(1247) /* metro dependency 1247: AssetJsonUtils */;
value = value.loadJsonAsset(require(2871) /* metro dependency 2871 */);
return value.then(function(a0) {
return {default: a0};
});
}
@@ -0,0 +1,18 @@
/* Metro module 14579; source: modules/application_account_linking/experiments/mobileAccountLinkingExperiment.tsx; dependencies: [1854, 2] */
function _fun110297(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#110297, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14776:6, offset: 0x02373b4c, size: 215 bytes, params: 8, frame: 22
var object2;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
object2 = {MEDIUM: 'medium', LARGE: 'large'};
let value = require(1854) /* metro dependency 1854: apex */;
const createApexExperiment = value.createApexExperiment;
const LARGE = object2.LARGE;
const MEDIUM = object2.MEDIUM;
value = Reflect.apply(createApexExperiment, value, [{'name': '2026-02-mobile-account-linking', 'kind': 'user',
defaultConfig: {enabled: false}, variations: {[0]: {enabled: false}, [1]: {enabled: true, bannerSize: LARGE},
[2]: {enabled: true, bannerSize: MEDIUM}}}]);
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/application_account_linking/experiments/mobileAccountLinkingExperiment.tsx');
exports.default = value;
exports.MobileAccountLinkingBannerSize = object2;
}
@@ -0,0 +1,56 @@
/* Metro module 4239; source: modules/application_account_linking/experiments/riotSocialSDKMigration.tsx; dependencies: [1244, 1854, 2] */
function _fun35044(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#35044, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4410:6, offset: 0x0106a07f, size: 332 bytes, params: 8, frame: 22
var object4;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
object4 = {};
const object5 = {enabled: false};
object5.defaultBody = (require(1244) /* metro dependency 1244: indexNative */).t['2lfjU+'];
object4[0] = object5;
object4[1] = {'enabled': true, 'defaultBody': null};
const object6 = {'enabled': false, 'defaultBody': null};
const env0_0 = (require(1854) /* metro dependency 1854: apex */).createApexExperiment({'name': '2026-04-riot-social-sdk-migration',
'kind': 'user', defaultConfig: object6, variations: object4});
const env0_1 = (require(1854) /* metro dependency 1854: apex */).createApexExperiment({'name': '2026-05-riot-social-sdk-migration-us--canada',
'kind': 'user', defaultConfig: object6, variations: object4});
const env0_2 = (require(1854) /* metro dependency 1854: apex */).createApexExperiment({'name': '2026-05-riot-social-sdk-migration-all-regions',
'kind': 'user', defaultConfig: object6, variations: object4});
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/application_account_linking/experiments/riotSocialSDKMigration.tsx');
exports.useIsRiotSocialSDKMigrationEnabled = useIsRiotSocialSDKMigrationEnabled;
exports.getIsRiotSocialSDKMigrationEnabled = getIsRiotSocialSDKMigrationEnabled;
exports.useRiotSocialSDKMigrationDefaultBody = useRiotSocialSDKMigrationDefaultBody;
}
function useIsRiotSocialSDKMigrationEnabled(a0) { // fn#35045, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4410:727, offset: 0x0106a1cb, size: 74 bytes, params: 2, frame: 13
const value2 = env0_0.useConfig(a0);
const value3 = env0_1.useConfig(a0);
const value = env0_2.useConfig(a0);
let enabled = value2.enabled;
enabled = !enabled ? value3.enabled : enabled;
enabled = !enabled ? value.enabled : enabled;
return enabled;
}
function useRiotSocialSDKMigrationDefaultBody(a0) { // fn#35047, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4410:1087, offset: 0x0106a25f, size: 114 bytes, params: 2, frame: 14
var defaultBody;
var r0;
const value2 = env0_0.useConfig(a0);
const value3 = env0_1.useConfig(a0);
const value = env0_2.useConfig(a0);
const enabled = value2.enabled;
const value4 = null;
if (enabled) {
r0 = value4;
} else if (value3.enabled) {
r0 = value4;
} else if (value.enabled) {
r0 = value4;
} else {
defaultBody = value2.defaultBody;
defaultBody = value4 == defaultBody ? value3.defaultBody : defaultBody;
defaultBody = value4 == defaultBody ? value.defaultBody : defaultBody;
r0 = defaultBody;
}
return r0;
}
@@ -0,0 +1,19 @@
/* Metro module 4240; source: modules/application_account_linking/experiments/valorantSocialSDKExperiment.tsx; dependencies: [1854, 2] */
function _fun35048(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#35048, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4411:6, offset: 0x0106a2d1, size: 262 bytes, params: 8, frame: 22
var object2;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
object2 = {};
object2[0] = {enabled: false};
object2[1] = {enabled: true};
const object3 = {enabled: false};
const env0_0 = (require(1854) /* metro dependency 1854: apex */).createApexExperiment({'name': '2026-04-valorant-social-sdk',
'kind': 'user', defaultConfig: object3, variations: object2});
const env0_1 = (require(1854) /* metro dependency 1854: apex */).createApexExperiment({'name': '2026-05-valorant-social-sdk-us--canada',
'kind': 'user', defaultConfig: object3, variations: object2});
const env0_2 = (require(1854) /* metro dependency 1854: apex */).createApexExperiment({'name': '2026-05-valorant-social-sdk-all-regions',
'kind': 'user', defaultConfig: object3, variations: object2});
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/application_account_linking/experiments/valorantSocialSDKExperiment.tsx');
exports.getIsValorantSocialSDKEnabled = getIsValorantSocialSDKEnabled;
}
@@ -0,0 +1,48 @@
/* Metro module 6776; source: modules/application_account_linking/hooks/useAuthorizationApp.tsx; dependencies: [31, 4234, 4235, 4238, 1909, 6777, 2] */
function _fun53385(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#53385, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6954:6, offset: 0x01347650, size: 184 bytes, params: 8, frame: 20
const env0_0 = require;
const closure = getAuthorizationApp;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_2 = importAll(31) /* metro dependency 31 */;
const applicationStore = importDefault(4234) /* metro dependency 4234: ApplicationStore */;
const applicationRecord = importDefault(4235) /* metro dependency 4235: ApplicationRecord */;
const env0_5 = (require(4238) /* metro dependency 4238: ApplicationConstants */).ApplicationTypes;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/application_account_linking/hooks/useAuthorizationApp.tsx');
exports.getAuthorizationApp = closure;
exports.useAuthorizationApp = useAuthorizationApp;
}
function getAuthorizationApp(a0) { // fn#53386, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6954:153, offset: 0x01347708, size: 129 bytes, params: 2, frame: 16
const value = null;
if (value == a0) {
return value;
}
const type = a0.type;
const GAME = ApplicationTypes.GAME;
if (type !== GAME) {
return a0;
}
const linkedGames = a0.linkedGames;
const value3 = undefined;
const r6 = value == linkedGames ? value3 : linkedGames.find(function({type}) {
return type === require(dependencyMap[4]).GameLinkTypes.OFFICIAL;
});
const application = value == r6 ? value3 : r6.application;
const r3 = value != application ? application : ApplicationStore.getApplication(value == r6 ? value3 : r6.id);
return value != r3 ? r3 : value;
}
function useAuthorizationApp(a0) { // fn#53388, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6954:602, offset: 0x013477bc, size: 120 bytes, params: 2, frame: 17
const env0_0 = a0;
const r4 = a0 == null || a0 instanceof ApplicationRecord ? undefined : a0.getOfficialApplicationId();
value = require(6777) /* metro dependency 6777: useGetOrFetchApplications */;
value = value.useGetOrFetchApplication(r4);
return env0_2.useMemo(_fun53389, [a0, value]);
}
function _fun53389() { // fn#53389, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6954:756, offset: 0x01347834, size: 75 bytes, params: 1, frame: 14
const value2 = null;
return value2 == env0_0 ? value2 : env0_0 instanceof ApplicationRecord ? getAuthorizationApp(env0_0) : value2 != env0_1 ? env0_1 : value2;
}
@@ -0,0 +1,86 @@
/* Metro module 6778; source: modules/application_account_linking/hooks/useAuthorizedAppsToken.tsx; dependencies: [31, 5109, 566, 1360, 6779, 2] */
function _fun53396(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#53396, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6956:6, offset: 0x01347ad2, size: 171 bytes, params: 8, frame: 20
const env0_0 = require;
const closure = useAuthorizedAppsTokens;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importAll(31) /* metro dependency 31 */;
const authorizedAppsStore = importDefault(5109) /* metro dependency 5109: AuthorizedAppsStore */;
const env0_5 = (require(5109) /* metro dependency 5109: AuthorizedAppsStore */).FetchState;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/application_account_linking/hooks/useAuthorizedAppsToken.tsx');
exports.useAuthorizedAppsTokens = closure;
exports.useAuthorizedAppsToken = useAuthorizedAppsToken;
}
function useAuthorizedAppsTokens(a0, a1) { // fn#53397, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6956:137, offset: 0x01347b7d, size: 246 bytes, params: 3, frame: 24
const value = a1;
const env0_0 = a0;
const disableFetch = (value ?? ({})).disableFetch;
const r7 = disableFetch !== undefined && disableFetch;
const value2 = (require(566) /* metro dependency 566: flux */).useStateFromStoresArray([AuthorizedAppsStore],
_fun53398, [a0]);
const value3 = (require(566) /* metro dependency 566: flux */).useStateFromStores([AuthorizedAppsStore], _fun53400,
[a0]);
env0_3.useEffect(_fun53404, [r7,
(require(566) /* metro dependency 566: flux */).useStateFromStoresArray([AuthorizedAppsStore], _fun53402,
[a0])]);
return {tokens: value2, fetched: value3};
}
function useAuthorizedAppsToken(a0, a1) { // fn#53405, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6956:964, offset: 0x01347ddb, size: 101 bytes, params: 3, frame: 15
const env0_0 = a0;
let value = env0_3.useMemo(_fun53406, [a0]);
value = useAuthorizedAppsTokens(value, a1);
const tokens = value.tokens;
return {token: tokens.length > 0 ? tokens[0] : null, fetched: value.fetched};
}
function _fun53398() { // fn#53398, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6956:264, offset: 0x01347c73, size: 90 bytes, params: 1, frame: 16
var environment;
var r0;
var filter;
var value3;
var value;
if (env0_0 == null) {
r0 = undefined;
} else {
value = env0_0.map(function(a0) {
return AuthorizedAppsStore.getNewestTokenForApplication(a0);
});
filter = value.filter;
value3 = environment.__proto__;
value = Reflect.apply(filter, value, [(require(1360) /* metro dependency 1360: GlobalUtils */).isNotNullish]);
r0 = value;
}
r0 = r0 ?? [];
return r0;
}
function _fun53400() { // fn#53400, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6956:428, offset: 0x01347ce4, size: 52 bytes, params: 1, frame: 13
const r1 = env0_0?.every(function(a0) {
return AuthorizedAppsStore.getFetchStateForApplication(a0) === FetchState.FETCHED;
});
return r1 != null && r1;
}
function _fun53402() { // fn#53402, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6956:579, offset: 0x01347d3d, size: 49 bytes, params: 1, frame: 13
let r0 = env0_0?.filter(function(a0) {
return AuthorizedAppsStore.getFetchStateForApplication(a0) === FetchState.NOT_FETCHED;
});
r0 = r0 ?? [];
return r0;
}
function _fun53404() { // fn#53404, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6956:718, offset: 0x01347d93, size: 72 bytes, params: 1, frame: 12
var value3;
if (!(env0_1 || env0_2.length === 0)) {
value3 = environment.__proto__;
(importDefault(6779) /* metro dependency 6779: AuthorizedAppsActionCreators */).fetch(env0_2);
}
}
function _fun53406() { // fn#53406, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6956:1042, offset: 0x01347e40, size: 33 bytes, params: 1, frame: 3
const value2 = null;
return value2 != env0_0 ? [env0_0] : value2;
}
@@ -0,0 +1,207 @@
/* Metro module 6788; source: modules/application_account_linking/hooks/useProviderConnection.tsx; dependencies: [5, 31, 5040, 566, 5042, 2] */
function _fun53442(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#53442, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6966:6, offset: 0x01349462, size: 151 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importDefault(5) /* metro dependency 5 */;
const env0_4 = importAll(31) /* metro dependency 31 */;
const connectedAccountsStore = importDefault(5040) /* metro dependency 5040: ConnectedAccountsStore */;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/application_account_linking/hooks/useProviderConnection.tsx');
exports.useProviderConnection = useProviderConnection;
}
function useProviderConnection(a0) { // fn#53443, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6966:251, offset: 0x013494f9, size: 178 bytes, params: 2, frame: 21
const env0_0 = a0;
const value2 = (require(566) /* metro dependency 566: flux */).useStateFromStores([ConnectedAccountsStore],
_fun53444);
const value3 = (require(566) /* metro dependency 566: flux */).useStateFromStores([ConnectedAccountsStore],
function() {
return ConnectedAccountsStore.isFetching();
});
const r5 = value2 != null && !value2.revoked;
const binding = env0_4;
const useCallback = binding.useCallback;
let value = _fun53446();
value = Reflect.apply(useCallback, binding, [value, [a0]]);
return {loading: value3, hasConnection: r5, canConnect: a0 != null, startConnection: value, account: value2};
}
function _fun53444() { // fn#53444, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6966:323, offset: 0x013495ab, size: 43 bytes, params: 1, frame: 14
const value2 = null;
return value2 != env0_0 ? ConnectedAccountsStore.getAccount(value2, env0_0) : value2;
}
function _fun53446() { // fn#53446, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6966:456, offset: 0x013495e9, size: 32 bytes, params: 1, frame: 12
const env0_0 = env1_3(_fun53448);
return _fun53449;
}
function* _fun53448(a0) { // fn#53448, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6966:476, offset: 0x01349612, size: 222 bytes, params: 2, frame: 21
var url;
var r2;
var binding;
var binding2;
var property;
var value6;
var authorize;
var object2;
var value7;
var value9;
var ok;
var body;
var value10;
var value11;
var error;
if (false) {
return undefined;
}
value = a0;
const value3 = undefined;
if (require == null) {
return {success: false};
}
try {
binding = env3_1;
} catch (error) {
return {success: false};
}
try {
binding2 = env3_2;
} catch (error) {
return {success: false};
}
try {
property = binding2[4];
} catch (error) {
return {success: false};
}
try {
value6 = binding(property);
} catch (error) {
return {success: false};
}
try {
authorize = value6.authorize;
} catch (error) {
return {success: false};
}
try {
} catch (error) {
return {success: false};
}
try {
object2 = {};
} catch (error) {
return {success: false};
}
try {
value7 = value != null;
} catch (error) {
return {success: false};
}
try {
object2.location = value7 ? value : 'Account Linking';
} catch (error) {
return {success: false};
}
try {
value = Reflect.apply(authorize, value6, [require, object2]);
} catch (error) {
return {success: false};
}
yield value;
try {
value = undefined;
value9 = false;
} catch (error) {
return {success: false};
}
if (value9) {
return value;
}
try {
ok = value.ok;
} catch (error) {
return {success: false};
}
if (ok) {
try {
body = value.body;
} catch (error) {
return {success: false};
}
try {
value10 = body == null;
} catch (error) {
return {success: false};
}
if (value10) {
url = value3;
} else {
try {
url = body.url;
} catch (error) {
return {success: false};
}
}
try {
value11 = url != null;
} catch (error) {
return {success: false};
}
if (value11) {
try {
object2 = {};
} catch (error) {
return {success: false};
}
try {
object2.success = true;
} catch (error) {
return {success: false};
}
try {
body = value.body;
} catch (error) {
return {success: false};
}
try {
url = body.url;
} catch (error) {
return {success: false};
}
try {
object2.url = url;
} catch (error) {
return {success: false};
}
r2 = object2;
} else {
try {
object2 = {};
} catch (error) {
return {success: false};
}
try {
object2.success = false;
} catch (error) {
return {success: false};
}
r2 = object2;
}
} else {
try {
object2 = {};
} catch (error) {
return {success: false};
}
try {
object2.success = false;
} catch (error) {
return {success: false};
}
r2 = object2;
}
return r2;
}
@@ -0,0 +1,223 @@
/* Metro module 14578; source: modules/application_account_linking/native/AccountLinkBanner.tsx; dependencies: [31, 27, 1878, 1376, 33, 697, 6780, 14579, 8518, 4582, 4501, 632, 6771, 6789, 6239, 5278, 5312, 1305, 4573, 1244, 4578, 10007, 2] */
function _fun110287(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#110287, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14775:6, offset: 0x02372df4, size: 1018 bytes, params: 8, frame: 34
var object2;
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
let value = importAll(31) /* metro dependency 31 */;
const value2 = require(27) /* metro dependency 27 */;
const env0_3 = value2.Image;
const env0_4 = value2.View;
const userStore = importDefault(1878) /* metro dependency 1878: UserStore */;
const env0_6 = (require(1376) /* metro dependency 1376: DismissibleContentConstants */).ContentDismissActionType;
const value3 = require(33) /* metro dependency 33 */;
const env0_7 = value3.jsx;
const env0_8 = value3.jsxs;
const env0_9 = value3.Fragment;
const PX_8 = (importDefault(697) /* metro dependency 697: native */).space.PX_8;
const PX_82 = (importDefault(697) /* metro dependency 697: native */).space.PX_8;
let PX_12 = (importDefault(697) /* metro dependency 697: native */).space.PX_12;
const PX_16 = (importDefault(697) /* metro dependency 697: native */).space.PX_16;
const PX_4 = (importDefault(697) /* metro dependency 697: native */).space.PX_4;
const GameIconSizes = (require(6780) /* metro dependency 6780: GameIcon */).GameIconSizes;
const NORMAL = GameIconSizes.NORMAL;
const GameIconImageSize = (require(6780) /* metro dependency 6780: GameIcon */).GameIconImageSize;
const env0_16 = GameIconImageSize[NORMAL];
const PX_162 = (importDefault(697) /* metro dependency 697: native */).space.PX_16;
const PX_122 = (importDefault(697) /* metro dependency 697: native */).space.PX_12;
const createStylesModule = require(4501) /* metro dependency 4501: createStyles */;
let createStyles = createStylesModule.createStyles;
object2 = {};
object2.card = {padding: PX_12};
const object6 = {'position': 'absolute', 'top': null, 'right': null, 'width': 24, 'height': 24,
'alignItems': 'center', 'justifyContent': 'center', 'zIndex': 1};
const PX_123 = (importDefault(697) /* metro dependency 697: native */).space.PX_12;
object6.top = PX_123;
const PX_124 = (importDefault(697) /* metro dependency 697: native */).space.PX_12;
object6.right = PX_124;
object2.closeButton = object6;
object2.imagesContainer = {'flexDirection': 'row', 'alignItems': 'center', 'justifyContent': 'center'};
const object7 = {'flexDirection': 'row', 'alignItems': 'center'};
const PX_83 = (importDefault(697) /* metro dependency 697: native */).space.PX_8;
object7.marginHorizontal = PX_83;
const PX_42 = (importDefault(697) /* metro dependency 697: native */).space.PX_4;
object7.gap = PX_42;
object2.ellipsisContainer = object7;
const object8 = {};
const PX_43 = (importDefault(697) /* metro dependency 697: native */).space.PX_4;
object8.width = PX_43;
const PX_44 = (importDefault(697) /* metro dependency 697: native */).space.PX_4;
object8.height = PX_44;
const PX_45 = (importDefault(697) /* metro dependency 697: native */).space.PX_4;
object8.borderRadius = PX_45 / 2;
const INTERACTIVE_MUTED = (importDefault(697) /* metro dependency 697: native */).colors.INTERACTIVE_MUTED;
object8.backgroundColor = INTERACTIVE_MUTED;
object2.ellipsisDot = object8;
object2.title = {marginTop: PX_16, textAlign: 'center'};
object2.body = {marginTop: PX_4, textAlign: 'center'};
object2.ctaContainer = {marginTop: PX_162};
const env0_21 = Reflect.apply(createStyles, createStylesModule, [object2]);
const value5 = createStylesModule;
createStyles = value5.createStyles;
object2 = {};
object2.card = {padding: PX_12};
object2.closeButton = {'width': 24, 'height': 24, 'alignItems': 'center', 'justifyContent': 'center',
'alignSelf': 'flex-start'};
PX_12 = (importDefault(697) /* metro dependency 697: native */).space.PX_12;
object2.contentContainer = {flexDirection: 'row', gap: PX_12};
object2.rewardImage = {'width': 48, 'height': 48};
object2.bodyText = {'flexGrow': 1, 'flexShrink': 1, 'alignSelf': 'center'};
object2.ctaContainer = {marginTop: PX_122, width: '100%'};
const env0_22 = Reflect.apply(createStyles, value5, [object2]);
value = value.memo(_fun110295);
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/application_account_linking/native/AccountLinkBanner.tsx');
exports.default = value;
exports.ACCOUNT_LINK_BANNER_MARGIN_TOP = PX_8;
exports.ACCOUNT_LINK_BANNER_MARGIN_BOTTOM = PX_82;
exports.getScaledAccountLinkBannerHeight = getScaledAccountLinkBannerHeight;
}
function AccountLinkLargeBanner({application, markAsDismissed, startAuthorization}) { // fn#110288, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14775:1129, offset: 0x023731ee, size: 1047 bytes, params: 2, frame: 37
var r0;
var Card;
var items4;
var items2;
var ellipsisDot;
var items3;
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
var formatToPlainString;
const t = (require(1244) /* metro dependency 1244: indexNative */).t;
const styles = useStyles();
const currentUser = (require(632) /* metro dependency 632: useStateFromStores */).useStateFromStores([UserStore],
function() {
return UserStore.getCurrentUser();
});
const defaultImport = importDefault(6771) /* metro dependency 6771: useAnalyticsLocations */;
const MOBILE_ACCOUNT_LINK_LARGE_BANNER = (importDefault(6789) /* metro dependency 6789: AnalyticsLocation */).MOBILE_ACCOUNT_LINK_LARGE_BANNER;
const env0_2 = defaultImport(MOBILE_ACCOUNT_LINK_LARGE_BANNER).analyticsLocations;
const name = application.name;
const reward_name = application.applicationAccountLinkBenefitConfig?.reward_name;
if (reward_name == null) {
r0 = null;
} else {
Card = (require(6239) /* metro dependency 6239: CardNative */).Card;
var cardProps = {variant: 'secondary', style: styles.card};
items4 = [((PressableOpacity) => <PressableOpacity accessibilityRole="button" onPress={function() {
return markAsDismissed(ContentDismissActionType.USER_DISMISS);
}} style={styles.closeButton}>{((XSmallIcon) => <XSmallIcon size="sm" color="text-muted" />)((require(5312) /* metro dependency 5312: XSmallIcon */).XSmallIcon)}</PressableOpacity>)((require(5278) /* metro dependency 5278: Pressables */).PressableOpacity)];
var viewBindingProps = {style: styles.imagesContainer};
items2 = [((Component) => <Component game={application} size={NORMAL} />)(importDefault(6780) /* metro dependency 6780: GameIcon */)];
var viewBinding2Props = {style: styles.ellipsisContainer};
ellipsisDot = styles.ellipsisDot;
items3 = [<View style={ellipsisDot} />];
ellipsisDot = styles.ellipsisDot;
items3[1] = <View style={ellipsisDot} />;
ellipsisDot = styles.ellipsisDot;
items3[2] = <View style={ellipsisDot} />;
items2[1] = <View {...viewBinding2Props}>{items3}</View>;
items2[2] = ((Avatar) => <Avatar user={currentUser} size={(require(1305) /* metro dependency 1305: native */).AvatarSizes.LARGE_48} guildId={undefined} />)((require(1305) /* metro dependency 1305: native */).Avatar);
items4[1] = <View {...viewBindingProps}>{items2}</View>;
formatToPlainString = intl.formatToPlainString;
items4[2] = <Text variant={env0_17} color="mobile-text-heading-primary" style={styles.title}>{Reflect.apply(formatToPlainString,
intl, [t['3gpxqO'], {gameName: name}])}</Text>;
formatToPlainString = intl.formatToPlainString;
items4[3] = <Text variant={env0_18} color="text-muted" style={styles.body}>{Reflect.apply(formatToPlainString,
intl,
[t.vxvKMm, {rewardName: reward_name}])}</Text>;
items4[4] = <View style={styles.ctaContainer}>{((Button) => <Button variant="secondary" size="md" text={intl.string(t['0mvtKL'])} onPress={onPress_110291} icon={((ExperimentalGameControllerLinkIcon) => <ExperimentalGameControllerLinkIcon size="sm" />)((require(10007) /* metro dependency 10007: ExperimentalGameControllerLinkIcon */).ExperimentalGameControllerLinkIcon)} />)((require(4578) /* metro dependency 4578: ButtonNative */).Button)}</View>;
r0 = <Card {...cardProps}>{items4}</Card>;
}
return r0;
}
function AccountLinkMediumBanner({application, markAsDismissed, startAuthorization}) { // fn#110292, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14775:2841, offset: 0x02373620, size: 727 bytes, params: 2, frame: 33
var r0;
var Card;
var items3;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
const t = (require(1244) /* metro dependency 1244: indexNative */).t;
var items2;
const styles = useStyles();
const defaultImport = importDefault(6771) /* metro dependency 6771: useAnalyticsLocations */;
const MOBILE_ACCOUNT_LINK_MEDIUM_BANNER = (importDefault(6789) /* metro dependency 6789: AnalyticsLocation */).MOBILE_ACCOUNT_LINK_MEDIUM_BANNER;
const env0_2 = defaultImport(MOBILE_ACCOUNT_LINK_MEDIUM_BANNER).analyticsLocations;
const name = application.name;
const reward_name = application.applicationAccountLinkBenefitConfig?.reward_name;
const reward_image = application.applicationAccountLinkBenefitConfig?.reward_image;
if (reward_name == null) {
r0 = null;
} else if (reward_image == null) {
r0 = null;
} else {
Card = (require(6239) /* metro dependency 6239: CardNative */).Card;
var cardProps = {variant: 'secondary', style: styles.card};
var viewBindingProps = {style: styles.contentContainer};
items3 = [<Image source={{uri: reward_image}} style={styles.rewardImage} resizeMode="contain" />];
items3[1] = ((Text) => <Text variant="heading-sm/semibold" color="mobile-text-heading-primary" style={styles.bodyText}>{intl.formatToPlainString(t['V/C76E'],
{gameName: name, rewardName: reward_name})}</Text>)((require(4573) /* metro dependency 4573: Text */).Text);
items3[2] = ((PressableOpacity) => <PressableOpacity accessibilityRole="button" onPress={function() {
return markAsDismissed(ContentDismissActionType.USER_DISMISS);
}} style={styles.closeButton}>{((XSmallIcon) => <XSmallIcon size="sm" color="text-muted" />)((require(5312) /* metro dependency 5312: XSmallIcon */).XSmallIcon)}</PressableOpacity>)((require(5278) /* metro dependency 5278: Pressables */).PressableOpacity);
items2 = [<View {...viewBindingProps}>{items3}</View>];
items2[1] = <View style={styles.ctaContainer}>{((Button) => <Button variant="secondary" size="sm" text={intl.string(t['0mvtKL'])} onPress={onPress_110294} icon={((ExperimentalGameControllerLinkIcon) => <ExperimentalGameControllerLinkIcon size="xs" />)((require(10007) /* metro dependency 10007: ExperimentalGameControllerLinkIcon */).ExperimentalGameControllerLinkIcon)} />)((require(4578) /* metro dependency 4578: ButtonNative */).Button)}</View>;
r0 = <Card {...cardProps}>{items2}</Card>;
}
return r0;
}
function _fun110295(a0) { // fn#110295, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14775:3986, offset: 0x023738f7, size: 228 bytes, params: 2, frame: 23
var r6;
var r0;
var jsxRuntimeEnv0_9Binding;
const MobileAccountLinkingBannerSize = (require(14579) /* metro dependency 14579: mobileAccountLinkingExperiment */).MobileAccountLinkingBannerSize;
var items2;
const {enabled,
bannerSize} = (importDefault(14579) /* metro dependency 14579: mobileAccountLinkingExperiment */).useConfig({location: 'AccountLinkBanner'});
if (enabled) {
jsxRuntimeEnv0_9Binding = jsxRuntimeEnv0_9;
r6 = bannerSize === MobileAccountLinkingBannerSize.LARGE && <AccountLinkLargeBanner {...a0} />;
items2 = [r6];
r6 = bannerSize === MobileAccountLinkingBannerSize.MEDIUM && <AccountLinkMediumBanner {...a0} />;
items2[1] = r6;
r0 = <>{items2}</>;
} else {
r0 = null;
}
return r0;
}
function getScaledAccountLinkBannerHeight(a0) { // fn#110296, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14775:4503, offset: 0x023739db, size: 369 bytes, params: 2, frame: 22
var r1;
var r0;
const MobileAccountLinkingBannerSize = (require(14579) /* metro dependency 14579: mobileAccountLinkingExperiment */).MobileAccountLinkingBannerSize;
var value9;
var moduleValue;
const {enabled,
bannerSize} = (importDefault(14579) /* metro dependency 14579: mobileAccountLinkingExperiment */).getConfig({location: 'getScaledAccountLinkBannerHeight'});
const value3 = 0;
if (enabled) {
if (bannerSize === MobileAccountLinkingBannerSize.LARGE) {
value9 = PX_8 + PX_12 + env0_16 + PX_16;
moduleValue = require(8518) /* metro dependency 8518: useScaledTextLineHeightAndroid */;
r1 = value9 + moduleValue.scaleTextLineHeight(env0_17,
a0) + PX_4 + 2 * (require(8518) /* metro dependency 8518: useScaledTextLineHeightAndroid */).scaleTextLineHeight(env0_18,
a0) + PX_16 + (require(4582) /* metro dependency 4582: ButtonConstantsNative */).MEDIUM_BUTTON_HEIGHT + PX_12 + PX_8;
} else {
r1 = bannerSize !== MobileAccountLinkingBannerSize.MEDIUM ? value3 : PX_8 + PX_12 + 48 + PX_12 + (require(4582) /* metro dependency 4582: ButtonConstantsNative */).SMALL_BUTTON_HEIGHT + PX_12 + PX_8;
}
r0 = r1;
} else {
r0 = value3;
}
return r0;
}
function AccountLinkLargeBannerOnPress_110291() { // fn#110291, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14775:2400, owner: AccountLinkLargeBanner.onPress, offset: 0x02373605, size: 27 bytes, params: 1, frame: 11
startAuthorization({analyticsLocations: analyticsLocations});
}
@@ -0,0 +1,122 @@
/* Metro module 16219; source: modules/application_account_linking/native/AccountLinkManagerNative.tsx; dependencies: [6, 7, 15, 17, 102, 18, 4078, 16220, 2] */
function _fun125408(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#125408, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16427:6, offset: 0x025d7d91, size: 259 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_2 = importDefault(6) /* metro dependency 6 */;
const env0_3 = importDefault(7) /* metro dependency 7 */;
const env0_4 = importDefault(15) /* metro dependency 15 */;
const env0_5 = importDefault(17) /* metro dependency 17 */;
const env0_6 = importDefault(102) /* metro dependency 102 */;
const env0_7 = importDefault(18) /* metro dependency 18 */;
const AccountLinkManager = (require(16220) /* metro dependency 16220: AccountLinkManager */).AccountLinkManager;
let value = _fun125414(AccountLinkManager);
value = new value();
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/application_account_linking/native/AccountLinkManagerNative.tsx');
exports.default = value;
}
function _isNativeReflectConstruct_125409() { // fn#125409, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16427:159, offset: 0x025d7e94, size: 98 bytes, params: 1, frame: 18
var Boolean;
var prototype;
var valueOf;
var call;
var Reflect;
var construct;
var closure;
var value;
var error;
try {
Boolean = global.Boolean;
prototype = Boolean.prototype;
valueOf = prototype.valueOf;
call = valueOf.call;
Reflect = global.Reflect;
construct = Reflect.construct;
Boolean = global.Boolean;
closure = function() {
};
value = Reflect.apply(construct, Reflect, [Boolean, [], closure]);
value = Reflect.apply(call, valueOf, [value]);
var result = !value;
} catch (error) {
}
return (_isNativeReflectConstruct_125409_isNativeReflectConstruct = function() {
return !!result;
})();
}
function _superPropGet_125412(a0, a1, a2, a3) { // fn#125412, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16427:352, offset: 0x025d7ef6, size: 101 bytes, params: 5, frame: 18
let value = a0;
const env0_0 = a2;
const binding = env0_6;
value = env0_5(1 & 3 ? value.prototype : value);
value = binding(value, a1, a2);
return 2 & 3 ? typeof value !== 'function' ? value : _fun125413 : value;
}
function _fun125414(a0) { // fn#125414, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16427:496, offset: 0x025d7f5b, size: 122 bytes, params: 2, frame: 16
const closure = AccountLinkManagerNative;
env0_7(closure, a0);
return env0_3(closure, [{key: '_initialize', value: value_125416}, {key: '_terminate', value: value_125418},
{key: 'evaluatePending', value: value_125419}]);
}
function AccountLinkManagerNative(a0) { // fn#125415, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16427:508, offset: 0x025d7fd5, size: 142 bytes, params: 2, frame: 19
var r0;
var Reflect;
let value = copyRestArgs(0, undefined);
let binding = env1_2;
binding(this, AccountLinkManagerNative);
const items2 = [];
arraySpread(items2, value, 0, items2);
value = env1_5(AccountLinkManagerNative);
binding = env1_4;
if (_isNativeReflectConstruct_125409()) {
Reflect = global.Reflect;
value = Reflect.construct(value, items2, env1_5(this).constructor);
r0 = value;
} else {
value = value.apply(this, items2);
r0 = value;
}
value = binding(this, r0);
value.unsubscribeBrowser = null;
value.isBrowserOpen = false;
return value;
}
function value_125416() { // fn#125416, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16427:903, offset: 0x025d8063, size: 96 bytes, params: 1, frame: 19
var environment;
let value = environment.__proto__;
_superPropGet_125412(AccountLinkManagerNative, '_initialize', this, 3)([]);
value = require(4078) /* metro dependency 4078: BrowserManager */;
this.unsubscribeBrowser = value.subscribeToIsInAppBrowserOpen(_fun125417);
}
function value_125418() { // fn#125418, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16427:1127, offset: 0x025d80eb, size: 74 bytes, params: 1, frame: 17
const value = environment.__proto__;
_superPropGet_125412(AccountLinkManagerNative, '_terminate', this, 3)([]);
const unsubscribeBrowser = this.unsubscribeBrowser;
if (unsubscribeBrowser != null) {
unsubscribeBrowser.call(this);
}
this.unsubscribeBrowser = null;
}
function value_125419() { // fn#125419, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16427:1316, offset: 0x025d8135, size: 57 bytes, params: 1, frame: 17
var value;
if (!this.isBrowserOpen) {
value = environment.__proto__;
value = _superPropGet_125412(AccountLinkManagerNative, 'evaluatePending', this, 3);
value([]);
}
}
function _fun125417(a0, a1) { // fn#125417, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16427:1043, offset: 0x025d80c3, size: 40 bytes, params: 3, frame: 10
env0_0.isBrowserOpen = a0;
if (a1) {
env0_0.evaluatePending();
}
}
@@ -0,0 +1,220 @@
/* Metro module 15295; source: modules/application_account_linking/native/ConnectionDeprecationBottomSheet.tsx; dependencies: [31, 27, 4234, 5040, 1376, 33, 4501, 697, 3868, 1585, 566, 4915, 6774, 6771, 6789, 4080, 15296, 15297, 1962, 6758, 6275, 4572, 15281, 4573, 1244, 2774, 10076, 4578, 9757, 3866, 1423, 4580, 6780, 6777, 2] */
function _fun116960(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#116960, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15492:6, offset: 0x0249dbd2, size: 373 bytes, params: 8, frame: 22
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importAll(31) /* metro dependency 31 */;
const env0_4 = (require(27) /* metro dependency 27 */).View;
const applicationStore = importDefault(4234) /* metro dependency 4234: ApplicationStore */;
const connectedAccountsStore = importDefault(5040) /* metro dependency 5040: ConnectedAccountsStore */;
const env0_7 = (require(1376) /* metro dependency 1376: DismissibleContentConstants */).ContentDismissActionType;
let value = require(33) /* metro dependency 33 */;
const env0_8 = value.jsx;
const env0_9 = value.jsxs;
value = require(4501) /* metro dependency 4501: createStyles */;
const createStyles = value.createStyles;
const PX_16 = (importDefault(697) /* metro dependency 697: native */).space.PX_16;
const env0_10 = Reflect.apply(createStyles, value, [{iconContainer: {'width': 56, 'height': 56,
'alignItems': 'center', 'justifyContent': 'center'}, content: {paddingHorizontal: PX_16},
text: {textAlign: 'center'}, connectionIcon: {'height': 48, 'width': 48}}]);
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/application_account_linking/native/ConnectionDeprecationBottomSheet.tsx');
exports.default = ConnectionDeprecationBottomSheet;
exports.useShouldShowConnectionDeprecationBottomSheet = useShouldShowConnectionDeprecationBottomSheet;
}
function ConnectionIcon({platform, theme}) { // fn#116961, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15492:418, offset: 0x0249dd47, size: 218 bytes, params: 2, frame: 21
const styles = useStyles();
const isThemeDark2 = (require(3866) /* metro dependency 3866: themes */).isThemeDark(theme);
const avatarUtilsModule = require(1423) /* metro dependency 1423: AvatarUtils */;
const makeSource = avatarUtilsModule.makeSource;
const icon = platform.icon;
const source = Reflect.apply(makeSource, avatarUtilsModule, [isThemeDark2 ? icon.darkPNG : icon.lightPNG]);
const Icon = importDefault(4580) /* metro dependency 4580: Icon */;
const IconSizes = (require(4580) /* metro dependency 4580: Icon */).IconSizes;
const CUSTOM = IconSizes.CUSTOM;
return (
<View style={styles.iconContainer}>
<Icon
size={CUSTOM}
source={source}
disableColor
style={styles.connectionIcon}
/>
</View>
);
}
function ApplicationIcon({application}) { // fn#116962, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15492:694, offset: 0x0249de21, size: 128 bytes, params: 2, frame: 21
const styles = useStyles();
return (
<View style={styles.iconContainer}>
{application != null ? ((Component) => <Component game={application} size={(require(6780) /* metro dependency 6780: GameIcon */).GameIconSizes.NORMAL} />)(importDefault(6780) /* metro dependency 6780: GameIcon */) : null}
</View>
);
}
function ConnectionDeprecationBottomSheet({platformTypes, applicationName, markAsDismissed}) { // fn#116963, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15492:984, offset: 0x0249dea1, size: 1309 bytes, params: 2, frame: 38
const styles = useStyles();
const nativeModule = require(3868) /* metro dependency 3868: native */;
const useThemeContext = nativeModule.useThemeContext;
const theme = Reflect.apply(useThemeContext, nativeModule, []).theme;
const bottom = (importDefault(1585) /* metro dependency 1585: useSafeAreaInsetsNative */)().bottom;
const value3 = (require(566) /* metro dependency 566: flux */).useStateFromStores([ConnectedAccountsStore],
_fun116964);
const r28 = value3 != null ? (importDefault(4915) /* metro dependency 4915: Platforms */).get(value3) : null;
const replacedBy = r28?.replacedBy;
const application = (require(566) /* metro dependency 566: flux */).useStateFromStores([ApplicationStore],
function() {
return ApplicationStore.getApplication(replacedBy);
});
const startAuthorization = (importDefault(6774) /* metro dependency 6774: useStartAuthorize */)(application).startAuthorization;
const env0_3 = startAuthorization;
const defaultImport2 = importDefault(6771) /* metro dependency 6771: useAnalyticsLocations */;
const ACTION_SHEET = (importDefault(6789) /* metro dependency 6789: AnalyticsLocation */).ACTION_SHEET;
const value6 = env0_3.useCallback(_fun116967, [replacedBy, defaultImport2(ACTION_SHEET).analyticsLocations,
startAuthorization, markAsDismissed]);
if (r28 == null) {
return false;
}
if (application == null) {
return false;
}
const r27 = applicationName ?? application.name;
const BottomSheetTitleHeader = (require(6758) /* metro dependency 6758: BottomSheetTitleHeaderNative */).BottomSheetTitleHeader;
const bottomSheetTitleHeader = <BottomSheetTitleHeader title={null} />;
const BottomSheet = (require(6275) /* metro dependency 6275: BottomSheetNative */).BottomSheet;
const Stack = (require(4572) /* metro dependency 4572: StackNative */).Stack;
const object = {paddingBottom: bottom};
const Stack2 = (require(4572) /* metro dependency 4572: StackNative */).Stack;
const connectionIcon = <ConnectionIcon theme={theme} platform={r28} />;
const UnionIcon = (require(15281) /* metro dependency 15281: RobloxConnectionCoachmark */).UnionIcon;
const items2 = [<Stack2 justify="center" align="center" direction="horizontal">{connectionIcon}<UnionIcon theme={theme} /><ApplicationIcon application={application} /></Stack2>];
const Stack3 = (require(4572) /* metro dependency 4572: StackNative */).Stack;
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
let text = styles.text;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
let string = intl.string;
const text2 = <Text variant="heading-xl/bold" style={text}>{Reflect.apply(string, intl,
[(importDefault(2774) /* metro dependency 2774: ApplicationAccountLinkingMessages */).vycLU2])}</Text>;
text = styles.text;
const format = intl.format;
const DfSSdL = (importDefault(2774) /* metro dependency 2774: ApplicationAccountLinkingMessages */).DfSSdL;
items2[1] = <Stack3 justify="center">{text2}<Text variant="text-md/medium" style={text}>{Reflect.apply(format, intl,
[DfSSdL, {connectionName: r28.name, applicationName: r27, orbCount: 200,
orbsIconHook: orbsIconHook}])}</Text></Stack3>;
const Stack4 = (require(4572) /* metro dependency 4572: StackNative */).Stack;
const Button = (require(4578) /* metro dependency 4578: ButtonNative */).Button;
string = intl.string;
const ZeOhh9 = (importDefault(2774) /* metro dependency 2774: ApplicationAccountLinkingMessages */).ZeOhh9;
const WindowLaunchIcon = (require(9757) /* metro dependency 9757: WindowLaunchIcon */).WindowLaunchIcon;
const WHITE = (importDefault(697) /* metro dependency 697: native */).colors.WHITE;
const button = <Button text={Reflect.apply(string, intl,
[ZeOhh9])} icon={<WindowLaunchIcon size="sm" color={WHITE} />} iconPosition="end" size="lg" onPress={value6} />;
string = intl.string;
const TulDPl = (require(1244) /* metro dependency 1244: indexNative */).t.TulDPl;
items2[2] = <Stack4>{button}<Button text={Reflect.apply(string, intl,
[TulDPl])} variant="secondary" size="lg" onPress={function() {
importDefault(dependencyMap[15]).hideActionSheet();
if (markAsDismissed != null) {
markAsDismissed(ContentDismissActionType.DISMISS);
}
}} /></Stack4>;
return (
<BottomSheet
startExpanded
contentStyles={styles.content}
header={bottomSheetTitleHeader}
onDismiss={function() {
return markAsDismissed(ContentDismissActionType.DISMISS);
}}
>
<Stack spacing={24} style={object}>
{items2}
</Stack>
</BottomSheet>
);
}
function useShouldShowConnectionDeprecationBottomSheet({deprecatedPlatformTypes}) { // fn#116972, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15492:3034, offset: 0x0249e5c0, size: 196 bytes, params: 2, frame: 18
const {fetchingConnections,
matchingPlatform} = (require(566) /* metro dependency 566: flux */).useStateFromStoresObject([ConnectedAccountsStore],
_fun116973);
const value4 = (require(6777) /* metro dependency 6777: useGetOrFetchApplications */).useGetOrFetchApplication(matchingPlatform != null ? matchingPlatform.replacedBy : null);
const value = (importDefault(6774) /* metro dependency 6774: useStartAuthorize */)(value4);
const hasAlreadyLinked = value.hasAlreadyLinked;
const canStartAuthorization = value.canStartAuthorization;
let r0 = fetchingConnections || !value.fetched;
r0 = !r0 ? !canStartAuthorization : r0;
r0 = !r0 ? value4 == null : r0;
r0 = !r0 && !hasAlreadyLinked;
return r0;
}
function _fun116964() { // fn#116964, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15492:1179, offset: 0x0249e3be, size: 55 bytes, params: 1, frame: 11
var environment;
let value = environment.__proto__;
value = ConnectedAccountsStore.getAccounts();
value = value.find(function(a0) {
return platformTypes.includes(a0.type);
});
return value?.type;
}
function _fun116967() { // fn#116967, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15492:1495, offset: 0x0249e42b, size: 144 bytes, params: 1, frame: 16
var environment;
let value = environment.__proto__;
(importDefault(4080) /* metro dependency 4080: ActionSheetActionCreators */).hideActionSheet();
if (markAsDismissed != null) {
markAsDismissed(ContentDismissActionType.PRIMARY);
}
startAuthorization({analyticsLocations: analyticsLocations});
value = require(15296) /* metro dependency 15296: AccountLinkingActionCreators */;
value.accountLinkAuthorizationStarted(replacedBy, {}, {onSuccess: onSuccess_116968});
}
function orbsIconHook() { // fn#116970, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15492:2537, owner: ConnectionDeprecationBottomSheet.orbsIconHook, offset: 0x0249e527, size: 84 bytes, params: 1, frame: 16
const OrbsIcon = (require(10076) /* metro dependency 10076: OrbsIcon */).OrbsIcon;
const TEXT_STRONG = (importDefault(697) /* metro dependency 697: native */).colors.TEXT_STRONG;
return <OrbsIcon size="xs" color={TEXT_STRONG} />;
}
function _fun116973() { // fn#116973, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15492:3163, offset: 0x0249e684, size: 78 bytes, params: 1, frame: 13
var environment;
const object2 = {};
let value = environment.__proto__;
object2.fetchingConnections = ConnectedAccountsStore.isFetching();
value = ConnectedAccountsStore.getAccounts();
value = value.map(_fun116974);
object2.matchingPlatform = value.find(_fun116975);
return object2;
}
function onSuccess_116968() { // fn#116968, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15492:1632, offset: 0x0249e4bb, size: 79 bytes, params: 1, frame: 15
let value = environment.__proto__.__proto__;
const defaultImport = importDefault(dependencyMap[15]);
const openLazy = defaultImport.openLazy;
value = require(dependencyMap[18]);
value = value(dependencyMap[17], dependencyMap.paths);
Reflect.apply(openLazy, defaultImport, [value, 'IncentivizedAccountLinkConfirmationBottomSheet']);
}
function _fun116974({type}) { // fn#116974, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15492:3242, offset: 0x0249e6d2, size: 45 bytes, params: 2, frame: 11
const value = environment.__proto__.__proto__;
return (importDefault(4915) /* metro dependency 4915: Platforms */).get(type);
}
function _fun116975(a0) { // fn#116975, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15492:3274, offset: 0x0249e6ff, size: 42 bytes, params: 2, frame: 12
var r0;
var deprecatedPlatformTypesBinding;
let value = a0.replacedBy != null;
if (value) {
value = environment.__proto__;
deprecatedPlatformTypesBinding = deprecatedPlatformTypes;
value = deprecatedPlatformTypesBinding.includes(a0.type);
r0 = value;
} else {
r0 = value;
}
return r0;
}
@@ -0,0 +1,55 @@
/* Metro module 15297; source: modules/application_account_linking/native/IncentivizedAccountLinkConfirmationBottomSheet.tsx; dependencies: [31, 27, 4502, 661, 33, 566, 14073, 477, 7601, 14074, 5475, 4578, 1244, 9757, 697, 4080, 3853, 1948, 12765, 2870, 2] */
function _fun116979(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#116979, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15494:6, offset: 0x0249e819, size: 198 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(27) /* metro dependency 27 */).Image;
const accessibilityStore = importDefault(4502) /* metro dependency 4502: AccessibilityStore */;
const env0_5 = (require(661) /* metro dependency 661: Constants */).HelpdeskArticles;
const env0_6 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/application_account_linking/native/IncentivizedAccountLinkConfirmationBottomSheet.tsx');
exports.default = IncentivizedAccountLinkConfirmationBottomSheet;
}
function IncentivizedAccountLinkConfirmationBottomSheet() { // fn#116980, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15494:315, offset: 0x0249e8df, size: 628 bytes, params: 1, frame: 24
var r5;
var object2;
const fluxModule = require(566) /* metro dependency 566: flux */;
const useStateFromStores = fluxModule.useStateFromStores;
const items = [AccessibilityStore];
if (Reflect.apply(useStateFromStores, fluxModule, [items, function() {
return AccessibilityStore.useReducedMotion;
}])) {
object2 = {};
object2.uri = importDefault(14073) /* metro dependency 14073: orb_coachmark_asset_2xPng */;
r5 = <Image source={object2} style={{'width': 150, 'height': 150}} />;
} else {
r5 = (require(477) /* metro dependency 477: PlatformUtils */).isAndroid() ? ((Component) => <Component url={importDefault(14074) /* metro dependency 14074: orb_coachmark_asset_2x_animatedPng */} style={{'width': 150,
'height': 150}} />)(importDefault(7601) /* metro dependency 7601: APNGDecorationNativeComponent */) : ((Component) => <Component source={{uri: importDefault(14074) /* metro dependency 14074: orb_coachmark_asset_2x_animatedPng */}} resizeMode="contain" style={{'width': 150,
'height': 150}} />)(importDefault(5475) /* metro dependency 5475: FastImage */);
}
const Button = (require(4578) /* metro dependency 4578: ButtonNative */).Button;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
let string = intl.string;
const aRIFWD = (require(1244) /* metro dependency 1244: indexNative */).t.aRIFWD;
const WindowLaunchIcon = (require(9757) /* metro dependency 9757: WindowLaunchIcon */).WindowLaunchIcon;
const WHITE = (importDefault(697) /* metro dependency 697: native */).colors.WHITE;
const button = <Button text={Reflect.apply(string, intl,
[aRIFWD])} icon={<WindowLaunchIcon size="sm" color={WHITE} />} iconPosition="end" size="lg" onPress={function() {
importDefault(dependencyMap[15]).hideActionSheet();
importDefault(dependencyMap[16]).openURL(importDefault(dependencyMap[17]).getArticleURL(HelpdeskArticles.IN_GAME_FEATURES));
}} />;
const PromoSheet = (require(12765) /* metro dependency 12765: PromoSheetNative */).PromoSheet;
const promoSheetProps = {title: intl.string((importDefault(2870) /* metro dependency 2870: IncentivizedAccountLinkingMessages */).ublzTG)};
string = intl.string;
const JgM2xu = (importDefault(2870) /* metro dependency 2870: IncentivizedAccountLinkingMessages */).JgM2xu;
promoSheetProps.description = Reflect.apply(string, intl, [JgM2xu]);
promoSheetProps.actions = button;
promoSheetProps.illustration = r5;
promoSheetProps.onDismiss = onDismiss_116983;
return <PromoSheet {...promoSheetProps} />;
}
@@ -0,0 +1,46 @@
/* Metro module 10593; source: modules/application_account_linking/native/getShouldShowAppAuthPrompt.tsx; dependencies: [5109, 6776, 6779, 2] */
function _fun81690(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#81690, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10779:6, offset: 0x01eda4f3, size: 137 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const authorizedAppsStore = importDefault(5109) /* metro dependency 5109: AuthorizedAppsStore */;
const env0_4 = (require(5109) /* metro dependency 5109: AuthorizedAppsStore */).FetchState;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/application_account_linking/native/getShouldShowAppAuthPrompt.tsx');
exports.getShouldShowAppAuthPrompt = getShouldShowAppAuthPrompt;
}
function getShouldShowAppAuthPrompt(a0) { // fn#81691, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10779:263, offset: 0x01eda57c, size: 263 bytes, params: 2, frame: 16
var r5;
var r1;
var r0;
var value4;
if (a0 != null) {
var value;
var value2 = undefined;
var authorizationApp = (require(6776) /* metro dependency 6776: useAuthorizationApp */).getAuthorizationApp(a0);
if (authorizationApp == null) {
return false;
}
if ((authorizationApp == null ? value2 : authorizationApp.connectionEntrypointUrl) != null) {
r5 = (authorizationApp == null ? value2 : authorizationApp.parentId) ?? (authorizationApp == null ? value2 : authorizationApp.id);
value4 = r5 != null;
if (value4) {
if (AuthorizedAppsStore.getFetchStateForApplication(r5) === FetchState.NOT_FETCHED) {
value = importDefault(6779) /* metro dependency 6779: AuthorizedAppsActionCreators */;
value.fetch([r5]);
value = false;
r1 = value;
} else {
r1 = AuthorizedAppsStore.getFetchStateForApplication(r5) === FetchState.FETCHED && AuthorizedAppsStore.getNewestTokenForApplication(r5) != null;
r1 = !r1;
}
r0 = r1;
} else {
r0 = value4;
}
return r0;
}
}
return false;
}
@@ -0,0 +1,180 @@
/* Metro module 11421; source: modules/application_account_linking/native/startAuthorizationNoHook.tsx; dependencies: [5, 661, 6776, 3853, 683, 2] */
function _fun87443(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#87443, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11607:6, offset: 0x01fbe9fe, size: 151 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importDefault(5) /* metro dependency 5 */;
const env0_4 = (require(661) /* metro dependency 661: Constants */).AnalyticEvents;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/application_account_linking/native/startAuthorizationNoHook.tsx');
exports.startAuthorizationNoHook = function() {
return _startAuthorizationNoHook.apply(this, arguments);
};
}
function _startAuthorizationNoHook() { // fn#87444, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11607:131, offset: 0x01fbea95, size: 50 bytes, params: 1, frame: 14
return env0_3(_fun87446).apply(this, arguments);
}
function* _fun87446(a0, a1) { // fn#87446, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11607:204, offset: 0x01fbead2, size: 221 bytes, params: 3, frame: 19
var connectionEntrypointUrl;
var value3;
var binding;
var value4;
var getAuthorizationApp;
var value5;
var binding2;
var property;
var value6;
var openURL;
var value7;
var value8;
var value9;
var binding3;
var value10;
var track;
var ON_PLATFORM_ACCOUNT_LINK_FLOW_STARTED;
var object2;
var id;
var error;
let value = undefined;
if (true) {
reduciblePort34: while (true) {
exceptionLanding33: while (true) {
value = undefined;
if (a0 == null) {
break reduciblePort34;
}
value3 = environment.__proto__.__proto__;
binding = env2_0;
value4 = binding(env2_2[2]);
getAuthorizationApp = value4.getAuthorizationApp;
value5 = Reflect.apply(getAuthorizationApp, value4, [a0]);
reducibleJoin4: while (true) {
if (value5 == null) {
connectionEntrypointUrl = value;
break reducibleJoin4;
}
connectionEntrypointUrl = value5.connectionEntrypointUrl;
break reducibleJoin4;
}
if (connectionEntrypointUrl == null) {
break reduciblePort34;
}
try {
binding = env2_1;
} catch (error) {
break exceptionLanding33;
}
try {
binding2 = env2_2;
} catch (error) {
break exceptionLanding33;
}
try {
property = binding2[3];
} catch (error) {
break exceptionLanding33;
}
try {
value6 = binding(property);
} catch (error) {
break exceptionLanding33;
}
try {
openURL = value6.openURL;
} catch (error) {
break exceptionLanding33;
}
try {
connectionEntrypointUrl = value5.connectionEntrypointUrl;
} catch (error) {
break exceptionLanding33;
}
try {
value7 = Reflect.apply(openURL, value6, [connectionEntrypointUrl]);
} catch (error) {
break exceptionLanding33;
}
yield value7;
try {
value8 = undefined;
value9 = false;
} catch (error) {
break exceptionLanding33;
}
if (value9) {
return value8;
}
try {
binding = env2_1;
} catch (error) {
break exceptionLanding33;
}
try {
binding3 = env2_2;
} catch (error) {
break exceptionLanding33;
}
try {
property = binding3[4];
} catch (error) {
break exceptionLanding33;
}
try {
value10 = binding(property);
} catch (error) {
break exceptionLanding33;
}
try {
track = value10.track;
} catch (error) {
break exceptionLanding33;
}
try {
binding = env2_4;
} catch (error) {
break exceptionLanding33;
}
try {
ON_PLATFORM_ACCOUNT_LINK_FLOW_STARTED = binding.ON_PLATFORM_ACCOUNT_LINK_FLOW_STARTED;
} catch (error) {
break exceptionLanding33;
}
try {
object2 = {};
} catch (error) {
break exceptionLanding33;
}
try {
object2.location_stack = a1;
} catch (error) {
break exceptionLanding33;
}
try {
id = value5.id;
} catch (error) {
break exceptionLanding33;
}
try {
object2.application_id = id;
} catch (error) {
break exceptionLanding33;
}
try {
object2.flow_type = 'web';
} catch (error) {
break exceptionLanding33;
}
try {
Reflect.apply(track, value10, [ON_PLATFORM_ACCOUNT_LINK_FLOW_STARTED, object2]);
} catch (error) {
break exceptionLanding33;
}
break reduciblePort34;
}
break reduciblePort34;
}
}
return value;
}
@@ -0,0 +1,68 @@
/* Metro module 14729; source: modules/application_account_linking/native/useDefaultAuthorizationNotifiers.tsx; dependencies: [31, 7030, 661, 566, 4078, 6266, 3857, 1244, 2838, 2] */
function _fun111049(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#111049, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14926:6, offset: 0x02391985, size: 159 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importAll(31) /* metro dependency 31 */;
const appStateStore = importDefault(7030) /* metro dependency 7030: AppStateStore */;
const env0_5 = (require(661) /* metro dependency 661: Constants */).AppStates;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/application_account_linking/native/useDefaultAuthorizationNotifiers.tsx');
exports.useDefaultAuthorizationNotifiers = useDefaultAuthorizationNotifiers;
}
function useDefaultAuthorizationNotifiers(a0, a1) { // fn#111050, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14926:284, offset: 0x02391a24, size: 281 bytes, params: 3, frame: 22
const value = a2;
const env0_0 = a0;
const env0_1 = a1;
let showToastOnSuccess = (value !== undefined ? value : {}).showToastOnSuccess;
showToastOnSuccess = showToastOnSuccess === undefined || showToastOnSuccess;
let env0_3 = undefined;
const binding = env0_3;
env0_3 = binding.useRef(false);
const value2 = (require(566) /* metro dependency 566: flux */).useStateFromStores([AppStateStore], function() {
return AppStateStore.getState() === AppStates.ACTIVE;
});
const value3 = (require(4078) /* metro dependency 4078: BrowserManager */).useIsInAppBrowserOpen();
const value4 = binding.useCallback(_fun111052, [a0]);
const r5 = value2 && !value3;
env0_3.useEffect(_fun111053, [a1,
(require(6266) /* metro dependency 6266: usePrevious */).usePreviousWhen({value: a1, shouldUpdate: r5}),
showToastOnSuccess, r5]);
return value4;
}
function _fun111052(a0) { // fn#111052, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14926:494, offset: 0x02391b5e, size: 31 bytes, params: 2, frame: 11
env0_3.current = true;
return env0_0(a0);
}
function _fun111053() { // fn#111053, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14926:603, offset: 0x02391b7d, size: 182 bytes, params: 1, frame: 17
var defaultImport;
var open;
var object2;
var intl;
if (env0_3.current) {
if (env0_5 !== false) {
return undefined;
}
if (require !== true) {
return undefined;
}
if (env0_4) {
env0_3.current = false;
if (showToastOnSuccess) {
value = environment.__proto__;
defaultImport = importDefault(3857) /* metro dependency 3857: ToastActionCreators */;
open = defaultImport.open;
object2 = {};
intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
object2.content = intl.string((importDefault(2838) /* metro dependency 2838: AccountLinkingMessages */).uG6teD);
object2.key = 'account-linked-toast';
Reflect.apply(open, defaultImport, [object2]);
return undefined;
}
return undefined;
}
}
}
@@ -0,0 +1,227 @@
/* Metro module 6774; source: modules/application_account_linking/native/useStartAuthorize.tsx; dependencies: [5, 31, 6775, 661, 6776, 6778, 3853, 683, 2] */
function _fun53378(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#53378, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6952:6, offset: 0x01347269, size: 179 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importDefault(5) /* metro dependency 5 */;
const env0_4 = importAll(31) /* metro dependency 31 */;
const env0_5 = (require(6775) /* metro dependency 6775: ApplicationAccountLinkingConstants */).AuthorizeFlow;
const env0_6 = (require(661) /* metro dependency 661: Constants */).AnalyticEvents;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/application_account_linking/native/useStartAuthorize.tsx');
exports.default = useStartAuthorize;
}
function useStartAuthorize(a0) { // fn#53379, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6952:273, offset: 0x0134731c, size: 359 bytes, params: 2, frame: 23
const value = a1;
const value2 = undefined;
const debug = (value !== value2 ? value : {}).debug;
const r2 = value2 !== debug && debug;
const value3 = (require(6776) /* metro dependency 6776: useAuthorizationApp */).useAuthorizationApp(a0);
const value4 = null;
const value5 = value4 != (value4 == value3 ? value2 : value3.connectionEntrypointUrl);
const WEB = value5 ? AuthorizeFlow.WEB : value4;
const useAuthorizedAppsTokenModule = require(6778) /* metro dependency 6778: useAuthorizedAppsToken */;
const useAuthorizedAppsToken = useAuthorizedAppsTokenModule.useAuthorizedAppsToken;
const parentId = value4 == value3 ? value2 : value3.parentId;
const {token, fetched} = Reflect.apply(useAuthorizedAppsToken, useAuthorizedAppsTokenModule,
[value4 != parentId ? parentId : value4 == value3 ? value2 : value3.id]);
const binding = env0_4;
const useCallback = binding.useCallback;
return {fetched: fetched, hasAlreadyLinked: fetched && value4 != token, canStartAuthorization: value5,
startAuthorization: Reflect.apply(useCallback, binding, [_fun53380(), [value3]]), connectionApp: value3,
chosenFlow: WEB, token: token, debug: r2 ? {isSubscribedToAuthorizeRequest: false, oauth2Token: token,
hasConnectionEntrypointUrl: value4 != (value4 == value3 ? value2 : value3.connectionEntrypointUrl),
validFlows: value5 ? [AuthorizeFlow.WEB] : []} : value2};
}
function _fun53380() { // fn#53380, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6952:569, offset: 0x01347483, size: 32 bytes, params: 1, frame: 12
const env0_0 = env1_3(_fun53382);
return _fun53383;
}
function* _fun53382(a0) { // fn#53382, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6952:589, offset: 0x013474ac, size: 236 bytes, params: 2, frame: 18
var binding;
var binding2;
var property;
var value5;
var openURL;
var value6;
var value7;
var value8;
var onConfirm;
var value9;
var binding3;
var value10;
var track;
var ON_PLATFORM_ACCOUNT_LINK_FLOW_STARTED;
var object2;
var analyticsLocations;
var id;
var WEB;
var error;
if (false) {
return undefined;
}
value = environment.__proto__.__proto__;
let connectionEntrypointUrl = require?.connectionEntrypointUrl;
if (connectionEntrypointUrl == null) {
return false;
}
try {
binding = env3_1;
} catch (error) {
return false;
}
try {
binding2 = env3_2;
} catch (error) {
return false;
}
try {
property = binding2[6];
} catch (error) {
return false;
}
try {
value5 = binding(property);
} catch (error) {
return false;
}
try {
openURL = value5.openURL;
} catch (error) {
return false;
}
try {
} catch (error) {
return false;
}
try {
connectionEntrypointUrl = require.connectionEntrypointUrl;
} catch (error) {
return false;
}
try {
value6 = Reflect.apply(openURL, value5, [connectionEntrypointUrl]);
} catch (error) {
return false;
}
yield value6;
try {
value7 = undefined;
value8 = false;
} catch (error) {
return false;
}
if (value8) {
return value7;
}
try {
onConfirm = a0.onConfirm;
} catch (error) {
return false;
}
try {
value9 = onConfirm == null;
} catch (error) {
return false;
}
if (!value9) {
try {
onConfirm = a0.onConfirm;
} catch (error) {
return false;
}
try {
Reflect.apply(onConfirm, a0, []);
} catch (error) {
return false;
}
}
try {
binding = env3_1;
} catch (error) {
return false;
}
try {
binding3 = env3_2;
} catch (error) {
return false;
}
try {
property = binding3[7];
} catch (error) {
return false;
}
try {
value10 = binding(property);
} catch (error) {
return false;
}
try {
track = value10.track;
} catch (error) {
return false;
}
try {
binding = env3_6;
} catch (error) {
return false;
}
try {
ON_PLATFORM_ACCOUNT_LINK_FLOW_STARTED = binding.ON_PLATFORM_ACCOUNT_LINK_FLOW_STARTED;
} catch (error) {
return false;
}
try {
object2 = {};
} catch (error) {
return false;
}
try {
analyticsLocations = a0.analyticsLocations;
} catch (error) {
return false;
}
try {
object2.location_stack = analyticsLocations;
} catch (error) {
return false;
}
try {
} catch (error) {
return false;
}
try {
id = require.id;
} catch (error) {
return false;
}
try {
object2.application_id = id;
} catch (error) {
return false;
}
try {
binding = env3_5;
} catch (error) {
return false;
}
try {
WEB = binding.WEB;
} catch (error) {
return false;
}
try {
object2.flow_type = WEB;
} catch (error) {
return false;
}
try {
Reflect.apply(track, value10, [ON_PLATFORM_ACCOUNT_LINK_FLOW_STARTED, object2]);
} catch (error) {
return false;
}
return true;
}
@@ -0,0 +1,111 @@
/* Metro module 6787; source: modules/application_account_linking/native/useStartProviderConnection.tsx; dependencies: [5, 31, 6788, 3853, 2] */
function _fun53436(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#53436, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6965:6, offset: 0x01349289, size: 135 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importDefault(5) /* metro dependency 5 */;
const env0_4 = importAll(31) /* metro dependency 31 */;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/application_account_linking/native/useStartProviderConnection.tsx');
exports.useStartProviderConnection = useStartProviderConnection;
}
function useStartProviderConnection(a0) { // fn#53437, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6965:252, offset: 0x01349310, size: 136 bytes, params: 2, frame: 18
const {loading, hasConnection, canConnect, startConnection,
account} = (require(6788) /* metro dependency 6788: useProviderConnection */).useProviderConnection(a0);
const binding = env0_4;
const useCallback = binding.useCallback;
let value = _fun53438();
value = Reflect.apply(useCallback, binding, [value, [startConnection]]);
return {loading: loading, hasConnection: hasConnection, canConnect: canConnect, startConnection: value,
account: account};
}
function _fun53438() { // fn#53438, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6965:423, offset: 0x01349398, size: 32 bytes, params: 1, frame: 12
const env0_0 = env1_3(_fun53440);
return _fun53441;
}
function* _fun53440(a0) { // fn#53440, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6965:443, offset: 0x013493c1, size: 161 bytes, params: 2, frame: 15
var url;
var object2;
var value4;
var binding;
var binding2;
var property;
var value5;
var openURL;
var value6;
var error;
if (false) {
return undefined;
}
value = environment.__proto__.__proto__;
yield require(a0);
if (false) {
return undefined;
}
if (value.success) {
url = value.url;
if (url != null) {
value4 = environment.__proto__.__proto__.__proto__;
try {
binding = env3_1;
} catch (error) {
return {success: false};
}
try {
binding2 = env3_2;
} catch (error) {
return {success: false};
}
try {
property = binding2[3];
} catch (error) {
return {success: false};
}
try {
value5 = binding(property);
} catch (error) {
return {success: false};
}
try {
openURL = value5.openURL;
} catch (error) {
return {success: false};
}
try {
url = value.url;
} catch (error) {
return {success: false};
}
try {
value = Reflect.apply(openURL, value5, [url]);
} catch (error) {
return {success: false};
}
yield value;
try {
value = undefined;
value6 = false;
} catch (error) {
return {success: false};
}
if (value6) {
return value;
}
try {
object2 = {};
} catch (error) {
return {success: false};
}
try {
object2.success = true;
} catch (error) {
return {success: false};
}
return object2;
}
}
return {success: false};
}