Fast Orange v3.5.3版本的 MD5 值为:33b91aba50c566533dfd683a85f79158
以下内容为反编译后的 FuturraBackCheckRequest.java 源代码,内容仅作参考
package com.free.vpn.proxy.hotspot.data.model.billing.futurra_back;
import androidx.compose.runtime.internal.StabilityInferred;
import androidx.constraintlayout.widget.ConstraintLayout;
import com.free.vpn.proxy.hotspot.data.model.billing.Order;
import com.free.vpn.proxy.hotspot.data.model.config.ProcessingEntity;
import com.free.vpn.proxy.hotspot.jf2;
import com.free.vpn.proxy.hotspot.ne2;
import com.free.vpn.proxy.hotspot.ui.billing.subscription.base.BaseSubscriptionFragment;
import com.free.vpn.proxy.hotspot.x74;
import com.free.vpn.proxy.hotspot.zm2;
import com.free.vpn.proxy.hotspot.zs4;
import java.util.Map;
import kotlin.Metadata;
import kotlin.Pair;
import kotlin.TuplesKt;
@StabilityInferred(parameters = 0)
@Metadata(d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\f\n\u0002\u0010$\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\b\u0004\b\u0007\u0018\u0000 \u001f2\u00020\u0001:\u0001\u001fB1\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0007\u0012\b\u0010\b\u001a\u0004\u0018\u00010\u0007\u0012\b\u0010\t\u001a\u0004\u0018\u00010\u0007¢\u0006\u0002\u0010\nR\u0011\u0010\u0006\u001a\u00020\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\fR\u0013\u0010\b\u001a\u0004\u0018\u00010\u0007¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\fR\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\u000fR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u0011R\u0013\u0010\t\u001a\u0004\u0018\u00010\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\fR\u001d\u0010\u0013\u001a\u000e\u0012\u0004\u0012\u00020\u0007\u0012\u0004\u0012\u00020\u00070\u0014¢\u0006\b\n\u0000\u001a\u0004\b\u0015\u0010\u0016R\u0011\u0010\u0017\u001a\u00020\u00078F¢\u0006\u0006\u001a\u0004\b\u0018\u0010\fR\u0011\u0010\u0019\u001a\u00020\u00078F¢\u0006\u0006\u001a\u0004\b\u001a\u0010\fR \u0010\u001b\u001a\u000e\u0012\u0004\u0012\u00020\u0007\u0012\u0004\u0012\u00020\u00070\u001c8BX\u0082\u0004¢\u0006\u0006\u001a\u0004\b\u001d\u0010\u001e¨\u0006 "}, d2 = {"Lcom/free/vpn/proxy/hotspot/data/model/billing/futurra_back/FuturraBackCheckRequest;", "", BaseSubscriptionFragment.KEY_ORDER, "Lcom/free/vpn/proxy/hotspot/data/model/billing/Order;", "entity", "Lcom/free/vpn/proxy/hotspot/data/model/config/ProcessingEntity;", "deviceId", "", "email", "phone", "(Lcom/free/vpn/proxy/hotspot/data/model/billing/Order;Lcom/free/vpn/proxy/hotspot/data/model/config/ProcessingEntity;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "getDeviceId", "()Ljava/lang/String;", "getEmail", "getEntity", "()Lcom/free/vpn/proxy/hotspot/data/model/config/ProcessingEntity;", "getOrder", "()Lcom/free/vpn/proxy/hotspot/data/model/billing/Order;", "getPhone", "requestQueryParams", "", "getRequestQueryParams", "()Ljava/util/Map;", "requestString", "getRequestString", "requestUrl", "getRequestUrl", "userCreds", "Lkotlin/Pair;", "getUserCreds", "()Lkotlin/Pair;", "Companion", "app_chinaSeoDirectBlackRelease"}, k = 1, mv = {1, 8, 0}, xi = ConstraintLayout.LayoutParams.Table.LAYOUT_CONSTRAINT_VERTICAL_CHAINSTYLE)
public final class FuturraBackCheckRequest {
private static final String DEFAULT_REQUEST_URL = "https://factspay.zhaiyiyou.comt/rest/order/checkSubs";
private static final String K_EMAIL = "email";
private static final String K_ORDER_REF = "orderRef";
private static final String K_PHONE = "phone";
private final String deviceId;
private final String email;
private final ProcessingEntity entity;
private final Order order;
private final String phone;
private final Map<String, String> requestQueryParams;
public static final int $stable = 8;
public FuturraBackCheckRequest(Order order, ProcessingEntity processingEntity, String str, String str2, String str3) {
zs4.o(order, BaseSubscriptionFragment.KEY_ORDER);
zs4.o(processingEntity, "entity");
zs4.o(str, "deviceId");
this.order = order;
this.entity = processingEntity;
this.deviceId = str;
this.email = str2;
this.phone = str3;
this.requestQueryParams = ne2.e0(TuplesKt.to("orderRef", order.getOrderRef()), getUserCreds());
}
private final Pair<String, String> getUserCreds() {
boolean z;
String str;
String str2 = this.email;
boolean z2 = false;
if (str2 != null && !x74.a1(str2)) {
z = false;
} else {
z = true;
}
String str3 = "";
if (!z) {
String str4 = this.email;
if (str4 != null) {
str3 = str4;
}
} else {
String str5 = this.phone;
if (str5 == null || x74.a1(str5)) {
z2 = true;
}
if (!z2) {
String str6 = this.phone;
if (str6 != null) {
str3 = str6;
}
str = "phone";
return TuplesKt.to(str, str3);
}
str3 = jf2.C(this.deviceId, "@samplemail.com");
}
str = "email";
return TuplesKt.to(str, str3);
}
public final String getDeviceId() {
return this.deviceId;
}
public final String getEmail() {
return this.email;
}
public final ProcessingEntity getEntity() {
return this.entity;
}
public final Order getOrder() {
return this.order;
}
public final String getPhone() {
return this.phone;
}
public final Map<String, String> getRequestQueryParams() {
return this.requestQueryParams;
}
public final String getRequestString() {
StringBuilder sb = new StringBuilder();
sb.append(getRequestUrl());
int i = 0;
for (Object obj : this.requestQueryParams.entrySet()) {
int i2 = i + 1;
if (i < 0) {
zm2.w0();
throw null;
}
Map.Entry entry = (Map.Entry) obj;
sb.append(i == 0 ? "?" : "&");
sb.append(entry.getKey() + "=" + entry.getValue());
i = i2;
}
String sb2 = sb.toString();
zs4.n(sb2, "toString(...)");
return sb2;
}
public final String getRequestUrl() {
String checkOrderUrl = this.entity.getCheckOrderUrl();
return checkOrderUrl == null ? DEFAULT_REQUEST_URL : checkOrderUrl;
}
}