package com.discord.stores; import com.discord.api.message.reaction.MessageReactionEmoji; import com.discord.api.user.User; import com.discord.models.user.CoreUser; import d0.z.d.m; import d0.z.d.o; import java.util.ArrayList; import java.util.List; import kotlin.Unit; import kotlin.jvm.functions.Function0; import kotlin.jvm.functions.Function1; /* compiled from: StoreMessageReactions.kt */ public final class StoreMessageReactions$fetchReactions$1 extends o implements Function1, Unit> { public final /* synthetic */ long $channelId; public final /* synthetic */ MessageReactionEmoji $emoji; public final /* synthetic */ long $messageId; public final /* synthetic */ StoreMessageReactions this$0; /* compiled from: StoreMessageReactions.kt */ /* renamed from: com.discord.stores.StoreMessageReactions$fetchReactions$1$1 reason: invalid class name */ public static final class AnonymousClass1 extends o implements Function0 { public final /* synthetic */ List $reactionUsers; public final /* synthetic */ StoreMessageReactions$fetchReactions$1 this$0; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public AnonymousClass1(StoreMessageReactions$fetchReactions$1 storeMessageReactions$fetchReactions$1, List list) { super(0); this.this$0 = storeMessageReactions$fetchReactions$1; this.$reactionUsers = list; } @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ public final void mo1invoke() { StoreMessageReactions$fetchReactions$1 storeMessageReactions$fetchReactions$1 = this.this$0; StoreMessageReactions storeMessageReactions = storeMessageReactions$fetchReactions$1.this$0; long j = storeMessageReactions$fetchReactions$1.$channelId; long j2 = storeMessageReactions$fetchReactions$1.$messageId; MessageReactionEmoji messageReactionEmoji = storeMessageReactions$fetchReactions$1.$emoji; List list = this.$reactionUsers; ArrayList arrayList = new ArrayList(d0.t.o.collectionSizeOrDefault(list, 10)); for (User user : list) { arrayList.add(new CoreUser(user)); } StoreMessageReactions.access$handleReactionUsers(storeMessageReactions, j, j2, messageReactionEmoji, arrayList); } } /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public StoreMessageReactions$fetchReactions$1(StoreMessageReactions storeMessageReactions, long j, long j2, MessageReactionEmoji messageReactionEmoji) { super(1); this.this$0 = storeMessageReactions; this.$channelId = j; this.$messageId = j2; this.$emoji = messageReactionEmoji; } /* 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] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(List list) { invoke((List) list); return Unit.a; } public final void invoke(List list) { m.checkNotNullParameter(list, "reactionUsers"); StoreMessageReactions.access$getDispatcher$p(this.this$0).schedule(new AnonymousClass1(this, list)); } }