YUI.add("loader-rollup",function(r,e){r.Loader.prototype._rollup=function(){var r,e,o,i,l,s,t,p,u=this.required,h=this.moduleInfo;if(this.dirty||!this.rollups)for(r in this.rollups={},h)h.hasOwnProperty(r)&&(o=this.getModule(r))&&o.rollup&&(this.rollups[r]=o);for(;;){for(r in s=!1,this.rollups)if(this.rollups.hasOwnProperty(r)&&!u[r]&&(!this.loaded[r]||this.forceMap[r])&&(i=(o=this.getModule(r)).supersedes||[],l=!1,o.rollup)){for(e=t=0;e<i.length;e++){if(p=h[i[e]],this.loaded[i[e]]&&!this.forceMap[i[e]]){l=!1;break}if(u[i[e]]&&o.type===p.type&&(l=++t>=o.rollup))break}l&&(s=u[r]=!0,this.getRequires(o))}if(!s)break}}},"patched-v3.18.4",{requires:["loader-base"]});