128 lines
4.1 KiB
Java
128 lines
4.1 KiB
Java
package com.discord.widgets.chat.input.expression;
|
|
|
|
import c.d.b.a.a;
|
|
import d0.z.d.m;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
/* compiled from: ExpressionPickerEvent.kt */
|
|
public abstract class ExpressionPickerEvent {
|
|
|
|
/* compiled from: ExpressionPickerEvent.kt */
|
|
public static final class CloseExpressionPicker extends ExpressionPickerEvent {
|
|
public static final CloseExpressionPicker INSTANCE = new CloseExpressionPicker();
|
|
|
|
private CloseExpressionPicker() {
|
|
super(null);
|
|
}
|
|
}
|
|
|
|
/* compiled from: ExpressionPickerEvent.kt */
|
|
public static final class OpenStickerPicker extends ExpressionPickerEvent {
|
|
private final boolean inline;
|
|
private final String searchText;
|
|
private final Long stickerPackId;
|
|
|
|
public OpenStickerPicker() {
|
|
this(null, null, false, 7, null);
|
|
}
|
|
|
|
public OpenStickerPicker(Long l, String str, boolean z2) {
|
|
super(null);
|
|
this.stickerPackId = l;
|
|
this.searchText = str;
|
|
this.inline = z2;
|
|
}
|
|
|
|
/* JADX INFO: this call moved to the top of the method (can break code semantics) */
|
|
public /* synthetic */ OpenStickerPicker(Long l, String str, boolean z2, int i, DefaultConstructorMarker defaultConstructorMarker) {
|
|
this((i & 1) != 0 ? null : l, (i & 2) != 0 ? null : str, (i & 4) != 0 ? false : z2);
|
|
}
|
|
|
|
public static /* synthetic */ OpenStickerPicker copy$default(OpenStickerPicker openStickerPicker, Long l, String str, boolean z2, int i, Object obj) {
|
|
if ((i & 1) != 0) {
|
|
l = openStickerPicker.stickerPackId;
|
|
}
|
|
if ((i & 2) != 0) {
|
|
str = openStickerPicker.searchText;
|
|
}
|
|
if ((i & 4) != 0) {
|
|
z2 = openStickerPicker.inline;
|
|
}
|
|
return openStickerPicker.copy(l, str, z2);
|
|
}
|
|
|
|
public final Long component1() {
|
|
return this.stickerPackId;
|
|
}
|
|
|
|
public final String component2() {
|
|
return this.searchText;
|
|
}
|
|
|
|
public final boolean component3() {
|
|
return this.inline;
|
|
}
|
|
|
|
public final OpenStickerPicker copy(Long l, String str, boolean z2) {
|
|
return new OpenStickerPicker(l, str, z2);
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof OpenStickerPicker)) {
|
|
return false;
|
|
}
|
|
OpenStickerPicker openStickerPicker = (OpenStickerPicker) obj;
|
|
return m.areEqual(this.stickerPackId, openStickerPicker.stickerPackId) && m.areEqual(this.searchText, openStickerPicker.searchText) && this.inline == openStickerPicker.inline;
|
|
}
|
|
|
|
public final boolean getInline() {
|
|
return this.inline;
|
|
}
|
|
|
|
public final String getSearchText() {
|
|
return this.searchText;
|
|
}
|
|
|
|
public final Long getStickerPackId() {
|
|
return this.stickerPackId;
|
|
}
|
|
|
|
public int hashCode() {
|
|
Long l = this.stickerPackId;
|
|
int i = 0;
|
|
int hashCode = (l != null ? l.hashCode() : 0) * 31;
|
|
String str = this.searchText;
|
|
if (str != null) {
|
|
i = str.hashCode();
|
|
}
|
|
int i2 = (hashCode + i) * 31;
|
|
boolean z2 = this.inline;
|
|
if (z2) {
|
|
z2 = true;
|
|
}
|
|
int i3 = z2 ? 1 : 0;
|
|
int i4 = z2 ? 1 : 0;
|
|
int i5 = z2 ? 1 : 0;
|
|
return i2 + i3;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder P = a.P("OpenStickerPicker(stickerPackId=");
|
|
P.append(this.stickerPackId);
|
|
P.append(", searchText=");
|
|
P.append(this.searchText);
|
|
P.append(", inline=");
|
|
return a.L(P, this.inline, ")");
|
|
}
|
|
}
|
|
|
|
private ExpressionPickerEvent() {
|
|
}
|
|
|
|
public /* synthetic */ ExpressionPickerEvent(DefaultConstructorMarker defaultConstructorMarker) {
|
|
this();
|
|
}
|
|
}
|