!function(e,i){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(t){return i(e,t)}):"object"==typeof module&&module.exports?module.exports=i(e,require("jquery")):e.jQueryBridget=i(e,e.jQuery)}(window,function(t,e){"use strict";var l=Array.prototype.slice,i=t.console,c=void 0===i?function(){}:function(t){i.error(t)};function n(u,o,d){(d=d||e||t.jQuery)&&(o.prototype.option||(o.prototype.option=function(t){d.isPlainObject(t)&&(this.options=d.extend(!0,this.options,t))}),d.fn[u]=function(t){if("string"!=typeof t)return n=t,this.each(function(t,e){var i=d.data(e,u);i?(i.option(n),i._init()):(i=new o(e,n),d.data(e,u,i))}),this;var e,r,s,a,h,n,i=l.call(arguments,1);return s=i,h="$()."+u+'("'+(r=t)+'")',(e=this).each(function(t,e){var i=d.data(e,u);if(i){var n=i[r];if(n&&"_"!=r.charAt(0)){var o=n.apply(i,s);a=void 0===a?o:a}else c(h+" is not a valid method")}else c(u+" not initialized. Cannot call methods, i.e. "+h)}),void 0!==a?a:e},r(d))}function r(t){!t||t&&t.bridget||(t.bridget=n)}return r(e||t.jQuery),n}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o