LINE.apk(点击下载) / LineHomeV2ServiceFakeClientImpl.java


package jp.naver.line.android.thrift.client.impl;

import em3.s;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Objects;
import jp.naver.line.android.thrift.client.LineHomeV2ServicesClient;
import km3.f;
import km3.j;
import kotlin.Lazy;
import kotlin.LazyKt;
import kotlin.Metadata;
import kotlin.ResultKt;
import kotlin.Unit;
import ql3.c0;
import ql3.p;
import ql3.q;
import ql3.u;
import qo.g;
import qo.h;
import ul3.d;
import um3.h0;
import um3.w0;
import wl3.e;
import wl3.i;

@Metadata(bv = {}, d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0002\u0010\u0003¨\u0006\u0004"}, d2 = {"Ljp/naver/line/android/thrift/client/impl/LineHomeV2ServiceFakeClientImpl;", "Ljp/naver/line/android/thrift/client/LineHomeV2ServicesClient;", "<init>", "()V", "app_productionRelease"}, k = 1, mv = {1, 6, 0})
public final class LineHomeV2ServiceFakeClientImpl implements LineHomeV2ServicesClient {

    /* renamed from: j  reason: collision with root package name */
    public final List<String> f97876j = p.g(" Very longggggg", "short", "");

    /* renamed from: k  reason: collision with root package name */
    public final List<String> f97877k = p.g("https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcQLrylQnBOxKhIY8MFu9SC6G1pA5zE2NO0eWasM6yD2eHzKfNh0", "https://images.pexels.com/photos/132037/pexels-photo-132037.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500", "https://photographycourse-net.exactdn.com/wp-content/uploads/2014/11/Landscape-Photography-steps.jpg?strip=all&lossy=1&quality=70&ssl=1", "https://cdn2.outdoorphotographer.com/2019/11/Kiss_The_Landscape_Part2_05.jpg", "https://mymodernmet.com/wp/wp-content/uploads/2019/05/wide-angle-landscape-photography-tutorial-mads-peter-iversen-2.jpg");

    /* renamed from: l  reason: collision with root package name */
    public final List<String> f97878l = p.g("https://image.flaticon.com/icons/png/128/70/70655.png", "https://image.flaticon.com/icons/png/128/70/70886.png", "https://image.flaticon.com/icons/png/512/126/126083.png", "https://image.flaticon.com/icons/png/128/84/84263.png", "https://image.flaticon.com/icons/png/128/84/84292.png");

    /* renamed from: m  reason: collision with root package name */
    public final List<g> f97879m = p.g(new g(1, "Financial", u.J0(new f(1, 25))), new g(2, "Entertainment", u.J0(new f(26, 50))), new g(3, "Shopping", u.J0(new f(51, 75))), new g(4, "TV", u.J0(new f(76, 100))));

    /* renamed from: n  reason: collision with root package name */
    public final Lazy f97880n = LazyKt.lazy(new c(this));

    /* renamed from: o  reason: collision with root package name */
    public final List<Integer> f97881o = p.g(1, 45, 67, 89);

    /* renamed from: p  reason: collision with root package name */
    public final List<Integer> f97882p = p.g(1, 45, 67);

    @e(c = "jp.naver.line.android.thrift.client.impl.LineHomeV2ServiceFakeClientImpl$getHomeServiceListResponse$2", f = "LineHomeV2ServiceFakeClientImpl.kt", l = {}, m = "invokeSuspend")
    public static final class a extends i implements dm3.p<h0, d<? super qo.d>, Object> {

        /* renamed from: b  reason: collision with root package name */
        public final /* synthetic */ LineHomeV2ServiceFakeClientImpl f97883b;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public a(LineHomeV2ServiceFakeClientImpl lineHomeV2ServiceFakeClientImpl, d<? super a> dVar) {
            super(2, dVar);
            this.f97883b = lineHomeV2ServiceFakeClientImpl;
        }

        @Override // wl3.a
        public final d<Unit> create(Object obj, d<?> dVar) {
            return new a(this.f97883b, dVar);
        }

        /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */
        @Override // dm3.p
        public Object invoke(h0 h0Var, d<? super qo.d> dVar) {
            return new a(this.f97883b, dVar).invokeSuspend(Unit.INSTANCE);
        }

        @Override // wl3.a
        public final Object invokeSuspend(Object obj) {
            ResultKt.throwOnFailure(obj);
            LineHomeV2ServiceFakeClientImpl lineHomeV2ServiceFakeClientImpl = this.f97883b;
            Objects.requireNonNull(lineHomeV2ServiceFakeClientImpl);
            List<Integer> list = lineHomeV2ServiceFakeClientImpl.f97881o;
            List<Integer> J0 = u.J0(new f(1, 100));
            List<g> list2 = lineHomeV2ServiceFakeClientImpl.f97879m;
            List<Integer> list3 = lineHomeV2ServiceFakeClientImpl.f97882p;
            qo.d dVar = new qo.d();
            dVar.f133677b = (List) lineHomeV2ServiceFakeClientImpl.f97880n.getValue();
            dVar.f133678c = list;
            dVar.f133679d = J0;
            dVar.f133680e = list2;
            dVar.f133681f = list3;
            return dVar;
        }
    }

    @e(c = "jp.naver.line.android.thrift.client.impl.LineHomeV2ServiceFakeClientImpl$getHomeServices$2", f = "LineHomeV2ServiceFakeClientImpl.kt", l = {}, m = "invokeSuspend")
    public static final class b extends i implements dm3.p<h0, d<? super qo.f>, Object> {

        /* renamed from: b  reason: collision with root package name */
        public final /* synthetic */ List<Integer> f97884b;

        /* renamed from: c  reason: collision with root package name */
        public final /* synthetic */ LineHomeV2ServiceFakeClientImpl f97885c;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public b(List<Integer> list, LineHomeV2ServiceFakeClientImpl lineHomeV2ServiceFakeClientImpl, d<? super b> dVar) {
            super(2, dVar);
            this.f97884b = list;
            this.f97885c = lineHomeV2ServiceFakeClientImpl;
        }

        @Override // wl3.a
        public final d<Unit> create(Object obj, d<?> dVar) {
            return new b(this.f97884b, this.f97885c, dVar);
        }

        /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */
        @Override // dm3.p
        public Object invoke(h0 h0Var, d<? super qo.f> dVar) {
            return new b(this.f97884b, this.f97885c, dVar).invokeSuspend(Unit.INSTANCE);
        }

        @Override // wl3.a
        public final Object invokeSuspend(Object obj) {
            ResultKt.throwOnFailure(obj);
            List<Integer> list = this.f97884b;
            LineHomeV2ServiceFakeClientImpl lineHomeV2ServiceFakeClientImpl = this.f97885c;
            ArrayList arrayList = new ArrayList(q.p(list, 10));
            Iterator<T> it3 = list.iterator();
            while (it3.hasNext()) {
                arrayList.add(LineHomeV2ServiceFakeClientImpl.q(lineHomeV2ServiceFakeClientImpl, it3.next().intValue()));
            }
            return new qo.f(arrayList);
        }
    }

    public static final class c extends s implements dm3.a<List<? extends h>> {

        /* renamed from: b  reason: collision with root package name */
        public final /* synthetic */ LineHomeV2ServiceFakeClientImpl f97886b;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public c(LineHomeV2ServiceFakeClientImpl lineHomeV2ServiceFakeClientImpl) {
            super(0);
            this.f97886b = lineHomeV2ServiceFakeClientImpl;
        }

        /* Return type fixed from 'java.lang.Object' to match base method */
        @Override // dm3.a
        public List<? extends h> invoke() {
            f fVar = new f(1, 100);
            LineHomeV2ServiceFakeClientImpl lineHomeV2ServiceFakeClientImpl = this.f97886b;
            ArrayList arrayList = new ArrayList(q.p(fVar, 10));
            Iterator<Integer> it3 = fVar.iterator();
            while (((km3.e) it3).hasNext()) {
                arrayList.add(LineHomeV2ServiceFakeClientImpl.q(lineHomeV2ServiceFakeClientImpl, ((c0) it3).a()));
            }
            return arrayList;
        }
    }

    public static final h q(LineHomeV2ServiceFakeClientImpl lineHomeV2ServiceFakeClientImpl, int i14) {
        Objects.requireNonNull(lineHomeV2ServiceFakeClientImpl);
        int n14 = j.n(j.r(0, qo.a.values().length), im3.c.f88332b);
        StringBuilder sb4 = new StringBuilder();
        sb4.append("Service ");
        sb4.append(i14);
        sb4.append(' ');
        List<String> list = lineHomeV2ServiceFakeClientImpl.f97876j;
        sb4.append(list.get(i14 % list.size()));
        String sb5 = sb4.toString();
        List<String> list2 = lineHomeV2ServiceFakeClientImpl.f97877k;
        h hVar = new h();
        hVar.f133716b = i14;
        hVar.z(true);
        hVar.f133717c = sb5;
        hVar.f133718d = "http://service.url";
        hVar.f133720f = list2.get(i14 % list2.size());
        hVar.f133722h = 0;
        hVar.y(true);
        List<String> list3 = lineHomeV2ServiceFakeClientImpl.f97878l;
        hVar.f133721g = list3.get(i14 % list3.size());
        hVar.f133723i = qo.a.values()[n14];
        hVar.f133719e = "https://play.google.com/";
        return hVar;
    }

    @Override // jp.naver.line.android.thrift.client.LineHomeV2ServicesClient
    public Object E2(d<? super qo.d> dVar) {
        return um3.g.g(w0.f166207d, new a(this, null), dVar);
    }

    @Override // jp.naver.line.android.thrift.client.LineHomeV2ServicesClient
    public Object F6(List<Integer> list, d<? super qo.f> dVar) {
        return um3.g.g(w0.f166207d, new b(list, this, null), dVar);
    }
}