.class public final Lcom/google/android/gms/internal/ads/d3;
.super Lz5/er;
.source ""

# interfaces
.implements Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;
.implements Landroid/view/ViewTreeObserver$OnScrollChangedListener;
.implements Lz5/en0;


# static fields
.field public static final E:Lcom/google/android/gms/internal/ads/q6;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/google/android/gms/internal/ads/q6<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field


# instance fields
.field public A:Lx5/a;

.field public B:Lz5/zq;

.field public C:Z

.field public D:Z

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

.field public s:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/ref/WeakReference<",
            "Landroid/view/View;",
            ">;>;"
        }
    .end annotation

    .annotation build Ljavax/annotation/concurrent/GuardedBy;
        value = "this"
    .end annotation
.end field

.field public t:Landroid/widget/FrameLayout;

.field public u:Landroid/widget/FrameLayout;

.field public final v:Lz5/gc1;

.field public w:Landroid/view/View;

.field public final x:I

.field public y:Lz5/em0;
    .annotation build Ljavax/annotation/concurrent/GuardedBy;
        value = "this"
    .end annotation
.end field

.field public z:Lz5/se;


# direct methods
.method public static constructor <clinit>()V
    .registers 4

    sget-object v0, Lcom/google/android/gms/internal/ads/q6;->s:Lz5/v91;

    const/4 v0, 0x3

    new-array v1, v0, [Ljava/lang/Object;

    const/4 v2, 0x0

    const-string v3, "2011"

    aput-object v3, v1, v2

    const/4 v2, 0x1

    const-string v3, "1009"

    aput-object v3, v1, v2

    const/4 v2, 0x2

    const-string v3, "3010"

    aput-object v3, v1, v2

    .line 1
    invoke-static {v1, v0}, Lcom/google/android/gms/internal/ads/r;->f([Ljava/lang/Object;I)[Ljava/lang/Object;

    invoke-static {v1, v0}, Lcom/google/android/gms/internal/ads/q6;->e0([Ljava/lang/Object;I)Lcom/google/android/gms/internal/ads/q6;

    move-result-object v0

    .line 2
    sput-object v0, Lcom/google/android/gms/internal/ads/d3;->E:Lcom/google/android/gms/internal/ads/q6;

    return-void
.end method

.method public constructor <init>(Landroid/widget/FrameLayout;Landroid/widget/FrameLayout;I)V
    .registers 5

    invoke-direct {p0}, Lz5/er;-><init>()V

    new-instance p3, Ljava/util/HashMap;

    invoke-direct {p3}, Ljava/util/HashMap;-><init>()V

    iput-object p3, p0, Lcom/google/android/gms/internal/ads/d3;->s:Ljava/util/Map;

    const/4 p3, 0x0

    iput-object p3, p0, Lcom/google/android/gms/internal/ads/d3;->A:Lx5/a;

    const/4 p3, 0x0

    iput-boolean p3, p0, Lcom/google/android/gms/internal/ads/d3;->D:Z

    iput-object p1, p0, Lcom/google/android/gms/internal/ads/d3;->t:Landroid/widget/FrameLayout;

    iput-object p2, p0, Lcom/google/android/gms/internal/ads/d3;->u:Landroid/widget/FrameLayout;

    const p2, 0xcbe6bb0

    iput p2, p0, Lcom/google/android/gms/internal/ads/d3;->x:I

    invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object p2

    invoke-virtual {p2}, Ljava/lang/Class;->getCanonicalName()Ljava/lang/String;

    move-result-object p2

    const-string p3, "com.google.android.gms.ads.formats.NativeContentAdView"

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

    move-result p3

    if-eqz p3, :cond_2c

    const-string p2, "1007"

    goto :goto_3e

    :cond_2c
    const-string p3, "com.google.android.gms.ads.formats.NativeAppInstallAdView"

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

    move-result p3

    if-eqz p3, :cond_37

    const-string p2, "2009"

    goto :goto_3e

    :cond_37
    const-string p3, "com.google.android.gms.ads.formats.UnifiedNativeAdView"

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

    const-string p2, "3012"

    :goto_3e
    iput-object p2, p0, Lcom/google/android/gms/internal/ads/d3;->r:Ljava/lang/String;

    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzz()Lz5/o50;

    invoke-static {p1, p0}, Lz5/o50;->a(Landroid/view/View;Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;)V

    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzz()Lz5/o50;

    invoke-static {p1, p0}, Lz5/o50;->b(Landroid/view/View;Landroid/view/ViewTreeObserver$OnScrollChangedListener;)V

    sget-object p2, Lz5/k50;->e:Lz5/gc1;

    iput-object p2, p0, Lcom/google/android/gms/internal/ads/d3;->v:Lz5/gc1;

    new-instance p2, Lz5/se;

    iget-object p3, p0, Lcom/google/android/gms/internal/ads/d3;->t:Landroid/widget/FrameLayout;

    invoke-virtual {p3}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;

    move-result-object p3

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d3;->t:Landroid/widget/FrameLayout;

    invoke-direct {p2, p3, v0}, Lz5/se;-><init>(Landroid/content/Context;Landroid/view/View;)V

    iput-object p2, p0, Lcom/google/android/gms/internal/ads/d3;->z:Lz5/se;

    invoke-virtual {p1, p0}, Landroid/widget/FrameLayout;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    invoke-virtual {p1, p0}, Landroid/widget/FrameLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method


# virtual methods
.method public final declared-synchronized D(Ljava/lang/String;Landroid/view/View;Z)V
    .registers 5

    monitor-enter p0

    :try_start_1
    iget-boolean p3, p0, Lcom/google/android/gms/internal/ads/d3;->D:Z
    :try_end_3
    .catchall {:try_start_1 .. :try_end_3} :catchall_41

    if-eqz p3, :cond_7

    monitor-exit p0

    return-void

    :cond_7
    if-nez p2, :cond_10

    :try_start_9
    iget-object p2, p0, Lcom/google/android/gms/internal/ads/d3;->s:Ljava/util/Map;

    invoke-interface {p2, p1}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;
    :try_end_e
    .catchall {:try_start_9 .. :try_end_e} :catchall_41

    monitor-exit p0

    return-void

    :cond_10
    :try_start_10
    iget-object p3, p0, Lcom/google/android/gms/internal/ads/d3;->s:Ljava/util/Map;

    new-instance v0, Ljava/lang/ref/WeakReference;

    invoke-direct {v0, p2}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    invoke-interface {p3, p1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string p3, "1098"

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

    move-result p3

    if-nez p3, :cond_3f

    const-string p3, "3011"

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

    move-result p1

    if-eqz p1, :cond_2b

    goto :goto_3f

    :cond_2b
    iget p1, p0, Lcom/google/android/gms/internal/ads/d3;->x:I

    invoke-static {p1}, Lcom/google/android/gms/ads/internal/util/zzca;->zza(I)Z

    move-result p1

    if-eqz p1, :cond_36

    invoke-virtual {p2, p0}, Landroid/view/View;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    :cond_36
    const/4 p1, 0x1

    invoke-virtual {p2, p1}, Landroid/view/View;->setClickable(Z)V

    invoke-virtual {p2, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
    :try_end_3d
    .catchall {:try_start_10 .. :try_end_3d} :catchall_41

    monitor-exit p0

    return-void

    :cond_3f
    :goto_3f
    monitor-exit p0

    return-void

    :catchall_41
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public final declared-synchronized G0(Lz5/zq;)V
    .registers 3

    monitor-enter p0

    :try_start_1
    iget-boolean v0, p0, Lcom/google/android/gms/internal/ads/d3;->D:Z
    :try_end_3
    .catchall {:try_start_1 .. :try_end_3} :catchall_1d

    if-eqz v0, :cond_7

    monitor-exit p0

    return-void

    :cond_7
    const/4 v0, 0x1

    :try_start_8
    iput-boolean v0, p0, Lcom/google/android/gms/internal/ads/d3;->C:Z

    iput-object p1, p0, Lcom/google/android/gms/internal/ads/d3;->B:Lz5/zq;

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d3;->y:Lz5/em0;

    if-eqz v0, :cond_1b

    .line 1
    iget-object v0, v0, Lz5/em0;->B:Lz5/gm0;

    .line 2
    monitor-enter v0
    :try_end_13
    .catchall {:try_start_8 .. :try_end_13} :catchall_1d

    :try_start_13
    iput-object p1, v0, Lz5/gm0;->a:Lz5/zq;
    :try_end_15
    .catchall {:try_start_13 .. :try_end_15} :catchall_18

    :try_start_15
    monitor-exit v0
    :try_end_16
    .catchall {:try_start_15 .. :try_end_16} :catchall_1d

    .line 3
    monitor-exit p0

    return-void

    :catchall_18
    move-exception p1

    .line 4
    :try_start_19
    monitor-exit v0

    throw p1
    :try_end_1b
    .catchall {:try_start_19 .. :try_end_1b} :catchall_1d

    .line 5
    :cond_1b
    monitor-exit p0

    return-void

    :catchall_1d
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public final declared-synchronized H2(Ljava/lang/String;)V
    .registers 6

    monitor-enter p0

    :try_start_1
    new-instance v0, Landroid/widget/FrameLayout;

    iget-object v1, p0, Lcom/google/android/gms/internal/ads/d3;->u:Landroid/widget/FrameLayout;

    invoke-virtual {v1}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V

    new-instance v1, Landroid/widget/FrameLayout$LayoutParams;

    const/4 v2, -0x1

    invoke-direct {v1, v2, v2}, Landroid/widget/FrameLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/google/android/gms/internal/ads/d3;->u:Landroid/widget/FrameLayout;

    invoke-virtual {v1}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;

    move-result-object v1

    const/4 v2, 0x0

    invoke-virtual {v0, v2}, Landroid/view/View;->setClickable(Z)V

    invoke-virtual {v0, v2}, Landroid/view/View;->setFocusable(Z)V

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

    move-result v3

    if-eqz v3, :cond_29

    goto :goto_61

    :cond_29
    invoke-virtual {v1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v3

    if-eqz v3, :cond_33

    invoke-virtual {v1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    :cond_33
    invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    if-eqz v1, :cond_61

    invoke-virtual {v1}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v1
    :try_end_3d
    .catchall {:try_start_1 .. :try_end_3d} :catchall_68

    if-eqz v1, :cond_61

    :try_start_3f
    invoke-static {p1, v2}, Landroid/util/Base64;->decode(Ljava/lang/String;I)[B

    move-result-object p1
    :try_end_43
    .catch Ljava/lang/IllegalArgumentException; {:try_start_3f .. :try_end_43} :catch_5b
    .catchall {:try_start_3f .. :try_end_43} :catchall_68

    :try_start_43
    array-length v3, p1

    invoke-static {p1, v2, v3}, Landroid/graphics/BitmapFactory;->decodeByteArray([BII)Landroid/graphics/Bitmap;

    move-result-object p1

    new-instance v2, Landroid/graphics/drawable/BitmapDrawable;

    invoke-direct {v2, p1}, Landroid/graphics/drawable/BitmapDrawable;-><init>(Landroid/graphics/Bitmap;)V

    iget p1, v1, Landroid/util/DisplayMetrics;->densityDpi:I

    invoke-virtual {v2, p1}, Landroid/graphics/drawable/BitmapDrawable;->setTargetDensity(I)V

    sget-object p1, Landroid/graphics/Shader$TileMode;->REPEAT:Landroid/graphics/Shader$TileMode;

    invoke-virtual {v2, p1, p1}, Landroid/graphics/drawable/BitmapDrawable;->setTileModeXY(Landroid/graphics/Shader$TileMode;Landroid/graphics/Shader$TileMode;)V

    invoke-virtual {v0, v2}, Landroid/view/View;->setBackground(Landroid/graphics/drawable/Drawable;)V

    goto :goto_61

    :catch_5b
    move-exception p1

    const-string v1, "Encountered invalid base64 watermark."

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

    :cond_61
    :goto_61
    iget-object p1, p0, Lcom/google/android/gms/internal/ads/d3;->u:Landroid/widget/FrameLayout;

    invoke-virtual {p1, v0}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V
    :try_end_66
    .catchall {:try_start_43 .. :try_end_66} :catchall_68

    monitor-exit p0

    return-void

    :catchall_68
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public final X0(Lx5/a;)V
    .registers 3

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

    move-result-object p1

    check-cast p1, Landroid/view/MotionEvent;

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d3;->t:Landroid/widget/FrameLayout;

    invoke-virtual {p0, v0, p1}, Lcom/google/android/gms/internal/ads/d3;->onTouch(Landroid/view/View;Landroid/view/MotionEvent;)Z

    return-void
.end method

.method public final bridge synthetic b1()Landroid/view/View;
    .registers 2

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d3;->t:Landroid/widget/FrameLayout;

    return-object v0
.end method

.method public final declared-synchronized f0(Ljava/lang/String;Lx5/a;)V
    .registers 4

    monitor-enter p0

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

    move-result-object p2

    check-cast p2, Landroid/view/View;

    const/4 v0, 0x1

    invoke-virtual {p0, p1, p2, v0}, Lcom/google/android/gms/internal/ads/d3;->D(Ljava/lang/String;Landroid/view/View;Z)V
    :try_end_b
    .catchall {:try_start_1 .. :try_end_b} :catchall_d

    monitor-exit p0

    return-void

    :catchall_d
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public final declared-synchronized j(Ljava/lang/String;)Lx5/a;
    .registers 3

    monitor-enter p0

    :try_start_1
    invoke-virtual {p0, p1}, Lcom/google/android/gms/internal/ads/d3;->zzm(Ljava/lang/String;)Landroid/view/View;

    move-result-object p1

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

    invoke-direct {v0, p1}, Lx5/b;-><init>(Ljava/lang/Object;)V
    :try_end_a
    .catchall {:try_start_1 .. :try_end_a} :catchall_c

    .line 2
    monitor-exit p0

    return-object v0

    :catchall_c
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public final declared-synchronized j0(Lx5/a;)V
    .registers 3

    monitor-enter p0

    :try_start_1
    iget-boolean v0, p0, Lcom/google/android/gms/internal/ads/d3;->D:Z
    :try_end_3
    .catchall {:try_start_1 .. :try_end_3} :catchall_b

    if-eqz v0, :cond_7

    monitor-exit p0

    return-void

    :cond_7
    :try_start_7
    iput-object p1, p0, Lcom/google/android/gms/internal/ads/d3;->A:Lx5/a;
    :try_end_9
    .catchall {:try_start_7 .. :try_end_9} :catchall_b

    monitor-exit p0

    return-void

    :catchall_b
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public final declared-synchronized o(Lx5/a;)V
    .registers 4

    monitor-enter p0

    :try_start_1
    iget-boolean v0, p0, Lcom/google/android/gms/internal/ads/d3;->D:Z
    :try_end_3
    .catchall {:try_start_1 .. :try_end_3} :catchall_98

    if-eqz v0, :cond_7

    monitor-exit p0

    return-void

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

    move-result-object p1

    instance-of v0, p1, Lz5/em0;

    if-nez v0, :cond_16

    const-string p1, "Not an instance of native engine. This is most likely a transient error"

    invoke-static {p1}, Lz5/d50;->zzi(Ljava/lang/String;)V
    :try_end_14
    .catchall {:try_start_7 .. :try_end_14} :catchall_98

    monitor-exit p0

    return-void

    :cond_16
    :try_start_16
    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d3;->y:Lz5/em0;

    if-eqz v0, :cond_1d

    invoke-virtual {v0, p0}, Lz5/em0;->l(Lz5/en0;)V

    .line 1
    :cond_1d
    monitor-enter p0
    :try_end_1e
    .catchall {:try_start_16 .. :try_end_1e} :catchall_98

    :try_start_1e
    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d3;->v:Lz5/gc1;

    new-instance v1, Lz5/dc0;

    invoke-direct {v1, p0}, Lz5/dc0;-><init>(Lcom/google/android/gms/internal/ads/d3;)V

    invoke-interface {v0, v1}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V
    :try_end_28
    .catchall {:try_start_1e .. :try_end_28} :catchall_95

    :try_start_28
    monitor-exit p0

    .line 2
    check-cast p1, Lz5/em0;

    iput-object p1, p0, Lcom/google/android/gms/internal/ads/d3;->y:Lz5/em0;

    invoke-virtual {p1, p0}, Lz5/em0;->k(Lz5/en0;)V

    iget-object p1, p0, Lcom/google/android/gms/internal/ads/d3;->y:Lz5/em0;

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d3;->t:Landroid/widget/FrameLayout;

    invoke-virtual {p1, v0}, Lz5/em0;->e(Landroid/view/View;)V

    iget-object p1, p0, Lcom/google/android/gms/internal/ads/d3;->y:Lz5/em0;

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d3;->u:Landroid/widget/FrameLayout;

    .line 3
    iget-object v1, p1, Lz5/em0;->j:Lz5/hm0;

    invoke-virtual {v1}, Lz5/hm0;->m()Lx5/a;

    move-result-object v1

    iget-object p1, p1, Lz5/em0;->m:Lz5/mm0;

    invoke-virtual {p1}, Lz5/mm0;->c()Z

    move-result p1

    if-eqz p1, :cond_54

    if-eqz v1, :cond_54

    if-eqz v0, :cond_54

    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzr()Lz5/i00;

    move-result-object p1

    invoke-interface {p1, v1, v0}, Lz5/i00;->c(Lx5/a;Landroid/view/View;)V

    .line 4
    :cond_54
    iget-boolean p1, p0, Lcom/google/android/gms/internal/ads/d3;->C:Z

    if-eqz p1, :cond_66

    iget-object p1, p0, Lcom/google/android/gms/internal/ads/d3;->y:Lz5/em0;

    .line 5
    iget-object p1, p1, Lz5/em0;->B:Lz5/gm0;

    .line 6
    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d3;->B:Lz5/zq;

    .line 7
    monitor-enter p1
    :try_end_5f
    .catchall {:try_start_28 .. :try_end_5f} :catchall_98

    :try_start_5f
    iput-object v0, p1, Lz5/gm0;->a:Lz5/zq;
    :try_end_61
    .catchall {:try_start_5f .. :try_end_61} :catchall_63

    :try_start_61
    monitor-exit p1

    goto :goto_66

    :catchall_63
    move-exception v0

    monitor-exit p1

    throw v0

    .line 8
    :cond_66
    :goto_66
    sget-object p1, Lz5/so;->f2:Lz5/no;

    .line 9
    sget-object v0, Lz5/xk;->d:Lz5/xk;

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

    .line 10
    invoke-virtual {v0, 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

    if-eqz p1, :cond_93

    iget-object p1, p0, Lcom/google/android/gms/internal/ads/d3;->y:Lz5/em0;

    .line 11
    iget-object p1, p1, Lz5/em0;->m:Lz5/mm0;

    invoke-virtual {p1}, Lz5/mm0;->e()Ljava/lang/String;

    move-result-object p1

    .line 12
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result p1

    if-nez p1, :cond_93

    iget-object p1, p0, Lcom/google/android/gms/internal/ads/d3;->y:Lz5/em0;

    .line 13
    iget-object p1, p1, Lz5/em0;->m:Lz5/mm0;

    invoke-virtual {p1}, Lz5/mm0;->e()Ljava/lang/String;

    move-result-object p1

    .line 14
    invoke-virtual {p0, p1}, Lcom/google/android/gms/internal/ads/d3;->H2(Ljava/lang/String;)V
    :try_end_91
    .catchall {:try_start_61 .. :try_end_91} :catchall_98

    monitor-exit p0

    return-void

    :cond_93
    monitor-exit p0

    return-void

    :catchall_95
    move-exception p1

    .line 15
    :try_start_96
    monitor-exit p0

    throw p1
    :try_end_98
    .catchall {:try_start_96 .. :try_end_98} :catchall_98

    :catchall_98
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public final declared-synchronized onClick(Landroid/view/View;)V
    .registers 10

    monitor-enter p0

    :try_start_1
    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d3;->y:Lz5/em0;

    if-eqz v0, :cond_22

    .line 1
    monitor-enter v0
    :try_end_6
    .catchall {:try_start_1 .. :try_end_6} :catchall_24

    :try_start_6
    iget-object v1, v0, Lz5/em0;->k:Lz5/nm0;

    invoke-interface {v1}, Lz5/nm0;->zzt()V
    :try_end_b
    .catchall {:try_start_6 .. :try_end_b} :catchall_1f

    :try_start_b
    monitor-exit v0

    .line 2
    iget-object v2, p0, Lcom/google/android/gms/internal/ads/d3;->y:Lz5/em0;

    iget-object v4, p0, Lcom/google/android/gms/internal/ads/d3;->t:Landroid/widget/FrameLayout;

    invoke-virtual {p0}, Lcom/google/android/gms/internal/ads/d3;->zzj()Ljava/util/Map;

    move-result-object v5

    invoke-virtual {p0}, Lcom/google/android/gms/internal/ads/d3;->zzk()Ljava/util/Map;

    move-result-object v6

    const/4 v7, 0x0

    move-object v3, p1

    invoke-virtual/range {v2 .. v7}, Lz5/em0;->m(Landroid/view/View;Landroid/view/View;Ljava/util/Map;Ljava/util/Map;Z)V
    :try_end_1d
    .catchall {:try_start_b .. :try_end_1d} :catchall_24

    monitor-exit p0

    return-void

    :catchall_1f
    move-exception p1

    .line 3
    :try_start_20
    monitor-exit v0

    throw p1
    :try_end_22
    .catchall {:try_start_20 .. :try_end_22} :catchall_24

    .line 4
    :cond_22
    monitor-exit p0

    return-void

    :catchall_24
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public final declared-synchronized onGlobalLayout()V
    .registers 6

    monitor-enter p0

    :try_start_1
    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d3;->y:Lz5/em0;

    if-eqz v0, :cond_1a

    iget-object v1, p0, Lcom/google/android/gms/internal/ads/d3;->t:Landroid/widget/FrameLayout;

    invoke-virtual {p0}, Lcom/google/android/gms/internal/ads/d3;->zzj()Ljava/util/Map;

    move-result-object v2

    invoke-virtual {p0}, Lcom/google/android/gms/internal/ads/d3;->zzk()Ljava/util/Map;

    move-result-object v3

    iget-object v4, p0, Lcom/google/android/gms/internal/ads/d3;->t:Landroid/widget/FrameLayout;

    invoke-static {v4}, Lz5/em0;->c(Landroid/view/View;)Z

    move-result v4

    invoke-virtual {v0, v1, v2, v3, v4}, Lz5/em0;->n(Landroid/view/View;Ljava/util/Map;Ljava/util/Map;Z)V
    :try_end_18
    .catchall {:try_start_1 .. :try_end_18} :catchall_1c

    monitor-exit p0

    return-void

    :cond_1a
    monitor-exit p0

    return-void

    :catchall_1c
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public final declared-synchronized onScrollChanged()V
    .registers 6

    monitor-enter p0

    :try_start_1
    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d3;->y:Lz5/em0;

    if-eqz v0, :cond_1a

    iget-object v1, p0, Lcom/google/android/gms/internal/ads/d3;->t:Landroid/widget/FrameLayout;

    invoke-virtual {p0}, Lcom/google/android/gms/internal/ads/d3;->zzj()Ljava/util/Map;

    move-result-object v2

    invoke-virtual {p0}, Lcom/google/android/gms/internal/ads/d3;->zzk()Ljava/util/Map;

    move-result-object v3

    iget-object v4, p0, Lcom/google/android/gms/internal/ads/d3;->t:Landroid/widget/FrameLayout;

    invoke-static {v4}, Lz5/em0;->c(Landroid/view/View;)Z

    move-result v4

    invoke-virtual {v0, v1, v2, v3, v4}, Lz5/em0;->n(Landroid/view/View;Ljava/util/Map;Ljava/util/Map;Z)V
    :try_end_18
    .catchall {:try_start_1 .. :try_end_18} :catchall_1c

    monitor-exit p0

    return-void

    :cond_1a
    monitor-exit p0

    return-void

    :catchall_1c
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public final declared-synchronized onTouch(Landroid/view/View;Landroid/view/MotionEvent;)Z
    .registers 6

    monitor-enter p0

    :try_start_1
    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d3;->y:Lz5/em0;

    if-eqz v0, :cond_12

    iget-object v1, p0, Lcom/google/android/gms/internal/ads/d3;->t:Landroid/widget/FrameLayout;

    .line 1
    monitor-enter v0
    :try_end_8
    .catchall {:try_start_1 .. :try_end_8} :catchall_15

    :try_start_8
    iget-object v2, v0, Lz5/em0;->k:Lz5/nm0;

    invoke-interface {v2, p1, p2, v1}, Lz5/nm0;->h(Landroid/view/View;Landroid/view/MotionEvent;Landroid/view/View;)V
    :try_end_d
    .catchall {:try_start_8 .. :try_end_d} :catchall_f

    :try_start_d
    monitor-exit v0

    goto :goto_12

    :catchall_f
    move-exception p1

    monitor-exit v0

    throw p1
    :try_end_12
    .catchall {:try_start_d .. :try_end_12} :catchall_15

    :cond_12
    :goto_12
    const/4 p1, 0x0

    .line 2
    monitor-exit p0

    return p1

    :catchall_15
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public final p()Landroid/widget/FrameLayout;
    .registers 2

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d3;->u:Landroid/widget/FrameLayout;

    return-object v0
.end method

.method public final declared-synchronized t(Lx5/a;I)V
    .registers 3

    monitor-enter p0

    monitor-exit p0

    return-void
.end method

.method public final declared-synchronized zze()V
    .registers 3

    monitor-enter p0

    :try_start_1
    iget-boolean v0, p0, Lcom/google/android/gms/internal/ads/d3;->D:Z
    :try_end_3
    .catchall {:try_start_1 .. :try_end_3} :catchall_2f

    if-eqz v0, :cond_7

    monitor-exit p0

    return-void

    :cond_7
    :try_start_7
    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d3;->y:Lz5/em0;

    const/4 v1, 0x0

    if-eqz v0, :cond_11

    invoke-virtual {v0, p0}, Lz5/em0;->l(Lz5/en0;)V

    iput-object v1, p0, Lcom/google/android/gms/internal/ads/d3;->y:Lz5/em0;

    :cond_11
    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d3;->s:Ljava/util/Map;

    invoke-interface {v0}, Ljava/util/Map;->clear()V

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d3;->t:Landroid/widget/FrameLayout;

    invoke-virtual {v0}, Landroid/widget/FrameLayout;->removeAllViews()V

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d3;->u:Landroid/widget/FrameLayout;

    invoke-virtual {v0}, Landroid/widget/FrameLayout;->removeAllViews()V

    iput-object v1, p0, Lcom/google/android/gms/internal/ads/d3;->s:Ljava/util/Map;

    iput-object v1, p0, Lcom/google/android/gms/internal/ads/d3;->t:Landroid/widget/FrameLayout;

    iput-object v1, p0, Lcom/google/android/gms/internal/ads/d3;->u:Landroid/widget/FrameLayout;

    iput-object v1, p0, Lcom/google/android/gms/internal/ads/d3;->w:Landroid/view/View;

    iput-object v1, p0, Lcom/google/android/gms/internal/ads/d3;->z:Lz5/se;

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/google/android/gms/internal/ads/d3;->D:Z
    :try_end_2d
    .catchall {:try_start_7 .. :try_end_2d} :catchall_2f

    monitor-exit p0

    return-void

    :catchall_2f
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public final declared-synchronized zzg(Lx5/a;)V
    .registers 4

    monitor-enter p0

    :try_start_1
    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d3;->y:Lz5/em0;

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

    move-result-object p1

    check-cast p1, Landroid/view/View;

    .line 1
    monitor-enter v0
    :try_end_a
    .catchall {:try_start_1 .. :try_end_a} :catchall_15

    :try_start_a
    iget-object v1, v0, Lz5/em0;->k:Lz5/nm0;

    invoke-interface {v1, p1}, Lz5/nm0;->i(Landroid/view/View;)V
    :try_end_f
    .catchall {:try_start_a .. :try_end_f} :catchall_12

    :try_start_f
    monitor-exit v0
    :try_end_10
    .catchall {:try_start_f .. :try_end_10} :catchall_15

    .line 2
    monitor-exit p0

    return-void

    :catchall_12
    move-exception p1

    .line 3
    :try_start_13
    monitor-exit v0

    throw p1
    :try_end_15
    .catchall {:try_start_13 .. :try_end_15} :catchall_15

    :catchall_15
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public final zzh()Lz5/se;
    .registers 2

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d3;->z:Lz5/se;

    return-object v0
.end method

.method public final declared-synchronized zzj()Ljava/util/Map;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/ref/WeakReference<",
            "Landroid/view/View;",
            ">;>;"
        }
    .end annotation

    monitor-enter p0

    :try_start_1
    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d3;->s:Ljava/util/Map;
    :try_end_3
    .catchall {:try_start_1 .. :try_end_3} :catchall_5

    monitor-exit p0

    return-object v0

    :catchall_5
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public final declared-synchronized zzk()Ljava/util/Map;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/ref/WeakReference<",
            "Landroid/view/View;",
            ">;>;"
        }
    .end annotation

    monitor-enter p0

    :try_start_1
    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d3;->s:Ljava/util/Map;
    :try_end_3
    .catchall {:try_start_1 .. :try_end_3} :catchall_5

    monitor-exit p0

    return-object v0

    :catchall_5
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public final declared-synchronized zzl()Ljava/util/Map;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/ref/WeakReference<",
            "Landroid/view/View;",
            ">;>;"
        }
    .end annotation

    monitor-enter p0

    monitor-exit p0

    const/4 v0, 0x0

    return-object v0
.end method

.method public final declared-synchronized zzm(Ljava/lang/String;)Landroid/view/View;
    .registers 4

    monitor-enter p0

    :try_start_1
    iget-boolean v0, p0, Lcom/google/android/gms/internal/ads/d3;->D:Z
    :try_end_3
    .catchall {:try_start_1 .. :try_end_3} :catchall_1c

    const/4 v1, 0x0

    if-eqz v0, :cond_8

    monitor-exit p0

    return-object v1

    :cond_8
    :try_start_8
    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d3;->s:Ljava/util/Map;

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

    move-result-object p1

    check-cast p1, Ljava/lang/ref/WeakReference;
    :try_end_10
    .catchall {:try_start_8 .. :try_end_10} :catchall_1c

    if-nez p1, :cond_14

    monitor-exit p0

    return-object v1

    :cond_14
    :try_start_14
    invoke-virtual {p1}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Landroid/view/View;
    :try_end_1a
    .catchall {:try_start_14 .. :try_end_1a} :catchall_1c

    monitor-exit p0

    return-object p1

    :catchall_1c
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public final declared-synchronized zzn()Ljava/lang/String;
    .registers 2

    monitor-enter p0

    :try_start_1
    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d3;->r:Ljava/lang/String;
    :try_end_3
    .catchall {:try_start_1 .. :try_end_3} :catchall_5

    monitor-exit p0

    return-object v0

    :catchall_5
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public final zzo()Lx5/a;
    .registers 2

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d3;->A:Lx5/a;

    return-object v0
.end method

.method public final declared-synchronized zzp()Lorg/json/JSONObject;
    .registers 6

    monitor-enter p0

    :try_start_1
    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d3;->y:Lz5/em0;

    if-eqz v0, :cond_1c

    iget-object v1, p0, Lcom/google/android/gms/internal/ads/d3;->t:Landroid/widget/FrameLayout;

    invoke-virtual {p0}, Lcom/google/android/gms/internal/ads/d3;->zzj()Ljava/util/Map;

    move-result-object v2

    invoke-virtual {p0}, Lcom/google/android/gms/internal/ads/d3;->zzk()Ljava/util/Map;

    move-result-object v3

    .line 1
    monitor-enter v0
    :try_end_10
    .catchall {:try_start_1 .. :try_end_10} :catchall_1f

    :try_start_10
    iget-object v4, v0, Lz5/em0;->k:Lz5/nm0;

    invoke-interface {v4, v1, v2, v3}, Lz5/nm0;->k(Landroid/view/View;Ljava/util/Map;Ljava/util/Map;)Lorg/json/JSONObject;

    move-result-object v1
    :try_end_16
    .catchall {:try_start_10 .. :try_end_16} :catchall_19

    :try_start_16
    monitor-exit v0
    :try_end_17
    .catchall {:try_start_16 .. :try_end_17} :catchall_1f

    .line 2
    monitor-exit p0

    return-object v1

    :catchall_19
    move-exception v1

    .line 3
    :try_start_1a
    monitor-exit v0

    throw v1
    :try_end_1c
    .catchall {:try_start_1a .. :try_end_1c} :catchall_1f

    :cond_1c
    const/4 v0, 0x0

    .line 4
    monitor-exit p0

    return-object v0

    :catchall_1f
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public final declared-synchronized zzq()Lorg/json/JSONObject;
    .registers 6

    monitor-enter p0

    :try_start_1
    iget-object v0, p0, Lcom/google/android/gms/internal/ads/d3;->y:Lz5/em0;

    if-eqz v0, :cond_1c

    iget-object v1, p0, Lcom/google/android/gms/internal/ads/d3;->t:Landroid/widget/FrameLayout;

    invoke-virtual {p0}, Lcom/google/android/gms/internal/ads/d3;->zzj()Ljava/util/Map;

    move-result-object v2

    invoke-virtual {p0}, Lcom/google/android/gms/internal/ads/d3;->zzk()Ljava/util/Map;

    move-result-object v3

    .line 1
    monitor-enter v0
    :try_end_10
    .catchall {:try_start_1 .. :try_end_10} :catchall_1f

    :try_start_10
    iget-object v4, v0, Lz5/em0;->k:Lz5/nm0;

    invoke-interface {v4, v1, v2, v3}, Lz5/nm0;->d(Landroid/view/View;Ljava/util/Map;Ljava/util/Map;)Lorg/json/JSONObject;

    move-result-object v1
    :try_end_16
    .catchall {:try_start_10 .. :try_end_16} :catchall_19

    :try_start_16
    monitor-exit v0
    :try_end_17
    .catchall {:try_start_16 .. :try_end_17} :catchall_1f

    .line 2
    monitor-exit p0

    return-object v1

    :catchall_19
    move-exception v1

    .line 3
    :try_start_1a
    monitor-exit v0

    throw v1
    :try_end_1c
    .catchall {:try_start_1a .. :try_end_1c} :catchall_1f

    :cond_1c
    const/4 v0, 0x0

    .line 4
    monitor-exit p0

    return-object v0

    :catchall_1f
    move-exception v0

    monitor-exit p0

    throw v0
.end method
