导航菜单

页面标题

页面副标题

Housing v14.7.8 - m.java 源代码

正在查看: Housing v14.7.8 应用的 m.java JAVA 源代码文件

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


package pc;

import com.locon.core.data.sharedDtos.SliceApiResponseDto;
import com.locon.core.domain.model.CurrentEventsModel;
import com.locon.core.domain.model.SliceApiModel;
import com.locon.home.presentation.ui.components.sections.t2;
import java.util.List;
import kotlin.Metadata;
import kotlin.collections.t;
import kotlin.jvm.internal.r;
import kotlin.text.q;
import org.jetbrains.annotations.NotNull;

@Metadata(d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0018\u0002\n\u0002\b\u0005\u0018\u00002\u00020\u0001B\u000f\u0012\u0006\u0010\u0003\u001a\u00020\u0002¢\u0006\u0004\b\u0004\u0010\u0005R\u0014\u0010\u0003\u001a\u00020\u00028\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0003\u0010\u0006¨\u0006\u0007"}, d2 = {"Lpc/m;", "", "Lcom/locon/core/data/sharedDtos/SliceApiResponseDto;", "sliceApiResponseDto", "<init>", "(Lcom/locon/core/data/sharedDtos/SliceApiResponseDto;)V", "Lcom/locon/core/data/sharedDtos/SliceApiResponseDto;", "core_gammaRelease"}, k = t2.HOUSE_RENT_ID, mv = {t2.OFFICE_RENT_ID, 0, 0}, xi = 48)
public final class m {

    @NotNull
    private final SliceApiResponseDto sliceApiResponseDto;

    public m(@NotNull SliceApiResponseDto sliceApiResponseDto) {
        r.k(sliceApiResponseDto, "sliceApiResponseDto");
        this.sliceApiResponseDto = sliceApiResponseDto;
    }

    public final SliceApiModel a() {
        List currentEvents;
        SliceApiResponseDto.CurrentEvent currentEvent;
        SliceApiResponseDto.CurrentEvent.AppHookImages appHookImages;
        List currentEvents2;
        SliceApiResponseDto.CurrentEvent currentEvent2;
        List landingUrls;
        SliceApiResponseDto.CurrentEventData currentEventData = this.sliceApiResponseDto.getCurrentEventData();
        String str = null;
        String str2 = (currentEventData == null || (currentEvents2 = currentEventData.getCurrentEvents()) == null || (currentEvent2 = (SliceApiResponseDto.CurrentEvent) t.G(currentEvents2)) == null || (landingUrls = currentEvent2.getLandingUrls()) == null) ? null : (String) t.G(landingUrls);
        String str3 = "";
        String concat = (str2 == null || str2.length() == 0) ? "" : "https://housing.com/events/".concat(str2);
        SliceApiResponseDto.CurrentEventData currentEventData2 = this.sliceApiResponseDto.getCurrentEventData();
        if (currentEventData2 != null && (currentEvents = currentEventData2.getCurrentEvents()) != null && (currentEvent = (SliceApiResponseDto.CurrentEvent) t.G(currentEvents)) != null && (appHookImages = currentEvent.getAppHookImages()) != null) {
            str = appHookImages.getSearchFix();
        }
        if (str != null && str.length() != 0) {
            str3 = q.P(str, "version", "medium", false);
        }
        return new SliceApiModel(new CurrentEventsModel("Mumbai", concat, str3));
    }
}