define("editor/assert/js/addon/urlCheck",[],function(require,exports){function a(a){var b=$.Deferred();return $.ajax({type:"POST",url:a,success:function(){b.resolve(!0)},timeout:5e3,error:function(){b.resolve(!1)}}),b.promise()}function b(){var a=$.Deferred(),b="http://www.baidu.com";return $.ajax({type:"POST",url:b,success:function(b){a.resolve(b.indexOf("百度")>=0?!0:!1)},timeout:5e3,error:function(){a.resolve(!1)}}),a.promise()}exports.pingBaidu=b,exports.urlAccessCheck=a});