正在查看: Your TV v2.0.2 应用的 k4.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Your TV v2.0.2 应用的 k4.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package G0;
import b.AbstractC0294a;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
import java.util.Locale;
import kotlinx.coroutines.BuildersKt__Builders_commonKt;
import kotlinx.coroutines.CoroutineScopeKt;
import kotlinx.coroutines.Dispatchers;
public abstract class k4 {
public static long f1215a;
public static final androidx.lifecycle.J f1216b = new androidx.lifecycle.J();
static {
BuildersKt__Builders_commonKt.launch$default(CoroutineScopeKt.CoroutineScope(Dispatchers.getIO()), null, null, new i4(2, null), 3, null);
}
public static String a(String str) {
return (e1.o.f0(str, "http://", false) || e1.o.f0(str, "https://", false) || e1.o.f0(str, "file://", false) || e1.o.f0(str, "socks://", false) || e1.o.f0(str, "socks5://", false)) ? str : e1.o.f0(str, "//", false) ? "http:".concat(str) : "http://".concat(str);
}
public static String b(int i2) {
String format = new SimpleDateFormat("HH:mm", Locale.getDefault()).format(new Date(i2 * 1000));
kotlin.jvm.internal.j.d(format, "format(...)");
return format;
}
public static long c() {
return (System.currentTimeMillis() - f1215a) / 1000;
}
public static List d(String url) {
kotlin.jvm.internal.j.e(url, "url");
if (!e1.o.f0(url, "https://raw.githubusercontent.com", false) && !e1.o.f0(url, "https://github.com", false)) {
return AbstractC0294a.D(url);
}
List X2 = N0.m.X("https://ghproxy.net/", "https://ghfast.top/", "https://www.ghproxy.cc/", "https://ghproxy.cn/", "https://gh.llkk.cc/", "https://cf.ghproxy.cc/", "https://github.horsenma.top/", "https://gh-proxy.llyke.com/", "https://mirror.ghproxy.com/", "https://ghproxy.com/", "https://github.moeyy.cn/", "https://ghp.ci/", "https://ghproxy.click/");
ArrayList arrayList = new ArrayList(N0.n.a0(X2));
Iterator it = X2.iterator();
while (it.hasNext()) {
arrayList.add(((String) it.next()) + url);
}
return arrayList;
}
}