module.exports = "(function(t,e,i){var s=i(5894);function n(t,e,i){this.__id=t,this.__flux=e,this.__stateId=0,this.__hasChanges=!1,this.__handlers={},s.extend(this,i),this.__state={},this.initialize&&this.initialize()}n.prototype.__handleAction=function(t,e){var i=this.__handlers[t];i&&\"function\"==typeof i&&i.call(this,e,t)},n.prototype.__getState=function(){return s.cloneDeep(this.__state)},n.prototype.on=function(t,e){this.__handlers[t]=s.bind(e,this)},n.prototype.observe=function(t){return this.__flux.__addObserver(this.__id,t)},n.prototype.emitChange=function(){this.__hasChanges=!0,this.__stateId++},n.prototype.hasChanges=function(){return this.__hasChanges},n.prototype.resetChange=function(){this.__hasChanges=!1},n.prototype.getStateId=function(){return this.__stateId},n.prototype.__reset=function(){this.reset&&\"function\"==typeof this.reset&&this.reset(),this.initialize()},t.exports=n})";