Brazzers Premium v2.1.5版本的 MD5 值为:822198ebc1561433ac78052c8b72a0ea
以下内容为反编译后的 d.java 源代码,内容仅作参考
package l5;
import android.util.Pair;
import android.util.SparseArray;
import android.util.SparseIntArray;
import androidx.fragment.app.s0;
import b6.o;
import com.google.android.exoplayer2.source.dash.a;
import com.google.android.exoplayer2.source.dash.b;
import d3.d0;
import d6.o0;
import d6.q;
import d6.t0;
import e.z;
import e6.n0;
import g4.i0;
import g4.j0;
import g4.r1;
import i5.e0;
import i5.f1;
import i5.g1;
import i5.w0;
import i5.x;
import i5.x0;
import i5.y0;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.IdentityHashMap;
import java.util.List;
import java.util.Objects;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import k5.i;
import l4.w;
public final class d implements x, x0, k5.j {
public static final Pattern W = Pattern.compile("CC([1-4])=(.+)");
public static final Pattern X = Pattern.compile("([1-4])=lang:(\\w+)(,.+)?");
public final a.InterfaceC0010a A;
public final t0 B;
public final w C;
public final d0 D;
public final b2.g E;
public final long F;
public final o0 G;
public final q H;
public final g1 I;
public final c[] J;
public final s0 K;
public final n L;
public final e0 N;
public final l4.q O;
public i5.w P;
public y0 S;
public m5.c T;
public int U;
public List V;
public final int f7170z;
public k5.i[] Q = new k5.i[0];
public k[] R = new k[0];
public final IdentityHashMap M = new IdentityHashMap();
public d(int i10, m5.c cVar, b2.g gVar, int i11, a.InterfaceC0010a interfaceC0010a, t0 t0Var, w wVar, l4.q qVar, d0 d0Var, e0 e0Var, long j10, o0 o0Var, q qVar2, s0 s0Var, z zVar) {
List list;
int i12;
int i13;
boolean[] zArr;
boolean z10;
j0[] j0VarArr;
m5.f b10;
w wVar2 = wVar;
this.f7170z = i10;
this.T = cVar;
this.E = gVar;
this.U = i11;
this.A = interfaceC0010a;
this.B = t0Var;
this.C = wVar2;
this.O = qVar;
this.D = d0Var;
this.N = e0Var;
this.F = j10;
this.G = o0Var;
this.H = qVar2;
this.K = s0Var;
this.L = new n(cVar, zVar, qVar2);
int i14 = 0;
k5.i[] iVarArr = this.Q;
Objects.requireNonNull(s0Var);
this.S = new d9.c((y0[]) iVarArr);
m5.h hVar = (m5.h) cVar.f7477m.get(i11);
List list2 = hVar.f7496d;
this.V = list2;
List list3 = hVar.f7495c;
int size = list3.size();
SparseIntArray sparseIntArray = new SparseIntArray(size);
ArrayList arrayList = new ArrayList(size);
SparseArray sparseArray = new SparseArray(size);
for (int i15 = 0; i15 < size; i15++) {
sparseIntArray.put(((m5.a) list3.get(i15)).f7455a, i15);
ArrayList arrayList2 = new ArrayList();
arrayList2.add(Integer.valueOf(i15));
arrayList.add(arrayList2);
sparseArray.put(i15, arrayList2);
}
for (int i16 = 0; i16 < size; i16++) {
m5.a aVar = (m5.a) list3.get(i16);
m5.f b11 = b(aVar.f7459e, "http://dashif.org/guidelines/trickmode");
b11 = b11 == null ? b(aVar.f7460f, "http://dashif.org/guidelines/trickmode") : b11;
int i17 = (b11 == null || (i17 = sparseIntArray.get(Integer.parseInt(b11.f7487b), -1)) == -1) ? i16 : i17;
if (i17 == i16 && (b10 = b(aVar.f7460f, "urn:mpeg:dash:adaptation-set-switching:2016")) != null) {
for (String str : n0.O(b10.f7487b, ",")) {
int i18 = sparseIntArray.get(Integer.parseInt(str), -1);
if (i18 != -1) {
i17 = Math.min(i17, i18);
}
}
}
if (i17 != i16) {
List list4 = (List) sparseArray.get(i16);
List list5 = (List) sparseArray.get(i17);
list5.addAll(list4);
sparseArray.put(i16, list5);
arrayList.remove(list4);
}
}
int size2 = arrayList.size();
int[][] iArr = new int[size2];
for (int i19 = 0; i19 < size2; i19++) {
iArr[i19] = com.bumptech.glide.f.f((Collection) arrayList.get(i19));
Arrays.sort(iArr[i19]);
}
boolean[] zArr2 = new boolean[size2];
j0[][] j0VarArr2 = new j0[size2];
int i20 = 0;
int i21 = 0;
while (i20 < size2) {
int[] iArr2 = iArr[i20];
int length = iArr2.length;
int i22 = 0;
while (true) {
if (i22 >= length) {
z10 = false;
break;
}
List list6 = ((m5.a) list3.get(iArr2[i22])).f7457c;
while (i14 < list6.size()) {
if (!((m5.m) list6.get(i14)).C.isEmpty()) {
z10 = true;
break;
}
i14++;
}
i22++;
i14 = 0;
}
if (z10) {
zArr2[i20] = true;
i21++;
}
int[] iArr3 = iArr[i20];
int length2 = iArr3.length;
int i23 = 0;
while (true) {
if (i23 >= length2) {
j0VarArr = new j0[0];
break;
}
int i24 = iArr3[i23];
m5.a aVar2 = (m5.a) list3.get(i24);
List list7 = ((m5.a) list3.get(i24)).f7458d;
int[] iArr4 = iArr3;
int i25 = 0;
while (i25 < list7.size()) {
m5.f fVar = (m5.f) list7.get(i25);
int i26 = length2;
List list8 = list7;
if ("urn:scte:dash:cc:cea-608:2015".equals(fVar.f7486a)) {
i0 i0Var = new i0();
i0Var.f4581k = "application/cea-608";
int i27 = aVar2.f7455a;
StringBuilder sb2 = new StringBuilder(18);
sb2.append(i27);
sb2.append(":cea608");
i0Var.f4571a = sb2.toString();
j0VarArr = k(fVar, W, i0Var.a());
break;
} else if ("urn:scte:dash:cc:cea-708:2015".equals(fVar.f7486a)) {
i0 i0Var2 = new i0();
i0Var2.f4581k = "application/cea-708";
int i28 = aVar2.f7455a;
StringBuilder sb3 = new StringBuilder(18);
sb3.append(i28);
sb3.append(":cea708");
i0Var2.f4571a = sb3.toString();
j0VarArr = k(fVar, X, i0Var2.a());
break;
} else {
i25++;
length2 = i26;
list7 = list8;
}
}
i23++;
iArr3 = iArr4;
}
j0VarArr2[i20] = j0VarArr;
if (j0VarArr2[i20].length != 0) {
i21++;
}
i20++;
i14 = 0;
}
int size3 = list2.size() + i21 + size2;
f1[] f1VarArr = new f1[size3];
c[] cVarArr = new c[size3];
int i29 = 0;
int i30 = 0;
while (i29 < size2) {
int[] iArr5 = iArr[i29];
ArrayList arrayList3 = new ArrayList();
int length3 = iArr5.length;
int i31 = size2;
int i32 = 0;
while (i32 < length3) {
arrayList3.addAll(((m5.a) list3.get(iArr5[i32])).f7457c);
i32++;
iArr = iArr;
}
int[][] iArr6 = iArr;
int size4 = arrayList3.size();
j0[] j0VarArr3 = new j0[size4];
int i33 = 0;
while (i33 < size4) {
int i34 = size4;
j0 j0Var = ((m5.m) arrayList3.get(i33)).f7506z;
j0VarArr3[i33] = j0Var.b(wVar2.b(j0Var));
i33++;
size4 = i34;
arrayList3 = arrayList3;
}
m5.a aVar3 = (m5.a) list3.get(iArr5[0]);
int i35 = i30 + 1;
if (zArr2[i29]) {
i12 = i35 + 1;
list = list3;
} else {
list = list3;
i12 = i35;
i35 = -1;
}
if (j0VarArr2[i29].length != 0) {
int i36 = i12;
i12++;
i13 = i36;
} else {
i13 = -1;
}
f1VarArr[i30] = new f1(j0VarArr3);
cVarArr[i30] = new c(aVar3.f7456b, 0, iArr5, i30, i35, i13, -1);
int i37 = -1;
if (i35 != -1) {
i0 i0Var3 = new i0();
int i38 = aVar3.f7455a;
zArr = zArr2;
StringBuilder sb4 = new StringBuilder(16);
sb4.append(i38);
sb4.append(":emsg");
i0Var3.f4571a = sb4.toString();
i0Var3.f4581k = "application/x-emsg";
f1VarArr[i35] = new f1(i0Var3.a());
cVarArr[i35] = new c(5, 1, iArr5, i30, -1, -1, -1);
i37 = -1;
} else {
zArr = zArr2;
}
if (i13 != i37) {
f1VarArr[i13] = new f1(j0VarArr2[i29]);
cVarArr[i13] = new c(3, 1, iArr5, i30, -1, -1, -1);
}
i29++;
size2 = i31;
iArr = iArr6;
wVar2 = wVar;
i30 = i12;
list3 = list;
zArr2 = zArr;
}
int i39 = 0;
while (i39 < list2.size()) {
i0 i0Var4 = new i0();
i0Var4.f4571a = ((m5.g) list2.get(i39)).a();
i0Var4.f4581k = "application/x-emsg";
f1VarArr[i30] = new f1(i0Var4.a());
cVarArr[i30] = new c(5, 2, new int[0], -1, -1, -1, i39);
i39++;
i30++;
}
Pair create = Pair.create(new g1(f1VarArr), cVarArr);
this.I = (g1) create.first;
this.J = (c[]) create.second;
}
public static m5.f b(List list, String str) {
for (int i10 = 0; i10 < list.size(); i10++) {
m5.f fVar = (m5.f) list.get(i10);
if (str.equals(fVar.f7486a)) {
return fVar;
}
}
return null;
}
public static j0[] k(m5.f fVar, Pattern pattern, j0 j0Var) {
String str = fVar.f7487b;
if (str == null) {
return new j0[]{j0Var};
}
int i10 = n0.f4097a;
String[] split = str.split(";", -1);
j0[] j0VarArr = new j0[split.length];
for (int i11 = 0; i11 < split.length; i11++) {
Matcher matcher = pattern.matcher(split[i11]);
if (!matcher.matches()) {
return new j0[]{j0Var};
}
int parseInt = Integer.parseInt(matcher.group(1));
i0 a10 = j0Var.a();
String str2 = j0Var.f4602z;
StringBuilder sb2 = new StringBuilder(d.b.a(str2, 12));
sb2.append(str2);
sb2.append(":");
sb2.append(parseInt);
a10.f4571a = sb2.toString();
a10.C = parseInt;
a10.f4573c = matcher.group(2);
j0VarArr[i11] = a10.a();
}
return j0VarArr;
}
@Override
public long B(o[] oVarArr, boolean[] zArr, w0[] w0VarArr, boolean[] zArr2, long j10) {
int i10;
boolean z10;
int[] iArr;
int i11;
int[] iArr2;
f1 f1Var;
int i12;
f1 f1Var2;
int i13;
m mVar;
o[] oVarArr2 = oVarArr;
int[] iArr3 = new int[oVarArr2.length];
int i14 = 0;
while (true) {
i10 = -1;
if (i14 >= oVarArr2.length) {
break;
}
if (oVarArr2[i14] != null) {
iArr3[i14] = this.I.a(((b6.e) oVarArr2[i14]).f1730a);
} else {
iArr3[i14] = -1;
}
i14++;
}
for (int i15 = 0; i15 < oVarArr2.length; i15++) {
if (oVarArr2[i15] == null || !zArr[i15]) {
if (w0VarArr[i15] instanceof k5.i) {
((k5.i) w0VarArr[i15]).u(this);
} else if (w0VarArr[i15] instanceof i.a) {
((i.a) w0VarArr[i15]).d();
}
w0VarArr[i15] = null;
}
}
int i16 = 0;
while (true) {
z10 = true;
boolean z11 = true;
if (i16 >= oVarArr2.length) {
break;
}
if ((w0VarArr[i16] instanceof i5.l) || (w0VarArr[i16] instanceof i.a)) {
int j11 = j(i16, iArr3);
if (j11 == -1) {
z11 = w0VarArr[i16] instanceof i5.l;
} else if (!(w0VarArr[i16] instanceof i.a) || ((i.a) w0VarArr[i16]).f6660z != w0VarArr[j11]) {
z11 = false;
}
if (!z11) {
if (w0VarArr[i16] instanceof i.a) {
((i.a) w0VarArr[i16]).d();
}
w0VarArr[i16] = null;
}
}
i16++;
}
w0[] w0VarArr2 = w0VarArr;
int i17 = 0;
while (i17 < oVarArr2.length) {
o oVar = oVarArr2[i17];
if (oVar == null) {
i11 = i17;
iArr2 = iArr3;
} else if (w0VarArr2[i17] == null) {
zArr2[i17] = z10;
c cVar = this.J[iArr3[i17]];
int i18 = cVar.f7165c;
if (i18 == 0) {
int i19 = cVar.f7168f;
boolean z12 = i19 != i10;
if (z12) {
f1Var = this.I.A[i19];
i12 = 1;
} else {
f1Var = null;
i12 = 0;
}
int i20 = cVar.f7169g;
boolean z13 = i20 != i10;
if (z13) {
f1Var2 = this.I.A[i20];
i12 += f1Var2.f5903z;
} else {
f1Var2 = null;
}
j0[] j0VarArr = new j0[i12];
int[] iArr4 = new int[i12];
if (z12) {
j0VarArr[0] = f1Var.A[0];
iArr4[0] = 5;
i13 = 1;
} else {
i13 = 0;
}
ArrayList arrayList = new ArrayList();
if (z13) {
for (int i21 = 0; i21 < f1Var2.f5903z; i21++) {
j0VarArr[i13] = f1Var2.A[i21];
iArr4[i13] = 3;
arrayList.add(j0VarArr[i13]);
i13 += z10 ? 1 : 0;
}
}
if (this.T.f7468d && z12) {
n nVar = this.L;
mVar = new m(nVar, nVar.f7198z);
} else {
mVar = null;
}
a.InterfaceC0010a interfaceC0010a = this.A;
o0 o0Var = this.G;
m5.c cVar2 = this.T;
b2.g gVar = this.E;
i11 = i17;
int i22 = this.U;
int[] iArr5 = cVar.f7163a;
int i23 = cVar.f7164b;
long j12 = this.F;
iArr2 = iArr3;
t0 t0Var = this.B;
b.a aVar = (b.a) interfaceC0010a;
d6.m a10 = aVar.f2170a.a();
if (t0Var != null) {
a10.b(t0Var);
}
m mVar2 = mVar;
k5.i iVar = new k5.i(cVar.f7164b, iArr4, j0VarArr, new com.google.android.exoplayer2.source.dash.b(o0Var, cVar2, gVar, i22, iArr5, oVar, i23, a10, j12, aVar.f2171b, z12, arrayList, mVar), this, this.H, j10, this.C, this.O, this.D, this.N);
synchronized (this) {
this.M.put(iVar, mVar2);
}
w0VarArr[i11] = iVar;
w0VarArr2 = w0VarArr;
} else {
i11 = i17;
iArr2 = iArr3;
if (i18 == 2) {
w0VarArr2[i11] = new k((m5.g) this.V.get(cVar.f7166d), ((b6.e) oVar).f1730a.A[0], this.T.f7468d);
}
}
} else {
i11 = i17;
iArr2 = iArr3;
if (w0VarArr2[i11] instanceof k5.i) {
((com.google.android.exoplayer2.source.dash.b) ((com.google.android.exoplayer2.source.dash.a) ((k5.i) w0VarArr2[i11]).D)).f2165j = oVar;
}
}
i17 = i11 + 1;
oVarArr2 = oVarArr;
iArr3 = iArr2;
z10 = true;
i10 = -1;
}
int[] iArr6 = iArr3;
int i24 = 0;
while (i24 < oVarArr.length) {
if (w0VarArr2[i24] != null || oVarArr[i24] == null) {
iArr = iArr6;
} else {
c cVar3 = this.J[iArr6[i24]];
if (cVar3.f7165c == 1) {
iArr = iArr6;
int j13 = j(i24, iArr);
if (j13 != -1) {
k5.i iVar2 = (k5.i) w0VarArr2[j13];
int i25 = cVar3.f7164b;
for (int i26 = 0; i26 < iVar2.M.length; i26++) {
if (iVar2.A[i26] == i25) {
e6.a.d(!iVar2.C[i26]);
iVar2.C[i26] = true;
iVar2.M[i26].F(j10, true);
w0VarArr2[i24] = new i.a(iVar2, iVar2.M[i26], i26);
}
}
throw new IllegalStateException();
}
w0VarArr2[i24] = new i5.l();
i24++;
iArr6 = iArr;
} else {
iArr = iArr6;
}
}
i24++;
iArr6 = iArr;
}
ArrayList arrayList2 = new ArrayList();
ArrayList arrayList3 = new ArrayList();
for (w0 w0Var : w0VarArr2) {
if (w0Var instanceof k5.i) {
arrayList2.add((k5.i) w0Var);
} else if (w0Var instanceof k) {
arrayList3.add((k) w0Var);
}
}
k5.i[] iVarArr = new k5.i[arrayList2.size()];
this.Q = iVarArr;
arrayList2.toArray(iVarArr);
k[] kVarArr = new k[arrayList3.size()];
this.R = kVarArr;
arrayList3.toArray(kVarArr);
s0 s0Var = this.K;
k5.i[] iVarArr2 = this.Q;
Objects.requireNonNull(s0Var);
this.S = new d9.c((y0[]) iVarArr2);
return j10;
}
@Override
public void D() {
this.G.b();
}
@Override
public void G(long j10, boolean z10) {
for (k5.i iVar : this.Q) {
iVar.G(j10, z10);
}
}
@Override
public void H(i5.w wVar, long j10) {
this.P = wVar;
wVar.c(this);
}
@Override
public long K(long j10) {
for (k5.i iVar : this.Q) {
iVar.w(j10);
}
for (k kVar : this.R) {
kVar.a(j10);
}
return j10;
}
@Override
public boolean a() {
return this.S.a();
}
@Override
public long d(long j10, r1 r1Var) {
k5.i[] iVarArr;
for (k5.i iVar : this.Q) {
if (iVar.f6659z == 2) {
return iVar.D.d(j10, r1Var);
}
}
return j10;
}
@Override
public void e(y0 y0Var) {
this.P.e(this);
}
@Override
public long f() {
return this.S.f();
}
@Override
public long g() {
return this.S.g();
}
@Override
public boolean h(long j10) {
return this.S.h(j10);
}
@Override
public void i(long j10) {
this.S.i(j10);
}
public final int j(int i10, int[] iArr) {
int i11 = iArr[i10];
if (i11 == -1) {
return -1;
}
int i12 = this.J[i11].f7167e;
for (int i13 = 0; i13 < iArr.length; i13++) {
int i14 = iArr[i13];
if (i14 == i12 && this.J[i14].f7165c == 0) {
return i13;
}
}
return -1;
}
@Override
public long s() {
return -9223372036854775807L;
}
@Override
public g1 y() {
return this.I;
}
}