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

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.bytedance.sdk.openadsdk.core.hxv;
import org.json.JSONObject;

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

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

    public static void fm(com.bytedance.sdk.component.fm.fhx fhxVar, hxv hxvVar) {
        fhxVar.fm("appInfo", new wsy("appInfo", hxvVar));
        fhxVar.fm("adInfo", new wsy("adInfo", hxvVar));
        fhxVar.fm("sendLog", new wsy("sendLog", hxvVar));
        fhxVar.fm("playable_style", new wsy("playable_style", hxvVar));
        fhxVar.fm("getTemplateInfo", new wsy("getTemplateInfo", hxvVar));
        fhxVar.fm("getTeMaiAds", new wsy("getTeMaiAds", hxvVar));
        fhxVar.fm("isViewable", new wsy("isViewable", hxvVar));
        fhxVar.fm("getScreenSize", new wsy("getScreenSize", hxvVar));
        fhxVar.fm("getCloseButtonInfo", new wsy("getCloseButtonInfo", hxvVar));
        fhxVar.fm("getVolume", new wsy("getVolume", hxvVar));
        fhxVar.fm("removeLoading", new wsy("removeLoading", hxvVar));
        fhxVar.fm("sendReward", new wsy("sendReward", hxvVar));
        fhxVar.fm("subscribe_app_ad", new wsy("subscribe_app_ad", hxvVar));
        fhxVar.fm("download_app_ad", new wsy("download_app_ad", hxvVar));
        fhxVar.fm("cancel_download_app_ad", new wsy("cancel_download_app_ad", hxvVar));
        fhxVar.fm("unsubscribe_app_ad", new wsy("unsubscribe_app_ad", hxvVar));
        fhxVar.fm("landscape_click", new wsy("landscape_click", hxvVar));
        fhxVar.fm("clickEvent", new wsy("clickEvent", hxvVar));
        fhxVar.fm("renderDidFinish", new wsy("renderDidFinish", hxvVar));
        fhxVar.fm("dynamicTrack", new wsy("dynamicTrack", hxvVar));
        fhxVar.fm("skipVideo", new wsy("skipVideo", hxvVar));
        fhxVar.fm("muteVideo", new wsy("muteVideo", hxvVar));
        fhxVar.fm("changeVideoState", new wsy("changeVideoState", hxvVar));
        fhxVar.fm("getCurrentVideoState", new wsy("getCurrentVideoState", hxvVar));
        fhxVar.fm("send_temai_product_ids", new wsy("send_temai_product_ids", hxvVar));
        fhxVar.fm("getMaterialMeta", new wsy("getMaterialMeta", hxvVar));
        fhxVar.fm("endcard_load", new wsy("endcard_load", hxvVar));
        fhxVar.fm("pauseWebView", new wsy("pauseWebView", hxvVar));
        fhxVar.fm("pauseWebViewTimers", new wsy("pauseWebViewTimers", hxvVar));
        fhxVar.fm("webview_time_track", new wsy("webview_time_track", hxvVar));
        fhxVar.fm("openPrivacy", new wsy("openPrivacy", hxvVar));
        fhxVar.fm("openAdLandPageLinks", new wsy("openAdLandPageLinks", hxvVar));
        fhxVar.fm("getNativeSiteCustomData", new wsy("getNativeSiteCustomData", hxvVar));
        fhxVar.fm("close", new wsy("close", hxvVar));
    }

    @Override // com.bytedance.sdk.component.fm.yz
    @Nullable
    public JSONObject fm(String str, @NonNull JSONObject jSONObject, @NonNull com.bytedance.sdk.component.fm.jnr jnrVar) throws Exception {
        hxv.ro roVar = new hxv.ro();
        roVar.fm = "call";
        roVar.f7139lb = this.ro;
        roVar.yz = jSONObject;
        return this.fm.fm(roVar, 3);
    }
}
