Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,34 @@
|
||||
/* Metro module 15531; source: modules/voice_panel/native/alerts/VoicePanelLockedIcon.tsx; dependencies: [31, 33, 4501, 697, 6821, 1305, 15532, 2] */
|
||||
function _fun118926(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#118926, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15728:6, offset: 0x024f4ffb, size: 240 bytes, params: 8, frame: 22
|
||||
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;
|
||||
const createStylesModule = require(4501) /* metro dependency 4501: createStyles */;
|
||||
const createStyles = createStylesModule.createStyles;
|
||||
const object = {'alignItems': 'center', 'justifyContent': 'center', 'alignSelf': 'center', 'width': 64,
|
||||
'height': 64};
|
||||
const BACKGROUND_SURFACE_HIGH = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_SURFACE_HIGH;
|
||||
object.backgroundColor = BACKGROUND_SURFACE_HIGH;
|
||||
object.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.round;
|
||||
const env0_4 = Reflect.apply(createStyles, createStylesModule, [{container: object, icon: {}}]);
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/voice_panel/native/alerts/VoicePanelLockedIcon.tsx');
|
||||
exports.default = VoicePanelLockedIcon;
|
||||
}
|
||||
|
||||
function VoicePanelLockedIcon() { // fn#118927, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15728:436, offset: 0x024f50eb, size: 139 bytes, params: 1, frame: 20
|
||||
const styles = useStyles();
|
||||
const NativeView = importDefault(6821) /* metro dependency 6821: NativeView */;
|
||||
const Icon = (require(1305) /* metro dependency 1305: native */).Icon;
|
||||
const iconProps = {style: styles.icon, source: importDefault(15532) /* metro dependency 15532 */};
|
||||
const IconSizes = (require(1305) /* metro dependency 1305: native */).IconSizes;
|
||||
const LARGE = IconSizes.LARGE;
|
||||
iconProps.size = LARGE;
|
||||
return (
|
||||
<NativeView style={styles.container}>
|
||||
<Icon {...iconProps} />
|
||||
</NativeView>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
/* Metro module 15533; source: modules/voice_panel/native/alerts/VoicePanelMaxCapacityAlert.tsx; dependencies: [31, 1379, 33, 632, 4500, 4500, 15531, 1244, 2] */
|
||||
function _fun118929(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#118929, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15730:6, offset: 0x024f51bc, size: 166 bytes, params: 8, frame: 19
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
importAll(31) /* metro dependency 31 */;
|
||||
const channelStore = importDefault(1379) /* metro dependency 1379: ChannelStore */;
|
||||
const env0_4 = (require(33) /* metro dependency 33 */).jsx;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/voice_panel/native/alerts/VoicePanelMaxCapacityAlert.tsx');
|
||||
exports.default = VoicePanelMaxCapacityAlert;
|
||||
exports.VOICE_PANEL_MAX_CAPACITY_KEY = 'voice-panel-max-capacity';
|
||||
}
|
||||
|
||||
function VoicePanelMaxCapacityAlert({channelId}) { // fn#118930, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15730:236, offset: 0x024f5262, size: 358 bytes, params: 2, frame: 24
|
||||
var object2;
|
||||
const value2 = (require(632) /* metro dependency 632: useStateFromStores */).useStateFromStores([ChannelStore],
|
||||
_fun118931, [channelId]);
|
||||
const value3 = (require(4500) /* metro dependency 4500: AlertModalNative */).useDismissModalCallback();
|
||||
const AlertModal = (require(4500) /* metro dependency 4500: AlertModalNative */).AlertModal;
|
||||
object2 = {header: ((Component) => <Component />)(importDefault(15531) /* metro dependency 15531: VoicePanelLockedIcon */)};
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
object2.title = intl.string((require(1244) /* metro dependency 1244: indexNative */).t.hHbsQj);
|
||||
object2.content = intl.formatToPlainString((require(1244) /* metro dependency 1244: indexNative */).t['387SQH'],
|
||||
{count: value2});
|
||||
const AlertActionButton = (require(4500) /* metro dependency 4500: AlertModalNative */).AlertActionButton;
|
||||
object2.actions = <AlertActionButton variant="secondary" text={intl.string((require(1244) /* metro dependency 1244: indexNative */).t['NX+WJN'])} onPress={value3} />;
|
||||
return <AlertModal {...object2} />;
|
||||
}
|
||||
|
||||
function _fun118931() { // fn#118931, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15730:325, offset: 0x024f53c8, size: 55 bytes, params: 1, frame: 12
|
||||
const value = environment.__proto__;
|
||||
const userLimit = ChannelStore.getChannel(channelId)?.userLimit;
|
||||
return userLimit ?? 0;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
/* Metro module 15530; source: modules/voice_panel/native/alerts/VoicePanelNoJoinPermissionsAlert.tsx; dependencies: [31, 33, 4500, 4500, 15531, 1244, 2] */
|
||||
function _fun118924(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#118924, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15727:6, offset: 0x024f4e47, size: 150 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/voice_panel/native/alerts/VoicePanelNoJoinPermissionsAlert.tsx');
|
||||
exports.default = VoicePanelNoJoinPermissionsAlert;
|
||||
exports.VOICE_PANEL_NO_JOIN_PERMS_KEY = 'voice-panel-no-join-perms';
|
||||
}
|
||||
|
||||
function VoicePanelNoJoinPermissionsAlert() { // fn#118925, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15727:232, offset: 0x024f4edd, size: 286 bytes, params: 1, frame: 21
|
||||
const value2 = (require(4500) /* metro dependency 4500: AlertModalNative */).useDismissModalCallback();
|
||||
const AlertModal = (require(4500) /* metro dependency 4500: AlertModalNative */).AlertModal;
|
||||
const alertModalProps = {header: ((Component) => <Component />)(importDefault(15531) /* metro dependency 15531: VoicePanelLockedIcon */)};
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
alertModalProps.title = intl.string((require(1244) /* metro dependency 1244: indexNative */).t['7/2/3M']);
|
||||
alertModalProps.content = intl.string((require(1244) /* metro dependency 1244: indexNative */).t.xsenup);
|
||||
const AlertActionButton = (require(4500) /* metro dependency 4500: AlertModalNative */).AlertActionButton;
|
||||
alertModalProps.actions = <AlertActionButton variant="secondary" text={intl.string((require(1244) /* metro dependency 1244: indexNative */).t['NX+WJN'])} onPress={value2} />;
|
||||
return <AlertModal {...alertModalProps} />;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
/* Metro module 15540; source: modules/voice_panel/native/alerts/VoicePanelNoVideoPermissionsAlert.tsx; dependencies: [31, 33, 4500, 4500, 1244, 2] */
|
||||
function _fun118961(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#118961, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15737:6, offset: 0x024f6bb1, size: 143 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_2 = (require(33) /* metro dependency 33 */).jsx;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/voice_panel/native/alerts/VoicePanelNoVideoPermissionsAlert.tsx');
|
||||
exports.default = VoicePanelNoVideoPermissionsAlert;
|
||||
exports.VOICE_PANEL_NO_VIDEO_PERMS_KEY = 'voice-panel-no-video-perms';
|
||||
}
|
||||
|
||||
function VoicePanelNoVideoPermissionsAlert() { // fn#118962, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15737:233, offset: 0x024f6c40, size: 254 bytes, params: 1, frame: 21
|
||||
const value2 = (require(4500) /* metro dependency 4500: AlertModalNative */).useDismissModalCallback();
|
||||
const AlertModal = (require(4500) /* metro dependency 4500: AlertModalNative */).AlertModal;
|
||||
const object2 = {};
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
const string = intl.string;
|
||||
const OYzPcW = (require(1244) /* metro dependency 1244: indexNative */).t.OYzPcW;
|
||||
object2.title = Reflect.apply(string, intl, [OYzPcW]);
|
||||
object2.content = intl.string((require(1244) /* metro dependency 1244: indexNative */).t.oBH7Y2);
|
||||
const AlertActionButton = (require(4500) /* metro dependency 4500: AlertModalNative */).AlertActionButton;
|
||||
object2.actions = <AlertActionButton variant="secondary" text={intl.string((require(1244) /* metro dependency 1244: indexNative */).t['NX+WJN'])} onPress={value2} />;
|
||||
return <AlertModal {...object2} />;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,56 @@
|
||||
/* Metro module 15534; source: modules/voice_panel/native/alerts/VoicePanelNsfwAlert.tsx; dependencies: [31, 1422, 1867, 33, 4500, 4500, 1244, 6593, 4796, 2] */
|
||||
function _fun118932(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#118932, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15731:6, offset: 0x024f53ff, size: 197 bytes, params: 8, frame: 19
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
importAll(31) /* metro dependency 31 */;
|
||||
const env0_3 = (require(1422) /* metro dependency 1422: GuildRecord */).isGuildNSFW;
|
||||
const guildStore = importDefault(1867) /* metro dependency 1867: GuildStore */;
|
||||
const value = require(33) /* metro dependency 33 */;
|
||||
const env0_5 = value.jsx;
|
||||
const env0_6 = value.jsxs;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/voice_panel/native/alerts/VoicePanelNsfwAlert.tsx');
|
||||
exports.default = VoicePanelNsfwAlert;
|
||||
exports.VOICE_PANEL_NSFW_KEY = 'voice-panel-nsfw';
|
||||
}
|
||||
|
||||
function VoicePanelNsfwAlert({guildId, channelId}) { // fn#118933, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15731:264, offset: 0x024f54c4, size: 517 bytes, params: 2, frame: 28
|
||||
const env0_2 = (require(4500) /* metro dependency 4500: AlertModalNative */).useDismissModalCallback();
|
||||
const isGuildNSFWBinding = isGuildNSFW;
|
||||
const getGuild = GuildStore.getGuild;
|
||||
const isGuildNSFW2 = isGuildNSFWBinding(Reflect.apply(getGuild, GuildStore, [guildId]));
|
||||
const AlertModal = (require(4500) /* metro dependency 4500: AlertModalNative */).AlertModal;
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
let string = intl.string;
|
||||
const t = (require(1244) /* metro dependency 1244: indexNative */).t;
|
||||
const r6 = isGuildNSFW2 ? Reflect.apply(string, intl, [t.xi46lg]) : Reflect.apply(string, intl, [t.ZmwvDc]);
|
||||
string = intl.string;
|
||||
const r5 = isGuildNSFW2 ? Reflect.apply(string, intl, [t.ZtuRts]) : Reflect.apply(string, intl, [t.E4Cd5I]);
|
||||
const AlertActions = (require(4500) /* metro dependency 4500: AlertModalNative */).AlertActions;
|
||||
const AlertActionButton = (require(4500) /* metro dependency 4500: AlertModalNative */).AlertActionButton;
|
||||
const alertActionButton = <AlertActionButton variant="primary" onPress={onPress_118934} text={intl.string((require(1244) /* metro dependency 1244: indexNative */).t.wVq7uo)} key="confirm" />;
|
||||
return (
|
||||
<AlertModal
|
||||
title={r6}
|
||||
content={r5}
|
||||
actions={<AlertActions>{alertActionButton}<AlertActionButton variant="secondary" onPress={onPress_118935} text={intl.string((require(1244) /* metro dependency 1244: indexNative */).t['/g10LC'])} key="add-profile-picture" /></AlertActions>}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
function VoicePanelNsfwAlertOnPress() { // fn#118934, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15731:673, owner: VoicePanelNsfwAlert.onPress, offset: 0x024f56c9, size: 80 bytes, params: 1, frame: 15
|
||||
let value = environment.__proto__;
|
||||
value = importDefault(6593) /* metro dependency 6593: GuildActionCreators */;
|
||||
value.nsfwAgree(guildId);
|
||||
value = importDefault(4796) /* metro dependency 4796: SelectedChannelActionCreators */;
|
||||
value.selectVoiceChannel(channelId);
|
||||
env0_2();
|
||||
}
|
||||
|
||||
function VoicePanelNsfwAlertOnPress_118935() { // fn#118935, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15731:846, owner: VoicePanelNsfwAlert.onPress, offset: 0x024f5719, size: 53 bytes, params: 1, frame: 13
|
||||
let value = environment.__proto__;
|
||||
value = importDefault(6593) /* metro dependency 6593: GuildActionCreators */;
|
||||
value.nsfwReturnToSafety(guildId);
|
||||
env0_2();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user