ChatOn v1.35.366360版本的 MD5 值为:cde28447b38d5467efa95e48e7076155
以下内容为反编译后的 l.java 源代码,内容仅作参考
package t0;
import androidx.datastore.core.SingleProcessDataStore$data$1$invokeSuspend$$inlined$map$1$2$1;
import com.aiby.feature_chat.domain.usecases.impl.GetFollowUpQuestionUseCaseImpl$invoke$$inlined$filter$1$2$1;
import com.aiby.feature_chat.domain.usecases.impl.GetFollowUpQuestionUseCaseImpl$invoke$2$invokeSuspend$$inlined$map$1$2$1;
import com.aiby.lib_open_ai.client.Message;
import com.aiby.lib_open_ai.client.impl.OpenAiClientImpl$generateImage$$inlined$map$1$2$1;
import com.aiby.lib_open_ai.network.model.GenerateImageResult;
import kotlin.NoWhenBranchMatchedException;
import kotlin.Unit;
import kotlin.coroutines.intrinsics.CoroutineSingletons;
import kotlin.jvm.internal.Intrinsics;
public final class l implements mk.d {
public final int f19627d;
public final mk.d f19628e;
public l(mk.d dVar, int i10) {
this.f19627d = i10;
this.f19628e = dVar;
}
@Override
public final Object emit(Object obj, nh.a aVar) {
SingleProcessDataStore$data$1$invokeSuspend$$inlined$map$1$2$1 singleProcessDataStore$data$1$invokeSuspend$$inlined$map$1$2$1;
int i10;
GetFollowUpQuestionUseCaseImpl$invoke$$inlined$filter$1$2$1 getFollowUpQuestionUseCaseImpl$invoke$$inlined$filter$1$2$1;
int i11;
GetFollowUpQuestionUseCaseImpl$invoke$2$invokeSuspend$$inlined$map$1$2$1 getFollowUpQuestionUseCaseImpl$invoke$2$invokeSuspend$$inlined$map$1$2$1;
int i12;
OpenAiClientImpl$generateImage$$inlined$map$1$2$1 openAiClientImpl$generateImage$$inlined$map$1$2$1;
int i13;
int i14 = this.f19627d;
mk.d dVar = this.f19628e;
switch (i14) {
case 0:
if (aVar instanceof SingleProcessDataStore$data$1$invokeSuspend$$inlined$map$1$2$1) {
singleProcessDataStore$data$1$invokeSuspend$$inlined$map$1$2$1 = (SingleProcessDataStore$data$1$invokeSuspend$$inlined$map$1$2$1) aVar;
int i15 = singleProcessDataStore$data$1$invokeSuspend$$inlined$map$1$2$1.f633e;
if ((i15 & Integer.MIN_VALUE) != 0) {
singleProcessDataStore$data$1$invokeSuspend$$inlined$map$1$2$1.f633e = i15 - Integer.MIN_VALUE;
Object obj2 = singleProcessDataStore$data$1$invokeSuspend$$inlined$map$1$2$1.f632d;
CoroutineSingletons coroutineSingletons = CoroutineSingletons.f14087d;
i10 = singleProcessDataStore$data$1$invokeSuspend$$inlined$map$1$2$1.f633e;
if (i10 != 0) {
kotlin.b.b(obj2);
n nVar = (n) obj;
if (nVar instanceof f) {
throw ((f) nVar).f19619a;
}
if (nVar instanceof e) {
throw ((e) nVar).f19618a;
}
if (!(nVar instanceof b)) {
if (nVar instanceof o) {
throw new IllegalStateException("This is a bug in DataStore. Please file a bug at: https://issuetracker.google.com/issues/new?component=907884&template=1466542".toString());
}
throw new NoWhenBranchMatchedException();
}
Object obj3 = ((b) nVar).f19615a;
singleProcessDataStore$data$1$invokeSuspend$$inlined$map$1$2$1.f633e = 1;
if (dVar.emit(obj3, singleProcessDataStore$data$1$invokeSuspend$$inlined$map$1$2$1) == coroutineSingletons) {
return coroutineSingletons;
}
} else if (i10 != 1) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
} else {
kotlin.b.b(obj2);
}
return Unit.f14034a;
}
}
singleProcessDataStore$data$1$invokeSuspend$$inlined$map$1$2$1 = new SingleProcessDataStore$data$1$invokeSuspend$$inlined$map$1$2$1(this, aVar);
Object obj22 = singleProcessDataStore$data$1$invokeSuspend$$inlined$map$1$2$1.f632d;
CoroutineSingletons coroutineSingletons2 = CoroutineSingletons.f14087d;
i10 = singleProcessDataStore$data$1$invokeSuspend$$inlined$map$1$2$1.f633e;
if (i10 != 0) {
}
return Unit.f14034a;
case 1:
if (aVar instanceof GetFollowUpQuestionUseCaseImpl$invoke$$inlined$filter$1$2$1) {
getFollowUpQuestionUseCaseImpl$invoke$$inlined$filter$1$2$1 = (GetFollowUpQuestionUseCaseImpl$invoke$$inlined$filter$1$2$1) aVar;
int i16 = getFollowUpQuestionUseCaseImpl$invoke$$inlined$filter$1$2$1.f2951e;
if ((i16 & Integer.MIN_VALUE) != 0) {
getFollowUpQuestionUseCaseImpl$invoke$$inlined$filter$1$2$1.f2951e = i16 - Integer.MIN_VALUE;
Object obj4 = getFollowUpQuestionUseCaseImpl$invoke$$inlined$filter$1$2$1.f2950d;
CoroutineSingletons coroutineSingletons3 = CoroutineSingletons.f14087d;
i11 = getFollowUpQuestionUseCaseImpl$invoke$$inlined$filter$1$2$1.f2951e;
if (i11 != 0) {
kotlin.b.b(obj4);
if (((String) obj).length() > 0) {
getFollowUpQuestionUseCaseImpl$invoke$$inlined$filter$1$2$1.f2951e = 1;
if (dVar.emit(obj, getFollowUpQuestionUseCaseImpl$invoke$$inlined$filter$1$2$1) == coroutineSingletons3) {
return coroutineSingletons3;
}
}
} else if (i11 != 1) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
} else {
kotlin.b.b(obj4);
}
return Unit.f14034a;
}
}
getFollowUpQuestionUseCaseImpl$invoke$$inlined$filter$1$2$1 = new GetFollowUpQuestionUseCaseImpl$invoke$$inlined$filter$1$2$1(this, aVar);
Object obj42 = getFollowUpQuestionUseCaseImpl$invoke$$inlined$filter$1$2$1.f2950d;
CoroutineSingletons coroutineSingletons32 = CoroutineSingletons.f14087d;
i11 = getFollowUpQuestionUseCaseImpl$invoke$$inlined$filter$1$2$1.f2951e;
if (i11 != 0) {
}
return Unit.f14034a;
case 2:
if (aVar instanceof GetFollowUpQuestionUseCaseImpl$invoke$2$invokeSuspend$$inlined$map$1$2$1) {
getFollowUpQuestionUseCaseImpl$invoke$2$invokeSuspend$$inlined$map$1$2$1 = (GetFollowUpQuestionUseCaseImpl$invoke$2$invokeSuspend$$inlined$map$1$2$1) aVar;
int i17 = getFollowUpQuestionUseCaseImpl$invoke$2$invokeSuspend$$inlined$map$1$2$1.f2954e;
if ((i17 & Integer.MIN_VALUE) != 0) {
getFollowUpQuestionUseCaseImpl$invoke$2$invokeSuspend$$inlined$map$1$2$1.f2954e = i17 - Integer.MIN_VALUE;
Object obj5 = getFollowUpQuestionUseCaseImpl$invoke$2$invokeSuspend$$inlined$map$1$2$1.f2953d;
CoroutineSingletons coroutineSingletons4 = CoroutineSingletons.f14087d;
i12 = getFollowUpQuestionUseCaseImpl$invoke$2$invokeSuspend$$inlined$map$1$2$1.f2954e;
if (i12 != 0) {
kotlin.b.b(obj5);
String d10 = ((Message) obj).d();
getFollowUpQuestionUseCaseImpl$invoke$2$invokeSuspend$$inlined$map$1$2$1.f2954e = 1;
if (dVar.emit(d10, getFollowUpQuestionUseCaseImpl$invoke$2$invokeSuspend$$inlined$map$1$2$1) == coroutineSingletons4) {
return coroutineSingletons4;
}
} else if (i12 != 1) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
} else {
kotlin.b.b(obj5);
}
return Unit.f14034a;
}
}
getFollowUpQuestionUseCaseImpl$invoke$2$invokeSuspend$$inlined$map$1$2$1 = new GetFollowUpQuestionUseCaseImpl$invoke$2$invokeSuspend$$inlined$map$1$2$1(this, aVar);
Object obj52 = getFollowUpQuestionUseCaseImpl$invoke$2$invokeSuspend$$inlined$map$1$2$1.f2953d;
CoroutineSingletons coroutineSingletons42 = CoroutineSingletons.f14087d;
i12 = getFollowUpQuestionUseCaseImpl$invoke$2$invokeSuspend$$inlined$map$1$2$1.f2954e;
if (i12 != 0) {
}
return Unit.f14034a;
case 3:
if (aVar instanceof OpenAiClientImpl$generateImage$$inlined$map$1$2$1) {
openAiClientImpl$generateImage$$inlined$map$1$2$1 = (OpenAiClientImpl$generateImage$$inlined$map$1$2$1) aVar;
int i18 = openAiClientImpl$generateImage$$inlined$map$1$2$1.f5239e;
if ((i18 & Integer.MIN_VALUE) != 0) {
openAiClientImpl$generateImage$$inlined$map$1$2$1.f5239e = i18 - Integer.MIN_VALUE;
Object obj6 = openAiClientImpl$generateImage$$inlined$map$1$2$1.f5238d;
CoroutineSingletons coroutineSingletons5 = CoroutineSingletons.f14087d;
i13 = openAiClientImpl$generateImage$$inlined$map$1$2$1.f5239e;
if (i13 != 0) {
kotlin.b.b(obj6);
GenerateImageResult generateImageResult = (GenerateImageResult) obj;
Intrinsics.checkNotNullParameter(generateImageResult, "<this>");
String stage = generateImageResult.getData().getStage();
GenerateImageResult.Data.Image image = generateImageResult.getData().getImage();
String getUrl = image != null ? image.getGetUrl() : null;
GenerateImageResult.Data.Image image2 = generateImageResult.getData().getImage();
Message.BotAnswer.Visualization visualization = new Message.BotAnswer.Visualization(stage, getUrl, image2 != null ? image2.getDelUrl() : null, null, 8);
openAiClientImpl$generateImage$$inlined$map$1$2$1.f5239e = 1;
if (dVar.emit(visualization, openAiClientImpl$generateImage$$inlined$map$1$2$1) == coroutineSingletons5) {
return coroutineSingletons5;
}
} else if (i13 != 1) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
} else {
kotlin.b.b(obj6);
}
return Unit.f14034a;
}
}
openAiClientImpl$generateImage$$inlined$map$1$2$1 = new OpenAiClientImpl$generateImage$$inlined$map$1$2$1(this, aVar);
Object obj62 = openAiClientImpl$generateImage$$inlined$map$1$2$1.f5238d;
CoroutineSingletons coroutineSingletons52 = CoroutineSingletons.f14087d;
i13 = openAiClientImpl$generateImage$$inlined$map$1$2$1.f5239e;
if (i13 != 0) {
}
return Unit.f14034a;
default:
Object emit = dVar.emit((GenerateImageResult) obj, aVar);
return emit == CoroutineSingletons.f14087d ? emit : Unit.f14034a;
}
}
}