2020-05-17 12:40:10 +00:00
|
|
|
.class public final Lcom/discord/widgets/channels/list/WidgetChannelListModel$Companion$getSelectedGuildChannelList$1;
|
2020-09-29 21:44:44 +00:00
|
|
|
.super Lb0/n/c/k;
|
2020-05-17 12:40:10 +00:00
|
|
|
.source "WidgetChannelListModel.kt"
|
|
|
|
|
|
|
|
# interfaces
|
2020-08-04 06:02:43 +00:00
|
|
|
.implements Lkotlin/jvm/functions/Function10;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lcom/discord/widgets/channels/list/WidgetChannelListModel$Companion;->getSelectedGuildChannelList(J)Lrx/Observable;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-09-29 21:44:44 +00:00
|
|
|
"Lb0/n/c/k;",
|
2020-08-04 06:02:43 +00:00
|
|
|
"Lkotlin/jvm/functions/Function10<",
|
|
|
|
"Lcom/discord/utilities/channel/GuildChannelsInfo;",
|
|
|
|
"Ljava/util/Map<",
|
|
|
|
"Ljava/lang/Long;",
|
|
|
|
"+",
|
|
|
|
"Lcom/discord/models/domain/ModelChannel;",
|
|
|
|
">;",
|
|
|
|
"Ljava/lang/Long;",
|
|
|
|
"Ljava/lang/Long;",
|
|
|
|
"Ljava/util/Map<",
|
|
|
|
"Ljava/lang/Long;",
|
|
|
|
"+",
|
2020-08-10 21:02:22 +00:00
|
|
|
"Ljava/util/List<",
|
2020-08-04 06:02:43 +00:00
|
|
|
"+",
|
|
|
|
"Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceUser;",
|
|
|
|
">;>;",
|
|
|
|
"Ljava/util/Map<",
|
|
|
|
"Ljava/lang/Long;",
|
|
|
|
"+",
|
|
|
|
"Ljava/lang/Integer;",
|
|
|
|
">;",
|
|
|
|
"Ljava/util/Set<",
|
|
|
|
"+",
|
|
|
|
"Ljava/lang/Long;",
|
|
|
|
">;",
|
|
|
|
"Ljava/util/Set<",
|
|
|
|
"+",
|
|
|
|
"Ljava/lang/Long;",
|
|
|
|
">;",
|
|
|
|
"Lcom/discord/stores/StoreNux$NuxState;",
|
|
|
|
"Lcom/discord/models/domain/ModelUser;",
|
|
|
|
"Lcom/discord/widgets/channels/list/WidgetChannelListModel;",
|
|
|
|
">;"
|
2020-05-17 12:40:10 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final synthetic $selectedGuildId:J
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(J)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput-wide p1, p0, Lcom/discord/widgets/channels/list/WidgetChannelListModel$Companion$getSelectedGuildChannelList$1;->$selectedGuildId:J
|
|
|
|
|
2020-08-04 06:02:43 +00:00
|
|
|
const/16 p1, 0xa
|
|
|
|
|
2020-09-29 21:44:44 +00:00
|
|
|
invoke-direct {p0, p1}, Lb0/n/c/k;-><init>(I)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2020-08-04 06:02:43 +00:00
|
|
|
.method public final invoke(Lcom/discord/utilities/channel/GuildChannelsInfo;Ljava/util/Map;JJLjava/util/Map;Ljava/util/Map;Ljava/util/Set;Ljava/util/Set;Lcom/discord/stores/StoreNux$NuxState;Lcom/discord/models/domain/ModelUser;)Lcom/discord/widgets/channels/list/WidgetChannelListModel;
|
|
|
|
.locals 16
|
2020-05-17 12:40:10 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Lcom/discord/utilities/channel/GuildChannelsInfo;",
|
|
|
|
"Ljava/util/Map<",
|
|
|
|
"Ljava/lang/Long;",
|
|
|
|
"+",
|
|
|
|
"Lcom/discord/models/domain/ModelChannel;",
|
2020-08-04 06:02:43 +00:00
|
|
|
">;JJ",
|
2020-05-17 12:40:10 +00:00
|
|
|
"Ljava/util/Map<",
|
|
|
|
"Ljava/lang/Long;",
|
|
|
|
"+",
|
2020-08-10 21:02:22 +00:00
|
|
|
"Ljava/util/List<",
|
2020-05-17 12:40:10 +00:00
|
|
|
"Lcom/discord/widgets/channels/list/items/ChannelListItemVoiceUser;",
|
|
|
|
">;>;",
|
|
|
|
"Ljava/util/Map<",
|
|
|
|
"Ljava/lang/Long;",
|
|
|
|
"Ljava/lang/Integer;",
|
|
|
|
">;",
|
|
|
|
"Ljava/util/Set<",
|
|
|
|
"Ljava/lang/Long;",
|
|
|
|
">;",
|
|
|
|
"Ljava/util/Set<",
|
|
|
|
"Ljava/lang/Long;",
|
|
|
|
">;",
|
|
|
|
"Lcom/discord/stores/StoreNux$NuxState;",
|
2020-08-04 06:02:43 +00:00
|
|
|
"Lcom/discord/models/domain/ModelUser;",
|
2020-05-17 12:40:10 +00:00
|
|
|
")",
|
|
|
|
"Lcom/discord/widgets/channels/list/WidgetChannelListModel;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2020-08-04 06:02:43 +00:00
|
|
|
move-object/from16 v0, p0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v1, "guildChannelsInfo"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-object/from16 v15, p1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-29 21:44:44 +00:00
|
|
|
invoke-static {v15, v1}, Lb0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v1, "guildChannels"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-object/from16 v6, p2
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-29 21:44:44 +00:00
|
|
|
invoke-static {v6, v1}, Lb0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string/jumbo v1, "voiceStates"
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-object/from16 v11, p7
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-29 21:44:44 +00:00
|
|
|
invoke-static {v11, v1}, Lb0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v1, "mentionCounts"
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-object/from16 v12, p8
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-29 21:44:44 +00:00
|
|
|
invoke-static {v12, v1}, Lb0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string/jumbo v1, "unreadChannelIds"
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-object/from16 v13, p9
|
2020-09-09 19:21:20 +00:00
|
|
|
|
2020-09-29 21:44:44 +00:00
|
|
|
invoke-static {v13, v1}, Lb0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-08 08:16:32 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v1, "collapsedCategories"
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-object/from16 v14, p10
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-29 21:44:44 +00:00
|
|
|
invoke-static {v14, v1}, Lb0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v1, "nuxState"
|
|
|
|
|
|
|
|
move-object/from16 v9, p11
|
|
|
|
|
2020-09-29 21:44:44 +00:00
|
|
|
invoke-static {v9, v1}, Lb0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
const-string v1, "me"
|
|
|
|
|
|
|
|
move-object/from16 v10, p12
|
|
|
|
|
2020-09-29 21:44:44 +00:00
|
|
|
invoke-static {v10, v1}, Lb0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
|
|
|
sget-object v2, Lcom/discord/widgets/channels/list/WidgetChannelListModel;->Companion:Lcom/discord/widgets/channels/list/WidgetChannelListModel$Companion;
|
|
|
|
|
|
|
|
iget-wide v3, v0, Lcom/discord/widgets/channels/list/WidgetChannelListModel$Companion$getSelectedGuildChannelList$1;->$selectedGuildId:J
|
|
|
|
|
|
|
|
move-object/from16 v5, p1
|
|
|
|
|
|
|
|
move-wide/from16 v7, p3
|
|
|
|
|
|
|
|
move-wide/from16 v9, p5
|
2020-09-16 21:45:36 +00:00
|
|
|
|
2020-08-04 06:02:43 +00:00
|
|
|
move-object/from16 v15, p12
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-04 06:02:43 +00:00
|
|
|
invoke-static/range {v2 .. v15}, Lcom/discord/widgets/channels/list/WidgetChannelListModel$Companion;->access$guildListBuilder(Lcom/discord/widgets/channels/list/WidgetChannelListModel$Companion;JLcom/discord/utilities/channel/GuildChannelsInfo;Ljava/util/Map;JJLjava/util/Map;Ljava/util/Map;Ljava/util/Set;Ljava/util/Set;Lcom/discord/models/domain/ModelUser;)Ljava/util/List;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
new-instance v2, Lcom/discord/widgets/channels/list/items/ChannelListBottomNavSpaceItem;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
iget-wide v3, v0, Lcom/discord/widgets/channels/list/WidgetChannelListModel$Companion$getSelectedGuildChannelList$1;->$selectedGuildId:J
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-direct {v2, v3, v4}, Lcom/discord/widgets/channels/list/items/ChannelListBottomNavSpaceItem;-><init>(J)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-29 21:44:44 +00:00
|
|
|
invoke-static {v1, v2}, Lb0/i/f;->plus(Ljava/util/Collection;Ljava/lang/Object;)Ljava/util/List;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v1
|
2020-08-01 01:14:42 +00:00
|
|
|
|
2020-08-04 06:02:43 +00:00
|
|
|
invoke-virtual/range {p11 .. p11}, Lcom/discord/stores/StoreNux$NuxState;->getPremiumGuildHintGuildId()Ljava/lang/Long;
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v2, :cond_1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-04 06:02:43 +00:00
|
|
|
invoke-virtual/range {p11 .. p11}, Lcom/discord/stores/StoreNux$NuxState;->getPremiumGuildHintGuildId()Ljava/lang/Long;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-04 06:02:43 +00:00
|
|
|
invoke-virtual/range {p1 .. p1}, Lcom/discord/utilities/channel/GuildChannelsInfo;->getGuild()Lcom/discord/models/domain/ModelGuild;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
if-eqz v3, :cond_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {v3}, Lcom/discord/models/domain/ModelGuild;->getId()J
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-wide v3
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-static {v3, v4}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result-object v3
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
goto :goto_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-04 06:02:43 +00:00
|
|
|
:cond_0
|
2020-09-16 23:45:23 +00:00
|
|
|
const/4 v3, 0x0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:goto_0
|
2020-09-29 21:44:44 +00:00
|
|
|
invoke-static {v2, v3}, Lb0/n/c/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-result v2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
if-eqz v2, :cond_1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const/4 v2, 0x1
|
|
|
|
|
|
|
|
goto :goto_1
|
2020-08-04 06:02:43 +00:00
|
|
|
|
|
|
|
:cond_1
|
2020-09-16 23:45:23 +00:00
|
|
|
const/4 v2, 0x0
|
2020-08-04 06:02:43 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
:goto_1
|
2020-08-04 06:02:43 +00:00
|
|
|
new-instance v3, Lcom/discord/widgets/channels/list/WidgetChannelListModel;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual/range {p1 .. p1}, Lcom/discord/utilities/channel/GuildChannelsInfo;->getGuild()Lcom/discord/models/domain/ModelGuild;
|
|
|
|
|
2020-08-04 06:02:43 +00:00
|
|
|
move-result-object v4
|
2020-08-01 01:14:42 +00:00
|
|
|
|
2020-08-04 06:02:43 +00:00
|
|
|
const/4 v5, 0x1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-04 06:02:43 +00:00
|
|
|
const/4 v6, 0x0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-04 06:02:43 +00:00
|
|
|
move-object/from16 p1, v3
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-04 06:02:43 +00:00
|
|
|
move-object/from16 p2, v4
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move-object/from16 p3, v1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-04 06:02:43 +00:00
|
|
|
move/from16 p4, v5
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
move/from16 p5, v2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-04 06:02:43 +00:00
|
|
|
move/from16 p6, v6
|
|
|
|
|
|
|
|
invoke-direct/range {p1 .. p6}, Lcom/discord/widgets/channels/list/WidgetChannelListModel;-><init>(Lcom/discord/models/domain/ModelGuild;Ljava/util/List;ZZZ)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-04 06:02:43 +00:00
|
|
|
return-object v3
|
2020-05-17 12:40:10 +00:00
|
|
|
.end method
|
|
|
|
|
2020-08-04 06:02:43 +00:00
|
|
|
.method public bridge synthetic invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.locals 13
|
|
|
|
|
|
|
|
move-object v1, p1
|
|
|
|
|
|
|
|
check-cast v1, Lcom/discord/utilities/channel/GuildChannelsInfo;
|
|
|
|
|
|
|
|
move-object v2, p2
|
|
|
|
|
|
|
|
check-cast v2, Ljava/util/Map;
|
|
|
|
|
|
|
|
move-object/from16 v0, p3
|
|
|
|
|
|
|
|
check-cast v0, Ljava/lang/Number;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Number;->longValue()J
|
|
|
|
|
|
|
|
move-result-wide v3
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-04 06:02:43 +00:00
|
|
|
move-object/from16 v0, p4
|
2020-08-01 01:14:42 +00:00
|
|
|
|
2020-08-04 06:02:43 +00:00
|
|
|
check-cast v0, Ljava/lang/Number;
|
2020-08-01 01:14:42 +00:00
|
|
|
|
2020-08-04 06:02:43 +00:00
|
|
|
invoke-virtual {v0}, Ljava/lang/Number;->longValue()J
|
2020-08-01 01:14:42 +00:00
|
|
|
|
2020-08-04 06:02:43 +00:00
|
|
|
move-result-wide v5
|
2020-08-01 01:14:42 +00:00
|
|
|
|
2020-08-04 06:02:43 +00:00
|
|
|
move-object/from16 v7, p5
|
2020-08-01 01:14:42 +00:00
|
|
|
|
2020-08-04 06:02:43 +00:00
|
|
|
check-cast v7, Ljava/util/Map;
|
2020-08-01 01:14:42 +00:00
|
|
|
|
2020-08-04 06:02:43 +00:00
|
|
|
move-object/from16 v8, p6
|
2020-08-01 01:14:42 +00:00
|
|
|
|
2020-08-04 06:02:43 +00:00
|
|
|
check-cast v8, Ljava/util/Map;
|
2020-08-01 01:14:42 +00:00
|
|
|
|
2020-08-04 06:02:43 +00:00
|
|
|
move-object/from16 v9, p7
|
|
|
|
|
|
|
|
check-cast v9, Ljava/util/Set;
|
|
|
|
|
|
|
|
move-object/from16 v10, p8
|
|
|
|
|
|
|
|
check-cast v10, Ljava/util/Set;
|
|
|
|
|
|
|
|
move-object/from16 v11, p9
|
|
|
|
|
|
|
|
check-cast v11, Lcom/discord/stores/StoreNux$NuxState;
|
|
|
|
|
|
|
|
move-object/from16 v12, p10
|
|
|
|
|
|
|
|
check-cast v12, Lcom/discord/models/domain/ModelUser;
|
|
|
|
|
|
|
|
move-object v0, p0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-04 06:02:43 +00:00
|
|
|
invoke-virtual/range {v0 .. v12}, Lcom/discord/widgets/channels/list/WidgetChannelListModel$Companion$getSelectedGuildChannelList$1;->invoke(Lcom/discord/utilities/channel/GuildChannelsInfo;Ljava/util/Map;JJLjava/util/Map;Ljava/util/Map;Ljava/util/Set;Ljava/util/Set;Lcom/discord/stores/StoreNux$NuxState;Lcom/discord/models/domain/ModelUser;)Lcom/discord/widgets/channels/list/WidgetChannelListModel;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-04 06:02:43 +00:00
|
|
|
move-result-object v0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-08-04 06:02:43 +00:00
|
|
|
return-object v0
|
2020-05-17 12:40:10 +00:00
|
|
|
.end method
|