2021-08-03 07:33:18 +00:00
|
|
|
package com.discord.widgets.guilds.invite;
|
|
|
|
|
2021-10-15 06:18:26 +00:00
|
|
|
import c0.z.d.m;
|
2021-08-03 07:33:18 +00:00
|
|
|
import com.discord.api.channel.Channel;
|
|
|
|
import com.discord.api.stageinstance.StageInstance;
|
|
|
|
import com.discord.models.domain.ModelInvite;
|
|
|
|
import com.discord.models.guild.Guild;
|
|
|
|
import com.discord.models.user.MeUser;
|
|
|
|
import com.discord.widgets.guilds.invite.GuildInviteShareSheetViewModel;
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.Map;
|
|
|
|
import rx.functions.Func7;
|
|
|
|
/* compiled from: GuildInviteShareSheetViewModel.kt */
|
|
|
|
public final class GuildInviteShareSheetViewModel$Companion$observeStoreState$1<T1, T2, T3, T4, T5, T6, T7, R> implements Func7<ModelInvite.Settings, Map<Long, ? extends Channel>, MeUser, List<? extends Channel>, Guild, List<? extends InviteSuggestion>, Map<Long, ? extends StageInstance>, GuildInviteShareSheetViewModel.StoreState> {
|
|
|
|
public static final GuildInviteShareSheetViewModel$Companion$observeStoreState$1 INSTANCE = new GuildInviteShareSheetViewModel$Companion$observeStoreState$1();
|
|
|
|
|
|
|
|
public final GuildInviteShareSheetViewModel.StoreState call(ModelInvite.Settings settings, Map<Long, Channel> map, MeUser meUser, List<Channel> list, Guild guild, List<? extends InviteSuggestion> list2, Map<Long, StageInstance> map2) {
|
|
|
|
if (guild == null) {
|
|
|
|
return GuildInviteShareSheetViewModel.StoreState.Invalid.INSTANCE;
|
|
|
|
}
|
|
|
|
m.checkNotNullExpressionValue(settings, "inviteSettings");
|
|
|
|
m.checkNotNullExpressionValue(map, "invitableChannels");
|
|
|
|
m.checkNotNullExpressionValue(meUser, "me");
|
|
|
|
m.checkNotNullExpressionValue(list, "dms");
|
|
|
|
m.checkNotNullExpressionValue(list2, "inviteSuggestions");
|
|
|
|
m.checkNotNullExpressionValue(map2, "guildStageInstances");
|
|
|
|
return new GuildInviteShareSheetViewModel.StoreState.Valid(settings, map, meUser, list, guild, list2, map2);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Return type fixed from 'java.lang.Object' to match base method */
|
|
|
|
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object] */
|
|
|
|
@Override // rx.functions.Func7
|
|
|
|
public /* bridge */ /* synthetic */ GuildInviteShareSheetViewModel.StoreState call(ModelInvite.Settings settings, Map<Long, ? extends Channel> map, MeUser meUser, List<? extends Channel> list, Guild guild, List<? extends InviteSuggestion> list2, Map<Long, ? extends StageInstance> map2) {
|
|
|
|
return call(settings, (Map<Long, Channel>) map, meUser, (List<Channel>) list, guild, list2, (Map<Long, StageInstance>) map2);
|
|
|
|
}
|
|
|
|
}
|