/* Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ //>>built define("dojo/_base/loader",["./kernel","../has","require","module","./json","./lang","./array"],function(_1,_2,_3,_4,_5,_6,_7){ if(!1){ console.error("cannot load the Dojo v1.x loader with a foreign loader"); return 0; } var _8=function(id){ return {src:_4.id,id:id}; },_9=function(_a){ return _a.replace(/\./g,"/"); },_b=/\/\/>>built/,_c=[],_d=[],_e=function(_f,_10,_11){ _c.push(_11); _7.forEach(_f.split(","),function(mid){ var _12=_13(mid,_10.module); _d.push(_12); _14(_12); }); _15(); },_16,_17=function(m){ if(_16[m.mid]||/loadInit\!/.test(m.mid)){ return true; } _16[m.mid]=1; if(m.injected!==_18&&!m.executed){ return false; } for(var _19=m.deps||[],i=0;i<_19.length;i++){ if(!_17(_19[i])){ return false; } } return true; },_15=function(){ _16={}; _d=_7.filter(_d,function(_1a){ return !_17(_1a); }); if(!_d.length){ _1c.holdIdle(); var _1b=_c; _c=[]; _7.forEach(_1b,function(cb){ cb(1); }); _1c.releaseIdle(); } },_1d=function(mid,_1e,_1f){ _1e([mid],function(_20){ _1e(_20.names,function(){ for(var _21="",_22=[],i=0;i