Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

@@ -0,0 +1,21 @@
/*!
* bindings/inputmask.binding.js
* https://github.com/RobinHerbots/Inputmask
* Copyright (c) 2010 - 2017 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 3.3.11
*/

!function(factory) {
"function" == typeof define && define.amd ? define([ "jquery", "../inputmask", "../global/document" ], factory) : "object" == typeof exports ? module.exports = factory(require("jquery"), require("../inputmask"), require("../global/document")) : factory(jQuery, window.Inputmask, document);
}(function($, Inputmask, document) {
$(document).ajaxComplete(function(event, xmlHttpRequest, ajaxOptions) {
-1 !== $.inArray("html", ajaxOptions.dataTypes) && $(".inputmask, [data-inputmask], [data-inputmask-mask], [data-inputmask-alias]").each(function(ndx, lmnt) {
void 0 === lmnt.inputmask && Inputmask().mask(lmnt);
});
}).ready(function() {
$(".inputmask, [data-inputmask], [data-inputmask-mask], [data-inputmask-alias]").each(function(ndx, lmnt) {
void 0 === lmnt.inputmask && Inputmask().mask(lmnt);
});
});
});
@@ -0,0 +1,62 @@
/*!
* dependencyLibs/inputmask.dependencyLib.jqlite.js
* https://github.com/RobinHerbots/Inputmask
* Copyright (c) 2010 - 2017 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 3.3.11
*/

!function(factory) {
"function" == typeof define && define.amd ? define([ "jqlite", "../global/window", "../global/document]" ], factory) : "object" == typeof exports ? module.exports = factory(require("jqlite"), require("../global/window"), require("../global/document")) : window.dependencyLib = factory(jqlite, window, document);
}(function($, window, document) {
function indexOf(list, elem) {
for (var i = 0, len = list.length; i < len; i++) if (list[i] === elem) return i;
return -1;
}
function type(obj) {
return null == obj ? obj + "" : "object" == typeof obj || "function" == typeof obj ? class2type[class2type.toString.call(obj)] || "object" : typeof obj;
}
function isWindow(obj) {
return null != obj && obj === obj.window;
}
function isArraylike(obj) {
var length = "length" in obj && obj.length, ltype = type(obj);
return "function" !== ltype && !isWindow(obj) && (!(1 !== obj.nodeType || !length) || ("array" === ltype || 0 === length || "number" == typeof length && length > 0 && length - 1 in obj));
}
for (var class2type = {}, classTypes = "Boolean Number String Function Array Date RegExp Object Error".split(" "), nameNdx = 0; nameNdx < classTypes.length; nameNdx++) class2type["[object " + classTypes[nameNdx] + "]"] = classTypes[nameNdx].toLowerCase();
return $.inArray = function(elem, arr, i) {
return null == arr ? -1 : indexOf(arr, elem);
}, $.isFunction = function(obj) {
return "function" === type(obj);
}, $.isArray = Array.isArray, $.isPlainObject = function(obj) {
return "object" === type(obj) && !obj.nodeType && !isWindow(obj) && !(obj.constructor && !class2type.hasOwnProperty.call(obj.constructor.prototype, "isPrototypeOf"));
}, $.extend = function() {
var options, name, src, copy, copyIsArray, clone, target = arguments[0] || {}, i = 1, length = arguments.length, deep = !1;
for ("boolean" == typeof target && (deep = target, target = arguments[i] || {},
i++), "object" == typeof target || $.isFunction(target) || (target = {}), i === length && (target = this,
i--); i < length; i++) if (null != (options = arguments[i])) for (name in options) src = target[name],
target !== (copy = options[name]) && (deep && copy && ($.isPlainObject(copy) || (copyIsArray = $.isArray(copy))) ? (copyIsArray ? (copyIsArray = !1,
clone = src && $.isArray(src) ? src : []) : clone = src && $.isPlainObject(src) ? src : {},
target[name] = $.extend(deep, clone, copy)) : void 0 !== copy && (target[name] = copy));
return target;
}, $.each = function(obj, callback) {
var i = 0;
if (isArraylike(obj)) for (var length = obj.length; i < length && !1 !== callback.call(obj[i], i, obj[i]); i++) ; else for (i in obj) if (!1 === callback.call(obj[i], i, obj[i])) break;
return obj;
}, $.map = function(elems, callback) {
var value, i = 0, length = elems.length, ret = [];
if (isArraylike(elems)) for (;i < length; i++) null != (value = callback(elems[i], i)) && ret.push(value); else for (i in elems) null != (value = callback(elems[i], i)) && ret.push(value);
return [].concat(ret);
}, $.data = function(elem, name, data) {
return $(elem).data(name, data);
}, $.Event = $.Event || function(event, params) {
params = params || {
bubbles: !1,
cancelable: !1,
detail: void 0
};
var evt = document.createEvent("CustomEvent");
return evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail),
evt;
}, $.Event.prototype = window.Event.prototype, $;
});
@@ -0,0 +1,13 @@
/*!
* dependencyLibs/inputmask.dependencyLib.jquery.js
* https://github.com/RobinHerbots/Inputmask
* Copyright (c) 2010 - 2017 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 3.3.11
*/

!function(factory) {
"function" == typeof define && define.amd ? define([ "jquery" ], factory) : "object" == typeof exports ? module.exports = factory(require("jquery")) : window.dependencyLib = factory(jQuery);
}(function($) {
return $;
});
@@ -0,0 +1,133 @@
/*!
* dependencyLibs/inputmask.dependencyLib.js
* https://github.com/RobinHerbots/Inputmask
* Copyright (c) 2010 - 2017 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 3.3.11
*/

!function(factory) {
"function" == typeof define && define.amd ? define([ "../global/window", "../global/document" ], factory) : "object" == typeof exports ? module.exports = factory(require("../global/window"), require("../global/document")) : window.dependencyLib = factory(window, document);
}(function(window, document) {
function indexOf(list, elem) {
for (var i = 0, len = list.length; i < len; i++) if (list[i] === elem) return i;
return -1;
}
function type(obj) {
return null == obj ? obj + "" : "object" == typeof obj || "function" == typeof obj ? class2type[class2type.toString.call(obj)] || "object" : typeof obj;
}
function isWindow(obj) {
return null != obj && obj === obj.window;
}
function isArraylike(obj) {
var length = "length" in obj && obj.length, ltype = type(obj);
return "function" !== ltype && !isWindow(obj) && (!(1 !== obj.nodeType || !length) || ("array" === ltype || 0 === length || "number" == typeof length && length > 0 && length - 1 in obj));
}
function isValidElement(elem) {
return elem instanceof Element;
}
function DependencyLib(elem) {
return elem instanceof DependencyLib ? elem : this instanceof DependencyLib ? void (void 0 !== elem && null !== elem && elem !== window && (this[0] = elem.nodeName ? elem : void 0 !== elem[0] && elem[0].nodeName ? elem[0] : document.querySelector(elem),
void 0 !== this[0] && null !== this[0] && (this[0].eventRegistry = this[0].eventRegistry || {}))) : new DependencyLib(elem);
}
for (var class2type = {}, classTypes = "Boolean Number String Function Array Date RegExp Object Error".split(" "), nameNdx = 0; nameNdx < classTypes.length; nameNdx++) class2type["[object " + classTypes[nameNdx] + "]"] = classTypes[nameNdx].toLowerCase();
return DependencyLib.prototype = {
on: function(events, handler) {
if (isValidElement(this[0])) for (var eventRegistry = this[0].eventRegistry, elem = this[0], _events = events.split(" "), endx = 0; endx < _events.length; endx++) {
var nsEvent = _events[endx].split(".");
!function(ev, namespace) {
elem.addEventListener ? elem.addEventListener(ev, handler, !1) : elem.attachEvent && elem.attachEvent("on" + ev, handler),
eventRegistry[ev] = eventRegistry[ev] || {}, eventRegistry[ev][namespace] = eventRegistry[ev][namespace] || [],
eventRegistry[ev][namespace].push(handler);
}(nsEvent[0], nsEvent[1] || "global");
}
return this;
},
off: function(events, handler) {
if (isValidElement(this[0])) for (var eventRegistry = this[0].eventRegistry, elem = this[0], _events = events.split(" "), endx = 0; endx < _events.length; endx++) for (var nsEvent = _events[endx].split("."), offEvents = function(ev, namespace) {
var hndx, hndL, evts = [];
if (ev.length > 0) if (void 0 === handler) for (hndx = 0, hndL = eventRegistry[ev][namespace].length; hndx < hndL; hndx++) evts.push({
ev: ev,
namespace: namespace && namespace.length > 0 ? namespace : "global",
handler: eventRegistry[ev][namespace][hndx]
}); else evts.push({
ev: ev,
namespace: namespace && namespace.length > 0 ? namespace : "global",
handler: handler
}); else if (namespace.length > 0) for (var evNdx in eventRegistry) for (var nmsp in eventRegistry[evNdx]) if (nmsp === namespace) if (void 0 === handler) for (hndx = 0,
hndL = eventRegistry[evNdx][nmsp].length; hndx < hndL; hndx++) evts.push({
ev: evNdx,
namespace: nmsp,
handler: eventRegistry[evNdx][nmsp][hndx]
}); else evts.push({
ev: evNdx,
namespace: nmsp,
handler: handler
});
return evts;
}(nsEvent[0], nsEvent[1]), i = 0, offEventsL = offEvents.length; i < offEventsL; i++) !function(ev, namespace, handler) {
if (ev in eventRegistry == 1) if (elem.removeEventListener ? elem.removeEventListener(ev, handler, !1) : elem.detachEvent && elem.detachEvent("on" + ev, handler),
"global" === namespace) for (var nmsp in eventRegistry[ev]) eventRegistry[ev][nmsp].splice(eventRegistry[ev][nmsp].indexOf(handler), 1); else eventRegistry[ev][namespace].splice(eventRegistry[ev][namespace].indexOf(handler), 1);
}(offEvents[i].ev, offEvents[i].namespace, offEvents[i].handler);
return this;
},
trigger: function(events) {
if (isValidElement(this[0])) for (var eventRegistry = this[0].eventRegistry, elem = this[0], _events = "string" == typeof events ? events.split(" ") : [ events.type ], endx = 0; endx < _events.length; endx++) {
var nsEvent = _events[endx].split("."), ev = nsEvent[0], namespace = nsEvent[1] || "global";
if (void 0 !== document && "global" === namespace) {
var evnt, i, params = {
bubbles: !0,
cancelable: !0,
detail: Array.prototype.slice.call(arguments, 1)
};
if (document.createEvent) {
try {
evnt = new CustomEvent(ev, params);
} catch (e) {
(evnt = document.createEvent("CustomEvent")).initCustomEvent(ev, params.bubbles, params.cancelable, params.detail);
}
events.type && DependencyLib.extend(evnt, events), elem.dispatchEvent(evnt);
} else (evnt = document.createEventObject()).eventType = ev, events.type && DependencyLib.extend(evnt, events),
elem.fireEvent("on" + evnt.eventType, evnt);
} else if (void 0 !== eventRegistry[ev]) if (arguments[0] = arguments[0].type ? arguments[0] : DependencyLib.Event(arguments[0]),
"global" === namespace) for (var nmsp in eventRegistry[ev]) for (i = 0; i < eventRegistry[ev][nmsp].length; i++) eventRegistry[ev][nmsp][i].apply(elem, arguments); else for (i = 0; i < eventRegistry[ev][namespace].length; i++) eventRegistry[ev][namespace][i].apply(elem, arguments);
}
return this;
}
}, DependencyLib.isFunction = function(obj) {
return "function" === type(obj);
}, DependencyLib.noop = function() {}, DependencyLib.isArray = Array.isArray, DependencyLib.inArray = function(elem, arr, i) {
return null == arr ? -1 : indexOf(arr, elem);
}, DependencyLib.valHooks = void 0, DependencyLib.isPlainObject = function(obj) {
return "object" === type(obj) && !obj.nodeType && !isWindow(obj) && !(obj.constructor && !class2type.hasOwnProperty.call(obj.constructor.prototype, "isPrototypeOf"));
}, DependencyLib.extend = function() {
var options, name, src, copy, copyIsArray, clone, target = arguments[0] || {}, i = 1, length = arguments.length, deep = !1;
for ("boolean" == typeof target && (deep = target, target = arguments[i] || {},
i++), "object" == typeof target || DependencyLib.isFunction(target) || (target = {}),
i === length && (target = this, i--); i < length; i++) if (null != (options = arguments[i])) for (name in options) src = target[name],
target !== (copy = options[name]) && (deep && copy && (DependencyLib.isPlainObject(copy) || (copyIsArray = DependencyLib.isArray(copy))) ? (copyIsArray ? (copyIsArray = !1,
clone = src && DependencyLib.isArray(src) ? src : []) : clone = src && DependencyLib.isPlainObject(src) ? src : {},
target[name] = DependencyLib.extend(deep, clone, copy)) : void 0 !== copy && (target[name] = copy));
return target;
}, DependencyLib.each = function(obj, callback) {
var i = 0;
if (isArraylike(obj)) for (var length = obj.length; i < length && !1 !== callback.call(obj[i], i, obj[i]); i++) ; else for (i in obj) if (!1 === callback.call(obj[i], i, obj[i])) break;
return obj;
}, DependencyLib.map = function(elems, callback) {
var value, i = 0, length = elems.length, ret = [];
if (isArraylike(elems)) for (;i < length; i++) null != (value = callback(elems[i], i)) && ret.push(value); else for (i in elems) null != (value = callback(elems[i], i)) && ret.push(value);
return [].concat(ret);
}, DependencyLib.data = function(owner, key, value) {
if (void 0 === value) return owner.__data ? owner.__data[key] : null;
owner.__data = owner.__data || {}, owner.__data[key] = value;
}, "function" == typeof window.CustomEvent ? DependencyLib.Event = window.CustomEvent : (DependencyLib.Event = function(event, params) {
params = params || {
bubbles: !1,
cancelable: !1,
detail: void 0
};
var evt = document.createEvent("CustomEvent");
return evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail),
evt;
}, DependencyLib.Event.prototype = window.Event.prototype), DependencyLib;
});
@@ -0,0 +1,11 @@
/*!
* global/document.js
* https://github.com/RobinHerbots/Inputmask
* Copyright (c) 2010 - 2017 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 3.3.11
*/

"function" == typeof define && define.amd ? define(function() {
return document;
}) : "object" == typeof exports && (module.exports = document);
@@ -0,0 +1,11 @@
/*!
* global/window.js
* https://github.com/RobinHerbots/Inputmask
* Copyright (c) 2010 - 2017 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 3.3.11
*/

"function" == typeof define && define.amd ? define(function() {
return window;
}) : "object" == typeof exports && (module.exports = window);

Large diffs are not rendered by default.

@@ -0,0 +1,97 @@
/*!
* inputmask.extensions.js
* https://github.com/RobinHerbots/Inputmask
* Copyright (c) 2010 - 2017 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 3.3.11
*/

!function(factory) {
"function" == typeof define && define.amd ? define([ "./dependencyLibs/inputmask.dependencyLib", "./inputmask" ], factory) : "object" == typeof exports ? module.exports = factory(require("./dependencyLibs/inputmask.dependencyLib"), require("./inputmask")) : factory(window.dependencyLib || jQuery, window.Inputmask);
}(function($, Inputmask) {
return Inputmask.extendDefinitions({
A: {
validator: "[A-Za-zА-яЁёÀ-ÿµ]",
cardinality: 1,
casing: "upper"
},
"&": {
validator: "[0-9A-Za-zА-яЁёÀ-ÿµ]",
cardinality: 1,
casing: "upper"
},
"#": {
validator: "[0-9A-Fa-f]",
cardinality: 1,
casing: "upper"
}
}), Inputmask.extendAliases({
url: {
definitions: {
i: {
validator: ".",
cardinality: 1
}
},
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(chrs, maskset, pos, strict, opts) {
return pos - 1 > -1 && "." !== maskset.buffer[pos - 1] ? (chrs = maskset.buffer[pos - 1] + chrs,
chrs = pos - 2 > -1 && "." !== maskset.buffer[pos - 2] ? maskset.buffer[pos - 2] + chrs : "0" + chrs) : chrs = "00" + chrs,
new RegExp("25[0-5]|2[0-4][0-9]|[01][0-9][0-9]").test(chrs);
},
cardinality: 1
}
},
onUnMask: function(maskedValue, unmaskedValue, opts) {
return maskedValue;
},
inputmode: "numeric"
},
email: {
mask: "*{1,64}[.*{1,64}][.*{1,64}][.*{1,63}]@-{1,63}.-{1,63}[.-{1,63}][.-{1,63}]",
greedy: !1,
onBeforePaste: function(pastedValue, opts) {
return (pastedValue = pastedValue.toLowerCase()).replace("mailto:", "");
},
definitions: {
"*": {
validator: "[0-9A-Za-z!#$%&'*+/=?^_`{|}~-]",
cardinality: 1,
casing: "lower"
},
"-": {
validator: "[0-9A-Za-z-]",
cardinality: 1,
casing: "lower"
}
},
onUnMask: function(maskedValue, unmaskedValue, opts) {
return maskedValue;
},
inputmode: "email"
},
mac: {
mask: "##:##:##:##:##:##"
},
vin: {
mask: "V{13}9{4}",
definitions: {
V: {
validator: "[A-HJ-NPR-Za-hj-npr-z\\d]",
cardinality: 1,
casing: "upper"
}
},
clearIncomplete: !0,
autoUnmask: !0
}
}), Inputmask;
});

Large diffs are not rendered by default.

Large diffs are not rendered by default.

@@ -0,0 +1,59 @@
/*!
* inputmask.phone.extensions.js
* https://github.com/RobinHerbots/Inputmask
* Copyright (c) 2010 - 2017 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 3.3.11
*/

!function(factory) {
"function" == typeof define && define.amd ? define([ "./dependencyLibs/inputmask.dependencyLib", "./inputmask" ], factory) : "object" == typeof exports ? module.exports = factory(require("./dependencyLibs/inputmask.dependencyLib"), require("./inputmask")) : factory(window.dependencyLib || jQuery, window.Inputmask);
}(function($, Inputmask) {
function maskSort(a, b) {
var maska = (a.mask || a).replace(/#/g, "9").replace(/\)/, "9").replace(/[+()#-]/g, ""), maskb = (b.mask || b).replace(/#/g, "9").replace(/\)/, "9").replace(/[+()#-]/g, ""), maskas = (a.mask || a).split("#")[0], maskbs = (b.mask || b).split("#")[0];
return 0 === maskbs.indexOf(maskas) ? -1 : 0 === maskas.indexOf(maskbs) ? 1 : maska.localeCompare(maskb);
}
var analyseMaskBase = Inputmask.prototype.analyseMask;
return Inputmask.prototype.analyseMask = function(mask, regexMask, opts) {
function reduceVariations(masks, previousVariation, previousmaskGroup) {
previousVariation = previousVariation || "", previousmaskGroup = previousmaskGroup || maskGroups,
"" !== previousVariation && (previousmaskGroup[previousVariation] = {});
for (var variation = "", maskGroup = previousmaskGroup[previousVariation] || previousmaskGroup, i = masks.length - 1; i >= 0; i--) maskGroup[variation = (mask = masks[i].mask || masks[i]).substr(0, 1)] = maskGroup[variation] || [],
maskGroup[variation].unshift(mask.substr(1)), masks.splice(i, 1);
for (var ndx in maskGroup) maskGroup[ndx].length > 500 && reduceVariations(maskGroup[ndx].slice(), ndx, maskGroup);
}
function rebuild(maskGroup) {
var mask = "", submasks = [];
for (var ndx in maskGroup) $.isArray(maskGroup[ndx]) ? 1 === maskGroup[ndx].length ? submasks.push(ndx + maskGroup[ndx]) : submasks.push(ndx + opts.groupmarker.start + maskGroup[ndx].join(opts.groupmarker.end + opts.alternatormarker + opts.groupmarker.start) + opts.groupmarker.end) : submasks.push(ndx + rebuild(maskGroup[ndx]));
return 1 === submasks.length ? mask += submasks[0] : mask += opts.groupmarker.start + submasks.join(opts.groupmarker.end + opts.alternatormarker + opts.groupmarker.start) + opts.groupmarker.end,
mask;
}
var maskGroups = {};
return opts.phoneCodes && (opts.phoneCodes && opts.phoneCodes.length > 1e3 && (reduceVariations((mask = mask.substr(1, mask.length - 2)).split(opts.groupmarker.end + opts.alternatormarker + opts.groupmarker.start)),
mask = rebuild(maskGroups)), mask = mask.replace(/9/g, "\\9")), analyseMaskBase.call(this, mask, regexMask, opts);
}, Inputmask.extendAliases({
abstractphone: {
groupmarker: {
start: "<",
end: ">"
},
countrycode: "",
phoneCodes: [],
mask: function(opts) {
return opts.definitions = {
"#": Inputmask.prototype.definitions[9]
}, opts.phoneCodes.sort(maskSort);
},
keepStatic: !0,
onBeforeMask: function(value, opts) {
var processedValue = value.replace(/^0{1,2}/, "").replace(/[\s]/g, "");
return (processedValue.indexOf(opts.countrycode) > 1 || -1 === processedValue.indexOf(opts.countrycode)) && (processedValue = "+" + opts.countrycode + processedValue),
processedValue;
},
onUnMask: function(maskedValue, unmaskedValue, opts) {
return maskedValue.replace(/[()#-]/g, "");
},
inputmode: "tel"
}
}), Inputmask;
});
@@ -0,0 +1,110 @@
/*!
* inputmask.regex.extensions.js
* https://github.com/RobinHerbots/Inputmask
* Copyright (c) 2010 - 2017 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 3.3.11
*/

!function(factory) {
"function" == typeof define && define.amd ? define([ "./dependencyLibs/inputmask.dependencyLib", "./inputmask" ], factory) : "object" == typeof exports ? module.exports = factory(require("./dependencyLibs/inputmask.dependencyLib"), require("./inputmask")) : factory(window.dependencyLib || jQuery, window.Inputmask);
}(function($, Inputmask) {
return Inputmask.extendAliases({
Regex: {
mask: "r",
greedy: !1,
repeat: "*",
regex: null,
regexTokens: null,
tokenizer: /\[\^?]?(?:[^\\\]]+|\\[\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,
quantifierFilter: /[0-9]+[^,]/,
isComplete: function(buffer, opts) {
return new RegExp(opts.regex, opts.casing ? "i" : "").test(buffer.join(""));
},
definitions: {
r: {
validator: function(chrs, maskset, pos, strict, opts) {
function RegexToken(isGroup, isQuantifier) {
this.matches = [], this.isGroup = isGroup || !1, this.isQuantifier = isQuantifier || !1,
this.quantifier = {
min: 1,
max: 1
}, this.repeaterPart = void 0;
}
function validateRegexToken(token, fromGroup) {
var isvalid = !1;
fromGroup && (regexPart += "(", openGroupCount++);
for (var mndx = 0; mndx < token.matches.length; mndx++) {
var matchToken = token.matches[mndx];
if (!0 === matchToken.isGroup) isvalid = validateRegexToken(matchToken, !0); else if (!0 === matchToken.isQuantifier) {
var crrntndx = $.inArray(matchToken, token.matches), matchGroup = token.matches[crrntndx - 1], regexPartBak = regexPart;
if (isNaN(matchToken.quantifier.max)) {
for (;matchToken.repeaterPart && matchToken.repeaterPart !== regexPart && matchToken.repeaterPart.length > regexPart.length && !(isvalid = validateRegexToken(matchGroup, !0)); ) ;
(isvalid = isvalid || validateRegexToken(matchGroup, !0)) && (matchToken.repeaterPart = regexPart),
regexPart = regexPartBak + matchToken.quantifier.max;
} else {
for (var i = 0, qm = matchToken.quantifier.max - 1; i < qm && !(isvalid = validateRegexToken(matchGroup, !0)); i++) ;
regexPart = regexPartBak + "{" + matchToken.quantifier.min + "," + matchToken.quantifier.max + "}";
}
} else if (void 0 !== matchToken.matches) for (var k = 0; k < matchToken.length && !(isvalid = validateRegexToken(matchToken[k], fromGroup)); k++) ; else {
var testExp;
if ("[" == matchToken.charAt(0)) {
testExp = regexPart, testExp += matchToken;
for (j = 0; j < openGroupCount; j++) testExp += ")";
isvalid = (exp = new RegExp("^(" + testExp + ")$", opts.casing ? "i" : "")).test(bufferStr);
} else for (var l = 0, tl = matchToken.length; l < tl; l++) if ("\\" !== matchToken.charAt(l)) {
testExp = regexPart, testExp = (testExp += matchToken.substr(0, l + 1)).replace(/\|$/, "");
for (var j = 0; j < openGroupCount; j++) testExp += ")";
var exp = new RegExp("^(" + testExp + ")$", opts.casing ? "i" : "");
if (isvalid = exp.test(bufferStr)) break;
}
regexPart += matchToken;
}
if (isvalid) break;
}
return fromGroup && (regexPart += ")", openGroupCount--), isvalid;
}
var bufferStr, groupToken, cbuffer = maskset.buffer.slice(), regexPart = "", isValid = !1, openGroupCount = 0;
null === opts.regexTokens && function() {
var match, m, currentToken = new RegexToken(), opengroups = [];
for (opts.regexTokens = []; match = opts.tokenizer.exec(opts.regex); ) switch ((m = match[0]).charAt(0)) {
case "(":
opengroups.push(new RegexToken(!0));
break;

case ")":
groupToken = opengroups.pop(), opengroups.length > 0 ? opengroups[opengroups.length - 1].matches.push(groupToken) : currentToken.matches.push(groupToken);
break;

case "{":
case "+":
case "*":
var quantifierToken = new RegexToken(!1, !0), mq = (m = m.replace(/[{}]/g, "")).split(","), mq0 = isNaN(mq[0]) ? mq[0] : parseInt(mq[0]), mq1 = 1 === mq.length ? mq0 : isNaN(mq[1]) ? mq[1] : parseInt(mq[1]);
if (quantifierToken.quantifier = {
min: mq0,
max: mq1
}, opengroups.length > 0) {
var matches = opengroups[opengroups.length - 1].matches;
(match = matches.pop()).isGroup || ((groupToken = new RegexToken(!0)).matches.push(match),
match = groupToken), matches.push(match), matches.push(quantifierToken);
} else (match = currentToken.matches.pop()).isGroup || ((groupToken = new RegexToken(!0)).matches.push(match),
match = groupToken), currentToken.matches.push(match), currentToken.matches.push(quantifierToken);
break;

default:
opengroups.length > 0 ? opengroups[opengroups.length - 1].matches.push(m) : currentToken.matches.push(m);
}
currentToken.matches.length > 0 && opts.regexTokens.push(currentToken);
}(), cbuffer.splice(pos, 0, chrs), bufferStr = cbuffer.join("");
for (var i = 0; i < opts.regexTokens.length; i++) {
var regexToken = opts.regexTokens[i];
if (isValid = validateRegexToken(regexToken, regexToken.isGroup)) break;
}
return isValid;
},
cardinality: 1
}
}
}
}), Inputmask;
});
@@ -0,0 +1,62 @@
/*!
* jquery.inputmask.js
* https://github.com/RobinHerbots/Inputmask
* Copyright (c) 2010 - 2017 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 3.3.11
*/

!function(factory) {
"function" == typeof define && define.amd ? define([ "jquery", "./inputmask" ], factory) : "object" == typeof exports ? module.exports = factory(require("jquery"), require("./inputmask")) : factory(jQuery, window.Inputmask);
}(function($, Inputmask) {
return void 0 === $.fn.inputmask && ($.fn.inputmask = function(fn, options) {
var nptmask, input = this[0];
if (void 0 === options && (options = {}), "string" == typeof fn) switch (fn) {
case "unmaskedvalue":
return input && input.inputmask ? input.inputmask.unmaskedvalue() : $(input).val();

case "remove":
return this.each(function() {
this.inputmask && this.inputmask.remove();
});

case "getemptymask":
return input && input.inputmask ? input.inputmask.getemptymask() : "";

case "hasMaskedValue":
return !(!input || !input.inputmask) && input.inputmask.hasMaskedValue();

case "isComplete":
return !input || !input.inputmask || input.inputmask.isComplete();

case "getmetadata":
return input && input.inputmask ? input.inputmask.getmetadata() : void 0;

case "setvalue":
$(input).val(options), input && void 0 === input.inputmask && $(input).triggerHandler("setvalue");
break;

case "option":
if ("string" != typeof options) return this.each(function() {
if (void 0 !== this.inputmask) return this.inputmask.option(options);
});
if (input && void 0 !== input.inputmask) return input.inputmask.option(options);
break;

default:
return options.alias = fn, nptmask = new Inputmask(options), this.each(function() {
nptmask.mask(this);
});
} else {
if ("object" == typeof fn) return nptmask = new Inputmask(fn), void 0 === fn.mask && void 0 === fn.alias ? this.each(function() {
if (void 0 !== this.inputmask) return this.inputmask.option(fn);
nptmask.mask(this);
}) : this.each(function() {
nptmask.mask(this);
});
if (void 0 === fn) return this.each(function() {
(nptmask = new Inputmask(options)).mask(this);
});
}
}), $.fn.inputmask;
});
@@ -0,0 +1,244 @@
/*!
* phone-codes/phone-be.js
* https://github.com/RobinHerbots/Inputmask
* Copyright (c) 2010 - 2017 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 3.3.11
*/

!function(factory) {
"function" == typeof define && define.amd ? define([ "../inputmask" ], factory) : "object" == typeof exports ? module.exports = factory(require("../inputmask")) : factory(window.Inputmask);
}(function(Inputmask) {
return Inputmask.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(67)##-##-##",
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(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(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(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: "Wareme"
}, {
mask: "+32(10)##-##-##",
cc: "BE",
cd: "Belgium",
city: "Wavre (Waver)"
}, {
mask: "+32(50)##-##-##",
cc: "BE",
cd: "Belgium",
city: "Zeebrugge"
} ]
}
}), Inputmask;
});

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

@@ -0,0 +1,9 @@
/*!
* bindings/inputmask.binding.min.js
* https://github.com/RobinHerbots/Inputmask
* Copyright (c) 2010 - 2017 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 3.3.11
*/

!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)})})});
@@ -0,0 +1,9 @@
/*!
* dependencyLibs/inputmask.dependencyLib.jquery.min.js
* https://github.com/RobinHerbots/Inputmask
* Copyright (c) 2010 - 2017 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 3.3.11
*/

!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});
@@ -0,0 +1,9 @@
/*!
* global/document.min.js
* https://github.com/RobinHerbots/Inputmask
* Copyright (c) 2010 - 2017 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 3.3.11
*/

"function"==typeof define&&define.amd?define(function(){return document}):"object"==typeof exports&&(module.exports=document);
@@ -0,0 +1,9 @@
/*!
* global/window.min.js
* https://github.com/RobinHerbots/Inputmask
* Copyright (c) 2010 - 2017 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 3.3.11
*/

"function"==typeof define&&define.amd?define(function(){return window}):"object"==typeof exports&&(module.exports=window);

Large diffs are not rendered by default.