package com.vinfast.companion.notification.ui.theftalert.images;

/* JADX INFO: compiled from: r8-map-id-ae6aab8d9a1033945587ffdd1bc6222159522c1d66e66a2c4cecb065134dd0a6 */
/* JADX INFO: loaded from: E:\ios\vf_dex\classes4.dex */
@kotlin.Metadata(d1 = {"\u0000j\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u0003\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\t\n\u0002\u0010 \n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\f\n\u0002\u0018\u0002\n\u0002\b\u0004\b\u0017\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001B\u0007¢\u0006\u0004\b\u0003\u0010\u0004J\u000f\u0010\u0006\u001a\u00020\u0005H\u0002¢\u0006\u0004\b\u0006\u0010\u0004J\u000f\u0010\u0007\u001a\u00020\u0005H\u0002¢\u0006\u0004\b\u0007\u0010\u0004J\u000f\u0010\b\u001a\u00020\u0005H\u0002¢\u0006\u0004\b\b\u0010\u0004J'\u0010\u000e\u001a\u00020\u00052\u0006\u0010\n\u001a\u00020\t2\u0006\u0010\f\u001a\u00020\u000b2\u0006\u0010\r\u001a\u00020\tH\u0002¢\u0006\u0004\b\u000e\u0010\u000fJ!\u0010\u0011\u001a\u0004\u0018\u00010\u00102\u0006\u0010\n\u001a\u00020\t2\u0006\u0010\r\u001a\u00020\tH\u0002¢\u0006\u0004\b\u0011\u0010\u0012J\u0017\u0010\u0015\u001a\u00020\u00052\u0006\u0010\u0014\u001a\u00020\u0013H\u0002¢\u0006\u0004\b\u0015\u0010\u0016J\u0017\u0010\u0018\u001a\u00020\u00052\u0006\u0010\u0017\u001a\u00020\u0013H\u0002¢\u0006\u0004\b\u0018\u0010\u0016J\u0017\u0010\u001a\u001a\u00020\u00052\u0006\u0010\u0019\u001a\u00020\tH\u0002¢\u0006\u0004\b\u001a\u0010\u001bJ\u0017\u0010\u001c\u001a\u00020\u00052\u0006\u0010\u0014\u001a\u00020\u0013H\u0002¢\u0006\u0004\b\u001c\u0010\u0016J\u001d\u0010 \u001a\u00020\u00052\f\u0010\u001f\u001a\b\u0012\u0004\u0012\u00020\u001e0\u001dH\u0002¢\u0006\u0004\b \u0010!J\u001d\u0010$\u001a\u00020\u00052\f\u0010#\u001a\b\u0012\u0004\u0012\u00020\"0\u001dH\u0002¢\u0006\u0004\b$\u0010!J\u0019\u0010'\u001a\u00020\u00052\b\u0010&\u001a\u0004\u0018\u00010%H\u0016¢\u0006\u0004\b'\u0010(J\u000f\u0010*\u001a\u00020)H\u0016¢\u0006\u0004\b*\u0010+J!\u0010-\u001a\u00020\u00052\u0006\u0010,\u001a\u00020\u00102\b\u0010&\u001a\u0004\u0018\u00010%H\u0016¢\u0006\u0004\b-\u0010.J\u000f\u00100\u001a\u00020/H\u0016¢\u0006\u0004\b0\u00101J\u000f\u00102\u001a\u00020\u0005H\u0016¢\u0006\u0004\b2\u0010\u0004J\u000f\u00103\u001a\u00020\u0005H\u0016¢\u0006\u0004\b3\u0010\u0004J\u000f\u00104\u001a\u00020\u0013H\u0016¢\u0006\u0004\b4\u00105J\u0017\u00107\u001a\u00020\u00052\u0006\u00106\u001a\u00020\u0013H\u0016¢\u0006\u0004\b7\u0010\u0016R\u001b\u0010;\u001a\u00020)8BX\u0082\u0084\u0002¢\u0006\f\n\u0004\b8\u00109\u001a\u0004\b:\u0010+R\u0018\u0010?\u001a\u0004\u0018\u00010<8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b=\u0010>¨\u0006@"}, d2 = {"Lcom/vinfast/companion/notification/ui/theftalert/images/TheftAlertImagesFragment;", "Lcom/vinfast/companion/core/base/fragment/BaseFragment;", "Lcom/vinfast/companion/notification/databinding/FragmentTheftAlertImagesBinding;", "<init>", "()V", "", "p2", "v2", "q2", "", "bundlePosition", "Lcom/vinfast/companion/notificationkit/domain/model/TheftAlertImageBundle;", "imageBundle", "imagePosition", "o2", "(ILcom/vinfast/companion/notificationkit/domain/model/TheftAlertImageBundle;I)V", "Landroid/view/View;", "m2", "(II)Landroid/view/View;", "", "selectMode", "J2", "(Z)V", "selectAll", "l2", "selectedItemCount", "k2", "(I)V", "I2", "", "", "urls", "G2", "(Ljava/util/List;)V", "Lcom/vinfast/companion/core/utils/imagedowloader/ImageDownloadMetadata;", "imageMetadata", "E2", "Landroid/os/Bundle;", "savedInstanceState", "onCreate", "(Landroid/os/Bundle;)V", "Lcom/vinfast/companion/notification/ui/theftalert/images/TheftAlertImagesViewModel;", "L2", "()Lcom/vinfast/companion/notification/ui/theftalert/images/TheftAlertImagesViewModel;", "view", "y1", "(Landroid/view/View;Landroid/os/Bundle;)V", "Lcom/vinfast/companion/core/base/fragment/ToolbarConfiguration;", "T0", "()Lcom/vinfast/companion/core/base/fragment/ToolbarConfiguration;", "x1", "v1", "P1", "()Z", "navigateUp", "s1", "A", "Lkotlin/Lazy;", "n2", "mViewModel", "Lcom/vinfast/companion/notification/ui/theftalert/images/adapter/TheftAlertImageAdapter;", "B", "Lcom/vinfast/companion/notification/ui/theftalert/images/adapter/TheftAlertImageAdapter;", "mAdapter", "notification_release"}, k = 1, mv = {2, 2, 0}, xi = 48)
@dagger.hilt.android.AndroidEntryPoint
@kotlin.jvm.internal.SourceDebugExtension
public class TheftAlertImagesFragment extends com.vinfast.companion.notification.ui.theftalert.images.Hilt_TheftAlertImagesFragment<com.vinfast.companion.notification.databinding.FragmentTheftAlertImagesBinding> {

    /* JADX INFO: renamed from: A, reason: from kotlin metadata */
    private final kotlin.Lazy mViewModel;

    /* JADX INFO: renamed from: B, reason: from kotlin metadata */
    private com.vinfast.companion.notification.ui.theftalert.images.adapter.TheftAlertImageAdapter mAdapter;

    /* JADX INFO: renamed from: com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment$1, reason: invalid class name */
    /* JADX INFO: compiled from: r8-map-id-ae6aab8d9a1033945587ffdd1bc6222159522c1d66e66a2c4cecb065134dd0a6 */
    @kotlin.Metadata(k = 3, mv = {2, 2, 0}, xi = 48)
    static final /* synthetic */ class AnonymousClass1 extends kotlin.jvm.internal.FunctionReferenceImpl implements kotlin.jvm.functions.Function1<android.view.LayoutInflater, com.vinfast.companion.notification.databinding.FragmentTheftAlertImagesBinding> {
        public static final com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment.AnonymousClass1 a = new com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment.AnonymousClass1();

        AnonymousClass1() {
            super(1, com.vinfast.companion.notification.databinding.FragmentTheftAlertImagesBinding.class, "inflate", "inflate(Landroid/view/LayoutInflater;)Lcom/vinfast/companion/notification/databinding/FragmentTheftAlertImagesBinding;", 0);
        }

        /* JADX INFO: renamed from: q, reason: merged with bridge method [inline-methods] */
        public final com.vinfast.companion.notification.databinding.FragmentTheftAlertImagesBinding invoke(android.view.LayoutInflater layoutInflater) {
            kotlin.jvm.internal.Intrinsics.l(layoutInflater, "p0");
            return com.vinfast.companion.notification.databinding.FragmentTheftAlertImagesBinding.c(layoutInflater);
        }
    }

    public TheftAlertImagesFragment() {
        super(com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment.AnonymousClass1.a);
        final kotlin.jvm.functions.Function0<androidx.fragment.app.Fragment> function0 = new kotlin.jvm.functions.Function0<androidx.fragment.app.Fragment>() { // from class: com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment$special$$inlined$viewModels$default$1
            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            {
                super(0);
            }

            /* JADX INFO: renamed from: a, reason: merged with bridge method [inline-methods] */
            public final androidx.fragment.app.Fragment invoke() {
                return this;
            }
        };
        final kotlin.Lazy lazyA = kotlin.LazyKt.a(kotlin.LazyThreadSafetyMode.NONE, new kotlin.jvm.functions.Function0<androidx.lifecycle.ViewModelStoreOwner>() { // from class: com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment$special$$inlined$viewModels$default$2
            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            {
                super(0);
            }

            /* JADX INFO: renamed from: a, reason: merged with bridge method [inline-methods] */
            public final androidx.lifecycle.ViewModelStoreOwner invoke() {
                return (androidx.lifecycle.ViewModelStoreOwner) function0.invoke();
            }
        });
        final kotlin.jvm.functions.Function0 function1 = null;
        this.mViewModel = androidx.fragment.app.FragmentViewModelLazyKt.c(this, kotlin.jvm.internal.Reflection.b(com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesViewModel.class), new kotlin.jvm.functions.Function0<androidx.lifecycle.ViewModelStore>() { // from class: com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment$special$$inlined$viewModels$default$3
            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            {
                super(0);
            }

            /* JADX INFO: renamed from: a, reason: merged with bridge method [inline-methods] */
            public final androidx.lifecycle.ViewModelStore invoke() {
                return androidx.fragment.app.FragmentViewModelLazyKt.b(lazyA).getViewModelStore();
            }
        }, new kotlin.jvm.functions.Function0<androidx.lifecycle.viewmodel.CreationExtras>() { // from class: com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment$special$$inlined$viewModels$default$4
            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            {
                super(0);
            }

            /* JADX INFO: renamed from: a, reason: merged with bridge method [inline-methods] */
            public final androidx.lifecycle.viewmodel.CreationExtras invoke() {
                androidx.lifecycle.viewmodel.CreationExtras creationExtras;
                kotlin.jvm.functions.Function0 function2 = function1;
                if (function2 != null && (creationExtras = (androidx.lifecycle.viewmodel.CreationExtras) function2.invoke()) != null) {
                    return creationExtras;
                }
                androidx.lifecycle.HasDefaultViewModelProviderFactory hasDefaultViewModelProviderFactoryB = androidx.fragment.app.FragmentViewModelLazyKt.b(lazyA);
                androidx.lifecycle.HasDefaultViewModelProviderFactory hasDefaultViewModelProviderFactory = hasDefaultViewModelProviderFactoryB instanceof androidx.lifecycle.HasDefaultViewModelProviderFactory ? hasDefaultViewModelProviderFactoryB : null;
                return hasDefaultViewModelProviderFactory != null ? hasDefaultViewModelProviderFactory.getDefaultViewModelCreationExtras() : androidx.lifecycle.viewmodel.CreationExtras.Empty.c;
            }
        }, new kotlin.jvm.functions.Function0<androidx.lifecycle.ViewModelProvider.Factory>() { // from class: com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment$special$$inlined$viewModels$default$5
            /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
            {
                super(0);
            }

            /* JADX INFO: renamed from: a, reason: merged with bridge method [inline-methods] */
            public final androidx.lifecycle.ViewModelProvider.Factory invoke() {
                androidx.lifecycle.ViewModelProvider.Factory defaultViewModelProviderFactory;
                androidx.lifecycle.HasDefaultViewModelProviderFactory hasDefaultViewModelProviderFactoryB = androidx.fragment.app.FragmentViewModelLazyKt.b(lazyA);
                androidx.lifecycle.HasDefaultViewModelProviderFactory hasDefaultViewModelProviderFactory = hasDefaultViewModelProviderFactoryB instanceof androidx.lifecycle.HasDefaultViewModelProviderFactory ? hasDefaultViewModelProviderFactoryB : null;
                return (hasDefaultViewModelProviderFactory == null || (defaultViewModelProviderFactory = hasDefaultViewModelProviderFactory.getDefaultViewModelProviderFactory()) == null) ? this.getDefaultViewModelProviderFactory() : defaultViewModelProviderFactory;
            }
        });
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final kotlin.Unit A2(com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment theftAlertImagesFragment, boolean z) {
        theftAlertImagesFragment.l2(z);
        return kotlin.Unit.a;
    }

    /* JADX INFO: Access modifiers changed from: private */
    /* JADX INFO: Thrown type has an unknown type hierarchy: kotlin.NoWhenBranchMatchedException */
    public static final kotlin.Unit B2(com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment theftAlertImagesFragment, kotlin.Triple triple) throws kotlin.NoWhenBranchMatchedException {
        kotlin.jvm.internal.Intrinsics.l(triple, "<destruct>");
        theftAlertImagesFragment.o2(((java.lang.Number) triple.a()).intValue(), (com.vinfast.companion.notificationkit.domain.model.TheftAlertImageBundle) triple.b(), ((java.lang.Number) triple.c()).intValue());
        return kotlin.Unit.a;
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final kotlin.Unit C2(com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment theftAlertImagesFragment, java.util.List list) {
        kotlin.jvm.internal.Intrinsics.l(list, "urls");
        theftAlertImagesFragment.G2(list);
        return kotlin.Unit.a;
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final kotlin.Unit D2(com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment theftAlertImagesFragment, java.util.List list) {
        kotlin.jvm.internal.Intrinsics.l(list, "metadata");
        theftAlertImagesFragment.E2(list);
        return kotlin.Unit.a;
    }

    private final void E2(java.util.List imageMetadata) {
        if (imageMetadata.isEmpty()) {
            return;
        }
        android.content.Context contextRequireContext = requireContext();
        kotlin.jvm.internal.Intrinsics.k(contextRequireContext, "requireContext(...)");
        new com.vinfast.companion.core.utils.imagedowloader.ImageDownloader.Builder(contextRequireContext).c(imageMetadata).d(new kotlin.jvm.functions.Function1() { // from class: com.vinfast.companion.notification.ui.theftalert.images.n
            public final java.lang.Object invoke(java.lang.Object obj) {
                return com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment.F2(this.a, (com.vinfast.companion.core.utils.imagedowloader.ImageDownloader.Progress) obj);
            }
        }).a().f();
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final kotlin.Unit F2(com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment theftAlertImagesFragment, com.vinfast.companion.core.utils.imagedowloader.ImageDownloader.Progress progress) {
        com.vinfast.companion.core.utils.progress.ProgressDialog progressDialogO0;
        kotlin.jvm.internal.Intrinsics.l(progress, "progress");
        if (kotlin.jvm.internal.Intrinsics.g(progress, com.vinfast.companion.core.utils.imagedowloader.ImageDownloader.Progress.Started.a)) {
            com.vinfast.companion.core.utils.progress.ProgressDialog progressDialogO1 = theftAlertImagesFragment.O0();
            if (progressDialogO1 != null) {
                androidx.fragment.app.FragmentManager childFragmentManager = theftAlertImagesFragment.getChildFragmentManager();
                kotlin.jvm.internal.Intrinsics.k(childFragmentManager, "getChildFragmentManager(...)");
                com.vinfast.companion.core.utils.progress.ProgressDialog.o0(progressDialogO1, childFragmentManager, (com.vinfast.companion.core.base.ProgressType) null, 2, (java.lang.Object) null);
            }
        } else if ((kotlin.jvm.internal.Intrinsics.g(progress, com.vinfast.companion.core.utils.imagedowloader.ImageDownloader.Progress.Complete.a) || (progress instanceof com.vinfast.companion.core.utils.imagedowloader.ImageDownloader.Progress.Error)) && (progressDialogO0 = theftAlertImagesFragment.O0()) != null) {
            progressDialogO0.j0();
        }
        return kotlin.Unit.a;
    }

    private final void G2(java.util.List urls) {
        if (urls.isEmpty()) {
            return;
        }
        java.util.ArrayList arrayList = new java.util.ArrayList(kotlin.collections.CollectionsKt.z(urls, 10));
        java.util.Iterator it = urls.iterator();
        while (it.hasNext()) {
            arrayList.add(new com.vinfast.companion.core.utils.imagesharer.ImageShareMetadata((java.lang.String) it.next(), true));
        }
        android.content.Context contextRequireContext = requireContext();
        kotlin.jvm.internal.Intrinsics.k(contextRequireContext, "requireContext(...)");
        new com.vinfast.companion.core.utils.imagesharer.ImageSharer.Builder(contextRequireContext).e(com.vinfast.companion.notification.R.string.CA60203_share_via).c(arrayList).d(new kotlin.jvm.functions.Function1() { // from class: com.vinfast.companion.notification.ui.theftalert.images.b
            public final java.lang.Object invoke(java.lang.Object obj) {
                return com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment.H2(this.a, (com.vinfast.companion.core.utils.imagesharer.ImageSharer.Progress) obj);
            }
        }).a().h();
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final kotlin.Unit H2(com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment theftAlertImagesFragment, com.vinfast.companion.core.utils.imagesharer.ImageSharer.Progress progress) {
        kotlin.jvm.internal.Intrinsics.l(progress, "progress");
        if (kotlin.jvm.internal.Intrinsics.g(progress, com.vinfast.companion.core.utils.imagesharer.ImageSharer.Progress.Started.a)) {
            theftAlertImagesFragment.Q1(com.vinfast.companion.core.base.ProgressType.ProgressDialog.b);
        } else if ((progress instanceof com.vinfast.companion.core.utils.imagesharer.ImageSharer.Progress.Error) || kotlin.jvm.internal.Intrinsics.g(progress, com.vinfast.companion.core.utils.imagesharer.ImageSharer.Progress.Shared.a)) {
            theftAlertImagesFragment.X0(com.vinfast.companion.core.base.ViewModelState.Idle.a);
        }
        return kotlin.Unit.a;
    }

    private final void I2(boolean selectMode) {
        ((com.vinfast.companion.notification.databinding.FragmentTheftAlertImagesBinding) T1()).c.animate().setInterpolator(new androidx.interpolator.view.animation.FastOutSlowInInterpolator()).translationY(selectMode ? com.vinfast.companion.core.utils.DimensionUtils.a.a(0.0f) : com.vinfast.companion.core.utils.DimensionUtils.a.a(64.0f)).setListener(new android.animation.Animator.AnimatorListener() { // from class: com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment$showActionButtons$1
            @Override // android.animation.Animator.AnimatorListener
            public void onAnimationCancel(android.animation.Animator p0) {
                kotlin.jvm.internal.Intrinsics.l(p0, "p0");
            }

            @Override // android.animation.Animator.AnimatorListener
            public void onAnimationEnd(android.animation.Animator p0) {
                kotlin.jvm.internal.Intrinsics.l(p0, "p0");
                ((com.vinfast.companion.notification.databinding.FragmentTheftAlertImagesBinding) this.a.T1()).c.d(true);
            }

            @Override // android.animation.Animator.AnimatorListener
            public void onAnimationRepeat(android.animation.Animator p0) {
                kotlin.jvm.internal.Intrinsics.l(p0, "p0");
            }

            @Override // android.animation.Animator.AnimatorListener
            public void onAnimationStart(android.animation.Animator p0) {
                kotlin.jvm.internal.Intrinsics.l(p0, "p0");
                ((com.vinfast.companion.notification.databinding.FragmentTheftAlertImagesBinding) this.a.T1()).c.d(false);
            }
        });
    }

    private final void J2(boolean selectMode) {
        com.vinfast.companion.core.base.ui.widget.CommonToolbar commonToolbarS0 = com.vinfast.companion.core.base.fragment.BaseFragment.S0(this, (android.view.View) null, 1, (java.lang.Object) null);
        if (!selectMode) {
            if (commonToolbarS0 != null) {
                commonToolbarS0.setTitleText(com.vinfast.companion.notification.R.string.CA60204_theft_alert_photos, new java.lang.Object[0]);
            }
            if (commonToolbarS0 != null) {
                F1(commonToolbarS0);
            }
            if (commonToolbarS0 != null) {
                commonToolbarS0.setVisibilityIconEnd(8);
            }
            if (commonToolbarS0 != null) {
                commonToolbarS0.setTextIconEnd(com.vinfast.companion.notification.R.string.CA60203_select);
                return;
            }
            return;
        }
        k2(0);
        if (commonToolbarS0 != null) {
            commonToolbarS0.setNavigationIcon(com.vinfast.companion.notification.R.drawable.ic_close_white);
        }
        if (commonToolbarS0 != null) {
            commonToolbarS0.setNavigationOnClickListener(new android.view.View.OnClickListener() { // from class: com.vinfast.companion.notification.ui.theftalert.images.o
                @Override // android.view.View.OnClickListener
                public final void onClick(android.view.View view) {
                    com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment.K2(this.a, view);
                }
            });
        }
        if (commonToolbarS0 != null) {
            commonToolbarS0.setIconEnd(java.lang.Integer.valueOf(com.vinfast.companion.notification.R.drawable.ic_checkbox_circle_unselected));
        }
        if (commonToolbarS0 != null) {
            commonToolbarS0.setVisibilityIconEnd(0);
        }
        if (commonToolbarS0 != null) {
            commonToolbarS0.setTextIconEnd(com.vinfast.companion.notification.R.string.CA60203_all);
        }
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final void K2(com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment theftAlertImagesFragment, android.view.View view) {
        com.vinfast.companion.core.base.fragment.BaseFragment.t1(theftAlertImagesFragment, false, 1, (java.lang.Object) null);
    }

    private final void k2(int selectedItemCount) {
        com.vinfast.companion.core.base.ui.widget.CommonToolbar commonToolbarS0 = com.vinfast.companion.core.base.fragment.BaseFragment.S0(this, (android.view.View) null, 1, (java.lang.Object) null);
        if (commonToolbarS0 != null) {
            commonToolbarS0.setTitleText(com.vinfast.companion.notification.R.string.CA60203_count_selected, new java.lang.Object[]{java.lang.Integer.valueOf(selectedItemCount)});
        }
    }

    private final void l2(boolean selectAll) {
        com.vinfast.companion.core.base.ui.widget.CommonToolbar commonToolbarS0 = com.vinfast.companion.core.base.fragment.BaseFragment.S0(this, (android.view.View) null, 1, (java.lang.Object) null);
        if (commonToolbarS0 != null) {
            commonToolbarS0.setIconEnd(java.lang.Integer.valueOf(selectAll ? com.vinfast.companion.notification.R.drawable.ic_checkbox_circle_selected : com.vinfast.companion.notification.R.drawable.ic_checkbox_circle_unselected));
        }
    }

    private final android.view.View m2(int bundlePosition, int imagePosition) {
        androidx.recyclerview.widget.RecyclerView.ViewHolder viewHolderFindViewHolderForAdapterPosition = ((com.vinfast.companion.notification.databinding.FragmentTheftAlertImagesBinding) T1()).d.findViewHolderForAdapterPosition(bundlePosition);
        android.view.View view = viewHolderFindViewHolderForAdapterPosition != null ? viewHolderFindViewHolderForAdapterPosition.itemView : null;
        android.view.ViewGroup viewGroup = view instanceof android.view.ViewGroup ? (android.view.ViewGroup) view : null;
        if (viewGroup == null) {
            return null;
        }
        int i = 0;
        for (android.view.View view2 : androidx.core.view.ViewGroupKt.a(viewGroup)) {
            if (view2 instanceof com.vinfast.companion.core.widget.LoadingImageView) {
                if (i == imagePosition) {
                    return view2;
                }
                i++;
            }
        }
        return null;
    }

    private final com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesViewModel n2() {
        return (com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesViewModel) this.mViewModel.getValue();
    }

    /* JADX INFO: Thrown type has an unknown type hierarchy: kotlin.NoWhenBranchMatchedException */
    private final void o2(int bundlePosition, com.vinfast.companion.notificationkit.domain.model.TheftAlertImageBundle imageBundle, int imagePosition) throws kotlin.NoWhenBranchMatchedException {
        android.view.View view;
        com.vinfast.companion.core.utils.gallery.GalleryItem galleryItem;
        long jB = com.vinfast.companion.core.utils.gallery.GalleryManager.a.b();
        java.util.ArrayList arrayList = new java.util.ArrayList();
        java.util.Iterator it = imageBundle.c().iterator();
        while (true) {
            if (!it.hasNext()) {
                com.vinfast.companion.core.utils.gallery.GalleryManager galleryManager = com.vinfast.companion.core.utils.gallery.GalleryManager.a;
                java.lang.String string = getString(com.vinfast.companion.notification.R.string.CA60204_theft_alert_photos);
                kotlin.jvm.internal.Intrinsics.k(string, "getString(...)");
                galleryManager.c(jB, new com.vinfast.companion.core.utils.gallery.GalleryManager.Data(string, arrayList, imagePosition));
                java.lang.String string2 = getString(com.vinfast.companion.notification.R.string.transition_name_theft_alert, new java.lang.Object[]{U1().O() + bundlePosition + imagePosition});
                kotlin.jvm.internal.Intrinsics.k(string2, "getString(...)");
                android.view.View viewM2 = m2(bundlePosition, imagePosition);
                if (viewM2 != null) {
                    viewM2.setTransitionName(string2);
                    view = viewM2;
                } else {
                    view = null;
                }
                com.vinfast.companion.core.base.navigation.INavigator iNavigatorK0 = k0();
                androidx.fragment.app.FragmentActivity fragmentActivityRequireActivity = requireActivity();
                kotlin.jvm.internal.Intrinsics.k(fragmentActivityRequireActivity, "requireActivity(...)");
                com.vinfast.companion.core.base.navigation.INavigator.W(iNavigatorK0, fragmentActivityRequireActivity, jB, 1, view, string2, (java.lang.Boolean) null, (java.lang.Boolean) null, 96, (java.lang.Object) null);
                return;
            }
            com.vinfast.companion.notificationkit.domain.model.TheftAlertImagePosition theftAlertImagePosition = (com.vinfast.companion.notificationkit.domain.model.TheftAlertImagePosition) it.next();
            com.vinfast.companion.notificationkit.domain.model.TheftAlertImage theftAlertImage = (com.vinfast.companion.notificationkit.domain.model.TheftAlertImage) imageBundle.b().get(theftAlertImagePosition);
            if (theftAlertImage != null) {
                if (kotlin.jvm.internal.Intrinsics.g(theftAlertImagePosition, com.vinfast.companion.notificationkit.domain.model.TheftAlertImagePosition.Driver.d)) {
                    java.lang.String string3 = getString(com.vinfast.companion.notification.R.string.CA60204_driver_camera);
                    java.util.Date dateA = theftAlertImage.a();
                    java.lang.Long lValueOf = dateA != null ? java.lang.Long.valueOf(dateA.getTime()) : null;
                    kotlin.jvm.internal.Intrinsics.i(lValueOf);
                    com.vinfast.companion.core.utils.imageUtis.imageToken.LoadingImageToken loadingImageTokenD = theftAlertImage.d();
                    galleryItem = new com.vinfast.companion.core.utils.gallery.GalleryItem((java.lang.Integer) null, string3, lValueOf, loadingImageTokenD != null ? loadingImageTokenD.b() : null, true, theftAlertImage.b(), (java.lang.Integer) null, 65, (kotlin.jvm.internal.DefaultConstructorMarker) null);
                } else if (kotlin.jvm.internal.Intrinsics.g(theftAlertImagePosition, com.vinfast.companion.notificationkit.domain.model.TheftAlertImagePosition.Front.d)) {
                    java.lang.String string4 = getString(com.vinfast.companion.notification.R.string.CA60204_front_camera);
                    java.util.Date dateA2 = theftAlertImage.a();
                    java.lang.Long lValueOf2 = dateA2 != null ? java.lang.Long.valueOf(dateA2.getTime()) : null;
                    kotlin.jvm.internal.Intrinsics.i(lValueOf2);
                    com.vinfast.companion.core.utils.imageUtis.imageToken.LoadingImageToken loadingImageTokenD2 = theftAlertImage.d();
                    galleryItem = new com.vinfast.companion.core.utils.gallery.GalleryItem((java.lang.Integer) null, string4, lValueOf2, loadingImageTokenD2 != null ? loadingImageTokenD2.b() : null, true, theftAlertImage.b(), (java.lang.Integer) null, 65, (kotlin.jvm.internal.DefaultConstructorMarker) null);
                } else if (kotlin.jvm.internal.Intrinsics.g(theftAlertImagePosition, com.vinfast.companion.notificationkit.domain.model.TheftAlertImagePosition.Left.d)) {
                    java.lang.String string5 = getString(com.vinfast.companion.notification.R.string.CA60204_left_camera);
                    java.util.Date dateA3 = theftAlertImage.a();
                    java.lang.Long lValueOf3 = dateA3 != null ? java.lang.Long.valueOf(dateA3.getTime()) : null;
                    kotlin.jvm.internal.Intrinsics.i(lValueOf3);
                    com.vinfast.companion.core.utils.imageUtis.imageToken.LoadingImageToken loadingImageTokenD3 = theftAlertImage.d();
                    galleryItem = new com.vinfast.companion.core.utils.gallery.GalleryItem((java.lang.Integer) null, string5, lValueOf3, loadingImageTokenD3 != null ? loadingImageTokenD3.b() : null, true, theftAlertImage.b(), (java.lang.Integer) null, 65, (kotlin.jvm.internal.DefaultConstructorMarker) null);
                } else if (kotlin.jvm.internal.Intrinsics.g(theftAlertImagePosition, com.vinfast.companion.notificationkit.domain.model.TheftAlertImagePosition.Rear.d)) {
                    java.lang.String string6 = getString(com.vinfast.companion.notification.R.string.CA60204_rear_camera);
                    java.util.Date dateA4 = theftAlertImage.a();
                    java.lang.Long lValueOf4 = dateA4 != null ? java.lang.Long.valueOf(dateA4.getTime()) : null;
                    kotlin.jvm.internal.Intrinsics.i(lValueOf4);
                    com.vinfast.companion.core.utils.imageUtis.imageToken.LoadingImageToken loadingImageTokenD4 = theftAlertImage.d();
                    galleryItem = new com.vinfast.companion.core.utils.gallery.GalleryItem((java.lang.Integer) null, string6, lValueOf4, loadingImageTokenD4 != null ? loadingImageTokenD4.b() : null, true, theftAlertImage.b(), (java.lang.Integer) null, 65, (kotlin.jvm.internal.DefaultConstructorMarker) null);
                } else {
                    if (!kotlin.jvm.internal.Intrinsics.g(theftAlertImagePosition, com.vinfast.companion.notificationkit.domain.model.TheftAlertImagePosition.Right.d)) {
                        throw new kotlin.NoWhenBranchMatchedException();
                    }
                    java.lang.String string7 = getString(com.vinfast.companion.notification.R.string.CA60204_right_camera);
                    java.util.Date dateA5 = theftAlertImage.a();
                    java.lang.Long lValueOf5 = dateA5 != null ? java.lang.Long.valueOf(dateA5.getTime()) : null;
                    kotlin.jvm.internal.Intrinsics.i(lValueOf5);
                    com.vinfast.companion.core.utils.imageUtis.imageToken.LoadingImageToken loadingImageTokenD5 = theftAlertImage.d();
                    galleryItem = new com.vinfast.companion.core.utils.gallery.GalleryItem((java.lang.Integer) null, string7, lValueOf5, loadingImageTokenD5 != null ? loadingImageTokenD5.b() : null, true, theftAlertImage.b(), (java.lang.Integer) null, 65, (kotlin.jvm.internal.DefaultConstructorMarker) null);
                }
                arrayList.add(galleryItem);
            }
        }
    }

    private final void p2() {
        U1().X(getArguments());
    }

    private final void q2() {
        androidx.recyclerview.widget.RecyclerView recyclerView = ((com.vinfast.companion.notification.databinding.FragmentTheftAlertImagesBinding) T1()).d;
        android.content.Context context = recyclerView.getContext();
        kotlin.jvm.internal.Intrinsics.k(context, "getContext(...)");
        com.vinfast.companion.notification.ui.theftalert.images.adapter.TheftAlertImageAdapter theftAlertImageAdapter = new com.vinfast.companion.notification.ui.theftalert.images.adapter.TheftAlertImageAdapter(context, new kotlin.jvm.functions.Function2() { // from class: com.vinfast.companion.notification.ui.theftalert.images.c
            public final java.lang.Object invoke(java.lang.Object obj, java.lang.Object obj2) {
                return com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment.r2(this.a, ((java.lang.Integer) obj).intValue(), ((java.lang.Integer) obj2).intValue());
            }
        }, new kotlin.jvm.functions.Function1() { // from class: com.vinfast.companion.notification.ui.theftalert.images.d
            public final java.lang.Object invoke(java.lang.Object obj) {
                return com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment.s2(this.a, ((java.lang.Integer) obj).intValue());
            }
        });
        this.mAdapter = theftAlertImageAdapter;
        recyclerView.setAdapter(theftAlertImageAdapter);
        androidx.recyclerview.widget.DividerItemDecoration dividerItemDecoration = new androidx.recyclerview.widget.DividerItemDecoration(recyclerView.getContext(), 1);
        android.graphics.drawable.Drawable drawable = androidx.core.content.ContextCompat.getDrawable(recyclerView.getContext(), com.vinfast.companion.notification.R.drawable.divider_item_theft_alert_image);
        kotlin.jvm.internal.Intrinsics.i(drawable);
        dividerItemDecoration.setDrawable(drawable);
        recyclerView.addItemDecoration(dividerItemDecoration);
        eightbitlab.com.blurview.BlurView blurView = ((com.vinfast.companion.notification.databinding.FragmentTheftAlertImagesBinding) T1()).c;
        kotlin.jvm.internal.Intrinsics.k(blurView, "bottomActionView");
        eightbitlab.com.blurview.BlurTarget blurTarget = ((com.vinfast.companion.notification.databinding.FragmentTheftAlertImagesBinding) T1()).b;
        kotlin.jvm.internal.Intrinsics.k(blurTarget, "blurTarget");
        com.vinfast.companion.core.extensions.ViewExtensionKt.w(blurView, blurTarget, 0.0f, false, 6, (java.lang.Object) null);
        androidx.appcompat.widget.AppCompatTextView appCompatTextView = ((com.vinfast.companion.notification.databinding.FragmentTheftAlertImagesBinding) T1()).f;
        kotlin.jvm.internal.Intrinsics.k(appCompatTextView, "tvShare");
        com.vinfast.companion.core.extensions.ViewExtensionKt.H(appCompatTextView, true, new kotlin.jvm.functions.Function1() { // from class: com.vinfast.companion.notification.ui.theftalert.images.e
            public final java.lang.Object invoke(java.lang.Object obj) {
                return com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment.t2(this.a, (android.view.View) obj);
            }
        });
        androidx.appcompat.widget.AppCompatTextView appCompatTextView2 = ((com.vinfast.companion.notification.databinding.FragmentTheftAlertImagesBinding) T1()).e;
        kotlin.jvm.internal.Intrinsics.k(appCompatTextView2, "tvSave");
        com.vinfast.companion.core.extensions.ViewExtensionKt.H(appCompatTextView2, true, new kotlin.jvm.functions.Function1() { // from class: com.vinfast.companion.notification.ui.theftalert.images.f
            public final java.lang.Object invoke(java.lang.Object obj) {
                return com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment.u2(this.a, (android.view.View) obj);
            }
        });
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final kotlin.Unit r2(com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment theftAlertImagesFragment, int i, int i2) {
        theftAlertImagesFragment.U1().c0(i, i2);
        return kotlin.Unit.a;
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final kotlin.Unit s2(com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment theftAlertImagesFragment, int i) {
        theftAlertImagesFragment.U1().f0(i);
        return kotlin.Unit.a;
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final kotlin.Unit t2(com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment theftAlertImagesFragment, android.view.View view) {
        kotlin.jvm.internal.Intrinsics.l(view, "it");
        theftAlertImagesFragment.U1().g0();
        return kotlin.Unit.a;
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final kotlin.Unit u2(com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment theftAlertImagesFragment, android.view.View view) {
        kotlin.jvm.internal.Intrinsics.l(view, "it");
        theftAlertImagesFragment.U1().e0();
        return kotlin.Unit.a;
    }

    private final void v2() {
        com.vinfast.companion.core.extensions.LiveDataExtensionsKt.c(U1().U(), this, new kotlin.jvm.functions.Function1() { // from class: com.vinfast.companion.notification.ui.theftalert.images.a
            public final java.lang.Object invoke(java.lang.Object obj) {
                return com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment.w2(this.a, (com.vinfast.companion.core.utils.notification.TheftAlertState) obj);
            }
        });
        com.vinfast.companion.core.extensions.LiveDataExtensionsKt.c(U1().V(), this, new kotlin.jvm.functions.Function1() { // from class: com.vinfast.companion.notification.ui.theftalert.images.g
            public final java.lang.Object invoke(java.lang.Object obj) {
                return com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment.x2(this.a, (java.util.List) obj);
            }
        });
        com.vinfast.companion.core.extensions.LiveDataExtensionsKt.c(U1().R(), this, new kotlin.jvm.functions.Function1() { // from class: com.vinfast.companion.notification.ui.theftalert.images.h
            public final java.lang.Object invoke(java.lang.Object obj) {
                return com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment.y2(this.a, ((java.lang.Boolean) obj).booleanValue());
            }
        });
        com.vinfast.companion.core.extensions.LiveDataExtensionsKt.c(U1().S(), this, new kotlin.jvm.functions.Function1() { // from class: com.vinfast.companion.notification.ui.theftalert.images.i
            public final java.lang.Object invoke(java.lang.Object obj) {
                return com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment.z2(this.a, (androidx.collection.ArraySet) obj);
            }
        });
        com.vinfast.companion.core.extensions.LiveDataExtensionsKt.c(U1().Q(), this, new kotlin.jvm.functions.Function1() { // from class: com.vinfast.companion.notification.ui.theftalert.images.j
            public final java.lang.Object invoke(java.lang.Object obj) {
                return com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment.A2(this.a, ((java.lang.Boolean) obj).booleanValue());
            }
        });
        com.vinfast.companion.core.extensions.LiveDataExtensionsKt.c(U1().L(), this, new kotlin.jvm.functions.Function1() { // from class: com.vinfast.companion.notification.ui.theftalert.images.k
            public final java.lang.Object invoke(java.lang.Object obj) {
                return com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment.B2(this.a, (kotlin.Triple) obj);
            }
        });
        com.vinfast.companion.core.extensions.LiveDataExtensionsKt.c(U1().T(), this, new kotlin.jvm.functions.Function1() { // from class: com.vinfast.companion.notification.ui.theftalert.images.l
            public final java.lang.Object invoke(java.lang.Object obj) {
                return com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment.C2(this.a, (java.util.List) obj);
            }
        });
        com.vinfast.companion.core.extensions.LiveDataExtensionsKt.c(U1().P(), this, new kotlin.jvm.functions.Function1() { // from class: com.vinfast.companion.notification.ui.theftalert.images.m
            public final java.lang.Object invoke(java.lang.Object obj) {
                return com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment.D2(this.a, (java.util.List) obj);
            }
        });
    }

    /* JADX INFO: Access modifiers changed from: private */
    /* JADX INFO: Thrown type has an unknown type hierarchy: kotlin.NoWhenBranchMatchedException */
    public static final kotlin.Unit w2(com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment theftAlertImagesFragment, com.vinfast.companion.core.utils.notification.TheftAlertState theftAlertState) throws kotlin.NoWhenBranchMatchedException {
        kotlin.jvm.internal.Intrinsics.l(theftAlertState, "it");
        if (kotlin.jvm.internal.Intrinsics.g(theftAlertState, com.vinfast.companion.core.utils.notification.TheftAlertState.Activated.c) || kotlin.jvm.internal.Intrinsics.g(theftAlertState, com.vinfast.companion.core.utils.notification.TheftAlertState.Update.c)) {
            com.vinfast.companion.notification.ui.theftalert.images.adapter.TheftAlertImageAdapter theftAlertImageAdapter = theftAlertImagesFragment.mAdapter;
            if (theftAlertImageAdapter != null) {
                theftAlertImageAdapter.m(true);
            }
        } else {
            if (!kotlin.jvm.internal.Intrinsics.g(theftAlertState, com.vinfast.companion.core.utils.notification.TheftAlertState.Deactivated.c)) {
                throw new kotlin.NoWhenBranchMatchedException();
            }
            com.vinfast.companion.notification.ui.theftalert.images.adapter.TheftAlertImageAdapter theftAlertImageAdapter2 = theftAlertImagesFragment.mAdapter;
            if (theftAlertImageAdapter2 != null) {
                theftAlertImageAdapter2.m(false);
            }
        }
        return kotlin.Unit.a;
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final kotlin.Unit x2(com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment theftAlertImagesFragment, java.util.List list) {
        kotlin.jvm.internal.Intrinsics.l(list, "it");
        com.vinfast.companion.notification.ui.theftalert.images.adapter.TheftAlertImageAdapter theftAlertImageAdapter = theftAlertImagesFragment.mAdapter;
        if (theftAlertImageAdapter != null) {
            com.vinfast.companion.notificationkit.domain.model.TheftAlertImageBundle theftAlertImageBundle = (com.vinfast.companion.notificationkit.domain.model.TheftAlertImageBundle) kotlin.collections.CollectionsKt.s0(list);
            theftAlertImageAdapter.s(theftAlertImageBundle != null ? theftAlertImageBundle.c() : null);
        }
        com.vinfast.companion.notification.ui.theftalert.images.adapter.TheftAlertImageAdapter theftAlertImageAdapter2 = theftAlertImagesFragment.mAdapter;
        if (theftAlertImageAdapter2 != null) {
            theftAlertImageAdapter2.j(list);
        }
        return kotlin.Unit.a;
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final kotlin.Unit y2(com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment theftAlertImagesFragment, boolean z) {
        theftAlertImagesFragment.J2(z);
        theftAlertImagesFragment.I2(z);
        com.vinfast.companion.notification.ui.theftalert.images.adapter.TheftAlertImageAdapter theftAlertImageAdapter = theftAlertImagesFragment.mAdapter;
        if (theftAlertImageAdapter != null) {
            theftAlertImageAdapter.n(z);
        }
        return kotlin.Unit.a;
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final kotlin.Unit z2(com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesFragment theftAlertImagesFragment, androidx.collection.ArraySet arraySet) {
        kotlin.jvm.internal.Intrinsics.l(arraySet, "it");
        com.vinfast.companion.notification.ui.theftalert.images.adapter.TheftAlertImageAdapter theftAlertImageAdapter = theftAlertImagesFragment.mAdapter;
        if (theftAlertImageAdapter != null) {
            theftAlertImageAdapter.r(arraySet);
        }
        if (kotlin.jvm.internal.Intrinsics.g(theftAlertImagesFragment.U1().R().f(), java.lang.Boolean.TRUE)) {
            theftAlertImagesFragment.k2(arraySet.size());
        }
        return kotlin.Unit.a;
    }

    @Override // 
    /* JADX INFO: renamed from: L2 */
    public com.vinfast.companion.notification.ui.theftalert.images.TheftAlertImagesViewModel U1() {
        return n2();
    }

    public boolean P1() {
        return true;
    }

    public com.vinfast.companion.core.base.fragment.ToolbarConfiguration T0() {
        return new com.vinfast.companion.core.base.fragment.ToolbarConfiguration.Builder().s(true).t(false).A(com.vinfast.companion.notification.R.string.CA60204_theft_alert_photos).x(com.vinfast.companion.notification.R.string.CA60203_select).v(com.vinfast.companion.notification.R.drawable.ic_checkbox_circle_unselected).w(8).a();
    }

    public void onCreate(android.os.Bundle savedInstanceState) {
        super/*com.vinfast.companion.core.base.fragment.HiltFragment*/.onCreate(savedInstanceState);
        v2();
    }

    public void s1(boolean navigateUp) {
        if (kotlin.jvm.internal.Intrinsics.g(U1().R().f(), java.lang.Boolean.TRUE)) {
            U1().K(false);
        } else {
            super.s1(navigateUp);
        }
    }

    public void v1() {
        U1().d0();
    }

    public void x1() {
        U1().d0();
    }

    public void y1(android.view.View view, android.os.Bundle savedInstanceState) {
        kotlin.jvm.internal.Intrinsics.l(view, "view");
        q2();
        p2();
    }
}
