85.13 - Stable (85013)
This commit is contained in:
parent
d146377de6
commit
2e603407fa
|
@ -10,8 +10,8 @@ android {
|
|||
applicationId 'com.discord'
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 29
|
||||
versionCode 84015
|
||||
versionName "84.15 - Stable"
|
||||
versionCode 85013
|
||||
versionName "85.13 - Stable"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="84015" android:versionName="84.15 - Stable" 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="85013" android:versionName="85.13 - Stable" android:installLocation="auto" android:compileSdkVersion="30" android:compileSdkVersionCodename="11" package="com.discord" platformBuildVersionCode="30" platformBuildVersionName="11">
|
||||
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="29"/>
|
||||
<uses-feature android:name="android.hardware.camera" android:required="false"/>
|
||||
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>
|
||||
|
@ -174,8 +174,8 @@
|
|||
<meta-data android:name="firebase_crashlytics_collection_enabled" android:value="true"/>
|
||||
<meta-data android:name="com.google.android.nearby.messages.API_KEY" android:value="AIzaSyD-4L6bgKMixqBRtrG2UktVXK6IexXlsog"/>
|
||||
<meta-data android:name="com.google.android.actions" android:resource="@xml/actions"/>
|
||||
<meta-data android:name="libdiscord_version" android:value="89.0.6-poll-devices-fix"/>
|
||||
<activity android:theme="@style/res_2131952267_theme_appcompat_light_noactionbar" android:name="com.yalantis.ucrop.UCropActivity"/>
|
||||
<meta-data android:name="libdiscord_version" android:value="89.0.7-texture-crop-scale"/>
|
||||
<activity android:theme="@style/res_2131952264_theme_appcompat_light_noactionbar" android:name="com.yalantis.ucrop.UCropActivity"/>
|
||||
<service android:name="androidx.sharetarget.ChooserTargetServiceCompat" android:permission="android.permission.BIND_CHOOSER_TARGET_SERVICE">
|
||||
<intent-filter>
|
||||
<action android:name="android.service.chooser.ChooserTargetService"/>
|
||||
|
|
|
@ -25,10 +25,10 @@ public final class ContextAwareKt$withContextAvailable$$inlined$suspendCancellab
|
|||
CancellableContinuation cancellableContinuation = this.$co;
|
||||
try {
|
||||
k.a aVar = k.i;
|
||||
obj = k.m77constructorimpl(this.$onContextAvailable$inlined.invoke(context));
|
||||
obj = k.m75constructorimpl(this.$onContextAvailable$inlined.invoke(context));
|
||||
} catch (Throwable th) {
|
||||
k.a aVar2 = k.i;
|
||||
obj = k.m77constructorimpl(l.createFailure(th));
|
||||
obj = k.m75constructorimpl(l.createFailure(th));
|
||||
}
|
||||
cancellableContinuation.resumeWith(obj);
|
||||
}
|
||||
|
|
|
@ -36,10 +36,10 @@ public final class WithLifecycleStateKt$suspendWithStateAtLeastUnchecked$$inline
|
|||
Function0 function0 = this.$block$inlined;
|
||||
try {
|
||||
k.a aVar = k.i;
|
||||
obj = k.m77constructorimpl(function0.mo1invoke());
|
||||
obj = k.m75constructorimpl(function0.mo1invoke());
|
||||
} catch (Throwable th) {
|
||||
k.a aVar2 = k.i;
|
||||
obj = k.m77constructorimpl(l.createFailure(th));
|
||||
obj = k.m75constructorimpl(l.createFailure(th));
|
||||
}
|
||||
cancellableContinuation.resumeWith(obj);
|
||||
} else if (event == Lifecycle.Event.ON_DESTROY) {
|
||||
|
@ -47,7 +47,7 @@ public final class WithLifecycleStateKt$suspendWithStateAtLeastUnchecked$$inline
|
|||
CancellableContinuation cancellableContinuation2 = this.$co;
|
||||
LifecycleDestroyedException lifecycleDestroyedException = new LifecycleDestroyedException();
|
||||
k.a aVar3 = k.i;
|
||||
cancellableContinuation2.resumeWith(k.m77constructorimpl(l.createFailure(lifecycleDestroyedException)));
|
||||
cancellableContinuation2.resumeWith(k.m75constructorimpl(l.createFailure(lifecycleDestroyedException)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ public final class CoroutineWorker$await$$inlined$suspendCancellableCoroutine$la
|
|||
CancellableContinuation cancellableContinuation = this.$cancellableContinuation;
|
||||
V v = this.$this_await$inlined.get();
|
||||
k.a aVar = k.i;
|
||||
cancellableContinuation.resumeWith(k.m77constructorimpl(v));
|
||||
cancellableContinuation.resumeWith(k.m75constructorimpl(v));
|
||||
} catch (Throwable th) {
|
||||
Throwable cause = th.getCause();
|
||||
if (cause == null) {
|
||||
|
@ -33,7 +33,7 @@ public final class CoroutineWorker$await$$inlined$suspendCancellableCoroutine$la
|
|||
}
|
||||
CancellableContinuation cancellableContinuation2 = this.$cancellableContinuation;
|
||||
k.a aVar2 = k.i;
|
||||
cancellableContinuation2.resumeWith(k.m77constructorimpl(l.createFailure(cause)));
|
||||
cancellableContinuation2.resumeWith(k.m75constructorimpl(l.createFailure(cause)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ public final class CoroutineWorker$await$$inlined$suspendCancellableCoroutine$la
|
|||
CancellableContinuation cancellableContinuation = this.$cancellableContinuation;
|
||||
V v = this.$this_await$inlined.get();
|
||||
k.a aVar = k.i;
|
||||
cancellableContinuation.resumeWith(k.m77constructorimpl(v));
|
||||
cancellableContinuation.resumeWith(k.m75constructorimpl(v));
|
||||
} catch (Throwable th) {
|
||||
Throwable cause = th.getCause();
|
||||
if (cause == null) {
|
||||
|
@ -33,7 +33,7 @@ public final class CoroutineWorker$await$$inlined$suspendCancellableCoroutine$la
|
|||
}
|
||||
CancellableContinuation cancellableContinuation2 = this.$cancellableContinuation;
|
||||
k.a aVar2 = k.i;
|
||||
cancellableContinuation2.resumeWith(k.m77constructorimpl(l.createFailure(cause)));
|
||||
cancellableContinuation2.resumeWith(k.m75constructorimpl(l.createFailure(cause)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ public final class ListenableFutureKt$await$$inlined$suspendCancellableCoroutine
|
|||
CancellableContinuation cancellableContinuation = this.$cancellableContinuation;
|
||||
V v = this.$this_await$inlined.get();
|
||||
k.a aVar = k.i;
|
||||
cancellableContinuation.resumeWith(k.m77constructorimpl(v));
|
||||
cancellableContinuation.resumeWith(k.m75constructorimpl(v));
|
||||
} catch (Throwable th) {
|
||||
Throwable cause = th.getCause();
|
||||
if (cause == null) {
|
||||
|
@ -33,7 +33,7 @@ public final class ListenableFutureKt$await$$inlined$suspendCancellableCoroutine
|
|||
}
|
||||
CancellableContinuation cancellableContinuation2 = this.$cancellableContinuation;
|
||||
k.a aVar2 = k.i;
|
||||
cancellableContinuation2.resumeWith(k.m77constructorimpl(l.createFailure(cause)));
|
||||
cancellableContinuation2.resumeWith(k.m75constructorimpl(l.createFailure(cause)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ public final class ListenableFutureKt$await$$inlined$suspendCancellableCoroutine
|
|||
CancellableContinuation cancellableContinuation = this.$cancellableContinuation;
|
||||
V v = this.$this_await$inlined.get();
|
||||
k.a aVar = k.i;
|
||||
cancellableContinuation.resumeWith(k.m77constructorimpl(v));
|
||||
cancellableContinuation.resumeWith(k.m75constructorimpl(v));
|
||||
} catch (Throwable th) {
|
||||
Throwable cause = th.getCause();
|
||||
if (cause == null) {
|
||||
|
@ -33,7 +33,7 @@ public final class ListenableFutureKt$await$$inlined$suspendCancellableCoroutine
|
|||
}
|
||||
CancellableContinuation cancellableContinuation2 = this.$cancellableContinuation;
|
||||
k.a aVar2 = k.i;
|
||||
cancellableContinuation2.resumeWith(k.m77constructorimpl(l.createFailure(cause)));
|
||||
cancellableContinuation2.resumeWith(k.m75constructorimpl(l.createFailure(cause)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ public final class OperationKt$await$$inlined$suspendCancellableCoroutine$lambda
|
|||
CancellableContinuation cancellableContinuation = this.$cancellableContinuation;
|
||||
V v = this.$this_await$inlined.get();
|
||||
k.a aVar = k.i;
|
||||
cancellableContinuation.resumeWith(k.m77constructorimpl(v));
|
||||
cancellableContinuation.resumeWith(k.m75constructorimpl(v));
|
||||
} catch (Throwable th) {
|
||||
Throwable cause = th.getCause();
|
||||
if (cause == null) {
|
||||
|
@ -33,7 +33,7 @@ public final class OperationKt$await$$inlined$suspendCancellableCoroutine$lambda
|
|||
}
|
||||
CancellableContinuation cancellableContinuation2 = this.$cancellableContinuation;
|
||||
k.a aVar2 = k.i;
|
||||
cancellableContinuation2.resumeWith(k.m77constructorimpl(l.createFailure(cause)));
|
||||
cancellableContinuation2.resumeWith(k.m75constructorimpl(l.createFailure(cause)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ public final class OperationKt$await$$inlined$suspendCancellableCoroutine$lambda
|
|||
CancellableContinuation cancellableContinuation = this.$cancellableContinuation;
|
||||
V v = this.$this_await$inlined.get();
|
||||
k.a aVar = k.i;
|
||||
cancellableContinuation.resumeWith(k.m77constructorimpl(v));
|
||||
cancellableContinuation.resumeWith(k.m75constructorimpl(v));
|
||||
} catch (Throwable th) {
|
||||
Throwable cause = th.getCause();
|
||||
if (cause == null) {
|
||||
|
@ -33,7 +33,7 @@ public final class OperationKt$await$$inlined$suspendCancellableCoroutine$lambda
|
|||
}
|
||||
CancellableContinuation cancellableContinuation2 = this.$cancellableContinuation;
|
||||
k.a aVar2 = k.i;
|
||||
cancellableContinuation2.resumeWith(k.m77constructorimpl(l.createFailure(cause)));
|
||||
cancellableContinuation2.resumeWith(k.m75constructorimpl(l.createFailure(cause)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -113,38 +113,38 @@ public final class a extends AppDialog {
|
|||
int i2 = 2131362522;
|
||||
ImageView imageView = (ImageView) view2.findViewById(2131362522);
|
||||
if (imageView != null) {
|
||||
i2 = 2131363631;
|
||||
MaterialButton materialButton = (MaterialButton) view2.findViewById(2131363631);
|
||||
i2 = 2131363640;
|
||||
MaterialButton materialButton = (MaterialButton) view2.findViewById(2131363640);
|
||||
if (materialButton != null) {
|
||||
i2 = 2131363632;
|
||||
SwitchMaterial switchMaterial = (SwitchMaterial) view2.findViewById(2131363632);
|
||||
i2 = 2131363641;
|
||||
SwitchMaterial switchMaterial = (SwitchMaterial) view2.findViewById(2131363641);
|
||||
if (switchMaterial != null) {
|
||||
i2 = 2131363633;
|
||||
RelativeLayout relativeLayout = (RelativeLayout) view2.findViewById(2131363633);
|
||||
i2 = 2131363642;
|
||||
RelativeLayout relativeLayout = (RelativeLayout) view2.findViewById(2131363642);
|
||||
if (relativeLayout != null) {
|
||||
i2 = 2131363634;
|
||||
View findViewById = view2.findViewById(2131363634);
|
||||
i2 = 2131363643;
|
||||
View findViewById = view2.findViewById(2131363643);
|
||||
if (findViewById != null) {
|
||||
i2 = 2131363635;
|
||||
MaterialButton materialButton2 = (MaterialButton) view2.findViewById(2131363635);
|
||||
i2 = 2131363644;
|
||||
MaterialButton materialButton2 = (MaterialButton) view2.findViewById(2131363644);
|
||||
if (materialButton2 != null) {
|
||||
i2 = 2131363636;
|
||||
RelativeLayout relativeLayout2 = (RelativeLayout) view2.findViewById(2131363636);
|
||||
i2 = 2131363645;
|
||||
RelativeLayout relativeLayout2 = (RelativeLayout) view2.findViewById(2131363645);
|
||||
if (relativeLayout2 != null) {
|
||||
i2 = 2131363637;
|
||||
MaterialButton materialButton3 = (MaterialButton) view2.findViewById(2131363637);
|
||||
i2 = 2131363646;
|
||||
MaterialButton materialButton3 = (MaterialButton) view2.findViewById(2131363646);
|
||||
if (materialButton3 != null) {
|
||||
i2 = 2131363638;
|
||||
MaterialButton materialButton4 = (MaterialButton) view2.findViewById(2131363638);
|
||||
i2 = 2131363647;
|
||||
MaterialButton materialButton4 = (MaterialButton) view2.findViewById(2131363647);
|
||||
if (materialButton4 != null) {
|
||||
i2 = 2131363639;
|
||||
TextView textView = (TextView) view2.findViewById(2131363639);
|
||||
i2 = 2131363648;
|
||||
TextView textView = (TextView) view2.findViewById(2131363648);
|
||||
if (textView != null) {
|
||||
i2 = 2131364843;
|
||||
TextView textView2 = (TextView) view2.findViewById(2131364843);
|
||||
i2 = 2131364868;
|
||||
TextView textView2 = (TextView) view2.findViewById(2131364868);
|
||||
if (textView2 != null) {
|
||||
i2 = 2131364844;
|
||||
TextView textView3 = (TextView) view2.findViewById(2131364844);
|
||||
i2 = 2131364869;
|
||||
TextView textView3 = (TextView) view2.findViewById(2131364869);
|
||||
if (textView3 != null) {
|
||||
return new u((RelativeLayout) view2, imageView, materialButton, switchMaterial, relativeLayout, findViewById, materialButton2, relativeLayout2, materialButton3, materialButton4, textView, textView2, textView3);
|
||||
}
|
||||
|
@ -174,7 +174,7 @@ public final class a extends AppDialog {
|
|||
}
|
||||
|
||||
public a() {
|
||||
super(2131558528);
|
||||
super(2131558529);
|
||||
}
|
||||
|
||||
public final u g() {
|
||||
|
@ -191,7 +191,7 @@ public final class a extends AppDialog {
|
|||
boolean z2 = getArgumentsOrDefault().getBoolean("PARAM_IS_USER_PREMIUM");
|
||||
boolean z3 = this.l != null && getArgumentsOrDefault().getBoolean("PARAM_CAN_COMPRESS");
|
||||
int i3 = 8;
|
||||
int i4 = i2 != 8 ? i2 != 50 ? i2 != 100 ? i2 != 200 ? 0 : 2131888519 : 2131888518 : 2131888517 : 2131888520;
|
||||
int i4 = i2 != 8 ? i2 != 50 ? i2 != 100 ? i2 != 200 ? 0 : 2131888522 : 2131888521 : 2131888520 : 2131888523;
|
||||
MaterialButton materialButton = g().i;
|
||||
m.checkNotNullExpressionValue(materialButton, "binding.imageUploadFailedSendCompress");
|
||||
materialButton.setVisibility(z3 ? 0 : 8);
|
||||
|
@ -233,7 +233,7 @@ public final class a extends AppDialog {
|
|||
Object[] objArr = new Object[1];
|
||||
Context context2 = getContext();
|
||||
objArr[0] = context2 != null ? c.a.k.b.g(context2, i4, new Object[0], null, 4) : null;
|
||||
charSequence = c.a.k.b.g(context, 2131894348, objArr, null, 4);
|
||||
charSequence = c.a.k.b.g(context, 2131894429, objArr, null, 4);
|
||||
}
|
||||
} else {
|
||||
Context context3 = getContext();
|
||||
|
@ -241,7 +241,7 @@ public final class a extends AppDialog {
|
|||
Object[] objArr2 = new Object[1];
|
||||
Context context4 = getContext();
|
||||
objArr2[0] = context4 != null ? c.a.k.b.g(context4, i4, new Object[0], null, 4) : null;
|
||||
charSequence = c.a.k.b.g(context3, 2131894349, objArr2, null, 4);
|
||||
charSequence = c.a.k.b.g(context3, 2131894430, objArr2, null, 4);
|
||||
}
|
||||
}
|
||||
textView.setText(charSequence);
|
||||
|
|
|
@ -10,7 +10,7 @@ import c.a.a.b.f;
|
|||
import c.a.d.h0;
|
||||
import c.a.d.j0;
|
||||
import c.a.d.o;
|
||||
import c.a.i.l1;
|
||||
import c.a.i.n1;
|
||||
import com.discord.app.AppDialog;
|
||||
import com.discord.app.AppViewModel;
|
||||
import com.discord.models.user.User;
|
||||
|
@ -62,10 +62,10 @@ public final class a extends AppDialog {
|
|||
ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui$default(ObservableExtensionsKt.restSubscribeOn$default(RestAPI.addRelationship$default(h.l, "User Profile", h.k, 2, null, 8, null), false, 1, null), h, null, 2, null), f.class, (Context) null, (Function1) null, new h(h), (Function0) null, (Function0) null, new g(h), 54, (Object) null);
|
||||
} else if (i == 1) {
|
||||
KProperty[] kPropertyArr2 = a.i;
|
||||
((a) this.j).h().removeRelationship(2131894460);
|
||||
((a) this.j).h().removeRelationship(2131894544);
|
||||
} else if (i == 2) {
|
||||
KProperty[] kPropertyArr3 = a.i;
|
||||
((a) this.j).h().removeRelationship(2131888795);
|
||||
((a) this.j).h().removeRelationship(2131888801);
|
||||
} else {
|
||||
throw null;
|
||||
}
|
||||
|
@ -79,35 +79,35 @@ public final class a extends AppDialog {
|
|||
}
|
||||
|
||||
/* compiled from: UserActionsDialog.kt */
|
||||
public static final /* synthetic */ class c extends k implements Function1<View, l1> {
|
||||
public static final /* synthetic */ class c extends k implements Function1<View, n1> {
|
||||
public static final c i = new c();
|
||||
|
||||
public c() {
|
||||
super(1, l1.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/UserActionsDialogBinding;", 0);
|
||||
super(1, n1.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/UserActionsDialogBinding;", 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 l1 invoke(View view) {
|
||||
public n1 invoke(View view) {
|
||||
View view2 = view;
|
||||
m.checkNotNullParameter(view2, "p1");
|
||||
int i2 = 2131365509;
|
||||
SimpleDraweeView simpleDraweeView = (SimpleDraweeView) view2.findViewById(2131365509);
|
||||
int i2 = 2131365533;
|
||||
SimpleDraweeView simpleDraweeView = (SimpleDraweeView) view2.findViewById(2131365533);
|
||||
if (simpleDraweeView != null) {
|
||||
i2 = 2131365510;
|
||||
TextView textView = (TextView) view2.findViewById(2131365510);
|
||||
i2 = 2131365534;
|
||||
TextView textView = (TextView) view2.findViewById(2131365534);
|
||||
if (textView != null) {
|
||||
i2 = 2131365511;
|
||||
TextView textView2 = (TextView) view2.findViewById(2131365511);
|
||||
i2 = 2131365535;
|
||||
TextView textView2 = (TextView) view2.findViewById(2131365535);
|
||||
if (textView2 != null) {
|
||||
i2 = 2131365512;
|
||||
TextView textView3 = (TextView) view2.findViewById(2131365512);
|
||||
i2 = 2131365536;
|
||||
TextView textView3 = (TextView) view2.findViewById(2131365536);
|
||||
if (textView3 != null) {
|
||||
i2 = 2131365513;
|
||||
TextView textView4 = (TextView) view2.findViewById(2131365513);
|
||||
i2 = 2131365537;
|
||||
TextView textView4 = (TextView) view2.findViewById(2131365537);
|
||||
if (textView4 != null) {
|
||||
return new l1((LinearLayout) view2, simpleDraweeView, textView, textView2, textView3, textView4);
|
||||
return new n1((LinearLayout) view2, simpleDraweeView, textView, textView2, textView3, textView4);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -162,8 +162,8 @@ public final class a extends AppDialog {
|
|||
String str = aVar2.b;
|
||||
Context requireContext = aVar3.requireContext();
|
||||
m.checkNotNullExpressionValue(requireContext, "requireContext()");
|
||||
textView.setText(UserNameFormatterKt.getSpannableForUserNameWithDiscrim(user, str, requireContext, 2130968932, 2130969326, 2131427362, 2130968988, 2130969325, 2131427362));
|
||||
TextView textView2 = aVar3.g().f120c;
|
||||
textView.setText(UserNameFormatterKt.getSpannableForUserNameWithDiscrim(user, str, requireContext, 2130968932, 2130969327, 2131427362, 2130968989, 2130969326, 2131427362));
|
||||
TextView textView2 = aVar3.g().f131c;
|
||||
m.checkNotNullExpressionValue(textView2, "binding.userActionsDialogBlockItem");
|
||||
int i = 8;
|
||||
textView2.setVisibility(aVar2.f33c ? 0 : 8);
|
||||
|
@ -227,15 +227,15 @@ public final class a extends AppDialog {
|
|||
}
|
||||
|
||||
public a() {
|
||||
super(2131558713);
|
||||
super(2131558716);
|
||||
h hVar = new h(this);
|
||||
h0 h0Var = new h0(this);
|
||||
this.l = FragmentViewModelLazyKt.createViewModelLazy(this, a0.getOrCreateKotlinClass(f.class), new m(4, h0Var), new j0(hVar));
|
||||
this.m = new MGImages.DistinctChangeDetector();
|
||||
}
|
||||
|
||||
public final l1 g() {
|
||||
return (l1) this.k.getValue((Fragment) this, i[0]);
|
||||
public final n1 g() {
|
||||
return (n1) this.k.getValue((Fragment) this, i[0]);
|
||||
}
|
||||
|
||||
public final f h() {
|
||||
|
@ -246,7 +246,7 @@ public final class a extends AppDialog {
|
|||
public void onViewBound(View view) {
|
||||
m.checkNotNullParameter(view, "view");
|
||||
super.onViewBound(view);
|
||||
g().f120c.setOnClickListener(new View$OnClickListenerC0002a(0, this));
|
||||
g().f131c.setOnClickListener(new View$OnClickListenerC0002a(0, this));
|
||||
g().e.setOnClickListener(new View$OnClickListenerC0002a(1, this));
|
||||
g().d.setOnClickListener(new View$OnClickListenerC0002a(2, this));
|
||||
}
|
||||
|
|
|
@ -29,7 +29,7 @@ public final class b extends o implements Function1<f.c, Unit> {
|
|||
Objects.requireNonNull(fVar);
|
||||
User user = cVar2.a;
|
||||
if (user == null) {
|
||||
fVar.j.j.onNext(new f.b.a(2131888053));
|
||||
fVar.j.j.onNext(new f.b.a(2131888056));
|
||||
} else {
|
||||
int type = ModelUserRelationship.getType(cVar2.b);
|
||||
boolean z2 = type != 2;
|
||||
|
|
|
@ -246,7 +246,7 @@ public final class f extends AppViewModel<d> {
|
|||
public Unit invoke(Error error) {
|
||||
m.checkNotNullParameter(error, "it");
|
||||
PublishSubject<b> publishSubject = this.this$0.j;
|
||||
publishSubject.j.onNext(new b.a(2131888053));
|
||||
publishSubject.j.onNext(new b.a(2131888056));
|
||||
return Unit.a;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ public final class g extends o implements Function1<Void, Unit> {
|
|||
@Override // kotlin.jvm.functions.Function1
|
||||
public Unit invoke(Void r3) {
|
||||
PublishSubject<f.b> publishSubject = this.this$0.j;
|
||||
publishSubject.j.onNext(new f.b.C0003b(2131894459));
|
||||
publishSubject.j.onNext(new f.b.C0003b(2131894543));
|
||||
return Unit.a;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@ public final class h extends o implements Function1<Error, Unit> {
|
|||
public Unit invoke(Error error) {
|
||||
m.checkNotNullParameter(error, "it");
|
||||
PublishSubject<f.b> publishSubject = this.this$0.j;
|
||||
publishSubject.j.onNext(new f.b.a(2131888053));
|
||||
publishSubject.j.onNext(new f.b.a(2131888056));
|
||||
return Unit.a;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -115,26 +115,26 @@ public final class a extends AppDialog {
|
|||
int i2 = 2131361898;
|
||||
ProgressBar progressBar = (ProgressBar) view2.findViewById(2131361898);
|
||||
if (progressBar != null) {
|
||||
i2 = 2131364128;
|
||||
LinearLayout linearLayout = (LinearLayout) view2.findViewById(2131364128);
|
||||
i2 = 2131364140;
|
||||
LinearLayout linearLayout = (LinearLayout) view2.findViewById(2131364140);
|
||||
if (linearLayout != null) {
|
||||
i2 = 2131364357;
|
||||
TextView textView = (TextView) view2.findViewById(2131364357);
|
||||
i2 = 2131364379;
|
||||
TextView textView = (TextView) view2.findViewById(2131364379);
|
||||
if (textView != null) {
|
||||
i2 = 2131364358;
|
||||
LoadingButton loadingButton = (LoadingButton) view2.findViewById(2131364358);
|
||||
i2 = 2131364380;
|
||||
LoadingButton loadingButton = (LoadingButton) view2.findViewById(2131364380);
|
||||
if (loadingButton != null) {
|
||||
i2 = 2131364359;
|
||||
TextView textView2 = (TextView) view2.findViewById(2131364359);
|
||||
i2 = 2131364381;
|
||||
TextView textView2 = (TextView) view2.findViewById(2131364381);
|
||||
if (textView2 != null) {
|
||||
i2 = 2131364360;
|
||||
AppViewFlipper appViewFlipper = (AppViewFlipper) view2.findViewById(2131364360);
|
||||
i2 = 2131364382;
|
||||
AppViewFlipper appViewFlipper = (AppViewFlipper) view2.findViewById(2131364382);
|
||||
if (appViewFlipper != null) {
|
||||
i2 = 2131364361;
|
||||
TextView textView3 = (TextView) view2.findViewById(2131364361);
|
||||
i2 = 2131364383;
|
||||
TextView textView3 = (TextView) view2.findViewById(2131364383);
|
||||
if (textView3 != null) {
|
||||
i2 = 2131364362;
|
||||
MaterialButton materialButton = (MaterialButton) view2.findViewById(2131364362);
|
||||
i2 = 2131364384;
|
||||
MaterialButton materialButton = (MaterialButton) view2.findViewById(2131364384);
|
||||
if (materialButton != null) {
|
||||
return new w0((LinearLayout) view2, progressBar, linearLayout, textView, loadingButton, textView2, appViewFlipper, textView3, materialButton);
|
||||
}
|
||||
|
@ -181,7 +181,7 @@ public final class a extends AppDialog {
|
|||
m.checkNotNullExpressionValue(materialButton2, "binding.premiumGuildSubscriptionCancelNevermind");
|
||||
ViewExtensions.setEnabledAndAlpha$default(materialButton2, cVar2.f34c, 0.0f, 2, null);
|
||||
aVar.setCancelable(cVar2.e);
|
||||
aVar.g().f174c.setIsLoading(cVar2.d);
|
||||
aVar.g().f178c.setIsLoading(cVar2.d);
|
||||
AppViewFlipper appViewFlipper = aVar.g().e;
|
||||
m.checkNotNullExpressionValue(appViewFlipper, "binding.premiumGuildSubscriptionCancelFlipper");
|
||||
appViewFlipper.setDisplayedChild(!(cVar2 instanceof f.c.C0009f) ? 1 : 0);
|
||||
|
@ -195,26 +195,26 @@ public final class a extends AppDialog {
|
|||
if (eVar.g) {
|
||||
TextView textView2 = aVar.g().b;
|
||||
m.checkNotNullExpressionValue(textView2, "binding.premiumGuildSubscriptionCancelBody");
|
||||
c.a.k.b.m(textView2, 2131892232, new Object[]{renderUtcDate$default}, null, 4);
|
||||
c.a.k.b.m(textView2, 2131892281, new Object[]{renderUtcDate$default}, null, 4);
|
||||
} else {
|
||||
TextView textView3 = aVar.g().b;
|
||||
m.checkNotNullExpressionValue(textView3, "binding.premiumGuildSubscriptionCancelBody");
|
||||
c.a.k.b.m(textView3, 2131892231, new Object[]{renderUtcDate$default}, null, 4);
|
||||
c.a.k.b.m(textView3, 2131892280, new Object[]{renderUtcDate$default}, null, 4);
|
||||
}
|
||||
aVar.g().f174c.setBackgroundColor(ColorCompat.getColor(aVar, 2131100324));
|
||||
aVar.g().f178c.setBackgroundColor(ColorCompat.getColor(aVar, 2131100325));
|
||||
} else if (cVar2 instanceof f.c.b) {
|
||||
TextView textView4 = aVar.g().f;
|
||||
m.checkNotNullExpressionValue(textView4, "binding.premiumGuildSubscriptionCancelHeader");
|
||||
textView4.setText(aVar.getString(2131892243));
|
||||
textView4.setText(aVar.getString(2131892292));
|
||||
TextView textView5 = aVar.g().b;
|
||||
m.checkNotNullExpressionValue(textView5, "binding.premiumGuildSubscriptionCancelBody");
|
||||
TimeUtils timeUtils2 = TimeUtils.INSTANCE;
|
||||
String currentPeriodEnd2 = ((f.c.b) cVar2).f.getCurrentPeriodEnd();
|
||||
Context requireContext2 = aVar.requireContext();
|
||||
m.checkNotNullExpressionValue(requireContext2, "requireContext()");
|
||||
c.a.k.b.m(textView5, 2131892244, new Object[]{TimeUtils.renderUtcDate$default(timeUtils2, currentPeriodEnd2, requireContext2, (String) null, (DateFormat) null, 0, 28, (Object) null)}, null, 4);
|
||||
aVar.g().f174c.setText(aVar.getString(2131891822));
|
||||
aVar.g().f174c.setBackgroundColor(ColorCompat.getThemedColor(aVar, 2130969007));
|
||||
c.a.k.b.m(textView5, 2131892293, new Object[]{TimeUtils.renderUtcDate$default(timeUtils2, currentPeriodEnd2, requireContext2, (String) null, (DateFormat) null, 0, 28, (Object) null)}, null, 4);
|
||||
aVar.g().f178c.setText(aVar.getString(2131891868));
|
||||
aVar.g().f178c.setBackgroundColor(ColorCompat.getThemedColor(aVar, 2130969008));
|
||||
} else if (cVar2 instanceof f.c.C0008c) {
|
||||
Integer num = ((f.c.C0008c) cVar2).f;
|
||||
if (num != null) {
|
||||
|
@ -266,7 +266,7 @@ public final class a extends AppDialog {
|
|||
}
|
||||
|
||||
public a() {
|
||||
super(2131558641);
|
||||
super(2131558644);
|
||||
f fVar = new f(this);
|
||||
h0 h0Var = new h0(this);
|
||||
this.l = FragmentViewModelLazyKt.createViewModelLazy(this, a0.getOrCreateKotlinClass(f.class), new m(2, h0Var), new j0(fVar));
|
||||
|
@ -282,7 +282,7 @@ public final class a extends AppDialog {
|
|||
m.checkNotNullParameter(view, "view");
|
||||
super.onViewBound(view);
|
||||
g().g.setOnClickListener(new View$OnClickListenerC0005a(0, this));
|
||||
g().f174c.setOnClickListener(new View$OnClickListenerC0005a(1, this));
|
||||
g().f178c.setOnClickListener(new View$OnClickListenerC0005a(1, this));
|
||||
}
|
||||
|
||||
@Override // com.discord.app.AppDialog
|
||||
|
|
|
@ -112,29 +112,29 @@ public final class b extends AppDialog {
|
|||
public x0 invoke(View view) {
|
||||
View view2 = view;
|
||||
m.checkNotNullParameter(view2, "p1");
|
||||
int i2 = 2131364128;
|
||||
LinearLayout linearLayout = (LinearLayout) view2.findViewById(2131364128);
|
||||
int i2 = 2131364140;
|
||||
LinearLayout linearLayout = (LinearLayout) view2.findViewById(2131364140);
|
||||
if (linearLayout != null) {
|
||||
i2 = 2131364363;
|
||||
TextView textView = (TextView) view2.findViewById(2131364363);
|
||||
i2 = 2131364385;
|
||||
TextView textView = (TextView) view2.findViewById(2131364385);
|
||||
if (textView != null) {
|
||||
i2 = 2131364364;
|
||||
LoadingButton loadingButton = (LoadingButton) view2.findViewById(2131364364);
|
||||
i2 = 2131364386;
|
||||
LoadingButton loadingButton = (LoadingButton) view2.findViewById(2131364386);
|
||||
if (loadingButton != null) {
|
||||
i2 = 2131364365;
|
||||
TextView textView2 = (TextView) view2.findViewById(2131364365);
|
||||
i2 = 2131364387;
|
||||
TextView textView2 = (TextView) view2.findViewById(2131364387);
|
||||
if (textView2 != null) {
|
||||
i2 = 2131364366;
|
||||
AppViewFlipper appViewFlipper = (AppViewFlipper) view2.findViewById(2131364366);
|
||||
i2 = 2131364388;
|
||||
AppViewFlipper appViewFlipper = (AppViewFlipper) view2.findViewById(2131364388);
|
||||
if (appViewFlipper != null) {
|
||||
i2 = 2131364367;
|
||||
TextView textView3 = (TextView) view2.findViewById(2131364367);
|
||||
i2 = 2131364389;
|
||||
TextView textView3 = (TextView) view2.findViewById(2131364389);
|
||||
if (textView3 != null) {
|
||||
i2 = 2131364368;
|
||||
ImageView imageView = (ImageView) view2.findViewById(2131364368);
|
||||
i2 = 2131364390;
|
||||
ImageView imageView = (ImageView) view2.findViewById(2131364390);
|
||||
if (imageView != null) {
|
||||
i2 = 2131364369;
|
||||
MaterialButton materialButton = (MaterialButton) view2.findViewById(2131364369);
|
||||
i2 = 2131364391;
|
||||
MaterialButton materialButton = (MaterialButton) view2.findViewById(2131364391);
|
||||
if (materialButton != null) {
|
||||
return new x0((LinearLayout) view2, linearLayout, textView, loadingButton, textView2, appViewFlipper, textView3, imageView, materialButton);
|
||||
}
|
||||
|
@ -185,7 +185,7 @@ public final class b extends AppDialog {
|
|||
MaterialButton materialButton2 = bVar.g().h;
|
||||
m.checkNotNullExpressionValue(materialButton2, "binding.premiumGuildSubscriptionUncancelNevermind");
|
||||
ViewExtensions.setEnabledAndAlpha$default(materialButton2, z3 && !((k.c.b) cVar2).b, 0.0f, 2, null);
|
||||
bVar.g().f180c.setIsLoading(z3 && ((k.c.b) cVar2).b);
|
||||
bVar.g().f183c.setIsLoading(z3 && ((k.c.b) cVar2).b);
|
||||
k.c.C0010c cVar3 = k.c.C0010c.a;
|
||||
if (!(!m.areEqual(cVar2, cVar3)) || !z3 || ((k.c.b) cVar2).b) {
|
||||
z2 = false;
|
||||
|
@ -195,21 +195,21 @@ public final class b extends AppDialog {
|
|||
if (z3) {
|
||||
TextView textView2 = bVar.g().f;
|
||||
m.checkNotNullExpressionValue(textView2, "binding.premiumGuildSubscriptionUncancelHeader");
|
||||
textView2.setText(bVar.getString(2131892267));
|
||||
textView2.setText(bVar.getString(2131892316));
|
||||
TextView textView3 = bVar.g().b;
|
||||
m.checkNotNullExpressionValue(textView3, "binding.premiumGuildSubscriptionUncancelBody");
|
||||
textView3.setText(bVar.getString(2131892264));
|
||||
textView3.setText(bVar.getString(2131892313));
|
||||
} else if (m.areEqual(cVar2, k.c.d.a)) {
|
||||
TextView textView4 = bVar.g().f;
|
||||
m.checkNotNullExpressionValue(textView4, "binding.premiumGuildSubscriptionUncancelHeader");
|
||||
textView4.setText(bVar.getString(2131892263));
|
||||
textView4.setText(bVar.getString(2131892312));
|
||||
ImageView imageView = bVar.g().g;
|
||||
m.checkNotNullExpressionValue(imageView, "binding.premiumGuildSubscriptionUncancelImage");
|
||||
imageView.setVisibility(0);
|
||||
TextView textView5 = bVar.g().b;
|
||||
m.checkNotNullExpressionValue(textView5, "binding.premiumGuildSubscriptionUncancelBody");
|
||||
textView5.setText(bVar.getString(2131892262));
|
||||
bVar.g().f180c.setText(bVar.getString(2131891822));
|
||||
textView5.setText(bVar.getString(2131892311));
|
||||
bVar.g().f183c.setText(bVar.getString(2131891868));
|
||||
} else if (cVar2 instanceof k.c.a) {
|
||||
Integer num = ((k.c.a) cVar2).a;
|
||||
if (num != null) {
|
||||
|
@ -262,7 +262,7 @@ public final class b extends AppDialog {
|
|||
}
|
||||
|
||||
public b() {
|
||||
super(2131558642);
|
||||
super(2131558645);
|
||||
f fVar = new f(this);
|
||||
h0 h0Var = new h0(this);
|
||||
this.l = FragmentViewModelLazyKt.createViewModelLazy(this, a0.getOrCreateKotlinClass(k.class), new m(3, h0Var), new j0(fVar));
|
||||
|
@ -278,7 +278,7 @@ public final class b extends AppDialog {
|
|||
m.checkNotNullParameter(view, "view");
|
||||
super.onViewBound(view);
|
||||
g().h.setOnClickListener(new a(0, this));
|
||||
g().f180c.setOnClickListener(new a(1, this));
|
||||
g().f183c.setOnClickListener(new a(1, this));
|
||||
}
|
||||
|
||||
@Override // com.discord.app.AppDialog
|
||||
|
|
|
@ -41,8 +41,8 @@ public final class c extends AppDialog {
|
|||
m.checkNotNullParameter(fragmentManager, "fragmentManager");
|
||||
m.checkNotNullParameter(context, "context");
|
||||
m.checkNotNullParameter(function0, "dismissListener");
|
||||
CharSequence g = z2 ? c.a.k.b.g(context, 2131890052, new Object[0], null, 4) : c.a.k.b.g(context, 2131890035, new Object[0], null, 4);
|
||||
CharSequence g2 = str == null ? c.a.k.b.g(context, 2131890037, new Object[]{StringResourceUtilsKt.getI18nPluralString(context, 2131755180, i, Integer.valueOf(i))}, null, 4) : z2 ? c.a.k.b.g(context, 2131890053, new Object[]{str, StringResourceUtilsKt.getI18nPluralString(context, 2131755181, i, Integer.valueOf(i))}, null, 4) : c.a.k.b.g(context, 2131890036, new Object[]{str, StringResourceUtilsKt.getI18nPluralString(context, 2131755178, i, Integer.valueOf(i))}, null, 4);
|
||||
CharSequence g = z2 ? c.a.k.b.g(context, 2131890092, new Object[0], null, 4) : c.a.k.b.g(context, 2131890075, new Object[0], null, 4);
|
||||
CharSequence g2 = str == null ? c.a.k.b.g(context, 2131890077, new Object[]{StringResourceUtilsKt.getI18nPluralString(context, 2131755182, i, Integer.valueOf(i))}, null, 4) : z2 ? c.a.k.b.g(context, 2131890093, new Object[]{str, StringResourceUtilsKt.getI18nPluralString(context, 2131755183, i, Integer.valueOf(i))}, null, 4) : c.a.k.b.g(context, 2131890076, new Object[]{str, StringResourceUtilsKt.getI18nPluralString(context, 2131755180, i, Integer.valueOf(i))}, null, 4);
|
||||
c cVar = new c();
|
||||
cVar.m = function0;
|
||||
Bundle bundle = new Bundle();
|
||||
|
@ -67,17 +67,17 @@ public final class c extends AppDialog {
|
|||
public v0 invoke(View view) {
|
||||
View view2 = view;
|
||||
m.checkNotNullParameter(view2, "p1");
|
||||
int i2 = 2131364353;
|
||||
TextView textView = (TextView) view2.findViewById(2131364353);
|
||||
int i2 = 2131364375;
|
||||
TextView textView = (TextView) view2.findViewById(2131364375);
|
||||
if (textView != null) {
|
||||
i2 = 2131364354;
|
||||
TextView textView2 = (TextView) view2.findViewById(2131364354);
|
||||
i2 = 2131364376;
|
||||
TextView textView2 = (TextView) view2.findViewById(2131364376);
|
||||
if (textView2 != null) {
|
||||
i2 = 2131364355;
|
||||
LottieAnimationView lottieAnimationView = (LottieAnimationView) view2.findViewById(2131364355);
|
||||
i2 = 2131364377;
|
||||
LottieAnimationView lottieAnimationView = (LottieAnimationView) view2.findViewById(2131364377);
|
||||
if (lottieAnimationView != null) {
|
||||
i2 = 2131364356;
|
||||
MaterialButton materialButton = (MaterialButton) view2.findViewById(2131364356);
|
||||
i2 = 2131364378;
|
||||
MaterialButton materialButton = (MaterialButton) view2.findViewById(2131364378);
|
||||
if (materialButton != null) {
|
||||
return new v0((LinearLayout) view2, textView, textView2, lottieAnimationView, materialButton);
|
||||
}
|
||||
|
@ -104,7 +104,7 @@ public final class c extends AppDialog {
|
|||
}
|
||||
|
||||
public c() {
|
||||
super(2131558640);
|
||||
super(2131558643);
|
||||
}
|
||||
|
||||
public final v0 g() {
|
||||
|
@ -129,7 +129,7 @@ public final class c extends AppDialog {
|
|||
Bundle arguments = getArguments();
|
||||
CharSequence charSequence = null;
|
||||
textView.setText(arguments != null ? arguments.getCharSequence("extra_body1_text") : null);
|
||||
TextView textView2 = g().f171c;
|
||||
TextView textView2 = g().f173c;
|
||||
m.checkNotNullExpressionValue(textView2, "binding.premiumGuildSubscriptionActivatedBody2");
|
||||
Bundle arguments2 = getArguments();
|
||||
if (arguments2 != null) {
|
||||
|
@ -139,6 +139,6 @@ public final class c extends AppDialog {
|
|||
g().e.setOnClickListener(new View$OnClickListenerC0007c(this));
|
||||
LottieAnimationView lottieAnimationView = g().d;
|
||||
m.checkNotNullExpressionValue(lottieAnimationView, "binding.premiumGuildSubscriptionActivatedLottie");
|
||||
LottieAnimationUtilsKt.loopFrom(lottieAnimationView, 180, j);
|
||||
LottieAnimationUtilsKt.loopFrom$default(lottieAnimationView, 180, j, false, 4, null);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -39,13 +39,13 @@ public final class d extends o implements Function1<f.b, Unit> {
|
|||
if ((state instanceof StorePremiumGuildSubscription.State.Loading) || (subscriptionsState instanceof StoreSubscriptions.SubscriptionsState.Loading)) {
|
||||
obj = f.c.C0009f.f;
|
||||
} else if ((state instanceof StorePremiumGuildSubscription.State.Failure) || (subscriptionsState instanceof StoreSubscriptions.SubscriptionsState.Failure)) {
|
||||
obj = new f.c.C0008c(2131892237);
|
||||
obj = new f.c.C0008c(2131892286);
|
||||
} else if (!(state instanceof StorePremiumGuildSubscription.State.Loaded) || !(subscriptionsState instanceof StoreSubscriptions.SubscriptionsState.Loaded)) {
|
||||
obj = new f.c.C0008c(2131892237);
|
||||
obj = new f.c.C0008c(2131892286);
|
||||
} else {
|
||||
ModelSubscription modelSubscription = (ModelSubscription) u.firstOrNull((List<? extends Object>) ((StoreSubscriptions.SubscriptionsState.Loaded) subscriptionsState).getSubscriptions());
|
||||
if (modelSubscription == null) {
|
||||
obj = new f.c.C0008c(2131892237);
|
||||
obj = new f.c.C0008c(2131892286);
|
||||
} else if (fVar.getViewState() instanceof f.c.b) {
|
||||
obj = new f.c.b(modelSubscription);
|
||||
} else {
|
||||
|
|
|
@ -32,10 +32,10 @@ public final class i extends o implements Function1<k.b, Unit> {
|
|||
if (subscriptionsState instanceof StoreSubscriptions.SubscriptionsState.Loading) {
|
||||
obj = k.c.C0010c.a;
|
||||
} else if (subscriptionsState instanceof StoreSubscriptions.SubscriptionsState.Failure) {
|
||||
obj = new k.c.a(2131892237);
|
||||
obj = new k.c.a(2131892286);
|
||||
} else if (subscriptionsState instanceof StoreSubscriptions.SubscriptionsState.Loaded) {
|
||||
ModelSubscription modelSubscription = (ModelSubscription) u.firstOrNull((List<? extends Object>) ((StoreSubscriptions.SubscriptionsState.Loaded) subscriptionsState).getSubscriptions());
|
||||
obj = modelSubscription == null ? new k.c.a(2131892237) : new k.c.b(modelSubscription, false, false);
|
||||
obj = modelSubscription == null ? new k.c.a(2131892286) : new k.c.b(modelSubscription, false, false);
|
||||
} else {
|
||||
obj = new k.c.a(null, 1);
|
||||
}
|
||||
|
|
|
@ -0,0 +1,206 @@
|
|||
package c.a.a.d;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.Bundle;
|
||||
import android.view.View;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.RelativeLayout;
|
||||
import android.widget.TextView;
|
||||
import androidx.fragment.app.Fragment;
|
||||
import androidx.fragment.app.FragmentManager;
|
||||
import c.a.i.y0;
|
||||
import com.discord.app.AppDialog;
|
||||
import com.discord.utilities.analytics.AnalyticsTracker;
|
||||
import com.discord.utilities.analytics.Traits;
|
||||
import com.discord.utilities.viewbinding.FragmentViewBindingDelegate;
|
||||
import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt;
|
||||
import com.discord.widgets.servers.premiumguild.WidgetPremiumGuildSubscription;
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
import d0.z.d.k;
|
||||
import d0.z.d.m;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.reflect.KProperty;
|
||||
/* compiled from: PremiumGuildSubscriptionUpsellDialog.kt */
|
||||
public final class a extends AppDialog {
|
||||
public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.V(a.class, "binding", "getBinding()Lcom/discord/databinding/PremiumGuildSubscriptionUpsellDialogBinding;", 0)};
|
||||
public static final b j = new b(null);
|
||||
public final FragmentViewBindingDelegate k = FragmentViewBindingDelegateKt.viewBinding$default(this, c.i, null, 2, null);
|
||||
|
||||
/* compiled from: java-style lambda group */
|
||||
/* renamed from: c.a.a.d.a$a reason: collision with other inner class name */
|
||||
public static final class View$OnClickListenerC0011a implements View.OnClickListener {
|
||||
public final /* synthetic */ int i;
|
||||
public final /* synthetic */ Object j;
|
||||
|
||||
public View$OnClickListenerC0011a(int i, Object obj) {
|
||||
this.i = i;
|
||||
this.j = obj;
|
||||
}
|
||||
|
||||
@Override // android.view.View.OnClickListener
|
||||
public final void onClick(View view) {
|
||||
int i = this.i;
|
||||
if (i == 0) {
|
||||
((a) this.j).dismiss();
|
||||
} else if (i == 1) {
|
||||
((a) this.j).dismiss();
|
||||
} else {
|
||||
throw null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* compiled from: PremiumGuildSubscriptionUpsellDialog.kt */
|
||||
public static final class b {
|
||||
public b(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
}
|
||||
|
||||
/* JADX WARNING: Removed duplicated region for block: B:17:0x0045 */
|
||||
/* JADX WARNING: Removed duplicated region for block: B:19:0x0050 */
|
||||
/* JADX WARNING: Removed duplicated region for block: B:26:0x007a */
|
||||
/* JADX WARNING: Removed duplicated region for block: B:27:0x0080 */
|
||||
/* JADX WARNING: Removed duplicated region for block: B:29:0x0083 */
|
||||
/* JADX WARNING: Removed duplicated region for block: B:30:0x0089 */
|
||||
/* JADX WARNING: Removed duplicated region for block: B:32:0x008c */
|
||||
public final void a(FragmentManager fragmentManager, long j, Long l, Integer num, Traits.Location location) {
|
||||
String str;
|
||||
Bundle bundle;
|
||||
String page;
|
||||
String str2;
|
||||
m.checkNotNullParameter(fragmentManager, "fragmentManager");
|
||||
a aVar = new a();
|
||||
String str3 = null;
|
||||
if (num != null && num.intValue() == 1) {
|
||||
str2 = "tier_1";
|
||||
} else if (num != null && num.intValue() == 2) {
|
||||
str2 = "tier_2";
|
||||
} else if (num != null && num.intValue() == 3) {
|
||||
str2 = "tier_3";
|
||||
} else {
|
||||
str = null;
|
||||
bundle = new Bundle();
|
||||
bundle.putLong("extra_guild_id", j);
|
||||
if (l != null) {
|
||||
bundle.putLong("extra_channel_id", l.longValue());
|
||||
}
|
||||
if (str != null) {
|
||||
bundle.putString("extra_object_type", str);
|
||||
}
|
||||
if (!(location == null || (page = location.getPage()) == null)) {
|
||||
bundle.putString("extra_page", page);
|
||||
}
|
||||
aVar.setArguments(bundle);
|
||||
aVar.show(fragmentManager, a.class.getSimpleName());
|
||||
AnalyticsTracker analyticsTracker = AnalyticsTracker.INSTANCE;
|
||||
String s2 = c.d.b.a.a.s("Premium Guild Upsell Modal - Tier ", str);
|
||||
String page2 = location == null ? location.getPage() : null;
|
||||
String str4 = location == null ? location.get_object() : null;
|
||||
if (location != null) {
|
||||
str3 = location.getSection();
|
||||
}
|
||||
analyticsTracker.openModal(s2, new Traits.Location(page2, str3, str4, str, null, 16, null));
|
||||
}
|
||||
str = str2;
|
||||
bundle = new Bundle();
|
||||
bundle.putLong("extra_guild_id", j);
|
||||
if (l != null) {
|
||||
}
|
||||
if (str != null) {
|
||||
}
|
||||
bundle.putString("extra_page", page);
|
||||
aVar.setArguments(bundle);
|
||||
aVar.show(fragmentManager, a.class.getSimpleName());
|
||||
AnalyticsTracker analyticsTracker = AnalyticsTracker.INSTANCE;
|
||||
String s2 = c.d.b.a.a.s("Premium Guild Upsell Modal - Tier ", str);
|
||||
if (location == null) {
|
||||
}
|
||||
if (location == null) {
|
||||
}
|
||||
if (location != null) {
|
||||
}
|
||||
analyticsTracker.openModal(s2, new Traits.Location(page2, str3, str4, str, null, 16, null));
|
||||
}
|
||||
}
|
||||
|
||||
/* compiled from: PremiumGuildSubscriptionUpsellDialog.kt */
|
||||
public static final /* synthetic */ class c extends k implements Function1<View, y0> {
|
||||
public static final c i = new c();
|
||||
|
||||
public c() {
|
||||
super(1, y0.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/PremiumGuildSubscriptionUpsellDialogBinding;", 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 y0 invoke(View view) {
|
||||
View view2 = view;
|
||||
m.checkNotNullParameter(view2, "p1");
|
||||
int i2 = 2131364399;
|
||||
ImageView imageView = (ImageView) view2.findViewById(2131364399);
|
||||
if (imageView != null) {
|
||||
i2 = 2131364400;
|
||||
TextView textView = (TextView) view2.findViewById(2131364400);
|
||||
if (textView != null) {
|
||||
i2 = 2131364401;
|
||||
MaterialButton materialButton = (MaterialButton) view2.findViewById(2131364401);
|
||||
if (materialButton != null) {
|
||||
return new y0((RelativeLayout) view2, imageView, textView, materialButton);
|
||||
}
|
||||
}
|
||||
}
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(view2.getResources().getResourceName(i2)));
|
||||
}
|
||||
}
|
||||
|
||||
/* compiled from: PremiumGuildSubscriptionUpsellDialog.kt */
|
||||
public static final class d implements View.OnClickListener {
|
||||
public final /* synthetic */ a i;
|
||||
public final /* synthetic */ long j;
|
||||
public final /* synthetic */ Long k;
|
||||
public final /* synthetic */ String l;
|
||||
public final /* synthetic */ String m;
|
||||
|
||||
public d(a aVar, long j, Long l, String str, String str2) {
|
||||
this.i = aVar;
|
||||
this.j = j;
|
||||
this.k = l;
|
||||
this.l = str;
|
||||
this.m = str2;
|
||||
}
|
||||
|
||||
@Override // android.view.View.OnClickListener
|
||||
public final void onClick(View view) {
|
||||
AnalyticsTracker.INSTANCE.premiumGuildPromotionOpened(this.j, new Traits.Location(this.l, "Premium Guild Upsell Modal", "Button CTA", this.m, null, 16, null), this.k);
|
||||
WidgetPremiumGuildSubscription.Companion companion = WidgetPremiumGuildSubscription.Companion;
|
||||
Context requireContext = this.i.requireContext();
|
||||
m.checkNotNullExpressionValue(requireContext, "requireContext()");
|
||||
companion.create(requireContext, this.j);
|
||||
this.i.dismiss();
|
||||
}
|
||||
}
|
||||
|
||||
public a() {
|
||||
super(2131558646);
|
||||
}
|
||||
|
||||
public final y0 g() {
|
||||
return (y0) this.k.getValue((Fragment) this, i[0]);
|
||||
}
|
||||
|
||||
@Override // com.discord.app.AppDialog
|
||||
public void onViewBound(View view) {
|
||||
m.checkNotNullParameter(view, "view");
|
||||
super.onViewBound(view);
|
||||
long j2 = getArgumentsOrDefault().getLong("extra_guild_id", -1);
|
||||
Bundle arguments = getArguments();
|
||||
Long valueOf = arguments != null ? Long.valueOf(arguments.getLong("extra_channel_id")) : null;
|
||||
Bundle arguments2 = getArguments();
|
||||
String string = arguments2 != null ? arguments2.getString("extra_object_type") : null;
|
||||
Bundle arguments3 = getArguments();
|
||||
g().d.setOnClickListener(new d(this, j2, valueOf, arguments3 != null ? arguments3.getString("extra_page") : null, string));
|
||||
g().b.setOnClickListener(new View$OnClickListenerC0011a(0, this));
|
||||
g().f187c.setOnClickListener(new View$OnClickListenerC0011a(1, this));
|
||||
}
|
||||
}
|
|
@ -0,0 +1,455 @@
|
|||
package c.a.a.d;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.Bundle;
|
||||
import android.view.View;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.RelativeLayout;
|
||||
import android.widget.TextView;
|
||||
import androidx.annotation.DrawableRes;
|
||||
import androidx.fragment.app.Fragment;
|
||||
import androidx.fragment.app.FragmentManager;
|
||||
import androidx.viewpager2.adapter.FragmentStateAdapter;
|
||||
import androidx.viewpager2.widget.ViewPager2;
|
||||
import c.a.i.k5;
|
||||
import c.a.i.n0;
|
||||
import com.discord.app.AppDialog;
|
||||
import com.discord.app.AppFragment;
|
||||
import com.discord.utilities.analytics.AnalyticsTracker;
|
||||
import com.discord.utilities.analytics.Traits;
|
||||
import com.discord.utilities.view.recycler.ViewPager2ExtensionsKt;
|
||||
import com.discord.utilities.viewbinding.FragmentViewBindingDelegate;
|
||||
import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt;
|
||||
import com.discord.widgets.settings.premium.WidgetSettingsPremium;
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
import com.google.android.material.tabs.TabLayout;
|
||||
import d0.t.n;
|
||||
import d0.t.u;
|
||||
import d0.z.d.k;
|
||||
import d0.z.d.m;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.reflect.KProperty;
|
||||
/* compiled from: MultiValuePropPremiumUpsellDialog.kt */
|
||||
public final class b extends AppDialog {
|
||||
public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.V(b.class, "binding", "getBinding()Lcom/discord/databinding/MultiValuePropPremiumUpsellDialogBinding;", 0)};
|
||||
public static final C0012b j = new C0012b(null);
|
||||
public final FragmentViewBindingDelegate k = FragmentViewBindingDelegateKt.viewBinding$default(this, f.i, null, 2, null);
|
||||
public e l;
|
||||
|
||||
/* compiled from: java-style lambda group */
|
||||
public static final class a implements View.OnClickListener {
|
||||
public final /* synthetic */ int i;
|
||||
public final /* synthetic */ Object j;
|
||||
|
||||
public a(int i, Object obj) {
|
||||
this.i = i;
|
||||
this.j = obj;
|
||||
}
|
||||
|
||||
@Override // android.view.View.OnClickListener
|
||||
public final void onClick(View view) {
|
||||
int i = this.i;
|
||||
if (i == 0) {
|
||||
((b) this.j).dismiss();
|
||||
} else if (i == 1) {
|
||||
b.g((b) this.j);
|
||||
} else if (i == 2) {
|
||||
b.g((b) this.j);
|
||||
} else {
|
||||
throw null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* compiled from: MultiValuePropPremiumUpsellDialog.kt */
|
||||
/* renamed from: c.a.a.d.b$b reason: collision with other inner class name */
|
||||
public static final class C0012b {
|
||||
public C0012b(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
}
|
||||
|
||||
public static void a(C0012b bVar, FragmentManager fragmentManager, int i, String str, String str2, String str3, String str4, String str5, String str6, boolean z2, boolean z3, int i2) {
|
||||
if ((i2 & 4) != 0) {
|
||||
str = null;
|
||||
}
|
||||
if ((i2 & 8) != 0) {
|
||||
str2 = null;
|
||||
}
|
||||
if ((i2 & 16) != 0) {
|
||||
str3 = null;
|
||||
}
|
||||
if ((i2 & 32) != 0) {
|
||||
str4 = null;
|
||||
}
|
||||
if ((i2 & 64) != 0) {
|
||||
str5 = null;
|
||||
}
|
||||
if ((i2 & 128) != 0) {
|
||||
str6 = null;
|
||||
}
|
||||
if ((i2 & 256) != 0) {
|
||||
z2 = true;
|
||||
}
|
||||
if ((i2 & 512) != 0) {
|
||||
z3 = true;
|
||||
}
|
||||
Objects.requireNonNull(bVar);
|
||||
m.checkNotNullParameter(fragmentManager, "fragmentManager");
|
||||
b bVar2 = new b();
|
||||
Bundle bundle = new Bundle();
|
||||
bundle.putInt("extra_page_number", i);
|
||||
if (str != null) {
|
||||
bundle.putString("extra_header_string", str);
|
||||
}
|
||||
if (str2 != null) {
|
||||
bundle.putString("extra_body_text", str2);
|
||||
}
|
||||
bundle.putString("extra_page_name", str3);
|
||||
bundle.putString("extra_section_name", str4);
|
||||
bundle.putString("extra_object_name", str5);
|
||||
bundle.putString("extra_object_type", str6);
|
||||
bundle.putBoolean("extra_show_other_pages", z2);
|
||||
bundle.putBoolean("extra_show_learn_more", z3);
|
||||
bVar2.setArguments(bundle);
|
||||
bVar2.show(fragmentManager, b.class.getName());
|
||||
}
|
||||
}
|
||||
|
||||
/* compiled from: MultiValuePropPremiumUpsellDialog.kt */
|
||||
public static final class c {
|
||||
public final int a;
|
||||
public CharSequence b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public CharSequence f36c;
|
||||
|
||||
public c(@DrawableRes int i, CharSequence charSequence, CharSequence charSequence2) {
|
||||
m.checkNotNullParameter(charSequence, "headerText");
|
||||
m.checkNotNullParameter(charSequence2, "bodyText");
|
||||
this.a = i;
|
||||
this.b = charSequence;
|
||||
this.f36c = 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.b, cVar.b) && m.areEqual(this.f36c, cVar.f36c);
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
int i = this.a * 31;
|
||||
CharSequence charSequence = this.b;
|
||||
int i2 = 0;
|
||||
int hashCode = (i + (charSequence != null ? charSequence.hashCode() : 0)) * 31;
|
||||
CharSequence charSequence2 = this.f36c;
|
||||
if (charSequence2 != null) {
|
||||
i2 = charSequence2.hashCode();
|
||||
}
|
||||
return hashCode + i2;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder K = c.d.b.a.a.K("UpsellData(imageResId=");
|
||||
K.append(this.a);
|
||||
K.append(", headerText=");
|
||||
K.append(this.b);
|
||||
K.append(", bodyText=");
|
||||
K.append(this.f36c);
|
||||
K.append(")");
|
||||
return K.toString();
|
||||
}
|
||||
}
|
||||
|
||||
/* compiled from: MultiValuePropPremiumUpsellDialog.kt */
|
||||
public static final class d extends AppFragment {
|
||||
public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.V(d.class, "binding", "getBinding()Lcom/discord/databinding/WidgetPremiumUpsellBinding;", 0)};
|
||||
public static final a j = new a(null);
|
||||
public final FragmentViewBindingDelegate k = FragmentViewBindingDelegateKt.viewBinding$default(this, C0013b.i, null, 2, null);
|
||||
|
||||
/* compiled from: MultiValuePropPremiumUpsellDialog.kt */
|
||||
public static final class a {
|
||||
public a(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
}
|
||||
}
|
||||
|
||||
/* compiled from: MultiValuePropPremiumUpsellDialog.kt */
|
||||
/* renamed from: c.a.a.d.b$d$b reason: collision with other inner class name */
|
||||
public static final /* synthetic */ class C0013b extends k implements Function1<View, k5> {
|
||||
public static final C0013b i = new C0013b();
|
||||
|
||||
public C0013b() {
|
||||
super(1, k5.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 k5 invoke(View view) {
|
||||
View view2 = view;
|
||||
m.checkNotNullParameter(view2, "p1");
|
||||
int i2 = 2131364430;
|
||||
TextView textView = (TextView) view2.findViewById(2131364430);
|
||||
if (textView != null) {
|
||||
i2 = 2131364438;
|
||||
TextView textView2 = (TextView) view2.findViewById(2131364438);
|
||||
if (textView2 != null) {
|
||||
i2 = 2131364439;
|
||||
ImageView imageView = (ImageView) view2.findViewById(2131364439);
|
||||
if (imageView != null) {
|
||||
return new k5((LinearLayout) view2, textView, textView2, imageView);
|
||||
}
|
||||
}
|
||||
}
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(view2.getResources().getResourceName(i2)));
|
||||
}
|
||||
}
|
||||
|
||||
public d() {
|
||||
super(2131559143);
|
||||
}
|
||||
|
||||
public final k5 g() {
|
||||
return (k5) this.k.getValue((Fragment) this, i[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().f118c;
|
||||
m.checkNotNullExpressionValue(textView, "binding.premiumUpsellHeader");
|
||||
Bundle arguments2 = getArguments();
|
||||
textView.setText(arguments2 != null ? arguments2.getString("extra_header_string") : null);
|
||||
TextView textView2 = g().b;
|
||||
m.checkNotNullExpressionValue(textView2, "binding.premiumUpsellBody");
|
||||
Bundle arguments3 = getArguments();
|
||||
textView2.setText((arguments3 == null || (string = arguments3.getString("extra_body_text")) == null) ? "" : c.a.k.b.k(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.j;
|
||||
int i2 = cVar.a;
|
||||
CharSequence charSequence = cVar.b;
|
||||
CharSequence charSequence2 = cVar.f36c;
|
||||
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, n0> {
|
||||
public static final f i = new f();
|
||||
|
||||
public f() {
|
||||
super(1, n0.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/MultiValuePropPremiumUpsellDialogBinding;", 0);
|
||||
}
|
||||
|
||||
/* Return type fixed from 'java.lang.Object' to match base method */
|
||||
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
|
||||
@Override // kotlin.jvm.functions.Function1
|
||||
public n0 invoke(View view) {
|
||||
View view2 = view;
|
||||
m.checkNotNullParameter(view2, "p1");
|
||||
int i2 = 2131364432;
|
||||
LinearLayout linearLayout = (LinearLayout) view2.findViewById(2131364432);
|
||||
if (linearLayout != null) {
|
||||
i2 = 2131364433;
|
||||
MaterialButton materialButton = (MaterialButton) view2.findViewById(2131364433);
|
||||
if (materialButton != null) {
|
||||
i2 = 2131364435;
|
||||
View findViewById = view2.findViewById(2131364435);
|
||||
if (findViewById != null) {
|
||||
i2 = 2131364436;
|
||||
TabLayout tabLayout = (TabLayout) view2.findViewById(2131364436);
|
||||
if (tabLayout != null) {
|
||||
i2 = 2131364437;
|
||||
MaterialButton materialButton2 = (MaterialButton) view2.findViewById(2131364437);
|
||||
if (materialButton2 != null) {
|
||||
i2 = 2131364440;
|
||||
MaterialButton materialButton3 = (MaterialButton) view2.findViewById(2131364440);
|
||||
if (materialButton3 != null) {
|
||||
i2 = 2131364443;
|
||||
ViewPager2 viewPager2 = (ViewPager2) view2.findViewById(2131364443);
|
||||
if (viewPager2 != null) {
|
||||
return new n0((RelativeLayout) view2, linearLayout, materialButton, findViewById, tabLayout, materialButton2, materialButton3, viewPager2);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(view2.getResources().getResourceName(i2)));
|
||||
}
|
||||
}
|
||||
|
||||
public b() {
|
||||
super(2131558598);
|
||||
}
|
||||
|
||||
public static final void g(b bVar) {
|
||||
Bundle arguments = bVar.getArguments();
|
||||
String string = arguments != null ? arguments.getString("extra_page_name") : null;
|
||||
Bundle arguments2 = bVar.getArguments();
|
||||
String string2 = arguments2 != null ? arguments2.getString("extra_section_name") : null;
|
||||
Bundle arguments3 = bVar.getArguments();
|
||||
String string3 = arguments3 != null ? arguments3.getString("extra_object_name") : null;
|
||||
Bundle arguments4 = bVar.getArguments();
|
||||
AnalyticsTracker.INSTANCE.premiumSettingsOpened(new Traits.Location(string, string2, string3, arguments4 != null ? arguments4.getString("extra_object_type") : null, null, 16, null));
|
||||
WidgetSettingsPremium.Companion companion = WidgetSettingsPremium.Companion;
|
||||
Context requireContext = bVar.requireContext();
|
||||
m.checkNotNullExpressionValue(requireContext, "requireContext()");
|
||||
WidgetSettingsPremium.Companion.launch$default(companion, requireContext, null, null, 6, null);
|
||||
bVar.dismiss();
|
||||
}
|
||||
|
||||
public final n0 h() {
|
||||
return (n0) this.k.getValue((Fragment) this, i[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(2131892590);
|
||||
m.checkNotNullExpressionValue(string2, "getString(R.string.premi…psell_tag_passive_mobile)");
|
||||
String string3 = getString(2131892589);
|
||||
m.checkNotNullExpressionValue(string3, "getString(R.string.premi…l_tag_description_mobile)");
|
||||
String string4 = getString(2131892576);
|
||||
m.checkNotNullExpressionValue(string4, "getString(R.string.premi…ell_emoji_passive_mobile)");
|
||||
String string5 = getString(2131892573);
|
||||
m.checkNotNullExpressionValue(string5, "getString(R.string.premi…emoji_description_mobile)");
|
||||
String string6 = getString(2131892566);
|
||||
m.checkNotNullExpressionValue(string6, "getString(R.string.premi…ed_emojis_passive_mobile)");
|
||||
String string7 = getString(2131892565);
|
||||
m.checkNotNullExpressionValue(string7, "getString(R.string.premi…mojis_description_mobile)");
|
||||
CharSequence j2 = c.a.k.b.j(this, 2131892594, new Object[0], null, 4);
|
||||
Object[] objArr = {c.a.k.b.j(this, 2131888523, new Object[0], null, 4), c.a.k.b.j(this, 2131888521, new Object[0], null, 4)};
|
||||
String string8 = getString(2131892561);
|
||||
m.checkNotNullExpressionValue(string8, "getString(R.string.premi…ed_avatar_passive_mobile)");
|
||||
String string9 = getString(2131892560);
|
||||
m.checkNotNullExpressionValue(string9, "getString(R.string.premi…vatar_description_mobile)");
|
||||
String string10 = getString(2131892569);
|
||||
m.checkNotNullExpressionValue(string10, "getString(R.string.premi…ell_badge_passive_mobile)");
|
||||
String string11 = getString(2131892568);
|
||||
m.checkNotNullExpressionValue(string11, "getString(R.string.premi…badge_description_mobile)");
|
||||
List listOf = n.listOf((Object[]) new c[]{new c(2131232270, string2, string3), new c(2131232192, string4, string5), new c(2131232144, string6, string7), new c(2131232271, j2, c.a.k.b.j(this, 2131892593, objArr, null, 4)), new c(2131232147, string8, string9), new c(2131232150, string10, string11)});
|
||||
Bundle arguments = getArguments();
|
||||
int i2 = 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(i2);
|
||||
Bundle arguments3 = getArguments();
|
||||
if (arguments3 == null || (str = arguments3.getString("extra_header_string")) == null) {
|
||||
str = str2;
|
||||
}
|
||||
Objects.requireNonNull(cVar);
|
||||
m.checkNotNullParameter(str, "<set-?>");
|
||||
cVar.b = str;
|
||||
}
|
||||
Bundle arguments4 = getArguments();
|
||||
if (arguments4 != null && arguments4.containsKey("extra_body_text")) {
|
||||
c cVar2 = (c) listOf.get(i2);
|
||||
Bundle arguments5 = getArguments();
|
||||
if (!(arguments5 == null || (string = arguments5.getString("extra_body_text")) == null)) {
|
||||
str2 = string;
|
||||
}
|
||||
Objects.requireNonNull(cVar2);
|
||||
m.checkNotNullParameter(str2, "<set-?>");
|
||||
cVar2.f36c = str2;
|
||||
}
|
||||
c cVar3 = (c) listOf.get(i2);
|
||||
List mutableListOf = n.mutableListOf(cVar3);
|
||||
if (j()) {
|
||||
mutableListOf.addAll(u.minus(listOf, cVar3));
|
||||
}
|
||||
this.l = new e(this, mutableListOf);
|
||||
}
|
||||
|
||||
@Override // com.discord.app.AppDialog
|
||||
public void onViewBound(View view) {
|
||||
m.checkNotNullParameter(view, "view");
|
||||
super.onViewBound(view);
|
||||
ViewPager2 viewPager2 = h().f;
|
||||
m.checkNotNullExpressionValue(viewPager2, "binding.premiumUpsellViewpager");
|
||||
e eVar = this.l;
|
||||
if (eVar == null) {
|
||||
m.throwUninitializedPropertyAccessException("pagerAdapter");
|
||||
}
|
||||
viewPager2.setAdapter(eVar);
|
||||
TabLayout tabLayout = h().f130c;
|
||||
m.checkNotNullExpressionValue(tabLayout, "binding.premiumUpsellDots");
|
||||
int i2 = 8;
|
||||
tabLayout.setVisibility(j() ? 0 : 8);
|
||||
TabLayout tabLayout2 = h().f130c;
|
||||
m.checkNotNullExpressionValue(tabLayout2, "binding.premiumUpsellDots");
|
||||
ViewPager2 viewPager22 = h().f;
|
||||
m.checkNotNullExpressionValue(viewPager22, "binding.premiumUpsellViewpager");
|
||||
ViewPager2ExtensionsKt.setUpWithViewPager2$default(tabLayout2, viewPager22, null, 2, null);
|
||||
h().b.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()) {
|
||||
i2 = 0;
|
||||
}
|
||||
materialButton2.setVisibility(i2);
|
||||
h().d.setOnClickListener(new a(2, this));
|
||||
}
|
||||
}
|
|
@ -0,0 +1,154 @@
|
|||
package c.a.a.d;
|
||||
|
||||
import android.app.Dialog;
|
||||
import android.content.Context;
|
||||
import android.view.View;
|
||||
import android.view.Window;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.RelativeLayout;
|
||||
import android.widget.TextView;
|
||||
import androidx.fragment.app.Fragment;
|
||||
import c.a.i.z0;
|
||||
import com.discord.app.AppDialog;
|
||||
import com.discord.utilities.resources.StringResourceUtilsKt;
|
||||
import com.discord.utilities.viewbinding.FragmentViewBindingDelegate;
|
||||
import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt;
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
import d0.z.d.k;
|
||||
import d0.z.d.m;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function0;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.reflect.KProperty;
|
||||
/* compiled from: UpgradePremiumGuildDialog.kt */
|
||||
public final class c extends AppDialog {
|
||||
public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.V(c.class, "binding", "getBinding()Lcom/discord/databinding/PremiumGuildUpgradeDialogBinding;", 0)};
|
||||
public static final b j = new b(null);
|
||||
public Function0<Unit> k;
|
||||
public Function0<Unit> l;
|
||||
public String m;
|
||||
public boolean n;
|
||||
public final FragmentViewBindingDelegate o = FragmentViewBindingDelegateKt.viewBinding$default(this, C0014c.i, null, 2, null);
|
||||
|
||||
/* compiled from: java-style lambda group */
|
||||
public static final class a implements View.OnClickListener {
|
||||
public final /* synthetic */ int i;
|
||||
public final /* synthetic */ Object j;
|
||||
|
||||
public a(int i, Object obj) {
|
||||
this.i = i;
|
||||
this.j = obj;
|
||||
}
|
||||
|
||||
@Override // android.view.View.OnClickListener
|
||||
public final void onClick(View view) {
|
||||
int i = this.i;
|
||||
if (i == 0) {
|
||||
Function0<Unit> function0 = ((c) this.j).k;
|
||||
if (function0 != null) {
|
||||
function0.mo1invoke();
|
||||
}
|
||||
((c) this.j).dismiss();
|
||||
} else if (i == 1) {
|
||||
Function0<Unit> function02 = ((c) this.j).l;
|
||||
if (function02 != null) {
|
||||
function02.mo1invoke();
|
||||
}
|
||||
((c) this.j).dismiss();
|
||||
} else if (i == 2) {
|
||||
((c) this.j).dismiss();
|
||||
} else {
|
||||
throw null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* compiled from: UpgradePremiumGuildDialog.kt */
|
||||
public static final class b {
|
||||
public b(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
}
|
||||
}
|
||||
|
||||
/* compiled from: UpgradePremiumGuildDialog.kt */
|
||||
/* renamed from: c.a.a.d.c$c reason: collision with other inner class name */
|
||||
public static final /* synthetic */ class C0014c extends k implements Function1<View, z0> {
|
||||
public static final C0014c i = new C0014c();
|
||||
|
||||
public C0014c() {
|
||||
super(1, z0.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/PremiumGuildUpgradeDialogBinding;", 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 z0 invoke(View view) {
|
||||
View view2 = view;
|
||||
m.checkNotNullParameter(view2, "p1");
|
||||
int i2 = 2131362789;
|
||||
TextView textView = (TextView) view2.findViewById(2131362789);
|
||||
if (textView != null) {
|
||||
i2 = 2131364433;
|
||||
ImageView imageView = (ImageView) view2.findViewById(2131364433);
|
||||
if (imageView != null) {
|
||||
i2 = 2131364434;
|
||||
TextView textView2 = (TextView) view2.findViewById(2131364434);
|
||||
if (textView2 != null) {
|
||||
i2 = 2131364442;
|
||||
TextView textView3 = (TextView) view2.findViewById(2131364442);
|
||||
if (textView3 != null) {
|
||||
i2 = 2131365512;
|
||||
MaterialButton materialButton = (MaterialButton) view2.findViewById(2131365512);
|
||||
if (materialButton != null) {
|
||||
return new z0((RelativeLayout) view2, textView, imageView, textView2, textView3, materialButton);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(view2.getResources().getResourceName(i2)));
|
||||
}
|
||||
}
|
||||
|
||||
public c() {
|
||||
super(2131558647);
|
||||
}
|
||||
|
||||
public final z0 g() {
|
||||
return (z0) this.o.getValue((Fragment) this, i[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
|
||||
public void onViewBoundOrOnResume() {
|
||||
super.onViewBoundOrOnResume();
|
||||
if (this.k == null || this.l == null) {
|
||||
dismiss();
|
||||
}
|
||||
requireDialog().setCanceledOnTouchOutside(true);
|
||||
TextView textView = g().d;
|
||||
m.checkNotNullExpressionValue(textView, "binding.premiumUpsellDescription");
|
||||
c.a.k.b.m(textView, 2131892581, new Object[]{this.m}, null, 4);
|
||||
TextView textView2 = g().e;
|
||||
m.checkNotNullExpressionValue(textView2, "binding.premiumUpsellServerPerk");
|
||||
Context requireContext = requireContext();
|
||||
m.checkNotNullExpressionValue(requireContext, "requireContext()");
|
||||
c.a.k.b.m(textView2, 2131892579, new Object[]{StringResourceUtilsKt.getI18nPluralString(requireContext, 2131755298, 2, 2)}, null, 4);
|
||||
TextView textView3 = g().b;
|
||||
m.checkNotNullExpressionValue(textView3, "binding.continueButton");
|
||||
textView3.setVisibility(this.n ^ true ? 0 : 8);
|
||||
g().b.setOnClickListener(new a(0, this));
|
||||
g().f.setOnClickListener(new a(1, this));
|
||||
g().f193c.setOnClickListener(new a(2, this));
|
||||
}
|
||||
}
|
|
@ -0,0 +1,154 @@
|
|||
package c.a.a.d;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.Bundle;
|
||||
import android.view.View;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.TextView;
|
||||
import androidx.core.content.ContextCompat;
|
||||
import androidx.fragment.app.Fragment;
|
||||
import c.a.i.i1;
|
||||
import com.discord.app.AppDialog;
|
||||
import com.discord.utilities.viewbinding.FragmentViewBindingDelegate;
|
||||
import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt;
|
||||
import com.discord.views.premium.ShinyButton;
|
||||
import com.discord.widgets.settings.premium.WidgetSettingsPremium;
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
import d0.z.d.k;
|
||||
import d0.z.d.m;
|
||||
import java.util.Objects;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.reflect.KProperty;
|
||||
/* compiled from: SingleValuePropPremiumUpsellDialog.kt */
|
||||
public final class d extends AppDialog {
|
||||
public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.V(d.class, "binding", "getBinding()Lcom/discord/databinding/SingleValuePropPremiumUpsellDialogBinding;", 0)};
|
||||
public static final b j = new b(null);
|
||||
public final FragmentViewBindingDelegate k = FragmentViewBindingDelegateKt.viewBinding$default(this, c.i, null, 2, null);
|
||||
|
||||
/* compiled from: java-style lambda group */
|
||||
public static final class a implements View.OnClickListener {
|
||||
public final /* synthetic */ int i;
|
||||
public final /* synthetic */ Object j;
|
||||
|
||||
public a(int i, Object obj) {
|
||||
this.i = i;
|
||||
this.j = obj;
|
||||
}
|
||||
|
||||
@Override // android.view.View.OnClickListener
|
||||
public final void onClick(View view) {
|
||||
int i = this.i;
|
||||
if (i == 0) {
|
||||
((d) this.j).dismiss();
|
||||
} else if (i == 1) {
|
||||
d dVar = (d) this.j;
|
||||
KProperty[] kPropertyArr = d.i;
|
||||
Objects.requireNonNull(dVar);
|
||||
WidgetSettingsPremium.Companion companion = WidgetSettingsPremium.Companion;
|
||||
Context requireContext = dVar.requireContext();
|
||||
m.checkNotNullExpressionValue(requireContext, "requireContext()");
|
||||
WidgetSettingsPremium.Companion.launch$default(companion, requireContext, null, null, 6, null);
|
||||
dVar.dismiss();
|
||||
} else {
|
||||
throw null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* compiled from: SingleValuePropPremiumUpsellDialog.kt */
|
||||
public static final class b {
|
||||
public b(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
}
|
||||
}
|
||||
|
||||
/* compiled from: SingleValuePropPremiumUpsellDialog.kt */
|
||||
public static final /* synthetic */ class c extends k implements Function1<View, i1> {
|
||||
public static final c i = new c();
|
||||
|
||||
public c() {
|
||||
super(1, i1.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/SingleValuePropPremiumUpsellDialogBinding;", 0);
|
||||
}
|
||||
|
||||
/* Return type fixed from 'java.lang.Object' to match base method */
|
||||
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
|
||||
@Override // kotlin.jvm.functions.Function1
|
||||
public i1 invoke(View view) {
|
||||
View view2 = view;
|
||||
m.checkNotNullParameter(view2, "p1");
|
||||
int i2 = 2131362212;
|
||||
LinearLayout linearLayout = (LinearLayout) view2.findViewById(2131362212);
|
||||
if (linearLayout != null) {
|
||||
i2 = 2131362664;
|
||||
MaterialButton materialButton = (MaterialButton) view2.findViewById(2131362664);
|
||||
if (materialButton != null) {
|
||||
i2 = 2131362783;
|
||||
View findViewById = view2.findViewById(2131362783);
|
||||
if (findViewById != null) {
|
||||
i2 = 2131363334;
|
||||
ShinyButton shinyButton = (ShinyButton) view2.findViewById(2131363334);
|
||||
if (shinyButton != null) {
|
||||
i2 = 2131365483;
|
||||
View findViewById2 = view2.findViewById(2131365483);
|
||||
if (findViewById2 != null) {
|
||||
i2 = 2131365529;
|
||||
TextView textView = (TextView) view2.findViewById(2131365529);
|
||||
if (textView != null) {
|
||||
i2 = 2131365530;
|
||||
TextView textView2 = (TextView) view2.findViewById(2131365530);
|
||||
if (textView2 != null) {
|
||||
i2 = 2131365648;
|
||||
ImageView imageView = (ImageView) view2.findViewById(2131365648);
|
||||
if (imageView != null) {
|
||||
return new i1((LinearLayout) view2, linearLayout, materialButton, findViewById, shinyButton, findViewById2, textView, textView2, imageView);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(view2.getResources().getResourceName(i2)));
|
||||
}
|
||||
}
|
||||
|
||||
public d() {
|
||||
super(2131558668);
|
||||
}
|
||||
|
||||
public final i1 g() {
|
||||
return (i1) this.k.getValue((Fragment) this, i[0]);
|
||||
}
|
||||
|
||||
@Override // com.discord.app.AppDialog
|
||||
public void onViewBound(View view) {
|
||||
m.checkNotNullParameter(view, "view");
|
||||
super.onViewBound(view);
|
||||
Bundle arguments = getArguments();
|
||||
String str = null;
|
||||
Integer valueOf = arguments != null ? Integer.valueOf(arguments.getInt("extra_image_drawable_res")) : null;
|
||||
Bundle arguments2 = getArguments();
|
||||
String string = arguments2 != null ? arguments2.getString("extra_header_text") : null;
|
||||
Bundle arguments3 = getArguments();
|
||||
if (arguments3 != null) {
|
||||
str = arguments3.getString("extra_body_text");
|
||||
}
|
||||
if (valueOf != null) {
|
||||
g().f.setImageDrawable(ContextCompat.getDrawable(requireContext(), valueOf.intValue()));
|
||||
}
|
||||
if (string != null) {
|
||||
TextView textView = g().e;
|
||||
m.checkNotNullExpressionValue(textView, "binding.upsellHeaderText");
|
||||
textView.setText(string);
|
||||
}
|
||||
if (str != null) {
|
||||
TextView textView2 = g().d;
|
||||
m.checkNotNullExpressionValue(textView2, "binding.upsellBodyText");
|
||||
textView2.setText(str);
|
||||
}
|
||||
g().b.setOnClickListener(new a(0, this));
|
||||
g().f104c.setOnClickListener(new a(1, this));
|
||||
}
|
||||
}
|
|
@ -0,0 +1,153 @@
|
|||
package c.a.a.d;
|
||||
|
||||
import android.app.Dialog;
|
||||
import android.view.View;
|
||||
import android.view.Window;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.TextView;
|
||||
import androidx.fragment.app.Fragment;
|
||||
import c.a.i.a1;
|
||||
import com.discord.app.AppDialog;
|
||||
import com.discord.utilities.viewbinding.FragmentViewBindingDelegate;
|
||||
import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt;
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
import d0.z.d.k;
|
||||
import d0.z.d.m;
|
||||
import java.text.NumberFormat;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function0;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.reflect.KProperty;
|
||||
/* compiled from: UpgradePremiumYearlyDialog.kt */
|
||||
public final class e extends AppDialog {
|
||||
public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.V(e.class, "binding", "getBinding()Lcom/discord/databinding/PremiumUpgradeYearlyDialogBinding;", 0)};
|
||||
public static final b j = new b(null);
|
||||
public Function0<Unit> k;
|
||||
public Function0<Unit> l;
|
||||
public String m;
|
||||
public boolean n;
|
||||
public final FragmentViewBindingDelegate o = FragmentViewBindingDelegateKt.viewBinding$default(this, c.i, null, 2, null);
|
||||
|
||||
/* compiled from: java-style lambda group */
|
||||
public static final class a implements View.OnClickListener {
|
||||
public final /* synthetic */ int i;
|
||||
public final /* synthetic */ Object j;
|
||||
|
||||
public a(int i, Object obj) {
|
||||
this.i = i;
|
||||
this.j = obj;
|
||||
}
|
||||
|
||||
@Override // android.view.View.OnClickListener
|
||||
public final void onClick(View view) {
|
||||
int i = this.i;
|
||||
if (i == 0) {
|
||||
Function0<Unit> function0 = ((e) this.j).k;
|
||||
if (function0 != null) {
|
||||
function0.mo1invoke();
|
||||
}
|
||||
((e) this.j).dismiss();
|
||||
} else if (i == 1) {
|
||||
Function0<Unit> function02 = ((e) this.j).l;
|
||||
if (function02 != null) {
|
||||
function02.mo1invoke();
|
||||
}
|
||||
((e) this.j).dismiss();
|
||||
} else {
|
||||
throw null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* compiled from: UpgradePremiumYearlyDialog.kt */
|
||||
public static final class b {
|
||||
public b(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
}
|
||||
}
|
||||
|
||||
/* compiled from: UpgradePremiumYearlyDialog.kt */
|
||||
public static final /* synthetic */ class c extends k implements Function1<View, a1> {
|
||||
public static final c i = new c();
|
||||
|
||||
public c() {
|
||||
super(1, a1.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/PremiumUpgradeYearlyDialogBinding;", 0);
|
||||
}
|
||||
|
||||
/* Return type fixed from 'java.lang.Object' to match base method */
|
||||
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
|
||||
@Override // kotlin.jvm.functions.Function1
|
||||
public a1 invoke(View view) {
|
||||
View view2 = view;
|
||||
m.checkNotNullParameter(view2, "p1");
|
||||
int i2 = 2131364438;
|
||||
ImageView imageView = (ImageView) view2.findViewById(2131364438);
|
||||
if (imageView != null) {
|
||||
i2 = 2131364444;
|
||||
TextView textView = (TextView) view2.findViewById(2131364444);
|
||||
if (textView != null) {
|
||||
i2 = 2131364445;
|
||||
TextView textView2 = (TextView) view2.findViewById(2131364445);
|
||||
if (textView2 != null) {
|
||||
i2 = 2131364503;
|
||||
TextView textView3 = (TextView) view2.findViewById(2131364503);
|
||||
if (textView3 != null) {
|
||||
i2 = 2131364504;
|
||||
MaterialButton materialButton = (MaterialButton) view2.findViewById(2131364504);
|
||||
if (materialButton != null) {
|
||||
return new a1((LinearLayout) view2, imageView, textView, textView2, textView3, materialButton);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(view2.getResources().getResourceName(i2)));
|
||||
}
|
||||
}
|
||||
|
||||
public e() {
|
||||
super(2131558649);
|
||||
}
|
||||
|
||||
public final a1 g() {
|
||||
return (a1) this.o.getValue((Fragment) this, i[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
|
||||
public void onViewBoundOrOnResume() {
|
||||
super.onViewBoundOrOnResume();
|
||||
if (this.k == null || this.l == null) {
|
||||
dismiss();
|
||||
}
|
||||
requireDialog().setCanceledOnTouchOutside(true);
|
||||
boolean z2 = getArgumentsOrDefault().getBoolean("ARG_IS_TIER_1");
|
||||
CharSequence j2 = c.a.k.b.j(this, z2 ? 2131892536 : 2131892539, new Object[0], null, 4);
|
||||
TextView textView = g().d;
|
||||
m.checkNotNullExpressionValue(textView, "binding.premiumUpsellYearlyTitle");
|
||||
c.a.k.b.m(textView, 2131892597, new Object[]{NumberFormat.getPercentInstance().format(Float.valueOf(0.16f)), j2}, null, 4);
|
||||
TextView textView2 = g().f60c;
|
||||
m.checkNotNullExpressionValue(textView2, "binding.premiumUpsellYearlyDescription");
|
||||
c.a.k.b.m(textView2, 2131892596, new Object[]{NumberFormat.getPercentInstance().format(Float.valueOf(0.16f))}, null, 4);
|
||||
MaterialButton materialButton = g().f;
|
||||
m.checkNotNullExpressionValue(materialButton, "binding.purchasePremiumYearly");
|
||||
c.a.k.b.m(materialButton, 2131892595, new Object[]{this.m}, null, 4);
|
||||
g().b.setImageResource(z2 ? 2131232252 : 2131232253);
|
||||
TextView textView3 = g().e;
|
||||
m.checkNotNullExpressionValue(textView3, "binding.purchasePremiumMonthly");
|
||||
textView3.setVisibility(this.n ^ true ? 0 : 8);
|
||||
g().e.setOnClickListener(new a(0, this));
|
||||
g().f.setOnClickListener(new a(1, this));
|
||||
}
|
||||
}
|
|
@ -0,0 +1,152 @@
|
|||
package c.a.a.d;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.Bundle;
|
||||
import android.view.View;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.TextView;
|
||||
import androidx.core.content.ContextCompat;
|
||||
import androidx.fragment.app.Fragment;
|
||||
import androidx.fragment.app.FragmentManager;
|
||||
import c.a.i.t0;
|
||||
import com.discord.app.AppDialog;
|
||||
import com.discord.utilities.drawable.DrawableCompat;
|
||||
import com.discord.utilities.viewbinding.FragmentViewBindingDelegate;
|
||||
import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt;
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
import d0.z.d.k;
|
||||
import d0.z.d.m;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function0;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.reflect.KProperty;
|
||||
/* compiled from: PremiumActivatedDialog.kt */
|
||||
public final class f extends AppDialog {
|
||||
public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.V(f.class, "binding", "getBinding()Lcom/discord/databinding/PremiumActivatedDialogBinding;", 0)};
|
||||
public static final a j = new a(null);
|
||||
public Function0<Unit> k;
|
||||
public final FragmentViewBindingDelegate l = FragmentViewBindingDelegateKt.viewBinding$default(this, b.i, null, 2, null);
|
||||
|
||||
/* compiled from: PremiumActivatedDialog.kt */
|
||||
public static final class a {
|
||||
public a(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
}
|
||||
|
||||
public final void a(FragmentManager fragmentManager, Function0<Unit> function0, boolean z2) {
|
||||
m.checkNotNullParameter(fragmentManager, "fragmentManager");
|
||||
m.checkNotNullParameter(function0, "onDismiss");
|
||||
f fVar = new f();
|
||||
fVar.k = function0;
|
||||
Bundle bundle = new Bundle();
|
||||
bundle.putBoolean("ARG_IS_TIER_1", z2);
|
||||
fVar.setArguments(bundle);
|
||||
fVar.show(fragmentManager, f.class.getSimpleName());
|
||||
}
|
||||
}
|
||||
|
||||
/* compiled from: PremiumActivatedDialog.kt */
|
||||
public static final /* synthetic */ class b extends k implements Function1<View, t0> {
|
||||
public static final b i = new b();
|
||||
|
||||
public b() {
|
||||
super(1, t0.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/PremiumActivatedDialogBinding;", 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 t0 invoke(View view) {
|
||||
View view2 = view;
|
||||
m.checkNotNullParameter(view2, "p1");
|
||||
int i2 = 2131364362;
|
||||
MaterialButton materialButton = (MaterialButton) view2.findViewById(2131364362);
|
||||
if (materialButton != null) {
|
||||
i2 = 2131364363;
|
||||
TextView textView = (TextView) view2.findViewById(2131364363);
|
||||
if (textView != null) {
|
||||
i2 = 2131364364;
|
||||
ImageView imageView = (ImageView) view2.findViewById(2131364364);
|
||||
if (imageView != null) {
|
||||
i2 = 2131364365;
|
||||
ImageView imageView2 = (ImageView) view2.findViewById(2131364365);
|
||||
if (imageView2 != null) {
|
||||
i2 = 2131364366;
|
||||
ImageView imageView3 = (ImageView) view2.findViewById(2131364366);
|
||||
if (imageView3 != null) {
|
||||
i2 = 2131364367;
|
||||
ImageView imageView4 = (ImageView) view2.findViewById(2131364367);
|
||||
if (imageView4 != null) {
|
||||
return new t0((LinearLayout) view2, materialButton, textView, imageView, imageView2, imageView3, imageView4);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(view2.getResources().getResourceName(i2)));
|
||||
}
|
||||
}
|
||||
|
||||
/* compiled from: PremiumActivatedDialog.kt */
|
||||
public static final class c implements View.OnClickListener {
|
||||
public final /* synthetic */ f i;
|
||||
|
||||
public c(f fVar) {
|
||||
this.i = fVar;
|
||||
}
|
||||
|
||||
@Override // android.view.View.OnClickListener
|
||||
public final void onClick(View view) {
|
||||
Function0<Unit> function0 = this.i.k;
|
||||
if (function0 != null) {
|
||||
function0.mo1invoke();
|
||||
}
|
||||
this.i.dismiss();
|
||||
}
|
||||
}
|
||||
|
||||
public f() {
|
||||
super(2131558641);
|
||||
}
|
||||
|
||||
public final t0 g() {
|
||||
return (t0) this.l.getValue((Fragment) this, i[0]);
|
||||
}
|
||||
|
||||
@Override // com.discord.app.AppDialog, androidx.fragment.app.Fragment
|
||||
public void onResume() {
|
||||
int i2;
|
||||
super.onResume();
|
||||
if (this.k == null) {
|
||||
dismiss();
|
||||
}
|
||||
boolean z2 = getArgumentsOrDefault().getBoolean("ARG_IS_TIER_1");
|
||||
int i3 = z2 ? 2131230933 : 2131230937;
|
||||
int i4 = z2 ? 2131232207 : 2131232201;
|
||||
int i5 = z2 ? 2131232285 : 2131232283;
|
||||
if (z2) {
|
||||
Context requireContext = requireContext();
|
||||
m.checkNotNullExpressionValue(requireContext, "requireContext()");
|
||||
i2 = DrawableCompat.getThemedDrawableRes$default(requireContext, 2130969521, 0, 2, (Object) null);
|
||||
} else {
|
||||
Context requireContext2 = requireContext();
|
||||
m.checkNotNullExpressionValue(requireContext2, "requireContext()");
|
||||
i2 = DrawableCompat.getThemedDrawableRes$default(requireContext2, 2130969522, 0, 2, (Object) null);
|
||||
}
|
||||
int i6 = z2 ? 2131887005 : 2131887007;
|
||||
g().d.setBackgroundResource(i3);
|
||||
g().e.setImageDrawable(ContextCompat.getDrawable(requireContext(), i4));
|
||||
g().g.setImageDrawable(ContextCompat.getDrawable(requireContext(), i5));
|
||||
ImageView imageView = g().g;
|
||||
m.checkNotNullExpressionValue(imageView, "binding.premiumActivatedWumpus");
|
||||
imageView.setScaleX(z2 ? 1.0f : -1.0f);
|
||||
g().f.setImageDrawable(ContextCompat.getDrawable(requireContext(), i2));
|
||||
TextView textView = g().f160c;
|
||||
m.checkNotNullExpressionValue(textView, "binding.premiumActivatedDescription");
|
||||
textView.setText(getString(i6));
|
||||
requireDialog().setCanceledOnTouchOutside(true);
|
||||
g().b.setOnClickListener(new c(this));
|
||||
}
|
||||
}
|
|
@ -0,0 +1,102 @@
|
|||
package c.a.a.d;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.view.View;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.TextView;
|
||||
import androidx.fragment.app.Fragment;
|
||||
import c.a.i.u0;
|
||||
import com.discord.app.AppDialog;
|
||||
import com.discord.utilities.viewbinding.FragmentViewBindingDelegate;
|
||||
import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt;
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
import d0.z.d.k;
|
||||
import d0.z.d.m;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function0;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.reflect.KProperty;
|
||||
/* compiled from: PremiumAndPremiumGuildActivatedDialog.kt */
|
||||
public final class g extends AppDialog {
|
||||
public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.V(g.class, "binding", "getBinding()Lcom/discord/databinding/PremiumAndPremiumGuildActivatedDialogBinding;", 0)};
|
||||
public static final a j = new a(null);
|
||||
public Function0<Unit> k;
|
||||
public final FragmentViewBindingDelegate l = FragmentViewBindingDelegateKt.viewBinding$default(this, b.i, null, 2, null);
|
||||
|
||||
/* compiled from: PremiumAndPremiumGuildActivatedDialog.kt */
|
||||
public static final class a {
|
||||
public a(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
}
|
||||
}
|
||||
|
||||
/* compiled from: PremiumAndPremiumGuildActivatedDialog.kt */
|
||||
public static final /* synthetic */ class b extends k implements Function1<View, u0> {
|
||||
public static final b i = new b();
|
||||
|
||||
public b() {
|
||||
super(1, u0.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/PremiumAndPremiumGuildActivatedDialogBinding;", 0);
|
||||
}
|
||||
|
||||
/* Return type fixed from 'java.lang.Object' to match base method */
|
||||
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
|
||||
@Override // kotlin.jvm.functions.Function1
|
||||
public u0 invoke(View view) {
|
||||
View view2 = view;
|
||||
m.checkNotNullParameter(view2, "p1");
|
||||
int i2 = 2131364362;
|
||||
MaterialButton materialButton = (MaterialButton) view2.findViewById(2131364362);
|
||||
if (materialButton != null) {
|
||||
i2 = 2131364368;
|
||||
TextView textView = (TextView) view2.findViewById(2131364368);
|
||||
if (textView != null) {
|
||||
return new u0((LinearLayout) view2, materialButton, textView);
|
||||
}
|
||||
}
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(view2.getResources().getResourceName(i2)));
|
||||
}
|
||||
}
|
||||
|
||||
/* compiled from: PremiumAndPremiumGuildActivatedDialog.kt */
|
||||
public static final class c implements View.OnClickListener {
|
||||
public final /* synthetic */ g i;
|
||||
|
||||
public c(g gVar) {
|
||||
this.i = gVar;
|
||||
}
|
||||
|
||||
@Override // android.view.View.OnClickListener
|
||||
public final void onClick(View view) {
|
||||
Function0<Unit> function0 = this.i.k;
|
||||
if (function0 != null) {
|
||||
function0.mo1invoke();
|
||||
}
|
||||
this.i.dismiss();
|
||||
}
|
||||
}
|
||||
|
||||
public g() {
|
||||
super(2131558642);
|
||||
}
|
||||
|
||||
@Override // com.discord.app.AppDialog
|
||||
public void onViewBoundOrOnResume() {
|
||||
String str;
|
||||
super.onViewBoundOrOnResume();
|
||||
if (this.k == null) {
|
||||
dismiss();
|
||||
}
|
||||
Bundle arguments = getArguments();
|
||||
if (arguments == null || (str = arguments.getString("extra_plan_text")) == null) {
|
||||
str = "";
|
||||
}
|
||||
m.checkNotNullExpressionValue(str, "arguments?.getString(EXTRA_PLAN_NAME) ?: \"\"");
|
||||
FragmentViewBindingDelegate fragmentViewBindingDelegate = this.l;
|
||||
KProperty<?>[] kPropertyArr = i;
|
||||
TextView textView = ((u0) fragmentViewBindingDelegate.getValue((Fragment) this, kPropertyArr[0])).f166c;
|
||||
m.checkNotNullExpressionValue(textView, "binding.premiumAndPremiumGuildActivatedText");
|
||||
c.a.k.b.m(textView, 2131886941, new Object[]{str}, null, 4);
|
||||
requireDialog().setCanceledOnTouchOutside(true);
|
||||
((u0) this.l.getValue((Fragment) this, kPropertyArr[0])).b.setOnClickListener(new c(this));
|
||||
}
|
||||
}
|
|
@ -0,0 +1,292 @@
|
|||
package c.a.a.e.a;
|
||||
|
||||
import android.content.Context;
|
||||
import android.view.View;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.RadioGroup;
|
||||
import android.widget.TextView;
|
||||
import androidx.fragment.app.Fragment;
|
||||
import androidx.fragment.app.FragmentViewModelLazyKt;
|
||||
import c.a.a.e.a.f;
|
||||
import c.a.d.h0;
|
||||
import c.a.d.j0;
|
||||
import com.discord.app.AppDialog;
|
||||
import com.discord.app.AppViewModel;
|
||||
import com.discord.rtcconnection.audio.DiscordAudioManager;
|
||||
import com.discord.stores.StoreAudioDevices;
|
||||
import com.discord.utilities.color.ColorCompat;
|
||||
import com.discord.utilities.color.ColorCompatKt;
|
||||
import com.discord.utilities.rx.ObservableExtensionsKt;
|
||||
import com.discord.utilities.viewbinding.FragmentViewBindingDelegate;
|
||||
import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt;
|
||||
import com.google.android.material.radiobutton.MaterialRadioButton;
|
||||
import d0.z.d.a0;
|
||||
import d0.z.d.k;
|
||||
import d0.z.d.m;
|
||||
import d0.z.d.o;
|
||||
import java.util.Objects;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
import kotlin.Lazy;
|
||||
import kotlin.NoWhenBranchMatchedException;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function0;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.reflect.KProperty;
|
||||
import rx.Observable;
|
||||
/* compiled from: AudioOutputSelectionDialog.kt */
|
||||
public final class a extends AppDialog {
|
||||
public static final /* synthetic */ KProperty[] i = {c.d.b.a.a.V(a.class, "binding", "getBinding()Lcom/discord/databinding/AudioOutputSelectionDialogBinding;", 0)};
|
||||
public static final b j = new b(null);
|
||||
public final FragmentViewBindingDelegate k = FragmentViewBindingDelegateKt.viewBinding$default(this, c.i, null, 2, null);
|
||||
public final Lazy l;
|
||||
|
||||
/* compiled from: java-style lambda group */
|
||||
/* renamed from: c.a.a.e.a.a$a reason: collision with other inner class name */
|
||||
public static final class View$OnClickListenerC0015a implements View.OnClickListener {
|
||||
public final /* synthetic */ int i;
|
||||
public final /* synthetic */ Object j;
|
||||
|
||||
public View$OnClickListenerC0015a(int i, Object obj) {
|
||||
this.i = i;
|
||||
this.j = obj;
|
||||
}
|
||||
|
||||
@Override // android.view.View.OnClickListener
|
||||
public final void onClick(View view) {
|
||||
StoreAudioDevices.OutputDevice.BluetoothAudio bluetoothAudio;
|
||||
int i = this.i;
|
||||
f.c.a aVar = null;
|
||||
if (i == 0) {
|
||||
f h = a.h((a) this.j);
|
||||
if (h.j.getEnabled()) {
|
||||
f.c viewState = h.getViewState();
|
||||
if (viewState instanceof f.c.a) {
|
||||
aVar = viewState;
|
||||
}
|
||||
f.c.a aVar2 = aVar;
|
||||
if (!(aVar2 == null || (bluetoothAudio = aVar2.f37c) == null)) {
|
||||
h.j.selectAudioOutput(bluetoothAudio);
|
||||
}
|
||||
} else {
|
||||
h.k.selectOutputDevice(DiscordAudioManager.DeviceTypes.BLUETOOTH_HEADSET);
|
||||
}
|
||||
a.g((a) this.j);
|
||||
} else if (i == 1) {
|
||||
f h2 = a.h((a) this.j);
|
||||
if (h2.j.getEnabled()) {
|
||||
h2.j.selectAudioOutput(StoreAudioDevices.OutputDevice.Speaker.INSTANCE);
|
||||
} else {
|
||||
h2.k.selectOutputDevice(DiscordAudioManager.DeviceTypes.SPEAKERPHONE);
|
||||
}
|
||||
a.g((a) this.j);
|
||||
} else if (i == 2) {
|
||||
f h3 = a.h((a) this.j);
|
||||
if (h3.j.getEnabled()) {
|
||||
h3.j.selectAudioOutput(StoreAudioDevices.OutputDevice.WiredAudio.INSTANCE);
|
||||
} else {
|
||||
h3.k.selectOutputDevice(DiscordAudioManager.DeviceTypes.WIRED_HEADSET);
|
||||
}
|
||||
a.g((a) this.j);
|
||||
} else if (i == 3) {
|
||||
f h4 = a.h((a) this.j);
|
||||
if (h4.j.getEnabled()) {
|
||||
h4.j.selectAudioOutput(StoreAudioDevices.OutputDevice.Earpiece.INSTANCE);
|
||||
} else {
|
||||
h4.k.selectOutputDevice(DiscordAudioManager.DeviceTypes.EARPIECE);
|
||||
}
|
||||
a.g((a) this.j);
|
||||
} else {
|
||||
throw null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* compiled from: AudioOutputSelectionDialog.kt */
|
||||
public static final class b {
|
||||
public b(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
}
|
||||
}
|
||||
|
||||
/* compiled from: AudioOutputSelectionDialog.kt */
|
||||
public static final /* synthetic */ class c extends k implements Function1<View, c.a.i.b> {
|
||||
public static final c i = new c();
|
||||
|
||||
public c() {
|
||||
super(1, c.a.i.b.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/AudioOutputSelectionDialogBinding;", 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 c.a.i.b invoke(View view) {
|
||||
View view2 = view;
|
||||
m.checkNotNullParameter(view2, "p1");
|
||||
int i2 = 2131361995;
|
||||
MaterialRadioButton materialRadioButton = (MaterialRadioButton) view2.findViewById(2131361995);
|
||||
if (materialRadioButton != null) {
|
||||
i2 = 2131361996;
|
||||
TextView textView = (TextView) view2.findViewById(2131361996);
|
||||
if (textView != null) {
|
||||
i2 = 2131361997;
|
||||
RadioGroup radioGroup = (RadioGroup) view2.findViewById(2131361997);
|
||||
if (radioGroup != null) {
|
||||
i2 = 2131361998;
|
||||
MaterialRadioButton materialRadioButton2 = (MaterialRadioButton) view2.findViewById(2131361998);
|
||||
if (materialRadioButton2 != null) {
|
||||
i2 = 2131361999;
|
||||
MaterialRadioButton materialRadioButton3 = (MaterialRadioButton) view2.findViewById(2131361999);
|
||||
if (materialRadioButton3 != null) {
|
||||
i2 = 2131362000;
|
||||
MaterialRadioButton materialRadioButton4 = (MaterialRadioButton) view2.findViewById(2131362000);
|
||||
if (materialRadioButton4 != null) {
|
||||
return new c.a.i.b((LinearLayout) view2, materialRadioButton, textView, radioGroup, materialRadioButton2, materialRadioButton3, materialRadioButton4);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(view2.getResources().getResourceName(i2)));
|
||||
}
|
||||
}
|
||||
|
||||
/* compiled from: AudioOutputSelectionDialog.kt */
|
||||
public static final class d extends o implements Function1<f.c, Unit> {
|
||||
public final /* synthetic */ a this$0;
|
||||
|
||||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||||
public d(a aVar) {
|
||||
super(1);
|
||||
this.this$0 = aVar;
|
||||
}
|
||||
|
||||
/* Return type fixed from 'java.lang.Object' to match base method */
|
||||
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
|
||||
@Override // kotlin.jvm.functions.Function1
|
||||
public Unit invoke(f.c cVar) {
|
||||
int i;
|
||||
String str;
|
||||
f.c cVar2 = cVar;
|
||||
m.checkNotNullParameter(cVar2, "viewState");
|
||||
a aVar = this.this$0;
|
||||
Objects.requireNonNull(aVar);
|
||||
m.checkNotNullParameter(cVar2, "viewState");
|
||||
if (!(cVar2 instanceof f.c.b) && (cVar2 instanceof f.c.a)) {
|
||||
f.c.a aVar2 = (f.c.a) cVar2;
|
||||
StoreAudioDevices.OutputDevice outputDevice = aVar2.a;
|
||||
if (outputDevice instanceof StoreAudioDevices.OutputDevice.BluetoothAudio) {
|
||||
MaterialRadioButton materialRadioButton = aVar.i().b;
|
||||
m.checkNotNullExpressionValue(materialRadioButton, "binding.audioOutputSelectionBluetoothRadio");
|
||||
i = materialRadioButton.getId();
|
||||
} else if (outputDevice instanceof StoreAudioDevices.OutputDevice.Speaker) {
|
||||
MaterialRadioButton materialRadioButton2 = aVar.i().e;
|
||||
m.checkNotNullExpressionValue(materialRadioButton2, "binding.audioOutputSelectionSpeakerRadio");
|
||||
i = materialRadioButton2.getId();
|
||||
} else if (outputDevice instanceof StoreAudioDevices.OutputDevice.WiredAudio) {
|
||||
MaterialRadioButton materialRadioButton3 = aVar.i().f;
|
||||
m.checkNotNullExpressionValue(materialRadioButton3, "binding.audioOutputSelectionWiredRadio");
|
||||
i = materialRadioButton3.getId();
|
||||
} else if (outputDevice instanceof StoreAudioDevices.OutputDevice.Earpiece) {
|
||||
MaterialRadioButton materialRadioButton4 = aVar.i().d;
|
||||
m.checkNotNullExpressionValue(materialRadioButton4, "binding.audioOutputSelectionEarpieceRadio");
|
||||
i = materialRadioButton4.getId();
|
||||
} else {
|
||||
throw new NoWhenBranchMatchedException();
|
||||
}
|
||||
aVar.i().f65c.check(i);
|
||||
MaterialRadioButton materialRadioButton5 = aVar.i().b;
|
||||
m.checkNotNullExpressionValue(materialRadioButton5, "binding.audioOutputSelectionBluetoothRadio");
|
||||
int i2 = 0;
|
||||
materialRadioButton5.setVisibility(aVar2.b ? 0 : 8);
|
||||
MaterialRadioButton materialRadioButton6 = aVar.i().b;
|
||||
m.checkNotNullExpressionValue(materialRadioButton6, "binding.audioOutputSelectionBluetoothRadio");
|
||||
StoreAudioDevices.OutputDevice.BluetoothAudio bluetoothAudio = aVar2.f37c;
|
||||
if (bluetoothAudio == null || (str = bluetoothAudio.getName()) == null) {
|
||||
str = aVar.getString(2131886745);
|
||||
}
|
||||
materialRadioButton6.setText(str);
|
||||
MaterialRadioButton materialRadioButton7 = aVar.i().e;
|
||||
m.checkNotNullExpressionValue(materialRadioButton7, "binding.audioOutputSelectionSpeakerRadio");
|
||||
materialRadioButton7.setVisibility(aVar2.d ? 0 : 8);
|
||||
MaterialRadioButton materialRadioButton8 = aVar.i().f;
|
||||
m.checkNotNullExpressionValue(materialRadioButton8, "binding.audioOutputSelectionWiredRadio");
|
||||
materialRadioButton8.setVisibility(aVar2.e ? 0 : 8);
|
||||
MaterialRadioButton materialRadioButton9 = aVar.i().d;
|
||||
m.checkNotNullExpressionValue(materialRadioButton9, "binding.audioOutputSelectionEarpieceRadio");
|
||||
if (!aVar2.f) {
|
||||
i2 = 8;
|
||||
}
|
||||
materialRadioButton9.setVisibility(i2);
|
||||
}
|
||||
return Unit.a;
|
||||
}
|
||||
}
|
||||
|
||||
/* compiled from: AudioOutputSelectionDialog.kt */
|
||||
public static final class e extends o implements Function0<AppViewModel<f.c>> {
|
||||
public static final e i = new e();
|
||||
|
||||
public e() {
|
||||
super(0);
|
||||
}
|
||||
|
||||
/* Return type fixed from 'java.lang.Object' to match base method */
|
||||
@Override // kotlin.jvm.functions.Function0
|
||||
/* renamed from: invoke */
|
||||
public AppViewModel<f.c> mo1invoke() {
|
||||
return new f(null, null, null, 7);
|
||||
}
|
||||
}
|
||||
|
||||
public a() {
|
||||
super(2131558433);
|
||||
e eVar = e.i;
|
||||
h0 h0Var = new h0(this);
|
||||
this.l = FragmentViewModelLazyKt.createViewModelLazy(this, a0.getOrCreateKotlinClass(f.class), new m(5, h0Var), new j0(eVar));
|
||||
}
|
||||
|
||||
public static final void g(a aVar) {
|
||||
Objects.requireNonNull(aVar);
|
||||
Observable<Long> d02 = Observable.d0(300, TimeUnit.MILLISECONDS);
|
||||
m.checkNotNullExpressionValue(d02, "Observable\n .time…S, TimeUnit.MILLISECONDS)");
|
||||
ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui$default(d02, aVar, null, 2, null), a.class, (Context) null, (Function1) null, (Function1) null, (Function0) null, (Function0) null, new b(aVar), 62, (Object) null);
|
||||
}
|
||||
|
||||
public static final f h(a aVar) {
|
||||
return (f) aVar.l.getValue();
|
||||
}
|
||||
|
||||
public final c.a.i.b i() {
|
||||
return (c.a.i.b) this.k.getValue((Fragment) this, i[0]);
|
||||
}
|
||||
|
||||
@Override // com.discord.app.AppDialog
|
||||
public void onViewBound(View view) {
|
||||
m.checkNotNullParameter(view, "view");
|
||||
super.onViewBound(view);
|
||||
int themedColor = ColorCompat.getThemedColor(view, 2130968949);
|
||||
MaterialRadioButton materialRadioButton = i().b;
|
||||
m.checkNotNullExpressionValue(materialRadioButton, "binding.audioOutputSelectionBluetoothRadio");
|
||||
ColorCompatKt.setDrawableColor(materialRadioButton, themedColor);
|
||||
MaterialRadioButton materialRadioButton2 = i().e;
|
||||
m.checkNotNullExpressionValue(materialRadioButton2, "binding.audioOutputSelectionSpeakerRadio");
|
||||
ColorCompatKt.setDrawableColor(materialRadioButton2, themedColor);
|
||||
MaterialRadioButton materialRadioButton3 = i().f;
|
||||
m.checkNotNullExpressionValue(materialRadioButton3, "binding.audioOutputSelectionWiredRadio");
|
||||
ColorCompatKt.setDrawableColor(materialRadioButton3, themedColor);
|
||||
MaterialRadioButton materialRadioButton4 = i().d;
|
||||
m.checkNotNullExpressionValue(materialRadioButton4, "binding.audioOutputSelectionEarpieceRadio");
|
||||
ColorCompatKt.setDrawableColor(materialRadioButton4, themedColor);
|
||||
i().b.setOnClickListener(new View$OnClickListenerC0015a(0, this));
|
||||
i().e.setOnClickListener(new View$OnClickListenerC0015a(1, this));
|
||||
i().f.setOnClickListener(new View$OnClickListenerC0015a(2, this));
|
||||
i().d.setOnClickListener(new View$OnClickListenerC0015a(3, this));
|
||||
}
|
||||
|
||||
@Override // com.discord.app.AppDialog
|
||||
public void onViewBoundOrOnResume() {
|
||||
super.onViewBoundOrOnResume();
|
||||
ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.bindToComponentLifecycle(((f) this.l.getValue()).observeViewState(), this), a.class, (Context) null, (Function1) null, (Function1) null, (Function0) null, (Function0) null, new d(this), 62, (Object) null);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
package c.a.a.e.a;
|
||||
|
||||
import d0.z.d.o;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
/* compiled from: AudioOutputSelectionDialog.kt */
|
||||
public final class b extends o implements Function1<Long, Unit> {
|
||||
public final /* synthetic */ a this$0;
|
||||
|
||||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||||
public b(a aVar) {
|
||||
super(1);
|
||||
this.this$0 = aVar;
|
||||
}
|
||||
|
||||
/* Return type fixed from 'java.lang.Object' to match base method */
|
||||
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
|
||||
@Override // kotlin.jvm.functions.Function1
|
||||
public Unit invoke(Long l) {
|
||||
this.this$0.requireDialog().cancel();
|
||||
return Unit.a;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,42 @@
|
|||
package c.a.a.e.a;
|
||||
|
||||
import c.a.a.e.a.f;
|
||||
import com.discord.stores.StoreAudioDevices;
|
||||
import d0.z.d.m;
|
||||
import d0.z.d.o;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Objects;
|
||||
import java.util.Set;
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
/* compiled from: AudioOutputSelectionDialogViewModel.kt */
|
||||
public final class c extends o implements Function1<f.b, Unit> {
|
||||
public final /* synthetic */ f this$0;
|
||||
|
||||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||||
public c(f fVar) {
|
||||
super(1);
|
||||
this.this$0 = fVar;
|
||||
}
|
||||
|
||||
/* Return type fixed from 'java.lang.Object' to match base method */
|
||||
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
|
||||
@Override // kotlin.jvm.functions.Function1
|
||||
public Unit invoke(f.b bVar) {
|
||||
f.b bVar2 = bVar;
|
||||
m.checkNotNullParameter(bVar2, "storeState");
|
||||
f fVar = this.this$0;
|
||||
Objects.requireNonNull(fVar);
|
||||
StoreAudioDevices.AudioDevicesState audioDevicesState = bVar2.a;
|
||||
Set<StoreAudioDevices.OutputDevice> availableOutputDevices = audioDevicesState.getAvailableOutputDevices();
|
||||
ArrayList arrayList = new ArrayList();
|
||||
for (Object obj : availableOutputDevices) {
|
||||
if (obj instanceof StoreAudioDevices.OutputDevice.BluetoothAudio) {
|
||||
arrayList.add(obj);
|
||||
}
|
||||
}
|
||||
boolean z2 = !arrayList.isEmpty();
|
||||
fVar.updateViewState(new f.c.a(audioDevicesState.getSelectedOutputDevice(), z2, z2 ? (StoreAudioDevices.OutputDevice.BluetoothAudio) arrayList.get(0) : null, availableOutputDevices.contains(StoreAudioDevices.OutputDevice.Speaker.INSTANCE), availableOutputDevices.contains(StoreAudioDevices.OutputDevice.WiredAudio.INSTANCE), availableOutputDevices.contains(StoreAudioDevices.OutputDevice.Earpiece.INSTANCE)));
|
||||
return Unit.a;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package c.a.a.e.a;
|
||||
|
||||
import c.a.a.e.a.f;
|
||||
import com.discord.stores.StoreAudioDevices;
|
||||
import d0.z.d.m;
|
||||
import j0.k.b;
|
||||
/* compiled from: AudioOutputSelectionDialogViewModel.kt */
|
||||
public final class d<T, R> implements b<StoreAudioDevices.AudioDevicesState, f.b> {
|
||||
public static final d i = new d();
|
||||
|
||||
/* Return type fixed from 'java.lang.Object' to match base method */
|
||||
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
|
||||
@Override // j0.k.b
|
||||
public f.b call(StoreAudioDevices.AudioDevicesState audioDevicesState) {
|
||||
StoreAudioDevices.AudioDevicesState audioDevicesState2 = audioDevicesState;
|
||||
m.checkNotNullExpressionValue(audioDevicesState2, "audioDevicesState");
|
||||
return new f.b(audioDevicesState2);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
package c.a.a.e.a;
|
||||
|
||||
import c.a.a.e.a.f;
|
||||
import com.discord.stores.StoreAudioManagerV2;
|
||||
import j0.k.b;
|
||||
/* compiled from: AudioOutputSelectionDialogViewModel.kt */
|
||||
public final class e<T, R> implements b<StoreAudioManagerV2.State, f.b> {
|
||||
public static final e i = new e();
|
||||
|
||||
/* 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 // j0.k.b
|
||||
public f.b call(StoreAudioManagerV2.State state) {
|
||||
return new f.b(state.asAudioDevicesState());
|
||||
}
|
||||
}
|
|
@ -0,0 +1,194 @@
|
|||
package c.a.a.e.a;
|
||||
|
||||
import android.content.Context;
|
||||
import com.discord.app.AppViewModel;
|
||||
import com.discord.stores.StoreAudioDevices;
|
||||
import com.discord.stores.StoreAudioManagerV2;
|
||||
import com.discord.stores.StoreStream;
|
||||
import com.discord.utilities.rx.ObservableExtensionsKt;
|
||||
import d0.z.d.m;
|
||||
import kotlin.jvm.functions.Function0;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import rx.Observable;
|
||||
/* compiled from: AudioOutputSelectionDialogViewModel.kt */
|
||||
public final class f extends AppViewModel<c> {
|
||||
public static final a i = new a(null);
|
||||
public final StoreAudioDevices j;
|
||||
public final StoreAudioManagerV2 k;
|
||||
|
||||
/* compiled from: AudioOutputSelectionDialogViewModel.kt */
|
||||
public static final class a {
|
||||
public a(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
}
|
||||
}
|
||||
|
||||
/* compiled from: AudioOutputSelectionDialogViewModel.kt */
|
||||
public static final class b {
|
||||
public final StoreAudioDevices.AudioDevicesState a;
|
||||
|
||||
public b(StoreAudioDevices.AudioDevicesState audioDevicesState) {
|
||||
m.checkNotNullParameter(audioDevicesState, "audioDevicesState");
|
||||
this.a = audioDevicesState;
|
||||
}
|
||||
|
||||
public boolean equals(Object obj) {
|
||||
if (this != obj) {
|
||||
return (obj instanceof b) && m.areEqual(this.a, ((b) obj).a);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
StoreAudioDevices.AudioDevicesState audioDevicesState = this.a;
|
||||
if (audioDevicesState != null) {
|
||||
return audioDevicesState.hashCode();
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder K = c.d.b.a.a.K("StoreState(audioDevicesState=");
|
||||
K.append(this.a);
|
||||
K.append(")");
|
||||
return K.toString();
|
||||
}
|
||||
}
|
||||
|
||||
/* compiled from: AudioOutputSelectionDialogViewModel.kt */
|
||||
public static abstract class c {
|
||||
|
||||
/* compiled from: AudioOutputSelectionDialogViewModel.kt */
|
||||
public static final class a extends c {
|
||||
public final StoreAudioDevices.OutputDevice a;
|
||||
public final boolean b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final StoreAudioDevices.OutputDevice.BluetoothAudio f37c;
|
||||
public final boolean d;
|
||||
public final boolean e;
|
||||
public final boolean f;
|
||||
|
||||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||||
public a(StoreAudioDevices.OutputDevice outputDevice, boolean z2, StoreAudioDevices.OutputDevice.BluetoothAudio bluetoothAudio, boolean z3, boolean z4, boolean z5) {
|
||||
super(null);
|
||||
m.checkNotNullParameter(outputDevice, "selectedAudioOutput");
|
||||
this.a = outputDevice;
|
||||
this.b = z2;
|
||||
this.f37c = bluetoothAudio;
|
||||
this.d = z3;
|
||||
this.e = z4;
|
||||
this.f = z5;
|
||||
}
|
||||
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj) {
|
||||
return true;
|
||||
}
|
||||
if (!(obj instanceof a)) {
|
||||
return false;
|
||||
}
|
||||
a aVar = (a) obj;
|
||||
return m.areEqual(this.a, aVar.a) && this.b == aVar.b && m.areEqual(this.f37c, aVar.f37c) && this.d == aVar.d && this.e == aVar.e && this.f == aVar.f;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
StoreAudioDevices.OutputDevice outputDevice = this.a;
|
||||
int i = 0;
|
||||
int hashCode = (outputDevice != null ? outputDevice.hashCode() : 0) * 31;
|
||||
boolean z2 = this.b;
|
||||
int i2 = 1;
|
||||
if (z2) {
|
||||
z2 = true;
|
||||
}
|
||||
int i3 = z2 ? 1 : 0;
|
||||
int i4 = z2 ? 1 : 0;
|
||||
int i5 = z2 ? 1 : 0;
|
||||
int i6 = (hashCode + i3) * 31;
|
||||
StoreAudioDevices.OutputDevice.BluetoothAudio bluetoothAudio = this.f37c;
|
||||
if (bluetoothAudio != null) {
|
||||
i = bluetoothAudio.hashCode();
|
||||
}
|
||||
int i7 = (i6 + i) * 31;
|
||||
boolean z3 = this.d;
|
||||
if (z3) {
|
||||
z3 = true;
|
||||
}
|
||||
int i8 = z3 ? 1 : 0;
|
||||
int i9 = z3 ? 1 : 0;
|
||||
int i10 = z3 ? 1 : 0;
|
||||
int i11 = (i7 + i8) * 31;
|
||||
boolean z4 = this.e;
|
||||
if (z4) {
|
||||
z4 = true;
|
||||
}
|
||||
int i12 = z4 ? 1 : 0;
|
||||
int i13 = z4 ? 1 : 0;
|
||||
int i14 = z4 ? 1 : 0;
|
||||
int i15 = (i11 + i12) * 31;
|
||||
boolean z5 = this.f;
|
||||
if (!z5) {
|
||||
i2 = z5 ? 1 : 0;
|
||||
}
|
||||
return i15 + i2;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuilder K = c.d.b.a.a.K("Loaded(selectedAudioOutput=");
|
||||
K.append(this.a);
|
||||
K.append(", showBluetoothItem=");
|
||||
K.append(this.b);
|
||||
K.append(", bluetoothDevice=");
|
||||
K.append(this.f37c);
|
||||
K.append(", showSpeakerItem=");
|
||||
K.append(this.d);
|
||||
K.append(", showWiredItem=");
|
||||
K.append(this.e);
|
||||
K.append(", showEarpieceItem=");
|
||||
return c.d.b.a.a.F(K, this.f, ")");
|
||||
}
|
||||
}
|
||||
|
||||
/* compiled from: AudioOutputSelectionDialogViewModel.kt */
|
||||
public static final class b extends c {
|
||||
public static final b a = new b();
|
||||
|
||||
public b() {
|
||||
super(null);
|
||||
}
|
||||
}
|
||||
|
||||
public c() {
|
||||
}
|
||||
|
||||
public c(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
}
|
||||
}
|
||||
|
||||
public f() {
|
||||
this(null, null, null, 7);
|
||||
}
|
||||
|
||||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||||
public f(StoreAudioDevices storeAudioDevices, StoreAudioManagerV2 storeAudioManagerV2, Observable observable, int i2) {
|
||||
super(c.b.a);
|
||||
Observable observable2;
|
||||
StoreAudioDevices audioDevices = (i2 & 1) != 0 ? StoreStream.Companion.getAudioDevices() : null;
|
||||
StoreAudioManagerV2 audioManagerV2 = (i2 & 2) != 0 ? StoreStream.Companion.getAudioManagerV2() : null;
|
||||
if ((i2 & 4) == 0) {
|
||||
observable2 = null;
|
||||
} else if (audioDevices.getEnabled()) {
|
||||
observable2 = audioDevices.observeAudioDevicesState().F(d.i);
|
||||
m.checkNotNullExpressionValue(observable2, "storeAudioDevices.observ…tate(audioDevicesState) }");
|
||||
} else {
|
||||
observable2 = audioManagerV2.observeAudioManagerState().F(e.i);
|
||||
m.checkNotNullExpressionValue(observable2, "storeAudioManager.observ….asAudioDevicesState()) }");
|
||||
}
|
||||
m.checkNotNullParameter(audioDevices, "storeAudioDevices");
|
||||
m.checkNotNullParameter(audioManagerV2, "storeAudioManager");
|
||||
m.checkNotNullParameter(observable2, "storeStateObservable");
|
||||
this.j = audioDevices;
|
||||
this.k = audioManagerV2;
|
||||
ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui$default(ObservableExtensionsKt.computationLatest(observable2), this, null, 2, null), f.class, (Context) null, (Function1) null, (Function1) null, (Function0) null, (Function0) null, new c(this), 62, (Object) null);
|
||||
}
|
||||
}
|
|
@ -6,7 +6,7 @@ import android.view.View;
|
|||
import android.widget.LinearLayout;
|
||||
import android.widget.TextView;
|
||||
import androidx.fragment.app.Fragment;
|
||||
import c.a.i.e5;
|
||||
import c.a.i.g5;
|
||||
import com.discord.app.AppDialog;
|
||||
import com.discord.stores.StoreNotices;
|
||||
import com.discord.stores.StoreStream;
|
||||
|
@ -78,35 +78,35 @@ public final class a extends AppDialog {
|
|||
}
|
||||
|
||||
/* compiled from: WidgetMaskedLinksDialog.kt */
|
||||
public static final /* synthetic */ class c extends k implements Function1<View, e5> {
|
||||
public static final /* synthetic */ class c extends k implements Function1<View, g5> {
|
||||
public static final c i = new c();
|
||||
|
||||
public c() {
|
||||
super(1, e5.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetMaskedLinksDialogBinding;", 0);
|
||||
super(1, g5.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetMaskedLinksDialogBinding;", 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 e5 invoke(View view) {
|
||||
public g5 invoke(View view) {
|
||||
View view2 = view;
|
||||
m.checkNotNullParameter(view2, "p1");
|
||||
int i2 = 2131363883;
|
||||
TextView textView = (TextView) view2.findViewById(2131363883);
|
||||
int i2 = 2131363892;
|
||||
TextView textView = (TextView) view2.findViewById(2131363892);
|
||||
if (textView != null) {
|
||||
i2 = 2131363884;
|
||||
MaterialButton materialButton = (MaterialButton) view2.findViewById(2131363884);
|
||||
i2 = 2131363893;
|
||||
MaterialButton materialButton = (MaterialButton) view2.findViewById(2131363893);
|
||||
if (materialButton != null) {
|
||||
i2 = 2131363885;
|
||||
MaterialButton materialButton2 = (MaterialButton) view2.findViewById(2131363885);
|
||||
i2 = 2131363894;
|
||||
MaterialButton materialButton2 = (MaterialButton) view2.findViewById(2131363894);
|
||||
if (materialButton2 != null) {
|
||||
i2 = 2131363886;
|
||||
TextView textView2 = (TextView) view2.findViewById(2131363886);
|
||||
i2 = 2131363895;
|
||||
TextView textView2 = (TextView) view2.findViewById(2131363895);
|
||||
if (textView2 != null) {
|
||||
i2 = 2131365641;
|
||||
TextView textView3 = (TextView) view2.findViewById(2131365641);
|
||||
i2 = 2131365665;
|
||||
TextView textView3 = (TextView) view2.findViewById(2131365665);
|
||||
if (textView3 != null) {
|
||||
return new e5((LinearLayout) view2, textView, materialButton, materialButton2, textView2, textView3);
|
||||
return new g5((LinearLayout) view2, textView, materialButton, materialButton2, textView2, textView3);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -131,11 +131,11 @@ public final class a extends AppDialog {
|
|||
}
|
||||
|
||||
public a() {
|
||||
super(2131559104);
|
||||
super(2131559109);
|
||||
}
|
||||
|
||||
public final e5 g() {
|
||||
return (e5) this.k.getValue((Fragment) this, i[0]);
|
||||
public final g5 g() {
|
||||
return (g5) this.k.getValue((Fragment) this, i[0]);
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.Fragment
|
||||
|
@ -165,8 +165,8 @@ public final class a extends AppDialog {
|
|||
}
|
||||
TextView textView = g().b;
|
||||
m.checkNotNullExpressionValue(textView, "binding.maskedLinksBodyText");
|
||||
c.a.k.b.m(textView, 2131891129, new Object[]{obj}, null, 4);
|
||||
g().f86c.setOnClickListener(new d(this));
|
||||
c.a.k.b.m(textView, 2131891171, new Object[]{obj}, null, 4);
|
||||
g().f99c.setOnClickListener(new d(this));
|
||||
g().d.setOnClickListener(new View$OnClickListenerC0016a(0, this, str));
|
||||
g().e.setOnClickListener(new View$OnClickListenerC0016a(1, this, str));
|
||||
}
|
||||
|
|
|
@ -84,8 +84,8 @@ public final class g extends AppDialog {
|
|||
i2 = 2131361858;
|
||||
MaterialButton materialButton2 = (MaterialButton) view2.findViewById(2131361858);
|
||||
if (materialButton2 != null) {
|
||||
i2 = 2131365641;
|
||||
TextView textView2 = (TextView) view2.findViewById(2131365641);
|
||||
i2 = 2131365665;
|
||||
TextView textView2 = (TextView) view2.findViewById(2131365665);
|
||||
if (textView2 != null) {
|
||||
return new c.a.i.a((LinearLayout) view2, textView, materialButton, materialButton2, textView2);
|
||||
}
|
||||
|
|
|
@ -48,7 +48,7 @@ public final class h extends AppDialog {
|
|||
m.checkNotNullExpressionValue(requireContext2, "requireContext()");
|
||||
String str = (String) this.k;
|
||||
m.checkNotNullExpressionValue(str, "username");
|
||||
o.a(requireContext2, str, 2131887626);
|
||||
o.a(requireContext2, str, 2131887628);
|
||||
((h) this.j).dismiss();
|
||||
} else {
|
||||
throw null;
|
||||
|
@ -109,11 +109,11 @@ public final class h extends AppDialog {
|
|||
String string2 = getArgumentsOrDefault().getString("ARG_USERNAME", "");
|
||||
int i2 = getArgumentsOrDefault().getInt("ARG_PLATFORM_IMAGE_RES", 0);
|
||||
if (i2 != 0) {
|
||||
TextView textView = g().f97c;
|
||||
TextView textView = g().f100c;
|
||||
m.checkNotNullExpressionValue(textView, "binding.connectedAccountActionsDialogHeader");
|
||||
ViewExtensions.setCompoundDrawableWithIntrinsicBounds$default(textView, i2, 0, 0, 0, 14, null);
|
||||
}
|
||||
TextView textView2 = g().f97c;
|
||||
TextView textView2 = g().f100c;
|
||||
m.checkNotNullExpressionValue(textView2, "binding.connectedAccountActionsDialogHeader");
|
||||
textView2.setText(string2);
|
||||
TextView textView3 = g().d;
|
||||
|
|
|
@ -51,14 +51,14 @@ public final class i extends AppDialog {
|
|||
public e invoke(View view) {
|
||||
View view2 = view;
|
||||
m.checkNotNullParameter(view2, "p1");
|
||||
int i2 = 2131362233;
|
||||
TextView textView = (TextView) view2.findViewById(2131362233);
|
||||
int i2 = 2131362234;
|
||||
TextView textView = (TextView) view2.findViewById(2131362234);
|
||||
if (textView != null) {
|
||||
i2 = 2131362234;
|
||||
MaterialButton materialButton = (MaterialButton) view2.findViewById(2131362234);
|
||||
i2 = 2131362235;
|
||||
MaterialButton materialButton = (MaterialButton) view2.findViewById(2131362235);
|
||||
if (materialButton != null) {
|
||||
i2 = 2131364128;
|
||||
LinearLayout linearLayout = (LinearLayout) view2.findViewById(2131364128);
|
||||
i2 = 2131364140;
|
||||
LinearLayout linearLayout = (LinearLayout) view2.findViewById(2131364140);
|
||||
if (linearLayout != null) {
|
||||
return new e((LinearLayout) view2, textView, materialButton, linearLayout);
|
||||
}
|
||||
|
@ -92,11 +92,11 @@ public final class i extends AppDialog {
|
|||
requireDialog().setCanceledOnTouchOutside(true);
|
||||
FragmentViewBindingDelegate fragmentViewBindingDelegate = this.k;
|
||||
KProperty<?>[] kPropertyArr = i;
|
||||
((e) fragmentViewBindingDelegate.getValue((Fragment) this, kPropertyArr[0])).f81c.setOnClickListener(new c(this));
|
||||
((e) fragmentViewBindingDelegate.getValue((Fragment) this, kPropertyArr[0])).f83c.setOnClickListener(new c(this));
|
||||
Bundle arguments = getArguments();
|
||||
Integer valueOf = arguments != null ? Integer.valueOf(arguments.getInt("ARG_MAX_VIDEO_CHANNEL_USERS")) : null;
|
||||
TextView textView = ((e) this.k.getValue((Fragment) this, kPropertyArr[0])).b;
|
||||
m.checkNotNullExpressionValue(textView, "binding.cameraCapacityBody");
|
||||
textView.setText(c.a.k.b.j(this, 2131894732, new Object[]{String.valueOf(valueOf)}, null, 4));
|
||||
textView.setText(c.a.k.b.j(this, 2131894819, new Object[]{String.valueOf(valueOf)}, null, 4));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -132,7 +132,7 @@ public final class j extends AppDialog {
|
|||
@Override // com.discord.app.AppDialog, androidx.fragment.app.Fragment
|
||||
public void onPause() {
|
||||
super.onPause();
|
||||
g().f112c.clearFocus();
|
||||
g().f113c.clearFocus();
|
||||
}
|
||||
|
||||
@Override // com.discord.app.AppDialog
|
||||
|
@ -146,12 +146,12 @@ public final class j extends AppDialog {
|
|||
charSequence = "";
|
||||
}
|
||||
textView.setText(charSequence);
|
||||
DatePicker datePicker = g().f112c;
|
||||
DatePicker datePicker = g().f113c;
|
||||
m.checkNotNullExpressionValue(datePicker, "binding.dialogDatePickerInput");
|
||||
Bundle arguments2 = getArguments();
|
||||
long j2 = 0;
|
||||
datePicker.setMaxDate(arguments2 != null ? arguments2.getLong("max_date") : 0);
|
||||
DatePicker datePicker2 = g().f112c;
|
||||
DatePicker datePicker2 = g().f113c;
|
||||
m.checkNotNullExpressionValue(datePicker2, "binding.dialogDatePickerInput");
|
||||
datePicker2.setMinDate(BirthdayHelper.INSTANCE.subtractYearsFromToday(150));
|
||||
Bundle arguments3 = getArguments();
|
||||
|
@ -165,7 +165,7 @@ public final class j extends AppDialog {
|
|||
Calendar instance = Calendar.getInstance();
|
||||
m.checkNotNullExpressionValue(instance, "calendar");
|
||||
instance.setTimeInMillis(this.l);
|
||||
g().f112c.init(instance.get(1), instance.get(2), instance.get(5), new c(this));
|
||||
g().f113c.init(instance.get(1), instance.get(2), instance.get(5), new c(this));
|
||||
g().b.setOnClickListener(new d(this));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ public final class k extends o implements Function1<View, Unit> {
|
|||
@Override // kotlin.jvm.functions.Function1
|
||||
public Unit invoke(View view) {
|
||||
m.checkNotNullParameter(view, "<anonymous parameter 0>");
|
||||
this.$onConfirm.invoke(2131888804);
|
||||
this.$onConfirm.invoke(2131888817);
|
||||
return Unit.a;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -45,11 +45,11 @@ public final class l extends AppDialog {
|
|||
public s invoke(View view) {
|
||||
View view2 = view;
|
||||
m.checkNotNullParameter(view2, "p1");
|
||||
int i2 = 2131363550;
|
||||
MaterialButton materialButton = (MaterialButton) view2.findViewById(2131363550);
|
||||
int i2 = 2131363559;
|
||||
MaterialButton materialButton = (MaterialButton) view2.findViewById(2131363559);
|
||||
if (materialButton != null) {
|
||||
i2 = 2131364128;
|
||||
LinearLayout linearLayout = (LinearLayout) view2.findViewById(2131364128);
|
||||
i2 = 2131364140;
|
||||
LinearLayout linearLayout = (LinearLayout) view2.findViewById(2131364140);
|
||||
if (linearLayout != null) {
|
||||
return new s((LinearLayout) view2, materialButton, linearLayout);
|
||||
}
|
||||
|
@ -73,7 +73,7 @@ public final class l extends AppDialog {
|
|||
}
|
||||
|
||||
public l() {
|
||||
super(2131558522);
|
||||
super(2131558523);
|
||||
}
|
||||
|
||||
@Override // com.discord.app.AppDialog, androidx.fragment.app.Fragment
|
||||
|
|
|
@ -176,10 +176,10 @@ public final class m extends AppDialog {
|
|||
g().b.setOnClickListener(new d(this));
|
||||
CharSequence[] charSequenceArray = getArgumentsOrDefault().getCharSequenceArray("INTENT_DIALOG_OPTIONS");
|
||||
if (charSequenceArray != null) {
|
||||
MaxHeightRecyclerView maxHeightRecyclerView = g().f118c;
|
||||
MaxHeightRecyclerView maxHeightRecyclerView = g().f119c;
|
||||
d0.z.d.m.checkNotNullExpressionValue(maxHeightRecyclerView, "binding.dialogSelections");
|
||||
maxHeightRecyclerView.setAdapter(new SimpleRecyclerAdapter(j.asList(charSequenceArray), new e(this)));
|
||||
MaxHeightRecyclerView maxHeightRecyclerView2 = g().f118c;
|
||||
MaxHeightRecyclerView maxHeightRecyclerView2 = g().f119c;
|
||||
RecyclerView.Adapter adapter = maxHeightRecyclerView2.getAdapter();
|
||||
if (adapter != null) {
|
||||
adapter.notifyDataSetChanged();
|
||||
|
@ -187,7 +187,7 @@ public final class m extends AppDialog {
|
|||
maxHeightRecyclerView2.setHasFixedSize(false);
|
||||
maxHeightRecyclerView2.setNestedScrollingEnabled(false);
|
||||
SimpleRecyclerAdapter.Companion companion = SimpleRecyclerAdapter.Companion;
|
||||
MaxHeightRecyclerView maxHeightRecyclerView3 = g().f118c;
|
||||
MaxHeightRecyclerView maxHeightRecyclerView3 = g().f119c;
|
||||
d0.z.d.m.checkNotNullExpressionValue(maxHeightRecyclerView3, "binding.dialogSelections");
|
||||
companion.addThemedDivider(maxHeightRecyclerView3);
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ import android.widget.LinearLayout;
|
|||
import android.widget.TextView;
|
||||
import androidx.fragment.app.Fragment;
|
||||
import androidx.fragment.app.FragmentActivity;
|
||||
import c.a.i.x4;
|
||||
import c.a.i.z4;
|
||||
import com.discord.api.auth.mfa.EnableMfaResponse;
|
||||
import com.discord.app.AppDialog;
|
||||
import com.discord.restapi.RestAPIParams;
|
||||
|
@ -41,41 +41,41 @@ public final class q extends AppDialog {
|
|||
}
|
||||
|
||||
/* compiled from: WidgetEnableTwoFactorPasswordDialog.kt */
|
||||
public static final /* synthetic */ class b extends k implements Function1<View, x4> {
|
||||
public static final /* synthetic */ class b extends k implements Function1<View, z4> {
|
||||
public static final b i = new b();
|
||||
|
||||
public b() {
|
||||
super(1, x4.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetEnableTwoFactorPasswordDialogBinding;", 0);
|
||||
super(1, z4.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetEnableTwoFactorPasswordDialogBinding;", 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 x4 invoke(View view) {
|
||||
public z4 invoke(View view) {
|
||||
View view2 = view;
|
||||
m.checkNotNullParameter(view2, "p1");
|
||||
int i2 = 2131363110;
|
||||
LinearLayout linearLayout = (LinearLayout) view2.findViewById(2131363110);
|
||||
int i2 = 2131363119;
|
||||
LinearLayout linearLayout = (LinearLayout) view2.findViewById(2131363119);
|
||||
if (linearLayout != null) {
|
||||
i2 = 2131363111;
|
||||
TextView textView = (TextView) view2.findViewById(2131363111);
|
||||
i2 = 2131363120;
|
||||
TextView textView = (TextView) view2.findViewById(2131363120);
|
||||
if (textView != null) {
|
||||
i2 = 2131363112;
|
||||
MaterialButton materialButton = (MaterialButton) view2.findViewById(2131363112);
|
||||
i2 = 2131363121;
|
||||
MaterialButton materialButton = (MaterialButton) view2.findViewById(2131363121);
|
||||
if (materialButton != null) {
|
||||
i2 = 2131363113;
|
||||
TextView textView2 = (TextView) view2.findViewById(2131363113);
|
||||
i2 = 2131363122;
|
||||
TextView textView2 = (TextView) view2.findViewById(2131363122);
|
||||
if (textView2 != null) {
|
||||
i2 = 2131363114;
|
||||
LinearLayout linearLayout2 = (LinearLayout) view2.findViewById(2131363114);
|
||||
i2 = 2131363123;
|
||||
LinearLayout linearLayout2 = (LinearLayout) view2.findViewById(2131363123);
|
||||
if (linearLayout2 != null) {
|
||||
i2 = 2131363115;
|
||||
LoadingButton loadingButton = (LoadingButton) view2.findViewById(2131363115);
|
||||
i2 = 2131363124;
|
||||
LoadingButton loadingButton = (LoadingButton) view2.findViewById(2131363124);
|
||||
if (loadingButton != null) {
|
||||
i2 = 2131363116;
|
||||
TextInputLayout textInputLayout = (TextInputLayout) view2.findViewById(2131363116);
|
||||
i2 = 2131363125;
|
||||
TextInputLayout textInputLayout = (TextInputLayout) view2.findViewById(2131363125);
|
||||
if (textInputLayout != null) {
|
||||
return new x4((LinearLayout) view2, linearLayout, textView, materialButton, textView2, linearLayout2, loadingButton, textInputLayout);
|
||||
return new z4((LinearLayout) view2, linearLayout, textView, materialButton, textView2, linearLayout2, loadingButton, textInputLayout);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -144,7 +144,7 @@ public final class q extends AppDialog {
|
|||
m.checkNotNullParameter(error2, "error");
|
||||
q qVar = this.this$0.i;
|
||||
KProperty[] kPropertyArr = q.i;
|
||||
qVar.g().f184c.setIsLoading(false);
|
||||
qVar.g().f197c.setIsLoading(false);
|
||||
Error.Response response = error2.getResponse();
|
||||
m.checkNotNullExpressionValue(response, "error.response");
|
||||
if (response.getCode() == 60005) {
|
||||
|
@ -172,7 +172,7 @@ public final class q extends AppDialog {
|
|||
TextInputLayout textInputLayout = qVar.g().d;
|
||||
m.checkNotNullExpressionValue(textInputLayout, "binding.enableTwoFactorPasswordViewInput");
|
||||
String textOrEmpty = ViewExtensions.getTextOrEmpty(textInputLayout);
|
||||
this.i.g().f184c.setIsLoading(true);
|
||||
this.i.g().f197c.setIsLoading(true);
|
||||
Observable ui$default = ObservableExtensionsKt.ui$default(ObservableExtensionsKt.restSubscribeOn$default(RestAPI.Companion.getApi().enableMFA(new RestAPIParams.EnableMFA("random code", "random secret", textOrEmpty)), false, 1, null), this.i, null, 2, null);
|
||||
a aVar = a.i;
|
||||
ObservableExtensionsKt.appSubscribe$default(ui$default, this.i.getClass(), this.j.getContext(), (Function1) null, new b(this), (Function0) null, (Function0) null, aVar, 52, (Object) null);
|
||||
|
@ -197,11 +197,11 @@ public final class q extends AppDialog {
|
|||
}
|
||||
|
||||
public q() {
|
||||
super(2131559019);
|
||||
super(2131559023);
|
||||
}
|
||||
|
||||
public final x4 g() {
|
||||
return (x4) this.k.getValue((Fragment) this, i[0]);
|
||||
public final z4 g() {
|
||||
return (z4) this.k.getValue((Fragment) this, i[0]);
|
||||
}
|
||||
|
||||
@Override // com.discord.app.AppDialog
|
||||
|
@ -209,8 +209,8 @@ public final class q extends AppDialog {
|
|||
m.checkNotNullParameter(view, "view");
|
||||
super.onViewBound(view);
|
||||
setCancelable(false);
|
||||
g().f184c.setIsLoading(false);
|
||||
g().f184c.setOnClickListener(new d(this, view));
|
||||
g().f197c.setIsLoading(false);
|
||||
g().f197c.setOnClickListener(new d(this, view));
|
||||
g().b.setOnClickListener(new e(this));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ import androidx.fragment.app.FragmentViewModelLazyKt;
|
|||
import c.a.a.v;
|
||||
import c.a.d.h0;
|
||||
import c.a.d.j0;
|
||||
import c.a.i.r5;
|
||||
import c.a.i.t5;
|
||||
import com.discord.app.AppDialog;
|
||||
import com.discord.app.AppViewModel;
|
||||
import com.discord.stores.StoreStream;
|
||||
|
@ -44,29 +44,29 @@ public final class r extends AppDialog {
|
|||
}
|
||||
|
||||
/* compiled from: WidgetUrgentMessageDialog.kt */
|
||||
public static final /* synthetic */ class b extends k implements Function1<View, r5> {
|
||||
public static final /* synthetic */ class b extends k implements Function1<View, t5> {
|
||||
public static final b i = new b();
|
||||
|
||||
public b() {
|
||||
super(1, r5.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetUrgentMessageDialogBinding;", 0);
|
||||
super(1, t5.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetUrgentMessageDialogBinding;", 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 r5 invoke(View view) {
|
||||
public t5 invoke(View view) {
|
||||
View view2 = view;
|
||||
m.checkNotNullParameter(view2, "p1");
|
||||
int i2 = 2131365640;
|
||||
LoadingButton loadingButton = (LoadingButton) view2.findViewById(2131365640);
|
||||
int i2 = 2131365664;
|
||||
LoadingButton loadingButton = (LoadingButton) view2.findViewById(2131365664);
|
||||
if (loadingButton != null) {
|
||||
i2 = 2131365641;
|
||||
TextView textView = (TextView) view2.findViewById(2131365641);
|
||||
i2 = 2131365665;
|
||||
TextView textView = (TextView) view2.findViewById(2131365665);
|
||||
if (textView != null) {
|
||||
i2 = 2131365642;
|
||||
TextView textView2 = (TextView) view2.findViewById(2131365642);
|
||||
i2 = 2131365666;
|
||||
TextView textView2 = (TextView) view2.findViewById(2131365666);
|
||||
if (textView2 != null) {
|
||||
return new r5((LinearLayout) view2, loadingButton, textView, textView2);
|
||||
return new t5((LinearLayout) view2, loadingButton, textView, textView2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -92,13 +92,13 @@ public final class r extends AppDialog {
|
|||
m.checkNotNullParameter(dVar2, "viewState");
|
||||
r rVar = this.this$0;
|
||||
KProperty[] kPropertyArr = r.i;
|
||||
TextView textView = rVar.g().f152c;
|
||||
TextView textView = rVar.g().f164c;
|
||||
m.checkNotNullExpressionValue(textView, "binding.viewDialogConfirmationHeader");
|
||||
textView.setText(rVar.getString(2131893946));
|
||||
textView.setText(rVar.getString(2131894027));
|
||||
TextView textView2 = rVar.g().d;
|
||||
m.checkNotNullExpressionValue(textView2, "binding.viewDialogConfirmationText");
|
||||
textView2.setText(rVar.getString(2131893945));
|
||||
rVar.g().b.setText(rVar.getString(2131891822));
|
||||
textView2.setText(rVar.getString(2131894026));
|
||||
rVar.g().b.setText(rVar.getString(2131891868));
|
||||
rVar.g().b.setIsLoading(dVar2.b);
|
||||
rVar.g().b.setOnClickListener(new s(rVar));
|
||||
return Unit.a;
|
||||
|
@ -127,7 +127,7 @@ public final class r extends AppDialog {
|
|||
if (m.areEqual(bVar2, v.b.a.a)) {
|
||||
rVar.dismiss();
|
||||
} else if (m.areEqual(bVar2, v.b.C0018b.a)) {
|
||||
c.a.d.o.g(rVar.getContext(), 2131890612, 0, null, 12);
|
||||
c.a.d.o.g(rVar.getContext(), 2131890652, 0, null, 12);
|
||||
} else {
|
||||
throw new NoWhenBranchMatchedException();
|
||||
}
|
||||
|
@ -152,14 +152,14 @@ public final class r extends AppDialog {
|
|||
}
|
||||
|
||||
public r() {
|
||||
super(2131559287);
|
||||
super(2131559293);
|
||||
e eVar = e.i;
|
||||
h0 h0Var = new h0(this);
|
||||
this.l = FragmentViewModelLazyKt.createViewModelLazy(this, a0.getOrCreateKotlinClass(v.class), new m(1, h0Var), new j0(eVar));
|
||||
}
|
||||
|
||||
public final r5 g() {
|
||||
return (r5) this.k.getValue((Fragment) this, i[0]);
|
||||
public final t5 g() {
|
||||
return (t5) this.k.getValue((Fragment) this, i[0]);
|
||||
}
|
||||
|
||||
public final v h() {
|
||||
|
|
|
@ -61,26 +61,26 @@ public final class a extends AppDialog {
|
|||
public p invoke(View view) {
|
||||
View view2 = view;
|
||||
m.checkNotNullParameter(view2, "p1");
|
||||
int i2 = 2131363355;
|
||||
TextView textView = (TextView) view2.findViewById(2131363355);
|
||||
int i2 = 2131363364;
|
||||
TextView textView = (TextView) view2.findViewById(2131363364);
|
||||
if (textView != null) {
|
||||
i2 = 2131363356;
|
||||
RelativeLayout relativeLayout = (RelativeLayout) view2.findViewById(2131363356);
|
||||
i2 = 2131363365;
|
||||
RelativeLayout relativeLayout = (RelativeLayout) view2.findViewById(2131363365);
|
||||
if (relativeLayout != null) {
|
||||
i2 = 2131363358;
|
||||
MaterialButton materialButton = (MaterialButton) view2.findViewById(2131363358);
|
||||
i2 = 2131363367;
|
||||
MaterialButton materialButton = (MaterialButton) view2.findViewById(2131363367);
|
||||
if (materialButton != null) {
|
||||
i2 = 2131363363;
|
||||
LinkifiedTextView linkifiedTextView = (LinkifiedTextView) view2.findViewById(2131363363);
|
||||
i2 = 2131363372;
|
||||
LinkifiedTextView linkifiedTextView = (LinkifiedTextView) view2.findViewById(2131363372);
|
||||
if (linkifiedTextView != null) {
|
||||
i2 = 2131363364;
|
||||
MaterialButton materialButton2 = (MaterialButton) view2.findViewById(2131363364);
|
||||
i2 = 2131363373;
|
||||
MaterialButton materialButton2 = (MaterialButton) view2.findViewById(2131363373);
|
||||
if (materialButton2 != null) {
|
||||
i2 = 2131363365;
|
||||
TextView textView2 = (TextView) view2.findViewById(2131363365);
|
||||
i2 = 2131363374;
|
||||
TextView textView2 = (TextView) view2.findViewById(2131363374);
|
||||
if (textView2 != null) {
|
||||
i2 = 2131363366;
|
||||
ImageView imageView = (ImageView) view2.findViewById(2131363366);
|
||||
i2 = 2131363375;
|
||||
ImageView imageView = (ImageView) view2.findViewById(2131363375);
|
||||
if (imageView != null) {
|
||||
return new p((LinearLayout) view2, textView, relativeLayout, materialButton, linkifiedTextView, materialButton2, textView2, imageView);
|
||||
}
|
||||
|
@ -160,14 +160,14 @@ public final class a extends AppDialog {
|
|||
KProperty[] kPropertyArr = a.i;
|
||||
MaterialButton materialButton = aVar.g().d;
|
||||
m.checkNotNullExpressionValue(materialButton, "binding.giftEntitlementCopy");
|
||||
materialButton.setText(context.getString(2131887625));
|
||||
this.i.g().f138c.setBackgroundResource(DrawableCompat.getThemedDrawableRes$default(context, 2130969333, 0, 2, (Object) null));
|
||||
materialButton.setText(context.getString(2131887627));
|
||||
this.i.g().f138c.setBackgroundResource(DrawableCompat.getThemedDrawableRes$default(context, 2130969334, 0, 2, (Object) null));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public a() {
|
||||
super(2131558512);
|
||||
super(2131558513);
|
||||
}
|
||||
|
||||
public final p g() {
|
||||
|
@ -196,16 +196,16 @@ public final class a extends AppDialog {
|
|||
}
|
||||
LinkifiedTextView linkifiedTextView = g().e;
|
||||
m.checkNotNullExpressionValue(linkifiedTextView, "binding.giftLinkSubtext");
|
||||
c.a.k.b.l(linkifiedTextView, 2131886538, new Object[0], new d(this));
|
||||
c.a.k.b.l(linkifiedTextView, 2131886539, new Object[0], new d(this));
|
||||
GiftingUtils giftingUtils = GiftingUtils.INSTANCE;
|
||||
Integer iconForSku = giftingUtils.getIconForSku(inAppSku);
|
||||
if (iconForSku != null) {
|
||||
g().h.setImageResource(iconForSku.intValue());
|
||||
}
|
||||
Pair pair = SubscriptionPlanType.Companion.from(inAppSku.getPaymentGatewaySkuId()).getInterval() == SubscriptionInterval.MONTHLY ? new Pair(2131886533, 2131755023) : new Pair(2131886536, 2131755026);
|
||||
Pair pair = SubscriptionPlanType.Companion.from(inAppSku.getPaymentGatewaySkuId()).getInterval() == SubscriptionInterval.MONTHLY ? new Pair(2131886534, 2131755023) : new Pair(2131886537, 2131755026);
|
||||
int intValue = ((Number) pair.component1()).intValue();
|
||||
int intValue2 = ((Number) pair.component2()).intValue();
|
||||
String string2 = getString(giftingUtils.getTierForSku(inAppSku.getSkuId()) == PremiumTier.TIER_1 ? 2131892467 : 2131892469);
|
||||
String string2 = getString(giftingUtils.getTierForSku(inAppSku.getSkuId()) == PremiumTier.TIER_1 ? 2131892536 : 2131892539);
|
||||
m.checkNotNullExpressionValue(string2, "getString(\n if (G…ring.premium_tier_2\n )");
|
||||
TextView textView = g().g;
|
||||
m.checkNotNullExpressionValue(textView, "binding.giftPurchasedDialogSubtext");
|
||||
|
|
|
@ -10,7 +10,7 @@ import androidx.fragment.app.Fragment;
|
|||
import androidx.fragment.app.FragmentActivity;
|
||||
import androidx.fragment.app.FragmentManager;
|
||||
import c.a.d.f;
|
||||
import c.a.i.b4;
|
||||
import c.a.i.d4;
|
||||
import com.discord.api.application.Application;
|
||||
import com.discord.api.premium.SubscriptionPlan;
|
||||
import com.discord.app.AppDialog;
|
||||
|
@ -100,17 +100,17 @@ public final class c extends AppDialog {
|
|||
}
|
||||
|
||||
/* compiled from: WidgetGiftAcceptDialog.kt */
|
||||
public static final /* synthetic */ class b extends k implements Function1<View, b4> {
|
||||
public static final /* synthetic */ class b extends k implements Function1<View, d4> {
|
||||
public static final b i = new b();
|
||||
|
||||
public b() {
|
||||
super(1, b4.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetAcceptGiftDialogBinding;", 0);
|
||||
super(1, d4.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetAcceptGiftDialogBinding;", 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 b4 invoke(View view) {
|
||||
public d4 invoke(View view) {
|
||||
View view2 = view;
|
||||
m.checkNotNullParameter(view2, "p1");
|
||||
int i2 = 2131361813;
|
||||
|
@ -140,7 +140,7 @@ public final class c extends AppDialog {
|
|||
i2 = 2131361821;
|
||||
ProgressBar progressBar = (ProgressBar) view2.findViewById(2131361821);
|
||||
if (progressBar != null) {
|
||||
return new b4((LinearLayout) view2, linearLayout, simpleDraweeView, textView, materialButton, linearLayout2, linkifiedTextView, appViewFlipper, textView2, progressBar);
|
||||
return new d4((LinearLayout) view2, linearLayout, simpleDraweeView, textView, materialButton, linearLayout2, linkifiedTextView, appViewFlipper, textView2, progressBar);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -216,14 +216,14 @@ public final class c extends AppDialog {
|
|||
str = "";
|
||||
}
|
||||
CharSequence i2 = cVar2.i(gift);
|
||||
LinearLayout linearLayout = c.d.b.a.a.e0(c.d.b.a.a.e0(cVar2.h().h, "binding.acceptGiftHeader", gift.isAnyNitroGift() ? c.a.k.b.j(cVar2, 2131889042, new Object[]{str}, null, 4) : c.a.k.b.j(cVar2, 2131889041, new Object[0], null, 4), cVar2).f67c, "binding.acceptGiftBodyText", gift.isNitroClassicGift() ? c.a.k.b.j(cVar2, 2131889023, new Object[]{i2}, null, 4) : gift.isNitroGift() ? c.a.k.b.j(cVar2, 2131889024, new Object[]{i2}, null, 4) : c.a.k.b.j(cVar2, 2131889022, new Object[]{str}, null, 4), cVar2).e;
|
||||
LinearLayout linearLayout = c.d.b.a.a.e0(c.d.b.a.a.e0(cVar2.h().h, "binding.acceptGiftHeader", gift.isAnyNitroGift() ? c.a.k.b.j(cVar2, 2131889055, new Object[]{str}, null, 4) : c.a.k.b.j(cVar2, 2131889054, new Object[0], null, 4), cVar2).f81c, "binding.acceptGiftBodyText", gift.isNitroClassicGift() ? c.a.k.b.j(cVar2, 2131889036, new Object[]{i2}, null, 4) : gift.isNitroGift() ? c.a.k.b.j(cVar2, 2131889037, new Object[]{i2}, null, 4) : c.a.k.b.j(cVar2, 2131889035, new Object[]{str}, null, 4), cVar2).e;
|
||||
m.checkNotNullExpressionValue(linearLayout, "binding.acceptGiftDisclaimerContainer");
|
||||
linearLayout.setVisibility(8);
|
||||
MaterialButton materialButton = cVar2.h().d;
|
||||
m.checkNotNullExpressionValue(materialButton, "binding.acceptGiftConfirm");
|
||||
Context context = cVar2.getContext();
|
||||
if (context != null) {
|
||||
charSequence = context.getText(2131889037);
|
||||
charSequence = context.getText(2131889050);
|
||||
}
|
||||
materialButton.setText(charSequence);
|
||||
cVar2.h().d.setOnClickListener(new d(cVar2));
|
||||
|
@ -234,16 +234,16 @@ public final class c extends AppDialog {
|
|||
cVar3.g(gift2);
|
||||
TextView textView = cVar3.h().h;
|
||||
m.checkNotNullExpressionValue(textView, "binding.acceptGiftHeader");
|
||||
c.a.k.b.m(textView, 2131889040, new Object[0], null, 4);
|
||||
TextView textView2 = cVar3.h().f67c;
|
||||
c.a.k.b.m(textView, 2131889053, new Object[0], null, 4);
|
||||
TextView textView2 = cVar3.h().f81c;
|
||||
m.checkNotNullExpressionValue(textView2, "binding.acceptGiftBodyText");
|
||||
c.a.k.b.m(textView2, 2131889007, new Object[0], null, 4);
|
||||
c.a.k.b.m(textView2, 2131889020, new Object[0], null, 4);
|
||||
LinearLayout linearLayout2 = cVar3.h().e;
|
||||
m.checkNotNullExpressionValue(linearLayout2, "binding.acceptGiftDisclaimerContainer");
|
||||
linearLayout2.setVisibility(8);
|
||||
MaterialButton materialButton2 = cVar3.h().d;
|
||||
m.checkNotNullExpressionValue(materialButton2, "binding.acceptGiftConfirm");
|
||||
c.a.k.b.m(materialButton2, 2131889033, new Object[0], null, 4);
|
||||
c.a.k.b.m(materialButton2, 2131889046, new Object[0], null, 4);
|
||||
cVar3.h().d.setOnClickListener(new e(cVar3));
|
||||
} else {
|
||||
c cVar4 = this.this$0;
|
||||
|
@ -252,7 +252,7 @@ public final class c extends AppDialog {
|
|||
cVar4.g(gift3);
|
||||
ModelStoreListing storeListing2 = gift3.getStoreListing();
|
||||
String name = (storeListing2 == null || (sku2 = storeListing2.getSku()) == null) ? null : sku2.getName();
|
||||
LinearLayout linearLayout3 = c.d.b.a.a.e0(c.d.b.a.a.e0(cVar4.h().h, "binding.acceptGiftHeader", gift3.isAnyNitroGift() ? c.a.k.b.j(cVar4, 2131889039, new Object[]{name}, null, 4) : c.a.k.b.j(cVar4, 2131889038, new Object[0], null, 4), cVar4).f67c, "binding.acceptGiftBodyText", gift3.isAnyNitroGift() ? c.a.k.b.j(cVar4, 2131889009, new Object[]{name, cVar4.i(gift3)}, null, 4) : c.a.k.b.j(cVar4, 2131889008, new Object[]{name}, null, 4), cVar4).e;
|
||||
LinearLayout linearLayout3 = c.d.b.a.a.e0(c.d.b.a.a.e0(cVar4.h().h, "binding.acceptGiftHeader", gift3.isAnyNitroGift() ? c.a.k.b.j(cVar4, 2131889052, new Object[]{name}, null, 4) : c.a.k.b.j(cVar4, 2131889051, new Object[0], null, 4), cVar4).f81c, "binding.acceptGiftBodyText", gift3.isAnyNitroGift() ? c.a.k.b.j(cVar4, 2131889022, new Object[]{name, cVar4.i(gift3)}, null, 4) : c.a.k.b.j(cVar4, 2131889021, new Object[]{name}, null, 4), cVar4).e;
|
||||
m.checkNotNullExpressionValue(linearLayout3, "binding.acceptGiftDisclaimerContainer");
|
||||
if (!gift3.isAnyNitroGift()) {
|
||||
i = 8;
|
||||
|
@ -262,7 +262,7 @@ public final class c extends AppDialog {
|
|||
m.checkNotNullExpressionValue(materialButton3, "binding.acceptGiftConfirm");
|
||||
Context context2 = cVar4.getContext();
|
||||
if (context2 != null) {
|
||||
charSequence = context2.getText(2131889031);
|
||||
charSequence = context2.getText(2131889044);
|
||||
}
|
||||
materialButton3.setText(charSequence);
|
||||
cVar4.h().d.setOnClickListener(new f(gift3));
|
||||
|
@ -280,7 +280,7 @@ public final class c extends AppDialog {
|
|||
ProgressBar progressBar = cVar5.h().i;
|
||||
m.checkNotNullExpressionValue(progressBar, "binding.acceptGiftProgress");
|
||||
progressBar.setVisibility(0);
|
||||
LinearLayout linearLayout4 = c.d.b.a.a.e0(c.d.b.a.a.e0(cVar5.h().h, "binding.acceptGiftHeader", gift4.isAnyNitroGift() ? c.a.k.b.j(cVar5, 2131889039, new Object[]{name2}, null, 4) : c.a.k.b.j(cVar5, 2131889038, new Object[0], null, 4), cVar5).f67c, "binding.acceptGiftBodyText", gift4.isAnyNitroGift() ? c.a.k.b.j(cVar5, 2131889009, new Object[]{name2, cVar5.i(gift4)}, null, 4) : c.a.k.b.j(cVar5, 2131889008, new Object[]{name2}, null, 4), cVar5).e;
|
||||
LinearLayout linearLayout4 = c.d.b.a.a.e0(c.d.b.a.a.e0(cVar5.h().h, "binding.acceptGiftHeader", gift4.isAnyNitroGift() ? c.a.k.b.j(cVar5, 2131889052, new Object[]{name2}, null, 4) : c.a.k.b.j(cVar5, 2131889051, new Object[0], null, 4), cVar5).f81c, "binding.acceptGiftBodyText", gift4.isAnyNitroGift() ? c.a.k.b.j(cVar5, 2131889022, new Object[]{name2, cVar5.i(gift4)}, null, 4) : c.a.k.b.j(cVar5, 2131889021, new Object[]{name2}, null, 4), cVar5).e;
|
||||
m.checkNotNullExpressionValue(linearLayout4, "binding.acceptGiftDisclaimerContainer");
|
||||
if (!gift4.isAnyNitroGift()) {
|
||||
i = 8;
|
||||
|
@ -294,38 +294,38 @@ public final class c extends AppDialog {
|
|||
cVar6.g(redeemedFailed.getGift());
|
||||
TextView textView3 = cVar6.h().h;
|
||||
m.checkNotNullExpressionValue(textView3, "binding.acceptGiftHeader");
|
||||
textView3.setText(c.a.k.b.j(cVar6, 2131889040, new Object[0], null, 4));
|
||||
TextView textView4 = cVar6.h().f67c;
|
||||
textView3.setText(c.a.k.b.j(cVar6, 2131889053, new Object[0], null, 4));
|
||||
TextView textView4 = cVar6.h().f81c;
|
||||
m.checkNotNullExpressionValue(textView4, "binding.acceptGiftBodyText");
|
||||
c.a.k.b.m(textView4, 2131889029, new Object[0], null, 4);
|
||||
c.a.k.b.m(textView4, 2131889042, new Object[0], null, 4);
|
||||
if (redeemedFailed.getCanRetry()) {
|
||||
TextView textView5 = cVar6.h().f67c;
|
||||
TextView textView5 = cVar6.h().f81c;
|
||||
m.checkNotNullExpressionValue(textView5, "binding.acceptGiftBodyText");
|
||||
c.a.k.b.m(textView5, 2131889029, new Object[0], null, 4);
|
||||
c.a.k.b.m(textView5, 2131889042, new Object[0], null, 4);
|
||||
MaterialButton materialButton5 = cVar6.h().d;
|
||||
m.checkNotNullExpressionValue(materialButton5, "binding.acceptGiftConfirm");
|
||||
Context context3 = cVar6.getContext();
|
||||
if (context3 != null) {
|
||||
charSequence = context3.getText(2131892829);
|
||||
charSequence = context3.getText(2131892899);
|
||||
}
|
||||
materialButton5.setText(charSequence);
|
||||
cVar6.h().d.setOnClickListener(new f(0, redeemedFailed));
|
||||
} else {
|
||||
Integer errorCode = redeemedFailed.getErrorCode();
|
||||
if (errorCode != null && errorCode.intValue() == 50054) {
|
||||
cVar6.h().f67c.setText(2131889016);
|
||||
cVar6.h().f81c.setText(2131889029);
|
||||
} else if (errorCode != null && errorCode.intValue() == 100024) {
|
||||
cVar6.h().f67c.setText(2131889012);
|
||||
cVar6.h().f81c.setText(2131889025);
|
||||
} else if (errorCode != null && errorCode.intValue() == 100022) {
|
||||
cVar6.h().f67c.setText(2131889013);
|
||||
cVar6.h().f81c.setText(2131889026);
|
||||
} else if (errorCode != null && errorCode.intValue() == 100025) {
|
||||
cVar6.h().f67c.setText(2131889011);
|
||||
cVar6.h().f81c.setText(2131889024);
|
||||
}
|
||||
MaterialButton materialButton6 = cVar6.h().d;
|
||||
m.checkNotNullExpressionValue(materialButton6, "binding.acceptGiftConfirm");
|
||||
Context context4 = cVar6.getContext();
|
||||
if (context4 != null) {
|
||||
charSequence = context4.getText(2131889033);
|
||||
charSequence = context4.getText(2131889046);
|
||||
}
|
||||
materialButton6.setText(charSequence);
|
||||
cVar6.h().d.setOnClickListener(new f(1, cVar6));
|
||||
|
@ -339,7 +339,7 @@ public final class c extends AppDialog {
|
|||
}
|
||||
|
||||
public c() {
|
||||
super(2131558845);
|
||||
super(2131558848);
|
||||
}
|
||||
|
||||
public final void g(ModelGift modelGift) {
|
||||
|
@ -374,8 +374,8 @@ public final class c extends AppDialog {
|
|||
progressBar.setVisibility(8);
|
||||
}
|
||||
|
||||
public final b4 h() {
|
||||
return (b4) this.k.getValue((Fragment) this, i[0]);
|
||||
public final d4 h() {
|
||||
return (d4) this.k.getValue((Fragment) this, i[0]);
|
||||
}
|
||||
|
||||
public final CharSequence i(ModelGift modelGift) {
|
||||
|
@ -397,10 +397,10 @@ public final class c extends AppDialog {
|
|||
CharSequence i18nPluralString = StringResourceUtilsKt.getI18nPluralString(requireContext, i2, subscriptionPlan.c(), Integer.valueOf(subscriptionPlan.c()));
|
||||
int ordinal2 = subscriptionPlan.b().ordinal();
|
||||
if (ordinal2 == 0) {
|
||||
return c.a.k.b.j(this, 2131889043, new Object[]{i18nPluralString}, null, 4);
|
||||
return c.a.k.b.j(this, 2131889056, new Object[]{i18nPluralString}, null, 4);
|
||||
}
|
||||
if (ordinal2 == 1) {
|
||||
return c.a.k.b.j(this, 2131889044, new Object[]{i18nPluralString}, null, 4);
|
||||
return c.a.k.b.j(this, 2131889057, new Object[]{i18nPluralString}, null, 4);
|
||||
}
|
||||
throw new NoWhenBranchMatchedException();
|
||||
}
|
||||
|
@ -434,7 +434,7 @@ public final class c extends AppDialog {
|
|||
}
|
||||
LinkifiedTextView linkifiedTextView = h().f;
|
||||
m.checkNotNullExpressionValue(linkifiedTextView, "binding.acceptGiftDisclaimerText");
|
||||
c.a.k.b.m(linkifiedTextView, 2131889010, new Object[]{f.a.a(360055386693L, null)}, null, 4);
|
||||
c.a.k.b.m(linkifiedTextView, 2131889023, new Object[]{f.a.a(360055386693L, null)}, null, 4);
|
||||
ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui$default(StoreStream.Companion.getGifting().requestGift(string), this, null, 2, null), c.class, (Context) null, (Function1) null, new C0021c(this), (Function0) null, (Function0) null, new d(this), 54, (Object) null);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@ public final class e extends o implements Function1<Exception, Unit> {
|
|||
Exception exc2 = exc;
|
||||
m.checkNotNullParameter(exc2, "e");
|
||||
AppFragment appFragment = this.this$0.this$0;
|
||||
o.j(appFragment, b.j(appFragment, 2131894272, new Object[]{exc2.getMessage()}, null, 4), 0, 4);
|
||||
o.j(appFragment, b.j(appFragment, 2131894353, new Object[]{exc2.getMessage()}, null, 4), 0, 4);
|
||||
return Unit.a;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -86,7 +86,7 @@ public final class j implements AppPermissionsRequests {
|
|||
m.checkNotNullParameter(map, "it");
|
||||
Function0 function0 = this.$onFailure;
|
||||
if (function0 == null || ((Unit) function0.mo1invoke()) == null) {
|
||||
j.a(this.this$0, 2131892019);
|
||||
j.a(this.this$0, 2131892065);
|
||||
}
|
||||
return Unit.a;
|
||||
}
|
||||
|
@ -127,7 +127,7 @@ public final class j implements AppPermissionsRequests {
|
|||
@Override // kotlin.jvm.functions.Function1
|
||||
public Unit invoke(Map<String, ? extends Boolean> map) {
|
||||
m.checkNotNullParameter(map, "it");
|
||||
j.a(this.this$0, 2131892012);
|
||||
j.a(this.this$0, 2131892058);
|
||||
return Unit.a;
|
||||
}
|
||||
}
|
||||
|
@ -147,7 +147,7 @@ public final class j implements AppPermissionsRequests {
|
|||
@Override // kotlin.jvm.functions.Function1
|
||||
public Unit invoke(Map<String, ? extends Boolean> map) {
|
||||
m.checkNotNullParameter(map, "it");
|
||||
j.a(this.this$0, 2131892013);
|
||||
j.a(this.this$0, 2131892059);
|
||||
return Unit.a;
|
||||
}
|
||||
}
|
||||
|
@ -196,7 +196,7 @@ public final class j implements AppPermissionsRequests {
|
|||
m.checkNotNullParameter(map, "it");
|
||||
Function0 function0 = this.$onFailure;
|
||||
if (function0 == null || ((Unit) function0.mo1invoke()) == null) {
|
||||
j.a(this.this$0, 2131892014);
|
||||
j.a(this.this$0, 2131892060);
|
||||
}
|
||||
return Unit.a;
|
||||
}
|
||||
|
@ -223,16 +223,16 @@ public final class j implements AppPermissionsRequests {
|
|||
obj = Boolean.FALSE;
|
||||
}
|
||||
if (!((Boolean) obj).booleanValue()) {
|
||||
j.a(this.this$0, 2131892014);
|
||||
j.a(this.this$0, 2131892060);
|
||||
} else {
|
||||
Object obj2 = map2.get("android.permission.CAMERA");
|
||||
if (obj2 == null) {
|
||||
obj2 = Boolean.FALSE;
|
||||
}
|
||||
if (!((Boolean) obj2).booleanValue()) {
|
||||
j.a(this.this$0, 2131891531);
|
||||
j.a(this.this$0, 2131891577);
|
||||
} else {
|
||||
j.a(this.this$0, 2131891531);
|
||||
j.a(this.this$0, 2131891577);
|
||||
}
|
||||
}
|
||||
return Unit.a;
|
||||
|
|
|
@ -2,8 +2,12 @@ package c.a.d;
|
|||
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
import android.os.Parcelable;
|
||||
import androidx.activity.result.ActivityResultLauncher;
|
||||
import androidx.fragment.app.Fragment;
|
||||
import androidx.fragment.app.FragmentManager;
|
||||
import androidx.fragment.app.FragmentTransaction;
|
||||
import com.discord.app.AppActivity;
|
||||
import com.discord.app.AppComponent;
|
||||
import com.discord.app.AppFragment;
|
||||
|
@ -139,6 +143,39 @@ public final class l {
|
|||
d(context, cls, null);
|
||||
}
|
||||
|
||||
public static void g(l lVar, FragmentManager fragmentManager, Context context, Class cls, int i, boolean z2, String str, Parcelable parcelable, int i2) {
|
||||
if ((i2 & 8) != 0) {
|
||||
i = 16908290;
|
||||
}
|
||||
if ((i2 & 16) != 0) {
|
||||
z2 = false;
|
||||
}
|
||||
int i3 = i2 & 32;
|
||||
if ((i2 & 64) != 0) {
|
||||
parcelable = null;
|
||||
}
|
||||
d0.z.d.m.checkNotNullParameter(context, "context");
|
||||
d0.z.d.m.checkNotNullParameter(cls, "screen");
|
||||
if (fragmentManager != null) {
|
||||
FragmentTransaction beginTransaction = fragmentManager.beginTransaction();
|
||||
d0.z.d.m.checkNotNullExpressionValue(beginTransaction, "fragmentManager.beginTransaction()");
|
||||
Fragment instantiate = Fragment.instantiate(context, cls.getName());
|
||||
if (parcelable != null) {
|
||||
d0.z.d.m.checkNotNullExpressionValue(instantiate, "fragment");
|
||||
d0.z.d.m.checkNotNullParameter(parcelable, "$this$toBundle");
|
||||
Bundle bundle = new Bundle();
|
||||
bundle.putParcelable("intent_args_key", parcelable);
|
||||
instantiate.setArguments(bundle);
|
||||
}
|
||||
d0.z.d.m.checkNotNullExpressionValue(instantiate, "Fragment.instantiate(con…s = it.toBundle() }\n }");
|
||||
beginTransaction.replace(i, instantiate, cls.getName());
|
||||
if (z2) {
|
||||
beginTransaction.addToBackStack(null);
|
||||
}
|
||||
beginTransaction.commit();
|
||||
}
|
||||
}
|
||||
|
||||
public final Intent a(Context context, Class<? extends AppComponent> cls, Intent intent) {
|
||||
AppLog appLog = AppLog.g;
|
||||
String simpleName = context.getClass().getSimpleName();
|
||||
|
@ -151,10 +188,19 @@ public final class l {
|
|||
return putExtra;
|
||||
}
|
||||
|
||||
public final void f(Context context, ActivityResultLauncher<Intent> activityResultLauncher, Class<? extends AppComponent> cls, Intent intent) {
|
||||
public final void f(Context context, ActivityResultLauncher<Intent> activityResultLauncher, Class<? extends AppComponent> cls, Parcelable parcelable) {
|
||||
d0.z.d.m.checkNotNullParameter(context, "context");
|
||||
d0.z.d.m.checkNotNullParameter(activityResultLauncher, "launcher");
|
||||
d0.z.d.m.checkNotNullParameter(cls, "screen");
|
||||
Intent intent = null;
|
||||
Intent intent2 = (Intent) (!(parcelable instanceof Intent) ? null : parcelable);
|
||||
if (intent2 != null) {
|
||||
intent = intent2;
|
||||
} else if (parcelable != null) {
|
||||
d0.z.d.m.checkNotNullParameter(parcelable, "$this$toIntent");
|
||||
intent = new Intent().putExtra("intent_args_key", parcelable);
|
||||
d0.z.d.m.checkNotNullExpressionValue(intent, "Intent().putExtra(INTENT_ARGS, this)");
|
||||
}
|
||||
activityResultLauncher.launch(a(context, cls, intent));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -40,7 +40,7 @@ public final class o {
|
|||
|
||||
public static /* synthetic */ void c(Context context, CharSequence charSequence, int i, int i2) {
|
||||
if ((i2 & 4) != 0) {
|
||||
i = 2131887626;
|
||||
i = 2131887628;
|
||||
}
|
||||
a(context, charSequence, i);
|
||||
}
|
||||
|
@ -53,7 +53,7 @@ public final class o {
|
|||
SimpleDraweeSpanTextView simpleDraweeSpanTextView;
|
||||
if (context != null) {
|
||||
Toast toast = new Toast(context);
|
||||
ContextThemeWrapper contextThemeWrapper = new ContextThemeWrapper(context, 2131952581);
|
||||
ContextThemeWrapper contextThemeWrapper = new ContextThemeWrapper(context, 2131952578);
|
||||
if (charSequence instanceof DraweeSpanStringBuilder) {
|
||||
SimpleDraweeSpanTextView simpleDraweeSpanTextView2 = new SimpleDraweeSpanTextView(contextThemeWrapper);
|
||||
simpleDraweeSpanTextView2.setDraweeSpanStringBuilder((DraweeSpanStringBuilder) charSequence);
|
||||
|
|
|
@ -101,7 +101,7 @@ public final class b {
|
|||
m.checkNotNullExpressionValue(sb6, "StringBuilder()\n …?\")\n .toString()");
|
||||
r = new Regex(sb6, iVar);
|
||||
f47s = new Regex("^/connect(?:/(\\d+))?/?$", iVar);
|
||||
t = new Regex("^/channels/((?:@me)|(?:\\d+))/(\\d+)(?:/(\\d+))?/?$", iVar);
|
||||
t = new Regex("^/channels/((?:@me)|(?:\\d+))(?:/(\\d+))?(?:/(\\d+))?/?$", iVar);
|
||||
u = new Regex("^/channels/@me/-1?/?$", iVar);
|
||||
v = new Regex("^/lurk/(\\d+)(?:/(\\d+))?/?$", iVar);
|
||||
w = new Regex("^/channels/@me/user/(\\d+)/?$", iVar);
|
||||
|
|
|
@ -1,30 +1,36 @@
|
|||
package c.a.i;
|
||||
|
||||
import android.view.View;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
/* compiled from: PrivateChannelSideBarActionsViewBinding */
|
||||
/* compiled from: PremiumUpgradeYearlyDialogBinding */
|
||||
public final class a1 implements ViewBinding {
|
||||
@NonNull
|
||||
public final View a;
|
||||
public final LinearLayout a;
|
||||
@NonNull
|
||||
public final MaterialButton b;
|
||||
public final ImageView b;
|
||||
@NonNull
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final MaterialButton f60c;
|
||||
public final TextView f60c;
|
||||
@NonNull
|
||||
public final MaterialButton d;
|
||||
public final TextView d;
|
||||
@NonNull
|
||||
public final MaterialButton e;
|
||||
public final TextView e;
|
||||
@NonNull
|
||||
public final MaterialButton f;
|
||||
|
||||
public a1(@NonNull View view, @NonNull MaterialButton materialButton, @NonNull MaterialButton materialButton2, @NonNull MaterialButton materialButton3, @NonNull MaterialButton materialButton4) {
|
||||
this.a = view;
|
||||
this.b = materialButton;
|
||||
this.f60c = materialButton2;
|
||||
this.d = materialButton3;
|
||||
this.e = materialButton4;
|
||||
public a1(@NonNull LinearLayout linearLayout, @NonNull ImageView imageView, @NonNull TextView textView, @NonNull TextView textView2, @NonNull TextView textView3, @NonNull MaterialButton materialButton) {
|
||||
this.a = linearLayout;
|
||||
this.b = imageView;
|
||||
this.f60c = textView;
|
||||
this.d = textView2;
|
||||
this.e = textView3;
|
||||
this.f = materialButton;
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
|
@ -5,7 +5,7 @@ import android.widget.TextView;
|
|||
import androidx.annotation.NonNull;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import com.facebook.drawee.view.SimpleDraweeView;
|
||||
/* compiled from: ViewGuildBinding */
|
||||
/* compiled from: ViewDiscoveryStageCardTopHatBinding */
|
||||
public final class a2 implements ViewBinding {
|
||||
@NonNull
|
||||
public final View a;
|
||||
|
|
|
@ -1,25 +1,54 @@
|
|||
package c.a.i;
|
||||
|
||||
import android.view.View;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import com.discord.views.CheckedSetting;
|
||||
/* compiled from: ViewServerSettingsNotificationsBinding */
|
||||
/* compiled from: ViewServerMemberCountBinding */
|
||||
public final class a3 implements ViewBinding {
|
||||
@NonNull
|
||||
public final LinearLayout a;
|
||||
@NonNull
|
||||
public final CheckedSetting b;
|
||||
public final ImageView b;
|
||||
@NonNull
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final CheckedSetting f62c;
|
||||
public final TextView f62c;
|
||||
@NonNull
|
||||
public final ImageView d;
|
||||
@NonNull
|
||||
public final TextView e;
|
||||
|
||||
public a3(@NonNull LinearLayout linearLayout, @NonNull CheckedSetting checkedSetting, @NonNull CheckedSetting checkedSetting2) {
|
||||
public a3(@NonNull LinearLayout linearLayout, @NonNull ImageView imageView, @NonNull TextView textView, @NonNull ImageView imageView2, @NonNull TextView textView2) {
|
||||
this.a = linearLayout;
|
||||
this.b = checkedSetting;
|
||||
this.f62c = checkedSetting2;
|
||||
this.b = imageView;
|
||||
this.f62c = textView;
|
||||
this.d = imageView2;
|
||||
this.e = textView2;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static a3 a(@NonNull View view) {
|
||||
int i = 2131363800;
|
||||
ImageView imageView = (ImageView) view.findViewById(2131363800);
|
||||
if (imageView != null) {
|
||||
i = 2131363801;
|
||||
TextView textView = (TextView) view.findViewById(2131363801);
|
||||
if (textView != null) {
|
||||
i = 2131363802;
|
||||
ImageView imageView2 = (ImageView) view.findViewById(2131363802);
|
||||
if (imageView2 != null) {
|
||||
i = 2131363803;
|
||||
TextView textView2 = (TextView) view.findViewById(2131363803);
|
||||
if (textView2 != null) {
|
||||
return new a3((LinearLayout) view, imageView, textView, imageView2, textView2);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(view.getResources().getResourceName(i)));
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
|
@ -1,28 +1,25 @@
|
|||
package c.a.i;
|
||||
|
||||
import android.view.View;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.SeekBar;
|
||||
import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
/* compiled from: VolumeSliderViewBinding */
|
||||
import com.facebook.drawee.view.SimpleDraweeView;
|
||||
/* compiled from: ViewVoiceUserBinding */
|
||||
public final class a4 implements ViewBinding {
|
||||
@NonNull
|
||||
public final View a;
|
||||
@NonNull
|
||||
public final ImageView b;
|
||||
public final SimpleDraweeView b;
|
||||
@NonNull
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final ImageView f63c;
|
||||
@NonNull
|
||||
public final SeekBar d;
|
||||
public final TextView f63c;
|
||||
|
||||
public a4(@NonNull View view, @NonNull ImageView imageView, @NonNull ImageView imageView2, @NonNull SeekBar seekBar) {
|
||||
public a4(@NonNull View view, @NonNull SimpleDraweeView simpleDraweeView, @NonNull TextView textView) {
|
||||
this.a = view;
|
||||
this.b = imageView;
|
||||
this.f63c = imageView2;
|
||||
this.d = seekBar;
|
||||
this.b = simpleDraweeView;
|
||||
this.f63c = textView;
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
|
@ -1,16 +1,25 @@
|
|||
package c.a.i;
|
||||
|
||||
import android.view.View;
|
||||
import android.widget.TextView;
|
||||
import android.widget.FrameLayout;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.fragment.app.FragmentContainerView;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
/* compiled from: WidgetHomePanelCenterContentUnreadBinding */
|
||||
/* compiled from: WidgetHomePanelCenterBinding */
|
||||
public final class a5 implements ViewBinding {
|
||||
@NonNull
|
||||
public final TextView a;
|
||||
public final FrameLayout a;
|
||||
@NonNull
|
||||
public final b5 b;
|
||||
@NonNull
|
||||
|
||||
public a5(@NonNull TextView textView, @NonNull TextView textView2) {
|
||||
this.a = textView;
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final FragmentContainerView f64c;
|
||||
|
||||
public a5(@NonNull FrameLayout frameLayout, @NonNull b5 b5Var, @NonNull FragmentContainerView fragmentContainerView) {
|
||||
this.a = frameLayout;
|
||||
this.b = b5Var;
|
||||
this.f64c = fragmentContainerView;
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
|
@ -16,7 +16,7 @@ public final class b implements ViewBinding {
|
|||
@NonNull
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final RadioGroup f64c;
|
||||
public final RadioGroup f65c;
|
||||
@NonNull
|
||||
public final MaterialRadioButton d;
|
||||
@NonNull
|
||||
|
@ -27,7 +27,7 @@ public final class b implements ViewBinding {
|
|||
public b(@NonNull LinearLayout linearLayout, @NonNull MaterialRadioButton materialRadioButton, @NonNull TextView textView, @NonNull RadioGroup radioGroup, @NonNull MaterialRadioButton materialRadioButton2, @NonNull MaterialRadioButton materialRadioButton3, @NonNull MaterialRadioButton materialRadioButton4) {
|
||||
this.a = linearLayout;
|
||||
this.b = materialRadioButton;
|
||||
this.f64c = radioGroup;
|
||||
this.f65c = radioGroup;
|
||||
this.d = materialRadioButton2;
|
||||
this.e = materialRadioButton3;
|
||||
this.f = materialRadioButton4;
|
||||
|
|
|
@ -16,12 +16,12 @@ public final class b0 implements ViewBinding {
|
|||
@NonNull
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final MaterialButton f65c;
|
||||
public final MaterialButton f66c;
|
||||
|
||||
public b0(@NonNull ConstraintLayout constraintLayout, @NonNull PhoneOrEmailInputView phoneOrEmailInputView, @NonNull MaterialButton materialButton, @NonNull TextView textView, @NonNull TextView textView2) {
|
||||
this.a = constraintLayout;
|
||||
this.b = phoneOrEmailInputView;
|
||||
this.f65c = materialButton;
|
||||
this.f66c = materialButton;
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
|
@ -1,16 +1,30 @@
|
|||
package c.a.i;
|
||||
|
||||
import android.view.View;
|
||||
import android.widget.ImageView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
/* compiled from: ReactionQuickAddBinding */
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
/* compiled from: PrivateChannelSideBarActionsViewBinding */
|
||||
public final class b1 implements ViewBinding {
|
||||
@NonNull
|
||||
public final ImageView a;
|
||||
public final View a;
|
||||
@NonNull
|
||||
public final MaterialButton b;
|
||||
@NonNull
|
||||
|
||||
public b1(@NonNull ImageView imageView, @NonNull ImageView imageView2) {
|
||||
this.a = imageView;
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final MaterialButton f67c;
|
||||
@NonNull
|
||||
public final MaterialButton d;
|
||||
@NonNull
|
||||
public final MaterialButton e;
|
||||
|
||||
public b1(@NonNull View view, @NonNull MaterialButton materialButton, @NonNull MaterialButton materialButton2, @NonNull MaterialButton materialButton3, @NonNull MaterialButton materialButton4) {
|
||||
this.a = view;
|
||||
this.b = materialButton;
|
||||
this.f67c = materialButton2;
|
||||
this.d = materialButton3;
|
||||
this.e = materialButton4;
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
|
@ -1,21 +1,35 @@
|
|||
package c.a.i;
|
||||
|
||||
import android.view.View;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.Spinner;
|
||||
import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.constraintlayout.widget.ConstraintLayout;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
/* compiled from: ViewInteractionFailedLabelBinding */
|
||||
import com.google.android.material.card.MaterialCardView;
|
||||
/* compiled from: ViewExperimentOverrideBinding */
|
||||
public final class b2 implements ViewBinding {
|
||||
@NonNull
|
||||
public final ConstraintLayout a;
|
||||
public final View a;
|
||||
@NonNull
|
||||
public final TextView b;
|
||||
@NonNull
|
||||
|
||||
public b2(@NonNull ConstraintLayout constraintLayout, @NonNull ImageView imageView, @NonNull TextView textView) {
|
||||
this.a = constraintLayout;
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final Spinner f68c;
|
||||
@NonNull
|
||||
public final TextView d;
|
||||
@NonNull
|
||||
public final TextView e;
|
||||
@NonNull
|
||||
public final TextView f;
|
||||
|
||||
public b2(@NonNull View view, @NonNull TextView textView, @NonNull Spinner spinner, @NonNull MaterialCardView materialCardView, @NonNull TextView textView2, @NonNull TextView textView3, @NonNull TextView textView4) {
|
||||
this.a = view;
|
||||
this.b = textView;
|
||||
this.f68c = spinner;
|
||||
this.d = textView2;
|
||||
this.e = textView3;
|
||||
this.f = textView4;
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
|
@ -1,29 +1,36 @@
|
|||
package c.a.i;
|
||||
|
||||
import android.view.View;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.constraintlayout.widget.ConstraintLayout;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
/* compiled from: ViewServerSettingsRegionBinding */
|
||||
import com.facebook.drawee.view.SimpleDraweeView;
|
||||
import com.google.android.material.textfield.TextInputLayout;
|
||||
/* compiled from: ViewServerSettingsIconNameBinding */
|
||||
public final class b3 implements ViewBinding {
|
||||
@NonNull
|
||||
public final LinearLayout a;
|
||||
public final ConstraintLayout a;
|
||||
@NonNull
|
||||
public final TextView b;
|
||||
@NonNull
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final ImageView f66c;
|
||||
public final TextInputLayout f69c;
|
||||
@NonNull
|
||||
public final LinearLayout d;
|
||||
public final SimpleDraweeView d;
|
||||
@NonNull
|
||||
public final TextView e;
|
||||
@NonNull
|
||||
public final TextView f;
|
||||
|
||||
public b3(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull ImageView imageView, @NonNull LinearLayout linearLayout2) {
|
||||
this.a = linearLayout;
|
||||
public b3(@NonNull ConstraintLayout constraintLayout, @NonNull TextView textView, @NonNull TextInputLayout textInputLayout, @NonNull SimpleDraweeView simpleDraweeView, @NonNull ConstraintLayout constraintLayout2, @NonNull TextView textView2, @NonNull TextView textView3) {
|
||||
this.a = constraintLayout;
|
||||
this.b = textView;
|
||||
this.f66c = imageView;
|
||||
this.d = linearLayout2;
|
||||
this.f69c = textInputLayout;
|
||||
this.d = simpleDraweeView;
|
||||
this.e = textView2;
|
||||
this.f = textView3;
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
|
@ -1,48 +1,24 @@
|
|||
package c.a.i;
|
||||
|
||||
import android.view.View;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.ProgressBar;
|
||||
import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import com.discord.app.AppViewFlipper;
|
||||
import com.discord.utilities.view.text.LinkifiedTextView;
|
||||
import com.facebook.drawee.view.SimpleDraweeView;
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
/* compiled from: WidgetAcceptGiftDialogBinding */
|
||||
/* compiled from: VoiceUserLimitViewBinding */
|
||||
public final class b4 implements ViewBinding {
|
||||
@NonNull
|
||||
public final LinearLayout a;
|
||||
public final View a;
|
||||
@NonNull
|
||||
public final SimpleDraweeView b;
|
||||
public final TextView b;
|
||||
@NonNull
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final TextView f67c;
|
||||
@NonNull
|
||||
public final MaterialButton d;
|
||||
@NonNull
|
||||
public final LinearLayout e;
|
||||
@NonNull
|
||||
public final LinkifiedTextView f;
|
||||
@NonNull
|
||||
public final AppViewFlipper g;
|
||||
@NonNull
|
||||
public final TextView h;
|
||||
@NonNull
|
||||
public final ProgressBar i;
|
||||
public final TextView f70c;
|
||||
|
||||
public b4(@NonNull LinearLayout linearLayout, @NonNull LinearLayout linearLayout2, @NonNull SimpleDraweeView simpleDraweeView, @NonNull TextView textView, @NonNull MaterialButton materialButton, @NonNull LinearLayout linearLayout3, @NonNull LinkifiedTextView linkifiedTextView, @NonNull AppViewFlipper appViewFlipper, @NonNull TextView textView2, @NonNull ProgressBar progressBar) {
|
||||
this.a = linearLayout;
|
||||
this.b = simpleDraweeView;
|
||||
this.f67c = textView;
|
||||
this.d = materialButton;
|
||||
this.e = linearLayout3;
|
||||
this.f = linkifiedTextView;
|
||||
this.g = appViewFlipper;
|
||||
this.h = textView2;
|
||||
this.i = progressBar;
|
||||
public b4(@NonNull View view, @NonNull TextView textView, @NonNull TextView textView2) {
|
||||
this.a = view;
|
||||
this.b = textView;
|
||||
this.f70c = textView2;
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
|
@ -1,27 +1,32 @@
|
|||
package c.a.i;
|
||||
|
||||
import android.view.View;
|
||||
import android.widget.FrameLayout;
|
||||
import android.widget.RelativeLayout;
|
||||
import android.widget.TextView;
|
||||
import android.view.ViewStub;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.fragment.app.FragmentContainerView;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
/* compiled from: WidgetHomePanelLeftBinding */
|
||||
import com.discord.utilities.view.rounded.RoundedRelativeLayout;
|
||||
/* compiled from: WidgetHomePanelCenterChatBinding */
|
||||
public final class b5 implements ViewBinding {
|
||||
@NonNull
|
||||
public final RelativeLayout a;
|
||||
public final RoundedRelativeLayout a;
|
||||
@NonNull
|
||||
public final TextView b;
|
||||
public final ViewStub b;
|
||||
@NonNull
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final FragmentContainerView f68c;
|
||||
public final c5 f71c;
|
||||
@NonNull
|
||||
public final FragmentContainerView d;
|
||||
@NonNull
|
||||
public final FragmentContainerView e;
|
||||
|
||||
public b5(@NonNull RelativeLayout relativeLayout, @NonNull TextView textView, @NonNull FragmentContainerView fragmentContainerView, @NonNull FragmentContainerView fragmentContainerView2, @NonNull FrameLayout frameLayout) {
|
||||
this.a = relativeLayout;
|
||||
this.b = textView;
|
||||
this.f68c = fragmentContainerView2;
|
||||
public b5(@NonNull RoundedRelativeLayout roundedRelativeLayout, @NonNull ViewStub viewStub, @NonNull ViewStub viewStub2, @NonNull c5 c5Var, @NonNull View view, @NonNull FragmentContainerView fragmentContainerView, @NonNull FragmentContainerView fragmentContainerView2, @NonNull FragmentContainerView fragmentContainerView3, @NonNull FragmentContainerView fragmentContainerView4, @NonNull FragmentContainerView fragmentContainerView5, @NonNull FragmentContainerView fragmentContainerView6) {
|
||||
this.a = roundedRelativeLayout;
|
||||
this.b = viewStub2;
|
||||
this.f71c = c5Var;
|
||||
this.d = fragmentContainerView;
|
||||
this.e = fragmentContainerView4;
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
|
@ -15,14 +15,14 @@ public final class c implements ViewBinding {
|
|||
@NonNull
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final TextView f69c;
|
||||
public final TextView f72c;
|
||||
@NonNull
|
||||
public final MaxHeightRecyclerView d;
|
||||
|
||||
public c(@NonNull ConstraintLayout constraintLayout, @NonNull ConstraintLayout constraintLayout2, @NonNull TextView textView, @NonNull MaxHeightRecyclerView maxHeightRecyclerView) {
|
||||
this.a = constraintLayout;
|
||||
this.b = constraintLayout2;
|
||||
this.f69c = textView;
|
||||
this.f72c = textView;
|
||||
this.d = maxHeightRecyclerView;
|
||||
}
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ public final class c0 implements ViewBinding {
|
|||
@NonNull
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final LoadingButton f70c;
|
||||
public final LoadingButton f73c;
|
||||
@NonNull
|
||||
public final View d;
|
||||
@NonNull
|
||||
|
@ -25,7 +25,7 @@ public final class c0 implements ViewBinding {
|
|||
public c0(@NonNull ConstraintLayout constraintLayout, @NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull LoadingButton loadingButton, @NonNull View view, @NonNull TextView textView2, @NonNull TextView textView3, @NonNull g0 g0Var) {
|
||||
this.a = constraintLayout;
|
||||
this.b = textView;
|
||||
this.f70c = loadingButton;
|
||||
this.f73c = loadingButton;
|
||||
this.d = view;
|
||||
this.e = g0Var;
|
||||
}
|
||||
|
|
|
@ -1,33 +1,16 @@
|
|||
package c.a.i;
|
||||
|
||||
import android.view.View;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.TextSwitcher;
|
||||
import android.widget.TextView;
|
||||
import android.widget.ImageView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import com.discord.utilities.view.text.SimpleDraweeSpanTextView;
|
||||
/* compiled from: ReactionViewBinding */
|
||||
/* compiled from: ReactionQuickAddBinding */
|
||||
public final class c1 implements ViewBinding {
|
||||
@NonNull
|
||||
public final LinearLayout a;
|
||||
@NonNull
|
||||
public final TextView b;
|
||||
@NonNull
|
||||
public final ImageView a;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final TextView f71c;
|
||||
@NonNull
|
||||
public final TextSwitcher d;
|
||||
@NonNull
|
||||
public final SimpleDraweeSpanTextView e;
|
||||
|
||||
public c1(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull TextView textView2, @NonNull TextSwitcher textSwitcher, @NonNull SimpleDraweeSpanTextView simpleDraweeSpanTextView) {
|
||||
this.a = linearLayout;
|
||||
this.b = textView;
|
||||
this.f71c = textView2;
|
||||
this.d = textSwitcher;
|
||||
this.e = simpleDraweeSpanTextView;
|
||||
public c1(@NonNull ImageView imageView, @NonNull ImageView imageView2) {
|
||||
this.a = imageView;
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
|
@ -1,25 +1,25 @@
|
|||
package c.a.i;
|
||||
|
||||
import android.view.View;
|
||||
import android.widget.ProgressBar;
|
||||
import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
/* compiled from: ViewLoadingButtonBinding */
|
||||
import com.facebook.drawee.view.SimpleDraweeView;
|
||||
/* compiled from: ViewGuildBinding */
|
||||
public final class c2 implements ViewBinding {
|
||||
@NonNull
|
||||
public final View a;
|
||||
@NonNull
|
||||
public final MaterialButton b;
|
||||
public final SimpleDraweeView b;
|
||||
@NonNull
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final ProgressBar f72c;
|
||||
public final TextView f74c;
|
||||
|
||||
public c2(@NonNull View view, @NonNull MaterialButton materialButton, @NonNull ProgressBar progressBar) {
|
||||
public c2(@NonNull View view, @NonNull SimpleDraweeView simpleDraweeView, @NonNull TextView textView) {
|
||||
this.a = view;
|
||||
this.b = materialButton;
|
||||
this.f72c = progressBar;
|
||||
this.b = simpleDraweeView;
|
||||
this.f74c = textView;
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
|
@ -4,22 +4,22 @@ import android.view.View;
|
|||
import android.widget.LinearLayout;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import com.discord.utilities.view.text.LinkifiedTextView;
|
||||
/* compiled from: ViewServerSettingsRegionHelpBinding */
|
||||
import com.discord.views.CheckedSetting;
|
||||
/* compiled from: ViewServerSettingsNotificationsBinding */
|
||||
public final class c3 implements ViewBinding {
|
||||
@NonNull
|
||||
public final LinearLayout a;
|
||||
@NonNull
|
||||
public final LinkifiedTextView b;
|
||||
public final CheckedSetting b;
|
||||
@NonNull
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final LinearLayout f73c;
|
||||
public final CheckedSetting f75c;
|
||||
|
||||
public c3(@NonNull LinearLayout linearLayout, @NonNull LinkifiedTextView linkifiedTextView, @NonNull LinearLayout linearLayout2) {
|
||||
public c3(@NonNull LinearLayout linearLayout, @NonNull CheckedSetting checkedSetting, @NonNull CheckedSetting checkedSetting2) {
|
||||
this.a = linearLayout;
|
||||
this.b = linkifiedTextView;
|
||||
this.f73c = linearLayout2;
|
||||
this.b = checkedSetting;
|
||||
this.f75c = checkedSetting2;
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
|
@ -1,27 +1,28 @@
|
|||
package c.a.i;
|
||||
|
||||
import android.view.View;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.TextView;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.SeekBar;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import com.discord.utilities.view.text.LinkifiedTextView;
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
/* compiled from: WidgetAuthMfaInfoBinding */
|
||||
/* compiled from: VolumeSliderViewBinding */
|
||||
public final class c4 implements ViewBinding {
|
||||
@NonNull
|
||||
public final LinearLayout a;
|
||||
public final View a;
|
||||
@NonNull
|
||||
public final MaterialButton b;
|
||||
public final ImageView b;
|
||||
@NonNull
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final LinkifiedTextView f74c;
|
||||
public final ImageView f76c;
|
||||
@NonNull
|
||||
public final SeekBar d;
|
||||
|
||||
public c4(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull MaterialButton materialButton, @NonNull LinkifiedTextView linkifiedTextView) {
|
||||
this.a = linearLayout;
|
||||
this.b = materialButton;
|
||||
this.f74c = linkifiedTextView;
|
||||
public c4(@NonNull View view, @NonNull ImageView imageView, @NonNull ImageView imageView2, @NonNull SeekBar seekBar) {
|
||||
this.a = view;
|
||||
this.b = imageView;
|
||||
this.f76c = imageView2;
|
||||
this.d = seekBar;
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
|
@ -1,20 +1,16 @@
|
|||
package c.a.i;
|
||||
|
||||
import android.view.View;
|
||||
import android.widget.FrameLayout;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
/* compiled from: WidgetHomePanelLoadingBinding */
|
||||
/* compiled from: WidgetHomePanelCenterContentUnreadBinding */
|
||||
public final class c5 implements ViewBinding {
|
||||
@NonNull
|
||||
public final FrameLayout a;
|
||||
@NonNull
|
||||
public final ImageView b;
|
||||
public final TextView a;
|
||||
|
||||
public c5(@NonNull FrameLayout frameLayout, @NonNull ImageView imageView) {
|
||||
this.a = frameLayout;
|
||||
this.b = imageView;
|
||||
public c5(@NonNull TextView textView, @NonNull TextView textView2) {
|
||||
this.a = textView;
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
|
@ -15,14 +15,14 @@ public final class d implements ViewBinding {
|
|||
@NonNull
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final SimpleDraweeView f75c;
|
||||
public final SimpleDraweeView f77c;
|
||||
@NonNull
|
||||
public final MaterialTextView d;
|
||||
|
||||
public d(@NonNull ConstraintLayout constraintLayout, @NonNull MaterialTextView materialTextView, @NonNull SimpleDraweeView simpleDraweeView, @NonNull MaterialTextView materialTextView2) {
|
||||
this.a = constraintLayout;
|
||||
this.b = materialTextView;
|
||||
this.f75c = simpleDraweeView;
|
||||
this.f77c = simpleDraweeView;
|
||||
this.d = materialTextView2;
|
||||
}
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ public final class d0 implements ViewBinding {
|
|||
@NonNull
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final TextInputLayout f76c;
|
||||
public final TextInputLayout f78c;
|
||||
@NonNull
|
||||
public final LoadingButton d;
|
||||
@NonNull
|
||||
|
@ -26,7 +26,7 @@ public final class d0 implements ViewBinding {
|
|||
public d0(@NonNull ConstraintLayout constraintLayout, @NonNull TextInputEditText textInputEditText, @NonNull TextInputLayout textInputLayout, @NonNull LoadingButton loadingButton, @NonNull TextView textView, @NonNull TextView textView2, @NonNull TextView textView3) {
|
||||
this.a = constraintLayout;
|
||||
this.b = textInputEditText;
|
||||
this.f76c = textInputLayout;
|
||||
this.f78c = textInputLayout;
|
||||
this.d = loadingButton;
|
||||
this.e = textView;
|
||||
}
|
||||
|
|
|
@ -1,25 +1,33 @@
|
|||
package c.a.i;
|
||||
|
||||
import android.view.View;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.TextSwitcher;
|
||||
import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import com.google.android.material.textfield.TextInputEditText;
|
||||
/* compiled from: SearchInputViewBinding */
|
||||
import com.discord.utilities.view.text.SimpleDraweeSpanTextView;
|
||||
/* compiled from: ReactionViewBinding */
|
||||
public final class d1 implements ViewBinding {
|
||||
@NonNull
|
||||
public final View a;
|
||||
public final LinearLayout a;
|
||||
@NonNull
|
||||
public final ImageView b;
|
||||
public final TextView b;
|
||||
@NonNull
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final TextInputEditText f77c;
|
||||
public final TextView f79c;
|
||||
@NonNull
|
||||
public final TextSwitcher d;
|
||||
@NonNull
|
||||
public final SimpleDraweeSpanTextView e;
|
||||
|
||||
public d1(@NonNull View view, @NonNull ImageView imageView, @NonNull TextInputEditText textInputEditText) {
|
||||
this.a = view;
|
||||
this.b = imageView;
|
||||
this.f77c = textInputEditText;
|
||||
public d1(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull TextView textView2, @NonNull TextSwitcher textSwitcher, @NonNull SimpleDraweeSpanTextView simpleDraweeSpanTextView) {
|
||||
this.a = linearLayout;
|
||||
this.b = textView;
|
||||
this.f79c = textView2;
|
||||
this.d = textSwitcher;
|
||||
this.e = simpleDraweeSpanTextView;
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
|
@ -1,30 +1,21 @@
|
|||
package c.a.i;
|
||||
|
||||
import android.view.View;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.constraintlayout.widget.ConstraintLayout;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import com.facebook.drawee.view.SimpleDraweeView;
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
/* compiled from: ViewMobileReportBlockUserBinding */
|
||||
/* compiled from: ViewInteractionFailedLabelBinding */
|
||||
public final class d2 implements ViewBinding {
|
||||
@NonNull
|
||||
public final LinearLayout a;
|
||||
@NonNull
|
||||
public final SimpleDraweeView b;
|
||||
public final ConstraintLayout a;
|
||||
@NonNull
|
||||
public final TextView b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final MaterialButton f78c;
|
||||
@NonNull
|
||||
public final TextView d;
|
||||
|
||||
public d2(@NonNull LinearLayout linearLayout, @NonNull SimpleDraweeView simpleDraweeView, @NonNull MaterialButton materialButton, @NonNull TextView textView, @NonNull TextView textView2, @NonNull TextView textView3) {
|
||||
this.a = linearLayout;
|
||||
this.b = simpleDraweeView;
|
||||
this.f78c = materialButton;
|
||||
this.d = textView3;
|
||||
public d2(@NonNull ConstraintLayout constraintLayout, @NonNull ImageView imageView, @NonNull TextView textView) {
|
||||
this.a = constraintLayout;
|
||||
this.b = textView;
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
package c.a.i;
|
||||
|
||||
import android.view.View;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import com.discord.views.CheckedSetting;
|
||||
/* compiled from: ViewServerSettingsSystemChannelWrapBinding */
|
||||
/* compiled from: ViewServerSettingsRegionBinding */
|
||||
public final class d3 implements ViewBinding {
|
||||
@NonNull
|
||||
public final LinearLayout a;
|
||||
|
@ -15,18 +15,15 @@ public final class d3 implements ViewBinding {
|
|||
@NonNull
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final CheckedSetting f79c;
|
||||
public final ImageView f80c;
|
||||
@NonNull
|
||||
public final CheckedSetting d;
|
||||
@NonNull
|
||||
public final LinearLayout e;
|
||||
public final LinearLayout d;
|
||||
|
||||
public d3(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull CheckedSetting checkedSetting, @NonNull CheckedSetting checkedSetting2, @NonNull LinearLayout linearLayout2) {
|
||||
public d3(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull ImageView imageView, @NonNull LinearLayout linearLayout2) {
|
||||
this.a = linearLayout;
|
||||
this.b = textView;
|
||||
this.f79c = checkedSetting;
|
||||
this.d = checkedSetting2;
|
||||
this.e = linearLayout2;
|
||||
this.f80c = imageView;
|
||||
this.d = linearLayout2;
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
|
@ -1,18 +1,48 @@
|
|||
package c.a.i;
|
||||
|
||||
import android.view.View;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.ProgressBar;
|
||||
import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
/* compiled from: WidgetCallFullscreenAudioShareWarningBinding */
|
||||
import com.discord.app.AppViewFlipper;
|
||||
import com.discord.utilities.view.text.LinkifiedTextView;
|
||||
import com.facebook.drawee.view.SimpleDraweeView;
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
/* compiled from: WidgetAcceptGiftDialogBinding */
|
||||
public final class d4 implements ViewBinding {
|
||||
@NonNull
|
||||
public final View a;
|
||||
public final LinearLayout a;
|
||||
@NonNull
|
||||
public final SimpleDraweeView b;
|
||||
@NonNull
|
||||
public final View b;
|
||||
|
||||
public d4(@NonNull View view, @NonNull View view2) {
|
||||
this.a = view;
|
||||
this.b = view2;
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final TextView f81c;
|
||||
@NonNull
|
||||
public final MaterialButton d;
|
||||
@NonNull
|
||||
public final LinearLayout e;
|
||||
@NonNull
|
||||
public final LinkifiedTextView f;
|
||||
@NonNull
|
||||
public final AppViewFlipper g;
|
||||
@NonNull
|
||||
public final TextView h;
|
||||
@NonNull
|
||||
public final ProgressBar i;
|
||||
|
||||
public d4(@NonNull LinearLayout linearLayout, @NonNull LinearLayout linearLayout2, @NonNull SimpleDraweeView simpleDraweeView, @NonNull TextView textView, @NonNull MaterialButton materialButton, @NonNull LinearLayout linearLayout3, @NonNull LinkifiedTextView linkifiedTextView, @NonNull AppViewFlipper appViewFlipper, @NonNull TextView textView2, @NonNull ProgressBar progressBar) {
|
||||
this.a = linearLayout;
|
||||
this.b = simpleDraweeView;
|
||||
this.f81c = textView;
|
||||
this.d = materialButton;
|
||||
this.e = linearLayout3;
|
||||
this.f = linkifiedTextView;
|
||||
this.g = appViewFlipper;
|
||||
this.h = textView2;
|
||||
this.i = progressBar;
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
|
@ -2,25 +2,26 @@ package c.a.i;
|
|||
|
||||
import android.view.View;
|
||||
import android.widget.FrameLayout;
|
||||
import android.widget.RelativeLayout;
|
||||
import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.fragment.app.FragmentContainerView;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import com.discord.utilities.view.rounded.RoundedRelativeLayout;
|
||||
/* compiled from: WidgetHomePanelRightBinding */
|
||||
/* compiled from: WidgetHomePanelLeftBinding */
|
||||
public final class d5 implements ViewBinding {
|
||||
@NonNull
|
||||
public final FrameLayout a;
|
||||
public final RelativeLayout a;
|
||||
@NonNull
|
||||
public final RoundedRelativeLayout b;
|
||||
public final TextView b;
|
||||
@NonNull
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final FragmentContainerView f80c;
|
||||
public final FragmentContainerView f82c;
|
||||
|
||||
public d5(@NonNull FrameLayout frameLayout, @NonNull RoundedRelativeLayout roundedRelativeLayout, @NonNull FragmentContainerView fragmentContainerView, @NonNull FragmentContainerView fragmentContainerView2, @NonNull FragmentContainerView fragmentContainerView3) {
|
||||
this.a = frameLayout;
|
||||
this.b = roundedRelativeLayout;
|
||||
this.f80c = fragmentContainerView3;
|
||||
public d5(@NonNull RelativeLayout relativeLayout, @NonNull TextView textView, @NonNull FragmentContainerView fragmentContainerView, @NonNull FragmentContainerView fragmentContainerView2, @NonNull FrameLayout frameLayout) {
|
||||
this.a = relativeLayout;
|
||||
this.b = textView;
|
||||
this.f82c = fragmentContainerView2;
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
|
@ -15,12 +15,12 @@ public final class e implements ViewBinding {
|
|||
@NonNull
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final MaterialButton f81c;
|
||||
public final MaterialButton f83c;
|
||||
|
||||
public e(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull MaterialButton materialButton, @NonNull LinearLayout linearLayout2) {
|
||||
this.a = linearLayout;
|
||||
this.b = textView;
|
||||
this.f81c = materialButton;
|
||||
this.f83c = materialButton;
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
|
@ -17,12 +17,12 @@ public final class e0 implements ViewBinding {
|
|||
@NonNull
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final LoadingButton f82c;
|
||||
public final LoadingButton f84c;
|
||||
|
||||
public e0(@NonNull ConstraintLayout constraintLayout, @NonNull RecyclerView recyclerView, @NonNull LoadingButton loadingButton, @NonNull LinkifiedTextView linkifiedTextView, @NonNull TextView textView) {
|
||||
this.a = constraintLayout;
|
||||
this.b = recyclerView;
|
||||
this.f82c = loadingButton;
|
||||
this.f84c = loadingButton;
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
|
@ -1,19 +1,25 @@
|
|||
package c.a.i;
|
||||
|
||||
import android.view.View;
|
||||
import android.widget.TextView;
|
||||
import android.widget.ImageView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
/* compiled from: ServerSettingsMembersRoleSpinnerItemBinding */
|
||||
import com.google.android.material.textfield.TextInputEditText;
|
||||
/* compiled from: SearchInputViewBinding */
|
||||
public final class e1 implements ViewBinding {
|
||||
@NonNull
|
||||
public final TextView a;
|
||||
public final View a;
|
||||
@NonNull
|
||||
public final ImageView b;
|
||||
@NonNull
|
||||
public final TextView b;
|
||||
|
||||
public e1(@NonNull TextView textView, @NonNull TextView textView2) {
|
||||
this.a = textView;
|
||||
this.b = textView2;
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final TextInputEditText f85c;
|
||||
|
||||
public e1(@NonNull View view, @NonNull ImageView imageView, @NonNull TextInputEditText textInputEditText) {
|
||||
this.a = view;
|
||||
this.b = imageView;
|
||||
this.f85c = textInputEditText;
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
|
@ -1,31 +1,25 @@
|
|||
package c.a.i;
|
||||
|
||||
import android.view.View;
|
||||
import android.widget.TextView;
|
||||
import android.widget.ProgressBar;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.constraintlayout.widget.ConstraintLayout;
|
||||
import androidx.constraintlayout.widget.Guideline;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import com.discord.utilities.view.text.LinkifiedTextView;
|
||||
import com.facebook.drawee.view.SimpleDraweeView;
|
||||
/* compiled from: ViewMobileReportsChannelPreviewBinding */
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
/* compiled from: ViewLoadingButtonBinding */
|
||||
public final class e2 implements ViewBinding {
|
||||
@NonNull
|
||||
public final ConstraintLayout a;
|
||||
public final View a;
|
||||
@NonNull
|
||||
public final TextView b;
|
||||
public final MaterialButton b;
|
||||
@NonNull
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final SimpleDraweeView f83c;
|
||||
@NonNull
|
||||
public final LinkifiedTextView d;
|
||||
public final ProgressBar f86c;
|
||||
|
||||
public e2(@NonNull ConstraintLayout constraintLayout, @NonNull Guideline guideline, @NonNull TextView textView, @NonNull Guideline guideline2, @NonNull SimpleDraweeView simpleDraweeView, @NonNull LinkifiedTextView linkifiedTextView, @NonNull Guideline guideline3, @NonNull Guideline guideline4) {
|
||||
this.a = constraintLayout;
|
||||
this.b = textView;
|
||||
this.f83c = simpleDraweeView;
|
||||
this.d = linkifiedTextView;
|
||||
public e2(@NonNull View view, @NonNull MaterialButton materialButton, @NonNull ProgressBar progressBar) {
|
||||
this.a = view;
|
||||
this.b = materialButton;
|
||||
this.f86c = progressBar;
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
|
@ -1,44 +1,25 @@
|
|||
package c.a.i;
|
||||
|
||||
import android.view.View;
|
||||
import android.widget.FrameLayout;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import com.discord.utilities.view.text.LinkifiedTextView;
|
||||
import com.facebook.drawee.view.SimpleDraweeView;
|
||||
import com.google.android.material.floatingactionbutton.FloatingActionButton;
|
||||
/* compiled from: ViewServerSettingsUploadBannerBinding */
|
||||
/* compiled from: ViewServerSettingsRegionHelpBinding */
|
||||
public final class e3 implements ViewBinding {
|
||||
@NonNull
|
||||
public final LinearLayout a;
|
||||
@NonNull
|
||||
public final FrameLayout b;
|
||||
public final LinkifiedTextView b;
|
||||
@NonNull
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final TextView f84c;
|
||||
@NonNull
|
||||
public final SimpleDraweeView d;
|
||||
@NonNull
|
||||
public final FloatingActionButton e;
|
||||
@NonNull
|
||||
public final LinkifiedTextView f;
|
||||
@NonNull
|
||||
public final TextView g;
|
||||
@NonNull
|
||||
public final TextView h;
|
||||
public final LinearLayout f87c;
|
||||
|
||||
public e3(@NonNull LinearLayout linearLayout, @NonNull FrameLayout frameLayout, @NonNull TextView textView, @NonNull SimpleDraweeView simpleDraweeView, @NonNull FloatingActionButton floatingActionButton, @NonNull LinkifiedTextView linkifiedTextView, @NonNull TextView textView2, @NonNull TextView textView3) {
|
||||
public e3(@NonNull LinearLayout linearLayout, @NonNull LinkifiedTextView linkifiedTextView, @NonNull LinearLayout linearLayout2) {
|
||||
this.a = linearLayout;
|
||||
this.b = frameLayout;
|
||||
this.f84c = textView;
|
||||
this.d = simpleDraweeView;
|
||||
this.e = floatingActionButton;
|
||||
this.f = linkifiedTextView;
|
||||
this.g = textView2;
|
||||
this.h = textView3;
|
||||
this.b = linkifiedTextView;
|
||||
this.f87c = linearLayout2;
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
|
@ -2,45 +2,26 @@ package c.a.i;
|
|||
|
||||
import android.view.View;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.RelativeLayout;
|
||||
import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import com.discord.widgets.voice.fullscreen.grid.PrivateCallBlurredGridView;
|
||||
import com.discord.widgets.voice.fullscreen.grid.PrivateCallGridView;
|
||||
/* compiled from: WidgetCallFullscreenPrivateCallBinding */
|
||||
import com.discord.utilities.view.text.LinkifiedTextView;
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
/* compiled from: WidgetAuthMfaInfoBinding */
|
||||
public final class e4 implements ViewBinding {
|
||||
@NonNull
|
||||
public final RelativeLayout a;
|
||||
public final LinearLayout a;
|
||||
@NonNull
|
||||
public final PrivateCallBlurredGridView b;
|
||||
public final MaterialButton b;
|
||||
@NonNull
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final TextView f85c;
|
||||
@NonNull
|
||||
public final RelativeLayout d;
|
||||
@NonNull
|
||||
public final LinearLayout e;
|
||||
@NonNull
|
||||
public final PrivateCallGridView f;
|
||||
@NonNull
|
||||
public final TextView g;
|
||||
@NonNull
|
||||
public final TextView h;
|
||||
@NonNull
|
||||
public final TextView i;
|
||||
public final LinkifiedTextView f88c;
|
||||
|
||||
public e4(@NonNull RelativeLayout relativeLayout, @NonNull PrivateCallBlurredGridView privateCallBlurredGridView, @NonNull TextView textView, @NonNull RelativeLayout relativeLayout2, @NonNull LinearLayout linearLayout, @NonNull PrivateCallGridView privateCallGridView, @NonNull TextView textView2, @NonNull TextView textView3, @NonNull TextView textView4) {
|
||||
this.a = relativeLayout;
|
||||
this.b = privateCallBlurredGridView;
|
||||
this.f85c = textView;
|
||||
this.d = relativeLayout2;
|
||||
this.e = linearLayout;
|
||||
this.f = privateCallGridView;
|
||||
this.g = textView2;
|
||||
this.h = textView3;
|
||||
this.i = textView4;
|
||||
public e4(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull MaterialButton materialButton, @NonNull LinkifiedTextView linkifiedTextView) {
|
||||
this.a = linearLayout;
|
||||
this.b = materialButton;
|
||||
this.f88c = linkifiedTextView;
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
|
@ -1,32 +1,20 @@
|
|||
package c.a.i;
|
||||
|
||||
import android.view.View;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.TextView;
|
||||
import android.widget.FrameLayout;
|
||||
import android.widget.ImageView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
/* compiled from: WidgetMaskedLinksDialogBinding */
|
||||
/* compiled from: WidgetHomePanelLoadingBinding */
|
||||
public final class e5 implements ViewBinding {
|
||||
@NonNull
|
||||
public final LinearLayout a;
|
||||
@NonNull
|
||||
public final TextView b;
|
||||
public final FrameLayout a;
|
||||
@NonNull
|
||||
public final ImageView b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final MaterialButton f86c;
|
||||
@NonNull
|
||||
public final MaterialButton d;
|
||||
@NonNull
|
||||
public final TextView e;
|
||||
|
||||
public e5(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull MaterialButton materialButton, @NonNull MaterialButton materialButton2, @NonNull TextView textView2, @NonNull TextView textView3) {
|
||||
this.a = linearLayout;
|
||||
this.b = textView;
|
||||
this.f86c = materialButton;
|
||||
this.d = materialButton2;
|
||||
this.e = textView2;
|
||||
public e5(@NonNull FrameLayout frameLayout, @NonNull ImageView imageView) {
|
||||
this.a = frameLayout;
|
||||
this.b = imageView;
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
|
@ -13,12 +13,12 @@ public final class f implements ViewBinding {
|
|||
@NonNull
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final TextView f87c;
|
||||
public final TextView f89c;
|
||||
|
||||
public f(@NonNull View view, @NonNull TextView textView, @NonNull TextView textView2) {
|
||||
this.a = view;
|
||||
this.b = textView;
|
||||
this.f87c = textView2;
|
||||
this.f89c = textView2;
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
|
@ -15,12 +15,12 @@ public final class f0 implements ViewBinding {
|
|||
@NonNull
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final MaterialButton f88c;
|
||||
public final MaterialButton f90c;
|
||||
|
||||
public f0(@NonNull ConstraintLayout constraintLayout, @NonNull TextView textView, @NonNull TextView textView2, @NonNull MaterialButton materialButton, @NonNull MaterialButton materialButton2) {
|
||||
this.a = constraintLayout;
|
||||
this.b = materialButton;
|
||||
this.f88c = materialButton2;
|
||||
this.f90c = materialButton2;
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
|
@ -4,7 +4,7 @@ import android.view.View;
|
|||
import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
/* compiled from: ServerSettingsMembersRoleSpinnerItemOpenBinding */
|
||||
/* compiled from: ServerSettingsMembersRoleSpinnerItemBinding */
|
||||
public final class f1 implements ViewBinding {
|
||||
@NonNull
|
||||
public final TextView a;
|
||||
|
|
|
@ -1,21 +1,30 @@
|
|||
package c.a.i;
|
||||
|
||||
import android.view.View;
|
||||
import android.widget.FrameLayout;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.cardview.widget.CardView;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
/* compiled from: ViewMobileReportsChildBinding */
|
||||
import com.facebook.drawee.view.SimpleDraweeView;
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
/* compiled from: ViewMobileReportBlockUserBinding */
|
||||
public final class f2 implements ViewBinding {
|
||||
@NonNull
|
||||
public final FrameLayout a;
|
||||
public final LinearLayout a;
|
||||
@NonNull
|
||||
public final SimpleDraweeView b;
|
||||
@NonNull
|
||||
public final TextView b;
|
||||
|
||||
public f2(@NonNull FrameLayout frameLayout, @NonNull CardView cardView, @NonNull TextView textView) {
|
||||
this.a = frameLayout;
|
||||
this.b = textView;
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final MaterialButton f91c;
|
||||
@NonNull
|
||||
public final TextView d;
|
||||
|
||||
public f2(@NonNull LinearLayout linearLayout, @NonNull SimpleDraweeView simpleDraweeView, @NonNull MaterialButton materialButton, @NonNull TextView textView, @NonNull TextView textView2, @NonNull TextView textView3) {
|
||||
this.a = linearLayout;
|
||||
this.b = simpleDraweeView;
|
||||
this.f91c = materialButton;
|
||||
this.d = textView3;
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
|
@ -1,44 +1,32 @@
|
|||
package c.a.i;
|
||||
|
||||
import android.view.View;
|
||||
import android.widget.FrameLayout;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import com.discord.utilities.view.text.LinkifiedTextView;
|
||||
import com.facebook.drawee.view.SimpleDraweeView;
|
||||
import com.google.android.material.floatingactionbutton.FloatingActionButton;
|
||||
/* compiled from: ViewServerSettingsUploadSplashBinding */
|
||||
import com.discord.views.CheckedSetting;
|
||||
/* compiled from: ViewServerSettingsSystemChannelWrapBinding */
|
||||
public final class f3 implements ViewBinding {
|
||||
@NonNull
|
||||
public final LinearLayout a;
|
||||
@NonNull
|
||||
public final FrameLayout b;
|
||||
public final TextView b;
|
||||
@NonNull
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final FloatingActionButton f89c;
|
||||
public final CheckedSetting f92c;
|
||||
@NonNull
|
||||
public final TextView d;
|
||||
public final CheckedSetting d;
|
||||
@NonNull
|
||||
public final SimpleDraweeView e;
|
||||
@NonNull
|
||||
public final LinkifiedTextView f;
|
||||
@NonNull
|
||||
public final TextView g;
|
||||
@NonNull
|
||||
public final TextView h;
|
||||
public final LinearLayout e;
|
||||
|
||||
public f3(@NonNull LinearLayout linearLayout, @NonNull FrameLayout frameLayout, @NonNull FloatingActionButton floatingActionButton, @NonNull TextView textView, @NonNull SimpleDraweeView simpleDraweeView, @NonNull LinkifiedTextView linkifiedTextView, @NonNull TextView textView2, @NonNull TextView textView3) {
|
||||
public f3(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull CheckedSetting checkedSetting, @NonNull CheckedSetting checkedSetting2, @NonNull LinearLayout linearLayout2) {
|
||||
this.a = linearLayout;
|
||||
this.b = frameLayout;
|
||||
this.f89c = floatingActionButton;
|
||||
this.d = textView;
|
||||
this.e = simpleDraweeView;
|
||||
this.f = linkifiedTextView;
|
||||
this.g = textView2;
|
||||
this.h = textView3;
|
||||
this.b = textView;
|
||||
this.f92c = checkedSetting;
|
||||
this.d = checkedSetting2;
|
||||
this.e = linearLayout2;
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
|
@ -1,26 +1,18 @@
|
|||
package c.a.i;
|
||||
|
||||
import android.view.View;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
/* compiled from: WidgetChannelSettingsCannotDeleteBinding */
|
||||
/* compiled from: WidgetCallFullscreenAudioShareWarningBinding */
|
||||
public final class f4 implements ViewBinding {
|
||||
@NonNull
|
||||
public final LinearLayout a;
|
||||
@NonNull
|
||||
public final TextView b;
|
||||
public final View a;
|
||||
@NonNull
|
||||
public final View b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final MaterialButton f90c;
|
||||
|
||||
public f4(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull MaterialButton materialButton, @NonNull TextView textView2) {
|
||||
this.a = linearLayout;
|
||||
this.b = textView;
|
||||
this.f90c = materialButton;
|
||||
public f4(@NonNull View view, @NonNull View view2) {
|
||||
this.a = view;
|
||||
this.b = view2;
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
|
@ -1,16 +1,26 @@
|
|||
package c.a.i;
|
||||
|
||||
import android.view.View;
|
||||
import android.widget.RadioButton;
|
||||
import android.widget.FrameLayout;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.fragment.app.FragmentContainerView;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
/* compiled from: WidgetMemberVerificationMultipleChoiceRadioItemBinding */
|
||||
import com.discord.utilities.view.rounded.RoundedRelativeLayout;
|
||||
/* compiled from: WidgetHomePanelRightBinding */
|
||||
public final class f5 implements ViewBinding {
|
||||
@NonNull
|
||||
public final RadioButton a;
|
||||
public final FrameLayout a;
|
||||
@NonNull
|
||||
public final RoundedRelativeLayout b;
|
||||
@NonNull
|
||||
|
||||
public f5(@NonNull RadioButton radioButton) {
|
||||
this.a = radioButton;
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final FragmentContainerView f93c;
|
||||
|
||||
public f5(@NonNull FrameLayout frameLayout, @NonNull RoundedRelativeLayout roundedRelativeLayout, @NonNull FragmentContainerView fragmentContainerView, @NonNull FragmentContainerView fragmentContainerView2, @NonNull FragmentContainerView fragmentContainerView3) {
|
||||
this.a = frameLayout;
|
||||
this.b = roundedRelativeLayout;
|
||||
this.f93c = fragmentContainerView3;
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
|
@ -15,7 +15,7 @@ public final class g implements ViewBinding {
|
|||
@NonNull
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final TextView f91c;
|
||||
public final TextView f94c;
|
||||
@NonNull
|
||||
public final SimpleDraweeView d;
|
||||
@NonNull
|
||||
|
@ -24,7 +24,7 @@ public final class g implements ViewBinding {
|
|||
public g(@NonNull View view, @NonNull ImageView imageView, @NonNull TextView textView, @NonNull SimpleDraweeView simpleDraweeView, @NonNull TextView textView2) {
|
||||
this.a = view;
|
||||
this.b = imageView;
|
||||
this.f91c = textView;
|
||||
this.f94c = textView;
|
||||
this.d = simpleDraweeView;
|
||||
this.e = textView2;
|
||||
}
|
||||
|
|
|
@ -16,12 +16,12 @@ public final class g0 implements ViewBinding {
|
|||
@NonNull
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final CheckedSetting f92c;
|
||||
public final CheckedSetting f95c;
|
||||
|
||||
public g0(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull LinkifiedTextView linkifiedTextView, @NonNull CheckedSetting checkedSetting) {
|
||||
this.a = linearLayout;
|
||||
this.b = linkifiedTextView;
|
||||
this.f92c = checkedSetting;
|
||||
this.f95c = checkedSetting;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
|
|
|
@ -1,36 +1,19 @@
|
|||
package c.a.i;
|
||||
|
||||
import android.view.View;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
/* compiled from: SingleValuePropPremiumUpsellDialogBinding */
|
||||
/* compiled from: ServerSettingsMembersRoleSpinnerItemOpenBinding */
|
||||
public final class g1 implements ViewBinding {
|
||||
@NonNull
|
||||
public final LinearLayout a;
|
||||
@NonNull
|
||||
public final MaterialButton b;
|
||||
public final TextView a;
|
||||
@NonNull
|
||||
public final TextView b;
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final MaterialButton f93c;
|
||||
@NonNull
|
||||
public final TextView d;
|
||||
@NonNull
|
||||
public final TextView e;
|
||||
@NonNull
|
||||
public final ImageView f;
|
||||
|
||||
public g1(@NonNull LinearLayout linearLayout, @NonNull LinearLayout linearLayout2, @NonNull MaterialButton materialButton, @NonNull View view, @NonNull MaterialButton materialButton2, @NonNull View view2, @NonNull TextView textView, @NonNull TextView textView2, @NonNull ImageView imageView) {
|
||||
this.a = linearLayout;
|
||||
this.b = materialButton;
|
||||
this.f93c = materialButton2;
|
||||
this.d = textView;
|
||||
this.e = textView2;
|
||||
this.f = imageView;
|
||||
public g1(@NonNull TextView textView, @NonNull TextView textView2) {
|
||||
this.a = textView;
|
||||
this.b = textView2;
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
|
@ -1,16 +1,31 @@
|
|||
package c.a.i;
|
||||
|
||||
import android.view.View;
|
||||
import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.constraintlayout.widget.ConstraintLayout;
|
||||
import androidx.constraintlayout.widget.Guideline;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import com.discord.views.CheckedSetting;
|
||||
/* compiled from: ViewMobileReportsMulticheckItemBinding */
|
||||
import com.discord.utilities.view.text.LinkifiedTextView;
|
||||
import com.facebook.drawee.view.SimpleDraweeView;
|
||||
/* compiled from: ViewMobileReportsChannelPreviewBinding */
|
||||
public final class g2 implements ViewBinding {
|
||||
@NonNull
|
||||
public final CheckedSetting a;
|
||||
public final ConstraintLayout a;
|
||||
@NonNull
|
||||
public final TextView b;
|
||||
@NonNull
|
||||
|
||||
public g2(@NonNull CheckedSetting checkedSetting) {
|
||||
this.a = checkedSetting;
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final SimpleDraweeView f96c;
|
||||
@NonNull
|
||||
public final LinkifiedTextView d;
|
||||
|
||||
public g2(@NonNull ConstraintLayout constraintLayout, @NonNull Guideline guideline, @NonNull TextView textView, @NonNull Guideline guideline2, @NonNull SimpleDraweeView simpleDraweeView, @NonNull LinkifiedTextView linkifiedTextView, @NonNull Guideline guideline3, @NonNull Guideline guideline4) {
|
||||
this.a = constraintLayout;
|
||||
this.b = textView;
|
||||
this.f96c = simpleDraweeView;
|
||||
this.d = linkifiedTextView;
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
|
@ -1,25 +1,44 @@
|
|||
package c.a.i;
|
||||
|
||||
import android.view.View;
|
||||
import android.widget.FrameLayout;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.constraintlayout.widget.ConstraintLayout;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import com.google.android.material.checkbox.MaterialCheckBox;
|
||||
/* compiled from: ViewSettingCheckBinding */
|
||||
import com.discord.utilities.view.text.LinkifiedTextView;
|
||||
import com.facebook.drawee.view.SimpleDraweeView;
|
||||
import com.google.android.material.floatingactionbutton.FloatingActionButton;
|
||||
/* compiled from: ViewServerSettingsUploadBannerBinding */
|
||||
public final class g3 implements ViewBinding {
|
||||
@NonNull
|
||||
public final View a;
|
||||
public final LinearLayout a;
|
||||
@NonNull
|
||||
public final MaterialCheckBox b;
|
||||
public final FrameLayout b;
|
||||
@NonNull
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final ConstraintLayout f94c;
|
||||
public final TextView f97c;
|
||||
@NonNull
|
||||
public final SimpleDraweeView d;
|
||||
@NonNull
|
||||
public final FloatingActionButton e;
|
||||
@NonNull
|
||||
public final LinkifiedTextView f;
|
||||
@NonNull
|
||||
public final TextView g;
|
||||
@NonNull
|
||||
public final TextView h;
|
||||
|
||||
public g3(@NonNull View view, @NonNull MaterialCheckBox materialCheckBox, @NonNull ConstraintLayout constraintLayout) {
|
||||
this.a = view;
|
||||
this.b = materialCheckBox;
|
||||
this.f94c = constraintLayout;
|
||||
public g3(@NonNull LinearLayout linearLayout, @NonNull FrameLayout frameLayout, @NonNull TextView textView, @NonNull SimpleDraweeView simpleDraweeView, @NonNull FloatingActionButton floatingActionButton, @NonNull LinkifiedTextView linkifiedTextView, @NonNull TextView textView2, @NonNull TextView textView3) {
|
||||
this.a = linearLayout;
|
||||
this.b = frameLayout;
|
||||
this.f97c = textView;
|
||||
this.d = simpleDraweeView;
|
||||
this.e = floatingActionButton;
|
||||
this.f = linkifiedTextView;
|
||||
this.g = textView2;
|
||||
this.h = textView3;
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
|
@ -1,61 +1,46 @@
|
|||
package c.a.i;
|
||||
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.RelativeLayout;
|
||||
import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
/* compiled from: WidgetChannelSettingsDeleteBinding */
|
||||
import com.discord.widgets.voice.fullscreen.grid.PrivateCallBlurredGridView;
|
||||
import com.discord.widgets.voice.fullscreen.grid.PrivateCallGridView;
|
||||
/* compiled from: WidgetCallFullscreenPrivateCallBinding */
|
||||
public final class g4 implements ViewBinding {
|
||||
@NonNull
|
||||
public final LinearLayout a;
|
||||
public final RelativeLayout a;
|
||||
@NonNull
|
||||
public final TextView b;
|
||||
public final PrivateCallBlurredGridView b;
|
||||
@NonNull
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final MaterialButton f95c;
|
||||
public final TextView f98c;
|
||||
@NonNull
|
||||
public final MaterialButton d;
|
||||
public final RelativeLayout d;
|
||||
@NonNull
|
||||
public final TextView e;
|
||||
public final LinearLayout e;
|
||||
@NonNull
|
||||
public final PrivateCallGridView f;
|
||||
@NonNull
|
||||
public final TextView g;
|
||||
@NonNull
|
||||
public final TextView h;
|
||||
@NonNull
|
||||
public final TextView i;
|
||||
|
||||
public g4(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull MaterialButton materialButton, @NonNull MaterialButton materialButton2, @NonNull TextView textView2) {
|
||||
this.a = linearLayout;
|
||||
this.b = textView;
|
||||
this.f95c = materialButton;
|
||||
this.d = materialButton2;
|
||||
this.e = textView2;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static g4 a(@NonNull LayoutInflater layoutInflater, @Nullable ViewGroup viewGroup, boolean z2) {
|
||||
View inflate = layoutInflater.inflate(2131558893, (ViewGroup) null, false);
|
||||
if (!z2) {
|
||||
int i = 2131362355;
|
||||
TextView textView = (TextView) inflate.findViewById(2131362355);
|
||||
if (textView != null) {
|
||||
i = 2131362356;
|
||||
MaterialButton materialButton = (MaterialButton) inflate.findViewById(2131362356);
|
||||
if (materialButton != null) {
|
||||
i = 2131362357;
|
||||
MaterialButton materialButton2 = (MaterialButton) inflate.findViewById(2131362357);
|
||||
if (materialButton2 != null) {
|
||||
i = 2131362358;
|
||||
TextView textView2 = (TextView) inflate.findViewById(2131362358);
|
||||
if (textView2 != null) {
|
||||
return new g4((LinearLayout) inflate, textView, materialButton, materialButton2, textView2);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(i)));
|
||||
}
|
||||
throw null;
|
||||
public g4(@NonNull RelativeLayout relativeLayout, @NonNull PrivateCallBlurredGridView privateCallBlurredGridView, @NonNull TextView textView, @NonNull RelativeLayout relativeLayout2, @NonNull LinearLayout linearLayout, @NonNull PrivateCallGridView privateCallGridView, @NonNull TextView textView2, @NonNull TextView textView3, @NonNull TextView textView4) {
|
||||
this.a = relativeLayout;
|
||||
this.b = privateCallBlurredGridView;
|
||||
this.f98c = textView;
|
||||
this.d = relativeLayout2;
|
||||
this.e = linearLayout;
|
||||
this.f = privateCallGridView;
|
||||
this.g = textView2;
|
||||
this.h = textView3;
|
||||
this.i = textView4;
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
|
@ -1,58 +1,32 @@
|
|||
package c.a.i;
|
||||
|
||||
import android.view.View;
|
||||
import android.widget.FrameLayout;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.SeekBar;
|
||||
import android.widget.Space;
|
||||
import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.constraintlayout.widget.Barrier;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import com.facebook.drawee.view.SimpleDraweeView;
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
/* compiled from: WidgetMusicRichPresenceBinding */
|
||||
/* compiled from: WidgetMaskedLinksDialogBinding */
|
||||
public final class g5 implements ViewBinding {
|
||||
@NonNull
|
||||
public final LinearLayout a;
|
||||
@NonNull
|
||||
public final LinearLayout b;
|
||||
public final TextView b;
|
||||
@NonNull
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final TextView f96c;
|
||||
public final MaterialButton f99c;
|
||||
@NonNull
|
||||
public final TextView d;
|
||||
public final MaterialButton d;
|
||||
@NonNull
|
||||
public final SimpleDraweeView e;
|
||||
@NonNull
|
||||
public final SimpleDraweeView f;
|
||||
@NonNull
|
||||
public final TextView g;
|
||||
@NonNull
|
||||
public final TextView h;
|
||||
@NonNull
|
||||
public final MaterialButton i;
|
||||
@NonNull
|
||||
public final SeekBar j;
|
||||
@NonNull
|
||||
public final TextView k;
|
||||
@NonNull
|
||||
public final TextView l;
|
||||
public final TextView e;
|
||||
|
||||
public g5(@NonNull LinearLayout linearLayout, @NonNull Barrier barrier, @NonNull Space space, @NonNull LinearLayout linearLayout2, @NonNull TextView textView, @NonNull TextView textView2, @NonNull SimpleDraweeView simpleDraweeView, @NonNull SimpleDraweeView simpleDraweeView2, @NonNull TextView textView3, @NonNull TextView textView4, @NonNull FrameLayout frameLayout, @NonNull MaterialButton materialButton, @NonNull SeekBar seekBar, @NonNull TextView textView5, @NonNull TextView textView6) {
|
||||
public g5(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull MaterialButton materialButton, @NonNull MaterialButton materialButton2, @NonNull TextView textView2, @NonNull TextView textView3) {
|
||||
this.a = linearLayout;
|
||||
this.b = linearLayout2;
|
||||
this.f96c = textView;
|
||||
this.d = textView2;
|
||||
this.e = simpleDraweeView;
|
||||
this.f = simpleDraweeView2;
|
||||
this.g = textView3;
|
||||
this.h = textView4;
|
||||
this.i = materialButton;
|
||||
this.j = seekBar;
|
||||
this.k = textView5;
|
||||
this.l = textView6;
|
||||
this.b = textView;
|
||||
this.f99c = materialButton;
|
||||
this.d = materialButton2;
|
||||
this.e = textView2;
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
|
@ -14,14 +14,14 @@ public final class h implements ViewBinding {
|
|||
@NonNull
|
||||
|
||||
/* renamed from: c reason: collision with root package name */
|
||||
public final TextView f97c;
|
||||
public final TextView f100c;
|
||||
@NonNull
|
||||
public final TextView d;
|
||||
|
||||
public h(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull TextView textView2, @NonNull TextView textView3) {
|
||||
this.a = linearLayout;
|
||||
this.b = textView;
|
||||
this.f97c = textView2;
|
||||
this.f100c = textView2;
|
||||
this.d = textView3;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,19 +1,20 @@
|
|||
package c.a.i;
|
||||
|
||||
import android.view.View;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.RelativeLayout;
|
||||
import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
/* compiled from: SparkleViewBinding */
|
||||
/* compiled from: ShinyButtonBinding */
|
||||
public final class h1 implements ViewBinding {
|
||||
@NonNull
|
||||
public final View a;
|
||||
public final RelativeLayout a;
|
||||
@NonNull
|
||||
public final ImageView b;
|
||||
public final TextView b;
|
||||
|
||||
public h1(@NonNull View view, @NonNull ImageView imageView) {
|
||||
this.a = view;
|
||||
this.b = imageView;
|
||||
public h1(@NonNull RelativeLayout relativeLayout, @NonNull TextView textView) {
|
||||
this.a = relativeLayout;
|
||||
this.b = textView;
|
||||
}
|
||||
|
||||
@Override // androidx.viewbinding.ViewBinding
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue