ChatOn v1.35.366360版本的 MD5 值为:cde28447b38d5467efa95e48e7076155
以下内容为反编译后的 a.java 源代码,内容仅作参考
package k4;
import ai.chat.gpt.bot.R;
import android.content.Context;
import android.net.Uri;
import android.text.TextPaint;
import android.text.style.ClickableSpan;
import android.view.View;
import b0.i;
import com.aiby.feature_onboarding.presentation.OnboardingFragment;
import kotlin.jvm.internal.Intrinsics;
public final class a extends ClickableSpan {
public final int f13720d;
public final OnboardingFragment f13721e;
public a(OnboardingFragment onboardingFragment, int i10) {
this.f13720d = i10;
this.f13721e = onboardingFragment;
}
@Override
public final void onClick(View view) {
int i10 = this.f13720d;
OnboardingFragment onboardingFragment = this.f13721e;
switch (i10) {
case 0:
Intrinsics.checkNotNullParameter(view, "view");
com.aiby.feature_onboarding.presentation.a q10 = onboardingFragment.q();
q10.getClass();
Uri parse = Uri.parse("https://aiby.mobi/chat_android/privacy");
Intrinsics.checkNotNullExpressionValue(parse, "parse(...)");
q10.d(new e(parse));
return;
default:
Intrinsics.checkNotNullParameter(view, "view");
com.aiby.feature_onboarding.presentation.a q11 = onboardingFragment.q();
q11.getClass();
Uri parse2 = Uri.parse("https://aiby.mobi/chat_android/terms");
Intrinsics.checkNotNullExpressionValue(parse2, "parse(...)");
q11.d(new e(parse2));
return;
}
}
@Override
public final void updateDrawState(TextPaint ds) {
int i10 = this.f13720d;
OnboardingFragment onboardingFragment = this.f13721e;
switch (i10) {
case 0:
Intrinsics.checkNotNullParameter(ds, "ds");
Context requireContext = onboardingFragment.requireContext();
Object obj = i.f1702a;
ds.linkColor = b0.d.a(requireContext, R.color.colorMainsPrimary30);
super.updateDrawState(ds);
return;
default:
Intrinsics.checkNotNullParameter(ds, "ds");
Context requireContext2 = onboardingFragment.requireContext();
Object obj2 = i.f1702a;
ds.linkColor = b0.d.a(requireContext2, R.color.colorMainsPrimary30);
super.updateDrawState(ds);
return;
}
}
}