2021-08-03 07:33:18 +00:00
|
|
|
package com.discord.widgets.auth;
|
|
|
|
|
|
|
|
import android.view.View;
|
|
|
|
import androidx.coordinatorlayout.widget.CoordinatorLayout;
|
2021-10-15 06:18:26 +00:00
|
|
|
import c0.z.d.k;
|
|
|
|
import c0.z.d.m;
|
2021-08-09 22:51:56 +00:00
|
|
|
import com.discord.R;
|
2021-08-03 07:33:18 +00:00
|
|
|
import com.discord.databinding.WidgetAuthRegisterIdentityBinding;
|
|
|
|
import com.discord.utilities.dimmer.DimmerView;
|
|
|
|
import com.discord.utilities.view.text.LinkifiedTextView;
|
|
|
|
import com.discord.views.phone.PhoneOrEmailInputView;
|
|
|
|
import com.discord.views.segmentedcontrol.CardSegment;
|
|
|
|
import com.discord.views.segmentedcontrol.SegmentedControlContainer;
|
|
|
|
import com.google.android.material.button.MaterialButton;
|
|
|
|
import kotlin.jvm.functions.Function1;
|
|
|
|
/* compiled from: WidgetAuthRegisterIdentity.kt */
|
|
|
|
public final /* synthetic */ class WidgetAuthRegisterIdentity$binding$2 extends k implements Function1<View, WidgetAuthRegisterIdentityBinding> {
|
|
|
|
public static final WidgetAuthRegisterIdentity$binding$2 INSTANCE = new WidgetAuthRegisterIdentity$binding$2();
|
|
|
|
|
|
|
|
public WidgetAuthRegisterIdentity$binding$2() {
|
|
|
|
super(1, WidgetAuthRegisterIdentityBinding.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetAuthRegisterIdentityBinding;", 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
public final WidgetAuthRegisterIdentityBinding invoke(View view) {
|
|
|
|
m.checkNotNullParameter(view, "p1");
|
2021-08-09 22:51:56 +00:00
|
|
|
int i = R.id.auth_register_identity_button;
|
|
|
|
MaterialButton materialButton = (MaterialButton) view.findViewById(R.id.auth_register_identity_button);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (materialButton != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.auth_register_identity_first_segment_card;
|
|
|
|
CardSegment cardSegment = (CardSegment) view.findViewById(R.id.auth_register_identity_first_segment_card);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (cardSegment != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.auth_register_identity_input;
|
|
|
|
PhoneOrEmailInputView phoneOrEmailInputView = (PhoneOrEmailInputView) view.findViewById(R.id.auth_register_identity_input);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (phoneOrEmailInputView != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.auth_register_identity_policy_link;
|
|
|
|
LinkifiedTextView linkifiedTextView = (LinkifiedTextView) view.findViewById(R.id.auth_register_identity_policy_link);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (linkifiedTextView != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.auth_register_identity_second_segment_card;
|
|
|
|
CardSegment cardSegment2 = (CardSegment) view.findViewById(R.id.auth_register_identity_second_segment_card);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (cardSegment2 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.auth_register_identity_segmented_control;
|
|
|
|
SegmentedControlContainer segmentedControlContainer = (SegmentedControlContainer) view.findViewById(R.id.auth_register_identity_segmented_control);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (segmentedControlContainer != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.dimmer_view;
|
|
|
|
DimmerView dimmerView = (DimmerView) view.findViewById(R.id.dimmer_view);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (dimmerView != null) {
|
|
|
|
return new WidgetAuthRegisterIdentityBinding((CoordinatorLayout) view, materialButton, cardSegment, phoneOrEmailInputView, linkifiedTextView, cardSegment2, segmentedControlContainer, dimmerView);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
throw new NullPointerException("Missing required view with ID: ".concat(view.getResources().getResourceName(i)));
|
|
|
|
}
|
|
|
|
}
|