(function(){var d,c={};zk.load("zul.lang",function(){d="0123456789-"+zk.MINUS+zk.PERCENT+(zk.groupingDenied?"":zk.GROUPING)});zul.inp.NumberInputWidget=zk.$extends(zul.inp.FormatWidget,{$define:{rounding:null,localizedSymbols:[function(a){return a?(a=jq.evalJSON(a),c[a[0]]||(c[a[0]]=a[1]),c[a[0]]):a},function(){var a=this._localizedSymbols;this._allowKeys=a?"0123456789"+a.MINUS+a.PERCENT+(zk.groupingDenied?"":a.GROUPING):null;this.rerender()}]},getAllowedKeys_:function(){return this._allowKeys||d},
doKeyPress_:function(a){a.ctrlKey&&a.altKey&&a.stop();this._shallIgnore(a,this.getAllowedKeys_())||this.$supers("doKeyPress_",arguments)},doPaste_:function(a){var b=this.getInputNode(),e=a.domEvent.originalEvent.clipboardData.getData("text").trim();(new RegExp("^["+this.getAllowedKeys_().replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")+"]+$")).test(e)&&(b.value=e);a.stop();this.$supers("doPaste_",arguments)},getType:function(){return this._type},domAttrs_:function(a){var b=this.$supers("domAttrs_",arguments);
a&&a.text||!zk.mobile||(b+=' inputmode="decimal"');return b}})})();
