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

# interfaces
.implements Lz5/wi0;
.implements Lz5/oj;
.implements Lz5/pg0;
.implements Lz5/eg0;


# instance fields
.field public final r:Landroid/content/Context;

.field public final s:Lz5/s31;

.field public final t:Lz5/i31;

.field public final u:Lz5/b31;

.field public final v:Lz5/lu0;

.field public w:Ljava/lang/Boolean;

.field public final x:Z

.field public final y:Lz5/q51;

.field public final z:Ljava/lang/String;


# direct methods
.method public constructor <init>(Landroid/content/Context;Lz5/s31;Lz5/i31;Lz5/b31;Lz5/lu0;Lz5/q51;Ljava/lang/String;)V
    .registers 8

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

    iput-object p1, p0, Lz5/rt0;->r:Landroid/content/Context;

    iput-object p2, p0, Lz5/rt0;->s:Lz5/s31;

    iput-object p3, p0, Lz5/rt0;->t:Lz5/i31;

    iput-object p4, p0, Lz5/rt0;->u:Lz5/b31;

    iput-object p5, p0, Lz5/rt0;->v:Lz5/lu0;

    sget-object p1, Lz5/so;->z4:Lz5/no;

    .line 1
    sget-object p2, Lz5/xk;->d:Lz5/xk;

    iget-object p2, p2, Lz5/xk;->c:Lcom/google/android/gms/internal/ads/g0;

    .line 2
    invoke-virtual {p2, p1}, Lcom/google/android/gms/internal/ads/g0;->a(Lz5/no;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Ljava/lang/Boolean;

    invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result p1

    iput-boolean p1, p0, Lz5/rt0;->x:Z

    iput-object p6, p0, Lz5/rt0;->y:Lz5/q51;

    iput-object p7, p0, Lz5/rt0;->z:Ljava/lang/String;

    return-void
.end method


# virtual methods
.method public final A(Lz5/gl0;)V
    .registers 6

    iget-boolean v0, p0, Lz5/rt0;->x:Z

    if-nez v0, :cond_5

    return-void

    :cond_5
    const-string v0, "ifts"

    invoke-virtual {p0, v0}, Lz5/rt0;->b(Ljava/lang/String;)Lz5/p51;

    move-result-object v0

    .line 1
    iget-object v1, v0, Lz5/p51;->a:Ljava/util/HashMap;

    const-string v2, "reason"

    const-string v3, "exception"

    invoke-virtual {v1, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 2
    invoke-virtual {p1}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;

    move-result-object v1

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

    move-result v1

    if-nez v1, :cond_29

    invoke-virtual {p1}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;

    move-result-object p1

    .line 3
    iget-object v1, v0, Lz5/p51;->a:Ljava/util/HashMap;

    const-string v2, "msg"

    invoke-virtual {v1, v2, p1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 4
    :cond_29
    iget-object p1, p0, Lz5/rt0;->y:Lz5/q51;

    invoke-interface {p1, v0}, Lz5/q51;->b(Lz5/p51;)V

    return-void
.end method

.method public final a()Z
    .registers 6

    iget-object v0, p0, Lz5/rt0;->w:Ljava/lang/Boolean;

    if-nez v0, :cond_48

    monitor-enter p0

    :try_start_5
    iget-object v0, p0, Lz5/rt0;->w:Ljava/lang/Boolean;

    if-nez v0, :cond_44

    sget-object v0, Lz5/so;->S0:Lz5/no;

    .line 1
    sget-object v1, Lz5/xk;->d:Lz5/xk;

    iget-object v1, v1, Lz5/xk;->c:Lcom/google/android/gms/internal/ads/g0;

    .line 2
    invoke-virtual {v1, v0}, Lcom/google/android/gms/internal/ads/g0;->a(Lz5/no;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzc()Lcom/google/android/gms/ads/internal/util/zzs;

    iget-object v1, p0, Lz5/rt0;->r:Landroid/content/Context;

    invoke-static {v1}, Lcom/google/android/gms/ads/internal/util/zzs;->zzv(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1
    :try_end_1e
    .catchall {:try_start_5 .. :try_end_1e} :catchall_3c

    const/4 v2, 0x0

    if-eqz v0, :cond_3e

    if-nez v1, :cond_24

    goto :goto_3e

    :cond_24
    :try_start_24
    invoke-static {v0, v1}, Ljava/util/regex/Pattern;->matches(Ljava/lang/String;Ljava/lang/CharSequence;)Z

    move-result v2
    :try_end_28
    .catch Ljava/lang/RuntimeException; {:try_start_24 .. :try_end_28} :catch_29
    .catchall {:try_start_24 .. :try_end_28} :catchall_3c

    goto :goto_3e

    :catch_29
    move-exception v0

    :try_start_2a
    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzg()Lcom/google/android/gms/internal/ads/u1;

    move-result-object v1

    const-string v3, "CsiActionsListener.isPatternMatched"

    .line 3
    iget-object v4, v1, Lcom/google/android/gms/internal/ads/u1;->e:Landroid/content/Context;

    iget-object v1, v1, Lcom/google/android/gms/internal/ads/u1;->f:Lz5/g50;

    invoke-static {v4, v1}, Lcom/google/android/gms/internal/ads/h1;->d(Landroid/content/Context;Lz5/g50;)Lz5/f10;

    move-result-object v1

    invoke-interface {v1, v0, v3}, Lz5/f10;->a(Ljava/lang/Throwable;Ljava/lang/String;)V

    goto :goto_3e

    :catchall_3c
    move-exception v0

    goto :goto_46

    .line 4
    :cond_3e
    :goto_3e
    invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    iput-object v0, p0, Lz5/rt0;->w:Ljava/lang/Boolean;

    :cond_44
    monitor-exit p0

    goto :goto_48

    :goto_46
    monitor-exit p0
    :try_end_47
    .catchall {:try_start_2a .. :try_end_47} :catchall_3c

    throw v0

    :cond_48
    :goto_48
    iget-object v0, p0, Lz5/rt0;->w:Ljava/lang/Boolean;

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    return v0
.end method

.method public final b(Ljava/lang/String;)Lz5/p51;
    .registers 5

    invoke-static {p1}, Lz5/p51;->a(Ljava/lang/String;)Lz5/p51;

    move-result-object p1

    iget-object v0, p0, Lz5/rt0;->t:Lz5/i31;

    const/4 v1, 0x0

    invoke-virtual {p1, v0, v1}, Lz5/p51;->d(Lz5/i31;Lz5/w40;)Lz5/p51;

    iget-object v0, p0, Lz5/rt0;->u:Lz5/b31;

    .line 1
    iget-object v1, p1, Lz5/p51;->a:Ljava/util/HashMap;

    iget-object v0, v0, Lz5/b31;->w:Ljava/lang/String;

    const-string v2, "aai"

    invoke-virtual {v1, v2, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 2
    iget-object v0, p0, Lz5/rt0;->z:Ljava/lang/String;

    .line 3
    iget-object v1, p1, Lz5/p51;->a:Ljava/util/HashMap;

    const-string v2, "request_id"

    invoke-virtual {v1, v2, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 4
    iget-object v0, p0, Lz5/rt0;->u:Lz5/b31;

    iget-object v0, v0, Lz5/b31;->t:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_3a

    iget-object v0, p0, Lz5/rt0;->u:Lz5/b31;

    iget-object v0, v0, Lz5/b31;->t:Ljava/util/List;

    const/4 v1, 0x0

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    .line 5
    iget-object v1, p1, Lz5/p51;->a:Ljava/util/HashMap;

    const-string v2, "ancn"

    invoke-virtual {v1, v2, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 6
    :cond_3a
    iget-object v0, p0, Lz5/rt0;->u:Lz5/b31;

    iget-boolean v0, v0, Lz5/b31;->f0:Z

    if-eqz v0, :cond_74

    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzc()Lcom/google/android/gms/ads/internal/util/zzs;

    const/4 v0, 0x1

    iget-object v1, p0, Lz5/rt0;->r:Landroid/content/Context;

    invoke-static {v1}, Lcom/google/android/gms/ads/internal/util/zzs;->zzI(Landroid/content/Context;)Z

    move-result v1

    if-eq v0, v1, :cond_4f

    const-string v0, "offline"

    goto :goto_51

    :cond_4f
    const-string v0, "online"

    .line 7
    :goto_51
    iget-object v1, p1, Lz5/p51;->a:Ljava/util/HashMap;

    const-string v2, "device_connectivity"

    invoke-virtual {v1, v2, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 8
    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzj()Lu5/c;

    move-result-object v0

    invoke-interface {v0}, Lu5/c;->b()J

    move-result-wide v0

    invoke-static {v0, v1}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object v0

    .line 9
    iget-object v1, p1, Lz5/p51;->a:Ljava/util/HashMap;

    const-string v2, "event_timestamp"

    invoke-virtual {v1, v2, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p1, Lz5/p51;->a:Ljava/util/HashMap;

    const-string v1, "offline_ad"

    const-string v2, "1"

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_74
    return-object p1
.end method

.method public final d(Lz5/p51;)V
    .registers 9

    iget-object v0, p0, Lz5/rt0;->u:Lz5/b31;

    iget-boolean v0, v0, Lz5/b31;->f0:Z

    if-eqz v0, :cond_30

    iget-object v0, p0, Lz5/rt0;->y:Lz5/q51;

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

    move-result-object v5

    new-instance p1, Lz5/q9;

    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzj()Lu5/c;

    move-result-object v0

    invoke-interface {v0}, Lu5/c;->b()J

    move-result-wide v2

    iget-object v0, p0, Lz5/rt0;->t:Lz5/i31;

    iget-object v0, v0, Lz5/i31;->b:Lcom/google/android/gms/internal/ads/d1;

    iget-object v0, v0, Lcom/google/android/gms/internal/ads/d1;->t:Ljava/lang/Object;

    check-cast v0, Lz5/e31;

    iget-object v4, v0, Lz5/e31;->b:Ljava/lang/String;

    const/4 v6, 0x2

    move-object v1, p1

    invoke-direct/range {v1 .. v6}, Lz5/q9;-><init>(JLjava/lang/String;Ljava/lang/String;I)V

    iget-object v0, p0, Lz5/rt0;->v:Lz5/lu0;

    .line 1
    new-instance v1, Landroidx/appcompat/widget/n;

    invoke-direct {v1, v0, p1}, Landroidx/appcompat/widget/n;-><init>(Lz5/lu0;Lz5/q9;)V

    invoke-virtual {v0, v1}, Lz5/lu0;->b(Lz5/a51;)V

    return-void

    .line 2
    :cond_30
    iget-object v0, p0, Lz5/rt0;->y:Lz5/q51;

    invoke-interface {v0, p1}, Lz5/q51;->b(Lz5/p51;)V

    return-void
.end method

.method public final l0(Lz5/sj;)V
    .registers 7

    iget-boolean v0, p0, Lz5/rt0;->x:Z

    if-nez v0, :cond_5

    return-void

    :cond_5
    iget v0, p1, Lz5/sj;->r:I

    iget-object v1, p1, Lz5/sj;->s:Ljava/lang/String;

    iget-object v2, p1, Lz5/sj;->t:Ljava/lang/String;

    const-string v3, "com.google.android.gms.ads"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_25

    iget-object v2, p1, Lz5/sj;->u:Lz5/sj;

    if-eqz v2, :cond_25

    iget-object v2, v2, Lz5/sj;->t:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_25

    iget-object p1, p1, Lz5/sj;->u:Lz5/sj;

    iget v0, p1, Lz5/sj;->r:I

    iget-object v1, p1, Lz5/sj;->s:Ljava/lang/String;

    :cond_25
    iget-object p1, p0, Lz5/rt0;->s:Lz5/s31;

    invoke-virtual {p1, v1}, Lz5/s31;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    const-string v1, "ifts"

    invoke-virtual {p0, v1}, Lz5/rt0;->b(Ljava/lang/String;)Lz5/p51;

    move-result-object v1

    .line 1
    iget-object v2, v1, Lz5/p51;->a:Ljava/util/HashMap;

    const-string v3, "reason"

    const-string v4, "adapter"

    invoke-virtual {v2, v3, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    if-ltz v0, :cond_47

    .line 2
    invoke-static {v0}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v0

    .line 3
    iget-object v2, v1, Lz5/p51;->a:Ljava/util/HashMap;

    const-string v3, "arec"

    invoke-virtual {v2, v3, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_47
    if-eqz p1, :cond_50

    iget-object v0, v1, Lz5/p51;->a:Ljava/util/HashMap;

    const-string v2, "areec"

    invoke-virtual {v0, v2, p1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 4
    :cond_50
    iget-object p1, p0, Lz5/rt0;->y:Lz5/q51;

    invoke-interface {p1, v1}, Lz5/q51;->b(Lz5/p51;)V

    return-void
.end method

.method public final onAdClicked()V
    .registers 2

    iget-object v0, p0, Lz5/rt0;->u:Lz5/b31;

    iget-boolean v0, v0, Lz5/b31;->f0:Z

    if-nez v0, :cond_7

    return-void

    :cond_7
    const-string v0, "click"

    invoke-virtual {p0, v0}, Lz5/rt0;->b(Ljava/lang/String;)Lz5/p51;

    move-result-object v0

    invoke-virtual {p0, v0}, Lz5/rt0;->d(Lz5/p51;)V

    return-void
.end method

.method public final zzc()V
    .registers 3

    invoke-virtual {p0}, Lz5/rt0;->a()Z

    move-result v0

    if-nez v0, :cond_7

    return-void

    :cond_7
    iget-object v0, p0, Lz5/rt0;->y:Lz5/q51;

    const-string v1, "adapter_impression"

    invoke-virtual {p0, v1}, Lz5/rt0;->b(Ljava/lang/String;)Lz5/p51;

    move-result-object v1

    invoke-interface {v0, v1}, Lz5/q51;->b(Lz5/p51;)V

    return-void
.end method

.method public final zzd()V
    .registers 6

    iget-boolean v0, p0, Lz5/rt0;->x:Z

    if-nez v0, :cond_5

    return-void

    :cond_5
    iget-object v0, p0, Lz5/rt0;->y:Lz5/q51;

    const-string v1, "ifts"

    invoke-virtual {p0, v1}, Lz5/rt0;->b(Ljava/lang/String;)Lz5/p51;

    move-result-object v1

    .line 1
    iget-object v2, v1, Lz5/p51;->a:Ljava/util/HashMap;

    const-string v3, "reason"

    const-string v4, "blocked"

    invoke-virtual {v2, v3, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 2
    invoke-interface {v0, v1}, Lz5/q51;->b(Lz5/p51;)V

    return-void
.end method

.method public final zze()V
    .registers 3

    invoke-virtual {p0}, Lz5/rt0;->a()Z

    move-result v0

    if-nez v0, :cond_7

    return-void

    :cond_7
    iget-object v0, p0, Lz5/rt0;->y:Lz5/q51;

    const-string v1, "adapter_shown"

    invoke-virtual {p0, v1}, Lz5/rt0;->b(Ljava/lang/String;)Lz5/p51;

    move-result-object v1

    invoke-interface {v0, v1}, Lz5/q51;->b(Lz5/p51;)V

    return-void
.end method

.method public final zzg()V
    .registers 2

    invoke-virtual {p0}, Lz5/rt0;->a()Z

    move-result v0

    if-nez v0, :cond_d

    iget-object v0, p0, Lz5/rt0;->u:Lz5/b31;

    iget-boolean v0, v0, Lz5/b31;->f0:Z

    if-nez v0, :cond_d

    return-void

    :cond_d
    const-string v0, "impression"

    invoke-virtual {p0, v0}, Lz5/rt0;->b(Ljava/lang/String;)Lz5/p51;

    move-result-object v0

    invoke-virtual {p0, v0}, Lz5/rt0;->d(Lz5/p51;)V

    return-void
.end method
