(function(){var moduleFactory=function($){var module=this,exports=function(){$.toJSON=function(e,t,n,r){if(typeof JSON=="object"&&JSON.stringify)return JSON.stringify(e,t,n);!r&&$.isFunction(t)&&(e=t("",e)),typeof n=="number"&&(n="          ".substring(0,n)),n=typeof n=="string"?n.substring(0,10):"";var i=typeof e;if(e===null)return"null";if(i=="undefined"||i=="function")return undefined;if(i=="number"||i=="boolean")return e+"";if(i=="string")return $.quoteString(e);if(i=="object"){if(typeof e.toJSON=="function")return $.toJSON(e.toJSON(),t,n,!0);if(e.constructor===Date){var s=e.getUTCMonth()+1;s<10&&(s="0"+s);var o=e.getUTCDate();o<10&&(o="0"+o);var u=e.getUTCFullYear(),a=e.getUTCHours();a<10&&(a="0"+a);var f=e.getUTCMinutes();f<10&&(f="0"+f);var l=e.getUTCSeconds();l<10&&(l="0"+l);var c=e.getUTCMilliseconds();return c<100&&(c="0"+c),c<10&&(c="0"+c),'"'+u+"-"+s+"-"+o+"T"+a+":"+f+":"+l+"."+c+'Z"'}var h=$.isFunction(t)?function(e,n){return t(e,n)}:function(e,t){return t},p=n?"\n":"",d=n?" ":"";if(e.constructor===Array){var v=[];for(var m=0;m<e.length;m++)v.push(($.toJSON(h(m,e[m]),t,n,!0)||"null").replace(/^/gm,n));return"["+p+v.join(","+p)+p+"]"}var g=[],y;$.isArray(t)&&(y=$.map(t,function(e){return typeof e=="string"||typeof e=="number"?e+"":null}));for(var b in e){var w,E,i=typeof b;if(y&&$.inArray(b+"",y)==-1)continue;if(i=="number")w='"'+b+'"';else{if(i!="string")continue;w=$.quoteString(b)}E=$.toJSON(h(b,e[b]),t,n,!0);if(typeof E=="undefined")continue;g.push((w+":"+d+E).replace(/^/gm,n))}return"{"+p+g.join(","+p)+p+"}"}},$.evalJSON=function(src){return typeof JSON=="object"&&JSON.parse?JSON.parse(src):eval("("+src+")")},$.secureEvalJSON=function(src){if(typeof JSON=="object"&&JSON.parse)return JSON.parse(src);var filtered=src;filtered=filtered.replace(/\\["\\\/bfnrtu]/g,"@"),filtered=filtered.replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]"),filtered=filtered.replace(/(?:^|:|,)(?:\s*\[)+/g,"");if(/^[\],:{}\s]*$/.test(filtered))return eval("("+src+")");throw new SyntaxError("Error parsing JSON, source is not valid.")},$.quoteString=function(e){return e.match(_escapeable)?'"'+e.replace(_escapeable,function(e){var t=_meta[e];return typeof t=="string"?t:(t=e.charCodeAt(),"\\u00"+Math.floor(t/16).toString(16)+(t%16).toString(16))})+'"':'"'+e+'"'};var _escapeable=/["\\\x00-\x1f\x7f-\x9f]/g,_meta={"\b":"\\b","	":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"}};exports(),module.resolveWith(exports)};dispatch("mvc/lang.json").containing(moduleFactory).to("Foundry/2.1 Modules")})();