得物.apk(点击下载) / CustomizeCustomerServiceCallback$goKfPage$1.java


package com.shizhuang.duapp.modules.product_detail.server.customize.callbacks;

import com.meituan.robust.ChangeQuickRedirect;
import com.meituan.robust.PatchProxy;
import com.shizhuang.duapp.modules.product_detail.server.model.ServerInfoModel;
import com.shizhuang.duapp.modules.router.ServiceManager;
import com.shizhuang.duapp.modules.router.model.KfChatOption;
import com.shizhuang.duapp.modules.router.model.KfProductInfo;
import kotlin.Metadata;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.Lambda;

@Metadata(bv = {1, 0, 3}, d1 = {"\u0000\b\n\u0000\n\u0002\u0010\u0002\n\u0000\u0010\u0000\u001a\u00020\u0001H\n¢\u0006\u0002\b\u0002"}, d2 = {"<anonymous>", "", "invoke"}, k = 3, mv = {1, 4, 2})
/* compiled from: CustomizeCustomerServiceCallback.kt */
public final class CustomizeCustomerServiceCallback$goKfPage$1 extends Lambda implements Function0<Unit> {
    public static ChangeQuickRedirect changeQuickRedirect;
    public final /* synthetic */ CustomizeCustomerServiceCallback this$0;

    /* JADX INFO: super call moved to the top of the method (can break code semantics) */
    public CustomizeCustomerServiceCallback$goKfPage$1(CustomizeCustomerServiceCallback customizeCustomerServiceCallback) {
        super(0);
        this.this$0 = customizeCustomerServiceCallback;
    }

    @Override // kotlin.jvm.functions.Function0
    public final void invoke() {
        ServerInfoModel value;
        if (!PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 282672, new Class[0], Void.TYPE).isSupported && (value = this.this$0.a().n().getValue()) != null) {
            KfProductInfo kfProductInfo = new KfProductInfo();
            kfProductInfo.setSpuId(value.getMainSpuId());
            kfProductInfo.setUrl("https://m.poizon.com/router/product/ProductDetail?spuId=" + value.getMainSpuId());
            kfProductInfo.setLogoUrl(value.getMainSpuLogoUrl());
            KfChatOption kfChatOption = new KfChatOption();
            kfChatOption.productInfo = kfProductInfo;
            kfChatOption.spuId = Long.valueOf(value.getMainSpuId());
            ServiceManager.F().startChattingActivity(this.this$0.f13641c, kfChatOption);
        }
    }
}