c.smali

.class public final synthetic Lcom/garena/reactpush/v1/load/c;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field public final synthetic a:I

.field public final synthetic b:Ljava/lang/Object;


# direct methods
.method public synthetic constructor <init>(Ljava/lang/Object;I)V
    .registers 3

    iput p2, p0, Lcom/garena/reactpush/v1/load/c;->a:I

    iput-object p1, p0, Lcom/garena/reactpush/v1/load/c;->b:Ljava/lang/Object;

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

    return-void
.end method


# virtual methods
.method public final run()V
    .registers 11

    iget v0, p0, Lcom/garena/reactpush/v1/load/c;->a:I

    const/4 v1, 0x0

    const/4 v2, 0x1

    const/4 v3, 0x0

    const-string v4, "this$0"

    packed-switch v0, :pswitch_data_170

    goto/16 :goto_167

    :pswitch_c
    iget-object v0, p0, Lcom/garena/reactpush/v1/load/c;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/sz/mediasdk/ui/view/tool/SSZMediaToolPanel;

    .line 1
    iget v1, v0, Lcom/shopee/sz/mediasdk/ui/view/tool/SSZMediaToolPanel;->f:I

    invoke-virtual {v0, v1}, Lcom/shopee/sz/mediasdk/ui/view/tool/SSZMediaToolPanel;->setVisibility(I)V

    return-void

    .line 2
    :pswitch_16
    iget-object v0, p0, Lcom/garena/reactpush/v1/load/c;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/sz/mediasdk/ui/fragment/c0;

    sget-object v1, Lcom/shopee/sz/mediasdk/ui/fragment/c0;->U:Ljava/lang/String;

    invoke-virtual {v0}, Lcom/shopee/sz/mediasdk/ui/fragment/c0;->h()V

    return-void

    :pswitch_20
    iget-object v0, p0, Lcom/garena/reactpush/v1/load/c;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/sz/mediasdk/ui/activity/preview/SSZMediaTemplateFullscreenPreviewActivity;

    invoke-virtual {v0}, Lcom/shopee/sz/mediasdk/ui/activity/preview/SSZMediaTemplateFullscreenPreviewActivity;->c()V

    return-void

    :pswitch_28
    iget-object v0, p0, Lcom/garena/reactpush/v1/load/c;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/sz/mediasdk/filter/presenter/k;

    .line 3
    invoke-static {v0, v4}, Lcom/shopee/sz/loadtask/datasource/a;->y(Ljava/lang/Object;Ljava/lang/String;)V

    .line 4
    iget-object v0, v0, Lcom/shopee/sz/mediasdk/filter/presenter/k;->a:Lcom/shopee/sz/mediasdk/filter/c;

    if-eqz v0, :cond_36

    invoke-interface {v0}, Lcom/shopee/sz/mediasdk/filter/c;->g()V

    :cond_36
    return-void

    .line 5
    :pswitch_37
    iget-object v0, p0, Lcom/garena/reactpush/v1/load/c;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/sz/mediasdk/export/model/g;

    .line 6
    invoke-static {v0, v4}, Lcom/shopee/sz/loadtask/datasource/a;->y(Ljava/lang/Object;Ljava/lang/String;)V

    .line 7
    iget-object v0, v0, Lcom/shopee/sz/mediasdk/export/model/g;->i:Lcom/shopee/sz/mediasdk/export/model/g$a;

    if-eqz v0, :cond_45

    .line 8
    invoke-interface {v0, v1}, Lcom/shopee/sz/mediasdk/export/model/g$a;->onComplete(I)V

    :cond_45
    return-void

    .line 9
    :pswitch_46
    iget-object v0, p0, Lcom/garena/reactpush/v1/load/c;->b:Ljava/lang/Object;

    check-cast v0, Lkotlin/jvm/functions/a;

    const-string v1, "$tmp0"

    .line 10
    invoke-static {v0, v1}, Lcom/shopee/sz/loadtask/datasource/a;->y(Ljava/lang/Object;Ljava/lang/String;)V

    .line 11
    invoke-interface {v0}, Lkotlin/jvm/functions/a;->invoke()Ljava/lang/Object;

    return-void

    .line 12
    :pswitch_53
    iget-object v0, p0, Lcom/garena/reactpush/v1/load/c;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/sz/mediasdk/album/preview/activity/SSZBasePreviewActivity;

    sget v1, Lcom/shopee/sz/mediasdk/album/preview/activity/SSZBasePreviewActivity;->q:I

    .line 13
    invoke-static {v0, v4}, Lcom/shopee/sz/loadtask/datasource/a;->y(Ljava/lang/Object;Ljava/lang/String;)V

    .line 14
    invoke-virtual {v0}, Lcom/shopee/sz/mediasdk/album/preview/activity/SSZBasePreviewActivity;->finish()V

    return-void

    .line 15
    :pswitch_60
    iget-object v0, p0, Lcom/garena/reactpush/v1/load/c;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/sszrtc/monitor/d;

    .line 16
    iget-object v1, v0, Lcom/shopee/sszrtc/monitor/d;->e:Landroid/os/Handler;

    if-nez v1, :cond_69

    goto :goto_7c

    .line 17
    :cond_69
    iget-object v1, v0, Lcom/shopee/sszrtc/monitor/d;->c:Lcom/shopee/sszrtc/monitor/database/b;

    invoke-virtual {v1}, Lcom/shopee/sszrtc/monitor/database/b;->close()V

    .line 18
    iget-object v1, v0, Lcom/shopee/sszrtc/monitor/d;->e:Landroid/os/Handler;

    invoke-static {v1}, Lcom/shopee/sszrtc/utils/m;->e(Landroid/os/Handler;)V

    .line 19
    iput-object v3, v0, Lcom/shopee/sszrtc/monitor/d;->e:Landroid/os/Handler;

    const-string v0, "Monitor"

    const-string v1, "dispose finished."

    .line 20
    invoke-static {v0, v1}, Lcom/google/android/play/core/appupdate/d;->e0(Ljava/lang/String;Ljava/lang/String;)V

    :goto_7c
    return-void

    .line 21
    :pswitch_7d
    iget-object v0, p0, Lcom/garena/reactpush/v1/load/c;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/marketplacecomponents/view/spcarousel/f$c;

    .line 22
    iget-object v3, v0, Lcom/shopee/marketplacecomponents/view/spcarousel/f$c;->a:Lcom/shopee/marketplacecomponents/view/spcarousel/f;

    invoke-virtual {v3}, Landroid/view/ViewGroup;->getChildCount()I

    move-result v3

    const/4 v4, 0x0

    :goto_88
    if-ge v4, v3, :cond_d0

    .line 23
    iget-object v5, v0, Lcom/shopee/marketplacecomponents/view/spcarousel/f$c;->a:Lcom/shopee/marketplacecomponents/view/spcarousel/f;

    invoke-virtual {v5, v4}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;

    move-result-object v5

    .line 24
    invoke-virtual {v5}, Landroid/view/View;->getLeft()I

    move-result v6

    if-nez v6, :cond_b8

    invoke-virtual {v5}, Landroid/view/View;->getRight()I

    move-result v6

    iget-object v7, v0, Lcom/shopee/marketplacecomponents/view/spcarousel/f$c;->a:Lcom/shopee/marketplacecomponents/view/spcarousel/f;

    invoke-virtual {v7}, Landroid/view/View;->getWidth()I

    move-result v7

    if-ne v6, v7, :cond_b8

    .line 25
    instance-of v6, v5, Lcom/shopee/leego/vaf/virtualview/core/IContainer;

    if-eqz v6, :cond_cd

    .line 26
    check-cast v5, Lcom/shopee/leego/vaf/virtualview/core/IContainer;

    invoke-interface {v5}, Lcom/shopee/leego/vaf/virtualview/core/IContainer;->getVirtualView()Lcom/shopee/leego/vaf/virtualview/core/ViewBase;

    move-result-object v6

    iget-boolean v6, v6, Lcom/shopee/leego/vaf/virtualview/core/ViewBase;->userVisible:Z

    if-nez v6, :cond_cd

    .line 27
    invoke-interface {v5}, Lcom/shopee/leego/vaf/virtualview/core/IContainer;->getVirtualView()Lcom/shopee/leego/vaf/virtualview/core/ViewBase;

    move-result-object v5

    invoke-virtual {v5, v2}, Lcom/shopee/leego/vaf/virtualview/core/ViewBase;->onUserVisibleChange(Z)V

    goto :goto_cd

    .line 28
    :cond_b8
    instance-of v6, v5, Lcom/shopee/leego/vaf/virtualview/core/IContainer;

    if-eqz v6, :cond_cd

    .line 29
    check-cast v5, Lcom/shopee/leego/vaf/virtualview/core/IContainer;

    invoke-interface {v5}, Lcom/shopee/leego/vaf/virtualview/core/IContainer;->getVirtualView()Lcom/shopee/leego/vaf/virtualview/core/ViewBase;

    move-result-object v6

    iget-boolean v6, v6, Lcom/shopee/leego/vaf/virtualview/core/ViewBase;->userVisible:Z

    if-eqz v6, :cond_cd

    .line 30
    invoke-interface {v5}, Lcom/shopee/leego/vaf/virtualview/core/IContainer;->getVirtualView()Lcom/shopee/leego/vaf/virtualview/core/ViewBase;

    move-result-object v5

    invoke-virtual {v5, v1}, Lcom/shopee/leego/vaf/virtualview/core/ViewBase;->onUserVisibleChange(Z)V

    :cond_cd
    :goto_cd
    add-int/lit8 v4, v4, 0x1

    goto :goto_88

    :cond_d0
    return-void

    .line 31
    :pswitch_d1
    iget-object v0, p0, Lcom/garena/reactpush/v1/load/c;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/luban/module/rnlag/business/a;

    .line 32
    invoke-static {v0, v4}, Lcom/shopee/sz/loadtask/datasource/a;->y(Ljava/lang/Object;Ljava/lang/String;)V

    .line 33
    iget-object v1, v0, Lcom/shopee/luban/module/rnlag/business/a;->e:Ljava/lang/ref/WeakReference;

    if-eqz v1, :cond_e3

    invoke-virtual {v1}, Ljava/lang/ref/Reference;->get()Ljava/lang/Object;

    move-result-object v1

    move-object v3, v1

    check-cast v3, Landroid/app/Activity;

    :cond_e3
    move-object v5, v3

    if-eqz v5, :cond_f4

    .line 34
    iget-object v4, v0, Lcom/shopee/luban/module/rnlag/business/a;->d:Lcom/shopee/luban/module/rnlag/business/monitors/b;

    if-eqz v4, :cond_f4

    const/4 v6, 0x0

    invoke-virtual {v0, v5}, Lcom/shopee/luban/module/rnlag/business/a;->I(Landroid/app/Activity;)Z

    move-result v7

    const/4 v8, 0x2

    const/4 v9, 0x0

    invoke-static/range {v4 .. v9}, Lcom/shopee/luban/common/fps/d;->d(Lcom/shopee/luban/common/fps/d;Landroid/app/Activity;Ljava/lang/String;ZILjava/lang/Object;)Z

    :cond_f4
    return-void

    .line 35
    :pswitch_f5
    iget-object v0, p0, Lcom/garena/reactpush/v1/load/c;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/luban/common/fps/i;

    .line 36
    invoke-static {v0, v4}, Lcom/shopee/sz/loadtask/datasource/a;->y(Ljava/lang/Object;Ljava/lang/String;)V

    .line 37
    sget-object v1, Lcom/shopee/luban/common/fps/b;->a:Lcom/shopee/luban/common/fps/b;

    iget-object v3, v0, Lcom/shopee/luban/common/fps/i;->k:Lcom/shopee/app/maintenance/impl/h;

    invoke-virtual {v1, v3}, Lcom/shopee/luban/common/fps/b;->e(Ljava/lang/Runnable;)V

    .line 38
    iput-boolean v2, v0, Lcom/shopee/luban/common/fps/i;->b:Z

    return-void

    .line 39
    :pswitch_106
    iget-object v0, p0, Lcom/garena/reactpush/v1/load/c;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/leego/adapter/tracker/DRETrackData;

    invoke-static {v0}, Lcom/shopee/leego/adapter/tracker/DRETrackerUtilsKt;->m(Lcom/shopee/leego/adapter/tracker/DRETrackData;)V

    return-void

    :pswitch_10e
    iget-object v0, p0, Lcom/garena/reactpush/v1/load/c;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/app/util/datapoint/DataPointService$a;

    .line 40
    iget-object v0, v0, Lcom/shopee/app/util/datapoint/DataPointService$a;->a:Landroidx/concurrent/futures/c$a;

    .line 41
    new-instance v1, Landroidx/work/ListenableWorker$a$c;

    invoke-direct {v1}, Landroidx/work/ListenableWorker$a$c;-><init>()V

    .line 42
    invoke-virtual {v0, v1}, Landroidx/concurrent/futures/c$a;->a(Ljava/lang/Object;)Z

    return-void

    .line 43
    :pswitch_11d
    iget-object v0, p0, Lcom/garena/reactpush/v1/load/c;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/app/ui/notification/actionbox/c;

    .line 44
    iget-object v0, v0, Lcom/shopee/app/ui/base/d0;->a:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/app/ui/notification/actionbox/j;

    .line 45
    invoke-virtual {v0}, Lcom/shopee/app/ui/notification/actionbox/j;->getIndicator()Landroid/view/View;

    move-result-object v0

    const/16 v1, 0x8

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

    return-void

    .line 46
    :pswitch_12f
    iget-object v0, p0, Lcom/garena/reactpush/v1/load/c;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/app/network/diagnosis/h;

    invoke-static {v0}, Lcom/shopee/app/network/diagnosis/h;->b(Lcom/shopee/app/network/diagnosis/h;)V

    return-void

    :pswitch_137
    iget-object v0, p0, Lcom/garena/reactpush/v1/load/c;->b:Ljava/lang/Object;

    check-cast v0, Landroid/content/Context;

    .line 47
    new-instance v2, Landroid/content/Intent;

    const-class v3, Lcom/shopee/app/maintenance/ui/MaintenanceModeActivity;

    invoke-direct {v2, v0, v3}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const v3, 0x10018000

    .line 48
    invoke-virtual {v2, v3}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;

    .line 49
    invoke-virtual {v0, v2}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    .line 50
    instance-of v2, v0, Landroid/app/Activity;

    if-eqz v2, :cond_154

    .line 51
    check-cast v0, Landroid/app/Activity;

    invoke-virtual {v0, v1, v1}, Landroid/app/Activity;->overridePendingTransition(II)V

    :cond_154
    return-void

    .line 52
    :pswitch_155
    iget-object v0, p0, Lcom/garena/reactpush/v1/load/c;->b:Ljava/lang/Object;

    check-cast v0, Lcom/google/android/exoplayer2/source/hls/n$b;

    check-cast v0, Lcom/google/android/exoplayer2/source/hls/l;

    invoke-virtual {v0}, Lcom/google/android/exoplayer2/source/hls/l;->q()V

    return-void

    :pswitch_15f
    iget-object v0, p0, Lcom/garena/reactpush/v1/load/c;->b:Ljava/lang/Object;

    check-cast v0, Lcom/garena/reactpush/v0/c;

    invoke-interface {v0}, Lcom/garena/reactpush/v0/c;->c()V

    return-void

    :goto_167
    iget-object v0, p0, Lcom/garena/reactpush/v1/load/c;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/sz/yasea/capture/ext/SSZYUVCameraSourceExt;

    invoke-static {v0}, Lcom/shopee/sz/yasea/capture/ext/SSZYUVCameraSourceExt;->c(Lcom/shopee/sz/yasea/capture/ext/SSZYUVCameraSourceExt;)V

    return-void

    nop

    :pswitch_data_170
    .packed-switch 0x0
        :pswitch_15f
        :pswitch_155
        :pswitch_137
        :pswitch_12f
        :pswitch_11d
        :pswitch_10e
        :pswitch_106
        :pswitch_f5
        :pswitch_d1
        :pswitch_7d
        :pswitch_60
        :pswitch_53
        :pswitch_46
        :pswitch_37
        :pswitch_28
        :pswitch_20
        :pswitch_16
        :pswitch_c
    .end packed-switch
.end method