YUI.add("get",function(u,e){var r=require("module"),c=require("path"),i=require("fs"),s=require("request"),a=function(e,n,t){u.Lang.isFunction(e.onEnd)&&e.onEnd.call(u,n,t)},l=function(e){u.Lang.isFunction(e.onSuccess)&&e.onSuccess.call(u,e),a(e,"success","success")};u.Get=function(){},u.config.base=c.join(__dirname,"../"),YUI.require=require,YUI.process=process,u.Get._exec=function(e,n,t){65279===e.charCodeAt(0)&&(e=e.slice(1));var o=new r(n,module);o.filename=n,o.paths=r._nodeModulePaths(c.dirname(n)),"function"==typeof YUI._getLoadHook&&(e=YUI._getLoadHook(e,n)),o._compile("module.exports = function (YUI) {return (function () {"+e+"\n;return YUI;}).apply(global);};",n),YUI=o.exports(YUI),o.loaded=!0,t(null,n)},u.Get._include=function(o,c){var e,n;if(o.match(/^https?:\/\//))e={url:o,timeout:this.timeout},s(e,function(e,n,t){e?c(e,o):u.Get._exec(t,o,c)});else{try{if(o=r._findPath(o,r._resolveLookupPaths(o,module.parent.parent)[1]),!u.config.useSync)return void i.readFile(o,"utf8",function(e,n){e?c(e,o):u.Get._exec(n,o,c)});n=i.readFileSync(o,"utf8")}catch(t){return void c(t,o)}u.Get._exec(n,o,c)}},u.Get.js=function(e,t){for(var n,o=u.Array(e),c=o.length,r=0,i=0;i<c;i++)n=o[i],n=(n=u.Lang.isObject(n)?n.url:n).replace(/'/g,"%27"),u.Get._include(n,function(e,n){u.config||(u.config={debug:!0}),t.onProgress&&t.onProgress.call(t.context||u,n),e?(n=t,(e=e).errors=[e],u.Lang.isFunction(n.onFailure)&&n.onFailure.call(u,e,n),a(n,e,"fail")):++r===c&&l(t)});return{execute:function(){}}},u.Get.script=u.Get.js,u.Get.css=function(e,n){l(n)}},"patched-v3.18.4");