package com.applovin.impl; import android.util.SparseArray; import java.util.Collections; import java.util.List; /* loaded from: classes.dex */ public interface dp { public interface c { SparseArray a(); dp a(int i, b bVar); } void a(); void a(bh bhVar, int i); void a(ho hoVar, m8 m8Var, d dVar); public static final class b { public final int a; public final String b; public final List c; public final byte[] d; public b(int i, String str, List list, byte[] bArr) { List unmodifiableList; this.a = i; this.b = str; if (list == null) { unmodifiableList = Collections.emptyList(); } else { unmodifiableList = Collections.unmodifiableList(list); } this.c = unmodifiableList; this.d = bArr; } } public static final class a { public final String a; public final int b; public final byte[] c; public a(String str, int i, byte[] bArr) { this.a = str; this.b = i; this.c = bArr; } } public static final class d { private final String a; private final int b; private final int c; private int d; private String e; public d(int i, int i2) { this(Integer.MIN_VALUE, i, i2); } public void a() { int i = this.d; this.d = i == Integer.MIN_VALUE ? this.b : i + this.c; this.e = this.a + this.d; } public int c() { d(); return this.d; } public String b() { d(); return this.e; } private void d() { if (this.d == Integer.MIN_VALUE) { throw new IllegalStateException("generateNewId() must be called before retrieving ids."); } } public d(int i, int i2, int i3) { String str; if (i != Integer.MIN_VALUE) { str = i + "/"; } else { str = ""; } this.a = str; this.b = i2; this.c = i3; this.d = Integer.MIN_VALUE; this.e = ""; } } }