This commit is contained in:
janisslsm committed 2026-07-28 01:06:53 +03:00
1 parent af3b49f756
commit 1781d25a15
22448 files changed
+2731829 -2650550

No files matched your search

@@ -1,13 +1,20 @@
/* Metro module 11266; source: modules/channel_following/native/components/ChannelFollowSuccessAlert.tsx; dependencies: [31, 27, 33, 11267, 11268, 11269, 11270, 11271, 11272, 1244, 4501, 4048, 4002, 7055, 22, 4596, 4573, 2] */
import Module00022 from '../../../../by-id/module-00022.js'; /* Metro dependency 22 */
import UseTheme from '../../../../hooks/useTheme.tsx'; /* Metro dependency 4048 */
import Alert from '../../../../components_native/common/Alert.tsx'; /* Metro dependency 4596 */
import * as FileImportTrackerModule from '../../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ReactNativeModule from '../../../../by-id/module-00027-ReactNative.js'; /* Metro dependency 27 */
import * as ReactModule from '../../../../by-id/module-00031-React.js'; /* Metro dependency 31 */
import * as JsxRuntimeModule from '../../../../by-id/module-00033-JsxRuntime.js'; /* Metro dependency 33 */
import * as SharedModule from '../../../../design/shared.tsx'; /* Metro dependency 4002 */
import * as CreateStylesModule from '../../../../design/components/Styles/native/createStyles.tsx'; /* Metro dependency 4501 */
import * as TextModule from '../../../../design/components/Text/native/Text.tsx'; /* Metro dependency 4573 */
function _fun86068(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#86068, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11452:6, offset: 0x01f86a0d, size: 478 bytes, params: 8, frame: 20
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 value = require(33) /* metro dependency 33 */;
const env0_4 = value.jsx;
const env0_5 = value.jsxs;
ReactModule;
object = [require(11267) /* metro dependency 11267 */, require(11268) /* metro dependency 11268 */,
require(11269) /* metro dependency 11269 */];
object = [require(11270) /* metro dependency 11270 */, require(11271) /* metro dependency 11271 */,
@@ -33,41 +40,60 @@ function _fun86068(global, require, importDefault, importAll, module, exports, d
}, function() {
return require(dependencyMap[9]).intl.string(require(dependencyMap[9]).t.jgC65t);
}];
const env0_9 = (require(4501) /* metro dependency 4501: createStyles */).createStyles({text: {'marginTop': 16,
const env0_9 = (CreateStylesModule).createStyles({text: {'marginTop': 16,
'lineHeight': 20, 'textAlign': 'center'}, header: {textAlign: 'center'}, image: {'alignSelf': 'center',
'marginTop': -72, 'marginBottom': 16, 'width': '100%', 'resizeMode': 'contain'}});
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/channel_following/native/components/ChannelFollowSuccessAlert.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/channel_following/native/components/ChannelFollowSuccessAlert.tsx');
exports.default = ChannelFollowSuccessAlert;
function ChannelFollowSuccessAlert(a0) { // fn#86079, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11452:844, offset: 0x01f86e6b, size: 464 bytes, params: 2, frame: 24
const styles = useStyles();
const value2 = (UseTheme)();
const value3 = (require(7055) /* metro dependency 7055 */).useStableMemo(_fun86080,
[SharedModule.isThemeDark(value2) ? env0_7 : env0_6]);
const value4 = (require(7055) /* metro dependency 7055 */).useStableMemo(_fun86081, []);
const defaultImportProps = {...a0};
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
defaultImportProps['confirmText'] = intl.string((require(1244) /* metro dependency 1244: indexNative */).t['+IrDzN']);
const items2 = [
<Image source={value3} style={styles.image} />,
];
const Text = (TextModule).Text;
items2[1] = (
<Text
style={styles.header}
variant="heading-xl/extrabold"
color="mobile-text-heading-primary"
>
{value4()}
</Text>
);
items2[2] = (
<Text
style={styles.text}
variant="text-md/medium"
color="text-muted"
>
{intl.string((require(1244) /* metro dependency 1244: indexNative */).t['2QbSea'])}
</Text>
);
return (
<Alert {...defaultImportProps}>
{items2}
</Alert>
);
function _fun86080() { // fn#86080, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11452:961, offset: 0x01f8703b, size: 45 bytes, params: 1, frame: 11
const value = environment.__proto__;
return (Module00022).sample(env0_0);
}
function _fun86081() { // fn#86081, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11452:1016, offset: 0x01f87068, size: 42 bytes, params: 1, frame: 12
return (Module00022).sample(env1_8);
}
}
}
function ChannelFollowSuccessAlert(a0) { // fn#86079, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11452:844, offset: 0x01f86e6b, size: 464 bytes, params: 2, frame: 24
const styles = useStyles();
const value2 = (importDefault(4048) /* metro dependency 4048: useTheme */)();
const sharedModule = require(4002) /* metro dependency 4002: shared */;
const value3 = (require(7055) /* metro dependency 7055 */).useStableMemo(_fun86080,
[sharedModule.isThemeDark(value2) ? env0_7 : env0_6]);
const value4 = (require(7055) /* metro dependency 7055 */).useStableMemo(_fun86081, []);
const Alert = importDefault(4596) /* metro dependency 4596: Alert */;
const defaultImportProps = {...a0};
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
defaultImportProps['confirmText'] = intl.string((require(1244) /* metro dependency 1244: indexNative */).t['+IrDzN']);
const items2 = [<Image source={value3} style={styles.image} />];
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
items2[1] = <Text style={styles.header} variant="heading-xl/extrabold" color="mobile-text-heading-primary">{value4()}</Text>;
items2[2] = <Text style={styles.text} variant="text-md/medium" color="text-muted">{intl.string((require(1244) /* metro dependency 1244: indexNative */).t['2QbSea'])}</Text>;
return (
<Alert {...defaultImportProps}>
{items2}
</Alert>
);
}
function _fun86080() { // fn#86080, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11452:961, offset: 0x01f8703b, size: 45 bytes, params: 1, frame: 11
const value = environment.__proto__;
return (importDefault(22) /* metro dependency 22 */).sample(env0_0);
}
function _fun86081() { // fn#86081, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11452:1016, offset: 0x01f87068, size: 42 bytes, params: 1, frame: 12
return (importDefault(22) /* metro dependency 22 */).sample(env1_8);
}
global.__d(_fun86068, 11266, [31, 27, 33, 11267, 11268, 11269, 11270, 11271, 11272, 1244, 4501, 4048, 4002, 7055,
22, 4596, 4573,
2]) /* metro module 11266, dependencies: [31, 27, 33, 11267, 11268, 11269, 11270, 11271, 11272, 1244, 4501, 4048, 4002, 7055, 22, 4596, 4573, 2] */;
@@ -1,20 +1,37 @@
/* Metro module 11262; source: modules/channel_following/native/components/NewChannelFollower.tsx; dependencies: [57, 31, 27, 1379, 1935, 1867, 3784, 4896, 661, 33, 4501, 697, 7326, 4048, 566, 4805, 4594, 4002, 11263, 11264, 6275, 6277, 6819, 1305, 6647, 4573, 1244, 4572, 6231, 6238, 4080, 9059, 1962, 11265, 7972, 6261, 4578, 11166, 6515, 2] */
import Module00057 from '../../../../by-id/module-00057.js'; /* Metro dependency 57 */
import ChannelStore from '../../../../stores/ChannelStore.tsx'; /* Metro dependency 1379 */
import GuildStore from '../../../../stores/GuildStore.tsx'; /* Metro dependency 1867 */
import GuildChannelStore from '../../../../stores/GuildChannelStore.tsx'; /* Metro dependency 1935 */
import PermissionStore from '../../../../stores/PermissionStore.tsx'; /* Metro dependency 3784 */
import UseTheme from '../../../../hooks/useTheme.tsx'; /* Metro dependency 4048 */
import UseMountEffect from '../../../../hooks/useMountEffect.tsx'; /* Metro dependency 4594 */
import UseChannelName from '../../../channel/useChannelName.tsx'; /* Metro dependency 4805 */
import SortedGuildStore from '../../../../stores/SortedGuildStore.tsx'; /* Metro dependency 4896 */
import * as FileImportTrackerModule from '../../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ReactNativeModule from '../../../../by-id/module-00027-ReactNative.js'; /* Metro dependency 27 */
import * as ReactModule from '../../../../by-id/module-00031-React.js'; /* Metro dependency 31 */
import * as IndexNativeModule from '../../../../intl/index.native.tsx'; /* Metro dependency 1244 */
import * as GuildChannelStoreModule from '../../../../stores/GuildChannelStore.tsx'; /* Metro dependency 1935 */
import * as StackNativeModule from '../../../../design/components/Stack/native/Stack.native.tsx'; /* Metro dependency 4572 */
import * as TextModule from '../../../../design/components/Text/native/Text.tsx'; /* Metro dependency 4573 */
import * as ButtonNativeModule from '../../../../design/components/Button/native/Button.native.tsx'; /* Metro dependency 4578 */
import * as TableRowGroupNativeModule from '../../../../design/components/TableRow/native/TableRowGroup.native.tsx'; /* Metro dependency 6231 */
import * as TableRowNativeModule from '../../../../design/components/TableRow/native/TableRow.native.tsx'; /* Metro dependency 6238 */
import * as ButtonGroupNativeModule from '../../../../design/components/ButtonGroup/native/ButtonGroup.native.tsx'; /* Metro dependency 6261 */
import * as BottomSheetNativeModule from '../../../../design/components/Sheet/native/BottomSheet.native.tsx'; /* Metro dependency 6275 */
import * as Module06277Module from '../../../../by-id/module-06277.js'; /* Metro dependency 6277 */
import * as ActionSheetHeaderBarNativeModule from '../../../../design/components/Sheet/native/ActionSheetHeaderBar.native.tsx'; /* Metro dependency 6515 */
import * as UseBottomSheetRefModule from '../../../../design/components/Sheet/native/useBottomSheetRef.tsx'; /* Metro dependency 7326 */
import * as NativeModule from '../../../../design/void/Form/native/index.tsx'; /* Metro dependency 7972 */
function _fun86047(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#86047, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11448:6, offset: 0x01f85860, size: 630 bytes, params: 8, frame: 22
var object4;
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importDefault(57) /* metro dependency 57 */;
const env0_4 = importAll(31) /* metro dependency 31 */;
let value = require(27) /* metro dependency 27 */;
let value = ReactNativeModule;
const env0_5 = value.View;
const env0_6 = value.ImageBackground;
const channelStore = importDefault(1379) /* metro dependency 1379: ChannelStore */;
const guildChannelStore = importDefault(1935) /* metro dependency 1935: GuildChannelStore */;
const env0_9 = (require(1935) /* metro dependency 1935: GuildChannelStore */).GUILD_SELECTABLE_CHANNELS_KEY;
const guildStore = importDefault(1867) /* metro dependency 1867: GuildStore */;
const permissionStore = importDefault(3784) /* metro dependency 3784: PermissionStore */;
const sortedGuildStore = importDefault(4896) /* metro dependency 4896: SortedGuildStore */;
value = require(661) /* metro dependency 661: Constants */;
const env0_13 = value.AbortCodes;
const env0_14 = value.ChannelTypes;
@@ -24,221 +41,330 @@ function _fun86047(global, require, importDefault, importAll, module, exports, d
const env0_17 = value.jsxs;
value = require(4501) /* metro dependency 4501: createStyles */;
const createStyles = value.createStyles;
object4 = {container: {'flex': 1, 'flexDirection': 'column', 'alignItems': 'stretch', 'paddingHorizontal': 16,
object = {container: {'flex': 1, 'flexDirection': 'column', 'alignItems': 'stretch', 'paddingHorizontal': 16,
'paddingVertical': 24}, header: {'flex': 1, 'flexDirection': 'row', 'justifyContent': 'center',
'alignItems': 'center', 'height': 96}, headerGuildIcon: {'width': 40, 'marginRight': 16}};
const object5 = {};
object5.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.xs;
const BACKGROUND_SURFACE_HIGH = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_SURFACE_HIGH;
object5.backgroundColor = BACKGROUND_SURFACE_HIGH;
object5.height = 32;
object4.headerChannelContainer = object5;
const object6 = {'flex': 1, 'flexDirection': 'row', 'minWidth': 160, 'paddingHorizontal': 8, 'paddingVertical': 6};
object6.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.xs;
const INTERACTIVE_BACKGROUND_SELECTED = (importDefault(697) /* metro dependency 697: native */).colors.INTERACTIVE_BACKGROUND_SELECTED;
object6.backgroundColor = INTERACTIVE_BACKGROUND_SELECTED;
object4.headerChannel = object6;
object4.headerChannelIcon = {'height': 20, 'width': 20, 'marginRight': 8, 'opacity': 0.6};
object4.ctaHeader = {'flex': 1, 'textAlign': 'center', 'marginBottom': 8};
object4.ctaSubhead = {'flex': 1, 'textAlign': 'center', 'marginBottom': 8};
object4.channelIcon = {'height': 16, 'width': 16, 'opacity': 0.6};
const env0_18 = Reflect.apply(createStyles, value, [object4]);
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/channel_following/native/components/NewChannelFollower.tsx');
exports.default = _default_86048;
}
function _default_86048({sourceGuildId, sourceChannelId, targetGuildId, targetChannelId, reopenActionSheetWithTarget, onCancel, onSuccess}) { // fn#86048, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11448:1127, offset: 0x01f85ad6, size: 2220 bytes, params: 2, frame: 51
const Icon = (require(1305) /* metro dependency 1305: native */).Icon;
const FormHint = (require(7972) /* metro dependency 7972: native */).FormHint;
const env0_3 = targetChannelId;
const styles = useStyles();
const binding = reopenActionSheetWithTarget;
let useState = binding.useState;
const value2 = Reflect.apply(useState, binding, [false]);
const binding2 = env0_3;
const value3 = binding2(value2, 2);
const property = value3[0];
const env0_6 = value3[1];
useState = binding.useState;
const value5 = binding2(Reflect.apply(useState, binding, [null]), 2);
const property2 = value5[0];
const env0_7 = value5[1];
const {bottomSheetRef,
bottomSheetClose} = (require(7326) /* metro dependency 7326: useBottomSheetRef */).useBottomSheetRef();
const value7 = (importDefault(4048) /* metro dependency 4048: useTheme */)();
const {sourceGuild,
targetGuild} = (require(566) /* metro dependency 566: flux */).useStateFromStoresObject([GuildStore],
function() {
var object = {};
object.sourceGuild = GuildStore.getGuild(sourceGuildId);
object.targetGuild = GuildStore.getGuild(targetGuildId);
return object;
});
const {sourceChannel,
targetChannel} = (require(566) /* metro dependency 566: flux */).useStateFromStoresObject([ChannelStore],
function() {
var object = {};
object.sourceChannel = ChannelStore.getChannel(sourceChannelId);
object.targetChannel = ChannelStore.getChannel(targetChannelId);
return object;
});
const value10 = (importDefault(4805) /* metro dependency 4805: useChannelName */)(sourceChannel);
const value11 = (importDefault(4805) /* metro dependency 4805: useChannelName */)(targetChannel);
const r25 = targetGuildId != null && targetChannelId != null;
(importDefault(4594) /* metro dependency 4594: useMountEffect */)(_fun86051);
const r9 = (require(4002) /* metro dependency 4002: shared */).isThemeDark(value7) ? importDefault(11263) /* metro dependency 11263 */ : importDefault(11264) /* metro dependency 11264 */;
const BottomSheet = (require(6275) /* metro dependency 6275: BottomSheetNative */).BottomSheet;
const BottomSheetScrollView = (require(6277) /* metro dependency 6277 */).BottomSheetScrollView;
let object = {source: r9};
let header = styles.header;
object.style = header;
header = styles.header;
const value14 = ((Component) => <Component style={styles.headerGuildIcon} guild={sourceGuild} />)(importDefault(6819) /* metro dependency 6819: GuildIcon */);
const Icon2 = (require(1305) /* metro dependency 1305: native */).Icon;
const Sizes = Icon2.Sizes;
const CUSTOM = Sizes.CUSTOM;
const icon = <Icon size={CUSTOM} source={sourceChannel != null ? (require(6647) /* metro dependency 6647: ChannelUtils */).getChannelIcon(sourceChannel) : null} style={styles.headerChannelIcon} />;
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
const imageBackground = <ImageBackground {...object}><View style={header}>{value14}<View style={styles.headerChannelContainer}><View style={styles.headerChannel}>{icon}<Text lineClamp={1} variant="text-sm/medium">{value10}</Text></View></View></View></ImageBackground>;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
let string = intl.string;
const items4 = [<Text style={styles.ctaHeader} variant="heading-lg/semibold" color="mobile-text-heading-primary">{Reflect.apply(string,
intl, [(require(1244) /* metro dependency 1244: indexNative */).t.mvPFbA])}</Text>];
items4[1] = <Text style={styles.ctaSubhead} variant="text-sm/medium" color="text-default">{intl.string((require(1244) /* metro dependency 1244: indexNative */).t.kbpkxJ)}</Text>;
const Stack = (require(4572) /* metro dependency 4572: StackNative */).Stack;
const TableRowGroup = (require(6231) /* metro dependency 6231: TableRowGroupNative */).TableRowGroup;
const tableRowGroupProps = {title: intl.string((require(1244) /* metro dependency 1244: indexNative */).t.xFn72s),
hasIcons: true};
const TableRow = (require(6238) /* metro dependency 6238: TableRowNative */).TableRow;
const tableRowGroup = <TableRowGroup {...tableRowGroupProps}><TableRow label={targetGuild != null ? targetGuild.name : intl.string((require(1244) /* metro dependency 1244: indexNative */).t.XqMe3N)} icon={targetGuild != null ? ((Component) => <Component guild={targetGuild} size={(require(6819) /* metro dependency 6819: GuildIcon */).GuildIconSizes.XSMALL} />)(importDefault(6819) /* metro dependency 6819: GuildIcon */) : null} arrow onPress={onPress_86052} /></TableRowGroup>;
string = intl.string;
const PDn2fR = (require(1244) /* metro dependency 1244: indexNative */).t.PDn2fR;
items4[2] = <Stack spacing={16}>{tableRowGroup}<TableRowGroup title={Reflect.apply(string, intl,
[PDn2fR])} hasIcons><TableRow label={value11 ?? intl.string((require(1244) /* metro dependency 1244: indexNative */).t.XqMe3N)} disabled={targetGuildId == null} icon={targetChannel != null ? <Icon size={(require(1305) /* metro dependency 1305: native */).Icon.Sizes.CUSTOM} source={(require(6647) /* metro dependency 6647: ChannelUtils */).getChannelIcon(targetChannel)} style={styles.channelIcon} /> : null} arrow onPress={onPress_86056} /></TableRowGroup></Stack>;
string = intl.string;
const Z0quyN = (require(1244) /* metro dependency 1244: indexNative */).t.Z0quyN;
items4[3] = <FormHint inset>{Reflect.apply(string, intl, [Z0quyN])}</FormHint>;
items4[4] = property2 != null ? <FormHint inset>{property2}</FormHint> : null;
const ButtonGroup = (require(6261) /* metro dependency 6261: ButtonGroupNative */).ButtonGroup;
const Button = (require(4578) /* metro dependency 4578: ButtonNative */).Button;
items4[5] = <ButtonGroup><Button text={intl.string((require(1244) /* metro dependency 1244: indexNative */).t['3aOv+h'])} disabled={!r25} loading={property} onPress={onPress_86060} /><Button text={intl.string((require(1244) /* metro dependency 1244: indexNative */).t['ETE/oC'])} variant="secondary" onPress={onCancel} /></ButtonGroup>;
bottomSheetScrollView = <BottomSheetScrollView>{imageBackground}<View style={styles.container}>{items4}</View></BottomSheetScrollView>;
const ActionSheetHeaderBar = (require(6515) /* metro dependency 6515: ActionSheetHeaderBarNative */).ActionSheetHeaderBar;
return (
<BottomSheet
handleDisabled
startExpanded
scrollable
ref={bottomSheetRef}
>
{bottomSheetScrollView}
<ActionSheetHeaderBar variant="floating" onPress={bottomSheetClose} />
</BottomSheet>
);
}
function _fun86051() { // fn#86051, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11448:1769, offset: 0x01f863ec, size: 39 bytes, params: 1, frame: 9
var current;
if (env0_10) {
current = bottomSheetRef.current;
if (current != null) {
current.expandActionSheet();
}
}
}
function _default_86048OnPress() { // fn#86052, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11448:3041, owner: _default_86048.onPress, offset: 0x01f86413, size: 259 bytes, params: 1, frame: 22
var environment;
let value = environment.__proto__;
const value2 = undefined;
const defaultImport = importDefault(dependencyMap[30]);
const openLazy = defaultImport.openLazy;
const value3 = require(dependencyMap[32])(dependencyMap[31], dependencyMap.paths);
const object2 = {};
const intl = require(dependencyMap[26]).intl;
object2.title = intl.string(require(dependencyMap[26]).t.etZ9tX);
value = SortedGuildStore.getFlattenedGuildIds();
const reduce = value.reduce;
const Array = global.Array;
const value4 = Object.create(Array.prototype, {constructor: {value: Array}});
const array = new Array();
object2.items = Reflect.apply(reduce, value, [_fun86053, array instanceof Object ? array : value4]);
object2.selectedItem = targetGuildId ?? value2;
object2.onItemSelect = onItemSelect_86054;
object2.onClose = function() {
reopenActionSheetWithTarget(targetGuildId, targetChannelId);
};
object2.hasIcons = false;
Reflect.apply(openLazy, defaultImport, [value3, 'NewChannelFollowerGuildPicker', object2]);
return value2;
}
object2.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.xs;
const BACKGROUND_SURFACE_HIGH = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_SURFACE_HIGH;
object2.backgroundColor = BACKGROUND_SURFACE_HIGH;
object2.height = 32;
object.headerChannelContainer = object2;
const object3 = {'flex': 1, 'flexDirection': 'row', 'minWidth': 160, 'paddingHorizontal': 8, 'paddingVertical': 6};
object3.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.xs;
const INTERACTIVE_BACKGROUND_SELECTED = (importDefault(697) /* metro dependency 697: native */).colors.INTERACTIVE_BACKGROUND_SELECTED;
object3.backgroundColor = INTERACTIVE_BACKGROUND_SELECTED;
object.headerChannel = object3;
object.headerChannelIcon = {'height': 20, 'width': 20, 'marginRight': 8, 'opacity': 0.6};
object.ctaHeader = {'flex': 1, 'textAlign': 'center', 'marginBottom': 8};
object.ctaSubhead = {'flex': 1, 'textAlign': 'center', 'marginBottom': 8};
object.channelIcon = {'height': 16, 'width': 16, 'opacity': 0.6};
const env0_18 = Reflect.apply(createStyles, value, [object]);
(FileImportTrackerModule).fileFinishedImporting('modules/channel_following/native/components/NewChannelFollower.tsx');
exports.default = _default_86048;
function _default_86048({sourceGuildId, sourceChannelId, targetGuildId, targetChannelId, reopenActionSheetWithTarget, onCancel, onSuccess}) { // fn#86048, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11448:1127, offset: 0x01f85ad6, size: 2220 bytes, params: 2, frame: 51
const Icon = (require(1305) /* metro dependency 1305: native */).Icon;
const FormHint = (NativeModule).FormHint;
const targetChannelId2 = targetChannelId;
const styles = useStyles();
const binding = reopenActionSheetWithTarget;
let useState = binding.useState;
const value2 = Reflect.apply(useState, binding, [false]);
const binding2 = targetChannelId2;
const value3 = binding2(value2, 2);
const property = value3[0];
const env0_6 = value3[1];
useState = binding.useState;
const value5 = binding2(Reflect.apply(useState, binding, [null]), 2);
const property2 = value5[0];
const env0_7 = value5[1];
const {bottomSheetRef,
bottomSheetClose} = (UseBottomSheetRefModule).useBottomSheetRef();
const value7 = (UseTheme)();
const {sourceGuild,
targetGuild} = (require(566) /* metro dependency 566: flux */).useStateFromStoresObject([GuildStore],
function() {
var object = {};
var guildStoreBinding = GuildStore;
object.sourceGuild = guildStoreBinding.getGuild(sourceGuildId);
object.targetGuild = guildStoreBinding.getGuild(targetGuildId);
return object;
});
const {sourceChannel,
targetChannel} = (require(566) /* metro dependency 566: flux */).useStateFromStoresObject([ChannelStore],
function() {
var object = {};
var channelStoreBinding = ChannelStore;
object.sourceChannel = channelStoreBinding.getChannel(sourceChannelId);
object.targetChannel = channelStoreBinding.getChannel(targetChannelId);
return object;
});
const value10 = (UseChannelName)(sourceChannel);
const value11 = (UseChannelName)(targetChannel);
const r25 = targetGuildId != null && targetChannelId != null;
(UseMountEffect)(_fun86051);
const r9 = (require(4002) /* metro dependency 4002: shared */).isThemeDark(value7) ? importDefault(11263) /* metro dependency 11263 */ : importDefault(11264) /* metro dependency 11264 */;
const BottomSheet = (BottomSheetNativeModule).BottomSheet;
const BottomSheetScrollView = (Module06277Module).BottomSheetScrollView;
const object2 = {source: r9};
let header = styles.header;
object2.style = header;
header = styles.header;
const value14 = ((Component) => <Component style={styles.headerGuildIcon} guild={sourceGuild} />)(importDefault(6819) /* metro dependency 6819: GuildIcon */);
const Icon2 = (require(1305) /* metro dependency 1305: native */).Icon;
const Sizes = Icon2.Sizes;
const CUSTOM = Sizes.CUSTOM;
const icon = (
<Icon
size={CUSTOM}
source={sourceChannel != null ? (require(6647) /* metro dependency 6647: ChannelUtils */).getChannelIcon(sourceChannel) : null}
style={styles.headerChannelIcon}
/>
);
const Text = (TextModule).Text;
const imageBackground = (
<ImageBackground {...object2}>
<View style={header}>
{value14}
<View style={styles.headerChannelContainer}>
<View style={styles.headerChannel}>
{icon}
<Text lineClamp={1} variant="text-sm/medium">
{value10}
</Text>
</View>
</View>
</View>
</ImageBackground>
);
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
let string = intl.string;
const items4 = [
<Text
style={styles.ctaHeader}
variant="heading-lg/semibold"
color="mobile-text-heading-primary"
>
{Reflect.apply(string, intl, [(require(1244) /* metro dependency 1244: indexNative */).t.mvPFbA])}
</Text>,
];
items4[1] = (
<Text
style={styles.ctaSubhead}
variant="text-sm/medium"
color="text-default"
>
{intl.string((require(1244) /* metro dependency 1244: indexNative */).t.kbpkxJ)}
</Text>
);
const Stack = (StackNativeModule).Stack;
const TableRowGroup = (TableRowGroupNativeModule).TableRowGroup;
const tableRowGroupProps = {title: intl.string((require(1244) /* metro dependency 1244: indexNative */).t.xFn72s),
hasIcons: true};
const TableRow = (TableRowNativeModule).TableRow;
const tableRowGroup = (
<TableRowGroup {...tableRowGroupProps}>
<TableRow
label={targetGuild != null ? targetGuild.name : intl.string((require(1244) /* metro dependency 1244: indexNative */).t.XqMe3N)}
icon={targetGuild != null
? ((Component) => <Component guild={targetGuild} size={(require(6819) /* metro dependency 6819: GuildIcon */).GuildIconSizes.XSMALL} />)(importDefault(6819) /* metro dependency 6819: GuildIcon */)
: null}
arrow
onPress={onPress_86052}
/>
</TableRowGroup>
);
string = intl.string;
const PDn2fR = (require(1244) /* metro dependency 1244: indexNative */).t.PDn2fR;
items4[2] = (
<Stack spacing={16}>
{tableRowGroup}
<TableRowGroup title={Reflect.apply(string, intl, [PDn2fR])} hasIcons>
<TableRow
label={value11 ?? intl.string((require(1244) /* metro dependency 1244: indexNative */).t.XqMe3N)}
disabled={targetGuildId == null}
icon={targetChannel != null
? (
<Icon
size={(require(1305) /* metro dependency 1305: native */).Icon.Sizes.CUSTOM}
source={(require(6647) /* metro dependency 6647: ChannelUtils */).getChannelIcon(targetChannel)}
style={styles.channelIcon}
/>
)
: null}
arrow
onPress={onPress_86056}
/>
</TableRowGroup>
</Stack>
);
string = intl.string;
const Z0quyN = (require(1244) /* metro dependency 1244: indexNative */).t.Z0quyN;
items4[3] = (
<FormHint inset>
{Reflect.apply(string, intl, [Z0quyN])}
</FormHint>
);
items4[4] = (
property2 != null
? (
<FormHint inset>
{property2}
</FormHint>
)
: null
);
const ButtonGroup = (ButtonGroupNativeModule).ButtonGroup;
const Button = (ButtonNativeModule).Button;
items4[5] = (
<ButtonGroup>
<Button
text={intl.string((require(1244) /* metro dependency 1244: indexNative */).t['3aOv+h'])}
disabled={!r25}
loading={property}
onPress={onPress_86060}
/>
<Button
text={intl.string((require(1244) /* metro dependency 1244: indexNative */).t['ETE/oC'])}
variant="secondary"
onPress={onCancel}
/>
</ButtonGroup>
);
bottomSheetScrollView = (
<BottomSheetScrollView>
{imageBackground}
<View style={styles.container}>
{items4}
</View>
</BottomSheetScrollView>
);
const ActionSheetHeaderBar = (ActionSheetHeaderBarNativeModule).ActionSheetHeaderBar;
return (
<BottomSheet
handleDisabled
startExpanded
scrollable
ref={bottomSheetRef}
>
{bottomSheetScrollView}
<ActionSheetHeaderBar variant="floating" onPress={bottomSheetClose} />
</BottomSheet>
);
function _fun86051() { // fn#86051, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11448:1769, offset: 0x01f863ec, size: 39 bytes, params: 1, frame: 9
var current;
if (env0_10) {
current = bottomSheetRef.current;
if (current != null) {
current.expandActionSheet();
}
}
}
function _default_86048OnPress_86056() { // fn#86056, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11448:3800, owner: _default_86048.onPress, offset: 0x01f865c3, size: 126 bytes, params: 1, frame: 16
var environment;
var value3;
const targetGuildIdBinding = targetGuildId;
const value2 = null;
if (value2 != targetGuildIdBinding) {
value3 = environment.__proto__;
(importDefault(11265) /* metro dependency 11265: openChannelPicker */)({guildId: targetGuildId,
selectedChannel: value2 != targetChannel ? targetChannel : value2,
channelType: GUILD_SELECTABLE_CHANNELS_KEY,
filterFn: filterFn, onSelect: function(a0) {
reopenActionSheetWithTarget(targetGuildId, a0.id);
}, onClose: onClose_86059});
}
}
function _default_86048OnPress() { // fn#86052, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11448:3041, owner: _default_86048.onPress, offset: 0x01f86413, size: 259 bytes, params: 1, frame: 22
var environment;
let value = environment.__proto__;
const value2 = undefined;
const defaultImport = importDefault(dependencyMap[30]);
const openLazy = defaultImport.openLazy;
const value3 = require(dependencyMap[32])(dependencyMap[31], dependencyMap.paths);
const object = {};
const intl = require(dependencyMap[26]).intl;
object.title = intl.string(require(dependencyMap[26]).t.etZ9tX);
value = SortedGuildStore.getFlattenedGuildIds();
const reduce = value.reduce;
const Array = global.Array;
const value4 = Object.create(Array.prototype, {constructor: {value: Array}});
const array = new Array();
object.items = Reflect.apply(reduce, value, [_fun86053, array instanceof Object ? array : value4]);
object.selectedItem = targetGuildId ?? value2;
object.onItemSelect = onItemSelect_86054;
object.onClose = function() {
reopenActionSheetWithTarget(targetGuildId, targetChannelId);
};
object.hasIcons = false;
Reflect.apply(openLazy, defaultImport, [value3, 'NewChannelFollowerGuildPicker', object]);
return value2;
function _fun86053(a0, a1) { // fn#86053, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11448:3212, offset: 0x01f86516, size: 94 bytes, params: 3, frame: 15
const value = environment.__proto__.__proto__;
const guild = GuildStore.getGuild(a1);
if (guild != null && PermissionStore.can(Permissions.MANAGE_WEBHOOKS, guild)) {
a0.push({label: guild.name, value: guild.id});
}
return a0;
}
function _default_86048OnPress_86060() { // fn#86060, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11448:4278, owner: _default_86048.onPress, offset: 0x01f8669b, size: 107 bytes, params: 1, frame: 14
var environment;
var value2;
var defaultImport;
var channelFollower;
if (targetChannelId != null) {
env0_6(true);
value2 = environment.__proto__;
defaultImport = importDefault(11166) /* metro dependency 11166: ChannelFollowerActionCreators */;
channelFollower = defaultImport.createChannelFollower(targetChannelId, sourceChannelId);
channelFollower.then(onSuccess).catch(_fun86061);
}
}
function onPressOnItemSelect_86054(a0) { // fn#86054, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11448:3363, owner: _default_86048.onPress.onItemSelect, offset: 0x01f86574, size: 54 bytes, params: 2, frame: 15
let value = environment.__proto__;
const reopenActionSheetWithTargetBinding = reopenActionSheetWithTarget;
value = environment.__proto__.__proto__;
value = GuildChannelStore.getDefaultChannel(a0);
const value2 = undefined;
reopenActionSheetWithTargetBinding(a0, value == null ? value2 : value.id);
return value2;
}
function _fun86053(a0, a1) { // fn#86053, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11448:3212, offset: 0x01f86516, size: 94 bytes, params: 3, frame: 15
const value = environment.__proto__.__proto__;
const guild = GuildStore.getGuild(a1);
if (guild != null && PermissionStore.can(Permissions.MANAGE_WEBHOOKS, guild)) {
a0.push({label: guild.name, value: guild.id});
}
return a0;
}
}
function onPressOnItemSelect_86054(a0) { // fn#86054, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11448:3363, owner: _default_86048.onPress.onItemSelect, offset: 0x01f86574, size: 54 bytes, params: 2, frame: 15
let value = environment.__proto__;
const reopenActionSheetWithTargetBinding = reopenActionSheetWithTarget;
value = environment.__proto__.__proto__;
value = GuildChannelStore.getDefaultChannel(a0);
const value2 = undefined;
reopenActionSheetWithTargetBinding(a0, value == null ? value2 : value.id);
return value2;
}
function _default_86048OnPress_86056() { // fn#86056, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11448:3800, owner: _default_86048.onPress, offset: 0x01f865c3, size: 126 bytes, params: 1, frame: 16
var environment;
var value3;
const targetGuildIdBinding = targetGuildId;
const value2 = null;
if (value2 != targetGuildIdBinding) {
value3 = environment.__proto__;
(importDefault(11265) /* metro dependency 11265: openChannelPicker */)({guildId: targetGuildId,
selectedChannel: value2 != targetChannel ? targetChannel : value2,
channelType: GUILD_SELECTABLE_CHANNELS_KEY,
filterFn: filterFn, onSelect: function(a0) {
reopenActionSheetWithTarget(targetGuildId, a0.id);
}, onClose: onClose_86059});
}
function filterFn({channel}) { // fn#86057, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11448:3894, owner: _default_86048.onPress.filterFn, offset: 0x01f86641, size: 61 bytes, params: 2, frame: 14
const type = channel.type;
const value = environment.__proto__.__proto__;
const GUILD_TEXT = ChannelTypes.GUILD_TEXT;
return type === GUILD_TEXT && PermissionStore.can(Permissions.MANAGE_WEBHOOKS, channel);
}
function filterFn({channel}) { // fn#86057, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11448:3894, owner: _default_86048.onPress.filterFn, offset: 0x01f86641, size: 61 bytes, params: 2, frame: 14
const type = channel.type;
const value = environment.__proto__.__proto__;
const GUILD_TEXT = ChannelTypes.GUILD_TEXT;
return type === GUILD_TEXT && PermissionStore.can(Permissions.MANAGE_WEBHOOKS, channel);
}
function onPressOnClose_86059() { // fn#86059, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11448:3982, owner: _default_86048.onPress.onClose, offset: 0x01f865aa, size: 25 bytes, params: 1, frame: 13
reopenActionSheetWithTarget(targetGuildId, targetChannelId);
}
}
function _default_86048OnPress_86060() { // fn#86060, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11448:4278, owner: _default_86048.onPress, offset: 0x01f8669b, size: 107 bytes, params: 1, frame: 14
var environment;
var value2;
var defaultImport;
var channelFollower;
if (targetChannelId != null) {
env0_6(true);
value2 = environment.__proto__;
defaultImport = importDefault(11166) /* metro dependency 11166: ChannelFollowerActionCreators */;
channelFollower = defaultImport.createChannelFollower(targetChannelId, sourceChannelId);
channelFollower.then(onSuccess).catch(_fun86061);
}
function _fun86061({body}) { // fn#86061, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11448:4356, offset: 0x01f86706, size: 182 bytes, params: 2, frame: 17
const intl = (IndexNativeModule).intl;
const t = (IndexNativeModule).t;
env1_6(false);
const code = body.code;
const TOO_MANY_WEBHOOKS = AbortCodes.TOO_MANY_WEBHOOKS;
if (code === TOO_MANY_WEBHOOKS) {
env1_7(intl.string(t['1eZ4aB']));
} else {
env1_7(intl.string(t.LgwhuN));
}
}
}
function _fun86061({body}) { // fn#86061, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11448:4356, offset: 0x01f86706, size: 182 bytes, params: 2, frame: 17
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
const t = (require(1244) /* metro dependency 1244: indexNative */).t;
env1_6(false);
const code = body.code;
const TOO_MANY_WEBHOOKS = AbortCodes.TOO_MANY_WEBHOOKS;
if (code === TOO_MANY_WEBHOOKS) {
env1_7(intl.string(t['1eZ4aB']));
} else {
env1_7(intl.string(t.LgwhuN));
}
}
global.__d(_fun86047, 11262, [57, 31, 27, 1379, 1935, 1867, 3784, 4896, 661, 33, 4501, 697, 7326, 4048, 566, 4805,
4594, 4002, 11263, 11264, 6275, 6277, 6819, 1305, 6647, 4573, 1244, 4572, 6231, 6238, 4080, 9059, 1962, 11265,
7972, 6261, 4578, 11166, 6515,
2]) /* metro module 11262, dependencies: [57, 31, 27, 1379, 1935, 1867, 3784, 4896, 661, 33, 4501, 697, 7326, 4048, 566, 4805, 4594, 4002, 11263, 11264, 6275, 6277, 6819, 1305, 6647, 4573, 1244, 4572, 6231, 6238, 4080, 9059, 1962, 11265, 7972, 6261, 4578, 11166, 6515, 2] */;
@@ -1,57 +1,63 @@
/* Metro module 11261; source: modules/channel_following/native/showChannelFollowingActionSheet.tsx; dependencies: [31, 33, 4080, 11262, 1962, 4496, 11266, 2] */
import ActionSheetActionCreators from '../../action_sheet/native/ActionSheetActionCreators.tsx'; /* Metro dependency 4080 */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ReactModule from '../../../by-id/module-00031-React.js'; /* Metro dependency 31 */
import * as JsxRuntimeModule from '../../../by-id/module-00033-JsxRuntime.js'; /* Metro dependency 33 */
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');
ReactModule;
(FileImportTrackerModule).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_86046}]);
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 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);
}
}
}
}
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 (ActionSheetActionCreators).hideActionSheet();
}
}
}
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);
}
global.__d(_fun86039, 11261, [31, 33, 4080, 11262, 1962, 4496, 11266,
2]) /* metro module 11261, dependencies: [31, 33, 4080, 11262, 1962, 4496, 11266, 2] */;