package com.bytedance.sdk.component.adexpress.dynamic.yz;

import androidx.media3.common.MimeTypes;
import androidx.media3.exoplayer.rtsp.SessionDescription;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import okio.Utf8;
import org.json.JSONArray;
import org.json.JSONObject;

/* JADX INFO: loaded from: classes.dex */
public class ajl {
    private String ado;
    private double ai;
    private float ajl;
    private int aws;
    private String bkb;
    private String bp;
    private JSONObject bwv;
    private int bx;
    private int cg;
    private int cpu;
    private JSONObject cyr;
    private int daz;
    private String dsz;
    private double duv;

    /* JADX INFO: renamed from: ef, reason: collision with root package name */
    private float f6504ef;
    private JSONObject ex;
    private String eys;

    /* JADX INFO: renamed from: ff, reason: collision with root package name */
    private int f6505ff;
    private String fhx;
    private float fm;

    /* JADX INFO: renamed from: gc, reason: collision with root package name */
    private boolean f6506gc;
    private String gof;
    private String gqi;
    private boolean grs;
    private double gzf;

    /* JADX INFO: renamed from: ha, reason: collision with root package name */
    private String f6507ha;
    private boolean hi;
    private String hlt;
    private double hm;
    private int hou;
    private String hxv;

    /* JADX INFO: renamed from: ib, reason: collision with root package name */
    private int f6508ib;
    private String irt;
    private int jm;
    private int jn;
    private boolean jnr;

    /* JADX INFO: renamed from: kc, reason: collision with root package name */
    private int f6509kc;
    private double ku;
    private int kwx;
    private int ky;

    /* JADX INFO: renamed from: lb, reason: collision with root package name */
    private float f6510lb;
    private String lcp;

    /* JADX INFO: renamed from: le, reason: collision with root package name */
    private boolean f6511le;
    private boolean lmk;
    private boolean lsa;
    private String lse;
    private double lz;
    private String maa;
    private boolean mj;
    private int mon;
    private boolean mpp;
    private int mq;

    /* JADX INFO: renamed from: ne, reason: collision with root package name */
    private boolean f6512ne;
    private long nn = -1;
    private int no;
    private int nt;
    private String ol;
    private String onz;
    private int oy;
    private int pbk;
    private boolean pcm;

    /* JADX INFO: renamed from: pf, reason: collision with root package name */
    private boolean f6513pf;
    private String pkk;
    private int po;
    private boolean pyj;

    /* JADX INFO: renamed from: qb, reason: collision with root package name */
    private boolean f6514qb;

    /* JADX INFO: renamed from: qf, reason: collision with root package name */
    private int f6515qf;
    private String qhl;
    private String qlg;
    private int qph;
    private String rbn;
    private int rka;
    private float ro;
    private String sds;
    private boolean si;
    private int so;

    /* JADX INFO: renamed from: te, reason: collision with root package name */
    private int f6516te;
    private List<fm> ttj;
    private int tzk;
    private JSONObject ucr;
    private int ug;
    private int vj;
    private String vod;
    private float vt;
    private boolean vvj;
    private String wbw;
    private String wey;
    private int wjb;
    private float wsy;
    private float wu;
    private int xca;
    private int xgn;
    private int xp;
    private String xw;
    private int ywr;
    private float yz;
    private int zan;
    private int zh;
    private boolean zjk;
    private String zow;
    private String zzm;
    private boolean zzn;

    public int ado() {
        return this.kwx;
    }

    public String ai() {
        return this.lse;
    }

    public JSONObject ajl() {
        return this.ex;
    }

    public boolean aws() {
        return this.mj;
    }

    public double bkb() {
        return this.lz;
    }

    public boolean bp() {
        return this.f6513pf;
    }

    public String bwv() {
        return this.bkb;
    }

    public String bx() {
        return this.f6507ha;
    }

    public int cg() {
        return this.jm;
    }

    public int cpu() {
        return this.cg;
    }

    public boolean cyr() {
        return this.lsa;
    }

    public String daz() {
        return this.zow;
    }

    public void dsz(int i10) {
        this.tzk = i10;
    }

    public float duv() {
        return this.ro;
    }

    public int ef() {
        return this.wjb;
    }

    public int ex() {
        return this.daz;
    }

    public int ff() {
        return this.zh;
    }

    public float fhx() {
        return this.wsy;
    }

    public void fm(double d10) {
        this.hm = d10;
    }

    public double gc() {
        return this.ai;
    }

    public float gof() {
        return this.vt;
    }

    public double gqi() {
        return this.ku;
    }

    public int grs() {
        return this.xp;
    }

    public String gzf() {
        return this.maa;
    }

    public int ha() {
        return this.nt;
    }

    public String hi() {
        return this.eys;
    }

    public String hlt() {
        return this.gof;
    }

    public int hm() {
        return this.xca;
    }

    public void hou() {
        fm(this, this.cyr);
    }

    public double hxv() {
        return this.gzf;
    }

    public int ib() {
        return this.bx;
    }

    public float irt() {
        return this.wu;
    }

    public int jm() {
        return this.ywr;
    }

    public String jn() {
        return this.rbn;
    }

    public int jnr() {
        return this.ug;
    }

    public int kc() {
        return this.jn;
    }

    public float ku() {
        return this.fm;
    }

    public int kwx() {
        return this.tzk;
    }

    public int ky() {
        return this.cpu;
    }

    public int lb() {
        return this.oy;
    }

    public int lcp() {
        return this.so;
    }

    public String le() {
        return this.vod;
    }

    public int lmk() {
        return this.f6515qf;
    }

    public int lsa() {
        List<fm> list = this.ttj;
        if (list == null) {
            return 0;
        }
        for (fm fmVar : list) {
            if ("translate".equals(fmVar.ef()) && fmVar.wsy() < 0) {
                return -fmVar.wsy();
            }
        }
        return 0;
    }

    public String lse() {
        return this.qhl;
    }

    public boolean lz() {
        return this.f6506gc;
    }

    public String maa() {
        return this.irt;
    }

    public boolean mj() {
        return this.f6512ne;
    }

    public String mon() {
        return this.wbw;
    }

    public boolean mpp() {
        return this.si;
    }

    public String mq() {
        return this.sds;
    }

    public int ne() {
        return this.zan;
    }

    public boolean no() {
        return this.pcm;
    }

    public String nt() {
        return this.gqi;
    }

    public String ol() {
        return this.hlt;
    }

    public float onz() {
        return this.ajl;
    }

    public boolean oy() {
        return this.zjk;
    }

    public JSONObject pbk() {
        return this.bwv;
    }

    public boolean pcm() {
        return this.mpp;
    }

    public int pf() {
        return this.hou;
    }

    public int pkk() {
        return this.mq;
    }

    public int po() {
        return this.f6505ff;
    }

    public JSONObject pyj() {
        return this.ucr;
    }

    public int qb() {
        return this.rka;
    }

    public int qf() {
        return this.xgn;
    }

    public float qhl() {
        return this.f6504ef;
    }

    public long qlg() {
        return this.nn;
    }

    public int qph() {
        return this.f6516te;
    }

    public boolean rbn() {
        return this.zzn;
    }

    public String rka() {
        return this.ado;
    }

    public int ro() {
        return this.ky;
    }

    public String sds() {
        return this.fhx;
    }

    public int si() {
        return this.mon;
    }

    public boolean so() {
        return this.vvj;
    }

    public int te() {
        return this.pbk;
    }

    public String ttj() {
        return this.lcp;
    }

    public String tzk() {
        return this.hxv;
    }

    public String ucr() {
        return this.bp;
    }

    public boolean ug() {
        return this.grs;
    }

    public void vj() {
        fm(this, this.ucr);
    }

    public List<fm> vod() {
        return this.ttj;
    }

    public String vt() {
        return this.xw;
    }

    public int vvj() {
        return this.f6508ib;
    }

    public void wbw(int i10) {
        this.daz = i10;
    }

    public double wey() {
        return this.duv;
    }

    public int wjb() {
        return this.qph;
    }

    public int wsy() {
        return this.po;
    }

    public double wu() {
        return this.hm;
    }

    public int xca() {
        return this.no;
    }

    public String xgn() {
        return this.ol;
    }

    public String xp() {
        return this.zzm;
    }

    public boolean ywr() {
        return this.lmk;
    }

    public int yz() {
        return this.f6509kc;
    }

    public String zan() {
        return this.pkk;
    }

    public int zh() {
        return this.vj;
    }

    public boolean zjk() {
        return this.pyj;
    }

    public int zow() {
        return this.aws;
    }

    public String zzm() {
        return this.qlg;
    }

    public boolean zzn() {
        return this.f6511le;
    }

    public void ai(int i10) {
        this.xca = i10;
    }

    public void ajl(double d10) {
        this.lz = d10;
    }

    public void dsz(String str) {
        this.hlt = str;
    }

    public void duv(int i10) {
        this.zan = i10;
    }

    public void ef(float f10) {
        this.vt = f10;
    }

    public void fhx(int i10) {
        this.f6508ib = i10;
    }

    public void fm(float f10) {
        this.fm = f10;
    }

    public void gc(int i10) {
        this.zh = i10;
    }

    public void gof(int i10) {
        this.so = i10;
    }

    public void gqi(int i10) {
        this.aws = i10;
    }

    public void gzf(int i10) {
        this.vj = i10;
    }

    public void ha(int i10) {
        this.qph = i10;
    }

    public void hi(int i10) {
        this.cg = i10;
    }

    public void hlt(int i10) {
        this.f6516te = i10;
    }

    public void hxv(int i10) {
        this.jn = i10;
    }

    public void irt(int i10) {
        this.kwx = i10;
    }

    public void jnr(double d10) {
        this.ai = d10;
    }

    public void ku(int i10) {
        this.bx = i10;
    }

    public void lb(double d10) {
        this.duv = d10;
    }

    public void lse(int i10) {
        this.no = i10;
    }

    public void maa(int i10) {
        this.jm = i10;
    }

    public void mq(int i10) {
        this.hou = i10;
    }

    public void nt(int i10) {
        this.xp = i10;
    }

    public void ol(int i10) {
        this.f6505ff = i10;
    }

    public void onz(int i10) {
        this.f6515qf = i10;
    }

    public void pkk(int i10) {
        this.cpu = i10;
    }

    public void qhl(int i10) {
        this.ywr = i10;
    }

    public void ro(double d10) {
        this.ku = d10;
    }

    public void sds(int i10) {
        this.pbk = i10;
    }

    public void vt(int i10) {
        this.mon = i10;
    }

    public boolean wbw() {
        return this.hi;
    }

    public void wey(int i10) {
        this.rka = i10;
    }

    public void wsy(float f10) {
        this.wu = f10;
    }

    public void wu(float f10) {
        this.f6504ef = f10;
    }

    public void yz(double d10) {
        this.gzf = d10;
    }

    private void mq(String str) {
        this.eys = str;
    }

    public void ajl(float f10) {
        this.wsy = f10;
    }

    public void dsz(boolean z10) {
        this.f6511le = z10;
    }

    public void duv(String str) {
        this.lse = str;
    }

    public void ef(int i10) {
        this.xgn = i10;
    }

    public void fhx(String str) {
        this.wbw = str;
    }

    public void fm(int i10) {
        this.ky = i10;
    }

    public void gof(String str) {
        this.hxv = str;
    }

    public void gqi(String str) {
        this.bkb = str;
    }

    public void hi(String str) {
        this.zzm = str;
    }

    public void hlt(String str) {
        this.bp = str;
    }

    public void irt(String str) {
        this.f6507ha = str;
    }

    public void jnr(float f10) {
        this.ajl = f10;
    }

    public void ku(String str) {
        this.maa = str;
    }

    public void lb(float f10) {
        this.f6510lb = f10;
    }

    public void lse(String str) {
        this.rbn = str;
    }

    public void maa(String str) {
        this.zow = str;
    }

    public void nt(String str) {
        this.qlg = str;
    }

    public void onz(String str) {
        this.ol = str;
    }

    public void qhl(String str) {
        this.pkk = str;
    }

    public void ro(float f10) {
        this.ro = f10;
    }

    public void sds(String str) {
        this.lcp = str;
    }

    public void vt(String str) {
        this.sds = str;
    }

    public void wey(String str) {
        this.ado = str;
    }

    public void wsy(int i10) {
        this.nt = i10;
    }

    public void wu(int i10) {
        this.mq = i10;
    }

    public void yz(float f10) {
        this.yz = f10;
    }

    public void ajl(int i10) {
        this.wjb = i10;
    }

    public boolean dsz() {
        return this.jnr;
    }

    public void duv(boolean z10) {
        this.pyj = z10;
    }

    public void ef(String str) {
        this.wey = str;
    }

    public void fhx(boolean z10) {
        this.zjk = z10;
    }

    public void fm(long j10) {
        this.nn = j10;
    }

    public void gof(boolean z10) {
        this.zzn = z10;
    }

    public void irt(boolean z10) {
        this.grs = z10;
    }

    public void jnr(int i10) {
        this.po = i10;
    }

    public void ku(boolean z10) {
        this.pcm = z10;
    }

    public void lb(int i10) {
        this.f6509kc = i10;
    }

    public void onz(boolean z10) {
        this.lsa = z10;
    }

    public void qhl(boolean z10) {
        this.f6513pf = z10;
    }

    public void ro(int i10) {
        this.oy = i10;
    }

    public void vt(boolean z10) {
        this.mj = z10;
    }

    public void wsy(String str) {
        this.gof = str;
    }

    public void wu(String str) {
        this.gqi = str;
    }

    public void yz(int i10) {
        this.ug = i10;
    }

    public void ajl(String str) {
        this.qhl = str;
    }

    public void ef(boolean z10) {
        this.vvj = z10;
    }

    public void fm(String str) {
        this.xw = str;
    }

    public void jnr(String str) {
        this.irt = str;
    }

    public void lb(String str) {
        this.onz = str;
    }

    public void ro(String str) {
        this.dsz = str;
    }

    public void wsy(boolean z10) {
        this.lmk = z10;
    }

    public void wu(boolean z10) {
        this.mpp = z10;
    }

    public void yz(String str) {
        this.fhx = str;
    }

    public void ajl(boolean z10) {
        this.f6512ne = z10;
    }

    public void fm(List<fm> list) {
        this.ttj = list;
    }

    public void jnr(JSONObject jSONObject) {
        this.ex = jSONObject;
    }

    public void lb(JSONObject jSONObject) {
        this.cyr = jSONObject;
    }

    public void ro(JSONObject jSONObject) {
        this.bwv = jSONObject;
    }

    public void yz(JSONObject jSONObject) {
        this.ucr = jSONObject;
    }

    public void fm(boolean z10) {
        this.f6514qb = z10;
    }

    public void jnr(boolean z10) {
        this.si = z10;
    }

    public void lb(boolean z10) {
        this.hi = z10;
    }

    public void ro(boolean z10) {
        this.jnr = z10;
    }

    public void yz(boolean z10) {
        this.f6506gc = z10;
    }

    public boolean fm() {
        return this.f6514qb;
    }

    public static ajl fm(JSONObject jSONObject) {
        if (jSONObject == null) {
            return null;
        }
        ajl ajlVar = new ajl();
        ajlVar.ro(jSONObject.optString("adType", "embeded"));
        ajlVar.fhx(jSONObject.optString("clickArea", "creative"));
        ajlVar.irt(jSONObject.optString("clickTigger", "click"));
        ajlVar.lb(jSONObject.optString("fontFamily", "PingFangSC"));
        ajlVar.yz(jSONObject.optString("textAlign", "left"));
        ajlVar.jnr(jSONObject.optString("color", "#999999"));
        ajlVar.ajl(jSONObject.optString("bgColor", "transparent"));
        ajlVar.wsy(jSONObject.optString("bgImgUrl", ""));
        ajlVar.mq(jSONObject.optString("bgImgData", ""));
        ajlVar.wu(jSONObject.optString("borderColor", "#000000"));
        ajlVar.ef(jSONObject.optString("borderStyle", "solid"));
        ajlVar.vt(jSONObject.optString("heightMode", "auto"));
        ajlVar.ku(jSONObject.optString("widthMode", "fixed"));
        ajlVar.duv(jSONObject.optString("interactText", ""));
        ajlVar.lb(jSONObject.optBoolean("isShowBgControl", false));
        ajlVar.dsz(jSONObject.optString("interactBgColor", ""));
        JSONObject jSONObjectOptJSONObject = jSONObject.optJSONObject("interactPosition");
        if (jSONObjectOptJSONObject != null) {
            ajlVar.wsy(jSONObjectOptJSONObject.optInt("translateY", 0));
            ajlVar.wu(jSONObjectOptJSONObject.optInt("translateX", 0));
            ajlVar.yz(jSONObjectOptJSONObject.optDouble("scaleX", 0.0d));
            ajlVar.jnr(jSONObjectOptJSONObject.optDouble("scaleY", 0.0d));
        }
        ajlVar.onz(jSONObject.optString("interactType", ""));
        ajlVar.jnr(jSONObject.optInt("interactSlideDirection", -1));
        ajlVar.qhl(jSONObject.optString("justifyHorizontal", "space-around"));
        ajlVar.gof(jSONObject.optString("justifyVertical", "flex-start"));
        ajlVar.ro(jSONObject.optDouble("timingStart"));
        ajlVar.lb(jSONObject.optDouble("timingEnd"));
        ajlVar.yz((float) jSONObject.optDouble("width", 0.0d));
        ajlVar.lb((float) jSONObject.optDouble("height", 0.0d));
        ajlVar.fm((float) jSONObject.optDouble("borderRadius", 0.0d));
        ajlVar.ro((float) jSONObject.optDouble("borderSize", 0.0d));
        ajlVar.ro(jSONObject.optBoolean("interactValidate", false));
        ajlVar.ef((float) jSONObject.optDouble("fontSize", 0.0d));
        ajlVar.jnr((float) jSONObject.optDouble("paddingBottom", 0.0d));
        ajlVar.ajl((float) jSONObject.optDouble("paddingLeft", 0.0d));
        ajlVar.wsy((float) jSONObject.optDouble("paddingRight", 0.0d));
        ajlVar.wu((float) jSONObject.optDouble("paddingTop", 0.0d));
        ajlVar.yz(jSONObject.optBoolean("lineFeed", false));
        ajlVar.ef(jSONObject.optInt("lineCount", 0));
        ajlVar.ajl(jSONObject.optDouble("lineHeight", 1.2d));
        ajlVar.onz(jSONObject.optInt("letterSpacing", 0));
        ajlVar.jnr(jSONObject.optBoolean("isDataFixed", false));
        ajlVar.fhx(jSONObject.optInt("fontWeight"));
        ajlVar.ajl(jSONObject.optBoolean("lineLimit"));
        ajlVar.irt(jSONObject.optInt("position"));
        ajlVar.gqi(jSONObject.optString("align"));
        ajlVar.wsy(jSONObject.optBoolean("useLeft"));
        ajlVar.wu(jSONObject.optBoolean("useRight"));
        ajlVar.ef(jSONObject.optBoolean("useTop"));
        ajlVar.vt(jSONObject.optBoolean("useBottom"));
        ajlVar.wey(jSONObject.optString("data"));
        ajlVar.ro(jSONObject.optJSONObject("i18n"));
        ajlVar.duv(jSONObject.optInt("marginLeft"));
        ajlVar.dsz(jSONObject.optInt("marginRight"));
        ajlVar.vt(jSONObject.optInt("marginTop"));
        ajlVar.ku(jSONObject.optInt("marginBottom"));
        ajlVar.qhl(jSONObject.optInt("tagMaxCount"));
        ajlVar.ku(jSONObject.optBoolean("allowTextFlow"));
        ajlVar.gof(jSONObject.optInt("textFlowType"));
        ajlVar.gqi(jSONObject.optInt("textFlowDuration"));
        ajlVar.wey(jSONObject.optInt("left"));
        ajlVar.sds(jSONObject.optInt("right"));
        ajlVar.maa(jSONObject.optInt("top"));
        ajlVar.lse(jSONObject.optInt("bottom"));
        ajlVar.sds(jSONObject.optString("alignItems", "flex-start"));
        ajlVar.maa(jSONObject.optString("direction", ""));
        ajlVar.fm(jSONObject.optBoolean("loop", false));
        ajlVar.hlt(jSONObject.optInt("zIndex"));
        ajlVar.ai(jSONObject.optInt("interactVisibleTime"));
        ajlVar.hi(jSONObject.optInt("interactHiddenTime"));
        ajlVar.dsz(jSONObject.optBoolean("interactEnableMask"));
        ajlVar.onz(jSONObject.optBoolean("interactWontHide"));
        ajlVar.fm(jSONObject.optString("bgGradient"));
        ajlVar.wbw(jSONObject.optInt("areaType"));
        ajlVar.ha(jSONObject.optInt("interactSlideThreshold", 0));
        ajlVar.gc(jSONObject.optInt("interactBottomDistance", com.bytedance.sdk.component.adexpress.yz.ro() ? 0 : 120));
        ajlVar.gof(jSONObject.optBoolean("openPlayableLandingPage", false));
        ajlVar.lb(jSONObject.optJSONObject("video"));
        ajlVar.yz(jSONObject.optJSONObject(MimeTypes.BASE_TYPE_IMAGE));
        ajlVar.pkk(jSONObject.optInt("borderShadowExtent"));
        ajlVar.fhx(jSONObject.optBoolean("bgGauseBlur"));
        ajlVar.hxv(jSONObject.optInt("bgGauseBlurRadius"));
        ajlVar.irt(jSONObject.optBoolean("showTimeProgress", false));
        ajlVar.qhl(jSONObject.optBoolean("showPlayButton", false));
        ajlVar.fm(jSONObject.optDouble("bgColorCg", 0.0d));
        ajlVar.ajl(jSONObject.optInt("bgMaterialCenterCalcColor", 0));
        ajlVar.ro(jSONObject.optInt("borderTopLeftRadius", 0));
        ajlVar.fm(jSONObject.optInt("borderTopRightRadius", 0));
        ajlVar.yz(jSONObject.optInt("borderBottomLeftRadius", 0));
        ajlVar.lb(jSONObject.optInt("borderBottomRightRadius", 0));
        ajlVar.jnr(jSONObject.optJSONObject("interactI18n"));
        ajlVar.hlt(jSONObject.optString("imageObjectFit"));
        ajlVar.hi(jSONObject.optString("interactTitle"));
        ajlVar.ol(jSONObject.optInt("interactTextPositionTop"));
        ajlVar.lse(jSONObject.optString("imageLottieTosPath"));
        ajlVar.duv(jSONObject.optBoolean("animationsLoop"));
        ajlVar.nt(jSONObject.optInt("lottieAppNameMaxLength"));
        ajlVar.gzf(jSONObject.optInt("lottieAdDescMaxLength"));
        ajlVar.mq(jSONObject.optInt("lottieAdTitleMaxLength"));
        try {
            JSONArray jSONArrayOptJSONArray = jSONObject.optJSONArray("animations");
            if (jSONArrayOptJSONArray != null) {
                ArrayList arrayList = new ArrayList();
                for (int i10 = 0; i10 < jSONArrayOptJSONArray.length(); i10++) {
                    JSONObject jSONObject2 = jSONArrayOptJSONArray.getJSONObject(i10);
                    fm fmVar = new fm();
                    fmVar.lb(jSONObject2.optString("animationType"));
                    fmVar.fm(jSONObject2.optDouble("animationDuration"));
                    fmVar.ro(jSONObject2.optDouble("animationScaleX"));
                    fmVar.lb(jSONObject2.optDouble("animationScaleY"));
                    fmVar.yz(jSONObject2.optString("animationTimeFunction"));
                    fmVar.yz(jSONObject2.optDouble("animationDelay"));
                    fmVar.ajl(jSONObject2.optInt("animationIterationCount"));
                    fmVar.jnr(jSONObject2.optString("animationDirection"));
                    fmVar.jnr(jSONObject2.optDouble("animationInterval"));
                    fmVar.fm(jSONObject2.optInt("animationBorderWidth"));
                    fmVar.fm(jSONObject2.optLong("key"));
                    fmVar.ro(jSONObject2.optInt("animationEffectWidth"));
                    fmVar.lb(jSONObject2.optInt("animationSwing", 1));
                    fmVar.yz(jSONObject2.optInt("animationTranslateX"));
                    fmVar.jnr(jSONObject2.optInt("animationTranslateY"));
                    fmVar.ro(jSONObject2.optString("animationRippleBackgroundColor"));
                    fmVar.fm(jSONObject2.optString("animationScaleDirection"));
                    fmVar.wsy(jSONObject2.optInt("animationFadeStart"));
                    fmVar.wu(jSONObject2.optInt("animationFadeEnd"));
                    fmVar.ajl(jSONObject2.optString("animationFillMode"));
                    fmVar.ef(jSONObject2.optInt("animationBounceHeight"));
                    if (ajlVar.gqi() > 0.0d) {
                        fmVar.yz(fmVar.onz() + ajlVar.gqi());
                    }
                    arrayList.add(fmVar);
                }
                ajlVar.fm(arrayList);
            }
            if (jSONObject.has("triggerSlideMinDistance")) {
                ajlVar.nt(jSONObject.optString("triggerSlideDirection", SessionDescription.SUPPORTED_SDP_VERSION));
                ajlVar.fm(jSONObject.optLong("triggerSlideMinDistance", 0L));
            }
        } catch (Exception unused) {
        }
        return ajlVar;
    }

    /* JADX WARN: Failed to restore switch over string. Please report as a decompilation issue */
    private void fm(ajl ajlVar, JSONObject jSONObject) {
        if (ajlVar == null || jSONObject == null) {
            return;
        }
        Iterator<String> itKeys = jSONObject.keys();
        while (itKeys.hasNext()) {
            String next = itKeys.next();
            next.getClass();
            byte b10 = -1;
            switch (next.hashCode()) {
                case -2067713583:
                    if (next.equals("isShowBgControl")) {
                        b10 = 0;
                    }
                    break;
                case -1965619659:
                    if (next.equals("clickArea")) {
                        b10 = 1;
                    }
                    break;
                case -1912831834:
                    if (next.equals("triggerSlideDirection")) {
                        b10 = 2;
                    }
                    break;
                case -1885934767:
                    if (next.equals("bgImgUrl")) {
                        b10 = 3;
                    }
                    break;
                case -1822062213:
                    if (next.equals("lineCount")) {
                        b10 = 4;
                    }
                    break;
                case -1821293778:
                    if (next.equals("openPlayableLandingPage")) {
                        b10 = 5;
                    }
                    break;
                case -1813937113:
                    if (next.equals("lineLimit")) {
                        b10 = 6;
                    }
                    break;
                case -1578250488:
                    if (next.equals("interactBgColor")) {
                        b10 = 7;
                    }
                    break;
                case -1501175880:
                    if (next.equals("paddingLeft")) {
                        b10 = 8;
                    }
                    break;
                case -1422965251:
                    if (next.equals("adType")) {
                        b10 = 9;
                    }
                    break;
                case -1383228885:
                    if (next.equals("bottom")) {
                        b10 = 10;
                    }
                    break;
                case -1224696685:
                    if (next.equals("fontFamily")) {
                        b10 = 11;
                    }
                    break;
                case -1221029593:
                    if (next.equals("height")) {
                        b10 = 12;
                    }
                    break;
                case -1065511464:
                    if (next.equals("textAlign")) {
                        b10 = 13;
                    }
                    break;
                case -1063257157:
                    if (next.equals("alignItems")) {
                        b10 = 14;
                    }
                    break;
                case -1046708884:
                    if (next.equals("interactValidate")) {
                        b10 = 15;
                    }
                    break;
                case -1044792121:
                    if (next.equals("marginTop")) {
                        b10 = 16;
                    }
                    break;
                case -1019884910:
                    if (next.equals("useBottom")) {
                        b10 = 17;
                    }
                    break;
                case -1005195314:
                    if (next.equals("triggerSlideMinDistance")) {
                        b10 = 18;
                    }
                    break;
                case -962590849:
                    if (next.equals("direction")) {
                        b10 = 19;
                    }
                    break;
                case -912366651:
                    if (next.equals("tagMaxCount")) {
                        b10 = 20;
                    }
                    break;
                case -848877971:
                    if (next.equals("interactHiddenTime")) {
                        b10 = 21;
                    }
                    break;
                case -836058546:
                    if (next.equals("useTop")) {
                        b10 = 22;
                    }
                    break;
                case -734428249:
                    if (next.equals("fontWeight")) {
                        b10 = 23;
                    }
                    break;
                case -731417480:
                    if (next.equals("zIndex")) {
                        b10 = 24;
                    }
                    break;
                case -709393864:
                    if (next.equals("timingStart")) {
                        b10 = 25;
                    }
                    break;
                case -515807685:
                    if (next.equals("lineHeight")) {
                        b10 = 26;
                    }
                    break;
                case -321658193:
                    if (next.equals("textFlowDuration")) {
                        b10 = 27;
                    }
                    break;
                case -295409451:
                    if (next.equals("useRight")) {
                        b10 = 28;
                    }
                    break;
                case -289173127:
                    if (next.equals("marginBottom")) {
                        b10 = 29;
                    }
                    break;
                case -204859874:
                    if (next.equals("bgColor")) {
                        b10 = 30;
                    }
                    break;
                case -148259282:
                    if (next.equals("useLeft")) {
                        b10 = 31;
                    }
                    break;
                case -51738487:
                    if (next.equals("widthMode")) {
                        b10 = 32;
                    }
                    break;
                case 115029:
                    if (next.equals("top")) {
                        b10 = 33;
                    }
                    break;
                case 3076010:
                    if (next.equals("data")) {
                        b10 = 34;
                    }
                    break;
                case 3317767:
                    if (next.equals("left")) {
                        b10 = 35;
                    }
                    break;
                case 3327652:
                    if (next.equals("loop")) {
                        b10 = 36;
                    }
                    break;
                case 90130308:
                    if (next.equals("paddingTop")) {
                        b10 = 37;
                    }
                    break;
                case 92903173:
                    if (next.equals("align")) {
                        b10 = 38;
                    }
                    break;
                case 94842723:
                    if (next.equals("color")) {
                        b10 = 39;
                    }
                    break;
                case 108511772:
                    if (next.equals("right")) {
                        b10 = 40;
                    }
                    break;
                case 113126854:
                    if (next.equals("width")) {
                        b10 = 41;
                    }
                    break;
                case 164611121:
                    if (next.equals("timingEnd")) {
                        b10 = 42;
                    }
                    break;
                case 202355100:
                    if (next.equals("paddingBottom")) {
                        b10 = 43;
                    }
                    break;
                case 247204452:
                    if (next.equals("allowTextFlow")) {
                        b10 = 44;
                    }
                    break;
                case 302841174:
                    if (next.equals("interactWontHide")) {
                        b10 = 45;
                    }
                    break;
                case 365601008:
                    if (next.equals("fontSize")) {
                        b10 = 46;
                    }
                    break;
                case 428975654:
                    if (next.equals("justifyVertical")) {
                        b10 = 47;
                    }
                    break;
                case 439444041:
                    if (next.equals("interactVisibleTime")) {
                        b10 = 48;
                    }
                    break;
                case 713848971:
                    if (next.equals("paddingRight")) {
                        b10 = 49;
                    }
                    break;
                case 722830999:
                    if (next.equals("borderColor")) {
                        b10 = 50;
                    }
                    break;
                case 737768677:
                    if (next.equals("borderStyle")) {
                        b10 = 51;
                    }
                    break;
                case 747804969:
                    if (next.equals("position")) {
                        b10 = 52;
                    }
                    break;
                case 791643104:
                    if (next.equals("isDataFixed")) {
                        b10 = 53;
                    }
                    break;
                case 975087886:
                    if (next.equals("marginRight")) {
                        b10 = 54;
                    }
                    break;
                case 1110826708:
                    if (next.equals("justifyHorizontal")) {
                        b10 = 55;
                    }
                    break;
                case 1122368895:
                    if (next.equals("interactPosition")) {
                        b10 = 56;
                    }
                    break;
                case 1188229042:
                    if (next.equals("lineFeed")) {
                        b10 = 57;
                    }
                    break;
                case 1332036739:
                    if (next.equals("interactText")) {
                        b10 = 58;
                    }
                    break;
                case 1332055696:
                    if (next.equals("interactType")) {
                        b10 = 59;
                    }
                    break;
                case 1349188574:
                    if (next.equals("borderRadius")) {
                        b10 = 60;
                    }
                    break;
                case 1360828714:
                    if (next.equals("clickTigger")) {
                        b10 = 61;
                    }
                    break;
                case 1490178922:
                    if (next.equals("heightMode")) {
                        b10 = 62;
                    }
                    break;
                case 1761274325:
                    if (next.equals("textFlowType")) {
                        b10 = Utf8.REPLACEMENT_BYTE;
                    }
                    break;
                case 1824903757:
                    if (next.equals("borderSize")) {
                        b10 = 64;
                    }
                    break;
                case 1970934485:
                    if (next.equals("marginLeft")) {
                        b10 = 65;
                    }
                    break;
                case 2111078717:
                    if (next.equals("letterSpacing")) {
                        b10 = 66;
                    }
                    break;
            }
            switch (b10) {
                case 0:
                    ajlVar.lb(jSONObject.optBoolean(next, false));
                    break;
                case 1:
                    ajlVar.fhx(jSONObject.optString(next));
                    break;
                case 2:
                    ajlVar.nt(jSONObject.optString(next));
                    break;
                case 3:
                    ajlVar.wsy(jSONObject.optString(next));
                    break;
                case 4:
                    ajlVar.ef(jSONObject.optInt(next));
                    break;
                case 5:
                    ajlVar.gof(jSONObject.optBoolean(next));
                    break;
                case 6:
                    ajlVar.ajl(jSONObject.optBoolean(next));
                    break;
                case 7:
                    ajlVar.dsz(jSONObject.optString(next));
                    break;
                case 8:
                    ajlVar.ajl((float) jSONObject.optDouble(next));
                    break;
                case 9:
                    ajlVar.ro(jSONObject.optString(next));
                    break;
                case 10:
                    ajlVar.lse(jSONObject.optInt(next));
                    break;
                case 11:
                    ajlVar.lb(jSONObject.optString(next));
                    break;
                case 12:
                    ajlVar.lb((float) jSONObject.optDouble(next));
                    break;
                case 13:
                    ajlVar.yz(jSONObject.optString(next));
                    break;
                case 14:
                    ajlVar.sds(jSONObject.optString(next));
                    break;
                case 15:
                    ajlVar.ro(jSONObject.optBoolean(next));
                    break;
                case 16:
                    ajlVar.vt(jSONObject.optInt(next));
                    break;
                case 17:
                    ajlVar.vt(jSONObject.optBoolean(next));
                    break;
                case 18:
                    ajlVar.fm(jSONObject.optLong(next));
                    break;
                case 19:
                    ajlVar.maa(jSONObject.optString(next));
                    break;
                case 20:
                    ajlVar.qhl(jSONObject.optInt(next));
                    break;
                case 21:
                    ajlVar.hi(jSONObject.optInt(next));
                    break;
                case 22:
                    ajlVar.ef(jSONObject.optBoolean(next));
                    break;
                case 23:
                    ajlVar.fhx(jSONObject.optInt(next));
                    break;
                case 24:
                    ajlVar.hlt(jSONObject.optInt(next));
                    break;
                case 25:
                    ajlVar.ro(jSONObject.optDouble(next));
                    break;
                case 26:
                    ajlVar.ajl(jSONObject.optDouble(next));
                    break;
                case 27:
                    ajlVar.gqi(jSONObject.optInt(next));
                    break;
                case 28:
                    ajlVar.wu(jSONObject.optBoolean(next));
                    break;
                case 29:
                    ajlVar.ku(jSONObject.optInt(next));
                    break;
                case 30:
                    ajlVar.ajl(jSONObject.optString(next));
                    break;
                case 31:
                    ajlVar.wsy(jSONObject.optBoolean(next));
                    break;
                case 32:
                    ajlVar.ku(jSONObject.optString(next));
                    break;
                case 33:
                    ajlVar.maa(jSONObject.optInt(next));
                    break;
                case 34:
                    ajlVar.wey(jSONObject.optString(next));
                    break;
                case 35:
                    ajlVar.wey(jSONObject.optInt(next));
                    break;
                case 36:
                    ajlVar.fm(jSONObject.optBoolean(next));
                    break;
                case 37:
                    ajlVar.wu((float) jSONObject.optDouble(next));
                    break;
                case 38:
                    ajlVar.gqi(jSONObject.optString(next));
                    break;
                case 39:
                    ajlVar.jnr(jSONObject.optString(next));
                    break;
                case 40:
                    ajlVar.sds(jSONObject.optInt(next));
                    break;
                case 41:
                    ajlVar.yz((float) jSONObject.optDouble(next));
                    break;
                case 42:
                    ajlVar.lb(jSONObject.optDouble(next));
                    break;
                case 43:
                    ajlVar.jnr((float) jSONObject.optDouble(next));
                    break;
                case 44:
                    ajlVar.ku(jSONObject.optBoolean(next));
                    break;
                case 45:
                    ajlVar.onz(jSONObject.optBoolean(next));
                    break;
                case 46:
                    ajlVar.ef((float) jSONObject.optDouble(next));
                    break;
                case 47:
                    ajlVar.gof(jSONObject.optString(next));
                    break;
                case 48:
                    ajlVar.ai(jSONObject.optInt(next));
                    break;
                case 49:
                    ajlVar.wsy((float) jSONObject.optDouble(next));
                    break;
                case 50:
                    ajlVar.wu(jSONObject.optString(next));
                    break;
                case 51:
                    ajlVar.ef(jSONObject.optString(next));
                    break;
                case 52:
                    ajlVar.irt(jSONObject.optInt(next));
                    break;
                case 53:
                    ajlVar.jnr(jSONObject.optBoolean(next));
                    break;
                case 54:
                    ajlVar.dsz(jSONObject.optInt(next));
                    break;
                case 55:
                    ajlVar.qhl(jSONObject.optString(next));
                    break;
                case 56:
                    JSONObject jSONObjectOptJSONObject = jSONObject.optJSONObject(next);
                    if (jSONObjectOptJSONObject != null) {
                        ajlVar.wsy(jSONObjectOptJSONObject.optInt("translateY", 0));
                        ajlVar.wu(jSONObjectOptJSONObject.optInt("translateX", 0));
                        ajlVar.yz(jSONObjectOptJSONObject.optDouble("scaleX", 0.0d));
                        ajlVar.jnr(jSONObjectOptJSONObject.optDouble("scaleY", 0.0d));
                    }
                    break;
                case 57:
                    ajlVar.yz(jSONObject.optBoolean(next));
                    break;
                case 58:
                    ajlVar.duv(jSONObject.optString(next));
                    break;
                case 59:
                    ajlVar.onz(jSONObject.optString(next));
                    break;
                case 60:
                    ajlVar.fm((float) jSONObject.optDouble(next));
                    break;
                case 61:
                    ajlVar.irt(jSONObject.optString(next));
                    break;
                case 62:
                    ajlVar.vt(jSONObject.optString(next));
                    break;
                case 63:
                    ajlVar.gof(jSONObject.optInt(next));
                    break;
                case 64:
                    ajlVar.ro((float) jSONObject.optDouble(next));
                    break;
                case 65:
                    ajlVar.duv(jSONObject.optInt(next));
                    break;
                case 66:
                    ajlVar.onz(jSONObject.optInt(next));
                    break;
            }
        }
    }
}
