discord-jadx/app/src/main/java/com/discord/stores/StoreStream.java

3350 lines
154 KiB
Java

package com.discord.stores;
import android.app.Application;
import android.content.Context;
import android.content.SharedPreferences;
import co.discord.media_engine.VideoInputDeviceDescription;
import com.discord.api.channel.Channel;
import com.discord.api.channel.ChannelRecipient;
import com.discord.api.commands.GuildApplicationCommands;
import com.discord.api.emoji.GuildEmojisUpdate;
import com.discord.api.friendsuggestions.FriendSuggestion;
import com.discord.api.friendsuggestions.FriendSuggestionDelete;
import com.discord.api.guild.Guild;
import com.discord.api.guild.welcome.GuildWelcomeScreen;
import com.discord.api.guildhash.GuildHashes;
import com.discord.api.guildjoinrequest.GuildJoinRequestCreateOrUpdate;
import com.discord.api.guildmember.GuildMember;
import com.discord.api.guildmember.GuildMemberRemove;
import com.discord.api.guildmember.GuildMembersChunk;
import com.discord.api.interaction.InteractionStateUpdate;
import com.discord.api.message.Message;
import com.discord.api.message.reaction.MessageReactionUpdate;
import com.discord.api.presence.Presence;
import com.discord.api.requiredaction.UserRequiredActionUpdate;
import com.discord.api.role.GuildRole;
import com.discord.api.role.GuildRoleCreate;
import com.discord.api.role.GuildRoleDelete;
import com.discord.api.role.GuildRoleUpdate;
import com.discord.api.stageinstance.StageInstance;
import com.discord.api.sticker.GuildStickersUpdate;
import com.discord.api.thread.ThreadMemberListUpdate;
import com.discord.api.thread.ThreadMemberUpdate;
import com.discord.api.thread.ThreadMembersUpdate;
import com.discord.api.user.TypingUser;
import com.discord.api.user.User;
import com.discord.api.utcdatetime.UtcDateTime;
import com.discord.api.voice.server.VoiceServer;
import com.discord.api.voice.state.VoiceState;
import com.discord.app.AppLog;
import com.discord.models.domain.ModelBan;
import com.discord.models.domain.ModelCall;
import com.discord.models.domain.ModelChannelUnreadUpdate;
import com.discord.models.domain.ModelConnectedAccount;
import com.discord.models.domain.ModelGuildIntegration;
import com.discord.models.domain.ModelGuildMemberListUpdate;
import com.discord.models.domain.ModelMessageDelete;
import com.discord.models.domain.ModelNotificationSettings;
import com.discord.models.domain.ModelPayload;
import com.discord.models.domain.ModelReadState;
import com.discord.models.domain.ModelSession;
import com.discord.models.domain.ModelUserNote;
import com.discord.models.domain.ModelUserRelationship;
import com.discord.models.domain.ModelUserSettings;
import com.discord.models.domain.StreamCreateOrUpdate;
import com.discord.models.domain.StreamDelete;
import com.discord.models.domain.StreamServerUpdate;
import com.discord.models.domain.auth.ModelLoginResult;
import com.discord.models.thread.dto.ModelThreadListSync;
import com.discord.rtcconnection.RtcConnection;
import com.discord.rtcconnection.VideoMetadata;
import com.discord.stores.ReadyPayloadUtils;
import com.discord.stores.StoreAudioDevices;
import com.discord.stores.StoreMessagesLoader;
import com.discord.stores.StoreNavigation;
import com.discord.stores.StoreRtcConnection;
import com.discord.stores.updates.ObservationDeck;
import com.discord.stores.updates.ObservationDeckProvider;
import com.discord.stores.utilities.Batched;
import com.discord.utilities.StoreUIEventHandler;
import com.discord.utilities.analytics.AnalyticsTracker;
import com.discord.utilities.cache.SharedPreferencesProvider;
import com.discord.utilities.channel.ChannelSelector;
import com.discord.utilities.fcm.NotificationClient;
import com.discord.utilities.friendsuggestions.FriendSuggestionsFetcher;
import com.discord.utilities.logging.AppGatewaySocketLogger;
import com.discord.utilities.media.AudioOutputMonitor;
import com.discord.utilities.networking.NetworkMonitor;
import com.discord.utilities.rest.RestAPI;
import com.discord.utilities.rx.ObservableExtensionsKt;
import com.discord.utilities.search.network.state.SearchState;
import com.discord.utilities.textprocessing.Rules;
import com.discord.utilities.time.Clock;
import com.discord.utilities.time.ClockFactory;
import com.discord.utilities.time.TimeElapsed;
import com.discord.widgets.settings.premium.OutboundPromosPreviewFeatureFlag;
import com.google.gson.Gson;
import d0.g;
import d0.t.n;
import d0.z.d.m;
import j0.l.c.c;
import j0.p.a;
import java.util.List;
import java.util.Set;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicReference;
import kotlin.Lazy;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.DefaultConstructorMarker;
import rx.Observable;
import rx.Scheduler;
import rx.subjects.BehaviorSubject;
/* compiled from: StoreStream.kt */
public final class StoreStream {
public static final Companion Companion = new Companion(null);
private static final long DAY_IN_MILLS = TimeUnit.DAYS.toMillis(1);
private static final String LAST_LOGGED_NOTIFICATION_PERMISSIONS_KEY = "last_logged_notification_permissions_key";
private static final Lazy collector$delegate = g.lazy(StoreStream$Companion$collector$2.INSTANCE);
private static boolean isInitialized;
private final StoreAccessibility accessibility;
private final StoreAnalytics analytics;
private final StoreApplication application;
private final StoreApplicationCommands applicationCommands;
private final StoreApplicationInteractions applicationInteractions;
private final StoreApplicationStreamPreviews applicationStreamPreviews;
private final StoreApplicationStreaming applicationStreaming;
private final ArchivedThreadsStore archivedThreads;
private final StoreAudioDevices audioDevices;
private final StoreAudioManager audioManager;
private final StoreAudioManagerV2 audioManagerV2;
private final StoreAuditLog auditLog;
private final StoreAuthentication authentication;
private final StoreAutocomplete autocomplete;
private final StoreBans bans;
private final StoreCalls calls;
private final StoreCallsIncoming callsIncoming;
private final StoreChangeLog changeLogStore;
private final StoreChannelConversions channelConversions;
private final StoreChannelFollowerStats channelFollowerStats;
private final StoreChannels channels;
private final StoreChannelsSelected channelsSelected;
private final StoreChat chat;
private final StoreClientDataState clientDataState;
private final StoreClientVersion clientVersion;
private final Clock clock;
private final StoreCollapsedChannelCategories collapsedChannelCategories;
private final StoreConnectionOpen connectionOpen;
private final ConnectionTimeStats connectionTimeStats;
private final StoreConnectivity connectivity;
private final StoreContactSync contactSync;
private final StoreEmojiCustom customEmojis;
private final StoreDirectories directories;
private final Dispatcher dispatcher;
private final StoreEmoji emojis;
private final StoreEntitlements entitlements;
private final StoreExpandedGuildFolders expandedGuildFolders;
private final StoreExperiments experiments;
private final StoreExpressionPickerNavigation expressionPickerNavigation;
private final StoreExpressionSuggestions expressionSuggestions;
private final StoreFriendSuggestions friendSuggestions;
private final StoreGameParty gameParty;
private final StoreGatewayConnection gatewaySocket;
private final StoreGifPicker gifPicker;
private final StoreGifting gifting;
private final StoreGooglePlayPurchases googlePlayPurchases;
private final StoreGooglePlaySkuDetails googlePlaySkuDetails;
private final StoreEmojiGuild guildEmojis;
private final StoreInviteSettings guildInvite;
private final StoreGuildJoinRequest guildJoinRequests;
private final StoreGuildMemberCounts guildMemberCounts;
private final StoreGuildMemberRequester guildMemberRequesterStore;
private final StoreGuildProfiles guildProfiles;
private final StoreGuildScheduledEvents guildScheduledEvents;
private final StoreGuildSelected guildSelected;
private final StoreUserGuildSettings guildSettings;
private final StoreGuildStickers guildStickers;
private final StoreGuildSubscriptions guildSubscriptions;
private final StoreGuildTemplates guildTemplates;
private final StoreGuildVoiceRegions guildVoiceRegions;
private final StoreGuildWelcomeScreens guildWelcomeScreens;
private final StoreGuilds guilds;
private final StoreGuildsNsfw guildsNsfw;
private final StoreGuildsSorted guildsSorted;
private final BehaviorSubject<Boolean> initialized = BehaviorSubject.l0(Boolean.FALSE);
private final StoreInstantInvites instantInvites;
private final StoreGuildIntegrations integrations;
private final StoreChannelMembers lazyChannelMembersStore;
private final StoreThreadMembers lazyThreadMembersStore;
private final StoreLibrary library;
private final StoreLocalActionComponentState localActionComponentState;
private final StoreLurking lurking;
private final StoreMaskedLinks maskedLinks;
private final StoreMediaEngine mediaEngine;
private final StoreMediaFavorites mediaFavorites;
private final StoreMediaSettings mediaSettings;
private final StoreGuildMemberVerificationForm memberVerificationForms;
private final StoreMentions mentions;
private final StoreMessageAck messageAck;
private final StoreMessageReactions messageReactions;
private final StoreMessageReplies messageReplies;
private final StoreMessageState messageStates;
private final StoreMessageUploads messageUploads;
private final StoreMessages messages;
private final StoreMessagesLoader messagesLoader;
private final StoreMessagesMostRecent messagesMostRecent;
private final StoreMFA mfa;
private final StoreNavigation navigation;
private final StoreNotices notices;
private final StoreNotifications notifications;
private final StoreNux nux;
private final StoreOutboundPromotions outboundPromotions;
private final StorePaymentSources paymentSources;
private final StorePendingReplies pendingReplies;
private final StorePermissions permissions;
private final StorePhone phone;
private final StorePinnedMessages pinnedMessages;
private final StorePremiumGuildSubscription premiumGuildSubscriptions;
private final StoreUserPresence presences;
private final StoreReadStates readStates;
private final StoreRequestedStageChannels requestedStageChannels;
private final StoreReviewRequest reviewRequestStore;
private final StoreRtcConnection rtcConnection;
private final StoreRtcRegion rtcRegion;
private final StoreSearch search;
private final StoreSlowMode slowMode;
private final StoreSpotify spotify;
private final StoreStageChannels stageChannels;
private final StoreStageInstances stageInstances;
private final StoreStageChannelSelfPresence stageSelfPresence;
private final StoreStickers stickers;
private final StoreDynamicLink storeDynamicLink;
private final Scheduler storeThreadScheduler;
private final StoreV2DispatchHandler storeV2DispatchHandler;
private final List<StoreV2> storesV2;
private final StoreStreamRtcConnection streamRtcConnection;
private final StoreSubscriptions subscriptions;
private final StoreTabsNavigation tabsNavigation;
private final StoreThreadDraft threadDraft;
private final StoreThreadMessages threadMessages;
private final StoreThreadsActive threadsActive;
private final StoreThreadsActiveJoined threadsActiveJoined;
private final StoreThreadsJoined threadsJoined;
private final StoreUserAffinities userAffinities;
private final StoreUserConnections userConnections;
private final StoreUserNotes userNotes;
private final StoreUserProfile userProfile;
private final StoreUserRelationships userRelationships;
private final StoreUserRequiredActions userRequiredAction;
private final StoreUserSettings userSettings;
private final StoreUserSettingsSystem userSettingsSystem;
private final StoreUserSurvey userSurvey;
private final StoreUser users;
private final StoreUserTyping usersTyping;
private final StoreVideoStreams videoStreams;
private final StoreAudioDevices.VideoUseDetector videoUseDetector;
private final StoreVoiceChannelSelected voiceChannelSelected;
private final StoreVoiceParticipants voiceParticipants;
private final StoreVoiceSpeaking voiceSpeaking;
private final StoreVoiceStates voiceStates;
/* compiled from: StoreStream.kt */
public static final class Companion {
private Companion() {
}
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
public static final /* synthetic */ StoreStream access$getCollector$p(Companion companion) {
return companion.getCollector();
}
private final StoreStream getCollector() {
Lazy access$getCollector$cp = StoreStream.access$getCollector$cp();
Companion companion = StoreStream.Companion;
return (StoreStream) access$getCollector$cp.getValue();
}
public final StoreAccessibility getAccessibility() {
return getCollector().getAccessibility$app_productionBetaRelease();
}
public final StoreAnalytics getAnalytics() {
return getCollector().getAnalytics$app_productionBetaRelease();
}
public final StoreApplication getApplication() {
return getCollector().getApplication$app_productionBetaRelease();
}
public final StoreApplicationCommands getApplicationCommands() {
return getCollector().getApplicationCommands$app_productionBetaRelease();
}
public final StoreApplicationStreamPreviews getApplicationStreamPreviews() {
return getCollector().getApplicationStreamPreviews$app_productionBetaRelease();
}
public final StoreApplicationStreaming getApplicationStreaming() {
return getCollector().getApplicationStreaming$app_productionBetaRelease();
}
public final ArchivedThreadsStore getArchivedThreads() {
return getCollector().getArchivedThreads$app_productionBetaRelease();
}
public final StoreAudioDevices getAudioDevices() {
return getCollector().getAudioDevices$app_productionBetaRelease();
}
public final StoreAudioManagerV2 getAudioManagerV2() {
return getCollector().getAudioManagerV2$app_productionBetaRelease();
}
public final StoreAuditLog getAuditLog() {
return getCollector().getAuditLog$app_productionBetaRelease();
}
public final StoreAuthentication getAuthentication() {
return getCollector().getAuthentication$app_productionBetaRelease();
}
public final StoreAutocomplete getAutocomplete() {
return getCollector().getAutocomplete$app_productionBetaRelease();
}
public final StoreBans getBans() {
return getCollector().getBans$app_productionBetaRelease();
}
public final StoreCalls getCalls() {
return getCollector().getCalls$app_productionBetaRelease();
}
public final StoreCallsIncoming getCallsIncoming() {
return getCollector().getCallsIncoming$app_productionBetaRelease();
}
public final StoreChangeLog getChangeLog() {
return getCollector().getChangeLogStore$app_productionBetaRelease();
}
public final StoreChannelFollowerStats getChannelFollowerStats() {
return getCollector().getChannelFollowerStats$app_productionBetaRelease();
}
public final StoreChannelMembers getChannelMembers() {
return getCollector().getLazyChannelMembersStore$app_productionBetaRelease();
}
public final StoreChannels getChannels() {
return getCollector().getChannels$app_productionBetaRelease();
}
public final StoreChannelsSelected getChannelsSelected() {
return getCollector().getChannelsSelected$app_productionBetaRelease();
}
public final StoreChat getChat() {
return getCollector().getChat$app_productionBetaRelease();
}
public final StoreConnectionOpen getConnectionOpen() {
return getCollector().getConnectionOpen$app_productionBetaRelease();
}
public final StoreConnectivity getConnectivity() {
return getCollector().getConnectivity$app_productionBetaRelease();
}
public final StoreContactSync getContactSync() {
return getCollector().getContactSync$app_productionBetaRelease();
}
public final StoreEmojiCustom getCustomEmojis() {
return StoreStream.access$getCustomEmojis$p(getCollector());
}
public final StoreDirectories getDirectories() {
return getCollector().getDirectories$app_productionBetaRelease();
}
public final Dispatcher getDispatcherYesThisIsIntentional() {
return StoreStream.access$getDispatcher$p(getCollector());
}
public final StoreDynamicLink getDynamicLinkCache() {
return getCollector().getStoreDynamicLink$app_productionBetaRelease();
}
public final StoreEmoji getEmojis() {
return getCollector().getEmojis$app_productionBetaRelease();
}
public final StoreEntitlements getEntitlements() {
return getCollector().getEntitlements$app_productionBetaRelease();
}
public final StoreExpandedGuildFolders getExpandedGuildFolders() {
return getCollector().getExpandedGuildFolders$app_productionBetaRelease();
}
public final StoreExperiments getExperiments() {
return getCollector().getExperiments$app_productionBetaRelease();
}
public final StoreExpressionPickerNavigation getExpressionPickerNavigation() {
return getCollector().getExpressionPickerNavigation$app_productionBetaRelease();
}
public final StoreExpressionSuggestions getExpressionSuggestions() {
return getCollector().getExpressionSuggestions$app_productionBetaRelease();
}
public final StoreFriendSuggestions getFriendSuggestions() {
return getCollector().getFriendSuggestions$app_productionBetaRelease();
}
public final StoreGameParty getGameParty() {
return getCollector().getGameParty$app_productionBetaRelease();
}
public final StoreGatewayConnection getGatewaySocket() {
return getCollector().getGatewaySocket$app_productionBetaRelease();
}
public final StoreGifPicker getGifPicker() {
return getCollector().getGifPicker$app_productionBetaRelease();
}
public final StoreGifting getGifting() {
return getCollector().getGifting$app_productionBetaRelease();
}
public final StoreGooglePlayPurchases getGooglePlayPurchases() {
return getCollector().getGooglePlayPurchases$app_productionBetaRelease();
}
public final StoreGooglePlaySkuDetails getGooglePlaySkuDetails() {
return getCollector().getGooglePlaySkuDetails$app_productionBetaRelease();
}
public final StoreEmojiGuild getGuildEmojis() {
return getCollector().getGuildEmojis$app_productionBetaRelease();
}
public final StoreGuildIntegrations getGuildIntegrations() {
return getCollector().getIntegrations$app_productionBetaRelease();
}
public final StoreGuildJoinRequest getGuildJoinRequests() {
return getCollector().getGuildJoinRequests$app_productionBetaRelease();
}
public final StoreGuildMemberRequester getGuildMemberRequester() {
return getCollector().getGuildMemberRequesterStore$app_productionBetaRelease();
}
public final StoreGuildProfiles getGuildProfiles() {
return getCollector().getGuildProfiles$app_productionBetaRelease();
}
public final StoreGuildScheduledEvents getGuildScheduledEvents() {
return getCollector().getGuildScheduledEvents$app_productionBetaRelease();
}
public final StoreGuildSelected getGuildSelected() {
return getCollector().getGuildSelected$app_productionBetaRelease();
}
public final StoreGuildStickers getGuildStickers() {
return getCollector().getGuildStickers$app_productionBetaRelease();
}
public final StoreGuildSubscriptions getGuildSubscriptions() {
return getCollector().getGuildSubscriptions$app_productionBetaRelease();
}
public final StoreGuildTemplates getGuildTemplates() {
return getCollector().getGuildTemplates$app_productionBetaRelease();
}
public final StoreGuildVoiceRegions getGuildVoiceRegions() {
return getCollector().getGuildVoiceRegions$app_productionBetaRelease();
}
public final StoreGuildWelcomeScreens getGuildWelcomeScreens() {
return getCollector().getGuildWelcomeScreens$app_productionBetaRelease();
}
public final StoreGuilds getGuilds() {
return getCollector().getGuilds$app_productionBetaRelease();
}
public final StoreGuildsNsfw getGuildsNsfw() {
return getCollector().getGuildsNsfw$app_productionBetaRelease();
}
public final StoreGuildsSorted getGuildsSorted() {
return getCollector().getGuildsSorted$app_productionBetaRelease();
}
public final StoreInstantInvites getInstantInvites() {
return getCollector().getInstantInvites$app_productionBetaRelease();
}
public final StoreApplicationInteractions getInteractions() {
return getCollector().getApplicationInteractions$app_productionBetaRelease();
}
public final StoreInviteSettings getInviteSettings() {
return getCollector().getGuildInvite$app_productionBetaRelease();
}
public final StoreLibrary getLibrary() {
return getCollector().getLibrary$app_productionBetaRelease();
}
public final StoreLocalActionComponentState getLocalActionComponentState() {
return getCollector().getLocalActionComponentState$app_productionBetaRelease();
}
public final StoreLurking getLurking() {
return getCollector().getLurking$app_productionBetaRelease();
}
public final StoreMFA getMFA() {
return getCollector().getMfa$app_productionBetaRelease();
}
public final StoreMaskedLinks getMaskedLinks() {
return getCollector().getMaskedLinks$app_productionBetaRelease();
}
public final StoreMediaEngine getMediaEngine() {
return getCollector().getMediaEngine$app_productionBetaRelease();
}
public final StoreMediaFavorites getMediaFavorites() {
return getCollector().getMediaFavorites$app_productionBetaRelease();
}
public final StoreMediaSettings getMediaSettings() {
return getCollector().getMediaSettings$app_productionBetaRelease();
}
public final StoreGuildMemberVerificationForm getMemberVerificationForms() {
return getCollector().getMemberVerificationForms$app_productionBetaRelease();
}
public final StoreMentions getMentions() {
return getCollector().getMentions$app_productionBetaRelease();
}
public final StoreMessageAck getMessageAck() {
return getCollector().getMessageAck$app_productionBetaRelease();
}
public final StoreMessageReactions getMessageReactions() {
return getCollector().getMessageReactions$app_productionBetaRelease();
}
public final StoreMessageState getMessageState() {
return getCollector().getMessageStates$app_productionBetaRelease();
}
public final StoreMessageUploads getMessageUploads() {
return getCollector().getMessageUploads$app_productionBetaRelease();
}
public final StoreMessages getMessages() {
return getCollector().getMessages$app_productionBetaRelease();
}
public final StoreMessagesLoader getMessagesLoader() {
return getCollector().getMessagesLoader$app_productionBetaRelease();
}
public final StoreMessagesMostRecent getMessagesMostRecent() {
return getCollector().getMessagesMostRecent$app_productionBetaRelease();
}
public final StoreNavigation getNavigation() {
return getCollector().getNavigation$app_productionBetaRelease();
}
public final StoreNotices getNotices() {
return getCollector().getNotices$app_productionBetaRelease();
}
public final StoreNotifications getNotifications() {
return getCollector().getNotifications$app_productionBetaRelease();
}
public final StoreNux getNux() {
return getCollector().getNux$app_productionBetaRelease();
}
public final StoreOutboundPromotions getOutboundPromotions() {
return getCollector().getOutboundPromotions$app_productionBetaRelease();
}
public final StorePaymentSources getPaymentSources() {
return getCollector().getPaymentSources$app_productionBetaRelease();
}
public final StorePendingReplies getPendingReplies() {
return getCollector().getPendingReplies$app_productionBetaRelease();
}
public final StorePermissions getPermissions() {
return getCollector().getPermissions$app_productionBetaRelease();
}
public final StorePhone getPhone() {
return getCollector().getPhone$app_productionBetaRelease();
}
public final StorePinnedMessages getPinnedMessages() {
return getCollector().getPinnedMessages$app_productionBetaRelease();
}
public final StorePremiumGuildSubscription getPremiumGuildSubscriptions() {
return getCollector().getPremiumGuildSubscriptions$app_productionBetaRelease();
}
public final StoreUserPresence getPresences() {
return getCollector().getPresences$app_productionBetaRelease();
}
public final StoreReadStates getReadStates() {
return getCollector().getReadStates$app_productionBetaRelease();
}
public final StoreMessageReplies getRepliedMessages() {
return getCollector().getMessageReplies$app_productionBetaRelease();
}
public final StoreRequestedStageChannels getRequestedStageChannels() {
return getCollector().getRequestedStageChannels$app_productionBetaRelease();
}
public final StoreReviewRequest getReviewRequest() {
return getCollector().getReviewRequestStore$app_productionBetaRelease();
}
public final StoreRtcConnection getRtcConnection() {
return getCollector().getRtcConnection$app_productionBetaRelease();
}
public final StoreSearch getSearch() {
return getCollector().getSearch$app_productionBetaRelease();
}
public final StoreSlowMode getSlowMode() {
return getCollector().getSlowMode$app_productionBetaRelease();
}
public final StoreSpotify getSpotify() {
return getCollector().getSpotify$app_productionBetaRelease();
}
public final StoreStageChannelSelfPresence getStageChannelSelfPresence() {
return getCollector().getStageSelfPresence$app_productionBetaRelease();
}
public final StoreStageChannels getStageChannels() {
return getCollector().getStageChannels$app_productionBetaRelease();
}
public final StoreStageInstances getStageInstances() {
return getCollector().getStageInstances$app_productionBetaRelease();
}
public final StoreStickers getStickers() {
return getCollector().getStickers$app_productionBetaRelease();
}
public final StoreCollapsedChannelCategories getStoreChannelCategories() {
return getCollector().getCollapsedChannelCategories$app_productionBetaRelease();
}
public final StoreStreamRtcConnection getStreamRtcConnection() {
return StoreStream.access$getStreamRtcConnection$p(getCollector());
}
public final StoreSubscriptions getSubscriptions() {
return getCollector().getSubscriptions$app_productionBetaRelease();
}
public final StoreTabsNavigation getTabsNavigation() {
return getCollector().getTabsNavigation$app_productionBetaRelease();
}
public final StoreThreadDraft getThreadDraft() {
return getCollector().getThreadDraft$app_productionBetaRelease();
}
public final StoreThreadMembers getThreadMembers() {
return getCollector().getLazyThreadMembersStore$app_productionBetaRelease();
}
public final StoreThreadMessages getThreadMessages() {
return getCollector().getThreadMessages$app_productionBetaRelease();
}
public final StoreThreadsActive getThreadsActive() {
return getCollector().getThreadsActive$app_productionBetaRelease();
}
public final StoreThreadsActiveJoined getThreadsActiveJoined() {
return getCollector().getThreadsActiveJoined$app_productionBetaRelease();
}
public final StoreThreadsJoined getThreadsJoined() {
return getCollector().getThreadsJoined$app_productionBetaRelease();
}
public final StoreUserAffinities getUserAffinities() {
return getCollector().getUserAffinities$app_productionBetaRelease();
}
public final StoreUserConnections getUserConnections() {
return getCollector().getUserConnections$app_productionBetaRelease();
}
public final StoreUserGuildSettings getUserGuildSettings() {
return getCollector().getGuildSettings$app_productionBetaRelease();
}
public final StoreUserProfile getUserProfile() {
return getCollector().getUserProfile$app_productionBetaRelease();
}
public final StoreUserRelationships getUserRelationships() {
return getCollector().getUserRelationships$app_productionBetaRelease();
}
public final StoreUserRequiredActions getUserRequiredActions() {
return getCollector().getUserRequiredAction$app_productionBetaRelease();
}
public final StoreUserSettings getUserSettings() {
return getCollector().getUserSettings$app_productionBetaRelease();
}
public final StoreUserSettingsSystem getUserSettingsSystem() {
return getCollector().getUserSettingsSystem$app_productionBetaRelease();
}
public final StoreUserSurvey getUserSurvey() {
return getCollector().getUserSurvey$app_productionBetaRelease();
}
public final StoreUser getUsers() {
return getCollector().getUsers$app_productionBetaRelease();
}
public final StoreUserNotes getUsersNotes() {
return getCollector().getUserNotes$app_productionBetaRelease();
}
public final StoreUserTyping getUsersTyping() {
return getCollector().getUsersTyping$app_productionBetaRelease();
}
public final StoreVoiceChannelSelected getVoiceChannelSelected() {
return getCollector().getVoiceChannelSelected$app_productionBetaRelease();
}
public final StoreVoiceParticipants getVoiceParticipants() {
return getCollector().getVoiceParticipants$app_productionBetaRelease();
}
public final StoreVoiceStates getVoiceStates() {
return getCollector().getVoiceStates$app_productionBetaRelease();
}
public final void initialize(Application application) {
m.checkNotNullParameter(application, "application");
if (!StoreStream.access$isInitialized$cp()) {
Rules.setEmojiDataProvider(getCollector().getEmojis$app_productionBetaRelease());
StoreStream.access$init(getCollector(), application);
RestAPI.AppHeadersProvider.authTokenProvider = StoreStream$Companion$initialize$1.INSTANCE;
RestAPI.AppHeadersProvider.fingerprintProvider = StoreStream$Companion$initialize$2.INSTANCE;
RestAPI.AppHeadersProvider.localeProvider = StoreStream$Companion$initialize$3.INSTANCE;
StoreStream.access$deferredInit(getCollector(), application);
StoreStream.access$setInitialized$cp(true);
}
}
public final Observable<Boolean> isInitializedObservable() {
BehaviorSubject access$getInitialized$p = StoreStream.access$getInitialized$p(StoreStream.Companion.getCollector());
m.checkNotNullExpressionValue(access$getInitialized$p, "collector.initialized");
return access$getInitialized$p;
}
}
public StoreStream() {
ExecutorService newSingleThreadExecutor = Executors.newSingleThreadExecutor(StoreStream$storeThreadScheduler$1.INSTANCE);
AtomicReference<a> atomicReference = a.a;
c cVar = new c(newSingleThreadExecutor);
m.checkNotNullExpressionValue(cVar, "Schedulers.from(Executor… newThread\n })");
this.storeThreadScheduler = cVar;
Dispatcher dispatcher = new Dispatcher(cVar, false);
this.dispatcher = dispatcher;
Clock clock = ClockFactory.get();
this.clock = clock;
StoreAnalytics storeAnalytics = new StoreAnalytics(this, dispatcher, clock);
this.analytics = storeAnalytics;
StoreAuthentication storeAuthentication = new StoreAuthentication(this, dispatcher);
this.authentication = storeAuthentication;
StoreChannels storeChannels = new StoreChannels(dispatcher, ObservationDeckProvider.get(), new StoreStream$channels$1(this), new StoreStream$channels$2(this), new StoreStream$channels$3(this), null, 32, null);
this.channels = storeChannels;
StoreUser storeUser = new StoreUser(new StoreStream$users$1(this), dispatcher, null, null, 12, null);
this.users = storeUser;
StoreGuilds storeGuilds = new StoreGuilds(storeUser, null, 2, null);
this.guilds = storeGuilds;
StoreThreadsJoined storeThreadsJoined = new StoreThreadsJoined(storeUser, null, 2, null);
this.threadsJoined = storeThreadsJoined;
StoreStageInstances storeStageInstances = new StoreStageInstances(null, 1, null);
this.stageInstances = storeStageInstances;
this.requestedStageChannels = new StoreRequestedStageChannels(dispatcher, null, null, 6, null);
StorePermissions storePermissions = new StorePermissions(storeUser, storeChannels, storeGuilds, storeThreadsJoined, storeStageInstances, ObservationDeckProvider.get());
this.permissions = storePermissions;
StoreGuildSelected storeGuildSelected = new StoreGuildSelected(this, dispatcher, storeGuilds, storeAnalytics, null, 16, null);
this.guildSelected = storeGuildSelected;
StoreChannelsSelected storeChannelsSelected = new StoreChannelsSelected(this, storeChannels, storePermissions, storeGuildSelected, dispatcher, ObservationDeckProvider.get());
this.channelsSelected = storeChannelsSelected;
this.channelConversions = new StoreChannelConversions();
this.clientVersion = new StoreClientVersion();
StoreGuildMemberCounts storeGuildMemberCounts = new StoreGuildMemberCounts();
this.guildMemberCounts = storeGuildMemberCounts;
this.guildJoinRequests = new StoreGuildJoinRequest(storeUser, storeGuilds, dispatcher, ObservationDeckProvider.get());
this.guildsNsfw = new StoreGuildsNsfw(dispatcher, storeChannels);
this.bans = new StoreBans(dispatcher, ObservationDeckProvider.get());
ObservationDeck observationDeck = ObservationDeckProvider.get();
RestAPI.Companion companion = RestAPI.Companion;
this.guildEmojis = new StoreEmojiGuild(observationDeck, dispatcher, companion.getApi());
this.integrations = new StoreGuildIntegrations(dispatcher);
this.instantInvites = new StoreInstantInvites(dispatcher, null, null, 6, null);
this.guildTemplates = new StoreGuildTemplates(ObservationDeckProvider.get(), dispatcher, companion.getApi());
this.guildInvite = new StoreInviteSettings();
StoreMessages storeMessages = new StoreMessages(this, dispatcher, clock);
this.messages = storeMessages;
this.messagesLoader = new StoreMessagesLoader(this, dispatcher);
this.messagesMostRecent = new StoreMessagesMostRecent(null, 1, null);
StoreMessageAck storeMessageAck = new StoreMessageAck(this, ObservationDeckProvider.get(), dispatcher, companion.getApi());
this.messageAck = storeMessageAck;
this.messageReplies = new StoreMessageReplies(dispatcher, storeMessages, null, 4, null);
this.messageStates = new StoreMessageState(dispatcher);
this.notifications = new StoreNotifications(clock, this);
StoreUserGuildSettings storeUserGuildSettings = new StoreUserGuildSettings(dispatcher, clock, storeAnalytics, storeChannels, null, null, 48, null);
this.guildSettings = storeUserGuildSettings;
StoreExperiments storeExperiments = new StoreExperiments(clock, dispatcher, storeUser, storeGuilds, storeAuthentication, storeGuildMemberCounts, null, 64, null);
this.experiments = storeExperiments;
this.lurking = new StoreLurking(this, storeGuilds, dispatcher);
this.userConnections = new StoreUserConnections(this, dispatcher, null, 4, null);
StoreUserPresence storeUserPresence = new StoreUserPresence(clock, this, ObservationDeckProvider.get());
this.presences = storeUserPresence;
this.userProfile = new StoreUserProfile(dispatcher, null, 2, null);
this.userNotes = new StoreUserNotes(dispatcher, null, null, 6, null);
this.usersTyping = new StoreUserTyping(this, dispatcher, null, null, 12, null);
StoreAccessibility storeAccessibility = new StoreAccessibility(dispatcher, null, null, 6, null);
this.accessibility = storeAccessibility;
this.userSettings = new StoreUserSettings(dispatcher, storeAccessibility);
StoreUserSettingsSystem storeUserSettingsSystem = new StoreUserSettingsSystem(new StoreStream$userSettingsSystem$1(this));
this.userSettingsSystem = storeUserSettingsSystem;
this.userSurvey = new StoreUserSurvey(dispatcher, storeUser, storeGuilds, storePermissions, ObservationDeckProvider.get(), companion.getApi(), clock, SharedPreferencesProvider.INSTANCE.get());
this.userRequiredAction = new StoreUserRequiredActions(ObservationDeckProvider.get());
StoreUserRelationships storeUserRelationships = new StoreUserRelationships(null, 1, null);
this.userRelationships = storeUserRelationships;
StoreVoiceStates storeVoiceStates = new StoreVoiceStates(new StoreStream$voiceStates$1(this), ObservationDeckProvider.get());
this.voiceStates = storeVoiceStates;
this.tabsNavigation = new StoreTabsNavigation(dispatcher, this, null, 4, null);
this.maskedLinks = new StoreMaskedLinks(this.dispatcher, storeChannelsSelected, storeUserRelationships);
this.navigation = new StoreNavigation(this);
this.customEmojis = new StoreEmojiCustom(this);
StoreVoiceChannelSelected storeVoiceChannelSelected = new StoreVoiceChannelSelected(this, this.dispatcher, this.clock, null, 8, null);
this.voiceChannelSelected = storeVoiceChannelSelected;
StoreAudioDevices.VideoUseDetector videoUseDetector = new StoreAudioDevices.VideoUseDetector(this.channels, storeVoiceStates, this.users);
this.videoUseDetector = videoUseDetector;
StoreAudioDevices storeAudioDevices = new StoreAudioDevices(this.dispatcher, AudioOutputMonitor.Companion.getINSTANCE(), videoUseDetector, storeVoiceChannelSelected, this.channels, null, null, 96, null);
this.audioDevices = storeAudioDevices;
this.gatewaySocket = new StoreGatewayConnection(this, this.clock, null, null, AppGatewaySocketLogger.Companion.getINSTANCE(), 12, null);
this.connectivity = new StoreConnectivity(this, this.dispatcher, this.clock);
this.connectionOpen = new StoreConnectionOpen();
this.calls = new StoreCalls(this);
this.callsIncoming = new StoreCallsIncoming(this.dispatcher, ObservationDeckProvider.get(), this.users);
this.chat = new StoreChat(this.dispatcher, null, 2, null);
this.mentions = new StoreMentions(storeUserRelationships, this.permissions, storeMessageAck, storeUserGuildSettings, this.channels, this.threadsJoined, null, 64, null);
this.pinnedMessages = new StorePinnedMessages(this.dispatcher, ObservationDeckProvider.get());
this.readStates = new StoreReadStates(this.clock);
this.voiceParticipants = new StoreVoiceParticipants(this);
this.search = new StoreSearch(this, this.dispatcher, this.guildsNsfw, this.users, ObservationDeckProvider.get(), this.channels, this.guilds);
StoreMediaSettings storeMediaSettings = new StoreMediaSettings(storeVoiceChannelSelected, this.channels, this.permissions, null, null, 24, null);
this.mediaSettings = storeMediaSettings;
this.storeDynamicLink = new StoreDynamicLink(this, this.dispatcher);
this.collapsedChannelCategories = new StoreCollapsedChannelCategories(this.dispatcher, ObservationDeckProvider.get());
StoreMediaEngine storeMediaEngine = new StoreMediaEngine(storeMediaSettings, this, this.dispatcher);
this.mediaEngine = storeMediaEngine;
StoreRtcRegion storeRtcRegion = new StoreRtcRegion(this.dispatcher, this.clock, storeMediaEngine, storeExperiments, null, 16, null);
this.rtcRegion = storeRtcRegion;
StoreRtcConnection storeRtcConnection = new StoreRtcConnection(this, this.dispatcher, this.clock, storeRtcRegion, this.analytics, storeVoiceStates, null, null, 192, null);
this.rtcConnection = storeRtcConnection;
this.voiceSpeaking = new StoreVoiceSpeaking(ObservationDeckProvider.get());
this.videoStreams = new StoreVideoStreams(null, 1, null);
this.gameParty = new StoreGameParty(ObservationDeckProvider.get(), storeUserPresence, this.users);
StoreNotices storeNotices = new StoreNotices(this.clock, this);
this.notices = storeNotices;
this.guildSubscriptions = new StoreGuildSubscriptions(this, this.dispatcher);
StoreApplicationStreaming storeApplicationStreaming = new StoreApplicationStreaming(this, this.dispatcher, this.users, storeVoiceChannelSelected, storeRtcConnection, null, 32, null);
this.applicationStreaming = storeApplicationStreaming;
this.lazyChannelMembersStore = new StoreChannelMembers(ObservationDeckProvider.get(), this.dispatcher, this.guilds, this.users, new StoreStream$lazyChannelMembersStore$1(this.channels), new StoreStream$lazyChannelMembersStore$2(this.guildMemberCounts), new StoreStream$lazyChannelMembersStore$3(storeUserPresence.getPresences()), new StoreStream$lazyChannelMembersStore$4(storeApplicationStreaming));
this.lazyThreadMembersStore = new StoreThreadMembers(ObservationDeckProvider.get(), this.channels);
this.guildMemberRequesterStore = new StoreGuildMemberRequester(this, this.dispatcher);
this.reviewRequestStore = new StoreReviewRequest(this.clock, this);
this.changeLogStore = new StoreChangeLog(this.clock, storeNotices, this.users, storeUserSettingsSystem, this.experiments, this.dispatcher);
this.slowMode = new StoreSlowMode(this.clock, this);
this.auditLog = new StoreAuditLog(ObservationDeckProvider.get(), this.dispatcher, companion.getApi());
this.messageUploads = new StoreMessageUploads();
this.nux = new StoreNux(this.dispatcher);
this.library = new StoreLibrary(this.dispatcher, ObservationDeckProvider.get());
this.gifting = new StoreGifting(this.dispatcher);
this.spotify = new StoreSpotify(this, this.dispatcher, this.clock);
this.messageReactions = new StoreMessageReactions(this.dispatcher, this.users, null, 4, null);
this.application = new StoreApplication(this.dispatcher, ObservationDeckProvider.get());
this.paymentSources = new StorePaymentSources(this.dispatcher, null, null, 6, null);
this.subscriptions = new StoreSubscriptions(ObservationDeckProvider.get(), this.dispatcher, companion.getApi());
this.mfa = new StoreMFA(this, this.dispatcher, ObservationDeckProvider.get());
this.streamRtcConnection = new StoreStreamRtcConnection(storeMediaEngine, this.users, this, this.dispatcher, this.clock, this.analytics, storeRtcConnection, null, null, null, 896, null);
this.audioManager = new StoreAudioManager(storeAudioDevices, storeRtcConnection, null, 4, null);
StoreAudioManagerV2 storeAudioManagerV2 = new StoreAudioManagerV2(ObservationDeckProvider.get(), this.dispatcher, null, this.voiceChannelSelected, this.channels, this.videoUseDetector, 4, null);
this.audioManagerV2 = storeAudioManagerV2;
StoreApplicationStreamPreviews storeApplicationStreamPreviews = new StoreApplicationStreamPreviews(this.dispatcher, this.clock, null, null, 12, null);
this.applicationStreamPreviews = storeApplicationStreamPreviews;
StoreGuildsSorted storeGuildsSorted = new StoreGuildsSorted(ObservationDeckProvider.get(), this.dispatcher, this.guilds, this.lurking);
this.guildsSorted = storeGuildsSorted;
StoreExpandedGuildFolders storeExpandedGuildFolders = new StoreExpandedGuildFolders(this.dispatcher, null, 2, null);
this.expandedGuildFolders = storeExpandedGuildFolders;
StoreMediaFavorites storeMediaFavorites = new StoreMediaFavorites(ObservationDeckProvider.get(), this.dispatcher, null, 4, null);
this.mediaFavorites = storeMediaFavorites;
this.emojis = new StoreEmoji(this.customEmojis, this.users, this.permissions, storeGuildsSorted, storeMediaFavorites);
StorePremiumGuildSubscription storePremiumGuildSubscription = new StorePremiumGuildSubscription(this.dispatcher, ObservationDeckProvider.get());
this.premiumGuildSubscriptions = storePremiumGuildSubscription;
StoreEntitlements storeEntitlements = new StoreEntitlements(this.dispatcher, ObservationDeckProvider.get(), null, 4, null);
this.entitlements = storeEntitlements;
StoreGuildProfiles storeGuildProfiles = new StoreGuildProfiles(this.dispatcher, ObservationDeckProvider.get());
this.guildProfiles = storeGuildProfiles;
StoreGuildWelcomeScreens storeGuildWelcomeScreens = new StoreGuildWelcomeScreens(this.dispatcher, null, 2, null);
this.guildWelcomeScreens = storeGuildWelcomeScreens;
StoreGuildVoiceRegions storeGuildVoiceRegions = new StoreGuildVoiceRegions(this.dispatcher, null, 2, null);
this.guildVoiceRegions = storeGuildVoiceRegions;
StoreUserAffinities storeUserAffinities = new StoreUserAffinities(this.dispatcher, null, 2, null);
this.userAffinities = storeUserAffinities;
StoreClientDataState storeClientDataState = new StoreClientDataState(null, 1, null);
this.clientDataState = storeClientDataState;
StoreGifPicker storeGifPicker = new StoreGifPicker(this.dispatcher, this.userSettingsSystem, null, null, 12, null);
this.gifPicker = storeGifPicker;
StoreStickers storeStickers = new StoreStickers(this.dispatcher, null, null, null, 14, null);
this.stickers = storeStickers;
StoreGooglePlayPurchases storeGooglePlayPurchases = new StoreGooglePlayPurchases(ObservationDeckProvider.get(), this.dispatcher, companion.getApi(), this.clock, new Gson(), AnalyticsTracker.INSTANCE);
this.googlePlayPurchases = storeGooglePlayPurchases;
StoreGooglePlaySkuDetails storeGooglePlaySkuDetails = new StoreGooglePlaySkuDetails(ObservationDeckProvider.get(), this.dispatcher);
this.googlePlaySkuDetails = storeGooglePlaySkuDetails;
StoreExpressionPickerNavigation storeExpressionPickerNavigation = new StoreExpressionPickerNavigation(ObservationDeckProvider.get(), this.dispatcher);
this.expressionPickerNavigation = storeExpressionPickerNavigation;
StoreChannelFollowerStats storeChannelFollowerStats = new StoreChannelFollowerStats(this.dispatcher, ObservationDeckProvider.get());
this.channelFollowerStats = storeChannelFollowerStats;
StorePendingReplies storePendingReplies = new StorePendingReplies(this.dispatcher, null, 2, null);
this.pendingReplies = storePendingReplies;
StoreApplicationCommands storeApplicationCommands = new StoreApplicationCommands(this.gatewaySocket, this.permissions, this.guilds, this.users, this.dispatcher, null, ObservationDeckProvider.get(), null, 160, null);
this.applicationCommands = storeApplicationCommands;
StoreLocalActionComponentState storeLocalActionComponentState = new StoreLocalActionComponentState(this.dispatcher, null, 2, null);
this.localActionComponentState = storeLocalActionComponentState;
StoreApplicationInteractions storeApplicationInteractions = new StoreApplicationInteractions(this, this.dispatcher, this.messages, storeLocalActionComponentState, this.users, this.clock, null, null, null, null, 960, null);
this.applicationInteractions = storeApplicationInteractions;
StoreGuildMemberVerificationForm storeGuildMemberVerificationForm = new StoreGuildMemberVerificationForm(this.dispatcher, null, null, 6, null);
this.memberVerificationForms = storeGuildMemberVerificationForm;
StorePhone storePhone = new StorePhone(this.dispatcher);
this.phone = storePhone;
StoreThreadsActive storeThreadsActive = new StoreThreadsActive(this.channels, null, 2, null);
this.threadsActive = storeThreadsActive;
StoreThreadsActiveJoined storeThreadsActiveJoined = new StoreThreadsActiveJoined(storeThreadsActive, this.threadsJoined, ObservationDeckProvider.get());
this.threadsActiveJoined = storeThreadsActiveJoined;
StoreThreadMessages storeThreadMessages = new StoreThreadMessages(this.messages, this.channels, ObservationDeckProvider.get());
this.threadMessages = storeThreadMessages;
ArchivedThreadsStore archivedThreadsStore = new ArchivedThreadsStore(this, this.dispatcher, ObservationDeckProvider.get());
this.archivedThreads = archivedThreadsStore;
StoreThreadDraft storeThreadDraft = new StoreThreadDraft(this.dispatcher);
this.threadDraft = storeThreadDraft;
StoreExpressionSuggestions storeExpressionSuggestions = new StoreExpressionSuggestions(ObservationDeckProvider.get(), this.dispatcher, null, 4, null);
this.expressionSuggestions = storeExpressionSuggestions;
StoreStageChannels storeStageChannels = new StoreStageChannels(this.users, this.guilds, this.channels, this.voiceStates, this.permissions, this.stageInstances, null, 64, null);
this.stageChannels = storeStageChannels;
StoreStageChannelSelfPresence storeStageChannelSelfPresence = new StoreStageChannelSelfPresence(ObservationDeckProvider.get(), this.users, this.presences, storeStageChannels, this.voiceChannelSelected, this.userSettings, this.dispatcher);
this.stageSelfPresence = storeStageChannelSelfPresence;
StoreAutocomplete storeAutocomplete = new StoreAutocomplete(ObservationDeckProvider.get(), this.dispatcher);
this.autocomplete = storeAutocomplete;
StoreContactSync storeContactSync = new StoreContactSync(this.dispatcher, companion.getApi(), this.clock, this.userConnections, this.users, this.experiments, this.notices);
this.contactSync = storeContactSync;
Dispatcher dispatcher2 = this.dispatcher;
StoreFriendSuggestions storeFriendSuggestions = new StoreFriendSuggestions(this, dispatcher2, new FriendSuggestionsFetcher(dispatcher2, companion.getApi(), new StoreStream$friendSuggestions$1(this), new StoreStream$friendSuggestions$2(this)));
this.friendSuggestions = storeFriendSuggestions;
StoreDirectories storeDirectories = new StoreDirectories(this.dispatcher, ObservationDeckProvider.get(), null, 4, null);
this.directories = storeDirectories;
StoreGuildStickers storeGuildStickers = new StoreGuildStickers(this.dispatcher, null, new StoreStream$guildStickers$1(this), 2, null);
this.guildStickers = storeGuildStickers;
StoreOutboundPromotions storeOutboundPromotions = new StoreOutboundPromotions(new OutboundPromosPreviewFeatureFlag(this.experiments), this.dispatcher, null, null, 12, null);
this.outboundPromotions = storeOutboundPromotions;
StoreGuildScheduledEvents storeGuildScheduledEvents = new StoreGuildScheduledEvents(this.dispatcher, ObservationDeckProvider.get());
this.guildScheduledEvents = storeGuildScheduledEvents;
ConnectionTimeStats connectionTimeStats = new ConnectionTimeStats(this.clock);
this.connectionTimeStats = connectionTimeStats;
List<StoreV2> listOf = n.listOf((Object[]) new StoreV2[]{this.bans, this.users, this.guilds, this.channels, this.channelConversions, this.presences, this.permissions, this.voiceChannelSelected, this.voiceSpeaking, this.accessibility, this.callsIncoming, this.connectivity, this.connectionOpen, storeGuildWelcomeScreens, storeGuildVoiceRegions, this.videoStreams, storeClientDataState, storeGifPicker, storeStickers, this.guildMemberCounts, this.guildJoinRequests, this.experiments, this.messageReplies, storeChannelFollowerStats, storePendingReplies, storeGuildProfiles, this.application, storeApplicationCommands, this.guildSelected, this.channelsSelected, this.pinnedMessages, storeGuildMemberVerificationForm, this.userRequiredAction, this.userSurvey, storePhone, storeThreadsActive, this.threadsJoined, storeThreadsActiveJoined, storeThreadMessages, archivedThreadsStore, storeThreadDraft, storeExpressionPickerNavigation, storePremiumGuildSubscription, this.collapsedChannelCategories, this.messageUploads, storeExpressionSuggestions, this.applicationStreaming, storeApplicationInteractions, storeLocalActionComponentState, this.stageInstances, this.requestedStageChannels, storeStageChannels, storeStageChannelSelfPresence, storeAutocomplete, this.messageReactions, this.library, this.userRelationships, this.userSettingsSystem, this.tabsNavigation, this.voiceStates, this.mentions, storeUserAffinities, this.userProfile, this.audioDevices, this.userConnections, this.messagesMostRecent, this.usersTyping, this.instantInvites, this.guildSettings, this.customEmojis, storeEntitlements, storeMediaFavorites, this.subscriptions, storeGooglePlayPurchases, storeGooglePlaySkuDetails, this.guildTemplates, this.userNotes, this.mfa, this.messageAck, this.guildSubscriptions, this.lazyChannelMembersStore, this.lazyThreadMembersStore, this.guildEmojis, storeGuildsSorted, this.auditLog, storeExpandedGuildFolders, this.maskedLinks, this.streamRtcConnection, this.paymentSources, storeContactSync, storeApplicationStreamPreviews, this.guildsNsfw, this.gameParty, storeFriendSuggestions, this.chat, storeAudioManagerV2, storeGuildStickers, storeOutboundPromotions, storeDirectories, storeGuildScheduledEvents});
this.storesV2 = listOf;
StoreV2DispatchHandler storeV2DispatchHandler = new StoreV2DispatchHandler(listOf, null, 2, null);
this.storeV2DispatchHandler = storeV2DispatchHandler;
this.dispatcher.registerDispatchHandlers(storeV2DispatchHandler);
connectionTimeStats.addListener(this.rtcConnection);
connectionTimeStats.addListener(this.streamRtcConnection);
connectionTimeStats.addListener(this.mediaEngine);
}
public static final /* synthetic */ void access$deferredInit(StoreStream storeStream, Application application) {
storeStream.deferredInit(application);
}
public static final /* synthetic */ void access$dispatchSubscribe(StoreStream storeStream, Observable observable, String str, Function1 function1) {
storeStream.dispatchSubscribe(observable, str, function1);
}
public static final /* synthetic */ StoreAudioManager access$getAudioManager$p(StoreStream storeStream) {
return storeStream.audioManager;
}
public static final /* synthetic */ Clock access$getClock$p(StoreStream storeStream) {
return storeStream.clock;
}
public static final /* synthetic */ Lazy access$getCollector$cp() {
return collector$delegate;
}
public static final /* synthetic */ StoreEmojiCustom access$getCustomEmojis$p(StoreStream storeStream) {
return storeStream.customEmojis;
}
public static final /* synthetic */ Dispatcher access$getDispatcher$p(StoreStream storeStream) {
return storeStream.dispatcher;
}
public static final /* synthetic */ BehaviorSubject access$getInitialized$p(StoreStream storeStream) {
return storeStream.initialized;
}
public static final /* synthetic */ String access$getLAST_LOGGED_NOTIFICATION_PERMISSIONS_KEY$cp() {
return LAST_LOGGED_NOTIFICATION_PERMISSIONS_KEY;
}
public static final /* synthetic */ StoreStreamRtcConnection access$getStreamRtcConnection$p(StoreStream storeStream) {
return storeStream.streamRtcConnection;
}
public static final /* synthetic */ void access$handleAuthToken(StoreStream storeStream, String str) {
storeStream.handleAuthToken(str);
}
public static final /* synthetic */ void access$handleBackgrounded(StoreStream storeStream, boolean z2) {
storeStream.handleBackgrounded(z2);
}
public static final /* synthetic */ void access$handleBanAdd(StoreStream storeStream, ModelBan modelBan) {
storeStream.handleBanAdd(modelBan);
}
public static final /* synthetic */ void access$handleBanRemove(StoreStream storeStream, ModelBan modelBan) {
storeStream.handleBanRemove(modelBan);
}
public static final /* synthetic */ void access$handleCallCreateOrUpdate(StoreStream storeStream, ModelCall modelCall) {
storeStream.handleCallCreateOrUpdate(modelCall);
}
public static final /* synthetic */ void access$handleCallDelete(StoreStream storeStream, ModelCall modelCall) {
storeStream.handleCallDelete(modelCall);
}
public static final /* synthetic */ void access$handleChannelCreateOrUpdate(StoreStream storeStream, Channel channel) {
storeStream.handleChannelCreateOrUpdate(channel);
}
public static final /* synthetic */ void access$handleChannelDelete(StoreStream storeStream, Channel channel) {
storeStream.handleChannelDelete(channel);
}
public static final /* synthetic */ void access$handleChannelSelected(StoreStream storeStream, long j) {
storeStream.handleChannelSelected(j);
}
public static final /* synthetic */ void access$handleChannelUnreadUpdate(StoreStream storeStream, ModelChannelUnreadUpdate modelChannelUnreadUpdate) {
storeStream.handleChannelUnreadUpdate(modelChannelUnreadUpdate);
}
public static final /* synthetic */ void access$handleConnected(StoreStream storeStream, boolean z2) {
storeStream.handleConnected(z2);
}
public static final /* synthetic */ void access$handleConnectionOpen(StoreStream storeStream, ModelPayload modelPayload) {
storeStream.handleConnectionOpen(modelPayload);
}
public static final /* synthetic */ void access$handleConnectionReady(StoreStream storeStream, boolean z2) {
storeStream.handleConnectionReady(z2);
}
public static final /* synthetic */ void access$handleEmojiUpdate(StoreStream storeStream, GuildEmojisUpdate guildEmojisUpdate) {
storeStream.handleEmojiUpdate(guildEmojisUpdate);
}
public static final /* synthetic */ void access$handleFingerprint(StoreStream storeStream, String str) {
storeStream.handleFingerprint(str);
}
public static final /* synthetic */ void access$handleFriendSuggestionsFetchFailure(StoreStream storeStream) {
storeStream.handleFriendSuggestionsFetchFailure();
}
public static final /* synthetic */ void access$handleFriendSuggestionsFetched(StoreStream storeStream, List list) {
storeStream.handleFriendSuggestionsFetched(list);
}
public static final /* synthetic */ void access$handleGroupDMRecipientAdd(StoreStream storeStream, ChannelRecipient channelRecipient) {
storeStream.handleGroupDMRecipientAdd(channelRecipient);
}
public static final /* synthetic */ void access$handleGroupDMRecipientRemove(StoreStream storeStream, ChannelRecipient channelRecipient) {
storeStream.handleGroupDMRecipientRemove(channelRecipient);
}
public static final /* synthetic */ void access$handleGuildApplicationCommands(StoreStream storeStream, GuildApplicationCommands guildApplicationCommands) {
storeStream.handleGuildApplicationCommands(guildApplicationCommands);
}
public static final /* synthetic */ void access$handleGuildCreate(StoreStream storeStream, Guild guild) {
storeStream.handleGuildCreate(guild);
}
public static final /* synthetic */ void access$handleGuildIntegrationUpdate(StoreStream storeStream, ModelGuildIntegration.Update update) {
storeStream.handleGuildIntegrationUpdate(update);
}
public static final /* synthetic */ void access$handleGuildMemberAdd(StoreStream storeStream, GuildMember guildMember) {
storeStream.handleGuildMemberAdd(guildMember);
}
public static final /* synthetic */ void access$handleGuildMemberListUpdate(StoreStream storeStream, ModelGuildMemberListUpdate modelGuildMemberListUpdate) {
storeStream.handleGuildMemberListUpdate(modelGuildMemberListUpdate);
}
public static final /* synthetic */ void access$handleGuildMemberRemove(StoreStream storeStream, GuildMemberRemove guildMemberRemove) {
storeStream.handleGuildMemberRemove(guildMemberRemove);
}
public static final /* synthetic */ void access$handleGuildMembersChunk(StoreStream storeStream, GuildMembersChunk guildMembersChunk) {
storeStream.handleGuildMembersChunk(guildMembersChunk);
}
public static final /* synthetic */ void access$handleGuildRemove(StoreStream storeStream, Guild guild) {
storeStream.handleGuildRemove(guild);
}
public static final /* synthetic */ void access$handleGuildRoleCreate(StoreStream storeStream, GuildRoleCreate guildRoleCreate) {
storeStream.handleGuildRoleCreate(guildRoleCreate);
}
public static final /* synthetic */ void access$handleGuildRoleDelete(StoreStream storeStream, GuildRoleDelete guildRoleDelete) {
storeStream.handleGuildRoleDelete(guildRoleDelete);
}
public static final /* synthetic */ void access$handleGuildRoleUpdate(StoreStream storeStream, GuildRoleUpdate guildRoleUpdate) {
storeStream.handleGuildRoleUpdate(guildRoleUpdate);
}
public static final /* synthetic */ void access$handleGuildSettingUpdated(StoreStream storeStream, ModelNotificationSettings modelNotificationSettings) {
storeStream.handleGuildSettingUpdated(modelNotificationSettings);
}
public static final /* synthetic */ void access$handleGuildUpdate(StoreStream storeStream, Guild guild) {
storeStream.handleGuildUpdate(guild);
}
public static final /* synthetic */ void access$handleInteractionCreate(StoreStream storeStream, InteractionStateUpdate interactionStateUpdate) {
storeStream.handleInteractionCreate(interactionStateUpdate);
}
public static final /* synthetic */ void access$handleInteractionSuccess(StoreStream storeStream, InteractionStateUpdate interactionStateUpdate) {
storeStream.handleInteractionSuccess(interactionStateUpdate);
}
public static final /* synthetic */ void access$handleMessageAck(StoreStream storeStream, ModelReadState modelReadState) {
storeStream.handleMessageAck(modelReadState);
}
public static final /* synthetic */ void access$handleMessageCreate(StoreStream storeStream, Message message) {
storeStream.handleMessageCreate(message);
}
public static final /* synthetic */ void access$handleMessageDelete(StoreStream storeStream, ModelMessageDelete modelMessageDelete) {
storeStream.handleMessageDelete(modelMessageDelete);
}
public static final /* synthetic */ void access$handleMessageUpdate(StoreStream storeStream, Message message) {
storeStream.handleMessageUpdate(message);
}
public static final /* synthetic */ void access$handleMessagesLoaded(StoreStream storeStream, StoreMessagesLoader.ChannelChunk channelChunk) {
storeStream.handleMessagesLoaded(channelChunk);
}
public static final /* synthetic */ void access$handlePreLogout(StoreStream storeStream) {
storeStream.handlePreLogout();
}
public static final /* synthetic */ void access$handlePresenceReplace(StoreStream storeStream, List list) {
storeStream.handlePresenceReplace(list);
}
public static final /* synthetic */ void access$handlePresenceUpdate(StoreStream storeStream, long j, Presence presence) {
storeStream.handlePresenceUpdate(j, presence);
}
public static final /* synthetic */ void access$handleReactionAdd(StoreStream storeStream, MessageReactionUpdate messageReactionUpdate) {
storeStream.handleReactionAdd(messageReactionUpdate);
}
public static final /* synthetic */ void access$handleReactionRemove(StoreStream storeStream, MessageReactionUpdate messageReactionUpdate) {
storeStream.handleReactionRemove(messageReactionUpdate);
}
public static final /* synthetic */ void access$handleReactionRemoveAll(StoreStream storeStream, MessageReactionUpdate messageReactionUpdate) {
storeStream.handleReactionRemoveAll(messageReactionUpdate);
}
public static final /* synthetic */ void access$handleReactionRemoveEmoji(StoreStream storeStream, MessageReactionUpdate messageReactionUpdate) {
storeStream.handleReactionRemoveEmoji(messageReactionUpdate);
}
public static final /* synthetic */ void access$handleRelationshipRemove(StoreStream storeStream, ModelUserRelationship modelUserRelationship) {
storeStream.handleRelationshipRemove(modelUserRelationship);
}
public static final /* synthetic */ void access$handleRequiredActionUpdate(StoreStream storeStream, UserRequiredActionUpdate userRequiredActionUpdate) {
storeStream.handleRequiredActionUpdate(userRequiredActionUpdate);
}
public static final /* synthetic */ void access$handleRtcConnectionStateChanged(StoreStream storeStream, RtcConnection.StateChange stateChange) {
storeStream.handleRtcConnectionStateChanged(stateChange);
}
public static final /* synthetic */ void access$handleSessionsReplace(StoreStream storeStream, List list) {
storeStream.handleSessionsReplace(list);
}
public static final /* synthetic */ void access$handleSpeakingUpdates(StoreStream storeStream, List list) {
storeStream.handleSpeakingUpdates(list);
}
public static final /* synthetic */ void access$handleSpeakingUsers(StoreStream storeStream, Set set) {
storeStream.handleSpeakingUsers(set);
}
public static final /* synthetic */ void access$handleStickersUpdate(StoreStream storeStream, GuildStickersUpdate guildStickersUpdate) {
storeStream.handleStickersUpdate(guildStickersUpdate);
}
public static final /* synthetic */ void access$handleStreamCreate(StoreStream storeStream, StreamCreateOrUpdate streamCreateOrUpdate) {
storeStream.handleStreamCreate(streamCreateOrUpdate);
}
public static final /* synthetic */ void access$handleStreamServerUpdate(StoreStream storeStream, StreamServerUpdate streamServerUpdate) {
storeStream.handleStreamServerUpdate(streamServerUpdate);
}
public static final /* synthetic */ void access$handleStreamUpdate(StoreStream storeStream, StreamCreateOrUpdate streamCreateOrUpdate) {
storeStream.handleStreamUpdate(streamCreateOrUpdate);
}
public static final /* synthetic */ void access$handleThreadDelete(StoreStream storeStream, Channel channel) {
storeStream.handleThreadDelete(channel);
}
public static final /* synthetic */ void access$handleThreadListSync(StoreStream storeStream, ModelThreadListSync modelThreadListSync) {
storeStream.handleThreadListSync(modelThreadListSync);
}
public static final /* synthetic */ void access$handleThreadMemberListUpdate(StoreStream storeStream, ThreadMemberListUpdate threadMemberListUpdate) {
storeStream.handleThreadMemberListUpdate(threadMemberListUpdate);
}
public static final /* synthetic */ void access$handleThreadMemberUpdate(StoreStream storeStream, ThreadMemberUpdate threadMemberUpdate) {
storeStream.handleThreadMemberUpdate(threadMemberUpdate);
}
public static final /* synthetic */ void access$handleThreadMembersUpdate(StoreStream storeStream, ThreadMembersUpdate threadMembersUpdate) {
storeStream.handleThreadMembersUpdate(threadMembersUpdate);
}
public static final /* synthetic */ void access$handleTypingStart(StoreStream storeStream, TypingUser typingUser) {
storeStream.handleTypingStart(typingUser);
}
public static final /* synthetic */ void access$handleUserNoteUpdated(StoreStream storeStream, ModelUserNote.Update update) {
storeStream.handleUserNoteUpdated(update);
}
public static final /* synthetic */ void access$handleUserPaymentSourcesUpdate(StoreStream storeStream) {
storeStream.handleUserPaymentSourcesUpdate();
}
public static final /* synthetic */ void access$handleUserSettingsUpdate(StoreStream storeStream, ModelUserSettings modelUserSettings) {
storeStream.handleUserSettingsUpdate(modelUserSettings);
}
public static final /* synthetic */ void access$handleUserSubscriptionsUpdate(StoreStream storeStream) {
storeStream.handleUserSubscriptionsUpdate();
}
public static final /* synthetic */ void access$handleUserUpdated(StoreStream storeStream, User user) {
storeStream.handleUserUpdated(user);
}
public static final /* synthetic */ void access$handleVoiceChannelSelected(StoreStream storeStream, long j) {
storeStream.handleVoiceChannelSelected(j);
}
public static final /* synthetic */ void access$handleVoiceServerUpdate(StoreStream storeStream, VoiceServer voiceServer) {
storeStream.handleVoiceServerUpdate(voiceServer);
}
public static final /* synthetic */ void access$handleVoiceStateUpdate(StoreStream storeStream, VoiceState voiceState) {
storeStream.handleVoiceStateUpdate(voiceState);
}
public static final /* synthetic */ void access$init(StoreStream storeStream, Application application) {
storeStream.init(application);
}
public static final /* synthetic */ void access$initGatewaySocketListeners(StoreStream storeStream) {
storeStream.initGatewaySocketListeners();
}
public static final /* synthetic */ boolean access$isInitialized$cp() {
return isInitialized;
}
public static final /* synthetic */ void access$maybeLogNotificationPermissionStatus(StoreStream storeStream, Application application, Clock clock) {
storeStream.maybeLogNotificationPermissionStatus(application, clock);
}
public static final /* synthetic */ void access$setInitialized$cp(boolean z2) {
isInitialized = z2;
}
public static final /* synthetic */ void access$startStoreInitializationTimer(StoreStream storeStream, NetworkMonitor networkMonitor) {
storeStream.startStoreInitializationTimer(networkMonitor);
}
private final void deferredInit(Application application) {
this.dispatcher.schedule(new StoreStream$deferredInit$1(this, application));
}
/* JADX DEBUG: Multi-variable search result rejected for r2v0, resolved type: com.discord.stores.utilities.Batched<T> */
/* JADX WARN: Multi-variable type inference failed */
private final <T> void dispatchSubscribe(Batched<T> batched, String str, Function1<? super T, Unit> function1) {
dispatchSubscribe(batched.observe(), str, new StoreStream$dispatchSubscribe$2(function1));
}
private final <T> void dispatchSubscribe(Observable<T> observable, String str, Function1<? super T, Unit> function1) {
Observable<T> J = observable.J();
m.checkNotNullExpressionValue(J, "onBackpressureBuffer()");
ObservableExtensionsKt.appSubscribe$default(J, (Context) null, str, (Function1) null, new StoreStream$dispatchSubscribe$1(this, function1), (Function1) null, (Function0) null, (Function0) null, 117, (Object) null);
}
public static final StoreAnalytics getAnalytics() {
return Companion.getAnalytics();
}
public static final StoreApplication getApplication() {
return Companion.getApplication();
}
public static final StoreApplicationCommands getApplicationCommands() {
return Companion.getApplicationCommands();
}
public static final StoreApplicationStreamPreviews getApplicationStreamPreviews() {
return Companion.getApplicationStreamPreviews();
}
public static final StoreApplicationStreaming getApplicationStreaming() {
return Companion.getApplicationStreaming();
}
public static final StoreAuditLog getAuditLog() {
return Companion.getAuditLog();
}
public static final StoreAuthentication getAuthentication() {
return Companion.getAuthentication();
}
public static final StoreBans getBans() {
return Companion.getBans();
}
public static final StoreCalls getCalls() {
return Companion.getCalls();
}
public static final StoreCallsIncoming getCallsIncoming() {
return Companion.getCallsIncoming();
}
public static final StoreChangeLog getChangeLog() {
return Companion.getChangeLog();
}
public static final StoreChannelFollowerStats getChannelFollowerStats() {
return Companion.getChannelFollowerStats();
}
public static final StoreChannelMembers getChannelMembers() {
return Companion.getChannelMembers();
}
public static final StoreChannels getChannels() {
return Companion.getChannels();
}
public static final StoreChannelsSelected getChannelsSelected() {
return Companion.getChannelsSelected();
}
public static final StoreChat getChat() {
return Companion.getChat();
}
public static final StoreConnectivity getConnectivity() {
return Companion.getConnectivity();
}
public static final Dispatcher getDispatcherYesThisIsIntentional() {
return Companion.getDispatcherYesThisIsIntentional();
}
public static final StoreDynamicLink getDynamicLinkCache() {
return Companion.getDynamicLinkCache();
}
public static final StoreEmoji getEmojis() {
return Companion.getEmojis();
}
public static final StoreEntitlements getEntitlements() {
return Companion.getEntitlements();
}
public static final StoreExpandedGuildFolders getExpandedGuildFolders() {
return Companion.getExpandedGuildFolders();
}
public static final StoreExperiments getExperiments() {
return Companion.getExperiments();
}
public static final StoreGameParty getGameParty() {
return Companion.getGameParty();
}
public static final StoreGatewayConnection getGatewaySocket() {
return Companion.getGatewaySocket();
}
public static final StoreGifting getGifting() {
return Companion.getGifting();
}
public static final StoreEmojiGuild getGuildEmojis() {
return Companion.getGuildEmojis();
}
public static final StoreGuildIntegrations getGuildIntegrations() {
return Companion.getGuildIntegrations();
}
public static final StoreGuildJoinRequest getGuildJoinRequests() {
return Companion.getGuildJoinRequests();
}
public static final StoreGuildProfiles getGuildProfiles() {
return Companion.getGuildProfiles();
}
public static final StoreGuildScheduledEvents getGuildScheduledEvents() {
return Companion.getGuildScheduledEvents();
}
public static final StoreGuildSelected getGuildSelected() {
return Companion.getGuildSelected();
}
public static final StoreGuildSubscriptions getGuildSubscriptions() {
return Companion.getGuildSubscriptions();
}
public static final StoreGuildTemplates getGuildTemplates() {
return Companion.getGuildTemplates();
}
public static final StoreGuildVoiceRegions getGuildVoiceRegions() {
return Companion.getGuildVoiceRegions();
}
public static final StoreGuildWelcomeScreens getGuildWelcomeScreens() {
return Companion.getGuildWelcomeScreens();
}
public static final StoreGuilds getGuilds() {
return Companion.getGuilds();
}
public static final StoreGuildsNsfw getGuildsNsfw() {
return Companion.getGuildsNsfw();
}
public static final StoreGuildsSorted getGuildsSorted() {
return Companion.getGuildsSorted();
}
public static final StoreInstantInvites getInstantInvites() {
return Companion.getInstantInvites();
}
public static final StoreApplicationInteractions getInteractions() {
return Companion.getInteractions();
}
public static final StoreInviteSettings getInviteSettings() {
return Companion.getInviteSettings();
}
public static final StoreLibrary getLibrary() {
return Companion.getLibrary();
}
public static final StoreLurking getLurking() {
return Companion.getLurking();
}
public static final StoreMFA getMFA() {
return Companion.getMFA();
}
public static final StoreMediaEngine getMediaEngine() {
return Companion.getMediaEngine();
}
public static final StoreMediaSettings getMediaSettings() {
return Companion.getMediaSettings();
}
public static final StoreGuildMemberVerificationForm getMemberVerificationForms() {
return Companion.getMemberVerificationForms();
}
public static final StoreMentions getMentions() {
return Companion.getMentions();
}
public static final StoreMessageAck getMessageAck() {
return Companion.getMessageAck();
}
public static final StoreMessageReactions getMessageReactions() {
return Companion.getMessageReactions();
}
public static final StoreMessageState getMessageState() {
return Companion.getMessageState();
}
public static final StoreMessageUploads getMessageUploads() {
return Companion.getMessageUploads();
}
public static final StoreMessages getMessages() {
return Companion.getMessages();
}
public static final StoreMessagesLoader getMessagesLoader() {
return Companion.getMessagesLoader();
}
public static final StoreMessagesMostRecent getMessagesMostRecent() {
return Companion.getMessagesMostRecent();
}
public static final StoreNavigation getNavigation() {
return Companion.getNavigation();
}
public static final StoreNotices getNotices() {
return Companion.getNotices();
}
public static final StoreNotifications getNotifications() {
return Companion.getNotifications();
}
public static final StoreNux getNux() {
return Companion.getNux();
}
public static final StorePaymentSources getPaymentSources() {
return Companion.getPaymentSources();
}
public static final StorePermissions getPermissions() {
return Companion.getPermissions();
}
public static final StorePinnedMessages getPinnedMessages() {
return Companion.getPinnedMessages();
}
public static final StorePremiumGuildSubscription getPremiumGuildSubscriptions() {
return Companion.getPremiumGuildSubscriptions();
}
public static final StoreUserPresence getPresences() {
return Companion.getPresences();
}
public static final StoreReadStates getReadStates() {
return Companion.getReadStates();
}
public static final StoreMessageReplies getRepliedMessages() {
return Companion.getRepliedMessages();
}
public static final StoreReviewRequest getReviewRequest() {
return Companion.getReviewRequest();
}
public static final StoreRtcConnection getRtcConnection() {
return Companion.getRtcConnection();
}
public static final StoreSearch getSearch() {
return Companion.getSearch();
}
public static final StoreSlowMode getSlowMode() {
return Companion.getSlowMode();
}
public static final StoreSpotify getSpotify() {
return Companion.getSpotify();
}
public static final StoreStageChannels getStageChannels() {
return Companion.getStageChannels();
}
public static final StoreCollapsedChannelCategories getStoreChannelCategories() {
return Companion.getStoreChannelCategories();
}
public static final StoreStreamRtcConnection getStreamRtcConnection() {
return Companion.getStreamRtcConnection();
}
public static final StoreSubscriptions getSubscriptions() {
return Companion.getSubscriptions();
}
public static final StoreThreadMembers getThreadMembers() {
return Companion.getThreadMembers();
}
public static final StoreThreadMessages getThreadMessages() {
return Companion.getThreadMessages();
}
public static final StoreThreadsActive getThreadsActive() {
return Companion.getThreadsActive();
}
public static final StoreUserAffinities getUserAffinities() {
return Companion.getUserAffinities();
}
public static final StoreUserConnections getUserConnections() {
return Companion.getUserConnections();
}
public static final StoreUserGuildSettings getUserGuildSettings() {
return Companion.getUserGuildSettings();
}
public static final StoreUserProfile getUserProfile() {
return Companion.getUserProfile();
}
public static final StoreUserRelationships getUserRelationships() {
return Companion.getUserRelationships();
}
public static final StoreUserRequiredActions getUserRequiredActions() {
return Companion.getUserRequiredActions();
}
public static final StoreUserSettings getUserSettings() {
return Companion.getUserSettings();
}
public static final StoreUserSettingsSystem getUserSettingsSystem() {
return Companion.getUserSettingsSystem();
}
public static final StoreUserSurvey getUserSurvey() {
return Companion.getUserSurvey();
}
public static final StoreUser getUsers() {
return Companion.getUsers();
}
public static final StoreUserNotes getUsersNotes() {
return Companion.getUsersNotes();
}
public static final StoreUserTyping getUsersTyping() {
return Companion.getUsersTyping();
}
public static final StoreVoiceChannelSelected getVoiceChannelSelected() {
return Companion.getVoiceChannelSelected();
}
public static final StoreVoiceParticipants getVoiceParticipants() {
return Companion.getVoiceParticipants();
}
public static final StoreVoiceStates getVoiceStates() {
return Companion.getVoiceStates();
}
@StoreThread
private final void handleAuthToken(String str) {
this.authentication.handleAuthToken$app_productionBetaRelease(str);
this.users.handleAuthToken(str);
this.messagesLoader.handleAuthToken(str);
this.notifications.handleAuthToken(str);
this.experiments.handleAuthToken(str);
this.analytics.handleAuthToken(str);
this.voiceChannelSelected.handleAuthToken(str);
this.voiceStates.handleAuthToken(str);
}
@StoreThread
private final void handleBackgrounded(boolean z2) {
AppLog.i("[StoreStream] Application backgrounded: " + z2);
this.connectivity.handleBackgrounded(z2);
this.messagesLoader.handleBackgrounded(z2);
}
@StoreThread
private final void handleBanAdd(ModelBan modelBan) {
this.bans.handleBanAdd(modelBan);
}
@StoreThread
private final void handleBanRemove(ModelBan modelBan) {
this.bans.handleBanRemove(modelBan);
}
@StoreThread
private final void handleCallCreateOrUpdate(ModelCall modelCall) {
this.calls.handleCallCreateOrUpdate(modelCall);
this.callsIncoming.handleCallCreateOrUpdate(modelCall);
List<VoiceState> voiceStates = modelCall.getVoiceStates();
if (voiceStates != null) {
for (VoiceState voiceState : voiceStates) {
m.checkNotNullExpressionValue(voiceState, "voiceState");
handleVoiceStateUpdate(voiceState);
}
}
}
@StoreThread
private final void handleCallDelete(ModelCall modelCall) {
this.callsIncoming.handleCallDelete(modelCall);
this.calls.handleCallDelete(modelCall);
}
@StoreThread
private final void handleChannelCreateOrUpdate(Channel channel) {
this.users.handleChannelCreated(channel);
this.channelConversions.handleChannelCreateOrUpdate(channel);
this.channels.handleChannelOrThreadCreateOrUpdate(channel);
this.channelsSelected.handleChannelOrThreadCreateOrUpdate(channel);
this.permissions.handleChannelOrThreadCreateOrUpdate(channel);
this.voiceChannelSelected.handleChannelOrThreadCreateOrUpdate();
this.mentions.handleChannelOrThreadCreateOrUpdate(channel);
this.messagesMostRecent.handleChannelCreateOrUpdate(channel);
this.clientDataState.handleChannelCreateOrUpdateOrDelete(channel);
this.threadsActive.handleChannelCreateOrUpdate(channel);
this.threadsActiveJoined.handleChannelCreateOrUpdate(channel);
}
@StoreThread
private final void handleChannelDelete(Channel channel) {
handleChannelOrThreadDelete(channel);
}
@StoreThread
private final void handleChannelOrThreadDelete(Channel channel) {
this.channels.handleChannelOrThreadDelete(channel);
this.stageInstances.handleChannelDelete(channel);
this.permissions.handleChannelOrThreadDelete(channel);
this.voiceChannelSelected.handleChannelOrThreadDelete();
this.clientDataState.handleChannelCreateOrUpdateOrDelete(channel);
this.channelsSelected.handleChannelOrThreadDelete(channel);
this.threadMessages.handleChannelDelete(channel);
this.stageChannels.handleChannelDelete(channel);
this.mentions.handleChannelOrThreadDelete(channel);
for (Channel channel2 : this.channels.getThreadsForChannelInternal$app_productionBetaRelease(channel.h())) {
handleChannelOrThreadDelete(channel2);
}
}
@StoreThread
private final void handleChannelSelected(long j) {
this.channelConversions.handleChannelSelected(j);
this.calls.handleChannelSelect(j);
this.mentions.handleChannelSelected(j);
this.messages.handleChannelSelected(j);
this.messagesLoader.handleChannelSelected(j);
this.messageStates.handleChannelSelected();
this.messageAck.handleChannelSelected();
this.notifications.handleChannelSelected(j);
this.expressionSuggestions.handleChannelSelected();
this.applicationInteractions.handleChannelSelected();
}
@StoreThread
private final void handleChannelUnreadUpdate(ModelChannelUnreadUpdate modelChannelUnreadUpdate) {
this.messagesMostRecent.handleChannelUnreadUpdate(modelChannelUnreadUpdate);
}
@StoreThread
private final void handleConnected(boolean z2) {
this.messages.handleConnected(z2);
this.messagesLoader.handleConnected(z2);
this.analytics.handleConnected(z2);
this.connectivity.handleConnected(z2);
this.connectionOpen.handleConnected(z2);
this.channels.handleConnected(z2);
}
@StoreThread
private final void handleConnectionOpen(ModelPayload modelPayload) {
TimeElapsed timeElapsed = new TimeElapsed(this.clock, 0, 2, null);
ReadyPayloadUtils.HydrateResult hydrateReadyPayload = ReadyPayloadUtils.INSTANCE.hydrateReadyPayload(modelPayload, this.guilds, this.channels, this.customEmojis, this.guildStickers);
if (hydrateReadyPayload instanceof ReadyPayloadUtils.HydrateResult.Success) {
ModelPayload payload = ((ReadyPayloadUtils.HydrateResult.Success) hydrateReadyPayload).getPayload();
this.users.handleConnectionOpen(payload);
this.userConnections.handleConnectionOpen(payload);
this.userSettings.handleConnectionOpen(payload);
this.userSettingsSystem.handleConnectionOpen(payload);
this.userRelationships.handleConnectionOpen(payload);
this.userRequiredAction.handleConnectionOpen(payload);
this.userSurvey.handleConnectionOpen();
this.guilds.handleConnectionOpen(payload);
this.guildMemberCounts.handleConnectionOpen(payload);
this.guildJoinRequests.handleConnectionOpen(payload);
this.guildSelected.handleConnectionOpen(payload);
this.guildSettings.handleConnectionOpen$app_productionBetaRelease(payload);
this.lurking.handleConnectionOpen$app_productionBetaRelease(payload);
this.channels.handleConnectionOpen(payload);
this.stageChannels.handleConnectionOpen();
this.stageInstances.handleConnectionOpen(payload);
this.threadsActive.handleConnectionOpen(payload);
this.threadsJoined.handleConnectionOpen(payload);
this.threadsActiveJoined.handleConnectionOpen();
this.channelsSelected.handleConnectionOpen(payload);
this.collapsedChannelCategories.handleConnectionOpen(payload);
this.voiceStates.handleConnectionOpen(payload);
this.applicationStreaming.handleConnectionOpen(payload);
this.permissions.handleConnectionOpen();
this.customEmojis.handleConnectionOpen(payload);
this.presences.handleConnectionOpen(payload);
this.userNotes.handleConnectionOpen();
this.voiceChannelSelected.handleConnectionOpen(payload);
this.mentions.handleConnectionOpen(payload);
this.rtcConnection.handleConnectionOpen(payload);
this.analytics.handleConnectionOpen(payload);
this.experiments.handleConnectionOpen(payload);
this.messages.handleConnectionOpen(payload);
this.messagesMostRecent.handleConnectionOpen(payload);
this.messageAck.handleConnectionOpen(payload);
this.calls.handleConnectionOpen();
this.mediaEngine.handleConnectionOpen(payload);
this.gameParty.handleConnectionOpen(payload);
this.guildMemberRequesterStore.handleConnectionOpen();
this.reviewRequestStore.handleConnectionOpen(payload);
this.connectionOpen.handleConnectionOpen();
this.messageReactions.handleConnectionOpen();
this.spotify.handleConnectionOpen(payload);
this.changeLogStore.handleConnectionOpen();
this.streamRtcConnection.handleConnectionOpen(payload);
this.rtcRegion.handleConnectionOpen$app_productionBetaRelease();
this.userAffinities.handleConnectionOpen();
this.clientDataState.handleConnectionOpen(payload);
this.phone.handleConnectionOpen(payload);
this.threadMessages.handleConnectionOpen(payload);
this.archivedThreads.handleConnectionOpen();
this.contactSync.handleConnectionOpen();
this.friendSuggestions.handleConnectionOpen(payload);
this.guildStickers.handleConnectionOpen(payload);
this.outboundPromotions.handleConnectionOpen$app_productionBetaRelease(payload);
this.lazyThreadMembersStore.handleConnectionOpen();
this.connectionTimeStats.handleConnectionOpen(payload);
AppLog.i("[StoreStream] Processed ready payload in " + timeElapsed.getSeconds() + " seconds");
return;
}
handleHydrateError();
}
@StoreThread
private final void handleConnectionReady(boolean z2) {
this.rtcConnection.handleConnectionReady(z2);
this.calls.handleConnectionReady(z2);
this.connectivity.handleConnectionReady(z2);
this.guildSubscriptions.handleConnectionReady(z2);
this.guildMemberRequesterStore.handleConnectionReady(z2);
this.spotify.handleConnectionReady(z2);
this.applicationCommands.handleConnectionReady(z2);
this.applicationInteractions.handleConnectionReady(z2);
}
@StoreThread
private final void handleEmojiUpdate(GuildEmojisUpdate guildEmojisUpdate) {
this.customEmojis.handleEmojiUpdate(guildEmojisUpdate);
this.guildEmojis.handleEmojiUpdate(guildEmojisUpdate);
this.clientDataState.handleEmojiUpdate(guildEmojisUpdate);
}
@StoreThread
private final void handleFingerprint(String str) {
this.experiments.handleFingerprint(str);
this.analytics.handleFingerprint(str);
}
@StoreThread
private final void handleFriendSuggestionsFetchFailure() {
this.friendSuggestions.handleFriendSuggestionsLoadFailure();
}
@StoreThread
private final void handleFriendSuggestionsFetched(List<FriendSuggestion> list) {
handleFriendSuggestionsLoaded(list);
}
@StoreThread
private final void handleGroupDMRecipientAdd(ChannelRecipient channelRecipient) {
this.channels.handleGroupDMRecipient(channelRecipient, true);
}
@StoreThread
private final void handleGroupDMRecipientRemove(ChannelRecipient channelRecipient) {
this.channels.handleGroupDMRecipient(channelRecipient, false);
}
@StoreThread
private final void handleGuildApplicationCommands(GuildApplicationCommands guildApplicationCommands) {
this.applicationCommands.handleApplicationCommandsUpdate(guildApplicationCommands);
}
@StoreThread
private final void handleGuildCreate(Guild guild) {
handleGuildCreateOrUpdate(guild);
this.threadsActive.handleGuildCreate(guild);
this.threadsJoined.handleGuildCreate(guild);
this.threadsActiveJoined.handleGuildCreate(guild);
this.messageAck.handleGuildCreate();
this.threadMessages.handleGuildCreate(guild);
}
@StoreThread
private final void handleGuildCreateOrUpdate(Guild guild) {
if (guild != null) {
ReadyPayloadUtils.HydrateGuildResult hydrateGuild$default = ReadyPayloadUtils.hydrateGuild$default(ReadyPayloadUtils.INSTANCE, guild, null, null, 6, null);
if (hydrateGuild$default instanceof ReadyPayloadUtils.HydrateGuildResult.Success) {
Guild guild2 = ((ReadyPayloadUtils.HydrateGuildResult.Success) hydrateGuild$default).getGuild();
this.users.handleGuildAddOrSync(guild2);
this.guilds.handleGuildAdd(guild2);
this.guildMemberCounts.handleGuildCreate(guild2);
this.presences.handleGuildAdd(guild2);
this.channels.handleGuildAdd(guild2);
this.stageInstances.handleGuildAdd(guild2);
this.permissions.handleGuildAdd(guild2);
this.channelsSelected.handleGuildAdd(guild2);
this.customEmojis.handleGuildAdd(guild2);
this.mentions.handleGuildAdd(guild2);
this.messagesMostRecent.handleGuildAdd(guild2);
this.voiceStates.handleGuildAdd(guild2);
this.gameParty.handleGuildCreateOrSync(guild2);
this.lurking.handleGuildAdd$app_productionBetaRelease(guild2);
this.clientDataState.handleGuildAdd(guild2);
this.guildStickers.handleGuildCreateOrUpdate(guild2);
return;
}
handleHydrateError();
}
}
@StoreThread
private final void handleGuildIntegrationUpdate(ModelGuildIntegration.Update update) {
this.integrations.handleUpdate(update);
}
@StoreThread
private final void handleGuildMemberAdd(GuildMember guildMember) {
this.users.handleGuildMemberAdd(guildMember);
this.guilds.handleGuildMemberAdd(guildMember);
this.guildMemberCounts.handleGuildMemberAdd(guildMember);
this.permissions.handleGuildMemberAdd(guildMember);
this.customEmojis.handleGuildMemberAdd(guildMember);
this.stageChannels.handleGuildMemberAdd(guildMember);
this.voiceChannelSelected.handleGuildMemberAdd(guildMember);
this.mentions.handleGuildMemberAdd(guildMember);
}
@StoreThread
private final void handleGuildMemberListUpdate(ModelGuildMemberListUpdate modelGuildMemberListUpdate) {
for (ModelGuildMemberListUpdate.Operation operation : modelGuildMemberListUpdate.getOperations()) {
if (operation.getItem() != null) {
handleItem(modelGuildMemberListUpdate.getGuildId(), operation.getItem());
}
List<ModelGuildMemberListUpdate.Operation.Item> items = operation.getItems();
if (items != null) {
for (ModelGuildMemberListUpdate.Operation.Item item : items) {
handleItem(modelGuildMemberListUpdate.getGuildId(), item);
}
}
}
this.lazyChannelMembersStore.handleGuildMemberListUpdate(modelGuildMemberListUpdate);
}
@StoreThread
private final void handleGuildMemberRemove(GuildMemberRemove guildMemberRemove) {
this.guilds.handleGuildMemberRemove(guildMemberRemove.a(), guildMemberRemove.b().i());
this.guildMemberCounts.handleGuildMemberRemove(guildMemberRemove.a());
this.presences.handleGuildMemberRemove(guildMemberRemove.a(), guildMemberRemove.b().i());
this.stageChannels.handleGuildMemberRemove(guildMemberRemove.a(), guildMemberRemove.b().i());
}
@StoreThread
private final void handleGuildMembersChunk(GuildMembersChunk guildMembersChunk) {
this.users.handleGuildMembersChunk(guildMembersChunk);
this.guilds.handleGuildMembersChunk(guildMembersChunk);
List<Presence> d = guildMembersChunk.d();
if (d != null) {
for (Presence presence : d) {
handlePresenceUpdate(guildMembersChunk.a(), presence);
}
}
this.guildMemberRequesterStore.handleGuildMembersChunk(guildMembersChunk);
}
@StoreThread
private final void handleGuildRemove(Guild guild) {
if (guild != null) {
this.guilds.handleGuildRemove(guild);
this.guildMemberCounts.handleGuildDelete(guild.o());
this.guildSubscriptions.handleGuildRemove(guild.o());
this.lazyChannelMembersStore.handleGuildRemove(guild.o());
this.presences.handleGuildRemove(guild);
this.guildSelected.handleGuildRemove(guild);
this.channels.handleGuildRemove(guild);
this.stageChannels.handleGuildRemove(guild);
this.stageInstances.handleGuildRemove(guild);
this.permissions.handleGuildRemove(guild);
this.customEmojis.handleGuildRemove(guild);
this.voiceChannelSelected.handleGuildRemove();
this.voiceStates.handleGuildRemove(guild);
this.lurking.handleGuildRemove$app_productionBetaRelease(guild);
this.clientDataState.handleGuildRemove(guild);
this.threadsActive.handleGuildDelete(guild.o());
this.threadsJoined.handleGuildDelete(guild.o());
this.threadsActiveJoined.handleGuildDelete(guild.o());
this.threadMessages.handleGuildDelete(guild.o());
this.guildJoinRequests.handleGuildRemove(guild.o());
this.guildStickers.handleGuildRemove(guild.o());
}
}
@StoreThread
private final void handleGuildRoleCreate(GuildRoleCreate guildRoleCreate) {
handleGuildRoleCreateOrUpdate(guildRoleCreate.b(), guildRoleCreate.c(), guildRoleCreate.a());
}
@StoreThread
private final void handleGuildRoleCreateOrUpdate(long j, GuildRole guildRole, GuildHashes guildHashes) {
this.guilds.handleGuildRoleCreateOrUpdate(j, guildRole);
this.permissions.handleGuildRolesChanged(j);
this.voiceChannelSelected.handleGuildRoleCreateOrUpdate();
this.lazyChannelMembersStore.handleGuildRoleCreateOrUpdate(j);
this.clientDataState.handleRoleAddOrRemove(j, guildHashes);
this.stageChannels.handleGuildRoleCreateOrUpdate(j);
}
@StoreThread
private final void handleGuildRoleDelete(GuildRoleDelete guildRoleDelete) {
this.guilds.handleGuildRoleRemove(guildRoleDelete.c(), guildRoleDelete.b());
this.permissions.handleGuildRolesChanged(guildRoleDelete.b());
this.voiceChannelSelected.handleGuildRoleRemove();
this.clientDataState.handleRoleAddOrRemove(guildRoleDelete.b(), guildRoleDelete.a());
}
@StoreThread
private final void handleGuildRoleUpdate(GuildRoleUpdate guildRoleUpdate) {
GuildRole c2 = guildRoleUpdate.c();
if (c2 != null) {
handleGuildRoleCreateOrUpdate(guildRoleUpdate.b(), c2, guildRoleUpdate.a());
}
}
@StoreThread
private final void handleGuildSettingUpdated(ModelNotificationSettings modelNotificationSettings) {
this.guildSettings.handleGuildSettingUpdated$app_productionBetaRelease(d0.t.m.listOf(modelNotificationSettings));
this.clientDataState.handleGuildSettingUpdated(modelNotificationSettings);
}
@StoreThread
private final void handleGuildUpdate(Guild guild) {
handleGuildCreateOrUpdate(guild);
}
@StoreThread
private final void handleHydrateError() {
this.clientDataState.clear();
this.gatewaySocket.resetOnError();
}
@StoreThread
private final void handleInteractionCreate(InteractionStateUpdate interactionStateUpdate) {
this.applicationInteractions.handleInteractionCreate(interactionStateUpdate);
this.messages.handleInteractionCreate(interactionStateUpdate);
}
@StoreThread
private final void handleInteractionSuccess(InteractionStateUpdate interactionStateUpdate) {
this.applicationInteractions.handleInteractionSuccess(interactionStateUpdate);
}
@StoreThread
private final void handleItem(long j, ModelGuildMemberListUpdate.Operation.Item item) {
if (item instanceof ModelGuildMemberListUpdate.Operation.Item.MemberItem) {
GuildMember member = ((ModelGuildMemberListUpdate.Operation.Item.MemberItem) item).getMember();
synthesizeGuildMemberAdd(Long.valueOf(j), member.j(), member);
Presence h = member.h();
if (h != null) {
handlePresenceUpdate(j, h);
}
}
}
@StoreThread
private final void handleMessageAck(ModelReadState modelReadState) {
this.mentions.handleMessageAck(modelReadState);
this.messageAck.handleMessageAck(modelReadState);
this.clientDataState.handleMessageAck(modelReadState);
}
@StoreThread
private final void handleMessageCreate(Message message) {
processMessageUsers(message);
this.mentions.handleMessageCreateOrUpdate(message);
this.users.handleMessageCreateOrUpdate(message);
this.usersTyping.handleMessageCreate(message);
this.applicationInteractions.handleMessageCreate(message);
this.messages.handleMessageCreate(d0.t.m.listOf(message));
this.messagesMostRecent.handleMessageCreate(message);
this.messageAck.handleMessageCreate(message);
this.messageReplies.handleMessageCreate(message);
this.notifications.handleMessageCreate(message);
this.clientDataState.handleMessageCreate(message);
this.threadMessages.handleMessageCreate(message);
}
@StoreThread
private final void handleMessageDelete(ModelMessageDelete modelMessageDelete) {
this.messages.handleMessageDelete(modelMessageDelete);
this.mentions.handleMessageDeleted(modelMessageDelete);
StorePinnedMessages storePinnedMessages = this.pinnedMessages;
long channelId = modelMessageDelete.getChannelId();
List<Long> messageIds = modelMessageDelete.getMessageIds();
m.checkNotNullExpressionValue(messageIds, "messageDeleteBulk.messageIds");
storePinnedMessages.handleMessageDeleteBulk(channelId, messageIds);
this.messageStates.handleMessageDelete(modelMessageDelete);
this.messageReplies.handleMessageDelete(modelMessageDelete);
this.pendingReplies.handleMessageDelete(modelMessageDelete);
this.threadMessages.handleMessageDelete(modelMessageDelete);
}
@StoreThread
private final void handleMessageUpdate(Message message) {
processMessageUsers(message);
this.mentions.handleMessageCreateOrUpdate(message);
this.users.handleMessageCreateOrUpdate(message);
this.messages.handleMessageUpdate(message);
this.messageReplies.handleMessageUpdate(message);
this.pinnedMessages.handleMessageUpdate(message);
this.messageStates.handleMessageUpdate(message);
this.threadMessages.handleMessageUpdate(message);
this.applicationInteractions.handleMessageUpdate(message);
}
@StoreThread
private final void handleMessagesLoaded(StoreMessagesLoader.ChannelChunk channelChunk) {
this.users.handleMessagesLoaded(channelChunk);
this.applicationInteractions.handleMessagesCreateOrLoad(channelChunk.getMessages());
this.messages.handleMessagesLoaded(channelChunk);
this.guildMemberRequesterStore.handleLoadMessages(channelChunk.getChannelId(), channelChunk.getMessages());
this.messageReplies.handleLoadMessages(channelChunk.getMessages());
this.channels.handleMessagesLoaded(channelChunk.getMessages());
this.threadMessages.handleMessagesLoaded(channelChunk);
this.permissions.handleMessagesLoaded(channelChunk.getMessages());
}
@StoreThread
private final void handlePreLogout() {
this.gatewaySocket.handlePreLogout();
this.guildSelected.handlePreLogout();
this.guildSubscriptions.handlePreLogout();
this.authentication.handlePreLogout$app_productionBetaRelease();
this.gifting.handlePreLogout();
this.spotify.handlePreLogout();
this.paymentSources.handlePreLogout();
this.subscriptions.handlePreLogout();
this.userSettingsSystem.handlePreLogout();
this.notifications.handlePreLogout();
this.analytics.handlePreLogout();
this.tabsNavigation.handlePreLogout();
this.userRelationships.handlePreLogout();
this.messages.handlePreLogout();
this.emojis.handlePreLogout();
this.stickers.handlePreLogout();
this.experiments.handlePreLogout();
this.pendingReplies.handlePreLogout();
this.messageAck.handlePreLogout();
this.applicationInteractions.handlePreLogout();
}
@StoreThread
private final void handlePresenceReplace(List<Presence> list) {
this.presences.handlePresenceReplace(list);
this.gameParty.handlePresenceReplace(list);
}
@StoreThread
private final void handlePresenceUpdate(long j, Presence presence) {
this.users.handlePresenceUpdate(presence);
this.presences.handlePresenceUpdate(j, presence);
this.gameParty.handlePresenceUpdate(presence, j);
}
@StoreThread
private final void handleReactionAdd(MessageReactionUpdate messageReactionUpdate) {
this.messages.handleReactionUpdate(d0.t.m.listOf(messageReactionUpdate), true);
this.messageReactions.handleReactionAdd(messageReactionUpdate);
}
@StoreThread
private final void handleReactionRemove(MessageReactionUpdate messageReactionUpdate) {
this.messages.handleReactionUpdate(d0.t.m.listOf(messageReactionUpdate), false);
this.messageReactions.handleReactionRemove(messageReactionUpdate);
}
@StoreThread
private final void handleReactionRemoveAll(MessageReactionUpdate messageReactionUpdate) {
this.messages.handleReactionsRemoveAll(messageReactionUpdate);
this.messageReactions.handleReactionRemoveAll(messageReactionUpdate);
}
@StoreThread
private final void handleReactionRemoveEmoji(MessageReactionUpdate messageReactionUpdate) {
this.messages.handleReactionsRemoveEmoji(messageReactionUpdate);
this.messageReactions.handleReactionRemoveEmoji(messageReactionUpdate);
}
@StoreThread
private final void handleRelationshipRemove(ModelUserRelationship modelUserRelationship) {
this.userRelationships.handleRelationshipRemove(modelUserRelationship);
}
@StoreThread
private final void handleRequiredActionUpdate(UserRequiredActionUpdate userRequiredActionUpdate) {
this.userRequiredAction.handleUserRequiredActionUpdate(userRequiredActionUpdate);
}
@StoreThread
private final void handleRtcConnectionStateChanged(RtcConnection.StateChange stateChange) {
this.gatewaySocket.handleRtcConnectionStateChanged(stateChange);
this.voiceChannelSelected.handleRtcConnectionStateChanged(stateChange.a);
this.audioManagerV2.handleRtcConnectionState(stateChange.a);
}
@StoreThread
private final void handleSessionsReplace(List<? extends ModelSession> list) {
this.presences.handleSessionsReplace(list);
}
@StoreThread
private final void handleSpeakingUpdates(List<StoreRtcConnection.SpeakingUserUpdate> list) {
this.voiceSpeaking.handleSpeakingUpdates(list);
}
@StoreThread
private final void handleSpeakingUsers(Set<Long> set) {
this.analytics.handleUserSpeaking(set);
}
@StoreThread
private final void handleStickersUpdate(GuildStickersUpdate guildStickersUpdate) {
this.guildStickers.handleStickerUpdate(guildStickersUpdate);
this.clientDataState.handleStickersUpdate(guildStickersUpdate);
}
@StoreThread
private final void handleStreamCreate(StreamCreateOrUpdate streamCreateOrUpdate) {
this.streamRtcConnection.handleStreamCreate(streamCreateOrUpdate);
this.applicationStreaming.handleStreamCreate(streamCreateOrUpdate);
}
@StoreThread
private final void handleStreamServerUpdate(StreamServerUpdate streamServerUpdate) {
this.streamRtcConnection.handleStreamServerUpdate(streamServerUpdate);
}
@StoreThread
private final void handleStreamUpdate(StreamCreateOrUpdate streamCreateOrUpdate) {
this.applicationStreaming.handleStreamUpdate(streamCreateOrUpdate);
}
@StoreThread
private final void handleThreadDelete(Channel channel) {
handleChannelOrThreadDelete(channel);
this.threadsActive.handleThreadDelete(channel);
this.threadsJoined.handleThreadDelete(channel);
this.threadsActiveJoined.handleThreadCreateOrUpdateOrDelete(channel);
this.threadMessages.handleThreadDelete(channel);
this.lazyThreadMembersStore.handleThreadDelete(channel);
}
@StoreThread
private final void handleThreadListSync(ModelThreadListSync modelThreadListSync) {
this.channels.handleThreadListSync(modelThreadListSync);
this.threadsActive.handleThreadListSync(modelThreadListSync);
this.threadsJoined.handleThreadListSync(modelThreadListSync);
this.threadsActiveJoined.handleThreadListSync(modelThreadListSync);
this.permissions.handleThreadListSync(modelThreadListSync);
this.mentions.handleThreadListSync(modelThreadListSync);
this.messagesMostRecent.handleThreadListSync(modelThreadListSync);
this.threadMessages.handleThreadListSync(modelThreadListSync);
}
@StoreThread
private final void handleThreadMemberListUpdate(ThreadMemberListUpdate threadMemberListUpdate) {
this.presences.handleThreadMemberListUpdate(threadMemberListUpdate);
this.users.handleThreadMemberListUpdate(threadMemberListUpdate);
this.guilds.handleThreadMemberListUpdate(threadMemberListUpdate);
this.gameParty.handleThreadMemberListUpdate(threadMemberListUpdate);
this.lazyThreadMembersStore.handleThreadMemberListUpdate(threadMemberListUpdate);
}
@StoreThread
private final void handleThreadMemberUpdate(ThreadMemberUpdate threadMemberUpdate) {
this.threadsJoined.handleThreadMemberUpdate(threadMemberUpdate);
this.threadsActiveJoined.handleThreadMemberUpdate(threadMemberUpdate);
this.permissions.handleThreadMemberUpdate(threadMemberUpdate);
}
@StoreThread
private final void handleThreadMembersUpdate(ThreadMembersUpdate threadMembersUpdate) {
this.threadsJoined.handleThreadMembersUpdate(threadMembersUpdate);
this.threadsActiveJoined.handleThreadMembersUpdate(threadMembersUpdate);
this.permissions.handleThreadMembersUpdate(threadMembersUpdate);
this.mentions.handleThreadMembersUpdate(threadMembersUpdate);
this.presences.handleThreadMembersUpdate(threadMembersUpdate);
this.users.handleThreadMembersUpdate(threadMembersUpdate);
this.guilds.handleThreadMembersUpdate(threadMembersUpdate);
this.gameParty.handleThreadMembersUpdate(threadMembersUpdate);
this.lazyThreadMembersStore.handleThreadMembersUpdate(threadMembersUpdate);
}
@StoreThread
private final void handleTypingStart(TypingUser typingUser) {
Long valueOf = Long.valueOf(typingUser.b());
GuildMember c2 = typingUser.c();
synthesizeGuildMemberAdd(valueOf, c2 != null ? c2.j() : null, typingUser.c());
this.usersTyping.handleTypingStart(typingUser);
}
@StoreThread
private final void handleUserNoteUpdated(ModelUserNote.Update update) {
this.userNotes.handleNoteUpdate(update);
}
@StoreThread
private final void handleUserPaymentSourcesUpdate() {
this.paymentSources.handleUserPaymentSourcesUpdate();
}
@StoreThread
private final void handleUserSettingsUpdate(ModelUserSettings modelUserSettings) {
this.userSettings.handleUserSettingsUpdate(modelUserSettings);
this.userSettingsSystem.handleUserSettingsUpdate(modelUserSettings);
this.presences.handleUserSettingsUpdate(modelUserSettings);
}
@StoreThread
private final void handleUserSubscriptionsUpdate() {
this.subscriptions.handleUserSubscriptionsUpdate();
}
@StoreThread
private final void handleUserUpdated(User user) {
this.users.handleUserUpdated(user);
this.mfa.handleUserUpdated(user);
}
@StoreThread
private final void handleVoiceChannelSelected(long j) {
this.audioDevices.handleVoiceChannelSelected();
this.rtcConnection.handleVoiceChannelSelected(Long.valueOf(j));
this.applicationStreaming.handleVoiceChannelSelected(j);
this.videoStreams.handleVoiceChannelSelected(j);
this.voiceSpeaking.handleVoiceChannelSelected(j);
this.callsIncoming.handleVoiceChannelSelected(j);
this.mediaEngine.handleVoiceChannelSelected(j);
this.mediaSettings.handleVoiceChannelSelected(j);
this.stageSelfPresence.handleVoiceChannelSelected();
this.lurking.handleVoiceChannelSelected$app_productionBetaRelease(j);
}
@StoreThread
private final void handleVoiceServerUpdate(VoiceServer voiceServer) {
this.rtcConnection.handleVoiceServerUpdate(voiceServer);
}
@StoreThread
private final void handleVoiceStateUpdate(VoiceState voiceState) {
Long valueOf = Long.valueOf(voiceState.c());
GuildMember d = voiceState.d();
synthesizeGuildMemberAdd(valueOf, d != null ? d.j() : null, voiceState.d());
this.voiceStates.handleVoiceStateUpdate(voiceState);
StoreApplicationStreaming.handleVoiceStateUpdate$default(this.applicationStreaming, voiceState, 0, 2, null);
this.voiceChannelSelected.handleVoiceStateUpdates(voiceState);
this.videoStreams.handleVoiceStateUpdates(voiceState);
this.rtcConnection.handleVoiceStateUpdate(voiceState);
this.stageSelfPresence.handleVoiceStateUpdate(voiceState);
this.connectionTimeStats.handleVoiceStateUpdate(voiceState);
}
private final void init(Application application) {
this.authentication.init(application);
this.userSettingsSystem.init(application);
this.emojis.initBlocking(application);
this.userSettings.init(application);
ChannelSelector.Companion.init(this, this.dispatcher, ObservationDeckProvider.get());
new StoreUIEventHandler(application, this.mediaEngine, this.channels, this.voiceChannelSelected, this.stageChannels, this.guildSettings);
}
@StoreThread
private final void initGatewaySocketListeners() {
dispatchSubscribe(this.gatewaySocket.getReady(), "streamConnectionOpen", new StoreStream$initGatewaySocketListeners$1(this));
dispatchSubscribe(this.gatewaySocket.getConnected(), "streamConnected", new StoreStream$initGatewaySocketListeners$2(this));
dispatchSubscribe(this.gatewaySocket.getConnectionReady(), "streamReady", new StoreStream$initGatewaySocketListeners$3(this));
dispatchSubscribe(this.gatewaySocket.getGuildApplicationCommands(), "guildApplicationCommands", new StoreStream$initGatewaySocketListeners$4(this));
dispatchSubscribe(this.gatewaySocket.getGuildCreate(), "streamGuildCreate", new StoreStream$initGatewaySocketListeners$5(this));
dispatchSubscribe(this.gatewaySocket.getGuildUpdate(), "streamGuildUpdate", new StoreStream$initGatewaySocketListeners$6(this));
dispatchSubscribe(this.gatewaySocket.getGuildRoleCreate(), "streamGuildRoleAdd", new StoreStream$initGatewaySocketListeners$7(this));
dispatchSubscribe(this.gatewaySocket.getGuildRoleUpdate(), "streamGuildRoleUpdate", new StoreStream$initGatewaySocketListeners$8(this));
dispatchSubscribe(this.gatewaySocket.getGuildRoleDelete(), "streamGuildRoleRemove", new StoreStream$initGatewaySocketListeners$9(this));
dispatchSubscribe(this.gatewaySocket.getGuildDeleted(), "streamGuildRemove", new StoreStream$initGatewaySocketListeners$10(this));
dispatchSubscribe(this.gatewaySocket.getGuildBanAdd(), "streamBanAdd", new StoreStream$initGatewaySocketListeners$11(this));
dispatchSubscribe(this.gatewaySocket.getGuildBanRemove(), "streamBanRemove", new StoreStream$initGatewaySocketListeners$12(this));
dispatchSubscribe(this.gatewaySocket.getGuildIntegrationsUpdate(), "streamGuildIntegrationUpdate", new StoreStream$initGatewaySocketListeners$13(this));
dispatchSubscribe(this.gatewaySocket.getGuildMembersAdd(), "streamGuildMemberAdd", new StoreStream$initGatewaySocketListeners$14(this));
dispatchSubscribe(this.gatewaySocket.getGuildJoinRequestCreateOrUpdate(), "streamGuildJoinRequestCreateOrUpdate", new StoreStream$initGatewaySocketListeners$15(this));
dispatchSubscribe(this.gatewaySocket.getGuildMembersChunk(), "streamGuildMemberChunk", new StoreStream$initGatewaySocketListeners$16(this));
dispatchSubscribe(this.gatewaySocket.getGuildMemberRemove(), "streamGuildMemberRemove", new StoreStream$initGatewaySocketListeners$17(this));
dispatchSubscribe(this.gatewaySocket.getChannelCreateOrUpdate(), "streamChannelCreateOrUpdate", new StoreStream$initGatewaySocketListeners$18(this));
dispatchSubscribe(this.gatewaySocket.getChannelDeleted(), "streamChannelDelete", new StoreStream$initGatewaySocketListeners$19(this));
dispatchSubscribe(this.gatewaySocket.getChannelUnreadUpdate(), "streamChannelUnreadUpdate", new StoreStream$initGatewaySocketListeners$20(this));
dispatchSubscribe(this.gatewaySocket.getThreadCreateOrUpdate(), "streamThreadCreateOrUpdate", new StoreStream$initGatewaySocketListeners$21(this));
dispatchSubscribe(this.gatewaySocket.getThreadDelete(), "streamThreadDelete", new StoreStream$initGatewaySocketListeners$22(this));
dispatchSubscribe(this.gatewaySocket.getThreadListSync(), "streamThreadListSync", new StoreStream$initGatewaySocketListeners$23(this));
dispatchSubscribe(this.gatewaySocket.getThreadMemberUpdate(), "streamThreadMemberUpdate", new StoreStream$initGatewaySocketListeners$24(this));
dispatchSubscribe(this.gatewaySocket.getThreadMembersUpdate(), "streamThreadMembersUpdate", new StoreStream$initGatewaySocketListeners$25(this));
dispatchSubscribe(this.gatewaySocket.getThreadMemberListUpdate(), "threadMemberListUpdate", new StoreStream$initGatewaySocketListeners$26(this));
dispatchSubscribe(this.gatewaySocket.getUserUpdate(), "streamUserUpdated", new StoreStream$initGatewaySocketListeners$27(this));
dispatchSubscribe(this.gatewaySocket.getUserNoteUpdate(), "handleUserNoteUpdated", new StoreStream$initGatewaySocketListeners$28(this));
dispatchSubscribe(this.gatewaySocket.getRelationshipAdd(), "streamRelationshipAdd", new StoreStream$initGatewaySocketListeners$29(this));
dispatchSubscribe(this.gatewaySocket.getRelationshipRemove(), "streamRelationshipRemove", new StoreStream$initGatewaySocketListeners$30(this));
dispatchSubscribe(this.gatewaySocket.getMessageUpdate(), "streamMessageUpdate", new StoreStream$initGatewaySocketListeners$31(this));
dispatchSubscribe(this.gatewaySocket.getMessageCreate(), "streamMessageCreate", new StoreStream$initGatewaySocketListeners$32(this));
dispatchSubscribe(this.gatewaySocket.getMessageReactionAdd(), "streamReactionAdd", new StoreStream$initGatewaySocketListeners$33(this));
dispatchSubscribe(this.gatewaySocket.getMessageReactionRemove(), "streamReactionRemove", new StoreStream$initGatewaySocketListeners$34(this));
dispatchSubscribe(this.gatewaySocket.getMessageReactionRemoveEmoji(), "streamMessageRemoveEmoji", new StoreStream$initGatewaySocketListeners$35(this));
dispatchSubscribe(this.gatewaySocket.getMessageReactionRemoveAll(), "streamMessageRemoveAll", new StoreStream$initGatewaySocketListeners$36(this));
dispatchSubscribe(this.gatewaySocket.getMessageDelete(), "streamMessageDelete", new StoreStream$initGatewaySocketListeners$37(this));
dispatchSubscribe(this.gatewaySocket.getMessageAck(), "streamMessageAck", new StoreStream$initGatewaySocketListeners$38(this));
dispatchSubscribe(this.gatewaySocket.getVoiceStateUpdate(), "streamVoiceStateUpdate", new StoreStream$initGatewaySocketListeners$39(this));
dispatchSubscribe(this.gatewaySocket.getVoiceServerUpdate(), "streamVoiceServerUpdate", new StoreStream$initGatewaySocketListeners$40(this));
dispatchSubscribe(this.gatewaySocket.getUserGuildSettingsUpdate(), "streamGuildSettingUpdated", new StoreStream$initGatewaySocketListeners$41(this));
dispatchSubscribe(this.gatewaySocket.getUserSettingsUpdate(), "streamUserSettingsUpdate", new StoreStream$initGatewaySocketListeners$42(this));
dispatchSubscribe(this.gatewaySocket.getTypingStart(), "streamTypingStart", new StoreStream$initGatewaySocketListeners$43(this));
dispatchSubscribe(this.gatewaySocket.getPresenceUpdate(), "streamPresenceUpdate", new StoreStream$initGatewaySocketListeners$44(this));
dispatchSubscribe(this.gatewaySocket.getPresenceReplace(), "streamPresenceReplace", new StoreStream$initGatewaySocketListeners$45(this));
dispatchSubscribe(this.gatewaySocket.getChannelRecipientAdd(), "streamGroupDMRecipientAdd", new StoreStream$initGatewaySocketListeners$46(this));
dispatchSubscribe(this.gatewaySocket.getChannelRecipientRemove(), "streamGroupDMRecipientRemove", new StoreStream$initGatewaySocketListeners$47(this));
dispatchSubscribe(this.gatewaySocket.getCallDelete(), "streamCallDelete", new StoreStream$initGatewaySocketListeners$48(this));
dispatchSubscribe(this.gatewaySocket.getCallCreateOrUpdate(), "streamCallCreateOrUpdate", new StoreStream$initGatewaySocketListeners$49(this));
dispatchSubscribe(this.gatewaySocket.getGuildEmojisUpdate(), "streamEmojisUpdate", new StoreStream$initGatewaySocketListeners$50(this));
dispatchSubscribe(this.gatewaySocket.getGuildStickersUpdate(), "streamStickersUpdate", new StoreStream$initGatewaySocketListeners$51(this));
dispatchSubscribe(this.gatewaySocket.getUserRequiredActionUpdate(), "streamUserRequiredActionUpdate", new StoreStream$initGatewaySocketListeners$52(this));
dispatchSubscribe(this.gatewaySocket.getGuildMemberListUpdate(), "guildMemberListUpdate", new StoreStream$initGatewaySocketListeners$53(this));
dispatchSubscribe(this.gatewaySocket.getSessionsReplace(), "streamSessionsReplace", new StoreStream$initGatewaySocketListeners$54(this));
dispatchSubscribe(this.gatewaySocket.getUserPaymentSourcesUpdate(), "streamUserPaymentSourcesUpdate", new StoreStream$initGatewaySocketListeners$55(this));
dispatchSubscribe(this.gatewaySocket.getUserSubscriptionsUpdate(), "streamUserSubscriptionsUpdate", new StoreStream$initGatewaySocketListeners$56(this));
dispatchSubscribe(this.gatewaySocket.getStreamCreate(), "streamStreamCreate", new StoreStream$initGatewaySocketListeners$57(this));
dispatchSubscribe(this.gatewaySocket.getStreamUpdate(), "streamStreamUpdate", new StoreStream$initGatewaySocketListeners$58(this));
dispatchSubscribe(this.gatewaySocket.getStreamDelete(), "streamStreamDelete", new StoreStream$initGatewaySocketListeners$59(this));
dispatchSubscribe(this.gatewaySocket.getStreamServerUpdate(), "streamStreamServerUpdate", new StoreStream$initGatewaySocketListeners$60(this));
dispatchSubscribe(this.gatewaySocket.getInteractionCreate(), "interactionCreate", new StoreStream$initGatewaySocketListeners$61(this));
dispatchSubscribe(this.gatewaySocket.getInteractionSuccess(), "interactionSuccess", new StoreStream$initGatewaySocketListeners$62(this));
dispatchSubscribe(this.gatewaySocket.getInteractionFailure(), "interactionFailure", new StoreStream$initGatewaySocketListeners$63(this));
dispatchSubscribe(this.gatewaySocket.getStageInstanceCreate(), "stageInstanceCreate", new StoreStream$initGatewaySocketListeners$64(this));
dispatchSubscribe(this.gatewaySocket.getStageInstanceUpdate(), "stageInstanceUpdate", new StoreStream$initGatewaySocketListeners$65(this));
dispatchSubscribe(this.gatewaySocket.getStageInstanceDelete(), "stageInstanceDelete", new StoreStream$initGatewaySocketListeners$66(this));
dispatchSubscribe(this.gatewaySocket.getFriendSuggestionCreate(), "friendSuggestionCreate", new StoreStream$initGatewaySocketListeners$67(this));
dispatchSubscribe(this.gatewaySocket.getFriendSuggestionDelete(), "friendSuggestionDelete", new StoreStream$initGatewaySocketListeners$68(this));
}
private final void maybeLogNotificationPermissionStatus(Application application, Clock clock) {
SharedPreferences sharedPreferences = SharedPreferencesProvider.INSTANCE.get();
long currentTimeMillis = clock.currentTimeMillis();
if (currentTimeMillis - sharedPreferences.getLong(LAST_LOGGED_NOTIFICATION_PERMISSIONS_KEY, 0) > DAY_IN_MILLS) {
Observable<NotificationClient.SettingsV2> Z = this.notifications.getSettings().Z(1);
m.checkNotNullExpressionValue(Z, "notifications.getSettings().take(1)");
ObservableExtensionsKt.appSubscribe$default(Z, StoreStream.class, (Context) null, (Function1) null, (Function1) null, (Function0) null, (Function0) null, new StoreStream$maybeLogNotificationPermissionStatus$1(sharedPreferences, currentTimeMillis, application), 62, (Object) null);
}
}
@StoreThread
private final void processMessageUsers(Message message) {
synthesizeGuildMemberAdd(message.m(), message.e(), message.q());
List<User> t = message.t();
if (t != null) {
for (User user : t) {
synthesizeGuildMemberAdd(message.m(), user, user.j());
}
}
}
private final void startStoreInitializationTimer(NetworkMonitor networkMonitor) {
Observable Z = Observable.H(networkMonitor.observeIsConnected().x(StoreStream$startStoreInitializationTimer$isOfflineObservable$1.INSTANCE), Observable.d0(6000, TimeUnit.MILLISECONDS)).Z(1);
m.checkNotNullExpressionValue(Z, "Observable.merge(\n …le\n )\n .take(1)");
ObservableExtensionsKt.appSubscribe$default(Z, StoreStream.class, (Context) null, (Function1) null, (Function1) null, (Function0) null, (Function0) null, new StoreStream$startStoreInitializationTimer$1(this), 62, (Object) null);
}
public static /* synthetic */ void streamCreate$default(StoreStream storeStream, String str, String str2, int i, Object obj) {
if ((i & 2) != 0) {
str2 = null;
}
storeStream.streamCreate(str, str2);
}
@StoreThread
private final void synthesizeGuildMemberAdd(Long l, User user, GuildMember guildMember) {
UtcDateTime utcDateTime = null;
List<Long> i = guildMember != null ? guildMember.i() : null;
String e = guildMember != null ? guildMember.e() : null;
String g = guildMember != null ? guildMember.g() : null;
Boolean valueOf = guildMember != null ? Boolean.valueOf(guildMember.f()) : null;
String b = guildMember != null ? guildMember.b() : null;
if (guildMember != null) {
utcDateTime = guildMember.d();
}
synthesizeGuildMemberAdd(l, user, i, e, g, valueOf, b, utcDateTime);
}
@StoreThread
private final void synthesizeGuildMemberAdd(Long l, User user, List<Long> list, String str, String str2, Boolean bool, String str3, UtcDateTime utcDateTime) {
if (l != null && user != null && list != null) {
handleGuildMemberAdd(new GuildMember(l.longValue(), user, list, str, str2, utcDateTime, bool != null ? bool.booleanValue() : false, null, null, str3));
}
}
public final StoreAccessibility getAccessibility$app_productionBetaRelease() {
return this.accessibility;
}
public final StoreAnalytics getAnalytics$app_productionBetaRelease() {
return this.analytics;
}
public final StoreApplication getApplication$app_productionBetaRelease() {
return this.application;
}
public final StoreApplicationCommands getApplicationCommands$app_productionBetaRelease() {
return this.applicationCommands;
}
public final StoreApplicationInteractions getApplicationInteractions$app_productionBetaRelease() {
return this.applicationInteractions;
}
public final StoreApplicationStreamPreviews getApplicationStreamPreviews$app_productionBetaRelease() {
return this.applicationStreamPreviews;
}
public final StoreApplicationStreaming getApplicationStreaming$app_productionBetaRelease() {
return this.applicationStreaming;
}
public final ArchivedThreadsStore getArchivedThreads$app_productionBetaRelease() {
return this.archivedThreads;
}
public final StoreAudioDevices getAudioDevices$app_productionBetaRelease() {
return this.audioDevices;
}
public final StoreAudioManagerV2 getAudioManagerV2$app_productionBetaRelease() {
return this.audioManagerV2;
}
public final StoreAuditLog getAuditLog$app_productionBetaRelease() {
return this.auditLog;
}
public final StoreAuthentication getAuthentication$app_productionBetaRelease() {
return this.authentication;
}
public final StoreAutocomplete getAutocomplete$app_productionBetaRelease() {
return this.autocomplete;
}
public final StoreBans getBans$app_productionBetaRelease() {
return this.bans;
}
public final StoreCalls getCalls$app_productionBetaRelease() {
return this.calls;
}
public final StoreCallsIncoming getCallsIncoming$app_productionBetaRelease() {
return this.callsIncoming;
}
public final StoreChangeLog getChangeLogStore$app_productionBetaRelease() {
return this.changeLogStore;
}
public final StoreChannelFollowerStats getChannelFollowerStats$app_productionBetaRelease() {
return this.channelFollowerStats;
}
public final StoreChannels getChannels$app_productionBetaRelease() {
return this.channels;
}
public final StoreChannelsSelected getChannelsSelected$app_productionBetaRelease() {
return this.channelsSelected;
}
public final StoreChat getChat$app_productionBetaRelease() {
return this.chat;
}
public final StoreClientDataState getClientDataState$app_productionBetaRelease() {
return this.clientDataState;
}
public final StoreClientVersion getClientVersion$app_productionBetaRelease() {
return this.clientVersion;
}
public final StoreCollapsedChannelCategories getCollapsedChannelCategories$app_productionBetaRelease() {
return this.collapsedChannelCategories;
}
public final StoreConnectionOpen getConnectionOpen$app_productionBetaRelease() {
return this.connectionOpen;
}
public final ConnectionTimeStats getConnectionTimeStats$app_productionBetaRelease() {
return this.connectionTimeStats;
}
public final StoreConnectivity getConnectivity$app_productionBetaRelease() {
return this.connectivity;
}
public final StoreContactSync getContactSync$app_productionBetaRelease() {
return this.contactSync;
}
public final StoreDirectories getDirectories$app_productionBetaRelease() {
return this.directories;
}
public final StoreEmoji getEmojis$app_productionBetaRelease() {
return this.emojis;
}
public final StoreEntitlements getEntitlements$app_productionBetaRelease() {
return this.entitlements;
}
public final StoreExpandedGuildFolders getExpandedGuildFolders$app_productionBetaRelease() {
return this.expandedGuildFolders;
}
public final StoreExperiments getExperiments$app_productionBetaRelease() {
return this.experiments;
}
public final StoreExpressionPickerNavigation getExpressionPickerNavigation$app_productionBetaRelease() {
return this.expressionPickerNavigation;
}
public final StoreExpressionSuggestions getExpressionSuggestions$app_productionBetaRelease() {
return this.expressionSuggestions;
}
public final StoreFriendSuggestions getFriendSuggestions$app_productionBetaRelease() {
return this.friendSuggestions;
}
public final StoreGameParty getGameParty$app_productionBetaRelease() {
return this.gameParty;
}
public final StoreGatewayConnection getGatewaySocket$app_productionBetaRelease() {
return this.gatewaySocket;
}
public final StoreGifPicker getGifPicker$app_productionBetaRelease() {
return this.gifPicker;
}
public final StoreGifting getGifting$app_productionBetaRelease() {
return this.gifting;
}
public final StoreGooglePlayPurchases getGooglePlayPurchases$app_productionBetaRelease() {
return this.googlePlayPurchases;
}
public final StoreGooglePlaySkuDetails getGooglePlaySkuDetails$app_productionBetaRelease() {
return this.googlePlaySkuDetails;
}
public final StoreEmojiGuild getGuildEmojis$app_productionBetaRelease() {
return this.guildEmojis;
}
public final StoreInviteSettings getGuildInvite$app_productionBetaRelease() {
return this.guildInvite;
}
public final StoreGuildJoinRequest getGuildJoinRequests$app_productionBetaRelease() {
return this.guildJoinRequests;
}
public final StoreGuildMemberCounts getGuildMemberCounts$app_productionBetaRelease() {
return this.guildMemberCounts;
}
public final StoreGuildMemberRequester getGuildMemberRequesterStore$app_productionBetaRelease() {
return this.guildMemberRequesterStore;
}
public final StoreGuildProfiles getGuildProfiles$app_productionBetaRelease() {
return this.guildProfiles;
}
public final StoreGuildScheduledEvents getGuildScheduledEvents$app_productionBetaRelease() {
return this.guildScheduledEvents;
}
public final StoreGuildSelected getGuildSelected$app_productionBetaRelease() {
return this.guildSelected;
}
public final StoreUserGuildSettings getGuildSettings$app_productionBetaRelease() {
return this.guildSettings;
}
public final StoreGuildStickers getGuildStickers$app_productionBetaRelease() {
return this.guildStickers;
}
public final StoreGuildSubscriptions getGuildSubscriptions$app_productionBetaRelease() {
return this.guildSubscriptions;
}
public final StoreGuildTemplates getGuildTemplates$app_productionBetaRelease() {
return this.guildTemplates;
}
public final StoreGuildVoiceRegions getGuildVoiceRegions$app_productionBetaRelease() {
return this.guildVoiceRegions;
}
public final StoreGuildWelcomeScreens getGuildWelcomeScreens$app_productionBetaRelease() {
return this.guildWelcomeScreens;
}
public final StoreGuilds getGuilds$app_productionBetaRelease() {
return this.guilds;
}
public final StoreGuildsNsfw getGuildsNsfw$app_productionBetaRelease() {
return this.guildsNsfw;
}
public final StoreGuildsSorted getGuildsSorted$app_productionBetaRelease() {
return this.guildsSorted;
}
public final StoreInstantInvites getInstantInvites$app_productionBetaRelease() {
return this.instantInvites;
}
public final StoreGuildIntegrations getIntegrations$app_productionBetaRelease() {
return this.integrations;
}
public final StoreChannelMembers getLazyChannelMembersStore$app_productionBetaRelease() {
return this.lazyChannelMembersStore;
}
public final StoreThreadMembers getLazyThreadMembersStore$app_productionBetaRelease() {
return this.lazyThreadMembersStore;
}
public final StoreLibrary getLibrary$app_productionBetaRelease() {
return this.library;
}
public final StoreLocalActionComponentState getLocalActionComponentState$app_productionBetaRelease() {
return this.localActionComponentState;
}
public final StoreLurking getLurking$app_productionBetaRelease() {
return this.lurking;
}
public final StoreMaskedLinks getMaskedLinks$app_productionBetaRelease() {
return this.maskedLinks;
}
public final StoreMediaEngine getMediaEngine$app_productionBetaRelease() {
return this.mediaEngine;
}
public final StoreMediaFavorites getMediaFavorites$app_productionBetaRelease() {
return this.mediaFavorites;
}
public final StoreMediaSettings getMediaSettings$app_productionBetaRelease() {
return this.mediaSettings;
}
public final StoreGuildMemberVerificationForm getMemberVerificationForms$app_productionBetaRelease() {
return this.memberVerificationForms;
}
public final StoreMentions getMentions$app_productionBetaRelease() {
return this.mentions;
}
public final StoreMessageAck getMessageAck$app_productionBetaRelease() {
return this.messageAck;
}
public final StoreMessageReactions getMessageReactions$app_productionBetaRelease() {
return this.messageReactions;
}
public final StoreMessageReplies getMessageReplies$app_productionBetaRelease() {
return this.messageReplies;
}
public final StoreMessageState getMessageStates$app_productionBetaRelease() {
return this.messageStates;
}
public final StoreMessageUploads getMessageUploads$app_productionBetaRelease() {
return this.messageUploads;
}
public final StoreMessages getMessages$app_productionBetaRelease() {
return this.messages;
}
public final StoreMessagesLoader getMessagesLoader$app_productionBetaRelease() {
return this.messagesLoader;
}
public final StoreMessagesMostRecent getMessagesMostRecent$app_productionBetaRelease() {
return this.messagesMostRecent;
}
public final StoreMFA getMfa$app_productionBetaRelease() {
return this.mfa;
}
public final StoreNavigation getNavigation$app_productionBetaRelease() {
return this.navigation;
}
public final StoreNotices getNotices$app_productionBetaRelease() {
return this.notices;
}
public final StoreNotifications getNotifications$app_productionBetaRelease() {
return this.notifications;
}
public final StoreNux getNux$app_productionBetaRelease() {
return this.nux;
}
public final StoreOutboundPromotions getOutboundPromotions$app_productionBetaRelease() {
return this.outboundPromotions;
}
public final StorePaymentSources getPaymentSources$app_productionBetaRelease() {
return this.paymentSources;
}
public final StorePendingReplies getPendingReplies$app_productionBetaRelease() {
return this.pendingReplies;
}
public final StorePermissions getPermissions$app_productionBetaRelease() {
return this.permissions;
}
public final StorePhone getPhone$app_productionBetaRelease() {
return this.phone;
}
public final StorePinnedMessages getPinnedMessages$app_productionBetaRelease() {
return this.pinnedMessages;
}
public final StorePremiumGuildSubscription getPremiumGuildSubscriptions$app_productionBetaRelease() {
return this.premiumGuildSubscriptions;
}
public final StoreUserPresence getPresences$app_productionBetaRelease() {
return this.presences;
}
public final StoreReadStates getReadStates$app_productionBetaRelease() {
return this.readStates;
}
public final StoreRequestedStageChannels getRequestedStageChannels$app_productionBetaRelease() {
return this.requestedStageChannels;
}
public final StoreReviewRequest getReviewRequestStore$app_productionBetaRelease() {
return this.reviewRequestStore;
}
public final StoreRtcConnection getRtcConnection$app_productionBetaRelease() {
return this.rtcConnection;
}
public final StoreRtcRegion getRtcRegion$app_productionBetaRelease() {
return this.rtcRegion;
}
public final StoreSearch getSearch$app_productionBetaRelease() {
return this.search;
}
public final StoreSlowMode getSlowMode$app_productionBetaRelease() {
return this.slowMode;
}
public final StoreSpotify getSpotify$app_productionBetaRelease() {
return this.spotify;
}
public final StoreStageChannels getStageChannels$app_productionBetaRelease() {
return this.stageChannels;
}
public final StoreStageInstances getStageInstances$app_productionBetaRelease() {
return this.stageInstances;
}
public final StoreStageChannelSelfPresence getStageSelfPresence$app_productionBetaRelease() {
return this.stageSelfPresence;
}
public final StoreStickers getStickers$app_productionBetaRelease() {
return this.stickers;
}
public final StoreDynamicLink getStoreDynamicLink$app_productionBetaRelease() {
return this.storeDynamicLink;
}
public final StoreSubscriptions getSubscriptions$app_productionBetaRelease() {
return this.subscriptions;
}
public final StoreTabsNavigation getTabsNavigation$app_productionBetaRelease() {
return this.tabsNavigation;
}
public final StoreThreadDraft getThreadDraft$app_productionBetaRelease() {
return this.threadDraft;
}
public final StoreThreadMessages getThreadMessages$app_productionBetaRelease() {
return this.threadMessages;
}
public final StoreThreadsActive getThreadsActive$app_productionBetaRelease() {
return this.threadsActive;
}
public final StoreThreadsActiveJoined getThreadsActiveJoined$app_productionBetaRelease() {
return this.threadsActiveJoined;
}
public final StoreThreadsJoined getThreadsJoined$app_productionBetaRelease() {
return this.threadsJoined;
}
public final StoreUserAffinities getUserAffinities$app_productionBetaRelease() {
return this.userAffinities;
}
public final StoreUserConnections getUserConnections$app_productionBetaRelease() {
return this.userConnections;
}
public final StoreUserNotes getUserNotes$app_productionBetaRelease() {
return this.userNotes;
}
public final StoreUserProfile getUserProfile$app_productionBetaRelease() {
return this.userProfile;
}
public final StoreUserRelationships getUserRelationships$app_productionBetaRelease() {
return this.userRelationships;
}
public final StoreUserRequiredActions getUserRequiredAction$app_productionBetaRelease() {
return this.userRequiredAction;
}
public final StoreUserSettings getUserSettings$app_productionBetaRelease() {
return this.userSettings;
}
public final StoreUserSettingsSystem getUserSettingsSystem$app_productionBetaRelease() {
return this.userSettingsSystem;
}
public final StoreUserSurvey getUserSurvey$app_productionBetaRelease() {
return this.userSurvey;
}
public final StoreUser getUsers$app_productionBetaRelease() {
return this.users;
}
public final StoreUserTyping getUsersTyping$app_productionBetaRelease() {
return this.usersTyping;
}
public final StoreVideoStreams getVideoStreams$app_productionBetaRelease() {
return this.videoStreams;
}
public final StoreVoiceChannelSelected getVoiceChannelSelected$app_productionBetaRelease() {
return this.voiceChannelSelected;
}
public final StoreVoiceParticipants getVoiceParticipants$app_productionBetaRelease() {
return this.voiceParticipants;
}
public final StoreVoiceSpeaking getVoiceSpeaking$app_productionBetaRelease() {
return this.voiceSpeaking;
}
public final StoreVoiceStates getVoiceStates$app_productionBetaRelease() {
return this.voiceStates;
}
@StoreThread
public final void handleApplicationStreamUpdate(long j, Integer num) {
this.videoStreams.handleApplicationStreamUpdate(j, num);
this.connectionTimeStats.handleApplicationStreamUpdate(j, num);
}
@StoreThread
public final void handleApplicationStreamVideoMetadataUpdate(VideoMetadata videoMetadata) {
m.checkNotNullParameter(videoMetadata, "metadata");
this.videoStreams.handleApplicationStreamVideoMetadataUpdate(videoMetadata);
}
@StoreThread
public final void handleFriendSuggestionCreate(FriendSuggestion friendSuggestion) {
m.checkNotNullParameter(friendSuggestion, "friendSuggestionCreate");
this.friendSuggestions.handleFriendSuggestionCreate(friendSuggestion);
this.users.handleFriendSuggestionCreate(friendSuggestion);
}
@StoreThread
public final void handleFriendSuggestionDelete(FriendSuggestionDelete friendSuggestionDelete) {
m.checkNotNullParameter(friendSuggestionDelete, "friendSuggestionDelete");
this.friendSuggestions.handleFriendSuggestionDelete(friendSuggestionDelete);
}
@StoreThread
public final void handleFriendSuggestionsLoaded(List<FriendSuggestion> list) {
m.checkNotNullParameter(list, "friendSuggestions");
this.friendSuggestions.handleFriendSuggestionsLoaded(list);
this.users.handleFriendSuggestionsLoaded(list);
}
@StoreThread
public final void handleGuildJoinRequestCreateOrUpdate(GuildJoinRequestCreateOrUpdate guildJoinRequestCreateOrUpdate) {
m.checkNotNullParameter(guildJoinRequestCreateOrUpdate, "update");
this.guildJoinRequests.handleGuildJoinRequestCreateOrUpdate(guildJoinRequestCreateOrUpdate.a(), guildJoinRequestCreateOrUpdate.b());
}
@StoreThread
public final void handleGuildJoined(long j, GuildWelcomeScreen guildWelcomeScreen) {
this.guildWelcomeScreens.handleGuildJoined(j, guildWelcomeScreen);
}
@StoreThread
public final void handleGuildSelected(long j) {
this.guildSelected.handleGuildSelected(j);
this.channelsSelected.handleGuildSelected();
this.calls.handleGuildSelect(j);
this.guildSubscriptions.handleGuildSelect(j);
this.lurking.handleGuildSelected$app_productionBetaRelease(j);
this.nux.handleGuildSelected(j);
this.guildInvite.handleGuildSelected(j);
}
@StoreThread
public final void handleHomeTabSelected(StoreNavigation.PanelAction panelAction) {
m.checkNotNullParameter(panelAction, "panelAction");
this.navigation.handleHomeTabSelected(panelAction);
}
@StoreThread
public final void handleInteractionFailure(InteractionStateUpdate interactionStateUpdate) {
m.checkNotNullParameter(interactionStateUpdate, "interactionStateUpdate");
this.applicationInteractions.handleInteractionFailure(interactionStateUpdate);
this.messages.handleInteractionFailure(interactionStateUpdate);
}
@StoreThread
public final void handleIsScreenSharingChanged(boolean z2) {
this.analytics.handleIsScreenSharingChanged(z2);
}
@StoreThread
public final void handleLocalMessageDelete(com.discord.models.message.Message message) {
m.checkNotNullParameter(message, "message");
this.applicationInteractions.handleLocalMessageDelete(message);
}
@StoreThread
public final void handleLoginResult(ModelLoginResult modelLoginResult) {
m.checkNotNullParameter(modelLoginResult, "loginResult");
this.authentication.handleLoginResult(modelLoginResult);
this.userSettingsSystem.handleLoginResult(modelLoginResult);
}
@StoreThread
public final void handleRelationshipAdd(ModelUserRelationship modelUserRelationship) {
m.checkNotNullParameter(modelUserRelationship, "relationship");
this.users.handleUserRelationshipAdd(modelUserRelationship);
this.userRelationships.handleRelationshipAdd(modelUserRelationship);
}
@StoreThread
public final void handleSamplePremiumGuildSelected(long j) {
this.guildSelected.handleGuildSelected(j);
this.nux.handleSamplePremiumGuildSelected(j);
}
@StoreThread
public final void handleSearchFinish(SearchState searchState) {
m.checkNotNullParameter(searchState, "searchState");
this.channels.handleSearchFinish(searchState);
this.permissions.handleSearchFinish(searchState);
this.threadsJoined.handleSearchFinish(searchState);
}
@StoreThread
public final void handleStageInstanceCreate(StageInstance stageInstance) {
m.checkNotNullParameter(stageInstance, "stageInstance");
this.stageInstances.handleStageInstanceCreate(stageInstance);
this.stageSelfPresence.handleStageInstanceCreate();
this.permissions.handleStageInstanceChange(stageInstance);
}
@StoreThread
public final void handleStageInstanceDelete(StageInstance stageInstance) {
m.checkNotNullParameter(stageInstance, "stageInstance");
this.stageInstances.handleStageInstanceDelete(stageInstance);
this.stageSelfPresence.handleStageInstanceDelete();
this.permissions.handleStageInstanceChange(stageInstance);
}
@StoreThread
public final void handleStageInstanceUpdate(StageInstance stageInstance) {
m.checkNotNullParameter(stageInstance, "stageInstance");
this.stageInstances.handleStageInstanceUpdate(stageInstance);
this.stageSelfPresence.handleStageInstanceUpdate();
this.permissions.handleStageInstanceChange(stageInstance);
}
@StoreThread
public final void handleStoreInitializationTimeout() {
this.channels.handleStoreInitTimeout();
this.channelsSelected.handleStoreInitTimeout();
}
@StoreThread
public final void handleStreamDelete(StreamDelete streamDelete, boolean z2) {
m.checkNotNullParameter(streamDelete, "streamDelete");
this.streamRtcConnection.handleStreamDelete();
this.applicationStreaming.handleStreamDelete(streamDelete);
if (z2) {
this.gatewaySocket.streamDelete(streamDelete.getStreamKey());
}
}
@StoreThread
public final void handleStreamRtcConnectionStateChange(RtcConnection.StateChange stateChange) {
m.checkNotNullParameter(stateChange, "stateChange");
this.gatewaySocket.handleRtcConnectionStateChanged(stateChange);
this.streamRtcConnection.handleStreamRtcConnectionStateChange(stateChange.a);
this.audioDevices.handleStreamRtcConnectionStateChange(stateChange.a);
}
@StoreThread
public final void handleStreamTargeted(String str) {
m.checkNotNullParameter(str, "streamKey");
this.applicationStreaming.handleStreamTargeted(str);
this.voiceChannelSelected.handleStreamTargeted(str);
}
@StoreThread
public final void handleThreadCreateOrUpdate(Channel channel) {
m.checkNotNullParameter(channel, "channel");
this.channels.handleThreadCreateOrUpdate(channel);
this.channelsSelected.handleChannelOrThreadCreateOrUpdate(channel);
this.permissions.handleChannelOrThreadCreateOrUpdate(channel);
this.voiceChannelSelected.handleChannelOrThreadCreateOrUpdate();
this.mentions.handleChannelOrThreadCreateOrUpdate(channel);
this.messagesMostRecent.handleThreadCreateOrUpdate(channel);
this.threadsActive.handleThreadCreateOrUpdate(channel);
this.threadsJoined.handleThreadCreateOrUpdate(channel);
this.threadsActiveJoined.handleThreadCreateOrUpdateOrDelete(channel);
this.threadMessages.handleThreadCreateOrUpdate(channel);
this.lazyThreadMembersStore.handleThreadCreateOrUpdate(channel);
}
@StoreThread
public final void handleUserConnections(List<ModelConnectedAccount> list) {
m.checkNotNullParameter(list, "accounts");
this.userConnections.handleUserConnections(list);
this.spotify.handleUserConnections(list);
}
@StoreThread
public final void handleVideoInputDeviceSelected(VideoInputDeviceDescription videoInputDeviceDescription) {
this.analytics.handleVideoInputDeviceSelected(videoInputDeviceDescription);
}
@StoreThread
public final void handleVideoMetadataUpdate(VideoMetadata videoMetadata) {
m.checkNotNullParameter(videoMetadata, "metadata");
this.videoStreams.handleVideoMetadataUpdate(videoMetadata);
}
@StoreThread
public final void handleVideoStreamUpdate(long j, Integer num, int i, int i2, int i3) {
this.videoStreams.handleVideoStreamUpdate(j, num);
this.connectionTimeStats.handleVideoStreamUpdate(j, num, i, i2, i3);
}
@StoreThread
public final void handleVoiceStatesUpdated(long j, long j2, long j3) {
this.audioDevices.handleVoiceStatesUpdated();
this.audioManagerV2.handleVoiceStatesUpdated();
this.stageChannels.handleVoiceStatesUpdated(j, j2, j3);
}
@StoreThread
public final void streamCreate(String str, String str2) {
m.checkNotNullParameter(str, "streamKey");
this.gatewaySocket.streamCreate(str, str2);
this.applicationStreaming.handleStreamCreateRequest(str);
}
@StoreThread
public final void streamWatch(String str) {
m.checkNotNullParameter(str, "streamKey");
this.gatewaySocket.streamWatch(str);
this.applicationStreaming.handleStreamWatch(str);
this.connectionTimeStats.handleStreamWatch(str);
}
}