520 lines
42 KiB
TypeScript
520 lines
42 KiB
TypeScript
/* Metro module 15857; source: modules/guild_settings/native/GuildSettingsModal.tsx; dependencies: [57, 31, 1867, 9113, 661, 33, 15858, 9112, 480, 1244, 5282, 15859, 15872, 15876, 15877, 15887, 15902, 15903, 15915, 15203, 15210, 15927, 15931, 15933, 15212, 15934, 15939, 15940, 15960, 15979, 15983, 15986, 10296, 10311, 10313, 15987, 15992, 15993, 16015, 16055, 16056, 16072, 16111, 16115, 16116, 16119, 16127, 1585, 6518, 566, 5280, 2] */
|
|
import Module00057 from '../../../by-id/module-00057.js'; /* Metro dependency 57 */
|
|
import UseSafeAreaInsetsNative from '../../safe_area/useSafeAreaInsets.native.tsx'; /* Metro dependency 1585 */
|
|
import GuildStore from '../../../stores/GuildStore.tsx'; /* Metro dependency 1867 */
|
|
import GuildSettingsActionCreators from '../GuildSettingsActionCreators.tsx'; /* Metro dependency 9112 */
|
|
import GuildSettingsStore from '../GuildSettingsStore.tsx'; /* Metro dependency 9113 */
|
|
import KickConfirm from '../../guild_moderation/native/KickConfirm.tsx'; /* Metro dependency 10311 */
|
|
import BanConfirm from '../../guild_moderation/native/BanConfirm.tsx'; /* Metro dependency 10313 */
|
|
import IntegrationsSettingsWebhooksOverview from '../../integration_settings/native/IntegrationsSettingsWebhooksOverview.tsx'; /* Metro dependency 15203 */
|
|
import IntegrationsSettingsEditWebhook from '../../integration_settings/native/IntegrationsSettingsEditWebhook.tsx'; /* Metro dependency 15210 */
|
|
import IntegrationsSettingsEditLinkedLobby from '../../integration_settings/native/IntegrationsSettingsEditLinkedLobby.tsx'; /* Metro dependency 15212 */
|
|
import GuildSettingsModalChannelsActionCreators from '../GuildSettingsModalChannelsActionCreators.tsx'; /* Metro dependency 15858 */
|
|
import GuildSettingsModalLanding from './GuildSettingsModalLanding.tsx'; /* Metro dependency 15859 */
|
|
import GuildSettingsModalOverview from './GuildSettingsModalOverview.tsx'; /* Metro dependency 15872 */
|
|
import GuildSettingsModalModeration from '../safety/native/GuildSettingsModalModeration.tsx'; /* Metro dependency 15876 */
|
|
import GuildSettingsModalAuditLog from '../audit_log/native/GuildSettingsModalAuditLog.tsx'; /* Metro dependency 15877 */
|
|
import GuildSettingsModalAuditLogFilter from '../audit_log/native/GuildSettingsModalAuditLogFilter.tsx'; /* Metro dependency 15887 */
|
|
import GuildSettingsModalIntegrations from '../integrations/native/GuildSettingsModalIntegrations.tsx'; /* Metro dependency 15902 */
|
|
import GuildSettingsModalEmoji from './GuildSettingsModalEmoji.tsx'; /* Metro dependency 15903 */
|
|
import GuildSettingsModalStickers from '../server_monetization/stickers/native/GuildSettingsModalStickers.tsx'; /* Metro dependency 15915 */
|
|
import GuildSettingsModalIntegrationSettings from '../integrations/native/GuildSettingsModalIntegrationSettings.tsx'; /* Metro dependency 15927 */
|
|
import GuildSettingsModalIntegrationPlatform from '../integrations/native/GuildSettingsModalIntegrationPlatform.tsx'; /* Metro dependency 15931 */
|
|
import GuildSettingsModalLobbiesLinked from '../apps/native/GuildSettingsModalLobbiesLinked.tsx'; /* Metro dependency 15933 */
|
|
import GuildSettingsModalChannels from './GuildSettingsModalChannels.tsx'; /* Metro dependency 15934 */
|
|
import GuildSettingsModalSecurity from '../safety/native/GuildSettingsModalSecurity.tsx'; /* Metro dependency 15939 */
|
|
import GuildSettingsRoles from '../roles/native/GuildSettingsRoles.tsx'; /* Metro dependency 15940 */
|
|
import GuildSettingsRoleEdit from '../roles/native/GuildSettingsRoleEdit.tsx'; /* Metro dependency 15960 */
|
|
import GuildSettingsModalVanityURL from '../server_monetization/boost_perks/native/GuildSettingsModalVanityURL.tsx'; /* Metro dependency 15979 */
|
|
import GuildSettingsModalInstantInvites from './GuildSettingsModalInstantInvites.tsx'; /* Metro dependency 15983 */
|
|
import GuildSettingsModalMembersWrapper from './GuildSettingsModalMembersWrapper.tsx'; /* Metro dependency 15986 */
|
|
import GuildSettingsModalBans from '../safety/native/GuildSettingsModalBans.tsx'; /* Metro dependency 15987 */
|
|
import GuildSettingsModalCommunity from '../community/native/GuildSettingsModalCommunity.tsx'; /* Metro dependency 15992 */
|
|
import GuildSettingsModalCommunityIntro from '../community/native/GuildSettingsModalCommunityIntro.tsx'; /* Metro dependency 15993 */
|
|
import GuildSettingsRoleSubscriptionsEmpty from '../../guild_role_subscriptions/native/guild_settings/GuildSettingsRoleSubscriptionsEmpty.tsx'; /* Metro dependency 16015 */
|
|
import GuildSettingsRoleSubscriptionsEnableMonetization from '../../guild_role_subscriptions/native/guild_settings/GuildSettingsRoleSubscriptionsEnableMonetization.tsx'; /* Metro dependency 16055 */
|
|
import GuildSettingsRoleSubscriptionsGroupEdit from '../../guild_role_subscriptions/native/guild_settings/GuildSettingsRoleSubscriptionsGroupEdit.tsx'; /* Metro dependency 16056 */
|
|
import GuildSettingsRoleSubscriptionTiers from '../../guild_role_subscriptions/native/guild_settings/GuildSettingsRoleSubscriptionTiers.tsx'; /* Metro dependency 16072 */
|
|
import GuildSettingsRoleSubscriptionTierEdit from '../../guild_role_subscriptions/native/guild_settings/GuildSettingsRoleSubscriptionTierEdit.tsx'; /* Metro dependency 16111 */
|
|
import GuildSettingsRoleSubscriptionsPayments from '../../guild_role_subscriptions/native/guild_settings/GuildSettingsRoleSubscriptionsPayments.tsx'; /* Metro dependency 16115 */
|
|
import GuildSettingsRoleSubscriptionEmojis from '../../guild_role_subscriptions/native/guild_settings/emojis/GuildSettingsRoleSubscriptionEmojis.tsx'; /* Metro dependency 16116 */
|
|
import GuildSettingsRoleSubscriptionTierTemplateSelection from '../../guild_role_subscriptions/native/guild_settings/tier_templates/GuildSettingsRoleSubscriptionTierTemplateSelection.tsx'; /* Metro dependency 16119 */
|
|
import GuildSettingsModalOfficialMessages from './GuildSettingsModalOfficialMessages.tsx'; /* Metro dependency 16127 */
|
|
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 */
|
|
import * as AnalyticsUtilsModule from '../../../external/discord_common/js/packages/analytics-utils/AnalyticsUtils.tsx'; /* Metro dependency 480 */
|
|
import * as FluxModule from '../../../external/discord_common/js/packages/flux/index.tsx'; /* Metro dependency 566 */
|
|
import * as ConstantsModule from '../../../Constants.tsx'; /* Metro dependency 661 */
|
|
import * as IndexNativeModule from '../../../intl/index.native.tsx'; /* Metro dependency 1244 */
|
|
import * as GuildSettingsModalMemberEditModule from './GuildSettingsModalMemberEdit.tsx'; /* Metro dependency 10296 */
|
|
|
|
function _fun121966(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#121966, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:6, offset: 0x02555d70, size: 233 bytes, params: 8, frame: 19
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/guild_settings/native/GuildSettingsModal.tsx');
|
|
exports.default = GuildSettingsModal;
|
|
function close_121967() { // fn#121967, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:203, offset: 0x02555e59, size: 59 bytes, params: 1, frame: 13
|
|
(GuildSettingsModalChannelsActionCreators).terminate();
|
|
(GuildSettingsActionCreators).close();
|
|
}
|
|
|
|
function GuildSettingsModal() { // fn#121968, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:353, offset: 0x02555e94, size: 342 bytes, params: 1, frame: 20
|
|
const value2 = undefined;
|
|
const bottom = (UseSafeAreaInsetsNative)().bottom;
|
|
const value3 = (importDefault(6518) /* metro dependency 6518: useInitialValue */)(function() {
|
|
return GuildSettingsStore.getGuildId();
|
|
});
|
|
const guild = (FluxModule).useStateFromStores([GuildStore], _fun121970);
|
|
const value4 = ReactModule.useMemo(_fun121971, [bottom, value3]);
|
|
ReactModule.useEffect(_fun122012, [guild, value3]);
|
|
const property = Module00057(ReactModule.useState(function() {
|
|
return GuildSettingsStore.getSavedRouteState();
|
|
}), 1)[0];
|
|
const value7 = ReactModule.useCallback(_fun122014, []);
|
|
const value8 = null;
|
|
if (value8 != value4) {
|
|
const Navigator = (require(5280) /* metro dependency 5280: NavigatorNative */).Navigator;
|
|
return (
|
|
<Navigator
|
|
onWillFocus={value7}
|
|
initialRouteName={value8 == property ? GuildSettingsSections.LANDING : value2}
|
|
initialRouteState={value8 != property ? property : value2}
|
|
screens={value4}
|
|
/>
|
|
);
|
|
} else {
|
|
return value8;
|
|
}
|
|
function _fun121970() { // fn#121970, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:475, offset: 0x023e6a58, size: 27 bytes, params: 1, frame: 11
|
|
return GuildStore.getGuild(env0_1);
|
|
}
|
|
|
|
function _fun121971() { // fn#121971, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:508, offset: 0x02555fea, size: 45 bytes, params: 1, frame: 14
|
|
return env0_1 != null ? getScreens_121972(env0_1, bottom) : undefined;
|
|
function getScreens_121972(a0, a1) { // fn#121972, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:520, offset: 0x02556017, size: 3191 bytes, params: 3, frame: 22
|
|
const env0_0 = a0;
|
|
let object = {};
|
|
object.contentContainerStyle = {paddingBottom: 16 + a1};
|
|
object = {};
|
|
const LANDING = GuildSettingsSections.LANDING;
|
|
const object3 = {};
|
|
const ImpressionNames = (AnalyticsUtilsModule).ImpressionNames;
|
|
const GUILD_SETTINGS_LANDING = ImpressionNames.GUILD_SETTINGS_LANDING;
|
|
object3.impressionName = GUILD_SETTINGS_LANDING;
|
|
const intl = (IndexNativeModule).intl;
|
|
let string = intl.string;
|
|
const t = (IndexNativeModule).t;
|
|
object3.title = Reflect.apply(string, intl, [t['154/bL']]);
|
|
object3.headerLeft = (require(5282) /* metro dependency 5282: NavigatorHeaderNative */).getHeaderCloseButton(close_121967);
|
|
object3.render = render_121973;
|
|
object[LANDING] = object3;
|
|
const OVERVIEW = GuildSettingsSections.OVERVIEW;
|
|
const object4 = {};
|
|
const GUILD_SETTINGS_OVERVIEW = ImpressionNames.GUILD_SETTINGS_OVERVIEW;
|
|
object4.impressionName = GUILD_SETTINGS_OVERVIEW;
|
|
object4.title = intl.string(t['/dp6yY']);
|
|
object4.render = render_121974;
|
|
object[OVERVIEW] = object4;
|
|
const MODERATION = GuildSettingsSections.MODERATION;
|
|
const object5 = {};
|
|
const GUILD_SETTINGS_MODERATION = ImpressionNames.GUILD_SETTINGS_MODERATION;
|
|
object5.impressionName = GUILD_SETTINGS_MODERATION;
|
|
object5.title = intl.string(t['5tbTdV']);
|
|
object5.render = render_121975;
|
|
object[MODERATION] = object5;
|
|
const AUDIT_LOG = GuildSettingsSections.AUDIT_LOG;
|
|
const GUILD_SETTINGS_AUDIT_LOG = ImpressionNames.GUILD_SETTINGS_AUDIT_LOG;
|
|
string = intl.string;
|
|
const SPWLyT = t.SPWLyT;
|
|
object[AUDIT_LOG] = {impressionName: GUILD_SETTINGS_AUDIT_LOG, title: Reflect.apply(string, intl, [SPWLyT]),
|
|
postponeRender: true, render: render_121976};
|
|
const AUDIT_LOG_FILTER = GuildSettingsSections.AUDIT_LOG_FILTER;
|
|
object[AUDIT_LOG_FILTER] = {title: intl.string(t.pEasFX), render: render_121977};
|
|
const INTEGRATIONS = GuildSettingsSections.INTEGRATIONS;
|
|
let GUILD_SETTINGS_INTEGRATION = ImpressionNames.GUILD_SETTINGS_INTEGRATION;
|
|
string = intl.string;
|
|
let CIsNZw = t.CIsNZw;
|
|
object[INTEGRATIONS] = {impressionName: GUILD_SETTINGS_INTEGRATION, title: Reflect.apply(string, intl, [CIsNZw]),
|
|
render: render_121978};
|
|
const EMOJI = GuildSettingsSections.EMOJI;
|
|
const GUILD_SETTINGS_EMOJI = ImpressionNames.GUILD_SETTINGS_EMOJI;
|
|
object[EMOJI] = {impressionName: GUILD_SETTINGS_EMOJI, title: intl.string(t.sMOuuS), postponeRender: true,
|
|
render: render_121979};
|
|
const STICKERS = GuildSettingsSections.STICKERS;
|
|
const GUILD_SETTINGS_STICKERS = ImpressionNames.GUILD_SETTINGS_STICKERS;
|
|
string = intl.string;
|
|
const R5nQkS = t.R5nQkS;
|
|
object[STICKERS] = {impressionName: GUILD_SETTINGS_STICKERS, title: Reflect.apply(string, intl, [R5nQkS]),
|
|
postponeRender: true, render: render_121980};
|
|
const WEBHOOKS = GuildSettingsSections.WEBHOOKS;
|
|
let GUILD_SETTINGS_WEBHOOKS = ImpressionNames.GUILD_SETTINGS_WEBHOOKS;
|
|
object[WEBHOOKS] = {impressionName: GUILD_SETTINGS_WEBHOOKS, title: intl.string(t.jp25Id), render: render_121981};
|
|
const EDIT_WEBHOOK = GuildSettingsSections.EDIT_WEBHOOK;
|
|
const object12 = {};
|
|
object12.title = intl.string(t['6SE3L3']);
|
|
object12.render = render_121982;
|
|
object[EDIT_WEBHOOK] = object12;
|
|
const CHANNELS_FOLLOWED = GuildSettingsSections.CHANNELS_FOLLOWED;
|
|
GUILD_SETTINGS_WEBHOOKS = ImpressionNames.GUILD_SETTINGS_WEBHOOKS;
|
|
string = intl.string;
|
|
const OrV60r = t.OrV60r;
|
|
object[CHANNELS_FOLLOWED] = {impressionName: GUILD_SETTINGS_WEBHOOKS, title: Reflect.apply(string, intl, [OrV60r]),
|
|
render: render_121983};
|
|
const INTEGRATION_SETTINGS = GuildSettingsSections.INTEGRATION_SETTINGS;
|
|
GUILD_SETTINGS_INTEGRATION = ImpressionNames.GUILD_SETTINGS_INTEGRATION;
|
|
object[INTEGRATION_SETTINGS] = {impressionName: GUILD_SETTINGS_INTEGRATION, title: intl.string(t.sE5hSZ),
|
|
render: render_121984};
|
|
const INTEGRATION_PLATFORM = GuildSettingsSections.INTEGRATION_PLATFORM;
|
|
string = intl.string;
|
|
CIsNZw = t.CIsNZw;
|
|
object[INTEGRATION_PLATFORM] = {title: Reflect.apply(string, intl, [CIsNZw]), render: render_121985};
|
|
const LOBBIES_LINKED = GuildSettingsSections.LOBBIES_LINKED;
|
|
object[LOBBIES_LINKED] = {title: intl.string(t.tqtDXC), render: render_121986};
|
|
const EDIT_LINKED_LOBBY = GuildSettingsSections.EDIT_LINKED_LOBBY;
|
|
string = intl.string;
|
|
const OJknhi = t.OJknhi;
|
|
object[EDIT_LINKED_LOBBY] = {title: Reflect.apply(string, intl, [OJknhi]), render: render_121987};
|
|
const CHANNELS = GuildSettingsSections.CHANNELS;
|
|
const GUILD_SETTINGS_CHANNELS = ImpressionNames.GUILD_SETTINGS_CHANNELS;
|
|
string = intl.string;
|
|
const OGiMXJ = t.OGiMXJ;
|
|
object[CHANNELS] = {impressionName: GUILD_SETTINGS_CHANNELS, title: Reflect.apply(string, intl, [OGiMXJ]),
|
|
postponeRender: true, render: render_121988};
|
|
const SECURITY = GuildSettingsSections.SECURITY;
|
|
const GUILD_SETTINGS_SECURITY = ImpressionNames.GUILD_SETTINGS_SECURITY;
|
|
string = intl.string;
|
|
const Am9YHi = t.Am9YHi;
|
|
object[SECURITY] = {impressionName: GUILD_SETTINGS_SECURITY, title: Reflect.apply(string, intl, [Am9YHi]),
|
|
render: render_121989};
|
|
const ROLES = GuildSettingsSections.ROLES;
|
|
const object20 = {};
|
|
const GUILD_SETTINGS_ROLES = ImpressionNames.GUILD_SETTINGS_ROLES;
|
|
object20.impressionName = GUILD_SETTINGS_ROLES;
|
|
object20.title = intl.string(t['LPJmL/']);
|
|
object20.render = render_121990;
|
|
object[ROLES] = object20;
|
|
const ROLE_EDIT_REFRESH = GuildSettingsSections.ROLE_EDIT_REFRESH;
|
|
const object21 = {};
|
|
object21.title = intl.string(t['LPJmL/']);
|
|
object21.render = render_121991;
|
|
object[ROLE_EDIT_REFRESH] = object21;
|
|
const VANITY_URL = GuildSettingsSections.VANITY_URL;
|
|
const object22 = {};
|
|
object22.title = intl.string(t['5XZKy/']);
|
|
object22.render = render_121992;
|
|
object[VANITY_URL] = object22;
|
|
const INSTANT_INVITES = GuildSettingsSections.INSTANT_INVITES;
|
|
const GUILD_SETTINGS_INVITES = ImpressionNames.GUILD_SETTINGS_INVITES;
|
|
object[INSTANT_INVITES] = {impressionName: GUILD_SETTINGS_INVITES, title: intl.string(t.ngRFjZ),
|
|
postponeRender: true, render: render_121993};
|
|
const MEMBERS = GuildSettingsSections.MEMBERS;
|
|
const object23 = {};
|
|
const GUILD_SETTINGS_MEMBERS = ImpressionNames.GUILD_SETTINGS_MEMBERS;
|
|
object23.impressionName = GUILD_SETTINGS_MEMBERS;
|
|
object23.title = intl.string(t['9Oq93m']);
|
|
object23.postponeRender = true;
|
|
object23.render = render_121994;
|
|
object[MEMBERS] = object23;
|
|
const MEMBER_EDIT = GuildSettingsSections.MEMBER_EDIT;
|
|
object[MEMBER_EDIT] = {render: render_121995};
|
|
const MEMBER_KICK = GuildSettingsSections.MEMBER_KICK;
|
|
object[MEMBER_KICK] = {headerTitle: function() {
|
|
return null;
|
|
}, render: render_121997};
|
|
const MEMBER_BAN = GuildSettingsSections.MEMBER_BAN;
|
|
object[MEMBER_BAN] = {headerTitle: function() {
|
|
return null;
|
|
}, render: render_121999};
|
|
const BANS = GuildSettingsSections.BANS;
|
|
const GUILD_SETTINGS_BANS = ImpressionNames.GUILD_SETTINGS_BANS;
|
|
string = intl.string;
|
|
const ZbeITS = t.ZbeITS;
|
|
object[BANS] = {impressionName: GUILD_SETTINGS_BANS, title: Reflect.apply(string, intl, [ZbeITS]),
|
|
postponeRender: true, render: render_122000};
|
|
const COMMUNITY = GuildSettingsSections.COMMUNITY;
|
|
const GUILD_SETTINGS_COMMUNITY_OVERVIEW = ImpressionNames.GUILD_SETTINGS_COMMUNITY_OVERVIEW;
|
|
object[COMMUNITY] = {impressionName: GUILD_SETTINGS_COMMUNITY_OVERVIEW, title: intl.string(t.nRtNqn),
|
|
postponeRender: true, render: render_122001};
|
|
const COMMUNITY_INTRO = GuildSettingsSections.COMMUNITY_INTRO;
|
|
const GUILD_SETTINGS_COMMUNITY_WELCOME = ImpressionNames.GUILD_SETTINGS_COMMUNITY_WELCOME;
|
|
string = intl.string;
|
|
const ElKTeb = t.ElKTeb;
|
|
object[COMMUNITY_INTRO] = {impressionName: GUILD_SETTINGS_COMMUNITY_WELCOME, title: Reflect.apply(string, intl,
|
|
[ElKTeb]), render: render_122002};
|
|
const ROLE_SUBSCRIPTIONS = GuildSettingsSections.ROLE_SUBSCRIPTIONS;
|
|
const object24 = {};
|
|
object24.title = intl.string(t['KzCF/6']);
|
|
object24.render = render_122003;
|
|
object[ROLE_SUBSCRIPTIONS] = object24;
|
|
const ROLE_SUBSCRIPTIONS_ENABLE_MONETIZATION = GuildSettingsSections.ROLE_SUBSCRIPTIONS_ENABLE_MONETIZATION;
|
|
const object25 = {};
|
|
object25.title = intl.string(t['KzCF/6']);
|
|
object25.render = render_122004;
|
|
object[ROLE_SUBSCRIPTIONS_ENABLE_MONETIZATION] = object25;
|
|
const ROLE_SUBSCRIPTIONS_BASIC = GuildSettingsSections.ROLE_SUBSCRIPTIONS_BASIC;
|
|
const object26 = {};
|
|
object26.title = intl.string(t['/CfKoD']);
|
|
object26.render = render_122005;
|
|
object[ROLE_SUBSCRIPTIONS_BASIC] = object26;
|
|
const ROLE_SUBSCRIPTIONS_TIERS = GuildSettingsSections.ROLE_SUBSCRIPTIONS_TIERS;
|
|
object[ROLE_SUBSCRIPTIONS_TIERS] = {title: intl.string(t.pXbGYc), render: render_122006};
|
|
const ROLE_SUBSCRIPTIONS_TIER_EDIT = GuildSettingsSections.ROLE_SUBSCRIPTIONS_TIER_EDIT;
|
|
const object27 = {};
|
|
object27.title = intl.string(t['KzCF/6']);
|
|
object27.render = render_122007;
|
|
object[ROLE_SUBSCRIPTIONS_TIER_EDIT] = object27;
|
|
const ROLE_SUBSCRIPTIONS_PAYMENTS = GuildSettingsSections.ROLE_SUBSCRIPTIONS_PAYMENTS;
|
|
object[ROLE_SUBSCRIPTIONS_PAYMENTS] = {title: intl.string(t.p2Rsdl), render: render_122008};
|
|
const ROLE_SUBSCRIPTIONS_EMOJIS = GuildSettingsSections.ROLE_SUBSCRIPTIONS_EMOJIS;
|
|
string = intl.string;
|
|
const C5Dbwn = t.C5Dbwn;
|
|
object[ROLE_SUBSCRIPTIONS_EMOJIS] = {title: Reflect.apply(string, intl, [C5Dbwn]), render: render_122009};
|
|
const ROLE_SUBSCRIPTIONS_TIER_TEMPLATE_SELECTION = GuildSettingsSections.ROLE_SUBSCRIPTIONS_TIER_TEMPLATE_SELECTION;
|
|
const object28 = {};
|
|
object28.title = intl.string(t['KzCF/6']);
|
|
object28.render = render_122010;
|
|
object[ROLE_SUBSCRIPTIONS_TIER_TEMPLATE_SELECTION] = object28;
|
|
const OFFICIAL_MESSAGES = GuildSettingsSections.OFFICIAL_MESSAGES;
|
|
object[OFFICIAL_MESSAGES] = {title: intl.string(t.xHEzFh), render: render_122011};
|
|
return object;
|
|
function getScreens_121972Render() { // fn#121973, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:780, owner: getScreens_121972.render, offset: 0x02556c8e, size: 61 bytes, params: 1, frame: 15
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
return ((Component) => <Component guildId={env0_0} {...env0_1} />)(GuildSettingsModalLanding);
|
|
}
|
|
|
|
function getScreens_121972Render_121974() { // fn#121974, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:945, owner: getScreens_121972.render, offset: 0x02556ccb, size: 53 bytes, params: 1, frame: 14
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
return ((Component) => <Component {...env0_1} />)(GuildSettingsModalOverview);
|
|
}
|
|
|
|
function getScreens_121972Render_121975() { // fn#121975, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:1104, owner: getScreens_121972.render, offset: 0x02556d00, size: 53 bytes, params: 1, frame: 14
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
return ((Component) => <Component {...env0_1} />)(GuildSettingsModalModeration);
|
|
}
|
|
|
|
function getScreens_121972Render_121976() { // fn#121976, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:1276, owner: getScreens_121972.render, offset: 0x02556d35, size: 61 bytes, params: 1, frame: 15
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
return ((Component) => <Component guildId={env0_0} {...env0_1} />)(GuildSettingsModalAuditLog);
|
|
}
|
|
|
|
function getScreens_121972Render_121977(a0) { // fn#121977, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:1383, owner: getScreens_121972.render, offset: 0x02556d72, size: 71 bytes, params: 2, frame: 15
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
return ((Component) => <Component guildId={env0_0} {...a0} {...env0_1} />)(GuildSettingsModalAuditLogFilter);
|
|
}
|
|
|
|
function getScreens_121972Render_121978() { // fn#121978, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:1556, owner: getScreens_121972.render, offset: 0x02556db9, size: 53 bytes, params: 1, frame: 14
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
return ((Component) => <Component {...env0_1} />)(GuildSettingsModalIntegrations);
|
|
}
|
|
|
|
function getScreens_121972Render_121979() { // fn#121979, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:1720, owner: getScreens_121972.render, offset: 0x02556dee, size: 61 bytes, params: 1, frame: 15
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
return ((Component) => <Component guildId={env0_0} {...env0_1} />)(GuildSettingsModalEmoji);
|
|
}
|
|
|
|
function getScreens_121972Render_121980() { // fn#121980, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:1900, owner: getScreens_121972.render, offset: 0x02556e2b, size: 61 bytes, params: 1, frame: 15
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
return ((Component) => <Component guildId={env0_0} {...env0_1} />)(GuildSettingsModalStickers);
|
|
}
|
|
|
|
function getScreens_121972Render_121981() { // fn#121981, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:2062, owner: getScreens_121972.render, offset: 0x02556e68, size: 76 bytes, params: 1, frame: 16
|
|
const binding = env0_0;
|
|
const INCOMING = WebhookTypes.INCOMING;
|
|
return (
|
|
<IntegrationsSettingsWebhooksOverview
|
|
guildId={binding}
|
|
webhookType={INCOMING}
|
|
{...env0_1}
|
|
/>
|
|
);
|
|
}
|
|
|
|
function getScreens_121972Render_121982(a0) { // fn#121982, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:2191, owner: getScreens_121972.render, offset: 0x02556eb4, size: 63 bytes, params: 2, frame: 14
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
return ((Component) => <Component {...a0} {...env0_1} />)(IntegrationsSettingsEditWebhook);
|
|
}
|
|
|
|
function getScreens_121972Render_121983() { // fn#121983, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:2356, owner: getScreens_121972.render, offset: 0x02556ef3, size: 76 bytes, params: 1, frame: 16
|
|
const binding = env0_0;
|
|
const CHANNEL_FOLLOWER = WebhookTypes.CHANNEL_FOLLOWER;
|
|
return (
|
|
<IntegrationsSettingsWebhooksOverview
|
|
guildId={binding}
|
|
webhookType={CHANNEL_FOLLOWER}
|
|
{...env0_1}
|
|
/>
|
|
);
|
|
}
|
|
|
|
function getScreens_121972Render_121984(a0) { // fn#121984, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:2564, owner: getScreens_121972.render, offset: 0x02556f3f, size: 63 bytes, params: 2, frame: 14
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
return ((Component) => <Component {...a0} {...env0_1} />)(GuildSettingsModalIntegrationSettings);
|
|
}
|
|
|
|
function getScreens_121972Render_121985(a0) { // fn#121985, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:2669, owner: getScreens_121972.render, offset: 0x02556f7e, size: 78 bytes, params: 2, frame: 15
|
|
const defaultImportProps = {...a0};
|
|
const close_121967Binding = close_121967;
|
|
defaultImportProps['closeGuildSettings'] = close_121967Binding;
|
|
copyDataProperties(defaultImportProps, env0_1, close_121967Binding);
|
|
return <GuildSettingsModalIntegrationPlatform {...defaultImportProps} />;
|
|
}
|
|
|
|
function getScreens_121972Render_121986() { // fn#121986, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:2793, owner: getScreens_121972.render, offset: 0x02556fcc, size: 61 bytes, params: 1, frame: 15
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
return ((Component) => <Component guildId={env0_0} {...env0_1} />)(GuildSettingsModalLobbiesLinked);
|
|
}
|
|
|
|
function getScreens_121972Render_121987(a0) { // fn#121987, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:2901, owner: getScreens_121972.render, offset: 0x02557009, size: 63 bytes, params: 2, frame: 14
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
return ((Component) => <Component {...a0} {...env0_1} />)(IntegrationsSettingsEditLinkedLobby);
|
|
}
|
|
|
|
function getScreens_121972Render_121988() { // fn#121988, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:3075, owner: getScreens_121972.render, offset: 0x02557048, size: 61 bytes, params: 1, frame: 15
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
return ((Component) => <Component guildId={env0_0} {...env0_1} />)(GuildSettingsModalChannels);
|
|
}
|
|
|
|
function getScreens_121972Render_121989() { // fn#121989, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:3237, owner: getScreens_121972.render, offset: 0x02557085, size: 61 bytes, params: 1, frame: 15
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
return ((Component) => <Component guildId={env0_0} {...env0_1} />)(GuildSettingsModalSecurity);
|
|
}
|
|
|
|
function getScreens_121972Render_121990() { // fn#121990, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:3396, owner: getScreens_121972.render, offset: 0x025570c2, size: 61 bytes, params: 1, frame: 15
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
return ((Component) => <Component guildId={env0_0} {...env0_1} />)(GuildSettingsRoles);
|
|
}
|
|
|
|
function getScreens_121972Render_121991(a0) { // fn#121991, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:3507, owner: getScreens_121972.render, offset: 0x025570ff, size: 71 bytes, params: 2, frame: 15
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
return ((Component) => <Component guildId={env0_0} {...a0} {...env0_1} />)(GuildSettingsRoleEdit);
|
|
}
|
|
|
|
function getScreens_121972Render_121992() { // fn#121992, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:3615, owner: getScreens_121972.render, offset: 0x02557146, size: 61 bytes, params: 1, frame: 15
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
return ((Component) => <Component guildId={env0_0} {...env0_1} />)(GuildSettingsModalVanityURL);
|
|
}
|
|
|
|
function getScreens_121972Render_121993() { // fn#121993, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:3801, owner: getScreens_121972.render, offset: 0x02557183, size: 61 bytes, params: 1, frame: 15
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
return ((Component) => <Component guildId={env0_0} {...env0_1} />)(GuildSettingsModalInstantInvites);
|
|
}
|
|
|
|
function getScreens_121972Render_121994() { // fn#121994, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:3982, owner: getScreens_121972.render, offset: 0x025571c0, size: 61 bytes, params: 1, frame: 15
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
return ((Component) => <Component guildId={env0_0} {...env0_1} />)(GuildSettingsModalMembersWrapper);
|
|
}
|
|
|
|
function getScreens_121972Render_121995(a0) { // fn#121995, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:4040, owner: getScreens_121972.render, offset: 0x025571fd, size: 77 bytes, params: 2, frame: 15
|
|
const GuildSettingsModalMemberEditScene = (GuildSettingsModalMemberEditModule).GuildSettingsModalMemberEditScene;
|
|
return (
|
|
<GuildSettingsModalMemberEditScene
|
|
guildId={env0_0}
|
|
{...a0}
|
|
{...env0_1}
|
|
/>
|
|
);
|
|
}
|
|
|
|
function getScreens_121972Render_121997(a0) { // fn#121997, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:4157, owner: getScreens_121972.render, offset: 0x0255724a, size: 71 bytes, params: 2, frame: 15
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
return ((Component) => <Component guildId={env0_0} {...a0} {...env0_1} />)(KickConfirm);
|
|
}
|
|
|
|
function getScreens_121972Render_121999(a0) { // fn#121999, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:4239, owner: getScreens_121972.render, offset: 0x02557291, size: 71 bytes, params: 2, frame: 15
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
return ((Component) => <Component guildId={env0_0} {...a0} {...env0_1} />)(BanConfirm);
|
|
}
|
|
|
|
function getScreens_121972Render_122000() { // fn#122000, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:4415, owner: getScreens_121972.render, offset: 0x025572d8, size: 61 bytes, params: 1, frame: 15
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
return ((Component) => <Component guildId={env0_0} {...env0_1} />)(GuildSettingsModalBans);
|
|
}
|
|
|
|
function getScreens_121972Render_122001(a0) { // fn#122001, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:4606, owner: getScreens_121972.render, offset: 0x02557315, size: 65 bytes, params: 2, frame: 15
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
return ((Component) => <Component {...a0} {...{['guildId']: env0_0}} />)(GuildSettingsModalCommunity);
|
|
}
|
|
|
|
function getScreens_121972Render_122002(a0) { // fn#122002, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:4783, owner: getScreens_121972.render, offset: 0x02557356, size: 71 bytes, params: 2, frame: 15
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
return ((Component) => <Component guildId={env0_0} {...a0} {...env0_1} />)(GuildSettingsModalCommunityIntro);
|
|
}
|
|
|
|
function getScreens_121972Render_122003() { // fn#122003, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:4899, owner: getScreens_121972.render, offset: 0x0255739d, size: 50 bytes, params: 1, frame: 14
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
return ((Component) => <Component guildId={env0_0} />)(GuildSettingsRoleSubscriptionsEmpty);
|
|
}
|
|
|
|
function getScreens_121972Render_122004() { // fn#122004, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:5026, owner: getScreens_121972.render, offset: 0x025573cf, size: 50 bytes, params: 1, frame: 14
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
return ((Component) => <Component guildId={env0_0} />)(GuildSettingsRoleSubscriptionsEnableMonetization);
|
|
}
|
|
|
|
function getScreens_121972Render_122005() { // fn#122005, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:5139, owner: getScreens_121972.render, offset: 0x02557401, size: 50 bytes, params: 1, frame: 14
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
return ((Component) => <Component guildId={env0_0} />)(GuildSettingsRoleSubscriptionsGroupEdit);
|
|
}
|
|
|
|
function getScreens_121972Render_122006() { // fn#122006, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:5249, owner: getScreens_121972.render, offset: 0x02557433, size: 50 bytes, params: 1, frame: 14
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
return ((Component) => <Component guildId={env0_0} />)(GuildSettingsRoleSubscriptionTiers);
|
|
}
|
|
|
|
function getScreens_121972Render_122007(a0) { // fn#122007, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:5366, owner: getScreens_121972.render, offset: 0x02557465, size: 65 bytes, params: 2, frame: 15
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
return ((Component) => <Component {...a0} {...{['guildId']: env0_0}} />)(GuildSettingsRoleSubscriptionTierEdit);
|
|
}
|
|
|
|
function getScreens_121972Render_122008() { // fn#122008, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:5483, owner: getScreens_121972.render, offset: 0x025574a6, size: 50 bytes, params: 1, frame: 14
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
return ((Component) => <Component guildId={env0_0} />)(GuildSettingsRoleSubscriptionsPayments);
|
|
}
|
|
|
|
function getScreens_121972Render_122009() { // fn#122009, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:5594, owner: getScreens_121972.render, offset: 0x025574d8, size: 50 bytes, params: 1, frame: 14
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
return ((Component) => <Component guildId={env0_0} />)(GuildSettingsRoleSubscriptionEmojis);
|
|
}
|
|
|
|
function getScreens_121972Render_122010(a0) { // fn#122010, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:5725, owner: getScreens_121972.render, offset: 0x0255750a, size: 65 bytes, params: 2, frame: 15
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
return ((Component) => <Component {...a0} {...{['guildId']: env0_0}} />)(GuildSettingsRoleSubscriptionTierTemplateSelection);
|
|
}
|
|
|
|
function getScreens_121972Render_122011() { // fn#122011, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:5832, owner: getScreens_121972.render, offset: 0x0255754b, size: 50 bytes, params: 1, frame: 14
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
return ((Component) => <Component guildId={env0_0} />)(GuildSettingsModalOfficialMessages);
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function _fun122012() { // fn#122012, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:5896, offset: 0x0255757d, size: 66 bytes, params: 1, frame: 12
|
|
var value;
|
|
if (!(env0_1 != null && guild != null)) {
|
|
value = environment.__proto__;
|
|
value = importDefault(9112) /* metro dependency 9112: GuildSettingsActionCreators */;
|
|
value.close();
|
|
}
|
|
}
|
|
|
|
function _fun122014({navigation}) { // fn#122014, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16065:6020, offset: 0x025575d4, size: 57 bytes, params: 2, frame: 13
|
|
let value = environment.__proto__;
|
|
value = importDefault(9112) /* metro dependency 9112: GuildSettingsActionCreators */;
|
|
const saveRouteStack = value.saveRouteStack;
|
|
const getState = navigation.getState;
|
|
Reflect.apply(saveRouteStack, value, [Reflect.apply(getState, navigation, [])]);
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun121966, 15857, [57, 31, 1867, 9113, 661, 33, 15858, 9112, 480, 1244, 5282, 15859, 15872, 15876,
|
|
15877, 15887, 15902, 15903, 15915, 15203, 15210, 15927, 15931, 15933, 15212, 15934, 15939, 15940, 15960, 15979,
|
|
15983, 15986, 10296, 10311, 10313, 15987, 15992, 15993, 16015, 16055, 16056, 16072, 16111, 16115, 16116, 16119,
|
|
16127, 1585, 6518, 566, 5280,
|
|
2]) /* metro module 15857, dependencies: [57, 31, 1867, 9113, 661, 33, 15858, 9112, 480, 1244, 5282, 15859, 15872, 15876, 15877, 15887, 15902, 15903, 15915, 15203, 15210, 15927, 15931, 15933, 15212, 15934, 15939, 15940, 15960, 15979, 15983, 15986, 10296, 10311, 10313, 15987, 15992, 15993, 16015, 16055, 16056, 16072, 16111, 16115, 16116, 16119, 16127, 1585, 6518, 566, 5280, 2] */;
|