.class public final Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5; .super Ljava/lang/Object; .source "WidgetUserSheet.kt" # interfaces .implements Landroid/view/View$OnClickListener; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->configureProfileActionButtons(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;)V .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 name = null .end annotation # instance fields .field public final synthetic $userRelationshipType:I .field public final synthetic $viewState:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded; .field public final synthetic this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet; # direct methods .method public constructor (Lcom/discord/widgets/user/usersheet/WidgetUserSheet;ILcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;)V .locals 0 iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet; iput p2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;->$userRelationshipType:I iput-object p3, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;->$viewState:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded; invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public final onClick(Landroid/view/View;)V .locals 24 move-object/from16 v0, p0 iget v1, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;->$userRelationshipType:I const/4 v2, 0x3 const/4 v3, 0x1 const v4, 0x7f0a062e const/4 v5, 0x0 const-string v6, "requireContext()" const-string v7, "parentFragmentManager" if-eq v1, v2, :cond_2 const/4 v2, 0x4 if-eq v1, v2, :cond_0 goto/16 :goto_0 :cond_0 iget-object v1, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;->$viewState:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded; invoke-virtual {v1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$ViewState$Loaded;->getUser()Lcom/discord/models/domain/ModelUser; move-result-object v1 iget-object v2, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet; invoke-virtual {v2}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context; move-result-object v2 invoke-static {v2, v6}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V iget-object v6, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet; invoke-virtual {v6}, Landroidx/fragment/app/Fragment;->getParentFragmentManager()Landroidx/fragment/app/FragmentManager; move-result-object v9 invoke-static {v9, v7}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V new-instance v6, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5$1; iget-object v7, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet; invoke-static {v7}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->access$getViewModel$p(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;)Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel; move-result-object v7 invoke-direct {v6, v7}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5$1;->(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;)V if-eqz v1, :cond_1 sget-object v8, Lcom/discord/widgets/notice/WidgetNoticeDialog;->Companion:Lcom/discord/widgets/notice/WidgetNoticeDialog$Companion; const v7, 0x7f121093 invoke-virtual {v2, v7}, Landroid/content/Context;->getString(I)Ljava/lang/String; move-result-object v10 const v7, 0x7f121094 new-array v3, v3, [Ljava/lang/Object; invoke-virtual {v1}, Lcom/discord/models/domain/ModelUser;->getUsername()Ljava/lang/String; move-result-object v1 aput-object v1, v3, v5 invoke-virtual {v2, v7, v3}, Landroid/content/Context;->getString(I[Ljava/lang/Object;)Ljava/lang/String; move-result-object v11 const-string v1, "context.getString(R.stri\u2026elete_msg, user.username)" invoke-static {v11, v1}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V const v1, 0x7f120563 invoke-virtual {v2, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String; move-result-object v12 const v1, 0x7f1203b7 invoke-virtual {v2, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String; move-result-object v13 invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object v1 new-instance v2, Lf/a/a/l; invoke-direct {v2, v6}, Lf/a/a/l;->(Lkotlin/jvm/functions/Function1;)V new-instance v3, Lkotlin/Pair; invoke-direct {v3, v1, v2}, Lkotlin/Pair;->(Ljava/lang/Object;Ljava/lang/Object;)V invoke-static {v3}, Lf/n/a/k/a;->mapOf(Lkotlin/Pair;)Ljava/util/Map; move-result-object v14 const/4 v15, 0x0 const/16 v16, 0x0 const/16 v17, 0x0 const v1, 0x7f0403d0 invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object v18 const/16 v19, 0x0 const/16 v20, 0x0 const/16 v21, 0x0 const/16 v22, 0x1dc0 const/16 v23, 0x0 invoke-static/range {v8 .. v23}, Lcom/discord/widgets/notice/WidgetNoticeDialog$Companion;->show$default(Lcom/discord/widgets/notice/WidgetNoticeDialog$Companion;Landroidx/fragment/app/FragmentManager;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Lcom/discord/stores/StoreNotices$Dialog$Type;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/String;IILjava/lang/Object;)V goto/16 :goto_0 :cond_1 const-string v1, "user" invoke-static {v1}, Lj0/n/c/h;->c(Ljava/lang/String;)V const/4 v1, 0x0 throw v1 :cond_2 iget-object v1, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet; invoke-virtual {v1}, Landroidx/fragment/app/Fragment;->getParentFragmentManager()Landroidx/fragment/app/FragmentManager; move-result-object v9 invoke-static {v9, v7}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V iget-object v1, v0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet; invoke-virtual {v1}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context; move-result-object v1 invoke-static {v1, v6}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V new-instance v2, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5$2; invoke-direct {v2, v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5$2;->(Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;)V new-instance v6, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5$3; invoke-direct {v6, v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5$3;->(Lcom/discord/widgets/user/usersheet/WidgetUserSheet$configureProfileActionButtons$5;)V sget-object v8, Lcom/discord/widgets/notice/WidgetNoticeDialog;->Companion:Lcom/discord/widgets/notice/WidgetNoticeDialog$Companion; const v7, 0x7f120c73 invoke-virtual {v1, v7}, Landroid/content/Context;->getString(I)Ljava/lang/String; move-result-object v10 const v7, 0x7f1216f3 invoke-virtual {v1, v7}, Landroid/content/Context;->getString(I)Ljava/lang/String; move-result-object v11 const-string v7, "context.getString(R.stri\u2026iend_request_dialog_body)" invoke-static {v11, v7}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V const v7, 0x7f1207a6 invoke-virtual {v1, v7}, Landroid/content/Context;->getString(I)Ljava/lang/String; move-result-object v12 const v7, 0x7f1207aa invoke-virtual {v1, v7}, Landroid/content/Context;->getString(I)Ljava/lang/String; move-result-object v13 const/4 v1, 0x2 new-array v1, v1, [Lkotlin/Pair; invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object v4 new-instance v7, Lf/a/a/j; invoke-direct {v7, v2}, Lf/a/a/j;->(Lkotlin/jvm/functions/Function0;)V new-instance v2, Lkotlin/Pair; invoke-direct {v2, v4, v7}, Lkotlin/Pair;->(Ljava/lang/Object;Ljava/lang/Object;)V aput-object v2, v1, v5 const v2, 0x7f0a0629 invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object v2 new-instance v4, Lf/a/a/k; invoke-direct {v4, v6}, Lf/a/a/k;->(Lkotlin/jvm/functions/Function0;)V new-instance v5, Lkotlin/Pair; invoke-direct {v5, v2, v4}, Lkotlin/Pair;->(Ljava/lang/Object;Ljava/lang/Object;)V aput-object v5, v1, v3 invoke-static {v1}, Lf/n/a/k/a;->mapOf([Lkotlin/Pair;)Ljava/util/Map; move-result-object v14 const/4 v15, 0x0 const/16 v16, 0x0 const/16 v17, 0x0 const/16 v18, 0x0 const/16 v19, 0x0 const/16 v20, 0x0 const/16 v21, 0x0 const/16 v22, 0x1fc0 const/16 v23, 0x0 invoke-static/range {v8 .. v23}, Lcom/discord/widgets/notice/WidgetNoticeDialog$Companion;->show$default(Lcom/discord/widgets/notice/WidgetNoticeDialog$Companion;Landroidx/fragment/app/FragmentManager;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Lcom/discord/stores/StoreNotices$Dialog$Type;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/String;IILjava/lang/Object;)V :goto_0 return-void .end method