inputmask
Advanced tools
Comparing version 4.0.0-beta.32 to 4.0.0-beta.33
@@ -0,0 +0,0 @@ # Change Log |
@@ -6,3 +6,3 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.32 | ||
* Version: 4.0.0-beta.33 | ||
*/ | ||
@@ -9,0 +9,0 @@ |
@@ -6,3 +6,3 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.32 | ||
* Version: 4.0.0-beta.33 | ||
*/ | ||
@@ -9,0 +9,0 @@ |
@@ -6,3 +6,3 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.32 | ||
* Version: 4.0.0-beta.33 | ||
*/ | ||
@@ -9,0 +9,0 @@ |
@@ -6,3 +6,3 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.32 | ||
* Version: 4.0.0-beta.33 | ||
*/ | ||
@@ -9,0 +9,0 @@ |
@@ -6,3 +6,3 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.32 | ||
* Version: 4.0.0-beta.33 | ||
*/ | ||
@@ -9,0 +9,0 @@ |
@@ -6,3 +6,3 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.32 | ||
* Version: 4.0.0-beta.33 | ||
*/ | ||
@@ -9,0 +9,0 @@ |
@@ -6,3 +6,3 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.32 | ||
* Version: 4.0.0-beta.33 | ||
*/ | ||
@@ -9,0 +9,0 @@ |
@@ -6,3 +6,3 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.32 | ||
* Version: 4.0.0-beta.33 | ||
*/ | ||
@@ -9,0 +9,0 @@ |
@@ -6,3 +6,3 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.32 | ||
* Version: 4.0.0-beta.33 | ||
*/ | ||
@@ -9,0 +9,0 @@ |
@@ -6,3 +6,3 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.32 | ||
* Version: 4.0.0-beta.33 | ||
*/ | ||
@@ -9,0 +9,0 @@ |
@@ -6,3 +6,3 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.32 | ||
* Version: 4.0.0-beta.33 | ||
*/ | ||
@@ -9,0 +9,0 @@ |
@@ -6,3 +6,3 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.32 | ||
* Version: 4.0.0-beta.33 | ||
*/ | ||
@@ -9,0 +9,0 @@ |
@@ -6,3 +6,3 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.32 | ||
* Version: 4.0.0-beta.33 | ||
*/ | ||
@@ -9,0 +9,0 @@ |
@@ -6,3 +6,3 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.32 | ||
* Version: 4.0.0-beta.33 | ||
*/ | ||
@@ -9,0 +9,0 @@ |
@@ -6,3 +6,3 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.32 | ||
* Version: 4.0.0-beta.33 | ||
*/ | ||
@@ -9,0 +9,0 @@ |
@@ -6,3 +6,3 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.32 | ||
* Version: 4.0.0-beta.33 | ||
*/ | ||
@@ -9,0 +9,0 @@ |
@@ -6,5 +6,5 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.32 | ||
* Version: 4.0.0-beta.33 | ||
*/ | ||
!function(a){"function"==typeof define&&define.amd?define(["jquery","../inputmask","../global/document"],a):"object"==typeof exports?module.exports=a(require("jquery"),require("../inputmask"),require("../global/document")):a(jQuery,window.Inputmask,document)}(function(a,t,n){a(n).ajaxComplete(function(n,i,e){-1!==a.inArray("html",e.dataTypes)&&a(".inputmask, [data-inputmask], [data-inputmask-mask], [data-inputmask-alias]").each(function(a,n){void 0===n.inputmask&&t().mask(n)})}).ready(function(){a(".inputmask, [data-inputmask], [data-inputmask-mask], [data-inputmask-alias]").each(function(a,n){void 0===n.inputmask&&t().mask(n)})})}); |
@@ -6,5 +6,5 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.32 | ||
* Version: 4.0.0-beta.33 | ||
*/ | ||
!function(e){"function"==typeof define&&define.amd?define(["jqlite","../global/window","../global/document"],e):"object"==typeof exports?module.exports=e(require("jqlite"),require("../global/window"),require("../global/document")):window.dependencyLib=e(jqlite,window,document)}(function(e,n,t){function o(e){return null!=e&&e===e.window}return e.inArray=function(e,n,t){return null==n?-1:function(e,n){for(var t=0,o=e.length;t<o;t++)if(e[t]===n)return t;return-1}(n,e)},e.isFunction=function(e){return"function"==typeof e},e.isArray=Array.isArray,e.isPlainObject=function(e){return"object"==typeof e&&!e.nodeType&&!o(e)&&!(e.constructor&&!Object.hasOwnProperty.call(e.constructor.prototype,"isPrototypeOf"))},e.extend=function(){var n,t,o,r,i,u,l=arguments[0]||{},c=1,a=arguments.length,f=!1;for("boolean"==typeof l&&(f=l,l=arguments[c]||{},c++),"object"==typeof l||e.isFunction(l)||(l={}),c===a&&(l=this,c--);c<a;c++)if(null!=(n=arguments[c]))for(t in n)o=l[t],l!==(r=n[t])&&(f&&r&&(e.isPlainObject(r)||(i=e.isArray(r)))?(i?(i=!1,u=o&&e.isArray(o)?o:[]):u=o&&e.isPlainObject(o)?o:{},l[t]=e.extend(f,u,r)):void 0!==r&&(l[t]=r));return l},e.each=function(e,n){var t,r,i,u=0;if(r="length"in(t=e)&&t.length,"function"!==(i=typeof t)&&!o(t)&&(1===t.nodeType&&r||"array"===i||0===r||"number"==typeof r&&r>0&&r-1 in t))for(var l=e.length;u<l&&!1!==n.call(e[u],u,e[u]);u++);else for(u in e)if(!1===n.call(e[u],u,e[u]))break;return e},e.data=function(n,t,o){return e(n).data(t,o)},e.Event=e.Event||function(e,n){n=n||{bubbles:!1,cancelable:!1,detail:void 0};var o=t.createEvent("CustomEvent");return o.initCustomEvent(e,n.bubbles,n.cancelable,n.detail),o},e.Event.prototype=n.Event.prototype,e}); |
@@ -6,5 +6,5 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.32 | ||
* Version: 4.0.0-beta.33 | ||
*/ | ||
!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):window.dependencyLib=e(jQuery)}(function(e){return e}); |
@@ -6,5 +6,5 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.32 | ||
* Version: 4.0.0-beta.33 | ||
*/ | ||
!function(e){"function"==typeof define&&define.amd?define(["../global/window","../global/document"],e):"object"==typeof exports?module.exports=e(require("../global/window"),require("../global/document")):window.dependencyLib=e(window,document)}(function(e,t){function n(e){return null!=e&&e===e.window}function i(e){return e instanceof Element}function o(n){return n instanceof o?n:this instanceof o?void(void 0!==n&&null!==n&&n!==e&&(this[0]=n.nodeName?n:void 0!==n[0]&&n[0].nodeName?n[0]:t.querySelector(n),void 0!==this[0]&&null!==this[0]&&(this[0].eventRegistry=this[0].eventRegistry||{}))):new o(n)}return o.prototype={on:function(e,t){if(i(this[0])){var n=this[0].eventRegistry,o=this[0];for(var r=e.split(" "),a=0;a<r.length;a++){var l=r[a].split("."),s=l[0],f=l[1]||"global";c=s,u=f,o.addEventListener?o.addEventListener(c,t,!1):o.attachEvent&&o.attachEvent("on"+c,t),n[c]=n[c]||{},n[c][u]=n[c][u]||[],n[c][u].push(t)}}var c,u;return this},off:function(e,t){if(i(this[0])){var n=this[0].eventRegistry,o=this[0];function r(e,t,i){if(e in n==!0)if(o.removeEventListener?o.removeEventListener(e,i,!1):o.detachEvent&&o.detachEvent("on"+e,i),"global"===t)for(var r in n[e])n[e][r].splice(n[e][r].indexOf(i),1);else n[e][t].splice(n[e][t].indexOf(i),1)}function a(e,i){var o,r,a=[];if(e.length>0)if(void 0===t)for(o=0,r=n[e][i].length;o<r;o++)a.push({ev:e,namespace:i&&i.length>0?i:"global",handler:n[e][i][o]});else a.push({ev:e,namespace:i&&i.length>0?i:"global",handler:t});else if(i.length>0)for(var l in n)for(var s in n[l])if(s===i)if(void 0===t)for(o=0,r=n[l][s].length;o<r;o++)a.push({ev:l,namespace:s,handler:n[l][s][o]});else a.push({ev:l,namespace:s,handler:t});return a}for(var l=e.split(" "),s=0;s<l.length;s++)for(var f=l[s].split("."),c=a(f[0],f[1]),u=0,v=c.length;u<v;u++)r(c[u].ev,c[u].namespace,c[u].handler)}return this},trigger:function(e){if(i(this[0]))for(var n=this[0].eventRegistry,r=this[0],a="string"==typeof e?e.split(" "):[e.type],l=0;l<a.length;l++){var s=a[l].split("."),f=s[0],c=s[1]||"global";if(void 0!==t&&"global"===c){var u,v,d={bubbles:!0,cancelable:!0,detail:arguments[1]};if(t.createEvent){try{u=new CustomEvent(f,d)}catch(e){(u=t.createEvent("CustomEvent")).initCustomEvent(f,d.bubbles,d.cancelable,d.detail)}e.type&&o.extend(u,e),r.dispatchEvent(u)}else(u=t.createEventObject()).eventType=f,u.detail=arguments[1],e.type&&o.extend(u,e),r.fireEvent("on"+u.eventType,u)}else if(void 0!==n[f])if(arguments[0]=arguments[0].type?arguments[0]:o.Event(arguments[0]),"global"===c)for(var p in n[f])for(v=0;v<n[f][p].length;v++)n[f][p][v].apply(r,arguments);else for(v=0;v<n[f][c].length;v++)n[f][c][v].apply(r,arguments)}return this}},o.isFunction=function(e){return"function"==typeof e},o.noop=function(){},o.isArray=Array.isArray,o.inArray=function(e,t,n){return null==t?-1:function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1}(t,e)},o.valHooks=void 0,o.isPlainObject=function(e){return"object"==typeof e&&!e.nodeType&&!n(e)&&!(e.constructor&&!Object.hasOwnProperty.call(e.constructor.prototype,"isPrototypeOf"))},o.extend=function(){var e,t,n,i,r,a,l=arguments[0]||{},s=1,f=arguments.length,c=!1;for("boolean"==typeof l&&(c=l,l=arguments[s]||{},s++),"object"==typeof l||o.isFunction(l)||(l={}),s===f&&(l=this,s--);s<f;s++)if(null!=(e=arguments[s]))for(t in e)n=l[t],l!==(i=e[t])&&(c&&i&&(o.isPlainObject(i)||(r=o.isArray(i)))?(r?(r=!1,a=n&&o.isArray(n)?n:[]):a=n&&o.isPlainObject(n)?n:{},l[t]=o.extend(c,a,i)):void 0!==i&&(l[t]=i));return l},o.each=function(e,t){var i,o,r,a=0;if(o="length"in(i=e)&&i.length,"function"!==(r=typeof i)&&!n(i)&&(1===i.nodeType&&o||"array"===r||0===o||"number"==typeof o&&o>0&&o-1 in i))for(var l=e.length;a<l&&!1!==t.call(e[a],a,e[a]);a++);else for(a in e)if(!1===t.call(e[a],a,e[a]))break;return e},o.data=function(e,t,n){if(void 0===n)return e.__data?e.__data[t]:null;e.__data=e.__data||{},e.__data[t]=n},"function"==typeof e.CustomEvent?o.Event=e.CustomEvent:(o.Event=function(e,n){n=n||{bubbles:!1,cancelable:!1,detail:void 0};var i=t.createEvent("CustomEvent");return i.initCustomEvent(e,n.bubbles,n.cancelable,n.detail),i},o.Event.prototype=e.Event.prototype),o}); |
@@ -6,5 +6,5 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.32 | ||
* Version: 4.0.0-beta.33 | ||
*/ | ||
"function"==typeof define&&define.amd?define(function(){return document}):"object"==typeof exports&&(module.exports=document); |
@@ -6,5 +6,5 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.32 | ||
* Version: 4.0.0-beta.33 | ||
*/ | ||
"function"==typeof define&&define.amd?define(function(){return window}):"object"==typeof exports&&(module.exports=window); |
@@ -6,5 +6,5 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.32 | ||
* Version: 4.0.0-beta.33 | ||
*/ | ||
!function(t){"function"==typeof define&&define.amd?define(["./dependencyLibs/inputmask.dependencyLib","./inputmask"],t):"object"==typeof exports?module.exports=t(require("./dependencyLibs/inputmask.dependencyLib"),require("./inputmask")):t(window.dependencyLib||jQuery,window.Inputmask)}(function(t,e){var o={d:["[1-9]|[12][0-9]|3[01]",Date.prototype.setDate,"day",Date.prototype.getDate],dd:["0[1-9]|[12][0-9]|3[01]",Date.prototype.setDate,"day",function(){return i(Date.prototype.getDate.call(this),2)}],ddd:[""],dddd:[""],m:["[1-9]|1[012]",Date.prototype.setMonth,"month",function(){return Date.prototype.getMonth.call(this)+1}],mm:["0[1-9]|1[012]",Date.prototype.setMonth,"month",function(){return i(Date.prototype.getMonth.call(this)+1,2)}],mmm:[""],mmmm:[""],yy:["[0-9]{2}",Date.prototype.setFullYear,"year",function(){return i(Date.prototype.getFullYear.call(this),2)}],yyyy:["[0-9]{4}",Date.prototype.setFullYear,"year",function(){return i(Date.prototype.getFullYear.call(this),4)}],h:["[1-9]|1[0-2]",Date.prototype.setHours,"hours",Date.prototype.getHours],hh:["0[1-9]|1[0-2]",Date.prototype.setHours,"hours",function(){return i(Date.prototype.getHours.call(this),2)}],hhh:["[0-9]+",Date.prototype.setHours,"hours",Date.prototype.getHours],H:["1?[0-9]|2[0-3]",Date.prototype.setHours,"hours",Date.prototype.getHours],HH:["[01][0-9]|2[0-3]",Date.prototype.setHours,"hours",function(){return i(Date.prototype.getHours.call(this),2)}],HHH:["[0-9]+",Date.prototype.setHours,"hours",Date.prototype.getHours],M:["[1-5]?[0-9]",Date.prototype.setMinutes,"minutes",Date.prototype.getMinutes],MM:["[0-5][0-9]",Date.prototype.setMinutes,"minutes",function(){return i(Date.prototype.getMinutes.call(this),2)}],s:["[1-5]?[0-9]",Date.prototype.setSeconds,"seconds",Date.prototype.getSeconds],ss:["[0-5][0-9]",Date.prototype.setSeconds,"seconds",function(){return i(Date.prototype.getSeconds.call(this),2)}],l:["[0-9]{3}",Date.prototype.setMilliseconds,"milliseconds",function(){return i(Date.prototype.getMilliseconds.call(this),3)}],L:["[0-9]{2}",Date.prototype.setMilliseconds,"milliseconds",function(){return i(Date.prototype.getMilliseconds.call(this),2)}],t:["[ap]"],tt:["[ap]m"],T:["[AP]"],TT:["[AP]M"],Z:[""],o:[""],S:[""]},n={isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"};function a(t){if(!t.tokenizer){var e=[];for(var n in o)-1===e.indexOf(n[0])&&e.push(n[0]);t.tokenizer="("+e.join("+|")+")+?|.",t.tokenizer=new RegExp(t.tokenizer,"g")}return t.tokenizer}function r(t,n,r){for(var i,s="";i=a(r).exec(t);){if(void 0===n)s+=o[i[0]]?"("+o[i[0]][0]+")":e.escapeRegex(i[0]);else if(o[i[0]])s+=o[i[0]][3].call(n.date);else s+=i[0]}return s}function i(t,e){for(t=String(t),e=e||2;t.length<e;)t="0"+t;return t}function s(t,e,n){var r,i,s,u={date:new Date(1,0,1)},p=t;function y(t,e,o){var a,i;"year"===r?(t[r]=(i=4===(a=e).length?a:(new Date).getFullYear().toString().substr(0,4-a.length)+a,n.min&&n.min.year&&n.max&&n.max.year?(i=i.replace(/[^0-9]/g,""),i+=n.min.year==n.max.year?n.min.year.substr(i.length):(""!==i&&0==n.max.year.indexOf(i)?parseInt(n.max.year)-1:parseInt(n.min.year)+1).toString().substr(i.length)):i=i.replace(/[^0-9]/g,"0"),i),t["raw"+r]=e):t[r]=o.min&&e.match(/[^0-9]/)?o.min[r]:e,void 0!==s&&s.call(t.date,"month"==r?parseInt(t[r])-1:t[r])}if("string"==typeof p){for(;i=a(n).exec(e);){var m=p.slice(0,i[0].length);o.hasOwnProperty(i[0])&&(r=o[i[0]][2],s=o[i[0]][1],y(u,m,n)),p=p.slice(m.length)}return u}}return e.extendAliases({datetime:{mask:function(t){return o.S=t.i18n.ordinalSuffix.join("|"),t.inputFormat=n[t.inputFormat]||t.inputFormat,t.displayFormat=n[t.displayFormat]||t.displayFormat||t.inputFormat,t.outputFormat=n[t.outputFormat]||t.outputFormat||t.inputFormat,t.placeholder=""!==t.placeholder?t.placeholder:t.inputFormat,t.min=s(t.min,t.inputFormat,t),t.max=s(t.max,t.inputFormat,t),t.regex=r(t.inputFormat,void 0,t),null},placeholder:"",inputFormat:"isoDateTime",displayFormat:void 0,outputFormat:void 0,min:null,max:null,i18n:{dayNames:["Mon","Tue","Wed","Thu","Fri","Sat","Sun","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],ordinalSuffix:["st","nd","rd","th"]},postValidation:function(t,e,o){var n,a,r,i,u,p=e,y=s(t.join(""),o.inputFormat,o);return p&&y.date.getTime()==y.date.getTime()&&(i=y,u=p,p=(p=(!isFinite(i.day)||"29"==i.day&&!isFinite(i.rawyear)||new Date(i.date.getFullYear(),isFinite(i.month)?i.month:i.date.getMonth()+1,0).getDate()>=i.day)&&u)&&(n=y,r=!0,(a=o).min&&a.min.date.getTime()==a.min.date.getTime()&&(r=a.min.date.getTime()<=n.date.getTime()),r&&a.max&&a.max.date.getTime()==a.max.date.getTime()&&(r=a.max.date.getTime()>=n.date.getTime()),r)),p},onKeyDown:function(o,n,r,s){if(o.ctrlKey&&o.keyCode===e.keyCode.RIGHT){for(var u,p=new Date,y="";u=a(s).exec(s.inputFormat);)"d"===u[0].charAt(0)?y+=i(p.getDate(),u[0].length):"m"===u[0].charAt(0)?y+=i(p.getMonth()+1,u[0].length):"yyyy"===u[0]?y+=p.getFullYear().toString():"y"===u[0].charAt(0)&&(y+=i(p.getYear(),u[0].length));this.inputmask._valueSet(y),t(this).trigger("setvalue")}},onUnMask:function(t,e,o){return r(o.outputFormat,s(t,o.inputFormat,o),o)},casing:function(t,e,o,n){return 0==e.nativeDef.indexOf("[ap]")?t.toLowerCase():0==e.nativeDef.indexOf("[AP]")?t.toUpperCase():t},insertMode:!1}}),e}); |
@@ -6,5 +6,5 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.32 | ||
* Version: 4.0.0-beta.33 | ||
*/ | ||
!function(e){"function"==typeof define&&define.amd?define(["./dependencyLibs/inputmask.dependencyLib","./inputmask"],e):"object"==typeof exports?module.exports=e(require("./dependencyLibs/inputmask.dependencyLib"),require("./inputmask")):e(window.dependencyLib||jQuery,window.Inputmask)}(function(e,i){return i.extendDefinitions({A:{validator:"[A-Za-zА-яЁёÀ-ÿµ]",casing:"upper"},"&":{validator:"[0-9A-Za-zА-яЁёÀ-ÿµ]",casing:"upper"},"#":{validator:"[0-9A-Fa-f]",casing:"upper"}}),i.extendAliases({url:{definitions:{i:{validator:"."}},mask:"(\\http://)|(\\http\\s://)|(ftp://)|(ftp\\s://)i{+}",insertMode:!1,autoUnmask:!1,inputmode:"url"},ip:{mask:"i[i[i]].i[i[i]].i[i[i]].i[i[i]]",definitions:{i:{validator:function(e,i,n,t,a){return n-1>-1&&"."!==i.buffer[n-1]?(e=i.buffer[n-1]+e,e=n-2>-1&&"."!==i.buffer[n-2]?i.buffer[n-2]+e:"0"+e):e="00"+e,new RegExp("25[0-5]|2[0-4][0-9]|[01][0-9][0-9]").test(e)}}},onUnMask:function(e,i,n){return e},inputmode:"numeric"},email:{mask:"*{1,64}[.*{1,64}][.*{1,64}][.*{1,63}]@-{1,63}.-{1,63}[.-{1,63}][.-{1,63}]",greedy:!1,casing:"lower",onBeforePaste:function(e,i){return(e=e.toLowerCase()).replace("mailto:","")},definitions:{"*":{validator:"[0-91-9A-Za-zА-яЁёÀ-ÿµ!#$%&'*+/=?^_`{|}~-]"},"-":{validator:"[0-9A-Za-z-]"}},onUnMask:function(e,i,n){return e},inputmode:"email"},mac:{mask:"##:##:##:##:##:##"},vin:{mask:"V{13}9{4}",definitions:{V:{validator:"[A-HJ-NPR-Za-hj-npr-z\\d]",casing:"upper"}},clearIncomplete:!0,autoUnmask:!0}}),i}); |
@@ -6,5 +6,5 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.32 | ||
* Version: 4.0.0-beta.33 | ||
*/ | ||
!function(e){"function"==typeof define&&define.amd?define(["./dependencyLibs/inputmask.dependencyLib","./global/window","./global/document"],e):"object"==typeof exports?module.exports=e(require("./dependencyLibs/inputmask.dependencyLib"),require("./global/window"),require("./global/document")):window.Inputmask=e(window.dependencyLib||jQuery,window,document)}(function(e,t,n,i){var a=navigator.userAgent,r=f("touchstart"),o=/iemobile/i.test(a),s=/iphone/i.test(a)&&!o;function l(t,n,a){if(!(this instanceof l))return new l(t,n,a);this.el=i,this.events={},this.maskset=i,this.refreshValue=!1,!0!==a&&(e.isPlainObject(t)?n=t:(n=n||{},t&&(n.alias=t)),this.opts=e.extend(!0,{},this.defaults,n),this.noMasksCache=n&&n.definitions!==i,this.userOptions=n||{},this.isRTL=this.opts.numericInput,c(this.opts.alias,n,this.opts))}function c(t,n,a){var r=l.prototype.aliases[t];return r?(r.alias&&c(r.alias,i,a),e.extend(!0,a,r),e.extend(!0,a,n),!0):(null===a.mask&&(a.mask=t),!1)}function u(t,n){function a(t,a,r){var o=!1;if(null!==t&&""!==t||((o=null!==r.regex)?t=(t=r.regex).replace(/^(\^)(.*)(\$)$/,"$2"):(o=!0,t=".*")),1===t.length&&!1===r.greedy&&0!==r.repeat&&(r.placeholder=""),r.repeat>0||"*"===r.repeat||"+"===r.repeat){var s="*"===r.repeat?0:"+"===r.repeat?1:r.repeat;t=r.groupmarker[0]+t+r.groupmarker[1]+r.quantifiermarker[0]+s+","+r.repeat+r.quantifiermarker[1]}var c,u=o?"regex_"+r.regex:r.numericInput?t.split("").reverse().join(""):t;return l.prototype.masksCache[u]===i||!0===n?(c={mask:t,maskToken:l.prototype.analyseMask(t,o,r),validPositions:{},_buffer:i,buffer:i,tests:{},excludes:{},metadata:a,maskLength:i},!0!==n&&(l.prototype.masksCache[u]=c,c=e.extend(!0,{},l.prototype.masksCache[u]))):c=e.extend(!0,{},l.prototype.masksCache[u]),c}if(e.isFunction(t.mask)&&(t.mask=t.mask(t)),e.isArray(t.mask)){if(t.mask.length>1){if(null===t.keepStatic){t.keepStatic="auto";for(var r=0;r<t.mask.length;r++)if(t.mask[r].charAt(0)!==t.mask[0].charAt(0)){t.keepStatic=!0;break}}var o=t.groupmarker[0];return e.each(t.isRTL?t.mask.reverse():t.mask,function(n,a){o.length>1&&(o+=t.groupmarker[1]+t.alternatormarker+t.groupmarker[0]),a.mask===i||e.isFunction(a.mask)?o+=a:o+=a.mask}),a(o+=t.groupmarker[1],t.mask,t)}t.mask=t.mask.pop()}return t.mask&&t.mask.mask!==i&&!e.isFunction(t.mask.mask)?a(t.mask.mask,t.mask,t):a(t.mask,t.mask,t)}function f(e){var t=n.createElement("input"),i="on"+e,a=i in t;return a||(t.setAttribute(i,"return;"),a="function"==typeof t[i]),t=null,a}function p(a,c,u){c=c||this.maskset,u=u||this.opts;var h,m,d,v,k=this,g=this.el,b=this.isRTL,y=!1,P=!1,C=!1,E=!1,x=!1;function _(e,t,n){t=t||0;var a,r,o,s=[],l=0,c=O();do{if(!0===e&&A().validPositions[l])r=(o=A().validPositions[l]).match,a=o.locator.slice(),s.push(!0===n?o.input:!1===n?r.nativeDef:$(l,r));else{r=(o=D(l,a,l-1)).match,a=o.locator.slice();var f=!1!==u.jitMasking?u.jitMasking:r.jit;(!1===f||f===i||l<c||"number"==typeof f&&isFinite(f)&&f>l)&&s.push(!1===n?r.nativeDef:$(l,r))}"auto"===u.keepStatic&&r.newBlockMarker&&null!==r.fn&&(u.keepStatic=l-1),l++}while((d===i||l<d)&&(null!==r.fn||""!==r.def)||t>l);return""===s[s.length-1]&&s.pop(),!1===n&&A().maskLength!==i||(A().maskLength=l-1),s}function A(){return c}function w(e){var t=A();t.buffer=i,!0!==e&&(t.validPositions={},t.p=0)}function O(e,t,n){var a=-1,r=-1,o=n||A().validPositions;for(var s in e===i&&(e=-1),o){var l=parseInt(s);o[l]&&(t||!0!==o[l].generatedInput)&&(l<=e&&(a=l),l>=e&&(r=l))}return-1===a||a==e?r:-1==r?a:e-a<r-e?a:r}function S(e,t,n){for(var a,r=G(e=e>0?e-1:0,t),o=r.alternation!==i?r.locator[r.alternation].toString().split(","):[],s=0;s<t.length&&(!((a=t[s]).match&&(u.greedy&&!0!==a.match.optionalQuantifier||(!1===a.match.optionality||!1===a.match.newBlockMarker)&&!0!==a.match.optionalQuantifier)&&(r.alternation===i||r.alternation!==a.alternation||a.locator[r.alternation]!==i&&N(a.locator[r.alternation].toString().split(","),o)))||!0===n&&(null!==a.match.fn||/[0-9a-bA-Z]/.test(a.match.def)));s++);return a}function M(e){var t=e.locator[e.alternation];return"string"==typeof t&&t.length>0&&(t=t.split(",")[0]),t!==i?t.toString():""}function j(e,t){for(var n=(e.alternation!=i?e.mloc[M(e)]:e.locator).join("");n.length<t;)n+="0";return n}function D(e,t,n){return A().validPositions[e]||S(e,B(e,t?t.slice():t,n))}function G(e,t){return A().validPositions[e]?A().validPositions[e]:(t||B(e))[0]}function T(e,t){for(var n=!1,i=B(e),a=0;a<i.length;a++)if(i[a].match&&i[a].match.def===t){n=!0;break}return n}function B(t,n,a){var r,o,s,l,c=A().maskToken,f=n?a:0,p=n?n.slice():[0],h=[],m=!1,d=n?n.join(""):"";function v(n,a,o,s){function l(o,s,c){function p(t,n){var i=0===e.inArray(t,n.matches);return i||e.each(n.matches,function(e,a){if(!0===a.isQuantifier?i=p(t,n.matches[e-1]):!0===a.isOptional?i=p(t,a):!0===a.isAlternate&&(i=p(t,a)),i)return!1}),i}function k(t,n,a){var r,o;if((A().tests[t]||A().validPositions[t])&&e.each(A().tests[t]||[A().validPositions[t]],function(e,t){if(t.mloc[n])return r=t,!1;var s=a!==i?a:t.alternation,l=t.locator[s]!==i?t.locator[s].toString().indexOf(n):-1;(o===i||l<o)&&-1!==l&&(r=t,o=l)}),r){var s=r.locator[r.alternation];return(r.mloc[n]||r.mloc[s]||r.locator).slice((a!==i?a:r.alternation)+1)}return a!==i?k(t,n):i}function g(e,t){function n(e){for(var t,n,i=[],a=0,r=e.length;a<r;a++)if("-"===e.charAt(a))for(n=e.charCodeAt(a+1);++t<n;)i.push(String.fromCharCode(t));else t=e.charCodeAt(a),i.push(e.charAt(a));return i.join("")}return u.regex&&null!==e.match.fn&&null!==t.match.fn?-1!==n(t.match.def.replace(/[\[\]]/g,"")).indexOf(n(e.match.def.replace(/[\[\]]/g,""))):e.match.def===t.match.nativeDef}function b(e,t){if(t===i||e.alternation===t.alternation&&-1===e.locator[e.alternation].toString().indexOf(t.locator[t.alternation])){e.mloc=e.mloc||{};var n=e.locator[e.alternation];if(n!==i){if("string"==typeof n&&(n=n.split(",")[0]),e.mloc[n]===i&&(e.mloc[n]=e.locator.slice()),t!==i){for(var a in t.mloc)"string"==typeof a&&(a=a.split(",")[0]),e.mloc[a]===i&&(e.mloc[a]=t.mloc[a]);e.locator[e.alternation]=Object.keys(e.mloc).join(",")}return!0}e.alternation=i}return!1}if(f>5e3)throw"Inputmask: There is probably an error in your mask definition or in the code. Create an issue on github with an example of the mask you are using. "+A().mask;if(f===t&&o.matches===i)return h.push({match:o,locator:s.reverse(),cd:d,mloc:{}}),!0;if(o.matches!==i){if(o.isGroup&&c!==o){if(o=l(n.matches[e.inArray(o,n.matches)+1],s))return!0}else if(o.isOptional){var y=o;if(o=v(o,a,s,c)){if(r=h[h.length-1].match,c!==i||!p(r,y))return!0;m=!0,f=t}}else if(o.isAlternator){var P,C=o,E=[],x=h.slice(),_=s.length,w=a.length>0?a.shift():-1;if(-1===w||"string"==typeof w){var O,S=f,M=a.slice(),j=[];if("string"==typeof w)j=w.split(",");else for(O=0;O<C.matches.length;O++)j.push(O.toString());if(A().excludes[t]){for(var D=j.slice(),G=0,T=A().excludes[t].length;G<T;G++)j.splice(j.indexOf(A().excludes[t][G].toString()),1);0===j.length&&(A().excludes[t]=i,j=D)}(!0===u.keepStatic||isFinite(parseInt(u.keepStatic))&&S>=u.keepStatic)&&(j=j.slice(0,1));for(var B=0;B<j.length;B++){O=parseInt(j[B]),h=[],a=k(f,O,_)||M.slice(),C.matches[O]&&l(C.matches[O],[O].concat(s),c)&&(o=!0),P=h.slice(),f=S,h=[];for(var L=0;L<P.length;L++){var I=P[L],F=!1;I.alternation=I.alternation||_,b(I);for(var N=0;N<E.length;N++){var R=E[N];if("string"!=typeof w||I.alternation!==i&&-1!==e.inArray(I.locator[I.alternation].toString(),j)){if(I.match.nativeDef===R.match.nativeDef){F=!0,b(R,I);break}if(g(I,R)){b(I,R)&&(F=!0,E.splice(E.indexOf(R),0,I));break}if(g(R,I)){b(R,I);break}if(Q=R,null===(q=I).match.fn&&null!==Q.match.fn&&Q.match.fn.test(q.match.def,A(),t,!1,u,!1)){b(I,R)&&(F=!0,E.splice(E.indexOf(R),0,I));break}}}F||E.push(I)}}h=x.concat(E),f=t,m=h.length>0,o=E.length>0,a=M.slice()}else o=l(C.matches[w]||n.matches[w],[w].concat(s),c);if(o)return!0}else if(o.isQuantifier&&c!==n.matches[e.inArray(o,n.matches)-1])for(var K=o,V=a.length>0?a.shift():0;V<(isNaN(K.quantifier.max)?V+1:K.quantifier.max)&&f<=t;V++){var H=n.matches[e.inArray(K,n.matches)-1];if(o=l(H,[V].concat(s),H)){if((r=h[h.length-1].match).optionalQuantifier=V>K.quantifier.min-1,r.jit=V+H.matches.indexOf(r)>=K.quantifier.jit,p(r,H)&&V>K.quantifier.min-1){m=!0,f=t;break}if(K.quantifier.jit!==i&&isNaN(K.quantifier.max)&&r.optionalQuantifier&&A().validPositions[t-1]===i){h.pop(),m=!0,f=t,d=i;break}return!0}}else if(o=v(o,a,s,c))return!0}else f++;var q,Q}for(var c=a.length>0?a.shift():0;c<n.matches.length;c++)if(!0!==n.matches[c].isQuantifier){var p=l(n.matches[c],[c].concat(o),s);if(p&&f===t)return p;if(f>t)break}}if(t>-1){if(n===i){for(var k,g=t-1;(k=A().validPositions[g]||A().tests[g])===i&&g>-1;)g--;k!==i&&g>-1&&(o=g,s=k,l=[],e.isArray(s)||(s=[s]),s.length>0&&(s[0].alternation===i?0===(l=S(o,s.slice()).locator.slice()).length&&(l=s[0].locator.slice()):e.each(s,function(e,t){if(""!==t.def)if(0===l.length)l=t.locator.slice();else for(var n=0;n<l.length;n++)t.locator[n]&&-1===l[n].toString().indexOf(t.locator[n])&&(l[n]+=","+t.locator[n])})),d=(p=l).join(""),f=g)}if(A().tests[t]&&A().tests[t][0].cd===d)return A().tests[t];for(var b=p.shift();b<c.length;b++){if(v(c[b],p,[b])&&f===t||f>t)break}}return(0===h.length||m)&&h.push({match:{fn:null,optionality:!0,casing:null,def:"",placeholder:""},locator:[],mloc:{},cd:d}),n!==i&&A().tests[t]?e.extend(!0,[],h):(A().tests[t]=e.extend(!0,[],h),A().tests[t])}function L(){return A()._buffer===i&&(A()._buffer=_(!1,1),A().buffer===i&&(A().buffer=A()._buffer.slice())),A()._buffer}function I(e){return A().buffer!==i&&!0!==e||(A().buffer=_(!0,O(),!0)),A().buffer}function F(e,t,n){var a,r;if(!0===e)w(),e=0,t=n.length;else for(a=e;a<t;a++)delete A().validPositions[a];for(r=e,a=e;a<t;a++)if(w(!0),n[a]!==u.skipOptionalPartCharacter){var o=K(r,n[a],!0,!0);!1!==o&&(w(!0),r=o.caret!==i?o.caret:o.pos+1)}}function N(t,n,a){for(var r,o=u.greedy?n:n.slice(0,1),s=!1,l=a!==i?a.split(","):[],c=0;c<l.length;c++)-1!==(r=t.indexOf(l[c]))&&t.splice(r,1);for(var f=0;f<t.length;f++)if(-1!==e.inArray(t[f],o)){s=!0;break}return s}function R(t,n,a,r,o){var s,l,c,f,p,h,m,d=e.extend(!0,{},A().validPositions),v=!1,k=o!==i?o:O();if(-1===k&&o===i)l=(f=G(s=0)).alternation;else for(;k>=0;k--)if((c=A().validPositions[k])&&c.alternation!==i){if(f&&f.locator[c.alternation]!==c.locator[c.alternation])break;s=k,l=A().validPositions[s].alternation,f=c}if(l!==i){m=parseInt(s),A().excludes[m]=A().excludes[m]||[],!0!==t&&A().excludes[m].push(M(f));var g=[],b=0;for(p=m;p<O(i,!0)+1;p++)(h=A().validPositions[p])&&!0!==h.generatedInput&&/[0-9a-bA-Z]/.test(h.input)?g.push(h.input):p<t&&b++,delete A().validPositions[p];for(;A().excludes[m]&&A().excludes[m].length<10;){var y=-1*b,P=g.slice();for(A().tests[m]=i,w(!0),v=!0;P.length>0;){var C=P.shift();if(C!==u.skipOptionalPartCharacter&&!(v=K(O(i,!0)+1,C,!1,r,!0)))break}if(v&&n!==i){var E=O(t)+1;for(p=m;p<O()+1;p++)((h=A().validPositions[p])===i||null==h.match.fn)&&p<t+y&&y++;v=K((t+=y)>E?E:t,n,a,r,!0)}if(v)break;if(w(),f=G(m),A().validPositions=e.extend(!0,{},d),!A().excludes[m]){v=R(t,n,a,r,m-1);break}var x=M(f);if(-1!==A().excludes[m].indexOf(x)){v=R(t,n,a,r,m-1);break}for(A().excludes[m].push(x),p=m;p<O(i,!0)+1;p++)delete A().validPositions[p]}}return A().excludes[m]=i,v}function K(t,n,a,r,o,s){function c(e){return b?e.begin-e.end>1||e.begin-e.end==1:e.end-e.begin>1||e.end-e.begin==1}a=!0===a;var f=t;function p(n,a,o){var s=!1;return e.each(B(n),function(f,p){var h=p.match;if(I(!0),!1!==(s=null!=h.fn?h.fn.test(a,A(),n,o,u,c(t)):(a===h.def||a===u.skipOptionalPartCharacter)&&""!==h.def&&{c:$(n,h,!0)||h.def,pos:n})){var m=s.c!==i?s.c:a,d=n;return m=m===u.skipOptionalPartCharacter&&null===h.fn?$(n,h,!0)||h.def:m,s.remove!==i&&(e.isArray(s.remove)||(s.remove=[s.remove]),e.each(s.remove.sort(function(e,t){return t-e}),function(e,t){H({begin:t,end:t+1})})),s.insert!==i&&(e.isArray(s.insert)||(s.insert=[s.insert]),e.each(s.insert.sort(function(e,t){return e-t}),function(e,t){K(t.pos,t.c,!0,r)})),!0!==s&&s.pos!==i&&s.pos!==n&&(d=s.pos),!0!==s&&s.pos===i&&s.c===i?!1:(f>0&&w(!0),H(t,e.extend({},p,{input:function(t,n,i){switch(u.casing||n.casing){case"upper":t=t.toUpperCase();break;case"lower":t=t.toLowerCase();break;case"title":var a=A().validPositions[i-1];t=0===i||a&&a.input===String.fromCharCode(l.keyCode.SPACE)?t.toUpperCase():t.toLowerCase();break;default:if(e.isFunction(u.casing)){var r=Array.prototype.slice.call(arguments);r.push(A().validPositions),t=u.casing.apply(this,r)}}return t}(m,h,d)}),r,d)||(s=!1),!1)}}),s}t.begin!==i&&(f=b?t.end:t.begin);var h=!0,m=e.extend(!0,{},A().validPositions);if(e.isFunction(u.preValidation)&&!a&&!0!==r&&!0!==s&&(h=u.preValidation(I(),f,n,c(t),u,A())),!0===h){if(V(i,f,!0),(d===i||f<d)&&(h=p(f,n,a),(!a||!0===r)&&!1===h&&!0!==s)){var v=A().validPositions[f];if(!v||null!==v.match.fn||v.match.def!==n&&n!==u.skipOptionalPartCharacter){if((u.insertMode||A().validPositions[Q(f)]===i)&&!q(f,!0))for(var k=f+1,g=Q(f);k<=g;k++)if(!1!==(h=p(k,n,a))){h=V(f,h.pos!==i?h.pos:k)||h,f=k;break}}else h={caret:Q(f)}}!1!==h||null===u.keepStatic||!1===u.keepStatic||a||!0===o||(h=R(f,n,a,r)),!0===h&&(h={pos:f})}if(e.isFunction(u.postValidation)&&!1!==h&&!a&&!0!==r&&!0!==s){var y=u.postValidation(I(!0),h,u);if(y!==i){if(y.refreshFromBuffer&&y.buffer){var P=y.refreshFromBuffer;F(!0===P?P:P.start,P.end,y.buffer)}h=!0===y?h:y}}return h&&h.pos===i&&(h.pos=f),!1!==h&&!0!==s||(w(!0),A().validPositions=e.extend(!0,{},m)),h}function V(t,n,a){var r;if(t===i)for(t=n-1;t>0&&!A().validPositions[t];t--);for(var o=t;o<n;o++)if(A().validPositions[o]===i&&!q(o,!0)){var s=0==o?G(o):A().validPositions[o-1];if(s){var l,c=j(s),u=B(o).slice(),f=i,p=G(o);if(""===u[u.length-1].match.def&&u.pop(),e.each(u,function(e,t){l=j(t,c.length);var n=Math.abs(l-c);(f===i||n<f)&&null===t.match.fn&&!0!==t.match.optionality&&!0!==t.match.optionalQuantifier&&(f=n,p=t)}),(p=e.extend({},p,{input:$(o,p.match,!0)||p.match.def})).generatedInput=!0,H(o,p,!0),!0!==a){var h=A().validPositions[n].input;A().validPositions[n]=i,r=K(n,h,!0,!0)}}}return r}function H(t,n,a,r){function o(e,t,n){var a=t[e];if(a!==i&&(null===a.match.fn&&!0!==a.match.optionality||a.input===u.radixPoint)){var r=n.begin<=e-1?t[e-1]&&null===t[e-1].match.fn&&t[e-1]:t[e-1],o=n.end>e+1?t[e+1]&&null===t[e+1].match.fn&&t[e+1]:t[e+1];return r&&o}return!1}var s=t.begin!==i?t.begin:t,l=t.end!==i?t.end:t;if(t.begin>t.end&&(s=t.end,l=t.begin),r=r!==i?r:s,s!==l||u.insertMode&&A().validPositions[r]!==i&&a===i){var c=e.extend(!0,{},A().validPositions),f=O(i,!0);for(A().p=s,v=f;v>=s;v--)A().validPositions[v]&&"+"===A().validPositions[v].match.nativeDef&&(u.isNegative=!1),delete A().validPositions[v];var p=!0,h=r,m=(A().validPositions,!1),d=h,v=h;for(n&&(A().validPositions[r]=e.extend(!0,{},n),d++,h++,s<l&&v++);v<=f;v++){var k=c[v];if(k!==i&&(v>=l||v>=s&&!0!==k.generatedInput&&o(v,c,{begin:s,end:l}))){for(;""!==G(d).match.def;){if(!1===m&&c[d]&&c[d].match.nativeDef===k.match.nativeDef)A().validPositions[d]=e.extend(!0,{},c[d]),A().validPositions[d].input=k.input,V(i,d,!0),h=d+1,p=!0;else if(T(d,k.match.def)){var g=K(d,k.input,!0,!0);p=!1!==g,h=g.caret||g.insert?O():d+1,m=!0}else if(!(p=!0===k.generatedInput||k.input===u.radixPoint&&!0===u.numericInput)&&""===G(d).match.def)break;if(p)break;d++}""==G(d).match.def&&(p=!1),d=h}if(!p)break}if(!p)return A().validPositions=e.extend(!0,{},c),w(!0),!1}else n&&(A().validPositions[r]=e.extend(!0,{},n));return w(!0),!0}function q(e,t){var n=D(e).match;if(""===n.def&&(n=G(e).match),null!=n.fn)return n.fn;if(!0!==t&&e>-1){var i=B(e);return i.length>1+(""===i[i.length-1].match.def?1:0)}return!1}function Q(e,t){for(var n=e+1;""!==G(n).match.def&&(!0===t&&(!0!==G(n).match.newBlockMarker||!q(n))||!0!==t&&!q(n));)n++;return n}function U(e,t){var n,i=e;if(i<=0)return 0;for(;--i>0&&(!0===t&&!0!==G(i).match.newBlockMarker||!0!==t&&!q(i)&&((n=B(i)).length<2||2===n.length&&""===n[1].match.def)););return i}function W(t,n,a,r,o){if(r&&e.isFunction(u.onBeforeWrite)){var s=u.onBeforeWrite.call(k,r,n,a,u);if(s){if(s.refreshFromBuffer){var l=s.refreshFromBuffer;F(!0===l?l:l.start,l.end,s.buffer||n),n=I(!0)}a!==i&&(a=s.caret!==i?s.caret:a)}}t!==i&&(t.inputmask._valueSet(n.join("")),a===i||r!==i&&"blur"===r.type?se(t,a,0===n.length):te(t,a),!0===o&&(P=!0,e(t).trigger("input")))}function $(t,n,a){if((n=n||G(t).match).placeholder!==i||!0===a)return e.isFunction(n.placeholder)?n.placeholder(u):n.placeholder;if(null===n.fn){if(t>-1&&A().validPositions[t]===i){var r,o=B(t),s=[];if(o.length>1+(""===o[o.length-1].match.def?1:0))for(var l=0;l<o.length;l++)if(!0!==o[l].match.optionality&&!0!==o[l].match.optionalQuantifier&&(null===o[l].match.fn||r===i||!1!==o[l].match.fn.test(r.match.def,A(),t,!0,u))&&(s.push(o[l]),null===o[l].match.fn&&(r=o[l]),s.length>1&&/[0-9a-bA-Z]/.test(s[0].match.def)))return u.placeholder.charAt(t%u.placeholder.length)}return n.def}return u.placeholder.charAt(t%u.placeholder.length)}var Z,z={on:function(t,n,a){var c=function(t){var n=this;if(n.inputmask===i&&"FORM"!==this.nodeName){var c=e.data(n,"_inputmask_opts");c?new l(c).mask(n):z.off(n)}else{if("setvalue"===t.type||"FORM"===this.nodeName||!(n.disabled||n.readOnly&&!("keydown"===t.type&&t.ctrlKey&&67===t.keyCode||!1===u.tabThrough&&t.keyCode===l.keyCode.TAB))){switch(t.type){case"input":if(!0===P)return P=!1,t.preventDefault();r&&(x=!0);break;case"keydown":y=!1,P=!1;break;case"keypress":if(!0===y)return t.preventDefault();y=!0;break;case"click":if(o||s){var f=arguments;return setTimeout(function(){a.apply(n,f)},0),!1}}var p=a.apply(n,arguments);return x&&(x=!1,setTimeout(function(){te(n,n.inputmask.caretPos,i,!0)})),!1===p&&(t.preventDefault(),t.stopPropagation()),p}t.preventDefault()}};t.inputmask.events[n]=t.inputmask.events[n]||[],t.inputmask.events[n].push(c),-1!==e.inArray(n,["submit","reset"])?null!==t.form&&e(t.form).on(n,c):e(t).on(n,c)},off:function(t,n){var i;t.inputmask&&t.inputmask.events&&(n?(i=[])[n]=t.inputmask.events[n]:i=t.inputmask.events,e.each(i,function(n,i){for(;i.length>0;){var a=i.pop();-1!==e.inArray(n,["submit","reset"])?null!==t.form&&e(t.form).off(n,a):e(t).off(n,a)}delete t.inputmask.events[n]}))}},X={keydownEvent:function(t){var n=this,i=e(n),a=t.keyCode,r=te(n);if(a===l.keyCode.BACKSPACE||a===l.keyCode.DELETE||s&&a===l.keyCode.BACKSPACE_SAFARI||t.ctrlKey&&a===l.keyCode.X&&!f("cut"))t.preventDefault(),re(n,a,r),W(n,I(!0),A().p,t,n.inputmask._valueGet()!==I().join("")),n.inputmask._valueGet()===L().join("")?i.trigger("cleared"):!0===ae(I())&&i.trigger("complete");else if(a===l.keyCode.END||a===l.keyCode.PAGE_DOWN){t.preventDefault();var o=Q(O());u.insertMode||o!==A().maskLength||t.shiftKey||o--,te(n,t.shiftKey?r.begin:o,o,!0)}else a===l.keyCode.HOME&&!t.shiftKey||a===l.keyCode.PAGE_UP?(t.preventDefault(),te(n,0,t.shiftKey?r.begin:0,!0)):(u.undoOnEscape&&a===l.keyCode.ESCAPE||90===a&&t.ctrlKey)&&!0!==t.altKey?(J(n,!0,!1,h.split("")),i.trigger("click")):a!==l.keyCode.INSERT||t.shiftKey||t.ctrlKey?!0===u.tabThrough&&a===l.keyCode.TAB?(!0===t.shiftKey?(null===G(r.begin).match.fn&&(r.begin=Q(r.begin)),r.end=U(r.begin,!0),r.begin=U(r.end,!0)):(r.begin=Q(r.begin,!0),r.end=Q(r.begin,!0),r.end<A().maskLength&&r.end--),r.begin<A().maskLength&&(t.preventDefault(),te(n,r.begin,r.end))):t.shiftKey||!1===u.insertMode&&(a===l.keyCode.RIGHT?setTimeout(function(){var e=te(n);te(n,e.begin)},0):a===l.keyCode.LEFT&&setTimeout(function(){var e=te(n);te(n,b?e.begin+1:e.begin-1)},0)):(u.insertMode=!u.insertMode,te(n,u.insertMode||r.begin!==A().maskLength?r.begin:r.begin-1));u.onKeyDown.call(this,t,I(),te(n).begin,u),C=-1!==e.inArray(a,u.ignorables)},keypressEvent:function(t,n,a,r,o){var s=this,c=e(s),f=t.which||t.charCode||t.keyCode;if(!(!0===n||t.ctrlKey&&t.altKey)&&(t.ctrlKey||t.metaKey||C))return f===l.keyCode.ENTER&&h!==I().join("")&&(h=I().join(""),setTimeout(function(){c.trigger("change")},0)),!0;if(f){46===f&&!1===t.shiftKey&&""!==u.radixPoint&&(f=u.radixPoint.charCodeAt(0));var p,m=n?{begin:o,end:o}:te(s),d=String.fromCharCode(f),v=0;if(u._radixDance&&u.numericInput){var k=I().indexOf(u.radixPoint.charAt(0))+1;m.begin<=k&&(f===u.radixPoint.charCodeAt(0)&&(v=1),m.begin-=1,m.end-=1)}A().writeOutBuffer=!0;var g=K(m,d,r);if(!1!==g&&(w(!0),p=g.caret!==i?g.caret:Q(g.pos.begin?g.pos.begin:g.pos),A().p=p),p=(u.numericInput&&g.caret===i?U(p):p)+v,!1!==a&&(setTimeout(function(){u.onKeyValidation.call(s,f,g,u)},0),A().writeOutBuffer&&!1!==g)){var b=I();W(s,b,p,t,!0!==n),!0!==n&&setTimeout(function(){!0===ae(b)&&c.trigger("complete")},0)}if(t.preventDefault(),n)return!1!==g&&(g.forwardPosition=p),g}},pasteEvent:function(n){var i,a=this,r=n.originalEvent||n,o=e(a),s=a.inputmask._valueGet(!0),l=te(a);b&&(i=l.end,l.end=l.begin,l.begin=i);var c=s.substr(0,l.begin),f=s.substr(l.end,s.length);if(c===(b?L().reverse():L()).slice(0,l.begin).join("")&&(c=""),f===(b?L().reverse():L()).slice(l.end).join("")&&(f=""),b&&(i=c,c=f,f=i),t.clipboardData&&t.clipboardData.getData)s=c+t.clipboardData.getData("Text")+f;else{if(!r.clipboardData||!r.clipboardData.getData)return!0;s=c+r.clipboardData.getData("text/plain")+f}var p=s;if(e.isFunction(u.onBeforePaste)){if(!1===(p=u.onBeforePaste.call(k,s,u)))return n.preventDefault();p||(p=s)}return J(a,!1,!1,b?p.split("").reverse():p.toString().split("")),W(a,I(),Q(O()),n,h!==I().join("")),!0===ae(I())&&o.trigger("complete"),n.preventDefault()},inputFallBackEvent:function(t){var n,i,a=this,r=a.inputmask._valueGet();if(I().join("")!==r){var s=te(a);if(i=s,"."===(n=r).charAt(i.begin-1)&&""!==u.radixPoint&&((n=n.split(""))[i.begin-1]=u.radixPoint.charAt(0),n=n.join("")),r=function(e,t,n){if(o){var i=t.replace(I().join(""),"");if(1===i.length){var a=t.split("");a.splice(n.begin,0,i),t=a.join("")}}return t}(0,r=n,s),I().join("")!==r){var c=I().join(""),f=!u.numericInput&&r.length>c.length?-1:0,p=r.substr(0,s.begin),h=r.substr(s.begin),m=c.substr(0,s.begin+f),d=c.substr(s.begin+f),v=s,k="",g=!1;if(p!==m){for(var b=(g=p.length>=m.length)?p.length:m.length,y=0;p.charAt(y)===m.charAt(y)&&y<b;y++);g&&(0===f&&(v.begin=y),k+=p.slice(y,v.end))}if(h!==d&&(h.length>d.length?k+=h.slice(0,1):h.length<d.length&&(v.end+=d.length-h.length,g||""===u.radixPoint||""!==h||p.charAt(v.begin+f-1)!==u.radixPoint||(v.begin--,k=u.radixPoint))),W(a,I(),{begin:v.begin+f,end:v.end+f}),k.length>0)e.each(k.split(""),function(t,n){var i=new e.Event("keypress");i.which=n.charCodeAt(0),C=!1,X.keypressEvent.call(a,i)});else{v.begin===v.end-1&&(v.begin=U(v.begin+1),v.begin===v.end-1?te(a,v.begin):te(a,v.begin,v.end));var P=new e.Event("keydown");P.keyCode=u.numericInput?l.keyCode.BACKSPACE:l.keyCode.DELETE,X.keydownEvent.call(a,P),!1===u.insertMode&&te(a,te(a).begin-1)}t.preventDefault()}}},setValueEvent:function(t){this.inputmask.refreshValue=!1;var n=(n=t&&t.detail?t.detail[0]:arguments[1])||this.inputmask._valueGet(!0);e.isFunction(u.onBeforeMask)&&(n=u.onBeforeMask.call(k,n,u)||n),n=n.split(""),J(this,!0,!1,b?n.reverse():n),h=I().join(""),(u.clearMaskOnLostFocus||u.clearIncomplete)&&this.inputmask._valueGet()===L().join("")&&this.inputmask._valueSet("")},focusEvent:function(e){var t=this,n=t.inputmask._valueGet();u.showMaskOnFocus&&(!u.showMaskOnHover||u.showMaskOnHover&&""===n)&&(t.inputmask._valueGet()!==I().join("")?W(t,I(),Q(O())):!1===E&&te(t,Q(O()))),!0===u.positionCaretOnTab&&!1===E&&X.clickEvent.apply(t,[e,!0]),h=I().join("")},mouseleaveEvent:function(e){if(E=!1,u.clearMaskOnLostFocus&&n.activeElement!==this){var t=I().slice(),i=this.inputmask._valueGet();i!==this.getAttribute("placeholder")&&""!==i&&(-1===O()&&i===L().join("")?t=[]:ie(t),W(this,t))}},clickEvent:function(t,a){var r=this;setTimeout(function(){if(n.activeElement===r){var t=te(r);if(a&&(b?t.end=t.begin:t.begin=t.end),t.begin===t.end)switch(u.positionCaretOnClick){case"none":break;case"select":te(r,0,I().length);break;case"radixFocus":if(function(t){if(""!==u.radixPoint){var n=A().validPositions;if(n[t]===i||n[t].input===$(t)){if(t<Q(-1))return!0;var a=e.inArray(u.radixPoint,I());if(-1!==a){for(var r in n)if(a<r&&n[r].input!==$(r))return!1;return!0}}}return!1}(t.begin)){var o=I().join("").indexOf(u.radixPoint);te(r,u.numericInput?Q(o):o);break}default:var s=t.begin,l=O(s,!0),c=Q(l);if(s<c)te(r,q(s,!0)||q(s-1,!0)?s:Q(s));else{var f=A().validPositions[l],p=D(c,f?f.match.locator:i,f),h=$(c,p.match);if(""!==h&&I()[c]!==h&&!0!==p.match.optionalQuantifier&&!0!==p.match.newBlockMarker||!q(c,!0)&&p.match.def===h){var m=Q(c);(s>=m||s===c)&&(c=m)}te(r,c)}}}},0)},dblclickEvent:function(e){var t=this;setTimeout(function(){te(t,0,Q(O()))},0)},cutEvent:function(i){var a=this,r=e(a),o=te(a),s=i.originalEvent||i,c=t.clipboardData||s.clipboardData,u=b?I().slice(o.end,o.begin):I().slice(o.begin,o.end);c.setData("text",b?u.reverse().join(""):u.join("")),n.execCommand&&n.execCommand("copy"),re(a,l.keyCode.DELETE,o),W(a,I(),A().p,i,h!==I().join("")),a.inputmask._valueGet()===L().join("")&&r.trigger("cleared")},blurEvent:function(t){var n=e(this);if(this.inputmask){var a=this.inputmask._valueGet(),r=I().slice();""===a&&v===i||(u.clearMaskOnLostFocus&&(-1===O()&&a===L().join("")?r=[]:ie(r)),!1===ae(r)&&(setTimeout(function(){n.trigger("incomplete")},0),u.clearIncomplete&&(w(),r=u.clearMaskOnLostFocus?[]:L().slice())),W(this,r,i,t)),h!==I().join("")&&(h=r.join(""),n.trigger("change"))}},mouseenterEvent:function(e){E=!0,n.activeElement!==this&&u.showMaskOnHover&&this.inputmask._valueGet()!==I().join("")&&W(this,I())},submitEvent:function(e){h!==I().join("")&&m.trigger("change"),u.clearMaskOnLostFocus&&-1===O()&&g.inputmask._valueGet&&g.inputmask._valueGet()===L().join("")&&g.inputmask._valueSet(""),u.clearIncomplete&&!1===ae(I())&&g.inputmask._valueSet(""),u.removeMaskOnSubmit&&(g.inputmask._valueSet(g.inputmask.unmaskedvalue(),!0),setTimeout(function(){W(g,I())},0))},resetEvent:function(e){g.inputmask.refreshValue=!0,setTimeout(function(){m.trigger("setvalue")},0)}};function J(t,n,a,r,o){var s=r.slice(),c="",f=-1,p=i;if(w(),a||!0===u.autoUnmask)f=Q(f);else{var h=L().slice(0,Q(-1)).join(""),m=s.join("").match(new RegExp("^"+l.escapeRegex(h),"g"));m&&m.length>0&&(s.splice(0,m.length*h.length),f=Q(f))}-1===f?(A().p=Q(f),f=0):A().p=f,e.each(s,function(n,r){if(r!==i)if(A().validPositions[n]===i&&s[n]===$(n)&&q(n,!0)&&!1===K(n,s[n],!0,i,i,!0))A().p++;else{var o=new e.Event("_checkval");o.which=r.charCodeAt(0),c+=r;var l=O(i,!0),h=G(l),m=D(l+1,h?h.locator.slice():i,l);if(v=f,k=c,-1===_(!0,0,!1).slice(v,Q(v)).join("").indexOf(k)||q(v)||G(v).match.nativeDef!==k.charAt(0)&&(" "!==G(v).match.nativeDef||G(v+1).match.nativeDef!==k.charAt(0))||a||u.autoUnmask){var d=a?n:null==m.match.fn&&m.match.optionality&&l+1<A().p?l+1:A().p;(p=X.keypressEvent.call(t,o,!0,!1,a,d))&&(f=d+1,c="")}else p=X.keypressEvent.call(t,o,!0,!1,!0,l+1);W(i,I(),p.forwardPosition,o,!1)}var v,k}),n&&W(t,I(),p?p.forwardPosition:i,o||new e.Event("checkval"),o&&"input"===o.type)}function Y(t){if(t){if(t.inputmask===i)return t.value;t.inputmask&&t.inputmask.refreshValue&&X.setValueEvent.call(t)}var n=[],a=A().validPositions;for(var r in a)a[r].match&&null!=a[r].match.fn&&n.push(a[r].input);var o=0===n.length?"":(b?n.reverse():n).join("");if(e.isFunction(u.onUnMask)){var s=(b?I().slice().reverse():I()).join("");o=u.onUnMask.call(k,s,o,u)}return o}function ee(e){return!b||"number"!=typeof e||u.greedy&&""===u.placeholder||(e=g.inputmask._valueGet().length-e),e}function te(a,r,o,l){var c;if(r===i)return a.setSelectionRange?(r=a.selectionStart,o=a.selectionEnd):t.getSelection?(c=t.getSelection().getRangeAt(0)).commonAncestorContainer.parentNode!==a&&c.commonAncestorContainer!==a||(r=c.startOffset,o=c.endOffset):n.selection&&n.selection.createRange&&(o=(r=0-(c=n.selection.createRange()).duplicate().moveStart("character",-a.inputmask._valueGet().length))+c.text.length),{begin:l?r:ee(r),end:l?o:ee(o)};if(e.isArray(r)&&(o=b?r[0]:r[1],r=b?r[1]:r[0]),r.begin!==i&&(o=b?r.begin:r.end,r=b?r.end:r.begin),"number"==typeof r){r=l?r:ee(r),o="number"==typeof(o=l?o:ee(o))?o:r;var f=parseInt(((a.ownerDocument.defaultView||t).getComputedStyle?(a.ownerDocument.defaultView||t).getComputedStyle(a,null):a.currentStyle).fontSize)*o;if(a.scrollLeft=f>a.scrollWidth?f:0,s||!1!==u.insertMode||r!==o||o++,a.inputmask.caretPos={begin:r,end:o},a.setSelectionRange)a.selectionStart=r,a.selectionEnd=o;else if(t.getSelection){if(c=n.createRange(),a.firstChild===i||null===a.firstChild){var p=n.createTextNode("");a.appendChild(p)}c.setStart(a.firstChild,r<a.inputmask._valueGet().length?r:a.inputmask._valueGet().length),c.setEnd(a.firstChild,o<a.inputmask._valueGet().length?o:a.inputmask._valueGet().length),c.collapse(!0);var h=t.getSelection();h.removeAllRanges(),h.addRange(c)}else a.createTextRange&&((c=a.createTextRange()).collapse(!0),c.moveEnd("character",o),c.moveStart("character",r),c.select());se(a,{begin:r,end:o})}}function ne(t){var n,a,r=I(),o=r.length,s=O(),l={},c=A().validPositions[s],u=c!==i?c.locator.slice():i;for(n=s+1;n<r.length;n++)u=(a=D(n,u,n-1)).locator.slice(),l[n]=e.extend(!0,{},a);var f=c&&c.alternation!==i?c.locator[c.alternation]:i;for(n=o-1;n>s&&(((a=l[n]).match.optionality||a.match.optionalQuantifier&&a.match.newBlockMarker||f&&(f!==l[n].locator[c.alternation]&&null!=a.match.fn||null===a.match.fn&&a.locator[c.alternation]&&N(a.locator[c.alternation].toString().split(","),f.toString().split(","))&&""!==B(n)[0].def))&&r[n]===$(n,a.match));n--)o--;return t?{l:o,def:l[o]?l[o].match:i}:o}function ie(e){for(var t,n=ne(),a=e.length,r=A().validPositions[O()];n<a&&!q(n,!0)&&(t=r!==i?D(n,r.locator.slice(""),r):G(n))&&!0!==t.match.optionality&&(!0!==t.match.optionalQuantifier&&!0!==t.match.newBlockMarker||n+1===a&&""===(r!==i?D(n+1,r.locator.slice(""),r):G(n+1)).match.def);)n++;for(;(t=A().validPositions[n-1])&&t&&t.match.optionality&&t.input===u.skipOptionalPartCharacter;)n--;return e.splice(n),e}function ae(t){if(e.isFunction(u.isComplete))return u.isComplete(t,u);if("*"===u.repeat)return i;var n=!1,a=ne(!0),r=U(a.l);if(a.def===i||a.def.newBlockMarker||a.def.optionality||a.def.optionalQuantifier){n=!0;for(var o=0;o<=r;o++){var s=D(o).match;if(null!==s.fn&&A().validPositions[o]===i&&!0!==s.optionality&&!0!==s.optionalQuantifier||null===s.fn&&t[o]!==$(o,s)){n=!1;break}}}return n}function re(e,t,n,a,r){if((u.numericInput||b)&&(t===l.keyCode.BACKSPACE?t=l.keyCode.DELETE:t===l.keyCode.DELETE&&(t=l.keyCode.BACKSPACE),b)){var o=n.end;n.end=n.begin,n.begin=o}if(t===l.keyCode.BACKSPACE&&(n.end-n.begin<1||!1===u.insertMode)?(n.begin=U(n.begin),A().validPositions[n.begin]!==i&&A().validPositions[n.begin].input===u.groupSeparator&&n.begin--,!1===u.insertMode&&n.end!==A().maskLength&&n.end--):t===l.keyCode.DELETE&&n.begin===n.end&&(n.end=q(n.end,!0)&&A().validPositions[n.end]&&A().validPositions[n.end].input!==u.radixPoint?n.end+1:Q(n.end)+1,A().validPositions[n.begin]!==i&&A().validPositions[n.begin].input===u.groupSeparator&&n.end++),H(n),!0!==a&&null!==u.keepStatic&&!1!==u.keepStatic){var s=R(!0);s&&(n.begin=s.caret!==i?s.caret:s.pos?Q(s.pos.begin?s.pos.begin:s.pos):O(-1,!0))}var c=O(n.begin,!0);if(c<n.begin||-1===n.begin)A().p=Q(c);else if(!0!==a&&(A().p=n.begin,!0!==r))for(;A().p<c&&A().validPositions[A().p]===i;)A().p++}function oe(i){var a=(i.ownerDocument.defaultView||t).getComputedStyle(i,null);var r=n.createElement("div");r.style.width=a.width,r.style.textAlign=a.textAlign,v=n.createElement("div"),i.inputmask.colorMask=v,v.className="im-colormask",i.parentNode.insertBefore(v,i),i.parentNode.removeChild(i),v.appendChild(i),v.appendChild(r),i.style.left=r.offsetLeft+"px",e(v).on("mouseleave",function(e){return X.mouseleaveEvent.call(i,[e])}),e(v).on("mouseenter",function(e){return X.mouseenterEvent.call(i,[e])}),e(v).on("click",function(e){return te(i,function(e){var t,r=n.createElement("span");for(var o in a)isNaN(o)&&-1!==o.indexOf("font")&&(r.style[o]=a[o]);r.style.textTransform=a.textTransform,r.style.letterSpacing=a.letterSpacing,r.style.position="absolute",r.style.height="auto",r.style.width="auto",r.style.visibility="hidden",r.style.whiteSpace="nowrap",n.body.appendChild(r);var s,l=i.inputmask._valueGet(),c=0;for(t=0,s=l.length;t<=s;t++){if(r.innerHTML+=l.charAt(t)||"_",r.offsetWidth>=e){var u=e-c,f=r.offsetWidth-e;r.innerHTML=l.charAt(t),t=(u-=r.offsetWidth/3)<f?t-1:t;break}c=r.offsetWidth}return n.body.removeChild(r),t}(e.clientX)),X.clickEvent.call(i,[e])}),e(i).on("keydown",function(e){e.shiftKey||!1===u.insertMode||setTimeout(function(){se(i)},0)})}function se(e,t,a){var r,o,s,l=[],c=!1,f=0;function p(e){if(e===i&&(e=""),c||null!==r.fn&&o.input!==i)if(c&&(null!==r.fn&&o.input!==i||""===r.def)){c=!1;var t=l.length;l[t-1]=l[t-1]+"</span>",l.push(e)}else l.push(e);else c=!0,l.push("<span class='im-static'>"+e)}if(v!==i){var h=I();if(t===i?t=te(e):t.begin===i&&(t={begin:t,end:t}),!0!==a){var m=O();do{A().validPositions[f]?(o=A().validPositions[f],r=o.match,s=o.locator.slice(),p(h[f])):(o=D(f,s,f-1),r=o.match,s=o.locator.slice(),(!1===u.jitMasking||f<m||"number"==typeof u.jitMasking&&isFinite(u.jitMasking)&&u.jitMasking>f)&&p($(f,r))),f++}while((d===i||f<d)&&(null!==r.fn||""!==r.def)||m>f||c);c&&p(),n.activeElement===e&&(l.splice(t.begin,0,t.begin===t.end||t.end>A().maskLength?'<mark class="im-caret" style="border-right-width: 1px;border-right-style: solid;">':'<mark class="im-caret-select">'),l.splice(t.end+1,0,"</mark>"))}var k=v.getElementsByTagName("div")[0];k.innerHTML=l.join(""),e.inputmask.positionColorMask(e,k)}}if(l.prototype.positionColorMask=function(e,t){e.style.left=t.offsetLeft+"px"},a!==i)switch(a.action){case"isComplete":return g=a.el,ae(I());case"unmaskedvalue":return g!==i&&a.value===i||(Z=a.value,Z=(e.isFunction(u.onBeforeMask)&&u.onBeforeMask.call(k,Z,u)||Z).split(""),J(i,!1,!1,b?Z.reverse():Z),e.isFunction(u.onBeforeWrite)&&u.onBeforeWrite.call(k,i,I(),0,u)),Y(g);case"mask":!function(t){z.off(t);var a=function(t,a){var r=t.getAttribute("type"),o="INPUT"===t.tagName&&-1!==e.inArray(r,a.supportsInputType)||t.isContentEditable||"TEXTAREA"===t.tagName;if(!o)if("INPUT"===t.tagName){var s=n.createElement("input");s.setAttribute("type",r),o="text"===s.type,s=null}else o="partial";return!1!==o?function(t){var r,o,s;function l(){return this.inputmask?this.inputmask.opts.autoUnmask?this.inputmask.unmaskedvalue():-1!==O()||!0!==a.nullable?n.activeElement===this&&a.clearMaskOnLostFocus?(b?ie(I().slice()).reverse():ie(I().slice())).join(""):r.call(this):"":r.call(this)}function c(t){o.call(this,t),this.inputmask&&e(this).trigger("setvalue",[t])}if(!t.inputmask.__valueGet){if(!0!==a.noValuePatching){if(Object.getOwnPropertyDescriptor){"function"!=typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"==typeof"test".__proto__?function(e){return e.__proto__}:function(e){return e.constructor.prototype});var u=Object.getPrototypeOf?Object.getOwnPropertyDescriptor(Object.getPrototypeOf(t),"value"):i;u&&u.get&&u.set?(r=u.get,o=u.set,Object.defineProperty(t,"value",{get:l,set:c,configurable:!0})):"INPUT"!==t.tagName&&(r=function(){return this.textContent},o=function(e){this.textContent=e},Object.defineProperty(t,"value",{get:l,set:c,configurable:!0}))}else n.__lookupGetter__&&t.__lookupGetter__("value")&&(r=t.__lookupGetter__("value"),o=t.__lookupSetter__("value"),t.__defineGetter__("value",l),t.__defineSetter__("value",c));t.inputmask.__valueGet=r,t.inputmask.__valueSet=o}t.inputmask._valueGet=function(e){return b&&!0!==e?r.call(this.el).split("").reverse().join(""):r.call(this.el)},t.inputmask._valueSet=function(e,t){o.call(this.el,null===e||e===i?"":!0!==t&&b?e.split("").reverse().join(""):e)},r===i&&(r=function(){return this.value},o=function(e){this.value=e},function(t){if(e.valHooks&&(e.valHooks[t]===i||!0!==e.valHooks[t].inputmaskpatch)){var n=e.valHooks[t]&&e.valHooks[t].get?e.valHooks[t].get:function(e){return e.value},r=e.valHooks[t]&&e.valHooks[t].set?e.valHooks[t].set:function(e,t){return e.value=t,e};e.valHooks[t]={get:function(e){if(e.inputmask){if(e.inputmask.opts.autoUnmask)return e.inputmask.unmaskedvalue();var t=n(e);return-1!==O(i,i,e.inputmask.maskset.validPositions)||!0!==a.nullable?t:""}return n(e)},set:function(t,n){var i,a=e(t);return i=r(t,n),t.inputmask&&a.trigger("setvalue",[n]),i},inputmaskpatch:!0}}}(t.type),s=t,z.on(s,"mouseenter",function(t){var n=e(this);this.inputmask._valueGet()!==I().join("")&&n.trigger("setvalue")}))}}(t):t.inputmask=i,o}(t,u);if(!1!==a&&(m=e(g=t),-1===(d=g!==i?g.maxLength:i)&&(d=i),!0===u.colorMask&&oe(g),r&&("inputmode"in g&&(g.inputmode=u.inputmode,g.setAttribute("inputmode",u.inputmode)),!0===u.disablePredictiveText&&("autocorrect"in g?g.autocorrect=!1:(!0!==u.colorMask&&oe(g),g.type="password"))),!0===a&&(z.on(g,"submit",X.submitEvent),z.on(g,"reset",X.resetEvent),z.on(g,"blur",X.blurEvent),z.on(g,"focus",X.focusEvent),!0!==u.colorMask&&(z.on(g,"click",X.clickEvent),z.on(g,"mouseleave",X.mouseleaveEvent),z.on(g,"mouseenter",X.mouseenterEvent)),z.on(g,"dblclick",X.dblclickEvent),z.on(g,"paste",X.pasteEvent),z.on(g,"dragdrop",X.pasteEvent),z.on(g,"drop",X.pasteEvent),z.on(g,"cut",X.cutEvent),z.on(g,"complete",u.oncomplete),z.on(g,"incomplete",u.onincomplete),z.on(g,"cleared",u.oncleared),r||!0===u.inputEventOnly?g.removeAttribute("maxLength"):(z.on(g,"keydown",X.keydownEvent),z.on(g,"keypress",X.keypressEvent)),z.on(g,"compositionstart",e.noop),z.on(g,"compositionupdate",e.noop),z.on(g,"compositionend",e.noop),z.on(g,"keyup",e.noop),z.on(g,"input",X.inputFallBackEvent),z.on(g,"beforeinput",e.noop)),z.on(g,"setvalue",X.setValueEvent),h=L().join(""),""!==g.inputmask._valueGet(!0)||!1===u.clearMaskOnLostFocus||n.activeElement===g)){var o=e.isFunction(u.onBeforeMask)&&u.onBeforeMask.call(k,g.inputmask._valueGet(!0),u)||g.inputmask._valueGet(!0);""!==o&&J(g,!0,!1,b?o.split("").reverse():o.split(""));var s=I().slice();h=s.join(""),!1===ae(s)&&u.clearIncomplete&&w(),u.clearMaskOnLostFocus&&n.activeElement!==g&&(-1===O()?s=[]:ie(s)),W(g,s),n.activeElement===g&&te(g,Q(O()))}}(g);break;case"format":return Z=(e.isFunction(u.onBeforeMask)&&u.onBeforeMask.call(k,a.value,u)||a.value).split(""),J(i,!0,!1,b?Z.reverse():Z),a.metadata?{value:b?I().slice().reverse().join(""):I().join(""),metadata:p.call(this,{action:"getmetadata"},c,u)}:b?I().slice().reverse().join(""):I().join("");case"isValid":a.value?(Z=a.value.split(""),J(i,!0,!0,b?Z.reverse():Z)):a.value=I().join("");for(var le=I(),ce=ne(),ue=le.length-1;ue>ce&&!q(ue);ue--);return le.splice(ce,ue+1-ce),ae(le)&&a.value===I().join("");case"getemptymask":return L().join("");case"remove":if(g&&g.inputmask)e.data(g,"_inputmask_opts",null),m=e(g),g.inputmask._valueSet(u.autoUnmask?Y(g):g.inputmask._valueGet(!0)),z.off(g),g.inputmask.colorMask&&((v=g.inputmask.colorMask).removeChild(g),v.parentNode.insertBefore(g,v),v.parentNode.removeChild(v)),Object.getOwnPropertyDescriptor&&Object.getPrototypeOf?Object.getOwnPropertyDescriptor(Object.getPrototypeOf(g),"value")&&g.inputmask.__valueGet&&Object.defineProperty(g,"value",{get:g.inputmask.__valueGet,set:g.inputmask.__valueSet,configurable:!0}):n.__lookupGetter__&&g.__lookupGetter__("value")&&g.inputmask.__valueGet&&(g.__defineGetter__("value",g.inputmask.__valueGet),g.__defineSetter__("value",g.inputmask.__valueSet)),g.inputmask=i;return g;case"getmetadata":if(e.isArray(c.metadata)){var fe=_(!0,0,!1).join("");return e.each(c.metadata,function(e,t){if(t.mask===fe)return fe=t,!1}),fe}return c.metadata}}return l.prototype={dataAttribute:"data-inputmask",defaults:{placeholder:"_",optionalmarker:["[","]"],quantifiermarker:["{","}"],groupmarker:["(",")"],alternatormarker:"|",escapeChar:"\\",mask:null,regex:null,oncomplete:e.noop,onincomplete:e.noop,oncleared:e.noop,repeat:0,greedy:!0,autoUnmask:!1,removeMaskOnSubmit:!1,clearMaskOnLostFocus:!0,insertMode:!0,clearIncomplete:!1,alias:null,onKeyDown:e.noop,onBeforeMask:null,onBeforePaste:function(t,n){return e.isFunction(n.onBeforeMask)?n.onBeforeMask.call(this,t,n):t},onBeforeWrite:null,onUnMask:null,showMaskOnFocus:!0,showMaskOnHover:!0,onKeyValidation:e.noop,skipOptionalPartCharacter:" ",numericInput:!1,rightAlign:!1,undoOnEscape:!0,radixPoint:"",_radixDance:!1,groupSeparator:"",keepStatic:null,positionCaretOnTab:!0,tabThrough:!1,supportsInputType:["text","tel","password","search"],ignorables:[8,9,13,19,27,33,34,35,36,37,38,39,40,45,46,93,112,113,114,115,116,117,118,119,120,121,122,123,0,229],isComplete:null,preValidation:null,postValidation:null,staticDefinitionSymbol:i,jitMasking:!1,nullable:!0,inputEventOnly:!1,noValuePatching:!1,positionCaretOnClick:"lvp",casing:null,inputmode:"verbatim",colorMask:!1,disablePredictiveText:!1,importDataAttributes:!0},definitions:{9:{validator:"[0-91-9]",definitionSymbol:"*"},a:{validator:"[A-Za-zА-яЁёÀ-ÿµ]",definitionSymbol:"*"},"*":{validator:"[0-91-9A-Za-zА-яЁёÀ-ÿµ]"}},aliases:{},masksCache:{},mask:function(a){var r=this;return"string"==typeof a&&(a=n.getElementById(a)||n.querySelectorAll(a)),a=a.nodeName?[a]:a,e.each(a,function(n,a){var o=e.extend(!0,{},r.opts);if(function(n,a,r,o){if(!0===a.importDataAttributes){var s,l,u,f,p=n.getAttribute(o);function h(e,a){null!==(a=a!==i?a:n.getAttribute(o+"-"+e))&&("string"==typeof a&&(0===e.indexOf("on")?a=t[a]:"false"===a?a=!1:"true"===a&&(a=!0)),r[e]=a)}if(p&&""!==p&&(p=p.replace(/'/g,'"'),l=JSON.parse("{"+p+"}")),l)for(f in u=i,l)if("alias"===f.toLowerCase()){u=l[f];break}for(s in h("alias",u),r.alias&&c(r.alias,r,a),a){if(l)for(f in u=i,l)if(f.toLowerCase()===s.toLowerCase()){u=l[f];break}h(s,u)}}return e.extend(!0,a,r),("rtl"===n.dir||a.rightAlign)&&(n.style.textAlign="right"),("rtl"===n.dir||a.numericInput)&&(n.dir="ltr",n.removeAttribute("dir"),a.isRTL=!0),Object.keys(r).length}(a,o,e.extend(!0,{},r.userOptions),r.dataAttribute)){var s=u(o,r.noMasksCache);s!==i&&(a.inputmask!==i&&(a.inputmask.opts.autoUnmask=!0,a.inputmask.remove()),a.inputmask=new l(i,i,!0),a.inputmask.opts=o,a.inputmask.noMasksCache=r.noMasksCache,a.inputmask.userOptions=e.extend(!0,{},r.userOptions),a.inputmask.isRTL=o.isRTL||o.numericInput,a.inputmask.el=a,a.inputmask.maskset=s,e.data(a,"_inputmask_opts",o),p.call(a.inputmask,{action:"mask"}))}}),a&&a[0]&&a[0].inputmask||this},option:function(t,n){return"string"==typeof t?this.opts[t]:"object"==typeof t?(e.extend(this.userOptions,t),this.el&&!0!==n&&this.mask(this.el),this):void 0},unmaskedvalue:function(e){return this.maskset=this.maskset||u(this.opts,this.noMasksCache),p.call(this,{action:"unmaskedvalue",value:e})},remove:function(){return p.call(this,{action:"remove"})},getemptymask:function(){return this.maskset=this.maskset||u(this.opts,this.noMasksCache),p.call(this,{action:"getemptymask"})},hasMaskedValue:function(){return!this.opts.autoUnmask},isComplete:function(){return this.maskset=this.maskset||u(this.opts,this.noMasksCache),p.call(this,{action:"isComplete"})},getmetadata:function(){return this.maskset=this.maskset||u(this.opts,this.noMasksCache),p.call(this,{action:"getmetadata"})},isValid:function(e){return this.maskset=this.maskset||u(this.opts,this.noMasksCache),p.call(this,{action:"isValid",value:e})},format:function(e,t){return this.maskset=this.maskset||u(this.opts,this.noMasksCache),p.call(this,{action:"format",value:e,metadata:t})},setValue:function(t){this.el&&e(this.el).trigger("setvalue",[t])},analyseMask:function(t,n,a){var r,o,s,c,u,f,p=/(?:[?*+]|\{[0-9\+\*]+(?:,[0-9\+\*]*)?(?:\|[0-9\+\*]*)?\})|[^.?*+^${[]()|\\]+|./g,h=/\[\^?]?(?:[^\\\]]+|\\[\S\s]?)*]?|\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9][0-9]*|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}|c[A-Za-z]|[\S\s]?)|\((?:\?[:=!]?)?|(?:[?*+]|\{[0-9]+(?:,[0-9]*)?\})\??|[^.?*+^${[()|\\]+|./g,m=!1,d=new g,v=[],k=[];function g(e,t,n,i){this.matches=[],this.openGroup=e||!1,this.alternatorGroup=!1,this.isGroup=e||!1,this.isOptional=t||!1,this.isQuantifier=n||!1,this.isAlternator=i||!1,this.quantifier={min:1,max:1}}function b(t,r,o){o=o!==i?o:t.matches.length;var s=t.matches[o-1];if(n)0===r.indexOf("[")||m&&/\\d|\\s|\\w]/i.test(r)||"."===r?t.matches.splice(o++,0,{fn:new RegExp(r,a.casing?"i":""),optionality:t.isOptional,newBlockMarker:s===i||s.def!==r,casing:null,def:r,placeholder:i,nativeDef:r}):(m&&(r=r[r.length-1]),e.each(r.split(""),function(e,n){s=t.matches[o-1],t.matches.splice(o++,0,{fn:null,optionality:t.isOptional,newBlockMarker:s===i||s.def!==n&&null!==s.fn,casing:null,def:a.staticDefinitionSymbol||n,placeholder:a.staticDefinitionSymbol!==i?n:i,nativeDef:n})})),m=!1;else{var c=(a.definitions?a.definitions[r]:i)||l.prototype.definitions[r];c&&!m?t.matches.splice(o++,0,{fn:c.validator?"string"==typeof c.validator?new RegExp(c.validator,a.casing?"i":""):new function(){this.test=c.validator}:new RegExp("."),optionality:t.isOptional,newBlockMarker:s===i||s.def!==(c.definitionSymbol||r),casing:c.casing,def:c.definitionSymbol||r,placeholder:c.placeholder,nativeDef:r}):(t.matches.splice(o++,0,{fn:null,optionality:t.isOptional,newBlockMarker:s===i||s.def!==r&&null!==s.fn,casing:null,def:a.staticDefinitionSymbol||r,placeholder:a.staticDefinitionSymbol!==i?r:i,nativeDef:r}),m=!1)}}function y(){if(v.length>0){if(b(c=v[v.length-1],o),c.isAlternator){u=v.pop();for(var e=0;e<u.matches.length;e++)u.matches[e].isGroup&&(u.matches[e].isGroup=!1);v.length>0?(c=v[v.length-1]).matches.push(u):d.matches.push(u)}}else b(d,o)}function P(e){var t=new g(!0);return t.openGroup=!1,t.matches=e,t}for(n&&(a.optionalmarker[0]=i,a.optionalmarker[1]=i);r=n?h.exec(t):p.exec(t);){if(o=r[0],n)switch(o.charAt(0)){case"?":o="{0,1}";break;case"+":case"*":o="{"+o+"}"}if(m)y();else switch(o.charAt(0)){case a.escapeChar:m=!0,n&&y();break;case a.optionalmarker[1]:case a.groupmarker[1]:if((s=v.pop()).openGroup=!1,s!==i)if(v.length>0){if((c=v[v.length-1]).matches.push(s),c.isAlternator){u=v.pop();for(var C=0;C<u.matches.length;C++)u.matches[C].isGroup=!1,u.matches[C].alternatorGroup=!1;v.length>0?(c=v[v.length-1]).matches.push(u):d.matches.push(u)}}else d.matches.push(s);else y();break;case a.optionalmarker[0]:v.push(new g(!1,!0));break;case a.groupmarker[0]:v.push(new g(!0));break;case a.quantifiermarker[0]:var E=new g(!1,!1,!0),x=(o=o.replace(/[{}]/g,"")).split("|"),_=x[0].split(","),A=isNaN(_[0])?_[0]:parseInt(_[0]),w=1===_.length?A:isNaN(_[1])?_[1]:parseInt(_[1]);"*"!==w&&"+"!==w||(A="*"===w?0:1),E.quantifier={min:A,max:w,jit:x[1]};var O=v.length>0?v[v.length-1].matches:d.matches;if((r=O.pop()).isAlternator){O.push(r),O=r.matches;var S=new g(!0),M=O.pop();O.push(S),O=S.matches,r=M}r.isGroup||(n&&null===r.fn&&"."===r.def&&(r.fn=new RegExp(r.def,a.casing?"i":"")),r=P([r])),O.push(r),O.push(E);break;case a.alternatormarker:function j(e){var t=e.pop();return t.isQuantifier&&(t=P([e.pop(),t])),t}if(v.length>0){var D=(c=v[v.length-1]).matches[c.matches.length-1];f=c.openGroup&&(D.matches===i||!1===D.isGroup&&!1===D.isAlternator)?v.pop():j(c.matches)}else f=j(d.matches);if(f.isAlternator)v.push(f);else if(f.alternatorGroup?(u=v.pop(),f.alternatorGroup=!1):u=new g(!1,!1,!1,!0),u.matches.push(f),v.push(u),f.openGroup){f.openGroup=!1;var G=new g(!0);G.alternatorGroup=!0,v.push(G)}break;default:y()}}for(;v.length>0;)s=v.pop(),d.matches.push(s);return d.matches.length>0&&(!function t(r){r&&r.matches&&e.each(r.matches,function(e,o){var s=r.matches[e+1];(s===i||s.matches===i||!1===s.isQuantifier)&&o&&o.isGroup&&(o.isGroup=!1,n||(b(o,a.groupmarker[0],0),!0!==o.openGroup&&b(o,a.groupmarker[1]))),t(o)})}(d),k.push(d)),(a.numericInput||a.isRTL)&&function e(t){for(var n in t.matches=t.matches.reverse(),t.matches)if(t.matches.hasOwnProperty(n)){var r=parseInt(n);if(t.matches[n].isQuantifier&&t.matches[r+1]&&t.matches[r+1].isGroup){var o=t.matches[n];t.matches.splice(n,1),t.matches.splice(r+1,0,o)}t.matches[n].matches!==i?t.matches[n]=e(t.matches[n]):t.matches[n]=((s=t.matches[n])===a.optionalmarker[0]?s=a.optionalmarker[1]:s===a.optionalmarker[1]?s=a.optionalmarker[0]:s===a.groupmarker[0]?s=a.groupmarker[1]:s===a.groupmarker[1]&&(s=a.groupmarker[0]),s)}var s;return t}(k[0]),k}},l.extendDefaults=function(t){e.extend(!0,l.prototype.defaults,t)},l.extendDefinitions=function(t){e.extend(!0,l.prototype.definitions,t)},l.extendAliases=function(t){e.extend(!0,l.prototype.aliases,t)},l.format=function(e,t,n){return l(t).format(e,n)},l.unmask=function(e,t){return l(t).unmaskedvalue(e)},l.isValid=function(e,t){return l(t).isValid(e)},l.remove=function(t){"string"==typeof t&&(t=n.getElementById(t)||n.querySelectorAll(t)),t=t.nodeName?[t]:t,e.each(t,function(e,t){t.inputmask&&t.inputmask.remove()})},l.setValue=function(t,i){"string"==typeof t&&(t=n.getElementById(t)||n.querySelectorAll(t)),t=t.nodeName?[t]:t,e.each(t,function(t,n){n.inputmask?n.inputmask.setValue(i):e(n).trigger("setvalue",[i])})},l.escapeRegex=function(e){return e.replace(new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^"].join("|\\")+")","gim"),"\\$1")},l.keyCode={BACKSPACE:8,BACKSPACE_SAFARI:127,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,RIGHT:39,SPACE:32,TAB:9,UP:38,X:88,CONTROL:17},l}); | ||
!function(e){"function"==typeof define&&define.amd?define(["./dependencyLibs/inputmask.dependencyLib","./global/window","./global/document"],e):"object"==typeof exports?module.exports=e(require("./dependencyLibs/inputmask.dependencyLib"),require("./global/window"),require("./global/document")):window.Inputmask=e(window.dependencyLib||jQuery,window,document)}(function(e,t,n,i){var a=navigator.userAgent,r=f("touchstart"),o=/iemobile/i.test(a),s=/iphone/i.test(a)&&!o;function l(t,n,a){if(!(this instanceof l))return new l(t,n,a);this.el=i,this.events={},this.maskset=i,this.refreshValue=!1,!0!==a&&(e.isPlainObject(t)?n=t:(n=n||{},t&&(n.alias=t)),this.opts=e.extend(!0,{},this.defaults,n),this.noMasksCache=n&&n.definitions!==i,this.userOptions=n||{},this.isRTL=this.opts.numericInput,c(this.opts.alias,n,this.opts))}function c(t,n,a){var r=l.prototype.aliases[t];return r?(r.alias&&c(r.alias,i,a),e.extend(!0,a,r),e.extend(!0,a,n),!0):(null===a.mask&&(a.mask=t),!1)}function u(t,n){function a(t,a,r){var o=!1;if(null!==t&&""!==t||((o=null!==r.regex)?t=(t=r.regex).replace(/^(\^)(.*)(\$)$/,"$2"):(o=!0,t=".*")),1===t.length&&!1===r.greedy&&0!==r.repeat&&(r.placeholder=""),r.repeat>0||"*"===r.repeat||"+"===r.repeat){var s="*"===r.repeat?0:"+"===r.repeat?1:r.repeat;t=r.groupmarker[0]+t+r.groupmarker[1]+r.quantifiermarker[0]+s+","+r.repeat+r.quantifiermarker[1]}var c,u=o?"regex_"+r.regex:r.numericInput?t.split("").reverse().join(""):t;return l.prototype.masksCache[u]===i||!0===n?(c={mask:t,maskToken:l.prototype.analyseMask(t,o,r),validPositions:{},_buffer:i,buffer:i,tests:{},excludes:{},metadata:a,maskLength:i},!0!==n&&(l.prototype.masksCache[u]=c,c=e.extend(!0,{},l.prototype.masksCache[u]))):c=e.extend(!0,{},l.prototype.masksCache[u]),c}if(e.isFunction(t.mask)&&(t.mask=t.mask(t)),e.isArray(t.mask)){if(t.mask.length>1){if(null===t.keepStatic){t.keepStatic="auto";for(var r=0;r<t.mask.length;r++)if(t.mask[r].charAt(0)!==t.mask[0].charAt(0)){t.keepStatic=!0;break}}var o=t.groupmarker[0];return e.each(t.isRTL?t.mask.reverse():t.mask,function(n,a){o.length>1&&(o+=t.groupmarker[1]+t.alternatormarker+t.groupmarker[0]),a.mask===i||e.isFunction(a.mask)?o+=a:o+=a.mask}),a(o+=t.groupmarker[1],t.mask,t)}t.mask=t.mask.pop()}return t.mask&&t.mask.mask!==i&&!e.isFunction(t.mask.mask)?a(t.mask.mask,t.mask,t):a(t.mask,t.mask,t)}function f(e){var t=n.createElement("input"),i="on"+e,a=i in t;return a||(t.setAttribute(i,"return;"),a="function"==typeof t[i]),t=null,a}function p(a,c,u){c=c||this.maskset,u=u||this.opts;var h,m,d,v,k=this,g=this.el,b=this.isRTL,y=!1,P=!1,C=!1,E=!1,x=!1;function _(e,t,n){t=t||0;var a,r,o,s=[],l=0,c=O();do{if(!0===e&&A().validPositions[l])r=(o=A().validPositions[l]).match,a=o.locator.slice(),s.push(!0===n?o.input:!1===n?r.nativeDef:$(l,r));else{r=(o=D(l,a,l-1)).match,a=o.locator.slice();var f=!1!==u.jitMasking?u.jitMasking:r.jit;(!1===f||f===i||l<c||"number"==typeof f&&isFinite(f)&&f>l)&&s.push(!1===n?r.nativeDef:$(l,r))}"auto"===u.keepStatic&&r.newBlockMarker&&null!==r.fn&&(u.keepStatic=l-1),l++}while((d===i||l<d)&&(null!==r.fn||""!==r.def)||t>l);return""===s[s.length-1]&&s.pop(),!1===n&&A().maskLength!==i||(A().maskLength=l-1),s}function A(){return c}function w(e){var t=A();t.buffer=i,!0!==e&&(t.validPositions={},t.p=0)}function O(e,t,n){var a=-1,r=-1,o=n||A().validPositions;for(var s in e===i&&(e=-1),o){var l=parseInt(s);o[l]&&(t||!0!==o[l].generatedInput)&&(l<=e&&(a=l),l>=e&&(r=l))}return-1===a||a==e?r:-1==r?a:e-a<r-e?a:r}function S(e,t,n){for(var a,r=G(e=e>0?e-1:0,t),o=r.alternation!==i?r.locator[r.alternation].toString().split(","):[],s=0;s<t.length&&(!((a=t[s]).match&&(u.greedy&&!0!==a.match.optionalQuantifier||(!1===a.match.optionality||!1===a.match.newBlockMarker)&&!0!==a.match.optionalQuantifier)&&(r.alternation===i||r.alternation!==a.alternation||a.locator[r.alternation]!==i&&N(a.locator[r.alternation].toString().split(","),o)))||!0===n&&(null!==a.match.fn||/[0-9a-bA-Z]/.test(a.match.def)));s++);return a}function M(e){var t=e.locator[e.alternation];return"string"==typeof t&&t.length>0&&(t=t.split(",")[0]),t!==i?t.toString():""}function j(e,t){for(var n=(e.alternation!=i?e.mloc[M(e)]:e.locator).join("");n.length<t;)n+="0";return n}function D(e,t,n){return A().validPositions[e]||S(e,B(e,t?t.slice():t,n))}function G(e,t){return A().validPositions[e]?A().validPositions[e]:(t||B(e))[0]}function T(e,t){for(var n=!1,i=B(e),a=0;a<i.length;a++)if(i[a].match&&i[a].match.def===t){n=!0;break}return n}function B(t,n,a){var r,o,s,l,c=A().maskToken,f=n?a:0,p=n?n.slice():[0],h=[],m=!1,d=n?n.join(""):"";function v(n,a,o,s){function l(o,s,c){function p(t,n){var i=0===e.inArray(t,n.matches);return i||e.each(n.matches,function(e,a){if(!0===a.isQuantifier?i=p(t,n.matches[e-1]):!0===a.isOptional?i=p(t,a):!0===a.isAlternate&&(i=p(t,a)),i)return!1}),i}function k(t,n,a){var r,o;if((A().tests[t]||A().validPositions[t])&&e.each(A().tests[t]||[A().validPositions[t]],function(e,t){if(t.mloc[n])return r=t,!1;var s=a!==i?a:t.alternation,l=t.locator[s]!==i?t.locator[s].toString().indexOf(n):-1;(o===i||l<o)&&-1!==l&&(r=t,o=l)}),r){var s=r.locator[r.alternation];return(r.mloc[n]||r.mloc[s]||r.locator).slice((a!==i?a:r.alternation)+1)}return a!==i?k(t,n):i}function g(e,t){function n(e){for(var t,n,i=[],a=0,r=e.length;a<r;a++)if("-"===e.charAt(a))for(n=e.charCodeAt(a+1);++t<n;)i.push(String.fromCharCode(t));else t=e.charCodeAt(a),i.push(e.charAt(a));return i.join("")}return u.regex&&null!==e.match.fn&&null!==t.match.fn?-1!==n(t.match.def.replace(/[\[\]]/g,"")).indexOf(n(e.match.def.replace(/[\[\]]/g,""))):e.match.def===t.match.nativeDef}function b(e,t){if(t===i||e.alternation===t.alternation&&-1===e.locator[e.alternation].toString().indexOf(t.locator[t.alternation])){e.mloc=e.mloc||{};var n=e.locator[e.alternation];if(n!==i){if("string"==typeof n&&(n=n.split(",")[0]),e.mloc[n]===i&&(e.mloc[n]=e.locator.slice()),t!==i){for(var a in t.mloc)"string"==typeof a&&(a=a.split(",")[0]),e.mloc[a]===i&&(e.mloc[a]=t.mloc[a]);e.locator[e.alternation]=Object.keys(e.mloc).join(",")}return!0}e.alternation=i}return!1}if(f>5e3)throw"Inputmask: There is probably an error in your mask definition or in the code. Create an issue on github with an example of the mask you are using. "+A().mask;if(f===t&&o.matches===i)return h.push({match:o,locator:s.reverse(),cd:d,mloc:{}}),!0;if(o.matches!==i){if(o.isGroup&&c!==o){if(o=l(n.matches[e.inArray(o,n.matches)+1],s))return!0}else if(o.isOptional){var y=o;if(o=v(o,a,s,c)){if(r=h[h.length-1].match,c!==i||!p(r,y))return!0;m=!0,f=t}}else if(o.isAlternator){var P,C=o,E=[],x=h.slice(),_=s.length,w=a.length>0?a.shift():-1;if(-1===w||"string"==typeof w){var O,S=f,M=a.slice(),j=[];if("string"==typeof w)j=w.split(",");else for(O=0;O<C.matches.length;O++)j.push(O.toString());if(A().excludes[t]){for(var D=j.slice(),G=0,T=A().excludes[t].length;G<T;G++)j.splice(j.indexOf(A().excludes[t][G].toString()),1);0===j.length&&(A().excludes[t]=i,j=D)}(!0===u.keepStatic||isFinite(parseInt(u.keepStatic))&&S>=u.keepStatic)&&(j=j.slice(0,1));for(var B=0;B<j.length;B++){O=parseInt(j[B]),h=[],a=k(f,O,_)||M.slice(),C.matches[O]&&l(C.matches[O],[O].concat(s),c)&&(o=!0),P=h.slice(),f=S,h=[];for(var L=0;L<P.length;L++){var I=P[L],F=!1;I.alternation=I.alternation||_,b(I);for(var N=0;N<E.length;N++){var R=E[N];if("string"!=typeof w||I.alternation!==i&&-1!==e.inArray(I.locator[I.alternation].toString(),j)){if(I.match.nativeDef===R.match.nativeDef){F=!0,b(R,I);break}if(g(I,R)){b(I,R)&&(F=!0,E.splice(E.indexOf(R),0,I));break}if(g(R,I)){b(R,I);break}if(Q=R,null===(q=I).match.fn&&null!==Q.match.fn&&Q.match.fn.test(q.match.def,A(),t,!1,u,!1)){b(I,R)&&(F=!0,E.splice(E.indexOf(R),0,I));break}}}F||E.push(I)}}h=x.concat(E),f=t,m=h.length>0,o=E.length>0,a=M.slice()}else o=l(C.matches[w]||n.matches[w],[w].concat(s),c);if(o)return!0}else if(o.isQuantifier&&c!==n.matches[e.inArray(o,n.matches)-1])for(var K=o,V=a.length>0?a.shift():0;V<(isNaN(K.quantifier.max)?V+1:K.quantifier.max)&&f<=t;V++){var H=n.matches[e.inArray(K,n.matches)-1];if(o=l(H,[V].concat(s),H)){if((r=h[h.length-1].match).optionalQuantifier=V>K.quantifier.min-1,r.jit=V+H.matches.indexOf(r)>=K.quantifier.jit,p(r,H)&&V>K.quantifier.min-1){m=!0,f=t;break}if(K.quantifier.jit!==i&&isNaN(K.quantifier.max)&&r.optionalQuantifier&&A().validPositions[t-1]===i){h.pop(),m=!0,f=t,d=i;break}return!0}}else if(o=v(o,a,s,c))return!0}else f++;var q,Q}for(var c=a.length>0?a.shift():0;c<n.matches.length;c++)if(!0!==n.matches[c].isQuantifier){var p=l(n.matches[c],[c].concat(o),s);if(p&&f===t)return p;if(f>t)break}}if(t>-1){if(n===i){for(var k,g=t-1;(k=A().validPositions[g]||A().tests[g])===i&&g>-1;)g--;k!==i&&g>-1&&(o=g,s=k,l=[],e.isArray(s)||(s=[s]),s.length>0&&(s[0].alternation===i?0===(l=S(o,s.slice()).locator.slice()).length&&(l=s[0].locator.slice()):e.each(s,function(e,t){if(""!==t.def)if(0===l.length)l=t.locator.slice();else for(var n=0;n<l.length;n++)t.locator[n]&&-1===l[n].toString().indexOf(t.locator[n])&&(l[n]+=","+t.locator[n])})),d=(p=l).join(""),f=g)}if(A().tests[t]&&A().tests[t][0].cd===d)return A().tests[t];for(var b=p.shift();b<c.length;b++){if(v(c[b],p,[b])&&f===t||f>t)break}}return(0===h.length||m)&&h.push({match:{fn:null,optionality:!0,casing:null,def:"",placeholder:""},locator:[],mloc:{},cd:d}),n!==i&&A().tests[t]?e.extend(!0,[],h):(A().tests[t]=e.extend(!0,[],h),A().tests[t])}function L(){return A()._buffer===i&&(A()._buffer=_(!1,1),A().buffer===i&&(A().buffer=A()._buffer.slice())),A()._buffer}function I(e){return A().buffer!==i&&!0!==e||(A().buffer=_(!0,O(),!0)),A().buffer}function F(e,t,n){var a,r;if(!0===e)w(),e=0,t=n.length;else for(a=e;a<t;a++)delete A().validPositions[a];for(r=e,a=e;a<t;a++)if(w(!0),n[a]!==u.skipOptionalPartCharacter){var o=K(r,n[a],!0,!0);!1!==o&&(w(!0),r=o.caret!==i?o.caret:o.pos+1)}}function N(t,n,a){for(var r,o=u.greedy?n:n.slice(0,1),s=!1,l=a!==i?a.split(","):[],c=0;c<l.length;c++)-1!==(r=t.indexOf(l[c]))&&t.splice(r,1);for(var f=0;f<t.length;f++)if(-1!==e.inArray(t[f],o)){s=!0;break}return s}function R(t,n,a,r,o){var s,l,c,f,p,h,m,d=e.extend(!0,{},A().validPositions),v=!1,k=o!==i?o:O();if(-1===k&&o===i)l=(f=G(s=0)).alternation;else for(;k>=0;k--)if((c=A().validPositions[k])&&c.alternation!==i){if(f&&f.locator[c.alternation]!==c.locator[c.alternation])break;s=k,l=A().validPositions[s].alternation,f=c}if(l!==i){m=parseInt(s),A().excludes[m]=A().excludes[m]||[],!0!==t&&A().excludes[m].push(M(f));var g=[],b=0;for(p=m;p<O(i,!0)+1;p++)(h=A().validPositions[p])&&!0!==h.generatedInput&&/[0-9a-bA-Z]/.test(h.input)?g.push(h.input):p<t&&b++,delete A().validPositions[p];for(;A().excludes[m]&&A().excludes[m].length<10;){var y=-1*b,P=g.slice();for(A().tests[m]=i,w(!0),v=!0;P.length>0;){var C=P.shift();if(C!==u.skipOptionalPartCharacter&&!(v=K(O(i,!0)+1,C,!1,r,!0)))break}if(v&&n!==i){var E=O(t)+1;for(p=m;p<O()+1;p++)((h=A().validPositions[p])===i||null==h.match.fn)&&p<t+y&&y++;v=K((t+=y)>E?E:t,n,a,r,!0)}if(v)break;if(w(),f=G(m),A().validPositions=e.extend(!0,{},d),!A().excludes[m]){v=R(t,n,a,r,m-1);break}var x=M(f);if(-1!==A().excludes[m].indexOf(x)){v=R(t,n,a,r,m-1);break}for(A().excludes[m].push(x),p=m;p<O(i,!0)+1;p++)delete A().validPositions[p]}}return A().excludes[m]=i,v}function K(t,n,a,r,o,s){function c(e){return b?e.begin-e.end>1||e.begin-e.end==1:e.end-e.begin>1||e.end-e.begin==1}a=!0===a;var f=t;function p(n,a,o){var s=!1;return e.each(B(n),function(f,p){var h=p.match;if(I(!0),!1!==(s=null!=h.fn?h.fn.test(a,A(),n,o,u,c(t)):(a===h.def||a===u.skipOptionalPartCharacter)&&""!==h.def&&{c:$(n,h,!0)||h.def,pos:n})){var m=s.c!==i?s.c:a,d=n;return m=m===u.skipOptionalPartCharacter&&null===h.fn?$(n,h,!0)||h.def:m,s.remove!==i&&(e.isArray(s.remove)||(s.remove=[s.remove]),e.each(s.remove.sort(function(e,t){return t-e}),function(e,t){H({begin:t,end:t+1})})),s.insert!==i&&(e.isArray(s.insert)||(s.insert=[s.insert]),e.each(s.insert.sort(function(e,t){return e-t}),function(e,t){K(t.pos,t.c,!0,r)})),!0!==s&&s.pos!==i&&s.pos!==n&&(d=s.pos),!0!==s&&s.pos===i&&s.c===i?!1:(H(t,e.extend({},p,{input:function(t,n,i){switch(u.casing||n.casing){case"upper":t=t.toUpperCase();break;case"lower":t=t.toLowerCase();break;case"title":var a=A().validPositions[i-1];t=0===i||a&&a.input===String.fromCharCode(l.keyCode.SPACE)?t.toUpperCase():t.toLowerCase();break;default:if(e.isFunction(u.casing)){var r=Array.prototype.slice.call(arguments);r.push(A().validPositions),t=u.casing.apply(this,r)}}return t}(m,h,d)}),r,d)||(s=!1),!1)}}),s}t.begin!==i&&(f=b?t.end:t.begin);var h=!0,m=e.extend(!0,{},A().validPositions);if(e.isFunction(u.preValidation)&&!a&&!0!==r&&!0!==s&&(h=u.preValidation(I(),f,n,c(t),u,A())),!0===h){if(V(i,f,!0),(d===i||f<d)&&(h=p(f,n,a),(!a||!0===r)&&!1===h&&!0!==s)){var v=A().validPositions[f];if(!v||null!==v.match.fn||v.match.def!==n&&n!==u.skipOptionalPartCharacter){if((u.insertMode||A().validPositions[Q(f)]===i)&&!q(f,!0))for(var k=f+1,g=Q(f);k<=g;k++)if(!1!==(h=p(k,n,a))){h=V(f,h.pos!==i?h.pos:k)||h,f=k;break}}else h={caret:Q(f)}}!1!==h||null===u.keepStatic||!1===u.keepStatic||a||!0===o||(h=R(f,n,a,r)),!0===h&&(h={pos:f})}if(e.isFunction(u.postValidation)&&!1!==h&&!a&&!0!==r&&!0!==s){var y=u.postValidation(I(!0),h,u);if(y!==i){if(y.refreshFromBuffer&&y.buffer){var P=y.refreshFromBuffer;F(!0===P?P:P.start,P.end,y.buffer)}h=!0===y?h:y}}return h&&h.pos===i&&(h.pos=f),!1!==h&&!0!==s||(w(!0),A().validPositions=e.extend(!0,{},m)),h}function V(t,n,a){var r;if(t===i)for(t=n-1;t>0&&!A().validPositions[t];t--);for(var o=t;o<n;o++)if(A().validPositions[o]===i&&!q(o,!0)){var s=0==o?G(o):A().validPositions[o-1];if(s){var l,c=j(s),u=B(o).slice(),f=i,p=G(o);if(""===u[u.length-1].match.def&&u.pop(),e.each(u,function(e,t){l=j(t,c.length);var n=Math.abs(l-c);(f===i||n<f)&&null===t.match.fn&&!0!==t.match.optionality&&!0!==t.match.optionalQuantifier&&(f=n,p=t)}),(p=e.extend({},p,{input:$(o,p.match,!0)||p.match.def})).generatedInput=!0,H(o,p,!0),!0!==a){var h=A().validPositions[n].input;A().validPositions[n]=i,r=K(n,h,!0,!0)}}}return r}function H(t,n,a,r){function o(e,t,n){var a=t[e];if(a!==i&&(null===a.match.fn&&!0!==a.match.optionality||a.input===u.radixPoint)){var r=n.begin<=e-1?t[e-1]&&null===t[e-1].match.fn&&t[e-1]:t[e-1],o=n.end>e+1?t[e+1]&&null===t[e+1].match.fn&&t[e+1]:t[e+1];return r&&o}return!1}var s=t.begin!==i?t.begin:t,l=t.end!==i?t.end:t;if(t.begin>t.end&&(s=t.end,l=t.begin),r=r!==i?r:s,s!==l||u.insertMode&&A().validPositions[r]!==i&&a===i){var c=e.extend(!0,{},A().validPositions),f=O(i,!0);for(A().p=s,v=f;v>=s;v--)A().validPositions[v]&&"+"===A().validPositions[v].match.nativeDef&&(u.isNegative=!1),delete A().validPositions[v];var p=!0,h=r,m=(A().validPositions,!1),d=h,v=h;for(n&&(A().validPositions[r]=e.extend(!0,{},n),d++,h++,s<l&&v++);v<=f;v++){var k=c[v];if(k!==i&&(v>=l||v>=s&&!0!==k.generatedInput&&o(v,c,{begin:s,end:l}))){for(;""!==G(d).match.def;){if(!1===m&&c[d]&&c[d].match.nativeDef===k.match.nativeDef)A().validPositions[d]=e.extend(!0,{},c[d]),A().validPositions[d].input=k.input,V(i,d,!0),h=d+1,p=!0;else if(T(d,k.match.def)){var g=K(d,k.input,!0,!0);p=!1!==g,h=g.caret||g.insert?O():d+1,m=!0}else if(!(p=!0===k.generatedInput||k.input===u.radixPoint&&!0===u.numericInput)&&""===G(d).match.def)break;if(p)break;d++}""==G(d).match.def&&(p=!1),d=h}if(!p)break}if(!p)return A().validPositions=e.extend(!0,{},c),w(!0),!1}else n&&(A().validPositions[r]=e.extend(!0,{},n));return w(!0),!0}function q(e,t){var n=D(e).match;if(""===n.def&&(n=G(e).match),null!=n.fn)return n.fn;if(!0!==t&&e>-1){var i=B(e);return i.length>1+(""===i[i.length-1].match.def?1:0)}return!1}function Q(e,t){for(var n=e+1;""!==G(n).match.def&&(!0===t&&(!0!==G(n).match.newBlockMarker||!q(n))||!0!==t&&!q(n));)n++;return n}function U(e,t){var n,i=e;if(i<=0)return 0;for(;--i>0&&(!0===t&&!0!==G(i).match.newBlockMarker||!0!==t&&!q(i)&&((n=B(i)).length<2||2===n.length&&""===n[1].match.def)););return i}function W(t,n,a,r,o){if(r&&e.isFunction(u.onBeforeWrite)){var s=u.onBeforeWrite.call(k,r,n,a,u);if(s){if(s.refreshFromBuffer){var l=s.refreshFromBuffer;F(!0===l?l:l.start,l.end,s.buffer||n),n=I(!0)}a!==i&&(a=s.caret!==i?s.caret:a)}}t!==i&&(t.inputmask._valueSet(n.join("")),a===i||r!==i&&"blur"===r.type?se(t,a,0===n.length):te(t,a),!0===o&&(P=!0,e(t).trigger("input")))}function $(t,n,a){if((n=n||G(t).match).placeholder!==i||!0===a)return e.isFunction(n.placeholder)?n.placeholder(u):n.placeholder;if(null===n.fn){if(t>-1&&A().validPositions[t]===i){var r,o=B(t),s=[];if(o.length>1+(""===o[o.length-1].match.def?1:0))for(var l=0;l<o.length;l++)if(!0!==o[l].match.optionality&&!0!==o[l].match.optionalQuantifier&&(null===o[l].match.fn||r===i||!1!==o[l].match.fn.test(r.match.def,A(),t,!0,u))&&(s.push(o[l]),null===o[l].match.fn&&(r=o[l]),s.length>1&&/[0-9a-bA-Z]/.test(s[0].match.def)))return u.placeholder.charAt(t%u.placeholder.length)}return n.def}return u.placeholder.charAt(t%u.placeholder.length)}var Z,z={on:function(t,n,a){var c=function(t){var n=this;if(n.inputmask===i&&"FORM"!==this.nodeName){var c=e.data(n,"_inputmask_opts");c?new l(c).mask(n):z.off(n)}else{if("setvalue"===t.type||"FORM"===this.nodeName||!(n.disabled||n.readOnly&&!("keydown"===t.type&&t.ctrlKey&&67===t.keyCode||!1===u.tabThrough&&t.keyCode===l.keyCode.TAB))){switch(t.type){case"input":if(!0===P)return P=!1,t.preventDefault();r&&(x=!0);break;case"keydown":y=!1,P=!1;break;case"keypress":if(!0===y)return t.preventDefault();y=!0;break;case"click":if(o||s){var f=arguments;return setTimeout(function(){a.apply(n,f)},0),!1}}var p=a.apply(n,arguments);return x&&(x=!1,setTimeout(function(){te(n,n.inputmask.caretPos,i,!0)})),!1===p&&(t.preventDefault(),t.stopPropagation()),p}t.preventDefault()}};t.inputmask.events[n]=t.inputmask.events[n]||[],t.inputmask.events[n].push(c),-1!==e.inArray(n,["submit","reset"])?null!==t.form&&e(t.form).on(n,c):e(t).on(n,c)},off:function(t,n){var i;t.inputmask&&t.inputmask.events&&(n?(i=[])[n]=t.inputmask.events[n]:i=t.inputmask.events,e.each(i,function(n,i){for(;i.length>0;){var a=i.pop();-1!==e.inArray(n,["submit","reset"])?null!==t.form&&e(t.form).off(n,a):e(t).off(n,a)}delete t.inputmask.events[n]}))}},X={keydownEvent:function(t){var n=this,i=e(n),a=t.keyCode,r=te(n);if(a===l.keyCode.BACKSPACE||a===l.keyCode.DELETE||s&&a===l.keyCode.BACKSPACE_SAFARI||t.ctrlKey&&a===l.keyCode.X&&!f("cut"))t.preventDefault(),re(n,a,r),W(n,I(!0),A().p,t,n.inputmask._valueGet()!==I().join("")),n.inputmask._valueGet()===L().join("")?i.trigger("cleared"):!0===ae(I())&&i.trigger("complete");else if(a===l.keyCode.END||a===l.keyCode.PAGE_DOWN){t.preventDefault();var o=Q(O());u.insertMode||o!==A().maskLength||t.shiftKey||o--,te(n,t.shiftKey?r.begin:o,o,!0)}else a===l.keyCode.HOME&&!t.shiftKey||a===l.keyCode.PAGE_UP?(t.preventDefault(),te(n,0,t.shiftKey?r.begin:0,!0)):(u.undoOnEscape&&a===l.keyCode.ESCAPE||90===a&&t.ctrlKey)&&!0!==t.altKey?(J(n,!0,!1,h.split("")),i.trigger("click")):a!==l.keyCode.INSERT||t.shiftKey||t.ctrlKey?!0===u.tabThrough&&a===l.keyCode.TAB?(!0===t.shiftKey?(null===G(r.begin).match.fn&&(r.begin=Q(r.begin)),r.end=U(r.begin,!0),r.begin=U(r.end,!0)):(r.begin=Q(r.begin,!0),r.end=Q(r.begin,!0),r.end<A().maskLength&&r.end--),r.begin<A().maskLength&&(t.preventDefault(),te(n,r.begin,r.end))):t.shiftKey||!1===u.insertMode&&(a===l.keyCode.RIGHT?setTimeout(function(){var e=te(n);te(n,e.begin)},0):a===l.keyCode.LEFT&&setTimeout(function(){var e=te(n);te(n,b?e.begin+1:e.begin-1)},0)):(u.insertMode=!u.insertMode,te(n,u.insertMode||r.begin!==A().maskLength?r.begin:r.begin-1));u.onKeyDown.call(this,t,I(),te(n).begin,u),C=-1!==e.inArray(a,u.ignorables)},keypressEvent:function(t,n,a,r,o){var s=this,c=e(s),f=t.which||t.charCode||t.keyCode;if(!(!0===n||t.ctrlKey&&t.altKey)&&(t.ctrlKey||t.metaKey||C))return f===l.keyCode.ENTER&&h!==I().join("")&&(h=I().join(""),setTimeout(function(){c.trigger("change")},0)),!0;if(f){46===f&&!1===t.shiftKey&&""!==u.radixPoint&&(f=u.radixPoint.charCodeAt(0));var p,m=n?{begin:o,end:o}:te(s),d=String.fromCharCode(f),v=0;if(u._radixDance&&u.numericInput){var k=I().indexOf(u.radixPoint.charAt(0))+1;m.begin<=k&&(f===u.radixPoint.charCodeAt(0)&&(v=1),m.begin-=1,m.end-=1)}A().writeOutBuffer=!0;var g=K(m,d,r);if(!1!==g&&(w(!0),p=g.caret!==i?g.caret:Q(g.pos.begin?g.pos.begin:g.pos),A().p=p),p=(u.numericInput&&g.caret===i?U(p):p)+v,!1!==a&&(setTimeout(function(){u.onKeyValidation.call(s,f,g,u)},0),A().writeOutBuffer&&!1!==g)){var b=I();W(s,b,p,t,!0!==n),!0!==n&&setTimeout(function(){!0===ae(b)&&c.trigger("complete")},0)}if(t.preventDefault(),n)return!1!==g&&(g.forwardPosition=p),g}},pasteEvent:function(n){var i,a=this,r=n.originalEvent||n,o=e(a),s=a.inputmask._valueGet(!0),l=te(a);b&&(i=l.end,l.end=l.begin,l.begin=i);var c=s.substr(0,l.begin),f=s.substr(l.end,s.length);if(c===(b?L().reverse():L()).slice(0,l.begin).join("")&&(c=""),f===(b?L().reverse():L()).slice(l.end).join("")&&(f=""),b&&(i=c,c=f,f=i),t.clipboardData&&t.clipboardData.getData)s=c+t.clipboardData.getData("Text")+f;else{if(!r.clipboardData||!r.clipboardData.getData)return!0;s=c+r.clipboardData.getData("text/plain")+f}var p=s;if(e.isFunction(u.onBeforePaste)){if(!1===(p=u.onBeforePaste.call(k,s,u)))return n.preventDefault();p||(p=s)}return J(a,!1,!1,b?p.split("").reverse():p.toString().split("")),W(a,I(),Q(O()),n,h!==I().join("")),!0===ae(I())&&o.trigger("complete"),n.preventDefault()},inputFallBackEvent:function(t){var n,i,a=this,r=a.inputmask._valueGet();if(I().join("")!==r){var s=te(a);if(i=s,"."===(n=r).charAt(i.begin-1)&&""!==u.radixPoint&&((n=n.split(""))[i.begin-1]=u.radixPoint.charAt(0),n=n.join("")),r=function(e,t,n){if(o){var i=t.replace(I().join(""),"");if(1===i.length){var a=t.split("");a.splice(n.begin,0,i),t=a.join("")}}return t}(0,r=n,s),I().join("")!==r){var c=I().join(""),f=!u.numericInput&&r.length>c.length?-1:0,p=r.substr(0,s.begin),h=r.substr(s.begin),m=c.substr(0,s.begin+f),d=c.substr(s.begin+f),v=s,k="",g=!1;if(p!==m){for(var b=(g=p.length>=m.length)?p.length:m.length,y=0;p.charAt(y)===m.charAt(y)&&y<b;y++);g&&(0===f&&(v.begin=y),k+=p.slice(y,v.end))}if(h!==d&&(h.length>d.length?k+=h.slice(0,1):h.length<d.length&&(v.end+=d.length-h.length,g||""===u.radixPoint||""!==h||p.charAt(v.begin+f-1)!==u.radixPoint||(v.begin--,k=u.radixPoint))),W(a,I(),{begin:v.begin+f,end:v.end+f}),k.length>0)e.each(k.split(""),function(t,n){var i=new e.Event("keypress");i.which=n.charCodeAt(0),C=!1,X.keypressEvent.call(a,i)});else{v.begin===v.end-1&&(v.begin=U(v.begin+1),v.begin===v.end-1?te(a,v.begin):te(a,v.begin,v.end));var P=new e.Event("keydown");P.keyCode=u.numericInput?l.keyCode.BACKSPACE:l.keyCode.DELETE,X.keydownEvent.call(a,P),!1===u.insertMode&&te(a,te(a).begin-1)}t.preventDefault()}}},setValueEvent:function(t){this.inputmask.refreshValue=!1;var n=(n=t&&t.detail?t.detail[0]:arguments[1])||this.inputmask._valueGet(!0);e.isFunction(u.onBeforeMask)&&(n=u.onBeforeMask.call(k,n,u)||n),n=n.split(""),J(this,!0,!1,b?n.reverse():n),h=I().join(""),(u.clearMaskOnLostFocus||u.clearIncomplete)&&this.inputmask._valueGet()===L().join("")&&this.inputmask._valueSet("")},focusEvent:function(e){var t=this,n=t.inputmask._valueGet();u.showMaskOnFocus&&(!u.showMaskOnHover||u.showMaskOnHover&&""===n)&&(t.inputmask._valueGet()!==I().join("")?W(t,I(),Q(O())):!1===E&&te(t,Q(O()))),!0===u.positionCaretOnTab&&!1===E&&X.clickEvent.apply(t,[e,!0]),h=I().join("")},mouseleaveEvent:function(e){if(E=!1,u.clearMaskOnLostFocus&&n.activeElement!==this){var t=I().slice(),i=this.inputmask._valueGet();i!==this.getAttribute("placeholder")&&""!==i&&(-1===O()&&i===L().join("")?t=[]:ie(t),W(this,t))}},clickEvent:function(t,a){var r=this;setTimeout(function(){if(n.activeElement===r){var t=te(r);if(a&&(b?t.end=t.begin:t.begin=t.end),t.begin===t.end)switch(u.positionCaretOnClick){case"none":break;case"select":te(r,0,I().length);break;case"radixFocus":if(function(t){if(""!==u.radixPoint){var n=A().validPositions;if(n[t]===i||n[t].input===$(t)){if(t<Q(-1))return!0;var a=e.inArray(u.radixPoint,I());if(-1!==a){for(var r in n)if(a<r&&n[r].input!==$(r))return!1;return!0}}}return!1}(t.begin)){var o=I().join("").indexOf(u.radixPoint);te(r,u.numericInput?Q(o):o);break}default:var s=t.begin,l=O(s,!0),c=Q(l);if(s<c)te(r,q(s,!0)||q(s-1,!0)?s:Q(s));else{var f=A().validPositions[l],p=D(c,f?f.match.locator:i,f),h=$(c,p.match);if(""!==h&&I()[c]!==h&&!0!==p.match.optionalQuantifier&&!0!==p.match.newBlockMarker||!q(c,!0)&&p.match.def===h){var m=Q(c);(s>=m||s===c)&&(c=m)}te(r,c)}}}},0)},dblclickEvent:function(e){var t=this;setTimeout(function(){te(t,0,Q(O()))},0)},cutEvent:function(i){var a=this,r=e(a),o=te(a),s=i.originalEvent||i,c=t.clipboardData||s.clipboardData,u=b?I().slice(o.end,o.begin):I().slice(o.begin,o.end);c.setData("text",b?u.reverse().join(""):u.join("")),n.execCommand&&n.execCommand("copy"),re(a,l.keyCode.DELETE,o),W(a,I(),A().p,i,h!==I().join("")),a.inputmask._valueGet()===L().join("")&&r.trigger("cleared")},blurEvent:function(t){var n=e(this);if(this.inputmask){var a=this.inputmask._valueGet(),r=I().slice();""===a&&v===i||(u.clearMaskOnLostFocus&&(-1===O()&&a===L().join("")?r=[]:ie(r)),!1===ae(r)&&(setTimeout(function(){n.trigger("incomplete")},0),u.clearIncomplete&&(w(),r=u.clearMaskOnLostFocus?[]:L().slice())),W(this,r,i,t)),h!==I().join("")&&(h=r.join(""),n.trigger("change"))}},mouseenterEvent:function(e){E=!0,n.activeElement!==this&&u.showMaskOnHover&&this.inputmask._valueGet()!==I().join("")&&W(this,I())},submitEvent:function(e){h!==I().join("")&&m.trigger("change"),u.clearMaskOnLostFocus&&-1===O()&&g.inputmask._valueGet&&g.inputmask._valueGet()===L().join("")&&g.inputmask._valueSet(""),u.clearIncomplete&&!1===ae(I())&&g.inputmask._valueSet(""),u.removeMaskOnSubmit&&(g.inputmask._valueSet(g.inputmask.unmaskedvalue(),!0),setTimeout(function(){W(g,I())},0))},resetEvent:function(e){g.inputmask.refreshValue=!0,setTimeout(function(){m.trigger("setvalue")},0)}};function J(t,n,a,r,o){var s=r.slice(),c="",f=-1,p=i;if(w(),a||!0===u.autoUnmask)f=Q(f);else{var h=L().slice(0,Q(-1)).join(""),m=s.join("").match(new RegExp("^"+l.escapeRegex(h),"g"));m&&m.length>0&&(s.splice(0,m.length*h.length),f=Q(f))}-1===f?(A().p=Q(f),f=0):A().p=f,e.each(s,function(n,r){if(r!==i)if(A().validPositions[n]===i&&s[n]===$(n)&&q(n,!0)&&!1===K(n,s[n],!0,i,i,!0))A().p++;else{var o=new e.Event("_checkval");o.which=r.charCodeAt(0),c+=r;var l=O(i,!0),h=G(l),m=D(l+1,h?h.locator.slice():i,l);if(v=f,k=c,-1===_(!0,0,!1).slice(v,Q(v)).join("").indexOf(k)||q(v)||G(v).match.nativeDef!==k.charAt(0)&&(" "!==G(v).match.nativeDef||G(v+1).match.nativeDef!==k.charAt(0))||a||u.autoUnmask){var d=a?n:null==m.match.fn&&m.match.optionality&&l+1<A().p?l+1:A().p;(p=X.keypressEvent.call(t,o,!0,!1,a,d))&&(f=d+1,c="")}else p=X.keypressEvent.call(t,o,!0,!1,!0,l+1);W(i,I(),p.forwardPosition,o,!1)}var v,k}),n&&W(t,I(),p?p.forwardPosition:i,o||new e.Event("checkval"),o&&"input"===o.type)}function Y(t){if(t){if(t.inputmask===i)return t.value;t.inputmask&&t.inputmask.refreshValue&&X.setValueEvent.call(t)}var n=[],a=A().validPositions;for(var r in a)a[r].match&&null!=a[r].match.fn&&n.push(a[r].input);var o=0===n.length?"":(b?n.reverse():n).join("");if(e.isFunction(u.onUnMask)){var s=(b?I().slice().reverse():I()).join("");o=u.onUnMask.call(k,s,o,u)}return o}function ee(e){return!b||"number"!=typeof e||u.greedy&&""===u.placeholder||(e=g.inputmask._valueGet().length-e),e}function te(a,r,o,l){var c;if(r===i)return a.setSelectionRange?(r=a.selectionStart,o=a.selectionEnd):t.getSelection?(c=t.getSelection().getRangeAt(0)).commonAncestorContainer.parentNode!==a&&c.commonAncestorContainer!==a||(r=c.startOffset,o=c.endOffset):n.selection&&n.selection.createRange&&(o=(r=0-(c=n.selection.createRange()).duplicate().moveStart("character",-a.inputmask._valueGet().length))+c.text.length),{begin:l?r:ee(r),end:l?o:ee(o)};if(e.isArray(r)&&(o=b?r[0]:r[1],r=b?r[1]:r[0]),r.begin!==i&&(o=b?r.begin:r.end,r=b?r.end:r.begin),"number"==typeof r){r=l?r:ee(r),o="number"==typeof(o=l?o:ee(o))?o:r;var f=parseInt(((a.ownerDocument.defaultView||t).getComputedStyle?(a.ownerDocument.defaultView||t).getComputedStyle(a,null):a.currentStyle).fontSize)*o;if(a.scrollLeft=f>a.scrollWidth?f:0,s||!1!==u.insertMode||r!==o||o++,a.inputmask.caretPos={begin:r,end:o},a.setSelectionRange)a.selectionStart=r,a.selectionEnd=o;else if(t.getSelection){if(c=n.createRange(),a.firstChild===i||null===a.firstChild){var p=n.createTextNode("");a.appendChild(p)}c.setStart(a.firstChild,r<a.inputmask._valueGet().length?r:a.inputmask._valueGet().length),c.setEnd(a.firstChild,o<a.inputmask._valueGet().length?o:a.inputmask._valueGet().length),c.collapse(!0);var h=t.getSelection();h.removeAllRanges(),h.addRange(c)}else a.createTextRange&&((c=a.createTextRange()).collapse(!0),c.moveEnd("character",o),c.moveStart("character",r),c.select());se(a,{begin:r,end:o})}}function ne(t){var n,a,r=I(),o=r.length,s=O(),l={},c=A().validPositions[s],u=c!==i?c.locator.slice():i;for(n=s+1;n<r.length;n++)u=(a=D(n,u,n-1)).locator.slice(),l[n]=e.extend(!0,{},a);var f=c&&c.alternation!==i?c.locator[c.alternation]:i;for(n=o-1;n>s&&(((a=l[n]).match.optionality||a.match.optionalQuantifier&&a.match.newBlockMarker||f&&(f!==l[n].locator[c.alternation]&&null!=a.match.fn||null===a.match.fn&&a.locator[c.alternation]&&N(a.locator[c.alternation].toString().split(","),f.toString().split(","))&&""!==B(n)[0].def))&&r[n]===$(n,a.match));n--)o--;return t?{l:o,def:l[o]?l[o].match:i}:o}function ie(e){for(var t,n=ne(),a=e.length,r=A().validPositions[O()];n<a&&!q(n,!0)&&(t=r!==i?D(n,r.locator.slice(""),r):G(n))&&!0!==t.match.optionality&&(!0!==t.match.optionalQuantifier&&!0!==t.match.newBlockMarker||n+1===a&&""===(r!==i?D(n+1,r.locator.slice(""),r):G(n+1)).match.def);)n++;for(;(t=A().validPositions[n-1])&&t&&t.match.optionality&&t.input===u.skipOptionalPartCharacter;)n--;return e.splice(n),e}function ae(t){if(e.isFunction(u.isComplete))return u.isComplete(t,u);if("*"===u.repeat)return i;var n=!1,a=ne(!0),r=U(a.l);if(a.def===i||a.def.newBlockMarker||a.def.optionality||a.def.optionalQuantifier){n=!0;for(var o=0;o<=r;o++){var s=D(o).match;if(null!==s.fn&&A().validPositions[o]===i&&!0!==s.optionality&&!0!==s.optionalQuantifier||null===s.fn&&t[o]!==$(o,s)){n=!1;break}}}return n}function re(e,t,n,a,r){if((u.numericInput||b)&&(t===l.keyCode.BACKSPACE?t=l.keyCode.DELETE:t===l.keyCode.DELETE&&(t=l.keyCode.BACKSPACE),b)){var o=n.end;n.end=n.begin,n.begin=o}if(t===l.keyCode.BACKSPACE&&(n.end-n.begin<1||!1===u.insertMode)?(n.begin=U(n.begin),A().validPositions[n.begin]!==i&&A().validPositions[n.begin].input===u.groupSeparator&&n.begin--,!1===u.insertMode&&n.end!==A().maskLength&&n.end--):t===l.keyCode.DELETE&&n.begin===n.end&&(n.end=q(n.end,!0)&&A().validPositions[n.end]&&A().validPositions[n.end].input!==u.radixPoint?n.end+1:Q(n.end)+1,A().validPositions[n.begin]!==i&&A().validPositions[n.begin].input===u.groupSeparator&&n.end++),H(n),!0!==a&&null!==u.keepStatic&&!1!==u.keepStatic){var s=R(!0);s&&(n.begin=s.caret!==i?s.caret:s.pos?Q(s.pos.begin?s.pos.begin:s.pos):O(-1,!0))}var c=O(n.begin,!0);if(c<n.begin||-1===n.begin)A().p=Q(c);else if(!0!==a&&(A().p=n.begin,!0!==r))for(;A().p<c&&A().validPositions[A().p]===i;)A().p++}function oe(i){var a=(i.ownerDocument.defaultView||t).getComputedStyle(i,null);var r=n.createElement("div");r.style.width=a.width,r.style.textAlign=a.textAlign,v=n.createElement("div"),i.inputmask.colorMask=v,v.className="im-colormask",i.parentNode.insertBefore(v,i),i.parentNode.removeChild(i),v.appendChild(i),v.appendChild(r),i.style.left=r.offsetLeft+"px",e(v).on("mouseleave",function(e){return X.mouseleaveEvent.call(i,[e])}),e(v).on("mouseenter",function(e){return X.mouseenterEvent.call(i,[e])}),e(v).on("click",function(e){return te(i,function(e){var t,r=n.createElement("span");for(var o in a)isNaN(o)&&-1!==o.indexOf("font")&&(r.style[o]=a[o]);r.style.textTransform=a.textTransform,r.style.letterSpacing=a.letterSpacing,r.style.position="absolute",r.style.height="auto",r.style.width="auto",r.style.visibility="hidden",r.style.whiteSpace="nowrap",n.body.appendChild(r);var s,l=i.inputmask._valueGet(),c=0;for(t=0,s=l.length;t<=s;t++){if(r.innerHTML+=l.charAt(t)||"_",r.offsetWidth>=e){var u=e-c,f=r.offsetWidth-e;r.innerHTML=l.charAt(t),t=(u-=r.offsetWidth/3)<f?t-1:t;break}c=r.offsetWidth}return n.body.removeChild(r),t}(e.clientX)),X.clickEvent.call(i,[e])}),e(i).on("keydown",function(e){e.shiftKey||!1===u.insertMode||setTimeout(function(){se(i)},0)})}function se(e,t,a){var r,o,s,l=[],c=!1,f=0;function p(e){if(e===i&&(e=""),c||null!==r.fn&&o.input!==i)if(c&&(null!==r.fn&&o.input!==i||""===r.def)){c=!1;var t=l.length;l[t-1]=l[t-1]+"</span>",l.push(e)}else l.push(e);else c=!0,l.push("<span class='im-static'>"+e)}if(v!==i){var h=I();if(t===i?t=te(e):t.begin===i&&(t={begin:t,end:t}),!0!==a){var m=O();do{A().validPositions[f]?(o=A().validPositions[f],r=o.match,s=o.locator.slice(),p(h[f])):(o=D(f,s,f-1),r=o.match,s=o.locator.slice(),(!1===u.jitMasking||f<m||"number"==typeof u.jitMasking&&isFinite(u.jitMasking)&&u.jitMasking>f)&&p($(f,r))),f++}while((d===i||f<d)&&(null!==r.fn||""!==r.def)||m>f||c);c&&p(),n.activeElement===e&&(l.splice(t.begin,0,t.begin===t.end||t.end>A().maskLength?'<mark class="im-caret" style="border-right-width: 1px;border-right-style: solid;">':'<mark class="im-caret-select">'),l.splice(t.end+1,0,"</mark>"))}var k=v.getElementsByTagName("div")[0];k.innerHTML=l.join(""),e.inputmask.positionColorMask(e,k)}}if(l.prototype.positionColorMask=function(e,t){e.style.left=t.offsetLeft+"px"},a!==i)switch(a.action){case"isComplete":return g=a.el,ae(I());case"unmaskedvalue":return g!==i&&a.value===i||(Z=a.value,Z=(e.isFunction(u.onBeforeMask)&&u.onBeforeMask.call(k,Z,u)||Z).split(""),J(i,!1,!1,b?Z.reverse():Z),e.isFunction(u.onBeforeWrite)&&u.onBeforeWrite.call(k,i,I(),0,u)),Y(g);case"mask":!function(t){z.off(t);var a=function(t,a){var r=t.getAttribute("type"),o="INPUT"===t.tagName&&-1!==e.inArray(r,a.supportsInputType)||t.isContentEditable||"TEXTAREA"===t.tagName;if(!o)if("INPUT"===t.tagName){var s=n.createElement("input");s.setAttribute("type",r),o="text"===s.type,s=null}else o="partial";return!1!==o?function(t){var r,o,s;function l(){return this.inputmask?this.inputmask.opts.autoUnmask?this.inputmask.unmaskedvalue():-1!==O()||!0!==a.nullable?n.activeElement===this&&a.clearMaskOnLostFocus?(b?ie(I().slice()).reverse():ie(I().slice())).join(""):r.call(this):"":r.call(this)}function c(t){o.call(this,t),this.inputmask&&e(this).trigger("setvalue",[t])}if(!t.inputmask.__valueGet){if(!0!==a.noValuePatching){if(Object.getOwnPropertyDescriptor){"function"!=typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"==typeof"test".__proto__?function(e){return e.__proto__}:function(e){return e.constructor.prototype});var u=Object.getPrototypeOf?Object.getOwnPropertyDescriptor(Object.getPrototypeOf(t),"value"):i;u&&u.get&&u.set?(r=u.get,o=u.set,Object.defineProperty(t,"value",{get:l,set:c,configurable:!0})):"INPUT"!==t.tagName&&(r=function(){return this.textContent},o=function(e){this.textContent=e},Object.defineProperty(t,"value",{get:l,set:c,configurable:!0}))}else n.__lookupGetter__&&t.__lookupGetter__("value")&&(r=t.__lookupGetter__("value"),o=t.__lookupSetter__("value"),t.__defineGetter__("value",l),t.__defineSetter__("value",c));t.inputmask.__valueGet=r,t.inputmask.__valueSet=o}t.inputmask._valueGet=function(e){return b&&!0!==e?r.call(this.el).split("").reverse().join(""):r.call(this.el)},t.inputmask._valueSet=function(e,t){o.call(this.el,null===e||e===i?"":!0!==t&&b?e.split("").reverse().join(""):e)},r===i&&(r=function(){return this.value},o=function(e){this.value=e},function(t){if(e.valHooks&&(e.valHooks[t]===i||!0!==e.valHooks[t].inputmaskpatch)){var n=e.valHooks[t]&&e.valHooks[t].get?e.valHooks[t].get:function(e){return e.value},r=e.valHooks[t]&&e.valHooks[t].set?e.valHooks[t].set:function(e,t){return e.value=t,e};e.valHooks[t]={get:function(e){if(e.inputmask){if(e.inputmask.opts.autoUnmask)return e.inputmask.unmaskedvalue();var t=n(e);return-1!==O(i,i,e.inputmask.maskset.validPositions)||!0!==a.nullable?t:""}return n(e)},set:function(t,n){var i,a=e(t);return i=r(t,n),t.inputmask&&a.trigger("setvalue",[n]),i},inputmaskpatch:!0}}}(t.type),s=t,z.on(s,"mouseenter",function(t){var n=e(this);this.inputmask._valueGet()!==I().join("")&&n.trigger("setvalue")}))}}(t):t.inputmask=i,o}(t,u);if(!1!==a&&(m=e(g=t),-1===(d=g!==i?g.maxLength:i)&&(d=i),!0===u.colorMask&&oe(g),r&&("inputmode"in g&&(g.inputmode=u.inputmode,g.setAttribute("inputmode",u.inputmode)),!0===u.disablePredictiveText&&("autocorrect"in g?g.autocorrect=!1:(!0!==u.colorMask&&oe(g),g.type="password"))),!0===a&&(z.on(g,"submit",X.submitEvent),z.on(g,"reset",X.resetEvent),z.on(g,"blur",X.blurEvent),z.on(g,"focus",X.focusEvent),!0!==u.colorMask&&(z.on(g,"click",X.clickEvent),z.on(g,"mouseleave",X.mouseleaveEvent),z.on(g,"mouseenter",X.mouseenterEvent)),z.on(g,"dblclick",X.dblclickEvent),z.on(g,"paste",X.pasteEvent),z.on(g,"dragdrop",X.pasteEvent),z.on(g,"drop",X.pasteEvent),z.on(g,"cut",X.cutEvent),z.on(g,"complete",u.oncomplete),z.on(g,"incomplete",u.onincomplete),z.on(g,"cleared",u.oncleared),r||!0===u.inputEventOnly?g.removeAttribute("maxLength"):(z.on(g,"keydown",X.keydownEvent),z.on(g,"keypress",X.keypressEvent)),z.on(g,"compositionstart",e.noop),z.on(g,"compositionupdate",e.noop),z.on(g,"compositionend",e.noop),z.on(g,"keyup",e.noop),z.on(g,"input",X.inputFallBackEvent),z.on(g,"beforeinput",e.noop)),z.on(g,"setvalue",X.setValueEvent),h=L().join(""),""!==g.inputmask._valueGet(!0)||!1===u.clearMaskOnLostFocus||n.activeElement===g)){var o=e.isFunction(u.onBeforeMask)&&u.onBeforeMask.call(k,g.inputmask._valueGet(!0),u)||g.inputmask._valueGet(!0);""!==o&&J(g,!0,!1,b?o.split("").reverse():o.split(""));var s=I().slice();h=s.join(""),!1===ae(s)&&u.clearIncomplete&&w(),u.clearMaskOnLostFocus&&n.activeElement!==g&&(-1===O()?s=[]:ie(s)),W(g,s),n.activeElement===g&&te(g,Q(O()))}}(g);break;case"format":return Z=(e.isFunction(u.onBeforeMask)&&u.onBeforeMask.call(k,a.value,u)||a.value).split(""),J(i,!0,!1,b?Z.reverse():Z),a.metadata?{value:b?I().slice().reverse().join(""):I().join(""),metadata:p.call(this,{action:"getmetadata"},c,u)}:b?I().slice().reverse().join(""):I().join("");case"isValid":a.value?(Z=a.value.split(""),J(i,!0,!0,b?Z.reverse():Z)):a.value=I().join("");for(var le=I(),ce=ne(),ue=le.length-1;ue>ce&&!q(ue);ue--);return le.splice(ce,ue+1-ce),ae(le)&&a.value===I().join("");case"getemptymask":return L().join("");case"remove":if(g&&g.inputmask)e.data(g,"_inputmask_opts",null),m=e(g),g.inputmask._valueSet(u.autoUnmask?Y(g):g.inputmask._valueGet(!0)),z.off(g),g.inputmask.colorMask&&((v=g.inputmask.colorMask).removeChild(g),v.parentNode.insertBefore(g,v),v.parentNode.removeChild(v)),Object.getOwnPropertyDescriptor&&Object.getPrototypeOf?Object.getOwnPropertyDescriptor(Object.getPrototypeOf(g),"value")&&g.inputmask.__valueGet&&Object.defineProperty(g,"value",{get:g.inputmask.__valueGet,set:g.inputmask.__valueSet,configurable:!0}):n.__lookupGetter__&&g.__lookupGetter__("value")&&g.inputmask.__valueGet&&(g.__defineGetter__("value",g.inputmask.__valueGet),g.__defineSetter__("value",g.inputmask.__valueSet)),g.inputmask=i;return g;case"getmetadata":if(e.isArray(c.metadata)){var fe=_(!0,0,!1).join("");return e.each(c.metadata,function(e,t){if(t.mask===fe)return fe=t,!1}),fe}return c.metadata}}return l.prototype={dataAttribute:"data-inputmask",defaults:{placeholder:"_",optionalmarker:["[","]"],quantifiermarker:["{","}"],groupmarker:["(",")"],alternatormarker:"|",escapeChar:"\\",mask:null,regex:null,oncomplete:e.noop,onincomplete:e.noop,oncleared:e.noop,repeat:0,greedy:!0,autoUnmask:!1,removeMaskOnSubmit:!1,clearMaskOnLostFocus:!0,insertMode:!0,clearIncomplete:!1,alias:null,onKeyDown:e.noop,onBeforeMask:null,onBeforePaste:function(t,n){return e.isFunction(n.onBeforeMask)?n.onBeforeMask.call(this,t,n):t},onBeforeWrite:null,onUnMask:null,showMaskOnFocus:!0,showMaskOnHover:!0,onKeyValidation:e.noop,skipOptionalPartCharacter:" ",numericInput:!1,rightAlign:!1,undoOnEscape:!0,radixPoint:"",_radixDance:!1,groupSeparator:"",keepStatic:null,positionCaretOnTab:!0,tabThrough:!1,supportsInputType:["text","tel","password","search"],ignorables:[8,9,13,19,27,33,34,35,36,37,38,39,40,45,46,93,112,113,114,115,116,117,118,119,120,121,122,123,0,229],isComplete:null,preValidation:null,postValidation:null,staticDefinitionSymbol:i,jitMasking:!1,nullable:!0,inputEventOnly:!1,noValuePatching:!1,positionCaretOnClick:"lvp",casing:null,inputmode:"verbatim",colorMask:!1,disablePredictiveText:!1,importDataAttributes:!0},definitions:{9:{validator:"[0-91-9]",definitionSymbol:"*"},a:{validator:"[A-Za-zА-яЁёÀ-ÿµ]",definitionSymbol:"*"},"*":{validator:"[0-91-9A-Za-zА-яЁёÀ-ÿµ]"}},aliases:{},masksCache:{},mask:function(a){var r=this;return"string"==typeof a&&(a=n.getElementById(a)||n.querySelectorAll(a)),a=a.nodeName?[a]:a,e.each(a,function(n,a){var o=e.extend(!0,{},r.opts);if(function(n,a,r,o){if(!0===a.importDataAttributes){var s,l,u,f,p=n.getAttribute(o);function h(e,a){null!==(a=a!==i?a:n.getAttribute(o+"-"+e))&&("string"==typeof a&&(0===e.indexOf("on")?a=t[a]:"false"===a?a=!1:"true"===a&&(a=!0)),r[e]=a)}if(p&&""!==p&&(p=p.replace(/'/g,'"'),l=JSON.parse("{"+p+"}")),l)for(f in u=i,l)if("alias"===f.toLowerCase()){u=l[f];break}for(s in h("alias",u),r.alias&&c(r.alias,r,a),a){if(l)for(f in u=i,l)if(f.toLowerCase()===s.toLowerCase()){u=l[f];break}h(s,u)}}return e.extend(!0,a,r),("rtl"===n.dir||a.rightAlign)&&(n.style.textAlign="right"),("rtl"===n.dir||a.numericInput)&&(n.dir="ltr",n.removeAttribute("dir"),a.isRTL=!0),Object.keys(r).length}(a,o,e.extend(!0,{},r.userOptions),r.dataAttribute)){var s=u(o,r.noMasksCache);s!==i&&(a.inputmask!==i&&(a.inputmask.opts.autoUnmask=!0,a.inputmask.remove()),a.inputmask=new l(i,i,!0),a.inputmask.opts=o,a.inputmask.noMasksCache=r.noMasksCache,a.inputmask.userOptions=e.extend(!0,{},r.userOptions),a.inputmask.isRTL=o.isRTL||o.numericInput,a.inputmask.el=a,a.inputmask.maskset=s,e.data(a,"_inputmask_opts",o),p.call(a.inputmask,{action:"mask"}))}}),a&&a[0]&&a[0].inputmask||this},option:function(t,n){return"string"==typeof t?this.opts[t]:"object"==typeof t?(e.extend(this.userOptions,t),this.el&&!0!==n&&this.mask(this.el),this):void 0},unmaskedvalue:function(e){return this.maskset=this.maskset||u(this.opts,this.noMasksCache),p.call(this,{action:"unmaskedvalue",value:e})},remove:function(){return p.call(this,{action:"remove"})},getemptymask:function(){return this.maskset=this.maskset||u(this.opts,this.noMasksCache),p.call(this,{action:"getemptymask"})},hasMaskedValue:function(){return!this.opts.autoUnmask},isComplete:function(){return this.maskset=this.maskset||u(this.opts,this.noMasksCache),p.call(this,{action:"isComplete"})},getmetadata:function(){return this.maskset=this.maskset||u(this.opts,this.noMasksCache),p.call(this,{action:"getmetadata"})},isValid:function(e){return this.maskset=this.maskset||u(this.opts,this.noMasksCache),p.call(this,{action:"isValid",value:e})},format:function(e,t){return this.maskset=this.maskset||u(this.opts,this.noMasksCache),p.call(this,{action:"format",value:e,metadata:t})},setValue:function(t){this.el&&e(this.el).trigger("setvalue",[t])},analyseMask:function(t,n,a){var r,o,s,c,u,f,p=/(?:[?*+]|\{[0-9\+\*]+(?:,[0-9\+\*]*)?(?:\|[0-9\+\*]*)?\})|[^.?*+^${[]()|\\]+|./g,h=/\[\^?]?(?:[^\\\]]+|\\[\S\s]?)*]?|\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9][0-9]*|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}|c[A-Za-z]|[\S\s]?)|\((?:\?[:=!]?)?|(?:[?*+]|\{[0-9]+(?:,[0-9]*)?\})\??|[^.?*+^${[()|\\]+|./g,m=!1,d=new g,v=[],k=[];function g(e,t,n,i){this.matches=[],this.openGroup=e||!1,this.alternatorGroup=!1,this.isGroup=e||!1,this.isOptional=t||!1,this.isQuantifier=n||!1,this.isAlternator=i||!1,this.quantifier={min:1,max:1}}function b(t,r,o){o=o!==i?o:t.matches.length;var s=t.matches[o-1];if(n)0===r.indexOf("[")||m&&/\\d|\\s|\\w]/i.test(r)||"."===r?t.matches.splice(o++,0,{fn:new RegExp(r,a.casing?"i":""),optionality:t.isOptional,newBlockMarker:s===i||s.def!==r,casing:null,def:r,placeholder:i,nativeDef:r}):(m&&(r=r[r.length-1]),e.each(r.split(""),function(e,n){s=t.matches[o-1],t.matches.splice(o++,0,{fn:null,optionality:t.isOptional,newBlockMarker:s===i||s.def!==n&&null!==s.fn,casing:null,def:a.staticDefinitionSymbol||n,placeholder:a.staticDefinitionSymbol!==i?n:i,nativeDef:n})})),m=!1;else{var c=(a.definitions?a.definitions[r]:i)||l.prototype.definitions[r];c&&!m?t.matches.splice(o++,0,{fn:c.validator?"string"==typeof c.validator?new RegExp(c.validator,a.casing?"i":""):new function(){this.test=c.validator}:new RegExp("."),optionality:t.isOptional,newBlockMarker:s===i||s.def!==(c.definitionSymbol||r),casing:c.casing,def:c.definitionSymbol||r,placeholder:c.placeholder,nativeDef:r}):(t.matches.splice(o++,0,{fn:null,optionality:t.isOptional,newBlockMarker:s===i||s.def!==r&&null!==s.fn,casing:null,def:a.staticDefinitionSymbol||r,placeholder:a.staticDefinitionSymbol!==i?r:i,nativeDef:r}),m=!1)}}function y(){if(v.length>0){if(b(c=v[v.length-1],o),c.isAlternator){u=v.pop();for(var e=0;e<u.matches.length;e++)u.matches[e].isGroup&&(u.matches[e].isGroup=!1);v.length>0?(c=v[v.length-1]).matches.push(u):d.matches.push(u)}}else b(d,o)}function P(e){var t=new g(!0);return t.openGroup=!1,t.matches=e,t}for(n&&(a.optionalmarker[0]=i,a.optionalmarker[1]=i);r=n?h.exec(t):p.exec(t);){if(o=r[0],n)switch(o.charAt(0)){case"?":o="{0,1}";break;case"+":case"*":o="{"+o+"}"}if(m)y();else switch(o.charAt(0)){case a.escapeChar:m=!0,n&&y();break;case a.optionalmarker[1]:case a.groupmarker[1]:if((s=v.pop()).openGroup=!1,s!==i)if(v.length>0){if((c=v[v.length-1]).matches.push(s),c.isAlternator){u=v.pop();for(var C=0;C<u.matches.length;C++)u.matches[C].isGroup=!1,u.matches[C].alternatorGroup=!1;v.length>0?(c=v[v.length-1]).matches.push(u):d.matches.push(u)}}else d.matches.push(s);else y();break;case a.optionalmarker[0]:v.push(new g(!1,!0));break;case a.groupmarker[0]:v.push(new g(!0));break;case a.quantifiermarker[0]:var E=new g(!1,!1,!0),x=(o=o.replace(/[{}]/g,"")).split("|"),_=x[0].split(","),A=isNaN(_[0])?_[0]:parseInt(_[0]),w=1===_.length?A:isNaN(_[1])?_[1]:parseInt(_[1]);"*"!==w&&"+"!==w||(A="*"===w?0:1),E.quantifier={min:A,max:w,jit:x[1]};var O=v.length>0?v[v.length-1].matches:d.matches;if((r=O.pop()).isAlternator){O.push(r),O=r.matches;var S=new g(!0),M=O.pop();O.push(S),O=S.matches,r=M}r.isGroup||(n&&null===r.fn&&"."===r.def&&(r.fn=new RegExp(r.def,a.casing?"i":"")),r=P([r])),O.push(r),O.push(E);break;case a.alternatormarker:function j(e){var t=e.pop();return t.isQuantifier&&(t=P([e.pop(),t])),t}if(v.length>0){var D=(c=v[v.length-1]).matches[c.matches.length-1];f=c.openGroup&&(D.matches===i||!1===D.isGroup&&!1===D.isAlternator)?v.pop():j(c.matches)}else f=j(d.matches);if(f.isAlternator)v.push(f);else if(f.alternatorGroup?(u=v.pop(),f.alternatorGroup=!1):u=new g(!1,!1,!1,!0),u.matches.push(f),v.push(u),f.openGroup){f.openGroup=!1;var G=new g(!0);G.alternatorGroup=!0,v.push(G)}break;default:y()}}for(;v.length>0;)s=v.pop(),d.matches.push(s);return d.matches.length>0&&(!function t(r){r&&r.matches&&e.each(r.matches,function(e,o){var s=r.matches[e+1];(s===i||s.matches===i||!1===s.isQuantifier)&&o&&o.isGroup&&(o.isGroup=!1,n||(b(o,a.groupmarker[0],0),!0!==o.openGroup&&b(o,a.groupmarker[1]))),t(o)})}(d),k.push(d)),(a.numericInput||a.isRTL)&&function e(t){for(var n in t.matches=t.matches.reverse(),t.matches)if(t.matches.hasOwnProperty(n)){var r=parseInt(n);if(t.matches[n].isQuantifier&&t.matches[r+1]&&t.matches[r+1].isGroup){var o=t.matches[n];t.matches.splice(n,1),t.matches.splice(r+1,0,o)}t.matches[n].matches!==i?t.matches[n]=e(t.matches[n]):t.matches[n]=((s=t.matches[n])===a.optionalmarker[0]?s=a.optionalmarker[1]:s===a.optionalmarker[1]?s=a.optionalmarker[0]:s===a.groupmarker[0]?s=a.groupmarker[1]:s===a.groupmarker[1]&&(s=a.groupmarker[0]),s)}var s;return t}(k[0]),k}},l.extendDefaults=function(t){e.extend(!0,l.prototype.defaults,t)},l.extendDefinitions=function(t){e.extend(!0,l.prototype.definitions,t)},l.extendAliases=function(t){e.extend(!0,l.prototype.aliases,t)},l.format=function(e,t,n){return l(t).format(e,n)},l.unmask=function(e,t){return l(t).unmaskedvalue(e)},l.isValid=function(e,t){return l(t).isValid(e)},l.remove=function(t){"string"==typeof t&&(t=n.getElementById(t)||n.querySelectorAll(t)),t=t.nodeName?[t]:t,e.each(t,function(e,t){t.inputmask&&t.inputmask.remove()})},l.setValue=function(t,i){"string"==typeof t&&(t=n.getElementById(t)||n.querySelectorAll(t)),t=t.nodeName?[t]:t,e.each(t,function(t,n){n.inputmask?n.inputmask.setValue(i):e(n).trigger("setvalue",[i])})},l.escapeRegex=function(e){return e.replace(new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^"].join("|\\")+")","gim"),"\\$1")},l.keyCode={BACKSPACE:8,BACKSPACE_SAFARI:127,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,RIGHT:39,SPACE:32,TAB:9,UP:38,X:88,CONTROL:17},l}); |
@@ -6,5 +6,5 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.32 | ||
* Version: 4.0.0-beta.33 | ||
*/ | ||
!function(e){"function"==typeof define&&define.amd?define(["./dependencyLibs/inputmask.dependencyLib","./inputmask"],e):"object"==typeof exports?module.exports=e(require("./dependencyLibs/inputmask.dependencyLib"),require("./inputmask")):e(window.dependencyLib||jQuery,window.Inputmask)}(function(e,i,r){function t(e,r){for(var t="",a=0;a<e.length;a++)i.prototype.definitions[e.charAt(a)]||r.definitions[e.charAt(a)]||r.optionalmarker.start===e.charAt(a)||r.optionalmarker.end===e.charAt(a)||r.quantifiermarker.start===e.charAt(a)||r.quantifiermarker.end===e.charAt(a)||r.groupmarker.start===e.charAt(a)||r.groupmarker.end===e.charAt(a)||r.alternatormarker===e.charAt(a)?t+="\\"+e.charAt(a):t+=e.charAt(a);return t}return i.extendAliases({numeric:{mask:function(e){if(0!==e.repeat&&isNaN(e.integerDigits)&&(e.integerDigits=e.repeat),e.repeat=0,e.groupSeparator===e.radixPoint&&e.digits&&"0"!==e.digits&&("."===e.radixPoint?e.groupSeparator=",":","===e.radixPoint?e.groupSeparator=".":e.groupSeparator="")," "===e.groupSeparator&&(e.skipOptionalPartCharacter=r),e.autoGroup=e.autoGroup&&""!==e.groupSeparator,e.autoGroup&&("string"==typeof e.groupSize&&isFinite(e.groupSize)&&(e.groupSize=parseInt(e.groupSize)),isFinite(e.integerDigits))){var i=Math.floor(e.integerDigits/e.groupSize),a=e.integerDigits%e.groupSize;e.integerDigits=parseInt(e.integerDigits)+(0===a?i-1:i),e.integerDigits<1&&(e.integerDigits="*")}e.placeholder.length>1&&(e.placeholder=e.placeholder.charAt(0)),"radixFocus"===e.positionCaretOnClick&&""===e.placeholder&&!1===e.integerOptional&&(e.positionCaretOnClick="lvp"),e.definitions[";"]=e.definitions["~"],e.definitions[";"].definitionSymbol="~",!0===e.numericInput&&(e.positionCaretOnClick="radixFocus"===e.positionCaretOnClick?"lvp":e.positionCaretOnClick,e.digitsOptional=!1,isNaN(e.digits)&&(e.digits=2),e.decimalProtect=!1);var n="[+]";if(n+=t(e.prefix,e),!0===e.integerOptional?n+="~{1,"+e.integerDigits+"}":n+="~{"+e.integerDigits+"}",e.digits!==r){var o=e.decimalProtect?":":e.radixPoint,p=e.digits.toString().split(",");isFinite(p[0])&&p[1]&&isFinite(p[1])?n+=o+";{"+e.digits+"}":(isNaN(e.digits)||parseInt(e.digits)>0)&&(e.digitsOptional?n+="["+o+";{1,"+e.digits+"}]":n+=o+";{"+e.digits+"}")}return n+=t(e.suffix,e),n+="[-]",e.greedy=!1,n},placeholder:"",greedy:!1,digits:"*",digitsOptional:!0,enforceDigitsOnBlur:!1,radixPoint:".",positionCaretOnClick:"radixFocus",groupSize:3,groupSeparator:"",autoGroup:!1,allowMinus:!0,negationSymbol:{front:"-",back:""},integerDigits:"+",integerOptional:!0,prefix:"",suffix:"",rightAlign:!0,decimalProtect:!0,min:null,max:null,step:1,insertMode:!0,autoUnmask:!1,unmaskAsNumber:!1,inputmode:"numeric",preValidation:function(i,t,a,n,o,p){if("-"===a||a===o.negationSymbol.front)return!0===o.allowMinus&&(o.isNegative=o.isNegative===r||!o.isNegative,""===i.join("")||{caret:t,dopost:!0});if(!1===n&&a===o.radixPoint&&o.digits!==r&&(isNaN(o.digits)||parseInt(o.digits)>0)){var s=e.inArray(o.radixPoint,i);if(-1!==s&&p.validPositions[s]!==r)return!0===o.numericInput?t===s:{caret:s+1}}return!0},postValidation:function(t,a,n){var o=n.suffix.split(""),p=n.prefix.split("");if(a.pos===r&&a.caret!==r&&!0!==a.dopost)return a;var s=a.caret!==r?a.caret:a.pos,l=t.slice();n.numericInput&&(s=l.length-s-1,l=l.reverse());var g=l[s];if(g===n.groupSeparator&&(g=l[s+=1]),s===l.length-n.suffix.length-1&&g===n.radixPoint)return a;g!==r&&g!==n.radixPoint&&g!==n.negationSymbol.front&&g!==n.negationSymbol.back&&(l[s]="?",n.prefix.length>0&&s>=(!1===n.isNegative?1:0)&&s<n.prefix.length-1+(!1===n.isNegative?1:0)?p[s-(!1===n.isNegative?1:0)]="?":n.suffix.length>0&&s>=l.length-n.suffix.length-(!1===n.isNegative?1:0)&&(o[s-(l.length-n.suffix.length-(!1===n.isNegative?1:0))]="?")),p=p.join(""),o=o.join("");var c=l.join("").replace(p,"");if(c=(c=(c=(c=c.replace(o,"")).replace(new RegExp(i.escapeRegex(n.groupSeparator),"g"),"")).replace(new RegExp("[-"+i.escapeRegex(n.negationSymbol.front)+"]","g"),"")).replace(new RegExp(i.escapeRegex(n.negationSymbol.back)+"$"),""),isNaN(n.placeholder)&&(c=c.replace(new RegExp(i.escapeRegex(n.placeholder),"g"),"")),c.length>1&&1!==c.indexOf(n.radixPoint)&&("0"===g&&(c=c.replace(/^\?/g,"")),c=c.replace(/^0/g,"")),c.charAt(0)===n.radixPoint&&""!==n.radixPoint&&!0!==n.numericInput&&(c="0"+c),""!==c){if(c=c.split(""),(!n.digitsOptional||n.enforceDigitsOnBlur&&"blur"===a.event)&&isFinite(n.digits)){var d=e.inArray(n.radixPoint,c),u=e.inArray(n.radixPoint,l);-1===d&&(c.push(n.radixPoint),d=c.length-1);for(var x=1;x<=n.digits;x++)n.digitsOptional&&(!n.enforceDigitsOnBlur||"blur"!==a.event)||c[d+x]!==r&&c[d+x]!==n.placeholder.charAt(0)?-1!==u&&l[u+x]!==r&&(c[d+x]=c[d+x]||l[u+x]):c[d+x]=a.placeholder||n.placeholder.charAt(0)}if(!0!==n.autoGroup||""===n.groupSeparator||g===n.radixPoint&&a.pos===r&&!a.dopost)c=c.join("");else{var f=c[c.length-1]===n.radixPoint&&a.c===n.radixPoint;c=i(function(e,i){var r="";if(r+="("+i.groupSeparator+"*{"+i.groupSize+"}){*}",""!==i.radixPoint){var t=e.join("").split(i.radixPoint);t[1]&&(r+=i.radixPoint+"*{"+t[1].match(/^\d*\??\d*/)[0].length+"}")}return r}(c,n),{numericInput:!0,jitMasking:!0,definitions:{"*":{validator:"[0-9?]",cardinality:1}}}).format(c.join("")),f&&(c+=n.radixPoint),c.charAt(0)===n.groupSeparator&&c.substr(1)}}if(n.isNegative&&"blur"===a.event&&(n.isNegative="0"!==c),c=p+c,c+=o,n.isNegative&&(c=n.negationSymbol.front+c,c+=n.negationSymbol.back),c=c.split(""),g!==r)if(g!==n.radixPoint&&g!==n.negationSymbol.front&&g!==n.negationSymbol.back)(s=e.inArray("?",c))>-1?c[s]=g:s=a.caret||0;else if(g===n.radixPoint||g===n.negationSymbol.front||g===n.negationSymbol.back){var m=e.inArray(g,c);-1!==m&&(s=m)}n.numericInput&&(s=c.length-s-1,c=c.reverse());var h={caret:g===r||a.pos!==r?s+(n.numericInput?-1:1):s,buffer:c,refreshFromBuffer:a.dopost||t.join("")!==c.join("")};return h.refreshFromBuffer?h:a},onBeforeWrite:function(t,a,n,o){if(t)switch(t.type){case"keydown":return o.postValidation(a,{caret:n,dopost:!0},o);case"blur":case"checkval":var p;if((s=o).parseMinMaxOptions===r&&(null!==s.min&&(s.min=s.min.toString().replace(new RegExp(i.escapeRegex(s.groupSeparator),"g"),""),","===s.radixPoint&&(s.min=s.min.replace(s.radixPoint,".")),s.min=isFinite(s.min)?parseFloat(s.min):NaN,isNaN(s.min)&&(s.min=Number.MIN_VALUE)),null!==s.max&&(s.max=s.max.toString().replace(new RegExp(i.escapeRegex(s.groupSeparator),"g"),""),","===s.radixPoint&&(s.max=s.max.replace(s.radixPoint,".")),s.max=isFinite(s.max)?parseFloat(s.max):NaN,isNaN(s.max)&&(s.max=Number.MAX_VALUE)),s.parseMinMaxOptions="done"),null!==o.min||null!==o.max){if(p=o.onUnMask(a.join(""),r,e.extend({},o,{unmaskAsNumber:!0})),null!==o.min&&p<o.min)return o.isNegative=o.min<0,o.postValidation(o.min.toString().replace(".",o.radixPoint).split(""),{caret:n,dopost:!0,placeholder:"0"},o);if(null!==o.max&&p>o.max)return o.isNegative=o.max<0,o.postValidation(o.max.toString().replace(".",o.radixPoint).split(""),{caret:n,dopost:!0,placeholder:"0"},o)}return o.postValidation(a,{caret:n,placeholder:"0",event:"blur"},o);case"_checkval":return{caret:n}}var s},regex:{integerPart:function(e,r){return r?new RegExp("["+i.escapeRegex(e.negationSymbol.front)+"+]?"):new RegExp("["+i.escapeRegex(e.negationSymbol.front)+"+]?\\d+")},integerNPart:function(e){return new RegExp("[\\d"+i.escapeRegex(e.groupSeparator)+i.escapeRegex(e.placeholder.charAt(0))+"]+")}},definitions:{"~":{validator:function(e,t,a,n,o,p){var s=n?new RegExp("[0-9"+i.escapeRegex(o.groupSeparator)+"]").test(e):new RegExp("[0-9]").test(e);if(!0===s){if(!0!==o.numericInput&&t.validPositions[a]!==r&&"~"===t.validPositions[a].match.def&&!p){var l=t.buffer.join(""),g=(l=(l=l.replace(new RegExp("[-"+i.escapeRegex(o.negationSymbol.front)+"]","g"),"")).replace(new RegExp(i.escapeRegex(o.negationSymbol.back)+"$"),"")).split(o.radixPoint);g.length>1&&(g[1]=g[1].replace(/0/g,o.placeholder.charAt(0))),"0"===g[0]&&(g[0]=g[0].replace(/0/g,o.placeholder.charAt(0))),l=g[0]+o.radixPoint+g[1]||"";var c=t._buffer.join("");for(l===o.radixPoint&&(l=c);null===l.match(i.escapeRegex(c)+"$");)c=c.slice(1);s=(l=(l=l.replace(c,"")).split(""))[a]===r?{pos:a,remove:a}:{pos:a}}}else n||e!==o.radixPoint||t.validPositions[a-1]!==r||(s={insert:{pos:a,c:0},pos:a+1});return s},cardinality:1},"+":{validator:function(e,i,r,t,a){return a.allowMinus&&("-"===e||e===a.negationSymbol.front)},cardinality:1,placeholder:""},"-":{validator:function(e,i,r,t,a){return a.allowMinus&&e===a.negationSymbol.back},cardinality:1,placeholder:""},":":{validator:function(e,r,t,a,n){var o="["+i.escapeRegex(n.radixPoint)+"]",p=new RegExp(o).test(e);return p&&r.validPositions[t]&&r.validPositions[t].match.placeholder===n.radixPoint&&(p={caret:t+1}),p},cardinality:1,placeholder:function(e){return e.radixPoint}}},onUnMask:function(e,r,t){if(""===r&&!0===t.nullable)return r;var a=e.replace(t.prefix,"");return a=(a=a.replace(t.suffix,"")).replace(new RegExp(i.escapeRegex(t.groupSeparator),"g"),""),""!==t.placeholder.charAt(0)&&(a=a.replace(new RegExp(t.placeholder.charAt(0),"g"),"0")),t.unmaskAsNumber?(""!==t.radixPoint&&-1!==a.indexOf(t.radixPoint)&&(a=a.replace(i.escapeRegex.call(this,t.radixPoint),".")),a=(a=a.replace(new RegExp("^"+i.escapeRegex(t.negationSymbol.front)),"-")).replace(new RegExp(i.escapeRegex(t.negationSymbol.back)+"$"),""),Number(a)):a},isComplete:function(e,r){var t=e.join("");if(e.slice().join("")!==t)return!1;var a=t.replace(r.prefix,"");return a=(a=a.replace(r.suffix,"")).replace(new RegExp(i.escapeRegex(r.groupSeparator)+"([0-9]{3})","g"),"$1"),","===r.radixPoint&&(a=a.replace(i.escapeRegex(r.radixPoint),".")),isFinite(a)},onBeforeMask:function(e,t){if(t.isNegative=r,"number"==typeof e&&""!==t.radixPoint&&(e=e.toString().replace(".",t.radixPoint)),e=e.toString().charAt(e.length-1)===t.radixPoint?e.toString().substr(0,e.length-1):e.toString(),""!==t.radixPoint&&isFinite(e)){var a=e.split("."),n=""!==t.groupSeparator?parseInt(t.groupSize):0;2===a.length&&(a[0].length>n||a[1].length>n||a[0].length<=n&&a[1].length<n)&&(e=e.replace(".",t.radixPoint))}var o=e.match(/,/g),p=e.match(/\./g);if(e=p&&o?p.length>o.length?(e=e.replace(/\./g,"")).replace(",",t.radixPoint):o.length>p.length?(e=e.replace(/,/g,"")).replace(".",t.radixPoint):e.indexOf(".")<e.indexOf(",")?e.replace(/\./g,""):e.replace(/,/g,""):e.replace(new RegExp(i.escapeRegex(t.groupSeparator),"g"),""),0===t.digits&&(-1!==e.indexOf(".")?e=e.substring(0,e.indexOf(".")):-1!==e.indexOf(",")&&(e=e.substring(0,e.indexOf(",")))),""!==t.radixPoint&&isFinite(t.digits)&&-1!==e.indexOf(t.radixPoint)){var s=e.split(t.radixPoint)[1].match(new RegExp("\\d*"))[0];if(parseInt(t.digits)<s.toString().length){var l=Math.pow(10,parseInt(t.digits));e=e.replace(i.escapeRegex(t.radixPoint),"."),e=(e=Math.round(parseFloat(e)*l)/l).toString().replace(".",t.radixPoint)}}return e},onKeyDown:function(r,t,a,n){var o=e(this);if(r.ctrlKey)switch(r.keyCode){case i.keyCode.UP:o.val(parseFloat(this.inputmask.unmaskedvalue())+parseInt(n.step)),o.trigger("setvalue");break;case i.keyCode.DOWN:o.val(parseFloat(this.inputmask.unmaskedvalue())-parseInt(n.step)),o.trigger("setvalue")}}},currency:{prefix:"$ ",groupSeparator:",",alias:"numeric",placeholder:"0",autoGroup:!0,digits:2,digitsOptional:!1,clearMaskOnLostFocus:!1},decimal:{alias:"numeric"},integer:{alias:"numeric",digits:0,radixPoint:""},percentage:{alias:"numeric",digits:2,digitsOptional:!0,radixPoint:".",placeholder:"0",autoGroup:!1,min:0,max:100,suffix:" %",allowMinus:!1}}),i}); |
@@ -6,5 +6,5 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.32 | ||
* Version: 4.0.0-beta.33 | ||
*/ | ||
!function(e){"function"==typeof define&&define.amd?define(["./dependencyLibs/inputmask.dependencyLib","./inputmask"],e):"object"==typeof exports?module.exports=e(require("./dependencyLibs/inputmask.dependencyLib"),require("./inputmask")):e(window.dependencyLib||jQuery,window.Inputmask)}(function(e,r){function n(e,r){var n=(e.mask||e).replace(/#/g,"0").replace(/\)/,"0").replace(/[+()#-]/g,""),o=(r.mask||r).replace(/#/g,"0").replace(/\)/,"0").replace(/[+()#-]/g,"");return n.localeCompare(o)}var o=r.prototype.analyseMask;return r.prototype.analyseMask=function(r,n,t){var a={};return t.phoneCodes&&(t.phoneCodes&&t.phoneCodes.length>1e3&&(function e(n,o,t){o=o||"",t=t||a,""!==o&&(t[o]={});for(var p="",u=t[o]||t,i=n.length-1;i>=0;i--)u[p=(r=n[i].mask||n[i]).substr(0,1)]=u[p]||[],u[p].unshift(r.substr(1)),n.splice(i,1);for(var s in u)u[s].length>500&&e(u[s].slice(),s,u)}((r=r.substr(1,r.length-2)).split(t.groupmarker[1]+t.alternatormarker+t.groupmarker[0])),r=function r(n){var o="",a=[];for(var p in n)e.isArray(n[p])?1===n[p].length?a.push(p+n[p]):a.push(p+t.groupmarker[0]+n[p].join(t.groupmarker[1]+t.alternatormarker+t.groupmarker[0])+t.groupmarker[1]):a.push(p+r(n[p]));return 1===a.length?o+=a[0]:o+=t.groupmarker[0]+a.join(t.groupmarker[1]+t.alternatormarker+t.groupmarker[0])+t.groupmarker[1],o}(a)),r=r.replace(/9/g,"\\9")),o.call(this,r,n,t)},r.extendAliases({abstractphone:{groupmarker:["<",">"],countrycode:"",phoneCodes:[],keepStatic:"auto",mask:function(e){return e.definitions={"#":r.prototype.definitions[9]},e.phoneCodes.sort(n)},onBeforeMask:function(e,r){var n=e.replace(/^0{1,2}/,"").replace(/[\s]/g,"");return(n.indexOf(r.countrycode)>1||-1===n.indexOf(r.countrycode))&&(n="+"+r.countrycode+n),n},onUnMask:function(e,r,n){return e.replace(/[()#-]/g,"")},inputmode:"tel"}}),r}); |
@@ -6,5 +6,5 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.32 | ||
* Version: 4.0.0-beta.33 | ||
*/ | ||
!function(t){"function"==typeof define&&define.amd?define(["jquery","./inputmask"],t):"object"==typeof exports?module.exports=t(require("jquery"),require("./inputmask")):t(jQuery,window.Inputmask)}(function(t,e){return void 0===t.fn.inputmask&&(t.fn.inputmask=function(i,n){var s,a=this[0];if(void 0===n&&(n={}),"string"==typeof i)switch(i){case"unmaskedvalue":return a&&a.inputmask?a.inputmask.unmaskedvalue():t(a).val();case"remove":return this.each(function(){this.inputmask&&this.inputmask.remove()});case"getemptymask":return a&&a.inputmask?a.inputmask.getemptymask():"";case"hasMaskedValue":return!(!a||!a.inputmask)&&a.inputmask.hasMaskedValue();case"isComplete":return!a||!a.inputmask||a.inputmask.isComplete();case"getmetadata":return a&&a.inputmask?a.inputmask.getmetadata():void 0;case"setvalue":e.setValue(a,n);break;case"option":if("string"!=typeof n)return this.each(function(){if(void 0!==this.inputmask)return this.inputmask.option(n)});if(a&&void 0!==a.inputmask)return a.inputmask.option(n);break;default:return n.alias=i,s=new e(n),this.each(function(){s.mask(this)})}else{if("object"==typeof i)return s=new e(i),void 0===i.mask&&void 0===i.alias?this.each(function(){if(void 0!==this.inputmask)return this.inputmask.option(i);s.mask(this)}):this.each(function(){s.mask(this)});if(void 0===i)return this.each(function(){(s=new e(n)).mask(this)})}}),t.fn.inputmask}); |
@@ -6,5 +6,5 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.32 | ||
* Version: 4.0.0-beta.33 | ||
*/ | ||
!function(c){"function"==typeof define&&define.amd?define(["../inputmask"],c):"object"==typeof exports?module.exports=c(require("../inputmask")):c(window.Inputmask)}(function(c){return c.extendAliases({phonebe:{alias:"abstractphone",countrycode:"32",phoneCodes:[{mask:"+32(53)##-##-##",cc:"BE",cd:"Belgium",city:"Aalst (Alost)"},{mask:"+32(3)###-##-##",cc:"BE",cd:"Belgium",city:"Antwerpen (Anvers)"},{mask:"+32(63)##-##-##",cc:"BE",cd:"Belgium",city:"Arlon"},{mask:"+32(68)##-##-##",cc:"BE",cd:"Belgium",city:"Ath"},{mask:"+32(50)##-##-##",cc:"BE",cd:"Belgium",city:"Brugge (Bruges)"},{mask:"+32(2)###-##-##",cc:"BE",cd:"Belgium",city:"Brussel/Bruxelles (Brussels)"},{mask:"+32(71)##-##-##",cc:"BE",cd:"Belgium",city:"Charleroi"},{mask:"+32(60)##-##-##",cc:"BE",cd:"Belgium",city:"Chimay"},{mask:"+32(83)##-##-##",cc:"BE",cd:"Belgium",city:"Ciney"},{mask:"+32(56)##-##-##",cc:"BE",cd:"Belgium",city:"Courtrai, Comines-Warneton, Mouscron"},{mask:"+32(52)##-##-##",cc:"BE",cd:"Belgium",city:"Dendermonde"},{mask:"+32(13)##-##-##",cc:"BE",cd:"Belgium",city:"Diest"},{mask:"+32(82)##-##-##",cc:"BE",cd:"Belgium",city:"Dinant"},{mask:"+32(86)##-##-##",cc:"BE",cd:"Belgium",city:"Durbuy"},{mask:"+32(89)##-##-##",cc:"BE",cd:"Belgium",city:"Genk"},{mask:"+32(9)###-##-##",cc:"BE",cd:"Belgium",city:"Gent (Gand)"},{mask:"+32(11)##-##-##",cc:"BE",cd:"Belgium",city:"Hasselt"},{mask:"+32(14)##-##-##",cc:"BE",cd:"Belgium",city:"Herentals"},{mask:"+32(85)##-##-##",cc:"BE",cd:"Belgium",city:"Huy (Hoei)"},{mask:"+32(57)##-##-##",cc:"BE",cd:"Belgium",city:"Ieper (Ypres)"},{mask:"+32(64)##-##-##",cc:"BE",cd:"Belgium",city:"La Louvière"},{mask:"+32(16)##-##-##",cc:"BE",cd:"Belgium",city:"Leuven (Louvain)"},{mask:"+32(61)##-##-##",cc:"BE",cd:"Belgium",city:"Libramont"},{mask:"+32(4)###-##-##",cc:"BE",cd:"Belgium",city:"Liège (Luik)"},{mask:"+32(84)###-##-##",cc:"BE",cd:"Belgium",city:"Marche-en-Famenne"},{mask:"+32(15)##-##-##",cc:"BE",cd:"Belgium",city:"Mechelen (Malines)"},{mask:"+32(46#)##-##-##",cc:"BE",cd:"Belgium",city:"Mobile Phones"},{mask:"+32(47#)##-##-##",cc:"BE",cd:"Belgium",city:"Mobile Phones"},{mask:"+32(48#)##-##-##",cc:"BE",cd:"Belgium",city:"Mobile Phones"},{mask:"+32(49#)##-##-##",cc:"BE",cd:"Belgium",city:"Mobile Phones"},{mask:"+32(461)8#-##-##",cc:"BE",cd:"Belgium",city:"GSM-R (NMBS)"},{mask:"+32(65)##-##-##",cc:"BE",cd:"Belgium",city:"Mons (Bergen)"},{mask:"+32(81)##-##-##",cc:"BE",cd:"Belgium",city:"Namur (Namen)"},{mask:"+32(58)##-##-##",cc:"BE",cd:"Belgium",city:"Nieuwpoort (Nieuport)"},{mask:"+32(54)##-##-##",cc:"BE",cd:"Belgium",city:"Ninove"},{mask:"+32(67)##-##-##",cc:"BE",cd:"Belgium",city:"Nivelles (Nijvel)"},{mask:"+32(59)##-##-##",cc:"BE",cd:"Belgium",city:"Oostende (Ostende)"},{mask:"+32(51)##-##-##",cc:"BE",cd:"Belgium",city:"Roeselare (Roulers)"},{mask:"+32(55)##-##-##",cc:"BE",cd:"Belgium",city:"Ronse"},{mask:"+32(80)##-##-##",cc:"BE",cd:"Belgium",city:"Stavelot"},{mask:"+32(12)##-##-##",cc:"BE",cd:"Belgium",city:"Tongeren (Tongres)"},{mask:"+32(69)##-##-##",cc:"BE",cd:"Belgium",city:"Tounai"},{mask:"+32(14)##-##-##",cc:"BE",cd:"Belgium",city:"Turnhout"},{mask:"+32(87)##-##-##",cc:"BE",cd:"Belgium",city:"Verviers"},{mask:"+32(58)##-##-##",cc:"BE",cd:"Belgium",city:"Veurne"},{mask:"+32(19)##-##-##",cc:"BE",cd:"Belgium",city:"Waremme"},{mask:"+32(10)##-##-##",cc:"BE",cd:"Belgium",city:"Wavre (Waver)"},{mask:"+32(50)##-##-##",cc:"BE",cd:"Belgium",city:"Zeebrugge"}]}}),c}); |
@@ -6,5 +6,5 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.32 | ||
* Version: 4.0.0-beta.33 | ||
*/ | ||
!function(e){"function"==typeof define&&define.amd?define(["../inputmask"],e):"object"==typeof exports?module.exports=e(require("../inputmask")):e(window.Inputmask)}(function(e){return e.extendAliases({phonehu:{alias:"abstractphone",countrycode:"36",phoneCodes:[{mask:"+36(20)###-####",cc:"HU",cd:"Hungary",region:"",operator:"Telenor",desc:"Telenor mobiltelefon (számhordozás esetén más hálózat is lehet)"},{mask:"+36(21)###-####",cc:"HU",cd:"Hungary",region:"",operator:"Nomadikus",desc:"Nomadikus, vagyis nem helyhez kötött, internet alapú (VoIP) vezetékes telefonszámok"},{mask:"+36(30)###-####",cc:"HU",cd:"Hungary",region:"",operator:"T-Mobile",desc:"T-Mobile, vagy Bluemobile (Lidl) mobiltelefon (számhordozás esetén más hálózat is lehet)"},{mask:"+36(31)###-####",cc:"HU",cd:"Hungary",region:"",operator:"Tesco Mobile",desc:"Tesco Mobile mobiltelefon (számhordozás esetén más hálózat is lehet)"},{mask:"+36(40)###-####",cc:"HU",cd:"Hungary",region:"",operator:"",desc:"Kék szám – speciális elméletileg kedvezményes díjszabás ellenében hívható"},{mask:"+36(50)###-###",cc:"HU",cd:"Hungary",region:"",operator:"",desc:"Mobiltelefon szolgáltatás lesz"},{mask:"+36(51)###-###",cc:"HU",cd:"Hungary",region:"",operator:"",desc:"Internet hozzáférés szolgáltatás"},{mask:"+36(55)###-###",cc:"HU",cd:"Hungary",region:"",operator:"",desc:"Teszt körzet"},{mask:"+36(60)###-###",cc:"HU",cd:"Hungary",region:"",operator:"Westel450",desc:"Volt Westel450"},{mask:"+36(70)###-####",cc:"HU",cd:"Hungary",region:"",operator:"Vodafone",desc:"Vodafone mobiltelefon (számhordozás esetén más hálózat is lehet)"},{mask:"+36(80)###-###",cc:"HU",cd:"Hungary",region:"",operator:"",desc:"Zöld szám – ingyenesen hívható"},{mask:"+36(90)###-###",cc:"HU",cd:"Hungary",region:"",operator:"",desc:"Díjkorlát nélküli emelt díjas szolgáltatások"},{mask:"+36(91)###-###",cc:"HU",cd:"Hungary",region:"",operator:"",desc:"Díjkorlátos emelt díjas szolgáltatások"},{mask:"+36(1)###-####",cc:"HU",cd:"Hungary",region:"Budapest",operator:"",desc:""},{mask:"+36(22)###-###",cc:"HU",cd:"Hungary",region:"Fejér megye",operator:"",desc:""},{mask:"+36(23)###-###",cc:"HU",cd:"Hungary",region:"Pest megye",operator:"",desc:""},{mask:"+36(24)###-###",cc:"HU",cd:"Hungary",region:"Pest megye",operator:"",desc:""},{mask:"+36(25)###-###",cc:"HU",cd:"Hungary",region:"Fejér megye",operator:"",desc:""},{mask:"+36(26)###-###",cc:"HU",cd:"Hungary",region:"Pest megye",operator:"",desc:""},{mask:"+36(27)###-###",cc:"HU",cd:"Hungary",region:"Pest megye",operator:"",desc:""},{mask:"+36(28)###-###",cc:"HU",cd:"Hungary",region:"Pest megye",operator:"",desc:""},{mask:"+36(29)###-###",cc:"HU",cd:"Hungary",region:"Pest megye",operator:"",desc:""},{mask:"+36(32)###-###",cc:"HU",cd:"Hungary",region:"Nógrád megye",operator:"",desc:""},{mask:"+36(33)###-###",cc:"HU",cd:"Hungary",region:"Komárom-Esztergom megye",operator:"",desc:""},{mask:"+36(34)###-###",cc:"HU",cd:"Hungary",region:"Komárom-Esztergom megye",operator:"",desc:""},{mask:"+36(35)###-###",cc:"HU",cd:"Hungary",region:"Nógrád megye",operator:"",desc:""},{mask:"+36(36)###-###",cc:"HU",cd:"Hungary",region:"Heves megye",operator:"",desc:""},{mask:"+36(37)###-###",cc:"HU",cd:"Hungary",region:"Heves megye",operator:"",desc:""},{mask:"+36(42)###-###",cc:"HU",cd:"Hungary",region:"Szabolcs-Szatmár-Bereg megye",operator:"",desc:""},{mask:"+36(44)###-###",cc:"HU",cd:"Hungary",region:"Szabolcs-Szatmár-Bereg megye",operator:"",desc:""},{mask:"+36(45)###-###",cc:"HU",cd:"Hungary",region:"Szabolcs-Szatmár-Bereg megye",operator:"",desc:""},{mask:"+36(46)###-###",cc:"HU",cd:"Hungary",region:"Borsod-Abaúj-Zemplén megye",operator:"",desc:""},{mask:"+36(47)###-###",cc:"HU",cd:"Hungary",region:"Borsod-Abaúj-Zemplén megye",operator:"",desc:""},{mask:"+36(48)###-###",cc:"HU",cd:"Hungary",region:"Borsod-Abaúj-Zemplén megye",operator:"",desc:""},{mask:"+36(49)###-###",cc:"HU",cd:"Hungary",region:"Borsod-Abaúj-Zemplén megye",operator:"",desc:""},{mask:"+36(52)###-###",cc:"HU",cd:"Hungary",region:"Hajdú-Bihar megye",operator:"",desc:""},{mask:"+36(53)###-###",cc:"HU",cd:"Hungary",region:"Pest megye",operator:"",desc:""},{mask:"+36(54)###-###",cc:"HU",cd:"Hungary",region:"Hajdú-Bihar megye",operator:"",desc:""},{mask:"+36(56)###-###",cc:"HU",cd:"Hungary",region:"Jász-Nagykun-Szolnok megye",operator:"",desc:""},{mask:"+36(57)###-###",cc:"HU",cd:"Hungary",region:"Jász-Nagykun-Szolnok megye",operator:"",desc:""},{mask:"+36(59)###-###",cc:"HU",cd:"Hungary",region:"Jász-Nagykun-Szolnok megye",operator:"",desc:""},{mask:"+36(62)###-###",cc:"HU",cd:"Hungary",region:"Csongrád megye",operator:"",desc:""},{mask:"+36(63)###-###",cc:"HU",cd:"Hungary",region:"Csongrád megye",operator:"",desc:""},{mask:"+36(66)###-###",cc:"HU",cd:"Hungary",region:"Békés megye",operator:"",desc:""},{mask:"+36(68)###-###",cc:"HU",cd:"Hungary",region:"Békés megye",operator:"",desc:""},{mask:"+36(69)###-###",cc:"HU",cd:"Hungary",region:"Baranya megye",operator:"",desc:""},{mask:"+36(72)###-###",cc:"HU",cd:"Hungary",region:"Baranya megye",operator:"",desc:""},{mask:"+36(73)###-###",cc:"HU",cd:"Hungary",region:"Baranya megye",operator:"",desc:""},{mask:"+36(74)###-###",cc:"HU",cd:"Hungary",region:"Tolna megye",operator:"",desc:""},{mask:"+36(75)###-###",cc:"HU",cd:"Hungary",region:"Tolna megye",operator:"",desc:""},{mask:"+36(76)###-###",cc:"HU",cd:"Hungary",region:"Bács-Kiskun megye",operator:"",desc:""},{mask:"+36(77)###-###",cc:"HU",cd:"Hungary",region:"Bács-Kiskun megye",operator:"",desc:""},{mask:"+36(78)###-###",cc:"HU",cd:"Hungary",region:"Bács-Kiskun megye",operator:"",desc:""},{mask:"+36(79)###-###",cc:"HU",cd:"Hungary",region:"Bács-Kiskun megye",operator:"",desc:""},{mask:"+36(82)###-###",cc:"HU",cd:"Hungary",region:"Somogy megye",operator:"",desc:""},{mask:"+36(83)###-###",cc:"HU",cd:"Hungary",region:"Zala megye",operator:"",desc:""},{mask:"+36(84)###-###",cc:"HU",cd:"Hungary",region:"Somogy megye",operator:"",desc:""},{mask:"+36(85)###-###",cc:"HU",cd:"Hungary",region:"Somogy megye",operator:"",desc:""},{mask:"+36(87)###-###",cc:"HU",cd:"Hungary",region:"Veszprém megye",operator:"",desc:""},{mask:"+36(88)###-###",cc:"HU",cd:"Hungary",region:"Veszprém megye",operator:"",desc:""},{mask:"+36(89)###-###",cc:"HU",cd:"Hungary",region:"Veszprém megye",operator:"",desc:""},{mask:"+36(92)###-###",cc:"HU",cd:"Hungary",region:"Zala megye",operator:"",desc:""},{mask:"+36(93)###-###",cc:"HU",cd:"Hungary",region:"Zala megye",operator:"",desc:""},{mask:"+36(94)###-###",cc:"HU",cd:"Hungary",region:"Vas megye",operator:"",desc:""},{mask:"+36(95)###-###",cc:"HU",cd:"Hungary",region:"Vas megye",operator:"",desc:""},{mask:"+36(96)###-###",cc:"HU",cd:"Hungary",region:"Győr-Moson-Sopron megye",operator:"",desc:""},{mask:"+36(99)###-###",cc:"HU",cd:"Hungary",region:"Győr-Moson-Sopron megye",operator:"",desc:""}]}}),e}); |
@@ -6,5 +6,5 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.32 | ||
* Version: 4.0.0-beta.33 | ||
*/ | ||
!function(c){"function"==typeof define&&define.amd?define(["../inputmask"],c):"object"==typeof exports?module.exports=c(require("../inputmask")):c(window.Inputmask)}(function(c){return c.extendAliases({phonemx:{alias:"abstractphone",countrycode:"52",phoneCodes:[{mask:"+52 (744) ###-####",cc:"MX",cd:"Mexico",city:"Acapulco"},{mask:"+52 (449) ###-####",cc:"MX",cd:"Mexico",city:"Aguascalientes"},{mask:"+52 (833) ###-####",cc:"MX",cd:"Mexico",city:"Altamira"},{mask:"+52 (81) ####-####",cc:"MX",cd:"Mexico",city:"Apodaca"},{mask:"+52 (624) ###-####",cc:"MX",cd:"Mexico",city:"Cabo San Lucas"},{mask:"+52 (981) ###-####",cc:"MX",cd:"Mexico",city:"Campeche"},{mask:"+52 (998) ###-####",cc:"MX",cd:"Mexico",city:"Cancún"},{mask:"+52 (461) ###-####",cc:"MX",cd:"Mexico",city:"Celaya"},{mask:"+52 (983) ###-####",cc:"MX",cd:"Mexico",city:"Chetumal"},{mask:"+52 (614) ###-####",cc:"MX",cd:"Mexico",city:"Chihuahua"},{mask:"+52 (747) ###-####",cc:"MX",cd:"Mexico",city:"Chilpancingo De Los Bravo"},{mask:"+52 (877) ###-####",cc:"MX",cd:"Mexico",city:"Ciudad Acuña"},{mask:"+52 (656) ###-####",cc:"MX",cd:"Mexico",city:"Ciudad Juárez"},{mask:"+52 (871) ###-####",cc:"MX",cd:"Mexico",city:"Ciudad Lerdo"},{mask:"+52 (833) ###-####",cc:"MX",cd:"Mexico",city:"Ciudad Madero"},{mask:"+52 (644) ###-####",cc:"MX",cd:"Mexico",city:"Ciudad Obregón"},{mask:"+52 (834) ###-####",cc:"MX",cd:"Mexico",city:"Ciudad Victoria"},{mask:"+52 (312) ###-####",cc:"MX",cd:"Mexico",city:"Colima"},{mask:"+52 (963) ###-####",cc:"MX",cd:"Mexico",city:"Comitán"},{mask:"+52 (271) ###-####",cc:"MX",cd:"Mexico",city:"Córdoba"},{mask:"+52 (777) ###-####",cc:"MX",cd:"Mexico",city:"Cuernavaca"},{mask:"+52 (667) ###-####",cc:"MX",cd:"Mexico",city:"Culiacán Rosales"},{mask:"+52 (646) ###-####",cc:"MX",cd:"Mexico",city:"Ensenada"},{mask:"+52 (871) ###-####",cc:"MX",cd:"Mexico",city:"Gómez Palacio"},{mask:"+52 (33) ####-####",cc:"MX",cd:"Mexico",city:"Guadalajara"},{mask:"+52 (473) ###-####",cc:"MX",cd:"Mexico",city:"Guanajuato"},{mask:"+52 (662) ###-####",cc:"MX",cd:"Mexico",city:"Hermosillo"},{mask:"+52 (715) ###-####",cc:"MX",cd:"Mexico",city:"Heroica Zitácuaro"},{mask:"+52 (777) ###-####",cc:"MX",cd:"Mexico",city:"Jiutepec"},{mask:"+52 (612) ###-####",cc:"MX",cd:"Mexico",city:"La Paz (Baja California Sur)"},{mask:"+52 (477) ###-####",cc:"MX",cd:"Mexico",city:"León"},{mask:"+52 (314) ###-####",cc:"MX",cd:"Mexico",city:"Manzanillo"},{mask:"+52 (868) ###-####",cc:"MX",cd:"Mexico",city:"Matamoros"},{mask:"+52 (999) ###-####",cc:"MX",cd:"Mexico",city:"Mérida"},{mask:"+52 (686) ###-####",cc:"MX",cd:"Mexico",city:"Mexicali"},{mask:"+52 (55) ####-####",cc:"MX",cd:"Mexico",city:"México D.F."},{mask:"+52 (81) ####-####",cc:"MX",cd:"Mexico",city:"Monterrey"},{mask:"+52 (443) ###-####",cc:"MX",cd:"Mexico",city:"Morelia"},{mask:"+52 (867) ###-####",cc:"MX",cd:"Mexico",city:"Nuevo Laredo"},{mask:"+52 (951) ###-####",cc:"MX",cd:"Mexico",city:"Oaxaca De Juárez"},{mask:"+52 (771) ###-####",cc:"MX",cd:"Mexico",city:"Pachuca De Soto"},{mask:"+52 (984) ###-####",cc:"MX",cd:"Mexico",city:"Playa Del Carmen"},{mask:"+52 (222) ###-####",cc:"MX",cd:"Mexico",city:"Puebla"},{mask:"+52 (322) ###-####",cc:"MX",cd:"Mexico",city:"Puerto Vallarta"},{mask:"+52 (899) ###-####",cc:"MX",cd:"Mexico",city:"Reynosa"},{mask:"+52 (464) ###-####",cc:"MX",cd:"Mexico",city:"Salamanca"},{mask:"+52 (844) ###-####",cc:"MX",cd:"Mexico",city:"Saltillo"},{mask:"+52 (967) ###-####",cc:"MX",cd:"Mexico",city:"San Cristóbal De Las Casas"},{mask:"+52 (444) ###-####",cc:"MX",cd:"Mexico",city:"San Luis Potosí"},{mask:"+52 (81) ####-####",cc:"MX",cd:"Mexico",city:"San Nicolás De Los Garza"},{mask:"+52 (615) ###-####",cc:"MX",cd:"Mexico",city:"Santa Rosalía"},{mask:"+52 (442) ###-####",cc:"MX",cd:"Mexico",city:"Santiago De Querétaro"},{mask:"+52 (833) ###-####",cc:"MX",cd:"Mexico",city:"Tampico"},{mask:"+52 (665) ###-####",cc:"MX",cd:"Mexico",city:"Tecate"},{mask:"+52 (311) ###-####",cc:"MX",cd:"Mexico",city:"Tepic"},{mask:"+52 (664) ###-####",cc:"MX",cd:"Mexico",city:"Tijuana"},{mask:"+52 (246) ###-####",cc:"MX",cd:"Mexico",city:"Tlaxcala De Xicohténcatl"},{mask:"+52 (612) ###-####",cc:"MX",cd:"Mexico",city:"Todos Santos"},{mask:"+52 (722) ###-####",cc:"MX",cd:"Mexico",city:"Toluca De Lerdo"},{mask:"+52 (871) ###-####",cc:"MX",cd:"Mexico",city:"Torreón"},{mask:"+52 (984) ###-####",cc:"MX",cd:"Mexico",city:"Tulúm"},{mask:"+52 (961) ###-####",cc:"MX",cd:"Mexico",city:"Tuxtla Gutiérrez"},{mask:"+52 (452) ###-####",cc:"MX",cd:"Mexico",city:"Uruapan"},{mask:"+52 (985) ###-####",cc:"MX",cd:"Mexico",city:"Valladolid"},{mask:"+52 (457) ###-####",cc:"MX",cd:"Mexico",city:"Valparaíso"},{mask:"+52 (229) ###-####",cc:"MX",cd:"Mexico",city:"Veracruz"},{mask:"+52 (618) ###-####",cc:"MX",cd:"Mexico",city:"Victoria De Durango"},{mask:"+52 (993) ###-####",cc:"MX",cd:"Mexico",city:"Villahermosa"},{mask:"+52 (228) ###-####",cc:"MX",cd:"Mexico",city:"Xalapa-Enríquez"},{mask:"+52 (492) ###-####",cc:"MX",cd:"Mexico",city:"Zacatecas"},{mask:"+52 (351) ###-####",cc:"MX",cd:"Mexico",city:"Zamora"},{mask:"+52 (33) ####-####",cc:"MX",cd:"Mexico",city:"Zapopan"}]}}),c}); |
@@ -6,5 +6,5 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.32 | ||
* Version: 4.0.0-beta.33 | ||
*/ | ||
!function(c){"function"==typeof define&&define.amd?define(["../inputmask"],c):"object"==typeof exports?module.exports=c(require("../inputmask")):c(window.Inputmask)}(function(c){return c.extendAliases({phonenl:{alias:"abstractphone",countrycode:"31",phoneCodes:[{mask:"+31-10-###-####",cc:"NL",cd:"Netherlands",city:"Rotterdam"},{mask:"+31-111-###-###",cc:"NL",cd:"Netherlands",city:"Zierikzee"},{mask:"+31-113-###-###",cc:"NL",cd:"Netherlands",city:"Goes"},{mask:"+31-114-###-###",cc:"NL",cd:"Netherlands",city:"Hulst"},{mask:"+31-115-###-###",cc:"NL",cd:"Netherlands",city:"Terneuzen"},{mask:"+31-117-###-###",cc:"NL",cd:"Netherlands",city:"Oostburg"},{mask:"+31-118-###-###",cc:"NL",cd:"Netherlands",city:"Middelburg"},{mask:"+31-13-###-####",cc:"NL",cd:"Netherlands",city:"Tilburg"},{mask:"+31-14-###-####",cc:"NL",cd:"Netherlands",city:"Intern gebruik door KPN"},{mask:"+31-15-###-####",cc:"NL",cd:"Netherlands",city:"Delft"},{mask:"+31-161-###-###",cc:"NL",cd:"Netherlands",city:"Rijen"},{mask:"+31-162-###-###",cc:"NL",cd:"Netherlands",city:"Oosterhout"},{mask:"+31-164-###-###",cc:"NL",cd:"Netherlands",city:"Bergen op Zoom"},{mask:"+31-165-###-###",cc:"NL",cd:"Netherlands",city:"Roosendaal"},{mask:"+31-166-###-###",cc:"NL",cd:"Netherlands",city:"Tholen"},{mask:"+31-167-###-###",cc:"NL",cd:"Netherlands",city:"Steenbergen"},{mask:"+31-168-###-###",cc:"NL",cd:"Netherlands",city:"Zevenbergen"},{mask:"+31-172-###-###",cc:"NL",cd:"Netherlands",city:"Alphen aan den Rijn"},{mask:"+31-174-###-###",cc:"NL",cd:"Netherlands",city:"Naaldwijk"},{mask:"+31-180-###-###",cc:"NL",cd:"Netherlands",city:"Krimpen aan den IJsel"},{mask:"+31-181-###-###",cc:"NL",cd:"Netherlands",city:"Spijkenisse"},{mask:"+31-182-###-###",cc:"NL",cd:"Netherlands",city:"Gouda"},{mask:"+31-183-###-###",cc:"NL",cd:"Netherlands",city:"Gorinchem"},{mask:"+31-184-###-###",cc:"NL",cd:"Netherlands",city:"Sliedrecht"},{mask:"+31-186-###-###",cc:"NL",cd:"Netherlands",city:"Oud-Beijerland"},{mask:"+31-187-###-###",cc:"NL",cd:"Netherlands",city:"Middelharnis"},{mask:"+31-20-###-####",cc:"NL",cd:"Netherlands",city:"Amsterdam"},{mask:"+31-222-###-###",cc:"NL",cd:"Netherlands",city:"Den Burg"},{mask:"+31-223-###-###",cc:"NL",cd:"Netherlands",city:"Den Helder"},{mask:"+31-224-###-###",cc:"NL",cd:"Netherlands",city:"Schagen"},{mask:"+31-226-###-###",cc:"NL",cd:"Netherlands",city:"Noord-Scharwoude"},{mask:"+31-227-###-###",cc:"NL",cd:"Netherlands",city:"Middenmeer"},{mask:"+31-228-###-###",cc:"NL",cd:"Netherlands",city:"Enkhuizen"},{mask:"+31-229-###-###",cc:"NL",cd:"Netherlands",city:"Hoorn"},{mask:"+31-23-###-####",cc:"NL",cd:"Netherlands",city:"Haarlem"},{mask:"+31-24-###-####",cc:"NL",cd:"Netherlands",city:"Nijmegen"},{mask:"+31-251-###-###",cc:"NL",cd:"Netherlands",city:"Beverwijk"},{mask:"+31-252-###-###",cc:"NL",cd:"Netherlands",city:"Hillegom"},{mask:"+31-255-###-###",cc:"NL",cd:"Netherlands",city:"IJmuiden"},{mask:"+31-26-###-####",cc:"NL",cd:"Netherlands",city:"Arnhem"},{mask:"+31-294-###-###",cc:"NL",cd:"Netherlands",city:"Weesp"},{mask:"+31-297-###-###",cc:"NL",cd:"Netherlands",city:"Uithoorn"},{mask:"+31-299-###-###",cc:"NL",cd:"Netherlands",city:"Purmerend"},{mask:"+31-30-###-####",cc:"NL",cd:"Netherlands",city:"Utrecht"},{mask:"+31-313-###-###",cc:"NL",cd:"Netherlands",city:"Dieren"},{mask:"+31-314-###-###",cc:"NL",cd:"Netherlands",city:"Doetinchem"},{mask:"+31-315-###-###",cc:"NL",cd:"Netherlands",city:"Terborg"},{mask:"+31-316-###-###",cc:"NL",cd:"Netherlands",city:"Zevenaar"},{mask:"+31-317-###-###",cc:"NL",cd:"Netherlands",city:"Wageningen"},{mask:"+31-318-###-###",cc:"NL",cd:"Netherlands",city:"Ede"},{mask:"+31-320-###-###",cc:"NL",cd:"Netherlands",city:"Lelystad"},{mask:"+31-321-###-###",cc:"NL",cd:"Netherlands",city:"Dronten"},{mask:"+31-33-###-####",cc:"NL",cd:"Netherlands",city:"Amersfoort"},{mask:"+31-341-###-###",cc:"NL",cd:"Netherlands",city:"Harderwijk"},{mask:"+31-342-###-###",cc:"NL",cd:"Netherlands",city:"Barneveld"},{mask:"+31-343-###-###",cc:"NL",cd:"Netherlands",city:"Doorn"},{mask:"+31-344-###-###",cc:"NL",cd:"Netherlands",city:"Tiel"},{mask:"+31-294-###-###",cc:"NL",cd:"Netherlands",city:"Weesp"},{mask:"+31-297-###-###",cc:"NL",cd:"Netherlands",city:"Uithoorn"},{mask:"+31-299-###-###",cc:"NL",cd:"Netherlands",city:"Purmerend"},{mask:"+31-30-###-####",cc:"NL",cd:"Netherlands",city:"Utrecht"},{mask:"+31-313-###-###",cc:"NL",cd:"Netherlands",city:"Dieren"},{mask:"+31-314-###-###",cc:"NL",cd:"Netherlands",city:"Doetinchem"},{mask:"+31-315-###-###",cc:"NL",cd:"Netherlands",city:"Terborg"},{mask:"+31-316-###-###",cc:"NL",cd:"Netherlands",city:"Zevenaar"},{mask:"+31-317-###-###",cc:"NL",cd:"Netherlands",city:"Wageningen"},{mask:"+31-318-###-###",cc:"NL",cd:"Netherlands",city:"Ede"},{mask:"+31-320-###-###",cc:"NL",cd:"Netherlands",city:"Lelystad"},{mask:"+31-321-###-###",cc:"NL",cd:"Netherlands",city:"Dronten"},{mask:"+31-33-###-####",cc:"NL",cd:"Netherlands",city:"Amersfoort"},{mask:"+31-341-###-###",cc:"NL",cd:"Netherlands",city:"Harderwijk"},{mask:"+31-342-###-###",cc:"NL",cd:"Netherlands",city:"Barneveld"},{mask:"+31-343-###-###",cc:"NL",cd:"Netherlands",city:"Doorn"},{mask:"+31-344-###-###",cc:"NL",cd:"Netherlands",city:"Tiel"},{mask:"+31-345-###-###",cc:"NL",cd:"Netherlands",city:"Culemborg"},{mask:"+31-346-###-###",cc:"NL",cd:"Netherlands",city:"Maarssen"},{mask:"+31-347-###-###",cc:"NL",cd:"Netherlands",city:"Vianen"},{mask:"+31-348-###-###",cc:"NL",cd:"Netherlands",city:"Woerden"},{mask:"+31-35-###-####",cc:"NL",cd:"Netherlands",city:"Hilversum"},{mask:"+31-36-###-####",cc:"NL",cd:"Netherlands",city:"Almere"},{mask:"+31-38-###-####",cc:"NL",cd:"Netherlands",city:"Zwolle"},{mask:"+31-40-###-####",cc:"NL",cd:"Netherlands",city:"Eindhoven"},{mask:"+31-411-###-###",cc:"NL",cd:"Netherlands",city:"Boxtel"},{mask:"+31-412-###-###",cc:"NL",cd:"Netherlands",city:"Oss"},{mask:"+31-413-###-###",cc:"NL",cd:"Netherlands",city:"Veghel"},{mask:"+31-416-###-###",cc:"NL",cd:"Netherlands",city:"Waalwijk"},{mask:"+31-418-###-###",cc:"NL",cd:"Netherlands",city:"Zaltbommel"},{mask:"+31-43-###-####",cc:"NL",cd:"Netherlands",city:"Maastricht"},{mask:"+31-45-###-####",cc:"NL",cd:"Netherlands",city:"Heerlen"},{mask:"+31-46-###-####",cc:"NL",cd:"Netherlands",city:"Sittard"},{mask:"+31-475-###-###",cc:"NL",cd:"Netherlands",city:"Roermond"},{mask:"+31-478-###-###",cc:"NL",cd:"Netherlands",city:"Venray"},{mask:"+31-481-###-###",cc:"NL",cd:"Netherlands",city:"Bemmel"},{mask:"+31-485-###-###",cc:"NL",cd:"Netherlands",city:"Cuijk"},{mask:"+31-486-###-###",cc:"NL",cd:"Netherlands",city:"Grave"},{mask:"+31-487-###-###",cc:"NL",cd:"Netherlands",city:"Druten"},{mask:"+31-488-###-###",cc:"NL",cd:"Netherlands",city:"Zetten"},{mask:"+31-492-###-###",cc:"NL",cd:"Netherlands",city:"Helmond"},{mask:"+31-493-###-###",cc:"NL",cd:"Netherlands",city:"Deurne"},{mask:"+31-495-###-###",cc:"NL",cd:"Netherlands",city:"Weert"},{mask:"+31-497-###-###",cc:"NL",cd:"Netherlands",city:"Eersel"},{mask:"+31-499-###-###",cc:"NL",cd:"Netherlands",city:"Best"},{mask:"+31-50-###-####",cc:"NL",cd:"Netherlands",city:"Groningen"},{mask:"+31-511-###-###",cc:"NL",cd:"Netherlands",city:"Feanw�lden"},{mask:"+31-512-###-###",cc:"NL",cd:"Netherlands",city:"Drachten"},{mask:"+31-513-###-###",cc:"NL",cd:"Netherlands",city:"Heerenveen"},{mask:"+31-514-###-###",cc:"NL",cd:"Netherlands",city:"Balk"},{mask:"+31-515-###-###",cc:"NL",cd:"Netherlands",city:"Sneek"},{mask:"+31-516-###-###",cc:"NL",cd:"Netherlands",city:"Oosterwolde"},{mask:"+31-517-###-###",cc:"NL",cd:"Netherlands",city:"Franeker"},{mask:"+31-518-###-###",cc:"NL",cd:"Netherlands",city:"St Annaparochie"},{mask:"+31-519-###-###",cc:"NL",cd:"Netherlands",city:"Dokkum"},{mask:"+31-521-###-###",cc:"NL",cd:"Netherlands",city:"Steenwijk"},{mask:"+31-522-###-###",cc:"NL",cd:"Netherlands",city:"Meppel"},{mask:"+31-523-###-###",cc:"NL",cd:"Netherlands",city:"Dedemsvaart"},{mask:"+31-524-###-###",cc:"NL",cd:"Netherlands",city:"Coevorden"},{mask:"+31-525-###-###",cc:"NL",cd:"Netherlands",city:"Elburg"},{mask:"+31-527-###-###",cc:"NL",cd:"Netherlands",city:"Emmeloord"},{mask:"+31-528-###-###",cc:"NL",cd:"Netherlands",city:"Hoogeveen"},{mask:"+31-529-###-###",cc:"NL",cd:"Netherlands",city:"Ommen"},{mask:"+31-53-###-####",cc:"NL",cd:"Netherlands",city:"Enschede"},{mask:"+31-541-###-###",cc:"NL",cd:"Netherlands",city:"Oldenzaal"},{mask:"+31-543-###-###",cc:"NL",cd:"Netherlands",city:"Winterswijk"},{mask:"+31-544-###-###",cc:"NL",cd:"Netherlands",city:"Groenlo"},{mask:"+31-545-###-###",cc:"NL",cd:"Netherlands",city:"Neede"},{mask:"+31-546-###-###",cc:"NL",cd:"Netherlands",city:"Almelo"},{mask:"+31-547-###-###",cc:"NL",cd:"Netherlands",city:"Goor"},{mask:"+31-548-###-###",cc:"NL",cd:"Netherlands",city:"Rijssen"},{mask:"+31-55-###-####",cc:"NL",cd:"Netherlands",city:"Apeldoorn"},{mask:"+31-561-###-###",cc:"NL",cd:"Netherlands",city:"Wolvega"},{mask:"+31-562-###-###",cc:"NL",cd:"Netherlands",city:"West-Terschelling"},{mask:"+31-566-###-###",cc:"NL",cd:"Netherlands",city:"Jirnsum"},{mask:"+31-570-###-###",cc:"NL",cd:"Netherlands",city:"Deventer"},{mask:"+31-571-###-###",cc:"NL",cd:"Netherlands",city:"Twello"},{mask:"+31-572-###-###",cc:"NL",cd:"Netherlands",city:"Raalte"},{mask:"+31-573-###-###",cc:"NL",cd:"Netherlands",city:"Lochem"},{mask:"+31-575-###-###",cc:"NL",cd:"Netherlands",city:"Zutphen"},{mask:"+31-577-###-###",cc:"NL",cd:"Netherlands",city:"Uddel"},{mask:"+31-578-###-###",cc:"NL",cd:"Netherlands",city:"Epe"},{mask:"+31-58-###-####",cc:"NL",cd:"Netherlands",city:"Leeuwarden"},{mask:"+31-591-###-###",cc:"NL",cd:"Netherlands",city:"Emmen"},{mask:"+31-592-###-###",cc:"NL",cd:"Netherlands",city:"Assen"},{mask:"+31-593-###-###",cc:"NL",cd:"Netherlands",city:"Beilen"},{mask:"+31-594-###-###",cc:"NL",cd:"Netherlands",city:"Zuidhorn"},{mask:"+31-595-###-###",cc:"NL",cd:"Netherlands",city:"Warffum"},{mask:"+31-596-###-###",cc:"NL",cd:"Netherlands",city:"Appingedam"},{mask:"+31-597-###-###",cc:"NL",cd:"Netherlands",city:"Winschoten"},{mask:"+31-598-###-###",cc:"NL",cd:"Netherlands",city:"Hoogezand"},{mask:"+31-599-###-###",cc:"NL",cd:"Netherlands",city:"Stadskanaal"},{mask:"+31-70-###-####",cc:"NL",cd:"Netherlands",city:"Den Haag"},{mask:"+31-71-###-####",cc:"NL",cd:"Netherlands",city:"Leiden"},{mask:"+31-72-###-####",cc:"NL",cd:"Netherlands",city:"Alkmaar"},{mask:"+31-73-###-####",cc:"NL",cd:"Netherlands",city:"'s-Hertogenbosch"},{mask:"+31-74-###-####",cc:"NL",cd:"Netherlands",city:"Hengelo"},{mask:"+31-75-###-####",cc:"NL",cd:"Netherlands",city:"Zaandam"},{mask:"+31-76-###-####",cc:"NL",cd:"Netherlands",city:"Breda"},{mask:"+31-77-###-####",cc:"NL",cd:"Netherlands",city:"Venlo"},{mask:"+31-78-###-####",cc:"NL",cd:"Netherlands",city:"Dordrecht"},{mask:"+31-79-###-####",cc:"NL",cd:"Netherlands",city:"Zoetermeer"},{mask:"+31-61-###-####",cc:"NL",cd:"Netherlands",city:"Mobiele nummers"},{mask:"+31-62-###-####",cc:"NL",cd:"Netherlands",city:"Mobiele nummers"},{mask:"+31-63-###-####",cc:"NL",cd:"Netherlands",city:"Mobiele nummers"},{mask:"+31-64-###-####",cc:"NL",cd:"Netherlands",city:"Mobiele nummers"},{mask:"+31-65-###-####",cc:"NL",cd:"Netherlands",city:"Mobiele nummers"},{mask:"+31-68-###-####",cc:"NL",cd:"Netherlands",city:"Mobiele nummers"},{mask:"+31-69-###-####",cc:"NL",cd:"Netherlands",city:"Mobiele nummers"},{mask:"+31-66-###-####",cc:"NL",cd:"Netherlands",city:"Semafonie"},{mask:"+31-670-###-###",cc:"NL",cd:"Netherlands",city:"Videotex"},{mask:"+31-671-###-###",cc:"NL",cd:"Netherlands",city:"Videotex"},{mask:"+31-672-###-###",cc:"NL",cd:"Netherlands",city:"Videotex"},{mask:"+31-673-###-###",cc:"NL",cd:"Netherlands",city:"Videotex"},{mask:"+31-674-###-###",cc:"NL",cd:"Netherlands",city:"Videotex"},{mask:"+31-675-###-###",cc:"NL",cd:"Netherlands",city:"Videotex"},{mask:"+31-676-###-###",cc:"NL",cd:"Netherlands",city:"Inbelnummers van internetproviders"},{mask:"+31-800-###-###",cc:"NL",cd:"Netherlands",city:"Gratis informatienummers"},{mask:"+31-82-###-####",cc:"NL",cd:"Netherlands",city:"Virtual Private Network"},{mask:"+31-88-###-####",cc:"NL",cd:"Netherlands",city:"Bedrijfsnummers"},{mask:"+31-900-###-###",cc:"NL",cd:"Netherlands",city:"Betaalde informatienummers"},{mask:"+31-906-###-###",cc:"NL",cd:"Netherlands",city:"Betaalde informatienummers"},{mask:"+31-909-###-###",cc:"NL",cd:"Netherlands",city:"Betaalde informatienummers"},{mask:"+31-91-###-####",cc:"NL",cd:"Netherlands",city:"Plaatsonafhankelijk netnummer, geschikt voor beeldtelefonie of lijnen met verhoogde kwaliteit"}]}}),c}); |
@@ -6,5 +6,5 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.32 | ||
* Version: 4.0.0-beta.33 | ||
*/ | ||
!function(c){"function"==typeof define&&define.amd?define(["../inputmask"],c):"object"==typeof exports?module.exports=c(require("../inputmask")):c(window.Inputmask)}(function(c){return c.extendAliases({phoneuk:{alias:"abstractphone",countrycode:"44",phoneCodes:[{mask:"+44(113)-###-####",cc:"UK",cd:"United Kingdom",city:"Leeds"},{mask:"+44(114)-###-####",cc:"UK",cd:"United Kingdom",city:"Sheffield"},{mask:"+44(115)-###-####",cc:"UK",cd:"United Kingdom",city:"Nottingham"},{mask:"+44(116)-###-####",cc:"UK",cd:"United Kingdom",city:"Leicester"},{mask:"+44(117)-###-####",cc:"UK",cd:"United Kingdom",city:"Bristol"},{mask:"+44(118)-###-####",cc:"UK",cd:"United Kingdom",city:"Reading"},{mask:"+44(1200)-######",cc:"UK",cd:"United Kingdom",city:"Clitheroe"},{mask:"+44(1202)-######",cc:"UK",cd:"United Kingdom",city:"Bournemouth"},{mask:"+44(1204)-######",cc:"UK",cd:"United Kingdom",city:"Bolton"},{mask:"+44(1205)-######",cc:"UK",cd:"United Kingdom",city:"Boston"},{mask:"+44(1206)-######",cc:"UK",cd:"United Kingdom",city:"Colchester"},{mask:"+44(1207)-######",cc:"UK",cd:"United Kingdom",city:"Consett"},{mask:"+44(1208)-######",cc:"UK",cd:"United Kingdom",city:"Bodmin"},{mask:"+44(1209)-######",cc:"UK",cd:"United Kingdom",city:"Redruth"},{mask:"+44(121)-###-####",cc:"UK",cd:"United Kingdom",city:"Birmingham"},{mask:"+44(1223)-######",cc:"UK",cd:"United Kingdom",city:"Cambridge"},{mask:"+44(1224)-######",cc:"UK",cd:"United Kingdom",city:"Aberdeen"},{mask:"+44(1225)-######",cc:"UK",cd:"United Kingdom",city:"Bath"},{mask:"+44(1226)-######",cc:"UK",cd:"United Kingdom",city:"Barnsley"},{mask:"+44(1227)-######",cc:"UK",cd:"United Kingdom",city:"Canterbury"},{mask:"+44(1228)-######",cc:"UK",cd:"United Kingdom",city:"Carlisle"},{mask:"+44(1229)-######",cc:"UK",cd:"United Kingdom",city:"Barrow-in-Furness(2,4,5,6,8), Millom(3,7,9)"},{mask:"+44(1233)-######",cc:"UK",cd:"United Kingdom",city:"Ashford (Kent)"},{mask:"+44(1234)-######",cc:"UK",cd:"United Kingdom",city:"Bedford"},{mask:"+44(1235)-######",cc:"UK",cd:"United Kingdom",city:"Abingdon"},{mask:"+44(1236)-######",cc:"UK",cd:"United Kingdom",city:"Coatbridge"},{mask:"+44(1237)-######",cc:"UK",cd:"United Kingdom",city:"Bideford"},{mask:"+44(1239)-######",cc:"UK",cd:"United Kingdom",city:"Cardigan"},{mask:"+44(1241)-######",cc:"UK",cd:"United Kingdom",city:"Arbroath"},{mask:"+44(1242)-######",cc:"UK",cd:"United Kingdom",city:"Cheltenham"},{mask:"+44(1243)-######",cc:"UK",cd:"United Kingdom",city:"Chichester"},{mask:"+44(1244)-######",cc:"UK",cd:"United Kingdom",city:"Chester"},{mask:"+44(1245)-######",cc:"UK",cd:"United Kingdom",city:"Chelmsford"},{mask:"+44(1246)-######",cc:"UK",cd:"United Kingdom",city:"Chesterfield"},{mask:"+44(1248)-######",cc:"UK",cd:"United Kingdom",city:"Bangor (Gwynedd)"},{mask:"+44(1249)-######",cc:"UK",cd:"United Kingdom",city:"Chippenham"},{mask:"+44(1250)-######",cc:"UK",cd:"United Kingdom",city:"Blairgowrie"},{mask:"+44(1252)-######",cc:"UK",cd:"United Kingdom",city:"Aldershot"},{mask:"+44(1253)-######",cc:"UK",cd:"United Kingdom",city:"Blackpool"},{mask:"+44(1254)-######",cc:"UK",cd:"United Kingdom",city:"Blackburn"},{mask:"+44(1255)-######",cc:"UK",cd:"United Kingdom",city:"Clacton-on-Sea"},{mask:"+44(1256)-######",cc:"UK",cd:"United Kingdom",city:"Basingstoke"},{mask:"+44(1257)-######",cc:"UK",cd:"United Kingdom",city:"Coppull"},{mask:"+44(1258)-######",cc:"UK",cd:"United Kingdom",city:"Blandford"},{mask:"+44(1259)-######",cc:"UK",cd:"United Kingdom",city:"Alloa"},{mask:"+44(1260)-######",cc:"UK",cd:"United Kingdom",city:"Congleton"},{mask:"+44(1261)-######",cc:"UK",cd:"United Kingdom",city:"Banff"},{mask:"+44(1262)-######",cc:"UK",cd:"United Kingdom",city:"Bridlington"},{mask:"+44(1263)-######",cc:"UK",cd:"United Kingdom",city:"Cromer"},{mask:"+44(1264)-######",cc:"UK",cd:"United Kingdom",city:"Andover"},{mask:"+44(1267)-######",cc:"UK",cd:"United Kingdom",city:"Carmarthen"},{mask:"+44(1268)-######",cc:"UK",cd:"United Kingdom",city:"Basildon"},{mask:"+44(1269)-######",cc:"UK",cd:"United Kingdom",city:"Ammanford"},{mask:"+44(1270)-######",cc:"UK",cd:"United Kingdom",city:"Crewe"},{mask:"+44(1271)-######",cc:"UK",cd:"United Kingdom",city:"Barnstaple"},{mask:"+44(1273)-######",cc:"UK",cd:"United Kingdom",city:"Brighton"},{mask:"+44(1274)-######",cc:"UK",cd:"United Kingdom",city:"Bradford"},{mask:"+44(1275)-######",cc:"UK",cd:"United Kingdom",city:"Clevedon"},{mask:"+44(1276)-######",cc:"UK",cd:"United Kingdom",city:"Camberley"},{mask:"+44(1277)-######",cc:"UK",cd:"United Kingdom",city:"Brentwood"},{mask:"+44(1278)-######",cc:"UK",cd:"United Kingdom",city:"Bridgwater"},{mask:"+44(1279)-######",cc:"UK",cd:"United Kingdom",city:"Bishops Stortford"},{mask:"+44(1280)-######",cc:"UK",cd:"United Kingdom",city:"Buckingham"},{mask:"+44(1282)-######",cc:"UK",cd:"United Kingdom",city:"Burnley"},{mask:"+44(1283)-######",cc:"UK",cd:"United Kingdom",city:"Burton-on-Trent"},{mask:"+44(1284)-######",cc:"UK",cd:"United Kingdom",city:"Bury St Edmunds"},{mask:"+44(1285)-######",cc:"UK",cd:"United Kingdom",city:"Cirencester"},{mask:"+44(1286)-######",cc:"UK",cd:"United Kingdom",city:"Caernarfon"},{mask:"+44(1287)-######",cc:"UK",cd:"United Kingdom",city:"Guisborough"},{mask:"+44(1288)-######",cc:"UK",cd:"United Kingdom",city:"Bude"},{mask:"+44(1289)-######",cc:"UK",cd:"United Kingdom",city:"Berwick-upon-Tweed"},{mask:"+44(1290)-######",cc:"UK",cd:"United Kingdom",city:"Cumnock"},{mask:"+44(1291)-######",cc:"UK",cd:"United Kingdom",city:"Chepstow"},{mask:"+44(1292)-######",cc:"UK",cd:"United Kingdom",city:"Ayr"},{mask:"+44(1293)-######",cc:"UK",cd:"United Kingdom",city:"Crawley"},{mask:"+44(1294)-######",cc:"UK",cd:"United Kingdom",city:"Ardrossan"},{mask:"+44(1295)-######",cc:"UK",cd:"United Kingdom",city:"Banbury"},{mask:"+44(1296)-######",cc:"UK",cd:"United Kingdom",city:"Aylesbury"},{mask:"+44(1297)-######",cc:"UK",cd:"United Kingdom",city:"Axminster"},{mask:"+44(1298)-######",cc:"UK",cd:"United Kingdom",city:"Buxton"},{mask:"+44(1299)-######",cc:"UK",cd:"United Kingdom",city:"Bewdley"},{mask:"+44(1300)-######",cc:"UK",cd:"United Kingdom",city:"Cerne Abbas"},{mask:"+44(1301)-######",cc:"UK",cd:"United Kingdom",city:"Arrochar"},{mask:"+44(1302)-######",cc:"UK",cd:"United Kingdom",city:"Doncaster"},{mask:"+44(1303)-######",cc:"UK",cd:"United Kingdom",city:"Folkestone"},{mask:"+44(1304)-######",cc:"UK",cd:"United Kingdom",city:"Dover"},{mask:"+44(1305)-######",cc:"UK",cd:"United Kingdom",city:"Dorchester"},{mask:"+44(1306)-######",cc:"UK",cd:"United Kingdom",city:"Dorking"},{mask:"+44(1307)-######",cc:"UK",cd:"United Kingdom",city:"Forfar"},{mask:"+44(1308)-######",cc:"UK",cd:"United Kingdom",city:"Bridport"},{mask:"+44(1309)-######",cc:"UK",cd:"United Kingdom",city:"Forres"},{mask:"+44(131)-###-###",cc:"UK",cd:"United Kingdom",city:"Edinburgh"},{mask:"+44(1320)-######",cc:"UK",cd:"United Kingdom",city:"Fort Augustus"},{mask:"+44(1322)-######",cc:"UK",cd:"United Kingdom",city:"Dartford"},{mask:"+44(1323)-######",cc:"UK",cd:"United Kingdom",city:"Eastbourne"},{mask:"+44(1324)-######",cc:"UK",cd:"United Kingdom",city:"Falkirk"},{mask:"+44(1325)-######",cc:"UK",cd:"United Kingdom",city:"Darlington"},{mask:"+44(1326)-######",cc:"UK",cd:"United Kingdom",city:"Falmouth"},{mask:"+44(1327)-######",cc:"UK",cd:"United Kingdom",city:"Daventry"},{mask:"+44(1328)-######",cc:"UK",cd:"United Kingdom",city:"Fakenham"},{mask:"+44(1329)-######",cc:"UK",cd:"United Kingdom",city:"Fareham"},{mask:"+44(1330)-######",cc:"UK",cd:"United Kingdom",city:"Banchory"},{mask:"+44(1332)-######",cc:"UK",cd:"United Kingdom",city:"Derby"},{mask:"+44(1333)-######",cc:"UK",cd:"United Kingdom",city:"Peat Inn"},{mask:"+44(1334)-######",cc:"UK",cd:"United Kingdom",city:"St Andrews"},{mask:"+44(1335)-######",cc:"UK",cd:"United Kingdom",city:"Ashbourne"},{mask:"+44(1337)-######",cc:"UK",cd:"United Kingdom",city:"Ladybank"},{mask:"+44(1339)-######",cc:"UK",cd:"United Kingdom",city:"Aboyne(2,3,5,8), Ballater(4,6,7,9)"},{mask:"+44(1340)-######",cc:"UK",cd:"United Kingdom",city:"Craigellachie"},{mask:"+44(1341)-######",cc:"UK",cd:"United Kingdom",city:"Barmouth"},{mask:"+44(1342)-######",cc:"UK",cd:"United Kingdom",city:"East Grinstead"},{mask:"+44(1343)-######",cc:"UK",cd:"United Kingdom",city:"Elgin"},{mask:"+44(1344)-######",cc:"UK",cd:"United Kingdom",city:"Bracknell"},{mask:"+44(1346)-######",cc:"UK",cd:"United Kingdom",city:"Fraserburgh"},{mask:"+44(1347)-######",cc:"UK",cd:"United Kingdom",city:"Easingwold"},{mask:"+44(1348)-######",cc:"UK",cd:"United Kingdom",city:"Fishguard"},{mask:"+44(1349)-######",cc:"UK",cd:"United Kingdom",city:"Dingwall"},{mask:"+44(1350)-######",cc:"UK",cd:"United Kingdom",city:"Dunkeld"},{mask:"+44(1352)-######",cc:"UK",cd:"United Kingdom",city:"Mold"},{mask:"+44(1353)-######",cc:"UK",cd:"United Kingdom",city:"Ely"},{mask:"+44(1354)-######",cc:"UK",cd:"United Kingdom",city:"Chatteris"},{mask:"+44(1355)-######",cc:"UK",cd:"United Kingdom",city:"East Kilbride"},{mask:"+44(1356)-######",cc:"UK",cd:"United Kingdom",city:"Brechin"},{mask:"+44(1357)-######",cc:"UK",cd:"United Kingdom",city:"Strathaven"},{mask:"+44(1358)-######",cc:"UK",cd:"United Kingdom",city:"Ellon"},{mask:"+44(1359)-######",cc:"UK",cd:"United Kingdom",city:"Pakenham"},{mask:"+44(1360)-######",cc:"UK",cd:"United Kingdom",city:"Killearn"},{mask:"+44(1361)-######",cc:"UK",cd:"United Kingdom",city:"Duns"},{mask:"+44(1362)-######",cc:"UK",cd:"United Kingdom",city:"Dereham"},{mask:"+44(1363)-######",cc:"UK",cd:"United Kingdom",city:"Crediton"},{mask:"+44(1364)-######",cc:"UK",cd:"United Kingdom",city:"Ashburton"},{mask:"+44(1366)-######",cc:"UK",cd:"United Kingdom",city:"Downham Market"},{mask:"+44(1367)-######",cc:"UK",cd:"United Kingdom",city:"Faringdon"},{mask:"+44(1368)-######",cc:"UK",cd:"United Kingdom",city:"Dunbar"},{mask:"+44(1369)-######",cc:"UK",cd:"United Kingdom",city:"Dunoon"},{mask:"+44(1371)-######",cc:"UK",cd:"United Kingdom",city:"Great Dunmow"},{mask:"+44(1372)-######",cc:"UK",cd:"United Kingdom",city:"Esher"},{mask:"+44(1373)-######",cc:"UK",cd:"United Kingdom",city:"Frome"},{mask:"+44(1375)-######",cc:"UK",cd:"United Kingdom",city:"Grays Thurrock"},{mask:"+44(1376)-######",cc:"UK",cd:"United Kingdom",city:"Braintree"},{mask:"+44(1377)-######",cc:"UK",cd:"United Kingdom",city:"Driffield"},{mask:"+44(1379)-######",cc:"UK",cd:"United Kingdom",city:"Diss"},{mask:"+44(1380)-######",cc:"UK",cd:"United Kingdom",city:"Devizes"},{mask:"+44(1381)-######",cc:"UK",cd:"United Kingdom",city:"Fortrose"},{mask:"+44(1382)-######",cc:"UK",cd:"United Kingdom",city:"Dundee"},{mask:"+44(1383)-######",cc:"UK",cd:"United Kingdom",city:"Dunfermline"},{mask:"+44(1384)-######",cc:"UK",cd:"United Kingdom",city:"Dudley"},{mask:"+44(1386)-######",cc:"UK",cd:"United Kingdom",city:"Evesham"},{mask:"+44(1387)-######",cc:"UK",cd:"United Kingdom",city:"Dumfries"},{mask:"+44(13873)-####[#]",cc:"UK",cd:"United Kingdom",city:"Langholm"},{mask:"+44(1388)-######",cc:"UK",cd:"United Kingdom",city:"Bishop Auckland(3,4,6,7,8,9), Stanhope(2,5)"},{mask:"+44(1389)-######",cc:"UK",cd:"United Kingdom",city:"Dumbarton"},{mask:"+44(1392)-######",cc:"UK",cd:"United Kingdom",city:"Exeter"},{mask:"+44(1394)-######",cc:"UK",cd:"United Kingdom",city:"Felixstowe"},{mask:"+44(1395)-######",cc:"UK",cd:"United Kingdom",city:"Budleigh Salterton"},{mask:"+44(1397)-######",cc:"UK",cd:"United Kingdom",city:"Fort William"},{mask:"+44(1398)-######",cc:"UK",cd:"United Kingdom",city:"Dulverton"},{mask:"+44(1400)-######",cc:"UK",cd:"United Kingdom",city:"Honington"},{mask:"+44(1403)-######",cc:"UK",cd:"United Kingdom",city:"Horsham"},{mask:"+44(1404)-######",cc:"UK",cd:"United Kingdom",city:"Honiton"},{mask:"+44(1405)-######",cc:"UK",cd:"United Kingdom",city:"Goole"},{mask:"+44(1406)-######",cc:"UK",cd:"United Kingdom",city:"Holbeach"},{mask:"+44(1407)-######",cc:"UK",cd:"United Kingdom",city:"Holyhead"},{mask:"+44(1408)-######",cc:"UK",cd:"United Kingdom",city:"Golspie"},{mask:"+44(1409)-######",cc:"UK",cd:"United Kingdom",city:"Holsworthy"},{mask:"+44(141)-###-###",cc:"UK",cd:"United Kingdom",city:"Glasgow"},{mask:"+44(1420)-######",cc:"UK",cd:"United Kingdom",city:"Alton"},{mask:"+44(1422)-######",cc:"UK",cd:"United Kingdom",city:"Halifax"},{mask:"+44(1423)-######",cc:"UK",cd:"United Kingdom",city:"Boroughbridge(3,4,9), Harrogate(2,5,6,7,8)"},{mask:"+44(1424)-######",cc:"UK",cd:"United Kingdom",city:"Hastings"},{mask:"+44(1425)-######",cc:"UK",cd:"United Kingdom",city:"Ringwood"},{mask:"+44(1427)-######",cc:"UK",cd:"United Kingdom",city:"Gainsborough"},{mask:"+44(1428)-######",cc:"UK",cd:"United Kingdom",city:"Haslemere"},{mask:"+44(1429)-######",cc:"UK",cd:"United Kingdom",city:"Hartlepool"},{mask:"+44(1430)-######",cc:"UK",cd:"United Kingdom",city:"Market Weighton(6,7,8,9), North Cave(2,3,4,5)"},{mask:"+44(1431)-######",cc:"UK",cd:"United Kingdom",city:"Helmsdale"},{mask:"+44(1432)-######",cc:"UK",cd:"United Kingdom",city:"Hereford"},{mask:"+44(1433)-######",cc:"UK",cd:"United Kingdom",city:"Hathersage"},{mask:"+44(1434)-######",cc:"UK",cd:"United Kingdom",city:"Bellingham(2,4,9), Haltwhistle(3,5), Hexham(6,7,8)"},{mask:"+44(1435)-######",cc:"UK",cd:"United Kingdom",city:"Heathfield"},{mask:"+44(1436)-######",cc:"UK",cd:"United Kingdom",city:"Helensburgh"},{mask:"+44(1437)-######",cc:"UK",cd:"United Kingdom",city:"Clynderwen(2,3,4,5), Haverfordwest(6,7,8,9)"},{mask:"+44(1438)-######",cc:"UK",cd:"United Kingdom",city:"Stevenage"},{mask:"+44(1439)-######",cc:"UK",cd:"United Kingdom",city:"Helmsley"},{mask:"+44(1440)-######",cc:"UK",cd:"United Kingdom",city:"Haverhill"},{mask:"+44(1442)-######",cc:"UK",cd:"United Kingdom",city:"Hemel Hempstead"},{mask:"+44(1443)-######",cc:"UK",cd:"United Kingdom",city:"Pontypridd"},{mask:"+44(1444)-######",cc:"UK",cd:"United Kingdom",city:"Haywards Heath"},{mask:"+44(1445)-######",cc:"UK",cd:"United Kingdom",city:"Gairloch"},{mask:"+44(1446)-######",cc:"UK",cd:"United Kingdom",city:"Barry"},{mask:"+44(1449)-######",cc:"UK",cd:"United Kingdom",city:"Stowmarket"},{mask:"+44(1450)-######",cc:"UK",cd:"United Kingdom",city:"Hawick"},{mask:"+44(1451)-######",cc:"UK",cd:"United Kingdom",city:"Stow-on-the-Wold"},{mask:"+44(1452)-######",cc:"UK",cd:"United Kingdom",city:"Gloucester"},{mask:"+44(1453)-######",cc:"UK",cd:"United Kingdom",city:"Dursley"},{mask:"+44(1454)-######",cc:"UK",cd:"United Kingdom",city:"Chipping Sodbury"},{mask:"+44(1455)-######",cc:"UK",cd:"United Kingdom",city:"Hinckley"},{mask:"+44(1456)-######",cc:"UK",cd:"United Kingdom",city:"Glenurquhart"}]}}),c}); |
@@ -6,5 +6,5 @@ /*! | ||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) | ||
* Version: 4.0.0-beta.32 | ||
* Version: 4.0.0-beta.33 | ||
*/ | ||
!function(c){"function"==typeof define&&define.amd?define(["../inputmask"],c):"object"==typeof exports?module.exports=c(require("../inputmask")):c(window.Inputmask)}(function(c){return c.extendAliases({phone:{alias:"abstractphone",phoneCodes:[{mask:"+247-####",cc:"AC",cd:"Ascension",desc_en:"",name_ru:"Остров Вознесения",desc_ru:""},{mask:"+376-###-###",cc:"AD",cd:"Andorra",desc_en:"",name_ru:"Андорра",desc_ru:""},{mask:"+971-5#-###-####",cc:"AE",cd:"United Arab Emirates",desc_en:"mobile",name_ru:"Объединенные Арабские Эмираты",desc_ru:"мобильные"},{mask:"+971-#-###-####",cc:"AE",cd:"United Arab Emirates",desc_en:"",name_ru:"Объединенные Арабские Эмираты",desc_ru:""},{mask:"+93-##-###-####",cc:"AF",cd:"Afghanistan",desc_en:"",name_ru:"Афганистан",desc_ru:""},{mask:"+1(268)###-####",cc:"AG",cd:"Antigua & Barbuda",desc_en:"",name_ru:"Антигуа и Барбуда",desc_ru:""},{mask:"+1(264)###-####",cc:"AI",cd:"Anguilla",desc_en:"",name_ru:"Ангилья",desc_ru:""},{mask:"+355(###)###-###",cc:"AL",cd:"Albania",desc_en:"",name_ru:"Албания",desc_ru:""},{mask:"+374-##-###-###",cc:"AM",cd:"Armenia",desc_en:"",name_ru:"Армения",desc_ru:""},{mask:"+599-###-####",cc:"AN",cd:"Caribbean Netherlands",desc_en:"",name_ru:"Карибские Нидерланды",desc_ru:""},{mask:"+599-###-####",cc:"AN",cd:"Netherlands Antilles",desc_en:"",name_ru:"Нидерландские Антильские острова",desc_ru:""},{mask:"+599-9###-####",cc:"AN",cd:"Netherlands Antilles",desc_en:"Curacao",name_ru:"Нидерландские Антильские острова",desc_ru:"Кюрасао"},{mask:"+244(###)###-###",cc:"AO",cd:"Angola",desc_en:"",name_ru:"Ангола",desc_ru:""},{mask:"+672-1##-###",cc:"AQ",cd:"Australian bases in Antarctica",desc_en:"",name_ru:"Австралийская антарктическая база",desc_ru:""},{mask:"+54(###)###-####",cc:"AR",cd:"Argentina",desc_en:"",name_ru:"Аргентина",desc_ru:""},{mask:"+1(684)###-####",cc:"AS",cd:"American Samoa",desc_en:"",name_ru:"Американское Самоа",desc_ru:""},{mask:"+43(###)###-####",cc:"AT",cd:"Austria",desc_en:"",name_ru:"Австрия",desc_ru:""},{mask:"+61-#-####-####",cc:"AU",cd:"Australia",desc_en:"",name_ru:"Австралия",desc_ru:""},{mask:"+297-###-####",cc:"AW",cd:"Aruba",desc_en:"",name_ru:"Аруба",desc_ru:""},{mask:"+994-##-###-##-##",cc:"AZ",cd:"Azerbaijan",desc_en:"",name_ru:"Азербайджан",desc_ru:""},{mask:"+387-##-#####",cc:"BA",cd:"Bosnia and Herzegovina",desc_en:"",name_ru:"Босния и Герцеговина",desc_ru:""},{mask:"+387-##-####",cc:"BA",cd:"Bosnia and Herzegovina",desc_en:"",name_ru:"Босния и Герцеговина",desc_ru:""},{mask:"+1(246)###-####",cc:"BB",cd:"Barbados",desc_en:"",name_ru:"Барбадос",desc_ru:""},{mask:"+880-##-###-###",cc:"BD",cd:"Bangladesh",desc_en:"",name_ru:"Бангладеш",desc_ru:""},{mask:"+32(###)###-###",cc:"BE",cd:"Belgium",desc_en:"",name_ru:"Бельгия",desc_ru:""},{mask:"+226-##-##-####",cc:"BF",cd:"Burkina Faso",desc_en:"",name_ru:"Буркина Фасо",desc_ru:""},{mask:"+359(###)###-###",cc:"BG",cd:"Bulgaria",desc_en:"",name_ru:"Болгария",desc_ru:""},{mask:"+973-####-####",cc:"BH",cd:"Bahrain",desc_en:"",name_ru:"Бахрейн",desc_ru:""},{mask:"+257-##-##-####",cc:"BI",cd:"Burundi",desc_en:"",name_ru:"Бурунди",desc_ru:""},{mask:"+229-##-##-####",cc:"BJ",cd:"Benin",desc_en:"",name_ru:"Бенин",desc_ru:""},{mask:"+1(441)###-####",cc:"BM",cd:"Bermuda",desc_en:"",name_ru:"Бермудские острова",desc_ru:""},{mask:"+673-###-####",cc:"BN",cd:"Brunei Darussalam",desc_en:"",name_ru:"Бруней-Даруссалам",desc_ru:""},{mask:"+591-#-###-####",cc:"BO",cd:"Bolivia",desc_en:"",name_ru:"Боливия",desc_ru:""},{mask:"+55-##-####-####",cc:"BR",cd:"Brazil",desc_en:"",name_ru:"Бразилия",desc_ru:""},{mask:"+55-##-#####-####",cc:"BR",cd:"Brazil",desc_en:"",name_ru:"Бразилия",desc_ru:""},{mask:"+1(242)###-####",cc:"BS",cd:"Bahamas",desc_en:"",name_ru:"Багамские Острова",desc_ru:""},{mask:"+975-17-###-###",cc:"BT",cd:"Bhutan",desc_en:"",name_ru:"Бутан",desc_ru:""},{mask:"+975-#-###-###",cc:"BT",cd:"Bhutan",desc_en:"",name_ru:"Бутан",desc_ru:""},{mask:"+267-##-###-###",cc:"BW",cd:"Botswana",desc_en:"",name_ru:"Ботсвана",desc_ru:""},{mask:"+375(##)###-##-##",cc:"BY",cd:"Belarus",desc_en:"",name_ru:"Беларусь (Белоруссия)",desc_ru:""},{mask:"+501-###-####",cc:"BZ",cd:"Belize",desc_en:"",name_ru:"Белиз",desc_ru:""},{mask:"+243(###)###-###",cc:"CD",cd:"Dem. Rep. Congo",desc_en:"",name_ru:"Дем. Респ. Конго (Киншаса)",desc_ru:""},{mask:"+236-##-##-####",cc:"CF",cd:"Central African Republic",desc_en:"",name_ru:"Центральноафриканская Республика",desc_ru:""},{mask:"+242-##-###-####",cc:"CG",cd:"Congo (Brazzaville)",desc_en:"",name_ru:"Конго (Браззавиль)",desc_ru:""},{mask:"+41-##-###-####",cc:"CH",cd:"Switzerland",desc_en:"",name_ru:"Швейцария",desc_ru:""},{mask:"+225-##-###-###",cc:"CI",cd:"Cote d’Ivoire (Ivory Coast)",desc_en:"",name_ru:"Кот-д’Ивуар",desc_ru:""},{mask:"+682-##-###",cc:"CK",cd:"Cook Islands",desc_en:"",name_ru:"Острова Кука",desc_ru:""},{mask:"+56-#-####-####",cc:"CL",cd:"Chile",desc_en:"",name_ru:"Чили",desc_ru:""},{mask:"+237-####-####",cc:"CM",cd:"Cameroon",desc_en:"",name_ru:"Камерун",desc_ru:""},{mask:"+86(###)####-####",cc:"CN",cd:"China (PRC)",desc_en:"",name_ru:"Китайская Н.Р.",desc_ru:""},{mask:"+86(###)####-###",cc:"CN",cd:"China (PRC)",desc_en:"",name_ru:"Китайская Н.Р.",desc_ru:""},{mask:"+86-##-#####-#####",cc:"CN",cd:"China (PRC)",desc_en:"",name_ru:"Китайская Н.Р.",desc_ru:""},{mask:"+57(###)###-####",cc:"CO",cd:"Colombia",desc_en:"",name_ru:"Колумбия",desc_ru:""},{mask:"+506-####-####",cc:"CR",cd:"Costa Rica",desc_en:"",name_ru:"Коста-Рика",desc_ru:""},{mask:"+53-#-###-####",cc:"CU",cd:"Cuba",desc_en:"",name_ru:"Куба",desc_ru:""},{mask:"+238(###)##-##",cc:"CV",cd:"Cape Verde",desc_en:"",name_ru:"Кабо-Верде",desc_ru:""},{mask:"+599-###-####",cc:"CW",cd:"Curacao",desc_en:"",name_ru:"Кюрасао",desc_ru:""},{mask:"+357-##-###-###",cc:"CY",cd:"Cyprus",desc_en:"",name_ru:"Кипр",desc_ru:""},{mask:"+420(###)###-###",cc:"CZ",cd:"Czech Republic",desc_en:"",name_ru:"Чехия",desc_ru:""},{mask:"+49(####)###-####",cc:"DE",cd:"Germany",desc_en:"",name_ru:"Германия",desc_ru:""},{mask:"+49(###)###-####",cc:"DE",cd:"Germany",desc_en:"",name_ru:"Германия",desc_ru:""},{mask:"+49(###)##-####",cc:"DE",cd:"Germany",desc_en:"",name_ru:"Германия",desc_ru:""},{mask:"+49(###)##-###",cc:"DE",cd:"Germany",desc_en:"",name_ru:"Германия",desc_ru:""},{mask:"+49(###)##-##",cc:"DE",cd:"Germany",desc_en:"",name_ru:"Германия",desc_ru:""},{mask:"+49-###-###",cc:"DE",cd:"Germany",desc_en:"",name_ru:"Германия",desc_ru:""},{mask:"+253-##-##-##-##",cc:"DJ",cd:"Djibouti",desc_en:"",name_ru:"Джибути",desc_ru:""},{mask:"+45-##-##-##-##",cc:"DK",cd:"Denmark",desc_en:"",name_ru:"Дания",desc_ru:""},{mask:"+1(767)###-####",cc:"DM",cd:"Dominica",desc_en:"",name_ru:"Доминика",desc_ru:""},{mask:"+1(809)###-####",cc:"DO",cd:"Dominican Republic",desc_en:"",name_ru:"Доминиканская Республика",desc_ru:""},{mask:"+1(829)###-####",cc:"DO",cd:"Dominican Republic",desc_en:"",name_ru:"Доминиканская Республика",desc_ru:""},{mask:"+1(849)###-####",cc:"DO",cd:"Dominican Republic",desc_en:"",name_ru:"Доминиканская Республика",desc_ru:""},{mask:"+213-##-###-####",cc:"DZ",cd:"Algeria",desc_en:"",name_ru:"Алжир",desc_ru:""},{mask:"+593-##-###-####",cc:"EC",cd:"Ecuador ",desc_en:"mobile",name_ru:"Эквадор ",desc_ru:"мобильные"},{mask:"+593-#-###-####",cc:"EC",cd:"Ecuador",desc_en:"",name_ru:"Эквадор",desc_ru:""},{mask:"+372-####-####",cc:"EE",cd:"Estonia ",desc_en:"mobile",name_ru:"Эстония ",desc_ru:"мобильные"},{mask:"+372-###-####",cc:"EE",cd:"Estonia",desc_en:"",name_ru:"Эстония",desc_ru:""},{mask:"+20(###)###-####",cc:"EG",cd:"Egypt",desc_en:"",name_ru:"Египет",desc_ru:""},{mask:"+291-#-###-###",cc:"ER",cd:"Eritrea",desc_en:"",name_ru:"Эритрея",desc_ru:""},{mask:"+34(###)###-###",cc:"ES",cd:"Spain",desc_en:"",name_ru:"Испания",desc_ru:""},{mask:"+251-##-###-####",cc:"ET",cd:"Ethiopia",desc_en:"",name_ru:"Эфиопия",desc_ru:""},{mask:"+358(###)###-##-##",cc:"FI",cd:"Finland",desc_en:"",name_ru:"Финляндия",desc_ru:""},{mask:"+679-##-#####",cc:"FJ",cd:"Fiji",desc_en:"",name_ru:"Фиджи",desc_ru:""},{mask:"+500-#####",cc:"FK",cd:"Falkland Islands",desc_en:"",name_ru:"Фолклендские острова",desc_ru:""},{mask:"+691-###-####",cc:"FM",cd:"F.S. Micronesia",desc_en:"",name_ru:"Ф.Ш. Микронезии",desc_ru:""},{mask:"+298-###-###",cc:"FO",cd:"Faroe Islands",desc_en:"",name_ru:"Фарерские острова",desc_ru:""},{mask:"+262-#####-####",cc:"FR",cd:"Mayotte",desc_en:"",name_ru:"Майотта",desc_ru:""},{mask:"+33(###)###-###",cc:"FR",cd:"France",desc_en:"",name_ru:"Франция",desc_ru:""},{mask:"+508-##-####",cc:"FR",cd:"St Pierre & Miquelon",desc_en:"",name_ru:"Сен-Пьер и Микелон",desc_ru:""},{mask:"+590(###)###-###",cc:"FR",cd:"Guadeloupe",desc_en:"",name_ru:"Гваделупа",desc_ru:""},{mask:"+241-#-##-##-##",cc:"GA",cd:"Gabon",desc_en:"",name_ru:"Габон",desc_ru:""},{mask:"+1(473)###-####",cc:"GD",cd:"Grenada",desc_en:"",name_ru:"Гренада",desc_ru:""},{mask:"+995(###)###-###",cc:"GE",cd:"Rep. of Georgia",desc_en:"",name_ru:"Грузия",desc_ru:""},{mask:"+594-#####-####",cc:"GF",cd:"Guiana (French)",desc_en:"",name_ru:"Фр. Гвиана",desc_ru:""},{mask:"+233(###)###-###",cc:"GH",cd:"Ghana",desc_en:"",name_ru:"Гана",desc_ru:""},{mask:"+350-###-#####",cc:"GI",cd:"Gibraltar",desc_en:"",name_ru:"Гибралтар",desc_ru:""},{mask:"+299-##-##-##",cc:"GL",cd:"Greenland",desc_en:"",name_ru:"Гренландия",desc_ru:""},{mask:"+220(###)##-##",cc:"GM",cd:"Gambia",desc_en:"",name_ru:"Гамбия",desc_ru:""},{mask:"+224-##-###-###",cc:"GN",cd:"Guinea",desc_en:"",name_ru:"Гвинея",desc_ru:""},{mask:"+240-##-###-####",cc:"GQ",cd:"Equatorial Guinea",desc_en:"",name_ru:"Экваториальная Гвинея",desc_ru:""},{mask:"+30(###)###-####",cc:"GR",cd:"Greece",desc_en:"",name_ru:"Греция",desc_ru:""},{mask:"+502-#-###-####",cc:"GT",cd:"Guatemala",desc_en:"",name_ru:"Гватемала",desc_ru:""},{mask:"+1(671)###-####",cc:"GU",cd:"Guam",desc_en:"",name_ru:"Гуам",desc_ru:""},{mask:"+245-#-######",cc:"GW",cd:"Guinea-Bissau",desc_en:"",name_ru:"Гвинея-Бисау",desc_ru:""},{mask:"+592-###-####",cc:"GY",cd:"Guyana",desc_en:"",name_ru:"Гайана",desc_ru:""},{mask:"+852-####-####",cc:"HK",cd:"Hong Kong",desc_en:"",name_ru:"Гонконг",desc_ru:""},{mask:"+504-####-####",cc:"HN",cd:"Honduras",desc_en:"",name_ru:"Гондурас",desc_ru:""},{mask:"+385-(##)-###-###",cc:"HR",cd:"Croatia",desc_en:"",name_ru:"Хорватия",desc_ru:""},{mask:"+385-(##)-###-####",cc:"HR",cd:"Croatia",desc_en:"",name_ru:"Хорватия",desc_ru:""},{mask:"+385-1-####-###",cc:"HR",cd:"Croatia",desc_en:"",name_ru:"Хорватия",desc_ru:""},{mask:"+509-##-##-####",cc:"HT",cd:"Haiti",desc_en:"",name_ru:"Гаити",desc_ru:""},{mask:"+36(###)###-###",cc:"HU",cd:"Hungary",desc_en:"",name_ru:"Венгрия",desc_ru:""},{mask:"+62(8##)###-####",cc:"ID",cd:"Indonesia ",desc_en:"mobile",name_ru:"Индонезия ",desc_ru:"мобильные"},{mask:"+62-##-###-##",cc:"ID",cd:"Indonesia",desc_en:"",name_ru:"Индонезия",desc_ru:""},{mask:"+62-##-###-###",cc:"ID",cd:"Indonesia",desc_en:"",name_ru:"Индонезия",desc_ru:""},{mask:"+62-##-###-####",cc:"ID",cd:"Indonesia",desc_en:"",name_ru:"Индонезия",desc_ru:""},{mask:"+62(8##)###-###",cc:"ID",cd:"Indonesia ",desc_en:"mobile",name_ru:"Индонезия ",desc_ru:"мобильные"},{mask:"+62(8##)###-##-###",cc:"ID",cd:"Indonesia ",desc_en:"mobile",name_ru:"Индонезия ",desc_ru:"мобильные"},{mask:"+353(###)###-###",cc:"IE",cd:"Ireland",desc_en:"",name_ru:"Ирландия",desc_ru:""},{mask:"+972-5#-###-####",cc:"IL",cd:"Israel ",desc_en:"mobile",name_ru:"Израиль ",desc_ru:"мобильные"},{mask:"+972-#-###-####",cc:"IL",cd:"Israel",desc_en:"",name_ru:"Израиль",desc_ru:""},{mask:"+91(####)###-###",cc:"IN",cd:"India",desc_en:"",name_ru:"Индия",desc_ru:""},{mask:"+246-###-####",cc:"IO",cd:"Diego Garcia",desc_en:"",name_ru:"Диего-Гарсия",desc_ru:""},{mask:"+964(###)###-####",cc:"IQ",cd:"Iraq",desc_en:"",name_ru:"Ирак",desc_ru:""},{mask:"+98(###)###-####",cc:"IR",cd:"Iran",desc_en:"",name_ru:"Иран",desc_ru:""},{mask:"+354-###-####",cc:"IS",cd:"Iceland",desc_en:"",name_ru:"Исландия",desc_ru:""},{mask:"+39(0##)####-##-##",cc:"IT",cd:"Italy",desc_en:"",name_ru:"Италия",desc_ru:""},{mask:"+39(0##)####-###",cc:"IT",cd:"Italy",desc_en:"",name_ru:"Италия",desc_ru:""},{mask:"+39(0##)###-###",cc:"IT",cd:"Italy",desc_en:"",name_ru:"Италия",desc_ru:""},{mask:"+39(0##)##-###",cc:"IT",cd:"Italy",desc_en:"",name_ru:"Италия",desc_ru:""},{mask:"+39(0##)##-##",cc:"IT",cd:"Italy",desc_en:"",name_ru:"Италия",desc_ru:""},{mask:"+39(0#)##-##",cc:"IT",cd:"Italy",desc_en:"",name_ru:"Италия",desc_ru:""},{mask:"+39(3##)###-##-##",cc:"IT",cd:"Italy",desc_en:"",name_ru:"Италия",desc_ru:""},{mask:"+39(3##)##-##-##",cc:"IT",cd:"Italy",desc_en:"",name_ru:"Италия",desc_ru:""},{mask:"+1(876)###-####",cc:"JM",cd:"Jamaica",desc_en:"",name_ru:"Ямайка",desc_ru:""},{mask:"+962-#-####-####",cc:"JO",cd:"Jordan",desc_en:"",name_ru:"Иордания",desc_ru:""},{mask:"+81-##-####-####",cc:"JP",cd:"Japan ",desc_en:"mobile",name_ru:"Япония ",desc_ru:"мобильные"},{mask:"+81(###)###-###",cc:"JP",cd:"Japan",desc_en:"",name_ru:"Япония",desc_ru:""},{mask:"+254-###-######",cc:"KE",cd:"Kenya",desc_en:"",name_ru:"Кения",desc_ru:""},{mask:"+996(###)###-###",cc:"KG",cd:"Kyrgyzstan",desc_en:"",name_ru:"Киргизия",desc_ru:""},{mask:"+855-##-###-###",cc:"KH",cd:"Cambodia",desc_en:"",name_ru:"Камбоджа",desc_ru:""},{mask:"+686-##-###",cc:"KI",cd:"Kiribati",desc_en:"",name_ru:"Кирибати",desc_ru:""},{mask:"+269-##-#####",cc:"KM",cd:"Comoros",desc_en:"",name_ru:"Коморы",desc_ru:""},{mask:"+1(869)###-####",cc:"KN",cd:"Saint Kitts & Nevis",desc_en:"",name_ru:"Сент-Китс и Невис",desc_ru:""},{mask:"+850-191-###-####",cc:"KP",cd:"DPR Korea (North) ",desc_en:"mobile",name_ru:"Корейская НДР ",desc_ru:"мобильные"},{mask:"+850-##-###-###",cc:"KP",cd:"DPR Korea (North)",desc_en:"",name_ru:"Корейская НДР",desc_ru:""},{mask:"+850-###-####-###",cc:"KP",cd:"DPR Korea (North)",desc_en:"",name_ru:"Корейская НДР",desc_ru:""},{mask:"+850-###-###",cc:"KP",cd:"DPR Korea (North)",desc_en:"",name_ru:"Корейская НДР",desc_ru:""},{mask:"+850-####-####",cc:"KP",cd:"DPR Korea (North)",desc_en:"",name_ru:"Корейская НДР",desc_ru:""},{mask:"+850-####-#############",cc:"KP",cd:"DPR Korea (North)",desc_en:"",name_ru:"Корейская НДР",desc_ru:""},{mask:"+82-##-###-####",cc:"KR",cd:"Korea (South)",desc_en:"",name_ru:"Респ. Корея",desc_ru:""},{mask:"+965-####-####",cc:"KW",cd:"Kuwait",desc_en:"",name_ru:"Кувейт",desc_ru:""},{mask:"+1(345)###-####",cc:"KY",cd:"Cayman Islands",desc_en:"",name_ru:"Каймановы острова",desc_ru:""},{mask:"+7(6##)###-##-##",cc:"KZ",cd:"Kazakhstan",desc_en:"",name_ru:"Казахстан",desc_ru:""},{mask:"+7(7##)###-##-##",cc:"KZ",cd:"Kazakhstan",desc_en:"",name_ru:"Казахстан",desc_ru:""},{mask:"+856(20##)###-###",cc:"LA",cd:"Laos ",desc_en:"mobile",name_ru:"Лаос ",desc_ru:"мобильные"},{mask:"+856-##-###-###",cc:"LA",cd:"Laos",desc_en:"",name_ru:"Лаос",desc_ru:""},{mask:"+961-##-###-###",cc:"LB",cd:"Lebanon ",desc_en:"mobile",name_ru:"Ливан ",desc_ru:"мобильные"},{mask:"+961-#-###-###",cc:"LB",cd:"Lebanon",desc_en:"",name_ru:"Ливан",desc_ru:""},{mask:"+1(758)###-####",cc:"LC",cd:"Saint Lucia",desc_en:"",name_ru:"Сент-Люсия",desc_ru:""},{mask:"+423(###)###-####",cc:"LI",cd:"Liechtenstein",desc_en:"",name_ru:"Лихтенштейн",desc_ru:""},{mask:"+94-##-###-####",cc:"LK",cd:"Sri Lanka",desc_en:"",name_ru:"Шри-Ланка",desc_ru:""},{mask:"+231-##-###-###",cc:"LR",cd:"Liberia",desc_en:"",name_ru:"Либерия",desc_ru:""},{mask:"+266-#-###-####",cc:"LS",cd:"Lesotho",desc_en:"",name_ru:"Лесото",desc_ru:""},{mask:"+370(###)##-###",cc:"LT",cd:"Lithuania",desc_en:"",name_ru:"Литва",desc_ru:""},{mask:"+352-###-###",cc:"LU",cd:"Luxembourg",desc_en:"",name_ru:"Люксембург",desc_ru:""},{mask:"+352-####-###",cc:"LU",cd:"Luxembourg",desc_en:"",name_ru:"Люксембург",desc_ru:""},{mask:"+352-#####-###",cc:"LU",cd:"Luxembourg",desc_en:"",name_ru:"Люксембург",desc_ru:""},{mask:"+352-######-###",cc:"LU",cd:"Luxembourg",desc_en:"",name_ru:"Люксембург",desc_ru:""},{mask:"+371-##-###-###",cc:"LV",cd:"Latvia",desc_en:"",name_ru:"Латвия",desc_ru:""},{mask:"+218-##-###-###",cc:"LY",cd:"Libya",desc_en:"",name_ru:"Ливия",desc_ru:""},{mask:"+218-21-###-####",cc:"LY",cd:"Libya",desc_en:"Tripoli",name_ru:"Ливия",desc_ru:"Триполи"},{mask:"+212-##-####-###",cc:"MA",cd:"Morocco",desc_en:"",name_ru:"Марокко",desc_ru:""},{mask:"+377(###)###-###",cc:"MC",cd:"Monaco",desc_en:"",name_ru:"Монако",desc_ru:""},{mask:"+377-##-###-###",cc:"MC",cd:"Monaco",desc_en:"",name_ru:"Монако",desc_ru:""},{mask:"+373-####-####",cc:"MD",cd:"Moldova",desc_en:"",name_ru:"Молдова",desc_ru:""},{mask:"+382-##-###-###",cc:"ME",cd:"Montenegro",desc_en:"",name_ru:"Черногория",desc_ru:""},{mask:"+261-##-##-#####",cc:"MG",cd:"Madagascar",desc_en:"",name_ru:"Мадагаскар",desc_ru:""},{mask:"+692-###-####",cc:"MH",cd:"Marshall Islands",desc_en:"",name_ru:"Маршалловы Острова",desc_ru:""},{mask:"+389-##-###-###",cc:"MK",cd:"Republic of Macedonia",desc_en:"",name_ru:"Респ. Македония",desc_ru:""},{mask:"+223-##-##-####",cc:"ML",cd:"Mali",desc_en:"",name_ru:"Мали",desc_ru:""},{mask:"+95-##-###-###",cc:"MM",cd:"Burma (Myanmar)",desc_en:"",name_ru:"Бирма (Мьянма)",desc_ru:""},{mask:"+95-#-###-###",cc:"MM",cd:"Burma (Myanmar)",desc_en:"",name_ru:"Бирма (Мьянма)",desc_ru:""},{mask:"+95-###-###",cc:"MM",cd:"Burma (Myanmar)",desc_en:"",name_ru:"Бирма (Мьянма)",desc_ru:""},{mask:"+976-##-##-####",cc:"MN",cd:"Mongolia",desc_en:"",name_ru:"Монголия",desc_ru:""},{mask:"+853-####-####",cc:"MO",cd:"Macau",desc_en:"",name_ru:"Макао",desc_ru:""},{mask:"+1(670)###-####",cc:"MP",cd:"Northern Mariana Islands",desc_en:"",name_ru:"Северные Марианские острова Сайпан",desc_ru:""},{mask:"+596(###)##-##-##",cc:"MQ",cd:"Martinique",desc_en:"",name_ru:"Мартиника",desc_ru:""},{mask:"+222-##-##-####",cc:"MR",cd:"Mauritania",desc_en:"",name_ru:"Мавритания",desc_ru:""},{mask:"+1(664)###-####",cc:"MS",cd:"Montserrat",desc_en:"",name_ru:"Монтсеррат",desc_ru:""},{mask:"+356-####-####",cc:"MT",cd:"Malta",desc_en:"",name_ru:"Мальта",desc_ru:""},{mask:"+230-###-####",cc:"MU",cd:"Mauritius",desc_en:"",name_ru:"Маврикий",desc_ru:""},{mask:"+960-###-####",cc:"MV",cd:"Maldives",desc_en:"",name_ru:"Мальдивские острова",desc_ru:""},{mask:"+265-1-###-###",cc:"MW",cd:"Malawi",desc_en:"Telecom Ltd",name_ru:"Малави",desc_ru:"Telecom Ltd"},{mask:"+265-#-####-####",cc:"MW",cd:"Malawi",desc_en:"",name_ru:"Малави",desc_ru:""},{mask:"+52(###)###-####",cc:"MX",cd:"Mexico",desc_en:"",name_ru:"Мексика",desc_ru:""},{mask:"+52-##-##-####",cc:"MX",cd:"Mexico",desc_en:"",name_ru:"Мексика",desc_ru:""},{mask:"+60-##-###-####",cc:"MY",cd:"Malaysia ",desc_en:"mobile",name_ru:"Малайзия ",desc_ru:"мобильные"},{mask:"+60-11-####-####",cc:"MY",cd:"Malaysia ",desc_en:"mobile",name_ru:"Малайзия ",desc_ru:"мобильные"},{mask:"+60(###)###-###",cc:"MY",cd:"Malaysia",desc_en:"",name_ru:"Малайзия",desc_ru:""},{mask:"+60-##-###-###",cc:"MY",cd:"Malaysia",desc_en:"",name_ru:"Малайзия",desc_ru:""},{mask:"+60-#-###-###",cc:"MY",cd:"Malaysia",desc_en:"",name_ru:"Малайзия",desc_ru:""},{mask:"+258-##-###-###",cc:"MZ",cd:"Mozambique",desc_en:"",name_ru:"Мозамбик",desc_ru:""},{mask:"+264-##-###-####",cc:"NA",cd:"Namibia",desc_en:"",name_ru:"Намибия",desc_ru:""},{mask:"+687-##-####",cc:"NC",cd:"New Caledonia",desc_en:"",name_ru:"Новая Каледония",desc_ru:""},{mask:"+227-##-##-####",cc:"NE",cd:"Niger",desc_en:"",name_ru:"Нигер",desc_ru:""},{mask:"+672-3##-###",cc:"NF",cd:"Norfolk Island",desc_en:"",name_ru:"Норфолк (остров)",desc_ru:""},{mask:"+234(###)###-####",cc:"NG",cd:"Nigeria",desc_en:"",name_ru:"Нигерия",desc_ru:""},{mask:"+234-##-###-###",cc:"NG",cd:"Nigeria",desc_en:"",name_ru:"Нигерия",desc_ru:""},{mask:"+234-##-###-##",cc:"NG",cd:"Nigeria",desc_en:"",name_ru:"Нигерия",desc_ru:""},{mask:"+234(###)###-####",cc:"NG",cd:"Nigeria ",desc_en:"mobile",name_ru:"Нигерия ",desc_ru:"мобильные"},{mask:"+505-####-####",cc:"NI",cd:"Nicaragua",desc_en:"",name_ru:"Никарагуа",desc_ru:""},{mask:"+31-##-###-####",cc:"NL",cd:"Netherlands",desc_en:"",name_ru:"Нидерланды",desc_ru:""},{mask:"+47(###)##-###",cc:"NO",cd:"Norway",desc_en:"",name_ru:"Норвегия",desc_ru:""},{mask:"+977-##-###-###",cc:"NP",cd:"Nepal",desc_en:"",name_ru:"Непал",desc_ru:""},{mask:"+674-###-####",cc:"NR",cd:"Nauru",desc_en:"",name_ru:"Науру",desc_ru:""},{mask:"+683-####",cc:"NU",cd:"Niue",desc_en:"",name_ru:"Ниуэ",desc_ru:""},{mask:"+64(###)###-###",cc:"NZ",cd:"New Zealand",desc_en:"",name_ru:"Новая Зеландия",desc_ru:""},{mask:"+64-##-###-###",cc:"NZ",cd:"New Zealand",desc_en:"",name_ru:"Новая Зеландия",desc_ru:""},{mask:"+64(###)###-####",cc:"NZ",cd:"New Zealand",desc_en:"",name_ru:"Новая Зеландия",desc_ru:""},{mask:"+968-##-###-###",cc:"OM",cd:"Oman",desc_en:"",name_ru:"Оман",desc_ru:""},{mask:"+507-###-####",cc:"PA",cd:"Panama",desc_en:"",name_ru:"Панама",desc_ru:""},{mask:"+51(###)###-###",cc:"PE",cd:"Peru",desc_en:"",name_ru:"Перу",desc_ru:""},{mask:"+689-##-##-##",cc:"PF",cd:"French Polynesia",desc_en:"",name_ru:"Французская Полинезия (Таити)",desc_ru:""},{mask:"+675(###)##-###",cc:"PG",cd:"Papua New Guinea",desc_en:"",name_ru:"Папуа-Новая Гвинея",desc_ru:""},{mask:"+63(###)###-####",cc:"PH",cd:"Philippines",desc_en:"",name_ru:"Филиппины",desc_ru:""},{mask:"+92(###)###-####",cc:"PK",cd:"Pakistan",desc_en:"",name_ru:"Пакистан",desc_ru:""},{mask:"+48(###)###-###",cc:"PL",cd:"Poland",desc_en:"",name_ru:"Польша",desc_ru:""},{mask:"+970-##-###-####",cc:"PS",cd:"Palestine",desc_en:"",name_ru:"Палестина",desc_ru:""},{mask:"+351-##-###-####",cc:"PT",cd:"Portugal",desc_en:"",name_ru:"Португалия",desc_ru:""},{mask:"+680-###-####",cc:"PW",cd:"Palau",desc_en:"",name_ru:"Палау",desc_ru:""},{mask:"+595(###)###-###",cc:"PY",cd:"Paraguay",desc_en:"",name_ru:"Парагвай",desc_ru:""},{mask:"+974-####-####",cc:"QA",cd:"Qatar",desc_en:"",name_ru:"Катар",desc_ru:""},{mask:"+262-#####-####",cc:"RE",cd:"Reunion",desc_en:"",name_ru:"Реюньон",desc_ru:""},{mask:"+40-##-###-####",cc:"RO",cd:"Romania",desc_en:"",name_ru:"Румыния",desc_ru:""},{mask:"+381-##-###-####",cc:"RS",cd:"Serbia",desc_en:"",name_ru:"Сербия",desc_ru:""},{mask:"+7(###)###-##-##",cc:"RU",cd:"Russia",desc_en:"",name_ru:"Россия",desc_ru:""},{mask:"+250(###)###-###",cc:"RW",cd:"Rwanda",desc_en:"",name_ru:"Руанда",desc_ru:""},{mask:"+966-5-####-####",cc:"SA",cd:"Saudi Arabia ",desc_en:"mobile",name_ru:"Саудовская Аравия ",desc_ru:"мобильные"},{mask:"+966-#-###-####",cc:"SA",cd:"Saudi Arabia",desc_en:"",name_ru:"Саудовская Аравия",desc_ru:""},{mask:"+677-###-####",cc:"SB",cd:"Solomon Islands ",desc_en:"mobile",name_ru:"Соломоновы Острова ",desc_ru:"мобильные"},{mask:"+677-#####",cc:"SB",cd:"Solomon Islands",desc_en:"",name_ru:"Соломоновы Острова",desc_ru:""},{mask:"+248-#-###-###",cc:"SC",cd:"Seychelles",desc_en:"",name_ru:"Сейшелы",desc_ru:""},{mask:"+249-##-###-####",cc:"SD",cd:"Sudan",desc_en:"",name_ru:"Судан",desc_ru:""},{mask:"+46-##-###-####",cc:"SE",cd:"Sweden",desc_en:"",name_ru:"Швеция",desc_ru:""},{mask:"+65-####-####",cc:"SG",cd:"Singapore",desc_en:"",name_ru:"Сингапур",desc_ru:""},{mask:"+290-####",cc:"SH",cd:"Saint Helena",desc_en:"",name_ru:"Остров Святой Елены",desc_ru:""},{mask:"+290-####",cc:"SH",cd:"Tristan da Cunha",desc_en:"",name_ru:"Тристан-да-Кунья",desc_ru:""},{mask:"+386-##-###-###",cc:"SI",cd:"Slovenia",desc_en:"",name_ru:"Словения",desc_ru:""},{mask:"+421(###)###-###",cc:"SK",cd:"Slovakia",desc_en:"",name_ru:"Словакия",desc_ru:""},{mask:"+232-##-######",cc:"SL",cd:"Sierra Leone",desc_en:"",name_ru:"Сьерра-Леоне",desc_ru:""},{mask:"+378-####-######",cc:"SM",cd:"San Marino",desc_en:"",name_ru:"Сан-Марино",desc_ru:""},{mask:"+221-##-###-####",cc:"SN",cd:"Senegal",desc_en:"",name_ru:"Сенегал",desc_ru:""},{mask:"+252-##-###-###",cc:"SO",cd:"Somalia",desc_en:"",name_ru:"Сомали",desc_ru:""},{mask:"+252-#-###-###",cc:"SO",cd:"Somalia",desc_en:"",name_ru:"Сомали",desc_ru:""},{mask:"+252-#-###-###",cc:"SO",cd:"Somalia ",desc_en:"mobile",name_ru:"Сомали ",desc_ru:"мобильные"},{mask:"+597-###-####",cc:"SR",cd:"Suriname ",desc_en:"mobile",name_ru:"Суринам ",desc_ru:"мобильные"},{mask:"+597-###-###",cc:"SR",cd:"Suriname",desc_en:"",name_ru:"Суринам",desc_ru:""},{mask:"+211-##-###-####",cc:"SS",cd:"South Sudan",desc_en:"",name_ru:"Южный Судан",desc_ru:""},{mask:"+239-##-#####",cc:"ST",cd:"Sao Tome and Principe",desc_en:"",name_ru:"Сан-Томе и Принсипи",desc_ru:""},{mask:"+503-##-##-####",cc:"SV",cd:"El Salvador",desc_en:"",name_ru:"Сальвадор",desc_ru:""},{mask:"+1(721)###-####",cc:"SX",cd:"Sint Maarten",desc_en:"",name_ru:"Синт-Маартен",desc_ru:""},{mask:"+963-##-####-###",cc:"SY",cd:"Syrian Arab Republic",desc_en:"",name_ru:"Сирийская арабская республика",desc_ru:""},{mask:"+268-##-##-####",cc:"SZ",cd:"Swaziland",desc_en:"",name_ru:"Свазиленд",desc_ru:""},{mask:"+1(649)###-####",cc:"TC",cd:"Turks & Caicos",desc_en:"",name_ru:"Тёркс и Кайкос",desc_ru:""},{mask:"+235-##-##-##-##",cc:"TD",cd:"Chad",desc_en:"",name_ru:"Чад",desc_ru:""},{mask:"+228-##-###-###",cc:"TG",cd:"Togo",desc_en:"",name_ru:"Того",desc_ru:""},{mask:"+66-##-###-####",cc:"TH",cd:"Thailand ",desc_en:"mobile",name_ru:"Таиланд ",desc_ru:"мобильные"},{mask:"+66-##-###-###",cc:"TH",cd:"Thailand",desc_en:"",name_ru:"Таиланд",desc_ru:""},{mask:"+992-##-###-####",cc:"TJ",cd:"Tajikistan",desc_en:"",name_ru:"Таджикистан",desc_ru:""},{mask:"+690-####",cc:"TK",cd:"Tokelau",desc_en:"",name_ru:"Токелау",desc_ru:""},{mask:"+670-###-####",cc:"TL",cd:"East Timor",desc_en:"",name_ru:"Восточный Тимор",desc_ru:""},{mask:"+670-77#-#####",cc:"TL",cd:"East Timor",desc_en:"Timor Telecom",name_ru:"Восточный Тимор",desc_ru:"Timor Telecom"},{mask:"+670-78#-#####",cc:"TL",cd:"East Timor",desc_en:"Timor Telecom",name_ru:"Восточный Тимор",desc_ru:"Timor Telecom"},{mask:"+993-#-###-####",cc:"TM",cd:"Turkmenistan",desc_en:"",name_ru:"Туркменистан",desc_ru:""},{mask:"+216-##-###-###",cc:"TN",cd:"Tunisia",desc_en:"",name_ru:"Тунис",desc_ru:""},{mask:"+676-#####",cc:"TO",cd:"Tonga",desc_en:"",name_ru:"Тонга",desc_ru:""},{mask:"+90(###)###-####",cc:"TR",cd:"Turkey",desc_en:"",name_ru:"Турция",desc_ru:""},{mask:"+1(868)###-####",cc:"TT",cd:"Trinidad & Tobago",desc_en:"",name_ru:"Тринидад и Тобаго",desc_ru:""},{mask:"+688-90####",cc:"TV",cd:"Tuvalu ",desc_en:"mobile",name_ru:"Тувалу ",desc_ru:"мобильные"},{mask:"+688-2####",cc:"TV",cd:"Tuvalu",desc_en:"",name_ru:"Тувалу",desc_ru:""},{mask:"+886-#-####-####",cc:"TW",cd:"Taiwan",desc_en:"",name_ru:"Тайвань",desc_ru:""},{mask:"+886-####-####",cc:"TW",cd:"Taiwan",desc_en:"",name_ru:"Тайвань",desc_ru:""},{mask:"+255-##-###-####",cc:"TZ",cd:"Tanzania",desc_en:"",name_ru:"Танзания",desc_ru:""},{mask:"+380(##)###-##-##",cc:"UA",cd:"Ukraine",desc_en:"",name_ru:"Украина",desc_ru:""},{mask:"+256(###)###-###",cc:"UG",cd:"Uganda",desc_en:"",name_ru:"Уганда",desc_ru:""},{mask:"+44-##-####-####",cc:"UK",cd:"United Kingdom",desc_en:"",name_ru:"Великобритания",desc_ru:""},{mask:"+598-#-###-##-##",cc:"UY",cd:"Uruguay",desc_en:"",name_ru:"Уругвай",desc_ru:""},{mask:"+998-##-###-####",cc:"UZ",cd:"Uzbekistan",desc_en:"",name_ru:"Узбекистан",desc_ru:""},{mask:"+39-6-698-#####",cc:"VA",cd:"Vatican City",desc_en:"",name_ru:"Ватикан",desc_ru:""},{mask:"+1(784)###-####",cc:"VC",cd:"Saint Vincent & the Grenadines",desc_en:"",name_ru:"Сент-Винсент и Гренадины",desc_ru:""},{mask:"+58(###)###-####",cc:"VE",cd:"Venezuela",desc_en:"",name_ru:"Венесуэла",desc_ru:""},{mask:"+1(284)###-####",cc:"VG",cd:"British Virgin Islands",desc_en:"",name_ru:"Британские Виргинские острова",desc_ru:""},{mask:"+1(340)###-####",cc:"VI",cd:"US Virgin Islands",desc_en:"",name_ru:"Американские Виргинские острова",desc_ru:""},{mask:"+84-##-####-###",cc:"VN",cd:"Vietnam",desc_en:"",name_ru:"Вьетнам",desc_ru:""},{mask:"+84(###)####-###",cc:"VN",cd:"Vietnam",desc_en:"",name_ru:"Вьетнам",desc_ru:""},{mask:"+678-##-#####",cc:"VU",cd:"Vanuatu ",desc_en:"mobile",name_ru:"Вануату ",desc_ru:"мобильные"},{mask:"+678-#####",cc:"VU",cd:"Vanuatu",desc_en:"",name_ru:"Вануату",desc_ru:""},{mask:"+681-##-####",cc:"WF",cd:"Wallis and Futuna",desc_en:"",name_ru:"Уоллис и Футуна",desc_ru:""},{mask:"+685-##-####",cc:"WS",cd:"Samoa",desc_en:"",name_ru:"Самоа",desc_ru:""},{mask:"+967-###-###-###",cc:"YE",cd:"Yemen ",desc_en:"mobile",name_ru:"Йемен ",desc_ru:"мобильные"},{mask:"+967-#-###-###",cc:"YE",cd:"Yemen",desc_en:"",name_ru:"Йемен",desc_ru:""},{mask:"+967-##-###-###",cc:"YE",cd:"Yemen",desc_en:"",name_ru:"Йемен",desc_ru:""},{mask:"+27-##-###-####",cc:"ZA",cd:"South Africa",desc_en:"",name_ru:"Южно-Африканская Респ.",desc_ru:""},{mask:"+260-##-###-####",cc:"ZM",cd:"Zambia",desc_en:"",name_ru:"Замбия",desc_ru:""},{mask:"+263-#-######",cc:"ZW",cd:"Zimbabwe",desc_en:"",name_ru:"Зимбабве",desc_ru:""},{mask:"+1(###)###-####",cc:["US","CA"],cd:"USA and Canada",desc_en:"",name_ru:"США и Канада",desc_ru:""}]}}),c}); |
@@ -0,0 +0,0 @@ require("./dist/inputmask/inputmask.date.extensions"); |
@@ -0,0 +0,0 @@ Copyright (c) 2010 - 2018 Robin Herbots |
{ | ||
"name": "inputmask", | ||
"version": "4.0.0-beta.32", | ||
"version": "4.0.0-beta.33", | ||
"description": "Inputmask is a javascript library which creates an input mask. Inputmask can run against vanilla javascript, jQuery and jqlite.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -0,0 +0,0 @@ # Inputmask |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6744613
132022