(function(){u8.Base.Aggregator=function(t){if(t&&typeof t=="object"){$.extend(this,t);this.bind(t)}this._values={};this._result=undefined};u8.Base.Aggregator.makeClass({name:"Aggregator",events:["ResultChange"]});$.extend(u8.Base.Aggregator.prototype,{dispose:function(){this.unbind()},set:function(t,e){if(this._values[t]===e){return}this._values[t]=e;var s=this.aggregator(this._values);if(s===this._result){return}this._result=s;this.raise("ResultChange")},getResult:function(){return this._result}})})();