UNPKG

graphdb-workbench

Version:
2 lines 593 B
export const __webpack_id__=30690;export const __webpack_ids__=[30690];export const __webpack_modules__={30690:(t,s,p)=>{p.r(s),p.d(s,{UrlUtils:()=>_});const e=/^(h|ht|htt|http|https|http:|https:|http:\/|https:\/|http:\/\/|https:\/\/|https?:\/\/[\S]*)$/i,o=/^(f|ft|ftp|ftps|ftp:|ftps:|ftp:\/|ftps:\/|ftp:\/\/|ftps:\/\/[\S]*)$/i;class _{static isValidUrl(t){return e.test(t)||o.test(t)}static doesNotContain(t,s){return!new RegExp(s).test(t)}static doesNotUseProtocol(t,s){return!new RegExp("^("+s.join("|")+")://","i").test(t)}}}}; //# sourceMappingURL=30690.7df5418d12e2cf843b56.bundle.js.map