Initial import of ADIF API reverse-engineering toolkit

This commit is contained in:
2025-12-16 08:37:56 +01:00
commit 60388529c1
11486 changed files with 1086536 additions and 0 deletions

View File

@@ -0,0 +1,601 @@
package A;
import N0.l;
import O.B0;
import O.C0064f;
import O.D0;
import O.InterfaceC0058c;
import O.InterfaceC0062e;
import O.InterfaceC0080v;
import O.X;
import S0.o;
import S0.r;
import S2.p;
import S2.u;
import a.AbstractC0106b;
import android.content.ClipData;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.drawable.BitmapDrawable;
import android.net.Uri;
import android.os.Bundle;
import android.view.ContentInfo;
import android.view.GestureDetector;
import android.view.View;
import android.view.accessibility.AccessibilityNodeInfo;
import android.widget.EditText;
import android.widget.TextView;
import androidx.coordinatorlayout.widget.CoordinatorLayout;
import androidx.recyclerview.widget.L;
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
import com.adif.elcanomovil.serviceNetworking.ServicePaths;
import com.google.android.gms.measurement.api.AppMeasurementSdk;
import com.google.firebase.analytics.FirebaseAnalytics;
import f0.C0344h;
import i3.m;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.WeakHashMap;
import java.util.concurrent.TimeUnit;
import kotlin.Pair;
import kotlin.collections.MapsKt;
import kotlin.jvm.internal.Intrinsics;
import u0.C0632b;
/* loaded from: classes.dex */
public class a implements InterfaceC0080v, InterfaceC0058c, InterfaceC0062e, Q0.h, p {
/* renamed from: a, reason: collision with root package name */
public final /* synthetic */ int f6a;
/* renamed from: b, reason: collision with root package name */
public Object f7b;
public /* synthetic */ a(int i, boolean z3) {
this.f6a = i;
}
public static void n(x0.c cVar) {
cVar.i("CREATE TABLE IF NOT EXISTS `StationEntity` (`stationCode` TEXT NOT NULL, `stationType` TEXT NOT NULL, `longName` TEXT NOT NULL, `shortName` TEXT NOT NULL, `longNameToFind` TEXT NOT NULL, `shortNameToFind` TEXT NOT NULL, `latitude` REAL NOT NULL, `longitude` REAL NOT NULL, `trafficType` INTEGER NOT NULL, `commercialZoneType` TEXT, `commuterNetwork` TEXT NOT NULL, `akaName` TEXT NOT NULL, PRIMARY KEY(`stationCode`))");
cVar.i("CREATE TABLE IF NOT EXISTS `FavouriteEntity` (`favouriteId` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `identifierStation` TEXT, `stationName` TEXT, `identifierToStation` TEXT, `stationToName` TEXT, `type` TEXT NOT NULL, `isCercanias` INTEGER, `isRodalies` INTEGER)");
cVar.i("CREATE TABLE IF NOT EXISTS `AvisaStation` (`stId` TEXT NOT NULL, `name` TEXT NOT NULL, `code` TEXT NOT NULL, `latitude` REAL, `longitude` REAL, PRIMARY KEY(`stId`))");
cVar.i("CREATE TABLE IF NOT EXISTS `AvisaStationCategory` (`catId` TEXT NOT NULL, `title` TEXT NOT NULL, PRIMARY KEY(`catId`))");
cVar.i("CREATE TABLE IF NOT EXISTS `IncidenceEntity` (`id` INTEGER NOT NULL, `incidenceCode` TEXT NOT NULL, `stationId` TEXT, `statusTypeId` INTEGER NOT NULL, `description` TEXT NOT NULL, `notificationTypeId` INTEGER NOT NULL, `createdTime` INTEGER NOT NULL, `estimatedDateTo` INTEGER, `solvedDate` INTEGER, `categoryId` TEXT, `photos` TEXT, `comments` TEXT, PRIMARY KEY(`id`), FOREIGN KEY(`stationId`) REFERENCES `AvisaStation`(`stId`) ON UPDATE NO ACTION ON DELETE CASCADE , FOREIGN KEY(`categoryId`) REFERENCES `AvisaStationCategory`(`catId`) ON UPDATE NO ACTION ON DELETE CASCADE )");
cVar.i("CREATE TABLE IF NOT EXISTS `IncidenceCommentEntity` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `createTime` INTEGER, `updatedTime` INTEGER, `type` TEXT, `statusTypeId` TEXT NOT NULL, `description` TEXT NOT NULL, `incidenceId` INTEGER, `fixPhotos` TEXT NOT NULL, FOREIGN KEY(`incidenceId`) REFERENCES `IncidenceEntity`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )");
cVar.i("CREATE TABLE IF NOT EXISTS `IncidencePictureEntity` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `type` TEXT NOT NULL, `content` TEXT NOT NULL, `thumbnail` INTEGER, `incidenceId` INTEGER, `path` TEXT, FOREIGN KEY(`incidenceId`) REFERENCES `IncidenceEntity`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )");
cVar.i("CREATE TABLE IF NOT EXISTS `FavouriteTrainEntity` (`commercialNumber` TEXT NOT NULL, `originStationCode` TEXT NOT NULL, `destinationStationCode` TEXT NOT NULL, `launchingDate` INTEGER NOT NULL, `operator` TEXT, `commercialProduct` TEXT, `timeStationFrom` TEXT, `timeStationTo` TEXT, PRIMARY KEY(`commercialNumber`, `originStationCode`, `destinationStationCode`))");
cVar.i("CREATE TABLE IF NOT EXISTS `IncidenceStationEntity` (`station_id` INTEGER PRIMARY KEY AUTOINCREMENT, `id` INTEGER NOT NULL, `incidenceCode` TEXT NOT NULL, `stationId` TEXT, `statusTypeId` INTEGER NOT NULL, `description` TEXT NOT NULL, `notificationTypeId` INTEGER NOT NULL, `createdTime` INTEGER NOT NULL, `estimatedDateTo` INTEGER, `solvedDate` INTEGER, `categoryId` TEXT, `photos` TEXT, `comments` TEXT, `stId` TEXT NOT NULL, `name` TEXT NOT NULL, `code` TEXT NOT NULL, `latitude` REAL, `longitude` REAL, `catId` TEXT NOT NULL, `title` TEXT NOT NULL)");
cVar.i("CREATE TABLE IF NOT EXISTS `SubscriptionEntity` (`subcriptionId` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `destination` TEXT, `origin` TEXT NOT NULL, `repeats` TEXT NOT NULL, `subscriptionType` TEXT NOT NULL, `timeCenter` TEXT NOT NULL, `timeEnd` TEXT, `timeStart` TEXT, `active` INTEGER NOT NULL, `operator` TEXT, `commercialProduct` TEXT)");
cVar.i("CREATE TABLE IF NOT EXISTS `SubscriptionAuxEntity` (`subcriptionAuxId` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `subscriptionType` TEXT NOT NULL, `operator` TEXT, `commercialProduct` TEXT)");
cVar.i("CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)");
cVar.i("INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '43f5c312adc2ca1d1a2a64bd71784e25')");
}
public static r r(l lVar, S0.j jVar, Q0.b bVar, Q0.c cVar) {
BitmapDrawable bitmapDrawable = new BitmapDrawable(jVar.f1477a.getResources(), cVar.f1356a);
J0.g gVar = J0.g.f933a;
Map map = cVar.f1357b;
Object obj = map.get("coil#disk_cache_key");
String str = obj instanceof String ? (String) obj : null;
Object obj2 = map.get("coil#is_sampled");
Boolean bool = obj2 instanceof Boolean ? (Boolean) obj2 : null;
boolean z3 = false;
boolean booleanValue = bool != null ? bool.booleanValue() : false;
Bitmap.Config[] configArr = W0.f.f1887a;
if (lVar != null && lVar.f1197g) {
z3 = true;
}
return new r(bitmapDrawable, jVar, gVar, bVar, str, booleanValue, z3);
}
public static a s(int i, int i4, int i5) {
return new a(AccessibilityNodeInfo.CollectionInfo.obtain(i, i4, false, i5), 10);
}
public static M.g u(x0.c cVar) {
HashMap hashMap = new HashMap(12);
hashMap.put("stationCode", new C0632b("stationCode", "TEXT", true, 1, null, 1));
hashMap.put("stationType", new C0632b("stationType", "TEXT", true, 0, null, 1));
hashMap.put("longName", new C0632b("longName", "TEXT", true, 0, null, 1));
hashMap.put("shortName", new C0632b("shortName", "TEXT", true, 0, null, 1));
hashMap.put("longNameToFind", new C0632b("longNameToFind", "TEXT", true, 0, null, 1));
hashMap.put("shortNameToFind", new C0632b("shortNameToFind", "TEXT", true, 0, null, 1));
hashMap.put("latitude", new C0632b("latitude", "REAL", true, 0, null, 1));
hashMap.put("longitude", new C0632b("longitude", "REAL", true, 0, null, 1));
hashMap.put(NavArguments.ARG_DYNAMIC_LINKS_STATION_TRAFFIC, new C0632b(NavArguments.ARG_DYNAMIC_LINKS_STATION_TRAFFIC, "INTEGER", true, 0, null, 1));
hashMap.put("commercialZoneType", new C0632b("commercialZoneType", "TEXT", false, 0, null, 1));
hashMap.put("commuterNetwork", new C0632b("commuterNetwork", "TEXT", true, 0, null, 1));
hashMap.put("akaName", new C0632b("akaName", "TEXT", true, 0, null, 1));
u0.f fVar = new u0.f("StationEntity", hashMap, new HashSet(0), new HashSet(0));
u0.f a2 = u0.f.a(cVar, "StationEntity");
if (!fVar.equals(a2)) {
return new M.g(false, "StationEntity(com.adif.elcanomovil.serviceStorage.model.StationEntity).\n Expected:\n" + fVar + "\n Found:\n" + a2);
}
HashMap hashMap2 = new HashMap(8);
hashMap2.put("favouriteId", new C0632b("favouriteId", "INTEGER", true, 1, null, 1));
hashMap2.put("identifierStation", new C0632b("identifierStation", "TEXT", false, 0, null, 1));
hashMap2.put("stationName", new C0632b("stationName", "TEXT", false, 0, null, 1));
hashMap2.put("identifierToStation", new C0632b("identifierToStation", "TEXT", false, 0, null, 1));
hashMap2.put("stationToName", new C0632b("stationToName", "TEXT", false, 0, null, 1));
hashMap2.put("type", new C0632b("type", "TEXT", true, 0, null, 1));
hashMap2.put("isCercanias", new C0632b("isCercanias", "INTEGER", false, 0, null, 1));
hashMap2.put("isRodalies", new C0632b("isRodalies", "INTEGER", false, 0, null, 1));
u0.f fVar2 = new u0.f("FavouriteEntity", hashMap2, new HashSet(0), new HashSet(0));
u0.f a4 = u0.f.a(cVar, "FavouriteEntity");
if (!fVar2.equals(a4)) {
return new M.g(false, "FavouriteEntity(com.adif.elcanomovil.serviceStorage.model.FavouriteEntity).\n Expected:\n" + fVar2 + "\n Found:\n" + a4);
}
HashMap hashMap3 = new HashMap(5);
hashMap3.put("stId", new C0632b("stId", "TEXT", true, 1, null, 1));
hashMap3.put(AppMeasurementSdk.ConditionalUserProperty.NAME, new C0632b(AppMeasurementSdk.ConditionalUserProperty.NAME, "TEXT", true, 0, null, 1));
hashMap3.put("code", new C0632b("code", "TEXT", true, 0, null, 1));
hashMap3.put("latitude", new C0632b("latitude", "REAL", false, 0, null, 1));
hashMap3.put("longitude", new C0632b("longitude", "REAL", false, 0, null, 1));
u0.f fVar3 = new u0.f("AvisaStation", hashMap3, new HashSet(0), new HashSet(0));
u0.f a5 = u0.f.a(cVar, "AvisaStation");
if (!fVar3.equals(a5)) {
return new M.g(false, "AvisaStation(com.adif.elcanomovil.serviceStorage.model.avisa.AvisaStationEntity).\n Expected:\n" + fVar3 + "\n Found:\n" + a5);
}
HashMap hashMap4 = new HashMap(2);
hashMap4.put("catId", new C0632b("catId", "TEXT", true, 1, null, 1));
hashMap4.put("title", new C0632b("title", "TEXT", true, 0, null, 1));
u0.f fVar4 = new u0.f("AvisaStationCategory", hashMap4, new HashSet(0), new HashSet(0));
u0.f a6 = u0.f.a(cVar, "AvisaStationCategory");
if (!fVar4.equals(a6)) {
return new M.g(false, "AvisaStationCategory(com.adif.elcanomovil.serviceStorage.model.avisa.AvisaStationCategoryEntity).\n Expected:\n" + fVar4 + "\n Found:\n" + a6);
}
HashMap hashMap5 = new HashMap(12);
hashMap5.put(NavArguments.ARG_TYPE_NOTIFICATION_JSON_MESSAGE_TRAIN, new C0632b(NavArguments.ARG_TYPE_NOTIFICATION_JSON_MESSAGE_TRAIN, "INTEGER", true, 1, null, 1));
hashMap5.put("incidenceCode", new C0632b("incidenceCode", "TEXT", true, 0, null, 1));
hashMap5.put("stationId", new C0632b("stationId", "TEXT", false, 0, null, 1));
hashMap5.put("statusTypeId", new C0632b("statusTypeId", "INTEGER", true, 0, null, 1));
hashMap5.put("description", new C0632b("description", "TEXT", true, 0, null, 1));
hashMap5.put("notificationTypeId", new C0632b("notificationTypeId", "INTEGER", true, 0, null, 1));
hashMap5.put("createdTime", new C0632b("createdTime", "INTEGER", true, 0, null, 1));
hashMap5.put("estimatedDateTo", new C0632b("estimatedDateTo", "INTEGER", false, 0, null, 1));
hashMap5.put("solvedDate", new C0632b("solvedDate", "INTEGER", false, 0, null, 1));
hashMap5.put("categoryId", new C0632b("categoryId", "TEXT", false, 0, null, 1));
hashMap5.put("photos", new C0632b("photos", "TEXT", false, 0, null, 1));
hashMap5.put("comments", new C0632b("comments", "TEXT", false, 0, null, 1));
HashSet hashSet = new HashSet(2);
hashSet.add(new u0.c("AvisaStation", "CASCADE", "NO ACTION", Arrays.asList("stationId"), Arrays.asList("stId")));
hashSet.add(new u0.c("AvisaStationCategory", "CASCADE", "NO ACTION", Arrays.asList("categoryId"), Arrays.asList("catId")));
u0.f fVar5 = new u0.f("IncidenceEntity", hashMap5, hashSet, new HashSet(0));
u0.f a7 = u0.f.a(cVar, "IncidenceEntity");
if (!fVar5.equals(a7)) {
return new M.g(false, "IncidenceEntity(com.adif.elcanomovil.serviceStorage.model.avisa.IncidenceEntity).\n Expected:\n" + fVar5 + "\n Found:\n" + a7);
}
HashMap hashMap6 = new HashMap(8);
hashMap6.put(NavArguments.ARG_TYPE_NOTIFICATION_JSON_MESSAGE_TRAIN, new C0632b(NavArguments.ARG_TYPE_NOTIFICATION_JSON_MESSAGE_TRAIN, "INTEGER", true, 1, null, 1));
hashMap6.put("createTime", new C0632b("createTime", "INTEGER", false, 0, null, 1));
hashMap6.put("updatedTime", new C0632b("updatedTime", "INTEGER", false, 0, null, 1));
hashMap6.put("type", new C0632b("type", "TEXT", false, 0, null, 1));
hashMap6.put("statusTypeId", new C0632b("statusTypeId", "TEXT", true, 0, null, 1));
hashMap6.put("description", new C0632b("description", "TEXT", true, 0, null, 1));
hashMap6.put(ServicePaths.IncidenceService.pathIncidenceId, new C0632b(ServicePaths.IncidenceService.pathIncidenceId, "INTEGER", false, 0, null, 1));
hashMap6.put("fixPhotos", new C0632b("fixPhotos", "TEXT", true, 0, null, 1));
HashSet hashSet2 = new HashSet(1);
hashSet2.add(new u0.c("IncidenceEntity", "CASCADE", "NO ACTION", Arrays.asList(ServicePaths.IncidenceService.pathIncidenceId), Arrays.asList(NavArguments.ARG_TYPE_NOTIFICATION_JSON_MESSAGE_TRAIN)));
u0.f fVar6 = new u0.f("IncidenceCommentEntity", hashMap6, hashSet2, new HashSet(0));
u0.f a8 = u0.f.a(cVar, "IncidenceCommentEntity");
if (!fVar6.equals(a8)) {
return new M.g(false, "IncidenceCommentEntity(com.adif.elcanomovil.serviceStorage.model.avisa.IncidenceCommentEntity).\n Expected:\n" + fVar6 + "\n Found:\n" + a8);
}
HashMap hashMap7 = new HashMap(6);
hashMap7.put(NavArguments.ARG_TYPE_NOTIFICATION_JSON_MESSAGE_TRAIN, new C0632b(NavArguments.ARG_TYPE_NOTIFICATION_JSON_MESSAGE_TRAIN, "INTEGER", true, 1, null, 1));
hashMap7.put("type", new C0632b("type", "TEXT", true, 0, null, 1));
hashMap7.put(FirebaseAnalytics.Param.CONTENT, new C0632b(FirebaseAnalytics.Param.CONTENT, "TEXT", true, 0, null, 1));
hashMap7.put("thumbnail", new C0632b("thumbnail", "INTEGER", false, 0, null, 1));
hashMap7.put(ServicePaths.IncidenceService.pathIncidenceId, new C0632b(ServicePaths.IncidenceService.pathIncidenceId, "INTEGER", false, 0, null, 1));
hashMap7.put(NavArguments.ARG_DYNAMIC_LINKS_TAB, new C0632b(NavArguments.ARG_DYNAMIC_LINKS_TAB, "TEXT", false, 0, null, 1));
HashSet hashSet3 = new HashSet(1);
hashSet3.add(new u0.c("IncidenceEntity", "CASCADE", "NO ACTION", Arrays.asList(ServicePaths.IncidenceService.pathIncidenceId), Arrays.asList(NavArguments.ARG_TYPE_NOTIFICATION_JSON_MESSAGE_TRAIN)));
u0.f fVar7 = new u0.f("IncidencePictureEntity", hashMap7, hashSet3, new HashSet(0));
u0.f a9 = u0.f.a(cVar, "IncidencePictureEntity");
if (!fVar7.equals(a9)) {
return new M.g(false, "IncidencePictureEntity(com.adif.elcanomovil.serviceStorage.model.avisa.IncidencePictureEntity).\n Expected:\n" + fVar7 + "\n Found:\n" + a9);
}
HashMap hashMap8 = new HashMap(8);
hashMap8.put(NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_NUMBER, new C0632b(NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_NUMBER, "TEXT", true, 1, null, 1));
hashMap8.put(NavArguments.ARG_DYNAMIC_LINKS_STATION_CODE, new C0632b(NavArguments.ARG_DYNAMIC_LINKS_STATION_CODE, "TEXT", true, 2, null, 1));
hashMap8.put(NavArguments.ARG_DYNAMIC_LINKS_STATION_TO_CODE, new C0632b(NavArguments.ARG_DYNAMIC_LINKS_STATION_TO_CODE, "TEXT", true, 3, null, 1));
hashMap8.put(NavArguments.ARG_DYNAMIC_LINKS_LAUNCHDATE, new C0632b(NavArguments.ARG_DYNAMIC_LINKS_LAUNCHDATE, "INTEGER", true, 0, null, 1));
hashMap8.put(NavArguments.ARG_DYNAMIC_LINKS_OPERATOR, new C0632b(NavArguments.ARG_DYNAMIC_LINKS_OPERATOR, "TEXT", false, 0, null, 1));
hashMap8.put(NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_PRODUCT, new C0632b(NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_PRODUCT, "TEXT", false, 0, null, 1));
hashMap8.put("timeStationFrom", new C0632b("timeStationFrom", "TEXT", false, 0, null, 1));
hashMap8.put("timeStationTo", new C0632b("timeStationTo", "TEXT", false, 0, null, 1));
u0.f fVar8 = new u0.f("FavouriteTrainEntity", hashMap8, new HashSet(0), new HashSet(0));
u0.f a10 = u0.f.a(cVar, "FavouriteTrainEntity");
if (!fVar8.equals(a10)) {
return new M.g(false, "FavouriteTrainEntity(com.adif.elcanomovil.serviceStorage.model.FavouriteTrainEntity).\n Expected:\n" + fVar8 + "\n Found:\n" + a10);
}
HashMap hashMap9 = new HashMap(20);
hashMap9.put("station_id", new C0632b("station_id", "INTEGER", false, 1, null, 1));
hashMap9.put(NavArguments.ARG_TYPE_NOTIFICATION_JSON_MESSAGE_TRAIN, new C0632b(NavArguments.ARG_TYPE_NOTIFICATION_JSON_MESSAGE_TRAIN, "INTEGER", true, 0, null, 1));
hashMap9.put("incidenceCode", new C0632b("incidenceCode", "TEXT", true, 0, null, 1));
hashMap9.put("stationId", new C0632b("stationId", "TEXT", false, 0, null, 1));
hashMap9.put("statusTypeId", new C0632b("statusTypeId", "INTEGER", true, 0, null, 1));
hashMap9.put("description", new C0632b("description", "TEXT", true, 0, null, 1));
hashMap9.put("notificationTypeId", new C0632b("notificationTypeId", "INTEGER", true, 0, null, 1));
hashMap9.put("createdTime", new C0632b("createdTime", "INTEGER", true, 0, null, 1));
hashMap9.put("estimatedDateTo", new C0632b("estimatedDateTo", "INTEGER", false, 0, null, 1));
hashMap9.put("solvedDate", new C0632b("solvedDate", "INTEGER", false, 0, null, 1));
hashMap9.put("categoryId", new C0632b("categoryId", "TEXT", false, 0, null, 1));
hashMap9.put("photos", new C0632b("photos", "TEXT", false, 0, null, 1));
hashMap9.put("comments", new C0632b("comments", "TEXT", false, 0, null, 1));
hashMap9.put("stId", new C0632b("stId", "TEXT", true, 0, null, 1));
hashMap9.put(AppMeasurementSdk.ConditionalUserProperty.NAME, new C0632b(AppMeasurementSdk.ConditionalUserProperty.NAME, "TEXT", true, 0, null, 1));
hashMap9.put("code", new C0632b("code", "TEXT", true, 0, null, 1));
hashMap9.put("latitude", new C0632b("latitude", "REAL", false, 0, null, 1));
hashMap9.put("longitude", new C0632b("longitude", "REAL", false, 0, null, 1));
hashMap9.put("catId", new C0632b("catId", "TEXT", true, 0, null, 1));
hashMap9.put("title", new C0632b("title", "TEXT", true, 0, null, 1));
u0.f fVar9 = new u0.f("IncidenceStationEntity", hashMap9, new HashSet(0), new HashSet(0));
u0.f a11 = u0.f.a(cVar, "IncidenceStationEntity");
if (!fVar9.equals(a11)) {
return new M.g(false, "IncidenceStationEntity(com.adif.elcanomovil.serviceStorage.model.avisa.IncidenceStationEntity).\n Expected:\n" + fVar9 + "\n Found:\n" + a11);
}
HashMap hashMap10 = new HashMap(11);
hashMap10.put("subcriptionId", new C0632b("subcriptionId", "INTEGER", true, 1, null, 1));
hashMap10.put(FirebaseAnalytics.Param.DESTINATION, new C0632b(FirebaseAnalytics.Param.DESTINATION, "TEXT", false, 0, null, 1));
hashMap10.put("origin", new C0632b("origin", "TEXT", true, 0, null, 1));
hashMap10.put("repeats", new C0632b("repeats", "TEXT", true, 0, null, 1));
hashMap10.put("subscriptionType", new C0632b("subscriptionType", "TEXT", true, 0, null, 1));
hashMap10.put("timeCenter", new C0632b("timeCenter", "TEXT", true, 0, null, 1));
hashMap10.put("timeEnd", new C0632b("timeEnd", "TEXT", false, 0, null, 1));
hashMap10.put("timeStart", new C0632b("timeStart", "TEXT", false, 0, null, 1));
hashMap10.put(AppMeasurementSdk.ConditionalUserProperty.ACTIVE, new C0632b(AppMeasurementSdk.ConditionalUserProperty.ACTIVE, "INTEGER", true, 0, null, 1));
hashMap10.put(NavArguments.ARG_DYNAMIC_LINKS_OPERATOR, new C0632b(NavArguments.ARG_DYNAMIC_LINKS_OPERATOR, "TEXT", false, 0, null, 1));
hashMap10.put(NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_PRODUCT, new C0632b(NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_PRODUCT, "TEXT", false, 0, null, 1));
u0.f fVar10 = new u0.f("SubscriptionEntity", hashMap10, new HashSet(0), new HashSet(0));
u0.f a12 = u0.f.a(cVar, "SubscriptionEntity");
if (!fVar10.equals(a12)) {
return new M.g(false, "SubscriptionEntity(com.adif.elcanomovil.serviceStorage.model.subscriptions.SubscriptionEntity).\n Expected:\n" + fVar10 + "\n Found:\n" + a12);
}
HashMap hashMap11 = new HashMap(4);
hashMap11.put("subcriptionAuxId", new C0632b("subcriptionAuxId", "INTEGER", true, 1, null, 1));
hashMap11.put("subscriptionType", new C0632b("subscriptionType", "TEXT", true, 0, null, 1));
hashMap11.put(NavArguments.ARG_DYNAMIC_LINKS_OPERATOR, new C0632b(NavArguments.ARG_DYNAMIC_LINKS_OPERATOR, "TEXT", false, 0, null, 1));
hashMap11.put(NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_PRODUCT, new C0632b(NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_PRODUCT, "TEXT", false, 0, null, 1));
u0.f fVar11 = new u0.f("SubscriptionAuxEntity", hashMap11, new HashSet(0), new HashSet(0));
u0.f a13 = u0.f.a(cVar, "SubscriptionAuxEntity");
if (fVar11.equals(a13)) {
return new M.g(true, (String) null);
}
return new M.g(false, "SubscriptionAuxEntity(com.adif.elcanomovil.serviceStorage.model.subscriptions.SubscriptionAuxEntity).\n Expected:\n" + fVar11 + "\n Found:\n" + a13);
}
@Override // Q0.h
public boolean a(Q0.b bVar) {
return false;
}
@Override // Q0.h
public Q0.c b(Q0.b bVar) {
return null;
}
@Override // O.InterfaceC0058c
public C0064f build() {
ContentInfo build;
build = ((ContentInfo.Builder) this.f7b).build();
return new C0064f(new a(build));
}
@Override // Q0.h
public void c(int i) {
}
@Override // O.InterfaceC0062e
public ClipData d() {
ClipData clip;
clip = ((ContentInfo) this.f7b).getClip();
return clip;
}
@Override // O.InterfaceC0062e
public int e() {
int flags;
flags = ((ContentInfo) this.f7b).getFlags();
return flags;
}
@Override // O.InterfaceC0062e
public ContentInfo f() {
return (ContentInfo) this.f7b;
}
@Override // O.InterfaceC0080v
public D0 g(View view, D0 d02) {
CoordinatorLayout coordinatorLayout = (CoordinatorLayout) this.f7b;
if (!Objects.equals(coordinatorLayout.f2772n, d02)) {
coordinatorLayout.f2772n = d02;
boolean z3 = d02.d() > 0;
coordinatorLayout.f2773o = z3;
coordinatorLayout.setWillNotDraw(!z3 && coordinatorLayout.getBackground() == null);
B0 b02 = d02.f1207a;
if (!b02.m()) {
int childCount = coordinatorLayout.getChildCount();
for (int i = 0; i < childCount; i++) {
View childAt = coordinatorLayout.getChildAt(i);
WeakHashMap weakHashMap = X.f1226a;
if (childAt.getFitsSystemWindows() && ((e) childAt.getLayoutParams()).f9a != null && b02.m()) {
break;
}
}
}
coordinatorLayout.requestLayout();
}
return d02;
}
@Override // O.InterfaceC0062e
public int getSource() {
int source;
source = ((ContentInfo) this.f7b).getSource();
return source;
}
@Override // Q0.h
public void h(Q0.b bVar, Bitmap bitmap, Map map) {
((Q0.i) this.f7b).e(bVar, bitmap, map, m3.d.r(bitmap));
}
@Override // O.InterfaceC0058c
public void i(Uri uri) {
((ContentInfo.Builder) this.f7b).setLinkUri(uri);
}
@Override // S2.p
public Object j() {
switch (this.f6a) {
case 16:
Class cls = (Class) this.f7b;
try {
return u.f1629a.a(cls);
} catch (Exception e4) {
throw new RuntimeException("Unable to create instance of " + cls + ". Registering an InstanceCreator or a TypeAdapter for this type, or adding a no-args constructor may fix this problem.", e4);
}
default:
Constructor constructor = (Constructor) this.f7b;
try {
return constructor.newInstance(new Object[0]);
} catch (IllegalAccessException e5) {
AbstractC0106b abstractC0106b = V2.c.f1878a;
throw new RuntimeException("Unexpected IllegalAccessException occurred (Gson 2.10.1). Certain ReflectionAccessFilter features require Java >= 9 to work correctly. If you are not using ReflectionAccessFilter, report this to the Gson maintainers.", e5);
} catch (InstantiationException e6) {
throw new RuntimeException("Failed to invoke constructor '" + V2.c.b(constructor) + "' with no args", e6);
} catch (InvocationTargetException e7) {
throw new RuntimeException("Failed to invoke constructor '" + V2.c.b(constructor) + "' with no args", e7.getCause());
}
}
}
@Override // O.InterfaceC0058c
public void k(int i) {
((ContentInfo.Builder) this.f7b).setFlags(i);
}
public K0.i l() {
K0.d x3;
K0.b bVar = (K0.b) this.f7b;
K0.g gVar = bVar.f983d;
synchronized (gVar) {
bVar.a(true);
x3 = gVar.x(bVar.f980a.f984a);
}
if (x3 != null) {
return new K0.i(x3);
}
return null;
}
public P.k m(int i) {
return null;
}
public P.k o(int i) {
return null;
}
/* JADX WARN: Code restructure failed: missing block: B:29:0x006e, code lost:
if (r6 != false) goto L70;
*/
/* JADX WARN: Code restructure failed: missing block: B:31:0x0109, code lost:
r7 = false;
*/
/* JADX WARN: Code restructure failed: missing block: B:47:0x00d9, code lost:
if (java.lang.Math.abs(r2 - (r10 * r3)) > 1.0d) goto L62;
*/
/* JADX WARN: Code restructure failed: missing block: B:49:0x00fd, code lost:
if (r12 != 1.0d) goto L65;
*/
/* JADX WARN: Code restructure failed: missing block: B:50:0x0100, code lost:
if (r0 != false) goto L67;
*/
/* JADX WARN: Code restructure failed: missing block: B:52:0x0105, code lost:
if (r12 <= 1.0d) goto L71;
*/
/* JADX WARN: Code restructure failed: missing block: B:53:0x0107, code lost:
if (r6 == false) goto L71;
*/
/* JADX WARN: Code restructure failed: missing block: B:58:0x00ec, code lost:
if (java.lang.Math.abs(r8 - r1) > 1) goto L62;
*/
/* JADX WARN: Code restructure failed: missing block: B:62:0x00f8, code lost:
if (java.lang.Math.abs(r2 - r3) > 1) goto L62;
*/
/* JADX WARN: Removed duplicated region for block: B:19:0x010e A[RETURN] */
/* JADX WARN: Removed duplicated region for block: B:20:? A[RETURN, SYNTHETIC] */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public Q0.c p(S0.j r18, Q0.b r19, T0.h r20, T0.g r21) {
/*
Method dump skipped, instructions count: 272
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: A.a.p(S0.j, Q0.b, T0.h, T0.g):Q0.c");
}
public Q0.b q(S0.j jVar, Object obj, o oVar, I0.d dVar) {
String str;
Map map;
Q0.b bVar = jVar.f1480d;
if (bVar != null) {
return bVar;
}
List list = ((I0.p) this.f7b).f789g.f746c;
int size = list.size();
int i = 0;
while (true) {
if (i >= size) {
str = null;
break;
}
Pair pair = (Pair) list.get(i);
O0.b bVar2 = (O0.b) pair.component1();
if (((Class) pair.component2()).isAssignableFrom(obj.getClass())) {
Intrinsics.checkNotNull(bVar2, "null cannot be cast to non-null type coil.key.Keyer<kotlin.Any>");
str = bVar2.a(obj, oVar);
if (str != null) {
break;
}
}
i++;
}
if (str == null) {
return null;
}
Map map2 = jVar.f1499z.f1516a;
if (map2.isEmpty()) {
map = MapsKt.emptyMap();
} else {
LinkedHashMap linkedHashMap = new LinkedHashMap();
Iterator it = map2.entrySet().iterator();
if (it.hasNext()) {
((Map.Entry) it.next()).getValue().getClass();
throw new ClassCastException();
}
map = linkedHashMap;
}
List list2 = jVar.h;
if (list2.isEmpty() && map.isEmpty()) {
return new Q0.b(str);
}
Map mutableMap = MapsKt.toMutableMap(map);
if (!list2.isEmpty()) {
if (list2.size() > 0) {
list2.get(0).getClass();
throw new ClassCastException();
}
mutableMap.put("coil#transformation_size", oVar.f1505d.toString());
}
return new Q0.b(str, mutableMap);
}
@Override // O.InterfaceC0058c
public void setExtras(Bundle bundle) {
((ContentInfo.Builder) this.f7b).setExtras(bundle);
}
public void t(float f2, float f4, float f5) {
S1.o oVar = (S1.o) this.f7b;
if (oVar.d() < oVar.f1563e || f2 < 1.0f) {
oVar.getClass();
oVar.f1569m.postScale(f2, f2, f4, f5);
oVar.a();
}
}
public String toString() {
switch (this.f6a) {
case 8:
return "ContentInfoCompat{" + ((ContentInfo) this.f7b) + "}";
default:
return super.toString();
}
}
public boolean v(int i, int i4, Bundle bundle) {
return false;
}
public /* synthetic */ a(Object obj, int i) {
this.f6a = i;
this.f7b = obj;
}
public a(I0.p pVar, F.i iVar) {
this.f6a = 13;
this.f7b = pVar;
}
public a(Context context, L l4) {
this.f6a = 9;
this.f7b = new GestureDetector(context, l4, null);
}
public a(TextView textView) {
this.f6a = 28;
this.f7b = new C0344h(textView);
}
public a(S0.p pVar) {
this.f6a = 14;
this.f7b = MapsKt.toMutableMap(pVar.f1516a);
}
public a(EditText editText) {
this.f6a = 27;
this.f7b = new F.i(editText);
}
public a(int i) {
this.f6a = i;
switch (i) {
case 21:
this.f7b = new LinkedHashMap();
return;
case 26:
TimeUnit timeUnit = TimeUnit.MINUTES;
Intrinsics.checkNotNullParameter(timeUnit, "timeUnit");
m delegate = new m(h3.e.i);
Intrinsics.checkNotNullParameter(delegate, "delegate");
this.f7b = delegate;
return;
default:
this.f7b = new P.l(this);
return;
}
}
public a(ContentInfo contentInfo) {
this.f6a = 8;
contentInfo.getClass();
this.f7b = B2.e.h(contentInfo);
}
public a(ClipData clipData, int i) {
this.f6a = 7;
this.f7b = B2.e.f(clipData, i);
}
}

View File

@@ -0,0 +1,71 @@
package A;
import android.os.Parcelable;
import android.view.MotionEvent;
import android.view.View;
import androidx.coordinatorlayout.widget.CoordinatorLayout;
/* loaded from: classes.dex */
public abstract class b {
public boolean e(View view) {
return false;
}
public void f(View view) {
}
public void g(e eVar) {
}
public boolean h(CoordinatorLayout coordinatorLayout, View view, View view2) {
return false;
}
public void i() {
}
public boolean j(CoordinatorLayout coordinatorLayout, View view, MotionEvent motionEvent) {
return false;
}
public boolean k(CoordinatorLayout coordinatorLayout, View view, int i) {
return false;
}
public boolean l(CoordinatorLayout coordinatorLayout, View view, int i, int i4, int i5) {
return false;
}
public boolean m(View view) {
return false;
}
public void n(CoordinatorLayout coordinatorLayout, View view, View view2, int i, int i4, int[] iArr, int i5) {
}
public void o(CoordinatorLayout coordinatorLayout, View view, int i, int i4, int i5, int[] iArr) {
iArr[0] = iArr[0] + i4;
iArr[1] = iArr[1] + i5;
}
public void p(CoordinatorLayout coordinatorLayout, View view) {
}
public void q(View view, Parcelable parcelable) {
}
public Parcelable r(View view) {
return View.BaseSavedState.EMPTY_STATE;
}
public boolean s(View view, int i, int i4) {
return false;
}
public void t(View view, View view2, int i) {
}
public boolean u(View view, MotionEvent motionEvent) {
return false;
}
}

View File

@@ -0,0 +1,10 @@
package A;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
@Retention(RetentionPolicy.RUNTIME)
/* loaded from: classes.dex */
public @interface c {
Class value();
}

View File

@@ -0,0 +1,34 @@
package A;
import android.view.View;
import android.view.ViewGroup;
import androidx.coordinatorlayout.widget.CoordinatorLayout;
/* loaded from: classes.dex */
public final class d implements ViewGroup.OnHierarchyChangeListener {
/* renamed from: a, reason: collision with root package name */
public final /* synthetic */ CoordinatorLayout f8a;
public d(CoordinatorLayout coordinatorLayout) {
this.f8a = coordinatorLayout;
}
@Override // android.view.ViewGroup.OnHierarchyChangeListener
public final void onChildViewAdded(View view, View view2) {
ViewGroup.OnHierarchyChangeListener onHierarchyChangeListener = this.f8a.f2774q;
if (onHierarchyChangeListener != null) {
onHierarchyChangeListener.onChildViewAdded(view, view2);
}
}
@Override // android.view.ViewGroup.OnHierarchyChangeListener
public final void onChildViewRemoved(View view, View view2) {
CoordinatorLayout coordinatorLayout = this.f8a;
coordinatorLayout.p(2);
ViewGroup.OnHierarchyChangeListener onHierarchyChangeListener = coordinatorLayout.f2774q;
if (onHierarchyChangeListener != null) {
onHierarchyChangeListener.onChildViewRemoved(view, view2);
}
}
}

View File

@@ -0,0 +1,178 @@
package A;
import C.w;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Rect;
import android.text.TextUtils;
import android.util.AttributeSet;
import android.view.View;
import android.view.ViewGroup;
import androidx.coordinatorlayout.widget.CoordinatorLayout;
import java.lang.reflect.Constructor;
import java.util.HashMap;
import java.util.Map;
/* loaded from: classes.dex */
public final class e extends ViewGroup.MarginLayoutParams {
/* renamed from: a, reason: collision with root package name */
public b f9a;
/* renamed from: b, reason: collision with root package name */
public boolean f10b;
/* renamed from: c, reason: collision with root package name */
public final int f11c;
/* renamed from: d, reason: collision with root package name */
public final int f12d;
/* renamed from: e, reason: collision with root package name */
public final int f13e;
/* renamed from: f, reason: collision with root package name */
public final int f14f;
/* renamed from: g, reason: collision with root package name */
public int f15g;
public int h;
public int i;
/* renamed from: j, reason: collision with root package name */
public int f16j;
/* renamed from: k, reason: collision with root package name */
public View f17k;
/* renamed from: l, reason: collision with root package name */
public View f18l;
/* renamed from: m, reason: collision with root package name */
public boolean f19m;
/* renamed from: n, reason: collision with root package name */
public boolean f20n;
/* renamed from: o, reason: collision with root package name */
public final Rect f21o;
public e() {
super(-2, -2);
this.f10b = false;
this.f11c = 0;
this.f12d = 0;
this.f13e = -1;
this.f14f = -1;
this.f15g = 0;
this.h = 0;
this.f21o = new Rect();
}
public final boolean a(int i) {
if (i == 0) {
return this.f19m;
}
if (i != 1) {
return false;
}
return this.f20n;
}
public e(Context context, AttributeSet attributeSet) {
super(context, attributeSet);
b bVar;
this.f10b = false;
this.f11c = 0;
this.f12d = 0;
this.f13e = -1;
this.f14f = -1;
this.f15g = 0;
this.h = 0;
this.f21o = new Rect();
TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, z.a.f8998b);
this.f11c = obtainStyledAttributes.getInteger(0, 0);
this.f14f = obtainStyledAttributes.getResourceId(1, -1);
this.f12d = obtainStyledAttributes.getInteger(2, 0);
this.f13e = obtainStyledAttributes.getInteger(6, -1);
this.f15g = obtainStyledAttributes.getInt(5, 0);
this.h = obtainStyledAttributes.getInt(4, 0);
boolean hasValue = obtainStyledAttributes.hasValue(3);
this.f10b = hasValue;
if (hasValue) {
String string = obtainStyledAttributes.getString(3);
String str = CoordinatorLayout.f2756t;
if (TextUtils.isEmpty(string)) {
bVar = null;
} else {
if (string.startsWith(".")) {
string = context.getPackageName() + string;
} else if (string.indexOf(46) < 0) {
String str2 = CoordinatorLayout.f2756t;
if (!TextUtils.isEmpty(str2)) {
string = str2 + '.' + string;
}
}
try {
ThreadLocal threadLocal = CoordinatorLayout.f2758v;
Map map = (Map) threadLocal.get();
if (map == null) {
map = new HashMap();
threadLocal.set(map);
}
Constructor<?> constructor = (Constructor) map.get(string);
if (constructor == null) {
constructor = Class.forName(string, false, context.getClassLoader()).getConstructor(CoordinatorLayout.f2757u);
constructor.setAccessible(true);
map.put(string, constructor);
}
bVar = (b) constructor.newInstance(context, attributeSet);
} catch (Exception e4) {
throw new RuntimeException(w.z("Could not inflate Behavior subclass ", string), e4);
}
}
this.f9a = bVar;
}
obtainStyledAttributes.recycle();
b bVar2 = this.f9a;
if (bVar2 != null) {
bVar2.g(this);
}
}
public e(e eVar) {
super((ViewGroup.MarginLayoutParams) eVar);
this.f10b = false;
this.f11c = 0;
this.f12d = 0;
this.f13e = -1;
this.f14f = -1;
this.f15g = 0;
this.h = 0;
this.f21o = new Rect();
}
public e(ViewGroup.MarginLayoutParams marginLayoutParams) {
super(marginLayoutParams);
this.f10b = false;
this.f11c = 0;
this.f12d = 0;
this.f13e = -1;
this.f14f = -1;
this.f15g = 0;
this.h = 0;
this.f21o = new Rect();
}
public e(ViewGroup.LayoutParams layoutParams) {
super(layoutParams);
this.f10b = false;
this.f11c = 0;
this.f12d = 0;
this.f13e = -1;
this.f14f = -1;
this.f15g = 0;
this.h = 0;
this.f21o = new Rect();
}
}

View File

@@ -0,0 +1,21 @@
package A;
import android.view.ViewTreeObserver;
import androidx.coordinatorlayout.widget.CoordinatorLayout;
/* loaded from: classes.dex */
public final class f implements ViewTreeObserver.OnPreDrawListener {
/* renamed from: a, reason: collision with root package name */
public final /* synthetic */ CoordinatorLayout f22a;
public f(CoordinatorLayout coordinatorLayout) {
this.f22a = coordinatorLayout;
}
@Override // android.view.ViewTreeObserver.OnPreDrawListener
public final boolean onPreDraw() {
this.f22a.p(0);
return true;
}
}

View File

@@ -0,0 +1,134 @@
package A;
import H0.o;
import I2.D;
import android.os.Parcel;
import android.os.Parcelable;
import android.view.View;
import androidx.fragment.app.J;
import m.T0;
import x2.C0658a;
import z2.C0680j;
/* loaded from: classes.dex */
public final class g implements Parcelable.ClassLoaderCreator {
/* renamed from: a, reason: collision with root package name */
public final /* synthetic */ int f23a;
public /* synthetic */ g(int i) {
this.f23a = i;
}
/* JADX WARN: Type inference failed for: r1v5, types: [android.view.View$BaseSavedState, H0.o, java.lang.Object] */
@Override // android.os.Parcelable.ClassLoaderCreator
public final Object createFromParcel(Parcel parcel, ClassLoader classLoader) {
switch (this.f23a) {
case 0:
return new h(parcel, classLoader);
case 1:
return new F0.j(parcel, classLoader);
case 2:
return new F2.e(parcel, classLoader);
case 3:
?? baseSavedState = new View.BaseSavedState(parcel, classLoader);
baseSavedState.f655a = parcel.readInt();
baseSavedState.f656b = parcel.readInt();
baseSavedState.f657c = parcel.readParcelable(classLoader);
return baseSavedState;
case 4:
return new D(parcel, classLoader);
case 5:
if (parcel.readParcelable(classLoader) == null) {
return W.b.f1879b;
}
throw new IllegalStateException("superState must be null");
case 6:
return new J(parcel, classLoader);
case 7:
return new T0(parcel, classLoader);
case 8:
return new o2.b(parcel, classLoader);
case 9:
return new p2.b(parcel, classLoader);
case 10:
return new C0658a(parcel, classLoader);
case 11:
return new x2.f(parcel, classLoader);
default:
return new C0680j(parcel, classLoader);
}
}
@Override // android.os.Parcelable.Creator
public final Object[] newArray(int i) {
switch (this.f23a) {
case 0:
return new h[i];
case 1:
return new F0.j[i];
case 2:
return new F2.e[i];
case 3:
return new o[i];
case 4:
return new D[i];
case 5:
return new W.b[i];
case 6:
return new J[i];
case 7:
return new T0[i];
case 8:
return new o2.b[i];
case 9:
return new p2.b[i];
case 10:
return new C0658a[i];
case 11:
return new x2.f[i];
default:
return new C0680j[i];
}
}
/* JADX WARN: Type inference failed for: r2v5, types: [android.view.View$BaseSavedState, H0.o, java.lang.Object] */
@Override // android.os.Parcelable.Creator
public final Object createFromParcel(Parcel parcel) {
switch (this.f23a) {
case 0:
return new h(parcel, null);
case 1:
return new F0.j(parcel, null);
case 2:
return new F2.e(parcel, null);
case 3:
?? baseSavedState = new View.BaseSavedState(parcel, null);
baseSavedState.f655a = parcel.readInt();
baseSavedState.f656b = parcel.readInt();
baseSavedState.f657c = parcel.readParcelable(null);
return baseSavedState;
case 4:
return new D(parcel, null);
case 5:
if (parcel.readParcelable(null) == null) {
return W.b.f1879b;
}
throw new IllegalStateException("superState must be null");
case 6:
return new J(parcel, null);
case 7:
return new T0(parcel, null);
case 8:
return new o2.b(parcel, null);
case 9:
return new p2.b(parcel, null);
case 10:
return new C0658a(parcel, null);
case 11:
return new x2.f(parcel, null);
default:
return new C0680j(parcel, null);
}
}
}

View File

@@ -0,0 +1,41 @@
package A;
import android.os.Parcel;
import android.os.Parcelable;
import android.util.SparseArray;
/* loaded from: classes.dex */
public final class h extends W.b {
public static final Parcelable.Creator<h> CREATOR = new g(0);
/* renamed from: c, reason: collision with root package name */
public SparseArray f24c;
public h(Parcel parcel, ClassLoader classLoader) {
super(parcel, classLoader);
int readInt = parcel.readInt();
int[] iArr = new int[readInt];
parcel.readIntArray(iArr);
Parcelable[] readParcelableArray = parcel.readParcelableArray(classLoader);
this.f24c = new SparseArray(readInt);
for (int i = 0; i < readInt; i++) {
this.f24c.append(iArr[i], readParcelableArray[i]);
}
}
@Override // W.b, android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
super.writeToParcel(parcel, i);
SparseArray sparseArray = this.f24c;
int size = sparseArray != null ? sparseArray.size() : 0;
parcel.writeInt(size);
int[] iArr = new int[size];
Parcelable[] parcelableArr = new Parcelable[size];
for (int i4 = 0; i4 < size; i4++) {
iArr[i4] = this.f24c.keyAt(i4);
parcelableArr[i4] = (Parcelable) this.f24c.valueAt(i4);
}
parcel.writeIntArray(iArr);
parcel.writeParcelableArray(parcelableArr, i);
}
}

View File

@@ -0,0 +1,48 @@
package A;
import O.L;
import O.X;
import android.view.View;
import java.util.Comparator;
import java.util.WeakHashMap;
import kotlin.comparisons.ComparisonsKt;
import u.C0630g;
/* loaded from: classes.dex */
public final class i implements Comparator {
/* renamed from: a, reason: collision with root package name */
public final /* synthetic */ int f25a;
public /* synthetic */ i(int i) {
this.f25a = i;
}
@Override // java.util.Comparator
public final int compare(Object obj, Object obj2) {
switch (this.f25a) {
case 0:
WeakHashMap weakHashMap = X.f1226a;
float m4 = L.m((View) obj);
float m5 = L.m((View) obj2);
if (m4 > m5) {
return -1;
}
return m4 < m5 ? 1 : 0;
case 1:
return ((F0.e) obj).f519b - ((F0.e) obj2).f519b;
case 2:
return ((int[]) obj)[0] - ((int[]) obj2)[0];
case 3:
return ((Comparable) obj).compareTo((Comparable) obj2);
case 4:
return ((Comparable) obj).compareTo((Comparable) obj2);
case 5:
return ComparisonsKt.compareValues(((s3.i) obj).f8489a, ((s3.i) obj2).f8489a);
case 6:
return ((C0630g) obj).f8585b - ((C0630g) obj2).f8585b;
default:
return ((View) obj).getTop() - ((View) obj2).getTop();
}
}
}

View File

@@ -0,0 +1,461 @@
package A;
import C.M;
import G2.n;
import G2.o;
import O.X;
import a.AbstractC0105a;
import android.R;
import android.app.Activity;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.graphics.Typeface;
import android.os.Handler;
import android.os.Looper;
import android.os.Message;
import android.os.Parcelable;
import android.util.SparseArray;
import android.view.ActionMode;
import android.view.Menu;
import android.view.MenuItem;
import androidx.viewpager2.widget.ViewPager2;
import com.google.android.gms.common.ConnectionResult;
import d0.q;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Iterator;
import java.util.concurrent.atomic.AtomicInteger;
import k.AbstractC0405b;
import k.C0409f;
import k.InterfaceC0404a;
import kotlin.collections.ArrayDeque;
import kotlin.collections.CollectionsKt;
import kotlin.jvm.internal.Intrinsics;
import kotlinx.coroutines.BuildersKt;
import kotlinx.coroutines.CoroutineScope;
import kotlinx.coroutines.channels.Channel;
import kotlinx.coroutines.channels.ChannelResult;
import kotlinx.coroutines.channels.ClosedSendChannelException;
import l.MenuC0419B;
import l.m;
import l.t;
import o0.AbstractC0544v;
import o0.C0522B;
import o0.E;
import o0.G;
import o0.H;
/* loaded from: classes.dex */
public final class j implements InterfaceC0404a {
/* renamed from: e, reason: collision with root package name */
public static j f26e;
/* renamed from: a, reason: collision with root package name */
public Object f27a;
/* renamed from: b, reason: collision with root package name */
public Object f28b;
/* renamed from: c, reason: collision with root package name */
public Object f29c;
/* renamed from: d, reason: collision with root package name */
public Object f30d;
public j(AbstractC0544v navController) {
Intent launchIntentForPackage;
Intrinsics.checkNotNullParameter(navController, "navController");
Context context = navController.f8048a;
Intrinsics.checkNotNullParameter(context, "context");
this.f27a = context;
if (context instanceof Activity) {
launchIntentForPackage = new Intent(context, context.getClass());
} else {
launchIntentForPackage = context.getPackageManager().getLaunchIntentForPackage(context.getPackageName());
if (launchIntentForPackage == null) {
launchIntentForPackage = new Intent();
}
}
launchIntentForPackage.addFlags(268468224);
this.f28b = launchIntentForPackage;
this.f29c = new ArrayList();
this.f30d = navController.i();
}
public static j h() {
if (f26e == null) {
f26e = new j(3);
}
return f26e;
}
public boolean a(o oVar, int i) {
G2.g gVar = (G2.g) oVar.f627a.get();
if (gVar == null) {
return false;
}
((Handler) this.f28b).removeCallbacksAndMessages(oVar);
Handler handler = G2.k.f600y;
handler.sendMessage(handler.obtainMessage(1, i, 0, gVar.f584a));
return true;
}
public M b() {
H h = (H) this.f30d;
if (h == null) {
throw new IllegalStateException("You must call setGraph() before constructing the deep link");
}
ArrayList arrayList = (ArrayList) this.f29c;
if (arrayList.isEmpty()) {
throw new IllegalStateException("You must call setDestination() or addDestination() before constructing the deep link");
}
ArrayList arrayList2 = new ArrayList();
ArrayList<? extends Parcelable> arrayList3 = new ArrayList<>();
Iterator it = arrayList.iterator();
E e4 = null;
while (true) {
boolean hasNext = it.hasNext();
Context context = (Context) this.f27a;
int i = 0;
if (!hasNext) {
int[] s4 = CollectionsKt.s(arrayList2);
Intent intent = (Intent) this.f28b;
intent.putExtra("android-support-nav:controller:deepLinkIds", s4);
intent.putParcelableArrayListExtra("android-support-nav:controller:deepLinkArgs", arrayList3);
M m4 = new M(context);
Intent intent2 = new Intent(intent);
ComponentName component = intent2.getComponent();
if (component == null) {
component = intent2.resolveActivity(m4.f234b.getPackageManager());
}
if (component != null) {
m4.a(component);
}
ArrayList arrayList4 = m4.f233a;
arrayList4.add(intent2);
Intrinsics.checkNotNullExpressionValue(m4, "create(context)\n …rentStack(Intent(intent))");
int size = arrayList4.size();
while (i < size) {
Intent intent3 = (Intent) arrayList4.get(i);
if (intent3 != null) {
intent3.putExtra("android-support-nav:controller:deepLinkIntent", intent);
}
i++;
}
return m4;
}
C0522B c0522b = (C0522B) it.next();
int i4 = c0522b.f7909a;
E d4 = d(i4);
if (d4 == null) {
int i5 = E.f7919j;
throw new IllegalArgumentException("Navigation destination " + AbstractC0105a.x(context, i4) + " cannot be found in the navigation graph " + h);
}
int[] c4 = d4.c(e4);
int length = c4.length;
while (i < length) {
arrayList2.add(Integer.valueOf(c4[i]));
arrayList3.add(c0522b.f7910b);
i++;
}
e4 = d4;
}
}
public void c(Object obj, ArrayList arrayList, HashSet hashSet) {
if (arrayList.contains(obj)) {
return;
}
if (hashSet.contains(obj)) {
throw new RuntimeException("This graph contains cyclic dependencies");
}
hashSet.add(obj);
ArrayList arrayList2 = (ArrayList) ((s.j) this.f28b).get(obj);
if (arrayList2 != null) {
int size = arrayList2.size();
for (int i = 0; i < size; i++) {
c(arrayList2.get(i), arrayList, hashSet);
}
}
hashSet.remove(obj);
arrayList.add(obj);
}
public E d(int i) {
ArrayDeque arrayDeque = new ArrayDeque();
H h = (H) this.f30d;
Intrinsics.checkNotNull(h);
arrayDeque.add(h);
while (!arrayDeque.isEmpty()) {
E e4 = (E) arrayDeque.removeFirst();
if (e4.h == i) {
return e4;
}
if (e4 instanceof H) {
G g4 = new G((H) e4);
while (g4.hasNext()) {
arrayDeque.add((E) g4.next());
}
}
}
return null;
}
@Override // k.InterfaceC0404a
public boolean e(AbstractC0405b abstractC0405b, MenuItem menuItem) {
return ((ActionMode.Callback) this.f27a).onActionItemClicked(g(abstractC0405b), new t((Context) this.f30d, (I.a) menuItem));
}
@Override // k.InterfaceC0404a
public boolean f(AbstractC0405b abstractC0405b, m mVar) {
C0409f g4 = g(abstractC0405b);
s.j jVar = (s.j) this.f28b;
Menu menu = (Menu) jVar.get(mVar);
if (menu == null) {
menu = new MenuC0419B((Context) this.f30d, mVar);
jVar.put(mVar, menu);
}
return ((ActionMode.Callback) this.f27a).onPrepareActionMode(g4, menu);
}
public C0409f g(AbstractC0405b abstractC0405b) {
ArrayList arrayList = (ArrayList) this.f29c;
int size = arrayList.size();
for (int i = 0; i < size; i++) {
C0409f c0409f = (C0409f) arrayList.get(i);
if (c0409f != null && c0409f.f6969b == abstractC0405b) {
return c0409f;
}
}
C0409f c0409f2 = new C0409f((Context) this.f30d, abstractC0405b);
arrayList.add(c0409f2);
return c0409f2;
}
@Override // k.InterfaceC0404a
public boolean i(AbstractC0405b abstractC0405b, m mVar) {
C0409f g4 = g(abstractC0405b);
s.j jVar = (s.j) this.f28b;
Menu menu = (Menu) jVar.get(mVar);
if (menu == null) {
menu = new MenuC0419B((Context) this.f30d, mVar);
jVar.put(mVar, menu);
}
return ((ActionMode.Callback) this.f27a).onCreateActionMode(g4, menu);
}
@Override // k.InterfaceC0404a
public void j(AbstractC0405b abstractC0405b) {
((ActionMode.Callback) this.f27a).onDestroyActionMode(g(abstractC0405b));
}
public boolean k(G2.g gVar) {
o oVar = (o) this.f29c;
return (oVar == null || gVar == null || oVar.f627a.get() != gVar) ? false : true;
}
public void l(Y.m mVar) {
Object mo1630trySendJP2dKIU = ((Channel) this.f29c).mo1630trySendJP2dKIU(mVar);
if (mo1630trySendJP2dKIU instanceof ChannelResult.Closed) {
Throwable m1644exceptionOrNullimpl = ChannelResult.m1644exceptionOrNullimpl(mo1630trySendJP2dKIU);
if (m1644exceptionOrNullimpl != null) {
throw m1644exceptionOrNullimpl;
}
throw new ClosedSendChannelException("Channel was closed normally");
}
if (!ChannelResult.m1650isSuccessimpl(mo1630trySendJP2dKIU)) {
throw new IllegalStateException("Check failed.");
}
if (((AtomicInteger) this.f30d).getAndIncrement() == 0) {
BuildersKt.launch$default((CoroutineScope) this.f27a, null, null, new Y.j(this, null), 3, null);
}
}
public void m(G2.g gVar) {
synchronized (this.f27a) {
try {
if (k(gVar)) {
o oVar = (o) this.f29c;
if (!oVar.f629c) {
oVar.f629c = true;
((Handler) this.f28b).removeCallbacksAndMessages(oVar);
}
}
} catch (Throwable th) {
throw th;
}
}
}
public void n(G2.g gVar) {
synchronized (this.f27a) {
try {
if (k(gVar)) {
o oVar = (o) this.f29c;
if (oVar.f629c) {
oVar.f629c = false;
o(oVar);
}
}
} catch (Throwable th) {
throw th;
}
}
}
public void o(o oVar) {
int i = oVar.f628b;
if (i == -2) {
return;
}
if (i <= 0) {
i = i == -1 ? ConnectionResult.DRIVE_EXTERNAL_STORAGE_REQUIRED : 2750;
}
Handler handler = (Handler) this.f28b;
handler.removeCallbacksAndMessages(oVar);
handler.sendMessageDelayed(Message.obtain(handler, 0, oVar), i);
}
public void p() {
o oVar = (o) this.f30d;
if (oVar != null) {
this.f29c = oVar;
this.f30d = null;
G2.g gVar = (G2.g) oVar.f627a.get();
if (gVar == null) {
this.f29c = null;
} else {
Handler handler = G2.k.f600y;
handler.sendMessage(handler.obtainMessage(0, gVar.f584a));
}
}
}
public void q() {
int itemCount;
ViewPager2 viewPager2 = (ViewPager2) this.f30d;
int i = R.id.accessibilityActionPageLeft;
X.h(viewPager2, R.id.accessibilityActionPageLeft);
X.e(viewPager2, 0);
X.h(viewPager2, R.id.accessibilityActionPageRight);
X.e(viewPager2, 0);
X.h(viewPager2, R.id.accessibilityActionPageUp);
X.e(viewPager2, 0);
X.h(viewPager2, R.id.accessibilityActionPageDown);
X.e(viewPager2, 0);
if (viewPager2.getAdapter() == null || (itemCount = viewPager2.getAdapter().getItemCount()) == 0 || !viewPager2.f4092r) {
return;
}
int orientation = viewPager2.getOrientation();
H0.k kVar = (H0.k) this.f28b;
H0.k kVar2 = (H0.k) this.f27a;
if (orientation != 0) {
if (viewPager2.f4081d < itemCount - 1) {
X.i(viewPager2, new P.f(R.id.accessibilityActionPageDown), kVar2);
}
if (viewPager2.f4081d > 0) {
X.i(viewPager2, new P.f(R.id.accessibilityActionPageUp), kVar);
return;
}
return;
}
boolean z3 = viewPager2.f4084g.G() == 1;
int i4 = z3 ? 16908360 : 16908361;
if (z3) {
i = 16908361;
}
if (viewPager2.f4081d < itemCount - 1) {
X.i(viewPager2, new P.f(i4), kVar2);
}
if (viewPager2.f4081d > 0) {
X.i(viewPager2, new P.f(i), kVar);
}
}
public void r() {
Iterator it = ((ArrayList) this.f29c).iterator();
while (it.hasNext()) {
int i = ((C0522B) it.next()).f7909a;
if (d(i) == null) {
int i4 = E.f7919j;
StringBuilder p = com.google.android.gms.measurement.internal.a.p("Navigation destination ", AbstractC0105a.x((Context) this.f27a, i), " cannot be found in the navigation graph ");
p.append((H) this.f30d);
throw new IllegalArgumentException(p.toString());
}
}
}
public j(int i) {
switch (i) {
case 1:
this.f27a = new s.j(0);
this.f28b = new SparseArray();
this.f29c = new s.g();
this.f30d = new s.j(0);
return;
case 2:
default:
this.f27a = new N.c(10);
this.f28b = new s.j(0);
this.f29c = new ArrayList();
this.f30d = new HashSet();
return;
case 3:
this.f27a = new Object();
this.f28b = new Handler(Looper.getMainLooper(), new n(this));
return;
}
}
public j(Typeface typeface, e0.b bVar) {
int i;
int i4;
int i5;
int i6;
this.f30d = typeface;
this.f27a = bVar;
this.f29c = new q(1024);
int a2 = bVar.a(6);
if (a2 != 0) {
int i7 = a2 + bVar.f1218a;
i = ((ByteBuffer) bVar.f1221d).getInt(((ByteBuffer) bVar.f1221d).getInt(i7) + i7);
} else {
i = 0;
}
this.f28b = new char[i * 2];
int a4 = bVar.a(6);
if (a4 != 0) {
int i8 = a4 + bVar.f1218a;
i4 = ((ByteBuffer) bVar.f1221d).getInt(((ByteBuffer) bVar.f1221d).getInt(i8) + i8);
} else {
i4 = 0;
}
for (int i9 = 0; i9 < i4; i9++) {
d0.t tVar = new d0.t(this, i9);
e0.a b4 = tVar.b();
int a5 = b4.a(4);
Character.toChars(a5 != 0 ? ((ByteBuffer) b4.f1221d).getInt(a5 + b4.f1218a) : 0, (char[]) this.f28b, i9 * 2);
e0.a b5 = tVar.b();
int a6 = b5.a(16);
if (a6 != 0) {
int i10 = a6 + b5.f1218a;
i5 = ((ByteBuffer) b5.f1221d).getInt(((ByteBuffer) b5.f1221d).getInt(i10) + i10);
} else {
i5 = 0;
}
m3.d.f(i5 > 0, "invalid metadata codepoint length");
e0.a b6 = tVar.b();
int a7 = b6.a(16);
if (a7 != 0) {
int i11 = a7 + b6.f1218a;
i6 = ((ByteBuffer) b6.f1221d).getInt(((ByteBuffer) b6.f1221d).getInt(i11) + i11);
} else {
i6 = 0;
}
((q) this.f29c).a(tVar, 0, i6 - 1);
}
}
}

View File

@@ -0,0 +1,28 @@
package A;
import android.graphics.Matrix;
import android.view.View;
import androidx.coordinatorlayout.widget.CoordinatorLayout;
/* loaded from: classes.dex */
public abstract class k {
/* renamed from: a, reason: collision with root package name */
public static final ThreadLocal f31a = new ThreadLocal();
/* renamed from: b, reason: collision with root package name */
public static final ThreadLocal f32b = new ThreadLocal();
public static void a(CoordinatorLayout coordinatorLayout, View view, Matrix matrix) {
Object parent = view.getParent();
if ((parent instanceof View) && parent != coordinatorLayout) {
a(coordinatorLayout, (View) parent, matrix);
matrix.preTranslate(-r0.getScrollX(), -r0.getScrollY());
}
matrix.preTranslate(view.getLeft(), view.getTop());
if (view.getMatrix().isIdentity()) {
return;
}
matrix.preConcat(view.getMatrix());
}
}