导航菜单

页面标题

页面副标题

Housing v14.7.8 - d9.java 源代码

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

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


package com.locon.presentation.ui.viewmodels;

import androidx.compose.runtime.internal.StabilityInferred;
import androidx.exifinterface.media.ExifInterface;
import androidx.media3.datasource.cache.p;
import androidx.view.w0;
import com.cashfree.pg.core.hidden.utils.Constants;
import com.locon.core.data.CtaConfigDetail;
import com.locon.core.data.Result;
import com.locon.core.data.i0;
import com.locon.core.data.l;
import com.locon.core.data.local.datastore.Filter;
import com.locon.core.data.local.datastore.FilterAttr;
import com.locon.core.data.local.datastore.FilterAttrBoolean;
import com.locon.core.data.local.datastore.FilterAttrList;
import com.locon.core.data.local.datastore.FilterAttrMinMax;
import com.locon.core.data.local.datastore.k2;
import com.locon.core.data.local.datastore.m;
import com.locon.core.data.local.datastore.o0;
import com.locon.core.data.local.datastore.u1;
import com.locon.core.data.o1;
import com.locon.core.data.sharedmodels.DroppedLead;
import com.locon.core.data.sharedmodels.SeenVideoIdsModel;
import com.locon.core.data.sharedmodels.ShareShortenedUrlData;
import com.locon.core.data.sharedmodels.ShareViaModel;
import com.locon.core.data.sharedmodels.housingVideos.HousingVideosFilterPassingModel;
import com.locon.core.data.sharedmodels.housingVideos.HousingVideosModel;
import com.locon.core.data.sharedmodels.housingVideos.HousingVideosPassingModel;
import com.locon.core.domain.c;
import com.locon.core.domain.q0;
import com.locon.core.utils.x;
import com.locon.coreUI.utils.b;
import com.locon.crf.domain.usecases.CrfUseCases;
import com.locon.crf.presentation.ui.handlers.f0;
import com.locon.domain.models.HousingVideosScreenState;
import com.locon.domain.usecases.SerpUseCases;
import com.locon.presentation.analytics.a;
import com.locon.presentation.ui.viewmodels.HousingVideosEvents;
import dagger.hilt.android.lifecycle.HiltViewModel;
import ed.d;
import java.io.Serializable;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import javax.inject.Inject;
import kotlin.Lazy;
import kotlin.Metadata;
import kotlin.collections.g0;
import kotlin.collections.t;
import kotlin.collections.t0;
import kotlin.jvm.internal.SourceDebugExtension;
import kotlin.jvm.internal.r;
import kotlinx.coroutines.flow.internal.y;
import kotlinx.coroutines.flow.p2;
import kotlinx.coroutines.flow.s2;
import kotlinx.coroutines.flow.v0;
import kotlinx.coroutines.flow.w1;
import kotlinx.coroutines.k;
import kotlinx.coroutines.v1;
import kotlinx.coroutines.z0;
import m3.f;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import rb.e;
import sc.d0;
import zp.j0;
import zp.q;
import zp.s;
import zp.u;

@StabilityInferred(parameters = 0)
@HiltViewModel
@Metadata(d1 = {"\u0000ä\u0001\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0012\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010$\n\u0002\u0010\u000e\n\u0002\u0010 \n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\u000b\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\t\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0007\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001Bq\b\u0007\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0006\u001a\u00020\u0005\u0012\u0006\u0010\b\u001a\u00020\u0007\u0012\u0006\u0010\n\u001a\u00020\t\u0012\u0006\u0010\f\u001a\u00020\u000b\u0012\u0006\u0010\u000e\u001a\u00020\r\u0012\u0006\u0010\u0010\u001a\u00020\u000f\u0012\u0006\u0010\u0012\u001a\u00020\u0011\u0012\u0006\u0010\u0014\u001a\u00020\u0013\u0012\u0006\u0010\u0016\u001a\u00020\u0015\u0012\u0006\u0010\u0018\u001a\u00020\u0017\u0012\u0006\u0010\u001a\u001a\u00020\u0019\u0012\u0006\u0010\u001c\u001a\u00020\u001b¢\u0006\u0004\b\u001d\u0010\u001eR\u0017\u0010\u0004\u001a\u00020\u00038\u0006¢\u0006\f\n\u0004\b\u0004\u0010\u001f\u001a\u0004\b \u0010!R\u0014\u0010\u0006\u001a\u00020\u00058\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0006\u0010\"R\u0014\u0010\b\u001a\u00020\u00078\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\b\u0010#R\u0014\u0010\n\u001a\u00020\t8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\n\u0010$R\u0014\u0010\f\u001a\u00020\u000b8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\f\u0010%R\u0014\u0010\u000e\u001a\u00020\r8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u000e\u0010&R\u0014\u0010\u0010\u001a\u00020\u000f8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0010\u0010'R\u0014\u0010\u0012\u001a\u00020\u00118\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0012\u0010(R\u0014\u0010\u0014\u001a\u00020\u00138\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0014\u0010)R\u0014\u0010\u0016\u001a\u00020\u00158\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0016\u0010*R\u0014\u0010\u0018\u001a\u00020\u00178\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0018\u0010+R\u0014\u0010\u001a\u001a\u00020\u00198\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u001a\u0010,R\u0014\u0010\u001c\u001a\u00020\u001b8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u001c\u0010-R\u0016\u0010/\u001a\u00020.8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b/\u00100R\u001a\u00103\u001a\b\u0012\u0004\u0012\u000202018\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b3\u00104R\u001d\u00106\u001a\b\u0012\u0004\u0012\u000202058\u0006¢\u0006\f\n\u0004\b6\u00107\u001a\u0004\b8\u00109R\u001a\u0010;\u001a\b\u0012\u0004\u0012\u00020:018\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b;\u00104R\u001d\u0010<\u001a\b\u0012\u0004\u0012\u00020:058\u0006¢\u0006\f\n\u0004\b<\u00107\u001a\u0004\b=\u00109R\u001a\u0010?\u001a\b\u0012\u0004\u0012\u00020>018\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b?\u00104R\u001d\u0010@\u001a\b\u0012\u0004\u0012\u00020>058\u0006¢\u0006\f\n\u0004\b@\u00107\u001a\u0004\bA\u00109R,\u0010E\u001a\u001a\u0012\u0016\u0012\u0014\u0012\u0004\u0012\u00020C\u0012\n\u0012\b\u0012\u0004\u0012\u00020C0D0B018\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\bE\u00104R/\u0010F\u001a\u001a\u0012\u0016\u0012\u0014\u0012\u0004\u0012\u00020C\u0012\n\u0012\b\u0012\u0004\u0012\u00020C0D0B058\u0006¢\u0006\f\n\u0004\bF\u00107\u001a\u0004\bG\u00109R\u001a\u0010H\u001a\b\u0012\u0004\u0012\u00020C018\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\bH\u00104R\u001d\u0010I\u001a\b\u0012\u0004\u0012\u00020C058\u0006¢\u0006\f\n\u0004\bI\u00107\u001a\u0004\bJ\u00109R\u001a\u0010L\u001a\b\u0012\u0004\u0012\u00020K018\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\bL\u00104R\u001d\u0010M\u001a\b\u0012\u0004\u0012\u00020K058\u0006¢\u0006\f\n\u0004\bM\u00107\u001a\u0004\bN\u00109R\u001a\u0010P\u001a\b\u0012\u0004\u0012\u00020O018\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\bP\u00104R\u001d\u0010Q\u001a\b\u0012\u0004\u0012\u00020O058\u0006¢\u0006\f\n\u0004\bQ\u00107\u001a\u0004\bR\u00109R\u0016\u0010S\u001a\u00020C8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\bS\u0010TR\u0016\u0010U\u001a\u00020C8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\bU\u0010TR\u0016\u0010V\u001a\u00020C8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\bV\u0010TR\u0016\u0010W\u001a\u00020O8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\bW\u0010XR\u0016\u0010Y\u001a\u00020O8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\bY\u0010XR\u0016\u0010Z\u001a\u00020O8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\bZ\u0010XR$\u0010]\u001a\u0010\u0012\u0004\u0012\u00020>\u0012\u0004\u0012\u00020\\\u0018\u00010[8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b]\u0010^R\u0016\u0010_\u001a\u00020C8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b_\u0010TR\u001c\u0010`\u001a\b\u0012\u0004\u0012\u00020C0D8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b`\u0010aR\u0018\u0010c\u001a\u0004\u0018\u00010b8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\bc\u0010dR\u0016\u0010f\u001a\u00020e8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\bf\u0010gR\u0016\u0010h\u001a\u00020e8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\bh\u0010gR \u0010j\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020i0D018\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\bj\u00104R#\u0010k\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020i0D058\u0006¢\u0006\f\n\u0004\bk\u00107\u001a\u0004\bl\u00109R\u001a\u0010n\u001a\b\u0012\u0004\u0012\u00020m018\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\bn\u00104R\u001d\u0010o\u001a\b\u0012\u0004\u0012\u00020m058\u0006¢\u0006\f\n\u0004\bo\u00107\u001a\u0004\bp\u00109R\u001a\u0010q\u001a\b\u0012\u0004\u0012\u00020O018\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\bq\u00104R\u001d\u0010r\u001a\b\u0012\u0004\u0012\u00020O058\u0006¢\u0006\f\n\u0004\br\u00107\u001a\u0004\bg\u00109R\u001b\u0010x\u001a\u00020s8BX\u0082\u0084\u0002¢\u0006\f\n\u0004\bt\u0010u\u001a\u0004\bv\u0010wR\u0018\u0010z\u001a\u0004\u0018\u00010y8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\bz\u0010{¨\u0006|"}, d2 = {"Lcom/locon/presentation/ui/viewmodels/d9;", "Led/d;", "Lcom/locon/presentation/ui/viewmodels/HousingVideosEvents;", "Landroidx/media3/datasource/cache/p;", "simpleCache", "Lcom/locon/data/cache/d;", "storyCachingService", "Lcom/locon/domain/usecases/SerpUseCases;", "serpUseCases", "Lcom/locon/core/data/share/b;", "iShareVia", "Lcom/locon/core/domain/q0;", "saveSeenVideosIdsUseCase", "Lcom/locon/core/domain/c;", "favoriteCommonUseCase", "Lcom/locon/core/data/local/datastore/m;", "filterDataStore", "Lcom/locon/core/data/local/datastore/o0;", "preferenceDataStore", "Lcom/locon/crf/domain/usecases/CrfUseCases;", "crfUseCases", "Lcom/locon/coreUI/utils/b;", "agentContactManager", "Lcom/locon/presentation/analytics/a;", Constants.CONFIG_ANALYTICS, "Lcom/locon/core/data/l;", "connectivityManager", "Lcom/locon/core/utils/x;", "npHomePageNudgeUtils", "<init>", "(Landroidx/media3/datasource/cache/p;Lcom/locon/data/cache/d;Lcom/locon/domain/usecases/SerpUseCases;Lcom/locon/core/data/share/b;Lcom/locon/core/domain/q0;Lcom/locon/core/domain/c;Lcom/locon/core/data/local/datastore/m;Lcom/locon/core/data/local/datastore/o0;Lcom/locon/crf/domain/usecases/CrfUseCases;Lcom/locon/coreUI/utils/b;Lcom/locon/presentation/analytics/a;Lcom/locon/core/data/l;Lcom/locon/core/utils/x;)V", "Landroidx/media3/datasource/cache/p;", "H", "()Landroidx/media3/datasource/cache/p;", "Lcom/locon/data/cache/d;", "Lcom/locon/domain/usecases/SerpUseCases;", "Lcom/locon/core/data/share/b;", "Lcom/locon/core/domain/q0;", "Lcom/locon/core/domain/c;", "Lcom/locon/core/data/local/datastore/m;", "Lcom/locon/core/data/local/datastore/o0;", "Lcom/locon/crf/domain/usecases/CrfUseCases;", "Lcom/locon/coreUI/utils/b;", "Lcom/locon/presentation/analytics/a;", "Lcom/locon/core/data/l;", "Lcom/locon/core/utils/x;", "Lcom/locon/core/data/local/datastore/u1;", "iFilterStore", "Lcom/locon/core/data/local/datastore/u1;", "Lkotlinx/coroutines/flow/w1;", "Lcom/locon/domain/models/HousingVideosScreenState;", "_housingVideosScreenState", "Lkotlinx/coroutines/flow/w1;", "Lkotlinx/coroutines/flow/p2;", "housingVideosScreenState", "Lkotlinx/coroutines/flow/p2;", "B", "()Lkotlinx/coroutines/flow/p2;", "Lcom/locon/presentation/ui/viewmodels/h8;", "_housingVideosPagination", "housingVideosPagination", ExifInterface.GPS_MEASUREMENT_IN_PROGRESS, "Lsc/d0;", "_serviceType", "serviceType", "G", "", "", "", "_allFavouriteProperties", "allFavouriteProperties", "x", "_loginAuthToken", "loginAuthToken", ExifInterface.LONGITUDE_EAST, "Lcom/locon/core/data/sharedmodels/housingVideos/HousingVideosPassingModel;", "_latestHousingVideosModel", "latestHousingVideosModel", "C", "", "_isFilterApplied", "isFilterApplied", "K", "videoProductType", "Ljava/lang/String;", "boostedPropertyId", "logPageTypeMajor", "isHonourFilters", "Z", "isFilterEnabled", "isHonourFilterWithCurrentSelectedCity", "Lzp/s;", "Lcom/locon/core/data/local/datastore/Filter;", "filterPair", "Lzp/s;", "cityUUID", "seenVideoIDs", "Ljava/util/List;", "Lcom/locon/presentation/ui/viewmodels/ff;", "videoLike", "Lcom/locon/presentation/ui/viewmodels/ff;", "", "loadEndTime", "J", "loadStartTime", "Lcom/locon/core/data/sharedmodels/DroppedLead;", "_leadDroppedProperties", "leadDroppedProperties", "D", "Lcom/locon/core/data/CtaConfigDetail;", "_ctaConfigDetail", "ctaConfigDetail", "z", "_isBottomSheetVisible", "isBottomSheetVisible", "Lcom/locon/crf/presentation/ui/handlers/f0;", "previousLeadHandler$delegate", "Lkotlin/Lazy;", "getPreviousLeadHandler", "()Lcom/locon/crf/presentation/ui/handlers/f0;", "previousLeadHandler", "Lkotlinx/coroutines/v1;", "job", "Lkotlinx/coroutines/v1;", "presentation_gammaRelease"}, k = 1, mv = {2, 0, 0}, xi = 48)
@SourceDebugExtension({"SMAP\nHousingVideosViewModel.kt\nKotlin\n*S Kotlin\n*F\n+ 1 HousingVideosViewModel.kt\ncom/locon/presentation/ui/viewmodels/HousingVideosViewModel\n+ 2 StateFlow.kt\nkotlinx/coroutines/flow/StateFlowKt\n+ 3 _Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n+ 4 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,777:1\n230#2,5:778\n230#2,5:783\n230#2,5:788\n230#2,5:793\n230#2,5:800\n230#2,5:805\n230#2,5:810\n230#2,5:815\n230#2,5:820\n230#2,5:825\n230#2,5:830\n1869#3,2:798\n1#4:835\n*S KotlinDebug\n*F\n+ 1 HousingVideosViewModel.kt\ncom/locon/presentation/ui/viewmodels/HousingVideosViewModel\n*L\n179#1:778,5\n297#1:783,5\n310#1:788,5\n317#1:793,5\n365#1:800,5\n379#1:805,5\n384#1:810,5\n404#1:815,5\n410#1:820,5\n422#1:825,5\n504#1:830,5\n329#1:798,2\n*E\n"})
public final class d9 extends d<HousingVideosEvents> {
    public static final int $stable = 8;

    @NotNull
    private final w1<Map<String, List<String>>> _allFavouriteProperties;

    @NotNull
    private final w1<CtaConfigDetail> _ctaConfigDetail;

    @NotNull
    private final w1<h8> _housingVideosPagination;

    @NotNull
    private final w1<HousingVideosScreenState> _housingVideosScreenState;

    @NotNull
    private final w1<Boolean> _isBottomSheetVisible;

    @NotNull
    private final w1<Boolean> _isFilterApplied;

    @NotNull
    private final w1<HousingVideosPassingModel> _latestHousingVideosModel;

    @NotNull
    private final w1<List<DroppedLead>> _leadDroppedProperties;

    @NotNull
    private final w1<String> _loginAuthToken;

    @NotNull
    private final w1<d0> _serviceType;

    @NotNull
    private final b agentContactManager;

    @NotNull
    private final p2<Map<String, List<String>>> allFavouriteProperties;

    @NotNull
    private final a analytics;

    @NotNull
    private String boostedPropertyId;

    @NotNull
    private String cityUUID;

    @NotNull
    private final l connectivityManager;

    @NotNull
    private final CrfUseCases crfUseCases;

    @NotNull
    private final p2<CtaConfigDetail> ctaConfigDetail;

    @NotNull
    private final c favoriteCommonUseCase;

    @NotNull
    private final m filterDataStore;

    @Nullable
    private s<? extends d0, Filter> filterPair;

    @NotNull
    private final p2<h8> housingVideosPagination;

    @NotNull
    private final p2<HousingVideosScreenState> housingVideosScreenState;

    @NotNull
    private u1 iFilterStore;

    @NotNull
    private final com.locon.core.data.share.b iShareVia;

    @NotNull
    private final p2<Boolean> isBottomSheetVisible;

    @NotNull
    private final p2<Boolean> isFilterApplied;
    private boolean isFilterEnabled;
    private boolean isHonourFilterWithCurrentSelectedCity;
    private boolean isHonourFilters;

    @Nullable
    private v1 job;

    @NotNull
    private final p2<HousingVideosPassingModel> latestHousingVideosModel;

    @NotNull
    private final p2<List<DroppedLead>> leadDroppedProperties;
    private long loadEndTime;
    private long loadStartTime;

    @NotNull
    private String logPageTypeMajor;

    @NotNull
    private final p2<String> loginAuthToken;

    @NotNull
    private final x npHomePageNudgeUtils;

    @NotNull
    private final o0 preferenceDataStore;

    @NotNull
    private final Lazy previousLeadHandler;

    @NotNull
    private final q0 saveSeenVideosIdsUseCase;

    @NotNull
    private List<String> seenVideoIDs;

    @NotNull
    private final SerpUseCases serpUseCases;

    @NotNull
    private final p2<d0> serviceType;

    @NotNull
    private final p simpleCache;

    @NotNull
    private final com.locon.data.cache.d storyCachingService;

    @Nullable
    private ff videoLike;

    @NotNull
    private String videoProductType;

    @Inject
    public d9(@NotNull p simpleCache, @NotNull com.locon.data.cache.d storyCachingService, @NotNull SerpUseCases serpUseCases, @NotNull com.locon.core.data.share.b iShareVia, @NotNull q0 saveSeenVideosIdsUseCase, @NotNull c favoriteCommonUseCase, @NotNull m filterDataStore, @NotNull o0 preferenceDataStore, @NotNull CrfUseCases crfUseCases, @NotNull b agentContactManager, @NotNull a analytics, @NotNull l connectivityManager, @NotNull x npHomePageNudgeUtils) {
        HousingVideosScreenState housingVideosScreenState;
        h8 h8Var;
        HousingVideosPassingModel housingVideosPassingModel;
        int i8 = 2;
        r.k(simpleCache, "simpleCache");
        r.k(storyCachingService, "storyCachingService");
        r.k(serpUseCases, "serpUseCases");
        r.k(iShareVia, "iShareVia");
        r.k(saveSeenVideosIdsUseCase, "saveSeenVideosIdsUseCase");
        r.k(favoriteCommonUseCase, "favoriteCommonUseCase");
        r.k(filterDataStore, "filterDataStore");
        r.k(preferenceDataStore, "preferenceDataStore");
        r.k(crfUseCases, "crfUseCases");
        r.k(agentContactManager, "agentContactManager");
        r.k(analytics, "analytics");
        r.k(connectivityManager, "connectivityManager");
        r.k(npHomePageNudgeUtils, "npHomePageNudgeUtils");
        this.simpleCache = simpleCache;
        this.storyCachingService = storyCachingService;
        this.serpUseCases = serpUseCases;
        this.iShareVia = iShareVia;
        this.saveSeenVideosIdsUseCase = saveSeenVideosIdsUseCase;
        this.favoriteCommonUseCase = favoriteCommonUseCase;
        this.filterDataStore = filterDataStore;
        this.preferenceDataStore = preferenceDataStore;
        this.crfUseCases = crfUseCases;
        this.agentContactManager = agentContactManager;
        this.analytics = analytics;
        this.connectivityManager = connectivityManager;
        this.npHomePageNudgeUtils = npHomePageNudgeUtils;
        this.iFilterStore = filterDataStore;
        HousingVideosScreenState.INSTANCE.getClass();
        housingVideosScreenState = HousingVideosScreenState.empty;
        w1<HousingVideosScreenState> a10 = s2.a(housingVideosScreenState);
        this._housingVideosScreenState = a10;
        this.housingVideosScreenState = kotlinx.coroutines.flow.m.b(a10);
        h8.INSTANCE.getClass();
        h8Var = h8.empty;
        w1<h8> a11 = s2.a(h8Var);
        this._housingVideosPagination = a11;
        this.housingVideosPagination = kotlinx.coroutines.flow.m.b(a11);
        w1<d0> a12 = s2.a(d0.Unknown);
        this._serviceType = a12;
        this.serviceType = kotlinx.coroutines.flow.m.b(a12);
        w1<Map<String, List<String>>> a13 = s2.a(t0.d());
        this._allFavouriteProperties = a13;
        this.allFavouriteProperties = kotlinx.coroutines.flow.m.b(a13);
        w1<String> a14 = s2.a("");
        this._loginAuthToken = a14;
        this.loginAuthToken = kotlinx.coroutines.flow.m.b(a14);
        HousingVideosPassingModel.INSTANCE.getClass();
        housingVideosPassingModel = HousingVideosPassingModel.empty;
        w1<HousingVideosPassingModel> a15 = s2.a(housingVideosPassingModel);
        this._latestHousingVideosModel = a15;
        this.latestHousingVideosModel = kotlinx.coroutines.flow.m.b(a15);
        Boolean bool = Boolean.FALSE;
        w1<Boolean> a16 = s2.a(bool);
        this._isFilterApplied = a16;
        this.isFilterApplied = kotlinx.coroutines.flow.m.b(a16);
        this.videoProductType = "";
        this.boostedPropertyId = "";
        this.logPageTypeMajor = "";
        this.isHonourFilters = true;
        this.cityUUID = "";
        g0 g0Var = g0.INSTANCE;
        this.seenVideoIDs = g0Var;
        w1<List<DroppedLead>> a17 = s2.a(g0Var);
        this._leadDroppedProperties = a17;
        this.leadDroppedProperties = kotlinx.coroutines.flow.m.b(a17);
        w1<CtaConfigDetail> a18 = s2.a(new CtaConfigDetail(null, null, false, false, false, false, false, 127, null));
        this._ctaConfigDetail = a18;
        this.ctaConfigDetail = kotlinx.coroutines.flow.m.b(a18);
        w1<Boolean> a19 = s2.a(bool);
        this._isBottomSheetVisible = a19;
        this.isBottomSheetVisible = kotlinx.coroutines.flow.m.b(a19);
        Lazy a20 = zp.m.a(new d6(this, i8));
        this.previousLeadHandler = a20;
        p2.a a21 = w0.a(this);
        z0 z0Var = z0.INSTANCE;
        kotlinx.coroutines.scheduling.b bVar = kotlinx.coroutines.scheduling.b.INSTANCE;
        k.c(a21, bVar, null, new x8(this, null), 2);
        k.c(w0.a(this), bVar, null, new l8(this, null), 2);
        k.c(w0.a(this), null, null, new j8(this, null), 3);
        ((f0) a20.getValue()).d(new e6(this, i8));
        ((f0) a20.getValue()).h();
        k.c(w0.a(this), null, null, new u8(this, null), 3);
    }

    public static f0 a(d9 d9Var) {
        return new f0(d9Var.crfUseCases, w0.a(d9Var));
    }

    public static final Object f(d9 d9Var, d0 d0Var, eq.d dVar) {
        n8 n8Var;
        int i8;
        Result result;
        Object invoke;
        d9Var.getClass();
        if (dVar instanceof n8) {
            n8Var = (n8) dVar;
            int i10 = n8Var.label;
            if ((i10 & Integer.MIN_VALUE) != 0) {
                n8Var.label = i10 - Integer.MIN_VALUE;
                Object obj = n8Var.result;
                kotlin.coroutines.intrinsics.a aVar = kotlin.coroutines.intrinsics.a.COROUTINE_SUSPENDED;
                i8 = n8Var.label;
                if (i8 != 0) {
                    u.b(obj);
                    if (((h8) d9Var.housingVideosPagination.getValue()).getIsLoading() || ((h8) d9Var.housingVideosPagination.getValue()).getIsLastPage()) {
                        return j0.INSTANCE;
                    }
                    v0 v7 = kotlinx.coroutines.flow.m.v(com.locon.core.domain.u.m(d9Var.serpUseCases.getGetSearchQueryParamsFromFilterStore(), d0Var, d9Var.iFilterStore, false, d9Var.filterPair, d9Var.isFilterEnabled, 28), new q8(d9Var, d0Var, null));
                    n8Var.L$0 = d9Var;
                    n8Var.label = 1;
                    obj = kotlinx.coroutines.flow.m.u(v7, n8Var);
                } else {
                    if (i8 != 1) {
                        if (i8 != 2) {
                            throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                        }
                        u.b(obj);
                        return j0.INSTANCE;
                    }
                    d9Var = (d9) n8Var.L$0;
                    u.b(obj);
                }
                result = (Result) obj;
                if (result != null) {
                    return j0.INSTANCE;
                }
                o8 o8Var = new o8(d9Var, null);
                p8 p8Var = new p8(d9Var, null);
                n8Var.L$0 = null;
                n8Var.label = 2;
                d9Var.getClass();
                if (result instanceof Result.Error) {
                    invoke = o8Var.invoke((Object) ((Result.Error) result).getError(), (Object) n8Var);
                    if (invoke != aVar) {
                        invoke = j0.INSTANCE;
                    }
                } else {
                    if (!(result instanceof Result.Success)) {
                        throw new q();
                    }
                    invoke = p8Var.invoke(((Result.Success) result).getData(), n8Var);
                    if (invoke != aVar) {
                        invoke = j0.INSTANCE;
                    }
                }
            }
        }
        n8Var = new n8(d9Var, dVar);
        Object obj2 = n8Var.result;
        kotlin.coroutines.intrinsics.a aVar2 = kotlin.coroutines.intrinsics.a.COROUTINE_SUSPENDED;
        i8 = n8Var.label;
        if (i8 != 0) {
        }
        result = (Result) obj2;
        if (result != null) {
        }
    }

    public final p2 getHousingVideosPagination() {
        return this.housingVideosPagination;
    }

    public final p2 getHousingVideosScreenState() {
        return this.housingVideosScreenState;
    }

    public final p2 getLatestHousingVideosModel() {
        return this.latestHousingVideosModel;
    }

    public final p2 getLeadDroppedProperties() {
        return this.leadDroppedProperties;
    }

    public final p2 getLoginAuthToken() {
        return this.loginAuthToken;
    }

    public final List F(List preferences, List list) {
        r.k(preferences, "preferences");
        return ((f0) this.previousLeadHandler.getValue()).j(preferences, list);
    }

    public final p2 getServiceType() {
        return this.serviceType;
    }

    public final p getSimpleCache() {
        return this.simpleCache;
    }

    public final void I(HousingVideosEvents event) {
        Object value;
        Object value2;
        Object value3;
        d0 d0Var;
        Filter filter;
        Object value4;
        Object value5;
        boolean isLastPage;
        int page;
        r.k(event, "event");
        if (!(event instanceof HousingVideosEvents.InitializeState)) {
            if (event instanceof HousingVideosEvents.a) {
                v1 v1Var = this.job;
                if (v1Var == null || !v1Var.isActive()) {
                    this.job = k.c(w0.a(this), null, null, new r8(this, null), 3);
                    return;
                }
                return;
            }
            if (event instanceof HousingVideosEvents.UpdateCurrentVideo) {
                HousingVideosEvents.UpdateCurrentVideo updateCurrentVideo = (HousingVideosEvents.UpdateCurrentVideo) event;
                if (updateCurrentVideo.getVideoModel() != null) {
                    com.locon.core.data.sharedmodels.housingVideos.a videoModel = updateCurrentVideo.getVideoModel();
                    w1<HousingVideosScreenState> w1Var = this._housingVideosScreenState;
                    do {
                        value = w1Var.getValue();
                    } while (!w1Var.c(value, HousingVideosScreenState.b((HousingVideosScreenState) value, videoModel, false, null, null, 30)));
                    return;
                }
                return;
            }
            if (event instanceof HousingVideosEvents.c) {
                if (((HousingVideosScreenState) this.housingVideosScreenState.getValue()).getVideos().isEmpty()) {
                    return;
                }
                o1.INSTANCE.getClass();
                if (((Boolean) o1.q0().getValue()).booleanValue() || ((HousingVideosScreenState) this.housingVideosScreenState.getValue()).getVideos().indexOf(((HousingVideosScreenState) this.housingVideosScreenState.getValue()).getCurrentVideo()) == ((HousingVideosScreenState) this.housingVideosScreenState.getValue()).getVideos().size() - 1) {
                    return;
                }
                k.c(w0.a(this), null, null, new b9(this, null), 3);
                return;
            }
            if (event instanceof HousingVideosEvents.ShareVideo) {
                com.locon.core.data.sharedmodels.housingVideos.a videoModel2 = ((HousingVideosEvents.ShareVideo) event).getVideoModel();
                d0(true);
                String propertyId = String.valueOf(videoModel2.getProjectId());
                String serviceType = ((d0) this.serviceType.getValue()).getKey();
                r.k(propertyId, "propertyId");
                r.k(serviceType, "serviceType");
                k.c(w0.a(this), null, null, new m8(this, new ShareShortenedUrlData(defpackage.a.n("https://housing.com/shorts/", propertyId, "?service=", serviceType, "&utm_source=&utm_medium=&utm_campaign="), "", "", ""), null), 3);
                return;
            }
            if (event instanceof HousingVideosEvents.b) {
                d0(((HousingVideosEvents.b) event).getValue());
                return;
            }
            if (event instanceof HousingVideosEvents.SaveSeenVideosId) {
                HousingVideosEvents.SaveSeenVideosId saveSeenVideosId = (HousingVideosEvents.SaveSeenVideosId) event;
                String propertyId2 = saveSeenVideosId.getPropertyId();
                String propertyTypeStr = saveSeenVideosId.getPropertyTypeStr();
                p2.a a10 = w0.a(this);
                z0 z0Var = z0.INSTANCE;
                k.c(a10, kotlinx.coroutines.scheduling.b.INSTANCE, null, new a9(propertyTypeStr, this, propertyId2, null), 2);
                return;
            }
            if (event instanceof HousingVideosEvents.SaveLikeForPostLogin) {
                this.videoLike = ((HousingVideosEvents.SaveLikeForPostLogin) event).getVideoLike();
                return;
            } else {
                if (!(event instanceof HousingVideosEvents.MarkFavourite)) {
                    throw new q();
                }
                a0(((HousingVideosEvents.MarkFavourite) event).getVideoLike());
                return;
            }
        }
        HousingVideosEvents.InitializeState initializeState = (HousingVideosEvents.InitializeState) event;
        String e5 = initializeState.e();
        String service = initializeState.getService();
        i0.INSTANCE.getClass();
        HousingVideosPassingModel a11 = i0.a();
        String boostedPropertyId = initializeState.getBoostedPropertyId();
        SeenVideoIdsModel seenVideoIdsModel = initializeState.getSeenVideoIdsModel();
        String fromPageTypeMajor = initializeState.getFromPageTypeMajor();
        this.isFilterEnabled = a11.getIsFilterEnabled();
        w1<HousingVideosPassingModel> w1Var2 = this._latestHousingVideosModel;
        do {
            value2 = w1Var2.getValue();
        } while (!w1Var2.c(value2, a11));
        this.videoProductType = e5;
        this.logPageTypeMajor = fromPageTypeMajor;
        w1<d0> w1Var3 = this._serviceType;
        do {
            value3 = w1Var3.getValue();
            d0Var = d0.Buy;
            if (!r.f(service, d0Var.getType())) {
                d0Var = d0.Rent;
                if (!r.f(service, d0Var.getType())) {
                    d0Var = d0.RentFlatmate;
                    if (!r.f(service, d0Var.getType())) {
                        d0Var = d0.Pg;
                        if (!r.f(service, d0Var.getType())) {
                            d0Var = d0.PgFlatmate;
                            if (!r.f(service, d0Var.getType())) {
                                d0Var = d0.CommercialBuy;
                                if (!r.f(service, d0Var.getType())) {
                                    d0Var = d0.CommercialLease;
                                    if (!r.f(service, d0Var.getType())) {
                                        d0Var = d0.Plot;
                                        if (!r.f(service, d0Var.getType())) {
                                            d0Var = d0.Unknown;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        } while (!w1Var3.c(value3, d0Var));
        this.isHonourFilters = a11.getIsHonourFilter();
        this.isHonourFilterWithCurrentSelectedCity = a11.getIsHonourFilterWithCurrentSelectedCity();
        this.cityUUID = a11.getCityUUID();
        HousingVideosFilterPassingModel housingVideosFilterPassingModel = a11.getHousingVideosFilterPassingModel();
        s<? extends d0, Filter> sVar = housingVideosFilterPassingModel != null ? new s<>(housingVideosFilterPassingModel.getServiceType(), housingVideosFilterPassingModel.getFilter()) : null;
        this.filterPair = sVar;
        if (sVar == null || (filter = sVar.getSecond()) == null) {
            Filter.INSTANCE.getClass();
            filter = Filter.empty;
        }
        v(filter);
        w1<HousingVideosScreenState> w1Var4 = this._housingVideosScreenState;
        do {
            value4 = w1Var4.getValue();
        } while (!w1Var4.c(value4, HousingVideosScreenState.b((HousingVideosScreenState) value4, a11.g(), false, a11.getHousingVideosModel().getHousingVideos(), null, 22)));
        w1<h8> w1Var5 = this._housingVideosPagination;
        do {
            value5 = w1Var5.getValue();
            isLastPage = a11.getHousingVideosModel().getIsLastPage();
            page = a11.getPage();
            ((h8) value5).getClass();
        } while (!w1Var5.c(value5, new h8(false, isLastPage, page)));
        this.boostedPropertyId = boostedPropertyId;
        this.seenVideoIDs = seenVideoIdsModel.getViewedVideoIDs();
    }

    public final p2 getIsBottomSheetVisible() {
        return this.isBottomSheetVisible;
    }

    public final p2 getIsFilterApplied() {
        return this.isFilterApplied;
    }

    public final void L(int i8) {
        this.analytics.i(i8, this.logPageTypeMajor);
    }

    public final void M(int i8, String propertyType) {
        r.k(propertyType, "propertyType");
        this.analytics.j(i8, this.logPageTypeMajor, propertyType);
    }

    public final void N() {
        this.analytics.k(this.logPageTypeMajor);
    }

    public final void O(int i8, String propertyType) {
        r.k(propertyType, "propertyType");
        this.analytics.l(i8, this.logPageTypeMajor, propertyType);
    }

    public final void P(int i8, String propertyType) {
        r.k(propertyType, "propertyType");
        this.analytics.m(i8, this.logPageTypeMajor, propertyType);
    }

    public final void Q() {
        this.analytics.n(this.logPageTypeMajor);
    }

    public final void R(int i8, String propertyType) {
        r.k(propertyType, "propertyType");
        this.analytics.o(i8, this.logPageTypeMajor, propertyType);
    }

    public final void S(int i8, String propertyType) {
        r.k(propertyType, "propertyType");
        this.analytics.p(i8, this.logPageTypeMajor, propertyType);
    }

    public final void T(int i8, String propertyType) {
        r.k(propertyType, "propertyType");
        this.analytics.r(i8, this.logPageTypeMajor, propertyType);
    }

    public final void U(int i8, String propertyType) {
        r.k(propertyType, "propertyType");
        this.analytics.s(i8, this.logPageTypeMajor, propertyType);
    }

    public final void V(int i8, String propertyType) {
        r.k(propertyType, "propertyType");
        this.analytics.t(i8, this.logPageTypeMajor, propertyType);
    }

    public final void W() {
        this.analytics.h(this.logPageTypeMajor);
    }

    public final void X(int i8, String propertyType) {
        r.k(propertyType, "propertyType");
        long currentTimeMillis = System.currentTimeMillis();
        this.loadEndTime = currentTimeMillis;
        this.analytics.u(currentTimeMillis - this.loadStartTime, this.logPageTypeMajor, this.connectivityManager.b(), i8, propertyType);
    }

    public final void Y() {
        this.loadStartTime = System.currentTimeMillis();
    }

    public final void Z(int i8, String propertyType) {
        r.k(propertyType, "propertyType");
        this.analytics.w(i8, this.logPageTypeMajor, propertyType);
    }

    public final void a0(ff ffVar) {
        boolean isFavourite = ffVar.getIsFavourite();
        int projectId = ffVar.getProjectId();
        String propertyType = ffVar.getPropertyType();
        v0 v7 = kotlinx.coroutines.flow.m.v(new y(this.serpUseCases.getFetchTruecallerDetailsUseCase().a(), this.serpUseCases.getGetUserDetailsUseCase().a(), new s8(null)), new t8(isFavourite, propertyType, this, projectId, ffVar, null));
        z0 z0Var = z0.INSTANCE;
        com.locon.core.data.d0.c(kotlinx.coroutines.flow.m.y(v7, kotlinx.coroutines.scheduling.b.INSTANCE), w0.a(this));
    }

    public final void b0(int i8, List stories) {
        r.k(stories, "stories");
        int i10 = i8 - 1;
        com.locon.core.data.sharedmodels.housingVideos.a aVar = (com.locon.core.data.sharedmodels.housingVideos.a) t.J(i10, stories);
        String str = null;
        String videoTemplateUrl = aVar != null ? aVar.getVideoTemplateUrl() : null;
        int i11 = i8 + 1;
        com.locon.core.data.sharedmodels.housingVideos.a aVar2 = (com.locon.core.data.sharedmodels.housingVideos.a) t.J(i11, stories);
        String videoTemplateUrl2 = aVar2 != null ? aVar2.getVideoTemplateUrl() : null;
        com.locon.core.data.sharedmodels.housingVideos.a aVar3 = (com.locon.core.data.sharedmodels.housingVideos.a) t.J(i10, stories);
        String audioTemplateUrl = aVar3 != null ? aVar3.getAudioTemplateUrl() : null;
        com.locon.core.data.sharedmodels.housingVideos.a aVar4 = (com.locon.core.data.sharedmodels.housingVideos.a) t.J(i10, stories);
        if (aVar4 == null || aVar4.getHasAudio()) {
            audioTemplateUrl = null;
        }
        com.locon.core.data.sharedmodels.housingVideos.a aVar5 = (com.locon.core.data.sharedmodels.housingVideos.a) t.J(i11, stories);
        String audioTemplateUrl2 = aVar5 != null ? aVar5.getAudioTemplateUrl() : null;
        com.locon.core.data.sharedmodels.housingVideos.a aVar6 = (com.locon.core.data.sharedmodels.housingVideos.a) t.J(i11, stories);
        if (aVar6 != null && !aVar6.getHasAudio()) {
            str = audioTemplateUrl2;
        }
        this.storyCachingService.f(kotlin.collections.l.s(new String[]{videoTemplateUrl, videoTemplateUrl2}), kotlin.collections.l.s(new String[]{audioTemplateUrl, str}));
    }

    public final void c0() {
        k.c(w0.a(this), null, null, new y8(this, null), 3);
    }

    public final void d0(boolean z5) {
        w1<HousingVideosScreenState> w1Var = this._housingVideosScreenState;
        while (true) {
            Object value = w1Var.getValue();
            HousingVideosScreenState housingVideosScreenState = (HousingVideosScreenState) value;
            boolean z7 = z5;
            if (w1Var.c(value, HousingVideosScreenState.b(housingVideosScreenState, null, false, null, ShareViaModel.b(housingVideosScreenState.getShareViaModelState(), null, null, null, null, null, false, z7, 8063), 15))) {
                return;
            } else {
                z5 = z7;
            }
        }
    }

    public final void e0(boolean z5) {
        Object value;
        w1<Boolean> w1Var = this._isBottomSheetVisible;
        do {
            value = w1Var.getValue();
        } while (!f.D((Boolean) value, z5, w1Var, value));
    }

    public final void f0(HousingVideosModel housingVideosData, s latestFilter) {
        Object value;
        Object value2;
        HousingVideosScreenState housingVideosScreenState;
        Object value3;
        boolean isLastPage;
        r.k(housingVideosData, "housingVideosData");
        r.k(latestFilter, "latestFilter");
        w1<HousingVideosPassingModel> w1Var = this._latestHousingVideosModel;
        do {
            value = w1Var.getValue();
        } while (!w1Var.c(value, HousingVideosPassingModel.b((HousingVideosPassingModel) value, (com.locon.core.data.sharedmodels.housingVideos.a) t.E(housingVideosData.getHousingVideos()), housingVideosData, new HousingVideosFilterPassingModel((d0) latestFilter.getFirst(), (Filter) latestFilter.getSecond()), 184)));
        this.filterPair = latestFilter;
        Filter filter = (Filter) latestFilter.getSecond();
        if (filter == null) {
            Filter.INSTANCE.getClass();
            filter = Filter.empty;
        }
        v(filter);
        w1<HousingVideosScreenState> w1Var2 = this._housingVideosScreenState;
        do {
            value2 = w1Var2.getValue();
            HousingVideosScreenState.INSTANCE.getClass();
            housingVideosScreenState = HousingVideosScreenState.empty;
        } while (!w1Var2.c(value2, HousingVideosScreenState.b(housingVideosScreenState, (com.locon.core.data.sharedmodels.housingVideos.a) t.E(housingVideosData.getHousingVideos()), false, housingVideosData.getHousingVideos(), null, 20)));
        w1<h8> w1Var3 = this._housingVideosPagination;
        do {
            value3 = w1Var3.getValue();
            isLastPage = housingVideosData.getIsLastPage();
            ((h8) value3).getClass();
        } while (!w1Var3.c(value3, new h8(false, isLastPage, 1)));
    }

    public final void v(Filter filter) {
        Object value;
        String max;
        String min;
        r.k(filter, "filter");
        Iterator it = filter.getFilterProps().b().iterator();
        int i8 = 0;
        while (it.hasNext()) {
            com.locon.core.data.local.datastore.k kVar = (com.locon.core.data.local.datastore.k) it.next();
            if (kVar instanceof FilterAttrList) {
                FilterAttrList filterAttrList = (FilterAttrList) kVar;
                if (!filterAttrList.getAttributes().isEmpty() && filterAttrList.getRemoteFilterId() != e.unknown) {
                    i8++;
                }
            } else if (kVar instanceof FilterAttr) {
                if (((FilterAttr) kVar).g() != e.unknown) {
                    i8++;
                }
            } else if (kVar instanceof FilterAttrMinMax) {
                FilterAttrMinMax filterAttrMinMax = (FilterAttrMinMax) kVar;
                if (filterAttrMinMax.i() != e.unknown) {
                    cq.b x10 = t.x();
                    if ((filterAttrMinMax.getMinApiKey().length() <= 0 || (min = filterAttrMinMax.getMin()) == null || min.length() == 0) && (filterAttrMinMax.getMaxApiKey().length() <= 0 || (max = filterAttrMinMax.getMax()) == null || max.length() == 0)) {
                        x10.build();
                    }
                    i8++;
                }
            } else if ((kVar instanceof FilterAttrBoolean) && ((FilterAttrBoolean) kVar).f() != e.unknown) {
                i8++;
            }
        }
        w1<Boolean> w1Var = this._isFilterApplied;
        do {
            value = w1Var.getValue();
            ((Boolean) value).getClass();
        } while (!w1Var.c(value, Boolean.valueOf(i8 > 0)));
    }

    public final b getAgentContactManager() {
        return this.agentContactManager;
    }

    public final p2 getAllFavouriteProperties() {
        return this.allFavouriteProperties;
    }

    public final Serializable y(eq.d dVar) {
        k8 k8Var;
        kotlin.coroutines.intrinsics.a aVar;
        int i8;
        d9 d9Var;
        String str;
        Object u7;
        String str2;
        if (dVar instanceof k8) {
            k8Var = (k8) dVar;
            int i10 = k8Var.label;
            if ((i10 & Integer.MIN_VALUE) != 0) {
                k8Var.label = i10 - Integer.MIN_VALUE;
                Object obj = k8Var.result;
                aVar = kotlin.coroutines.intrinsics.a.COROUTINE_SUSPENDED;
                i8 = k8Var.label;
                if (i8 != 0) {
                    u.b(obj);
                    kotlinx.coroutines.flow.k f8 = this.preferenceDataStore.f(k2.KEY_CITY_NAME);
                    k8Var.L$0 = this;
                    k8Var.label = 1;
                    obj = kotlinx.coroutines.flow.m.u(f8, k8Var);
                    if (obj != aVar) {
                        d9Var = this;
                    }
                    return aVar;
                }
                if (i8 != 1) {
                    if (i8 != 2) {
                        throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                    }
                    str2 = (String) k8Var.L$0;
                    u.b(obj);
                    String str3 = (String) obj;
                    return new s(str2, str3 != null ? str3 : "");
                }
                d9Var = (d9) k8Var.L$0;
                u.b(obj);
                str = (String) obj;
                if (str == null) {
                    str = "";
                }
                kotlinx.coroutines.flow.k f10 = d9Var.preferenceDataStore.f(k2.KEY_CITY_UUID);
                k8Var.L$0 = str;
                k8Var.label = 2;
                u7 = kotlinx.coroutines.flow.m.u(f10, k8Var);
                if (u7 != aVar) {
                    str2 = str;
                    obj = u7;
                    String str32 = (String) obj;
                    return new s(str2, str32 != null ? str32 : "");
                }
                return aVar;
            }
        }
        k8Var = new k8(this, dVar);
        Object obj2 = k8Var.result;
        aVar = kotlin.coroutines.intrinsics.a.COROUTINE_SUSPENDED;
        i8 = k8Var.label;
        if (i8 != 0) {
        }
        str = (String) obj2;
        if (str == null) {
        }
        kotlinx.coroutines.flow.k f102 = d9Var.preferenceDataStore.f(k2.KEY_CITY_UUID);
        k8Var.L$0 = str;
        k8Var.label = 2;
        u7 = kotlinx.coroutines.flow.m.u(f102, k8Var);
        if (u7 != aVar) {
        }
        return aVar;
    }

    public final p2 getCtaConfigDetail() {
        return this.ctaConfigDetail;
    }
}