.class public final Lz5/wr;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Lcom/google/android/gms/ads/formats/NativeCustomTemplateAd;


# instance fields
.field public final a:Lz5/vr;

.field public final b:Lcom/google/android/gms/ads/formats/MediaView;

.field public final c:Lcom/google/android/gms/ads/VideoController;

.field public d:Lcom/google/android/gms/ads/formats/NativeCustomTemplateAd$DisplayOpenMeasurement;


# direct methods
.method public constructor <init>(Lz5/vr;)V
    .registers 6

    const-string v0, ""

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    new-instance v1, Lcom/google/android/gms/ads/VideoController;

    invoke-direct {v1}, Lcom/google/android/gms/ads/VideoController;-><init>()V

    iput-object v1, p0, Lz5/wr;->c:Lcom/google/android/gms/ads/VideoController;

    iput-object p1, p0, Lz5/wr;->a:Lz5/vr;

    const/4 v1, 0x0

    :try_start_f
    invoke-interface {p1}, Lz5/vr;->zzm()Lx5/a;

    move-result-object p1

    invoke-static {p1}, Lx5/b;->D(Lx5/a;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Landroid/content/Context;
    :try_end_19
    .catch Ljava/lang/NullPointerException; {:try_start_f .. :try_end_19} :catch_1c
    .catch Landroid/os/RemoteException; {:try_start_f .. :try_end_19} :catch_1a

    goto :goto_21

    :catch_1a
    move-exception p1

    goto :goto_1d

    :catch_1c
    move-exception p1

    :goto_1d
    invoke-static {v0, p1}, Lz5/d50;->zzg(Ljava/lang/String;Ljava/lang/Throwable;)V

    move-object p1, v1

    :goto_21
    if-eqz p1, :cond_3d

    new-instance v2, Lcom/google/android/gms/ads/formats/MediaView;

    invoke-direct {v2, p1}, Lcom/google/android/gms/ads/formats/MediaView;-><init>(Landroid/content/Context;)V

    :try_start_28
    iget-object p1, p0, Lz5/wr;->a:Lz5/vr;

    .line 1
    new-instance v3, Lx5/b;

    invoke-direct {v3, v2}, Lx5/b;-><init>(Ljava/lang/Object;)V

    .line 2
    invoke-interface {p1, v3}, Lz5/vr;->zzn(Lx5/a;)Z

    move-result p1
    :try_end_33
    .catch Landroid/os/RemoteException; {:try_start_28 .. :try_end_33} :catch_39

    const/4 v0, 0x1

    if-eq v0, p1, :cond_37

    goto :goto_3d

    :cond_37
    move-object v1, v2

    goto :goto_3d

    :catch_39
    move-exception p1

    invoke-static {v0, p1}, Lz5/d50;->zzg(Ljava/lang/String;Ljava/lang/Throwable;)V

    :cond_3d
    :goto_3d
    iput-object v1, p0, Lz5/wr;->b:Lcom/google/android/gms/ads/formats/MediaView;

    return-void
.end method


# virtual methods
.method public final destroy()V
    .registers 3

    :try_start_0
    iget-object v0, p0, Lz5/wr;->a:Lz5/vr;

    invoke-interface {v0}, Lz5/vr;->zzl()V
    :try_end_5
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_5} :catch_6

    return-void

    :catch_6
    move-exception v0

    const-string v1, ""

    invoke-static {v1, v0}, Lz5/d50;->zzg(Ljava/lang/String;Ljava/lang/Throwable;)V

    return-void
.end method

.method public final getAvailableAssetNames()Ljava/util/List;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation

    :try_start_0
    iget-object v0, p0, Lz5/wr;->a:Lz5/vr;

    invoke-interface {v0}, Lz5/vr;->zzg()Ljava/util/List;

    move-result-object v0
    :try_end_6
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_6} :catch_7

    return-object v0

    :catch_7
    move-exception v0

    const-string v1, ""

    invoke-static {v1, v0}, Lz5/d50;->zzg(Ljava/lang/String;Ljava/lang/Throwable;)V

    const/4 v0, 0x0

    return-object v0
.end method

.method public final getCustomTemplateId()Ljava/lang/String;
    .registers 3

    :try_start_0
    iget-object v0, p0, Lz5/wr;->a:Lz5/vr;

    invoke-interface {v0}, Lz5/vr;->zzh()Ljava/lang/String;

    move-result-object v0
    :try_end_6
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_6} :catch_7

    return-object v0

    :catch_7
    move-exception v0

    const-string v1, ""

    invoke-static {v1, v0}, Lz5/d50;->zzg(Ljava/lang/String;Ljava/lang/Throwable;)V

    const/4 v0, 0x0

    return-object v0
.end method

.method public final getDisplayOpenMeasurement()Lcom/google/android/gms/ads/formats/NativeCustomTemplateAd$DisplayOpenMeasurement;
    .registers 3

    :try_start_0
    iget-object v0, p0, Lz5/wr;->d:Lcom/google/android/gms/ads/formats/NativeCustomTemplateAd$DisplayOpenMeasurement;

    if-nez v0, :cond_1c

    iget-object v0, p0, Lz5/wr;->a:Lz5/vr;

    invoke-interface {v0}, Lz5/vr;->zzo()Z

    move-result v0

    if-eqz v0, :cond_1c

    new-instance v0, Lz5/wq;

    iget-object v1, p0, Lz5/wr;->a:Lz5/vr;

    invoke-direct {v0, v1}, Lz5/wq;-><init>(Lz5/vr;)V

    iput-object v0, p0, Lz5/wr;->d:Lcom/google/android/gms/ads/formats/NativeCustomTemplateAd$DisplayOpenMeasurement;
    :try_end_15
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_15} :catch_16

    goto :goto_1c

    :catch_16
    move-exception v0

    const-string v1, ""

    invoke-static {v1, v0}, Lz5/d50;->zzg(Ljava/lang/String;Ljava/lang/Throwable;)V

    :cond_1c
    :goto_1c
    iget-object v0, p0, Lz5/wr;->d:Lcom/google/android/gms/ads/formats/NativeCustomTemplateAd$DisplayOpenMeasurement;

    return-object v0
.end method

.method public final getImage(Ljava/lang/String;)Lcom/google/android/gms/ads/formats/NativeAd$Image;
    .registers 3

    :try_start_0
    iget-object v0, p0, Lz5/wr;->a:Lz5/vr;

    invoke-interface {v0, p1}, Lz5/vr;->a(Ljava/lang/String;)Lz5/br;

    move-result-object p1

    if-eqz p1, :cond_14

    new-instance v0, Lz5/cr;

    invoke-direct {v0, p1}, Lz5/cr;-><init>(Lz5/br;)V
    :try_end_d
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_d} :catch_e

    return-object v0

    :catch_e
    move-exception p1

    const-string v0, ""

    invoke-static {v0, p1}, Lz5/d50;->zzg(Ljava/lang/String;Ljava/lang/Throwable;)V

    :cond_14
    const/4 p1, 0x0

    return-object p1
.end method

.method public final getText(Ljava/lang/String;)Ljava/lang/CharSequence;
    .registers 3

    :try_start_0
    iget-object v0, p0, Lz5/wr;->a:Lz5/vr;

    invoke-interface {v0, p1}, Lz5/vr;->zze(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1
    :try_end_6
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_6} :catch_7

    return-object p1

    :catch_7
    move-exception p1

    const-string v0, ""

    invoke-static {v0, p1}, Lz5/d50;->zzg(Ljava/lang/String;Ljava/lang/Throwable;)V

    const/4 p1, 0x0

    return-object p1
.end method

.method public final getVideoController()Lcom/google/android/gms/ads/VideoController;
    .registers 3

    :try_start_0
    iget-object v0, p0, Lz5/wr;->a:Lz5/vr;

    invoke-interface {v0}, Lz5/vr;->zzk()Lz5/an;

    move-result-object v0

    if-eqz v0, :cond_14

    iget-object v1, p0, Lz5/wr;->c:Lcom/google/android/gms/ads/VideoController;

    invoke-virtual {v1, v0}, Lcom/google/android/gms/ads/VideoController;->zza(Lz5/an;)V
    :try_end_d
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_d} :catch_e

    goto :goto_14

    :catch_e
    move-exception v0

    const-string v1, "Exception occurred while getting video controller"

    invoke-static {v1, v0}, Lz5/d50;->zzg(Ljava/lang/String;Ljava/lang/Throwable;)V

    :cond_14
    :goto_14
    iget-object v0, p0, Lz5/wr;->c:Lcom/google/android/gms/ads/VideoController;

    return-object v0
.end method

.method public final getVideoMediaView()Lcom/google/android/gms/ads/formats/MediaView;
    .registers 2

    iget-object v0, p0, Lz5/wr;->b:Lcom/google/android/gms/ads/formats/MediaView;

    return-object v0
.end method

.method public final performClick(Ljava/lang/String;)V
    .registers 3

    :try_start_0
    iget-object v0, p0, Lz5/wr;->a:Lz5/vr;

    invoke-interface {v0, p1}, Lz5/vr;->zzi(Ljava/lang/String;)V
    :try_end_5
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_5} :catch_6

    return-void

    :catch_6
    move-exception p1

    const-string v0, ""

    invoke-static {v0, p1}, Lz5/d50;->zzg(Ljava/lang/String;Ljava/lang/Throwable;)V

    return-void
.end method

.method public final recordImpression()V
    .registers 3

    :try_start_0
    iget-object v0, p0, Lz5/wr;->a:Lz5/vr;

    invoke-interface {v0}, Lz5/vr;->zzj()V
    :try_end_5
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_5} :catch_6

    return-void

    :catch_6
    move-exception v0

    const-string v1, ""

    invoke-static {v1, v0}, Lz5/d50;->zzg(Ljava/lang/String;Ljava/lang/Throwable;)V

    return-void
.end method
