package com.mbridge.msdk.video.dynview.b; import android.view.View; import com.mbridge.msdk.video.dynview.c; import java.util.Map; /* loaded from: classes4.dex */ public class b { private static volatile b a; private b() { } public static b a() { b bVar; if (a != null) { return a; } synchronized (b.class) { try { if (a == null) { a = new b(); } bVar = a; } catch (Throwable th) { throw th; } } return bVar; } public final void a(View view, c cVar, Map map) { if (cVar == null) { return; } int h = cVar.h(); if (h == 1) { new com.mbridge.msdk.video.dynview.j.b().a(view, map); return; } if (h == 2) { new com.mbridge.msdk.video.dynview.j.b().a(view, cVar, map); return; } if (h == 3) { new com.mbridge.msdk.video.dynview.j.b().a(view, cVar); } else if (h == 4) { new com.mbridge.msdk.video.dynview.j.b().b(view, cVar, map); } else { if (h != 5) { return; } new com.mbridge.msdk.video.dynview.j.b(); } } }