package xyz.stream.view.glide;

import g5.o;

/* JADX INFO: loaded from: classes3.dex */
public class ViewGlideUrl extends o {

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final String f36497d;

    public ViewGlideUrl(String str) {
        super(str);
        this.f36497d = str;
    }

    @Override // g5.o
    public String getCacheKey() {
        String str = this.f36497d;
        return ((str == null || str.startsWith("http://") || str.startsWith("https://") || str.startsWith("file://") || str.startsWith("smb://") || str.startsWith("/data/") || str.startsWith("/storage") || str.startsWith("ftp://") || str.startsWith("rtsp://") || str.startsWith("rtmp://") || str.startsWith("mms://") || str.startsWith("ws://") || str.startsWith("wss://") || str.startsWith("sftp://") || str.startsWith("storage://") || str.startsWith("content://")) && str.contains("://") && str.split("://").length > 1) ? str.split("://")[1].split("&")[0] : str;
    }
}
