package com.discord.stores; import com.airbnb.lottie.parser.AnimatableValueParser; import com.discord.api.channel.Channel; import com.discord.api.voice.state.VoiceState; import com.discord.models.user.User; import d0.z.d.o; import java.util.Map; import kotlin.Pair; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: StoreCalls.kt */ public final class StoreCalls$call$5 extends o implements Function1>, Unit> { public final /* synthetic */ StoreCalls$call$1 $doCall$1; public final /* synthetic */ StoreCalls$call$2 $doCallIfCallable$2; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public StoreCalls$call$5(StoreCalls$call$2 storeCalls$call$2, StoreCalls$call$1 storeCalls$call$1) { super(1); this.$doCallIfCallable$2 = storeCalls$call$2; this.$doCall$1 = storeCalls$call$1; } /* 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(Pair> pair) { invoke((Pair>) pair); return Unit.a; } public final void invoke(Pair> pair) { Channel component1 = pair.component1(); Map map = (Map) pair.component2(); User v0 = component1 != null ? AnimatableValueParser.v0(component1) : null; if (v0 != null) { this.$doCallIfCallable$2.invoke(v0.getId()); } else if (component1 != null) { this.$doCall$1.invoke(map.isEmpty()); } } }