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

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.appbrand.jsapi.l.b.a;
import com.tencent.mm.plugin.appbrand.s;
import java.util.Map;

class d$1 implements a {
    final /* synthetic */ int eIl;
    final /* synthetic */ d hTP;
    final /* synthetic */ s hsj;

    d$1(d dVar, s sVar, int i) {
        this.hTP = dVar;
        this.hsj = sVar;
        this.eIl = i;
    }

    public final void a(int i, String str, Map<String, Object> map) {
        AppMethodBeat.i(131413);
        switch (i) {
            case 1:
                this.hsj.M(this.eIl, this.hTP.j("ok", null));
                AppMethodBeat.o(131413);
                return;
            case 2:
                this.hsj.M(this.eIl, this.hTP.j("fail:".concat(String.valueOf(str)), null));
                AppMethodBeat.o(131413);
                return;
            case 3:
                this.hsj.M(this.eIl, this.hTP.j("cancel", null));
                break;
        }
        AppMethodBeat.o(131413);
    }
}
