正在查看: Housing v14.7.8 应用的 h1.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Housing v14.7.8 应用的 h1.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.locon.localityMicrosite.data.repository;
import com.locon.core.data.remote.establishment.dtos.EstablishmentsDto;
import com.locon.core.data.remote.highGrowthLocalities.dtos.HighGrowthLocalities;
import com.locon.core.data.remote.priceTrends.dtos.LocalityPriceTrendDto;
import com.locon.core.data.remote.projectDetails.dtos.ProjectDetailsDTO;
import com.locon.core.data.remote.ratedLocalities.dtos.RatedLocalities;
import com.locon.core.data.remote.ratingReviews.dtos.RatingsDetailDto;
import com.locon.core.data.remote.ratingReviews.dtos.ReviewsDetailDto;
import com.locon.core.data.remote.recommendedInsights.dtos.PersonalisedRecommendedInsightsDto;
import com.locon.core.data.remote.requests.UpdateFavoriteRequestModel;
import com.locon.core.data.remote.searchSuggest.dtos.SearchSuggestionDto;
import com.locon.core.data.remote.sharedDtos.CheckProjectSubscriptionDTO;
import com.locon.core.data.remote.sharedDtos.TransactionsDTO;
import com.locon.core.data.share.dto.SeoCanonicalUrlDto;
import com.locon.core.data.sharedDtos.searchResult.BuySearchResultsDto;
import com.locon.home.presentation.ui.components.sections.t2;
import com.locon.localityMicrosite.data.repository.dtos.BHKPriceRangeDTO;
import com.locon.localityMicrosite.data.repository.dtos.NewsDTO;
import com.locon.network.REST;
import java.util.Calendar;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import javax.inject.Inject;
import javax.inject.Singleton;
import kotlin.Metadata;
import kotlin.jvm.internal.SourceDebugExtension;
import org.jetbrains.annotations.NotNull;
import org.json.JSONObject;
@Singleton
@Metadata(d1 = {"\u0000X\n\u0002\u0018\u0002\n\u0002\u0010\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\u0000\n\u0002\u0018\u0002\n\u0002\b\u0013\b\u0007\u0018\u0000 +2\u00020\u0001:\u0001,Bq\b\u0007\u0012\u0006\u0010\u0003\u001a\u00020\u0002\u0012\u0006\u0010\u0005\u001a\u00020\u0004\u0012\u0006\u0010\u0007\u001a\u00020\u0006\u0012\u0006\u0010\t\u001a\u00020\b\u0012\u0006\u0010\u000b\u001a\u00020\n\u0012\u0006\u0010\r\u001a\u00020\f\u0012\u0006\u0010\u000f\u001a\u00020\u000e\u0012\u0006\u0010\u0011\u001a\u00020\u0010\u0012\u0006\u0010\u0013\u001a\u00020\u0012\u0012\u0006\u0010\u0015\u001a\u00020\u0014\u0012\u0006\u0010\u0017\u001a\u00020\u0016\u0012\u0006\u0010\u0019\u001a\u00020\u0018\u0012\u0006\u0010\u001b\u001a\u00020\u001a¢\u0006\u0004\b\u001c\u0010\u001dR\u0014\u0010\u0003\u001a\u00020\u00028\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0003\u0010\u001eR\u0014\u0010\u0005\u001a\u00020\u00048\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0005\u0010\u001fR\u0014\u0010\u0007\u001a\u00020\u00068\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0007\u0010 R\u0014\u0010\t\u001a\u00020\b8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\t\u0010!R\u0014\u0010\u000b\u001a\u00020\n8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u000b\u0010\"R\u0014\u0010\r\u001a\u00020\f8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\r\u0010#R\u0014\u0010\u000f\u001a\u00020\u000e8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u000f\u0010$R\u0014\u0010\u0011\u001a\u00020\u00108\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0011\u0010%R\u0014\u0010\u0013\u001a\u00020\u00128\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0013\u0010&R\u0014\u0010\u0015\u001a\u00020\u00148\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0015\u0010'R\u0014\u0010\u0017\u001a\u00020\u00168\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0017\u0010(R\u0014\u0010\u0019\u001a\u00020\u00188\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0019\u0010)R\u0014\u0010\u001b\u001a\u00020\u001a8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u001b\u0010*¨\u0006-"}, d2 = {"Lcom/locon/localityMicrosite/data/repository/h1;", "", "Lcom/locon/network/d;", "remoteSource", "Llh/s;", "odinServiceEndpoints", "Llh/y;", "searchServiceEndPoints", "Llh/j;", "gandalfServiceEndPoints", "Llh/m;", "khojServiceEndPoints", "Llh/w;", "regionsServiceEndPoints", "Llh/f0;", "venusServiceEndPoints", "Llh/q;", "newProjectsServiceEndPoints", "Llh/d0;", "subscriptionsServiceEndPoints", "Llh/a0;", "seoServiceEndPoints", "Lcom/locon/core/data/remote/firebase/remoteconfig/h;", "remoteConfig", "Llh/g;", "dataServiceEndPoints", "Llh/v;", "personalizeServiceEndPoints", "<init>", "(Lcom/locon/network/d;Llh/s;Llh/y;Llh/j;Llh/m;Llh/w;Llh/f0;Llh/q;Llh/d0;Llh/a0;Lcom/locon/core/data/remote/firebase/remoteconfig/h;Llh/g;Llh/v;)V", "Lcom/locon/network/d;", "Llh/s;", "Llh/y;", "Llh/j;", "Llh/m;", "Llh/w;", "Llh/f0;", "Llh/q;", "Llh/d0;", "Llh/a0;", "Lcom/locon/core/data/remote/firebase/remoteconfig/h;", "Llh/g;", "Llh/v;", "Companion", "a", "data_gammaRelease"}, k = t2.HOUSE_RENT_ID, mv = {t2.OFFICE_RENT_ID, 0, 0}, xi = 48)
@SourceDebugExtension({"SMAP\nLocalityMicrositeSource.kt\nKotlin\n*S Kotlin\n*F\n+ 1 LocalityMicrositeSource.kt\ncom/locon/localityMicrosite/data/repository/LocalityMicrositeSource\n+ 2 RemoteSource.kt\ncom/locon/network/RemoteSource\n+ 3 NetworkSdk.kt\ncom/locon/network/NetworkSdk\n*L\n1#1,576:1\n55#2,7:577\n135#2:593\n55#2,7:594\n135#2:610\n55#2,7:611\n135#2:627\n55#2,7:628\n135#2:644\n55#2,7:645\n135#2:661\n55#2,7:662\n135#2:678\n55#2,7:679\n135#2:695\n55#2,7:696\n135#2:712\n55#2,7:713\n135#2:729\n55#2,7:730\n135#2:746\n55#2,7:747\n135#2:763\n55#2,7:764\n135#2:780\n55#2,7:781\n135#2:797\n44#3,9:584\n44#3,9:601\n44#3,9:618\n44#3,9:635\n44#3,9:652\n44#3,9:669\n44#3,9:686\n44#3,9:703\n44#3,9:720\n44#3,9:737\n44#3,9:754\n44#3,9:771\n44#3,9:788\n*S KotlinDebug\n*F\n+ 1 LocalityMicrositeSource.kt\ncom/locon/localityMicrosite/data/repository/LocalityMicrositeSource\n*L\n122#1:577,7\n122#1:593\n136#1:594,7\n136#1:610\n198#1:611,7\n198#1:627\n294#1:628,7\n294#1:644\n306#1:645,7\n306#1:661\n367#1:662,7\n367#1:678\n417#1:679,7\n417#1:695\n427#1:696,7\n427#1:712\n446#1:713,7\n446#1:729\n480#1:730,7\n480#1:746\n496#1:747,7\n496#1:763\n504#1:764,7\n504#1:780\n512#1:781,7\n512#1:797\n122#1:584,9\n136#1:601,9\n198#1:618,9\n294#1:635,9\n306#1:652,9\n367#1:669,9\n417#1:686,9\n427#1:703,9\n446#1:720,9\n480#1:737,9\n496#1:754,9\n504#1:771,9\n512#1:788,9\n*E\n"})
public final class h1 {
@NotNull
public static final String GA_ID = "ga_id";
@NotNull
private static final String KEY_CITY_UUID = "city_uuid";
@NotNull
private static final String KEY_SERVICE = "service";
@NotNull
private final lh.g dataServiceEndPoints;
@NotNull
private final lh.j gandalfServiceEndPoints;
@NotNull
private final lh.m khojServiceEndPoints;
@NotNull
private final lh.q newProjectsServiceEndPoints;
@NotNull
private final lh.s odinServiceEndpoints;
@NotNull
private final lh.v personalizeServiceEndPoints;
@NotNull
private final lh.w regionsServiceEndPoints;
@NotNull
private final com.locon.core.data.remote.firebase.remoteconfig.h remoteConfig;
@NotNull
private final com.locon.network.d remoteSource;
@NotNull
private final lh.y searchServiceEndPoints;
@NotNull
private final lh.a0 seoServiceEndPoints;
@NotNull
private final lh.d0 subscriptionsServiceEndPoints;
@NotNull
private final lh.f0 venusServiceEndPoints;
@Inject
public h1(@NotNull com.locon.network.d dVar, @NotNull lh.s sVar, @NotNull lh.y yVar, @NotNull lh.j jVar, @NotNull lh.m mVar, @NotNull lh.w wVar, @NotNull lh.f0 f0Var, @NotNull lh.q qVar, @NotNull lh.d0 d0Var, @NotNull lh.a0 a0Var, @NotNull com.locon.core.data.remote.firebase.remoteconfig.h hVar, @NotNull lh.g gVar, @NotNull lh.v vVar) {
kotlin.jvm.internal.r.k(dVar, "remoteSource");
kotlin.jvm.internal.r.k(sVar, "odinServiceEndpoints");
kotlin.jvm.internal.r.k(yVar, "searchServiceEndPoints");
kotlin.jvm.internal.r.k(jVar, "gandalfServiceEndPoints");
kotlin.jvm.internal.r.k(mVar, "khojServiceEndPoints");
kotlin.jvm.internal.r.k(wVar, "regionsServiceEndPoints");
kotlin.jvm.internal.r.k(f0Var, "venusServiceEndPoints");
kotlin.jvm.internal.r.k(qVar, "newProjectsServiceEndPoints");
kotlin.jvm.internal.r.k(d0Var, "subscriptionsServiceEndPoints");
kotlin.jvm.internal.r.k(a0Var, "seoServiceEndPoints");
kotlin.jvm.internal.r.k(hVar, "remoteConfig");
kotlin.jvm.internal.r.k(gVar, "dataServiceEndPoints");
kotlin.jvm.internal.r.k(vVar, "personalizeServiceEndPoints");
this.remoteSource = dVar;
this.odinServiceEndpoints = sVar;
this.searchServiceEndPoints = yVar;
this.gandalfServiceEndPoints = jVar;
this.khojServiceEndPoints = mVar;
this.regionsServiceEndPoints = wVar;
this.venusServiceEndPoints = f0Var;
this.newProjectsServiceEndPoints = qVar;
this.subscriptionsServiceEndPoints = d0Var;
this.seoServiceEndPoints = a0Var;
this.remoteConfig = hVar;
this.dataServiceEndPoints = gVar;
this.personalizeServiceEndPoints = vVar;
}
public static kotlinx.coroutines.flow.k d(h1 h1Var, String str) {
h1Var.getClass();
kotlin.jvm.internal.r.k(str, "entityId");
return com.locon.network.d.b(h1Var.remoteSource, SeoCanonicalUrlDto.class, new REST.POST(h1Var.seoServiceEndPoints.a(), null, kotlin.collections.t0.j(new zp.s[]{new zp.s("entity_id", str), new zp.s("entity", "polygon"), new zp.s("pages_data", kotlin.collections.t.S(kotlin.collections.t0.i(new zp.s("page_type", "polygon_overview"))))}), null, 10, null), null, false, 12);
}
public static kotlinx.coroutines.flow.k e(h1 h1Var, String str) {
String type = sc.d0.Buy.getType();
h1Var.getClass();
kotlin.jvm.internal.r.k(str, "entity_id");
kotlin.jvm.internal.r.k(type, "service");
com.locon.network.d dVar = h1Var.remoteSource;
return kotlinx.coroutines.flow.m.x(new j1(dVar.getNetworkSdk(), com.locon.core.data.v0.class, null, false, new REST.GET("https://faq.housing.com/api/v0/entity_faqs", kotlin.collections.t0.j(new zp.s[]{new zp.s("api_name", "SEARCH_FAQ_RESOLVER"), new zp.s("entity", "polygon"), new zp.s("entity_id", str), new zp.s("page_type", "polygon_overview"), new zp.s("service", type), new zp.s("source", com.locon.pdp_data.remote.shared.a.ANDROID)}), null, 4, null), dVar));
}
public static kotlinx.coroutines.flow.k g(h1 h1Var, String str) {
h1Var.getClass();
kotlin.jvm.internal.r.k(str, "poly");
return com.locon.network.d.b(h1Var.remoteSource, BuySearchResultsDto.class, new REST.GET(h1Var.khojServiceEndPoints.l(), kotlin.collections.t0.j(new zp.s[]{new zp.s("api_name", "LATEST_PROPERTIES_API"), new zp.s("entityType", "poly"), new zp.s("source", com.locon.pdp_data.remote.shared.a.ANDROID), new zp.s("results_per_page", 10), new zp.s("sort_key", "date_added"), new zp.s("poly", str)}), null, 4, null), null, false, 12);
}
public static kotlinx.coroutines.flow.k h(h1 h1Var, String str) {
h1Var.getClass();
kotlin.jvm.internal.r.k(str, "uuid");
com.locon.network.d dVar = h1Var.remoteSource;
return kotlinx.coroutines.flow.m.x(new k1(dVar.getNetworkSdk(), com.locon.core.data.v0.class, null, false, new REST.GET("https://regions.housing.com/polygon_insight/show.json", kotlin.collections.t0.j(new zp.s[]{new zp.s("api_name", "LOCALITY_INSIGHTS"), new zp.s("uuid", str), new zp.s("source", com.locon.pdp_data.remote.shared.a.ANDROID)}), null, 4, null), dVar));
}
public static kotlinx.coroutines.flow.k i(h1 h1Var, String str, String str2) {
h1Var.getClass();
kotlin.jvm.internal.r.k(str, "poly");
kotlin.jvm.internal.r.k(str2, "service");
com.locon.network.d dVar = h1Var.remoteSource;
zp.s sVar = new zp.s("serviceType", str2);
zp.s sVar2 = new zp.s("api_name", "NEARBY_LOCALITY_PRICE_TREND");
zp.s sVar3 = new zp.s("source", com.locon.pdp_data.remote.shared.a.ANDROID);
sc.d0 d0Var = sc.d0.Rent;
return kotlinx.coroutines.flow.m.x(new l1(dVar.getNetworkSdk(), com.locon.core.data.v0.class, null, false, new REST.GET("https://gandalf.housing.com/data/v1/nearby_locality", kotlin.collections.t0.j(new zp.s[]{sVar, sVar2, sVar3, new zp.s("propertyTypeIds", str2.equals(d0Var.getType()) ? "1,2,6,15,38" : "1,35,2,38"), new zp.s("polygonUuid", str), new zp.s("count", "5"), new zp.s("apartmentTypeIds", str2.equals(d0Var.getType()) ? "4" : "")}), null, 4, null), dVar));
}
public static kotlinx.coroutines.flow.k j(h1 h1Var, String str) {
String type = sc.d0.Buy.getType();
h1Var.getClass();
kotlin.jvm.internal.r.k(str, "uuid");
kotlin.jvm.internal.r.k(type, "service");
return com.locon.network.d.c(h1Var.remoteSource, NewsDTO.class, new REST.GET("https://seo.housing.com/news/get_news_by_tag", kotlin.collections.t0.j(new zp.s[]{new zp.s("uuid", str), new zp.s("service", type), new zp.s("trail", "true"), new zp.s("source", "PHOENIX")}), null, 4, null));
}
public static kotlinx.coroutines.flow.k l(h1 h1Var, String str, int i, String str2, String str3) {
h1Var.getClass();
kotlin.jvm.internal.r.k(str, "uuid");
kotlin.jvm.internal.r.k(str2, "apartmentTypeId");
kotlin.jvm.internal.r.k(str3, "propertyTypeId");
return com.locon.network.d.b(h1Var.remoteSource, LocalityPriceTrendDto.class, new REST.GET(h1Var.gandalfServiceEndPoints.b(), kotlin.collections.t0.j(new zp.s[]{new zp.s("api_name", "LOCALITY_PRICE_TREND"), new zp.s("durationYears", 5), new zp.s("fetchChildTrends", Boolean.FALSE), new zp.s("flatType", Integer.valueOf(i)), new zp.s("page", 1), new zp.s("pageSize", 99), new zp.s("propertyTypeIds", str3), new zp.s("source", com.locon.pdp_data.remote.shared.a.ANDROID), new zp.s("uuid", str), new zp.s("apartmentTypeIds", str2)}), null, 4, null), null, false, 12);
}
public static kotlinx.coroutines.flow.k p(h1 h1Var, String str) {
h1Var.getClass();
kotlin.jvm.internal.r.k(str, "entityId");
return com.locon.network.d.b(h1Var.remoteSource, RatingsDetailDto.class, new REST.GET(h1Var.odinServiceEndpoints.e(), kotlin.collections.t0.j(new zp.s[]{new zp.s("api_name", "ENTITY_RATINGS"), new zp.s("entityType", "poly"), new zp.s("entityIds", str), new zp.s("source", com.locon.pdp_data.remote.shared.a.ANDROID), new zp.s("formVersion", 2)}), null, 4, null), null, false, 12);
}
public static kotlinx.coroutines.flow.k r(h1 h1Var, String str) {
h1Var.getClass();
kotlin.jvm.internal.r.k(str, "entityId");
return com.locon.network.d.b(h1Var.remoteSource, ReviewsDetailDto.class, new REST.GET(h1Var.odinServiceEndpoints.h(), kotlin.collections.t0.j(new zp.s[]{new zp.s("api_name", "ENTITY_REVIEWS"), new zp.s("entityType", "poly"), new zp.s("source", com.locon.pdp_data.remote.shared.a.ANDROID), new zp.s("entityId", str), new zp.s("page", 0), new zp.s("size", 10), new zp.s("sortBy", "createdAt"), new zp.s("sortDirection", "desc"), new zp.s("fetchUserDetails", Boolean.TRUE)}), null, 4, null), null, false, 12);
}
public static kotlinx.coroutines.flow.k v(h1 h1Var, int i, String str, int i2, int i3) {
h1Var.getClass();
kotlin.jvm.internal.r.k(str, "poly");
cq.d dVar = new cq.d();
dVar.put("encoded_hash", "AB0HT1");
dVar.put("exclude_ids", "");
dVar.put("fetch_seo_address", true);
dVar.put("for_bot", false);
dVar.put("has_transaction", true);
dVar.put("p", Integer.valueOf(i));
dVar.put("poly", str);
dVar.put("results_per_page", 10);
dVar.put("show_collections", true);
dVar.put("show_project_listing", false);
dVar.put("type", com.locon.home.presentation.ui.viewModels.j0.NEW_PROJECT);
dVar.put("api_name", "SEARCH_RESULTS");
dVar.put("source", com.locon.pdp_data.remote.shared.a.ANDROID);
if (i > 1) {
dVar.put("np_total_count", Integer.valueOf(i2));
dVar.put("resale_total_count", Integer.valueOf(i3));
}
return com.locon.network.d.b(h1Var.remoteSource, BuySearchResultsDto.class, new REST.GET(h1Var.khojServiceEndPoints.l(), dVar.build(), null, 4, null), null, false, 12);
}
public static kotlinx.coroutines.flow.k w(h1 h1Var, String str, String str2, String str3, String str4, String str5, int i, int i2, String str6) {
h1Var.getClass();
kotlin.jvm.internal.r.k(str, com.locon.crf.data.network.b.PROJECT_ID);
kotlin.jvm.internal.r.k(str2, "transactionType");
kotlin.jvm.internal.r.k(str3, "sortBy");
kotlin.jvm.internal.r.k(str4, "order");
kotlin.jvm.internal.r.k(str6, "authToken");
return com.locon.network.d.b(h1Var.remoteSource, TransactionsDTO.class, new REST.GET(h1Var.newProjectsServiceEndPoints.a(), kotlin.collections.t0.j(new zp.s[]{new zp.s("source", com.locon.pdp_data.remote.shared.a.ANDROID), new zp.s("project_id", str), new zp.s("transaction_type", str2), new zp.s("sort_by", str3), new zp.s("order", str4), new zp.s("from_date", str5), new zp.s("page", Integer.valueOf(i)), new zp.s("per_page", Integer.valueOf(i2))}), coil.disk.c.o("login_auth_token", str6)), null, false, 12);
}
public static kotlinx.coroutines.flow.k x(h1 h1Var, String str) {
h1Var.getClass();
kotlin.jvm.internal.r.k(str, "projectIds");
com.locon.network.d dVar = h1Var.remoteSource;
return kotlinx.coroutines.flow.m.x(new s1(dVar.getNetworkSdk(), com.locon.core.data.v0.class, null, false, new REST.GET("https://newprojects.housing.com/api/v0/project_transaction_details", kotlin.collections.t0.j(new zp.s[]{new zp.s("api_name", "PROJECT_TRANSACTION_DETAILS"), new zp.s("project_ids", str), new zp.s("source", com.locon.pdp_data.remote.shared.a.ANDROID)}), null, 4, null), dVar));
}
public static kotlinx.coroutines.flow.k y(h1 h1Var, String str) {
h1Var.getClass();
kotlin.jvm.internal.r.k(str, "uuid");
return com.locon.network.d.b(h1Var.remoteSource, EstablishmentsDto.class, new REST.GET(h1Var.regionsServiceEndPoints.m(), kotlin.collections.t0.j(new zp.s[]{new zp.s("uuid", str), new zp.s("api_name", "LOCALITY_OVERVIEW"), new zp.s("source", com.locon.pdp_data.remote.shared.a.ANDROID)}), null, 4, null), null, false, 12);
}
public final kotlinx.coroutines.flow.k A(UpdateFavoriteRequestModel updateFavoriteRequestModel) {
com.locon.network.d dVar = this.remoteSource;
return kotlinx.coroutines.flow.m.x(new u1(dVar.getNetworkSdk(), com.locon.core.data.v0.class, null, false, new REST.POST(this.dataServiceEndPoints.g(), null, updateFavoriteRequestModel, null, 10, null), dVar));
}
public final kotlinx.coroutines.flow.k B(String str, String str2, String str3, boolean z) {
kotlin.jvm.internal.r.k(str, "propertyId");
kotlin.jvm.internal.r.k(str2, "serviceType");
kotlin.jvm.internal.r.k(str3, "loginAuthToken");
com.locon.network.d dVar = this.remoteSource;
return kotlinx.coroutines.flow.m.x(new v1(dVar.getNetworkSdk(), com.locon.core.data.v0.class, null, false, new REST.PUT(this.odinServiceEndpoints.l(), null, kotlin.collections.t0.j(new zp.s[]{new zp.s("propertyId", str), new zp.s("removed", Boolean.valueOf(z)), new zp.s("serviceType", str2)}), coil.disk.c.o("login_auth_token", str3), 2, null), dVar));
}
public final kotlinx.coroutines.flow.k a(String str, String str2) {
kotlin.jvm.internal.r.k(str, com.locon.crf.data.network.b.PROJECT_ID);
kotlin.jvm.internal.r.k(str2, "userUUID");
return com.locon.network.d.b(this.remoteSource, CheckProjectSubscriptionDTO.class, new REST.GET(this.subscriptionsServiceEndPoints.b(), kotlin.collections.t0.j(new zp.s[]{new zp.s("user_uuid", str2), new zp.s("project_id", str)}), null, 4, null), null, false, 12);
}
public final kotlinx.coroutines.flow.k b(String str, String str2, sc.d0 d0Var) {
String D;
kotlin.jvm.internal.r.k(d0Var, "service");
kotlin.jvm.internal.r.k(str, "localityUUID");
if (d0Var == sc.d0.Rent) {
D = "RENT".toLowerCase(Locale.ROOT);
kotlin.jvm.internal.r.j(D, "toLowerCase(...)");
} else {
Locale locale = Locale.ROOT;
String lowerCase = "PROJECT".toLowerCase(locale);
kotlin.jvm.internal.r.j(lowerCase, "toLowerCase(...)");
String lowerCase2 = "RESALE".toLowerCase(locale);
kotlin.jvm.internal.r.j(lowerCase2, "toLowerCase(...)");
D = androidx.camera.camera2.internal.t2.D(lowerCase, ",", lowerCase2);
}
return com.locon.network.d.b(this.remoteSource, BHKPriceRangeDTO.class, new REST.GET(this.khojServiceEndPoints.c(), kotlin.collections.t0.j(new zp.s[]{new zp.s("uuid", str), new zp.s(com.locon.exclusive.data.repository.a.SERVICE_TYPE, D), new zp.s(com.locon.home.data.network.a.PROPERTY_TYPE_ID, str2)}), null, 4, null), null, false, 12);
}
public final kotlinx.coroutines.flow.k c(String str) {
kotlin.jvm.internal.r.k(str, "poly");
cq.d dVar = new cq.d();
dVar.put("poly", str);
dVar.put("paid", Boolean.TRUE);
com.locon.core.utils.i.INSTANCE.getClass();
Calendar calendar = Calendar.getInstance();
calendar.add(1, -1);
dVar.put("initiation_date", String.valueOf(System.currentTimeMillis() - calendar.getTimeInMillis()));
Map build = dVar.build();
com.locon.network.d dVar2 = this.remoteSource;
return kotlinx.coroutines.flow.m.x(new i1(dVar2.getNetworkSdk(), com.locon.core.data.v0.class, null, false, new REST.GET(this.khojServiceEndPoints.x(), build, null, 4, null), dVar2));
}
public final kotlinx.coroutines.flow.k f(String str) {
kotlin.jvm.internal.r.k(str, "cityUUID");
return com.locon.network.d.b(this.remoteSource, HighGrowthLocalities.class, new REST.GET(this.regionsServiceEndPoints.f(), kotlin.collections.t0.j(new zp.s[]{new zp.s("city_uuid", str), new zp.s("sort_key", "recommended"), new zp.s("page_no", "1"), new zp.s("page_size", "10")}), null, 4, null), null, false, 12);
}
public final kotlinx.coroutines.flow.k k(String str, String str2, String str3, String str4) {
kotlin.jvm.internal.r.k(str, "loginAuthToken");
kotlin.jvm.internal.r.k(str3, "cityUUID");
kotlin.jvm.internal.r.k(str4, "serviceType");
LinkedHashMap linkedHashMap = new LinkedHashMap();
if (str.length() > 0) {
linkedHashMap.put("Cookie", "login_auth_token=".concat(str));
}
return com.locon.network.d.b(this.remoteSource, PersonalisedRecommendedInsightsDto.class, new REST.GET(this.personalizeServiceEndPoints.c(), kotlin.collections.t0.j(new zp.s[]{new zp.s("ga_id", str2), new zp.s("city_uuid", str3), new zp.s("service", str4)}), kotlin.collections.t0.s(linkedHashMap)), null, false, 12);
}
public final kotlinx.coroutines.flow.k m(String str) {
kotlin.jvm.internal.r.k(str, com.locon.crf.data.network.b.PROJECT_ID);
return com.locon.network.d.b(this.remoteSource, ProjectDetailsDTO.class, new REST.GET(androidx.datastore.preferences.protobuf.q.k(this.venusServiceEndPoints.h(), "/", str, "/android"), null, null, 6, null), null, false, 12);
}
public final kotlinx.coroutines.flow.k n(String str, List list, List list2) {
kotlin.jvm.internal.r.k(str, "poly");
kotlin.jvm.internal.r.k(list, "projectIds");
kotlin.jvm.internal.r.k(list2, "polygonIds");
Map j = kotlin.collections.t0.j(new zp.s[]{new zp.s("api_name", "FETCH_BILLBOARDS_DATA"), new zp.s("placeholder_ids", 105), new zp.s("source", com.locon.pdp_data.remote.shared.a.ANDROID), new zp.s("poly", str)});
Map j2 = kotlin.collections.t0.j(new zp.s[]{new zp.s("user-visited-polygons", kotlin.collections.t.N(list2, ",", (String) null, (String) null, (kq.l) null, 62)), new zp.s("user-visited-projects", kotlin.collections.t.N(list, ",", (String) null, (String) null, (kq.l) null, 62))});
com.locon.network.d dVar = this.remoteSource;
return kotlinx.coroutines.flow.m.x(new m1(dVar.getNetworkSdk(), com.locon.core.data.v0.class, null, false, new REST.GET("https://khoj.housing.com/api/v7/buy/index/billboard_filter", j, j2), dVar));
}
public final kotlinx.coroutines.flow.k o(String str) {
kotlin.jvm.internal.r.k(str, "cityUUID");
return com.locon.network.d.b(this.remoteSource, RatedLocalities.class, new REST.GET(this.regionsServiceEndPoints.g(), kotlin.collections.t0.j(new zp.s[]{new zp.s("city_uuid", str), new zp.s("sort_key", "recommended"), new zp.s("p", "1"), new zp.s("results_per_page", "10")}), null, 4, null), null, false, 12);
}
public final kotlinx.coroutines.flow.k q(String str) {
kotlin.jvm.internal.r.k(str, "poly");
cq.d dVar = new cq.d();
dVar.put("poly", str);
Map build = dVar.build();
com.locon.network.d dVar2 = this.remoteSource;
return kotlinx.coroutines.flow.m.x(new p1(dVar2.getNetworkSdk(), com.locon.core.data.v0.class, null, false, new REST.GET(this.khojServiceEndPoints.z(), build, null, 4, null), dVar2));
}
public final kotlinx.coroutines.flow.k s() {
Map r = com.google.android.gms.measurement.internal.a.r(30, "size");
com.locon.network.d dVar = this.remoteSource;
return kotlinx.coroutines.flow.m.x(new q1(dVar.getNetworkSdk(), com.locon.core.data.v0.class, null, false, new REST.GET(this.odinServiceEndpoints.i(), r, null, 4, null), dVar));
}
public final kotlinx.coroutines.flow.k t(String str, String str2) {
kotlin.jvm.internal.r.k(str, "cityUUID");
kotlin.jvm.internal.r.k(str2, "query");
com.locon.network.d dVar = this.remoteSource;
String a = this.searchServiceEndPoints.a();
zp.s sVar = new zp.s("api_name", "TYPE_AHEAD_API");
zp.s sVar2 = new zp.s("bldng", Boolean.FALSE);
Boolean bool = Boolean.TRUE;
return com.locon.network.d.b(dVar, SearchSuggestionDto.class, new REST.GET(a, kotlin.collections.t0.j(new zp.s[]{sVar, sVar2, new zp.s("has_transaction", bool), new zp.s("polygon_uuid", str), new zp.s("region_sub_types", "locality"), new zp.s("rows", 10), new zp.s(com.locon.exclusive.data.repository.a.SERVICE_TYPE, sc.d0.Buy.getType()), new zp.s("show_projects", bool), new zp.s("source", com.locon.pdp_data.remote.shared.a.ANDROID), new zp.s("string", str2), new zp.s("type", "regions")}), null, 4, null), null, false, 12);
}
public final kotlinx.coroutines.flow.k u(String str) {
kotlin.jvm.internal.r.k(str, "profileUuid");
Map j = kotlin.collections.t0.j(new zp.s[]{new zp.s("monthsConsidered", 6), new zp.s("profileUuid", str)});
com.locon.network.d dVar = this.remoteSource;
return kotlinx.coroutines.flow.m.x(new r1(dVar.getNetworkSdk(), com.locon.core.data.v0.class, null, false, new REST.GET(this.odinServiceEndpoints.j(), j, null, 4, null), dVar));
}
public final kotlinx.coroutines.flow.k z(String str, String str2) {
kotlin.jvm.internal.r.k(str, com.locon.crf.data.network.b.PROJECT_ID);
kotlin.jvm.internal.r.k(str2, "userUUID");
com.locon.network.d dVar = this.remoteSource;
return kotlinx.coroutines.flow.m.x(new t1(dVar.getNetworkSdk(), com.locon.core.data.v0.class, null, false, new REST.POST(this.subscriptionsServiceEndPoints.a(), kotlin.collections.t0.j(new zp.s[]{new zp.s("user_uuid", str2), new zp.s("project_id", str)}), new JSONObject(), null, 8, null), dVar));
}
}