if (typeof window.RadControlsNamespace=="u\x6e\x64efined"){window.RadControlsNamespace= {} ; }if (typeof(window.RadControlsNamespace.EventMixin)=="\x75ndefined" || typeof(window.RadControlsNamespace.EventMixin.Version)==null || window.RadControlsNamespace.EventMixin.Version<1){RadControlsNamespace.EventMixin= {Version: 1,Initialize:function (k){k._listeners= {} ; k._eventsEnabled= true; k.AttachEvent=this.AttachEvent; k.DetachEvent=this.DetachEvent; k.RaiseEvent=this.RaiseEvent; k.EnableEvents=this.EnableEvents; k.DisableEvents=this.DisableEvents; } ,DisableEvents:function (){ this._eventsEnabled= false; } ,EnableEvents:function (){ this._eventsEnabled= true; } ,AttachEvent:function (g,o0){if (!this._listeners[g]){ this._listeners[g]=[]; } this._listeners[g][this._listeners[g].length]=(RadControlsNamespace.EventMixin.ResolveFunction(o0)); } ,DetachEvent:function (g,o0){var O0=this._listeners[g]; if (!O0){return false; }var l0=RadControlsNamespace.EventMixin.ResolveFunction(o0); for (var i=0; i<O0.length; i++){if (l0==O0[i]){O0.splice(i,1); return true; }}return false; } ,ResolveFunction:function (i0){if (typeof(i0)=="\x66unc\x74\x69on"){return i0; }else if (typeof(window[i0])=="\x66unction"){return window[i0]; }else {return new Function("\x76ar Se\x6e\x64er = \x61\x72gu\x6dents[0]\x3b\x20var\x20\101\x72gum\x65nts =\x20\x61rg\x75ments\x5b\061\x5d;"+i0); }} ,RaiseEvent:function (g,I0){if (!this._eventsEnabled){return true; }var o1= true; if (this[g]){var O1=RadControlsNamespace.EventMixin.ResolveFunction(this[g])(this,I0); if (typeof(O1)=="\x75nde\x66\x69ned"){O1= true; }o1=o1 && O1; }if (!this._listeners[g])return o1; for (var i=0; i<this._listeners[g].length; i++){var o0=this._listeners[g][i]; var O1=o0(this,I0); if (typeof(O1)=="unde\x66\x69ned"){O1= true; }o1=o1 && O1; }return o1; }};}
