/*! Balloons.js v0.2.0 http://balloonsjs.com/ | Released under the MIT license. */!function(window){"use strict";var Q={};Q.clone=function(obj){var prop,copy={};for(prop in obj)obj[prop]&&(copy[prop]=obj[prop]);return copy},Q.extend=function(destination,from){var prop;for(prop in from)from[prop]&&(destination[prop]=from[prop]);return destination},Q.inherit=function(child,uber){var obj=child.prototype||{};return child.prototype=Q.extend(obj,uber.prototype),uber.prototype},window.Q=Q}(this),function(Q){"use strict";function Emitter(){return this}Emitter.prototype.on=function(event,listener,once){return this._eventsCollection=this._eventsCollection||{},listener.once=once||!1,void 0===this._eventsCollection[event]&&(this._eventsCollection[event]=[]),this._eventsCollection[event].push(listener),this},Emitter.prototype.once=function(event,listener){return this.on(event,listener,!0),this},Emitter.prototype.off=function(event,listener){if(void 0===this._eventsCollection)return this;var len,listeners=this._eventsCollection[event],i=0;if(void 0!==listeners)for(len=listeners.length,i;len>i;i+=1)if(listeners[i]===listener){listeners.splice(i,1);break}return this},Emitter.prototype.getListeners=function(event){return this._eventsCollection[event]},Emitter.prototype.emit=function(){var listeners,len,args=Array.prototype.slice.call(arguments,0),event=args.shift(),i=0;if("string"==typeof event&&(event={type:event}),event.target||(event.target=this),void 0!==this._eventsCollection&&void 0!==this._eventsCollection[event.type])for(listeners=this._eventsCollection[event.type],len=listeners.length,i;len>i;i+=1)listeners[i].apply(this,args),listeners[i].once&&(this.off(event.type,listeners[i]),len-=1,i-=1);return this},Q.emitter=function(component){return component?Q.inherit(component,Emitter):new Emitter},Q.mediator=new Emitter}(this.Q),function(window,Q){"use strict";function Component(){return this}Component.prototype._init=function(){var that=this;return this._enabled=!0,void 0!==this.init&&this.init.apply(that,arguments),window.setTimeout(function(){that.emit("ready")},50),this},Component.prototype.name="component",Component.prototype.constructor=Component,Component.prototype.enable=function(){return this._enabled=!0,this.emit("enable"),this},Component.prototype.disable=function(){return this._enabled=!1,this.emit("disable"),this},Component.prototype.destroy=function(){this.disable(),this.emit("destroy")},Component.prototype.inflate=function(members){return Q.extend(this.constructor.prototype,members),this},Q.emitter(Component),Q.define=function(parents,members){function Balloon(){return this._init.apply(this,arguments),this}return void 0===members&&(members=parents,parents=[]),parents.unshift(Component),parents.forEach(function(uber){Q.inherit(Balloon,uber)}),Q.extend(Balloon.prototype,members),Balloon}}(this,this.Q);
/*! Balloons.js v0.2.0 http://balloonsjs.com/ | Released under the MIT license. */!function(a){"use strict";var b={};b.clone=function(a){var b,c={};for(b in a)a[b]&&(c[b]=a[b]);return c},b.extend=function(a,b){var c;for(c in b)b[c]&&(a[c]=b[c]);return a},b.inherit=function(a,c){var d=a.prototype||{};return a.prototype=b.extend(d,c.prototype),c.prototype},a.Q=b}(this),function(a){"use strict";function b(){return this}b.prototype.on=function(a,b,c){return this._eventsCollection=this._eventsCollection||{},b.once=c||!1,void 0===this._eventsCollection[a]&&(this._eventsCollection[a]=[]),this._eventsCollection[a].push(b),this},b.prototype.once=function(a,b){return this.on(a,b,!0),this},b.prototype.off=function(a,b){if(void 0===this._eventsCollection)return this;var c,d=this._eventsCollection[a],e=0;if(void 0!==d)for(c=d.length,e;c>e;e+=1)if(d[e]===b){d.splice(e,1);break}return this},b.prototype.getListeners=function(a){return this._eventsCollection[a]},b.prototype.emit=function(){var a,b,c=Array.prototype.slice.call(arguments,0),d=c.shift(),e=0;if("string"==typeof d&&(d={type:d}),d.target||(d.target=this),void 0!==this._eventsCollection&&void 0!==this._eventsCollection[d.type])for(a=this._eventsCollection[d.type],b=a.length,e;b>e;e+=1)a[e].apply(this,c),a[e].once&&(this.off(d.type,a[e]),b-=1,e-=1);return this},a.emitter=function(c){return c?a.inherit(c,b):new b},a.mediator=new b}(this.Q),function(a,b){"use strict";function c(){return this}c.prototype._init=function(){var b=this;return this._enabled=!0,void 0!==this.init&&this.init.apply(b,arguments),a.setTimeout(function(){b.emit("ready")},50),this},c.prototype.name="component",c.prototype.constructor=c,c.prototype.enable=function(){return this._enabled=!0,this.emit("enable"),this},c.prototype.disable=function(){return this._enabled=!1,this.emit("disable"),this},c.prototype.destroy=function(){this.disable(),this.emit("destroy")},c.prototype.inflate=function(a){return b.extend(this.constructor.prototype,a),this},b.emitter(c),b.define=function(a,d){function e(){return this._init.apply(this,arguments),this}return void 0===d&&(d=a,a=[]),a.unshift(c),a.forEach(function(a){b.inherit(e,a)}),b.extend(e.prototype,d),e}}(this,this.Q);
Update dist version.