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


package t91;

import android.os.Bundle;
import bj2.h;
import com.alibaba.wireless.security.open.nocaptcha.INoCaptchaComponent;
import com.meizu.cloud.pushsdk.notification.model.AdvanceSetting;
import com.xingin.android.redutils.base.XhsActivity;
import com.xingin.matrix.followfeed.entities.BulletCommentLead;
import com.xingin.matrix.followfeed.entities.NoteFeed;
import dw2.r;
import dx2.g;
import i91.c;
import ja1.a;
import kotlin.Metadata;
import kotlin.Pair;
import kotlin.Triple;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.Lambda;

@Metadata(bv = {}, d1 = {"\u0000˜\u0001\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\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\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0006\u0018\u00002\u0014\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u0000\u0012\u0004\u0012\u00020\u00030\u0001B\u0007¢\u0006\u0004\bQ\u0010RJ(\u0010\f\u001a\u00020\u000b2\f\u0010\u0006\u001a\b\u0012\u0004\u0012\u00020\u00050\u00042\u0006\u0010\b\u001a\u00020\u00072\b\u0010\n\u001a\u0004\u0018\u00010\tH\u0002J\u0012\u0010\u000f\u001a\u00020\u000b2\b\u0010\u000e\u001a\u0004\u0018\u00010\rH\u0014RB\u0010\u0012\u001a\"\u0012\u001e\u0012\u001c\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00050\u0004\u0012\u0004\u0012\u00020\u0007\u0012\u0006\u0012\u0004\u0018\u00010\t0\u00110\u00108\u0006@\u0006X‡.¢\u0006\u0012\n\u0004\b\u0012\u0010\u0013\u001a\u0004\b\u0014\u0010\u0015\"\u0004\b\u0016\u0010\u0017R\"\u0010\u0019\u001a\u00020\u00188\u0006@\u0006X‡.¢\u0006\u0012\n\u0004\b\u0019\u0010\u001a\u001a\u0004\b\u001b\u0010\u001c\"\u0004\b\u001d\u0010\u001eR\"\u0010 \u001a\u00020\u001f8\u0006@\u0006X‡.¢\u0006\u0012\n\u0004\b \u0010!\u001a\u0004\b\"\u0010#\"\u0004\b$\u0010%R\"\u0010'\u001a\u00020&8\u0006@\u0006X‡.¢\u0006\u0012\n\u0004\b'\u0010(\u001a\u0004\b)\u0010*\"\u0004\b+\u0010,R(\u0010/\u001a\b\u0012\u0004\u0012\u00020.0-8\u0006@\u0006X‡.¢\u0006\u0012\n\u0004\b/\u00100\u001a\u0004\b1\u00102\"\u0004\b3\u00104R(\u00107\u001a\b\u0012\u0004\u0012\u000206058\u0006@\u0006X‡.¢\u0006\u0012\n\u0004\b7\u00108\u001a\u0004\b9\u0010:\"\u0004\b;\u0010<R(\u0010>\u001a\b\u0012\u0004\u0012\u00020=058\u0006@\u0006X‡.¢\u0006\u0012\n\u0004\b>\u00108\u001a\u0004\b?\u0010:\"\u0004\b@\u0010<R(\u0010B\u001a\b\u0012\u0004\u0012\u00020A058\u0006@\u0006X‡.¢\u0006\u0012\n\u0004\bB\u00108\u001a\u0004\bC\u0010:\"\u0004\bD\u0010<R(\u0010F\u001a\b\u0012\u0004\u0012\u00020E0-8\u0006@\u0006X‡.¢\u0006\u0012\n\u0004\bF\u00100\u001a\u0004\bG\u00102\"\u0004\bH\u00104R(\u0010J\u001a\b\u0012\u0004\u0012\u00020I058\u0006@\u0006X‡.¢\u0006\u0012\n\u0004\bJ\u00108\u001a\u0004\bK\u0010:\"\u0004\bL\u0010<R(\u0010N\u001a\b\u0012\u0004\u0012\u00020M058\u0006@\u0006X‡.¢\u0006\u0012\n\u0004\bN\u00108\u001a\u0004\bO\u0010:\"\u0004\bP\u0010<¨\u0006S"}, d2 = {"Lt91/q;", "Ltu0/b;", "Lt91/d0;", "Lt91/s;", "Lkotlin/Function0;", "", "position", "Lcom/xingin/matrix/followfeed/entities/NoteFeed;", "data", "", "payloads", "", INoCaptchaComponent.f17802y1, "Landroid/os/Bundle;", "savedInstanceState", "onAttach", "Ldw2/r;", "Lkotlin/Triple;", "updateDateObservable", "Ldw2/r;", "getUpdateDateObservable", "()Ldw2/r;", "setUpdateDateObservable", "(Ldw2/r;)V", "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", "Lk61/b;", "pageIntentImpl", "Lk61/b;", "j1", "()Lk61/b;", "setPageIntentImpl", "(Lk61/b;)V", "Loa1/d;", "screenChangeListener", "Loa1/d;", "k1", "()Loa1/d;", "setScreenChangeListener", "(Loa1/d;)V", "Ldx2/g;", "Ll81/a;", "clickEventsObservable", "Ldx2/g;", "e1", "()Ldx2/g;", "setClickEventsObservable", "(Ldx2/g;)V", "Ldx2/b;", "Lea1/b;", "seekBarDraggingStatusBehavior", "Ldx2/b;", "l1", "()Ldx2/b;", "setSeekBarDraggingStatusBehavior", "(Ldx2/b;)V", "Lu91/c;", "landImmersiveSubject", "h1", "setLandImmersiveSubject", "Lja1/a;", "videoNoteBehavior", "m1", "setVideoNoteBehavior", "Lu91/a;", "landscapeShowedBtnClickSubject", "i1", "setLandscapeShowedBtnClickSubject", "Li91/c;", "danmakuWidgetEvent", "f1", "setDanmakuWidgetEvent", "Lcom/xingin/matrix/followfeed/entities/BulletCommentLead;", "bulletCommentLeadInfo", "d1", "setBulletCommentLeadInfo", "<init>", "()V", "matrix_detail_feed_library_release"}, k = 1, mv = {1, 6, 0})
/* compiled from: VideoLandscapeChangeController.kt */
public final class q extends tu0.b<d0, q, s> {

    /* renamed from: a  reason: collision with root package name */
    public NoteFeed f132704a = new NoteFeed(null, null, null, null, null, null, 0, null, null, null, null, null, false, null, null, null, null, null, false, false, 0, null, 0, 0, 0, 0, false, false, null, null, 0, null, null, null, null, false, null, false, null, null, 0.0f, null, null, null, null, false, false, 0, null, null, false, null, false, null, null, null, null, null, null, 0, null, null, null, null, null, null, false, 0, null, false, null, false, null, null, null, null, null, false, false, 0, null, null, null, null, null, null, null, null, null, null, null, null, false, false, null, -1, -1, Integer.MAX_VALUE, null);

    /* renamed from: b  reason: collision with root package name */
    public String f132705b = "";

    /* renamed from: c  reason: collision with root package name */
    public r<Triple<Function0<Integer>, NoteFeed, Object>> f132706c;

    /* renamed from: d  reason: collision with root package name */
    public r<Pair<yu0.a, Integer>> f132707d;

    /* renamed from: e  reason: collision with root package name */
    public XhsActivity f132708e;

    /* renamed from: f  reason: collision with root package name */
    public k61.b f132709f;

    /* renamed from: g  reason: collision with root package name */
    public oa1.d f132710g;

    /* renamed from: h  reason: collision with root package name */
    public g<l81.a> f132711h;

    /* renamed from: i  reason: collision with root package name */
    public dx2.b<ea1.b> f132712i;

    /* renamed from: j  reason: collision with root package name */
    public dx2.b<u91.c> f132713j;

    /* renamed from: k  reason: collision with root package name */
    public dx2.b<ja1.a> f132714k;

    /* renamed from: l  reason: collision with root package name */
    public g<u91.a> f132715l;

    /* renamed from: m  reason: collision with root package name */
    public dx2.b<i91.c> f132716m;

    /* renamed from: n  reason: collision with root package name */
    public dx2.b<BulletCommentLead> f132717n;

    @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 = {"Lcom/xingin/matrix/followfeed/entities/BulletCommentLead;", "kotlin.jvm.PlatformType", AdvanceSetting.NETWORK_TYPE, "", "a", "(Lcom/xingin/matrix/followfeed/entities/BulletCommentLead;)V"}, k = 3, mv = {1, 6, 0})
    /* compiled from: VideoLandscapeChangeController.kt */
    public static final class a extends Lambda implements Function1<BulletCommentLead, Unit> {

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

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public a(q qVar) {
            super(1);
            this.f132718a = qVar;
        }

        public final void a(BulletCommentLead bulletCommentLead) {
            this.f132718a.f132705b = bulletCommentLead.getBulletLeadShort();
        }

        /* 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(BulletCommentLead bulletCommentLead) {
            a(bulletCommentLead);
            return Unit.INSTANCE;
        }
    }

    @Metadata(d1 = {"\u0000\u001e\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\b\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\u0010\u0000\u001a\u00020\u00012 \u0010\u0002\u001a\u001c\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00050\u0004\u0012\u0004\u0012\u00020\u0006\u0012\u0006\u0012\u0004\u0018\u00010\u00070\u0003H\n¢\u0006\u0002\b\b"}, d2 = {"<anonymous>", "", AdvanceSetting.NETWORK_TYPE, "Lkotlin/Triple;", "Lkotlin/Function0;", "", "Lcom/xingin/matrix/followfeed/entities/NoteFeed;", "", "invoke"}, k = 3, mv = {1, 6, 0}, xi = 48)
    /* compiled from: VideoLandscapeChangeController.kt */
    public static final class b extends Lambda implements Function1<Triple<? extends Function0<? extends Integer>, ? extends NoteFeed, ? extends Object>, Unit> {

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

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public b(q qVar) {
            super(1);
            this.f132719a = qVar;
        }

        /* 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(Triple<? extends Function0<? extends Integer>, ? extends NoteFeed, ? extends Object> triple) {
            invoke((Triple<? extends Function0<Integer>, NoteFeed, ? extends Object>) triple);
            return Unit.INSTANCE;
        }

        public final void invoke(Triple<? extends Function0<Integer>, NoteFeed, ? extends Object> triple) {
            Intrinsics.checkNotNullParameter(triple, AdvanceSetting.NETWORK_TYPE);
            this.f132719a.y1((Function0) triple.getFirst(), triple.getSecond(), triple.getThird());
        }
    }

    @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 = {"Lea1/b;", "kotlin.jvm.PlatformType", AdvanceSetting.NETWORK_TYPE, "", "a", "(Lea1/b;)V"}, k = 3, mv = {1, 6, 0})
    /* compiled from: VideoLandscapeChangeController.kt */
    public static final class c extends Lambda implements Function1<ea1.b, Unit> {

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

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public c(q qVar) {
            super(1);
            this.f132720a = qVar;
        }

        public final void a(ea1.b bVar) {
            ((d0) this.f132720a.getPresenter()).N(this.f132720a.k1().d());
            if (bVar.a()) {
                ((d0) this.f132720a.getPresenter()).m();
            } else {
                ((d0) this.f132720a.getPresenter()).M(3000, true);
            }
        }

        /* 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(ea1.b bVar) {
            a(bVar);
            return Unit.INSTANCE;
        }
    }

    @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 = {"Lu91/c;", "kotlin.jvm.PlatformType", AdvanceSetting.NETWORK_TYPE, "", "a", "(Lu91/c;)V"}, k = 3, mv = {1, 6, 0})
    /* compiled from: VideoLandscapeChangeController.kt */
    public static final class d extends Lambda implements Function1<u91.c, Unit> {

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

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public d(q qVar) {
            super(1);
            this.f132721a = qVar;
        }

        public final void a(u91.c cVar) {
            if (cVar.a() <= 0) {
                if (cVar.b()) {
                    ((d0) this.f132721a.getPresenter()).A();
                } else {
                    ((d0) this.f132721a.getPresenter()).M(3000, this.f132721a.k1().d());
                }
            } else if (cVar.b()) {
                ((d0) this.f132721a.getPresenter()).M(cVar.a(), this.f132721a.k1().d());
            }
        }

        /* 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(u91.c cVar) {
            a(cVar);
            return Unit.INSTANCE;
        }
    }

    @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 = {"Li91/c;", "kotlin.jvm.PlatformType", AdvanceSetting.NETWORK_TYPE, "", "a", "(Li91/c;)V"}, k = 3, mv = {1, 6, 0})
    /* compiled from: VideoLandscapeChangeController.kt */
    public static final class e extends Lambda implements Function1<i91.c, Unit> {

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

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public e(q qVar) {
            super(1);
            this.f132722a = qVar;
        }

        public final void a(i91.c cVar) {
            if (cVar instanceof c.a) {
                ((d0) this.f132722a.getPresenter()).O();
            }
        }

        /* 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(i91.c cVar) {
            a(cVar);
            return Unit.INSTANCE;
        }
    }

    public static final boolean n1(q qVar, ea1.b bVar) {
        Intrinsics.checkNotNullParameter(qVar, "this$0");
        Intrinsics.checkNotNullParameter(bVar, AdvanceSetting.NETWORK_TYPE);
        return qVar.k1().d();
    }

    public static final boolean o1(q qVar, u91.c cVar) {
        Intrinsics.checkNotNullParameter(qVar, "this$0");
        Intrinsics.checkNotNullParameter(cVar, AdvanceSetting.NETWORK_TYPE);
        return qVar.k1().d();
    }

    public static final boolean p1(q qVar, i91.c cVar) {
        Intrinsics.checkNotNullParameter(qVar, "this$0");
        Intrinsics.checkNotNullParameter(cVar, AdvanceSetting.NETWORK_TYPE);
        return qVar.k1().d();
    }

    public static final boolean q1(q qVar, Boolean bool) {
        Intrinsics.checkNotNullParameter(qVar, "this$0");
        Intrinsics.checkNotNullParameter(bool, AdvanceSetting.NETWORK_TYPE);
        return !bool.booleanValue() && Intrinsics.areEqual(qVar.k1().a(), qVar.f132704a.getId());
    }

    public static final u91.c r1(Boolean bool) {
        Intrinsics.checkNotNullParameter(bool, AdvanceSetting.NETWORK_TYPE);
        return new u91.c(true, 0);
    }

    public static final boolean t1(ja1.a aVar) {
        Intrinsics.checkNotNullParameter(aVar, AdvanceSetting.NETWORK_TYPE);
        return (aVar instanceof a.b) || (aVar instanceof a.d);
    }

    public static final u91.c u1(ja1.a aVar) {
        Intrinsics.checkNotNullParameter(aVar, AdvanceSetting.NETWORK_TYPE);
        return new u91.c(true, 3000);
    }

    public static final boolean v1(l81.a aVar) {
        Intrinsics.checkNotNullParameter(aVar, AdvanceSetting.NETWORK_TYPE);
        return aVar == l81.a.SINGLE_CLICK;
    }

    public static final u91.c w1(q qVar, l81.a aVar) {
        Intrinsics.checkNotNullParameter(qVar, "this$0");
        Intrinsics.checkNotNullParameter(aVar, AdvanceSetting.NETWORK_TYPE);
        return new u91.c(true, ((d0) qVar.getPresenter()).D() ? 0 : 3000);
    }

    public static final boolean x1(q qVar, u91.c cVar) {
        Intrinsics.checkNotNullParameter(qVar, "this$0");
        Intrinsics.checkNotNullParameter(cVar, AdvanceSetting.NETWORK_TYPE);
        return qVar.k1().d();
    }

    public final dx2.b<BulletCommentLead> d1() {
        dx2.b<BulletCommentLead> bVar = this.f132717n;
        if (bVar != null) {
            return bVar;
        }
        Intrinsics.throwUninitializedPropertyAccessException("bulletCommentLeadInfo");
        return null;
    }

    public final g<l81.a> e1() {
        g<l81.a> gVar = this.f132711h;
        if (gVar != null) {
            return gVar;
        }
        Intrinsics.throwUninitializedPropertyAccessException("clickEventsObservable");
        return null;
    }

    public final dx2.b<i91.c> f1() {
        dx2.b<i91.c> bVar = this.f132716m;
        if (bVar != null) {
            return bVar;
        }
        Intrinsics.throwUninitializedPropertyAccessException("danmakuWidgetEvent");
        return null;
    }

    public final XhsActivity getActivity() {
        XhsActivity xhsActivity = this.f132708e;
        if (xhsActivity != null) {
            return xhsActivity;
        }
        Intrinsics.throwUninitializedPropertyAccessException("activity");
        return null;
    }

    public final r<Triple<Function0<Integer>, NoteFeed, Object>> getUpdateDateObservable() {
        r<Triple<Function0<Integer>, NoteFeed, Object>> rVar = this.f132706c;
        if (rVar != null) {
            return rVar;
        }
        Intrinsics.throwUninitializedPropertyAccessException("updateDateObservable");
        return null;
    }

    public final dx2.b<u91.c> h1() {
        dx2.b<u91.c> bVar = this.f132713j;
        if (bVar != null) {
            return bVar;
        }
        Intrinsics.throwUninitializedPropertyAccessException("landImmersiveSubject");
        return null;
    }

    public final g<u91.a> i1() {
        g<u91.a> gVar = this.f132715l;
        if (gVar != null) {
            return gVar;
        }
        Intrinsics.throwUninitializedPropertyAccessException("landscapeShowedBtnClickSubject");
        return null;
    }

    public final k61.b j1() {
        k61.b bVar = this.f132709f;
        if (bVar != null) {
            return bVar;
        }
        Intrinsics.throwUninitializedPropertyAccessException("pageIntentImpl");
        return null;
    }

    public final oa1.d k1() {
        oa1.d dVar = this.f132710g;
        if (dVar != null) {
            return dVar;
        }
        Intrinsics.throwUninitializedPropertyAccessException("screenChangeListener");
        return null;
    }

    public final dx2.b<ea1.b> l1() {
        dx2.b<ea1.b> bVar = this.f132712i;
        if (bVar != null) {
            return bVar;
        }
        Intrinsics.throwUninitializedPropertyAccessException("seekBarDraggingStatusBehavior");
        return null;
    }

    public final dx2.b<ja1.a> m1() {
        dx2.b<ja1.a> bVar = this.f132714k;
        if (bVar != null) {
            return bVar;
        }
        Intrinsics.throwUninitializedPropertyAccessException("videoNoteBehavior");
        return null;
    }

    @Override // tu0.b
    public void onAttach(Bundle bundle) {
        super.onAttach(bundle);
        h.d(getUpdateDateObservable(), this, new b(this));
        r<ea1.b> u04 = l1().u0(new m(this));
        Intrinsics.checkNotNullExpressionValue(u04, "seekBarDraggingStatusBeh…eListener.isLandscape() }");
        h.d(u04, this, new c(this));
        r<u91.c> u05 = h1().u0(new k(this));
        Intrinsics.checkNotNullExpressionValue(u05, "landImmersiveSubject.fil…eListener.isLandscape() }");
        h.d(u05, this, new d(this));
        r<i91.c> u06 = f1().u0(new j(this));
        Intrinsics.checkNotNullExpressionValue(u06, "danmakuWidgetEvent.filte…eListener.isLandscape() }");
        h.d(u06, this, new e(this));
        ((d0) getPresenter()).K(j1().u());
        r.O0(getActivity().windowFocusChanges().u0(new n(this)).M0(i.f132696a), m1().u0(p.f132703a).M0(h.f132695a), e1().u0(o.f132702a).M0(new g(this))).u0(new l(this)).c(h1());
        ((d0) getPresenter()).w().c(i1());
        h.d(d1(), this, new a(this));
    }

    public final void y1(Function0<Integer> function0, NoteFeed noteFeed, Object obj) {
        this.f132704a = noteFeed;
        if (obj == l61.a.ORIENTATION_LANDSCAPE_LEFT || obj == l61.a.ORIENTATION_LANDSCAPE_RIGHT) {
            ((d0) getPresenter()).E(noteFeed);
            ((d0) getPresenter()).J(this.f132705b);
            ((d0) getPresenter()).M(3000, true);
        } else if (obj == l61.a.ORIENTATION_PORTRAIT) {
            ((d0) getPresenter()).H(noteFeed, j1().W());
            ((d0) getPresenter()).G();
        }
    }
}