package o; import android.os.Parcel; import android.os.Parcelable; import o.QO; /* loaded from: classes3.dex */ public class QM extends QO implements Parcelable { public static final Parcelable.Creator CREATOR = new Parcelable.Creator() { // from class: o.QM.4 @Override // android.os.Parcelable.Creator public final /* synthetic */ QM createFromParcel(Parcel parcel) { return new QM(parcel); } @Override // android.os.Parcelable.Creator public final /* bridge */ /* synthetic */ QM[] newArray(int i) { return new QM[i]; } }; public String a; public String c; @Override // o.QO, o.EM, android.os.Parcelable public int describeContents() { return 0; } private QM(IeS ieS) { super(ieS); this.c = ieS.c; this.a = ieS.d; } protected QM(Parcel parcel) { super(parcel); this.c = parcel.readString(); this.a = parcel.readString(); } @Override // o.QO, o.EM public final void UU_(Parcel parcel, int i) { super.UU_(parcel, i); parcel.writeString(this.c); parcel.writeString(this.a); } public static IeS b() { return new IeS((byte) 0); } /* loaded from: classes3.dex */ public static final class IeS extends QO.IeS { public String c; public String d; private IeS() { super(YD.PHOTO_DETAIL); } @Override // o.QO.IeS public final /* synthetic */ QO d() { return new QM(this, (byte) 0); } /* synthetic */ IeS(byte b) { this(); } } @Override // o.QO, o.EM public String toString() { StringBuilder sb = new StringBuilder("ItemPhotoCustomDisplay{componentRightExtraDetails='"); sb.append(this.c); sb.append("', itemPhoto='"); sb.append(this.a); sb.append("'}"); return sb.toString(); } @Override // o.QO, o.EM public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null || getClass() != obj.getClass() || !super.equals(obj)) { return false; } QM qm = (QM) obj; String str = this.c; if (str == null ? qm.c != null : !str.equals(qm.c)) { return false; } String str2 = this.a; String str3 = qm.a; return str2 != null ? str2.equals(str3) : str3 == null; } @Override // o.QO, o.EM public int hashCode() { int hashCode = super.hashCode(); String str = this.c; int hashCode2 = str != null ? str.hashCode() : 0; String str2 = this.a; return (((hashCode * 31) + hashCode2) * 31) + (str2 != null ? str2.hashCode() : 0); } public /* synthetic */ QM(IeS ieS, byte b) { this(ieS); } }