X-plore v4.37.09版本的 MD5 值为:1ac588cd7c13e9578c2d4266387e2f4f
以下内容为反编译后的 b.java 源代码,内容仅作参考
package com.lonelycatgames.Xplore.auth;
import F7.C1160d;
import F7.v;
import F7.x;
import H7.AbstractC1204h;
import H7.C1191a0;
import H7.L;
import W7.C1533e;
import Y5.QIb.FKYtKvr;
import android.accounts.Account;
import android.accounts.AccountManager;
import android.net.Uri;
import android.os.NetworkOnMainThreadException;
import com.lonelycatgames.Xplore.App;
import com.lonelycatgames.Xplore.auth.a;
import com.lonelycatgames.Xplore.ui.Preferences;
import h7.AbstractC6732u;
import h7.AbstractC6736y;
import h7.C6709J;
import h7.C6730s;
import i7.AbstractC6842t;
import i7.AbstractC6843u;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.net.HttpURLConnection;
import java.net.SocketTimeoutException;
import java.net.URL;
import java.net.URLConnection;
import java.util.ArrayList;
import java.util.List;
import java.util.Locale;
import java.util.Set;
import m7.InterfaceC7068d;
import o7.AbstractC7126b;
import o7.AbstractC7128d;
import o7.AbstractC7136l;
import t7.n;
import t8.qR.bsqJLVh;
import v7.l;
import v7.p;
import w4.AbstractC7721i;
import w7.AbstractC7771k;
import w7.AbstractC7780t;
import w7.AbstractC7781u;
public final class b {
private static Uri f45759b;
private static App f45761d;
private static AccountManager f45762e;
private static Y6.b f45763f;
public static final b f45758a = new b();
private static final int f45760c = 30000;
public static final int f45764g = 8;
public static final class a {
private final String f45765a;
private final String f45766b;
private final boolean f45767c;
private final l f45768d;
private final Integer f45769e;
private final Object f45770f;
private final List f45771g;
private final List f45772h;
public a(String str, String str2, boolean z8, l lVar, Integer num, Object obj, List list, List list2) {
AbstractC7780t.f(str, "cmd");
this.f45765a = str;
this.f45766b = str2;
this.f45767c = z8;
this.f45768d = lVar;
this.f45769e = num;
this.f45770f = obj;
this.f45771g = list;
this.f45772h = list2;
}
public final String a() {
return this.f45765a;
}
public final List b() {
return this.f45772h;
}
public final l c() {
return this.f45768d;
}
public final String d() {
return this.f45766b;
}
public final Integer e() {
return this.f45769e;
}
public final Object f() {
return this.f45770f;
}
public final List g() {
return this.f45771g;
}
public final boolean h() {
return this.f45767c;
}
}
public static class C0639b extends Exception {
private final int f45773a;
public C0639b(int i9, String str) {
super(str);
AbstractC7780t.f(str, "message");
this.f45773a = i9;
}
public final int a() {
return this.f45773a;
}
}
public static final class c {
private final String f45774a;
private final String f45775b;
private final String f45776c;
public c(String str, String str2, String str3) {
AbstractC7780t.f(str, "email");
this.f45774a = str;
this.f45775b = str2;
this.f45776c = str3;
}
public c(String str, String str2, String str3, int i9, AbstractC7771k abstractC7771k) {
this(str, (i9 & 2) != 0 ? null : str2, (i9 & 4) != 0 ? null : str3);
}
public final String a() {
return this.f45774a;
}
public final String b() {
return this.f45776c;
}
public final String c() {
return this.f45775b;
}
}
public static final class d extends C0639b {
public d(String str) {
super(401, str == null ? "Unauthorized" : str);
}
}
public static final class e extends AbstractC7781u implements l {
public static final e f45777b = new e();
e() {
super(1);
}
@Override
public final String h(HttpURLConnection httpURLConnection) {
AbstractC7780t.f(httpURLConnection, "$this$apiCall1");
InputStream inputStream = httpURLConnection.getInputStream();
AbstractC7780t.e(inputStream, "getInputStream(...)");
return n.c(new InputStreamReader(inputStream, C1160d.f4033b));
}
}
public static final class f extends AbstractC7136l implements p {
final URL f45778E;
final String f45779F;
final Uri f45780G;
final a f45781H;
final l f45782I;
final int f45783J;
int f45784e;
f(URL url, String str, Uri uri, a aVar, l lVar, int i9, InterfaceC7068d interfaceC7068d) {
super(2, interfaceC7068d);
this.f45778E = url;
this.f45779F = str;
this.f45780G = uri;
this.f45781H = aVar;
this.f45782I = lVar;
this.f45783J = i9;
}
@Override
public final Object r(L l9, InterfaceC7068d interfaceC7068d) {
return ((f) u(l9, interfaceC7068d)).z(C6709J.f49946a);
}
@Override
public final InterfaceC7068d u(Object obj, InterfaceC7068d interfaceC7068d) {
return new f(this.f45778E, this.f45779F, this.f45780G, this.f45781H, this.f45782I, this.f45783J, interfaceC7068d);
}
@Override
public final Object z(Object obj) {
String responseMessage;
boolean y02;
String a9;
n7.d.f();
if (this.f45784e != 0) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
}
AbstractC6732u.b(obj);
URLConnection openConnection = this.f45778E.openConnection();
AbstractC7780t.d(openConnection, "null cannot be cast to non-null type java.net.HttpURLConnection");
HttpURLConnection httpURLConnection = (HttpURLConnection) openConnection;
int i9 = this.f45783J;
a aVar = this.f45781H;
httpURLConnection.setConnectTimeout(i9);
httpURLConnection.setReadTimeout(i9);
if (aVar.h()) {
Y6.b bVar = b.f45763f;
if (bVar == null || (a9 = bVar.a()) == null) {
throw new IOException("User not logged in");
}
httpURLConnection.setRequestProperty("Authorization", "Bearer " + a9);
}
List<C6730s> b9 = aVar.b();
if (b9 != null) {
for (C6730s c6730s : b9) {
httpURLConnection.setRequestProperty((String) c6730s.a(), (String) c6730s.b());
}
}
App app = b.f45761d;
if (app == null) {
AbstractC7780t.r("app");
app = null;
}
httpURLConnection.setRequestProperty("deviceId", t6.k.I0(AbstractC7126b.d(app.q0())));
String d9 = aVar.d();
if (d9 != null) {
httpURLConnection.setRequestMethod(d9);
}
l c9 = aVar.c();
if (c9 != null) {
c9.h(httpURLConnection);
}
try {
try {
try {
try {
Object f9 = this.f45781H.f();
if (f9 != null) {
httpURLConnection.setRequestProperty("Content-type", "application/json; charset=utf-8");
if (!(f9 instanceof String)) {
throw new IllegalStateException("Invalid post data".toString());
}
byte[] bytes = ((String) f9).getBytes(C1160d.f4033b);
AbstractC7780t.e(bytes, "getBytes(...)");
httpURLConnection.setRequestProperty("Content-length", String.valueOf(bytes.length));
OutputStream outputStream = httpURLConnection.getOutputStream();
try {
outputStream.write(bytes);
C6709J c6709j = C6709J.f49946a;
t7.c.a(outputStream, null);
} finally {
}
}
return this.f45782I.h(httpURLConnection);
} catch (SocketTimeoutException e9) {
throw e9;
}
} catch (NetworkOnMainThreadException e10) {
throw e10;
}
} catch (Exception e11) {
int responseCode = httpURLConnection.getResponseCode();
App.f43875F0.v("api err " + t6.k.Q(e11));
if (responseCode == 401) {
b.f45758a.h();
throw new d(httpURLConnection.getResponseMessage());
}
if (responseCode != 404) {
try {
InputStream errorStream = httpURLConnection.getErrorStream();
AbstractC7780t.e(errorStream, "getErrorStream(...)");
String o02 = t6.k.o0(errorStream);
y02 = x.y0(o02, '{', false, 2, null);
if (y02) {
X7.b N8 = t6.k.N();
N8.a();
responseMessage = ((Y6.a) N8.c(Y6.a.Companion.serializer(), o02)).a();
} else {
responseMessage = httpURLConnection.getResponseMessage();
}
} catch (Exception unused) {
responseMessage = httpURLConnection.getResponseMessage();
}
} else {
responseMessage = "API not implemented";
}
AbstractC7780t.c(responseMessage);
throw new C0639b(responseCode, responseMessage);
}
} finally {
httpURLConnection.disconnect();
}
}
}
public static final class g extends AbstractC7128d {
int f45785E;
Object f45786d;
g(InterfaceC7068d interfaceC7068d) {
super(interfaceC7068d);
}
@Override
public final Object z(Object obj) {
this.f45786d = obj;
this.f45785E |= Integer.MIN_VALUE;
return b.this.f(this);
}
}
public static final class h extends AbstractC7128d {
int f45788E;
Object f45789d;
h(InterfaceC7068d interfaceC7068d) {
super(interfaceC7068d);
}
@Override
public final Object z(Object obj) {
this.f45789d = obj;
this.f45788E |= Integer.MIN_VALUE;
return b.this.t(this);
}
}
public static final class i extends AbstractC7128d {
int f45791E;
Object f45792d;
i(InterfaceC7068d interfaceC7068d) {
super(interfaceC7068d);
}
@Override
public final Object z(Object obj) {
this.f45792d = obj;
this.f45791E |= Integer.MIN_VALUE;
return b.this.u(this);
}
}
public static final class j extends AbstractC7128d {
int f45794E;
Object f45795d;
j(InterfaceC7068d interfaceC7068d) {
super(interfaceC7068d);
}
@Override
public final Object z(Object obj) {
this.f45795d = obj;
this.f45794E |= Integer.MIN_VALUE;
return b.this.v(null, this);
}
}
public static final class k extends AbstractC7128d {
int f45797E;
Object f45798d;
k(InterfaceC7068d interfaceC7068d) {
super(interfaceC7068d);
}
@Override
public final Object z(Object obj) {
this.f45798d = obj;
this.f45797E |= Integer.MIN_VALUE;
return b.this.y(null, this);
}
}
private b() {
}
public static Object d(b bVar, String str, String str2, boolean z8, Integer num, Object obj, List list, List list2, l lVar, InterfaceC7068d interfaceC7068d, int i9, Object obj2) {
return bVar.c(str, (i9 & 2) != 0 ? null : str2, (i9 & 4) != 0 ? true : z8, (i9 & 8) != 0 ? null : num, (i9 & 16) != 0 ? null : obj, (i9 & 32) != 0 ? null : list, (i9 & 64) != 0 ? null : list2, (i9 & 128) != 0 ? null : lVar, interfaceC7068d);
}
private final C6730s j() {
return AbstractC6736y.a("language", k());
}
private final String k() {
Locale locale = Locale.getDefault();
String language = locale.getLanguage();
Set keySet = Preferences.f46968g0.b().keySet();
StringBuilder sb = new StringBuilder();
sb.append(language);
sb.append('-');
String country = locale.getCountry();
AbstractC7780t.e(country, "getCountry(...)");
String lowerCase = country.toLowerCase(Locale.ROOT);
AbstractC7780t.e(lowerCase, "toLowerCase(...)");
sb.append(lowerCase);
String sb2 = sb.toString();
if (keySet.contains(sb2)) {
language = sb2;
} else if (!keySet.contains(language)) {
language = "en";
}
AbstractC7780t.e(language, "let(...)");
return language;
}
private final void m() {
Uri.Builder buildUpon = Uri.parse("https://xplore.lonelycatgames.com").buildUpon();
buildUpon.path("api");
Uri build = buildUpon.build();
AbstractC7780t.e(build, "build(...)");
f45759b = build;
}
public final Object c(String str, String str2, boolean z8, Integer num, Object obj, List list, List list2, l lVar, InterfaceC7068d interfaceC7068d) {
return e(str, str2, z8, num, obj, list, list2, e.f45777b, lVar, interfaceC7068d);
}
public final Object e(String str, String str2, boolean z8, Integer num, Object obj, List list, List list2, l lVar, l lVar2, InterfaceC7068d interfaceC7068d) {
a aVar = new a(str, str2, z8, lVar2, num, obj, list, list2);
Uri uri = f45759b;
if (uri == null) {
AbstractC7780t.r("apiUri");
uri = null;
}
Uri.Builder appendEncodedPath = uri.buildUpon().appendEncodedPath(aVar.a());
List<C6730s> g9 = aVar.g();
if (g9 != null) {
for (C6730s c6730s : g9) {
appendEncodedPath.appendQueryParameter((String) c6730s.a(), c6730s.b().toString());
}
}
Uri build = appendEncodedPath.build();
URL url = new URL(build.toString());
Integer e9 = aVar.e();
return AbstractC1204h.g(C1191a0.b(), new f(url, str2, build, aVar, lVar, e9 != null ? e9.intValue() : f45760c, null), interfaceC7068d);
}
public final Object f(InterfaceC7068d interfaceC7068d) {
g gVar;
Object f9;
int i9;
if (interfaceC7068d instanceof g) {
gVar = (g) interfaceC7068d;
int i10 = gVar.f45785E;
if ((i10 & Integer.MIN_VALUE) != 0) {
gVar.f45785E = i10 - Integer.MIN_VALUE;
g gVar2 = gVar;
Object obj = gVar2.f45786d;
f9 = n7.d.f();
i9 = gVar2.f45785E;
if (i9 != 0) {
AbstractC6732u.b(obj);
gVar2.f45785E = 1;
int i11 = 4 ^ 0;
obj = d(this, "backup/purchases", null, false, null, null, null, null, null, gVar2, 250, null);
if (obj == f9) {
return f9;
}
} else {
if (i9 != 1) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
}
AbstractC6732u.b(obj);
}
X7.b N8 = t6.k.N();
N8.a();
return N8.c(new C1533e(Y6.d.Companion.serializer()), (String) obj);
}
}
gVar = new g(interfaceC7068d);
g gVar22 = gVar;
Object obj2 = gVar22.f45786d;
f9 = n7.d.f();
i9 = gVar22.f45785E;
if (i9 != 0) {
}
X7.b N82 = t6.k.N();
N82.a();
return N82.c(new C1533e(Y6.d.Companion.serializer()), (String) obj2);
}
public final Object g(Y6.e eVar, InterfaceC7068d interfaceC7068d) {
Object f9;
X7.b O8 = t6.k.O();
O8.a();
Object d9 = d(this, "backup/purchases", "POST", false, null, O8.b(Y6.e.Companion.serializer(), eVar), null, null, null, interfaceC7068d, 232, null);
f9 = n7.d.f();
return d9 == f9 ? d9 : C6709J.f49946a;
}
public final void h() {
Y6.b bVar = f45763f;
if (bVar != null) {
AccountManager accountManager = f45762e;
if (accountManager == null) {
AbstractC7780t.r("am");
accountManager = null;
}
accountManager.invalidateAuthToken("com.lonelycatgames.Xplore", bVar.a());
}
f45763f = null;
}
public final boolean i() {
if (f45763f != null) {
a.C0637a c0637a = com.lonelycatgames.Xplore.auth.a.f45749c;
AccountManager accountManager = f45762e;
if (accountManager == null) {
AbstractC7780t.r("am");
accountManager = null;
}
if (c0637a.b(accountManager) == null) {
App.f43875F0.o("Forget API tokens");
h();
}
}
return f45763f != null;
}
public final void l(App app) {
AbstractC7780t.f(app, "app");
f45761d = app;
AccountManager accountManager = AccountManager.get(app);
AbstractC7780t.e(accountManager, "get(...)");
f45762e = accountManager;
m();
a.C0637a c0637a = com.lonelycatgames.Xplore.auth.a.f45749c;
AccountManager accountManager2 = f45762e;
AccountManager accountManager3 = null;
if (accountManager2 == null) {
AbstractC7780t.r("am");
accountManager2 = null;
}
Account b9 = c0637a.b(accountManager2);
if (b9 != null) {
b bVar = f45758a;
AccountManager accountManager4 = f45762e;
if (accountManager4 == null) {
AbstractC7780t.r("am");
} else {
accountManager3 = accountManager4;
}
bVar.p(accountManager3, b9);
}
}
public final Object n(String str, InterfaceC7068d interfaceC7068d) {
List e9;
Object f9;
e9 = AbstractC6842t.e(j());
Object d9 = d(this, "notification/token", "POST", false, null, "gms:" + str, null, e9, null, interfaceC7068d, 168, null);
f9 = n7.d.f();
return d9 == f9 ? d9 : C6709J.f49946a;
}
public final void o(Y6.b bVar) {
AbstractC7780t.f(bVar, "t");
h();
f45763f = bVar;
}
public final void p(AccountManager accountManager, Account account) {
int i9;
Integer l9;
AbstractC7780t.f(accountManager, "am");
AbstractC7780t.f(account, "acc");
String peekAuthToken = accountManager.peekAuthToken(account, bsqJLVh.aWHWhDLy);
if (peekAuthToken != null) {
String userData = accountManager.getUserData(account, FKYtKvr.tytE);
if (userData != null) {
AbstractC7780t.c(userData);
l9 = v.l(userData);
if (l9 != null) {
i9 = l9.intValue();
f45763f = new Y6.b(peekAuthToken, i9);
}
}
i9 = 0;
f45763f = new Y6.b(peekAuthToken, i9);
}
}
public final Object q(String str, String str2, InterfaceC7068d interfaceC7068d) {
List o9;
C6730s[] c6730sArr = new C6730s[2];
c6730sArr[0] = str != null ? AbstractC6736y.a("old", AbstractC7721i.z(str)) : null;
c6730sArr[1] = AbstractC6736y.a("new", AbstractC7721i.z(str2));
o9 = AbstractC6843u.o(c6730sArr);
return d(this, "user/password", "PUT", false, null, null, o9, null, null, interfaceC7068d, 220, null);
}
public final Object r(InterfaceC7068d interfaceC7068d) {
return d(this, "user/confirm/email", "POST", false, null, null, null, null, null, interfaceC7068d, 252, null);
}
public final Object s(InterfaceC7068d interfaceC7068d) {
Object f9;
Object d9 = d(this, "user", "DELETE", false, null, null, null, null, null, interfaceC7068d, 252, null);
f9 = n7.d.f();
return d9 == f9 ? d9 : C6709J.f49946a;
}
public final Object t(InterfaceC7068d interfaceC7068d) {
h hVar;
Object f9;
int i9;
if (interfaceC7068d instanceof h) {
hVar = (h) interfaceC7068d;
int i10 = hVar.f45788E;
if ((i10 & Integer.MIN_VALUE) != 0) {
hVar.f45788E = i10 - Integer.MIN_VALUE;
h hVar2 = hVar;
Object obj = hVar2.f45789d;
f9 = n7.d.f();
i9 = hVar2.f45788E;
if (i9 != 0) {
AbstractC6732u.b(obj);
hVar2.f45788E = 1;
obj = d(this, "user", null, false, null, null, null, null, null, hVar2, 254, null);
if (obj == f9) {
return f9;
}
} else {
if (i9 != 1) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
}
AbstractC6732u.b(obj);
}
X7.b N8 = t6.k.N();
N8.a();
return N8.c(Y6.g.Companion.serializer(), (String) obj);
}
}
hVar = new h(interfaceC7068d);
h hVar22 = hVar;
Object obj2 = hVar22.f45789d;
f9 = n7.d.f();
i9 = hVar22.f45788E;
if (i9 != 0) {
}
X7.b N82 = t6.k.N();
N82.a();
return N82.c(Y6.g.Companion.serializer(), (String) obj2);
}
public final Object u(InterfaceC7068d interfaceC7068d) {
i iVar;
Object f9;
int i9;
if (interfaceC7068d instanceof i) {
iVar = (i) interfaceC7068d;
int i10 = iVar.f45791E;
if ((i10 & Integer.MIN_VALUE) != 0) {
iVar.f45791E = i10 - Integer.MIN_VALUE;
i iVar2 = iVar;
Object obj = iVar2.f45792d;
f9 = n7.d.f();
i9 = iVar2.f45791E;
if (i9 != 0) {
AbstractC6732u.b(obj);
iVar2.f45791E = 1;
int i11 = (0 | 0) << 0;
obj = d(this, "user/purchases", null, false, null, null, null, null, null, iVar2, 254, null);
if (obj == f9) {
return f9;
}
} else {
if (i9 != 1) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
}
AbstractC6732u.b(obj);
}
X7.b N8 = t6.k.N();
N8.a();
return N8.c(new C1533e(Y6.d.Companion.serializer()), (String) obj);
}
}
iVar = new i(interfaceC7068d);
i iVar22 = iVar;
Object obj2 = iVar22.f45792d;
f9 = n7.d.f();
i9 = iVar22.f45791E;
if (i9 != 0) {
}
X7.b N82 = t6.k.N();
N82.a();
return N82.c(new C1533e(Y6.d.Companion.serializer()), (String) obj2);
}
public final Object v(c cVar, InterfaceC7068d interfaceC7068d) {
j jVar;
Object f9;
int i9;
List p9;
C6730s a9;
List n9;
if (interfaceC7068d instanceof j) {
jVar = (j) interfaceC7068d;
int i10 = jVar.f45794E;
if ((i10 & Integer.MIN_VALUE) != 0) {
jVar.f45794E = i10 - Integer.MIN_VALUE;
j jVar2 = jVar;
Object obj = jVar2.f45795d;
f9 = n7.d.f();
i9 = jVar2.f45794E;
if (i9 != 0) {
AbstractC6732u.b(obj);
if (cVar.c() != null) {
n9 = AbstractC6843u.n(AbstractC6736y.a("email", cVar.a()), AbstractC6736y.a("password", AbstractC7721i.z(cVar.c())));
a9 = AbstractC6736y.a(n9, new ArrayList());
} else {
if (cVar.b() == null) {
throw new IllegalStateException("Bad login data".toString());
}
p9 = AbstractC6843u.p(AbstractC6736y.a("googleToken", cVar.b()));
a9 = AbstractC6736y.a(null, p9);
}
List list = (List) a9.a();
List list2 = (List) a9.b();
list2.add(j());
jVar2.f45794E = 1;
obj = d(this, "user/login", "POST", false, null, null, list, list2, null, jVar2, 152, null);
if (obj == f9) {
return f9;
}
} else {
if (i9 != 1) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
}
AbstractC6732u.b(obj);
}
X7.b N8 = t6.k.N();
N8.a();
return N8.c(Y6.b.Companion.serializer(), (String) obj);
}
}
jVar = new j(interfaceC7068d);
j jVar22 = jVar;
Object obj2 = jVar22.f45795d;
f9 = n7.d.f();
i9 = jVar22.f45794E;
if (i9 != 0) {
}
X7.b N82 = t6.k.N();
N82.a();
return N82.c(Y6.b.Companion.serializer(), (String) obj2);
}
public final Object w(String str, InterfaceC7068d interfaceC7068d) {
List e9;
List e10;
e9 = AbstractC6842t.e(AbstractC6736y.a("email", str));
e10 = AbstractC6842t.e(j());
int i9 = (2 & 0) | 0;
return d(this, "user/password/reset", "POST", false, null, null, e9, e10, null, interfaceC7068d, 152, null);
}
public final Object x(Y6.e eVar, InterfaceC7068d interfaceC7068d) {
Object f9;
X7.b O8 = t6.k.O();
O8.a();
Object d9 = d(this, "user/purchases", "POST", false, null, O8.b(Y6.e.Companion.serializer(), eVar), null, null, null, interfaceC7068d, 236, null);
f9 = n7.d.f();
return d9 == f9 ? d9 : C6709J.f49946a;
}
public final Object y(c cVar, InterfaceC7068d interfaceC7068d) {
k kVar;
Object f9;
int i9;
List n9;
List e9;
if (interfaceC7068d instanceof k) {
kVar = (k) interfaceC7068d;
int i10 = kVar.f45797E;
if ((i10 & Integer.MIN_VALUE) != 0) {
kVar.f45797E = i10 - Integer.MIN_VALUE;
k kVar2 = kVar;
Object obj = kVar2.f45798d;
f9 = n7.d.f();
i9 = kVar2.f45797E;
if (i9 != 0) {
AbstractC6732u.b(obj);
C6730s a9 = AbstractC6736y.a("email", cVar.a());
String c9 = cVar.c();
AbstractC7780t.c(c9);
n9 = AbstractC6843u.n(a9, AbstractC6736y.a("password", AbstractC7721i.z(c9)));
e9 = AbstractC6842t.e(j());
kVar2.f45797E = 1;
obj = d(this, "user/register", "POST", false, null, null, n9, e9, null, kVar2, 152, null);
if (obj == f9) {
return f9;
}
} else {
if (i9 != 1) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
}
AbstractC6732u.b(obj);
}
X7.b N8 = t6.k.N();
N8.a();
return N8.c(Y6.b.Companion.serializer(), (String) obj);
}
}
kVar = new k(interfaceC7068d);
k kVar22 = kVar;
Object obj2 = kVar22.f45798d;
f9 = n7.d.f();
i9 = kVar22.f45797E;
if (i9 != 0) {
}
X7.b N82 = t6.k.N();
N82.a();
return N82.c(Y6.b.Companion.serializer(), (String) obj2);
}
}