导航菜单

页面标题

页面副标题

Housing v14.7.8 - y3.java 源代码

正在查看: Housing v14.7.8 应用的 y3.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$generateSeenShareUrl$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$generateSeenShareUrl$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\n774#2:2736\n865#2,2:2737\n1563#2:2739\n1634#2,3:2740\n774#2:2743\n865#2,2:2744\n1563#2:2746\n1634#2,3:2747\n*S KotlinDebug\n*F\n+ 1 MyActivitySeeAllViewModel.kt\ncom/locon/profile/presentation/ui/viewmodels/MyActivitySeeAllViewModel$generateSeenShareUrl$1\n*L\n809#1:2715\n809#1:2716,2\n810#1:2718\n810#1:2719,3\n812#1:2722\n812#1:2723,2\n813#1:2725\n813#1:2726,3\n815#1:2729\n815#1:2730,2\n816#1:2732\n816#1:2733,3\n819#1:2736\n819#1:2737,2\n820#1:2739\n820#1:2740,3\n823#1:2743\n823#1:2744,2\n824#1:2746\n824#1:2747,3\n*E\n"})
final class y3 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 y3(c3 c3Var, String str, String str2, String str3, String str4, kotlin.coroutines.d<? super y3> 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 y3(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 seenProperties = this.this$0.getSeenProperties();
        ArrayList arrayList = new ArrayList();
        for (Object obj2 : seenProperties) {
            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 seenProperties2 = this.this$0.getSeenProperties();
        ArrayList arrayList3 = new ArrayList();
        for (Object obj3 : seenProperties2) {
            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 seenProperties3 = this.this$0.getSeenProperties();
        ArrayList arrayList5 = new ArrayList();
        for (Object obj4 : seenProperties3) {
            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());
        }
        List seenProperties4 = this.this$0.getSeenProperties();
        ArrayList arrayList7 = new ArrayList();
        for (Object obj5 : seenProperties4) {
            if (kotlin.text.q.v(((ProfilePropertyModel) obj5).getPropertyType(), sc.d0.CommercialLease.getType(), true)) {
                arrayList7.add(obj5);
            }
        }
        ArrayList arrayList8 = new ArrayList(kotlin.collections.t.u(arrayList7, 10));
        Iterator it4 = arrayList7.iterator();
        while (it4.hasNext()) {
            arrayList8.add(((ProfilePropertyModel) it4.next()).e());
        }
        List seenProperties5 = this.this$0.getSeenProperties();
        ArrayList arrayList9 = new ArrayList();
        for (Object obj6 : seenProperties5) {
            if (kotlin.text.q.v(((ProfilePropertyModel) obj6).getPropertyType(), sc.d0.CommercialBuy.getType(), true)) {
                arrayList9.add(obj6);
            }
        }
        ArrayList arrayList10 = new ArrayList(kotlin.collections.t.u(arrayList9, 10));
        Iterator it5 = arrayList9.iterator();
        while (it5.hasNext()) {
            arrayList10.add(((ProfilePropertyModel) it5.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=seen_properties&shared_listing=true&sharerName=", this.$userName, "&utm_source=Share_Profile_section_seen&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._shareSeenFlow;
        c3.j(c3Var, new ShareShortenedUrlData(str, "", ((ShareViaModel) w1Var.getValue()).getImage(), ""), this.$title, this.$message, 1);
        return zp.j0.INSTANCE;
    }

    @Override
    public final Object invoke(kotlinx.coroutines.j0 j0Var, kotlin.coroutines.d<? super zp.j0> dVar) {
        return ((y3) create(j0Var, dVar)).invokeSuspend(zp.j0.INSTANCE);
    }
}