47 lines
2 KiB
Java
47 lines
2 KiB
Java
|
package com.discord.stores;
|
||
|
|
||
|
import com.discord.stores.StoreMessageState;
|
||
|
import d0.t.o0;
|
||
|
import d0.z.d.m;
|
||
|
import d0.z.d.o;
|
||
|
import kotlin.Unit;
|
||
|
import kotlin.jvm.functions.Function0;
|
||
|
import kotlin.jvm.functions.Function1;
|
||
|
/* compiled from: StoreMessageState.kt */
|
||
|
public final class StoreMessageState$revealSpoiler$1 extends o implements Function0<Unit> {
|
||
|
public final /* synthetic */ long $messageId;
|
||
|
public final /* synthetic */ int $spoilerIndex;
|
||
|
public final /* synthetic */ StoreMessageState this$0;
|
||
|
|
||
|
/* compiled from: StoreMessageState.kt */
|
||
|
/* renamed from: com.discord.stores.StoreMessageState$revealSpoiler$1$1 reason: invalid class name */
|
||
|
public static final class AnonymousClass1 extends o implements Function1<StoreMessageState.State, StoreMessageState.State> {
|
||
|
public final /* synthetic */ StoreMessageState$revealSpoiler$1 this$0;
|
||
|
|
||
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||
|
public AnonymousClass1(StoreMessageState$revealSpoiler$1 storeMessageState$revealSpoiler$1) {
|
||
|
super(1);
|
||
|
this.this$0 = storeMessageState$revealSpoiler$1;
|
||
|
}
|
||
|
|
||
|
public final StoreMessageState.State invoke(StoreMessageState.State state) {
|
||
|
m.checkNotNullParameter(state, "currentState");
|
||
|
return StoreMessageState.State.copy$default(state, o0.plus(state.getVisibleSpoilerNodeIndices(), Integer.valueOf(this.this$0.$spoilerIndex)), null, 2, null);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||
|
public StoreMessageState$revealSpoiler$1(StoreMessageState storeMessageState, long j, int i) {
|
||
|
super(0);
|
||
|
this.this$0 = storeMessageState;
|
||
|
this.$messageId = j;
|
||
|
this.$spoilerIndex = i;
|
||
|
}
|
||
|
|
||
|
@Override // kotlin.jvm.functions.Function0
|
||
|
/* renamed from: invoke */
|
||
|
public final void mo1invoke() {
|
||
|
StoreMessageState.access$updateState(this.this$0, this.$messageId, new AnonymousClass1(this));
|
||
|
}
|
||
|
}
|