package com.discord.widgets.chat.input.models; import c.d.b.a.a; import com.discord.widgets.chat.input.autocomplete.Autocompletable; import d0.z.d.m; import java.util.Map; import kotlin.ranges.IntRange; /* compiled from: ChatInputMentionsMap.kt */ public final class ChatInputMentionsMap { private final String input; private final Map mentions; /* JADX DEBUG: Multi-variable search result rejected for r3v0, resolved type: java.util.Map */ /* JADX WARN: Multi-variable type inference failed */ public ChatInputMentionsMap(String str, Map map) { m.checkNotNullParameter(str, "input"); m.checkNotNullParameter(map, "mentions"); this.input = str; this.mentions = map; } /* JADX DEBUG: Multi-variable search result rejected for r0v0, resolved type: com.discord.widgets.chat.input.models.ChatInputMentionsMap */ /* JADX WARN: Multi-variable type inference failed */ public static /* synthetic */ ChatInputMentionsMap copy$default(ChatInputMentionsMap chatInputMentionsMap, String str, Map map, int i, Object obj) { if ((i & 1) != 0) { str = chatInputMentionsMap.input; } if ((i & 2) != 0) { map = chatInputMentionsMap.mentions; } return chatInputMentionsMap.copy(str, map); } public final String component1() { return this.input; } public final Map component2() { return this.mentions; } public final ChatInputMentionsMap copy(String str, Map map) { m.checkNotNullParameter(str, "input"); m.checkNotNullParameter(map, "mentions"); return new ChatInputMentionsMap(str, map); } public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof ChatInputMentionsMap)) { return false; } ChatInputMentionsMap chatInputMentionsMap = (ChatInputMentionsMap) obj; return m.areEqual(this.input, chatInputMentionsMap.input) && m.areEqual(this.mentions, chatInputMentionsMap.mentions); } public final String getInput() { return this.input; } public final Map getMentions() { return this.mentions; } public int hashCode() { String str = this.input; int i = 0; int hashCode = (str != null ? str.hashCode() : 0) * 31; Map map = this.mentions; if (map != null) { i = map.hashCode(); } return hashCode + i; } public String toString() { StringBuilder K = a.K("ChatInputMentionsMap(input="); K.append(this.input); K.append(", mentions="); return a.E(K, this.mentions, ")"); } }