555 lines
28 KiB
TypeScript
555 lines
28 KiB
TypeScript
/* Metro module 15650; source: modules/accept_invite/native/AcceptInviteManager.tsx; dependencies: [7, 6, 15, 17, 18, 1226, 4097, 5251, 661, 4116, 6912, 4080, 5080, 15651, 1962, 15652, 694, 10010, 6946, 6789, 4860, 2] */
|
|
function _fun119953(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#119953, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15858:6, offset: 0x0251c5e4, size: 326 bytes, params: 8, frame: 19
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_3 = importDefault(7) /* metro dependency 7 */;
|
|
const env0_4 = importDefault(6) /* metro dependency 6 */;
|
|
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 authenticationStore = importDefault(1226) /* metro dependency 1226: AuthenticationStore */;
|
|
const inviteStore = importDefault(4097) /* metro dependency 4097: InviteStore */;
|
|
const env0_10 = (require(5251) /* metro dependency 5251: AcceptInviteConstants */).ACCEPT_INVITE_MODAL_KEY;
|
|
let value = require(661) /* metro dependency 661: Constants */;
|
|
const env0_11 = value.GuildFeatures;
|
|
const env0_12 = value.InviteStates;
|
|
const env0_13 = value.JoinGuildSources;
|
|
value = importDefault(4860) /* metro dependency 4860: AutomaticLifecycleManager */;
|
|
value = _fun119957(value);
|
|
value = new value();
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/accept_invite/native/AcceptInviteManager.tsx');
|
|
exports.default = value;
|
|
}
|
|
|
|
function _isNativeReflectConstruct_119954() { // fn#119954, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15858:268, offset: 0x0251c72a, 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_119954_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun119957(a0) { // fn#119957, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15858:471, offset: 0x0251c78c, size: 42 bytes, params: 2, frame: 14
|
|
const closure = AcceptInviteManager;
|
|
env0_7(closure, a0);
|
|
return env0_3(closure);
|
|
}
|
|
|
|
function AcceptInviteManager(a0) { // fn#119958, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15858:483, offset: 0x0251c7b6, size: 269 bytes, params: 2, frame: 20
|
|
var r0;
|
|
var Reflect;
|
|
let value = copyRestArgs(0, undefined);
|
|
let binding = env1_4;
|
|
binding(this, AcceptInviteManager);
|
|
const items = [];
|
|
arraySpread(items, value, 0, items);
|
|
value = env1_6(AcceptInviteManager);
|
|
binding = env1_5;
|
|
if (_isNativeReflectConstruct_119954()) {
|
|
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._deferredFromDeeplink = false;
|
|
value._isRegistration = false;
|
|
value.actions = {DISPLAYED_INVITE_SHOW: DISPLAYED_INVITE_SHOW_119959,
|
|
DISPLAYED_INVITE_CLEAR: DISPLAYED_INVITE_CLEAR_119960, DEFERRED_INVITE_SHOW: DEFERRED_INVITE_SHOW,
|
|
REGISTER_SUCCESS: REGISTER_SUCCESS_119962};
|
|
value._handleShowInvite = _handleShowInvite;
|
|
value._handleClearInvite = _handleClearInvite;
|
|
value._handleShowDeferredInvite = _handleShowDeferredInvite;
|
|
value._handleInvite = _handleInvite;
|
|
value._handleRegisterSuccess = _handleRegisterSuccess;
|
|
return value;
|
|
}
|
|
|
|
function AcceptInviteManagerDISPLAYED_INVITE_SHOW(a0) { // fn#119959, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15858:807, owner: AcceptInviteManager.DISPLAYED_INVITE_SHOW, offset: 0x0251c8c3, size: 23 bytes, params: 2, frame: 11
|
|
return env0_0._handleShowInvite(a0);
|
|
}
|
|
|
|
function AcceptInviteManagerDISPLAYED_INVITE_CLEAR() { // fn#119960, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15858:856, owner: AcceptInviteManager.DISPLAYED_INVITE_CLEAR, offset: 0x0251c8da, size: 19 bytes, params: 1, frame: 9
|
|
return env0_0._handleClearInvite();
|
|
}
|
|
|
|
function DEFERRED_INVITE_SHOW() { // fn#119961, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15858:904, owner: AcceptInviteManager.DEFERRED_INVITE_SHOW, offset: 0x0251c8ed, size: 19 bytes, params: 1, frame: 9
|
|
return env0_0._handleShowDeferredInvite();
|
|
}
|
|
|
|
function AcceptInviteManagerREGISTER_SUCCESS() { // fn#119962, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15858:955, owner: AcceptInviteManager.REGISTER_SUCCESS, offset: 0x0251c900, size: 19 bytes, params: 1, frame: 9
|
|
return env0_0._handleRegisterSuccess();
|
|
}
|
|
|
|
function _handleShowInvite({code, deeplinkAttemptId, fromDeeplink, invite_instance_id}) { // fn#119963, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15858:1007, owner: AcceptInviteManager._handleShowInvite, offset: 0x0251c913, size: 105 bytes, params: 2, frame: 18
|
|
let value = environment.__proto__.__proto__;
|
|
value = AuthenticationStore.isAuthenticated();
|
|
const binding = env0_0;
|
|
if (value) {
|
|
binding._handleInvite(code, deeplinkAttemptId, fromDeeplink === true, invite_instance_id);
|
|
} else {
|
|
binding._deferredCode = code;
|
|
binding._deferredFromDeeplink = fromDeeplink === true;
|
|
}
|
|
}
|
|
|
|
function _handleClearInvite() { // fn#119964, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15858:1199, owner: AcceptInviteManager._handleClearInvite, offset: 0x0251c97c, size: 71 bytes, params: 1, frame: 12
|
|
const binding = env0_0;
|
|
binding._deferredCode = null;
|
|
binding._deferredFromDeeplink = false;
|
|
binding._isRegistration = false;
|
|
(importDefault(5080) /* metro dependency 5080: ModalActionCreators */).popWithKey(ACCEPT_INVITE_MODAL_KEY);
|
|
}
|
|
|
|
function _handleShowDeferredInvite() { // fn#119965, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15858:1325, owner: AcceptInviteManager._handleShowDeferredInvite, offset: 0x0251c9c3, size: 68 bytes, params: 1, frame: 16
|
|
var binding;
|
|
if (env0_0._deferredCode != null) {
|
|
binding = env0_0;
|
|
binding._handleInvite(binding._deferredCode, undefined, binding._deferredFromDeeplink);
|
|
binding._deferredCode = null;
|
|
binding._deferredFromDeeplink = false;
|
|
}
|
|
}
|
|
|
|
function _handleInvite(a0, a1) { // fn#119966, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15858:1484, owner: AcceptInviteManager._handleInvite, offset: 0x0251ca07, size: 65 bytes, params: 3, frame: 12
|
|
var environment;
|
|
let value = a2;
|
|
const env0_0 = a0;
|
|
const env0_1 = a1;
|
|
const env0_2 = value !== undefined ? value : false;
|
|
const env0_3 = a3;
|
|
value = environment.__proto__.__proto__;
|
|
InviteStore.addConditionalChangeListener(_fun119967);
|
|
}
|
|
|
|
function _handleRegisterSuccess() { // fn#119970, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15858:2650, owner: AcceptInviteManager._handleRegisterSuccess, offset: 0x0251cdbe, size: 19 bytes, params: 1, frame: 2
|
|
env0_0._isRegistration = true;
|
|
}
|
|
|
|
function _fun119967() { // fn#119967, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15858:1531, offset: 0x0251ca48, size: 849 bytes, params: 1, frame: 27
|
|
var environment;
|
|
var r2;
|
|
var r5;
|
|
var id;
|
|
var r7;
|
|
var state;
|
|
var RESOLVED;
|
|
var EXPIRED;
|
|
var BANNED;
|
|
var ERROR;
|
|
var channel;
|
|
var guild;
|
|
var inviter;
|
|
var value4;
|
|
var moduleValue;
|
|
var isGroupDMInvite;
|
|
var isGroupDMInvite2;
|
|
var moduleValue2;
|
|
var isStreamInvite;
|
|
var isStreamInvite2;
|
|
var moduleValue3;
|
|
var isGuildScheduledEventInviteEmbed;
|
|
var isGuildScheduledEventInviteEmbed2;
|
|
var moduleValue4;
|
|
var isRoleSubscriptionInvite;
|
|
var isRoleSubscriptionInvite2;
|
|
var value5;
|
|
var features;
|
|
var value6;
|
|
var includes;
|
|
var DISCOVERABLE;
|
|
var value7;
|
|
var value8;
|
|
var moduleValue5;
|
|
var getMobileLurkerServerPreview;
|
|
var enabled;
|
|
var binding;
|
|
var value9;
|
|
var _isRegistration;
|
|
var defaultImport;
|
|
var hideActionSheet;
|
|
var defaultImport2;
|
|
var pushLazy;
|
|
var moduleValue6;
|
|
var property;
|
|
var paths;
|
|
var value10;
|
|
var object2;
|
|
var defaultImport3;
|
|
var wait;
|
|
var moduleValue7;
|
|
var startLurking;
|
|
var id2;
|
|
var DISCOVERABLE_GUILD_INVITE_LURKER;
|
|
var DEEPLINK;
|
|
var moduleValue8;
|
|
var acceptFriendInvite;
|
|
var value11;
|
|
var value12;
|
|
let value = environment.__proto__.__proto__.__proto__;
|
|
const invite = InviteStore.getInvite(env0_0);
|
|
if (invite != null) {
|
|
state = invite.state;
|
|
RESOLVED = InviteStates.RESOLVED;
|
|
reducibleJoin5: while (true) {
|
|
reducibleJoin33: while (true) {
|
|
if (state === RESOLVED) {
|
|
channel = invite.channel;
|
|
if (channel == null) {
|
|
guild = invite.guild;
|
|
if (guild == null) {
|
|
inviter = invite.inviter;
|
|
if (inviter != null) {
|
|
moduleValue8 = require(dependencyMap[15]);
|
|
acceptFriendInvite = moduleValue8.acceptFriendInvite;
|
|
value11 = 'Accept Invite';
|
|
reducibleJoin32: while (true) {
|
|
if (require != null) {
|
|
value12 = 'Deep Link';
|
|
r7 = value12;
|
|
break reducibleJoin32;
|
|
}
|
|
r7 = value11;
|
|
break reducibleJoin32;
|
|
}
|
|
Reflect.apply(acceptFriendInvite, moduleValue8, [invite, {location: r7}]);
|
|
value = importDefault(dependencyMap[16]);
|
|
wait = value.wait;
|
|
Reflect.apply(wait, value, [_fun119968]);
|
|
break reducibleJoin33;
|
|
}
|
|
}
|
|
}
|
|
if (env0_2) {
|
|
state = invite.state;
|
|
RESOLVED = InviteStates.RESOLVED;
|
|
if (state === RESOLVED) {
|
|
guild = invite.guild;
|
|
value4 = guild == null;
|
|
reducibleJoin13: while (true) {
|
|
if (value4) {
|
|
r2 = value4;
|
|
break reducibleJoin13;
|
|
}
|
|
moduleValue = require(dependencyMap[9]);
|
|
isGroupDMInvite = moduleValue.isGroupDMInvite;
|
|
isGroupDMInvite2 = Reflect.apply(isGroupDMInvite, moduleValue, [invite]);
|
|
r2 = isGroupDMInvite2;
|
|
break reducibleJoin13;
|
|
}
|
|
reducibleJoin15: while (true) {
|
|
if (r2) {
|
|
break reducibleJoin15;
|
|
}
|
|
moduleValue2 = require(dependencyMap[9]);
|
|
isStreamInvite = moduleValue2.isStreamInvite;
|
|
isStreamInvite2 = Reflect.apply(isStreamInvite, moduleValue2, [invite]);
|
|
r2 = isStreamInvite2;
|
|
break reducibleJoin15;
|
|
}
|
|
reducibleJoin17: while (true) {
|
|
if (r2) {
|
|
break reducibleJoin17;
|
|
}
|
|
moduleValue3 = require(dependencyMap[9]);
|
|
isGuildScheduledEventInviteEmbed = moduleValue3.isGuildScheduledEventInviteEmbed;
|
|
isGuildScheduledEventInviteEmbed2 = Reflect.apply(isGuildScheduledEventInviteEmbed,
|
|
moduleValue3,
|
|
[invite]);
|
|
r2 = isGuildScheduledEventInviteEmbed2;
|
|
break reducibleJoin17;
|
|
}
|
|
reducibleJoin19: while (true) {
|
|
if (r2) {
|
|
break reducibleJoin19;
|
|
}
|
|
moduleValue4 = require(dependencyMap[9]);
|
|
isRoleSubscriptionInvite = moduleValue4.isRoleSubscriptionInvite;
|
|
isRoleSubscriptionInvite2 = Reflect.apply(isRoleSubscriptionInvite, moduleValue4,
|
|
[invite]);
|
|
r2 = isRoleSubscriptionInvite2;
|
|
break reducibleJoin19;
|
|
}
|
|
value5 = undefined;
|
|
reducibleJoin21: while (true) {
|
|
if (r2) {
|
|
r5 = value5;
|
|
break reducibleJoin21;
|
|
}
|
|
guild = invite.guild;
|
|
features = guild.features;
|
|
value6 = features == null;
|
|
r2 = value6;
|
|
r5 = features;
|
|
break reducibleJoin21;
|
|
}
|
|
reducibleJoin23: while (true) {
|
|
if (r2) {
|
|
break reducibleJoin23;
|
|
}
|
|
includes = r5.includes;
|
|
DISCOVERABLE = GuildFeatures.DISCOVERABLE;
|
|
value7 = !Reflect.apply(includes, r5, [DISCOVERABLE]);
|
|
r2 = value7;
|
|
break reducibleJoin23;
|
|
}
|
|
value8 = !r2;
|
|
reducibleJoin25: while (true) {
|
|
if (r2) {
|
|
r2 = value8;
|
|
break reducibleJoin25;
|
|
}
|
|
moduleValue5 = require(dependencyMap[10]);
|
|
getMobileLurkerServerPreview = moduleValue5.getMobileLurkerServerPreview;
|
|
enabled = Reflect.apply(getMobileLurkerServerPreview, moduleValue5,
|
|
['AcceptInviteManager']).enabled;
|
|
r2 = enabled;
|
|
break reducibleJoin25;
|
|
}
|
|
if (r2) {
|
|
defaultImport3 = importDefault(dependencyMap[16]);
|
|
wait = defaultImport3.wait;
|
|
Reflect.apply(wait, defaultImport3, [_fun119969]);
|
|
moduleValue7 = require(dependencyMap[18]);
|
|
startLurking = moduleValue7.startLurking;
|
|
guild = invite.guild;
|
|
id2 = guild.id;
|
|
object2 = {};
|
|
channel = invite.channel;
|
|
reducibleJoin29: while (true) {
|
|
if (channel == null) {
|
|
id = value5;
|
|
break reducibleJoin29;
|
|
}
|
|
id = channel.id;
|
|
break reducibleJoin29;
|
|
}
|
|
object2.channelId = id;
|
|
DISCOVERABLE_GUILD_INVITE_LURKER = JoinGuildSources.DISCOVERABLE_GUILD_INVITE_LURKER;
|
|
object2.joinSource = DISCOVERABLE_GUILD_INVITE_LURKER;
|
|
DEEPLINK = importDefault(dependencyMap[19]).DEEPLINK;
|
|
Reflect.apply(startLurking, moduleValue7, [id2, {}, object2, [DEEPLINK]]);
|
|
break reducibleJoin33;
|
|
}
|
|
}
|
|
}
|
|
binding = env0_0;
|
|
value9 = environment.__proto__;
|
|
_isRegistration = env1_0._isRegistration;
|
|
defaultImport = importDefault(dependencyMap[11]);
|
|
defaultImport.hideActionSheet();
|
|
defaultImport2 = importDefault(dependencyMap[12]);
|
|
defaultImport2.pushLazy(require(dependencyMap[14])(dependencyMap[13], dependencyMap.paths),
|
|
{code: binding,
|
|
isRegistration: _isRegistration, deeplinkAttemptId: require, inviteInstanceId: importAll},
|
|
ACCEPT_INVITE_MODAL_KEY);
|
|
break reducibleJoin33;
|
|
}
|
|
state = invite.state;
|
|
EXPIRED = InviteStates.EXPIRED;
|
|
if (state !== EXPIRED) {
|
|
state = invite.state;
|
|
BANNED = InviteStates.BANNED;
|
|
reducibleJoin6: while (true) {
|
|
if (state === BANNED) {
|
|
break reducibleJoin6;
|
|
}
|
|
state = invite.state;
|
|
ERROR = InviteStates.ERROR;
|
|
if (state === ERROR) {
|
|
break reducibleJoin6;
|
|
}
|
|
break reducibleJoin5;
|
|
}
|
|
}
|
|
channel = invite.channel;
|
|
if (channel == null) {
|
|
guild = invite.guild;
|
|
if (guild == null) {
|
|
inviter = invite.inviter;
|
|
if (inviter != null) {
|
|
moduleValue8 = require(dependencyMap[15]);
|
|
acceptFriendInvite = moduleValue8.acceptFriendInvite;
|
|
value11 = 'Accept Invite';
|
|
reducibleJoin32: while (true) {
|
|
if (require != null) {
|
|
value12 = 'Deep Link';
|
|
r7 = value12;
|
|
break reducibleJoin32;
|
|
}
|
|
r7 = value11;
|
|
break reducibleJoin32;
|
|
}
|
|
Reflect.apply(acceptFriendInvite, moduleValue8, [invite, {location: r7}]);
|
|
value = importDefault(dependencyMap[16]);
|
|
wait = value.wait;
|
|
Reflect.apply(wait, value, [_fun119968]);
|
|
break reducibleJoin33;
|
|
}
|
|
}
|
|
}
|
|
if (env0_2) {
|
|
state = invite.state;
|
|
RESOLVED = InviteStates.RESOLVED;
|
|
if (state === RESOLVED) {
|
|
guild = invite.guild;
|
|
value4 = guild == null;
|
|
reducibleJoin13: while (true) {
|
|
if (value4) {
|
|
r2 = value4;
|
|
break reducibleJoin13;
|
|
}
|
|
moduleValue = require(dependencyMap[9]);
|
|
isGroupDMInvite = moduleValue.isGroupDMInvite;
|
|
isGroupDMInvite2 = Reflect.apply(isGroupDMInvite, moduleValue, [invite]);
|
|
r2 = isGroupDMInvite2;
|
|
break reducibleJoin13;
|
|
}
|
|
reducibleJoin15: while (true) {
|
|
if (r2) {
|
|
break reducibleJoin15;
|
|
}
|
|
moduleValue2 = require(dependencyMap[9]);
|
|
isStreamInvite = moduleValue2.isStreamInvite;
|
|
isStreamInvite2 = Reflect.apply(isStreamInvite, moduleValue2, [invite]);
|
|
r2 = isStreamInvite2;
|
|
break reducibleJoin15;
|
|
}
|
|
reducibleJoin17: while (true) {
|
|
if (r2) {
|
|
break reducibleJoin17;
|
|
}
|
|
moduleValue3 = require(dependencyMap[9]);
|
|
isGuildScheduledEventInviteEmbed = moduleValue3.isGuildScheduledEventInviteEmbed;
|
|
isGuildScheduledEventInviteEmbed2 = Reflect.apply(isGuildScheduledEventInviteEmbed,
|
|
moduleValue3,
|
|
[invite]);
|
|
r2 = isGuildScheduledEventInviteEmbed2;
|
|
break reducibleJoin17;
|
|
}
|
|
reducibleJoin19: while (true) {
|
|
if (r2) {
|
|
break reducibleJoin19;
|
|
}
|
|
moduleValue4 = require(dependencyMap[9]);
|
|
isRoleSubscriptionInvite = moduleValue4.isRoleSubscriptionInvite;
|
|
isRoleSubscriptionInvite2 = Reflect.apply(isRoleSubscriptionInvite, moduleValue4, [invite]);
|
|
r2 = isRoleSubscriptionInvite2;
|
|
break reducibleJoin19;
|
|
}
|
|
value5 = undefined;
|
|
reducibleJoin21: while (true) {
|
|
if (r2) {
|
|
r5 = value5;
|
|
break reducibleJoin21;
|
|
}
|
|
guild = invite.guild;
|
|
features = guild.features;
|
|
value6 = features == null;
|
|
r2 = value6;
|
|
r5 = features;
|
|
break reducibleJoin21;
|
|
}
|
|
reducibleJoin23: while (true) {
|
|
if (r2) {
|
|
break reducibleJoin23;
|
|
}
|
|
includes = r5.includes;
|
|
DISCOVERABLE = GuildFeatures.DISCOVERABLE;
|
|
value7 = !Reflect.apply(includes, r5, [DISCOVERABLE]);
|
|
r2 = value7;
|
|
break reducibleJoin23;
|
|
}
|
|
value8 = !r2;
|
|
reducibleJoin25: while (true) {
|
|
if (r2) {
|
|
r2 = value8;
|
|
break reducibleJoin25;
|
|
}
|
|
moduleValue5 = require(dependencyMap[10]);
|
|
getMobileLurkerServerPreview = moduleValue5.getMobileLurkerServerPreview;
|
|
enabled = Reflect.apply(getMobileLurkerServerPreview, moduleValue5,
|
|
['AcceptInviteManager']).enabled;
|
|
r2 = enabled;
|
|
break reducibleJoin25;
|
|
}
|
|
if (r2) {
|
|
defaultImport3 = importDefault(dependencyMap[16]);
|
|
wait = defaultImport3.wait;
|
|
Reflect.apply(wait, defaultImport3, [_fun119969]);
|
|
moduleValue7 = require(dependencyMap[18]);
|
|
startLurking = moduleValue7.startLurking;
|
|
guild = invite.guild;
|
|
id2 = guild.id;
|
|
object2 = {};
|
|
channel = invite.channel;
|
|
reducibleJoin29: while (true) {
|
|
if (channel == null) {
|
|
id = value5;
|
|
break reducibleJoin29;
|
|
}
|
|
id = channel.id;
|
|
break reducibleJoin29;
|
|
}
|
|
object2.channelId = id;
|
|
DISCOVERABLE_GUILD_INVITE_LURKER = JoinGuildSources.DISCOVERABLE_GUILD_INVITE_LURKER;
|
|
object2.joinSource = DISCOVERABLE_GUILD_INVITE_LURKER;
|
|
DEEPLINK = importDefault(dependencyMap[19]).DEEPLINK;
|
|
Reflect.apply(startLurking, moduleValue7, [id2, {}, object2, [DEEPLINK]]);
|
|
break reducibleJoin33;
|
|
}
|
|
}
|
|
}
|
|
binding = env0_0;
|
|
value9 = environment.__proto__;
|
|
_isRegistration = env1_0._isRegistration;
|
|
defaultImport = importDefault(dependencyMap[11]);
|
|
hideActionSheet = defaultImport.hideActionSheet;
|
|
Reflect.apply(hideActionSheet, defaultImport, []);
|
|
defaultImport2 = importDefault(dependencyMap[12]);
|
|
pushLazy = defaultImport2.pushLazy;
|
|
moduleValue6 = require(dependencyMap[14]);
|
|
property = dependencyMap[13];
|
|
paths = dependencyMap.paths;
|
|
value10 = moduleValue6(property, paths);
|
|
Reflect.apply(pushLazy, defaultImport2, [value10, {code: binding, isRegistration: _isRegistration,
|
|
deeplinkAttemptId: require, inviteInstanceId: importAll}, ACCEPT_INVITE_MODAL_KEY]);
|
|
break reducibleJoin33;
|
|
}
|
|
return false;
|
|
}
|
|
}
|
|
return true;
|
|
}
|
|
|
|
function _fun119968() { // fn#119968, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15858:1797, offset: 0x0251cd99, size: 37 bytes, params: 1, frame: 11
|
|
const value = environment.__proto__.__proto__.__proto__.__proto__;
|
|
return (require(10010) /* metro dependency 10010: DisplayedInviteActionCreators */).clearDisplayedInvite();
|
|
}
|
|
|