MD5 校验值:719081c19dfabad7b000ef11fc4f3317
j.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。
package c7; import androidx.recyclerview.widget.LinearLayoutManager; import com.android.billingclient.api.Uu.fjIApSKKJvQ; import e6.Kg.ScJhCNAgoB; import java.net.InetAddress; import java.net.InetSocketAddress; import java.net.Proxy; import java.net.SocketAddress; import java.net.SocketException; import java.net.URI; import java.net.UnknownHostException; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.NoSuchElementException; import kotlin.Metadata; import o3.o; import o3.p; import w6.f0; import w6.r; import w6.v; import z3.k; @Metadata(d1 = {"\u0000l\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010 \n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010!\n\u0002\u0018\u0002\n\u0002\b\u0006\u0018\u0000 *2\u00020\u0001:\u0002\f\tB'\u0012\u0006\u0010\u0011\u001a\u00020\u000f\u0012\u0006\u0010\u0014\u001a\u00020\u0012\u0012\u0006\u0010\u0017\u001a\u00020\u0015\u0012\u0006\u0010\u001a\u001a\u00020\u0018¢\u0006\u0004\b(\u0010)J\u001a\u0010\u0007\u001a\u00020\u00062\u0006\u0010\u0003\u001a\u00020\u00022\b\u0010\u0005\u001a\u0004\u0018\u00010\u0004H\u0002J\b\u0010\t\u001a\u00020\bH\u0002J\b\u0010\n\u001a\u00020\u0004H\u0002J\u0010\u0010\u000b\u001a\u00020\u00062\u0006\u0010\u0005\u001a\u00020\u0004H\u0002J\t\u0010\f\u001a\u00020\bH\u0086\u0002J\t\u0010\u000e\u001a\u00020\rH\u0086\u0002R\u0014\u0010\u0011\u001a\u00020\u000f8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\f\u0010\u0010R\u0014\u0010\u0014\u001a\u00020\u00128\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\t\u0010\u0013R\u0014\u0010\u0017\u001a\u00020\u00158\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u000e\u0010\u0016R\u0014\u0010\u001a\u001a\u00020\u00188\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\n\u0010\u0019R\u001c\u0010\u001d\u001a\b\u0012\u0004\u0012\u00020\u00040\u001b8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u000b\u0010\u001cR\u0016\u0010 \u001a\u00020\u001e8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0007\u0010\u001fR\u001c\u0010#\u001a\b\u0012\u0004\u0012\u00020!0\u001b8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\"\u0010\u001cR\u001a\u0010'\u001a\b\u0012\u0004\u0012\u00020%0$8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b&\u0010\u001c¨\u0006+"}, d2 = {"Lc7/j;", "", "Lw6/v;", "url", "Ljava/net/Proxy;", "proxy", "Ln3/x;", "f", "", "b", "d", "e", "a", "Lc7/j$b;", "c", "Lw6/a;", "Lw6/a;", "address", "Lc7/h;", "Lc7/h;", "routeDatabase", "Lw6/e;", "Lw6/e;", "call", "Lw6/r;", "Lw6/r;", "eventListener", "", "Ljava/util/List;", "proxies", "", "I", "nextProxyIndex", "Ljava/net/InetSocketAddress;", "g", "inetSocketAddresses", "", "Lw6/f0;", "h", "postponedRoutes", "<init>", "(Lw6/a;Lc7/h;Lw6/e;Lw6/r;)V", "i", "okhttp"}, k = 1, mv = {1, 6, LinearLayoutManager.HORIZONTAL}) public final class j { public static final Companion INSTANCE = new Companion(null); private final w6.a address; private final h routeDatabase; private final w6.e call; private final r eventListener; private List<? extends Proxy> proxies; private int nextProxyIndex; private List<? extends InetSocketAddress> inetSocketAddresses; private final List<f0> postponedRoutes; @Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u000e\n\u0002\b\u0006\b\u0086\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0007\u0010\bR\u0015\u0010\u0006\u001a\u00020\u0003*\u00020\u00028F¢\u0006\u0006\u001a\u0004\b\u0004\u0010\u0005¨\u0006\t"}, d2 = {"Lc7/j$a;", "", "Ljava/net/InetSocketAddress;", "", "a", "(Ljava/net/InetSocketAddress;)Ljava/lang/String;", "socketHost", "<init>", "()V", "okhttp"}, k = 1, mv = {1, 6, LinearLayoutManager.HORIZONTAL}) public static final class Companion { private Companion() { } public Companion(z3.g gVar) { this(); } public final String a(InetSocketAddress inetSocketAddress) { k.f(inetSocketAddress, "<this>"); InetAddress address = inetSocketAddress.getAddress(); if (address == null) { String hostName = inetSocketAddress.getHostName(); k.e(hostName, fjIApSKKJvQ.wHRMsKJDPxAhrI); return hostName; } String hostAddress = address.getHostAddress(); k.e(hostAddress, "address.hostAddress"); return hostAddress; } } @Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010 \n\u0002\b\u0004\n\u0002\u0010\b\n\u0002\b\u0005\u0018\u00002\u00020\u0001B\u0015\u0012\f\u0010\n\u001a\b\u0012\u0004\u0012\u00020\u00040\u0006¢\u0006\u0004\b\u000e\u0010\u000fJ\t\u0010\u0003\u001a\u00020\u0002H\u0086\u0002J\t\u0010\u0005\u001a\u00020\u0004H\u0086\u0002R\u001d\u0010\n\u001a\b\u0012\u0004\u0012\u00020\u00040\u00068\u0006¢\u0006\f\n\u0004\b\u0007\u0010\b\u001a\u0004\b\u0007\u0010\tR\u0016\u0010\r\u001a\u00020\u000b8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0003\u0010\f¨\u0006\u0010"}, d2 = {"Lc7/j$b;", "", "", "b", "Lw6/f0;", "c", "", "a", "Ljava/util/List;", "()Ljava/util/List;", "routes", "", "I", "nextRouteIndex", "<init>", "(Ljava/util/List;)V", "okhttp"}, k = 1, mv = {1, 6, LinearLayoutManager.HORIZONTAL}) public static final class b { private final List<f0> routes; private int nextRouteIndex; public final List<f0> a() { return this.routes; } public final boolean b() { return this.nextRouteIndex < this.routes.size(); } public b(List<f0> list) { k.f(list, "routes"); this.routes = list; } public final f0 c() { if (b()) { List<f0> list = this.routes; int i8 = this.nextRouteIndex; this.nextRouteIndex = i8 + 1; return list.get(i8); } throw new NoSuchElementException(); } } private final boolean b() { return this.nextProxyIndex < this.proxies.size(); } public final boolean a() { return b() || (this.postponedRoutes.isEmpty() ^ true); } public j(w6.a aVar, h hVar, w6.e eVar, r rVar) { k.f(aVar, "address"); k.f(hVar, "routeDatabase"); k.f(eVar, "call"); k.f(rVar, "eventListener"); this.address = aVar; this.routeDatabase = hVar; this.call = eVar; this.eventListener = rVar; this.proxies = o.h(); this.inetSocketAddresses = o.h(); this.postponedRoutes = new ArrayList(); f(aVar.getUrl(), aVar.getProxy()); } private final void e(Proxy proxy) { String host; int port; ArrayList arrayList = new ArrayList(); this.inetSocketAddresses = arrayList; if (proxy.type() != Proxy.Type.DIRECT && proxy.type() != Proxy.Type.SOCKS) { SocketAddress address = proxy.address(); if (address instanceof InetSocketAddress) { Companion companion = INSTANCE; k.e(address, "proxyAddress"); InetSocketAddress inetSocketAddress = (InetSocketAddress) address; host = companion.a(inetSocketAddress); port = inetSocketAddress.getPort(); } else { throw new IllegalArgumentException(k.l("Proxy.address() is not an InetSocketAddress: ", address.getClass()).toString()); } } else { host = this.address.getUrl().getHost(); port = this.address.getUrl().getPort(); } boolean z7 = false; if (1 <= port && port < 65536) { z7 = true; } if (z7) { if (proxy.type() == Proxy.Type.SOCKS) { arrayList.add(InetSocketAddress.createUnresolved(host, port)); return; } this.eventListener.m(this.call, host); List<InetAddress> a8 = this.address.getDns().a(host); if (!a8.isEmpty()) { this.eventListener.l(this.call, host, a8); Iterator<InetAddress> it = a8.iterator(); while (it.hasNext()) { arrayList.add(new InetSocketAddress(it.next(), port)); } return; } throw new UnknownHostException(this.address.getDns() + " returned no addresses for " + host); } throw new SocketException("No route to " + host + ':' + port + ScJhCNAgoB.USIke); } private final void f(v vVar, Proxy proxy) { this.eventListener.o(this.call, vVar); List<Proxy> g8 = g(proxy, vVar, this); this.proxies = g8; this.nextProxyIndex = 0; this.eventListener.n(this.call, vVar, g8); } private static final List<Proxy> g(Proxy proxy, v vVar, j jVar) { boolean z7; if (proxy != null) { return p.d(proxy); } URI s7 = vVar.s(); if (s7.getHost() == null) { return y6.d.v(Proxy.NO_PROXY); } List<Proxy> select = jVar.address.getProxySelector().select(s7); if (select != null && !select.isEmpty()) { z7 = false; } else { z7 = true; } if (z7) { return y6.d.v(Proxy.NO_PROXY); } k.e(select, "proxiesOrNull"); return y6.d.R(select); } private final Proxy d() { if (b()) { List<? extends Proxy> list = this.proxies; int i8 = this.nextProxyIndex; this.nextProxyIndex = i8 + 1; Proxy proxy = list.get(i8); e(proxy); return proxy; } throw new SocketException("No route to " + this.address.getUrl().getHost() + "; exhausted proxy configurations: " + this.proxies); } public final b c() { if (a()) { ArrayList arrayList = new ArrayList(); while (b()) { Proxy d8 = d(); Iterator<? extends InetSocketAddress> it = this.inetSocketAddresses.iterator(); while (it.hasNext()) { f0 f0Var = new f0(this.address, d8, it.next()); if (this.routeDatabase.c(f0Var)) { this.postponedRoutes.add(f0Var); } else { arrayList.add(f0Var); } } if (!arrayList.isEmpty()) { break; } } if (arrayList.isEmpty()) { o3.v.w(arrayList, this.postponedRoutes); this.postponedRoutes.clear(); } return new b(arrayList); } throw new NoSuchElementException(); } }