1280 lines
63 KiB
TypeScript
1280 lines
63 KiB
TypeScript
/* Metro module 3829; source: modules/user_settings/UserSettings.tsx; dependencies: [3830, 1348, 670, 3831, 661, 3832, 3833, 1345, 1314, 628, 3834, 22, 566, 3835, 3842, 1352, 2] */
|
|
function _fun31098(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#31098, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3968:6, offset: 0x00ff3586, size: 6219 bytes, params: 8, frame: 140
|
|
const env0_0 = require;
|
|
let Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const userSettingsOverridesStore = importDefault(3830) /* metro dependency 3830: UserSettingsOverridesStore */;
|
|
const userSettingsProtoStore = importDefault(1348) /* metro dependency 1348: UserSettingsProtoStore */;
|
|
let value = require(670) /* metro dependency 670: UserSettingsConstants */;
|
|
const UserSettingsDelay = value.UserSettingsDelay;
|
|
const ListDensityMode = value.ListDensityMode;
|
|
value = require(3831) /* metro dependency 3831: DMSafetyConstants */;
|
|
const env0_4 = value.DmSpamFilterTypes;
|
|
const env0_5 = value.ExplicitContentFilterTypes;
|
|
value = require(661) /* metro dependency 661: Constants */;
|
|
const env0_6 = value.AllFriendSourceFlags;
|
|
const env0_7 = value.SpoilerRenderSetting;
|
|
const StatusTypes = value.StatusTypes;
|
|
const env0_9 = (require(3832) /* metro dependency 3832: StickersConstants */).StickerAnimationSettings;
|
|
let defineProtoSetting = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting;
|
|
let closure = function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 != null && r1;
|
|
};
|
|
value = Reflect.apply(defineProtoSetting, value, ['textAndImages', 'useLegacyChatInput', closure, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
}]);
|
|
const value3 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('textAndImages',
|
|
'useRichChatInput', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 == null || r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value5 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('textAndImages',
|
|
'includeStickersInAutocomplete', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 != null && r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value7 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('textAndImages',
|
|
'includeSoundmojiInAutocomplete', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 == null || r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value9 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('textAndImages',
|
|
'renderSpoilers', function(a0) {
|
|
var r0;
|
|
r0 = a0?.value;
|
|
r0 = r0 ?? SpoilerRenderSetting.ON_CLICK;
|
|
return r0;
|
|
}, function(a0) {
|
|
var StringValue = require(dependencyMap[7]).StringValue;
|
|
return StringValue.create({value: a0});
|
|
});
|
|
const value11 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('textAndImages',
|
|
'useThreadSidebar', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 == null || r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value13 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('notifications',
|
|
'showInAppNotifications', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 == null || r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value15 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('notifications',
|
|
'reactionNotifications', function(a0) {
|
|
return a0 ?? require(dependencyMap[8]).ReactionNotificationType.NOTIFICATIONS_ENABLED;
|
|
}, function(a0) {
|
|
return a0;
|
|
});
|
|
const value17 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('notifications',
|
|
'enableGdmAllReactionNotifications', _fun31115, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: !!a0});
|
|
});
|
|
const value19 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('notifications',
|
|
'customStatusPushNotifications', function(a0) {
|
|
return a0 ?? require(dependencyMap[8]).CustomStatusPushNotificationType.STATUS_PUSH_UNSET;
|
|
}, function(a0) {
|
|
return a0;
|
|
});
|
|
const value21 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('notifications',
|
|
'enableSummaryReminderNotifications', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 == null || r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: !!a0});
|
|
});
|
|
const value23 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('notifications',
|
|
'enableScreenDowntimeScheduleNotifications', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 == null || r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: !!a0});
|
|
});
|
|
const value25 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('notifications',
|
|
'enableVoiceActivityNotifications', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 == null || r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: !!a0});
|
|
});
|
|
const value27 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('notifications',
|
|
'enableFriendOnlineNotifications', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 == null || r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: !!a0});
|
|
});
|
|
const value29 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('notifications',
|
|
'enableFriendAnniversaryNotifications', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 == null || r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: !!a0});
|
|
});
|
|
const value31 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('notifications',
|
|
'enableServerTrendingNotifications', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 == null || r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: !!a0});
|
|
});
|
|
const value33 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('notifications',
|
|
'enableProfileUpdatesNotifications', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 == null || r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: !!a0});
|
|
});
|
|
const value35 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('notifications',
|
|
'enableFriendGamingActivityNotifications', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 == null || r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: !!a0});
|
|
});
|
|
const value37 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('notifications',
|
|
'enableUpcomingServerEventNotifications', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 == null || r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: !!a0});
|
|
});
|
|
const value39 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('notifications',
|
|
'quietMode', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 != null && r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: !!a0});
|
|
});
|
|
const value41 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('notifications',
|
|
'focusModeExpiresAtMs', function(a0) {
|
|
return a0 ?? '0';
|
|
}, function(a0) {
|
|
return a0;
|
|
});
|
|
const env0_10 = [];
|
|
const value43 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('textAndImages',
|
|
'emojiPickerCollapsedSections', _fun31141, function(a0) {
|
|
return a0;
|
|
});
|
|
const value45 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('textAndImages',
|
|
'stickerPickerCollapsedSections', _fun31143, function(a0) {
|
|
return a0;
|
|
});
|
|
const value47 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('textAndImages',
|
|
'soundboardPickerCollapsedSections', _fun31145, function(a0) {
|
|
return a0;
|
|
});
|
|
const value49 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('textAndImages',
|
|
'viewImageDescriptions', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 != null && r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value51 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('textAndImages',
|
|
'showCommandSuggestions', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 == null || r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value53 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('voiceAndVideo',
|
|
'alwaysPreviewVideo', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 != null && r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value55 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('voiceAndVideo',
|
|
'disableStreamPreviews', function(a0) {
|
|
return a0?.value;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value57 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('notifications',
|
|
'notifyFriendsOnGoLive', function(a0) {
|
|
return a0?.value;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value59 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('notifications',
|
|
'notifyFriendsOnComeOnline', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 == null || r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value61 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('notifications',
|
|
'notifyFriendsOnProfileUpdate', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 == null || r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value63 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('notifications',
|
|
'notificationCenterAckedBeforeId', function(a0) {
|
|
return a0 ?? '0';
|
|
}, function(a0) {
|
|
return a0;
|
|
});
|
|
const value65 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('gameLibrary',
|
|
'installShortcutDesktop', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 != null && r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value67 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('gameLibrary',
|
|
'installShortcutStartMenu', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 == null || r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value69 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('privacy',
|
|
'allowActivityPartyPrivacyFriends', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 == null || r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value71 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('privacy',
|
|
'allowActivityPartyPrivacyVoiceChannel', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 == null || r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const env0_11 = [];
|
|
const value73 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('privacy',
|
|
'messageRequestRestrictedGuildIds', _fun31171, function(a0) {
|
|
return a0;
|
|
});
|
|
const value75 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('privacy',
|
|
'defaultMessageRequestRestricted', function(a0) {
|
|
return a0?.value;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value77 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('privacy',
|
|
'nonSpamRetrainingOptIn', function(a0) {
|
|
return a0?.value;
|
|
}, function(a0) {
|
|
return a0 == null ? undefined : require(dependencyMap[7]).BoolValue.create({value: a0});
|
|
});
|
|
const value79 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('privacy',
|
|
'contactSyncEnabled', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 != null && r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value81 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('privacy',
|
|
'defaultGuildsRestricted', function(a0) {
|
|
var value = a0;
|
|
return value != null && value;
|
|
}, function(a0) {
|
|
return a0;
|
|
});
|
|
const value83 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('privacy',
|
|
'defaultGuildsRestrictedV2', function(a0) {
|
|
return a0?.value;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value85 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('privacy',
|
|
'restrictedGuildIds', function(a0) {
|
|
return a0 ?? [];
|
|
}, function(a0) {
|
|
return a0;
|
|
});
|
|
const value87 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('privacy',
|
|
'friendDiscoveryFlags', function(a0) {
|
|
return a0?.value ?? 0;
|
|
}, function(a0) {
|
|
var UInt32Value = require(dependencyMap[7]).UInt32Value;
|
|
return UInt32Value.create({value: a0});
|
|
});
|
|
const value89 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('privacy',
|
|
'friendSourceFlags', function(a0) {
|
|
var r0;
|
|
r0 = a0?.value;
|
|
r0 = r0 ?? AllFriendSourceFlags;
|
|
return r0;
|
|
}, function(a0) {
|
|
var UInt32Value = require(dependencyMap[7]).UInt32Value;
|
|
return UInt32Value.create({value: a0});
|
|
});
|
|
const value91 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('debug',
|
|
'rtcPanelShowVoiceStates', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 != null && r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value93 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('textAndImages',
|
|
'convertEmoticons', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 == null || r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value95 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('textAndImages',
|
|
'messageDisplayCompact', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 != null && r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value97 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('voiceAndVideo',
|
|
'soundboardSettings', function(a0) {
|
|
return a0;
|
|
}, function(a0) {
|
|
return a0;
|
|
});
|
|
const value99 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('voiceAndVideo',
|
|
'soundmojiVolume', function(a0) {
|
|
return a0?.value ?? 100;
|
|
}, function(a0) {
|
|
var FloatValue = require(dependencyMap[7]).FloatValue;
|
|
return FloatValue.create({value: a0});
|
|
});
|
|
const value101 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('voiceAndVideo',
|
|
'streamNotificationsEnabled', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 == null || r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value103 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('privacy',
|
|
'dropsOptedOut', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 != null && r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value105 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('privacy',
|
|
'quests3PDataOptedOut', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 != null && r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value107 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('voiceAndVideo',
|
|
'nativePhoneIntegrationEnabled', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 == null || r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value109 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('voiceAndVideo',
|
|
'afkTimeout', function(a0) {
|
|
return a0?.value ?? 60;
|
|
}, function(a0) {
|
|
var UInt32Value = require(dependencyMap[7]).UInt32Value;
|
|
return UInt32Value.create({value: a0});
|
|
});
|
|
const value111 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('textAndImages',
|
|
'viewNsfwGuilds', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 != null && r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value113 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('textAndImages',
|
|
'viewNsfwCommands', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 != null && r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value115 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('privacy',
|
|
'detectPlatformAccounts', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 == null || r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value117 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('gameLibrary',
|
|
'disableGamesTab', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 != null && r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value119 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('textAndImages',
|
|
'enableTtsCommand', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 == null || r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value121 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('textAndImages',
|
|
'explicitContentFilter', function(a0) {
|
|
var r0;
|
|
r0 = a0?.value;
|
|
r0 = r0 ?? ExplicitContentFilterTypes.NON_FRIENDS;
|
|
return r0;
|
|
}, function(a0) {
|
|
var UInt32Value = require(dependencyMap[7]).UInt32Value;
|
|
return UInt32Value.create({value: a0});
|
|
});
|
|
const value123 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('textAndImages',
|
|
'dmSpamFilter', function(a0) {
|
|
var r0;
|
|
r0 = a0?.value;
|
|
r0 = r0 ?? DmSpamFilterTypes.NON_FRIENDS;
|
|
return r0;
|
|
}, function(a0) {
|
|
var UInt32Value = require(dependencyMap[7]).UInt32Value;
|
|
return UInt32Value.create({value: a0});
|
|
});
|
|
const value125 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('textAndImages',
|
|
'dmSpamFilterV2', function(a0) {
|
|
return a0 ?? require(dependencyMap[8]).DmSpamFilterV2.DEFAULT_UNSET;
|
|
}, function(a0) {
|
|
return a0;
|
|
});
|
|
const value127 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('status',
|
|
'showCurrentGame', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 == null || r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value129 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('privacy',
|
|
'recentGamesEnabled', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 == null || r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value131 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('privacy',
|
|
'profileVisibility', function(a0) {
|
|
var value = a0;
|
|
return value == null ? require(dependencyMap[8]).ProfileVisibility.FRIENDS_AND_ALL_GUILDS : value !== require(dependencyMap[8]).ProfileVisibility.UNSET ? value : require(dependencyMap[8]).ProfileVisibility.FRIENDS_AND_ALL_GUILDS;
|
|
}, function(a0) {
|
|
return a0;
|
|
});
|
|
let Set = global.Set;
|
|
Object = global.Object;
|
|
let set = new Set(Object.values(StatusTypes));
|
|
const value136 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('status',
|
|
'status', _fun31231, function(a0) {
|
|
var StringValue = require(dependencyMap[7]).StringValue;
|
|
return StringValue.create({value: a0});
|
|
});
|
|
const value138 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('status',
|
|
'statusExpiresAtMs', function(a0) {
|
|
return a0 ?? '0';
|
|
}, function(a0) {
|
|
return a0;
|
|
});
|
|
const value140 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('status',
|
|
'statusCreatedAtMs', function(a0) {
|
|
return a0;
|
|
}, function(a0) {
|
|
return a0;
|
|
});
|
|
const value142 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('status',
|
|
'customStatus', function(a0) {
|
|
return a0;
|
|
}, function(a0) {
|
|
return a0;
|
|
});
|
|
const value144 = (require(3833) /* metro dependency 3833: UserSettingDefinitions */).defineProtoSetting('clips',
|
|
'allowVoiceRecording', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 == null || r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const userSettingDefinitionsModule = require(3833) /* metro dependency 3833: UserSettingDefinitions */;
|
|
let wrapSettingWithSelectiveSyncing = userSettingDefinitionsModule.wrapSettingWithSelectiveSyncing;
|
|
const value148 = Reflect.apply(wrapSettingWithSelectiveSyncing, userSettingDefinitionsModule,
|
|
[userSettingDefinitionsModule.defineProtoSetting('textAndImages', 'inlineAttachmentMedia', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 == null || r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
}), 'text', 'inlineAttachmentMedia']);
|
|
const value149 = userSettingDefinitionsModule;
|
|
wrapSettingWithSelectiveSyncing = value149.wrapSettingWithSelectiveSyncing;
|
|
const value150 = userSettingDefinitionsModule;
|
|
const value151 = Reflect.apply(wrapSettingWithSelectiveSyncing, value149,
|
|
[value150.defineProtoSetting('textAndImages', 'inlineEmbedMedia', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 == null || r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
}), 'text', 'inlineEmbedMedia']);
|
|
const value152 = userSettingDefinitionsModule;
|
|
wrapSettingWithSelectiveSyncing = value152.wrapSettingWithSelectiveSyncing;
|
|
const value153 = userSettingDefinitionsModule;
|
|
const value154 = Reflect.apply(wrapSettingWithSelectiveSyncing, value152,
|
|
[value153.defineProtoSetting('textAndImages', 'renderEmbeds', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 == null || r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
}), 'text', 'renderEmbeds']);
|
|
const value155 = userSettingDefinitionsModule;
|
|
wrapSettingWithSelectiveSyncing = value155.wrapSettingWithSelectiveSyncing;
|
|
const value156 = userSettingDefinitionsModule;
|
|
const value157 = Reflect.apply(wrapSettingWithSelectiveSyncing, value155,
|
|
[value156.defineProtoSetting('textAndImages', 'renderReactions', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 == null || r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
}), 'text', 'renderReactions']);
|
|
const value158 = userSettingDefinitionsModule;
|
|
wrapSettingWithSelectiveSyncing = value158.wrapSettingWithSelectiveSyncing;
|
|
const value159 = userSettingDefinitionsModule;
|
|
const value160 = Reflect.apply(wrapSettingWithSelectiveSyncing, value158,
|
|
[value159.defineProtoSetting('textAndImages', 'defaultReactionEmoji', _fun31249, _fun31250,
|
|
{comparator: importDefault(628) /* metro dependency 628: shallowEqual */}), 'text', 'defaultReactionEmoji']);
|
|
const value162 = userSettingDefinitionsModule.defineProtoSetting('localization', 'timezoneOffset', function(a0) {
|
|
var r1;
|
|
var value = null;
|
|
r1 = value == a0 ? undefined : a0.value;
|
|
return value != r1 ? r1 : value;
|
|
}, function(a0) {
|
|
var value = a0;
|
|
var Int32Value = require(dependencyMap[7]).Int32Value;
|
|
return Int32Value.create({value: value ?? 0});
|
|
});
|
|
Set = global.Set;
|
|
const AUTO = ListDensityMode.AUTO;
|
|
object = [AUTO];
|
|
const ChannelListLayoutTypes = (require(3834) /* metro dependency 3834: ChannelListLayoutTypes */).ChannelListLayoutTypes;
|
|
const COZY = ChannelListLayoutTypes.COZY;
|
|
object[1] = COZY;
|
|
const COMPACT = ChannelListLayoutTypes.COMPACT;
|
|
object[2] = COMPACT;
|
|
set = new Set(object);
|
|
const value166 = userSettingDefinitionsModule.defineProtoSetting('appearance', 'channelListLayout', _fun31253,
|
|
function(a0) {
|
|
var StringValue = require(dependencyMap[7]).StringValue;
|
|
return StringValue.create({value: a0});
|
|
});
|
|
Set = global.Set;
|
|
const {ALL, UNREADS, NONE} = (require(3834) /* metro dependency 3834: ChannelListLayoutTypes */).MessagePreviewTypes;
|
|
set = new Set([ALL, UNREADS, NONE]);
|
|
const value170 = userSettingDefinitionsModule.defineProtoSetting('appearance', 'messagePreviews', _fun31255,
|
|
function(a0) {
|
|
var StringValue = require(dependencyMap[7]).StringValue;
|
|
return StringValue.create({value: a0});
|
|
});
|
|
const value171 = userSettingDefinitionsModule;
|
|
wrapSettingWithSelectiveSyncing = value171.wrapSettingWithSelectiveSyncing;
|
|
const value172 = userSettingDefinitionsModule;
|
|
const value173 = Reflect.apply(wrapSettingWithSelectiveSyncing, value171, [value172.defineProtoSetting('appearance',
|
|
'developerMode', function(a0) {
|
|
var value = a0;
|
|
return value != null && value;
|
|
}, function(a0) {
|
|
return a0;
|
|
}), 'appearance', 'developerMode']);
|
|
const value175 = userSettingDefinitionsModule.defineProtoSetting('appearance', 'darkSidebar', function(a0) {
|
|
var value = a0;
|
|
return value != null && value;
|
|
}, function(a0) {
|
|
return a0;
|
|
});
|
|
const value176 = userSettingDefinitionsModule;
|
|
defineProtoSetting = value176.defineProtoSetting;
|
|
object = {};
|
|
object.comparator = (require(22) /* metro dependency 22 */).isEqual;
|
|
const value177 = Reflect.apply(defineProtoSetting, value176, ['appearance', 'clientThemeSettings', _fun31261,
|
|
_fun31262, object]);
|
|
const value178 = userSettingDefinitionsModule;
|
|
let wrapSettingWithOverride = value178.wrapSettingWithOverride;
|
|
const value179 = userSettingDefinitionsModule;
|
|
wrapSettingWithSelectiveSyncing = value179.wrapSettingWithSelectiveSyncing;
|
|
const value180 = userSettingDefinitionsModule;
|
|
const value182 = Reflect.apply(wrapSettingWithOverride, value178, [Reflect.apply(wrapSettingWithSelectiveSyncing,
|
|
value179, [value180.defineProtoSetting('textAndImages', 'gifAutoPlay', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 == null || r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
}), 'text', 'gifAutoPlay']), 'gifAutoPlay', _fun31265, function() {
|
|
return require(dependencyMap[12]).useStateFromStores([UserSettingsOverridesStore], _fun31267);
|
|
}]);
|
|
const value183 = userSettingDefinitionsModule;
|
|
wrapSettingWithOverride = value183.wrapSettingWithOverride;
|
|
const value184 = userSettingDefinitionsModule;
|
|
wrapSettingWithSelectiveSyncing = value184.wrapSettingWithSelectiveSyncing;
|
|
const value185 = userSettingDefinitionsModule;
|
|
const value187 = Reflect.apply(wrapSettingWithOverride, value183, [Reflect.apply(wrapSettingWithSelectiveSyncing,
|
|
value184, [value185.defineProtoSetting('textAndImages', 'animateEmoji', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 == null || r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
}), 'text', 'animateEmoji']), 'animateEmoji', _fun31270, function() {
|
|
return require(dependencyMap[12]).useStateFromStores([UserSettingsOverridesStore], _fun31272);
|
|
}]);
|
|
const value188 = userSettingDefinitionsModule;
|
|
wrapSettingWithOverride = value188.wrapSettingWithOverride;
|
|
const value189 = userSettingDefinitionsModule;
|
|
wrapSettingWithSelectiveSyncing = value189.wrapSettingWithSelectiveSyncing;
|
|
const value190 = userSettingDefinitionsModule;
|
|
const value192 = Reflect.apply(wrapSettingWithOverride, value188, [Reflect.apply(wrapSettingWithSelectiveSyncing,
|
|
value189, [value190.defineProtoSetting('textAndImages', 'animateStickers', function(a0) {
|
|
var r0;
|
|
r0 = a0?.value;
|
|
r0 = r0 ?? StickerAnimationSettings.ALWAYS_ANIMATE;
|
|
return r0;
|
|
}, function(a0) {
|
|
var UInt32Value = require(dependencyMap[7]).UInt32Value;
|
|
return UInt32Value.create({value: a0});
|
|
}), 'text', 'animateStickers']), 'animateStickers', _fun31275, function() {
|
|
return require(dependencyMap[12]).useStateFromStores([UserSettingsOverridesStore], _fun31277);
|
|
}]);
|
|
const env0_15 = [];
|
|
const value194 = userSettingDefinitionsModule.defineProtoSetting('privacy', 'activityRestrictedGuildIds', _fun31278,
|
|
function(a0) {
|
|
return a0;
|
|
});
|
|
const value195 = userSettingDefinitionsModule;
|
|
defineProtoSetting = value195.defineProtoSetting;
|
|
const FREQUENT_USER_ACTION = UserSettingsDelay.FREQUENT_USER_ACTION;
|
|
const value196 = Reflect.apply(defineProtoSetting, value195, ['privacy', 'activityRestrictedGuildIds', _fun31280,
|
|
function(a0) {
|
|
return a0;
|
|
}, {delay: FREQUENT_USER_ACTION}]);
|
|
const env0_16 = [];
|
|
const value198 = userSettingDefinitionsModule.defineProtoSetting('privacy', 'activityJoiningRestrictedGuildIds',
|
|
_fun31282, function(a0) {
|
|
return a0;
|
|
});
|
|
const value199 = userSettingDefinitionsModule;
|
|
let wrapSettingWithExperimentDefaults = value199.wrapSettingWithExperimentDefaults;
|
|
object = {};
|
|
object.baseSetting = userSettingDefinitionsModule.defineProtoSetting('privacy', 'defaultGuildsActivityRestricted',
|
|
function(a0) {
|
|
return a0;
|
|
}, function(a0) {
|
|
return a0 ?? require(dependencyMap[8]).GuildActivityStatusRestrictionDefault.OFF;
|
|
});
|
|
object.isEligible = isEligible;
|
|
object.useIsEligible = useIsEligible;
|
|
const GuildActivityStatusRestrictionDefault = (require(1314) /* metro dependency 1314: preloaded_user_settings */).GuildActivityStatusRestrictionDefault;
|
|
const OFF = GuildActivityStatusRestrictionDefault.OFF;
|
|
object.ineligibleDefault = OFF;
|
|
object.eligibleDefault = function() {
|
|
return require(dependencyMap[8]).GuildActivityStatusRestrictionDefault.ON_FOR_LARGE_GUILDS;
|
|
};
|
|
const value201 = Reflect.apply(wrapSettingWithExperimentDefaults, value199, [object]);
|
|
const value202 = userSettingDefinitionsModule;
|
|
wrapSettingWithExperimentDefaults = value202.wrapSettingWithExperimentDefaults;
|
|
object = {};
|
|
object.baseSetting = userSettingDefinitionsModule.defineProtoSetting('privacy', 'defaultGuildsActivityRestrictedV2',
|
|
function(a0) {
|
|
var value = a0;
|
|
var ACTIVITY_STATUS_UNSET = require(dependencyMap[8]).GuildActivityStatusRestrictionDefaultV2.ACTIVITY_STATUS_UNSET;
|
|
return value === ACTIVITY_STATUS_UNSET ? null : value;
|
|
}, function(a0) {
|
|
return a0 ?? require(dependencyMap[8]).GuildActivityStatusRestrictionDefaultV2.ACTIVITY_STATUS_OFF;
|
|
});
|
|
object.isEligible = isEligible_31291;
|
|
object.useIsEligible = useIsEligible_31292;
|
|
const GuildActivityStatusRestrictionDefaultV2 = (require(1314) /* metro dependency 1314: preloaded_user_settings */).GuildActivityStatusRestrictionDefaultV2;
|
|
const ACTIVITY_STATUS_OFF = GuildActivityStatusRestrictionDefaultV2.ACTIVITY_STATUS_OFF;
|
|
object.ineligibleDefault = ACTIVITY_STATUS_OFF;
|
|
object.eligibleDefault = function() {
|
|
return require(dependencyMap[8]).GuildActivityStatusRestrictionDefaultV2.ACTIVITY_STATUS_ON_FOR_LARGE_GUILDS;
|
|
};
|
|
const value204 = Reflect.apply(wrapSettingWithExperimentDefaults, value202, [object]);
|
|
const value206 = userSettingDefinitionsModule.defineProtoSetting('privacy', 'familyCenterEnabledV2', function(a0) {
|
|
return a0?.value;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value208 = userSettingDefinitionsModule.defineProtoSetting('privacy', 'hideLegacyUsername', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 != null && r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value210 = userSettingDefinitionsModule.defineProtoSetting('privacy', 'allowGameFriendDmsInDiscord',
|
|
function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 == null || r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value212 = userSettingDefinitionsModule.defineProtoSetting('privacy', 'slayerSdkReceiveDmsInGame',
|
|
function(a0) {
|
|
return a0 ?? require(dependencyMap[8]).SlayerSDKReceiveInGameDMs.SLAYER_SDK_RECEIVE_IN_GAME_DMS_UNSET;
|
|
}, function(a0) {
|
|
return a0;
|
|
});
|
|
const value214 = userSettingDefinitionsModule.defineProtoSetting('ads', 'alwaysDeliver', function(a0) {
|
|
var value = a0;
|
|
return value != null && value;
|
|
}, function(a0) {
|
|
return a0;
|
|
});
|
|
closure = explicitContentFromProto;
|
|
const closure2 = function({explicitContentGuilds, explicitContentFriendDm, explicitContentNonFriendDm}) {
|
|
var value = undefined;
|
|
return {explicitContentGuilds: explicitContentGuilds ?? value,
|
|
explicitContentFriendDm: explicitContentFriendDm ?? value,
|
|
explicitContentNonFriendDm: explicitContentNonFriendDm ?? value};
|
|
};
|
|
const value216 = userSettingDefinitionsModule.defineProtoSetting('textAndImages', 'explicitContentSettings',
|
|
closure, closure2);
|
|
const closure3 = goreContentFromProto;
|
|
const closure4 = function({goreContentGuilds, goreContentFriendDm, goreContentNonFriendDm}) {
|
|
var value = undefined;
|
|
return {goreContentGuilds: goreContentGuilds ?? value, goreContentFriendDm: goreContentFriendDm ?? value,
|
|
goreContentNonFriendDm: goreContentNonFriendDm ?? value};
|
|
};
|
|
const value218 = userSettingDefinitionsModule.defineProtoSetting('textAndImages', 'goreContentSettings', closure3,
|
|
closure4);
|
|
const value220 = userSettingDefinitionsModule.defineProtoSetting('appearance', 'searchResultExactCountEnabled',
|
|
function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 != null && r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value222 = userSettingDefinitionsModule.defineProtoSetting('appearance', 'happeningNowCardsDisabled',
|
|
function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 != null && r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value224 = userSettingDefinitionsModule.defineProtoSetting('appearance', 'timestampHourCycle', function(a0) {
|
|
return a0 ?? require(dependencyMap[8]).TimestampHourCycle.AUTO;
|
|
}, function(a0) {
|
|
return a0;
|
|
});
|
|
const value225 = userSettingDefinitionsModule;
|
|
const value226 = value225.defineProtoSetting('appearance', 'defaultGuildThemePreference',
|
|
(require(1352) /* metro dependency 1352: GuildThemeSourcePreferenceUtils */).resolveDefaultGuildThemePreference,
|
|
function(a0) {
|
|
return a0;
|
|
});
|
|
const value228 = userSettingDefinitionsModule.defineProtoSetting('appearance', 'launchPadMode', function(a0) {
|
|
return a0 ?? require(dependencyMap[8]).LaunchPadMode.LAUNCH_PAD_DISABLED;
|
|
}, function(a0) {
|
|
return a0;
|
|
});
|
|
const value230 = userSettingDefinitionsModule.defineProtoSetting('appearance', 'swipeRightToLeftMode',
|
|
function(a0) {
|
|
return a0 ?? require(dependencyMap[8]).SwipeRightToLeftMode.SWIPE_RIGHT_TO_LEFT_UNSET;
|
|
}, function(a0) {
|
|
return a0;
|
|
});
|
|
const value232 = userSettingDefinitionsModule.defineProtoSetting('userContent', 'lastReceivedChangelogId',
|
|
function(a0) {
|
|
return a0 ?? '0';
|
|
}, function(a0) {
|
|
return a0;
|
|
});
|
|
const value234 = userSettingDefinitionsModule.defineProtoSetting('safetySettings', 'ignoreProfileSpeedbumpDisabled',
|
|
function(a0) {
|
|
var value = a0;
|
|
return value != null && value;
|
|
}, function(a0) {
|
|
return a0;
|
|
});
|
|
const value236 = userSettingDefinitionsModule.defineProtoSetting('appearance', 'uiDensity', function(a0) {
|
|
var value = a0;
|
|
return value === require(dependencyMap[8]).UIDensity.UNSET_UI_DENSITY ? require(dependencyMap[8]).UIDensity.DEFAULT : value ?? require(dependencyMap[8]).UIDensity.DEFAULT;
|
|
}, function(a0) {
|
|
return a0;
|
|
});
|
|
const value237 = userSettingDefinitionsModule;
|
|
defineProtoSetting = value237.defineProtoSetting;
|
|
const AUTOMATED = UserSettingsDelay.AUTOMATED;
|
|
const value238 = Reflect.apply(defineProtoSetting, value237, ['inAppFeedbackSettings', 'inAppFeedbackStates',
|
|
function(a0) {
|
|
var value = a0;
|
|
var moduleValue = require(dependencyMap[11]);
|
|
return moduleValue.mapValues(value ?? ({}), _fun31326);
|
|
}, _fun31328, {delay: AUTOMATED}]);
|
|
const value240 = userSettingDefinitionsModule.defineProtoSetting('textAndImages', 'isCrossDmSearchEnabled',
|
|
function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 != null && r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value242 = userSettingDefinitionsModule.defineProtoSetting('notifications', 'enableDmReplyNudgeReminders',
|
|
function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 == null || r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
const value244 = userSettingDefinitionsModule.defineProtoSetting('privacy', 'hideFriendRequestNotes', function(a0) {
|
|
var r1;
|
|
r1 = a0?.value;
|
|
return r1 != null && r1;
|
|
}, function(a0) {
|
|
var BoolValue = require(dependencyMap[7]).BoolValue;
|
|
return BoolValue.create({value: a0});
|
|
});
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/user_settings/UserSettings.tsx');
|
|
exports.UseLegacyChatInput = value;
|
|
exports.UseRichChatInput = value3;
|
|
exports.IncludeStickersInAutocomplete = value5;
|
|
exports.IncludeSoundmojiInAutocomplete = value7;
|
|
exports.RenderSpoilers = value9;
|
|
exports.UseThreadSidebar = value11;
|
|
exports.ShowInAppNotifications = value13;
|
|
exports.ReactionNotifications = value15;
|
|
exports.EnableGdmAllReactionNotifications = value17;
|
|
exports.CustomStatusPushNotifications = value19;
|
|
exports.EnableSummaryReminderNotifications = value21;
|
|
exports.EnableScreenDowntimeScheduleNotifications = value23;
|
|
exports.EnableVoiceActivityNotifications = value25;
|
|
exports.EnableFriendOnlineNotifications = value27;
|
|
exports.EnableFriendAnniversaryNotifications = value29;
|
|
exports.EnableServerTrendingNotifications = value31;
|
|
exports.EnableProfileUpdatesNotifications = value33;
|
|
exports.EnableFriendGamingActivityNotifications = value35;
|
|
exports.EnableUpcomingServerEventNotifications = value37;
|
|
exports.FocusMode = value39;
|
|
exports.FocusModeExpiresAtSetting = value41;
|
|
exports.EmojiPickerCollapsedSections = value43;
|
|
exports.StickerPickerCollapsedSections = value45;
|
|
exports.SoundboardPickerCollapsedSections = value47;
|
|
exports.ViewImageDescriptions = value49;
|
|
exports.ShowCommandSuggestions = value51;
|
|
exports.AlwaysPreviewVideo = value53;
|
|
exports.DisableStreamPreviews = value55;
|
|
exports.NotifyFriendsOnGoLive = value57;
|
|
exports.NotifyFriendsOnComeOnline = value59;
|
|
exports.NotifyFriendsOnProfileUpdate = value61;
|
|
exports.NOTIFICATION_CENTER_ACKED_BEFORE_ID_UNSET = '0';
|
|
exports.NotificationCenterAckedBeforeId = value63;
|
|
exports.InstallShortcutDesktop = value65;
|
|
exports.InstallShortcutStartMenu = value67;
|
|
exports.AllowActivityPartyPrivacyFriends = value69;
|
|
exports.AllowActivityPartyPrivacyVoiceChannel = value71;
|
|
exports.MessageRequestRestrictedGuildIds = value73;
|
|
exports.MessageRequestRestrictedDefault = value75;
|
|
exports.NonSpamRetrainingOptIn = value77;
|
|
exports.ContactSyncEnabled = value79;
|
|
exports.DefaultGuildsRestricted = value81;
|
|
exports.DefaultGuildsRestrictedV2 = value83;
|
|
exports.RestrictedGuildIds = value85;
|
|
exports.FriendDiscoverySettings = value87;
|
|
exports.FriendSourceFlagsSetting = value89;
|
|
exports.RtcPanelShowVoiceStates = value91;
|
|
exports.ConvertEmoticons = value93;
|
|
exports.MessageDisplayCompact = value95;
|
|
exports.SoundboardSettings = value97;
|
|
exports.SoundmojiVolume = value99;
|
|
exports.StreamNotificationsEnabled = value101;
|
|
exports.DropsOptedOut = value103;
|
|
exports.Quests3PDataOptedOut = value105;
|
|
exports.NativePhoneIntegrationEnabled = value107;
|
|
exports.AfkTimeout = value109;
|
|
exports.ViewNsfwGuilds = value111;
|
|
exports.ViewNsfwCommands = value113;
|
|
exports.DetectPlatformAccounts = value115;
|
|
exports.DisableGamesTab = value117;
|
|
exports.EnableTTSCommand = value119;
|
|
exports.ExplicitContentFilter = value121;
|
|
exports.DmSpamFilter = value123;
|
|
exports.DmSpamFilterV2 = value125;
|
|
exports.ShowCurrentGame = value127;
|
|
exports.RecentGamesEnabled = value129;
|
|
exports.ProfileVisibility = value131;
|
|
exports.StatusSetting = value136;
|
|
exports.StatusExpiresAtSetting = value138;
|
|
exports.StatusCreatedAtSetting = value140;
|
|
exports.CustomStatusSetting = value142;
|
|
exports.ClipsAllowVoiceRecording = value144;
|
|
exports.InlineAttachmentMedia = value148;
|
|
exports.InlineEmbedMedia = value151;
|
|
exports.RenderEmbeds = value154;
|
|
exports.RenderReactions = value157;
|
|
exports.DoubleTapReactionEmoji = value160;
|
|
exports.TimezoneOffset = value162;
|
|
exports.ValidChannelListLayoutTypes = set;
|
|
exports.ChannelListLayoutSetting = value166;
|
|
exports.ValidMessagePreviewTypes = set;
|
|
exports.MessagePreviewSetting = value170;
|
|
exports.DeveloperMode = value173;
|
|
exports.DarkSidebar = value175;
|
|
exports.ClientThemeSettings = value177;
|
|
exports.GifAutoPlay = value182;
|
|
exports.AnimateEmoji = value187;
|
|
exports.AnimateStickers = value192;
|
|
exports.ActivityRestrictedGuilds = value194;
|
|
exports.ActivityRestrictedGuildsFrequent = value196;
|
|
exports.ActivityJoiningRestrictedGuilds = value198;
|
|
exports.DefaultGuildsActivityRestricted = value201;
|
|
exports.DefaultGuildsActivityRestrictedV2 = value204;
|
|
exports.FamilyCenterEnabled = value206;
|
|
exports.LegacyUsernameDisabled = value208;
|
|
exports.AllowGameFriendDmsInDiscord = value210;
|
|
exports.SlayerSDKReceiveDMsInGame = value212;
|
|
exports.AlwaysDeliverAds = value214;
|
|
exports.explicitContentFromProto = closure;
|
|
exports.explicitContentToProto = closure2;
|
|
exports.ExplicitContentSettings = value216;
|
|
exports.goreContentFromProto = closure3;
|
|
exports.goreContentToProto = closure4;
|
|
exports.GoreContentSettings = value218;
|
|
exports.SearchResultExactCountEnabled = value220;
|
|
exports.HappeningNowCardsDisabled = value222;
|
|
exports.TimestampHourCycle = value224;
|
|
exports.DefaultGuildThemePreference = value226;
|
|
exports.LaunchPadModeSetting = value228;
|
|
exports.SwipeRightToLeftModeSetting = value230;
|
|
exports.LastReceivedChangelogId = value232;
|
|
exports.IgnoreProfileSpeedbumpDisabled = value234;
|
|
exports.UIDensitySetting = value236;
|
|
exports.InAppFeedbackStates = value238;
|
|
exports.IsCrossDMSearchEnabledSetting = value240;
|
|
exports.EnableDmReplyNudgeReminders = value242;
|
|
exports.HideFriendRequestNotes = value244;
|
|
}
|
|
|
|
function _fun31115(a0) { // fn#31115, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3968:1750, offset: 0x00ff4ecd, size: 110 bytes, params: 2, frame: 15
|
|
const ReactionNotificationType = (require(1314) /* metro dependency 1314: preloaded_user_settings */).ReactionNotificationType;
|
|
return a0 == null ? (UserSettingsProtoStore.settings == null || UserSettingsProtoStore.settings.notifications == null ? undefined : UserSettingsProtoStore.settings.notifications.reactionNotifications) !== ReactionNotificationType.NOTIFICATIONS_DISABLED : a0.value !== undefined ? a0.value : (UserSettingsProtoStore.settings == null || UserSettingsProtoStore.settings.notifications == null ? undefined : UserSettingsProtoStore.settings.notifications.reactionNotifications) !== ReactionNotificationType.NOTIFICATIONS_DISABLED;
|
|
}
|
|
|
|
function _fun31141(a0) { // fn#31141, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3968:4128, offset: 0x00ff4fa5, size: 18 bytes, params: 2, frame: 2
|
|
return a0 ?? env0_10;
|
|
}
|
|
|
|
function _fun31171(a0) { // fn#31171, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3968:6357, offset: 0x00ff4fcc, size: 18 bytes, params: 2, frame: 2
|
|
return a0 ?? env0_11;
|
|
}
|
|
|
|
function _fun31231(a0) { // fn#31231, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3968:10892, offset: 0x00ff51ee, size: 56 bytes, params: 2, frame: 12
|
|
return a0 == null ? StatusTypes.UNKNOWN : env0_12.has(a0.value) ? a0.value : StatusTypes.UNKNOWN;
|
|
}
|
|
|
|
function _fun31249(a0) { // fn#31249, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3968:12400, offset: 0x00ff5226, size: 137 bytes, params: 2, frame: 9
|
|
const value = a0;
|
|
const {emojiId, emojiName, animated} = value ?? ({});
|
|
const object2 = {};
|
|
const value2 = undefined;
|
|
let r2 = emojiId == null ? value2 : emojiId.value;
|
|
object2.emojiId = r2;
|
|
object2.emojiName = emojiName == null ? value2 : emojiName.value;
|
|
object2.animated = animated == null ? value2 : animated.value;
|
|
r2 = value == null || value.disableDoubleTap == null ? value2 : value.disableDoubleTap.value;
|
|
object2.disableDoubleTap = r2 != null && r2;
|
|
return object2;
|
|
}
|
|
|
|
function _fun31250({emojiId, emojiName, animated, disableDoubleTap}) { // fn#31250, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3968:12656, offset: 0x00ff52af, size: 191 bytes, params: 2, frame: 20
|
|
const object2 = {};
|
|
const UInt64Value = (require(1345) /* metro dependency 1345: wrappers */).UInt64Value;
|
|
object2.emojiId = UInt64Value.create({value: emojiId});
|
|
const StringValue = (require(1345) /* metro dependency 1345: wrappers */).StringValue;
|
|
object2.emojiName = StringValue.create({value: emojiName});
|
|
const BoolValue = (require(1345) /* metro dependency 1345: wrappers */).BoolValue;
|
|
object2.animated = BoolValue.create({value: animated});
|
|
object2.disableDoubleTap = BoolValue.create({value: disableDoubleTap});
|
|
return object2;
|
|
}
|
|
|
|
function _fun31253(a0) { // fn#31253, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3968:13316, offset: 0x00ff53d1, size: 80 bytes, params: 2, frame: 12
|
|
const ChannelListLayoutTypes = (require(3834) /* metro dependency 3834: ChannelListLayoutTypes */).ChannelListLayoutTypes;
|
|
return a0 == null ? ChannelListLayoutTypes.COZY : env0_13.has(a0.value) ? a0.value : ChannelListLayoutTypes.COZY;
|
|
}
|
|
|
|
function _fun31255(a0) { // fn#31255, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3968:13614, offset: 0x00ff5421, size: 80 bytes, params: 2, frame: 12
|
|
const MessagePreviewTypes = (require(3834) /* metro dependency 3834: ChannelListLayoutTypes */).MessagePreviewTypes;
|
|
return a0 == null ? MessagePreviewTypes.ALL : env0_14.has(a0.value) ? a0.value : MessagePreviewTypes.ALL;
|
|
}
|
|
|
|
function _fun31261(a0) { // fn#31261, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3968:14028, offset: 0x00ff5471, size: 143 bytes, params: 2, frame: 7
|
|
var r1;
|
|
var object3;
|
|
const object4 = {};
|
|
const value = undefined;
|
|
object4.backgroundGradientPresetId = a0 == null || a0.backgroundGradientPresetId == null ? value : a0.backgroundGradientPresetId.value;
|
|
let customUserThemeSettings = a0 == null ? value : a0.customUserThemeSettings;
|
|
if (customUserThemeSettings != null) {
|
|
object3 = {};
|
|
customUserThemeSettings = a0.customUserThemeSettings;
|
|
object3.colors = customUserThemeSettings.colors;
|
|
customUserThemeSettings = a0.customUserThemeSettings;
|
|
object3.gradientColorStops = customUserThemeSettings.gradientColorStops;
|
|
customUserThemeSettings = a0.customUserThemeSettings;
|
|
object3.gradientAngle = customUserThemeSettings.gradientAngle;
|
|
customUserThemeSettings = a0.customUserThemeSettings;
|
|
object3.baseMix = customUserThemeSettings.baseMix;
|
|
r1 = object3;
|
|
} else {
|
|
r1 = value;
|
|
}
|
|
object4.customUserThemeSettings = r1;
|
|
return object4;
|
|
}
|
|
|
|
function _fun31262(a0) { // fn#31262, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3968:14421, offset: 0x00ff5500, size: 173 bytes, params: 2, frame: 17
|
|
var r1;
|
|
var object2;
|
|
const object4 = {};
|
|
const backgroundGradientPresetId = a0.backgroundGradientPresetId;
|
|
const value = undefined;
|
|
object4.backgroundGradientPresetId = backgroundGradientPresetId != null ? (require(1345) /* metro dependency 1345: wrappers */).UInt32Value.create({value: a0.backgroundGradientPresetId}) : value;
|
|
let customUserThemeSettings = a0.customUserThemeSettings;
|
|
if (customUserThemeSettings != null) {
|
|
object2 = {};
|
|
customUserThemeSettings = a0.customUserThemeSettings;
|
|
object2.colors = customUserThemeSettings.colors;
|
|
customUserThemeSettings = a0.customUserThemeSettings;
|
|
object2.gradientColorStops = customUserThemeSettings.gradientColorStops;
|
|
customUserThemeSettings = a0.customUserThemeSettings;
|
|
object2.gradientAngle = customUserThemeSettings.gradientAngle;
|
|
customUserThemeSettings = a0.customUserThemeSettings;
|
|
object2.baseMix = customUserThemeSettings.baseMix;
|
|
r1 = object2;
|
|
} else {
|
|
r1 = value;
|
|
}
|
|
object4.customUserThemeSettings = r1;
|
|
return object4;
|
|
}
|
|
|
|
function _fun31265() { // fn#31265, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3968:15126, offset: 0x00ff55ad, size: 40 bytes, params: 1, frame: 11
|
|
return UserSettingsOverridesStore.getOverride('gifAutoPlay')?.value;
|
|
}
|
|
|
|
function _fun31266() { // fn#31266, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3968:15201, offset: 0x00ff55d5, size: 57 bytes, params: 1, frame: 13
|
|
return (require(566) /* metro dependency 566: flux */).useStateFromStores([UserSettingsOverridesStore], _fun31267);
|
|
}
|
|
|
|
function _fun31270() { // fn#31270, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3968:15585, offset: 0x00ff5636, size: 40 bytes, params: 1, frame: 11
|
|
return UserSettingsOverridesStore.getOverride('animateEmoji')?.value;
|
|
}
|
|
|
|
function _fun31271() { // fn#31271, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3968:15661, offset: 0x00ff565e, size: 57 bytes, params: 1, frame: 13
|
|
return (require(566) /* metro dependency 566: flux */).useStateFromStores([UserSettingsOverridesStore], _fun31272);
|
|
}
|
|
|
|
function _fun31275() { // fn#31275, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3968:16073, offset: 0x00ff56e5, size: 40 bytes, params: 1, frame: 11
|
|
return UserSettingsOverridesStore.getOverride('animateStickers')?.value;
|
|
}
|
|
|
|
function _fun31276() { // fn#31276, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3968:16152, offset: 0x00ff570d, size: 57 bytes, params: 1, frame: 13
|
|
return (require(566) /* metro dependency 566: flux */).useStateFromStores([UserSettingsOverridesStore], _fun31277);
|
|
}
|
|
|
|
function _fun31278(a0) { // fn#31278, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3968:16346, offset: 0x00ff576e, size: 18 bytes, params: 2, frame: 2
|
|
return a0 ?? env0_15;
|
|
}
|
|
|
|
function isEligible() { // fn#31286, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3968:16818, offset: 0x00ff57c2, size: 62 bytes, params: 1, frame: 14
|
|
const value = require(3835) /* metro dependency 3835: RegionalFeatureConfigUtils */;
|
|
const isSettingTeenByDefault = value.isSettingTeenByDefault;
|
|
const SettingsDefaultFeature = (require(3842) /* metro dependency 3842: SettingsDefaultFeature */).SettingsDefaultFeature;
|
|
const GUILD_ACTIVITY_STATUS = SettingsDefaultFeature.GUILD_ACTIVITY_STATUS;
|
|
return Reflect.apply(isSettingTeenByDefault, value, [GUILD_ACTIVITY_STATUS]);
|
|
}
|
|
|
|
function useIsEligible() { // fn#31287, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3968:16923, offset: 0x00ff5800, size: 62 bytes, params: 1, frame: 14
|
|
const value = require(3835) /* metro dependency 3835: RegionalFeatureConfigUtils */;
|
|
const useIsSettingTeenByDefault = value.useIsSettingTeenByDefault;
|
|
const SettingsDefaultFeature = (require(3842) /* metro dependency 3842: SettingsDefaultFeature */).SettingsDefaultFeature;
|
|
const GUILD_ACTIVITY_STATUS = SettingsDefaultFeature.GUILD_ACTIVITY_STATUS;
|
|
return Reflect.apply(useIsSettingTeenByDefault, value, [GUILD_ACTIVITY_STATUS]);
|
|
}
|
|
|
|
function explicitContentFromProto(a0) { // fn#31304, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3968:18600, offset: 0x00ff591f, size: 171 bytes, params: 2, frame: 16
|
|
const ExplicitContentRedaction = (require(1314) /* metro dependency 1314: preloaded_user_settings */).ExplicitContentRedaction;
|
|
const {explicitContentGuilds, explicitContentFriendDm, explicitContentNonFriendDm} = a0 ?? ({});
|
|
return {explicitContentGuilds: explicitContentGuilds ?? ExplicitContentRedaction.UNSET_EXPLICIT_CONTENT_REDACTION,
|
|
explicitContentFriendDm: explicitContentFriendDm ?? ExplicitContentRedaction.UNSET_EXPLICIT_CONTENT_REDACTION,
|
|
explicitContentNonFriendDm: explicitContentNonFriendDm ?? ExplicitContentRedaction.UNSET_EXPLICIT_CONTENT_REDACTION};
|
|
}
|
|
|
|
function goreContentFromProto(a0) { // fn#31306, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3968:19409, offset: 0x00ff5a18, size: 171 bytes, params: 2, frame: 16
|
|
const ExplicitContentRedaction = (require(1314) /* metro dependency 1314: preloaded_user_settings */).ExplicitContentRedaction;
|
|
const {goreContentGuilds, goreContentFriendDm, goreContentNonFriendDm} = a0 ?? ({});
|
|
return {goreContentGuilds: goreContentGuilds ?? ExplicitContentRedaction.UNSET_EXPLICIT_CONTENT_REDACTION,
|
|
goreContentFriendDm: goreContentFriendDm ?? ExplicitContentRedaction.UNSET_EXPLICIT_CONTENT_REDACTION,
|
|
goreContentNonFriendDm: goreContentNonFriendDm ?? ExplicitContentRedaction.UNSET_EXPLICIT_CONTENT_REDACTION};
|
|
}
|
|
|
|
function _fun31325(a0) { // fn#31325, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3968:21434, offset: 0x00ff5c11, size: 57 bytes, params: 2, frame: 13
|
|
const value = a0;
|
|
const moduleValue = require(22) /* metro dependency 22 */;
|
|
return moduleValue.mapValues(value ?? ({}), _fun31326);
|
|
}
|
|
|
|
function _fun31328(a0) { // fn#31328, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3968:21558, offset: 0x00ff5cad, size: 49 bytes, params: 2, frame: 13
|
|
return (require(22) /* metro dependency 22 */).mapValues(a0, _fun31329);
|
|
}
|
|
|
|
function _fun31267() { // fn#31267, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3968:15238, offset: 0x00ff560e, size: 40 bytes, params: 1, frame: 11
|
|
const value = environment.__proto__;
|
|
return UserSettingsOverridesStore.getOverride('gifAutoPlay')?.value;
|
|
}
|
|
|
|
function _fun31272() { // fn#31272, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3968:15698, offset: 0x00ff5697, size: 40 bytes, params: 1, frame: 11
|
|
const value = environment.__proto__;
|
|
return UserSettingsOverridesStore.getOverride('animateEmoji')?.value;
|
|
}
|
|
|
|
function _fun31277() { // fn#31277, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3968:16189, offset: 0x00ff5746, size: 40 bytes, params: 1, frame: 11
|
|
const value = environment.__proto__;
|
|
return UserSettingsOverridesStore.getOverride('animateStickers')?.value;
|
|
}
|
|
|
|
function _fun31326(a0) { // fn#31326, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3968:21470, offset: 0x00ff5c4a, size: 49 bytes, params: 2, frame: 13
|
|
var environment;
|
|
let value = environment.__proto__;
|
|
return (require(22) /* metro dependency 22 */).mapValues(a0, function(a0) {
|
|
var r0;
|
|
var value = undefined;
|
|
r0 = a0 == null ? value : a0.value;
|
|
r0 = r0 != null ? global.Number(a0.value) : value;
|
|
return r0;
|
|
});
|
|
}
|
|
|
|
function _fun31329(a0) { // fn#31329, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3968:21583, offset: 0x00ff5cde, size: 49 bytes, params: 2, frame: 13
|
|
var environment;
|
|
const value = environment.__proto__;
|
|
return (require(22) /* metro dependency 22 */).mapValues(a0, _fun31330);
|
|
}
|
|
|
|
function _fun31330(a0) { // fn#31330, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3968:21608, offset: 0x00ff5d0f, size: 76 bytes, params: 2, frame: 15
|
|
let value = environment.__proto__.__proto__;
|
|
value = undefined;
|
|
const UInt64Value = (require(1345) /* metro dependency 1345: wrappers */).UInt64Value;
|
|
return UInt64Value.create({value: a0 != null ? global.String(a0) : value});
|
|
}
|
|
|