d.smali

.class public final synthetic Lcom/mmc/player/d;
.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/mmc/player/d;->a:I

    iput-object p1, p0, Lcom/mmc/player/d;->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/mmc/player/d;->a:I

    const/4 v1, 0x1

    .line 1
    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    const-string v3, "this$0"

    const/4 v4, 0x0

    packed-switch v0, :pswitch_data_206

    goto/16 :goto_1fe

    .line 2
    :pswitch_f
    iget-object v0, p0, Lcom/mmc/player/d;->b:Ljava/lang/Object;

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

    invoke-static {v0}, Lcom/shopee/sz/yasea/capture/SSZYUVCameraSource;->e(Lcom/shopee/sz/yasea/capture/SSZYUVCameraSource;)V

    return-void

    :pswitch_17
    iget-object v0, p0, Lcom/mmc/player/d;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/sz/mediasdk/ui/view/edit/music/a;

    .line 3
    iget-object v0, v0, Lcom/shopee/sz/mediasdk/ui/view/edit/music/a;->h:Lcom/shopee/sz/mediasdk/bgm/trim/BGMVoiceCutView;

    invoke-virtual {v0}, Lcom/shopee/sz/mediasdk/bgm/trim/BGMVoiceCutView;->g()V

    return-void

    .line 4
    :pswitch_21
    iget-object v0, p0, Lcom/mmc/player/d;->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;

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

    .line 6
    invoke-virtual {v0}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;

    move-result-object v0

    const v1, 0x7f12049c

    invoke-static {v0, v1}, Lcom/shopee/sz/mediasdk/mediautils/utils/view/c;->c(Landroid/content/Context;I)V

    return-void

    .line 7
    :pswitch_35
    iget-object v0, p0, Lcom/mmc/player/d;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/sz/mediasdk/live/camera/core/c;

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

    .line 9
    iget-object v0, v0, Lcom/shopee/sz/mediasdk/live/camera/core/c;->c:Ljava/util/concurrent/ConcurrentHashMap;

    invoke-virtual {v0, v2}, Ljava/util/concurrent/ConcurrentHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/shopee/sz/mediasdk/live/camera/icamera/e;

    if-eqz v0, :cond_4d

    const/16 v1, 0x3f4

    new-array v2, v4, [Ljava/lang/Object;

    invoke-interface {v0, v1, v2}, Lcom/shopee/sz/mediasdk/live/camera/icamera/e;->h(I[Ljava/lang/Object;)V

    :cond_4d
    return-void

    .line 10
    :pswitch_4e
    iget-object v0, p0, Lcom/mmc/player/d;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/sz/mediasdk/editpage/multimediafilesv2/SSZSinglePictureSingleEditPageFragmentV2;

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

    .line 12
    iget-object v1, v0, Lcom/shopee/sz/mediasdk/editpage/multimediafilesv2/c;->b:Lcom/shopee/sz/mediasdk/editpage/multimediafilesv2/b;

    .line 13
    iget-object v1, v1, Lcom/shopee/sz/mediasdk/editpage/multimediafilesv2/b;->c:Lcom/shopee/sz/mediasdk/editpage/entity/SSZEditPageComposeEntity;

    if-eqz v1, :cond_8a

    .line 14
    invoke-virtual {v1}, Lcom/shopee/sz/mediasdk/editpage/entity/SSZEditPageComposeEntity;->getMediaRenderEntity()Lcom/shopee/sz/mediasdk/ui/view/bottombar/MediaRenderEntity;

    move-result-object v1

    if-eqz v1, :cond_8a

    .line 15
    invoke-virtual {v1}, Lcom/shopee/sz/mediasdk/ui/view/bottombar/MediaRenderEntity;->getStickerCompressEntityList()Ljava/util/List;

    move-result-object v2

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    if-lez v2, :cond_8a

    .line 16
    iget-object v0, v0, Lcom/shopee/sz/mediasdk/editpage/multimediafilesv2/SSZSinglePictureSingleEditPageFragmentV2;->f:Lcom/shopee/sz/mediasdk/editpage/panel/SSZEditPanelContainerView;

    if-eqz v0, :cond_8a

    .line 17
    invoke-virtual {v1}, Lcom/shopee/sz/mediasdk/ui/view/bottombar/MediaRenderEntity;->getStickerCompressEntityList()Ljava/util/List;

    move-result-object v1

    if-eqz v1, :cond_8a

    .line 18
    iget-object v2, v0, Lcom/shopee/sz/mediasdk/editpage/panel/SSZEditPanelContainerView;->f:Lcom/shopee/sz/mediasdk/editpage/panel/sticker/d;

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

    .line 19
    iget-object v0, v0, Lcom/shopee/sz/mediasdk/editpage/panel/SSZEditPanelContainerView;->f:Lcom/shopee/sz/mediasdk/editpage/panel/sticker/d;

    .line 20
    invoke-virtual {v0}, Lcom/shopee/sz/mediasdk/text/SSZStickerContainerWrapper;->getStickerContainer()Lcom/shopee/sz/mediasdk/ui/view/edit/sticker/SSZMediaStickerContainer;

    move-result-object v2

    new-instance v3, Lcom/facebook/appevents/i;

    const/16 v4, 0xa

    invoke-direct {v3, v1, v0, v4}, Lcom/facebook/appevents/i;-><init>(Ljava/lang/Object;Ljava/lang/Object;I)V

    invoke-virtual {v2, v3}, Landroid/view/View;->post(Ljava/lang/Runnable;)Z

    :cond_8a
    return-void

    .line 21
    :pswitch_8b
    iget-object v0, p0, Lcom/mmc/player/d;->b:Ljava/lang/Object;

    check-cast v0, Ljava/util/List;

    sget-object v1, Lcom/shopee/sz/mediaeffect/algorithm/j;->a:Lcom/shopee/sz/mediaeffect/algorithm/j;

    const-string v1, "$listeners"

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

    .line 23
    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_9a
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    const/4 v3, -0x2

    if-eqz v2, :cond_ac

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/shopee/sz/mediasdk/downloader/task/d;

    const/4 v4, 0x0

    .line 24
    invoke-interface {v2, v3, v4, v4, v4}, Lcom/shopee/sz/mediasdk/downloader/task/d;->b(ILcom/shopee/sz/mediasdk/downloader/bean/a;Ljava/lang/String;Ljava/lang/Exception;)V

    goto :goto_9a

    .line 25
    :cond_ac
    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_b0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_c0

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/shopee/sz/mediasdk/downloader/task/d;

    .line 26
    invoke-interface {v1, v3}, Lcom/shopee/sz/mediasdk/downloader/task/d;->a(I)V

    goto :goto_b0

    :cond_c0
    return-void

    .line 27
    :pswitch_c1
    iget-object v0, p0, Lcom/mmc/player/d;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/sz/loadtask/task/d;

    .line 28
    invoke-virtual {v0, v4}, Lcom/shopee/sz/loadtask/task/d;->i(Z)V

    return-void

    .line 29
    :pswitch_c9
    iget-object v0, p0, Lcom/mmc/player/d;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/sz/bizcommon/rn/rncviewpager/a;

    invoke-static {v0}, Lcom/shopee/sz/bizcommon/rn/rncviewpager/PagerViewViewManager;->h(Lcom/shopee/sz/bizcommon/rn/rncviewpager/a;)V

    return-void

    :pswitch_d1
    iget-object v0, p0, Lcom/mmc/player/d;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/luban/module/looper/business/f;

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

    .line 31
    iget-object v0, v0, Lcom/shopee/luban/module/looper/business/f;->a:Ljava/util/ArrayList;

    .line 32
    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_de
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_ee

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/shopee/luban/module/looper/business/monitor/a;

    .line 33
    invoke-interface {v1}, Lcom/shopee/luban/module/looper/business/monitor/a;->startMonitor()V

    goto :goto_de

    :cond_ee
    return-void

    .line 34
    :pswitch_ef
    iget-object v0, p0, Lcom/mmc/player/d;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/leego/render/v3/DRERecyclerView;

    invoke-static {v0}, Lcom/shopee/leego/render/v3/DRERecyclerView;->J(Lcom/shopee/leego/render/v3/DRERecyclerView;)V

    return-void

    :pswitch_f7
    iget-object v0, p0, Lcom/mmc/player/d;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/chat/sdk/ui/chatroom/j;

    sget v2, Lcom/shopee/chat/sdk/ui/chatroom/j;->r:I

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

    .line 36
    invoke-virtual {v0}, Lcom/shopee/chat/sdk/ui/chatroom/j;->getMLayoutManager()Landroidx/recyclerview/widget/LinearLayoutManager;

    move-result-object v2

    invoke-virtual {v2}, Landroidx/recyclerview/widget/LinearLayoutManager;->findFirstVisibleItemPosition()I

    move-result v2

    .line 37
    iget-object v3, v0, Lcom/shopee/chat/sdk/ui/chatroom/j;->p:Lcom/shopee/chat/sdk/databinding/c;

    iget-object v3, v3, Lcom/shopee/chat/sdk/databinding/c;->e:Landroid/widget/ImageButton;

    if-gt v2, v1, :cond_11a

    .line 38
    invoke-virtual {v0}, Lcom/shopee/chat/sdk/ui/chatroom/j;->getMPresenter()Lcom/shopee/chat/sdk/ui/chatroom/BizChatPresenter;

    move-result-object v0

    invoke-virtual {v0}, Lcom/shopee/chat/sdk/ui/chatroom/BizChatPresenter;->t()Z

    move-result v0

    if-eqz v0, :cond_11a

    const/16 v4, 0x8

    .line 39
    :cond_11a
    invoke-virtual {v3, v4}, Landroid/view/View;->setVisibility(I)V

    return-void

    .line 40
    :pswitch_11e
    iget-object v0, p0, Lcom/mmc/player/d;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/app/ui/setting/ForbiddenZone/v2;

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

    .line 41
    new-instance v1, Ljava/util/HashSet;

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

    const-wide/16 v3, 0x1

    move-wide v5, v3

    :goto_12d
    const-wide/16 v7, 0x2710

    cmp-long v9, v5, v7

    if-gtz v9, :cond_141

    .line 42
    new-instance v7, Landroid/util/Pair;

    invoke-static {v5, v6}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v8

    invoke-direct {v7, v8, v2}, Landroid/util/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V

    invoke-virtual {v1, v7}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z

    add-long/2addr v5, v3

    goto :goto_12d

    .line 43
    :cond_141
    iget-object v0, v0, Lcom/shopee/app/ui/setting/ForbiddenZone/v2;->o:Lcom/shopee/app/data/store/p1;

    .line 44
    iget-object v0, v0, Lcom/shopee/app/data/store/p1;->g:Lcom/shopee/app/util/k1;

    invoke-virtual {v0, v1}, Lcom/shopee/app/util/k1;->c(Ljava/lang/Object;)V

    return-void

    .line 45
    :pswitch_149
    iget-object v0, p0, Lcom/mmc/player/d;->b:Ljava/lang/Object;

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

    sget v2, Lcom/shopee/app/ui/notification/u;->u:I

    .line 46
    invoke-virtual {v0}, Lcom/shopee/app/ui/notification/u;->getRecyclerView()Landroidx/recyclerview/widget/RecyclerView;

    move-result-object v2

    const/16 v3, 0x32

    invoke-static {v2, v3}, Lcom/shopee/impression/util/a;->c(Landroid/view/View;I)Z

    move-result v2

    if-eqz v2, :cond_162

    .line 47
    iget-object v0, v0, Lcom/shopee/app/ui/notification/u;->q:Lcom/shopee/impression/b;

    if-eqz v0, :cond_162

    invoke-virtual {v0, v1}, Lcom/shopee/impression/b;->l(Z)V

    :cond_162
    return-void

    .line 48
    :pswitch_163
    iget-object v0, p0, Lcom/mmc/player/d;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/app/ui/home/native_home/view/bottomtab/p;

    sget v1, Lcom/shopee/app/ui/home/native_home/view/bottomtab/p;->s:I

    .line 49
    invoke-virtual {v0}, Lcom/shopee/app/ui/home/native_home/view/bottomtab/p;->getTitleView()Landroid/widget/TextView;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/TextView;->getPaint()Landroid/text/TextPaint;

    move-result-object v1

    iget-object v2, v0, Lcom/shopee/app/ui/home/native_home/view/bottomtab/p;->h:Lcom/shopee/app/ui/home/native_home/model/bottomtab/b;

    if-eqz v2, :cond_189

    invoke-static {}, Lcom/shopee/app/application/n2;->e()Lcom/shopee/app/application/n2;

    move-result-object v3

    .line 50
    iget-object v3, v3, Lcom/shopee/app/application/n2;->b:Lcom/shopee/app/appuser/e;

    .line 51
    invoke-interface {v3}, Lcom/shopee/app/application/c;->Q3()Lcom/shopee/app/data/store/g0;

    move-result-object v3

    invoke-interface {v3}, Lcom/shopee/app/data/store/g0;->d()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/shopee/app/ui/home/native_home/model/bottomtab/b;->p(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    if-nez v2, :cond_18b

    :cond_189
    const-string v2, ""

    .line 52
    :cond_18b
    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v3

    iget v5, v0, Lcom/shopee/app/ui/home/native_home/view/bottomtab/p;->q:I

    if-le v3, v5, :cond_19e

    add-int/lit8 v5, v5, -0x1

    invoke-virtual {v2, v4, v5}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v2

    const-string v3, "this as java.lang.String\u2026ing(startIndex, endIndex)"

    invoke-static {v2, v3}, Lcom/shopee/sz/loadtask/datasource/a;->x(Ljava/lang/Object;Ljava/lang/String;)V

    .line 53
    :cond_19e
    invoke-virtual {v1, v2}, Landroid/graphics/Paint;->measureText(Ljava/lang/String;)F

    move-result v1

    const/4 v2, 0x0

    cmpl-float v2, v1, v2

    if-lez v2, :cond_1c6

    .line 54
    invoke-virtual {v0}, Lcom/shopee/app/ui/home/native_home/view/bottomtab/p;->getRootView()Landroid/view/ViewGroup;

    move-result-object v2

    invoke-virtual {v2}, Landroid/view/View;->getMeasuredWidth()I

    move-result v2

    int-to-float v2, v2

    cmpg-float v2, v1, v2

    if-gez v2, :cond_1c6

    .line 55
    invoke-virtual {v0}, Lcom/shopee/app/ui/home/native_home/view/bottomtab/p;->getTitleView()Landroid/widget/TextView;

    move-result-object v2

    invoke-virtual {v2}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v2

    float-to-int v1, v1

    iput v1, v2, Landroid/view/ViewGroup$LayoutParams;->width:I

    .line 56
    invoke-virtual {v0}, Lcom/shopee/app/ui/home/native_home/view/bottomtab/p;->getTitleView()Landroid/widget/TextView;

    move-result-object v0

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

    :cond_1c6
    return-void

    .line 57
    :pswitch_1c7
    iget-object v0, p0, Lcom/mmc/player/d;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/app/ui/home/native_home/cell/SearchBarCell;

    invoke-static {v0}, Lcom/shopee/app/ui/home/native_home/cell/SearchBarCell;->b(Lcom/shopee/app/ui/home/native_home/cell/SearchBarCell;)V

    return-void

    :pswitch_1cf
    iget-object v0, p0, Lcom/mmc/player/d;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/addon/dynamicfeatures/proto/c0;

    .line 58
    invoke-virtual {v0}, Lcom/shopee/addon/dynamicfeatures/proto/c0;->c()Ljava/util/List;

    move-result-object v0

    .line 59
    invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_1db
    :goto_1db
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_1f5

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    .line 60
    sget-object v2, Lcom/shopee/app/plugin/b0;->b:Lcom/shopee/app/plugin/b0;

    invoke-virtual {v2, v1}, Lcom/shopee/app/plugin/b0;->m(Ljava/lang/String;)Lcom/shopee/app/plugin/u;

    move-result-object v1

    if-eqz v1, :cond_1db

    .line 61
    sget-object v2, Lcom/shopee/app/plugin/w;->a:Lcom/shopee/app/plugin/w;

    invoke-virtual {v2, v1}, Lcom/shopee/app/plugin/w;->g(Lcom/shopee/app/plugin/u;)V

    goto :goto_1db

    :cond_1f5
    return-void

    .line 62
    :pswitch_1f6
    iget-object v0, p0, Lcom/mmc/player/d;->b:Ljava/lang/Object;

    check-cast v0, Lcom/mmc/player/MMCPlayerNative;

    invoke-static {v0}, Lcom/mmc/player/MMCPlayerNative;->l(Lcom/mmc/player/MMCPlayerNative;)V

    return-void

    :goto_1fe
    iget-object v0, p0, Lcom/mmc/player/d;->b:Ljava/lang/Object;

    check-cast v0, Lorg/webrtc/SurfaceTextureHelper;

    invoke-static {v0}, Lorg/webrtc/SurfaceTextureHelper;->f(Lorg/webrtc/SurfaceTextureHelper;)V

    return-void

    :pswitch_data_206
    .packed-switch 0x0
        :pswitch_1f6
        :pswitch_1cf
        :pswitch_1c7
        :pswitch_163
        :pswitch_149
        :pswitch_11e
        :pswitch_f7
        :pswitch_ef
        :pswitch_d1
        :pswitch_c9
        :pswitch_c1
        :pswitch_8b
        :pswitch_4e
        :pswitch_35
        :pswitch_21
        :pswitch_17
        :pswitch_f
    .end packed-switch
.end method