正在查看: Bhakti v5.4.0 应用的 e.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Bhakti v5.4.0 应用的 e.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package Xb;
import B0.N;
import B0.u;
import Ck.q;
import Ck.r;
import Ed.kcXh.UGAElDSWVInPx;
import H.s0;
import Kp.H;
import L.n0;
import L.p0;
import L.u0;
import L.w0;
import N.E;
import N.s;
import Np.D0;
import O.D;
import X.o;
import android.content.Context;
import android.content.res.Configuration;
import android.content.res.Resources;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.os.IBinder;
import android.os.Parcelable;
import android.text.TextUtils;
import android.util.JsonReader;
import android.util.JsonToken;
import android.util.JsonWriter;
import android.util.Log;
import android.util.Size;
import android.util.SizeF;
import android.util.TypedValue;
import android.view.inputmethod.HandwritingGesture;
import androidx.activity.ComponentActivity;
import androidx.compose.foundation.AndroidEdgeEffectOverscrollEffect;
import androidx.compose.foundation.layout.LayoutWeightElement;
import androidx.compose.ui.platform.AndroidCompositionLocals_androidKt;
import androidx.media3.ui.PlayerView;
import b3.A;
import b3.B;
import b3.C;
import b3.G;
import b3.I;
import b3.v;
import b3.x;
import b3.z;
import bm.I0;
import cc.B0;
import cc.U;
import cc.Y;
import com.google.android.gms.internal.ads.zzfaz;
import com.razorpay.m;
import com.razorpay.y;
import com.vlv.aravali.common.models.ImageSize;
import com.vlv.aravali.common.models.Show;
import com.vlv.aravali.common.models.SocialProofingReview;
import com.vlv.aravali.model.HomeDataItem;
import com.vlv.aravali.payments.common.data.SubscriptionMeta;
import com.vlv.aravali.playerMedia3.service.MediaItemContainer;
import d1.S;
import d1.T;
import e0.K0;
import e0.c3;
import easypay.appinvoke.manager.Constants;
import h0.F;
import h0.V;
import h0.Z;
import h0.a0;
import h0.a1;
import h0.f0;
import h0.i0;
import h0.k;
import h0.l;
import h0.m0;
import h0.p;
import h0.q0;
import h0.r0;
import i1.w;
import j$.util.DesugarCollections;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.Serializable;
import java.io.StringWriter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.CopyOnWriteArraySet;
import kotlin.Pair;
import kotlin.Unit;
import kotlin.coroutines.CoroutineContext;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.functions.Function2;
import kotlin.jvm.internal.Intrinsics;
import kotlin.text.StringsKt;
import mp.t;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import q5.n;
import sa.C0481d;
import v4.J;
import v4.K;
import v4.L;
public abstract class e {
public static final int a = 0;
public static G0.f b;
public static HashSet A() {
HashSet hashSet = new HashSet();
Iterator it = r8.c.a().iterator();
while (it.hasNext()) {
hashSet.add(((r8.c) it.next()).c());
}
return hashSet;
}
public static final long C(Context context, int i, l lVar) {
Intrinsics.checkNotNullParameter(context, "<this>");
p pVar = (p) lVar;
pVar.Y(-880560373);
TypedValue typedValue = new TypedValue();
context.getTheme().resolveAttribute(i, typedValue, true);
pVar.Y(-375980108);
Object M = pVar.M();
if (M == k.a) {
u uVar = new u(N.e(typedValue.data));
pVar.j0(uVar);
M = uVar;
}
long j = ((u) M).a;
pVar.q(false);
pVar.q(false);
return j;
}
public static boolean F(String str) {
q5.b bVar = n.a;
Set<q5.c> unmodifiableSet = DesugarCollections.unmodifiableSet(q5.c.c);
HashSet hashSet = new HashSet();
for (q5.c cVar : unmodifiableSet) {
if (cVar.a.equals(str)) {
hashSet.add(cVar);
}
}
if (hashSet.isEmpty()) {
throw new RuntimeException("Unknown feature ".concat(str));
}
Iterator it = hashSet.iterator();
while (it.hasNext()) {
q5.c cVar2 = (q5.g) it.next();
if (cVar2.a() || cVar2.b()) {
return true;
}
}
return false;
}
public static final K G(Function1 function1) {
Intrinsics.checkNotNullParameter(function1, "optionsBuilder");
L l = new L();
function1.invoke(l);
boolean z = l.b;
J j = l.a;
j.a = z;
j.b = l.c;
int i = l.d;
boolean z2 = l.e;
boolean z3 = l.f;
j.c = i;
j.d = z2;
j.e = z3;
return new K(j.a, j.b, j.c, j.d, j.e, j.f, j.g, j.h, j.i);
}
public static void H(long j, d1.h hVar, boolean z, s sVar) {
if (z) {
int i = S.c;
int i2 = (int) (j >> 32);
int i3 = (int) (j & 4294967295L);
int codePointBefore = i2 > 0 ? Character.codePointBefore((CharSequence) hVar, i2) : 10;
int codePointAt = i3 < hVar.length() ? Character.codePointAt((CharSequence) hVar, i3) : 10;
if (Z5.g.p0(codePointBefore) && (Z5.g.o0(codePointAt) || Z5.g.n0(codePointAt))) {
do {
i2 -= Character.charCount(codePointBefore);
if (i2 == 0) {
break;
} else {
codePointBefore = Character.codePointBefore((CharSequence) hVar, i2);
}
} while (Z5.g.p0(codePointBefore));
j = com.bumptech.glide.d.c(i2, i3);
} else if (Z5.g.p0(codePointAt) && (Z5.g.o0(codePointBefore) || Z5.g.n0(codePointBefore))) {
do {
i3 += Character.charCount(codePointAt);
if (i3 == hVar.length()) {
break;
} else {
codePointAt = Character.codePointAt((CharSequence) hVar, i3);
}
} while (Z5.g.p0(codePointAt));
j = com.bumptech.glide.d.c(i2, i3);
}
}
int i4 = (int) (4294967295L & j);
sVar.invoke(new o(new i1.g[]{new w(i4, i4), new i1.e(S.c(j), 0)}));
}
public static final u0.s I(u0.s sVar, Context context, Integer num, Integer num2, List list, boolean z, l lVar, int i) {
u0.s sVar2 = sVar;
Intrinsics.checkNotNullParameter(sVar, "<this>");
Intrinsics.checkNotNullParameter(context, "context");
Intrinsics.checkNotNullParameter(list, "remoteActions");
p pVar = (p) lVar;
pVar.Y(1423007859);
if (Build.VERSION.SDK_INT >= 26 && num != null && num2 != null) {
u0.p pVar2 = u0.p.a;
pVar.Y(1567281319);
boolean g = pVar.g(num) | pVar.g(num2) | pVar.i(list) | pVar.h(z) | pVar.i(context);
Object M = pVar.M();
if (g || M == k.a) {
A4.j jVar = new A4.j(num, num2, list, z, context, 1);
pVar.j0(jVar);
M = jVar;
}
pVar.q(false);
sVar2 = sVar.f1(androidx.compose.ui.layout.a.d(pVar2, (Function1) M));
}
pVar.q(false);
return sVar2;
}
public static void J(String str, String str2, int i, m mVar) {
y.b(Ai.o.j("https://api.razorpay.com/v1/payments/", str, "/status?key_id=", str2), new ra.l(i, str, mVar, str2));
}
public static void K(Object obj, String str) {
if (Constants.DEV_MODE) {
obj.getClass();
String str2 = obj + ":" + str;
if (Constants.DEV_MODE) {
Log.d(Constants.ASSIST_LOG_CONSTANT, str2);
}
try {
if (TextUtils.isEmpty(str)) {
throw new Ie.b();
}
} catch (Exception e) {
e.printStackTrace(new PrintWriter(new StringWriter()));
}
}
}
public static final boolean L(l lVar) {
p pVar = (p) lVar;
pVar.Y(1216267550);
if (Build.VERSION.SDK_INT < 26) {
pVar.q(false);
return false;
}
ComponentActivity f0 = D8.i.f0((Context) pVar.k(AndroidCompositionLocals_androidKt.b));
pVar.Y(-1794000419);
Object M = pVar.M();
V v = k.a;
if (M == v) {
M = h0.w.x(Boolean.valueOf(Am.n.A(f0)));
pVar.j0(M);
}
a0 a0Var = (a0) M;
pVar.q(false);
pVar.Y(-1793997024);
boolean i = pVar.i(f0);
Object M2 = pVar.M();
if (i || M2 == v) {
M2 = new Lm.i(1, f0, a0Var);
pVar.j0(M2);
}
pVar.q(false);
h0.w.d(f0, (Function1) M2, pVar);
boolean booleanValue = ((Boolean) a0Var.getValue()).booleanValue();
pVar.q(false);
return booleanValue;
}
public static String M(String str) {
StringBuilder sb2 = new StringBuilder();
int length = str.length();
for (int i = 0; i < length; i++) {
char charAt = str.charAt(i);
if (charAt == '\f') {
sb2.append("\\f");
} else if (charAt == '\r') {
sb2.append("\\r");
} else if (charAt != '\"' && charAt != '\\') {
switch (charAt) {
case '\b':
sb2.append("\\b");
break;
case '\t':
sb2.append("\\t");
break;
case '\n':
sb2.append("\\n");
break;
default:
if (charAt <= 31) {
sb2.append(String.format("\\u%04x", Integer.valueOf(charAt)));
break;
} else {
sb2.append(charAt);
break;
}
}
} else {
sb2.append('\\');
sb2.append(charAt);
}
}
return sb2.toString();
}
public static MediaItemContainer.ShowContainer R(Show show, HomeDataItem homeDataItem, int i) {
if ((i & 1) != 0) {
homeDataItem = null;
}
Intrinsics.checkNotNullParameter(show, "<this>");
v vVar = new v();
U u = Y.b;
B0 b0 = B0.e;
Collections.emptyList();
z zVar = new z();
C c = C.d;
Object id = show.getId();
String str = "";
if (id == null) {
id = "";
}
String obj = id.toString();
obj.getClass();
I i2 = new I();
String image = show.getImage();
if (image == null) {
ImageSize imageSizes = show.getImageSizes();
String size_300 = imageSizes != null ? imageSizes.getSize_300() : null;
if (size_300 != null) {
str = size_300;
}
} else {
str = image;
}
i2.m = Uri.parse(str);
i2.a = show.getTitle();
i2.r = Boolean.TRUE;
i2.q = Boolean.FALSE;
Bundle bundle = new Bundle();
if (homeDataItem != null) {
bundle.putString("android.media.browse.CONTENT_STYLE_GROUP_TITLE_HINT", homeDataItem.getTitle());
}
bundle.putInt("android.media.browse.CONTENT_STYLE_SINGLE_ITEM_HINT", 2);
bundle.putBoolean("android_auto_show", true);
Unit unit = Unit.a;
i2.H = bundle;
G g = new G(obj, new x(vVar), (B) null, new A(zVar), new b3.J(i2), c);
Intrinsics.checkNotNullExpressionValue(g, "build(...)");
return new MediaItemContainer.ShowContainer(g, show);
}
public static final void S(Eo.i iVar, S0.I i) {
Eo.a j;
Intrinsics.checkNotNullParameter(iVar, "<this>");
Intrinsics.checkNotNullParameter(i, "drawScope");
boolean z = Build.VERSION.SDK_INT >= 31 && B0.c.a(i.R().b0()).isHardwareAccelerated();
boolean c = Eo.j.c(iVar);
if (c && z) {
Eo.x xVar = iVar.r0;
if (!(xVar instanceof Eo.x)) {
xVar = new Eo.x(iVar);
}
iVar.J0(xVar);
return;
}
if (c) {
Eo.a aVar = iVar.r0;
if (!(aVar instanceof Eo.G)) {
Intrinsics.checkNotNullParameter(iVar, "node");
if (Eo.G.h) {
try {
t tVar = mp.v.b;
j = new Eo.G(iVar);
} catch (Throwable th) {
t tVar2 = mp.v.b;
j = z5.K.j(th);
}
if (mp.v.a(j) != null) {
Eo.G.h = false;
}
r0 = (Eo.G) (j instanceof mp.u ? null : j);
}
aVar = r0;
}
if (aVar != null) {
iVar.J0(aVar);
return;
}
}
if (iVar.r0 instanceof Eo.K) {
return;
}
iVar.J0(new Eo.K(iVar));
}
public static Bundle T(JSONObject jSONObject) {
if (jSONObject == null) {
return null;
}
Iterator<String> keys = jSONObject.keys();
Bundle bundle = new Bundle();
while (keys.hasNext()) {
String next = keys.next();
Object opt = jSONObject.opt(next);
if (opt != null) {
if (opt instanceof Boolean) {
bundle.putBoolean(next, ((Boolean) opt).booleanValue());
} else if (opt instanceof Double) {
bundle.putDouble(next, ((Double) opt).doubleValue());
} else if (opt instanceof Integer) {
bundle.putInt(next, ((Integer) opt).intValue());
} else if (opt instanceof Long) {
bundle.putLong(next, ((Long) opt).longValue());
} else if (opt instanceof String) {
bundle.putString(next, (String) opt);
} else if (opt instanceof JSONArray) {
JSONArray jSONArray = (JSONArray) opt;
if (jSONArray.length() != 0) {
int length = jSONArray.length();
int i = 0;
Object obj = null;
for (int i2 = 0; obj == null && i2 < length; i2++) {
obj = !jSONArray.isNull(i2) ? jSONArray.opt(i2) : null;
}
if (obj == null) {
String valueOf = String.valueOf(next);
int i3 = S9.K.b;
T9.j.g("Expected JSONArray with at least 1 non-null element for key:".concat(valueOf));
} else if (obj instanceof JSONObject) {
Bundle[] bundleArr = new Bundle[length];
while (i < length) {
bundleArr[i] = !jSONArray.isNull(i) ? T(jSONArray.optJSONObject(i)) : null;
i++;
}
bundle.putParcelableArray(next, bundleArr);
} else if (obj instanceof Number) {
double[] dArr = new double[jSONArray.length()];
while (i < length) {
dArr[i] = jSONArray.optDouble(i);
i++;
}
bundle.putDoubleArray(next, dArr);
} else if (obj instanceof CharSequence) {
String[] strArr = new String[length];
while (i < length) {
strArr[i] = !jSONArray.isNull(i) ? jSONArray.optString(i) : null;
i++;
}
bundle.putStringArray(next, strArr);
} else if (obj instanceof Boolean) {
boolean[] zArr = new boolean[length];
while (i < length) {
zArr[i] = jSONArray.optBoolean(i);
i++;
}
bundle.putBooleanArray(next, zArr);
} else {
String j = Ai.o.j("JSONArray with unsupported type ", obj.getClass().getCanonicalName(), " for key:", next);
int i4 = S9.K.b;
T9.j.g(j);
}
}
} else if (opt instanceof JSONObject) {
bundle.putBundle(next, T((JSONObject) opt));
} else {
String valueOf2 = String.valueOf(next);
int i5 = S9.K.b;
T9.j.g("Unsupported type for key:".concat(valueOf2));
}
}
}
return bundle;
}
public static List U(JSONArray jSONArray, ArrayList arrayList) {
if (arrayList == null) {
arrayList = new ArrayList();
}
if (jSONArray != null) {
for (int i = 0; i < jSONArray.length(); i++) {
arrayList.add(jSONArray.getString(i));
}
}
return arrayList;
}
public static ArrayList V(JsonReader jsonReader) {
ArrayList arrayList = new ArrayList();
jsonReader.beginArray();
while (jsonReader.hasNext()) {
arrayList.add(jsonReader.nextString());
}
jsonReader.endArray();
return arrayList;
}
public static JSONArray W(JsonReader jsonReader) {
JSONArray jSONArray = new JSONArray();
jsonReader.beginArray();
while (jsonReader.hasNext()) {
JsonToken peek = jsonReader.peek();
if (JsonToken.BEGIN_ARRAY.equals(peek)) {
jSONArray.put(W(jsonReader));
} else if (JsonToken.BEGIN_OBJECT.equals(peek)) {
jSONArray.put(Y(jsonReader));
} else if (JsonToken.BOOLEAN.equals(peek)) {
jSONArray.put(jsonReader.nextBoolean());
} else if (JsonToken.NUMBER.equals(peek)) {
jSONArray.put(jsonReader.nextDouble());
} else {
if (!JsonToken.STRING.equals(peek)) {
throw new IllegalStateException("unexpected json token: ".concat(String.valueOf(peek)));
}
jSONArray.put(jsonReader.nextString());
}
}
jsonReader.endArray();
return jSONArray;
}
public static JSONObject X(String str, JSONObject jSONObject) {
try {
return jSONObject.getJSONObject(str);
} catch (JSONException unused) {
JSONObject jSONObject2 = new JSONObject();
jSONObject.put(str, jSONObject2);
return jSONObject2;
}
}
public static JSONObject Y(JsonReader jsonReader) {
JSONObject jSONObject = new JSONObject();
jsonReader.beginObject();
while (jsonReader.hasNext()) {
String nextName = jsonReader.nextName();
JsonToken peek = jsonReader.peek();
if (JsonToken.BEGIN_ARRAY.equals(peek)) {
jSONObject.put(nextName, W(jsonReader));
} else if (JsonToken.BEGIN_OBJECT.equals(peek)) {
jSONObject.put(nextName, Y(jsonReader));
} else if (JsonToken.BOOLEAN.equals(peek)) {
jSONObject.put(nextName, jsonReader.nextBoolean());
} else if (JsonToken.NUMBER.equals(peek)) {
jSONObject.put(nextName, jsonReader.nextDouble());
} else {
if (!JsonToken.STRING.equals(peek)) {
throw new IllegalStateException("unexpected json token: ".concat(String.valueOf(peek)));
}
jSONObject.put(nextName, jsonReader.nextString());
}
}
jsonReader.endObject();
return jSONObject;
}
public static void Z(JsonWriter jsonWriter, JSONArray jSONArray) {
try {
jsonWriter.beginArray();
for (int i = 0; i < jSONArray.length(); i++) {
Object obj = jSONArray.get(i);
if (obj instanceof String) {
jsonWriter.value((String) obj);
} else if (obj instanceof Number) {
jsonWriter.value((Number) obj);
} else if (obj instanceof Boolean) {
jsonWriter.value(((Boolean) obj).booleanValue());
} else if (obj instanceof JSONObject) {
a0(jsonWriter, (JSONObject) obj);
} else {
if (!(obj instanceof JSONArray)) {
throw new JSONException("unable to write field: " + String.valueOf(obj));
}
Z(jsonWriter, (JSONArray) obj);
}
}
jsonWriter.endArray();
} catch (JSONException e) {
throw new IOException(e);
}
}
public static final void a(List list, int i, l lVar, int i2) {
int i3;
Intrinsics.checkNotNullParameter(list, "contentItemViewStateList");
p pVar = (p) lVar;
pVar.a0(-618277475);
if ((i2 & 6) == 0) {
i3 = (pVar.i(list) ? 4 : 2) | i2;
} else {
i3 = i2;
}
if ((i2 & 48) == 0) {
i3 |= pVar.e(i) ? 32 : 16;
}
if ((i3 & 19) == 18 && pVar.C()) {
pVar.S();
} else {
u0.p pVar2 = u0.p.a;
float f = 12;
u0.s c = androidx.compose.foundation.layout.c.c(androidx.compose.foundation.layout.a.o(pVar2, f, f, f, 2), 1.0f);
w0 a2 = u0.a(L.j.e, u0.c.k, pVar, 54);
int i4 = pVar.P;
m0 m = pVar.m();
u0.s f2 = u0.a.f(pVar, c);
S0.j.u.getClass();
S0.h hVar = S0.i.b;
pVar.c0();
if (pVar.O) {
pVar.l(hVar);
} else {
pVar.m0();
}
h0.w.B(pVar, a2, S0.i.g);
h0.w.B(pVar, m, S0.i.f);
S0.g gVar = S0.i.j;
if (pVar.O || !Intrinsics.c(pVar.M(), Integer.valueOf(i4))) {
A1.f.M(i4, pVar, i4, gVar);
}
h0.w.B(pVar, f2, S0.i.d);
int size = list.size();
pVar.Y(867842);
int i5 = 0;
while (i5 < size) {
L.o.a(androidx.compose.foundation.a.b(y0.e.b(androidx.compose.foundation.layout.c.l(androidx.compose.foundation.layout.a.l(pVar2, 4), 8), U.e.a), i5 == i ? u.e : u.c(u.e, 0.1f), N.a), pVar, 0);
i5++;
}
pVar.q(false);
pVar.q(true);
}
r0 u = pVar.u();
if (u != null) {
u.d = new q(list, i, i2, 0);
}
}
public static void a0(JsonWriter jsonWriter, JSONObject jSONObject) {
try {
jsonWriter.beginObject();
Iterator<String> keys = jSONObject.keys();
while (keys.hasNext()) {
String next = keys.next();
Object obj = jSONObject.get(next);
if (obj instanceof String) {
jsonWriter.name(next).value((String) obj);
} else if (obj instanceof Number) {
jsonWriter.name(next).value((Number) obj);
} else if (obj instanceof Boolean) {
jsonWriter.name(next).value(((Boolean) obj).booleanValue());
} else if (obj instanceof JSONObject) {
a0(jsonWriter.name(next), (JSONObject) obj);
} else {
if (!(obj instanceof JSONArray)) {
throw new JSONException("unable to write field: " + String.valueOf(obj));
}
Z(jsonWriter.name(next), (JSONArray) obj);
}
}
jsonWriter.endObject();
} catch (JSONException e) {
throw new IOException(e);
}
}
public static String b0(zzfaz zzfazVar) {
if (zzfazVar == null) {
return null;
}
StringWriter stringWriter = new StringWriter();
try {
JsonWriter jsonWriter = new JsonWriter(stringWriter);
d0(jsonWriter, zzfazVar);
jsonWriter.close();
return stringWriter.toString();
} catch (IOException e) {
int i = S9.K.b;
T9.j.e("Error when writing JSON.", e);
return null;
}
}
public static final void c(String str, int i, int i2, Function1 function1, l lVar, int i3) {
int i4;
V v;
a1 a1Var;
boolean z;
u0.p pVar = u0.p.a;
p pVar2 = (p) lVar;
pVar2.a0(-1809624580);
if ((i3 & 6) == 0) {
i4 = (pVar2.g(pVar) ? 4 : 2) | i3;
} else {
i4 = i3;
}
if ((i3 & 48) == 0) {
i4 |= pVar2.g(str) ? 32 : 16;
}
if ((i3 & 384) == 0) {
i4 |= pVar2.e(i) ? 256 : 128;
}
if ((i3 & 3072) == 0) {
i4 |= pVar2.e(i2) ? 2048 : 1024;
}
if ((i3 & 24576) == 0) {
i4 |= pVar2.i(function1) ? 16384 : 8192;
}
if ((i4 & 9363) == 9362 && pVar2.C()) {
pVar2.S();
} else {
pVar2.Y(2095201429);
Object M = pVar2.M();
V v2 = k.a;
Object obj = M;
if (M == v2) {
i0 x = h0.w.x(Boolean.FALSE);
pVar2.j0(x);
obj = x;
}
a1 a1Var2 = (a0) obj;
pVar2.q(false);
if (str.length() == 0) {
pVar2.Y(526814252);
u0.s n = androidx.compose.foundation.layout.a.n(b.a.o(y0.e.b(pVar, U.e.a(50)), 1, N.f(4281874488L), U.e.a(50)), 10, 0.0f, 2);
Q0.K d = L.o.d(u0.c.e, false);
int i5 = pVar2.P;
m0 m = pVar2.m();
u0.s f = u0.a.f(pVar2, n);
S0.j.u.getClass();
S0.h hVar = S0.i.b;
pVar2.c0();
if (pVar2.O) {
pVar2.l(hVar);
} else {
pVar2.m0();
}
h0.w.B(pVar2, d, S0.i.g);
h0.w.B(pVar2, m, S0.i.f);
S0.g gVar = S0.i.j;
if (pVar2.O || !Intrinsics.c(pVar2.M(), Integer.valueOf(i5))) {
A1.f.M(i5, pVar2, i5, gVar);
}
h0.w.B(pVar2, f, S0.i.d);
Ca.b.h(androidx.compose.foundation.layout.c.l(pVar, 35), pVar2, 6);
pVar2.q(true);
pVar2.q(false);
a1Var = a1Var2;
v = v2;
z = false;
} else {
pVar2.Y(527287498);
u0.s o = b.a.o(y0.e.b(pVar, U.e.a(50)), 1, N.f(4281874488L), U.e.a(50));
pVar2.Y(2095227964);
Object M2 = pVar2.M();
if (M2 == v2) {
M2 = new bm.i(a1Var2, 24);
pVar2.j0(M2);
}
pVar2.q(false);
float f2 = 8;
u0.s m2 = androidx.compose.foundation.layout.a.m(r2.a.c0(63, (Function0) M2, o, false), 10, f2);
w0 a2 = u0.a(L.j.e, u0.c.k, pVar2, 54);
int i6 = pVar2.P;
m0 m3 = pVar2.m();
u0.s f3 = u0.a.f(pVar2, m2);
S0.j.u.getClass();
S0.h hVar2 = S0.i.b;
pVar2.c0();
if (pVar2.O) {
pVar2.l(hVar2);
} else {
pVar2.m0();
}
h0.w.B(pVar2, a2, S0.i.g);
h0.w.B(pVar2, m3, S0.i.f);
S0.g gVar2 = S0.i.j;
if (pVar2.O || !Intrinsics.c(pVar2.M(), Integer.valueOf(i6))) {
A1.f.M(i6, pVar2, i6, gVar2);
}
h0.w.B(pVar2, f3, S0.i.d);
long j = u.e;
v = v2;
a1Var = a1Var2;
c3.b(str, androidx.compose.foundation.layout.c.q(pVar, 40, 0.0f, 2), j, io.sentry.config.a.z(14), (h1.t) null, h1.x.g, (h1.n) null, 0L, (o1.l) null, new o1.k(3), 0L, 0, false, 0, 0, (Function1) null, (T) null, pVar2, ((i4 >> 3) & 14) | 200112, 0, 130512);
L.d.d(pVar2, androidx.compose.foundation.layout.c.p(pVar, f2));
K0.b(b.a.i0(2131232184, pVar2, 54), (String) null, (u0.s) null, j, pVar2, 3120, 4);
pVar2.q(true);
z = false;
pVar2.q(false);
}
if (((Boolean) a1Var.getValue()).booleanValue()) {
pVar2.Y(2095259709);
Object M3 = pVar2.M();
Object obj2 = M3;
if (M3 == v) {
bm.i iVar = new bm.i(a1Var, 25);
pVar2.j0(iVar);
obj2 = iVar;
}
pVar2.q(z);
V1.g.b(i2, i, (Function0) obj2, false, function1, pVar2, ((i4 >> 9) & 14) | 3456 | ((i4 >> 3) & 112) | (i4 & 57344));
}
}
r0 u = pVar2.u();
if (u != null) {
u.d = new com.vlv.aravali.search.ui.i0(str, i, i2, function1, i3);
}
}
public static JSONObject c0(JSONObject jSONObject, String[] strArr) {
for (int i = 0; i < strArr.length - 1; i = 1) {
if (jSONObject == null) {
return null;
}
jSONObject = jSONObject.optJSONObject(strArr[0]);
}
return jSONObject;
}
public static final void d(u0.s sVar, Show show, Np.k kVar, Np.k kVar2, D0 d0, Function1 function1, l lVar, int i) {
int i2;
E e;
a0 a0Var;
C4.c cVar;
H h;
Context context;
Object obj;
a0 a0Var2;
E e2;
Object obj2;
p pVar;
Intrinsics.checkNotNullParameter(sVar, "modifier");
Intrinsics.checkNotNullParameter(show, "show");
Intrinsics.checkNotNullParameter(kVar, "downloadStatusFlow");
Intrinsics.checkNotNullParameter(kVar2, "episodesPagingFlow");
Intrinsics.checkNotNullParameter(d0, "isReverseOrderFlow");
Intrinsics.checkNotNullParameter(function1, "onEpisodesScreenEvent");
p pVar2 = (p) lVar;
pVar2.a0(-682650371);
if ((i & 6) == 0) {
i2 = (pVar2.g(sVar) ? 4 : 2) | i;
} else {
i2 = i;
}
if ((i & 48) == 0) {
i2 |= pVar2.g(show) ? 32 : 16;
}
if ((i & 384) == 0) {
i2 |= pVar2.i(kVar) ? 256 : 128;
}
if ((i & 3072) == 0) {
i2 |= pVar2.i(kVar2) ? 2048 : 1024;
}
if ((i & 24576) == 0) {
i2 |= pVar2.i(d0) ? 16384 : 8192;
}
if ((196608 & i) == 0) {
i2 |= pVar2.i(function1) ? 131072 : 65536;
}
int i3 = i2;
if ((i3 & 74899) == 74898 && pVar2.C()) {
pVar2.S();
pVar = pVar2;
} else {
Sp.f fVar = Kp.V.a;
C4.c a2 = C4.h.a(kVar2, Sp.e.c, pVar2, 0);
a0 o = uq.a.o(d0, (Sp.e) null, pVar2, (i3 >> 12) & 14, 7);
E a3 = N.H.a(0, 0, 3, pVar2);
Object M = pVar2.M();
V v = k.a;
if (M == v) {
M = h0.w.n(kotlin.coroutines.g.a, pVar2);
pVar2.j0(M);
}
H h2 = (H) M;
Context context2 = (Context) pVar2.k(AndroidCompositionLocals_androidKt.b);
pVar2.Y(419030951);
Object M2 = pVar2.M();
Object obj3 = M2;
if (M2 == v) {
F q = h0.w.q(new io.J(6, a2, a3));
pVar2.j0(q);
obj3 = q;
}
a1 a1Var = (a1) obj3;
Object p = Ii.b.p(pVar2, false, 419053467);
if (p == v) {
a0Var = o;
cVar = a2;
e = a3;
h = h2;
context = context2;
F q2 = h0.w.q(new J5.t(a2, show, a1Var, a0Var, 7));
pVar2.j0(q2);
obj = q2;
} else {
e = a3;
a0Var = o;
cVar = a2;
h = h2;
context = context2;
obj = p;
}
a1 a1Var2 = (a1) obj;
pVar2.q(false);
a0 m = uq.a.m(kVar, "", (Sp.e) null, pVar2, ((i3 >> 6) & 14) | 48, 14);
pVar2.Y(419070222);
Object M3 = pVar2.M();
Object obj4 = M3;
if (M3 == v) {
F q3 = h0.w.q(new Hm.x(cVar, 10));
pVar2.j0(q3);
obj4 = q3;
}
a1 a1Var3 = (a1) obj4;
Object p2 = Ii.b.p(pVar2, false, 419075841);
if (p2 == v) {
a0Var2 = m;
A4.g gVar = new A4.g(h, e, show, a0Var, 6);
pVar2.j0(gVar);
p2 = gVar;
} else {
a0Var2 = m;
}
Function1 function12 = (Function1) p2;
Object p3 = Ii.b.p(pVar2, false, 419088824);
if (p3 == v) {
e2 = e;
io.J j = new io.J(7, h, e2);
pVar2.j0(j);
obj2 = j;
} else {
e2 = e;
obj2 = p3;
}
Function0 function0 = (Function0) obj2;
pVar2.q(false);
u0.s b2 = androidx.compose.foundation.a.b(sVar, C(context, 2130969921, pVar2), N.a);
p0 c = androidx.compose.foundation.layout.a.c(0.0f, 0.0f, 0.0f, 100, 7);
pVar2.Y(419108122);
a0 a0Var3 = a0Var;
boolean i4 = pVar2.i(context) | pVar2.g(a0Var2) | pVar2.g(a0Var3) | ((i3 & 112) == 32) | ((i3 & 458752) == 131072) | pVar2.i(cVar);
Object M4 = pVar2.M();
if (i4 || M4 == v) {
pVar = pVar2;
tn.f fVar2 = new tn.f(cVar, context, show, function12, function0, function1, a0Var2, a1Var2, a1Var, a0Var3, a1Var3);
pVar.j0(fVar2);
M4 = fVar2;
} else {
pVar = pVar2;
}
pVar.q(false);
c3.c.c(b2, e2, c, false, (L.h) null, (u0.d) null, (H.Y) null, false, (AndroidEdgeEffectOverscrollEffect) null, (Function1) M4, pVar, 384, 504);
}
r0 u = pVar.u();
if (u != null) {
u.d = new I0(sVar, show, kVar, kVar2, d0, function1, i);
}
}
public static void d0(JsonWriter jsonWriter, Object obj) {
if (obj == null) {
jsonWriter.nullValue();
return;
}
if (obj instanceof Number) {
jsonWriter.value((Number) obj);
return;
}
if (obj instanceof Boolean) {
jsonWriter.value(((Boolean) obj).booleanValue());
return;
}
if (obj instanceof String) {
jsonWriter.value((String) obj);
return;
}
if (obj instanceof zzfaz) {
a0(jsonWriter, ((zzfaz) obj).zzd);
return;
}
if (!(obj instanceof Map)) {
if (!(obj instanceof List)) {
jsonWriter.nullValue();
return;
}
jsonWriter.beginArray();
Iterator it = ((List) obj).iterator();
while (it.hasNext()) {
d0(jsonWriter, it.next());
}
jsonWriter.endArray();
return;
}
jsonWriter.beginObject();
for (Map.Entry entry : ((Map) obj).entrySet()) {
Object key = entry.getKey();
if (key instanceof String) {
d0(jsonWriter.name((String) key), entry.getValue());
}
}
jsonWriter.endObject();
}
public static final void e(List list, Bf.g gVar, l lVar, int i) {
int i2;
Intrinsics.checkNotNullParameter(list, "contentItemViewStateList");
Intrinsics.checkNotNullParameter(gVar, "onEvent");
p pVar = (p) lVar;
pVar.a0(-1030739824);
if ((i & 6) == 0) {
i2 = (pVar.i(list) ? 4 : 2) | i;
} else {
i2 = i;
}
if ((i & 48) == 0) {
i2 |= pVar.i(gVar) ? 32 : 16;
}
if ((i2 & 19) == 18 && pVar.C()) {
pVar.S();
} else {
u0.p pVar2 = u0.p.a;
L.w a2 = L.v.a(L.j.c, u0.c.r, pVar, 0);
int i3 = pVar.P;
m0 m = pVar.m();
u0.s f = u0.a.f(pVar, pVar2);
S0.j.u.getClass();
S0.h hVar = S0.i.b;
pVar.c0();
if (pVar.O) {
pVar.l(hVar);
} else {
pVar.m0();
}
h0.w.B(pVar, a2, S0.i.g);
h0.w.B(pVar, m, S0.i.f);
S0.g gVar2 = S0.i.j;
if (pVar.O || !Intrinsics.c(pVar.M(), Integer.valueOf(i3))) {
A1.f.M(i3, pVar, i3, gVar2);
}
h0.w.B(pVar, f, S0.i.d);
pVar.Y(-1700734385);
Object M = pVar.M();
V v = k.a;
if (M == v) {
M = io.sentry.config.d.v(0, pVar);
}
f0 f0Var = (Z) M;
Object p = Ii.b.p(pVar, false, -1700731499);
if (p == v) {
p = new Ck.p(f0Var, 0);
pVar.j0(p);
}
pVar.q(false);
int i4 = i2 & 14;
g(list, gVar, (Function1) p, pVar, (i2 & 112) | i4 | 384);
a(list, f0Var.h(), pVar, i4);
pVar.q(true);
}
r0 u = pVar.u();
if (u != null) {
u.d = new Bm.v(list, gVar, i, 3);
}
}
public static final void f(u0.s sVar, D d, O.c cVar, n0 n0Var, boolean z, H.Y y, boolean z2, AndroidEdgeEffectOverscrollEffect androidEdgeEffectOverscrollEffect, L.h hVar, L.e eVar, Function1 function1, l lVar, int i, int i2) {
int i3;
int i4;
p pVar;
boolean z3;
V v;
p pVar2 = (p) lVar;
pVar2.a0(708740370);
if ((i & 6) == 0) {
i3 = (pVar2.g(sVar) ? 4 : 2) | i;
} else {
i3 = i;
}
if ((i & 48) == 0) {
i3 |= pVar2.g(d) ? 32 : 16;
}
if ((i & 384) == 0) {
i3 |= (i & 512) == 0 ? pVar2.g(cVar) : pVar2.i(cVar) ? 256 : 128;
}
if ((i & 3072) == 0) {
i3 |= pVar2.g(n0Var) ? 2048 : 1024;
}
if ((i & 24576) == 0) {
i3 |= pVar2.h(z) ? 16384 : 8192;
}
if ((i & 196608) == 0) {
i3 |= pVar2.h(true) ? 131072 : 65536;
}
if ((i & 1572864) == 0) {
i3 |= pVar2.g(y) ? 1048576 : 524288;
}
if ((i & 12582912) == 0) {
i3 |= pVar2.h(z2) ? 8388608 : 4194304;
}
if ((i & 100663296) == 0) {
i3 |= pVar2.g(androidEdgeEffectOverscrollEffect) ? 67108864 : 33554432;
}
if ((i & 805306368) == 0) {
i3 |= pVar2.g(hVar) ? 536870912 : 268435456;
}
if ((i2 & 6) == 0) {
i4 = i2 | (pVar2.g(eVar) ? 4 : 2);
} else {
i4 = i2;
}
if ((i2 & 48) == 0) {
i4 |= pVar2.i(function1) ? 32 : 16;
}
if (pVar2.P(i3 & 1, ((i3 & 306783379) == 306783378 && (i4 & 19) == 18) ? false : true)) {
pVar2.U();
int i5 = i & 1;
u0.s sVar2 = u0.p.a;
V v2 = k.a;
if (i5 != 0 && !pVar2.A()) {
pVar2.S();
}
pVar2.r();
int i6 = i3 >> 3;
int i7 = i6 & 14;
int i8 = i7 | (i4 & 112);
a0 A = h0.w.A(function1, pVar2);
boolean z4 = (((i8 & 14) ^ 6) > 4 && pVar2.g(d)) || (i8 & 6) == 4;
Object M = pVar2.M();
Object obj = M;
if (z4 || M == v2) {
V v3 = V.d;
N.m mVar = new N.m(0, 1, a1.class, h0.w.p(v3, new Jh.j(12, h0.w.p(v3, new N.n(A, 1)), d)), "value", "getValue()Ljava/lang/Object;");
pVar2.j0(mVar);
obj = mVar;
}
Gp.g gVar = (Gp.g) obj;
int i9 = i7 | ((i3 >> 9) & 112);
boolean z5 = ((((i9 & 112) ^ 48) > 32 && pVar2.h(z)) || (i9 & 48) == 32) | ((((i9 & 14) ^ 6) > 4 && pVar2.g(d)) || (i9 & 6) == 4);
Object M2 = pVar2.M();
Object obj2 = M2;
if (z5 || M2 == v2) {
O.F f = new O.F(d);
pVar2.j0(f);
obj2 = f;
}
O.F f2 = (O.F) obj2;
Object M3 = pVar2.M();
Object obj3 = M3;
if (M3 == v2) {
H n = h0.w.n(kotlin.coroutines.g.a, pVar2);
pVar2.j0(n);
obj3 = n;
}
H h = (H) obj3;
B0.z zVar = (B0.z) pVar2.k(T0.p0.g);
P.F f3 = !((Boolean) pVar2.k(T0.p0.v)).booleanValue() ? P.f0.a : null;
int i10 = ((i3 >> 6) & 29360128) | (524272 & i3) | ((i4 << 18) & 3670016);
boolean g = ((((29360128 & i10) ^ 12582912) > 8388608 && pVar2.g(hVar)) || (i10 & 12582912) == 8388608) | ((((i10 & 112) ^ 48) > 32 && pVar2.g(d)) || (i10 & 48) == 32) | ((((i10 & 896) ^ 384) > 256 && pVar2.g(cVar)) || (i10 & 384) == 256) | ((((i10 & 7168) ^ 3072) > 2048 && pVar2.g(n0Var)) || (i10 & 3072) == 2048) | ((((57344 & i10) ^ 24576) > 16384 && pVar2.h(z)) || (i10 & 24576) == 16384) | ((((458752 & i10) ^ 196608) > 131072 && pVar2.h(true)) || (i10 & 196608) == 131072) | ((((3670016 & i10) ^ 1572864) > 1048576 && pVar2.g(eVar)) || (i10 & 1572864) == 1048576) | pVar2.g(zVar);
Object M4 = pVar2.M();
if (g || M4 == v2) {
z3 = true;
v = v2;
pVar = pVar2;
O.q qVar = new O.q(d, n0Var, z, gVar, cVar, hVar, eVar, h, zVar, f3);
pVar.j0(qVar);
M4 = qVar;
} else {
v = v2;
pVar = pVar2;
z3 = true;
}
Function2 function2 = (Function2) M4;
s0 s0Var = s0.Vertical;
if (z2) {
pVar.Y(-1614890700);
boolean z6 = (((i7 ^ 6) <= 4 || !pVar.g(d)) && (i6 & 6) != 4) ? false : z3;
Object M5 = pVar.M();
if (z6 || M5 == v) {
M5 = new O.d(d);
pVar.j0(M5);
}
sVar2 = androidx.compose.foundation.lazy.layout.a.b((O.d) M5, d.n, z, s0Var);
pVar.q(false);
} else {
pVar.Y(-1614595456);
pVar.q(false);
}
androidx.compose.foundation.lazy.layout.a.a(gVar, androidx.compose.foundation.a.k(androidx.compose.foundation.lazy.layout.a.c(sVar.f1(d.k).f1(d.l), gVar, f2, s0Var, z2, z).f1(sVar2).f1(d.m.i), d, s0Var, z2, z, y, d.f, false, androidEdgeEffectOverscrollEffect, (H.c) null), d.o, function2, pVar, 0, 0);
} else {
pVar = pVar2;
pVar.S();
}
r0 u = pVar.u();
if (u != null) {
u.d = new O.l(sVar, d, cVar, n0Var, z, y, z2, androidEdgeEffectOverscrollEffect, hVar, eVar, function1, i, i2);
}
}
public static final void h(long j, T t, Function2 function2, l lVar, int i) {
int i2;
p pVar = (p) lVar;
pVar.a0(-716124955);
if ((i & 6) == 0) {
i2 = (pVar.f(j) ? 4 : 2) | i;
} else {
i2 = i;
}
if ((i & 48) == 0) {
i2 |= pVar.g(t) ? 32 : 16;
}
if ((i & 384) == 0) {
i2 |= pVar.i(function2) ? 256 : 128;
}
if ((i2 & 147) == 146 && pVar.C()) {
pVar.S();
} else {
h0.B b2 = c3.a;
h0.w.b(new q0[]{e0.B0.a.a(new u(j)), b2.a(((T) pVar.k(b2)).d(t))}, function2, pVar, ((i2 >> 3) & 112) | 8);
}
r0 u = pVar.u();
if (u != null) {
u.d = new f0.D(j, t, function2, i, 0);
}
}
public static final void i(String str, boolean z, u0.s sVar, String str2, int i, Show show, Function1 function1, Function1 function12, l lVar, int i2) {
int i3;
boolean z2;
Intrinsics.checkNotNullParameter(str, "downloadStatus");
Intrinsics.checkNotNullParameter(sVar, "modifier");
Intrinsics.checkNotNullParameter(str2, "selectorText");
Intrinsics.checkNotNullParameter(function1, "onEpisodeScreenEvent");
Intrinsics.checkNotNullParameter(function12, "onPageSelected");
p pVar = (p) lVar;
pVar.a0(1559775659);
if ((i2 & 6) == 0) {
i3 = (pVar.g(str) ? 4 : 2) | i2;
} else {
i3 = i2;
}
if ((i2 & 48) == 0) {
i3 |= pVar.h(z) ? 32 : 16;
}
if ((i2 & 384) == 0) {
i3 |= pVar.g(sVar) ? 256 : 128;
}
if ((i2 & 3072) == 0) {
i3 |= pVar.g(str2) ? 2048 : 1024;
}
if ((i2 & 24576) == 0) {
i3 |= pVar.e(i) ? 16384 : 8192;
}
if ((196608 & i2) == 0) {
i3 |= pVar.g(show) ? 131072 : 65536;
}
if ((1572864 & i2) == 0) {
i3 |= pVar.i(function1) ? 1048576 : 524288;
}
if ((12582912 & i2) == 0) {
i3 |= pVar.i(function12) ? 8388608 : 4194304;
}
int i4 = i3;
if ((i4 & 4793491) == 4793490 && pVar.C()) {
pVar.S();
} else {
if ((show != null ? Intrinsics.c(show.isCoinedBased(), Boolean.FALSE) : false) || z) {
int i5 = i4 >> 6;
w0 a2 = u0.a(L.j.g, u0.c.j, pVar, 6);
int i6 = pVar.P;
m0 m = pVar.m();
u0.s f = u0.a.f(pVar, sVar);
S0.j.u.getClass();
S0.h hVar = S0.i.b;
pVar.c0();
if (pVar.O) {
pVar.l(hVar);
} else {
pVar.m0();
}
h0.w.B(pVar, a2, S0.i.g);
h0.w.B(pVar, m, S0.i.f);
S0.g gVar = S0.i.j;
if (pVar.O || !Intrinsics.c(pVar.M(), Integer.valueOf(i6))) {
A1.f.M(i6, pVar, i6, gVar);
}
h0.w.B(pVar, f, S0.i.d);
if (z) {
pVar.Y(17803056);
z2 = false;
c(str2, i, show != null ? show.getNEpisodes() : 0, function12, pVar, (i5 & 112) | 6 | (i5 & 896) | ((i4 >> 9) & 57344));
pVar.q(false);
} else {
z2 = false;
pVar.Y(18134942);
if (!(((double) 1.0f) > 0.0d)) {
M.a.a("invalid weight; must be greater than zero");
}
L.o.a(new LayoutWeightElement(Fp.p.d(1.0f, Float.MAX_VALUE), true), pVar, 0);
pVar.q(false);
}
pVar.Y(2078798039);
if (show != null) {
pVar.Y(2078798707);
if (!Intrinsics.c(show.getHideDownloadAllIcon(), Boolean.TRUE)) {
b(str, show, function1, pVar, ((i4 << 3) & 112) | 6 | ((i4 >> 9) & 7168));
}
pVar.q(z2);
}
pVar.q(z2);
pVar.q(true);
}
}
r0 u = pVar.u();
if (u != null) {
u.d = new bm.d(str, z, sVar, str2, i, show, function1, function12, i2);
}
}
public static final void j(u0.s sVar, Function1 function1, Function1 function12, l lVar, int i) {
int i2;
Intrinsics.checkNotNullParameter(sVar, "modifier");
Intrinsics.checkNotNullParameter(function1, "onAttach");
Intrinsics.checkNotNullParameter(function12, "onDetach");
p pVar = (p) lVar;
pVar.a0(-335078828);
if ((i & 6) == 0) {
i2 = (pVar.g(sVar) ? 4 : 2) | i;
} else {
i2 = i;
}
if ((i & 48) == 0) {
i2 |= pVar.i(function1) ? 32 : 16;
}
if ((i & 384) == 0) {
i2 |= pVar.i(function12) ? 256 : 128;
}
if ((i2 & 147) == 146 && pVar.C()) {
pVar.S();
} else {
Context context = (Context) pVar.k(AndroidCompositionLocals_androidKt.b);
pVar.Y(920682603);
Object M = pVar.M();
V v = k.a;
Object obj = M;
if (M == v) {
PlayerView playerView = new PlayerView(context);
playerView.setUseController(false);
function1.invoke(playerView);
pVar.j0(playerView);
obj = playerView;
}
PlayerView playerView2 = (PlayerView) obj;
pVar.q(false);
pVar.Y(920688571);
boolean i3 = pVar.i(playerView2);
Object M2 = pVar.M();
Object obj2 = M2;
if (i3 || M2 == v) {
Hm.f fVar = new Hm.f(playerView2, 1);
pVar.j0(fVar);
obj2 = fVar;
}
pVar.q(false);
androidx.compose.ui.viewinterop.b.a((Function1) obj2, sVar, (Function1) null, pVar, (i2 << 3) & 112, 4);
Unit unit = Unit.a;
pVar.Y(920691135);
boolean i4 = ((i2 & 896) == 256) | pVar.i(playerView2);
Object M3 = pVar.M();
if (i4 || M3 == v) {
M3 = new Bf.g(25, function12, playerView2);
pVar.j0(M3);
}
pVar.q(false);
h0.w.d(unit, (Function1) M3, pVar);
}
r0 u = pVar.u();
if (u != null) {
u.d = new Bm.w(i, 6, sVar, function1, function12);
}
}
public static final void k(rk.c cVar, l lVar, int i) {
int i2;
String size_300;
ImageSize imageSizes;
ImageSize imageSizes2;
ImageSize imageSizes3;
S0.g gVar;
boolean z;
p pVar;
int i3;
ImageSize imageSizes4;
Intrinsics.checkNotNullParameter(cVar, "contentItemViewState");
p pVar2 = (p) lVar;
pVar2.a0(1121479256);
if ((i & 6) == 0) {
i2 = (pVar2.i(cVar) ? 4 : 2) | i;
} else {
i2 = i;
}
if ((i & 48) == 0) {
i2 |= pVar2.e(Constants.ACTION_DISABLE_AUTO_SUBMIT) ? 32 : 16;
}
if ((i2 & 19) == 18 && pVar2.C()) {
pVar2.S();
pVar = pVar2;
} else {
u0.p pVar3 = u0.p.a;
u0.s p = androidx.compose.foundation.layout.c.p(pVar3, Constants.ACTION_DISABLE_AUTO_SUBMIT);
float f = Constants.ACTION_SAVE_CUST_ID;
u0.s e = androidx.compose.foundation.layout.c.e(p, f);
Q0.K d = L.o.d(u0.c.e, false);
int i4 = pVar2.P;
m0 m = pVar2.m();
u0.s f2 = u0.a.f(pVar2, e);
S0.j.u.getClass();
S0.h hVar = S0.i.b;
pVar2.c0();
if (pVar2.O) {
pVar2.l(hVar);
} else {
pVar2.m0();
}
S0.g gVar2 = S0.i.g;
h0.w.B(pVar2, d, gVar2);
S0.g gVar3 = S0.i.f;
h0.w.B(pVar2, m, gVar3);
S0.g gVar4 = S0.i.j;
if (pVar2.O || !Intrinsics.c(pVar2.M(), Integer.valueOf(i4))) {
A1.f.M(i4, pVar2, i4, gVar4);
}
S0.g gVar5 = S0.i.d;
h0.w.B(pVar2, f2, gVar5);
androidx.compose.foundation.layout.b bVar = androidx.compose.foundation.layout.b.a;
Show show = cVar.getShow();
if (show == null || (imageSizes4 = show.getImageSizes()) == null || (size_300 = imageSizes4.getSize_200()) == null) {
Show show2 = cVar.getShow();
size_300 = (show2 == null || (imageSizes3 = show2.getImageSizes()) == null) ? null : imageSizes3.getSize_300();
if (size_300 == null) {
Show show3 = cVar.getShow();
size_300 = (show3 == null || (imageSizes2 = show3.getImageSizes()) == null) ? null : imageSizes2.getSize_100();
if (size_300 == null) {
Show show4 = cVar.getShow();
size_300 = (show4 == null || (imageSizes = show4.getImageSizes()) == null) ? null : imageSizes.getSize_150();
}
}
}
O5.k.a(size_300, (String) null, bVar.a(androidx.compose.foundation.layout.c.e(androidx.compose.foundation.layout.c.p(pVar3, f), f), u0.c.f), Q0.i.g, pVar2, 1572912, 1976);
Float valueOf = Float.valueOf(0.0f);
long j = u.b;
float f3 = 35;
u0.s o = androidx.compose.foundation.layout.a.o(androidx.compose.foundation.a.a(bVar.a(androidx.compose.foundation.layout.c.e(androidx.compose.foundation.layout.c.p(pVar3, 250), f), u0.c.d), Yf.a.k((Pair[]) Arrays.copyOf(new Pair[]{new Pair(valueOf, new u(j)), new Pair(Float.valueOf(0.57f), new u(j)), new Pair(Float.valueOf(1.0f), new u(u.i))}, 3), 6), (U.d) null, 6), 12, f3, 110, f3);
L.w a2 = L.v.a(L.j.f, u0.c.r, pVar2, 54);
int i5 = pVar2.P;
m0 m2 = pVar2.m();
u0.s f4 = u0.a.f(pVar2, o);
pVar2.c0();
if (pVar2.O) {
pVar2.l(hVar);
} else {
pVar2.m0();
}
h0.w.B(pVar2, a2, gVar2);
h0.w.B(pVar2, m2, gVar3);
if (pVar2.O || !Intrinsics.c(pVar2.M(), Integer.valueOf(i5))) {
gVar = gVar4;
A1.f.M(i5, pVar2, i5, gVar);
} else {
gVar = gVar4;
}
h0.w.B(pVar2, f4, gVar5);
Show show5 = cVar.getShow();
SocialProofingReview review = show5 != null ? show5.getReview() : null;
pVar2.Y(204212863);
if (review == null) {
pVar = pVar2;
} else {
u0.i iVar = u0.c.k;
L.c cVar2 = L.j.a;
w0 a3 = u0.a(cVar2, iVar, pVar2, 48);
int i6 = pVar2.P;
m0 m3 = pVar2.m();
u0.s f5 = u0.a.f(pVar2, pVar3);
pVar2.c0();
if (pVar2.O) {
pVar2.l(hVar);
} else {
pVar2.m0();
}
h0.w.B(pVar2, a3, gVar2);
h0.w.B(pVar2, m3, gVar3);
if (pVar2.O || !Intrinsics.c(pVar2.M(), Integer.valueOf(i6))) {
A1.f.M(i6, pVar2, i6, gVar);
}
h0.w.B(pVar2, f5, gVar5);
S0.g gVar6 = gVar;
O5.k.a(review.getAvatar(), (String) null, y0.e.b(androidx.compose.foundation.layout.c.l(pVar3, 24), U.e.a), (Q0.j) null, pVar2, 48, 2040);
String name = review.getName();
if (name == null) {
name = "";
}
c3.b(name, androidx.compose.foundation.layout.a.p(pVar3, 4, 0.0f, 0.0f, 0.0f, 14), N.f(4288521135L), io.sentry.config.a.z(10), (h1.t) null, new h1.x(500), (h1.n) null, 0L, (o1.l) null, (o1.k) null, 0L, 2, false, 1, 0, (Function1) null, (T) null, pVar2, 200112, 3120, 120784);
p pVar4 = pVar2;
pVar4.q(true);
w0 a4 = u0.a(cVar2, u0.c.j, pVar4, 0);
int i7 = pVar4.P;
m0 m4 = pVar4.m();
u0.s f6 = u0.a.f(pVar4, pVar3);
pVar4.c0();
if (pVar4.O) {
pVar4.l(hVar);
} else {
pVar4.m0();
}
h0.w.B(pVar4, a4, gVar2);
h0.w.B(pVar4, m4, gVar3);
if (pVar4.O || !Intrinsics.c(pVar4.M(), Integer.valueOf(i7))) {
A1.f.M(i7, pVar4, i7, gVar6);
}
h0.w.B(pVar4, f6, gVar5);
Integer rating = review.getRating();
int intValue = rating != null ? rating.intValue() : 0;
pVar4.Y(858657395);
if (1 <= intValue) {
int i8 = 1;
while (true) {
i3 = 16;
pVar = pVar4;
com.bumptech.glide.e.a(Z5.g.r0(2131232100, pVar4, 6), (String) null, androidx.compose.foundation.layout.c.l(androidx.compose.foundation.layout.a.l(pVar3, 3), 16), (u0.f) null, (Q0.j) null, 0.0f, (B0.n) null, pVar4, 432, 120);
z = true;
if (i8 == intValue) {
break;
}
i8++;
pVar4 = pVar;
}
} else {
z = true;
pVar = pVar4;
i3 = 16;
}
pVar.q(false);
pVar.q(z);
String pinnedReviewRating = review.getPinnedReviewRating();
c3.b(pinnedReviewRating == null ? "" : pinnedReviewRating, (u0.s) null, N.f(4293322730L), io.sentry.config.a.z(12), (h1.t) null, new h1.x(400), (h1.n) null, 0L, (o1.l) null, (o1.k) null, io.sentry.config.a.z(i3), 2, false, 2, 0, (Function1) null, (T) null, pVar, 200064, 3126, 119762);
Unit unit = Unit.a;
}
com.vlv.aravali.audiobooks.ui.fragments.p.p(pVar, false, true, true);
}
r0 u = pVar.u();
if (u != null) {
u.d = new Ck.s(cVar, i, 0);
}
}
public static final void l(jq.z zVar) {
Intrinsics.checkNotNullParameter(zVar, "<this>");
if ((zVar instanceof jq.z ? zVar : null) != null) {
return;
}
throw new IllegalStateException("This serializer can be used only with Json format.Expected Encoder to be JsonEncoder, got " + kotlin.jvm.internal.J.a(zVar.getClass()));
}
public static com.vlv.aravali.vip.ui.fragments.w m(SubscriptionMeta subscriptionMeta, int i, String str, int i2) {
if ((i2 & 8) != 0) {
i = 0;
}
return new com.vlv.aravali.vip.ui.fragments.w(subscriptionMeta, true, true, i, str);
}
public static final iq.l n(gq.b bVar) {
Intrinsics.checkNotNullParameter(bVar, "<this>");
iq.l lVar = bVar instanceof iq.l ? (iq.l) bVar : null;
if (lVar != null) {
return lVar;
}
throw new IllegalStateException("This serializer can be used only with Json format.Expected Decoder to be JsonDecoder, got " + kotlin.jvm.internal.J.a(bVar.getClass()));
}
public static final Bundle o(Pair... pairArr) {
Bundle bundle = new Bundle(pairArr.length);
for (Pair pair : pairArr) {
String str = (String) pair.a;
Object obj = pair.b;
if (obj == null) {
bundle.putString(str, null);
} else if (obj instanceof Boolean) {
bundle.putBoolean(str, ((Boolean) obj).booleanValue());
} else if (obj instanceof Byte) {
bundle.putByte(str, ((Number) obj).byteValue());
} else if (obj instanceof Character) {
bundle.putChar(str, ((Character) obj).charValue());
} else if (obj instanceof Double) {
bundle.putDouble(str, ((Number) obj).doubleValue());
} else if (obj instanceof Float) {
bundle.putFloat(str, ((Number) obj).floatValue());
} else if (obj instanceof Integer) {
bundle.putInt(str, ((Number) obj).intValue());
} else if (obj instanceof Long) {
bundle.putLong(str, ((Number) obj).longValue());
} else if (obj instanceof Short) {
bundle.putShort(str, ((Number) obj).shortValue());
} else if (obj instanceof Bundle) {
bundle.putBundle(str, (Bundle) obj);
} else if (obj instanceof CharSequence) {
bundle.putCharSequence(str, (CharSequence) obj);
} else if (obj instanceof Parcelable) {
bundle.putParcelable(str, (Parcelable) obj);
} else if (obj instanceof boolean[]) {
bundle.putBooleanArray(str, (boolean[]) obj);
} else if (obj instanceof byte[]) {
bundle.putByteArray(str, (byte[]) obj);
} else if (obj instanceof char[]) {
bundle.putCharArray(str, (char[]) obj);
} else if (obj instanceof double[]) {
bundle.putDoubleArray(str, (double[]) obj);
} else if (obj instanceof float[]) {
bundle.putFloatArray(str, (float[]) obj);
} else if (obj instanceof int[]) {
bundle.putIntArray(str, (int[]) obj);
} else if (obj instanceof long[]) {
bundle.putLongArray(str, (long[]) obj);
} else if (obj instanceof short[]) {
bundle.putShortArray(str, (short[]) obj);
} else if (obj instanceof Object[]) {
Class<?> componentType = obj.getClass().getComponentType();
Intrinsics.e(componentType);
if (Parcelable.class.isAssignableFrom(componentType)) {
bundle.putParcelableArray(str, (Parcelable[]) obj);
} else if (String.class.isAssignableFrom(componentType)) {
bundle.putStringArray(str, (String[]) obj);
} else if (CharSequence.class.isAssignableFrom(componentType)) {
bundle.putCharSequenceArray(str, (CharSequence[]) obj);
} else {
if (!Serializable.class.isAssignableFrom(componentType)) {
throw new IllegalArgumentException("Illegal value array type " + componentType.getCanonicalName() + " for key \"" + str + '\"');
}
bundle.putSerializable(str, (Serializable) obj);
}
} else if (obj instanceof Serializable) {
bundle.putSerializable(str, (Serializable) obj);
} else if (obj instanceof IBinder) {
bundle.putBinder(str, (IBinder) obj);
} else if (obj instanceof Size) {
c2.a.a(bundle, str, (Size) obj);
} else {
if (!(obj instanceof SizeF)) {
throw new IllegalArgumentException("Illegal value type " + obj.getClass().getCanonicalName() + " for key \"" + str + '\"');
}
c2.a.b(bundle, str, (SizeF) obj);
}
}
return bundle;
}
public static final void p(Function1 function1, Object obj, CoroutineContext coroutineContext) {
Kp.z q = q(function1, obj, null);
if (q != null) {
com.bumptech.glide.d.L(q, coroutineContext);
}
}
public static final Kp.z q(Function1 function1, Object obj, Kp.z zVar) {
try {
function1.invoke(obj);
} catch (Throwable th) {
if (zVar == null || zVar.getCause() == th) {
return new Kp.z(androidx.datastore.preferences.protobuf.o.j(obj, "Exception in undelivered element handler for "), th);
}
mp.f.a(zVar, th);
}
return zVar;
}
public static final long s(l lVar, int i) {
p pVar = (p) lVar;
Context context = (Context) pVar.k(AndroidCompositionLocals_androidKt.b);
Resources Z = a.a.Z(pVar);
Resources.Theme theme = context.getTheme();
ThreadLocal threadLocal = W1.j.a;
return N.e(Z.getColor(i, theme));
}
public static void t(JSONObject jSONObject) {
Iterator<String> keys = jSONObject.keys();
while (keys.hasNext()) {
String next = keys.next();
JSONObject optJSONObject = jSONObject.optJSONObject(next);
if (optJSONObject != null) {
String optString = optJSONObject.optString("k");
String optString2 = optJSONObject.optString("v");
Intrinsics.checkNotNullExpressionValue(optString, "k");
if (optString.length() != 0) {
CopyOnWriteArraySet a2 = r8.c.a();
Intrinsics.checkNotNullExpressionValue(next, "key");
List Q = StringsKt.Q(optString, new String[]{","}, 0, 6);
Intrinsics.checkNotNullExpressionValue(optString2, "v");
a2.add(new r8.c(next, optString2, Q));
}
}
}
}
public static boolean u(Object[] objArr, C0481d c0481d) {
int length = objArr != null ? objArr.length : 0;
int i = 0;
while (true) {
if (i >= length) {
break;
}
if (!Ea.h.m(objArr[i], c0481d)) {
i++;
} else if (i >= 0) {
return true;
}
}
return false;
}
public static void v(sq.n nVar, sq.y yVar) {
if (nVar.c(yVar)) {
return;
}
Intrinsics.checkNotNullParameter(yVar, "file");
try {
nVar.h(yVar, false).close();
} catch (RuntimeException e) {
throw e;
} catch (Exception unused) {
}
}
public static final void w(sq.n nVar, sq.y yVar) {
try {
IOException iOException = null;
for (sq.y yVar2 : nVar.d(yVar)) {
try {
if (nVar.e(yVar2).c) {
w(nVar, yVar2);
}
Intrinsics.checkNotNullParameter(yVar2, "path");
nVar.a(yVar2);
} catch (IOException e) {
if (iOException == null) {
iOException = e;
}
}
}
if (iOException != null) {
throw iOException;
}
} catch (FileNotFoundException unused) {
}
}
public static boolean x(bg.b bVar, bg.b bVar2) {
return ((Comparable) bVar).compareTo(bVar2) == 0;
}
public static int y(HandwritingGesture handwritingGesture, s sVar) {
String s = X.m.s(handwritingGesture);
if (s == null) {
return 3;
}
sVar.invoke(new i1.a(s, 1));
return 5;
}
public String B() {
return null;
}
public abstract void D(int i);
public abstract boolean E();
public void N(boolean z) {
}
public abstract void O(boolean z);
public abstract void P();
public abstract void Q(int i);
public String z() {
return null;
}
public static final void b(java.lang.String r34, com.vlv.aravali.common.models.Show r35, kotlin.jvm.functions.Function1 r36, h0.l r37, int r38) {
throw new UnsupportedOperationException("Method not decompiled: Xb.e.b(java.lang.String, com.vlv.aravali.common.models.Show, kotlin.jvm.functions.Function1, h0.l, int):void");
}
public static final void g(List list, Bf.g gVar, Function1 function1, l lVar, int i) {
int i2;
Intrinsics.checkNotNullParameter(list, "contentItemViewStateList");
Intrinsics.checkNotNullParameter(gVar, "onEvent");
Intrinsics.checkNotNullParameter(function1, UGAElDSWVInPx.FjQhYsYu);
p pVar = (p) lVar;
pVar.a0(160388021);
if ((i & 6) == 0) {
i2 = (pVar.i(list) ? 4 : 2) | i;
} else {
i2 = i;
}
if ((i & 48) == 0) {
i2 |= pVar.i(gVar) ? 32 : 16;
}
if ((i & 384) == 0) {
i2 |= pVar.i(function1) ? 256 : 128;
}
if ((i2 & 147) == 146 && pVar.C()) {
pVar.S();
} else if (!list.isEmpty()) {
int size = list.size() * 10;
int i3 = size / 2;
pVar.Y(750759492);
boolean e = pVar.e(size);
Object M = pVar.M();
V v = k.a;
if (e || M == v) {
M = new r(size, 0);
pVar.j0(M);
}
pVar.q(false);
R.d b2 = R.N.b(i3, (Function0) M, pVar, 0, 2);
pVar.Y(750761243);
boolean g = ((i2 & 896) == 256) | pVar.g(b2) | pVar.i(list);
Object M2 = pVar.M();
if (g || M2 == v) {
M2 = new Ck.u(b2, list, function1, (pp.c) null);
pVar.j0(M2);
}
pVar.q(false);
h0.w.f(pVar, b2, (Function2) M2);
int size2 = list.size();
if (size2 < 0) {
K.a.a("pages should be greater than or equal to 0. You have used " + size2 + '.');
}
android.support.v4.media.session.h.b(b2, (u0.s) null, androidx.compose.foundation.layout.a.a((((Configuration) pVar.k(AndroidCompositionLocals_androidKt.a)).screenWidthDp - Constants.ACTION_DISABLE_AUTO_SUBMIT) / 2, 0.0f, 2), new R.k(Constants.ACTION_DISABLE_AUTO_SUBMIT), 0, 0.0f, (u0.e) null, a.a.H(b2, new R.C(size2), (E.m0) null, pVar, 0, 28), false, false, (Function1) null, (L0.a) null, (I.q) null, (AndroidEdgeEffectOverscrollEffect) null, p0.d.e(-1963840815, new Ck.x(list, b2, gVar, 0), pVar), pVar, 0, 24576, 16242);
}
r0 u = pVar.u();
if (u != null) {
u.d = new Bm.w(i, 1, list, gVar, function1);
}
}
}