导航菜单

页面标题

页面副标题

Crafto v9.3.3 - C2744h0.java 源代码

正在查看: Crafto v9.3.3 应用的 C2744h0.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package Pa;

import Ab.C0896d;
import Xk.c;
import android.graphics.Typeface;
import com.crafto.android.data.model.FontData;
import com.crafto.android.data.model.QuoteData;
import com.crafto.android.data.model.User;
import com.crafto.android.ui.home.D7;
import com.crafto.android.usa.data.model.PostMedia;
import com.crafto.android.utility.a;
import com.yalantis.ucrop.view.CropImageView;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Locale;
import kotlin.Unit;
import kotlin.collections.C6430o;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.Intrinsics;
import p003do.a;

public final class C2744h0 implements Function0 {

    public final int f23040a;

    public final Object f23041b;

    public final Object f23042c;

    public C2744h0(int i10, Object obj, Object obj2) {
        this.f23040a = i10;
        this.f23041b = obj;
        this.f23042c = obj2;
    }

    @Override
    public final Object invoke() {
        String str;
        String str2;
        Float valueOf;
        String country;
        String country2;
        Object obj = this.f23042c;
        Object obj2 = this.f23041b;
        switch (this.f23040a) {
            case 0:
                com.crafto.android.usa.ui.login.d this$0 = (com.crafto.android.usa.ui.login.d) obj;
                Intrinsics.checkNotNullParameter(this$0, "this$0");
                ArrayList arrayList = (ArrayList) obj2;
                if (arrayList != null && !arrayList.isEmpty()) {
                    com.crafto.android.usa.ui.base.a.j0(this$0, "Log", "Login", null, ((PostMedia) arrayList.get(0)).getMediaURL(), "logFirstContent", 0, null, 996);
                }
                break;
            default:
                boolean z10 = D7.f46280Q4;
                D7 this$02 = (D7) obj2;
                Intrinsics.checkNotNullParameter(this$02, "this$0");
                QuoteData data = (QuoteData) obj;
                Intrinsics.checkNotNullParameter(data, "$data");
                String[] strArr = Ab.u.f792e;
                c.a aVar = Xk.c.f31426a;
                String str3 = (String) C6430o.B(strArr, aVar);
                HashMap<String, Float> hashMap = Ab.u.f789b;
                hashMap.get(str3);
                User E10 = this$02.e2().E();
                String str4 = null;
                if (E10 == null || (country2 = E10.getCountry()) == null) {
                    str = null;
                } else {
                    str = country2.toLowerCase(Locale.ROOT);
                    Intrinsics.checkNotNullExpressionValue(str, "toLowerCase(...)");
                }
                String str5 = a.e.f53909D0;
                Locale locale = Locale.ROOT;
                if (B.O.c(str5, locale, "toLowerCase(...)", str)) {
                    str2 = (String) C6430o.B(strArr, aVar);
                    valueOf = hashMap.get(str2);
                } else {
                    String[] strArr2 = Ab.u.f793f;
                    data.setFont((String) C6430o.B(strArr2, aVar));
                    str2 = (String) C6430o.B(strArr2, aVar);
                    valueOf = Float.valueOf(CropImageView.DEFAULT_ASPECT_RATIO);
                }
                String str6 = str2;
                a.C0601a c0601a = p003do.a.f61810a;
                c0601a.c("spacing " + valueOf, new Object[0]);
                data.setFontData(new FontData(Typeface.createFromAsset(Eb.E.a(this$02).getAssets(), str6), str6, valueOf != null ? valueOf.floatValue() : CropImageView.DEFAULT_ASPECT_RATIO, CropImageView.DEFAULT_ASPECT_RATIO, false, 0, 24, null));
                String str7 = (String) C6430o.B(Ab.u.f796i, aVar);
                Double d10 = Ab.u.f797j.get(str7);
                data.setContentFont(str7);
                if (d10 == null) {
                    d10 = 20;
                }
                data.setContentFontSize(d10.doubleValue());
                User E11 = this$02.e2().E();
                if (E11 != null && (country = E11.getCountry()) != null) {
                    str4 = country.toLowerCase(locale);
                    Intrinsics.checkNotNullExpressionValue(str4, "toLowerCase(...)");
                }
                if (B.O.c(str5, locale, "toLowerCase(...)", str4)) {
                    data.setContentFontSize(20.0d);
                }
                data.setBackgroundStyle((C0896d.a) C6430o.B(new C0896d.a[]{C0896d.a.COLOR, C0896d.a.BACKGROUND_COLOR, C0896d.a.FRAME, C0896d.a.BLUR, C0896d.a.SHADOW, C0896d.a.BOX}, aVar));
                c0601a.c("getHardcodedFrame", new Object[0]);
                data.setQuoteFrameUrl((String) C6430o.B(new String[]{"https://media.crafto.app/home/e25ba18c-c2a3-4f5d-b02a-73d931636841", "https://media.crafto.app/home/0ea842bb-e853-4bc0-9bf8-6d86e2fa38c4", "https://media.crafto.app/home/593486d8-05c1-4a35-b700-7ec054bfc23f", "https://media.crafto.app/home/bee9005e-349e-41ed-ad04-0f8719349f36", "https://media.crafto.app/home/85891dec-07b6-4ef0-81d9-74cc75758bc9", "https://media.crafto.app/home/af654912-883b-4285-8b41-f9e62997e957", "https://media.crafto.app/home/906e42be-dd02-4b22-bd2f-2136ede8d08c", "https://media.crafto.app/home/8b93da43-67ab-46f7-87d6-4293db9f2bd1", "https://media.crafto.app/home/7e563352-9abb-46d7-995f-e412b8bef63c", "https://media.crafto.app/home/f58e8857-4ec3-4b99-9850-915e0a3bf6f6", "https://media.crafto.app/home/f51d80a5-5774-456c-a7b1-899c5bb93420", "https://media.crafto.app/home/90694d6b-1fce-4314-bc96-209005b16c8e", "https://media.crafto.app/home/b7aadbbd-1438-43e9-9dc3-0c2bef6d5557", "https://media.crafto.app/home/84b16408-e8de-4efa-87e1-cd101d517081", "https://media.crafto.app/home/5d800dc7-6b8e-45e5-bc8e-2469a8ce60dd", "https://media.crafto.app/home/7c241fcd-bb66-478a-8188-d99020966ec3", "https://media.crafto.app/home/a5c2f43b-9627-4617-adaa-2fac139f60a6", "https://media.crafto.app/home/b5465913-060e-4dce-b7f4-2fa66bed96d2", "https://media.crafto.app/home/79f0a2e3-0154-49b8-88a6-8b97afad0c18", "https://media.crafto.app/home/92e4e16c-7558-42ec-8a65-cd9612c0ded5", "https://media.crafto.app/home/586398dc-fa9d-4add-95e6-5abdf02da63b", "https://media.crafto.app/home/9a9fe45b-399a-4e39-af66-1c742f9fc74b", "https://media.crafto.app/home/0be34976-f3b5-412c-83f4-2d5698fdf48e", "https://media.crafto.app/home/c72973cf-a8ed-4f06-94b4-bce28b623397", "https://media.crafto.app/diwalimithai/c4b1e5df-f65b-4344-a8aa-c8e0b049c8c5", "https://media.crafto.app/diwalimithai/88a110b4-aff9-453a-83e3-6dd92c5e0bfc", "https://media.crafto.app/diwalimithai/42ea83e5-0b28-4729-9c39-773eb751a6b1", "https://media.crafto.app/diwalimithai/686eacc3-d896-4764-b13e-5db10425bd89", "https://media.crafto.app/diwalimithai/03a69d9f-67db-44b1-8cf4-ed63f6c56c8f", "https://media.crafto.app/diwalimithai/fb3d93c8-a616-44a6-a5a1-d64cae20f12a"}, aVar));
                c0601a.c("fontsForTextTitle_ " + data.getFont() + " , data.contentFontSize " + data.getContentFontSize(), new Object[0]);
                break;
        }
        return Unit.f69574a;
    }
}