"use strict"; exports.type = function (pathStringArg) { var urlRegex = /http[s|\s]:\/\/.*/i; if (urlRegex.exec(pathStringArg)) { return "url"; } else { return "local"; } ; }; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNtYXJ0cGF0aC5nZXQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUdXLFlBQUksR0FBRyxVQUFTLGFBQW9CO0lBQzNDLElBQUksUUFBUSxHQUFHLG9CQUFvQixDQUFBO0lBQ25DLEVBQUUsQ0FBQSxDQUFDLFFBQVEsQ0FBQyxJQUFJLENBQUMsYUFBYSxDQUFDLENBQUMsQ0FBQSxDQUFDO1FBQzdCLE1BQU0sQ0FBQyxLQUFLLENBQUM7SUFDakIsQ0FBQztJQUFDLElBQUksQ0FBQyxDQUFDO1FBQ0osTUFBTSxDQUFDLE9BQU8sQ0FBQztJQUNuQixDQUFDO0lBQUEsQ0FBQztBQUNOLENBQUMsQ0FBQyIsImZpbGUiOiJzbWFydHBhdGguZ2V0LmpzIiwic291cmNlc0NvbnRlbnQiOlsiLy8vIDxyZWZlcmVuY2UgcGF0aD1cInR5cGluZ3MvbWFpbi5kLnRzXCIgLz5cbmltcG9ydCBwbHVnaW5zID0gcmVxdWlyZShcIi4vc21hcnRwYXRoLnBsdWdpbnNcIik7XG5cbmV4cG9ydCBsZXQgdHlwZSA9IGZ1bmN0aW9uKHBhdGhTdHJpbmdBcmc6c3RyaW5nKTpzdHJpbmcge1xuICAgIGxldCB1cmxSZWdleCA9IC9odHRwW3N8XFxzXTpcXC9cXC8uKi9pXG4gICAgaWYodXJsUmVnZXguZXhlYyhwYXRoU3RyaW5nQXJnKSl7XG4gICAgICAgIHJldHVybiBcInVybFwiO1xuICAgIH0gZWxzZSB7XG4gICAgICAgIHJldHVybiBcImxvY2FsXCI7XG4gICAgfTtcbn07Il0sInNvdXJjZVJvb3QiOiIvc291cmNlLyJ9