Files
discord-decomp/sources/modules/channel_following/native/showChannelFollowingActionSheet.tsx
T
2026-07-27 16:20:00 +03:00

58 lines
3.9 KiB
TypeScript

/* Metro module 11261; source: modules/channel_following/native/showChannelFollowingActionSheet.tsx; dependencies: [31, 33, 4080, 11262, 1962, 4496, 11266, 2] */
function _fun86039(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#86039, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11447:6, offset: 0x01f85621, size: 142 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/channel_following/native/showChannelFollowingActionSheet.tsx');
exports.showChannelFollowingActionSheet = showChannelFollowingActionSheet;
}
function showChannelFollowingActionSheet(a0, a1, a2, a3) { // fn#86040, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11447:254, offset: 0x01f856af, size: 178 bytes, params: 5, frame: 19
const env0_0 = a0;
const env0_1 = a1;
const defaultImport = importDefault(dependencyMap[2]);
const openLazy = defaultImport.openLazy;
let value = require(dependencyMap[4]);
value = value(dependencyMap[3], dependencyMap.paths);
Reflect.apply(openLazy, defaultImport, [value, 'NewChannelFollower.' + a0, {sourceChannelId: a0, sourceGuildId: a1,
targetChannelId: a2, targetGuildId: a3, reopenActionSheetWithTarget: reopenActionSheetWithTarget,
onSuccess: onSuccess_86042, onCancel: onCancel}]);
}
function reopenActionSheetWithTarget(a0, a1) { // fn#86041, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11447:466, owner: showChannelFollowingActionSheet.reopenActionSheetWithTarget, offset: 0x01f85761, size: 34 bytes, params: 3, frame: 17
showChannelFollowingActionSheet(env0_0, require, a1, a0);
}
function showChannelFollowingActionSheetOnSuccess() { // fn#86042, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11447:526, owner: showChannelFollowingActionSheet.onSuccess, offset: 0x01f85783, size: 61 bytes, params: 1, frame: 13
var environment;
let value = environment.__proto__;
value = importDefault(4496) /* metro dependency 4496: AlertActionCreators */;
value.openLazy({importer: importer_86043, hideActionSheet: true});
}
function showChannelFollowingActionSheetOnCancel() { // fn#86046, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11447:653, owner: showChannelFollowingActionSheet.onCancel, offset: 0x01f8583b, size: 37 bytes, params: 1, frame: 11
const value = environment.__proto__;
return (importDefault(4080) /* metro dependency 4080: ActionSheetActionCreators */).hideActionSheet();
}
function onSuccessImporter() { // fn#86043, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11447:558, owner: showChannelFollowingActionSheet.onSuccess.importer, offset: 0x01f857c0, size: 64 bytes, params: 1, frame: 13
var environment;
let value = environment.__proto__.__proto__;
value = require(dependencyMap[4]);
value = value(dependencyMap[6], dependencyMap.paths);
return value.then(function({default: env0_0}) {
return _fun86045;
});
}
function _fun86044({default: env0_0}) { // fn#86044, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11447:590, offset: 0x01f85800, size: 23 bytes, params: 2, frame: 2
return _fun86045;
}
function _fun86045(a0) { // fn#86045, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11447:605, offset: 0x01f85817, size: 36 bytes, params: 2, frame: 13
return ((Component) => <Component {...a0} />)(env0_0);
}