"use strict";exports.JSONToObject=t=>t&&(t=>{if("string"==typeof t)try{return!!JSON.parse(t)}catch(e){return!1}return!1})(t)?JSON.parse(t):t,exports.isFunction=t=>"function"==typeof t,exports.isObject=t=>null!==t&&"object"==typeof t,exports.isUrl=t=>/^(https?:\/\/(([a-zA-Z0-9]+-?)+[a-zA-Z0-9]+\.)+[a-zA-Z]+)(:\d+)?(\/.*)?(\?.*)?(#.*)?$/.test(t);
