Primer paso de la investigacion. Se aportan el .apk, las carpetas con el apk extraido y el apk descompilado. El archivo API_DOCUMENTATION.md es un archivo donde se anotaran los descubrimientos del funcionamiento de la API, y los .py son scripts para probar la funcionalidad de la API con los métodos que vayamos encontrando. Finalmente, los archivos .js son scripts de Frida para extraer informacion de la APP durante la ejecucion.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package kotlin.internal;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.SinceKotlin;
|
||||
import kotlin.annotation.AnnotationRetention;
|
||||
import kotlin.annotation.AnnotationTarget;
|
||||
|
||||
@Target({ElementType.PARAMETER})
|
||||
@SinceKotlin(version = "1.2")
|
||||
@Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0010\u001b\n\u0000\b\u0081\u0002\u0018\u00002\u00020\u0001B\u0000¨\u0006\u0002"}, d2 = {"Lkotlin/internal/AccessibleLateinitPropertyLiteral;", "", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.VALUE_PARAMETER})
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
@kotlin.annotation.Retention(AnnotationRetention.BINARY)
|
||||
/* loaded from: classes3.dex */
|
||||
public @interface AccessibleLateinitPropertyLiteral {
|
||||
}
|
||||
15
apk_decompiled/sources/kotlin/internal/ContractsDsl.java
Normal file
15
apk_decompiled/sources/kotlin/internal/ContractsDsl.java
Normal file
@@ -0,0 +1,15 @@
|
||||
package kotlin.internal;
|
||||
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.SinceKotlin;
|
||||
import kotlin.annotation.AnnotationRetention;
|
||||
|
||||
@SinceKotlin(version = "1.2")
|
||||
@Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0010\u001b\n\u0000\b\u0081\u0002\u0018\u00002\u00020\u0001B\u0000¨\u0006\u0002"}, d2 = {"Lkotlin/internal/ContractsDsl;", "", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
@kotlin.annotation.Retention(AnnotationRetention.BINARY)
|
||||
/* loaded from: classes3.dex */
|
||||
public @interface ContractsDsl {
|
||||
}
|
||||
18
apk_decompiled/sources/kotlin/internal/DynamicExtension.java
Normal file
18
apk_decompiled/sources/kotlin/internal/DynamicExtension.java
Normal file
@@ -0,0 +1,18 @@
|
||||
package kotlin.internal;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.annotation.AnnotationRetention;
|
||||
import kotlin.annotation.AnnotationTarget;
|
||||
|
||||
@Target({ElementType.METHOD})
|
||||
@Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0010\u001b\n\u0000\b\u0081\u0002\u0018\u00002\u00020\u0001B\u0000¨\u0006\u0002"}, d2 = {"Lkotlin/internal/DynamicExtension;", "", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY})
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
@kotlin.annotation.Retention(AnnotationRetention.BINARY)
|
||||
/* loaded from: classes3.dex */
|
||||
public @interface DynamicExtension {
|
||||
}
|
||||
17
apk_decompiled/sources/kotlin/internal/Exact.java
Normal file
17
apk_decompiled/sources/kotlin/internal/Exact.java
Normal file
@@ -0,0 +1,17 @@
|
||||
package kotlin.internal;
|
||||
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.annotation.AnnotationRetention;
|
||||
import kotlin.annotation.AnnotationTarget;
|
||||
|
||||
@Target({})
|
||||
@Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0010\u001b\n\u0000\b\u0081\u0002\u0018\u00002\u00020\u0001B\u0000¨\u0006\u0002"}, d2 = {"Lkotlin/internal/Exact;", "", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.TYPE})
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
@kotlin.annotation.Retention(AnnotationRetention.BINARY)
|
||||
/* loaded from: classes3.dex */
|
||||
public @interface Exact {
|
||||
}
|
||||
18
apk_decompiled/sources/kotlin/internal/HidesMembers.java
Normal file
18
apk_decompiled/sources/kotlin/internal/HidesMembers.java
Normal file
@@ -0,0 +1,18 @@
|
||||
package kotlin.internal;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.annotation.AnnotationRetention;
|
||||
import kotlin.annotation.AnnotationTarget;
|
||||
|
||||
@Target({ElementType.METHOD})
|
||||
@Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0010\u001b\n\u0000\b\u0081\u0002\u0018\u00002\u00020\u0001B\u0000¨\u0006\u0002"}, d2 = {"Lkotlin/internal/HidesMembers;", "", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY})
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
@kotlin.annotation.Retention(AnnotationRetention.BINARY)
|
||||
/* loaded from: classes3.dex */
|
||||
public @interface HidesMembers {
|
||||
}
|
||||
18
apk_decompiled/sources/kotlin/internal/InlineOnly.java
Normal file
18
apk_decompiled/sources/kotlin/internal/InlineOnly.java
Normal file
@@ -0,0 +1,18 @@
|
||||
package kotlin.internal;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.annotation.AnnotationRetention;
|
||||
import kotlin.annotation.AnnotationTarget;
|
||||
|
||||
@Target({ElementType.METHOD})
|
||||
@Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0010\u001b\n\u0000\b\u0081\u0002\u0018\u00002\u00020\u0001B\u0000¨\u0006\u0002"}, d2 = {"Lkotlin/internal/InlineOnly;", "", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER})
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
@kotlin.annotation.Retention(AnnotationRetention.BINARY)
|
||||
/* loaded from: classes3.dex */
|
||||
public @interface InlineOnly {
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package kotlin.internal;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.SinceKotlin;
|
||||
import kotlin.annotation.AnnotationRetention;
|
||||
import kotlin.annotation.AnnotationTarget;
|
||||
|
||||
@Target({ElementType.METHOD, ElementType.CONSTRUCTOR})
|
||||
@SinceKotlin(version = "1.7")
|
||||
@Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0010\u001b\n\u0000\b\u0081\u0002\u0018\u00002\u00020\u0001B\u0000¨\u0006\u0002"}, d2 = {"Lkotlin/internal/IntrinsicConstEvaluation;", "", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.CONSTRUCTOR, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY})
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
@kotlin.annotation.Retention(AnnotationRetention.BINARY)
|
||||
/* loaded from: classes3.dex */
|
||||
public @interface IntrinsicConstEvaluation {
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package kotlin.internal;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.annotation.AnnotationRetention;
|
||||
import kotlin.annotation.AnnotationTarget;
|
||||
|
||||
@Target({ElementType.METHOD, ElementType.CONSTRUCTOR})
|
||||
@Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0010\u001b\n\u0000\b\u0081\u0002\u0018\u00002\u00020\u0001B\u0000¨\u0006\u0002"}, d2 = {"Lkotlin/internal/LowPriorityInOverloadResolution;", "", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY, AnnotationTarget.CONSTRUCTOR})
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
@kotlin.annotation.Retention(AnnotationRetention.BINARY)
|
||||
/* loaded from: classes3.dex */
|
||||
public @interface LowPriorityInOverloadResolution {
|
||||
}
|
||||
17
apk_decompiled/sources/kotlin/internal/NoInfer.java
Normal file
17
apk_decompiled/sources/kotlin/internal/NoInfer.java
Normal file
@@ -0,0 +1,17 @@
|
||||
package kotlin.internal;
|
||||
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.annotation.AnnotationRetention;
|
||||
import kotlin.annotation.AnnotationTarget;
|
||||
|
||||
@Target({})
|
||||
@Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0010\u001b\n\u0000\b\u0081\u0002\u0018\u00002\u00020\u0001B\u0000¨\u0006\u0002"}, d2 = {"Lkotlin/internal/NoInfer;", "", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.TYPE})
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
@kotlin.annotation.Retention(AnnotationRetention.BINARY)
|
||||
/* loaded from: classes3.dex */
|
||||
public @interface NoInfer {
|
||||
}
|
||||
17
apk_decompiled/sources/kotlin/internal/OnlyInputTypes.java
Normal file
17
apk_decompiled/sources/kotlin/internal/OnlyInputTypes.java
Normal file
@@ -0,0 +1,17 @@
|
||||
package kotlin.internal;
|
||||
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.annotation.AnnotationRetention;
|
||||
import kotlin.annotation.AnnotationTarget;
|
||||
|
||||
@Target({})
|
||||
@Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0010\u001b\n\u0000\b\u0081\u0002\u0018\u00002\u00020\u0001B\u0000¨\u0006\u0002"}, d2 = {"Lkotlin/internal/OnlyInputTypes;", "", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.TYPE_PARAMETER})
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
@kotlin.annotation.Retention(AnnotationRetention.BINARY)
|
||||
/* loaded from: classes3.dex */
|
||||
public @interface OnlyInputTypes {
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package kotlin.internal;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.annotation.AnnotationRetention;
|
||||
import kotlin.annotation.AnnotationTarget;
|
||||
|
||||
@Target({ElementType.METHOD})
|
||||
@Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0010\u001b\n\u0000\b\u0081\u0002\u0018\u00002\u00020\u0001B\u0000¨\u0006\u0002"}, d2 = {"Lkotlin/internal/PlatformDependent;", "", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.FUNCTION})
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
@kotlin.annotation.Retention(AnnotationRetention.BINARY)
|
||||
/* loaded from: classes3.dex */
|
||||
public @interface PlatformDependent {
|
||||
}
|
||||
@@ -0,0 +1,104 @@
|
||||
package kotlin.internal;
|
||||
|
||||
import com.google.android.gms.measurement.api.AppMeasurementSdk;
|
||||
import java.lang.reflect.Method;
|
||||
import java.util.List;
|
||||
import java.util.regex.MatchResult;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.collections.ArraysKt;
|
||||
import kotlin.collections.CollectionsKt;
|
||||
import kotlin.jvm.JvmField;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.jvm.internal.SourceDebugExtension;
|
||||
import kotlin.random.FallbackThreadLocalRandom;
|
||||
import kotlin.random.Random;
|
||||
import kotlin.text.MatchGroup;
|
||||
|
||||
@Metadata(d1 = {"\u0000:\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u0003\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010 \n\u0002\b\u0002\b\u0010\u0018\u00002\u00020\u0001:\u0001\u0012B\u0005¢\u0006\u0002\u0010\u0002J\u0018\u0010\u0003\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\u0006H\u0016J\b\u0010\b\u001a\u00020\tH\u0016J\u001a\u0010\n\u001a\u0004\u0018\u00010\u000b2\u0006\u0010\f\u001a\u00020\r2\u0006\u0010\u000e\u001a\u00020\u000fH\u0016J\u0016\u0010\u0010\u001a\b\u0012\u0004\u0012\u00020\u00060\u00112\u0006\u0010\u0007\u001a\u00020\u0006H\u0016¨\u0006\u0013"}, d2 = {"Lkotlin/internal/PlatformImplementations;", "", "()V", "addSuppressed", "", "cause", "", "exception", "defaultPlatformRandom", "Lkotlin/random/Random;", "getMatchResultNamedGroup", "Lkotlin/text/MatchGroup;", "matchResult", "Ljava/util/regex/MatchResult;", AppMeasurementSdk.ConditionalUserProperty.NAME, "", "getSuppressed", "", "ReflectThrowable", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@SourceDebugExtension({"SMAP\nPlatformImplementations.kt\nKotlin\n*S Kotlin\n*F\n+ 1 PlatformImplementations.kt\nkotlin/internal/PlatformImplementations\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,79:1\n1#2:80\n*E\n"})
|
||||
/* loaded from: classes3.dex */
|
||||
public class PlatformImplementations {
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\bÂ\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u0012\u0010\u0003\u001a\u0004\u0018\u00010\u00048\u0006X\u0087\u0004¢\u0006\u0002\n\u0000R\u0012\u0010\u0005\u001a\u0004\u0018\u00010\u00048\u0006X\u0087\u0004¢\u0006\u0002\n\u0000¨\u0006\u0006"}, d2 = {"Lkotlin/internal/PlatformImplementations$ReflectThrowable;", "", "()V", "addSuppressed", "Ljava/lang/reflect/Method;", "getSuppressed", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@SourceDebugExtension({"SMAP\nPlatformImplementations.kt\nKotlin\n*S Kotlin\n*F\n+ 1 PlatformImplementations.kt\nkotlin/internal/PlatformImplementations$ReflectThrowable\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,79:1\n1#2:80\n*E\n"})
|
||||
/* loaded from: classes3.dex */
|
||||
public static final class ReflectThrowable {
|
||||
public static final ReflectThrowable INSTANCE = new ReflectThrowable();
|
||||
|
||||
@JvmField
|
||||
public static final Method addSuppressed;
|
||||
|
||||
@JvmField
|
||||
public static final Method getSuppressed;
|
||||
|
||||
static {
|
||||
Method method;
|
||||
Method method2;
|
||||
Method[] methods = Throwable.class.getMethods();
|
||||
Intrinsics.checkNotNull(methods);
|
||||
int length = methods.length;
|
||||
int i = 0;
|
||||
int i4 = 0;
|
||||
while (true) {
|
||||
method = null;
|
||||
if (i4 >= length) {
|
||||
method2 = null;
|
||||
break;
|
||||
}
|
||||
method2 = methods[i4];
|
||||
if (Intrinsics.areEqual(method2.getName(), "addSuppressed")) {
|
||||
Class<?>[] parameterTypes = method2.getParameterTypes();
|
||||
Intrinsics.checkNotNullExpressionValue(parameterTypes, "getParameterTypes(...)");
|
||||
if (Intrinsics.areEqual(ArraysKt.singleOrNull(parameterTypes), Throwable.class)) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
i4++;
|
||||
}
|
||||
addSuppressed = method2;
|
||||
int length2 = methods.length;
|
||||
while (true) {
|
||||
if (i >= length2) {
|
||||
break;
|
||||
}
|
||||
Method method3 = methods[i];
|
||||
if (Intrinsics.areEqual(method3.getName(), "getSuppressed")) {
|
||||
method = method3;
|
||||
break;
|
||||
}
|
||||
i++;
|
||||
}
|
||||
getSuppressed = method;
|
||||
}
|
||||
|
||||
private ReflectThrowable() {
|
||||
}
|
||||
}
|
||||
|
||||
public void addSuppressed(Throwable cause, Throwable exception) {
|
||||
Intrinsics.checkNotNullParameter(cause, "cause");
|
||||
Intrinsics.checkNotNullParameter(exception, "exception");
|
||||
Method method = ReflectThrowable.addSuppressed;
|
||||
if (method != null) {
|
||||
method.invoke(cause, exception);
|
||||
}
|
||||
}
|
||||
|
||||
public Random defaultPlatformRandom() {
|
||||
return new FallbackThreadLocalRandom();
|
||||
}
|
||||
|
||||
public MatchGroup getMatchResultNamedGroup(MatchResult matchResult, String name) {
|
||||
Intrinsics.checkNotNullParameter(matchResult, "matchResult");
|
||||
Intrinsics.checkNotNullParameter(name, "name");
|
||||
throw new UnsupportedOperationException("Retrieving groups by name is not supported on this platform.");
|
||||
}
|
||||
|
||||
public List<Throwable> getSuppressed(Throwable exception) {
|
||||
Object invoke;
|
||||
List<Throwable> asList;
|
||||
Intrinsics.checkNotNullParameter(exception, "exception");
|
||||
Method method = ReflectThrowable.getSuppressed;
|
||||
return (method == null || (invoke = method.invoke(exception, new Object[0])) == null || (asList = ArraysKt.asList((Throwable[]) invoke)) == null) ? CollectionsKt.emptyList() : asList;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
package kotlin.internal;
|
||||
|
||||
import kotlin.KotlinVersion;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.PublishedApi;
|
||||
import kotlin.SinceKotlin;
|
||||
import kotlin.internal.jdk8.JDK8PlatformImplementations;
|
||||
import kotlin.jvm.JvmField;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u001e\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\b\n\u0002\b\u0004\n\u0002\u0010\u0000\n\u0002\b\u0003\u001a \u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u00052\u0006\u0010\u0006\u001a\u00020\u00052\u0006\u0010\u0007\u001a\u00020\u0005H\u0001\u001a\"\u0010\b\u001a\u0002H\t\"\n\b\u0000\u0010\t\u0018\u0001*\u00020\n2\u0006\u0010\u000b\u001a\u00020\nH\u0083\b¢\u0006\u0002\u0010\f\"\u0010\u0010\u0000\u001a\u00020\u00018\u0000X\u0081\u0004¢\u0006\u0002\n\u0000¨\u0006\r"}, d2 = {"IMPLEMENTATIONS", "Lkotlin/internal/PlatformImplementations;", "apiVersionIsAtLeast", "", "major", "", "minor", "patch", "castToBaseType", "T", "", "instance", "(Ljava/lang/Object;)Ljava/lang/Object;", "kotlin-stdlib"}, k = 2, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public final class PlatformImplementationsKt {
|
||||
|
||||
@JvmField
|
||||
public static final PlatformImplementations IMPLEMENTATIONS = new JDK8PlatformImplementations();
|
||||
|
||||
@SinceKotlin(version = "1.2")
|
||||
@PublishedApi
|
||||
public static final boolean apiVersionIsAtLeast(int i, int i4, int i5) {
|
||||
return KotlinVersion.CURRENT.isAtLeast(i, i4, i5);
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
@InlineOnly
|
||||
private static final /* synthetic */ <T> T castToBaseType(Object obj) {
|
||||
try {
|
||||
Intrinsics.reifiedOperationMarker(1, "T");
|
||||
return obj;
|
||||
} catch (ClassCastException e4) {
|
||||
ClassLoader classLoader = obj.getClass().getClassLoader();
|
||||
Intrinsics.reifiedOperationMarker(4, "T");
|
||||
ClassLoader classLoader2 = Object.class.getClassLoader();
|
||||
if (Intrinsics.areEqual(classLoader, classLoader2)) {
|
||||
throw e4;
|
||||
}
|
||||
throw new ClassNotFoundException("Instance class was loaded from a different classloader: " + classLoader + ", base type classloader: " + classLoader2, e4);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
package kotlin.internal;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.PublishedApi;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0012\n\u0000\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\t\n\u0002\b\u0006\u001a \u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u00012\u0006\u0010\u0003\u001a\u00020\u00012\u0006\u0010\u0004\u001a\u00020\u0001H\u0002\u001a \u0010\u0000\u001a\u00020\u00052\u0006\u0010\u0002\u001a\u00020\u00052\u0006\u0010\u0003\u001a\u00020\u00052\u0006\u0010\u0004\u001a\u00020\u0005H\u0002\u001a \u0010\u0006\u001a\u00020\u00012\u0006\u0010\u0007\u001a\u00020\u00012\u0006\u0010\b\u001a\u00020\u00012\u0006\u0010\t\u001a\u00020\u0001H\u0001\u001a \u0010\u0006\u001a\u00020\u00052\u0006\u0010\u0007\u001a\u00020\u00052\u0006\u0010\b\u001a\u00020\u00052\u0006\u0010\t\u001a\u00020\u0005H\u0001\u001a\u0018\u0010\n\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u00012\u0006\u0010\u0003\u001a\u00020\u0001H\u0002\u001a\u0018\u0010\n\u001a\u00020\u00052\u0006\u0010\u0002\u001a\u00020\u00052\u0006\u0010\u0003\u001a\u00020\u0005H\u0002¨\u0006\u000b"}, d2 = {"differenceModulo", "", "a", "b", "c", "", "getProgressionLastElement", "start", "end", "step", "mod", "kotlin-stdlib"}, k = 2, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public final class ProgressionUtilKt {
|
||||
private static final int differenceModulo(int i, int i4, int i5) {
|
||||
return mod(mod(i, i5) - mod(i4, i5), i5);
|
||||
}
|
||||
|
||||
@PublishedApi
|
||||
public static final int getProgressionLastElement(int i, int i4, int i5) {
|
||||
if (i5 > 0) {
|
||||
if (i < i4) {
|
||||
return i4 - differenceModulo(i4, i, i5);
|
||||
}
|
||||
} else {
|
||||
if (i5 >= 0) {
|
||||
throw new IllegalArgumentException("Step is zero.");
|
||||
}
|
||||
if (i > i4) {
|
||||
return i4 + differenceModulo(i, i4, -i5);
|
||||
}
|
||||
}
|
||||
return i4;
|
||||
}
|
||||
|
||||
private static final int mod(int i, int i4) {
|
||||
int i5 = i % i4;
|
||||
return i5 >= 0 ? i5 : i5 + i4;
|
||||
}
|
||||
|
||||
private static final long differenceModulo(long j4, long j5, long j6) {
|
||||
return mod(mod(j4, j6) - mod(j5, j6), j6);
|
||||
}
|
||||
|
||||
private static final long mod(long j4, long j5) {
|
||||
long j6 = j4 % j5;
|
||||
return j6 >= 0 ? j6 : j6 + j5;
|
||||
}
|
||||
|
||||
@PublishedApi
|
||||
public static final long getProgressionLastElement(long j4, long j5, long j6) {
|
||||
if (j6 > 0) {
|
||||
return j4 >= j5 ? j5 : j5 - differenceModulo(j5, j4, j6);
|
||||
}
|
||||
if (j6 < 0) {
|
||||
return j4 <= j5 ? j5 : j5 + differenceModulo(j4, j5, -j6);
|
||||
}
|
||||
throw new IllegalArgumentException("Step is zero.");
|
||||
}
|
||||
}
|
||||
17
apk_decompiled/sources/kotlin/internal/PureReifiable.java
Normal file
17
apk_decompiled/sources/kotlin/internal/PureReifiable.java
Normal file
@@ -0,0 +1,17 @@
|
||||
package kotlin.internal;
|
||||
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.annotation.AnnotationRetention;
|
||||
import kotlin.annotation.AnnotationTarget;
|
||||
|
||||
@Target({})
|
||||
@Metadata(d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0010\u001b\n\u0000\b\u0081\u0002\u0018\u00002\u00020\u0001B\u0000¨\u0006\u0002"}, d2 = {"Lkotlin/internal/PureReifiable;", "", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.TYPE_PARAMETER})
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
@kotlin.annotation.Retention(AnnotationRetention.BINARY)
|
||||
/* loaded from: classes3.dex */
|
||||
public @interface PureReifiable {
|
||||
}
|
||||
47
apk_decompiled/sources/kotlin/internal/RequireKotlin.java
Normal file
47
apk_decompiled/sources/kotlin/internal/RequireKotlin.java
Normal file
@@ -0,0 +1,47 @@
|
||||
package kotlin.internal;
|
||||
|
||||
import com.google.firebase.analytics.FirebaseAnalytics;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
import kotlin.DeprecationLevel;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.SinceKotlin;
|
||||
import kotlin.annotation.AnnotationRetention;
|
||||
import kotlin.annotation.AnnotationTarget;
|
||||
import kotlin.annotation.Repeatable;
|
||||
import kotlin.jvm.internal.RepeatableContainer;
|
||||
|
||||
@Target({ElementType.TYPE, ElementType.METHOD, ElementType.CONSTRUCTOR})
|
||||
@SinceKotlin(version = "1.2")
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY, AnnotationTarget.CONSTRUCTOR, AnnotationTarget.TYPEALIAS})
|
||||
@Retention(RetentionPolicy.SOURCE)
|
||||
@kotlin.annotation.Retention(AnnotationRetention.SOURCE)
|
||||
@Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0010\u001b\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0005\b\u0081\u0002\u0018\u00002\u00020\u0001B0\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0004\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0005\u001a\u00020\u0006\u0012\b\b\u0002\u0010\u0007\u001a\u00020\b\u0012\b\b\u0002\u0010\t\u001a\u00020\nR\u000f\u0010\t\u001a\u00020\n¢\u0006\u0006\u001a\u0004\b\t\u0010\u000bR\u000f\u0010\u0005\u001a\u00020\u0006¢\u0006\u0006\u001a\u0004\b\u0005\u0010\fR\u000f\u0010\u0004\u001a\u00020\u0003¢\u0006\u0006\u001a\u0004\b\u0004\u0010\rR\u000f\u0010\u0002\u001a\u00020\u0003¢\u0006\u0006\u001a\u0004\b\u0002\u0010\rR\u000f\u0010\u0007\u001a\u00020\b¢\u0006\u0006\u001a\u0004\b\u0007\u0010\u000e¨\u0006\u000f"}, d2 = {"Lkotlin/internal/RequireKotlin;", "", "version", "", "message", FirebaseAnalytics.Param.LEVEL, "Lkotlin/DeprecationLevel;", "versionKind", "Lkotlin/internal/RequireKotlinVersionKind;", "errorCode", "", "()I", "()Lkotlin/DeprecationLevel;", "()Ljava/lang/String;", "()Lkotlin/internal/RequireKotlinVersionKind;", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@Repeatable
|
||||
@java.lang.annotation.Repeatable(Container.class)
|
||||
/* loaded from: classes3.dex */
|
||||
public @interface RequireKotlin {
|
||||
|
||||
@Target({ElementType.TYPE, ElementType.METHOD, ElementType.CONSTRUCTOR})
|
||||
@Metadata(k = 3, mv = {1, 9, 0}, xi = 48)
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY, AnnotationTarget.CONSTRUCTOR, AnnotationTarget.TYPEALIAS})
|
||||
@Retention(RetentionPolicy.SOURCE)
|
||||
@kotlin.annotation.Retention(AnnotationRetention.SOURCE)
|
||||
@RepeatableContainer
|
||||
/* loaded from: classes3.dex */
|
||||
public @interface Container {
|
||||
RequireKotlin[] value();
|
||||
}
|
||||
|
||||
int errorCode() default -1;
|
||||
|
||||
DeprecationLevel level() default DeprecationLevel.ERROR;
|
||||
|
||||
String message() default "";
|
||||
|
||||
String version();
|
||||
|
||||
RequireKotlinVersionKind versionKind() default RequireKotlinVersionKind.LANGUAGE_VERSION;
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
package kotlin.internal;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.SinceKotlin;
|
||||
import kotlin.enums.EnumEntries;
|
||||
import kotlin.enums.EnumEntriesKt;
|
||||
|
||||
/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
|
||||
/* JADX WARN: Unknown enum class pattern. Please report as an issue! */
|
||||
@SinceKotlin(version = "1.2")
|
||||
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0002\b\u0005\b\u0081\u0081\u0002\u0018\u00002\b\u0012\u0004\u0012\u00020\u00000\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002j\u0002\b\u0003j\u0002\b\u0004j\u0002\b\u0005¨\u0006\u0006"}, d2 = {"Lkotlin/internal/RequireKotlinVersionKind;", "", "(Ljava/lang/String;I)V", "LANGUAGE_VERSION", "COMPILER_VERSION", "API_VERSION", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public final class RequireKotlinVersionKind {
|
||||
private static final /* synthetic */ EnumEntries $ENTRIES;
|
||||
private static final /* synthetic */ RequireKotlinVersionKind[] $VALUES;
|
||||
public static final RequireKotlinVersionKind LANGUAGE_VERSION = new RequireKotlinVersionKind("LANGUAGE_VERSION", 0);
|
||||
public static final RequireKotlinVersionKind COMPILER_VERSION = new RequireKotlinVersionKind("COMPILER_VERSION", 1);
|
||||
public static final RequireKotlinVersionKind API_VERSION = new RequireKotlinVersionKind("API_VERSION", 2);
|
||||
|
||||
private static final /* synthetic */ RequireKotlinVersionKind[] $values() {
|
||||
return new RequireKotlinVersionKind[]{LANGUAGE_VERSION, COMPILER_VERSION, API_VERSION};
|
||||
}
|
||||
|
||||
static {
|
||||
RequireKotlinVersionKind[] $values = $values();
|
||||
$VALUES = $values;
|
||||
$ENTRIES = EnumEntriesKt.enumEntries($values);
|
||||
}
|
||||
|
||||
private RequireKotlinVersionKind(String str, int i) {
|
||||
}
|
||||
|
||||
public static EnumEntries<RequireKotlinVersionKind> getEntries() {
|
||||
return $ENTRIES;
|
||||
}
|
||||
|
||||
public static RequireKotlinVersionKind valueOf(String str) {
|
||||
return (RequireKotlinVersionKind) Enum.valueOf(RequireKotlinVersionKind.class, str);
|
||||
}
|
||||
|
||||
public static RequireKotlinVersionKind[] values() {
|
||||
return (RequireKotlinVersionKind[]) $VALUES.clone();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
package kotlin.internal;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.PublishedApi;
|
||||
import kotlin.SinceKotlin;
|
||||
import kotlin.UInt;
|
||||
import kotlin.ULong;
|
||||
|
||||
@Metadata(d1 = {"\u0000 \n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0010\b\n\u0000\n\u0002\u0010\t\n\u0002\b\u0002\u001a'\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u00012\u0006\u0010\u0003\u001a\u00020\u00012\u0006\u0010\u0004\u001a\u00020\u0001H\u0002¢\u0006\u0004\b\u0005\u0010\u0006\u001a'\u0010\u0000\u001a\u00020\u00072\u0006\u0010\u0002\u001a\u00020\u00072\u0006\u0010\u0003\u001a\u00020\u00072\u0006\u0010\u0004\u001a\u00020\u0007H\u0002¢\u0006\u0004\b\b\u0010\t\u001a'\u0010\n\u001a\u00020\u00012\u0006\u0010\u000b\u001a\u00020\u00012\u0006\u0010\f\u001a\u00020\u00012\u0006\u0010\r\u001a\u00020\u000eH\u0001¢\u0006\u0004\b\u000f\u0010\u0006\u001a'\u0010\n\u001a\u00020\u00072\u0006\u0010\u000b\u001a\u00020\u00072\u0006\u0010\f\u001a\u00020\u00072\u0006\u0010\r\u001a\u00020\u0010H\u0001¢\u0006\u0004\b\u0011\u0010\t¨\u0006\u0012"}, d2 = {"differenceModulo", "Lkotlin/UInt;", "a", "b", "c", "differenceModulo-WZ9TVnA", "(III)I", "Lkotlin/ULong;", "differenceModulo-sambcqE", "(JJJ)J", "getProgressionLastElement", "start", "end", "step", "", "getProgressionLastElement-Nkh28Cs", "", "getProgressionLastElement-7ftBX0g", "kotlin-stdlib"}, k = 2, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public final class UProgressionUtilKt {
|
||||
/* renamed from: differenceModulo-WZ9TVnA, reason: not valid java name */
|
||||
private static final int m1321differenceModuloWZ9TVnA(int i, int i4, int i5) {
|
||||
int remainderUnsigned = Integer.remainderUnsigned(i, i5);
|
||||
int remainderUnsigned2 = Integer.remainderUnsigned(i4, i5);
|
||||
int compareUnsigned = Integer.compareUnsigned(remainderUnsigned, remainderUnsigned2);
|
||||
int m211constructorimpl = UInt.m211constructorimpl(remainderUnsigned - remainderUnsigned2);
|
||||
return compareUnsigned >= 0 ? m211constructorimpl : UInt.m211constructorimpl(m211constructorimpl + i5);
|
||||
}
|
||||
|
||||
/* renamed from: differenceModulo-sambcqE, reason: not valid java name */
|
||||
private static final long m1322differenceModulosambcqE(long j4, long j5, long j6) {
|
||||
long remainderUnsigned = Long.remainderUnsigned(j4, j6);
|
||||
long remainderUnsigned2 = Long.remainderUnsigned(j5, j6);
|
||||
int compareUnsigned = Long.compareUnsigned(remainderUnsigned, remainderUnsigned2);
|
||||
long m290constructorimpl = ULong.m290constructorimpl(remainderUnsigned - remainderUnsigned2);
|
||||
return compareUnsigned >= 0 ? m290constructorimpl : ULong.m290constructorimpl(m290constructorimpl + j6);
|
||||
}
|
||||
|
||||
@SinceKotlin(version = "1.3")
|
||||
@PublishedApi
|
||||
/* renamed from: getProgressionLastElement-7ftBX0g, reason: not valid java name */
|
||||
public static final long m1323getProgressionLastElement7ftBX0g(long j4, long j5, long j6) {
|
||||
if (j6 > 0) {
|
||||
return Long.compareUnsigned(j4, j5) >= 0 ? j5 : ULong.m290constructorimpl(j5 - m1322differenceModulosambcqE(j5, j4, ULong.m290constructorimpl(j6)));
|
||||
}
|
||||
if (j6 < 0) {
|
||||
return Long.compareUnsigned(j4, j5) <= 0 ? j5 : ULong.m290constructorimpl(j5 + m1322differenceModulosambcqE(j4, j5, ULong.m290constructorimpl(-j6)));
|
||||
}
|
||||
throw new IllegalArgumentException("Step is zero.");
|
||||
}
|
||||
|
||||
@SinceKotlin(version = "1.3")
|
||||
@PublishedApi
|
||||
/* renamed from: getProgressionLastElement-Nkh28Cs, reason: not valid java name */
|
||||
public static final int m1324getProgressionLastElementNkh28Cs(int i, int i4, int i5) {
|
||||
if (i5 > 0) {
|
||||
if (Integer.compareUnsigned(i, i4) < 0) {
|
||||
return UInt.m211constructorimpl(i4 - m1321differenceModuloWZ9TVnA(i4, i, UInt.m211constructorimpl(i5)));
|
||||
}
|
||||
} else {
|
||||
if (i5 >= 0) {
|
||||
throw new IllegalArgumentException("Step is zero.");
|
||||
}
|
||||
if (Integer.compareUnsigned(i, i4) > 0) {
|
||||
return UInt.m211constructorimpl(i4 + m1321differenceModuloWZ9TVnA(i, i4, UInt.m211constructorimpl(-i5)));
|
||||
}
|
||||
}
|
||||
return i4;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
package kotlin.internal.jdk7;
|
||||
|
||||
import com.google.firebase.remoteconfig.RemoteConfigConstants;
|
||||
import java.util.List;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.collections.ArraysKt;
|
||||
import kotlin.internal.PlatformImplementations;
|
||||
import kotlin.jvm.JvmField;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.jvm.internal.SourceDebugExtension;
|
||||
|
||||
@Metadata(d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u0003\n\u0002\b\u0002\n\u0002\u0010 \n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\b\u0010\u0018\u00002\u00020\u0001:\u0001\u000eB\u0005¢\u0006\u0002\u0010\u0002J\u0018\u0010\u0003\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\u0006H\u0016J\u0016\u0010\b\u001a\b\u0012\u0004\u0012\u00020\u00060\t2\u0006\u0010\u0007\u001a\u00020\u0006H\u0016J\u0010\u0010\n\u001a\u00020\u000b2\u0006\u0010\f\u001a\u00020\rH\u0002¨\u0006\u000f"}, d2 = {"Lkotlin/internal/jdk7/JDK7PlatformImplementations;", "Lkotlin/internal/PlatformImplementations;", "()V", "addSuppressed", "", "cause", "", "exception", "getSuppressed", "", "sdkIsNullOrAtLeast", "", "version", "", "ReflectSdkVersion", "kotlin-stdlib-jdk7"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public class JDK7PlatformImplementations extends PlatformImplementations {
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\bÂ\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u0014\u0010\u0003\u001a\u0004\u0018\u00010\u00048\u0006X\u0087\u0004¢\u0006\u0004\n\u0002\u0010\u0005¨\u0006\u0006"}, d2 = {"Lkotlin/internal/jdk7/JDK7PlatformImplementations$ReflectSdkVersion;", "", "()V", RemoteConfigConstants.RequestFieldKey.SDK_VERSION, "", "Ljava/lang/Integer;", "kotlin-stdlib-jdk7"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@SourceDebugExtension({"SMAP\nJDK7PlatformImplementations.kt\nKotlin\n*S Kotlin\n*F\n+ 1 JDK7PlatformImplementations.kt\nkotlin/internal/jdk7/JDK7PlatformImplementations$ReflectSdkVersion\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,38:1\n1#2:39\n*E\n"})
|
||||
/* loaded from: classes3.dex */
|
||||
public static final class ReflectSdkVersion {
|
||||
public static final ReflectSdkVersion INSTANCE = new ReflectSdkVersion();
|
||||
|
||||
@JvmField
|
||||
public static final Integer sdkVersion;
|
||||
|
||||
static {
|
||||
Integer num;
|
||||
Object obj;
|
||||
Integer num2 = null;
|
||||
try {
|
||||
obj = Class.forName("android.os.Build$VERSION").getField("SDK_INT").get(null);
|
||||
} catch (Throwable unused) {
|
||||
}
|
||||
if (obj instanceof Integer) {
|
||||
num = (Integer) obj;
|
||||
if (num != null && num.intValue() > 0) {
|
||||
num2 = num;
|
||||
}
|
||||
sdkVersion = num2;
|
||||
}
|
||||
num = null;
|
||||
if (num != null) {
|
||||
num2 = num;
|
||||
}
|
||||
sdkVersion = num2;
|
||||
}
|
||||
|
||||
private ReflectSdkVersion() {
|
||||
}
|
||||
}
|
||||
|
||||
private final boolean sdkIsNullOrAtLeast(int version) {
|
||||
Integer num = ReflectSdkVersion.sdkVersion;
|
||||
return num == null || num.intValue() >= version;
|
||||
}
|
||||
|
||||
@Override // kotlin.internal.PlatformImplementations
|
||||
public void addSuppressed(Throwable cause, Throwable exception) {
|
||||
Intrinsics.checkNotNullParameter(cause, "cause");
|
||||
Intrinsics.checkNotNullParameter(exception, "exception");
|
||||
if (sdkIsNullOrAtLeast(19)) {
|
||||
cause.addSuppressed(exception);
|
||||
} else {
|
||||
super.addSuppressed(cause, exception);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // kotlin.internal.PlatformImplementations
|
||||
public List<Throwable> getSuppressed(Throwable exception) {
|
||||
Intrinsics.checkNotNullParameter(exception, "exception");
|
||||
if (!sdkIsNullOrAtLeast(19)) {
|
||||
return super.getSuppressed(exception);
|
||||
}
|
||||
Throwable[] suppressed = exception.getSuppressed();
|
||||
Intrinsics.checkNotNullExpressionValue(suppressed, "getSuppressed(...)");
|
||||
return ArraysKt.asList(suppressed);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
package kotlin.internal.jdk8;
|
||||
|
||||
import com.google.android.gms.measurement.api.AppMeasurementSdk;
|
||||
import com.google.firebase.remoteconfig.RemoteConfigConstants;
|
||||
import java.util.regex.MatchResult;
|
||||
import java.util.regex.Matcher;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.internal.jdk7.JDK7PlatformImplementations;
|
||||
import kotlin.jvm.JvmField;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.jvm.internal.SourceDebugExtension;
|
||||
import kotlin.random.Random;
|
||||
import kotlin.random.jdk8.PlatformThreadLocalRandom;
|
||||
import kotlin.ranges.IntRange;
|
||||
import kotlin.text.MatchGroup;
|
||||
|
||||
@Metadata(d1 = {"\u00002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\b\u0010\u0018\u00002\u00020\u0001:\u0001\u000fB\u0005¢\u0006\u0002\u0010\u0002J\b\u0010\u0003\u001a\u00020\u0004H\u0016J\u001a\u0010\u0005\u001a\u0004\u0018\u00010\u00062\u0006\u0010\u0007\u001a\u00020\b2\u0006\u0010\t\u001a\u00020\nH\u0016J\u0010\u0010\u000b\u001a\u00020\f2\u0006\u0010\r\u001a\u00020\u000eH\u0002¨\u0006\u0010"}, d2 = {"Lkotlin/internal/jdk8/JDK8PlatformImplementations;", "Lkotlin/internal/jdk7/JDK7PlatformImplementations;", "()V", "defaultPlatformRandom", "Lkotlin/random/Random;", "getMatchResultNamedGroup", "Lkotlin/text/MatchGroup;", "matchResult", "Ljava/util/regex/MatchResult;", AppMeasurementSdk.ConditionalUserProperty.NAME, "", "sdkIsNullOrAtLeast", "", "version", "", "ReflectSdkVersion", "kotlin-stdlib-jdk8"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public class JDK8PlatformImplementations extends JDK7PlatformImplementations {
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\bÂ\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u0014\u0010\u0003\u001a\u0004\u0018\u00010\u00048\u0006X\u0087\u0004¢\u0006\u0004\n\u0002\u0010\u0005¨\u0006\u0006"}, d2 = {"Lkotlin/internal/jdk8/JDK8PlatformImplementations$ReflectSdkVersion;", "", "()V", RemoteConfigConstants.RequestFieldKey.SDK_VERSION, "", "Ljava/lang/Integer;", "kotlin-stdlib-jdk8"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
@SourceDebugExtension({"SMAP\nJDK8PlatformImplementations.kt\nKotlin\n*S Kotlin\n*F\n+ 1 JDK8PlatformImplementations.kt\nkotlin/internal/jdk8/JDK8PlatformImplementations$ReflectSdkVersion\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,61:1\n1#2:62\n*E\n"})
|
||||
/* loaded from: classes3.dex */
|
||||
public static final class ReflectSdkVersion {
|
||||
public static final ReflectSdkVersion INSTANCE = new ReflectSdkVersion();
|
||||
|
||||
@JvmField
|
||||
public static final Integer sdkVersion;
|
||||
|
||||
static {
|
||||
Integer num;
|
||||
Object obj;
|
||||
Integer num2 = null;
|
||||
try {
|
||||
obj = Class.forName("android.os.Build$VERSION").getField("SDK_INT").get(null);
|
||||
} catch (Throwable unused) {
|
||||
}
|
||||
if (obj instanceof Integer) {
|
||||
num = (Integer) obj;
|
||||
if (num != null && num.intValue() > 0) {
|
||||
num2 = num;
|
||||
}
|
||||
sdkVersion = num2;
|
||||
}
|
||||
num = null;
|
||||
if (num != null) {
|
||||
num2 = num;
|
||||
}
|
||||
sdkVersion = num2;
|
||||
}
|
||||
|
||||
private ReflectSdkVersion() {
|
||||
}
|
||||
}
|
||||
|
||||
private final boolean sdkIsNullOrAtLeast(int version) {
|
||||
Integer num = ReflectSdkVersion.sdkVersion;
|
||||
return num == null || num.intValue() >= version;
|
||||
}
|
||||
|
||||
@Override // kotlin.internal.PlatformImplementations
|
||||
public Random defaultPlatformRandom() {
|
||||
return sdkIsNullOrAtLeast(34) ? new PlatformThreadLocalRandom() : super.defaultPlatformRandom();
|
||||
}
|
||||
|
||||
@Override // kotlin.internal.PlatformImplementations
|
||||
public MatchGroup getMatchResultNamedGroup(MatchResult matchResult, String name) {
|
||||
Intrinsics.checkNotNullParameter(matchResult, "matchResult");
|
||||
Intrinsics.checkNotNullParameter(name, "name");
|
||||
Matcher matcher = matchResult instanceof Matcher ? (Matcher) matchResult : null;
|
||||
if (matcher == null) {
|
||||
throw new UnsupportedOperationException("Retrieving groups by name is not supported on this platform.");
|
||||
}
|
||||
IntRange intRange = new IntRange(matcher.start(name), matcher.end(name) - 1);
|
||||
if (intRange.getStart().intValue() < 0) {
|
||||
return null;
|
||||
}
|
||||
String group = matcher.group(name);
|
||||
Intrinsics.checkNotNullExpressionValue(group, "group(...)");
|
||||
return new MatchGroup(group, intRange);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user