use-mask-input 3.5.1 → 3.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -38,7 +38,7 @@ var require_inputmask = __commonJS({
38
38
  var n = t();
39
39
  for (var i in n) ("object" == typeof exports ? exports : e)[i] = n[i];
40
40
  }
41
- })("undefined" != typeof self ? self : exports, (function() {
41
+ })("undefined" != typeof self ? self : exports, function() {
42
42
  return (function() {
43
43
  var e = {
44
44
  340: function(e2, t2) {
@@ -59,8 +59,8 @@ var require_inputmask = __commonJS({
59
59
  }
60
60
  function t2(e3, t3) {
61
61
  for (var i3 = 0; i3 < t3.length; i3++) {
62
- var r2 = t3[i3];
63
- r2.enumerable = r2.enumerable || false, r2.configurable = true, "value" in r2 && (r2.writable = true), Object.defineProperty(e3, n2(r2.key), r2);
62
+ var a2 = t3[i3];
63
+ a2.enumerable = a2.enumerable || false, a2.configurable = true, "value" in a2 && (a2.writable = true), Object.defineProperty(e3, n2(a2.key), a2);
64
64
  }
65
65
  }
66
66
  function n2(t3) {
@@ -68,8 +68,8 @@ var require_inputmask = __commonJS({
68
68
  if ("object" != e2(t4) || !t4) return t4;
69
69
  var i3 = t4[Symbol.toPrimitive];
70
70
  if (void 0 !== i3) {
71
- var r2 = i3.call(t4, n4);
72
- if ("object" != e2(r2)) return r2;
71
+ var a2 = i3.call(t4, n4);
72
+ if ("object" != e2(a2)) return a2;
73
73
  throw new TypeError("@@toPrimitive must return a primitive value.");
74
74
  }
75
75
  return (String )(t4);
@@ -84,9 +84,9 @@ var require_inputmask = __commonJS({
84
84
  return e3;
85
85
  })(t3);
86
86
  }
87
- function r(e3) {
87
+ function a(e3) {
88
88
  var t3 = "function" == typeof Map ? /* @__PURE__ */ new Map() : void 0;
89
- return r = function(e4) {
89
+ return a = function(e4) {
90
90
  if (null === e4 || !(function(e5) {
91
91
  try {
92
92
  return -1 !== Function.toString.call(e5).indexOf("[native code]");
@@ -101,11 +101,11 @@ var require_inputmask = __commonJS({
101
101
  }
102
102
  function n3() {
103
103
  return (function(e5, t4, n4) {
104
- if (a()) return Reflect.construct.apply(null, arguments);
104
+ if (r()) return Reflect.construct.apply(null, arguments);
105
105
  var i3 = [null];
106
106
  i3.push.apply(i3, t4);
107
- var r2 = new (e5.bind.apply(e5, i3))();
108
- return n4 && o(r2, n4.prototype), r2;
107
+ var a2 = new (e5.bind.apply(e5, i3))();
108
+ return n4 && o(a2, n4.prototype), a2;
109
109
  })(e4, arguments, l(this).constructor);
110
110
  }
111
111
  return n3.prototype = Object.create(e4.prototype, {
@@ -116,15 +116,15 @@ var require_inputmask = __commonJS({
116
116
  configurable: true
117
117
  }
118
118
  }), o(n3, e4);
119
- }, r(e3);
119
+ }, a(e3);
120
120
  }
121
- function a() {
121
+ function r() {
122
122
  try {
123
- var e3 = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], (function() {
124
- })));
123
+ var e3 = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
124
+ }));
125
125
  } catch (e4) {
126
126
  }
127
- return (a = function() {
127
+ return (r = function() {
128
128
  return !!e3;
129
129
  })();
130
130
  }
@@ -141,15 +141,15 @@ var require_inputmask = __commonJS({
141
141
  if (void 0 === FormData.Inputmask) {
142
142
  var s = (function(e3) {
143
143
  function n3(e4, t3) {
144
- var r3, o2, s3, c2;
144
+ var a3, o2, s3, c2;
145
145
  !(function(e5, t4) {
146
146
  if (!(e5 instanceof t4)) throw new TypeError("Cannot call a class as a function");
147
147
  })(this, n3), o2 = this, c2 = [e4, t3], s3 = l(s3 = n3);
148
- for (var u, f = (r3 = i2(o2, a() ? Reflect.construct(s3, c2 || [], l(o2).constructor) : s3.apply(o2, c2))).entries(); false === (u = f.next()).done; ) {
149
- var p = u.value[0], d = u.value[1], h = document.getElementById(p);
150
- !h || void 0 === h.inputmask || d instanceof File || r3.set(p, h.value);
148
+ for (var u, f = (a3 = i2(o2, r() ? Reflect.construct(s3, c2 || [], l(o2).constructor) : s3.apply(o2, c2))).entries(); false === (u = f.next()).done; ) {
149
+ var p = u.value[0], d = u.value[1], h = e4[p];
150
+ !h || void 0 === h.inputmask || d instanceof File || a3.set(p, h.value);
151
151
  }
152
- return i2(r3, r3);
152
+ return i2(a3, a3);
153
153
  }
154
154
  return (function(e4, t3) {
155
155
  if ("function" != typeof t3 && null !== t3) throw new TypeError("Super expression must either be null or a function");
@@ -162,11 +162,11 @@ var require_inputmask = __commonJS({
162
162
  }), Object.defineProperty(e4, "prototype", {
163
163
  writable: false
164
164
  }), t3 && o(e4, t3);
165
- })(n3, e3), r2 = n3, s2 && t2(r2.prototype, s2), c && t2(r2, c), Object.defineProperty(r2, "prototype", {
165
+ })(n3, e3), a2 = n3, s2 && t2(a2.prototype, s2), c && t2(a2, c), Object.defineProperty(a2, "prototype", {
166
166
  writable: false
167
- }), r2;
168
- var r2, s2, c;
169
- })(r(FormData));
167
+ }), a2;
168
+ var a2, s2, c;
169
+ })(a(FormData));
170
170
  s.Inputmask = true, FormData = s;
171
171
  }
172
172
  },
@@ -176,63 +176,63 @@ var require_inputmask = __commonJS({
176
176
  });
177
177
  },
178
178
  546: function(e2, t2, n2) {
179
- var i2, r = n2(340), a = (i2 = n2(3978)) && i2.__esModule ? i2 : {
179
+ var i2, a = n2(340), r = (i2 = n2(3978)) && i2.__esModule ? i2 : {
180
180
  default: i2
181
181
  }, o = n2(6032), l = n2(7539);
182
- var s = a.default.dependencyLib;
182
+ var s = r.default.dependencyLib;
183
183
  function c(e3, t3) {
184
- for (var n3 = "", i3 = 0; i3 < e3.length; i3++) a.default.prototype.definitions[e3.charAt(i3)] || t3.definitions[e3.charAt(i3)] || t3.optionalmarker[0] === e3.charAt(i3) || t3.optionalmarker[1] === e3.charAt(i3) || t3.quantifiermarker[0] === e3.charAt(i3) || t3.quantifiermarker[1] === e3.charAt(i3) || t3.groupmarker[0] === e3.charAt(i3) || t3.groupmarker[1] === e3.charAt(i3) || t3.alternatormarker === e3.charAt(i3) ? n3 += "\\" + e3.charAt(i3) : n3 += e3.charAt(i3);
184
+ for (var n3 = "", i3 = 0; i3 < e3.length; i3++) r.default.prototype.definitions[e3.charAt(i3)] || t3.definitions[e3.charAt(i3)] || t3.optionalmarker[0] === e3.charAt(i3) || t3.optionalmarker[1] === e3.charAt(i3) || t3.quantifiermarker[0] === e3.charAt(i3) || t3.quantifiermarker[1] === e3.charAt(i3) || t3.groupmarker[0] === e3.charAt(i3) || t3.groupmarker[1] === e3.charAt(i3) || t3.alternatormarker === e3.charAt(i3) ? n3 += "\\" + e3.charAt(i3) : n3 += e3.charAt(i3);
185
185
  return n3;
186
186
  }
187
187
  function u(e3, t3, n3, i3) {
188
188
  if (e3.length > 0 && t3 > 0 && (!n3.digitsOptional || i3)) {
189
- var r2 = e3.indexOf(n3.radixPoint), a2 = false;
190
- n3.negationSymbol.back === e3[e3.length - 1] && (a2 = true, e3.length--), -1 === r2 && (e3.push(n3.radixPoint), r2 = e3.length - 1);
191
- for (var o2 = 1; o2 <= t3; o2++) isFinite(e3[r2 + o2]) || (e3[r2 + o2] = "0");
189
+ var a2 = e3.indexOf(n3.radixPoint), r2 = false;
190
+ n3.negationSymbol.back === e3[e3.length - 1] && (r2 = true, e3.length--), -1 === a2 && (e3.push(n3.radixPoint), a2 = e3.length - 1);
191
+ for (var o2 = 1; o2 <= t3; o2++) isFinite(e3[a2 + o2]) || (e3[a2 + o2] = "0");
192
192
  }
193
- return a2 && e3.push(n3.negationSymbol.back), e3;
193
+ return r2 && e3.push(n3.negationSymbol.back), e3;
194
194
  }
195
195
  function f(e3, t3) {
196
196
  var n3 = 0;
197
197
  for (var i3 in "+" === e3 && (n3 = l.seekNext.call(this, t3.validPositions.length - 1)), t3.tests) if ((i3 = parseInt(i3)) >= n3) {
198
- for (var r2 = 0, a2 = t3.tests[i3].length; r2 < a2; r2++) if ((void 0 === t3.validPositions[i3] || "-" === e3) && t3.tests[i3][r2].match.def === e3) return i3 + (void 0 !== t3.validPositions[i3] && "-" !== e3 ? 1 : 0);
198
+ for (var a2 = 0, r2 = t3.tests[i3].length; a2 < r2; a2++) if ((void 0 === t3.validPositions[i3] || "-" === e3) && t3.tests[i3][a2].match.def === e3) return i3 + (void 0 !== t3.validPositions[i3] && "-" !== e3 ? 1 : 0);
199
199
  }
200
200
  return n3;
201
201
  }
202
202
  function p(e3, t3) {
203
- for (var n3 = -1, i3 = 0, r2 = t3.validPositions.length; i3 < r2; i3++) {
204
- var a2 = t3.validPositions[i3];
205
- if (a2 && a2.match.def === e3) {
203
+ for (var n3 = -1, i3 = 0, a2 = t3.validPositions.length; i3 < a2; i3++) {
204
+ var r2 = t3.validPositions[i3];
205
+ if (r2 && r2.match.def === e3) {
206
206
  n3 = i3;
207
207
  break;
208
208
  }
209
209
  }
210
210
  return n3;
211
211
  }
212
- function d(e3, t3, n3, i3, r2) {
213
- var a2 = t3.buffer ? t3.buffer.indexOf(r2.radixPoint) : -1, o2 = (-1 !== a2 || i3 && r2.jitMasking) && new RegExp(r2.definitions[9].validator).test(e3);
214
- return !i3 && r2._radixDance && -1 !== a2 && o2 && null == t3.validPositions[a2] ? {
212
+ function d(e3, t3, n3, i3, a2) {
213
+ var r2 = t3.buffer ? t3.buffer.indexOf(a2.radixPoint) : -1, o2 = (-1 !== r2 || i3 && a2.jitMasking) && new RegExp(a2.definitions[9].validator).test(e3);
214
+ return !i3 && a2._radixDance && -1 !== r2 && o2 && null == t3.validPositions[r2] ? {
215
215
  insert: {
216
- pos: a2 === n3 ? a2 + 1 : a2,
217
- c: r2.radixPoint
216
+ pos: r2 === n3 ? r2 + 1 : r2,
217
+ c: a2.radixPoint
218
218
  },
219
219
  pos: n3
220
220
  } : o2;
221
221
  }
222
- a.default.extendAliases({
222
+ r.default.extendAliases({
223
223
  numeric: {
224
224
  mask: function(e3) {
225
225
  e3.repeat = 0, e3.groupSeparator === e3.radixPoint && e3.digits && "0" !== e3.digits && ("." === e3.radixPoint ? e3.groupSeparator = "," : "," === e3.radixPoint ? e3.groupSeparator = "." : e3.groupSeparator = ""), " " === e3.groupSeparator && (e3.skipOptionalPartCharacter = void 0), e3.placeholder.length > 1 && (e3.placeholder = e3.placeholder.charAt(0)), "radixFocus" === e3.positionCaretOnClick && "" === e3.placeholder && (e3.positionCaretOnClick = "lvp");
226
226
  var t3 = "0", n3 = e3.radixPoint;
227
227
  true === e3.numericInput && void 0 === e3.__financeInput ? (t3 = "1", e3.positionCaretOnClick = "radixFocus" === e3.positionCaretOnClick ? "lvp" : e3.positionCaretOnClick, e3.digitsOptional = false, isNaN(e3.digits) && (e3.digits = -1 !== e3.digits.indexOf(",") ? e3.digits.split(",")[0] : 2), e3._radixDance = false, n3 = "," === e3.radixPoint ? "?" : "!", "" !== e3.radixPoint && void 0 === e3.definitions[n3] && (e3.definitions[n3] = {}, e3.definitions[n3].validator = "[" + e3.radixPoint + "]", e3.definitions[n3].placeholder = e3.radixPoint, e3.definitions[n3].static = true, e3.definitions[n3].generated = true)) : (e3.__financeInput = false, e3.numericInput = true);
228
- var i3, a2 = "[+]";
229
- if (a2 += c(e3.prefix, e3), "" !== e3.groupSeparator ? (void 0 === e3.definitions[e3.groupSeparator] && (e3.definitions[e3.groupSeparator] = {}, e3.definitions[e3.groupSeparator].validator = "[" + e3.groupSeparator + "]", e3.definitions[e3.groupSeparator].placeholder = e3.groupSeparator, e3.definitions[e3.groupSeparator].static = true, e3.definitions[e3.groupSeparator].generated = true), a2 += e3._mask(e3)) : a2 += "9{+}", void 0 !== e3.digits && 0 !== e3.digits) {
228
+ var i3, r2 = "[+]";
229
+ if (r2 += c(e3.prefix, e3), "" !== e3.groupSeparator ? (void 0 === e3.definitions[e3.groupSeparator] && (e3.definitions[e3.groupSeparator] = {}, e3.definitions[e3.groupSeparator].validator = "[" + e3.groupSeparator + "]", e3.definitions[e3.groupSeparator].placeholder = e3.groupSeparator, e3.definitions[e3.groupSeparator].static = true, e3.definitions[e3.groupSeparator].generated = true), r2 += e3._mask(e3)) : r2 += "9{+}", void 0 !== e3.digits && 0 !== e3.digits) {
230
230
  var o2 = e3.digits.toString().split(",");
231
- isFinite(o2[0]) && o2[1] && isFinite(o2[1]) ? a2 += n3 + t3 + "{" + e3.digits + "}" : (isNaN(e3.digits) || parseInt(e3.digits) > 0) && (e3.digitsOptional || e3.jitMasking ? (i3 = a2 + n3 + t3 + "{0," + e3.digits + "}", e3.keepStatic = true) : a2 += n3 + t3 + "{" + e3.digits + "}");
231
+ isFinite(o2[0]) && o2[1] && isFinite(o2[1]) ? r2 += n3 + t3 + "{" + e3.digits + "}" : (isNaN(e3.digits) || parseInt(e3.digits) > 0) && (e3.digitsOptional || e3.jitMasking ? (i3 = r2 + n3 + t3 + "{0," + e3.digits + "}", e3.keepStatic = true) : r2 += n3 + t3 + "{" + e3.digits + "}");
232
232
  } else e3.inputmode = "numeric";
233
- return a2 += c(e3.suffix, e3), a2 += "[-]", i3 && (a2 = [i3 + c(e3.suffix, e3) + "[-]", a2]), e3.greedy = false, (function(e4) {
234
- void 0 === e4.parseMinMaxOptions && (null !== e4.min && (e4.min = e4.min.toString().replace(new RegExp((0, r.escapeRegex)(e4.groupSeparator), "g"), ""), "," === e4.radixPoint && (e4.min = e4.min.replace(e4.radixPoint, ".")), e4.min = isFinite(e4.min) ? parseFloat(e4.min) : NaN, isNaN(e4.min) && (e4.min = Number.MIN_VALUE)), null !== e4.max && (e4.max = e4.max.toString().replace(new RegExp((0, r.escapeRegex)(e4.groupSeparator), "g"), ""), "," === e4.radixPoint && (e4.max = e4.max.replace(e4.radixPoint, ".")), e4.max = isFinite(e4.max) ? parseFloat(e4.max) : NaN, isNaN(e4.max) && (e4.max = Number.MAX_VALUE)), e4.parseMinMaxOptions = "done");
235
- })(e3), "" !== e3.radixPoint && e3.substituteRadixPoint && (e3.substitutes["." == e3.radixPoint ? "," : "."] = e3.radixPoint), a2;
233
+ return r2 += c(e3.suffix, e3), r2 += "[-]", i3 && (r2 = [i3 + c(e3.suffix, e3) + "[-]", r2]), e3.greedy = false, (function(e4) {
234
+ void 0 === e4.parseMinMaxOptions && (null !== e4.min && (e4.min = e4.min.toString().replace(new RegExp((0, a.escapeRegex)(e4.groupSeparator), "g"), ""), "," === e4.radixPoint && (e4.min = e4.min.replace(e4.radixPoint, ".")), e4.min = isFinite(e4.min) ? parseFloat(e4.min) : NaN, isNaN(e4.min) && (e4.min = Number.MIN_VALUE)), null !== e4.max && (e4.max = e4.max.toString().replace(new RegExp((0, a.escapeRegex)(e4.groupSeparator), "g"), ""), "," === e4.radixPoint && (e4.max = e4.max.replace(e4.radixPoint, ".")), e4.max = isFinite(e4.max) ? parseFloat(e4.max) : NaN, isNaN(e4.max) && (e4.max = Number.MAX_VALUE)), e4.parseMinMaxOptions = "done");
235
+ })(e3), "" !== e3.radixPoint && e3.substituteRadixPoint && (e3.substitutes["." == e3.radixPoint ? "," : "."] = e3.radixPoint), r2;
236
236
  },
237
237
  _mask: function(e3) {
238
238
  return "(" + e3.groupSeparator + "999){+|1}";
@@ -285,58 +285,58 @@ var require_inputmask = __commonJS({
285
285
  definitionSymbol: "*"
286
286
  },
287
287
  "+": {
288
- validator: function(e3, t3, n3, i3, r2) {
289
- return r2.allowMinus && ("-" === e3 || e3 === r2.negationSymbol.front);
288
+ validator: function(e3, t3, n3, i3, a2) {
289
+ return a2.allowMinus && ("-" === e3 || e3 === a2.negationSymbol.front);
290
290
  }
291
291
  },
292
292
  "-": {
293
- validator: function(e3, t3, n3, i3, r2) {
294
- return r2.allowMinus && e3 === r2.negationSymbol.back;
293
+ validator: function(e3, t3, n3, i3, a2) {
294
+ return a2.allowMinus && e3 === a2.negationSymbol.back;
295
295
  }
296
296
  }
297
297
  },
298
- preValidation: function(e3, t3, n3, i3, r2, a2, o2, l2) {
298
+ preValidation: function(e3, t3, n3, i3, a2, r2, o2, l2) {
299
299
  var s2 = this;
300
- if (false !== r2.__financeInput && n3 === r2.radixPoint) return false;
301
- var c2 = e3.indexOf(r2.radixPoint), u2 = t3;
302
- if (t3 = (function(e4, t4, n4, i4, r3) {
303
- return r3._radixDance && r3.numericInput && t4 !== r3.negationSymbol.back && e4 <= n4 && (n4 > 0 || t4 == r3.radixPoint) && (void 0 === i4.validPositions[e4 - 1] || i4.validPositions[e4 - 1].input !== r3.negationSymbol.back) && (e4 -= 1), e4;
304
- })(t3, n3, c2, a2, r2), "-" === n3 || n3 === r2.negationSymbol.front) {
305
- if (true !== r2.allowMinus) return false;
306
- var d2 = false, h = p("+", a2), v = p("-", a2);
300
+ if (false !== a2.__financeInput && n3 === a2.radixPoint) return false;
301
+ var c2 = e3.indexOf(a2.radixPoint), u2 = t3;
302
+ if (t3 = (function(e4, t4, n4, i4, a3) {
303
+ return a3._radixDance && a3.numericInput && t4 !== a3.negationSymbol.back && e4 <= n4 && (n4 > 0 || t4 == a3.radixPoint) && (void 0 === i4.validPositions[e4 - 1] || i4.validPositions[e4 - 1].input !== a3.negationSymbol.back) && (e4 -= 1), e4;
304
+ })(t3, n3, c2, r2, a2), "-" === n3 || n3 === a2.negationSymbol.front) {
305
+ if (true !== a2.allowMinus) return false;
306
+ var d2 = false, h = p("+", r2), v = p("-", r2);
307
307
  return -1 !== h && (d2 = [h], -1 !== v && d2.push(v)), false !== d2 ? {
308
308
  remove: d2,
309
- caret: u2 - r2.negationSymbol.back.length
309
+ caret: u2 - a2.negationSymbol.back.length
310
310
  } : {
311
311
  insert: [{
312
- pos: f.call(s2, "+", a2),
313
- c: r2.negationSymbol.front,
312
+ pos: f.call(s2, "+", r2),
313
+ c: a2.negationSymbol.front,
314
314
  fromIsValid: true
315
315
  }, {
316
- pos: f.call(s2, "-", a2),
317
- c: r2.negationSymbol.back,
316
+ pos: f.call(s2, "-", r2),
317
+ c: a2.negationSymbol.back,
318
318
  fromIsValid: void 0
319
319
  }],
320
- caret: u2 + r2.negationSymbol.back.length
320
+ caret: u2 + a2.negationSymbol.back.length
321
321
  };
322
322
  }
323
- if (n3 === r2.groupSeparator) return {
323
+ if (n3 === a2.groupSeparator) return {
324
324
  caret: u2
325
325
  };
326
326
  if (l2) return true;
327
- if (-1 !== c2 && true === r2._radixDance && false === i3 && n3 === r2.radixPoint && void 0 !== r2.digits && (isNaN(r2.digits) || parseInt(r2.digits) > 0) && c2 !== t3) {
328
- var m = f.call(s2, r2.radixPoint, a2);
329
- return a2.validPositions[m] && (a2.validPositions[m].generatedInput = a2.validPositions[m].generated || false), {
330
- caret: r2._radixDance && t3 === c2 - 1 ? c2 + 1 : c2
327
+ if (-1 !== c2 && true === a2._radixDance && false === i3 && n3 === a2.radixPoint && void 0 !== a2.digits && (isNaN(a2.digits) || parseInt(a2.digits) > 0) && c2 !== t3) {
328
+ var m = f.call(s2, a2.radixPoint, r2);
329
+ return r2.validPositions[m] && (r2.validPositions[m].generatedInput = r2.validPositions[m].generated || false), {
330
+ caret: a2._radixDance && t3 === c2 - 1 ? c2 + 1 : c2
331
331
  };
332
332
  }
333
- if (false === r2.__financeInput) {
333
+ if (false === a2.__financeInput) {
334
334
  if (i3) {
335
- if (r2.digitsOptional) return {
335
+ if (a2.digitsOptional) return {
336
336
  rewritePosition: o2.end
337
337
  };
338
- if (!r2.digitsOptional) {
339
- if (o2.begin > c2 && o2.end <= c2) return n3 === r2.radixPoint ? {
338
+ if (!a2.digitsOptional) {
339
+ if (o2.begin > c2 && o2.end <= c2) return n3 === a2.radixPoint ? {
340
340
  insert: {
341
341
  pos: c2 + 1,
342
342
  c: "0",
@@ -350,7 +350,7 @@ var require_inputmask = __commonJS({
350
350
  rewritePosition: o2.begin - 1
351
351
  };
352
352
  }
353
- } else if (!r2.showMaskOnHover && !r2.showMaskOnFocus && !r2.digitsOptional && r2.digits > 0 && "" === this.__valueGet.call(this.el)) return {
353
+ } else if (!a2.showMaskOnHover && !a2.showMaskOnFocus && !a2.digitsOptional && a2.digits > 0 && "" === this.__valueGet.call(this.el)) return {
354
354
  rewritePosition: c2
355
355
  };
356
356
  }
@@ -358,17 +358,17 @@ var require_inputmask = __commonJS({
358
358
  rewritePosition: t3
359
359
  };
360
360
  },
361
- postValidation: function(e3, t3, n3, i3, r2, a2, o2, l2, c2) {
361
+ postValidation: function(e3, t3, n3, i3, a2, r2, o2, l2, c2) {
362
362
  if (false === i3) return i3;
363
363
  if (o2) return true;
364
- if (null !== r2.min || null !== r2.max) {
365
- var f2 = r2.onUnMask(e3.slice().reverse().join(""), void 0, s.extend({}, r2, {
364
+ if (null !== a2.min || null !== a2.max) {
365
+ var f2 = a2.onUnMask(e3.slice().reverse().join(""), void 0, s.extend({}, a2, {
366
366
  unmaskAsNumber: true
367
367
  }));
368
- if (null !== r2.min && f2 < r2.min && true !== c2 && (f2.toString().length > r2.min.toString().length || e3[0] === r2.radixPoint || f2 < 0)) return false;
369
- if (null !== r2.max && r2.max >= 0 && f2 > r2.max) return !!r2.SetMaxOnOverflow && {
368
+ if (null !== a2.min && f2 < a2.min && true !== c2 && (f2.toString().length > a2.min.toString().length || e3[0] === a2.radixPoint || f2 < 0)) return false;
369
+ if (null !== a2.max && a2.max >= 0 && f2 > a2.max) return !!a2.SetMaxOnOverflow && {
370
370
  refreshFromBuffer: true,
371
- buffer: u(r2.max.toString().replace(".", r2.radixPoint).split(""), r2.digits, r2).reverse()
371
+ buffer: u(a2.max.toString().replace(".", a2.radixPoint).split(""), a2.digits, a2).reverse()
372
372
  };
373
373
  }
374
374
  return i3;
@@ -376,22 +376,22 @@ var require_inputmask = __commonJS({
376
376
  onUnMask: function(e3, t3, n3) {
377
377
  if ("" === t3 && true === n3.nullable) return t3;
378
378
  var i3 = e3.replace(n3.prefix, "");
379
- return i3 = (i3 = i3.replace(n3.suffix, "")).replace(new RegExp((0, r.escapeRegex)(n3.groupSeparator), "g"), ""), "" !== n3.placeholder.charAt(0) && (i3 = i3.replace(new RegExp(n3.placeholder.charAt(0), "g"), "0")), n3.unmaskAsNumber ? ("" !== n3.radixPoint && -1 !== i3.indexOf(n3.radixPoint) && (i3 = i3.replace(r.escapeRegex.call(this, n3.radixPoint), ".")), i3 = (i3 = i3.replace(new RegExp("^" + (0, r.escapeRegex)(n3.negationSymbol.front)), "-")).replace(new RegExp((0, r.escapeRegex)(n3.negationSymbol.back) + "$"), ""), Number(i3)) : i3;
379
+ return i3 = (i3 = i3.replace(n3.suffix, "")).replace(new RegExp((0, a.escapeRegex)(n3.groupSeparator), "g"), ""), "" !== n3.placeholder.charAt(0) && (i3 = i3.replace(new RegExp(n3.placeholder.charAt(0), "g"), "0")), n3.unmaskAsNumber ? ("" !== n3.radixPoint && -1 !== i3.indexOf(n3.radixPoint) && (i3 = i3.replace(a.escapeRegex.call(this, n3.radixPoint), ".")), i3 = (i3 = i3.replace(new RegExp("^" + (0, a.escapeRegex)(n3.negationSymbol.front)), "-")).replace(new RegExp((0, a.escapeRegex)(n3.negationSymbol.back) + "$"), ""), Number(i3)) : i3;
380
380
  },
381
381
  isComplete: function(e3, t3) {
382
382
  var n3 = (t3.numericInput ? e3.slice().reverse() : e3).join("");
383
- return n3 = (n3 = (n3 = (n3 = (n3 = n3.replace(new RegExp("^" + (0, r.escapeRegex)(t3.negationSymbol.front)), "-")).replace(new RegExp((0, r.escapeRegex)(t3.negationSymbol.back) + "$"), "")).replace(t3.prefix, "")).replace(t3.suffix, "")).replace(new RegExp((0, r.escapeRegex)(t3.groupSeparator) + "([0-9]{3})", "g"), "$1"), "," === t3.radixPoint && (n3 = n3.replace((0, r.escapeRegex)(t3.radixPoint), ".")), isFinite(n3);
383
+ return n3 = (n3 = (n3 = (n3 = (n3 = n3.replace(new RegExp("^" + (0, a.escapeRegex)(t3.negationSymbol.front)), "-")).replace(new RegExp((0, a.escapeRegex)(t3.negationSymbol.back) + "$"), "")).replace(t3.prefix, "")).replace(t3.suffix, "")).replace(new RegExp((0, a.escapeRegex)(t3.groupSeparator) + "([0-9]{3})", "g"), "$1"), "," === t3.radixPoint && (n3 = n3.replace((0, a.escapeRegex)(t3.radixPoint), ".")), isFinite(n3);
384
384
  },
385
385
  onBeforeMask: function(e3, t3) {
386
386
  e3 = null != e3 ? e3 : "";
387
387
  var n3 = t3.radixPoint || ",";
388
388
  isFinite(t3.digits) && (t3.digits = parseInt(t3.digits)), "number" != typeof e3 && "number" !== t3.inputType || "" === n3 || (e3 = e3.toString().replace(".", n3));
389
- var i3 = "-" === e3.charAt(0) || e3.charAt(0) === t3.negationSymbol.front, a2 = e3.split(n3), o2 = a2[0].replace(/[^\-0-9]/g, ""), l2 = a2.length > 1 ? a2[1].replace(/[^0-9]/g, "") : "", s2 = a2.length > 1;
389
+ var i3 = "-" === e3.charAt(0) || e3.charAt(0) === t3.negationSymbol.front, r2 = e3.split(n3), o2 = r2[0].replace(/[^\-0-9]/g, ""), l2 = r2.length > 1 ? r2[1].replace(/[^0-9]/g, "") : "", s2 = r2.length > 1;
390
390
  e3 = o2 + ("" !== l2 ? n3 + l2 : l2);
391
391
  var c2 = 0;
392
392
  if ("" !== n3 && (c2 = t3.digitsOptional ? t3.digits < l2.length ? t3.digits : l2.length : t3.digits, "" !== l2 || !t3.digitsOptional)) {
393
393
  var f2 = Math.pow(10, c2 || 1);
394
- e3 = e3.replace((0, r.escapeRegex)(n3), "."), isNaN(parseFloat(e3)) || (e3 = (t3.roundingFN(parseFloat(e3) * f2) / f2).toFixed(c2)), e3 = e3.toString().replace(".", n3);
394
+ e3 = e3.replace((0, a.escapeRegex)(n3), "."), isNaN(parseFloat(e3)) || (e3 = (t3.roundingFN(parseFloat(e3) * f2) / f2).toFixed(c2)), e3 = e3.toString().replace(".", n3);
395
395
  }
396
396
  if (0 === t3.digits && -1 !== e3.indexOf(n3) && (e3 = e3.substring(0, e3.indexOf(n3))), "" !== e3 && (null !== t3.min || null !== t3.max)) {
397
397
  var p2 = e3.toString().replace(n3, ".");
@@ -400,7 +400,7 @@ var require_inputmask = __commonJS({
400
400
  return i3 && "-" !== e3.charAt(0) && (e3 = "-" + e3), u(e3.toString().split(""), c2, t3, s2).join("");
401
401
  },
402
402
  onBeforeWrite: function(e3, t3, n3, i3) {
403
- function a2(e4, t4) {
403
+ function r2(e4, t4) {
404
404
  if (false !== i3.__financeInput || t4) {
405
405
  var n4 = e4.indexOf(i3.radixPoint);
406
406
  -1 !== n4 && e4.splice(n4, 1);
@@ -410,8 +410,8 @@ var require_inputmask = __commonJS({
410
410
  }
411
411
  var o2, l2;
412
412
  if (i3.stripLeadingZeroes && (l2 = (function(e4, t4) {
413
- var n4 = new RegExp("(^" + ("" !== t4.negationSymbol.front ? (0, r.escapeRegex)(t4.negationSymbol.front) + "?" : "") + (0, r.escapeRegex)(t4.prefix) + ")(.*)(" + (0, r.escapeRegex)(t4.suffix) + ("" != t4.negationSymbol.back ? (0, r.escapeRegex)(t4.negationSymbol.back) + "?" : "") + "$)").exec(e4.slice().reverse().join("")), i4 = n4 ? n4[2] : "", a3 = false;
414
- return i4 && (i4 = i4.split(t4.radixPoint.charAt(0))[0], a3 = new RegExp("^[0" + t4.groupSeparator + "]*").exec(i4)), !(!a3 || !(a3[0].length > 1 || a3[0].length > 0 && a3[0].length < i4.length)) && a3;
413
+ var n4 = new RegExp("(^" + ("" !== t4.negationSymbol.front ? (0, a.escapeRegex)(t4.negationSymbol.front) + "?" : "") + (0, a.escapeRegex)(t4.prefix) + ")(.*)(" + (0, a.escapeRegex)(t4.suffix) + ("" != t4.negationSymbol.back ? (0, a.escapeRegex)(t4.negationSymbol.back) + "?" : "") + "$)").exec(e4.slice().reverse().join("")), i4 = n4 ? n4[2] : "", r3 = false;
414
+ return i4 && (i4 = i4.split(t4.radixPoint.charAt(0))[0], r3 = new RegExp("^[0" + t4.groupSeparator + "]*").exec(i4)), !(!r3 || !(r3[0].length > 1 || r3[0].length > 0 && r3[0].length < i4.length)) && r3;
415
415
  })(t3, i3))) for (var c2 = t3.join("").lastIndexOf(l2[0].split("").reverse().join("")) - (l2[0] == l2.input ? 0 : 1), f2 = l2[0] == l2.input ? 1 : 0, p2 = l2[0].length - f2; p2 > 0; p2--) this.maskset.validPositions.splice(c2 + p2, 1), delete t3[c2 + p2];
416
416
  if (e3) switch (e3.type) {
417
417
  case "blur":
@@ -430,7 +430,7 @@ var require_inputmask = __commonJS({
430
430
  };
431
431
  }
432
432
  if (t3[t3.length - 1] === i3.negationSymbol.front) {
433
- var h = new RegExp("(^" + ("" != i3.negationSymbol.front ? (0, r.escapeRegex)(i3.negationSymbol.front) + "?" : "") + (0, r.escapeRegex)(i3.prefix) + ")(.*)(" + (0, r.escapeRegex)(i3.suffix) + ("" != i3.negationSymbol.back ? (0, r.escapeRegex)(i3.negationSymbol.back) + "?" : "") + "$)").exec(a2(t3.slice(), true).reverse().join(""));
433
+ var h = new RegExp("(^" + ("" != i3.negationSymbol.front ? (0, a.escapeRegex)(i3.negationSymbol.front) + "?" : "") + (0, a.escapeRegex)(i3.prefix) + ")(.*)(" + (0, a.escapeRegex)(i3.suffix) + ("" != i3.negationSymbol.back ? (0, a.escapeRegex)(i3.negationSymbol.back) + "?" : "") + "$)").exec(r2(t3.slice(), true).reverse().join(""));
434
434
  0 == (h ? h[2] : "") && (o2 = {
435
435
  refreshFromBuffer: true,
436
436
  buffer: [0]
@@ -438,7 +438,7 @@ var require_inputmask = __commonJS({
438
438
  } else if ("" !== i3.radixPoint) {
439
439
  t3.indexOf(i3.radixPoint) === i3.suffix.length && (o2 && o2.buffer ? o2.buffer.splice(0, 1 + i3.suffix.length) : (t3.splice(0, 1 + i3.suffix.length), o2 = {
440
440
  refreshFromBuffer: true,
441
- buffer: a2(t3)
441
+ buffer: r2(t3)
442
442
  }));
443
443
  }
444
444
  if (i3.enforceDigitsOnBlur) {
@@ -449,24 +449,24 @@ var require_inputmask = __commonJS({
449
449
  return o2;
450
450
  },
451
451
  onKeyDown: function(e3, t3, n3, i3) {
452
- var r2, a2 = s(this);
452
+ var a2, r2 = s(this);
453
453
  if (3 != e3.location) {
454
454
  var l2, c2 = e3.key;
455
- if ((l2 = i3.shortcuts && i3.shortcuts[c2]) && l2.length > 1) return this.inputmask.__valueSet.call(this, parseFloat(this.inputmask.unmaskedvalue()) * parseInt(l2)), a2.trigger("setvalue"), false;
455
+ if ((l2 = i3.shortcuts && i3.shortcuts[c2]) && l2.length > 1) return this.inputmask.__valueSet.call(this, parseFloat(this.inputmask.unmaskedvalue()) * parseInt(l2)), r2.trigger("setvalue"), false;
456
456
  }
457
457
  if (e3.ctrlKey) switch (e3.key) {
458
458
  case o.keys.ArrowUp:
459
- return this.inputmask.__valueSet.call(this, parseFloat(this.inputmask.unmaskedvalue()) + parseInt(i3.step)), a2.trigger("setvalue"), false;
459
+ return this.inputmask.__valueSet.call(this, parseFloat(this.inputmask.unmaskedvalue()) + parseInt(i3.step)), r2.trigger("setvalue"), false;
460
460
  case o.keys.ArrowDown:
461
- return this.inputmask.__valueSet.call(this, parseFloat(this.inputmask.unmaskedvalue()) - parseInt(i3.step)), a2.trigger("setvalue"), false;
461
+ return this.inputmask.__valueSet.call(this, parseFloat(this.inputmask.unmaskedvalue()) - parseInt(i3.step)), r2.trigger("setvalue"), false;
462
462
  }
463
463
  if (!e3.shiftKey && (e3.key === o.keys.Delete || e3.key === o.keys.Backspace || e3.key === o.keys.BACKSPACE_SAFARI) && n3.begin !== t3.length) {
464
- if (t3[e3.key === o.keys.Delete ? n3.begin - 1 : n3.end] === i3.negationSymbol.front) return r2 = t3.slice().reverse(), "" !== i3.negationSymbol.front && r2.shift(), "" !== i3.negationSymbol.back && r2.pop(), a2.trigger("setvalue", [r2.join(""), n3.begin]), false;
464
+ if (t3[e3.key === o.keys.Delete ? n3.begin - 1 : n3.end] === i3.negationSymbol.front) return a2 = t3.slice().reverse(), "" !== i3.negationSymbol.front && a2.shift(), "" !== i3.negationSymbol.back && a2.pop(), r2.trigger("setvalue", [a2.join(""), n3.begin]), false;
465
465
  if (true === i3._radixDance) {
466
466
  var f2, p2 = t3.indexOf(i3.radixPoint);
467
467
  if (i3.digitsOptional) {
468
- if (0 === p2) return (r2 = t3.slice().reverse()).pop(), a2.trigger("setvalue", [r2.join(""), n3.begin >= r2.length ? r2.length : n3.begin]), false;
469
- } else if (-1 !== p2 && (n3.begin < p2 || n3.end < p2 || e3.key === o.keys.Delete && (n3.begin === p2 || n3.begin - 1 === p2))) return n3.begin === n3.end && (e3.key === o.keys.Backspace || e3.key === o.keys.BACKSPACE_SAFARI ? n3.begin++ : e3.key === o.keys.Delete && n3.begin - 1 === p2 && (f2 = s.extend({}, n3), n3.begin--, n3.end--)), (r2 = t3.slice().reverse()).splice(r2.length - n3.begin, n3.begin - n3.end || 1), e3.key !== o.keys.Backspace && e3.key !== o.keys.BACKSPACE_SAFARI || r2.splice(r2.length - n3.end + 1, 0, "0"), r2 = u(r2, i3.digits, i3).join(""), f2 && (n3 = f2), a2.trigger("setvalue", [r2, n3.begin >= r2.length ? p2 + 1 : n3.begin]), false;
468
+ if (0 === p2) return (a2 = t3.slice().reverse()).pop(), r2.trigger("setvalue", [a2.join(""), n3.begin >= a2.length ? a2.length : n3.begin]), false;
469
+ } else if (-1 !== p2 && (n3.begin < p2 || n3.end < p2 || e3.key === o.keys.Delete && (n3.begin === p2 || n3.begin - 1 === p2))) return n3.begin === n3.end && (e3.key === o.keys.Backspace || e3.key === o.keys.BACKSPACE_SAFARI ? n3.begin++ : e3.key === o.keys.Delete && n3.begin - 1 === p2 && (f2 = s.extend({}, n3), n3.begin--, n3.end--)), (a2 = t3.slice().reverse()).splice(a2.length - n3.begin, n3.begin - n3.end || 1), e3.key !== o.keys.Backspace && e3.key !== o.keys.BACKSPACE_SAFARI || a2.splice(a2.length - n3.end + 1, 0, "0"), a2 = u(a2, i3.digits, i3).join(""), f2 && (n3 = f2), r2.trigger("setvalue", [a2, n3.begin >= a2.length ? p2 + 1 : n3.begin]), false;
470
470
  }
471
471
  }
472
472
  }
@@ -518,10 +518,10 @@ var require_inputmask = __commonJS({
518
518
  Object.defineProperty(t2, "__esModule", {
519
519
  value: true
520
520
  }), t2.default = function e3() {
521
- var t3, i2, r, a, o, l, s = arguments[0] || {}, c = 1, u = arguments.length, f = false;
521
+ var t3, i2, a, r, o, l, s = arguments[0] || {}, c = 1, u = arguments.length, f = false;
522
522
  "boolean" == typeof s && (f = s, s = arguments[c] || {}, c++);
523
523
  "object" !== n2(s) && "function" != typeof s && (s = {});
524
- for (; c < u; c++) if (null != (t3 = arguments[c])) for (i2 in t3) r = s[i2], s !== (a = t3[i2]) && (f && a && ("[object Object]" === Object.prototype.toString.call(a) || (o = Array.isArray(a))) ? (o ? (o = false, l = r && Array.isArray(r) ? r : []) : l = r && "[object Object]" === Object.prototype.toString.call(r) ? r : {}, s[i2] = e3(f, l, a)) : void 0 !== a && (s[i2] = a));
524
+ for (; c < u; c++) if (null != (t3 = arguments[c])) for (i2 in t3) a = s[i2], s !== (r = t3[i2]) && (f && r && ("[object Object]" === Object.prototype.toString.call(r) || (o = Array.isArray(r))) ? (o ? (o = false, l = a && Array.isArray(a) ? a : []) : l = a && "[object Object]" === Object.prototype.toString.call(a) ? a : {}, s[i2] = e3(f, l, r)) : void 0 !== r && (s[i2] = r));
525
525
  return s;
526
526
  };
527
527
  },
@@ -530,12 +530,12 @@ var require_inputmask = __commonJS({
530
530
  value: true
531
531
  }), t2.HandleNativePlaceholder = function(e3, t3) {
532
532
  var n3 = e3 ? e3.inputmask : this;
533
- if (r.ie) {
533
+ if (a.ie) {
534
534
  if (e3.inputmask._valueGet() !== t3 && (e3.placeholder !== t3 || "" === e3.placeholder)) {
535
- var i3 = s.getBuffer.call(n3).slice(), a2 = e3.inputmask._valueGet();
536
- if (a2 !== t3) {
535
+ var i3 = s.getBuffer.call(n3).slice(), r2 = e3.inputmask._valueGet();
536
+ if (r2 !== t3) {
537
537
  var o2 = s.getLastValidPosition.call(n3);
538
- -1 === o2 && a2 === s.getBufferTemplate.call(n3).join("") ? i3 = [] : -1 !== o2 && m.call(n3, i3), y(e3, i3);
538
+ -1 === o2 && r2 === s.getBufferTemplate.call(n3).join("") ? i3 = [] : -1 !== o2 && m.call(n3, i3), y(e3, i3);
539
539
  }
540
540
  }
541
541
  } else e3.placeholder !== t3 && (e3.placeholder = t3, "" === e3.placeholder && e3.removeAttribute("placeholder"));
@@ -545,8 +545,8 @@ var require_inputmask = __commonJS({
545
545
  if (void 0 === e3.inputmask) return e3.value;
546
546
  e3.inputmask && e3.inputmask.refreshValue && v(e3, e3.inputmask._valueGet(true));
547
547
  }
548
- for (var r2 = [], a2 = i3.validPositions, l2 = 0, c2 = a2.length; l2 < c2; l2++) a2[l2] && a2[l2].match && (1 != a2[l2].match.static || true !== n3.keepStatic && Array.isArray(i3.metadata) && true !== a2[l2].generatedInput) && r2.push(a2[l2].input);
549
- var u2 = 0 === r2.length ? "" : (t3.isRTL ? r2.reverse() : r2).join("");
548
+ for (var a2 = [], r2 = i3.validPositions, l2 = 0, c2 = r2.length; l2 < c2; l2++) r2[l2] && r2[l2].match && (1 != r2[l2].match.static || true !== n3.keepStatic && Array.isArray(i3.metadata) && true !== r2[l2].generatedInput) && a2.push(r2[l2].input);
549
+ var u2 = 0 === a2.length ? "" : (t3.isRTL ? a2.reverse() : a2).join("");
550
550
  if ("function" == typeof n3.onUnMask) {
551
551
  var f2 = (t3.isRTL ? s.getBuffer.call(t3).slice().reverse() : s.getBuffer.call(t3)).join("");
552
552
  u2 = n3.onUnMask.call(t3, f2, u2, n3);
@@ -557,7 +557,7 @@ var require_inputmask = __commonJS({
557
557
  }));
558
558
  return u2;
559
559
  }, t2.writeBuffer = y;
560
- var i2, r = n2(4351), a = n2(6047), o = (i2 = n2(3978)) && i2.__esModule ? i2 : {
560
+ var i2, a = n2(4351), r = n2(6047), o = (i2 = n2(3978)) && i2.__esModule ? i2 : {
561
561
  default: i2
562
562
  }, l = n2(6032), s = n2(7539), c = n2(7687), u = n2(5895);
563
563
  function f(e3) {
@@ -571,20 +571,20 @@ var require_inputmask = __commonJS({
571
571
  var n3 = Object.keys(e3);
572
572
  if (Object.getOwnPropertySymbols) {
573
573
  var i3 = Object.getOwnPropertySymbols(e3);
574
- t3 && (i3 = i3.filter((function(t4) {
574
+ t3 && (i3 = i3.filter(function(t4) {
575
575
  return Object.getOwnPropertyDescriptor(e3, t4).enumerable;
576
- }))), n3.push.apply(n3, i3);
576
+ })), n3.push.apply(n3, i3);
577
577
  }
578
578
  return n3;
579
579
  }
580
580
  function d(e3) {
581
581
  for (var t3 = 1; t3 < arguments.length; t3++) {
582
582
  var n3 = null != arguments[t3] ? arguments[t3] : {};
583
- t3 % 2 ? p(Object(n3), true).forEach((function(t4) {
583
+ t3 % 2 ? p(Object(n3), true).forEach(function(t4) {
584
584
  h(e3, t4, n3[t4]);
585
- })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e3, Object.getOwnPropertyDescriptors(n3)) : p(Object(n3)).forEach((function(t4) {
585
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e3, Object.getOwnPropertyDescriptors(n3)) : p(Object(n3)).forEach(function(t4) {
586
586
  Object.defineProperty(e3, t4, Object.getOwnPropertyDescriptor(n3, t4));
587
- }));
587
+ });
588
588
  }
589
589
  return e3;
590
590
  }
@@ -609,15 +609,15 @@ var require_inputmask = __commonJS({
609
609
  }) : e3[t3] = n3, e3;
610
610
  }
611
611
  function v(e3, t3, n3, i3) {
612
- var r2 = e3 ? e3.inputmask : this, a2 = r2.opts;
613
- e3.inputmask.refreshValue = false, true !== i3 && "function" == typeof a2.onBeforeMask && (t3 = a2.onBeforeMask.call(r2, t3, a2) || t3), g(e3, true, false, t3 = (t3 || "").toString().split(""), n3), r2.undoValue = r2._valueGet(true), (a2.clearMaskOnLostFocus || a2.clearIncomplete) && e3.inputmask._valueGet() === s.getBufferTemplate.call(r2).join("") && -1 === s.getLastValidPosition.call(r2) && e3.inputmask._valueSet("");
612
+ var a2 = e3 ? e3.inputmask : this, r2 = a2.opts;
613
+ e3.inputmask.refreshValue = false, true !== i3 && "function" == typeof r2.onBeforeMask && (t3 = r2.onBeforeMask.call(a2, t3, r2) || t3), g(e3, true, false, t3 = (t3 || "").toString().split(""), n3), a2.undoValue = a2._valueGet(true), (r2.clearMaskOnLostFocus || r2.clearIncomplete) && e3.inputmask._valueGet() === s.getBufferTemplate.call(a2).join("") && -1 === s.getLastValidPosition.call(a2) && e3.inputmask._valueSet("");
614
614
  }
615
615
  function m(e3) {
616
616
  e3.length = 0;
617
617
  for (var t3, n3 = u.getMaskTemplate.call(this, true, 0, true, void 0, true); void 0 !== (t3 = n3.shift()); ) e3.push(t3);
618
618
  return e3;
619
619
  }
620
- function g(e3, t3, n3, i3, r2) {
620
+ function g(e3, t3, n3, i3, a2) {
621
621
  var o2, l2 = e3 ? e3.inputmask : this, f2 = l2.maskset, p2 = l2.opts, d2 = l2.dependencyLib, h2 = i3.slice(), v2 = "", m2 = -1, g2 = p2.skipOptionalPartCharacter;
622
622
  p2.skipOptionalPartCharacter = "", s.resetMaskSet.call(l2, false), l2.clicked = 0, m2 = p2.radixPoint ? s.determineNewCaretPosition.call(l2, {
623
623
  begin: 0,
@@ -626,56 +626,56 @@ var require_inputmask = __commonJS({
626
626
  begin: m2
627
627
  };
628
628
  var b = [], k = l2.caretPos;
629
- if (h2.forEach((function(e4, t4) {
629
+ if (h2.forEach(function(e4, t4) {
630
630
  if (void 0 !== e4) {
631
631
  var i4 = new d2.Event("_checkval");
632
632
  i4.key = e4, v2 += e4;
633
- var r3 = s.getLastValidPosition.call(l2, void 0, true);
633
+ var a3 = s.getLastValidPosition.call(l2, void 0, true);
634
634
  !(function(e5, t5) {
635
635
  for (var n4 = u.getMaskTemplate.call(l2, true, 0).slice(e5, s.seekNext.call(l2, e5, false, false)).join("").replace(/'/g, ""), i5 = n4.indexOf(t5); i5 > 0 && " " === n4[i5 - 1]; ) i5--;
636
- var r4 = 0 === i5 && !s.isMask.call(l2, e5) && (u.getTest.call(l2, e5).match.nativeDef === t5.charAt(0) || true === u.getTest.call(l2, e5).match.static && u.getTest.call(l2, e5).match.nativeDef === "'" + t5.charAt(0) || " " === u.getTest.call(l2, e5).match.nativeDef && (u.getTest.call(l2, e5 + 1).match.nativeDef === t5.charAt(0) || true === u.getTest.call(l2, e5 + 1).match.static && u.getTest.call(l2, e5 + 1).match.nativeDef === "'" + t5.charAt(0)));
637
- if (!r4 && i5 > 0 && !s.isMask.call(l2, e5, false, true)) {
638
- var a2 = s.seekNext.call(l2, e5);
639
- l2.caretPos.begin < a2 && (l2.caretPos = {
640
- begin: a2
636
+ var a4 = 0 === i5 && !s.isMask.call(l2, e5) && (u.getTest.call(l2, e5).match.nativeDef === t5.charAt(0) || true === u.getTest.call(l2, e5).match.static && u.getTest.call(l2, e5).match.nativeDef === "'" + t5.charAt(0) || " " === u.getTest.call(l2, e5).match.nativeDef && (u.getTest.call(l2, e5 + 1).match.nativeDef === t5.charAt(0) || true === u.getTest.call(l2, e5 + 1).match.static && u.getTest.call(l2, e5 + 1).match.nativeDef === "'" + t5.charAt(0)));
637
+ if (!a4 && i5 > 0 && !s.isMask.call(l2, e5, false, true)) {
638
+ var r2 = s.seekNext.call(l2, e5);
639
+ l2.caretPos.begin < r2 && (l2.caretPos = {
640
+ begin: r2
641
641
  });
642
642
  }
643
- return r4;
644
- })(m2, v2) ? (o2 = a.EventHandlers.keypressEvent.call(l2, i4, true, false, n3, l2.caretPos.begin)) && (m2 = l2.caretPos.begin + 1, v2 = "") : o2 = true === u.getTest.call(l2, t4).match.static && a.EventHandlers.keypressEvent.call(l2, i4, true, false, n3, r3 + 1), o2 ? (void 0 !== o2.pos && f2.validPositions[o2.pos] && true === f2.validPositions[o2.pos].match.static && void 0 === f2.validPositions[o2.pos].alternation && (b.push(o2.pos), l2.isRTL || (o2.forwardPosition = o2.pos + 1)), y.call(l2, void 0, s.getBuffer.call(l2), o2.forwardPosition, i4, false), l2.caretPos = {
643
+ return a4;
644
+ })(m2, v2) ? (o2 = r.EventHandlers.keypressEvent.call(l2, i4, true, false, n3, l2.caretPos.begin)) && (m2 = l2.caretPos.begin + 1, v2 = "") : o2 = true === u.getTest.call(l2, t4).match.static && r.EventHandlers.keypressEvent.call(l2, i4, true, false, n3, a3 + 1), o2 ? (void 0 !== o2.pos && f2.validPositions[o2.pos] && true === f2.validPositions[o2.pos].match.static && void 0 === f2.validPositions[o2.pos].alternation && (b.push(o2.pos), l2.isRTL || (o2.forwardPosition = o2.pos + 1)), y.call(l2, void 0, s.getBuffer.call(l2), o2.forwardPosition, i4, false), l2.caretPos = {
645
645
  begin: o2.forwardPosition,
646
646
  end: o2.forwardPosition
647
647
  }, k = l2.caretPos) : void 0 === f2.validPositions[t4] && h2[t4] === u.getPlaceholder.call(l2, t4) && s.isMask.call(l2, t4, true) ? l2.caretPos.begin++ : l2.caretPos = k;
648
648
  }
649
- })), b.length > 0) {
649
+ }), b.length > 0) {
650
650
  var x, S, P = s.seekNext.call(l2, -1, void 0, false);
651
651
  if (!c.isComplete.call(l2, s.getBuffer.call(l2)) && b.length <= P || c.isComplete.call(l2, s.getBuffer.call(l2)) && b.length > 0 && b.length !== P && 0 === b[0]) {
652
- for (var w = P; void 0 !== (x = b.shift()); ) if (x < w) {
653
- var O = new d2.Event("_checkval");
654
- if ((S = f2.validPositions[x]).generatedInput = true, O.key = S.input, (o2 = a.EventHandlers.keypressEvent.call(l2, O, true, false, n3, w)) && void 0 !== o2.pos && o2.pos !== x && f2.validPositions[o2.pos] && true === f2.validPositions[o2.pos].match.static) b.push(o2.pos);
652
+ for (var O = P; void 0 !== (x = b.shift()); ) if (x < O) {
653
+ var w = new d2.Event("_checkval");
654
+ if ((S = f2.validPositions[x]).generatedInput = true, w.key = S.input, (o2 = r.EventHandlers.keypressEvent.call(l2, w, true, false, n3, O)) && void 0 !== o2.pos && o2.pos !== x && f2.validPositions[o2.pos] && true === f2.validPositions[o2.pos].match.static) b.push(o2.pos);
655
655
  else if (!o2) break;
656
- w++;
656
+ O++;
657
657
  }
658
658
  } else for (; x = b.pop(); ) (S = f2.validPositions[x]) && void 0 === f2.validPositions[x + 1] && delete f2.validPositions[x];
659
659
  }
660
- t3 && y.call(l2, e3, s.getBuffer.call(l2), o2 ? o2.forwardPosition : l2.caretPos.begin, r2 || new d2.Event("checkval"), r2 && ("input" === r2.type && l2.undoValue !== s.getBuffer.call(l2).join("") || "paste" === r2.type)), p2.skipOptionalPartCharacter = g2;
660
+ t3 && y.call(l2, e3, s.getBuffer.call(l2), o2 ? o2.forwardPosition : l2.caretPos.begin, a2 || new d2.Event("checkval"), a2 && ("input" === a2.type && l2.undoValue !== s.getBuffer.call(l2).join("") || "paste" === a2.type)), p2.skipOptionalPartCharacter = g2;
661
661
  }
662
- function y(e3, t3, n3, i3, r2) {
663
- var a2 = e3 ? e3.inputmask : this, o2 = a2.opts, u2 = a2.dependencyLib;
662
+ function y(e3, t3, n3, i3, a2) {
663
+ var r2 = e3 ? e3.inputmask : this, o2 = r2.opts, u2 = r2.dependencyLib;
664
664
  if (i3 && "function" == typeof o2.onBeforeWrite) {
665
- var f2 = o2.onBeforeWrite.call(a2, i3, t3, n3, o2);
665
+ var f2 = o2.onBeforeWrite.call(r2, i3, t3, n3, o2);
666
666
  if (f2) {
667
667
  if (f2.refreshFromBuffer) {
668
668
  var p2 = f2.refreshFromBuffer;
669
- c.refreshFromBuffer.call(a2, true === p2 ? p2 : p2.start, p2.end, f2.buffer || t3), t3 = s.getBuffer.call(a2, true);
669
+ c.refreshFromBuffer.call(r2, true === p2 ? p2 : p2.start, p2.end, f2.buffer || t3), t3 = s.getBuffer.call(r2, true);
670
670
  }
671
671
  void 0 !== n3 && (n3 = void 0 !== f2.caret ? f2.caret : n3);
672
672
  }
673
673
  }
674
- if (void 0 !== e3 && (e3.inputmask._valueSet(t3.join("")), void 0 === n3 || void 0 !== i3 && "blur" === i3.type || s.caret.call(a2, e3, n3, void 0, void 0, void 0 !== i3 && "keydown" === i3.type && (i3.key === l.keys.Delete || i3.key === l.keys.Backspace)), void 0 === e3.inputmask.writeBufferHook || e3.inputmask.writeBufferHook(n3), true === r2)) {
674
+ if (void 0 !== e3 && (e3.inputmask._valueSet(t3.join("")), void 0 === n3 || void 0 !== i3 && "blur" === i3.type || s.caret.call(r2, e3, n3, void 0, void 0, void 0 !== i3 && "keydown" === i3.type && (i3.key === l.keys.Delete || i3.key === l.keys.Backspace)), void 0 === e3.inputmask.writeBufferHook || e3.inputmask.writeBufferHook(n3), true === a2)) {
675
675
  var d2 = u2(e3), h2 = e3.inputmask._valueGet();
676
- e3.inputmask.skipInputEvent = true, d2.trigger("input"), setTimeout((function() {
677
- h2 === s.getBufferTemplate.call(a2).join("") ? d2.trigger("cleared") : true === c.isComplete.call(a2, t3) && d2.trigger("complete");
678
- }), 0);
676
+ e3.inputmask.skipInputEvent = true, d2.trigger("input"), setTimeout(function() {
677
+ h2 === s.getBufferTemplate.call(r2).join("") ? d2.trigger("cleared") : true === c.isComplete.call(r2, t3) && d2.trigger("complete");
678
+ }, 0);
679
679
  }
680
680
  }
681
681
  },
@@ -685,9 +685,9 @@ var require_inputmask = __commonJS({
685
685
  if (null == this) throw new TypeError('"this" is null or not defined');
686
686
  var n2 = Object(this), i2 = n2.length >>> 0;
687
687
  if (0 === i2) return false;
688
- for (var r = 0 | t2, a = Math.max(r >= 0 ? r : i2 - Math.abs(r), 0); a < i2; ) {
689
- if (n2[a] === e2) return true;
690
- a++;
688
+ for (var a = 0 | t2, r = Math.max(a >= 0 ? a : i2 - Math.abs(a), 0); r < i2; ) {
689
+ if (n2[r] === e2) return true;
690
+ r++;
691
691
  }
692
692
  return false;
693
693
  }
@@ -695,10 +695,10 @@ var require_inputmask = __commonJS({
695
695
  },
696
696
  1960: function() {
697
697
  var e2 = Function.bind.call(Function.call, Array.prototype.reduce), t2 = Function.bind.call(Function.call, Object.prototype.propertyIsEnumerable), n2 = Function.bind.call(Function.call, Array.prototype.concat), i2 = Object.keys;
698
- Object.entries || (Object.entries = function(r) {
699
- return e2(i2(r), (function(e3, i3) {
700
- return n2(e3, "string" == typeof i3 && t2(r, i3) ? [[i3, r[i3]]] : []);
701
- }), []);
698
+ Object.entries || (Object.entries = function(a) {
699
+ return e2(i2(a), function(e3, i3) {
700
+ return n2(e3, "string" == typeof i3 && t2(a, i3) ? [[i3, a[i3]]] : []);
701
+ }, []);
702
702
  });
703
703
  },
704
704
  2088: function(e2, t2) {
@@ -710,13 +710,13 @@ var require_inputmask = __commonJS({
710
710
  };
711
711
  },
712
712
  2952: function(e2, t2, n2) {
713
- var i2 = d(n2(6266)), r = d(n2(3978));
714
- function a(e3) {
715
- return a = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e4) {
713
+ var i2 = d(n2(6266)), a = d(n2(3978));
714
+ function r(e3) {
715
+ return r = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e4) {
716
716
  return typeof e4;
717
717
  } : function(e4) {
718
718
  return e4 && "function" == typeof Symbol && e4.constructor === Symbol && e4 !== Symbol.prototype ? "symbol" : typeof e4;
719
- }, a(e3);
719
+ }, r(e3);
720
720
  }
721
721
  function o(e3, t3) {
722
722
  for (var n3 = 0; n3 < t3.length; n3++) {
@@ -726,20 +726,20 @@ var require_inputmask = __commonJS({
726
726
  }
727
727
  function l(e3) {
728
728
  var t3 = (function(e4, t4) {
729
- if ("object" != a(e4) || !e4) return e4;
729
+ if ("object" != r(e4) || !e4) return e4;
730
730
  var n3 = e4[Symbol.toPrimitive];
731
731
  if (void 0 !== n3) {
732
732
  var i3 = n3.call(e4, t4);
733
- if ("object" != a(i3)) return i3;
733
+ if ("object" != r(i3)) return i3;
734
734
  throw new TypeError("@@toPrimitive must return a primitive value.");
735
735
  }
736
736
  return (String )(e4);
737
737
  })(e3, "string");
738
- return "symbol" == a(t3) ? t3 : t3 + "";
738
+ return "symbol" == r(t3) ? t3 : t3 + "";
739
739
  }
740
740
  function s(e3, t3, n3) {
741
741
  return t3 = p(t3), (function(e4, t4) {
742
- if (t4 && ("object" == a(t4) || "function" == typeof t4)) return t4;
742
+ if (t4 && ("object" == r(t4) || "function" == typeof t4)) return t4;
743
743
  if (void 0 !== t4) throw new TypeError("Derived constructors may only return object or undefined");
744
744
  return (function(e5) {
745
745
  if (void 0 === e5) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
@@ -767,8 +767,8 @@ var require_inputmask = __commonJS({
767
767
  if (u()) return Reflect.construct.apply(null, arguments);
768
768
  var i3 = [null];
769
769
  i3.push.apply(i3, t4);
770
- var r2 = new (e5.bind.apply(e5, i3))();
771
- return n4 && f(r2, n4.prototype), r2;
770
+ var a2 = new (e5.bind.apply(e5, i3))();
771
+ return n4 && f(a2, n4.prototype), a2;
772
772
  })(e4, arguments, p(this).constructor);
773
773
  }
774
774
  return n3.prototype = Object.create(e4.prototype, {
@@ -783,8 +783,8 @@ var require_inputmask = __commonJS({
783
783
  }
784
784
  function u() {
785
785
  try {
786
- var e3 = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], (function() {
787
- })));
786
+ var e3 = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
787
+ }));
788
788
  } catch (e4) {
789
789
  }
790
790
  return (u = function() {
@@ -817,8 +817,8 @@ var require_inputmask = __commonJS({
817
817
  var n4 = (e4 = s(this, t3)).getAttributeNames(), i4 = e4.attachShadow({
818
818
  mode: "closed"
819
819
  });
820
- for (var a3 in e4.input = h.createElement("input"), e4.input.type = "text", i4.appendChild(e4.input), n4) Object.prototype.hasOwnProperty.call(n4, a3) && e4.input.setAttribute(n4[a3], e4.getAttribute(n4[a3]));
821
- var o2 = new r.default();
820
+ for (var r3 in e4.input = h.createElement("input"), e4.input.type = "text", i4.appendChild(e4.input), n4) Object.prototype.hasOwnProperty.call(n4, r3) && e4.input.setAttribute(n4[r3], e4.getAttribute(n4[r3]));
821
+ var o2 = new a.default();
822
822
  return o2.dataAttribute = "", o2.mask(e4.input), e4;
823
823
  }
824
824
  return (function(e4, t4) {
@@ -845,10 +845,10 @@ var require_inputmask = __commonJS({
845
845
  set: function(e4) {
846
846
  this.input.value = e4;
847
847
  }
848
- }]) && o(n3.prototype, i3), a2 && o(n3, a2), Object.defineProperty(n3, "prototype", {
848
+ }]) && o(n3.prototype, i3), r2 && o(n3, r2), Object.defineProperty(n3, "prototype", {
849
849
  writable: false
850
850
  }), n3;
851
- var n3, i3, a2;
851
+ var n3, i3, r2;
852
852
  })(c(HTMLElement));
853
853
  i2.default.customElements.define("input-mask", v);
854
854
  }
@@ -857,7 +857,7 @@ var require_inputmask = __commonJS({
857
857
  Object.defineProperty(t2, "__esModule", {
858
858
  value: true
859
859
  }), t2.default = void 0;
860
- var i2 = v(n2(7042)), r = v(n2(9472)), a = v(n2(7332)), o = n2(4136), l = v(n2(6266)), s = n2(1507), c = n2(4240), u = n2(4507), f = n2(7539), p = n2(7687), d = n2(5895);
860
+ var i2 = v(n2(7042)), a = v(n2(9472)), r = v(n2(7332)), o = n2(4136), l = v(n2(6266)), s = n2(1507), c = n2(4240), u = n2(4507), f = n2(7539), p = n2(7687), d = n2(5895);
861
861
  function h(e3) {
862
862
  return h = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e4) {
863
863
  return typeof e4;
@@ -873,16 +873,16 @@ var require_inputmask = __commonJS({
873
873
  var m = l.default.document, g = "_inputmask_opts";
874
874
  function y(e3, t3, n3) {
875
875
  if (!(this instanceof y)) return new y(e3, t3, n3);
876
- this.dependencyLib = a.default, this.el = void 0, this.events = {}, this.maskset = void 0, true !== n3 && ("[object Object]" === Object.prototype.toString.call(e3) ? t3 = e3 : (t3 = t3 || {}, e3 && (t3.alias = e3)), this.opts = a.default.extend(true, {}, this.defaults, t3), this.noMasksCache = t3 && void 0 !== t3.definitions, this.userOptions = t3 || {}, b(this.opts.alias, t3, this.opts)), this.refreshValue = false, this.undoValue = void 0, this.$el = void 0, this.skipInputEvent = false, this.validationEvent = false, this.ignorable = false, this.maxLength, this.mouseEnter = false, this.clicked = 0, this.originalPlaceholder = void 0, this.isComposing = false, this.hasAlternator = false;
876
+ this.dependencyLib = r.default, this.el = void 0, this.events = {}, this.maskset = void 0, true !== n3 && ("[object Object]" === Object.prototype.toString.call(e3) ? t3 = e3 : (t3 = t3 || {}, e3 && (t3.alias = e3)), this.opts = r.default.extend(true, {}, this.defaults, t3), this.noMasksCache = t3 && void 0 !== t3.definitions, this.userOptions = t3 || {}, b(this.opts.alias, t3, this.opts)), this.refreshValue = false, this.undoValue = void 0, this.$el = void 0, this.skipInputEvent = false, this.validationEvent = false, this.ignorable = false, this.maxLength, this.mouseEnter = false, this.clicked = 0, this.originalPlaceholder = void 0, this.isComposing = false, this.lastInputEvent = null, this.hasAlternator = false;
877
877
  }
878
878
  function b(e3, t3, n3) {
879
879
  var i3 = y.prototype.aliases[e3];
880
- return i3 ? (i3.alias && b(i3.alias, void 0, n3), a.default.extend(true, n3, i3), a.default.extend(true, n3, t3), true) : (null === n3.mask && (n3.mask = e3), false);
880
+ return i3 ? (i3.alias && b(i3.alias, void 0, n3), r.default.extend(true, n3, i3), r.default.extend(true, n3, t3), true) : (null === n3.mask && (n3.mask = e3), false);
881
881
  }
882
882
  y.prototype = {
883
883
  dataAttribute: "data-inputmask",
884
884
  defaults: i2.default,
885
- definitions: r.default,
885
+ definitions: a.default,
886
886
  aliases: {},
887
887
  masksCache: {},
888
888
  i18n: {},
@@ -891,12 +891,12 @@ var require_inputmask = __commonJS({
891
891
  },
892
892
  mask: function(e3) {
893
893
  var t3 = this;
894
- return "string" == typeof e3 && (e3 = m.getElementById(e3) || m.querySelectorAll(e3)), (e3 = e3.nodeName ? [e3] : Array.isArray(e3) ? e3 : [].slice.call(e3)).forEach((function(e4, n3) {
895
- var i3 = a.default.extend(true, {}, t3.opts);
894
+ return "string" == typeof e3 && (e3 = m.getElementById(e3) || m.querySelectorAll(e3)), (e3 = e3.nodeName ? [e3] : Array.isArray(e3) ? e3 : [].slice.call(e3)).forEach(function(e4, n3) {
895
+ var i3 = r.default.extend(true, {}, t3.opts);
896
896
  if ((function(e5, t4, n4, i4) {
897
- function r3(t5, r4) {
898
- var a2 = "" === i4 ? t5 : i4 + "-" + t5;
899
- null !== (r4 = void 0 !== r4 ? r4 : e5.getAttribute(a2)) && ("string" == typeof r4 && (t5.startsWith("on") ? r4 = l.default[r4] : "false" === r4 ? r4 = false : "true" === r4 ? r4 = true : "mask" === t5 && (r4 = r4.replace(/\\\\/g, "\\"))), n4[t5] = r4);
897
+ function a3(t5, a4) {
898
+ var r2 = "" === i4 ? t5 : i4 + "-" + t5;
899
+ null !== (a4 = void 0 !== a4 ? a4 : e5.getAttribute(r2)) && ("string" == typeof a4 && (t5.startsWith("on") ? a4 = l.default[a4] : "false" === a4 ? a4 = false : "true" === a4 ? a4 = true : "mask" === t5 && (a4 = a4.replace(/\\\\/g, "\\"))), n4[t5] = a4);
900
900
  }
901
901
  if (true === t4.importDataAttributes) {
902
902
  var o2, s2, c2, u2, f2 = e5.getAttribute(i4);
@@ -906,27 +906,27 @@ var require_inputmask = __commonJS({
906
906
  break;
907
907
  }
908
908
  }
909
- for (o2 in r3("alias", c2), n4.alias && b(n4.alias, n4, t4), t4) {
909
+ for (o2 in a3("alias", c2), n4.alias && b(n4.alias, n4, t4), t4) {
910
910
  if (s2) {
911
911
  for (u2 in c2 = void 0, s2) if (u2.toLowerCase() === o2.toLowerCase()) {
912
912
  c2 = s2[u2];
913
913
  break;
914
914
  }
915
915
  }
916
- r3(o2, c2);
916
+ a3(o2, c2);
917
917
  }
918
918
  }
919
- a.default.extend(true, t4, n4), ("rtl" === e5.dir || t4.rightAlign) && (e5.style.textAlign = "right");
919
+ r.default.extend(true, t4, n4), ("rtl" === e5.dir || t4.rightAlign) && (e5.style.textAlign = "right");
920
920
  ("rtl" === e5.dir || t4.numericInput) && (e5.dir = "ltr", e5.removeAttribute("dir"), t4.isRTL = true);
921
921
  return Object.keys(n4).length;
922
- })(e4, i3, a.default.extend(true, {}, t3.userOptions), t3.dataAttribute)) {
923
- var r2 = (0, u.generateMaskSet)(i3, t3.noMasksCache);
924
- void 0 !== r2 && (void 0 !== e4.inputmask && (e4.inputmask.opts.autoUnmask = true, e4.inputmask.remove()), e4.inputmask = new y(void 0, void 0, true), e4.inputmask.opts = i3, e4.inputmask.noMasksCache = t3.noMasksCache, e4.inputmask.userOptions = a.default.extend(true, {}, t3.userOptions), e4.inputmask.el = e4, e4.inputmask.$el = (0, a.default)(e4), e4.inputmask.maskset = r2, a.default.data(e4, g, t3.userOptions), c.mask.call(e4.inputmask));
922
+ })(e4, i3, r.default.extend(true, {}, t3.userOptions), t3.dataAttribute)) {
923
+ var a2 = (0, u.generateMaskSet)(i3, t3.noMasksCache);
924
+ void 0 !== a2 && (void 0 !== e4.inputmask && (e4.inputmask.opts.autoUnmask = true, e4.inputmask.remove()), e4.inputmask = new y(void 0, void 0, true), e4.inputmask.opts = i3, e4.inputmask.noMasksCache = t3.noMasksCache, e4.inputmask.userOptions = r.default.extend(true, {}, t3.userOptions), e4.inputmask.el = e4, e4.inputmask.$el = (0, r.default)(e4), e4.inputmask.maskset = a2, r.default.data(e4, g, t3.userOptions), c.mask.call(e4.inputmask));
925
925
  }
926
- })), e3 && e3[0] && e3[0].inputmask || this;
926
+ }), e3 && e3[0] && e3[0].inputmask || this;
927
927
  },
928
928
  option: function(e3, t3) {
929
- return "string" == typeof e3 ? this.opts[e3] : "object" === h(e3) ? (a.default.extend(this.userOptions, e3), this.el && true !== t3 && this.mask(this.el), this) : void 0;
929
+ return "string" == typeof e3 ? this.opts[e3] : "object" === h(e3) ? (r.default.extend(this.userOptions, e3), this.el && true !== t3 && this.mask(this.el), this) : void 0;
930
930
  },
931
931
  unmaskedvalue: function(e3) {
932
932
  if (this.maskset = this.maskset || (0, u.generateMaskSet)(this.opts, this.noMasksCache), void 0 === this.el || void 0 !== e3) {
@@ -937,7 +937,7 @@ var require_inputmask = __commonJS({
937
937
  },
938
938
  remove: function() {
939
939
  if (this.el) {
940
- a.default.data(this.el, g, null);
940
+ r.default.data(this.el, g, null);
941
941
  var e3 = this.opts.autoUnmask ? (0, s.unmaskedvalue)(this.el) : this._valueGet(this.opts.autoUnmask);
942
942
  e3 !== f.getBufferTemplate.call(this).join("") ? this._valueSet(e3, this.opts.autoUnmask) : this._valueSet(""), o.EventRuler.off(this.el), Object.getOwnPropertyDescriptor && Object.getPrototypeOf ? Object.getOwnPropertyDescriptor(Object.getPrototypeOf(this.el), "value") && this.__valueGet && Object.defineProperty(this.el, "value", {
943
943
  get: this.__valueGet,
@@ -959,9 +959,9 @@ var require_inputmask = __commonJS({
959
959
  getmetadata: function() {
960
960
  if (this.maskset = this.maskset || (0, u.generateMaskSet)(this.opts, this.noMasksCache), Array.isArray(this.maskset.metadata)) {
961
961
  var e3 = d.getMaskTemplate.call(this, true, 0, false).join("");
962
- return this.maskset.metadata.forEach((function(t3) {
962
+ return this.maskset.metadata.forEach(function(t3) {
963
963
  return t3.mask !== e3 || (e3 = t3, false);
964
- })), e3;
964
+ }), e3;
965
965
  }
966
966
  return this.maskset.metadata;
967
967
  },
@@ -970,8 +970,8 @@ var require_inputmask = __commonJS({
970
970
  var t3 = ("function" == typeof this.opts.onBeforeMask && this.opts.onBeforeMask.call(this, e3, this.opts) || e3).split("");
971
971
  s.checkVal.call(this, void 0, true, false, t3);
972
972
  }
973
- var n3 = s.clearOptionalTail.call(this, []), i3 = p.isComplete.call(this, n3), r2 = e3 === (this.isRTL ? n3.reverse().join("") : n3.join(""));
974
- return i3 && (void 0 === e3 || r2);
973
+ var n3 = s.clearOptionalTail.call(this, []), i3 = p.isComplete.call(this, n3), a2 = e3 === (this.isRTL ? n3.reverse().join("") : n3.join(""));
974
+ return i3 && (void 0 === e3 || a2);
975
975
  },
976
976
  format: function(e3, t3) {
977
977
  this.maskset = this.maskset || (0, u.generateMaskSet)(this.opts, this.noMasksCache);
@@ -984,15 +984,15 @@ var require_inputmask = __commonJS({
984
984
  } : i3;
985
985
  },
986
986
  setValue: function(e3) {
987
- this.el && (0, a.default)(this.el).trigger("setvalue", [e3]);
987
+ this.el && (0, r.default)(this.el).trigger("setvalue", [e3]);
988
988
  },
989
989
  analyseMask: u.analyseMask
990
990
  }, y.extendDefaults = function(e3) {
991
- a.default.extend(true, y.prototype.defaults, e3);
991
+ r.default.extend(true, y.prototype.defaults, e3);
992
992
  }, y.extendDefinitions = function(e3) {
993
- a.default.extend(true, y.prototype.definitions, e3);
993
+ r.default.extend(true, y.prototype.definitions, e3);
994
994
  }, y.extendAliases = function(e3) {
995
- a.default.extend(true, y.prototype.aliases, e3);
995
+ r.default.extend(true, y.prototype.aliases, e3);
996
996
  }, y.format = function(e3, t3, n3) {
997
997
  return y(t3).format(e3, n3);
998
998
  }, y.unmask = function(e3, t3) {
@@ -1003,17 +1003,17 @@ var require_inputmask = __commonJS({
1003
1003
  "string" == typeof e3 && (e3 = m.getElementById(e3) || m.querySelectorAll(e3)), e3 = e3.nodeName ? [e3] : e3;
1004
1004
  for (var t3 = 0; t3 < e3.length; t3++) e3[t3].inputmask && e3[t3].inputmask.remove();
1005
1005
  }, y.setValue = function(e3, t3) {
1006
- "string" == typeof e3 && (e3 = m.getElementById(e3) || m.querySelectorAll(e3)), (e3 = e3.nodeName ? [e3] : e3).forEach((function(e4) {
1007
- e4.inputmask ? e4.inputmask.setValue(t3) : (0, a.default)(e4).trigger("setvalue", [t3]);
1008
- }));
1009
- }, y.dependencyLib = a.default, l.default.Inputmask = y;
1006
+ "string" == typeof e3 && (e3 = m.getElementById(e3) || m.querySelectorAll(e3)), (e3 = e3.nodeName ? [e3] : e3).forEach(function(e4) {
1007
+ e4.inputmask ? e4.inputmask.setValue(t3) : (0, r.default)(e4).trigger("setvalue", [t3]);
1008
+ });
1009
+ }, y.dependencyLib = r.default, l.default.Inputmask = y;
1010
1010
  t2.default = y;
1011
1011
  },
1012
1012
  4136: function(e2, t2, n2) {
1013
1013
  Object.defineProperty(t2, "__esModule", {
1014
1014
  value: true
1015
1015
  }), t2.EventRuler = void 0;
1016
- var i2, r = n2(1507), a = (i2 = n2(3978)) && i2.__esModule ? i2 : {
1016
+ var i2, a = n2(1507), r = (i2 = n2(3978)) && i2.__esModule ? i2 : {
1017
1017
  default: i2
1018
1018
  }, o = n2(6032), l = n2(7539);
1019
1019
  t2.EventRuler = {
@@ -1023,20 +1023,27 @@ var require_inputmask = __commonJS({
1023
1023
  var s2, c = this, u = c.inputmask, f = u ? u.opts : void 0;
1024
1024
  if (void 0 === u && "FORM" !== this.nodeName) {
1025
1025
  var p = i3.data(c, "_inputmask_opts");
1026
- i3(c).off(), p && new a.default(p).mask(c);
1026
+ i3(c).off(), p && new r.default(p).mask(c);
1027
1027
  } else {
1028
1028
  if (["submit", "reset", "setvalue"].includes(t4.type) || "FORM" === this.nodeName || !(c.disabled || c.readOnly && !("keydown" === t4.type && t4.ctrlKey && t4.key === o.keys.c || false === f.tabThrough && t4.key === o.keys.Tab))) {
1029
1029
  switch (t4.type) {
1030
1030
  case "input":
1031
1031
  if (true === u.skipInputEvent) return u.skipInputEvent = false, t4.preventDefault();
1032
+ u.lastInputEvent = {
1033
+ time: Date.now(),
1034
+ data: t4.data
1035
+ };
1036
+ break;
1037
+ case "keydown":
1038
+ if (u.lastInputEvent && Date.now() - u.lastInputEvent.time < 10 && u.lastInputEvent.data === t4.key) return false;
1032
1039
  break;
1033
1040
  case "click":
1034
1041
  case "focus":
1035
- return u.validationEvent ? (u.validationEvent = false, e3.blur(), (0, r.HandleNativePlaceholder)(e3, (u.isRTL ? l.getBufferTemplate.call(u).slice().reverse() : l.getBufferTemplate.call(u)).join("")), setTimeout((function() {
1042
+ return u.validationEvent ? (u.validationEvent = false, e3.blur(), (0, a.HandleNativePlaceholder)(e3, (u.isRTL ? l.getBufferTemplate.call(u).slice().reverse() : l.getBufferTemplate.call(u)).join("")), setTimeout(function() {
1036
1043
  e3.focus();
1037
- }), f.validationEventTimeOut), false) : (s2 = arguments, void setTimeout((function() {
1044
+ }, f.validationEventTimeOut), false) : (s2 = arguments, void setTimeout(function() {
1038
1045
  e3.inputmask && n3.apply(c, s2);
1039
- }), 0));
1046
+ }, 0));
1040
1047
  }
1041
1048
  var d = n3.apply(c, arguments);
1042
1049
  return false === d && (t4.preventDefault(), t4.stopPropagation()), d;
@@ -1052,7 +1059,7 @@ var require_inputmask = __commonJS({
1052
1059
  };
1053
1060
  },
1054
1061
  4203: function(e2, t2, n2) {
1055
- var i2, r = n2(340), a = (i2 = n2(3978)) && i2.__esModule ? i2 : {
1062
+ var i2, a = n2(340), r = (i2 = n2(3978)) && i2.__esModule ? i2 : {
1056
1063
  default: i2
1057
1064
  }, o = n2(6032), l = n2(7539), s = n2(5895);
1058
1065
  function c(e3, t3) {
@@ -1061,16 +1068,16 @@ var require_inputmask = __commonJS({
1061
1068
  })(e3) || (function(e4, t4) {
1062
1069
  var n3 = null == e4 ? null : "undefined" != typeof Symbol && e4[Symbol.iterator] || e4["@@iterator"];
1063
1070
  if (null != n3) {
1064
- var i3, r2, a2, o2, l2 = [], s2 = true, c2 = false;
1071
+ var i3, a2, r2, o2, l2 = [], s2 = true, c2 = false;
1065
1072
  try {
1066
- if (a2 = (n3 = n3.call(e4)).next, 0 === t4) ; else for (; !(s2 = (i3 = a2.call(n3)).done) && (l2.push(i3.value), l2.length !== t4); s2 = true) ;
1073
+ if (r2 = (n3 = n3.call(e4)).next, 0 === t4) ; else for (; !(s2 = (i3 = r2.call(n3)).done) && (l2.push(i3.value), l2.length !== t4); s2 = true) ;
1067
1074
  } catch (e5) {
1068
- c2 = true, r2 = e5;
1075
+ c2 = true, a2 = e5;
1069
1076
  } finally {
1070
1077
  try {
1071
1078
  if (!s2 && null != n3.return && (o2 = n3.return(), Object(o2) !== o2)) return;
1072
1079
  } finally {
1073
- if (c2) throw r2;
1080
+ if (c2) throw a2;
1074
1081
  }
1075
1082
  }
1076
1083
  return l2;
@@ -1118,16 +1125,16 @@ var require_inputmask = __commonJS({
1118
1125
  return "symbol" == p(t3) ? t3 : t3 + "";
1119
1126
  }
1120
1127
  n2(7153);
1121
- var v = a.default.dependencyLib, m = (function() {
1128
+ var v = r.default.dependencyLib, m = (function() {
1122
1129
  return (function(e3, t3, n3) {
1123
1130
  return t3 && d(e3.prototype, t3), Object.defineProperty(e3, "prototype", {
1124
1131
  writable: false
1125
1132
  }), e3;
1126
- })((function e3(t3, n3, i3, r2) {
1133
+ })(function e3(t3, n3, i3, a2) {
1127
1134
  !(function(e4, t4) {
1128
1135
  if (!(e4 instanceof t4)) throw new TypeError("Cannot call a class as a function");
1129
- })(this, e3), this.mask = t3, this.format = n3, this.opts = i3, this.inputmask = r2, this._date = new Date(1, 0, 1), this.initDateObject(t3, this.opts, this.inputmask);
1130
- }), [{
1136
+ })(this, e3), this.mask = t3, this.format = n3, this.opts = i3, this.inputmask = a2, this._date = new Date(1, 0, 1), this.initDateObject(t3, this.opts, this.inputmask);
1137
+ }, [{
1131
1138
  key: "date",
1132
1139
  get: function() {
1133
1140
  return void 0 === this._date && (this._date = new Date(1, 0, 1), this.initDateObject(void 0, this.opts, this.inputmask)), this._date;
@@ -1135,46 +1142,46 @@ var require_inputmask = __commonJS({
1135
1142
  }, {
1136
1143
  key: "initDateObject",
1137
1144
  value: function(e3, t3, n3) {
1138
- var i3, r2 = -1;
1139
- for (M(t3).lastIndex = 0; i3 = M(t3).exec(this.format); ) if (i3.index >= r2) {
1140
- var a2 = /\d+$/.exec(i3[0]), o2 = a2 ? i3[0][0] + "x" : i3[0], l2 = void 0;
1145
+ var i3, a2 = -1;
1146
+ for (M(t3).lastIndex = 0; i3 = M(t3).exec(this.format); ) if (i3.index >= a2) {
1147
+ var r2 = /\d+$/.exec(i3[0]), o2 = r2 ? i3[0][0] + "x" : i3[0], l2 = void 0;
1141
1148
  if (void 0 !== e3) {
1142
- if (a2) {
1149
+ if (r2) {
1143
1150
  var c2 = M(t3).lastIndex, u2 = D.call(n3, i3.index, t3, n3 && n3.maskset);
1144
1151
  M(t3).lastIndex = c2, l2 = e3.slice(0, e3.indexOf(u2.nextMatch[0]));
1145
1152
  } else {
1146
1153
  for (var f2 = i3[0][0], p2 = i3.index; n3 && (t3.placeholder["".concat(i3.index, "'").concat(s.getTest.call(n3, p2).match.placeholder)] || s.getTest.call(n3, p2).match.placeholder) === f2; ) p2++;
1147
- r2 = p2;
1154
+ a2 = p2;
1148
1155
  var d2 = p2 - i3.index;
1149
- l2 = e3.slice(0, d2 || O(o2) && O(o2)[4] || o2.length);
1156
+ l2 = e3.slice(0, d2 || w(o2) && w(o2)[4] || o2.length);
1150
1157
  }
1151
1158
  e3 = e3.slice(l2.length);
1152
1159
  }
1153
- Object.prototype.hasOwnProperty.call(k, o2) && this.setValue(this, l2, o2, O(o2)[2], O(o2)[1]);
1160
+ Object.prototype.hasOwnProperty.call(k, o2) && this.setValue(this, l2, o2, w(o2)[2], w(o2)[1]);
1154
1161
  }
1155
1162
  }
1156
1163
  }, {
1157
1164
  key: "setValue",
1158
- value: function(e3, t3, n3, i3, r2) {
1165
+ value: function(e3, t3, n3, i3, a2) {
1159
1166
  if (void 0 !== t3) switch (i3) {
1160
1167
  case "ampm":
1161
1168
  e3[i3] = t3, e3["raw" + i3] = t3.replace(/\s/g, "_");
1162
1169
  break;
1163
1170
  case "month":
1164
1171
  if ("MMM" === n3 || "MMMM" === n3) {
1165
- e3[i3] = j("MMM" === n3 ? b.monthNames.slice(0, 12).findIndex((function(e4) {
1172
+ e3[i3] = j("MMM" === n3 ? b.monthNames.slice(0, 12).findIndex(function(e4) {
1166
1173
  return t3.toLowerCase() === e4.toLowerCase();
1167
- })) + 1 : b.monthNames.slice(12, 24).findIndex((function(e4) {
1174
+ }) + 1 : b.monthNames.slice(12, 24).findIndex(function(e4) {
1168
1175
  return t3.toLowerCase() === e4.toLowerCase();
1169
- })) + 1, 2), e3[i3] = "00" === e3[i3] ? "" : e3[i3].toString(), e3["raw" + i3] = e3[i3];
1176
+ }) + 1, 2), e3[i3] = "00" === e3[i3] ? "" : e3[i3].toString(), e3["raw" + i3] = e3[i3];
1170
1177
  break;
1171
1178
  }
1172
1179
  default:
1173
1180
  e3[i3] = t3.replace(/[^0-9]/g, "0"), e3["raw" + i3] = t3.replace(/\s/g, "_");
1174
1181
  }
1175
- if (void 0 !== r2) {
1176
- var a2 = e3[i3];
1177
- ("day" === i3 && 29 === parseInt(a2) || "month" === i3 && 2 === parseInt(a2)) && (29 !== parseInt(e3.day) || 2 !== parseInt(e3.month) || "" !== e3.year && void 0 !== e3.year || e3._date.setFullYear(2012, 1, 29)), "day" === i3 && (g = true, 0 === parseInt(a2) && (a2 = 1)), "month" === i3 && (g = true), "year" === i3 && (g = true, a2.length < O(n3)[4] && (a2 = j(a2, O(n3)[4], true))), ("" !== a2 && !isNaN(a2) || "ampm" === i3) && r2.call(e3._date, a2);
1182
+ if (void 0 !== a2) {
1183
+ var r2 = e3[i3];
1184
+ ("day" === i3 && 29 === parseInt(r2) || "month" === i3 && 2 === parseInt(r2)) && (29 !== parseInt(e3.day) || 2 !== parseInt(e3.month) || "" !== e3.year && void 0 !== e3.year || e3._date.setFullYear(2012, 1, 29)), "day" === i3 && (g = true, 0 === parseInt(r2) && (r2 = 1)), "month" === i3 && (g = true), "year" === i3 && (g = true, r2.length < w(n3)[4] && (r2 = j(r2, w(n3)[4], true))), ("" !== r2 && !isNaN(r2) || "ampm" === i3) && a2.call(e3._date, r2);
1178
1185
  }
1179
1186
  }
1180
1187
  }, {
@@ -1188,7 +1195,7 @@ var require_inputmask = __commonJS({
1188
1195
  this._date = void 0, this.date;
1189
1196
  }
1190
1197
  }]);
1191
- })(), g = false, y = (/* @__PURE__ */ new Date()).getFullYear(), b = a.default.prototype.i18n, k = {
1198
+ })(), g = false, y = (/* @__PURE__ */ new Date()).getFullYear(), b = r.default.prototype.i18n, k = {
1192
1199
  d: ["[1-9]|[12][0-9]|3[01]", Date.prototype.setDate, "day", Date.prototype.getDate],
1193
1200
  dd: ["0[1-9]|[12][0-9]|3[01]", Date.prototype.setDate, "day", function() {
1194
1201
  return j(Date.prototype.getDate.call(this), 2);
@@ -1208,17 +1215,17 @@ var require_inputmask = __commonJS({
1208
1215
  return j(Date.prototype.getMonth.call(this) + 1, 2);
1209
1216
  }],
1210
1217
  MMM: [b.monthNames.slice(0, 12).join("|"), function(e3) {
1211
- var t3 = b.monthNames.slice(0, 12).findIndex((function(t4) {
1218
+ var t3 = b.monthNames.slice(0, 12).findIndex(function(t4) {
1212
1219
  return e3.toLowerCase() === t4.toLowerCase();
1213
- }));
1220
+ });
1214
1221
  return -1 !== t3 && Date.prototype.setMonth.call(this, t3);
1215
1222
  }, "month", function() {
1216
1223
  return b.monthNames.slice(0, 12)[Date.prototype.getMonth.call(this)];
1217
1224
  }],
1218
1225
  MMMM: [b.monthNames.slice(12, 24).join("|"), function(e3) {
1219
- var t3 = b.monthNames.slice(12, 24).findIndex((function(t4) {
1226
+ var t3 = b.monthNames.slice(12, 24).findIndex(function(t4) {
1220
1227
  return e3.toLowerCase() === t4.toLowerCase();
1221
- }));
1228
+ });
1222
1229
  return -1 !== t3 && Date.prototype.setMonth.call(this, t3);
1223
1230
  }, "month", function() {
1224
1231
  return b.monthNames.slice(12, 24)[Date.prototype.getMonth.call(this)];
@@ -1266,15 +1273,15 @@ var require_inputmask = __commonJS({
1266
1273
  L: ["[0-9]{2}", Date.prototype.setMilliseconds, "milliseconds", function() {
1267
1274
  return j(Date.prototype.getMilliseconds.call(this), 2);
1268
1275
  }, 2],
1269
- t: ["[ap]", P, "ampm", w, 1],
1270
- tt: ["[ap]m", P, "ampm", w, 2],
1271
- T: ["[AP]", P, "ampm", w, 1],
1272
- TT: ["[AP]M", P, "ampm", w, 2],
1276
+ t: ["[ap]", P, "ampm", O, 1],
1277
+ tt: ["[ap]m", P, "ampm", O, 2],
1278
+ T: ["[AP]", P, "ampm", O, 1],
1279
+ TT: ["[AP]M", P, "ampm", O, 2],
1273
1280
  Z: [".*", void 0, "Z", function() {
1274
1281
  var e3 = this.toString().match(/\((.+)\)/)[1];
1275
- e3.includes(" ") && (e3 = (e3 = e3.replace("-", " ").toUpperCase()).split(" ").map((function(e4) {
1282
+ e3.includes(" ") && (e3 = (e3 = e3.replace("-", " ").toUpperCase()).split(" ").map(function(e4) {
1276
1283
  return c(e4, 1)[0];
1277
- })).join(""));
1284
+ }).join(""));
1278
1285
  return e3;
1279
1286
  }],
1280
1287
  o: [""],
@@ -1297,11 +1304,11 @@ var require_inputmask = __commonJS({
1297
1304
  var t3 = this.getHours();
1298
1305
  e3.toLowerCase().includes("p") ? this.setHours(t3 + 12) : e3.toLowerCase().includes("a") && t3 >= 12 && this.setHours(t3 - 12);
1299
1306
  }
1300
- function w() {
1307
+ function O() {
1301
1308
  var e3 = this.getHours();
1302
1309
  return (e3 = e3 || 12) >= 12 ? "PM" : "AM";
1303
1310
  }
1304
- function O(e3) {
1311
+ function w(e3) {
1305
1312
  var t3 = x[e3] || e3, n3 = /\d+$/.exec(t3);
1306
1313
  if (n3 && void 0 !== n3[0]) {
1307
1314
  var i3 = k[t3[0] + "x"].slice("");
@@ -1311,15 +1318,15 @@ var require_inputmask = __commonJS({
1311
1318
  }
1312
1319
  function M(e3) {
1313
1320
  if (!e3.tokenizer) {
1314
- var t3, n3 = [], i3 = [], r2 = (function(e4, t4) {
1321
+ var t3, n3 = [], i3 = [], a2 = (function(e4, t4) {
1315
1322
  var n4 = "undefined" != typeof Symbol && e4[Symbol.iterator] || e4["@@iterator"];
1316
1323
  if (!n4) {
1317
1324
  if (Array.isArray(e4) || (n4 = u(e4)) || t4) {
1318
1325
  n4 && (e4 = n4);
1319
- var i4 = 0, r3 = function() {
1326
+ var i4 = 0, a3 = function() {
1320
1327
  };
1321
1328
  return {
1322
- s: r3,
1329
+ s: a3,
1323
1330
  n: function() {
1324
1331
  return i4 >= e4.length ? {
1325
1332
  done: true
@@ -1331,12 +1338,12 @@ var require_inputmask = __commonJS({
1331
1338
  e: function(e5) {
1332
1339
  throw e5;
1333
1340
  },
1334
- f: r3
1341
+ f: a3
1335
1342
  };
1336
1343
  }
1337
1344
  throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1338
1345
  }
1339
- var a3, o3 = true, l2 = false;
1346
+ var r3, o3 = true, l2 = false;
1340
1347
  return {
1341
1348
  s: function() {
1342
1349
  n4 = n4.call(e4);
@@ -1346,29 +1353,29 @@ var require_inputmask = __commonJS({
1346
1353
  return o3 = e5.done, e5;
1347
1354
  },
1348
1355
  e: function(e5) {
1349
- l2 = true, a3 = e5;
1356
+ l2 = true, r3 = e5;
1350
1357
  },
1351
1358
  f: function() {
1352
1359
  try {
1353
1360
  o3 || null == n4.return || n4.return();
1354
1361
  } finally {
1355
- if (l2) throw a3;
1362
+ if (l2) throw r3;
1356
1363
  }
1357
1364
  }
1358
1365
  };
1359
1366
  })(Object.keys(k).concat(Object.keys(x)));
1360
1367
  try {
1361
- for (r2.s(); !(t3 = r2.n()).done; ) {
1362
- var a2 = t3.value;
1363
- if (/\.*x$/.test(a2)) {
1364
- var o2 = a2[0] + "\\d+";
1368
+ for (a2.s(); !(t3 = a2.n()).done; ) {
1369
+ var r2 = t3.value;
1370
+ if (/\.*x$/.test(r2)) {
1371
+ var o2 = r2[0] + "\\d+";
1365
1372
  -1 === i3.indexOf(o2) && i3.push(o2);
1366
- } else -1 === n3.indexOf(a2[0]) && n3.push(a2[0]);
1373
+ } else -1 === n3.indexOf(r2[0]) && n3.push(r2[0]);
1367
1374
  }
1368
1375
  } catch (e4) {
1369
- r2.e(e4);
1376
+ a2.e(e4);
1370
1377
  } finally {
1371
- r2.f();
1378
+ a2.f();
1372
1379
  }
1373
1380
  e3.tokenizer = "(" + (i3.length > 0 ? i3.join("|") + "|" : "") + n3.join("+|") + "+)+?|.", e3.tokenizer = new RegExp(e3.tokenizer, "g");
1374
1381
  }
@@ -1379,7 +1386,7 @@ var require_inputmask = __commonJS({
1379
1386
  if (void 0 === e3.rawday || !isFinite(e3.rawday) && new Date(e3.date.getFullYear(), isFinite(e3.rawmonth) ? e3.month : e3.date.getMonth() + 1, 0).getDate() >= e3.day || "29" == e3.day && (!isFinite(e3.rawyear) || void 0 === e3.rawyear || "" === e3.rawyear) || new Date(e3.date.getFullYear(), isFinite(e3.rawmonth) ? e3.month : e3.date.getMonth() + 1, 0).getDate() >= e3.day) return t3;
1380
1387
  if ("29" == e3.day) {
1381
1388
  var i3 = D.call(this, t3.pos, n3, this.maskset);
1382
- if (i3.targetMatch && ["yyyy", "YYYY"].includes(i3.targetMatch[0]) && t3.pos - i3.targetMatchIndex == 2) return t3.remove = t3.pos + 1, t3;
1389
+ if (i3.targetMatch && ["yyyy", "YYYY"].includes(i3.targetMatch[0]) && t3.pos - i3.targetMatchIndex === 2) return t3.remove = t3.pos + 1, t3;
1383
1390
  } else if (2 == e3.date.getMonth() && "30" == e3.day && void 0 !== t3.c) return e3.day = "03", e3.date.setDate(3), e3.date.setMonth(1), t3.insert = [{
1384
1391
  pos: t3.pos,
1385
1392
  c: "0"
@@ -1390,10 +1397,10 @@ var require_inputmask = __commonJS({
1390
1397
  return false;
1391
1398
  }
1392
1399
  function E(e3, t3, n3) {
1393
- var i3, a2, o2 = "", l2 = 0, s2 = false, c2 = {};
1400
+ var i3, r2, o2 = "", l2 = 0, s2 = false, c2 = {};
1394
1401
  for (M(n3).lastIndex = 0; i3 = M(n3).exec(e3); ) if (i3[0] === n3.escapeChar) s2 = true;
1395
1402
  else {
1396
- if (void 0 === t3) if (!s2 && (a2 = O(i3[0]))) o2 += "(" + a2[0] + ")", n3.placeholder && "" !== n3.placeholder ? (c2[l2] = n3.placeholder[i3.index % n3.placeholder.length], c2["".concat(i3.index, "'").concat(n3.placeholder[i3.index % n3.placeholder.length])] = i3[0].charAt(0)) : c2[l2] = i3[0].charAt(0);
1403
+ if (void 0 === t3) if (!s2 && (r2 = w(i3[0]))) o2 += "(" + r2[0] + ")", n3.placeholder && "" !== n3.placeholder ? (c2[l2] = n3.placeholder[i3.index % n3.placeholder.length], c2["".concat(i3.index, "'").concat(n3.placeholder[i3.index % n3.placeholder.length])] = i3[0].charAt(0)) : c2[l2] = i3[0].charAt(0);
1397
1404
  else switch (i3[0]) {
1398
1405
  case "[":
1399
1406
  o2 += "(";
@@ -1402,10 +1409,10 @@ var require_inputmask = __commonJS({
1402
1409
  o2 += ")?";
1403
1410
  break;
1404
1411
  default:
1405
- o2 += (0, r.escapeRegex)(i3[0]), c2[l2] = i3[0].charAt(0);
1412
+ o2 += (0, a.escapeRegex)(i3[0]), c2[l2] = i3[0].charAt(0);
1406
1413
  }
1407
- else if (!s2 && (a2 = O(i3[0]))) if (a2[3]) o2 += a2[3].call(t3.date);
1408
- else a2[2] && void 0 !== t3["raw" + a2[2]] ? o2 += t3["raw" + a2[2]] : o2 += i3[0];
1414
+ else if (!s2 && (r2 = w(i3[0]))) if (r2[3]) o2 += r2[3].call(t3.date);
1415
+ else r2[2] && void 0 !== t3["raw" + r2[2]] ? o2 += t3["raw" + r2[2]] : o2 += i3[0];
1409
1416
  else o2 += i3[0];
1410
1417
  l2++, s2 = false;
1411
1418
  }
@@ -1424,36 +1431,36 @@ var require_inputmask = __commonJS({
1424
1431
  }, t3);
1425
1432
  }
1426
1433
  function D(e3, t3, n3) {
1427
- var i3, r2, a2 = this, o2 = 0, l2 = 0;
1428
- for (M(t3).lastIndex = 0; r2 = M(t3).exec(t3.inputFormat); ) {
1429
- var c2 = /\d+$/.exec(r2[0]);
1434
+ var i3, a2, r2 = this, o2 = 0, l2 = 0;
1435
+ for (M(t3).lastIndex = 0; a2 = M(t3).exec(t3.inputFormat); ) {
1436
+ var c2 = /\d+$/.exec(a2[0]);
1430
1437
  if (c2) l2 = parseInt(c2[0]);
1431
1438
  else {
1432
- for (var u2 = r2[0][0], f2 = o2; a2 && (t3.placeholder["".concat(r2.index, "'").concat(s.getTest.call(a2, f2).match.placeholder)] || s.getTest.call(a2, f2).match.placeholder) === u2; ) f2++;
1433
- 0 === (l2 = f2 - o2) && (l2 = r2[0].length);
1439
+ for (var u2 = a2[0][0], f2 = o2; r2 && (t3.placeholder["".concat(a2.index, "'").concat(s.getTest.call(r2, f2).match.placeholder)] || s.getTest.call(r2, f2).match.placeholder) === u2; ) f2++;
1440
+ 0 === (l2 = f2 - o2) && (l2 = a2[0].length);
1434
1441
  }
1435
1442
  if ((o2 += l2) >= e3 + 1) {
1436
1443
  var p2 = "";
1437
1444
  if (n3 && n3.tests[e3]) {
1438
- var d2 = Object.keys(t3.placeholder).filter((function(t4) {
1439
- for (var i4 = r2.index - 1; i4 < o2; i4++) if (t4 === "".concat(i4, "'").concat(n3.tests[e3][0].match.placeholder)) return true;
1445
+ var d2 = Object.keys(t3.placeholder).filter(function(t4) {
1446
+ for (var i4 = a2.index - 1; i4 < o2; i4++) if (t4 === "".concat(i4, "'").concat(n3.tests[e3][0].match.placeholder)) return true;
1440
1447
  return false;
1441
- }));
1448
+ });
1442
1449
  p2 = d2.length > 0 ? t3.placeholder[d2[0]] : n3.tests[e3][0].match.placeholder;
1443
1450
  }
1444
- if (-1 !== r2[0].indexOf(p2)) {
1445
- i3 = r2, r2 = M(t3).exec(t3.inputFormat);
1451
+ if (-1 !== a2[0].indexOf(p2)) {
1452
+ i3 = a2, a2 = M(t3).exec(t3.inputFormat);
1446
1453
  break;
1447
1454
  }
1448
1455
  }
1449
1456
  }
1450
1457
  return {
1451
1458
  targetMatchIndex: o2 - l2,
1452
- nextMatch: r2,
1459
+ nextMatch: a2,
1453
1460
  targetMatch: i3
1454
1461
  };
1455
1462
  }
1456
- a.default.extendAliases({
1463
+ r.default.extendAliases({
1457
1464
  datetime: {
1458
1465
  mask: function(e3) {
1459
1466
  if (e3.numericInput = false, k.S = b.ordinalSuffix.join("|"), e3.inputFormat = S[e3.inputFormat] || e3.inputFormat, e3.repeat && (e3.repeat = parseInt(e3.repeat.toString()), e3.repeat > 0)) {
@@ -1469,12 +1476,12 @@ var require_inputmask = __commonJS({
1469
1476
  min: null,
1470
1477
  max: null,
1471
1478
  skipOptionalPartCharacter: "",
1472
- preValidation: function(e3, t3, n3, i3, r2, a2, o2, l2) {
1479
+ preValidation: function(e3, t3, n3, i3, a2, r2, o2, l2) {
1473
1480
  if (l2) return true;
1474
1481
  if (isNaN(n3) && e3[t3] !== n3) {
1475
- var s2 = D.call(this, t3, r2, a2);
1482
+ var s2 = D.call(this, t3, a2, r2);
1476
1483
  if (s2.nextMatch && s2.nextMatch[0] === n3 && s2.targetMatch[0].length > 1) {
1477
- var c2 = O(s2.targetMatch[0])[0];
1484
+ var c2 = w(s2.targetMatch[0])[0];
1478
1485
  if (new RegExp(c2).test("0" + e3[t3 - 1])) return e3[t3] = e3[t3 - 1], e3[t3 - 1] = "0", {
1479
1486
  fuzzy: true,
1480
1487
  buffer: e3,
@@ -1488,26 +1495,26 @@ var require_inputmask = __commonJS({
1488
1495
  }
1489
1496
  return true;
1490
1497
  },
1491
- postValidation: function(e3, t3, n3, i3, r2, a2, o2, l2) {
1498
+ postValidation: function(e3, t3, n3, i3, a2, r2, o2, l2) {
1492
1499
  var c2, u2, f2 = this;
1493
1500
  if (o2) return true;
1494
- if (false === i3 && ((c2 = D.call(f2, t3 + 1, r2, a2)).targetMatch && c2.targetMatchIndex === t3 && c2.targetMatch[0].length > 1 && void 0 !== O(c2.targetMatch[0]) ? u2 = O(c2.targetMatch[0])[0] : (c2 = D.call(f2, t3 + 2, r2, a2)).targetMatch && c2.targetMatchIndex === t3 + 1 && c2.targetMatch[0].length > 1 && void 0 !== O(c2.targetMatch[0]) && (u2 = O(c2.targetMatch[0])), void 0 !== u2 && (t3 = c2.targetMatchIndex, void 0 !== a2.validPositions[t3 + 1] && new RegExp(u2).test(n3 + "0") ? (e3[t3] = n3, e3[t3 + 1] = "0", i3 = {
1501
+ if (false === i3 && ((c2 = D.call(f2, t3 + 1, a2, r2)).targetMatch && c2.targetMatchIndex === t3 && c2.targetMatch[0].length > 1 && void 0 !== w(c2.targetMatch[0]) ? u2 = w(c2.targetMatch[0])[0] : (c2 = D.call(f2, t3 + 2, a2, r2)).targetMatch && c2.targetMatchIndex === t3 + 1 && c2.targetMatch[0].length > 1 && void 0 !== w(c2.targetMatch[0]) && (u2 = w(c2.targetMatch[0])), void 0 !== u2 && (t3 = c2.targetMatchIndex, void 0 !== r2.validPositions[t3 + 1] && new RegExp(u2).test(n3 + "0") ? (e3[t3] = n3, e3[t3 + 1] = "0", i3 = {
1495
1502
  pos: t3 + 2,
1496
1503
  caret: t3 + 1
1497
1504
  }) : new RegExp(u2).test("0" + n3) && (e3[t3] = "0", e3[t3 + 1] = n3, i3 = {
1498
1505
  pos: t3 + 2
1499
1506
  })), false === i3)) return i3;
1500
- if (i3.fuzzy && (e3 = i3.buffer, t3 = i3.pos), (c2 = D.call(f2, t3, r2, a2)).targetMatch && c2.targetMatch[0] && void 0 !== O(c2.targetMatch[0])) {
1501
- var p2 = O(c2.targetMatch[0]);
1507
+ if (i3.fuzzy && (e3 = i3.buffer, t3 = i3.pos), (c2 = D.call(f2, t3, a2, r2)).targetMatch && c2.targetMatch[0] && void 0 !== w(c2.targetMatch[0])) {
1508
+ var p2 = w(c2.targetMatch[0]);
1502
1509
  u2 = p2[0];
1503
1510
  var d2 = e3.slice(c2.targetMatchIndex, c2.targetMatchIndex + c2.targetMatch[0].length);
1504
- if (false === new RegExp(u2).test(d2.join("")) && 2 === c2.targetMatch[0].length && a2.validPositions[c2.targetMatchIndex] && a2.validPositions[c2.targetMatchIndex + 1] && (a2.validPositions[c2.targetMatchIndex + 1].input = "0"), "year" == p2[2]) for (var h2 = s.getMaskTemplate.call(f2, false, 1, void 0, true), v2 = t3 + 1; v2 < e3.length; v2++) e3[v2] = h2[v2], a2.validPositions.splice(t3 + 1, 1);
1511
+ if (false === new RegExp(u2).test(d2.join("")) && 2 === c2.targetMatch[0].length && r2.validPositions[c2.targetMatchIndex] && r2.validPositions[c2.targetMatchIndex + 1] && (r2.validPositions[c2.targetMatchIndex + 1].input = "0"), "year" == p2[2]) for (var h2 = s.getMaskTemplate.call(f2, false, 1, void 0, true), v2 = t3 + 1; v2 < e3.length; v2++) e3[v2] = h2[v2], r2.validPositions.splice(t3 + 1, 1);
1505
1512
  }
1506
- var m2 = i3, g2 = T.call(f2, e3.join(""), r2.inputFormat, r2);
1507
- return m2 && !isNaN(g2.date.getTime()) && (r2.prefillYear && (m2 = (function(e4, t4, n4) {
1513
+ var m2 = i3, g2 = T.call(f2, e3.join(""), a2.inputFormat, a2);
1514
+ return m2 && !isNaN(g2.date.getTime()) && (a2.prefillYear && (m2 = (function(e4, t4, n4) {
1508
1515
  if (e4.year !== e4.rawyear) {
1509
- var i4 = y.toString(), r3 = e4.rawyear.replace(/[^0-9]/g, ""), a3 = i4.slice(0, r3.length), o3 = i4.slice(r3.length);
1510
- if (2 === r3.length && r3 === a3) {
1516
+ var i4 = y.toString(), a3 = e4.rawyear.replace(/[^0-9]/g, ""), r3 = i4.slice(0, a3.length), o3 = i4.slice(a3.length);
1517
+ if (2 === a3.length && a3 === r3) {
1511
1518
  var l3 = new Date(y, e4.month - 1, e4.day);
1512
1519
  e4.day == l3.getDate() && (!n4.max || n4.max.date.getTime() >= l3.getTime()) && (e4.date.setFullYear(y), e4.year = i4, t4.insert = [{
1513
1520
  pos: t4.pos + 1,
@@ -1519,22 +1526,22 @@ var require_inputmask = __commonJS({
1519
1526
  }
1520
1527
  }
1521
1528
  return t4;
1522
- })(g2, m2, r2)), m2 = (function(e4, t4, n4, i4) {
1529
+ })(g2, m2, a2)), m2 = (function(e4, t4, n4, i4) {
1523
1530
  if (!t4) return t4;
1524
1531
  if (t4 && n4.min && !isNaN(n4.min.date.getTime())) {
1525
- var r3;
1526
- for (e4.reset(), M(n4).lastIndex = 0; r3 = M(n4).exec(n4.inputFormat); ) {
1527
- var a3;
1528
- if ((a3 = O(r3[0])) && a3[3]) {
1529
- for (var o3 = a3[1], l3 = e4[a3[2]], s2 = n4.min[a3[2]], c3 = n4.max ? n4.max[a3[2]] : s2 + 1, u3 = [], f3 = false, p3 = 0; p3 < s2.length; p3++) void 0 !== i4.validPositions[p3 + r3.index] || f3 ? (u3[p3] = l3[p3], f3 = f3 || l3[p3] > s2[p3]) : (p3 + r3.index == 0 && l3[p3] < s2[p3] ? (u3[p3] = l3[p3], f3 = true) : u3[p3] = s2[p3], "year" === a3[2] && l3.length - 1 == p3 && s2 != c3 && (u3 = (parseInt(u3.join("")) + 1).toString().split("")), "ampm" === a3[2] && s2 != c3 && n4.min.date.getTime() > e4.date.getTime() && (u3[p3] = c3[p3]));
1532
+ var a3;
1533
+ for (e4.reset(), M(n4).lastIndex = 0; a3 = M(n4).exec(n4.inputFormat); ) {
1534
+ var r3;
1535
+ if ((r3 = w(a3[0])) && r3[3]) {
1536
+ for (var o3 = r3[1], l3 = e4[r3[2]], s2 = n4.min[r3[2]], c3 = n4.max ? n4.max[r3[2]] : s2 + 1, u3 = [], f3 = false, p3 = 0; p3 < s2.length; p3++) void 0 !== i4.validPositions[p3 + a3.index] || f3 ? (u3[p3] = l3[p3], f3 = f3 || l3[p3] > s2[p3]) : (p3 + a3.index == 0 && l3[p3] < s2[p3] ? (u3[p3] = l3[p3], f3 = true) : u3[p3] = s2[p3], "year" === r3[2] && l3.length - 1 == p3 && s2 != c3 && (u3 = (parseInt(u3.join("")) + 1).toString().split("")), "ampm" === r3[2] && s2 != c3 && n4.min.date.getTime() > e4.date.getTime() && (u3[p3] = c3[p3]));
1530
1537
  o3.call(e4._date, u3.join(""));
1531
1538
  }
1532
1539
  }
1533
1540
  t4 = n4.min.date.getTime() <= e4.date.getTime(), e4.reInit();
1534
1541
  }
1535
1542
  return t4 && n4.max && (isNaN(n4.max.date.getTime()) || (t4 = n4.max.date.getTime() >= e4.date.getTime())), t4;
1536
- })(g2, m2 = _.call(f2, g2, m2, r2), r2, a2)), void 0 !== t3 && m2 && i3.pos !== t3 ? {
1537
- buffer: E(r2.inputFormat, g2, r2).split(""),
1543
+ })(g2, m2 = _.call(f2, g2, m2, a2), a2, r2)), void 0 !== t3 && m2 && i3.pos !== t3 ? {
1544
+ buffer: E(a2.inputFormat, g2, a2).split(""),
1538
1545
  refreshFromBuffer: {
1539
1546
  start: t3,
1540
1547
  end: i3.pos
@@ -1551,8 +1558,8 @@ var require_inputmask = __commonJS({
1551
1558
  casing: function(e3, t3, n3, i3) {
1552
1559
  if (0 == t3.nativeDef.indexOf("[ap]")) return e3.toLowerCase();
1553
1560
  if (0 == t3.nativeDef.indexOf("[AP]")) return e3.toUpperCase();
1554
- var r2 = s.getTest.call(this, [n3 - 1]);
1555
- return 0 == r2.match.def.indexOf("[AP]") || 0 === n3 || r2 && r2.input === String.fromCharCode(o.keyCode.Space) || r2 && r2.match.def === String.fromCharCode(o.keyCode.Space) || t3.static && t3.def === t3.def.toUpperCase() ? e3.toUpperCase() : e3.toLowerCase();
1561
+ var a2 = s.getTest.call(this, [n3 - 1]);
1562
+ return 0 == a2.match.def.indexOf("[AP]") || 0 === n3 || a2 && a2.input === String.fromCharCode(o.keyCode.Space) || a2 && a2.match.def === String.fromCharCode(o.keyCode.Space) || t3.static && t3.def === t3.def.toUpperCase() ? e3.toUpperCase() : e3.toLowerCase();
1556
1563
  },
1557
1564
  onBeforeMask: function(e3, t3) {
1558
1565
  return "[object Date]" === Object.prototype.toString.call(e3) && (e3 = A(e3, t3)), e3;
@@ -1571,83 +1578,83 @@ var require_inputmask = __commonJS({
1571
1578
  value: true
1572
1579
  }), t2.mask = function() {
1573
1580
  var e3 = this, t3 = this.opts, n3 = this.el, c = this.dependencyLib;
1574
- a.EventRuler.off(n3);
1581
+ r.EventRuler.off(n3);
1575
1582
  var u = (function(t4, n4) {
1576
- var i3 = t4.getAttribute("type"), r2 = "input" === t4.tagName.toLowerCase() && n4.supportsInputType.includes(i3) || t4.isContentEditable || "textarea" === t4.tagName.toLowerCase();
1577
- if (!r2) if ("input" === t4.tagName.toLowerCase()) {
1583
+ var i3 = t4.getAttribute("type"), a2 = "input" === t4.tagName.toLowerCase() && n4.supportsInputType.includes(i3) || t4.isContentEditable || "textarea" === t4.tagName.toLowerCase();
1584
+ if (!a2) if ("input" === t4.tagName.toLowerCase()) {
1578
1585
  var s2 = document.createElement("input");
1579
- s2.setAttribute("type", i3), r2 = "text" === s2.type, s2 = null;
1580
- } else r2 = "partial";
1581
- return false !== r2 ? (function(t5) {
1582
- var i4, r3;
1586
+ s2.setAttribute("type", i3), a2 = "text" === s2.type, s2 = null;
1587
+ } else a2 = "partial";
1588
+ return false !== a2 ? (function(t5) {
1589
+ var i4, a3;
1583
1590
  function s3() {
1584
1591
  return this.inputmask ? this.inputmask.opts.autoUnmask ? this.inputmask.unmaskedvalue() : -1 !== l.getLastValidPosition.call(e3) || true !== n4.nullable ? this.getRootNode().activeElement === this && n4.clearMaskOnLostFocus ? (e3.isRTL ? o.clearOptionalTail.call(e3, l.getBuffer.call(e3).slice()).reverse() : o.clearOptionalTail.call(e3, l.getBuffer.call(e3).slice())).join("") : i4.call(this) : "" : i4.call(this);
1585
1592
  }
1586
1593
  function u2(e4) {
1587
- r3.call(this, e4), this.inputmask && (0, o.applyInputValue)(this, e4);
1594
+ a3.call(this, e4), this.inputmask && (0, o.applyInputValue)(this, e4);
1588
1595
  }
1589
1596
  if (!t5.inputmask.__valueGet) {
1590
1597
  if (true !== n4.noValuePatching) {
1591
1598
  if (Object.getOwnPropertyDescriptor) {
1592
1599
  var f2 = Object.getPrototypeOf ? Object.getOwnPropertyDescriptor(Object.getPrototypeOf(t5), "value") : void 0;
1593
- f2 && f2.get && f2.set ? (i4 = f2.get, r3 = f2.set, Object.defineProperty(t5, "value", {
1600
+ f2 && f2.get && f2.set ? (i4 = f2.get, a3 = f2.set, Object.defineProperty(t5, "value", {
1594
1601
  get: s3,
1595
1602
  set: u2,
1596
1603
  configurable: true
1597
1604
  })) : "input" !== t5.tagName.toLowerCase() && (i4 = function() {
1598
1605
  return this.textContent;
1599
- }, r3 = function(e4) {
1606
+ }, a3 = function(e4) {
1600
1607
  this.textContent = e4;
1601
1608
  }, Object.defineProperty(t5, "value", {
1602
1609
  get: s3,
1603
1610
  set: u2,
1604
1611
  configurable: true
1605
1612
  }));
1606
- } else document.__lookupGetter__ && t5.__lookupGetter__("value") && (i4 = t5.__lookupGetter__("value"), r3 = t5.__lookupSetter__("value"), t5.__defineGetter__("value", s3), t5.__defineSetter__("value", u2));
1607
- t5.inputmask.__valueGet = i4, t5.inputmask.__valueSet = r3;
1613
+ } else document.__lookupGetter__ && t5.__lookupGetter__("value") && (i4 = t5.__lookupGetter__("value"), a3 = t5.__lookupSetter__("value"), t5.__defineGetter__("value", s3), t5.__defineSetter__("value", u2));
1614
+ t5.inputmask.__valueGet = i4, t5.inputmask.__valueSet = a3;
1608
1615
  }
1609
1616
  t5.inputmask._valueGet = function(t6) {
1610
1617
  return e3.isRTL && true !== t6 ? i4.call(this.el).split("").reverse().join("") : i4.call(this.el);
1611
1618
  }, t5.inputmask._valueSet = function(t6, n5) {
1612
- r3.call(this.el, null == t6 ? "" : true !== n5 && e3.isRTL ? t6.split("").reverse().join("") : t6);
1619
+ a3.call(this.el, null == t6 ? "" : true !== n5 && e3.isRTL ? t6.split("").reverse().join("") : t6);
1613
1620
  }, void 0 === i4 && (i4 = function() {
1614
1621
  return this.value;
1615
- }, r3 = function(e4) {
1622
+ }, a3 = function(e4) {
1616
1623
  this.value = e4;
1617
1624
  }, (function(t6) {
1618
1625
  if (c.valHooks && (void 0 === c.valHooks[t6] || true !== c.valHooks[t6].inputmaskpatch)) {
1619
1626
  var i5 = c.valHooks[t6] && c.valHooks[t6].get ? c.valHooks[t6].get : function(e4) {
1620
1627
  return e4.value;
1621
- }, r4 = c.valHooks[t6] && c.valHooks[t6].set ? c.valHooks[t6].set : function(e4, t7) {
1628
+ }, a4 = c.valHooks[t6] && c.valHooks[t6].set ? c.valHooks[t6].set : function(e4, t7) {
1622
1629
  return e4.value = t7, e4;
1623
1630
  };
1624
1631
  c.valHooks[t6] = {
1625
1632
  get: function(t7) {
1626
1633
  if (t7.inputmask) {
1627
1634
  if (t7.inputmask.opts.autoUnmask) return t7.inputmask.unmaskedvalue();
1628
- var r5 = i5(t7);
1629
- return -1 !== l.getLastValidPosition.call(e3, void 0, void 0, t7.inputmask.maskset.validPositions) || true !== n4.nullable ? r5 : "";
1635
+ var a5 = i5(t7);
1636
+ return -1 !== l.getLastValidPosition.call(e3, void 0, void 0, t7.inputmask.maskset.validPositions) || true !== n4.nullable ? a5 : "";
1630
1637
  }
1631
1638
  return i5(t7);
1632
1639
  },
1633
1640
  set: function(e4, t7) {
1634
- var n5 = r4(e4, t7);
1641
+ var n5 = a4(e4, t7);
1635
1642
  return e4.inputmask && (0, o.applyInputValue)(e4, t7), n5;
1636
1643
  },
1637
1644
  inputmaskpatch: true
1638
1645
  };
1639
1646
  }
1640
1647
  })(t5.type), (function(e4) {
1641
- a.EventRuler.on(e4, "mouseenter", (function() {
1648
+ r.EventRuler.on(e4, "mouseenter", function() {
1642
1649
  var e5 = this, t6 = e5.inputmask._valueGet(true);
1643
1650
  t6 != (e5.inputmask.isRTL ? l.getBuffer.call(e5.inputmask).slice().reverse() : l.getBuffer.call(e5.inputmask)).join("") && (0, o.applyInputValue)(e5, t6);
1644
- }));
1651
+ });
1645
1652
  })(t5));
1646
1653
  }
1647
- })(t4) : t4.inputmask = void 0, r2;
1654
+ })(t4) : t4.inputmask = void 0, a2;
1648
1655
  })(n3, t3);
1649
1656
  if (false !== u) {
1650
- e3.originalPlaceholder = n3.placeholder, e3.maxLength = void 0 !== n3 ? n3.maxLength : void 0, -1 === e3.maxLength && (e3.maxLength = void 0), "inputMode" in n3 && null === n3.getAttribute("inputmode") && (n3.inputMode = t3.inputmode, n3.setAttribute("inputmode", t3.inputmode)), true === u && (t3.showMaskOnFocus = t3.showMaskOnFocus && -1 === ["cc-number", "cc-exp"].indexOf(n3.autocomplete), i2.iphone && (t3.insertModeVisual = false, n3.setAttribute("autocorrect", "off")), a.EventRuler.on(n3, "submit", r.EventHandlers.submitEvent), a.EventRuler.on(n3, "reset", r.EventHandlers.resetEvent), a.EventRuler.on(n3, "blur", r.EventHandlers.blurEvent), a.EventRuler.on(n3, "focus", r.EventHandlers.focusEvent), a.EventRuler.on(n3, "invalid", r.EventHandlers.invalidEvent), a.EventRuler.on(n3, "click", r.EventHandlers.clickEvent), a.EventRuler.on(n3, "mouseleave", r.EventHandlers.mouseleaveEvent), a.EventRuler.on(n3, "mouseenter", r.EventHandlers.mouseenterEvent), a.EventRuler.on(n3, "paste", r.EventHandlers.pasteEvent), a.EventRuler.on(n3, "cut", r.EventHandlers.cutEvent), a.EventRuler.on(n3, "complete", t3.oncomplete), a.EventRuler.on(n3, "incomplete", t3.onincomplete), a.EventRuler.on(n3, "cleared", t3.oncleared), true !== t3.inputEventOnly && a.EventRuler.on(n3, "keydown", r.EventHandlers.keyEvent), (i2.mobile || t3.inputEventOnly) && n3.removeAttribute("maxLength"), a.EventRuler.on(n3, "input", r.EventHandlers.inputFallBackEvent)), a.EventRuler.on(n3, "setvalue", r.EventHandlers.setValueEvent), void 0 === e3.applyMaskHook || e3.applyMaskHook(), l.getBufferTemplate.call(e3).join(""), e3.undoValue = e3._valueGet(true);
1657
+ e3.originalPlaceholder = n3.placeholder, e3.maxLength = void 0 !== n3 ? n3.maxLength : void 0, -1 === e3.maxLength && (e3.maxLength = void 0), "inputMode" in n3 && null === n3.getAttribute("inputmode") && (n3.inputMode = t3.inputmode, n3.setAttribute("inputmode", t3.inputmode)), true === u && (t3.showMaskOnFocus = t3.showMaskOnFocus && -1 === ["cc-number", "cc-exp"].indexOf(n3.autocomplete), i2.iphone && (t3.insertModeVisual = false, n3.setAttribute("autocorrect", "off")), r.EventRuler.on(n3, "submit", a.EventHandlers.submitEvent), r.EventRuler.on(n3, "reset", a.EventHandlers.resetEvent), r.EventRuler.on(n3, "blur", a.EventHandlers.blurEvent), r.EventRuler.on(n3, "focus", a.EventHandlers.focusEvent), r.EventRuler.on(n3, "invalid", a.EventHandlers.invalidEvent), r.EventRuler.on(n3, "click", a.EventHandlers.clickEvent), r.EventRuler.on(n3, "mouseleave", a.EventHandlers.mouseleaveEvent), r.EventRuler.on(n3, "mouseenter", a.EventHandlers.mouseenterEvent), r.EventRuler.on(n3, "paste", a.EventHandlers.pasteEvent), r.EventRuler.on(n3, "cut", a.EventHandlers.cutEvent), r.EventRuler.on(n3, "complete", t3.oncomplete), r.EventRuler.on(n3, "incomplete", t3.onincomplete), r.EventRuler.on(n3, "cleared", t3.oncleared), true !== t3.inputEventOnly && r.EventRuler.on(n3, "keydown", a.EventHandlers.keyEvent), (i2.mobile || t3.inputEventOnly) && n3.removeAttribute("maxLength"), r.EventRuler.on(n3, "input", a.EventHandlers.inputFallBackEvent)), r.EventRuler.on(n3, "setvalue", a.EventHandlers.setValueEvent), void 0 === e3.applyMaskHook || e3.applyMaskHook(), l.getBufferTemplate.call(e3).join(""), e3.undoValue = e3._valueGet(true);
1651
1658
  var f = n3.getRootNode().activeElement;
1652
1659
  if ("" !== n3.inputmask._valueGet(true) || false === t3.clearMaskOnLostFocus || f === n3) {
1653
1660
  (0, o.applyInputValue)(n3, n3.inputmask._valueGet(true));
@@ -1656,27 +1663,27 @@ var require_inputmask = __commonJS({
1656
1663
  }
1657
1664
  }
1658
1665
  };
1659
- var i2 = n2(4351), r = n2(6047), a = n2(4136), o = n2(1507), l = n2(7539), s = n2(7687);
1666
+ var i2 = n2(4351), a = n2(6047), r = n2(4136), o = n2(1507), l = n2(7539), s = n2(7687);
1660
1667
  },
1661
1668
  4351: function(e2, t2, n2) {
1662
1669
  Object.defineProperty(t2, "__esModule", {
1663
1670
  value: true
1664
1671
  }), t2.mobile = t2.iphone = t2.ie = void 0;
1665
- var i2, r = (i2 = n2(6266)) && i2.__esModule ? i2 : {
1672
+ var i2, a = (i2 = n2(6266)) && i2.__esModule ? i2 : {
1666
1673
  default: i2
1667
1674
  };
1668
- var a = r.default.navigator && r.default.navigator.userAgent || "";
1669
- t2.ie = a.indexOf("MSIE ") > 0 || a.indexOf("Trident/") > 0, t2.mobile = r.default.navigator && r.default.navigator.userAgentData && r.default.navigator.userAgentData.mobile || r.default.navigator && r.default.navigator.maxTouchPoints || "ontouchstart" in r.default, t2.iphone = /iphone/i.test(a);
1675
+ var r = a.default.navigator && a.default.navigator.userAgent || "";
1676
+ t2.ie = r.indexOf("MSIE ") > 0 || r.indexOf("Trident/") > 0, t2.mobile = a.default.navigator && a.default.navigator.userAgentData && a.default.navigator.userAgentData.mobile || a.default.navigator && a.default.navigator.maxTouchPoints || "ontouchstart" in a.default, t2.iphone = /iphone/i.test(r);
1670
1677
  },
1671
1678
  4507: function(e2, t2, n2) {
1672
1679
  Object.defineProperty(t2, "__esModule", {
1673
1680
  value: true
1674
1681
  }), t2.analyseMask = function(e3, t3, n3) {
1675
- var i3, r2, s2, c2, u, f, p = /(?:[?*+]|\{[0-9+*]+(?:,[0-9+*]*)?(?:\|[0-9+*]*)?\})|[^.?*+^${[]()|\\]+|./g, d = /\[\^?]?(?:[^\\\]]+|\\[\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, h = new o.default(), v = [], m = [], g = false, y = false;
1676
- function b(e4, i4, r3) {
1677
- r3 = void 0 !== r3 ? r3 : e4.matches.length;
1678
- var o2 = e4.matches[r3 - 1], s3 = n3.casing ? "i" : "";
1679
- if (t3) 0 === i4.indexOf("[") || g && /\\d|\\s|\\w|\\p/i.test(i4) || "." === i4 ? (/\\p\{.*}/i.test(i4) && (s3 += "u"), e4.matches.splice(r3++, 0, {
1682
+ var i3, a2, s2, c2, u, f, p = /(?:[?*+]|\{[0-9+*]+(?:,[0-9+*]*)?(?:\|[0-9+*]*)?\})|[^.?*+^${[]()|\\]+|./g, d = /\[\^?]?(?:[^\\\]]+|\\[\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, h = new o.default(), v = [], m = [], g = false, y = false;
1683
+ function b(e4, i4, a3) {
1684
+ a3 = void 0 !== a3 ? a3 : e4.matches.length;
1685
+ var o2 = e4.matches[a3 - 1], s3 = n3.casing ? "i" : "";
1686
+ if (t3) 0 === i4.indexOf("[") || g && /\\d|\\s|\\w|\\p/i.test(i4) || "." === i4 ? (/\\p\{.*}/i.test(i4) && (s3 += "u"), e4.matches.splice(a3++, 0, {
1680
1687
  fn: new RegExp(i4, s3),
1681
1688
  static: false,
1682
1689
  optionality: false,
@@ -1685,8 +1692,8 @@ var require_inputmask = __commonJS({
1685
1692
  def: i4,
1686
1693
  placeholder: "object" === l(n3.placeholder) ? n3.placeholder[h.matches.length] : void 0,
1687
1694
  nativeDef: i4
1688
- })) : (g && (i4 = i4[i4.length - 1]), i4.split("").forEach((function(t4, i5) {
1689
- o2 = e4.matches[r3 - 1], e4.matches.splice(r3++, 0, {
1695
+ })) : (g && (i4 = i4[i4.length - 1]), i4.split("").forEach(function(t4, i5) {
1696
+ o2 = e4.matches[a3 - 1], e4.matches.splice(a3++, 0, {
1690
1697
  fn: /[a-z]/i.test(n3.staticDefinitionSymbol || t4) ? new RegExp("[" + (n3.staticDefinitionSymbol || t4) + "]", s3) : null,
1691
1698
  static: true,
1692
1699
  optionality: false,
@@ -1696,10 +1703,10 @@ var require_inputmask = __commonJS({
1696
1703
  placeholder: void 0 !== n3.staticDefinitionSymbol ? t4 : "object" === l(n3.placeholder) ? n3.placeholder[h.matches.length] : void 0,
1697
1704
  nativeDef: (g ? "'" : "") + t4
1698
1705
  });
1699
- }))), g = false;
1706
+ })), g = false;
1700
1707
  else {
1701
- var c3 = n3.definitions && n3.definitions[i4] || n3.usePrototypeDefinitions && a.default.prototype.definitions[i4];
1702
- c3 && !g ? ("string" == typeof c3.validator && /\\p\{.*}/i.test(c3.validator) && (s3 += "u"), e4.matches.splice(r3++, 0, {
1708
+ var c3 = n3.definitions && n3.definitions[i4] || n3.usePrototypeDefinitions && r.default.prototype.definitions[i4];
1709
+ c3 && !g ? ("string" == typeof c3.validator && /\\p\{.*}/i.test(c3.validator) && (s3 += "u"), e4.matches.splice(a3++, 0, {
1703
1710
  fn: c3.validator ? "string" == typeof c3.validator ? new RegExp(c3.validator, s3) : new function() {
1704
1711
  this.test = c3.validator;
1705
1712
  }() : /./,
@@ -1712,7 +1719,7 @@ var require_inputmask = __commonJS({
1712
1719
  placeholder: c3.placeholder,
1713
1720
  nativeDef: i4,
1714
1721
  generated: c3.generated
1715
- })) : (e4.matches.splice(r3++, 0, {
1722
+ })) : (e4.matches.splice(a3++, 0, {
1716
1723
  fn: /[a-z]/i.test(n3.staticDefinitionSymbol || i4) ? new RegExp("[" + (n3.staticDefinitionSymbol || i4) + "]", s3) : null,
1717
1724
  static: true,
1718
1725
  optionality: false,
@@ -1726,12 +1733,12 @@ var require_inputmask = __commonJS({
1726
1733
  }
1727
1734
  function k() {
1728
1735
  if (v.length > 0) {
1729
- if (b(c2 = v[v.length - 1], r2), c2.isAlternator) {
1736
+ if (b(c2 = v[v.length - 1], a2), c2.isAlternator) {
1730
1737
  u = v.pop();
1731
1738
  for (var e4 = 0; e4 < u.matches.length; e4++) u.matches[e4].isGroup && (u.matches[e4].isGroup = false);
1732
1739
  v.length > 0 ? (c2 = v[v.length - 1]).matches.push(u) : h.matches.push(u);
1733
1740
  }
1734
- } else b(h, r2);
1741
+ } else b(h, a2);
1735
1742
  }
1736
1743
  function x(e4) {
1737
1744
  var t4 = new o.default(true);
@@ -1753,31 +1760,31 @@ var require_inputmask = __commonJS({
1753
1760
  }
1754
1761
  t3 && (n3.optionalmarker[0] = void 0, n3.optionalmarker[1] = void 0);
1755
1762
  for (; i3 = t3 ? d.exec(e3) : p.exec(e3); ) {
1756
- if (r2 = i3[0], t3) {
1757
- switch (r2.charAt(0)) {
1763
+ if (a2 = i3[0], t3) {
1764
+ switch (a2.charAt(0)) {
1758
1765
  case "?":
1759
- r2 = "{0,1}";
1766
+ a2 = "{0,1}";
1760
1767
  break;
1761
1768
  case "+":
1762
1769
  case "*":
1763
- r2 = "{" + r2 + "}";
1770
+ a2 = "{" + a2 + "}";
1764
1771
  break;
1765
1772
  case "|":
1766
1773
  if (0 === v.length) {
1767
- var w = x(h.matches);
1768
- w.openGroup = true, v.push(w), h.matches = [], y = true;
1774
+ var O = x(h.matches);
1775
+ O.openGroup = true, v.push(O), h.matches = [], y = true;
1769
1776
  }
1770
1777
  }
1771
- switch (r2) {
1778
+ switch (a2) {
1772
1779
  case "\\d":
1773
- r2 = "[0-9]";
1780
+ a2 = "[0-9]";
1774
1781
  break;
1775
1782
  case "\\p":
1776
- r2 += d.exec(e3)[0], r2 += d.exec(e3)[0];
1783
+ a2 += d.exec(e3)[0], a2 += d.exec(e3)[0];
1777
1784
  }
1778
1785
  }
1779
1786
  if (g) k();
1780
- else switch (r2.charAt(0)) {
1787
+ else switch (a2.charAt(0)) {
1781
1788
  case "$":
1782
1789
  case "^":
1783
1790
  t3 || k();
@@ -1796,14 +1803,14 @@ var require_inputmask = __commonJS({
1796
1803
  v.push(new o.default(true));
1797
1804
  break;
1798
1805
  case n3.quantifiermarker[0]:
1799
- var O = new o.default(false, false, true), M = (r2 = r2.replace(/[{}?]/g, "")).split("|"), _ = M[0].split(","), E = isNaN(_[0]) ? _[0] : parseInt(_[0]), j = 1 === _.length ? E : isNaN(_[1]) ? _[1] : parseInt(_[1]), T = isNaN(M[1]) ? M[1] : parseInt(M[1]);
1800
- "*" !== E && "+" !== E || (E = "*" === j ? 0 : 1), O.quantifier = {
1806
+ var w = new o.default(false, false, true), M = (a2 = a2.replace(/[{}?]/g, "")).split("|"), _ = M[0].split(","), E = isNaN(_[0]) ? _[0] : parseInt(_[0]), j = 1 === _.length ? E : isNaN(_[1]) ? _[1] : parseInt(_[1]), T = isNaN(M[1]) ? M[1] : parseInt(M[1]);
1807
+ "*" !== E && "+" !== E || (E = "*" === j ? 0 : 1), w.quantifier = {
1801
1808
  min: E,
1802
1809
  max: j,
1803
1810
  jit: T
1804
1811
  };
1805
1812
  var A = v.length > 0 ? v[v.length - 1].matches : h.matches;
1806
- (i3 = A.pop()).isGroup || (i3 = x([i3])), A.push(i3), A.push(O);
1813
+ (i3 = A.pop()).isGroup || (i3 = x([i3])), A.push(i3), A.push(w);
1807
1814
  break;
1808
1815
  case n3.alternatormarker:
1809
1816
  if (v.length > 0) {
@@ -1824,77 +1831,79 @@ var require_inputmask = __commonJS({
1824
1831
  y && S();
1825
1832
  for (; v.length > 0; ) s2 = v.pop(), h.matches.push(s2);
1826
1833
  h.matches.length > 0 && (!(function e4(i4) {
1827
- i4 && i4.matches && i4.matches.forEach((function(r3, a2) {
1828
- var o2 = i4.matches[a2 + 1];
1829
- (void 0 === o2 || void 0 === o2.matches || false === o2.isQuantifier) && r3 && r3.isGroup && (r3.isGroup = false, t3 || (b(r3, n3.groupmarker[0], 0), true !== r3.openGroup && b(r3, n3.groupmarker[1]))), e4(r3);
1830
- }));
1834
+ i4 && i4.matches && i4.matches.forEach(function(a3, r2) {
1835
+ var o2 = i4.matches[r2 + 1];
1836
+ (void 0 === o2 || void 0 === o2.matches || false === o2.isQuantifier) && a3 && a3.isGroup && (a3.isGroup = false, t3 || (b(a3, n3.groupmarker[0], 0), true !== a3.openGroup && b(a3, n3.groupmarker[1]))), e4(a3);
1837
+ });
1831
1838
  })(h), m.push(h));
1832
1839
  (n3.numericInput || n3.isRTL) && (function e4(t4) {
1833
- for (var i4 in t4.matches = t4.matches.reverse(), t4.matches) if (Object.prototype.hasOwnProperty.call(t4.matches, i4)) {
1834
- var r3 = parseInt(i4);
1835
- if (t4.matches[i4].isQuantifier && t4.matches[r3 + 1] && t4.matches[r3 + 1].isGroup) {
1836
- var a2 = t4.matches[i4];
1837
- t4.matches.splice(i4, 1), t4.matches.splice(r3 + 1, 0, a2);
1840
+ function i4(e5) {
1841
+ return e5 === n3.optionalmarker[0] ? e5 = n3.optionalmarker[1] : e5 === n3.optionalmarker[1] ? e5 = n3.optionalmarker[0] : e5 === n3.groupmarker[0] ? e5 = n3.groupmarker[1] : e5 === n3.groupmarker[1] && (e5 = n3.groupmarker[0]), e5;
1842
+ }
1843
+ for (var a3 in t4.matches = t4.matches.reverse(), t4.matches) if (Object.prototype.hasOwnProperty.call(t4.matches, a3)) {
1844
+ var r2 = parseInt(a3);
1845
+ if (t4.matches[a3].isQuantifier && t4.matches[r2 + 1] && t4.matches[r2 + 1].isGroup) {
1846
+ var o2 = t4.matches[a3];
1847
+ t4.matches.splice(a3, 1), t4.matches.splice(r2 + 1, 0, o2);
1838
1848
  }
1839
- void 0 !== t4.matches[i4].matches ? t4.matches[i4] = e4(t4.matches[i4]) : t4.matches[i4] = ((o2 = t4.matches[i4]) === n3.optionalmarker[0] ? o2 = n3.optionalmarker[1] : o2 === n3.optionalmarker[1] ? o2 = n3.optionalmarker[0] : o2 === n3.groupmarker[0] ? o2 = n3.groupmarker[1] : o2 === n3.groupmarker[1] && (o2 = n3.groupmarker[0]), o2);
1849
+ void 0 !== t4.matches[a3].matches ? t4.matches[a3] = e4(t4.matches[a3]) : t4.matches[a3] = i4(t4.matches[a3]);
1840
1850
  }
1841
- var o2;
1842
1851
  return t4;
1843
1852
  })(m[0]);
1844
1853
  return m;
1845
1854
  }, t2.generateMaskSet = function(e3, t3) {
1846
1855
  var n3;
1847
1856
  function o2(e4, t4) {
1848
- var n4 = t4.repeat, i3 = t4.groupmarker, a2 = t4.quantifiermarker, o3 = t4.keepStatic;
1857
+ var n4 = t4.repeat, i3 = t4.groupmarker, r2 = t4.quantifiermarker, o3 = t4.keepStatic;
1849
1858
  if (n4 > 0 || "*" === n4 || "+" === n4) {
1850
1859
  var l2 = "*" === n4 ? 0 : "+" === n4 ? 1 : n4;
1851
- if (l2 !== n4) e4 = i3[0] + e4 + i3[1] + a2[0] + l2 + "," + n4 + a2[1];
1860
+ if (l2 !== n4) e4 = i3[0] + e4 + i3[1] + r2[0] + l2 + "," + n4 + r2[1];
1852
1861
  else for (var c3 = e4, u2 = 1; u2 < l2; u2++) e4 += c3;
1853
1862
  }
1854
1863
  if (true === o3) {
1855
1864
  var f = e4.match(new RegExp("(.)\\[([^\\]]*)\\]", "g"));
1856
- f && f.forEach((function(t5, n5) {
1857
- var i4, a3, o4 = t5.split("["), l3 = (a3 = 2, (function(e5) {
1865
+ f && f.forEach(function(t5, n5) {
1866
+ var i4, r3, o4 = t5.split("["), l3 = (r3 = 2, (function(e5) {
1858
1867
  if (Array.isArray(e5)) return e5;
1859
1868
  })(i4 = o4) || (function(e5, t6) {
1860
1869
  var n6 = null == e5 ? null : "undefined" != typeof Symbol && e5[Symbol.iterator] || e5["@@iterator"];
1861
1870
  if (null != n6) {
1862
- var i5, r2, a4, o5, l4 = [], s2 = true, c5 = false;
1871
+ var i5, a2, r4, o5, l4 = [], s2 = true, c5 = false;
1863
1872
  try {
1864
- if (a4 = (n6 = n6.call(e5)).next, 0 === t6) {
1873
+ if (r4 = (n6 = n6.call(e5)).next, 0 === t6) {
1865
1874
  if (Object(n6) !== n6) return;
1866
1875
  s2 = false;
1867
- } else for (; !(s2 = (i5 = a4.call(n6)).done) && (l4.push(i5.value), l4.length !== t6); s2 = true) ;
1876
+ } else for (; !(s2 = (i5 = r4.call(n6)).done) && (l4.push(i5.value), l4.length !== t6); s2 = true) ;
1868
1877
  } catch (e6) {
1869
- c5 = true, r2 = e6;
1878
+ c5 = true, a2 = e6;
1870
1879
  } finally {
1871
1880
  try {
1872
1881
  if (!s2 && null != n6.return && (o5 = n6.return(), Object(o5) !== o5)) return;
1873
1882
  } finally {
1874
- if (c5) throw r2;
1883
+ if (c5) throw a2;
1875
1884
  }
1876
1885
  }
1877
1886
  return l4;
1878
1887
  }
1879
- })(i4, a3) || (function(e5, t6) {
1888
+ })(i4, r3) || (function(e5, t6) {
1880
1889
  if (e5) {
1881
1890
  if ("string" == typeof e5) return s(e5, t6);
1882
1891
  var n6 = {}.toString.call(e5).slice(8, -1);
1883
1892
  return "Object" === n6 && e5.constructor && (n6 = e5.constructor.name), "Map" === n6 || "Set" === n6 ? Array.from(e5) : "Arguments" === n6 || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n6) ? s(e5, t6) : void 0;
1884
1893
  }
1885
- })(i4, a3) || (function() {
1894
+ })(i4, r3) || (function() {
1886
1895
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1887
1896
  })()), c4 = l3[0], u3 = l3[1];
1888
- u3 = u3.replace("]", ""), e4 = e4.replace(new RegExp("".concat((0, r.escapeRegex)(c4), "\\[").concat((0, r.escapeRegex)(u3), "\\]")), c4.charAt(0) === u3.charAt(0) ? "(".concat(c4, "|").concat(c4).concat(u3, ")") : "".concat(c4, "[").concat(u3, "]"));
1889
- }));
1897
+ u3 = u3.replace("]", ""), e4 = e4.replace(new RegExp("".concat((0, a.escapeRegex)(c4), "\\[").concat((0, a.escapeRegex)(u3), "\\]")), c4.charAt(0) === u3.charAt(0) ? "(".concat(c4, "|").concat(c4).concat(u3, ")") : "".concat(c4, "[").concat(u3, "]"));
1898
+ });
1890
1899
  }
1891
1900
  return e4;
1892
1901
  }
1893
- function c2(e4, n4, r2) {
1902
+ function c2(e4, n4, a2) {
1894
1903
  var s2, c3, u2 = false;
1895
- return null !== e4 && "" !== e4 || ((u2 = null !== r2.regex) ? e4 = (e4 = r2.regex).replace(/^(\^)(.*)(\$)$/, "$2") : (u2 = true, e4 = ".*")), 1 === e4.length && false === r2.greedy && 0 !== r2.repeat && (r2.placeholder = ""), e4 = o2(e4, r2), c3 = u2 ? "regex_" + r2.regex : r2.numericInput ? e4.split("").reverse().join("") : e4, null !== r2.keepStatic && (c3 = "ks_" + r2.keepStatic + c3), "object" === l(r2.placeholder) && (c3 = "ph_" + JSON.stringify(r2.placeholder) + c3), void 0 === a.default.prototype.masksCache[c3] || true === t3 ? (s2 = {
1904
+ return null !== e4 && "" !== e4 || ((u2 = null !== a2.regex) ? e4 = (e4 = a2.regex).replace(/^(\^)(.*)(\$)$/, "$2") : (u2 = true, e4 = ".*")), 1 === e4.length && false === a2.greedy && 0 !== a2.repeat && (a2.placeholder = ""), e4 = o2(e4, a2), c3 = u2 ? "regex_" + a2.regex : a2.numericInput ? e4.split("").reverse().join("") : e4, null !== a2.keepStatic && (c3 = "ks_" + a2.keepStatic + c3), "object" === l(a2.placeholder) && (c3 = "ph_" + JSON.stringify(a2.placeholder) + c3), void 0 === r.default.prototype.masksCache[c3] || true === t3 ? (s2 = {
1896
1905
  mask: e4,
1897
- maskToken: a.default.prototype.analyseMask(e4, u2, r2),
1906
+ maskToken: r.default.prototype.analyseMask(e4, u2, a2),
1898
1907
  validPositions: [],
1899
1908
  _buffer: void 0,
1900
1909
  buffer: void 0,
@@ -1903,16 +1912,16 @@ var require_inputmask = __commonJS({
1903
1912
  metadata: n4,
1904
1913
  maskLength: void 0,
1905
1914
  jitOffset: {}
1906
- }, true !== t3 && (a.default.prototype.masksCache[c3] = s2, s2 = i2.default.extend(true, {}, a.default.prototype.masksCache[c3]))) : s2 = i2.default.extend(true, {}, a.default.prototype.masksCache[c3]), s2;
1915
+ }, true !== t3 && (r.default.prototype.masksCache[c3] = s2, s2 = i2.default.extend(true, {}, r.default.prototype.masksCache[c3]))) : s2 = i2.default.extend(true, {}, r.default.prototype.masksCache[c3]), s2;
1907
1916
  }
1908
1917
  "function" == typeof e3.mask && (e3.mask = e3.mask(e3));
1909
1918
  if (Array.isArray(e3.mask)) {
1910
1919
  if (e3.mask.length > 1) {
1911
1920
  null === e3.keepStatic && (e3.keepStatic = true);
1912
1921
  var u = e3.groupmarker[0];
1913
- return (e3.isRTL ? e3.mask.reverse() : e3.mask).forEach((function(t4) {
1922
+ return (e3.isRTL ? e3.mask.reverse() : e3.mask).forEach(function(t4) {
1914
1923
  u.length > 1 && (u += e3.alternatormarker), void 0 !== t4.mask && "function" != typeof t4.mask ? u += t4.mask : u += t4;
1915
- })), c2(u += e3.groupmarker[1], e3.mask, e3);
1924
+ }), c2(u += e3.groupmarker[1], e3.mask, e3);
1916
1925
  }
1917
1926
  e3.mask = e3.mask.pop();
1918
1927
  }
@@ -1920,7 +1929,7 @@ var require_inputmask = __commonJS({
1920
1929
  null === e3.keepStatic && (e3.keepStatic = false);
1921
1930
  return n3;
1922
1931
  };
1923
- var i2 = c(n2(7332)), r = n2(340), a = c(n2(3978)), o = c(n2(9439));
1932
+ var i2 = c(n2(7332)), a = n2(340), r = c(n2(3978)), o = c(n2(9439));
1924
1933
  function l(e3) {
1925
1934
  return l = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e4) {
1926
1935
  return typeof e4;
@@ -1940,9 +1949,9 @@ var require_inputmask = __commonJS({
1940
1949
  }
1941
1950
  },
1942
1951
  4829: function(e2, t2, n2) {
1943
- var i2, r = (i2 = n2(3978)) && i2.__esModule ? i2 : {
1952
+ var i2, a = (i2 = n2(3978)) && i2.__esModule ? i2 : {
1944
1953
  default: i2
1945
- }, a = n2(7539), o = n2(5895);
1954
+ }, r = n2(7539), o = n2(5895);
1946
1955
  function l(e3) {
1947
1956
  return (function(e4) {
1948
1957
  if (Array.isArray(e4)) return s(e4);
@@ -1963,7 +1972,7 @@ var require_inputmask = __commonJS({
1963
1972
  for (var n3 = 0, i3 = Array(t3); n3 < t3; n3++) i3[n3] = e3[n3];
1964
1973
  return i3;
1965
1974
  }
1966
- r.default.extendDefinitions({
1975
+ a.default.extendDefinitions({
1967
1976
  A: {
1968
1977
  validator: "[A-Za-z\u0410-\u044F\u0401\u0451\xC0-\xFF\xB5]",
1969
1978
  casing: "upper"
@@ -1978,18 +1987,18 @@ var require_inputmask = __commonJS({
1978
1987
  }
1979
1988
  });
1980
1989
  var c = /25[0-5]|2[0-4][0-9]|[01][0-9][0-9]/;
1981
- function u(e3, t3, n3, i3, r2) {
1982
- if (n3 - 1 > -1 && "." !== t3.buffer[n3 - 1] ? (e3 = t3.buffer[n3 - 1] + e3, e3 = n3 - 2 > -1 && "." !== t3.buffer[n3 - 2] ? t3.buffer[n3 - 2] + e3 : "0" + e3) : e3 = "00" + e3, r2.greedy && parseInt(e3) > 255 && c.test("00" + e3.charAt(2))) {
1983
- var a2 = [].concat(l(t3.buffer.slice(0, n3)), [".", e3.charAt(2)]);
1984
- if (a2.join("").match(/\./g).length < 4) return {
1990
+ function u(e3, t3, n3, i3, a2) {
1991
+ if (n3 - 1 > -1 && "." !== t3.buffer[n3 - 1] ? (e3 = t3.buffer[n3 - 1] + e3, e3 = n3 - 2 > -1 && "." !== t3.buffer[n3 - 2] ? t3.buffer[n3 - 2] + e3 : "0" + e3) : e3 = "00" + e3, a2.greedy && parseInt(e3) > 255 && c.test("00" + e3.charAt(2))) {
1992
+ var r2 = [].concat(l(t3.buffer.slice(0, n3)), [".", e3.charAt(2)]);
1993
+ if (r2.join("").match(/\./g).length < 4) return {
1985
1994
  refreshFromBuffer: true,
1986
- buffer: a2,
1995
+ buffer: r2,
1987
1996
  caret: n3 + 2
1988
1997
  };
1989
1998
  }
1990
1999
  return c.test(e3);
1991
2000
  }
1992
- r.default.extendAliases({
2001
+ a.default.extendAliases({
1993
2002
  cssunit: {
1994
2003
  regex: "[+-]?[0-9]+\\.?([0-9]+)?(px|em|rem|ex|%|in|cm|mm|pt|pc)"
1995
2004
  },
@@ -2025,9 +2034,9 @@ var require_inputmask = __commonJS({
2025
2034
  },
2026
2035
  email: {
2027
2036
  mask: function(e3) {
2028
- var t3 = e3.separator, n3 = e3.quantifier, i3 = "*{1,64}[.*{1,64}][.*{1,64}][.*{1,63}]@-{1,63}.-{1,63}[.-{1,63}][.-{1,63}]", r2 = i3;
2029
- if (t3) for (var a2 = 0; a2 < n3; a2++) r2 += "[".concat(t3).concat(i3, "]");
2030
- return r2;
2037
+ var t3 = e3.separator, n3 = e3.quantifier, i3 = "*{1,64}[.*{1,64}][.*{1,64}][.*{1,63}]@-{1,63}.-{1,63}[.-{1,63}][.-{1,63}]", a2 = i3;
2038
+ if (t3) for (var r2 = 0; r2 < n3; r2++) a2 += "[".concat(t3).concat(i3, "]");
2039
+ return a2;
2031
2040
  },
2032
2041
  greedy: false,
2033
2042
  casing: "lower",
@@ -2066,8 +2075,8 @@ var require_inputmask = __commonJS({
2066
2075
  },
2067
2076
  ssn: {
2068
2077
  mask: "999-99-9999",
2069
- postValidation: function(e3, t3, n3, i3, r2, l2, s2) {
2070
- var c2 = o.getMaskTemplate.call(this, true, a.getLastValidPosition.call(this), true, true);
2078
+ postValidation: function(e3, t3, n3, i3, a2, l2, s2) {
2079
+ var c2 = o.getMaskTemplate.call(this, true, r.getLastValidPosition.call(this), true, true);
2071
2080
  return /^(?!219-09-9999|078-05-1120)(?!666|000|9.{2}).{3}-(?!00).{2}-(?!0{4}).{4}$/.test(c2.join(""));
2072
2081
  }
2073
2082
  }
@@ -2078,16 +2087,16 @@ var require_inputmask = __commonJS({
2078
2087
  value: true
2079
2088
  }), t2.Event = void 0, t2.off = function(e3, t3) {
2080
2089
  var n3, i3;
2081
- f(this[0]) && (n3 = (0, r.default)(this[0], "events"), i3 = this[0], "" !== (e3 = e3 || Object.keys(n3).join(" ")) && e3.split(" ").forEach((function(e4) {
2082
- var r2 = l(e4.split("."), 2);
2090
+ f(this[0]) && (n3 = (0, a.default)(this[0], "events"), i3 = this[0], "" !== (e3 = e3 || Object.keys(n3).join(" ")) && e3.split(" ").forEach(function(e4) {
2091
+ var a2 = l(e4.split("."), 2);
2083
2092
  (function(e5, i4) {
2084
- var r3, a2, o2 = [];
2085
- if (e5.length > 0) for (var l2 = i4 ? [i4] : Object.keys(n3[e5]), s2 = 0; s2 < l2.length; s2++) if (i4 = l2[s2], void 0 === t3) for (r3 = 0, a2 = (null === (c2 = n3[e5][i4]) || void 0 === c2 ? void 0 : c2.length) || 0; r3 < a2; r3++) {
2093
+ var a3, r2, o2 = [];
2094
+ if (e5.length > 0) for (var l2 = i4 ? [i4] : Object.keys(n3[e5]), s2 = 0; s2 < l2.length; s2++) if (i4 = l2[s2], void 0 === t3) for (a3 = 0, r2 = (null === (c2 = n3[e5][i4]) || void 0 === c2 ? void 0 : c2.length) || 0; a3 < r2; a3++) {
2086
2095
  var c2;
2087
2096
  o2.push({
2088
2097
  ev: e5,
2089
2098
  namespace: i4,
2090
- handler: n3[e5][i4][r3]
2099
+ handler: n3[e5][i4][a3]
2091
2100
  });
2092
2101
  }
2093
2102
  else o2.push({
@@ -2096,10 +2105,10 @@ var require_inputmask = __commonJS({
2096
2105
  handler: t3
2097
2106
  });
2098
2107
  else if (i4.length > 0) {
2099
- for (var u2 in n3) if (n3[u2][i4]) if (void 0 === t3) for (r3 = 0, a2 = n3[u2][i4].length; r3 < a2; r3++) o2.push({
2108
+ for (var u2 in n3) if (n3[u2][i4]) if (void 0 === t3) for (a3 = 0, r2 = n3[u2][i4].length; a3 < r2; a3++) o2.push({
2100
2109
  ev: u2,
2101
2110
  namespace: i4,
2102
- handler: n3[u2][i4][r3]
2111
+ handler: n3[u2][i4][a3]
2103
2112
  });
2104
2113
  else o2.push({
2105
2114
  ev: u2,
@@ -2108,28 +2117,28 @@ var require_inputmask = __commonJS({
2108
2117
  });
2109
2118
  }
2110
2119
  return o2;
2111
- })(r2[0], r2[1]).forEach((function(e5) {
2112
- var t4 = e5.ev, r3 = e5.handler;
2113
- !(function(e6, t5, r4) {
2114
- if (e6 in n3 == 1) if (i3.removeEventListener ? i3.removeEventListener(e6, r4, false) : i3.detachEvent && i3.detachEvent("on".concat(e6), r4), "global" === t5) for (var a2 in n3[e6]) n3[e6][a2].splice(n3[e6][a2].indexOf(r4), 1);
2115
- else n3[e6][t5].splice(n3[e6][t5].indexOf(r4), 1);
2116
- })(t4, e5.namespace, r3);
2117
- }));
2118
- })));
2120
+ })(a2[0], a2[1]).forEach(function(e5) {
2121
+ var t4 = e5.ev, a3 = e5.handler;
2122
+ !(function(e6, t5, a4) {
2123
+ if (e6 in n3 == 1) if (i3.removeEventListener ? i3.removeEventListener(e6, a4, false) : i3.detachEvent && i3.detachEvent("on".concat(e6), a4), "global" === t5) for (var r2 in n3[e6]) n3[e6][r2].splice(n3[e6][r2].indexOf(a4), 1);
2124
+ else n3[e6][t5].splice(n3[e6][t5].indexOf(a4), 1);
2125
+ })(t4, e5.namespace, a3);
2126
+ });
2127
+ }));
2119
2128
  return this;
2120
2129
  }, t2.on = function(e3, t3) {
2121
2130
  if (!this[0] || !f(this[0])) return this;
2122
- var n3 = this[0], i3 = (0, r.default)(n3, "events");
2123
- return e3.split(" ").forEach((function(e4) {
2124
- var r2 = l(e4.split("."), 2), a2 = r2[0], o2 = r2[1];
2125
- !(function(e5, r3) {
2131
+ var n3 = this[0], i3 = (0, a.default)(n3, "events");
2132
+ return e3.split(" ").forEach(function(e4) {
2133
+ var a2 = l(e4.split("."), 2), r2 = a2[0], o2 = a2[1];
2134
+ !(function(e5, a3) {
2126
2135
  n3.addEventListener ? n3.addEventListener(e5, t3, false) : n3.attachEvent && n3.attachEvent("on".concat(e5), t3);
2127
- i3[e5] = i3[e5] || {}, i3[e5][r3] = i3[e5][r3] || [], i3[e5][r3].push(t3);
2128
- })(a2, void 0 === o2 ? "global" : o2);
2129
- })), this;
2136
+ i3[e5] = i3[e5] || {}, i3[e5][a3] = i3[e5][a3] || [], i3[e5][a3].push(t3);
2137
+ })(r2, void 0 === o2 ? "global" : o2);
2138
+ }), this;
2130
2139
  }, t2.trigger = function(e3) {
2131
2140
  var t3 = arguments;
2132
- if (f(this[0])) for (var n3 = (0, r.default)(this[0], "events"), i3 = this[0], l2 = "string" == typeof e3 ? e3.split(" ") : [e3.type], s2 = 0; s2 < l2.length; s2++) {
2141
+ if (f(this[0])) for (var n3 = (0, a.default)(this[0], "events"), i3 = this[0], l2 = "string" == typeof e3 ? e3.split(" ") : [e3.type], s2 = 0; s2 < l2.length; s2++) {
2133
2142
  var c2 = l2[s2].split("."), p2 = c2[0], d = c2[1] || "global";
2134
2143
  if (void 0 !== u) {
2135
2144
  var h = void 0, v = {
@@ -2145,35 +2154,35 @@ var require_inputmask = __commonJS({
2145
2154
  } catch (e4) {
2146
2155
  (h = u.createEvent("CustomEvent")).initCustomEvent(p2, v.bubbles, v.cancelable, v.detail);
2147
2156
  }
2148
- e3.type && (0, a.default)(h, e3), i3.dispatchEvent(h);
2149
- } else (h = u.createEventObject()).eventType = p2, h.detail = arguments[1], e3.type && (0, a.default)(h, e3), i3.fireEvent("on" + h.eventType, h);
2157
+ e3.type && (0, r.default)(h, e3), i3.dispatchEvent(h);
2158
+ } else (h = u.createEventObject()).eventType = p2, h.detail = arguments[1], e3.type && (0, r.default)(h, e3), i3.fireEvent("on" + h.eventType, h);
2150
2159
  } else if (void 0 !== n3[p2]) {
2151
2160
  arguments[0] = arguments[0].type ? arguments[0] : o.default.Event(arguments[0]), arguments[0].detail = arguments.slice(1);
2152
2161
  var m = n3[p2];
2153
- ("global" === d ? Object.values(m).flat() : m[d]).forEach((function(e4) {
2162
+ ("global" === d ? Object.values(m).flat() : m[d]).forEach(function(e4) {
2154
2163
  return e4.apply(i3, t3);
2155
- }));
2164
+ });
2156
2165
  }
2157
2166
  }
2158
2167
  return this;
2159
2168
  };
2160
- var i2 = c(n2(6266)), r = c(n2(2088)), a = c(n2(672)), o = c(n2(7332));
2169
+ var i2 = c(n2(6266)), a = c(n2(2088)), r = c(n2(672)), o = c(n2(7332));
2161
2170
  function l(e3, t3) {
2162
2171
  return (function(e4) {
2163
2172
  if (Array.isArray(e4)) return e4;
2164
2173
  })(e3) || (function(e4, t4) {
2165
2174
  var n3 = null == e4 ? null : "undefined" != typeof Symbol && e4[Symbol.iterator] || e4["@@iterator"];
2166
2175
  if (null != n3) {
2167
- var i3, r2, a2, o2, l2 = [], s2 = true, c2 = false;
2176
+ var i3, a2, r2, o2, l2 = [], s2 = true, c2 = false;
2168
2177
  try {
2169
- if (a2 = (n3 = n3.call(e4)).next, 0 === t4) ; else for (; !(s2 = (i3 = a2.call(n3)).done) && (l2.push(i3.value), l2.length !== t4); s2 = true) ;
2178
+ if (r2 = (n3 = n3.call(e4)).next, 0 === t4) ; else for (; !(s2 = (i3 = r2.call(n3)).done) && (l2.push(i3.value), l2.length !== t4); s2 = true) ;
2170
2179
  } catch (e5) {
2171
- c2 = true, r2 = e5;
2180
+ c2 = true, a2 = e5;
2172
2181
  } finally {
2173
2182
  try {
2174
2183
  if (!s2 && null != n3.return && (o2 = n3.return(), Object(o2) !== o2)) return;
2175
2184
  } finally {
2176
- if (c2) throw r2;
2185
+ if (c2) throw a2;
2177
2186
  }
2178
2187
  }
2179
2188
  return l2;
@@ -2200,7 +2209,7 @@ var require_inputmask = __commonJS({
2200
2209
  }
2201
2210
  var u = i2.default.document;
2202
2211
  function f(e3) {
2203
- return e3 instanceof Element && (0, r.default)(e3, "events");
2212
+ return e3 instanceof Element && (0, a.default)(e3, "events");
2204
2213
  }
2205
2214
  var p = t2.Event = void 0;
2206
2215
  "function" == typeof i2.default.CustomEvent ? t2.Event = p = i2.default.CustomEvent : i2.default.Event && u && u.createEvent ? (t2.Event = p = function(e3, t3) {
@@ -2217,17 +2226,17 @@ var require_inputmask = __commonJS({
2217
2226
  5895: function(e2, t2, n2) {
2218
2227
  Object.defineProperty(t2, "__esModule", {
2219
2228
  value: true
2220
- }), t2.determineTestTemplate = d, t2.getDecisionTaker = u, t2.getMaskTemplate = function(e3, t3, n3, i3, r2) {
2221
- var a2 = this, o2 = this.opts, l2 = this.maskset, s2 = o2.greedy;
2222
- r2 && o2.greedy && (o2.greedy = false, a2.maskset.tests = {});
2229
+ }), t2.determineTestTemplate = d, t2.getDecisionTaker = u, t2.getMaskTemplate = function(e3, t3, n3, i3, a2) {
2230
+ var r2 = this, o2 = this.opts, l2 = this.maskset, s2 = o2.greedy;
2231
+ a2 && o2.greedy && (o2.greedy = false, r2.maskset.tests = {});
2223
2232
  t3 = t3 || 0;
2224
2233
  var c2, u2, h2, v2, g = [], y = 0;
2225
2234
  do {
2226
- if (true === e3 && l2.validPositions[y]) u2 = (h2 = r2 && l2.validPositions[y].match.optionality && void 0 === l2.validPositions[y + 1] && (true === l2.validPositions[y].generatedInput || l2.validPositions[y].input == o2.skipOptionalPartCharacter && y > 0) ? d.call(a2, y, m.call(a2, y, c2, y - 1)) : l2.validPositions[y]).match, c2 = h2.locator.slice(), g.push(true === n3 ? h2.input : false === n3 ? u2.nativeDef : f.call(a2, y, u2));
2235
+ if (true === e3 && l2.validPositions[y]) u2 = (h2 = a2 && l2.validPositions[y].match.optionality && void 0 === l2.validPositions[y + 1] && (true === l2.validPositions[y].generatedInput || l2.validPositions[y].input == o2.skipOptionalPartCharacter && y > 0) ? d.call(r2, y, m.call(r2, y, c2, y - 1)) : l2.validPositions[y]).match, c2 = h2.locator.slice(), g.push(true === n3 ? h2.input : false === n3 ? u2.nativeDef : f.call(r2, y, u2));
2227
2236
  else {
2228
- u2 = (h2 = p.call(a2, y, c2, y - 1)).match, c2 = h2.locator.slice();
2237
+ u2 = (h2 = p.call(r2, y, c2, y - 1)).match, c2 = h2.locator.slice();
2229
2238
  var b = true !== i3 && (false !== o2.jitMasking ? o2.jitMasking : u2.jit);
2230
- (v2 = (v2 || l2.validPositions[y - 1]) && u2.static && u2.def !== o2.groupSeparator && null === u2.fn) || false === b || void 0 === b || "number" == typeof b && isFinite(b) && b > y ? g.push(false === n3 ? u2.nativeDef : f.call(a2, g.length, u2)) : v2 = false;
2239
+ (v2 = (v2 || l2.validPositions[y - 1]) && u2.static && u2.def !== o2.groupSeparator && null === u2.fn) || false === b || void 0 === b || "number" == typeof b && isFinite(b) && b > y ? g.push(false === n3 ? u2.nativeDef : f.call(r2, g.length, u2)) : v2 = false;
2231
2240
  }
2232
2241
  y++;
2233
2242
  } while (true !== u2.static || "" !== u2.def || t3 > y);
@@ -2235,9 +2244,9 @@ var require_inputmask = __commonJS({
2235
2244
  false === n3 && void 0 !== l2.maskLength || (l2.maskLength = y - 1);
2236
2245
  return o2.greedy = s2, g;
2237
2246
  }, t2.getPlaceholder = f, t2.getTest = h, t2.getTestTemplate = p, t2.getTests = m, t2.isSubsetOf = v;
2238
- var i2, r = (i2 = n2(3978)) && i2.__esModule ? i2 : {
2247
+ var i2, a = (i2 = n2(3978)) && i2.__esModule ? i2 : {
2239
2248
  default: i2
2240
- }, a = n2(7539);
2249
+ }, r = n2(7539);
2241
2250
  function o(e3) {
2242
2251
  return (function(e4) {
2243
2252
  if (Array.isArray(e4)) return l(e4);
@@ -2272,29 +2281,29 @@ var require_inputmask = __commonJS({
2272
2281
  }
2273
2282
  function u(e3) {
2274
2283
  var t3 = e3.locator[e3.alternation];
2275
- return "string" == typeof t3 && t3.length > 0 && (t3 = t3.split(",").sort((function(e4, t4) {
2284
+ return "string" == typeof t3 && t3.length > 0 && (t3 = t3.split(",").sort(function(e4, t4) {
2276
2285
  return e4 - t4;
2277
- }))[0]), void 0 !== t3 ? t3.toString() : "";
2286
+ })[0]), void 0 !== t3 ? t3.toString() : "";
2278
2287
  }
2279
2288
  function f(e3, t3, n3) {
2280
- var i3 = this, r2 = this.opts, o2 = this.maskset;
2289
+ var i3 = this, a2 = this.opts, o2 = this.maskset;
2281
2290
  if (void 0 !== (t3 = t3 || h.call(i3, e3).match).placeholder || true === n3) {
2282
2291
  if ("" !== t3.placeholder && true === t3.static && true !== t3.generated) {
2283
- var l2 = a.getLastValidPosition.call(i3, e3), c2 = a.seekNext.call(i3, l2);
2284
- return (n3 ? e3 <= c2 : e3 < c2) ? r2.staticDefinitionSymbol && t3.static ? t3.nativeDef : t3.def : "function" == typeof t3.placeholder ? t3.placeholder(r2) : t3.placeholder;
2292
+ var l2 = r.getLastValidPosition.call(i3, e3), c2 = r.seekNext.call(i3, l2);
2293
+ return (n3 ? e3 <= c2 : e3 < c2) ? a2.staticDefinitionSymbol && t3.static ? t3.nativeDef : t3.def : "function" == typeof t3.placeholder ? t3.placeholder(a2) : t3.placeholder;
2285
2294
  }
2286
- return "function" == typeof t3.placeholder ? t3.placeholder(r2) : t3.placeholder;
2295
+ return "function" == typeof t3.placeholder ? t3.placeholder(a2) : t3.placeholder;
2287
2296
  }
2288
2297
  if (true === t3.static) {
2289
2298
  if (e3 > -1 && void 0 === o2.validPositions[e3]) {
2290
2299
  var u2, f2 = m.call(i3, e3), p2 = [];
2291
- if ("string" == typeof r2.placeholder && f2.length > 1 + ("" === f2[f2.length - 1].match.def ? 1 : 0)) {
2292
- for (var d2 = 0; d2 < f2.length; d2++) if ("" !== f2[d2].match.def && true !== f2[d2].match.optionality && true !== f2[d2].match.optionalQuantifier && (true === f2[d2].match.static || void 0 === u2 || false !== f2[d2].match.fn.test(u2.match.def, o2, e3, true, r2)) && (p2.push(f2[d2]), true === f2[d2].match.static && (u2 = f2[d2]), p2.length > 1 && /[0-9a-bA-Z]/.test(p2[0].match.def))) return r2.placeholder.charAt(e3 % r2.placeholder.length);
2300
+ if ("string" == typeof a2.placeholder && f2.length > 1 + ("" === f2[f2.length - 1].match.def ? 1 : 0)) {
2301
+ for (var d2 = 0; d2 < f2.length; d2++) if ("" !== f2[d2].match.def && true !== f2[d2].match.optionality && true !== f2[d2].match.optionalQuantifier && (true === f2[d2].match.static || void 0 === u2 || false !== f2[d2].match.fn.test(u2.match.def, o2, e3, true, a2)) && (p2.push(f2[d2]), true === f2[d2].match.static && (u2 = f2[d2]), p2.length > 1 && /[0-9a-bA-Z]/.test(p2[0].match.def))) return a2.placeholder.charAt(e3 % a2.placeholder.length);
2293
2302
  }
2294
2303
  }
2295
2304
  return t3.def;
2296
2305
  }
2297
- return "object" === s(r2.placeholder) ? t3.def : r2.placeholder.charAt(e3 % r2.placeholder.length);
2306
+ return "object" === s(a2.placeholder) ? t3.def : a2.placeholder.charAt(e3 % a2.placeholder.length);
2298
2307
  }
2299
2308
  function p(e3, t3, n3) {
2300
2309
  return this.maskset.validPositions[e3] || d.call(this, e3, m.call(this, e3, t3 ? t3.slice() : t3, n3));
@@ -2302,23 +2311,23 @@ var require_inputmask = __commonJS({
2302
2311
  function d(e3, t3) {
2303
2312
  var n3 = this.opts, i3 = (function(e4, t4) {
2304
2313
  var n4 = 0, i4 = false;
2305
- t4.forEach((function(e5) {
2314
+ t4.forEach(function(e5) {
2306
2315
  e5.match.optionality && (0 !== n4 && n4 !== e5.match.optionality && (i4 = true), (0 === n4 || n4 > e5.match.optionality) && (n4 = e5.match.optionality));
2307
- })), n4 && (0 == e4 || 1 == t4.length ? n4 = 0 : i4 || (n4 = 0));
2316
+ }), n4 && (0 == e4 || 1 == t4.length ? n4 = 0 : i4 || (n4 = 0));
2308
2317
  return n4;
2309
2318
  })(e3, t3);
2310
2319
  e3 = e3 > 0 ? e3 - 1 : 0;
2311
- var r2, a2, l2, s2 = Math.max.apply(Math, o(t3.map((function(e4) {
2320
+ var a2, r2, l2, s2 = Math.max.apply(Math, o(t3.map(function(e4) {
2312
2321
  return void 0 === e4.locator ? 0 : e4.locator.length;
2313
- })))), u2 = c(h.call(this, e3), s2), f2 = 0;
2322
+ }))), u2 = c(h.call(this, e3), s2), f2 = 0;
2314
2323
  n3.greedy && t3.length > 1 && "" === t3[t3.length - 1].match.def && (f2 = 1);
2315
2324
  for (var p2 = 0; p2 < t3.length - f2; p2++) {
2316
2325
  var d2 = t3[p2];
2317
- r2 = c(d2, s2);
2318
- var v2 = Number(r2) - Number(u2);
2319
- (true !== d2.unMatchedAlternationStopped || t3.filter((function(e4) {
2326
+ a2 = c(d2, s2);
2327
+ var v2 = Number(a2) - Number(u2);
2328
+ (true !== d2.unMatchedAlternationStopped || t3.filter(function(e4) {
2320
2329
  return true !== e4.unMatchedAlternationStopped;
2321
- })).length <= 1) && (void 0 === a2 || "" !== r2 && v2 < a2 || l2 && !n3.greedy && l2.match.optionality && l2.match.optionality - i3 > 0 && "master" === l2.match.newBlockMarker && (!d2.match.optionality || d2.match.optionality - i3 < 1 || !d2.match.newBlockMarker) || l2 && !n3.greedy && l2.match.optionalQuantifier && !d2.match.optionalQuantifier) && (a2 = v2, l2 = d2);
2330
+ }).length <= 1) && (void 0 === r2 || "" !== a2 && v2 < r2 || l2 && !n3.greedy && l2.match.optionality && l2.match.optionality - i3 > 0 && "master" === l2.match.newBlockMarker && (!d2.match.optionality || d2.match.optionality - i3 < 1 || !d2.match.newBlockMarker) || l2 && !n3.greedy && l2.match.optionalQuantifier && !d2.match.optionalQuantifier) && (r2 = v2, l2 = d2);
2322
2331
  }
2323
2332
  return l2;
2324
2333
  }
@@ -2328,36 +2337,36 @@ var require_inputmask = __commonJS({
2328
2337
  }
2329
2338
  function v(e3, t3, n3) {
2330
2339
  function i3(e4) {
2331
- for (var t4, n4 = [], i4 = -1, r2 = 0, a2 = e4.length; r2 < a2; r2++) if ("-" === e4.charAt(r2)) for (t4 = e4.charCodeAt(r2 + 1); ++i4 < t4; ) n4.push(String.fromCharCode(i4));
2332
- else i4 = e4.charCodeAt(r2), n4.push(e4.charAt(r2));
2340
+ for (var t4, n4 = [], i4 = -1, a2 = 0, r2 = e4.length; a2 < r2; a2++) if ("-" === e4.charAt(a2)) for (t4 = e4.charCodeAt(a2 + 1); ++i4 < t4; ) n4.push(String.fromCharCode(i4));
2341
+ else i4 = e4.charCodeAt(a2), n4.push(e4.charAt(a2));
2333
2342
  return n4.join("");
2334
2343
  }
2335
2344
  return e3.match.def === t3.match.nativeDef || !(!(n3.regex || e3.match.fn instanceof RegExp && t3.match.fn instanceof RegExp) || true === e3.match.static || true === t3.match.static) && ("." === t3.match.fn.source || -1 !== i3(t3.match.fn.source.replace(/[[\]/]/g, "")).indexOf(i3(e3.match.fn.source.replace(/[[\]/]/g, ""))));
2336
2345
  }
2337
2346
  function m(e3, t3, n3) {
2338
- var i3, a2, o2 = this, l2 = this.dependencyLib, s2 = this.maskset, c2 = this.opts, u2 = this.el, f2 = s2.maskToken, p2 = t3 ? n3 : 0, h2 = t3 ? t3.slice() : [0], m2 = [], g = false, y = t3 ? t3.join("") : "", b = false;
2339
- function k(t4, n4, a3, l3) {
2340
- function f3(a4, l4, d3) {
2347
+ var i3, r2, o2 = this, l2 = this.dependencyLib, s2 = this.maskset, c2 = this.opts, u2 = this.el, f2 = s2.maskToken, p2 = t3 ? n3 : 0, h2 = t3 ? t3.slice() : [0], m2 = [], g = false, y = t3 ? t3.join("") : "", b = false;
2348
+ function k(t4, n4, r3, l3) {
2349
+ function f3(r4, l4, d3) {
2341
2350
  function h4(e4, t5) {
2342
2351
  var n5 = 0 === t5.matches.indexOf(e4);
2343
- return n5 || t5.matches.every((function(i4, r2) {
2344
- return true === i4.isQuantifier ? n5 = h4(e4, t5.matches[r2 - 1]) : Object.prototype.hasOwnProperty.call(i4, "matches") && (n5 = h4(e4, i4)), !n5;
2345
- })), n5;
2352
+ return n5 || t5.matches.every(function(i4, a2) {
2353
+ return true === i4.isQuantifier ? n5 = h4(e4, t5.matches[a2 - 1]) : Object.prototype.hasOwnProperty.call(i4, "matches") && (n5 = h4(e4, i4)), !n5;
2354
+ }), n5;
2346
2355
  }
2347
2356
  function P2(e4, t5, n5) {
2348
- var i4, r2, a5, o3, l5 = "".concat(t5, ":").concat(n5);
2349
- if ((s2.tests[e4] || s2.validPositions[e4]) && (s2.validPositions[e4] ? [s2.validPositions[e4]] : s2.tests[e4]).every((function(e5, s3) {
2350
- return e5.mloc[l5] ? (i4 = e5, false) : (Object.values(e5.mloc).filter((function(e6) {
2357
+ var i4, a2, r5, o3, l5 = "".concat(t5, ":").concat(n5);
2358
+ if ((s2.tests[e4] || s2.validPositions[e4]) && (s2.validPositions[e4] ? [s2.validPositions[e4]] : s2.tests[e4]).every(function(e5, s3) {
2359
+ return e5.mloc[l5] ? (i4 = e5, false) : (Object.values(e5.mloc).filter(function(e6) {
2351
2360
  return e6[n5] == t5;
2352
- })).every((function(t6) {
2361
+ }).every(function(t6) {
2353
2362
  var n6 = t6.join("").split(":")[0];
2354
- for (a5 = a5 || n6; n6.length < a5.length; ) n6 += "0";
2363
+ for (r5 = r5 || n6; n6.length < r5.length; ) n6 += "0";
2355
2364
  var l6 = Number(n6);
2356
- return (void 0 === i4 || l6 < r2) && (r2 = l6, i4 = e5, o3 = Object.entries(e5.mloc).find((function(e6) {
2365
+ return (void 0 === i4 || l6 < a2) && (a2 = l6, i4 = e5, o3 = Object.entries(e5.mloc).find(function(e6) {
2357
2366
  return e6[1].toString() === t6.toString();
2358
- }))[0]), true;
2359
- })), true);
2360
- })), i4) {
2367
+ })[0]), true;
2368
+ }), true);
2369
+ }), i4) {
2361
2370
  void 0 === n5 && (l5 = "".concat(t5, ":").concat(i4.alternation));
2362
2371
  var c3 = "".concat(i4.locator[i4.alternation], ":").concat(i4.alternation), u3 = i4.mloc[o3 || l5] || i4.mloc[c3] || i4.locator;
2363
2372
  if (-1 !== u3[u3.length - 1].toString().indexOf(":")) u3.pop();
@@ -2366,14 +2375,14 @@ var require_inputmask = __commonJS({
2366
2375
  }
2367
2376
  return void 0 !== n5 ? P2(e4, t5) : void 0;
2368
2377
  }
2369
- function w2(t5, n5) {
2378
+ function O2(t5, n5) {
2370
2379
  return true === t5.match.static && true !== n5.match.static && n5.match.fn.test(t5.match.def, s2, e3, false, c2, false);
2371
2380
  }
2372
- function O2(e4, t5) {
2381
+ function w2(e4, t5) {
2373
2382
  var n5 = e4.alternation, i4 = void 0 === t5 || n5 <= t5.alternation && -1 === e4.locator[n5].toString().indexOf(t5.locator[n5]);
2374
2383
  if (!i4 && n5 > t5.alternation) {
2375
- for (var r2 = 0; r2 < n5; r2++) if (e4.locator[r2] !== t5.locator[r2]) {
2376
- n5 = r2, i4 = true;
2384
+ for (var a2 = 0; a2 < n5; a2++) if (e4.locator[a2] !== t5.locator[a2]) {
2385
+ n5 = a2, i4 = true;
2377
2386
  break;
2378
2387
  }
2379
2388
  }
@@ -2383,14 +2392,14 @@ var require_inputmask = __commonJS({
2383
2392
  if (void 0 !== i5) {
2384
2393
  if (void 0 === t5) "string" == typeof i5 && (i5 = i5.split(",")[0]), i5 = "".concat(i5, ":").concat(n6), void 0 === e4.mloc[i5] && (e4.mloc[i5] = e4.locator.slice(), e4.mloc[i5].push(":".concat(n6)));
2385
2394
  else {
2386
- var r3 = 0;
2387
- for (var a5 in t5.mloc) if (void 0 === e4.mloc[a5]) e4.mloc[a5] = t5.mloc[a5];
2395
+ var a3 = 0;
2396
+ for (var r5 in t5.mloc) if (void 0 === e4.mloc[r5]) e4.mloc[r5] = t5.mloc[r5];
2388
2397
  else do {
2389
- if (void 0 === e4.mloc[a5 + r3]) {
2390
- e4.mloc[a5 + r3] = t5.mloc[a5];
2398
+ if (void 0 === e4.mloc[r5 + a3]) {
2399
+ e4.mloc[r5 + a3] = t5.mloc[r5];
2391
2400
  break;
2392
2401
  }
2393
- } while (void 0 !== e4.mloc[a5 + r3++]);
2402
+ } while (void 0 !== e4.mloc[r5 + a3++]);
2394
2403
  e4.locator = S(p2, [e4, t5]);
2395
2404
  }
2396
2405
  return e4.alternation > n6 && (e4.alternation = n6), true;
@@ -2399,28 +2408,28 @@ var require_inputmask = __commonJS({
2399
2408
  })(n5);
2400
2409
  }
2401
2410
  if (p2 > e3 + c2._maxTestPos) throw new Error("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. ".concat(s2.mask));
2402
- if (p2 === e3 && void 0 === a4.matches) {
2411
+ if (p2 === e3 && void 0 === r4.matches) {
2403
2412
  if (m2.push({
2404
- match: a4,
2413
+ match: r4,
2405
2414
  locator: l4.reverse(),
2406
2415
  cd: y,
2407
2416
  mloc: {}
2408
- }), !a4.optionality || void 0 !== d3 || !(c2.definitions && c2.definitions[a4.nativeDef] && c2.definitions[a4.nativeDef].optional || r.default.prototype.definitions[a4.nativeDef] && r.default.prototype.definitions[a4.nativeDef].optional)) return true;
2417
+ }), !r4.optionality || void 0 !== d3 || !(c2.definitions && c2.definitions[r4.nativeDef] && c2.definitions[r4.nativeDef].optional || a.default.prototype.definitions[r4.nativeDef] && a.default.prototype.definitions[r4.nativeDef].optional)) return true;
2409
2418
  g = true, p2 = e3;
2410
- } else if (void 0 !== a4.matches) {
2411
- if (a4.isGroup && d3 !== a4) return (function() {
2412
- if (a4 = f3(t4.matches[t4.matches.indexOf(a4) + 1], l4, d3)) return true;
2419
+ } else if (void 0 !== r4.matches) {
2420
+ if (r4.isGroup && d3 !== r4) return (function() {
2421
+ if (r4 = f3(t4.matches[t4.matches.indexOf(r4) + 1], l4, d3)) return true;
2413
2422
  })();
2414
- if (a4.isOptional) return (function() {
2415
- var t5 = a4, r2 = m2.length;
2416
- if (a4 = k(a4, n4, l4, d3), m2.length > 0) {
2417
- if (m2.forEach((function(e4, t6) {
2418
- t6 >= r2 && (e4.match.optionality = e4.match.optionality ? e4.match.optionality + 1 : 1);
2419
- })), i3 = m2[m2.length - 1].match, void 0 !== d3 || !h4(i3, t5)) return a4;
2423
+ if (r4.isOptional) return (function() {
2424
+ var t5 = r4, a2 = m2.length;
2425
+ if (r4 = k(r4, n4, l4, d3), m2.length > 0) {
2426
+ if (m2.forEach(function(e4, t6) {
2427
+ t6 >= a2 && (e4.match.optionality = e4.match.optionality ? e4.match.optionality + 1 : 1);
2428
+ }), i3 = m2[m2.length - 1].match, void 0 !== d3 || !h4(i3, t5)) return r4;
2420
2429
  g = true, p2 = e3;
2421
2430
  }
2422
2431
  })();
2423
- if (a4.isAlternator) return (function() {
2432
+ if (r4.isAlternator) return (function() {
2424
2433
  function i4(e4) {
2425
2434
  for (var t5 = 0, n5 = 0; n5 < e4.length; n5++) {
2426
2435
  var i5 = e4[n5];
@@ -2428,12 +2437,12 @@ var require_inputmask = __commonJS({
2428
2437
  }
2429
2438
  return t5;
2430
2439
  }
2431
- function r2(e4) {
2432
- for (var t5, n5 = e4.matches[0].matches ? i4(e4.matches[0].matches) : 1, r3 = 0; r3 < e4.matches.length && n5 === (t5 = e4.matches[r3].matches ? i4(e4.matches[r3].matches) : 1); r3++) ;
2440
+ function a2(e4) {
2441
+ for (var t5, n5 = e4.matches[0].matches ? i4(e4.matches[0].matches) : 1, a3 = 0; a3 < e4.matches.length && n5 === (t5 = e4.matches[a3].matches ? i4(e4.matches[a3].matches) : 1); a3++) ;
2433
2442
  return n5 !== t5;
2434
2443
  }
2435
2444
  o2.hasAlternator = true;
2436
- var h5, y2 = a4, k2 = [], x2 = m2.slice(), S2 = l4.length, M = n4.length > 0 ? n4.shift() : -1;
2445
+ var h5, y2 = r4, k2 = [], x2 = m2.slice(), S2 = l4.length, M = n4.length > 0 ? n4.shift() : -1;
2437
2446
  if (-1 === M || "string" == typeof M) {
2438
2447
  var _, E = p2, j = n4.slice(), T = [];
2439
2448
  if ("string" == typeof M) T = M.split(",");
@@ -2446,36 +2455,36 @@ var require_inputmask = __commonJS({
2446
2455
  0 === T.length && (delete s2.excludes[e3], T = A);
2447
2456
  }
2448
2457
  (true === c2.keepStatic || isFinite(parseInt(c2.keepStatic)) && E >= c2.keepStatic) && (T = T.slice(0, 1));
2449
- for (var R = 0; R < T.length; R++) {
2450
- _ = parseInt(T[R]), m2 = [], n4 = "string" == typeof M && P2(p2, _, S2) || j.slice();
2451
- var I = y2.matches[_];
2452
- if (I && f3(I, [_].concat(l4), d3)) a4 = true;
2453
- else if (b = r2(y2), I && I.matches && I.matches.length > y2.matches[0].matches.length) break;
2458
+ for (var I = 0; I < T.length; I++) {
2459
+ _ = parseInt(T[I]), m2 = [], n4 = "string" == typeof M && P2(p2, _, S2) || j.slice();
2460
+ var R = y2.matches[_];
2461
+ if (R && f3(R, [_].concat(l4), d3)) r4 = true;
2462
+ else if (b = a2(y2), R && R.matches && R.matches.length > y2.matches[0].matches.length) break;
2454
2463
  h5 = m2.slice(), p2 = E, m2 = [];
2455
2464
  for (var L = 0; L < h5.length; L++) {
2456
2465
  var F = h5[L], N = false;
2457
- F.alternation = F.alternation || S2, O2(F);
2466
+ F.alternation = F.alternation || S2, w2(F);
2458
2467
  for (var V = 0; V < k2.length; V++) {
2459
2468
  var G = k2[V];
2460
2469
  if ("string" != typeof M || void 0 !== F.alternation && -1 !== M.indexOf(F.locator[F.alternation].toString())) {
2461
2470
  if (F.match.nativeDef === G.match.nativeDef) {
2462
- N = true, O2(G, F);
2471
+ N = true, w2(G, F);
2463
2472
  break;
2464
2473
  }
2465
2474
  if (v(F, G, c2)) {
2466
- O2(F, G) && (N = true, k2.splice(k2.indexOf(G), 0, F));
2475
+ w2(F, G) && (N = true, k2.splice(k2.indexOf(G), 0, F));
2467
2476
  break;
2468
2477
  }
2469
2478
  if (v(G, F, c2)) {
2470
- O2(G, F);
2479
+ w2(G, F);
2471
2480
  break;
2472
2481
  }
2473
- if (w2(F, G)) {
2474
- O2(F, G) && (N = true, k2.splice(k2.indexOf(G), 0, F));
2482
+ if (O2(F, G)) {
2483
+ w2(F, G) && (N = true, k2.splice(k2.indexOf(G), 0, F));
2475
2484
  break;
2476
2485
  }
2477
- if (w2(G, F)) {
2478
- O2(G, F), G.match.optionality && void 0 === u2.inputmask.userOptions.keepStatic && (c2.keepStatic = E);
2486
+ if (O2(G, F)) {
2487
+ w2(G, F), G.match.optionality && void 0 === u2.inputmask.userOptions.keepStatic && (c2.keepStatic = E);
2479
2488
  break;
2480
2489
  }
2481
2490
  }
@@ -2483,56 +2492,56 @@ var require_inputmask = __commonJS({
2483
2492
  N || k2.push(F);
2484
2493
  }
2485
2494
  }
2486
- m2 = x2.concat(k2), p2 = e3, g = m2.length > 0 && b, a4 = k2.length > 0 && !b, b && g && !a4 && m2.forEach((function(e4, t5) {
2495
+ m2 = x2.concat(k2), p2 = e3, g = m2.length > 0 && b, r4 = k2.length > 0 && !b, b && g && !r4 && m2.forEach(function(e4, t5) {
2487
2496
  e4.unMatchedAlternationStopped = true;
2488
- })), n4 = j.slice();
2489
- } else a4 = f3(y2.matches[M] || t4.matches[M], [M].concat(l4), d3);
2490
- if (a4) return true;
2497
+ }), n4 = j.slice();
2498
+ } else r4 = f3(y2.matches[M] || t4.matches[M], [M].concat(l4), d3);
2499
+ if (r4) return true;
2491
2500
  })();
2492
- if (a4.isQuantifier && d3 !== t4.matches[t4.matches.indexOf(a4) - 1]) return (function() {
2493
- for (var r2, o3 = a4, u3 = false, d4 = function(n5) {
2494
- var r3 = t4.matches[t4.matches.indexOf(o3) - 1];
2495
- if (a4 = f3(r3, [n5].concat(l4), r3)) return m2.forEach((function(t5, l5) {
2496
- (i3 = x(r3, t5.match) ? t5.match : m2[m2.length - 1].match).optionalQuantifier = n5 >= o3.quantifier.min, i3.jit = (n5 + 1) * (r3.matches.indexOf(i3) + 1) > o3.quantifier.jit, i3.optionalQuantifier && h4(i3, r3) && (g = true, p2 = e3, c2.greedy && null == s2.validPositions[e3 - 1] && n5 > o3.quantifier.min && -1 != ["*", "+"].indexOf(o3.quantifier.max) && (m2.pop(), y = void 0), u3 = true, a4 = false), !u3 && i3.jit && (s2.jitOffset[e3] = r3.matches.length - r3.matches.indexOf(i3));
2497
- })), u3 ? 0 : {
2501
+ if (r4.isQuantifier && d3 !== t4.matches[t4.matches.indexOf(r4) - 1]) return (function() {
2502
+ for (var a2, o3 = r4, u3 = false, d4 = function(n5) {
2503
+ var a3 = t4.matches[t4.matches.indexOf(o3) - 1];
2504
+ if (r4 = f3(a3, [n5].concat(l4), a3)) return m2.forEach(function(t5, l5) {
2505
+ (i3 = x(a3, t5.match) ? t5.match : m2[m2.length - 1].match).optionalQuantifier = n5 >= o3.quantifier.min, i3.jit = (n5 + 1) * (a3.matches.indexOf(i3) + 1) > o3.quantifier.jit, i3.optionalQuantifier && h4(i3, a3) && (g = true, p2 = e3, c2.greedy && null == s2.validPositions[e3 - 1] && n5 > o3.quantifier.min && -1 != ["*", "+"].indexOf(o3.quantifier.max) && (m2.pop(), y = void 0), u3 = true, r4 = false), !u3 && i3.jit && (s2.jitOffset[e3] = a3.matches.length - a3.matches.indexOf(i3));
2506
+ }), u3 ? 0 : {
2498
2507
  v: true
2499
2508
  };
2500
- }, v2 = n4.length > 0 ? n4.shift() : 0; v2 < (isNaN(o3.quantifier.max) ? v2 + 1 : o3.quantifier.max) && p2 <= e3 && 0 !== (r2 = d4(v2)); v2++) if (r2) return r2.v;
2509
+ }, v2 = n4.length > 0 ? n4.shift() : 0; v2 < (isNaN(o3.quantifier.max) ? v2 + 1 : o3.quantifier.max) && p2 <= e3 && 0 !== (a2 = d4(v2)); v2++) if (a2) return a2.v;
2501
2510
  })();
2502
- if (a4 = k(a4, n4, l4, d3)) return true;
2511
+ if (r4 = k(r4, n4, l4, d3)) return true;
2503
2512
  } else p2++;
2504
2513
  }
2505
2514
  for (var d2 = n4.length > 0 ? n4.shift() : 0; d2 < t4.matches.length; d2++) if (true !== t4.matches[d2].isQuantifier) {
2506
- var h3 = f3(t4.matches[d2], [d2].concat(a3), l3);
2515
+ var h3 = f3(t4.matches[d2], [d2].concat(r3), l3);
2507
2516
  if (h3 && p2 === e3) return h3;
2508
2517
  if (p2 > e3) break;
2509
2518
  }
2510
2519
  }
2511
2520
  function x(e4, t4) {
2512
2521
  var n4 = -1 != e4.matches.indexOf(t4);
2513
- return n4 || e4.matches.forEach((function(e5, i4) {
2522
+ return n4 || e4.matches.forEach(function(e5, i4) {
2514
2523
  void 0 === e5.matches || n4 || (n4 = x(e5, t4));
2515
- })), n4;
2524
+ }), n4;
2516
2525
  }
2517
2526
  function S(e4, t4) {
2518
2527
  var n4 = [];
2519
- return Array.isArray(t4) || (t4 = [t4]), t4.length > 0 && (void 0 === t4[0].alternation || true === c2.keepStatic || isFinite(parseInt(c2.keepStatic)) && e4 >= c2.keepStatic ? 0 === (n4 = d.call(o2, e4, t4.slice()).locator.slice()).length && (n4 = t4[0].locator.slice()) : t4.forEach((function(e5) {
2520
- Object.values(e5.mloc).forEach((function(e6) {
2521
- e6.forEach((function(e7, t5) {
2528
+ return Array.isArray(t4) || (t4 = [t4]), t4.length > 0 && (void 0 === t4[0].alternation || true === c2.keepStatic || isFinite(parseInt(c2.keepStatic)) && e4 >= c2.keepStatic ? 0 === (n4 = d.call(o2, e4, t4.slice()).locator.slice()).length && (n4 = t4[0].locator.slice()) : t4.forEach(function(e5) {
2529
+ Object.values(e5.mloc).forEach(function(e6) {
2530
+ e6.forEach(function(e7, t5) {
2522
2531
  var i4 = n4[t5];
2523
2532
  e7.toString().includes(":") || i4 && i4.toString().includes(":") || (void 0 === i4 ? n4[t5] = e7 : i4.toString().includes(e7) || (n4[t5] = n4[t5] + "," + e7));
2524
- }));
2525
- }));
2526
- }))), n4;
2533
+ });
2534
+ });
2535
+ })), n4;
2527
2536
  }
2528
2537
  if (e3 > -1) {
2529
2538
  if (void 0 === t3) {
2530
- for (var P, w = e3 - 1; void 0 === (P = s2.validPositions[w] || s2.tests[w]) && w > -1; ) w--;
2531
- void 0 !== P && w > -1 && (h2 = S(w, P), y = h2.join(""), p2 = w);
2539
+ for (var P, O = e3 - 1; void 0 === (P = s2.validPositions[O] || s2.tests[O]) && O > -1; ) O--;
2540
+ void 0 !== P && O > -1 && (h2 = S(O, P), y = h2.join(""), p2 = O);
2532
2541
  }
2533
2542
  if (s2.tests[e3] && s2.tests[e3][0].cd === y) return s2.tests[e3];
2534
- for (var O = h2.shift(); O < f2.length; O++) {
2535
- if (k(f2[O], h2, [O]) && p2 === e3 || p2 > e3) break;
2543
+ for (var w = h2.shift(); w < f2.length; w++) {
2544
+ if (k(f2[w], h2, [w]) && p2 === e3 || p2 > e3) break;
2536
2545
  }
2537
2546
  }
2538
2547
  return (0 === m2.length || g) && m2.push({
@@ -2544,14 +2553,14 @@ var require_inputmask = __commonJS({
2544
2553
  def: "",
2545
2554
  placeholder: ""
2546
2555
  },
2547
- locator: b && 0 === m2.filter((function(e4) {
2556
+ locator: b && 0 === m2.filter(function(e4) {
2548
2557
  return true !== e4.unMatchedAlternationStopped;
2549
- })).length ? [0] : [],
2558
+ }).length ? [0] : [],
2550
2559
  mloc: {},
2551
2560
  cd: y
2552
- }), void 0 !== t3 && s2.tests[e3] ? a2 = l2.extend(true, [], m2) : (s2.tests[e3] = l2.extend(true, [], m2), a2 = s2.tests[e3]), m2.forEach((function(e4) {
2561
+ }), void 0 !== t3 && s2.tests[e3] ? r2 = l2.extend(true, [], m2) : (s2.tests[e3] = l2.extend(true, [], m2), r2 = s2.tests[e3]), m2.forEach(function(e4) {
2553
2562
  e4.match.optionality = e4.match.defOptionality || false;
2554
- })), a2;
2563
+ }), r2;
2555
2564
  }
2556
2565
  },
2557
2566
  6032: function(e2, t2) {
@@ -2568,42 +2577,42 @@ var require_inputmask = __commonJS({
2568
2577
  })(e3) || (function(e4, t4) {
2569
2578
  var n3 = null == e4 ? null : "undefined" != typeof Symbol && e4[Symbol.iterator] || e4["@@iterator"];
2570
2579
  if (null != n3) {
2571
- var i3, r2, a2, o2, l2 = [], s2 = true, c = false;
2580
+ var i3, a2, r2, o2, l2 = [], s2 = true, c = false;
2572
2581
  try {
2573
- if (a2 = (n3 = n3.call(e4)).next, 0 === t4) ; else for (; !(s2 = (i3 = a2.call(n3)).done) && (l2.push(i3.value), l2.length !== t4); s2 = true) ;
2582
+ if (r2 = (n3 = n3.call(e4)).next, 0 === t4) ; else for (; !(s2 = (i3 = r2.call(n3)).done) && (l2.push(i3.value), l2.length !== t4); s2 = true) ;
2574
2583
  } catch (e5) {
2575
- c = true, r2 = e5;
2584
+ c = true, a2 = e5;
2576
2585
  } finally {
2577
2586
  try {
2578
2587
  if (!s2 && null != n3.return && (o2 = n3.return(), Object(o2) !== o2)) return;
2579
2588
  } finally {
2580
- if (c) throw r2;
2589
+ if (c) throw a2;
2581
2590
  }
2582
2591
  }
2583
2592
  return l2;
2584
2593
  }
2585
2594
  })(e3, t3) || (function(e4, t4) {
2586
2595
  if (e4) {
2587
- if ("string" == typeof e4) return r(e4, t4);
2596
+ if ("string" == typeof e4) return a(e4, t4);
2588
2597
  var n3 = {}.toString.call(e4).slice(8, -1);
2589
- return "Object" === n3 && e4.constructor && (n3 = e4.constructor.name), "Map" === n3 || "Set" === n3 ? Array.from(e4) : "Arguments" === n3 || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n3) ? r(e4, t4) : void 0;
2598
+ return "Object" === n3 && e4.constructor && (n3 = e4.constructor.name), "Map" === n3 || "Set" === n3 ? Array.from(e4) : "Arguments" === n3 || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n3) ? a(e4, t4) : void 0;
2590
2599
  }
2591
2600
  })(e3, t3) || (function() {
2592
2601
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2593
2602
  })();
2594
2603
  }
2595
- function r(e3, t3) {
2604
+ function a(e3, t3) {
2596
2605
  (null == t3 || t3 > e3.length) && (t3 = e3.length);
2597
2606
  for (var n3 = 0, i3 = Array(t3); n3 < t3; n3++) i3[n3] = e3[n3];
2598
2607
  return i3;
2599
2608
  }
2600
- function a(e3, t3) {
2609
+ function r(e3, t3) {
2601
2610
  var n3 = Object.keys(e3);
2602
2611
  if (Object.getOwnPropertySymbols) {
2603
2612
  var i3 = Object.getOwnPropertySymbols(e3);
2604
- t3 && (i3 = i3.filter((function(t4) {
2613
+ t3 && (i3 = i3.filter(function(t4) {
2605
2614
  return Object.getOwnPropertyDescriptor(e3, t4).enumerable;
2606
- }))), n3.push.apply(n3, i3);
2615
+ })), n3.push.apply(n3, i3);
2607
2616
  }
2608
2617
  return n3;
2609
2618
  }
@@ -2613,8 +2622,8 @@ var require_inputmask = __commonJS({
2613
2622
  if ("object" != n2(e5) || !e5) return e5;
2614
2623
  var i4 = e5[Symbol.toPrimitive];
2615
2624
  if (void 0 !== i4) {
2616
- var r2 = i4.call(e5, t5);
2617
- if ("object" != n2(r2)) return r2;
2625
+ var a2 = i4.call(e5, t5);
2626
+ if ("object" != n2(a2)) return a2;
2618
2627
  throw new TypeError("@@toPrimitive must return a primitive value.");
2619
2628
  }
2620
2629
  return ("string" === t5 ? String : Number)(e5);
@@ -2637,11 +2646,11 @@ var require_inputmask = __commonJS({
2637
2646
  var l = t2.keyCode = (function(e3) {
2638
2647
  for (var t3 = 1; t3 < arguments.length; t3++) {
2639
2648
  var n3 = null != arguments[t3] ? arguments[t3] : {};
2640
- t3 % 2 ? a(Object(n3), true).forEach((function(t4) {
2649
+ t3 % 2 ? r(Object(n3), true).forEach(function(t4) {
2641
2650
  o(e3, t4, n3[t4]);
2642
- })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e3, Object.getOwnPropertyDescriptors(n3)) : a(Object(n3)).forEach((function(t4) {
2651
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e3, Object.getOwnPropertyDescriptors(n3)) : r(Object(n3)).forEach(function(t4) {
2643
2652
  Object.defineProperty(e3, t4, Object.getOwnPropertyDescriptor(n3, t4));
2644
- }));
2653
+ });
2645
2654
  }
2646
2655
  return e3;
2647
2656
  })({
@@ -2692,285 +2701,117 @@ var require_inputmask = __commonJS({
2692
2701
  ScrollLock: 145,
2693
2702
  Tab: 9,
2694
2703
  Unidentified: 229
2695
- }), s = Object.entries(l).reduce((function(e3, t3) {
2696
- var n3 = i2(t3, 2), r2 = n3[0], a2 = n3[1];
2697
- return e3[a2] = void 0 === e3[a2] ? r2 : e3[a2], e3;
2698
- }), {});
2699
- t2.keys = Object.entries(l).reduce((function(e3, t3) {
2700
- var n3 = i2(t3, 2), r2 = n3[0];
2704
+ }), s = Object.entries(l).reduce(function(e3, t3) {
2705
+ var n3 = i2(t3, 2), a2 = n3[0], r2 = n3[1];
2706
+ return e3[r2] = void 0 === e3[r2] ? a2 : e3[r2], e3;
2707
+ }, {});
2708
+ t2.keys = Object.entries(l).reduce(function(e3, t3) {
2709
+ var n3 = i2(t3, 2), a2 = n3[0];
2701
2710
  n3[1];
2702
- return e3[r2] = "Space" === r2 ? " " : r2, e3;
2703
- }), {});
2711
+ return e3[a2] = "Space" === a2 ? " " : a2, e3;
2712
+ }, {});
2704
2713
  },
2705
2714
  6047: function(e2, t2, n2) {
2706
2715
  Object.defineProperty(t2, "__esModule", {
2707
2716
  value: true
2708
2717
  }), t2.EventHandlers = void 0;
2709
- var i2, r = n2(4351), a = (i2 = n2(6266)) && i2.__esModule ? i2 : {
2718
+ var i2, a = n2(4351), r = (i2 = n2(6266)) && i2.__esModule ? i2 : {
2710
2719
  default: i2
2711
2720
  }, o = n2(1507), l = n2(6032), s = n2(7539), c = n2(7687), u = n2(5895);
2712
- function f(e3) {
2713
- return f = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e4) {
2714
- return typeof e4;
2715
- } : function(e4) {
2716
- return e4 && "function" == typeof Symbol && e4.constructor === Symbol && e4 !== Symbol.prototype ? "symbol" : typeof e4;
2717
- }, f(e3);
2718
- }
2719
- function p() {
2720
- p = function() {
2721
- return t3;
2722
- };
2723
- var e3, t3 = {}, n3 = Object.prototype, i3 = n3.hasOwnProperty, r2 = "function" == typeof Symbol ? Symbol : {}, a2 = r2.iterator || "@@iterator", o2 = r2.asyncIterator || "@@asyncIterator", l2 = r2.toStringTag || "@@toStringTag";
2724
- function s2(e4, t4, n4, i4) {
2725
- return Object.defineProperty(e4, t4, {
2726
- value: n4,
2727
- enumerable: !i4,
2728
- configurable: !i4,
2729
- writable: !i4
2730
- });
2731
- }
2732
- try {
2733
- s2({}, "");
2734
- } catch (e4) {
2735
- s2 = function(e5, t4, n4) {
2736
- return e5[t4] = n4;
2737
- };
2738
- }
2739
- function c2(t4, n4, i4, r3) {
2740
- var a3 = n4 && n4.prototype instanceof h2 ? n4 : h2, o3 = Object.create(a3.prototype);
2741
- return s2(o3, "_invoke", /* @__PURE__ */ (function(t5, n5, i5) {
2742
- var r4 = 1;
2743
- return function(a4, o4) {
2744
- if (3 === r4) throw Error("Generator is already running");
2745
- if (4 === r4) {
2746
- if ("throw" === a4) throw o4;
2747
- return {
2748
- value: e3,
2749
- done: true
2750
- };
2721
+ function f() {
2722
+ var e3, t3, n3 = "function" == typeof Symbol ? Symbol : {}, i3 = n3.iterator || "@@iterator", a2 = n3.toStringTag || "@@toStringTag";
2723
+ function r2(n4, i4, a3, r3) {
2724
+ var s3 = i4 && i4.prototype instanceof l2 ? i4 : l2, c3 = Object.create(s3.prototype);
2725
+ return p(c3, "_invoke", (function(n5, i5, a4) {
2726
+ var r4, l3, s4, c4 = 0, u3 = a4 || [], f2 = false, p2 = {
2727
+ p: 0,
2728
+ n: 0,
2729
+ v: e3,
2730
+ a: d3,
2731
+ f: d3.bind(e3, 4),
2732
+ d: function(t4, n6) {
2733
+ return r4 = t4, l3 = 0, s4 = e3, p2.n = n6, o2;
2751
2734
  }
2752
- for (i5.method = a4, i5.arg = o4; ; ) {
2753
- var l3 = i5.delegate;
2754
- if (l3) {
2755
- var s3 = P(l3, i5);
2756
- if (s3) {
2757
- if (s3 === d2) continue;
2758
- return s3;
2759
- }
2760
- }
2761
- if ("next" === i5.method) i5.sent = i5._sent = i5.arg;
2762
- else if ("throw" === i5.method) {
2763
- if (1 === r4) throw r4 = 4, i5.arg;
2764
- i5.dispatchException(i5.arg);
2765
- } else "return" === i5.method && i5.abrupt("return", i5.arg);
2766
- r4 = 3;
2767
- var c3 = u2(t5, n5, i5);
2768
- if ("normal" === c3.type) {
2769
- if (r4 = i5.done ? 4 : 2, c3.arg === d2) continue;
2770
- return {
2771
- value: c3.arg,
2772
- done: i5.done
2773
- };
2735
+ };
2736
+ function d3(n6, i6) {
2737
+ for (l3 = n6, s4 = i6, t3 = 0; !f2 && c4 && !a5 && t3 < u3.length; t3++) {
2738
+ var a5, r5 = u3[t3], d4 = p2.p, h3 = r5[2];
2739
+ n6 > 3 ? (a5 = h3 === i6) && (s4 = r5[(l3 = r5[4]) ? 5 : (l3 = 3, 3)], r5[4] = r5[5] = e3) : r5[0] <= d4 && ((a5 = n6 < 2 && d4 < r5[1]) ? (l3 = 0, p2.v = i6, p2.n = r5[1]) : d4 < h3 && (a5 = n6 < 3 || r5[0] > i6 || i6 > h3) && (r5[4] = n6, r5[5] = i6, p2.n = h3, l3 = 0));
2740
+ }
2741
+ if (a5 || n6 > 1) return o2;
2742
+ throw f2 = true, i6;
2743
+ }
2744
+ return function(a5, u4, h3) {
2745
+ if (c4 > 1) throw TypeError("Generator is already running");
2746
+ for (f2 && 1 === u4 && d3(u4, h3), l3 = u4, s4 = h3; (t3 = l3 < 2 ? e3 : s4) || !f2; ) {
2747
+ r4 || (l3 ? l3 < 3 ? (l3 > 1 && (p2.n = -1), d3(l3, s4)) : p2.n = s4 : p2.v = s4);
2748
+ try {
2749
+ if (c4 = 2, r4) {
2750
+ if (l3 || (a5 = "next"), t3 = r4[a5]) {
2751
+ if (!(t3 = t3.call(r4, s4))) throw TypeError("iterator result is not an object");
2752
+ if (!t3.done) return t3;
2753
+ s4 = t3.value, l3 < 2 && (l3 = 0);
2754
+ } else 1 === l3 && (t3 = r4.return) && t3.call(r4), l3 < 2 && (s4 = TypeError("The iterator does not provide a '" + a5 + "' method"), l3 = 1);
2755
+ r4 = e3;
2756
+ } else if ((t3 = (f2 = p2.n < 0) ? s4 : n5.call(i5, p2)) !== o2) break;
2757
+ } catch (t4) {
2758
+ r4 = e3, l3 = 1, s4 = t4;
2759
+ } finally {
2760
+ c4 = 1;
2774
2761
  }
2775
- "throw" === c3.type && (r4 = 4, i5.method = "throw", i5.arg = c3.arg);
2776
2762
  }
2763
+ return {
2764
+ value: t3,
2765
+ done: f2
2766
+ };
2777
2767
  };
2778
- })(t4, i4, new M(r3 || [])), true), o3;
2779
- }
2780
- function u2(e4, t4, n4) {
2781
- try {
2782
- return {
2783
- type: "normal",
2784
- arg: e4.call(t4, n4)
2785
- };
2786
- } catch (e5) {
2787
- return {
2788
- type: "throw",
2789
- arg: e5
2790
- };
2791
- }
2768
+ })(n4, a3, r3), true), c3;
2792
2769
  }
2793
- t3.wrap = c2;
2794
- var d2 = {};
2795
- function h2() {
2770
+ var o2 = {};
2771
+ function l2() {
2796
2772
  }
2797
- function v2() {
2773
+ function s2() {
2798
2774
  }
2799
- function m2() {
2775
+ function c2() {
2800
2776
  }
2801
- var g2 = {};
2802
- s2(g2, a2, (function() {
2777
+ t3 = Object.getPrototypeOf;
2778
+ var u2 = [][i3] ? t3(t3([][i3]())) : (p(t3 = {}, i3, function() {
2803
2779
  return this;
2804
- }));
2805
- var y2 = Object.getPrototypeOf, b = y2 && y2(y2(_([])));
2806
- b && b !== n3 && i3.call(b, a2) && (g2 = b);
2807
- var k = m2.prototype = h2.prototype = Object.create(g2);
2808
- function x(e4) {
2809
- ["next", "throw", "return"].forEach((function(t4) {
2810
- s2(e4, t4, (function(e5) {
2811
- return this._invoke(t4, e5);
2812
- }));
2813
- }));
2780
+ }), t3), d2 = c2.prototype = l2.prototype = Object.create(u2);
2781
+ function h2(e4) {
2782
+ return Object.setPrototypeOf ? Object.setPrototypeOf(e4, c2) : (e4.__proto__ = c2, p(e4, a2, "GeneratorFunction")), e4.prototype = Object.create(d2), e4;
2814
2783
  }
2815
- function S(e4, t4) {
2816
- function n4(r4, a3, o3, l3) {
2817
- var s3 = u2(e4[r4], e4, a3);
2818
- if ("throw" !== s3.type) {
2819
- var c3 = s3.arg, p2 = c3.value;
2820
- return p2 && "object" == f(p2) && i3.call(p2, "__await") ? t4.resolve(p2.__await).then((function(e5) {
2821
- n4("next", e5, o3, l3);
2822
- }), (function(e5) {
2823
- n4("throw", e5, o3, l3);
2824
- })) : t4.resolve(p2).then((function(e5) {
2825
- c3.value = e5, o3(c3);
2826
- }), (function(e5) {
2827
- return n4("throw", e5, o3, l3);
2828
- }));
2829
- }
2830
- l3(s3.arg);
2831
- }
2832
- var r3;
2833
- s2(this, "_invoke", (function(e5, i4) {
2834
- function a3() {
2835
- return new t4((function(t5, r4) {
2836
- n4(e5, i4, t5, r4);
2837
- }));
2838
- }
2839
- return r3 = r3 ? r3.then(a3, a3) : a3();
2840
- }), true);
2841
- }
2842
- function P(t4, n4) {
2843
- var i4 = n4.method, r3 = t4.i[i4];
2844
- if (r3 === e3) return n4.delegate = null, "throw" === i4 && t4.i.return && (n4.method = "return", n4.arg = e3, P(t4, n4), "throw" === n4.method) || "return" !== i4 && (n4.method = "throw", n4.arg = new TypeError("The iterator does not provide a '" + i4 + "' method")), d2;
2845
- var a3 = u2(r3, t4.i, n4.arg);
2846
- if ("throw" === a3.type) return n4.method = "throw", n4.arg = a3.arg, n4.delegate = null, d2;
2847
- var o3 = a3.arg;
2848
- return o3 ? o3.done ? (n4[t4.r] = o3.value, n4.next = t4.n, "return" !== n4.method && (n4.method = "next", n4.arg = e3), n4.delegate = null, d2) : o3 : (n4.method = "throw", n4.arg = new TypeError("iterator result is not an object"), n4.delegate = null, d2);
2849
- }
2850
- function w(e4) {
2851
- this.tryEntries.push(e4);
2852
- }
2853
- function O(t4) {
2854
- var n4 = t4[4] || {};
2855
- n4.type = "normal", n4.arg = e3, t4[4] = n4;
2856
- }
2857
- function M(e4) {
2858
- this.tryEntries = [[-1]], e4.forEach(w, this), this.reset(true);
2859
- }
2860
- function _(t4) {
2861
- if (null != t4) {
2862
- var n4 = t4[a2];
2863
- if (n4) return n4.call(t4);
2864
- if ("function" == typeof t4.next) return t4;
2865
- if (!isNaN(t4.length)) {
2866
- var r3 = -1, o3 = function n5() {
2867
- for (; ++r3 < t4.length; ) if (i3.call(t4, r3)) return n5.value = t4[r3], n5.done = false, n5;
2868
- return n5.value = e3, n5.done = true, n5;
2869
- };
2870
- return o3.next = o3;
2871
- }
2872
- }
2873
- throw new TypeError(f(t4) + " is not iterable");
2874
- }
2875
- return v2.prototype = m2, s2(k, "constructor", m2), s2(m2, "constructor", v2), v2.displayName = s2(m2, l2, "GeneratorFunction"), t3.isGeneratorFunction = function(e4) {
2876
- var t4 = "function" == typeof e4 && e4.constructor;
2877
- return !!t4 && (t4 === v2 || "GeneratorFunction" === (t4.displayName || t4.name));
2878
- }, t3.mark = function(e4) {
2879
- return Object.setPrototypeOf ? Object.setPrototypeOf(e4, m2) : (e4.__proto__ = m2, s2(e4, l2, "GeneratorFunction")), e4.prototype = Object.create(k), e4;
2880
- }, t3.awrap = function(e4) {
2881
- return {
2882
- __await: e4
2883
- };
2884
- }, x(S.prototype), s2(S.prototype, o2, (function() {
2784
+ return s2.prototype = c2, p(d2, "constructor", c2), p(c2, "constructor", s2), s2.displayName = "GeneratorFunction", p(c2, a2, "GeneratorFunction"), p(d2), p(d2, a2, "Generator"), p(d2, i3, function() {
2885
2785
  return this;
2886
- })), t3.AsyncIterator = S, t3.async = function(e4, n4, i4, r3, a3) {
2887
- void 0 === a3 && (a3 = Promise);
2888
- var o3 = new S(c2(e4, n4, i4, r3), a3);
2889
- return t3.isGeneratorFunction(n4) ? o3 : o3.next().then((function(e5) {
2890
- return e5.done ? e5.value : o3.next();
2891
- }));
2892
- }, x(k), s2(k, l2, "Generator"), s2(k, a2, (function() {
2893
- return this;
2894
- })), s2(k, "toString", (function() {
2786
+ }), p(d2, "toString", function() {
2895
2787
  return "[object Generator]";
2896
- })), t3.keys = function(e4) {
2897
- var t4 = Object(e4), n4 = [];
2898
- for (var i4 in t4) n4.unshift(i4);
2899
- return function e5() {
2900
- for (; n4.length; ) if ((i4 = n4.pop()) in t4) return e5.value = i4, e5.done = false, e5;
2901
- return e5.done = true, e5;
2788
+ }), (f = function() {
2789
+ return {
2790
+ w: r2,
2791
+ m: h2
2902
2792
  };
2903
- }, t3.values = _, M.prototype = {
2904
- constructor: M,
2905
- reset: function(t4) {
2906
- if (this.prev = this.next = 0, this.sent = this._sent = e3, this.done = false, this.delegate = null, this.method = "next", this.arg = e3, this.tryEntries.forEach(O), !t4) for (var n4 in this) "t" === n4.charAt(0) && i3.call(this, n4) && !isNaN(+n4.slice(1)) && (this[n4] = e3);
2907
- },
2908
- stop: function() {
2909
- this.done = true;
2910
- var e4 = this.tryEntries[0][4];
2911
- if ("throw" === e4.type) throw e4.arg;
2912
- return this.rval;
2913
- },
2914
- dispatchException: function(t4) {
2915
- if (this.done) throw t4;
2916
- var n4 = this;
2917
- function i4(e4) {
2918
- o3.type = "throw", o3.arg = t4, n4.next = e4;
2919
- }
2920
- for (var r3 = n4.tryEntries.length - 1; r3 >= 0; --r3) {
2921
- var a3 = this.tryEntries[r3], o3 = a3[4], l3 = this.prev, s3 = a3[1], c3 = a3[2];
2922
- if (-1 === a3[0]) return i4("end"), false;
2923
- if (!s3 && !c3) throw Error("try statement without catch or finally");
2924
- if (null != a3[0] && a3[0] <= l3) {
2925
- if (l3 < s3) return this.method = "next", this.arg = e3, i4(s3), true;
2926
- if (l3 < c3) return i4(c3), false;
2927
- }
2928
- }
2929
- },
2930
- abrupt: function(e4, t4) {
2931
- for (var n4 = this.tryEntries.length - 1; n4 >= 0; --n4) {
2932
- var i4 = this.tryEntries[n4];
2933
- if (i4[0] > -1 && i4[0] <= this.prev && this.prev < i4[2]) {
2934
- var r3 = i4;
2935
- break;
2936
- }
2937
- }
2938
- r3 && ("break" === e4 || "continue" === e4) && r3[0] <= t4 && t4 <= r3[2] && (r3 = null);
2939
- var a3 = r3 ? r3[4] : {};
2940
- return a3.type = e4, a3.arg = t4, r3 ? (this.method = "next", this.next = r3[2], d2) : this.complete(a3);
2941
- },
2942
- complete: function(e4, t4) {
2943
- if ("throw" === e4.type) throw e4.arg;
2944
- return "break" === e4.type || "continue" === e4.type ? this.next = e4.arg : "return" === e4.type ? (this.rval = this.arg = e4.arg, this.method = "return", this.next = "end") : "normal" === e4.type && t4 && (this.next = t4), d2;
2945
- },
2946
- finish: function(e4) {
2947
- for (var t4 = this.tryEntries.length - 1; t4 >= 0; --t4) {
2948
- var n4 = this.tryEntries[t4];
2949
- if (n4[2] === e4) return this.complete(n4[4], n4[3]), O(n4), d2;
2950
- }
2951
- },
2952
- catch: function(e4) {
2953
- for (var t4 = this.tryEntries.length - 1; t4 >= 0; --t4) {
2954
- var n4 = this.tryEntries[t4];
2955
- if (n4[0] === e4) {
2956
- var i4 = n4[4];
2957
- if ("throw" === i4.type) {
2958
- var r3 = i4.arg;
2959
- O(n4);
2960
- }
2961
- return r3;
2962
- }
2963
- }
2964
- throw Error("illegal catch attempt");
2965
- },
2966
- delegateYield: function(t4, n4, i4) {
2967
- return this.delegate = {
2968
- i: _(t4),
2969
- r: n4,
2970
- n: i4
2971
- }, "next" === this.method && (this.arg = e3), d2;
2793
+ })();
2794
+ }
2795
+ function p(e3, t3, n3, i3) {
2796
+ var a2 = Object.defineProperty;
2797
+ try {
2798
+ a2({}, "", {});
2799
+ } catch (e4) {
2800
+ a2 = 0;
2801
+ }
2802
+ p = function(e4, t4, n4, i4) {
2803
+ function r2(t5, n5) {
2804
+ p(e4, t5, function(e5) {
2805
+ return this._invoke(t5, n5, e5);
2806
+ });
2972
2807
  }
2973
- }, t3;
2808
+ t4 ? a2 ? a2(e4, t4, {
2809
+ value: n4,
2810
+ enumerable: !i4,
2811
+ configurable: !i4,
2812
+ writable: !i4
2813
+ }) : e4[t4] = n4 : (r2("next", 0), r2("throw", 1), r2("return", 2));
2814
+ }, p(e3, t3, n3, i3);
2974
2815
  }
2975
2816
  function d(e3, t3) {
2976
2817
  var n3 = "undefined" != typeof Symbol && e3[Symbol.iterator] || e3["@@iterator"];
@@ -2983,10 +2824,10 @@ var require_inputmask = __commonJS({
2983
2824
  }
2984
2825
  })(e3)) || t3) {
2985
2826
  n3 && (e3 = n3);
2986
- var i3 = 0, r2 = function() {
2827
+ var i3 = 0, a2 = function() {
2987
2828
  };
2988
2829
  return {
2989
- s: r2,
2830
+ s: a2,
2990
2831
  n: function() {
2991
2832
  return i3 >= e3.length ? {
2992
2833
  done: true
@@ -2998,12 +2839,12 @@ var require_inputmask = __commonJS({
2998
2839
  e: function(e4) {
2999
2840
  throw e4;
3000
2841
  },
3001
- f: r2
2842
+ f: a2
3002
2843
  };
3003
2844
  }
3004
2845
  throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
3005
2846
  }
3006
- var a2, o2 = true, l2 = false;
2847
+ var r2, o2 = true, l2 = false;
3007
2848
  return {
3008
2849
  s: function() {
3009
2850
  n3 = n3.call(e3);
@@ -3013,13 +2854,13 @@ var require_inputmask = __commonJS({
3013
2854
  return o2 = e4.done, e4;
3014
2855
  },
3015
2856
  e: function(e4) {
3016
- l2 = true, a2 = e4;
2857
+ l2 = true, r2 = e4;
3017
2858
  },
3018
2859
  f: function() {
3019
2860
  try {
3020
2861
  o2 || null == n3.return || n3.return();
3021
2862
  } finally {
3022
- if (l2) throw a2;
2863
+ if (l2) throw r2;
3023
2864
  }
3024
2865
  }
3025
2866
  };
@@ -3029,140 +2870,139 @@ var require_inputmask = __commonJS({
3029
2870
  for (var n3 = 0, i3 = Array(t3); n3 < t3; n3++) i3[n3] = e3[n3];
3030
2871
  return i3;
3031
2872
  }
3032
- function v(e3, t3, n3, i3, r2, a2, o2) {
2873
+ function v(e3, t3, n3, i3, a2, r2, o2) {
3033
2874
  try {
3034
- var l2 = e3[a2](o2), s2 = l2.value;
2875
+ var l2 = e3[r2](o2), s2 = l2.value;
3035
2876
  } catch (e4) {
3036
2877
  return void n3(e4);
3037
2878
  }
3038
- l2.done ? t3(s2) : Promise.resolve(s2).then(i3, r2);
2879
+ l2.done ? t3(s2) : Promise.resolve(s2).then(i3, a2);
3039
2880
  }
3040
2881
  var m, g, y = t2.EventHandlers = {
3041
- keyEvent: function(e3, t3, n3, i3, a2) {
2882
+ keyEvent: function(e3, t3, n3, i3, r2) {
3042
2883
  var f2 = this.inputmask, p2 = f2.opts, d2 = f2.dependencyLib, h2 = f2.maskset, v2 = this, m2 = d2(v2), g2 = e3.key, b = s.caret.call(f2, v2), k = p2.onKeyDown.call(this, e3, s.getBuffer.call(f2), b, p2);
3043
2884
  if (void 0 !== k) return k;
3044
- if (g2 === l.keys.Backspace || g2 === l.keys.Delete || r.iphone && g2 === l.keys.BACKSPACE_SAFARI || e3.ctrlKey && g2 === l.keys.x && !("oncut" in v2)) e3.preventDefault(), c.handleRemove.call(f2, v2, g2, b), (0, o.writeBuffer)(v2, s.getBuffer.call(f2, true), h2.p, e3, v2.inputmask._valueGet() !== s.getBuffer.call(f2).join(""));
2885
+ if (g2 === l.keys.Backspace || g2 === l.keys.Delete || a.iphone && g2 === l.keys.BACKSPACE_SAFARI || e3.ctrlKey && g2 === l.keys.x && !("oncut" in v2)) e3.preventDefault(), c.handleRemove.call(f2, v2, g2, b), (0, o.writeBuffer)(v2, s.getBuffer.call(f2, true), h2.p, e3, v2.inputmask._valueGet() !== s.getBuffer.call(f2).join(""));
3045
2886
  else if (g2 === l.keys.End || g2 === l.keys.PageDown) {
3046
2887
  e3.preventDefault();
3047
2888
  var x = s.seekNext.call(f2, s.getLastValidPosition.call(f2));
3048
2889
  s.caret.call(f2, v2, e3.shiftKey ? b.begin : x, x, true);
3049
- } else g2 === l.keys.Home && !e3.shiftKey || g2 === l.keys.PageUp ? (e3.preventDefault(), s.caret.call(f2, v2, 0, e3.shiftKey ? b.begin : 0, true)) : p2.undoOnEscape && g2 === l.keys.Escape && true !== e3.altKey ? ((0, o.checkVal)(v2, true, false, f2.undoValue.split("")), m2.trigger("click")) : g2 !== l.keys.Insert || e3.shiftKey || e3.ctrlKey || void 0 !== f2.userOptions.insertMode ? true === p2.tabThrough && g2 === l.keys.Tab ? true === e3.shiftKey ? (b.end = s.seekPrevious.call(f2, b.end, true), true === u.getTest.call(f2, b.end - 1).match.static && b.end--, b.begin = s.seekPrevious.call(f2, b.end, true), b.begin >= 0 && b.end > 0 && (e3.preventDefault(), s.caret.call(f2, v2, b.begin, b.end))) : (b.begin = s.seekNext.call(f2, b.begin, true), b.end = s.seekNext.call(f2, b.begin, true), b.end < h2.maskLength && b.end--, b.begin <= h2.maskLength && (e3.preventDefault(), s.caret.call(f2, v2, b.begin, b.end))) : e3.shiftKey || (p2.insertModeVisual && false === p2.insertMode ? g2 === l.keys.ArrowRight ? setTimeout((function() {
2890
+ } else g2 === l.keys.Home && !e3.shiftKey || g2 === l.keys.PageUp ? (e3.preventDefault(), s.caret.call(f2, v2, 0, e3.shiftKey ? b.begin : 0, true)) : p2.undoOnEscape && g2 === l.keys.Escape && true !== e3.altKey ? ((0, o.checkVal)(v2, true, false, f2.undoValue.split("")), m2.trigger("click")) : g2 !== l.keys.Insert || e3.shiftKey || e3.ctrlKey || void 0 !== f2.userOptions.insertMode ? true === p2.tabThrough && g2 === l.keys.Tab ? true === e3.shiftKey ? (b.end = s.seekPrevious.call(f2, b.end, true), true === u.getTest.call(f2, b.end - 1).match.static && b.end--, b.begin = s.seekPrevious.call(f2, b.end, true), b.begin >= 0 && b.end > 0 && (e3.preventDefault(), s.caret.call(f2, v2, b.begin, b.end))) : (b.begin = s.seekNext.call(f2, b.begin, true), b.end = s.seekNext.call(f2, b.begin, true), b.end < h2.maskLength && b.end--, b.begin <= h2.maskLength && (e3.preventDefault(), s.caret.call(f2, v2, b.begin, b.end))) : e3.shiftKey || (p2.insertModeVisual && false === p2.insertMode ? g2 === l.keys.ArrowRight ? setTimeout(function() {
3050
2891
  var e4 = s.caret.call(f2, v2);
3051
2892
  s.caret.call(f2, v2, e4.begin);
3052
- }), 0) : g2 === l.keys.ArrowLeft && setTimeout((function() {
2893
+ }, 0) : g2 === l.keys.ArrowLeft && setTimeout(function() {
3053
2894
  var e4 = s.translatePosition.call(f2, v2.inputmask.caretPos.begin);
3054
2895
  s.translatePosition.call(f2, v2.inputmask.caretPos.end);
3055
2896
  f2.isRTL ? s.caret.call(f2, v2, e4 + (e4 === h2.maskLength ? 0 : 1)) : s.caret.call(f2, v2, e4 - (0 === e4 ? 0 : 1));
3056
- }), 0) : void 0 === f2.keyEventHook || f2.keyEventHook(e3)) : c.isSelection.call(f2, b) ? p2.insertMode = !p2.insertMode : (p2.insertMode = !p2.insertMode, s.caret.call(f2, v2, b.begin, b.begin));
3057
- return f2.isComposing = g2 == l.keys.Process || g2 == l.keys.Unidentified, f2.ignorable = void 0 === g2 || g2.length > 1, y.keypressEvent.call(this, e3, t3, n3, i3, a2);
2897
+ }, 0) : void 0 === f2.keyEventHook || f2.keyEventHook(e3)) : c.isSelection.call(f2, b) ? p2.insertMode = !p2.insertMode : (p2.insertMode = !p2.insertMode, s.caret.call(f2, v2, b.begin, b.begin));
2898
+ return f2.isComposing = g2 === l.keys.Process || g2 === l.keys.Unidentified, f2.ignorable = void 0 === g2 || g2.length > 1, y.keypressEvent.call(f2, e3, t3, n3, i3, r2);
3058
2899
  },
3059
- keypressEvent: function(e3, t3, n3, i3, r2) {
3060
- var a2 = this.inputmask || this, u2 = a2.opts, f2 = a2.dependencyLib, p2 = a2.maskset, d2 = a2.el, h2 = f2(d2), v2 = e3.key;
3061
- if (true === t3 || e3.ctrlKey && e3.altKey && !a2.ignorable || !(e3.ctrlKey || e3.metaKey || a2.ignorable)) {
2900
+ keypressEvent: function(e3, t3, n3, i3, a2) {
2901
+ var r2 = this.inputmask || this, u2 = r2.opts, f2 = r2.dependencyLib, p2 = r2.maskset, d2 = r2.el, h2 = f2(d2), v2 = e3.key;
2902
+ if (true === t3 || e3.ctrlKey && e3.altKey && !r2.ignorable || !(e3.ctrlKey || e3.metaKey || r2.ignorable)) {
3062
2903
  if (v2) {
3063
2904
  var m2, g2 = t3 ? {
3064
- begin: r2,
3065
- end: r2
3066
- } : s.caret.call(a2, d2);
2905
+ begin: a2,
2906
+ end: a2
2907
+ } : s.caret.call(r2, d2);
3067
2908
  t3 || (v2 = u2.substitutes[v2] || v2), p2.writeOutBuffer = true;
3068
- var y2 = c.isValid.call(a2, g2, v2, i3, void 0, void 0, void 0, t3);
3069
- if (false !== y2 && (s.resetMaskSet.call(a2, true), m2 = void 0 !== y2.caret ? y2.caret : s.seekNext.call(a2, y2.pos.begin ? y2.pos.begin : y2.pos), p2.p = m2), m2 = u2.numericInput && void 0 === y2.caret ? s.seekPrevious.call(a2, m2) : m2, false !== n3 && (setTimeout((function() {
2909
+ var y2 = c.isValid.call(r2, g2, v2, i3, void 0, void 0, void 0, t3);
2910
+ if (false !== y2 && (s.resetMaskSet.call(r2, true), m2 = void 0 !== y2.caret ? y2.caret : s.seekNext.call(r2, y2.pos.begin ? y2.pos.begin : y2.pos), p2.p = m2), m2 = u2.numericInput && void 0 === y2.caret ? s.seekPrevious.call(r2, m2) : m2, false !== n3 && (setTimeout(function() {
3070
2911
  u2.onKeyValidation.call(d2, v2, y2);
3071
- }), 0), p2.writeOutBuffer && false !== y2)) {
3072
- var b = s.getBuffer.call(a2);
2912
+ }, 0), p2.writeOutBuffer && false !== y2)) {
2913
+ var b = s.getBuffer.call(r2);
3073
2914
  (0, o.writeBuffer)(d2, b, m2, e3, true !== t3);
3074
2915
  }
3075
2916
  if (e3.preventDefault(), t3) return false !== y2 && (y2.forwardPosition = m2), y2;
3076
2917
  }
3077
- } else v2 === l.keys.Enter && a2.undoValue !== a2._valueGet(true) && (a2.undoValue = a2._valueGet(true), setTimeout((function() {
2918
+ } else v2 === l.keys.Enter && r2.undoValue !== r2._valueGet(true) && (r2.undoValue = r2._valueGet(true), setTimeout(function() {
3078
2919
  h2.trigger("change");
3079
- }), 0));
2920
+ }, 0));
3080
2921
  },
3081
- pasteEvent: (m = p().mark((function e3(t3) {
3082
- var n3, i3, r2, l2, c2, u2;
3083
- return p().wrap((function(e4) {
3084
- for (; ; ) switch (e4.prev = e4.next) {
2922
+ pasteEvent: (m = f().m(function e3(t3) {
2923
+ var n3, i3, a2, l2, c2, u2;
2924
+ return f().w(function(e4) {
2925
+ for (; ; ) switch (e4.n) {
3085
2926
  case 0:
3086
- n3 = function(e5, n4, i4, r3, a2) {
2927
+ n3 = function(e5, n4, i4, a3, r2) {
3087
2928
  var c3 = s.caret.call(e5, n4, void 0, void 0, true), u3 = i4.substr(0, c3.begin), f2 = i4.substr(c3.end, i4.length);
3088
- if (u3 == (e5.isRTL ? s.getBufferTemplate.call(e5).slice().reverse() : s.getBufferTemplate.call(e5)).slice(0, c3.begin).join("") && (u3 = ""), f2 == (e5.isRTL ? s.getBufferTemplate.call(e5).slice().reverse() : s.getBufferTemplate.call(e5)).slice(c3.end).join("") && (f2 = ""), r3 = u3 + r3 + f2, e5.isRTL && true !== l2.numericInput) {
3089
- r3 = r3.split("");
2929
+ if (u3 == (e5.isRTL ? s.getBufferTemplate.call(e5).slice().reverse() : s.getBufferTemplate.call(e5)).slice(0, c3.begin).join("") && (u3 = ""), f2 == (e5.isRTL ? s.getBufferTemplate.call(e5).slice().reverse() : s.getBufferTemplate.call(e5)).slice(c3.end).join("") && (f2 = ""), a3 = u3 + a3 + f2, e5.isRTL && true !== l2.numericInput) {
2930
+ a3 = a3.split("");
3090
2931
  var p2, h2 = d(s.getBufferTemplate.call(e5));
3091
2932
  try {
3092
2933
  for (h2.s(); !(p2 = h2.n()).done; ) {
3093
2934
  var v2 = p2.value;
3094
- r3[0] === v2 && r3.shift();
2935
+ a3[0] === v2 && a3.shift();
3095
2936
  }
3096
2937
  } catch (e6) {
3097
2938
  h2.e(e6);
3098
2939
  } finally {
3099
2940
  h2.f();
3100
2941
  }
3101
- r3 = r3.reverse().join("");
2942
+ a3 = a3.reverse().join("");
3102
2943
  }
3103
- var m2 = r3;
3104
- if ("function" == typeof a2) {
3105
- if (false === (m2 = a2.call(e5, m2, l2))) return false;
2944
+ var m2 = a3;
2945
+ if ("function" == typeof r2) {
2946
+ if (false === (m2 = r2.call(e5, m2, l2))) return false;
3106
2947
  m2 || (m2 = i4);
3107
2948
  }
3108
2949
  (0, o.checkVal)(n4, true, false, m2.toString().split(""), t3);
3109
- }, i3 = this, r2 = this.inputmask, l2 = r2.opts, c2 = r2._valueGet(true), r2.skipInputEvent = true, t3.clipboardData && t3.clipboardData.getData ? u2 = t3.clipboardData.getData("text/plain") : a.default.clipboardData && a.default.clipboardData.getData && (u2 = a.default.clipboardData.getData("Text")), n3(r2, i3, c2, u2, l2.onBeforePaste), t3.preventDefault();
3110
- case 7:
3111
- case "end":
3112
- return e4.stop();
2950
+ }, i3 = this, a2 = this.inputmask, l2 = a2.opts, c2 = a2._valueGet(true), a2.skipInputEvent = true, t3.clipboardData && t3.clipboardData.getData ? u2 = t3.clipboardData.getData("text/plain") : r.default.clipboardData && r.default.clipboardData.getData && (u2 = r.default.clipboardData.getData("Text")), n3(a2, i3, c2, u2, l2.onBeforePaste), t3.preventDefault();
2951
+ case 1:
2952
+ return e4.a(2);
3113
2953
  }
3114
- }), e3, this);
3115
- })), g = function() {
2954
+ }, e3, this);
2955
+ }), g = function() {
3116
2956
  var e3 = this, t3 = arguments;
3117
- return new Promise((function(n3, i3) {
3118
- var r2 = m.apply(e3, t3);
3119
- function a2(e4) {
3120
- v(r2, n3, i3, a2, o2, "next", e4);
2957
+ return new Promise(function(n3, i3) {
2958
+ var a2 = m.apply(e3, t3);
2959
+ function r2(e4) {
2960
+ v(a2, n3, i3, r2, o2, "next", e4);
3121
2961
  }
3122
2962
  function o2(e4) {
3123
- v(r2, n3, i3, a2, o2, "throw", e4);
2963
+ v(a2, n3, i3, r2, o2, "throw", e4);
3124
2964
  }
3125
- a2(void 0);
3126
- }));
2965
+ r2(void 0);
2966
+ });
3127
2967
  }, function(e3) {
3128
2968
  return g.apply(this, arguments);
3129
2969
  }),
3130
2970
  inputFallBackEvent: function(e3) {
3131
2971
  var t3 = this.inputmask, n3 = t3.opts, i3 = t3.dependencyLib;
3132
- var a2, c2 = this, f2 = c2.inputmask._valueGet(true), p2 = (t3.isRTL ? s.getBuffer.call(t3).slice().reverse() : s.getBuffer.call(t3)).join(""), d2 = s.caret.call(t3, c2, void 0, void 0, true);
2972
+ var r2, c2 = this, f2 = c2.inputmask._valueGet(true), p2 = (t3.isRTL ? s.getBuffer.call(t3).slice().reverse() : s.getBuffer.call(t3)).join(""), d2 = s.caret.call(t3, c2, void 0, void 0, true);
3133
2973
  if (p2 !== f2) {
3134
- if (a2 = (function(e4, i4, r2) {
3135
- for (var a3, o2, l2, c3 = e4.substr(0, r2.begin).split(""), f3 = e4.substr(r2.begin).split(""), p3 = i4.substr(0, r2.begin).split(""), d3 = i4.substr(r2.begin).split(""), h3 = c3.length >= p3.length ? c3.length : p3.length, v2 = f3.length >= d3.length ? f3.length : d3.length, m2 = "", g2 = [], y2 = "~"; c3.length < h3; ) c3.push(y2);
2974
+ if (r2 = (function(e4, i4, a2) {
2975
+ for (var r3, o2, l2, c3 = e4.substr(0, a2.begin).split(""), f3 = e4.substr(a2.begin).split(""), p3 = i4.substr(0, a2.begin).split(""), d3 = i4.substr(a2.begin).split(""), h3 = c3.length >= p3.length ? c3.length : p3.length, v2 = f3.length >= d3.length ? f3.length : d3.length, m2 = "", g2 = [], y2 = "~"; c3.length < h3; ) c3.push(y2);
3136
2976
  for (; p3.length < h3; ) p3.push(y2);
3137
2977
  for (; f3.length < v2; ) f3.unshift(y2);
3138
2978
  for (; d3.length < v2; ) d3.unshift(y2);
3139
2979
  var b = c3.concat(f3), k = p3.concat(d3);
3140
- for (o2 = 0, a3 = b.length; o2 < a3; o2++) switch (l2 = u.getPlaceholder.call(t3, s.translatePosition.call(t3, o2)), m2) {
2980
+ for (o2 = 0, r3 = b.length; o2 < r3; o2++) switch (l2 = u.getPlaceholder.call(t3, s.translatePosition.call(t3, o2)), m2) {
3141
2981
  case "insertText":
3142
- k[o2 - 1] === b[o2] && r2.begin == b.length - 1 && g2.push(b[o2]), o2 = a3;
2982
+ k[o2 - 1] === b[o2] && a2.begin == b.length - 1 && g2.push(b[o2]), o2 = r3;
3143
2983
  break;
3144
2984
  case "insertReplacementText":
3145
2985
  case "deleteContentBackward":
3146
- b[o2] === y2 ? r2.end++ : o2 = a3;
2986
+ b[o2] === y2 ? a2.end++ : o2 = r3;
3147
2987
  break;
3148
2988
  default:
3149
- b[o2] !== k[o2] && (b[o2 + 1] !== y2 && b[o2 + 1] !== l2 && void 0 !== b[o2 + 1] || (k[o2] !== l2 || k[o2 + 1] !== y2) && k[o2] !== y2 ? k[o2 + 1] === y2 && k[o2] === b[o2 + 1] ? (m2 = "insertText", g2.push(b[o2]), r2.begin--, r2.end--) : b[o2] !== l2 && b[o2] !== y2 && (b[o2 + 1] === y2 || k[o2] !== b[o2] && k[o2 + 1] === b[o2 + 1]) ? (m2 = "insertReplacementText", g2.push(b[o2]), r2.begin--) : b[o2] === y2 ? (m2 = "deleteContentBackward", (s.isMask.call(t3, s.translatePosition.call(t3, o2), true) || k[o2] === n3.radixPoint) && r2.end++) : o2 = a3 : (m2 = "insertText", g2.push(b[o2]), r2.begin--, r2.end--));
2989
+ b[o2] !== k[o2] && (b[o2 + 1] !== y2 && b[o2 + 1] !== l2 && void 0 !== b[o2 + 1] || (k[o2] !== l2 || k[o2 + 1] !== y2) && k[o2] !== y2 ? k[o2 + 1] === y2 && k[o2] === b[o2 + 1] ? (m2 = "insertText", g2.push(b[o2]), a2.begin--, a2.end--) : b[o2] !== l2 && b[o2] !== y2 && (b[o2 + 1] === y2 || k[o2] !== b[o2] && k[o2 + 1] === b[o2 + 1]) ? (m2 = "insertReplacementText", g2.push(b[o2]), a2.begin--) : b[o2] === y2 ? (m2 = "deleteContentBackward", (s.isMask.call(t3, s.translatePosition.call(t3, o2), true) || k[o2] === n3.radixPoint) && a2.end++) : o2 = r3 : (m2 = "insertText", g2.push(b[o2]), a2.begin--, a2.end--));
3150
2990
  }
3151
2991
  return {
3152
2992
  action: m2,
3153
2993
  data: g2,
3154
- caret: r2
2994
+ caret: a2
3155
2995
  };
3156
- })(f2, p2, d2), c2.getRootNode().activeElement !== c2 && c2.focus(), (0, o.writeBuffer)(c2, s.getBuffer.call(t3)), s.caret.call(t3, c2, d2.begin, d2.end, true), !r.mobile && t3.skipNextInsert && "insertText" === e3.inputType && "insertText" === a2.action && t3.isComposing) return false;
3157
- switch ("insertCompositionText" === e3.inputType && "insertText" === a2.action && t3.isComposing ? t3.skipNextInsert = true : t3.skipNextInsert = false, a2.action) {
2996
+ })(f2, p2, d2), c2.getRootNode().activeElement !== c2 && c2.focus(), (0, o.writeBuffer)(c2, s.getBuffer.call(t3)), s.caret.call(t3, c2, d2.begin, d2.end, true), !a.mobile && t3.skipNextInsert && "insertText" === e3.inputType && "insertText" === r2.action && t3.isComposing) return false;
2997
+ switch ("insertCompositionText" === e3.inputType && "insertText" === r2.action && t3.isComposing ? t3.skipNextInsert = true : t3.skipNextInsert = false, r2.action) {
3158
2998
  case "insertText":
3159
2999
  case "insertReplacementText":
3160
- a2.data.forEach((function(e4, n4) {
3161
- var r2 = new i3.Event("keypress");
3162
- r2.key = e4, t3.ignorable = false, y.keypressEvent.call(c2, r2);
3163
- })), setTimeout((function() {
3000
+ r2.data.forEach(function(e4, n4) {
3001
+ var a2 = new i3.Event("keypress");
3002
+ a2.key = e4, t3.ignorable = false, y.keypressEvent.call(c2, a2);
3003
+ }), setTimeout(function() {
3164
3004
  t3.$el.trigger("keyup");
3165
- }), 0);
3005
+ }, 0);
3166
3006
  break;
3167
3007
  case "deleteContentBackward":
3168
3008
  var h2 = new i3.Event("keydown");
@@ -3175,8 +3015,8 @@ var require_inputmask = __commonJS({
3175
3015
  }
3176
3016
  },
3177
3017
  setValueEvent: function(e3) {
3178
- var t3 = this.inputmask, n3 = t3.dependencyLib, i3 = this, r2 = e3 && e3.detail ? e3.detail[0] : arguments[1];
3179
- void 0 === r2 && (r2 = i3.inputmask._valueGet(true)), (0, o.applyInputValue)(i3, r2, new n3.Event("input"), void 0 !== (e3 && e3.detail ? e3.detail[0] : arguments[1])), (e3.detail && void 0 !== e3.detail[1] || void 0 !== arguments[2]) && s.caret.call(t3, i3, e3.detail ? e3.detail[1] : arguments[2]);
3018
+ var t3 = this.inputmask, n3 = t3.dependencyLib, i3 = this, a2 = e3 && e3.detail ? e3.detail[0] : arguments[1];
3019
+ void 0 === a2 && (a2 = i3.inputmask._valueGet(true)), (0, o.applyInputValue)(i3, a2, new n3.Event("input"), void 0 !== (e3 && e3.detail ? e3.detail[0] : arguments[1])), (e3.detail && void 0 !== e3.detail[1] || void 0 !== arguments[2]) && s.caret.call(t3, i3, e3.detail ? e3.detail[1] : arguments[2]);
3180
3020
  },
3181
3021
  focusEvent: function(e3) {
3182
3022
  var t3 = this.inputmask, n3 = t3.opts, i3 = t3 && t3._valueGet();
@@ -3194,26 +3034,26 @@ var require_inputmask = __commonJS({
3194
3034
  n3.clicked++;
3195
3035
  var i3 = this;
3196
3036
  if (i3.getRootNode().activeElement === i3) {
3197
- var r2 = s.determineNewCaretPosition.call(n3, s.caret.call(n3, i3), t3);
3198
- void 0 !== r2 && s.caret.call(n3, i3, r2);
3037
+ var a2 = s.determineNewCaretPosition.call(n3, s.caret.call(n3, i3), t3);
3038
+ void 0 !== a2 && s.caret.call(n3, i3, a2);
3199
3039
  }
3200
3040
  },
3201
3041
  cutEvent: function(e3) {
3202
- var t3 = this.inputmask, n3 = t3.maskset, i3 = this, r2 = s.caret.call(t3, i3), u2 = t3.isRTL ? s.getBuffer.call(t3).slice(r2.end, r2.begin) : s.getBuffer.call(t3).slice(r2.begin, r2.end), f2 = t3.isRTL ? u2.reverse().join("") : u2.join("");
3203
- a.default.navigator && a.default.navigator.clipboard ? a.default.navigator.clipboard.writeText(f2) : a.default.clipboardData && a.default.clipboardData.getData && a.default.clipboardData.setData("Text", f2), c.handleRemove.call(t3, i3, l.keys.Delete, r2), (0, o.writeBuffer)(i3, s.getBuffer.call(t3), n3.p, e3, t3.undoValue !== t3._valueGet(true));
3042
+ var t3 = this.inputmask, n3 = t3.maskset, i3 = this, a2 = s.caret.call(t3, i3), u2 = t3.isRTL ? s.getBuffer.call(t3).slice(a2.end, a2.begin) : s.getBuffer.call(t3).slice(a2.begin, a2.end), f2 = t3.isRTL ? u2.reverse().join("") : u2.join("");
3043
+ r.default.navigator && r.default.navigator.clipboard ? r.default.navigator.clipboard.writeText(f2) : r.default.clipboardData && r.default.clipboardData.getData && r.default.clipboardData.setData("Text", f2), c.handleRemove.call(t3, i3, l.keys.Delete, a2), (0, o.writeBuffer)(i3, s.getBuffer.call(t3), n3.p, e3, t3.undoValue !== t3._valueGet(true));
3204
3044
  },
3205
3045
  blurEvent: function(e3) {
3206
3046
  var t3 = this.inputmask, n3 = t3.opts, i3 = t3.dependencyLib;
3207
3047
  t3.clicked = 0;
3208
- var r2 = i3(this), a2 = this;
3209
- if (a2.inputmask) {
3210
- (0, o.HandleNativePlaceholder)(a2, t3.originalPlaceholder);
3211
- var l2 = a2.inputmask._valueGet(), u2 = s.getBuffer.call(t3).slice();
3212
- if ("" !== l2 && (n3.clearMaskOnLostFocus && (-1 === s.getLastValidPosition.call(t3) && l2 === s.getBufferTemplate.call(t3).join("") ? u2 = [] : o.clearOptionalTail.call(t3, u2)), false === c.isComplete.call(t3, u2) && (setTimeout((function() {
3213
- r2.trigger("incomplete");
3214
- }), 0), n3.clearIncomplete && (s.resetMaskSet.call(t3, false), u2 = n3.clearMaskOnLostFocus ? [] : s.getBufferTemplate.call(t3).slice())), (0, o.writeBuffer)(a2, u2, void 0, e3)), l2 = t3._valueGet(true), t3.undoValue !== l2) {
3048
+ var a2 = i3(this), r2 = this;
3049
+ if (r2.inputmask) {
3050
+ (0, o.HandleNativePlaceholder)(r2, t3.originalPlaceholder);
3051
+ var l2 = r2.inputmask._valueGet(), u2 = s.getBuffer.call(t3).slice();
3052
+ if ("" !== l2 && (n3.clearMaskOnLostFocus && (-1 === s.getLastValidPosition.call(t3) && l2 === s.getBufferTemplate.call(t3).join("") ? u2 = [] : o.clearOptionalTail.call(t3, u2)), false === c.isComplete.call(t3, u2) && (setTimeout(function() {
3053
+ a2.trigger("incomplete");
3054
+ }, 0), n3.clearIncomplete && (s.resetMaskSet.call(t3, false), u2 = n3.clearMaskOnLostFocus ? [] : s.getBufferTemplate.call(t3).slice())), (0, o.writeBuffer)(r2, u2, void 0, e3)), l2 = t3._valueGet(true), t3.undoValue !== l2) {
3215
3055
  var f2 = (t3.isRTL ? s.getBufferTemplate.call(t3).slice().reverse() : s.getBufferTemplate.call(t3)).join("");
3216
- ("" !== l2 || t3.undoValue !== f2 || t3.undoValue === f2 && t3.maskset.validPositions.length > 0) && (t3.undoValue = l2, r2.trigger("change"));
3056
+ ("" !== l2 || t3.undoValue !== f2 || t3.undoValue === f2 && t3.maskset.validPositions.length > 0) && (t3.undoValue = l2, a2.trigger("change"));
3217
3057
  }
3218
3058
  }
3219
3059
  },
@@ -3226,15 +3066,15 @@ var require_inputmask = __commonJS({
3226
3066
  },
3227
3067
  submitEvent: function() {
3228
3068
  var e3 = this.inputmask, t3 = e3.opts;
3229
- e3.undoValue !== e3._valueGet(true) && e3.$el.trigger("change"), -1 === s.getLastValidPosition.call(e3) && e3._valueGet && e3._valueGet() === s.getBufferTemplate.call(e3).join("") && e3._valueSet(""), t3.clearIncomplete && false === c.isComplete.call(e3, s.getBuffer.call(e3)) && e3._valueSet(""), t3.removeMaskOnSubmit && (e3._valueSet(e3.unmaskedvalue(), true), setTimeout((function() {
3069
+ e3.undoValue !== e3._valueGet(true) && e3.$el.trigger("change"), -1 === s.getLastValidPosition.call(e3) && e3._valueGet && e3._valueGet() === s.getBufferTemplate.call(e3).join("") && e3._valueSet(""), t3.clearIncomplete && false === c.isComplete.call(e3, s.getBuffer.call(e3)) && e3._valueSet(""), t3.removeMaskOnSubmit && (e3._valueSet(e3.unmaskedvalue(), true), setTimeout(function() {
3230
3070
  (0, o.writeBuffer)(e3.el, s.getBuffer.call(e3));
3231
- }), 0));
3071
+ }, 0));
3232
3072
  },
3233
3073
  resetEvent: function() {
3234
3074
  var e3 = this.inputmask;
3235
- e3.refreshValue = true, setTimeout((function() {
3075
+ e3.refreshValue = true, setTimeout(function() {
3236
3076
  (0, o.applyInputValue)(e3.el, e3._valueGet(true));
3237
- }), 0);
3077
+ }, 0);
3238
3078
  }
3239
3079
  };
3240
3080
  },
@@ -3317,10 +3157,10 @@ var require_inputmask = __commonJS({
3317
3157
  };
3318
3158
  },
3319
3159
  7153: function(e2, t2, n2) {
3320
- var i2, r = (i2 = n2(3978)) && i2.__esModule ? i2 : {
3160
+ var i2, a = (i2 = n2(3978)) && i2.__esModule ? i2 : {
3321
3161
  default: i2
3322
3162
  };
3323
- r.default.dependencyLib.extend(true, r.default.prototype.i18n, {
3163
+ a.default.dependencyLib.extend(true, a.default.prototype.i18n, {
3324
3164
  dayNames: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"],
3325
3165
  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"],
3326
3166
  ordinalSuffix: ["st", "nd", "rd", "th"]
@@ -3330,7 +3170,7 @@ var require_inputmask = __commonJS({
3330
3170
  Object.defineProperty(t2, "__esModule", {
3331
3171
  value: true
3332
3172
  }), t2.default = void 0;
3333
- var i2 = l(n2(6266)), r = l(n2(2088)), a = n2(5841), o = l(n2(672));
3173
+ var i2 = l(n2(6266)), a = l(n2(2088)), r = n2(5841), o = l(n2(672));
3334
3174
  function l(e3) {
3335
3175
  return e3 && e3.__esModule ? e3 : {
3336
3176
  default: e3
@@ -3338,39 +3178,39 @@ var require_inputmask = __commonJS({
3338
3178
  }
3339
3179
  var s = i2.default.document;
3340
3180
  function c(e3) {
3341
- return e3 instanceof c ? e3 : this instanceof c ? void (null != e3 && e3 !== i2.default && (this[0] = e3.nodeName ? e3 : void 0 !== e3[0] && e3[0].nodeName ? e3[0] : s.querySelector(e3), void 0 !== this[0] && null !== this[0] && (0, r.default)(this[0], "events", (0, r.default)(this[0], "events") || {}))) : new c(e3);
3181
+ return e3 instanceof c ? e3 : this instanceof c ? void (null != e3 && e3 !== i2.default && (this[0] = e3.nodeName ? e3 : void 0 !== e3[0] && e3[0].nodeName ? e3[0] : s.querySelector(e3), void 0 !== this[0] && null !== this[0] && (0, a.default)(this[0], "events", (0, a.default)(this[0], "events") || {}))) : new c(e3);
3342
3182
  }
3343
3183
  c.prototype = {
3344
- on: a.on,
3345
- off: a.off,
3346
- trigger: a.trigger
3347
- }, c.extend = o.default, c.data = r.default, c.Event = a.Event;
3184
+ on: r.on,
3185
+ off: r.off,
3186
+ trigger: r.trigger
3187
+ }, c.extend = o.default, c.data = a.default, c.Event = r.Event;
3348
3188
  t2.default = c;
3349
3189
  },
3350
3190
  7539: function(e2, t2, n2) {
3351
3191
  Object.defineProperty(t2, "__esModule", {
3352
3192
  value: true
3353
- }), t2.caret = function(e3, t3, n3, i3, a2) {
3193
+ }), t2.caret = function(e3, t3, n3, i3, r2) {
3354
3194
  var o2, l2 = this, s2 = this.opts;
3355
- if (void 0 === t3) return "selectionStart" in e3 && "selectionEnd" in e3 ? (t3 = e3.selectionStart, n3 = e3.selectionEnd) : r.default.getSelection ? (o2 = r.default.getSelection().getRangeAt(0)).commonAncestorContainer.parentNode !== e3 && o2.commonAncestorContainer !== e3 || (t3 = o2.startOffset, n3 = o2.endOffset) : document.selection && document.selection.createRange && (n3 = (t3 = 0 - (o2 = document.selection.createRange()).duplicate().moveStart("character", -e3.inputmask._valueGet().length)) + o2.text.length), {
3195
+ if (void 0 === t3) return "selectionStart" in e3 && "selectionEnd" in e3 ? (t3 = e3.selectionStart, n3 = e3.selectionEnd) : a.default.getSelection ? (o2 = a.default.getSelection().getRangeAt(0)).commonAncestorContainer.parentNode !== e3 && o2.commonAncestorContainer !== e3 || (t3 = o2.startOffset, n3 = o2.endOffset) : document.selection && document.selection.createRange && (n3 = (t3 = 0 - (o2 = document.selection.createRange()).duplicate().moveStart("character", -e3.inputmask._valueGet().length)) + o2.text.length), {
3356
3196
  begin: i3 ? t3 : f.call(l2, t3),
3357
3197
  end: i3 ? n3 : f.call(l2, n3)
3358
3198
  };
3359
3199
  if (Array.isArray(t3) && (n3 = l2.isRTL ? t3[0] : t3[1], t3 = l2.isRTL ? t3[1] : t3[0]), void 0 !== t3.begin && (n3 = l2.isRTL ? t3.begin : t3.end, t3 = l2.isRTL ? t3.end : t3.begin), "number" == typeof t3) {
3360
3200
  t3 = i3 ? t3 : f.call(l2, t3), n3 = "number" == typeof (n3 = i3 ? n3 : f.call(l2, n3)) ? n3 : t3;
3361
- var c2 = parseInt(((e3.ownerDocument.defaultView || r.default).getComputedStyle ? (e3.ownerDocument.defaultView || r.default).getComputedStyle(e3, null) : e3.currentStyle).fontSize) * n3;
3201
+ var c2 = parseInt(((e3.ownerDocument.defaultView || a.default).getComputedStyle ? (e3.ownerDocument.defaultView || a.default).getComputedStyle(e3, null) : e3.currentStyle).fontSize) * n3;
3362
3202
  if (e3.scrollLeft = c2 > e3.scrollWidth ? c2 : 0, e3.inputmask.caretPos = {
3363
3203
  begin: t3,
3364
3204
  end: n3
3365
- }, s2.insertModeVisual && false === s2.insertMode && t3 === n3 && (a2 || n3++), e3 === e3.getRootNode().activeElement) {
3205
+ }, s2.insertModeVisual && false === s2.insertMode && t3 === n3 && (r2 || n3++), e3 === e3.getRootNode().activeElement) {
3366
3206
  if ("setSelectionRange" in e3) e3.setSelectionRange(t3, n3);
3367
- else if (r.default.getSelection) {
3207
+ else if (a.default.getSelection) {
3368
3208
  if (o2 = document.createRange(), void 0 === e3.firstChild || null === e3.firstChild) {
3369
3209
  var u2 = document.createTextNode("");
3370
3210
  e3.appendChild(u2);
3371
3211
  }
3372
3212
  o2.setStart(e3.firstChild, t3 < e3.inputmask._valueGet().length ? t3 : e3.inputmask._valueGet().length), o2.setEnd(e3.firstChild, n3 < e3.inputmask._valueGet().length ? n3 : e3.inputmask._valueGet().length), o2.collapse(true);
3373
- var p = r.default.getSelection();
3213
+ var p = a.default.getSelection();
3374
3214
  p.removeAllRanges(), p.addRange(o2);
3375
3215
  } else e3.createTextRange && ((o2 = e3.createTextRange()).collapse(true), o2.moveEnd("character", n3), o2.moveStart("character", t3), o2.select());
3376
3216
  void 0 === e3.inputmask.caretHook || e3.inputmask.caretHook.call(l2, {
@@ -3380,16 +3220,16 @@ var require_inputmask = __commonJS({
3380
3220
  }
3381
3221
  }
3382
3222
  }, t2.determineLastRequiredPosition = function(e3) {
3383
- var t3, n3, i3 = this, r2 = i3.maskset, l2 = i3.dependencyLib, c2 = s.call(i3), u2 = {}, f2 = r2.validPositions[c2], p = o.getMaskTemplate.call(i3, true, s.call(i3), true, true), d = p.length, h = void 0 !== f2 ? f2.locator.slice() : void 0;
3223
+ var t3, n3, i3 = this, a2 = i3.maskset, l2 = i3.dependencyLib, c2 = s.call(i3), u2 = {}, f2 = a2.validPositions[c2], p = o.getMaskTemplate.call(i3, true, s.call(i3), true, true), d = p.length, h = void 0 !== f2 ? f2.locator.slice() : void 0;
3384
3224
  for (t3 = c2 + 1; t3 < p.length; t3++) h = (n3 = o.getTestTemplate.call(i3, t3, h, t3 - 1)).locator.slice(), u2[t3] = l2.extend(true, {}, n3);
3385
3225
  var v = f2 && void 0 !== f2.alternation ? f2.locator[f2.alternation] : void 0;
3386
- for (t3 = d - 1; t3 > c2 && (((n3 = u2[t3]).match.optionality || n3.match.optionalQuantifier && n3.match.newBlockMarker || v && (v !== u2[t3].locator[f2.alternation] && true !== n3.match.static || true === n3.match.static && n3.locator[f2.alternation] && a.checkAlternationMatch.call(i3, n3.locator[f2.alternation].toString().split(","), v.toString().split(",")) && "" !== o.getTests.call(i3, t3)[0].def)) && p[t3] === o.getPlaceholder.call(i3, t3, n3.match)); t3--) if (d--, n3.match.optionality) {
3226
+ for (t3 = d - 1; t3 > c2 && (((n3 = u2[t3]).match.optionality || n3.match.optionalQuantifier && n3.match.newBlockMarker || v && (v !== u2[t3].locator[f2.alternation] && true !== n3.match.static || true === n3.match.static && n3.locator[f2.alternation] && r.checkAlternationMatch.call(i3, n3.locator[f2.alternation].toString().split(","), v.toString().split(",")) && "" !== o.getTests.call(i3, t3)[0].def)) && p[t3] === o.getPlaceholder.call(i3, t3, n3.match)); t3--) if (d--, n3.match.optionality) {
3387
3227
  for (var m = t3; m > 0; ) {
3388
3228
  var g = o.getTest.call(i3, m);
3389
3229
  if ("master" === g.match.newBlockMarker || true === g.match.newBlockMarker) break;
3390
3230
  m--;
3391
3231
  }
3392
- if (void 0 !== r2.validPositions[m]) break;
3232
+ if (void 0 !== a2.validPositions[m]) break;
3393
3233
  }
3394
3234
  t3 === c2 && (d = t3);
3395
3235
  return e3 ? {
@@ -3397,7 +3237,7 @@ var require_inputmask = __commonJS({
3397
3237
  def: u2[d] ? u2[d].match : void 0
3398
3238
  } : d;
3399
3239
  }, t2.determineNewCaretPosition = function(e3, t3, n3) {
3400
- var i3, r2, a2, f2 = this, p = f2.maskset, d = f2.opts;
3240
+ var i3, a2, r2, f2 = this, p = f2.maskset, d = f2.opts;
3401
3241
  t3 && (f2.isRTL ? e3.end = e3.begin : e3.begin = e3.end);
3402
3242
  if (e3.begin === e3.end) {
3403
3243
  switch (n3 = n3 || d.positionCaretOnClick) {
@@ -3421,7 +3261,7 @@ var require_inputmask = __commonJS({
3421
3261
  if (e4 < u.call(f2, -1)) return true;
3422
3262
  var n4 = l.call(f2).indexOf(d.radixPoint);
3423
3263
  if (-1 !== n4) {
3424
- for (var i4 = 0, r3 = t4.length; i4 < r3; i4++) if (t4[i4] && n4 < i4 && t4[i4].input !== o.getPlaceholder.call(f2, i4)) return false;
3264
+ for (var i4 = 0, a3 = t4.length; i4 < a3; i4++) if (t4[i4] && n4 < i4 && t4[i4].input !== o.getPlaceholder.call(f2, i4)) return false;
3425
3265
  return true;
3426
3266
  }
3427
3267
  }
@@ -3433,14 +3273,14 @@ var require_inputmask = __commonJS({
3433
3273
  break;
3434
3274
  }
3435
3275
  default:
3436
- if (i3 = e3.begin, r2 = s.call(f2, i3, true), i3 <= (a2 = u.call(f2, -1 !== r2 || c.call(f2, 0) ? r2 : -1))) e3.end = e3.begin = c.call(f2, i3, false, true) ? i3 : u.call(f2, i3);
3276
+ if (i3 = e3.begin, a2 = s.call(f2, i3, true), i3 <= (r2 = u.call(f2, -1 !== a2 || c.call(f2, 0) ? a2 : -1))) e3.end = e3.begin = c.call(f2, i3, false, true) ? i3 : u.call(f2, i3);
3437
3277
  else {
3438
- var v = p.validPositions[r2], m = o.getTestTemplate.call(f2, a2, v ? v.match.locator : void 0, v), g = o.getPlaceholder.call(f2, a2, m.match);
3439
- if ("" !== g && l.call(f2)[a2] !== g && true !== m.match.optionalQuantifier && true !== m.match.newBlockMarker || !c.call(f2, a2, d.keepStatic, true) && m.match.def === g) {
3440
- var y = u.call(f2, a2);
3441
- (i3 >= y || i3 === a2) && (a2 = y);
3278
+ var v = p.validPositions[a2], m = o.getTestTemplate.call(f2, r2, v ? v.match.locator : void 0, v), g = o.getPlaceholder.call(f2, r2, m.match);
3279
+ if ("" !== g && l.call(f2)[r2] !== g && true !== m.match.optionalQuantifier && true !== m.match.newBlockMarker || !c.call(f2, r2, d.keepStatic, true) && m.match.def === g) {
3280
+ var y = u.call(f2, r2);
3281
+ (i3 >= y || i3 === r2) && (r2 = y);
3442
3282
  }
3443
- e3.end = e3.begin = a2;
3283
+ e3.end = e3.begin = r2;
3444
3284
  }
3445
3285
  }
3446
3286
  return e3;
@@ -3459,23 +3299,23 @@ var require_inputmask = __commonJS({
3459
3299
  for (; i3 > 0 && (true === t3 && (true !== o.getTest.call(n3, i3).match.newBlockMarker || !c.call(n3, i3, void 0, true)) || true !== t3 && !c.call(n3, i3, void 0, true)); ) i3--;
3460
3300
  return i3;
3461
3301
  }, t2.translatePosition = f;
3462
- var i2, r = (i2 = n2(6266)) && i2.__esModule ? i2 : {
3302
+ var i2, a = (i2 = n2(6266)) && i2.__esModule ? i2 : {
3463
3303
  default: i2
3464
- }, a = n2(7687), o = n2(5895);
3304
+ }, r = n2(7687), o = n2(5895);
3465
3305
  function l(e3) {
3466
3306
  var t3 = this, n3 = t3.maskset;
3467
3307
  return void 0 !== n3.buffer && true !== e3 || (n3.buffer = o.getMaskTemplate.call(t3, true, s.call(t3), true), void 0 === n3._buffer && (n3._buffer = n3.buffer.slice())), n3.buffer;
3468
3308
  }
3469
3309
  function s(e3, t3, n3) {
3470
- var i3 = this.maskset, r2 = -1, a2 = -1, o2 = n3 || i3.validPositions;
3310
+ var i3 = this.maskset, a2 = -1, r2 = -1, o2 = n3 || i3.validPositions;
3471
3311
  void 0 === e3 && (e3 = -1);
3472
- for (var l2 = 0, s2 = o2.length; l2 < s2; l2++) o2[l2] && (t3 || true !== o2[l2].generatedInput) && (l2 <= e3 && (r2 = l2), l2 >= e3 && (a2 = l2));
3473
- return -1 === r2 || r2 === e3 ? a2 : -1 === a2 || e3 - r2 < a2 - e3 ? r2 : a2;
3312
+ for (var l2 = 0, s2 = o2.length; l2 < s2; l2++) o2[l2] && (t3 || true !== o2[l2].generatedInput) && (l2 <= e3 && (a2 = l2), l2 >= e3 && (r2 = l2));
3313
+ return -1 === a2 || a2 === e3 ? r2 : -1 === r2 || e3 - a2 < r2 - e3 ? a2 : r2;
3474
3314
  }
3475
3315
  function c(e3, t3, n3) {
3476
- var i3 = this, r2 = this.maskset, a2 = o.getTestTemplate.call(i3, e3).match;
3477
- if ("" === a2.def && (a2 = o.getTest.call(i3, e3).match), true !== a2.static) return a2.fn;
3478
- if (true === n3 && void 0 !== r2.validPositions[e3] && true !== r2.validPositions[e3].generatedInput) return true;
3316
+ var i3 = this, a2 = this.maskset, r2 = o.getTestTemplate.call(i3, e3).match;
3317
+ if ("" === r2.def && (r2 = o.getTest.call(i3, e3).match), true !== r2.static) return r2.fn;
3318
+ if (true === n3 && void 0 !== a2.validPositions[e3] && true !== a2.validPositions[e3].generatedInput) return true;
3479
3319
  if (true !== t3 && e3 > -1) {
3480
3320
  if (n3) {
3481
3321
  var l2 = o.getTests.call(i3, e3);
@@ -3489,8 +3329,8 @@ var require_inputmask = __commonJS({
3489
3329
  function u(e3, t3, n3) {
3490
3330
  var i3 = this;
3491
3331
  void 0 === n3 && (n3 = true);
3492
- for (var r2 = e3 + 1; "" !== o.getTest.call(i3, r2).match.def && (true === t3 && (true !== o.getTest.call(i3, r2).match.newBlockMarker || !c.call(i3, r2, void 0, true)) || true !== t3 && !c.call(i3, r2, void 0, n3)); ) r2++;
3493
- return r2;
3332
+ for (var a2 = e3 + 1; "" !== o.getTest.call(i3, a2).match.def && (true === t3 && (true !== o.getTest.call(i3, a2).match.newBlockMarker || !c.call(i3, a2, void 0, true)) || true !== t3 && !c.call(i3, a2, void 0, n3)); ) a2++;
3333
+ return a2;
3494
3334
  }
3495
3335
  function f(e3) {
3496
3336
  var t3 = this.opts, n3 = this.el;
@@ -3501,79 +3341,69 @@ var require_inputmask = __commonJS({
3501
3341
  Object.defineProperty(t2, "__esModule", {
3502
3342
  value: true
3503
3343
  }), t2.alternate = l, t2.checkAlternationMatch = function(e3, t3, n3) {
3504
- for (var i3, r2 = this.opts.greedy ? t3 : t3.slice(0, 1), a2 = false, o2 = void 0 !== n3 ? n3.split(",") : [], l2 = 0; l2 < o2.length; l2++) -1 !== (i3 = e3.indexOf(o2[l2])) && e3.splice(i3, 1);
3505
- for (var s2 = 0; s2 < e3.length; s2++) if (r2.includes(e3[s2])) {
3506
- a2 = true;
3344
+ for (var i3, a2 = this.opts.greedy ? t3 : t3.slice(0, 1), r2 = false, o2 = void 0 !== n3 ? n3.split(",") : [], l2 = 0; l2 < o2.length; l2++) -1 !== (i3 = e3.indexOf(o2[l2])) && e3.splice(i3, 1);
3345
+ for (var s2 = 0; s2 < e3.length; s2++) if (a2.includes(e3[s2])) {
3346
+ r2 = true;
3507
3347
  break;
3508
3348
  }
3509
- return a2;
3349
+ return r2;
3510
3350
  }, t2.handleRemove = function(e3, t3, n3, i3, s2) {
3511
3351
  var c2 = this, u2 = this.maskset, f2 = this.opts;
3512
- if ((f2.numericInput || c2.isRTL) && (t3 === r.keys.Backspace ? t3 = r.keys.Delete : t3 === r.keys.Delete && (t3 = r.keys.Backspace), c2.isRTL)) {
3352
+ if ((f2.numericInput || c2.isRTL) && (t3 === a.keys.Backspace ? t3 = a.keys.Delete : t3 === a.keys.Delete && (t3 = a.keys.Backspace), c2.isRTL)) {
3513
3353
  var p2 = n3.end;
3514
3354
  n3.end = n3.begin, n3.begin = p2;
3515
3355
  }
3516
- var d2, v = a.getLastValidPosition.call(c2, void 0, true);
3517
- n3.end >= a.getBuffer.call(c2).length && v >= n3.end && (n3.end = v + 1);
3518
- t3 === r.keys.Backspace ? n3.end - n3.begin < 1 && (n3.begin = a.seekPrevious.call(c2, n3.begin)) : t3 === r.keys.Delete && n3.begin === n3.end && (n3.end = a.isMask.call(c2, n3.end, true, true) ? n3.end + 1 : a.seekNext.call(c2, n3.end) + 1);
3519
- false !== (d2 = h.call(c2, n3)) && ((true !== i3 && false !== f2.keepStatic || null !== f2.regex && -1 !== o.getTest.call(c2, n3.begin).match.def.indexOf("|")) && l.call(c2, true), true !== i3 && (u2.p = t3 === r.keys.Delete ? n3.begin + d2 : n3.begin, u2.p = a.determineNewCaretPosition.call(c2, {
3356
+ var d2, h2 = r.getLastValidPosition.call(c2, void 0, true);
3357
+ n3.end >= r.getBuffer.call(c2).length && h2 >= n3.end && (n3.end = h2 + 1);
3358
+ t3 === a.keys.Backspace ? n3.end - n3.begin < 1 && (n3.begin = r.seekPrevious.call(c2, n3.begin)) : t3 === a.keys.Delete && n3.begin === n3.end && (n3.end = r.isMask.call(c2, n3.end, true, true) ? n3.end + 1 : r.seekNext.call(c2, n3.end) + 1);
3359
+ false !== (d2 = v.call(c2, n3)) && ((true !== i3 && false !== f2.keepStatic || null !== f2.regex && -1 !== o.getTest.call(c2, n3.begin).match.def.indexOf("|")) && l.call(c2, true), true !== i3 && (u2.p = t3 === a.keys.Delete ? n3.begin + d2 : n3.begin, u2.p = r.determineNewCaretPosition.call(c2, {
3520
3360
  begin: u2.p,
3521
3361
  end: u2.p
3522
- }, false, false === f2.insertMode && t3 === r.keys.Backspace ? "none" : void 0).begin));
3523
- }, t2.isComplete = function(e3) {
3524
- var t3 = this, n3 = this.opts, i3 = this.maskset;
3525
- if ("function" == typeof n3.isComplete) return n3.isComplete(e3, n3);
3526
- if ("*" === n3.repeat) return;
3527
- var r2 = false, l2 = a.determineLastRequiredPosition.call(t3, true), s2 = l2.l;
3528
- if (void 0 === l2.def || l2.def.newBlockMarker || l2.def.optionality || l2.def.optionalQuantifier) {
3529
- r2 = true;
3530
- for (var c2 = 0; c2 <= s2; c2++) {
3531
- var u2 = o.getTestTemplate.call(t3, c2).match;
3532
- if (true !== u2.static && void 0 === i3.validPositions[c2] && (false === u2.optionality || void 0 === u2.optionality || u2.optionality && 0 == u2.newBlockMarker) && (false === u2.optionalQuantifier || void 0 === u2.optionalQuantifier) || true === u2.static && "" != u2.def && e3[c2] !== o.getPlaceholder.call(t3, c2, u2)) {
3533
- r2 = false;
3534
- break;
3362
+ }, false, false === f2.insertMode && t3 === a.keys.Backspace ? "none" : void 0).begin));
3363
+ }, t2.isComplete = c, t2.isSelection = u, t2.isValid = f, t2.refreshFromBuffer = d, t2.revalidateMask = v;
3364
+ var i2 = n2(6047), a = n2(6032), r = n2(7539), o = n2(5895);
3365
+ function l(e3, t3, n3, i3, a2, s2) {
3366
+ var u2 = this, p2 = this.dependencyLib, d2 = this.opts, h2 = u2.maskset;
3367
+ if (!u2.hasAlternator) return false;
3368
+ var v2, m, g, y, b, k, x, S, P, O, w, M = p2.extend(true, [], h2.validPositions), _ = p2.extend(true, {}, h2.tests), E = false, j = false, T = void 0 !== a2 ? a2 : r.getLastValidPosition.call(u2);
3369
+ if (s2 && (O = s2.begin, w = s2.end, s2.begin > s2.end && (O = s2.end, w = s2.begin)), -1 === T && void 0 === a2) v2 = 0, m = (y = o.getTest.call(u2, v2)).alternation;
3370
+ else for (; T >= 0; T--) if ((g = 0 === T ? o.getTest.call(u2, 0) : h2.validPositions[T]) && void 0 !== g.alternation) {
3371
+ if (T <= (e3 || 0) && y && y.locator[g.alternation] !== g.locator[g.alternation]) break;
3372
+ v2 = T, m = g.alternation, y = g;
3373
+ }
3374
+ if (void 0 !== m) {
3375
+ x = parseInt(v2), h2.excludes[x] = h2.excludes[x] || [], true !== e3 && h2.excludes[x].push((0, o.getDecisionTaker)(y) + ":" + y.alternation);
3376
+ var A = [], D = -1;
3377
+ for (b = x; x < r.getLastValidPosition.call(u2, void 0, true) + 1; b++) -1 === D && e3 <= b && void 0 !== t3 && (A.push(t3), D = A.length - 1), (k = h2.validPositions[x]) && true !== k.generatedInput && (0 !== x || k.input !== d2.skipOptionalPartCharacter) && (void 0 === s2 || b < O || b >= w) && A.push(k.input), h2.validPositions.splice(x, 1);
3378
+ for (-1 === D && void 0 !== t3 && (A.push(t3), D = A.length - 1); void 0 !== h2.excludes[x] && h2.excludes[x].length < 10; ) {
3379
+ for (h2.tests = {}, r.resetMaskSet.call(u2, true), E = true, b = 0; b < A.length; b++) {
3380
+ if (S = E.caret || 0 == d2.insertMode && null != S ? r.seekNext.call(u2, S) : r.getLastValidPosition.call(u2, void 0, true) + 1, P = A[b], !(E = f.call(u2, S, P, false, i3, true))) {
3381
+ c.call(u2, r.getBuffer.call(u2)) && (E = j);
3382
+ break;
3383
+ }
3384
+ b === D && (j = E), 1 == e3 && E && (j = {
3385
+ caretPos: b
3386
+ });
3535
3387
  }
3536
- }
3537
- }
3538
- return r2;
3539
- }, t2.isSelection = c, t2.isValid = u, t2.refreshFromBuffer = p, t2.revalidateMask = h;
3540
- var i2 = n2(6047), r = n2(6032), a = n2(7539), o = n2(5895);
3541
- function l(e3, t3, n3, i3, r2, s2) {
3542
- var c2 = this, f2 = this.dependencyLib, p2 = this.opts, d2 = c2.maskset;
3543
- if (!c2.hasAlternator) return false;
3544
- var h2, v, m, g, y, b, k, x, S, P, w, O = f2.extend(true, [], d2.validPositions), M = f2.extend(true, {}, d2.tests), _ = false, E = false, j = void 0 !== r2 ? r2 : a.getLastValidPosition.call(c2);
3545
- if (s2 && (P = s2.begin, w = s2.end, s2.begin > s2.end && (P = s2.end, w = s2.begin)), -1 === j && void 0 === r2) h2 = 0, v = (g = o.getTest.call(c2, h2)).alternation;
3546
- else for (; j >= 0; j--) if ((m = 0 === j ? o.getTest.call(c2, 0) : d2.validPositions[j]) && void 0 !== m.alternation) {
3547
- if (j <= (e3 || 0) && g && g.locator[m.alternation] !== m.locator[m.alternation]) break;
3548
- h2 = j, v = m.alternation, g = m;
3549
- }
3550
- if (void 0 !== v) {
3551
- k = parseInt(h2), d2.excludes[k] = d2.excludes[k] || [], true !== e3 && d2.excludes[k].push((0, o.getDecisionTaker)(g) + ":" + g.alternation);
3552
- var T = [], A = -1;
3553
- for (y = k; k < a.getLastValidPosition.call(c2, void 0, true) + 1; y++) -1 === A && e3 <= y && void 0 !== t3 && (T.push(t3), A = T.length - 1), (b = d2.validPositions[k]) && true !== b.generatedInput && (0 !== k || b.input !== p2.skipOptionalPartCharacter) && (void 0 === s2 || y < P || y >= w) && T.push(b.input), d2.validPositions.splice(k, 1);
3554
- for (-1 === A && void 0 !== t3 && (T.push(t3), A = T.length - 1); void 0 !== d2.excludes[k] && d2.excludes[k].length < 10; ) {
3555
- for (d2.tests = {}, a.resetMaskSet.call(c2, true), _ = true, y = 0; y < T.length && (x = _.caret || 0 == p2.insertMode && null != x ? a.seekNext.call(c2, x) : a.getLastValidPosition.call(c2, void 0, true) + 1, S = T[y], _ = u.call(c2, x, S, false, i3, true)); y++) y === A && (E = _), 1 == e3 && _ && (E = {
3556
- caretPos: y
3557
- });
3558
- if (_) break;
3559
- if (a.resetMaskSet.call(c2), g = o.getTest.call(c2, k), d2.validPositions = f2.extend(true, [], O), d2.tests = f2.extend(true, {}, M), !d2.excludes[k]) {
3560
- E = l.call(c2, e3, t3, n3, i3, k - 1, s2);
3388
+ if (E) break;
3389
+ if (r.resetMaskSet.call(u2), y = o.getTest.call(u2, x), h2.validPositions = p2.extend(true, [], M), h2.tests = p2.extend(true, {}, _), j = false, !h2.excludes[x]) {
3390
+ j = l.call(u2, e3, t3, n3, i3, x - 1, s2);
3561
3391
  break;
3562
3392
  }
3563
- if (null != g.alternation) {
3564
- var D = (0, o.getDecisionTaker)(g);
3565
- if (-1 !== d2.excludes[k].indexOf(D + ":" + g.alternation)) {
3566
- E = l.call(c2, e3, t3, n3, i3, k - 1, s2);
3393
+ if (null != y.alternation) {
3394
+ var C = (0, o.getDecisionTaker)(y);
3395
+ if (-1 !== h2.excludes[x].indexOf(C + ":" + y.alternation)) {
3396
+ j = l.call(u2, e3, t3, n3, i3, x - 1, s2);
3567
3397
  break;
3568
3398
  }
3569
- for (d2.excludes[k].push(D + ":" + g.alternation), y = k; y < a.getLastValidPosition.call(c2, void 0, true) + 1; y++) d2.validPositions.splice(k);
3570
- } else delete d2.excludes[k];
3399
+ for (h2.excludes[x].push(C + ":" + y.alternation), b = x; b < r.getLastValidPosition.call(u2, void 0, true) + 1; b++) h2.validPositions.splice(x);
3400
+ } else delete h2.excludes[x];
3571
3401
  }
3572
3402
  }
3573
- return E && false === p2.keepStatic || delete d2.excludes[k], E;
3403
+ return j && false === d2.keepStatic || delete h2.excludes[x], j;
3574
3404
  }
3575
3405
  function s(e3, t3, n3) {
3576
- var i3 = this.opts, a2 = this.maskset;
3406
+ var i3 = this.opts, r2 = this.maskset;
3577
3407
  switch (i3.casing || t3.casing) {
3578
3408
  case "upper":
3579
3409
  e3 = e3.toLocaleUpperCase();
@@ -3582,186 +3412,204 @@ var require_inputmask = __commonJS({
3582
3412
  e3 = e3.toLocaleLowerCase();
3583
3413
  break;
3584
3414
  case "title":
3585
- var o2 = a2.validPositions[n3 - 1];
3586
- e3 = 0 === n3 || o2 && o2.input === String.fromCharCode(r.keyCode.Space) ? e3.toLocaleUpperCase() : e3.toLocaleLowerCase();
3415
+ var o2 = r2.validPositions[n3 - 1];
3416
+ e3 = 0 === n3 || o2 && o2.input === String.fromCharCode(a.keyCode.Space) ? e3.toLocaleUpperCase() : e3.toLocaleLowerCase();
3587
3417
  break;
3588
3418
  default:
3589
3419
  if ("function" == typeof i3.casing) {
3590
3420
  var l2 = Array.prototype.slice.call(arguments);
3591
- l2.push(a2.validPositions), e3 = i3.casing.apply(this, l2);
3421
+ l2.push(r2.validPositions), e3 = i3.casing.apply(this, l2);
3592
3422
  }
3593
3423
  }
3594
3424
  return e3;
3595
3425
  }
3596
3426
  function c(e3) {
3427
+ var t3 = this, n3 = this.opts, i3 = this.maskset;
3428
+ if ("function" == typeof n3.isComplete) return n3.isComplete(e3, n3);
3429
+ if ("*" !== n3.repeat) {
3430
+ var a2 = false, l2 = r.determineLastRequiredPosition.call(t3, true), s2 = l2.l;
3431
+ if (void 0 === l2.def || l2.def.newBlockMarker || l2.def.optionality || l2.def.optionalQuantifier) {
3432
+ a2 = true;
3433
+ for (var c2 = 0; c2 <= s2; c2++) {
3434
+ var u2 = o.getTestTemplate.call(t3, c2).match;
3435
+ if (true !== u2.static && void 0 === i3.validPositions[c2] && (false === u2.optionality || void 0 === u2.optionality || u2.optionality && 0 == u2.newBlockMarker) && (false === u2.optionalQuantifier || void 0 === u2.optionalQuantifier) || true === u2.static && "" != u2.def && e3[c2] !== o.getPlaceholder.call(t3, c2, u2)) {
3436
+ a2 = false;
3437
+ break;
3438
+ }
3439
+ }
3440
+ }
3441
+ return a2;
3442
+ }
3443
+ }
3444
+ function u(e3) {
3597
3445
  var t3 = this.opts.insertMode ? 0 : 1;
3598
3446
  return this.isRTL ? e3.begin - e3.end > t3 : e3.end - e3.begin > t3;
3599
3447
  }
3600
- function u(e3, t3, n3, i3, r2, f2, v) {
3448
+ function f(e3, t3, n3, i3, a2, c2, p2) {
3601
3449
  var m = this, g = this.dependencyLib, y = this.opts, b = m.maskset;
3602
3450
  n3 = true === n3;
3603
3451
  var k = e3;
3604
3452
  function x(e4) {
3605
3453
  if (void 0 !== e4) {
3606
- if (void 0 !== e4.remove && (Array.isArray(e4.remove) || (e4.remove = [e4.remove]), e4.remove.sort((function(e5, t5) {
3454
+ if (void 0 !== e4.remove && (Array.isArray(e4.remove) || (e4.remove = [e4.remove]), e4.remove.sort(function(e5, t5) {
3607
3455
  return m.isRTL ? e5.pos - t5.pos : t5.pos - e5.pos;
3608
- })).forEach((function(e5) {
3609
- h.call(m, {
3456
+ }).forEach(function(e5) {
3457
+ v.call(m, {
3610
3458
  begin: e5,
3611
3459
  end: e5 + 1
3612
3460
  });
3613
- })), e4.remove = void 0), void 0 !== e4.insert && (Array.isArray(e4.insert) || (e4.insert = [e4.insert]), e4.insert.sort((function(e5, t5) {
3461
+ }), e4.remove = void 0), void 0 !== e4.insert && (Array.isArray(e4.insert) || (e4.insert = [e4.insert]), e4.insert.sort(function(e5, t5) {
3614
3462
  return m.isRTL ? t5.pos - e5.pos : e5.pos - t5.pos;
3615
- })).forEach((function(e5) {
3616
- "" !== e5.c && u.call(m, e5.pos, e5.c, void 0 === e5.strict || e5.strict, void 0 !== e5.fromIsValid ? e5.fromIsValid : i3);
3617
- })), e4.insert = void 0), e4.refreshFromBuffer && e4.buffer) {
3463
+ }).forEach(function(e5) {
3464
+ "" !== e5.c && f.call(m, e5.pos, e5.c, void 0 === e5.strict || e5.strict, void 0 !== e5.fromIsValid ? e5.fromIsValid : i3);
3465
+ }), e4.insert = void 0), e4.refreshFromBuffer && e4.buffer) {
3618
3466
  var t4 = e4.refreshFromBuffer;
3619
- p.call(m, true === t4 ? t4 : t4.start, t4.end, e4.buffer), e4.refreshFromBuffer = void 0;
3467
+ d.call(m, true === t4 ? t4 : t4.start, t4.end, e4.buffer), e4.refreshFromBuffer = void 0;
3620
3468
  }
3621
3469
  void 0 !== e4.rewritePosition && (k = e4.rewritePosition, e4 = true);
3622
3470
  }
3623
3471
  return e4;
3624
3472
  }
3625
- function S(t4, n4, r3) {
3473
+ function S(t4, n4, a3) {
3626
3474
  var l2 = false;
3627
- return o.getTests.call(m, t4).every((function(u2, f3) {
3628
- var p2 = u2.match;
3629
- if (a.getBuffer.call(m, true), false !== (l2 = (!p2.jit || void 0 !== b.validPositions[a.seekPrevious.call(m, t4)]) && (null != p2.fn ? p2.fn.test(n4, b, t4, r3, y, c.call(m, e3)) : (n4 === p2.def || n4 === y.skipOptionalPartCharacter) && "" !== p2.def && {
3630
- c: o.getPlaceholder.call(m, t4, p2, true) || p2.def,
3475
+ return o.getTests.call(m, t4).every(function(c3, f2) {
3476
+ var p3 = c3.match;
3477
+ if (r.getBuffer.call(m, true), false !== (l2 = (!p3.jit || void 0 !== b.validPositions[r.seekPrevious.call(m, t4)]) && (null != p3.fn ? p3.fn.test(n4, b, t4, a3, y, u.call(m, e3)) : (n4 === p3.def || n4 === y.skipOptionalPartCharacter) && "" !== p3.def && {
3478
+ c: o.getPlaceholder.call(m, t4, p3, true) || p3.def,
3631
3479
  pos: t4
3632
3480
  }))) {
3633
- var d2 = void 0 !== l2.c ? l2.c : n4, v2 = t4;
3634
- return d2 = d2 === y.skipOptionalPartCharacter && true === p2.static ? o.getPlaceholder.call(m, t4, p2, true) || p2.def : d2, true !== (l2 = x(l2)) && void 0 !== l2.pos && l2.pos !== t4 && (v2 = l2.pos), true !== l2 && void 0 === l2.pos && void 0 === l2.c ? false : (false === h.call(m, e3, g.extend({}, u2, {
3635
- input: s.call(m, d2, p2, v2)
3636
- }), i3, v2) && (l2 = false), false);
3481
+ var d2 = void 0 !== l2.c ? l2.c : n4, h2 = t4;
3482
+ return d2 = d2 === y.skipOptionalPartCharacter && true === p3.static ? o.getPlaceholder.call(m, t4, p3, true) || p3.def : d2, true !== (l2 = x(l2)) && void 0 !== l2.pos && l2.pos !== t4 && (h2 = l2.pos), true !== l2 && void 0 === l2.pos && void 0 === l2.c ? false : (false === v.call(m, e3, g.extend({}, c3, {
3483
+ input: s.call(m, d2, p3, h2)
3484
+ }), i3, h2) && (l2 = false), false);
3637
3485
  }
3638
3486
  return true;
3639
- })), l2;
3487
+ }), l2;
3640
3488
  }
3641
3489
  void 0 !== e3.begin && (k = m.isRTL ? e3.end : e3.begin);
3642
- var P = true, w = g.extend(true, [], b.validPositions);
3643
- if (false === y.keepStatic && void 0 !== b.excludes[k] && true !== r2 && true !== i3) for (var O = k; O < (m.isRTL ? e3.begin : e3.end); O++) void 0 !== b.excludes[O] && (b.excludes[O] = void 0, delete b.tests[O]);
3644
- if ("function" == typeof y.preValidation && true !== i3 && true !== f2 && (P = x(P = y.preValidation.call(m, a.getBuffer.call(m), k, t3, c.call(m, e3), y, b, e3, n3 || r2))), true === P) {
3645
- if (P = S(k, t3, n3), (!n3 || true === i3) && false === P && true !== f2) {
3490
+ var P = true, O = g.extend(true, [], b.validPositions);
3491
+ if (false === y.keepStatic && void 0 !== b.excludes[k] && true !== a2 && true !== i3) for (var w = k; w < (m.isRTL ? e3.begin : e3.end); w++) void 0 !== b.excludes[w] && (b.excludes[w] = void 0, delete b.tests[w]);
3492
+ if ("function" == typeof y.preValidation && true !== i3 && true !== c2 && (P = x(P = y.preValidation.call(m, r.getBuffer.call(m), k, t3, u.call(m, e3), y, b, e3, n3 || a2))), true === P) {
3493
+ if (P = S(k, t3, n3), (!n3 || true === i3) && false === P && true !== c2) {
3646
3494
  var M = b.validPositions[k];
3647
3495
  if (!M || true !== M.match.static || M.match.def !== t3 && t3 !== y.skipOptionalPartCharacter) {
3648
- if (y.insertMode || void 0 === b.validPositions[a.seekNext.call(m, k)] || e3.end > k) {
3496
+ if (y.insertMode || void 0 === b.validPositions[r.seekNext.call(m, k)] || e3.end > k) {
3649
3497
  var _ = false;
3650
- if (b.jitOffset[k] && void 0 === b.validPositions[a.seekNext.call(m, k)] && false !== (P = u.call(m, k + b.jitOffset[k], t3, true, true)) && (true !== r2 && (P.caret = k), _ = true), e3.end > k && (b.validPositions[k] = void 0), !_ && !a.isMask.call(m, k, y.keepStatic && 0 === k)) {
3651
- for (var E = k + 1, j = a.seekNext.call(m, k, false, 0 !== k); E <= j; E++) if (false !== (P = S(E, t3, n3))) {
3652
- P = d.call(m, k, void 0 !== P.pos ? P.pos : E) || P, k = E;
3498
+ if (b.jitOffset[k] && void 0 === b.validPositions[r.seekNext.call(m, k)] && false !== (P = f.call(m, k + b.jitOffset[k], t3, true, true)) && (true !== a2 && (P.caret = k), _ = true), e3.end > k && (b.validPositions[k] = void 0), !_ && !r.isMask.call(m, k, y.keepStatic && 0 === k)) {
3499
+ for (var E = k + 1, j = r.seekNext.call(m, k, false, 0 !== k); E <= j; E++) if (false !== (P = S(E, t3, n3))) {
3500
+ P = h.call(m, k, void 0 !== P.pos ? P.pos : E) || P, k = E;
3653
3501
  break;
3654
3502
  }
3655
3503
  }
3656
3504
  }
3657
3505
  } else P = {
3658
- caret: a.seekNext.call(m, k)
3506
+ caret: r.seekNext.call(m, k)
3659
3507
  };
3660
3508
  }
3661
- if (m.hasAlternator && true !== r2 && !n3 && (r2 = true, false === P ? (true === y.keepStatic || isFinite(parseInt(y.keepStatic)) && k >= y.keepStatic) && (P = l.call(m, k, t3, n3, i3, void 0, e3)) : true === P && (c.call(m, e3) && b.tests[k] && b.tests[k].length > 1 && y.keepStatic || true !== y.numericInput && b.tests[k] && b.tests[k].length > 1 && a.getLastValidPosition.call(m, void 0, true) > k) && (P = l.call(m, true) || P)), true === P && (P = {
3509
+ if (m.hasAlternator && true !== a2 && !n3 && (a2 = true, false === P ? (true === y.keepStatic || isFinite(parseInt(y.keepStatic)) && k >= y.keepStatic) && (P = l.call(m, k, t3, n3, i3, void 0, e3)) : true === P && (u.call(m, e3) && b.tests[k] && b.tests[k].length > 1 && y.keepStatic || true !== y.numericInput && b.tests[k] && b.tests[k].length > 1 && r.getLastValidPosition.call(m, void 0, true) > k) && (P = l.call(m, true) || P)), true === P && (P = {
3662
3510
  pos: k
3663
- }), "function" == typeof y.postValidation && true !== i3 && true !== f2) {
3664
- var T = y.postValidation.call(m, a.getBuffer.call(m, true), void 0 !== e3.begin ? m.isRTL ? e3.end : e3.begin : e3, t3, P, y, b, n3, v, r2);
3511
+ }), "function" == typeof y.postValidation && true !== i3 && true !== c2) {
3512
+ var T = y.postValidation.call(m, r.getBuffer.call(m, true), void 0 !== e3.begin ? m.isRTL ? e3.end : e3.begin : e3, t3, P, y, b, n3, p2, a2);
3665
3513
  void 0 !== T && (P = true === T ? P : T);
3666
3514
  }
3667
3515
  }
3668
- P && void 0 === P.pos && (P.pos = k), false === P || true === f2 ? (a.resetMaskSet.call(m, true), b.validPositions = g.extend(true, [], w)) : d.call(m, void 0, k, true);
3516
+ P && void 0 === P.pos && (P.pos = k), false === P || true === c2 ? (r.resetMaskSet.call(m, true), b.validPositions = g.extend(true, [], O)) : h.call(m, void 0, k, true);
3669
3517
  var A = x(P);
3670
- void 0 !== m.maxLength && (a.getBuffer.call(m).length > m.maxLength && !i3 && (a.resetMaskSet.call(m, true), b.validPositions = g.extend(true, [], w), A = false));
3518
+ void 0 !== m.maxLength && (r.getBuffer.call(m).length > m.maxLength && !i3 && (r.resetMaskSet.call(m, true), b.validPositions = g.extend(true, [], O), A = false));
3671
3519
  return A;
3672
3520
  }
3673
- function f(e3, t3, n3) {
3674
- for (var i3 = this.maskset, r2 = false, a2 = o.getTests.call(this, e3), l2 = 0; l2 < a2.length; l2++) {
3675
- if (a2[l2].match && (a2[l2].match.nativeDef === t3.match[n3.shiftPositions ? "def" : "nativeDef"] && (!n3.shiftPositions || !t3.match.static) || a2[l2].match.nativeDef === t3.match.nativeDef || n3.regex && !a2[l2].match.static && a2[l2].match.fn.test(t3.input, i3, e3, false, n3))) {
3676
- r2 = true;
3521
+ function p(e3, t3, n3) {
3522
+ for (var i3 = this.maskset, a2 = false, r2 = o.getTests.call(this, e3), l2 = 0; l2 < r2.length; l2++) {
3523
+ if (r2[l2].match && (r2[l2].match.nativeDef === t3.match[n3.shiftPositions ? "def" : "nativeDef"] && (!n3.shiftPositions || !t3.match.static) || r2[l2].match.nativeDef === t3.match.nativeDef || n3.regex && !r2[l2].match.static && r2[l2].match.fn.test(t3.input, i3, e3, false, n3))) {
3524
+ a2 = true;
3677
3525
  break;
3678
3526
  }
3679
- if (a2[l2].match && a2[l2].match.def === t3.match.nativeDef) {
3680
- r2 = void 0;
3527
+ if (r2[l2].match && r2[l2].match.def === t3.match.nativeDef) {
3528
+ a2 = void 0;
3681
3529
  break;
3682
3530
  }
3683
3531
  }
3684
- return false === r2 && void 0 !== i3.jitOffset[e3] && (r2 = f.call(this, e3 + i3.jitOffset[e3], t3, n3)), r2;
3532
+ return false === a2 && void 0 !== i3.jitOffset[e3] && (a2 = p.call(this, e3 + i3.jitOffset[e3], t3, n3)), a2;
3685
3533
  }
3686
- function p(e3, t3, n3) {
3687
- var r2, o2, l2 = this, s2 = this.maskset, c2 = this.opts, u2 = this.dependencyLib, f2 = c2.skipOptionalPartCharacter, p2 = l2.isRTL ? n3.slice().reverse() : n3;
3688
- if (c2.skipOptionalPartCharacter = "", true === e3) a.resetMaskSet.call(l2, false), e3 = 0, t3 = n3.length, o2 = a.determineNewCaretPosition.call(l2, {
3534
+ function d(e3, t3, n3) {
3535
+ var a2, o2, l2 = this, s2 = this.maskset, c2 = this.opts, u2 = this.dependencyLib, f2 = c2.skipOptionalPartCharacter, p2 = l2.isRTL ? n3.slice().reverse() : n3;
3536
+ if (c2.skipOptionalPartCharacter = "", true === e3) r.resetMaskSet.call(l2, false), e3 = 0, t3 = n3.length, o2 = r.determineNewCaretPosition.call(l2, {
3689
3537
  begin: 0,
3690
3538
  end: 0
3691
3539
  }, false).begin;
3692
3540
  else {
3693
- for (r2 = e3; r2 < t3; r2++) delete s2.validPositions[r2];
3541
+ for (a2 = e3; a2 < t3; a2++) delete s2.validPositions[a2];
3694
3542
  o2 = e3;
3695
3543
  }
3696
3544
  var d2 = new u2.Event("keypress");
3697
- for (r2 = e3; r2 < t3; r2++) {
3698
- d2.key = p2[r2].toString(), l2.ignorable = false;
3545
+ for (a2 = e3; a2 < t3; a2++) {
3546
+ d2.key = p2[a2].toString(), l2.ignorable = false;
3699
3547
  var h2 = i2.EventHandlers.keypressEvent.call(l2, d2, true, false, false, o2);
3700
3548
  false !== h2 && void 0 !== h2 && (o2 = h2.forwardPosition);
3701
3549
  }
3702
3550
  c2.skipOptionalPartCharacter = f2;
3703
3551
  }
3704
- function d(e3, t3, n3) {
3705
- var i3 = this, r2 = this.maskset, l2 = this.dependencyLib;
3706
- if (void 0 === e3) for (e3 = t3 - 1; e3 > 0 && !r2.validPositions[e3]; e3--) ;
3552
+ function h(e3, t3, n3) {
3553
+ var i3 = this, a2 = this.maskset, l2 = this.dependencyLib;
3554
+ if (void 0 === e3) for (e3 = t3 - 1; e3 > 0 && !a2.validPositions[e3]; e3--) ;
3707
3555
  for (var s2 = e3; s2 < t3; s2++) {
3708
- if (void 0 === r2.validPositions[s2] && !a.isMask.call(i3, s2, false)) {
3709
- if (0 == s2 ? o.getTest.call(i3, s2) : r2.validPositions[s2 - 1]) {
3556
+ if (void 0 === a2.validPositions[s2] && !r.isMask.call(i3, s2, false)) {
3557
+ if (0 == s2 ? o.getTest.call(i3, s2) : a2.validPositions[s2 - 1]) {
3710
3558
  var c2 = o.getTests.call(i3, s2).slice();
3711
3559
  "" === c2[c2.length - 1].match.def && c2.pop();
3712
- var f2, p2 = o.determineTestTemplate.call(i3, s2, c2);
3713
- if (p2 && (true !== p2.match.jit || "master" === p2.match.newBlockMarker && (f2 = r2.validPositions[s2 + 1]) && true === f2.match.optionalQuantifier) && ((p2 = l2.extend({}, p2, {
3560
+ var u2, p2 = o.determineTestTemplate.call(i3, s2, c2);
3561
+ if (p2 && (true !== p2.match.jit || "master" === p2.match.newBlockMarker && (u2 = a2.validPositions[s2 + 1]) && true === u2.match.optionalQuantifier) && ((p2 = l2.extend({}, p2, {
3714
3562
  input: o.getPlaceholder.call(i3, s2, p2.match, true) || p2.match.def
3715
- })).generatedInput = true, h.call(i3, s2, p2, true), true !== n3)) {
3716
- var d2 = r2.validPositions[t3].input;
3717
- return r2.validPositions[t3] = void 0, u.call(i3, t3, d2, true, true);
3563
+ })).generatedInput = true, v.call(i3, s2, p2, true), true !== n3)) {
3564
+ var d2 = a2.validPositions[t3].input;
3565
+ return a2.validPositions[t3] = void 0, f.call(i3, t3, d2, true, true);
3718
3566
  }
3719
3567
  }
3720
3568
  }
3721
3569
  }
3722
3570
  }
3723
- function h(e3, t3, n3, i3) {
3724
- var r2 = this, l2 = this.maskset, s2 = this.opts, p2 = this.dependencyLib;
3571
+ function v(e3, t3, n3, i3) {
3572
+ var a2 = this, l2 = this.maskset, s2 = this.opts, c2 = this.dependencyLib;
3725
3573
  function d2(e4, t4, n4) {
3726
3574
  var i4 = t4[e4];
3727
3575
  if (void 0 !== i4 && true === i4.match.static && true !== i4.match.optionality && (void 0 === t4[0] || void 0 === t4[0].alternation)) {
3728
- var r3 = n4.begin <= e4 - 1 ? t4[e4 - 1] && true === t4[e4 - 1].match.static && t4[e4 - 1] : t4[e4 - 1], a2 = n4.end > e4 + 1 ? t4[e4 + 1] && true === t4[e4 + 1].match.static && t4[e4 + 1] : t4[e4 + 1];
3729
- return r3 && a2;
3576
+ var a3 = n4.begin <= e4 - 1 ? t4[e4 - 1] && true === t4[e4 - 1].match.static && t4[e4 - 1] : t4[e4 - 1], r2 = n4.end > e4 + 1 ? t4[e4 + 1] && true === t4[e4 + 1].match.static && t4[e4 + 1] : t4[e4 + 1];
3577
+ return a3 && r2;
3730
3578
  }
3731
3579
  return false;
3732
3580
  }
3733
- var h2 = 0, v = void 0 !== e3.begin ? e3.begin : e3, m = void 0 !== e3.end ? e3.end : e3, g = true;
3734
- if (e3.begin > e3.end && (v = e3.end, m = e3.begin), i3 = void 0 !== i3 ? i3 : v, void 0 === n3 && (v !== m || s2.insertMode && void 0 !== l2.validPositions[i3] || void 0 === t3 || t3.match.optionalQuantifier || t3.match.optionality)) {
3735
- var y, b = p2.extend(true, [], l2.validPositions), k = a.getLastValidPosition.call(r2, void 0, true);
3736
- l2.p = v;
3737
- var x = c.call(r2, e3) ? v : i3;
3581
+ var h2 = 0, v2 = void 0 !== e3.begin ? e3.begin : e3, m = void 0 !== e3.end ? e3.end : e3, g = true;
3582
+ if (e3.begin > e3.end && (v2 = e3.end, m = e3.begin), i3 = void 0 !== i3 ? i3 : v2, void 0 === n3 && (v2 !== m || s2.insertMode && void 0 !== l2.validPositions[i3] || void 0 === t3 || t3.match.optionalQuantifier || t3.match.optionality)) {
3583
+ var y, b = c2.extend(true, [], l2.validPositions), k = r.getLastValidPosition.call(a2, void 0, true);
3584
+ l2.p = v2;
3585
+ var x = u.call(a2, e3) ? v2 : i3;
3738
3586
  for (y = k; y >= x; y--) l2.validPositions.splice(y, 1), void 0 === t3 && delete l2.tests[y + 1];
3739
- var S, P, w = i3, O = w;
3740
- for (t3 && (l2.validPositions[i3] = p2.extend(true, {}, t3), O++, w++), null == b[m] && l2.jitOffset[m] && (m += l2.jitOffset[m] + 1), y = t3 ? m : m - 1; y <= k; y++) {
3741
- if (void 0 !== (S = b[y]) && true !== S.generatedInput && (y >= m || y >= v && d2(y, b, {
3742
- begin: v,
3587
+ var S, P, O = i3, w = O;
3588
+ for (t3 && (l2.validPositions[i3] = c2.extend(true, {}, t3), w++, O++), null == b[m] && l2.jitOffset[m] && (m += l2.jitOffset[m] + 1), y = t3 ? m : m - 1; y <= k; y++) {
3589
+ if (void 0 !== (S = b[y]) && true !== S.generatedInput && (y >= m || y >= v2 && d2(y, b, {
3590
+ begin: v2,
3743
3591
  end: m
3744
3592
  }))) {
3745
- for (; "" !== o.getTest.call(r2, O).match.def; ) {
3746
- if (false !== (P = f.call(r2, O, S, s2)) || "+" === S.match.def) {
3747
- "+" === S.match.def && a.getBuffer.call(r2, true);
3748
- var M = u.call(r2, O, S.input, "+" !== S.match.def, true);
3749
- if (g = false !== M, w = (M.pos || O) + 1, !g && P) break;
3593
+ for (; "" !== o.getTest.call(a2, w).match.def; ) {
3594
+ if (false !== (P = p.call(a2, w, S, s2)) || "+" === S.match.def) {
3595
+ "+" === S.match.def && r.getBuffer.call(a2, true);
3596
+ var M = f.call(a2, w, S.input, "+" !== S.match.def, true);
3597
+ if (g = false !== M, O = (M.pos || w) + 1, !g && P) break;
3750
3598
  } else g = false;
3751
3599
  if (g) {
3752
3600
  void 0 === t3 && S.match.static && y === e3.begin && h2++;
3753
3601
  break;
3754
3602
  }
3755
- if (!g && a.getBuffer.call(r2), O > l2.maskLength) break;
3756
- O++;
3603
+ if (!g && r.getBuffer.call(a2), w > l2.maskLength) break;
3604
+ w++;
3757
3605
  }
3758
- "" == o.getTest.call(r2, O).match.def && (g = false), O = w;
3606
+ "" == o.getTest.call(a2, w).match.def && (g = false), w = O;
3759
3607
  }
3760
3608
  if (!g) break;
3761
3609
  }
3762
- if (!g) return l2.validPositions = p2.extend(true, [], b), a.resetMaskSet.call(r2, true), false;
3763
- } else t3 && o.getTest.call(r2, i3).match.cd === t3.match.cd && (l2.validPositions[i3] = p2.extend(true, {}, t3));
3764
- return a.resetMaskSet.call(r2, true), h2;
3610
+ if (!g) return l2.validPositions = c2.extend(true, [], b), r.resetMaskSet.call(a2, true), false;
3611
+ } else t3 && o.getTest.call(a2, i3).match.cd === t3.match.cd && (l2.validPositions[i3] = c2.extend(true, {}, t3));
3612
+ return r.resetMaskSet.call(a2, true), h2;
3765
3613
  }
3766
3614
  },
3767
3615
  8145: function() {
@@ -3808,12 +3656,12 @@ var require_inputmask = __commonJS({
3808
3656
  }
3809
3657
  }, t = {};
3810
3658
  function n(i2) {
3811
- var r = t[i2];
3812
- if (void 0 !== r) return r.exports;
3813
- var a = t[i2] = {
3659
+ var a = t[i2];
3660
+ if (void 0 !== a) return a.exports;
3661
+ var r = t[i2] = {
3814
3662
  exports: {}
3815
3663
  };
3816
- return e[i2](a, a.exports, n), a.exports;
3664
+ return e[i2](r, r.exports, n), r.exports;
3817
3665
  }
3818
3666
  var i = {};
3819
3667
  return (function() {
@@ -3821,13 +3669,13 @@ var require_inputmask = __commonJS({
3821
3669
  Object.defineProperty(e2, "__esModule", {
3822
3670
  value: true
3823
3671
  }), e2.default = void 0, n(8145), n(1669), n(1960), n(493), n(472), n(4829), n(4203), n(546), n(2952);
3824
- var t2, r = (t2 = n(3978)) && t2.__esModule ? t2 : {
3672
+ var t2, a = (t2 = n(3978)) && t2.__esModule ? t2 : {
3825
3673
  default: t2
3826
3674
  };
3827
- e2.default = r.default;
3675
+ e2.default = a.default;
3828
3676
  })(), i;
3829
3677
  })();
3830
- }));
3678
+ });
3831
3679
  }
3832
3680
  });
3833
3681
 
@@ -3937,7 +3785,7 @@ function getMaskOptions(mask, _options) {
3937
3785
  ...options
3938
3786
  },
3939
3787
  cnpj: {
3940
- mask: "99.999.999/9999-99",
3788
+ mask: ["A|9{2}.A|9{3}.A|9{3}/A|9{4}-9{2}"],
3941
3789
  placeholder: "__.___.___/____-__",
3942
3790
  ...options
3943
3791
  }
@@ -3981,13 +3829,9 @@ function withHookFormMask(register, mask, options) {
3981
3829
  var import_inputmask2 = __toESM(require_inputmask());
3982
3830
  function withMask(mask, options) {
3983
3831
  return (input) => {
3984
- if (isServer_default) return input;
3985
- if (mask === null) return input;
3832
+ if (isServer_default || mask === null || !input) return;
3986
3833
  const maskInput = interopDefaultSync(import_inputmask2.default)(getMaskOptions(mask, options));
3987
- if (input) {
3988
- maskInput.mask(input);
3989
- }
3990
- return input;
3834
+ maskInput.mask(input);
3991
3835
  };
3992
3836
  }
3993
3837
 
@@ -4042,7 +3886,7 @@ inputmask/dist/inputmask.js:
4042
3886
  * https://github.com/RobinHerbots/Inputmask
4043
3887
  * Copyright (c) 2010 - 2025 Robin Herbots
4044
3888
  * Licensed under the MIT license
4045
- * Version: 5.0.10-beta.52
3889
+ * Version: 5.0.10-beta.61
4046
3890
  *)
4047
3891
  (*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE *)
4048
3892
  */