//>>built
define("dojo/domReady",["./has"],function(p){function d(b){c.push(b);e&&m()}function m(){if(!i){for(i=!0;c.length;)try{c.shift()(a)}catch(b){}i=!1;d._onQEmpty()}}var j=function(){return this}(),a=document,k={loaded:1,complete:1},l="string"!=typeof a.readyState,e=!!k[a.readyState],c=[],i;d.load=function(b,a,c){d(c)};d._Q=c;d._onQEmpty=function(){};if(l)a.readyState="loading";if(!e){var f=[],g=function(b){b=b||j.event;if(!(e||"readystatechange"==b.type&&!k[a.readyState])){if(l)a.readyState="complete";
e=1;m()}},h=function(b,a){b.addEventListener(a,g,!1);c.push(function(){b.removeEventListener(a,g,!1)})};if(!p("dom-addeventlistener")){var h=function(b,a){a="on"+a;b.attachEvent(a,g);c.push(function(){b.detachEvent(a,g)})},n=a.createElement("div");try{n.doScroll&&null===j.frameElement&&f.push(function(){try{return n.doScroll("left"),1}catch(a){}})}catch(q){}}h(a,"DOMContentLoaded");h(j,"load");"onreadystatechange"in a?h(a,"readystatechange"):l||f.push(function(){return k[a.readyState]});if(f.length){var o=
function(){if(!e){for(var a=f.length;a--;)if(f[a]()){g("poller");return}setTimeout(o,30)}};o()}}return d});