package c.a.w; import com.discord.tooltips.TooltipManager; import d0.t.h0; import d0.z.d.o; import java.util.LinkedHashMap; import java.util.Map; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: TooltipManager.kt */ public final class d extends o implements Function1 { public final /* synthetic */ TooltipManager this$0; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public d(TooltipManager tooltipManager) { super(1); this.this$0 = tooltipManager; } /* 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 Unit invoke(Integer num) { int intValue = num.intValue(); TooltipManager tooltipManager = this.this$0; Map map = tooltipManager.a; LinkedHashMap linkedHashMap = new LinkedHashMap(); for (Map.Entry entry : map.entrySet()) { if (entry.getValue().intValue() != intValue) { linkedHashMap.put(entry.getKey(), entry.getValue()); } } tooltipManager.a = h0.toMutableMap(linkedHashMap); return Unit.a; } }