text:
<repo_name>Jdesk/877grasscut<file_sep>/retrofit2/DefaultCallAdapterFactory.java
package retrofit2;

import java.lang.annotation.Annotation;
import java.lang.reflect.Type;
import retrofit2.CallAdapter.Factory;

final class DefaultCallAdapterFactory extends Factory {
    static final Factory INSTANCE;

    /* renamed from: retrofit2.DefaultCallAdapterFactory.1 */
    class C57221 implements CallAdapter<Call<?>> {
        final /* synthetic */ Type val$responseType;

        C57221(Type type) {
            this.val$responseType = type;
        }

        public Type responseType() {
            return this.val$responseType;
        }

        public <R> Call<R> adapt(Call<R> call) {
            return call;
        }
    }

    DefaultCallAdapterFactory() {
    }

    static {
        INSTANCE = new DefaultCallAdapterFactory();
    }

    public CallAdapter<?> get(Type type, Annotation[] annotationArr, Retrofit retrofit) {
        if (Factory.getRawType(type) != Call.class) {
            return null;
        }
        return new C57221(Utils.getCallResponseType(type));
    }
}
<file_sep>/p015b/C0948t.java
package p015b;

/* renamed from: b.t */
public interface C0948t {

    /* renamed from: b.t.a */
    public interface C1040a {
        ab m4308a(C1120z c1120z);

        C1120z m4309a();
    }

    ab intercept(C1040a c1040a);
}
<file_sep>/p018c/C1132i.java
package p018c;

import java.util.concurrent.TimeUnit;

/* renamed from: c.i */
public class C1132i extends C0993t {
    private C0993t f2633a;

    public C1132i(C0993t c0993t) {
        if (c0993t == null) {
            throw new IllegalArgumentException("delegate == null");
        }
        this.f2633a = c0993t;
    }

    public final C0993t m4845a() {
        return this.f2633a;
    }

    public final C1132i m4844a(C0993t c0993t) {
        if (c0993t == null) {
            throw new IllegalArgumentException("delegate == null");
        }
        this.f2633a = c0993t;
        return this;
    }

    public C0993t m4847a(long j, TimeUnit timeUnit) {
        return this.f2633a.m4029a(j, timeUnit);
    }

    public long o_() {
        return this.f2633a.o_();
    }

    public boolean p_() {
        return this.f2633a.p_();
    }

    public long m4848d() {
        return this.f2633a.m4030d();
    }

    public C0993t m4846a(long j) {
        return this.f2633a.m4028a(j);
    }

    public C0993t q_() {
        return this.f2633a.q_();
    }

    public C0993t m4849f() {
        return this.f2633a.m4031f();
    }

    public void m4850g() {
        this.f2633a.m4032g();
    }
}
<file_sep>/retrofit2/Response.java
package retrofit2;

import android.support.v7.widget.helper.ItemTouchHelper.Callback;
import p015b.C1102r;
import p015b.C1114x;
import p015b.C1120z.C1119a;
import p015b.ab;
import p015b.ab.C1069a;
import p015b.ac;

public final class Response<T> {
    private final T body;
    private final ac errorBody;
    private final ab rawResponse;

    public static <T> Response<T> success(T t) {
        return success((Object) t, new C1069a().m4420a((int) Callback.DEFAULT_DRAG_ANIMATION_DURATION).m4428a("OK").m4426a(C1114x.HTTP_1_1).m4427a(new C1119a().m4709a("http://localhost/").m4717c()).m4430a());
    }

    public static <T> Response<T> success(T t, C1102r c1102r) {
        if (c1102r != null) {
            return success((Object) t, new C1069a().m4420a((int) Callback.DEFAULT_DRAG_ANIMATION_DURATION).m4428a("OK").m4426a(C1114x.HTTP_1_1).m4425a(c1102r).m4427a(new C1119a().m4709a("http://localhost/").m4717c()).m4430a());
        }
        throw new NullPointerException("headers == null");
    }

    public static <T> Response<T> success(T t, ab abVar) {
        if (abVar == null) {
            throw new NullPointerException("rawResponse == null");
        } else if (abVar.m4451c()) {
            return new Response(abVar, t, null);
        } else {
            throw new IllegalArgumentException("rawResponse must be successful response");
        }
    }

    public static <T> Response<T> error(int i, ac acVar) {
        if (i >= 400) {
            return error(acVar, new C1069a().m4420a(i).m4426a(C1114x.HTTP_1_1).m4427a(new C1119a().m4709a("http://localhost/").m4717c()).m4430a());
        }
        throw new IllegalArgumentException("code < 400: " + i);
    }

    public static <T> Response<T> error(ac acVar, ab abVar) {
        if (acVar == null) {
            throw new NullPointerException("body == null");
        } else if (abVar == null) {
            throw new NullPointerException("rawResponse == null");
        } else if (!abVar.m4451c()) {
            return new Response(abVar, null, acVar);
        } else {
            throw new IllegalArgumentException("rawResponse should not be successful response");
        }
    }

    private Response(ab abVar, T t, ac acVar) {
        this.rawResponse = abVar;
        this.body = t;
        this.errorBody = acVar;
    }

    public ab raw() {
        return this.rawResponse;
    }

    public int code() {
        return this.rawResponse.m4450b();
    }

    public String message() {
        return this.rawResponse.m4452d();
    }

    public C1102r headers() {
        return this.rawResponse.m4454f();
    }

    public boolean isSuccessful() {
        return this.rawResponse.m4451c();
    }

    public T body() {
        return this.body;
    }

    public ac errorBody() {
        return this.errorBody;
    }
}
<file_sep>/retrofit2/converter/gson/GsonResponseBodyConverter.java
package retrofit2.converter.gson;

import com.google.gson.C3676t;
import com.google.gson.Gson;
import p015b.ac;
import retrofit2.Converter;

final class GsonResponseBodyConverter<T> implements Converter<ac, T> {
    private final C3676t<T> adapter;
    private final Gson gson;

    GsonResponseBodyConverter(Gson gson, C3676t<T> c3676t) {
        this.gson = gson;
        this.adapter = c3676t;
    }

    public T convert(ac acVar) {
        try {
            T b = this.adapter.m18136b(this.gson.m18167a(acVar.charStream()));
            return b;
        } finally {
            acVar.close();
        }
    }
}
<file_sep>/p018c/C0994a.java
package p018c;

import java.io.IOException;
import java.io.InterruptedIOException;

/* renamed from: c.a */
public class C0994a extends C0993t {
    private static C0994a f2093a;
    private boolean f2094c;
    private C0994a f2095d;
    private long f2096e;

    /* renamed from: c.a.1 */
    class C11211 implements C0954r {
        final /* synthetic */ C0954r f2614a;
        final /* synthetic */ C0994a f2615b;

        C11211(C0994a c0994a, C0954r c0954r) {
            this.f2615b = c0994a;
            this.f2614a = c0954r;
        }

        public void m4731a(C1129c c1129c, long j) {
            C1147u.m4929a(c1129c.f2624b, 0, j);
            long j2 = j;
            while (j2 > 0) {
                C1143o c1143o = c1129c.f2623a;
                long j3 = 0;
                while (j3 < 65536) {
                    long j4 = ((long) (c1129c.f2623a.f2659c - c1129c.f2623a.f2658b)) + j3;
                    if (j4 >= j2) {
                        j3 = j2;
                        break;
                    } else {
                        c1143o = c1143o.f2662f;
                        j3 = j4;
                    }
                }
                this.f2615b.m4043c();
                try {
                    this.f2614a.m3815a(c1129c, j3);
                    j2 -= j3;
                    this.f2615b.m4041a(true);
                } catch (IOException e) {
                    throw this.f2615b.m4042b(e);
                } catch (Throwable th) {
                    this.f2615b.m4041a(false);
                }
            }
        }

        public void flush() {
            this.f2615b.m4043c();
            try {
                this.f2614a.flush();
                this.f2615b.m4041a(true);
            } catch (IOException e) {
                throw this.f2615b.m4042b(e);
            } catch (Throwable th) {
                this.f2615b.m4041a(false);
            }
        }

        public void close() {
            this.f2615b.m4043c();
            try {
                this.f2614a.close();
                this.f2615b.m4041a(true);
            } catch (IOException e) {
                throw this.f2615b.m4042b(e);
            } catch (Throwable th) {
                this.f2615b.m4041a(false);
            }
        }

        public C0993t timeout() {
            return this.f2615b;
        }

        public String toString() {
            return "AsyncTimeout.sink(" + this.f2614a + ")";
        }
    }

    /* renamed from: c.a.2 */
    class C11222 implements C0946s {
        final /* synthetic */ C0946s f2616a;
        final /* synthetic */ C0994a f2617b;

        C11222(C0994a c0994a, C0946s c0946s) {
            this.f2617b = c0994a;
            this.f2616a = c0946s;
        }

        public long read(C1129c c1129c, long j) {
            this.f2617b.m4043c();
            try {
                long read = this.f2616a.read(c1129c, j);
                this.f2617b.m4041a(true);
                return read;
            } catch (IOException e) {
                throw this.f2617b.m4042b(e);
            } catch (Throwable th) {
                this.f2617b.m4041a(false);
            }
        }

        public void close() {
            try {
                this.f2616a.close();
                this.f2617b.m4041a(true);
            } catch (IOException e) {
                throw this.f2617b.m4042b(e);
            } catch (Throwable th) {
                this.f2617b.m4041a(false);
            }
        }

        public C0993t timeout() {
            return this.f2617b;
        }

        public String toString() {
            return "AsyncTimeout.source(" + this.f2616a + ")";
        }
    }

    /* renamed from: c.a.a */
    private static final class C1123a extends Thread {
        public C1123a() {
            super("Okio Watchdog");
            setDaemon(true);
        }

        public void run() {
            while (true) {
                try {
                    C0994a e = C0994a.m4036e();
                    if (e != null) {
                        e.m4040a();
                    }
                } catch (InterruptedException e2) {
                }
            }
        }
    }

    public final void m4043c() {
        if (this.f2094c) {
            throw new IllegalStateException("Unbalanced enter/exit");
        }
        long o_ = o_();
        boolean p_ = p_();
        if (o_ != 0 || p_) {
            this.f2094c = true;
            C0994a.m4033a(this, o_, p_);
        }
    }

    private static synchronized void m4033a(C0994a c0994a, long j, boolean z) {
        synchronized (C0994a.class) {
            if (f2093a == null) {
                f2093a = new C0994a();
                new C1123a().start();
            }
            long nanoTime = System.nanoTime();
            if (j != 0 && z) {
                c0994a.f2096e = Math.min(j, c0994a.m4030d() - nanoTime) + nanoTime;
            } else if (j != 0) {
                c0994a.f2096e = nanoTime + j;
            } else if (z) {
                c0994a.f2096e = c0994a.m4030d();
            } else {
                throw new AssertionError();
            }
            long b = c0994a.m4035b(nanoTime);
            C0994a c0994a2 = f2093a;
            while (c0994a2.f2095d != null && b >= c0994a2.f2095d.m4035b(nanoTime)) {
                c0994a2 = c0994a2.f2095d;
            }
            c0994a.f2095d = c0994a2.f2095d;
            c0994a2.f2095d = c0994a;
            if (c0994a2 == f2093a) {
                C0994a.class.notify();
            }
        }
    }

    public final boolean n_() {
        if (!this.f2094c) {
            return false;
        }
        this.f2094c = false;
        return C0994a.m4034a(this);
    }

    private static synchronized boolean m4034a(C0994a c0994a) {
        boolean z;
        synchronized (C0994a.class) {
            for (C0994a c0994a2 = f2093a; c0994a2 != null; c0994a2 = c0994a2.f2095d) {
                if (c0994a2.f2095d == c0994a) {
                    c0994a2.f2095d = c0994a.f2095d;
                    c0994a.f2095d = null;
                    z = false;
                    break;
                }
            }
            z = true;
        }
        return z;
    }

    private long m4035b(long j) {
        return this.f2096e - j;
    }

    protected void m4040a() {
    }

    public final C0954r m4037a(C0954r c0954r) {
        return new C11211(this, c0954r);
    }

    public final C0946s m4038a(C0946s c0946s) {
        return new C11222(this, c0946s);
    }

    final void m4041a(boolean z) {
        if (n_() && z) {
            throw m4039a(null);
        }
    }

    final IOException m4042b(IOException iOException) {
        return !n_() ? iOException : m4039a(iOException);
    }

    protected IOException m4039a(IOException iOException) {
        IOException interruptedIOException = new InterruptedIOException("timeout");
        if (iOException != null) {
            interruptedIOException.initCause(iOException);
        }
        return interruptedIOException;
    }

    static synchronized C0994a m4036e() {
        C0994a c0994a = null;
        synchronized (C0994a.class) {
            C0994a c0994a2 = f2093a.f2095d;
            if (c0994a2 == null) {
                C0994a.class.wait();
            } else {
                long b = c0994a2.m4035b(System.nanoTime());
                if (b > 0) {
                    long j = b / 1000000;
                    C0994a.class.wait(j, (int) (b - (1000000 * j)));
                } else {
                    f2093a.f2095d = c0994a2.f2095d;
                    c0994a2.f2095d = null;
                    c0994a = c0994a2;
                }
            }
        }
        return c0994a;
    }
}
<file_sep>/p015b/C1073c.java
package p015b;

import java.io.Closeable;
import java.io.Flushable;
import p015b.p016a.p017a.C0958d;
import p015b.p016a.p017a.C0959e;

/* renamed from: b.c */
public final class C1073c implements Closeable, Flushable {
    final C0959e f2353a;
    private final C0958d f2354b;

    public void flush() {
        this.f2354b.flush();
    }

    public void close() {
        this.f2354b.close();
    }
}
<file_sep>/p015b/C1099q.java
package p015b;

import java.security.cert.Certificate;
import java.util.Collections;
import java.util.List;
import javax.net.ssl.SSLPeerUnverifiedException;
import javax.net.ssl.SSLSession;
import p015b.p016a.C1022c;

/* renamed from: b.q */
public final class C1099q {
    private final ae f2484a;
    private final C1084h f2485b;
    private final List<Certificate> f2486c;
    private final List<Certificate> f2487d;

    private C1099q(ae aeVar, C1084h c1084h, List<Certificate> list, List<Certificate> list2) {
        this.f2484a = aeVar;
        this.f2485b = c1084h;
        this.f2486c = list;
        this.f2487d = list2;
    }

    public static C1099q m4554a(SSLSession sSLSession) {
        String cipherSuite = sSLSession.getCipherSuite();
        if (cipherSuite == null) {
            throw new IllegalStateException("cipherSuite == null");
        }
        C1084h a = C1084h.m4495a(cipherSuite);
        cipherSuite = sSLSession.getProtocol();
        if (cipherSuite == null) {
            throw new IllegalStateException("tlsVersion == null");
        }
        Object[] peerCertificates;
        List a2;
        List a3;
        ae a4 = ae.m4464a(cipherSuite);
        try {
            peerCertificates = sSLSession.getPeerCertificates();
        } catch (SSLPeerUnverifiedException e) {
            peerCertificates = null;
        }
        if (peerCertificates != null) {
            a2 = C1022c.m4229a(peerCertificates);
        } else {
            a2 = Collections.emptyList();
        }
        Object[] localCertificates = sSLSession.getLocalCertificates();
        if (localCertificates != null) {
            a3 = C1022c.m4229a(localCertificates);
        } else {
            a3 = Collections.emptyList();
        }
        return new C1099q(a4, a, a2, a3);
    }

    public C1084h m4555a() {
        return this.f2485b;
    }

    public List<Certificate> m4556b() {
        return this.f2486c;
    }

    public boolean equals(Object obj) {
        if (!(obj instanceof C1099q)) {
            return false;
        }
        C1099q c1099q = (C1099q) obj;
        if (C1022c.m4238a(this.f2485b, c1099q.f2485b) && this.f2485b.equals(c1099q.f2485b) && this.f2486c.equals(c1099q.f2486c) && this.f2487d.equals(c1099q.f2487d)) {
            return true;
        }
        return false;
    }

    public int hashCode() {
        return (((((((this.f2484a != null ? this.f2484a.hashCode() : 0) + 527) * 31) + this.f2485b.hashCode()) * 31) + this.f2486c.hashCode()) * 31) + this.f2487d.hashCode();
    }
}
<file_sep>/p015b/C1091m.java
package p015b;

import java.util.Collections;
import java.util.List;

/* renamed from: b.m */
public interface C1091m {
    public static final C1091m f2470a;

    /* renamed from: b.m.1 */
    static class C10921 implements C1091m {
        C10921() {
        }

        public void m4537a(C1106s c1106s, List<C1090l> list) {
        }

        public List<C1090l> m4536a(C1106s c1106s) {
            return Collections.emptyList();
        }
    }

    List<C1090l> m4534a(C1106s c1106s);

    void m4535a(C1106s c1106s, List<C1090l> list);

    static {
        f2470a = new C10921();
    }
}
<file_sep>/p018c/C1142n.java
package p018c;

import java.io.EOFException;
import java.io.IOException;
import java.io.InputStream;

/* renamed from: c.n */
final class C1142n implements C1128e {
    public final C1129c f2654a;
    public final C0946s f2655b;
    boolean f2656c;

    /* renamed from: c.n.1 */
    class C11411 extends InputStream {
        final /* synthetic */ C1142n f2653a;

        C11411(C1142n c1142n) {
            this.f2653a = c1142n;
        }

        public int read() {
            if (this.f2653a.f2656c) {
                throw new IOException("closed");
            } else if (this.f2653a.f2654a.f2624b == 0 && this.f2653a.f2655b.read(this.f2653a.f2654a, 8192) == -1) {
                return -1;
            } else {
                return this.f2653a.f2654a.m4805h() & 255;
            }
        }

        public int read(byte[] bArr, int i, int i2) {
            if (this.f2653a.f2656c) {
                throw new IOException("closed");
            }
            C1147u.m4929a((long) bArr.length, (long) i, (long) i2);
            if (this.f2653a.f2654a.f2624b == 0 && this.f2653a.f2655b.read(this.f2653a.f2654a, 8192) == -1) {
                return -1;
            }
            return this.f2653a.f2654a.m4764a(bArr, i, i2);
        }

        public int available() {
            if (!this.f2653a.f2656c) {
                return (int) Math.min(this.f2653a.f2654a.f2624b, 2147483647L);
            }
            throw new IOException("closed");
        }

        public void close() {
            this.f2653a.close();
        }

        public String toString() {
            return this.f2653a + ".inputStream()";
        }
    }

    C1142n(C0946s c0946s) {
        this.f2654a = new C1129c();
        if (c0946s == null) {
            throw new NullPointerException("source == null");
        }
        this.f2655b = c0946s;
    }

    public C1129c m4889b() {
        return this.f2654a;
    }

    public long read(C1129c c1129c, long j) {
        if (c1129c == null) {
            throw new IllegalArgumentException("sink == null");
        } else if (j < 0) {
            throw new IllegalArgumentException("byteCount < 0: " + j);
        } else if (this.f2656c) {
            throw new IllegalStateException("closed");
        } else if (this.f2654a.f2624b == 0 && this.f2655b.read(this.f2654a, 8192) == -1) {
            return -1;
        } else {
            return this.f2654a.read(c1129c, Math.min(j, this.f2654a.f2624b));
        }
    }

    public boolean m4892e() {
        if (!this.f2656c) {
            return this.f2654a.m4798e() && this.f2655b.read(this.f2654a, 8192) == -1;
        } else {
            throw new IllegalStateException("closed");
        }
    }

    public void m4888a(long j) {
        if (!m4890b(j)) {
            throw new EOFException();
        }
    }

    public boolean m4890b(long j) {
        if (j < 0) {
            throw new IllegalArgumentException("byteCount < 0: " + j);
        } else if (this.f2656c) {
            throw new IllegalStateException("closed");
        } else {
            while (this.f2654a.f2624b < j) {
                if (this.f2655b.read(this.f2654a, 8192) == -1) {
                    return false;
                }
            }
            return true;
        }
    }

    public byte m4896h() {
        m4888a(1);
        return this.f2654a.m4805h();
    }

    public C1130f m4891c(long j) {
        m4888a(j);
        return this.f2654a.m4791c(j);
    }

    public byte[] m4903q() {
        this.f2654a.m4769a(this.f2655b);
        return this.f2654a.m4820q();
    }

    public byte[] m4894f(long j) {
        m4888a(j);
        return this.f2654a.m4801f(j);
    }

    public long m4887a(C0954r c0954r) {
        if (c0954r == null) {
            throw new IllegalArgumentException("sink == null");
        }
        long j = 0;
        while (this.f2655b.read(this.f2654a, 8192) != -1) {
            long g = this.f2654a.m4802g();
            if (g > 0) {
                j += g;
                c0954r.m3815a(this.f2654a, g);
            }
        }
        if (this.f2654a.m4765a() <= 0) {
            return j;
        }
        j += this.f2654a.m4765a();
        c0954r.m3815a(this.f2654a, this.f2654a.m4765a());
        return j;
    }

    public String m4902p() {
        long a = m4885a((byte) 10);
        if (a != -1) {
            return this.f2654a.m4797e(a);
        }
        C1129c c1129c = new C1129c();
        this.f2654a.m4771a(c1129c, 0, Math.min(32, this.f2654a.m4765a()));
        throw new EOFException("\\n not found: size=" + this.f2654a.m4765a() + " content=" + c1129c.m4817n().m4837c() + "\u2026");
    }

    public short m4897i() {
        m4888a(2);
        return this.f2654a.m4810i();
    }

    public short m4899k() {
        m4888a(2);
        return this.f2654a.m4814k();
    }

    public int m4898j() {
        m4888a(4);
        return this.f2654a.m4811j();
    }

    public int m4900l() {
        m4888a(4);
        return this.f2654a.m4815l();
    }

    public long m4901m() {
        m4888a(1);
        for (int i = 0; m4890b((long) (i + 1)); i++) {
            byte b = this.f2654a.m4781b((long) i);
            if ((b < 48 || b > 57) && ((b < 97 || b > 102) && (b < 65 || b > 70))) {
                if (i == 0) {
                    throw new NumberFormatException(String.format("Expected leading [0-9a-fA-F] character but was %#x", new Object[]{Byte.valueOf(b)}));
                }
                return this.f2654a.m4816m();
            }
        }
        return this.f2654a.m4816m();
    }

    public void m4895g(long j) {
        if (this.f2656c) {
            throw new IllegalStateException("closed");
        }
        while (j > 0) {
            if (this.f2654a.f2624b == 0 && this.f2655b.read(this.f2654a, 8192) == -1) {
                throw new EOFException();
            }
            long min = Math.min(j, this.f2654a.m4765a());
            this.f2654a.m4804g(min);
            j -= min;
        }
    }

    public long m4885a(byte b) {
        return m4886a(b, 0);
    }

    public long m4886a(byte b, long j) {
        if (this.f2656c) {
            throw new IllegalStateException("closed");
        }
        while (true) {
            long a = this.f2654a.m4767a(b, j);
            if (a != -1) {
                return a;
            }
            a = this.f2654a.f2624b;
            if (this.f2655b.read(this.f2654a, 8192) == -1) {
                return -1;
            }
            j = Math.max(j, a);
        }
    }

    public InputStream m4893f() {
        return new C11411(this);
    }

    public void close() {
        if (!this.f2656c) {
            this.f2656c = true;
            this.f2655b.close();
            this.f2654a.m4821r();
        }
    }

    public C0993t timeout() {
        return this.f2655b.timeout();
    }

    public String toString() {
        return "buffer(" + this.f2655b + ")";
    }
}
<file_sep>/p015b/C1107u.java
package p015b;

import java.nio.charset.Charset;
import java.util.Locale;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

/* renamed from: b.u */
public final class C1107u {
    private static final Pattern f2515a;
    private static final Pattern f2516b;
    private final String f2517c;
    private final String f2518d;
    private final String f2519e;
    private final String f2520f;

    static {
        f2515a = Pattern.compile("([a-zA-Z0-9-!#$%&'*+.^_`{|}~]+)/([a-zA-Z0-9-!#$%&'*+.^_`{|}~]+)");
        f2516b = Pattern.compile(";\\s*(?:([a-zA-Z0-9-!#$%&'*+.^_`{|}~]+)=(?:([a-zA-Z0-9-!#$%&'*+.^_`{|}~]+)|\"([^\"]*)\"))?");
    }

    private C1107u(String str, String str2, String str3, String str4) {
        this.f2517c = str;
        this.f2518d = str2;
        this.f2519e = str3;
        this.f2520f = str4;
    }

    public static C1107u m4632a(String str) {
        Matcher matcher = f2515a.matcher(str);
        if (!matcher.lookingAt()) {
            return null;
        }
        String toLowerCase = matcher.group(1).toLowerCase(Locale.US);
        String toLowerCase2 = matcher.group(2).toLowerCase(Locale.US);
        Matcher matcher2 = f2516b.matcher(str);
        String str2 = null;
        for (int end = matcher.end(); end < str.length(); end = matcher2.end()) {
            matcher2.region(end, str.length());
            if (!matcher2.lookingAt()) {
                return null;
            }
            String group = matcher2.group(1);
            if (group != null && group.equalsIgnoreCase("charset")) {
                if (matcher2.group(2) != null) {
                    group = matcher2.group(2);
                } else {
                    group = matcher2.group(3);
                }
                if (str2 == null || group.equalsIgnoreCase(str2)) {
                    str2 = group;
                } else {
                    throw new IllegalArgumentException("Multiple different charsets: " + str);
                }
            }
        }
        return new C1107u(str, toLowerCase, toLowerCase2, str2);
    }

    public String m4633a() {
        return this.f2518d;
    }

    public Charset m4635b() {
        return this.f2520f != null ? Charset.forName(this.f2520f) : null;
    }

    public Charset m4634a(Charset charset) {
        return this.f2520f != null ? Charset.forName(this.f2520f) : charset;
    }

    public String toString() {
        return this.f2517c;
    }

    public boolean equals(Object obj) {
        return (obj instanceof C1107u) && ((C1107u) obj).f2517c.equals(this.f2517c);
    }

    public int hashCode() {
        return this.f2517c.hashCode();
    }
}
<file_sep>/p018c/C1131g.java
package p018c;

import java.util.zip.Deflater;
import org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement;

/* renamed from: c.g */
public final class C1131g implements C0954r {
    private final C1127d f2630a;
    private final Deflater f2631b;
    private boolean f2632c;

    public C1131g(C0954r c0954r, Deflater deflater) {
        this(C1138l.m4860a(c0954r), deflater);
    }

    C1131g(C1127d c1127d, Deflater deflater) {
        if (c1127d == null) {
            throw new IllegalArgumentException("source == null");
        } else if (deflater == null) {
            throw new IllegalArgumentException("inflater == null");
        } else {
            this.f2630a = c1127d;
            this.f2631b = deflater;
        }
    }

    public void m4843a(C1129c c1129c, long j) {
        C1147u.m4929a(c1129c.f2624b, 0, j);
        while (j > 0) {
            C1143o c1143o = c1129c.f2623a;
            int min = (int) Math.min(j, (long) (c1143o.f2659c - c1143o.f2658b));
            this.f2631b.setInput(c1143o.f2657a, c1143o.f2658b, min);
            m4841a(false);
            c1129c.f2624b -= (long) min;
            c1143o.f2658b += min;
            if (c1143o.f2658b == c1143o.f2659c) {
                c1129c.f2623a = c1143o.m4904a();
                C1144p.m4910a(c1143o);
            }
            j -= (long) min;
        }
    }

    @IgnoreJRERequirement
    private void m4841a(boolean z) {
        C1129c b = this.f2630a.m4735b();
        while (true) {
            int deflate;
            C1143o e = b.m4796e(1);
            if (z) {
                deflate = this.f2631b.deflate(e.f2657a, e.f2659c, 8192 - e.f2659c, 2);
            } else {
                deflate = this.f2631b.deflate(e.f2657a, e.f2659c, 8192 - e.f2659c);
            }
            if (deflate > 0) {
                e.f2659c += deflate;
                b.f2624b += (long) deflate;
                this.f2630a.m4746u();
            } else if (this.f2631b.needsInput()) {
                break;
            }
        }
        if (e.f2658b == e.f2659c) {
            b.f2623a = e.m4904a();
            C1144p.m4910a(e);
        }
    }

    public void flush() {
        m4841a(true);
        this.f2630a.flush();
    }

    void m4842a() {
        this.f2631b.finish();
        m4841a(false);
    }

    public void close() {
        if (!this.f2632c) {
            Throwable th;
            Throwable th2 = null;
            try {
                m4842a();
            } catch (Throwable th3) {
                th2 = th3;
            }
            try {
                this.f2631b.end();
                th = th2;
            } catch (Throwable th4) {
                th = th4;
                if (th2 != null) {
                    th = th2;
                }
            }
            try {
                this.f2630a.close();
            } catch (Throwable th22) {
                if (th == null) {
                    th = th22;
                }
            }
            this.f2632c = true;
            if (th != null) {
                C1147u.m4930a(th);
            }
        }
    }

    public C0993t timeout() {
        return this.f2630a.timeout();
    }

    public String toString() {
        return "DeflaterSink(" + this.f2630a + ")";
    }
}
<file_sep>/p015b/ab.java
package p015b;

import android.support.v7.widget.helper.ItemTouchHelper.Callback;
import java.io.Closeable;
import p015b.C1102r.C1101a;

/* renamed from: b.ab */
public final class ab implements Closeable {
    private final C1120z f2327a;
    private final C1114x f2328b;
    private final int f2329c;
    private final String f2330d;
    private final C1099q f2331e;
    private final C1102r f2332f;
    private final ac f2333g;
    private final ab f2334h;
    private final ab f2335i;
    private final ab f2336j;
    private final long f2337k;
    private final long f2338l;
    private volatile C1076d f2339m;

    /* renamed from: b.ab.a */
    public static class C1069a {
        private C1120z f2315a;
        private C1114x f2316b;
        private int f2317c;
        private String f2318d;
        private C1099q f2319e;
        private C1101a f2320f;
        private ac f2321g;
        private ab f2322h;
        private ab f2323i;
        private ab f2324j;
        private long f2325k;
        private long f2326l;

        public C1069a() {
            this.f2317c = -1;
            this.f2320f = new C1101a();
        }

        private C1069a(ab abVar) {
            this.f2317c = -1;
            this.f2315a = abVar.f2327a;
            this.f2316b = abVar.f2328b;
            this.f2317c = abVar.f2329c;
            this.f2318d = abVar.f2330d;
            this.f2319e = abVar.f2331e;
            this.f2320f = abVar.f2332f.m4573c();
            this.f2321g = abVar.f2333g;
            this.f2322h = abVar.f2334h;
            this.f2323i = abVar.f2335i;
            this.f2324j = abVar.f2336j;
            this.f2325k = abVar.f2337k;
            this.f2326l = abVar.f2338l;
        }

        public C1069a m4427a(C1120z c1120z) {
            this.f2315a = c1120z;
            return this;
        }

        public C1069a m4426a(C1114x c1114x) {
            this.f2316b = c1114x;
            return this;
        }

        public C1069a m4420a(int i) {
            this.f2317c = i;
            return this;
        }

        public C1069a m4428a(String str) {
            this.f2318d = str;
            return this;
        }

        public C1069a m4424a(C1099q c1099q) {
            this.f2319e = c1099q;
            return this;
        }

        public C1069a m4429a(String str, String str2) {
            this.f2320f.m4564c(str, str2);
            return this;
        }

        public C1069a m4433b(String str, String str2) {
            this.f2320f.m4560a(str, str2);
            return this;
        }

        public C1069a m4425a(C1102r c1102r) {
            this.f2320f = c1102r.m4573c();
            return this;
        }

        public C1069a m4423a(ac acVar) {
            this.f2321g = acVar;
            return this;
        }

        public C1069a m4422a(ab abVar) {
            if (abVar != null) {
                m4407a("networkResponse", abVar);
            }
            this.f2322h = abVar;
            return this;
        }

        public C1069a m4432b(ab abVar) {
            if (abVar != null) {
                m4407a("cacheResponse", abVar);
            }
            this.f2323i = abVar;
            return this;
        }

        private void m4407a(String str, ab abVar) {
            if (abVar.f2333g != null) {
                throw new IllegalArgumentException(str + ".body != null");
            } else if (abVar.f2334h != null) {
                throw new IllegalArgumentException(str + ".networkResponse != null");
            } else if (abVar.f2335i != null) {
                throw new IllegalArgumentException(str + ".cacheResponse != null");
            } else if (abVar.f2336j != null) {
                throw new IllegalArgumentException(str + ".priorResponse != null");
            }
        }

        public C1069a m4434c(ab abVar) {
            if (abVar != null) {
                m4411d(abVar);
            }
            this.f2324j = abVar;
            return this;
        }

        private void m4411d(ab abVar) {
            if (abVar.f2333g != null) {
                throw new IllegalArgumentException("priorResponse.body != null");
            }
        }

        public C1069a m4421a(long j) {
            this.f2325k = j;
            return this;
        }

        public C1069a m4431b(long j) {
            this.f2326l = j;
            return this;
        }

        public ab m4430a() {
            if (this.f2315a == null) {
                throw new IllegalStateException("request == null");
            } else if (this.f2316b == null) {
                throw new IllegalStateException("protocol == null");
            } else if (this.f2317c >= 0) {
                return new ab();
            } else {
                throw new IllegalStateException("code < 0: " + this.f2317c);
            }
        }
    }

    private ab(C1069a c1069a) {
        this.f2327a = c1069a.f2315a;
        this.f2328b = c1069a.f2316b;
        this.f2329c = c1069a.f2317c;
        this.f2330d = c1069a.f2318d;
        this.f2331e = c1069a.f2319e;
        this.f2332f = c1069a.f2320f.m4561a();
        this.f2333g = c1069a.f2321g;
        this.f2334h = c1069a.f2322h;
        this.f2335i = c1069a.f2323i;
        this.f2336j = c1069a.f2324j;
        this.f2337k = c1069a.f2325k;
        this.f2338l = c1069a.f2326l;
    }

    public C1120z m4447a() {
        return this.f2327a;
    }

    public int m4450b() {
        return this.f2329c;
    }

    public boolean m4451c() {
        return this.f2329c >= Callback.DEFAULT_DRAG_ANIMATION_DURATION && this.f2329c < 300;
    }

    public String m4452d() {
        return this.f2330d;
    }

    public C1099q m4453e() {
        return this.f2331e;
    }

    public String m4448a(String str) {
        return m4449a(str, null);
    }

    public String m4449a(String str, String str2) {
        String a = this.f2332f.m4569a(str);
        return a != null ? a : str2;
    }

    public C1102r m4454f() {
        return this.f2332f;
    }

    public ac m4455g() {
        return this.f2333g;
    }

    public C1069a m4456h() {
        return new C1069a();
    }

    public C1076d m4457i() {
        C1076d c1076d = this.f2339m;
        if (c1076d != null) {
            return c1076d;
        }
        c1076d = C1076d.m4471a(this.f2332f);
        this.f2339m = c1076d;
        return c1076d;
    }

    public long m4458j() {
        return this.f2337k;
    }

    public long m4459k() {
        return this.f2338l;
    }

    public void close() {
        this.f2333g.close();
    }

    public String toString() {
        return "Response{protocol=" + this.f2328b + ", code=" + this.f2329c + ", message=" + this.f2330d + ", url=" + this.f2327a.m4723a() + '}';
    }
}
<file_sep>/p018c/C1010h.java
package p018c;

/* renamed from: c.h */
public abstract class C1010h implements C0946s {
    private final C0946s delegate;

    public C1010h(C0946s c0946s) {
        if (c0946s == null) {
            throw new IllegalArgumentException("delegate == null");
        }
        this.delegate = c0946s;
    }

    public final C0946s delegate() {
        return this.delegate;
    }

    public long read(C1129c c1129c, long j) {
        return this.delegate.read(c1129c, j);
    }

    public C0993t timeout() {
        return this.delegate.timeout();
    }

    public void close() {
        this.delegate.close();
    }

    public String toString() {
        return getClass().getSimpleName() + "(" + this.delegate.toString() + ")";
    }
}
<file_sep>/retrofit2/ExecutorCallAdapterFactory.java
package retrofit2;

import java.io.IOException;
import java.lang.annotation.Annotation;
import java.lang.reflect.Type;
import java.util.concurrent.Executor;
import p015b.C1120z;
import retrofit2.CallAdapter.Factory;

final class ExecutorCallAdapterFactory extends Factory {
    final Executor callbackExecutor;

    /* renamed from: retrofit2.ExecutorCallAdapterFactory.1 */
    class C57231 implements CallAdapter<Call<?>> {
        final /* synthetic */ Type val$responseType;

        C57231(Type type) {
            this.val$responseType = type;
        }

        public Type responseType() {
            return this.val$responseType;
        }

        public <R> Call<R> adapt(Call<R> call) {
            return new ExecutorCallbackCall(ExecutorCallAdapterFactory.this.callbackExecutor, call);
        }
    }

    static final class ExecutorCallbackCall<T> implements Call<T> {
        final Executor callbackExecutor;
        final Call<T> delegate;

        /* renamed from: retrofit2.ExecutorCallAdapterFactory.ExecutorCallbackCall.1 */
        class C57261 implements Callback<T> {
            final /* synthetic */ Callback val$callback;

            /* renamed from: retrofit2.ExecutorCallAdapterFactory.ExecutorCallbackCall.1.1 */
            class C57241 implements Runnable {
                final /* synthetic */ Response val$response;

                C57241(Response response) {
                    this.val$response = response;
                }

                public void run() {
                    if (ExecutorCallbackCall.this.delegate.isCanceled()) {
                        C57261.this.val$callback.onFailure(ExecutorCallbackCall.this, new IOException("Canceled"));
                    } else {
                        C57261.this.val$callback.onResponse(ExecutorCallbackCall.this, this.val$response);
                    }
                }
            }

            /* renamed from: retrofit2.ExecutorCallAdapterFactory.ExecutorCallbackCall.1.2 */
            class C57252 implements Runnable {
                final /* synthetic */ Throwable val$t;

                C57252(Throwable th) {
                    this.val$t = th;
                }

                public void run() {
                    C57261.this.val$callback.onFailure(ExecutorCallbackCall.this, this.val$t);
                }
            }

            C57261(Callback callback) {
                this.val$callback = callback;
            }

            public void onResponse(Call<T> call, Response<T> response) {
                ExecutorCallbackCall.this.callbackExecutor.execute(new C57241(response));
            }

            public void onFailure(Call<T> call, Throwable th) {
                ExecutorCallbackCall.this.callbackExecutor.execute(new C57252(th));
            }
        }

        ExecutorCallbackCall(Executor executor, Call<T> call) {
            this.callbackExecutor = executor;
            this.delegate = call;
        }

        public void enqueue(Callback<T> callback) {
            if (callback == null) {
                throw new NullPointerException("callback == null");
            }
            this.delegate.enqueue(new C57261(callback));
        }

        public boolean isExecuted() {
            return this.delegate.isExecuted();
        }

        public Response<T> execute() {
            return this.delegate.execute();
        }

        public void cancel() {
            this.delegate.cancel();
        }

        public boolean isCanceled() {
            return this.delegate.isCanceled();
        }

        public Call<T> clone() {
            return new ExecutorCallbackCall(this.callbackExecutor, this.delegate.clone());
        }

        public C1120z request() {
            return this.delegate.request();
        }
    }

    ExecutorCallAdapterFactory(Executor executor) {
        this.callbackExecutor = executor;
    }

    public CallAdapter<Call<?>> get(Type type, Annotation[] annotationArr, Retrofit retrofit) {
        if (Factory.getRawType(type) != Call.class) {
            return null;
        }
        return new C57231(Utils.getCallResponseType(type));
    }
}
<file_sep>/p018c/C1143o.java
package p018c;

/* renamed from: c.o */
final class C1143o {
    final byte[] f2657a;
    int f2658b;
    int f2659c;
    boolean f2660d;
    boolean f2661e;
    C1143o f2662f;
    C1143o f2663g;

    C1143o() {
        this.f2657a = new byte[8192];
        this.f2661e = true;
        this.f2660d = false;
    }

    C1143o(C1143o c1143o) {
        this(c1143o.f2657a, c1143o.f2658b, c1143o.f2659c);
        c1143o.f2660d = true;
    }

    C1143o(byte[] bArr, int i, int i2) {
        this.f2657a = bArr;
        this.f2658b = i;
        this.f2659c = i2;
        this.f2661e = false;
        this.f2660d = true;
    }

    public C1143o m4904a() {
        C1143o c1143o = this.f2662f != this ? this.f2662f : null;
        this.f2663g.f2662f = this.f2662f;
        this.f2662f.f2663g = this.f2663g;
        this.f2662f = null;
        this.f2663g = null;
        return c1143o;
    }

    public C1143o m4906a(C1143o c1143o) {
        c1143o.f2663g = this;
        c1143o.f2662f = this.f2662f;
        this.f2662f.f2663g = c1143o;
        this.f2662f = c1143o;
        return c1143o;
    }

    public C1143o m4905a(int i) {
        if (i <= 0 || i > this.f2659c - this.f2658b) {
            throw new IllegalArgumentException();
        }
        C1143o c1143o;
        if (i >= 1024) {
            c1143o = new C1143o(this);
        } else {
            c1143o = C1144p.m4909a();
            System.arraycopy(this.f2657a, this.f2658b, c1143o.f2657a, 0, i);
        }
        c1143o.f2659c = c1143o.f2658b + i;
        this.f2658b += i;
        this.f2663g.m4906a(c1143o);
        return c1143o;
    }

    public void m4908b() {
        if (this.f2663g == this) {
            throw new IllegalStateException();
        } else if (this.f2663g.f2661e) {
            int i = this.f2659c - this.f2658b;
            if (i <= (this.f2663g.f2660d ? 0 : this.f2663g.f2658b) + (8192 - this.f2663g.f2659c)) {
                m4907a(this.f2663g, i);
                m4904a();
                C1144p.m4910a(this);
            }
        }
    }

    public void m4907a(C1143o c1143o, int i) {
        if (c1143o.f2661e) {
            if (c1143o.f2659c + i > 8192) {
                if (c1143o.f2660d) {
                    throw new IllegalArgumentException();
                } else if ((c1143o.f2659c + i) - c1143o.f2658b > 8192) {
                    throw new IllegalArgumentException();
                } else {
                    System.arraycopy(c1143o.f2657a, c1143o.f2658b, c1143o.f2657a, 0, c1143o.f2659c - c1143o.f2658b);
                    c1143o.f2659c -= c1143o.f2658b;
                    c1143o.f2658b = 0;
                }
            }
            System.arraycopy(this.f2657a, this.f2658b, c1143o.f2657a, c1143o.f2659c, i);
            c1143o.f2659c += i;
            this.f2658b += i;
            return;
        }
        throw new IllegalArgumentException();
    }
}
<file_sep>/retrofit2/RequestBuilder.java
package retrofit2;

import p015b.C1098p.C1097a;
import p015b.C1102r;
import p015b.C1106s;
import p015b.C1106s.C1105a;
import p015b.C1107u;
import p015b.C1110v;
import p015b.C1110v.C1108a;
import p015b.C1110v.C1109b;
import p015b.C1120z;
import p015b.C1120z.C1119a;
import p015b.aa;
import p018c.C1127d;
import p018c.C1129c;

final class RequestBuilder {
    private static final char[] HEX_DIGITS;
    private static final String PATH_SEGMENT_ALWAYS_ENCODE_SET = " \"<>^`{}|\\?#";
    private final C1106s baseUrl;
    private aa body;
    private C1107u contentType;
    private C1097a formBuilder;
    private final boolean hasBody;
    private final String method;
    private C1108a multipartBuilder;
    private String relativeUrl;
    private final C1119a requestBuilder;
    private C1105a urlBuilder;

    private static class ContentTypeOverridingRequestBody extends aa {
        private final C1107u contentType;
        private final aa delegate;

        ContentTypeOverridingRequestBody(aa aaVar, C1107u c1107u) {
            this.delegate = aaVar;
            this.contentType = c1107u;
        }

        public C1107u contentType() {
            return this.contentType;
        }

        public long contentLength() {
            return this.delegate.contentLength();
        }

        public void writeTo(C1127d c1127d) {
            this.delegate.writeTo(c1127d);
        }
    }

    static {
        HEX_DIGITS = new char[]{'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'};
    }

    RequestBuilder(String str, C1106s c1106s, String str2, C1102r c1102r, C1107u c1107u, boolean z, boolean z2, boolean z3) {
        this.method = str;
        this.baseUrl = c1106s;
        this.relativeUrl = str2;
        this.requestBuilder = new C1119a();
        this.contentType = c1107u;
        this.hasBody = z;
        if (c1102r != null) {
            this.requestBuilder.m4707a(c1102r);
        }
        if (z2) {
            this.formBuilder = new C1097a();
        } else if (z3) {
            this.multipartBuilder = new C1108a();
            this.multipartBuilder.m4637a(C1110v.f2530e);
        }
    }

    void setRelativeUrl(Object obj) {
        if (obj == null) {
            throw new NullPointerException("@Url parameter is null.");
        }
        this.relativeUrl = obj.toString();
    }

    void addHeader(String str, String str2) {
        if ("Content-Type".equalsIgnoreCase(str)) {
            C1107u a = C1107u.m4632a(str2);
            if (a == null) {
                throw new IllegalArgumentException("Malformed content type: " + str2);
            }
            this.contentType = a;
            return;
        }
        this.requestBuilder.m4715b(str, str2);
    }

    void addPathParam(String str, String str2, boolean z) {
        if (this.relativeUrl == null) {
            throw new AssertionError();
        }
        this.relativeUrl = this.relativeUrl.replace("{" + str + "}", canonicalizeForPath(str2, z));
    }

    private static String canonicalizeForPath(String str, boolean z) {
        int length = str.length();
        int i = 0;
        while (i < length) {
            int codePointAt = str.codePointAt(i);
            if (codePointAt < 32 || codePointAt >= 127 || PATH_SEGMENT_ALWAYS_ENCODE_SET.indexOf(codePointAt) != -1 || (!z && (codePointAt == 47 || codePointAt == 37))) {
                C1129c c1129c = new C1129c();
                c1129c.m4774a(str, 0, i);
                canonicalizeForPath(c1129c, str, i, length, z);
                return c1129c.m4818o();
            }
            i += Character.charCount(codePointAt);
        }
        return str;
    }

    private static void canonicalizeForPath(C1129c c1129c, String str, int i, int i2, boolean z) {
        C1129c c1129c2 = null;
        while (i < i2) {
            int codePointAt = str.codePointAt(i);
            if (!(z && (codePointAt == 9 || codePointAt == 10 || codePointAt == 12 || codePointAt == 13))) {
                if (codePointAt < 32 || codePointAt >= 127 || PATH_SEGMENT_ALWAYS_ENCODE_SET.indexOf(codePointAt) != -1 || (!z && (codePointAt == 47 || codePointAt == 37))) {
                    if (c1129c2 == null) {
                        c1129c2 = new C1129c();
                    }
                    c1129c2.m4770a(codePointAt);
                    while (!c1129c2.m4798e()) {
                        int h = c1129c2.m4805h() & 255;
                        c1129c.m4783b(37);
                        c1129c.m4783b(HEX_DIGITS[(h >> 4) & 15]);
                        c1129c.m4783b(HEX_DIGITS[h & 15]);
                    }
                } else {
                    c1129c.m4770a(codePointAt);
                }
            }
            i += Character.charCount(codePointAt);
        }
    }

    void addQueryParam(String str, String str2, boolean z) {
        if (this.relativeUrl != null) {
            this.urlBuilder = this.baseUrl.m4620d(this.relativeUrl);
            if (this.urlBuilder == null) {
                throw new IllegalArgumentException("Malformed URL. Base: " + this.baseUrl + ", Relative: " + this.relativeUrl);
            }
            this.relativeUrl = null;
        }
        if (z) {
            this.urlBuilder.m4596b(str, str2);
        } else {
            this.urlBuilder.m4593a(str, str2);
        }
    }

    void addFormField(String str, String str2, boolean z) {
        if (z) {
            this.formBuilder.m4552b(str, str2);
        } else {
            this.formBuilder.m4550a(str, str2);
        }
    }

    void addPart(C1102r c1102r, aa aaVar) {
        this.multipartBuilder.m4636a(c1102r, aaVar);
    }

    void addPart(C1109b c1109b) {
        this.multipartBuilder.m4638a(c1109b);
    }

    void setBody(aa aaVar) {
        this.body = aaVar;
    }

    C1120z build() {
        C1106s c;
        C1105a c1105a = this.urlBuilder;
        if (c1105a != null) {
            c = c1105a.m4598c();
        } else {
            c = this.baseUrl.m4618c(this.relativeUrl);
            if (c == null) {
                throw new IllegalArgumentException("Malformed URL. Base: " + this.baseUrl + ", Relative: " + this.relativeUrl);
            }
        }
        aa aaVar = this.body;
        if (aaVar == null) {
            if (this.formBuilder != null) {
                aaVar = this.formBuilder.m4551a();
            } else if (this.multipartBuilder != null) {
                aaVar = this.multipartBuilder.m4639a();
            } else if (this.hasBody) {
                aaVar = aa.create(null, new byte[0]);
            }
        }
        C1107u c1107u = this.contentType;
        if (c1107u != null) {
            if (aaVar != null) {
                aaVar = new ContentTypeOverridingRequestBody(aaVar, c1107u);
            } else {
                this.requestBuilder.m4715b("Content-Type", c1107u.toString());
            }
        }
        return this.requestBuilder.m4708a(c).m4710a(this.method, aaVar).m4717c();
    }
}
<file_sep>/p018c/C1133j.java
package p018c;

import java.io.EOFException;
import java.io.IOException;
import java.util.zip.CRC32;
import java.util.zip.Inflater;

/* renamed from: c.j */
public final class C1133j implements C0946s {
    private int f2634a;
    private final C1128e f2635b;
    private final Inflater f2636c;
    private final C1134k f2637d;
    private final CRC32 f2638e;

    public C1133j(C0946s c0946s) {
        this.f2634a = 0;
        this.f2638e = new CRC32();
        if (c0946s == null) {
            throw new IllegalArgumentException("source == null");
        }
        this.f2636c = new Inflater(true);
        this.f2635b = C1138l.m4861a(c0946s);
        this.f2637d = new C1134k(this.f2635b, this.f2636c);
    }

    public long read(C1129c c1129c, long j) {
        if (j < 0) {
            throw new IllegalArgumentException("byteCount < 0: " + j);
        } else if (j == 0) {
            return 0;
        } else {
            if (this.f2634a == 0) {
                m4851a();
                this.f2634a = 1;
            }
            if (this.f2634a == 1) {
                long j2 = c1129c.f2624b;
                long read = this.f2637d.read(c1129c, j);
                if (read != -1) {
                    m4852a(c1129c, j2, read);
                    return read;
                }
                this.f2634a = 2;
            }
            if (this.f2634a == 2) {
                m4854b();
                this.f2634a = 3;
                if (!this.f2635b.m4752e()) {
                    throw new IOException("gzip finished without exhausting source");
                }
            }
            return -1;
        }
    }

    private void m4851a() {
        Object obj;
        long a;
        this.f2635b.m4749a(10);
        byte b = this.f2635b.m4750b().m4781b(3);
        if (((b >> 1) & 1) == 1) {
            obj = 1;
        } else {
            obj = null;
        }
        if (obj != null) {
            m4852a(this.f2635b.m4750b(), 0, 10);
        }
        m4853a("ID1ID2", 8075, this.f2635b.m4757i());
        this.f2635b.m4755g(8);
        if (((b >> 2) & 1) == 1) {
            this.f2635b.m4749a(2);
            if (obj != null) {
                m4852a(this.f2635b.m4750b(), 0, 2);
            }
            short k = this.f2635b.m4750b().m4814k();
            this.f2635b.m4749a((long) k);
            if (obj != null) {
                m4852a(this.f2635b.m4750b(), 0, (long) k);
            }
            this.f2635b.m4755g((long) k);
        }
        if (((b >> 3) & 1) == 1) {
            a = this.f2635b.m4747a((byte) 0);
            if (a == -1) {
                throw new EOFException();
            }
            if (obj != null) {
                m4852a(this.f2635b.m4750b(), 0, 1 + a);
            }
            this.f2635b.m4755g(1 + a);
        }
        if (((b >> 4) & 1) == 1) {
            a = this.f2635b.m4747a((byte) 0);
            if (a == -1) {
                throw new EOFException();
            }
            if (obj != null) {
                m4852a(this.f2635b.m4750b(), 0, 1 + a);
            }
            this.f2635b.m4755g(1 + a);
        }
        if (obj != null) {
            m4853a("FHCRC", this.f2635b.m4759k(), (short) ((int) this.f2638e.getValue()));
            this.f2638e.reset();
        }
    }

    private void m4854b() {
        m4853a("CRC", this.f2635b.m4760l(), (int) this.f2638e.getValue());
        m4853a("ISIZE", this.f2635b.m4760l(), this.f2636c.getTotalOut());
    }

    public C0993t timeout() {
        return this.f2635b.timeout();
    }

    public void close() {
        this.f2637d.close();
    }

    private void m4852a(C1129c c1129c, long j, long j2) {
        C1143o c1143o = c1129c.f2623a;
        while (j >= ((long) (c1143o.f2659c - c1143o.f2658b))) {
            j -= (long) (c1143o.f2659c - c1143o.f2658b);
            c1143o = c1143o.f2662f;
        }
        while (j2 > 0) {
            int i = (int) (((long) c1143o.f2658b) + j);
            int min = (int) Math.min((long) (c1143o.f2659c - i), j2);
            this.f2638e.update(c1143o.f2657a, i, min);
            j2 -= (long) min;
            c1143o = c1143o.f2662f;
            j = 0;
        }
    }

    private void m4853a(String str, int i, int i2) {
        if (i2 != i) {
            throw new IOException(String.format("%s: actual 0x%08x != expected 0x%08x", new Object[]{str, Integer.valueOf(i2), Integer.valueOf(i)}));
        }
    }
}
<file_sep>/p018c/C1145q.java
package p018c;

import java.util.Arrays;

/* renamed from: c.q */
final class C1145q extends C1130f {
    final transient byte[][] f2666f;
    final transient int[] f2667g;

    C1145q(C1129c c1129c, int i) {
        int i2 = 0;
        super(null);
        C1147u.m4929a(c1129c.f2624b, 0, (long) i);
        C1143o c1143o = c1129c.f2623a;
        int i3 = 0;
        int i4 = 0;
        while (i4 < i) {
            if (c1143o.f2659c == c1143o.f2658b) {
                throw new AssertionError("s.limit == s.pos");
            }
            i4 += c1143o.f2659c - c1143o.f2658b;
            i3++;
            c1143o = c1143o.f2662f;
        }
        this.f2666f = new byte[i3][];
        this.f2667g = new int[(i3 * 2)];
        C1143o c1143o2 = c1129c.f2623a;
        i4 = 0;
        while (i2 < i) {
            this.f2666f[i4] = c1143o2.f2657a;
            int i5 = (c1143o2.f2659c - c1143o2.f2658b) + i2;
            if (i5 > i) {
                i5 = i;
            }
            this.f2667g[i4] = i5;
            this.f2667g[this.f2666f.length + i4] = c1143o2.f2658b;
            c1143o2.f2660d = true;
            i4++;
            c1143o2 = c1143o2.f2662f;
            i2 = i5;
        }
    }

    public String m4915a() {
        return m4912g().m4832a();
    }

    public String m4919b() {
        return m4912g().m4836b();
    }

    public String m4920c() {
        return m4912g().m4837c();
    }

    public C1130f m4921d() {
        return m4912g().m4838d();
    }

    public C1130f m4914a(int i, int i2) {
        return m4912g().m4831a(i, i2);
    }

    public byte m4913a(int i) {
        C1147u.m4929a((long) this.f2667g[this.f2666f.length - 1], (long) i, 1);
        int b = m4911b(i);
        return this.f2666f[b][(i - (b == 0 ? 0 : this.f2667g[b - 1])) + this.f2667g[this.f2666f.length + b]];
    }

    private int m4911b(int i) {
        int binarySearch = Arrays.binarySearch(this.f2667g, 0, this.f2666f.length, i + 1);
        return binarySearch >= 0 ? binarySearch : binarySearch ^ -1;
    }

    public int m4922e() {
        return this.f2667g[this.f2666f.length - 1];
    }

    public byte[] m4923f() {
        int i = 0;
        Object obj = new byte[this.f2667g[this.f2666f.length - 1]];
        int length = this.f2666f.length;
        int i2 = 0;
        while (i < length) {
            int i3 = this.f2667g[length + i];
            int i4 = this.f2667g[i];
            System.arraycopy(this.f2666f[i], i3, obj, i2, i4 - i2);
            i++;
            i2 = i4;
        }
        return obj;
    }

    void m4916a(C1129c c1129c) {
        int i = 0;
        int length = this.f2666f.length;
        int i2 = 0;
        while (i < length) {
            int i3 = this.f2667g[length + i];
            int i4 = this.f2667g[i];
            C1143o c1143o = new C1143o(this.f2666f[i], i3, (i3 + i4) - i2);
            if (c1129c.f2623a == null) {
                c1143o.f2663g = c1143o;
                c1143o.f2662f = c1143o;
                c1129c.f2623a = c1143o;
            } else {
                c1129c.f2623a.f2663g.m4906a(c1143o);
            }
            i++;
            i2 = i4;
        }
        c1129c.f2624b = ((long) i2) + c1129c.f2624b;
    }

    public boolean m4917a(int i, C1130f c1130f, int i2, int i3) {
        if (i < 0 || i > m4922e() - i3) {
            return false;
        }
        int b = m4911b(i);
        while (i3 > 0) {
            int i4 = b == 0 ? 0 : this.f2667g[b - 1];
            int min = Math.min(i3, ((this.f2667g[b] - i4) + i4) - i);
            if (!c1130f.m4835a(i2, this.f2666f[b], (i - i4) + this.f2667g[this.f2666f.length + b], min)) {
                return false;
            }
            i += min;
            i2 += min;
            i3 -= min;
            b++;
        }
        return true;
    }

    public boolean m4918a(int i, byte[] bArr, int i2, int i3) {
        if (i < 0 || i > m4922e() - i3 || i2 < 0 || i2 > bArr.length - i3) {
            return false;
        }
        int b = m4911b(i);
        while (i3 > 0) {
            int i4 = b == 0 ? 0 : this.f2667g[b - 1];
            int min = Math.min(i3, ((this.f2667g[b] - i4) + i4) - i);
            if (!C1147u.m4931a(this.f2666f[b], (i - i4) + this.f2667g[this.f2666f.length + b], bArr, i2, min)) {
                return false;
            }
            i += min;
            i2 += min;
            i3 -= min;
            b++;
        }
        return true;
    }

    private C1130f m4912g() {
        return new C1130f(m4923f());
    }

    public boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        boolean z;
        if ((obj instanceof C1130f) && ((C1130f) obj).m4839e() == m4922e() && m4917a(0, (C1130f) obj, 0, m4922e())) {
            z = true;
        } else {
            z = false;
        }
        return z;
    }

    public int hashCode() {
        int i = this.d;
        if (i == 0) {
            i = 1;
            int length = this.f2666f.length;
            int i2 = 0;
            int i3 = 0;
            while (i2 < length) {
                byte[] bArr = this.f2666f[i2];
                int i4 = this.f2667g[length + i2];
                int i5 = this.f2667g[i2];
                i3 = (i5 - i3) + i4;
                int i6 = i4;
                i4 = i;
                for (i = i6; i < i3; i++) {
                    i4 = (i4 * 31) + bArr[i];
                }
                i2++;
                i3 = i5;
                i = i4;
            }
            this.d = i;
        }
        return i;
    }

    public String toString() {
        return m4912g().toString();
    }

    private Object writeReplace() {
        return m4912g();
    }
}
<file_sep>/p018c/C1144p.java
package p018c;

/* renamed from: c.p */
final class C1144p {
    static C1143o f2664a;
    static long f2665b;

    private C1144p() {
    }

    static C1143o m4909a() {
        synchronized (C1144p.class) {
            if (f2664a != null) {
                C1143o c1143o = f2664a;
                f2664a = c1143o.f2662f;
                c1143o.f2662f = null;
                f2665b -= 8192;
                return c1143o;
            }
            return new C1143o();
        }
    }

    static void m4910a(C1143o c1143o) {
        if (c1143o.f2662f != null || c1143o.f2663g != null) {
            throw new IllegalArgumentException();
        } else if (!c1143o.f2660d) {
            synchronized (C1144p.class) {
                if (f2665b + 8192 > 65536) {
                    return;
                }
                f2665b += 8192;
                c1143o.f2662f = f2664a;
                c1143o.f2659c = 0;
                c1143o.f2658b = 0;
                f2664a = c1143o;
            }
        }
    }
}
<file_sep>/retrofit2/converter/gson/GsonRequestBodyConverter.java
package retrofit2.converter.gson;

import com.google.gson.C3676t;
import com.google.gson.Gson;
import com.google.gson.p110c.C3704c;
import java.io.OutputStreamWriter;
import java.nio.charset.Charset;
import p015b.C1107u;
import p015b.aa;
import p018c.C1129c;
import retrofit2.Converter;

final class GsonRequestBodyConverter<T> implements Converter<T, aa> {
    private static final C1107u MEDIA_TYPE;
    private static final Charset UTF_8;
    private final C3676t<T> adapter;
    private final Gson gson;

    static {
        MEDIA_TYPE = C1107u.m4632a("application/json; charset=UTF-8");
        UTF_8 = Charset.forName(HttpRequest.CHARSET);
    }

    GsonRequestBodyConverter(Gson gson, C3676t<T> c3676t) {
        this.gson = gson;
        this.adapter = c3676t;
    }

    public aa convert(T t) {
        C1129c c1129c = new C1129c();
        C3704c a = this.gson.m18168a(new OutputStreamWriter(c1129c.m4792c(), UTF_8));
        this.adapter.m18135a(a, t);
        a.close();
        return aa.create(MEDIA_TYPE, c1129c.m4817n());
    }
}
<file_sep>/p015b/C1084h.java
package p015b;

import com.zopim.android.sdk.api.C5264R;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;

/* renamed from: b.h */
public final class C1084h {
    public static final C1084h f2384A;
    public static final C1084h f2385B;
    public static final C1084h f2386C;
    public static final C1084h f2387D;
    public static final C1084h f2388E;
    public static final C1084h f2389F;
    public static final C1084h f2390G;
    public static final C1084h f2391H;
    public static final C1084h f2392I;
    public static final C1084h f2393J;
    public static final C1084h f2394K;
    public static final C1084h f2395L;
    public static final C1084h f2396M;
    public static final C1084h f2397N;
    public static final C1084h f2398O;
    public static final C1084h f2399P;
    public static final C1084h f2400Q;
    public static final C1084h f2401R;
    public static final C1084h f2402S;
    public static final C1084h f2403T;
    public static final C1084h f2404U;
    public static final C1084h f2405V;
    public static final C1084h f2406W;
    public static final C1084h f2407X;
    public static final C1084h f2408Y;
    public static final C1084h f2409Z;
    public static final C1084h f2410a;
    public static final C1084h aA;
    public static final C1084h aB;
    public static final C1084h aC;
    public static final C1084h aD;
    public static final C1084h aE;
    public static final C1084h aF;
    public static final C1084h aG;
    public static final C1084h aH;
    public static final C1084h aI;
    public static final C1084h aJ;
    public static final C1084h aK;
    public static final C1084h aL;
    public static final C1084h aM;
    public static final C1084h aN;
    public static final C1084h aO;
    public static final C1084h aP;
    public static final C1084h aQ;
    public static final C1084h aR;
    private static final ConcurrentMap<String, C1084h> aT;
    public static final C1084h aa;
    public static final C1084h ab;
    public static final C1084h ac;
    public static final C1084h ad;
    public static final C1084h ae;
    public static final C1084h af;
    public static final C1084h ag;
    public static final C1084h ah;
    public static final C1084h ai;
    public static final C1084h aj;
    public static final C1084h ak;
    public static final C1084h al;
    public static final C1084h am;
    public static final C1084h an;
    public static final C1084h ao;
    public static final C1084h ap;
    public static final C1084h aq;
    public static final C1084h ar;
    public static final C1084h as;
    public static final C1084h at;
    public static final C1084h au;
    public static final C1084h av;
    public static final C1084h aw;
    public static final C1084h ax;
    public static final C1084h ay;
    public static final C1084h az;
    public static final C1084h f2411b;
    public static final C1084h f2412c;
    public static final C1084h f2413d;
    public static final C1084h f2414e;
    public static final C1084h f2415f;
    public static final C1084h f2416g;
    public static final C1084h f2417h;
    public static final C1084h f2418i;
    public static final C1084h f2419j;
    public static final C1084h f2420k;
    public static final C1084h f2421l;
    public static final C1084h f2422m;
    public static final C1084h f2423n;
    public static final C1084h f2424o;
    public static final C1084h f2425p;
    public static final C1084h f2426q;
    public static final C1084h f2427r;
    public static final C1084h f2428s;
    public static final C1084h f2429t;
    public static final C1084h f2430u;
    public static final C1084h f2431v;
    public static final C1084h f2432w;
    public static final C1084h f2433x;
    public static final C1084h f2434y;
    public static final C1084h f2435z;
    final String aS;

    static {
        aT = new ConcurrentHashMap();
        f2410a = C1084h.m4496a("SSL_RSA_WITH_NULL_MD5", 1, 5246, 6, 10);
        f2411b = C1084h.m4496a("SSL_RSA_WITH_NULL_SHA", 2, 5246, 6, 10);
        f2412c = C1084h.m4496a("SSL_RSA_EXPORT_WITH_RC4_40_MD5", 3, 4346, 6, 10);
        f2413d = C1084h.m4496a("SSL_RSA_WITH_RC4_128_MD5", 4, 5246, 6, 10);
        f2414e = C1084h.m4496a("SSL_RSA_WITH_RC4_128_SHA", 5, 5246, 6, 10);
        f2415f = C1084h.m4496a("SSL_RSA_EXPORT_WITH_DES40_CBC_SHA", 8, 4346, 6, 10);
        f2416g = C1084h.m4496a("SSL_RSA_WITH_DES_CBC_SHA", 9, 5469, 6, 10);
        f2417h = C1084h.m4496a("SSL_RSA_WITH_3DES_EDE_CBC_SHA", 10, 5246, 6, 10);
        f2418i = C1084h.m4496a("SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA", 17, 4346, 6, 10);
        f2419j = C1084h.m4496a("SSL_DHE_DSS_WITH_DES_CBC_SHA", 18, 5469, 6, 10);
        f2420k = C1084h.m4496a("SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA", 19, 5246, 6, 10);
        f2421l = C1084h.m4496a("SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA", 20, 4346, 6, 10);
        f2422m = C1084h.m4496a("SSL_DHE_RSA_WITH_DES_CBC_SHA", 21, 5469, 6, 10);
        f2423n = C1084h.m4496a("SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA", 22, 5246, 6, 10);
        f2424o = C1084h.m4496a("SSL_DH_anon_EXPORT_WITH_RC4_40_MD5", 23, 4346, 6, 10);
        f2425p = C1084h.m4496a("SSL_DH_anon_WITH_RC4_128_MD5", 24, 5246, 6, 10);
        f2426q = C1084h.m4496a("SSL_DH_anon_EXPORT_WITH_DES40_CBC_SHA", 25, 4346, 6, 10);
        f2427r = C1084h.m4496a("SSL_DH_anon_WITH_DES_CBC_SHA", 26, 5469, 6, 10);
        f2428s = C1084h.m4496a("SSL_DH_anon_WITH_3DES_EDE_CBC_SHA", 27, 5246, 6, 10);
        f2429t = C1084h.m4496a("TLS_KRB5_WITH_DES_CBC_SHA", 30, 2712, 6, ActivityChooserViewAdapter.MAX_ACTIVITY_COUNT_UNLIMITED);
        f2430u = C1084h.m4496a("TLS_KRB5_WITH_3DES_EDE_CBC_SHA", 31, 2712, 6, ActivityChooserViewAdapter.MAX_ACTIVITY_COUNT_UNLIMITED);
        f2431v = C1084h.m4496a("TLS_KRB5_WITH_RC4_128_SHA", 32, 2712, 6, ActivityChooserViewAdapter.MAX_ACTIVITY_COUNT_UNLIMITED);
        f2432w = C1084h.m4496a("TLS_KRB5_WITH_DES_CBC_MD5", 34, 2712, 6, ActivityChooserViewAdapter.MAX_ACTIVITY_COUNT_UNLIMITED);
        f2433x = C1084h.m4496a("TLS_KRB5_WITH_3DES_EDE_CBC_MD5", 35, 2712, 6, ActivityChooserViewAdapter.MAX_ACTIVITY_COUNT_UNLIMITED);
        f2434y = C1084h.m4496a("TLS_KRB5_WITH_RC4_128_MD5", 36, 2712, 6, ActivityChooserViewAdapter.MAX_ACTIVITY_COUNT_UNLIMITED);
        f2435z = C1084h.m4496a("TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA", 38, 2712, 6, ActivityChooserViewAdapter.MAX_ACTIVITY_COUNT_UNLIMITED);
        f2384A = C1084h.m4496a("TLS_KRB5_EXPORT_WITH_RC4_40_SHA", 40, 2712, 6, ActivityChooserViewAdapter.MAX_ACTIVITY_COUNT_UNLIMITED);
        f2385B = C1084h.m4496a("TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5", 41, 2712, 6, ActivityChooserViewAdapter.MAX_ACTIVITY_COUNT_UNLIMITED);
        f2386C = C1084h.m4496a("TLS_KRB5_EXPORT_WITH_RC4_40_MD5", 43, 2712, 6, ActivityChooserViewAdapter.MAX_ACTIVITY_COUNT_UNLIMITED);
        f2387D = C1084h.m4496a("TLS_RSA_WITH_AES_128_CBC_SHA", 47, 5246, 6, 10);
        f2388E = C1084h.m4496a("TLS_DHE_DSS_WITH_AES_128_CBC_SHA", 50, 5246, 6, 10);
        f2389F = C1084h.m4496a("TLS_DHE_RSA_WITH_AES_128_CBC_SHA", 51, 5246, 6, 10);
        f2390G = C1084h.m4496a("TLS_DH_anon_WITH_AES_128_CBC_SHA", 52, 5246, 6, 10);
        f2391H = C1084h.m4496a("TLS_RSA_WITH_AES_256_CBC_SHA", 53, 5246, 6, 10);
        f2392I = C1084h.m4496a("TLS_DHE_DSS_WITH_AES_256_CBC_SHA", 56, 5246, 6, 10);
        f2393J = C1084h.m4496a("TLS_DHE_RSA_WITH_AES_256_CBC_SHA", 57, 5246, 6, 10);
        f2394K = C1084h.m4496a("TLS_DH_anon_WITH_AES_256_CBC_SHA", 58, 5246, 6, 10);
        f2395L = C1084h.m4496a("TLS_RSA_WITH_NULL_SHA256", 59, 5246, 7, 21);
        f2396M = C1084h.m4496a("TLS_RSA_WITH_AES_128_CBC_SHA256", 60, 5246, 7, 21);
        f2397N = C1084h.m4496a("TLS_RSA_WITH_AES_256_CBC_SHA256", 61, 5246, 7, 21);
        f2398O = C1084h.m4496a("TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", 64, 5246, 7, 21);
        f2399P = C1084h.m4496a("TLS_DHE_RSA_WITH_AES_128_CBC_SHA256", C5264R.styleable.AppCompatTheme_buttonStyleSmall, 5246, 7, 21);
        f2400Q = C1084h.m4496a("TLS_DHE_DSS_WITH_AES_256_CBC_SHA256", C5264R.styleable.AppCompatTheme_editTextStyle, 5246, 7, 21);
        f2401R = C1084h.m4496a("TLS_DHE_RSA_WITH_AES_256_CBC_SHA256", C5264R.styleable.AppCompatTheme_radioButtonStyle, 5246, 7, 21);
        f2402S = C1084h.m4496a("TLS_DH_anon_WITH_AES_128_CBC_SHA256", C5264R.styleable.AppCompatTheme_ratingBarStyle, 5246, 7, 21);
        f2403T = C1084h.m4496a("TLS_DH_anon_WITH_AES_256_CBC_SHA256", C5264R.styleable.AppCompatTheme_ratingBarStyleIndicator, 5246, 7, 21);
        f2404U = C1084h.m4496a("TLS_RSA_WITH_AES_128_GCM_SHA256", 156, 5288, 8, 21);
        f2405V = C1084h.m4496a("TLS_RSA_WITH_AES_256_GCM_SHA384", 157, 5288, 8, 21);
        f2406W = C1084h.m4496a("TLS_DHE_RSA_WITH_AES_128_GCM_SHA256", 158, 5288, 8, 21);
        f2407X = C1084h.m4496a("TLS_DHE_RSA_WITH_AES_256_GCM_SHA384", 159, 5288, 8, 21);
        f2408Y = C1084h.m4496a("TLS_DHE_DSS_WITH_AES_128_GCM_SHA256", 162, 5288, 8, 21);
        f2409Z = C1084h.m4496a("TLS_DHE_DSS_WITH_AES_256_GCM_SHA384", 163, 5288, 8, 21);
        aa = C1084h.m4496a("TLS_DH_anon_WITH_AES_128_GCM_SHA256", 166, 5288, 8, 21);
        ab = C1084h.m4496a("TLS_DH_anon_WITH_AES_256_GCM_SHA384", 167, 5288, 8, 21);
        ac = C1084h.m4496a("TLS_EMPTY_RENEGOTIATION_INFO_SCSV", 255, 5746, 6, 14);
        ad = C1084h.m4496a("TLS_ECDH_ECDSA_WITH_NULL_SHA", 49153, 4492, 7, 14);
        ae = C1084h.m4496a("TLS_ECDH_ECDSA_WITH_RC4_128_SHA", 49154, 4492, 7, 14);
        af = C1084h.m4496a("TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA", 49155, 4492, 7, 14);
        ag = C1084h.m4496a("TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA", 49156, 4492, 7, 14);
        ah = C1084h.m4496a("TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA", 49157, 4492, 7, 14);
        ai = C1084h.m4496a("TLS_ECDHE_ECDSA_WITH_NULL_SHA", 49158, 4492, 7, 14);
        aj = C1084h.m4496a("TLS_ECDHE_ECDSA_WITH_RC4_128_SHA", 49159, 4492, 7, 14);
        ak = C1084h.m4496a("TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA", 49160, 4492, 7, 14);
        al = C1084h.m4496a("TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", 49161, 4492, 7, 14);
        am = C1084h.m4496a("TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", 49162, 4492, 7, 14);
        an = C1084h.m4496a("TLS_ECDH_RSA_WITH_NULL_SHA", 49163, 4492, 7, 14);
        ao = C1084h.m4496a("TLS_ECDH_RSA_WITH_RC4_128_SHA", 49164, 4492, 7, 14);
        ap = C1084h.m4496a("TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA", 49165, 4492, 7, 14);
        aq = C1084h.m4496a("TLS_ECDH_RSA_WITH_AES_128_CBC_SHA", 49166, 4492, 7, 14);
        ar = C1084h.m4496a("TLS_ECDH_RSA_WITH_AES_256_CBC_SHA", 49167, 4492, 7, 14);
        as = C1084h.m4496a("TLS_ECDHE_RSA_WITH_NULL_SHA", 49168, 4492, 7, 14);
        at = C1084h.m4496a("TLS_ECDHE_RSA_WITH_RC4_128_SHA", 49169, 4492, 7, 14);
        au = C1084h.m4496a("TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA", 49170, 4492, 7, 14);
        av = C1084h.m4496a("TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", 49171, 4492, 7, 14);
        aw = C1084h.m4496a("TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", 49172, 4492, 7, 14);
        ax = C1084h.m4496a("TLS_ECDH_anon_WITH_NULL_SHA", 49173, 4492, 7, 14);
        ay = C1084h.m4496a("TLS_ECDH_anon_WITH_RC4_128_SHA", 49174, 4492, 7, 14);
        az = C1084h.m4496a("TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA", 49175, 4492, 7, 14);
        aA = C1084h.m4496a("TLS_ECDH_anon_WITH_AES_128_CBC_SHA", 49176, 4492, 7, 14);
        aB = C1084h.m4496a("TLS_ECDH_anon_WITH_AES_256_CBC_SHA", 49177, 4492, 7, 14);
        aC = C1084h.m4496a("TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", 49187, 5289, 7, 21);
        aD = C1084h.m4496a("TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", 49188, 5289, 7, 21);
        aE = C1084h.m4496a("TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256", 49189, 5289, 7, 21);
        aF = C1084h.m4496a("TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384", 49190, 5289, 7, 21);
        aG = C1084h.m4496a("TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256", 49191, 5289, 7, 21);
        aH = C1084h.m4496a("TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", 49192, 5289, 7, 21);
        aI = C1084h.m4496a("TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256", 49193, 5289, 7, 21);
        aJ = C1084h.m4496a("TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384", 49194, 5289, 7, 21);
        aK = C1084h.m4496a("TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", 49195, 5289, 8, 21);
        aL = C1084h.m4496a("TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", 49196, 5289, 8, 21);
        aM = C1084h.m4496a("TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256", 49197, 5289, 8, 21);
        aN = C1084h.m4496a("TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384", 49198, 5289, 8, 21);
        aO = C1084h.m4496a("TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", 49199, 5289, 8, 21);
        aP = C1084h.m4496a("TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", 49200, 5289, 8, 21);
        aQ = C1084h.m4496a("TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256", 49201, 5289, 8, 21);
        aR = C1084h.m4496a("TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384", 49202, 5289, 8, 21);
    }

    public static C1084h m4495a(String str) {
        C1084h c1084h = (C1084h) aT.get(str);
        if (c1084h != null) {
            return c1084h;
        }
        C1084h c1084h2 = new C1084h(str);
        c1084h = (C1084h) aT.putIfAbsent(str, c1084h2);
        if (c1084h == null) {
            return c1084h2;
        }
        return c1084h;
    }

    private C1084h(String str) {
        if (str == null) {
            throw new NullPointerException();
        }
        this.aS = str;
    }

    private static C1084h m4496a(String str, int i, int i2, int i3, int i4) {
        return C1084h.m4495a(str);
    }

    public String toString() {
        return this.aS;
    }
}
<file_sep>/p015b/C1090l.java
package p015b;

import io.card.payment.BuildConfig;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Collections;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.List;
import java.util.Locale;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import p015b.p016a.C1022c;
import p015b.p016a.p021d.C1037e;

/* renamed from: b.l */
public final class C1090l {
    private static final Pattern f2457a;
    private static final Pattern f2458b;
    private static final Pattern f2459c;
    private static final Pattern f2460d;
    private final String f2461e;
    private final String f2462f;
    private final long f2463g;
    private final String f2464h;
    private final String f2465i;
    private final boolean f2466j;
    private final boolean f2467k;
    private final boolean f2468l;
    private final boolean f2469m;

    static {
        f2457a = Pattern.compile("(\\d{2,4})[^\\d]*");
        f2458b = Pattern.compile("(?i)(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec).*");
        f2459c = Pattern.compile("(\\d{1,2})[^\\d]*");
        f2460d = Pattern.compile("(\\d{1,2}):(\\d{1,2}):(\\d{1,2})[^\\d]*");
    }

    private C1090l(String str, String str2, long j, String str3, String str4, boolean z, boolean z2, boolean z3, boolean z4) {
        this.f2461e = str;
        this.f2462f = str2;
        this.f2463g = j;
        this.f2464h = str3;
        this.f2465i = str4;
        this.f2466j = z;
        this.f2467k = z2;
        this.f2469m = z3;
        this.f2468l = z4;
    }

    public String m4532a() {
        return this.f2461e;
    }

    public String m4533b() {
        return this.f2462f;
    }

    private static boolean m4531b(C1106s c1106s, String str) {
        String f = c1106s.m4623f();
        if (f.equals(str)) {
            return true;
        }
        if (f.endsWith(str) && f.charAt((f.length() - str.length()) - 1) == '.' && !C1022c.m4244b(f)) {
            return true;
        }
        return false;
    }

    public static C1090l m4528a(C1106s c1106s, String str) {
        return C1090l.m4527a(System.currentTimeMillis(), c1106s, str);
    }

    static C1090l m4527a(long j, C1106s c1106s, String str) {
        int length = str.length();
        int a = C1022c.m4221a(str, 0, length, ';');
        int a2 = C1022c.m4221a(str, 0, a, '=');
        if (a2 == a) {
            return null;
        }
        String c = C1022c.m4245c(str, 0, a2);
        if (c.isEmpty()) {
            return null;
        }
        String substring;
        String c2 = C1022c.m4245c(str, a2 + 1, a);
        long j2 = 253402300799999L;
        long j3 = -1;
        String str2 = null;
        String str3 = null;
        boolean z = false;
        boolean z2 = false;
        boolean z3 = true;
        boolean z4 = false;
        a++;
        while (a < length) {
            long j4;
            int a3 = C1022c.m4221a(str, a, length, ';');
            int a4 = C1022c.m4221a(str, a, a3, '=');
            String c3 = C1022c.m4245c(str, a, a4);
            String c4 = a4 < a3 ? C1022c.m4245c(str, a4 + 1, a3) : BuildConfig.FLAVOR;
            if (c3.equalsIgnoreCase("expires")) {
                try {
                    j2 = C1090l.m4526a(c4, 0, c4.length());
                    z4 = true;
                    c4 = str2;
                    j4 = j2;
                } catch (IllegalArgumentException e) {
                    c4 = str2;
                    j4 = j2;
                }
            } else {
                if (c3.equalsIgnoreCase("max-age")) {
                    try {
                        j3 = C1090l.m4525a(c4);
                        z4 = true;
                        c4 = str2;
                        j4 = j2;
                    } catch (NumberFormatException e2) {
                        c4 = str2;
                        j4 = j2;
                    }
                } else {
                    if (c3.equalsIgnoreCase("domain")) {
                        try {
                            c4 = C1090l.m4530b(c4);
                            z3 = false;
                            j4 = j2;
                        } catch (IllegalArgumentException e3) {
                            c4 = str2;
                            j4 = j2;
                        }
                    } else {
                        if (c3.equalsIgnoreCase("path")) {
                            str3 = c4;
                            c4 = str2;
                            j4 = j2;
                        } else {
                            if (c3.equalsIgnoreCase("secure")) {
                                z = true;
                                c4 = str2;
                                j4 = j2;
                            } else {
                                if (c3.equalsIgnoreCase("httponly")) {
                                    z2 = true;
                                    c4 = str2;
                                    j4 = j2;
                                } else {
                                    c4 = str2;
                                    j4 = j2;
                                }
                            }
                        }
                    }
                }
            }
            String str4 = c4;
            a = a3 + 1;
            j2 = j4;
            str2 = str4;
        }
        if (j3 == Long.MIN_VALUE) {
            j3 = Long.MIN_VALUE;
        } else if (j3 != -1) {
            j3 = (j3 <= 9223372036854775L ? j3 * 1000 : Long.MAX_VALUE) + j;
            if (j3 < j || j3 > 253402300799999L) {
                j3 = 253402300799999L;
            }
        } else {
            j3 = j2;
        }
        if (str2 == null) {
            str2 = c1106s.m4623f();
        } else if (!C1090l.m4531b(c1106s, str2)) {
            return null;
        }
        if (str3 == null || !str3.startsWith("/")) {
            str3 = c1106s.m4625h();
            a = str3.lastIndexOf(47);
            substring = a != 0 ? str3.substring(0, a) : "/";
        } else {
            substring = str3;
        }
        return new C1090l(c, c2, j3, str2, substring, z, z2, z3, z4);
    }

    private static long m4526a(String str, int i, int i2) {
        int a = C1090l.m4524a(str, i, i2, false);
        int i3 = -1;
        int i4 = -1;
        int i5 = -1;
        int i6 = -1;
        int i7 = -1;
        int i8 = -1;
        Matcher matcher = f2460d.matcher(str);
        while (a < i2) {
            int a2 = C1090l.m4524a(str, a + 1, i2, true);
            matcher.region(a, a2);
            if (i3 == -1 && matcher.usePattern(f2460d).matches()) {
                i3 = Integer.parseInt(matcher.group(1));
                i4 = Integer.parseInt(matcher.group(2));
                i5 = Integer.parseInt(matcher.group(3));
            } else if (i6 == -1 && matcher.usePattern(f2459c).matches()) {
                i6 = Integer.parseInt(matcher.group(1));
            } else if (i7 == -1 && matcher.usePattern(f2458b).matches()) {
                i7 = f2458b.pattern().indexOf(matcher.group(1).toLowerCase(Locale.US)) / 4;
            } else if (i8 == -1 && matcher.usePattern(f2457a).matches()) {
                i8 = Integer.parseInt(matcher.group(1));
            }
            a = C1090l.m4524a(str, a2 + 1, i2, false);
        }
        if (i8 >= 70 && i8 <= 99) {
            i8 += 1900;
        }
        if (i8 >= 0 && i8 <= 69) {
            i8 += 2000;
        }
        if (i8 < 1601) {
            throw new IllegalArgumentException();
        } else if (i7 == -1) {
            throw new IllegalArgumentException();
        } else if (i6 < 1 || i6 > 31) {
            throw new IllegalArgumentException();
        } else if (i3 < 0 || i3 > 23) {
            throw new IllegalArgumentException();
        } else if (i4 < 0 || i4 > 59) {
            throw new IllegalArgumentException();
        } else if (i5 < 0 || i5 > 59) {
            throw new IllegalArgumentException();
        } else {
            Calendar gregorianCalendar = new GregorianCalendar(C1022c.f2198d);
            gregorianCalendar.setLenient(false);
            gregorianCalendar.set(1, i8);
            gregorianCalendar.set(2, i7 - 1);
            gregorianCalendar.set(5, i6);
            gregorianCalendar.set(11, i3);
            gregorianCalendar.set(12, i4);
            gregorianCalendar.set(13, i5);
            gregorianCalendar.set(14, 0);
            return gregorianCalendar.getTimeInMillis();
        }
    }

    private static int m4524a(String str, int i, int i2, boolean z) {
        for (int i3 = i; i3 < i2; i3++) {
            Object obj;
            char charAt = str.charAt(i3);
            Object obj2 = ((charAt >= ' ' || charAt == '\t') && charAt < '\u007f' && ((charAt < '0' || charAt > '9') && ((charAt < 'a' || charAt > 'z') && ((charAt < 'A' || charAt > 'Z') && charAt != ':')))) ? null : 1;
            if (z) {
                obj = null;
            } else {
                obj = 1;
            }
            if (obj2 == obj) {
                return i3;
            }
        }
        return i2;
    }

    private static long m4525a(String str) {
        try {
            long parseLong = Long.parseLong(str);
            if (parseLong <= 0) {
                return Long.MIN_VALUE;
            }
            return parseLong;
        } catch (NumberFormatException e) {
            if (!str.matches("-?\\d+")) {
                throw e;
            } else if (str.startsWith("-")) {
                return Long.MIN_VALUE;
            } else {
                return Long.MAX_VALUE;
            }
        }
    }

    private static String m4530b(String str) {
        if (str.endsWith(".")) {
            throw new IllegalArgumentException();
        }
        if (str.startsWith(".")) {
            str = str.substring(1);
        }
        String a = C1022c.m4226a(str);
        if (a != null) {
            return a;
        }
        throw new IllegalArgumentException();
    }

    public static List<C1090l> m4529a(C1106s c1106s, C1102r c1102r) {
        List c = c1102r.m4574c("Set-Cookie");
        List list = null;
        int size = c.size();
        for (int i = 0; i < size; i++) {
            C1090l a = C1090l.m4528a(c1106s, (String) c.get(i));
            if (a != null) {
                List arrayList;
                if (list == null) {
                    arrayList = new ArrayList();
                } else {
                    arrayList = list;
                }
                arrayList.add(a);
                list = arrayList;
            }
        }
        if (list != null) {
            return Collections.unmodifiableList(list);
        }
        return Collections.emptyList();
    }

    public String toString() {
        StringBuilder stringBuilder = new StringBuilder();
        stringBuilder.append(this.f2461e);
        stringBuilder.append('=');
        stringBuilder.append(this.f2462f);
        if (this.f2468l) {
            if (this.f2463g == Long.MIN_VALUE) {
                stringBuilder.append("; max-age=0");
            } else {
                stringBuilder.append("; expires=").append(C1037e.m4294a(new Date(this.f2463g)));
            }
        }
        if (!this.f2469m) {
            stringBuilder.append("; domain=").append(this.f2464h);
        }
        stringBuilder.append("; path=").append(this.f2465i);
        if (this.f2466j) {
            stringBuilder.append("; secure");
        }
        if (this.f2467k) {
            stringBuilder.append("; httponly");
        }
        return stringBuilder.toString();
    }

    public boolean equals(Object obj) {
        if (!(obj instanceof C1090l)) {
            return false;
        }
        C1090l c1090l = (C1090l) obj;
        if (c1090l.f2461e.equals(this.f2461e) && c1090l.f2462f.equals(this.f2462f) && c1090l.f2464h.equals(this.f2464h) && c1090l.f2465i.equals(this.f2465i) && c1090l.f2463g == this.f2463g && c1090l.f2466j == this.f2466j && c1090l.f2467k == this.f2467k && c1090l.f2468l == this.f2468l && c1090l.f2469m == this.f2469m) {
            return true;
        }
        return false;
    }

    public int hashCode() {
        int i;
        int i2 = 0;
        int hashCode = (((((((((this.f2461e.hashCode() + 527) * 31) + this.f2462f.hashCode()) * 31) + this.f2464h.hashCode()) * 31) + this.f2465i.hashCode()) * 31) + ((int) (this.f2463g ^ (this.f2463g >>> 32)))) * 31;
        if (this.f2466j) {
            i = 0;
        } else {
            i = 1;
        }
        hashCode = (i + hashCode) * 31;
        if (this.f2467k) {
            i = 0;
        } else {
            i = 1;
        }
        hashCode = (i + hashCode) * 31;
        if (this.f2468l) {
            i = 0;
        } else {
            i = 1;
        }
        i = (i + hashCode) * 31;
        if (!this.f2469m) {
            i2 = 1;
        }
        return i + i2;
    }
}
<file_sep>/p015b/C1089k.java
package p015b;

import java.util.Arrays;
import java.util.List;
import javax.net.ssl.SSLSocket;
import p015b.p016a.C1022c;

/* renamed from: b.k */
public final class C1089k {
    public static final C1089k f2449a;
    public static final C1089k f2450b;
    public static final C1089k f2451c;
    private static final C1084h[] f2452d;
    private final boolean f2453e;
    private final boolean f2454f;
    private final String[] f2455g;
    private final String[] f2456h;

    /* renamed from: b.k.a */
    public static final class C1088a {
        private boolean f2445a;
        private String[] f2446b;
        private String[] f2447c;
        private boolean f2448d;

        C1088a(boolean z) {
            this.f2445a = z;
        }

        public C1088a(C1089k c1089k) {
            this.f2445a = c1089k.f2453e;
            this.f2446b = c1089k.f2455g;
            this.f2447c = c1089k.f2456h;
            this.f2448d = c1089k.f2454f;
        }

        public C1088a m4508a(C1084h... c1084hArr) {
            if (this.f2445a) {
                String[] strArr = new String[c1084hArr.length];
                for (int i = 0; i < c1084hArr.length; i++) {
                    strArr[i] = c1084hArr[i].aS;
                }
                return m4509a(strArr);
            }
            throw new IllegalStateException("no cipher suites for cleartext connections");
        }

        public C1088a m4509a(String... strArr) {
            if (!this.f2445a) {
                throw new IllegalStateException("no cipher suites for cleartext connections");
            } else if (strArr.length == 0) {
                throw new IllegalArgumentException("At least one cipher suite is required");
            } else {
                this.f2446b = (String[]) strArr.clone();
                return this;
            }
        }

        public C1088a m4507a(ae... aeVarArr) {
            if (this.f2445a) {
                String[] strArr = new String[aeVarArr.length];
                for (int i = 0; i < aeVarArr.length; i++) {
                    strArr[i] = aeVarArr[i].f2351e;
                }
                return m4511b(strArr);
            }
            throw new IllegalStateException("no TLS versions for cleartext connections");
        }

        public C1088a m4511b(String... strArr) {
            if (!this.f2445a) {
                throw new IllegalStateException("no TLS versions for cleartext connections");
            } else if (strArr.length == 0) {
                throw new IllegalArgumentException("At least one TLS version is required");
            } else {
                this.f2447c = (String[]) strArr.clone();
                return this;
            }
        }

        public C1088a m4506a(boolean z) {
            if (this.f2445a) {
                this.f2448d = z;
                return this;
            }
            throw new IllegalStateException("no TLS extensions for cleartext connections");
        }

        public C1089k m4510a() {
            return new C1089k();
        }
    }

    static {
        f2452d = new C1084h[]{C1084h.aK, C1084h.aO, C1084h.f2406W, C1084h.am, C1084h.al, C1084h.av, C1084h.aw, C1084h.f2389F, C1084h.f2393J, C1084h.f2404U, C1084h.f2387D, C1084h.f2391H, C1084h.f2417h};
        f2449a = new C1088a(true).m4508a(f2452d).m4507a(ae.TLS_1_2, ae.TLS_1_1, ae.TLS_1_0).m4506a(true).m4510a();
        f2450b = new C1088a(f2449a).m4507a(ae.TLS_1_0).m4506a(true).m4510a();
        f2451c = new C1088a(false).m4510a();
    }

    private C1089k(C1088a c1088a) {
        this.f2453e = c1088a.f2445a;
        this.f2455g = c1088a.f2446b;
        this.f2456h = c1088a.f2447c;
        this.f2454f = c1088a.f2448d;
    }

    public boolean m4519a() {
        return this.f2453e;
    }

    public List<C1084h> m4521b() {
        if (this.f2455g == null) {
            return null;
        }
        Object[] objArr = new C1084h[this.f2455g.length];
        for (int i = 0; i < this.f2455g.length; i++) {
            objArr[i] = C1084h.m4495a(this.f2455g[i]);
        }
        return C1022c.m4229a(objArr);
    }

    public List<ae> m4522c() {
        if (this.f2456h == null) {
            return null;
        }
        Object[] objArr = new ae[this.f2456h.length];
        for (int i = 0; i < this.f2456h.length; i++) {
            objArr[i] = ae.m4464a(this.f2456h[i]);
        }
        return C1022c.m4229a(objArr);
    }

    public boolean m4523d() {
        return this.f2454f;
    }

    void m4518a(SSLSocket sSLSocket, boolean z) {
        C1089k b = m4514b(sSLSocket, z);
        if (b.f2456h != null) {
            sSLSocket.setEnabledProtocols(b.f2456h);
        }
        if (b.f2455g != null) {
            sSLSocket.setEnabledCipherSuites(b.f2455g);
        }
    }

    private C1089k m4514b(SSLSocket sSLSocket, boolean z) {
        String[] strArr;
        String[] strArr2;
        if (this.f2455g != null) {
            strArr = (String[]) C1022c.m4239a(String.class, this.f2455g, sSLSocket.getEnabledCipherSuites());
        } else {
            strArr = sSLSocket.getEnabledCipherSuites();
        }
        if (this.f2456h != null) {
            strArr2 = (String[]) C1022c.m4239a(String.class, this.f2456h, sSLSocket.getEnabledProtocols());
        } else {
            strArr2 = sSLSocket.getEnabledProtocols();
        }
        if (z && C1022c.m4223a(sSLSocket.getSupportedCipherSuites(), (Object) "TLS_FALLBACK_SCSV") != -1) {
            strArr = C1022c.m4240a(strArr, "TLS_FALLBACK_SCSV");
        }
        return new C1088a(this).m4509a(strArr).m4511b(strArr2).m4510a();
    }

    public boolean m4520a(SSLSocket sSLSocket) {
        if (!this.f2453e) {
            return false;
        }
        if (this.f2456h != null && !C1089k.m4513a(this.f2456h, sSLSocket.getEnabledProtocols())) {
            return false;
        }
        if (this.f2455g == null || C1089k.m4513a(this.f2455g, sSLSocket.getEnabledCipherSuites())) {
            return true;
        }
        return false;
    }

    private static boolean m4513a(String[] strArr, String[] strArr2) {
        if (strArr == null || strArr2 == null || strArr.length == 0 || strArr2.length == 0) {
            return false;
        }
        for (Object a : strArr) {
            if (C1022c.m4223a((Object[]) strArr2, a) != -1) {
                return true;
            }
        }
        return false;
    }

    public boolean equals(Object obj) {
        if (!(obj instanceof C1089k)) {
            return false;
        }
        if (obj == this) {
            return true;
        }
        C1089k c1089k = (C1089k) obj;
        if (this.f2453e != c1089k.f2453e) {
            return false;
        }
        if (!this.f2453e || (Arrays.equals(this.f2455g, c1089k.f2455g) && Arrays.equals(this.f2456h, c1089k.f2456h) && this.f2454f == c1089k.f2454f)) {
            return true;
        }
        return false;
    }

    public int hashCode() {
        if (!this.f2453e) {
            return 17;
        }
        return (this.f2454f ? 0 : 1) + ((((Arrays.hashCode(this.f2455g) + 527) * 31) + Arrays.hashCode(this.f2456h)) * 31);
    }

    public String toString() {
        if (!this.f2453e) {
            return "ConnectionSpec()";
        }
        return "ConnectionSpec(cipherSuites=" + (this.f2455g != null ? m4521b().toString() : "[all enabled]") + ", tlsVersions=" + (this.f2456h != null ? m4522c().toString() : "[all enabled]") + ", supportsTlsExtensions=" + this.f2454f + ")";
    }
}
<file_sep>/p015b/C1071b.java
package p015b;

/* renamed from: b.b */
public interface C1071b {
    public static final C1071b f2352a;

    /* renamed from: b.b.1 */
    static class C10721 implements C1071b {
        C10721() {
        }

        public C1120z m4466a(ad adVar, ab abVar) {
            return null;
        }
    }

    C1120z m4465a(ad adVar, ab abVar);

    static {
        f2352a = new C10721();
    }
}
<file_sep>/p015b/C1106s.java
package p015b;

import android.support.v4.app.ad;
import com.zopim.android.sdk.C5240R;
import com.zopim.android.sdk.api.C5264R;
import io.card.payment.BuildConfig;
import java.net.InetAddress;
import java.net.URI;
import java.net.UnknownHostException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import p015b.p016a.C1022c;
import p018c.C1129c;

/* renamed from: b.s */
public final class C1106s {
    private static final char[] f2505a;
    private final String f2506b;
    private final String f2507c;
    private final String f2508d;
    private final String f2509e;
    private final int f2510f;
    private final List<String> f2511g;
    private final List<String> f2512h;
    private final String f2513i;
    private final String f2514j;

    /* renamed from: b.s.1 */
    static /* synthetic */ class C11031 {
        static final /* synthetic */ int[] f2490a;

        static {
            f2490a = new int[C1104a.values().length];
            try {
                f2490a[C1104a.SUCCESS.ordinal()] = 1;
            } catch (NoSuchFieldError e) {
            }
            try {
                f2490a[C1104a.INVALID_HOST.ordinal()] = 2;
            } catch (NoSuchFieldError e2) {
            }
            try {
                f2490a[C1104a.UNSUPPORTED_SCHEME.ordinal()] = 3;
            } catch (NoSuchFieldError e3) {
            }
            try {
                f2490a[C1104a.MISSING_SCHEME.ordinal()] = 4;
            } catch (NoSuchFieldError e4) {
            }
            try {
                f2490a[C1104a.INVALID_PORT.ordinal()] = 5;
            } catch (NoSuchFieldError e5) {
            }
        }
    }

    /* renamed from: b.s.a */
    public static final class C1105a {
        String f2497a;
        String f2498b;
        String f2499c;
        String f2500d;
        int f2501e;
        final List<String> f2502f;
        List<String> f2503g;
        String f2504h;

        /* renamed from: b.s.a.a */
        enum C1104a {
            SUCCESS,
            MISSING_SCHEME,
            UNSUPPORTED_SCHEME,
            INVALID_PORT,
            INVALID_HOST
        }

        public C1105a() {
            this.f2498b = BuildConfig.FLAVOR;
            this.f2499c = BuildConfig.FLAVOR;
            this.f2501e = -1;
            this.f2502f = new ArrayList();
            this.f2502f.add(BuildConfig.FLAVOR);
        }

        public C1105a m4592a(String str) {
            if (str == null) {
                throw new NullPointerException("scheme == null");
            }
            if (str.equalsIgnoreCase("http")) {
                this.f2497a = "http";
            } else if (str.equalsIgnoreCase("https")) {
                this.f2497a = "https";
            } else {
                throw new IllegalArgumentException("unexpected scheme: " + str);
            }
            return this;
        }

        public C1105a m4595b(String str) {
            if (str == null) {
                throw new NullPointerException("host == null");
            }
            String e = C1105a.m4585e(str, 0, str.length());
            if (e == null) {
                throw new IllegalArgumentException("unexpected host: " + str);
            }
            this.f2500d = e;
            return this;
        }

        public C1105a m4591a(int i) {
            if (i <= 0 || i > 65535) {
                throw new IllegalArgumentException("unexpected port: " + i);
            }
            this.f2501e = i;
            return this;
        }

        int m4589a() {
            return this.f2501e != -1 ? this.f2501e : C1106s.m4600a(this.f2497a);
        }

        public C1105a m4597c(String str) {
            List b;
            if (str != null) {
                b = C1106s.m4612b(C1106s.m4604a(str, " \"'<>#", true, false, true, true));
            } else {
                b = null;
            }
            this.f2503g = b;
            return this;
        }

        public C1105a m4593a(String str, String str2) {
            if (str == null) {
                throw new NullPointerException("name == null");
            }
            Object a;
            if (this.f2503g == null) {
                this.f2503g = new ArrayList();
            }
            this.f2503g.add(C1106s.m4604a(str, " \"'<>#&=", false, false, true, true));
            List list = this.f2503g;
            if (str2 != null) {
                a = C1106s.m4604a(str2, " \"'<>#&=", false, false, true, true);
            } else {
                a = null;
            }
            list.add(a);
            return this;
        }

        public C1105a m4596b(String str, String str2) {
            if (str == null) {
                throw new NullPointerException("encodedName == null");
            }
            Object a;
            if (this.f2503g == null) {
                this.f2503g = new ArrayList();
            }
            this.f2503g.add(C1106s.m4604a(str, " \"'<>#&=", true, false, true, true));
            List list = this.f2503g;
            if (str2 != null) {
                a = C1106s.m4604a(str2, " \"'<>#&=", true, false, true, true);
            } else {
                a = null;
            }
            list.add(a);
            return this;
        }

        C1105a m4594b() {
            int size = this.f2502f.size();
            for (int i = 0; i < size; i++) {
                this.f2502f.set(i, C1106s.m4604a((String) this.f2502f.get(i), "[]", true, true, false, true));
            }
            if (this.f2503g != null) {
                int size2 = this.f2503g.size();
                for (int i2 = 0; i2 < size2; i2++) {
                    String str = (String) this.f2503g.get(i2);
                    if (str != null) {
                        this.f2503g.set(i2, C1106s.m4604a(str, "\\^`{|}", true, true, true, true));
                    }
                }
            }
            if (this.f2504h != null) {
                this.f2504h = C1106s.m4604a(this.f2504h, " \"#<>\\^`{|}", true, true, false, false);
            }
            return this;
        }

        public C1106s m4598c() {
            if (this.f2497a == null) {
                throw new IllegalStateException("scheme == null");
            } else if (this.f2500d != null) {
                return new C1106s();
            } else {
                throw new IllegalStateException("host == null");
            }
        }

        public String toString() {
            StringBuilder stringBuilder = new StringBuilder();
            stringBuilder.append(this.f2497a);
            stringBuilder.append("://");
            if (!(this.f2498b.isEmpty() && this.f2499c.isEmpty())) {
                stringBuilder.append(this.f2498b);
                if (!this.f2499c.isEmpty()) {
                    stringBuilder.append(':');
                    stringBuilder.append(this.f2499c);
                }
                stringBuilder.append('@');
            }
            if (this.f2500d.indexOf(58) != -1) {
                stringBuilder.append('[');
                stringBuilder.append(this.f2500d);
                stringBuilder.append(']');
            } else {
                stringBuilder.append(this.f2500d);
            }
            int a = m4589a();
            if (a != C1106s.m4600a(this.f2497a)) {
                stringBuilder.append(':');
                stringBuilder.append(a);
            }
            C1106s.m4609a(stringBuilder, this.f2502f);
            if (this.f2503g != null) {
                stringBuilder.append('?');
                C1106s.m4613b(stringBuilder, this.f2503g);
            }
            if (this.f2504h != null) {
                stringBuilder.append('#');
                stringBuilder.append(this.f2504h);
            }
            return stringBuilder.toString();
        }

        C1104a m4590a(C1106s c1106s, String str) {
            int d;
            int a = C1022c.m4220a(str, 0, str.length());
            int b = C1022c.m4241b(str, a, str.length());
            if (C1105a.m4580b(str, a, b) != -1) {
                if (str.regionMatches(true, a, "https:", 0, 6)) {
                    this.f2497a = "https";
                    a += "https:".length();
                } else {
                    if (!str.regionMatches(true, a, "http:", 0, 5)) {
                        return C1104a.UNSUPPORTED_SCHEME;
                    }
                    this.f2497a = "http";
                    a += "http:".length();
                }
            } else if (c1106s == null) {
                return C1104a.MISSING_SCHEME;
            } else {
                this.f2497a = c1106s.f2506b;
            }
            int c = C1105a.m4581c(str, a, b);
            if (c >= 2 || c1106s == null || !c1106s.f2506b.equals(this.f2497a)) {
                Object obj = null;
                Object obj2 = null;
                int i = a + c;
                while (true) {
                    Object obj3;
                    Object obj4;
                    int a2 = C1022c.m4222a(str, i, b, "@/\\?#");
                    switch (a2 != b ? str.charAt(a2) : '\uffff') {
                        case ErrorResponse.NON_HTTP_ERROR /*-1*/:
                        case C5264R.styleable.AppCompatTheme_actionModeSelectAllDrawable /*35*/:
                        case C5264R.styleable.AppCompatTheme_dropdownListPreferredItemHeight /*47*/:
                        case C5264R.styleable.AppCompatTheme_editTextColor /*63*/:
                        case C5240R.styleable.AppCompatTheme_colorBackgroundFloating /*92*/:
                            d = C1105a.m4582d(str, i, a2);
                            if (d + 1 < a2) {
                                this.f2500d = C1105a.m4585e(str, i, d);
                                this.f2501e = C1105a.m4588g(str, d + 1, a2);
                                if (this.f2501e == -1) {
                                    return C1104a.INVALID_PORT;
                                }
                            }
                            this.f2500d = C1105a.m4585e(str, i, d);
                            this.f2501e = C1106s.m4600a(this.f2497a);
                            if (this.f2500d != null) {
                                a = a2;
                                break;
                            }
                            return C1104a.INVALID_HOST;
                        case C5264R.styleable.AppCompatTheme_editTextBackground /*64*/:
                            if (obj == null) {
                                a = C1022c.m4221a(str, i, a2, ':');
                                String a3 = C1106s.m4602a(str, i, a, " \"':;<=>@[]^`{}|/\\?#", true, false, false, true);
                                if (obj2 != null) {
                                    a3 = this.f2498b + "%40" + a3;
                                }
                                this.f2498b = a3;
                                if (a != a2) {
                                    obj = 1;
                                    this.f2499c = C1106s.m4602a(str, a + 1, a2, " \"':;<=>@[]^`{}|/\\?#", true, false, false, true);
                                }
                                obj2 = 1;
                            } else {
                                this.f2499c += "%40" + C1106s.m4602a(str, i, a2, " \"':;<=>@[]^`{}|/\\?#", true, false, false, true);
                            }
                            a = a2 + 1;
                            obj3 = obj;
                            obj4 = obj2;
                            continue;
                        default:
                            obj3 = obj;
                            a = i;
                            obj4 = obj2;
                            continue;
                    }
                    obj = obj3;
                    obj2 = obj4;
                    i = a;
                }
            } else {
                this.f2498b = c1106s.m4621d();
                this.f2499c = c1106s.m4622e();
                this.f2500d = c1106s.f2509e;
                this.f2501e = c1106s.f2510f;
                this.f2502f.clear();
                this.f2502f.addAll(c1106s.m4626i());
                if (a == b || str.charAt(a) == '#') {
                    m4597c(c1106s.m4628k());
                }
            }
            d = C1022c.m4222a(str, a, b, "?#");
            m4577a(str, a, d);
            if (d >= b || str.charAt(d) != '?') {
                a = d;
            } else {
                a = C1022c.m4221a(str, d, b, '#');
                this.f2503g = C1106s.m4612b(C1106s.m4602a(str, d + 1, a, " \"'<>#", true, false, true, true));
            }
            if (a < b && str.charAt(a) == '#') {
                this.f2504h = C1106s.m4602a(str, a + 1, b, BuildConfig.FLAVOR, true, false, false, false);
            }
            return C1104a.SUCCESS;
        }

        private void m4577a(String str, int i, int i2) {
            if (i != i2) {
                char charAt = str.charAt(i);
                if (charAt == '/' || charAt == '\\') {
                    this.f2502f.clear();
                    this.f2502f.add(BuildConfig.FLAVOR);
                    i++;
                } else {
                    this.f2502f.set(this.f2502f.size() - 1, BuildConfig.FLAVOR);
                }
                int i3 = i;
                while (i3 < i2) {
                    int a = C1022c.m4222a(str, i3, i2, "/\\");
                    boolean z = a < i2;
                    m4578a(str, i3, a, z, true);
                    if (z) {
                        a++;
                    }
                    i3 = a;
                }
            }
        }

        private void m4578a(String str, int i, int i2, boolean z, boolean z2) {
            String a = C1106s.m4602a(str, i, i2, " \"<>^`{}|/\\?#", z2, false, false, true);
            if (!m4584d(a)) {
                if (m4586e(a)) {
                    m4583d();
                    return;
                }
                if (((String) this.f2502f.get(this.f2502f.size() - 1)).isEmpty()) {
                    this.f2502f.set(this.f2502f.size() - 1, a);
                } else {
                    this.f2502f.add(a);
                }
                if (z) {
                    this.f2502f.add(BuildConfig.FLAVOR);
                }
            }
        }

        private boolean m4584d(String str) {
            return str.equals(".") || str.equalsIgnoreCase("%2e");
        }

        private boolean m4586e(String str) {
            return str.equals("..") || str.equalsIgnoreCase("%2e.") || str.equalsIgnoreCase(".%2e") || str.equalsIgnoreCase("%2e%2e");
        }

        private void m4583d() {
            if (!((String) this.f2502f.remove(this.f2502f.size() - 1)).isEmpty() || this.f2502f.isEmpty()) {
                this.f2502f.add(BuildConfig.FLAVOR);
            } else {
                this.f2502f.set(this.f2502f.size() - 1, BuildConfig.FLAVOR);
            }
        }

        private static int m4580b(String str, int i, int i2) {
            if (i2 - i < 2) {
                return -1;
            }
            char charAt = str.charAt(i);
            if ((charAt < 'a' || charAt > 'z') && (charAt < 'A' || charAt > 'Z')) {
                return -1;
            }
            int i3 = i + 1;
            while (i3 < i2) {
                char charAt2 = str.charAt(i3);
                if ((charAt2 >= 'a' && charAt2 <= 'z') || ((charAt2 >= 'A' && charAt2 <= 'Z') || ((charAt2 >= '0' && charAt2 <= '9') || charAt2 == '+' || charAt2 == '-' || charAt2 == '.'))) {
                    i3++;
                } else if (charAt2 == ':') {
                    return i3;
                } else {
                    return -1;
                }
            }
            return -1;
        }

        private static int m4581c(String str, int i, int i2) {
            int i3 = 0;
            while (i < i2) {
                char charAt = str.charAt(i);
                if (charAt != '\\' && charAt != '/') {
                    break;
                }
                i3++;
                i++;
            }
            return i3;
        }

        /* JADX WARNING: inconsistent code. */
        /* Code decompiled incorrectly, please refer to instructions dump. */
        private static int m4582d(java.lang.String r3, int r4, int r5) {
            /*
            r0 = r4;
        L_0x0001:
            if (r0 >= r5) goto L_0x001a;
        L_0x0003:
            r1 = r3.charAt(r0);
            switch(r1) {
                case 58: goto L_0x001b;
                case 91: goto L_0x000d;
                default: goto L_0x000a;
            };
        L_0x000a:
            r0 = r0 + 1;
            goto L_0x0001;
        L_0x000d:
            r0 = r0 + 1;
            if (r0 >= r5) goto L_0x000a;
        L_0x0011:
            r1 = r3.charAt(r0);
            r2 = 93;
            if (r1 != r2) goto L_0x000d;
        L_0x0019:
            goto L_0x000a;
        L_0x001a:
            r0 = r5;
        L_0x001b:
            return r0;
            */
            throw new UnsupportedOperationException("Method not decompiled: b.s.a.d(java.lang.String, int, int):int");
        }

        private static String m4585e(String str, int i, int i2) {
            String a = C1106s.m4603a(str, i, i2, false);
            if (!a.contains(":")) {
                return C1022c.m4226a(a);
            }
            InetAddress f;
            if (a.startsWith("[") && a.endsWith("]")) {
                f = C1105a.m4587f(a, 1, a.length() - 1);
            } else {
                f = C1105a.m4587f(a, 0, a.length());
            }
            if (f == null) {
                return null;
            }
            byte[] address = f.getAddress();
            if (address.length == 16) {
                return C1105a.m4576a(address);
            }
            throw new AssertionError();
        }

        private static InetAddress m4587f(String str, int i, int i2) {
            byte[] bArr = new byte[16];
            int i3 = i;
            int i4 = -1;
            int i5 = -1;
            int i6 = 0;
            while (i3 < i2) {
                if (i6 == bArr.length) {
                    return null;
                }
                int a;
                if (i3 + 2 > i2 || !str.regionMatches(i3, "::", 0, 2)) {
                    if (i6 != 0) {
                        if (str.regionMatches(i3, ":", 0, 1)) {
                            i3++;
                        } else if (!str.regionMatches(i3, ".", 0, 1)) {
                            return null;
                        } else {
                            if (!C1105a.m4579a(str, i4, i2, bArr, i6 - 2)) {
                                return null;
                            }
                            i6 += 2;
                        }
                    }
                } else if (i5 != -1) {
                    return null;
                } else {
                    i3 += 2;
                    i5 = i6 + 2;
                    if (i3 == i2) {
                        i6 = i5;
                        break;
                    }
                    i6 = i5;
                }
                i4 = 0;
                int i7 = i3;
                while (i7 < i2) {
                    a = C1106s.m4599a(str.charAt(i7));
                    if (a == -1) {
                        break;
                    }
                    i4 = (i4 << 4) + a;
                    i7++;
                }
                a = i7 - i3;
                if (a == 0 || a > 4) {
                    return null;
                }
                a = i6 + 1;
                bArr[i6] = (byte) ((i4 >>> 8) & 255);
                i6 = a + 1;
                bArr[a] = (byte) (i4 & 255);
                i4 = i3;
                i3 = i7;
            }
            if (i6 != bArr.length) {
                if (i5 == -1) {
                    return null;
                }
                System.arraycopy(bArr, i5, bArr, bArr.length - (i6 - i5), i6 - i5);
                Arrays.fill(bArr, i5, (bArr.length - i6) + i5, (byte) 0);
            }
            try {
                return InetAddress.getByAddress(bArr);
            } catch (UnknownHostException e) {
                throw new AssertionError();
            }
        }

        /* JADX WARNING: inconsistent code. */
        /* Code decompiled incorrectly, please refer to instructions dump. */
        private static boolean m4579a(java.lang.String r7, int r8, int r9, byte[] r10, int r11) {
            /*
            r1 = 0;
            r0 = r8;
            r4 = r11;
        L_0x0003:
            if (r0 >= r9) goto L_0x004a;
        L_0x0005:
            r2 = r10.length;
            if (r4 != r2) goto L_0x000a;
        L_0x0008:
            r0 = r1;
        L_0x0009:
            return r0;
        L_0x000a:
            if (r4 == r11) goto L_0x0018;
        L_0x000c:
            r2 = r7.charAt(r0);
            r3 = 46;
            if (r2 == r3) goto L_0x0016;
        L_0x0014:
            r0 = r1;
            goto L_0x0009;
        L_0x0016:
            r0 = r0 + 1;
        L_0x0018:
            r2 = r1;
            r3 = r0;
        L_0x001a:
            if (r3 >= r9) goto L_0x0028;
        L_0x001c:
            r5 = r7.charAt(r3);
            r6 = 48;
            if (r5 < r6) goto L_0x0028;
        L_0x0024:
            r6 = 57;
            if (r5 <= r6) goto L_0x002e;
        L_0x0028:
            r0 = r3 - r0;
            if (r0 != 0) goto L_0x0042;
        L_0x002c:
            r0 = r1;
            goto L_0x0009;
        L_0x002e:
            if (r2 != 0) goto L_0x0034;
        L_0x0030:
            if (r0 == r3) goto L_0x0034;
        L_0x0032:
            r0 = r1;
            goto L_0x0009;
        L_0x0034:
            r2 = r2 * 10;
            r2 = r2 + r5;
            r2 = r2 + -48;
            r5 = 255; // 0xff float:3.57E-43 double:1.26E-321;
            if (r2 <= r5) goto L_0x003f;
        L_0x003d:
            r0 = r1;
            goto L_0x0009;
        L_0x003f:
            r3 = r3 + 1;
            goto L_0x001a;
        L_0x0042:
            r0 = r4 + 1;
            r2 = (byte) r2;
            r10[r4] = r2;
            r4 = r0;
            r0 = r3;
            goto L_0x0003;
        L_0x004a:
            r0 = r11 + 4;
            if (r4 == r0) goto L_0x0050;
        L_0x004e:
            r0 = r1;
            goto L_0x0009;
        L_0x0050:
            r0 = 1;
            goto L_0x0009;
            */
            throw new UnsupportedOperationException("Method not decompiled: b.s.a.a(java.lang.String, int, int, byte[], int):boolean");
        }

        private static String m4576a(byte[] bArr) {
            int i = 0;
            int i2 = 0;
            int i3 = -1;
            int i4 = 0;
            while (i4 < bArr.length) {
                int i5 = i4;
                while (i5 < 16 && bArr[i5] == null && bArr[i5 + 1] == null) {
                    i5 += 2;
                }
                int i6 = i5 - i4;
                if (i6 > i2) {
                    i2 = i6;
                    i3 = i4;
                }
                i4 = i5 + 2;
            }
            C1129c c1129c = new C1129c();
            while (i < bArr.length) {
                if (i == i3) {
                    c1129c.m4783b(58);
                    i += i2;
                    if (i == 16) {
                        c1129c.m4783b(58);
                    }
                } else {
                    if (i > 0) {
                        c1129c.m4783b(58);
                    }
                    c1129c.m4808i((long) (((bArr[i] & 255) << 8) | (bArr[i + 1] & 255)));
                    i += 2;
                }
            }
            return c1129c.m4818o();
        }

        private static int m4588g(String str, int i, int i2) {
            try {
                int parseInt = Integer.parseInt(C1106s.m4602a(str, i, i2, BuildConfig.FLAVOR, false, false, false, true));
                return (parseInt <= 0 || parseInt > 65535) ? -1 : parseInt;
            } catch (NumberFormatException e) {
                return -1;
            }
        }
    }

    static {
        f2505a = new char[]{'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'};
    }

    private C1106s(C1105a c1105a) {
        String str = null;
        this.f2506b = c1105a.f2497a;
        this.f2507c = C1106s.m4605a(c1105a.f2498b, false);
        this.f2508d = C1106s.m4605a(c1105a.f2499c, false);
        this.f2509e = c1105a.f2500d;
        this.f2510f = c1105a.m4589a();
        this.f2511g = m4606a(c1105a.f2502f, false);
        this.f2512h = c1105a.f2503g != null ? m4606a(c1105a.f2503g, true) : null;
        if (c1105a.f2504h != null) {
            str = C1106s.m4605a(c1105a.f2504h, false);
        }
        this.f2513i = str;
        this.f2514j = c1105a.toString();
    }

    public URI m4616a() {
        String c1105a = m4631n().m4594b().toString();
        try {
            return new URI(c1105a);
        } catch (Throwable e) {
            try {
                return URI.create(c1105a.replaceAll("[\\u0000-\\u001F\\u007F-\\u009F\\p{javaWhitespace}]", BuildConfig.FLAVOR));
            } catch (Exception e2) {
                throw new RuntimeException(e);
            }
        }
    }

    public String m4617b() {
        return this.f2506b;
    }

    public boolean m4619c() {
        return this.f2506b.equals("https");
    }

    public String m4621d() {
        if (this.f2507c.isEmpty()) {
            return BuildConfig.FLAVOR;
        }
        int length = this.f2506b.length() + 3;
        return this.f2514j.substring(length, C1022c.m4222a(this.f2514j, length, this.f2514j.length(), ":@"));
    }

    public String m4622e() {
        if (this.f2508d.isEmpty()) {
            return BuildConfig.FLAVOR;
        }
        return this.f2514j.substring(this.f2514j.indexOf(58, this.f2506b.length() + 3) + 1, this.f2514j.indexOf(64));
    }

    public String m4623f() {
        return this.f2509e;
    }

    public int m4624g() {
        return this.f2510f;
    }

    public static int m4600a(String str) {
        if (str.equals("http")) {
            return 80;
        }
        if (str.equals("https")) {
            return 443;
        }
        return -1;
    }

    public String m4625h() {
        int indexOf = this.f2514j.indexOf(47, this.f2506b.length() + 3);
        return this.f2514j.substring(indexOf, C1022c.m4222a(this.f2514j, indexOf, this.f2514j.length(), "?#"));
    }

    static void m4609a(StringBuilder stringBuilder, List<String> list) {
        int size = list.size();
        for (int i = 0; i < size; i++) {
            stringBuilder.append('/');
            stringBuilder.append((String) list.get(i));
        }
    }

    public List<String> m4626i() {
        int indexOf = this.f2514j.indexOf(47, this.f2506b.length() + 3);
        int a = C1022c.m4222a(this.f2514j, indexOf, this.f2514j.length(), "?#");
        List<String> arrayList = new ArrayList();
        while (indexOf < a) {
            int i = indexOf + 1;
            indexOf = C1022c.m4221a(this.f2514j, i, a, '/');
            arrayList.add(this.f2514j.substring(i, indexOf));
        }
        return arrayList;
    }

    public List<String> m4627j() {
        return this.f2511g;
    }

    public String m4628k() {
        if (this.f2512h == null) {
            return null;
        }
        int indexOf = this.f2514j.indexOf(63) + 1;
        return this.f2514j.substring(indexOf, C1022c.m4221a(this.f2514j, indexOf + 1, this.f2514j.length(), '#'));
    }

    static void m4613b(StringBuilder stringBuilder, List<String> list) {
        int size = list.size();
        for (int i = 0; i < size; i += 2) {
            String str = (String) list.get(i);
            String str2 = (String) list.get(i + 1);
            if (i > 0) {
                stringBuilder.append('&');
            }
            stringBuilder.append(str);
            if (str2 != null) {
                stringBuilder.append('=');
                stringBuilder.append(str2);
            }
        }
    }

    static List<String> m4612b(String str) {
        List<String> arrayList = new ArrayList();
        int i = 0;
        while (i <= str.length()) {
            int indexOf = str.indexOf(38, i);
            if (indexOf == -1) {
                indexOf = str.length();
            }
            int indexOf2 = str.indexOf(61, i);
            if (indexOf2 == -1 || indexOf2 > indexOf) {
                arrayList.add(str.substring(i, indexOf));
                arrayList.add(null);
            } else {
                arrayList.add(str.substring(i, indexOf2));
                arrayList.add(str.substring(indexOf2 + 1, indexOf));
            }
            i = indexOf + 1;
        }
        return arrayList;
    }

    public String m4629l() {
        if (this.f2512h == null) {
            return null;
        }
        StringBuilder stringBuilder = new StringBuilder();
        C1106s.m4613b(stringBuilder, this.f2512h);
        return stringBuilder.toString();
    }

    public String m4630m() {
        if (this.f2513i == null) {
            return null;
        }
        return this.f2514j.substring(this.f2514j.indexOf(35) + 1);
    }

    public C1106s m4618c(String str) {
        C1105a d = m4620d(str);
        return d != null ? d.m4598c() : null;
    }

    public C1105a m4631n() {
        C1105a c1105a = new C1105a();
        c1105a.f2497a = this.f2506b;
        c1105a.f2498b = m4621d();
        c1105a.f2499c = m4622e();
        c1105a.f2500d = this.f2509e;
        c1105a.f2501e = this.f2510f != C1106s.m4600a(this.f2506b) ? this.f2510f : -1;
        c1105a.f2502f.clear();
        c1105a.f2502f.addAll(m4626i());
        c1105a.m4597c(m4628k());
        c1105a.f2504h = m4630m();
        return c1105a;
    }

    public C1105a m4620d(String str) {
        C1105a c1105a = new C1105a();
        return c1105a.m4590a(this, str) == C1104a.SUCCESS ? c1105a : null;
    }

    public static C1106s m4615e(String str) {
        C1105a c1105a = new C1105a();
        if (c1105a.m4590a(null, str) == C1104a.SUCCESS) {
            return c1105a.m4598c();
        }
        return null;
    }

    public boolean equals(Object obj) {
        return (obj instanceof C1106s) && ((C1106s) obj).f2514j.equals(this.f2514j);
    }

    public int hashCode() {
        return this.f2514j.hashCode();
    }

    public String toString() {
        return this.f2514j;
    }

    static String m4605a(String str, boolean z) {
        return C1106s.m4603a(str, 0, str.length(), z);
    }

    private List<String> m4606a(List<String> list, boolean z) {
        List arrayList = new ArrayList(list.size());
        for (String str : list) {
            arrayList.add(str != null ? C1106s.m4605a(str, z) : null);
        }
        return Collections.unmodifiableList(arrayList);
    }

    static String m4603a(String str, int i, int i2, boolean z) {
        for (int i3 = i; i3 < i2; i3++) {
            char charAt = str.charAt(i3);
            if (charAt == '%' || (charAt == '+' && z)) {
                C1129c c1129c = new C1129c();
                c1129c.m4774a(str, i, i3);
                C1106s.m4608a(c1129c, str, i3, i2, z);
                return c1129c.m4818o();
            }
        }
        return str.substring(i, i2);
    }

    static void m4608a(C1129c c1129c, String str, int i, int i2, boolean z) {
        int i3 = i;
        while (i3 < i2) {
            int codePointAt = str.codePointAt(i3);
            if (codePointAt != 37 || i3 + 2 >= i2) {
                if (codePointAt == 43 && z) {
                    c1129c.m4783b(32);
                }
                c1129c.m4770a(codePointAt);
            } else {
                int a = C1106s.m4599a(str.charAt(i3 + 1));
                int a2 = C1106s.m4599a(str.charAt(i3 + 2));
                if (!(a == -1 || a2 == -1)) {
                    c1129c.m4783b((a << 4) + a2);
                    i3 += 2;
                }
                c1129c.m4770a(codePointAt);
            }
            i3 += Character.charCount(codePointAt);
        }
    }

    static boolean m4610a(String str, int i, int i2) {
        return i + 2 < i2 && str.charAt(i) == '%' && C1106s.m4599a(str.charAt(i + 1)) != -1 && C1106s.m4599a(str.charAt(i + 2)) != -1;
    }

    static int m4599a(char c) {
        if (c >= '0' && c <= '9') {
            return c - 48;
        }
        if (c >= 'a' && c <= 'f') {
            return (c - 97) + 10;
        }
        if (c < 'A' || c > 'F') {
            return -1;
        }
        return (c - 65) + 10;
    }

    static String m4602a(String str, int i, int i2, String str2, boolean z, boolean z2, boolean z3, boolean z4) {
        int i3 = i;
        while (i3 < i2) {
            int codePointAt = str.codePointAt(i3);
            if (codePointAt < 32 || codePointAt == 127 || ((codePointAt >= ad.FLAG_HIGH_PRIORITY && z4) || str2.indexOf(codePointAt) != -1 || ((codePointAt == 37 && (!z || (z2 && !C1106s.m4610a(str, i3, i2)))) || (codePointAt == 43 && z3)))) {
                C1129c c1129c = new C1129c();
                c1129c.m4774a(str, i, i3);
                C1106s.m4607a(c1129c, str, i3, i2, str2, z, z2, z3, z4);
                return c1129c.m4818o();
            }
            i3 += Character.charCount(codePointAt);
        }
        return str.substring(i, i2);
    }

    static void m4607a(C1129c c1129c, String str, int i, int i2, String str2, boolean z, boolean z2, boolean z3, boolean z4) {
        C1129c c1129c2 = null;
        while (i < i2) {
            int codePointAt = str.codePointAt(i);
            if (!(z && (codePointAt == 9 || codePointAt == 10 || codePointAt == 12 || codePointAt == 13))) {
                if (codePointAt == 43 && z3) {
                    c1129c.m4773a(z ? "+" : "%2B");
                } else if (codePointAt < 32 || codePointAt == 127 || ((codePointAt >= ad.FLAG_HIGH_PRIORITY && z4) || str2.indexOf(codePointAt) != -1 || (codePointAt == 37 && (!z || (z2 && !C1106s.m4610a(str, i, i2)))))) {
                    if (c1129c2 == null) {
                        c1129c2 = new C1129c();
                    }
                    c1129c2.m4770a(codePointAt);
                    while (!c1129c2.m4798e()) {
                        int h = c1129c2.m4805h() & 255;
                        c1129c.m4783b(37);
                        c1129c.m4783b(f2505a[(h >> 4) & 15]);
                        c1129c.m4783b(f2505a[h & 15]);
                    }
                } else {
                    c1129c.m4770a(codePointAt);
                }
            }
            i += Character.charCount(codePointAt);
        }
    }

    static String m4604a(String str, String str2, boolean z, boolean z2, boolean z3, boolean z4) {
        return C1106s.m4602a(str, 0, str.length(), str2, z, z2, z3, z4);
    }
}

repo_language: Java