package zm; import a33.f1; import af0.t; import ai.clova.cic.clientlib.exoplayer2.extractor.ts.PsExtractor; import al1.w0; import android.app.Dialog; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.view.View; import android.widget.EditText; import android.widget.FrameLayout; import androidx.biometric.g0; import androidx.fragment.app.n; import androidx.lifecycle.b1; import ap0.r; import ch1.c; import com.android.billingclient.api.f0; import com.google.android.material.bottomsheet.BottomSheetBehavior; import com.linecorp.chathistory.report.view.ReportBaseFragment; import com.linecorp.home.safetycheck.view.SafetyCheckFriendsStatusFragment; import com.linecorp.line.album.data.model.AlbumModel; import com.linecorp.line.album.ui.viewmodel.AlbumViewModel; import com.linecorp.line.album.ui.viewmodel.h0; import com.linecorp.line.album.ui.viewmodel.t0; import com.linecorp.line.avatar.suggestion.agreement.SuggestionAgreementActivity; import com.linecorp.line.media.picker.MediaPickerHelper; import com.linecorp.line.passlock.KeypadView; import com.linecorp.line.pay.impl.biz.passcode.cardnumber.PayPasscodeResetAuthCardDialogFragment; import com.linecorp.line.pay.impl.legacy.activity.credit.PayCardRegistrationActivity; import com.linecorp.line.pay.impl.tw.biz.signup.migration.login.PayIPassLoginFragment; import com.linecorp.line.pay.impl.tw.biz.transfer.PayIPassMyTransferCodeActivity; import com.linecorp.line.pay.impl.tw.biz.transfer.PayIPassTransferCodeReaderActivity; import com.linecorp.line.timeline.activity.hashtag.list.HashtagFeedActivity; import com.linecorp.line.timeline.activity.write.PostWriteActivity; import com.linecorp.line.timeline.activity.write.WriteParams; import com.linecorp.line.timeline.model2.PostListByHashTag; import com.linecorp.linekeep.dto.KeepContentItemDTO; import com.linecorp.square.v2.view.chat.fragment.create.CreateSubChatActivity; import cq1.i0; import cq1.p; import da0.a; import dm3.l; import em3.l0; import em3.q; import gi1.m; import ix2.f; import java.util.List; import java.util.Map; import java.util.Objects; import kotlin.NoWhenBranchMatchedException; import kotlin.Unit; import kw.c; import nx2.s; import ow.k; import qi0.u0; import ql3.u; import qx.g; import ri1.b; import rz.h; import sj2.e; import tj1.r; import wx.d; import yr1.a; import zy2.a; public final /* synthetic */ class e implements View.OnClickListener { /* renamed from: b reason: collision with root package name */ public final /* synthetic */ int f199720b; /* renamed from: c reason: collision with root package name */ public final /* synthetic */ Object f199721c; public /* synthetic */ e(Object obj, int i14) { this.f199720b = i14; this.f199721c = obj; } public final void onClick(View view) { b bVar; String str; boolean z14 = true; boolean z15 = false; switch (this.f199720b) { case 0: ReportBaseFragment reportBaseFragment = (ReportBaseFragment) this.f199721c; int i14 = ReportBaseFragment.f32503i; q.f(reportBaseFragment, "this$0"); BottomSheetBehavior<View> bottomSheetBehavior = reportBaseFragment.f32510h; if (bottomSheetBehavior != null) { bottomSheetBehavior.setState(5); return; } return; case 1: SafetyCheckFriendsStatusFragment safetyCheckFriendsStatusFragment = (SafetyCheckFriendsStatusFragment) this.f199721c; SafetyCheckFriendsStatusFragment.a aVar = SafetyCheckFriendsStatusFragment.f32843f; q.f(safetyCheckFriendsStatusFragment, "this$0"); n activity = safetyCheckFriendsStatusFragment.getActivity(); if (activity != null) { activity.finish(); return; } return; case 2: g gVar = (g) this.f199721c; q.f(gVar, "this$0"); f0.d(view.getContext(), view); AlbumViewModel albumViewModel = gVar.f134691c; String a14 = gVar.f134697i.a(); Objects.requireNonNull(albumViewModel); q.f(a14, KeepContentItemDTO.COLUMN_TITLE); AlbumModel value = albumViewModel.f34141e.getValue(); if (value != null) { kw.q qVar = albumViewModel.f34140d; long j14 = albumViewModel.K; AlbumModel copy$default = AlbumModel.copy$default(value, 0, null, a14, 0, 0, 0, 0, null, null, false, null, null, null, 0, null, null, 0, null, 262139, null); Objects.requireNonNull(qVar); q.f(copy$default, "album"); k kVar = qVar.f104350a; long id4 = copy$default.getId(); Objects.requireNonNull(kVar); albumViewModel.M.b(new f(qVar.j(new nx2.q(new s(new ow.e(kVar, id4, copy$default)), new c(qVar, j14)), "updateAlbum(" + copy$default + ')').D(a.f202073c).u(ax2.a.a()).q(new t0(albumViewModel, 0)), new com.linecorp.line.album.ui.viewmodel.f0(albumViewModel)).B(new h0(albumViewModel, value, a14), new d(albumViewModel, 1))); return; } return; case 3: SuggestionAgreementActivity suggestionAgreementActivity = (SuggestionAgreementActivity) this.f199721c; int i15 = SuggestionAgreementActivity.f34696m; q.f(suggestionAgreementActivity, "this$0"); h.e(h.f140914a, "ml_agreement", suggestionAgreementActivity.f34705l, "agree", null, null, null, null, null, PsExtractor.AUDIO_STREAM); suggestionAgreementActivity.D8(true); return; case 4: dm3.a aVar2 = (dm3.a) this.f199721c; zi1.h[] hVarArr = j90.c.f91071f; q.f(aVar2, "$onRetryToReadMoreButtonClicked"); aVar2.invoke(); return; case 5: ja0.g gVar2 = (ja0.g) this.f199721c; Map<a.e, Integer> map = ja0.g.f91179i; q.f(gVar2, "this$0"); gVar2.C8(na0.e.CLOSE); gVar2.finish(); return; case 6: t tVar = (t) this.f199721c; q.f(tVar, "this$0"); tVar.f4178g.f106721x.setValue(Boolean.TRUE); return; case 7: u0 u0Var = (u0) this.f199721c; q.f(u0Var, "this$0"); u0Var.f132719c.d6(qi0.h.LINE_STICKER); return; case 8: KeypadView keypadView = (KeypadView) this.f199721c; Map<Integer, Integer> map2 = KeypadView.f38193i; q.f(keypadView, "this$0"); l<? super KeypadView, Unit> lVar = keypadView.f38196c; if (lVar != null) { lVar.invoke(keypadView); return; } return; case 9: PayPasscodeResetAuthCardDialogFragment payPasscodeResetAuthCardDialogFragment = (PayPasscodeResetAuthCardDialogFragment) this.f199721c; int i16 = PayPasscodeResetAuthCardDialogFragment.f38429g; q.f(payPasscodeResetAuthCardDialogFragment, "this$0"); StringBuilder sb4 = new StringBuilder(); List<? extends EditText> list = payPasscodeResetAuthCardDialogFragment.f38433e; if (list != null) { sb4.append(u.Z(list, "", null, null, 0, null, jn0.d.f92701b, 30)); PayPasscodeResetAuthCardDialogFragment.CardNumberInfo cardNumberInfo = payPasscodeResetAuthCardDialogFragment.f38434f; if (cardNumberInfo != null) { sb4.append(cardNumberInfo.f38437d); String sb5 = sb4.toString(); n activity2 = payPasscodeResetAuthCardDialogFragment.getActivity(); fn0.a aVar3 = activity2 instanceof fn0.a ? (fn0.a) activity2 : null; if (aVar3 != null) { aVar3.a(); } jn0.h hVar = (jn0.h) payPasscodeResetAuthCardDialogFragment.f38430b.getValue(); String a15 = ((ln0.e) payPasscodeResetAuthCardDialogFragment.f38431c.getValue()).f107657a.a(); jn0.c cVar = new jn0.c(payPasscodeResetAuthCardDialogFragment); Objects.requireNonNull(hVar); q.f(sb5, "cardNo"); q.f(a15, zq0.c.QUERY_KEY_AUTH_TOKEN); hVar.f92708a.a(ts0.e.a(null, new jn0.g(sb5, a15, hVar, cVar))); return; } q.l("cardInfo"); throw null; } q.l("cardNumberEditTexts"); throw null; case 10: r.f((r) this.f199721c, view); return; case 11: ((PayCardRegistrationActivity) this.f199721c).onDone(view); return; case 12: es0.s sVar = (es0.s) this.f199721c; int i17 = es0.s.f69301o; q.f(sVar, "this$0"); sVar.dismiss(); return; case 13: PayIPassLoginFragment payIPassLoginFragment = (PayIPassLoginFragment) this.f199721c; int i18 = PayIPassLoginFragment.f40815d; q.f(payIPassLoginFragment, "this$0"); n activity3 = payIPassLoginFragment.getActivity(); if (activity3 != null) { ((xt0.a) payIPassLoginFragment.a5()).R5(activity3); return; } return; case 14: PayIPassTransferCodeReaderActivity payIPassTransferCodeReaderActivity = (PayIPassTransferCodeReaderActivity) this.f199721c; int i19 = PayIPassTransferCodeReaderActivity.P; q.f(payIPassTransferCodeReaderActivity, "this$0"); payIPassTransferCodeReaderActivity.startActivity(new Intent(payIPassTransferCodeReaderActivity, PayIPassMyTransferCodeActivity.class).addFlags(67108864)); return; case 15: m mVar = (m) this.f199721c; int i24 = m.B; q.f(mVar, "this$0"); ri1.c cVar2 = mVar.f76955o; if (cVar2 == null || (bVar = cVar2.f137777d) == null || !bVar.f137771b) { z14 = false; } if (z14) { c.f fVar = mVar.f76987z; if (fVar != null) { fVar.l(mVar.f76986y); } q.e(view, "it"); mVar.s0(view); return; } return; case 16: HashtagFeedActivity hashtagFeedActivity = (HashtagFeedActivity) this.f199721c; HashtagFeedActivity.a aVar4 = HashtagFeedActivity.f43190r; q.f(hashtagFeedActivity, "this$0"); String str2 = hashtagFeedActivity.C8().f45539b; String str3 = hashtagFeedActivity.C8().f45541d; String str4 = hashtagFeedActivity.C8().f45542e; r.a D8 = hashtagFeedActivity.D8(); Objects.requireNonNull(D8); int i25 = r.a.b.$EnumSwitchMapping$0[D8.ordinal()]; if (i25 == 1) { str = "popular"; } else if (i25 == 2) { str = "latest"; } else if (i25 == 3) { str = ""; } else { throw new NoWhenBranchMatchedException(); } i0.n(new PostListByHashTag.a(str2, str3, str4, str, (String) hashtagFeedActivity.f43198n.getValue()), cq1.q.WRITE_HASHTAG.name, p.HASHTAGLIST.name, false); WriteParams writeParams = new WriteParams(); writeParams.f44444h = '\n' + hashtagFeedActivity.C8().f45539b; writeParams.B = true; writeParams.f44456t = false; PostWriteActivity.Y8(hashtagFeedActivity, 1312, writeParams, yo1.p.POSTS_BY_HASHTAG); return; case 17: al1.u uVar = (al1.u) this.f199721c; q.f(uVar, "this$0"); w0 w0Var = uVar.f5555x; w0Var.f5587e = null; w0Var.f5586d.g(MediaPickerHelper.f.TIMELINE, false); i0.x(uVar.f5532a, cq1.q.WRITE_FLOATING_CAMERA); return; case 18: com.linecorp.line.timeline.activity.write.group.k kVar2 = (com.linecorp.line.timeline.activity.write.group.k) this.f199721c; q.f(kVar2, "this$0"); kVar2.f44697d.onBackPressed(); return; case 19: tn1.l lVar2 = (tn1.l) this.f199721c; q.f(lVar2, "this$0"); if (!lVar2.f150531e.c()) { yw0.c player = lVar2.f150530d.getPlayer(); if (player != null && player.l()) { z14 = false; } } if (z14) { lVar2.f150531e.a(); return; } yw0.c player2 = lVar2.f150530d.getPlayer(); if (player2 != null) { z15 = player2.isPlaying(); } lVar2.f150531e.d(z15 ? 3000 : -1); lVar2.d(); return; case 20: qs1.l lVar3 = (qs1.l) this.f199721c; yn1.g gVar3 = lVar3.f134409x; FrameLayout frameLayout = gVar3 != null ? (FrameLayout) gVar3.f195253d : null; if (frameLayout != null) { frameLayout.setVisibility(8); } lVar3.f134315g.o(a.EnumC3511a.CLOSE_POPUP); um3.g.d(lVar3.f134400o, null, 0, new qs1.n(lVar3, null), 3, null); return; case 21: Dialog dialog = (Dialog) this.f199721c; zi1.h[] hVarArr2 = qz1.h.f134916n; q.f(dialog, "$this_apply"); dialog.dismiss(); return; case 22: bb2.c cVar3 = (bb2.c) this.f199721c; q.f(cVar3, "this$0"); cVar3.f12115b.invoke(); return; case 23: sb2.g gVar4 = (sb2.g) this.f199721c; q.f(gVar4, "this$0"); if (gVar4.f142371f.c(true) == 1) { gVar4.b(); return; } return; case 24: CreateSubChatActivity createSubChatActivity = (CreateSubChatActivity) this.f199721c; CreateSubChatActivity.Companion companion = CreateSubChatActivity.f55633q; q.f(createSubChatActivity, "this$0"); createSubChatActivity.A8().c(); return; case 25: dj2.e eVar = (dj2.e) this.f199721c; q.f(eVar, "$context"); sj2.b j04 = eVar.j0(); q.f(j04, "provider"); e.b bVar2 = new e.b(j04); bVar2.f143282d = "freecall"; bVar2.f143283e = "click"; bVar2.b("screen", false); bVar2.b("mediatype", false); bVar2.a("clicktarget", "endcall"); bVar2.b("orientation", false); bVar2.b("wtrole", true); bVar2.b("viewtype", true); sj2.e e14 = bVar2.e(); if (e14 != null) { b1.d(e14); } gm2.a aVar5 = (gm2.a) g0.e(l0.a(gm2.a.class), eVar); if (aVar5 != null) { aVar5.f(eVar); return; } return; case 26: mo2.a aVar6 = (mo2.a) this.f199721c; int i26 = mo2.a.f113163c; q.f(aVar6, "this$0"); Context context = aVar6.getContext(); Intent intent = new Intent("android.intent.action.VIEW"); intent.setData(Uri.parse("https://terms2.line.me/line_call_terms?lang=" + z1.g.c())); context.startActivity(intent); return; case 27: yo2.d dVar = (yo2.d) this.f199721c; int i27 = yo2.d.f195506l; q.f(dVar, "this$0"); cj2.b bVar3 = (cj2.b) dVar.f195507i.k(cj2.b.class); if (bVar3 != null) { bVar3.pause(); } zo2.c cVar4 = dVar.f195507i; yo2.c cVar5 = yo2.c.f195504a; Context context2 = dVar.getContext(); q.e(context2, "context"); yo2.c.b(context2); cVar4.b(); dVar.a(cVar4); sj2.b j05 = dVar.f195508j.j0(); q.f(j05, "provider"); e.b bVar4 = new e.b(j05); bVar4.f143282d = "freecall"; bVar4.f143283e = "click"; bVar4.a("screen", "oa.noti.pip"); bVar4.a("mediatype", "video"); bVar4.a("clicktarget", "answerwithoutcamera"); bVar4.b("search_id", false); sj2.e e15 = bVar4.e(); if (e15 != null) { b1.d(e15); return; } return; case 28: ((l23.k) this.f199721c).f105408a.h(false); fa3.b.a(ga3.u.CHATROOM_LAYER_START); return; default: dn.a<zi1.h[]> aVar7 = f1.N; ((f1) this.f199721c).O0(); return; } } }