正在查看: Crafto v9.3.3 应用的 SupportComposeActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Crafto v9.3.3 应用的 SupportComposeActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.crafto.android.ui.support;
import Bb.a;
import Eb.z0;
import Hb.H;
import Pa.C1253k0;
import android.content.ContextWrapper;
import android.content.Intent;
import android.os.Bundle;
import androidx.activity.ComponentActivity;
import androidx.compose.runtime.Composer;
import androidx.lifecycle.u0;
import androidx.lifecycle.v0;
import androidx.lifecycle.x0;
import com.crafto.android.data.model.User;
import com.crafto.android.ui.home.C1808p1;
import com.crafto.android.ui.splash.RouteActivity;
import com.crafto.android.utility.PreferencesHelper;
import java.util.HashMap;
import k9.C2435c;
import kotlin.Metadata;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function2;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.Lambda;
import kotlin.jvm.internal.Reflection;
import kotlin.jvm.internal.SourceDebugExtension;
import l9.C2559c;
import org.jetbrains.annotations.NotNull;
@Metadata
@SourceDebugExtension({"SMAP\nSupportComposeActivity.kt\nKotlin\n*S Kotlin\n*F\n+ 1 SupportComposeActivity.kt\ncom/crafto/android/ui/support/SupportComposeActivity\n+ 2 ActivityViewModelLazy.kt\nandroidx/activity/ActivityViewModelLazyKt\n*L\n1#1,659:1\n75#2,13:660\n75#2,13:673\n*S KotlinDebug\n*F\n+ 1 SupportComposeActivity.kt\ncom/crafto/android/ui/support/SupportComposeActivity\n*L\n125#1:660,13\n127#1:673,13\n*E\n"})
public final class SupportComposeActivity extends Hilt_SupportComposeActivity {
public static final int m = 0;
public PreferencesHelper g;
public H h;
public String i;
public i.c<Intent> j;
@NotNull
public final u0 k = new u0(Reflection.getOrCreateKotlinClass(C2559c.class), new d(this), new c(this), new e(this));
@NotNull
public final u0 l = new u0(Reflection.getOrCreateKotlinClass(C1808p1.class), new g(this), new f(this), new h(this));
public static final class a {
@NotNull
public static Intent a(@NotNull ContextWrapper contextWrapper, User user, Boolean bool, String str, Boolean bool2) {
Intrinsics.checkNotNullParameter(contextWrapper, "context");
Intent intent = new Intent(contextWrapper, (Class<?>) SupportComposeActivity.class);
Bundle bundle = new Bundle();
bundle.putSerializable("extra_user", user);
intent.putExtras(bundle);
intent.putExtra("coming_from_login", bool);
intent.putExtra("extra_update_profile", bool2);
intent.putExtra("phone_number", str);
return intent;
}
}
public static final class b implements Function2<Composer, Integer, Unit> {
public b() {
}
public final Object invoke(Object obj, Object obj2) {
Composer composer = (Composer) obj;
if ((((Number) obj2).intValue() & 11) == 2 && composer.i()) {
composer.F();
} else {
C2435c.a(false, false, k0.b.c(-735327194, new com.crafto.android.ui.support.d(SupportComposeActivity.this), composer), composer, 384, 3);
}
return Unit.a;
}
}
public static final class c extends Lambda implements Function0<v0.b> {
public final ComponentActivity a;
public c(ComponentActivity componentActivity) {
super(0);
this.a = componentActivity;
}
public final Object invoke() {
return this.a.getDefaultViewModelProviderFactory();
}
}
public static final class d extends Lambda implements Function0<x0> {
public final ComponentActivity a;
public d(ComponentActivity componentActivity) {
super(0);
this.a = componentActivity;
}
public final Object invoke() {
return this.a.getViewModelStore();
}
}
public static final class e extends Lambda implements Function0<y2.a> {
public final ComponentActivity a;
public e(ComponentActivity componentActivity) {
super(0);
this.a = componentActivity;
}
public final Object invoke() {
return this.a.getDefaultViewModelCreationExtras();
}
}
public static final class f extends Lambda implements Function0<v0.b> {
public final ComponentActivity a;
public f(ComponentActivity componentActivity) {
super(0);
this.a = componentActivity;
}
public final Object invoke() {
return this.a.getDefaultViewModelProviderFactory();
}
}
public static final class g extends Lambda implements Function0<x0> {
public final ComponentActivity a;
public g(ComponentActivity componentActivity) {
super(0);
this.a = componentActivity;
}
public final Object invoke() {
return this.a.getViewModelStore();
}
}
public static final class h extends Lambda implements Function0<y2.a> {
public final ComponentActivity a;
public h(ComponentActivity componentActivity) {
super(0);
this.a = componentActivity;
}
public final Object invoke() {
return this.a.getDefaultViewModelCreationExtras();
}
}
@NotNull
public final PreferencesHelper E() {
PreferencesHelper preferencesHelper = this.g;
if (preferencesHelper != null) {
return preferencesHelper;
}
Intrinsics.throwUninitializedPropertyAccessException("preferencesHelper");
return null;
}
@NotNull
public final C2559c F() {
return (C2559c) this.k.getValue();
}
@Override
public final void onCreate(Bundle bundle) {
User E;
String displayNameFromNames;
super.onCreate(bundle);
this.j = registerForActivityResult(new j.g(), new C1253k0(this, 1));
try {
Bb.a aVar = this.a;
if (aVar == null) {
Intrinsics.throwUninitializedPropertyAccessException("analyticsEventHelper");
aVar = null;
}
a.a aVar2 = new a.a(aVar, "Landed", "Support Screen", "", 2040);
String f2 = C().f();
if (f2 != null) {
aVar2.k = f2;
}
HashMap hashMap = new HashMap();
hashMap.put("Is Premium Member", Boolean.valueOf(RouteActivity.V1));
hashMap.put("Source", "");
if (Intrinsics.areEqual("Support Screen", "Home Screen") && (E = C().E()) != null && (displayNameFromNames = E.getDisplayNameFromNames()) != null) {
hashMap.put("Is Name Hindi", Boolean.valueOf(z0.e(displayNameFromNames)));
hashMap.put("Is Name English", Boolean.valueOf(z0.d(displayNameFromNames)));
}
aVar2.j = hashMap;
aVar2.a();
} catch (Exception e2) {
do.a.a.e(e2);
}
g.g.a(this, new k0.a(-1141297634, true, new b()));
}
}