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