98 lines
3.0 KiB
Java
98 lines
3.0 KiB
Java
|
package o;
|
||
|
|
||
|
import android.text.TextUtils;
|
||
|
import java.util.Objects;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public final class TVL implements psw {
|
||
|
private final C11925eoY b;
|
||
|
private final WlG c;
|
||
|
private final String d;
|
||
|
final C17146uLW e;
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
public TVL(C11925eoY c11925eoY, WlG wlG, C17146uLW c17146uLW, String str) {
|
||
|
this.b = c11925eoY;
|
||
|
this.c = wlG;
|
||
|
this.e = c17146uLW;
|
||
|
this.d = str;
|
||
|
}
|
||
|
|
||
|
@Override // o.psw
|
||
|
public final AbstractC13163fSk<C16510ouf> c() {
|
||
|
String substring;
|
||
|
C17339vsn c17339vsn = this.c.a;
|
||
|
if (c17339vsn == null) {
|
||
|
if (!TextUtils.isEmpty(this.d)) {
|
||
|
try {
|
||
|
String str = this.d;
|
||
|
substring = str.substring(0, str.indexOf("?"));
|
||
|
} catch (StringIndexOutOfBoundsException e) {
|
||
|
guQ.e(e);
|
||
|
}
|
||
|
AbstractC13163fSk<C17339vsn> donationList = this.b.e.getDonationList(substring, "/donation/index.json");
|
||
|
final WlG wlG = this.c;
|
||
|
Objects.requireNonNull(wlG);
|
||
|
return donationList.doOnNext(new fSQ(wlG) { // from class: o.wCk
|
||
|
private WlG b;
|
||
|
|
||
|
@Override // o.fSQ
|
||
|
public final void c(Object obj) {
|
||
|
this.b.a = (C17339vsn) obj;
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.b = wlG;
|
||
|
}
|
||
|
}).flatMap(new fSS(this) { // from class: o.gTB
|
||
|
private TVL a;
|
||
|
|
||
|
@Override // o.fSS
|
||
|
public final Object a(Object obj) {
|
||
|
return AbstractC13163fSk.just(this.a.e.e((C17339vsn) obj));
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.a = this;
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
substring = "";
|
||
|
AbstractC13163fSk<C17339vsn> donationList2 = this.b.e.getDonationList(substring, "/donation/index.json");
|
||
|
final WlG wlG2 = this.c;
|
||
|
Objects.requireNonNull(wlG2);
|
||
|
return donationList2.doOnNext(new fSQ(wlG2) { // from class: o.wCk
|
||
|
private WlG b;
|
||
|
|
||
|
@Override // o.fSQ
|
||
|
public final void c(Object obj) {
|
||
|
this.b.a = (C17339vsn) obj;
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.b = wlG2;
|
||
|
}
|
||
|
}).flatMap(new fSS(this) { // from class: o.gTB
|
||
|
private TVL a;
|
||
|
|
||
|
@Override // o.fSS
|
||
|
public final Object a(Object obj) {
|
||
|
return AbstractC13163fSk.just(this.a.e.e((C17339vsn) obj));
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.a = this;
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
return AbstractC13163fSk.just(this.e.e(c17339vsn));
|
||
|
}
|
||
|
|
||
|
@Override // o.QpH
|
||
|
public final void f() {
|
||
|
WlG wlG = this.c;
|
||
|
wlG.a = null;
|
||
|
wlG.d = null;
|
||
|
}
|
||
|
}
|