package com.tencent.mm.plugin.appbrand.jsapi.auth;

import a.l;
import a.y;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.appbrand.b.b;
import com.tencent.mm.plugin.appbrand.b.c.a;

@l(dWo = {1, 1, 13}, dWp = {"\u0000(\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\b\u0002\n\u0002\b\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\b\u0003\u0010\u0000\u001a\u00020\u00012\u000e\u0010\u0002\u001a\n \u0004*\u0004\u0018\u00010\u00030\u00032\u000e\u0010\u0005\u001a\n \u0004*\u0004\u0018\u00010\u00060\u0006H\n¢\u0006\u0002\b\u0007¨\u0006\t"}, dWq = {"<anonymous>", "", "appId", "", "kotlin.jvm.PlatformType", "state", "Lcom/tencent/mm/plugin/appbrand/appstate/AppRunningState;", "onRunningStateChanged", "com/tencent/mm/plugin/appbrand/jsapi/auth/AppBrandAuthJSAPIConcurrentQueue$Companion$obtainByRuntime$1$1$1$1", "com/tencent/mm/plugin/appbrand/jsapi/auth/AppBrandAuthJSAPIConcurrentQueue$Companion$obtainByRuntime$1$1$$special$$inlined$apply$lambda$1"})
final class a$a$a$1 implements a {
    final /* synthetic */ a.a.a hBz;

    a$a$a$1(a.a.a aVar) {
        this.hBz = aVar;
    }

    public final void a(String str, b bVar) {
        AppMethodBeat.i(134645);
        if (bVar == b.gWw) {
            a.aCA();
            synchronized (a.aCz()) {
                try {
                    a.aCA();
                    a aVar = (a) a.aCz().remove(this.hBz.hBy.getAppId());
                    if (aVar != null) {
                        a.b(aVar);
                        y yVar = y.AUy;
                    }
                } finally {
                    AppMethodBeat.o(134645);
                }
            }
            return;
        }
        AppMethodBeat.o(134645);
    }
}
