84.8 - Beta (84108)

This commit is contained in:
Juby210 2021-07-22 09:57:51 +02:00
parent 21210377d3
commit 98c7f68787
3475 changed files with 19467 additions and 18135 deletions

View file

@ -10,8 +10,8 @@ android {
applicationId 'com.discord'
minSdkVersion 21
targetSdkVersion 29
versionCode 84107
versionName "84.7 - Beta"
versionCode 84108
versionName "84.8 - Beta"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="84107" android:versionName="84.7 - Beta" android:installLocation="auto" android:compileSdkVersion="30" android:compileSdkVersionCodename="11" package="com.discord" platformBuildVersionCode="30" platformBuildVersionName="11">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="84108" android:versionName="84.8 - Beta" android:installLocation="auto" android:compileSdkVersion="30" android:compileSdkVersionCodename="11" package="com.discord" platformBuildVersionCode="30" platformBuildVersionName="11">
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="29"/>
<uses-feature android:name="android.hardware.camera" android:required="false"/>
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>

View file

@ -30,7 +30,7 @@ public class ResultReceiver implements Parcelable {
}
}
public class b extends a.AbstractBinderC0355a {
public class b extends a.AbstractBinderC0356a {
public b() {
}
@ -44,12 +44,12 @@ public class ResultReceiver implements Parcelable {
public ResultReceiver(Parcel parcel) {
x.a.b.c.a aVar;
IBinder readStrongBinder = parcel.readStrongBinder();
int i = a.AbstractBinderC0355a.a;
int i = a.AbstractBinderC0356a.a;
if (readStrongBinder == null) {
aVar = null;
} else {
IInterface queryLocalInterface = readStrongBinder.queryLocalInterface("android.support.v4.os.IResultReceiver");
aVar = (queryLocalInterface == null || !(queryLocalInterface instanceof x.a.b.c.a)) ? new a.AbstractBinderC0355a.C0356a(readStrongBinder) : (x.a.b.c.a) queryLocalInterface;
aVar = (queryLocalInterface == null || !(queryLocalInterface instanceof x.a.b.c.a)) ? new a.AbstractBinderC0356a.C0357a(readStrongBinder) : (x.a.b.c.a) queryLocalInterface;
}
this.i = aVar;
}

View file

@ -48,7 +48,7 @@ public class CustomTabsClient {
}
/* renamed from: androidx.browser.customtabs.CustomTabsClient$2 reason: invalid class name */
public class AnonymousClass2 extends a.AbstractBinderC0344a {
public class AnonymousClass2 extends a.AbstractBinderC0345a {
private Handler mHandler = new Handler(Looper.getMainLooper());
public final /* synthetic */ CustomTabsCallback val$callback;
@ -219,7 +219,7 @@ public class CustomTabsClient {
}
}
private a.AbstractBinderC0344a createCallbackWrapper(@Nullable CustomTabsCallback customTabsCallback) {
private a.AbstractBinderC0345a createCallbackWrapper(@Nullable CustomTabsCallback customTabsCallback) {
return new AnonymousClass2(customTabsCallback);
}
@ -270,7 +270,7 @@ public class CustomTabsClient {
@Nullable
private CustomTabsSession newSessionInternal(@Nullable CustomTabsCallback customTabsCallback, @Nullable PendingIntent pendingIntent) {
boolean z2;
a.AbstractBinderC0344a createCallbackWrapper = createCallbackWrapper(customTabsCallback);
a.AbstractBinderC0345a createCallbackWrapper = createCallbackWrapper(customTabsCallback);
if (pendingIntent != null) {
try {
Bundle bundle = new Bundle();

View file

@ -83,8 +83,8 @@ public class CustomTabsSessionToken {
}
}
public static class MockCallback extends a.AbstractBinderC0344a {
@Override // x.a.a.a.AbstractBinderC0344a, android.os.IInterface
public static class MockCallback extends a.AbstractBinderC0345a {
@Override // x.a.a.a.AbstractBinderC0345a, android.os.IInterface
public IBinder asBinder() {
return this;
}
@ -150,7 +150,7 @@ public class CustomTabsSessionToken {
return null;
}
if (binder != null) {
aVar = a.AbstractBinderC0344a.asInterface(binder);
aVar = a.AbstractBinderC0345a.asInterface(binder);
}
return new CustomTabsSessionToken(aVar, pendingIntent);
}

View file

@ -26,7 +26,7 @@ public abstract class PostMessageServiceConnection implements PostMessageBackend
public PostMessageServiceConnection(@NonNull CustomTabsSessionToken customTabsSessionToken) {
IBinder callbackBinder = customTabsSessionToken.getCallbackBinder();
if (callbackBinder != null) {
this.mSessionBinder = a.AbstractBinderC0344a.asInterface(callbackBinder);
this.mSessionBinder = a.AbstractBinderC0345a.asInterface(callbackBinder);
return;
}
throw new IllegalArgumentException("Provided session must have binder.");

View file

@ -15,7 +15,7 @@ public class TrustedWebActivityCallbackRemote {
@Nullable
public static TrustedWebActivityCallbackRemote fromBinder(@Nullable IBinder iBinder) {
a asInterface = iBinder == null ? null : a.AbstractBinderC0348a.asInterface(iBinder);
a asInterface = iBinder == null ? null : a.AbstractBinderC0349a.asInterface(iBinder);
if (asInterface == null) {
return null;
}

View file

@ -23,7 +23,7 @@ public final class TrustedWebActivityServiceConnection {
private final b mService;
/* renamed from: androidx.browser.trusted.TrustedWebActivityServiceConnection$1 reason: invalid class name */
public class AnonymousClass1 extends a.AbstractBinderC0348a {
public class AnonymousClass1 extends a.AbstractBinderC0349a {
public final /* synthetic */ TrustedWebActivityCallback val$callback;
public AnonymousClass1(TrustedWebActivityCallback trustedWebActivityCallback) {

View file

@ -9,7 +9,7 @@ import android.os.RemoteException;
import x.a.b.a.a;
public abstract class NotificationCompatSideChannelService extends Service {
public class NotificationSideChannelStub extends a.AbstractBinderC0351a {
public class NotificationSideChannelStub extends a.AbstractBinderC0352a {
public NotificationSideChannelStub() {
}

View file

@ -224,7 +224,7 @@ public final class NotificationManagerCompat {
private void handleServiceConnected(ComponentName componentName, IBinder iBinder) {
ListenerRecord listenerRecord = this.mRecordMap.get(componentName);
if (listenerRecord != null) {
listenerRecord.service = a.AbstractBinderC0351a.asInterface(iBinder);
listenerRecord.service = a.AbstractBinderC0352a.asInterface(iBinder);
listenerRecord.retryCount = 0;
processListenerQueue(listenerRecord);
}

View file

@ -14,7 +14,7 @@ public final class RangeKt$toClosedRange$1 implements a<T> {
@Override // d0.d0.a
public boolean contains(T t) {
m.checkParameterIsNotNull(t, "value");
return a.C0191a.contains(this, t);
return a.C0192a.contains(this, t);
}
/* JADX WARNING: Unknown variable types count: 1 */
@ -30,6 +30,6 @@ public final class RangeKt$toClosedRange$1 implements a<T> {
}
public boolean isEmpty() {
return a.C0191a.isEmpty(this);
return a.C0192a.isEmpty(this);
}
}

View file

@ -233,7 +233,7 @@ public final class a extends AppDialog {
Object[] objArr = new Object[1];
Context context2 = getContext();
objArr[0] = context2 != null ? c.a.k.b.g(context2, i4, new Object[0], null, 4) : null;
charSequence = c.a.k.b.g(context, 2131894347, objArr, null, 4);
charSequence = c.a.k.b.g(context, 2131894348, objArr, null, 4);
}
} else {
Context context3 = getContext();
@ -241,7 +241,7 @@ public final class a extends AppDialog {
Object[] objArr2 = new Object[1];
Context context4 = getContext();
objArr2[0] = context4 != null ? c.a.k.b.g(context4, i4, new Object[0], null, 4) : null;
charSequence = c.a.k.b.g(context3, 2131894348, objArr2, null, 4);
charSequence = c.a.k.b.g(context3, 2131894349, objArr2, null, 4);
}
}
textView.setText(charSequence);

View file

@ -62,7 +62,7 @@ public final class a extends AppDialog {
ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui$default(ObservableExtensionsKt.restSubscribeOn$default(RestAPI.addRelationship$default(h.l, "User Profile", h.k, 2, null, 8, null), false, 1, null), h, null, 2, null), f.class, (Context) null, (Function1) null, new h(h), (Function0) null, (Function0) null, new g(h), 54, (Object) null);
} else if (i == 1) {
KProperty[] kPropertyArr2 = a.i;
((a) this.j).h().removeRelationship(2131894459);
((a) this.j).h().removeRelationship(2131894460);
} else if (i == 2) {
KProperty[] kPropertyArr3 = a.i;
((a) this.j).h().removeRelationship(2131888795);

View file

@ -20,7 +20,7 @@ public final class g extends o implements Function1<Void, Unit> {
@Override // kotlin.jvm.functions.Function1
public Unit invoke(Void r3) {
PublishSubject<f.b> publishSubject = this.this$0.j;
publishSubject.j.onNext(new f.b.C0003b(2131894458));
publishSubject.j.onNext(new f.b.C0003b(2131894459));
return Unit.a;
}
}

View file

@ -195,25 +195,25 @@ public final class a extends AppDialog {
if (eVar.g) {
TextView textView2 = aVar.g().b;
m.checkNotNullExpressionValue(textView2, "binding.premiumGuildSubscriptionCancelBody");
c.a.k.b.m(textView2, 2131892231, new Object[]{renderUtcDate$default}, null, 4);
c.a.k.b.m(textView2, 2131892232, new Object[]{renderUtcDate$default}, null, 4);
} else {
TextView textView3 = aVar.g().b;
m.checkNotNullExpressionValue(textView3, "binding.premiumGuildSubscriptionCancelBody");
c.a.k.b.m(textView3, 2131892230, new Object[]{renderUtcDate$default}, null, 4);
c.a.k.b.m(textView3, 2131892231, new Object[]{renderUtcDate$default}, null, 4);
}
aVar.g().f174c.setBackgroundColor(ColorCompat.getColor(aVar, 2131100324));
} else if (cVar2 instanceof f.c.b) {
TextView textView4 = aVar.g().f;
m.checkNotNullExpressionValue(textView4, "binding.premiumGuildSubscriptionCancelHeader");
textView4.setText(aVar.getString(2131892242));
textView4.setText(aVar.getString(2131892243));
TextView textView5 = aVar.g().b;
m.checkNotNullExpressionValue(textView5, "binding.premiumGuildSubscriptionCancelBody");
TimeUtils timeUtils2 = TimeUtils.INSTANCE;
String currentPeriodEnd2 = ((f.c.b) cVar2).f.getCurrentPeriodEnd();
Context requireContext2 = aVar.requireContext();
m.checkNotNullExpressionValue(requireContext2, "requireContext()");
c.a.k.b.m(textView5, 2131892243, new Object[]{TimeUtils.renderUtcDate$default(timeUtils2, currentPeriodEnd2, requireContext2, (String) null, (DateFormat) null, 0, 28, (Object) null)}, null, 4);
aVar.g().f174c.setText(aVar.getString(2131891821));
c.a.k.b.m(textView5, 2131892244, new Object[]{TimeUtils.renderUtcDate$default(timeUtils2, currentPeriodEnd2, requireContext2, (String) null, (DateFormat) null, 0, 28, (Object) null)}, null, 4);
aVar.g().f174c.setText(aVar.getString(2131891822));
aVar.g().f174c.setBackgroundColor(ColorCompat.getThemedColor(aVar, 2130969007));
} else if (cVar2 instanceof f.c.C0008c) {
Integer num = ((f.c.C0008c) cVar2).f;

View file

@ -195,21 +195,21 @@ public final class b extends AppDialog {
if (z3) {
TextView textView2 = bVar.g().f;
m.checkNotNullExpressionValue(textView2, "binding.premiumGuildSubscriptionUncancelHeader");
textView2.setText(bVar.getString(2131892266));
textView2.setText(bVar.getString(2131892267));
TextView textView3 = bVar.g().b;
m.checkNotNullExpressionValue(textView3, "binding.premiumGuildSubscriptionUncancelBody");
textView3.setText(bVar.getString(2131892263));
textView3.setText(bVar.getString(2131892264));
} else if (m.areEqual(cVar2, k.c.d.a)) {
TextView textView4 = bVar.g().f;
m.checkNotNullExpressionValue(textView4, "binding.premiumGuildSubscriptionUncancelHeader");
textView4.setText(bVar.getString(2131892262));
textView4.setText(bVar.getString(2131892263));
ImageView imageView = bVar.g().g;
m.checkNotNullExpressionValue(imageView, "binding.premiumGuildSubscriptionUncancelImage");
imageView.setVisibility(0);
TextView textView5 = bVar.g().b;
m.checkNotNullExpressionValue(textView5, "binding.premiumGuildSubscriptionUncancelBody");
textView5.setText(bVar.getString(2131892261));
bVar.g().f180c.setText(bVar.getString(2131891821));
textView5.setText(bVar.getString(2131892262));
bVar.g().f180c.setText(bVar.getString(2131891822));
} else if (cVar2 instanceof k.c.a) {
Integer num = ((k.c.a) cVar2).a;
if (num != null) {

View file

@ -41,8 +41,8 @@ public final class c extends AppDialog {
m.checkNotNullParameter(fragmentManager, "fragmentManager");
m.checkNotNullParameter(context, "context");
m.checkNotNullParameter(function0, "dismissListener");
CharSequence g = z2 ? c.a.k.b.g(context, 2131890051, new Object[0], null, 4) : c.a.k.b.g(context, 2131890034, new Object[0], null, 4);
CharSequence g2 = str == null ? c.a.k.b.g(context, 2131890036, new Object[]{StringResourceUtilsKt.getI18nPluralString(context, 2131755180, i, Integer.valueOf(i))}, null, 4) : z2 ? c.a.k.b.g(context, 2131890052, new Object[]{str, StringResourceUtilsKt.getI18nPluralString(context, 2131755181, i, Integer.valueOf(i))}, null, 4) : c.a.k.b.g(context, 2131890035, new Object[]{str, StringResourceUtilsKt.getI18nPluralString(context, 2131755178, i, Integer.valueOf(i))}, null, 4);
CharSequence g = z2 ? c.a.k.b.g(context, 2131890052, new Object[0], null, 4) : c.a.k.b.g(context, 2131890035, new Object[0], null, 4);
CharSequence g2 = str == null ? c.a.k.b.g(context, 2131890037, new Object[]{StringResourceUtilsKt.getI18nPluralString(context, 2131755180, i, Integer.valueOf(i))}, null, 4) : z2 ? c.a.k.b.g(context, 2131890053, new Object[]{str, StringResourceUtilsKt.getI18nPluralString(context, 2131755181, i, Integer.valueOf(i))}, null, 4) : c.a.k.b.g(context, 2131890036, new Object[]{str, StringResourceUtilsKt.getI18nPluralString(context, 2131755178, i, Integer.valueOf(i))}, null, 4);
c cVar = new c();
cVar.m = function0;
Bundle bundle = new Bundle();

View file

@ -39,13 +39,13 @@ public final class d extends o implements Function1<f.b, Unit> {
if ((state instanceof StorePremiumGuildSubscription.State.Loading) || (subscriptionsState instanceof StoreSubscriptions.SubscriptionsState.Loading)) {
obj = f.c.C0009f.f;
} else if ((state instanceof StorePremiumGuildSubscription.State.Failure) || (subscriptionsState instanceof StoreSubscriptions.SubscriptionsState.Failure)) {
obj = new f.c.C0008c(2131892236);
obj = new f.c.C0008c(2131892237);
} else if (!(state instanceof StorePremiumGuildSubscription.State.Loaded) || !(subscriptionsState instanceof StoreSubscriptions.SubscriptionsState.Loaded)) {
obj = new f.c.C0008c(2131892236);
obj = new f.c.C0008c(2131892237);
} else {
ModelSubscription modelSubscription = (ModelSubscription) u.firstOrNull((List<? extends Object>) ((StoreSubscriptions.SubscriptionsState.Loaded) subscriptionsState).getSubscriptions());
if (modelSubscription == null) {
obj = new f.c.C0008c(2131892236);
obj = new f.c.C0008c(2131892237);
} else if (fVar.getViewState() instanceof f.c.b) {
obj = new f.c.b(modelSubscription);
} else {

View file

@ -32,10 +32,10 @@ public final class i extends o implements Function1<k.b, Unit> {
if (subscriptionsState instanceof StoreSubscriptions.SubscriptionsState.Loading) {
obj = k.c.C0010c.a;
} else if (subscriptionsState instanceof StoreSubscriptions.SubscriptionsState.Failure) {
obj = new k.c.a(2131892236);
obj = new k.c.a(2131892237);
} else if (subscriptionsState instanceof StoreSubscriptions.SubscriptionsState.Loaded) {
ModelSubscription modelSubscription = (ModelSubscription) u.firstOrNull((List<? extends Object>) ((StoreSubscriptions.SubscriptionsState.Loaded) subscriptionsState).getSubscriptions());
obj = modelSubscription == null ? new k.c.a(2131892236) : new k.c.b(modelSubscription, false, false);
obj = modelSubscription == null ? new k.c.a(2131892237) : new k.c.b(modelSubscription, false, false);
} else {
obj = new k.c.a(null, 1);
}

View file

@ -363,29 +363,29 @@ public final class a extends AppDialog {
String str;
super.onCreate(bundle);
AppDialog.hideKeyboard$default(this, null, 1, null);
String string2 = getString(2131892519);
String string2 = getString(2131892520);
m.checkNotNullExpressionValue(string2, "getString(R.string.premi…psell_tag_passive_mobile)");
String string3 = getString(2131892518);
String string3 = getString(2131892519);
m.checkNotNullExpressionValue(string3, "getString(R.string.premi…l_tag_description_mobile)");
String string4 = getString(2131892505);
String string4 = getString(2131892506);
m.checkNotNullExpressionValue(string4, "getString(R.string.premi…ell_emoji_passive_mobile)");
String string5 = getString(2131892502);
String string5 = getString(2131892503);
m.checkNotNullExpressionValue(string5, "getString(R.string.premi…emoji_description_mobile)");
String string6 = getString(2131892495);
String string6 = getString(2131892496);
m.checkNotNullExpressionValue(string6, "getString(R.string.premi…ed_emojis_passive_mobile)");
String string7 = getString(2131892494);
String string7 = getString(2131892495);
m.checkNotNullExpressionValue(string7, "getString(R.string.premi…mojis_description_mobile)");
CharSequence j2 = c.a.k.b.j(this, 2131892523, new Object[0], null, 4);
CharSequence j2 = c.a.k.b.j(this, 2131892524, new Object[0], null, 4);
Object[] objArr = {c.a.k.b.j(this, 2131888520, new Object[0], null, 4), c.a.k.b.j(this, 2131888518, new Object[0], null, 4)};
String string8 = getString(2131892490);
String string8 = getString(2131892491);
m.checkNotNullExpressionValue(string8, "getString(R.string.premi…ed_avatar_passive_mobile)");
String string9 = getString(2131892489);
String string9 = getString(2131892490);
m.checkNotNullExpressionValue(string9, "getString(R.string.premi…vatar_description_mobile)");
String string10 = getString(2131892498);
String string10 = getString(2131892499);
m.checkNotNullExpressionValue(string10, "getString(R.string.premi…ell_badge_passive_mobile)");
String string11 = getString(2131892497);
String string11 = getString(2131892498);
m.checkNotNullExpressionValue(string11, "getString(R.string.premi…badge_description_mobile)");
List listOf = n.listOf((Object[]) new c[]{new c(2131232262, string2, string3), new c(2131232186, string4, string5), new c(2131232138, string6, string7), new c(2131232263, j2, c.a.k.b.j(this, 2131892522, objArr, null, 4)), new c(2131232141, string8, string9), new c(2131232144, string10, string11)});
List listOf = n.listOf((Object[]) new c[]{new c(2131232262, string2, string3), new c(2131232186, string4, string5), new c(2131232138, string6, string7), new c(2131232263, j2, c.a.k.b.j(this, 2131892523, objArr, null, 4)), new c(2131232141, string8, string9), new c(2131232144, string10, string11)});
Bundle arguments = getArguments();
int i2 = arguments != null ? arguments.getInt("extra_page_number") : 0;
Bundle arguments2 = getArguments();

View file

@ -138,12 +138,12 @@ public final class b extends AppDialog {
requireDialog().setCanceledOnTouchOutside(true);
TextView textView = g().d;
m.checkNotNullExpressionValue(textView, "binding.premiumUpsellDescription");
c.a.k.b.m(textView, 2131892510, new Object[]{this.m}, null, 4);
c.a.k.b.m(textView, 2131892511, new Object[]{this.m}, null, 4);
TextView textView2 = g().e;
m.checkNotNullExpressionValue(textView2, "binding.premiumUpsellServerPerk");
Context requireContext = requireContext();
m.checkNotNullExpressionValue(requireContext, "requireContext()");
c.a.k.b.m(textView2, 2131892508, new Object[]{StringResourceUtilsKt.getI18nPluralString(requireContext, 2131755296, 2, 2)}, null, 4);
c.a.k.b.m(textView2, 2131892509, new Object[]{StringResourceUtilsKt.getI18nPluralString(requireContext, 2131755296, 2, 2)}, null, 4);
TextView textView3 = g().b;
m.checkNotNullExpressionValue(textView3, "binding.continueButton");
textView3.setVisibility(this.n ^ true ? 0 : 8);

View file

@ -133,16 +133,16 @@ public final class d extends AppDialog {
}
requireDialog().setCanceledOnTouchOutside(true);
boolean z2 = getArgumentsOrDefault().getBoolean("ARG_IS_TIER_1");
CharSequence j2 = c.a.k.b.j(this, z2 ? 2131892466 : 2131892468, new Object[0], null, 4);
CharSequence j2 = c.a.k.b.j(this, z2 ? 2131892467 : 2131892469, new Object[0], null, 4);
TextView textView = g().d;
m.checkNotNullExpressionValue(textView, "binding.premiumUpsellYearlyTitle");
c.a.k.b.m(textView, 2131892526, new Object[]{NumberFormat.getPercentInstance().format(Float.valueOf(0.16f)), j2}, null, 4);
c.a.k.b.m(textView, 2131892527, new Object[]{NumberFormat.getPercentInstance().format(Float.valueOf(0.16f)), j2}, null, 4);
TextView textView2 = g().f192c;
m.checkNotNullExpressionValue(textView2, "binding.premiumUpsellYearlyDescription");
c.a.k.b.m(textView2, 2131892525, new Object[]{NumberFormat.getPercentInstance().format(Float.valueOf(0.16f))}, null, 4);
c.a.k.b.m(textView2, 2131892526, new Object[]{NumberFormat.getPercentInstance().format(Float.valueOf(0.16f))}, null, 4);
MaterialButton materialButton = g().f;
m.checkNotNullExpressionValue(materialButton, "binding.purchasePremiumYearly");
c.a.k.b.m(materialButton, 2131892524, new Object[]{this.m}, null, 4);
c.a.k.b.m(materialButton, 2131892525, new Object[]{this.m}, null, 4);
g().b.setImageResource(z2 ? 2131232246 : 2131232247);
TextView textView3 = g().e;
m.checkNotNullExpressionValue(textView3, "binding.purchasePremiumMonthly");

View file

@ -165,7 +165,7 @@ public final class a extends AppDialog {
}
TextView textView = g().b;
m.checkNotNullExpressionValue(textView, "binding.maskedLinksBodyText");
c.a.k.b.m(textView, 2131891128, new Object[]{obj}, null, 4);
c.a.k.b.m(textView, 2131891129, new Object[]{obj}, null, 4);
g().f86c.setOnClickListener(new d(this));
g().d.setOnClickListener(new View$OnClickListenerC0016a(0, this, str));
g().e.setOnClickListener(new View$OnClickListenerC0016a(1, this, str));

View file

@ -97,6 +97,6 @@ public final class i extends AppDialog {
Integer valueOf = arguments != null ? Integer.valueOf(arguments.getInt("ARG_MAX_VIDEO_CHANNEL_USERS")) : null;
TextView textView = ((e) this.k.getValue((Fragment) this, kPropertyArr[0])).b;
m.checkNotNullExpressionValue(textView, "binding.cameraCapacityBody");
textView.setText(c.a.k.b.j(this, 2131894731, new Object[]{String.valueOf(valueOf)}, null, 4));
textView.setText(c.a.k.b.j(this, 2131894732, new Object[]{String.valueOf(valueOf)}, null, 4));
}
}

View file

@ -94,11 +94,11 @@ public final class r extends AppDialog {
KProperty[] kPropertyArr = r.i;
TextView textView = rVar.g().f152c;
m.checkNotNullExpressionValue(textView, "binding.viewDialogConfirmationHeader");
textView.setText(rVar.getString(2131893945));
textView.setText(rVar.getString(2131893946));
TextView textView2 = rVar.g().d;
m.checkNotNullExpressionValue(textView2, "binding.viewDialogConfirmationText");
textView2.setText(rVar.getString(2131893944));
rVar.g().b.setText(rVar.getString(2131891821));
textView2.setText(rVar.getString(2131893945));
rVar.g().b.setText(rVar.getString(2131891822));
rVar.g().b.setIsLoading(dVar2.b);
rVar.g().b.setOnClickListener(new s(rVar));
return Unit.a;
@ -127,7 +127,7 @@ public final class r extends AppDialog {
if (m.areEqual(bVar2, v.b.a.a)) {
rVar.dismiss();
} else if (m.areEqual(bVar2, v.b.C0018b.a)) {
c.a.d.o.g(rVar.getContext(), 2131890611, 0, null, 12);
c.a.d.o.g(rVar.getContext(), 2131890612, 0, null, 12);
} else {
throw new NoWhenBranchMatchedException();
}

View file

@ -205,7 +205,7 @@ public final class a extends AppDialog {
Pair pair = SubscriptionPlanType.Companion.from(inAppSku.getPaymentGatewaySkuId()).getInterval() == SubscriptionInterval.MONTHLY ? new Pair(2131886533, 2131755023) : new Pair(2131886536, 2131755026);
int intValue = ((Number) pair.component1()).intValue();
int intValue2 = ((Number) pair.component2()).intValue();
String string2 = getString(giftingUtils.getTierForSku(inAppSku.getSkuId()) == PremiumTier.TIER_1 ? 2131892466 : 2131892468);
String string2 = getString(giftingUtils.getTierForSku(inAppSku.getSkuId()) == PremiumTier.TIER_1 ? 2131892467 : 2131892469);
m.checkNotNullExpressionValue(string2, "getString(\n if (G…ring.premium_tier_2\n )");
TextView textView = g().g;
m.checkNotNullExpressionValue(textView, "binding.giftPurchasedDialogSubtext");

View file

@ -306,7 +306,7 @@ public final class c extends AppDialog {
m.checkNotNullExpressionValue(materialButton5, "binding.acceptGiftConfirm");
Context context3 = cVar6.getContext();
if (context3 != null) {
charSequence = context3.getText(2131892828);
charSequence = context3.getText(2131892829);
}
materialButton5.setText(charSequence);
cVar6.h().d.setOnClickListener(new f(0, redeemedFailed));

View file

@ -23,7 +23,7 @@ public final class e extends o implements Function1<Exception, Unit> {
Exception exc2 = exc;
m.checkNotNullParameter(exc2, "e");
AppFragment appFragment = this.this$0.this$0;
o.j(appFragment, b.j(appFragment, 2131894271, new Object[]{exc2.getMessage()}, null, 4), 0, 4);
o.j(appFragment, b.j(appFragment, 2131894272, new Object[]{exc2.getMessage()}, null, 4), 0, 4);
return Unit.a;
}
}

View file

@ -86,7 +86,7 @@ public final class j implements AppPermissionsRequests {
m.checkNotNullParameter(map, "it");
Function0 function0 = this.$onFailure;
if (function0 == null || ((Unit) function0.mo1invoke()) == null) {
j.a(this.this$0, 2131892018);
j.a(this.this$0, 2131892019);
}
return Unit.a;
}
@ -127,7 +127,7 @@ public final class j implements AppPermissionsRequests {
@Override // kotlin.jvm.functions.Function1
public Unit invoke(Map<String, ? extends Boolean> map) {
m.checkNotNullParameter(map, "it");
j.a(this.this$0, 2131892011);
j.a(this.this$0, 2131892012);
return Unit.a;
}
}
@ -147,7 +147,7 @@ public final class j implements AppPermissionsRequests {
@Override // kotlin.jvm.functions.Function1
public Unit invoke(Map<String, ? extends Boolean> map) {
m.checkNotNullParameter(map, "it");
j.a(this.this$0, 2131892012);
j.a(this.this$0, 2131892013);
return Unit.a;
}
}
@ -196,7 +196,7 @@ public final class j implements AppPermissionsRequests {
m.checkNotNullParameter(map, "it");
Function0 function0 = this.$onFailure;
if (function0 == null || ((Unit) function0.mo1invoke()) == null) {
j.a(this.this$0, 2131892013);
j.a(this.this$0, 2131892014);
}
return Unit.a;
}
@ -223,16 +223,16 @@ public final class j implements AppPermissionsRequests {
obj = Boolean.FALSE;
}
if (!((Boolean) obj).booleanValue()) {
j.a(this.this$0, 2131892013);
j.a(this.this$0, 2131892014);
} else {
Object obj2 = map2.get("android.permission.CAMERA");
if (obj2 == null) {
obj2 = Boolean.FALSE;
}
if (!((Boolean) obj2).booleanValue()) {
j.a(this.this$0, 2131891530);
j.a(this.this$0, 2131891531);
} else {
j.a(this.this$0, 2131891530);
j.a(this.this$0, 2131891531);
}
}
return Unit.a;

View file

@ -209,7 +209,7 @@ public final class b {
m.checkNotNullParameter(objArr, "formatArgs");
m.checkNotNullParameter(renderContext, "renderContext");
Map<String, String> map = renderContext.a;
List<? extends Object> list = renderContext.f2030c;
List<? extends Object> list = renderContext.f2031c;
boolean z2 = true;
if (!map.isEmpty()) {
charSequence = a.replace(charSequence, new f(map));

View file

@ -38,7 +38,7 @@ public final class c extends Node.a<RenderContext> {
spannableStringBuilder.setSpan(obj2, length, spannableStringBuilder.length(), 33);
}
}
Hook.a aVar2 = hook != null ? hook.f2029c : null;
Hook.a aVar2 = hook != null ? hook.f2030c : null;
if (aVar2 != null) {
aVar = aVar2;
} else if (URLUtil.isValidUrl(this.a)) {

View file

@ -33,7 +33,7 @@ public final class a extends Parser<RenderContext, Node<RenderContext>, c> {
Pattern pattern5 = c.a.t.b.b.e.g;
m.checkNotNullExpressionValue(pattern5, "SimpleMarkdownRules.PATTERN_ITALICS");
addRule(new h(pattern5));
Pattern pattern6 = c.a.t.b.b.e.f234c;
Pattern pattern6 = c.a.t.b.b.e.f235c;
m.checkNotNullExpressionValue(pattern6, "SimpleMarkdownRules.PATTERN_STRIKETHRU");
addRule(new i(pattern6));
addRule(eVar.d());

View file

@ -50,9 +50,9 @@ public final class b0 implements MediaEngineConnection.d {
rtcConnection.n = dVar;
rtcConnection.o = false;
}
if (transportInfo.f2111c.ordinal() != 0) {
if (transportInfo.f2112c.ordinal() != 0) {
StringBuilder K = c.d.b.a.a.K("Unsupported protocol: ");
K.append(transportInfo.f2111c);
K.append(transportInfo.f2112c);
K.append('.');
RtcConnection.k(rtcConnection, true, K.toString(), null, false, 12);
} else {

View file

@ -67,7 +67,7 @@ public final class g0 implements a.d {
rtcConnection.n = null;
rtcConnection.o = false;
}
rtcConnection.f2098z = 0;
rtcConnection.f2099z = 0;
rtcConnection.C = null;
MediaSinkWantsManager mediaSinkWantsManager = rtcConnection.F;
if (mediaSinkWantsManager != null) {
@ -255,7 +255,7 @@ public final class g0 implements a.d {
r.removeFirst(rtcConnection.u);
}
if (j > ((long) 500)) {
rtcConnection.f2098z++;
rtcConnection.f2099z++;
}
double d = (double) j;
Objects.requireNonNull(RtcConnection.Quality.Companion);

View file

@ -34,7 +34,7 @@ public final class j extends o implements Function0<Unit> {
Long l2 = this.$userId;
if (l2 == null) {
this.this$0.e = null;
} else if (this.this$0.f2091c.contains(l2)) {
} else if (this.this$0.f2092c.contains(l2)) {
MediaSinkWantsManager mediaSinkWantsManager2 = this.this$0;
Long l3 = this.$userId;
mediaSinkWantsManager2.e = l3;

View file

@ -96,10 +96,10 @@ public final class l extends o implements Function0<Unit> {
}
if (arrayList2.isEmpty()) {
this.this$0.b.remove(Long.valueOf(this.$userId));
this.this$0.f2091c.remove(Long.valueOf(this.$userId));
this.this$0.f2092c.remove(Long.valueOf(this.$userId));
} else {
this.this$0.b.put(Long.valueOf(this.$userId), arrayList2);
this.this$0.f2091c.add(Long.valueOf(this.$userId));
this.this$0.f2092c.add(Long.valueOf(this.$userId));
}
this.this$0.d(arrayList2.isEmpty() ? n.emptyList() : d0.t.m.listOf(String.valueOf(this.$userId)));
return Unit.a;

View file

@ -215,7 +215,7 @@ public final class b extends ScreenCapturerAndroid {
if (thumbnailEmitter != null) {
synchronized (thumbnailEmitter) {
thumbnailEmitter.d.release();
thumbnailEmitter.f2114c.release();
thumbnailEmitter.f2115c.release();
JniCommon.nativeFreeByteBuffer(thumbnailEmitter.b);
thumbnailEmitter.a = Long.MAX_VALUE;
}

View file

@ -290,7 +290,7 @@ public final class e implements MediaEngineConnection {
Connection connection2 = connection;
d0.z.d.m.checkNotNullParameter(connection2, "$receiver");
connection2.setVADLeadingFramesToBuffer(this.$inputModeOptions.b);
connection2.setVADTrailingFramesToSend(this.$inputModeOptions.f2113c);
connection2.setVADTrailingFramesToSend(this.$inputModeOptions.f2114c);
connection2.setVADTriggerThreshold((float) this.$inputModeOptions.a);
connection2.setVADAutoThreshold(this.$inputModeOptions.d ? 3 : -1);
connection2.setVADUseKrisp(this.$inputModeOptions.e);
@ -433,7 +433,7 @@ public final class e implements MediaEngineConnection {
Connection connection2 = connection;
d0.z.d.m.checkNotNullParameter(connection2, "$receiver");
MediaEngineConnection.b bVar = this.$quality;
connection2.setEncodingQuality(bVar.a, bVar.b, bVar.f2112c, bVar.d, this.$framerate);
connection2.setEncodingQuality(bVar.a, bVar.b, bVar.f2113c, bVar.d, this.$framerate);
return Unit.a;
}
}
@ -568,7 +568,7 @@ public final class e implements MediaEngineConnection {
MediaEngineConnection.ConnectionState connectionState = MediaEngineConnection.ConnectionState.CONNECTING;
this.f214c = connectionState;
this.e = h0.mutableMapOf(d0.o.to(Long.valueOf(j2), Integer.valueOf(aVar.a)));
Connection connectToServer = discord.connectToServer(aVar.a, j2, aVar.b, aVar.f2110c, type == MediaEngineConnection.Type.STREAM, new d(this));
Connection connectToServer = discord.connectToServer(aVar.a, j2, aVar.b, aVar.f2111c, type == MediaEngineConnection.Type.STREAM, new d(this));
d0.z.d.m.checkNotNullExpressionValue(connectToServer, "voiceEngineLegacy.connec…fo, errorMessage) }\n }");
connectToServer.setOnVideoCallback(new b(this));
connectToServer.setUserSpeakingStatusChangedCallback(new c(this));

View file

@ -353,7 +353,7 @@ public final class k implements MediaEngine {
discord2.setEchoCancellation(z2);
}
k kVar3 = this.this$0;
boolean z3 = voiceConfig.f2109c;
boolean z3 = voiceConfig.f2110c;
Discord discord3 = kVar3.f;
if (discord3 != null) {
discord3.setNoiseSuppression(z3);

View file

@ -669,7 +669,7 @@ public final class a extends WebSocketListener implements DebugPrintable {
aVar.a(1, TimeUnit.MINUTES);
SSLSocketFactory sSLSocketFactory = this.E;
if (sSLSocketFactory != null) {
h.a aVar2 = f0.f0.k.h.f2752c;
h.a aVar2 = f0.f0.k.h.f2753c;
aVar.b(sSLSocketFactory, f0.f0.k.h.a.n());
}
String C = c.d.b.a.a.C(new StringBuilder(), this.C, "?v=5");

View file

@ -124,13 +124,13 @@ public final /* synthetic */ class a extends k implements Function1<Stats, Unit>
if (booleanValue) {
krispOveruseDetector.d.f(KrispOveruseDetector.Status.CPU_OVERUSE);
} else if (longValue == 0) {
int i = krispOveruseDetector.f2090c + 1;
krispOveruseDetector.f2090c = i;
int i = krispOveruseDetector.f2091c + 1;
krispOveruseDetector.f2091c = i;
if (i > 2) {
krispOveruseDetector.d.f(KrispOveruseDetector.Status.FAILED);
}
} else {
krispOveruseDetector.f2090c = 0;
krispOveruseDetector.f2091c = 0;
}
}
krispOveruseDetector.b = stats2.getOutboundRtpAudio();

View file

@ -13,6 +13,6 @@ public final class r extends RtcConnection.b {
@Override // com.discord.rtcconnection.RtcConnection.b, com.discord.rtcconnection.RtcConnection.c
public void onStateChange(RtcConnection.StateChange stateChange) {
m.checkNotNullParameter(stateChange, "stateChange");
this.i.f2095s.onNext(stateChange);
this.i.f2096s.onNext(stateChange);
}
}

View file

@ -53,8 +53,8 @@ public final class s extends o implements Function0<Unit> {
rtcConnection.s("connecting via endpoint: " + replace$default + " token: " + str2);
try {
URI uri = new URI(t);
rtcConnection.f2096x = uri.getHost();
rtcConnection.f2097y = Integer.valueOf(uri.getPort());
rtcConnection.f2097x = uri.getHost();
rtcConnection.f2098y = Integer.valueOf(uri.getPort());
} catch (Exception e) {
rtcConnection.T.e(rtcConnection.k, "Failed to parse RTC endpoint", e, g0.mapOf(d0.o.to("endpoint", replace$default)));
}

View file

@ -74,7 +74,7 @@ public final class b extends k implements Function2<CoroutineScope, Continuation
}
String joinToString$default = u.joinToString$default(arrayList, "&", null, null, 0, null, null, 62, null);
RequestBody.Companion companion = RequestBody.Companion;
MediaType.a aVar = MediaType.f2872c;
MediaType.a aVar = MediaType.f2873c;
RequestBody a = companion.a(joinToString$default, MediaType.a.a("application/x-www-form-urlencoded"));
z.a aVar2 = new z.a();
m.checkParameterIsNotNull(a, "body");

View file

@ -3,7 +3,7 @@ package c.a.r;
import c.n.a.a.a;
import com.discord.samsung.SamsungConnectActivity;
/* compiled from: SamsungConnectActivity.kt */
public final class d extends a.AbstractBinderC0154a {
public final class d extends a.AbstractBinderC0155a {
public final /* synthetic */ SamsungConnectActivity a;
public d(SamsungConnectActivity samsungConnectActivity) {

View file

@ -52,7 +52,7 @@ public final class a extends Rule<R, Node<R>, S> {
if (list != null) {
List parse = parser.parse(group2, s2, list);
Objects.requireNonNull(parse, "null cannot be cast to non-null type kotlin.collections.List<com.discord.simpleast.core.node.Node<R>>");
aVar = new CodeNode.a.C0174a(group2, parse);
aVar = new CodeNode.a.C0175a(group2, parse);
} else {
aVar = new CodeNode.a.b(group2);
}

View file

@ -8,7 +8,7 @@ import com.discord.simpleast.core.parser.Rule;
import d0.z.d.m;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/* compiled from: Kotlin.kt */
/* compiled from: JavaScript.kt */
public final class h extends Rule<RC, Node<RC>, S> {
public final /* synthetic */ f a;

View file

@ -6,23 +6,24 @@ import d0.z.d.m;
import java.util.regex.Pattern;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.text.Regex;
/* compiled from: Kotlin.kt */
/* compiled from: JavaScript.kt */
public final class i {
public static final String[] a = {"public|private|internal|inline|lateinit|abstract|open|reified", "import|package", "class|interface|data|enum|sealed|object|typealias", "fun|override|this|super|where|constructor|init|param|delegate", "const|val|var|get|final|vararg|it", "return|break|continue|suspend", "for|while|do|if|else|when|try|catch|finally|throw", "in|out|is|as|typeof", "shr|ushr|shl|ushl", "true|false|null"};
public static final String[] b = {"true|false|Boolean|String|Char", "Int|UInt|Long|ULong|Float|Double|Byte|UByte|Short|UShort", "Self|Set|Map|MutableMap|List|MutableList|Array|Runnable|Unit", "arrayOf|listOf|mapOf|setOf|let|also|apply|run"};
public static final String[] a = {"import|export|default|package", "class|enum", "function|super|extends|implements|arguments", "var|let|const|static|get|set|new", "return|break|continue|yield|void", "if|else|for|while|do|switch|async|await|case|try|catch|finally|delete|throw|NaN|Infinity", "of|in|instanceof|typeof", "debugger|with", "true|false|null|undefined"};
public static final String[] b = {"String|Boolean|RegExp|Number|Date|Math|JSON|Symbol|BigInt|Atomics|DataView", "Function|Promise|Generator|GeneratorFunction|AsyncFunction|AsyncGenerator|AsyncGeneratorFunction", "Array|Object|Map|Set|WeakMap|WeakSet|Int8Array|Int16Array|Int32Array|Uint8Array|Uint16Array", "Uint32Array|Uint8ClampedArray|Float32Array|Float64Array|BigInt64Array|BigUint64Array|Buffer", "ArrayBuffer|SharedArrayBuffer", "Reflect|Proxy|Intl|WebAssembly", "console|process|require|isNaN|parseInt|parseFloat|encodeURI|decodeURI|encodeURIComponent", "decodeURIComponent|this|global|globalThis|eval|isFinite|module", "setTimeout|setInterval|clearTimeout|clearInterval|setImmediate|clearImmediate", "queueMicrotask|document|window", "Error|SyntaxError|TypeError|RangeError|ReferenceError|EvalError|InternalError|URIError", "AggregateError|escape|unescape|URL|URLSearchParams|TextEncoder|TextDecoder", "AbortController|AbortSignal|EventTarget|Event|MessageChannel", "MessagePort|MessageEvent|FinalizationRegistry|WeakRef", "regeneratorRuntime"};
/* renamed from: c reason: collision with root package name */
public static final Pattern f231c = Pattern.compile("^(?:(?://.*?(?=\\n|$))|(/\\*.*?\\*/))", 32);
public static final Pattern d = Pattern.compile("^@(\\w+)");
public static final Pattern e = Pattern.compile("^\"[\\s\\S]*?(?<!\\\\)\"(?=\\W|\\s|$)");
public static final i f = null;
public static final Pattern f231c = Pattern.compile("^/.*?/(?:\\w*)?", 32);
public static final Pattern d = Pattern.compile("^<(.*)>");
public static final Pattern e = Pattern.compile("^(?:(?://.*?(?=\\n|$))|(/\\*.*?\\*/))", 32);
public static final Pattern f = Pattern.compile("^('[\\s\\S]*?(?<!\\\\)'|\"[\\s\\S]*?(?<!\\\\)\"|`[\\s\\S]*?(?<!\\\\)`)(?=\\W|\\s|$)");
public static final i g = new i();
/* compiled from: Kotlin.kt */
/* compiled from: JavaScript.kt */
public static final class a<RC> extends Node.a<RC> {
public static final Pattern a = Pattern.compile("^(val|var)(\\s+\\w+)", 32);
public static final Pattern a = Pattern.compile("^(var|let|const)(\\s+[a-zA-Z_$](?:[a-zA-Z0-9_$])*?)", 32);
public static final C0041a b = new C0041a(null);
/* compiled from: Kotlin.kt */
/* compiled from: JavaScript.kt */
/* renamed from: c.a.t.a.i$a$a reason: collision with other inner class name */
public static final class C0041a {
public C0041a(DefaultConstructorMarker defaultConstructorMarker) {
@ -38,34 +39,53 @@ public final class i {
}
}
/* compiled from: Kotlin.kt */
/* compiled from: JavaScript.kt */
public static final class b<RC> extends Node.a<RC> {
public static final Pattern a = new Regex("^(fun)( *<.*>)?( \\w+)( *\\(.*?\\))", d0.g0.i.DOT_MATCHES_ALL).toPattern();
public static final Pattern a = new Regex("^(function\\*?|static|get|set|async)(\\s+[a-zA-Z_$](?:[a-zA-Z0-9_$])*?)?( *?\\(.*?\\))", d0.g0.i.DOT_MATCHES_ALL).toPattern();
public static final a b = new a(null);
/* compiled from: Kotlin.kt */
/* compiled from: JavaScript.kt */
public static final class a {
public a(DefaultConstructorMarker defaultConstructorMarker) {
}
}
/* JADX DEBUG: Can't convert new array creation: APUT found in different block: 0x0030: APUT
(r0v5 com.discord.simpleast.core.node.Node[])
/* JADX DEBUG: Can't convert new array creation: APUT found in different block: 0x002a: APUT
(r0v4 com.discord.simpleast.core.node.Node[])
(1 ??[boolean, int, float, short, byte, char])
(r4v2 com.discord.simpleast.core.node.StyleNode$b)
(r1v1 com.discord.simpleast.core.node.StyleNode$b)
*/
/* JADX WARNING: Illegal instructions before constructor call */
public b(String str, String str2, String str3, String str4, f<RC> fVar) {
public b(String str, String str2, String str3, f<RC> fVar) {
super(r0);
m.checkNotNullParameter(str, "pre");
m.checkNotNullParameter(str3, "signature");
m.checkNotNullParameter(str4, "params");
m.checkNotNullParameter(str3, "params");
m.checkNotNullParameter(fVar, "codeStyleProviders");
Node[] nodeArr = new Node[4];
Node[] nodeArr = new Node[3];
nodeArr[0] = new StyleNode.b(str, fVar.d);
nodeArr[1] = str2 != null ? new StyleNode.b(str2, fVar.g) : null;
nodeArr[2] = new StyleNode.b(str3, fVar.e);
nodeArr[3] = new StyleNode.b(str4, fVar.h);
nodeArr[1] = str2 != null ? new StyleNode.b(str2, fVar.e) : null;
nodeArr[2] = new StyleNode.b(str3, fVar.h);
}
}
/* compiled from: JavaScript.kt */
public static final class c<RC> extends Node.a<RC> {
public static final Pattern a = Pattern.compile("^([{\\[,])(\\s*[a-zA-Z0-9_$]*)(:)", 32);
public static final a b = new a(null);
/* compiled from: JavaScript.kt */
public static final class a {
public a(DefaultConstructorMarker defaultConstructorMarker) {
}
}
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public c(String str, String str2, String str3, f<RC> fVar) {
super(new StyleNode.b(str, fVar.a), new StyleNode.b(str2, fVar.e), new StyleNode.b(str3, fVar.a));
m.checkNotNullParameter(str, "prefix");
m.checkNotNullParameter(str2, "property");
m.checkNotNullParameter(str3, "suffix");
m.checkNotNullParameter(fVar, "codeStyleProviders");
}
}
}

View file

@ -8,7 +8,7 @@ import com.discord.simpleast.core.parser.Rule;
import d0.z.d.m;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/* compiled from: Kotlin.kt */
/* compiled from: JavaScript.kt */
public final class j extends Rule<RC, Node<RC>, S> {
public final /* synthetic */ f a;
@ -25,11 +25,9 @@ public final class j extends Rule<RC, Node<RC>, S> {
String group = matcher.group(1);
String group2 = matcher.group(2);
String group3 = matcher.group(3);
String group4 = matcher.group(4);
m.checkNotNull(group);
m.checkNotNull(group3);
m.checkNotNull(group4);
i.b bVar = new i.b(group, group2, group3, group4, this.a);
i.b bVar = new i.b(group, group2, group3, this.a);
m.checkNotNullParameter(bVar, "node");
return new ParseSpec<>(bVar, s2);
}

View file

@ -1,130 +1,35 @@
package c.a.t.a;
import android.text.SpannableStringBuilder;
import c.a.t.a.i;
import com.discord.simpleast.core.node.Node;
import com.discord.simpleast.core.node.StyleNode;
import d0.o;
import com.discord.simpleast.core.parser.ParseSpec;
import com.discord.simpleast.core.parser.Parser;
import com.discord.simpleast.core.parser.Rule;
import d0.z.d.m;
import java.util.Iterator;
import java.util.Objects;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import kotlin.Pair;
import kotlin.jvm.functions.Function1;
/* compiled from: Xml.kt */
public final class k {
public static final Pattern a;
public static final Pattern b;
/* compiled from: JavaScript.kt */
public final class k extends Rule<RC, Node<RC>, S> {
public final /* synthetic */ f a;
/* renamed from: c reason: collision with root package name */
public static final k f232c = new k();
/* compiled from: Xml.kt */
public static final class a<RC> extends Node.a<RC> {
public final String a;
public final String b;
/* renamed from: c reason: collision with root package name */
public final f<RC> f233c;
/* compiled from: Xml.kt */
/* renamed from: c.a.t.a.k$a$a reason: collision with other inner class name */
public static final /* synthetic */ class C0042a extends d0.z.d.k implements Function1<RC, Iterable<?>> {
public C0042a(StyleNode.a aVar) {
super(1, aVar, StyleNode.a.class, "get", "get(Ljava/lang/Object;)Ljava/lang/Iterable;", 0);
}
/* Return type fixed from 'java.lang.Object' to match base method */
@Override // kotlin.jvm.functions.Function1
public Iterable<?> invoke(Object obj) {
return ((StyleNode.a) this.receiver).get(obj);
}
}
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public a(String str, String str2, f<RC> fVar) {
super(new Node[0]);
m.checkNotNullParameter(str, "opening");
m.checkNotNullParameter(fVar, "codeStyleProviders");
this.a = str;
this.b = str2;
this.f233c = fVar;
}
@Override // com.discord.simpleast.core.node.Node.a, com.discord.simpleast.core.node.Node
public void render(SpannableStringBuilder spannableStringBuilder, RC rc) {
Pair pair;
m.checkNotNullParameter(spannableStringBuilder, "builder");
String str = this.a;
int length = str.length();
boolean z2 = false;
int i = 0;
while (true) {
if (i >= length) {
i = -1;
break;
}
char charAt = str.charAt(i);
if (d0.g0.a.isWhitespace(charAt) || charAt == '/') {
break;
}
i++;
}
if (i != -1) {
String str2 = this.a;
Objects.requireNonNull(str2, "null cannot be cast to non-null type java.lang.String");
String substring = str2.substring(0, i);
m.checkNotNullExpressionValue(substring, "(this as java.lang.Strin…ing(startIndex, endIndex)");
String str3 = this.a;
Objects.requireNonNull(str3, "null cannot be cast to non-null type java.lang.String");
String substring2 = str3.substring(i);
m.checkNotNullExpressionValue(substring2, "(this as java.lang.String).substring(startIndex)");
pair = o.to(substring, substring2);
} else {
pair = o.to(this.a, "");
}
String str4 = (String) pair.component2();
C0042a aVar = new C0042a(this.f233c.g);
int length2 = spannableStringBuilder.length();
spannableStringBuilder.append((CharSequence) ('<' + ((String) pair.component1())));
Iterator<?> it = ((StyleNode.a) aVar.receiver).get(rc).iterator();
while (it.hasNext()) {
spannableStringBuilder.setSpan(it.next(), length2, spannableStringBuilder.length(), 33);
}
int length3 = spannableStringBuilder.length();
spannableStringBuilder.append((CharSequence) (str4 + '>'));
Iterator<?> it2 = this.f233c.h.get(rc).iterator();
while (it2.hasNext()) {
spannableStringBuilder.setSpan(it2.next(), length3, spannableStringBuilder.length() - 1, 33);
}
Iterator<?> it3 = ((StyleNode.a) aVar.receiver).get(rc).iterator();
while (it3.hasNext()) {
spannableStringBuilder.setSpan(it3.next(), spannableStringBuilder.length() - 1, spannableStringBuilder.length(), 33);
}
super.render(spannableStringBuilder, rc);
String str5 = this.b;
if (str5 == null || str5.length() == 0) {
z2 = true;
}
if (!z2) {
int length4 = spannableStringBuilder.length();
StringBuilder K = c.d.b.a.a.K("</");
K.append(this.b);
K.append('>');
spannableStringBuilder.append((CharSequence) K.toString());
Iterator<?> it4 = ((StyleNode.a) aVar.receiver).get(rc).iterator();
while (it4.hasNext()) {
spannableStringBuilder.setSpan(it4.next(), length4 + 1, spannableStringBuilder.length(), 33);
}
}
}
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public k(i.c.a aVar, f fVar, Pattern pattern) {
super(pattern);
this.a = fVar;
}
static {
Pattern compile = Pattern.compile("^<!--[\\s\\S]*?-->", 32);
m.checkNotNullExpressionValue(compile, "Pattern.compile(\"\"\"^<!--…*?-->\"\"\", Pattern.DOTALL)");
a = compile;
Pattern compile2 = Pattern.compile("^<([\\s\\S]+?)(?:>(.*?)<\\/([\\s\\S]+?))?>", 32);
m.checkNotNullExpressionValue(compile2, "Pattern.compile(\n \"…?))?>\"\"\", Pattern.DOTALL)");
b = compile2;
@Override // com.discord.simpleast.core.parser.Rule
public ParseSpec<RC, S> parse(Matcher matcher, Parser<RC, ? super Node<RC>, S> parser, S s2) {
m.checkNotNullParameter(matcher, "matcher");
m.checkNotNullParameter(parser, "parser");
String group = matcher.group(1);
String group2 = matcher.group(2);
String group3 = matcher.group(3);
m.checkNotNull(group);
m.checkNotNull(group2);
m.checkNotNull(group3);
i.c cVar = new i.c(group, group2, group3, this.a);
m.checkNotNullParameter(cVar, "node");
return new ParseSpec<>(cVar, s2);
}
}

View file

@ -1,39 +1,32 @@
package c.a.t.a;
import c.a.t.a.k;
import c.a.t.a.m;
import com.discord.simpleast.core.node.Node;
import com.discord.simpleast.core.parser.ParseSpec;
import com.discord.simpleast.core.parser.Parser;
import com.discord.simpleast.core.parser.Rule;
import d0.z.d.m;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/* compiled from: Xml.kt */
/* compiled from: Kotlin.kt */
public final class l extends Rule<RC, Node<RC>, S> {
public final /* synthetic */ f a;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public l(k kVar, f fVar, Pattern pattern) {
public l(m.a.C0042a aVar, f fVar, Pattern pattern) {
super(pattern);
this.a = fVar;
}
@Override // com.discord.simpleast.core.parser.Rule
public ParseSpec<RC, S> parse(Matcher matcher, Parser<RC, ? super Node<RC>, S> parser, S s2) {
m.checkNotNullParameter(matcher, "matcher");
m.checkNotNullParameter(parser, "parser");
d0.z.d.m.checkNotNullParameter(matcher, "matcher");
d0.z.d.m.checkNotNullParameter(parser, "parser");
String group = matcher.group(1);
m.checkNotNull(group);
String group2 = matcher.group(3);
if (matcher.group(2) != null) {
k.a aVar = new k.a(group, group2, this.a);
int start = matcher.start(2);
int end = matcher.end(2);
m.checkNotNullParameter(aVar, "node");
return new ParseSpec<>(aVar, s2, start, end);
}
k.a aVar2 = new k.a(group, group2, this.a);
m.checkNotNullParameter(aVar2, "node");
return new ParseSpec<>(aVar2, s2);
String group2 = matcher.group(2);
d0.z.d.m.checkNotNull(group);
d0.z.d.m.checkNotNull(group2);
m.a aVar = new m.a(group, group2, this.a);
d0.z.d.m.checkNotNullParameter(aVar, "node");
return new ParseSpec<>(aVar, s2);
}
}

View file

@ -0,0 +1,71 @@
package c.a.t.a;
import com.discord.simpleast.core.node.Node;
import com.discord.simpleast.core.node.StyleNode;
import d0.g0.i;
import java.util.regex.Pattern;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.text.Regex;
/* compiled from: Kotlin.kt */
public final class m {
public static final String[] a = {"public|private|internal|inline|lateinit|abstract|open|reified", "import|package", "class|interface|data|enum|sealed|object|typealias", "fun|override|this|super|where|constructor|init|param|delegate", "const|val|var|get|final|vararg|it", "return|break|continue|suspend", "for|while|do|if|else|when|try|catch|finally|throw", "in|out|is|as|typeof", "shr|ushr|shl|ushl", "true|false|null"};
public static final String[] b = {"true|false|Boolean|String|Char", "Int|UInt|Long|ULong|Float|Double|Byte|UByte|Short|UShort", "Self|Set|Map|MutableMap|List|MutableList|Array|Runnable|Unit", "arrayOf|listOf|mapOf|setOf|let|also|apply|run"};
/* renamed from: c reason: collision with root package name */
public static final Pattern f232c = Pattern.compile("^(?:(?://.*?(?=\\n|$))|(/\\*.*?\\*/))", 32);
public static final Pattern d = Pattern.compile("^@(\\w+)");
public static final Pattern e = Pattern.compile("^\"[\\s\\S]*?(?<!\\\\)\"(?=\\W|\\s|$)");
public static final m f = null;
/* compiled from: Kotlin.kt */
public static final class a<RC> extends Node.a<RC> {
public static final Pattern a = Pattern.compile("^(val|var)(\\s+\\w+)", 32);
public static final C0042a b = new C0042a(null);
/* compiled from: Kotlin.kt */
/* renamed from: c.a.t.a.m$a$a reason: collision with other inner class name */
public static final class C0042a {
public C0042a(DefaultConstructorMarker defaultConstructorMarker) {
}
}
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public a(String str, String str2, f<RC> fVar) {
super(new StyleNode.b(str, fVar.d), new StyleNode.b(str2, fVar.e));
d0.z.d.m.checkNotNullParameter(str, "definition");
d0.z.d.m.checkNotNullParameter(str2, "name");
d0.z.d.m.checkNotNullParameter(fVar, "codeStyleProviders");
}
}
/* compiled from: Kotlin.kt */
public static final class b<RC> extends Node.a<RC> {
public static final Pattern a = new Regex("^(fun)( *<.*>)?( \\w+)( *\\(.*?\\))", i.DOT_MATCHES_ALL).toPattern();
public static final a b = new a(null);
/* compiled from: Kotlin.kt */
public static final class a {
public a(DefaultConstructorMarker defaultConstructorMarker) {
}
}
/* JADX DEBUG: Can't convert new array creation: APUT found in different block: 0x0030: APUT
(r0v5 com.discord.simpleast.core.node.Node[])
(1 ??[boolean, int, float, short, byte, char])
(r1v1 com.discord.simpleast.core.node.StyleNode$b)
*/
/* JADX WARNING: Illegal instructions before constructor call */
public b(String str, String str2, String str3, String str4, f<RC> fVar) {
super(r0);
d0.z.d.m.checkNotNullParameter(str, "pre");
d0.z.d.m.checkNotNullParameter(str3, "signature");
d0.z.d.m.checkNotNullParameter(str4, "params");
d0.z.d.m.checkNotNullParameter(fVar, "codeStyleProviders");
Node[] nodeArr = new Node[4];
nodeArr[0] = new StyleNode.b(str, fVar.d);
nodeArr[1] = str2 != null ? new StyleNode.b(str2, fVar.g) : null;
nodeArr[2] = new StyleNode.b(str3, fVar.e);
nodeArr[3] = new StyleNode.b(str4, fVar.h);
}
}
}

View file

@ -0,0 +1,35 @@
package c.a.t.a;
import c.a.t.a.m;
import com.discord.simpleast.core.node.Node;
import com.discord.simpleast.core.parser.ParseSpec;
import com.discord.simpleast.core.parser.Parser;
import com.discord.simpleast.core.parser.Rule;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/* compiled from: Kotlin.kt */
public final class n extends Rule<RC, Node<RC>, S> {
public final /* synthetic */ f a;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public n(m.b.a aVar, f fVar, Pattern pattern) {
super(pattern);
this.a = fVar;
}
@Override // com.discord.simpleast.core.parser.Rule
public ParseSpec<RC, S> parse(Matcher matcher, Parser<RC, ? super Node<RC>, S> parser, S s2) {
d0.z.d.m.checkNotNullParameter(matcher, "matcher");
d0.z.d.m.checkNotNullParameter(parser, "parser");
String group = matcher.group(1);
String group2 = matcher.group(2);
String group3 = matcher.group(3);
String group4 = matcher.group(4);
d0.z.d.m.checkNotNull(group);
d0.z.d.m.checkNotNull(group3);
d0.z.d.m.checkNotNull(group4);
m.b bVar = new m.b(group, group2, group3, group4, this.a);
d0.z.d.m.checkNotNullParameter(bVar, "node");
return new ParseSpec<>(bVar, s2);
}
}

View file

@ -0,0 +1,130 @@
package c.a.t.a;
import android.text.SpannableStringBuilder;
import com.discord.simpleast.core.node.Node;
import com.discord.simpleast.core.node.StyleNode;
import d0.z.d.k;
import d0.z.d.m;
import java.util.Iterator;
import java.util.Objects;
import java.util.regex.Pattern;
import kotlin.Pair;
import kotlin.jvm.functions.Function1;
/* compiled from: Xml.kt */
public final class o {
public static final Pattern a;
public static final Pattern b;
/* renamed from: c reason: collision with root package name */
public static final o f233c = new o();
/* compiled from: Xml.kt */
public static final class a<RC> extends Node.a<RC> {
public final String a;
public final String b;
/* renamed from: c reason: collision with root package name */
public final f<RC> f234c;
/* compiled from: Xml.kt */
/* renamed from: c.a.t.a.o$a$a reason: collision with other inner class name */
public static final /* synthetic */ class C0043a extends k implements Function1<RC, Iterable<?>> {
public C0043a(StyleNode.a aVar) {
super(1, aVar, StyleNode.a.class, "get", "get(Ljava/lang/Object;)Ljava/lang/Iterable;", 0);
}
/* Return type fixed from 'java.lang.Object' to match base method */
@Override // kotlin.jvm.functions.Function1
public Iterable<?> invoke(Object obj) {
return ((StyleNode.a) this.receiver).get(obj);
}
}
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public a(String str, String str2, f<RC> fVar) {
super(new Node[0]);
m.checkNotNullParameter(str, "opening");
m.checkNotNullParameter(fVar, "codeStyleProviders");
this.a = str;
this.b = str2;
this.f234c = fVar;
}
@Override // com.discord.simpleast.core.node.Node.a, com.discord.simpleast.core.node.Node
public void render(SpannableStringBuilder spannableStringBuilder, RC rc) {
Pair pair;
m.checkNotNullParameter(spannableStringBuilder, "builder");
String str = this.a;
int length = str.length();
boolean z2 = false;
int i = 0;
while (true) {
if (i >= length) {
i = -1;
break;
}
char charAt = str.charAt(i);
if (d0.g0.a.isWhitespace(charAt) || charAt == '/') {
break;
}
i++;
}
if (i != -1) {
String str2 = this.a;
Objects.requireNonNull(str2, "null cannot be cast to non-null type java.lang.String");
String substring = str2.substring(0, i);
m.checkNotNullExpressionValue(substring, "(this as java.lang.Strin…ing(startIndex, endIndex)");
String str3 = this.a;
Objects.requireNonNull(str3, "null cannot be cast to non-null type java.lang.String");
String substring2 = str3.substring(i);
m.checkNotNullExpressionValue(substring2, "(this as java.lang.String).substring(startIndex)");
pair = d0.o.to(substring, substring2);
} else {
pair = d0.o.to(this.a, "");
}
String str4 = (String) pair.component2();
C0043a aVar = new C0043a(this.f234c.g);
int length2 = spannableStringBuilder.length();
spannableStringBuilder.append((CharSequence) ('<' + ((String) pair.component1())));
Iterator<?> it = aVar.invoke(rc).iterator();
while (it.hasNext()) {
spannableStringBuilder.setSpan(it.next(), length2, spannableStringBuilder.length(), 33);
}
int length3 = spannableStringBuilder.length();
spannableStringBuilder.append((CharSequence) (str4 + '>'));
Iterator<?> it2 = this.f234c.h.get(rc).iterator();
while (it2.hasNext()) {
spannableStringBuilder.setSpan(it2.next(), length3, spannableStringBuilder.length() - 1, 33);
}
Iterator<?> it3 = aVar.invoke(rc).iterator();
while (it3.hasNext()) {
spannableStringBuilder.setSpan(it3.next(), spannableStringBuilder.length() - 1, spannableStringBuilder.length(), 33);
}
super.render(spannableStringBuilder, rc);
String str5 = this.b;
if (str5 == null || str5.length() == 0) {
z2 = true;
}
if (!z2) {
int length4 = spannableStringBuilder.length();
StringBuilder K = c.d.b.a.a.K("</");
K.append(this.b);
K.append('>');
spannableStringBuilder.append((CharSequence) K.toString());
Iterator<?> it4 = aVar.invoke(rc).iterator();
while (it4.hasNext()) {
spannableStringBuilder.setSpan(it4.next(), length4 + 1, spannableStringBuilder.length(), 33);
}
}
}
}
static {
Pattern compile = Pattern.compile("^<!--[\\s\\S]*?-->", 32);
m.checkNotNullExpressionValue(compile, "Pattern.compile(\"\"\"^<!--…*?-->\"\"\", Pattern.DOTALL)");
a = compile;
Pattern compile2 = Pattern.compile("^<([\\s\\S]+?)(?:>(.*?)<\\/([\\s\\S]+?))?>", 32);
m.checkNotNullExpressionValue(compile2, "Pattern.compile(\n \"…?))?>\"\"\", Pattern.DOTALL)");
b = compile2;
}
}

View file

@ -0,0 +1,39 @@
package c.a.t.a;
import c.a.t.a.o;
import com.discord.simpleast.core.node.Node;
import com.discord.simpleast.core.parser.ParseSpec;
import com.discord.simpleast.core.parser.Parser;
import com.discord.simpleast.core.parser.Rule;
import d0.z.d.m;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/* compiled from: Xml.kt */
public final class p extends Rule<RC, Node<RC>, S> {
public final /* synthetic */ f a;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public p(o oVar, f fVar, Pattern pattern) {
super(pattern);
this.a = fVar;
}
@Override // com.discord.simpleast.core.parser.Rule
public ParseSpec<RC, S> parse(Matcher matcher, Parser<RC, ? super Node<RC>, S> parser, S s2) {
m.checkNotNullParameter(matcher, "matcher");
m.checkNotNullParameter(parser, "parser");
String group = matcher.group(1);
m.checkNotNull(group);
String group2 = matcher.group(3);
if (matcher.group(2) != null) {
o.a aVar = new o.a(group, group2, this.a);
int start = matcher.start(2);
int end = matcher.end(2);
m.checkNotNullParameter(aVar, "node");
return new ParseSpec<>(aVar, s2, start, end);
}
o.a aVar2 = new o.a(group, group2, this.a);
m.checkNotNullParameter(aVar2, "node");
return new ParseSpec<>(aVar2, s2);
}
}

View file

@ -18,7 +18,7 @@ public final class e {
public static final Pattern b = Pattern.compile("^__([\\s\\S]+?)__(?!_)");
/* renamed from: c reason: collision with root package name */
public static final Pattern f234c = Pattern.compile("^~~(?=\\S)([\\s\\S]*?\\S)~~");
public static final Pattern f235c = Pattern.compile("^~~(?=\\S)([\\s\\S]*?\\S)~~");
public static final Pattern d = Pattern.compile("^(?:\\n *)*\\n");
public static final Pattern e = Pattern.compile("^[\\s\\S]+?(?=[^0-9A-Za-z\\s\\u00c0-\\uffff]|\\n| {2,}\\n|\\w+:\\S|$)");
public static final Pattern f = Pattern.compile("^\\\\([^0-9A-Za-z\\s])");
@ -86,7 +86,7 @@ public final class e {
Pattern pattern5 = g;
m.checkNotNullExpressionValue(pattern5, "PATTERN_ITALICS");
arrayList.add(new c(eVar2, pattern5));
Pattern pattern6 = f234c;
Pattern pattern6 = f235c;
m.checkNotNullExpressionValue(pattern6, "PATTERN_STRIKETHRU");
arrayList.add(c(pattern6, f.i));
if (z2) {

View file

@ -26,18 +26,18 @@ public final class a {
public static final Pattern b;
/* renamed from: c reason: collision with root package name */
public static final Pattern f235c;
public static final Pattern f236c;
public static final Pattern d = new Regex("^\\s*(?:(?:(.+)(?: +\\{([\\w ]*)\\}))|(.*))[ \\t]*\\n *([=\\-]){3,}[ \\t]*(?=\\n|$)").toPattern();
public static final a e = new a();
/* compiled from: MarkdownRules.kt */
/* renamed from: c.a.t.c.a$a reason: collision with other inner class name */
public static class C0043a<RC, T, S> extends b<RC, S> {
public static class C0044a<RC, T, S> extends b<RC, S> {
private final Function1<String, T> classSpanProvider;
private final List<Rule<RC, Node<RC>, S>> innerRules;
/* JADX INFO: this call moved to the top of the method (can break code semantics) */
public C0043a(Function1<? super Integer, ? extends CharacterStyle> function1, Function1<? super String, ? extends T> function12) {
public C0044a(Function1<? super Integer, ? extends CharacterStyle> function1, Function1<? super String, ? extends T> function12) {
this(function1, function12, u.plus((Collection<? extends Rule>) e.b(false, false, 2), e.h.d()));
m.checkNotNullParameter(function1, "styleSpanProvider");
m.checkNotNullParameter(function12, "classSpanProvider");
@ -47,7 +47,7 @@ public final class a {
/* JADX DEBUG: Multi-variable search result rejected for r4v0, resolved type: java.util.List<? extends com.discord.simpleast.core.parser.Rule<RC, com.discord.simpleast.core.node.Node<RC>, S>> */
/* JADX WARN: Multi-variable type inference failed */
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public C0043a(Function1<? super Integer, ? extends CharacterStyle> function1, Function1<? super String, ? extends T> function12, List<? extends Rule<RC, Node<RC>, S>> list) {
public C0044a(Function1<? super Integer, ? extends CharacterStyle> function1, Function1<? super String, ? extends T> function12, List<? extends Rule<RC, Node<RC>, S>> list) {
super(a.d, function1);
m.checkNotNullParameter(function1, "styleSpanProvider");
m.checkNotNullParameter(function12, "classSpanProvider");
@ -120,7 +120,7 @@ public final class a {
this(pattern, function1);
if ((i & 1) != 0) {
a aVar = a.e;
pattern = a.f235c;
pattern = a.f236c;
}
}
@ -189,6 +189,6 @@ public final class a {
b = compile2;
Pattern compile3 = Pattern.compile("^\\s*(.+)\\n *(=|-){3,} *(?=\\n|$)", 0);
m.checkNotNullExpressionValue(compile3, "java.util.regex.Pattern.compile(this, flags)");
f235c = compile3;
f236c = compile3;
}
}

View file

@ -10,11 +10,11 @@ public final class a {
/* compiled from: TypeTokens.kt */
/* renamed from: c.a.w.a$a reason: collision with other inner class name */
public static final class C0044a extends TypeToken<List<? extends String>> {
public static final class C0045a extends TypeToken<List<? extends String>> {
}
static {
Type type = new C0044a().getType();
Type type = new C0045a().getType();
m.checkNotNullExpressionValue(type, "object : TypeToken<List<String>>() {}.type");
a = type;
}

View file

@ -42,10 +42,10 @@ public final class a0 extends AppBottomSheet implements h {
/* compiled from: SelectorBottomSheet.kt */
/* renamed from: c.a.y.a0$a$a reason: collision with other inner class name */
public static final class C0045a extends o implements Function1<Integer, Unit> {
public static final C0045a i = new C0045a();
public static final class C0046a extends o implements Function1<Integer, Unit> {
public static final C0046a i = new C0046a();
public C0045a() {
public C0046a() {
super(1);
}
@ -66,7 +66,7 @@ public final class a0 extends AppBottomSheet implements h {
public static /* synthetic */ a0 b(a aVar, FragmentManager fragmentManager, String str, List list, boolean z2, Function1 function1, int i) {
boolean z3 = (i & 8) != 0 ? true : z2;
if ((i & 16) != 0) {
function1 = C0045a.i;
function1 = C0046a.i;
}
return aVar.a(fragmentManager, str, list, z3, function1);
}

View file

@ -21,7 +21,7 @@ public final class d0 extends SimpleRecyclerAdapter.ViewHolder<b0> {
public final DialogInterface b;
/* renamed from: c reason: collision with root package name */
public final d f236c;
public final d f237c;
/* JADX WARNING: Illegal instructions before constructor call */
public d0(h hVar, DialogInterface dialogInterface, d dVar) {
@ -33,7 +33,7 @@ public final class d0 extends SimpleRecyclerAdapter.ViewHolder<b0> {
m.checkNotNullExpressionValue(constraintLayout, "itemBinding.root");
this.a = hVar;
this.b = dialogInterface;
this.f236c = dVar;
this.f237c = dVar;
}
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@ -43,29 +43,29 @@ public final class d0 extends SimpleRecyclerAdapter.ViewHolder<b0> {
Drawable drawable;
b0 b0Var2 = b0Var;
m.checkNotNullParameter(b0Var2, "data");
MaterialTextView materialTextView = this.f236c.d;
MaterialTextView materialTextView = this.f237c.d;
m.checkNotNullExpressionValue(materialTextView, "itemBinding.selectComponentSheetItemTitle");
String c2 = b0Var2.c();
Regex regex = b.a;
m.checkNotNullParameter(materialTextView, "$this$bindText");
materialTextView.setText(c2);
materialTextView.setVisibility((c2 == null || c2.length() == 0) ^ true ? 0 : 8);
MaterialTextView materialTextView2 = this.f236c.b;
MaterialTextView materialTextView2 = this.f237c.b;
m.checkNotNullExpressionValue(materialTextView2, "itemBinding.selectComponentSheetItemDescription");
ViewExtensions.setTextAndVisibilityBy(materialTextView2, b0Var2.a());
if (b0Var2.b() != null) {
SimpleDraweeView simpleDraweeView = this.f236c.f75c;
SimpleDraweeView simpleDraweeView = this.f237c.f75c;
m.checkNotNullExpressionValue(simpleDraweeView, "itemBinding.selectComponentSheetItemIcon");
simpleDraweeView.setVisibility(0);
SimpleDraweeView simpleDraweeView2 = this.f236c.f75c;
SimpleDraweeView simpleDraweeView2 = this.f237c.f75c;
m.checkNotNullExpressionValue(simpleDraweeView2, "itemBinding.selectComponentSheetItemIcon");
MGImages.setImage$default(simpleDraweeView2, b0Var2.b(), 2131165397, 2131165397, true, null, null, 96, null);
} else {
SimpleDraweeView simpleDraweeView3 = this.f236c.f75c;
SimpleDraweeView simpleDraweeView3 = this.f237c.f75c;
m.checkNotNullExpressionValue(simpleDraweeView3, "itemBinding.selectComponentSheetItemIcon");
simpleDraweeView3.setVisibility(8);
}
MaterialTextView materialTextView3 = this.f236c.d;
MaterialTextView materialTextView3 = this.f237c.d;
materialTextView3.setText(b0Var2.c());
Integer e = b0Var2.e();
if (e != null) {
@ -80,16 +80,16 @@ public final class d0 extends SimpleRecyclerAdapter.ViewHolder<b0> {
d.intValue();
Drawable drawable2 = ContextCompat.getDrawable(materialTextView3.getContext(), b0Var2.d().intValue());
if (drawable2 != null) {
MaterialTextView materialTextView4 = this.f236c.d;
MaterialTextView materialTextView4 = this.f237c.d;
m.checkNotNullExpressionValue(materialTextView4, "itemBinding.selectComponentSheetItemTitle");
DrawableCompat.setTint(drawable2, ColorCompat.getThemedColor(materialTextView4, 2130968932));
drawable = drawable2;
com.discord.utilities.drawable.DrawableCompat.setCompoundDrawablesCompat$default(materialTextView3, (Drawable) null, (Drawable) null, drawable, (Drawable) null, 11, (Object) null);
this.f236c.a.setOnClickListener(new c0(this));
this.f237c.a.setOnClickListener(new c0(this));
}
}
drawable = null;
com.discord.utilities.drawable.DrawableCompat.setCompoundDrawablesCompat$default(materialTextView3, (Drawable) null, (Drawable) null, drawable, (Drawable) null, 11, (Object) null);
this.f236c.a.setOnClickListener(new c0(this));
this.f237c.a.setOnClickListener(new c0(this));
}
}

View file

@ -12,12 +12,12 @@ public final class e implements RendererCommon.RendererEvents {
public final int b;
/* renamed from: c reason: collision with root package name */
public final int f237c;
public final int f238c;
public a(int i, int i2, int i3) {
this.a = i;
this.b = i2;
this.f237c = i3;
this.f238c = i3;
}
public boolean equals(Object obj) {
@ -28,11 +28,11 @@ public final class e implements RendererCommon.RendererEvents {
return false;
}
a aVar = (a) obj;
return this.a == aVar.a && this.b == aVar.b && this.f237c == aVar.f237c;
return this.a == aVar.a && this.b == aVar.b && this.f238c == aVar.f238c;
}
public int hashCode() {
return (((this.a * 31) + this.b) * 31) + this.f237c;
return (((this.a * 31) + this.b) * 31) + this.f238c;
}
public String toString() {
@ -41,7 +41,7 @@ public final class e implements RendererCommon.RendererEvents {
K.append(", height=");
K.append(this.b);
K.append(", rotation=");
return c.d.b.a.a.w(K, this.f237c, ")");
return c.d.b.a.a.w(K, this.f238c, ")");
}
}

View file

@ -15,7 +15,7 @@ public final class f<T, R> implements b<e.a, Point> {
if (aVar2 == null) {
return null;
}
int i2 = aVar2.f237c;
int i2 = aVar2.f238c;
return (i2 == -180 || i2 == 0 || i2 == 180) ? new Point(aVar2.a, aVar2.b) : new Point(aVar2.b, aVar2.a);
}
}

View file

@ -17,7 +17,7 @@ public abstract class k extends OverlayDialog implements AppComponent {
public final Subject<Void, Void> w;
/* renamed from: x reason: collision with root package name */
public Function1<? super OverlayDialog, Unit> f238x = l.i;
public Function1<? super OverlayDialog, Unit> f239x = l.i;
/* compiled from: Animator.kt */
public static final class a implements Animator.AnimatorListener {
@ -81,7 +81,7 @@ public abstract class k extends OverlayDialog implements AppComponent {
getUnsubscribeSignal().onNext(null);
Log.i(getClass().getSimpleName(), "closing");
if (!ViewCompat.isAttachedToWindow(this)) {
this.f238x.invoke(this);
this.f239x.invoke(this);
return;
}
Animator closingAnimator = getClosingAnimator();
@ -94,7 +94,7 @@ public abstract class k extends OverlayDialog implements AppComponent {
/* JADX DEBUG: Type inference failed for r0v0. Raw type applied. Possible types: kotlin.jvm.functions.Function1<? super com.discord.overlay.views.OverlayDialog, kotlin.Unit>, kotlin.jvm.functions.Function1<com.discord.overlay.views.OverlayDialog, kotlin.Unit> */
public final Function1<OverlayDialog, Unit> getOnDialogClosed() {
return this.f238x;
return this.f239x;
}
@Override // com.discord.app.AppComponent
@ -110,6 +110,6 @@ public abstract class k extends OverlayDialog implements AppComponent {
public final void setOnDialogClosed(Function1<? super OverlayDialog, Unit> function1) {
m.checkNotNullParameter(function1, "<set-?>");
this.f238x = function1;
this.f239x = function1;
}
}

View file

@ -21,6 +21,6 @@ public final class a implements View.OnClickListener {
if (!(googlePlayInAppSku == null || (function1 = giftSelectView.j) == null)) {
function1.invoke(googlePlayInAppSku);
}
giftSelectView.i.f1761c.setOnClickListener(null);
giftSelectView.i.f1762c.setOnClickListener(null);
}
}

View file

@ -21,7 +21,7 @@ public final class r extends o implements Function1<Error, Unit> {
@Override // kotlin.jvm.functions.Function1
public Unit invoke(Error error) {
m.checkNotNullParameter(error, "it");
c.a.d.o.g(this.this$0.getContext(), 2131890509, 0, null, 12);
c.a.d.o.g(this.this$0.getContext(), 2131890510, 0, null, 12);
return Unit.a;
}
}

View file

@ -29,7 +29,7 @@ public final class s extends o implements Function1<ModelInvite, Unit> {
m.checkNotNullExpressionValue(context, "context");
String link = modelInvite2.toLink(this.this$0.getResources(), "https://discord.gg");
m.checkNotNullExpressionValue(link, "invite.toLink(resources, BuildConfig.HOST_INVITE)");
c.a.d.o.a(context, link, 2131890699);
c.a.d.o.a(context, link, 2131890700);
this.this$0.getOnDismissRequested$app_productionBetaRelease().mo1invoke();
return Unit.a;
}

View file

@ -28,10 +28,10 @@ public final class v extends OverlayBubbleWrap implements AppComponent {
public static final /* synthetic */ int w = 0;
/* renamed from: x reason: collision with root package name */
public final r0 f239x;
public final r0 f240x;
/* renamed from: y reason: collision with root package name */
public final Subject<Void, Void> f240y;
public final Subject<Void, Void> f241y;
/* compiled from: OverlayVoiceBubble.kt */
public static final class a<T, R> implements j0.k.b<Long, Observable<? extends StoreVoiceParticipants.VoiceUser>> {
@ -88,10 +88,10 @@ public final class v extends OverlayBubbleWrap implements AppComponent {
SimpleDraweeView simpleDraweeView = (SimpleDraweeView) inflate;
r0 r0Var = new r0(simpleDraweeView, simpleDraweeView);
m.checkNotNullExpressionValue(r0Var, "OverlayVoiceBubbleBindin…rom(context), this, true)");
this.f239x = r0Var;
this.f240x = r0Var;
PublishSubject k0 = PublishSubject.k0();
m.checkNotNullExpressionValue(k0, "PublishSubject.create()");
this.f240y = k0;
this.f241y = k0;
}
@Override // com.discord.overlay.views.OverlayBubbleWrap
@ -112,14 +112,14 @@ public final class v extends OverlayBubbleWrap implements AppComponent {
}
public final SimpleDraweeView getImageView$app_productionBetaRelease() {
SimpleDraweeView simpleDraweeView = this.f239x.b;
SimpleDraweeView simpleDraweeView = this.f240x.b;
m.checkNotNullExpressionValue(simpleDraweeView, "binding.overlayBubbleIv");
return simpleDraweeView;
}
@Override // com.discord.app.AppComponent
public Subject<Void, Void> getUnsubscribeSignal() {
return this.f240y;
return this.f241y;
}
public final void h() {

View file

@ -25,7 +25,7 @@ public final class w extends o implements Function2<List<? extends WidgetGlobalS
m.checkNotNullParameter(list, "<anonymous parameter 0>");
m.checkNotNullParameter(list2, "<anonymous parameter 1>");
if (!m.areEqual(this.this$0.B, this.$searchModel$inlined.getFilter())) {
this.this$0.f241y.f.scrollToPosition(0);
this.this$0.f242y.f.scrollToPosition(0);
this.this$0.B = this.$searchModel$inlined.getFilter();
}
return Unit.a;

View file

@ -36,10 +36,10 @@ public final class y extends k implements AppComponent {
public String B;
/* renamed from: y reason: collision with root package name */
public s0 f241y;
public s0 f242y;
/* renamed from: z reason: collision with root package name */
public final WidgetGlobalSearchAdapter f242z;
public final WidgetGlobalSearchAdapter f243z;
/* compiled from: OverlayVoiceSelectorBubbleDialog.kt */
public static final class a implements View.OnClickListener {
@ -105,17 +105,17 @@ public final class y extends k implements AppComponent {
WidgetGlobalSearchModel widgetGlobalSearchModel2 = widgetGlobalSearchModel;
m.checkNotNullParameter(widgetGlobalSearchModel2, "it");
y yVar = this.this$0;
TextView textView = yVar.f241y.d;
TextView textView = yVar.f242y.d;
m.checkNotNullExpressionValue(textView, "binding.emptyResults");
int i = 8;
textView.setVisibility(widgetGlobalSearchModel2.getData().isEmpty() ? 0 : 8);
RecyclerView recyclerView = yVar.f241y.f;
RecyclerView recyclerView = yVar.f242y.f;
m.checkNotNullExpressionValue(recyclerView, "binding.resultsRv");
if (!widgetGlobalSearchModel2.getData().isEmpty()) {
i = 0;
}
recyclerView.setVisibility(i);
WidgetGlobalSearchAdapter widgetGlobalSearchAdapter = yVar.f242z;
WidgetGlobalSearchAdapter widgetGlobalSearchAdapter = yVar.f243z;
widgetGlobalSearchAdapter.setOnUpdated(new w(yVar, widgetGlobalSearchModel2));
List<WidgetGlobalSearchModel.ItemDataPayload> data = widgetGlobalSearchModel2.getData();
ArrayList arrayList = new ArrayList();
@ -138,40 +138,40 @@ public final class y extends k implements AppComponent {
getWindowLayoutParams().flags &= -9;
s0 a2 = s0.a(LayoutInflater.from(getContext()), this, true);
m.checkNotNullExpressionValue(a2, "OverlayVoiceChannelSelec…rom(context), this, true)");
this.f241y = a2;
RecyclerView recyclerView = this.f241y.f;
this.f242y = a2;
RecyclerView recyclerView = this.f242y.f;
m.checkNotNullExpressionValue(recyclerView, "binding.resultsRv");
this.f242z = new WidgetGlobalSearchAdapter(recyclerView);
this.f243z = new WidgetGlobalSearchAdapter(recyclerView);
}
@Override // c.a.y.k
public Animator getClosingAnimator() {
Animator loadAnimator = AnimatorInflater.loadAnimator(getContext(), 2130837533);
loadAnimator.setTarget(this.f241y.f153c);
loadAnimator.setTarget(this.f242y.f153c);
m.checkNotNullExpressionValue(loadAnimator, "AnimatorInflater.loadAni…binding.dialogCard)\n }");
return loadAnimator;
}
public final void h() {
this.f241y.b.setOnClickListener(new a(this));
TextInputLayout textInputLayout = this.f241y.e;
this.f242y.b.setOnClickListener(new a(this));
TextInputLayout textInputLayout = this.f242y.e;
m.checkNotNullExpressionValue(textInputLayout, "binding.overlayChannelSearch");
ViewExtensions.setText(textInputLayout, this.B);
TextInputLayout textInputLayout2 = this.f241y.e;
TextInputLayout textInputLayout2 = this.f242y.e;
m.checkNotNullExpressionValue(textInputLayout2, "binding.overlayChannelSearch");
EditText editText = textInputLayout2.getEditText();
if (editText != null) {
editText.addTextChangedListener(new TextWatcher(null, null, new b(this), 3, null));
}
WidgetGlobalSearchAdapter widgetGlobalSearchAdapter = this.f242z;
RecyclerView recyclerView = this.f241y.f;
WidgetGlobalSearchAdapter widgetGlobalSearchAdapter = this.f243z;
RecyclerView recyclerView = this.f242y.f;
m.checkNotNullExpressionValue(recyclerView, "binding.resultsRv");
widgetGlobalSearchAdapter.setRecycler(recyclerView);
MGRecyclerAdapter.Companion.configure(this.f242z);
MGRecyclerAdapter.Companion.configure(this.f243z);
WidgetGlobalSearchModel.Companion companion = WidgetGlobalSearchModel.Companion;
Observable<String> F = this.A.F(c.i);
m.checkNotNullExpressionValue(F, "filterPublisher.map { \"!$it\" }");
ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui(companion.getForNav(F), this, this.f242z), y.class, (Context) null, (Function1) null, (Function1) null, (Function0) null, (Function0) null, new d(this), 62, (Object) null);
ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui(companion.getForNav(F), this, this.f243z), y.class, (Context) null, (Function1) null, (Function1) null, (Function0) null, (Function0) null, new d(this), 62, (Object) null);
}
@Override // android.view.View, android.view.ViewGroup
@ -179,7 +179,7 @@ public final class y extends k implements AppComponent {
super.onAttachedToWindow();
h();
Animator loadAnimator = AnimatorInflater.loadAnimator(getContext(), 2130837534);
loadAnimator.setTarget(this.f241y.f153c);
loadAnimator.setTarget(this.f242y.f153c);
loadAnimator.start();
}
@ -190,7 +190,7 @@ public final class y extends k implements AppComponent {
removeAllViewsInLayout();
s0 a2 = s0.a(LayoutInflater.from(getContext()), this, true);
m.checkNotNullExpressionValue(a2, "OverlayVoiceChannelSelec…rom(context), this, true)");
this.f241y = a2;
this.f242y = a2;
h();
}
}

View file

@ -65,11 +65,11 @@ public class a extends AppCompatDialogFragment {
/* compiled from: java-style lambda group */
/* renamed from: c.b.a.a.a$a reason: collision with other inner class name */
public static final class View$OnClickListenerC0046a implements View.OnClickListener {
public static final class View$OnClickListenerC0047a implements View.OnClickListener {
public final /* synthetic */ int i;
public final /* synthetic */ Object j;
public View$OnClickListenerC0046a(int i, Object obj) {
public View$OnClickListenerC0047a(int i, Object obj) {
this.i = i;
this.j = obj;
}
@ -306,14 +306,14 @@ public class a extends AppCompatDialogFragment {
m.checkNotNullParameter(layoutInflater, "inflater");
View inflate = layoutInflater.inflate(R.f.dialog_add_content_pager_with_fab, viewGroup, false);
if (inflate != null) {
inflate.setOnClickListener(new View$OnClickListenerC0046a(0, this));
inflate.setOnClickListener(new View$OnClickListenerC0047a(0, this));
this.j = (ViewPager) inflate.findViewById(R.e.content_pager);
this.k = (TabLayout) inflate.findViewById(R.e.content_tabs);
this.l = (FloatingActionButton) inflate.findViewById(R.e.action_btn);
ImageView imageView = (ImageView) inflate.findViewById(R.e.launch_btn);
this.m = imageView;
if (imageView != null) {
imageView.setOnClickListener(new View$OnClickListenerC0046a(1, this));
imageView.setOnClickListener(new View$OnClickListenerC0047a(1, this));
}
FloatingActionButton floatingActionButton = this.l;
Objects.requireNonNull(floatingActionButton, "null cannot be cast to non-null type com.google.android.material.floatingactionbutton.FloatingActionButton");
@ -398,7 +398,7 @@ public class a extends AppCompatDialogFragment {
}
FloatingActionButton floatingActionButton2 = this.l;
if (floatingActionButton2 != null) {
floatingActionButton2.setOnClickListener(new View$OnClickListenerC0046a(2, parentFragment));
floatingActionButton2.setOnClickListener(new View$OnClickListenerC0047a(2, parentFragment));
}
this.n = flexInputFragment.b().addItemSelectionListener(this.q);
FloatingActionButton floatingActionButton3 = this.l;

View file

@ -36,7 +36,7 @@ public final class i extends RecyclerView.Adapter<a> {
public Cursor b;
/* renamed from: c reason: collision with root package name */
public int f243c;
public int f244c;
public int d;
public int e;
public int f;
@ -52,15 +52,15 @@ public final class i extends RecyclerView.Adapter<a> {
public final c r;
/* renamed from: s reason: collision with root package name */
public final /* synthetic */ i f244s;
public final /* synthetic */ i f245s;
/* compiled from: MediaCursorAdapter.kt */
/* renamed from: c.b.a.d.i$a$a reason: collision with other inner class name */
public static final class C0047a extends o implements Function1<AnimatorSet, Unit> {
public static final class C0048a extends o implements Function1<AnimatorSet, Unit> {
public final /* synthetic */ boolean $isAnimationRequested;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public C0047a(boolean z2) {
public C0048a(boolean z2) {
super(1);
this.$isAnimationRequested = z2;
}
@ -86,7 +86,7 @@ public final class i extends RecyclerView.Adapter<a> {
public a(i iVar, c cVar) {
super(r4);
m.checkNotNullParameter(cVar, "binding");
this.f244s = iVar;
this.f245s = iVar;
FrameLayout frameLayout = cVar.a;
m.checkNotNullExpressionValue(frameLayout, "binding.root");
this.r = cVar;
@ -109,7 +109,7 @@ public final class i extends RecyclerView.Adapter<a> {
@Override // c.b.a.d.j
public SimpleDraweeView a() {
SimpleDraweeView simpleDraweeView = this.r.f247c;
SimpleDraweeView simpleDraweeView = this.r.f248c;
m.checkNotNullExpressionValue(simpleDraweeView, "binding.contentIv");
return simpleDraweeView;
}
@ -118,7 +118,7 @@ public final class i extends RecyclerView.Adapter<a> {
FrameLayout frameLayout = this.r.a;
m.checkNotNullExpressionValue(frameLayout, "binding.root");
frameLayout.setSelected(z2);
C0047a aVar = new C0047a(z3);
C0048a aVar = new C0048a(z3);
if (z2) {
SimpleDraweeView simpleDraweeView = this.r.d;
m.checkNotNullExpressionValue(simpleDraweeView, "binding.itemCheckIndicator");
@ -144,7 +144,7 @@ public final class i extends RecyclerView.Adapter<a> {
@Override // android.view.View.OnClickListener
public void onClick(View view) {
m.checkNotNullParameter(view, "v");
SelectionCoordinator<?, Media> selectionCoordinator = this.f244s.a;
SelectionCoordinator<?, Media> selectionCoordinator = this.f245s.a;
Media media = this.o;
int adapterPosition = getAdapterPosition();
Objects.requireNonNull(selectionCoordinator);
@ -169,7 +169,7 @@ public final class i extends RecyclerView.Adapter<a> {
m.checkNotNullParameter(obj, "cookie");
if (cursor != null) {
i iVar = this.a;
iVar.f243c = cursor.getColumnIndex("_id");
iVar.f244c = cursor.getColumnIndex("_id");
iVar.d = cursor.getColumnIndex("_data");
iVar.e = cursor.getColumnIndex("_display_name");
iVar.f = cursor.getColumnIndex("media_type");
@ -201,7 +201,7 @@ public final class i extends RecyclerView.Adapter<a> {
Long l = null;
if (cursor != null) {
cursor.moveToPosition(i);
long j = cursor.getLong(this.f243c);
long j = cursor.getLong(this.f244c);
boolean z2 = cursor.getInt(this.f) == 3;
Uri withAppendedPath = z2 ? Uri.withAppendedPath(MediaStore.Video.Media.EXTERNAL_CONTENT_URI, String.valueOf(j)) : Uri.withAppendedPath(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, String.valueOf(j));
String str2 = z2 ? "vid" : "img";
@ -267,9 +267,9 @@ public final class i extends RecyclerView.Adapter<a> {
aVar2.o = a2;
int i2 = 0;
if (a2 != null) {
aVar2.d(aVar2.f244s.a.a(a2, aVar2.getAdapterPosition()), false);
aVar2.d(aVar2.f245s.a.a(a2, aVar2.getAdapterPosition()), false);
}
aVar2.c(a2, Integer.valueOf(aVar2.f244s.h), Integer.valueOf(aVar2.f244s.i));
aVar2.c(a2, Integer.valueOf(aVar2.f245s.h), Integer.valueOf(aVar2.f245s.i));
boolean z2 = true;
if (a2 == null || !a2.i) {
z2 = false;

View file

@ -59,7 +59,7 @@ public abstract class j extends RecyclerView.ViewHolder {
public CancellationSignal b;
/* renamed from: c reason: collision with root package name */
public Bitmap f245c;
public Bitmap f246c;
public final ContentResolver d;
public b(ContentResolver contentResolver) {
@ -78,11 +78,11 @@ public abstract class j extends RecyclerView.ViewHolder {
cancellationSignal.cancel();
}
}
Bitmap bitmap = this.f245c;
Bitmap bitmap = this.f246c;
if (bitmap != null) {
bitmap.recycle();
}
this.f245c = null;
this.f246c = null;
}
}

View file

@ -74,8 +74,8 @@ public final class k extends d0.w.h.a.k implements Function2<CoroutineScope, Con
} else {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
}
bVar.f245c = (Bitmap) obj;
this.$onGenerate.invoke(this.this$0.f245c);
bVar.f246c = (Bitmap) obj;
this.$onGenerate.invoke(this.this$0.f246c);
return Unit.a;
}
}

View file

@ -19,7 +19,7 @@ public final class a implements ViewBinding {
@NonNull
/* renamed from: c reason: collision with root package name */
public final LinearLayout f246c;
public final LinearLayout f247c;
@NonNull
public final RecyclerView d;
@NonNull
@ -52,7 +52,7 @@ public final class a implements ViewBinding {
public a(@NonNull LinearLayout linearLayout, @NonNull AppCompatImageButton appCompatImageButton, @NonNull LinearLayout linearLayout2, @NonNull RecyclerView recyclerView, @NonNull TextView textView, @NonNull LinearLayout linearLayout3, @NonNull FrameLayout frameLayout, @NonNull AppCompatImageButton appCompatImageButton2, @NonNull AppCompatImageButton appCompatImageButton3, @NonNull ImageView imageView, @NonNull FrameLayout frameLayout2, @NonNull FrameLayout frameLayout3, @NonNull AppCompatImageButton appCompatImageButton4, @NonNull AppCompatImageButton appCompatImageButton5, @NonNull LinearLayout linearLayout4, @NonNull LinearLayout linearLayout5, @NonNull FrameLayout frameLayout4, @NonNull ImageView imageView2, @NonNull FlexEditText flexEditText) {
this.a = linearLayout;
this.b = appCompatImageButton;
this.f246c = linearLayout2;
this.f247c = linearLayout2;
this.d = recyclerView;
this.e = textView;
this.f = linearLayout3;

View file

@ -15,7 +15,7 @@ public final class c implements ViewBinding {
@NonNull
/* renamed from: c reason: collision with root package name */
public final SimpleDraweeView f247c;
public final SimpleDraweeView f248c;
@NonNull
public final SimpleDraweeView d;
@NonNull
@ -24,7 +24,7 @@ public final class c implements ViewBinding {
public c(@NonNull FrameLayout frameLayout, @NonNull FrameLayout frameLayout2, @NonNull SimpleDraweeView simpleDraweeView, @NonNull SimpleDraweeView simpleDraweeView2, @NonNull TextView textView) {
this.a = frameLayout;
this.b = frameLayout2;
this.f247c = simpleDraweeView;
this.f248c = simpleDraweeView;
this.d = simpleDraweeView2;
this.e = textView;
}

View file

@ -18,7 +18,7 @@ public class b implements FileManager {
public final String b;
/* renamed from: c reason: collision with root package name */
public final String f248c;
public final String f249c;
public b(Context context, String str, String str2, int i) {
String str3;
@ -37,7 +37,7 @@ public class b implements FileManager {
m.checkNotNullParameter(str4, "imageDirName");
this.a = context;
this.b = str3;
this.f248c = str4;
this.f249c = str4;
}
@Override // com.lytefast.flexinput.managers.FileManager
@ -53,7 +53,7 @@ public class b implements FileManager {
public File b() {
String format = new SimpleDateFormat("yyyyMMdd_HHmmss", Locale.getDefault()).format(new Date());
Context context = this.a;
File file = new File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES), this.f248c);
File file = new File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES), this.f249c);
file.mkdirs();
if (!file.exists()) {
file = context.getFilesDir();

View file

@ -8,10 +8,10 @@ public abstract class a {
/* compiled from: FlexInputEvent.kt */
/* renamed from: c.b.a.h.a$a reason: collision with other inner class name */
public static final class C0048a extends a {
public static final C0048a a = new C0048a();
public static final class C0049a extends a {
public static final C0049a a = new C0049a();
public C0048a() {
public C0049a() {
super(null);
}
}

View file

@ -18,7 +18,7 @@ public final class d extends c {
public static final ByteString r = ByteString.h("*/");
/* renamed from: s reason: collision with root package name */
public final g f250s;
public final g f251s;
public final e t;
public int u = 0;
public long v;
@ -26,11 +26,11 @@ public final class d extends c {
@Nullable
/* renamed from: x reason: collision with root package name */
public String f251x;
public String f252x;
public d(g gVar) {
Objects.requireNonNull(gVar, "source == null");
this.f250s = gVar;
this.f251s = gVar;
this.t = gVar.g();
x(6);
}
@ -307,7 +307,7 @@ public final class d extends c {
boolean z3 = false;
while (true) {
int i6 = i5 + 1;
if (!this.f250s.j((long) i6)) {
if (!this.f251s.j((long) i6)) {
break;
}
byte r4 = this.t.r((long) i5);
@ -392,11 +392,11 @@ public final class d extends c {
while (true) {
if (i9 < length) {
int i10 = i9 + 1;
if (!this.f250s.j((long) i10) || ((r2 = this.t.r((long) i9)) != str2.charAt(i9) && r2 != str.charAt(i9))) {
if (!this.f251s.j((long) i10) || ((r2 = this.t.r((long) i9)) != str2.charAt(i9) && r2 != str.charAt(i9))) {
break;
}
i9 = i10;
} else if (!this.f250s.j((long) (length + 1)) || !M(this.t.r((long) length))) {
} else if (!this.f251s.j((long) (length + 1)) || !M(this.t.r((long) length))) {
this.t.skip((long) length);
this.u = i;
}
@ -472,14 +472,14 @@ public final class d extends c {
int i = 0;
while (true) {
int i2 = i + 1;
if (this.f250s.j((long) i2)) {
if (this.f251s.j((long) i2)) {
byte r2 = this.t.r((long) i);
if (r2 == 10 || r2 == 32 || r2 == 13 || r2 == 9) {
i = i2;
} else {
this.t.skip((long) (i2 - 1));
if (r2 == 47) {
if (!this.f250s.j(2)) {
if (!this.f251s.j(2)) {
return r2;
}
H();
@ -502,7 +502,7 @@ public final class d extends c {
public final String Q(ByteString byteString) throws IOException {
StringBuilder sb = null;
while (true) {
long D = this.f250s.D(byteString);
long D = this.f251s.D(byteString);
if (D == -1) {
G("Unterminated string");
throw null;
@ -526,14 +526,14 @@ public final class d extends c {
}
public final String R() throws IOException {
long D = this.f250s.D(p);
long D = this.f251s.D(p);
return D != -1 ? this.t.H(D) : this.t.G();
}
public final char S() throws IOException {
int i;
int i2;
if (this.f250s.j(1)) {
if (this.f251s.j(1)) {
byte readByte = this.t.readByte();
if (readByte == 10 || readByte == 34 || readByte == 39 || readByte == 47 || readByte == 92) {
return (char) readByte;
@ -558,7 +558,7 @@ public final class d extends c {
K.append((char) readByte);
G(K.toString());
throw null;
} else if (this.f250s.j(4)) {
} else if (this.f251s.j(4)) {
char c2 = 0;
for (int i3 = 0; i3 < 4; i3++) {
byte r2 = this.t.r((long) i3);
@ -595,7 +595,7 @@ public final class d extends c {
public final void T(ByteString byteString) throws IOException {
while (true) {
long D = this.f250s.D(byteString);
long D = this.f251s.D(byteString);
if (D == -1) {
G("Unterminated string");
throw null;
@ -610,7 +610,7 @@ public final class d extends c {
}
public final void U() throws IOException {
long D = this.f250s.D(p);
long D = this.f251s.D(p);
e eVar = this.t;
if (D == -1) {
D = eVar.j;
@ -684,7 +684,7 @@ public final class d extends c {
this.j = 1;
e eVar = this.t;
eVar.skip(eVar.j);
this.f250s.close();
this.f251s.close();
}
@Override // c.c.a.a0.h0.c
@ -760,13 +760,13 @@ public final class d extends c {
return (double) this.v;
}
if (i == 17) {
this.f251x = this.t.H((long) this.w);
this.f252x = this.t.H((long) this.w);
} else if (i == 9) {
this.f251x = Q(o);
this.f252x = Q(o);
} else if (i == 8) {
this.f251x = Q(n);
this.f252x = Q(n);
} else if (i == 10) {
this.f251x = R();
this.f252x = R();
} else if (i != 11) {
StringBuilder K = a.K("Expected a double but was ");
K.append(w());
@ -776,11 +776,11 @@ public final class d extends c {
}
this.u = 11;
try {
double parseDouble = Double.parseDouble(this.f251x);
double parseDouble = Double.parseDouble(this.f252x);
if (Double.isNaN(parseDouble) || Double.isInfinite(parseDouble)) {
throw new b("JSON forbids NaN and infinities: " + parseDouble + " at path " + getPath());
}
this.f251x = null;
this.f252x = null;
this.u = 0;
int[] iArr2 = this.m;
int i3 = this.j - 1;
@ -788,7 +788,7 @@ public final class d extends c {
return parseDouble;
} catch (NumberFormatException unused) {
StringBuilder K2 = a.K("Expected a double but was ");
K2.append(this.f251x);
K2.append(this.f252x);
K2.append(" at path ");
K2.append(getPath());
throw new a(K2.toString());
@ -818,10 +818,10 @@ public final class d extends c {
throw new a(K.toString());
}
if (i == 17) {
this.f251x = this.t.H((long) this.w);
this.f252x = this.t.H((long) this.w);
} else if (i == 9 || i == 8) {
String Q = i == 9 ? Q(o) : Q(n);
this.f251x = Q;
this.f252x = Q;
try {
int parseInt = Integer.parseInt(Q);
this.u = 0;
@ -840,10 +840,10 @@ public final class d extends c {
}
this.u = 11;
try {
double parseDouble = Double.parseDouble(this.f251x);
double parseDouble = Double.parseDouble(this.f252x);
int i5 = (int) parseDouble;
if (((double) i5) == parseDouble) {
this.f251x = null;
this.f252x = null;
this.u = 0;
int[] iArr3 = this.m;
int i6 = this.j - 1;
@ -851,13 +851,13 @@ public final class d extends c {
return i5;
}
StringBuilder K3 = a.K("Expected an int but was ");
K3.append(this.f251x);
K3.append(this.f252x);
K3.append(" at path ");
K3.append(getPath());
throw new a(K3.toString());
} catch (NumberFormatException unused2) {
StringBuilder K4 = a.K("Expected an int but was ");
K4.append(this.f251x);
K4.append(this.f252x);
K4.append(" at path ");
K4.append(getPath());
throw new a(K4.toString());
@ -878,7 +878,7 @@ public final class d extends c {
} else if (i == 12) {
str = Q(n);
} else if (i == 15) {
str = this.f251x;
str = this.f252x;
} else {
StringBuilder K = a.K("Expected a name but was ");
K.append(w());
@ -905,8 +905,8 @@ public final class d extends c {
} else if (i == 8) {
str = Q(n);
} else if (i == 11) {
str = this.f251x;
this.f251x = null;
str = this.f252x;
this.f252x = null;
} else if (i == 16) {
str = Long.toString(this.v);
} else if (i == 17) {
@ -928,7 +928,7 @@ public final class d extends c {
@Override // java.lang.Object
public String toString() {
StringBuilder K = a.K("JsonReader(");
K.append(this.f250s);
K.append(this.f251s);
K.append(")");
return K.toString();
}
@ -983,9 +983,9 @@ public final class d extends c {
return -1;
}
if (i == 15) {
return K(this.f251x, aVar);
return K(this.f252x, aVar);
}
int u0 = this.f250s.u0(aVar.b);
int u0 = this.f251s.u0(aVar.b);
if (u0 != -1) {
this.u = 0;
this.l[this.j - 1] = aVar.a[u0];
@ -996,7 +996,7 @@ public final class d extends c {
int K = K(s2, aVar);
if (K == -1) {
this.u = 15;
this.f251x = s2;
this.f252x = s2;
this.l[this.j - 1] = str;
}
return K;

View file

@ -7,5 +7,5 @@ public class m {
public static final c.a b = c.a.a("p", "k");
/* renamed from: c reason: collision with root package name */
public static final c.a f252c = c.a.a("n", "v");
public static final c.a f253c = c.a.a("n", "v");
}

View file

@ -19,7 +19,7 @@ public class p {
public static SparseArrayCompat<WeakReference<Interpolator>> b;
/* renamed from: c reason: collision with root package name */
public static c.a f253c = c.a.a("t", "s", "e", "o", "i", "h", "to", "ti");
public static c.a f254c = c.a.a("t", "s", "e", "o", "i", "h", "to", "ti");
public static <T> a<T> a(c cVar, d dVar, float f, g0<T> g0Var, boolean z2) throws IOException {
T t;
@ -40,7 +40,7 @@ public class p {
boolean z3 = false;
float f2 = 0.0f;
while (cVar.e()) {
switch (cVar.z(f253c)) {
switch (cVar.z(f254c)) {
case 0:
f2 = (float) cVar.p();
break;

View file

@ -54,15 +54,15 @@ public class q {
i2++;
a aVar2 = (a) list.get(i2);
aVar.f = Float.valueOf(aVar2.e);
if (aVar.f258c == null && (t = aVar2.b) != null) {
aVar.f258c = t;
if (aVar.f259c == null && (t = aVar2.b) != null) {
aVar.f259c = t;
if (aVar instanceof h) {
((h) aVar).e();
}
}
}
a aVar3 = (a) list.get(i);
if ((aVar3.b == null || aVar3.f258c == null) && list.size() > 1) {
if ((aVar3.b == null || aVar3.f259c == null) && list.size() > 1) {
list.remove(aVar3);
}
}

View file

@ -21,7 +21,7 @@ public class r {
public static final c.a b = c.a.a("d", "a");
/* renamed from: c reason: collision with root package name */
public static final c.a f254c = c.a.a("nm");
public static final c.a f255c = c.a.a("nm");
/* JADX DEBUG: Failed to insert an additional move for type inference into block B:226:0x0303 */
/* JADX DEBUG: Multi-variable search result rejected for r6v10, resolved type: c.c.a.y.k.d */
@ -343,7 +343,7 @@ public class r {
while (cVar.e()) {
cVar.b();
while (cVar.e()) {
if (cVar.z(f254c) != 0) {
if (cVar.z(f255c) != 0) {
cVar.B();
cVar.C();
} else {

View file

@ -20,7 +20,7 @@ public class s {
public static c.a b = c.a.a("id", "layers", "w", "h", "p", "u");
/* renamed from: c reason: collision with root package name */
public static final c.a f255c = c.a.a("list");
public static final c.a f256c = c.a.a("list");
public static final c.a d = c.a.a("cm", "tm", "dr");
public static d a(c cVar) throws IOException {
@ -176,7 +176,7 @@ public class s {
f2 = f6;
cVar.b();
while (cVar.e()) {
if (cVar.z(f255c) != 0) {
if (cVar.z(f256c) != 0) {
cVar.B();
cVar.C();
} else {
@ -343,7 +343,7 @@ public class s {
dVar.m = f4;
dVar.i = arrayList3;
dVar.h = longSparseArray;
dVar.f259c = hashMap;
dVar.f260c = hashMap;
dVar.d = hashMap2;
dVar.g = sparseArrayCompat2;
dVar.e = hashMap3;

View file

@ -22,7 +22,7 @@ public class d extends a implements Choreographer.FrameCallback {
@VisibleForTesting
/* renamed from: s reason: collision with root package name */
public boolean f256s = false;
public boolean f257s = false;
@Override // android.animation.ValueAnimator, android.animation.Animator
@MainThread
@ -37,7 +37,7 @@ public class d extends a implements Choreographer.FrameCallback {
public void doFrame(long j) {
l();
c.c.a.d dVar = this.r;
if (dVar != null && this.f256s) {
if (dVar != null && this.f257s) {
long j2 = this.m;
long j3 = 0;
if (j2 != 0) {
@ -149,7 +149,7 @@ public class d extends a implements Choreographer.FrameCallback {
@Override // android.animation.ValueAnimator, android.animation.Animator
public boolean isRunning() {
return this.f256s;
return this.f257s;
}
public float j() {
@ -166,7 +166,7 @@ public class d extends a implements Choreographer.FrameCallback {
}
public void l() {
if (this.f256s) {
if (this.f257s) {
Choreographer.getInstance().removeFrameCallback(this);
Choreographer.getInstance().postFrameCallback(this);
}
@ -175,7 +175,7 @@ public class d extends a implements Choreographer.FrameCallback {
@MainThread
public void m() {
Choreographer.getInstance().removeFrameCallback(this);
this.f256s = false;
this.f257s = false;
}
public void n(float f) {

View file

@ -17,7 +17,7 @@ public final class g {
public static final Path b = new Path();
/* renamed from: c reason: collision with root package name */
public static final Path f257c = new Path();
public static final Path f258c = new Path();
public static final float[] d = new float[4];
public static final float e = ((float) (Math.sqrt(2.0d) / 2.0d));
public static float f = -1.0f;
@ -59,12 +59,12 @@ public final class g {
path2.reset();
pathMeasure.getSegment(min, max, path2, true);
if (max > length) {
Path path3 = f257c;
Path path3 = f258c;
path3.reset();
pathMeasure.getSegment(0.0f, max % length, path3, true);
path2.addPath(path3);
} else if (min < 0.0f) {
Path path4 = f257c;
Path path4 = f258c;
path4.reset();
pathMeasure.getSegment(min + length, length, path4, true);
path2.addPath(path4);

View file

@ -14,7 +14,7 @@ public class a<T> {
@Nullable
/* renamed from: c reason: collision with root package name */
public T f258c;
public T f259c;
@Nullable
public final Interpolator d;
public final float e;
@ -40,7 +40,7 @@ public class a<T> {
this.n = null;
this.a = dVar;
this.b = t;
this.f258c = t2;
this.f259c = t2;
this.d = interpolator;
this.e = f;
this.f = f2;
@ -57,7 +57,7 @@ public class a<T> {
this.n = null;
this.a = null;
this.b = t;
this.f258c = t;
this.f259c = t;
this.d = null;
this.e = Float.MIN_VALUE;
this.f = Float.valueOf(Float.MAX_VALUE);
@ -100,7 +100,7 @@ public class a<T> {
StringBuilder K = c.d.b.a.a.K("Keyframe{startValue=");
K.append((Object) this.b);
K.append(", endValue=");
K.append((Object) this.f258c);
K.append((Object) this.f259c);
K.append(", startFrame=");
K.append(this.e);
K.append(", endFrame=");

View file

@ -17,7 +17,7 @@ public class d {
public final HashSet<String> b = new HashSet<>();
/* renamed from: c reason: collision with root package name */
public Map<String, List<e>> f259c;
public Map<String, List<e>> f260c;
public Map<String, k> d;
public Map<String, c.c.a.y.d> e;
public List<i> f;

View file

@ -31,7 +31,7 @@ public class f implements Callable<p<d>> {
Pair pair;
c cVar = new c(this.i, this.j, this.k);
a aVar = a.ZIP;
b bVar = cVar.f339c;
b bVar = cVar.f340c;
d dVar = null;
if (bVar != null) {
String str = cVar.b;

View file

@ -42,7 +42,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
@Nullable
/* renamed from: s reason: collision with root package name */
public String f260s;
public String f261s;
@Nullable
public b t;
@Nullable
@ -52,13 +52,13 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
public c.c.a.y.m.c w;
/* renamed from: x reason: collision with root package name */
public int f261x;
public int f262x;
/* renamed from: y reason: collision with root package name */
public boolean f262y;
public boolean f263y;
/* renamed from: z reason: collision with root package name */
public boolean f263z;
public boolean f264z;
/* compiled from: LottieDrawable */
public class a implements o {
@ -124,17 +124,17 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
public final /* synthetic */ Object b;
/* renamed from: c reason: collision with root package name */
public final /* synthetic */ c.c.a.c0.c f265c;
public final /* synthetic */ c.c.a.c0.c f266c;
public e(c.c.a.y.f fVar, Object obj, c.c.a.c0.c cVar) {
this.a = fVar;
this.b = obj;
this.f265c = cVar;
this.f266c = cVar;
}
@Override // c.c.a.j.o
public void a(d dVar) {
j.this.a(this.a, this.b, this.f265c);
j.this.a(this.a, this.b, this.f266c);
}
}
@ -191,10 +191,10 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
/* compiled from: LottieDrawable */
/* renamed from: c.c.a.j$j reason: collision with other inner class name */
public class C0049j implements o {
public class C0050j implements o {
public final /* synthetic */ float a;
public C0049j(float f) {
public C0050j(float f) {
this.a = f;
}
@ -275,7 +275,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
this.o = new ArrayList<>();
f fVar = new f();
this.p = fVar;
this.f261x = 255;
this.f262x = 255;
this.A = true;
this.B = false;
dVar.i.add(fVar);
@ -292,7 +292,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
if (fVar == c.c.a.y.f.a) {
cVar2.g(t, cVar);
} else {
c.c.a.y.g gVar = fVar.f304c;
c.c.a.y.g gVar = fVar.f305c;
if (gVar != null) {
gVar.g(t, cVar);
} else {
@ -305,7 +305,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
list = arrayList;
}
for (int i2 = 0; i2 < list.size(); i2++) {
((c.c.a.y.f) list.get(i2)).f304c.g(t, cVar);
((c.c.a.y.f) list.get(i2)).f305c.g(t, cVar);
}
z2 = true ^ list.isEmpty();
}
@ -329,7 +329,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
public void c() {
c.c.a.b0.d dVar = this.k;
if (dVar.f256s) {
if (dVar.f257s) {
dVar.cancel();
}
this.j = null;
@ -372,7 +372,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
}
this.i.reset();
this.i.preScale(width, height);
this.w.f(canvas, this.i, this.f261x);
this.w.f(canvas, this.i, this.f262x);
if (i2 > 0) {
canvas.restoreToCount(i2);
}
@ -398,7 +398,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
}
this.i.reset();
this.i.preScale(min2, min2);
this.w.f(canvas, this.i, this.f261x);
this.w.f(canvas, this.i, this.f262x);
if (i2 > 0) {
canvas.restoreToCount(i2);
}
@ -435,7 +435,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
@Override // android.graphics.drawable.Drawable
public int getAlpha() {
return this.f261x;
return this.f262x;
}
@Override // android.graphics.drawable.Drawable
@ -470,7 +470,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
if (dVar == null) {
return false;
}
return dVar.f256s;
return dVar.f257s;
}
@Override // android.graphics.drawable.Drawable.Callback
@ -505,7 +505,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
}
if (this.m || h() == 0) {
c.c.a.b0.d dVar = this.k;
dVar.f256s = true;
dVar.f257s = true;
boolean k2 = dVar.k();
for (Animator.AnimatorListener animatorListener : dVar.j) {
if (Build.VERSION.SDK_INT >= 26) {
@ -533,7 +533,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
}
if (this.m || h() == 0) {
c.c.a.b0.d dVar = this.k;
dVar.f256s = true;
dVar.f257s = true;
dVar.l();
dVar.m = 0;
if (dVar.k() && dVar.n == dVar.j()) {
@ -573,7 +573,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
}
c.c.a.y.i d2 = dVar.d(str);
if (d2 != null) {
m((int) (d2.b + d2.f305c));
m((int) (d2.b + d2.f306c));
return;
}
throw new IllegalArgumentException(c.d.b.a.a.t("Cannot find marker with name ", str, "."));
@ -605,7 +605,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
c.c.a.y.i d2 = dVar.d(str);
if (d2 != null) {
int i2 = (int) d2.b;
p(i2, ((int) d2.f305c) + i2);
p(i2, ((int) d2.f306c) + i2);
return;
}
throw new IllegalArgumentException(c.d.b.a.a.t("Cannot find marker with name ", str, "."));
@ -644,7 +644,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
@Override // android.graphics.drawable.Drawable
public void setAlpha(@IntRange(from = 0, to = 255) int i2) {
this.f261x = i2;
this.f262x = i2;
invalidateSelf();
}
@ -669,7 +669,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
public void t(float f2) {
d dVar = this.j;
if (dVar == null) {
this.o.add(new C0049j(f2));
this.o.add(new C0050j(f2));
} else {
r((int) c.c.a.b0.f.e(dVar.k, dVar.l, f2));
}

View file

@ -9,7 +9,7 @@ public class k {
public final int b;
/* renamed from: c reason: collision with root package name */
public final String f266c;
public final String f267c;
public final String d;
@Nullable
public Bitmap e;
@ -18,7 +18,7 @@ public class k {
public k(int i, int i2, String str, String str2, String str3) {
this.a = i;
this.b = i2;
this.f266c = str;
this.f267c = str;
this.d = str2;
}
}

View file

@ -13,7 +13,7 @@ public interface o {
public static final Integer b = 2;
/* renamed from: c reason: collision with root package name */
public static final Integer f267c = 3;
public static final Integer f268c = 3;
public static final Integer d = 4;
public static final PointF e = new PointF();
public static final PointF f = new PointF();
@ -31,20 +31,20 @@ public interface o {
public static final Float r = Float.valueOf(5.0f);
/* renamed from: s reason: collision with root package name */
public static final Float f268s = Float.valueOf(6.0f);
public static final Float f269s = Float.valueOf(6.0f);
public static final Float t = Float.valueOf(7.0f);
public static final Float u = Float.valueOf(8.0f);
public static final Float v = Float.valueOf(9.0f);
public static final Float w = Float.valueOf(10.0f);
/* renamed from: x reason: collision with root package name */
public static final Float f269x = Float.valueOf(11.0f);
public static final Float f270x = Float.valueOf(11.0f);
/* renamed from: y reason: collision with root package name */
public static final Float f270y = Float.valueOf(12.0f);
public static final Float f271y = Float.valueOf(12.0f);
/* renamed from: z reason: collision with root package name */
public static final Float f271z = Float.valueOf(12.1f);
public static final Float f272z = Float.valueOf(12.1f);
static {
Float valueOf = Float.valueOf(0.0f);

View file

@ -31,7 +31,7 @@ public class q implements Runnable {
r rVar2 = this.i;
Throwable th = pVar.b;
synchronized (rVar2) {
ArrayList arrayList = new ArrayList(rVar2.f272c);
ArrayList arrayList = new ArrayList(rVar2.f273c);
if (arrayList.isEmpty()) {
c.c("Lottie encountered an error but no failure listener was added:", th);
return;

View file

@ -17,7 +17,7 @@ public class r<T> {
public final Set<l<T>> b = new LinkedHashSet(1);
/* renamed from: c reason: collision with root package name */
public final Set<l<Throwable>> f272c = new LinkedHashSet(1);
public final Set<l<Throwable>> f273c = new LinkedHashSet(1);
public final Handler d = new Handler(Looper.getMainLooper());
@Nullable
public volatile p<T> e = null;
@ -49,7 +49,7 @@ public class r<T> {
if (!(this.e == null || this.e.b == null)) {
lVar.a(this.e.b);
}
this.f272c.add(lVar);
this.f273c.add(lVar);
return this;
}

View file

@ -11,7 +11,7 @@ public class s {
public final Set<a> b = new ArraySet();
/* renamed from: c reason: collision with root package name */
public final Map<String, e> f273c = new HashMap();
public final Map<String, e> f274c = new HashMap();
/* compiled from: PerformanceTracker */
public interface a {

View file

@ -27,7 +27,7 @@ public abstract class a implements a.b, k, e {
public final Path b = new Path();
/* renamed from: c reason: collision with root package name */
public final Path f274c = new Path();
public final Path f275c = new Path();
public final RectF d = new RectF();
public final j e;
public final c.c.a.y.m.b f;
@ -48,7 +48,7 @@ public abstract class a implements a.b, k, e {
@Nullable
public final s b;
public b(s sVar, C0050a aVar) {
public b(s sVar, C0051a aVar) {
this.b = sVar;
}
}
@ -106,7 +106,7 @@ public abstract class a implements a.b, k, e {
c cVar = list.get(size);
if (cVar instanceof s) {
s sVar2 = (s) cVar;
if (sVar2.f288c == 2) {
if (sVar2.f289c == 2) {
sVar = sVar2;
}
}
@ -119,7 +119,7 @@ public abstract class a implements a.b, k, e {
c cVar2 = list2.get(size2);
if (cVar2 instanceof s) {
s sVar3 = (s) cVar2;
if (sVar3.f288c == 2) {
if (sVar3.f289c == 2) {
if (bVar != null) {
this.g.add(bVar);
}
@ -249,15 +249,15 @@ public abstract class a implements a.b, k, e {
int size3 = bVar.a.size() - 1;
float f3 = 0.0f;
while (size3 >= 0) {
this.f274c.set(bVar.a.get(size3).getPath());
this.f274c.transform(matrix);
this.a.setPath(this.f274c, z2);
this.f275c.set(bVar.a.get(size3).getPath());
this.f275c.transform(matrix);
this.a.setPath(this.f275c, z2);
float length2 = this.a.getLength();
if (floatValue3 > length) {
float f4 = floatValue3 - length;
if (f4 < f3 + length2 && f3 < f4) {
g.a(this.f274c, floatValue2 > length ? (floatValue2 - length) / length2 : 0.0f, Math.min(f4 / length2, f2), 0.0f);
canvas.drawPath(this.f274c, this.i);
g.a(this.f275c, floatValue2 > length ? (floatValue2 - length) / length2 : 0.0f, Math.min(f4 / length2, f2), 0.0f);
canvas.drawPath(this.f275c, this.i);
f3 += length2;
size3--;
z2 = false;
@ -267,10 +267,10 @@ public abstract class a implements a.b, k, e {
float f5 = f3 + length2;
if (f5 >= floatValue2 && f3 <= floatValue3) {
if (f5 > floatValue3 || floatValue2 >= f3) {
g.a(this.f274c, floatValue2 < f3 ? 0.0f : (floatValue2 - f3) / length2, floatValue3 > f5 ? 1.0f : (floatValue3 - f3) / length2, 0.0f);
canvas.drawPath(this.f274c, this.i);
g.a(this.f275c, floatValue2 < f3 ? 0.0f : (floatValue2 - f3) / length2, floatValue3 > f5 ? 1.0f : (floatValue3 - f3) / length2, 0.0f);
canvas.drawPath(this.f275c, this.i);
} else {
canvas.drawPath(this.f274c, this.i);
canvas.drawPath(this.f275c, this.i);
}
}
f3 += length2;

View file

@ -23,7 +23,7 @@ public class d implements e, m, a.b, g {
public RectF b;
/* renamed from: c reason: collision with root package name */
public final Matrix f275c;
public final Matrix f276c;
public final Path d;
public final RectF e;
public final String f;
@ -40,7 +40,7 @@ public class d implements e, m, a.b, g {
this(jVar, bVar, r3, r4, r5, r6);
l lVar;
String str = mVar.a;
boolean z2 = mVar.f318c;
boolean z2 = mVar.f319c;
List<c.c.a.y.l.b> list = mVar.b;
ArrayList arrayList = new ArrayList(list.size());
int i = 0;
@ -68,7 +68,7 @@ public class d implements e, m, a.b, g {
public d(j jVar, b bVar, String str, boolean z2, List<c> list, @Nullable l lVar) {
this.a = new c.c.a.w.a();
this.b = new RectF();
this.f275c = new Matrix();
this.f276c = new Matrix();
this.d = new Path();
this.e = new RectF();
this.f = str;
@ -143,16 +143,16 @@ public class d implements e, m, a.b, g {
@Override // c.c.a.w.b.e
public void d(RectF rectF, Matrix matrix, boolean z2) {
this.f275c.set(matrix);
this.f276c.set(matrix);
o oVar = this.k;
if (oVar != null) {
this.f275c.preConcat(oVar.e());
this.f276c.preConcat(oVar.e());
}
this.e.set(0.0f, 0.0f, 0.0f, 0.0f);
for (int size = this.h.size() - 1; size >= 0; size--) {
c cVar = this.h.get(size);
if (cVar instanceof e) {
((e) cVar).d(this.e, this.f275c, z2);
((e) cVar).d(this.e, this.f276c, z2);
rectF.union(this.e);
}
}
@ -175,15 +175,15 @@ public class d implements e, m, a.b, g {
public void f(Canvas canvas, Matrix matrix, int i) {
boolean z2;
if (!this.g) {
this.f275c.set(matrix);
this.f276c.set(matrix);
o oVar = this.k;
if (oVar != null) {
this.f275c.preConcat(oVar.e());
this.f276c.preConcat(oVar.e());
a<Integer, Integer> aVar = this.k.j;
i = (int) ((((((float) (aVar == null ? 100 : aVar.e().intValue())) / 100.0f) * ((float) i)) / 255.0f) * 255.0f);
}
boolean z3 = false;
if (this.i.f263z) {
if (this.i.f264z) {
int i2 = 0;
int i3 = 0;
while (true) {
@ -203,7 +203,7 @@ public class d implements e, m, a.b, g {
}
if (z3) {
this.b.set(0.0f, 0.0f, 0.0f, 0.0f);
d(this.b, this.f275c, true);
d(this.b, this.f276c, true);
this.a.setAlpha(i);
c.c.a.b0.g.f(canvas, this.b, this.a, 31);
}
@ -213,7 +213,7 @@ public class d implements e, m, a.b, g {
for (int size = this.h.size() - 1; size >= 0; size--) {
c cVar = this.h.get(size);
if (cVar instanceof e) {
((e) cVar).f(canvas, this.f275c, i);
((e) cVar).f(canvas, this.f276c, i);
}
}
if (z3) {
@ -237,10 +237,10 @@ public class d implements e, m, a.b, g {
@Override // c.c.a.w.b.m
public Path getPath() {
this.f275c.reset();
this.f276c.reset();
o oVar = this.k;
if (oVar != null) {
this.f275c.set(oVar.e());
this.f276c.set(oVar.e());
}
this.d.reset();
if (this.g) {
@ -249,7 +249,7 @@ public class d implements e, m, a.b, g {
for (int size = this.h.size() - 1; size >= 0; size--) {
c cVar = this.h.get(size);
if (cVar instanceof m) {
this.d.addPath(((m) cVar).getPath(), this.f275c);
this.d.addPath(((m) cVar).getPath(), this.f276c);
}
}
return this.d;

View file

@ -15,7 +15,7 @@ public class f implements m, a.b, k {
public final String b;
/* renamed from: c reason: collision with root package name */
public final j f276c;
public final j f277c;
public final a<?, PointF> d;
public final a<?, PointF> e;
public final c.c.a.y.l.a f;
@ -24,8 +24,8 @@ public class f implements m, a.b, k {
public f(j jVar, b bVar, c.c.a.y.l.a aVar) {
this.b = aVar.a;
this.f276c = jVar;
a<PointF, PointF> a = aVar.f308c.a();
this.f277c = jVar;
a<PointF, PointF> a = aVar.f309c.a();
this.d = a;
a<PointF, PointF> a2 = aVar.b.a();
this.e = a2;
@ -39,7 +39,7 @@ public class f implements m, a.b, k {
@Override // c.c.a.w.c.a.b
public void a() {
this.h = false;
this.f276c.invalidateSelf();
this.f277c.invalidateSelf();
}
@Override // c.c.a.w.b.c
@ -48,7 +48,7 @@ public class f implements m, a.b, k {
c cVar = list.get(i);
if (cVar instanceof s) {
s sVar = (s) cVar;
if (sVar.f288c == 1) {
if (sVar.f289c == 1) {
this.g.a.add(sVar);
sVar.b.add(this);
}

View file

@ -23,7 +23,7 @@ public class g implements e, a.b, k {
public final Paint b = new c.c.a.w.a(1);
/* renamed from: c reason: collision with root package name */
public final b f277c;
public final b f278c;
public final String d;
public final boolean e;
public final List<m> f = new ArrayList();
@ -36,8 +36,8 @@ public class g implements e, a.b, k {
public g(j jVar, b bVar, l lVar) {
Path path = new Path();
this.a = path;
this.f277c = bVar;
this.d = lVar.f317c;
this.f278c = bVar;
this.d = lVar.f318c;
this.e = lVar.f;
this.j = jVar;
if (lVar.d == null || lVar.e == null) {
@ -121,7 +121,7 @@ public class g implements e, a.b, k {
} else if (t == o.C) {
a<ColorFilter, ColorFilter> aVar3 = this.i;
if (aVar3 != null) {
this.f277c.u.remove(aVar3);
this.f278c.u.remove(aVar3);
}
if (cVar == 0) {
this.i = null;
@ -130,7 +130,7 @@ public class g implements e, a.b, k {
p pVar = new p(cVar, null);
this.i = pVar;
pVar.a.add(this);
this.f277c.e(this.i);
this.f278c.e(this.i);
}
}

View file

@ -30,7 +30,7 @@ public class h implements e, a.b, k {
public final boolean b;
/* renamed from: c reason: collision with root package name */
public final b f278c;
public final b f279c;
public final LongSparseArray<LinearGradient> d = new LongSparseArray<>();
public final LongSparseArray<RadialGradient> e = new LongSparseArray<>();
public final Path f;
@ -55,14 +55,14 @@ public class h implements e, a.b, k {
this.g = new c.c.a.w.a(1);
this.h = new RectF();
this.i = new ArrayList();
this.f278c = bVar;
this.f279c = bVar;
this.a = dVar.g;
this.b = dVar.h;
this.q = jVar;
this.j = dVar.a;
path.setFillType(dVar.b);
this.r = (int) (jVar.j.b() / 32.0f);
a<c, c> a = dVar.f309c.a();
a<c, c> a = dVar.f310c.a();
this.k = a;
a.a.add(this);
bVar.e(a);
@ -193,7 +193,7 @@ public class h implements e, a.b, k {
} else if (t == o.C) {
a<ColorFilter, ColorFilter> aVar2 = this.o;
if (aVar2 != null) {
this.f278c.u.remove(aVar2);
this.f279c.u.remove(aVar2);
}
if (cVar == 0) {
this.o = null;
@ -202,11 +202,11 @@ public class h implements e, a.b, k {
p pVar = new p(cVar, null);
this.o = pVar;
pVar.a.add(this);
this.f278c.e(this.o);
this.f279c.e(this.o);
} else if (t == o.D) {
p pVar2 = this.p;
if (pVar2 != null) {
this.f278c.u.remove(pVar2);
this.f279c.u.remove(pVar2);
}
if (cVar == 0) {
this.p = null;
@ -215,7 +215,7 @@ public class h implements e, a.b, k {
p pVar3 = new p(cVar, null);
this.p = pVar3;
pVar3.a.add(this);
this.f278c.e(this.p);
this.f279c.e(this.p);
}
}

View file

@ -24,18 +24,18 @@ public class i extends a {
public final LongSparseArray<RadialGradient> r = new LongSparseArray<>();
/* renamed from: s reason: collision with root package name */
public final RectF f279s = new RectF();
public final RectF f280s = new RectF();
public final int t;
public final int u;
public final a<c, c> v;
public final a<PointF, PointF> w;
/* renamed from: x reason: collision with root package name */
public final a<PointF, PointF> f280x;
public final a<PointF, PointF> f281x;
@Nullable
/* renamed from: y reason: collision with root package name */
public p f281y;
public p f282y;
public i(j jVar, b bVar, e eVar) {
super(jVar, bVar, c.c.a.y.b.k(eVar.h), c.c.a.y.b.l(eVar.i), eVar.j, eVar.d, eVar.g, eVar.k, eVar.l);
@ -43,7 +43,7 @@ public class i extends a {
this.t = eVar.b;
this.p = eVar.m;
this.u = (int) (jVar.j.b() / 32.0f);
a<c, c> a = eVar.f310c.a();
a<c, c> a = eVar.f311c.a();
this.v = a;
a.a.add(this);
bVar.e(a);
@ -52,13 +52,13 @@ public class i extends a {
a2.a.add(this);
bVar.e(a2);
a<PointF, PointF> a3 = eVar.f.a();
this.f280x = a3;
this.f281x = a3;
a3.a.add(this);
bVar.e(a3);
}
public final int[] e(int[] iArr) {
p pVar = this.f281y;
p pVar = this.f282y;
if (pVar != null) {
Integer[] numArr = (Integer[]) pVar.e();
int i = 0;
@ -85,13 +85,13 @@ public class i extends a {
public void f(Canvas canvas, Matrix matrix, int i) {
RadialGradient radialGradient;
if (!this.p) {
d(this.f279s, matrix, false);
d(this.f280s, matrix, false);
if (this.t == 1) {
long h = (long) h();
radialGradient = this.q.get(h);
if (radialGradient == null) {
PointF e = this.w.e();
PointF e2 = this.f280x.e();
PointF e2 = this.f281x.e();
c e3 = this.v.e();
radialGradient = new LinearGradient(e.x, e.y, e2.x, e2.y, e(e3.b), e3.a, Shader.TileMode.CLAMP);
this.q.put(h, radialGradient);
@ -101,7 +101,7 @@ public class i extends a {
radialGradient = this.r.get(h2);
if (radialGradient == null) {
PointF e4 = this.w.e();
PointF e5 = this.f280x.e();
PointF e5 = this.f281x.e();
c e6 = this.v.e();
int[] e7 = e(e6.b);
float[] fArr = e6.a;
@ -123,18 +123,18 @@ public class i extends a {
public <T> void g(T t, @Nullable c.c.a.c0.c<T> cVar) {
super.g(t, cVar);
if (t == o.D) {
p pVar = this.f281y;
p pVar = this.f282y;
if (pVar != null) {
this.f.u.remove(pVar);
}
if (cVar == null) {
this.f281y = null;
this.f282y = null;
return;
}
p pVar2 = new p(cVar, null);
this.f281y = pVar2;
this.f282y = pVar2;
pVar2.a.add(this);
this.f.e(this.f281y);
this.f.e(this.f282y);
}
}
@ -145,7 +145,7 @@ public class i extends a {
public final int h() {
int round = Math.round(this.w.d * ((float) this.u));
int round2 = Math.round(this.f280x.d * ((float) this.u));
int round2 = Math.round(this.f281x.d * ((float) this.u));
int round3 = Math.round(this.v.d * ((float) this.u));
int i = 17;
if (round != 0) {

Some files were not shown because too many files have changed in this diff Show more