package rr2; import android.content.DialogInterface; import android.os.Bundle; import android.os.Parcelable; import androidx.appcompat.app.AlertDialog; import androidx.lifecycle.Lifecycle; import androidx.recyclerview.widget.DiffUtil; import androidx.recyclerview.widget.StaggeredGridLayoutManager; import com.alibaba.wireless.security.open.nocaptcha.INoCaptchaComponent; import com.drakeet.multitype.MultiTypeAdapter; import com.ishumei.sdk.captcha.SmCaptchaWebView; import com.meizu.cloud.pushsdk.notification.model.AdvanceSetting; import com.uber.autodispose.y; import com.xingin.android.redutils.base.XhsActivity; import com.xingin.entities.NoteItemBean; import com.xingin.entities.WishBoardDetail; import com.xingin.redview.dialog.DMCAlertDialogBuilder; import com.xingin.xhs.R; import com.xingin.xhs.v2.album.collections.CollectionsActivity; import com.xingin.xhs.v2.board.EditBoardActivity; import dw2.r; import es2.b; import ja.b1; import java.util.List; import kotlin.Metadata; import kotlin.Pair; import kotlin.Unit; import kotlin.collections.CollectionsKt___CollectionsKt; import kotlin.jvm.functions.Function0; import kotlin.jvm.functions.Function1; import kotlin.jvm.internal.DefaultConstructorMarker; import kotlin.jvm.internal.FunctionReferenceImpl; import kotlin.jvm.internal.Intrinsics; import kotlin.jvm.internal.Lambda; import kotlin.text.StringsKt__StringsJVMKt; import sc2.w; import u32.i; import yr2.c; @Metadata(bv = {}, d1 = {"\u0000\u0001\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\b\u000e\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\u0010 \n\u0002\u0010\u0000\n\u0002\u0018\u0002\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\u0006\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\b\r\u0018\u00002\u0014\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u0000\u0012\u0004\u0012\u00020\u00030\u0001:\u0001^B\u0007¢\u0006\u0004\b\\\u0010]J\b\u0010\u0005\u001a\u00020\u0004H\u0002J\b\u0010\u0006\u001a\u00020\u0004H\u0002J\b\u0010\u0007\u001a\u00020\u0004H\u0002J\b\u0010\b\u001a\u00020\u0004H\u0002J\b\u0010\t\u001a\u00020\u0004H\u0002J\b\u0010\n\u001a\u00020\u0004H\u0002J\b\u0010\u000b\u001a\u00020\u0004H\u0002J\b\u0010\f\u001a\u00020\u0004H\u0002J\b\u0010\r\u001a\u00020\u0004H\u0002J\b\u0010\u000e\u001a\u00020\u0004H\u0002J\b\u0010\u000f\u001a\u00020\u0004H\u0002J\b\u0010\u0010\u001a\u00020\u0004H\u0002J\b\u0010\u0011\u001a\u00020\u0004H\u0002J\b\u0010\u0012\u001a\u00020\u0004H\u0002J\u0010\u0010\u0015\u001a\u00020\u00042\u0006\u0010\u0014\u001a\u00020\u0013H\u0002J\b\u0010\u0016\u001a\u00020\u0004H\u0002J\b\u0010\u0017\u001a\u00020\u0004H\u0002J\u0010\u0010\u001a\u001a\u00020\u00042\u0006\u0010\u0019\u001a\u00020\u0018H\u0002J\u0018\u0010\u001d\u001a\u00020\u00042\u0006\u0010\u0019\u001a\u00020\u00182\u0006\u0010\u001c\u001a\u00020\u001bH\u0002J\b\u0010\u001e\u001a\u00020\u0004H\u0002J\b\u0010\u001f\u001a\u00020\u0004H\u0002J\b\u0010 \u001a\u00020\u0004H\u0002J\"\u0010&\u001a\u00020\u00042\u0018\u0010%\u001a\u0014\u0012\n\u0012\b\u0012\u0004\u0012\u00020#0\"\u0012\u0004\u0012\u00020$0!H\u0002J\b\u0010'\u001a\u00020\u0018H\u0002J\u0012\u0010*\u001a\u00020\u00042\b\u0010)\u001a\u0004\u0018\u00010(H\u0014J\u000e\u0010-\u001a\u00020\u00042\u0006\u0010,\u001a\u00020+J\b\u0010.\u001a\u00020\u0004H\u0014R\"\u00100\u001a\u00020/8\u0006@\u0006X.¢\u0006\u0012\n\u0004\b0\u00101\u001a\u0004\b2\u00103\"\u0004\b4\u00105R\"\u00107\u001a\u0002068\u0006@\u0006X.¢\u0006\u0012\n\u0004\b7\u00108\u001a\u0004\b9\u0010:\"\u0004\b;\u0010<R\"\u0010>\u001a\u00020=8\u0006@\u0006X.¢\u0006\u0012\n\u0004\b>\u0010?\u001a\u0004\b@\u0010A\"\u0004\bB\u0010CR(\u0010E\u001a\b\u0012\u0004\u0012\u00020\u00040D8\u0006@\u0006X.¢\u0006\u0012\n\u0004\bE\u0010F\u001a\u0004\bG\u0010H\"\u0004\bI\u0010JR\"\u0010L\u001a\u00020K8\u0006@\u0006X.¢\u0006\u0012\n\u0004\bL\u0010M\u001a\u0004\bN\u0010O\"\u0004\bP\u0010QR\"\u0010S\u001a\u00020R8\u0006@\u0006X.¢\u0006\u0012\n\u0004\bS\u0010T\u001a\u0004\bU\u0010V\"\u0004\bW\u0010XR(\u0010Y\u001a\b\u0012\u0004\u0012\u00020\u00130D8\u0006@\u0006X.¢\u0006\u0012\n\u0004\bY\u0010F\u001a\u0004\bZ\u0010H\"\u0004\b[\u0010J¨\u0006_"}, d2 = {"Lrr2/c0;", "Ltu0/b;", "Lrr2/i0;", "Lrr2/h0;", "", "K1", "q1", "L1", "H1", "I1", "E1", "D1", "w1", INoCaptchaComponent.f17800x1, "b2", com.igexin.push.core.g.f25705e, "f2", "r1", "T1", "Les2/b$a;", "clickInfo", "U1", "X1", "loadMore", "", "isRefresh", "O1", "Lxr2/a;", "albumDetail", "P1", "Y1", "a2", "e2", "Lkotlin/Pair;", "", "", "Landroidx/recyclerview/widget/DiffUtil$DiffResult;", AdvanceSetting.NETWORK_TYPE, com.alipay.sdk.widget.c.f18364b, "N1", "Landroid/os/Bundle;", "savedInstanceState", "onAttach", "Lau0/c;", "event", "onEvent", "onDetach", "Lcom/xingin/android/redutils/base/XhsActivity;", "activity", "Lcom/xingin/android/redutils/base/XhsActivity;", "getActivity", "()Lcom/xingin/android/redutils/base/XhsActivity;", "setActivity", "(Lcom/xingin/android/redutils/base/XhsActivity;)V", "Lcom/drakeet/multitype/MultiTypeAdapter;", "adapter", "Lcom/drakeet/multitype/MultiTypeAdapter;", "getAdapter", "()Lcom/drakeet/multitype/MultiTypeAdapter;", "setAdapter", "(Lcom/drakeet/multitype/MultiTypeAdapter;)V", "Lfs2/c0;", "albumRepository", "Lfs2/c0;", "A1", "()Lfs2/c0;", "setAlbumRepository", "(Lfs2/c0;)V", "Ldx2/d;", SmCaptchaWebView.MODE_SELECT, "Ldx2/d;", "C1", "()Ldx2/d;", "setSelect", "(Ldx2/d;)V", "Lyr2/c;", "albumHeaderView", "Lyr2/c;", "z1", "()Lyr2/c;", "setAlbumHeaderView", "(Lyr2/c;)V", "Lyr2/a;", "albumEmptyNoteItemBinder", "Lyr2/a;", INoCaptchaComponent.f17802y1, "()Lyr2/a;", "setAlbumEmptyNoteItemBinder", "(Lyr2/a;)V", "moveEventSubject", "B1", "setMoveEventSubject", "<init>", "()V", "a", "app_PublishGooglePlayRelease"}, k = 1, mv = {1, 6, 0}) /* compiled from: AlbumController.kt */ public final class c0 extends tu0.b<i0, c0, h0> { /* renamed from: k reason: collision with root package name */ public static final a f127047k = new a(null); /* renamed from: a reason: collision with root package name */ public XhsActivity f127048a; /* renamed from: b reason: collision with root package name */ public MultiTypeAdapter f127049b; /* renamed from: c reason: collision with root package name */ public fs2.c0 f127050c; /* renamed from: d reason: collision with root package name */ public dx2.d<Unit> f127051d; /* renamed from: e reason: collision with root package name */ public yr2.c f127052e; /* renamed from: f reason: collision with root package name */ public yr2.a f127053f; /* renamed from: g reason: collision with root package name */ public dx2.d<b.a> f127054g; /* renamed from: h reason: collision with root package name */ public xr2.a f127055h; /* renamed from: i reason: collision with root package name */ public boolean f127056i; /* renamed from: j reason: collision with root package name */ public u32.i f127057j; @Metadata(bv = {}, d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\b\n\u0002\b\u0005\b\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0005\u0010\u0006R\u0014\u0010\u0003\u001a\u00020\u00028\u0006XT¢\u0006\u0006\n\u0004\b\u0003\u0010\u0004¨\u0006\u0007"}, d2 = {"Lrr2/c0$a;", "", "", "BOARD_IS_NORMAL", "I", "<init>", "()V", "app_PublishGooglePlayRelease"}, k = 1, mv = {1, 6, 0}) /* compiled from: AlbumController.kt */ public static final class a { public a() { } public /* synthetic */ a(DefaultConstructorMarker defaultConstructorMarker) { this(); } } @Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u0003H\n¢\u0006\u0002\b\u0004"}, d2 = {"<anonymous>", "", AdvanceSetting.NETWORK_TYPE, "Landroidx/lifecycle/Lifecycle$Event;", "invoke"}, k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: AlbumController.kt */ public static final class b extends Lambda implements Function1<Lifecycle.Event, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ c0 f127058a; @Metadata(k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: AlbumController.kt */ public /* synthetic */ class a extends FunctionReferenceImpl implements Function1<Pair<? extends List<? extends Object>, ? extends DiffUtil.DiffResult>, Unit> { public a(Object obj) { super(1, obj, c0.class, "dispatchUpdatesToRecyclerView", "dispatchUpdatesToRecyclerView(Lkotlin/Pair;)V", 0); } public final void a(Pair<? extends List<? extends Object>, ? extends DiffUtil.DiffResult> pair) { Intrinsics.checkNotNullParameter(pair, "p0"); ((c0) this.receiver).v1(pair); } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Pair<? extends List<? extends Object>, ? extends DiffUtil.DiffResult> pair) { a(pair); return Unit.INSTANCE; } } @Metadata(k = 3, mv = {1, 6, 0}, xi = 48) /* renamed from: rr2.c0$b$b reason: collision with other inner class name */ /* compiled from: AlbumController.kt */ public /* synthetic */ class C2028b extends FunctionReferenceImpl implements Function1<Throwable, Unit> { public C2028b(Object obj) { super(1, obj, z41.l.class, "logError", "logError(Ljava/lang/Throwable;)V", 0); } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Throwable th3) { invoke(th3); return Unit.INSTANCE; } public final void invoke(Throwable th3) { Intrinsics.checkNotNullParameter(th3, "p0"); z41.l.f(th3); } } @Metadata(k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: AlbumController.kt */ public /* synthetic */ class c { /* renamed from: a reason: collision with root package name */ public static final /* synthetic */ int[] f127059a; static { int[] iArr = new int[Lifecycle.Event.values().length]; iArr[Lifecycle.Event.ON_RESUME.ordinal()] = 1; f127059a = iArr; } } /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public b(c0 c0Var) { super(1); this.f127058a = c0Var; } public static final void b(c0 c0Var, Pair pair) { Intrinsics.checkNotNullParameter(c0Var, "this$0"); c0Var.e2(); c0Var.X1(); c0Var.A1().x0(0); ((i0) c0Var.getPresenter()).r(0); } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Lifecycle.Event event) { invoke(event); return Unit.INSTANCE; } public final void invoke(Lifecycle.Event event) { xr2.a aVar; Intrinsics.checkNotNullParameter(event, AdvanceSetting.NETWORK_TYPE); if (c.f127059a[event.ordinal()] == 1 && this.f127058a.f127056i && (aVar = this.f127058a.f127055h) != null) { c0 c0Var = this.f127058a; r m04 = fs2.c0.R(c0Var.A1(), null, aVar.getAlbumData().getId(), 1, null).W0(gw2.a.a()).m0(new d0(c0Var)); Intrinsics.checkNotNullExpressionValue(m04, "albumRepository.initAlbu… }"); bj2.h.f(m04, c0Var, new a(c0Var), new C2028b(z41.l.f160483a)); } } } @Metadata(d1 = {"\u0000\u001c\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010 \n\u0002\u0010\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0000\u001a\u00020\u000122\u0010\u0002\u001a.\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00050\u0004\u0012\u0004\u0012\u00020\u0006 \u0007*\u0016\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00050\u0004\u0012\u0004\u0012\u00020\u0006\u0018\u00010\u00030\u0003H\n¢\u0006\u0002\b\b"}, d2 = {"<anonymous>", "", AdvanceSetting.NETWORK_TYPE, "Lkotlin/Pair;", "", "", "Landroidx/recyclerview/widget/DiffUtil$DiffResult;", "kotlin.jvm.PlatformType", "invoke"}, k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: AlbumController.kt */ public static final class c extends Lambda implements Function1<Pair<? extends List<? extends Object>, ? extends DiffUtil.DiffResult>, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ c0 f127060a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public c(c0 c0Var) { super(1); this.f127060a = c0Var; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Pair<? extends List<? extends Object>, ? extends DiffUtil.DiffResult> pair) { invoke(pair); return Unit.INSTANCE; } public final void invoke(Pair<? extends List<? extends Object>, ? extends DiffUtil.DiffResult> pair) { this.f127060a.C1().a(Unit.INSTANCE); } } @Metadata(k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: AlbumController.kt */ public /* synthetic */ class d extends FunctionReferenceImpl implements Function1<Throwable, Unit> { public d(Object obj) { super(1, obj, z41.l.class, "logError", "logError(Ljava/lang/Throwable;)V", 0); } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Throwable th3) { invoke(th3); return Unit.INSTANCE; } public final void invoke(Throwable th3) { Intrinsics.checkNotNullParameter(th3, "p0"); z41.l.f(th3); } } @Metadata(d1 = {"\u0000\b\n\u0000\n\u0002\u0010\u0002\n\u0000\u0010\u0000\u001a\u00020\u0001H\n¢\u0006\u0002\b\u0002"}, d2 = {"<anonymous>", "", "invoke"}, k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: AlbumController.kt */ public static final class e extends Lambda implements Function0<Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ c0 f127061a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public e(c0 c0Var) { super(0); this.f127061a = c0Var; } public static final void b(c0 c0Var) { Intrinsics.checkNotNullParameter(c0Var, "this$0"); c0Var.e2(); } @Override // kotlin.jvm.functions.Function0 public final void invoke() { xr2.a aVar = this.f127061a.f127055h; if (aVar != null) { c0 c0Var = this.f127061a; r<Pair<List<Object>, DiffUtil.DiffResult>> W0 = c0Var.A1().F(aVar.getAlbumData().getId()).o0(new e0(c0Var)).W0(gw2.a.a()); Intrinsics.checkNotNullExpressionValue(W0, "albumRepository.followAl…dSchedulers.mainThread())"); Object n14 = W0.n(com.uber.autodispose.d.b(c0Var)); Intrinsics.checkExpressionValueIsNotNull(n14, "this.`as`(AutoDispose.autoDisposable(provider))"); ((y) n14).a(new f0(c0Var), ab1.j.f2797a); } } } @Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0004\u0010\u0000\u001a\u00020\u00012\u000e\u0010\u0002\u001a\n \u0003*\u0004\u0018\u00010\u00010\u0001H\n¢\u0006\u0004\b\u0004\u0010\u0005"}, d2 = {"<anonymous>", "", AdvanceSetting.NETWORK_TYPE, "kotlin.jvm.PlatformType", "invoke", "(Lkotlin/Unit;)V"}, k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: AlbumController.kt */ public static final class f extends Lambda implements Function1<Unit, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ c0 f127062a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public f(c0 c0Var) { super(1); this.f127062a = c0Var; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Unit unit) { invoke(unit); return Unit.INSTANCE; } public final void invoke(Unit unit) { this.f127062a.getActivity().finish(); } } @Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0004\u0010\u0000\u001a\u00020\u00012\u000e\u0010\u0002\u001a\n \u0003*\u0004\u0018\u00010\u00010\u0001H\n¢\u0006\u0004\b\u0004\u0010\u0005"}, d2 = {"<anonymous>", "", AdvanceSetting.NETWORK_TYPE, "kotlin.jvm.PlatformType", "invoke", "(Lkotlin/Unit;)V"}, k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: AlbumController.kt */ public static final class g extends Lambda implements Function1<Unit, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ c0 f127063a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public g(c0 c0Var) { super(1); this.f127063a = c0Var; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Unit unit) { invoke(unit); return Unit.INSTANCE; } public final void invoke(Unit unit) { this.f127063a.Y1(); } } @Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0004\u0010\u0000\u001a\u00020\u00012\u000e\u0010\u0002\u001a\n \u0003*\u0004\u0018\u00010\u00010\u0001H\n¢\u0006\u0004\b\u0004\u0010\u0005"}, d2 = {"<anonymous>", "", AdvanceSetting.NETWORK_TYPE, "kotlin.jvm.PlatformType", "invoke", "(Lkotlin/Unit;)V"}, k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: AlbumController.kt */ public static final class h extends Lambda implements Function1<Unit, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ c0 f127064a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public h(c0 c0Var) { super(1); this.f127064a = c0Var; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Unit unit) { invoke(unit); return Unit.INSTANCE; } public final void invoke(Unit unit) { this.f127064a.r1(); } } @Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0004\u0010\u0000\u001a\u00020\u00012\u000e\u0010\u0002\u001a\n \u0003*\u0004\u0018\u00010\u00010\u0001H\n¢\u0006\u0004\b\u0004\u0010\u0005"}, d2 = {"<anonymous>", "", AdvanceSetting.NETWORK_TYPE, "kotlin.jvm.PlatformType", "invoke", "(Lkotlin/Unit;)V"}, k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: AlbumController.kt */ public static final class i extends Lambda implements Function1<Unit, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ c0 f127065a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public i(c0 c0Var) { super(1); this.f127065a = c0Var; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Unit unit) { invoke(unit); return Unit.INSTANCE; } public final void invoke(Unit unit) { this.f127065a.T1(); } } @Metadata(bv = {}, d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u0002\u0010\u0004\u001a\u00020\u00032\u000e\u0010\u0002\u001a\n \u0001*\u0004\u0018\u00010\u00000\u0000H\n¢\u0006\u0004\b\u0004\u0010\u0005"}, d2 = {"Lyr2/c$a;", "kotlin.jvm.PlatformType", AdvanceSetting.NETWORK_TYPE, "", "a", "(Lyr2/c$a;)V"}, k = 3, mv = {1, 6, 0}) /* compiled from: AlbumController.kt */ public static final class j extends Lambda implements Function1<c.a, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ c0 f127066a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public j(c0 c0Var) { super(1); this.f127066a = c0Var; } public final void a(c.a aVar) { this.f127066a.D1(); } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(c.a aVar) { a(aVar); return Unit.INSTANCE; } } @Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\u0010\u0000\u001a\u00020\u0001H\n¢\u0006\u0004\b\u0002\u0010\u0003"}, d2 = {"<anonymous>", "", "invoke", "()Ljava/lang/Boolean;"}, k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: AlbumController.kt */ public static final class k extends Lambda implements Function0<Boolean> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ c0 f127067a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public k(c0 c0Var) { super(0); this.f127067a = c0Var; } @Override // kotlin.jvm.functions.Function0 public final Boolean invoke() { return Boolean.valueOf(!this.f127067a.A1().Z().get()); } } @Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0003\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u0001H\n¢\u0006\u0004\b\u0003\u0010\u0004"}, d2 = {"<anonymous>", "", AdvanceSetting.NETWORK_TYPE, "invoke", "(Lkotlin/Unit;)V"}, k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: AlbumController.kt */ public static final class l extends Lambda implements Function1<Unit, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ c0 f127068a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public l(c0 c0Var) { super(1); this.f127068a = c0Var; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Unit unit) { invoke(unit); return Unit.INSTANCE; } public final void invoke(Unit unit) { Intrinsics.checkNotNullParameter(unit, AdvanceSetting.NETWORK_TYPE); this.f127068a.loadMore(); } } @Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0004\u0010\u0000\u001a\u00020\u00012\u000e\u0010\u0002\u001a\n \u0003*\u0004\u0018\u00010\u00010\u0001H\n¢\u0006\u0004\b\u0004\u0010\u0005"}, d2 = {"<anonymous>", "", AdvanceSetting.NETWORK_TYPE, "kotlin.jvm.PlatformType", "invoke", "(Lkotlin/Unit;)V"}, k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: AlbumController.kt */ public static final class m extends Lambda implements Function1<Unit, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ c0 f127069a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public m(c0 c0Var) { super(1); this.f127069a = c0Var; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Unit unit) { invoke(unit); return Unit.INSTANCE; } public final void invoke(Unit unit) { ((i0) this.f127069a.getPresenter()).r(this.f127069a.A1().O()); } } @Metadata(bv = {}, d1 = {"\u0000\u000e\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0003\u001a\u0004\u0018\u00010\u00022\u0006\u0010\u0001\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0003\u0010\u0004"}, d2 = {"", "index", "Lu32/p;", "a", "(I)Lu32/p;"}, k = 3, mv = {1, 6, 0}) /* compiled from: AlbumController.kt */ public static final class n extends Lambda implements Function1<Integer, u32.p> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ c0 f127070a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public n(c0 c0Var) { super(1); this.f127070a = c0Var; } public final u32.p a(int i10) { Object obj = CollectionsKt___CollectionsKt.getOrNull(this.f127070a.getAdapter().d(), i10); if (obj instanceof NoteItemBean) { NoteItemBean noteItemBean = (NoteItemBean) obj; if (Intrinsics.areEqual(noteItemBean.getType(), "video")) { return dm1.a.a(noteItemBean); } } return null; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ u32.p invoke(Integer num) { return a(num.intValue()); } } @Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0003\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u0001H\n¢\u0006\u0004\b\u0003\u0010\u0004"}, d2 = {"<anonymous>", "", AdvanceSetting.NETWORK_TYPE, "invoke", "(Lkotlin/Unit;)V"}, k = 3, mv = {1, 6, 0}, xi = 48) /* compiled from: AlbumController.kt */ public static final class o extends Lambda implements Function1<Unit, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ c0 f127071a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public o(c0 c0Var) { super(1); this.f127071a = c0Var; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Unit unit) { invoke(unit); return Unit.INSTANCE; } public final void invoke(Unit unit) { Intrinsics.checkNotNullParameter(unit, AdvanceSetting.NETWORK_TYPE); this.f127071a.X1(); } } @Metadata(bv = {}, d1 = {"\u0000\u000e\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0002\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0001\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0003\u0010\u0004"}, d2 = {"Lau0/c;", AdvanceSetting.NETWORK_TYPE, "", "a", "(Lau0/c;)V"}, k = 3, mv = {1, 6, 0}) /* compiled from: AlbumController.kt */ public static final class p extends Lambda implements Function1<au0.c, Unit> { /* renamed from: a reason: collision with root package name */ public final /* synthetic */ c0 f127072a; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public p(c0 c0Var) { super(1); this.f127072a = c0Var; } public final void a(au0.c cVar) { Intrinsics.checkNotNullParameter(cVar, AdvanceSetting.NETWORK_TYPE); this.f127072a.onEvent(cVar); } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(au0.c cVar) { a(cVar); return Unit.INSTANCE; } } public static final void F1(c0 c0Var, Unit unit) { Intrinsics.checkNotNullParameter(c0Var, "this$0"); c0Var.V1(); } public static final void G1(c0 c0Var, Unit unit) { Intrinsics.checkNotNullParameter(c0Var, "this$0"); c0Var.f2(); } public static final void Q1(c0 c0Var, boolean z14, hw2.c cVar) { Intrinsics.checkNotNullParameter(c0Var, "this$0"); ((i0) c0Var.getPresenter()).s(z14); } public static final void R1(c0 c0Var, boolean z14) { Intrinsics.checkNotNullParameter(c0Var, "this$0"); ((i0) c0Var.getPresenter()).i(z14); } public static final void S1(c0 c0Var, boolean z14, Pair pair) { u32.i iVar; Intrinsics.checkNotNullParameter(c0Var, "this$0"); Intrinsics.checkNotNullExpressionValue(pair, AdvanceSetting.NETWORK_TYPE); c0Var.v1(pair); if (z14 && (iVar = c0Var.f127057j) != null) { iVar.d(); } } public static final void W1(c0 c0Var, Pair pair) { WishBoardDetail albumData; Intrinsics.checkNotNullParameter(c0Var, "this$0"); c0Var.e2(); c0Var.E1(); c0Var.L1(); c0Var.X1(); xr2.a K = c0Var.A1().K(); boolean z14 = false; if (!(K == null || (albumData = K.getAlbumData()) == null || albumData.getBoardStatus() != -3)) { z14 = true; } if (z14) { ((i0) c0Var.getPresenter()).j(); } } public static final void Z1(c0 c0Var, Pair pair) { Intrinsics.checkNotNullParameter(c0Var, "this$0"); c0Var.e2(); c0Var.a2(); } public static final void c2(c0 c0Var, xr2.a aVar, DialogInterface dialogInterface, int i10) { Intrinsics.checkNotNullParameter(c0Var, "this$0"); Intrinsics.checkNotNullParameter(aVar, "$it"); r<Pair<List<Object>, DiffUtil.DiffResult>> W0 = c0Var.A1().B0(aVar.getAlbumData().getId()).o0(new u(c0Var)).W0(gw2.a.a()); Intrinsics.checkNotNullExpressionValue(W0, "albumRepository.unFollow…dSchedulers.mainThread())"); Object n14 = W0.n(com.uber.autodispose.d.b(c0Var)); Intrinsics.checkExpressionValueIsNotNull(n14, "this.`as`(AutoDispose.autoDisposable(provider))"); ((y) n14).a(new z(c0Var), ab1.j.f2797a); } public static final void d2(c0 c0Var) { Intrinsics.checkNotNullParameter(c0Var, "this$0"); c0Var.e2(); } public static final void g2(c0 c0Var) { Intrinsics.checkNotNullParameter(c0Var, "this$0"); c0Var.e2(); } public static final void t1(c0 c0Var, xr2.a aVar, DialogInterface dialogInterface, int i10) { Intrinsics.checkNotNullParameter(c0Var, "this$0"); Intrinsics.checkNotNullParameter(aVar, "$it"); r<Pair<List<Object>, DiffUtil.DiffResult>> m04 = c0Var.A1().y0(aVar.getAlbumData().getId()).o0(new v(c0Var)).W0(gw2.a.a()).m0(new z(c0Var)); Intrinsics.checkNotNullExpressionValue(m04, "albumRepository.unCollec…tchUpdatesToRecyclerView)"); bj2.h.f(m04, c0Var, new c(c0Var), new d(z41.l.f160483a)); } public static final void u1(c0 c0Var) { Intrinsics.checkNotNullParameter(c0Var, "this$0"); c0Var.e2(); } public final fs2.c0 A1() { fs2.c0 c0Var = this.f127050c; if (c0Var != null) { return c0Var; } Intrinsics.throwUninitializedPropertyAccessException("albumRepository"); return null; } public final dx2.d<b.a> B1() { dx2.d<b.a> dVar = this.f127054g; if (dVar != null) { return dVar; } Intrinsics.throwUninitializedPropertyAccessException("moveEventSubject"); return null; } public final dx2.d<Unit> C1() { dx2.d<Unit> dVar = this.f127051d; if (dVar != null) { return dVar; } Intrinsics.throwUninitializedPropertyAccessException(SmCaptchaWebView.MODE_SELECT); return null; } public final void D1() { if (this.f127056i) { w1(); } else if (A1().Y()) { b2(); } else { x1(); } } public final void E1() { r<Unit> W0 = ((i0) getPresenter()).b().W0(gw2.a.a()); Intrinsics.checkNotNullExpressionValue(W0, "presenter.actionBarLeftC…dSchedulers.mainThread())"); Object n14 = W0.n(com.uber.autodispose.d.b(this)); Intrinsics.checkExpressionValueIsNotNull(n14, "this.`as`(AutoDispose.autoDisposable(provider))"); bj2.h.b((y) n14, new f(this)); r<Unit> W02 = ((i0) getPresenter()).e().W0(gw2.a.a()); Intrinsics.checkNotNullExpressionValue(W02, "presenter.actionBarRight…dSchedulers.mainThread())"); Object n15 = W02.n(com.uber.autodispose.d.b(this)); Intrinsics.checkExpressionValueIsNotNull(n15, "this.`as`(AutoDispose.autoDisposable(provider))"); bj2.h.b((y) n15, new g(this)); ((i0) getPresenter()).f().W0(gw2.a.a()).m0(new q(this)).c(C1()); ((i0) getPresenter()).d().W0(gw2.a.a()).m0(new p(this)).c(C1()); r<Unit> W03 = ((i0) getPresenter()).g().W0(gw2.a.a()); Intrinsics.checkNotNullExpressionValue(W03, "presenter.deleteNotesCli…dSchedulers.mainThread())"); Object n16 = W03.n(com.uber.autodispose.d.b(this)); Intrinsics.checkExpressionValueIsNotNull(n16, "this.`as`(AutoDispose.autoDisposable(provider))"); bj2.h.b((y) n16, new h(this)); r<Unit> W04 = ((i0) getPresenter()).o().W0(gw2.a.a()); Intrinsics.checkNotNullExpressionValue(W04, "presenter.moveNotesClick…dSchedulers.mainThread())"); Object n17 = W04.n(com.uber.autodispose.d.b(this)); Intrinsics.checkExpressionValueIsNotNull(n17, "this.`as`(AutoDispose.autoDisposable(provider))"); bj2.h.b((y) n17, new i(this)); r<c.a> W05 = z1().h().W0(gw2.a.a()); Intrinsics.checkNotNullExpressionValue(W05, "albumHeaderView.followCl…dSchedulers.mainThread())"); Object n18 = W05.n(com.uber.autodispose.d.b(this)); Intrinsics.checkExpressionValueIsNotNull(n18, "this.`as`(AutoDispose.autoDisposable(provider))"); bj2.h.b((y) n18, new j(this)); } public final void H1() { MultiTypeAdapter adapter = getAdapter(); adapter.j(xr2.a.class, z1()); adapter.j(xr2.d.class, y1()); ((i0) getPresenter()).k(getAdapter()); Object n14 = i0.n((i0) getPresenter(), 0, new k(this), 1, null).n(com.uber.autodispose.d.b(this)); Intrinsics.checkExpressionValueIsNotNull(n14, "this.`as`(AutoDispose.autoDisposable(provider))"); bj2.h.b((y) n14, new l(this)); } public final void I1() { bj2.h.d(C1(), this, new m(this)); } public final void K1() { if (this.f127057j == null) { this.f127057j = i.a.b(u32.i.f135893a, ((i0) getPresenter()).getRecyclerView(), new n(this), 0, 0, 12, null); } u32.i iVar = this.f127057j; if (iVar != null) { iVar.c(); } } public final void L1() { ((i0) getPresenter()).l(); Object n14 = ((i0) getPresenter()).p().n(com.uber.autodispose.d.b(this)); Intrinsics.checkExpressionValueIsNotNull(n14, "this.`as`(AutoDispose.autoDisposable(provider))"); bj2.h.b((y) n14, new o(this)); H1(); ((i0) getPresenter()).q(N1(), this.f127056i); I1(); Object n15 = B1().n(com.uber.autodispose.d.b(this)); Intrinsics.checkExpressionValueIsNotNull(n15, "this.`as`(AutoDispose.autoDisposable(provider))"); ((y) n15).a(new y(this), ab1.j.f2797a); } public final boolean N1() { xr2.a aVar = this.f127055h; if (aVar != null) { return b1.f94179a.d1(aVar.getAlbumData().getUser().getUserid()); } return false; } public final void O1(boolean z14) { xr2.a aVar = this.f127055h; if (aVar != null) { P1(z14, aVar); } } public final void P1(boolean z14, xr2.a aVar) { r<Pair<List<Object>, DiffUtil.DiffResult>> o04 = A1().e0(z14, this.f127056i, aVar).W0(gw2.a.a()).n0(new r(this, z14)).o0(new x(this, z14)); Intrinsics.checkNotNullExpressionValue(o04, "albumRepository.loadAlbu…sh)\n }"); Object n14 = o04.n(com.uber.autodispose.d.b(this)); Intrinsics.checkExpressionValueIsNotNull(n14, "this.`as`(AutoDispose.autoDisposable(provider))"); ((y) n14).a(new s(this, z14), ab1.j.f2797a); } public final void T1() { h0 h0Var; if (A1().O() == 0) { al2.e.f(R.string.axl); return; } xr2.a aVar = this.f127055h; if (aVar != null && (h0Var = (h0) getLinker()) != null) { h0Var.b(aVar); } } public final void U1(b.a aVar) { xr2.a aVar2 = this.f127055h; if (aVar2 != null && !Intrinsics.areEqual(aVar.a().getId(), aVar2.getAlbumData().getId())) { r<Pair<List<Object>, DiffUtil.DiffResult>> W0 = A1().q0(aVar2.getAlbumData().getId(), aVar.a().getId()).W0(gw2.a.a()); Intrinsics.checkNotNullExpressionValue(W0, "albumRepository.moveColl…dSchedulers.mainThread())"); Object n14 = W0.n(com.uber.autodispose.d.b(this)); Intrinsics.checkExpressionValueIsNotNull(n14, "this.`as`(AutoDispose.autoDisposable(provider))"); ((y) n14).a(new z(this), ab1.j.f2797a); } } public final void V1() { if (this.f127056i) { xr2.a aVar = this.f127055h; if (aVar != null) { CollectionsActivity.f65151b.a(getActivity(), aVar.getAlbumData().getId()); return; } return; } f2(); } public final void X1() { O1(true); } public final void Y1() { WishBoardDetail albumData; WishBoardDetail albumData2; xr2.a aVar = this.f127055h; String shareLink = (aVar == null || (albumData2 = aVar.getAlbumData()) == null) ? null : albumData2.getShareLink(); if (shareLink == null || shareLink.length() == 0) { fs2.c0 A1 = A1(); xr2.a aVar2 = this.f127055h; r e04 = fs2.c0.R(A1, null, (aVar2 == null || (albumData = aVar2.getAlbumData()) == null) ? null : albumData.getId(), 1, null).e0(new a0(this)); Intrinsics.checkNotNullExpressionValue(e04, "albumRepository.initAlbu…w()\n }"); Object n14 = e04.n(com.uber.autodispose.d.b(this)); Intrinsics.checkExpressionValueIsNotNull(n14, "this.`as`(AutoDispose.autoDisposable(provider))"); ((y) n14).a(new z(this), ab1.j.f2797a); return; } a2(); } public final void a2() { xr2.a aVar = this.f127055h; if (aVar != null) { new w().b(getActivity(), aVar.getAlbumData()); j0.f127086a.a(aVar.getAlbumData().getId()); } } public final void b2() { xr2.a aVar = this.f127055h; if (aVar != null) { new AlertDialog.Builder(getActivity()).setMessage(R.string.e78).setPositiveButton(R.string.bt7, new o(this, aVar)).setNegativeButton(R.string.bt5, (DialogInterface.OnClickListener) null).show(); } } public final void e2() { this.f127055h = A1().K(); } public final void f2() { this.f127056i = !this.f127056i; ((i0) getPresenter()).q(N1(), this.f127056i); r<Pair<List<Object>, DiffUtil.DiffResult>> o04 = A1().D0(this.f127056i).o0(new w(this)); Intrinsics.checkNotNullExpressionValue(o04, "albumRepository.updateMa…ate { updateAlbumInfo() }"); Object n14 = o04.n(com.uber.autodispose.d.b(this)); Intrinsics.checkExpressionValueIsNotNull(n14, "this.`as`(AutoDispose.autoDisposable(provider))"); ((y) n14).a(new z(this), ab1.j.f2797a); } public final XhsActivity getActivity() { XhsActivity xhsActivity = this.f127048a; if (xhsActivity != null) { return xhsActivity; } Intrinsics.throwUninitializedPropertyAccessException("activity"); return null; } public final MultiTypeAdapter getAdapter() { MultiTypeAdapter multiTypeAdapter = this.f127049b; if (multiTypeAdapter != null) { return multiTypeAdapter; } Intrinsics.throwUninitializedPropertyAccessException("adapter"); return null; } public final void loadMore() { O1(false); } @Override // tu0.b public void onAttach(Bundle bundle) { r rVar; super.onAttach(bundle); Object n14 = ej2.a.f72257b.b(au0.c.class).n(com.uber.autodispose.d.b(this)); Intrinsics.checkExpressionValueIsNotNull(n14, "this.`as`(AutoDispose.autoDisposable(provider))"); bj2.h.b((y) n14, new p(this)); Parcelable parcelableExtra = getActivity().getIntent().getParcelableExtra("board_data"); boolean z14 = false; if (parcelableExtra != null) { this.f127055h = new xr2.a((WishBoardDetail) parcelableExtra, false, 2, null); rVar = fs2.c0.R(A1(), this.f127055h, null, 2, null); } else { String stringExtra = getActivity().getIntent().getStringExtra("board_oid"); if (stringExtra == null || stringExtra.length() == 0) { z14 = true; } rVar = fs2.c0.R(A1(), null, z14 ? "" : StringsKt__StringsJVMKt.replace$default(stringExtra, "board.", "", false, 4, (Object) null), 1, null); } r m04 = rVar.W0(gw2.a.a()).m0(new b0(this)); Intrinsics.checkNotNullExpressionValue(m04, "if (data != null) {\n … }\n }"); Object n15 = m04.n(com.uber.autodispose.d.b(this)); Intrinsics.checkExpressionValueIsNotNull(n15, "this.`as`(AutoDispose.autoDisposable(provider))"); ((y) n15).a(new z(this), ab1.j.f2797a); q1(); K1(); } @Override // tu0.b public void onDetach() { super.onDetach(); u32.i iVar = this.f127057j; if (iVar != null) { iVar.a(); } } public final void onEvent(au0.c cVar) { Intrinsics.checkNotNullParameter(cVar, "event"); if (N1()) { if (cVar.isDelete()) { getActivity().finish(); return; } xr2.a aVar = this.f127055h; if (aVar != null) { aVar.getAlbumData().setPrivacy(cVar.getPrivacy()); } xr2.a aVar2 = this.f127055h; xr2.a aVar3 = null; Object clone = aVar2 != null ? aVar2.clone() : null; if (clone instanceof xr2.a) { aVar3 = (xr2.a) clone; } if (aVar3 != null) { if (cVar.getNoteNum() != 0) { aVar3.getAlbumData().setTotal(cVar.getNoteNum()); } Unit unit = Unit.INSTANCE; P1(true, aVar3); } } } public final void q1() { bj2.h.d(getActivity().lifecycle(), this, new b(this)); } public final void r1() { int O = A1().O(); if (O < 1) { al2.e.f(R.string.axl); return; } DMCAlertDialogBuilder dMCAlertDialogBuilder = new DMCAlertDialogBuilder(getActivity()); xr2.a aVar = this.f127055h; if (aVar != null) { dMCAlertDialogBuilder.setTitle(R.string.bvj).setMessage(getActivity().getString(R.string.btc, new Object[]{Integer.valueOf(O)})).setNegativeButton(R.string.bt5, (DialogInterface.OnClickListener) null).setPositiveButton(R.string.btb, new t(this, aVar)).show(); } } public final void v1(Pair<? extends List<? extends Object>, ? extends DiffUtil.DiffResult> pair) { StaggeredGridLayoutManager h10; StaggeredGridLayoutManager h14 = ((i0) getPresenter()).h(); Parcelable onSaveInstanceState = h14 != null ? h14.onSaveInstanceState() : null; getAdapter().o((List) pair.getFirst()); ((DiffUtil.DiffResult) pair.getSecond()).dispatchUpdatesTo(getAdapter()); if (onSaveInstanceState != null && (h10 = ((i0) getPresenter()).h()) != null) { h10.onRestoreInstanceState(onSaveInstanceState); } } public final void w1() { EditBoardActivity.a aVar = EditBoardActivity.f65336c; XhsActivity activity = getActivity(); xr2.a aVar2 = this.f127055h; aVar.b(activity, aVar2 != null ? aVar2.getAlbumData() : null); } public final void x1() { b51.b.d(getActivity(), 4, new e(this), null, 4, null); } public final yr2.a y1() { yr2.a aVar = this.f127053f; if (aVar != null) { return aVar; } Intrinsics.throwUninitializedPropertyAccessException("albumEmptyNoteItemBinder"); return null; } public final yr2.c z1() { yr2.c cVar = this.f127052e; if (cVar != null) { return cVar; } Intrinsics.throwUninitializedPropertyAccessException("albumHeaderView"); return null; } }