Initial commit

This commit is contained in:
janisslsm committed 2026-07-27 16:20:00 +03:00
commit af3b49f756
16065 files changed
+2938410

No files matched your search

@@ -0,0 +1,225 @@
/* Metro module 11855; source: modules/autocompleter/native/Autocomplete.tsx; dependencies: [31, 27, 1867, 3793, 1878, 661, 11018, 33, 4501, 697, 7972, 566, 3995, 1305, 9210, 6238, 6246, 1244, 8366, 6647, 4805, 4573, 5475, 11856, 11049, 5278, 10970, 22, 2] */
function _fun90879(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#90879, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12041:6, offset: 0x0204a4b2, size: 843 bytes, params: 8, frame: 25
var object3;
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importAll(31) /* metro dependency 31 */;
const env0_4 = (require(27) /* metro dependency 27 */).View;
const guildStore = importDefault(1867) /* metro dependency 1867: GuildStore */;
const relationshipStore = importDefault(3793) /* metro dependency 3793: RelationshipStore */;
const userStore = importDefault(1878) /* metro dependency 1878: UserStore */;
let value = require(661) /* metro dependency 661: Constants */;
const env0_8 = value.ChannelTypes;
const Fonts = value.Fonts;
const AUTOCOMPLETE_ROW_HEIGHT = (require(11018) /* metro dependency 11018: ApplicationCommandsConstants */).AUTOCOMPLETE_ROW_HEIGHT;
const env0_9 = (require(33) /* metro dependency 33 */).jsx;
value = require(4501) /* metro dependency 4501: createStyles */;
const createStyles = value.createStyles;
object3 = {};
const object4 = {height: AUTOCOMPLETE_ROW_HEIGHT, paddingVertical: 0};
const BACKGROUND_SURFACE_HIGH = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_SURFACE_HIGH;
object4.backgroundColor = BACKGROUND_SURFACE_HIGH;
object3.row = object4;
const INTERACTIVE_TEXT_ACTIVE = (importDefault(697) /* metro dependency 697: native */).colors.INTERACTIVE_TEXT_ACTIVE;
const PRIMARY_SEMIBOLD = Fonts.PRIMARY_SEMIBOLD;
object3.leading = {fontSize: 16, color: INTERACTIVE_TEXT_ACTIVE, fontFamily: PRIMARY_SEMIBOLD};
const TEXT_MUTED = (importDefault(697) /* metro dependency 697: native */).colors.TEXT_MUTED;
object3.trailing = {fontSize: 14, color: TEXT_MUTED};
const PRIMARY_400 = (importDefault(697) /* metro dependency 697: native */).unsafe_rawColors.PRIMARY_400;
object3.username = {color: PRIMARY_400};
object3.emoji = {'width': 32, 'height': 32};
object3.emojiImage = {resizeMode: 'contain'};
const TEXT_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.TEXT_DEFAULT;
object3.emojiText = {'lineHeight': 32, 'fontSize': 27, 'textAlign': 'center', color: TEXT_DEFAULT};
const object5 = {'width': 56, 'height': 56, 'marginHorizontal': 4, 'justifyContent': 'center',
'alignItems': 'center'};
const BACKGROUND_MOD_NORMAL = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_MOD_NORMAL;
object5.backgroundColor = BACKGROUND_MOD_NORMAL;
object5.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.sm;
object3.stickerContainer = object5;
object3.commandChoiceLoadingContainer = {'flex': 1, 'justifyContent': 'center'};
const object6 = {};
const BACKGROUND_MOD_MUTED = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_MOD_MUTED;
object6.backgroundColor = BACKGROUND_MOD_MUTED;
object6.height = 16;
object6.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.lg;
object6.alignSelf = 'flex-start';
object3.commandChoiceLoadingItem = object6;
object3.autocompleteIcon = {opacity: 0.6};
const env0_10 = Reflect.apply(createStyles, value, [object3]);
object3 = {User: User_90881, Global: Global, Role: Role_90884, Channel: Channel_90885, Emoji: Emoji_90886,
EmojiPremiumUpsell: EmojiPremiumUpsell, Choice: Choice, ChoiceLoading: ChoiceLoading, Sticker: Sticker,
Label: Label_90892};
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/autocompleter/native/Autocomplete.tsx');
exports.default = object3;
exports.AUTOCOMPLETE_STICKER_NODE_SIZE = 56;
exports.AUTOCOMPLETE_STICKER_NODE_MARGIN = 4;
}
function AutocompleteLabel(a0) { // fn#90880, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12041:1127, offset: 0x0204a7fd, size: 81 bytes, params: 2, frame: 15
const styles = useStyles();
const FormRow = (require(7972) /* metro dependency 7972: native */).FormRow;
const Label = FormRow.Label;
return <Label style={styles.leading} text={a0.text} />;
}
function User_90881({user, nick, status, guildId, onPress}) { // fn#90881, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12041:1242, offset: 0x0204a84e, size: 391 bytes, params: 2, frame: 25
var object2;
const styles = useStyles();
const value2 = (require(566) /* metro dependency 566: flux */).useStateFromStores([RelationshipStore], _fun90882);
const FormRow = (require(7972) /* metro dependency 7972: native */).FormRow;
object2 = {DEPRECATED_style: styles.row, onPress: onPress, accessibilityRole: 'menuitem'};
let r10 = nick ?? value2;
r10 = r10 ?? (importDefault(3995) /* metro dependency 3995: UserUtils */).getName(user);
object2.label = <AutocompleteLabel text={r10} />;
const Avatar = (require(1305) /* metro dependency 1305: native */).Avatar;
const AvatarSizes = (require(1305) /* metro dependency 1305: native */).AvatarSizes;
const SMALL = AvatarSizes.SMALL;
object2.leading = <Avatar status={status} user={user} size={SMALL} guildId={guildId} autoStatusCutout />;
const discordTag = importDefault(9210) /* metro dependency 9210: DiscordTag */;
const username = styles.username;
object2.trailing = ((Component) => <Component user={user} usernameStyle={[styles.trailing,
username]} discriminatorStyle={styles.trailing} />)(discordTag);
return <FormRow {...object2} />;
}
function Global({text, description, onPress}) { // fn#90883, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12041:1759, offset: 0x0204aa02, size: 140 bytes, params: 2, frame: 21
const TableRow = (require(6238) /* metro dependency 6238: TableRowNative */).TableRow;
const tableRowProps = {onPress: onPress, accessibilityRole: 'menuitem', label: <AutocompleteLabel text={text} />};
const TableRowTrailingText = (require(6246) /* metro dependency 6246: TableRowTrailingTextNative */).TableRowTrailingText;
tableRowProps.trailing = <TableRowTrailingText text={description} />;
return <TableRow {...tableRowProps} />;
}
function Role_90884({onPress, showDescription, name, colorString}) { // fn#90884, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12041:1949, offset: 0x0204aa8e, size: 311 bytes, params: 2, frame: 23
var r7;
var intl;
const styles = useStyles();
const TableRow = (require(6238) /* metro dependency 6238: TableRowNative */).TableRow;
const object2 = {onPress: onPress, accessibilityRole: 'menuitem'};
const FormRow = (require(7972) /* metro dependency 7972: native */).FormRow;
const Label = FormRow.Label;
object2.label = <Label style={[styles.leading,
colorString != null ? {color: colorString} : undefined]} text={'@' + name} />;
const TableRowTrailingText = (require(6246) /* metro dependency 6246: TableRowTrailingTextNative */).TableRowTrailingText;
if (showDescription) {
intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
r7 = intl.string((require(1244) /* metro dependency 1244: indexNative */).t.HrUmDH);
} else {
r7 = '';
}
object2.trailing = <TableRowTrailingText text={r7} />;
return <TableRow {...object2} />;
}
function Channel_90885({channel, category, onPress}) { // fn#90885, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12041:2276, offset: 0x0204abc5, size: 364 bytes, params: 2, frame: 23
const styles = useStyles();
const getGuild = GuildStore.getGuild;
const getGuildId = channel.getGuildId;
const value2 = Reflect.apply(getGuild, GuildStore, [Reflect.apply(getGuildId, channel, [])]);
const type = channel.type;
const GUILD_CATEGORY = ChannelTypes.GUILD_CATEGORY;
const r6 = type === GUILD_CATEGORY ? importDefault(8366) /* metro dependency 8366 */ : (require(6647) /* metro dependency 6647: ChannelUtils */).getChannelIconWithGuild(channel,
value2);
const Icon = (require(1305) /* metro dependency 1305: native */).Icon;
const icon = <Icon source={r6} style={styles.autocompleteIcon} />;
const useChannelNameModule = require(4805) /* metro dependency 4805: useChannelName */;
const channelName = useChannelNameModule.computeChannelName(channel, UserStore, RelationshipStore);
const FormRow = (require(7972) /* metro dependency 7972: native */).FormRow;
const formRowProps = {onPress: onPress, accessibilityRole: 'menuitem', leading: icon,
label: <AutocompleteLabel text={channelName} />};
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
formRowProps.trailing = <Text style={styles.trailing} variant="text-sm/medium" color="text-muted">{category != null && category.name}</Text>;
return <FormRow {...formRowProps} />;
}
function Emoji_90886({name, url, surrogates, onPress}) { // fn#90886, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12041:2754, offset: 0x0204ad31, size: 299 bytes, params: 2, frame: 21
var r5;
const styles = useStyles();
if (url !== '') {
r5 = ((Component) => <Component style={[styles.emoji,
styles.emojiImage]} source={{uri: url}} />)(importDefault(5475) /* metro dependency 5475: FastImage */);
} else {
const LegacyText = (require(1305) /* metro dependency 1305: native */).LegacyText;
r5 = <LegacyText style={[styles.emoji, styles.emojiText]} allowFontScaling={false}>{surrogates}</LegacyText>;
}
const FormRow = (require(7972) /* metro dependency 7972: native */).FormRow;
return (
<FormRow
onPress={onPress}
accessibilityRole="menuitem"
leading={r5}
label={<AutocompleteLabel text={':' + name + ':'} />}
/>
);
}
function EmojiPremiumUpsell({results, onPress}) { // fn#90887, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12041:3100, offset: 0x0204ae5c, size: 110 bytes, params: 2, frame: 18
const FormRow = (require(7972) /* metro dependency 7972: native */).FormRow;
return (
<FormRow
onPress={onPress}
accessibilityRole="menuitem"
label={((Component) => <Component results={results} />)(importDefault(11856) /* metro dependency 11856: ChannelAutocompleteEmojiUpsell */)}
/>
);
}
function Choice({choice, onPress}) { // fn#90888, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12041:3223, offset: 0x0204aeca, size: 102 bytes, params: 2, frame: 17
const FormRow = (require(7972) /* metro dependency 7972: native */).FormRow;
return (
<FormRow
onPress={onPress}
accessibilityRole="menuitem"
label={<AutocompleteLabel text={choice.displayName} />}
/>
);
}
function ChoiceLoading() { // fn#90889, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12041:3370, offset: 0x0204af30, size: 167 bytes, params: 1, frame: 21
const styles = useStyles();
const value2 = env0_3.useMemo(_fun90890, []);
const FormRow = (require(7972) /* metro dependency 7972: native */).FormRow;
return (
<FormRow
DEPRECATED_style={styles.row}
leading={<View style={styles.commandChoiceLoadingContainer}><View style={[styles.commandChoiceLoadingItem,
{width: value2}]} /></View>}
/>
);
}
function Sticker({sticker, onPress, onLongPress, isInteracting}) { // fn#90891, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12041:3627, offset: 0x0204b007, size: 191 bytes, params: 2, frame: 21
const styles = useStyles();
const value2 = (require(11049) /* metro dependency 11049: StickersHooks */).useShouldAnimateSticker(isInteracting);
const PressableOpacity = (require(5278) /* metro dependency 5278: Pressables */).PressableOpacity;
return (
<PressableOpacity
accessibilityRole="menuitem"
style={styles.stickerContainer}
onPress={onPress}
onLongPress={onLongPress}
pointerEvents="box-only"
>
{((Component) => <Component sticker={sticker} size={40} animated={value2} />)(importDefault(10970) /* metro dependency 10970: Sticker */)}
</PressableOpacity>
);
}
function Label_90892({label}) { // fn#90892, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12041:3931, offset: 0x0204b0c6, size: 77 bytes, params: 2, frame: 17
const FormRow = (require(7972) /* metro dependency 7972: native */).FormRow;
return <FormRow label={<AutocompleteLabel text={label} />} />;
}
function _fun90882() { // fn#90882, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12041:1338, offset: 0x0204a9d5, size: 45 bytes, params: 1, frame: 12
const guildIdBinding = guildId;
const value2 = null;
return value2 == guildIdBinding ? RelationshipStore.getNickname(user.id) : value2;
}
function _fun90890() { // fn#90890, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12041:3418, offset: 0x0204afd7, size: 48 bytes, params: 1, frame: 13
const value = environment.__proto__;
return (importDefault(22) /* metro dependency 22 */).random(100, 300);
}
@@ -0,0 +1,349 @@
/* Metro module 11085; source: modules/autocompleter/native/AutocompleteOptions.tsx; dependencies: [7167, 7168, 6583, 1379, 1945, 1867, 661, 5066, 6625, 11086, 1881, 22, 8050, 6526, 11050, 6943, 1423, 1244, 2] */
function _fun84865(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#84865, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11271:6, offset: 0x01f5a285, size: 425 bytes, params: 8, frame: 20
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const applicationCommandAutocompleteStore = importDefault(7167) /* metro dependency 7167: ApplicationCommandAutocompleteStore */;
const applicationCommandStore = importDefault(7168) /* metro dependency 7168: ApplicationCommandStore */;
const stickersStore = importDefault(6583) /* metro dependency 6583: StickersStore */;
const channelStore = importDefault(1379) /* metro dependency 1379: ChannelStore */;
const guildMemberStore = importDefault(1945) /* metro dependency 1945: GuildMemberStore */;
const guildStore = importDefault(1867) /* metro dependency 1867: GuildStore */;
let value = require(661) /* metro dependency 661: Constants */;
const env0_9 = value.AutoCompleteResultTypes;
const env0_10 = value.MAX_AUTOCOMPLETE_RESULTS;
const AUTOCOMPLETE_OPTION_DEBOUNCE_TIME = (require(5066) /* metro dependency 5066: ApplicationCommandConstants */).AUTOCOMPLETE_OPTION_DEBOUNCE_TIME;
value = require(6625) /* metro dependency 6625: ChannelAutocompleteConstants */;
const env0_11 = value.MENTION_SENTINEL;
const env0_12 = value.EMOJI_SENTINEL;
const env0_13 = value.CHANNEL_SENTINEL;
const env0_14 = value.COMMAND_SENTINEL;
const env0_15 = (require(11086) /* metro dependency 11086: ChannelAutocompleteConstants */).AutocompleteTypes;
value = require(1881) /* metro dependency 1881: EmojiConstants */;
const env0_16 = value.EmojiIntention;
const env0_17 = value.EMOJI_MAX_LENGTH;
const env0_18 = value.EMOJI_URL_BASE_SIZE;
value = importDefault(22) /* metro dependency 22 */;
const env0_20 = value.debounce(importDefault(8050) /* metro dependency 8050: executeCommand */,
AUTOCOMPLETE_OPTION_DEBOUNCE_TIME, {'leading': true, 'trailing': true});
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/autocompleter/native/AutocompleteOptions.tsx');
exports.getAutocompleteOptions = getAutocompleteOptions;
}
function getAutocompleteOptions(a0) { // fn#84866, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11271:636, offset: 0x01f5a42e, size: 312 bytes, params: 2, frame: 8
const value = a1;
const value2 = a2;
const env0_0 = a0;
const env0_1 = value !== undefined ? value : false;
const env0_2 = !(value2 !== undefined) || value2;
const MENTIONS = AutocompleteTypes.MENTIONS;
const CHANNELS = AutocompleteTypes.CHANNELS;
const EMOJIS_AND_STICKERS = AutocompleteTypes.EMOJIS_AND_STICKERS;
const SLASHES = AutocompleteTypes.SLASHES;
const SLASHES_DISCOVERY = AutocompleteTypes.SLASHES_DISCOVERY;
const CHOICES = AutocompleteTypes.CHOICES;
return {[MENTIONS]: {stores: [GuildMemberStore], queryResults: queryResults, matches: function(a0, a1) {
return importDefault(dependencyMap[13]).matchSentinel(a0, a1, MENTION_SENTINEL);
}}, [CHANNELS]: {queryResults: queryResults_84872, matches: matches_84874},
[EMOJIS_AND_STICKERS]: {queryResults: queryResults_84875, matches: matches_84879},
[SLASHES]: {queryResults: function() {
return [];
}, matches: matches_84881}, [SLASHES_DISCOVERY]: {queryResults: function() {
return [];
}, matches: matches_84883}, [CHOICES]: {stores: [ApplicationCommandStore, ApplicationCommandAutocompleteStore],
queryResults: queryResults_84884, matches: function() {
return false;
}}};
}
function getAutocompleteOptionsQueryResults(a0, a1, a2) { // fn#84867, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11271:678, owner: getAutocompleteOptions.queryResults, offset: 0x01f5a566, size: 324 bytes, params: 4, frame: 20
var environment;
let value = environment.__proto__;
const value2 = undefined;
const defaultImport = importDefault(6526) /* metro dependency 6526: AutocompleteUtils */;
const value4 = a1 == null;
const {users, globals, roles} = defaultImport.queryMentionResults({query: a0, channel: env0_0,
canMentionEveryone: a1 == null ? value2 : a1.canMentionEveryone,
canMentionHere: a1 == null ? value2 : a1.canMentionHere,
canMentionUsers: a1 == null ? value2 : a1.canMentionUsers,
canMentionRoles: a1 == null ? value2 : a1.canMentionRoles,
includeAllGuildUsers: value4 ? value2 : a1.canMentionAnyGuildUser,
includeNonMentionableRoles: a1 == null ? value2 : a1.canMentionNonMentionableRoles, request: a2});
value = importDefault(22) /* metro dependency 22 */;
const value6 = users.map(function(a0) {
var object = {};
var USER = AutoCompleteResultTypes.USER;
object.type = USER;
copyDataProperties(object, a0, USER);
return object;
});
items = [];
arraySpread(items, roles.map(function(a0) {
var object = {};
var ROLE = AutoCompleteResultTypes.ROLE;
object.type = ROLE;
copyDataProperties(object, a0, ROLE);
return object;
}), arraySpread(items, globals.map(function(a0) {
var object = {};
var GLOBAL = AutoCompleteResultTypes.GLOBAL;
object.type = GLOBAL;
copyDataProperties(object, a0, GLOBAL);
return object;
}), arraySpread(items, value6, 0, value4), value4), value4);
value = value(items);
return value.value();
}
function getAutocompleteOptionsQueryResults_84872(a0, a1) { // fn#84872, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11271:1329, owner: getAutocompleteOptions.queryResults, offset: 0x01f5a739, size: 176 bytes, params: 3, frame: 15
var environment;
var r0;
var value2;
var value4;
let value = undefined;
if (a1 == null) {
value2 = environment.__proto__;
value = importDefault(6526) /* metro dependency 6526: AutocompleteUtils */;
value = value.queryChannelResults({query: a0, channel: env0_0});
r0 = value;
} else if (a1.isActiveApplicationCommand) {
value4 = environment.__proto__;
value = importDefault(6526) /* metro dependency 6526: AutocompleteUtils */;
value = value.queryApplicationCommandChannelResults({query: a0, channel: env0_0,
channelTypes: a1 == null ? value : a1.channelTypes});
r0 = value;
} else {
value2 = environment.__proto__;
value = importDefault(6526) /* metro dependency 6526: AutocompleteUtils */;
value = value.queryChannelResults({query: a0, channel: env0_0});
r0 = value;
}
return r0.channels.map(function(a0) {
var object = {};
object.type = AutoCompleteResultTypes.CHANNEL;
object.channel = a0;
object.category = ChannelStore.getChannel(a0.parent_id);
return object;
});
}
function getAutocompleteOptionsMatches_84874(a0, a1) { // fn#84874, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11271:1654, owner: getAutocompleteOptions.matches, offset: 0x01f5a81d, size: 73 bytes, params: 3, frame: 16
var r0;
var value;
if (value) {
r0 = !env0_0.isPrivate();
} else {
value = environment.__proto__;
value = (importDefault(6526) /* metro dependency 6526: AutocompleteUtils */).matchSentinel(a0, a1,
CHANNEL_SENTINEL);
r0 = value;
}
return r0;
}
function getAutocompleteOptionsQueryResults_84875(a0, a1) { // fn#84875, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11271:1733, owner: getAutocompleteOptions.queryResults, offset: 0x01f5a866, size: 422 bytes, params: 3, frame: 22
var r5;
var binding;
var defaultImport2;
var queryStickers;
let r11 = env0_2 ? 0 : 40;
const defaultImport = importDefault(dependencyMap[13]);
const queryEmojiResults = defaultImport.queryEmojiResults;
const CHAT = EmojiIntention.CHAT;
const value5 = Reflect.apply(queryEmojiResults, defaultImport, [{query: a0, channel: env0_0, intention: CHAT,
maxCount: MAX_AUTOCOMPLETE_RESULTS + r11}]);
const r2 = a1 == null ? [] : a1.includeEmojiPremiumUpsell && value5.emojis.locked.length > 0 && value5.emojis.unlocked.length < 4 ? [{type: AutoCompleteResultTypes.EMOJI_PREMIUM_UPSELL,
results: value5.emojis.locked}] : [];
if (env0_2) {
binding = env1_19;
if (!(binding || StickersStore.hasLoadedStickerPacks)) {
require(dependencyMap[14]).fetchStickerPacks();
r11 = dependencyMap;
}
defaultImport2 = importDefault(dependencyMap[13]);
queryStickers = defaultImport2.queryStickers;
binding = env0_0;
r5 = Reflect.apply(queryStickers, defaultImport2, [[a0], true, [binding, function(a0, a1) {
var SENDABLE = require(dependencyMap[15]).StickerSendability.SENDABLE;
return a1 === SENDABLE;
}]]);
} else {
r5 = [];
}
let value = r5.map(function({sticker}) {
return {type: AutoCompleteResultTypes.STICKER, name: sticker.name, sticker: sticker};
});
items = [];
value = arraySpread(items, value, 0, r11);
const unlocked = value5.emojis.unlocked;
arraySpread(items, r2, arraySpread(items, unlocked.map(_fun84878), value, r11), r11);
return items;
}
function getAutocompleteOptionsMatches_84879(a0, a1) { // fn#84879, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11271:2428, owner: getAutocompleteOptions.matches, offset: 0x01f5aaf3, size: 76 bytes, params: 3, frame: 14
const value = environment.__proto__;
return a0 === EMOJI_SENTINEL && (!(a1.length < 2 || a1.length > EMOJI_MAX_LENGTH) && !a1.includes(EMOJI_SENTINEL));
}
function getAutocompleteOptionsMatches_84881(a0, a1, a2) { // fn#84881, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11271:2528, owner: getAutocompleteOptions.matches, offset: 0x01f5ab3f, size: 56 bytes, params: 4, frame: 4
var r0;
let value = a2 === 0;
if (value) {
value = environment.__proto__;
value = a0 === COMMAND_SENTINEL;
r0 = value;
} else {
r0 = value;
}
r0 = r0 && !(env0_1 && a1.length === 0);
return r0;
}
function getAutocompleteOptionsMatches_84883(a0, a1, a2) { // fn#84883, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11271:2622, owner: getAutocompleteOptions.matches, offset: 0x01f5ab77, size: 55 bytes, params: 4, frame: 3
var value;
let r0 = env0_1 && a2 === 0;
if (r0) {
value = environment.__proto__;
value = a0 === COMMAND_SENTINEL;
r0 = value;
}
r0 = r0 && a1.length === 0;
return r0;
}
function getAutocompleteOptionsQueryResults_84884(a0, a1) { // fn#84884, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11271:2688, owner: getAutocompleteOptions.queryResults, offset: 0x01f5abae, size: 492 bytes, params: 3, frame: 22
var environment;
var choices;
var r3;
var r0;
var value;
var value2;
var object2;
var value3;
var getGuild;
var binding;
var value5;
var binding2;
var name;
var getAutocompleteChoices;
var id;
var value6;
var intl;
var array;
if (a1 == null) {
choices = a1?.choices;
} else {
var option = a1.option;
if (option == null) {
value = undefined;
choices = a1 == null ? value : a1.choices;
if (choices == null) {
r3 = [];
} else {
value2 = environment.__proto__;
value = importDefault(6526) /* metro dependency 6526: AutocompleteUtils */;
choices = value.queryChoiceResults({query: a0, choices: choices}).choices;
value = choices.map(function(a0) {
return {type: AutoCompleteResultTypes.CHOICE, choice: a0};
});
r3 = value;
}
return r3;
}
if (option.autocomplete) {
value = undefined;
if ((a1 == null ? value : a1.activeCommand) == null) {
value = undefined;
choices = a1 == null ? value : a1.choices;
if (choices == null) {
r3 = [];
} else {
value2 = environment.__proto__;
value = importDefault(6526) /* metro dependency 6526: AutocompleteUtils */;
choices = value.queryChoiceResults({query: a0, choices: choices}).choices;
value = choices.map(function(a0) {
return {type: AutoCompleteResultTypes.CHOICE, choice: a0};
});
r3 = value;
}
return r3;
}
if ((a1 == null ? value : a1.optionValues) != null) {
value3 = environment.__proto__;
getGuild = GuildStore.getGuild;
binding = env0_0;
value5 = Reflect.apply(getGuild, GuildStore, [binding.guild_id]);
binding2 = env1_20;
object2 = {};
object2.command = a1.activeCommand;
object2.optionValues = a1.optionValues;
option = a1.option;
name = option.name;
object2.context = {channel: binding, guild: value5, autocomplete: {name: name, query: a0}};
binding2(object2);
getAutocompleteChoices = ApplicationCommandAutocompleteStore.getAutocompleteChoices;
id = binding.id;
option = a1.option;
name = option.name;
value6 = Reflect.apply(getAutocompleteChoices, ApplicationCommandAutocompleteStore, [id, name, a0]);
if (value6 == null) {
array = new global.Array(4);
array = array.fill({type: AutoCompleteResultTypes.CHOICE_LOADING});
r0 = array;
} else if (value6.length === 0) {
object2 = {};
object2.type = AutoCompleteResultTypes.LABEL;
intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
object2.label = intl.string((require(1244) /* metro dependency 1244: indexNative */).t['41014u']);
r0 = [object2];
} else {
r0 = value6.map(_fun84885);
}
return r0;
}
value = undefined;
choices = a1 == null ? value : a1.choices;
if (choices == null) {
r3 = [];
} else {
value2 = environment.__proto__;
value = importDefault(6526) /* metro dependency 6526: AutocompleteUtils */;
choices = value.queryChoiceResults({query: a0, choices: choices}).choices;
value = choices.map(_fun84886);
r3 = value;
}
return r3;
}
choices = a1?.choices;
}
if (choices == null) {
r3 = [];
} else {
value2 = environment.__proto__;
value = importDefault(6526) /* metro dependency 6526: AutocompleteUtils */;
choices = value.queryChoiceResults({query: a0, choices: choices}).choices;
value = choices.map(function(a0) {
return {type: AutoCompleteResultTypes.CHOICE, choice: a0};
});
r3 = value;
}
return r3;
}
function _fun84878(a0) { // fn#84878, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11271:2257, offset: 0x01f5aa66, size: 141 bytes, params: 2, frame: 17
const object2 = {};
const value = environment.__proto__.__proto__;
const EMOJI = AutoCompleteResultTypes.EMOJI;
object2.type = EMOJI;
object2.name = a0.name;
object2.url = a0.id != null ? (importDefault(1423) /* metro dependency 1423: AvatarUtils */).getEmojiURL({id: a0.id,
animated: a0.animated, size: EMOJI_URL_BASE_SIZE}) : a0.url;
object2.surrogates = a0.id == null ? a0.surrogates : undefined;
return object2;
}
function _fun84885(a0) { // fn#84885, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11271:3192, offset: 0x01f5ad9a, size: 29 bytes, params: 2, frame: 2
const CHOICE = AutoCompleteResultTypes.CHOICE;
return {type: CHOICE, choice: a0};
}
@@ -0,0 +1,228 @@
/* Metro module 11017; source: modules/autocompleter/native/AutocompleteUtils.tsx; dependencies: [31, 27, 1383, 1935, 3793, 1878, 661, 11018, 6625, 33, 4501, 697, 4805, 6526, 3995, 7331, 2] */
function _fun84394(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#84394, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11203:6, offset: 0x01f482fc, size: 479 bytes, params: 8, frame: 23
const env0_0 = require;
const closure = getMentionTextWithUser;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
importAll(31) /* metro dependency 31 */;
const StyleSheet = (require(27) /* metro dependency 27 */).StyleSheet;
const env0_3 = (require(1383) /* metro dependency 1383: ChannelRecord */).isGuildSelectableChannelType;
const guildChannelStore = importDefault(1935) /* metro dependency 1935: GuildChannelStore */;
const relationshipStore = importDefault(3793) /* metro dependency 3793: RelationshipStore */;
const userStore = importDefault(1878) /* metro dependency 1878: UserStore */;
const env0_7 = (require(661) /* metro dependency 661: Constants */).AutoCompleteResultTypes;
let value = require(11018) /* metro dependency 11018: ApplicationCommandsConstants */;
const env0_8 = value.AUTOCOMPLETE_EMOJI_ROW_HEIGHT;
const env0_9 = value.AUTOCOMPLETE_ROW_HEIGHT;
value = require(6625) /* metro dependency 6625: ChannelAutocompleteConstants */;
const env0_10 = value.CHANNEL_SENTINEL;
const env0_11 = value.EMOJI_SENTINEL;
const env0_12 = value.MENTION_SENTINEL;
const env0_13 = (require(33) /* metro dependency 33 */).jsx;
const env0_14 = StyleSheet.hairlineWidth;
value = require(4501) /* metro dependency 4501: createStyles */;
const createStyles = value.createStyles;
const BORDER_SUBTLE = (importDefault(697) /* metro dependency 697: native */).colors.BORDER_SUBTLE;
const env0_15 = Reflect.apply(createStyles, value, [{itemDivider: {marginLeft: 16,
backgroundColor: BORDER_SUBTLE}}]);
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/autocompleter/native/AutocompleteUtils.tsx');
exports.getItemLayout = getItemLayout;
exports.getAutocompleteResultText = getAutocompleteResultText;
exports.getMentionTextWithUser = closure;
exports.getItemSeparator = getItemSeparator;
exports.getPrefix = function(a0) {
return a0[0];
};
exports.getQuery = function(a0) {
return a0.slice(1).toLowerCase();
};
}
function getMentionTextWithUser(a0, a1) { // fn#84395, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11203:504, offset: 0x01f484db, size: 136 bytes, params: 3, frame: 15
var r0;
var value;
if ((importDefault(6526) /* metro dependency 6526: AutocompleteUtils */).hasSameRoleAsUsername(a0, a1)) {
r0 = '' + MENTION_SENTINEL + a1.tag;
} else {
value = importDefault(3995) /* metro dependency 3995: UserUtils */;
value = value.getUserTag(a1);
value = '' + MENTION_SENTINEL + value;
r0 = value;
}
return r0;
}
function AutocompleteFormDivider() { // fn#84396, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11203:631, offset: 0x01f48563, size: 57 bytes, params: 1, frame: 15
const styles = useStyles();
return ((Component) => <Component style={styles.itemDivider} />)(importDefault(7331) /* metro dependency 7331: FormDivider */);
}
function getItemLayout(a0, a1) { // fn#84397, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11203:818, offset: 0x01f4859c, size: 123 bytes, params: 3, frame: 16
const type = a0 == null || a0[a1] == null ? undefined : a0[a1].type;
const EMOJI = AutoCompleteResultTypes.EMOJI;
const r3 = type === EMOJI ? AUTOCOMPLETE_EMOJI_ROW_HEIGHT : AUTOCOMPLETE_ROW_HEIGHT;
const value2 = a1 * r3;
const Math = global.Math;
return {length: r3, offset: value2 + Math.max(0, (a1 - 1) * hairlineWidth), index: a1};
}
function getAutocompleteResultText(a0, a1, a2) { // fn#84398, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11203:973, offset: 0x01f48617, size: 728 bytes, params: 4, frame: 21
var name;
var r5;
var type;
var channel;
var guildId;
var isGuildSelectableChannelTypeBinding;
var moduleValue;
var computeChannelName;
var moduleValue2;
var moduleValue3;
var escapeChannelName;
var moduleValue4;
if (a2 == null) {
type = a0.type;
if (AutoCompleteResultTypes.USER === type) {
return getMentionTextWithUser(a1, a0.user);
}
if (AutoCompleteResultTypes.GLOBAL === type) {
return a0.text;
}
if (AutoCompleteResultTypes.ROLE === type) {
return '' + MENTION_SENTINEL + a0.name;
}
if (AutoCompleteResultTypes.CHANNEL === type) {
channel = a0.channel;
if (channel.isThread()) {
moduleValue3 = require(4805) /* metro dependency 4805: useChannelName */;
escapeChannelName = moduleValue3.escapeChannelName;
moduleValue4 = require(4805) /* metro dependency 4805: useChannelName */;
return '#"' + Reflect.apply(escapeChannelName, moduleValue3,
[moduleValue4.computeChannelName(a0.channel,
UserStore,
RelationshipStore)]) + '"';
}
channel = a0.channel;
guildId = channel.getGuildId();
if (guildId == null) {
moduleValue = require(4805) /* metro dependency 4805: useChannelName */;
return '' + CHANNEL_SENTINEL + moduleValue.computeChannelName(a0.channel, UserStore, RelationshipStore);
}
isGuildSelectableChannelTypeBinding = isGuildSelectableChannelType;
channel = a0.channel;
if (isGuildSelectableChannelTypeBinding(channel.type)) {
name = GuildChannelStore.getTextChannelNameDisambiguations(guildId)[a0.channel.id]?.name;
if (name != null) {
r5 = name;
} else {
moduleValue2 = require(4805) /* metro dependency 4805: useChannelName */;
r5 = moduleValue2.computeChannelName(a0.channel, UserStore, RelationshipStore);
}
return '' + CHANNEL_SENTINEL + r5;
}
moduleValue = require(4805) /* metro dependency 4805: useChannelName */;
computeChannelName = moduleValue.computeChannelName;
channel = a0.channel;
return '' + CHANNEL_SENTINEL + Reflect.apply(computeChannelName, moduleValue, [channel, UserStore,
RelationshipStore]);
}
if (AutoCompleteResultTypes.EMOJI === type) {
return '' + EMOJI_SENTINEL + a0.name + ':';
}
if (AutoCompleteResultTypes.EMOJI_PREMIUM_UPSELL === type) {
return '';
}
if (AutoCompleteResultTypes.SLASH === type) {
return '';
}
if (AutoCompleteResultTypes.CHOICE === type) {
return '' + a0.choice.displayName;
}
if (AutoCompleteResultTypes.STICKER === type) {
return '';
}
if (AutoCompleteResultTypes.CHOICE_LOADING === type) {
return '';
}
if (AutoCompleteResultTypes.LABEL === type) {
return '';
}
return undefined;
}
const has = a2.has;
type = a0.type;
if (Reflect.apply(has, a2, [type])) {
type = a0.type;
if (AutoCompleteResultTypes.USER === type) {
return getMentionTextWithUser(a1, a0.user);
}
if (AutoCompleteResultTypes.GLOBAL === type) {
return a0.text;
}
if (AutoCompleteResultTypes.ROLE === type) {
return '' + MENTION_SENTINEL + a0.name;
}
if (AutoCompleteResultTypes.CHANNEL === type) {
channel = a0.channel;
if (channel.isThread()) {
moduleValue3 = require(4805) /* metro dependency 4805: useChannelName */;
escapeChannelName = moduleValue3.escapeChannelName;
moduleValue4 = require(4805) /* metro dependency 4805: useChannelName */;
return '#"' + Reflect.apply(escapeChannelName, moduleValue3,
[moduleValue4.computeChannelName(a0.channel,
UserStore,
RelationshipStore)]) + '"';
}
channel = a0.channel;
guildId = channel.getGuildId();
if (guildId == null) {
moduleValue = require(4805) /* metro dependency 4805: useChannelName */;
return '' + CHANNEL_SENTINEL + moduleValue.computeChannelName(a0.channel, UserStore, RelationshipStore);
}
isGuildSelectableChannelTypeBinding = isGuildSelectableChannelType;
channel = a0.channel;
if (isGuildSelectableChannelTypeBinding(channel.type)) {
name = GuildChannelStore.getTextChannelNameDisambiguations(guildId)[a0.channel.id]?.name;
if (name != null) {
r5 = name;
} else {
moduleValue2 = require(4805) /* metro dependency 4805: useChannelName */;
r5 = moduleValue2.computeChannelName(a0.channel, UserStore, RelationshipStore);
}
return '' + CHANNEL_SENTINEL + r5;
}
moduleValue = require(4805) /* metro dependency 4805: useChannelName */;
computeChannelName = moduleValue.computeChannelName;
channel = a0.channel;
return '' + CHANNEL_SENTINEL + Reflect.apply(computeChannelName, moduleValue, [channel, UserStore,
RelationshipStore]);
}
if (AutoCompleteResultTypes.EMOJI === type) {
return '' + EMOJI_SENTINEL + a0.name + ':';
}
if (AutoCompleteResultTypes.EMOJI_PREMIUM_UPSELL === type) {
return '';
}
if (AutoCompleteResultTypes.SLASH === type) {
return '';
}
if (AutoCompleteResultTypes.CHOICE === type) {
return '' + a0.choice.displayName;
}
if (AutoCompleteResultTypes.STICKER === type) {
return '';
}
if (AutoCompleteResultTypes.CHOICE_LOADING === type) {
return '';
}
if (AutoCompleteResultTypes.LABEL === type) {
return '';
}
return undefined;
}
return '';
}
function getItemSeparator() { // fn#84399, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11203:1839, offset: 0x01f488ef, size: 23 bytes, params: 1, frame: 13
return <AutocompleteFormDivider />;
}
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,118 @@
/* Metro module 7239; source: modules/autocompleter/native/UserSearch.worker.tsx; dependencies: [6, 7, 15, 17, 18, 27, 2] */
function _fun58211(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#58211, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7417:6, offset: 0x016c1d35, size: 206 bytes, params: 8, frame: 14
const env0_0 = importDefault(6) /* metro dependency 6 */;
const env0_1 = importDefault(7) /* metro dependency 7 */;
const env0_2 = importDefault(15) /* metro dependency 15 */;
const env0_3 = importDefault(17) /* metro dependency 17 */;
const env0_4 = importDefault(18) /* metro dependency 18 */;
let value = require(27) /* metro dependency 27 */;
const NativeModules = value.NativeModules;
const NativeEventEmitter = value.NativeEventEmitter;
const env0_5 = NativeModules.UserSearchWorkerManager;
value = _fun58215(NativeEventEmitter);
value = new value();
module.exports = value;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/autocompleter/native/UserSearch.worker.tsx');
}
function _isNativeReflectConstruct_58212() { // fn#58212, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7417:149, offset: 0x016c1e03, size: 94 bytes, params: 1, frame: 18
var Boolean;
var prototype;
var valueOf;
var call;
var Reflect;
var construct;
var closure;
var value;
var error;
try {
Boolean = global.Boolean;
prototype = Boolean.prototype;
valueOf = prototype.valueOf;
call = valueOf.call;
Reflect = global.Reflect;
construct = Reflect.construct;
Boolean = global.Boolean;
closure = function() {
};
value = Reflect.apply(construct, Reflect, [Boolean, [], closure]);
value = Reflect.apply(call, valueOf, [value]);
var result = !value;
} catch (error) {
}
return (_isNativeReflectConstruct_58212_isNativeReflectConstruct = function() {
return !!result;
})();
}
function _fun58215(a0) { // fn#58215, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7417:376, offset: 0x016c1e61, size: 137 bytes, params: 2, frame: 16
const closure = UserSearchWorker;
env0_4(closure, a0);
return env0_1(closure, [{key: 'postMessage', value: value_58219}, {key: 'addEventListener', value: function(a0,
a1) {
if (a0 === 'message') {
if (this.subscription == null) {
this.subscription = this.addListener('ReturnResults', this.handleCallback);
}
this.handlers.add(a1);
}
}}, {key: 'removeEventListener', value: function(a0, a1) {
var property;
if (a0 === 'message') {
property = this.handlers;
property.delete(a1);
if (this.handlers.size === 0) {
property = this.subscription;
if (property != null) {
property.remove();
}
this.subscription = null;
}
}
}}, {key: 'terminate', value: function() {
UserSearchWorkerManager.terminate();
}}]);
}
function UserSearchWorker() { // fn#58216, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7417:388, offset: 0x016c1eea, size: 175 bytes, params: 1, frame: 20
var environment;
let value = environment.__proto__;
env1_0(this, UserSearchWorker);
const items2 = [UserSearchWorkerManager];
const value3 = env1_3(UserSearchWorker);
value = env1_2(this, _isNativeReflectConstruct_58212() ? global.Reflect.construct(value3, items2,
env1_3(this).constructor) : value3.apply(this, items2));
const Set = global.Set;
const value4 = Object.create(Set.prototype, {constructor: {value: Set}});
const set = new Set();
value.handlers = set instanceof Object ? set : value4;
value.subscription = null;
value.handleCallback = function(a0) {
a0.handlers.forEach(_fun58218);
};
return value;
}
function value_58219(a0) { // fn#58219, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7417:789, offset: 0x016c1fdb, size: 81 bytes, params: 2, frame: 13
var value;
var onmessage;
var JSON;
if (a0) {
value = environment.__proto__;
onmessage = UserSearchWorkerManager.onmessage;
JSON = global.JSON;
Reflect.apply(onmessage, UserSearchWorkerManager, [JSON.stringify(a0)]);
return undefined;
}
const Error = global.Error;
throw new Error('Invalid data');
}
function UserSearchWorkerHandleCallback(a0) { // fn#58217, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7417:671, owner: UserSearchWorker.handleCallback, offset: 0x016c1f99, size: 41 bytes, params: 2, frame: 11
a0.handlers.forEach(_fun58218);
}
function _fun58218(a0) { // fn#58218, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7417:695, offset: 0x016c1fc2, size: 25 bytes, params: 2, frame: 11
return a0({data: env0_0});
}
@@ -0,0 +1,36 @@
/* Metro module 11860; source: modules/autocompleter/native/useAutocompleteAnimatedHeightStyles.tsx; dependencies: [4016, 4017, 4504, 4507, 2] */
function _fun90932(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#90932, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12046:6, offset: 0x0204cad6, size: 112 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
object = {code: "function useAutocompleteAnimatedHeightStylesTsx1(){const{withTiming,height,timingStandard,isFrozenSharedValue}=this.__closure;return{height:withTiming(height,timingStandard),display:!isFrozenSharedValue.get()?'flex':'none'};}"};
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/autocompleter/native/useAutocompleteAnimatedHeightStyles.tsx');
exports.default = useAutocompleteAnimatedHeightStyles;
}
function useAutocompleteAnimatedHeightStyles(a0, a1) { // fn#90933, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12046:445, offset: 0x0204cb46, size: 172 bytes, params: 3, frame: 19
const env0_0 = a0;
const value2 = (require(4016) /* metro dependency 4016: ScreenIndexFrozen */).useIsScreenIndexFrozenSharedValue(a1);
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
const useAnimatedStyle = reanimatedRexportModule.useAnimatedStyle;
const closure = useAutocompleteAnimatedHeightStylesS;
const object2 = {};
object2.withTiming = (require(4504) /* metro dependency 4504: timing */).withTiming;
object2.height = a0;
object2.timingStandard = (require(4507) /* metro dependency 4507: timingPresets */).timingStandard;
object2.isFrozenSharedValue = value2;
closure.__closure = object2;
closure.__workletHash = 3862216441966;
closure.__initData = env0_2;
return Reflect.apply(useAnimatedStyle, reanimatedRexportModule, [closure]);
}
function useAutocompleteAnimatedHeightStylesS() { // fn#90934, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12046:584, owner: useAutocompleteAnimatedHeightStyles.s, offset: 0x0204cbf2, size: 98 bytes, params: 1, frame: 18
const object2 = {};
let value = environment.__proto__;
value = require(4504) /* metro dependency 4504: timing */;
object2.height = value.withTiming(env0_0, (require(4507) /* metro dependency 4507: timingPresets */).timingStandard);
object2.display = env0_1.get() ? 'none' : 'flex';
return object2;
}