package com.discord.widgets.user.search; import com.discord.models.user.User; import com.discord.widgets.user.search.WidgetGlobalSearchModel; import d0.z.d.o; import kotlin.jvm.functions.Function1; /* compiled from: WidgetGlobalSearchModel.kt */ public final class WidgetGlobalSearchModel$Companion$create$filteredResults$selectedGuildUserResults$2 extends o implements Function1 { public final /* synthetic */ String $sanitizedFilter; public final /* synthetic */ WidgetGlobalSearchModel$Companion$create$2 $toItemUser$2; public final /* synthetic */ WidgetGlobalSearchModel.UsersContext $usersContext; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public WidgetGlobalSearchModel$Companion$create$filteredResults$selectedGuildUserResults$2(WidgetGlobalSearchModel$Companion$create$2 widgetGlobalSearchModel$Companion$create$2, WidgetGlobalSearchModel.UsersContext usersContext, String str) { super(1); this.$toItemUser$2 = widgetGlobalSearchModel$Companion$create$2; this.$usersContext = usersContext; this.$sanitizedFilter = str; } public final WidgetGlobalSearchModel.ItemUser invoke(long j) { User user = this.$usersContext.getUsers().get(Long.valueOf(j)); if (user != null) { return WidgetGlobalSearchModel$Companion$create$2.invoke$default(this.$toItemUser$2, user, this.$sanitizedFilter, null, 2, null); } return null; } /* 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 */ WidgetGlobalSearchModel.ItemUser invoke(Long l) { return invoke(l.longValue()); } }