package com.discord.widgets.tos; import android.view.View; import android.widget.CheckBox; import android.widget.LinearLayout; import android.widget.RelativeLayout; import android.widget.TextView; import com.discord.R; import com.discord.databinding.WidgetTosAcceptBinding; import com.discord.utilities.view.text.LinkifiedTextView; import com.google.android.material.button.MaterialButton; import d0.z.d.k; import d0.z.d.m; import kotlin.jvm.functions.Function1; /* compiled from: WidgetTosAccept.kt */ public final /* synthetic */ class WidgetTosAccept$binding$2 extends k implements Function1 { public static final WidgetTosAccept$binding$2 INSTANCE = new WidgetTosAccept$binding$2(); public WidgetTosAccept$binding$2() { super(1, WidgetTosAcceptBinding.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetTosAcceptBinding;", 0); } public final WidgetTosAcceptBinding invoke(View view) { m.checkNotNullParameter(view, "p1"); int i = R.id.alert_tos_ack; CheckBox checkBox = (CheckBox) view.findViewById(R.id.alert_tos_ack); if (checkBox != null) { i = R.id.alert_tos_ack_continue; MaterialButton materialButton = (MaterialButton) view.findViewById(R.id.alert_tos_ack_continue); if (materialButton != null) { i = R.id.alert_tos_ack_wrap; LinearLayout linearLayout = (LinearLayout) view.findViewById(R.id.alert_tos_ack_wrap); if (linearLayout != null) { i = R.id.alert_tos_privacy_policy; LinkifiedTextView linkifiedTextView = (LinkifiedTextView) view.findViewById(R.id.alert_tos_privacy_policy); if (linkifiedTextView != null) { i = R.id.alert_tos_terms_of_service; LinkifiedTextView linkifiedTextView2 = (LinkifiedTextView) view.findViewById(R.id.alert_tos_terms_of_service); if (linkifiedTextView2 != null) { i = R.id.alert_tos_text_description; TextView textView = (TextView) view.findViewById(R.id.alert_tos_text_description); if (textView != null) { i = R.id.alert_tos_text_title; TextView textView2 = (TextView) view.findViewById(R.id.alert_tos_text_title); if (textView2 != null) { return new WidgetTosAcceptBinding((RelativeLayout) view, checkBox, materialButton, linearLayout, linkifiedTextView, linkifiedTextView2, textView, textView2); } } } } } } } throw new NullPointerException("Missing required view with ID: ".concat(view.getResources().getResourceName(i))); } }