Current Path : /var/www/html/soar-backup/wp-content/plugins/gravityforms/js/ |
Current File : /var/www/html/soar-backup/wp-content/plugins/gravityforms/js/jquery.json-1.3.min.js |
!function($){function toIntegersAtLease(a){return a<10?"0"+a:a}Date.prototype.toJSON=function(a){return this.getUTCFullYear()+"-"+toIntegersAtLease(this.getUTCMonth())+"-"+toIntegersAtLease(this.getUTCDate())};var escapeable=/["\\\x00-\x1f\x7f-\x9f]/g,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};$.quoteString=function(a){return'"'+a.replace(escapeable,function(a){var b=meta[a];return"string"==typeof b?b:(b=a.charCodeAt(),"\\u00"+Math.floor(b/16).toString(16)+(b%16).toString(16))})+'"'},$.toJSON=function(a,b){var c=typeof a;if("undefined"==c)return"undefined";if("number"==c||"boolean"==c)return a+"";if(null===a)return"null";if("string"==c){return $.quoteString(a)}if("object"==c&&"function"==typeof a.toJSON)return a.toJSON(b);if("function"!=c&&"number"==typeof a.length){for(var d=[],e=0;e<a.length;e++)d.push($.toJSON(a[e],b));return b?"["+d.join(",")+"]":"["+d.join(", ")+"]"}if("function"==c)throw new TypeError("Unable to convert object of type 'function' to json.");var d=[];for(var f in a){var g;if("number"==(c=typeof f))g='"'+f+'"';else{if("string"!=c)continue;g=$.quoteString(f)}var h=$.toJSON(a[f],b);"string"==typeof h&&(b?d.push(g+":"+h):d.push(g+": "+h))}return"{"+d.join(", ")+"}"},$.compactJSON=function(a){return $.toJSON(a,!0)},$.evalJSON=function(src){return eval("("+src+")")},$.secureEvalJSON=function(src){var filtered=src;if(filtered=filtered.replace(/\\["\\\/bfnrtu]/g,"@"),filtered=filtered.replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]"),filtered=filtered.replace(/(?:^|:|,)(?:\s*\[)+/g,""),/^[\],:{}\s]*$/.test(filtered))return eval("("+src+")");throw new SyntaxError("Error parsing JSON, source is not valid.")}}(jQuery);