package o;

import android.net.Uri;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class UF implements InterfaceC0360Nx {
    public final C1014dc0 a;
    public final C1014dc0 b;

    public UF(C1014dc0 c1014dc0, C1014dc0 c1014dc02) {
        this.a = c1014dc0;
        this.b = c1014dc02;
    }

    @Override // o.InterfaceC0360Nx
    public final InterfaceC0386Ox a(Object obj, NU nu) {
        Uri uri = (Uri) obj;
        if (F3.c(uri.getScheme(), "http") || F3.c(uri.getScheme(), "https")) {
            return new XF(uri.toString(), nu, this.a, this.b);
        }
        return null;
    }
}
