191 lines
4.4 KiB
Java
191 lines
4.4 KiB
Java
|
package com.facetec.sdk;
|
||
|
|
||
|
import java.util.concurrent.TimeUnit;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class jl {
|
||
|
private final boolean a;
|
||
|
private final boolean b;
|
||
|
private final boolean c;
|
||
|
private final int d;
|
||
|
private final int e;
|
||
|
private final boolean f;
|
||
|
private final int g;
|
||
|
private final boolean h;
|
||
|
private final boolean i;
|
||
|
private final int j;
|
||
|
private String k;
|
||
|
private final boolean m;
|
||
|
|
||
|
/* renamed from: o, reason: collision with root package name */
|
||
|
private final boolean f6444o;
|
||
|
|
||
|
static {
|
||
|
b bVar = new b();
|
||
|
bVar.c = true;
|
||
|
bVar.b();
|
||
|
b bVar2 = new b();
|
||
|
bVar2.j = true;
|
||
|
long seconds = TimeUnit.SECONDS.toSeconds(2147483647L);
|
||
|
bVar2.b = seconds > 2147483647L ? Integer.MAX_VALUE : (int) seconds;
|
||
|
bVar2.b();
|
||
|
}
|
||
|
|
||
|
private jl(boolean z, boolean z2, int i, int i2, boolean z3, boolean z4, boolean z5, int i3, int i4, boolean z6, boolean z7, boolean z8, String str) {
|
||
|
this.c = z;
|
||
|
this.b = z2;
|
||
|
this.d = i;
|
||
|
this.e = i2;
|
||
|
this.a = z3;
|
||
|
this.f = z4;
|
||
|
this.i = z5;
|
||
|
this.j = i3;
|
||
|
this.g = i4;
|
||
|
this.h = z6;
|
||
|
this.f6444o = z7;
|
||
|
this.m = z8;
|
||
|
this.k = str;
|
||
|
}
|
||
|
|
||
|
jl(b bVar) {
|
||
|
this.c = bVar.c;
|
||
|
this.b = bVar.a;
|
||
|
this.d = bVar.d;
|
||
|
this.e = -1;
|
||
|
this.a = false;
|
||
|
this.f = false;
|
||
|
this.i = false;
|
||
|
this.j = bVar.b;
|
||
|
this.g = bVar.e;
|
||
|
this.h = bVar.j;
|
||
|
this.f6444o = bVar.f;
|
||
|
this.m = bVar.g;
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Removed duplicated region for block: B:10:0x0041 */
|
||
|
/*
|
||
|
Code decompiled incorrectly, please refer to instructions dump.
|
||
|
To view partially-correct add '--show-bad-code' argument
|
||
|
*/
|
||
|
public static com.facetec.sdk.jl e(com.facetec.sdk.jv r24) {
|
||
|
/*
|
||
|
Method dump skipped, instructions count: 334
|
||
|
To view this dump add '--comments-level debug' option
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: com.facetec.sdk.jl.e(com.facetec.sdk.jv):com.facetec.sdk.jl");
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public static final class b {
|
||
|
boolean a;
|
||
|
boolean c;
|
||
|
boolean f;
|
||
|
boolean g;
|
||
|
boolean j;
|
||
|
int d = -1;
|
||
|
int b = -1;
|
||
|
int e = -1;
|
||
|
|
||
|
public final jl b() {
|
||
|
return new jl(this);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public final String toString() {
|
||
|
String obj;
|
||
|
String str = this.k;
|
||
|
if (str != null) {
|
||
|
return str;
|
||
|
}
|
||
|
StringBuilder sb = new StringBuilder();
|
||
|
if (this.c) {
|
||
|
sb.append("no-cache, ");
|
||
|
}
|
||
|
if (this.b) {
|
||
|
sb.append("no-store, ");
|
||
|
}
|
||
|
if (this.d != -1) {
|
||
|
sb.append("max-age=");
|
||
|
sb.append(this.d);
|
||
|
sb.append(", ");
|
||
|
}
|
||
|
if (this.e != -1) {
|
||
|
sb.append("s-maxage=");
|
||
|
sb.append(this.e);
|
||
|
sb.append(", ");
|
||
|
}
|
||
|
if (this.a) {
|
||
|
sb.append("private, ");
|
||
|
}
|
||
|
if (this.f) {
|
||
|
sb.append("public, ");
|
||
|
}
|
||
|
if (this.i) {
|
||
|
sb.append("must-revalidate, ");
|
||
|
}
|
||
|
if (this.j != -1) {
|
||
|
sb.append("max-stale=");
|
||
|
sb.append(this.j);
|
||
|
sb.append(", ");
|
||
|
}
|
||
|
if (this.g != -1) {
|
||
|
sb.append("min-fresh=");
|
||
|
sb.append(this.g);
|
||
|
sb.append(", ");
|
||
|
}
|
||
|
if (this.h) {
|
||
|
sb.append("only-if-cached, ");
|
||
|
}
|
||
|
if (this.f6444o) {
|
||
|
sb.append("no-transform, ");
|
||
|
}
|
||
|
if (this.m) {
|
||
|
sb.append("immutable, ");
|
||
|
}
|
||
|
if (sb.length() == 0) {
|
||
|
obj = "";
|
||
|
} else {
|
||
|
sb.delete(sb.length() - 2, sb.length());
|
||
|
obj = sb.toString();
|
||
|
}
|
||
|
this.k = obj;
|
||
|
return obj;
|
||
|
}
|
||
|
|
||
|
public final boolean j() {
|
||
|
return this.i;
|
||
|
}
|
||
|
|
||
|
public final boolean h() {
|
||
|
return this.h;
|
||
|
}
|
||
|
|
||
|
public final int g() {
|
||
|
return this.g;
|
||
|
}
|
||
|
|
||
|
public final int f() {
|
||
|
return this.j;
|
||
|
}
|
||
|
|
||
|
public final boolean e() {
|
||
|
return this.a;
|
||
|
}
|
||
|
|
||
|
public final boolean d() {
|
||
|
return this.f;
|
||
|
}
|
||
|
|
||
|
public final int c() {
|
||
|
return this.d;
|
||
|
}
|
||
|
|
||
|
public final boolean b() {
|
||
|
return this.b;
|
||
|
}
|
||
|
|
||
|
public final boolean a() {
|
||
|
return this.c;
|
||
|
}
|
||
|
}
|