Pdf Converter v5.0版本的 MD5 值为:258149214e8277c73fa6b365aba312ef
以下内容为反编译后的 a.java 源代码,内容仅作参考
package f4;
import com.google.gson.Gson;
import i4.d;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.lang.reflect.Proxy;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
import java.util.concurrent.Executor;
import java.util.concurrent.TimeUnit;
import me.c0;
import me.d0;
import me.e;
import me.i;
import me.u;
import me.y;
import okhttp3.HttpUrl;
import okhttp3.OkHttpClient;
public final class a {
public static d0 f17119a;
public static d a() {
Method[] declaredMethods;
List<String> pathSegments;
if (f17119a == null) {
OkHttpClient.Builder builder = new OkHttpClient.Builder();
TimeUnit timeUnit = TimeUnit.SECONDS;
OkHttpClient build = builder.connectTimeout(120L, timeUnit).writeTimeout(120L, timeUnit).readTimeout(120L, timeUnit).build();
y yVar = y.f22231c;
ArrayList arrayList = new ArrayList();
ArrayList arrayList2 = new ArrayList();
HttpUrl httpUrl = HttpUrl.get("https://v2.pdfapis.com/api/v2/");
Objects.requireNonNull(httpUrl, "baseUrl == null");
if (!HttpUrl.FRAGMENT_ENCODE_SET.equals(httpUrl.pathSegments().get(pathSegments.size() - 1))) {
throw new IllegalArgumentException("baseUrl must end in /: " + httpUrl);
}
Objects.requireNonNull(build, "client == null");
arrayList.add(new ne.a(new Gson()));
Executor a10 = yVar.a();
ArrayList arrayList3 = new ArrayList(arrayList2);
i iVar = new i(a10);
boolean z10 = yVar.f22232a;
arrayList3.addAll(z10 ? Arrays.asList(e.f22129a, iVar) : Collections.singletonList(iVar));
ArrayList arrayList4 = new ArrayList(arrayList.size() + 1 + (z10 ? 1 : 0));
arrayList4.add(new me.a());
arrayList4.addAll(arrayList);
arrayList4.addAll(z10 ? Collections.singletonList(u.f22188a) : Collections.emptyList());
f17119a = new d0(build, httpUrl, Collections.unmodifiableList(arrayList4), Collections.unmodifiableList(arrayList3), a10);
}
d0 d0Var = f17119a;
d0Var.getClass();
if (d.class.isInterface()) {
ArrayDeque arrayDeque = new ArrayDeque(1);
arrayDeque.add(d.class);
while (!arrayDeque.isEmpty()) {
Class cls = (Class) arrayDeque.removeFirst();
if (cls.getTypeParameters().length != 0) {
StringBuilder sb2 = new StringBuilder("Type parameters are unsupported on ");
sb2.append(cls.getName());
if (cls != d.class) {
sb2.append(" which is an interface of ");
sb2.append(d.class.getName());
}
throw new IllegalArgumentException(sb2.toString());
}
Collections.addAll(arrayDeque, cls.getInterfaces());
}
if (d0Var.f22128g) {
y yVar2 = y.f22231c;
for (Method method : d.class.getDeclaredMethods()) {
if (!(yVar2.f22232a && method.isDefault()) && !Modifier.isStatic(method.getModifiers())) {
d0Var.b(method);
}
}
}
return (d) Proxy.newProxyInstance(d.class.getClassLoader(), new Class[]{d.class}, new c0(d0Var));
}
throw new IllegalArgumentException("API declarations must be interfaces.");
}
}