小红书.apk(点击下载) / a.java


package qk1;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.drakeet.multitype.MultiTypeAdapter;
import com.google.android.gms.common.GoogleApiAvailabilityLight;
import com.igexin.push.core.d.c;
import com.xingin.android.performance.core.indicators.FirstScreenHelper;
import com.xingin.android.redutils.base.XhsActivity;
import com.xingin.entities.BaseChannelData;
import com.xingin.matrix.R$layout;
import com.xingin.matrix.v2.collection.PortfolioService;
import com.xingin.matrix.v2.collection.list.CollectionNoteListView;
import java.util.Objects;
import kotlin.Metadata;
import kotlin.Triple;
import kotlin.Unit;
import kotlin.jvm.internal.Intrinsics;
import tl1.f;
import tl1.p;
import tu0.d;
import tu0.p;
import tu0.q;
import z60.h;

@Metadata(bv = {}, d1 = {"\u0000*\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\u0018\u00002\u0014\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u0003\u0012\u0004\u0012\u00020\u00040\u0001:\u0002\t\fB\u0007¢\u0006\u0004\b\r\u0010\u000eJ\u0016\u0010\t\u001a\u00020\u00032\u0006\u0010\u0006\u001a\u00020\u00052\u0006\u0010\b\u001a\u00020\u0007J\u0018\u0010\f\u001a\u00020\u00022\u0006\u0010\u000b\u001a\u00020\n2\u0006\u0010\u0006\u001a\u00020\u0005H\u0016¨\u0006\u000f"}, d2 = {"Lqk1/a;", "Ltu0/p;", "Lcom/xingin/matrix/v2/collection/list/CollectionNoteListView;", "Lqk1/a0;", "", "Landroid/view/ViewGroup;", "parentViewGroup", "Lcom/xingin/android/redutils/base/XhsActivity;", "activity", "a", "Landroid/view/LayoutInflater;", "inflater", "b", "<init>", "()V", "matrix_library_release"}, k = 1, mv = {1, 6, 0})
/* compiled from: CollectionNoteListBuilder.kt */
public final class a extends p<CollectionNoteListView, a0, Unit> {

    @Metadata(bv = {}, d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\bg\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u00012\u00020\u0003J\u0010\u0010\u0007\u001a\u00020\u00062\u0006\u0010\u0005\u001a\u00020\u0004H&J\u0010\u0010\n\u001a\u00020\u00062\u0006\u0010\t\u001a\u00020\bH&¨\u0006\u000b"}, d2 = {"Lqk1/a$a;", "Ltu0/d;", "Lqk1/y;", "Ltl1/f$c;", "Lnk1/f;", "repository", "", "K0", "Lqk1/c0;", "presenter", "b2", "matrix_library_release"}, k = 1, mv = {1, 6, 0})
    /* renamed from: qk1.a$a  reason: collision with other inner class name */
    /* compiled from: CollectionNoteListBuilder.kt */
    public interface AbstractC1919a extends d<y>, f.c {
        void K0(nk1.f fVar);

        void b2(c0 c0Var);
    }

    @Metadata(bv = {}, d1 = {"\u0000|\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0006\b\u0007\u0018\u00002\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u00030\u0001B\u001f\u0012\u0006\u0010*\u001a\u00020\u0002\u0012\u0006\u0010+\u001a\u00020\u0003\u0012\u0006\u0010\u0007\u001a\u00020\u0006¢\u0006\u0004\b,\u0010-J\b\u0010\u0005\u001a\u00020\u0004H\u0007J\b\u0010\u0007\u001a\u00020\u0006H\u0007J\b\u0010\t\u001a\u00020\bH\u0007J\b\u0010\u000b\u001a\u00020\nH\u0007J\b\u0010\r\u001a\u00020\fH\u0007J\b\u0010\u000f\u001a\u00020\u000eH\u0007J\b\u0010\u0011\u001a\u00020\u0010H\u0007J\b\u0010\u0012\u001a\u00020\u0010H\u0007J\b\u0010\u0013\u001a\u00020\u0010H\u0007J\b\u0010\u0015\u001a\u00020\u0014H\u0007J\b\u0010\u0017\u001a\u00020\u0016H\u0007J\b\u0010\u0018\u001a\u00020\u0016H\u0007J\u000e\u0010\u001b\u001a\b\u0012\u0004\u0012\u00020\u001a0\u0019H\u0007J\u000e\u0010\u001c\u001a\b\u0012\u0004\u0012\u00020\u001a0\u0019H\u0007J \u0010\u001f\u001a\u001a\u0012\u0016\u0012\u0014\u0012\u0004\u0012\u00020\u001a\u0012\u0004\u0012\u00020\u001e\u0012\u0004\u0012\u00020\u00160\u001d0\u0019H\u0007J\u000e\u0010!\u001a\b\u0012\u0004\u0012\u00020 0\u0019H\u0007J\u000e\u0010\"\u001a\b\u0012\u0004\u0012\u00020 0\u0019H\u0007J\u000e\u0010#\u001a\b\u0012\u0004\u0012\u00020\u00160\u0019H\u0007J\b\u0010%\u001a\u00020$H\u0007J\b\u0010'\u001a\u00020&H\u0007J\b\u0010)\u001a\u00020(H\u0007¨\u0006."}, d2 = {"Lqk1/a$b;", "Ltu0/q;", "Lcom/xingin/matrix/v2/collection/list/CollectionNoteListView;", "Lqk1/y;", "Lqk1/c0;", "s", "Lcom/xingin/android/redutils/base/XhsActivity;", "activity", "Lcom/drakeet/multitype/MultiTypeAdapter;", c.f25536c, "Lrk1/h;", "e", "Lrk1/a;", "d", "Lnk1/f;", y7.f.f156778k, "", "c", "t", "m", "Lcom/xingin/matrix/v2/collection/PortfolioService;", "g", "", "o", GoogleApiAvailabilityLight.TRACKING_SOURCE_NOTIFICATION, "Ldx2/d;", "Ltl1/p$a;", "i", "r", "Lkotlin/Triple;", "Landroid/view/View;", "q", "Lfc1/a;", "j", h.f160753a, "b", "Lcom/xingin/entities/BaseChannelData;", "u", "Ln10/h;", "l", "Lcom/xingin/android/performance/core/indicators/FirstScreenHelper;", "k", qo2.a.COPY_LINK_TYPE_VIEW, "controller", "<init>", "(Lcom/xingin/matrix/v2/collection/list/CollectionNoteListView;Lqk1/y;Lcom/xingin/android/redutils/base/XhsActivity;)V", "matrix_library_release"}, k = 1, mv = {1, 6, 0})
    /* compiled from: CollectionNoteListBuilder.kt */
    public static final class b extends q<CollectionNoteListView, y> {

        /* renamed from: a  reason: collision with root package name */
        public final XhsActivity f122464a;

        /* renamed from: b  reason: collision with root package name */
        public final n10.h f122465b = new n10.h();

        @Metadata(bv = {}, d1 = {"\u0000\u0017\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\t\n\u0002\b\u0004*\u0001\u0000\b\n\u0018\u00002\u00020\u0001J\b\u0010\u0003\u001a\u00020\u0002H\u0016J\u0010\u0010\u0006\u001a\u00020\u00022\u0006\u0010\u0005\u001a\u00020\u0004H\u0016J\u0010\u0010\u0007\u001a\u00020\u00022\u0006\u0010\u0005\u001a\u00020\u0004H\u0016¨\u0006\b"}, d2 = {"qk1/a$b$a", "Lm10/b;", "", "reset", "", "time", "a", "b", "matrix_library_release"}, k = 1, mv = {1, 6, 0})
        /* renamed from: qk1.a$b$a  reason: collision with other inner class name */
        /* compiled from: CollectionNoteListBuilder.kt */
        public static final class C1920a implements m10.b {

            /* renamed from: a  reason: collision with root package name */
            public final /* synthetic */ b f122466a;

            public C1920a(b bVar) {
                this.f122466a = bVar;
            }

            @Override // m10.b
            public void a(long j14) {
                this.f122466a.f122465b.j(false, j14, 1);
            }

            @Override // m10.b
            public void b(long j14) {
                this.f122466a.f122465b.j(false, j14, 2);
            }

            @Override // m10.b
            public void reset() {
                this.f122466a.f122465b.f();
            }
        }

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public b(CollectionNoteListView collectionNoteListView, y yVar, XhsActivity xhsActivity) {
            super(collectionNoteListView, yVar);
            Intrinsics.checkNotNullParameter(collectionNoteListView, qo2.a.COPY_LINK_TYPE_VIEW);
            Intrinsics.checkNotNullParameter(yVar, "controller");
            Intrinsics.checkNotNullParameter(xhsActivity, "activity");
            this.f122464a = xhsActivity;
        }

        public final XhsActivity activity() {
            return this.f122464a;
        }

        public final dx2.d<Boolean> b() {
            dx2.d<Boolean> b24 = dx2.d.b2();
            Intrinsics.checkNotNullExpressionValue(b24, "create<Boolean>()");
            return b24;
        }

        public final String c() {
            String stringExtra = this.f122464a.getIntent().getStringExtra("collection_id");
            return stringExtra == null ? "" : stringExtra;
        }

        public final rk1.a d() {
            return new rk1.a();
        }

        public final rk1.h e() {
            return new rk1.h();
        }

        public final nk1.f f() {
            return new nk1.f(this.f122464a);
        }

        public final PortfolioService g() {
            return (PortfolioService) fz1.b.f80449a.c(PortfolioService.class);
        }

        public final dx2.d<fc1.a> h() {
            dx2.d<fc1.a> b24 = dx2.d.b2();
            Intrinsics.checkNotNullExpressionValue(b24, "create<CommonFeedBackBean>()");
            return b24;
        }

        public final dx2.d<p.a> i() {
            dx2.d<p.a> b24 = dx2.d.b2();
            Intrinsics.checkNotNullExpressionValue(b24, "create<NewNoteItemController.NoteItemClickEvent>()");
            return b24;
        }

        public final dx2.d<fc1.a> j() {
            dx2.d<fc1.a> b24 = dx2.d.b2();
            Intrinsics.checkNotNullExpressionValue(b24, "create<CommonFeedBackBean>()");
            return b24;
        }

        public final FirstScreenHelper k() {
            return new FirstScreenHelper(new C1920a(this));
        }

        public final n10.h l() {
            return this.f122465b;
        }

        public final String m() {
            String stringExtra = this.f122464a.getIntent().getStringExtra("from");
            return stringExtra == null ? "" : stringExtra;
        }

        public final boolean n() {
            return true;
        }

        public final boolean o() {
            return false;
        }

        public final MultiTypeAdapter p() {
            return new MultiTypeAdapter(null, 0, null, 7, null);
        }

        public final dx2.d<Triple<p.a, View, Boolean>> q() {
            dx2.d<Triple<p.a, View, Boolean>> b24 = dx2.d.b2();
            Intrinsics.checkNotNullExpressionValue(b24, "create<Triple<NewNoteIte…kEvent, View, Boolean>>()");
            return b24;
        }

        public final dx2.d<p.a> r() {
            dx2.d<p.a> b24 = dx2.d.b2();
            Intrinsics.checkNotNullExpressionValue(b24, "create<NewNoteItemController.NoteItemClickEvent>()");
            return b24;
        }

        public final c0 s() {
            return new c0((CollectionNoteListView) getView());
        }

        public final String t() {
            String stringExtra = this.f122464a.getIntent().getStringExtra("previousPageNoteId");
            return stringExtra == null ? "" : stringExtra;
        }

        public final BaseChannelData u() {
            return new BaseChannelData(null, null, 0, 7, null);
        }
    }

    public a() {
        super(Unit.INSTANCE);
    }

    public final a0 a(ViewGroup viewGroup, XhsActivity xhsActivity) {
        Intrinsics.checkNotNullParameter(viewGroup, "parentViewGroup");
        Intrinsics.checkNotNullParameter(xhsActivity, "activity");
        CollectionNoteListView collectionNoteListView = (CollectionNoteListView) createView(viewGroup);
        y yVar = new y();
        AbstractC1919a a14 = f0.b().b(new b(collectionNoteListView, yVar, xhsActivity)).a();
        Intrinsics.checkNotNullExpressionValue(a14, "component");
        return new a0(collectionNoteListView, yVar, a14);
    }

    /* renamed from: b */
    public CollectionNoteListView inflateView(LayoutInflater layoutInflater, ViewGroup viewGroup) {
        Intrinsics.checkNotNullParameter(layoutInflater, "inflater");
        Intrinsics.checkNotNullParameter(viewGroup, "parentViewGroup");
        View inflate = layoutInflater.inflate(R$layout.f56418matrix_collection_note_list, viewGroup, false);
        Objects.requireNonNull(inflate, "null cannot be cast to non-null type com.xingin.matrix.v2.collection.list.CollectionNoteListView");
        return (CollectionNoteListView) inflate;
    }
}