text: !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define(["react"],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.fluxReact=e()}}(function(){var e;return function t(e,n,r){function i(o,a){if(!n[o]){if(!e[o]){var l="function"==typeof require&&require;if(!a&&l)return l(o,!0);if(s)return s(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var c=n[o]={exports:{}};e[o][0].call(c.exports,function(t){var n=e[o][1][t];return i(n?n:t)},c,c.exports,t,e,n,r)}return n[o].exports}for(var s="function"==typeof require&&require,o=0;o<r.length;o++)i(r[o]);return i}({1:[function(t,n,r){!function(){function t(){this._events={},this._conf&&n.call(this,this._conf)}function n(e){e&&(this._conf=e,e.delimiter&&(this.delimiter=e.delimiter),e.maxListeners&&(this._events.maxListeners=e.maxListeners),e.wildcard&&(this.wildcard=e.wildcard),e.newListener&&(this.newListener=e.newListener),this.wildcard&&(this.listenerTree={}))}function i(e){this._events={},this.newListener=!1,n.call(this,e)}function s(e,t,n,r){if(!n)return[];var i,o,a,l,f,c,h,u=[],p=t.length,d=t[r],y=t[r+1];if(r===p&&n._listeners){if("function"==typeof n._listeners)return e&&e.push(n._listeners),[n];for(i=0,o=n._listeners.length;o>i;i++)e&&e.push(n._listeners[i]);return[n]}if("*"===d||"**"===d||n[d]){if("*"===d){for(a in n)"_listeners"!==a&&n.hasOwnProperty(a)&&(u=u.concat(s(e,t,n[a],r+1)));return u}if("**"===d){h=r+1===p||r+2===p&&"*"===y,h&&n._listeners&&(u=u.concat(s(e,t,n,p)));for(a in n)"_listeners"!==a&&n.hasOwnProperty(a)&&("*"===a||"**"===a?(n[a]._listeners&&!h&&(u=u.concat(s(e,t,n[a],p))),u=u.concat(s(e,t,n[a],r))):u=a===y?u.concat(s(e,t,n[a],r+2)):u.concat(s(e,t,n[a],r)));return u}u=u.concat(s(e,t,n[d],r+1))}if(l=n["*"],l&&s(e,t,l,r+1),f=n["**"])if(p>r){f._listeners&&s(e,t,f,p);for(a in f)"_listeners"!==a&&f.hasOwnProperty(a)&&(a===y?s(e,t,f[a],r+2):a===d?s(e,t,f[a],r+1):(c={},c[a]=f[a],s(e,t,{"**":c},r+1)))}else f._listeners?s(e,t,f,p):f["*"]&&f["*"]._listeners&&s(e,t,f["*"],p);return u}function o(e,t){e="string"==typeof e?e.split(this.delimiter):e.slice();for(var n=0,r=e.length;r>n+1;n++)if("**"===e[n]&&"**"===e[n+1])return;for(var i=this.listenerTree,s=e.shift();s;){if(i[s]||(i[s]={}),i=i[s],0===e.length){if(i._listeners){if("function"==typeof i._listeners)i._listeners=[i._listeners,t];else if(a(i._listeners)&&(i._listeners.push(t),!i._listeners.warned)){var o=l;"undefined"!=typeof this._events.maxListeners&&(o=this._events.maxListeners),o>0&&i._listeners.length>o&&(i._listeners.warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",i._listeners.length),console.trace())}}else i._listeners=t;return!0}s=e.shift()}return!0}var a=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},l=10;i.prototype.delimiter=".",i.prototype.setMaxListeners=function(e){this._events||t.call(this),this._events.maxListeners=e,this._conf||(this._conf={}),this._conf.maxListeners=e},i.prototype.event="",i.prototype.once=function(e,t){return this.many(e,1,t),this},i.prototype.many=function(e,t,n){function r(){0===--t&&i.off(e,r),n.apply(this,arguments)}var i=this;if("function"!=typeof n)throw new Error("many only accepts instances of Function");return r._origin=n,this.on(e,r),i},i.prototype.emit=function(){this._events||t.call(this);var e=arguments[0];if("newListener"===e&&!this.newListener&&!this._events.newListener)return!1;if(this._all){for(var n=arguments.length,r=new Array(n-1),i=1;n>i;i++)r[i-1]=arguments[i];for(i=0,n=this._all.length;n>i;i++)this.event=e,this._all[i].apply(this,r)}if("error"===e&&!(this._all||this._events.error||this.wildcard&&this.listenerTree.error))throw arguments[1]instanceof Error?arguments[1]:new Error("Uncaught, unspecified 'error' event.");var o;if(this.wildcard){o=[];var a="string"==typeof e?e.split(this.delimiter):e.slice();s.call(this,o,a,this.listenerTree,0)}else o=this._events[e];if("function"==typeof o){if(this.event=e,1===arguments.length)o.call(this);else if(arguments.length>1)switch(arguments.length){case 2:o.call(this,arguments[1]);break;case 3:o.call(this,arguments[1],arguments[2]);break;default:for(var n=arguments.length,r=new Array(n-1),i=1;n>i;i++)r[i-1]=arguments[i];o.apply(this,r)}return!0}if(o){for(var n=arguments.length,r=new Array(n-1),i=1;n>i;i++)r[i-1]=arguments[i];for(var l=o.slice(),i=0,n=l.length;n>i;i++)this.event=e,l[i].apply(this,r);return l.length>0||!!this._all}return!!this._all},i.prototype.on=function(e,n){if("function"==typeof e)return this.onAny(e),this;if("function"!=typeof n)throw new Error("on only accepts instances of Function");if(this._events||t.call(this),this.emit("newListener",e,n),this.wildcard)return o.call(this,e,n),this;if(this._events[e]){if("function"==typeof this._events[e])this._events[e]=[this._events[e],n];else if(a(this._events[e])&&(this._events[e].push(n),!this._events[e].warned)){var r=l;"undefined"!=typeof this._events.maxListeners&&(r=this._events.maxListeners),r>0&&this._events[e].length>r&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),console.trace())}}else this._events[e]=n;return this},i.prototype.onAny=function(e){if("function"!=typeof e)throw new Error("onAny only accepts instances of Function");return this._all||(this._all=[]),this._all.push(e),this},i.prototype.addListener=i.prototype.on,i.prototype.off=function(e,t){if("function"!=typeof t)throw new Error("removeListener only takes instances of Function");var n,r=[];if(this.wildcard){var i="string"==typeof e?e.split(this.delimiter):e.slice();r=s.call(this,null,i,this.listenerTree,0)}else{if(!this._events[e])return this;n=this._events[e],r.push({_listeners:n})}for(var o=0;o<r.length;o++){var l=r[o];if(n=l._listeners,a(n)){for(var f=-1,c=0,h=n.length;h>c;c++)if(n[c]===t||n[c].listener&&n[c].listener===t||n[c]._origin&&n[c]._origin===t){f=c;break}if(0>f)continue;return this.wildcard?l._listeners.splice(f,1):this._events[e].splice(f,1),0===n.length&&(this.wildcard?delete l._listeners:delete this._events[e]),this}(n===t||n.listener&&n.listener===t||n._origin&&n._origin===t)&&(this.wildcard?delete l._listeners:delete this._events[e])}return this},i.prototype.offAny=function(e){var t,n=0,r=0;if(e&&this._all&&this._all.length>0){for(t=this._all,n=0,r=t.length;r>n;n++)if(e===t[n])return t.splice(n,1),this}else this._all=[];return this},i.prototype.removeListener=i.prototype.off,i.prototype.removeAllListeners=function(e){if(0===arguments.length)return!this._events||t.call(this),this;if(this.wildcard)for(var n="string"==typeof e?e.split(this.delimiter):e.slice(),r=s.call(this,null,n,this.listenerTree,0),i=0;i<r.length;i++){var o=r[i];o._listeners=null}else{if(!this._events[e])return this;this._events[e]=null}return this},i.prototype.listeners=function(e){if(this.wildcard){var n=[],r="string"==typeof e?e.split(this.delimiter):e.slice();return s.call(this,n,r,this.listenerTree,0),n}return this._events||t.call(this),this._events[e]||(this._events[e]=[]),a(this._events[e])||(this._events[e]=[this._events[e]]),this._events[e]},i.prototype.listenersAny=function(){return this._all?this._all:[]},"function"==typeof e&&e.amd?e(function(){return i}):"object"==typeof r?r.EventEmitter2=i:window.EventEmitter2=i}()},{}],2:[function(e,t){var n=function(e,t){for(var n=Object.keys(e),r=0;r<n.length;r++)if(!t[n[r]]||e[n[r]]!==t[n[r]])return!1;return!0};t.exports={update:function(){this.setState({})},shouldComponentUpdate:function(e,t){var r=this.props?Object.keys(this.props).length:0,i=e?Object.keys(e).length:0,s=this.state?Object.keys(this.state).length:0,o=t?Object.keys(t).length:0;return r||i||s||o?r!==i||s!==o?!0:!n(e,this.props)||!n(t,this.state):!1}}},{}],3:[function(e,t){var n=e("eventemitter2").EventEmitter2||e("eventemitter2"),r=e("./safeDeepClone.js"),i=function(e){{var t=function(){var e=r("[Circular]",[],Array.prototype.slice.call(arguments,0));if(!t._events)throw new Error("You are triggering the action: "+t.handlerName+", and nobody is listening to it yet. Remember to load up the store first");e=["trigger"].concat(e),t.emit.apply(t,e)};new n}for(var i in n.prototype)n.prototype.hasOwnProperty(i)&&(t[i]=n.prototype[i]);return t.handlerName=e,t},s=function(){if(Array.isArray(arguments[0])){var e={};return arguments[0].forEach(function(t){e[t]=i(t)}),e}throw new Error("You are not passing an array to createActions")};t.exports=s},{"./safeDeepClone.js":5,eventemitter2:1}],4:[function(e,t){(function(n){function r(e,t){t.actions=t.actions||[],t.exports=t.exports||{},e&&Array.isArray(e)&&e.forEach(function(e){Object.keys(e).forEach(function(n){switch(n){case"mixins":return r(e.mixins,e);case"actions":t.actions=t.actions.concat(e.actions);break;case"exports":Object.keys(e.exports).forEach(function(n){t.exports[n]=e.exports[n]});break;default:if(t[n])throw new Error("The property: "+n+", already exists. Can not merge mixin with keys: "+Object.keys(e).join(", "));t[n]=e[n]}})});var n=new o({wildcard:!0});return t.emitChange=function(){setTimeout(function(){n.emit("change")},0)},t.emit=function(){var e=arguments;setTimeout(function(){n.emit.apply(n,e)},0)},n.addChangeListener=function(e){n.on("change",e)},n.removeChangeListener=function(e){n.removeListener("change",e)},t.actions.forEach(function(e){if(!e||!e.handlerName)throw new Error("This is not an action "+e);if(!t[e.handlerName])throw new Error("There is no handler for action: "+e);e.on("trigger",t[e.handlerName].bind(t))}),Object.keys(t.exports).forEach(function(e){n[e]=function(){return a("[Circular]",[],t.exports[e].apply(t,arguments))}}),n}var i=n.React||e("react"),s=e("./action.js"),o=e("eventemitter2").EventEmitter2||e("eventemitter2"),a=e("./safeDeepClone.js"),l=e("./RenderMixin.js"),f={};f.debug=function(){n.React=i},f.createActions=function(){return s.apply(null,arguments)},f.createStore=function(e){return r(e.mixins,e)},f.RenderMixin=l,n.exports||n.module||n.define&&n.define.amd||(n.flux=f),t.exports=f}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./RenderMixin.js":2,"./action.js":3,"./safeDeepClone.js":5,eventemitter2:1,react:"react"}],5:[function(e,t){(function(e){function n(t,r,i){var s;if(!i||"object"!=typeof i||"ArrayBuffer"in e&&i instanceof ArrayBuffer||"Blob"in e&&i instanceof Blob||"File"in e&&i instanceof File)return i;if(i instanceof Date)return s=new Date,s.setTime(i.getTime()),s;if(i instanceof Array||i.length){r.push(i),s=[];for(var o=0,a=i.length;a>o;o++)s[o]=r.indexOf(i[o])>=0?t:n(t,r,i[o]);return r.pop(),s}r.push(i),s={},i instanceof Error&&(s.name=i.name,s.message=i.message,s.stack=i.stack);for(var l in i)i.hasOwnProperty(l)&&(s[l]=r.indexOf(i[l])>=0?t:n(t,r,i[l]));return r.pop(),s}t.exports=n}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[4])(4)});