正在查看: 饼干视频 v4.1.0 应用的 C1331.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: 饼干视频 v4.1.0 应用的 C1331.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package amc.cd.p134;
import amc.cd.p101.C0893;
import amc.cd.p101.C0904;
import amc.cd.p106.C0936;
import amc.cd.p134.C1331;
import amc.cd.उइआए.ईऌओओआऊउउईउ;
import amc.cd.उइआए.औउऐऌ;
import amc.cd.ऋईऋइऔएऐऊ.ईअअआऔऌएऌई;
import amc.cd.ऌऐऊओऌऔऊ.ओऔईऔइएअओऐओ;
import amc.cd.औउईऐऔएओओ.एऋऔऔइआ;
import android.app.Activity;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.appcompat.widget.ActivityChooserModel;
import androidx.databinding.ObservableField;
import com.aamon.symmetry.R$id;
import com.aamon.symmetry.R$layout;
import com.aamon.symmetry.origin.data.entry.ErrorSheetEntry;
import java.io.IOException;
import java.util.List;
import kotlin.Metadata;
import okhttp3.Response;
import okhttp3.ResponseBody;
@Metadata(d1 = {"\u0000H\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\u0002\u0010\u000b\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0013\n\u0002\u0018\u0002\n\u0002\b\n\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b0\u00101Jt\u0010\u0013\u001a\u00020\u00122\u0006\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0005\u001a\u00020\u00042\b\u0010\u0007\u001a\u0004\u0018\u00010\u00062\b\u0010\t\u001a\u0004\u0018\u00010\b2\b\u0010\u000b\u001a\u0004\u0018\u00010\n2\u000e\u0010\u000e\u001a\n\u0012\u0004\u0012\u00020\r\u0018\u00010\f2\u000e\u0010\u000f\u001a\n\u0012\u0004\u0012\u00020\r\u0018\u00010\f2\u000e\u0010\u0010\u001a\n\u0012\u0004\u0012\u00020\r\u0018\u00010\f2\u000e\u0010\u0011\u001a\n\u0012\u0004\u0012\u00020\r\u0018\u00010\fJ\u000e\u0010\u0016\u001a\u00020\u00122\u0006\u0010\u0015\u001a\u00020\u0014R\u0018\u0010\u0003\u001a\u0004\u0018\u00010\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0017\u0010\u0018R\u0018\u0010\u0005\u001a\u0004\u0018\u00010\u00048\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0019\u0010\u001aR\u0018\u0010\u0007\u001a\u0004\u0018\u00010\u00068\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u001b\u0010\u001cR\u0018\u0010\t\u001a\u0004\u0018\u00010\b8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u001d\u0010\u001eR\u0018\u0010\u000b\u001a\u0004\u0018\u00010\n8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u001f\u0010 R\u001e\u0010\u000e\u001a\n\u0012\u0004\u0012\u00020\r\u0018\u00010\f8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b!\u0010\"R\u001e\u0010\u000f\u001a\n\u0012\u0004\u0012\u00020\r\u0018\u00010\f8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b#\u0010\"R*\u0010\u0010\u001a\n\u0012\u0004\u0012\u00020\r\u0018\u00010\f8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b$\u0010\"\u001a\u0004\b\u0010\u0010%\"\u0004\b&\u0010'R\u001e\u0010\u0011\u001a\n\u0012\u0004\u0012\u00020\r\u0018\u00010\f8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u0013\u0010\"R$\u0010-\u001a\u0004\u0018\u00010(8\u0006@\u0006X\u0086\u000e¢\u0006\u0012\n\u0004\b\u0016\u0010)\u001a\u0004\b$\u0010*\"\u0004\b+\u0010,R\u0011\u0010/\u001a\u00020\u00128F¢\u0006\u0006\u001a\u0004\b#\u0010.¨\u00062"}, d2 = {"Lamc/cd/ऐआऋऋअअईऐआऌ/इईऔओऋआऐइऐ;", "", "Landroid/content/Context;", "context", "Landroid/app/Activity;", ActivityChooserModel.ATTRIBUTE_ACTIVITY, "Landroid/widget/LinearLayout;", "llErrorPage", "Landroid/widget/TextView;", "tvEmpty", "Landroid/widget/Button;", "btnDownload", "Landroidx/databinding/ObservableField;", "", "loadError", "isLoading", "isErrorBtnDownload", "loadBg", "Lamc/cd/औउईऐऔएओओ/एऋऔऔइआ;", "अअआऊअआइआ", "Lcom/aamon/symmetry/origin/data/entry/ErrorSheetEntry;", "errorPageEntry", "ईअअआऔऌएऌई", "ईऌओओआऊउउईउ", "Landroid/content/Context;", "ऐऊऐएओऔऔऋऐऐ", "Landroid/app/Activity;", "औउऐऌ", "Landroid/widget/LinearLayout;", "इईऔओऋआऐइऐ", "Landroid/widget/TextView;", "ओइऌऊएएऐ", "Landroid/widget/Button;", "ऌऔऌआउउऊआ", "Landroidx/databinding/ObservableField;", "ऊएअऊऔ", "एअऐऌए", "()Landroidx/databinding/ObservableField;", "setErrorBtnDownload", "(Landroidx/databinding/ObservableField;)V", "Lamc/cd/ऐआऋऋअअईऐआऌ/ओइऌऊएएऐ;", "Lamc/cd/ऐआऋऋअअईऐआऌ/ओइऌऊएएऐ;", "()Lamc/cd/ऐआऋऋअअईऐआऌ/ओइऌऊएएऐ;", "ओऌएऐऐऔओऋउउ", "(Lamc/cd/ऐआऋऋअअईऐआऌ/ओइऌऊएएऐ;)V", "updateNewPop", "()Lamc/cd/औउईऐऔएओओ/एऋऔऔइआ;", "errorPageData", "<init>", "()V", "app_cyBgsp_sp02Release"}, mv = {1, 7, 1})
public final class C1331 {
public ObservableField<Boolean> loadBg;
public TextView tvEmpty;
public C1335 updateNewPop;
public Context context;
public ObservableField<Boolean> isLoading;
public ObservableField<Boolean> loadError;
public ObservableField<Boolean> isErrorBtnDownload;
public Activity activity;
public Button btnDownload;
public LinearLayout llErrorPage;
@Metadata(d1 = {"\u0000\u001d\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003*\u0001\u0000\b\n\u0018\u00002\u00020\u0001J\u0012\u0010\u0005\u001a\u00020\u00042\b\u0010\u0003\u001a\u0004\u0018\u00010\u0002H\u0016J\u0010\u0010\b\u001a\u00020\u00042\u0006\u0010\u0007\u001a\u00020\u0006H\u0016¨\u0006\t"}, d2 = {"amc/cd/ऐआऋऋअअईऐआऌ/इईऔओऋआऐइऐ$ईऌओओआऊउउईउ", "Lamc/cd/ऌऔआआऌ/ऐऊऐएओऔऔऋऐऐ$ऐऊऐएओऔऔऋऐऐ;", "Ljava/io/IOException;", "e", "Lamc/cd/औउईऐऔएओओ/एऋऔऔइआ;", "onFailure", "Lokhttp3/Response;", "response", "onSuccess", "app_cyBgsp_sp02Release"}, mv = {1, 7, 1})
public static final class C1332 implements C0936.InterfaceC0938 {
public C1332() {
}
public static final void m1173(C1331 c1331, ErrorSheetEntry errorSheetEntry) {
ओऔईऔइएअओऐओ.ऌऔऌआउउऊआ(c1331, "this$0");
ओऔईऔइएअओऐओ.ऌऔऌआउउऊआ(errorSheetEntry, "$errorPageEntry");
c1331.m1168(errorSheetEntry);
}
@Override
public void onFailure(IOException iOException) {
ObservableField observableField;
ObservableField observableField2 = C1331.this.isLoading;
if (observableField2 != null) {
observableField2.set(Boolean.FALSE);
}
if (C1331.this.loadBg != null && (observableField = C1331.this.loadBg) != null) {
observableField.set(Boolean.TRUE);
}
ObservableField observableField3 = C1331.this.loadError;
if (observableField3 != null) {
observableField3.set(Boolean.TRUE);
}
}
@Override
public void onSuccess(Response response) {
ObservableField observableField;
ओऔईऔइएअओऐओ.ऌऔऌआउउऊआ(response, "response");
try {
ResponseBody body = response.body();
ओऔईऔइएअओऐओ.औउऐऌ(body);
String string = body.string();
int length = string.length() - 1;
int i = 0;
boolean z = false;
while (i <= length) {
boolean z2 = ओऔईऔइएअओऐओ.एअऐऌए(string.charAt(!z ? i : length), 32) <= 0;
if (z) {
if (!z2) {
break;
} else {
length--;
}
} else if (z2) {
i++;
} else {
z = true;
}
}
String str = ईऌओओआऊउउईउ.ईऌओओआऊउउईउ(string.subSequence(i, length + 1).toString());
ओऔईऔइएअओऐओ.ओइऌऊएएऐ(str, "decrypt(response.body!!.…ing().trim { it <= ' ' })");
if (ईअअआऔऌएऌई.ईऌओओआऊउउईउ.ईऌओओआऊउउईउ(str)) {
return;
}
Object m774 = C0893.m774(str, ErrorSheetEntry.class);
ओऔईऔइएअओऐओ.ओइऌऊएएऐ(m774, "fromJson(\n … )");
final ErrorSheetEntry errorSheetEntry = (ErrorSheetEntry) m774;
Activity activity = C1331.this.activity;
if (activity != null) {
final C1331 c1331 = C1331.this;
activity.runOnUiThread(new Runnable() {
@Override
public final void run() {
C1331.C1332.m1173(C1331.this, errorSheetEntry);
}
});
}
} catch (IOException e) {
e.printStackTrace();
ObservableField observableField2 = C1331.this.isLoading;
if (observableField2 != null) {
observableField2.set(Boolean.FALSE);
}
if (C1331.this.loadBg != null && (observableField = C1331.this.loadBg) != null) {
observableField.set(Boolean.TRUE);
}
ObservableField observableField3 = C1331.this.loadError;
if (observableField3 != null) {
observableField3.set(Boolean.TRUE);
}
}
}
}
public static final void m1161(ErrorSheetEntry errorSheetEntry, C1331 c1331, View view) {
ओऔईऔइएअओऐओ.ऌऔऌआउउऊआ(errorSheetEntry, "$errorPageEntry");
ओऔईऔइएअओऐओ.ऌऔऌआउउऊआ(c1331, "this$0");
if (ईअअआऔऌएऌई.ईऌओओआऊउउईउ.ईऌओओआऊउउईउ(errorSheetEntry.getA())) {
औउऐऌ.औउऐऌ("下载链接为空");
return;
}
C1335 c1335 = new C1335();
c1331.updateNewPop = c1335;
c1335.m1190(c1331.context, c1331.activity, errorSheetEntry.getA());
}
public static final void m1165(C1331 c1331, String str, View view) {
ओऔईऔइएअओऐओ.ऌऔऌआउउऊआ(c1331, "this$0");
ओऔईऔइएअओऐओ.ऌऔऌआउउऊआ(str, "$str");
C0904.m784(c1331.context, str);
}
public final void m1167(Context context, Activity activity, LinearLayout linearLayout, TextView textView, Button button, ObservableField<Boolean> observableField, ObservableField<Boolean> observableField2, ObservableField<Boolean> observableField3, ObservableField<Boolean> observableField4) {
ओऔईऔइएअओऐओ.ऌऔऌआउउऊआ(context, "context");
ओऔईऔइएअओऐओ.ऌऔऌआउउऊआ(activity, ActivityChooserModel.ATTRIBUTE_ACTIVITY);
this.context = context;
this.activity = activity;
this.llErrorPage = linearLayout;
this.tvEmpty = textView;
this.btnDownload = button;
this.loadError = observableField;
this.isLoading = observableField2;
this.isErrorBtnDownload = observableField3;
this.loadBg = observableField4;
m1169();
}
public final void m1168(final ErrorSheetEntry errorSheetEntry) {
TextView textView;
ओऔईऔइएअओऐओ.ऌऔऌआउउऊआ(errorSheetEntry, "errorPageEntry");
ObservableField<Boolean> observableField = this.isLoading;
if (observableField != null) {
observableField.set(Boolean.FALSE);
}
ObservableField<Boolean> observableField2 = this.loadBg;
if (observableField2 != null && observableField2 != null) {
observableField2.set(Boolean.TRUE);
}
ObservableField<Boolean> observableField3 = this.loadError;
if (observableField3 != null) {
observableField3.set(Boolean.TRUE);
}
if (!ईअअआऔऌएऌई.ईऌओओआऊउउईउ.ईऌओओआऊउउईउ(errorSheetEntry.getC()) && (textView = this.tvEmpty) != null) {
textView.setText(errorSheetEntry.getC());
}
List<String> w = errorSheetEntry.getW();
if (!(w == null || w.isEmpty())) {
LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams(-2, -2);
layoutParams.setMargins(15, 10, 15, 10);
List<String> w2 = errorSheetEntry.getW();
ओऔईऔइएअओऐओ.औउऐऌ(w2);
int size = w2.size();
int i = 0;
while (i < size) {
View inflate = LayoutInflater.from(this.context).inflate(R$layout.item_error_page_net, (ViewGroup) this.llErrorPage, false);
ओऔईऔइएअओऐओ.ओइऌऊएएऐ(inflate, "from(context)\n …_net, llErrorPage, false)");
TextView textView2 = (TextView) inflate.findViewById(R$id.tv_name);
StringBuilder sb = new StringBuilder();
sb.append("官网");
int i2 = i + 1;
sb.append(i2);
textView2.setText(sb.toString());
List<String> w3 = errorSheetEntry.getW();
ओऔईऔइएअओऐओ.औउऐऌ(w3);
final String str = w3.get(i);
textView2.setOnClickListener(new View.OnClickListener() {
@Override
public final void onClick(View view) {
C1331.m1165(C1331.this, str, view);
}
});
LinearLayout linearLayout = this.llErrorPage;
if (linearLayout != null) {
linearLayout.addView(textView2, layoutParams);
}
i = i2;
}
}
if (ईअअआऔऌएऌई.ईऌओओआऊउउईउ.ईऌओओआऊउउईउ(errorSheetEntry.getA())) {
return;
}
ObservableField<Boolean> observableField4 = this.isErrorBtnDownload;
if (observableField4 != null) {
observableField4.set(Boolean.TRUE);
}
Button button = this.btnDownload;
if (button != null) {
button.setOnClickListener(new View.OnClickListener() {
@Override
public final void onClick(View view) {
C1331.m1161(ErrorSheetEntry.this, this, view);
}
});
}
}
public final एऋऔऔइआ m1169() {
LinearLayout linearLayout = this.llErrorPage;
if (linearLayout != null) {
linearLayout.removeAllViews();
}
C0936.m989("https://wdom.oss-cn-guangzhou.aliyuncs.com/common/network_error.png", new C1332());
return एऋऔऔइआ.ईऌओओआऊउउईउ;
}
public final C1335 getUpdateNewPop() {
return this.updateNewPop;
}
public final void m1171(C1335 c1335) {
this.updateNewPop = c1335;
}
}