正在查看: 24Six v66.1.24 应用的 l0.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: 24Six v66.1.24 应用的 l0.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package r;
import android.content.Context;
import android.content.Intent;
import android.text.TextUtils;
import androidx.core.util.Consumer;
import androidx.fragment.app.FragmentActivity;
import app.tfs.R;
import app.tfs.activity.ActivitySlideshow;
import app.tfs.db.DbMain;
import app.tfs.media.TfsMediaSource;
import app.tfs.model.ContextMenuItem;
import app.tfs.model.TfsPhoto;
import app.tfs.model.TfsProfile;
import app.tfs.model.TfsTile;
import g.AbstractC0461d;
import g.C0458a;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import n.F2;
public final class l0 {
private app.tfs.activity.e a;
private app.tfs.fragment.b b;
private Y.I c;
private TfsTile d;
private TfsTile e;
private final boolean f1727f;
private boolean f1728g;
private boolean f1729h;
public l0(FragmentActivity fragmentActivity, app.tfs.fragment.b bVar) {
kotlin.jvm.internal.m.e(fragmentActivity, "activity");
app.tfs.activity.e eVar = (app.tfs.activity.e) fragmentActivity;
this.a = eVar;
if (bVar != null) {
this.b = bVar;
} else {
N.f B2 = app.tfs.activity.c.B(eVar, false, 1, null);
this.b = B2 instanceof app.tfs.fragment.b ? (app.tfs.fragment.b) B2 : null;
}
this.f1727f = C0693d.d.a();
}
public static final Boolean A0(l0 l0Var, TfsTile tfsTile, List list) {
l0Var.S0(tfsTile, list);
return Boolean.TRUE;
}
private final List B0() {
ArrayList arrayList = new ArrayList();
final TfsTile tfsTile = this.d;
if (tfsTile != null) {
app.tfs.fragment.b bVar = this.b;
final F2 f2 = bVar instanceof F2 ? (F2) bVar : null;
if (this.f1727f && tfsTile.isEditable() && (f2 == null || !f2.o0())) {
arrayList.add(new ContextMenuItem((Context) this.a, R.d.edit, R.i.edit, new o0.r() {
public final Object get() {
Boolean C0;
C0 = l0.C0(F2.this, this, tfsTile);
return C0;
}
}));
arrayList.add(new ContextMenuItem((Context) this.a, R.d.round_delete_forever_24, R.i.delete, new o0.r() {
public final Object get() {
Boolean D0;
D0 = l0.D0(l0.this, tfsTile);
return D0;
}
}));
}
if (this.f1727f || this.e != null) {
arrayList.add(new ContextMenuItem((Context) this.a, R.d.shuffle, R.i.shuffle_play, new o0.r() {
public final Object get() {
Boolean E0;
E0 = l0.E0(l0.this, tfsTile);
return E0;
}
}));
arrayList.add(new ContextMenuItem((Context) this.a, R.d.round_play_arrow_24, R.i.play_this_playlist, new o0.r() {
public final Object get() {
Boolean F0;
F0 = l0.F0(l0.this, tfsTile);
return F0;
}
}));
}
if (this.f1727f && !N0() && !O0() && !tfsTile.isEditable() && !kotlin.jvm.internal.m.a(tfsTile.automatic, Boolean.TRUE)) {
if (!tfsTile.isInLibrary() || tfsTile.isAiPlaylist()) {
arrayList.add(new ContextMenuItem((Context) this.a, R.d.folder_add, AbstractC0461d.d.booleanValue() ? R.i.add_to_my_playlists : R.i.add_to_library, new o0.r() {
public final Object get() {
Boolean H0;
H0 = l0.H0(l0.this, tfsTile);
return H0;
}
}));
} else {
arrayList.add(new ContextMenuItem((Context) this.a, R.d.folder_check, AbstractC0461d.d.booleanValue() ? R.i.remove_from_my_playlists : R.i.remove_from_library, new o0.r() {
public final Object get() {
Boolean G0;
G0 = l0.G0(l0.this, tfsTile);
return G0;
}
}));
}
}
Q(arrayList);
if (!C0707s.A()) {
if (tfsTile.isPreviewUrl()) {
arrayList.add(new ContextMenuItem((Context) this.a, R.d.outline_share_24, R.i.share_playlist, new o0.r() {
public final Object get() {
Boolean I0;
I0 = l0.I0(l0.this, tfsTile);
return I0;
}
}));
return arrayList;
}
arrayList.add(new ContextMenuItem((Context) this.a, R.d.copy, R.i.copy_link, new o0.r() {
public final Object get() {
Boolean J0;
J0 = l0.J0(l0.this, tfsTile);
return J0;
}
}));
}
}
return arrayList;
}
public static final Boolean C0(F2 f2, l0 l0Var, TfsTile tfsTile) {
if (f2 != null) {
f2.z0();
} else {
app.tfs.fragment.b bVar = l0Var.b;
if (bVar != null) {
bVar.C(F2.f1356x.d(tfsTile, false, true, null));
}
}
return Boolean.TRUE;
}
public static final Boolean D0(l0 l0Var, TfsTile tfsTile) {
l0Var.a.n0(l0Var.b, tfsTile);
return Boolean.TRUE;
}
public static final Boolean E0(l0 l0Var, TfsTile tfsTile) {
app.tfs.activity.e.P0(l0Var.a, tfsTile, false, true, false, false, 0, l0Var.X0(), 58, null);
return Boolean.TRUE;
}
public static final Boolean F0(l0 l0Var, TfsTile tfsTile) {
app.tfs.activity.e.P0(l0Var.a, tfsTile, false, false, false, false, 0, l0Var.X0(), 62, null);
return Boolean.TRUE;
}
public static final Boolean G0(l0 l0Var, TfsTile tfsTile) {
l0Var.a.X0(l0Var.b, tfsTile, false);
return Boolean.TRUE;
}
public static final Boolean H0(l0 l0Var, TfsTile tfsTile) {
l0Var.a.X0(l0Var.b, tfsTile, true);
return Boolean.TRUE;
}
public static final Boolean I0(l0 l0Var, TfsTile tfsTile) {
b0.n.d(l0Var.a, tfsTile.getPreviewUrl());
return Boolean.TRUE;
}
public static final Boolean J0(l0 l0Var, TfsTile tfsTile) {
b0.n.d(l0Var.a, "https://24six.app/app/" + tfsTile.getContentType() + "/playlist/" + tfsTile.id);
return Boolean.TRUE;
}
private final void K0(TfsTile tfsTile) {
app.tfs.fragment.b bVar;
this.a.C0();
if (!this.f1727f) {
app.tfs.fragment.b bVar2 = this.b;
if (bVar2 != null) {
bVar2.C(app.tfs.fragment.k.f692p.a(tfsTile));
return;
}
return;
}
app.tfs.fragment.b bVar3 = this.b;
app.tfs.fragment.d dVar = bVar3 instanceof app.tfs.fragment.d ? (app.tfs.fragment.d) bVar3 : null;
if ((dVar == null || !dVar.r0(tfsTile)) && (bVar = this.b) != null) {
bVar.C(app.tfs.fragment.d.f627x.a(tfsTile));
}
}
private final void L0(String str) {
if (this.f1729h) {
this.a.C0();
}
boolean a = C0693d.d.a();
app.tfs.fragment.b bVar = this.b;
if (bVar != null) {
bVar.C(app.tfs.fragment.q.N.a(this.a.getString(R.i.select_playlist), str, "latest", null, Boolean.FALSE, null, Boolean.TRUE, this.d, true, a, this.f1729h));
}
}
private final boolean M0() {
TfsTile tfsTile = this.d;
return kotlin.jvm.internal.m.a("music", tfsTile != null ? tfsTile.getContentType() : null);
}
private final boolean N0() {
TfsTile tfsTile = this.d;
return kotlin.jvm.internal.m.a("podcast", tfsTile != null ? tfsTile.getContentType() : null);
}
private final boolean O0() {
TfsTile tfsTile = this.d;
return kotlin.jvm.internal.m.a("video", tfsTile != null ? tfsTile.getContentType() : null);
}
private final void Q(List list) {
final TfsTile tfsTile;
boolean z2;
TfsTile tfsTile2;
if (O0() || (tfsTile = this.d) == null) {
return;
}
if (this.e == null || (!(kotlin.jvm.internal.m.a(TfsTile.TILE_TYPE_PLAYLIST, tfsTile.getType()) || kotlin.jvm.internal.m.a(TfsTile.TILE_TYPE_COLLECTION, tfsTile.getType())) || (tfsTile2 = this.e) == null)) {
z2 = false;
} else {
app.tfs.db.b.g(app.tfs.db.b.a, this.a, tfsTile2, false, false, 8, null);
z2 = tfsTile2.isPartiallyDownloaded;
}
if (this.e == null || tfsTile.isAiPlaylist()) {
list.add(new ContextMenuItem((Context) this.a, R.d.download, R.i.download, new o0.r() {
public final Object get() {
Boolean R;
R = l0.R(l0.this, tfsTile);
return R;
}
}));
return;
}
TfsTile tfsTile3 = this.e;
if (kotlin.jvm.internal.m.a("error", tfsTile3 != null ? tfsTile3.download_status : null)) {
list.add(new ContextMenuItem((Context) this.a, R.d.download, R.i.retry_download, new o0.r() {
public final Object get() {
Boolean S;
S = l0.S(l0.this, tfsTile);
return S;
}
}));
list.add(new ContextMenuItem((Context) this.a, R.d.round_close_24, R.i.cancel_download, new o0.r() {
public final Object get() {
Boolean T;
T = l0.T(l0.this, tfsTile);
return T;
}
}));
return;
}
TfsTile tfsTile4 = this.e;
if (kotlin.jvm.internal.m.a("requested", tfsTile4 != null ? tfsTile4.download_status : null)) {
list.add(new ContextMenuItem((Context) this.a, R.d.round_close_24, R.i.cancel_download, new o0.r() {
public final Object get() {
Boolean U;
U = l0.U(l0.this, tfsTile);
return U;
}
}));
return;
}
if (z2) {
tfsTile.setPartiallyDownloaded(true);
list.add(new ContextMenuItem((Context) this.a, R.d.download, R.i.download_all, new o0.r() {
public final Object get() {
Boolean V;
V = l0.V(l0.this, tfsTile);
return V;
}
}));
}
list.add(new ContextMenuItem((Context) this.a, R.d.downloaded_white, R.i.delete_download, new o0.r() {
public final Object get() {
Boolean W;
W = l0.W(l0.this, tfsTile);
return W;
}
}));
}
public static final Boolean R(l0 l0Var, TfsTile tfsTile) {
l0Var.a.q0(l0Var.b, tfsTile, true);
return Boolean.TRUE;
}
private final void R0() {
TfsProfile tfsProfile = (TfsProfile) C0458a.f992h.a();
Long l2 = tfsProfile == null ? -1L : tfsProfile.id;
TfsTile tfsTile = this.d;
if (tfsTile == null) {
return;
}
V.c c = DbMain.b.d.c();
N.a aVar = this.a;
kotlin.jvm.internal.m.b(l2);
this.e = (TfsTile) c.e(TfsTile.class, aVar, new l.a(tfsTile, l2.longValue()).b());
List q0 = kotlin.jvm.internal.m.a(TfsTile.TILE_TYPE_CONTENT, tfsTile.getType()) ? q0() : kotlin.jvm.internal.m.a(TfsTile.TILE_TYPE_ARTIST, tfsTile.getType()) ? a0() : kotlin.jvm.internal.m.a(TfsTile.TILE_TYPE_COLLECTION, tfsTile.getType()) ? f0() : kotlin.jvm.internal.m.a(TfsTile.TILE_TYPE_PLAYLIST, tfsTile.getType()) ? B0() : null;
if (q0 == null || q0.isEmpty()) {
return;
}
app.tfs.a.f390g.a(tfsTile, q0).show(this.a.getSupportFragmentManager(), "context_menu");
}
public static final Boolean S(l0 l0Var, TfsTile tfsTile) {
l0Var.a.q0(l0Var.b, tfsTile, true);
return Boolean.TRUE;
}
public static final Boolean T(l0 l0Var, TfsTile tfsTile) {
l0Var.a.i0(tfsTile);
return Boolean.TRUE;
}
public static final Boolean T0(l0 l0Var, TfsTile tfsTile) {
l0Var.K0(tfsTile);
return Boolean.TRUE;
}
public static final Boolean U(l0 l0Var, TfsTile tfsTile) {
l0Var.a.i0(tfsTile);
return Boolean.TRUE;
}
public static final Boolean V(l0 l0Var, TfsTile tfsTile) {
l0Var.a.q0(l0Var.b, tfsTile, true);
return Boolean.TRUE;
}
private final void V0(final TfsTile tfsTile) {
this.a.w0().F(new Consumer() {
public final void accept(Object obj) {
l0.W0(l0.this, tfsTile, (Y.I) obj);
}
});
}
public static final Boolean W(l0 l0Var, TfsTile tfsTile) {
l0Var.a.i0(tfsTile);
return Boolean.TRUE;
}
public static final void W0(l0 l0Var, TfsTile tfsTile, Y.I i2) {
l0Var.c = i2;
l0Var.d = tfsTile;
l0Var.R0();
}
private final void X(final TfsTile tfsTile, List list) {
if (this.f1727f) {
if (tfsTile.isFavorite()) {
list.add(new ContextMenuItem((Context) this.a, R.d.round_heart_filled, R.i.remove_from_favorites, new o0.r() {
public final Object get() {
Boolean Y;
Y = l0.Y(l0.this, tfsTile);
return Y;
}
}));
} else {
list.add(new ContextMenuItem((Context) this.a, R.d.round_heart_outline, R.i.add_to_favorites, new o0.r() {
public final Object get() {
Boolean Z;
Z = l0.Z(l0.this, tfsTile);
return Z;
}
}));
}
}
}
private final boolean X0() {
return !this.f1727f || this.f1728g;
}
public static final Boolean Y(l0 l0Var, TfsTile tfsTile) {
l0Var.a.Z0(l0Var.b, tfsTile, false);
return Boolean.TRUE;
}
public static final Boolean Z(l0 l0Var, TfsTile tfsTile) {
l0Var.a.Z0(l0Var.b, tfsTile, true);
return Boolean.TRUE;
}
private final List a0() {
ArrayList arrayList = new ArrayList();
final TfsTile tfsTile = this.d;
if (tfsTile != null) {
if (this.f1727f && !N0()) {
arrayList.add(new ContextMenuItem((Context) this.a, R.d.shuffle, R.i.shuffle_play, new o0.r() {
public final Object get() {
Boolean b0;
b0 = l0.b0(l0.this, tfsTile);
return b0;
}
}));
}
if ((this.f1727f || this.e != null) && !N0()) {
arrayList.add(new ContextMenuItem((Context) this.a, R.d.artist_music, R.i.view_artist, new o0.r() {
public final Object get() {
Boolean c0;
c0 = l0.c0(l0.this, tfsTile);
return c0;
}
}));
}
X(tfsTile, arrayList);
if (this.f1727f && M0()) {
arrayList.add(new ContextMenuItem((Context) this.a, R.d.download, R.i.download_all_albums, new o0.r() {
public final Object get() {
Boolean d0;
d0 = l0.d0(l0.this, tfsTile);
return d0;
}
}));
}
if (!C0707s.A()) {
arrayList.add(new ContextMenuItem((Context) this.a, R.d.copy, R.i.copy_link, new o0.r() {
public final Object get() {
Boolean e0;
e0 = l0.e0(l0.this, tfsTile);
return e0;
}
}));
}
}
return arrayList;
}
public static final Boolean b0(l0 l0Var, TfsTile tfsTile) {
l0Var.a.M0(tfsTile, true);
return Boolean.TRUE;
}
public static final Boolean c0(l0 l0Var, TfsTile tfsTile) {
l0Var.K0(tfsTile);
return Boolean.TRUE;
}
public static final Boolean d0(l0 l0Var, TfsTile tfsTile) {
app.tfs.activity.e eVar = l0Var.a;
eVar.s0(eVar, l0Var.b, tfsTile, true);
return Boolean.TRUE;
}
public static final Boolean e0(l0 l0Var, TfsTile tfsTile) {
b0.n.d(l0Var.a, "https://24six.app/app/" + tfsTile.getContentType() + "/artist/" + tfsTile.id);
return Boolean.TRUE;
}
private final List f0() {
ArrayList arrayList = new ArrayList();
final TfsTile tfsTile = this.d;
if (tfsTile != null) {
if ((this.f1727f || this.e != null) && !N0()) {
arrayList.add(new ContextMenuItem((Context) this.a, R.d.shuffle, R.i.shuffle_play, new o0.r() {
public final Object get() {
Boolean g0;
g0 = l0.g0(l0.this, tfsTile);
return g0;
}
}));
Y.I i2 = this.c;
if (i2 != null) {
if ((i2 != null ? i2.o() : 0) > 0 && !app.tfs.activity.e.f417u.d(this.c, tfsTile)) {
arrayList.add(new ContextMenuItem((Context) this.a, R.d.play_next_icon, R.i.play_this_album_next, new o0.r() {
public final Object get() {
Boolean h0;
h0 = l0.h0(l0.this, tfsTile);
return h0;
}
}));
arrayList.add(new ContextMenuItem((Context) this.a, R.d.play_last_icon, R.i.play_this_album_last, new o0.r() {
public final Object get() {
Boolean i0;
i0 = l0.i0(l0.this, tfsTile);
return i0;
}
}));
}
}
arrayList.add(new ContextMenuItem((Context) this.a, R.d.round_play_arrow_24, R.i.play_this_album, new o0.r() {
public final Object get() {
Boolean j0;
j0 = l0.j0(l0.this, tfsTile);
return j0;
}
}));
}
X(tfsTile, arrayList);
if (!AbstractC0461d.d.booleanValue() && this.f1727f && !N0() && !O0()) {
if (tfsTile.isInLibrary()) {
arrayList.add(new ContextMenuItem((Context) this.a, R.d.folder_check, R.i.remove_from_library, new o0.r() {
public final Object get() {
Boolean k0;
k0 = l0.k0(l0.this, tfsTile);
return k0;
}
}));
} else {
arrayList.add(new ContextMenuItem((Context) this.a, R.d.folder_add, R.i.add_to_library, new o0.r() {
public final Object get() {
Boolean l0;
l0 = l0.l0(l0.this, tfsTile);
return l0;
}
}));
}
}
if (this.f1727f && !N0() && !O0()) {
arrayList.add(new ContextMenuItem((Context) this.a, R.d.add_to_playlist, R.i.add_to_playlist, new o0.r() {
public final Object get() {
Boolean m0;
m0 = l0.m0(l0.this, tfsTile);
return m0;
}
}));
}
if (!N0()) {
Q(arrayList);
}
final List<TfsTile> artists = tfsTile.getArtists();
if (!(artists == null || artists.isEmpty()) && !N0()) {
arrayList.add(new ContextMenuItem((Context) this.a, R.d.artist_music, artists.size() == 1 ? R.i.view_artist : R.i.view_artists, new o0.r() {
public final Object get() {
Boolean n0;
n0 = l0.n0(l0.this, tfsTile, artists);
return n0;
}
}));
}
if (this.f1727f && !C0707s.u(tfsTile.artwork)) {
N.a aVar = this.a;
arrayList.add(new ContextMenuItem((Context) aVar, R.d.outline_image_24, aVar.getString(R.i.view_album_art), new o0.r() {
public final Object get() {
Boolean o0;
o0 = l0.o0(l0.this, tfsTile);
return o0;
}
}));
}
if (!C0707s.A()) {
arrayList.add(new ContextMenuItem((Context) this.a, R.d.copy, R.i.copy_link, new o0.r() {
public final Object get() {
Boolean p0;
p0 = l0.p0(l0.this, tfsTile);
return p0;
}
}));
}
}
return arrayList;
}
public static final Boolean g0(l0 l0Var, TfsTile tfsTile) {
app.tfs.activity.e.P0(l0Var.a, tfsTile, false, true, false, false, 0, l0Var.X0(), 58, null);
return Boolean.TRUE;
}
public static final Boolean h0(l0 l0Var, TfsTile tfsTile) {
app.tfs.activity.e.P0(l0Var.a, tfsTile, false, false, true, false, 0, l0Var.X0(), 52, null);
return Boolean.TRUE;
}
public static final Boolean i0(l0 l0Var, TfsTile tfsTile) {
app.tfs.activity.e.P0(l0Var.a, tfsTile, false, false, false, true, 0, l0Var.X0(), 44, null);
return Boolean.TRUE;
}
public static final Boolean j0(l0 l0Var, TfsTile tfsTile) {
app.tfs.activity.e.P0(l0Var.a, tfsTile, false, false, false, false, 0, l0Var.X0(), 62, null);
return Boolean.TRUE;
}
public static final Boolean k0(l0 l0Var, TfsTile tfsTile) {
l0Var.a.X0(l0Var.b, tfsTile, false);
return Boolean.TRUE;
}
public static final Boolean l0(l0 l0Var, TfsTile tfsTile) {
l0Var.a.X0(l0Var.b, tfsTile, true);
return Boolean.TRUE;
}
public static final Boolean m0(l0 l0Var, TfsTile tfsTile) {
String contentType = tfsTile.getContentType();
kotlin.jvm.internal.m.d(contentType, "getContentType(...)");
l0Var.L0(contentType);
return Boolean.TRUE;
}
public static final Boolean n0(l0 l0Var, TfsTile tfsTile, List list) {
l0Var.S0(tfsTile, list);
return Boolean.TRUE;
}
public static final Boolean o0(l0 l0Var, TfsTile tfsTile) {
Intent intent = new Intent((Context) l0Var.a, (Class<?>) ActivitySlideshow.class);
ArrayList<TfsPhoto> arrayList = tfsTile.artwork;
kotlin.jvm.internal.m.d(arrayList, "artwork");
l0Var.a.startActivity(a0.e.b(intent, new ActivitySlideshow.MyArgs(arrayList), s.a.b(), "JSON_ARGUMENTS"));
return Boolean.TRUE;
}
public static final Boolean p0(l0 l0Var, TfsTile tfsTile) {
b0.n.d(l0Var.a, "https://24six.app/app/" + tfsTile.getContentType() + "/collection/" + tfsTile.id);
return Boolean.TRUE;
}
private final java.util.List q0() {
throw new UnsupportedOperationException("Method not decompiled: r.l0.q0():java.util.List");
}
public static final Boolean r0(l0 l0Var, TfsTile tfsTile) {
TfsMediaSource tfsMediaSource = new TfsMediaSource(l0Var.a, tfsTile, false);
?? r3 = l0Var.a;
r3.f0(r3, M0.q.d(tfsMediaSource), false, true);
return Boolean.TRUE;
}
public static final Boolean s0(l0 l0Var, TfsTile tfsTile) {
b0.n.d(l0Var.a, "https://24six.app/app/" + tfsTile.getContentType() + "/content/" + tfsTile.getId());
return Boolean.TRUE;
}
public static final Boolean t0(l0 l0Var, TfsTile tfsTile) {
TfsMediaSource tfsMediaSource = new TfsMediaSource(l0Var.a, tfsTile, false);
?? r3 = l0Var.a;
r3.d0(r3, M0.q.d(tfsMediaSource), false, true);
return Boolean.TRUE;
}
public static final Boolean u0(l0 l0Var, TfsTile tfsTile) {
app.tfs.activity.e.U0(l0Var.a, M0.q.d(tfsTile), true, false, false, false, 0, false, false, 192, null);
return Boolean.TRUE;
}
public static final Boolean v0(l0 l0Var, TfsTile tfsTile) {
String contentType = tfsTile.getContentType();
kotlin.jvm.internal.m.d(contentType, "getContentType(...)");
l0Var.L0(contentType);
return Boolean.TRUE;
}
public static final Boolean w0(l0 l0Var, TfsTile tfsTile) {
l0Var.a.X0(l0Var.b, tfsTile, false);
return Boolean.TRUE;
}
public static final Boolean x0(l0 l0Var, TfsTile tfsTile) {
l0Var.a.X0(l0Var.b, tfsTile, true);
return Boolean.TRUE;
}
public static final Boolean y0(TfsTile tfsTile, l0 l0Var) {
String description = tfsTile.getDescription();
if (!TextUtils.isEmpty(description)) {
app.tfs.b.f434g.a(tfsTile, description).show(l0Var.a.getSupportFragmentManager(), "description_sheet");
}
return Boolean.TRUE;
}
public static final Boolean z0(l0 l0Var, TfsTile tfsTile) {
app.tfs.fragment.b bVar = l0Var.b;
if (bVar != null) {
bVar.C(app.tfs.fragment.i.f671A.a(tfsTile, l0Var.X0(), false));
}
l0Var.a.C0();
return Boolean.TRUE;
}
public final l0 P0(boolean z2) {
this.f1729h = z2;
return this;
}
public final l0 Q0(boolean z2) {
this.f1728g = z2;
return this;
}
public final void S0(TfsTile tfsTile, List list) {
if (list == null || list.isEmpty()) {
return;
}
if (list.size() == 1) {
K0((TfsTile) list.get(0));
return;
}
ArrayList arrayList = new ArrayList();
Iterator it = list.iterator();
while (it.hasNext()) {
final TfsTile tfsTile2 = (TfsTile) it.next();
arrayList.add(new ContextMenuItem(this.a, R.d.default_user_image, tfsTile2.getImage(), tfsTile2.getTitle(), new o0.r() {
public final Object get() {
Boolean T0;
T0 = l0.T0(l0.this, tfsTile2);
return T0;
}
}));
}
app.tfs.a.f390g.a(tfsTile, arrayList).show(this.a.getSupportFragmentManager(), "context_menu");
}
public final void U0(app.tfs.content_layout.b bVar) {
if (bVar instanceof TfsTile) {
V0((TfsTile) bVar);
}
}
public l0(FragmentActivity fragmentActivity, app.tfs.fragment.b bVar, int i2, kotlin.jvm.internal.g gVar) {
this(fragmentActivity, (i2 & 2) != 0 ? null : bVar);
}
public l0(app.tfs.fragment.b r3) {
throw new UnsupportedOperationException("Method not decompiled: r.l0.<init>(app.tfs.fragment.b):void");
}
}