Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,121 @@
|
||||
/* Metro module 9863; source: modules/links/native/handleContentLinking.tsx; dependencies: [5, 4255, 661, 5080, 6837, 1230, 9864, 2] */
|
||||
function _fun77312(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#77312, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10049:6, offset: 0x01df8fb7, 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 = (require(4255) /* metro dependency 4255: PostConnectionCallbackStore */).addPostConnectionCallback;
|
||||
const env0_5 = (require(661) /* metro dependency 661: Constants */).Routes;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/links/native/handleContentLinking.tsx');
|
||||
exports.default = function() {
|
||||
return _handleContentLinking.apply(this, arguments);
|
||||
};
|
||||
}
|
||||
|
||||
function _handleContentLinking() { // fn#77313, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10049:166, offset: 0x01df906a, size: 50 bytes, params: 1, frame: 14
|
||||
return env0_3(_fun77315).apply(this, arguments);
|
||||
}
|
||||
|
||||
async function _fun77315({guildId, channelId, navigationSettings, messageId, summaryId}) { // fn#77315, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10049:231, offset: 0x01df90b0, size: 411 bytes, params: 2, frame: 26
|
||||
var environment;
|
||||
var Promise;
|
||||
var value7;
|
||||
var promise;
|
||||
var value11;
|
||||
var transitionTo;
|
||||
var value13;
|
||||
if (true) {
|
||||
await undefined;
|
||||
if (false) {
|
||||
return undefined;
|
||||
}
|
||||
value = environment.__proto__.__proto__;
|
||||
var binding = env2_1;
|
||||
binding(env2_2[3]).popAll();
|
||||
var safe = navigationSettings.safe;
|
||||
var navigationReplace = navigationSettings.navigationReplace;
|
||||
var r11 = navigationReplace === undefined || navigationReplace;
|
||||
var waitForConnection = navigationSettings.waitForConnection;
|
||||
var r2 = waitForConnection === undefined || waitForConnection;
|
||||
var skipMessageFetch = navigationSettings.skipMessageFetch;
|
||||
if (r2) {
|
||||
if (env2_6 != null) {
|
||||
env2_6();
|
||||
}
|
||||
Promise = global.Promise;
|
||||
value7 = Object.create(Promise.prototype, {constructor: {value: Promise}});
|
||||
promise = new Promise(_fun77316);
|
||||
await (promise instanceof Object ? promise : value7);
|
||||
if (false) {
|
||||
return undefined;
|
||||
}
|
||||
if (safe) {
|
||||
binding = env2_1;
|
||||
value13 = binding(env2_2[4]);
|
||||
binding = env2_5;
|
||||
await value13(binding.CHANNEL(guildId, channelId, messageId), {navigationReplace: r11,
|
||||
openChannel: true,
|
||||
skipMessageFetch: skipMessageFetch});
|
||||
if (false) {
|
||||
return undefined;
|
||||
}
|
||||
if (channelId != null && summaryId != null) {
|
||||
env2_1(env2_2[6]).setSelectedSummary(channelId, summaryId);
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
binding = env2_0;
|
||||
value11 = binding(env2_2[5]);
|
||||
transitionTo = value11.transitionTo;
|
||||
binding = env2_5;
|
||||
Reflect.apply(transitionTo, value11, [binding.CHANNEL(guildId, channelId, messageId),
|
||||
{navigationReplace: r11,
|
||||
openChannel: true, skipMessageFetch: skipMessageFetch}]);
|
||||
if (channelId != null && summaryId != null) {
|
||||
env2_1(env2_2[6]).setSelectedSummary(channelId, summaryId);
|
||||
}
|
||||
} else {
|
||||
if (safe) {
|
||||
binding = env2_1;
|
||||
value13 = binding(env2_2[4]);
|
||||
binding = env2_5;
|
||||
await value13(binding.CHANNEL(guildId, channelId, messageId), {navigationReplace: r11,
|
||||
openChannel: true,
|
||||
skipMessageFetch: skipMessageFetch});
|
||||
if (false) {
|
||||
return undefined;
|
||||
}
|
||||
if (channelId != null && summaryId != null) {
|
||||
env2_1(env2_2[6]).setSelectedSummary(channelId, summaryId);
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
binding = env2_0;
|
||||
value11 = binding(env2_2[5]);
|
||||
transitionTo = value11.transitionTo;
|
||||
binding = env2_5;
|
||||
Reflect.apply(transitionTo, value11, [binding.CHANNEL(guildId, channelId, messageId),
|
||||
{navigationReplace: r11,
|
||||
openChannel: true, skipMessageFetch: skipMessageFetch}]);
|
||||
if (channelId != null && summaryId != null) {
|
||||
env2_1(env2_2[6]).setSelectedSummary(channelId, summaryId);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function _fun77316(a0, a1) { // fn#77316, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10049:474, offset: 0x01df924b, size: 50 bytes, params: 3, frame: 11
|
||||
const env0_0 = a0;
|
||||
const env0_1 = a1;
|
||||
env3_4(_fun77318);
|
||||
}
|
||||
|
||||
function o_77317() { // fn#77317, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10049:484, offset: 0x01df927d, size: 50 bytes, params: 1, frame: 12
|
||||
const Error = global.Error;
|
||||
return require(new Error('superseded'));
|
||||
}
|
||||
|
||||
function _fun77318() { // fn#77318, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10049:518, offset: 0x01df92af, size: 24 bytes, params: 1, frame: 9
|
||||
env0_0();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user