(function(k){k.extend(k.inputmask.defaults.aliases,{decimal:{mask:"~",placeholder:"",repeat:"*",greedy:!1,numericInput:!1,isNumeric:!0,digits:"*",groupSeparator:"",radixPoint:".",groupSize:3,autoGroup:!1,allowPlus:!0,allowMinus:!0,integerDigits:"*",defaultValue:"",prefix:"",suffix:"",getMaskLength:function(a,e,d,c,b){var f=a.length;e||("*"==d?f=c.length+1:1=d&&"0"===e[0]&&/[\d-]/.test(a)&&1==e.join("").length)return e[0]="",{pos:0};var g=c?e.slice(0,d):e.slice();g.splice(d,0,a);var g=g.join(""),h=k.inputmask.escapeRegex.call(this,b.groupSeparator),g=g.replace(RegExp(h,"g"),"");c&&g.lastIndexOf(b.radixPoint)==g.length-1&&(h=k.inputmask.escapeRegex.call(this,b.radixPoint),g=g.replace(RegExp(h,"g"),"")); if(!c&&""==g)return!1;h=b.regex.number(f).test(g);if(!h&&(g+="0",h=b.regex.number(f).test(g),!h)){h=g.lastIndexOf(b.groupSeparator);for(h=g.length-h;3>=h;h++)g+="0";h=b.regex.number(f).test(g);if(!h&&!c&&a==b.radixPoint&&(h=b.regex.number(f).test("0"+g+"0")))return e[d]="0",d++,{pos:d}}return!1==h||c||a==b.radixPoint?h:{pos:b.postFormat(e,d,"-"==a||"+"==a?!0:!1,b)}},cardinality:1,prevalidator:null}},insertMode:!0,autoUnmask:!1},integer:{regex:{number:function(a){var e=k.inputmask.escapeRegex.call(this, a.groupSeparator);return RegExp("^"+(a.allowPlus||a.allowMinus?"["+(a.allowPlus?"+":"")+(a.allowMinus?"-":"")+"]?":"")+"(\\d+|\\d{1,"+a.groupSize+"}(("+e+"\\d{"+a.groupSize+"})?)+)$")}},alias:"decimal"}})})(jQuery);