Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4790.js (118.4 MB)
115 lines
4.5 KiB
TypeScript
115 lines
4.5 KiB
TypeScript
// Module ID: 11397
|
|
// Function ID: 11398
|
|
// Name: showChannelFollowingActionSheet
|
|
// Dependencies: [19, 21, 4572, 11398, 1896, 4950, 11405, 2]
|
|
// Exports: showChannelFollowingActionSheet
|
|
|
|
// Module 11397 (showChannelFollowingActionSheet)
|
|
import ActionSheetActionCreatorsDefault from "ActionSheetActionCreators" /* 4572 */;
|
|
import noop from "module_19" /* 19 */;
|
|
|
|
const require = globalThis.__r;
|
|
|
|
const require = fn;
|
|
const jsx = fn(21).jsx;
|
|
const size = fn(2);
|
|
const result = size.fileFinishedImporting("modules/channel_following/native/showChannelFollowingActionSheet.tsx");
|
|
|
|
export const showChannelFollowingActionSheet = function showChannelFollowingActionSheet(id, guildId, targetChannelId, targetGuildId) {
|
|
_require = id;
|
|
importDefault = guildId;
|
|
const obj = ActionSheetActionCreatorsDefault;
|
|
obj.openLazy(require("asyncRequireImpl")(11398, dependencyMap.paths), "NewChannelFollower." + id, {
|
|
sourceChannelId: id,
|
|
sourceGuildId: guildId,
|
|
targetChannelId,
|
|
targetGuildId,
|
|
reopenActionSheetWithTarget(targetGuildId, targetChannelId) {
|
|
closure_0 = closure_1_0;
|
|
closure_1 = closure_1_1;
|
|
let obj = closure_2_1(closure_2_2[2]);
|
|
obj.openLazy(closure_2_0(closure_2_2[4])(closure_2_2[3], closure_2_2.paths), "NewChannelFollower." + closure_1_0, {
|
|
sourceChannelId: closure_1_0,
|
|
sourceGuildId: closure_1_1,
|
|
targetChannelId,
|
|
targetGuildId,
|
|
reopenActionSheetWithTarget(targetGuildId, targetChannelId) {
|
|
closure_0 = closure_1_0;
|
|
closure_1 = closure_1_1;
|
|
let obj = closure_2_1(closure_2_2[2]);
|
|
obj.openLazy(closure_2_0(closure_2_2[4])(closure_2_2[3], closure_2_2.paths), "NewChannelFollower." + closure_1_0, {
|
|
sourceChannelId: closure_1_0,
|
|
sourceGuildId: closure_1_1,
|
|
targetChannelId,
|
|
targetGuildId,
|
|
reopenActionSheetWithTarget(targetGuildId, targetChannelId) {
|
|
closure_0 = closure_1_0;
|
|
closure_1 = closure_1_1;
|
|
let obj = closure_2_1(closure_2_2[2]);
|
|
obj.openLazy(closure_2_0(closure_2_2[4])(closure_2_2[3], closure_2_2.paths), "NewChannelFollower." + closure_1_0, {
|
|
sourceChannelId: closure_1_0,
|
|
sourceGuildId: closure_1_1,
|
|
targetChannelId,
|
|
targetGuildId,
|
|
reopenActionSheetWithTarget(targetGuildId, targetChannelId) {
|
|
closure_0 = closure_1_0;
|
|
closure_1 = closure_1_1;
|
|
let obj = closure_2_1(closure_2_2[2]);
|
|
obj.openLazy(closure_2_0(closure_2_2[4])(closure_2_2[3], closure_2_2.paths), "NewChannelFollower." + closure_1_0, { sourceChannelId: closure_1_0, sourceGuildId: closure_1_1, targetChannelId, targetGuildId, reopenActionSheetWithTarget() { ... }, onSuccess() { ... }, onCancel() { ... } });
|
|
},
|
|
onSuccess() {
|
|
closure_1(dependencyMap[5]).openLazy({ importer() { ... }, hideActionSheet: true });
|
|
},
|
|
onCancel() {
|
|
return closure_1(dependencyMap[2]).hideActionSheet();
|
|
}
|
|
});
|
|
},
|
|
onSuccess() {
|
|
closure_1(dependencyMap[5]).openLazy({
|
|
importer() {
|
|
return closure_1_0(paths[4])(paths[6], paths.paths).then(() => { ... });
|
|
},
|
|
hideActionSheet: true
|
|
});
|
|
},
|
|
onCancel() {
|
|
return closure_1(dependencyMap[2]).hideActionSheet();
|
|
}
|
|
});
|
|
},
|
|
onSuccess() {
|
|
closure_1(dependencyMap[5]).openLazy({
|
|
importer() {
|
|
return closure_1_0(paths[4])(paths[6], paths.paths).then((result) => {
|
|
closure_0 = result.default;
|
|
return () => { ... };
|
|
});
|
|
},
|
|
hideActionSheet: true
|
|
});
|
|
},
|
|
onCancel() {
|
|
return closure_1(dependencyMap[2]).hideActionSheet();
|
|
}
|
|
});
|
|
},
|
|
onSuccess() {
|
|
closure_1(dependencyMap[5]).openLazy({
|
|
importer() {
|
|
return closure_1_0(paths[4])(paths[6], paths.paths).then((result) => {
|
|
closure_0 = result.default;
|
|
return (arg0) => {
|
|
const merged = Object.assign(arg0);
|
|
return closure_2_3(closure_0, {});
|
|
};
|
|
});
|
|
},
|
|
hideActionSheet: true
|
|
});
|
|
},
|
|
onCancel() {
|
|
return closure_1(dependencyMap[2]).hideActionSheet();
|
|
}
|
|
});
|
|
};
|