正在查看: Housing v14.7.8 应用的 x3.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Housing v14.7.8 应用的 x3.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.locon.profile.presentation.ui.viewmodels;
import com.locon.core.data.sharedmodels.ShareShortenedUrlData;
import com.locon.core.data.sharedmodels.ShareViaModel;
import com.locon.profile.demand.model.ProfilePropertyModel;
import com.quickblox.core.helper.ToStringHelper;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import kotlin.Metadata;
import kotlin.coroutines.jvm.internal.DebugMetadata;
import kotlin.jvm.internal.SourceDebugExtension;
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0002\u001a\u00020\u0001*\u00020\u0000H\n¢\u0006\u0004\b\u0002\u0010\u0003"}, d2 = {"Lkotlinx/coroutines/j0;", "Lzp/j0;", "<anonymous>", "(Lkotlinx/coroutines/j0;)V"}, k = 3, mv = {2, 0, 0})
@DebugMetadata(c = "com.locon.profile.presentation.ui.viewmodels.MyActivitySeeAllViewModel$generateSearchShareUrl$1", f = "MyActivitySeeAllViewModel.kt", i = {}, l = {}, m = "invokeSuspend", n = {}, s = {})
@SourceDebugExtension({"SMAP\nMyActivitySeeAllViewModel.kt\nKotlin\n*S Kotlin\n*F\n+ 1 MyActivitySeeAllViewModel.kt\ncom/locon/profile/presentation/ui/viewmodels/MyActivitySeeAllViewModel$generateSearchShareUrl$1\n+ 2 _Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n*L\n1#1,2714:1\n774#2:2715\n865#2,2:2716\n1563#2:2718\n1634#2,3:2719\n774#2:2722\n865#2,2:2723\n1563#2:2725\n1634#2,3:2726\n774#2:2729\n865#2,2:2730\n1563#2:2732\n1634#2,3:2733\n*S KotlinDebug\n*F\n+ 1 MyActivitySeeAllViewModel.kt\ncom/locon/profile/presentation/ui/viewmodels/MyActivitySeeAllViewModel$generateSearchShareUrl$1\n*L\n867#1:2715\n867#1:2716,2\n868#1:2718\n868#1:2719,3\n870#1:2722\n870#1:2723,2\n871#1:2725\n871#1:2726,3\n873#1:2729\n873#1:2730,2\n874#1:2732\n874#1:2733,3\n*E\n"})
final class x3 extends eq.i implements kq.p<kotlinx.coroutines.j0, kotlin.coroutines.d<? super zp.j0>, Object> {
final String $message;
final String $serviceType;
final String $title;
final String $userName;
int label;
final c3 this$0;
public x3(c3 c3Var, String str, String str2, String str3, String str4, kotlin.coroutines.d<? super x3> dVar) {
super(2, dVar);
this.this$0 = c3Var;
this.$serviceType = str;
this.$userName = str2;
this.$title = str3;
this.$message = str4;
}
@Override
public final kotlin.coroutines.d<zp.j0> create(Object obj, kotlin.coroutines.d<?> dVar) {
return new x3(this.this$0, this.$serviceType, this.$userName, this.$title, this.$message, dVar);
}
@Override
public final Object invokeSuspend(Object obj) {
kotlinx.coroutines.flow.w1 w1Var;
kotlin.coroutines.intrinsics.a aVar = kotlin.coroutines.intrinsics.a.COROUTINE_SUSPENDED;
if (this.label != 0) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
}
zp.u.b(obj);
List searchedProperties = this.this$0.getSearchedProperties();
ArrayList arrayList = new ArrayList();
for (Object obj2 : searchedProperties) {
if (kotlin.text.q.v(((ProfilePropertyModel) obj2).getPropertyType(), "rent", true)) {
arrayList.add(obj2);
}
}
ArrayList arrayList2 = new ArrayList(kotlin.collections.t.u(arrayList, 10));
Iterator it = arrayList.iterator();
while (it.hasNext()) {
arrayList2.add(((ProfilePropertyModel) it.next()).e());
}
List searchedProperties2 = this.this$0.getSearchedProperties();
ArrayList arrayList3 = new ArrayList();
for (Object obj3 : searchedProperties2) {
if (kotlin.text.q.v(((ProfilePropertyModel) obj3).getPropertyType(), com.locon.home.presentation.ui.viewModels.j0.RESALE, true)) {
arrayList3.add(obj3);
}
}
ArrayList arrayList4 = new ArrayList(kotlin.collections.t.u(arrayList3, 10));
Iterator it2 = arrayList3.iterator();
while (it2.hasNext()) {
arrayList4.add(((ProfilePropertyModel) it2.next()).e());
}
List searchedProperties3 = this.this$0.getSearchedProperties();
ArrayList arrayList5 = new ArrayList();
for (Object obj4 : searchedProperties3) {
if (kotlin.text.q.v(((ProfilePropertyModel) obj4).getPropertyType(), com.locon.home.presentation.ui.viewModels.j0.NEW_PROJECT, true)) {
arrayList5.add(obj4);
}
}
ArrayList arrayList6 = new ArrayList(kotlin.collections.t.u(arrayList5, 10));
Iterator it3 = arrayList5.iterator();
while (it3.hasNext()) {
arrayList6.add(((ProfilePropertyModel) it3.next()).e());
}
kotlin.jvm.internal.m0 m0Var = new kotlin.jvm.internal.m0();
m0Var.element = defpackage.a.n("https://housing.com/in/shared-listing?serviceName=", this.$serviceType, "&listName=searched_properties&shared_listing=true&sharerName=", this.$userName, "&utm_source=Share_Profile_section_searched&utm_medium=Share_bar");
if (!arrayList2.isEmpty()) {
m0Var.element = m0Var.element + "&rent=" + kotlin.collections.t.N(arrayList2, ToStringHelper.COMMA_SEPARATOR, null, null, null, 62);
}
if (!arrayList4.isEmpty()) {
m0Var.element = m0Var.element + "&resale=" + kotlin.collections.t.N(arrayList4, ToStringHelper.COMMA_SEPARATOR, null, null, null, 62);
}
if (!arrayList6.isEmpty()) {
m0Var.element = m0Var.element + "&project=" + kotlin.collections.t.N(arrayList6, ToStringHelper.COMMA_SEPARATOR, null, null, null, 62);
}
c3 c3Var = this.this$0;
String str = (String) m0Var.element;
w1Var = c3Var._shareSearchFlow;
c3.j(c3Var, new ShareShortenedUrlData(str, "", ((ShareViaModel) w1Var.getValue()).getImage(), ""), this.$title, this.$message, 3);
return zp.j0.INSTANCE;
}
@Override
public final Object invoke(kotlinx.coroutines.j0 j0Var, kotlin.coroutines.d<? super zp.j0> dVar) {
return ((x3) create(j0Var, dVar)).invokeSuspend(zp.j0.INSTANCE);
}
}