YUI.add("timers",function(t,i){var n,o,a,s,e,c,r,h,p,f,u={},y=t.config.global;function n(t){this.capacity=this.snap(t),this.length=0,this.front=0,this.initialize()}function m(t,i,n,o,a){for(var s=0;s<a;++s)n[s+o]=t[s+i]}function l(){for(;0<o.length;){var t=o.shift();try{t.call()}catch(i){if(h)throw s(),i;setTimeout(function(){throw i},0)}}a=!1}function g(t){h&&r.domain&&(t=r.domain.bind(t)),o.push(t),a||(s(),a=!0)}function d(t){var i;return d._asynchronizer(function(){i||t()}),{cancel:function(){i=1}}}(u.exports=n).prototype.push=function(t){var i=this.length;this.capacity<=i&&this.grow(this.snap(this.capacity*this.growFactor)),this[this.front+i&this.capacity-1]=t,this.length=i+1},n.prototype.shift=function(){var t=this.front,i=this[t];return this[t]=void 0,this.front=t+1&this.capacity-1,this.length--,i},n.prototype.grow=function(t){var i=this.front,n=this.capacity,o=new Array(n),a=this.length;m(this,0,o,0,n),this.capacity=t,this.initialize(),this.front=0,i+a<=n?m(o,i,this,0,a):(m(o,i,this,0,t=a-(i+a&n-1)),m(o,0,this,t,a-t))},n.prototype.initialize=function(){for(var t=this.capacity,i=0;i<t;++i)this[i]=void 0},n.prototype.snap=function(t){return"number"!=typeof t?this.minCapacity:(t=Math.min(this.maxCapacity,Math.max(this.minCapacity,t)),1+(t=(t=(t=(t=(t=(t=(t>>>=0)-1)|t>>1)|t>>2)|t>>4)|t>>8)|t>>16))},n.prototype.maxCapacity=1<<30|0,n.prototype.minCapacity=16,n.prototype.growFactor=8,o=new n(1024),a=!1,s=void 0,e="function"==typeof setImmediate,r=y.process,h=!!r&&"[object process]"==={}.toString.call(r),s=h?function(){var t=r.domain;t&&((c=c||n).active=r.domain=null),a&&e?setImmediate(l):r.nextTick(l),t&&(c.active=r.domain=t)}:e?function(){setImmediate(l)}:"undefined"!=typeof MessageChannel?((p=new MessageChannel).port1.onmessage=function(){s=f,(p.port1.onmessage=l)()},f=function(){p.port2.postMessage(0)},function(){setTimeout(l,0),f()}):function(){setTimeout(l,0)},u.exports=g,d._asynchronizer=g,d._impl="asap",t.soon=d},"patched-v3.18.4",{requires:["yui-base"]});