package com.bytedance.sdk.openadsdk.duv.fm;

import com.bytedance.sdk.openadsdk.core.hxv;
import org.json.JSONObject;

/* JADX INFO: loaded from: classes2.dex */
public class ef extends com.bytedance.sdk.component.fm.yz<JSONObject, JSONObject> {
    private final hxv fm;
    private String ro;

    public ef(hxv hxvVar, String str) {
        this.fm = hxvVar;
        this.ro = str;
    }

    public static void fm(com.bytedance.sdk.component.fm.fhx fhxVar, hxv hxvVar) {
        fhxVar.fm("endcardDynamicCreatives", new ef(hxvVar, "endcardDynamicCreatives"));
        fhxVar.fm("multiOpenCovert", new ef(hxvVar, "multiOpenCovert"));
        fhxVar.fm("skipToNextAd", new ef(hxvVar, "skipToNextAd"));
        fhxVar.fm("speedVideoOrTimer", new ef(hxvVar, "speedVideoOrTimer"));
        fhxVar.fm("openPlayable", new ef(hxvVar, "openPlayable"));
    }

    @Override // com.bytedance.sdk.component.fm.yz
    public JSONObject fm(String str, JSONObject jSONObject, com.bytedance.sdk.component.fm.jnr jnrVar) throws Exception {
        if ("endcardDynamicCreatives".equals(this.ro)) {
            return this.fm.ef(jSONObject);
        }
        if ("multiOpenCovert".equals(this.ro)) {
            this.fm.vt(jSONObject);
            return null;
        }
        if ("skipToNextAd".equals(this.ro)) {
            this.fm.fm(jSONObject, this.ro);
            return null;
        }
        if ("speedVideoOrTimer".equals(this.ro)) {
            return this.fm.wu(jSONObject);
        }
        if ("openPlayable".equals(this.ro)) {
            return this.fm.wsy(jSONObject);
        }
        return null;
    }
}
