2021-08-09 22:50:52 +00:00
|
|
|
package com.discord.widgets.chat.overlay;
|
|
|
|
|
|
|
|
import android.view.View;
|
|
|
|
import android.widget.ImageView;
|
|
|
|
import android.widget.LinearLayout;
|
|
|
|
import android.widget.RelativeLayout;
|
|
|
|
import android.widget.TextView;
|
|
|
|
import androidx.constraintlayout.widget.ConstraintLayout;
|
2021-10-18 07:12:10 +00:00
|
|
|
import c.a.i.q4;
|
|
|
|
import c0.z.d.k;
|
|
|
|
import c0.z.d.m;
|
2021-08-09 22:50:52 +00:00
|
|
|
import com.discord.R;
|
|
|
|
import com.discord.databinding.WidgetChatOverlayBinding;
|
|
|
|
import com.discord.views.sticker.StickerView;
|
|
|
|
import com.discord.views.typing.TypingDots;
|
|
|
|
import com.google.android.material.floatingactionbutton.FloatingActionButton;
|
|
|
|
import kotlin.jvm.functions.Function1;
|
|
|
|
/* compiled from: WidgetChatOverlay.kt */
|
|
|
|
public final /* synthetic */ class WidgetChatOverlay$binding$2 extends k implements Function1<View, WidgetChatOverlayBinding> {
|
|
|
|
public static final WidgetChatOverlay$binding$2 INSTANCE = new WidgetChatOverlay$binding$2();
|
|
|
|
|
|
|
|
public WidgetChatOverlay$binding$2() {
|
|
|
|
super(1, WidgetChatOverlayBinding.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetChatOverlayBinding;", 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
public final WidgetChatOverlayBinding invoke(View view) {
|
|
|
|
m.checkNotNullParameter(view, "p1");
|
|
|
|
int i = R.id.chat_overlay_old_messages_fab;
|
|
|
|
FloatingActionButton floatingActionButton = (FloatingActionButton) view.findViewById(R.id.chat_overlay_old_messages_fab);
|
|
|
|
if (floatingActionButton != null) {
|
|
|
|
i = R.id.chat_overlay_typing;
|
|
|
|
RelativeLayout relativeLayout = (RelativeLayout) view.findViewById(R.id.chat_overlay_typing);
|
|
|
|
if (relativeLayout != null) {
|
|
|
|
i = R.id.chat_overlay_typing_dots;
|
|
|
|
TypingDots typingDots = (TypingDots) view.findViewById(R.id.chat_overlay_typing_dots);
|
|
|
|
if (typingDots != null) {
|
|
|
|
i = R.id.chat_typing_users_slowmode;
|
|
|
|
TextView textView = (TextView) view.findViewById(R.id.chat_typing_users_slowmode);
|
|
|
|
if (textView != null) {
|
|
|
|
i = R.id.chat_typing_users_slowmode_icon;
|
|
|
|
ImageView imageView = (ImageView) view.findViewById(R.id.chat_typing_users_slowmode_icon);
|
|
|
|
if (imageView != null) {
|
|
|
|
i = R.id.chat_typing_users_typing;
|
|
|
|
TextView textView2 = (TextView) view.findViewById(R.id.chat_typing_users_typing);
|
|
|
|
if (textView2 != null) {
|
|
|
|
i = R.id.stickers_suggestions;
|
|
|
|
View findViewById = view.findViewById(R.id.stickers_suggestions);
|
|
|
|
if (findViewById != null) {
|
|
|
|
int i2 = R.id.chat_input_suggested_sticker_1;
|
|
|
|
StickerView stickerView = (StickerView) findViewById.findViewById(R.id.chat_input_suggested_sticker_1);
|
|
|
|
if (stickerView != null) {
|
|
|
|
i2 = R.id.chat_input_suggested_sticker_2;
|
|
|
|
StickerView stickerView2 = (StickerView) findViewById.findViewById(R.id.chat_input_suggested_sticker_2);
|
|
|
|
if (stickerView2 != null) {
|
|
|
|
i2 = R.id.chat_input_suggested_sticker_3;
|
|
|
|
StickerView stickerView3 = (StickerView) findViewById.findViewById(R.id.chat_input_suggested_sticker_3);
|
|
|
|
if (stickerView3 != null) {
|
|
|
|
i2 = R.id.chat_input_suggested_sticker_4;
|
|
|
|
StickerView stickerView4 = (StickerView) findViewById.findViewById(R.id.chat_input_suggested_sticker_4);
|
|
|
|
if (stickerView4 != null) {
|
|
|
|
i2 = R.id.chat_input_suggested_sticker_cancel;
|
|
|
|
ImageView imageView2 = (ImageView) findViewById.findViewById(R.id.chat_input_suggested_sticker_cancel);
|
|
|
|
if (imageView2 != null) {
|
2021-10-18 07:12:10 +00:00
|
|
|
return new WidgetChatOverlayBinding((ConstraintLayout) view, floatingActionButton, relativeLayout, typingDots, textView, imageView, textView2, new q4((LinearLayout) findViewById, stickerView, stickerView2, stickerView3, stickerView4, imageView2));
|
2021-08-09 22:50:52 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
throw new NullPointerException("Missing required view with ID: ".concat(findViewById.getResources().getResourceName(i2)));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
throw new NullPointerException("Missing required view with ID: ".concat(view.getResources().getResourceName(i)));
|
|
|
|
}
|
|
|
|
}
|