99.19 - Stable (99019)
This commit is contained in:
parent
b54c22d8f6
commit
604fcecab4
3504 changed files with 42386 additions and 38687 deletions
|
@ -9,9 +9,9 @@ android {
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId 'com.discord'
|
applicationId 'com.discord'
|
||||||
minSdkVersion 21
|
minSdkVersion 21
|
||||||
targetSdkVersion 29
|
targetSdkVersion 30
|
||||||
versionCode 98010
|
versionCode 99019
|
||||||
versionName "98.10 - Stable"
|
versionName "99.19 - Stable"
|
||||||
|
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="98010" android:versionName="98.10 - 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="99019" android:versionName="99.19 - 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-sdk android:minSdkVersion="21" android:targetSdkVersion="30"/>
|
||||||
<uses-feature android:name="android.hardware.camera" android:required="false"/>
|
<uses-feature android:name="android.hardware.camera" android:required="false"/>
|
||||||
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>
|
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>
|
||||||
<uses-feature android:name="android.hardware.faketouch" android:required="false"/>
|
<uses-feature android:name="android.hardware.faketouch" android:required="false"/>
|
||||||
|
|
|
@ -30,7 +30,7 @@ public class ResultReceiver implements Parcelable {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class b extends a.AbstractBinderC0361a {
|
public class b extends a.AbstractBinderC0362a {
|
||||||
public b() {
|
public b() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -44,12 +44,12 @@ public class ResultReceiver implements Parcelable {
|
||||||
public ResultReceiver(Parcel parcel) {
|
public ResultReceiver(Parcel parcel) {
|
||||||
w.a.b.c.a aVar;
|
w.a.b.c.a aVar;
|
||||||
IBinder readStrongBinder = parcel.readStrongBinder();
|
IBinder readStrongBinder = parcel.readStrongBinder();
|
||||||
int i = a.AbstractBinderC0361a.a;
|
int i = a.AbstractBinderC0362a.a;
|
||||||
if (readStrongBinder == null) {
|
if (readStrongBinder == null) {
|
||||||
aVar = null;
|
aVar = null;
|
||||||
} else {
|
} else {
|
||||||
IInterface queryLocalInterface = readStrongBinder.queryLocalInterface("android.support.v4.os.IResultReceiver");
|
IInterface queryLocalInterface = readStrongBinder.queryLocalInterface("android.support.v4.os.IResultReceiver");
|
||||||
aVar = (queryLocalInterface == null || !(queryLocalInterface instanceof w.a.b.c.a)) ? new a.AbstractBinderC0361a.C0362a(readStrongBinder) : (w.a.b.c.a) queryLocalInterface;
|
aVar = (queryLocalInterface == null || !(queryLocalInterface instanceof w.a.b.c.a)) ? new a.AbstractBinderC0362a.C0363a(readStrongBinder) : (w.a.b.c.a) queryLocalInterface;
|
||||||
}
|
}
|
||||||
this.i = aVar;
|
this.i = aVar;
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,7 +48,7 @@ public class CustomTabsClient {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* renamed from: androidx.browser.customtabs.CustomTabsClient$2 reason: invalid class name */
|
/* renamed from: androidx.browser.customtabs.CustomTabsClient$2 reason: invalid class name */
|
||||||
public class AnonymousClass2 extends a.AbstractBinderC0350a {
|
public class AnonymousClass2 extends a.AbstractBinderC0351a {
|
||||||
private Handler mHandler = new Handler(Looper.getMainLooper());
|
private Handler mHandler = new Handler(Looper.getMainLooper());
|
||||||
public final /* synthetic */ CustomTabsCallback val$callback;
|
public final /* synthetic */ CustomTabsCallback val$callback;
|
||||||
|
|
||||||
|
@ -219,7 +219,7 @@ public class CustomTabsClient {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private a.AbstractBinderC0350a createCallbackWrapper(@Nullable CustomTabsCallback customTabsCallback) {
|
private a.AbstractBinderC0351a createCallbackWrapper(@Nullable CustomTabsCallback customTabsCallback) {
|
||||||
return new AnonymousClass2(customTabsCallback);
|
return new AnonymousClass2(customTabsCallback);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -270,7 +270,7 @@ public class CustomTabsClient {
|
||||||
@Nullable
|
@Nullable
|
||||||
private CustomTabsSession newSessionInternal(@Nullable CustomTabsCallback customTabsCallback, @Nullable PendingIntent pendingIntent) {
|
private CustomTabsSession newSessionInternal(@Nullable CustomTabsCallback customTabsCallback, @Nullable PendingIntent pendingIntent) {
|
||||||
boolean z2;
|
boolean z2;
|
||||||
a.AbstractBinderC0350a createCallbackWrapper = createCallbackWrapper(customTabsCallback);
|
a.AbstractBinderC0351a createCallbackWrapper = createCallbackWrapper(customTabsCallback);
|
||||||
if (pendingIntent != null) {
|
if (pendingIntent != null) {
|
||||||
try {
|
try {
|
||||||
Bundle bundle = new Bundle();
|
Bundle bundle = new Bundle();
|
||||||
|
|
|
@ -83,8 +83,8 @@ public class CustomTabsSessionToken {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class MockCallback extends a.AbstractBinderC0350a {
|
public static class MockCallback extends a.AbstractBinderC0351a {
|
||||||
@Override // w.a.a.a.AbstractBinderC0350a, android.os.IInterface
|
@Override // w.a.a.a.AbstractBinderC0351a, android.os.IInterface
|
||||||
public IBinder asBinder() {
|
public IBinder asBinder() {
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
@ -150,7 +150,7 @@ public class CustomTabsSessionToken {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
if (binder != null) {
|
if (binder != null) {
|
||||||
aVar = a.AbstractBinderC0350a.asInterface(binder);
|
aVar = a.AbstractBinderC0351a.asInterface(binder);
|
||||||
}
|
}
|
||||||
return new CustomTabsSessionToken(aVar, pendingIntent);
|
return new CustomTabsSessionToken(aVar, pendingIntent);
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,7 +26,7 @@ public abstract class PostMessageServiceConnection implements PostMessageBackend
|
||||||
public PostMessageServiceConnection(@NonNull CustomTabsSessionToken customTabsSessionToken) {
|
public PostMessageServiceConnection(@NonNull CustomTabsSessionToken customTabsSessionToken) {
|
||||||
IBinder callbackBinder = customTabsSessionToken.getCallbackBinder();
|
IBinder callbackBinder = customTabsSessionToken.getCallbackBinder();
|
||||||
if (callbackBinder != null) {
|
if (callbackBinder != null) {
|
||||||
this.mSessionBinder = a.AbstractBinderC0350a.asInterface(callbackBinder);
|
this.mSessionBinder = a.AbstractBinderC0351a.asInterface(callbackBinder);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
throw new IllegalArgumentException("Provided session must have binder.");
|
throw new IllegalArgumentException("Provided session must have binder.");
|
||||||
|
|
|
@ -15,7 +15,7 @@ public class TrustedWebActivityCallbackRemote {
|
||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
public static TrustedWebActivityCallbackRemote fromBinder(@Nullable IBinder iBinder) {
|
public static TrustedWebActivityCallbackRemote fromBinder(@Nullable IBinder iBinder) {
|
||||||
a asInterface = iBinder == null ? null : a.AbstractBinderC0354a.asInterface(iBinder);
|
a asInterface = iBinder == null ? null : a.AbstractBinderC0355a.asInterface(iBinder);
|
||||||
if (asInterface == null) {
|
if (asInterface == null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,7 @@ public final class TrustedWebActivityServiceConnection {
|
||||||
private final b mService;
|
private final b mService;
|
||||||
|
|
||||||
/* renamed from: androidx.browser.trusted.TrustedWebActivityServiceConnection$1 reason: invalid class name */
|
/* renamed from: androidx.browser.trusted.TrustedWebActivityServiceConnection$1 reason: invalid class name */
|
||||||
public class AnonymousClass1 extends a.AbstractBinderC0354a {
|
public class AnonymousClass1 extends a.AbstractBinderC0355a {
|
||||||
public final /* synthetic */ TrustedWebActivityCallback val$callback;
|
public final /* synthetic */ TrustedWebActivityCallback val$callback;
|
||||||
|
|
||||||
public AnonymousClass1(TrustedWebActivityCallback trustedWebActivityCallback) {
|
public AnonymousClass1(TrustedWebActivityCallback trustedWebActivityCallback) {
|
||||||
|
|
|
@ -9,7 +9,7 @@ import android.os.RemoteException;
|
||||||
import w.a.b.a.a;
|
import w.a.b.a.a;
|
||||||
public abstract class NotificationCompatSideChannelService extends Service {
|
public abstract class NotificationCompatSideChannelService extends Service {
|
||||||
|
|
||||||
public class NotificationSideChannelStub extends a.AbstractBinderC0357a {
|
public class NotificationSideChannelStub extends a.AbstractBinderC0358a {
|
||||||
public NotificationSideChannelStub() {
|
public NotificationSideChannelStub() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -226,7 +226,7 @@ public final class NotificationManagerCompat {
|
||||||
private void handleServiceConnected(ComponentName componentName, IBinder iBinder) {
|
private void handleServiceConnected(ComponentName componentName, IBinder iBinder) {
|
||||||
ListenerRecord listenerRecord = this.mRecordMap.get(componentName);
|
ListenerRecord listenerRecord = this.mRecordMap.get(componentName);
|
||||||
if (listenerRecord != null) {
|
if (listenerRecord != null) {
|
||||||
listenerRecord.service = a.AbstractBinderC0357a.asInterface(iBinder);
|
listenerRecord.service = a.AbstractBinderC0358a.asInterface(iBinder);
|
||||||
listenerRecord.retryCount = 0;
|
listenerRecord.retryCount = 0;
|
||||||
processListenerQueue(listenerRecord);
|
processListenerQueue(listenerRecord);
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,7 @@ public final class RangeKt$toClosedRange$1 implements a<T> {
|
||||||
|
|
||||||
@Override // c0.d0.a
|
@Override // c0.d0.a
|
||||||
public boolean contains(T t) {
|
public boolean contains(T t) {
|
||||||
return a.C0178a.contains(this, t);
|
return a.C0179a.contains(this, t);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* JADX WARNING: Unknown variable types count: 1 */
|
/* JADX WARNING: Unknown variable types count: 1 */
|
||||||
|
@ -28,6 +28,6 @@ public final class RangeKt$toClosedRange$1 implements a<T> {
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isEmpty() {
|
public boolean isEmpty() {
|
||||||
return a.C0178a.isEmpty(this);
|
return a.C0179a.isEmpty(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -91,7 +91,7 @@ public final class a<K, T extends ChipsView.a> implements View.OnClickListener {
|
||||||
@Override // android.view.View.OnClickListener
|
@Override // android.view.View.OnClickListener
|
||||||
public void onClick(View view) {
|
public void onClick(View view) {
|
||||||
m.checkNotNullParameter(view, "v");
|
m.checkNotNullParameter(view, "v");
|
||||||
this.p.f2013z.clearFocus();
|
this.p.f2014z.clearFocus();
|
||||||
ChipsView<K, T> chipsView = this.p;
|
ChipsView<K, T> chipsView = this.p;
|
||||||
Objects.requireNonNull(chipsView);
|
Objects.requireNonNull(chipsView);
|
||||||
m.checkNotNullParameter(this, "chip");
|
m.checkNotNullParameter(this, "chip");
|
||||||
|
|
|
@ -12,7 +12,7 @@ public final class g implements View.OnClickListener {
|
||||||
|
|
||||||
@Override // android.view.View.OnClickListener
|
@Override // android.view.View.OnClickListener
|
||||||
public final void onClick(View view) {
|
public final void onClick(View view) {
|
||||||
this.i.f2013z.requestFocus();
|
this.i.f2014z.requestFocus();
|
||||||
this.i.f(null);
|
this.i.f(null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,14 +19,17 @@ public final class h3 implements ViewBinding {
|
||||||
@NonNull
|
@NonNull
|
||||||
public final CheckedSetting d;
|
public final CheckedSetting d;
|
||||||
@NonNull
|
@NonNull
|
||||||
public final LinearLayout e;
|
public final CheckedSetting e;
|
||||||
|
@NonNull
|
||||||
|
public final LinearLayout f;
|
||||||
|
|
||||||
public h3(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull CheckedSetting checkedSetting, @NonNull CheckedSetting checkedSetting2, @NonNull LinearLayout linearLayout2) {
|
public h3(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull CheckedSetting checkedSetting, @NonNull CheckedSetting checkedSetting2, @NonNull CheckedSetting checkedSetting3, @NonNull LinearLayout linearLayout2) {
|
||||||
this.a = linearLayout;
|
this.a = linearLayout;
|
||||||
this.b = textView;
|
this.b = textView;
|
||||||
this.f106c = checkedSetting;
|
this.f106c = checkedSetting;
|
||||||
this.d = checkedSetting2;
|
this.d = checkedSetting2;
|
||||||
this.e = linearLayout2;
|
this.e = checkedSetting3;
|
||||||
|
this.f = linearLayout2;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // androidx.viewbinding.ViewBinding
|
@Override // androidx.viewbinding.ViewBinding
|
||||||
|
|
|
@ -20,13 +20,16 @@ public final class w3 implements ViewBinding {
|
||||||
public final TextView d;
|
public final TextView d;
|
||||||
@NonNull
|
@NonNull
|
||||||
public final TextView e;
|
public final TextView e;
|
||||||
|
@NonNull
|
||||||
|
public final ImageView f;
|
||||||
|
|
||||||
public w3(@NonNull View view, @NonNull ImageView imageView, @NonNull StatusView statusView, @NonNull TextView textView, @NonNull TextView textView2) {
|
public w3(@NonNull View view, @NonNull ImageView imageView, @NonNull StatusView statusView, @NonNull TextView textView, @NonNull TextView textView2, @NonNull ImageView imageView2) {
|
||||||
this.a = view;
|
this.a = view;
|
||||||
this.b = imageView;
|
this.b = imageView;
|
||||||
this.f182c = statusView;
|
this.f182c = statusView;
|
||||||
this.d = textView;
|
this.d = textView;
|
||||||
this.e = textView2;
|
this.e = textView2;
|
||||||
|
this.f = imageView2;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // androidx.viewbinding.ViewBinding
|
@Override // androidx.viewbinding.ViewBinding
|
||||||
|
|
|
@ -218,7 +218,7 @@ public final class b {
|
||||||
m.checkNotNullParameter(objArr, "formatArgs");
|
m.checkNotNullParameter(objArr, "formatArgs");
|
||||||
m.checkNotNullParameter(renderContext, "renderContext");
|
m.checkNotNullParameter(renderContext, "renderContext");
|
||||||
Map<String, String> map = renderContext.a;
|
Map<String, String> map = renderContext.a;
|
||||||
List<? extends Object> list = renderContext.f2504c;
|
List<? extends Object> list = renderContext.f2507c;
|
||||||
boolean z2 = true;
|
boolean z2 = true;
|
||||||
if (!map.isEmpty()) {
|
if (!map.isEmpty()) {
|
||||||
charSequence = a.replace(charSequence, new f(map));
|
charSequence = a.replace(charSequence, new f(map));
|
||||||
|
|
|
@ -38,7 +38,7 @@ public final class c extends Node.a<RenderContext> {
|
||||||
spannableStringBuilder.setSpan(obj2, length, spannableStringBuilder.length(), 33);
|
spannableStringBuilder.setSpan(obj2, length, spannableStringBuilder.length(), 33);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Hook.a aVar2 = hook != null ? hook.f2503c : null;
|
Hook.a aVar2 = hook != null ? hook.f2506c : null;
|
||||||
if (aVar2 != null) {
|
if (aVar2 != null) {
|
||||||
aVar = aVar2;
|
aVar = aVar2;
|
||||||
} else if (URLUtil.isValidUrl(this.a)) {
|
} else if (URLUtil.isValidUrl(this.a)) {
|
||||||
|
|
|
@ -33,7 +33,7 @@ public final class a extends Parser<RenderContext, Node<RenderContext>, c> {
|
||||||
Pattern pattern5 = c.a.t.b.b.e.g;
|
Pattern pattern5 = c.a.t.b.b.e.g;
|
||||||
m.checkNotNullExpressionValue(pattern5, "SimpleMarkdownRules.PATTERN_ITALICS");
|
m.checkNotNullExpressionValue(pattern5, "SimpleMarkdownRules.PATTERN_ITALICS");
|
||||||
addRule(new h(pattern5));
|
addRule(new h(pattern5));
|
||||||
Pattern pattern6 = c.a.t.b.b.e.f244c;
|
Pattern pattern6 = c.a.t.b.b.e.f245c;
|
||||||
m.checkNotNullExpressionValue(pattern6, "SimpleMarkdownRules.PATTERN_STRIKETHRU");
|
m.checkNotNullExpressionValue(pattern6, "SimpleMarkdownRules.PATTERN_STRIKETHRU");
|
||||||
addRule(new i(pattern6));
|
addRule(new i(pattern6));
|
||||||
addRule(eVar.d());
|
addRule(eVar.d());
|
||||||
|
|
|
@ -23,7 +23,7 @@ public final class b extends o implements Function1<OverlayBubbleWrap, Boolean>
|
||||||
OverlayBubbleWrap overlayBubbleWrap2 = overlayBubbleWrap;
|
OverlayBubbleWrap overlayBubbleWrap2 = overlayBubbleWrap;
|
||||||
m.checkNotNullParameter(overlayBubbleWrap2, "bubbleWrap");
|
m.checkNotNullParameter(overlayBubbleWrap2, "bubbleWrap");
|
||||||
try {
|
try {
|
||||||
this.this$0.f2552r.removeViewImmediate(overlayBubbleWrap2);
|
this.this$0.f2555r.removeViewImmediate(overlayBubbleWrap2);
|
||||||
this.this$0.l.invoke(overlayBubbleWrap2);
|
this.this$0.l.invoke(overlayBubbleWrap2);
|
||||||
z2 = true;
|
z2 = true;
|
||||||
} catch (IllegalArgumentException unused) {
|
} catch (IllegalArgumentException unused) {
|
||||||
|
|
|
@ -77,8 +77,8 @@ public final class d implements View.OnClickListener {
|
||||||
overlayBubbleWrap.addOnAttachStateChangeListener(new a(this));
|
overlayBubbleWrap.addOnAttachStateChangeListener(new a(this));
|
||||||
this.i.a(overlayBubbleWrap);
|
this.i.a(overlayBubbleWrap);
|
||||||
this.k.setBubbleTouchable(false);
|
this.k.setBubbleTouchable(false);
|
||||||
this.i.f2552r.removeViewImmediate(this.k);
|
this.i.f2555r.removeViewImmediate(this.k);
|
||||||
WindowManager windowManager = this.i.f2552r;
|
WindowManager windowManager = this.i.f2555r;
|
||||||
OverlayBubbleWrap overlayBubbleWrap2 = this.k;
|
OverlayBubbleWrap overlayBubbleWrap2 = this.k;
|
||||||
windowManager.addView(overlayBubbleWrap2, overlayBubbleWrap2.getWindowLayoutParams());
|
windowManager.addView(overlayBubbleWrap2, overlayBubbleWrap2.getWindowLayoutParams());
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,7 +24,7 @@ public final /* synthetic */ class a0 extends k implements Function1<Pair<? exte
|
||||||
Pair<? extends Map<String, ? extends EncodeQuality>, ? extends RtcConnection.State> pair2 = pair;
|
Pair<? extends Map<String, ? extends EncodeQuality>, ? extends RtcConnection.State> pair2 = pair;
|
||||||
m.checkNotNullParameter(pair2, "p1");
|
m.checkNotNullParameter(pair2, "p1");
|
||||||
RtcConnection rtcConnection = (RtcConnection) this.receiver;
|
RtcConnection rtcConnection = (RtcConnection) this.receiver;
|
||||||
if (rtcConnection.f2569a0) {
|
if (rtcConnection.f2572a0) {
|
||||||
Map map = (Map) pair2.component1();
|
Map map = (Map) pair2.component1();
|
||||||
if (m.areEqual((RtcConnection.State) pair2.component2(), RtcConnection.State.f.a)) {
|
if (m.areEqual((RtcConnection.State) pair2.component2(), RtcConnection.State.f.a)) {
|
||||||
rtcConnection.U.i(rtcConnection.k, "local MediaSinkWants: " + map, null);
|
rtcConnection.U.i(rtcConnection.k, "local MediaSinkWants: " + map, null);
|
||||||
|
|
|
@ -42,7 +42,7 @@ public final class b0 implements MediaEngineConnection.d {
|
||||||
RtcConnection rtcConnection = this.a;
|
RtcConnection rtcConnection = this.a;
|
||||||
rtcConnection.p.succeed();
|
rtcConnection.p.succeed();
|
||||||
rtcConnection.q = transportInfo;
|
rtcConnection.q = transportInfo;
|
||||||
MediaEngineConnection mediaEngineConnection2 = rtcConnection.f2573w;
|
MediaEngineConnection mediaEngineConnection2 = rtcConnection.f2576w;
|
||||||
if (mediaEngineConnection2 != null) {
|
if (mediaEngineConnection2 != null) {
|
||||||
d dVar = new d(1000, rtcConnection.U, mediaEngineConnection2, new VoiceQuality(), rtcConnection.A, new KrispOveruseDetector(mediaEngineConnection2), 0, 64);
|
d dVar = new d(1000, rtcConnection.U, mediaEngineConnection2, new VoiceQuality(), rtcConnection.A, new KrispOveruseDetector(mediaEngineConnection2), 0, 64);
|
||||||
dVar.a.clear();
|
dVar.a.clear();
|
||||||
|
@ -54,9 +54,9 @@ public final class b0 implements MediaEngineConnection.d {
|
||||||
rtcConnection.n = dVar;
|
rtcConnection.n = dVar;
|
||||||
rtcConnection.o = false;
|
rtcConnection.o = false;
|
||||||
}
|
}
|
||||||
if (transportInfo.f2591c.ordinal() != 0) {
|
if (transportInfo.f2594c.ordinal() != 0) {
|
||||||
StringBuilder O = c.d.b.a.a.O("Unsupported protocol: ");
|
StringBuilder O = c.d.b.a.a.O("Unsupported protocol: ");
|
||||||
O.append(transportInfo.f2591c);
|
O.append(transportInfo.f2594c);
|
||||||
O.append('.');
|
O.append('.');
|
||||||
RtcConnection.j(rtcConnection, true, O.toString(), null, false, 12);
|
RtcConnection.j(rtcConnection, true, O.toString(), null, false, 12);
|
||||||
} else {
|
} else {
|
||||||
|
@ -91,7 +91,7 @@ public final class b0 implements MediaEngineConnection.d {
|
||||||
m.checkNotNullParameter(mediaEngineConnection, "connection");
|
m.checkNotNullParameter(mediaEngineConnection, "connection");
|
||||||
m.checkNotNullParameter(connectionState, "connectionState");
|
m.checkNotNullParameter(connectionState, "connectionState");
|
||||||
RtcConnection rtcConnection = this.a;
|
RtcConnection rtcConnection = this.a;
|
||||||
RtcConnection.StateChange stateChange = rtcConnection.f2572r;
|
RtcConnection.StateChange stateChange = rtcConnection.f2575r;
|
||||||
rtcConnection.r("Connection state change: " + connectionState);
|
rtcConnection.r("Connection state change: " + connectionState);
|
||||||
int ordinal = connectionState.ordinal();
|
int ordinal = connectionState.ordinal();
|
||||||
if (ordinal == 0) {
|
if (ordinal == 0) {
|
||||||
|
@ -106,10 +106,10 @@ public final class b0 implements MediaEngineConnection.d {
|
||||||
throw new NoWhenBranchMatchedException();
|
throw new NoWhenBranchMatchedException();
|
||||||
}
|
}
|
||||||
rtcConnection.u(state);
|
rtcConnection.u(state);
|
||||||
if (stateChange.a == RtcConnection.State.g.a && rtcConnection.f2572r.a == RtcConnection.State.h.a) {
|
if (stateChange.a == RtcConnection.State.g.a && rtcConnection.f2575r.a == RtcConnection.State.h.a) {
|
||||||
rtcConnection.q();
|
rtcConnection.q();
|
||||||
}
|
}
|
||||||
if (rtcConnection.f2572r.a == RtcConnection.State.f.a) {
|
if (rtcConnection.f2575r.a == RtcConnection.State.f.a) {
|
||||||
rtcConnection.C = Long.valueOf(rtcConnection.V.currentTimeMillis());
|
rtcConnection.C = Long.valueOf(rtcConnection.V.currentTimeMillis());
|
||||||
rtcConnection.I = true;
|
rtcConnection.I = true;
|
||||||
Map<String, Object> mutableMapOf = h0.mutableMapOf(c0.o.to("connect_count", Integer.valueOf(rtcConnection.D)));
|
Map<String, Object> mutableMapOf = h0.mutableMapOf(c0.o.to("connect_count", Integer.valueOf(rtcConnection.D)));
|
||||||
|
@ -123,7 +123,7 @@ public final class b0 implements MediaEngineConnection.d {
|
||||||
rtcConnection.p(RtcConnection.AnalyticsEvent.VOICE_CONNECTION_SUCCESS, mutableMapOf);
|
rtcConnection.p(RtcConnection.AnalyticsEvent.VOICE_CONNECTION_SUCCESS, mutableMapOf);
|
||||||
MediaSinkWantsManager mediaSinkWantsManager = rtcConnection.G;
|
MediaSinkWantsManager mediaSinkWantsManager = rtcConnection.G;
|
||||||
if (mediaSinkWantsManager != null) {
|
if (mediaSinkWantsManager != null) {
|
||||||
mediaSinkWantsManager.b(new i(mediaSinkWantsManager, rtcConnection.f2573w));
|
mediaSinkWantsManager.b(new i(mediaSinkWantsManager, rtcConnection.f2576w));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,7 +41,7 @@ public final class h0 implements a.d {
|
||||||
public void a(String str, String str2) {
|
public void a(String str, String str2) {
|
||||||
m.checkNotNullParameter(str, "audioCodec");
|
m.checkNotNullParameter(str, "audioCodec");
|
||||||
m.checkNotNullParameter(str2, "videoCodec");
|
m.checkNotNullParameter(str2, "videoCodec");
|
||||||
MediaEngineConnection mediaEngineConnection = this.a.f2573w;
|
MediaEngineConnection mediaEngineConnection = this.a.f2576w;
|
||||||
if (mediaEngineConnection != null) {
|
if (mediaEngineConnection != null) {
|
||||||
mediaEngineConnection.r(str, str2);
|
mediaEngineConnection.r(str, str2);
|
||||||
}
|
}
|
||||||
|
@ -52,11 +52,11 @@ public final class h0 implements a.d {
|
||||||
RtcConnection rtcConnection = this.a;
|
RtcConnection rtcConnection = this.a;
|
||||||
Objects.requireNonNull(rtcConnection);
|
Objects.requireNonNull(rtcConnection);
|
||||||
rtcConnection.r("Disconnected from RTC server. wasFatal: " + z2 + " -- code: " + num + " -- reason: " + str);
|
rtcConnection.r("Disconnected from RTC server. wasFatal: " + z2 + " -- code: " + num + " -- reason: " + str);
|
||||||
MediaEngineConnection mediaEngineConnection = rtcConnection.f2573w;
|
MediaEngineConnection mediaEngineConnection = rtcConnection.f2576w;
|
||||||
if (mediaEngineConnection != null) {
|
if (mediaEngineConnection != null) {
|
||||||
mediaEngineConnection.destroy();
|
mediaEngineConnection.destroy();
|
||||||
}
|
}
|
||||||
MediaEngineConnection mediaEngineConnection2 = rtcConnection.f2573w;
|
MediaEngineConnection mediaEngineConnection2 = rtcConnection.f2576w;
|
||||||
if (mediaEngineConnection2 != null) {
|
if (mediaEngineConnection2 != null) {
|
||||||
mediaEngineConnection2.o(rtcConnection.M);
|
mediaEngineConnection2.o(rtcConnection.M);
|
||||||
}
|
}
|
||||||
|
@ -67,7 +67,7 @@ public final class h0 implements a.d {
|
||||||
if ((num != null && num.intValue() == 1000) || z4) {
|
if ((num != null && num.intValue() == 1000) || z4) {
|
||||||
z3 = false;
|
z3 = false;
|
||||||
}
|
}
|
||||||
if (!(rtcConnection.f2572r.a instanceof RtcConnection.State.d)) {
|
if (!(rtcConnection.f2575r.a instanceof RtcConnection.State.d)) {
|
||||||
rtcConnection.n(z3, str);
|
rtcConnection.n(z3, str);
|
||||||
d dVar = rtcConnection.n;
|
d dVar = rtcConnection.n;
|
||||||
if (dVar != null) {
|
if (dVar != null) {
|
||||||
|
@ -76,7 +76,7 @@ public final class h0 implements a.d {
|
||||||
rtcConnection.n = null;
|
rtcConnection.n = null;
|
||||||
rtcConnection.o = false;
|
rtcConnection.o = false;
|
||||||
}
|
}
|
||||||
rtcConnection.f2576z = 0;
|
rtcConnection.f2579z = 0;
|
||||||
rtcConnection.C = null;
|
rtcConnection.C = null;
|
||||||
MediaSinkWantsManager mediaSinkWantsManager = rtcConnection.G;
|
MediaSinkWantsManager mediaSinkWantsManager = rtcConnection.G;
|
||||||
if (mediaSinkWantsManager != null) {
|
if (mediaSinkWantsManager != null) {
|
||||||
|
@ -93,7 +93,7 @@ public final class h0 implements a.d {
|
||||||
public void c(String str, List<Integer> list) {
|
public void c(String str, List<Integer> list) {
|
||||||
m.checkNotNullParameter(str, "mode");
|
m.checkNotNullParameter(str, "mode");
|
||||||
m.checkNotNullParameter(list, "secretKey");
|
m.checkNotNullParameter(list, "secretKey");
|
||||||
MediaEngineConnection mediaEngineConnection = this.a.f2573w;
|
MediaEngineConnection mediaEngineConnection = this.a.f2576w;
|
||||||
if (mediaEngineConnection != null) {
|
if (mediaEngineConnection != null) {
|
||||||
mediaEngineConnection.t(str, u.toIntArray(list));
|
mediaEngineConnection.t(str, u.toIntArray(list));
|
||||||
}
|
}
|
||||||
|
@ -241,7 +241,7 @@ public final class h0 implements a.d {
|
||||||
n nVar = cVar2.a;
|
n nVar = cVar2.a;
|
||||||
int max = Math.max((int) (((double) j0Var.f212c.a) * nVar.f224c), j0Var.d);
|
int max = Math.max((int) (((double) j0Var.f212c.a) * nVar.f224c), j0Var.d);
|
||||||
int max2 = Math.max((int) (((double) j0Var.f212c.b) * nVar.f224c), j0Var.d);
|
int max2 = Math.max((int) (((double) j0Var.f212c.b) * nVar.f224c), j0Var.d);
|
||||||
MediaEngineConnection mediaEngineConnection = rtcConnection.f2573w;
|
MediaEngineConnection mediaEngineConnection = rtcConnection.f2576w;
|
||||||
if (mediaEngineConnection != null) {
|
if (mediaEngineConnection != null) {
|
||||||
mediaEngineConnection.m(new MediaEngineConnection.b(max, max2, nVar.a, nVar.b, nVar.d, nVar.e));
|
mediaEngineConnection.m(new MediaEngineConnection.b(max, max2, nVar.a, nVar.b, nVar.d, nVar.e));
|
||||||
return;
|
return;
|
||||||
|
@ -261,7 +261,7 @@ public final class h0 implements a.d {
|
||||||
r.removeFirst(rtcConnection.u);
|
r.removeFirst(rtcConnection.u);
|
||||||
}
|
}
|
||||||
if (j > ((long) 500)) {
|
if (j > ((long) 500)) {
|
||||||
rtcConnection.f2576z++;
|
rtcConnection.f2579z++;
|
||||||
}
|
}
|
||||||
double d = (double) j;
|
double d = (double) j;
|
||||||
Objects.requireNonNull(RtcConnection.Quality.Companion);
|
Objects.requireNonNull(RtcConnection.Quality.Companion);
|
||||||
|
@ -372,7 +372,7 @@ public final class h0 implements a.d {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
g.l(rtcConnection.M);
|
g.l(rtcConnection.M);
|
||||||
rtcConnection.f2573w = g;
|
rtcConnection.f2576w = g;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // c.a.q.n0.a.d
|
@Override // c.a.q.n0.a.d
|
||||||
|
@ -391,7 +391,7 @@ public final class h0 implements a.d {
|
||||||
public void onSpeaking(long j, int i, boolean z2) {
|
public void onSpeaking(long j, int i, boolean z2) {
|
||||||
RtcConnection rtcConnection = this.a;
|
RtcConnection rtcConnection = this.a;
|
||||||
if (j != rtcConnection.S) {
|
if (j != rtcConnection.S) {
|
||||||
MediaEngineConnection mediaEngineConnection = rtcConnection.f2573w;
|
MediaEngineConnection mediaEngineConnection = rtcConnection.f2576w;
|
||||||
if (mediaEngineConnection != null) {
|
if (mediaEngineConnection != null) {
|
||||||
mediaEngineConnection.s(j, i, null, rtcConnection.g(j), rtcConnection.h(j));
|
mediaEngineConnection.s(j, i, null, rtcConnection.g(j), rtcConnection.h(j));
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,7 +34,7 @@ public final class j extends o implements Function0<Unit> {
|
||||||
Long l2 = this.$userId;
|
Long l2 = this.$userId;
|
||||||
if (l2 == null) {
|
if (l2 == null) {
|
||||||
this.this$0.e = null;
|
this.this$0.e = null;
|
||||||
} else if (this.this$0.f2567c.contains(l2)) {
|
} else if (this.this$0.f2570c.contains(l2)) {
|
||||||
MediaSinkWantsManager mediaSinkWantsManager2 = this.this$0;
|
MediaSinkWantsManager mediaSinkWantsManager2 = this.this$0;
|
||||||
Long l3 = this.$userId;
|
Long l3 = this.$userId;
|
||||||
mediaSinkWantsManager2.e = l3;
|
mediaSinkWantsManager2.e = l3;
|
||||||
|
|
|
@ -19,8 +19,8 @@ public final class f extends ContentObserver {
|
||||||
super.onChange(z2);
|
super.onChange(z2);
|
||||||
DiscordAudioManager discordAudioManager = this.a;
|
DiscordAudioManager discordAudioManager = this.a;
|
||||||
int streamVolume = discordAudioManager.e.getStreamVolume(3);
|
int streamVolume = discordAudioManager.e.getStreamVolume(3);
|
||||||
discordAudioManager.f2581w = streamVolume;
|
discordAudioManager.f2584w = streamVolume;
|
||||||
SerializedSubject<Integer, Integer> serializedSubject = discordAudioManager.f2583y;
|
SerializedSubject<Integer, Integer> serializedSubject = discordAudioManager.f2586y;
|
||||||
serializedSubject.j.onNext(Integer.valueOf(streamVolume));
|
serializedSubject.j.onNext(Integer.valueOf(streamVolume));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -96,10 +96,10 @@ public final class l extends o implements Function0<Unit> {
|
||||||
}
|
}
|
||||||
if (arrayList2.isEmpty()) {
|
if (arrayList2.isEmpty()) {
|
||||||
this.this$0.b.remove(Long.valueOf(this.$userId));
|
this.this$0.b.remove(Long.valueOf(this.$userId));
|
||||||
this.this$0.f2567c.remove(Long.valueOf(this.$userId));
|
this.this$0.f2570c.remove(Long.valueOf(this.$userId));
|
||||||
} else {
|
} else {
|
||||||
this.this$0.b.put(Long.valueOf(this.$userId), arrayList2);
|
this.this$0.b.put(Long.valueOf(this.$userId), arrayList2);
|
||||||
this.this$0.f2567c.add(Long.valueOf(this.$userId));
|
this.this$0.f2570c.add(Long.valueOf(this.$userId));
|
||||||
}
|
}
|
||||||
this.this$0.d(arrayList2.isEmpty() ? n.emptyList() : c0.t.m.listOf(String.valueOf(this.$userId)));
|
this.this$0.d(arrayList2.isEmpty() ? n.emptyList() : c0.t.m.listOf(String.valueOf(this.$userId)));
|
||||||
return Unit.a;
|
return Unit.a;
|
||||||
|
|
|
@ -218,7 +218,7 @@ public final class b extends ScreenCapturerAndroid {
|
||||||
if (thumbnailEmitter != null) {
|
if (thumbnailEmitter != null) {
|
||||||
synchronized (thumbnailEmitter) {
|
synchronized (thumbnailEmitter) {
|
||||||
thumbnailEmitter.d.release();
|
thumbnailEmitter.d.release();
|
||||||
thumbnailEmitter.f2594c.release();
|
thumbnailEmitter.f2597c.release();
|
||||||
JniCommon.nativeFreeByteBuffer(thumbnailEmitter.b);
|
JniCommon.nativeFreeByteBuffer(thumbnailEmitter.b);
|
||||||
thumbnailEmitter.a = RecyclerView.FOREVER_NS;
|
thumbnailEmitter.a = RecyclerView.FOREVER_NS;
|
||||||
}
|
}
|
||||||
|
|
|
@ -288,7 +288,7 @@ public final class e implements MediaEngineConnection {
|
||||||
Connection connection2 = connection;
|
Connection connection2 = connection;
|
||||||
c0.z.d.m.checkNotNullParameter(connection2, "$receiver");
|
c0.z.d.m.checkNotNullParameter(connection2, "$receiver");
|
||||||
connection2.setVADLeadingFramesToBuffer(this.$inputModeOptions.b);
|
connection2.setVADLeadingFramesToBuffer(this.$inputModeOptions.b);
|
||||||
connection2.setVADTrailingFramesToSend(this.$inputModeOptions.f2593c);
|
connection2.setVADTrailingFramesToSend(this.$inputModeOptions.f2596c);
|
||||||
connection2.setVADTriggerThreshold((float) this.$inputModeOptions.a);
|
connection2.setVADTriggerThreshold((float) this.$inputModeOptions.a);
|
||||||
connection2.setVADAutoThreshold(this.$inputModeOptions.d ? 3 : -1);
|
connection2.setVADAutoThreshold(this.$inputModeOptions.d ? 3 : -1);
|
||||||
connection2.setVADUseKrisp(this.$inputModeOptions.e);
|
connection2.setVADUseKrisp(this.$inputModeOptions.e);
|
||||||
|
@ -473,7 +473,7 @@ public final class e implements MediaEngineConnection {
|
||||||
Connection connection2 = connection;
|
Connection connection2 = connection;
|
||||||
c0.z.d.m.checkNotNullParameter(connection2, "$receiver");
|
c0.z.d.m.checkNotNullParameter(connection2, "$receiver");
|
||||||
MediaEngineConnection.b bVar = this.$quality;
|
MediaEngineConnection.b bVar = this.$quality;
|
||||||
connection2.setEncodingQuality(bVar.a, bVar.b, bVar.f2592c, bVar.d, this.$frameRate);
|
connection2.setEncodingQuality(bVar.a, bVar.b, bVar.f2595c, bVar.d, this.$frameRate);
|
||||||
return Unit.a;
|
return Unit.a;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -610,7 +610,7 @@ public final class e implements MediaEngineConnection {
|
||||||
this.d = h0.mutableMapOf(c0.o.to(Long.valueOf(j2), Integer.valueOf(aVar.a)));
|
this.d = h0.mutableMapOf(c0.o.to(Long.valueOf(j2), Integer.valueOf(aVar.a)));
|
||||||
int i2 = aVar.a;
|
int i2 = aVar.a;
|
||||||
String str = aVar.b;
|
String str = aVar.b;
|
||||||
int i3 = aVar.f2590c;
|
int i3 = aVar.f2593c;
|
||||||
Object[] array = aVar.d.toArray(new StreamParameters[0]);
|
Object[] array = aVar.d.toArray(new StreamParameters[0]);
|
||||||
Objects.requireNonNull(array, "null cannot be cast to non-null type kotlin.Array<T>");
|
Objects.requireNonNull(array, "null cannot be cast to non-null type kotlin.Array<T>");
|
||||||
Connection connectToServer = discord.connectToServer(i2, j2, str, i3, (StreamParameters[]) array, new d(this));
|
Connection connectToServer = discord.connectToServer(i2, j2, str, i3, (StreamParameters[]) array, new d(this));
|
||||||
|
|
|
@ -418,7 +418,7 @@ public final class k implements MediaEngine {
|
||||||
discord2.setEchoCancellation(z2, false, new m(kVar2));
|
discord2.setEchoCancellation(z2, false, new m(kVar2));
|
||||||
}
|
}
|
||||||
k kVar3 = this.this$0;
|
k kVar3 = this.this$0;
|
||||||
boolean z4 = voiceConfig.f2589c;
|
boolean z4 = voiceConfig.f2592c;
|
||||||
Discord discord3 = kVar3.f;
|
Discord discord3 = kVar3.f;
|
||||||
if (discord3 != null) {
|
if (discord3 != null) {
|
||||||
discord3.setNoiseSuppression(z4);
|
discord3.setNoiseSuppression(z4);
|
||||||
|
|
|
@ -38,7 +38,7 @@ public final class m implements Discord.AecConfigCallback {
|
||||||
MediaEngine.EchoCancellationInfo echoCancellationInfo = kVar.i;
|
MediaEngine.EchoCancellationInfo echoCancellationInfo = kVar.i;
|
||||||
kVar.i = null;
|
kVar.i = null;
|
||||||
if (echoCancellationInfo != null) {
|
if (echoCancellationInfo != null) {
|
||||||
MediaEngine.EchoCancellationInfo echoCancellationInfo2 = new MediaEngine.EchoCancellationInfo(echoCancellationInfo.a, echoCancellationInfo.b, echoCancellationInfo.f2588c, echoCancellationInfo.d, this.$requestEnable, this.$enabled, this.$requestMobileMode, this.$previouslyEnabled, this.$previouslyMobileMode);
|
MediaEngine.EchoCancellationInfo echoCancellationInfo2 = new MediaEngine.EchoCancellationInfo(echoCancellationInfo.a, echoCancellationInfo.b, echoCancellationInfo.f2591c, echoCancellationInfo.d, this.$requestEnable, this.$enabled, this.$requestMobileMode, this.$previouslyEnabled, this.$previouslyMobileMode);
|
||||||
d.e1("MediaEngineLegacy", "onEchoCancellationUpdated: " + echoCancellationInfo2);
|
d.e1("MediaEngineLegacy", "onEchoCancellationUpdated: " + echoCancellationInfo2);
|
||||||
this.this$0.a.p.onEchoCancellationUpdated(echoCancellationInfo2);
|
this.this$0.a.p.onEchoCancellationUpdated(echoCancellationInfo2);
|
||||||
}
|
}
|
||||||
|
|
|
@ -640,7 +640,7 @@ public final class a extends WebSocketListener implements DebugPrintable {
|
||||||
aVar.a(1, TimeUnit.MINUTES);
|
aVar.a(1, TimeUnit.MINUTES);
|
||||||
SSLSocketFactory sSLSocketFactory = this.E;
|
SSLSocketFactory sSLSocketFactory = this.E;
|
||||||
if (sSLSocketFactory != null) {
|
if (sSLSocketFactory != null) {
|
||||||
h.a aVar2 = e0.e0.k.h.f2991c;
|
h.a aVar2 = e0.e0.k.h.f2994c;
|
||||||
aVar.b(sSLSocketFactory, e0.e0.k.h.a.n());
|
aVar.b(sSLSocketFactory, e0.e0.k.h.a.n());
|
||||||
}
|
}
|
||||||
String G = c.d.b.a.a.G(new StringBuilder(), this.C, "?v=5");
|
String G = c.d.b.a.a.G(new StringBuilder(), this.C, "?v=5");
|
||||||
|
|
|
@ -98,13 +98,13 @@ public final /* synthetic */ class a extends k implements Function1<Stats, Unit>
|
||||||
if (booleanValue) {
|
if (booleanValue) {
|
||||||
krispOveruseDetector.d.f(KrispOveruseDetector.Status.CPU_OVERUSE);
|
krispOveruseDetector.d.f(KrispOveruseDetector.Status.CPU_OVERUSE);
|
||||||
} else if (longValue == 0) {
|
} else if (longValue == 0) {
|
||||||
int i = krispOveruseDetector.f2566c + 1;
|
int i = krispOveruseDetector.f2569c + 1;
|
||||||
krispOveruseDetector.f2566c = i;
|
krispOveruseDetector.f2569c = i;
|
||||||
if (i > 2) {
|
if (i > 2) {
|
||||||
krispOveruseDetector.d.f(KrispOveruseDetector.Status.FAILED);
|
krispOveruseDetector.d.f(KrispOveruseDetector.Status.FAILED);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
krispOveruseDetector.f2566c = 0;
|
krispOveruseDetector.f2569c = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
krispOveruseDetector.b = stats2.getOutboundRtpAudio();
|
krispOveruseDetector.b = stats2.getOutboundRtpAudio();
|
||||||
|
|
|
@ -53,8 +53,8 @@ public final class s extends o implements Function0<Unit> {
|
||||||
rtcConnection.r("connecting via endpoint: " + replace$default + " token: " + str2);
|
rtcConnection.r("connecting via endpoint: " + replace$default + " token: " + str2);
|
||||||
try {
|
try {
|
||||||
URI uri = new URI(v);
|
URI uri = new URI(v);
|
||||||
rtcConnection.f2574x = uri.getHost();
|
rtcConnection.f2577x = uri.getHost();
|
||||||
rtcConnection.f2575y = Integer.valueOf(uri.getPort());
|
rtcConnection.f2578y = Integer.valueOf(uri.getPort());
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
rtcConnection.U.e(rtcConnection.k, "Failed to parse RTC endpoint", e, g0.mapOf(c0.o.to("endpoint", replace$default)));
|
rtcConnection.U.e(rtcConnection.k, "Failed to parse RTC endpoint", e, g0.mapOf(c0.o.to("endpoint", replace$default)));
|
||||||
}
|
}
|
||||||
|
|
|
@ -77,7 +77,7 @@ public final class b extends k implements Function2<CoroutineScope, Continuation
|
||||||
}
|
}
|
||||||
String joinToString$default = u.joinToString$default(arrayList, "&", null, null, 0, null, null, 62, null);
|
String joinToString$default = u.joinToString$default(arrayList, "&", null, null, 0, null, null, 62, null);
|
||||||
RequestBody.Companion companion = RequestBody.Companion;
|
RequestBody.Companion companion = RequestBody.Companion;
|
||||||
MediaType.a aVar = MediaType.f3122c;
|
MediaType.a aVar = MediaType.f3125c;
|
||||||
RequestBody a = companion.a(joinToString$default, MediaType.a.a(ShareTarget.ENCODING_TYPE_URL_ENCODED));
|
RequestBody a = companion.a(joinToString$default, MediaType.a.a(ShareTarget.ENCODING_TYPE_URL_ENCODED));
|
||||||
Request.a aVar2 = new Request.a();
|
Request.a aVar2 = new Request.a();
|
||||||
m.checkParameterIsNotNull(a, "body");
|
m.checkParameterIsNotNull(a, "body");
|
||||||
|
|
|
@ -3,7 +3,7 @@ package c.a.r;
|
||||||
import c.n.a.a.a;
|
import c.n.a.a.a;
|
||||||
import com.discord.samsung.SamsungConnectActivity;
|
import com.discord.samsung.SamsungConnectActivity;
|
||||||
/* compiled from: SamsungConnectActivity.kt */
|
/* compiled from: SamsungConnectActivity.kt */
|
||||||
public final class d extends a.AbstractBinderC0158a {
|
public final class d extends a.AbstractBinderC0159a {
|
||||||
public final /* synthetic */ SamsungConnectActivity a;
|
public final /* synthetic */ SamsungConnectActivity a;
|
||||||
|
|
||||||
public d(SamsungConnectActivity samsungConnectActivity) {
|
public d(SamsungConnectActivity samsungConnectActivity) {
|
||||||
|
|
|
@ -52,7 +52,7 @@ public final class a extends Rule<R, Node<R>, S> {
|
||||||
if (list != null) {
|
if (list != null) {
|
||||||
List parse = parser.parse(group2, s, list);
|
List parse = parser.parse(group2, s, list);
|
||||||
Objects.requireNonNull(parse, "null cannot be cast to non-null type kotlin.collections.List<com.discord.simpleast.core.node.Node<R>>");
|
Objects.requireNonNull(parse, "null cannot be cast to non-null type kotlin.collections.List<com.discord.simpleast.core.node.Node<R>>");
|
||||||
aVar = new CodeNode.a.C0290a(group2, parse);
|
aVar = new CodeNode.a.C0291a(group2, parse);
|
||||||
} else {
|
} else {
|
||||||
aVar = new CodeNode.a.b(group2);
|
aVar = new CodeNode.a.b(group2);
|
||||||
}
|
}
|
||||||
|
|
|
@ -49,7 +49,7 @@ public final class c extends Rule<R, Node<R>, S> {
|
||||||
public ParseSpec<R, S> parse(Matcher matcher, Parser<R, ? super Node<R>, S> parser, S s) {
|
public ParseSpec<R, S> parse(Matcher matcher, Parser<R, ? super Node<R>, S> parser, S s) {
|
||||||
m.checkNotNullParameter(matcher, "matcher");
|
m.checkNotNullParameter(matcher, "matcher");
|
||||||
m.checkNotNullParameter(parser, "parser");
|
m.checkNotNullParameter(parser, "parser");
|
||||||
String group = matcher.group(1);
|
String group = matcher.group(2);
|
||||||
if (group == null) {
|
if (group == null) {
|
||||||
group = "";
|
group = "";
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,8 +28,8 @@ public final class e {
|
||||||
Pattern compile = Pattern.compile("^```(?:([\\w+\\-.]+?)?(\\s*\\n))?([^\\n].*?)\\n*```", 32);
|
Pattern compile = Pattern.compile("^```(?:([\\w+\\-.]+?)?(\\s*\\n))?([^\\n].*?)\\n*```", 32);
|
||||||
m.checkNotNullExpressionValue(compile, "Pattern.compile(\"\"\"^```(…n*```\"\"\", Pattern.DOTALL)");
|
m.checkNotNullExpressionValue(compile, "Pattern.compile(\"\"\"^```(…n*```\"\"\", Pattern.DOTALL)");
|
||||||
a = compile;
|
a = compile;
|
||||||
Pattern compile2 = Pattern.compile("^`([^`]*?)`", 32);
|
Pattern compile2 = Pattern.compile("^(``?)([^`]*)\\1", 32);
|
||||||
m.checkNotNullExpressionValue(compile2, "Pattern.compile(\"\"\"^`([^`]*?)`\"\"\", Pattern.DOTALL)");
|
m.checkNotNullExpressionValue(compile2, "Pattern.compile(\"\"\"^(``?…]*)\\1\"\"\", Pattern.DOTALL)");
|
||||||
b = compile2;
|
b = compile2;
|
||||||
Pattern compile3 = Pattern.compile("^(?:\\n\\s*)+");
|
Pattern compile3 = Pattern.compile("^(?:\\n\\s*)+");
|
||||||
m.checkNotNullExpressionValue(compile3, "Pattern.compile(\"\"\"^(?:\\n\\s*)+\"\"\")");
|
m.checkNotNullExpressionValue(compile3, "Pattern.compile(\"\"\"^(?:\\n\\s*)+\"\"\")");
|
||||||
|
|
|
@ -8,7 +8,7 @@ import com.discord.simpleast.core.parser.Parser;
|
||||||
import com.discord.simpleast.core.parser.Rule;
|
import com.discord.simpleast.core.parser.Rule;
|
||||||
import java.util.regex.Matcher;
|
import java.util.regex.Matcher;
|
||||||
import java.util.regex.Pattern;
|
import java.util.regex.Pattern;
|
||||||
/* compiled from: JavaScript.kt */
|
/* compiled from: Crystal.kt */
|
||||||
public final class h extends Rule<RC, Node<RC>, S> {
|
public final class h extends Rule<RC, Node<RC>, S> {
|
||||||
public final /* synthetic */ f a;
|
public final /* synthetic */ f a;
|
||||||
|
|
||||||
|
@ -24,9 +24,10 @@ public final class h extends Rule<RC, Node<RC>, S> {
|
||||||
m.checkNotNullParameter(parser, "parser");
|
m.checkNotNullParameter(parser, "parser");
|
||||||
String group = matcher.group(1);
|
String group = matcher.group(1);
|
||||||
String group2 = matcher.group(2);
|
String group2 = matcher.group(2);
|
||||||
|
String group3 = matcher.group(3);
|
||||||
m.checkNotNull(group);
|
m.checkNotNull(group);
|
||||||
m.checkNotNull(group2);
|
m.checkNotNull(group2);
|
||||||
i.a aVar = new i.a(group, group2, this.a);
|
i.a aVar = new i.a(group, group2, group3, this.a);
|
||||||
m.checkNotNullParameter(aVar, "node");
|
m.checkNotNullParameter(aVar, "node");
|
||||||
return new ParseSpec<>(aVar, s);
|
return new ParseSpec<>(aVar, s);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,92 +1,50 @@
|
||||||
package c.a.t.a;
|
package c.a.t.a;
|
||||||
|
|
||||||
import c0.z.d.m;
|
import c0.z.d.m;
|
||||||
import com.discord.models.domain.ModelAuditLogEntry;
|
|
||||||
import com.discord.simpleast.core.node.Node;
|
import com.discord.simpleast.core.node.Node;
|
||||||
import com.discord.simpleast.core.node.StyleNode;
|
import com.discord.simpleast.core.node.StyleNode;
|
||||||
import java.util.regex.Pattern;
|
import java.util.regex.Pattern;
|
||||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||||
import kotlin.text.Regex;
|
/* compiled from: Crystal.kt */
|
||||||
/* compiled from: JavaScript.kt */
|
|
||||||
public final class i {
|
public final class i {
|
||||||
public static final String[] a = {"import|export|default|package", "class|enum", "function|super|extends|implements|arguments", "var|let|const|static|get|set|new", "return|break|continue|yield|void", "if|else|for|while|do|switch|async|await|case|try|catch|finally|delete|throw|NaN|Infinity", "of|in|instanceof|typeof", "debugger|with", "true|false|null|undefined"};
|
public static final String[] a = {"true|false|nil", "module|require|include|extend|lib", "abstract|private|protected", "annotation|class|finalize|new|initialize|allocate|self|super", "union|typeof|forall|is_a?|nil?|as?|as|responds_to?|alias|type", "property|getter|setter|struct|of", "previous_def|method|fun|enum|macro", "rescue|raise|begin|end|ensure", "if|else|elsif|then|unless|until", "for|in|of|do|when|select|with", "while|break|next|yield|case", "print|puts|return"};
|
||||||
public static final String[] b = {"String|Boolean|RegExp|Number|Date|Math|JSON|Symbol|BigInt|Atomics|DataView", "Function|Promise|Generator|GeneratorFunction|AsyncFunction|AsyncGenerator|AsyncGeneratorFunction", "Array|Object|Map|Set|WeakMap|WeakSet|Int8Array|Int16Array|Int32Array|Uint8Array|Uint16Array", "Uint32Array|Uint8ClampedArray|Float32Array|Float64Array|BigInt64Array|BigUint64Array|Buffer", "ArrayBuffer|SharedArrayBuffer", "Reflect|Proxy|Intl|WebAssembly", "console|process|require|isNaN|parseInt|parseFloat|encodeURI|decodeURI|encodeURIComponent", "decodeURIComponent|this|global|globalThis|eval|isFinite|module", "setTimeout|setInterval|clearTimeout|clearInterval|setImmediate|clearImmediate", "queueMicrotask|document|window", "Error|SyntaxError|TypeError|RangeError|ReferenceError|EvalError|InternalError|URIError", "AggregateError|escape|unescape|URL|URLSearchParams|TextEncoder|TextDecoder", "AbortController|AbortSignal|EventTarget|Event|MessageChannel", "MessagePort|MessageEvent|FinalizationRegistry|WeakRef", "regeneratorRuntime"};
|
public static final String[] b = {"Nil|Bool|true|false|Void|NoReturn", "Number|BigDecimal|BigRational|BigFloat|BigInt", "Int|Int8|Int16|Int32|Int64|UInt8|UInt16|UInt32|UInt64|Float|Float32|Float64", "Char|String|Symbol|Regex", "StaticArray|Array|Set|Hash|Range|Tuple|NamedTuple|Union|BitArray", "Proc|Command|Enum|Class", "Reference|Value|Struct|Object|Pointer", "Exception|ArgumentError|KeyError|TypeCastError|IndexError|RuntimeError|NilAssertionError|InvalidBigDecimalException|NotImplementedError|OverflowError", "pointerof|sizeof|instance_sizeof|offsetof|uninitialized"};
|
||||||
|
|
||||||
/* renamed from: c reason: collision with root package name */
|
/* renamed from: c reason: collision with root package name */
|
||||||
public static final Pattern f240c = Pattern.compile("^/.*?/(?:\\w*)?", 32);
|
public static final Pattern f240c = Pattern.compile("^(#.*)");
|
||||||
public static final Pattern d = Pattern.compile("^<(.*)>");
|
public static final Pattern d = Pattern.compile("^@\\[(\\w+)(?:\\(.+\\))?]");
|
||||||
public static final Pattern e = Pattern.compile("^(?:(?://.*?(?=\\n|$))|(/\\*.*?\\*/))", 32);
|
public static final Pattern e = Pattern.compile("^\"[\\s\\S]*?(?<!\\\\)\"(?=\\W|\\s|$)");
|
||||||
public static final Pattern f = Pattern.compile("^('[\\s\\S]*?(?<!\\\\)'|\"[\\s\\S]*?(?<!\\\\)\"|`[\\s\\S]*?(?<!\\\\)`)(?=\\W|\\s|$)");
|
public static final Pattern f = Pattern.compile("^/.*?/[imx]?");
|
||||||
public static final i g = new i();
|
public static final Pattern g = Pattern.compile("^(:\"?(?:[+-/%&^|]|\\*\\*?|\\w+|(?:<(?=[<=\\s])[<=]?(?:(?<==)>)?|>(?=[>=\\s])[>=]?(?:(?<==)>)?)|\\[][?=]?|(?:!(?=[=~\\s])[=~]?|=?(?:~|==?)))(?:(?<!\\\\)\"(?=\\s|$))?)");
|
||||||
|
public static final i h = null;
|
||||||
|
|
||||||
/* compiled from: JavaScript.kt */
|
/* compiled from: Crystal.kt */
|
||||||
public static final class a<RC> extends Node.a<RC> {
|
public static final class a<RC> extends Node.a<RC> {
|
||||||
public static final Pattern a = Pattern.compile("^(var|let|const)(\\s+[a-zA-Z_$](?:[a-zA-Z0-9_$])*)", 32);
|
public static final Pattern a = Pattern.compile("^(def)( +\\w+)( *\\( *(?:@\\w+ +: +\\w*)?\\w+(?: +[:=] +.*)? *\\))?(?!.+)");
|
||||||
public static final C0045a b = new C0045a(null);
|
public static final C0045a b = new C0045a(null);
|
||||||
|
|
||||||
/* compiled from: JavaScript.kt */
|
/* compiled from: Crystal.kt */
|
||||||
/* renamed from: c.a.t.a.i$a$a reason: collision with other inner class name */
|
/* renamed from: c.a.t.a.i$a$a reason: collision with other inner class name */
|
||||||
public static final class C0045a {
|
public static final class C0045a {
|
||||||
public C0045a(DefaultConstructorMarker defaultConstructorMarker) {
|
public C0045a(DefaultConstructorMarker defaultConstructorMarker) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
/* JADX DEBUG: Can't convert new array creation: APUT found in different block: 0x0034: APUT
|
||||||
public a(String str, String str2, f<RC> fVar) {
|
|
||||||
super(new StyleNode.b(str, fVar.d), new StyleNode.b(str2, fVar.e));
|
|
||||||
m.checkNotNullParameter(str, "definition");
|
|
||||||
m.checkNotNullParameter(str2, ModelAuditLogEntry.CHANGE_KEY_NAME);
|
|
||||||
m.checkNotNullParameter(fVar, "codeStyleProviders");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* compiled from: JavaScript.kt */
|
|
||||||
public static final class b<RC> extends Node.a<RC> {
|
|
||||||
public static final Pattern a = new Regex("^(function\\*?|static|get|set|async)(\\s+[a-zA-Z_$](?:[a-zA-Z0-9_$])*?)?( *?\\(.*?\\))", c0.g0.i.DOT_MATCHES_ALL).toPattern();
|
|
||||||
public static final a b = new a(null);
|
|
||||||
|
|
||||||
/* compiled from: JavaScript.kt */
|
|
||||||
public static final class a {
|
|
||||||
public a(DefaultConstructorMarker defaultConstructorMarker) {
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* JADX DEBUG: Can't convert new array creation: APUT found in different block: 0x002a: APUT
|
|
||||||
(r0v4 com.discord.simpleast.core.node.Node[])
|
(r0v4 com.discord.simpleast.core.node.Node[])
|
||||||
(1 ??[boolean, int, float, short, byte, char])
|
(2 ??[int, float, short, byte, char])
|
||||||
(r1v1 com.discord.simpleast.core.node.StyleNode$b)
|
(r5v1 com.discord.simpleast.core.node.StyleNode$b)
|
||||||
*/
|
*/
|
||||||
/* JADX WARNING: Illegal instructions before constructor call */
|
/* JADX WARNING: Illegal instructions before constructor call */
|
||||||
public b(String str, String str2, String str3, f<RC> fVar) {
|
public a(String str, String str2, String str3, f<RC> fVar) {
|
||||||
super(r0);
|
super(r0);
|
||||||
m.checkNotNullParameter(str, "pre");
|
m.checkNotNullParameter(str, "pre");
|
||||||
m.checkNotNullParameter(str3, "params");
|
m.checkNotNullParameter(str2, "signature");
|
||||||
m.checkNotNullParameter(fVar, "codeStyleProviders");
|
m.checkNotNullParameter(fVar, "codeStyleProviders");
|
||||||
Node[] nodeArr = new Node[3];
|
Node[] nodeArr = new Node[3];
|
||||||
nodeArr[0] = new StyleNode.b(str, fVar.d);
|
nodeArr[0] = new StyleNode.b(str, fVar.d);
|
||||||
nodeArr[1] = str2 != null ? new StyleNode.b(str2, fVar.e) : null;
|
nodeArr[1] = new StyleNode.b(str2, fVar.e);
|
||||||
nodeArr[2] = new StyleNode.b(str3, fVar.h);
|
nodeArr[2] = str3 != null ? new StyleNode.b(str3, fVar.h) : null;
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* compiled from: JavaScript.kt */
|
|
||||||
public static final class c<RC> extends Node.a<RC> {
|
|
||||||
public static final Pattern a = Pattern.compile("^([{\\[,])(\\s*[a-zA-Z0-9_$]*)(:)", 32);
|
|
||||||
public static final a b = new a(null);
|
|
||||||
|
|
||||||
/* compiled from: JavaScript.kt */
|
|
||||||
public static final class a {
|
|
||||||
public a(DefaultConstructorMarker defaultConstructorMarker) {
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
||||||
public c(String str, String str2, String str3, f<RC> fVar) {
|
|
||||||
super(new StyleNode.b(str, fVar.a), new StyleNode.b(str2, fVar.e), new StyleNode.b(str3, fVar.a));
|
|
||||||
m.checkNotNullParameter(str, "prefix");
|
|
||||||
m.checkNotNullParameter(str2, "property");
|
|
||||||
m.checkNotNullParameter(str3, "suffix");
|
|
||||||
m.checkNotNullParameter(fVar, "codeStyleProviders");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package c.a.t.a;
|
package c.a.t.a;
|
||||||
|
|
||||||
import c.a.t.a.i;
|
import c.a.t.a.k;
|
||||||
import c0.z.d.m;
|
import c0.z.d.m;
|
||||||
import com.discord.simpleast.core.node.Node;
|
import com.discord.simpleast.core.node.Node;
|
||||||
import com.discord.simpleast.core.parser.ParseSpec;
|
import com.discord.simpleast.core.parser.ParseSpec;
|
||||||
|
@ -13,7 +13,7 @@ public final class j extends Rule<RC, Node<RC>, S> {
|
||||||
public final /* synthetic */ f a;
|
public final /* synthetic */ f a;
|
||||||
|
|
||||||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||||||
public j(i.b.a aVar, f fVar, Pattern pattern) {
|
public j(k.a.C0046a aVar, f fVar, Pattern pattern) {
|
||||||
super(pattern);
|
super(pattern);
|
||||||
this.a = fVar;
|
this.a = fVar;
|
||||||
}
|
}
|
||||||
|
@ -24,11 +24,10 @@ public final class j extends Rule<RC, Node<RC>, S> {
|
||||||
m.checkNotNullParameter(parser, "parser");
|
m.checkNotNullParameter(parser, "parser");
|
||||||
String group = matcher.group(1);
|
String group = matcher.group(1);
|
||||||
String group2 = matcher.group(2);
|
String group2 = matcher.group(2);
|
||||||
String group3 = matcher.group(3);
|
|
||||||
m.checkNotNull(group);
|
m.checkNotNull(group);
|
||||||
m.checkNotNull(group3);
|
m.checkNotNull(group2);
|
||||||
i.b bVar = new i.b(group, group2, group3, this.a);
|
k.a aVar = new k.a(group, group2, this.a);
|
||||||
m.checkNotNullParameter(bVar, "node");
|
m.checkNotNullParameter(aVar, "node");
|
||||||
return new ParseSpec<>(bVar, s);
|
return new ParseSpec<>(aVar, s);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,35 +1,93 @@
|
||||||
package c.a.t.a;
|
package c.a.t.a;
|
||||||
|
|
||||||
import c.a.t.a.i;
|
import c0.g0.i;
|
||||||
import c0.z.d.m;
|
import c0.z.d.m;
|
||||||
|
import com.discord.models.domain.ModelAuditLogEntry;
|
||||||
import com.discord.simpleast.core.node.Node;
|
import com.discord.simpleast.core.node.Node;
|
||||||
import com.discord.simpleast.core.parser.ParseSpec;
|
import com.discord.simpleast.core.node.StyleNode;
|
||||||
import com.discord.simpleast.core.parser.Parser;
|
|
||||||
import com.discord.simpleast.core.parser.Rule;
|
|
||||||
import java.util.regex.Matcher;
|
|
||||||
import java.util.regex.Pattern;
|
import java.util.regex.Pattern;
|
||||||
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||||
|
import kotlin.text.Regex;
|
||||||
/* compiled from: JavaScript.kt */
|
/* compiled from: JavaScript.kt */
|
||||||
public final class k extends Rule<RC, Node<RC>, S> {
|
public final class k {
|
||||||
public final /* synthetic */ f a;
|
public static final String[] a = {"import|from|export|default|package", "class|enum", "function|super|extends|implements|arguments", "var|let|const|static|get|set|new", "return|break|continue|yield|void", "if|else|for|while|do|switch|async|await|case|try|catch|finally|delete|throw|NaN|Infinity", "of|in|instanceof|typeof", "debugger|with", "true|false|null|undefined"};
|
||||||
|
public static final String[] b = {"String|Boolean|RegExp|Number|Date|Math|JSON|Symbol|BigInt|Atomics|DataView", "Function|Promise|Generator|GeneratorFunction|AsyncFunction|AsyncGenerator|AsyncGeneratorFunction", "Array|Object|Map|Set|WeakMap|WeakSet|Int8Array|Int16Array|Int32Array|Uint8Array|Uint16Array", "Uint32Array|Uint8ClampedArray|Float32Array|Float64Array|BigInt64Array|BigUint64Array|Buffer", "ArrayBuffer|SharedArrayBuffer", "Reflect|Proxy|Intl|WebAssembly", "console|process|require|isNaN|parseInt|parseFloat|encodeURI|decodeURI|encodeURIComponent", "decodeURIComponent|this|global|globalThis|eval|isFinite|module", "setTimeout|setInterval|clearTimeout|clearInterval|setImmediate|clearImmediate", "queueMicrotask|document|window", "Error|SyntaxError|TypeError|RangeError|ReferenceError|EvalError|InternalError|URIError", "AggregateError|escape|unescape|URL|URLSearchParams|TextEncoder|TextDecoder", "AbortController|AbortSignal|EventTarget|Event|MessageChannel", "MessagePort|MessageEvent|FinalizationRegistry|WeakRef", "regeneratorRuntime|performance"};
|
||||||
|
|
||||||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
/* renamed from: c reason: collision with root package name */
|
||||||
public k(i.c.a aVar, f fVar, Pattern pattern) {
|
public static final Pattern f241c = Pattern.compile("^/.+(?<!\\\\)/[dgimsuy]*");
|
||||||
super(pattern);
|
public static final Pattern d = Pattern.compile("^<.*(?<!\\\\)>");
|
||||||
this.a = fVar;
|
public static final Pattern e = Pattern.compile("^(?:(?://.*?(?=\\n|$))|(/\\*.*?\\*/))", 32);
|
||||||
|
public static final Pattern f = Pattern.compile("^('.*?(?<!\\\\)'|\".*?(?<!\\\\)\"|`[\\s\\S]*?(?<!\\\\)`)(?=\\W|\\s|$)");
|
||||||
|
public static final k g = null;
|
||||||
|
|
||||||
|
/* compiled from: JavaScript.kt */
|
||||||
|
public static final class a<RC> extends Node.a<RC> {
|
||||||
|
public static final Pattern a = Pattern.compile("^(var|let|const)(\\s+[a-zA-Z_$][a-zA-Z0-9_$]*)");
|
||||||
|
public static final C0046a b = new C0046a(null);
|
||||||
|
|
||||||
|
/* compiled from: JavaScript.kt */
|
||||||
|
/* renamed from: c.a.t.a.k$a$a reason: collision with other inner class name */
|
||||||
|
public static final class C0046a {
|
||||||
|
public C0046a(DefaultConstructorMarker defaultConstructorMarker) {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||||||
|
public a(String str, String str2, f<RC> fVar) {
|
||||||
|
super(new StyleNode.b(str, fVar.d), new StyleNode.b(str2, fVar.e));
|
||||||
|
m.checkNotNullParameter(str, "definition");
|
||||||
|
m.checkNotNullParameter(str2, ModelAuditLogEntry.CHANGE_KEY_NAME);
|
||||||
|
m.checkNotNullParameter(fVar, "codeStyleProviders");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // com.discord.simpleast.core.parser.Rule
|
/* compiled from: JavaScript.kt */
|
||||||
public ParseSpec<RC, S> parse(Matcher matcher, Parser<RC, ? super Node<RC>, S> parser, S s) {
|
public static final class b<RC> extends Node.a<RC> {
|
||||||
m.checkNotNullParameter(matcher, "matcher");
|
public static final Pattern a = new Regex("^(function\\*?|static|get|set|async)(\\s+[a-zA-Z_$][a-zA-Z0-9_$]*)?(\\s*\\(.*?\\))", i.DOT_MATCHES_ALL).toPattern();
|
||||||
m.checkNotNullParameter(parser, "parser");
|
public static final a b = new a(null);
|
||||||
String group = matcher.group(1);
|
|
||||||
String group2 = matcher.group(2);
|
/* compiled from: JavaScript.kt */
|
||||||
String group3 = matcher.group(3);
|
public static final class a {
|
||||||
m.checkNotNull(group);
|
public a(DefaultConstructorMarker defaultConstructorMarker) {
|
||||||
m.checkNotNull(group2);
|
}
|
||||||
m.checkNotNull(group3);
|
}
|
||||||
i.c cVar = new i.c(group, group2, group3, this.a);
|
|
||||||
m.checkNotNullParameter(cVar, "node");
|
/* JADX DEBUG: Can't convert new array creation: APUT found in different block: 0x002a: APUT
|
||||||
return new ParseSpec<>(cVar, s);
|
(r0v4 com.discord.simpleast.core.node.Node[])
|
||||||
|
(1 ??[boolean, int, float, short, byte, char])
|
||||||
|
(r1v1 com.discord.simpleast.core.node.StyleNode$b)
|
||||||
|
*/
|
||||||
|
/* JADX WARNING: Illegal instructions before constructor call */
|
||||||
|
public b(String str, String str2, String str3, f<RC> fVar) {
|
||||||
|
super(r0);
|
||||||
|
m.checkNotNullParameter(str, "pre");
|
||||||
|
m.checkNotNullParameter(str3, "params");
|
||||||
|
m.checkNotNullParameter(fVar, "codeStyleProviders");
|
||||||
|
Node[] nodeArr = new Node[3];
|
||||||
|
nodeArr[0] = new StyleNode.b(str, fVar.d);
|
||||||
|
nodeArr[1] = str2 != null ? new StyleNode.b(str2, fVar.e) : null;
|
||||||
|
nodeArr[2] = new StyleNode.b(str3, fVar.h);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* compiled from: JavaScript.kt */
|
||||||
|
public static final class c<RC> extends Node.a<RC> {
|
||||||
|
public static final Pattern a = Pattern.compile("^([\\{\\[\\,])(\\s*[a-zA-Z0-9_$]+)(\\s*:)");
|
||||||
|
public static final a b = new a(null);
|
||||||
|
|
||||||
|
/* compiled from: JavaScript.kt */
|
||||||
|
public static final class a {
|
||||||
|
public a(DefaultConstructorMarker defaultConstructorMarker) {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||||||
|
public c(String str, String str2, String str3, f<RC> fVar) {
|
||||||
|
super(new StyleNode.b(str, fVar.a), new StyleNode.b(str2, fVar.e), new StyleNode.b(str3, fVar.a));
|
||||||
|
m.checkNotNullParameter(str, "prefix");
|
||||||
|
m.checkNotNullParameter(str2, "property");
|
||||||
|
m.checkNotNullParameter(str3, "suffix");
|
||||||
|
m.checkNotNullParameter(fVar, "codeStyleProviders");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,32 +1,34 @@
|
||||||
package c.a.t.a;
|
package c.a.t.a;
|
||||||
|
|
||||||
import c.a.t.a.m;
|
import c.a.t.a.k;
|
||||||
|
import c0.z.d.m;
|
||||||
import com.discord.simpleast.core.node.Node;
|
import com.discord.simpleast.core.node.Node;
|
||||||
import com.discord.simpleast.core.parser.ParseSpec;
|
import com.discord.simpleast.core.parser.ParseSpec;
|
||||||
import com.discord.simpleast.core.parser.Parser;
|
import com.discord.simpleast.core.parser.Parser;
|
||||||
import com.discord.simpleast.core.parser.Rule;
|
import com.discord.simpleast.core.parser.Rule;
|
||||||
import java.util.regex.Matcher;
|
import java.util.regex.Matcher;
|
||||||
import java.util.regex.Pattern;
|
import java.util.regex.Pattern;
|
||||||
/* compiled from: Kotlin.kt */
|
/* compiled from: JavaScript.kt */
|
||||||
public final class l extends Rule<RC, Node<RC>, S> {
|
public final class l extends Rule<RC, Node<RC>, S> {
|
||||||
public final /* synthetic */ f a;
|
public final /* synthetic */ f a;
|
||||||
|
|
||||||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||||||
public l(m.a.C0046a aVar, f fVar, Pattern pattern) {
|
public l(k.b.a aVar, f fVar, Pattern pattern) {
|
||||||
super(pattern);
|
super(pattern);
|
||||||
this.a = fVar;
|
this.a = fVar;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // com.discord.simpleast.core.parser.Rule
|
@Override // com.discord.simpleast.core.parser.Rule
|
||||||
public ParseSpec<RC, S> parse(Matcher matcher, Parser<RC, ? super Node<RC>, S> parser, S s) {
|
public ParseSpec<RC, S> parse(Matcher matcher, Parser<RC, ? super Node<RC>, S> parser, S s) {
|
||||||
c0.z.d.m.checkNotNullParameter(matcher, "matcher");
|
m.checkNotNullParameter(matcher, "matcher");
|
||||||
c0.z.d.m.checkNotNullParameter(parser, "parser");
|
m.checkNotNullParameter(parser, "parser");
|
||||||
String group = matcher.group(1);
|
String group = matcher.group(1);
|
||||||
String group2 = matcher.group(2);
|
String group2 = matcher.group(2);
|
||||||
c0.z.d.m.checkNotNull(group);
|
String group3 = matcher.group(3);
|
||||||
c0.z.d.m.checkNotNull(group2);
|
m.checkNotNull(group);
|
||||||
m.a aVar = new m.a(group, group2, this.a);
|
m.checkNotNull(group3);
|
||||||
c0.z.d.m.checkNotNullParameter(aVar, "node");
|
k.b bVar = new k.b(group, group2, group3, this.a);
|
||||||
return new ParseSpec<>(aVar, s);
|
m.checkNotNullParameter(bVar, "node");
|
||||||
|
return new ParseSpec<>(bVar, s);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,72 +1,34 @@
|
||||||
package c.a.t.a;
|
package c.a.t.a;
|
||||||
|
|
||||||
import c0.g0.i;
|
import c.a.t.a.k;
|
||||||
import com.discord.models.domain.ModelAuditLogEntry;
|
|
||||||
import com.discord.simpleast.core.node.Node;
|
import com.discord.simpleast.core.node.Node;
|
||||||
import com.discord.simpleast.core.node.StyleNode;
|
import com.discord.simpleast.core.parser.ParseSpec;
|
||||||
|
import com.discord.simpleast.core.parser.Parser;
|
||||||
|
import com.discord.simpleast.core.parser.Rule;
|
||||||
|
import java.util.regex.Matcher;
|
||||||
import java.util.regex.Pattern;
|
import java.util.regex.Pattern;
|
||||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
/* compiled from: JavaScript.kt */
|
||||||
import kotlin.text.Regex;
|
public final class m extends Rule<RC, Node<RC>, S> {
|
||||||
/* compiled from: Kotlin.kt */
|
public final /* synthetic */ f a;
|
||||||
public final class m {
|
|
||||||
public static final String[] a = {"public|private|internal|inline|lateinit|abstract|open|reified", "import|package", "class|interface|data|enum|sealed|object|typealias", "fun|override|this|super|where|constructor|init|param|delegate", "const|val|var|get|final|vararg|it", "return|break|continue|suspend", "for|while|do|if|else|when|try|catch|finally|throw", "in|out|is|as|typeof", "shr|ushr|shl|ushl", "true|false|null"};
|
|
||||||
public static final String[] b = {"true|false|Boolean|String|Char", "Int|UInt|Long|ULong|Float|Double|Byte|UByte|Short|UShort", "Self|Set|Map|MutableMap|List|MutableList|Array|Runnable|Unit", "arrayOf|listOf|mapOf|setOf|let|also|apply|run"};
|
|
||||||
|
|
||||||
/* renamed from: c reason: collision with root package name */
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||||||
public static final Pattern f241c = Pattern.compile("^(?:(?://.*?(?=\\n|$))|(/\\*.*?\\*/))", 32);
|
public m(k.c.a aVar, f fVar, Pattern pattern) {
|
||||||
public static final Pattern d = Pattern.compile("^@(\\w+)");
|
super(pattern);
|
||||||
public static final Pattern e = Pattern.compile("^\"[\\s\\S]*?(?<!\\\\)\"(?=\\W|\\s|$)");
|
this.a = fVar;
|
||||||
public static final m f = null;
|
|
||||||
|
|
||||||
/* compiled from: Kotlin.kt */
|
|
||||||
public static final class a<RC> extends Node.a<RC> {
|
|
||||||
public static final Pattern a = Pattern.compile("^(val|var)(\\s+\\w+)", 32);
|
|
||||||
public static final C0046a b = new C0046a(null);
|
|
||||||
|
|
||||||
/* compiled from: Kotlin.kt */
|
|
||||||
/* renamed from: c.a.t.a.m$a$a reason: collision with other inner class name */
|
|
||||||
public static final class C0046a {
|
|
||||||
public C0046a(DefaultConstructorMarker defaultConstructorMarker) {
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
||||||
public a(String str, String str2, f<RC> fVar) {
|
|
||||||
super(new StyleNode.b(str, fVar.d), new StyleNode.b(str2, fVar.e));
|
|
||||||
c0.z.d.m.checkNotNullParameter(str, "definition");
|
|
||||||
c0.z.d.m.checkNotNullParameter(str2, ModelAuditLogEntry.CHANGE_KEY_NAME);
|
|
||||||
c0.z.d.m.checkNotNullParameter(fVar, "codeStyleProviders");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* compiled from: Kotlin.kt */
|
@Override // com.discord.simpleast.core.parser.Rule
|
||||||
public static final class b<RC> extends Node.a<RC> {
|
public ParseSpec<RC, S> parse(Matcher matcher, Parser<RC, ? super Node<RC>, S> parser, S s) {
|
||||||
public static final Pattern a = new Regex("^(fun)( *<.*>)?( \\w+)( *\\(.*?\\))", i.DOT_MATCHES_ALL).toPattern();
|
c0.z.d.m.checkNotNullParameter(matcher, "matcher");
|
||||||
public static final a b = new a(null);
|
c0.z.d.m.checkNotNullParameter(parser, "parser");
|
||||||
|
String group = matcher.group(1);
|
||||||
/* compiled from: Kotlin.kt */
|
String group2 = matcher.group(2);
|
||||||
public static final class a {
|
String group3 = matcher.group(3);
|
||||||
public a(DefaultConstructorMarker defaultConstructorMarker) {
|
c0.z.d.m.checkNotNull(group);
|
||||||
}
|
c0.z.d.m.checkNotNull(group2);
|
||||||
}
|
c0.z.d.m.checkNotNull(group3);
|
||||||
|
k.c cVar = new k.c(group, group2, group3, this.a);
|
||||||
/* JADX DEBUG: Can't convert new array creation: APUT found in different block: 0x0030: APUT
|
c0.z.d.m.checkNotNullParameter(cVar, "node");
|
||||||
(r0v5 com.discord.simpleast.core.node.Node[])
|
return new ParseSpec<>(cVar, s);
|
||||||
(1 ??[boolean, int, float, short, byte, char])
|
|
||||||
(r1v1 com.discord.simpleast.core.node.StyleNode$b)
|
|
||||||
*/
|
|
||||||
/* JADX WARNING: Illegal instructions before constructor call */
|
|
||||||
public b(String str, String str2, String str3, String str4, f<RC> fVar) {
|
|
||||||
super(r0);
|
|
||||||
c0.z.d.m.checkNotNullParameter(str, "pre");
|
|
||||||
c0.z.d.m.checkNotNullParameter(str3, "signature");
|
|
||||||
c0.z.d.m.checkNotNullParameter(str4, "params");
|
|
||||||
c0.z.d.m.checkNotNullParameter(fVar, "codeStyleProviders");
|
|
||||||
Node[] nodeArr = new Node[4];
|
|
||||||
nodeArr[0] = new StyleNode.b(str, fVar.d);
|
|
||||||
nodeArr[1] = str2 != null ? new StyleNode.b(str2, fVar.g) : null;
|
|
||||||
nodeArr[2] = new StyleNode.b(str3, fVar.e);
|
|
||||||
nodeArr[3] = new StyleNode.b(str4, fVar.h);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
package c.a.t.a;
|
package c.a.t.a;
|
||||||
|
|
||||||
import c.a.t.a.m;
|
import c.a.t.a.o;
|
||||||
|
import c0.z.d.m;
|
||||||
import com.discord.simpleast.core.node.Node;
|
import com.discord.simpleast.core.node.Node;
|
||||||
import com.discord.simpleast.core.parser.ParseSpec;
|
import com.discord.simpleast.core.parser.ParseSpec;
|
||||||
import com.discord.simpleast.core.parser.Parser;
|
import com.discord.simpleast.core.parser.Parser;
|
||||||
|
@ -12,24 +13,21 @@ public final class n extends Rule<RC, Node<RC>, S> {
|
||||||
public final /* synthetic */ f a;
|
public final /* synthetic */ f a;
|
||||||
|
|
||||||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||||||
public n(m.b.a aVar, f fVar, Pattern pattern) {
|
public n(o.a.C0047a aVar, f fVar, Pattern pattern) {
|
||||||
super(pattern);
|
super(pattern);
|
||||||
this.a = fVar;
|
this.a = fVar;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // com.discord.simpleast.core.parser.Rule
|
@Override // com.discord.simpleast.core.parser.Rule
|
||||||
public ParseSpec<RC, S> parse(Matcher matcher, Parser<RC, ? super Node<RC>, S> parser, S s) {
|
public ParseSpec<RC, S> parse(Matcher matcher, Parser<RC, ? super Node<RC>, S> parser, S s) {
|
||||||
c0.z.d.m.checkNotNullParameter(matcher, "matcher");
|
m.checkNotNullParameter(matcher, "matcher");
|
||||||
c0.z.d.m.checkNotNullParameter(parser, "parser");
|
m.checkNotNullParameter(parser, "parser");
|
||||||
String group = matcher.group(1);
|
String group = matcher.group(1);
|
||||||
String group2 = matcher.group(2);
|
String group2 = matcher.group(2);
|
||||||
String group3 = matcher.group(3);
|
m.checkNotNull(group);
|
||||||
String group4 = matcher.group(4);
|
m.checkNotNull(group2);
|
||||||
c0.z.d.m.checkNotNull(group);
|
o.a aVar = new o.a(group, group2, this.a);
|
||||||
c0.z.d.m.checkNotNull(group3);
|
m.checkNotNullParameter(aVar, "node");
|
||||||
c0.z.d.m.checkNotNull(group4);
|
return new ParseSpec<>(aVar, s);
|
||||||
m.b bVar = new m.b(group, group2, group3, group4, this.a);
|
|
||||||
c0.z.d.m.checkNotNullParameter(bVar, "node");
|
|
||||||
return new ParseSpec<>(bVar, s);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,130 +1,73 @@
|
||||||
package c.a.t.a;
|
package c.a.t.a;
|
||||||
|
|
||||||
import android.text.SpannableStringBuilder;
|
import c0.g0.i;
|
||||||
import c0.z.d.k;
|
|
||||||
import c0.z.d.m;
|
import c0.z.d.m;
|
||||||
|
import com.discord.models.domain.ModelAuditLogEntry;
|
||||||
import com.discord.simpleast.core.node.Node;
|
import com.discord.simpleast.core.node.Node;
|
||||||
import com.discord.simpleast.core.node.StyleNode;
|
import com.discord.simpleast.core.node.StyleNode;
|
||||||
import java.util.Iterator;
|
|
||||||
import java.util.Objects;
|
|
||||||
import java.util.regex.Pattern;
|
import java.util.regex.Pattern;
|
||||||
import kotlin.Pair;
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||||
import kotlin.jvm.functions.Function1;
|
import kotlin.text.Regex;
|
||||||
/* compiled from: Xml.kt */
|
/* compiled from: Kotlin.kt */
|
||||||
public final class o {
|
public final class o {
|
||||||
public static final Pattern a;
|
public static final String[] a = {"public|private|internal|inline|lateinit|abstract|open|reified", "import|package", "class|interface|data|enum|sealed|object|typealias", "fun|override|this|super|where|constructor|init|param|delegate", "const|val|var|get|final|vararg|it", "return|break|continue|suspend", "for|while|do|if|else|when|try|catch|finally|throw", "in|out|is|as|typeof", "shr|ushr|shl|ushl", "true|false|null"};
|
||||||
public static final Pattern b;
|
public static final String[] b = {"true|false|Boolean|String|Char", "Int|UInt|Long|ULong|Float|Double|Byte|UByte|Short|UShort", "Self|Set|Map|MutableMap|List|MutableList|Array|Runnable|Unit", "arrayOf|listOf|mapOf|setOf|let|also|apply|run"};
|
||||||
|
|
||||||
/* renamed from: c reason: collision with root package name */
|
/* renamed from: c reason: collision with root package name */
|
||||||
public static final o f242c = new o();
|
public static final Pattern f242c = Pattern.compile("^(?:(?://.*?(?=\\n|$))|(/\\*.*?\\*/))", 32);
|
||||||
|
public static final Pattern d = Pattern.compile("^@(\\w+)");
|
||||||
|
public static final Pattern e = Pattern.compile("^\"[\\s\\S]*?(?<!\\\\)\"(?=\\W|\\s|$)");
|
||||||
|
public static final o f = null;
|
||||||
|
|
||||||
/* compiled from: Xml.kt */
|
/* compiled from: Kotlin.kt */
|
||||||
public static final class a<RC> extends Node.a<RC> {
|
public static final class a<RC> extends Node.a<RC> {
|
||||||
public final String a;
|
public static final Pattern a = Pattern.compile("^(val|var)(\\s+\\w+)", 32);
|
||||||
public final String b;
|
public static final C0047a b = new C0047a(null);
|
||||||
|
|
||||||
/* renamed from: c reason: collision with root package name */
|
/* compiled from: Kotlin.kt */
|
||||||
public final f<RC> f243c;
|
|
||||||
|
|
||||||
/* compiled from: Xml.kt */
|
|
||||||
/* renamed from: c.a.t.a.o$a$a reason: collision with other inner class name */
|
/* renamed from: c.a.t.a.o$a$a reason: collision with other inner class name */
|
||||||
public static final /* synthetic */ class C0047a extends k implements Function1<RC, Iterable<?>> {
|
public static final class C0047a {
|
||||||
public C0047a(StyleNode.a aVar) {
|
public C0047a(DefaultConstructorMarker defaultConstructorMarker) {
|
||||||
super(1, aVar, StyleNode.a.class, "get", "get(Ljava/lang/Object;)Ljava/lang/Iterable;", 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Return type fixed from 'java.lang.Object' to match base method */
|
|
||||||
@Override // kotlin.jvm.functions.Function1
|
|
||||||
public Iterable<?> invoke(Object obj) {
|
|
||||||
return ((StyleNode.a) this.receiver).get(obj);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||||||
public a(String str, String str2, f<RC> fVar) {
|
public a(String str, String str2, f<RC> fVar) {
|
||||||
super(new Node[0]);
|
super(new StyleNode.b(str, fVar.d), new StyleNode.b(str2, fVar.e));
|
||||||
m.checkNotNullParameter(str, "opening");
|
m.checkNotNullParameter(str, "definition");
|
||||||
|
m.checkNotNullParameter(str2, ModelAuditLogEntry.CHANGE_KEY_NAME);
|
||||||
m.checkNotNullParameter(fVar, "codeStyleProviders");
|
m.checkNotNullParameter(fVar, "codeStyleProviders");
|
||||||
this.a = str;
|
|
||||||
this.b = str2;
|
|
||||||
this.f243c = fVar;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override // com.discord.simpleast.core.node.Node.a, com.discord.simpleast.core.node.Node
|
|
||||||
public void render(SpannableStringBuilder spannableStringBuilder, RC rc) {
|
|
||||||
Pair pair;
|
|
||||||
m.checkNotNullParameter(spannableStringBuilder, "builder");
|
|
||||||
String str = this.a;
|
|
||||||
int length = str.length();
|
|
||||||
boolean z2 = false;
|
|
||||||
int i = 0;
|
|
||||||
while (true) {
|
|
||||||
if (i >= length) {
|
|
||||||
i = -1;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
char charAt = str.charAt(i);
|
|
||||||
if (c0.g0.a.isWhitespace(charAt) || charAt == '/') {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
i++;
|
|
||||||
}
|
|
||||||
if (i != -1) {
|
|
||||||
String str2 = this.a;
|
|
||||||
Objects.requireNonNull(str2, "null cannot be cast to non-null type java.lang.String");
|
|
||||||
String substring = str2.substring(0, i);
|
|
||||||
m.checkNotNullExpressionValue(substring, "(this as java.lang.Strin…ing(startIndex, endIndex)");
|
|
||||||
String str3 = this.a;
|
|
||||||
Objects.requireNonNull(str3, "null cannot be cast to non-null type java.lang.String");
|
|
||||||
String substring2 = str3.substring(i);
|
|
||||||
m.checkNotNullExpressionValue(substring2, "(this as java.lang.String).substring(startIndex)");
|
|
||||||
pair = c0.o.to(substring, substring2);
|
|
||||||
} else {
|
|
||||||
pair = c0.o.to(this.a, "");
|
|
||||||
}
|
|
||||||
String str4 = (String) pair.component2();
|
|
||||||
C0047a aVar = new C0047a(this.f243c.g);
|
|
||||||
int length2 = spannableStringBuilder.length();
|
|
||||||
spannableStringBuilder.append((CharSequence) ('<' + ((String) pair.component1())));
|
|
||||||
Iterator<?> it = aVar.invoke(rc).iterator();
|
|
||||||
while (it.hasNext()) {
|
|
||||||
spannableStringBuilder.setSpan(it.next(), length2, spannableStringBuilder.length(), 33);
|
|
||||||
}
|
|
||||||
int length3 = spannableStringBuilder.length();
|
|
||||||
spannableStringBuilder.append((CharSequence) (str4 + '>'));
|
|
||||||
Iterator<?> it2 = this.f243c.h.get(rc).iterator();
|
|
||||||
while (it2.hasNext()) {
|
|
||||||
spannableStringBuilder.setSpan(it2.next(), length3, spannableStringBuilder.length() - 1, 33);
|
|
||||||
}
|
|
||||||
Iterator<?> it3 = aVar.invoke(rc).iterator();
|
|
||||||
while (it3.hasNext()) {
|
|
||||||
spannableStringBuilder.setSpan(it3.next(), spannableStringBuilder.length() - 1, spannableStringBuilder.length(), 33);
|
|
||||||
}
|
|
||||||
super.render(spannableStringBuilder, rc);
|
|
||||||
String str5 = this.b;
|
|
||||||
if (str5 == null || str5.length() == 0) {
|
|
||||||
z2 = true;
|
|
||||||
}
|
|
||||||
if (!z2) {
|
|
||||||
int length4 = spannableStringBuilder.length();
|
|
||||||
StringBuilder O = c.d.b.a.a.O("</");
|
|
||||||
O.append(this.b);
|
|
||||||
O.append('>');
|
|
||||||
spannableStringBuilder.append((CharSequence) O.toString());
|
|
||||||
Iterator<?> it4 = aVar.invoke(rc).iterator();
|
|
||||||
while (it4.hasNext()) {
|
|
||||||
spannableStringBuilder.setSpan(it4.next(), length4 + 1, spannableStringBuilder.length(), 33);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static {
|
/* compiled from: Kotlin.kt */
|
||||||
Pattern compile = Pattern.compile("^<!--[\\s\\S]*?-->", 32);
|
public static final class b<RC> extends Node.a<RC> {
|
||||||
m.checkNotNullExpressionValue(compile, "Pattern.compile(\"\"\"^<!--…*?-->\"\"\", Pattern.DOTALL)");
|
public static final Pattern a = new Regex("^(fun)( *<.*>)?( \\w+)( *\\(.*?\\))", i.DOT_MATCHES_ALL).toPattern();
|
||||||
a = compile;
|
public static final a b = new a(null);
|
||||||
Pattern compile2 = Pattern.compile("^<([\\s\\S]+?)(?:>(.*?)<\\/([\\s\\S]+?))?>", 32);
|
|
||||||
m.checkNotNullExpressionValue(compile2, "Pattern.compile(\n \"…?))?>\"\"\", Pattern.DOTALL)");
|
/* compiled from: Kotlin.kt */
|
||||||
b = compile2;
|
public static final class a {
|
||||||
|
public a(DefaultConstructorMarker defaultConstructorMarker) {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* JADX DEBUG: Can't convert new array creation: APUT found in different block: 0x0030: APUT
|
||||||
|
(r0v5 com.discord.simpleast.core.node.Node[])
|
||||||
|
(1 ??[boolean, int, float, short, byte, char])
|
||||||
|
(r1v1 com.discord.simpleast.core.node.StyleNode$b)
|
||||||
|
*/
|
||||||
|
/* JADX WARNING: Illegal instructions before constructor call */
|
||||||
|
public b(String str, String str2, String str3, String str4, f<RC> fVar) {
|
||||||
|
super(r0);
|
||||||
|
m.checkNotNullParameter(str, "pre");
|
||||||
|
m.checkNotNullParameter(str3, "signature");
|
||||||
|
m.checkNotNullParameter(str4, "params");
|
||||||
|
m.checkNotNullParameter(fVar, "codeStyleProviders");
|
||||||
|
Node[] nodeArr = new Node[4];
|
||||||
|
nodeArr[0] = new StyleNode.b(str, fVar.d);
|
||||||
|
nodeArr[1] = str2 != null ? new StyleNode.b(str2, fVar.g) : null;
|
||||||
|
nodeArr[2] = new StyleNode.b(str3, fVar.e);
|
||||||
|
nodeArr[3] = new StyleNode.b(str4, fVar.h);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,12 +8,12 @@ import com.discord.simpleast.core.parser.Parser;
|
||||||
import com.discord.simpleast.core.parser.Rule;
|
import com.discord.simpleast.core.parser.Rule;
|
||||||
import java.util.regex.Matcher;
|
import java.util.regex.Matcher;
|
||||||
import java.util.regex.Pattern;
|
import java.util.regex.Pattern;
|
||||||
/* compiled from: Xml.kt */
|
/* compiled from: Kotlin.kt */
|
||||||
public final class p extends Rule<RC, Node<RC>, S> {
|
public final class p extends Rule<RC, Node<RC>, S> {
|
||||||
public final /* synthetic */ f a;
|
public final /* synthetic */ f a;
|
||||||
|
|
||||||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||||||
public p(o oVar, f fVar, Pattern pattern) {
|
public p(o.b.a aVar, f fVar, Pattern pattern) {
|
||||||
super(pattern);
|
super(pattern);
|
||||||
this.a = fVar;
|
this.a = fVar;
|
||||||
}
|
}
|
||||||
|
@ -23,17 +23,14 @@ public final class p extends Rule<RC, Node<RC>, S> {
|
||||||
m.checkNotNullParameter(matcher, "matcher");
|
m.checkNotNullParameter(matcher, "matcher");
|
||||||
m.checkNotNullParameter(parser, "parser");
|
m.checkNotNullParameter(parser, "parser");
|
||||||
String group = matcher.group(1);
|
String group = matcher.group(1);
|
||||||
|
String group2 = matcher.group(2);
|
||||||
|
String group3 = matcher.group(3);
|
||||||
|
String group4 = matcher.group(4);
|
||||||
m.checkNotNull(group);
|
m.checkNotNull(group);
|
||||||
String group2 = matcher.group(3);
|
m.checkNotNull(group3);
|
||||||
if (matcher.group(2) != null) {
|
m.checkNotNull(group4);
|
||||||
o.a aVar = new o.a(group, group2, this.a);
|
o.b bVar = new o.b(group, group2, group3, group4, this.a);
|
||||||
int start = matcher.start(2);
|
m.checkNotNullParameter(bVar, "node");
|
||||||
int end = matcher.end(2);
|
return new ParseSpec<>(bVar, s);
|
||||||
m.checkNotNullParameter(aVar, "node");
|
|
||||||
return new ParseSpec<>(aVar, s, start, end);
|
|
||||||
}
|
|
||||||
o.a aVar2 = new o.a(group, group2, this.a);
|
|
||||||
m.checkNotNullParameter(aVar2, "node");
|
|
||||||
return new ParseSpec<>(aVar2, s);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
131
app/src/main/java/c/a/t/a/q.java
Normal file
131
app/src/main/java/c/a/t/a/q.java
Normal file
|
@ -0,0 +1,131 @@
|
||||||
|
package c.a.t.a;
|
||||||
|
|
||||||
|
import android.text.SpannableStringBuilder;
|
||||||
|
import c0.o;
|
||||||
|
import c0.z.d.k;
|
||||||
|
import c0.z.d.m;
|
||||||
|
import com.discord.simpleast.core.node.Node;
|
||||||
|
import com.discord.simpleast.core.node.StyleNode;
|
||||||
|
import java.util.Iterator;
|
||||||
|
import java.util.Objects;
|
||||||
|
import java.util.regex.Pattern;
|
||||||
|
import kotlin.Pair;
|
||||||
|
import kotlin.jvm.functions.Function1;
|
||||||
|
/* compiled from: Xml.kt */
|
||||||
|
public final class q {
|
||||||
|
public static final Pattern a;
|
||||||
|
public static final Pattern b;
|
||||||
|
|
||||||
|
/* renamed from: c reason: collision with root package name */
|
||||||
|
public static final q f243c = new q();
|
||||||
|
|
||||||
|
/* compiled from: Xml.kt */
|
||||||
|
public static final class a<RC> extends Node.a<RC> {
|
||||||
|
public final String a;
|
||||||
|
public final String b;
|
||||||
|
|
||||||
|
/* renamed from: c reason: collision with root package name */
|
||||||
|
public final f<RC> f244c;
|
||||||
|
|
||||||
|
/* compiled from: Xml.kt */
|
||||||
|
/* renamed from: c.a.t.a.q$a$a reason: collision with other inner class name */
|
||||||
|
public static final /* synthetic */ class C0048a extends k implements Function1<RC, Iterable<?>> {
|
||||||
|
public C0048a(StyleNode.a aVar) {
|
||||||
|
super(1, aVar, StyleNode.a.class, "get", "get(Ljava/lang/Object;)Ljava/lang/Iterable;", 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Return type fixed from 'java.lang.Object' to match base method */
|
||||||
|
@Override // kotlin.jvm.functions.Function1
|
||||||
|
public Iterable<?> invoke(Object obj) {
|
||||||
|
return ((StyleNode.a) this.receiver).get(obj);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||||||
|
public a(String str, String str2, f<RC> fVar) {
|
||||||
|
super(new Node[0]);
|
||||||
|
m.checkNotNullParameter(str, "opening");
|
||||||
|
m.checkNotNullParameter(fVar, "codeStyleProviders");
|
||||||
|
this.a = str;
|
||||||
|
this.b = str2;
|
||||||
|
this.f244c = fVar;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override // com.discord.simpleast.core.node.Node.a, com.discord.simpleast.core.node.Node
|
||||||
|
public void render(SpannableStringBuilder spannableStringBuilder, RC rc) {
|
||||||
|
Pair pair;
|
||||||
|
m.checkNotNullParameter(spannableStringBuilder, "builder");
|
||||||
|
String str = this.a;
|
||||||
|
int length = str.length();
|
||||||
|
boolean z2 = false;
|
||||||
|
int i = 0;
|
||||||
|
while (true) {
|
||||||
|
if (i >= length) {
|
||||||
|
i = -1;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
char charAt = str.charAt(i);
|
||||||
|
if (c0.g0.a.isWhitespace(charAt) || charAt == '/') {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
i++;
|
||||||
|
}
|
||||||
|
if (i != -1) {
|
||||||
|
String str2 = this.a;
|
||||||
|
Objects.requireNonNull(str2, "null cannot be cast to non-null type java.lang.String");
|
||||||
|
String substring = str2.substring(0, i);
|
||||||
|
m.checkNotNullExpressionValue(substring, "(this as java.lang.Strin…ing(startIndex, endIndex)");
|
||||||
|
String str3 = this.a;
|
||||||
|
Objects.requireNonNull(str3, "null cannot be cast to non-null type java.lang.String");
|
||||||
|
String substring2 = str3.substring(i);
|
||||||
|
m.checkNotNullExpressionValue(substring2, "(this as java.lang.String).substring(startIndex)");
|
||||||
|
pair = o.to(substring, substring2);
|
||||||
|
} else {
|
||||||
|
pair = o.to(this.a, "");
|
||||||
|
}
|
||||||
|
String str4 = (String) pair.component2();
|
||||||
|
C0048a aVar = new C0048a(this.f244c.g);
|
||||||
|
int length2 = spannableStringBuilder.length();
|
||||||
|
spannableStringBuilder.append((CharSequence) ('<' + ((String) pair.component1())));
|
||||||
|
Iterator<?> it = aVar.invoke(rc).iterator();
|
||||||
|
while (it.hasNext()) {
|
||||||
|
spannableStringBuilder.setSpan(it.next(), length2, spannableStringBuilder.length(), 33);
|
||||||
|
}
|
||||||
|
int length3 = spannableStringBuilder.length();
|
||||||
|
spannableStringBuilder.append((CharSequence) (str4 + '>'));
|
||||||
|
Iterator<?> it2 = this.f244c.h.get(rc).iterator();
|
||||||
|
while (it2.hasNext()) {
|
||||||
|
spannableStringBuilder.setSpan(it2.next(), length3, spannableStringBuilder.length() - 1, 33);
|
||||||
|
}
|
||||||
|
Iterator<?> it3 = aVar.invoke(rc).iterator();
|
||||||
|
while (it3.hasNext()) {
|
||||||
|
spannableStringBuilder.setSpan(it3.next(), spannableStringBuilder.length() - 1, spannableStringBuilder.length(), 33);
|
||||||
|
}
|
||||||
|
super.render(spannableStringBuilder, rc);
|
||||||
|
String str5 = this.b;
|
||||||
|
if (str5 == null || str5.length() == 0) {
|
||||||
|
z2 = true;
|
||||||
|
}
|
||||||
|
if (!z2) {
|
||||||
|
int length4 = spannableStringBuilder.length();
|
||||||
|
StringBuilder O = c.d.b.a.a.O("</");
|
||||||
|
O.append(this.b);
|
||||||
|
O.append('>');
|
||||||
|
spannableStringBuilder.append((CharSequence) O.toString());
|
||||||
|
Iterator<?> it4 = aVar.invoke(rc).iterator();
|
||||||
|
while (it4.hasNext()) {
|
||||||
|
spannableStringBuilder.setSpan(it4.next(), length4 + 1, spannableStringBuilder.length(), 33);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
static {
|
||||||
|
Pattern compile = Pattern.compile("^<!--[\\s\\S]*?-->", 32);
|
||||||
|
m.checkNotNullExpressionValue(compile, "Pattern.compile(\"\"\"^<!--…*?-->\"\"\", Pattern.DOTALL)");
|
||||||
|
a = compile;
|
||||||
|
Pattern compile2 = Pattern.compile("^<([\\s\\S]+?)(?:>(.*?)<\\/([\\s\\S]+?))?>", 32);
|
||||||
|
m.checkNotNullExpressionValue(compile2, "Pattern.compile(\n \"…?))?>\"\"\", Pattern.DOTALL)");
|
||||||
|
b = compile2;
|
||||||
|
}
|
||||||
|
}
|
39
app/src/main/java/c/a/t/a/r.java
Normal file
39
app/src/main/java/c/a/t/a/r.java
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
package c.a.t.a;
|
||||||
|
|
||||||
|
import c.a.t.a.q;
|
||||||
|
import c0.z.d.m;
|
||||||
|
import com.discord.simpleast.core.node.Node;
|
||||||
|
import com.discord.simpleast.core.parser.ParseSpec;
|
||||||
|
import com.discord.simpleast.core.parser.Parser;
|
||||||
|
import com.discord.simpleast.core.parser.Rule;
|
||||||
|
import java.util.regex.Matcher;
|
||||||
|
import java.util.regex.Pattern;
|
||||||
|
/* compiled from: Xml.kt */
|
||||||
|
public final class r extends Rule<RC, Node<RC>, S> {
|
||||||
|
public final /* synthetic */ f a;
|
||||||
|
|
||||||
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||||||
|
public r(q qVar, f fVar, Pattern pattern) {
|
||||||
|
super(pattern);
|
||||||
|
this.a = fVar;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override // com.discord.simpleast.core.parser.Rule
|
||||||
|
public ParseSpec<RC, S> parse(Matcher matcher, Parser<RC, ? super Node<RC>, S> parser, S s) {
|
||||||
|
m.checkNotNullParameter(matcher, "matcher");
|
||||||
|
m.checkNotNullParameter(parser, "parser");
|
||||||
|
String group = matcher.group(1);
|
||||||
|
m.checkNotNull(group);
|
||||||
|
String group2 = matcher.group(3);
|
||||||
|
if (matcher.group(2) != null) {
|
||||||
|
q.a aVar = new q.a(group, group2, this.a);
|
||||||
|
int start = matcher.start(2);
|
||||||
|
int end = matcher.end(2);
|
||||||
|
m.checkNotNullParameter(aVar, "node");
|
||||||
|
return new ParseSpec<>(aVar, s, start, end);
|
||||||
|
}
|
||||||
|
q.a aVar2 = new q.a(group, group2, this.a);
|
||||||
|
m.checkNotNullParameter(aVar2, "node");
|
||||||
|
return new ParseSpec<>(aVar2, s);
|
||||||
|
}
|
||||||
|
}
|
|
@ -18,7 +18,7 @@ public final class e {
|
||||||
public static final Pattern b = Pattern.compile("^__([\\s\\S]+?)__(?!_)");
|
public static final Pattern b = Pattern.compile("^__([\\s\\S]+?)__(?!_)");
|
||||||
|
|
||||||
/* renamed from: c reason: collision with root package name */
|
/* renamed from: c reason: collision with root package name */
|
||||||
public static final Pattern f244c = Pattern.compile("^~~(?=\\S)([\\s\\S]*?\\S)~~");
|
public static final Pattern f245c = Pattern.compile("^~~(?=\\S)([\\s\\S]*?\\S)~~");
|
||||||
public static final Pattern d = Pattern.compile("^(?:\\n *)*\\n");
|
public static final Pattern d = Pattern.compile("^(?:\\n *)*\\n");
|
||||||
public static final Pattern e = Pattern.compile("^[\\s\\S]+?(?=[^0-9A-Za-z\\s\\u00c0-\\uffff]|\\n| {2,}\\n|\\w+:\\S|$)");
|
public static final Pattern e = Pattern.compile("^[\\s\\S]+?(?=[^0-9A-Za-z\\s\\u00c0-\\uffff]|\\n| {2,}\\n|\\w+:\\S|$)");
|
||||||
public static final Pattern f = Pattern.compile("^\\\\([^0-9A-Za-z\\s])");
|
public static final Pattern f = Pattern.compile("^\\\\([^0-9A-Za-z\\s])");
|
||||||
|
@ -86,7 +86,7 @@ public final class e {
|
||||||
Pattern pattern5 = g;
|
Pattern pattern5 = g;
|
||||||
m.checkNotNullExpressionValue(pattern5, "PATTERN_ITALICS");
|
m.checkNotNullExpressionValue(pattern5, "PATTERN_ITALICS");
|
||||||
arrayList.add(new c(eVar2, pattern5));
|
arrayList.add(new c(eVar2, pattern5));
|
||||||
Pattern pattern6 = f244c;
|
Pattern pattern6 = f245c;
|
||||||
m.checkNotNullExpressionValue(pattern6, "PATTERN_STRIKETHRU");
|
m.checkNotNullExpressionValue(pattern6, "PATTERN_STRIKETHRU");
|
||||||
arrayList.add(c(pattern6, f.i));
|
arrayList.add(c(pattern6, f.i));
|
||||||
if (z2) {
|
if (z2) {
|
||||||
|
|
|
@ -26,18 +26,18 @@ public final class a {
|
||||||
public static final Pattern b;
|
public static final Pattern b;
|
||||||
|
|
||||||
/* renamed from: c reason: collision with root package name */
|
/* renamed from: c reason: collision with root package name */
|
||||||
public static final Pattern f245c;
|
public static final Pattern f246c;
|
||||||
public static final Pattern d = new Regex("^\\s*(?:(?:(.+)(?: +\\{([\\w ]*)\\}))|(.*))[ \\t]*\\n *([=\\-]){3,}[ \\t]*(?=\\n|$)").toPattern();
|
public static final Pattern d = new Regex("^\\s*(?:(?:(.+)(?: +\\{([\\w ]*)\\}))|(.*))[ \\t]*\\n *([=\\-]){3,}[ \\t]*(?=\\n|$)").toPattern();
|
||||||
public static final a e = new a();
|
public static final a e = new a();
|
||||||
|
|
||||||
/* compiled from: MarkdownRules.kt */
|
/* compiled from: MarkdownRules.kt */
|
||||||
/* renamed from: c.a.t.c.a$a reason: collision with other inner class name */
|
/* renamed from: c.a.t.c.a$a reason: collision with other inner class name */
|
||||||
public static class C0048a<RC, T, S> extends b<RC, S> {
|
public static class C0049a<RC, T, S> extends b<RC, S> {
|
||||||
private final Function1<String, T> classSpanProvider;
|
private final Function1<String, T> classSpanProvider;
|
||||||
private final List<Rule<RC, Node<RC>, S>> innerRules;
|
private final List<Rule<RC, Node<RC>, S>> innerRules;
|
||||||
|
|
||||||
/* JADX INFO: this call moved to the top of the method (can break code semantics) */
|
/* JADX INFO: this call moved to the top of the method (can break code semantics) */
|
||||||
public C0048a(Function1<? super Integer, ? extends CharacterStyle> function1, Function1<? super String, ? extends T> function12) {
|
public C0049a(Function1<? super Integer, ? extends CharacterStyle> function1, Function1<? super String, ? extends T> function12) {
|
||||||
this(function1, function12, u.plus((Collection<? extends Rule>) e.b(false, false, 2), e.h.d()));
|
this(function1, function12, u.plus((Collection<? extends Rule>) e.b(false, false, 2), e.h.d()));
|
||||||
m.checkNotNullParameter(function1, "styleSpanProvider");
|
m.checkNotNullParameter(function1, "styleSpanProvider");
|
||||||
m.checkNotNullParameter(function12, "classSpanProvider");
|
m.checkNotNullParameter(function12, "classSpanProvider");
|
||||||
|
@ -47,7 +47,7 @@ public final class a {
|
||||||
/* JADX DEBUG: Multi-variable search result rejected for r4v0, resolved type: java.util.List<? extends com.discord.simpleast.core.parser.Rule<RC, com.discord.simpleast.core.node.Node<RC>, S>> */
|
/* JADX DEBUG: Multi-variable search result rejected for r4v0, resolved type: java.util.List<? extends com.discord.simpleast.core.parser.Rule<RC, com.discord.simpleast.core.node.Node<RC>, S>> */
|
||||||
/* JADX WARN: Multi-variable type inference failed */
|
/* JADX WARN: Multi-variable type inference failed */
|
||||||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||||||
public C0048a(Function1<? super Integer, ? extends CharacterStyle> function1, Function1<? super String, ? extends T> function12, List<? extends Rule<RC, Node<RC>, S>> list) {
|
public C0049a(Function1<? super Integer, ? extends CharacterStyle> function1, Function1<? super String, ? extends T> function12, List<? extends Rule<RC, Node<RC>, S>> list) {
|
||||||
super(a.d, function1);
|
super(a.d, function1);
|
||||||
m.checkNotNullParameter(function1, "styleSpanProvider");
|
m.checkNotNullParameter(function1, "styleSpanProvider");
|
||||||
m.checkNotNullParameter(function12, "classSpanProvider");
|
m.checkNotNullParameter(function12, "classSpanProvider");
|
||||||
|
@ -120,7 +120,7 @@ public final class a {
|
||||||
this(pattern, function1);
|
this(pattern, function1);
|
||||||
if ((i & 1) != 0) {
|
if ((i & 1) != 0) {
|
||||||
a aVar = a.e;
|
a aVar = a.e;
|
||||||
pattern = a.f245c;
|
pattern = a.f246c;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -189,6 +189,6 @@ public final class a {
|
||||||
b = compile2;
|
b = compile2;
|
||||||
Pattern compile3 = Pattern.compile("^\\s*(.+)\\n *(=|-){3,} *(?=\\n|$)", 0);
|
Pattern compile3 = Pattern.compile("^\\s*(.+)\\n *(=|-){3,} *(?=\\n|$)", 0);
|
||||||
m.checkNotNullExpressionValue(compile3, "java.util.regex.Pattern.compile(this, flags)");
|
m.checkNotNullExpressionValue(compile3, "java.util.regex.Pattern.compile(this, flags)");
|
||||||
f245c = compile3;
|
f246c = compile3;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,11 +10,11 @@ public final class a {
|
||||||
|
|
||||||
/* compiled from: TypeTokens.kt */
|
/* compiled from: TypeTokens.kt */
|
||||||
/* renamed from: c.a.w.a$a reason: collision with other inner class name */
|
/* renamed from: c.a.w.a$a reason: collision with other inner class name */
|
||||||
public static final class C0049a extends TypeToken<List<? extends String>> {
|
public static final class C0050a extends TypeToken<List<? extends String>> {
|
||||||
}
|
}
|
||||||
|
|
||||||
static {
|
static {
|
||||||
Type type = new C0049a().getType();
|
Type type = new C0050a().getType();
|
||||||
m.checkNotNullExpressionValue(type, "object : TypeToken<List<String>>() {}.type");
|
m.checkNotNullExpressionValue(type, "object : TypeToken<List<String>>() {}.type");
|
||||||
a = type;
|
a = type;
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,10 +44,10 @@ public final class b0 extends AppBottomSheet implements i {
|
||||||
|
|
||||||
/* compiled from: SelectorBottomSheet.kt */
|
/* compiled from: SelectorBottomSheet.kt */
|
||||||
/* renamed from: c.a.y.b0$a$a reason: collision with other inner class name */
|
/* renamed from: c.a.y.b0$a$a reason: collision with other inner class name */
|
||||||
public static final class C0050a extends o implements Function1<Integer, Unit> {
|
public static final class C0051a extends o implements Function1<Integer, Unit> {
|
||||||
public static final C0050a i = new C0050a();
|
public static final C0051a i = new C0051a();
|
||||||
|
|
||||||
public C0050a() {
|
public C0051a() {
|
||||||
super(1);
|
super(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -68,7 +68,7 @@ public final class b0 extends AppBottomSheet implements i {
|
||||||
public static /* synthetic */ b0 b(a aVar, FragmentManager fragmentManager, String str, List list, boolean z2, Function1 function1, int i) {
|
public static /* synthetic */ b0 b(a aVar, FragmentManager fragmentManager, String str, List list, boolean z2, Function1 function1, int i) {
|
||||||
boolean z3 = (i & 8) != 0 ? true : z2;
|
boolean z3 = (i & 8) != 0 ? true : z2;
|
||||||
if ((i & 16) != 0) {
|
if ((i & 16) != 0) {
|
||||||
function1 = C0050a.i;
|
function1 = C0051a.i;
|
||||||
}
|
}
|
||||||
return aVar.a(fragmentManager, str, list, z3, function1);
|
return aVar.a(fragmentManager, str, list, z3, function1);
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,7 @@ public final class e0 extends SimpleRecyclerAdapter.ViewHolder<c0> {
|
||||||
public final DialogInterface b;
|
public final DialogInterface b;
|
||||||
|
|
||||||
/* renamed from: c reason: collision with root package name */
|
/* renamed from: c reason: collision with root package name */
|
||||||
public final d f246c;
|
public final d f247c;
|
||||||
|
|
||||||
/* JADX WARNING: Illegal instructions before constructor call */
|
/* JADX WARNING: Illegal instructions before constructor call */
|
||||||
public e0(i iVar, DialogInterface dialogInterface, d dVar) {
|
public e0(i iVar, DialogInterface dialogInterface, d dVar) {
|
||||||
|
@ -33,7 +33,7 @@ public final class e0 extends SimpleRecyclerAdapter.ViewHolder<c0> {
|
||||||
m.checkNotNullExpressionValue(constraintLayout, "itemBinding.root");
|
m.checkNotNullExpressionValue(constraintLayout, "itemBinding.root");
|
||||||
this.a = iVar;
|
this.a = iVar;
|
||||||
this.b = dialogInterface;
|
this.b = dialogInterface;
|
||||||
this.f246c = dVar;
|
this.f247c = dVar;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
|
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
|
||||||
|
@ -43,13 +43,13 @@ public final class e0 extends SimpleRecyclerAdapter.ViewHolder<c0> {
|
||||||
Drawable drawable;
|
Drawable drawable;
|
||||||
c0 c0Var2 = c0Var;
|
c0 c0Var2 = c0Var;
|
||||||
m.checkNotNullParameter(c0Var2, "data");
|
m.checkNotNullParameter(c0Var2, "data");
|
||||||
MaterialTextView materialTextView = this.f246c.d;
|
MaterialTextView materialTextView = this.f247c.d;
|
||||||
m.checkNotNullExpressionValue(materialTextView, "itemBinding.selectComponentSheetItemTitle");
|
m.checkNotNullExpressionValue(materialTextView, "itemBinding.selectComponentSheetItemTitle");
|
||||||
b.a(materialTextView, c0Var2.e());
|
b.a(materialTextView, c0Var2.e());
|
||||||
MaterialTextView materialTextView2 = this.f246c.b;
|
MaterialTextView materialTextView2 = this.f247c.b;
|
||||||
m.checkNotNullExpressionValue(materialTextView2, "itemBinding.selectComponentSheetItemDescription");
|
m.checkNotNullExpressionValue(materialTextView2, "itemBinding.selectComponentSheetItemDescription");
|
||||||
ViewExtensions.setTextAndVisibilityBy(materialTextView2, c0Var2.a());
|
ViewExtensions.setTextAndVisibilityBy(materialTextView2, c0Var2.a());
|
||||||
SimpleDraweeView simpleDraweeView = this.f246c.f81c;
|
SimpleDraweeView simpleDraweeView = this.f247c.f81c;
|
||||||
m.checkNotNullExpressionValue(simpleDraweeView, "itemBinding.selectComponentSheetItemIcon");
|
m.checkNotNullExpressionValue(simpleDraweeView, "itemBinding.selectComponentSheetItemIcon");
|
||||||
int i2 = 0;
|
int i2 = 0;
|
||||||
if (!((c0Var2.d() == null && c0Var2.b() == null) ? false : true)) {
|
if (!((c0Var2.d() == null && c0Var2.b() == null) ? false : true)) {
|
||||||
|
@ -58,20 +58,20 @@ public final class e0 extends SimpleRecyclerAdapter.ViewHolder<c0> {
|
||||||
simpleDraweeView.setVisibility(i2);
|
simpleDraweeView.setVisibility(i2);
|
||||||
String d = c0Var2.d();
|
String d = c0Var2.d();
|
||||||
if (d != null) {
|
if (d != null) {
|
||||||
SimpleDraweeView simpleDraweeView2 = this.f246c.f81c;
|
SimpleDraweeView simpleDraweeView2 = this.f247c.f81c;
|
||||||
m.checkNotNullExpressionValue(simpleDraweeView2, "itemBinding.selectComponentSheetItemIcon");
|
m.checkNotNullExpressionValue(simpleDraweeView2, "itemBinding.selectComponentSheetItemIcon");
|
||||||
MGImages.setImage$default(simpleDraweeView2, d, R.dimen.emoji_size, R.dimen.emoji_size, true, null, null, 96, null);
|
MGImages.setImage$default(simpleDraweeView2, d, R.dimen.emoji_size, R.dimen.emoji_size, true, null, null, 96, null);
|
||||||
} else {
|
} else {
|
||||||
Integer b = c0Var2.b();
|
Integer b = c0Var2.b();
|
||||||
if (b != null) {
|
if (b != null) {
|
||||||
this.f246c.f81c.setImageResource(b.intValue());
|
this.f247c.f81c.setImageResource(b.intValue());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Integer c2 = c0Var2.c();
|
Integer c2 = c0Var2.c();
|
||||||
if (c2 != null) {
|
if (c2 != null) {
|
||||||
this.f246c.f81c.setColorFilter(c2.intValue());
|
this.f247c.f81c.setColorFilter(c2.intValue());
|
||||||
}
|
}
|
||||||
MaterialTextView materialTextView3 = this.f246c.d;
|
MaterialTextView materialTextView3 = this.f247c.d;
|
||||||
materialTextView3.setText(c0Var2.e());
|
materialTextView3.setText(c0Var2.e());
|
||||||
Integer g = c0Var2.g();
|
Integer g = c0Var2.g();
|
||||||
if (g != null) {
|
if (g != null) {
|
||||||
|
@ -86,16 +86,16 @@ public final class e0 extends SimpleRecyclerAdapter.ViewHolder<c0> {
|
||||||
f.intValue();
|
f.intValue();
|
||||||
Drawable drawable2 = ContextCompat.getDrawable(materialTextView3.getContext(), c0Var2.f().intValue());
|
Drawable drawable2 = ContextCompat.getDrawable(materialTextView3.getContext(), c0Var2.f().intValue());
|
||||||
if (drawable2 != null) {
|
if (drawable2 != null) {
|
||||||
MaterialTextView materialTextView4 = this.f246c.d;
|
MaterialTextView materialTextView4 = this.f247c.d;
|
||||||
m.checkNotNullExpressionValue(materialTextView4, "itemBinding.selectComponentSheetItemTitle");
|
m.checkNotNullExpressionValue(materialTextView4, "itemBinding.selectComponentSheetItemTitle");
|
||||||
DrawableCompat.setTint(drawable2, ColorCompat.getThemedColor(materialTextView4, (int) R.attr.colorHeaderPrimary));
|
DrawableCompat.setTint(drawable2, ColorCompat.getThemedColor(materialTextView4, (int) R.attr.colorHeaderPrimary));
|
||||||
drawable = drawable2;
|
drawable = drawable2;
|
||||||
com.discord.utilities.drawable.DrawableCompat.setCompoundDrawablesCompat$default(materialTextView3, (Drawable) null, (Drawable) null, drawable, (Drawable) null, 11, (Object) null);
|
com.discord.utilities.drawable.DrawableCompat.setCompoundDrawablesCompat$default(materialTextView3, (Drawable) null, (Drawable) null, drawable, (Drawable) null, 11, (Object) null);
|
||||||
this.f246c.a.setOnClickListener(new d0(this));
|
this.f247c.a.setOnClickListener(new d0(this));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
drawable = null;
|
drawable = null;
|
||||||
com.discord.utilities.drawable.DrawableCompat.setCompoundDrawablesCompat$default(materialTextView3, (Drawable) null, (Drawable) null, drawable, (Drawable) null, 11, (Object) null);
|
com.discord.utilities.drawable.DrawableCompat.setCompoundDrawablesCompat$default(materialTextView3, (Drawable) null, (Drawable) null, drawable, (Drawable) null, 11, (Object) null);
|
||||||
this.f246c.a.setOnClickListener(new d0(this));
|
this.f247c.a.setOnClickListener(new d0(this));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,7 +19,7 @@ public final class f extends DividerItemDecoration {
|
||||||
public final int b;
|
public final int b;
|
||||||
|
|
||||||
/* renamed from: c reason: collision with root package name */
|
/* renamed from: c reason: collision with root package name */
|
||||||
public final int f247c;
|
public final int f248c;
|
||||||
|
|
||||||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||||||
public f(Context context, int i, int i2, int i3, int i4, int i5) {
|
public f(Context context, int i, int i2, int i3, int i4, int i5) {
|
||||||
|
@ -30,7 +30,7 @@ public final class f extends DividerItemDecoration {
|
||||||
m.checkNotNullParameter(context, "context");
|
m.checkNotNullParameter(context, "context");
|
||||||
this.a = i2;
|
this.a = i2;
|
||||||
this.b = i3;
|
this.b = i3;
|
||||||
this.f247c = i4;
|
this.f248c = i4;
|
||||||
Drawable drawable = ContextCompat.getDrawable(context, R.drawable.drawable_divider);
|
Drawable drawable = ContextCompat.getDrawable(context, R.drawable.drawable_divider);
|
||||||
if (drawable != null) {
|
if (drawable != null) {
|
||||||
Drawable wrap = DrawableCompat.wrap(drawable);
|
Drawable wrap = DrawableCompat.wrap(drawable);
|
||||||
|
@ -45,7 +45,7 @@ public final class f extends DividerItemDecoration {
|
||||||
m.checkNotNullParameter(recyclerView, "parent");
|
m.checkNotNullParameter(recyclerView, "parent");
|
||||||
m.checkNotNullParameter(state, "state");
|
m.checkNotNullParameter(state, "state");
|
||||||
int paddingLeft = recyclerView.getPaddingLeft() + this.b;
|
int paddingLeft = recyclerView.getPaddingLeft() + this.b;
|
||||||
int width = (recyclerView.getWidth() - recyclerView.getPaddingRight()) - this.f247c;
|
int width = (recyclerView.getWidth() - recyclerView.getPaddingRight()) - this.f248c;
|
||||||
Drawable drawable = getDrawable();
|
Drawable drawable = getDrawable();
|
||||||
int childCount = recyclerView.getChildCount();
|
int childCount = recyclerView.getChildCount();
|
||||||
for (int i = 0; i < childCount; i++) {
|
for (int i = 0; i < childCount; i++) {
|
||||||
|
|
|
@ -18,6 +18,6 @@ public final class h0 extends o implements Function0<Boolean> {
|
||||||
/* renamed from: invoke */
|
/* renamed from: invoke */
|
||||||
public Boolean mo17invoke() {
|
public Boolean mo17invoke() {
|
||||||
VoiceUserView voiceUserView = this.this$0;
|
VoiceUserView voiceUserView = this.this$0;
|
||||||
return Boolean.valueOf(voiceUserView.l == VoiceUserView.a.RINGING && voiceUserView.f2618r);
|
return Boolean.valueOf(voiceUserView.l == VoiceUserView.a.RINGING && voiceUserView.f2621r);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,12 +12,12 @@ public final class e implements RendererCommon.RendererEvents {
|
||||||
public final int b;
|
public final int b;
|
||||||
|
|
||||||
/* renamed from: c reason: collision with root package name */
|
/* renamed from: c reason: collision with root package name */
|
||||||
public final int f248c;
|
public final int f249c;
|
||||||
|
|
||||||
public a(int i, int i2, int i3) {
|
public a(int i, int i2, int i3) {
|
||||||
this.a = i;
|
this.a = i;
|
||||||
this.b = i2;
|
this.b = i2;
|
||||||
this.f248c = i3;
|
this.f249c = i3;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean equals(Object obj) {
|
public boolean equals(Object obj) {
|
||||||
|
@ -28,11 +28,11 @@ public final class e implements RendererCommon.RendererEvents {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
a aVar = (a) obj;
|
a aVar = (a) obj;
|
||||||
return this.a == aVar.a && this.b == aVar.b && this.f248c == aVar.f248c;
|
return this.a == aVar.a && this.b == aVar.b && this.f249c == aVar.f249c;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
return (((this.a * 31) + this.b) * 31) + this.f248c;
|
return (((this.a * 31) + this.b) * 31) + this.f249c;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -41,7 +41,7 @@ public final class e implements RendererCommon.RendererEvents {
|
||||||
O.append(", height=");
|
O.append(", height=");
|
||||||
O.append(this.b);
|
O.append(this.b);
|
||||||
O.append(", rotation=");
|
O.append(", rotation=");
|
||||||
return c.d.b.a.a.z(O, this.f248c, ")");
|
return c.d.b.a.a.z(O, this.f249c, ")");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ public final class f<T, R> implements b<e.a, Point> {
|
||||||
if (aVar2 == null) {
|
if (aVar2 == null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
int i2 = aVar2.f248c;
|
int i2 = aVar2.f249c;
|
||||||
return (i2 == -180 || i2 == 0 || i2 == 180) ? new Point(aVar2.a, aVar2.b) : new Point(aVar2.b, aVar2.a);
|
return (i2 == -180 || i2 == 0 || i2 == 180) ? new Point(aVar2.a, aVar2.b) : new Point(aVar2.b, aVar2.a);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,10 +16,10 @@ import rx.subjects.Subject;
|
||||||
public abstract class l extends OverlayDialog implements AppComponent {
|
public abstract class l extends OverlayDialog implements AppComponent {
|
||||||
|
|
||||||
/* renamed from: w reason: collision with root package name */
|
/* renamed from: w reason: collision with root package name */
|
||||||
public final Subject<Void, Void> f249w;
|
public final Subject<Void, Void> f250w;
|
||||||
|
|
||||||
/* renamed from: x reason: collision with root package name */
|
/* renamed from: x reason: collision with root package name */
|
||||||
public Function1<? super OverlayDialog, Unit> f250x = m.i;
|
public Function1<? super OverlayDialog, Unit> f251x = m.i;
|
||||||
|
|
||||||
/* compiled from: Animator.kt */
|
/* compiled from: Animator.kt */
|
||||||
public static final class a implements Animator.AnimatorListener {
|
public static final class a implements Animator.AnimatorListener {
|
||||||
|
@ -75,7 +75,7 @@ public abstract class l extends OverlayDialog implements AppComponent {
|
||||||
m.checkNotNullParameter(context, "context");
|
m.checkNotNullParameter(context, "context");
|
||||||
PublishSubject k0 = PublishSubject.k0();
|
PublishSubject k0 = PublishSubject.k0();
|
||||||
m.checkNotNullExpressionValue(k0, "PublishSubject.create()");
|
m.checkNotNullExpressionValue(k0, "PublishSubject.create()");
|
||||||
this.f249w = k0;
|
this.f250w = k0;
|
||||||
setOnClickListener(new k(this));
|
setOnClickListener(new k(this));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -83,7 +83,7 @@ public abstract class l extends OverlayDialog implements AppComponent {
|
||||||
getUnsubscribeSignal().onNext(null);
|
getUnsubscribeSignal().onNext(null);
|
||||||
Log.i(getClass().getSimpleName(), "closing");
|
Log.i(getClass().getSimpleName(), "closing");
|
||||||
if (!ViewCompat.isAttachedToWindow(this)) {
|
if (!ViewCompat.isAttachedToWindow(this)) {
|
||||||
this.f250x.invoke(this);
|
this.f251x.invoke(this);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Animator closingAnimator = getClosingAnimator();
|
Animator closingAnimator = getClosingAnimator();
|
||||||
|
@ -96,12 +96,12 @@ public abstract class l extends OverlayDialog implements AppComponent {
|
||||||
|
|
||||||
/* JADX DEBUG: Type inference failed for r0v0. Raw type applied. Possible types: kotlin.jvm.functions.Function1<? super com.discord.overlay.views.OverlayDialog, kotlin.Unit>, kotlin.jvm.functions.Function1<com.discord.overlay.views.OverlayDialog, kotlin.Unit> */
|
/* JADX DEBUG: Type inference failed for r0v0. Raw type applied. Possible types: kotlin.jvm.functions.Function1<? super com.discord.overlay.views.OverlayDialog, kotlin.Unit>, kotlin.jvm.functions.Function1<com.discord.overlay.views.OverlayDialog, kotlin.Unit> */
|
||||||
public final Function1<OverlayDialog, Unit> getOnDialogClosed() {
|
public final Function1<OverlayDialog, Unit> getOnDialogClosed() {
|
||||||
return this.f250x;
|
return this.f251x;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // com.discord.app.AppComponent
|
@Override // com.discord.app.AppComponent
|
||||||
public Subject<Void, Void> getUnsubscribeSignal() {
|
public Subject<Void, Void> getUnsubscribeSignal() {
|
||||||
return this.f249w;
|
return this.f250w;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // android.view.View, android.view.ViewGroup
|
@Override // android.view.View, android.view.ViewGroup
|
||||||
|
@ -112,6 +112,6 @@ public abstract class l extends OverlayDialog implements AppComponent {
|
||||||
|
|
||||||
public final void setOnDialogClosed(Function1<? super OverlayDialog, Unit> function1) {
|
public final void setOnDialogClosed(Function1<? super OverlayDialog, Unit> function1) {
|
||||||
m.checkNotNullParameter(function1, "<set-?>");
|
m.checkNotNullParameter(function1, "<set-?>");
|
||||||
this.f250x = function1;
|
this.f251x = function1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,6 +21,6 @@ public final class a implements View.OnClickListener {
|
||||||
if (!(googlePlayInAppSku == null || (function1 = giftSelectView.j) == null)) {
|
if (!(googlePlayInAppSku == null || (function1 = giftSelectView.j) == null)) {
|
||||||
function1.invoke(googlePlayInAppSku);
|
function1.invoke(googlePlayInAppSku);
|
||||||
}
|
}
|
||||||
giftSelectView.i.f2202c.setOnClickListener(null);
|
giftSelectView.i.f2204c.setOnClickListener(null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,7 +32,7 @@ public final class o<T, R> implements b<Map<Long, ? extends StoreVoiceParticipan
|
||||||
for (T t : values) {
|
for (T t : values) {
|
||||||
T t2 = t;
|
T t2 = t;
|
||||||
if (t2.isConnected()) {
|
if (t2.isConnected()) {
|
||||||
if (ChannelUtils.y(this.i)) {
|
if (ChannelUtils.z(this.i)) {
|
||||||
VoiceState voiceState = t2.getVoiceState();
|
VoiceState voiceState = t2.getVoiceState();
|
||||||
}
|
}
|
||||||
z2 = true;
|
z2 = true;
|
||||||
|
|
|
@ -28,13 +28,13 @@ import rx.subjects.Subject;
|
||||||
public final class w extends OverlayBubbleWrap implements AppComponent {
|
public final class w extends OverlayBubbleWrap implements AppComponent {
|
||||||
|
|
||||||
/* renamed from: w reason: collision with root package name */
|
/* renamed from: w reason: collision with root package name */
|
||||||
public static final /* synthetic */ int f251w = 0;
|
public static final /* synthetic */ int f252w = 0;
|
||||||
|
|
||||||
/* renamed from: x reason: collision with root package name */
|
/* renamed from: x reason: collision with root package name */
|
||||||
public final s0 f252x;
|
public final s0 f253x;
|
||||||
|
|
||||||
/* renamed from: y reason: collision with root package name */
|
/* renamed from: y reason: collision with root package name */
|
||||||
public final Subject<Void, Void> f253y;
|
public final Subject<Void, Void> f254y;
|
||||||
|
|
||||||
/* compiled from: OverlayVoiceBubble.kt */
|
/* compiled from: OverlayVoiceBubble.kt */
|
||||||
public static final class a<T, R> implements i0.k.b<Long, Observable<? extends StoreVoiceParticipants.VoiceUser>> {
|
public static final class a<T, R> implements i0.k.b<Long, Observable<? extends StoreVoiceParticipants.VoiceUser>> {
|
||||||
|
@ -70,7 +70,7 @@ public final class w extends OverlayBubbleWrap implements AppComponent {
|
||||||
public Unit invoke(StoreVoiceParticipants.VoiceUser voiceUser) {
|
public Unit invoke(StoreVoiceParticipants.VoiceUser voiceUser) {
|
||||||
StoreVoiceParticipants.VoiceUser voiceUser2 = voiceUser;
|
StoreVoiceParticipants.VoiceUser voiceUser2 = voiceUser;
|
||||||
w wVar = this.this$0;
|
w wVar = this.this$0;
|
||||||
int i = w.f251w;
|
int i = w.f252w;
|
||||||
if (voiceUser2 == null) {
|
if (voiceUser2 == null) {
|
||||||
wVar.h();
|
wVar.h();
|
||||||
} else {
|
} else {
|
||||||
|
@ -91,10 +91,10 @@ public final class w extends OverlayBubbleWrap implements AppComponent {
|
||||||
SimpleDraweeView simpleDraweeView = (SimpleDraweeView) inflate;
|
SimpleDraweeView simpleDraweeView = (SimpleDraweeView) inflate;
|
||||||
s0 s0Var = new s0(simpleDraweeView, simpleDraweeView);
|
s0 s0Var = new s0(simpleDraweeView, simpleDraweeView);
|
||||||
m.checkNotNullExpressionValue(s0Var, "OverlayVoiceBubbleBindin…rom(context), this, true)");
|
m.checkNotNullExpressionValue(s0Var, "OverlayVoiceBubbleBindin…rom(context), this, true)");
|
||||||
this.f252x = s0Var;
|
this.f253x = s0Var;
|
||||||
PublishSubject k0 = PublishSubject.k0();
|
PublishSubject k0 = PublishSubject.k0();
|
||||||
m.checkNotNullExpressionValue(k0, "PublishSubject.create()");
|
m.checkNotNullExpressionValue(k0, "PublishSubject.create()");
|
||||||
this.f253y = k0;
|
this.f254y = k0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // com.discord.overlay.views.OverlayBubbleWrap
|
@Override // com.discord.overlay.views.OverlayBubbleWrap
|
||||||
|
@ -115,14 +115,14 @@ public final class w extends OverlayBubbleWrap implements AppComponent {
|
||||||
}
|
}
|
||||||
|
|
||||||
public final SimpleDraweeView getImageView$app_productionGoogleRelease() {
|
public final SimpleDraweeView getImageView$app_productionGoogleRelease() {
|
||||||
SimpleDraweeView simpleDraweeView = this.f252x.b;
|
SimpleDraweeView simpleDraweeView = this.f253x.b;
|
||||||
m.checkNotNullExpressionValue(simpleDraweeView, "binding.overlayBubbleIv");
|
m.checkNotNullExpressionValue(simpleDraweeView, "binding.overlayBubbleIv");
|
||||||
return simpleDraweeView;
|
return simpleDraweeView;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // com.discord.app.AppComponent
|
@Override // com.discord.app.AppComponent
|
||||||
public Subject<Void, Void> getUnsubscribeSignal() {
|
public Subject<Void, Void> getUnsubscribeSignal() {
|
||||||
return this.f253y;
|
return this.f254y;
|
||||||
}
|
}
|
||||||
|
|
||||||
public final void h() {
|
public final void h() {
|
||||||
|
|
|
@ -25,7 +25,7 @@ public final class x extends o implements Function2<List<? extends WidgetGlobalS
|
||||||
m.checkNotNullParameter(list, "<anonymous parameter 0>");
|
m.checkNotNullParameter(list, "<anonymous parameter 0>");
|
||||||
m.checkNotNullParameter(list2, "<anonymous parameter 1>");
|
m.checkNotNullParameter(list2, "<anonymous parameter 1>");
|
||||||
if (!m.areEqual(this.this$0.B, this.$searchModel$inlined.getFilter())) {
|
if (!m.areEqual(this.this$0.B, this.$searchModel$inlined.getFilter())) {
|
||||||
this.this$0.f254y.f.scrollToPosition(0);
|
this.this$0.f255y.f.scrollToPosition(0);
|
||||||
this.this$0.B = this.$searchModel$inlined.getFilter();
|
this.this$0.B = this.$searchModel$inlined.getFilter();
|
||||||
}
|
}
|
||||||
return Unit.a;
|
return Unit.a;
|
||||||
|
|
|
@ -37,10 +37,10 @@ public final class z extends l implements AppComponent {
|
||||||
public String B;
|
public String B;
|
||||||
|
|
||||||
/* renamed from: y reason: collision with root package name */
|
/* renamed from: y reason: collision with root package name */
|
||||||
public t0 f254y;
|
public t0 f255y;
|
||||||
|
|
||||||
/* renamed from: z reason: collision with root package name */
|
/* renamed from: z reason: collision with root package name */
|
||||||
public final WidgetGlobalSearchAdapter f255z;
|
public final WidgetGlobalSearchAdapter f256z;
|
||||||
|
|
||||||
/* compiled from: OverlayVoiceSelectorBubbleDialog.kt */
|
/* compiled from: OverlayVoiceSelectorBubbleDialog.kt */
|
||||||
public static final class a implements View.OnClickListener {
|
public static final class a implements View.OnClickListener {
|
||||||
|
@ -106,23 +106,23 @@ public final class z extends l implements AppComponent {
|
||||||
WidgetGlobalSearchModel widgetGlobalSearchModel2 = widgetGlobalSearchModel;
|
WidgetGlobalSearchModel widgetGlobalSearchModel2 = widgetGlobalSearchModel;
|
||||||
m.checkNotNullParameter(widgetGlobalSearchModel2, "it");
|
m.checkNotNullParameter(widgetGlobalSearchModel2, "it");
|
||||||
z zVar = this.this$0;
|
z zVar = this.this$0;
|
||||||
TextView textView = zVar.f254y.d;
|
TextView textView = zVar.f255y.d;
|
||||||
m.checkNotNullExpressionValue(textView, "binding.emptyResults");
|
m.checkNotNullExpressionValue(textView, "binding.emptyResults");
|
||||||
int i = 8;
|
int i = 8;
|
||||||
textView.setVisibility(widgetGlobalSearchModel2.getData().isEmpty() ? 0 : 8);
|
textView.setVisibility(widgetGlobalSearchModel2.getData().isEmpty() ? 0 : 8);
|
||||||
RecyclerView recyclerView = zVar.f254y.f;
|
RecyclerView recyclerView = zVar.f255y.f;
|
||||||
m.checkNotNullExpressionValue(recyclerView, "binding.resultsRv");
|
m.checkNotNullExpressionValue(recyclerView, "binding.resultsRv");
|
||||||
if (!widgetGlobalSearchModel2.getData().isEmpty()) {
|
if (!widgetGlobalSearchModel2.getData().isEmpty()) {
|
||||||
i = 0;
|
i = 0;
|
||||||
}
|
}
|
||||||
recyclerView.setVisibility(i);
|
recyclerView.setVisibility(i);
|
||||||
WidgetGlobalSearchAdapter widgetGlobalSearchAdapter = zVar.f255z;
|
WidgetGlobalSearchAdapter widgetGlobalSearchAdapter = zVar.f256z;
|
||||||
widgetGlobalSearchAdapter.setOnUpdated(new x(zVar, widgetGlobalSearchModel2));
|
widgetGlobalSearchAdapter.setOnUpdated(new x(zVar, widgetGlobalSearchModel2));
|
||||||
List<WidgetGlobalSearchModel.ItemDataPayload> data = widgetGlobalSearchModel2.getData();
|
List<WidgetGlobalSearchModel.ItemDataPayload> data = widgetGlobalSearchModel2.getData();
|
||||||
ArrayList arrayList = new ArrayList();
|
ArrayList arrayList = new ArrayList();
|
||||||
for (Object obj : data) {
|
for (Object obj : data) {
|
||||||
Channel channel = ((WidgetGlobalSearchModel.ItemDataPayload) obj).getChannel();
|
Channel channel = ((WidgetGlobalSearchModel.ItemDataPayload) obj).getChannel();
|
||||||
if (channel != null && ChannelUtils.D(channel)) {
|
if (channel != null && ChannelUtils.E(channel)) {
|
||||||
arrayList.add(obj);
|
arrayList.add(obj);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -139,40 +139,40 @@ public final class z extends l implements AppComponent {
|
||||||
getWindowLayoutParams().flags &= -9;
|
getWindowLayoutParams().flags &= -9;
|
||||||
t0 a2 = t0.a(LayoutInflater.from(getContext()), this, true);
|
t0 a2 = t0.a(LayoutInflater.from(getContext()), this, true);
|
||||||
m.checkNotNullExpressionValue(a2, "OverlayVoiceChannelSelec…rom(context), this, true)");
|
m.checkNotNullExpressionValue(a2, "OverlayVoiceChannelSelec…rom(context), this, true)");
|
||||||
this.f254y = a2;
|
this.f255y = a2;
|
||||||
RecyclerView recyclerView = this.f254y.f;
|
RecyclerView recyclerView = this.f255y.f;
|
||||||
m.checkNotNullExpressionValue(recyclerView, "binding.resultsRv");
|
m.checkNotNullExpressionValue(recyclerView, "binding.resultsRv");
|
||||||
this.f255z = new WidgetGlobalSearchAdapter(recyclerView);
|
this.f256z = new WidgetGlobalSearchAdapter(recyclerView);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // c.a.y.l
|
@Override // c.a.y.l
|
||||||
public Animator getClosingAnimator() {
|
public Animator getClosingAnimator() {
|
||||||
Animator loadAnimator = AnimatorInflater.loadAnimator(getContext(), R.animator.overlay_slide_down_fade_out);
|
Animator loadAnimator = AnimatorInflater.loadAnimator(getContext(), R.animator.overlay_slide_down_fade_out);
|
||||||
loadAnimator.setTarget(this.f254y.f163c);
|
loadAnimator.setTarget(this.f255y.f163c);
|
||||||
m.checkNotNullExpressionValue(loadAnimator, "AnimatorInflater.loadAni…binding.dialogCard)\n }");
|
m.checkNotNullExpressionValue(loadAnimator, "AnimatorInflater.loadAni…binding.dialogCard)\n }");
|
||||||
return loadAnimator;
|
return loadAnimator;
|
||||||
}
|
}
|
||||||
|
|
||||||
public final void h() {
|
public final void h() {
|
||||||
this.f254y.b.setOnClickListener(new a(this));
|
this.f255y.b.setOnClickListener(new a(this));
|
||||||
TextInputLayout textInputLayout = this.f254y.e;
|
TextInputLayout textInputLayout = this.f255y.e;
|
||||||
m.checkNotNullExpressionValue(textInputLayout, "binding.overlayChannelSearch");
|
m.checkNotNullExpressionValue(textInputLayout, "binding.overlayChannelSearch");
|
||||||
ViewExtensions.setText(textInputLayout, this.B);
|
ViewExtensions.setText(textInputLayout, this.B);
|
||||||
TextInputLayout textInputLayout2 = this.f254y.e;
|
TextInputLayout textInputLayout2 = this.f255y.e;
|
||||||
m.checkNotNullExpressionValue(textInputLayout2, "binding.overlayChannelSearch");
|
m.checkNotNullExpressionValue(textInputLayout2, "binding.overlayChannelSearch");
|
||||||
EditText editText = textInputLayout2.getEditText();
|
EditText editText = textInputLayout2.getEditText();
|
||||||
if (editText != null) {
|
if (editText != null) {
|
||||||
editText.addTextChangedListener(new TextWatcher(null, null, new b(this), 3, null));
|
editText.addTextChangedListener(new TextWatcher(null, null, new b(this), 3, null));
|
||||||
}
|
}
|
||||||
WidgetGlobalSearchAdapter widgetGlobalSearchAdapter = this.f255z;
|
WidgetGlobalSearchAdapter widgetGlobalSearchAdapter = this.f256z;
|
||||||
RecyclerView recyclerView = this.f254y.f;
|
RecyclerView recyclerView = this.f255y.f;
|
||||||
m.checkNotNullExpressionValue(recyclerView, "binding.resultsRv");
|
m.checkNotNullExpressionValue(recyclerView, "binding.resultsRv");
|
||||||
widgetGlobalSearchAdapter.setRecycler(recyclerView);
|
widgetGlobalSearchAdapter.setRecycler(recyclerView);
|
||||||
MGRecyclerAdapter.Companion.configure(this.f255z);
|
MGRecyclerAdapter.Companion.configure(this.f256z);
|
||||||
WidgetGlobalSearchModel.Companion companion = WidgetGlobalSearchModel.Companion;
|
WidgetGlobalSearchModel.Companion companion = WidgetGlobalSearchModel.Companion;
|
||||||
Observable<String> F = this.A.F(c.i);
|
Observable<String> F = this.A.F(c.i);
|
||||||
m.checkNotNullExpressionValue(F, "filterPublisher.map { \"!$it\" }");
|
m.checkNotNullExpressionValue(F, "filterPublisher.map { \"!$it\" }");
|
||||||
ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui(companion.getForNav(F), this, this.f255z), z.class, (Context) null, (Function1) null, (Function1) null, (Function0) null, (Function0) null, new d(this), 62, (Object) null);
|
ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui(companion.getForNav(F), this, this.f256z), z.class, (Context) null, (Function1) null, (Function1) null, (Function0) null, (Function0) null, new d(this), 62, (Object) null);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // android.view.View, android.view.ViewGroup
|
@Override // android.view.View, android.view.ViewGroup
|
||||||
|
@ -180,7 +180,7 @@ public final class z extends l implements AppComponent {
|
||||||
super.onAttachedToWindow();
|
super.onAttachedToWindow();
|
||||||
h();
|
h();
|
||||||
Animator loadAnimator = AnimatorInflater.loadAnimator(getContext(), R.animator.overlay_slide_up_fade_in);
|
Animator loadAnimator = AnimatorInflater.loadAnimator(getContext(), R.animator.overlay_slide_up_fade_in);
|
||||||
loadAnimator.setTarget(this.f254y.f163c);
|
loadAnimator.setTarget(this.f255y.f163c);
|
||||||
loadAnimator.start();
|
loadAnimator.start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -191,7 +191,7 @@ public final class z extends l implements AppComponent {
|
||||||
removeAllViewsInLayout();
|
removeAllViewsInLayout();
|
||||||
t0 a2 = t0.a(LayoutInflater.from(getContext()), this, true);
|
t0 a2 = t0.a(LayoutInflater.from(getContext()), this, true);
|
||||||
m.checkNotNullExpressionValue(a2, "OverlayVoiceChannelSelec…rom(context), this, true)");
|
m.checkNotNullExpressionValue(a2, "OverlayVoiceChannelSelec…rom(context), this, true)");
|
||||||
this.f254y = a2;
|
this.f255y = a2;
|
||||||
h();
|
h();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -66,11 +66,11 @@ public class a extends AppCompatDialogFragment {
|
||||||
|
|
||||||
/* compiled from: java-style lambda group */
|
/* compiled from: java-style lambda group */
|
||||||
/* renamed from: c.b.a.a.a$a reason: collision with other inner class name */
|
/* renamed from: c.b.a.a.a$a reason: collision with other inner class name */
|
||||||
public static final class View$OnClickListenerC0051a implements View.OnClickListener {
|
public static final class View$OnClickListenerC0052a implements View.OnClickListener {
|
||||||
public final /* synthetic */ int i;
|
public final /* synthetic */ int i;
|
||||||
public final /* synthetic */ Object j;
|
public final /* synthetic */ Object j;
|
||||||
|
|
||||||
public View$OnClickListenerC0051a(int i, Object obj) {
|
public View$OnClickListenerC0052a(int i, Object obj) {
|
||||||
this.i = i;
|
this.i = i;
|
||||||
this.j = obj;
|
this.j = obj;
|
||||||
}
|
}
|
||||||
|
@ -98,7 +98,7 @@ public class a extends AppCompatDialogFragment {
|
||||||
}
|
}
|
||||||
} else if (i == 2) {
|
} else if (i == 2) {
|
||||||
FlexInputFragment flexInputFragment = (FlexInputFragment) ((Fragment) this.j);
|
FlexInputFragment flexInputFragment = (FlexInputFragment) ((Fragment) this.j);
|
||||||
FlexInputViewModel flexInputViewModel = flexInputFragment.f2922r;
|
FlexInputViewModel flexInputViewModel = flexInputFragment.f2925r;
|
||||||
if (flexInputViewModel != null) {
|
if (flexInputViewModel != null) {
|
||||||
flexInputViewModel.onSendButtonClicked(flexInputFragment.n);
|
flexInputViewModel.onSendButtonClicked(flexInputFragment.n);
|
||||||
}
|
}
|
||||||
|
@ -395,14 +395,14 @@ public class a extends AppCompatDialogFragment {
|
||||||
m.checkNotNullParameter(layoutInflater, "inflater");
|
m.checkNotNullParameter(layoutInflater, "inflater");
|
||||||
View inflate = layoutInflater.inflate(R.f.dialog_add_content_pager_with_fab, viewGroup, false);
|
View inflate = layoutInflater.inflate(R.f.dialog_add_content_pager_with_fab, viewGroup, false);
|
||||||
if (inflate != null) {
|
if (inflate != null) {
|
||||||
inflate.setOnClickListener(new View$OnClickListenerC0051a(0, this));
|
inflate.setOnClickListener(new View$OnClickListenerC0052a(0, this));
|
||||||
this.j = (ViewPager) inflate.findViewById(R.e.content_pager);
|
this.j = (ViewPager) inflate.findViewById(R.e.content_pager);
|
||||||
this.k = (TabLayout) inflate.findViewById(R.e.content_tabs);
|
this.k = (TabLayout) inflate.findViewById(R.e.content_tabs);
|
||||||
this.l = (FloatingActionButton) inflate.findViewById(R.e.action_btn);
|
this.l = (FloatingActionButton) inflate.findViewById(R.e.action_btn);
|
||||||
ImageView imageView = (ImageView) inflate.findViewById(R.e.launch_btn);
|
ImageView imageView = (ImageView) inflate.findViewById(R.e.launch_btn);
|
||||||
this.m = imageView;
|
this.m = imageView;
|
||||||
if (imageView != null) {
|
if (imageView != null) {
|
||||||
imageView.setOnClickListener(new View$OnClickListenerC0051a(1, this));
|
imageView.setOnClickListener(new View$OnClickListenerC0052a(1, this));
|
||||||
}
|
}
|
||||||
FloatingActionButton floatingActionButton = this.l;
|
FloatingActionButton floatingActionButton = this.l;
|
||||||
Objects.requireNonNull(floatingActionButton, "null cannot be cast to non-null type com.google.android.material.floatingactionbutton.FloatingActionButton");
|
Objects.requireNonNull(floatingActionButton, "null cannot be cast to non-null type com.google.android.material.floatingactionbutton.FloatingActionButton");
|
||||||
|
@ -418,11 +418,11 @@ public class a extends AppCompatDialogFragment {
|
||||||
flexInputFragment.k();
|
flexInputFragment.k();
|
||||||
eVar.mo17invoke();
|
eVar.mo17invoke();
|
||||||
} catch (UninitializedPropertyAccessException unused) {
|
} catch (UninitializedPropertyAccessException unused) {
|
||||||
flexInputFragment.f2923w.add(eVar);
|
flexInputFragment.f2926w.add(eVar);
|
||||||
}
|
}
|
||||||
FloatingActionButton floatingActionButton2 = this.l;
|
FloatingActionButton floatingActionButton2 = this.l;
|
||||||
if (floatingActionButton2 != null) {
|
if (floatingActionButton2 != null) {
|
||||||
floatingActionButton2.setOnClickListener(new View$OnClickListenerC0051a(2, parentFragment));
|
floatingActionButton2.setOnClickListener(new View$OnClickListenerC0052a(2, parentFragment));
|
||||||
}
|
}
|
||||||
this.n = flexInputFragment.b().addItemSelectionListener(this.q);
|
this.n = flexInputFragment.b().addItemSelectionListener(this.q);
|
||||||
FloatingActionButton floatingActionButton3 = this.l;
|
FloatingActionButton floatingActionButton3 = this.l;
|
||||||
|
|
|
@ -27,7 +27,7 @@ public final class b implements TabLayout.OnTabSelectedListener {
|
||||||
if (position == 3) {
|
if (position == 3) {
|
||||||
this.a.h(false);
|
this.a.h(false);
|
||||||
Fragment parentFragment = this.a.getParentFragment();
|
Fragment parentFragment = this.a.getParentFragment();
|
||||||
if ((parentFragment instanceof FlexInputFragment) && (flexInputViewModel = ((FlexInputFragment) parentFragment).f2922r) != null) {
|
if ((parentFragment instanceof FlexInputFragment) && (flexInputViewModel = ((FlexInputFragment) parentFragment).f2925r) != null) {
|
||||||
flexInputViewModel.onCreateThreadSelected();
|
flexInputViewModel.onCreateThreadSelected();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,7 @@ public final class f implements ViewPager.OnPageChangeListener {
|
||||||
|
|
||||||
@Override // androidx.viewpager.widget.ViewPager.OnPageChangeListener
|
@Override // androidx.viewpager.widget.ViewPager.OnPageChangeListener
|
||||||
public void onPageSelected(int i) {
|
public void onPageSelected(int i) {
|
||||||
FlexInputViewModel flexInputViewModel = this.a.f2922r;
|
FlexInputViewModel flexInputViewModel = this.a.f2925r;
|
||||||
if (flexInputViewModel != null) {
|
if (flexInputViewModel != null) {
|
||||||
flexInputViewModel.onContentDialogPageChanged(i);
|
flexInputViewModel.onContentDialogPageChanged(i);
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@ public final class g implements DialogInterface.OnDismissListener {
|
||||||
@Override // android.content.DialogInterface.OnDismissListener
|
@Override // android.content.DialogInterface.OnDismissListener
|
||||||
public final void onDismiss(DialogInterface dialogInterface) {
|
public final void onDismiss(DialogInterface dialogInterface) {
|
||||||
FlexInputViewModel flexInputViewModel;
|
FlexInputViewModel flexInputViewModel;
|
||||||
if (this.i.isAdded() && !this.i.isHidden() && (flexInputViewModel = this.i.f2922r) != null) {
|
if (this.i.isAdded() && !this.i.isHidden() && (flexInputViewModel = this.i.f2925r) != null) {
|
||||||
c.c0(flexInputViewModel, false, 1, null);
|
c.c0(flexInputViewModel, false, 1, null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,7 @@ public final class h extends o implements Function1<View, Unit> {
|
||||||
@Override // kotlin.jvm.functions.Function1
|
@Override // kotlin.jvm.functions.Function1
|
||||||
public Unit invoke(View view) {
|
public Unit invoke(View view) {
|
||||||
m.checkNotNullParameter(view, "it");
|
m.checkNotNullParameter(view, "it");
|
||||||
FlexInputViewModel flexInputViewModel = this.this$0.f2922r;
|
FlexInputViewModel flexInputViewModel = this.this$0.f2925r;
|
||||||
if (flexInputViewModel != null) {
|
if (flexInputViewModel != null) {
|
||||||
c.c0(flexInputViewModel, false, 1, null);
|
c.c0(flexInputViewModel, false, 1, null);
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,7 +14,7 @@ public final class i implements View.OnLongClickListener {
|
||||||
|
|
||||||
@Override // android.view.View.OnLongClickListener
|
@Override // android.view.View.OnLongClickListener
|
||||||
public final boolean onLongClick(View view) {
|
public final boolean onLongClick(View view) {
|
||||||
FlexInputViewModel flexInputViewModel = this.i.f2922r;
|
FlexInputViewModel flexInputViewModel = this.i.f2925r;
|
||||||
if (flexInputViewModel == null) {
|
if (flexInputViewModel == null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,7 +17,7 @@ public final class m implements SelectionCoordinator.ItemSelectionListener<Attac
|
||||||
public void onItemSelected(Attachment<? extends Object> attachment) {
|
public void onItemSelected(Attachment<? extends Object> attachment) {
|
||||||
c0.z.d.m.checkNotNullParameter(attachment, "item");
|
c0.z.d.m.checkNotNullParameter(attachment, "item");
|
||||||
FlexInputFragment flexInputFragment = this.a;
|
FlexInputFragment flexInputFragment = this.a;
|
||||||
FlexInputViewModel flexInputViewModel = flexInputFragment.f2922r;
|
FlexInputViewModel flexInputViewModel = flexInputFragment.f2925r;
|
||||||
if (flexInputViewModel != null) {
|
if (flexInputViewModel != null) {
|
||||||
flexInputViewModel.onAttachmentsUpdated(flexInputFragment.b().getAttachments());
|
flexInputViewModel.onAttachmentsUpdated(flexInputFragment.b().getAttachments());
|
||||||
}
|
}
|
||||||
|
@ -28,7 +28,7 @@ public final class m implements SelectionCoordinator.ItemSelectionListener<Attac
|
||||||
public void onItemUnselected(Attachment<? extends Object> attachment) {
|
public void onItemUnselected(Attachment<? extends Object> attachment) {
|
||||||
c0.z.d.m.checkNotNullParameter(attachment, "item");
|
c0.z.d.m.checkNotNullParameter(attachment, "item");
|
||||||
FlexInputFragment flexInputFragment = this.a;
|
FlexInputFragment flexInputFragment = this.a;
|
||||||
FlexInputViewModel flexInputViewModel = flexInputFragment.f2922r;
|
FlexInputViewModel flexInputViewModel = flexInputFragment.f2925r;
|
||||||
if (flexInputViewModel != null) {
|
if (flexInputViewModel != null) {
|
||||||
flexInputViewModel.onAttachmentsUpdated(flexInputFragment.b().getAttachments());
|
flexInputViewModel.onAttachmentsUpdated(flexInputFragment.b().getAttachments());
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,7 +36,7 @@ public final class i extends RecyclerView.Adapter<a> {
|
||||||
public Cursor b;
|
public Cursor b;
|
||||||
|
|
||||||
/* renamed from: c reason: collision with root package name */
|
/* renamed from: c reason: collision with root package name */
|
||||||
public int f256c;
|
public int f257c;
|
||||||
public int d;
|
public int d;
|
||||||
public int e;
|
public int e;
|
||||||
public int f;
|
public int f;
|
||||||
|
@ -51,16 +51,16 @@ public final class i extends RecyclerView.Adapter<a> {
|
||||||
public final AnimatorSet q;
|
public final AnimatorSet q;
|
||||||
|
|
||||||
/* renamed from: r reason: collision with root package name */
|
/* renamed from: r reason: collision with root package name */
|
||||||
public final c f257r;
|
public final c f258r;
|
||||||
public final /* synthetic */ i s;
|
public final /* synthetic */ i s;
|
||||||
|
|
||||||
/* compiled from: MediaCursorAdapter.kt */
|
/* compiled from: MediaCursorAdapter.kt */
|
||||||
/* renamed from: c.b.a.d.i$a$a reason: collision with other inner class name */
|
/* renamed from: c.b.a.d.i$a$a reason: collision with other inner class name */
|
||||||
public static final class C0052a extends o implements Function1<AnimatorSet, Unit> {
|
public static final class C0053a extends o implements Function1<AnimatorSet, Unit> {
|
||||||
public final /* synthetic */ boolean $isAnimationRequested;
|
public final /* synthetic */ boolean $isAnimationRequested;
|
||||||
|
|
||||||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||||||
public C0052a(boolean z2) {
|
public C0053a(boolean z2) {
|
||||||
super(1);
|
super(1);
|
||||||
this.$isAnimationRequested = z2;
|
this.$isAnimationRequested = z2;
|
||||||
}
|
}
|
||||||
|
@ -89,7 +89,7 @@ public final class i extends RecyclerView.Adapter<a> {
|
||||||
this.s = iVar;
|
this.s = iVar;
|
||||||
FrameLayout frameLayout = cVar.a;
|
FrameLayout frameLayout = cVar.a;
|
||||||
m.checkNotNullExpressionValue(frameLayout, "binding.root");
|
m.checkNotNullExpressionValue(frameLayout, "binding.root");
|
||||||
this.f257r = cVar;
|
this.f258r = cVar;
|
||||||
cVar.a.setOnClickListener(this);
|
cVar.a.setOnClickListener(this);
|
||||||
FrameLayout frameLayout2 = cVar.a;
|
FrameLayout frameLayout2 = cVar.a;
|
||||||
m.checkNotNullExpressionValue(frameLayout2, "binding.root");
|
m.checkNotNullExpressionValue(frameLayout2, "binding.root");
|
||||||
|
@ -109,21 +109,21 @@ public final class i extends RecyclerView.Adapter<a> {
|
||||||
|
|
||||||
@Override // c.b.a.d.j
|
@Override // c.b.a.d.j
|
||||||
public SimpleDraweeView a() {
|
public SimpleDraweeView a() {
|
||||||
SimpleDraweeView simpleDraweeView = this.f257r.f260c;
|
SimpleDraweeView simpleDraweeView = this.f258r.f261c;
|
||||||
m.checkNotNullExpressionValue(simpleDraweeView, "binding.contentIv");
|
m.checkNotNullExpressionValue(simpleDraweeView, "binding.contentIv");
|
||||||
return simpleDraweeView;
|
return simpleDraweeView;
|
||||||
}
|
}
|
||||||
|
|
||||||
public final void d(boolean z2, boolean z3) {
|
public final void d(boolean z2, boolean z3) {
|
||||||
FrameLayout frameLayout = this.f257r.a;
|
FrameLayout frameLayout = this.f258r.a;
|
||||||
m.checkNotNullExpressionValue(frameLayout, "binding.root");
|
m.checkNotNullExpressionValue(frameLayout, "binding.root");
|
||||||
frameLayout.setSelected(z2);
|
frameLayout.setSelected(z2);
|
||||||
C0052a aVar = new C0052a(z3);
|
C0053a aVar = new C0053a(z3);
|
||||||
if (z2) {
|
if (z2) {
|
||||||
SimpleDraweeView simpleDraweeView = this.f257r.d;
|
SimpleDraweeView simpleDraweeView = this.f258r.d;
|
||||||
m.checkNotNullExpressionValue(simpleDraweeView, "binding.itemCheckIndicator");
|
m.checkNotNullExpressionValue(simpleDraweeView, "binding.itemCheckIndicator");
|
||||||
simpleDraweeView.setVisibility(0);
|
simpleDraweeView.setVisibility(0);
|
||||||
FrameLayout frameLayout2 = this.f257r.b;
|
FrameLayout frameLayout2 = this.f258r.b;
|
||||||
m.checkNotNullExpressionValue(frameLayout2, "binding.contentContainer");
|
m.checkNotNullExpressionValue(frameLayout2, "binding.contentContainer");
|
||||||
if (frameLayout2.getScaleX() == 1.0f) {
|
if (frameLayout2.getScaleX() == 1.0f) {
|
||||||
aVar.a(this.p);
|
aVar.a(this.p);
|
||||||
|
@ -131,10 +131,10 @@ public final class i extends RecyclerView.Adapter<a> {
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
SimpleDraweeView simpleDraweeView2 = this.f257r.d;
|
SimpleDraweeView simpleDraweeView2 = this.f258r.d;
|
||||||
m.checkNotNullExpressionValue(simpleDraweeView2, "binding.itemCheckIndicator");
|
m.checkNotNullExpressionValue(simpleDraweeView2, "binding.itemCheckIndicator");
|
||||||
simpleDraweeView2.setVisibility(8);
|
simpleDraweeView2.setVisibility(8);
|
||||||
FrameLayout frameLayout3 = this.f257r.b;
|
FrameLayout frameLayout3 = this.f258r.b;
|
||||||
m.checkNotNullExpressionValue(frameLayout3, "binding.contentContainer");
|
m.checkNotNullExpressionValue(frameLayout3, "binding.contentContainer");
|
||||||
if (frameLayout3.getScaleX() != 1.0f) {
|
if (frameLayout3.getScaleX() != 1.0f) {
|
||||||
aVar.a(this.q);
|
aVar.a(this.q);
|
||||||
|
@ -169,7 +169,7 @@ public final class i extends RecyclerView.Adapter<a> {
|
||||||
m.checkNotNullParameter(obj, "cookie");
|
m.checkNotNullParameter(obj, "cookie");
|
||||||
if (cursor != null) {
|
if (cursor != null) {
|
||||||
i iVar = this.a;
|
i iVar = this.a;
|
||||||
iVar.f256c = cursor.getColumnIndex("_id");
|
iVar.f257c = cursor.getColumnIndex("_id");
|
||||||
iVar.d = cursor.getColumnIndex("_data");
|
iVar.d = cursor.getColumnIndex("_data");
|
||||||
iVar.e = cursor.getColumnIndex("_display_name");
|
iVar.e = cursor.getColumnIndex("_display_name");
|
||||||
iVar.f = cursor.getColumnIndex("media_type");
|
iVar.f = cursor.getColumnIndex("media_type");
|
||||||
|
@ -201,7 +201,7 @@ public final class i extends RecyclerView.Adapter<a> {
|
||||||
Long l = null;
|
Long l = null;
|
||||||
if (cursor != null) {
|
if (cursor != null) {
|
||||||
cursor.moveToPosition(i);
|
cursor.moveToPosition(i);
|
||||||
long j = cursor.getLong(this.f256c);
|
long j = cursor.getLong(this.f257c);
|
||||||
boolean z2 = cursor.getInt(this.f) == 3;
|
boolean z2 = cursor.getInt(this.f) == 3;
|
||||||
Uri withAppendedPath = z2 ? Uri.withAppendedPath(MediaStore.Video.Media.EXTERNAL_CONTENT_URI, String.valueOf(j)) : Uri.withAppendedPath(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, String.valueOf(j));
|
Uri withAppendedPath = z2 ? Uri.withAppendedPath(MediaStore.Video.Media.EXTERNAL_CONTENT_URI, String.valueOf(j)) : Uri.withAppendedPath(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, String.valueOf(j));
|
||||||
String str2 = z2 ? "vid" : "img";
|
String str2 = z2 ? "vid" : "img";
|
||||||
|
@ -264,7 +264,7 @@ public final class i extends RecyclerView.Adapter<a> {
|
||||||
m.checkNotNullParameter(aVar2, "holder");
|
m.checkNotNullParameter(aVar2, "holder");
|
||||||
Media a2 = a(i);
|
Media a2 = a(i);
|
||||||
aVar2.o = a2;
|
aVar2.o = a2;
|
||||||
FrameLayout frameLayout = aVar2.f257r.a;
|
FrameLayout frameLayout = aVar2.f258r.a;
|
||||||
m.checkNotNullExpressionValue(frameLayout, "binding.root");
|
m.checkNotNullExpressionValue(frameLayout, "binding.root");
|
||||||
Context context = frameLayout.getContext();
|
Context context = frameLayout.getContext();
|
||||||
int i2 = 0;
|
int i2 = 0;
|
||||||
|
@ -276,24 +276,24 @@ public final class i extends RecyclerView.Adapter<a> {
|
||||||
if (a2 == null || !a2.i) {
|
if (a2 == null || !a2.i) {
|
||||||
z2 = false;
|
z2 = false;
|
||||||
}
|
}
|
||||||
TextView textView = aVar2.f257r.e;
|
TextView textView = aVar2.f258r.e;
|
||||||
m.checkNotNullExpressionValue(textView, "binding.itemVideoIndicator");
|
m.checkNotNullExpressionValue(textView, "binding.itemVideoIndicator");
|
||||||
if (!z2) {
|
if (!z2) {
|
||||||
i2 = 8;
|
i2 = 8;
|
||||||
}
|
}
|
||||||
textView.setVisibility(i2);
|
textView.setVisibility(i2);
|
||||||
if (z2) {
|
if (z2) {
|
||||||
TextView textView2 = aVar2.f257r.e;
|
TextView textView2 = aVar2.f258r.e;
|
||||||
m.checkNotNullExpressionValue(textView2, "binding.itemVideoIndicator");
|
m.checkNotNullExpressionValue(textView2, "binding.itemVideoIndicator");
|
||||||
Drawable background = textView2.getBackground();
|
Drawable background = textView2.getBackground();
|
||||||
m.checkNotNullExpressionValue(background, "binding.itemVideoIndicator.background");
|
m.checkNotNullExpressionValue(background, "binding.itemVideoIndicator.background");
|
||||||
background.setAlpha(127);
|
background.setAlpha(127);
|
||||||
long longValue = (a2 == null || (l = a2.j) == null) ? 0 : l.longValue();
|
long longValue = (a2 == null || (l = a2.j) == null) ? 0 : l.longValue();
|
||||||
TextView textView3 = aVar2.f257r.e;
|
TextView textView3 = aVar2.f258r.e;
|
||||||
m.checkNotNullExpressionValue(textView3, "binding.itemVideoIndicator");
|
m.checkNotNullExpressionValue(textView3, "binding.itemVideoIndicator");
|
||||||
textView3.setText(longValue > 0 ? TimeUtils.toFriendlyStringSimple$default(TimeUtils.INSTANCE, longValue, null, null, 6, null) : context.getString(R.g.video));
|
textView3.setText(longValue > 0 ? TimeUtils.toFriendlyStringSimple$default(TimeUtils.INSTANCE, longValue, null, null, 6, null) : context.getString(R.g.video));
|
||||||
}
|
}
|
||||||
SimpleDraweeView simpleDraweeView = aVar2.f257r.f260c;
|
SimpleDraweeView simpleDraweeView = aVar2.f258r.f261c;
|
||||||
m.checkNotNullExpressionValue(simpleDraweeView, "binding.contentIv");
|
m.checkNotNullExpressionValue(simpleDraweeView, "binding.contentIv");
|
||||||
simpleDraweeView.setContentDescription(context.getString(z2 ? R.g.video : R.g.image));
|
simpleDraweeView.setContentDescription(context.getString(z2 ? R.g.video : R.g.image));
|
||||||
}
|
}
|
||||||
|
|
|
@ -60,7 +60,7 @@ public abstract class j extends RecyclerView.ViewHolder {
|
||||||
public CancellationSignal b;
|
public CancellationSignal b;
|
||||||
|
|
||||||
/* renamed from: c reason: collision with root package name */
|
/* renamed from: c reason: collision with root package name */
|
||||||
public Bitmap f258c;
|
public Bitmap f259c;
|
||||||
public final ContentResolver d;
|
public final ContentResolver d;
|
||||||
|
|
||||||
public b(ContentResolver contentResolver) {
|
public b(ContentResolver contentResolver) {
|
||||||
|
@ -79,11 +79,11 @@ public abstract class j extends RecyclerView.ViewHolder {
|
||||||
cancellationSignal.cancel();
|
cancellationSignal.cancel();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Bitmap bitmap = this.f258c;
|
Bitmap bitmap = this.f259c;
|
||||||
if (bitmap != null) {
|
if (bitmap != null) {
|
||||||
bitmap.recycle();
|
bitmap.recycle();
|
||||||
}
|
}
|
||||||
this.f258c = null;
|
this.f259c = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -74,8 +74,8 @@ public final class k extends c0.w.i.a.k implements Function2<CoroutineScope, Con
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
|
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
|
||||||
}
|
}
|
||||||
bVar.f258c = (Bitmap) obj;
|
bVar.f259c = (Bitmap) obj;
|
||||||
this.$onGenerate.invoke(this.this$0.f258c);
|
this.$onGenerate.invoke(this.this$0.f259c);
|
||||||
return Unit.a;
|
return Unit.a;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,7 +19,7 @@ public final class a implements ViewBinding {
|
||||||
@NonNull
|
@NonNull
|
||||||
|
|
||||||
/* renamed from: c reason: collision with root package name */
|
/* renamed from: c reason: collision with root package name */
|
||||||
public final LinearLayout f259c;
|
public final LinearLayout f260c;
|
||||||
@NonNull
|
@NonNull
|
||||||
public final RecyclerView d;
|
public final RecyclerView d;
|
||||||
@NonNull
|
@NonNull
|
||||||
|
@ -52,7 +52,7 @@ public final class a implements ViewBinding {
|
||||||
public a(@NonNull LinearLayout linearLayout, @NonNull AppCompatImageButton appCompatImageButton, @NonNull LinearLayout linearLayout2, @NonNull RecyclerView recyclerView, @NonNull TextView textView, @NonNull LinearLayout linearLayout3, @NonNull FrameLayout frameLayout, @NonNull AppCompatImageButton appCompatImageButton2, @NonNull AppCompatImageButton appCompatImageButton3, @NonNull ImageView imageView, @NonNull FrameLayout frameLayout2, @NonNull FrameLayout frameLayout3, @NonNull AppCompatImageButton appCompatImageButton4, @NonNull AppCompatImageButton appCompatImageButton5, @NonNull LinearLayout linearLayout4, @NonNull LinearLayout linearLayout5, @NonNull FrameLayout frameLayout4, @NonNull ImageView imageView2, @NonNull FlexEditText flexEditText) {
|
public a(@NonNull LinearLayout linearLayout, @NonNull AppCompatImageButton appCompatImageButton, @NonNull LinearLayout linearLayout2, @NonNull RecyclerView recyclerView, @NonNull TextView textView, @NonNull LinearLayout linearLayout3, @NonNull FrameLayout frameLayout, @NonNull AppCompatImageButton appCompatImageButton2, @NonNull AppCompatImageButton appCompatImageButton3, @NonNull ImageView imageView, @NonNull FrameLayout frameLayout2, @NonNull FrameLayout frameLayout3, @NonNull AppCompatImageButton appCompatImageButton4, @NonNull AppCompatImageButton appCompatImageButton5, @NonNull LinearLayout linearLayout4, @NonNull LinearLayout linearLayout5, @NonNull FrameLayout frameLayout4, @NonNull ImageView imageView2, @NonNull FlexEditText flexEditText) {
|
||||||
this.a = linearLayout;
|
this.a = linearLayout;
|
||||||
this.b = appCompatImageButton;
|
this.b = appCompatImageButton;
|
||||||
this.f259c = linearLayout2;
|
this.f260c = linearLayout2;
|
||||||
this.d = recyclerView;
|
this.d = recyclerView;
|
||||||
this.e = textView;
|
this.e = textView;
|
||||||
this.f = linearLayout3;
|
this.f = linearLayout3;
|
||||||
|
|
|
@ -15,7 +15,7 @@ public final class c implements ViewBinding {
|
||||||
@NonNull
|
@NonNull
|
||||||
|
|
||||||
/* renamed from: c reason: collision with root package name */
|
/* renamed from: c reason: collision with root package name */
|
||||||
public final SimpleDraweeView f260c;
|
public final SimpleDraweeView f261c;
|
||||||
@NonNull
|
@NonNull
|
||||||
public final SimpleDraweeView d;
|
public final SimpleDraweeView d;
|
||||||
@NonNull
|
@NonNull
|
||||||
|
@ -24,7 +24,7 @@ public final class c implements ViewBinding {
|
||||||
public c(@NonNull FrameLayout frameLayout, @NonNull FrameLayout frameLayout2, @NonNull SimpleDraweeView simpleDraweeView, @NonNull SimpleDraweeView simpleDraweeView2, @NonNull TextView textView) {
|
public c(@NonNull FrameLayout frameLayout, @NonNull FrameLayout frameLayout2, @NonNull SimpleDraweeView simpleDraweeView, @NonNull SimpleDraweeView simpleDraweeView2, @NonNull TextView textView) {
|
||||||
this.a = frameLayout;
|
this.a = frameLayout;
|
||||||
this.b = frameLayout2;
|
this.b = frameLayout2;
|
||||||
this.f260c = simpleDraweeView;
|
this.f261c = simpleDraweeView;
|
||||||
this.d = simpleDraweeView2;
|
this.d = simpleDraweeView2;
|
||||||
this.e = textView;
|
this.e = textView;
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,7 +18,7 @@ public class b implements FileManager {
|
||||||
public final String b;
|
public final String b;
|
||||||
|
|
||||||
/* renamed from: c reason: collision with root package name */
|
/* renamed from: c reason: collision with root package name */
|
||||||
public final String f261c;
|
public final String f262c;
|
||||||
|
|
||||||
public b(Context context, String str, String str2, int i) {
|
public b(Context context, String str, String str2, int i) {
|
||||||
String str3;
|
String str3;
|
||||||
|
@ -37,7 +37,7 @@ public class b implements FileManager {
|
||||||
m.checkNotNullParameter(str4, "imageDirName");
|
m.checkNotNullParameter(str4, "imageDirName");
|
||||||
this.a = context;
|
this.a = context;
|
||||||
this.b = str3;
|
this.b = str3;
|
||||||
this.f261c = str4;
|
this.f262c = str4;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // com.lytefast.flexinput.managers.FileManager
|
@Override // com.lytefast.flexinput.managers.FileManager
|
||||||
|
@ -53,7 +53,7 @@ public class b implements FileManager {
|
||||||
public File b() {
|
public File b() {
|
||||||
String format = new SimpleDateFormat("yyyyMMdd_HHmmss", Locale.getDefault()).format(new Date());
|
String format = new SimpleDateFormat("yyyyMMdd_HHmmss", Locale.getDefault()).format(new Date());
|
||||||
Context context = this.a;
|
Context context = this.a;
|
||||||
File file = new File(context.getExternalFilesDir(Environment.DIRECTORY_PICTURES), this.f261c);
|
File file = new File(context.getExternalFilesDir(Environment.DIRECTORY_PICTURES), this.f262c);
|
||||||
file.mkdirs();
|
file.mkdirs();
|
||||||
if (!file.exists()) {
|
if (!file.exists()) {
|
||||||
file = context.getFilesDir();
|
file = context.getFilesDir();
|
||||||
|
|
|
@ -9,10 +9,10 @@ public abstract class a {
|
||||||
|
|
||||||
/* compiled from: FlexInputEvent.kt */
|
/* compiled from: FlexInputEvent.kt */
|
||||||
/* renamed from: c.b.a.h.a$a reason: collision with other inner class name */
|
/* renamed from: c.b.a.h.a$a reason: collision with other inner class name */
|
||||||
public static final class C0053a extends a {
|
public static final class C0054a extends a {
|
||||||
public static final C0053a a = new C0053a();
|
public static final C0054a a = new C0054a();
|
||||||
|
|
||||||
public C0053a() {
|
public C0054a() {
|
||||||
super(null);
|
super(null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -152,12 +152,12 @@ public class d {
|
||||||
public final /* synthetic */ int b;
|
public final /* synthetic */ int b;
|
||||||
|
|
||||||
/* renamed from: c reason: collision with root package name */
|
/* renamed from: c reason: collision with root package name */
|
||||||
public final /* synthetic */ Object f262c;
|
public final /* synthetic */ Object f263c;
|
||||||
|
|
||||||
public a(Class cls, int i, Object obj) {
|
public a(Class cls, int i, Object obj) {
|
||||||
this.a = cls;
|
this.a = cls;
|
||||||
this.b = i;
|
this.b = i;
|
||||||
this.f262c = obj;
|
this.f263c = obj;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean equals(Object obj) {
|
public boolean equals(Object obj) {
|
||||||
|
@ -168,7 +168,7 @@ public class d {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
for (int i = 0; i < this.b; i++) {
|
for (int i = 0; i < this.b; i++) {
|
||||||
Object obj2 = Array.get(this.f262c, i);
|
Object obj2 = Array.get(this.f263c, i);
|
||||||
Object obj3 = Array.get(obj, i);
|
Object obj3 = Array.get(obj, i);
|
||||||
if (!(obj2 == obj3 || obj2 == null || obj2.equals(obj3))) {
|
if (!(obj2 == obj3 || obj2 == null || obj2.equals(obj3))) {
|
||||||
return false;
|
return false;
|
||||||
|
@ -617,7 +617,7 @@ public class d {
|
||||||
int i = wVar.b + I12;
|
int i = wVar.b + I12;
|
||||||
if (I12 == -1 || I12 > wVar.a()) {
|
if (I12 == -1 || I12 > wVar.a()) {
|
||||||
Log.w("CeaUtil", "Skipping remainder of malformed SEI NAL unit.");
|
Log.w("CeaUtil", "Skipping remainder of malformed SEI NAL unit.");
|
||||||
i = wVar.f973c;
|
i = wVar.f974c;
|
||||||
} else if (I1 == 4 && I12 >= 8) {
|
} else if (I1 == 4 && I12 >= 8) {
|
||||||
int s = wVar.s();
|
int s = wVar.s();
|
||||||
int x2 = wVar.x();
|
int x2 = wVar.x();
|
||||||
|
@ -801,7 +801,7 @@ public class d {
|
||||||
function1.invoke(renderContext);
|
function1.invoke(renderContext);
|
||||||
if (!(objArr.length == 0)) {
|
if (!(objArr.length == 0)) {
|
||||||
if (!(!renderContext.a.isEmpty())) {
|
if (!(!renderContext.a.isEmpty())) {
|
||||||
renderContext.f2504c = k.toList(objArr);
|
renderContext.f2507c = k.toList(objArr);
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalArgumentException("must provide named arguments OR formatArgs, not both.");
|
throw new IllegalArgumentException("must provide named arguments OR formatArgs, not both.");
|
||||||
}
|
}
|
||||||
|
@ -1429,7 +1429,7 @@ public class d {
|
||||||
URL url = tresult2.b;
|
URL url = tresult2.b;
|
||||||
if (url != null) {
|
if (url != null) {
|
||||||
Z("CctTransportBackend", "Following redirect to: %s", url);
|
Z("CctTransportBackend", "Following redirect to: %s", url);
|
||||||
tinput = new d.a(tresult2.b, tinput2.b, tinput2.f633c);
|
tinput = new d.a(tresult2.b, tinput2.b, tinput2.f634c);
|
||||||
} else {
|
} else {
|
||||||
tinput = null;
|
tinput = null;
|
||||||
}
|
}
|
||||||
|
@ -1553,7 +1553,7 @@ public class d {
|
||||||
drawable.setAlpha(i);
|
drawable.setAlpha(i);
|
||||||
}
|
}
|
||||||
if (eVar.b) {
|
if (eVar.b) {
|
||||||
drawable.setColorFilter(eVar.f409c);
|
drawable.setColorFilter(eVar.f410c);
|
||||||
}
|
}
|
||||||
int i2 = eVar.d;
|
int i2 = eVar.d;
|
||||||
boolean z2 = false;
|
boolean z2 = false;
|
||||||
|
@ -1750,7 +1750,7 @@ public class d {
|
||||||
int i9 = eVar2.o;
|
int i9 = eVar2.o;
|
||||||
eVar2.w();
|
eVar2.w();
|
||||||
max = Math.max(i9, eVar2.n);
|
max = Math.max(i9, eVar2.n);
|
||||||
f2 = eVar == null ? eVar.f459c : (float) i;
|
f2 = eVar == null ? eVar.f460c : (float) i;
|
||||||
while (((float) (max / i5)) > f2) {
|
while (((float) (max / i5)) > f2) {
|
||||||
eVar2.w();
|
eVar2.w();
|
||||||
i5 = eVar2.k == c.f.i.b.a ? i5 * 2 : i5 + 1;
|
i5 = eVar2.k == c.f.i.b.a ? i5 * 2 : i5 + 1;
|
||||||
|
@ -2124,10 +2124,10 @@ public class d {
|
||||||
} else if (index == R.a.GenericDraweeHierarchy_overlayImage) {
|
} else if (index == R.a.GenericDraweeHierarchy_overlayImage) {
|
||||||
aVar.b(w0(context2, obtainStyledAttributes, index));
|
aVar.b(w0(context2, obtainStyledAttributes, index));
|
||||||
} else if (index == R.a.GenericDraweeHierarchy_roundAsCircle) {
|
} else if (index == R.a.GenericDraweeHierarchy_roundAsCircle) {
|
||||||
if (aVar.f429r == null) {
|
if (aVar.f430r == null) {
|
||||||
aVar.f429r = new c.f.g.f.c();
|
aVar.f430r = new c.f.g.f.c();
|
||||||
}
|
}
|
||||||
aVar.f429r.b = obtainStyledAttributes.getBoolean(index, false);
|
aVar.f430r.b = obtainStyledAttributes.getBoolean(index, false);
|
||||||
} else if (index == R.a.GenericDraweeHierarchy_roundedCornerRadius) {
|
} else if (index == R.a.GenericDraweeHierarchy_roundedCornerRadius) {
|
||||||
i7 = obtainStyledAttributes.getDimensionPixelSize(index, i7);
|
i7 = obtainStyledAttributes.getDimensionPixelSize(index, i7);
|
||||||
} else if (index == R.a.GenericDraweeHierarchy_roundTopLeft) {
|
} else if (index == R.a.GenericDraweeHierarchy_roundTopLeft) {
|
||||||
|
@ -2153,16 +2153,16 @@ public class d {
|
||||||
if (index == R.a.GenericDraweeHierarchy_roundBottomEnd) {
|
if (index == R.a.GenericDraweeHierarchy_roundBottomEnd) {
|
||||||
z16 = obtainStyledAttributes.getBoolean(index, z16);
|
z16 = obtainStyledAttributes.getBoolean(index, z16);
|
||||||
} else if (index == R.a.GenericDraweeHierarchy_roundWithOverlayColor) {
|
} else if (index == R.a.GenericDraweeHierarchy_roundWithOverlayColor) {
|
||||||
if (aVar.f429r == null) {
|
if (aVar.f430r == null) {
|
||||||
aVar.f429r = new c.f.g.f.c();
|
aVar.f430r = new c.f.g.f.c();
|
||||||
}
|
}
|
||||||
aVar.f429r.b(obtainStyledAttributes.getColor(index, 0));
|
aVar.f430r.b(obtainStyledAttributes.getColor(index, 0));
|
||||||
} else {
|
} else {
|
||||||
if (index == R.a.GenericDraweeHierarchy_roundingBorderWidth) {
|
if (index == R.a.GenericDraweeHierarchy_roundingBorderWidth) {
|
||||||
if (aVar.f429r == null) {
|
if (aVar.f430r == null) {
|
||||||
aVar.f429r = new c.f.g.f.c();
|
aVar.f430r = new c.f.g.f.c();
|
||||||
}
|
}
|
||||||
c.f.g.f.c cVar = aVar.f429r;
|
c.f.g.f.c cVar = aVar.f430r;
|
||||||
float dimensionPixelSize = (float) obtainStyledAttributes.getDimensionPixelSize(index, 0);
|
float dimensionPixelSize = (float) obtainStyledAttributes.getDimensionPixelSize(index, 0);
|
||||||
Objects.requireNonNull(cVar);
|
Objects.requireNonNull(cVar);
|
||||||
if (dimensionPixelSize >= 0.0f) {
|
if (dimensionPixelSize >= 0.0f) {
|
||||||
|
@ -2177,15 +2177,15 @@ public class d {
|
||||||
} else {
|
} else {
|
||||||
i4 = i7;
|
i4 = i7;
|
||||||
if (index == R.a.GenericDraweeHierarchy_roundingBorderColor) {
|
if (index == R.a.GenericDraweeHierarchy_roundingBorderColor) {
|
||||||
if (aVar.f429r == null) {
|
if (aVar.f430r == null) {
|
||||||
aVar.f429r = new c.f.g.f.c();
|
aVar.f430r = new c.f.g.f.c();
|
||||||
}
|
}
|
||||||
aVar.f429r.f = obtainStyledAttributes.getColor(index, 0);
|
aVar.f430r.f = obtainStyledAttributes.getColor(index, 0);
|
||||||
} else if (index == R.a.GenericDraweeHierarchy_roundingBorderPadding) {
|
} else if (index == R.a.GenericDraweeHierarchy_roundingBorderPadding) {
|
||||||
if (aVar.f429r == null) {
|
if (aVar.f430r == null) {
|
||||||
aVar.f429r = new c.f.g.f.c();
|
aVar.f430r = new c.f.g.f.c();
|
||||||
}
|
}
|
||||||
c.f.g.f.c cVar2 = aVar.f429r;
|
c.f.g.f.c cVar2 = aVar.f430r;
|
||||||
float dimensionPixelSize2 = (float) obtainStyledAttributes.getDimensionPixelSize(index, 0);
|
float dimensionPixelSize2 = (float) obtainStyledAttributes.getDimensionPixelSize(index, 0);
|
||||||
Objects.requireNonNull(cVar2);
|
Objects.requireNonNull(cVar2);
|
||||||
l(dimensionPixelSize2 >= 0.0f, "the padding cannot be < 0");
|
l(dimensionPixelSize2 >= 0.0f, "the padding cannot be < 0");
|
||||||
|
@ -2295,18 +2295,18 @@ public class d {
|
||||||
aVar.l = new c.f.g.e.c(aVar.l, i);
|
aVar.l = new c.f.g.e.c(aVar.l, i);
|
||||||
}
|
}
|
||||||
if (i2 > 0) {
|
if (i2 > 0) {
|
||||||
if (aVar.f429r == null) {
|
if (aVar.f430r == null) {
|
||||||
aVar.f429r = new c.f.g.f.c();
|
aVar.f430r = new c.f.g.f.c();
|
||||||
}
|
}
|
||||||
c.f.g.f.c cVar3 = aVar.f429r;
|
c.f.g.f.c cVar3 = aVar.f430r;
|
||||||
float f = z4 ? (float) i2 : 0.0f;
|
float f = z4 ? (float) i2 : 0.0f;
|
||||||
float f2 = z5 ? (float) i2 : 0.0f;
|
float f2 = z5 ? (float) i2 : 0.0f;
|
||||||
float f3 = z3 ? (float) i2 : 0.0f;
|
float f3 = z3 ? (float) i2 : 0.0f;
|
||||||
float f4 = z2 ? (float) i2 : 0.0f;
|
float f4 = z2 ? (float) i2 : 0.0f;
|
||||||
if (cVar3.f430c == null) {
|
if (cVar3.f431c == null) {
|
||||||
cVar3.f430c = new float[8];
|
cVar3.f431c = new float[8];
|
||||||
}
|
}
|
||||||
float[] fArr = cVar3.f430c;
|
float[] fArr = cVar3.f431c;
|
||||||
fArr[1] = f;
|
fArr[1] = f;
|
||||||
fArr[0] = f;
|
fArr[0] = f;
|
||||||
fArr[3] = f2;
|
fArr[3] = f2;
|
||||||
|
@ -2907,7 +2907,7 @@ public class d {
|
||||||
}
|
}
|
||||||
ArrayList<d.a> arrayList3 = new ArrayList<>();
|
ArrayList<d.a> arrayList3 = new ArrayList<>();
|
||||||
int i2 = wVar2.b;
|
int i2 = wVar2.b;
|
||||||
int i3 = wVar2.f973c;
|
int i3 = wVar2.f974c;
|
||||||
while (i2 < i3) {
|
while (i2 < i3) {
|
||||||
int f2 = wVar2.f() + i2;
|
int f2 = wVar2.f() + i2;
|
||||||
if (f2 > i2 && f2 <= i3) {
|
if (f2 > i2 && f2 <= i3) {
|
||||||
|
@ -3133,7 +3133,7 @@ public class d {
|
||||||
@Nullable
|
@Nullable
|
||||||
public static c.i.a.c.a2.h0.j v1(byte[] bArr) {
|
public static c.i.a.c.a2.h0.j v1(byte[] bArr) {
|
||||||
c.i.a.c.i2.w wVar = new c.i.a.c.i2.w(bArr);
|
c.i.a.c.i2.w wVar = new c.i.a.c.i2.w(bArr);
|
||||||
if (wVar.f973c < 32) {
|
if (wVar.f974c < 32) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
wVar.D(0);
|
wVar.D(0);
|
||||||
|
@ -3201,7 +3201,7 @@ public class d {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
if (uuid.equals(v1.a)) {
|
if (uuid.equals(v1.a)) {
|
||||||
return v1.f745c;
|
return v1.f746c;
|
||||||
}
|
}
|
||||||
Log.w("PsshAtomUtil", "UUID mismatch. Expected: " + uuid + ", got: " + v1.a + ".");
|
Log.w("PsshAtomUtil", "UUID mismatch. Expected: " + uuid + ", got: " + v1.a + ".");
|
||||||
return null;
|
return null;
|
||||||
|
|
|
@ -17,18 +17,18 @@ public final class d extends c {
|
||||||
public static final ByteString q = ByteString.h("\n\r");
|
public static final ByteString q = ByteString.h("\n\r");
|
||||||
|
|
||||||
/* renamed from: r reason: collision with root package name */
|
/* renamed from: r reason: collision with root package name */
|
||||||
public static final ByteString f264r = ByteString.h("*/");
|
public static final ByteString f265r = ByteString.h("*/");
|
||||||
public final g s;
|
public final g s;
|
||||||
public final e t;
|
public final e t;
|
||||||
public int u = 0;
|
public int u = 0;
|
||||||
public long v;
|
public long v;
|
||||||
|
|
||||||
/* renamed from: w reason: collision with root package name */
|
/* renamed from: w reason: collision with root package name */
|
||||||
public int f265w;
|
public int f266w;
|
||||||
@Nullable
|
@Nullable
|
||||||
|
|
||||||
/* renamed from: x reason: collision with root package name */
|
/* renamed from: x reason: collision with root package name */
|
||||||
public String f266x;
|
public String f267x;
|
||||||
|
|
||||||
public d(g gVar) {
|
public d(g gVar) {
|
||||||
Objects.requireNonNull(gVar, "source == null");
|
Objects.requireNonNull(gVar, "source == null");
|
||||||
|
@ -102,7 +102,7 @@ public final class d extends c {
|
||||||
} else if (i2 == 8 || i2 == 12) {
|
} else if (i2 == 8 || i2 == 12) {
|
||||||
T(n);
|
T(n);
|
||||||
} else if (i2 == 17) {
|
} else if (i2 == 17) {
|
||||||
this.t.skip((long) this.f265w);
|
this.t.skip((long) this.f266w);
|
||||||
} else if (i2 == 18) {
|
} else if (i2 == 18) {
|
||||||
StringBuilder O3 = a.O("Expected a value but was ");
|
StringBuilder O3 = a.O("Expected a value but was ");
|
||||||
O3.append(w());
|
O3.append(w());
|
||||||
|
@ -173,7 +173,7 @@ public final class d extends c {
|
||||||
if (r1 != 7) goto L_0x0210;
|
if (r1 != 7) goto L_0x0210;
|
||||||
*/
|
*/
|
||||||
/* JADX WARNING: Code restructure failed: missing block: B:139:0x01db, code lost:
|
/* JADX WARNING: Code restructure failed: missing block: B:139:0x01db, code lost:
|
||||||
r17.f265w = r5;
|
r17.f266w = r5;
|
||||||
r15 = 17;
|
r15 = 17;
|
||||||
r17.u = 17;
|
r17.u = 17;
|
||||||
*/
|
*/
|
||||||
|
@ -762,13 +762,13 @@ public final class d extends c {
|
||||||
return (double) this.v;
|
return (double) this.v;
|
||||||
}
|
}
|
||||||
if (i == 17) {
|
if (i == 17) {
|
||||||
this.f266x = this.t.H((long) this.f265w);
|
this.f267x = this.t.H((long) this.f266w);
|
||||||
} else if (i == 9) {
|
} else if (i == 9) {
|
||||||
this.f266x = Q(o);
|
this.f267x = Q(o);
|
||||||
} else if (i == 8) {
|
} else if (i == 8) {
|
||||||
this.f266x = Q(n);
|
this.f267x = Q(n);
|
||||||
} else if (i == 10) {
|
} else if (i == 10) {
|
||||||
this.f266x = R();
|
this.f267x = R();
|
||||||
} else if (i != 11) {
|
} else if (i != 11) {
|
||||||
StringBuilder O = a.O("Expected a double but was ");
|
StringBuilder O = a.O("Expected a double but was ");
|
||||||
O.append(w());
|
O.append(w());
|
||||||
|
@ -778,11 +778,11 @@ public final class d extends c {
|
||||||
}
|
}
|
||||||
this.u = 11;
|
this.u = 11;
|
||||||
try {
|
try {
|
||||||
double parseDouble = Double.parseDouble(this.f266x);
|
double parseDouble = Double.parseDouble(this.f267x);
|
||||||
if (Double.isNaN(parseDouble) || Double.isInfinite(parseDouble)) {
|
if (Double.isNaN(parseDouble) || Double.isInfinite(parseDouble)) {
|
||||||
throw new b("JSON forbids NaN and infinities: " + parseDouble + " at path " + getPath());
|
throw new b("JSON forbids NaN and infinities: " + parseDouble + " at path " + getPath());
|
||||||
}
|
}
|
||||||
this.f266x = null;
|
this.f267x = null;
|
||||||
this.u = 0;
|
this.u = 0;
|
||||||
int[] iArr2 = this.m;
|
int[] iArr2 = this.m;
|
||||||
int i3 = this.j - 1;
|
int i3 = this.j - 1;
|
||||||
|
@ -790,7 +790,7 @@ public final class d extends c {
|
||||||
return parseDouble;
|
return parseDouble;
|
||||||
} catch (NumberFormatException unused) {
|
} catch (NumberFormatException unused) {
|
||||||
StringBuilder O2 = a.O("Expected a double but was ");
|
StringBuilder O2 = a.O("Expected a double but was ");
|
||||||
O2.append(this.f266x);
|
O2.append(this.f267x);
|
||||||
O2.append(" at path ");
|
O2.append(" at path ");
|
||||||
O2.append(getPath());
|
O2.append(getPath());
|
||||||
throw new a(O2.toString());
|
throw new a(O2.toString());
|
||||||
|
@ -820,10 +820,10 @@ public final class d extends c {
|
||||||
throw new a(O.toString());
|
throw new a(O.toString());
|
||||||
}
|
}
|
||||||
if (i == 17) {
|
if (i == 17) {
|
||||||
this.f266x = this.t.H((long) this.f265w);
|
this.f267x = this.t.H((long) this.f266w);
|
||||||
} else if (i == 9 || i == 8) {
|
} else if (i == 9 || i == 8) {
|
||||||
String Q = i == 9 ? Q(o) : Q(n);
|
String Q = i == 9 ? Q(o) : Q(n);
|
||||||
this.f266x = Q;
|
this.f267x = Q;
|
||||||
try {
|
try {
|
||||||
int parseInt = Integer.parseInt(Q);
|
int parseInt = Integer.parseInt(Q);
|
||||||
this.u = 0;
|
this.u = 0;
|
||||||
|
@ -842,10 +842,10 @@ public final class d extends c {
|
||||||
}
|
}
|
||||||
this.u = 11;
|
this.u = 11;
|
||||||
try {
|
try {
|
||||||
double parseDouble = Double.parseDouble(this.f266x);
|
double parseDouble = Double.parseDouble(this.f267x);
|
||||||
int i5 = (int) parseDouble;
|
int i5 = (int) parseDouble;
|
||||||
if (((double) i5) == parseDouble) {
|
if (((double) i5) == parseDouble) {
|
||||||
this.f266x = null;
|
this.f267x = null;
|
||||||
this.u = 0;
|
this.u = 0;
|
||||||
int[] iArr3 = this.m;
|
int[] iArr3 = this.m;
|
||||||
int i6 = this.j - 1;
|
int i6 = this.j - 1;
|
||||||
|
@ -853,13 +853,13 @@ public final class d extends c {
|
||||||
return i5;
|
return i5;
|
||||||
}
|
}
|
||||||
StringBuilder O3 = a.O("Expected an int but was ");
|
StringBuilder O3 = a.O("Expected an int but was ");
|
||||||
O3.append(this.f266x);
|
O3.append(this.f267x);
|
||||||
O3.append(" at path ");
|
O3.append(" at path ");
|
||||||
O3.append(getPath());
|
O3.append(getPath());
|
||||||
throw new a(O3.toString());
|
throw new a(O3.toString());
|
||||||
} catch (NumberFormatException unused2) {
|
} catch (NumberFormatException unused2) {
|
||||||
StringBuilder O4 = a.O("Expected an int but was ");
|
StringBuilder O4 = a.O("Expected an int but was ");
|
||||||
O4.append(this.f266x);
|
O4.append(this.f267x);
|
||||||
O4.append(" at path ");
|
O4.append(" at path ");
|
||||||
O4.append(getPath());
|
O4.append(getPath());
|
||||||
throw new a(O4.toString());
|
throw new a(O4.toString());
|
||||||
|
@ -880,7 +880,7 @@ public final class d extends c {
|
||||||
} else if (i == 12) {
|
} else if (i == 12) {
|
||||||
str = Q(n);
|
str = Q(n);
|
||||||
} else if (i == 15) {
|
} else if (i == 15) {
|
||||||
str = this.f266x;
|
str = this.f267x;
|
||||||
} else {
|
} else {
|
||||||
StringBuilder O = a.O("Expected a name but was ");
|
StringBuilder O = a.O("Expected a name but was ");
|
||||||
O.append(w());
|
O.append(w());
|
||||||
|
@ -907,12 +907,12 @@ public final class d extends c {
|
||||||
} else if (i == 8) {
|
} else if (i == 8) {
|
||||||
str = Q(n);
|
str = Q(n);
|
||||||
} else if (i == 11) {
|
} else if (i == 11) {
|
||||||
str = this.f266x;
|
str = this.f267x;
|
||||||
this.f266x = null;
|
this.f267x = null;
|
||||||
} else if (i == 16) {
|
} else if (i == 16) {
|
||||||
str = Long.toString(this.v);
|
str = Long.toString(this.v);
|
||||||
} else if (i == 17) {
|
} else if (i == 17) {
|
||||||
str = this.t.H((long) this.f265w);
|
str = this.t.H((long) this.f266w);
|
||||||
} else {
|
} else {
|
||||||
StringBuilder O = a.O("Expected a string but was ");
|
StringBuilder O = a.O("Expected a string but was ");
|
||||||
O.append(w());
|
O.append(w());
|
||||||
|
@ -985,7 +985,7 @@ public final class d extends c {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
if (i == 15) {
|
if (i == 15) {
|
||||||
return K(this.f266x, aVar);
|
return K(this.f267x, aVar);
|
||||||
}
|
}
|
||||||
int u0 = this.s.u0(aVar.b);
|
int u0 = this.s.u0(aVar.b);
|
||||||
if (u0 != -1) {
|
if (u0 != -1) {
|
||||||
|
@ -998,7 +998,7 @@ public final class d extends c {
|
||||||
int K = K(s, aVar);
|
int K = K(s, aVar);
|
||||||
if (K == -1) {
|
if (K == -1) {
|
||||||
this.u = 15;
|
this.u = 15;
|
||||||
this.f266x = s;
|
this.f267x = s;
|
||||||
this.l[this.j - 1] = str;
|
this.l[this.j - 1] = str;
|
||||||
}
|
}
|
||||||
return K;
|
return K;
|
||||||
|
|
|
@ -7,5 +7,5 @@ public class n {
|
||||||
public static final c.a b = c.a.a("p", "k");
|
public static final c.a b = c.a.a("p", "k");
|
||||||
|
|
||||||
/* renamed from: c reason: collision with root package name */
|
/* renamed from: c reason: collision with root package name */
|
||||||
public static final c.a f267c = c.a.a("n", "v");
|
public static final c.a f268c = c.a.a("n", "v");
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,7 +19,7 @@ public class q {
|
||||||
public static SparseArrayCompat<WeakReference<Interpolator>> b;
|
public static SparseArrayCompat<WeakReference<Interpolator>> b;
|
||||||
|
|
||||||
/* renamed from: c reason: collision with root package name */
|
/* renamed from: c reason: collision with root package name */
|
||||||
public static c.a f268c = c.a.a("t", "s", "e", "o", "i", "h", "to", "ti");
|
public static c.a f269c = c.a.a("t", "s", "e", "o", "i", "h", "to", "ti");
|
||||||
|
|
||||||
public static <T> a<T> a(c cVar, d dVar, float f, h0<T> h0Var, boolean z2) throws IOException {
|
public static <T> a<T> a(c cVar, d dVar, float f, h0<T> h0Var, boolean z2) throws IOException {
|
||||||
T t;
|
T t;
|
||||||
|
@ -40,7 +40,7 @@ public class q {
|
||||||
boolean z3 = false;
|
boolean z3 = false;
|
||||||
float f2 = 0.0f;
|
float f2 = 0.0f;
|
||||||
while (cVar.e()) {
|
while (cVar.e()) {
|
||||||
switch (cVar.z(f268c)) {
|
switch (cVar.z(f269c)) {
|
||||||
case 0:
|
case 0:
|
||||||
f2 = (float) cVar.p();
|
f2 = (float) cVar.p();
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -54,15 +54,15 @@ public class r {
|
||||||
i2++;
|
i2++;
|
||||||
a aVar2 = (a) list.get(i2);
|
a aVar2 = (a) list.get(i2);
|
||||||
aVar.f = Float.valueOf(aVar2.e);
|
aVar.f = Float.valueOf(aVar2.e);
|
||||||
if (aVar.f273c == null && (t = aVar2.b) != null) {
|
if (aVar.f274c == null && (t = aVar2.b) != null) {
|
||||||
aVar.f273c = t;
|
aVar.f274c = t;
|
||||||
if (aVar instanceof h) {
|
if (aVar instanceof h) {
|
||||||
((h) aVar).e();
|
((h) aVar).e();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
a aVar3 = (a) list.get(i);
|
a aVar3 = (a) list.get(i);
|
||||||
if ((aVar3.b == null || aVar3.f273c == null) && list.size() > 1) {
|
if ((aVar3.b == null || aVar3.f274c == null) && list.size() > 1) {
|
||||||
list.remove(aVar3);
|
list.remove(aVar3);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ public class s {
|
||||||
public static final c.a b = c.a.a("d", "a");
|
public static final c.a b = c.a.a("d", "a");
|
||||||
|
|
||||||
/* renamed from: c reason: collision with root package name */
|
/* renamed from: c reason: collision with root package name */
|
||||||
public static final c.a f269c = c.a.a("nm");
|
public static final c.a f270c = c.a.a("nm");
|
||||||
|
|
||||||
/* JADX DEBUG: Failed to insert an additional move for type inference into block B:226:0x0303 */
|
/* JADX DEBUG: Failed to insert an additional move for type inference into block B:226:0x0303 */
|
||||||
/* JADX DEBUG: Multi-variable search result rejected for r6v10, resolved type: c.c.a.y.k.d */
|
/* JADX DEBUG: Multi-variable search result rejected for r6v10, resolved type: c.c.a.y.k.d */
|
||||||
|
@ -342,7 +342,7 @@ public class s {
|
||||||
while (cVar.e()) {
|
while (cVar.e()) {
|
||||||
cVar.b();
|
cVar.b();
|
||||||
while (cVar.e()) {
|
while (cVar.e()) {
|
||||||
if (cVar.z(f269c) != 0) {
|
if (cVar.z(f270c) != 0) {
|
||||||
cVar.B();
|
cVar.B();
|
||||||
cVar.C();
|
cVar.C();
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -21,7 +21,7 @@ public class t {
|
||||||
public static c.a b = c.a.a(ModelAuditLogEntry.CHANGE_KEY_ID, "layers", "w", "h", "p", "u");
|
public static c.a b = c.a.a(ModelAuditLogEntry.CHANGE_KEY_ID, "layers", "w", "h", "p", "u");
|
||||||
|
|
||||||
/* renamed from: c reason: collision with root package name */
|
/* renamed from: c reason: collision with root package name */
|
||||||
public static final c.a f270c = c.a.a("list");
|
public static final c.a f271c = c.a.a("list");
|
||||||
public static final c.a d = c.a.a("cm", "tm", "dr");
|
public static final c.a d = c.a.a("cm", "tm", "dr");
|
||||||
|
|
||||||
public static d a(c cVar) throws IOException {
|
public static d a(c cVar) throws IOException {
|
||||||
|
@ -177,7 +177,7 @@ public class t {
|
||||||
f2 = f6;
|
f2 = f6;
|
||||||
cVar.b();
|
cVar.b();
|
||||||
while (cVar.e()) {
|
while (cVar.e()) {
|
||||||
if (cVar.z(f270c) != 0) {
|
if (cVar.z(f271c) != 0) {
|
||||||
cVar.B();
|
cVar.B();
|
||||||
cVar.C();
|
cVar.C();
|
||||||
} else {
|
} else {
|
||||||
|
@ -344,7 +344,7 @@ public class t {
|
||||||
dVar.m = f4;
|
dVar.m = f4;
|
||||||
dVar.i = arrayList3;
|
dVar.i = arrayList3;
|
||||||
dVar.h = longSparseArray;
|
dVar.h = longSparseArray;
|
||||||
dVar.f274c = hashMap;
|
dVar.f275c = hashMap;
|
||||||
dVar.d = hashMap2;
|
dVar.d = hashMap2;
|
||||||
dVar.g = sparseArrayCompat2;
|
dVar.g = sparseArrayCompat2;
|
||||||
dVar.e = hashMap3;
|
dVar.e = hashMap3;
|
||||||
|
|
|
@ -21,7 +21,7 @@ public class d extends a implements Choreographer.FrameCallback {
|
||||||
@Nullable
|
@Nullable
|
||||||
|
|
||||||
/* renamed from: r reason: collision with root package name */
|
/* renamed from: r reason: collision with root package name */
|
||||||
public c.c.a.d f271r;
|
public c.c.a.d f272r;
|
||||||
@VisibleForTesting
|
@VisibleForTesting
|
||||||
public boolean s = false;
|
public boolean s = false;
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ public class d extends a implements Choreographer.FrameCallback {
|
||||||
@Override // android.view.Choreographer.FrameCallback
|
@Override // android.view.Choreographer.FrameCallback
|
||||||
public void doFrame(long j) {
|
public void doFrame(long j) {
|
||||||
l();
|
l();
|
||||||
c.c.a.d dVar = this.f271r;
|
c.c.a.d dVar = this.f272r;
|
||||||
if (dVar != null && this.s) {
|
if (dVar != null && this.s) {
|
||||||
long j2 = this.m;
|
long j2 = this.m;
|
||||||
long j3 = 0;
|
long j3 = 0;
|
||||||
|
@ -77,7 +77,7 @@ public class d extends a implements Choreographer.FrameCallback {
|
||||||
b(k());
|
b(k());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (this.f271r != null) {
|
if (this.f272r != null) {
|
||||||
float f3 = this.n;
|
float f3 = this.n;
|
||||||
if (f3 < this.p || f3 > this.q) {
|
if (f3 < this.p || f3 > this.q) {
|
||||||
throw new IllegalStateException(String.format("Frame must be [%f,%f]. It is %f", Float.valueOf(this.p), Float.valueOf(this.q), Float.valueOf(this.n)));
|
throw new IllegalStateException(String.format("Frame must be [%f,%f]. It is %f", Float.valueOf(this.p), Float.valueOf(this.q), Float.valueOf(this.n)));
|
||||||
|
@ -99,7 +99,7 @@ public class d extends a implements Choreographer.FrameCallback {
|
||||||
float j;
|
float j;
|
||||||
float i;
|
float i;
|
||||||
float j2;
|
float j2;
|
||||||
if (this.f271r == null) {
|
if (this.f272r == null) {
|
||||||
return 0.0f;
|
return 0.0f;
|
||||||
}
|
}
|
||||||
if (k()) {
|
if (k()) {
|
||||||
|
@ -121,7 +121,7 @@ public class d extends a implements Choreographer.FrameCallback {
|
||||||
|
|
||||||
@Override // android.animation.ValueAnimator, android.animation.Animator
|
@Override // android.animation.ValueAnimator, android.animation.Animator
|
||||||
public long getDuration() {
|
public long getDuration() {
|
||||||
c.c.a.d dVar = this.f271r;
|
c.c.a.d dVar = this.f272r;
|
||||||
if (dVar == null) {
|
if (dVar == null) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -130,7 +130,7 @@ public class d extends a implements Choreographer.FrameCallback {
|
||||||
|
|
||||||
@FloatRange(from = ShadowDrawableWrapper.COS_45, to = 1.0d)
|
@FloatRange(from = ShadowDrawableWrapper.COS_45, to = 1.0d)
|
||||||
public float h() {
|
public float h() {
|
||||||
c.c.a.d dVar = this.f271r;
|
c.c.a.d dVar = this.f272r;
|
||||||
if (dVar == null) {
|
if (dVar == null) {
|
||||||
return 0.0f;
|
return 0.0f;
|
||||||
}
|
}
|
||||||
|
@ -140,7 +140,7 @@ public class d extends a implements Choreographer.FrameCallback {
|
||||||
}
|
}
|
||||||
|
|
||||||
public float i() {
|
public float i() {
|
||||||
c.c.a.d dVar = this.f271r;
|
c.c.a.d dVar = this.f272r;
|
||||||
if (dVar == null) {
|
if (dVar == null) {
|
||||||
return 0.0f;
|
return 0.0f;
|
||||||
}
|
}
|
||||||
|
@ -154,7 +154,7 @@ public class d extends a implements Choreographer.FrameCallback {
|
||||||
}
|
}
|
||||||
|
|
||||||
public float j() {
|
public float j() {
|
||||||
c.c.a.d dVar = this.f271r;
|
c.c.a.d dVar = this.f272r;
|
||||||
if (dVar == null) {
|
if (dVar == null) {
|
||||||
return 0.0f;
|
return 0.0f;
|
||||||
}
|
}
|
||||||
|
@ -189,7 +189,7 @@ public class d extends a implements Choreographer.FrameCallback {
|
||||||
|
|
||||||
public void o(float f, float f2) {
|
public void o(float f, float f2) {
|
||||||
if (f <= f2) {
|
if (f <= f2) {
|
||||||
c.c.a.d dVar = this.f271r;
|
c.c.a.d dVar = this.f272r;
|
||||||
float f3 = dVar == null ? -3.4028235E38f : dVar.k;
|
float f3 = dVar == null ? -3.4028235E38f : dVar.k;
|
||||||
float f4 = dVar == null ? Float.MAX_VALUE : dVar.l;
|
float f4 = dVar == null ? Float.MAX_VALUE : dVar.l;
|
||||||
this.p = f.b(f, f3, f4);
|
this.p = f.b(f, f3, f4);
|
||||||
|
|
|
@ -17,7 +17,7 @@ public final class g {
|
||||||
public static final Path b = new Path();
|
public static final Path b = new Path();
|
||||||
|
|
||||||
/* renamed from: c reason: collision with root package name */
|
/* renamed from: c reason: collision with root package name */
|
||||||
public static final Path f272c = new Path();
|
public static final Path f273c = new Path();
|
||||||
public static final float[] d = new float[4];
|
public static final float[] d = new float[4];
|
||||||
public static final float e = ((float) (Math.sqrt(2.0d) / 2.0d));
|
public static final float e = ((float) (Math.sqrt(2.0d) / 2.0d));
|
||||||
public static float f = -1.0f;
|
public static float f = -1.0f;
|
||||||
|
@ -59,12 +59,12 @@ public final class g {
|
||||||
path2.reset();
|
path2.reset();
|
||||||
pathMeasure.getSegment(min, max, path2, true);
|
pathMeasure.getSegment(min, max, path2, true);
|
||||||
if (max > length) {
|
if (max > length) {
|
||||||
Path path3 = f272c;
|
Path path3 = f273c;
|
||||||
path3.reset();
|
path3.reset();
|
||||||
pathMeasure.getSegment(0.0f, max % length, path3, true);
|
pathMeasure.getSegment(0.0f, max % length, path3, true);
|
||||||
path2.addPath(path3);
|
path2.addPath(path3);
|
||||||
} else if (min < 0.0f) {
|
} else if (min < 0.0f) {
|
||||||
Path path4 = f272c;
|
Path path4 = f273c;
|
||||||
path4.reset();
|
path4.reset();
|
||||||
pathMeasure.getSegment(min + length, length, path4, true);
|
pathMeasure.getSegment(min + length, length, path4, true);
|
||||||
path2.addPath(path4);
|
path2.addPath(path4);
|
||||||
|
|
|
@ -14,7 +14,7 @@ public class a<T> {
|
||||||
@Nullable
|
@Nullable
|
||||||
|
|
||||||
/* renamed from: c reason: collision with root package name */
|
/* renamed from: c reason: collision with root package name */
|
||||||
public T f273c;
|
public T f274c;
|
||||||
@Nullable
|
@Nullable
|
||||||
public final Interpolator d;
|
public final Interpolator d;
|
||||||
public final float e;
|
public final float e;
|
||||||
|
@ -40,7 +40,7 @@ public class a<T> {
|
||||||
this.n = null;
|
this.n = null;
|
||||||
this.a = dVar;
|
this.a = dVar;
|
||||||
this.b = t;
|
this.b = t;
|
||||||
this.f273c = t2;
|
this.f274c = t2;
|
||||||
this.d = interpolator;
|
this.d = interpolator;
|
||||||
this.e = f;
|
this.e = f;
|
||||||
this.f = f2;
|
this.f = f2;
|
||||||
|
@ -57,7 +57,7 @@ public class a<T> {
|
||||||
this.n = null;
|
this.n = null;
|
||||||
this.a = null;
|
this.a = null;
|
||||||
this.b = t;
|
this.b = t;
|
||||||
this.f273c = t;
|
this.f274c = t;
|
||||||
this.d = null;
|
this.d = null;
|
||||||
this.e = Float.MIN_VALUE;
|
this.e = Float.MIN_VALUE;
|
||||||
this.f = Float.valueOf(Float.MAX_VALUE);
|
this.f = Float.valueOf(Float.MAX_VALUE);
|
||||||
|
@ -100,7 +100,7 @@ public class a<T> {
|
||||||
StringBuilder O = c.d.b.a.a.O("Keyframe{startValue=");
|
StringBuilder O = c.d.b.a.a.O("Keyframe{startValue=");
|
||||||
O.append((Object) this.b);
|
O.append((Object) this.b);
|
||||||
O.append(", endValue=");
|
O.append(", endValue=");
|
||||||
O.append((Object) this.f273c);
|
O.append((Object) this.f274c);
|
||||||
O.append(", startFrame=");
|
O.append(", startFrame=");
|
||||||
O.append(this.e);
|
O.append(this.e);
|
||||||
O.append(", endFrame=");
|
O.append(", endFrame=");
|
||||||
|
|
|
@ -17,7 +17,7 @@ public class d {
|
||||||
public final HashSet<String> b = new HashSet<>();
|
public final HashSet<String> b = new HashSet<>();
|
||||||
|
|
||||||
/* renamed from: c reason: collision with root package name */
|
/* renamed from: c reason: collision with root package name */
|
||||||
public Map<String, List<e>> f274c;
|
public Map<String, List<e>> f275c;
|
||||||
public Map<String, k> d;
|
public Map<String, k> d;
|
||||||
public Map<String, c.c.a.y.d> e;
|
public Map<String, c.c.a.y.d> e;
|
||||||
public List<i> f;
|
public List<i> f;
|
||||||
|
|
|
@ -31,7 +31,7 @@ public class f implements Callable<p<d>> {
|
||||||
Pair pair;
|
Pair pair;
|
||||||
c cVar = new c(this.i, this.j, this.k);
|
c cVar = new c(this.i, this.j, this.k);
|
||||||
a aVar = a.ZIP;
|
a aVar = a.ZIP;
|
||||||
b bVar = cVar.f360c;
|
b bVar = cVar.f361c;
|
||||||
d dVar = null;
|
d dVar = null;
|
||||||
if (bVar != null) {
|
if (bVar != null) {
|
||||||
String str = cVar.b;
|
String str = cVar.b;
|
||||||
|
|
|
@ -41,7 +41,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
||||||
@Nullable
|
@Nullable
|
||||||
|
|
||||||
/* renamed from: r reason: collision with root package name */
|
/* renamed from: r reason: collision with root package name */
|
||||||
public c.c.a.x.b f275r;
|
public c.c.a.x.b f276r;
|
||||||
@Nullable
|
@Nullable
|
||||||
public String s;
|
public String s;
|
||||||
@Nullable
|
@Nullable
|
||||||
|
@ -52,16 +52,16 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
||||||
@Nullable
|
@Nullable
|
||||||
|
|
||||||
/* renamed from: w reason: collision with root package name */
|
/* renamed from: w reason: collision with root package name */
|
||||||
public c.c.a.y.m.c f276w;
|
public c.c.a.y.m.c f277w;
|
||||||
|
|
||||||
/* renamed from: x reason: collision with root package name */
|
/* renamed from: x reason: collision with root package name */
|
||||||
public int f277x;
|
public int f278x;
|
||||||
|
|
||||||
/* renamed from: y reason: collision with root package name */
|
/* renamed from: y reason: collision with root package name */
|
||||||
public boolean f278y;
|
public boolean f279y;
|
||||||
|
|
||||||
/* renamed from: z reason: collision with root package name */
|
/* renamed from: z reason: collision with root package name */
|
||||||
public boolean f279z;
|
public boolean f280z;
|
||||||
|
|
||||||
/* compiled from: LottieDrawable */
|
/* compiled from: LottieDrawable */
|
||||||
public class a implements o {
|
public class a implements o {
|
||||||
|
@ -127,17 +127,17 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
||||||
public final /* synthetic */ Object b;
|
public final /* synthetic */ Object b;
|
||||||
|
|
||||||
/* renamed from: c reason: collision with root package name */
|
/* renamed from: c reason: collision with root package name */
|
||||||
public final /* synthetic */ c.c.a.c0.c f281c;
|
public final /* synthetic */ c.c.a.c0.c f282c;
|
||||||
|
|
||||||
public e(c.c.a.y.f fVar, Object obj, c.c.a.c0.c cVar) {
|
public e(c.c.a.y.f fVar, Object obj, c.c.a.c0.c cVar) {
|
||||||
this.a = fVar;
|
this.a = fVar;
|
||||||
this.b = obj;
|
this.b = obj;
|
||||||
this.f281c = cVar;
|
this.f282c = cVar;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // c.c.a.j.o
|
@Override // c.c.a.j.o
|
||||||
public void a(d dVar) {
|
public void a(d dVar) {
|
||||||
j.this.a(this.a, this.b, this.f281c);
|
j.this.a(this.a, this.b, this.f282c);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -149,7 +149,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
||||||
@Override // android.animation.ValueAnimator.AnimatorUpdateListener
|
@Override // android.animation.ValueAnimator.AnimatorUpdateListener
|
||||||
public void onAnimationUpdate(ValueAnimator valueAnimator) {
|
public void onAnimationUpdate(ValueAnimator valueAnimator) {
|
||||||
j jVar = j.this;
|
j jVar = j.this;
|
||||||
c.c.a.y.m.c cVar = jVar.f276w;
|
c.c.a.y.m.c cVar = jVar.f277w;
|
||||||
if (cVar != null) {
|
if (cVar != null) {
|
||||||
cVar.o(jVar.k.h());
|
cVar.o(jVar.k.h());
|
||||||
}
|
}
|
||||||
|
@ -194,10 +194,10 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
||||||
|
|
||||||
/* compiled from: LottieDrawable */
|
/* compiled from: LottieDrawable */
|
||||||
/* renamed from: c.c.a.j$j reason: collision with other inner class name */
|
/* renamed from: c.c.a.j$j reason: collision with other inner class name */
|
||||||
public class C0054j implements o {
|
public class C0055j implements o {
|
||||||
public final /* synthetic */ float a;
|
public final /* synthetic */ float a;
|
||||||
|
|
||||||
public C0054j(float f) {
|
public C0055j(float f) {
|
||||||
this.a = f;
|
this.a = f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -278,7 +278,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
||||||
this.o = new ArrayList<>();
|
this.o = new ArrayList<>();
|
||||||
f fVar = new f();
|
f fVar = new f();
|
||||||
this.p = fVar;
|
this.p = fVar;
|
||||||
this.f277x = 255;
|
this.f278x = 255;
|
||||||
this.A = true;
|
this.A = true;
|
||||||
this.B = false;
|
this.B = false;
|
||||||
dVar.i.add(fVar);
|
dVar.i.add(fVar);
|
||||||
|
@ -286,7 +286,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
||||||
|
|
||||||
public <T> void a(c.c.a.y.f fVar, T t, c.c.a.c0.c<T> cVar) {
|
public <T> void a(c.c.a.y.f fVar, T t, c.c.a.c0.c<T> cVar) {
|
||||||
List list;
|
List list;
|
||||||
c.c.a.y.m.c cVar2 = this.f276w;
|
c.c.a.y.m.c cVar2 = this.f277w;
|
||||||
if (cVar2 == null) {
|
if (cVar2 == null) {
|
||||||
this.o.add(new e(fVar, t, cVar));
|
this.o.add(new e(fVar, t, cVar));
|
||||||
return;
|
return;
|
||||||
|
@ -295,7 +295,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
||||||
if (fVar == c.c.a.y.f.a) {
|
if (fVar == c.c.a.y.f.a) {
|
||||||
cVar2.g(t, cVar);
|
cVar2.g(t, cVar);
|
||||||
} else {
|
} else {
|
||||||
c.c.a.y.g gVar = fVar.f324c;
|
c.c.a.y.g gVar = fVar.f325c;
|
||||||
if (gVar != null) {
|
if (gVar != null) {
|
||||||
gVar.g(t, cVar);
|
gVar.g(t, cVar);
|
||||||
} else {
|
} else {
|
||||||
|
@ -304,11 +304,11 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
||||||
list = Collections.emptyList();
|
list = Collections.emptyList();
|
||||||
} else {
|
} else {
|
||||||
ArrayList arrayList = new ArrayList();
|
ArrayList arrayList = new ArrayList();
|
||||||
this.f276w.c(fVar, 0, arrayList, new c.c.a.y.f(new String[0]));
|
this.f277w.c(fVar, 0, arrayList, new c.c.a.y.f(new String[0]));
|
||||||
list = arrayList;
|
list = arrayList;
|
||||||
}
|
}
|
||||||
for (int i2 = 0; i2 < list.size(); i2++) {
|
for (int i2 = 0; i2 < list.size(); i2++) {
|
||||||
((c.c.a.y.f) list.get(i2)).f324c.g(t, cVar);
|
((c.c.a.y.f) list.get(i2)).f325c.g(t, cVar);
|
||||||
}
|
}
|
||||||
z2 = true ^ list.isEmpty();
|
z2 = true ^ list.isEmpty();
|
||||||
}
|
}
|
||||||
|
@ -327,7 +327,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
||||||
Rect rect = dVar.j;
|
Rect rect = dVar.j;
|
||||||
c.c.a.y.m.e eVar = new c.c.a.y.m.e(Collections.emptyList(), dVar, "__container", -1, e.a.PRE_COMP, -1, null, Collections.emptyList(), new c.c.a.y.k.l(null, null, null, null, null, null, null, null, null), 0, 0, 0, 0.0f, 0.0f, rect.width(), rect.height(), null, null, Collections.emptyList(), 1, null, false);
|
c.c.a.y.m.e eVar = new c.c.a.y.m.e(Collections.emptyList(), dVar, "__container", -1, e.a.PRE_COMP, -1, null, Collections.emptyList(), new c.c.a.y.k.l(null, null, null, null, null, null, null, null, null), 0, 0, 0, 0.0f, 0.0f, rect.width(), rect.height(), null, null, Collections.emptyList(), 1, null, false);
|
||||||
d dVar2 = this.j;
|
d dVar2 = this.j;
|
||||||
this.f276w = new c.c.a.y.m.c(this, eVar, dVar2.i, dVar2);
|
this.f277w = new c.c.a.y.m.c(this, eVar, dVar2.i, dVar2);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void c() {
|
public void c() {
|
||||||
|
@ -336,10 +336,10 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
||||||
dVar.cancel();
|
dVar.cancel();
|
||||||
}
|
}
|
||||||
this.j = null;
|
this.j = null;
|
||||||
this.f276w = null;
|
this.f277w = null;
|
||||||
this.f275r = null;
|
this.f276r = null;
|
||||||
c.c.a.b0.d dVar2 = this.k;
|
c.c.a.b0.d dVar2 = this.k;
|
||||||
dVar2.f271r = null;
|
dVar2.f272r = null;
|
||||||
dVar2.p = -2.14748365E9f;
|
dVar2.p = -2.14748365E9f;
|
||||||
dVar2.q = 2.14748365E9f;
|
dVar2.q = 2.14748365E9f;
|
||||||
invalidateSelf();
|
invalidateSelf();
|
||||||
|
@ -350,7 +350,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
||||||
float f3;
|
float f3;
|
||||||
int i2 = -1;
|
int i2 = -1;
|
||||||
if (ImageView.ScaleType.FIT_XY == this.q) {
|
if (ImageView.ScaleType.FIT_XY == this.q) {
|
||||||
if (this.f276w != null) {
|
if (this.f277w != null) {
|
||||||
Rect bounds = getBounds();
|
Rect bounds = getBounds();
|
||||||
float width = ((float) bounds.width()) / ((float) this.j.j.width());
|
float width = ((float) bounds.width()) / ((float) this.j.j.width());
|
||||||
float height = ((float) bounds.height()) / ((float) this.j.j.height());
|
float height = ((float) bounds.height()) / ((float) this.j.j.height());
|
||||||
|
@ -375,12 +375,12 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
||||||
}
|
}
|
||||||
this.i.reset();
|
this.i.reset();
|
||||||
this.i.preScale(width, height);
|
this.i.preScale(width, height);
|
||||||
this.f276w.f(canvas, this.i, this.f277x);
|
this.f277w.f(canvas, this.i, this.f278x);
|
||||||
if (i2 > 0) {
|
if (i2 > 0) {
|
||||||
canvas.restoreToCount(i2);
|
canvas.restoreToCount(i2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (this.f276w != null) {
|
} else if (this.f277w != null) {
|
||||||
float f6 = this.l;
|
float f6 = this.l;
|
||||||
float min2 = Math.min(((float) canvas.getWidth()) / ((float) this.j.j.width()), ((float) canvas.getHeight()) / ((float) this.j.j.height()));
|
float min2 = Math.min(((float) canvas.getWidth()) / ((float) this.j.j.width()), ((float) canvas.getHeight()) / ((float) this.j.j.height()));
|
||||||
if (f6 > min2) {
|
if (f6 > min2) {
|
||||||
|
@ -401,7 +401,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
||||||
}
|
}
|
||||||
this.i.reset();
|
this.i.reset();
|
||||||
this.i.preScale(min2, min2);
|
this.i.preScale(min2, min2);
|
||||||
this.f276w.f(canvas, this.i, this.f277x);
|
this.f277w.f(canvas, this.i, this.f278x);
|
||||||
if (i2 > 0) {
|
if (i2 > 0) {
|
||||||
canvas.restoreToCount(i2);
|
canvas.restoreToCount(i2);
|
||||||
}
|
}
|
||||||
|
@ -438,7 +438,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
||||||
|
|
||||||
@Override // android.graphics.drawable.Drawable
|
@Override // android.graphics.drawable.Drawable
|
||||||
public int getAlpha() {
|
public int getAlpha() {
|
||||||
return this.f277x;
|
return this.f278x;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // android.graphics.drawable.Drawable
|
@Override // android.graphics.drawable.Drawable
|
||||||
|
@ -502,7 +502,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
||||||
|
|
||||||
@MainThread
|
@MainThread
|
||||||
public void j() {
|
public void j() {
|
||||||
if (this.f276w == null) {
|
if (this.f277w == null) {
|
||||||
this.o.add(new g());
|
this.o.add(new g());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -530,7 +530,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
||||||
|
|
||||||
@MainThread
|
@MainThread
|
||||||
public void k() {
|
public void k() {
|
||||||
if (this.f276w == null) {
|
if (this.f277w == null) {
|
||||||
this.o.add(new h());
|
this.o.add(new h());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -576,7 +576,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
||||||
}
|
}
|
||||||
c.c.a.y.i d2 = dVar.d(str);
|
c.c.a.y.i d2 = dVar.d(str);
|
||||||
if (d2 != null) {
|
if (d2 != null) {
|
||||||
m((int) (d2.b + d2.f325c));
|
m((int) (d2.b + d2.f326c));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
throw new IllegalArgumentException(c.d.b.a.a.v("Cannot find marker with name ", str, "."));
|
throw new IllegalArgumentException(c.d.b.a.a.v("Cannot find marker with name ", str, "."));
|
||||||
|
@ -608,7 +608,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
||||||
c.c.a.y.i d2 = dVar.d(str);
|
c.c.a.y.i d2 = dVar.d(str);
|
||||||
if (d2 != null) {
|
if (d2 != null) {
|
||||||
int i2 = (int) d2.b;
|
int i2 = (int) d2.b;
|
||||||
p(i2, ((int) d2.f325c) + i2);
|
p(i2, ((int) d2.f326c) + i2);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
throw new IllegalArgumentException(c.d.b.a.a.v("Cannot find marker with name ", str, "."));
|
throw new IllegalArgumentException(c.d.b.a.a.v("Cannot find marker with name ", str, "."));
|
||||||
|
@ -647,7 +647,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
||||||
|
|
||||||
@Override // android.graphics.drawable.Drawable
|
@Override // android.graphics.drawable.Drawable
|
||||||
public void setAlpha(@IntRange(from = 0, to = 255) int i2) {
|
public void setAlpha(@IntRange(from = 0, to = 255) int i2) {
|
||||||
this.f277x = i2;
|
this.f278x = i2;
|
||||||
invalidateSelf();
|
invalidateSelf();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -672,7 +672,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
|
||||||
public void t(float f2) {
|
public void t(float f2) {
|
||||||
d dVar = this.j;
|
d dVar = this.j;
|
||||||
if (dVar == null) {
|
if (dVar == null) {
|
||||||
this.o.add(new C0054j(f2));
|
this.o.add(new C0055j(f2));
|
||||||
} else {
|
} else {
|
||||||
r((int) c.c.a.b0.f.e(dVar.k, dVar.l, f2));
|
r((int) c.c.a.b0.f.e(dVar.k, dVar.l, f2));
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,7 @@ public class k {
|
||||||
public final int b;
|
public final int b;
|
||||||
|
|
||||||
/* renamed from: c reason: collision with root package name */
|
/* renamed from: c reason: collision with root package name */
|
||||||
public final String f282c;
|
public final String f283c;
|
||||||
public final String d;
|
public final String d;
|
||||||
@Nullable
|
@Nullable
|
||||||
public Bitmap e;
|
public Bitmap e;
|
||||||
|
@ -18,7 +18,7 @@ public class k {
|
||||||
public k(int i, int i2, String str, String str2, String str3) {
|
public k(int i, int i2, String str, String str2, String str3) {
|
||||||
this.a = i;
|
this.a = i;
|
||||||
this.b = i2;
|
this.b = i2;
|
||||||
this.f282c = str;
|
this.f283c = str;
|
||||||
this.d = str2;
|
this.d = str2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,7 @@ public interface o {
|
||||||
public static final Integer b = 2;
|
public static final Integer b = 2;
|
||||||
|
|
||||||
/* renamed from: c reason: collision with root package name */
|
/* renamed from: c reason: collision with root package name */
|
||||||
public static final Integer f283c = 3;
|
public static final Integer f284c = 3;
|
||||||
public static final Integer d = 4;
|
public static final Integer d = 4;
|
||||||
public static final PointF e = new PointF();
|
public static final PointF e = new PointF();
|
||||||
public static final PointF f = new PointF();
|
public static final PointF f = new PointF();
|
||||||
|
@ -30,23 +30,23 @@ public interface o {
|
||||||
public static final Float q = Float.valueOf(4.0f);
|
public static final Float q = Float.valueOf(4.0f);
|
||||||
|
|
||||||
/* renamed from: r reason: collision with root package name */
|
/* renamed from: r reason: collision with root package name */
|
||||||
public static final Float f284r = Float.valueOf(5.0f);
|
public static final Float f285r = Float.valueOf(5.0f);
|
||||||
public static final Float s = Float.valueOf(6.0f);
|
public static final Float s = Float.valueOf(6.0f);
|
||||||
public static final Float t = Float.valueOf(7.0f);
|
public static final Float t = Float.valueOf(7.0f);
|
||||||
public static final Float u = Float.valueOf(8.0f);
|
public static final Float u = Float.valueOf(8.0f);
|
||||||
public static final Float v = Float.valueOf(9.0f);
|
public static final Float v = Float.valueOf(9.0f);
|
||||||
|
|
||||||
/* renamed from: w reason: collision with root package name */
|
/* renamed from: w reason: collision with root package name */
|
||||||
public static final Float f285w = Float.valueOf(10.0f);
|
public static final Float f286w = Float.valueOf(10.0f);
|
||||||
|
|
||||||
/* renamed from: x reason: collision with root package name */
|
/* renamed from: x reason: collision with root package name */
|
||||||
public static final Float f286x = Float.valueOf(11.0f);
|
public static final Float f287x = Float.valueOf(11.0f);
|
||||||
|
|
||||||
/* renamed from: y reason: collision with root package name */
|
/* renamed from: y reason: collision with root package name */
|
||||||
public static final Float f287y = Float.valueOf(12.0f);
|
public static final Float f288y = Float.valueOf(12.0f);
|
||||||
|
|
||||||
/* renamed from: z reason: collision with root package name */
|
/* renamed from: z reason: collision with root package name */
|
||||||
public static final Float f288z = Float.valueOf(12.1f);
|
public static final Float f289z = Float.valueOf(12.1f);
|
||||||
|
|
||||||
static {
|
static {
|
||||||
Float valueOf = Float.valueOf(0.0f);
|
Float valueOf = Float.valueOf(0.0f);
|
||||||
|
|
|
@ -31,7 +31,7 @@ public class q implements Runnable {
|
||||||
r rVar2 = this.i;
|
r rVar2 = this.i;
|
||||||
Throwable th = pVar.b;
|
Throwable th = pVar.b;
|
||||||
synchronized (rVar2) {
|
synchronized (rVar2) {
|
||||||
ArrayList arrayList = new ArrayList(rVar2.f289c);
|
ArrayList arrayList = new ArrayList(rVar2.f290c);
|
||||||
if (arrayList.isEmpty()) {
|
if (arrayList.isEmpty()) {
|
||||||
c.c("Lottie encountered an error but no failure listener was added:", th);
|
c.c("Lottie encountered an error but no failure listener was added:", th);
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -17,7 +17,7 @@ public class r<T> {
|
||||||
public final Set<l<T>> b = new LinkedHashSet(1);
|
public final Set<l<T>> b = new LinkedHashSet(1);
|
||||||
|
|
||||||
/* renamed from: c reason: collision with root package name */
|
/* renamed from: c reason: collision with root package name */
|
||||||
public final Set<l<Throwable>> f289c = new LinkedHashSet(1);
|
public final Set<l<Throwable>> f290c = new LinkedHashSet(1);
|
||||||
public final Handler d = new Handler(Looper.getMainLooper());
|
public final Handler d = new Handler(Looper.getMainLooper());
|
||||||
@Nullable
|
@Nullable
|
||||||
public volatile p<T> e = null;
|
public volatile p<T> e = null;
|
||||||
|
@ -49,7 +49,7 @@ public class r<T> {
|
||||||
if (!(this.e == null || this.e.b == null)) {
|
if (!(this.e == null || this.e.b == null)) {
|
||||||
lVar.a(this.e.b);
|
lVar.a(this.e.b);
|
||||||
}
|
}
|
||||||
this.f289c.add(lVar);
|
this.f290c.add(lVar);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ public class s {
|
||||||
public final Set<a> b = new ArraySet();
|
public final Set<a> b = new ArraySet();
|
||||||
|
|
||||||
/* renamed from: c reason: collision with root package name */
|
/* renamed from: c reason: collision with root package name */
|
||||||
public final Map<String, e> f290c = new HashMap();
|
public final Map<String, e> f291c = new HashMap();
|
||||||
|
|
||||||
/* compiled from: PerformanceTracker */
|
/* compiled from: PerformanceTracker */
|
||||||
public interface a {
|
public interface a {
|
||||||
|
|
|
@ -27,7 +27,7 @@ public abstract class a implements a.b, k, e {
|
||||||
public final Path b = new Path();
|
public final Path b = new Path();
|
||||||
|
|
||||||
/* renamed from: c reason: collision with root package name */
|
/* renamed from: c reason: collision with root package name */
|
||||||
public final Path f291c = new Path();
|
public final Path f292c = new Path();
|
||||||
public final RectF d = new RectF();
|
public final RectF d = new RectF();
|
||||||
public final j e;
|
public final j e;
|
||||||
public final c.c.a.y.m.b f;
|
public final c.c.a.y.m.b f;
|
||||||
|
@ -48,7 +48,7 @@ public abstract class a implements a.b, k, e {
|
||||||
@Nullable
|
@Nullable
|
||||||
public final s b;
|
public final s b;
|
||||||
|
|
||||||
public b(s sVar, C0055a aVar) {
|
public b(s sVar, C0056a aVar) {
|
||||||
this.b = sVar;
|
this.b = sVar;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -106,7 +106,7 @@ public abstract class a implements a.b, k, e {
|
||||||
c cVar = list.get(size);
|
c cVar = list.get(size);
|
||||||
if (cVar instanceof s) {
|
if (cVar instanceof s) {
|
||||||
s sVar2 = (s) cVar;
|
s sVar2 = (s) cVar;
|
||||||
if (sVar2.f307c == 2) {
|
if (sVar2.f308c == 2) {
|
||||||
sVar = sVar2;
|
sVar = sVar2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -119,7 +119,7 @@ public abstract class a implements a.b, k, e {
|
||||||
c cVar2 = list2.get(size2);
|
c cVar2 = list2.get(size2);
|
||||||
if (cVar2 instanceof s) {
|
if (cVar2 instanceof s) {
|
||||||
s sVar3 = (s) cVar2;
|
s sVar3 = (s) cVar2;
|
||||||
if (sVar3.f307c == 2) {
|
if (sVar3.f308c == 2) {
|
||||||
if (bVar != null) {
|
if (bVar != null) {
|
||||||
this.g.add(bVar);
|
this.g.add(bVar);
|
||||||
}
|
}
|
||||||
|
@ -249,15 +249,15 @@ public abstract class a implements a.b, k, e {
|
||||||
int size3 = bVar.a.size() - 1;
|
int size3 = bVar.a.size() - 1;
|
||||||
float f3 = 0.0f;
|
float f3 = 0.0f;
|
||||||
while (size3 >= 0) {
|
while (size3 >= 0) {
|
||||||
this.f291c.set(bVar.a.get(size3).getPath());
|
this.f292c.set(bVar.a.get(size3).getPath());
|
||||||
this.f291c.transform(matrix);
|
this.f292c.transform(matrix);
|
||||||
this.a.setPath(this.f291c, z2);
|
this.a.setPath(this.f292c, z2);
|
||||||
float length2 = this.a.getLength();
|
float length2 = this.a.getLength();
|
||||||
if (floatValue3 > length) {
|
if (floatValue3 > length) {
|
||||||
float f4 = floatValue3 - length;
|
float f4 = floatValue3 - length;
|
||||||
if (f4 < f3 + length2 && f3 < f4) {
|
if (f4 < f3 + length2 && f3 < f4) {
|
||||||
g.a(this.f291c, floatValue2 > length ? (floatValue2 - length) / length2 : 0.0f, Math.min(f4 / length2, f2), 0.0f);
|
g.a(this.f292c, floatValue2 > length ? (floatValue2 - length) / length2 : 0.0f, Math.min(f4 / length2, f2), 0.0f);
|
||||||
canvas.drawPath(this.f291c, this.i);
|
canvas.drawPath(this.f292c, this.i);
|
||||||
f3 += length2;
|
f3 += length2;
|
||||||
size3--;
|
size3--;
|
||||||
z2 = false;
|
z2 = false;
|
||||||
|
@ -267,10 +267,10 @@ public abstract class a implements a.b, k, e {
|
||||||
float f5 = f3 + length2;
|
float f5 = f3 + length2;
|
||||||
if (f5 >= floatValue2 && f3 <= floatValue3) {
|
if (f5 >= floatValue2 && f3 <= floatValue3) {
|
||||||
if (f5 > floatValue3 || floatValue2 >= f3) {
|
if (f5 > floatValue3 || floatValue2 >= f3) {
|
||||||
g.a(this.f291c, floatValue2 < f3 ? 0.0f : (floatValue2 - f3) / length2, floatValue3 > f5 ? 1.0f : (floatValue3 - f3) / length2, 0.0f);
|
g.a(this.f292c, floatValue2 < f3 ? 0.0f : (floatValue2 - f3) / length2, floatValue3 > f5 ? 1.0f : (floatValue3 - f3) / length2, 0.0f);
|
||||||
canvas.drawPath(this.f291c, this.i);
|
canvas.drawPath(this.f292c, this.i);
|
||||||
} else {
|
} else {
|
||||||
canvas.drawPath(this.f291c, this.i);
|
canvas.drawPath(this.f292c, this.i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
f3 += length2;
|
f3 += length2;
|
||||||
|
|
|
@ -23,7 +23,7 @@ public class d implements e, m, a.b, g {
|
||||||
public RectF b;
|
public RectF b;
|
||||||
|
|
||||||
/* renamed from: c reason: collision with root package name */
|
/* renamed from: c reason: collision with root package name */
|
||||||
public final Matrix f292c;
|
public final Matrix f293c;
|
||||||
public final Path d;
|
public final Path d;
|
||||||
public final RectF e;
|
public final RectF e;
|
||||||
public final String f;
|
public final String f;
|
||||||
|
@ -40,7 +40,7 @@ public class d implements e, m, a.b, g {
|
||||||
this(jVar, bVar, r3, r4, r5, r6);
|
this(jVar, bVar, r3, r4, r5, r6);
|
||||||
l lVar;
|
l lVar;
|
||||||
String str = mVar.a;
|
String str = mVar.a;
|
||||||
boolean z2 = mVar.f338c;
|
boolean z2 = mVar.f339c;
|
||||||
List<c.c.a.y.l.b> list = mVar.b;
|
List<c.c.a.y.l.b> list = mVar.b;
|
||||||
ArrayList arrayList = new ArrayList(list.size());
|
ArrayList arrayList = new ArrayList(list.size());
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
@ -68,7 +68,7 @@ public class d implements e, m, a.b, g {
|
||||||
public d(j jVar, b bVar, String str, boolean z2, List<c> list, @Nullable l lVar) {
|
public d(j jVar, b bVar, String str, boolean z2, List<c> list, @Nullable l lVar) {
|
||||||
this.a = new c.c.a.w.a();
|
this.a = new c.c.a.w.a();
|
||||||
this.b = new RectF();
|
this.b = new RectF();
|
||||||
this.f292c = new Matrix();
|
this.f293c = new Matrix();
|
||||||
this.d = new Path();
|
this.d = new Path();
|
||||||
this.e = new RectF();
|
this.e = new RectF();
|
||||||
this.f = str;
|
this.f = str;
|
||||||
|
@ -143,16 +143,16 @@ public class d implements e, m, a.b, g {
|
||||||
|
|
||||||
@Override // c.c.a.w.b.e
|
@Override // c.c.a.w.b.e
|
||||||
public void d(RectF rectF, Matrix matrix, boolean z2) {
|
public void d(RectF rectF, Matrix matrix, boolean z2) {
|
||||||
this.f292c.set(matrix);
|
this.f293c.set(matrix);
|
||||||
o oVar = this.k;
|
o oVar = this.k;
|
||||||
if (oVar != null) {
|
if (oVar != null) {
|
||||||
this.f292c.preConcat(oVar.e());
|
this.f293c.preConcat(oVar.e());
|
||||||
}
|
}
|
||||||
this.e.set(0.0f, 0.0f, 0.0f, 0.0f);
|
this.e.set(0.0f, 0.0f, 0.0f, 0.0f);
|
||||||
for (int size = this.h.size() - 1; size >= 0; size--) {
|
for (int size = this.h.size() - 1; size >= 0; size--) {
|
||||||
c cVar = this.h.get(size);
|
c cVar = this.h.get(size);
|
||||||
if (cVar instanceof e) {
|
if (cVar instanceof e) {
|
||||||
((e) cVar).d(this.e, this.f292c, z2);
|
((e) cVar).d(this.e, this.f293c, z2);
|
||||||
rectF.union(this.e);
|
rectF.union(this.e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -175,15 +175,15 @@ public class d implements e, m, a.b, g {
|
||||||
public void f(Canvas canvas, Matrix matrix, int i) {
|
public void f(Canvas canvas, Matrix matrix, int i) {
|
||||||
boolean z2;
|
boolean z2;
|
||||||
if (!this.g) {
|
if (!this.g) {
|
||||||
this.f292c.set(matrix);
|
this.f293c.set(matrix);
|
||||||
o oVar = this.k;
|
o oVar = this.k;
|
||||||
if (oVar != null) {
|
if (oVar != null) {
|
||||||
this.f292c.preConcat(oVar.e());
|
this.f293c.preConcat(oVar.e());
|
||||||
a<Integer, Integer> aVar = this.k.j;
|
a<Integer, Integer> aVar = this.k.j;
|
||||||
i = (int) ((((((float) (aVar == null ? 100 : aVar.e().intValue())) / 100.0f) * ((float) i)) / 255.0f) * 255.0f);
|
i = (int) ((((((float) (aVar == null ? 100 : aVar.e().intValue())) / 100.0f) * ((float) i)) / 255.0f) * 255.0f);
|
||||||
}
|
}
|
||||||
boolean z3 = false;
|
boolean z3 = false;
|
||||||
if (this.i.f279z) {
|
if (this.i.f280z) {
|
||||||
int i2 = 0;
|
int i2 = 0;
|
||||||
int i3 = 0;
|
int i3 = 0;
|
||||||
while (true) {
|
while (true) {
|
||||||
|
@ -203,7 +203,7 @@ public class d implements e, m, a.b, g {
|
||||||
}
|
}
|
||||||
if (z3) {
|
if (z3) {
|
||||||
this.b.set(0.0f, 0.0f, 0.0f, 0.0f);
|
this.b.set(0.0f, 0.0f, 0.0f, 0.0f);
|
||||||
d(this.b, this.f292c, true);
|
d(this.b, this.f293c, true);
|
||||||
this.a.setAlpha(i);
|
this.a.setAlpha(i);
|
||||||
c.c.a.b0.g.f(canvas, this.b, this.a, 31);
|
c.c.a.b0.g.f(canvas, this.b, this.a, 31);
|
||||||
}
|
}
|
||||||
|
@ -213,7 +213,7 @@ public class d implements e, m, a.b, g {
|
||||||
for (int size = this.h.size() - 1; size >= 0; size--) {
|
for (int size = this.h.size() - 1; size >= 0; size--) {
|
||||||
c cVar = this.h.get(size);
|
c cVar = this.h.get(size);
|
||||||
if (cVar instanceof e) {
|
if (cVar instanceof e) {
|
||||||
((e) cVar).f(canvas, this.f292c, i);
|
((e) cVar).f(canvas, this.f293c, i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (z3) {
|
if (z3) {
|
||||||
|
@ -237,10 +237,10 @@ public class d implements e, m, a.b, g {
|
||||||
|
|
||||||
@Override // c.c.a.w.b.m
|
@Override // c.c.a.w.b.m
|
||||||
public Path getPath() {
|
public Path getPath() {
|
||||||
this.f292c.reset();
|
this.f293c.reset();
|
||||||
o oVar = this.k;
|
o oVar = this.k;
|
||||||
if (oVar != null) {
|
if (oVar != null) {
|
||||||
this.f292c.set(oVar.e());
|
this.f293c.set(oVar.e());
|
||||||
}
|
}
|
||||||
this.d.reset();
|
this.d.reset();
|
||||||
if (this.g) {
|
if (this.g) {
|
||||||
|
@ -249,7 +249,7 @@ public class d implements e, m, a.b, g {
|
||||||
for (int size = this.h.size() - 1; size >= 0; size--) {
|
for (int size = this.h.size() - 1; size >= 0; size--) {
|
||||||
c cVar = this.h.get(size);
|
c cVar = this.h.get(size);
|
||||||
if (cVar instanceof m) {
|
if (cVar instanceof m) {
|
||||||
this.d.addPath(((m) cVar).getPath(), this.f292c);
|
this.d.addPath(((m) cVar).getPath(), this.f293c);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return this.d;
|
return this.d;
|
||||||
|
|
|
@ -15,7 +15,7 @@ public class f implements m, a.b, k {
|
||||||
public final String b;
|
public final String b;
|
||||||
|
|
||||||
/* renamed from: c reason: collision with root package name */
|
/* renamed from: c reason: collision with root package name */
|
||||||
public final j f293c;
|
public final j f294c;
|
||||||
public final a<?, PointF> d;
|
public final a<?, PointF> d;
|
||||||
public final a<?, PointF> e;
|
public final a<?, PointF> e;
|
||||||
public final c.c.a.y.l.a f;
|
public final c.c.a.y.l.a f;
|
||||||
|
@ -24,8 +24,8 @@ public class f implements m, a.b, k {
|
||||||
|
|
||||||
public f(j jVar, b bVar, c.c.a.y.l.a aVar) {
|
public f(j jVar, b bVar, c.c.a.y.l.a aVar) {
|
||||||
this.b = aVar.a;
|
this.b = aVar.a;
|
||||||
this.f293c = jVar;
|
this.f294c = jVar;
|
||||||
a<PointF, PointF> a = aVar.f328c.a();
|
a<PointF, PointF> a = aVar.f329c.a();
|
||||||
this.d = a;
|
this.d = a;
|
||||||
a<PointF, PointF> a2 = aVar.b.a();
|
a<PointF, PointF> a2 = aVar.b.a();
|
||||||
this.e = a2;
|
this.e = a2;
|
||||||
|
@ -39,7 +39,7 @@ public class f implements m, a.b, k {
|
||||||
@Override // c.c.a.w.c.a.b
|
@Override // c.c.a.w.c.a.b
|
||||||
public void a() {
|
public void a() {
|
||||||
this.h = false;
|
this.h = false;
|
||||||
this.f293c.invalidateSelf();
|
this.f294c.invalidateSelf();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // c.c.a.w.b.c
|
@Override // c.c.a.w.b.c
|
||||||
|
@ -48,7 +48,7 @@ public class f implements m, a.b, k {
|
||||||
c cVar = list.get(i);
|
c cVar = list.get(i);
|
||||||
if (cVar instanceof s) {
|
if (cVar instanceof s) {
|
||||||
s sVar = (s) cVar;
|
s sVar = (s) cVar;
|
||||||
if (sVar.f307c == 1) {
|
if (sVar.f308c == 1) {
|
||||||
this.g.a.add(sVar);
|
this.g.a.add(sVar);
|
||||||
sVar.b.add(this);
|
sVar.b.add(this);
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,7 @@ public class g implements e, a.b, k {
|
||||||
public final Paint b = new c.c.a.w.a(1);
|
public final Paint b = new c.c.a.w.a(1);
|
||||||
|
|
||||||
/* renamed from: c reason: collision with root package name */
|
/* renamed from: c reason: collision with root package name */
|
||||||
public final b f294c;
|
public final b f295c;
|
||||||
public final String d;
|
public final String d;
|
||||||
public final boolean e;
|
public final boolean e;
|
||||||
public final List<m> f = new ArrayList();
|
public final List<m> f = new ArrayList();
|
||||||
|
@ -36,8 +36,8 @@ public class g implements e, a.b, k {
|
||||||
public g(j jVar, b bVar, l lVar) {
|
public g(j jVar, b bVar, l lVar) {
|
||||||
Path path = new Path();
|
Path path = new Path();
|
||||||
this.a = path;
|
this.a = path;
|
||||||
this.f294c = bVar;
|
this.f295c = bVar;
|
||||||
this.d = lVar.f337c;
|
this.d = lVar.f338c;
|
||||||
this.e = lVar.f;
|
this.e = lVar.f;
|
||||||
this.j = jVar;
|
this.j = jVar;
|
||||||
if (lVar.d == null || lVar.e == null) {
|
if (lVar.d == null || lVar.e == null) {
|
||||||
|
@ -121,7 +121,7 @@ public class g implements e, a.b, k {
|
||||||
} else if (t == o.C) {
|
} else if (t == o.C) {
|
||||||
a<ColorFilter, ColorFilter> aVar3 = this.i;
|
a<ColorFilter, ColorFilter> aVar3 = this.i;
|
||||||
if (aVar3 != null) {
|
if (aVar3 != null) {
|
||||||
this.f294c.u.remove(aVar3);
|
this.f295c.u.remove(aVar3);
|
||||||
}
|
}
|
||||||
if (cVar == 0) {
|
if (cVar == 0) {
|
||||||
this.i = null;
|
this.i = null;
|
||||||
|
@ -130,7 +130,7 @@ public class g implements e, a.b, k {
|
||||||
p pVar = new p(cVar, null);
|
p pVar = new p(cVar, null);
|
||||||
this.i = pVar;
|
this.i = pVar;
|
||||||
pVar.a.add(this);
|
pVar.a.add(this);
|
||||||
this.f294c.e(this.i);
|
this.f295c.e(this.i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue