(function(){zhtml.Input=zk.$extends(zhtml.Widget,{_doChange:function(a){if(a=this.$n())a=a.value,a!=this._defValue&&(this._defValue=a,this.fire("onChange",this._onChangeData(a),null))},_onChangeData:function(a,b){return{value:a,start:zk(this.$n()).getSelectionRange()[0],marshal:this._onChangeMarshal}},_onChangeMarshal:function(){return[this.value,!1,this.start]},bind_:function(){this.$supers(zhtml.Input,"bind_",arguments);var a;this.isListen("onChange",{any:!0})&&(a=this.$n())&&(this._defValue=a.value,
this.domListen_(a,"onChange"));this.isListen("onCheck",{any:!0})&&(a=this.$n())&&(this._defChecked=a.checked,this.domListen_(a,"onCheck"))},unbind_:function(){void 0!==this._defValue&&this.domUnlisten_(this.$n(),"onChange");this.$supers(zhtml.Input,"unbind_",arguments)}})})();
