// Metro module 7939 (f7940). import { NOTIFICATIONS_INBOX } from "../../Constants"; import Durations from "../../utils/Durations"; import { t, intl } from "../../intl/index.native"; import { fromGuildBasic } from "../../utils/GuildRecordUtils"; const WEEK = Durations.Millis.WEEK; const r12 = { UNREAD: "UNREAD", TODAY: "TODAY", YESTERDAY: "YESTERDAY", OLDER: "OLDER" }; let c5012_3 = { ALL: "all", MENTIONS: "mentions", BOOKMARKS: "bookmarks" }; const r10 = { READ: "READ", UNREAD: "UNREAD" }; const r9 = { ALL_MESSAGES_CHANNEL: "ALL_MESSAGES_CHANNEL", MENTION: "MENTION", BOOKMARK: "BOOKMARK" }; const r8 = {}; r8[r12.UNREAD] = t.sRUdB8; r8[r12.TODAY] = t.F4jZQs; r8[r12.YESTERDAY] = t.gnv4pE; r8[r12.OLDER] = t.exrPZv; const r57 = { UNLOADED: "unloaded", LOADED: "loaded", LOADED_UNREAD: "loadedUnread" }; const r61 = { AUTO_LOAD: "auto_load", ON_OPEN: "on_open", FILL_SCROLLER: "fill_scroller", USER_SCROLL: "user_scroll", UNKNOWN: "unknown" }; const r67 = { MENTION: "MENTION", REPLY: "REPLY", REACTION: "REACTION", ANNOUNCEMENT: "ANNOUNCEMENT", MESSAGE: "MESSAGE" }; const r72 = { ACK: "ACK", BOOKMARK: "BOOKMARK", SETTINGS: "SETTINGS" }; export const ANALYTICS_NAME = "Notifications Inbox"; export const NOTIFICATIONS_INBOX_RAW_GUILD_ID = "notifications_inbox_guild_id"; export const GUILD_HEADER_HEIGHT = 88; export { WEEK as INBOX_MESSAGE_AGE_THRESHOLD }; export const MAX_MESSAGES_PER_CHANNEL = 50; export const MAX_UNREAD_MESSAGES_PER_CHANNEL = 10; export const NOTIFICATIONS_INBOX_FEATURE = "notifications-inbox"; export function getNotificationsInboxGuild(a0) { return fromGuildBasic({ id: NOTIFICATIONS_INBOX, name: a0 === c5012_3.BOOKMARKS ? intl.string(t["2pAkDA"]) : a0 === c5012_3.MENTIONS ? intl.string(t.jbV6MM) : intl.string(t.HcoRu0), description: "", icon: void 0, features: [] }); } export { r12 as MessageCategory }; export { c5012_3 as InboxFilters }; export { r10 as InboxReadState }; export { r9 as InboxMessageType }; export { r8 as MESSAGE_CATEGORY_DISPLAY_MAP }; export function getFilterMap() { const r1 = {}; r1[c5012_3.ALL] = intl.string(t.iWyjNt); r1[c5012_3.MENTIONS] = intl.string(t.jbV6MM); r1[c5012_3.BOOKMARKS] = intl.string(t["+rlGYW"]); return r1; } export { r57 as ChannelLoadState }; export { r61 as LoadingTrigger }; export { r67 as NotificationInboxItemType }; export { r72 as NotificationInboxActionType };