Weather Tracker v1.0.0版本的 MD5 值为:3edef27647e42a8ea0e7c0d2dbf56f97

以下内容为反编译后的 z5.java 源代码,内容仅作参考


package com.chartboost.sdk.impl;

import com.chartboost.sdk.impl.c2;
import com.chartboost.sdk.internal.Model.CBError;
import com.mbridge.msdk.foundation.entity.CampaignEx;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
import org.json.JSONObject;
@Metadata(d1 = {"\u00006\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\b\u0018\u00002\u00020\u0001B\u0017\u0012\u0006\u0010\u000e\u001a\u00020\f\u0012\u0006\u0010\u0012\u001a\u00020\u000f¢\u0006\u0004\b\u0015\u0010\u0016J\u000e\u0010\u0005\u001a\u00020\u00042\u0006\u0010\u0003\u001a\u00020\u0002J\u001c\u0010\u0005\u001a\u00020\u00042\b\u0010\u0007\u001a\u0004\u0018\u00010\u00062\b\u0010\t\u001a\u0004\u0018\u00010\bH\u0016J\u001c\u0010\u0005\u001a\u00020\u00042\b\u0010\u0007\u001a\u0004\u0018\u00010\u00062\b\u0010\u000b\u001a\u0004\u0018\u00010\nH\u0016R\u0014\u0010\u000e\u001a\u00020\f8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0005\u0010\rR\u0014\u0010\u0012\u001a\u00020\u000f8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0010\u0010\u0011R\u0018\u0010\u0003\u001a\u0004\u0018\u00010\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0013\u0010\u0014¨\u0006\u0017"}, d2 = {"Lcom/chartboost/sdk/impl/z5;", "Lcom/chartboost/sdk/impl/c2$a;", "Lcom/chartboost/sdk/impl/e3;", "callback", "", "a", "Lcom/chartboost/sdk/impl/c2;", "request", "Lorg/json/JSONObject;", "response", "Lcom/chartboost/sdk/internal/Model/CBError;", CampaignEx.JSON_NATIVE_VIDEO_ERROR, "Lcom/chartboost/sdk/impl/z1;", "Lcom/chartboost/sdk/impl/z1;", "networkService", "Lcom/chartboost/sdk/impl/h8;", "b", "Lcom/chartboost/sdk/impl/h8;", "requestBodyBuilder", "c", "Lcom/chartboost/sdk/impl/e3;", "<init>", "(Lcom/chartboost/sdk/impl/z1;Lcom/chartboost/sdk/impl/h8;)V", "Chartboost-9.4.1_productionRelease"}, k = 1, mv = {1, 8, 0})
public final class z5 implements c2.a {
    public final z1 a;
    public final h8 f2413b;
    public e3 c;

    public z5(z1 networkService, h8 requestBodyBuilder) {
        Intrinsics.checkNotNullParameter(networkService, "networkService");
        Intrinsics.checkNotNullParameter(requestBodyBuilder, "requestBodyBuilder");
        this.a = networkService;
        this.f2413b = requestBodyBuilder;
    }

    public final void a(e3 callback) {
        Intrinsics.checkNotNullParameter(callback, "callback");
        this.c = callback;
        c2 c2Var = new c2("https://live.chartboost.com", "/api/config", this.f2413b.build(), o7.HIGH, this);
        c2Var.o = true;
        this.a.a(c2Var);
    }

    @Override
    public void a(c2 c2Var, JSONObject jSONObject) {
        JSONObject configJson = t1.a(jSONObject, "response");
        e3 e3Var = this.c;
        if (e3Var != null) {
            Intrinsics.checkNotNullExpressionValue(configJson, "configJson");
            e3Var.a(configJson);
        }
    }

    @Override
    public void a(c2 c2Var, CBError cBError) {
        String str;
        if (cBError == null || cBError.getErrorDesc() == null) {
            str = "Config failure";
        } else {
            str = cBError.getErrorDesc();
            Intrinsics.checkNotNullExpressionValue(str, "error.errorDesc");
        }
        y3.d(new w3("config_request_error", str, "", ""));
        e3 e3Var = this.c;
        if (e3Var != null) {
            e3Var.a(str);
        }
    }
}