b.smali
.class public final synthetic Lcom/facebook/appevents/iap/b;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# static fields
.field public static final synthetic b:Lcom/facebook/appevents/iap/b;
.field public static final synthetic c:Lcom/facebook/appevents/iap/b;
.field public static final synthetic d:Lcom/facebook/appevents/iap/b;
.field public static final synthetic e:Lcom/facebook/appevents/iap/b;
# instance fields
.field public final synthetic a:I
# direct methods
.method static synthetic constructor <clinit>()V
.registers 2
new-instance v0, Lcom/facebook/appevents/iap/b;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lcom/facebook/appevents/iap/b;-><init>(I)V
sput-object v0, Lcom/facebook/appevents/iap/b;->b:Lcom/facebook/appevents/iap/b;
new-instance v0, Lcom/facebook/appevents/iap/b;
const/4 v1, 0x1
invoke-direct {v0, v1}, Lcom/facebook/appevents/iap/b;-><init>(I)V
sput-object v0, Lcom/facebook/appevents/iap/b;->c:Lcom/facebook/appevents/iap/b;
new-instance v0, Lcom/facebook/appevents/iap/b;
const/4 v1, 0x2
invoke-direct {v0, v1}, Lcom/facebook/appevents/iap/b;-><init>(I)V
sput-object v0, Lcom/facebook/appevents/iap/b;->d:Lcom/facebook/appevents/iap/b;
new-instance v0, Lcom/facebook/appevents/iap/b;
const/4 v1, 0x3
invoke-direct {v0, v1}, Lcom/facebook/appevents/iap/b;-><init>(I)V
sput-object v0, Lcom/facebook/appevents/iap/b;->e:Lcom/facebook/appevents/iap/b;
return-void
.end method
.method public synthetic constructor <init>(I)V
.registers 2
iput p1, p0, Lcom/facebook/appevents/iap/b;->a:I
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final run()V
.registers 8
iget v0, p0, Lcom/facebook/appevents/iap/b;->a:I
const/4 v1, 0x0
packed-switch v0, :pswitch_data_e4
goto/16 :goto_de
.line 1
:pswitch_8
invoke-static {}, Lcom/shopee/app/application/n2;->e()Lcom/shopee/app/application/n2;
move-result-object v0
.line 2
iget-object v0, v0, Lcom/shopee/app/application/n2;->b:Lcom/shopee/app/appuser/e;
.line 3
invoke-interface {v0}, Lcom/shopee/app/application/c;->b6()Lcom/shopee/app/application/lifecycle/c;
move-result-object v0
.line 4
iget-boolean v0, v0, Lcom/shopee/app/application/lifecycle/c;->d:Z
if-eqz v0, :cond_17
goto :goto_49
.line 5
:cond_17
new-instance v0, Lokhttp3/Request$Builder;
invoke-direct {v0}, Lokhttp3/Request$Builder;-><init>()V
.line 6
sget-object v2, Lcom/shopee/sz/szthreadkit/a;->e:Ljava/lang/String;
invoke-virtual {v0, v2}, Lokhttp3/Request$Builder;->url(Ljava/lang/String;)Lokhttp3/Request$Builder;
move-result-object v0
const-string v2, "HEAD"
.line 7
invoke-virtual {v0, v2, v1}, Lokhttp3/Request$Builder;->method(Ljava/lang/String;Lokhttp3/RequestBody;)Lokhttp3/Request$Builder;
move-result-object v0
.line 8
invoke-virtual {v0}, Lokhttp3/Request$Builder;->build()Lokhttp3/Request;
move-result-object v0
.line 9
invoke-static {}, Lcom/shopee/app/network/util/p;->a()Lcom/shopee/arch/network/e;
move-result-object v1
check-cast v1, Lcom/shopee/arch/network/i;
invoke-virtual {v1}, Lcom/shopee/arch/network/i;->j()Lokhttp3/OkHttpClient;
move-result-object v1
.line 10
invoke-virtual {v1, v0}, Lokhttp3/OkHttpClient;->newCall(Lokhttp3/Request;)Lokhttp3/Call;
move-result-object v0
new-instance v1, Lcom/bumptech/glide/load/resource/transcode/f;
invoke-direct {v1}, Lcom/bumptech/glide/load/resource/transcode/f;-><init>()V
invoke-static {v0, v1}, Lcom/google/firebase/perf/network/FirebasePerfOkHttpClient;->enqueue(Lokhttp3/Call;Lokhttp3/Callback;)V
sget-object v0, Lcom/facebook/appevents/iap/c;->c:Lcom/facebook/appevents/iap/c;
.line 11
sget-wide v1, Lcom/shopee/sz/szthreadkit/a;->f:J
.line 12
invoke-static {v0, v1, v2}, Lorg/androidannotations/api/a;->b(Ljava/lang/Runnable;J)Ljava/util/concurrent/Future;
:goto_49
return-void
.line 13
:pswitch_4a
sget v0, Lcom/shopee/app/dre/DRESinglePageActivity;->a0:I
.line 14
sget-object v0, Lcom/shopee/app/dre/warmup/g;->a:Lcom/shopee/app/dre/warmup/g;
.line 15
sget-boolean v0, Lcom/shopee/app/dre/warmup/g;->c:Z
if-nez v0, :cond_54
goto/16 :goto_d9
.line 16
:cond_54
:try_start_54
invoke-static {}, Lcom/shopee/app/application/n2;->e()Lcom/shopee/app/application/n2;
move-result-object v0
invoke-virtual {v0}, Lcom/shopee/app/application/n2;->getCacheDir()Ljava/io/File;
move-result-object v0
invoke-virtual {v0}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;
move-result-object v0
.line 17
new-instance v2, Ljava/io/File;
const-string v3, "latest_search_page_common.cache"
invoke-direct {v2, v0, v3}, Ljava/io/File;-><init>(Ljava/lang/String;Ljava/lang/String;)V
.line 18
invoke-virtual {v2}, Ljava/io/File;->exists()Z
move-result v0
:try_end_6b
.catchall {:try_start_54 .. :try_end_6b} :catchall_6c
goto :goto_71
:catchall_6c
move-exception v0
invoke-static {v0}, Lcom/shopee/sz/mmsplayercommon/util/b;->Y(Ljava/lang/Throwable;)Ljava/lang/Object;
const/4 v0, 0x0
:goto_71
const/4 v2, 0x1
if-nez v0, :cond_76
.line 19
sput-boolean v2, Lcom/shopee/app/dre/warmup/g;->e:Z
.line 20
:cond_76
sget-boolean v0, Lcom/shopee/app/dre/warmup/g;->e:Z
if-eqz v0, :cond_7b
goto :goto_d9
.line 21
:cond_7b
sget-boolean v0, Lcom/shopee/app/dre/warmup/g;->d:Z
if-eqz v0, :cond_80
goto :goto_d9
.line 22
:cond_80
invoke-static {}, Lcom/shopee/app/application/n2;->e()Lcom/shopee/app/application/n2;
move-result-object v0
.line 23
iget-object v0, v0, Lcom/shopee/app/application/n2;->b:Lcom/shopee/app/appuser/e;
.line 24
invoke-interface {v0}, Lcom/shopee/app/application/c;->v0()Lcom/shopee/app/ui/base/b;
move-result-object v0
.line 25
iget-object v0, v0, Lcom/shopee/app/ui/base/b;->b:Landroid/app/Activity;
.line 26
:try_start_8c
new-instance v3, Lcom/shopee/leego/adapter/navigator/NavPage;
invoke-direct {v3}, Lcom/shopee/leego/adapter/navigator/NavPage;-><init>()V
const-string v4, "searchModule"
.line 27
iput-object v4, v3, Lcom/shopee/leego/adapter/navigator/NavPage;->url:Ljava/lang/String;
.line 28
invoke-static {}, Lcom/shopee/leego/js/core/util/HMGsonUtil;->gson()Lcom/google/gson/i;
move-result-object v4
.line 29
new-instance v5, Lcom/shopee/app/dre/warmup/d;
invoke-direct {v5}, Lcom/shopee/app/dre/warmup/d;-><init>()V
invoke-virtual {v5}, Lcom/google/gson/reflect/a;->getType()Ljava/lang/reflect/Type;
move-result-object v5
const-string/jumbo v6, "{\n \"pageKey\": \"SEARCH_RESULT\",\n \"searchPageType\": \"GLOBAL\",\n \"searchParams\": {\n \"keyword\": \"dre_srp_warmup_reserve_placeholder00\",\n \"autoPrefill\": {\n \"prefill_type\": \"auto\",\n \"prefill_id\": -1,\n \"recommendation_info\": \"\",\n \"url\": \"\"\n },\n \"order\": \"desc\",\n \"sortBy\": \"relevancy\",\n \"searchTrackingId\": \"\",\n \"searchPageId\": \"Eo+uxdzgv4piv701rcVJBALoHPAv/2WAde5SjIyRD9A=-1698827819000\"\n },\n \"searchEntranceTracking\": \"homepage_search_bar\",\n \"searchMidTracking\": \"sdp_hint_history\",\n \"viewSessionId\": \"Eo+uxdzgv4piv701rcVJBALoHPAv/2WAde5SjIyRD9A=-1698827837499\",\n \"dre_tracking_data\": {\n },\n \"navigateToSearchTimestamp\": 1698827837508,\n \"__pc__\": 0\n}"
.line 30
invoke-virtual {v4, v6, v5}, Lcom/google/gson/i;->i(Ljava/lang/String;Ljava/lang/reflect/Type;)Ljava/lang/Object;
move-result-object v4
check-cast v4, Ljava/util/Map;
iput-object v4, v3, Lcom/shopee/leego/adapter/navigator/NavPage;->params:Ljava/util/Map;
.line 31
new-instance v4, Landroid/content/Intent;
const-class v5, Lcom/shopee/app/dre/DRESinglePageActivity;
invoke-direct {v4, v0, v5}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V
const-string v5, "PAGE_MODEL"
.line 32
invoke-virtual {v4, v5, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;
:try_end_b9
.catchall {:try_start_8c .. :try_end_b9} :catchall_bb
move-object v1, v4
goto :goto_bc
:catchall_bb
nop
:goto_bc
if-nez v1, :cond_bf
goto :goto_d9
.line 33
:cond_bf
sput-boolean v2, Lcom/shopee/app/dre/warmup/g;->d:Z
.line 34
new-instance v2, Lcom/shopee/app/dre/warmup/c;
invoke-direct {v2, v0, v1}, Lcom/shopee/app/dre/warmup/c;-><init>(Landroid/app/Activity;Landroid/content/Intent;)V
.line 35
iget-object v0, v2, Lcom/shopee/app/dre/warmup/c;->c:Lcom/shopee/leego/DREActivityDelegate;
invoke-virtual {v0}, Lcom/shopee/leego/DREActivityDelegate;->initData()V
.line 36
new-instance v0, Lcom/shopee/app/dre/warmup/b;
invoke-direct {v0, v2}, Lcom/shopee/app/dre/warmup/b;-><init>(Lcom/shopee/app/dre/warmup/c;)V
.line 37
new-instance v1, Lcom/google/android/exoplayer2/drm/i;
const/4 v3, 0x3
invoke-direct {v1, v2, v0, v3}, Lcom/google/android/exoplayer2/drm/i;-><init>(Ljava/lang/Object;Ljava/lang/Object;I)V
invoke-static {v1}, Lcom/shopee/sdk/util/a;->a(Ljava/lang/Runnable;)V
:goto_d9
return-void
.line 38
:pswitch_da
invoke-static {}, Lcom/facebook/appevents/iap/InAppPurchaseActivityLifecycleTracker$initializeIfNotInitialized$2;->b()V
return-void
.line 39
:goto_de
sget-object v0, Lcom/shopee/design/toast/d;->a:Lcom/shopee/design/toast/d;
invoke-virtual {v0}, Lcom/shopee/design/toast/d;->d()V
return-void
:pswitch_data_e4
.packed-switch 0x0
:pswitch_da
:pswitch_4a
:pswitch_8
.end packed-switch
.end method