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

# interfaces
.implements Lz5/cu;


# instance fields
.field public final synthetic r:I

.field public final s:Lz5/zm0;


# direct methods
.method public constructor <init>(Lz5/zm0;I)V
    .registers 4

    iput p2, p0, Lz5/ym0;->r:I

    const/4 v0, 0x1

    if-eq p2, v0, :cond_26

    const/4 v0, 0x2

    if-eq p2, v0, :cond_20

    const/4 v0, 0x3

    if-eq p2, v0, :cond_1a

    const/4 v0, 0x4

    if-eq p2, v0, :cond_14

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

    iput-object p1, p0, Lz5/ym0;->s:Lz5/zm0;

    return-void

    .line 2
    :cond_14
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object p1, p0, Lz5/ym0;->s:Lz5/zm0;

    return-void

    .line 3
    :cond_1a
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object p1, p0, Lz5/ym0;->s:Lz5/zm0;

    return-void

    .line 4
    :cond_20
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object p1, p0, Lz5/ym0;->s:Lz5/zm0;

    return-void

    .line 5
    :cond_26
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object p1, p0, Lz5/ym0;->s:Lz5/zm0;

    return-void
.end method


# virtual methods
.method public final a(Ljava/lang/Object;Ljava/util/Map;)V
    .registers 10

    iget v0, p0, Lz5/ym0;->r:I

    const/4 v1, 0x0

    packed-switch v0, :pswitch_data_8c

    goto :goto_71

    .line 1
    :pswitch_7
    iget-object p2, p0, Lz5/ym0;->s:Lz5/zm0;

    check-cast p1, Lcom/google/android/gms/internal/ads/g2;

    invoke-static {p2}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    const-string v0, "Showing native ads overlay."

    .line 2
    invoke-static {v0}, Lz5/d50;->zzh(Ljava/lang/String;)V

    invoke-interface {p1}, Lcom/google/android/gms/internal/ads/g2;->zzH()Landroid/view/View;

    move-result-object p1

    invoke-virtual {p1, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object p1, p2, Lz5/zm0;->c:Lz5/ic0;

    const/4 p2, 0x1

    .line 3
    iput-boolean p2, p1, Lz5/ic0;->w:Z

    return-void

    .line 4
    :pswitch_20
    iget-object v0, p0, Lz5/ym0;->s:Lz5/zm0;

    move-object v1, p1

    check-cast v1, Lcom/google/android/gms/internal/ads/g2;

    invoke-interface {v1}, Lcom/google/android/gms/internal/ads/g2;->l()Lz5/z80;

    move-result-object p1

    new-instance v2, Lz5/n50;

    invoke-direct {v2, v0, p2}, Lz5/n50;-><init>(Lz5/zm0;Ljava/util/Map;)V

    check-cast p1, Lcom/google/android/gms/internal/ads/h2;

    .line 5
    iput-object v2, p1, Lcom/google/android/gms/internal/ads/h2;->x:Lz5/x80;

    const-string p1, "overlayHtml"

    .line 6
    invoke-interface {p2, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    move-object v3, p1

    check-cast v3, Ljava/lang/String;

    const-string p1, "baseUrl"

    invoke-interface {p2, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    move-object v2, p1

    check-cast v2, Ljava/lang/String;

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result p1

    if-eqz p1, :cond_52

    const-string p1, "text/html"

    const-string p2, "UTF-8"

    invoke-interface {v1, v3, p1, p2}, Lcom/google/android/gms/internal/ads/g2;->loadData(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_5a

    :cond_52
    const/4 v6, 0x0

    const-string v4, "text/html"

    const-string v5, "UTF-8"

    invoke-interface/range {v1 .. v6}, Lcom/google/android/gms/internal/ads/g2;->loadDataWithBaseURL(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    :goto_5a
    return-void

    .line 7
    :pswitch_5b
    iget-object p2, p0, Lz5/ym0;->s:Lz5/zm0;

    check-cast p1, Lcom/google/android/gms/internal/ads/g2;

    .line 8
    iget-object p1, p2, Lz5/zm0;->d:Lz5/nm0;

    invoke-interface {p1}, Lz5/nm0;->g()V

    return-void

    .line 9
    :pswitch_65
    iget-object v0, p0, Lz5/ym0;->s:Lz5/zm0;

    check-cast p1, Lcom/google/android/gms/internal/ads/g2;

    .line 10
    iget-object p1, v0, Lz5/zm0;->b:Lz5/to0;

    const-string v0, "sendMessageToNativeJs"

    invoke-virtual {p1, v0, p2}, Lz5/to0;->d(Ljava/lang/String;Ljava/util/Map;)V

    return-void

    .line 11
    :goto_71
    iget-object p2, p0, Lz5/ym0;->s:Lz5/zm0;

    check-cast p1, Lcom/google/android/gms/internal/ads/g2;

    invoke-static {p2}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    const-string v0, "Hiding native ads overlay."

    .line 12
    invoke-static {v0}, Lz5/d50;->zzh(Ljava/lang/String;)V

    invoke-interface {p1}, Lcom/google/android/gms/internal/ads/g2;->zzH()Landroid/view/View;

    move-result-object p1

    const/16 v0, 0x8

    invoke-virtual {p1, v0}, Landroid/view/View;->setVisibility(I)V

    iget-object p1, p2, Lz5/zm0;->c:Lz5/ic0;

    .line 13
    iput-boolean v1, p1, Lz5/ic0;->w:Z

    return-void

    nop

    :pswitch_data_8c
    .packed-switch 0x0
        :pswitch_65
        :pswitch_5b
        :pswitch_20
        :pswitch_7
    .end packed-switch
.end method
