99.1 - Alpha (99201)

This commit is contained in:
Juby210 2021-10-20 08:51:20 +02:00
parent 0a6dbd16f5
commit 183536976f
2373 changed files with 30606 additions and 29901 deletions

View file

@ -10,8 +10,8 @@ android {
applicationId 'com.discord'
minSdkVersion 21
targetSdkVersion 29
versionCode 98204
versionName "98.4 - Alpha"
versionCode 99201
versionName "99.1 - Alpha"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

View file

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

View file

@ -30,7 +30,7 @@ public class ResultReceiver implements Parcelable {
}
}
public class b extends a.AbstractBinderC0361a {
public class b extends a.AbstractBinderC0362a {
public b() {
}
@ -44,12 +44,12 @@ public class ResultReceiver implements Parcelable {
public ResultReceiver(Parcel parcel) {
w.a.b.c.a aVar;
IBinder readStrongBinder = parcel.readStrongBinder();
int i = a.AbstractBinderC0361a.a;
int i = a.AbstractBinderC0362a.a;
if (readStrongBinder == null) {
aVar = null;
} else {
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;
}

View file

@ -48,7 +48,7 @@ public class CustomTabsClient {
}
/* renamed from: androidx.browser.customtabs.CustomTabsClient$2 reason: invalid class name */
public class AnonymousClass2 extends a.AbstractBinderC0350a {
public class AnonymousClass2 extends a.AbstractBinderC0351a {
private Handler mHandler = new Handler(Looper.getMainLooper());
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);
}
@ -270,7 +270,7 @@ public class CustomTabsClient {
@Nullable
private CustomTabsSession newSessionInternal(@Nullable CustomTabsCallback customTabsCallback, @Nullable PendingIntent pendingIntent) {
boolean z2;
a.AbstractBinderC0350a createCallbackWrapper = createCallbackWrapper(customTabsCallback);
a.AbstractBinderC0351a createCallbackWrapper = createCallbackWrapper(customTabsCallback);
if (pendingIntent != null) {
try {
Bundle bundle = new Bundle();

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -91,7 +91,7 @@ public final class a<K, T extends ChipsView.a> implements View.OnClickListener {
@Override // android.view.View.OnClickListener
public void onClick(View view) {
m.checkNotNullParameter(view, "v");
this.p.f2013z.clearFocus();
this.p.f2014z.clearFocus();
ChipsView<K, T> chipsView = this.p;
Objects.requireNonNull(chipsView);
m.checkNotNullParameter(this, "chip");

View file

@ -12,7 +12,7 @@ public final class g implements View.OnClickListener {
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
this.i.f2013z.requestFocus();
this.i.f2014z.requestFocus();
this.i.f(null);
}
}

View file

@ -19,16 +19,13 @@ public final class u2 implements ViewBinding {
public final TextView d;
@NonNull
public final TextView e;
@NonNull
public final TextView f;
public u2(@NonNull LinearLayout linearLayout, @NonNull TextView textView, @NonNull TextView textView2, @NonNull TextView textView3, @NonNull TextView textView4, @NonNull TextView textView5) {
this.a = linearLayout;
this.b = textView;
this.f170c = textView2;
this.d = textView3;
this.e = textView4;
this.f = textView5;
this.f170c = textView3;
this.d = textView4;
this.e = textView5;
}
@Override // androidx.viewbinding.ViewBinding

View file

@ -20,13 +20,16 @@ public final class w3 implements ViewBinding {
public final TextView d;
@NonNull
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.b = imageView;
this.f182c = statusView;
this.d = textView;
this.e = textView2;
this.f = imageView2;
}
@Override // androidx.viewbinding.ViewBinding

View file

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

View file

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

View file

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

View file

@ -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) {
m.checkNotNullParameter(matcher, "matcher");
m.checkNotNullParameter(parser, "parser");
String group = matcher.group(1);
String group = matcher.group(2);
if (group == null) {
group = "";
}

View file

@ -28,8 +28,8 @@ public final class e {
Pattern compile = Pattern.compile("^```(?:([\\w+\\-.]+?)?(\\s*\\n))?([^\\n].*?)\\n*```", 32);
m.checkNotNullExpressionValue(compile, "Pattern.compile(\"\"\"^```(…n*```\"\"\", Pattern.DOTALL)");
a = compile;
Pattern compile2 = Pattern.compile("^`([^`]*?)`", 32);
m.checkNotNullExpressionValue(compile2, "Pattern.compile(\"\"\"^`([^`]*?)`\"\"\", Pattern.DOTALL)");
Pattern compile2 = Pattern.compile("^(``?)([^`]*)\\1", 32);
m.checkNotNullExpressionValue(compile2, "Pattern.compile(\"\"\"^(``?…]*)\\1\"\"\", Pattern.DOTALL)");
b = compile2;
Pattern compile3 = Pattern.compile("^(?:\\n\\s*)+");
m.checkNotNullExpressionValue(compile3, "Pattern.compile(\"\"\"^(?:\\n\\s*)+\"\"\")");

View file

@ -8,7 +8,7 @@ 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: JavaScript.kt */
/* compiled from: Crystal.kt */
public final class h extends Rule<RC, Node<RC>, S> {
public final /* synthetic */ f a;
@ -24,9 +24,10 @@ public final class h extends Rule<RC, Node<RC>, S> {
m.checkNotNullParameter(parser, "parser");
String group = matcher.group(1);
String group2 = matcher.group(2);
String group3 = matcher.group(3);
m.checkNotNull(group);
m.checkNotNull(group2);
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");
return new ParseSpec<>(aVar, s);
}

View file

@ -1,92 +1,50 @@
package c.a.t.a;
import c0.z.d.m;
import com.discord.models.domain.ModelAuditLogEntry;
import com.discord.simpleast.core.node.Node;
import com.discord.simpleast.core.node.StyleNode;
import java.util.regex.Pattern;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.text.Regex;
/* compiled from: JavaScript.kt */
/* compiled from: Crystal.kt */
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[] 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[] 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 = {"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 */
public static final Pattern f240c = Pattern.compile("^/.*?/(?:\\w*)?", 32);
public static final Pattern d = Pattern.compile("^<(.*)>");
public static final Pattern e = Pattern.compile("^(?:(?://.*?(?=\\n|$))|(/\\*.*?\\*/))", 32);
public static final Pattern f = Pattern.compile("^('[\\s\\S]*?(?<!\\\\)'|\"[\\s\\S]*?(?<!\\\\)\"|`[\\s\\S]*?(?<!\\\\)`)(?=\\W|\\s|$)");
public static final i g = new i();
public static final Pattern f240c = Pattern.compile("^(#.*)");
public static final Pattern d = Pattern.compile("^@\\[(\\w+)(?:\\(.+\\))?]");
public static final Pattern e = Pattern.compile("^\"[\\s\\S]*?(?<!\\\\)\"(?=\\W|\\s|$)");
public static final Pattern f = Pattern.compile("^/.*?/[imx]?");
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 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);
/* compiled from: JavaScript.kt */
/* compiled from: Crystal.kt */
/* renamed from: c.a.t.a.i$a$a reason: collision with other inner class name */
public static final class C0045a {
public C0045a(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");
}
}
/* 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
/* JADX DEBUG: Can't convert new array creation: APUT found in different block: 0x0034: APUT
(r0v4 com.discord.simpleast.core.node.Node[])
(1 ??[boolean, int, float, short, byte, char])
(r1v1 com.discord.simpleast.core.node.StyleNode$b)
(2 ??[int, float, short, byte, char])
(r5v1 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) {
public a(String str, String str2, String str3, f<RC> fVar) {
super(r0);
m.checkNotNullParameter(str, "pre");
m.checkNotNullParameter(str3, "params");
m.checkNotNullParameter(str2, "signature");
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_$]*)(:)", 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");
nodeArr[1] = new StyleNode.b(str2, fVar.e);
nodeArr[2] = str3 != null ? new StyleNode.b(str3, fVar.h) : null;
}
}
}

View file

@ -1,6 +1,6 @@
package c.a.t.a;
import c.a.t.a.i;
import c.a.t.a.k;
import c0.z.d.m;
import com.discord.simpleast.core.node.Node;
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;
/* 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);
this.a = fVar;
}
@ -24,11 +24,10 @@ public final class j extends Rule<RC, Node<RC>, S> {
m.checkNotNullParameter(parser, "parser");
String group = matcher.group(1);
String group2 = matcher.group(2);
String group3 = matcher.group(3);
m.checkNotNull(group);
m.checkNotNull(group3);
i.b bVar = new i.b(group, group2, group3, this.a);
m.checkNotNullParameter(bVar, "node");
return new ParseSpec<>(bVar, s);
m.checkNotNull(group2);
k.a aVar = new k.a(group, group2, this.a);
m.checkNotNullParameter(aVar, "node");
return new ParseSpec<>(aVar, s);
}
}

View file

@ -1,35 +1,93 @@
package c.a.t.a;
import c.a.t.a.i;
import c0.g0.i;
import c0.z.d.m;
import com.discord.models.domain.ModelAuditLogEntry;
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 com.discord.simpleast.core.node.StyleNode;
import java.util.regex.Pattern;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.text.Regex;
/* compiled from: JavaScript.kt */
public final class k extends Rule<RC, Node<RC>, S> {
public final /* synthetic */ f a;
public final class k {
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"};
/* renamed from: c reason: collision with root package name */
public static final Pattern f241c = Pattern.compile("^/.+(?<!\\\\)/[dgimsuy]*");
public static final Pattern d = Pattern.compile("^<.*(?<!\\\\)>");
public static final Pattern e = Pattern.compile("^(?:(?://.*?(?=\\n|$))|(/\\*.*?\\*/))", 32);
public static final Pattern f = Pattern.compile("^('.*?(?<!\\\\)'|\".*?(?<!\\\\)\"|`[\\s\\S]*?(?<!\\\\)`)(?=\\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 k(i.c.a aVar, f fVar, Pattern pattern) {
super(pattern);
this.a = fVar;
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
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);
String group2 = matcher.group(2);
String group3 = matcher.group(3);
m.checkNotNull(group);
m.checkNotNull(group2);
m.checkNotNull(group3);
i.c cVar = new i.c(group, group2, group3, this.a);
m.checkNotNullParameter(cVar, "node");
return new ParseSpec<>(cVar, s);
/* 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_$]*)?(\\s*\\(.*?\\))", 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[])
(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");
}
}
}

View file

@ -1,32 +1,34 @@
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.parser.ParseSpec;
import com.discord.simpleast.core.parser.Parser;
import com.discord.simpleast.core.parser.Rule;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/* compiled from: Kotlin.kt */
/* compiled from: JavaScript.kt */
public final class l extends Rule<RC, Node<RC>, S> {
public final /* synthetic */ f a;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public l(m.a.C0046a aVar, f fVar, Pattern pattern) {
public l(k.b.a aVar, f fVar, Pattern pattern) {
super(pattern);
this.a = fVar;
}
@Override // com.discord.simpleast.core.parser.Rule
public ParseSpec<RC, S> parse(Matcher matcher, Parser<RC, ? super Node<RC>, S> parser, S s) {
c0.z.d.m.checkNotNullParameter(matcher, "matcher");
c0.z.d.m.checkNotNullParameter(parser, "parser");
m.checkNotNullParameter(matcher, "matcher");
m.checkNotNullParameter(parser, "parser");
String group = matcher.group(1);
String group2 = matcher.group(2);
c0.z.d.m.checkNotNull(group);
c0.z.d.m.checkNotNull(group2);
m.a aVar = new m.a(group, group2, this.a);
c0.z.d.m.checkNotNullParameter(aVar, "node");
return new ParseSpec<>(aVar, s);
String group3 = matcher.group(3);
m.checkNotNull(group);
m.checkNotNull(group3);
k.b bVar = new k.b(group, group2, group3, this.a);
m.checkNotNullParameter(bVar, "node");
return new ParseSpec<>(bVar, s);
}
}

View file

@ -1,72 +1,34 @@
package c.a.t.a;
import c0.g0.i;
import com.discord.models.domain.ModelAuditLogEntry;
import c.a.t.a.k;
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 kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.text.Regex;
/* compiled from: Kotlin.kt */
public final class m {
public static final String[] a = {"public|private|internal|inline|lateinit|abstract|open|reified", "import|package", "class|interface|data|enum|sealed|object|typealias", "fun|override|this|super|where|constructor|init|param|delegate", "const|val|var|get|final|vararg|it", "return|break|continue|suspend", "for|while|do|if|else|when|try|catch|finally|throw", "in|out|is|as|typeof", "shr|ushr|shl|ushl", "true|false|null"};
public static final String[] b = {"true|false|Boolean|String|Char", "Int|UInt|Long|ULong|Float|Double|Byte|UByte|Short|UShort", "Self|Set|Map|MutableMap|List|MutableList|Array|Runnable|Unit", "arrayOf|listOf|mapOf|setOf|let|also|apply|run"};
/* renamed from: c reason: collision with root package name */
public static final Pattern f241c = Pattern.compile("^(?:(?://.*?(?=\\n|$))|(/\\*.*?\\*/))", 32);
public static final Pattern d = Pattern.compile("^@(\\w+)");
public static final Pattern e = Pattern.compile("^\"[\\s\\S]*?(?<!\\\\)\"(?=\\W|\\s|$)");
public static final m f = null;
/* compiled from: Kotlin.kt */
public static final class a<RC> extends Node.a<RC> {
public static final Pattern a = Pattern.compile("^(val|var)(\\s+\\w+)", 32);
public static final 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) {
}
}
/* compiled from: JavaScript.kt */
public final class m 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 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");
}
public m(k.c.a aVar, f fVar, Pattern pattern) {
super(pattern);
this.a = fVar;
}
/* compiled from: Kotlin.kt */
public static final class b<RC> extends Node.a<RC> {
public static final Pattern a = new Regex("^(fun)( *<.*>)?( \\w+)( *\\(.*?\\))", i.DOT_MATCHES_ALL).toPattern();
public static final a b = new a(null);
/* compiled from: Kotlin.kt */
public static final class a {
public a(DefaultConstructorMarker defaultConstructorMarker) {
}
}
/* JADX DEBUG: Can't convert new array creation: APUT found in different block: 0x0030: APUT
(r0v5 com.discord.simpleast.core.node.Node[])
(1 ??[boolean, int, float, short, byte, char])
(r1v1 com.discord.simpleast.core.node.StyleNode$b)
*/
/* JADX WARNING: Illegal instructions before constructor call */
public b(String str, String str2, String str3, String str4, f<RC> fVar) {
super(r0);
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);
}
@Override // com.discord.simpleast.core.parser.Rule
public ParseSpec<RC, S> parse(Matcher matcher, Parser<RC, ? super Node<RC>, S> parser, S s) {
c0.z.d.m.checkNotNullParameter(matcher, "matcher");
c0.z.d.m.checkNotNullParameter(parser, "parser");
String group = matcher.group(1);
String group2 = matcher.group(2);
String group3 = matcher.group(3);
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);
c0.z.d.m.checkNotNullParameter(cVar, "node");
return new ParseSpec<>(cVar, s);
}
}

View file

@ -1,6 +1,7 @@
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.parser.ParseSpec;
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;
/* 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);
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) {
c0.z.d.m.checkNotNullParameter(matcher, "matcher");
c0.z.d.m.checkNotNullParameter(parser, "parser");
m.checkNotNullParameter(matcher, "matcher");
m.checkNotNullParameter(parser, "parser");
String group = matcher.group(1);
String group2 = matcher.group(2);
String group3 = matcher.group(3);
String group4 = matcher.group(4);
c0.z.d.m.checkNotNull(group);
c0.z.d.m.checkNotNull(group3);
c0.z.d.m.checkNotNull(group4);
m.b bVar = new m.b(group, group2, group3, group4, this.a);
c0.z.d.m.checkNotNullParameter(bVar, "node");
return new ParseSpec<>(bVar, s);
m.checkNotNull(group);
m.checkNotNull(group2);
o.a aVar = new o.a(group, group2, this.a);
m.checkNotNullParameter(aVar, "node");
return new ParseSpec<>(aVar, s);
}
}

View file

@ -1,130 +1,73 @@
package c.a.t.a;
import android.text.SpannableStringBuilder;
import c0.z.d.k;
import c0.g0.i;
import c0.z.d.m;
import com.discord.models.domain.ModelAuditLogEntry;
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 */
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.text.Regex;
/* compiled from: Kotlin.kt */
public final class o {
public static final Pattern a;
public static final Pattern b;
public static final String[] a = {"public|private|internal|inline|lateinit|abstract|open|reified", "import|package", "class|interface|data|enum|sealed|object|typealias", "fun|override|this|super|where|constructor|init|param|delegate", "const|val|var|get|final|vararg|it", "return|break|continue|suspend", "for|while|do|if|else|when|try|catch|finally|throw", "in|out|is|as|typeof", "shr|ushr|shl|ushl", "true|false|null"};
public static final String[] b = {"true|false|Boolean|String|Char", "Int|UInt|Long|ULong|Float|Double|Byte|UByte|Short|UShort", "Self|Set|Map|MutableMap|List|MutableList|Array|Runnable|Unit", "arrayOf|listOf|mapOf|setOf|let|also|apply|run"};
/* renamed from: c reason: collision with root package name */
public static final 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 final String a;
public final String b;
public static final Pattern a = Pattern.compile("^(val|var)(\\s+\\w+)", 32);
public static final C0047a b = new C0047a(null);
/* renamed from: c reason: collision with root package name */
public final f<RC> f243c;
/* compiled from: Xml.kt */
/* compiled from: Kotlin.kt */
/* 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 C0047a(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);
public static final class C0047a {
public C0047a(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 Node[0]);
m.checkNotNullParameter(str, "opening");
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");
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 {
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;
/* compiled from: Kotlin.kt */
public static final class b<RC> extends Node.a<RC> {
public static final Pattern a = new Regex("^(fun)( *<.*>)?( \\w+)( *\\(.*?\\))", i.DOT_MATCHES_ALL).toPattern();
public static final a b = new a(null);
/* compiled from: Kotlin.kt */
public static final class a {
public a(DefaultConstructorMarker defaultConstructorMarker) {
}
}
/* JADX DEBUG: Can't convert new array creation: APUT found in different block: 0x0030: APUT
(r0v5 com.discord.simpleast.core.node.Node[])
(1 ??[boolean, int, float, short, byte, char])
(r1v1 com.discord.simpleast.core.node.StyleNode$b)
*/
/* JADX WARNING: Illegal instructions before constructor call */
public b(String str, String str2, String str3, String str4, f<RC> fVar) {
super(r0);
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);
}
}
}

View file

@ -8,12 +8,12 @@ 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 */
/* compiled from: Kotlin.kt */
public final class p extends Rule<RC, Node<RC>, S> {
public final /* synthetic */ f a;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public p(o oVar, f fVar, Pattern pattern) {
public p(o.b.a aVar, f fVar, Pattern pattern) {
super(pattern);
this.a = fVar;
}
@ -23,17 +23,14 @@ public final class p extends Rule<RC, Node<RC>, S> {
m.checkNotNullParameter(matcher, "matcher");
m.checkNotNullParameter(parser, "parser");
String group = matcher.group(1);
String group2 = matcher.group(2);
String group3 = matcher.group(3);
String group4 = matcher.group(4);
m.checkNotNull(group);
String group2 = matcher.group(3);
if (matcher.group(2) != null) {
o.a aVar = new o.a(group, group2, this.a);
int start = matcher.start(2);
int end = matcher.end(2);
m.checkNotNullParameter(aVar, "node");
return new ParseSpec<>(aVar, s, start, end);
}
o.a aVar2 = new o.a(group, group2, this.a);
m.checkNotNullParameter(aVar2, "node");
return new ParseSpec<>(aVar2, s);
m.checkNotNull(group3);
m.checkNotNull(group4);
o.b bVar = new o.b(group, group2, group3, group4, this.a);
m.checkNotNullParameter(bVar, "node");
return new ParseSpec<>(bVar, s);
}
}

View 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;
}
}

View 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);
}
}

View file

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

View file

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

View file

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

View file

@ -44,10 +44,10 @@ public final class b0 extends AppBottomSheet implements i {
/* compiled from: SelectorBottomSheet.kt */
/* 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 C0050a i = new C0050a();
public static final class C0051a extends o implements Function1<Integer, Unit> {
public static final C0051a i = new C0051a();
public C0050a() {
public C0051a() {
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) {
boolean z3 = (i & 8) != 0 ? true : z2;
if ((i & 16) != 0) {
function1 = C0050a.i;
function1 = C0051a.i;
}
return aVar.a(fragmentManager, str, list, z3, function1);
}

View file

@ -21,7 +21,7 @@ public final class e0 extends SimpleRecyclerAdapter.ViewHolder<c0> {
public final DialogInterface b;
/* renamed from: c reason: collision with root package name */
public final d f246c;
public final d f247c;
/* JADX WARNING: Illegal instructions before constructor call */
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");
this.a = iVar;
this.b = dialogInterface;
this.f246c = dVar;
this.f247c = dVar;
}
/* 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;
c0 c0Var2 = c0Var;
m.checkNotNullParameter(c0Var2, "data");
MaterialTextView materialTextView = this.f246c.d;
MaterialTextView materialTextView = this.f247c.d;
m.checkNotNullExpressionValue(materialTextView, "itemBinding.selectComponentSheetItemTitle");
b.a(materialTextView, c0Var2.e());
MaterialTextView materialTextView2 = this.f246c.b;
MaterialTextView materialTextView2 = this.f247c.b;
m.checkNotNullExpressionValue(materialTextView2, "itemBinding.selectComponentSheetItemDescription");
ViewExtensions.setTextAndVisibilityBy(materialTextView2, c0Var2.a());
SimpleDraweeView simpleDraweeView = this.f246c.f81c;
SimpleDraweeView simpleDraweeView = this.f247c.f81c;
m.checkNotNullExpressionValue(simpleDraweeView, "itemBinding.selectComponentSheetItemIcon");
int i2 = 0;
if (!((c0Var2.d() == null && c0Var2.b() == null) ? false : true)) {
@ -58,20 +58,20 @@ public final class e0 extends SimpleRecyclerAdapter.ViewHolder<c0> {
simpleDraweeView.setVisibility(i2);
String d = c0Var2.d();
if (d != null) {
SimpleDraweeView simpleDraweeView2 = this.f246c.f81c;
SimpleDraweeView simpleDraweeView2 = this.f247c.f81c;
m.checkNotNullExpressionValue(simpleDraweeView2, "itemBinding.selectComponentSheetItemIcon");
MGImages.setImage$default(simpleDraweeView2, d, R.dimen.emoji_size, R.dimen.emoji_size, true, null, null, 96, null);
} else {
Integer b = c0Var2.b();
if (b != null) {
this.f246c.f81c.setImageResource(b.intValue());
this.f247c.f81c.setImageResource(b.intValue());
}
}
Integer c2 = c0Var2.c();
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());
Integer g = c0Var2.g();
if (g != null) {
@ -86,16 +86,16 @@ public final class e0 extends SimpleRecyclerAdapter.ViewHolder<c0> {
f.intValue();
Drawable drawable2 = ContextCompat.getDrawable(materialTextView3.getContext(), c0Var2.f().intValue());
if (drawable2 != null) {
MaterialTextView materialTextView4 = this.f246c.d;
MaterialTextView materialTextView4 = this.f247c.d;
m.checkNotNullExpressionValue(materialTextView4, "itemBinding.selectComponentSheetItemTitle");
DrawableCompat.setTint(drawable2, ColorCompat.getThemedColor(materialTextView4, (int) R.attr.colorHeaderPrimary));
drawable = drawable2;
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;
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));
}
}

View file

@ -19,7 +19,7 @@ public final class f extends DividerItemDecoration {
public final int b;
/* 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) */
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");
this.a = i2;
this.b = i3;
this.f247c = i4;
this.f248c = i4;
Drawable drawable = ContextCompat.getDrawable(context, R.drawable.drawable_divider);
if (drawable != null) {
Drawable wrap = DrawableCompat.wrap(drawable);
@ -45,7 +45,7 @@ public final class f extends DividerItemDecoration {
m.checkNotNullParameter(recyclerView, "parent");
m.checkNotNullParameter(state, "state");
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();
int childCount = recyclerView.getChildCount();
for (int i = 0; i < childCount; i++) {

View file

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

View file

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

View file

@ -16,10 +16,10 @@ import rx.subjects.Subject;
public abstract class l extends OverlayDialog implements AppComponent {
/* 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 */
public Function1<? super OverlayDialog, Unit> f250x = m.i;
public Function1<? super OverlayDialog, Unit> f251x = m.i;
/* compiled from: Animator.kt */
public static final class a implements Animator.AnimatorListener {
@ -75,7 +75,7 @@ public abstract class l extends OverlayDialog implements AppComponent {
m.checkNotNullParameter(context, "context");
PublishSubject j0 = PublishSubject.j0();
m.checkNotNullExpressionValue(j0, "PublishSubject.create()");
this.f249w = j0;
this.f250w = j0;
setOnClickListener(new k(this));
}
@ -83,7 +83,7 @@ public abstract class l extends OverlayDialog implements AppComponent {
getUnsubscribeSignal().onNext(null);
Log.i(getClass().getSimpleName(), "closing");
if (!ViewCompat.isAttachedToWindow(this)) {
this.f250x.invoke(this);
this.f251x.invoke(this);
return;
}
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> */
public final Function1<OverlayDialog, Unit> getOnDialogClosed() {
return this.f250x;
return this.f251x;
}
@Override // com.discord.app.AppComponent
public Subject<Void, Void> getUnsubscribeSignal() {
return this.f249w;
return this.f250w;
}
@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) {
m.checkNotNullParameter(function1, "<set-?>");
this.f250x = function1;
this.f251x = function1;
}
}

View file

@ -32,7 +32,7 @@ public final class o<T, R> implements b<Map<Long, ? extends StoreVoiceParticipan
for (T t : values) {
T t2 = t;
if (t2.isConnected()) {
if (ChannelUtils.y(this.i)) {
if (ChannelUtils.z(this.i)) {
VoiceState voiceState = t2.getVoiceState();
}
z2 = true;

View file

@ -28,13 +28,13 @@ import rx.subjects.Subject;
public final class w extends OverlayBubbleWrap implements AppComponent {
/* 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 */
public final s0 f252x;
public final s0 f253x;
/* 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 */
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) {
StoreVoiceParticipants.VoiceUser voiceUser2 = voiceUser;
w wVar = this.this$0;
int i = w.f251w;
int i = w.f252w;
if (voiceUser2 == null) {
wVar.h();
} else {
@ -91,10 +91,10 @@ public final class w extends OverlayBubbleWrap implements AppComponent {
SimpleDraweeView simpleDraweeView = (SimpleDraweeView) inflate;
s0 s0Var = new s0(simpleDraweeView, simpleDraweeView);
m.checkNotNullExpressionValue(s0Var, "OverlayVoiceBubbleBindin…rom(context), this, true)");
this.f252x = s0Var;
this.f253x = s0Var;
PublishSubject j0 = PublishSubject.j0();
m.checkNotNullExpressionValue(j0, "PublishSubject.create()");
this.f253y = j0;
this.f254y = j0;
}
@Override // com.discord.overlay.views.OverlayBubbleWrap
@ -115,14 +115,14 @@ public final class w extends OverlayBubbleWrap implements AppComponent {
}
public final SimpleDraweeView getImageView$app_productionCanaryRelease() {
SimpleDraweeView simpleDraweeView = this.f252x.b;
SimpleDraweeView simpleDraweeView = this.f253x.b;
m.checkNotNullExpressionValue(simpleDraweeView, "binding.overlayBubbleIv");
return simpleDraweeView;
}
@Override // com.discord.app.AppComponent
public Subject<Void, Void> getUnsubscribeSignal() {
return this.f253y;
return this.f254y;
}
public final void h() {

View file

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

View file

@ -37,10 +37,10 @@ public final class z extends l implements AppComponent {
public String B;
/* renamed from: y reason: collision with root package name */
public t0 f254y;
public t0 f255y;
/* renamed from: z reason: collision with root package name */
public final WidgetGlobalSearchAdapter f255z;
public final WidgetGlobalSearchAdapter f256z;
/* compiled from: OverlayVoiceSelectorBubbleDialog.kt */
public static final class a implements View.OnClickListener {
@ -106,23 +106,23 @@ public final class z extends l implements AppComponent {
WidgetGlobalSearchModel widgetGlobalSearchModel2 = widgetGlobalSearchModel;
m.checkNotNullParameter(widgetGlobalSearchModel2, "it");
z zVar = this.this$0;
TextView textView = zVar.f254y.d;
TextView textView = zVar.f255y.d;
m.checkNotNullExpressionValue(textView, "binding.emptyResults");
int i = 8;
textView.setVisibility(widgetGlobalSearchModel2.getData().isEmpty() ? 0 : 8);
RecyclerView recyclerView = zVar.f254y.f;
RecyclerView recyclerView = zVar.f255y.f;
m.checkNotNullExpressionValue(recyclerView, "binding.resultsRv");
if (!widgetGlobalSearchModel2.getData().isEmpty()) {
i = 0;
}
recyclerView.setVisibility(i);
WidgetGlobalSearchAdapter widgetGlobalSearchAdapter = zVar.f255z;
WidgetGlobalSearchAdapter widgetGlobalSearchAdapter = zVar.f256z;
widgetGlobalSearchAdapter.setOnUpdated(new x(zVar, widgetGlobalSearchModel2));
List<WidgetGlobalSearchModel.ItemDataPayload> data = widgetGlobalSearchModel2.getData();
ArrayList arrayList = new ArrayList();
for (Object obj : data) {
Channel channel = ((WidgetGlobalSearchModel.ItemDataPayload) obj).getChannel();
if (channel != null && ChannelUtils.D(channel)) {
if (channel != null && ChannelUtils.E(channel)) {
arrayList.add(obj);
}
}
@ -139,40 +139,40 @@ public final class z extends l implements AppComponent {
getWindowLayoutParams().flags &= -9;
t0 a2 = t0.a(LayoutInflater.from(getContext()), this, true);
m.checkNotNullExpressionValue(a2, "OverlayVoiceChannelSelec…rom(context), this, true)");
this.f254y = a2;
RecyclerView recyclerView = this.f254y.f;
this.f255y = a2;
RecyclerView recyclerView = this.f255y.f;
m.checkNotNullExpressionValue(recyclerView, "binding.resultsRv");
this.f255z = new WidgetGlobalSearchAdapter(recyclerView);
this.f256z = new WidgetGlobalSearchAdapter(recyclerView);
}
@Override // c.a.y.l
public Animator getClosingAnimator() {
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 }");
return loadAnimator;
}
public final void h() {
this.f254y.b.setOnClickListener(new a(this));
TextInputLayout textInputLayout = this.f254y.e;
this.f255y.b.setOnClickListener(new a(this));
TextInputLayout textInputLayout = this.f255y.e;
m.checkNotNullExpressionValue(textInputLayout, "binding.overlayChannelSearch");
ViewExtensions.setText(textInputLayout, this.B);
TextInputLayout textInputLayout2 = this.f254y.e;
TextInputLayout textInputLayout2 = this.f255y.e;
m.checkNotNullExpressionValue(textInputLayout2, "binding.overlayChannelSearch");
EditText editText = textInputLayout2.getEditText();
if (editText != null) {
editText.addTextChangedListener(new TextWatcher(null, null, new b(this), 3, null));
}
WidgetGlobalSearchAdapter widgetGlobalSearchAdapter = this.f255z;
RecyclerView recyclerView = this.f254y.f;
WidgetGlobalSearchAdapter widgetGlobalSearchAdapter = this.f256z;
RecyclerView recyclerView = this.f255y.f;
m.checkNotNullExpressionValue(recyclerView, "binding.resultsRv");
widgetGlobalSearchAdapter.setRecycler(recyclerView);
MGRecyclerAdapter.Companion.configure(this.f255z);
MGRecyclerAdapter.Companion.configure(this.f256z);
WidgetGlobalSearchModel.Companion companion = WidgetGlobalSearchModel.Companion;
Observable<String> E = this.A.E(c.i);
m.checkNotNullExpressionValue(E, "filterPublisher.map { \"!$it\" }");
ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui(companion.getForNav(E), 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(E), 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
@ -180,7 +180,7 @@ public final class z extends l implements AppComponent {
super.onAttachedToWindow();
h();
Animator loadAnimator = AnimatorInflater.loadAnimator(getContext(), R.animator.overlay_slide_up_fade_in);
loadAnimator.setTarget(this.f254y.f163c);
loadAnimator.setTarget(this.f255y.f163c);
loadAnimator.start();
}
@ -191,7 +191,7 @@ public final class z extends l implements AppComponent {
removeAllViewsInLayout();
t0 a2 = t0.a(LayoutInflater.from(getContext()), this, true);
m.checkNotNullExpressionValue(a2, "OverlayVoiceChannelSelec…rom(context), this, true)");
this.f254y = a2;
this.f255y = a2;
h();
}
}

View file

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

View file

@ -36,7 +36,7 @@ public final class i extends RecyclerView.Adapter<a> {
public Cursor b;
/* renamed from: c reason: collision with root package name */
public int f256c;
public int f257c;
public int d;
public int e;
public int f;
@ -51,16 +51,16 @@ public final class i extends RecyclerView.Adapter<a> {
public final AnimatorSet q;
/* renamed from: r reason: collision with root package name */
public final c f257r;
public final c f258r;
public final /* synthetic */ i s;
/* compiled from: MediaCursorAdapter.kt */
/* 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;
/* 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);
this.$isAnimationRequested = z2;
}
@ -89,7 +89,7 @@ public final class i extends RecyclerView.Adapter<a> {
this.s = iVar;
FrameLayout frameLayout = cVar.a;
m.checkNotNullExpressionValue(frameLayout, "binding.root");
this.f257r = cVar;
this.f258r = cVar;
cVar.a.setOnClickListener(this);
FrameLayout frameLayout2 = cVar.a;
m.checkNotNullExpressionValue(frameLayout2, "binding.root");
@ -109,21 +109,21 @@ public final class i extends RecyclerView.Adapter<a> {
@Override // c.b.a.d.j
public SimpleDraweeView a() {
SimpleDraweeView simpleDraweeView = this.f257r.f260c;
SimpleDraweeView simpleDraweeView = this.f258r.f261c;
m.checkNotNullExpressionValue(simpleDraweeView, "binding.contentIv");
return simpleDraweeView;
}
public final void d(boolean z2, boolean z3) {
FrameLayout frameLayout = this.f257r.a;
FrameLayout frameLayout = this.f258r.a;
m.checkNotNullExpressionValue(frameLayout, "binding.root");
frameLayout.setSelected(z2);
C0052a aVar = new C0052a(z3);
C0053a aVar = new C0053a(z3);
if (z2) {
SimpleDraweeView simpleDraweeView = this.f257r.d;
SimpleDraweeView simpleDraweeView = this.f258r.d;
m.checkNotNullExpressionValue(simpleDraweeView, "binding.itemCheckIndicator");
simpleDraweeView.setVisibility(0);
FrameLayout frameLayout2 = this.f257r.b;
FrameLayout frameLayout2 = this.f258r.b;
m.checkNotNullExpressionValue(frameLayout2, "binding.contentContainer");
if (frameLayout2.getScaleX() == 1.0f) {
aVar.a(this.p);
@ -131,10 +131,10 @@ public final class i extends RecyclerView.Adapter<a> {
}
return;
}
SimpleDraweeView simpleDraweeView2 = this.f257r.d;
SimpleDraweeView simpleDraweeView2 = this.f258r.d;
m.checkNotNullExpressionValue(simpleDraweeView2, "binding.itemCheckIndicator");
simpleDraweeView2.setVisibility(8);
FrameLayout frameLayout3 = this.f257r.b;
FrameLayout frameLayout3 = this.f258r.b;
m.checkNotNullExpressionValue(frameLayout3, "binding.contentContainer");
if (frameLayout3.getScaleX() != 1.0f) {
aVar.a(this.q);
@ -169,7 +169,7 @@ public final class i extends RecyclerView.Adapter<a> {
m.checkNotNullParameter(obj, "cookie");
if (cursor != null) {
i iVar = this.a;
iVar.f256c = cursor.getColumnIndex("_id");
iVar.f257c = cursor.getColumnIndex("_id");
iVar.d = cursor.getColumnIndex("_data");
iVar.e = cursor.getColumnIndex("_display_name");
iVar.f = cursor.getColumnIndex("media_type");
@ -201,7 +201,7 @@ public final class i extends RecyclerView.Adapter<a> {
Long l = null;
if (cursor != null) {
cursor.moveToPosition(i);
long j = cursor.getLong(this.f256c);
long j = cursor.getLong(this.f257c);
boolean z2 = cursor.getInt(this.f) == 3;
Uri withAppendedPath = z2 ? Uri.withAppendedPath(MediaStore.Video.Media.EXTERNAL_CONTENT_URI, String.valueOf(j)) : Uri.withAppendedPath(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, String.valueOf(j));
String str2 = z2 ? "vid" : "img";
@ -264,7 +264,7 @@ public final class i extends RecyclerView.Adapter<a> {
m.checkNotNullParameter(aVar2, "holder");
Media a2 = a(i);
aVar2.o = a2;
FrameLayout frameLayout = aVar2.f257r.a;
FrameLayout frameLayout = aVar2.f258r.a;
m.checkNotNullExpressionValue(frameLayout, "binding.root");
Context context = frameLayout.getContext();
int i2 = 0;
@ -276,24 +276,24 @@ public final class i extends RecyclerView.Adapter<a> {
if (a2 == null || !a2.i) {
z2 = false;
}
TextView textView = aVar2.f257r.e;
TextView textView = aVar2.f258r.e;
m.checkNotNullExpressionValue(textView, "binding.itemVideoIndicator");
if (!z2) {
i2 = 8;
}
textView.setVisibility(i2);
if (z2) {
TextView textView2 = aVar2.f257r.e;
TextView textView2 = aVar2.f258r.e;
m.checkNotNullExpressionValue(textView2, "binding.itemVideoIndicator");
Drawable background = textView2.getBackground();
m.checkNotNullExpressionValue(background, "binding.itemVideoIndicator.background");
background.setAlpha(127);
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");
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");
simpleDraweeView.setContentDescription(context.getString(z2 ? R.g.video : R.g.image));
}

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -152,12 +152,12 @@ public class d {
public final /* synthetic */ int b;
/* 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) {
this.a = cls;
this.b = i;
this.f262c = obj;
this.f263c = obj;
}
public boolean equals(Object obj) {
@ -168,7 +168,7 @@ public class d {
return false;
}
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);
if (!(obj2 == obj3 || obj2 == null || obj2.equals(obj3))) {
return false;
@ -617,7 +617,7 @@ public class d {
int i = wVar.b + I12;
if (I12 == -1 || I12 > wVar.a()) {
Log.w("CeaUtil", "Skipping remainder of malformed SEI NAL unit.");
i = wVar.f973c;
i = wVar.f974c;
} else if (I1 == 4 && I12 >= 8) {
int s = wVar.s();
int x2 = wVar.x();
@ -1429,7 +1429,7 @@ public class d {
URL url = tresult2.b;
if (url != null) {
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 {
tinput = null;
}
@ -1553,7 +1553,7 @@ public class d {
drawable.setAlpha(i);
}
if (eVar.b) {
drawable.setColorFilter(eVar.f409c);
drawable.setColorFilter(eVar.f410c);
}
int i2 = eVar.d;
boolean z2 = false;
@ -1750,7 +1750,7 @@ public class d {
int i9 = eVar2.o;
eVar2.w();
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) {
eVar2.w();
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) {
aVar.b(w0(context2, obtainStyledAttributes, index));
} else if (index == R.a.GenericDraweeHierarchy_roundAsCircle) {
if (aVar.f429r == null) {
aVar.f429r = new c.f.g.f.c();
if (aVar.f430r == null) {
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) {
i7 = obtainStyledAttributes.getDimensionPixelSize(index, i7);
} else if (index == R.a.GenericDraweeHierarchy_roundTopLeft) {
@ -2153,16 +2153,16 @@ public class d {
if (index == R.a.GenericDraweeHierarchy_roundBottomEnd) {
z16 = obtainStyledAttributes.getBoolean(index, z16);
} else if (index == R.a.GenericDraweeHierarchy_roundWithOverlayColor) {
if (aVar.f429r == null) {
aVar.f429r = new c.f.g.f.c();
if (aVar.f430r == null) {
aVar.f430r = new c.f.g.f.c();
}
aVar.f429r.b(obtainStyledAttributes.getColor(index, 0));
aVar.f430r.b(obtainStyledAttributes.getColor(index, 0));
} else {
if (index == R.a.GenericDraweeHierarchy_roundingBorderWidth) {
if (aVar.f429r == null) {
aVar.f429r = new c.f.g.f.c();
if (aVar.f430r == null) {
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);
Objects.requireNonNull(cVar);
if (dimensionPixelSize >= 0.0f) {
@ -2177,15 +2177,15 @@ public class d {
} else {
i4 = i7;
if (index == R.a.GenericDraweeHierarchy_roundingBorderColor) {
if (aVar.f429r == null) {
aVar.f429r = new c.f.g.f.c();
if (aVar.f430r == null) {
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) {
if (aVar.f429r == null) {
aVar.f429r = new c.f.g.f.c();
if (aVar.f430r == null) {
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);
Objects.requireNonNull(cVar2);
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);
}
if (i2 > 0) {
if (aVar.f429r == null) {
aVar.f429r = new c.f.g.f.c();
if (aVar.f430r == null) {
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 f2 = z5 ? (float) i2 : 0.0f;
float f3 = z3 ? (float) i2 : 0.0f;
float f4 = z2 ? (float) i2 : 0.0f;
if (cVar3.f430c == null) {
cVar3.f430c = new float[8];
if (cVar3.f431c == null) {
cVar3.f431c = new float[8];
}
float[] fArr = cVar3.f430c;
float[] fArr = cVar3.f431c;
fArr[1] = f;
fArr[0] = f;
fArr[3] = f2;
@ -2907,7 +2907,7 @@ public class d {
}
ArrayList<d.a> arrayList3 = new ArrayList<>();
int i2 = wVar2.b;
int i3 = wVar2.f973c;
int i3 = wVar2.f974c;
while (i2 < i3) {
int f2 = wVar2.f() + i2;
if (f2 > i2 && f2 <= i3) {
@ -3133,7 +3133,7 @@ public class d {
@Nullable
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);
if (wVar.f973c < 32) {
if (wVar.f974c < 32) {
return null;
}
wVar.D(0);
@ -3201,7 +3201,7 @@ public class d {
return null;
}
if (uuid.equals(v1.a)) {
return v1.f745c;
return v1.f746c;
}
Log.w("PsshAtomUtil", "UUID mismatch. Expected: " + uuid + ", got: " + v1.a + ".");
return null;

View file

@ -17,18 +17,18 @@ public final class d extends c {
public static final ByteString q = ByteString.h("\n\r");
/* 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 e t;
public int u = 0;
public long v;
/* renamed from: w reason: collision with root package name */
public int f265w;
public int f266w;
@Nullable
/* renamed from: x reason: collision with root package name */
public String f266x;
public String f267x;
public d(g gVar) {
Objects.requireNonNull(gVar, "source == null");
@ -102,7 +102,7 @@ public final class d extends c {
} else if (i2 == 8 || i2 == 12) {
T(n);
} else if (i2 == 17) {
this.t.skip((long) this.f265w);
this.t.skip((long) this.f266w);
} else if (i2 == 18) {
StringBuilder O3 = a.O("Expected a value but was ");
O3.append(w());
@ -173,7 +173,7 @@ public final class d extends c {
if (r1 != 7) goto L_0x0210;
*/
/* JADX WARNING: Code restructure failed: missing block: B:139:0x01db, code lost:
r17.f265w = r5;
r17.f266w = r5;
r15 = 17;
r17.u = 17;
*/
@ -762,13 +762,13 @@ public final class d extends c {
return (double) this.v;
}
if (i == 17) {
this.f266x = this.t.H((long) this.f265w);
this.f267x = this.t.H((long) this.f266w);
} else if (i == 9) {
this.f266x = Q(o);
this.f267x = Q(o);
} else if (i == 8) {
this.f266x = Q(n);
this.f267x = Q(n);
} else if (i == 10) {
this.f266x = R();
this.f267x = R();
} else if (i != 11) {
StringBuilder O = a.O("Expected a double but was ");
O.append(w());
@ -778,11 +778,11 @@ public final class d extends c {
}
this.u = 11;
try {
double parseDouble = Double.parseDouble(this.f266x);
double parseDouble = Double.parseDouble(this.f267x);
if (Double.isNaN(parseDouble) || Double.isInfinite(parseDouble)) {
throw new b("JSON forbids NaN and infinities: " + parseDouble + " at path " + getPath());
}
this.f266x = null;
this.f267x = null;
this.u = 0;
int[] iArr2 = this.m;
int i3 = this.j - 1;
@ -790,7 +790,7 @@ public final class d extends c {
return parseDouble;
} catch (NumberFormatException unused) {
StringBuilder O2 = a.O("Expected a double but was ");
O2.append(this.f266x);
O2.append(this.f267x);
O2.append(" at path ");
O2.append(getPath());
throw new a(O2.toString());
@ -820,10 +820,10 @@ public final class d extends c {
throw new a(O.toString());
}
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) {
String Q = i == 9 ? Q(o) : Q(n);
this.f266x = Q;
this.f267x = Q;
try {
int parseInt = Integer.parseInt(Q);
this.u = 0;
@ -842,10 +842,10 @@ public final class d extends c {
}
this.u = 11;
try {
double parseDouble = Double.parseDouble(this.f266x);
double parseDouble = Double.parseDouble(this.f267x);
int i5 = (int) parseDouble;
if (((double) i5) == parseDouble) {
this.f266x = null;
this.f267x = null;
this.u = 0;
int[] iArr3 = this.m;
int i6 = this.j - 1;
@ -853,13 +853,13 @@ public final class d extends c {
return i5;
}
StringBuilder O3 = a.O("Expected an int but was ");
O3.append(this.f266x);
O3.append(this.f267x);
O3.append(" at path ");
O3.append(getPath());
throw new a(O3.toString());
} catch (NumberFormatException unused2) {
StringBuilder O4 = a.O("Expected an int but was ");
O4.append(this.f266x);
O4.append(this.f267x);
O4.append(" at path ");
O4.append(getPath());
throw new a(O4.toString());
@ -880,7 +880,7 @@ public final class d extends c {
} else if (i == 12) {
str = Q(n);
} else if (i == 15) {
str = this.f266x;
str = this.f267x;
} else {
StringBuilder O = a.O("Expected a name but was ");
O.append(w());
@ -907,12 +907,12 @@ public final class d extends c {
} else if (i == 8) {
str = Q(n);
} else if (i == 11) {
str = this.f266x;
this.f266x = null;
str = this.f267x;
this.f267x = null;
} else if (i == 16) {
str = Long.toString(this.v);
} else if (i == 17) {
str = this.t.H((long) this.f265w);
str = this.t.H((long) this.f266w);
} else {
StringBuilder O = a.O("Expected a string but was ");
O.append(w());
@ -985,7 +985,7 @@ public final class d extends c {
return -1;
}
if (i == 15) {
return K(this.f266x, aVar);
return K(this.f267x, aVar);
}
int u0 = this.s.u0(aVar.b);
if (u0 != -1) {
@ -998,7 +998,7 @@ public final class d extends c {
int K = K(s, aVar);
if (K == -1) {
this.u = 15;
this.f266x = s;
this.f267x = s;
this.l[this.j - 1] = str;
}
return K;

View file

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

View file

@ -19,7 +19,7 @@ public class q {
public static SparseArrayCompat<WeakReference<Interpolator>> b;
/* 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 {
T t;
@ -40,7 +40,7 @@ public class q {
boolean z3 = false;
float f2 = 0.0f;
while (cVar.e()) {
switch (cVar.z(f268c)) {
switch (cVar.z(f269c)) {
case 0:
f2 = (float) cVar.p();
break;

View file

@ -54,15 +54,15 @@ public class r {
i2++;
a aVar2 = (a) list.get(i2);
aVar.f = Float.valueOf(aVar2.e);
if (aVar.f273c == null && (t = aVar2.b) != null) {
aVar.f273c = t;
if (aVar.f274c == null && (t = aVar2.b) != null) {
aVar.f274c = t;
if (aVar instanceof h) {
((h) aVar).e();
}
}
}
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);
}
}

View file

@ -20,7 +20,7 @@ public class s {
public static final c.a b = c.a.a("d", "a");
/* renamed from: c reason: collision with root package name */
public static final c.a 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: 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()) {
cVar.b();
while (cVar.e()) {
if (cVar.z(f269c) != 0) {
if (cVar.z(f270c) != 0) {
cVar.B();
cVar.C();
} else {

View file

@ -21,7 +21,7 @@ public class t {
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 */
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 d a(c cVar) throws IOException {
@ -177,7 +177,7 @@ public class t {
f2 = f6;
cVar.b();
while (cVar.e()) {
if (cVar.z(f270c) != 0) {
if (cVar.z(f271c) != 0) {
cVar.B();
cVar.C();
} else {
@ -344,7 +344,7 @@ public class t {
dVar.m = f4;
dVar.i = arrayList3;
dVar.h = longSparseArray;
dVar.f274c = hashMap;
dVar.f275c = hashMap;
dVar.d = hashMap2;
dVar.g = sparseArrayCompat2;
dVar.e = hashMap3;

View file

@ -21,7 +21,7 @@ public class d extends a implements Choreographer.FrameCallback {
@Nullable
/* renamed from: r reason: collision with root package name */
public c.c.a.d f271r;
public c.c.a.d f272r;
@VisibleForTesting
public boolean s = false;
@ -37,7 +37,7 @@ public class d extends a implements Choreographer.FrameCallback {
@Override // android.view.Choreographer.FrameCallback
public void doFrame(long j) {
l();
c.c.a.d dVar = this.f271r;
c.c.a.d dVar = this.f272r;
if (dVar != null && this.s) {
long j2 = this.m;
long j3 = 0;
@ -77,7 +77,7 @@ public class d extends a implements Choreographer.FrameCallback {
b(k());
}
}
if (this.f271r != null) {
if (this.f272r != null) {
float f3 = this.n;
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)));
@ -99,7 +99,7 @@ public class d extends a implements Choreographer.FrameCallback {
float j;
float i;
float j2;
if (this.f271r == null) {
if (this.f272r == null) {
return 0.0f;
}
if (k()) {
@ -121,7 +121,7 @@ public class d extends a implements Choreographer.FrameCallback {
@Override // android.animation.ValueAnimator, android.animation.Animator
public long getDuration() {
c.c.a.d dVar = this.f271r;
c.c.a.d dVar = this.f272r;
if (dVar == null) {
return 0;
}
@ -130,7 +130,7 @@ public class d extends a implements Choreographer.FrameCallback {
@FloatRange(from = ShadowDrawableWrapper.COS_45, to = 1.0d)
public float h() {
c.c.a.d dVar = this.f271r;
c.c.a.d dVar = this.f272r;
if (dVar == null) {
return 0.0f;
}
@ -140,7 +140,7 @@ public class d extends a implements Choreographer.FrameCallback {
}
public float i() {
c.c.a.d dVar = this.f271r;
c.c.a.d dVar = this.f272r;
if (dVar == null) {
return 0.0f;
}
@ -154,7 +154,7 @@ public class d extends a implements Choreographer.FrameCallback {
}
public float j() {
c.c.a.d dVar = this.f271r;
c.c.a.d dVar = this.f272r;
if (dVar == null) {
return 0.0f;
}
@ -189,7 +189,7 @@ public class d extends a implements Choreographer.FrameCallback {
public void o(float f, float 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 f4 = dVar == null ? Float.MAX_VALUE : dVar.l;
this.p = f.b(f, f3, f4);

View file

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

View file

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

View file

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

View file

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

View file

@ -41,7 +41,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
@Nullable
/* renamed from: r reason: collision with root package name */
public c.c.a.x.b f275r;
public c.c.a.x.b f276r;
@Nullable
public String s;
@Nullable
@ -52,16 +52,16 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
@Nullable
/* 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 */
public int f277x;
public int f278x;
/* renamed from: y reason: collision with root package name */
public boolean f278y;
public boolean f279y;
/* renamed from: z reason: collision with root package name */
public boolean f279z;
public boolean f280z;
/* compiled from: LottieDrawable */
public class a implements o {
@ -127,17 +127,17 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
public final /* synthetic */ Object b;
/* renamed from: c reason: collision with root package name */
public final /* synthetic */ c.c.a.c0.c 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) {
this.a = fVar;
this.b = obj;
this.f281c = cVar;
this.f282c = cVar;
}
@Override // c.c.a.j.o
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
public void onAnimationUpdate(ValueAnimator valueAnimator) {
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) {
cVar.o(jVar.k.h());
}
@ -194,10 +194,10 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
/* compiled from: LottieDrawable */
/* renamed from: c.c.a.j$j reason: collision with other inner class name */
public class C0054j implements o {
public class C0055j implements o {
public final /* synthetic */ float a;
public C0054j(float f) {
public C0055j(float f) {
this.a = f;
}
@ -278,7 +278,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
this.o = new ArrayList<>();
f fVar = new f();
this.p = fVar;
this.f277x = 255;
this.f278x = 255;
this.A = true;
this.B = false;
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) {
List list;
c.c.a.y.m.c cVar2 = this.f276w;
c.c.a.y.m.c cVar2 = this.f277w;
if (cVar2 == null) {
this.o.add(new e(fVar, t, cVar));
return;
@ -295,7 +295,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
if (fVar == c.c.a.y.f.a) {
cVar2.g(t, cVar);
} else {
c.c.a.y.g gVar = fVar.f324c;
c.c.a.y.g gVar = fVar.f325c;
if (gVar != null) {
gVar.g(t, cVar);
} else {
@ -304,11 +304,11 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
list = Collections.emptyList();
} else {
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;
}
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();
}
@ -327,7 +327,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
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);
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() {
@ -336,10 +336,10 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
dVar.cancel();
}
this.j = null;
this.f276w = null;
this.f275r = null;
this.f277w = null;
this.f276r = null;
c.c.a.b0.d dVar2 = this.k;
dVar2.f271r = null;
dVar2.f272r = null;
dVar2.p = -2.14748365E9f;
dVar2.q = 2.14748365E9f;
invalidateSelf();
@ -350,7 +350,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
float f3;
int i2 = -1;
if (ImageView.ScaleType.FIT_XY == this.q) {
if (this.f276w != null) {
if (this.f277w != null) {
Rect bounds = getBounds();
float width = ((float) bounds.width()) / ((float) this.j.j.width());
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.preScale(width, height);
this.f276w.f(canvas, this.i, this.f277x);
this.f277w.f(canvas, this.i, this.f278x);
if (i2 > 0) {
canvas.restoreToCount(i2);
}
}
} else if (this.f276w != null) {
} else if (this.f277w != null) {
float f6 = this.l;
float min2 = Math.min(((float) canvas.getWidth()) / ((float) this.j.j.width()), ((float) canvas.getHeight()) / ((float) this.j.j.height()));
if (f6 > min2) {
@ -401,7 +401,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
}
this.i.reset();
this.i.preScale(min2, min2);
this.f276w.f(canvas, this.i, this.f277x);
this.f277w.f(canvas, this.i, this.f278x);
if (i2 > 0) {
canvas.restoreToCount(i2);
}
@ -438,7 +438,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
@Override // android.graphics.drawable.Drawable
public int getAlpha() {
return this.f277x;
return this.f278x;
}
@Override // android.graphics.drawable.Drawable
@ -502,7 +502,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
@MainThread
public void j() {
if (this.f276w == null) {
if (this.f277w == null) {
this.o.add(new g());
return;
}
@ -530,7 +530,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
@MainThread
public void k() {
if (this.f276w == null) {
if (this.f277w == null) {
this.o.add(new h());
return;
}
@ -576,7 +576,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
}
c.c.a.y.i d2 = dVar.d(str);
if (d2 != null) {
m((int) (d2.b + d2.f325c));
m((int) (d2.b + d2.f326c));
return;
}
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);
if (d2 != null) {
int i2 = (int) d2.b;
p(i2, ((int) d2.f325c) + i2);
p(i2, ((int) d2.f326c) + i2);
return;
}
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
public void setAlpha(@IntRange(from = 0, to = 255) int i2) {
this.f277x = i2;
this.f278x = i2;
invalidateSelf();
}
@ -672,7 +672,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable {
public void t(float f2) {
d dVar = this.j;
if (dVar == null) {
this.o.add(new C0054j(f2));
this.o.add(new C0055j(f2));
} else {
r((int) c.c.a.b0.f.e(dVar.k, dVar.l, f2));
}

View file

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

View file

@ -13,7 +13,7 @@ public interface o {
public static final Integer b = 2;
/* renamed from: c reason: collision with root package name */
public static final Integer f283c = 3;
public static final Integer f284c = 3;
public static final Integer d = 4;
public static final PointF e = 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);
/* 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 t = Float.valueOf(7.0f);
public static final Float u = Float.valueOf(8.0f);
public static final Float v = Float.valueOf(9.0f);
/* 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 */
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 */
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 */
public static final Float f288z = Float.valueOf(12.1f);
public static final Float f289z = Float.valueOf(12.1f);
static {
Float valueOf = Float.valueOf(0.0f);

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -30,7 +30,7 @@ public class h implements e, a.b, k {
public final boolean b;
/* renamed from: c reason: collision with root package name */
public final b f295c;
public final b f296c;
public final LongSparseArray<LinearGradient> d = new LongSparseArray<>();
public final LongSparseArray<RadialGradient> e = new LongSparseArray<>();
public final Path f;
@ -49,7 +49,7 @@ public class h implements e, a.b, k {
public final j q;
/* renamed from: r reason: collision with root package name */
public final int f296r;
public final int f297r;
public h(j jVar, b bVar, d dVar) {
Path path = new Path();
@ -57,14 +57,14 @@ public class h implements e, a.b, k {
this.g = new c.c.a.w.a(1);
this.h = new RectF();
this.i = new ArrayList();
this.f295c = bVar;
this.f296c = bVar;
this.a = dVar.g;
this.b = dVar.h;
this.q = jVar;
this.j = dVar.a;
path.setFillType(dVar.b);
this.f296r = (int) (jVar.j.b() / 32.0f);
a<c, c> a = dVar.f329c.a();
this.f297r = (int) (jVar.j.b() / 32.0f);
a<c, c> a = dVar.f330c.a();
this.k = a;
a.a.add(this);
bVar.e(a);
@ -195,7 +195,7 @@ public class h implements e, a.b, k {
} else if (t == o.C) {
a<ColorFilter, ColorFilter> aVar2 = this.o;
if (aVar2 != null) {
this.f295c.u.remove(aVar2);
this.f296c.u.remove(aVar2);
}
if (cVar == 0) {
this.o = null;
@ -204,11 +204,11 @@ public class h implements e, a.b, k {
p pVar = new p(cVar, null);
this.o = pVar;
pVar.a.add(this);
this.f295c.e(this.o);
this.f296c.e(this.o);
} else if (t == o.D) {
p pVar2 = this.p;
if (pVar2 != null) {
this.f295c.u.remove(pVar2);
this.f296c.u.remove(pVar2);
}
if (cVar == 0) {
this.p = null;
@ -217,7 +217,7 @@ public class h implements e, a.b, k {
p pVar3 = new p(cVar, null);
this.p = pVar3;
pVar3.a.add(this);
this.f295c.e(this.p);
this.f296c.e(this.p);
}
}
@ -227,9 +227,9 @@ public class h implements e, a.b, k {
}
public final int h() {
int round = Math.round(this.m.d * ((float) this.f296r));
int round2 = Math.round(this.n.d * ((float) this.f296r));
int round3 = Math.round(this.k.d * ((float) this.f296r));
int round = Math.round(this.m.d * ((float) this.f297r));
int round2 = Math.round(this.n.d * ((float) this.f297r));
int round3 = Math.round(this.k.d * ((float) this.f297r));
int i = 17;
if (round != 0) {
i = 527 * round;

View file

@ -23,21 +23,21 @@ public class i extends a {
public final LongSparseArray<LinearGradient> q = new LongSparseArray<>();
/* renamed from: r reason: collision with root package name */
public final LongSparseArray<RadialGradient> f297r = new LongSparseArray<>();
public final LongSparseArray<RadialGradient> f298r = new LongSparseArray<>();
public final RectF s = new RectF();
public final int t;
public final int u;
public final a<c, c> v;
/* renamed from: w reason: collision with root package name */
public final a<PointF, PointF> f298w;
public final a<PointF, PointF> f299w;
/* renamed from: x reason: collision with root package name */
public final a<PointF, PointF> f299x;
public final a<PointF, PointF> f300x;
@Nullable
/* renamed from: y reason: collision with root package name */
public p f300y;
public p f301y;
public i(j jVar, b bVar, e eVar) {
super(jVar, bVar, c.c.a.y.b.k(eVar.h), c.c.a.y.b.l(eVar.i), eVar.j, eVar.d, eVar.g, eVar.k, eVar.l);
@ -45,22 +45,22 @@ public class i extends a {
this.t = eVar.b;
this.p = eVar.m;
this.u = (int) (jVar.j.b() / 32.0f);
a<c, c> a = eVar.f330c.a();
a<c, c> a = eVar.f331c.a();
this.v = a;
a.a.add(this);
bVar.e(a);
a<PointF, PointF> a2 = eVar.e.a();
this.f298w = a2;
this.f299w = a2;
a2.a.add(this);
bVar.e(a2);
a<PointF, PointF> a3 = eVar.f.a();
this.f299x = a3;
this.f300x = a3;
a3.a.add(this);
bVar.e(a3);
}
public final int[] e(int[] iArr) {
p pVar = this.f300y;
p pVar = this.f301y;
if (pVar != null) {
Integer[] numArr = (Integer[]) pVar.e();
int i = 0;
@ -92,25 +92,25 @@ public class i extends a {
long h = (long) h();
radialGradient = this.q.get(h);
if (radialGradient == null) {
PointF e = this.f298w.e();
PointF e2 = this.f299x.e();
PointF e = this.f299w.e();
PointF e2 = this.f300x.e();
c e3 = this.v.e();
radialGradient = new LinearGradient(e.x, e.y, e2.x, e2.y, e(e3.b), e3.a, Shader.TileMode.CLAMP);
this.q.put(h, radialGradient);
}
} else {
long h2 = (long) h();
radialGradient = this.f297r.get(h2);
radialGradient = this.f298r.get(h2);
if (radialGradient == null) {
PointF e4 = this.f298w.e();
PointF e5 = this.f299x.e();
PointF e4 = this.f299w.e();
PointF e5 = this.f300x.e();
c e6 = this.v.e();
int[] e7 = e(e6.b);
float[] fArr = e6.a;
float f = e4.x;
float f2 = e4.y;
radialGradient = new RadialGradient(f, f2, (float) Math.hypot((double) (e5.x - f), (double) (e5.y - f2)), e7, fArr, Shader.TileMode.CLAMP);
this.f297r.put(h2, radialGradient);
this.f298r.put(h2, radialGradient);
}
}
radialGradient.setLocalMatrix(matrix);
@ -125,18 +125,18 @@ public class i extends a {
public <T> void g(T t, @Nullable c.c.a.c0.c<T> cVar) {
super.g(t, cVar);
if (t == o.D) {
p pVar = this.f300y;
p pVar = this.f301y;
if (pVar != null) {
this.f.u.remove(pVar);
}
if (cVar == null) {
this.f300y = null;
this.f301y = null;
return;
}
p pVar2 = new p(cVar, null);
this.f300y = pVar2;
this.f301y = pVar2;
pVar2.a.add(this);
this.f.e(this.f300y);
this.f.e(this.f301y);
}
}
@ -146,8 +146,8 @@ public class i extends a {
}
public final int h() {
int round = Math.round(this.f298w.d * ((float) this.u));
int round2 = Math.round(this.f299x.d * ((float) this.u));
int round = Math.round(this.f299w.d * ((float) this.u));
int round2 = Math.round(this.f300x.d * ((float) this.u));
int round3 = Math.round(this.v.d * ((float) this.u));
int i = 17;
if (round != 0) {

View file

@ -15,7 +15,7 @@ public class l implements m, j {
public final Path b = new Path();
/* renamed from: c reason: collision with root package name */
public final Path f301c = new Path();
public final Path f302c = new Path();
public final List<m> d = new ArrayList();
public final g e;
@ -40,8 +40,8 @@ public class l implements m, j {
if (oVar != null) {
matrix2 = oVar.e();
} else {
dVar.f292c.reset();
matrix2 = dVar.f292c;
dVar.f293c.reset();
matrix2 = dVar.f293c;
}
path.transform(matrix2);
this.b.addPath(path);
@ -60,8 +60,8 @@ public class l implements m, j {
if (oVar2 != null) {
matrix = oVar2.e();
} else {
dVar2.f292c.reset();
matrix = dVar2.f292c;
dVar2.f293c.reset();
matrix = dVar2.f293c;
}
path2.transform(matrix);
this.a.addPath(path2);
@ -69,7 +69,7 @@ public class l implements m, j {
} else {
this.a.set(mVar2.getPath());
}
this.f301c.op(this.a, this.b, op);
this.f302c.op(this.a, this.b, op);
}
@Override // c.c.a.w.b.c
@ -94,15 +94,15 @@ public class l implements m, j {
@Override // c.c.a.w.b.m
public Path getPath() {
this.f301c.reset();
this.f302c.reset();
g gVar = this.e;
if (gVar.f332c) {
return this.f301c;
if (gVar.f333c) {
return this.f302c;
}
int ordinal = gVar.b.ordinal();
if (ordinal == 0) {
for (int i = 0; i < this.d.size(); i++) {
this.f301c.addPath(this.d.get(i).getPath());
this.f302c.addPath(this.d.get(i).getPath());
}
} else if (ordinal == 1) {
a(Path.Op.UNION);
@ -113,6 +113,6 @@ public class l implements m, j {
} else if (ordinal == 4) {
a(Path.Op.XOR);
}
return this.f301c;
return this.f302c;
}
}

View file

@ -18,7 +18,7 @@ public class n implements m, a.b, k {
public final String b;
/* renamed from: c reason: collision with root package name */
public final j f302c;
public final j f303c;
public final h.a d;
public final boolean e;
public final a<?, Float> f;
@ -34,12 +34,12 @@ public class n implements m, a.b, k {
public boolean n;
public n(j jVar, b bVar, h hVar) {
this.f302c = jVar;
this.f303c = jVar;
this.b = hVar.a;
h.a aVar = hVar.b;
this.d = aVar;
this.e = hVar.j;
a<Float, Float> a = hVar.f333c.a();
a<Float, Float> a = hVar.f334c.a();
this.f = a;
a<PointF, PointF> a2 = hVar.d.a();
this.g = a2;
@ -80,7 +80,7 @@ public class n implements m, a.b, k {
@Override // c.c.a.w.c.a.b
public void a() {
this.n = false;
this.f302c.invalidateSelf();
this.f303c.invalidateSelf();
}
@Override // c.c.a.w.b.c
@ -89,7 +89,7 @@ public class n implements m, a.b, k {
c cVar = list.get(i);
if (cVar instanceof s) {
s sVar = (s) cVar;
if (sVar.f307c == 1) {
if (sVar.f308c == 1) {
this.m.a.add(sVar);
sVar.b.add(this);
}
@ -127,10 +127,10 @@ public class n implements m, a.b, k {
a<?, Float> aVar6 = this.j;
c<Float> cVar6 = aVar6.e;
aVar6.e = cVar;
} else if (t == o.f285w && (aVar = this.k) != null) {
} else if (t == o.f286w && (aVar = this.k) != null) {
c<Float> cVar7 = aVar.e;
aVar.e = cVar;
} else if (t == o.f286x) {
} else if (t == o.f287x) {
a<?, Float> aVar7 = this.l;
c<Float> cVar8 = aVar7.e;
aVar7.e = cVar;

View file

@ -17,7 +17,7 @@ public class o implements a.b, k, m {
public final RectF b = new RectF();
/* renamed from: c reason: collision with root package name */
public final String f303c;
public final String f304c;
public final boolean d;
public final j e;
public final a<?, PointF> f;
@ -27,12 +27,12 @@ public class o implements a.b, k, m {
public boolean j;
public o(j jVar, b bVar, i iVar) {
this.f303c = iVar.a;
this.f304c = iVar.a;
this.d = iVar.e;
this.e = jVar;
a<PointF, PointF> a = iVar.b.a();
this.f = a;
a<PointF, PointF> a2 = iVar.f334c.a();
a<PointF, PointF> a2 = iVar.f335c.a();
this.g = a2;
a<Float, Float> a3 = iVar.d.a();
this.h = a3;
@ -56,7 +56,7 @@ public class o implements a.b, k, m {
c cVar = list.get(i);
if (cVar instanceof s) {
s sVar = (s) cVar;
if (sVar.f307c == 1) {
if (sVar.f308c == 1) {
this.i.a.add(sVar);
sVar.b.add(this);
}
@ -90,7 +90,7 @@ public class o implements a.b, k, m {
@Override // c.c.a.w.b.c
public String getName() {
return this.f303c;
return this.f304c;
}
@Override // c.c.a.w.b.m

View file

@ -23,7 +23,7 @@ public class p implements e, m, j, a.b, k {
public final Path b = new Path();
/* renamed from: c reason: collision with root package name */
public final j f304c;
public final j f305c;
public final b d;
public final String e;
public final boolean f;
@ -33,7 +33,7 @@ public class p implements e, m, j, a.b, k {
public d j;
public p(j jVar, b bVar, c.c.a.y.l.j jVar2) {
this.f304c = jVar;
this.f305c = jVar;
this.d = bVar;
this.e = jVar2.a;
this.f = jVar2.e;
@ -41,7 +41,7 @@ public class p implements e, m, j, a.b, k {
this.g = a;
bVar.e(a);
a.a.add(this);
a<Float, Float> a2 = jVar2.f335c.a();
a<Float, Float> a2 = jVar2.f336c.a();
this.h = a2;
bVar.e(a2);
a2.a.add(this);
@ -55,7 +55,7 @@ public class p implements e, m, j, a.b, k {
@Override // c.c.a.w.c.a.b
public void a() {
this.f304c.invalidateSelf();
this.f305c.invalidateSelf();
}
@Override // c.c.a.w.b.c
@ -84,7 +84,7 @@ public class p implements e, m, j, a.b, k {
listIterator.remove();
}
Collections.reverse(arrayList);
this.j = new d(this.f304c, this.d, "Repeater", this.f, arrayList, null);
this.j = new d(this.f305c, this.d, "Repeater", this.f, arrayList, null);
}
}
@ -111,7 +111,7 @@ public class p implements e, m, j, a.b, k {
a<Float, Float> aVar = this.g;
c<Float> cVar2 = aVar.e;
aVar.e = cVar;
} else if (t == c.c.a.o.f284r) {
} else if (t == c.c.a.o.f285r) {
a<Float, Float> aVar2 = this.h;
c<Float> cVar3 = aVar2.e;
aVar2.e = cVar;

View file

@ -13,15 +13,15 @@ public class q implements m, a.b {
public final boolean b;
/* renamed from: c reason: collision with root package name */
public final j f305c;
public final j f306c;
public final a<?, Path> d;
public boolean e;
public b f = new b();
public q(j jVar, b bVar, n nVar) {
this.b = nVar.d;
this.f305c = jVar;
a<k, Path> a = nVar.f339c.a();
this.f306c = jVar;
a<k, Path> a = nVar.f340c.a();
this.d = a;
bVar.e(a);
a.a.add(this);
@ -30,7 +30,7 @@ public class q implements m, a.b {
@Override // c.c.a.w.c.a.b
public void a() {
this.e = false;
this.f305c.invalidateSelf();
this.f306c.invalidateSelf();
}
@Override // c.c.a.w.b.c
@ -39,7 +39,7 @@ public class q implements m, a.b {
c cVar = list.get(i);
if (cVar instanceof s) {
s sVar = (s) cVar;
if (sVar.f307c == 1) {
if (sVar.f308c == 1) {
this.f.a.add(sVar);
sVar.b.add(this);
}

View file

@ -18,17 +18,17 @@ public class r extends a {
public final boolean q;
/* renamed from: r reason: collision with root package name */
public final a<Integer, Integer> f306r;
public final a<Integer, Integer> f307r;
@Nullable
public a<ColorFilter, ColorFilter> s;
public r(j jVar, b bVar, o oVar) {
super(jVar, bVar, c.c.a.y.b.k(oVar.g), c.c.a.y.b.l(oVar.h), oVar.i, oVar.e, oVar.f, oVar.f340c, oVar.b);
super(jVar, bVar, c.c.a.y.b.k(oVar.g), c.c.a.y.b.l(oVar.h), oVar.i, oVar.e, oVar.f, oVar.f341c, oVar.b);
this.o = bVar;
this.p = oVar.a;
this.q = oVar.j;
a<Integer, Integer> a = oVar.d.a();
this.f306r = a;
this.f307r = a;
a.a.add(this);
bVar.e(a);
}
@ -37,7 +37,7 @@ public class r extends a {
public void f(Canvas canvas, Matrix matrix, int i) {
if (!this.q) {
Paint paint = this.i;
c.c.a.w.c.b bVar = (c.c.a.w.c.b) this.f306r;
c.c.a.w.c.b bVar = (c.c.a.w.c.b) this.f307r;
paint.setColor(bVar.j(bVar.a(), bVar.c()));
a<ColorFilter, ColorFilter> aVar = this.s;
if (aVar != null) {
@ -53,7 +53,7 @@ public class r extends a {
public <T> void g(T t, @Nullable c<T> cVar) {
super.g(t, cVar);
if (t == c.c.a.o.b) {
a<Integer, Integer> aVar = this.f306r;
a<Integer, Integer> aVar = this.f307r;
c<Integer> cVar2 = aVar.e;
aVar.e = cVar;
} else if (t == c.c.a.o.C) {
@ -68,7 +68,7 @@ public class r extends a {
p pVar = new p(cVar, null);
this.s = pVar;
pVar.a.add(this);
this.o.e(this.f306r);
this.o.e(this.f307r);
}
}

View file

@ -11,15 +11,15 @@ public class s implements c, a.b {
public final List<a.b> b = new ArrayList();
/* renamed from: c reason: collision with root package name */
public final int f307c;
public final int f308c;
public final a<?, Float> d;
public final a<?, Float> e;
public final a<?, Float> f;
public s(b bVar, p pVar) {
this.a = pVar.f;
this.f307c = pVar.b;
a<Float, Float> a = pVar.f341c.a();
this.f308c = pVar.b;
a<Float, Float> a = pVar.f342c.a();
this.d = a;
a<Float, Float> a2 = pVar.d.a();
this.e = a2;

View file

@ -12,7 +12,7 @@ public abstract class a<K, A> {
public boolean b = false;
/* renamed from: c reason: collision with root package name */
public final d<K> f308c;
public final d<K> f309c;
public float d = 0.0f;
@Nullable
public c.c.a.c0.c<A> e;
@ -28,7 +28,7 @@ public abstract class a<K, A> {
/* compiled from: BaseKeyframeAnimation */
public static final class c<T> implements d<T> {
public c(C0056a aVar) {
public c(C0057a aVar) {
}
@Override // c.c.a.w.c.a.d
@ -86,7 +86,7 @@ public abstract class a<K, A> {
public c.c.a.c0.a<T> b;
/* renamed from: c reason: collision with root package name */
public c.c.a.c0.a<T> f309c = null;
public c.c.a.c0.a<T> f310c = null;
public float d = -1.0f;
public e(List<? extends c.c.a.c0.a<T>> list) {
@ -96,12 +96,12 @@ public abstract class a<K, A> {
@Override // c.c.a.w.c.a.d
public boolean a(float f) {
c.c.a.c0.a<T> aVar = this.f309c;
c.c.a.c0.a<T> aVar = this.f310c;
c.c.a.c0.a<T> aVar2 = this.b;
if (aVar == aVar2 && this.d == f) {
return true;
}
this.f309c = aVar2;
this.f310c = aVar2;
this.d = f;
return false;
}
@ -205,11 +205,11 @@ public abstract class a<K, A> {
} else {
dVar = list.size() == 1 ? new f<>(list) : new e<>(list);
}
this.f308c = dVar;
this.f309c = dVar;
}
public c.c.a.c0.a<K> a() {
c.c.a.c0.a<K> b2 = this.f308c.b();
c.c.a.c0.a<K> b2 = this.f309c.b();
c.c.a.c.a("BaseKeyframeAnimation#getCurrentKeyframe");
return b2;
}
@ -217,7 +217,7 @@ public abstract class a<K, A> {
@FloatRange(from = ShadowDrawableWrapper.COS_45, to = 1.0d)
public float b() {
if (this.h == -1.0f) {
this.h = this.f308c.d();
this.h = this.f309c.d();
}
return this.h;
}
@ -243,7 +243,7 @@ public abstract class a<K, A> {
public A e() {
float c2 = c();
if (this.e == null && this.f308c.a(c2)) {
if (this.e == null && this.f309c.a(c2)) {
return this.f;
}
A f2 = f(a(), c2);
@ -260,14 +260,14 @@ public abstract class a<K, A> {
}
public void h(@FloatRange(from = 0.0d, to = 1.0d) float f2) {
if (!this.f308c.isEmpty()) {
if (!this.f309c.isEmpty()) {
if (this.g == -1.0f) {
this.g = this.f308c.e();
this.g = this.f309c.e();
}
float f3 = this.g;
if (f2 < f3) {
if (f3 == -1.0f) {
this.g = this.f308c.e();
this.g = this.f309c.e();
}
f2 = this.g;
} else if (f2 > b()) {
@ -275,7 +275,7 @@ public abstract class a<K, A> {
}
if (f2 != this.d) {
this.d = f2;
if (this.f308c.c(f2)) {
if (this.f309c.c(f2)) {
g();
}
}

View file

@ -19,11 +19,11 @@ public class b extends f<Integer> {
public int j(a<Integer> aVar, float f) {
Integer num;
Integer num2 = aVar.b;
if (num2 == null || aVar.f273c == null) {
if (num2 == null || aVar.f274c == null) {
throw new IllegalStateException("Missing values for keyframe.");
}
int intValue = num2.intValue();
int intValue2 = aVar.f273c.intValue();
int intValue2 = aVar.f274c.intValue();
c<A> cVar = this.e;
return (cVar == 0 || (num = (Integer) cVar.a(aVar.e, aVar.f.floatValue(), Integer.valueOf(intValue), Integer.valueOf(intValue2), f, d(), this.d)) == null) ? d.k0(f.b(f, 0.0f, 1.0f), intValue, intValue2) : num.intValue();
}

View file

@ -20,11 +20,11 @@ public class c extends f<Float> {
public float k(a<Float> aVar, float f) {
Float f2;
if (aVar.b == null || aVar.f273c == null) {
if (aVar.b == null || aVar.f274c == null) {
throw new IllegalStateException("Missing values for keyframe.");
}
c.c.a.c0.c<A> cVar = this.e;
if (cVar != 0 && (f2 = (Float) cVar.a(aVar.e, aVar.f.floatValue(), aVar.b, aVar.f273c, f, d(), this.d)) != null) {
if (cVar != 0 && (f2 = (Float) cVar.a(aVar.e, aVar.f.floatValue(), aVar.b, aVar.f274c, f, d(), this.d)) != null) {
return f2.floatValue();
}
if (aVar.g == -3987645.8f) {
@ -32,7 +32,7 @@ public class c extends f<Float> {
}
float f3 = aVar.g;
if (aVar.h == -3987645.8f) {
aVar.h = aVar.f273c.floatValue();
aVar.h = aVar.f274c.floatValue();
}
return f.e(f3, aVar.h, f);
}

View file

@ -21,7 +21,7 @@ public class d extends f<c> {
public Object f(a aVar, float f) {
c cVar = this.i;
c cVar2 = aVar.b;
c cVar3 = aVar.f273c;
c cVar3 = aVar.f274c;
Objects.requireNonNull(cVar);
if (cVar2.b.length == cVar3.b.length) {
for (int i = 0; i < cVar2.b.length; i++) {

View file

@ -18,11 +18,11 @@ public class e extends f<Integer> {
public int j(a<Integer> aVar, float f) {
Integer num;
if (aVar.b == null || aVar.f273c == null) {
if (aVar.b == null || aVar.f274c == null) {
throw new IllegalStateException("Missing values for keyframe.");
}
c<A> cVar = this.e;
if (cVar != 0 && (num = (Integer) cVar.a(aVar.e, aVar.f.floatValue(), aVar.b, aVar.f273c, f, d(), this.d)) != null) {
if (cVar != 0 && (num = (Integer) cVar.a(aVar.e, aVar.f.floatValue(), aVar.b, aVar.f274c, f, d(), this.d)) != null) {
return num.intValue();
}
if (aVar.i == 784923401) {
@ -30,7 +30,7 @@ public class e extends f<Integer> {
}
int i = aVar.i;
if (aVar.j == 784923401) {
aVar.j = aVar.f273c.intValue();
aVar.j = aVar.f274c.intValue();
}
int i2 = aVar.j;
PointF pointF = f.a;

View file

@ -11,15 +11,15 @@ public class g {
public final List<a<Integer, Integer>> b;
/* renamed from: c reason: collision with root package name */
public final List<f> f310c;
public final List<f> f311c;
public g(List<f> list) {
this.f310c = list;
this.f311c = list;
this.a = new ArrayList(list.size());
this.b = new ArrayList(list.size());
for (int i = 0; i < list.size(); i++) {
this.a.add(list.get(i).b.a());
this.b.add(list.get(i).f331c.a());
this.b.add(list.get(i).f332c.a());
}
}
}

View file

@ -14,16 +14,16 @@ public class h extends a<PointF> {
public final a<PointF> p;
public h(d dVar, a<PointF> aVar) {
super(dVar, aVar.b, aVar.f273c, aVar.d, aVar.e, aVar.f);
super(dVar, aVar.b, aVar.f274c, aVar.d, aVar.e, aVar.f);
this.p = aVar;
e();
}
public void e() {
PointF pointF;
PointF pointF2 = this.f273c;
PointF pointF2 = this.f274c;
boolean z2 = (pointF2 == null || (pointF = this.b) == null || !pointF.equals(pointF2.x, pointF2.y)) ? false : true;
PointF pointF3 = this.f273c;
PointF pointF3 = this.f274c;
if (pointF3 != null && !z2) {
PointF pointF4 = this.b;
PointF pointF5 = pointF3;

View file

@ -29,7 +29,7 @@ public class i extends f<PointF> {
return aVar.b;
}
c<A> cVar = this.e;
if (cVar != 0 && (pointF = (PointF) cVar.a(hVar.e, hVar.f.floatValue(), hVar.b, hVar.f273c, d(), f, this.d)) != null) {
if (cVar != 0 && (pointF = (PointF) cVar.a(hVar.e, hVar.f.floatValue(), hVar.b, hVar.f274c, d(), f, this.d)) != null) {
return pointF;
}
if (this.k != hVar) {

View file

@ -17,7 +17,7 @@ public class j extends f<PointF> {
PointF pointF;
PointF pointF2;
PointF pointF3 = aVar.b;
if (pointF3 == null || (pointF = aVar.f273c) == null) {
if (pointF3 == null || (pointF = aVar.f274c) == null) {
throw new IllegalStateException("Missing values for keyframe.");
}
PointF pointF4 = pointF3;

View file

@ -18,7 +18,7 @@ public class k extends f<d> {
d dVar;
d dVar2;
d dVar3 = aVar.b;
if (dVar3 == null || (dVar = aVar.f273c) == null) {
if (dVar3 == null || (dVar = aVar.f274c) == null) {
throw new IllegalStateException("Missing values for keyframe.");
}
d dVar4 = dVar3;

View file

@ -21,12 +21,12 @@ public class l extends a<k, Path> {
@Override // c.c.a.w.c.a
public Path f(a<k> aVar, float f) {
k kVar = aVar.b;
k kVar2 = aVar.f273c;
k kVar2 = aVar.f274c;
k kVar3 = this.i;
if (kVar3.b == null) {
kVar3.b = new PointF();
}
kVar3.f336c = kVar.f336c || kVar2.f336c;
kVar3.f337c = kVar.f337c || kVar2.f337c;
if (kVar.a.size() != kVar2.a.size()) {
StringBuilder O = c.d.b.a.a.O("Curves must have the same number of control points. Shape 1: ");
O.append(kVar.a.size());
@ -58,13 +58,13 @@ public class l extends a<k, Path> {
c.c.a.y.a aVar3 = kVar2.a.get(size3);
PointF pointF3 = aVar2.a;
PointF pointF4 = aVar2.b;
PointF pointF5 = aVar2.f314c;
PointF pointF5 = aVar2.f315c;
PointF pointF6 = aVar3.a;
PointF pointF7 = aVar3.b;
PointF pointF8 = aVar3.f314c;
PointF pointF8 = aVar3.f315c;
kVar3.a.get(size3).a.set(f.e(pointF3.x, pointF6.x, f), f.e(pointF3.y, pointF6.y, f));
kVar3.a.get(size3).b.set(f.e(pointF4.x, pointF7.x, f), f.e(pointF4.y, pointF7.y, f));
kVar3.a.get(size3).f314c.set(f.e(pointF5.x, pointF8.x, f), f.e(pointF5.y, pointF8.y, f));
kVar3.a.get(size3).f315c.set(f.e(pointF5.x, pointF8.x, f), f.e(pointF5.y, pointF8.y, f));
}
k kVar4 = this.i;
Path path = this.j;
@ -76,7 +76,7 @@ public class l extends a<k, Path> {
c.c.a.y.a aVar4 = kVar4.a.get(i);
PointF pointF10 = aVar4.a;
PointF pointF11 = aVar4.b;
PointF pointF12 = aVar4.f314c;
PointF pointF12 = aVar4.f315c;
if (!pointF10.equals(f.a) || !pointF11.equals(pointF12)) {
path.cubicTo(pointF10.x, pointF10.y, pointF11.x, pointF11.y, pointF12.x, pointF12.y);
} else {
@ -84,7 +84,7 @@ public class l extends a<k, Path> {
}
f.a.set(pointF12.x, pointF12.y);
}
if (kVar4.f336c) {
if (kVar4.f337c) {
path.close();
}
return this.j;

View file

@ -19,7 +19,7 @@ public class o {
public final Matrix b;
/* renamed from: c reason: collision with root package name */
public final Matrix f311c;
public final Matrix f312c;
public final Matrix d;
public final float[] e;
@NonNull
@ -46,7 +46,7 @@ public class o {
this.f = eVar == null ? null : eVar.a();
m<PointF, PointF> mVar = lVar.b;
this.g = mVar == null ? null : mVar.a();
g gVar = lVar.f327c;
g gVar = lVar.f328c;
this.h = gVar == null ? null : gVar.a();
b bVar = lVar.d;
this.i = bVar == null ? null : bVar.a();
@ -55,12 +55,12 @@ public class o {
this.k = cVar;
if (cVar != null) {
this.b = new Matrix();
this.f311c = new Matrix();
this.f312c = new Matrix();
this.d = new Matrix();
this.e = new float[9];
} else {
this.b = null;
this.f311c = null;
this.f312c = null;
this.d = null;
this.e = null;
}
@ -178,7 +178,7 @@ public class o {
c<Float> cVar7 = aVar6.e;
aVar6.e = cVar;
return true;
} else if (t == c.c.a.o.f283c) {
} else if (t == c.c.a.o.f284c) {
a<Integer, Integer> aVar7 = this.j;
if (aVar7 == null) {
this.j = new p(cVar, 100);
@ -187,8 +187,8 @@ public class o {
c<Integer> cVar8 = aVar7.e;
aVar7.e = cVar;
return true;
} else if (t != c.c.a.o.f287y || (aVar2 = this.m) == null) {
if (t != c.c.a.o.f288z || (aVar = this.n) == null) {
} else if (t != c.c.a.o.f288y || (aVar2 = this.m) == null) {
if (t != c.c.a.o.f289z || (aVar = this.n) == null) {
if (t == c.c.a.o.m && (cVar3 = this.k) != null) {
if (cVar3 == null) {
this.k = new c(Collections.singletonList(new c.c.a.c0.a(Float.valueOf(0.0f))));
@ -269,7 +269,7 @@ public class o {
fArr2[3] = (float) Math.tan(Math.toRadians((double) this.k.j()));
fArr2[4] = 1.0f;
fArr2[8] = 1.0f;
this.f311c.setValues(fArr2);
this.f312c.setValues(fArr2);
d();
float[] fArr3 = this.e;
fArr3[0] = cos;
@ -278,8 +278,8 @@ public class o {
fArr3[4] = cos;
fArr3[8] = 1.0f;
this.d.setValues(fArr3);
this.f311c.preConcat(this.b);
this.d.preConcat(this.f311c);
this.f312c.preConcat(this.b);
this.d.preConcat(this.f312c);
this.a.preConcat(this.d);
}
a<d, d> aVar3 = this.h;

View file

@ -14,7 +14,7 @@ public class a {
public final Map<j<String>, Typeface> b = new HashMap();
/* renamed from: c reason: collision with root package name */
public final Map<String, Typeface> f312c = new HashMap();
public final Map<String, Typeface> f313c = new HashMap();
public final AssetManager d;
public String e = ".ttf";

View file

@ -18,17 +18,17 @@ public class b {
public final Context b;
/* renamed from: c reason: collision with root package name */
public String f313c;
public String f314c;
@Nullable
public c.c.a.b d;
public final Map<String, k> e;
public b(Drawable.Callback callback, String str, c.c.a.b bVar, Map<String, k> map) {
this.f313c = str;
this.f314c = str;
if (!TextUtils.isEmpty(str)) {
String str2 = this.f313c;
String str2 = this.f314c;
if (str2.charAt(str2.length() - 1) != '/') {
this.f313c = a.F(new StringBuilder(), this.f313c, MentionUtilsKt.SLASH_CHAR);
this.f314c = a.F(new StringBuilder(), this.f314c, MentionUtilsKt.SLASH_CHAR);
}
}
if (!(callback instanceof View)) {

View file

@ -9,17 +9,17 @@ public class a {
public final PointF b;
/* renamed from: c reason: collision with root package name */
public final PointF f314c;
public final PointF f315c;
public a() {
this.a = new PointF();
this.b = new PointF();
this.f314c = new PointF();
this.f315c = new PointF();
}
public a(PointF pointF, PointF pointF2, PointF pointF3) {
this.a = pointF;
this.b = pointF2;
this.f314c = pointF3;
this.f315c = pointF3;
}
}

View file

@ -21,7 +21,7 @@ public /* synthetic */ class b {
public static /* synthetic */ int[] b;
/* renamed from: c reason: collision with root package name */
public static /* synthetic */ int[] f315c;
public static /* synthetic */ int[] f316c;
public static /* synthetic */ int[] d;
public static /* synthetic */ int[] e;
public static /* synthetic */ int[] f;
@ -38,23 +38,23 @@ public /* synthetic */ class b {
public static /* synthetic */ int[] q;
/* renamed from: r reason: collision with root package name */
public static /* synthetic */ int[] f316r;
public static /* synthetic */ int[] f317r;
public static /* synthetic */ int[] s;
public static /* synthetic */ int[] t;
public static /* synthetic */ int[] u;
public static /* synthetic */ int[] v;
/* renamed from: w reason: collision with root package name */
public static /* synthetic */ int[] f317w;
public static /* synthetic */ int[] f318w;
/* renamed from: x reason: collision with root package name */
public static /* synthetic */ int[] f318x;
public static /* synthetic */ int[] f319x;
/* renamed from: y reason: collision with root package name */
public static /* synthetic */ int[] f319y;
public static /* synthetic */ int[] f320y;
/* renamed from: z reason: collision with root package name */
public static /* synthetic */ int[] f320z;
public static /* synthetic */ int[] f321z;
public static synchronized /* synthetic */ int[] a() {
int[] iArr;
@ -138,10 +138,10 @@ public /* synthetic */ class b {
public static synchronized /* synthetic */ int[] f() {
int[] iArr;
synchronized (b.class) {
if (f317w == null) {
f317w = i(13);
if (f318w == null) {
f318w = i(13);
}
iArr = f317w;
iArr = f318w;
}
return iArr;
}

View file

@ -10,7 +10,7 @@ public class c {
public final String b;
/* renamed from: c reason: collision with root package name */
public final float f321c;
public final float f322c;
public final int d;
public final int e;
public final float f;
@ -25,7 +25,7 @@ public class c {
public c(String str, String str2, float f, int i, int i2, float f2, float f3, @ColorInt int i3, @ColorInt int i4, float f4, boolean z2) {
this.a = str;
this.b = str2;
this.f321c = f;
this.f322c = f;
this.d = i;
this.e = i2;
this.f = f2;
@ -38,7 +38,7 @@ public class c {
public int hashCode() {
String str = this.b;
int h = ((b.h(this.d) + (((int) (((float) a.m(str, this.a.hashCode() * 31, 31)) + this.f321c)) * 31)) * 31) + this.e;
int h = ((b.h(this.d) + (((int) (((float) a.m(str, this.a.hashCode() * 31, 31)) + this.f322c)) * 31)) * 31) + this.e;
long floatToRawIntBits = (long) Float.floatToRawIntBits(this.f);
return (((h * 31) + ((int) (floatToRawIntBits ^ (floatToRawIntBits >>> 32)))) * 31) + this.h;
}

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