package com.discord.stores; import com.discord.models.domain.emoji.ModelEmojiGuild; import d0.t.n; import d0.z.d.o; import java.util.ArrayList; import java.util.List; import java.util.Map; import kotlin.Unit; import kotlin.jvm.functions.Function0; /* compiled from: StoreEmojiGuild.kt */ public final class StoreEmojiGuild$deleteEmoji$1 extends o implements Function0 { public final /* synthetic */ long $emojiId; public final /* synthetic */ long $guildId; public final /* synthetic */ StoreEmojiGuild this$0; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public StoreEmojiGuild$deleteEmoji$1(StoreEmojiGuild storeEmojiGuild, long j, long j2) { super(0); this.this$0 = storeEmojiGuild; this.$guildId = j; this.$emojiId = j2; } @Override // kotlin.jvm.functions.Function0 /* renamed from: invoke */ public final void mo1invoke() { Map access$getGuildEmoji$p = StoreEmojiGuild.access$getGuildEmoji$p(this.this$0); Long valueOf = Long.valueOf(this.$guildId); List list = (List) StoreEmojiGuild.access$getGuildEmoji$p(this.this$0).get(Long.valueOf(this.$guildId)); if (list == null) { list = n.emptyList(); } ArrayList arrayList = new ArrayList(); for (Object obj : list) { if (this.$emojiId != ((ModelEmojiGuild) obj).getId()) { arrayList.add(obj); } } access$getGuildEmoji$p.put(valueOf, arrayList); this.this$0.markChanged(); } }