package o; import kotlin.NoWhenBranchMatchedException; import o.AbstractC15351go; /* loaded from: classes3.dex */ public final class gBS extends C15032gf { private final tQD c; private final InterfaceC0773Ogw e; /* renamed from: o.gBS$4, reason: invalid class name */ /* loaded from: classes3.dex */ static final class AnonymousClass4 extends AbstractC14961gcz implements InterfaceC14894gbR> { private InterfaceC0773Ogw a; private tQD d; @Override // o.InterfaceC14894gbR public final /* synthetic */ AbstractC13175fSw invoke(LWm lWm) { LWm lWm2 = lWm; C14957gcv.e(lWm2, ""); int i = IeS.c[this.d.f().ordinal()]; if (i != 1) { if (i == 2) { return this.d.b(lWm2.e, lWm2.c); } throw new NoWhenBranchMatchedException(); } AbstractC13175fSw b = this.a.b(lWm2.e, lWm2.c); C14957gcv.c(b, ""); return b; } /* renamed from: o.gBS$4$IeS */ /* loaded from: classes3.dex */ public final /* synthetic */ class IeS { public static final int[] c; static { int[] iArr = new int[bTI.values().length]; try { iArr[bTI.CONSUMER.ordinal()] = 1; } catch (NoSuchFieldError unused) { } try { iArr[bTI.BUSINESS_OWNER.ordinal()] = 2; } catch (NoSuchFieldError unused2) { } c = iArr; } } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ AnonymousClass4(tQD tqd, InterfaceC0773Ogw interfaceC0773Ogw) { super(1); this.d = tqd; this.a = interfaceC0773Ogw; } } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public gBS(yRw yrw, yRw yrw2, InterfaceC0773Ogw interfaceC0773Ogw, tQD tqd) { super(yrw, yrw2, new AnonymousClass4(tqd, interfaceC0773Ogw)); C14957gcv.e(yrw, ""); C14957gcv.e(yrw2, ""); C14957gcv.e(interfaceC0773Ogw, ""); C14957gcv.e(tqd, ""); this.e = interfaceC0773Ogw; this.c = tqd; } /* loaded from: classes3.dex */ public static final class LWm implements AbstractC15351go.HBt { final String c; final String e; public LWm(String str, String str2) { this.e = str; this.c = str2; } public final String toString() { String str = this.e; String str2 = this.c; StringBuilder sb = new StringBuilder("Params(query="); sb.append(str); sb.append(", page="); sb.append(str2); sb.append(")"); return sb.toString(); } public final int hashCode() { String str = this.e; int hashCode = str == null ? 0 : str.hashCode(); String str2 = this.c; return (hashCode * 31) + (str2 != null ? str2.hashCode() : 0); } public final boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof LWm)) { return false; } LWm lWm = (LWm) obj; return C14957gcv.b((Object) this.e, (Object) lWm.e) && C14957gcv.b((Object) this.c, (Object) lWm.c); } } }