114.2 - Alpha (114202)
This commit is contained in:
parent
a3a4abf015
commit
dad3a78883
549 changed files with 10594 additions and 10420 deletions
|
@ -10,8 +10,8 @@ android {
|
||||||
applicationId 'com.discord'
|
applicationId 'com.discord'
|
||||||
minSdkVersion 21
|
minSdkVersion 21
|
||||||
targetSdkVersion 30
|
targetSdkVersion 30
|
||||||
versionCode 114201
|
versionCode 114202
|
||||||
versionName "114.1 - Alpha"
|
versionName "114.2 - Alpha"
|
||||||
|
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?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-sdk android:minSdkVersion="21" android:targetSdkVersion="30"/>
|
||||||
<uses-feature android:name="android.hardware.camera" android:required="false"/>
|
<uses-feature android:name="android.hardware.camera" android:required="false"/>
|
||||||
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>
|
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>
|
||||||
|
|
|
@ -30,7 +30,7 @@ public class ResultReceiver implements Parcelable {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class b extends a.AbstractBinderC0359a {
|
public class b extends a.AbstractBinderC0358a {
|
||||||
public b() {
|
public b() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -44,12 +44,12 @@ public class ResultReceiver implements Parcelable {
|
||||||
public ResultReceiver(Parcel parcel) {
|
public ResultReceiver(Parcel parcel) {
|
||||||
x.a.b.c.a aVar;
|
x.a.b.c.a aVar;
|
||||||
IBinder readStrongBinder = parcel.readStrongBinder();
|
IBinder readStrongBinder = parcel.readStrongBinder();
|
||||||
int i = a.AbstractBinderC0359a.a;
|
int i = a.AbstractBinderC0358a.a;
|
||||||
if (readStrongBinder == null) {
|
if (readStrongBinder == null) {
|
||||||
aVar = null;
|
aVar = null;
|
||||||
} else {
|
} else {
|
||||||
IInterface queryLocalInterface = readStrongBinder.queryLocalInterface("android.support.v4.os.IResultReceiver");
|
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;
|
this.j = aVar;
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,7 +48,7 @@ public class CustomTabsClient {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* renamed from: androidx.browser.customtabs.CustomTabsClient$2 reason: invalid class name */
|
/* 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());
|
private Handler mHandler = new Handler(Looper.getMainLooper());
|
||||||
public final /* synthetic */ CustomTabsCallback val$callback;
|
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);
|
return new AnonymousClass2(customTabsCallback);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -270,7 +270,7 @@ public class CustomTabsClient {
|
||||||
@Nullable
|
@Nullable
|
||||||
private CustomTabsSession newSessionInternal(@Nullable CustomTabsCallback customTabsCallback, @Nullable PendingIntent pendingIntent) {
|
private CustomTabsSession newSessionInternal(@Nullable CustomTabsCallback customTabsCallback, @Nullable PendingIntent pendingIntent) {
|
||||||
boolean z2;
|
boolean z2;
|
||||||
a.AbstractBinderC0348a createCallbackWrapper = createCallbackWrapper(customTabsCallback);
|
a.AbstractBinderC0347a createCallbackWrapper = createCallbackWrapper(customTabsCallback);
|
||||||
if (pendingIntent != null) {
|
if (pendingIntent != null) {
|
||||||
try {
|
try {
|
||||||
Bundle bundle = new Bundle();
|
Bundle bundle = new Bundle();
|
||||||
|
|
|
@ -83,8 +83,8 @@ public class CustomTabsSessionToken {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class MockCallback extends a.AbstractBinderC0348a {
|
public static class MockCallback extends a.AbstractBinderC0347a {
|
||||||
@Override // x.a.a.a.AbstractBinderC0348a, android.os.IInterface
|
@Override // x.a.a.a.AbstractBinderC0347a, android.os.IInterface
|
||||||
public IBinder asBinder() {
|
public IBinder asBinder() {
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
@ -150,7 +150,7 @@ public class CustomTabsSessionToken {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
if (binder != null) {
|
if (binder != null) {
|
||||||
aVar = a.AbstractBinderC0348a.asInterface(binder);
|
aVar = a.AbstractBinderC0347a.asInterface(binder);
|
||||||
}
|
}
|
||||||
return new CustomTabsSessionToken(aVar, pendingIntent);
|
return new CustomTabsSessionToken(aVar, pendingIntent);
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,7 +26,7 @@ public abstract class PostMessageServiceConnection implements PostMessageBackend
|
||||||
public PostMessageServiceConnection(@NonNull CustomTabsSessionToken customTabsSessionToken) {
|
public PostMessageServiceConnection(@NonNull CustomTabsSessionToken customTabsSessionToken) {
|
||||||
IBinder callbackBinder = customTabsSessionToken.getCallbackBinder();
|
IBinder callbackBinder = customTabsSessionToken.getCallbackBinder();
|
||||||
if (callbackBinder != null) {
|
if (callbackBinder != null) {
|
||||||
this.mSessionBinder = a.AbstractBinderC0348a.asInterface(callbackBinder);
|
this.mSessionBinder = a.AbstractBinderC0347a.asInterface(callbackBinder);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
throw new IllegalArgumentException("Provided session must have binder.");
|
throw new IllegalArgumentException("Provided session must have binder.");
|
||||||
|
|
|
@ -15,7 +15,7 @@ public class TrustedWebActivityCallbackRemote {
|
||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
public static TrustedWebActivityCallbackRemote fromBinder(@Nullable IBinder iBinder) {
|
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) {
|
if (asInterface == null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,7 @@ public final class TrustedWebActivityServiceConnection {
|
||||||
private final b mService;
|
private final b mService;
|
||||||
|
|
||||||
/* renamed from: androidx.browser.trusted.TrustedWebActivityServiceConnection$1 reason: invalid class name */
|
/* 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 final /* synthetic */ TrustedWebActivityCallback val$callback;
|
||||||
|
|
||||||
public AnonymousClass1(TrustedWebActivityCallback trustedWebActivityCallback) {
|
public AnonymousClass1(TrustedWebActivityCallback trustedWebActivityCallback) {
|
||||||
|
|
|
@ -9,7 +9,7 @@ import android.os.RemoteException;
|
||||||
import x.a.b.a.a;
|
import x.a.b.a.a;
|
||||||
public abstract class NotificationCompatSideChannelService extends Service {
|
public abstract class NotificationCompatSideChannelService extends Service {
|
||||||
|
|
||||||
public class NotificationSideChannelStub extends a.AbstractBinderC0355a {
|
public class NotificationSideChannelStub extends a.AbstractBinderC0354a {
|
||||||
public NotificationSideChannelStub() {
|
public NotificationSideChannelStub() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -226,7 +226,7 @@ public final class NotificationManagerCompat {
|
||||||
private void handleServiceConnected(ComponentName componentName, IBinder iBinder) {
|
private void handleServiceConnected(ComponentName componentName, IBinder iBinder) {
|
||||||
ListenerRecord listenerRecord = this.mRecordMap.get(componentName);
|
ListenerRecord listenerRecord = this.mRecordMap.get(componentName);
|
||||||
if (listenerRecord != null) {
|
if (listenerRecord != null) {
|
||||||
listenerRecord.service = a.AbstractBinderC0355a.asInterface(iBinder);
|
listenerRecord.service = a.AbstractBinderC0354a.asInterface(iBinder);
|
||||||
listenerRecord.retryCount = 0;
|
listenerRecord.retryCount = 0;
|
||||||
processListenerQueue(listenerRecord);
|
processListenerQueue(listenerRecord);
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,7 @@ public final class RangeKt$toClosedRange$1 implements a<T> {
|
||||||
|
|
||||||
@Override // d0.d0.a
|
@Override // d0.d0.a
|
||||||
public boolean contains(T t) {
|
public boolean contains(T t) {
|
||||||
return a.C0194a.contains(this, t);
|
return a.C0193a.contains(this, t);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* JADX WARNING: Unknown variable types count: 1 */
|
/* JADX WARNING: Unknown variable types count: 1 */
|
||||||
|
@ -28,6 +28,6 @@ public final class RangeKt$toClosedRange$1 implements a<T> {
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isEmpty() {
|
public boolean isEmpty() {
|
||||||
return a.C0194a.isEmpty(this);
|
return a.C0193a.isEmpty(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,45 +1,37 @@
|
||||||
package b.a.a.b;
|
package b.a.a.b;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.app.Dialog;
|
||||||
import android.os.Bundle;
|
import android.content.DialogInterface;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
|
import android.view.Window;
|
||||||
import android.widget.ImageView;
|
import android.widget.ImageView;
|
||||||
import android.widget.LinearLayout;
|
import android.widget.LinearLayout;
|
||||||
import android.widget.RelativeLayout;
|
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
import androidx.annotation.DrawableRes;
|
|
||||||
import androidx.fragment.app.Fragment;
|
import androidx.fragment.app.Fragment;
|
||||||
import androidx.fragment.app.FragmentManager;
|
import b.a.i.d1;
|
||||||
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.R;
|
||||||
import com.discord.app.AppDialog;
|
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.FragmentViewBindingDelegate;
|
||||||
import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt;
|
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.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.k;
|
||||||
import d0.z.d.m;
|
import d0.z.d.m;
|
||||||
import java.util.List;
|
import java.text.NumberFormat;
|
||||||
import java.util.Objects;
|
import kotlin.Unit;
|
||||||
|
import kotlin.jvm.functions.Function0;
|
||||||
import kotlin.jvm.functions.Function1;
|
import kotlin.jvm.functions.Function1;
|
||||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||||
import kotlin.reflect.KProperty;
|
import kotlin.reflect.KProperty;
|
||||||
/* compiled from: MultiValuePropPremiumUpsellDialog.kt */
|
/* compiled from: UpgradePremiumYearlyDialog.kt */
|
||||||
public final class b extends AppDialog {
|
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 static final C0007b k = new C0007b(null);
|
||||||
public final FragmentViewBindingDelegate l = FragmentViewBindingDelegateKt.viewBinding$default(this, f.j, null, 2, null);
|
public Function0<Unit> l;
|
||||||
public e m;
|
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 */
|
/* compiled from: java-style lambda group */
|
||||||
public static final class a implements View.OnClickListener {
|
public static final class a implements View.OnClickListener {
|
||||||
|
@ -55,264 +47,60 @@ public final class b extends AppDialog {
|
||||||
public final void onClick(View view) {
|
public final void onClick(View view) {
|
||||||
int i = this.j;
|
int i = this.j;
|
||||||
if (i == 0) {
|
if (i == 0) {
|
||||||
|
Function0<Unit> function0 = ((b) this.k).l;
|
||||||
|
if (function0 != null) {
|
||||||
|
function0.mo1invoke();
|
||||||
|
}
|
||||||
((b) this.k).dismiss();
|
((b) this.k).dismiss();
|
||||||
} else if (i == 1) {
|
} else if (i == 1) {
|
||||||
b.g((b) this.k);
|
Function0<Unit> function02 = ((b) this.k).m;
|
||||||
} else if (i == 2) {
|
if (function02 != null) {
|
||||||
b.g((b) this.k);
|
function02.mo1invoke();
|
||||||
|
}
|
||||||
|
((b) this.k).dismiss();
|
||||||
} else {
|
} else {
|
||||||
throw null;
|
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 */
|
/* renamed from: b.a.a.b.b$b reason: collision with other inner class name */
|
||||||
public static final class C0007b {
|
public static final class C0007b {
|
||||||
public C0007b(DefaultConstructorMarker defaultConstructorMarker) {
|
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 */
|
/* compiled from: UpgradePremiumYearlyDialog.kt */
|
||||||
public static final class c {
|
public static final /* synthetic */ class c extends k implements Function1<View, d1> {
|
||||||
public final int a;
|
public static final c j = new c();
|
||||||
|
|
||||||
/* renamed from: b reason: collision with root package name */
|
public c() {
|
||||||
public CharSequence f44b;
|
super(1, d1.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/PremiumUpgradeYearlyDialogBinding;", 0);
|
||||||
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);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Return type fixed from 'java.lang.Object' to match base method */
|
/* 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] */
|
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
|
||||||
@Override // kotlin.jvm.functions.Function1
|
@Override // kotlin.jvm.functions.Function1
|
||||||
public u0 invoke(View view) {
|
public d1 invoke(View view) {
|
||||||
View view2 = view;
|
View view2 = view;
|
||||||
m.checkNotNullParameter(view2, "p1");
|
m.checkNotNullParameter(view2, "p1");
|
||||||
int i = R.id.premium_upsell_button_container;
|
int i = R.id.premium_upsell_header;
|
||||||
LinearLayout linearLayout = (LinearLayout) view2.findViewById(R.id.premium_upsell_button_container);
|
ImageView imageView = (ImageView) view2.findViewById(R.id.premium_upsell_header);
|
||||||
if (linearLayout != null) {
|
if (imageView != null) {
|
||||||
i = R.id.premium_upsell_close;
|
i = R.id.premium_upsell_yearly_description;
|
||||||
MaterialButton materialButton = (MaterialButton) view2.findViewById(R.id.premium_upsell_close);
|
TextView textView = (TextView) view2.findViewById(R.id.premium_upsell_yearly_description);
|
||||||
if (materialButton != null) {
|
if (textView != null) {
|
||||||
i = R.id.premium_upsell_divider;
|
i = R.id.premium_upsell_yearly_title;
|
||||||
View findViewById = view2.findViewById(R.id.premium_upsell_divider);
|
TextView textView2 = (TextView) view2.findViewById(R.id.premium_upsell_yearly_title);
|
||||||
if (findViewById != null) {
|
if (textView2 != null) {
|
||||||
i = R.id.premium_upsell_dots;
|
i = R.id.purchase_premium_monthly;
|
||||||
TabLayout tabLayout = (TabLayout) view2.findViewById(R.id.premium_upsell_dots);
|
TextView textView3 = (TextView) view2.findViewById(R.id.purchase_premium_monthly);
|
||||||
if (tabLayout != null) {
|
if (textView3 != null) {
|
||||||
i = R.id.premium_upsell_get_premium;
|
i = R.id.purchase_premium_yearly;
|
||||||
MaterialButton materialButton2 = (MaterialButton) view2.findViewById(R.id.premium_upsell_get_premium);
|
MaterialButton materialButton = (MaterialButton) view2.findViewById(R.id.purchase_premium_yearly);
|
||||||
if (materialButton2 != null) {
|
if (materialButton != null) {
|
||||||
i = R.id.premium_upsell_learn_more;
|
return new d1((LinearLayout) view2, imageView, textView, textView2, textView3, materialButton);
|
||||||
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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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() {
|
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) {
|
public final d1 g() {
|
||||||
Bundle arguments = bVar.getArguments();
|
return (d1) this.q.getValue((Fragment) this, j[0]);
|
||||||
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 u0 h() {
|
@Override // com.discord.app.AppDialog, androidx.fragment.app.DialogFragment, androidx.fragment.app.Fragment
|
||||||
return (u0) this.l.getValue((Fragment) this, j[0]);
|
public void onStart() {
|
||||||
}
|
super.onStart();
|
||||||
|
Dialog requireDialog = requireDialog();
|
||||||
public final boolean i() {
|
m.checkNotNullExpressionValue(requireDialog, "requireDialog()");
|
||||||
Bundle arguments = getArguments();
|
Window window = requireDialog.getWindow();
|
||||||
return arguments != null && arguments.getBoolean("extra_show_learn_more");
|
if (window != null) {
|
||||||
}
|
window.setLayout(-1, -2);
|
||||||
|
|
||||||
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;
|
|
||||||
}
|
}
|
||||||
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
|
@Override // com.discord.app.AppDialog
|
||||||
public void onViewBound(View view) {
|
public void onViewBoundOrOnResume() {
|
||||||
m.checkNotNullParameter(view, "view");
|
super.onViewBoundOrOnResume();
|
||||||
super.onViewBound(view);
|
if (this.l == null || this.m == null) {
|
||||||
ViewPager2 viewPager2 = h().f;
|
dismiss();
|
||||||
m.checkNotNullExpressionValue(viewPager2, "binding.premiumUpsellViewpager");
|
|
||||||
e eVar = this.m;
|
|
||||||
if (eVar == null) {
|
|
||||||
m.throwUninitializedPropertyAccessException("pagerAdapter");
|
|
||||||
}
|
}
|
||||||
viewPager2.setAdapter(eVar);
|
requireDialog().setCanceledOnTouchOutside(true);
|
||||||
TabLayout tabLayout = h().c;
|
requireDialog().setOnCancelListener(new d(this));
|
||||||
m.checkNotNullExpressionValue(tabLayout, "binding.premiumUpsellDots");
|
boolean z2 = getArgumentsOrDefault().getBoolean("ARG_IS_TIER_1");
|
||||||
int i = 8;
|
CharSequence k2 = b.a.k.b.k(this, z2 ? R.string.premium_tier_1 : R.string.premium_tier_2, new Object[0], null, 4);
|
||||||
tabLayout.setVisibility(j() ? 0 : 8);
|
TextView textView = g().d;
|
||||||
TabLayout tabLayout2 = h().c;
|
m.checkNotNullExpressionValue(textView, "binding.premiumUpsellYearlyTitle");
|
||||||
m.checkNotNullExpressionValue(tabLayout2, "binding.premiumUpsellDots");
|
b.a.k.b.n(textView, R.string.premium_upsell_yearly_title, new Object[]{NumberFormat.getPercentInstance().format(Float.valueOf(0.16f)), k2}, null, 4);
|
||||||
ViewPager2 viewPager22 = h().f;
|
TextView textView2 = g().c;
|
||||||
m.checkNotNullExpressionValue(viewPager22, "binding.premiumUpsellViewpager");
|
m.checkNotNullExpressionValue(textView2, "binding.premiumUpsellYearlyDescription");
|
||||||
ViewPager2ExtensionsKt.setUpWithViewPager2$default(tabLayout2, viewPager22, null, 2, null);
|
b.a.k.b.n(textView2, R.string.premium_upsell_yearly_description, new Object[]{NumberFormat.getPercentInstance().format(Float.valueOf(0.16f))}, null, 4);
|
||||||
h().f205b.setOnClickListener(new a(0, this));
|
MaterialButton materialButton = g().f;
|
||||||
MaterialButton materialButton = h().e;
|
m.checkNotNullExpressionValue(materialButton, "binding.purchasePremiumYearly");
|
||||||
m.checkNotNullExpressionValue(materialButton, "binding.premiumUpsellLearnMore");
|
b.a.k.b.n(materialButton, R.string.premium_upsell_yearly_cta, new Object[]{this.o}, null, 4);
|
||||||
materialButton.setVisibility(i() ? 0 : 8);
|
g().f96b.setImageResource(z2 ? R.drawable.img_premium_guild_subscription_purchase_header_tier_1 : R.drawable.img_premium_guild_subscription_purchase_header_tier_2);
|
||||||
h().e.setOnClickListener(new a(1, this));
|
TextView textView3 = g().e;
|
||||||
MaterialButton materialButton2 = h().d;
|
m.checkNotNullExpressionValue(textView3, "binding.purchasePremiumMonthly");
|
||||||
m.checkNotNullExpressionValue(materialButton2, "binding.premiumUpsellGetPremium");
|
textView3.setVisibility(this.p ^ true ? 0 : 8);
|
||||||
if (!i()) {
|
g().e.setOnClickListener(new a(0, this));
|
||||||
i = 0;
|
g().f.setOnClickListener(new a(1, this));
|
||||||
}
|
|
||||||
materialButton2.setVisibility(i);
|
|
||||||
h().d.setOnClickListener(new a(2, this));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,32 +5,41 @@ import android.os.Bundle;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.widget.ImageView;
|
import android.widget.ImageView;
|
||||||
import android.widget.LinearLayout;
|
import android.widget.LinearLayout;
|
||||||
|
import android.widget.RelativeLayout;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
import androidx.annotation.DrawableRes;
|
import androidx.annotation.DrawableRes;
|
||||||
import androidx.core.content.ContextCompat;
|
|
||||||
import androidx.fragment.app.Fragment;
|
import androidx.fragment.app.Fragment;
|
||||||
import androidx.fragment.app.FragmentManager;
|
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.R;
|
||||||
import com.discord.app.AppDialog;
|
import com.discord.app.AppDialog;
|
||||||
|
import com.discord.app.AppFragment;
|
||||||
import com.discord.utilities.analytics.AnalyticsTracker;
|
import com.discord.utilities.analytics.AnalyticsTracker;
|
||||||
import com.discord.utilities.analytics.Traits;
|
import com.discord.utilities.analytics.Traits;
|
||||||
|
import com.discord.utilities.view.recycler.ViewPager2ExtensionsKt;
|
||||||
import com.discord.utilities.viewbinding.FragmentViewBindingDelegate;
|
import com.discord.utilities.viewbinding.FragmentViewBindingDelegate;
|
||||||
import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt;
|
import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt;
|
||||||
import com.discord.views.premium.ShinyButton;
|
|
||||||
import com.discord.widgets.settings.premium.WidgetSettingsPremium;
|
import com.discord.widgets.settings.premium.WidgetSettingsPremium;
|
||||||
import com.google.android.material.button.MaterialButton;
|
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.k;
|
||||||
import d0.z.d.m;
|
import d0.z.d.m;
|
||||||
|
import java.util.List;
|
||||||
import java.util.Objects;
|
import java.util.Objects;
|
||||||
import kotlin.jvm.functions.Function1;
|
import kotlin.jvm.functions.Function1;
|
||||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||||
import kotlin.reflect.KProperty;
|
import kotlin.reflect.KProperty;
|
||||||
/* compiled from: SingleValuePropPremiumUpsellDialog.kt */
|
/* compiled from: MultiValuePropPremiumUpsellDialog.kt */
|
||||||
public final class c extends AppDialog {
|
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 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 */
|
/* compiled from: java-style lambda group */
|
||||||
public static final class a implements View.OnClickListener {
|
public static final class a implements View.OnClickListener {
|
||||||
|
@ -48,80 +57,259 @@ public final class c extends AppDialog {
|
||||||
if (i == 0) {
|
if (i == 0) {
|
||||||
((c) this.k).dismiss();
|
((c) this.k).dismiss();
|
||||||
} else if (i == 1) {
|
} else if (i == 1) {
|
||||||
c cVar = (c) this.k;
|
c.g((c) this.k);
|
||||||
KProperty[] kPropertyArr = c.j;
|
} else if (i == 2) {
|
||||||
Objects.requireNonNull(cVar);
|
c.g((c) this.k);
|
||||||
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();
|
|
||||||
} else {
|
} else {
|
||||||
throw null;
|
throw null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* compiled from: SingleValuePropPremiumUpsellDialog.kt */
|
/* compiled from: MultiValuePropPremiumUpsellDialog.kt */
|
||||||
public static final class b {
|
public static final class b {
|
||||||
public b(DefaultConstructorMarker defaultConstructorMarker) {
|
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(fragmentManager, "fragmentManager");
|
||||||
m.checkNotNullParameter(premiumUpsellType, "premiumUpsellType");
|
|
||||||
c cVar = new c();
|
c cVar = new c();
|
||||||
Bundle bundle = new Bundle();
|
Bundle bundle = new Bundle();
|
||||||
bundle.putInt("extra_image_drawable_res", i);
|
bundle.putInt("extra_page_number", i);
|
||||||
bundle.putString("extra_header_text", str);
|
if (str != null) {
|
||||||
bundle.putString("extra_body_text", str2);
|
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.setArguments(bundle);
|
||||||
cVar.show(fragmentManager, c.class.getName());
|
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 */
|
/* 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 class C0008c {
|
||||||
public static final C0009c j = new C0009c();
|
public final int a;
|
||||||
|
|
||||||
public C0009c() {
|
/* renamed from: b reason: collision with root package name */
|
||||||
super(1, n1.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/SingleValuePropPremiumUpsellDialogBinding;", 0);
|
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 */
|
/* 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] */
|
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
|
||||||
@Override // kotlin.jvm.functions.Function1
|
@Override // kotlin.jvm.functions.Function1
|
||||||
public n1 invoke(View view) {
|
public u0 invoke(View view) {
|
||||||
View view2 = view;
|
View view2 = view;
|
||||||
m.checkNotNullParameter(view2, "p1");
|
m.checkNotNullParameter(view2, "p1");
|
||||||
int i = R.id.button_container;
|
int i = R.id.premium_upsell_button_container;
|
||||||
LinearLayout linearLayout = (LinearLayout) view2.findViewById(R.id.button_container);
|
LinearLayout linearLayout = (LinearLayout) view2.findViewById(R.id.premium_upsell_button_container);
|
||||||
if (linearLayout != null) {
|
if (linearLayout != null) {
|
||||||
i = R.id.close_button;
|
i = R.id.premium_upsell_close;
|
||||||
MaterialButton materialButton = (MaterialButton) view2.findViewById(R.id.close_button);
|
MaterialButton materialButton = (MaterialButton) view2.findViewById(R.id.premium_upsell_close);
|
||||||
if (materialButton != null) {
|
if (materialButton != null) {
|
||||||
i = R.id.content_background;
|
i = R.id.premium_upsell_divider;
|
||||||
View findViewById = view2.findViewById(R.id.content_background);
|
View findViewById = view2.findViewById(R.id.premium_upsell_divider);
|
||||||
if (findViewById != null) {
|
if (findViewById != null) {
|
||||||
i = R.id.get_premium_button;
|
i = R.id.premium_upsell_dots;
|
||||||
ShinyButton shinyButton = (ShinyButton) view2.findViewById(R.id.get_premium_button);
|
TabLayout tabLayout = (TabLayout) view2.findViewById(R.id.premium_upsell_dots);
|
||||||
if (shinyButton != null) {
|
if (tabLayout != null) {
|
||||||
i = R.id.transparent_space;
|
i = R.id.premium_upsell_get_premium;
|
||||||
View findViewById2 = view2.findViewById(R.id.transparent_space);
|
MaterialButton materialButton2 = (MaterialButton) view2.findViewById(R.id.premium_upsell_get_premium);
|
||||||
if (findViewById2 != null) {
|
if (materialButton2 != null) {
|
||||||
i = R.id.upsell_body_text;
|
i = R.id.premium_upsell_learn_more;
|
||||||
TextView textView = (TextView) view2.findViewById(R.id.upsell_body_text);
|
MaterialButton materialButton3 = (MaterialButton) view2.findViewById(R.id.premium_upsell_learn_more);
|
||||||
if (textView != null) {
|
if (materialButton3 != null) {
|
||||||
i = R.id.upsell_header_text;
|
i = R.id.premium_upsell_viewpager;
|
||||||
TextView textView2 = (TextView) view2.findViewById(R.id.upsell_header_text);
|
ViewPager2 viewPager2 = (ViewPager2) view2.findViewById(R.id.premium_upsell_viewpager);
|
||||||
if (textView2 != null) {
|
if (viewPager2 != null) {
|
||||||
i = R.id.value_prop_image;
|
return new u0((RelativeLayout) view2, linearLayout, materialButton, findViewById, tabLayout, materialButton2, materialButton3, viewPager2);
|
||||||
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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -134,40 +322,132 @@ public final class c extends AppDialog {
|
||||||
}
|
}
|
||||||
|
|
||||||
public c() {
|
public c() {
|
||||||
super(R.layout.single_value_prop_premium_upsell_dialog);
|
super(R.layout.multi_value_prop_premium_upsell_dialog);
|
||||||
}
|
}
|
||||||
|
|
||||||
public final n1 g() {
|
public static final void g(c cVar) {
|
||||||
return (n1) this.l.getValue((Fragment) this, j[0]);
|
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
|
@Override // com.discord.app.AppDialog
|
||||||
public void onViewBound(View view) {
|
public void onViewBound(View view) {
|
||||||
m.checkNotNullParameter(view, "view");
|
m.checkNotNullParameter(view, "view");
|
||||||
super.onViewBound(view);
|
super.onViewBound(view);
|
||||||
Bundle arguments = getArguments();
|
ViewPager2 viewPager2 = h().f;
|
||||||
String str = null;
|
m.checkNotNullExpressionValue(viewPager2, "binding.premiumUpsellViewpager");
|
||||||
Integer valueOf = arguments != null ? Integer.valueOf(arguments.getInt("extra_image_drawable_res")) : null;
|
e eVar = this.m;
|
||||||
Bundle arguments2 = getArguments();
|
if (eVar == null) {
|
||||||
String string = arguments2 != null ? arguments2.getString("extra_header_text") : null;
|
m.throwUninitializedPropertyAccessException("pagerAdapter");
|
||||||
Bundle arguments3 = getArguments();
|
|
||||||
if (arguments3 != null) {
|
|
||||||
str = arguments3.getString("extra_body_text");
|
|
||||||
}
|
}
|
||||||
if (valueOf != null) {
|
viewPager2.setAdapter(eVar);
|
||||||
g().f.setImageDrawable(ContextCompat.getDrawable(requireContext(), valueOf.intValue()));
|
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) {
|
materialButton2.setVisibility(i);
|
||||||
TextView textView = g().e;
|
h().d.setOnClickListener(new a(2, this));
|
||||||
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));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,35 +1,36 @@
|
||||||
package b.a.a.b;
|
package b.a.a.b;
|
||||||
|
|
||||||
import android.app.Dialog;
|
import android.content.Context;
|
||||||
|
import android.os.Bundle;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.view.Window;
|
|
||||||
import android.widget.ImageView;
|
import android.widget.ImageView;
|
||||||
import android.widget.LinearLayout;
|
import android.widget.LinearLayout;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
|
import androidx.annotation.DrawableRes;
|
||||||
|
import androidx.core.content.ContextCompat;
|
||||||
import androidx.fragment.app.Fragment;
|
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.R;
|
||||||
import com.discord.app.AppDialog;
|
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.FragmentViewBindingDelegate;
|
||||||
import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt;
|
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.button.MaterialButton;
|
||||||
import d0.z.d.k;
|
import d0.z.d.k;
|
||||||
import d0.z.d.m;
|
import d0.z.d.m;
|
||||||
import java.text.NumberFormat;
|
import java.util.Objects;
|
||||||
import kotlin.Unit;
|
|
||||||
import kotlin.jvm.functions.Function0;
|
|
||||||
import kotlin.jvm.functions.Function1;
|
import kotlin.jvm.functions.Function1;
|
||||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||||
import kotlin.reflect.KProperty;
|
import kotlin.reflect.KProperty;
|
||||||
/* compiled from: UpgradePremiumYearlyDialog.kt */
|
/* compiled from: SingleValuePropPremiumUpsellDialog.kt */
|
||||||
public final class d extends AppDialog {
|
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 static final b k = new b(null);
|
||||||
public Function0<Unit> l;
|
public final FragmentViewBindingDelegate l = FragmentViewBindingDelegateKt.viewBinding$default(this, c.j, null, 2, null);
|
||||||
public Function0<Unit> m;
|
|
||||||
public String n;
|
|
||||||
public boolean o;
|
|
||||||
public final FragmentViewBindingDelegate p = FragmentViewBindingDelegateKt.viewBinding$default(this, c.j, null, 2, null);
|
|
||||||
|
|
||||||
/* compiled from: java-style lambda group */
|
/* compiled from: java-style lambda group */
|
||||||
public static final class a implements View.OnClickListener {
|
public static final class a implements View.OnClickListener {
|
||||||
|
@ -45,59 +46,83 @@ public final class d extends AppDialog {
|
||||||
public final void onClick(View view) {
|
public final void onClick(View view) {
|
||||||
int i = this.j;
|
int i = this.j;
|
||||||
if (i == 0) {
|
if (i == 0) {
|
||||||
Function0<Unit> function0 = ((d) this.k).l;
|
|
||||||
if (function0 != null) {
|
|
||||||
function0.mo1invoke();
|
|
||||||
}
|
|
||||||
((d) this.k).dismiss();
|
((d) this.k).dismiss();
|
||||||
} else if (i == 1) {
|
} else if (i == 1) {
|
||||||
Function0<Unit> function02 = ((d) this.k).m;
|
d dVar = (d) this.k;
|
||||||
if (function02 != null) {
|
KProperty[] kPropertyArr = d.j;
|
||||||
function02.mo1invoke();
|
Objects.requireNonNull(dVar);
|
||||||
}
|
WidgetSettingsPremium.Companion companion = WidgetSettingsPremium.Companion;
|
||||||
((d) this.k).dismiss();
|
Context requireContext = dVar.requireContext();
|
||||||
|
m.checkNotNullExpressionValue(requireContext, "requireContext()");
|
||||||
|
WidgetSettingsPremium.Companion.launch$default(companion, requireContext, null, null, 6, null);
|
||||||
|
dVar.dismiss();
|
||||||
} else {
|
} else {
|
||||||
throw null;
|
throw null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* compiled from: UpgradePremiumYearlyDialog.kt */
|
/* compiled from: SingleValuePropPremiumUpsellDialog.kt */
|
||||||
public static final class b {
|
public static final class b {
|
||||||
public b(DefaultConstructorMarker defaultConstructorMarker) {
|
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 */
|
/* compiled from: SingleValuePropPremiumUpsellDialog.kt */
|
||||||
public static final /* synthetic */ class c extends k implements Function1<View, d1> {
|
public static final /* synthetic */ class c extends k implements Function1<View, n1> {
|
||||||
public static final c j = new c();
|
public static final c j = new c();
|
||||||
|
|
||||||
public 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 */
|
/* 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] */
|
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
|
||||||
@Override // kotlin.jvm.functions.Function1
|
@Override // kotlin.jvm.functions.Function1
|
||||||
public d1 invoke(View view) {
|
public n1 invoke(View view) {
|
||||||
View view2 = view;
|
View view2 = view;
|
||||||
m.checkNotNullParameter(view2, "p1");
|
m.checkNotNullParameter(view2, "p1");
|
||||||
int i = R.id.premium_upsell_header;
|
int i = R.id.button_container;
|
||||||
ImageView imageView = (ImageView) view2.findViewById(R.id.premium_upsell_header);
|
LinearLayout linearLayout = (LinearLayout) view2.findViewById(R.id.button_container);
|
||||||
if (imageView != null) {
|
if (linearLayout != null) {
|
||||||
i = R.id.premium_upsell_yearly_description;
|
i = R.id.close_button;
|
||||||
TextView textView = (TextView) view2.findViewById(R.id.premium_upsell_yearly_description);
|
MaterialButton materialButton = (MaterialButton) view2.findViewById(R.id.close_button);
|
||||||
if (textView != null) {
|
if (materialButton != null) {
|
||||||
i = R.id.premium_upsell_yearly_title;
|
i = R.id.content_background;
|
||||||
TextView textView2 = (TextView) view2.findViewById(R.id.premium_upsell_yearly_title);
|
View findViewById = view2.findViewById(R.id.content_background);
|
||||||
if (textView2 != null) {
|
if (findViewById != null) {
|
||||||
i = R.id.purchase_premium_monthly;
|
i = R.id.get_premium_button;
|
||||||
TextView textView3 = (TextView) view2.findViewById(R.id.purchase_premium_monthly);
|
ShinyButton shinyButton = (ShinyButton) view2.findViewById(R.id.get_premium_button);
|
||||||
if (textView3 != null) {
|
if (shinyButton != null) {
|
||||||
i = R.id.purchase_premium_yearly;
|
i = R.id.transparent_space;
|
||||||
MaterialButton materialButton = (MaterialButton) view2.findViewById(R.id.purchase_premium_yearly);
|
View findViewById2 = view2.findViewById(R.id.transparent_space);
|
||||||
if (materialButton != null) {
|
if (findViewById2 != null) {
|
||||||
return new d1((LinearLayout) view2, imageView, textView, textView2, textView3, materialButton);
|
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() {
|
public d() {
|
||||||
super(R.layout.premium_upgrade_yearly_dialog);
|
super(R.layout.single_value_prop_premium_upsell_dialog);
|
||||||
}
|
}
|
||||||
|
|
||||||
public final d1 g() {
|
public final n1 g() {
|
||||||
return (d1) this.p.getValue((Fragment) this, j[0]);
|
return (n1) this.l.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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // com.discord.app.AppDialog
|
@Override // com.discord.app.AppDialog
|
||||||
public void onViewBoundOrOnResume() {
|
public void onViewBound(View view) {
|
||||||
super.onViewBoundOrOnResume();
|
m.checkNotNullParameter(view, "view");
|
||||||
if (this.l == null || this.m == null) {
|
super.onViewBound(view);
|
||||||
dismiss();
|
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);
|
if (valueOf != null) {
|
||||||
boolean z2 = getArgumentsOrDefault().getBoolean("ARG_IS_TIER_1");
|
g().f.setImageDrawable(ContextCompat.getDrawable(requireContext(), valueOf.intValue()));
|
||||||
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;
|
if (string != null) {
|
||||||
m.checkNotNullExpressionValue(textView, "binding.premiumUpsellYearlyTitle");
|
TextView textView = g().e;
|
||||||
b.a.k.b.n(textView, R.string.premium_upsell_yearly_title, new Object[]{NumberFormat.getPercentInstance().format(Float.valueOf(0.16f)), k2}, null, 4);
|
m.checkNotNullExpressionValue(textView, "binding.upsellHeaderText");
|
||||||
TextView textView2 = g().c;
|
textView.setText(string);
|
||||||
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);
|
if (str != null) {
|
||||||
MaterialButton materialButton = g().f;
|
TextView textView2 = g().d;
|
||||||
m.checkNotNullExpressionValue(materialButton, "binding.purchasePremiumYearly");
|
m.checkNotNullExpressionValue(textView2, "binding.upsellBodyText");
|
||||||
b.a.k.b.n(materialButton, R.string.premium_upsell_yearly_cta, new Object[]{this.n}, null, 4);
|
textView2.setText(str);
|
||||||
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;
|
g().f162b.setOnClickListener(new a(0, this));
|
||||||
m.checkNotNullExpressionValue(textView3, "binding.purchasePremiumMonthly");
|
g().c.setOnClickListener(new a(1, this));
|
||||||
textView3.setVisibility(this.o ^ true ? 0 : 8);
|
|
||||||
g().e.setOnClickListener(new a(0, this));
|
|
||||||
g().f.setOnClickListener(new a(1, this));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,7 +33,7 @@ import kotlin.reflect.KProperty;
|
||||||
public final class c extends AppDialog {
|
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 /* 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 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;
|
public Function0<Unit> m;
|
||||||
|
|
||||||
/* compiled from: java-style lambda group */
|
/* compiled from: java-style lambda group */
|
||||||
|
@ -98,10 +98,10 @@ public final class c extends AppDialog {
|
||||||
|
|
||||||
/* compiled from: ImageUploadFailedDialog.kt */
|
/* compiled from: ImageUploadFailedDialog.kt */
|
||||||
/* renamed from: b.a.a.c$c reason: collision with other inner class name */
|
/* 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 /* synthetic */ class C0009c extends k implements Function1<View, a0> {
|
||||||
public static final C0010c j = new C0010c();
|
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);
|
super(1, a0.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/ImageUploadFailedDialogBinding;", 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -45,11 +45,11 @@ public final class a extends AppDialog {
|
||||||
|
|
||||||
/* compiled from: java-style lambda group */
|
/* compiled from: java-style lambda group */
|
||||||
/* renamed from: b.a.a.d.a$a reason: collision with other inner class name */
|
/* 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 */ int j;
|
||||||
public final /* synthetic */ Object k;
|
public final /* synthetic */ Object k;
|
||||||
|
|
||||||
public View$OnClickListenerC0011a(int i, Object obj) {
|
public View$OnClickListenerC0010a(int i, Object obj) {
|
||||||
this.j = i;
|
this.j = i;
|
||||||
this.k = obj;
|
this.k = obj;
|
||||||
}
|
}
|
||||||
|
@ -196,8 +196,8 @@ public final class a extends AppDialog {
|
||||||
a aVar = (a) this.receiver;
|
a aVar = (a) this.receiver;
|
||||||
KProperty[] kPropertyArr = a.j;
|
KProperty[] kPropertyArr = a.j;
|
||||||
Objects.requireNonNull(aVar);
|
Objects.requireNonNull(aVar);
|
||||||
if (bVar2 instanceof f.b.C0012b) {
|
if (bVar2 instanceof f.b.C0011b) {
|
||||||
b.a.d.m.i(aVar, ((f.b.C0012b) bVar2).a, 0, 4);
|
b.a.d.m.i(aVar, ((f.b.C0011b) bVar2).a, 0, 4);
|
||||||
aVar.dismiss();
|
aVar.dismiss();
|
||||||
} else if (bVar2 instanceof f.b.a) {
|
} else if (bVar2 instanceof f.b.a) {
|
||||||
b.a.d.m.i(aVar, ((f.b.a) bVar2).a, 0, 4);
|
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) {
|
public void onViewBound(View view) {
|
||||||
m.checkNotNullParameter(view, "view");
|
m.checkNotNullParameter(view, "view");
|
||||||
super.onViewBound(view);
|
super.onViewBound(view);
|
||||||
g().c.setOnClickListener(new View$OnClickListenerC0011a(0, this));
|
g().c.setOnClickListener(new View$OnClickListenerC0010a(0, this));
|
||||||
g().e.setOnClickListener(new View$OnClickListenerC0011a(1, this));
|
g().e.setOnClickListener(new View$OnClickListenerC0010a(1, this));
|
||||||
g().d.setOnClickListener(new View$OnClickListenerC0011a(2, this));
|
g().d.setOnClickListener(new View$OnClickListenerC0010a(2, this));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // com.discord.app.AppDialog
|
@Override // com.discord.app.AppDialog
|
||||||
|
|
|
@ -65,17 +65,17 @@ public final class f extends AppViewModel<d> {
|
||||||
|
|
||||||
/* compiled from: UserActionsDialogViewModel.kt */
|
/* compiled from: UserActionsDialogViewModel.kt */
|
||||||
/* renamed from: b.a.a.d.f$b$b reason: collision with other inner class name */
|
/* 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 final int a;
|
||||||
|
|
||||||
public C0012b(int i) {
|
public C0011b(int i) {
|
||||||
super(null);
|
super(null);
|
||||||
this.a = i;
|
this.a = i;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean equals(Object obj) {
|
public boolean equals(Object obj) {
|
||||||
if (this != obj) {
|
if (this != obj) {
|
||||||
return (obj instanceof C0012b) && this.a == ((C0012b) obj).a;
|
return (obj instanceof C0011b) && this.a == ((C0011b) obj).a;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -225,18 +225,18 @@ public final class f extends AppViewModel<d> {
|
||||||
f fVar = this.this$0;
|
f fVar = this.this$0;
|
||||||
int i = this.$successMessageStringRes;
|
int i = this.$successMessageStringRes;
|
||||||
PublishSubject<b> publishSubject = fVar.k;
|
PublishSubject<b> publishSubject = fVar.k;
|
||||||
publishSubject.k.onNext(new b.C0012b(i));
|
publishSubject.k.onNext(new b.C0011b(i));
|
||||||
return Unit.a;
|
return Unit.a;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* compiled from: UserActionsDialogViewModel.kt */
|
/* compiled from: UserActionsDialogViewModel.kt */
|
||||||
/* renamed from: b.a.a.d.f$f reason: collision with other inner class name */
|
/* 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;
|
public final /* synthetic */ f this$0;
|
||||||
|
|
||||||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
/* 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);
|
super(1);
|
||||||
this.this$0 = fVar;
|
this.this$0 = fVar;
|
||||||
}
|
}
|
||||||
|
@ -281,6 +281,6 @@ public final class f extends AppViewModel<d> {
|
||||||
}
|
}
|
||||||
|
|
||||||
public final void removeRelationship(@StringRes int i) {
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,7 @@ public final class g extends o implements Function1<Void, Unit> {
|
||||||
@Override // kotlin.jvm.functions.Function1
|
@Override // kotlin.jvm.functions.Function1
|
||||||
public Unit invoke(Void r3) {
|
public Unit invoke(Void r3) {
|
||||||
PublishSubject<f.b> publishSubject = this.this$0.k;
|
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;
|
return Unit.a;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,11 +42,11 @@ public final class a extends AppDialog {
|
||||||
|
|
||||||
/* compiled from: java-style lambda group */
|
/* compiled from: java-style lambda group */
|
||||||
/* renamed from: b.a.a.f.a.a$a reason: collision with other inner class name */
|
/* 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 */ int j;
|
||||||
public final /* synthetic */ Object k;
|
public final /* synthetic */ Object k;
|
||||||
|
|
||||||
public View$OnClickListenerC0014a(int i, Object obj) {
|
public View$OnClickListenerC0013a(int i, Object obj) {
|
||||||
this.j = i;
|
this.j = i;
|
||||||
this.k = obj;
|
this.k = obj;
|
||||||
}
|
}
|
||||||
|
@ -141,8 +141,8 @@ public final class a extends AppDialog {
|
||||||
a aVar3 = this.this$0;
|
a aVar3 = this.this$0;
|
||||||
Objects.requireNonNull(aVar3);
|
Objects.requireNonNull(aVar3);
|
||||||
m.checkNotNullParameter(aVar2, "viewState");
|
m.checkNotNullParameter(aVar2, "viewState");
|
||||||
if (!(aVar2 instanceof d.a.b) && (aVar2 instanceof d.a.C0015a)) {
|
if (!(aVar2 instanceof d.a.b) && (aVar2 instanceof d.a.C0014a)) {
|
||||||
d.a.C0015a aVar4 = (d.a.C0015a) aVar2;
|
d.a.C0014a aVar4 = (d.a.C0014a) aVar2;
|
||||||
int ordinal = aVar4.a.ordinal();
|
int ordinal = aVar4.a.ordinal();
|
||||||
if (ordinal == 2) {
|
if (ordinal == 2) {
|
||||||
MaterialRadioButton materialRadioButton = aVar3.i().e;
|
MaterialRadioButton materialRadioButton = aVar3.i().e;
|
||||||
|
@ -245,10 +245,10 @@ public final class a extends AppDialog {
|
||||||
MaterialRadioButton materialRadioButton4 = i().d;
|
MaterialRadioButton materialRadioButton4 = i().d;
|
||||||
m.checkNotNullExpressionValue(materialRadioButton4, "binding.audioOutputSelectionEarpieceRadio");
|
m.checkNotNullExpressionValue(materialRadioButton4, "binding.audioOutputSelectionEarpieceRadio");
|
||||||
ColorCompatKt.setDrawableColor(materialRadioButton4, themedColor);
|
ColorCompatKt.setDrawableColor(materialRadioButton4, themedColor);
|
||||||
i().f80b.setOnClickListener(new View$OnClickListenerC0014a(0, this));
|
i().f80b.setOnClickListener(new View$OnClickListenerC0013a(0, this));
|
||||||
i().e.setOnClickListener(new View$OnClickListenerC0014a(1, this));
|
i().e.setOnClickListener(new View$OnClickListenerC0013a(1, this));
|
||||||
i().f.setOnClickListener(new View$OnClickListenerC0014a(2, this));
|
i().f.setOnClickListener(new View$OnClickListenerC0013a(2, this));
|
||||||
i().d.setOnClickListener(new View$OnClickListenerC0014a(3, this));
|
i().d.setOnClickListener(new View$OnClickListenerC0013a(3, this));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // com.discord.app.AppDialog
|
@Override // com.discord.app.AppDialog
|
||||||
|
|
|
@ -30,7 +30,7 @@ public final class c extends o implements Function1<StoreAudioManagerV2.State, U
|
||||||
List<DiscordAudioManager.AudioDevice> audioDevices = state2.getAudioDevices();
|
List<DiscordAudioManager.AudioDevice> audioDevices = state2.getAudioDevices();
|
||||||
DiscordAudioManager.DeviceTypes activeAudioDevice = state2.getActiveAudioDevice();
|
DiscordAudioManager.DeviceTypes activeAudioDevice = state2.getActiveAudioDevice();
|
||||||
DiscordAudioManager.DeviceTypes deviceTypes = DiscordAudioManager.DeviceTypes.BLUETOOTH_HEADSET;
|
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;
|
return Unit.a;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ public final class d extends AppViewModel<a> {
|
||||||
|
|
||||||
/* compiled from: AudioOutputSelectionDialogViewModel.kt */
|
/* compiled from: AudioOutputSelectionDialogViewModel.kt */
|
||||||
/* renamed from: b.a.a.f.a.d$a$a reason: collision with other inner class name */
|
/* 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;
|
public final DiscordAudioManager.DeviceTypes a;
|
||||||
|
|
||||||
/* renamed from: b reason: collision with root package name */
|
/* renamed from: b reason: collision with root package name */
|
||||||
|
@ -31,7 +31,7 @@ public final class d extends AppViewModel<a> {
|
||||||
public final boolean f;
|
public final boolean f;
|
||||||
|
|
||||||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
/* 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);
|
super(null);
|
||||||
m.checkNotNullParameter(deviceTypes, "selectedAudioOutput");
|
m.checkNotNullParameter(deviceTypes, "selectedAudioOutput");
|
||||||
this.a = deviceTypes;
|
this.a = deviceTypes;
|
||||||
|
@ -46,10 +46,10 @@ public final class d extends AppViewModel<a> {
|
||||||
if (this == obj) {
|
if (this == obj) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (!(obj instanceof C0015a)) {
|
if (!(obj instanceof C0014a)) {
|
||||||
return false;
|
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;
|
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -31,12 +31,12 @@ public final class a extends AppDialog {
|
||||||
|
|
||||||
/* compiled from: java-style lambda group */
|
/* compiled from: java-style lambda group */
|
||||||
/* renamed from: b.a.a.g.a$a reason: collision with other inner class name */
|
/* 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 */ int j;
|
||||||
public final /* synthetic */ Object k;
|
public final /* synthetic */ Object k;
|
||||||
public final /* synthetic */ Object l;
|
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.j = i;
|
||||||
this.k = obj;
|
this.k = obj;
|
||||||
this.l = obj2;
|
this.l = obj2;
|
||||||
|
@ -168,7 +168,7 @@ public final class a extends AppDialog {
|
||||||
m.checkNotNullExpressionValue(textView, "binding.maskedLinksBodyText");
|
m.checkNotNullExpressionValue(textView, "binding.maskedLinksBodyText");
|
||||||
b.a.k.b.n(textView, R.string.masked_link_body, new Object[]{obj}, null, 4);
|
b.a.k.b.n(textView, R.string.masked_link_body, new Object[]{obj}, null, 4);
|
||||||
g().c.setOnClickListener(new d(this));
|
g().c.setOnClickListener(new d(this));
|
||||||
g().d.setOnClickListener(new View$OnClickListenerC0016a(0, this, str));
|
g().d.setOnClickListener(new View$OnClickListenerC0015a(0, this, str));
|
||||||
g().e.setOnClickListener(new View$OnClickListenerC0016a(1, this, str));
|
g().e.setOnClickListener(new View$OnClickListenerC0015a(1, this, str));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,10 +17,10 @@ public final class p extends AppViewModel<a> {
|
||||||
|
|
||||||
/* compiled from: WidgetAccessibilityDetectionDialogViewModel.kt */
|
/* compiled from: WidgetAccessibilityDetectionDialogViewModel.kt */
|
||||||
/* renamed from: b.a.a.p$a$a reason: collision with other inner class name */
|
/* 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 class C0016a extends a {
|
||||||
public static final C0017a a = new C0017a();
|
public static final C0016a a = new C0016a();
|
||||||
|
|
||||||
public C0017a() {
|
public C0016a() {
|
||||||
super(null);
|
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) */
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||||||
public p(StoreUserSettings storeUserSettings, StoreNotices storeNotices, int i) {
|
public p(StoreUserSettings storeUserSettings, StoreNotices storeNotices, int i) {
|
||||||
super(a.C0017a.a);
|
super(a.C0016a.a);
|
||||||
StoreNotices storeNotices2 = null;
|
StoreNotices storeNotices2 = null;
|
||||||
StoreUserSettings userSettings = (i & 1) != 0 ? StoreStream.Companion.getUserSettings() : null;
|
StoreUserSettings userSettings = (i & 1) != 0 ? StoreStream.Companion.getUserSettings() : null;
|
||||||
storeNotices2 = (i & 2) != 0 ? StoreStream.Companion.getNotices() : storeNotices2;
|
storeNotices2 = (i & 2) != 0 ? StoreStream.Companion.getNotices() : storeNotices2;
|
||||||
|
|
|
@ -127,7 +127,7 @@ public final class s extends AppDialog {
|
||||||
Objects.requireNonNull(sVar);
|
Objects.requireNonNull(sVar);
|
||||||
if (m.areEqual(bVar2, w.b.a.a)) {
|
if (m.areEqual(bVar2, w.b.a.a)) {
|
||||||
sVar.dismiss();
|
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);
|
b.a.d.m.g(sVar.getContext(), R.string.internal_server_error, 0, null, 12);
|
||||||
} else {
|
} else {
|
||||||
throw new NoWhenBranchMatchedException();
|
throw new NoWhenBranchMatchedException();
|
||||||
|
|
|
@ -39,10 +39,10 @@ public final class w extends AppViewModel<d> {
|
||||||
|
|
||||||
/* compiled from: WidgetUrgentMessageDialogViewModel.kt */
|
/* compiled from: WidgetUrgentMessageDialogViewModel.kt */
|
||||||
/* renamed from: b.a.a.w$b$b reason: collision with other inner class name */
|
/* 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 class C0017b extends b {
|
||||||
public static final C0018b a = new C0018b();
|
public static final C0017b a = new C0017b();
|
||||||
|
|
||||||
public C0018b() {
|
public C0017b() {
|
||||||
super(null);
|
super(null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,7 @@ public final class y extends o implements Function1<Error, Unit> {
|
||||||
public Unit invoke(Error error) {
|
public Unit invoke(Error error) {
|
||||||
m.checkNotNullParameter(error, "it");
|
m.checkNotNullParameter(error, "it");
|
||||||
PublishSubject<w.b> publishSubject = this.this$0.k;
|
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;
|
return Unit.a;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,14 +37,14 @@ import kotlin.reflect.KProperty;
|
||||||
/* compiled from: GiftPurchasedDialog.kt */
|
/* compiled from: GiftPurchasedDialog.kt */
|
||||||
public final class a extends AppDialog {
|
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 /* 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 Function0<Unit> l;
|
||||||
public final FragmentViewBindingDelegate m = FragmentViewBindingDelegateKt.viewBinding$default(this, b.j, null, 2, null);
|
public final FragmentViewBindingDelegate m = FragmentViewBindingDelegateKt.viewBinding$default(this, b.j, null, 2, null);
|
||||||
|
|
||||||
/* compiled from: GiftPurchasedDialog.kt */
|
/* compiled from: GiftPurchasedDialog.kt */
|
||||||
/* renamed from: b.a.a.z.a$a reason: collision with other inner class name */
|
/* renamed from: b.a.a.z.a$a reason: collision with other inner class name */
|
||||||
public static final class C0019a {
|
public static final class C0018a {
|
||||||
public C0019a(DefaultConstructorMarker defaultConstructorMarker) {
|
public C0018a(DefaultConstructorMarker defaultConstructorMarker) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -69,13 +69,13 @@ public final class c extends AppDialog {
|
||||||
|
|
||||||
/* compiled from: WidgetGiftAcceptDialog.kt */
|
/* compiled from: WidgetGiftAcceptDialog.kt */
|
||||||
/* renamed from: b.a.a.z.c$a$a reason: collision with other inner class name */
|
/* 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;
|
public final StoreGifting.GiftState a;
|
||||||
|
|
||||||
/* renamed from: b reason: collision with root package name */
|
/* renamed from: b reason: collision with root package name */
|
||||||
public final boolean f50b;
|
public final boolean f50b;
|
||||||
|
|
||||||
public C0020a(StoreGifting.GiftState giftState, boolean z2) {
|
public C0019a(StoreGifting.GiftState giftState, boolean z2) {
|
||||||
m.checkNotNullParameter(giftState, "giftState");
|
m.checkNotNullParameter(giftState, "giftState");
|
||||||
this.a = giftState;
|
this.a = giftState;
|
||||||
this.f50b = z2;
|
this.f50b = z2;
|
||||||
|
@ -85,10 +85,10 @@ public final class c extends AppDialog {
|
||||||
if (this == obj) {
|
if (this == obj) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (!(obj instanceof C0020a)) {
|
if (!(obj instanceof C0019a)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
C0020a aVar = (C0020a) obj;
|
C0019a aVar = (C0019a) obj;
|
||||||
return m.areEqual(this.a, aVar.a) && this.f50b == aVar.f50b;
|
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 */
|
/* 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")
|
@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 */
|
/* 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 final /* synthetic */ RLottieImageView $this_apply;
|
||||||
public int label;
|
public int label;
|
||||||
|
|
||||||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
/* 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);
|
super(2, continuation);
|
||||||
this.$this_apply = rLottieImageView;
|
this.$this_apply = rLottieImageView;
|
||||||
}
|
}
|
||||||
|
@ -231,7 +231,7 @@ public final class c extends AppDialog {
|
||||||
@Override // d0.w.i.a.a
|
@Override // d0.w.i.a.a
|
||||||
public final Continuation<Unit> create(Object obj, Continuation<?> continuation) {
|
public final Continuation<Unit> create(Object obj, Continuation<?> continuation) {
|
||||||
m.checkNotNullParameter(continuation, "completion");
|
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] */
|
/* 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) {
|
public final Object invoke(CoroutineScope coroutineScope, Continuation<? super Unit> continuation) {
|
||||||
Continuation<? super Unit> continuation2 = continuation;
|
Continuation<? super Unit> continuation2 = continuation;
|
||||||
m.checkNotNullParameter(continuation2, "completion");
|
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
|
@Override // d0.w.i.a.a
|
||||||
|
@ -263,23 +263,23 @@ public final class c extends AppDialog {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* compiled from: WidgetGiftAcceptDialog.kt */
|
/* 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();
|
public static final d j = new d();
|
||||||
|
|
||||||
/* Return type fixed from 'java.lang.Object' to match base method */
|
/* 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] */
|
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */
|
||||||
@Override // rx.functions.Func2
|
@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;
|
StoreGifting.GiftState giftState2 = giftState;
|
||||||
Boolean bool2 = bool;
|
Boolean bool2 = bool;
|
||||||
m.checkNotNullExpressionValue(giftState2, "giftState");
|
m.checkNotNullExpressionValue(giftState2, "giftState");
|
||||||
m.checkNotNullExpressionValue(bool2, "reduceMotion");
|
m.checkNotNullExpressionValue(bool2, "reduceMotion");
|
||||||
return new a.C0020a(giftState2, bool2.booleanValue());
|
return new a.C0019a(giftState2, bool2.booleanValue());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* compiled from: WidgetGiftAcceptDialog.kt */
|
/* 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;
|
public final /* synthetic */ c this$0;
|
||||||
|
|
||||||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
/* 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 */
|
/* 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] */
|
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
|
||||||
@Override // kotlin.jvm.functions.Function1
|
@Override // kotlin.jvm.functions.Function1
|
||||||
public Unit invoke(a.C0020a aVar) {
|
public Unit invoke(a.C0019a aVar) {
|
||||||
ModelSku sku;
|
ModelSku sku;
|
||||||
ModelSku sku2;
|
ModelSku sku2;
|
||||||
String str;
|
String str;
|
||||||
ModelSku sku3;
|
ModelSku sku3;
|
||||||
a.C0020a aVar2 = aVar;
|
a.C0019a aVar2 = aVar;
|
||||||
StoreGifting.GiftState giftState = aVar2.a;
|
StoreGifting.GiftState giftState = aVar2.a;
|
||||||
int i = 0;
|
int i = 0;
|
||||||
if (giftState instanceof StoreGifting.GiftState.Loading) {
|
if (giftState instanceof StoreGifting.GiftState.Loading) {
|
||||||
|
@ -470,7 +470,7 @@ public final class c extends AppDialog {
|
||||||
super(R.layout.widget_accept_gift_dialog);
|
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;
|
ModelSku sku;
|
||||||
Application application;
|
Application application;
|
||||||
String f2;
|
String f2;
|
||||||
|
@ -501,7 +501,7 @@ public final class c extends AppDialog {
|
||||||
rLottieImageView2.c(animRes, dpToPixels, DimenUtils.dpToPixels(rLottieImageView4.getLayoutParams().height));
|
rLottieImageView2.c(animRes, dpToPixels, DimenUtils.dpToPixels(rLottieImageView4.getLayoutParams().height));
|
||||||
CoroutineScope coroutineScope = ViewCoroutineScopeKt.getCoroutineScope(rLottieImageView2);
|
CoroutineScope coroutineScope = ViewCoroutineScopeKt.getCoroutineScope(rLottieImageView2);
|
||||||
if (coroutineScope != null) {
|
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 }");
|
m.checkNotNullExpressionValue(rLottieImageView2, "binding.acceptGiftBodyLo… }\n }\n }");
|
||||||
|
|
|
@ -86,63 +86,63 @@ import java.util.Map;
|
||||||
import kotlin.jvm.functions.Function0;
|
import kotlin.jvm.functions.Function0;
|
||||||
/* compiled from: TypeAdapterRegistrar.kt */
|
/* compiled from: TypeAdapterRegistrar.kt */
|
||||||
public final class a {
|
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 */
|
/* 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()});
|
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 */
|
/* compiled from: kotlin-style lambda group */
|
||||||
/* renamed from: b.a.b.a$a reason: collision with other inner class name */
|
/* 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 class C0021a extends d0.z.d.o implements Function0<Object> {
|
||||||
public static final C0022a A = new C0022a(17);
|
public static final C0021a A = new C0021a(17);
|
||||||
public static final C0022a B = new C0022a(18);
|
public static final C0021a B = new C0021a(18);
|
||||||
public static final C0022a C = new C0022a(19);
|
public static final C0021a C = new C0021a(19);
|
||||||
public static final C0022a D = new C0022a(20);
|
public static final C0021a D = new C0021a(20);
|
||||||
public static final C0022a E = new C0022a(21);
|
public static final C0021a E = new C0021a(21);
|
||||||
public static final C0022a F = new C0022a(22);
|
public static final C0021a F = new C0021a(22);
|
||||||
public static final C0022a G = new C0022a(23);
|
public static final C0021a G = new C0021a(23);
|
||||||
public static final C0022a H = new C0022a(24);
|
public static final C0021a H = new C0021a(24);
|
||||||
public static final C0022a I = new C0022a(25);
|
public static final C0021a I = new C0021a(25);
|
||||||
public static final C0022a J = new C0022a(26);
|
public static final C0021a J = new C0021a(26);
|
||||||
public static final C0022a K = new C0022a(27);
|
public static final C0021a K = new C0021a(27);
|
||||||
public static final C0022a L = new C0022a(28);
|
public static final C0021a L = new C0021a(28);
|
||||||
public static final C0022a M = new C0022a(29);
|
public static final C0021a M = new C0021a(29);
|
||||||
public static final C0022a N = new C0022a(30);
|
public static final C0021a N = new C0021a(30);
|
||||||
public static final C0022a O = new C0022a(31);
|
public static final C0021a O = new C0021a(31);
|
||||||
public static final C0022a P = new C0022a(32);
|
public static final C0021a P = new C0021a(32);
|
||||||
public static final C0022a Q = new C0022a(33);
|
public static final C0021a Q = new C0021a(33);
|
||||||
public static final C0022a R = new C0022a(34);
|
public static final C0021a R = new C0021a(34);
|
||||||
public static final C0022a S = new C0022a(35);
|
public static final C0021a S = new C0021a(35);
|
||||||
public static final C0022a T = new C0022a(36);
|
public static final C0021a T = new C0021a(36);
|
||||||
public static final C0022a j = new C0022a(0);
|
public static final C0021a j = new C0021a(0);
|
||||||
public static final C0022a k = new C0022a(1);
|
public static final C0021a k = new C0021a(1);
|
||||||
public static final C0022a l = new C0022a(2);
|
public static final C0021a l = new C0021a(2);
|
||||||
public static final C0022a m = new C0022a(3);
|
public static final C0021a m = new C0021a(3);
|
||||||
public static final C0022a n = new C0022a(4);
|
public static final C0021a n = new C0021a(4);
|
||||||
public static final C0022a o = new C0022a(5);
|
public static final C0021a o = new C0021a(5);
|
||||||
public static final C0022a p = new C0022a(6);
|
public static final C0021a p = new C0021a(6);
|
||||||
public static final C0022a q = new C0022a(7);
|
public static final C0021a q = new C0021a(7);
|
||||||
public static final C0022a r = new C0022a(8);
|
public static final C0021a r = new C0021a(8);
|
||||||
|
|
||||||
/* renamed from: s reason: collision with root package name */
|
/* renamed from: s reason: collision with root package name */
|
||||||
public static final C0022a f52s = new C0022a(9);
|
public static final C0021a f52s = new C0021a(9);
|
||||||
public static final C0022a t = new C0022a(10);
|
public static final C0021a t = new C0021a(10);
|
||||||
public static final C0022a u = new C0022a(11);
|
public static final C0021a u = new C0021a(11);
|
||||||
public static final C0022a v = new C0022a(12);
|
public static final C0021a v = new C0021a(12);
|
||||||
public static final C0022a w = new C0022a(13);
|
public static final C0021a w = new C0021a(13);
|
||||||
|
|
||||||
/* renamed from: x reason: collision with root package name */
|
/* 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 */
|
/* 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 */
|
/* 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;
|
public final /* synthetic */ int U;
|
||||||
|
|
||||||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
/* 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);
|
super(0);
|
||||||
this.U = i;
|
this.U = i;
|
||||||
}
|
}
|
||||||
|
|
|
@ -181,12 +181,12 @@ public final class h implements AppPermissionsRequests {
|
||||||
|
|
||||||
/* compiled from: AppPermissions.kt */
|
/* compiled from: AppPermissions.kt */
|
||||||
/* renamed from: b.a.d.h$h reason: collision with other inner class name */
|
/* 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 */ Function0 $onFailure;
|
||||||
public final /* synthetic */ h this$0;
|
public final /* synthetic */ h this$0;
|
||||||
|
|
||||||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
/* 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);
|
super(1);
|
||||||
this.this$0 = hVar;
|
this.this$0 = hVar;
|
||||||
this.$onFailure = function0;
|
this.$onFailure = function0;
|
||||||
|
@ -365,7 +365,7 @@ public final class h implements AppPermissionsRequests {
|
||||||
@MainThread
|
@MainThread
|
||||||
public void requestMicrophone(Function0<Unit> function0, Function0<Unit> function02) {
|
public void requestMicrophone(Function0<Unit> function0, Function0<Unit> function02) {
|
||||||
m.checkNotNullParameter(function02, "onSuccess");
|
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
|
@Override // com.discord.app.AppPermissionsRequests
|
||||||
|
|
|
@ -13,12 +13,12 @@ public final class a<K, T extends ChipsView.a> implements View.OnClickListener {
|
||||||
public String m;
|
public String m;
|
||||||
public final K n;
|
public final K n;
|
||||||
public final T o;
|
public final T o;
|
||||||
public final C0024a p;
|
public final C0023a p;
|
||||||
public final ChipsView<K, T> q;
|
public final ChipsView<K, T> q;
|
||||||
|
|
||||||
/* compiled from: Chip.kt */
|
/* compiled from: Chip.kt */
|
||||||
/* renamed from: b.a.f.a$a reason: collision with other inner class name */
|
/* 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;
|
public final int a;
|
||||||
|
|
||||||
/* renamed from: b reason: collision with root package name */
|
/* 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 e;
|
||||||
public final int f;
|
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.a = i;
|
||||||
this.f66b = i2;
|
this.f66b = i2;
|
||||||
this.c = i3;
|
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(aVar, "params");
|
||||||
m.checkNotNullParameter(chipsView, "container");
|
m.checkNotNullParameter(chipsView, "container");
|
||||||
this.l = str;
|
this.l = str;
|
||||||
|
|
|
@ -23,8 +23,8 @@ public final class a {
|
||||||
|
|
||||||
/* compiled from: ColorCutQuantizer.kt */
|
/* compiled from: ColorCutQuantizer.kt */
|
||||||
/* renamed from: b.a.g.a$a reason: collision with other inner class name */
|
/* 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 class C0024a<T> implements Comparator<c> {
|
||||||
public static final C0025a j = new C0025a();
|
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] */
|
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */
|
||||||
@Override // java.util.Comparator
|
@Override // java.util.Comparator
|
||||||
|
@ -168,7 +168,7 @@ public final class a {
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
PriorityQueue priorityQueue = new PriorityQueue(i, C0025a.j);
|
PriorityQueue priorityQueue = new PriorityQueue(i, C0024a.j);
|
||||||
priorityQueue.offer(new c(0, i8 - 1));
|
priorityQueue.offer(new c(0, i8 - 1));
|
||||||
while (priorityQueue.size() < i && (cVar = (c) priorityQueue.poll()) != null) {
|
while (priorityQueue.size() < i && (cVar = (c) priorityQueue.poll()) != null) {
|
||||||
int i11 = cVar.h;
|
int i11 = cVar.h;
|
||||||
|
|
|
@ -19,19 +19,19 @@ public final class a {
|
||||||
public Function1<? super Integer, Unit> a;
|
public Function1<? super Integer, Unit> a;
|
||||||
|
|
||||||
/* renamed from: b reason: collision with root package name */
|
/* 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;
|
public final Logger c;
|
||||||
|
|
||||||
/* compiled from: FloatingViewManager.kt */
|
/* compiled from: FloatingViewManager.kt */
|
||||||
/* renamed from: b.a.j.a$a reason: collision with other inner class name */
|
/* 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;
|
public final View a;
|
||||||
|
|
||||||
/* renamed from: b reason: collision with root package name */
|
/* renamed from: b reason: collision with root package name */
|
||||||
public final ViewGroup f241b;
|
public final ViewGroup f241b;
|
||||||
public final ViewTreeObserver.OnPreDrawListener c;
|
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(view, "floatingView");
|
||||||
m.checkNotNullParameter(viewGroup, "ancestorViewGroup");
|
m.checkNotNullParameter(viewGroup, "ancestorViewGroup");
|
||||||
m.checkNotNullParameter(onPreDrawListener, "ancestorPreDrawListener");
|
m.checkNotNullParameter(onPreDrawListener, "ancestorPreDrawListener");
|
||||||
|
@ -75,7 +75,7 @@ public final class a {
|
||||||
|
|
||||||
@MainThread
|
@MainThread
|
||||||
public final void b(int i) {
|
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) {
|
if (aVar != null) {
|
||||||
ViewGroup viewGroup = aVar.f241b;
|
ViewGroup viewGroup = aVar.f241b;
|
||||||
View view = aVar.a;
|
View view = aVar.a;
|
||||||
|
|
|
@ -12,16 +12,16 @@ public final class a {
|
||||||
public static b.a.k.g.b a;
|
public static b.a.k.g.b a;
|
||||||
|
|
||||||
/* renamed from: b reason: collision with root package name */
|
/* 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 Function2<? super String, ? super View, Unit> c = b.j;
|
||||||
public static final a d = null;
|
public static final a d = null;
|
||||||
|
|
||||||
/* compiled from: Format.kt */
|
/* compiled from: Format.kt */
|
||||||
/* renamed from: b.a.k.a$a reason: collision with other inner class name */
|
/* 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 class C0026a extends o implements Function0<Integer> {
|
||||||
public static final C0027a j = new C0027a();
|
public static final C0026a j = new C0026a();
|
||||||
|
|
||||||
public C0027a() {
|
public C0026a() {
|
||||||
super(0);
|
super(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -45,10 +45,10 @@ public final class b {
|
||||||
|
|
||||||
/* compiled from: FormatUtils.kt */
|
/* compiled from: FormatUtils.kt */
|
||||||
/* renamed from: b.a.k.b$b reason: collision with other inner class name */
|
/* 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 class C0027b extends o implements Function1<RenderContext, Unit> {
|
||||||
public static final C0028b j = new C0028b();
|
public static final C0027b j = new C0027b();
|
||||||
|
|
||||||
public C0028b() {
|
public C0027b() {
|
||||||
super(1);
|
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) {
|
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) {
|
public static /* synthetic */ CharSequence i(Resources resources, int i, Object[] objArr, Function1 function1, int i2) {
|
||||||
|
|
|
@ -20,11 +20,11 @@ public final class d implements View.OnClickListener {
|
||||||
|
|
||||||
/* compiled from: View.kt */
|
/* compiled from: View.kt */
|
||||||
/* renamed from: b.a.n.d$a$a reason: collision with other inner class name */
|
/* 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 */ a j;
|
||||||
public final /* synthetic */ View k;
|
public final /* synthetic */ View k;
|
||||||
|
|
||||||
public View$OnLayoutChangeListenerC0029a(a aVar, View view) {
|
public View$OnLayoutChangeListenerC0028a(a aVar, View view) {
|
||||||
this.j = aVar;
|
this.j = aVar;
|
||||||
this.k = view;
|
this.k = view;
|
||||||
}
|
}
|
||||||
|
@ -47,7 +47,7 @@ public final class d implements View.OnClickListener {
|
||||||
public void onViewAttachedToWindow(View view) {
|
public void onViewAttachedToWindow(View view) {
|
||||||
m.checkNotNullParameter(view, "v");
|
m.checkNotNullParameter(view, "v");
|
||||||
if (!ViewCompat.isLaidOut(view) || view.isLayoutRequested()) {
|
if (!ViewCompat.isLaidOut(view) || view.isLayoutRequested()) {
|
||||||
view.addOnLayoutChangeListener(new View$OnLayoutChangeListenerC0029a(this, view));
|
view.addOnLayoutChangeListener(new View$OnLayoutChangeListenerC0028a(this, view));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
View findViewWithTag = view.findViewWithTag(this.j.m);
|
View findViewWithTag = view.findViewWithTag(this.j.m);
|
||||||
|
|
|
@ -28,10 +28,10 @@ public final class a extends FrameLayout implements f {
|
||||||
|
|
||||||
/* compiled from: Animator.kt */
|
/* compiled from: Animator.kt */
|
||||||
/* renamed from: b.a.n.h.a$a reason: collision with other inner class name */
|
/* 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 final /* synthetic */ a a;
|
||||||
|
|
||||||
public C0030a(a aVar) {
|
public C0029a(a aVar) {
|
||||||
this.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);
|
Animator loadAnimator2 = AnimatorInflater.loadAnimator(getContext(), R.a.slide_in_bottom);
|
||||||
loadAnimator2.setTarget(frameLayout2);
|
loadAnimator2.setTarget(frameLayout2);
|
||||||
animatorSet.playTogether(loadAnimator, loadAnimator2);
|
animatorSet.playTogether(loadAnimator, loadAnimator2);
|
||||||
animatorSet.addListener(new C0030a(this));
|
animatorSet.addListener(new C0029a(this));
|
||||||
this.l = animatorSet;
|
this.l = animatorSet;
|
||||||
AnimatorSet animatorSet2 = new AnimatorSet();
|
AnimatorSet animatorSet2 = new AnimatorSet();
|
||||||
Animator loadAnimator3 = AnimatorInflater.loadAnimator(getContext(), R.a.fade_out);
|
Animator loadAnimator3 = AnimatorInflater.loadAnimator(getContext(), R.a.fade_out);
|
||||||
|
|
|
@ -9,17 +9,17 @@ import java.util.Locale;
|
||||||
import kotlin.jvm.functions.Function1;
|
import kotlin.jvm.functions.Function1;
|
||||||
/* compiled from: LocaleProvider.kt */
|
/* compiled from: LocaleProvider.kt */
|
||||||
public final class a {
|
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 */
|
/* renamed from: b reason: collision with root package name */
|
||||||
public static final a f248b = null;
|
public static final a f248b = null;
|
||||||
|
|
||||||
/* compiled from: LocaleProvider.kt */
|
/* compiled from: LocaleProvider.kt */
|
||||||
/* renamed from: b.a.o.a$a reason: collision with other inner class name */
|
/* 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 class C0030a extends o implements Function1<Context, Locale> {
|
||||||
public static final C0031a j = new C0031a();
|
public static final C0030a j = new C0030a();
|
||||||
|
|
||||||
public C0031a() {
|
public C0030a() {
|
||||||
super(1);
|
super(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ public final class b implements View.OnLayoutChangeListener {
|
||||||
|
|
||||||
/* compiled from: PanelsChildGestureRegionObserver.kt */
|
/* compiled from: PanelsChildGestureRegionObserver.kt */
|
||||||
/* renamed from: b.a.o.b$b reason: collision with other inner class name */
|
/* 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);
|
public static WeakReference<b> a = new WeakReference<>(null);
|
||||||
|
|
||||||
@UiThread
|
@UiThread
|
||||||
|
|
|
@ -18,7 +18,7 @@ import org.webrtc.MediaStreamTrack;
|
||||||
import org.webrtc.ThreadUtils;
|
import org.webrtc.ThreadUtils;
|
||||||
/* compiled from: AudioManagerBroadcastReceiver.kt */
|
/* compiled from: AudioManagerBroadcastReceiver.kt */
|
||||||
public final class a extends BroadcastReceiver {
|
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 */
|
/* renamed from: b reason: collision with root package name */
|
||||||
public final Context f258b;
|
public final Context f258b;
|
||||||
|
@ -26,8 +26,8 @@ public final class a extends BroadcastReceiver {
|
||||||
|
|
||||||
/* compiled from: AudioManagerBroadcastReceiver.kt */
|
/* compiled from: AudioManagerBroadcastReceiver.kt */
|
||||||
/* renamed from: b.a.q.k0.a$a reason: collision with other inner class name */
|
/* renamed from: b.a.q.k0.a$a reason: collision with other inner class name */
|
||||||
public static final class C0033a {
|
public static final class C0032a {
|
||||||
public C0033a(DefaultConstructorMarker defaultConstructorMarker) {
|
public C0032a(DefaultConstructorMarker defaultConstructorMarker) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -92,7 +92,7 @@ public final class a extends BroadcastReceiver {
|
||||||
if (intent.getIntExtra("microphone", 0) == 1) {
|
if (intent.getIntExtra("microphone", 0) == 1) {
|
||||||
z2 = true;
|
z2 = true;
|
||||||
}
|
}
|
||||||
aVar = new a.C0034a(stringExtra, z2);
|
aVar = new a.C0033a(stringExtra, z2);
|
||||||
}
|
}
|
||||||
hVar.e(context, aVar);
|
hVar.e(context, aVar);
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -8,14 +8,14 @@ public abstract class a {
|
||||||
|
|
||||||
/* compiled from: WiredHeadsetState.kt */
|
/* compiled from: WiredHeadsetState.kt */
|
||||||
/* renamed from: b.a.q.l0.a$a reason: collision with other inner class name */
|
/* 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;
|
public final String a;
|
||||||
|
|
||||||
/* renamed from: b reason: collision with root package name */
|
/* renamed from: b reason: collision with root package name */
|
||||||
public final boolean f262b;
|
public final boolean f262b;
|
||||||
|
|
||||||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
/* 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);
|
super(false, null);
|
||||||
m.checkNotNullParameter(str, ModelAuditLogEntry.CHANGE_KEY_NAME);
|
m.checkNotNullParameter(str, ModelAuditLogEntry.CHANGE_KEY_NAME);
|
||||||
this.a = str;
|
this.a = str;
|
||||||
|
@ -26,10 +26,10 @@ public abstract class a {
|
||||||
if (this == obj) {
|
if (this == obj) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (!(obj instanceof C0034a)) {
|
if (!(obj instanceof C0033a)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
C0034a aVar = (C0034a) obj;
|
C0033a aVar = (C0033a) obj;
|
||||||
return m.areEqual(this.a, aVar.a) && this.f262b == aVar.f262b;
|
return m.areEqual(this.a, aVar.a) && this.f262b == aVar.f262b;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@ import rx.functions.Action1;
|
||||||
/* compiled from: ScreenCapturer.kt */
|
/* compiled from: ScreenCapturer.kt */
|
||||||
public final class b extends ScreenCapturerAndroid {
|
public final class b extends ScreenCapturerAndroid {
|
||||||
public static final a j = new a(null);
|
public static final a j = new a(null);
|
||||||
public final RunnableC0035b k = new RunnableC0035b();
|
public final RunnableC0034b k = new RunnableC0034b();
|
||||||
public NativeCapturerObserver l;
|
public NativeCapturerObserver l;
|
||||||
public SurfaceTextureHelper m;
|
public SurfaceTextureHelper m;
|
||||||
public Context n;
|
public Context n;
|
||||||
|
@ -66,8 +66,8 @@ public final class b extends ScreenCapturerAndroid {
|
||||||
|
|
||||||
/* compiled from: ScreenCapturer.kt */
|
/* compiled from: ScreenCapturer.kt */
|
||||||
/* renamed from: b.a.q.m0.b$b reason: collision with other inner class name */
|
/* renamed from: b.a.q.m0.b$b reason: collision with other inner class name */
|
||||||
public final class RunnableC0035b implements Runnable {
|
public final class RunnableC0034b implements Runnable {
|
||||||
public RunnableC0035b() {
|
public RunnableC0034b() {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // java.lang.Runnable
|
@Override // java.lang.Runnable
|
||||||
|
|
|
@ -153,12 +153,12 @@ public final class e implements MediaEngineConnection {
|
||||||
|
|
||||||
/* compiled from: MediaEngineConnectionLegacy.kt */
|
/* compiled from: MediaEngineConnectionLegacy.kt */
|
||||||
/* renamed from: b.a.q.m0.c.e$e reason: collision with other inner class name */
|
/* 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 */ KrispOveruseDetector.Status $status;
|
||||||
public final /* synthetic */ e this$0;
|
public final /* synthetic */ e this$0;
|
||||||
|
|
||||||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
/* 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);
|
super(1);
|
||||||
this.this$0 = eVar;
|
this.this$0 = eVar;
|
||||||
this.$status = status;
|
this.$status = status;
|
||||||
|
@ -670,7 +670,7 @@ public final class e implements MediaEngineConnection {
|
||||||
@Override // com.discord.rtcconnection.mediaengine.MediaEngineConnection
|
@Override // com.discord.rtcconnection.mediaengine.MediaEngineConnection
|
||||||
public void f(KrispOveruseDetector.Status status) {
|
public void f(KrispOveruseDetector.Status status) {
|
||||||
d0.z.d.m.checkNotNullParameter(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
|
@Override // com.discord.rtcconnection.mediaengine.MediaEngineConnection
|
||||||
|
|
|
@ -143,12 +143,12 @@ public final class k implements MediaEngine {
|
||||||
|
|
||||||
/* compiled from: MediaEngineLegacy.kt */
|
/* compiled from: MediaEngineLegacy.kt */
|
||||||
/* renamed from: b.a.q.m0.c.k$c$c reason: collision with other inner class name */
|
/* 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 */ MediaEngineConnection $connection;
|
||||||
public final /* synthetic */ c this$0;
|
public final /* synthetic */ c this$0;
|
||||||
|
|
||||||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
/* 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);
|
super(0);
|
||||||
this.this$0 = cVar;
|
this.this$0 = cVar;
|
||||||
this.$connection = mediaEngineConnection;
|
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
|
@Override // com.discord.rtcconnection.mediaengine.MediaEngineConnection.a, com.discord.rtcconnection.mediaengine.MediaEngineConnection.d
|
||||||
public void onDestroy(MediaEngineConnection mediaEngineConnection) {
|
public void onDestroy(MediaEngineConnection mediaEngineConnection) {
|
||||||
m.checkNotNullParameter(mediaEngineConnection, "connection");
|
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
|
@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 */
|
/* compiled from: MediaEngineLegacy.kt */
|
||||||
/* renamed from: b.a.q.m0.c.k$k reason: collision with other inner class name */
|
/* 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 */ MediaEngine.VoiceConfig $voiceConfig;
|
||||||
public final /* synthetic */ k this$0;
|
public final /* synthetic */ k this$0;
|
||||||
|
|
||||||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
/* 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);
|
super(0);
|
||||||
this.this$0 = kVar;
|
this.this$0 = kVar;
|
||||||
this.$voiceConfig = voiceConfig;
|
this.$voiceConfig = voiceConfig;
|
||||||
|
@ -523,7 +523,7 @@ public final class k implements MediaEngine {
|
||||||
@AnyThread
|
@AnyThread
|
||||||
public void d(MediaEngine.VoiceConfig voiceConfig) {
|
public void d(MediaEngine.VoiceConfig voiceConfig) {
|
||||||
m.checkNotNullParameter(voiceConfig, "voiceConfig");
|
m.checkNotNullParameter(voiceConfig, "voiceConfig");
|
||||||
o(new C0038k(this, voiceConfig));
|
o(new C0037k(this, voiceConfig));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // com.discord.rtcconnection.mediaengine.MediaEngine
|
@Override // com.discord.rtcconnection.mediaengine.MediaEngine
|
||||||
|
|
|
@ -38,7 +38,7 @@ import okhttp3.WebSocketListener;
|
||||||
/* compiled from: RtcControlSocket.kt */
|
/* compiled from: RtcControlSocket.kt */
|
||||||
public final class a extends WebSocketListener implements DebugPrintable {
|
public final class a extends WebSocketListener implements DebugPrintable {
|
||||||
public static int j;
|
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 static final b l = new b(null);
|
||||||
public Long A;
|
public Long A;
|
||||||
public c B;
|
public c B;
|
||||||
|
@ -75,7 +75,7 @@ public final class a extends WebSocketListener implements DebugPrintable {
|
||||||
|
|
||||||
/* compiled from: RtcControlSocket.kt */
|
/* compiled from: RtcControlSocket.kt */
|
||||||
/* renamed from: b.a.q.n0.a$a reason: collision with other inner class name */
|
/* 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 */
|
/* compiled from: RtcControlSocket.kt */
|
||||||
|
@ -167,11 +167,11 @@ public final class a extends WebSocketListener implements DebugPrintable {
|
||||||
|
|
||||||
/* compiled from: RtcControlSocket.kt */
|
/* compiled from: RtcControlSocket.kt */
|
||||||
/* renamed from: b.a.q.n0.a$g$a reason: collision with other inner class name */
|
/* 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;
|
public final /* synthetic */ g this$0;
|
||||||
|
|
||||||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
/* 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);
|
super(0);
|
||||||
this.this$0 = gVar;
|
this.this$0 = gVar;
|
||||||
}
|
}
|
||||||
|
@ -191,7 +191,7 @@ public final class a extends WebSocketListener implements DebugPrintable {
|
||||||
|
|
||||||
@Override // java.util.TimerTask, java.lang.Runnable
|
@Override // java.util.TimerTask, java.lang.Runnable
|
||||||
public void run() {
|
public void run() {
|
||||||
this.j.m(new C0040a(this));
|
this.j.m(new C0039a(this));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -57,13 +57,13 @@ public final /* synthetic */ class a extends k implements Function1<Stats, Unit>
|
||||||
for (Map.Entry<String, InboundRtpVideo> entry : stats2.getInboundRtpVideo().entrySet()) {
|
for (Map.Entry<String, InboundRtpVideo> entry : stats2.getInboundRtpVideo().entrySet()) {
|
||||||
String key = entry.getKey();
|
String key = entry.getKey();
|
||||||
InboundRtpVideo value = entry.getValue();
|
InboundRtpVideo value = entry.getValue();
|
||||||
Map<String, e.C0041e> map = eVar.m;
|
Map<String, e.C0040e> map = eVar.m;
|
||||||
e.C0041e eVar2 = map.get(key);
|
e.C0040e eVar2 = map.get(key);
|
||||||
if (eVar2 == null) {
|
if (eVar2 == null) {
|
||||||
eVar2 = new e.C0041e();
|
eVar2 = new e.C0040e();
|
||||||
map.put(key, eVar2);
|
map.put(key, eVar2);
|
||||||
}
|
}
|
||||||
e.C0041e eVar3 = eVar2;
|
e.C0040e eVar3 = eVar2;
|
||||||
eVar.a(eVar3, eVar.f(value, currentTimeMillis));
|
eVar.a(eVar3, eVar.f(value, currentTimeMillis));
|
||||||
if (eVar3.d == null && value.getFramesDecoded() > 0) {
|
if (eVar3.d == null && value.getFramesDecoded() > 0) {
|
||||||
byte[] bArr = c.a;
|
byte[] bArr = c.a;
|
||||||
|
|
|
@ -40,7 +40,7 @@ public final class e {
|
||||||
public final d j;
|
public final d j;
|
||||||
public final d k;
|
public final d k;
|
||||||
public final f l = new f();
|
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 Map<Long, Long> n = new LinkedHashMap();
|
||||||
public final DeviceResourceUsageMonitor o;
|
public final DeviceResourceUsageMonitor o;
|
||||||
public final Logger p;
|
public final Logger p;
|
||||||
|
@ -208,7 +208,7 @@ public final class e {
|
||||||
|
|
||||||
/* compiled from: VideoQuality.kt */
|
/* compiled from: VideoQuality.kt */
|
||||||
/* renamed from: b.a.q.o0.e$e reason: collision with other inner class name */
|
/* 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();
|
public List<g> a = new ArrayList();
|
||||||
|
|
||||||
/* renamed from: b reason: collision with root package name */
|
/* renamed from: b reason: collision with root package name */
|
||||||
|
@ -222,7 +222,7 @@ public final class e {
|
||||||
public float i;
|
public float i;
|
||||||
public Map<Integer, Float> j = new LinkedHashMap();
|
public Map<Integer, Float> j = new LinkedHashMap();
|
||||||
|
|
||||||
public C0041e() {
|
public C0040e() {
|
||||||
for (Number number : e.a) {
|
for (Number number : e.a) {
|
||||||
this.g.put(Integer.valueOf(number.intValue()), Float.valueOf(0.0f));
|
this.g.put(Integer.valueOf(number.intValue()), Float.valueOf(0.0f));
|
||||||
}
|
}
|
||||||
|
@ -236,7 +236,7 @@ public final class e {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* compiled from: VideoQuality.kt */
|
/* compiled from: VideoQuality.kt */
|
||||||
public static final class f extends C0041e {
|
public static final class f extends C0040e {
|
||||||
public int k = 2500000;
|
public int k = 2500000;
|
||||||
public int l = 30;
|
public int l = 30;
|
||||||
public long m;
|
public long m;
|
||||||
|
@ -311,8 +311,8 @@ public final class e {
|
||||||
e eVar = this.this$0;
|
e eVar = this.this$0;
|
||||||
List<Integer> list = e.a;
|
List<Integer> list = e.a;
|
||||||
synchronized (eVar) {
|
synchronized (eVar) {
|
||||||
for (Map.Entry<String, C0041e> entry : eVar.m.entrySet()) {
|
for (Map.Entry<String, C0040e> entry : eVar.m.entrySet()) {
|
||||||
C0041e value = entry.getValue();
|
C0040e value = entry.getValue();
|
||||||
value.f280b.addSample((long) resourceUsage2.getCpuUsagePercent());
|
value.f280b.addSample((long) resourceUsage2.getCpuUsagePercent());
|
||||||
value.c.addSample(resourceUsage2.getMemoryRssBytes());
|
value.c.addSample(resourceUsage2.getMemoryRssBytes());
|
||||||
}
|
}
|
||||||
|
@ -341,7 +341,7 @@ public final class e {
|
||||||
deviceResourceUsageMonitor.start();
|
deviceResourceUsageMonitor.start();
|
||||||
}
|
}
|
||||||
|
|
||||||
public final void a(C0041e eVar, g gVar) {
|
public final void a(C0040e eVar, g gVar) {
|
||||||
eVar.a.add(gVar);
|
eVar.a.add(gVar);
|
||||||
if (eVar.a.size() >= 2) {
|
if (eVar.a.size() >= 2) {
|
||||||
List<g> list = eVar.a;
|
List<g> list = eVar.a;
|
||||||
|
@ -453,7 +453,7 @@ public final class e {
|
||||||
|
|
||||||
@AnyThread
|
@AnyThread
|
||||||
public final synchronized Map<String, Object> c(String str) {
|
public final synchronized Map<String, Object> c(String str) {
|
||||||
C0041e eVar;
|
C0040e eVar;
|
||||||
m.checkNotNullParameter(str, "userId");
|
m.checkNotNullParameter(str, "userId");
|
||||||
eVar = this.m.get(str);
|
eVar = this.m.get(str);
|
||||||
return eVar != null ? e(eVar) : null;
|
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)
|
(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)
|
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;
|
Float valueOf;
|
||||||
long currentTimeMillis = this.q.currentTimeMillis();
|
long currentTimeMillis = this.q.currentTimeMillis();
|
||||||
Long l = this.h;
|
Long l = this.h;
|
||||||
|
|
|
@ -3,7 +3,7 @@ package b.a.r;
|
||||||
import b.n.a.a.a;
|
import b.n.a.a.a;
|
||||||
import com.discord.samsung.SamsungConnectActivity;
|
import com.discord.samsung.SamsungConnectActivity;
|
||||||
/* compiled from: SamsungConnectActivity.kt */
|
/* compiled from: SamsungConnectActivity.kt */
|
||||||
public final class d extends a.AbstractBinderC0157a {
|
public final class d extends a.AbstractBinderC0156a {
|
||||||
public final /* synthetic */ SamsungConnectActivity a;
|
public final /* synthetic */ SamsungConnectActivity a;
|
||||||
|
|
||||||
public d(SamsungConnectActivity samsungConnectActivity) {
|
public d(SamsungConnectActivity samsungConnectActivity) {
|
||||||
|
|
|
@ -39,7 +39,7 @@ public final class b extends ContentObserver {
|
||||||
|
|
||||||
/* compiled from: ScreenshotContentObserver.kt */
|
/* compiled from: ScreenshotContentObserver.kt */
|
||||||
/* renamed from: b.a.s.b$b reason: collision with other inner class name */
|
/* 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;
|
public final String a;
|
||||||
|
|
||||||
/* renamed from: b reason: collision with root package name */
|
/* 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 Uri e;
|
||||||
public final long f;
|
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(str, "fileName");
|
||||||
m.checkNotNullParameter(str2, "relativePath");
|
m.checkNotNullParameter(str2, "relativePath");
|
||||||
m.checkNotNullParameter(uri, NotificationCompat.MessagingStyle.Message.KEY_DATA_URI);
|
m.checkNotNullParameter(uri, NotificationCompat.MessagingStyle.Message.KEY_DATA_URI);
|
||||||
|
@ -65,10 +65,10 @@ public final class b extends ContentObserver {
|
||||||
if (this == obj) {
|
if (this == obj) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (!(obj instanceof C0042b)) {
|
if (!(obj instanceof C0041b)) {
|
||||||
return false;
|
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;
|
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:31:0x00c2 */
|
||||||
/* JADX WARNING: Removed duplicated region for block: B:45:? A[RETURN, SYNTHETIC] */
|
/* JADX WARNING: Removed duplicated region for block: B:45:? A[RETURN, SYNTHETIC] */
|
||||||
public final void a(Uri uri) {
|
public final void a(Uri uri) {
|
||||||
C0042b bVar;
|
C0041b bVar;
|
||||||
String str;
|
String str;
|
||||||
ContentResolver contentResolver = this.d;
|
ContentResolver contentResolver = this.d;
|
||||||
int i = Build.VERSION.SDK_INT;
|
int i = Build.VERSION.SDK_INT;
|
||||||
|
@ -145,7 +145,7 @@ public final class b extends ContentObserver {
|
||||||
String string2 = query.getString(query.getColumnIndex("_display_name"));
|
String string2 = query.getString(query.getColumnIndex("_display_name"));
|
||||||
m.checkNotNullExpressionValue(string2, "cursor.getString(cursor.…ages.Media.DISPLAY_NAME))");
|
m.checkNotNullExpressionValue(string2, "cursor.getString(cursor.…ages.Media.DISPLAY_NAME))");
|
||||||
m.checkNotNullExpressionValue(str, "relativePath");
|
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);
|
d0.y.b.closeFinally(query, null);
|
||||||
if (bVar != null) {
|
if (bVar != null) {
|
||||||
String str2 = this.f282b;
|
String str2 = this.f282b;
|
||||||
|
|
|
@ -52,7 +52,7 @@ public final class a extends Rule<R, Node<R>, S> {
|
||||||
if (list != null) {
|
if (list != null) {
|
||||||
List parse = parser.parse(group2, s2, list);
|
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>>");
|
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 {
|
} else {
|
||||||
aVar = new CodeNode.a.b(group2);
|
aVar = new CodeNode.a.b(group2);
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,7 @@ public final class h extends Rule<RC, Node<RC>, S> {
|
||||||
public final /* synthetic */ f a;
|
public final /* synthetic */ f a;
|
||||||
|
|
||||||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
/* 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);
|
super(pattern);
|
||||||
this.a = fVar;
|
this.a = fVar;
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,12 +23,12 @@ public final class i {
|
||||||
public static final Pattern a = Pattern.compile("^(def)( +\\w+)( *\\( *(?:@\\w+ +: +\\w*)?\\w+(?: +[:=] +.*)? *\\))?(?!.+)");
|
public static final Pattern a = Pattern.compile("^(def)( +\\w+)( *\\( *(?:@\\w+ +: +\\w*)?\\w+(?: +[:=] +.*)? *\\))?(?!.+)");
|
||||||
|
|
||||||
/* renamed from: b reason: collision with root package name */
|
/* 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 */
|
/* compiled from: Crystal.kt */
|
||||||
/* renamed from: b.a.t.a.i$a$a reason: collision with other inner class name */
|
/* renamed from: b.a.t.a.i$a$a reason: collision with other inner class name */
|
||||||
public static final class C0043a {
|
public static final class C0042a {
|
||||||
public C0043a(DefaultConstructorMarker defaultConstructorMarker) {
|
public C0042a(DefaultConstructorMarker defaultConstructorMarker) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ public final class j extends Rule<RC, Node<RC>, S> {
|
||||||
public final /* synthetic */ f a;
|
public final /* synthetic */ f a;
|
||||||
|
|
||||||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
/* 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);
|
super(pattern);
|
||||||
this.a = fVar;
|
this.a = fVar;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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_$]*)");
|
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 */
|
/* 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 */
|
/* compiled from: JavaScript.kt */
|
||||||
/* renamed from: b.a.t.a.k$a$a reason: collision with other inner class name */
|
/* renamed from: b.a.t.a.k$a$a reason: collision with other inner class name */
|
||||||
public static final class C0044a {
|
public static final class C0043a {
|
||||||
public C0044a(DefaultConstructorMarker defaultConstructorMarker) {
|
public C0043a(DefaultConstructorMarker defaultConstructorMarker) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ public final class n extends Rule<RC, Node<RC>, S> {
|
||||||
public final /* synthetic */ f a;
|
public final /* synthetic */ f a;
|
||||||
|
|
||||||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
/* 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);
|
super(pattern);
|
||||||
this.a = fVar;
|
this.a = fVar;
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,12 +24,12 @@ public final class o {
|
||||||
public static final Pattern a = Pattern.compile("^(val|var)(\\s+\\w+)", 32);
|
public static final Pattern a = Pattern.compile("^(val|var)(\\s+\\w+)", 32);
|
||||||
|
|
||||||
/* renamed from: b reason: collision with root package name */
|
/* 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 */
|
/* compiled from: Kotlin.kt */
|
||||||
/* renamed from: b.a.t.a.o$a$a reason: collision with other inner class name */
|
/* renamed from: b.a.t.a.o$a$a reason: collision with other inner class name */
|
||||||
public static final class C0045a {
|
public static final class C0044a {
|
||||||
public C0045a(DefaultConstructorMarker defaultConstructorMarker) {
|
public C0044a(DefaultConstructorMarker defaultConstructorMarker) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ public final class q extends Rule<RC, Node<RC>, S> {
|
||||||
public final /* synthetic */ f a;
|
public final /* synthetic */ f a;
|
||||||
|
|
||||||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
/* 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);
|
super(pattern);
|
||||||
this.a = fVar;
|
this.a = fVar;
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,12 +25,12 @@ public final class r {
|
||||||
public static final Pattern a = Pattern.compile("^(@)(\\s*[a-zA-Z_$][a-zA-Z0-9_$]*)(<.*>)?", 32);
|
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 */
|
/* 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 */
|
/* compiled from: TypeScript.kt */
|
||||||
/* renamed from: b.a.t.a.r$a$a reason: collision with other inner class name */
|
/* renamed from: b.a.t.a.r$a$a reason: collision with other inner class name */
|
||||||
public static final class C0046a {
|
public static final class C0045a {
|
||||||
public C0046a(DefaultConstructorMarker defaultConstructorMarker) {
|
public C0045a(DefaultConstructorMarker defaultConstructorMarker) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -29,8 +29,8 @@ public final class v {
|
||||||
|
|
||||||
/* compiled from: Xml.kt */
|
/* compiled from: Xml.kt */
|
||||||
/* renamed from: b.a.t.a.v$a$a reason: collision with other inner class name */
|
/* 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 static final /* synthetic */ class C0046a extends k implements Function1<RC, Iterable<?>> {
|
||||||
public C0047a(StyleNode.a aVar) {
|
public C0046a(StyleNode.a aVar) {
|
||||||
super(1, aVar, StyleNode.a.class, "get", "get(Ljava/lang/Object;)Ljava/lang/Iterable;", 0);
|
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, "");
|
pair = o.to(this.a, "");
|
||||||
}
|
}
|
||||||
String str4 = (String) pair.component2();
|
String str4 = (String) pair.component2();
|
||||||
C0047a aVar = new C0047a(this.c.g);
|
C0046a aVar = new C0046a(this.c.g);
|
||||||
int length2 = spannableStringBuilder.length();
|
int length2 = spannableStringBuilder.length();
|
||||||
spannableStringBuilder.append((CharSequence) ('<' + ((String) pair.component1())));
|
spannableStringBuilder.append((CharSequence) ('<' + ((String) pair.component1())));
|
||||||
Iterator<?> it = aVar.invoke(rc).iterator();
|
Iterator<?> it = aVar.invoke(rc).iterator();
|
||||||
|
|
|
@ -32,12 +32,12 @@ public final class a {
|
||||||
|
|
||||||
/* compiled from: MarkdownRules.kt */
|
/* compiled from: MarkdownRules.kt */
|
||||||
/* renamed from: b.a.t.c.a$a reason: collision with other inner class name */
|
/* 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 Function1<String, T> classSpanProvider;
|
||||||
private final List<Rule<RC, Node<RC>, S>> innerRules;
|
private final List<Rule<RC, Node<RC>, S>> innerRules;
|
||||||
|
|
||||||
/* JADX INFO: this call moved to the top of the method (can break code semantics) */
|
/* 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()));
|
this(function1, function12, u.plus((Collection<? extends Rule>) e.b(false, false, 2), e.h.d()));
|
||||||
m.checkNotNullParameter(function1, "styleSpanProvider");
|
m.checkNotNullParameter(function1, "styleSpanProvider");
|
||||||
m.checkNotNullParameter(function12, "classSpanProvider");
|
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 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 WARN: Multi-variable type inference failed */
|
||||||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
/* 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);
|
super(a.d, function1);
|
||||||
m.checkNotNullParameter(function1, "styleSpanProvider");
|
m.checkNotNullParameter(function1, "styleSpanProvider");
|
||||||
m.checkNotNullParameter(function12, "classSpanProvider");
|
m.checkNotNullParameter(function12, "classSpanProvider");
|
||||||
|
|
|
@ -10,11 +10,11 @@ public final class a {
|
||||||
|
|
||||||
/* compiled from: TypeTokens.kt */
|
/* compiled from: TypeTokens.kt */
|
||||||
/* renamed from: b.a.w.a$a reason: collision with other inner class name */
|
/* 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 {
|
static {
|
||||||
Type type = new C0049a().getType();
|
Type type = new C0048a().getType();
|
||||||
m.checkNotNullExpressionValue(type, "object : TypeToken<List<String>>() {}.type");
|
m.checkNotNullExpressionValue(type, "object : TypeToken<List<String>>() {}.type");
|
||||||
a = type;
|
a = type;
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,10 +44,10 @@ public final class c0 extends AppBottomSheet implements i {
|
||||||
|
|
||||||
/* compiled from: SelectorBottomSheet.kt */
|
/* compiled from: SelectorBottomSheet.kt */
|
||||||
/* renamed from: b.a.y.c0$a$a reason: collision with other inner class name */
|
/* 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 class C0049a extends o implements Function1<Integer, Unit> {
|
||||||
public static final C0050a j = new C0050a();
|
public static final C0049a j = new C0049a();
|
||||||
|
|
||||||
public C0050a() {
|
public C0049a() {
|
||||||
super(1);
|
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) {
|
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;
|
boolean z3 = (i & 8) != 0 ? true : z2;
|
||||||
if ((i & 16) != 0) {
|
if ((i & 16) != 0) {
|
||||||
function1 = C0050a.j;
|
function1 = C0049a.j;
|
||||||
}
|
}
|
||||||
return aVar.a(fragmentManager, str, list, z3, function1);
|
return aVar.a(fragmentManager, str, list, z3, function1);
|
||||||
}
|
}
|
||||||
|
|
|
@ -66,11 +66,11 @@ public class a extends AppCompatDialogFragment {
|
||||||
|
|
||||||
/* compiled from: java-style lambda group */
|
/* compiled from: java-style lambda group */
|
||||||
/* renamed from: b.b.a.a.a$a reason: collision with other inner class name */
|
/* 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 */ int j;
|
||||||
public final /* synthetic */ Object k;
|
public final /* synthetic */ Object k;
|
||||||
|
|
||||||
public View$OnClickListenerC0051a(int i, Object obj) {
|
public View$OnClickListenerC0050a(int i, Object obj) {
|
||||||
this.j = i;
|
this.j = i;
|
||||||
this.k = obj;
|
this.k = obj;
|
||||||
}
|
}
|
||||||
|
@ -395,14 +395,14 @@ public class a extends AppCompatDialogFragment {
|
||||||
m.checkNotNullParameter(layoutInflater, "inflater");
|
m.checkNotNullParameter(layoutInflater, "inflater");
|
||||||
View inflate = layoutInflater.inflate(R.g.dialog_add_content_pager_with_fab, viewGroup, false);
|
View inflate = layoutInflater.inflate(R.g.dialog_add_content_pager_with_fab, viewGroup, false);
|
||||||
if (inflate != null) {
|
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.k = (ViewPager) inflate.findViewById(R.f.content_pager);
|
||||||
this.l = (TabLayout) inflate.findViewById(R.f.content_tabs);
|
this.l = (TabLayout) inflate.findViewById(R.f.content_tabs);
|
||||||
this.m = (FloatingActionButton) inflate.findViewById(R.f.action_btn);
|
this.m = (FloatingActionButton) inflate.findViewById(R.f.action_btn);
|
||||||
ImageView imageView = (ImageView) inflate.findViewById(R.f.launch_btn);
|
ImageView imageView = (ImageView) inflate.findViewById(R.f.launch_btn);
|
||||||
this.n = imageView;
|
this.n = imageView;
|
||||||
if (imageView != null) {
|
if (imageView != null) {
|
||||||
imageView.setOnClickListener(new View$OnClickListenerC0051a(1, this));
|
imageView.setOnClickListener(new View$OnClickListenerC0050a(1, this));
|
||||||
}
|
}
|
||||||
FloatingActionButton floatingActionButton = this.m;
|
FloatingActionButton floatingActionButton = this.m;
|
||||||
Objects.requireNonNull(floatingActionButton, "null cannot be cast to non-null type com.google.android.material.floatingactionbutton.FloatingActionButton");
|
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;
|
FloatingActionButton floatingActionButton2 = this.m;
|
||||||
if (floatingActionButton2 != null) {
|
if (floatingActionButton2 != null) {
|
||||||
floatingActionButton2.setOnClickListener(new View$OnClickListenerC0051a(2, parentFragment));
|
floatingActionButton2.setOnClickListener(new View$OnClickListenerC0050a(2, parentFragment));
|
||||||
}
|
}
|
||||||
this.o = flexInputFragment.b().addItemSelectionListener(this.r);
|
this.o = flexInputFragment.b().addItemSelectionListener(this.r);
|
||||||
FloatingActionButton floatingActionButton3 = this.m;
|
FloatingActionButton floatingActionButton3 = this.m;
|
||||||
|
|
|
@ -56,11 +56,11 @@ public final class h extends RecyclerView.Adapter<a> {
|
||||||
|
|
||||||
/* compiled from: MediaCursorAdapter.kt */
|
/* compiled from: MediaCursorAdapter.kt */
|
||||||
/* renamed from: b.b.a.d.h$a$a reason: collision with other inner class name */
|
/* 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;
|
public final /* synthetic */ boolean $isAnimationRequested;
|
||||||
|
|
||||||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
/* 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);
|
super(1);
|
||||||
this.$isAnimationRequested = z2;
|
this.$isAnimationRequested = z2;
|
||||||
}
|
}
|
||||||
|
@ -118,7 +118,7 @@ public final class h extends RecyclerView.Adapter<a> {
|
||||||
FrameLayout frameLayout = this.f317s.a;
|
FrameLayout frameLayout = this.f317s.a;
|
||||||
m.checkNotNullExpressionValue(frameLayout, "binding.root");
|
m.checkNotNullExpressionValue(frameLayout, "binding.root");
|
||||||
frameLayout.setSelected(z2);
|
frameLayout.setSelected(z2);
|
||||||
C0052a aVar = new C0052a(z3);
|
C0051a aVar = new C0051a(z3);
|
||||||
if (z2) {
|
if (z2) {
|
||||||
SimpleDraweeView simpleDraweeView = this.f317s.d;
|
SimpleDraweeView simpleDraweeView = this.f317s.d;
|
||||||
m.checkNotNullExpressionValue(simpleDraweeView, "binding.itemCheckIndicator");
|
m.checkNotNullExpressionValue(simpleDraweeView, "binding.itemCheckIndicator");
|
||||||
|
|
|
@ -9,10 +9,10 @@ public abstract class a {
|
||||||
|
|
||||||
/* compiled from: FlexInputEvent.kt */
|
/* compiled from: FlexInputEvent.kt */
|
||||||
/* renamed from: b.b.a.h.a$a reason: collision with other inner class name */
|
/* 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 class C0052a extends a {
|
||||||
public static final C0053a a = new C0053a();
|
public static final C0052a a = new C0052a();
|
||||||
|
|
||||||
public C0053a() {
|
public C0052a() {
|
||||||
super(null);
|
super(null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1166,7 +1166,7 @@ public class d {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void O1(b.C0086b bVar) {
|
public static void O1(b.C0085b bVar) {
|
||||||
bVar.k = -3.4028235E38f;
|
bVar.k = -3.4028235E38f;
|
||||||
bVar.j = Integer.MIN_VALUE;
|
bVar.j = Integer.MIN_VALUE;
|
||||||
CharSequence charSequence = bVar.a;
|
CharSequence charSequence = bVar.a;
|
||||||
|
|
|
@ -194,10 +194,10 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
||||||
|
|
||||||
/* compiled from: LottieDrawable */
|
/* compiled from: LottieDrawable */
|
||||||
/* renamed from: b.c.a.j$j reason: collision with other inner class name */
|
/* 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 final /* synthetic */ float a;
|
||||||
|
|
||||||
public C0054j(float f) {
|
public C0053j(float f) {
|
||||||
this.a = f;
|
this.a = f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -672,7 +672,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
||||||
public void t(float f2) {
|
public void t(float f2) {
|
||||||
d dVar = this.k;
|
d dVar = this.k;
|
||||||
if (dVar == null) {
|
if (dVar == null) {
|
||||||
this.p.add(new C0054j(f2));
|
this.p.add(new C0053j(f2));
|
||||||
} else {
|
} else {
|
||||||
r((int) b.c.a.b0.f.e(dVar.k, dVar.l, f2));
|
r((int) b.c.a.b0.f.e(dVar.k, dVar.l, f2));
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,7 +50,7 @@ public abstract class a implements a.b, k, e {
|
||||||
/* renamed from: b reason: collision with root package name */
|
/* renamed from: b reason: collision with root package name */
|
||||||
public final s f374b;
|
public final s f374b;
|
||||||
|
|
||||||
public b(s sVar, C0055a aVar) {
|
public b(s sVar, C0054a aVar) {
|
||||||
this.f374b = sVar;
|
this.f374b = sVar;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,7 +28,7 @@ public abstract class a<K, A> {
|
||||||
|
|
||||||
/* compiled from: BaseKeyframeAnimation */
|
/* compiled from: BaseKeyframeAnimation */
|
||||||
public static final class c<T> implements d<T> {
|
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
|
@Override // b.c.a.w.c.a.d
|
||||||
|
|
|
@ -422,7 +422,7 @@ public class a {
|
||||||
return str + j;
|
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);
|
Boolean bool = bVar.get(i);
|
||||||
m.checkNotNullExpressionValue(bool, str);
|
m.checkNotNullExpressionValue(bool, str);
|
||||||
return bool.booleanValue();
|
return bool.booleanValue();
|
||||||
|
|
|
@ -4,11 +4,11 @@ import com.discord.widgets.chat.input.MentionUtilsKt;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
/* compiled from: Log */
|
/* compiled from: Log */
|
||||||
public class a {
|
public class a {
|
||||||
public static C0057a a = new C0057a();
|
public static C0056a a = new C0056a();
|
||||||
|
|
||||||
/* compiled from: Log */
|
/* compiled from: Log */
|
||||||
/* renamed from: b.e.a.a$a reason: collision with other inner class name */
|
/* 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 long a = new Date().getTime();
|
||||||
|
|
||||||
public void a(int i, String str, String str2, Throwable th) {
|
public void a(int i, String str, String str2, Throwable th) {
|
||||||
|
|
|
@ -34,7 +34,7 @@ public class a implements c {
|
||||||
public class b implements b.f.d.c.a {
|
public class b implements b.f.d.c.a {
|
||||||
public final List<c.a> a = new ArrayList();
|
public final List<c.a> a = new ArrayList();
|
||||||
|
|
||||||
public b(C0058a aVar) {
|
public b(C0057a aVar) {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // b.f.d.c.a
|
@Override // b.f.d.c.a
|
||||||
|
@ -64,7 +64,7 @@ public class a implements c {
|
||||||
public long c = -1;
|
public long c = -1;
|
||||||
public long d = -1;
|
public long d = -1;
|
||||||
|
|
||||||
public c(String str, File file, C0058a aVar) {
|
public c(String str, File file, C0057a aVar) {
|
||||||
Objects.requireNonNull(str);
|
Objects.requireNonNull(str);
|
||||||
this.a = str;
|
this.a = str;
|
||||||
this.f456b = new b.f.a.a(file);
|
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 class g implements b.f.d.c.a {
|
||||||
public boolean a;
|
public boolean a;
|
||||||
|
|
||||||
public g(C0058a aVar) {
|
public g(C0057a aVar) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* JADX WARNING: Code restructure failed: missing block: B:7:0x002b, code lost:
|
/* JADX WARNING: Code restructure failed: missing block: B:7:0x002b, code lost:
|
||||||
|
|
|
@ -15,14 +15,14 @@ public class b extends AbstractExecutorService {
|
||||||
public final Executor l;
|
public final Executor l;
|
||||||
public volatile int m;
|
public volatile int m;
|
||||||
public final BlockingQueue<Runnable> n;
|
public final BlockingQueue<Runnable> n;
|
||||||
public final RunnableC0059b o;
|
public final RunnableC0058b o;
|
||||||
public final AtomicInteger p;
|
public final AtomicInteger p;
|
||||||
public final AtomicInteger q;
|
public final AtomicInteger q;
|
||||||
|
|
||||||
/* compiled from: ConstrainedExecutorService */
|
/* compiled from: ConstrainedExecutorService */
|
||||||
/* renamed from: b.f.d.b.b$b reason: collision with other inner class name */
|
/* renamed from: b.f.d.b.b$b reason: collision with other inner class name */
|
||||||
public class RunnableC0059b implements Runnable {
|
public class RunnableC0058b implements Runnable {
|
||||||
public RunnableC0059b(a aVar) {
|
public RunnableC0058b(a aVar) {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // java.lang.Runnable
|
@Override // java.lang.Runnable
|
||||||
|
@ -64,7 +64,7 @@ public class b extends AbstractExecutorService {
|
||||||
this.l = executor;
|
this.l = executor;
|
||||||
this.m = i;
|
this.m = i;
|
||||||
this.n = blockingQueue;
|
this.n = blockingQueue;
|
||||||
this.o = new RunnableC0059b(null);
|
this.o = new RunnableC0058b(null);
|
||||||
this.p = new AtomicInteger(0);
|
this.p = new AtomicInteger(0);
|
||||||
this.q = new AtomicInteger(0);
|
this.q = new AtomicInteger(0);
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -25,10 +25,10 @@ public class a extends b.f.h.b.a.a<ImageInfo> implements Closeable {
|
||||||
|
|
||||||
/* compiled from: ImagePerfControllerListener2 */
|
/* compiled from: ImagePerfControllerListener2 */
|
||||||
/* renamed from: b.f.g.a.a.h.i.a$a reason: collision with other inner class name */
|
/* 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 final g a;
|
||||||
|
|
||||||
public HandlerC0060a(@NonNull Looper looper, @NonNull g gVar) {
|
public HandlerC0059a(@NonNull Looper looper, @NonNull g gVar) {
|
||||||
super(looper);
|
super(looper);
|
||||||
this.a = gVar;
|
this.a = gVar;
|
||||||
}
|
}
|
||||||
|
@ -130,7 +130,7 @@ public class a extends b.f.h.b.a.a<ImageInfo> implements Closeable {
|
||||||
handlerThread.start();
|
handlerThread.start();
|
||||||
Looper looper = handlerThread.getLooper();
|
Looper looper = handlerThread.getLooper();
|
||||||
Objects.requireNonNull(looper);
|
Objects.requireNonNull(looper);
|
||||||
j = new HandlerC0060a(looper, this.m);
|
j = new HandlerC0059a(looper, this.m);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,9 +5,9 @@ public abstract class a {
|
||||||
|
|
||||||
/* compiled from: DeferredReleaser */
|
/* compiled from: DeferredReleaser */
|
||||||
/* renamed from: b.f.g.b.a$a reason: collision with other inner class name */
|
/* renamed from: b.f.g.b.a$a reason: collision with other inner class name */
|
||||||
public interface AbstractC0061a {
|
public interface AbstractC0060a {
|
||||||
void release();
|
void release();
|
||||||
}
|
}
|
||||||
|
|
||||||
public abstract void a(AbstractC0061a aVar);
|
public abstract void a(AbstractC0060a aVar);
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,8 +12,8 @@ public class b extends a {
|
||||||
/* renamed from: b reason: collision with root package name */
|
/* renamed from: b reason: collision with root package name */
|
||||||
public final Object f490b = new Object();
|
public final Object f490b = new Object();
|
||||||
public final Handler c = new Handler(Looper.getMainLooper());
|
public final Handler c = new Handler(Looper.getMainLooper());
|
||||||
public ArrayList<a.AbstractC0061a> d = new ArrayList<>();
|
public ArrayList<a.AbstractC0060a> d = new ArrayList<>();
|
||||||
public ArrayList<a.AbstractC0061a> e = new ArrayList<>();
|
public ArrayList<a.AbstractC0060a> e = new ArrayList<>();
|
||||||
public final Runnable f = new a();
|
public final Runnable f = new a();
|
||||||
|
|
||||||
/* compiled from: DeferredReleaserConcurrentImpl */
|
/* compiled from: DeferredReleaserConcurrentImpl */
|
||||||
|
@ -24,10 +24,10 @@ public class b extends a {
|
||||||
@Override // java.lang.Runnable
|
@Override // java.lang.Runnable
|
||||||
@MainThread
|
@MainThread
|
||||||
public void run() {
|
public void run() {
|
||||||
ArrayList<a.AbstractC0061a> arrayList;
|
ArrayList<a.AbstractC0060a> arrayList;
|
||||||
synchronized (b.this.f490b) {
|
synchronized (b.this.f490b) {
|
||||||
b bVar = b.this;
|
b bVar = b.this;
|
||||||
ArrayList<a.AbstractC0061a> arrayList2 = bVar.e;
|
ArrayList<a.AbstractC0060a> arrayList2 = bVar.e;
|
||||||
arrayList = bVar.d;
|
arrayList = bVar.d;
|
||||||
bVar.e = arrayList;
|
bVar.e = arrayList;
|
||||||
bVar.d = arrayList2;
|
bVar.d = arrayList2;
|
||||||
|
@ -42,7 +42,7 @@ public class b extends a {
|
||||||
|
|
||||||
@Override // b.f.g.b.a
|
@Override // b.f.g.b.a
|
||||||
@AnyThread
|
@AnyThread
|
||||||
public void a(a.AbstractC0061a aVar) {
|
public void a(a.AbstractC0060a aVar) {
|
||||||
synchronized (this.f490b) {
|
synchronized (this.f490b) {
|
||||||
this.d.remove(aVar);
|
this.d.remove(aVar);
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,7 @@ import androidx.annotation.VisibleForTesting;
|
||||||
/* compiled from: GestureDetector */
|
/* compiled from: GestureDetector */
|
||||||
public class a {
|
public class a {
|
||||||
@VisibleForTesting
|
@VisibleForTesting
|
||||||
public AbstractC0062a a = null;
|
public AbstractC0061a a = null;
|
||||||
@VisibleForTesting
|
@VisibleForTesting
|
||||||
|
|
||||||
/* renamed from: b reason: collision with root package name */
|
/* renamed from: b reason: collision with root package name */
|
||||||
|
@ -24,7 +24,7 @@ public class a {
|
||||||
|
|
||||||
/* compiled from: GestureDetector */
|
/* compiled from: GestureDetector */
|
||||||
/* renamed from: b.f.g.g.a$a reason: collision with other inner class name */
|
/* 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) {
|
public a(Context context) {
|
||||||
|
|
|
@ -38,8 +38,8 @@ public class a extends Drawable implements Animatable, b.f.f.a.a {
|
||||||
|
|
||||||
/* compiled from: AnimatedDrawable2 */
|
/* compiled from: AnimatedDrawable2 */
|
||||||
/* renamed from: b.f.h.a.c.a$a reason: collision with other inner class name */
|
/* renamed from: b.f.h.a.c.a$a reason: collision with other inner class name */
|
||||||
public class RunnableC0063a implements Runnable {
|
public class RunnableC0062a implements Runnable {
|
||||||
public RunnableC0063a() {
|
public RunnableC0062a() {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // java.lang.Runnable
|
@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) {
|
public a(b.f.h.a.a.a aVar) {
|
||||||
this.v = 8;
|
this.v = 8;
|
||||||
this.f530x = k;
|
this.f530x = k;
|
||||||
this.f532z = new RunnableC0063a();
|
this.f532z = new RunnableC0062a();
|
||||||
this.l = aVar;
|
this.l = aVar;
|
||||||
this.m = aVar == null ? null : new b.f.h.a.e.a(aVar);
|
this.m = aVar == null ? null : new b.f.h.a.e.a(aVar);
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,10 +11,10 @@ public class a {
|
||||||
|
|
||||||
/* compiled from: CloseableReferenceFactory */
|
/* compiled from: CloseableReferenceFactory */
|
||||||
/* renamed from: b.f.j.e.a$a reason: collision with other inner class name */
|
/* 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 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;
|
this.a = aVar2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -48,6 +48,6 @@ public class a {
|
||||||
}
|
}
|
||||||
|
|
||||||
public a(b.f.j.g.a aVar) {
|
public a(b.f.j.g.a aVar) {
|
||||||
this.a = new C0064a(this, aVar);
|
this.a = new C0063a(this, aVar);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,12 +18,12 @@ public class a implements b {
|
||||||
/* renamed from: b reason: collision with root package name */
|
/* renamed from: b reason: collision with root package name */
|
||||||
public final b f585b;
|
public final b f585b;
|
||||||
public final d c;
|
public final d c;
|
||||||
public final b d = new C0065a();
|
public final b d = new C0064a();
|
||||||
|
|
||||||
/* compiled from: DefaultImageDecoder */
|
/* compiled from: DefaultImageDecoder */
|
||||||
/* renamed from: b.f.j.h.a$a reason: collision with other inner class name */
|
/* renamed from: b.f.j.h.a$a reason: collision with other inner class name */
|
||||||
public class C0065a implements b {
|
public class C0064a implements b {
|
||||||
public C0065a() {
|
public C0064a() {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // b.f.j.h.b
|
@Override // b.f.j.h.b
|
||||||
|
|
|
@ -7,7 +7,7 @@ public class a implements w0<e> {
|
||||||
|
|
||||||
/* compiled from: AddImageTransformMetaDataProducer */
|
/* compiled from: AddImageTransformMetaDataProducer */
|
||||||
public static class b extends p<e, e> {
|
public static class b extends p<e, e> {
|
||||||
public b(l lVar, C0066a aVar) {
|
public b(l lVar, C0065a aVar) {
|
||||||
super(lVar);
|
super(lVar);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -34,8 +34,8 @@ public class c1 implements w0<e> {
|
||||||
|
|
||||||
/* compiled from: ResizeAndRotateProducer */
|
/* compiled from: ResizeAndRotateProducer */
|
||||||
/* renamed from: b.f.j.p.c1$a$a reason: collision with other inner class name */
|
/* renamed from: b.f.j.p.c1$a$a reason: collision with other inner class name */
|
||||||
public class C0067a implements c0.c {
|
public class C0066a implements c0.c {
|
||||||
public C0067a(c1 c1Var) {
|
public C0066a(c1 c1Var) {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // b.f.j.p.c0.c
|
@Override // b.f.j.p.c0.c
|
||||||
|
@ -116,7 +116,7 @@ public class c1 implements w0<e> {
|
||||||
Objects.requireNonNull(x0Var.e());
|
Objects.requireNonNull(x0Var.e());
|
||||||
this.c = z2;
|
this.c = z2;
|
||||||
this.d = cVar;
|
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));
|
x0Var.f(new b(c1.this, lVar));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ public final class a {
|
||||||
|
|
||||||
/* compiled from: BitmapUtil */
|
/* compiled from: BitmapUtil */
|
||||||
/* renamed from: b.f.k.a$a reason: collision with other inner class name */
|
/* 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;
|
public static final /* synthetic */ int[] a;
|
||||||
|
|
||||||
static {
|
static {
|
||||||
|
@ -74,7 +74,7 @@ public final class a {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static int b(Bitmap.Config config) {
|
public static int b(Bitmap.Config config) {
|
||||||
switch (C0068a.a[config.ordinal()]) {
|
switch (C0067a.a[config.ordinal()]) {
|
||||||
case 1:
|
case 1:
|
||||||
return 4;
|
return 4;
|
||||||
case 2:
|
case 2:
|
||||||
|
|
|
@ -13,11 +13,11 @@ public class a {
|
||||||
public final float[] e = new float[2];
|
public final float[] e = new float[2];
|
||||||
public final float[] f = new float[2];
|
public final float[] f = new float[2];
|
||||||
public final float[] g = new float[2];
|
public final float[] g = new float[2];
|
||||||
public AbstractC0069a h = null;
|
public AbstractC0068a h = null;
|
||||||
|
|
||||||
/* compiled from: MultiPointerGestureDetector */
|
/* compiled from: MultiPointerGestureDetector */
|
||||||
/* renamed from: b.f.l.a.a$a reason: collision with other inner class name */
|
/* renamed from: b.f.l.a.a$a reason: collision with other inner class name */
|
||||||
public interface AbstractC0069a {
|
public interface AbstractC0068a {
|
||||||
}
|
}
|
||||||
|
|
||||||
public a() {
|
public a() {
|
||||||
|
@ -36,7 +36,7 @@ public class a {
|
||||||
b bVar;
|
b bVar;
|
||||||
b.a aVar;
|
b.a aVar;
|
||||||
if (!this.a) {
|
if (!this.a) {
|
||||||
AbstractC0069a aVar2 = this.h;
|
AbstractC0068a aVar2 = this.h;
|
||||||
if (!(aVar2 == null || (aVar = (bVar = (b) aVar2).f645b) == null)) {
|
if (!(aVar2 == null || (aVar = (bVar = (b) aVar2).f645b) == null)) {
|
||||||
aVar.c(bVar);
|
aVar.c(bVar);
|
||||||
}
|
}
|
||||||
|
@ -48,7 +48,7 @@ public class a {
|
||||||
b.a aVar;
|
b.a aVar;
|
||||||
if (this.a) {
|
if (this.a) {
|
||||||
this.a = false;
|
this.a = false;
|
||||||
AbstractC0069a aVar2 = this.h;
|
AbstractC0068a aVar2 = this.h;
|
||||||
if (aVar2 != null && (aVar = ((b) aVar2).f645b) != null) {
|
if (aVar2 != null && (aVar = ((b) aVar2).f645b) != null) {
|
||||||
c cVar = (c) aVar;
|
c cVar = (c) aVar;
|
||||||
b.f.d.e.a.i(c.class, "onGestureEnd");
|
b.f.d.e.a.i(c.class, "onGestureEnd");
|
||||||
|
|
|
@ -2,7 +2,7 @@ package b.f.l.a;
|
||||||
|
|
||||||
import b.f.l.a.a;
|
import b.f.l.a.a;
|
||||||
/* compiled from: TransformGestureDetector */
|
/* compiled from: TransformGestureDetector */
|
||||||
public class b implements a.AbstractC0069a {
|
public class b implements a.AbstractC0068a {
|
||||||
public final a a;
|
public final a a;
|
||||||
|
|
||||||
/* renamed from: b reason: collision with root package name */
|
/* renamed from: b reason: collision with root package name */
|
||||||
|
|
|
@ -39,10 +39,10 @@ public class b extends a {
|
||||||
|
|
||||||
/* compiled from: AnimatedZoomableController */
|
/* compiled from: AnimatedZoomableController */
|
||||||
/* renamed from: b.f.l.b.b$b reason: collision with other inner class name */
|
/* 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 final /* synthetic */ Runnable a;
|
||||||
|
|
||||||
public C0070b(Runnable runnable) {
|
public C0069b(Runnable runnable) {
|
||||||
this.a = runnable;
|
this.a = runnable;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -98,7 +98,7 @@ public class b extends a {
|
||||||
this.h.getValues(this.n);
|
this.h.getValues(this.n);
|
||||||
matrix.getValues(this.o);
|
matrix.getValues(this.o);
|
||||||
this.f646s.addUpdateListener(new a());
|
this.f646s.addUpdateListener(new a());
|
||||||
this.f646s.addListener(new C0070b(runnable));
|
this.f646s.addListener(new C0069b(runnable));
|
||||||
this.f646s.start();
|
this.f646s.start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -177,7 +177,7 @@ public class c implements e, b.a {
|
||||||
if (r2 != 6) goto L_0x00ca;
|
if (r2 != 6) goto L_0x00ca;
|
||||||
*/
|
*/
|
||||||
public boolean h(MotionEvent motionEvent) {
|
public boolean h(MotionEvent motionEvent) {
|
||||||
a.AbstractC0069a aVar;
|
a.AbstractC0068a aVar;
|
||||||
b bVar;
|
b bVar;
|
||||||
b.a aVar2;
|
b.a aVar2;
|
||||||
motionEvent.getAction();
|
motionEvent.getAction();
|
||||||
|
|
|
@ -13,11 +13,11 @@ public class a extends f {
|
||||||
|
|
||||||
/* compiled from: ApkSoSource */
|
/* compiled from: ApkSoSource */
|
||||||
/* renamed from: b.f.m.a$a reason: collision with other inner class name */
|
/* 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 File n;
|
||||||
public final int o;
|
public final int o;
|
||||||
|
|
||||||
public C0071a(f fVar) throws IOException {
|
public C0070a(f fVar) throws IOException {
|
||||||
super(fVar);
|
super(fVar);
|
||||||
this.n = new File(a.this.c.getApplicationInfo().nativeLibraryDir);
|
this.n = new File(a.this.c.getApplicationInfo().nativeLibraryDir);
|
||||||
this.o = a.this.h;
|
this.o = a.this.h;
|
||||||
|
@ -84,6 +84,6 @@ public class a extends f {
|
||||||
|
|
||||||
@Override // b.f.m.m
|
@Override // b.f.m.m
|
||||||
public m.f i() throws IOException {
|
public m.f i() throws IOException {
|
||||||
return new C0071a(this);
|
return new C0070a(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -144,7 +144,7 @@ public class f extends m {
|
||||||
b bVar2 = bVarArr[i3];
|
b bVar2 = bVarArr[i3];
|
||||||
ZipEntry zipEntry2 = bVar2.l;
|
ZipEntry zipEntry2 = bVar2.l;
|
||||||
String str2 = bVar2.j;
|
String str2 = bVar2.j;
|
||||||
a.C0071a aVar = (a.C0071a) this;
|
a.C0070a aVar = (a.C0070a) this;
|
||||||
String name = zipEntry2.getName();
|
String name = zipEntry2.getName();
|
||||||
if (str2.equals(a.this.d)) {
|
if (str2.equals(a.this.d)) {
|
||||||
a.this.d = null;
|
a.this.d = null;
|
||||||
|
|
|
@ -8,7 +8,7 @@ public final class a implements Serializable {
|
||||||
private final int _maxLineLength;
|
private final int _maxLineLength;
|
||||||
public final String _name;
|
public final String _name;
|
||||||
private final char _paddingChar;
|
private final char _paddingChar;
|
||||||
private final EnumC0072a _paddingReadBehaviour;
|
private final EnumC0071a _paddingReadBehaviour;
|
||||||
private final boolean _writePadding;
|
private final boolean _writePadding;
|
||||||
public final transient int[] j;
|
public final transient int[] j;
|
||||||
public final transient char[] k;
|
public final transient char[] k;
|
||||||
|
@ -16,7 +16,7 @@ public final class a implements Serializable {
|
||||||
|
|
||||||
/* compiled from: Base64Variant */
|
/* compiled from: Base64Variant */
|
||||||
/* renamed from: b.g.a.b.a$a reason: collision with other inner class name */
|
/* renamed from: b.g.a.b.a$a reason: collision with other inner class name */
|
||||||
public enum EnumC0072a {
|
public enum EnumC0071a {
|
||||||
PADDING_FORBIDDEN,
|
PADDING_FORBIDDEN,
|
||||||
PADDING_REQUIRED,
|
PADDING_REQUIRED,
|
||||||
PADDING_ALLOWED
|
PADDING_ALLOWED
|
||||||
|
@ -30,7 +30,7 @@ public final class a implements Serializable {
|
||||||
this(aVar, str, z2, c, aVar._paddingReadBehaviour, i);
|
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];
|
int[] iArr = new int[128];
|
||||||
this.j = iArr;
|
this.j = iArr;
|
||||||
char[] cArr = new char[64];
|
char[] cArr = new char[64];
|
||||||
|
@ -72,7 +72,7 @@ public final class a implements Serializable {
|
||||||
if (z2) {
|
if (z2) {
|
||||||
this.j[c] = -2;
|
this.j[c] = -2;
|
||||||
}
|
}
|
||||||
this._paddingReadBehaviour = z2 ? EnumC0072a.PADDING_REQUIRED : EnumC0072a.PADDING_FORBIDDEN;
|
this._paddingReadBehaviour = z2 ? EnumC0071a.PADDING_REQUIRED : EnumC0071a.PADDING_FORBIDDEN;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
throw new IllegalArgumentException(b.d.b.a.a.q("Base64Alphabet length must be exactly 64 (was ", length, ")"));
|
throw new IllegalArgumentException(b.d.b.a.a.q("Base64Alphabet length must be exactly 64 (was ", length, ")"));
|
||||||
|
|
|
@ -15,8 +15,8 @@ public final class a {
|
||||||
|
|
||||||
/* compiled from: CharTypes */
|
/* compiled from: CharTypes */
|
||||||
/* renamed from: b.g.a.b.p.a$a reason: collision with other inner class name */
|
/* renamed from: b.g.a.b.p.a$a reason: collision with other inner class name */
|
||||||
public static class C0073a {
|
public static class C0072a {
|
||||||
public static final C0073a a = new C0073a();
|
public static final C0072a a = new C0072a();
|
||||||
|
|
||||||
/* renamed from: b reason: collision with root package name */
|
/* renamed from: b reason: collision with root package name */
|
||||||
public int[][] f662b = new int[128][];
|
public int[][] f662b = new int[128][];
|
||||||
|
|
|
@ -48,7 +48,7 @@ public class d extends b {
|
||||||
if (c == '\"') {
|
if (c == '\"') {
|
||||||
iArr = a.f;
|
iArr = a.f;
|
||||||
} else {
|
} else {
|
||||||
a.C0073a aVar = a.C0073a.a;
|
a.C0072a aVar = a.C0072a.a;
|
||||||
int[] iArr2 = aVar.f662b[c];
|
int[] iArr2 = aVar.f662b[c];
|
||||||
if (iArr2 == null) {
|
if (iArr2 == null) {
|
||||||
iArr2 = Arrays.copyOf(a.f, 128);
|
iArr2 = Arrays.copyOf(a.f, 128);
|
||||||
|
|
|
@ -6,8 +6,8 @@ public final class a {
|
||||||
|
|
||||||
/* compiled from: ByteQuadsCanonicalizer */
|
/* compiled from: ByteQuadsCanonicalizer */
|
||||||
/* renamed from: b.g.a.b.r.a$a reason: collision with other inner class name */
|
/* renamed from: b.g.a.b.r.a$a reason: collision with other inner class name */
|
||||||
public static final class C0074a {
|
public static final class C0073a {
|
||||||
public C0074a(int i, int i2, int i3, int[] iArr, String[] strArr, int i4, int i5) {
|
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 i5 = i3 << 3;
|
||||||
int i6 = i3 >> 2;
|
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() {
|
public static a a() {
|
||||||
|
|
|
@ -10,13 +10,13 @@ public final class b {
|
||||||
|
|
||||||
/* compiled from: CharsToNameCanonicalizer */
|
/* compiled from: CharsToNameCanonicalizer */
|
||||||
/* renamed from: b.g.a.b.r.b$b reason: collision with other inner class name */
|
/* renamed from: b.g.a.b.r.b$b reason: collision with other inner class name */
|
||||||
public static final class C0075b {
|
public static final class C0074b {
|
||||||
public C0075b(int i, int i2, String[] strArr, a[] aVarArr) {
|
public C0074b(int i, int i2, String[] strArr, a[] aVarArr) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public b(int i) {
|
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() {
|
public static b a() {
|
||||||
|
|
|
@ -6,7 +6,7 @@ public abstract class a {
|
||||||
|
|
||||||
/* compiled from: AccessorNamingStrategy */
|
/* compiled from: AccessorNamingStrategy */
|
||||||
/* renamed from: b.g.a.c.c0.a$a reason: collision with other inner class name */
|
/* 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;
|
private static final long serialVersionUID = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ public class w extends a {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* compiled from: DefaultAccessorNamingStrategy */
|
/* 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;
|
private static final long serialVersionUID = 1;
|
||||||
public final a _baseNameValidator = null;
|
public final a _baseNameValidator = null;
|
||||||
public final String _getterPrefix = "get";
|
public final String _getterPrefix = "get";
|
||||||
|
|
|
@ -384,10 +384,10 @@ public class x extends b implements Serializable {
|
||||||
i++;
|
i++;
|
||||||
cVar2 = null;
|
cVar2 = null;
|
||||||
}
|
}
|
||||||
b.AbstractC0077b[] props = bVar.props();
|
b.AbstractC0076b[] props = bVar.props();
|
||||||
int length2 = props.length;
|
int length2 = props.length;
|
||||||
for (int i2 = 0; i2 < length2; i2++) {
|
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.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());
|
b.g.a.c.t j03 = j0(bVar2.name(), bVar2.namespace());
|
||||||
j d = lVar.d(bVar2.type());
|
j d = lVar.d(bVar2.type());
|
||||||
|
|
|
@ -26,7 +26,7 @@ public @interface b {
|
||||||
|
|
||||||
/* compiled from: JsonAppend */
|
/* compiled from: JsonAppend */
|
||||||
/* renamed from: b.g.a.c.y.b$b reason: collision with other inner class name */
|
/* 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;
|
p.a include() default p.a.NON_NULL;
|
||||||
|
|
||||||
String name() default "";
|
String name() default "";
|
||||||
|
@ -44,5 +44,5 @@ public @interface b {
|
||||||
|
|
||||||
boolean prepend() default false;
|
boolean prepend() default false;
|
||||||
|
|
||||||
AbstractC0077b[] props() default {};
|
AbstractC0076b[] props() default {};
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@ import java.util.TimeZone;
|
||||||
public final class a implements Serializable {
|
public final class a implements Serializable {
|
||||||
public static final TimeZone j = TimeZone.getTimeZone("UTC");
|
public static final TimeZone j = TimeZone.getTimeZone("UTC");
|
||||||
private static final long serialVersionUID = 1;
|
private static final long serialVersionUID = 1;
|
||||||
public final a.AbstractC0076a _accessorNaming;
|
public final a.AbstractC0075a _accessorNaming;
|
||||||
public final b _annotationIntrospector;
|
public final b _annotationIntrospector;
|
||||||
public final t _classIntrospector;
|
public final t _classIntrospector;
|
||||||
public final DateFormat _dateFormat;
|
public final DateFormat _dateFormat;
|
||||||
|
@ -29,7 +29,7 @@ public final class a implements Serializable {
|
||||||
public final c _typeValidator;
|
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 */
|
/* 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._classIntrospector = tVar;
|
||||||
this._annotationIntrospector = bVar;
|
this._annotationIntrospector = bVar;
|
||||||
this._propertyNamingStrategy = uVar;
|
this._propertyNamingStrategy = uVar;
|
||||||
|
|
|
@ -31,8 +31,8 @@ public final class b implements b.i.c.p.g.a {
|
||||||
|
|
||||||
/* compiled from: AutoBatchedLogRequestEncoder */
|
/* compiled from: AutoBatchedLogRequestEncoder */
|
||||||
/* renamed from: b.i.a.b.i.e.b$b reason: collision with other inner class name */
|
/* 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 class C0077b implements b.i.c.p.c<j> {
|
||||||
public static final C0078b a = new C0078b();
|
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] */
|
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */
|
||||||
@Override // b.i.c.p.b
|
@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) {
|
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;
|
b.i.c.p.h.e eVar = (b.i.c.p.h.e) bVar;
|
||||||
eVar.f1758b.put(j.class, bVar2);
|
eVar.f1758b.put(j.class, bVar2);
|
||||||
eVar.c.remove(j.class);
|
eVar.c.remove(j.class);
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue