114.2 - Alpha (114202)

This commit is contained in:
Juby210 2022-02-02 08:50:56 +00:00
parent a3a4abf015
commit dad3a78883
549 changed files with 10594 additions and 10420 deletions

View file

@ -10,8 +10,8 @@ android {
applicationId 'com.discord'
minSdkVersion 21
targetSdkVersion 30
versionCode 114201
versionName "114.1 - Alpha"
versionCode 114202
versionName "114.2 - Alpha"
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="114201" android:versionName="114.1 - Alpha" 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="114202" android:versionName="114.2 - Alpha" android:installLocation="auto" android:compileSdkVersion="30" android:compileSdkVersionCodename="11" package="com.discord" platformBuildVersionCode="30" platformBuildVersionName="11">
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="30"/>
<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.AbstractBinderC0359a {
public class b extends a.AbstractBinderC0358a {
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.AbstractBinderC0359a.a;
int i = a.AbstractBinderC0358a.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.AbstractBinderC0359a.C0360a(readStrongBinder) : (x.a.b.c.a) queryLocalInterface;
aVar = (queryLocalInterface == null || !(queryLocalInterface instanceof x.a.b.c.a)) ? new a.AbstractBinderC0358a.C0359a(readStrongBinder) : (x.a.b.c.a) queryLocalInterface;
}
this.j = 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.AbstractBinderC0348a {
public class AnonymousClass2 extends a.AbstractBinderC0347a {
private Handler mHandler = new Handler(Looper.getMainLooper());
public final /* synthetic */ CustomTabsCallback val$callback;
@ -219,7 +219,7 @@ public class CustomTabsClient {
}
}
private a.AbstractBinderC0348a createCallbackWrapper(@Nullable CustomTabsCallback customTabsCallback) {
private a.AbstractBinderC0347a 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.AbstractBinderC0348a createCallbackWrapper = createCallbackWrapper(customTabsCallback);
a.AbstractBinderC0347a 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.AbstractBinderC0348a {
@Override // x.a.a.a.AbstractBinderC0348a, android.os.IInterface
public static class MockCallback extends a.AbstractBinderC0347a {
@Override // x.a.a.a.AbstractBinderC0347a, android.os.IInterface
public IBinder asBinder() {
return this;
}
@ -150,7 +150,7 @@ public class CustomTabsSessionToken {
return null;
}
if (binder != null) {
aVar = a.AbstractBinderC0348a.asInterface(binder);
aVar = a.AbstractBinderC0347a.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.AbstractBinderC0348a.asInterface(callbackBinder);
this.mSessionBinder = a.AbstractBinderC0347a.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.AbstractBinderC0352a.asInterface(iBinder);
a asInterface = iBinder == null ? null : a.AbstractBinderC0351a.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.AbstractBinderC0352a {
public class AnonymousClass1 extends a.AbstractBinderC0351a {
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.AbstractBinderC0355a {
public class NotificationSideChannelStub extends a.AbstractBinderC0354a {
public NotificationSideChannelStub() {
}

View file

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

View file

@ -12,7 +12,7 @@ public final class RangeKt$toClosedRange$1 implements a<T> {
@Override // d0.d0.a
public boolean contains(T t) {
return a.C0194a.contains(this, t);
return a.C0193a.contains(this, t);
}
/* JADX WARNING: Unknown variable types count: 1 */
@ -28,6 +28,6 @@ public final class RangeKt$toClosedRange$1 implements a<T> {
}
public boolean isEmpty() {
return a.C0194a.isEmpty(this);
return a.C0193a.isEmpty(this);
}
}

View file

@ -1,45 +1,37 @@
package b.a.a.b;
import android.content.Context;
import android.os.Bundle;
import android.app.Dialog;
import android.content.DialogInterface;
import android.view.View;
import android.view.Window;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;
import androidx.annotation.DrawableRes;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import androidx.viewpager2.adapter.FragmentStateAdapter;
import androidx.viewpager2.widget.ViewPager2;
import b.a.i.p5;
import b.a.i.u0;
import b.a.i.d1;
import com.discord.R;
import com.discord.app.AppDialog;
import com.discord.app.AppFragment;
import com.discord.utilities.analytics.AnalyticsTracker;
import com.discord.utilities.analytics.Traits;
import com.discord.utilities.view.recycler.ViewPager2ExtensionsKt;
import com.discord.utilities.viewbinding.FragmentViewBindingDelegate;
import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt;
import com.discord.widgets.settings.premium.WidgetSettingsPremium;
import com.google.android.material.button.MaterialButton;
import com.google.android.material.tabs.TabLayout;
import d0.t.n;
import d0.t.u;
import d0.z.d.k;
import d0.z.d.m;
import java.util.List;
import java.util.Objects;
import java.text.NumberFormat;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.reflect.KProperty;
/* compiled from: MultiValuePropPremiumUpsellDialog.kt */
/* compiled from: UpgradePremiumYearlyDialog.kt */
public final class b extends AppDialog {
public static final /* synthetic */ KProperty[] j = {b.d.b.a.a.b0(b.class, "binding", "getBinding()Lcom/discord/databinding/MultiValuePropPremiumUpsellDialogBinding;", 0)};
public static final /* synthetic */ KProperty[] j = {b.d.b.a.a.b0(b.class, "binding", "getBinding()Lcom/discord/databinding/PremiumUpgradeYearlyDialogBinding;", 0)};
public static final C0007b k = new C0007b(null);
public final FragmentViewBindingDelegate l = FragmentViewBindingDelegateKt.viewBinding$default(this, f.j, null, 2, null);
public e m;
public Function0<Unit> l;
public Function0<Unit> m;
public Function0<Unit> n;
public String o;
public boolean p;
public final FragmentViewBindingDelegate q = FragmentViewBindingDelegateKt.viewBinding$default(this, c.j, null, 2, null);
/* compiled from: java-style lambda group */
public static final class a implements View.OnClickListener {
@ -55,264 +47,60 @@ public final class b extends AppDialog {
public final void onClick(View view) {
int i = this.j;
if (i == 0) {
Function0<Unit> function0 = ((b) this.k).l;
if (function0 != null) {
function0.mo1invoke();
}
((b) this.k).dismiss();
} else if (i == 1) {
b.g((b) this.k);
} else if (i == 2) {
b.g((b) this.k);
Function0<Unit> function02 = ((b) this.k).m;
if (function02 != null) {
function02.mo1invoke();
}
((b) this.k).dismiss();
} else {
throw null;
}
}
}
/* compiled from: MultiValuePropPremiumUpsellDialog.kt */
/* compiled from: UpgradePremiumYearlyDialog.kt */
/* renamed from: b.a.a.b.b$b reason: collision with other inner class name */
public static final class C0007b {
public C0007b(DefaultConstructorMarker defaultConstructorMarker) {
}
public static void a(C0007b bVar, FragmentManager fragmentManager, int i, String str, String str2, String str3, String str4, String str5, String str6, boolean z2, boolean z3, int i2) {
if ((i2 & 4) != 0) {
str = null;
}
if ((i2 & 8) != 0) {
str2 = null;
}
if ((i2 & 16) != 0) {
str3 = null;
}
if ((i2 & 32) != 0) {
str4 = null;
}
if ((i2 & 64) != 0) {
str5 = null;
}
if ((i2 & 128) != 0) {
str6 = null;
}
if ((i2 & 256) != 0) {
z2 = true;
}
if ((i2 & 512) != 0) {
z3 = true;
}
Objects.requireNonNull(bVar);
m.checkNotNullParameter(fragmentManager, "fragmentManager");
b bVar2 = new b();
Bundle bundle = new Bundle();
bundle.putInt("extra_page_number", i);
if (str != null) {
bundle.putString("extra_header_string", str);
}
if (str2 != null) {
bundle.putString("extra_body_text", str2);
}
bundle.putString("extra_page_name", str3);
bundle.putString("extra_section_name", str4);
bundle.putString("extra_object_name", str5);
bundle.putString("extra_object_type", str6);
bundle.putBoolean("extra_show_other_pages", z2);
bundle.putBoolean("extra_show_learn_more", z3);
bVar2.setArguments(bundle);
bVar2.show(fragmentManager, b.class.getName());
}
}
/* compiled from: MultiValuePropPremiumUpsellDialog.kt */
public static final class c {
public final int a;
/* compiled from: UpgradePremiumYearlyDialog.kt */
public static final /* synthetic */ class c extends k implements Function1<View, d1> {
public static final c j = new c();
/* renamed from: b reason: collision with root package name */
public CharSequence f44b;
public CharSequence c;
public c(@DrawableRes int i, CharSequence charSequence, CharSequence charSequence2) {
m.checkNotNullParameter(charSequence, "headerText");
m.checkNotNullParameter(charSequence2, "bodyText");
this.a = i;
this.f44b = charSequence;
this.c = charSequence2;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof c)) {
return false;
}
c cVar = (c) obj;
return this.a == cVar.a && m.areEqual(this.f44b, cVar.f44b) && m.areEqual(this.c, cVar.c);
}
public int hashCode() {
int i = this.a * 31;
CharSequence charSequence = this.f44b;
int i2 = 0;
int hashCode = (i + (charSequence != null ? charSequence.hashCode() : 0)) * 31;
CharSequence charSequence2 = this.c;
if (charSequence2 != null) {
i2 = charSequence2.hashCode();
}
return hashCode + i2;
}
public String toString() {
StringBuilder R = b.d.b.a.a.R("UpsellData(imageResId=");
R.append(this.a);
R.append(", headerText=");
R.append(this.f44b);
R.append(", bodyText=");
return b.d.b.a.a.D(R, this.c, ")");
}
}
/* compiled from: MultiValuePropPremiumUpsellDialog.kt */
public static final class d extends AppFragment {
public static final /* synthetic */ KProperty[] j = {b.d.b.a.a.b0(d.class, "binding", "getBinding()Lcom/discord/databinding/WidgetPremiumUpsellBinding;", 0)};
public static final a k = new a(null);
public final FragmentViewBindingDelegate l = FragmentViewBindingDelegateKt.viewBinding$default(this, C0008b.j, null, 2, null);
/* compiled from: MultiValuePropPremiumUpsellDialog.kt */
public static final class a {
public a(DefaultConstructorMarker defaultConstructorMarker) {
}
}
/* compiled from: MultiValuePropPremiumUpsellDialog.kt */
/* renamed from: b.a.a.b.b$d$b reason: collision with other inner class name */
public static final /* synthetic */ class C0008b extends k implements Function1<View, p5> {
public static final C0008b j = new C0008b();
public C0008b() {
super(1, p5.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetPremiumUpsellBinding;", 0);
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // kotlin.jvm.functions.Function1
public p5 invoke(View view) {
View view2 = view;
m.checkNotNullParameter(view2, "p1");
int i = R.id.premium_upsell_body;
TextView textView = (TextView) view2.findViewById(R.id.premium_upsell_body);
if (textView != null) {
i = R.id.premium_upsell_header;
TextView textView2 = (TextView) view2.findViewById(R.id.premium_upsell_header);
if (textView2 != null) {
i = R.id.premium_upsell_img;
ImageView imageView = (ImageView) view2.findViewById(R.id.premium_upsell_img);
if (imageView != null) {
return new p5((LinearLayout) view2, textView, textView2, imageView);
}
}
}
throw new NullPointerException("Missing required view with ID: ".concat(view2.getResources().getResourceName(i)));
}
}
public d() {
super(R.layout.widget_premium_upsell);
}
public final p5 g() {
return (p5) this.l.getValue((Fragment) this, j[0]);
}
@Override // com.discord.app.AppFragment
public void onViewBoundOrOnResume() {
String string;
super.onViewBoundOrOnResume();
ImageView imageView = g().d;
Bundle arguments = getArguments();
imageView.setImageResource(arguments != null ? arguments.getInt("extra_image_id") : 0);
TextView textView = g().c;
m.checkNotNullExpressionValue(textView, "binding.premiumUpsellHeader");
Bundle arguments2 = getArguments();
textView.setText(arguments2 != null ? arguments2.getString("extra_header_string") : null);
TextView textView2 = g().f178b;
m.checkNotNullExpressionValue(textView2, "binding.premiumUpsellBody");
Bundle arguments3 = getArguments();
textView2.setText((arguments3 == null || (string = arguments3.getString("extra_body_text")) == null) ? "" : b.a.k.b.l(string, new Object[0], null, 2));
}
}
/* compiled from: MultiValuePropPremiumUpsellDialog.kt */
public static final class e extends FragmentStateAdapter {
public final List<c> a;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public e(Fragment fragment, List<c> list) {
super(fragment);
m.checkNotNullParameter(fragment, "fragment");
m.checkNotNullParameter(list, "pages");
this.a = list;
}
@Override // androidx.viewpager2.adapter.FragmentStateAdapter
public Fragment createFragment(int i) {
c cVar = this.a.get(i);
d.a aVar = d.k;
int i2 = cVar.a;
CharSequence charSequence = cVar.f44b;
CharSequence charSequence2 = cVar.c;
Objects.requireNonNull(aVar);
m.checkNotNullParameter(charSequence, "headerText");
m.checkNotNullParameter(charSequence2, "bodyText");
Bundle bundle = new Bundle();
bundle.putInt("extra_image_id", i2);
bundle.putString("extra_header_string", charSequence.toString());
bundle.putString("extra_body_text", charSequence2.toString());
d dVar = new d();
dVar.setArguments(bundle);
return dVar;
}
@Override // androidx.recyclerview.widget.RecyclerView.Adapter
public int getItemCount() {
return this.a.size();
}
}
/* compiled from: MultiValuePropPremiumUpsellDialog.kt */
public static final /* synthetic */ class f extends k implements Function1<View, u0> {
public static final f j = new f();
public f() {
super(1, u0.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/MultiValuePropPremiumUpsellDialogBinding;", 0);
public c() {
super(1, d1.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/PremiumUpgradeYearlyDialogBinding;", 0);
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // kotlin.jvm.functions.Function1
public u0 invoke(View view) {
public d1 invoke(View view) {
View view2 = view;
m.checkNotNullParameter(view2, "p1");
int i = R.id.premium_upsell_button_container;
LinearLayout linearLayout = (LinearLayout) view2.findViewById(R.id.premium_upsell_button_container);
if (linearLayout != null) {
i = R.id.premium_upsell_close;
MaterialButton materialButton = (MaterialButton) view2.findViewById(R.id.premium_upsell_close);
if (materialButton != null) {
i = R.id.premium_upsell_divider;
View findViewById = view2.findViewById(R.id.premium_upsell_divider);
if (findViewById != null) {
i = R.id.premium_upsell_dots;
TabLayout tabLayout = (TabLayout) view2.findViewById(R.id.premium_upsell_dots);
if (tabLayout != null) {
i = R.id.premium_upsell_get_premium;
MaterialButton materialButton2 = (MaterialButton) view2.findViewById(R.id.premium_upsell_get_premium);
if (materialButton2 != null) {
i = R.id.premium_upsell_learn_more;
MaterialButton materialButton3 = (MaterialButton) view2.findViewById(R.id.premium_upsell_learn_more);
if (materialButton3 != null) {
i = R.id.premium_upsell_viewpager;
ViewPager2 viewPager2 = (ViewPager2) view2.findViewById(R.id.premium_upsell_viewpager);
if (viewPager2 != null) {
return new u0((RelativeLayout) view2, linearLayout, materialButton, findViewById, tabLayout, materialButton2, materialButton3, viewPager2);
}
}
int i = R.id.premium_upsell_header;
ImageView imageView = (ImageView) view2.findViewById(R.id.premium_upsell_header);
if (imageView != null) {
i = R.id.premium_upsell_yearly_description;
TextView textView = (TextView) view2.findViewById(R.id.premium_upsell_yearly_description);
if (textView != null) {
i = R.id.premium_upsell_yearly_title;
TextView textView2 = (TextView) view2.findViewById(R.id.premium_upsell_yearly_title);
if (textView2 != null) {
i = R.id.purchase_premium_monthly;
TextView textView3 = (TextView) view2.findViewById(R.id.purchase_premium_monthly);
if (textView3 != null) {
i = R.id.purchase_premium_yearly;
MaterialButton materialButton = (MaterialButton) view2.findViewById(R.id.purchase_premium_yearly);
if (materialButton != null) {
return new d1((LinearLayout) view2, imageView, textView, textView2, textView3, materialButton);
}
}
}
@ -322,133 +110,66 @@ public final class b extends AppDialog {
}
}
/* compiled from: UpgradePremiumYearlyDialog.kt */
public static final class d implements DialogInterface.OnCancelListener {
public final /* synthetic */ b j;
public d(b bVar) {
this.j = bVar;
}
@Override // android.content.DialogInterface.OnCancelListener
public final void onCancel(DialogInterface dialogInterface) {
Function0<Unit> function0 = this.j.n;
if (function0 != null) {
function0.mo1invoke();
}
}
}
public b() {
super(R.layout.multi_value_prop_premium_upsell_dialog);
super(R.layout.premium_upgrade_yearly_dialog);
}
public static final void g(b bVar) {
Bundle arguments = bVar.getArguments();
String string = arguments != null ? arguments.getString("extra_page_name") : null;
Bundle arguments2 = bVar.getArguments();
String string2 = arguments2 != null ? arguments2.getString("extra_section_name") : null;
Bundle arguments3 = bVar.getArguments();
String string3 = arguments3 != null ? arguments3.getString("extra_object_name") : null;
Bundle arguments4 = bVar.getArguments();
AnalyticsTracker.INSTANCE.premiumSettingsOpened(new Traits.Location(string, string2, string3, arguments4 != null ? arguments4.getString("extra_object_type") : null, null, 16, null));
WidgetSettingsPremium.Companion companion = WidgetSettingsPremium.Companion;
Context requireContext = bVar.requireContext();
m.checkNotNullExpressionValue(requireContext, "requireContext()");
WidgetSettingsPremium.Companion.launch$default(companion, requireContext, null, null, 6, null);
bVar.dismiss();
public final d1 g() {
return (d1) this.q.getValue((Fragment) this, j[0]);
}
public final u0 h() {
return (u0) this.l.getValue((Fragment) this, j[0]);
}
public final boolean i() {
Bundle arguments = getArguments();
return arguments != null && arguments.getBoolean("extra_show_learn_more");
}
public final boolean j() {
Bundle arguments = getArguments();
return arguments != null && arguments.getBoolean("extra_show_other_pages");
}
@Override // androidx.fragment.app.DialogFragment, androidx.fragment.app.Fragment
public void onCreate(Bundle bundle) {
String string;
String str;
super.onCreate(bundle);
AppDialog.hideKeyboard$default(this, null, 1, null);
String string2 = getString(R.string.premium_upsell_tag_passive_mobile);
m.checkNotNullExpressionValue(string2, "getString(R.string.premi…psell_tag_passive_mobile)");
String string3 = getString(R.string.premium_upsell_tag_description_mobile);
m.checkNotNullExpressionValue(string3, "getString(R.string.premi…l_tag_description_mobile)");
String string4 = getString(R.string.premium_upsell_emoji_passive_mobile);
m.checkNotNullExpressionValue(string4, "getString(R.string.premi…ell_emoji_passive_mobile)");
String string5 = getString(R.string.premium_upsell_emoji_description_mobile);
m.checkNotNullExpressionValue(string5, "getString(R.string.premi…emoji_description_mobile)");
String string6 = getString(R.string.premium_upsell_animated_emojis_passive_mobile);
m.checkNotNullExpressionValue(string6, "getString(R.string.premi…ed_emojis_passive_mobile)");
String string7 = getString(R.string.premium_upsell_animated_emojis_description_mobile);
m.checkNotNullExpressionValue(string7, "getString(R.string.premi…mojis_description_mobile)");
CharSequence k2 = b.a.k.b.k(this, R.string.premium_upsell_upload_passive_mobile, new Object[0], null, 4);
Object[] objArr = {b.a.k.b.k(this, R.string.file_upload_limit_standard, new Object[0], null, 4), b.a.k.b.k(this, R.string.file_upload_limit_premium_tier_2, new Object[0], null, 4)};
String string8 = getString(R.string.premium_upsell_animated_avatar_passive_mobile);
m.checkNotNullExpressionValue(string8, "getString(R.string.premi…ed_avatar_passive_mobile)");
String string9 = getString(R.string.premium_upsell_animated_avatar_description_mobile);
m.checkNotNullExpressionValue(string9, "getString(R.string.premi…vatar_description_mobile)");
String string10 = getString(R.string.premium_upsell_badge_passive_mobile);
m.checkNotNullExpressionValue(string10, "getString(R.string.premi…ell_badge_passive_mobile)");
String string11 = getString(R.string.premium_upsell_badge_description_mobile);
m.checkNotNullExpressionValue(string11, "getString(R.string.premi…badge_description_mobile)");
List listOf = n.listOf((Object[]) new c[]{new c(R.drawable.img_tag_upsell, string2, string3), new c(R.drawable.img_global_emoji_upsell, string4, string5), new c(R.drawable.img_animated_emoji_upsell, string6, string7), new c(R.drawable.img_upload_upsell, k2, b.a.k.b.k(this, R.string.premium_upsell_upload_description_mobile, objArr, null, 4)), new c(R.drawable.img_avatar_upsell, string8, string9), new c(R.drawable.img_badge_upsell, string10, string11)});
Bundle arguments = getArguments();
int i = arguments != null ? arguments.getInt("extra_page_number") : 0;
Bundle arguments2 = getArguments();
String str2 = "";
if (arguments2 != null && arguments2.containsKey("extra_header_string")) {
c cVar = (c) listOf.get(i);
Bundle arguments3 = getArguments();
if (arguments3 == null || (str = arguments3.getString("extra_header_string")) == null) {
str = str2;
}
Objects.requireNonNull(cVar);
m.checkNotNullParameter(str, "<set-?>");
cVar.f44b = str;
@Override // com.discord.app.AppDialog, androidx.fragment.app.DialogFragment, androidx.fragment.app.Fragment
public void onStart() {
super.onStart();
Dialog requireDialog = requireDialog();
m.checkNotNullExpressionValue(requireDialog, "requireDialog()");
Window window = requireDialog.getWindow();
if (window != null) {
window.setLayout(-1, -2);
}
Bundle arguments4 = getArguments();
if (arguments4 != null && arguments4.containsKey("extra_body_text")) {
c cVar2 = (c) listOf.get(i);
Bundle arguments5 = getArguments();
if (!(arguments5 == null || (string = arguments5.getString("extra_body_text")) == null)) {
str2 = string;
}
Objects.requireNonNull(cVar2);
m.checkNotNullParameter(str2, "<set-?>");
cVar2.c = str2;
}
c cVar3 = (c) listOf.get(i);
List mutableListOf = n.mutableListOf(cVar3);
if (j()) {
mutableListOf.addAll(u.minus(listOf, cVar3));
}
this.m = new e(this, mutableListOf);
}
@Override // com.discord.app.AppDialog
public void onViewBound(View view) {
m.checkNotNullParameter(view, "view");
super.onViewBound(view);
ViewPager2 viewPager2 = h().f;
m.checkNotNullExpressionValue(viewPager2, "binding.premiumUpsellViewpager");
e eVar = this.m;
if (eVar == null) {
m.throwUninitializedPropertyAccessException("pagerAdapter");
public void onViewBoundOrOnResume() {
super.onViewBoundOrOnResume();
if (this.l == null || this.m == null) {
dismiss();
}
viewPager2.setAdapter(eVar);
TabLayout tabLayout = h().c;
m.checkNotNullExpressionValue(tabLayout, "binding.premiumUpsellDots");
int i = 8;
tabLayout.setVisibility(j() ? 0 : 8);
TabLayout tabLayout2 = h().c;
m.checkNotNullExpressionValue(tabLayout2, "binding.premiumUpsellDots");
ViewPager2 viewPager22 = h().f;
m.checkNotNullExpressionValue(viewPager22, "binding.premiumUpsellViewpager");
ViewPager2ExtensionsKt.setUpWithViewPager2$default(tabLayout2, viewPager22, null, 2, null);
h().f205b.setOnClickListener(new a(0, this));
MaterialButton materialButton = h().e;
m.checkNotNullExpressionValue(materialButton, "binding.premiumUpsellLearnMore");
materialButton.setVisibility(i() ? 0 : 8);
h().e.setOnClickListener(new a(1, this));
MaterialButton materialButton2 = h().d;
m.checkNotNullExpressionValue(materialButton2, "binding.premiumUpsellGetPremium");
if (!i()) {
i = 0;
}
materialButton2.setVisibility(i);
h().d.setOnClickListener(new a(2, this));
requireDialog().setCanceledOnTouchOutside(true);
requireDialog().setOnCancelListener(new d(this));
boolean z2 = getArgumentsOrDefault().getBoolean("ARG_IS_TIER_1");
CharSequence k2 = b.a.k.b.k(this, z2 ? R.string.premium_tier_1 : R.string.premium_tier_2, new Object[0], null, 4);
TextView textView = g().d;
m.checkNotNullExpressionValue(textView, "binding.premiumUpsellYearlyTitle");
b.a.k.b.n(textView, R.string.premium_upsell_yearly_title, new Object[]{NumberFormat.getPercentInstance().format(Float.valueOf(0.16f)), k2}, null, 4);
TextView textView2 = g().c;
m.checkNotNullExpressionValue(textView2, "binding.premiumUpsellYearlyDescription");
b.a.k.b.n(textView2, R.string.premium_upsell_yearly_description, new Object[]{NumberFormat.getPercentInstance().format(Float.valueOf(0.16f))}, null, 4);
MaterialButton materialButton = g().f;
m.checkNotNullExpressionValue(materialButton, "binding.purchasePremiumYearly");
b.a.k.b.n(materialButton, R.string.premium_upsell_yearly_cta, new Object[]{this.o}, null, 4);
g().f96b.setImageResource(z2 ? R.drawable.img_premium_guild_subscription_purchase_header_tier_1 : R.drawable.img_premium_guild_subscription_purchase_header_tier_2);
TextView textView3 = g().e;
m.checkNotNullExpressionValue(textView3, "binding.purchasePremiumMonthly");
textView3.setVisibility(this.p ^ true ? 0 : 8);
g().e.setOnClickListener(new a(0, this));
g().f.setOnClickListener(new a(1, this));
}
}

View file

@ -5,32 +5,41 @@ import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;
import androidx.annotation.DrawableRes;
import androidx.core.content.ContextCompat;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import b.a.i.n1;
import androidx.viewpager2.adapter.FragmentStateAdapter;
import androidx.viewpager2.widget.ViewPager2;
import b.a.i.p5;
import b.a.i.u0;
import com.discord.R;
import com.discord.app.AppDialog;
import com.discord.app.AppFragment;
import com.discord.utilities.analytics.AnalyticsTracker;
import com.discord.utilities.analytics.Traits;
import com.discord.utilities.view.recycler.ViewPager2ExtensionsKt;
import com.discord.utilities.viewbinding.FragmentViewBindingDelegate;
import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt;
import com.discord.views.premium.ShinyButton;
import com.discord.widgets.settings.premium.WidgetSettingsPremium;
import com.google.android.material.button.MaterialButton;
import com.google.android.material.tabs.TabLayout;
import d0.t.n;
import d0.t.u;
import d0.z.d.k;
import d0.z.d.m;
import java.util.List;
import java.util.Objects;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.reflect.KProperty;
/* compiled from: SingleValuePropPremiumUpsellDialog.kt */
/* compiled from: MultiValuePropPremiumUpsellDialog.kt */
public final class c extends AppDialog {
public static final /* synthetic */ KProperty[] j = {b.d.b.a.a.b0(c.class, "binding", "getBinding()Lcom/discord/databinding/SingleValuePropPremiumUpsellDialogBinding;", 0)};
public static final /* synthetic */ KProperty[] j = {b.d.b.a.a.b0(c.class, "binding", "getBinding()Lcom/discord/databinding/MultiValuePropPremiumUpsellDialogBinding;", 0)};
public static final b k = new b(null);
public final FragmentViewBindingDelegate l = FragmentViewBindingDelegateKt.viewBinding$default(this, C0009c.j, null, 2, null);
public final FragmentViewBindingDelegate l = FragmentViewBindingDelegateKt.viewBinding$default(this, f.j, null, 2, null);
public e m;
/* compiled from: java-style lambda group */
public static final class a implements View.OnClickListener {
@ -48,80 +57,259 @@ public final class c extends AppDialog {
if (i == 0) {
((c) this.k).dismiss();
} else if (i == 1) {
c cVar = (c) this.k;
KProperty[] kPropertyArr = c.j;
Objects.requireNonNull(cVar);
WidgetSettingsPremium.Companion companion = WidgetSettingsPremium.Companion;
Context requireContext = cVar.requireContext();
m.checkNotNullExpressionValue(requireContext, "requireContext()");
WidgetSettingsPremium.Companion.launch$default(companion, requireContext, null, null, 6, null);
cVar.dismiss();
c.g((c) this.k);
} else if (i == 2) {
c.g((c) this.k);
} else {
throw null;
}
}
}
/* compiled from: SingleValuePropPremiumUpsellDialog.kt */
/* compiled from: MultiValuePropPremiumUpsellDialog.kt */
public static final class b {
public b(DefaultConstructorMarker defaultConstructorMarker) {
}
public final void a(FragmentManager fragmentManager, AnalyticsTracker.PremiumUpsellType premiumUpsellType, @DrawableRes int i, String str, String str2, String str3, String str4, String str5) {
public static void a(b bVar, FragmentManager fragmentManager, int i, String str, String str2, String str3, String str4, String str5, String str6, boolean z2, boolean z3, int i2) {
if ((i2 & 4) != 0) {
str = null;
}
if ((i2 & 8) != 0) {
str2 = null;
}
if ((i2 & 16) != 0) {
str3 = null;
}
if ((i2 & 32) != 0) {
str4 = null;
}
if ((i2 & 64) != 0) {
str5 = null;
}
if ((i2 & 128) != 0) {
str6 = null;
}
if ((i2 & 256) != 0) {
z2 = true;
}
if ((i2 & 512) != 0) {
z3 = true;
}
Objects.requireNonNull(bVar);
m.checkNotNullParameter(fragmentManager, "fragmentManager");
m.checkNotNullParameter(premiumUpsellType, "premiumUpsellType");
c cVar = new c();
Bundle bundle = new Bundle();
bundle.putInt("extra_image_drawable_res", i);
bundle.putString("extra_header_text", str);
bundle.putString("extra_body_text", str2);
bundle.putInt("extra_page_number", i);
if (str != null) {
bundle.putString("extra_header_string", str);
}
if (str2 != null) {
bundle.putString("extra_body_text", str2);
}
bundle.putString("extra_page_name", str3);
bundle.putString("extra_section_name", str4);
bundle.putString("extra_object_name", str5);
bundle.putString("extra_object_type", str6);
bundle.putBoolean("extra_show_other_pages", z2);
bundle.putBoolean("extra_show_learn_more", z3);
cVar.setArguments(bundle);
cVar.show(fragmentManager, c.class.getName());
AnalyticsTracker.premiumUpsellViewed$default(AnalyticsTracker.INSTANCE, premiumUpsellType, null, null, new Traits.Source(str3, str4, str5, null, null, 24, null), 6, null);
}
}
/* compiled from: SingleValuePropPremiumUpsellDialog.kt */
/* compiled from: MultiValuePropPremiumUpsellDialog.kt */
/* renamed from: b.a.a.b.c$c reason: collision with other inner class name */
public static final /* synthetic */ class C0009c extends k implements Function1<View, n1> {
public static final C0009c j = new C0009c();
public static final class C0008c {
public final int a;
public C0009c() {
super(1, n1.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/SingleValuePropPremiumUpsellDialogBinding;", 0);
/* renamed from: b reason: collision with root package name */
public CharSequence f44b;
public CharSequence c;
public C0008c(@DrawableRes int i, CharSequence charSequence, CharSequence charSequence2) {
m.checkNotNullParameter(charSequence, "headerText");
m.checkNotNullParameter(charSequence2, "bodyText");
this.a = i;
this.f44b = charSequence;
this.c = charSequence2;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof C0008c)) {
return false;
}
C0008c cVar = (C0008c) obj;
return this.a == cVar.a && m.areEqual(this.f44b, cVar.f44b) && m.areEqual(this.c, cVar.c);
}
public int hashCode() {
int i = this.a * 31;
CharSequence charSequence = this.f44b;
int i2 = 0;
int hashCode = (i + (charSequence != null ? charSequence.hashCode() : 0)) * 31;
CharSequence charSequence2 = this.c;
if (charSequence2 != null) {
i2 = charSequence2.hashCode();
}
return hashCode + i2;
}
public String toString() {
StringBuilder R = b.d.b.a.a.R("UpsellData(imageResId=");
R.append(this.a);
R.append(", headerText=");
R.append(this.f44b);
R.append(", bodyText=");
return b.d.b.a.a.D(R, this.c, ")");
}
}
/* compiled from: MultiValuePropPremiumUpsellDialog.kt */
public static final class d extends AppFragment {
public static final /* synthetic */ KProperty[] j = {b.d.b.a.a.b0(d.class, "binding", "getBinding()Lcom/discord/databinding/WidgetPremiumUpsellBinding;", 0)};
public static final a k = new a(null);
public final FragmentViewBindingDelegate l = FragmentViewBindingDelegateKt.viewBinding$default(this, b.j, null, 2, null);
/* compiled from: MultiValuePropPremiumUpsellDialog.kt */
public static final class a {
public a(DefaultConstructorMarker defaultConstructorMarker) {
}
}
/* compiled from: MultiValuePropPremiumUpsellDialog.kt */
public static final /* synthetic */ class b extends k implements Function1<View, p5> {
public static final b j = new b();
public b() {
super(1, p5.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetPremiumUpsellBinding;", 0);
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // kotlin.jvm.functions.Function1
public p5 invoke(View view) {
View view2 = view;
m.checkNotNullParameter(view2, "p1");
int i = R.id.premium_upsell_body;
TextView textView = (TextView) view2.findViewById(R.id.premium_upsell_body);
if (textView != null) {
i = R.id.premium_upsell_header;
TextView textView2 = (TextView) view2.findViewById(R.id.premium_upsell_header);
if (textView2 != null) {
i = R.id.premium_upsell_img;
ImageView imageView = (ImageView) view2.findViewById(R.id.premium_upsell_img);
if (imageView != null) {
return new p5((LinearLayout) view2, textView, textView2, imageView);
}
}
}
throw new NullPointerException("Missing required view with ID: ".concat(view2.getResources().getResourceName(i)));
}
}
public d() {
super(R.layout.widget_premium_upsell);
}
public final p5 g() {
return (p5) this.l.getValue((Fragment) this, j[0]);
}
@Override // com.discord.app.AppFragment
public void onViewBoundOrOnResume() {
String string;
super.onViewBoundOrOnResume();
ImageView imageView = g().d;
Bundle arguments = getArguments();
imageView.setImageResource(arguments != null ? arguments.getInt("extra_image_id") : 0);
TextView textView = g().c;
m.checkNotNullExpressionValue(textView, "binding.premiumUpsellHeader");
Bundle arguments2 = getArguments();
textView.setText(arguments2 != null ? arguments2.getString("extra_header_string") : null);
TextView textView2 = g().f178b;
m.checkNotNullExpressionValue(textView2, "binding.premiumUpsellBody");
Bundle arguments3 = getArguments();
textView2.setText((arguments3 == null || (string = arguments3.getString("extra_body_text")) == null) ? "" : b.a.k.b.l(string, new Object[0], null, 2));
}
}
/* compiled from: MultiValuePropPremiumUpsellDialog.kt */
public static final class e extends FragmentStateAdapter {
public final List<C0008c> a;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public e(Fragment fragment, List<C0008c> list) {
super(fragment);
m.checkNotNullParameter(fragment, "fragment");
m.checkNotNullParameter(list, "pages");
this.a = list;
}
@Override // androidx.viewpager2.adapter.FragmentStateAdapter
public Fragment createFragment(int i) {
C0008c cVar = this.a.get(i);
d.a aVar = d.k;
int i2 = cVar.a;
CharSequence charSequence = cVar.f44b;
CharSequence charSequence2 = cVar.c;
Objects.requireNonNull(aVar);
m.checkNotNullParameter(charSequence, "headerText");
m.checkNotNullParameter(charSequence2, "bodyText");
Bundle bundle = new Bundle();
bundle.putInt("extra_image_id", i2);
bundle.putString("extra_header_string", charSequence.toString());
bundle.putString("extra_body_text", charSequence2.toString());
d dVar = new d();
dVar.setArguments(bundle);
return dVar;
}
@Override // androidx.recyclerview.widget.RecyclerView.Adapter
public int getItemCount() {
return this.a.size();
}
}
/* compiled from: MultiValuePropPremiumUpsellDialog.kt */
public static final /* synthetic */ class f extends k implements Function1<View, u0> {
public static final f j = new f();
public f() {
super(1, u0.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/MultiValuePropPremiumUpsellDialogBinding;", 0);
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // kotlin.jvm.functions.Function1
public n1 invoke(View view) {
public u0 invoke(View view) {
View view2 = view;
m.checkNotNullParameter(view2, "p1");
int i = R.id.button_container;
LinearLayout linearLayout = (LinearLayout) view2.findViewById(R.id.button_container);
int i = R.id.premium_upsell_button_container;
LinearLayout linearLayout = (LinearLayout) view2.findViewById(R.id.premium_upsell_button_container);
if (linearLayout != null) {
i = R.id.close_button;
MaterialButton materialButton = (MaterialButton) view2.findViewById(R.id.close_button);
i = R.id.premium_upsell_close;
MaterialButton materialButton = (MaterialButton) view2.findViewById(R.id.premium_upsell_close);
if (materialButton != null) {
i = R.id.content_background;
View findViewById = view2.findViewById(R.id.content_background);
i = R.id.premium_upsell_divider;
View findViewById = view2.findViewById(R.id.premium_upsell_divider);
if (findViewById != null) {
i = R.id.get_premium_button;
ShinyButton shinyButton = (ShinyButton) view2.findViewById(R.id.get_premium_button);
if (shinyButton != null) {
i = R.id.transparent_space;
View findViewById2 = view2.findViewById(R.id.transparent_space);
if (findViewById2 != null) {
i = R.id.upsell_body_text;
TextView textView = (TextView) view2.findViewById(R.id.upsell_body_text);
if (textView != null) {
i = R.id.upsell_header_text;
TextView textView2 = (TextView) view2.findViewById(R.id.upsell_header_text);
if (textView2 != null) {
i = R.id.value_prop_image;
ImageView imageView = (ImageView) view2.findViewById(R.id.value_prop_image);
if (imageView != null) {
return new n1((LinearLayout) view2, linearLayout, materialButton, findViewById, shinyButton, findViewById2, textView, textView2, imageView);
}
i = R.id.premium_upsell_dots;
TabLayout tabLayout = (TabLayout) view2.findViewById(R.id.premium_upsell_dots);
if (tabLayout != null) {
i = R.id.premium_upsell_get_premium;
MaterialButton materialButton2 = (MaterialButton) view2.findViewById(R.id.premium_upsell_get_premium);
if (materialButton2 != null) {
i = R.id.premium_upsell_learn_more;
MaterialButton materialButton3 = (MaterialButton) view2.findViewById(R.id.premium_upsell_learn_more);
if (materialButton3 != null) {
i = R.id.premium_upsell_viewpager;
ViewPager2 viewPager2 = (ViewPager2) view2.findViewById(R.id.premium_upsell_viewpager);
if (viewPager2 != null) {
return new u0((RelativeLayout) view2, linearLayout, materialButton, findViewById, tabLayout, materialButton2, materialButton3, viewPager2);
}
}
}
@ -134,40 +322,132 @@ public final class c extends AppDialog {
}
public c() {
super(R.layout.single_value_prop_premium_upsell_dialog);
super(R.layout.multi_value_prop_premium_upsell_dialog);
}
public final n1 g() {
return (n1) this.l.getValue((Fragment) this, j[0]);
public static final void g(c cVar) {
Bundle arguments = cVar.getArguments();
String string = arguments != null ? arguments.getString("extra_page_name") : null;
Bundle arguments2 = cVar.getArguments();
String string2 = arguments2 != null ? arguments2.getString("extra_section_name") : null;
Bundle arguments3 = cVar.getArguments();
String string3 = arguments3 != null ? arguments3.getString("extra_object_name") : null;
Bundle arguments4 = cVar.getArguments();
AnalyticsTracker.INSTANCE.premiumSettingsOpened(new Traits.Location(string, string2, string3, arguments4 != null ? arguments4.getString("extra_object_type") : null, null, 16, null));
WidgetSettingsPremium.Companion companion = WidgetSettingsPremium.Companion;
Context requireContext = cVar.requireContext();
m.checkNotNullExpressionValue(requireContext, "requireContext()");
WidgetSettingsPremium.Companion.launch$default(companion, requireContext, null, null, 6, null);
cVar.dismiss();
}
public final u0 h() {
return (u0) this.l.getValue((Fragment) this, j[0]);
}
public final boolean i() {
Bundle arguments = getArguments();
return arguments != null && arguments.getBoolean("extra_show_learn_more");
}
public final boolean j() {
Bundle arguments = getArguments();
return arguments != null && arguments.getBoolean("extra_show_other_pages");
}
@Override // androidx.fragment.app.DialogFragment, androidx.fragment.app.Fragment
public void onCreate(Bundle bundle) {
String string;
String str;
super.onCreate(bundle);
AppDialog.hideKeyboard$default(this, null, 1, null);
String string2 = getString(R.string.premium_upsell_tag_passive_mobile);
m.checkNotNullExpressionValue(string2, "getString(R.string.premi…psell_tag_passive_mobile)");
String string3 = getString(R.string.premium_upsell_tag_description_mobile);
m.checkNotNullExpressionValue(string3, "getString(R.string.premi…l_tag_description_mobile)");
String string4 = getString(R.string.premium_upsell_emoji_passive_mobile);
m.checkNotNullExpressionValue(string4, "getString(R.string.premi…ell_emoji_passive_mobile)");
String string5 = getString(R.string.premium_upsell_emoji_description_mobile);
m.checkNotNullExpressionValue(string5, "getString(R.string.premi…emoji_description_mobile)");
String string6 = getString(R.string.premium_upsell_animated_emojis_passive_mobile);
m.checkNotNullExpressionValue(string6, "getString(R.string.premi…ed_emojis_passive_mobile)");
String string7 = getString(R.string.premium_upsell_animated_emojis_description_mobile);
m.checkNotNullExpressionValue(string7, "getString(R.string.premi…mojis_description_mobile)");
CharSequence k2 = b.a.k.b.k(this, R.string.premium_upsell_upload_passive_mobile, new Object[0], null, 4);
Object[] objArr = {b.a.k.b.k(this, R.string.file_upload_limit_standard, new Object[0], null, 4), b.a.k.b.k(this, R.string.file_upload_limit_premium_tier_2, new Object[0], null, 4)};
String string8 = getString(R.string.premium_upsell_animated_avatar_passive_mobile);
m.checkNotNullExpressionValue(string8, "getString(R.string.premi…ed_avatar_passive_mobile)");
String string9 = getString(R.string.premium_upsell_animated_avatar_description_mobile);
m.checkNotNullExpressionValue(string9, "getString(R.string.premi…vatar_description_mobile)");
String string10 = getString(R.string.premium_upsell_badge_passive_mobile);
m.checkNotNullExpressionValue(string10, "getString(R.string.premi…ell_badge_passive_mobile)");
String string11 = getString(R.string.premium_upsell_badge_description_mobile);
m.checkNotNullExpressionValue(string11, "getString(R.string.premi…badge_description_mobile)");
List listOf = n.listOf((Object[]) new C0008c[]{new C0008c(R.drawable.img_tag_upsell, string2, string3), new C0008c(R.drawable.img_global_emoji_upsell, string4, string5), new C0008c(R.drawable.img_animated_emoji_upsell, string6, string7), new C0008c(R.drawable.img_upload_upsell, k2, b.a.k.b.k(this, R.string.premium_upsell_upload_description_mobile, objArr, null, 4)), new C0008c(R.drawable.img_avatar_upsell, string8, string9), new C0008c(R.drawable.img_badge_upsell, string10, string11)});
Bundle arguments = getArguments();
int i = arguments != null ? arguments.getInt("extra_page_number") : 0;
Bundle arguments2 = getArguments();
String str2 = "";
if (arguments2 != null && arguments2.containsKey("extra_header_string")) {
C0008c cVar = (C0008c) listOf.get(i);
Bundle arguments3 = getArguments();
if (arguments3 == null || (str = arguments3.getString("extra_header_string")) == null) {
str = str2;
}
Objects.requireNonNull(cVar);
m.checkNotNullParameter(str, "<set-?>");
cVar.f44b = str;
}
Bundle arguments4 = getArguments();
if (arguments4 != null && arguments4.containsKey("extra_body_text")) {
C0008c cVar2 = (C0008c) listOf.get(i);
Bundle arguments5 = getArguments();
if (!(arguments5 == null || (string = arguments5.getString("extra_body_text")) == null)) {
str2 = string;
}
Objects.requireNonNull(cVar2);
m.checkNotNullParameter(str2, "<set-?>");
cVar2.c = str2;
}
C0008c cVar3 = (C0008c) listOf.get(i);
List mutableListOf = n.mutableListOf(cVar3);
if (j()) {
mutableListOf.addAll(u.minus(listOf, cVar3));
}
this.m = new e(this, mutableListOf);
}
@Override // com.discord.app.AppDialog
public void onViewBound(View view) {
m.checkNotNullParameter(view, "view");
super.onViewBound(view);
Bundle arguments = getArguments();
String str = null;
Integer valueOf = arguments != null ? Integer.valueOf(arguments.getInt("extra_image_drawable_res")) : null;
Bundle arguments2 = getArguments();
String string = arguments2 != null ? arguments2.getString("extra_header_text") : null;
Bundle arguments3 = getArguments();
if (arguments3 != null) {
str = arguments3.getString("extra_body_text");
ViewPager2 viewPager2 = h().f;
m.checkNotNullExpressionValue(viewPager2, "binding.premiumUpsellViewpager");
e eVar = this.m;
if (eVar == null) {
m.throwUninitializedPropertyAccessException("pagerAdapter");
}
if (valueOf != null) {
g().f.setImageDrawable(ContextCompat.getDrawable(requireContext(), valueOf.intValue()));
viewPager2.setAdapter(eVar);
TabLayout tabLayout = h().c;
m.checkNotNullExpressionValue(tabLayout, "binding.premiumUpsellDots");
int i = 8;
tabLayout.setVisibility(j() ? 0 : 8);
TabLayout tabLayout2 = h().c;
m.checkNotNullExpressionValue(tabLayout2, "binding.premiumUpsellDots");
ViewPager2 viewPager22 = h().f;
m.checkNotNullExpressionValue(viewPager22, "binding.premiumUpsellViewpager");
ViewPager2ExtensionsKt.setUpWithViewPager2$default(tabLayout2, viewPager22, null, 2, null);
h().f205b.setOnClickListener(new a(0, this));
MaterialButton materialButton = h().e;
m.checkNotNullExpressionValue(materialButton, "binding.premiumUpsellLearnMore");
materialButton.setVisibility(i() ? 0 : 8);
h().e.setOnClickListener(new a(1, this));
MaterialButton materialButton2 = h().d;
m.checkNotNullExpressionValue(materialButton2, "binding.premiumUpsellGetPremium");
if (!i()) {
i = 0;
}
if (string != null) {
TextView textView = g().e;
m.checkNotNullExpressionValue(textView, "binding.upsellHeaderText");
textView.setText(string);
}
if (str != null) {
TextView textView2 = g().d;
m.checkNotNullExpressionValue(textView2, "binding.upsellBodyText");
textView2.setText(str);
}
g().f162b.setOnClickListener(new a(0, this));
g().c.setOnClickListener(new a(1, this));
materialButton2.setVisibility(i);
h().d.setOnClickListener(new a(2, this));
}
}

View file

@ -1,35 +1,36 @@
package b.a.a.b;
import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.annotation.DrawableRes;
import androidx.core.content.ContextCompat;
import androidx.fragment.app.Fragment;
import b.a.i.d1;
import androidx.fragment.app.FragmentManager;
import b.a.i.n1;
import com.discord.R;
import com.discord.app.AppDialog;
import com.discord.utilities.analytics.AnalyticsTracker;
import com.discord.utilities.analytics.Traits;
import com.discord.utilities.viewbinding.FragmentViewBindingDelegate;
import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt;
import com.discord.views.premium.ShinyButton;
import com.discord.widgets.settings.premium.WidgetSettingsPremium;
import com.google.android.material.button.MaterialButton;
import d0.z.d.k;
import d0.z.d.m;
import java.text.NumberFormat;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
import java.util.Objects;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.reflect.KProperty;
/* compiled from: UpgradePremiumYearlyDialog.kt */
/* compiled from: SingleValuePropPremiumUpsellDialog.kt */
public final class d extends AppDialog {
public static final /* synthetic */ KProperty[] j = {b.d.b.a.a.b0(d.class, "binding", "getBinding()Lcom/discord/databinding/PremiumUpgradeYearlyDialogBinding;", 0)};
public static final /* synthetic */ KProperty[] j = {b.d.b.a.a.b0(d.class, "binding", "getBinding()Lcom/discord/databinding/SingleValuePropPremiumUpsellDialogBinding;", 0)};
public static final b k = new b(null);
public Function0<Unit> l;
public Function0<Unit> m;
public String n;
public boolean o;
public final FragmentViewBindingDelegate p = FragmentViewBindingDelegateKt.viewBinding$default(this, c.j, null, 2, null);
public final FragmentViewBindingDelegate l = FragmentViewBindingDelegateKt.viewBinding$default(this, c.j, null, 2, null);
/* compiled from: java-style lambda group */
public static final class a implements View.OnClickListener {
@ -45,59 +46,83 @@ public final class d extends AppDialog {
public final void onClick(View view) {
int i = this.j;
if (i == 0) {
Function0<Unit> function0 = ((d) this.k).l;
if (function0 != null) {
function0.mo1invoke();
}
((d) this.k).dismiss();
} else if (i == 1) {
Function0<Unit> function02 = ((d) this.k).m;
if (function02 != null) {
function02.mo1invoke();
}
((d) this.k).dismiss();
d dVar = (d) this.k;
KProperty[] kPropertyArr = d.j;
Objects.requireNonNull(dVar);
WidgetSettingsPremium.Companion companion = WidgetSettingsPremium.Companion;
Context requireContext = dVar.requireContext();
m.checkNotNullExpressionValue(requireContext, "requireContext()");
WidgetSettingsPremium.Companion.launch$default(companion, requireContext, null, null, 6, null);
dVar.dismiss();
} else {
throw null;
}
}
}
/* compiled from: UpgradePremiumYearlyDialog.kt */
/* compiled from: SingleValuePropPremiumUpsellDialog.kt */
public static final class b {
public b(DefaultConstructorMarker defaultConstructorMarker) {
}
public final void a(FragmentManager fragmentManager, AnalyticsTracker.PremiumUpsellType premiumUpsellType, @DrawableRes int i, String str, String str2, String str3, String str4, String str5) {
m.checkNotNullParameter(fragmentManager, "fragmentManager");
m.checkNotNullParameter(premiumUpsellType, "premiumUpsellType");
d dVar = new d();
Bundle bundle = new Bundle();
bundle.putInt("extra_image_drawable_res", i);
bundle.putString("extra_header_text", str);
bundle.putString("extra_body_text", str2);
dVar.setArguments(bundle);
dVar.show(fragmentManager, d.class.getName());
AnalyticsTracker.premiumUpsellViewed$default(AnalyticsTracker.INSTANCE, premiumUpsellType, null, null, new Traits.Source(str3, str4, str5, null, null, 24, null), 6, null);
}
}
/* compiled from: UpgradePremiumYearlyDialog.kt */
public static final /* synthetic */ class c extends k implements Function1<View, d1> {
/* compiled from: SingleValuePropPremiumUpsellDialog.kt */
public static final /* synthetic */ class c extends k implements Function1<View, n1> {
public static final c j = new c();
public c() {
super(1, d1.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/PremiumUpgradeYearlyDialogBinding;", 0);
super(1, n1.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/SingleValuePropPremiumUpsellDialogBinding;", 0);
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // kotlin.jvm.functions.Function1
public d1 invoke(View view) {
public n1 invoke(View view) {
View view2 = view;
m.checkNotNullParameter(view2, "p1");
int i = R.id.premium_upsell_header;
ImageView imageView = (ImageView) view2.findViewById(R.id.premium_upsell_header);
if (imageView != null) {
i = R.id.premium_upsell_yearly_description;
TextView textView = (TextView) view2.findViewById(R.id.premium_upsell_yearly_description);
if (textView != null) {
i = R.id.premium_upsell_yearly_title;
TextView textView2 = (TextView) view2.findViewById(R.id.premium_upsell_yearly_title);
if (textView2 != null) {
i = R.id.purchase_premium_monthly;
TextView textView3 = (TextView) view2.findViewById(R.id.purchase_premium_monthly);
if (textView3 != null) {
i = R.id.purchase_premium_yearly;
MaterialButton materialButton = (MaterialButton) view2.findViewById(R.id.purchase_premium_yearly);
if (materialButton != null) {
return new d1((LinearLayout) view2, imageView, textView, textView2, textView3, materialButton);
int i = R.id.button_container;
LinearLayout linearLayout = (LinearLayout) view2.findViewById(R.id.button_container);
if (linearLayout != null) {
i = R.id.close_button;
MaterialButton materialButton = (MaterialButton) view2.findViewById(R.id.close_button);
if (materialButton != null) {
i = R.id.content_background;
View findViewById = view2.findViewById(R.id.content_background);
if (findViewById != null) {
i = R.id.get_premium_button;
ShinyButton shinyButton = (ShinyButton) view2.findViewById(R.id.get_premium_button);
if (shinyButton != null) {
i = R.id.transparent_space;
View findViewById2 = view2.findViewById(R.id.transparent_space);
if (findViewById2 != null) {
i = R.id.upsell_body_text;
TextView textView = (TextView) view2.findViewById(R.id.upsell_body_text);
if (textView != null) {
i = R.id.upsell_header_text;
TextView textView2 = (TextView) view2.findViewById(R.id.upsell_header_text);
if (textView2 != null) {
i = R.id.value_prop_image;
ImageView imageView = (ImageView) view2.findViewById(R.id.value_prop_image);
if (imageView != null) {
return new n1((LinearLayout) view2, linearLayout, materialButton, findViewById, shinyButton, findViewById2, textView, textView2, imageView);
}
}
}
}
}
}
@ -108,47 +133,40 @@ public final class d extends AppDialog {
}
public d() {
super(R.layout.premium_upgrade_yearly_dialog);
super(R.layout.single_value_prop_premium_upsell_dialog);
}
public final d1 g() {
return (d1) this.p.getValue((Fragment) this, j[0]);
}
@Override // com.discord.app.AppDialog, androidx.fragment.app.DialogFragment, androidx.fragment.app.Fragment
public void onStart() {
super.onStart();
Dialog requireDialog = requireDialog();
m.checkNotNullExpressionValue(requireDialog, "requireDialog()");
Window window = requireDialog.getWindow();
if (window != null) {
window.setLayout(-1, -2);
}
public final n1 g() {
return (n1) this.l.getValue((Fragment) this, j[0]);
}
@Override // com.discord.app.AppDialog
public void onViewBoundOrOnResume() {
super.onViewBoundOrOnResume();
if (this.l == null || this.m == null) {
dismiss();
public void onViewBound(View view) {
m.checkNotNullParameter(view, "view");
super.onViewBound(view);
Bundle arguments = getArguments();
String str = null;
Integer valueOf = arguments != null ? Integer.valueOf(arguments.getInt("extra_image_drawable_res")) : null;
Bundle arguments2 = getArguments();
String string = arguments2 != null ? arguments2.getString("extra_header_text") : null;
Bundle arguments3 = getArguments();
if (arguments3 != null) {
str = arguments3.getString("extra_body_text");
}
requireDialog().setCanceledOnTouchOutside(true);
boolean z2 = getArgumentsOrDefault().getBoolean("ARG_IS_TIER_1");
CharSequence k2 = b.a.k.b.k(this, z2 ? R.string.premium_tier_1 : R.string.premium_tier_2, new Object[0], null, 4);
TextView textView = g().d;
m.checkNotNullExpressionValue(textView, "binding.premiumUpsellYearlyTitle");
b.a.k.b.n(textView, R.string.premium_upsell_yearly_title, new Object[]{NumberFormat.getPercentInstance().format(Float.valueOf(0.16f)), k2}, null, 4);
TextView textView2 = g().c;
m.checkNotNullExpressionValue(textView2, "binding.premiumUpsellYearlyDescription");
b.a.k.b.n(textView2, R.string.premium_upsell_yearly_description, new Object[]{NumberFormat.getPercentInstance().format(Float.valueOf(0.16f))}, null, 4);
MaterialButton materialButton = g().f;
m.checkNotNullExpressionValue(materialButton, "binding.purchasePremiumYearly");
b.a.k.b.n(materialButton, R.string.premium_upsell_yearly_cta, new Object[]{this.n}, null, 4);
g().f96b.setImageResource(z2 ? R.drawable.img_premium_guild_subscription_purchase_header_tier_1 : R.drawable.img_premium_guild_subscription_purchase_header_tier_2);
TextView textView3 = g().e;
m.checkNotNullExpressionValue(textView3, "binding.purchasePremiumMonthly");
textView3.setVisibility(this.o ^ true ? 0 : 8);
g().e.setOnClickListener(new a(0, this));
g().f.setOnClickListener(new a(1, this));
if (valueOf != null) {
g().f.setImageDrawable(ContextCompat.getDrawable(requireContext(), valueOf.intValue()));
}
if (string != null) {
TextView textView = g().e;
m.checkNotNullExpressionValue(textView, "binding.upsellHeaderText");
textView.setText(string);
}
if (str != null) {
TextView textView2 = g().d;
m.checkNotNullExpressionValue(textView2, "binding.upsellBodyText");
textView2.setText(str);
}
g().f162b.setOnClickListener(new a(0, this));
g().c.setOnClickListener(new a(1, this));
}
}

View file

@ -33,7 +33,7 @@ import kotlin.reflect.KProperty;
public final class c extends AppDialog {
public static final /* synthetic */ KProperty[] j = {b.d.b.a.a.b0(c.class, "binding", "getBinding()Lcom/discord/databinding/ImageUploadFailedDialogBinding;", 0)};
public static final b k = new b(null);
public final FragmentViewBindingDelegate l = FragmentViewBindingDelegateKt.viewBinding$default(this, C0010c.j, null, 2, null);
public final FragmentViewBindingDelegate l = FragmentViewBindingDelegateKt.viewBinding$default(this, C0009c.j, null, 2, null);
public Function0<Unit> m;
/* compiled from: java-style lambda group */
@ -98,10 +98,10 @@ public final class c extends AppDialog {
/* compiled from: ImageUploadFailedDialog.kt */
/* renamed from: b.a.a.c$c reason: collision with other inner class name */
public static final /* synthetic */ class C0010c extends k implements Function1<View, a0> {
public static final C0010c j = new C0010c();
public static final /* synthetic */ class C0009c extends k implements Function1<View, a0> {
public static final C0009c j = new C0009c();
public C0010c() {
public C0009c() {
super(1, a0.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/ImageUploadFailedDialogBinding;", 0);
}

View file

@ -45,11 +45,11 @@ public final class a extends AppDialog {
/* compiled from: java-style lambda group */
/* renamed from: b.a.a.d.a$a reason: collision with other inner class name */
public static final class View$OnClickListenerC0011a implements View.OnClickListener {
public static final class View$OnClickListenerC0010a implements View.OnClickListener {
public final /* synthetic */ int j;
public final /* synthetic */ Object k;
public View$OnClickListenerC0011a(int i, Object obj) {
public View$OnClickListenerC0010a(int i, Object obj) {
this.j = i;
this.k = obj;
}
@ -196,8 +196,8 @@ public final class a extends AppDialog {
a aVar = (a) this.receiver;
KProperty[] kPropertyArr = a.j;
Objects.requireNonNull(aVar);
if (bVar2 instanceof f.b.C0012b) {
b.a.d.m.i(aVar, ((f.b.C0012b) bVar2).a, 0, 4);
if (bVar2 instanceof f.b.C0011b) {
b.a.d.m.i(aVar, ((f.b.C0011b) bVar2).a, 0, 4);
aVar.dismiss();
} else if (bVar2 instanceof f.b.a) {
b.a.d.m.i(aVar, ((f.b.a) bVar2).a, 0, 4);
@ -247,9 +247,9 @@ public final class a extends AppDialog {
public void onViewBound(View view) {
m.checkNotNullParameter(view, "view");
super.onViewBound(view);
g().c.setOnClickListener(new View$OnClickListenerC0011a(0, this));
g().e.setOnClickListener(new View$OnClickListenerC0011a(1, this));
g().d.setOnClickListener(new View$OnClickListenerC0011a(2, this));
g().c.setOnClickListener(new View$OnClickListenerC0010a(0, this));
g().e.setOnClickListener(new View$OnClickListenerC0010a(1, this));
g().d.setOnClickListener(new View$OnClickListenerC0010a(2, this));
}
@Override // com.discord.app.AppDialog

View file

@ -65,17 +65,17 @@ public final class f extends AppViewModel<d> {
/* compiled from: UserActionsDialogViewModel.kt */
/* renamed from: b.a.a.d.f$b$b reason: collision with other inner class name */
public static final class C0012b extends b {
public static final class C0011b extends b {
public final int a;
public C0012b(int i) {
public C0011b(int i) {
super(null);
this.a = i;
}
public boolean equals(Object obj) {
if (this != obj) {
return (obj instanceof C0012b) && this.a == ((C0012b) obj).a;
return (obj instanceof C0011b) && this.a == ((C0011b) obj).a;
}
return true;
}
@ -225,18 +225,18 @@ public final class f extends AppViewModel<d> {
f fVar = this.this$0;
int i = this.$successMessageStringRes;
PublishSubject<b> publishSubject = fVar.k;
publishSubject.k.onNext(new b.C0012b(i));
publishSubject.k.onNext(new b.C0011b(i));
return Unit.a;
}
}
/* compiled from: UserActionsDialogViewModel.kt */
/* renamed from: b.a.a.d.f$f reason: collision with other inner class name */
public static final class C0013f extends o implements Function1<Error, Unit> {
public static final class C0012f extends o implements Function1<Error, Unit> {
public final /* synthetic */ f this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public C0013f(f fVar) {
public C0012f(f fVar) {
super(1);
this.this$0 = fVar;
}
@ -281,6 +281,6 @@ public final class f extends AppViewModel<d> {
}
public final void removeRelationship(@StringRes int i) {
ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui$default(ObservableExtensionsKt.restSubscribeOn$default(this.m.removeRelationship("User Profile", this.l), false, 1, null), this, null, 2, null), f.class, (Context) null, (Function1) null, new C0013f(this), (Function0) null, (Function0) null, new e(this, i), 54, (Object) null);
ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui$default(ObservableExtensionsKt.restSubscribeOn$default(this.m.removeRelationship("User Profile", this.l), false, 1, null), this, null, 2, null), f.class, (Context) null, (Function1) null, new C0012f(this), (Function0) null, (Function0) null, new e(this, i), 54, (Object) null);
}
}

View file

@ -21,7 +21,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.k;
publishSubject.k.onNext(new f.b.C0012b(R.string.user_has_been_blocked));
publishSubject.k.onNext(new f.b.C0011b(R.string.user_has_been_blocked));
return Unit.a;
}
}

View file

@ -42,11 +42,11 @@ public final class a extends AppDialog {
/* compiled from: java-style lambda group */
/* renamed from: b.a.a.f.a.a$a reason: collision with other inner class name */
public static final class View$OnClickListenerC0014a implements View.OnClickListener {
public static final class View$OnClickListenerC0013a implements View.OnClickListener {
public final /* synthetic */ int j;
public final /* synthetic */ Object k;
public View$OnClickListenerC0014a(int i, Object obj) {
public View$OnClickListenerC0013a(int i, Object obj) {
this.j = i;
this.k = obj;
}
@ -141,8 +141,8 @@ public final class a extends AppDialog {
a aVar3 = this.this$0;
Objects.requireNonNull(aVar3);
m.checkNotNullParameter(aVar2, "viewState");
if (!(aVar2 instanceof d.a.b) && (aVar2 instanceof d.a.C0015a)) {
d.a.C0015a aVar4 = (d.a.C0015a) aVar2;
if (!(aVar2 instanceof d.a.b) && (aVar2 instanceof d.a.C0014a)) {
d.a.C0014a aVar4 = (d.a.C0014a) aVar2;
int ordinal = aVar4.a.ordinal();
if (ordinal == 2) {
MaterialRadioButton materialRadioButton = aVar3.i().e;
@ -245,10 +245,10 @@ public final class a extends AppDialog {
MaterialRadioButton materialRadioButton4 = i().d;
m.checkNotNullExpressionValue(materialRadioButton4, "binding.audioOutputSelectionEarpieceRadio");
ColorCompatKt.setDrawableColor(materialRadioButton4, themedColor);
i().f80b.setOnClickListener(new View$OnClickListenerC0014a(0, this));
i().e.setOnClickListener(new View$OnClickListenerC0014a(1, this));
i().f.setOnClickListener(new View$OnClickListenerC0014a(2, this));
i().d.setOnClickListener(new View$OnClickListenerC0014a(3, this));
i().f80b.setOnClickListener(new View$OnClickListenerC0013a(0, this));
i().e.setOnClickListener(new View$OnClickListenerC0013a(1, this));
i().f.setOnClickListener(new View$OnClickListenerC0013a(2, this));
i().d.setOnClickListener(new View$OnClickListenerC0013a(3, this));
}
@Override // com.discord.app.AppDialog

View file

@ -30,7 +30,7 @@ public final class c extends o implements Function1<StoreAudioManagerV2.State, U
List<DiscordAudioManager.AudioDevice> audioDevices = state2.getAudioDevices();
DiscordAudioManager.DeviceTypes activeAudioDevice = state2.getActiveAudioDevice();
DiscordAudioManager.DeviceTypes deviceTypes = DiscordAudioManager.DeviceTypes.BLUETOOTH_HEADSET;
dVar.updateViewState(new d.a.C0015a(activeAudioDevice, audioDevices.get(deviceTypes.getValue()).f2762b, audioDevices.get(deviceTypes.getValue()).d, audioDevices.get(DiscordAudioManager.DeviceTypes.SPEAKERPHONE.getValue()).f2762b, audioDevices.get(DiscordAudioManager.DeviceTypes.WIRED_HEADSET.getValue()).f2762b, audioDevices.get(DiscordAudioManager.DeviceTypes.EARPIECE.getValue()).f2762b));
dVar.updateViewState(new d.a.C0014a(activeAudioDevice, audioDevices.get(deviceTypes.getValue()).f2762b, audioDevices.get(deviceTypes.getValue()).d, audioDevices.get(DiscordAudioManager.DeviceTypes.SPEAKERPHONE.getValue()).f2762b, audioDevices.get(DiscordAudioManager.DeviceTypes.WIRED_HEADSET.getValue()).f2762b, audioDevices.get(DiscordAudioManager.DeviceTypes.EARPIECE.getValue()).f2762b));
return Unit.a;
}
}

View file

@ -20,7 +20,7 @@ public final class d extends AppViewModel<a> {
/* compiled from: AudioOutputSelectionDialogViewModel.kt */
/* renamed from: b.a.a.f.a.d$a$a reason: collision with other inner class name */
public static final class C0015a extends a {
public static final class C0014a extends a {
public final DiscordAudioManager.DeviceTypes a;
/* renamed from: b reason: collision with root package name */
@ -31,7 +31,7 @@ public final class d extends AppViewModel<a> {
public final boolean f;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public C0015a(DiscordAudioManager.DeviceTypes deviceTypes, boolean z2, String str, boolean z3, boolean z4, boolean z5) {
public C0014a(DiscordAudioManager.DeviceTypes deviceTypes, boolean z2, String str, boolean z3, boolean z4, boolean z5) {
super(null);
m.checkNotNullParameter(deviceTypes, "selectedAudioOutput");
this.a = deviceTypes;
@ -46,10 +46,10 @@ public final class d extends AppViewModel<a> {
if (this == obj) {
return true;
}
if (!(obj instanceof C0015a)) {
if (!(obj instanceof C0014a)) {
return false;
}
C0015a aVar = (C0015a) obj;
C0014a aVar = (C0014a) obj;
return m.areEqual(this.a, aVar.a) && this.f47b == aVar.f47b && m.areEqual(this.c, aVar.c) && this.d == aVar.d && this.e == aVar.e && this.f == aVar.f;
}

View file

@ -31,12 +31,12 @@ public final class a extends AppDialog {
/* compiled from: java-style lambda group */
/* renamed from: b.a.a.g.a$a reason: collision with other inner class name */
public static final class View$OnClickListenerC0016a implements View.OnClickListener {
public static final class View$OnClickListenerC0015a implements View.OnClickListener {
public final /* synthetic */ int j;
public final /* synthetic */ Object k;
public final /* synthetic */ Object l;
public View$OnClickListenerC0016a(int i, Object obj, Object obj2) {
public View$OnClickListenerC0015a(int i, Object obj, Object obj2) {
this.j = i;
this.k = obj;
this.l = obj2;
@ -168,7 +168,7 @@ public final class a extends AppDialog {
m.checkNotNullExpressionValue(textView, "binding.maskedLinksBodyText");
b.a.k.b.n(textView, R.string.masked_link_body, new Object[]{obj}, null, 4);
g().c.setOnClickListener(new d(this));
g().d.setOnClickListener(new View$OnClickListenerC0016a(0, this, str));
g().e.setOnClickListener(new View$OnClickListenerC0016a(1, this, str));
g().d.setOnClickListener(new View$OnClickListenerC0015a(0, this, str));
g().e.setOnClickListener(new View$OnClickListenerC0015a(1, this, str));
}
}

View file

@ -17,10 +17,10 @@ public final class p extends AppViewModel<a> {
/* compiled from: WidgetAccessibilityDetectionDialogViewModel.kt */
/* renamed from: b.a.a.p$a$a reason: collision with other inner class name */
public static final class C0017a extends a {
public static final C0017a a = new C0017a();
public static final class C0016a extends a {
public static final C0016a a = new C0016a();
public C0017a() {
public C0016a() {
super(null);
}
}
@ -35,7 +35,7 @@ public final class p extends AppViewModel<a> {
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public p(StoreUserSettings storeUserSettings, StoreNotices storeNotices, int i) {
super(a.C0017a.a);
super(a.C0016a.a);
StoreNotices storeNotices2 = null;
StoreUserSettings userSettings = (i & 1) != 0 ? StoreStream.Companion.getUserSettings() : null;
storeNotices2 = (i & 2) != 0 ? StoreStream.Companion.getNotices() : storeNotices2;

View file

@ -127,7 +127,7 @@ public final class s extends AppDialog {
Objects.requireNonNull(sVar);
if (m.areEqual(bVar2, w.b.a.a)) {
sVar.dismiss();
} else if (m.areEqual(bVar2, w.b.C0018b.a)) {
} else if (m.areEqual(bVar2, w.b.C0017b.a)) {
b.a.d.m.g(sVar.getContext(), R.string.internal_server_error, 0, null, 12);
} else {
throw new NoWhenBranchMatchedException();

View file

@ -39,10 +39,10 @@ public final class w extends AppViewModel<d> {
/* compiled from: WidgetUrgentMessageDialogViewModel.kt */
/* renamed from: b.a.a.w$b$b reason: collision with other inner class name */
public static final class C0018b extends b {
public static final C0018b a = new C0018b();
public static final class C0017b extends b {
public static final C0017b a = new C0017b();
public C0018b() {
public C0017b() {
super(null);
}
}

View file

@ -23,7 +23,7 @@ public final class y extends o implements Function1<Error, Unit> {
public Unit invoke(Error error) {
m.checkNotNullParameter(error, "it");
PublishSubject<w.b> publishSubject = this.this$0.k;
publishSubject.k.onNext(w.b.C0018b.a);
publishSubject.k.onNext(w.b.C0017b.a);
return Unit.a;
}
}

View file

@ -37,14 +37,14 @@ import kotlin.reflect.KProperty;
/* compiled from: GiftPurchasedDialog.kt */
public final class a extends AppDialog {
public static final /* synthetic */ KProperty[] j = {b.d.b.a.a.b0(a.class, "binding", "getBinding()Lcom/discord/databinding/GiftPurchasedDialogBinding;", 0)};
public static final C0019a k = new C0019a(null);
public static final C0018a k = new C0018a(null);
public Function0<Unit> l;
public final FragmentViewBindingDelegate m = FragmentViewBindingDelegateKt.viewBinding$default(this, b.j, null, 2, null);
/* compiled from: GiftPurchasedDialog.kt */
/* renamed from: b.a.a.z.a$a reason: collision with other inner class name */
public static final class C0019a {
public C0019a(DefaultConstructorMarker defaultConstructorMarker) {
public static final class C0018a {
public C0018a(DefaultConstructorMarker defaultConstructorMarker) {
}
}

View file

@ -69,13 +69,13 @@ public final class c extends AppDialog {
/* compiled from: WidgetGiftAcceptDialog.kt */
/* renamed from: b.a.a.z.c$a$a reason: collision with other inner class name */
public static final class C0020a {
public static final class C0019a {
public final StoreGifting.GiftState a;
/* renamed from: b reason: collision with root package name */
public final boolean f50b;
public C0020a(StoreGifting.GiftState giftState, boolean z2) {
public C0019a(StoreGifting.GiftState giftState, boolean z2) {
m.checkNotNullParameter(giftState, "giftState");
this.a = giftState;
this.f50b = z2;
@ -85,10 +85,10 @@ public final class c extends AppDialog {
if (this == obj) {
return true;
}
if (!(obj instanceof C0020a)) {
if (!(obj instanceof C0019a)) {
return false;
}
C0020a aVar = (C0020a) obj;
C0019a aVar = (C0019a) obj;
return m.areEqual(this.a, aVar.a) && this.f50b == aVar.f50b;
}
@ -218,12 +218,12 @@ public final class c extends AppDialog {
/* compiled from: WidgetGiftAcceptDialog.kt */
@d0.w.i.a.e(c = "com.discord.dialogs.gifting.WidgetGiftAcceptDialog$configureUI$1$1", f = "WidgetGiftAcceptDialog.kt", l = {117}, m = "invokeSuspend")
/* renamed from: b.a.a.z.c$c reason: collision with other inner class name */
public static final class C0021c extends d0.w.i.a.k implements Function2<CoroutineScope, Continuation<? super Unit>, Object> {
public static final class C0020c extends d0.w.i.a.k implements Function2<CoroutineScope, Continuation<? super Unit>, Object> {
public final /* synthetic */ RLottieImageView $this_apply;
public int label;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public C0021c(RLottieImageView rLottieImageView, Continuation continuation) {
public C0020c(RLottieImageView rLottieImageView, Continuation continuation) {
super(2, continuation);
this.$this_apply = rLottieImageView;
}
@ -231,7 +231,7 @@ public final class c extends AppDialog {
@Override // d0.w.i.a.a
public final Continuation<Unit> create(Object obj, Continuation<?> continuation) {
m.checkNotNullParameter(continuation, "completion");
return new C0021c(this.$this_apply, continuation);
return new C0020c(this.$this_apply, continuation);
}
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */
@ -239,7 +239,7 @@ public final class c extends AppDialog {
public final Object invoke(CoroutineScope coroutineScope, Continuation<? super Unit> continuation) {
Continuation<? super Unit> continuation2 = continuation;
m.checkNotNullParameter(continuation2, "completion");
return new C0021c(this.$this_apply, continuation2).invokeSuspend(Unit.a);
return new C0020c(this.$this_apply, continuation2).invokeSuspend(Unit.a);
}
@Override // d0.w.i.a.a
@ -263,23 +263,23 @@ public final class c extends AppDialog {
}
/* compiled from: WidgetGiftAcceptDialog.kt */
public static final class d<T1, T2, R> implements Func2<StoreGifting.GiftState, Boolean, a.C0020a> {
public static final class d<T1, T2, R> implements Func2<StoreGifting.GiftState, Boolean, a.C0019a> {
public static final d j = new d();
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */
@Override // rx.functions.Func2
public a.C0020a call(StoreGifting.GiftState giftState, Boolean bool) {
public a.C0019a call(StoreGifting.GiftState giftState, Boolean bool) {
StoreGifting.GiftState giftState2 = giftState;
Boolean bool2 = bool;
m.checkNotNullExpressionValue(giftState2, "giftState");
m.checkNotNullExpressionValue(bool2, "reduceMotion");
return new a.C0020a(giftState2, bool2.booleanValue());
return new a.C0019a(giftState2, bool2.booleanValue());
}
}
/* compiled from: WidgetGiftAcceptDialog.kt */
public static final class e extends o implements Function1<a.C0020a, Unit> {
public static final class e extends o implements Function1<a.C0019a, Unit> {
public final /* synthetic */ c this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
@ -291,12 +291,12 @@ public final class c extends AppDialog {
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // kotlin.jvm.functions.Function1
public Unit invoke(a.C0020a aVar) {
public Unit invoke(a.C0019a aVar) {
ModelSku sku;
ModelSku sku2;
String str;
ModelSku sku3;
a.C0020a aVar2 = aVar;
a.C0019a aVar2 = aVar;
StoreGifting.GiftState giftState = aVar2.a;
int i = 0;
if (giftState instanceof StoreGifting.GiftState.Loading) {
@ -470,7 +470,7 @@ public final class c extends AppDialog {
super(R.layout.widget_accept_gift_dialog);
}
public final void g(ModelGift modelGift, a.C0020a aVar) {
public final void g(ModelGift modelGift, a.C0019a aVar) {
ModelSku sku;
Application application;
String f2;
@ -501,7 +501,7 @@ public final class c extends AppDialog {
rLottieImageView2.c(animRes, dpToPixels, DimenUtils.dpToPixels(rLottieImageView4.getLayoutParams().height));
CoroutineScope coroutineScope = ViewCoroutineScopeKt.getCoroutineScope(rLottieImageView2);
if (coroutineScope != null) {
b.i.a.f.e.o.f.H0(coroutineScope, null, null, new C0021c(rLottieImageView2, null), 3, null);
b.i.a.f.e.o.f.H0(coroutineScope, null, null, new C0020c(rLottieImageView2, null), 3, null);
}
}
m.checkNotNullExpressionValue(rLottieImageView2, "binding.acceptGiftBodyLo… }\n }\n }");

View file

@ -86,63 +86,63 @@ import java.util.Map;
import kotlin.jvm.functions.Function0;
/* compiled from: TypeAdapterRegistrar.kt */
public final class a {
public static final Map<Class<? extends Object>, Function0<Object>> a = h0.mapOf(o.to(ActivityPlatform.class, b.j), o.to(ActivityType.class, C0022a.D), o.to(ApplicationStatus.class, C0022a.N), o.to(UtcDateTime.class, C0022a.O), o.to(NsfwAllowance.class, C0022a.P), o.to(PremiumTier.class, C0022a.Q), o.to(ActivityType.class, C0022a.R), o.to(Phone.class, C0022a.S), o.to(ApplicationCommandType.class, C0022a.T), o.to(OAuthScope.class, C0022a.j), o.to(GuildHubType.class, C0022a.k), o.to(GuildVerificationLevel.class, C0022a.l), o.to(GuildExplicitContentFilter.class, C0022a.m), o.to(GuildMaxVideoChannelUsers.class, C0022a.n), o.to(ComponentType.class, C0022a.o), o.to(ButtonStyle.class, C0022a.p), o.to(TextStyle.class, C0022a.q), o.to(ReportNodeChild.class, C0022a.r), o.to(ReportNodeElementData.class, C0022a.f52s), o.to(ReportNodeBottomButton.class, C0022a.t), o.to(ApplicationCommandPermissionType.class, C0022a.u), o.to(StageInstancePrivacyLevel.class, C0022a.v), o.to(FriendSuggestionReasonType.class, C0022a.w), o.to(AllowedInSuggestionsType.class, C0022a.f53x), o.to(StickerFormatType.class, C0022a.f54y), o.to(LocalizedString.class, C0022a.f55z), o.to(MessageActivityType.class, C0022a.A), o.to(EmbedType.class, C0022a.B), o.to(StickerType.class, C0022a.C), o.to(GuildScheduledEventStatus.class, C0022a.E), o.to(GuildScheduledEventEntityType.class, C0022a.F), o.to(Science.Event.SchemaObject.class, C0022a.G), o.to(GuildRoleSubscriptionBenefitType.class, C0022a.H), o.to(PriceTierType.class, C0022a.I), o.to(ApplicationType.class, C0022a.J), o.to(PayoutStatus.class, C0022a.K), o.to(PayoutGroupType.class, C0022a.L), o.to(PayoutGroupStatus.class, C0022a.M));
public static final Map<Class<? extends Object>, Function0<Object>> a = h0.mapOf(o.to(ActivityPlatform.class, b.j), o.to(ActivityType.class, C0021a.D), o.to(ApplicationStatus.class, C0021a.N), o.to(UtcDateTime.class, C0021a.O), o.to(NsfwAllowance.class, C0021a.P), o.to(PremiumTier.class, C0021a.Q), o.to(ActivityType.class, C0021a.R), o.to(Phone.class, C0021a.S), o.to(ApplicationCommandType.class, C0021a.T), o.to(OAuthScope.class, C0021a.j), o.to(GuildHubType.class, C0021a.k), o.to(GuildVerificationLevel.class, C0021a.l), o.to(GuildExplicitContentFilter.class, C0021a.m), o.to(GuildMaxVideoChannelUsers.class, C0021a.n), o.to(ComponentType.class, C0021a.o), o.to(ButtonStyle.class, C0021a.p), o.to(TextStyle.class, C0021a.q), o.to(ReportNodeChild.class, C0021a.r), o.to(ReportNodeElementData.class, C0021a.f52s), o.to(ReportNodeBottomButton.class, C0021a.t), o.to(ApplicationCommandPermissionType.class, C0021a.u), o.to(StageInstancePrivacyLevel.class, C0021a.v), o.to(FriendSuggestionReasonType.class, C0021a.w), o.to(AllowedInSuggestionsType.class, C0021a.f53x), o.to(StickerFormatType.class, C0021a.f54y), o.to(LocalizedString.class, C0021a.f55z), o.to(MessageActivityType.class, C0021a.A), o.to(EmbedType.class, C0021a.B), o.to(StickerType.class, C0021a.C), o.to(GuildScheduledEventStatus.class, C0021a.E), o.to(GuildScheduledEventEntityType.class, C0021a.F), o.to(Science.Event.SchemaObject.class, C0021a.G), o.to(GuildRoleSubscriptionBenefitType.class, C0021a.H), o.to(PriceTierType.class, C0021a.I), o.to(ApplicationType.class, C0021a.J), o.to(PayoutStatus.class, C0021a.K), o.to(PayoutGroupType.class, C0021a.L), o.to(PayoutGroupStatus.class, C0021a.M));
/* renamed from: b reason: collision with root package name */
public static final List<b.i.d.o> f51b = n.listOf((Object[]) new b.i.d.o[]{ComponentRuntimeTypeAdapter.INSTANCE.a(), new NullSerializableTypeAdapterFactory()});
/* compiled from: kotlin-style lambda group */
/* renamed from: b.a.b.a$a reason: collision with other inner class name */
public static final class C0022a extends d0.z.d.o implements Function0<Object> {
public static final C0022a A = new C0022a(17);
public static final C0022a B = new C0022a(18);
public static final C0022a C = new C0022a(19);
public static final C0022a D = new C0022a(20);
public static final C0022a E = new C0022a(21);
public static final C0022a F = new C0022a(22);
public static final C0022a G = new C0022a(23);
public static final C0022a H = new C0022a(24);
public static final C0022a I = new C0022a(25);
public static final C0022a J = new C0022a(26);
public static final C0022a K = new C0022a(27);
public static final C0022a L = new C0022a(28);
public static final C0022a M = new C0022a(29);
public static final C0022a N = new C0022a(30);
public static final C0022a O = new C0022a(31);
public static final C0022a P = new C0022a(32);
public static final C0022a Q = new C0022a(33);
public static final C0022a R = new C0022a(34);
public static final C0022a S = new C0022a(35);
public static final C0022a T = new C0022a(36);
public static final C0022a j = new C0022a(0);
public static final C0022a k = new C0022a(1);
public static final C0022a l = new C0022a(2);
public static final C0022a m = new C0022a(3);
public static final C0022a n = new C0022a(4);
public static final C0022a o = new C0022a(5);
public static final C0022a p = new C0022a(6);
public static final C0022a q = new C0022a(7);
public static final C0022a r = new C0022a(8);
public static final class C0021a extends d0.z.d.o implements Function0<Object> {
public static final C0021a A = new C0021a(17);
public static final C0021a B = new C0021a(18);
public static final C0021a C = new C0021a(19);
public static final C0021a D = new C0021a(20);
public static final C0021a E = new C0021a(21);
public static final C0021a F = new C0021a(22);
public static final C0021a G = new C0021a(23);
public static final C0021a H = new C0021a(24);
public static final C0021a I = new C0021a(25);
public static final C0021a J = new C0021a(26);
public static final C0021a K = new C0021a(27);
public static final C0021a L = new C0021a(28);
public static final C0021a M = new C0021a(29);
public static final C0021a N = new C0021a(30);
public static final C0021a O = new C0021a(31);
public static final C0021a P = new C0021a(32);
public static final C0021a Q = new C0021a(33);
public static final C0021a R = new C0021a(34);
public static final C0021a S = new C0021a(35);
public static final C0021a T = new C0021a(36);
public static final C0021a j = new C0021a(0);
public static final C0021a k = new C0021a(1);
public static final C0021a l = new C0021a(2);
public static final C0021a m = new C0021a(3);
public static final C0021a n = new C0021a(4);
public static final C0021a o = new C0021a(5);
public static final C0021a p = new C0021a(6);
public static final C0021a q = new C0021a(7);
public static final C0021a r = new C0021a(8);
/* renamed from: s reason: collision with root package name */
public static final C0022a f52s = new C0022a(9);
public static final C0022a t = new C0022a(10);
public static final C0022a u = new C0022a(11);
public static final C0022a v = new C0022a(12);
public static final C0022a w = new C0022a(13);
public static final C0021a f52s = new C0021a(9);
public static final C0021a t = new C0021a(10);
public static final C0021a u = new C0021a(11);
public static final C0021a v = new C0021a(12);
public static final C0021a w = new C0021a(13);
/* renamed from: x reason: collision with root package name */
public static final C0022a f53x = new C0022a(14);
public static final C0021a f53x = new C0021a(14);
/* renamed from: y reason: collision with root package name */
public static final C0022a f54y = new C0022a(15);
public static final C0021a f54y = new C0021a(15);
/* renamed from: z reason: collision with root package name */
public static final C0022a f55z = new C0022a(16);
public static final C0021a f55z = new C0021a(16);
public final /* synthetic */ int U;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public C0022a(int i) {
public C0021a(int i) {
super(0);
this.U = i;
}

View file

@ -181,12 +181,12 @@ public final class h implements AppPermissionsRequests {
/* compiled from: AppPermissions.kt */
/* renamed from: b.a.d.h$h reason: collision with other inner class name */
public static final class C0023h extends o implements Function1<Map<String, ? extends Boolean>, Unit> {
public static final class C0022h extends o implements Function1<Map<String, ? extends Boolean>, Unit> {
public final /* synthetic */ Function0 $onFailure;
public final /* synthetic */ h this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public C0023h(h hVar, Function0 function0) {
public C0022h(h hVar, Function0 function0) {
super(1);
this.this$0 = hVar;
this.$onFailure = function0;
@ -365,7 +365,7 @@ public final class h implements AppPermissionsRequests {
@MainThread
public void requestMicrophone(Function0<Unit> function0, Function0<Unit> function02) {
m.checkNotNullParameter(function02, "onSuccess");
c(211, new g(b(211), function02), new C0023h(this, function0));
c(211, new g(b(211), function02), new C0022h(this, function0));
}
@Override // com.discord.app.AppPermissionsRequests

View file

@ -13,12 +13,12 @@ public final class a<K, T extends ChipsView.a> implements View.OnClickListener {
public String m;
public final K n;
public final T o;
public final C0024a p;
public final C0023a p;
public final ChipsView<K, T> q;
/* compiled from: Chip.kt */
/* renamed from: b.a.f.a$a reason: collision with other inner class name */
public static final class C0024a {
public static final class C0023a {
public final int a;
/* renamed from: b reason: collision with root package name */
@ -28,7 +28,7 @@ public final class a<K, T extends ChipsView.a> implements View.OnClickListener {
public final int e;
public final int f;
public C0024a(int i, float f, int i2, int i3, int i4, int i5, int i6, int i7, int i8, int i9) {
public C0023a(int i, float f, int i2, int i3, int i4, int i5, int i6, int i7, int i8, int i9) {
this.a = i;
this.f66b = i2;
this.c = i3;
@ -38,7 +38,7 @@ public final class a<K, T extends ChipsView.a> implements View.OnClickListener {
}
}
public a(String str, String str2, K k, T t, C0024a aVar, ChipsView<K, T> chipsView) {
public a(String str, String str2, K k, T t, C0023a aVar, ChipsView<K, T> chipsView) {
m.checkNotNullParameter(aVar, "params");
m.checkNotNullParameter(chipsView, "container");
this.l = str;

View file

@ -23,8 +23,8 @@ public final class a {
/* compiled from: ColorCutQuantizer.kt */
/* renamed from: b.a.g.a$a reason: collision with other inner class name */
public static final class C0025a<T> implements Comparator<c> {
public static final C0025a j = new C0025a();
public static final class C0024a<T> implements Comparator<c> {
public static final C0024a j = new C0024a();
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */
@Override // java.util.Comparator
@ -168,7 +168,7 @@ public final class a {
}
return;
}
PriorityQueue priorityQueue = new PriorityQueue(i, C0025a.j);
PriorityQueue priorityQueue = new PriorityQueue(i, C0024a.j);
priorityQueue.offer(new c(0, i8 - 1));
while (priorityQueue.size() < i && (cVar = (c) priorityQueue.poll()) != null) {
int i11 = cVar.h;

View file

@ -19,19 +19,19 @@ public final class a {
public Function1<? super Integer, Unit> a;
/* renamed from: b reason: collision with root package name */
public final Map<Integer, C0026a> f240b = new LinkedHashMap();
public final Map<Integer, C0025a> f240b = new LinkedHashMap();
public final Logger c;
/* compiled from: FloatingViewManager.kt */
/* renamed from: b.a.j.a$a reason: collision with other inner class name */
public static final class C0026a {
public static final class C0025a {
public final View a;
/* renamed from: b reason: collision with root package name */
public final ViewGroup f241b;
public final ViewTreeObserver.OnPreDrawListener c;
public C0026a(View view, ViewGroup viewGroup, ViewTreeObserver.OnPreDrawListener onPreDrawListener) {
public C0025a(View view, ViewGroup viewGroup, ViewTreeObserver.OnPreDrawListener onPreDrawListener) {
m.checkNotNullParameter(view, "floatingView");
m.checkNotNullParameter(viewGroup, "ancestorViewGroup");
m.checkNotNullParameter(onPreDrawListener, "ancestorPreDrawListener");
@ -75,7 +75,7 @@ public final class a {
@MainThread
public final void b(int i) {
C0026a aVar = this.f240b.get(Integer.valueOf(i));
C0025a aVar = this.f240b.get(Integer.valueOf(i));
if (aVar != null) {
ViewGroup viewGroup = aVar.f241b;
View view = aVar.a;

View file

@ -12,16 +12,16 @@ public final class a {
public static b.a.k.g.b a;
/* renamed from: b reason: collision with root package name */
public static Function0<Integer> f242b = C0027a.j;
public static Function0<Integer> f242b = C0026a.j;
public static Function2<? super String, ? super View, Unit> c = b.j;
public static final a d = null;
/* compiled from: Format.kt */
/* renamed from: b.a.k.a$a reason: collision with other inner class name */
public static final class C0027a extends o implements Function0<Integer> {
public static final C0027a j = new C0027a();
public static final class C0026a extends o implements Function0<Integer> {
public static final C0026a j = new C0026a();
public C0027a() {
public C0026a() {
super(0);
}

View file

@ -45,10 +45,10 @@ public final class b {
/* compiled from: FormatUtils.kt */
/* renamed from: b.a.k.b$b reason: collision with other inner class name */
public static final class C0028b extends o implements Function1<RenderContext, Unit> {
public static final C0028b j = new C0028b();
public static final class C0027b extends o implements Function1<RenderContext, Unit> {
public static final C0027b j = new C0027b();
public C0028b() {
public C0027b() {
super(1);
}
@ -263,7 +263,7 @@ public final class b {
}
public static /* synthetic */ CharSequence h(Context context, int i, Object[] objArr, Function1 function1, int i2) {
return b(context, i, objArr, (i2 & 4) != 0 ? C0028b.j : null);
return b(context, i, objArr, (i2 & 4) != 0 ? C0027b.j : null);
}
public static /* synthetic */ CharSequence i(Resources resources, int i, Object[] objArr, Function1 function1, int i2) {

View file

@ -20,11 +20,11 @@ public final class d implements View.OnClickListener {
/* compiled from: View.kt */
/* renamed from: b.a.n.d$a$a reason: collision with other inner class name */
public static final class View$OnLayoutChangeListenerC0029a implements View.OnLayoutChangeListener {
public static final class View$OnLayoutChangeListenerC0028a implements View.OnLayoutChangeListener {
public final /* synthetic */ a j;
public final /* synthetic */ View k;
public View$OnLayoutChangeListenerC0029a(a aVar, View view) {
public View$OnLayoutChangeListenerC0028a(a aVar, View view) {
this.j = aVar;
this.k = view;
}
@ -47,7 +47,7 @@ public final class d implements View.OnClickListener {
public void onViewAttachedToWindow(View view) {
m.checkNotNullParameter(view, "v");
if (!ViewCompat.isLaidOut(view) || view.isLayoutRequested()) {
view.addOnLayoutChangeListener(new View$OnLayoutChangeListenerC0029a(this, view));
view.addOnLayoutChangeListener(new View$OnLayoutChangeListenerC0028a(this, view));
return;
}
View findViewWithTag = view.findViewWithTag(this.j.m);

View file

@ -28,10 +28,10 @@ public final class a extends FrameLayout implements f {
/* compiled from: Animator.kt */
/* renamed from: b.a.n.h.a$a reason: collision with other inner class name */
public static final class C0030a implements Animator.AnimatorListener {
public static final class C0029a implements Animator.AnimatorListener {
public final /* synthetic */ a a;
public C0030a(a aVar) {
public C0029a(a aVar) {
this.a = aVar;
}
@ -118,7 +118,7 @@ public final class a extends FrameLayout implements f {
Animator loadAnimator2 = AnimatorInflater.loadAnimator(getContext(), R.a.slide_in_bottom);
loadAnimator2.setTarget(frameLayout2);
animatorSet.playTogether(loadAnimator, loadAnimator2);
animatorSet.addListener(new C0030a(this));
animatorSet.addListener(new C0029a(this));
this.l = animatorSet;
AnimatorSet animatorSet2 = new AnimatorSet();
Animator loadAnimator3 = AnimatorInflater.loadAnimator(getContext(), R.a.fade_out);

View file

@ -9,17 +9,17 @@ import java.util.Locale;
import kotlin.jvm.functions.Function1;
/* compiled from: LocaleProvider.kt */
public final class a {
public static Function1<? super Context, Locale> a = C0031a.j;
public static Function1<? super Context, Locale> a = C0030a.j;
/* renamed from: b reason: collision with root package name */
public static final a f248b = null;
/* compiled from: LocaleProvider.kt */
/* renamed from: b.a.o.a$a reason: collision with other inner class name */
public static final class C0031a extends o implements Function1<Context, Locale> {
public static final C0031a j = new C0031a();
public static final class C0030a extends o implements Function1<Context, Locale> {
public static final C0030a j = new C0030a();
public C0031a() {
public C0030a() {
super(1);
}

View file

@ -26,7 +26,7 @@ public final class b implements View.OnLayoutChangeListener {
/* compiled from: PanelsChildGestureRegionObserver.kt */
/* renamed from: b.a.o.b$b reason: collision with other inner class name */
public static final class C0032b {
public static final class C0031b {
public static WeakReference<b> a = new WeakReference<>(null);
@UiThread

View file

@ -18,7 +18,7 @@ import org.webrtc.MediaStreamTrack;
import org.webrtc.ThreadUtils;
/* compiled from: AudioManagerBroadcastReceiver.kt */
public final class a extends BroadcastReceiver {
public static final C0033a a = new C0033a(null);
public static final C0032a a = new C0032a(null);
/* renamed from: b reason: collision with root package name */
public final Context f258b;
@ -26,8 +26,8 @@ public final class a extends BroadcastReceiver {
/* compiled from: AudioManagerBroadcastReceiver.kt */
/* renamed from: b.a.q.k0.a$a reason: collision with other inner class name */
public static final class C0033a {
public C0033a(DefaultConstructorMarker defaultConstructorMarker) {
public static final class C0032a {
public C0032a(DefaultConstructorMarker defaultConstructorMarker) {
}
}
@ -92,7 +92,7 @@ public final class a extends BroadcastReceiver {
if (intent.getIntExtra("microphone", 0) == 1) {
z2 = true;
}
aVar = new a.C0034a(stringExtra, z2);
aVar = new a.C0033a(stringExtra, z2);
}
hVar.e(context, aVar);
return;

View file

@ -8,14 +8,14 @@ public abstract class a {
/* compiled from: WiredHeadsetState.kt */
/* renamed from: b.a.q.l0.a$a reason: collision with other inner class name */
public static final class C0034a extends a {
public static final class C0033a extends a {
public final String a;
/* renamed from: b reason: collision with root package name */
public final boolean f262b;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public C0034a(String str, boolean z2) {
public C0033a(String str, boolean z2) {
super(false, null);
m.checkNotNullParameter(str, ModelAuditLogEntry.CHANGE_KEY_NAME);
this.a = str;
@ -26,10 +26,10 @@ public abstract class a {
if (this == obj) {
return true;
}
if (!(obj instanceof C0034a)) {
if (!(obj instanceof C0033a)) {
return false;
}
C0034a aVar = (C0034a) obj;
C0033a aVar = (C0033a) obj;
return m.areEqual(this.a, aVar.a) && this.f262b == aVar.f262b;
}

View file

@ -36,7 +36,7 @@ import rx.functions.Action1;
/* compiled from: ScreenCapturer.kt */
public final class b extends ScreenCapturerAndroid {
public static final a j = new a(null);
public final RunnableC0035b k = new RunnableC0035b();
public final RunnableC0034b k = new RunnableC0034b();
public NativeCapturerObserver l;
public SurfaceTextureHelper m;
public Context n;
@ -66,8 +66,8 @@ public final class b extends ScreenCapturerAndroid {
/* compiled from: ScreenCapturer.kt */
/* renamed from: b.a.q.m0.b$b reason: collision with other inner class name */
public final class RunnableC0035b implements Runnable {
public RunnableC0035b() {
public final class RunnableC0034b implements Runnable {
public RunnableC0034b() {
}
@Override // java.lang.Runnable

View file

@ -153,12 +153,12 @@ public final class e implements MediaEngineConnection {
/* compiled from: MediaEngineConnectionLegacy.kt */
/* renamed from: b.a.q.m0.c.e$e reason: collision with other inner class name */
public static final class C0036e extends d0.z.d.o implements Function1<MediaEngineConnection.d, Unit> {
public static final class C0035e extends d0.z.d.o implements Function1<MediaEngineConnection.d, Unit> {
public final /* synthetic */ KrispOveruseDetector.Status $status;
public final /* synthetic */ e this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public C0036e(e eVar, KrispOveruseDetector.Status status) {
public C0035e(e eVar, KrispOveruseDetector.Status status) {
super(1);
this.this$0 = eVar;
this.$status = status;
@ -670,7 +670,7 @@ public final class e implements MediaEngineConnection {
@Override // com.discord.rtcconnection.mediaengine.MediaEngineConnection
public void f(KrispOveruseDetector.Status status) {
d0.z.d.m.checkNotNullParameter(status, "status");
y(new C0036e(this, status));
y(new C0035e(this, status));
}
@Override // com.discord.rtcconnection.mediaengine.MediaEngineConnection

View file

@ -143,12 +143,12 @@ public final class k implements MediaEngine {
/* compiled from: MediaEngineLegacy.kt */
/* renamed from: b.a.q.m0.c.k$c$c reason: collision with other inner class name */
public static final class C0037c extends o implements Function0<Unit> {
public static final class C0036c extends o implements Function0<Unit> {
public final /* synthetic */ MediaEngineConnection $connection;
public final /* synthetic */ c this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public C0037c(c cVar, MediaEngineConnection mediaEngineConnection) {
public C0036c(c cVar, MediaEngineConnection mediaEngineConnection) {
super(0);
this.this$0 = cVar;
this.$connection = mediaEngineConnection;
@ -208,7 +208,7 @@ public final class k implements MediaEngine {
@Override // com.discord.rtcconnection.mediaengine.MediaEngineConnection.a, com.discord.rtcconnection.mediaengine.MediaEngineConnection.d
public void onDestroy(MediaEngineConnection mediaEngineConnection) {
m.checkNotNullParameter(mediaEngineConnection, "connection");
this.a.o(new C0037c(this, mediaEngineConnection));
this.a.o(new C0036c(this, mediaEngineConnection));
}
@Override // com.discord.rtcconnection.mediaengine.MediaEngineConnection.a, com.discord.rtcconnection.mediaengine.MediaEngineConnection.d
@ -374,12 +374,12 @@ public final class k implements MediaEngine {
/* compiled from: MediaEngineLegacy.kt */
/* renamed from: b.a.q.m0.c.k$k reason: collision with other inner class name */
public static final class C0038k extends o implements Function0<Unit> {
public static final class C0037k extends o implements Function0<Unit> {
public final /* synthetic */ MediaEngine.VoiceConfig $voiceConfig;
public final /* synthetic */ k this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public C0038k(k kVar, MediaEngine.VoiceConfig voiceConfig) {
public C0037k(k kVar, MediaEngine.VoiceConfig voiceConfig) {
super(0);
this.this$0 = kVar;
this.$voiceConfig = voiceConfig;
@ -523,7 +523,7 @@ public final class k implements MediaEngine {
@AnyThread
public void d(MediaEngine.VoiceConfig voiceConfig) {
m.checkNotNullParameter(voiceConfig, "voiceConfig");
o(new C0038k(this, voiceConfig));
o(new C0037k(this, voiceConfig));
}
@Override // com.discord.rtcconnection.mediaengine.MediaEngine

View file

@ -38,7 +38,7 @@ import okhttp3.WebSocketListener;
/* compiled from: RtcControlSocket.kt */
public final class a extends WebSocketListener implements DebugPrintable {
public static int j;
public static final Type k = new C0039a().getType();
public static final Type k = new C0038a().getType();
public static final b l = new b(null);
public Long A;
public c B;
@ -75,7 +75,7 @@ public final class a extends WebSocketListener implements DebugPrintable {
/* compiled from: RtcControlSocket.kt */
/* renamed from: b.a.q.n0.a$a reason: collision with other inner class name */
public static final class C0039a extends TypeToken<Map<String, ? extends Integer>> {
public static final class C0038a extends TypeToken<Map<String, ? extends Integer>> {
}
/* compiled from: RtcControlSocket.kt */
@ -167,11 +167,11 @@ public final class a extends WebSocketListener implements DebugPrintable {
/* compiled from: RtcControlSocket.kt */
/* renamed from: b.a.q.n0.a$g$a reason: collision with other inner class name */
public static final class C0040a extends o implements Function0<Unit> {
public static final class C0039a extends o implements Function0<Unit> {
public final /* synthetic */ g this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public C0040a(g gVar) {
public C0039a(g gVar) {
super(0);
this.this$0 = gVar;
}
@ -191,7 +191,7 @@ public final class a extends WebSocketListener implements DebugPrintable {
@Override // java.util.TimerTask, java.lang.Runnable
public void run() {
this.j.m(new C0040a(this));
this.j.m(new C0039a(this));
}
}

View file

@ -57,13 +57,13 @@ public final /* synthetic */ class a extends k implements Function1<Stats, Unit>
for (Map.Entry<String, InboundRtpVideo> entry : stats2.getInboundRtpVideo().entrySet()) {
String key = entry.getKey();
InboundRtpVideo value = entry.getValue();
Map<String, e.C0041e> map = eVar.m;
e.C0041e eVar2 = map.get(key);
Map<String, e.C0040e> map = eVar.m;
e.C0040e eVar2 = map.get(key);
if (eVar2 == null) {
eVar2 = new e.C0041e();
eVar2 = new e.C0040e();
map.put(key, eVar2);
}
e.C0041e eVar3 = eVar2;
e.C0040e eVar3 = eVar2;
eVar.a(eVar3, eVar.f(value, currentTimeMillis));
if (eVar3.d == null && value.getFramesDecoded() > 0) {
byte[] bArr = c.a;

View file

@ -40,7 +40,7 @@ public final class e {
public final d j;
public final d k;
public final f l = new f();
public final Map<String, C0041e> m = new LinkedHashMap();
public final Map<String, C0040e> m = new LinkedHashMap();
public final Map<Long, Long> n = new LinkedHashMap();
public final DeviceResourceUsageMonitor o;
public final Logger p;
@ -208,7 +208,7 @@ public final class e {
/* compiled from: VideoQuality.kt */
/* renamed from: b.a.q.o0.e$e reason: collision with other inner class name */
public static class C0041e {
public static class C0040e {
public List<g> a = new ArrayList();
/* renamed from: b reason: collision with root package name */
@ -222,7 +222,7 @@ public final class e {
public float i;
public Map<Integer, Float> j = new LinkedHashMap();
public C0041e() {
public C0040e() {
for (Number number : e.a) {
this.g.put(Integer.valueOf(number.intValue()), Float.valueOf(0.0f));
}
@ -236,7 +236,7 @@ public final class e {
}
/* compiled from: VideoQuality.kt */
public static final class f extends C0041e {
public static final class f extends C0040e {
public int k = 2500000;
public int l = 30;
public long m;
@ -311,8 +311,8 @@ public final class e {
e eVar = this.this$0;
List<Integer> list = e.a;
synchronized (eVar) {
for (Map.Entry<String, C0041e> entry : eVar.m.entrySet()) {
C0041e value = entry.getValue();
for (Map.Entry<String, C0040e> entry : eVar.m.entrySet()) {
C0040e value = entry.getValue();
value.f280b.addSample((long) resourceUsage2.getCpuUsagePercent());
value.c.addSample(resourceUsage2.getMemoryRssBytes());
}
@ -341,7 +341,7 @@ public final class e {
deviceResourceUsageMonitor.start();
}
public final void a(C0041e eVar, g gVar) {
public final void a(C0040e eVar, g gVar) {
eVar.a.add(gVar);
if (eVar.a.size() >= 2) {
List<g> list = eVar.a;
@ -453,7 +453,7 @@ public final class e {
@AnyThread
public final synchronized Map<String, Object> c(String str) {
C0041e eVar;
C0040e eVar;
m.checkNotNullParameter(str, "userId");
eVar = this.m.get(str);
return eVar != null ? e(eVar) : null;
@ -481,7 +481,7 @@ public final class e {
(wrap: java.lang.Long : 0x04d8: INVOKE (r1v2 java.lang.Long) = (r4v22 long) type: STATIC call: java.lang.Long.valueOf(long):java.lang.Long)
type: STATIC call: d0.o.to(java.lang.Object, java.lang.Object):kotlin.Pair)
*/
public final Map<String, Object> e(C0041e eVar) {
public final Map<String, Object> e(C0040e eVar) {
Float valueOf;
long currentTimeMillis = this.q.currentTimeMillis();
Long l = this.h;

View file

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

View file

@ -39,7 +39,7 @@ public final class b extends ContentObserver {
/* compiled from: ScreenshotContentObserver.kt */
/* renamed from: b.a.s.b$b reason: collision with other inner class name */
public static final class C0042b {
public static final class C0041b {
public final String a;
/* renamed from: b reason: collision with root package name */
@ -49,7 +49,7 @@ public final class b extends ContentObserver {
public final Uri e;
public final long f;
public C0042b(long j, String str, String str2, Uri uri, long j2) {
public C0041b(long j, String str, String str2, Uri uri, long j2) {
m.checkNotNullParameter(str, "fileName");
m.checkNotNullParameter(str2, "relativePath");
m.checkNotNullParameter(uri, NotificationCompat.MessagingStyle.Message.KEY_DATA_URI);
@ -65,10 +65,10 @@ public final class b extends ContentObserver {
if (this == obj) {
return true;
}
if (!(obj instanceof C0042b)) {
if (!(obj instanceof C0041b)) {
return false;
}
C0042b bVar = (C0042b) obj;
C0041b bVar = (C0041b) obj;
return this.f283b == bVar.f283b && m.areEqual(this.c, bVar.c) && m.areEqual(this.d, bVar.d) && m.areEqual(this.e, bVar.e) && this.f == bVar.f;
}
@ -126,7 +126,7 @@ public final class b extends ContentObserver {
/* JADX WARNING: Removed duplicated region for block: B:31:0x00c2 */
/* JADX WARNING: Removed duplicated region for block: B:45:? A[RETURN, SYNTHETIC] */
public final void a(Uri uri) {
C0042b bVar;
C0041b bVar;
String str;
ContentResolver contentResolver = this.d;
int i = Build.VERSION.SDK_INT;
@ -145,7 +145,7 @@ public final class b extends ContentObserver {
String string2 = query.getString(query.getColumnIndex("_display_name"));
m.checkNotNullExpressionValue(string2, "cursor.getString(cursor.…ages.Media.DISPLAY_NAME))");
m.checkNotNullExpressionValue(str, "relativePath");
bVar = new C0042b(j, string2, str, uri, query.getLong(query.getColumnIndex("date_added")));
bVar = new C0041b(j, string2, str, uri, query.getLong(query.getColumnIndex("date_added")));
d0.y.b.closeFinally(query, null);
if (bVar != null) {
String str2 = this.f282b;

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.C0177a(group2, parse);
aVar = new CodeNode.a.C0176a(group2, parse);
} else {
aVar = new CodeNode.a.b(group2);
}

View file

@ -13,7 +13,7 @@ public final class h 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 h(i.a.C0043a aVar, f fVar, Pattern pattern) {
public h(i.a.C0042a aVar, f fVar, Pattern pattern) {
super(pattern);
this.a = fVar;
}

View file

@ -23,12 +23,12 @@ public final class i {
public static final Pattern a = Pattern.compile("^(def)( +\\w+)( *\\( *(?:@\\w+ +: +\\w*)?\\w+(?: +[:=] +.*)? *\\))?(?!.+)");
/* renamed from: b reason: collision with root package name */
public static final C0043a f290b = new C0043a(null);
public static final C0042a f290b = new C0042a(null);
/* compiled from: Crystal.kt */
/* renamed from: b.a.t.a.i$a$a reason: collision with other inner class name */
public static final class C0043a {
public C0043a(DefaultConstructorMarker defaultConstructorMarker) {
public static final class C0042a {
public C0042a(DefaultConstructorMarker defaultConstructorMarker) {
}
}

View file

@ -13,7 +13,7 @@ public final class j 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 j(k.a.C0044a aVar, f fVar, Pattern pattern) {
public j(k.a.C0043a aVar, f fVar, Pattern pattern) {
super(pattern);
this.a = fVar;
}

View file

@ -25,12 +25,12 @@ public final class k {
public static final Pattern a = Pattern.compile("^(var|let|const)(\\s+[a-zA-Z_$][a-zA-Z0-9_$]*)");
/* renamed from: b reason: collision with root package name */
public static final C0044a f292b = new C0044a(null);
public static final C0043a f292b = new C0043a(null);
/* compiled from: JavaScript.kt */
/* renamed from: b.a.t.a.k$a$a reason: collision with other inner class name */
public static final class C0044a {
public C0044a(DefaultConstructorMarker defaultConstructorMarker) {
public static final class C0043a {
public C0043a(DefaultConstructorMarker defaultConstructorMarker) {
}
}

View file

@ -13,7 +13,7 @@ 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(o.a.C0045a aVar, f fVar, Pattern pattern) {
public n(o.a.C0044a aVar, f fVar, Pattern pattern) {
super(pattern);
this.a = fVar;
}

View file

@ -24,12 +24,12 @@ public final class o {
public static final Pattern a = Pattern.compile("^(val|var)(\\s+\\w+)", 32);
/* renamed from: b reason: collision with root package name */
public static final C0045a f296b = new C0045a(null);
public static final C0044a f296b = new C0044a(null);
/* compiled from: Kotlin.kt */
/* renamed from: b.a.t.a.o$a$a reason: collision with other inner class name */
public static final class C0045a {
public C0045a(DefaultConstructorMarker defaultConstructorMarker) {
public static final class C0044a {
public C0044a(DefaultConstructorMarker defaultConstructorMarker) {
}
}

View file

@ -13,7 +13,7 @@ public final class q 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 q(r.a.C0046a aVar, f fVar, Pattern pattern) {
public q(r.a.C0045a aVar, f fVar, Pattern pattern) {
super(pattern);
this.a = fVar;
}

View file

@ -25,12 +25,12 @@ public final class r {
public static final Pattern a = Pattern.compile("^(@)(\\s*[a-zA-Z_$][a-zA-Z0-9_$]*)(<.*>)?", 32);
/* renamed from: b reason: collision with root package name */
public static final C0046a f299b = new C0046a(null);
public static final C0045a f299b = new C0045a(null);
/* compiled from: TypeScript.kt */
/* renamed from: b.a.t.a.r$a$a reason: collision with other inner class name */
public static final class C0046a {
public C0046a(DefaultConstructorMarker defaultConstructorMarker) {
public static final class C0045a {
public C0045a(DefaultConstructorMarker defaultConstructorMarker) {
}
}

View file

@ -29,8 +29,8 @@ public final class v {
/* compiled from: Xml.kt */
/* renamed from: b.a.t.a.v$a$a reason: collision with other inner class name */
public static final /* synthetic */ class C0047a extends k implements Function1<RC, Iterable<?>> {
public C0047a(StyleNode.a aVar) {
public static final /* synthetic */ class C0046a extends k implements Function1<RC, Iterable<?>> {
public C0046a(StyleNode.a aVar) {
super(1, aVar, StyleNode.a.class, "get", "get(Ljava/lang/Object;)Ljava/lang/Iterable;", 0);
}
@ -84,7 +84,7 @@ public final class v {
pair = o.to(this.a, "");
}
String str4 = (String) pair.component2();
C0047a aVar = new C0047a(this.c.g);
C0046a aVar = new C0046a(this.c.g);
int length2 = spannableStringBuilder.length();
spannableStringBuilder.append((CharSequence) ('<' + ((String) pair.component1())));
Iterator<?> it = aVar.invoke(rc).iterator();

View file

@ -32,12 +32,12 @@ public final class a {
/* compiled from: MarkdownRules.kt */
/* renamed from: b.a.t.c.a$a reason: collision with other inner class name */
public static class C0048a<RC, T, S> extends b<RC, S> {
public static class C0047a<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 C0048a(Function1<? super Integer, ? extends CharacterStyle> function1, Function1<? super String, ? extends T> function12) {
public C0047a(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 C0048a(Function1<? super Integer, ? extends CharacterStyle> function1, Function1<? super String, ? extends T> function12, List<? extends Rule<RC, Node<RC>, S>> list) {
public C0047a(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");

View file

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

View file

@ -44,10 +44,10 @@ public final class c0 extends AppBottomSheet implements i {
/* compiled from: SelectorBottomSheet.kt */
/* renamed from: b.a.y.c0$a$a reason: collision with other inner class name */
public static final class C0050a extends o implements Function1<Integer, Unit> {
public static final C0050a j = new C0050a();
public static final class C0049a extends o implements Function1<Integer, Unit> {
public static final C0049a j = new C0049a();
public C0050a() {
public C0049a() {
super(1);
}
@ -68,7 +68,7 @@ public final class c0 extends AppBottomSheet implements i {
public static /* synthetic */ c0 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 = C0050a.j;
function1 = C0049a.j;
}
return aVar.a(fragmentManager, str, list, z3, function1);
}

View file

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

View file

@ -56,11 +56,11 @@ public final class h extends RecyclerView.Adapter<a> {
/* compiled from: MediaCursorAdapter.kt */
/* renamed from: b.b.a.d.h$a$a reason: collision with other inner class name */
public static final class C0052a extends o implements Function1<AnimatorSet, Unit> {
public static final class C0051a 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 C0052a(boolean z2) {
public C0051a(boolean z2) {
super(1);
this.$isAnimationRequested = z2;
}
@ -118,7 +118,7 @@ public final class h extends RecyclerView.Adapter<a> {
FrameLayout frameLayout = this.f317s.a;
m.checkNotNullExpressionValue(frameLayout, "binding.root");
frameLayout.setSelected(z2);
C0052a aVar = new C0052a(z3);
C0051a aVar = new C0051a(z3);
if (z2) {
SimpleDraweeView simpleDraweeView = this.f317s.d;
m.checkNotNullExpressionValue(simpleDraweeView, "binding.itemCheckIndicator");

View file

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

View file

@ -1166,7 +1166,7 @@ public class d {
return -1;
}
public static void O1(b.C0086b bVar) {
public static void O1(b.C0085b bVar) {
bVar.k = -3.4028235E38f;
bVar.j = Integer.MIN_VALUE;
CharSequence charSequence = bVar.a;

View file

@ -194,10 +194,10 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
/* compiled from: LottieDrawable */
/* renamed from: b.c.a.j$j reason: collision with other inner class name */
public class C0054j implements o {
public class C0053j implements o {
public final /* synthetic */ float a;
public C0054j(float f) {
public C0053j(float f) {
this.a = f;
}
@ -672,7 +672,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
public void t(float f2) {
d dVar = this.k;
if (dVar == null) {
this.p.add(new C0054j(f2));
this.p.add(new C0053j(f2));
} else {
r((int) b.c.a.b0.f.e(dVar.k, dVar.l, f2));
}

View file

@ -50,7 +50,7 @@ public abstract class a implements a.b, k, e {
/* renamed from: b reason: collision with root package name */
public final s f374b;
public b(s sVar, C0055a aVar) {
public b(s sVar, C0054a aVar) {
this.f374b = sVar;
}
}

View file

@ -28,7 +28,7 @@ public abstract class a<K, A> {
/* compiled from: BaseKeyframeAnimation */
public static final class c<T> implements d<T> {
public c(C0056a aVar) {
public c(C0055a aVar) {
}
@Override // b.c.a.w.c.a.d

View file

@ -422,7 +422,7 @@ public class a {
return str + j;
}
public static boolean s0(b.C0256b bVar, int i, String str) {
public static boolean s0(b.C0255b bVar, int i, String str) {
Boolean bool = bVar.get(i);
m.checkNotNullExpressionValue(bool, str);
return bool.booleanValue();

View file

@ -4,11 +4,11 @@ import com.discord.widgets.chat.input.MentionUtilsKt;
import java.util.Date;
/* compiled from: Log */
public class a {
public static C0057a a = new C0057a();
public static C0056a a = new C0056a();
/* compiled from: Log */
/* renamed from: b.e.a.a$a reason: collision with other inner class name */
public static class C0057a {
public static class C0056a {
public long a = new Date().getTime();
public void a(int i, String str, String str2, Throwable th) {

View file

@ -34,7 +34,7 @@ public class a implements c {
public class b implements b.f.d.c.a {
public final List<c.a> a = new ArrayList();
public b(C0058a aVar) {
public b(C0057a aVar) {
}
@Override // b.f.d.c.a
@ -64,7 +64,7 @@ public class a implements c {
public long c = -1;
public long d = -1;
public c(String str, File file, C0058a aVar) {
public c(String str, File file, C0057a aVar) {
Objects.requireNonNull(str);
this.a = str;
this.f456b = new b.f.a.a(file);
@ -192,7 +192,7 @@ public class a implements c {
public class g implements b.f.d.c.a {
public boolean a;
public g(C0058a aVar) {
public g(C0057a aVar) {
}
/* JADX WARNING: Code restructure failed: missing block: B:7:0x002b, code lost:

View file

@ -15,14 +15,14 @@ public class b extends AbstractExecutorService {
public final Executor l;
public volatile int m;
public final BlockingQueue<Runnable> n;
public final RunnableC0059b o;
public final RunnableC0058b o;
public final AtomicInteger p;
public final AtomicInteger q;
/* compiled from: ConstrainedExecutorService */
/* renamed from: b.f.d.b.b$b reason: collision with other inner class name */
public class RunnableC0059b implements Runnable {
public RunnableC0059b(a aVar) {
public class RunnableC0058b implements Runnable {
public RunnableC0058b(a aVar) {
}
@Override // java.lang.Runnable
@ -64,7 +64,7 @@ public class b extends AbstractExecutorService {
this.l = executor;
this.m = i;
this.n = blockingQueue;
this.o = new RunnableC0059b(null);
this.o = new RunnableC0058b(null);
this.p = new AtomicInteger(0);
this.q = new AtomicInteger(0);
return;

View file

@ -25,10 +25,10 @@ public class a extends b.f.h.b.a.a<ImageInfo> implements Closeable {
/* compiled from: ImagePerfControllerListener2 */
/* renamed from: b.f.g.a.a.h.i.a$a reason: collision with other inner class name */
public static class HandlerC0060a extends Handler {
public static class HandlerC0059a extends Handler {
public final g a;
public HandlerC0060a(@NonNull Looper looper, @NonNull g gVar) {
public HandlerC0059a(@NonNull Looper looper, @NonNull g gVar) {
super(looper);
this.a = gVar;
}
@ -130,7 +130,7 @@ public class a extends b.f.h.b.a.a<ImageInfo> implements Closeable {
handlerThread.start();
Looper looper = handlerThread.getLooper();
Objects.requireNonNull(looper);
j = new HandlerC0060a(looper, this.m);
j = new HandlerC0059a(looper, this.m);
}
}
}

View file

@ -5,9 +5,9 @@ public abstract class a {
/* compiled from: DeferredReleaser */
/* renamed from: b.f.g.b.a$a reason: collision with other inner class name */
public interface AbstractC0061a {
public interface AbstractC0060a {
void release();
}
public abstract void a(AbstractC0061a aVar);
public abstract void a(AbstractC0060a aVar);
}

View file

@ -12,8 +12,8 @@ public class b extends a {
/* renamed from: b reason: collision with root package name */
public final Object f490b = new Object();
public final Handler c = new Handler(Looper.getMainLooper());
public ArrayList<a.AbstractC0061a> d = new ArrayList<>();
public ArrayList<a.AbstractC0061a> e = new ArrayList<>();
public ArrayList<a.AbstractC0060a> d = new ArrayList<>();
public ArrayList<a.AbstractC0060a> e = new ArrayList<>();
public final Runnable f = new a();
/* compiled from: DeferredReleaserConcurrentImpl */
@ -24,10 +24,10 @@ public class b extends a {
@Override // java.lang.Runnable
@MainThread
public void run() {
ArrayList<a.AbstractC0061a> arrayList;
ArrayList<a.AbstractC0060a> arrayList;
synchronized (b.this.f490b) {
b bVar = b.this;
ArrayList<a.AbstractC0061a> arrayList2 = bVar.e;
ArrayList<a.AbstractC0060a> arrayList2 = bVar.e;
arrayList = bVar.d;
bVar.e = arrayList;
bVar.d = arrayList2;
@ -42,7 +42,7 @@ public class b extends a {
@Override // b.f.g.b.a
@AnyThread
public void a(a.AbstractC0061a aVar) {
public void a(a.AbstractC0060a aVar) {
synchronized (this.f490b) {
this.d.remove(aVar);
}

View file

@ -6,7 +6,7 @@ import androidx.annotation.VisibleForTesting;
/* compiled from: GestureDetector */
public class a {
@VisibleForTesting
public AbstractC0062a a = null;
public AbstractC0061a a = null;
@VisibleForTesting
/* renamed from: b reason: collision with root package name */
@ -24,7 +24,7 @@ public class a {
/* compiled from: GestureDetector */
/* renamed from: b.f.g.g.a$a reason: collision with other inner class name */
public interface AbstractC0062a {
public interface AbstractC0061a {
}
public a(Context context) {

View file

@ -38,8 +38,8 @@ public class a extends Drawable implements Animatable, b.f.f.a.a {
/* compiled from: AnimatedDrawable2 */
/* renamed from: b.f.h.a.c.a$a reason: collision with other inner class name */
public class RunnableC0063a implements Runnable {
public RunnableC0063a() {
public class RunnableC0062a implements Runnable {
public RunnableC0062a() {
}
@Override // java.lang.Runnable
@ -57,7 +57,7 @@ public class a extends Drawable implements Animatable, b.f.f.a.a {
public a(b.f.h.a.a.a aVar) {
this.v = 8;
this.f530x = k;
this.f532z = new RunnableC0063a();
this.f532z = new RunnableC0062a();
this.l = aVar;
this.m = aVar == null ? null : new b.f.h.a.e.a(aVar);
}

View file

@ -11,10 +11,10 @@ public class a {
/* compiled from: CloseableReferenceFactory */
/* renamed from: b.f.j.e.a$a reason: collision with other inner class name */
public class C0064a implements CloseableReference.c {
public class C0063a implements CloseableReference.c {
public final /* synthetic */ b.f.j.g.a a;
public C0064a(a aVar, b.f.j.g.a aVar2) {
public C0063a(a aVar, b.f.j.g.a aVar2) {
this.a = aVar2;
}
@ -48,6 +48,6 @@ public class a {
}
public a(b.f.j.g.a aVar) {
this.a = new C0064a(this, aVar);
this.a = new C0063a(this, aVar);
}
}

View file

@ -18,12 +18,12 @@ public class a implements b {
/* renamed from: b reason: collision with root package name */
public final b f585b;
public final d c;
public final b d = new C0065a();
public final b d = new C0064a();
/* compiled from: DefaultImageDecoder */
/* renamed from: b.f.j.h.a$a reason: collision with other inner class name */
public class C0065a implements b {
public C0065a() {
public class C0064a implements b {
public C0064a() {
}
@Override // b.f.j.h.b

View file

@ -7,7 +7,7 @@ public class a implements w0<e> {
/* compiled from: AddImageTransformMetaDataProducer */
public static class b extends p<e, e> {
public b(l lVar, C0066a aVar) {
public b(l lVar, C0065a aVar) {
super(lVar);
}

View file

@ -34,8 +34,8 @@ public class c1 implements w0<e> {
/* compiled from: ResizeAndRotateProducer */
/* renamed from: b.f.j.p.c1$a$a reason: collision with other inner class name */
public class C0067a implements c0.c {
public C0067a(c1 c1Var) {
public class C0066a implements c0.c {
public C0066a(c1 c1Var) {
}
@Override // b.f.j.p.c0.c
@ -116,7 +116,7 @@ public class c1 implements w0<e> {
Objects.requireNonNull(x0Var.e());
this.c = z2;
this.d = cVar;
this.g = new c0(c1.this.a, new C0067a(c1.this), 100);
this.g = new c0(c1.this.a, new C0066a(c1.this), 100);
x0Var.f(new b(c1.this, lVar));
}

View file

@ -15,7 +15,7 @@ public final class a {
/* compiled from: BitmapUtil */
/* renamed from: b.f.k.a$a reason: collision with other inner class name */
public static /* synthetic */ class C0068a {
public static /* synthetic */ class C0067a {
public static final /* synthetic */ int[] a;
static {
@ -74,7 +74,7 @@ public final class a {
}
public static int b(Bitmap.Config config) {
switch (C0068a.a[config.ordinal()]) {
switch (C0067a.a[config.ordinal()]) {
case 1:
return 4;
case 2:

View file

@ -13,11 +13,11 @@ public class a {
public final float[] e = new float[2];
public final float[] f = new float[2];
public final float[] g = new float[2];
public AbstractC0069a h = null;
public AbstractC0068a h = null;
/* compiled from: MultiPointerGestureDetector */
/* renamed from: b.f.l.a.a$a reason: collision with other inner class name */
public interface AbstractC0069a {
public interface AbstractC0068a {
}
public a() {
@ -36,7 +36,7 @@ public class a {
b bVar;
b.a aVar;
if (!this.a) {
AbstractC0069a aVar2 = this.h;
AbstractC0068a aVar2 = this.h;
if (!(aVar2 == null || (aVar = (bVar = (b) aVar2).f645b) == null)) {
aVar.c(bVar);
}
@ -48,7 +48,7 @@ public class a {
b.a aVar;
if (this.a) {
this.a = false;
AbstractC0069a aVar2 = this.h;
AbstractC0068a aVar2 = this.h;
if (aVar2 != null && (aVar = ((b) aVar2).f645b) != null) {
c cVar = (c) aVar;
b.f.d.e.a.i(c.class, "onGestureEnd");

View file

@ -2,7 +2,7 @@ package b.f.l.a;
import b.f.l.a.a;
/* compiled from: TransformGestureDetector */
public class b implements a.AbstractC0069a {
public class b implements a.AbstractC0068a {
public final a a;
/* renamed from: b reason: collision with root package name */

View file

@ -39,10 +39,10 @@ public class b extends a {
/* compiled from: AnimatedZoomableController */
/* renamed from: b.f.l.b.b$b reason: collision with other inner class name */
public class C0070b extends AnimatorListenerAdapter {
public class C0069b extends AnimatorListenerAdapter {
public final /* synthetic */ Runnable a;
public C0070b(Runnable runnable) {
public C0069b(Runnable runnable) {
this.a = runnable;
}
@ -98,7 +98,7 @@ public class b extends a {
this.h.getValues(this.n);
matrix.getValues(this.o);
this.f646s.addUpdateListener(new a());
this.f646s.addListener(new C0070b(runnable));
this.f646s.addListener(new C0069b(runnable));
this.f646s.start();
}

View file

@ -177,7 +177,7 @@ public class c implements e, b.a {
if (r2 != 6) goto L_0x00ca;
*/
public boolean h(MotionEvent motionEvent) {
a.AbstractC0069a aVar;
a.AbstractC0068a aVar;
b bVar;
b.a aVar2;
motionEvent.getAction();

View file

@ -13,11 +13,11 @@ public class a extends f {
/* compiled from: ApkSoSource */
/* renamed from: b.f.m.a$a reason: collision with other inner class name */
public class C0071a extends f.c {
public class C0070a extends f.c {
public File n;
public final int o;
public C0071a(f fVar) throws IOException {
public C0070a(f fVar) throws IOException {
super(fVar);
this.n = new File(a.this.c.getApplicationInfo().nativeLibraryDir);
this.o = a.this.h;
@ -84,6 +84,6 @@ public class a extends f {
@Override // b.f.m.m
public m.f i() throws IOException {
return new C0071a(this);
return new C0070a(this);
}
}

View file

@ -144,7 +144,7 @@ public class f extends m {
b bVar2 = bVarArr[i3];
ZipEntry zipEntry2 = bVar2.l;
String str2 = bVar2.j;
a.C0071a aVar = (a.C0071a) this;
a.C0070a aVar = (a.C0070a) this;
String name = zipEntry2.getName();
if (str2.equals(a.this.d)) {
a.this.d = null;

View file

@ -8,7 +8,7 @@ public final class a implements Serializable {
private final int _maxLineLength;
public final String _name;
private final char _paddingChar;
private final EnumC0072a _paddingReadBehaviour;
private final EnumC0071a _paddingReadBehaviour;
private final boolean _writePadding;
public final transient int[] j;
public final transient char[] k;
@ -16,7 +16,7 @@ public final class a implements Serializable {
/* compiled from: Base64Variant */
/* renamed from: b.g.a.b.a$a reason: collision with other inner class name */
public enum EnumC0072a {
public enum EnumC0071a {
PADDING_FORBIDDEN,
PADDING_REQUIRED,
PADDING_ALLOWED
@ -30,7 +30,7 @@ public final class a implements Serializable {
this(aVar, str, z2, c, aVar._paddingReadBehaviour, i);
}
public a(a aVar, String str, boolean z2, char c, EnumC0072a aVar2, int i) {
public a(a aVar, String str, boolean z2, char c, EnumC0071a aVar2, int i) {
int[] iArr = new int[128];
this.j = iArr;
char[] cArr = new char[64];
@ -72,7 +72,7 @@ public final class a implements Serializable {
if (z2) {
this.j[c] = -2;
}
this._paddingReadBehaviour = z2 ? EnumC0072a.PADDING_REQUIRED : EnumC0072a.PADDING_FORBIDDEN;
this._paddingReadBehaviour = z2 ? EnumC0071a.PADDING_REQUIRED : EnumC0071a.PADDING_FORBIDDEN;
return;
}
throw new IllegalArgumentException(b.d.b.a.a.q("Base64Alphabet length must be exactly 64 (was ", length, ")"));

View file

@ -15,8 +15,8 @@ public final class a {
/* compiled from: CharTypes */
/* renamed from: b.g.a.b.p.a$a reason: collision with other inner class name */
public static class C0073a {
public static final C0073a a = new C0073a();
public static class C0072a {
public static final C0072a a = new C0072a();
/* renamed from: b reason: collision with root package name */
public int[][] f662b = new int[128][];

View file

@ -48,7 +48,7 @@ public class d extends b {
if (c == '\"') {
iArr = a.f;
} else {
a.C0073a aVar = a.C0073a.a;
a.C0072a aVar = a.C0072a.a;
int[] iArr2 = aVar.f662b[c];
if (iArr2 == null) {
iArr2 = Arrays.copyOf(a.f, 128);

View file

@ -6,8 +6,8 @@ public final class a {
/* compiled from: ByteQuadsCanonicalizer */
/* renamed from: b.g.a.b.r.a$a reason: collision with other inner class name */
public static final class C0074a {
public C0074a(int i, int i2, int i3, int[] iArr, String[] strArr, int i4, int i5) {
public static final class C0073a {
public C0073a(int i, int i2, int i3, int[] iArr, String[] strArr, int i4, int i5) {
}
}
@ -26,7 +26,7 @@ public final class a {
}
int i5 = i3 << 3;
int i6 = i3 >> 2;
new AtomicReference(new C0074a(i3, 0, i6 < 64 ? 4 : i6 <= 256 ? 5 : i6 <= 1024 ? 6 : 7, new int[i5], new String[(i3 << 1)], i5 - i3, i5));
new AtomicReference(new C0073a(i3, 0, i6 < 64 ? 4 : i6 <= 256 ? 5 : i6 <= 1024 ? 6 : 7, new int[i5], new String[(i3 << 1)], i5 - i3, i5));
}
public static a a() {

View file

@ -10,13 +10,13 @@ public final class b {
/* compiled from: CharsToNameCanonicalizer */
/* renamed from: b.g.a.b.r.b$b reason: collision with other inner class name */
public static final class C0075b {
public C0075b(int i, int i2, String[] strArr, a[] aVarArr) {
public static final class C0074b {
public C0074b(int i, int i2, String[] strArr, a[] aVarArr) {
}
}
public b(int i) {
new AtomicReference(new C0075b(0, 0, new String[64], new a[32]));
new AtomicReference(new C0074b(0, 0, new String[64], new a[32]));
}
public static b a() {

View file

@ -6,7 +6,7 @@ public abstract class a {
/* compiled from: AccessorNamingStrategy */
/* renamed from: b.g.a.c.c0.a$a reason: collision with other inner class name */
public static abstract class AbstractC0076a implements Serializable {
public static abstract class AbstractC0075a implements Serializable {
private static final long serialVersionUID = 1;
}

View file

@ -24,7 +24,7 @@ public class w extends a {
}
/* compiled from: DefaultAccessorNamingStrategy */
public static class b extends a.AbstractC0076a implements Serializable {
public static class b extends a.AbstractC0075a implements Serializable {
private static final long serialVersionUID = 1;
public final a _baseNameValidator = null;
public final String _getterPrefix = "get";

View file

@ -384,10 +384,10 @@ public class x extends b implements Serializable {
i++;
cVar2 = null;
}
b.AbstractC0077b[] props = bVar.props();
b.AbstractC0076b[] props = bVar.props();
int length2 = props.length;
for (int i2 = 0; i2 < length2; i2++) {
b.AbstractC0077b bVar2 = props[i2];
b.AbstractC0076b bVar2 = props[i2];
b.g.a.c.s sVar2 = bVar2.required() ? b.g.a.c.s.j : b.g.a.c.s.k;
b.g.a.c.t j03 = j0(bVar2.name(), bVar2.namespace());
j d = lVar.d(bVar2.type());

View file

@ -26,7 +26,7 @@ public @interface b {
/* compiled from: JsonAppend */
/* renamed from: b.g.a.c.y.b$b reason: collision with other inner class name */
public @interface AbstractC0077b {
public @interface AbstractC0076b {
p.a include() default p.a.NON_NULL;
String name() default "";
@ -44,5 +44,5 @@ public @interface b {
boolean prepend() default false;
AbstractC0077b[] props() default {};
AbstractC0076b[] props() default {};
}

View file

@ -15,7 +15,7 @@ import java.util.TimeZone;
public final class a implements Serializable {
public static final TimeZone j = TimeZone.getTimeZone("UTC");
private static final long serialVersionUID = 1;
public final a.AbstractC0076a _accessorNaming;
public final a.AbstractC0075a _accessorNaming;
public final b _annotationIntrospector;
public final t _classIntrospector;
public final DateFormat _dateFormat;
@ -29,7 +29,7 @@ public final class a implements Serializable {
public final c _typeValidator;
/* JADX WARN: Incorrect args count in method signature: (Lb/g/a/c/c0/t;Lb/g/a/c/b;Lb/g/a/c/u;Lb/g/a/c/h0/n;Lb/g/a/c/e0/f<*>;Ljava/text/DateFormat;Lb/g/a/c/z/k;Ljava/util/Locale;Ljava/util/TimeZone;Lb/g/a/b/a;Lb/g/a/c/e0/c;Lb/g/a/c/c0/a$a;)V */
public a(t tVar, b bVar, u uVar, n nVar, f fVar, DateFormat dateFormat, Locale locale, TimeZone timeZone, b.g.a.b.a aVar, c cVar, a.AbstractC0076a aVar2) {
public a(t tVar, b bVar, u uVar, n nVar, f fVar, DateFormat dateFormat, Locale locale, TimeZone timeZone, b.g.a.b.a aVar, c cVar, a.AbstractC0075a aVar2) {
this._classIntrospector = tVar;
this._annotationIntrospector = bVar;
this._propertyNamingStrategy = uVar;

View file

@ -31,8 +31,8 @@ public final class b implements b.i.c.p.g.a {
/* compiled from: AutoBatchedLogRequestEncoder */
/* renamed from: b.i.a.b.i.e.b$b reason: collision with other inner class name */
public static final class C0078b implements b.i.c.p.c<j> {
public static final C0078b a = new C0078b();
public static final class C0077b implements b.i.c.p.c<j> {
public static final C0077b a = new C0077b();
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */
@Override // b.i.c.p.b
@ -108,7 +108,7 @@ public final class b implements b.i.c.p.g.a {
}
public void a(b.i.c.p.g.b<?> bVar) {
C0078b bVar2 = C0078b.a;
C0077b bVar2 = C0077b.a;
b.i.c.p.h.e eVar = (b.i.c.p.h.e) bVar;
eVar.f1758b.put(j.class, bVar2);
eVar.c.remove(j.class);

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