package com.applovin.impl; import android.os.Parcel; import android.os.Parcelable; import com.applovin.impl.vd; import com.ironsource.mediationsdk.logger.IronSourceError; import java.util.ArrayList; import java.util.List; /* loaded from: classes.dex */ public final class zn extends ya { public static final Parcelable.Creator CREATOR = new a(); public final String b; public final String c; @Override // com.applovin.impl.ya public String toString() { return this.a + ": description=" + this.b + ": value=" + this.c; } public zn(Parcel parcel) { super((String) xp.a((Object) parcel.readString())); this.b = parcel.readString(); this.c = (String) xp.a((Object) parcel.readString()); } public zn(String str, String str2, String str3) { super(str); this.b = str2; this.c = str3; } public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null || zn.class != obj.getClass()) { return false; } zn znVar = (zn) obj; return xp.a((Object) this.a, (Object) znVar.a) && xp.a((Object) this.b, (Object) znVar.b) && xp.a((Object) this.c, (Object) znVar.c); } public int hashCode() { int hashCode = (this.a.hashCode() + IronSourceError.ERROR_NON_EXISTENT_INSTANCE) * 31; String str = this.b; int hashCode2 = (hashCode + (str != null ? str.hashCode() : 0)) * 31; String str2 = this.c; return hashCode2 + (str2 != null ? str2.hashCode() : 0); } @Override // android.os.Parcelable public void writeToParcel(Parcel parcel, int i) { parcel.writeString(this.a); parcel.writeString(this.b); parcel.writeString(this.c); } public class a implements Parcelable.Creator { @Override // android.os.Parcelable.Creator /* renamed from: a, reason: merged with bridge method [inline-methods] */ public zn[] newArray(int i) { return new zn[i]; } @Override // android.os.Parcelable.Creator /* renamed from: a, reason: merged with bridge method [inline-methods] */ public zn createFromParcel(Parcel parcel) { return new zn(parcel); } } private static List a(String str) { ArrayList arrayList = new ArrayList(); try { if (str.length() >= 10) { arrayList.add(Integer.valueOf(Integer.parseInt(str.substring(0, 4)))); arrayList.add(Integer.valueOf(Integer.parseInt(str.substring(5, 7)))); arrayList.add(Integer.valueOf(Integer.parseInt(str.substring(8, 10)))); } else if (str.length() >= 7) { arrayList.add(Integer.valueOf(Integer.parseInt(str.substring(0, 4)))); arrayList.add(Integer.valueOf(Integer.parseInt(str.substring(5, 7)))); } else if (str.length() >= 4) { arrayList.add(Integer.valueOf(Integer.parseInt(str.substring(0, 4)))); } return arrayList; } catch (NumberFormatException unused) { return new ArrayList(); } } /* JADX WARN: Failed to restore switch over string. Please report as a decompilation issue */ @Override // com.applovin.impl.bf.b public void a(vd.b bVar) { String str = this.a; str.hashCode(); char c = 65535; switch (str.hashCode()) { case 82815: if (str.equals("TAL")) { c = 0; break; } break; case 82878: if (str.equals("TCM")) { c = 1; break; } break; case 82897: if (str.equals("TDA")) { c = 2; break; } break; case 83253: if (str.equals("TP1")) { c = 3; break; } break; case 83254: if (str.equals("TP2")) { c = 4; break; } break; case 83255: if (str.equals("TP3")) { c = 5; break; } break; case 83341: if (str.equals("TRK")) { c = 6; break; } break; case 83378: if (str.equals("TT2")) { c = 7; break; } break; case 83536: if (str.equals("TXT")) { c = '\b'; break; } break; case 83552: if (str.equals("TYE")) { c = '\t'; break; } break; case 2567331: if (str.equals("TALB")) { c = '\n'; break; } break; case 2569357: if (str.equals("TCOM")) { c = 11; break; } break; case 2569891: if (str.equals("TDAT")) { c = '\f'; break; } break; case 2570401: if (str.equals("TDRC")) { c = '\r'; break; } break; case 2570410: if (str.equals("TDRL")) { c = 14; break; } break; case 2571565: if (str.equals("TEXT")) { c = 15; break; } break; case 2575251: if (str.equals("TIT2")) { c = 16; break; } break; case 2581512: if (str.equals("TPE1")) { c = 17; break; } break; case 2581513: if (str.equals("TPE2")) { c = 18; break; } break; case 2581514: if (str.equals("TPE3")) { c = 19; break; } break; case 2583398: if (str.equals("TRCK")) { c = 20; break; } break; case 2590194: if (str.equals("TYER")) { c = 21; break; } break; } try { switch (c) { case 0: case '\n': bVar.b(this.c); break; case 1: case 11: bVar.e(this.c); break; case 2: case '\f': bVar.d(Integer.valueOf(Integer.parseInt(this.c.substring(2, 4)))).c(Integer.valueOf(Integer.parseInt(this.c.substring(0, 2)))); break; case 3: case 17: bVar.c(this.c); break; case 4: case 18: bVar.a(this.c); break; case 5: case 19: bVar.f(this.c); break; case 6: case 20: String[] a2 = xp.a(this.c, "/"); bVar.k(Integer.valueOf(Integer.parseInt(a2[0]))).j(a2.length > 1 ? Integer.valueOf(Integer.parseInt(a2[1])) : null); break; case 7: case 16: bVar.k(this.c); break; case '\b': case 15: bVar.l(this.c); break; case '\t': case 21: bVar.e(Integer.valueOf(Integer.parseInt(this.c))); break; case '\r': List a3 = a(this.c); int size = a3.size(); if (size != 1) { if (size != 2) { if (size == 3) { bVar.c((Integer) a3.get(2)); } } bVar.d((Integer) a3.get(1)); } bVar.e((Integer) a3.get(0)); break; case 14: List a4 = a(this.c); int size2 = a4.size(); if (size2 != 1) { if (size2 != 2) { if (size2 == 3) { bVar.f((Integer) a4.get(2)); } } bVar.g((Integer) a4.get(1)); } bVar.h((Integer) a4.get(0)); break; } } catch (NumberFormatException | StringIndexOutOfBoundsException unused) { } } }