package com.ss.android.ugc.aweme.crossplatform.activity;

import X.0HH;
import X.2UX;
import X.2Ue;
import X.2nK;
import X.46i;
import X.95y;
import X.HVE;
import com.bytedance.covode.number.Covode;
import org.json.JSONException;
import org.json.JSONObject;

public class MixActivityContainer$5 implements HVE {
    public final /* synthetic */ 2Ue LIZ;
    public final /* synthetic */ MixActivityContainer LIZIZ;

    static {
        Covode.recordClassIndex(62891);
    }

    public final void LIZ(long j) {
        this.LIZ.LIZ.LIZ();
    }

    public MixActivityContainer$5(MixActivityContainer mixActivityContainer, 2Ue r2) {
        this.LIZIZ = mixActivityContainer;
        this.LIZ = r2;
    }

    public final void LIZ(Exception exc, String str) {
        this.LIZ.LIZ.LIZIZ();
    }

    public final void LIZ(int i, int i2, String str) {
        if (i == 1) {
            95y.LIZ("promote_iap_charge_show", 0, (JSONObject) null);
            int accountType = 46i.LJFF().getCurUser().getAccountType();
            2UX r1 = new 2UX();
            r1.LIZ("user_account_type", accountType);
            2nK.LIZ("promote_iap_recharge_panel_show", r1.LIZ);
        } else if (i == 0) {
            JSONObject jSONObject = new JSONObject();
            try {
                jSONObject.put("error_status_code ", i2);
                jSONObject.put("error_message", str);
            } catch (JSONException e) {
                0HH.LIZ(e);
            }
            95y.LIZ("promote_iap_charge_show", 1, jSONObject);
        }
    }
}
