package o; import kotlin.NoWhenBranchMatchedException; /* renamed from: o.bgd, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C4780bgd extends wRi { final tQD a; final InterfaceC0773Ogw c; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C4780bgd(yRw yrw, yRw yrw2, InterfaceC0773Ogw interfaceC0773Ogw, tQD tqd) { super(yrw, yrw2); C14957gcv.e(yrw, ""); C14957gcv.e(yrw2, ""); C14957gcv.e(interfaceC0773Ogw, ""); C14957gcv.e(tqd, ""); this.c = interfaceC0773Ogw; this.a = tqd; } /* renamed from: o.bgd$HBt */ /* loaded from: classes3.dex */ static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR> { private C4780bgd a; @Override // o.InterfaceC14894gbR public final /* synthetic */ InterfaceC13169fSq invoke(String str) { C13377fYp c13377fYp; AbstractC13163fSk b; String str2 = str; int i = C0100HBt.a[this.a.a.f().ordinal()]; if (i == 1) { tQD tqd = this.a.a; C14957gcv.c((Object) str2, ""); fSD n = tqd.n(str2); if (n instanceof InterfaceC13204fTr) { b = ((InterfaceC13204fTr) n).b(); } else { c13377fYp = new C13377fYp(n); b = c13377fYp; } } else if (i == 2) { fSD t = this.a.c.t(str2); if (t instanceof InterfaceC13204fTr) { b = ((InterfaceC13204fTr) t).b(); } else { c13377fYp = new C13377fYp(t); b = c13377fYp; } } else { throw new NoWhenBranchMatchedException(); } return b; } /* renamed from: o.bgd$HBt$HBt, reason: collision with other inner class name */ /* loaded from: classes3.dex */ public final /* synthetic */ class C0100HBt { public static final int[] a; static { int[] iArr = new int[bTI.values().length]; try { iArr[bTI.BUSINESS_OWNER.ordinal()] = 1; } catch (NoSuchFieldError unused) { } try { iArr[bTI.CONSUMER.ordinal()] = 2; } catch (NoSuchFieldError unused2) { } a = iArr; } } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ HBt(C4780bgd c4780bgd) { super(1); this.a = c4780bgd; } } public final AbstractC13163fSk e() { AbstractC13175fSw n = this.c.n(); final HBt hBt = new HBt(this); fUY fuy = new fUY(n, new fSS(hBt) { // from class: o.mLB private InterfaceC14894gbR c; @Override // o.fSS public final Object a(Object obj) { InterfaceC14894gbR interfaceC14894gbR = this.c; C14957gcv.e(interfaceC14894gbR, ""); return (InterfaceC13169fSq) interfaceC14894gbR.invoke(obj); } { this.c = hBt; } }); e(fuy); C14957gcv.c(fuy, ""); return fuy; } }