package n9; import com.google.android.gms.ads.RequestConfiguration; import com.google.android.gms.common.api.Api; import java.util.concurrent.TimeUnit; /* loaded from: classes2.dex */ public final class f { /* renamed from: n, reason: collision with root package name */ public static final f f12333n = new a().c().a(); /* renamed from: o, reason: collision with root package name */ public static final f f12334o = new a().d().b(Api.BaseClientBuilder.API_PRIORITY_OTHER, TimeUnit.SECONDS).a(); /* renamed from: a, reason: collision with root package name */ private final boolean f12335a; /* renamed from: b, reason: collision with root package name */ private final boolean f12336b; /* renamed from: c, reason: collision with root package name */ private final int f12337c; /* renamed from: d, reason: collision with root package name */ private final int f12338d; /* renamed from: e, reason: collision with root package name */ private final boolean f12339e; /* renamed from: f, reason: collision with root package name */ private final boolean f12340f; /* renamed from: g, reason: collision with root package name */ private final boolean f12341g; /* renamed from: h, reason: collision with root package name */ private final int f12342h; /* renamed from: i, reason: collision with root package name */ private final int f12343i; /* renamed from: j, reason: collision with root package name */ private final boolean f12344j; /* renamed from: k, reason: collision with root package name */ private final boolean f12345k; /* renamed from: l, reason: collision with root package name */ private final boolean f12346l; /* renamed from: m, reason: collision with root package name */ String f12347m; public static final class a { /* renamed from: a, reason: collision with root package name */ boolean f12348a; /* renamed from: b, reason: collision with root package name */ boolean f12349b; /* renamed from: c, reason: collision with root package name */ int f12350c = -1; /* renamed from: d, reason: collision with root package name */ int f12351d = -1; /* renamed from: e, reason: collision with root package name */ int f12352e = -1; /* renamed from: f, reason: collision with root package name */ boolean f12353f; /* renamed from: g, reason: collision with root package name */ boolean f12354g; /* renamed from: h, reason: collision with root package name */ boolean f12355h; public f a() { return new f(this); } public a b(int i10, TimeUnit timeUnit) { if (i10 >= 0) { long seconds = timeUnit.toSeconds(i10); this.f12351d = seconds > 2147483647L ? Api.BaseClientBuilder.API_PRIORITY_OTHER : (int) seconds; return this; } throw new IllegalArgumentException("maxStale < 0: " + i10); } public a c() { this.f12348a = true; return this; } public a d() { this.f12353f = true; return this; } } private f(boolean z10, boolean z11, int i10, int i11, boolean z12, boolean z13, boolean z14, int i12, int i13, boolean z15, boolean z16, boolean z17, String str) { this.f12335a = z10; this.f12336b = z11; this.f12337c = i10; this.f12338d = i11; this.f12339e = z12; this.f12340f = z13; this.f12341g = z14; this.f12342h = i12; this.f12343i = i13; this.f12344j = z15; this.f12345k = z16; this.f12346l = z17; this.f12347m = str; } private String a() { StringBuilder sb = new StringBuilder(); if (this.f12335a) { sb.append("no-cache, "); } if (this.f12336b) { sb.append("no-store, "); } if (this.f12337c != -1) { sb.append("max-age="); sb.append(this.f12337c); sb.append(", "); } if (this.f12338d != -1) { sb.append("s-maxage="); sb.append(this.f12338d); sb.append(", "); } if (this.f12339e) { sb.append("private, "); } if (this.f12340f) { sb.append("public, "); } if (this.f12341g) { sb.append("must-revalidate, "); } if (this.f12342h != -1) { sb.append("max-stale="); sb.append(this.f12342h); sb.append(", "); } if (this.f12343i != -1) { sb.append("min-fresh="); sb.append(this.f12343i); sb.append(", "); } if (this.f12344j) { sb.append("only-if-cached, "); } if (this.f12345k) { sb.append("no-transform, "); } if (this.f12346l) { sb.append("immutable, "); } if (sb.length() == 0) { return RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED; } sb.delete(sb.length() - 2, sb.length()); return sb.toString(); } /* JADX WARN: Removed duplicated region for block: B:10:0x0041 */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct code enable 'Show inconsistent code' option in preferences */ public static n9.f k(n9.x r22) { /* Method dump skipped, instructions count: 333 To view this dump change 'Code comments level' option to 'DEBUG' */ throw new UnsupportedOperationException("Method not decompiled: n9.f.k(n9.x):n9.f"); } public boolean b() { return this.f12339e; } public boolean c() { return this.f12340f; } public int d() { return this.f12337c; } public int e() { return this.f12342h; } public int f() { return this.f12343i; } public boolean g() { return this.f12341g; } public boolean h() { return this.f12335a; } public boolean i() { return this.f12336b; } public boolean j() { return this.f12344j; } public String toString() { String str = this.f12347m; if (str != null) { return str; } String a10 = a(); this.f12347m = a10; return a10; } f(a aVar) { this.f12335a = aVar.f12348a; this.f12336b = aVar.f12349b; this.f12337c = aVar.f12350c; this.f12338d = -1; this.f12339e = false; this.f12340f = false; this.f12341g = false; this.f12342h = aVar.f12351d; this.f12343i = aVar.f12352e; this.f12344j = aVar.f12353f; this.f12345k = aVar.f12354g; this.f12346l = aVar.f12355h; } }