package h3;

import java.util.List;
import w4.C3137A;

/* JADX INFO: loaded from: classes.dex */
public final class N implements J4.c {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ int f17076a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ Object f17077b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final /* synthetic */ Object f17078c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final /* synthetic */ Object f17079d;

    public /* synthetic */ N(Object obj, Object obj2, Object obj3, int i6) {
        this.f17076a = i6;
        this.f17077b = obj;
        this.f17078c = obj2;
        this.f17079d = obj3;
    }

    @Override // J4.c
    public final Object invoke(Object obj) {
        switch (this.f17076a) {
            case 0:
                n0.q focusProperties = (n0.q) obj;
                kotlin.jvm.internal.o.h(focusProperties, "$this$focusProperties");
                focusProperties.e(!((List) this.f17077b).isEmpty() ? (n0.x) this.f17078c : (n0.x) this.f17079d);
                break;
            default:
                String url = (String) obj;
                kotlin.jvm.internal.o.h(url, "url");
                ((J4.f) this.f17077b).invoke(url, ((C2083b0) this.f17078c).f17739a, ((N2.g) this.f17079d).f5171d);
                break;
        }
        return C3137A.f25453a;
    }
}
