package d3;

import java.io.EOFException;
import java.util.List;
import okhttp3.Request;
import w4.C3137A;
import x4.AbstractC3252r;

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

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

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

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

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

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

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

    public /* synthetic */ L1(int i6, List list, List list2, n0.x xVar, n0.x xVar2) {
        this.f15201b = i6;
        this.f15202c = list;
        this.f15203d = list2;
        this.f15204e = xVar;
        this.f15205f = xVar2;
    }

    @Override // J4.c
    public final Object invoke(Object obj) throws EOFException {
        switch (this.f15200a) {
            case 0:
                n0.q focusProperties = (n0.q) obj;
                kotlin.jvm.internal.o.h(focusProperties, "$this$focusProperties");
                int i6 = this.f15201b;
                List list = (List) this.f15202c;
                focusProperties.i((n0.x) (i6 == 0 ? list.get(i6) : list.get(i6 - 1)));
                if (i6 != AbstractC3252r.A((List) this.f15203d)) {
                    i6++;
                }
                focusProperties.b((n0.x) list.get(i6));
                focusProperties.e((n0.x) this.f15204e);
                focusProperties.g((n0.x) this.f15205f);
                return C3137A.f25453a;
            default:
                String token = (String) obj;
                kotlin.jvm.internal.o.h(token, "token");
                Request.Builder builder = new Request.Builder();
                builder.i(((String) this.f15202c) + ((String) this.f15203d) + "page=" + ((kotlin.jvm.internal.A) this.f15204e).f20113a + "&limit=" + this.f15201b);
                ((i3.J) this.f15205f).getClass();
                builder.f(i3.J.y(token));
                return builder.b();
        }
    }

    public /* synthetic */ L1(String str, String str2, kotlin.jvm.internal.A a6, int i6, i3.J j4) {
        this.f15202c = str;
        this.f15203d = str2;
        this.f15204e = a6;
        this.f15201b = i6;
        this.f15205f = j4;
    }
}
