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