导航菜单

页面标题

页面副标题

Namma Yatri v3.3.7 - C2605a.java 源代码

正在查看: Namma Yatri v3.3.7 应用的 C2605a.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package com.microsoft.clarity.k;

import com.microsoft.clarity.i.C2594c;
import com.microsoft.clarity.models.observers.NetworkConnectedEvent;
import com.microsoft.clarity.models.observers.NetworkDisconnectedEvent;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLConnection;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.Map;
import jd.InterfaceC3597a;

public final class C2605a extends kotlin.jvm.internal.n implements InterfaceC3597a {

    public final C2608d f38242a;

    public C2605a(C2608d c2608d) {
        super(0);
        this.f38242a = c2608d;
    }

    @Override
    public final Object invoke() {
        boolean z10;
        boolean z11;
        C2607c task;
        boolean z12;
        C2608d c2608d = this.f38242a;
        synchronized (c2608d.f38253i) {
            try {
                if (!c2608d.f38247c) {
                    LinkedHashMap linkedHashMap = ((n) c2608d.f38245a).f38273c;
                    if (!linkedHashMap.isEmpty()) {
                        Iterator it = linkedHashMap.entrySet().iterator();
                        while (it.hasNext()) {
                            if (((Map.Entry) it.next()).getValue() == EnumC2611g.ON_RESUME) {
                                z10 = true;
                                break;
                            }
                        }
                    }
                }
                if (c2608d.f38250f == null) {
                    c2608d.f38250f = Long.valueOf(System.currentTimeMillis());
                } else {
                    long currentTimeMillis = System.currentTimeMillis();
                    Long l10 = c2608d.f38250f;
                    kotlin.jvm.internal.m.f(l10);
                    if (currentTimeMillis - l10.longValue() > c2608d.f38254j) {
                        C2606b c2606b = c2608d.f38252h;
                        if (c2606b != null) {
                            c2606b.cancel();
                        }
                        c2608d.f38252h = null;
                        c2608d.f38251g = false;
                    }
                }
                z10 = false;
                Vc.D d10 = Vc.D.f12914a;
            } catch (Throwable th) {
                throw th;
            }
        }
        if (z10) {
            C2608d c2608d2 = this.f38242a;
            int i10 = c2608d2.f38248d;
            if (1 <= i10) {
                int i11 = 1;
                while (true) {
                    kotlin.jvm.internal.A a10 = new kotlin.jvm.internal.A();
                    try {
                        URLConnection openConnection = new URL("http://www.microsoft.com/").openConnection();
                        kotlin.jvm.internal.m.g(openConnection, "null cannot be cast to non-null type java.net.HttpURLConnection");
                        HttpURLConnection httpURLConnection = (HttpURLConnection) openConnection;
                        a10.f48817a = httpURLConnection;
                        httpURLConnection.setConnectTimeout(1000);
                        ((HttpURLConnection) a10.f48817a).connect();
                        z12 = ((HttpURLConnection) a10.f48817a).getResponseCode() == 200;
                        task = new C2607c(a10);
                        kotlin.jvm.internal.m.i(task, "task");
                    } catch (Exception unused) {
                        task = new C2607c(a10);
                        kotlin.jvm.internal.m.i(task, "task");
                        z12 = false;
                    } catch (Throwable th2) {
                        C2607c task2 = new C2607c(a10);
                        kotlin.jvm.internal.m.i(task2, "task");
                        try {
                            task2.invoke();
                        } catch (Exception unused2) {
                        }
                        throw th2;
                    }
                    try {
                        task.invoke();
                    } catch (Exception unused3) {
                    }
                    if (!z12) {
                        if (i11 == i10) {
                            break;
                        }
                        i11++;
                    } else {
                        z11 = true;
                        break;
                    }
                }
            }
            z11 = false;
            if (!c2608d2.f38247c) {
                Iterator it2 = c2608d2.f38246b.iterator();
                while (it2.hasNext()) {
                    C2594c c2594c = (C2594c) it2.next();
                    if (z11) {
                        NetworkConnectedEvent event = new NetworkConnectedEvent(System.currentTimeMillis());
                        c2594c.getClass();
                        kotlin.jvm.internal.m.i(event, "event");
                        c2594c.f38132a.f38178i.f37961h = true;
                    } else {
                        NetworkDisconnectedEvent event2 = new NetworkDisconnectedEvent(System.currentTimeMillis());
                        c2594c.getClass();
                        kotlin.jvm.internal.m.i(event2, "event");
                        c2594c.f38132a.f38184o.add(event2);
                        c2594c.f38132a.f38178i.f37961h = false;
                    }
                }
            }
        }
        return Vc.D.f12914a;
    }
}