package com.applovin.impl; /* loaded from: classes.dex */ public class x0 { private final String a; private final String b; private final String c; private final String d; private final String e; private final int f; private final boolean g; public String a() { return this.d; } public String b() { return this.a; } public String c() { return this.b; } public String d() { return this.e; } public String e() { return this.c; } public int f() { return this.f; } public boolean h() { return this.g; } public String toString() { return "AppAdsTxtEntry(domainName=" + b() + ", publisherId=" + c() + ", relationship=" + e() + ", certificateAuthorityId=" + a() + ", rawValue=" + d() + ", rowNumber=" + f() + ", valid=" + h() + ")"; } public boolean a(Object obj) { return obj instanceof x0; } public boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof x0)) { return false; } x0 x0Var = (x0) obj; if (!x0Var.a(this)) { return false; } String b = b(); String b2 = x0Var.b(); if (b != null ? !b.equals(b2) : b2 != null) { return false; } String c = c(); String c2 = x0Var.c(); if (c != null ? !c.equals(c2) : c2 != null) { return false; } String e = e(); String e2 = x0Var.e(); if (e != null ? !e.equals(e2) : e2 != null) { return false; } String a = a(); String a2 = x0Var.a(); return a != null ? a.equals(a2) : a2 == null; } public int hashCode() { String b = b(); int hashCode = b == null ? 43 : b.hashCode(); String c = c(); int hashCode2 = ((hashCode + 59) * 59) + (c == null ? 43 : c.hashCode()); String e = e(); int hashCode3 = (hashCode2 * 59) + (e == null ? 43 : e.hashCode()); String a = a(); return (hashCode3 * 59) + (a != null ? a.hashCode() : 43); } public x0(String str) { this(str, -1); } public boolean g() { return this.a.equals("applovin.com"); } public x0(String str, int i) { this.e = str; this.f = i; String[] split = str.split(","); boolean z = split.length == 3 || split.length == 4; this.g = z; if (z) { this.a = a(split[0]); this.b = a(split[1]); this.c = a(split[2]); this.d = split.length == 4 ? a(split[3]) : ""; return; } this.a = ""; this.b = ""; this.c = ""; this.d = ""; } private String a(String str) { return str.replace((char) 173, ' ').trim(); } }