71 lines
1.5 KiB
Java
71 lines
1.5 KiB
Java
|
package com.facetec.sdk;
|
||
|
|
||
|
import java.io.IOException;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class fr<T> extends ek<T> {
|
||
|
private final fv<T> b;
|
||
|
private final ee<T> c;
|
||
|
private dx d;
|
||
|
private final eg<T> e;
|
||
|
private ek<T> j;
|
||
|
private final fr<T>.d h = new d(this, 0);
|
||
|
private final en a = null;
|
||
|
|
||
|
public fr(eg<T> egVar, ee<T> eeVar, dx dxVar, fv<T> fvVar) {
|
||
|
this.e = egVar;
|
||
|
this.c = eeVar;
|
||
|
this.d = dxVar;
|
||
|
this.b = fvVar;
|
||
|
}
|
||
|
|
||
|
@Override // com.facetec.sdk.ek
|
||
|
public final T a(fu fuVar) throws IOException {
|
||
|
if (this.c == null) {
|
||
|
return c().a(fuVar);
|
||
|
}
|
||
|
if (fd.e(fuVar).h()) {
|
||
|
return null;
|
||
|
}
|
||
|
ee<T> eeVar = this.c;
|
||
|
this.b.b();
|
||
|
return eeVar.a();
|
||
|
}
|
||
|
|
||
|
@Override // com.facetec.sdk.ek
|
||
|
public final void b(ga gaVar, T t) throws IOException {
|
||
|
eg<T> egVar = this.e;
|
||
|
if (egVar == null) {
|
||
|
c().b(gaVar, t);
|
||
|
} else if (t == null) {
|
||
|
gaVar.h();
|
||
|
} else {
|
||
|
this.b.b();
|
||
|
fd.c(egVar.b(), gaVar);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
private ek<T> c() {
|
||
|
ek<T> ekVar = this.j;
|
||
|
if (ekVar != null) {
|
||
|
return ekVar;
|
||
|
}
|
||
|
ek<T> c = this.d.c(this.a, this.b);
|
||
|
this.j = c;
|
||
|
return c;
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
final class d {
|
||
|
private fr e;
|
||
|
|
||
|
private d(fr frVar) {
|
||
|
this.e = frVar;
|
||
|
}
|
||
|
|
||
|
/* synthetic */ d(fr frVar, byte b) {
|
||
|
this(frVar);
|
||
|
}
|
||
|
}
|
||
|
}
|